AnimatLab  2
Test
AnimatSimPy_wrap.cxx
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 3.0.5
4  *
5  * This file is not intended to be easily readable and contains a number of
6  * coding conventions designed to improve portability and efficiency. Do not make
7  * changes to this file unless you know what you are doing--modify the SWIG
8  * interface file instead.
9  * ----------------------------------------------------------------------------- */
10 
11 #define SWIGPYTHON
12 #define SWIG_DIRECTORS
13 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
14 
15 
16 #ifdef __cplusplus
17 /* SwigValueWrapper is described in swig.swg */
18 template<typename T> class SwigValueWrapper {
19  struct SwigMovePointer {
20  T *ptr;
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; }
24  } pointer;
25  SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26  SwigValueWrapper(const SwigValueWrapper<T>& rhs);
27 public:
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; }
32 };
33 
34 template <typename T> T SwigValueInit() {
35  return T();
36 }
37 #endif
38 
39 /* -----------------------------------------------------------------------------
40  * This section contains generic SWIG labels for method/variable
41  * declarations/attributes, and other compiler dependent labels.
42  * ----------------------------------------------------------------------------- */
43 
44 /* template workaround for compilers that cannot correctly implement the C++ standard */
45 #ifndef SWIGTEMPLATEDISAMBIGUATOR
46 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
47 # define SWIGTEMPLATEDISAMBIGUATOR template
48 # elif defined(__HP_aCC)
49 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
50 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
51 # define SWIGTEMPLATEDISAMBIGUATOR template
52 # else
53 # define SWIGTEMPLATEDISAMBIGUATOR
54 # endif
55 #endif
56 
57 /* inline attribute */
58 #ifndef SWIGINLINE
59 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
60 # define SWIGINLINE inline
61 # else
62 # define SWIGINLINE
63 # endif
64 #endif
65 
66 /* attribute recognised by some compilers to avoid 'unused' warnings */
67 #ifndef SWIGUNUSED
68 # if defined(__GNUC__)
69 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
70 # define SWIGUNUSED __attribute__ ((__unused__))
71 # else
72 # define SWIGUNUSED
73 # endif
74 # elif defined(__ICC)
75 # define SWIGUNUSED __attribute__ ((__unused__))
76 # else
77 # define SWIGUNUSED
78 # endif
79 #endif
80 
81 #ifndef SWIG_MSC_UNSUPPRESS_4505
82 # if defined(_MSC_VER)
83 # pragma warning(disable : 4505) /* unreferenced local function has been removed */
84 # endif
85 #endif
86 
87 #ifndef SWIGUNUSEDPARM
88 # ifdef __cplusplus
89 # define SWIGUNUSEDPARM(p)
90 # else
91 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
92 # endif
93 #endif
94 
95 /* internal SWIG method */
96 #ifndef SWIGINTERN
97 # define SWIGINTERN static SWIGUNUSED
98 #endif
99 
100 /* internal inline SWIG method */
101 #ifndef SWIGINTERNINLINE
102 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
103 #endif
104 
105 /* exporting methods */
106 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
107 # ifndef GCC_HASCLASSVISIBILITY
108 # define GCC_HASCLASSVISIBILITY
109 # endif
110 #endif
111 
112 #ifndef SWIGEXPORT
113 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
114 # if defined(STATIC_LINKED)
115 # define SWIGEXPORT
116 # else
117 # define SWIGEXPORT __declspec(dllexport)
118 # endif
119 # else
120 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
121 # define SWIGEXPORT __attribute__ ((visibility("default")))
122 # else
123 # define SWIGEXPORT
124 # endif
125 # endif
126 #endif
127 
128 /* calling conventions for Windows */
129 #ifndef SWIGSTDCALL
130 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
131 # define SWIGSTDCALL __stdcall
132 # else
133 # define SWIGSTDCALL
134 # endif
135 #endif
136 
137 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
138 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
139 # define _CRT_SECURE_NO_DEPRECATE
140 #endif
141 
142 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
143 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
144 # define _SCL_SECURE_NO_DEPRECATE
145 #endif
146 
147 
148 
149 #if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG)
150 /* Use debug wrappers with the Python release dll */
151 # undef _DEBUG
152 # include <Python.h>
153 # define _DEBUG
154 #else
155 # include <Python.h>
156 #endif
157 
158 /* -----------------------------------------------------------------------------
159  * swigrun.swg
160  *
161  * This file contains generic C API SWIG runtime support for pointer
162  * type checking.
163  * ----------------------------------------------------------------------------- */
164 
165 /* This should only be incremented when either the layout of swig_type_info changes,
166  or for whatever reason, the runtime changes incompatibly */
167 #define SWIG_RUNTIME_VERSION "4"
168 
169 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
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)
174 #else
175 # define SWIG_TYPE_TABLE_NAME
176 #endif
177 
178 /*
179  You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
180  creating a static or dynamic library from the SWIG runtime code.
181  In 99.9% of the cases, SWIG just needs to declare them as 'static'.
182 
183  But only do this if strictly necessary, ie, if you have problems
184  with your compiler or suchlike.
185 */
186 
187 #ifndef SWIGRUNTIME
188 # define SWIGRUNTIME SWIGINTERN
189 #endif
190 
191 #ifndef SWIGRUNTIMEINLINE
192 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
193 #endif
194 
195 /* Generic buffer size */
196 #ifndef SWIG_BUFFER_SIZE
197 # define SWIG_BUFFER_SIZE 1024
198 #endif
199 
200 /* Flags for pointer conversions */
201 #define SWIG_POINTER_DISOWN 0x1
202 #define SWIG_CAST_NEW_MEMORY 0x2
203 
204 /* Flags for new pointer objects */
205 #define SWIG_POINTER_OWN 0x1
206 
207 
208 /*
209  Flags/methods for returning states.
210 
211  The SWIG conversion methods, as ConvertPtr, return an integer
212  that tells if the conversion was successful or not. And if not,
213  an error code can be returned (see swigerrors.swg for the codes).
214 
215  Use the following macros/flags to set or process the returning
216  states.
217 
218  In old versions of SWIG, code such as the following was usually written:
219 
220  if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
221  // success code
222  } else {
223  //fail code
224  }
225 
226  Now you can be more explicit:
227 
228  int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
229  if (SWIG_IsOK(res)) {
230  // success code
231  } else {
232  // fail code
233  }
234 
235  which is the same really, but now you can also do
236 
237  Type *ptr;
238  int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
239  if (SWIG_IsOK(res)) {
240  // success code
241  if (SWIG_IsNewObj(res) {
242  ...
243  delete *ptr;
244  } else {
245  ...
246  }
247  } else {
248  // fail code
249  }
250 
251  I.e., now SWIG_ConvertPtr can return new objects and you can
252  identify the case and take care of the deallocation. Of course that
253  also requires SWIG_ConvertPtr to return new result values, such as
254 
255  int SWIG_ConvertPtr(obj, ptr,...) {
256  if (<obj is ok>) {
257  if (<need new object>) {
258  *ptr = <ptr to new allocated object>;
259  return SWIG_NEWOBJ;
260  } else {
261  *ptr = <ptr to old object>;
262  return SWIG_OLDOBJ;
263  }
264  } else {
265  return SWIG_BADOBJ;
266  }
267  }
268 
269  Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
270  more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
271  SWIG errors code.
272 
273  Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
274  allows to return the 'cast rank', for example, if you have this
275 
276  int food(double)
277  int fooi(int);
278 
279  and you call
280 
281  food(1) // cast rank '1' (1 -> 1.0)
282  fooi(1) // cast rank '0'
283 
284  just use the SWIG_AddCast()/SWIG_CheckState()
285 */
286 
287 #define SWIG_OK (0)
288 #define SWIG_ERROR (-1)
289 #define SWIG_IsOK(r) (r >= 0)
290 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
291 
292 /* The CastRankLimit says how many bits are used for the cast rank */
293 #define SWIG_CASTRANKLIMIT (1 << 8)
294 /* The NewMask denotes the object was created (using new/malloc) */
295 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
296 /* The TmpMask is for in/out typemaps that use temporal objects */
297 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
298 /* Simple returning values */
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)
303 /* Check, add and del mask methods */
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))
310 
311 /* Cast-Rank Mode */
312 #if defined(SWIG_CASTRANK_MODE)
313 # ifndef SWIG_TypeRank
314 # define SWIG_TypeRank unsigned long
315 # endif
316 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
317 # define SWIG_MAXCASTRANK (2)
318 # endif
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;
323 }
324 SWIGINTERNINLINE int SWIG_CheckState(int r) {
325  return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
326 }
327 #else /* no cast-rank mode */
328 # define SWIG_AddCast(r) (r)
329 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
330 #endif
331 
332 
333 #include <string.h>
334 
335 #ifdef __cplusplus
336 extern "C" {
337 #endif
338 
339 typedef void *(*swig_converter_func)(void *, int *);
340 typedef struct swig_type_info *(*swig_dycast_func)(void **);
341 
342 /* Structure to store information on one type */
343 typedef struct swig_type_info {
344  const char *name; /* mangled name of this type */
345  const char *str; /* human readable name of this type */
346  swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
347  struct swig_cast_info *cast; /* linked list of types that can cast into this type */
348  void *clientdata; /* language specific type data */
349  int owndata; /* flag if the structure owns the clientdata */
351 
352 /* Structure to store a type and conversion function used for casting */
353 typedef struct swig_cast_info {
354  swig_type_info *type; /* pointer to type that is equivalent to this type */
355  swig_converter_func converter; /* function to cast the void pointers */
356  struct swig_cast_info *next; /* pointer to next cast in linked list */
357  struct swig_cast_info *prev; /* pointer to the previous cast */
359 
360 /* Structure used to store module information
361  * Each module generates one structure like this, and the runtime collects
362  * all of these structures and stores them in a circularly linked list.*/
363 typedef struct swig_module_info {
364  swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
365  size_t size; /* Number of types in this module */
366  struct swig_module_info *next; /* Pointer to next element in circularly linked list */
367  swig_type_info **type_initial; /* Array of initially generated type structures */
368  swig_cast_info **cast_initial; /* Array of initially generated casting structures */
369  void *clientdata; /* Language specific module data */
371 
372 /*
373  Compare two type names skipping the space characters, therefore
374  "char*" == "char *" and "Class<int>" == "Class<int >", etc.
375 
376  Return 0 when the two name types are equivalent, as in
377  strncmp, but skipping ' '.
378 */
379 SWIGRUNTIME int
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;
386  }
387  return (int)((l1 - f1) - (l2 - f2));
388 }
389 
390 /*
391  Check type equivalence in a name list like <name1>|<name2>|...
392  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
393 */
394 SWIGRUNTIME int
395 SWIG_TypeCmp(const char *nb, const char *tb) {
396  int equiv = 1;
397  const char* te = tb + strlen(tb);
398  const char* ne = nb;
399  while (equiv != 0 && *ne) {
400  for (nb = ne; *ne; ++ne) {
401  if (*ne == '|') break;
402  }
403  equiv = SWIG_TypeNameComp(nb, ne, tb, te);
404  if (*ne) ++ne;
405  }
406  return equiv;
407 }
408 
409 /*
410  Check type equivalence in a name list like <name1>|<name2>|...
411  Return 0 if not equal, 1 if equal
412 */
413 SWIGRUNTIME int
414 SWIG_TypeEquiv(const char *nb, const char *tb) {
415  return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
416 }
417 
418 /*
419  Check the typename
420 */
421 SWIGRUNTIME swig_cast_info *
422 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
423  if (ty) {
424  swig_cast_info *iter = ty->cast;
425  while (iter) {
426  if (strcmp(iter->type->name, c) == 0) {
427  if (iter == ty->cast)
428  return iter;
429  /* Move iter to the top of the linked list */
430  iter->prev->next = iter->next;
431  if (iter->next)
432  iter->next->prev = iter->prev;
433  iter->next = ty->cast;
434  iter->prev = 0;
435  if (ty->cast) ty->cast->prev = iter;
436  ty->cast = iter;
437  return iter;
438  }
439  iter = iter->next;
440  }
441  }
442  return 0;
443 }
444 
445 /*
446  Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
447 */
448 SWIGRUNTIME swig_cast_info *
449 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
450  if (ty) {
451  swig_cast_info *iter = ty->cast;
452  while (iter) {
453  if (iter->type == from) {
454  if (iter == ty->cast)
455  return iter;
456  /* Move iter to the top of the linked list */
457  iter->prev->next = iter->next;
458  if (iter->next)
459  iter->next->prev = iter->prev;
460  iter->next = ty->cast;
461  iter->prev = 0;
462  if (ty->cast) ty->cast->prev = iter;
463  ty->cast = iter;
464  return iter;
465  }
466  iter = iter->next;
467  }
468  }
469  return 0;
470 }
471 
472 /*
473  Cast a pointer up an inheritance hierarchy
474 */
475 SWIGRUNTIMEINLINE void *
476 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
477  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
478 }
479 
480 /*
481  Dynamic pointer casting. Down an inheritance hierarchy
482 */
483 SWIGRUNTIME swig_type_info *
484 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
485  swig_type_info *lastty = ty;
486  if (!ty || !ty->dcast) return ty;
487  while (ty && (ty->dcast)) {
488  ty = (*ty->dcast)(ptr);
489  if (ty) lastty = ty;
490  }
491  return lastty;
492 }
493 
494 /*
495  Return the name associated with this type
496 */
497 SWIGRUNTIMEINLINE const char *
498 SWIG_TypeName(const swig_type_info *ty) {
499  return ty->name;
500 }
501 
502 /*
503  Return the pretty name associated with this type,
504  that is an unmangled type name in a form presentable to the user.
505 */
506 SWIGRUNTIME const char *
507 SWIG_TypePrettyName(const swig_type_info *type) {
508  /* The "str" field contains the equivalent pretty names of the
509  type, separated by vertical-bar characters. We choose
510  to print the last name, as it is often (?) the most
511  specific. */
512  if (!type) return NULL;
513  if (type->str != NULL) {
514  const char *last_name = type->str;
515  const char *s;
516  for (s = type->str; *s; s++)
517  if (*s == '|') last_name = s+1;
518  return last_name;
519  }
520  else
521  return type->name;
522 }
523 
524 /*
525  Set the clientdata field for a type
526 */
527 SWIGRUNTIME void
528 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
529  swig_cast_info *cast = ti->cast;
530  /* if (ti->clientdata == clientdata) return; */
531  ti->clientdata = clientdata;
532 
533  while (cast) {
534  if (!cast->converter) {
535  swig_type_info *tc = cast->type;
536  if (!tc->clientdata) {
537  SWIG_TypeClientData(tc, clientdata);
538  }
539  }
540  cast = cast->next;
541  }
542 }
543 SWIGRUNTIME void
544 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
545  SWIG_TypeClientData(ti, clientdata);
546  ti->owndata = 1;
547 }
548 
549 /*
550  Search for a swig_type_info structure only by mangled name
551  Search is a O(log #types)
552 
553  We start searching at module start, and finish searching when start == end.
554  Note: if start == end at the beginning of the function, we go all the way around
555  the circular list.
556 */
557 SWIGRUNTIME swig_type_info *
558 SWIG_MangledTypeQueryModule(swig_module_info *start,
559  swig_module_info *end,
560  const char *name) {
561  swig_module_info *iter = start;
562  do {
563  if (iter->size) {
564  size_t l = 0;
565  size_t r = iter->size - 1;
566  do {
567  /* since l+r >= 0, we can (>> 1) instead (/ 2) */
568  size_t i = (l + r) >> 1;
569  const char *iname = iter->types[i]->name;
570  if (iname) {
571  int compare = strcmp(name, iname);
572  if (compare == 0) {
573  return iter->types[i];
574  } else if (compare < 0) {
575  if (i) {
576  r = i - 1;
577  } else {
578  break;
579  }
580  } else if (compare > 0) {
581  l = i + 1;
582  }
583  } else {
584  break; /* should never happen */
585  }
586  } while (l <= r);
587  }
588  iter = iter->next;
589  } while (iter != end);
590  return 0;
591 }
592 
593 /*
594  Search for a swig_type_info structure for either a mangled name or a human readable name.
595  It first searches the mangled names of the types, which is a O(log #types)
596  If a type is not found it then searches the human readable names, which is O(#types).
597 
598  We start searching at module start, and finish searching when start == end.
599  Note: if start == end at the beginning of the function, we go all the way around
600  the circular list.
601 */
602 SWIGRUNTIME swig_type_info *
603 SWIG_TypeQueryModule(swig_module_info *start,
604  swig_module_info *end,
605  const char *name) {
606  /* STEP 1: Search the name field using binary search */
607  swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
608  if (ret) {
609  return ret;
610  } else {
611  /* STEP 2: If the type hasn't been found, do a complete search
612  of the str field (the human readable name) */
613  swig_module_info *iter = start;
614  do {
615  size_t i = 0;
616  for (; i < iter->size; ++i) {
617  if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
618  return iter->types[i];
619  }
620  iter = iter->next;
621  } while (iter != end);
622  }
623 
624  /* neither found a match */
625  return 0;
626 }
627 
628 /*
629  Pack binary data into a string
630 */
631 SWIGRUNTIME char *
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];
640  }
641  return c;
642 }
643 
644 /*
645  Unpack binary data from a string
646 */
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) {
652  char d = *(c++);
653  unsigned char uu;
654  if ((d >= '0') && (d <= '9'))
655  uu = ((d - '0') << 4);
656  else if ((d >= 'a') && (d <= 'f'))
657  uu = ((d - ('a'-10)) << 4);
658  else
659  return (char *) 0;
660  d = *(c++);
661  if ((d >= '0') && (d <= '9'))
662  uu |= (d - '0');
663  else if ((d >= 'a') && (d <= 'f'))
664  uu |= (d - ('a'-10));
665  else
666  return (char *) 0;
667  *u = uu;
668  }
669  return c;
670 }
671 
672 /*
673  Pack 'void *' into a string buffer.
674 */
675 SWIGRUNTIME char *
676 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
677  char *r = buff;
678  if ((2*sizeof(void *) + 2) > bsz) return 0;
679  *(r++) = '_';
680  r = SWIG_PackData(r,&ptr,sizeof(void *));
681  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
682  strcpy(r,name);
683  return buff;
684 }
685 
686 SWIGRUNTIME const char *
687 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
688  if (*c != '_') {
689  if (strcmp(c,"NULL") == 0) {
690  *ptr = (void *) 0;
691  return name;
692  } else {
693  return 0;
694  }
695  }
696  return SWIG_UnpackData(++c,ptr,sizeof(void *));
697 }
698 
699 SWIGRUNTIME char *
700 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
701  char *r = buff;
702  size_t lname = (name ? strlen(name) : 0);
703  if ((2*sz + 2 + lname) > bsz) return 0;
704  *(r++) = '_';
705  r = SWIG_PackData(r,ptr,sz);
706  if (lname) {
707  strncpy(r,name,lname+1);
708  } else {
709  *r = 0;
710  }
711  return buff;
712 }
713 
714 SWIGRUNTIME const char *
715 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
716  if (*c != '_') {
717  if (strcmp(c,"NULL") == 0) {
718  memset(ptr,0,sz);
719  return name;
720  } else {
721  return 0;
722  }
723  }
724  return SWIG_UnpackData(++c,ptr,sz);
725 }
726 
727 #ifdef __cplusplus
728 }
729 #endif
730 
731 /* Errors in SWIG */
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
745 
746 
747 
748 /* Compatibility macros for Python 3 */
749 #if PY_VERSION_HEX >= 0x03000000
750 
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)
765 
766 #endif
767 
768 #ifndef Py_TYPE
769 # define Py_TYPE(op) ((op)->ob_type)
770 #endif
771 
772 /* SWIG APIs for compatibility of both Python 2 & 3 */
773 
774 #if PY_VERSION_HEX >= 0x03000000
775 # define SWIG_Python_str_FromFormat PyUnicode_FromFormat
776 #else
777 # define SWIG_Python_str_FromFormat PyString_FromFormat
778 #endif
779 
780 
781 /* Warning: This function will allocate a new string in Python 3,
782  * so please call SWIG_Python_str_DelForPy3(x) to free the space.
783  */
784 SWIGINTERN char*
785 SWIG_Python_str_AsChar(PyObject *str)
786 {
787 #if PY_VERSION_HEX >= 0x03000000
788  char *cstr;
789  char *newstr;
790  Py_ssize_t len;
791  str = PyUnicode_AsUTF8String(str);
792  PyBytes_AsStringAndSize(str, &cstr, &len);
793  newstr = (char *) malloc(len+1);
794  memcpy(newstr, cstr, len+1);
795  Py_XDECREF(str);
796  return newstr;
797 #else
798  return PyString_AsString(str);
799 #endif
800 }
801 
802 #if PY_VERSION_HEX >= 0x03000000
803 # define SWIG_Python_str_DelForPy3(x) free( (void*) (x) )
804 #else
805 # define SWIG_Python_str_DelForPy3(x)
806 #endif
807 
808 
809 SWIGINTERN PyObject*
810 SWIG_Python_str_FromChar(const char *c)
811 {
812 #if PY_VERSION_HEX >= 0x03000000
813  return PyUnicode_FromString(c);
814 #else
815  return PyString_FromString(c);
816 #endif
817 }
818 
819 /* Add PyOS_snprintf for old Pythons */
820 #if PY_VERSION_HEX < 0x02020000
821 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
822 # define PyOS_snprintf _snprintf
823 # else
824 # define PyOS_snprintf snprintf
825 # endif
826 #endif
827 
828 /* A crude PyString_FromFormat implementation for old Pythons */
829 #if PY_VERSION_HEX < 0x02020000
830 
831 #ifndef SWIG_PYBUFFER_SIZE
832 # define SWIG_PYBUFFER_SIZE 1024
833 #endif
834 
835 static PyObject *
836 PyString_FromFormat(const char *fmt, ...) {
837  va_list ap;
838  char buf[SWIG_PYBUFFER_SIZE * 2];
839  int res;
840  va_start(ap, fmt);
841  res = vsnprintf(buf, sizeof(buf), fmt, ap);
842  va_end(ap);
843  return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
844 }
845 #endif
846 
847 /* Add PyObject_Del for old Pythons */
848 #if PY_VERSION_HEX < 0x01060000
849 # define PyObject_Del(op) PyMem_DEL((op))
850 #endif
851 #ifndef PyObject_DEL
852 # define PyObject_DEL PyObject_Del
853 #endif
854 
855 /* A crude PyExc_StopIteration exception for old Pythons */
856 #if PY_VERSION_HEX < 0x02020000
857 # ifndef PyExc_StopIteration
858 # define PyExc_StopIteration PyExc_RuntimeError
859 # endif
860 # ifndef PyObject_GenericGetAttr
861 # define PyObject_GenericGetAttr 0
862 # endif
863 #endif
864 
865 /* Py_NotImplemented is defined in 2.1 and up. */
866 #if PY_VERSION_HEX < 0x02010000
867 # ifndef Py_NotImplemented
868 # define Py_NotImplemented PyExc_RuntimeError
869 # endif
870 #endif
871 
872 /* A crude PyString_AsStringAndSize implementation for old Pythons */
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;}
876 # endif
877 #endif
878 
879 /* PySequence_Size for old Pythons */
880 #if PY_VERSION_HEX < 0x02000000
881 # ifndef PySequence_Size
882 # define PySequence_Size PySequence_Length
883 # endif
884 #endif
885 
886 /* PyBool_FromLong for old Pythons */
887 #if PY_VERSION_HEX < 0x02030000
888 static
889 PyObject *PyBool_FromLong(long ok)
890 {
891  PyObject *result = ok ? Py_True : Py_False;
892  Py_INCREF(result);
893  return result;
894 }
895 #endif
896 
897 /* Py_ssize_t for old Pythons */
898 /* This code is as recommended by: */
899 /* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */
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))
914 {
915  long result = 0;
916  PyObject *i = PyNumber_Int(x);
917  if (i) {
918  result = PyInt_AsLong(i);
919  Py_DECREF(i);
920  }
921  return result;
922 }
923 #endif
924 
925 #if PY_VERSION_HEX < 0x02050000
926 #define PyInt_FromSize_t(x) PyInt_FromLong((long)x)
927 #endif
928 
929 #if PY_VERSION_HEX < 0x02040000
930 #define Py_VISIT(op) \
931  do { \
932  if (op) { \
933  int vret = visit((op), arg); \
934  if (vret) \
935  return vret; \
936  } \
937  } while (0)
938 #endif
939 
940 #if PY_VERSION_HEX < 0x02030000
941 typedef struct {
942  PyTypeObject type;
943  PyNumberMethods as_number;
944  PyMappingMethods as_mapping;
945  PySequenceMethods as_sequence;
946  PyBufferProcs as_buffer;
947  PyObject *name, *slots;
949 #endif
950 
951 #if PY_VERSION_HEX < 0x02030000
952 typedef destructor freefunc;
953 #endif
954 
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)
960 #endif
961 
962 #if PY_VERSION_HEX < 0x03020000
963 #define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
964 #define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
965 #endif
966 
967 /* -----------------------------------------------------------------------------
968  * error manipulation
969  * ----------------------------------------------------------------------------- */
970 
971 SWIGRUNTIME PyObject*
972 SWIG_Python_ErrorType(int code) {
973  PyObject* type = 0;
974  switch(code) {
975  case SWIG_MemoryError:
976  type = PyExc_MemoryError;
977  break;
978  case SWIG_IOError:
979  type = PyExc_IOError;
980  break;
981  case SWIG_RuntimeError:
982  type = PyExc_RuntimeError;
983  break;
984  case SWIG_IndexError:
985  type = PyExc_IndexError;
986  break;
987  case SWIG_TypeError:
988  type = PyExc_TypeError;
989  break;
990  case SWIG_DivisionByZero:
991  type = PyExc_ZeroDivisionError;
992  break;
993  case SWIG_OverflowError:
994  type = PyExc_OverflowError;
995  break;
996  case SWIG_SyntaxError:
997  type = PyExc_SyntaxError;
998  break;
999  case SWIG_ValueError:
1000  type = PyExc_ValueError;
1001  break;
1002  case SWIG_SystemError:
1003  type = PyExc_SystemError;
1004  break;
1005  case SWIG_AttributeError:
1006  type = PyExc_AttributeError;
1007  break;
1008  default:
1009  type = PyExc_RuntimeError;
1010  }
1011  return type;
1012 }
1013 
1014 
1015 SWIGRUNTIME void
1016 SWIG_Python_AddErrorMsg(const char* mesg)
1017 {
1018  PyObject *type = 0;
1019  PyObject *value = 0;
1020  PyObject *traceback = 0;
1021 
1022  if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
1023  if (value) {
1024  char *tmp;
1025  PyObject *old_str = PyObject_Str(value);
1026  PyErr_Clear();
1027  Py_XINCREF(type);
1028 
1029  PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
1030  SWIG_Python_str_DelForPy3(tmp);
1031  Py_DECREF(old_str);
1032  Py_DECREF(value);
1033  } else {
1034  PyErr_SetString(PyExc_RuntimeError, mesg);
1035  }
1036 }
1037 
1038 #if defined(SWIG_PYTHON_NO_THREADS)
1039 # if defined(SWIG_PYTHON_THREADS)
1040 # undef SWIG_PYTHON_THREADS
1041 # endif
1042 #endif
1043 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
1044 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
1045 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
1046 # define SWIG_PYTHON_USE_GIL
1047 # endif
1048 # endif
1049 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
1050 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
1051 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
1052 # endif
1053 # ifdef __cplusplus /* C++ code */
1054  class SWIG_Python_Thread_Block {
1055  bool status;
1056  PyGILState_STATE state;
1057  public:
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(); }
1061  };
1062  class SWIG_Python_Thread_Allow {
1063  bool status;
1064  PyThreadState *save;
1065  public:
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(); }
1069  };
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()
1074 # else /* C code */
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)
1079 # endif
1080 # else /* Old thread way, not implemented, user must provide it */
1081 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
1082 # define SWIG_PYTHON_INITIALIZE_THREADS
1083 # endif
1084 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
1085 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1086 # endif
1087 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
1088 # define SWIG_PYTHON_THREAD_END_BLOCK
1089 # endif
1090 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
1091 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1092 # endif
1093 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
1094 # define SWIG_PYTHON_THREAD_END_ALLOW
1095 # endif
1096 # endif
1097 #else /* No thread support */
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
1103 #endif
1104 
1105 /* -----------------------------------------------------------------------------
1106  * Python API portion that goes into the runtime
1107  * ----------------------------------------------------------------------------- */
1108 
1109 #ifdef __cplusplus
1110 extern "C" {
1111 #endif
1112 
1113 /* -----------------------------------------------------------------------------
1114  * Constant declarations
1115  * ----------------------------------------------------------------------------- */
1116 
1117 /* Constant Types */
1118 #define SWIG_PY_POINTER 4
1119 #define SWIG_PY_BINARY 5
1120 
1121 /* Constant information structure */
1122 typedef struct swig_const_info {
1123  int type;
1124  char *name;
1125  long lvalue;
1126  double dvalue;
1127  void *pvalue;
1128  swig_type_info **ptype;
1129 } swig_const_info;
1130 
1131 
1132 /* -----------------------------------------------------------------------------
1133  * Wrapper of PyInstanceMethod_New() used in Python 3
1134  * It is exported to the generated module, used for -fastproxy
1135  * ----------------------------------------------------------------------------- */
1136 #if PY_VERSION_HEX >= 0x03000000
1137 SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func)
1138 {
1139  return PyInstanceMethod_New(func);
1140 }
1141 #else
1142 SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *SWIGUNUSEDPARM(func))
1143 {
1144  return NULL;
1145 }
1146 #endif
1147 
1148 #ifdef __cplusplus
1149 }
1150 #endif
1151 
1152 
1153 /* -----------------------------------------------------------------------------
1154  * pyrun.swg
1155  *
1156  * This file contains the runtime support for Python modules
1157  * and includes code for managing global variables and pointer
1158  * type checking.
1159  *
1160  * ----------------------------------------------------------------------------- */
1161 
1162 /* Common SWIG API */
1163 
1164 /* for raw pointers */
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)
1168 
1169 #ifdef SWIGPYTHON_BUILTIN
1170 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
1171 #else
1172 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1173 #endif
1174 
1175 #define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1176 
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
1180 
1181 /* for raw packed data */
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)
1184 
1185 /* for class or struct pointers */
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)
1188 
1189 /* for C or C++ function pointers */
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)
1192 
1193 /* for C++ member pointers, ie, member methods */
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)
1196 
1197 
1198 /* Runtime API */
1199 
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)
1203 
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
1209 
1210 
1211 /* Runtime API implementation */
1212 
1213 /* Error manipulation */
1214 
1215 SWIGINTERN void
1216 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1217  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1218  PyErr_SetObject(errtype, obj);
1219  Py_DECREF(obj);
1220  SWIG_PYTHON_THREAD_END_BLOCK;
1221 }
1222 
1223 SWIGINTERN void
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;
1228 }
1229 
1230 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1231 
1232 /* Set a constant value */
1233 
1234 #if defined(SWIGPYTHON_BUILTIN)
1235 
1236 SWIGINTERN void
1237 SwigPyBuiltin_AddPublicSymbol(PyObject *seq, const char *key) {
1238  PyObject *s = PyString_InternFromString(key);
1239  PyList_Append(seq, s);
1240  Py_DECREF(s);
1241 }
1242 
1243 SWIGINTERN void
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);
1247 #else
1248  PyDict_SetItemString(d, name, obj);
1249 #endif
1250  Py_DECREF(obj);
1251  if (public_interface)
1252  SwigPyBuiltin_AddPublicSymbol(public_interface, name);
1253 }
1254 
1255 #else
1256 
1257 SWIGINTERN void
1258 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1259 #if PY_VERSION_HEX < 0x02030000
1260  PyDict_SetItemString(d, (char *)name, obj);
1261 #else
1262  PyDict_SetItemString(d, name, obj);
1263 #endif
1264  Py_DECREF(obj);
1265 }
1266 
1267 #endif
1268 
1269 /* Append a value to the result obj */
1270 
1271 SWIGINTERN PyObject*
1272 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1273 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1274  if (!result) {
1275  result = obj;
1276  } else if (result == Py_None) {
1277  Py_DECREF(result);
1278  result = obj;
1279  } else {
1280  if (!PyList_Check(result)) {
1281  PyObject *o2 = result;
1282  result = PyList_New(1);
1283  PyList_SetItem(result, 0, o2);
1284  }
1285  PyList_Append(result,obj);
1286  Py_DECREF(obj);
1287  }
1288  return result;
1289 #else
1290  PyObject* o2;
1291  PyObject* o3;
1292  if (!result) {
1293  result = obj;
1294  } else if (result == Py_None) {
1295  Py_DECREF(result);
1296  result = obj;
1297  } else {
1298  if (!PyTuple_Check(result)) {
1299  o2 = result;
1300  result = PyTuple_New(1);
1301  PyTuple_SET_ITEM(result, 0, o2);
1302  }
1303  o3 = PyTuple_New(1);
1304  PyTuple_SET_ITEM(o3, 0, obj);
1305  o2 = result;
1306  result = PySequence_Concat(o2, o3);
1307  Py_DECREF(o2);
1308  Py_DECREF(o3);
1309  }
1310  return result;
1311 #endif
1312 }
1313 
1314 /* Unpack the argument tuple */
1315 
1316 SWIGINTERN int
1317 SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
1318 {
1319  if (!args) {
1320  if (!min && !max) {
1321  return 1;
1322  } else {
1323  PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1324  name, (min == max ? "" : "at least "), (int)min);
1325  return 0;
1326  }
1327  }
1328  if (!PyTuple_Check(args)) {
1329  if (min <= 1 && max >= 1) {
1330  int i;
1331  objs[0] = args;
1332  for (i = 1; i < max; ++i) {
1333  objs[i] = 0;
1334  }
1335  return 2;
1336  }
1337  PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1338  return 0;
1339  } else {
1340  Py_ssize_t l = PyTuple_GET_SIZE(args);
1341  if (l < min) {
1342  PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1343  name, (min == max ? "" : "at least "), (int)min, (int)l);
1344  return 0;
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);
1348  return 0;
1349  } else {
1350  int i;
1351  for (i = 0; i < l; ++i) {
1352  objs[i] = PyTuple_GET_ITEM(args, i);
1353  }
1354  for (; l < max; ++l) {
1355  objs[l] = 0;
1356  }
1357  return i + 1;
1358  }
1359  }
1360 }
1361 
1362 /* A functor is a function object with one single object argument */
1363 #if PY_VERSION_HEX >= 0x02020000
1364 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1365 #else
1366 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1367 #endif
1368 
1369 /*
1370  Helper for static pointer initialization for both C and C++ code, for example
1371  static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1372 */
1373 #ifdef __cplusplus
1374 #define SWIG_STATIC_POINTER(var) var
1375 #else
1376 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1377 #endif
1378 
1379 /* -----------------------------------------------------------------------------
1380  * Pointer declarations
1381  * ----------------------------------------------------------------------------- */
1382 
1383 /* Flags for new pointer objects */
1384 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1385 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1386 
1387 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1388 
1389 #define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2)
1390 #define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN)
1391 
1392 #ifdef __cplusplus
1393 extern "C" {
1394 #endif
1395 
1396 /* How to access Py_None */
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
1401 # endif
1402 # endif
1403 #endif
1404 
1405 #ifdef SWIG_PYTHON_BUILD_NONE
1406 # ifdef Py_None
1407 # undef Py_None
1408 # define Py_None SWIG_Py_None()
1409 # endif
1410 SWIGRUNTIMEINLINE PyObject *
1411 _SWIG_Py_None(void)
1412 {
1413  PyObject *none = Py_BuildValue((char*)"");
1414  Py_DECREF(none);
1415  return none;
1416 }
1417 SWIGRUNTIME PyObject *
1418 SWIG_Py_None(void)
1419 {
1420  static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1421  return none;
1422 }
1423 #endif
1424 
1425 /* The python void return value */
1426 
1427 SWIGRUNTIMEINLINE PyObject *
1428 SWIG_Py_Void(void)
1429 {
1430  PyObject *none = Py_None;
1431  Py_INCREF(none);
1432  return none;
1433 }
1434 
1435 /* SwigPyClientData */
1436 
1437 typedef struct {
1438  PyObject *klass;
1439  PyObject *newraw;
1440  PyObject *newargs;
1441  PyObject *destroy;
1442  int delargs;
1443  int implicitconv;
1444  PyTypeObject *pytype;
1446 
1447 SWIGRUNTIMEINLINE int
1448 SWIG_Python_CheckImplicit(swig_type_info *ty)
1449 {
1450  SwigPyClientData *data = (SwigPyClientData *)ty->clientdata;
1451  return data ? data->implicitconv : 0;
1452 }
1453 
1454 SWIGRUNTIMEINLINE PyObject *
1455 SWIG_Python_ExceptionType(swig_type_info *desc) {
1456  SwigPyClientData *data = desc ? (SwigPyClientData *) desc->clientdata : 0;
1457  PyObject *klass = data ? data->klass : 0;
1458  return (klass ? klass : PyExc_RuntimeError);
1459 }
1460 
1461 
1462 SWIGRUNTIME SwigPyClientData *
1463 SwigPyClientData_New(PyObject* obj)
1464 {
1465  if (!obj) {
1466  return 0;
1467  } else {
1468  SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData));
1469  /* the klass element */
1470  data->klass = obj;
1471  Py_INCREF(data->klass);
1472  /* the newraw method and newargs arguments used to create a new raw instance */
1473  if (PyClass_Check(obj)) {
1474  data->newraw = 0;
1475  data->newargs = obj;
1476  Py_INCREF(obj);
1477  } else {
1478 #if (PY_VERSION_HEX < 0x02020000)
1479  data->newraw = 0;
1480 #else
1481  data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1482 #endif
1483  if (data->newraw) {
1484  Py_INCREF(data->newraw);
1485  data->newargs = PyTuple_New(1);
1486  PyTuple_SetItem(data->newargs, 0, obj);
1487  } else {
1488  data->newargs = obj;
1489  }
1490  Py_INCREF(data->newargs);
1491  }
1492  /* the destroy method, aka as the C++ delete method */
1493  data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1494  if (PyErr_Occurred()) {
1495  PyErr_Clear();
1496  data->destroy = 0;
1497  }
1498  if (data->destroy) {
1499  int flags;
1500  Py_INCREF(data->destroy);
1501  flags = PyCFunction_GET_FLAGS(data->destroy);
1502 #ifdef METH_O
1503  data->delargs = !(flags & (METH_O));
1504 #else
1505  data->delargs = 0;
1506 #endif
1507  } else {
1508  data->delargs = 0;
1509  }
1510  data->implicitconv = 0;
1511  data->pytype = 0;
1512  return data;
1513  }
1514 }
1515 
1516 SWIGRUNTIME void
1517 SwigPyClientData_Del(SwigPyClientData *data) {
1518  Py_XDECREF(data->newraw);
1519  Py_XDECREF(data->newargs);
1520  Py_XDECREF(data->destroy);
1521 }
1522 
1523 /* =============== SwigPyObject =====================*/
1524 
1525 typedef struct {
1526  PyObject_HEAD
1527  void *ptr;
1528  swig_type_info *ty;
1529  int own;
1530  PyObject *next;
1531 #ifdef SWIGPYTHON_BUILTIN
1532  PyObject *dict;
1533 #endif
1534 } SwigPyObject;
1535 
1536 SWIGRUNTIME PyObject *
1537 SwigPyObject_long(SwigPyObject *v)
1538 {
1539  return PyLong_FromVoidPtr(v->ptr);
1540 }
1541 
1542 SWIGRUNTIME PyObject *
1543 SwigPyObject_format(const char* fmt, SwigPyObject *v)
1544 {
1545  PyObject *res = NULL;
1546  PyObject *args = PyTuple_New(1);
1547  if (args) {
1548  if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) {
1549  PyObject *ofmt = SWIG_Python_str_FromChar(fmt);
1550  if (ofmt) {
1551 #if PY_VERSION_HEX >= 0x03000000
1552  res = PyUnicode_Format(ofmt,args);
1553 #else
1554  res = PyString_Format(ofmt,args);
1555 #endif
1556  Py_DECREF(ofmt);
1557  }
1558  Py_DECREF(args);
1559  }
1560  }
1561  return res;
1562 }
1563 
1564 SWIGRUNTIME PyObject *
1565 SwigPyObject_oct(SwigPyObject *v)
1566 {
1567  return SwigPyObject_format("%o",v);
1568 }
1569 
1570 SWIGRUNTIME PyObject *
1571 SwigPyObject_hex(SwigPyObject *v)
1572 {
1573  return SwigPyObject_format("%x",v);
1574 }
1575 
1576 SWIGRUNTIME PyObject *
1577 #ifdef METH_NOARGS
1578 SwigPyObject_repr(SwigPyObject *v)
1579 #else
1580 SwigPyObject_repr(SwigPyObject *v, PyObject *args)
1581 #endif
1582 {
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);
1585  if (v->next) {
1586 # ifdef METH_NOARGS
1587  PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next);
1588 # else
1589  PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next, args);
1590 # endif
1591 # if PY_VERSION_HEX >= 0x03000000
1592  PyObject *joined = PyUnicode_Concat(repr, nrep);
1593  Py_DecRef(repr);
1594  Py_DecRef(nrep);
1595  repr = joined;
1596 # else
1597  PyString_ConcatAndDel(&repr,nrep);
1598 # endif
1599  }
1600  return repr;
1601 }
1602 
1603 SWIGRUNTIME int
1604 SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w)
1605 {
1606  void *i = v->ptr;
1607  void *j = w->ptr;
1608  return (i < j) ? -1 : ((i > j) ? 1 : 0);
1609 }
1610 
1611 /* Added for Python 3.x, would it also be useful for Python 2.x? */
1612 SWIGRUNTIME PyObject*
1613 SwigPyObject_richcompare(SwigPyObject *v, SwigPyObject *w, int op)
1614 {
1615  PyObject* res;
1616  if( op != Py_EQ && op != Py_NE ) {
1617  Py_INCREF(Py_NotImplemented);
1618  return Py_NotImplemented;
1619  }
1620  res = PyBool_FromLong( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) ? 1 : 0);
1621  return res;
1622 }
1623 
1624 
1625 SWIGRUNTIME PyTypeObject* SwigPyObject_TypeOnce(void);
1626 
1627 #ifdef SWIGPYTHON_BUILTIN
1628 static swig_type_info *SwigPyObject_stype = 0;
1629 SWIGRUNTIME PyTypeObject*
1630 SwigPyObject_type(void) {
1631  SwigPyClientData *cd;
1632  assert(SwigPyObject_stype);
1633  cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
1634  assert(cd);
1635  assert(cd->pytype);
1636  return cd->pytype;
1637 }
1638 #else
1639 SWIGRUNTIME PyTypeObject*
1640 SwigPyObject_type(void) {
1641  static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyObject_TypeOnce();
1642  return type;
1643 }
1644 #endif
1645 
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))
1651  return 1;
1652  return (strcmp(op->ob_type->tp_name, "SwigPyObject") == 0);
1653 #else
1654  return (Py_TYPE(op) == SwigPyObject_type())
1655  || (strcmp(Py_TYPE(op)->tp_name,"SwigPyObject") == 0);
1656 #endif
1657 }
1658 
1659 SWIGRUNTIME PyObject *
1660 SwigPyObject_New(void *ptr, swig_type_info *ty, int own);
1661 
1662 SWIGRUNTIME void
1663 SwigPyObject_dealloc(PyObject *v)
1664 {
1665  SwigPyObject *sobj = (SwigPyObject *) v;
1666  PyObject *next = sobj->next;
1667  if (sobj->own == SWIG_POINTER_OWN) {
1668  swig_type_info *ty = sobj->ty;
1669  SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
1670  PyObject *destroy = data ? data->destroy : 0;
1671  if (destroy) {
1672  /* destroy is always a VARARGS method */
1673  PyObject *res;
1674  if (data->delargs) {
1675  /* we need to create a temporary object to carry the destroy operation */
1676  PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0);
1677  res = SWIG_Python_CallFunctor(destroy, tmp);
1678  Py_DECREF(tmp);
1679  } else {
1680  PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1681  PyObject *mself = PyCFunction_GET_SELF(destroy);
1682  res = ((*meth)(mself, v));
1683  }
1684  Py_XDECREF(res);
1685  }
1686 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1687  else {
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"));
1690  }
1691 #endif
1692  }
1693  Py_XDECREF(next);
1694  PyObject_DEL(v);
1695 }
1696 
1697 SWIGRUNTIME PyObject*
1698 SwigPyObject_append(PyObject* v, PyObject* next)
1699 {
1700  SwigPyObject *sobj = (SwigPyObject *) v;
1701 #ifndef METH_O
1702  PyObject *tmp = 0;
1703  if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1704  next = tmp;
1705 #endif
1706  if (!SwigPyObject_Check(next)) {
1707  return NULL;
1708  }
1709  sobj->next = next;
1710  Py_INCREF(next);
1711  return SWIG_Py_Void();
1712 }
1713 
1714 SWIGRUNTIME PyObject*
1715 #ifdef METH_NOARGS
1716 SwigPyObject_next(PyObject* v)
1717 #else
1718 SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1719 #endif
1720 {
1721  SwigPyObject *sobj = (SwigPyObject *) v;
1722  if (sobj->next) {
1723  Py_INCREF(sobj->next);
1724  return sobj->next;
1725  } else {
1726  return SWIG_Py_Void();
1727  }
1728 }
1729 
1730 SWIGINTERN PyObject*
1731 #ifdef METH_NOARGS
1732 SwigPyObject_disown(PyObject *v)
1733 #else
1734 SwigPyObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1735 #endif
1736 {
1737  SwigPyObject *sobj = (SwigPyObject *)v;
1738  sobj->own = 0;
1739  return SWIG_Py_Void();
1740 }
1741 
1742 SWIGINTERN PyObject*
1743 #ifdef METH_NOARGS
1744 SwigPyObject_acquire(PyObject *v)
1745 #else
1746 SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1747 #endif
1748 {
1749  SwigPyObject *sobj = (SwigPyObject *)v;
1750  sobj->own = SWIG_POINTER_OWN;
1751  return SWIG_Py_Void();
1752 }
1753 
1754 SWIGINTERN PyObject*
1755 SwigPyObject_own(PyObject *v, PyObject *args)
1756 {
1757  PyObject *val = 0;
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))
1762 #else
1763  if (!PyArg_UnpackTuple(args, "own", 0, 1, &val))
1764 #endif
1765  {
1766  return NULL;
1767  }
1768  else
1769  {
1770  SwigPyObject *sobj = (SwigPyObject *)v;
1771  PyObject *obj = PyBool_FromLong(sobj->own);
1772  if (val) {
1773 #ifdef METH_NOARGS
1774  if (PyObject_IsTrue(val)) {
1775  SwigPyObject_acquire(v);
1776  } else {
1777  SwigPyObject_disown(v);
1778  }
1779 #else
1780  if (PyObject_IsTrue(val)) {
1781  SwigPyObject_acquire(v,args);
1782  } else {
1783  SwigPyObject_disown(v,args);
1784  }
1785 #endif
1786  }
1787  return obj;
1788  }
1789 }
1790 
1791 #ifdef METH_O
1792 static PyMethodDef
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"},
1800  {0, 0, 0, 0}
1801 };
1802 #else
1803 static PyMethodDef
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"},
1811  {0, 0, 0, 0}
1812 };
1813 #endif
1814 
1815 #if PY_VERSION_HEX < 0x02020000
1816 SWIGINTERN PyObject *
1817 SwigPyObject_getattr(SwigPyObject *sobj,char *name)
1818 {
1819  return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1820 }
1821 #endif
1822 
1823 SWIGRUNTIME PyTypeObject*
1824 SwigPyObject_TypeOnce(void) {
1825  static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1826 
1827  static PyNumberMethods SwigPyObject_as_number = {
1828  (binaryfunc)0, /*nb_add*/
1829  (binaryfunc)0, /*nb_subtract*/
1830  (binaryfunc)0, /*nb_multiply*/
1831  /* nb_divide removed in Python 3 */
1832 #if PY_VERSION_HEX < 0x03000000
1833  (binaryfunc)0, /*nb_divide*/
1834 #endif
1835  (binaryfunc)0, /*nb_remainder*/
1836  (binaryfunc)0, /*nb_divmod*/
1837  (ternaryfunc)0,/*nb_power*/
1838  (unaryfunc)0, /*nb_negative*/
1839  (unaryfunc)0, /*nb_positive*/
1840  (unaryfunc)0, /*nb_absolute*/
1841  (inquiry)0, /*nb_nonzero*/
1842  0, /*nb_invert*/
1843  0, /*nb_lshift*/
1844  0, /*nb_rshift*/
1845  0, /*nb_and*/
1846  0, /*nb_xor*/
1847  0, /*nb_or*/
1848 #if PY_VERSION_HEX < 0x03000000
1849  0, /*nb_coerce*/
1850 #endif
1851  (unaryfunc)SwigPyObject_long, /*nb_int*/
1852 #if PY_VERSION_HEX < 0x03000000
1853  (unaryfunc)SwigPyObject_long, /*nb_long*/
1854 #else
1855  0, /*nb_reserved*/
1856 #endif
1857  (unaryfunc)0, /*nb_float*/
1858 #if PY_VERSION_HEX < 0x03000000
1859  (unaryfunc)SwigPyObject_oct, /*nb_oct*/
1860  (unaryfunc)SwigPyObject_hex, /*nb_hex*/
1861 #endif
1862 #if PY_VERSION_HEX >= 0x03000000 /* 3.0 */
1863  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */
1864 #elif PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */
1865  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */
1866 #elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */
1867  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1868 #elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */
1869  0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1870 #endif
1871  };
1872 
1873  static PyTypeObject swigpyobject_type;
1874  static int type_init = 0;
1875  if (!type_init) {
1876  const PyTypeObject tmp = {
1877  /* PyObject header changed in Python 3 */
1878 #if PY_VERSION_HEX >= 0x03000000
1879  PyVarObject_HEAD_INIT(NULL, 0)
1880 #else
1881  PyObject_HEAD_INIT(NULL)
1882  0, /* ob_size */
1883 #endif
1884  (char *)"SwigPyObject", /* tp_name */
1885  sizeof(SwigPyObject), /* tp_basicsize */
1886  0, /* tp_itemsize */
1887  (destructor)SwigPyObject_dealloc, /* tp_dealloc */
1888  0, /* tp_print */
1889 #if PY_VERSION_HEX < 0x02020000
1890  (getattrfunc)SwigPyObject_getattr, /* tp_getattr */
1891 #else
1892  (getattrfunc)0, /* tp_getattr */
1893 #endif
1894  (setattrfunc)0, /* tp_setattr */
1895 #if PY_VERSION_HEX >= 0x03000000
1896  0, /* tp_reserved in 3.0.1, tp_compare in 3.0.0 but not used */
1897 #else
1898  (cmpfunc)SwigPyObject_compare, /* tp_compare */
1899 #endif
1900  (reprfunc)SwigPyObject_repr, /* tp_repr */
1901  &SwigPyObject_as_number, /* tp_as_number */
1902  0, /* tp_as_sequence */
1903  0, /* tp_as_mapping */
1904  (hashfunc)0, /* tp_hash */
1905  (ternaryfunc)0, /* tp_call */
1906  0, /* tp_str */
1907  PyObject_GenericGetAttr, /* tp_getattro */
1908  0, /* tp_setattro */
1909  0, /* tp_as_buffer */
1910  Py_TPFLAGS_DEFAULT, /* tp_flags */
1911  swigobject_doc, /* tp_doc */
1912  0, /* tp_traverse */
1913  0, /* tp_clear */
1914  (richcmpfunc)SwigPyObject_richcompare,/* tp_richcompare */
1915  0, /* tp_weaklistoffset */
1916 #if PY_VERSION_HEX >= 0x02020000
1917  0, /* tp_iter */
1918  0, /* tp_iternext */
1919  swigobject_methods, /* tp_methods */
1920  0, /* tp_members */
1921  0, /* tp_getset */
1922  0, /* tp_base */
1923  0, /* tp_dict */
1924  0, /* tp_descr_get */
1925  0, /* tp_descr_set */
1926  0, /* tp_dictoffset */
1927  0, /* tp_init */
1928  0, /* tp_alloc */
1929  0, /* tp_new */
1930  0, /* tp_free */
1931  0, /* tp_is_gc */
1932  0, /* tp_bases */
1933  0, /* tp_mro */
1934  0, /* tp_cache */
1935  0, /* tp_subclasses */
1936  0, /* tp_weaklist */
1937 #endif
1938 #if PY_VERSION_HEX >= 0x02030000
1939  0, /* tp_del */
1940 #endif
1941 #if PY_VERSION_HEX >= 0x02060000
1942  0, /* tp_version */
1943 #endif
1944 #ifdef COUNT_ALLOCS
1945  0,0,0,0 /* tp_alloc -> tp_next */
1946 #endif
1947  };
1948  swigpyobject_type = tmp;
1949  type_init = 1;
1950 #if PY_VERSION_HEX < 0x02020000
1951  swigpyobject_type.ob_type = &PyType_Type;
1952 #else
1953  if (PyType_Ready(&swigpyobject_type) < 0)
1954  return NULL;
1955 #endif
1956  }
1957  return &swigpyobject_type;
1958 }
1959 
1960 SWIGRUNTIME PyObject *
1961 SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
1962 {
1963  SwigPyObject *sobj = PyObject_NEW(SwigPyObject, SwigPyObject_type());
1964  if (sobj) {
1965  sobj->ptr = ptr;
1966  sobj->ty = ty;
1967  sobj->own = own;
1968  sobj->next = 0;
1969  }
1970  return (PyObject *)sobj;
1971 }
1972 
1973 /* -----------------------------------------------------------------------------
1974  * Implements a simple Swig Packed type, and use it instead of string
1975  * ----------------------------------------------------------------------------- */
1976 
1977 typedef struct {
1978  PyObject_HEAD
1979  void *pack;
1980  swig_type_info *ty;
1981  size_t size;
1982 } SwigPyPacked;
1983 
1984 SWIGRUNTIME int
1985 SwigPyPacked_print(SwigPyPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1986 {
1987  char result[SWIG_BUFFER_SIZE];
1988  fputs("<Swig Packed ", fp);
1989  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1990  fputs("at ", fp);
1991  fputs(result, fp);
1992  }
1993  fputs(v->ty->name,fp);
1994  fputs(">", fp);
1995  return 0;
1996 }
1997 
1998 SWIGRUNTIME PyObject *
1999 SwigPyPacked_repr(SwigPyPacked *v)
2000 {
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);
2004  } else {
2005  return SWIG_Python_str_FromFormat("<Swig Packed %s>", v->ty->name);
2006  }
2007 }
2008 
2009 SWIGRUNTIME PyObject *
2010 SwigPyPacked_str(SwigPyPacked *v)
2011 {
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);
2015  } else {
2016  return SWIG_Python_str_FromChar(v->ty->name);
2017  }
2018 }
2019 
2020 SWIGRUNTIME int
2021 SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w)
2022 {
2023  size_t i = v->size;
2024  size_t j = w->size;
2025  int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
2026  return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
2027 }
2028 
2029 SWIGRUNTIME PyTypeObject* SwigPyPacked_TypeOnce(void);
2030 
2031 SWIGRUNTIME PyTypeObject*
2032 SwigPyPacked_type(void) {
2033  static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyPacked_TypeOnce();
2034  return type;
2035 }
2036 
2037 SWIGRUNTIMEINLINE int
2038 SwigPyPacked_Check(PyObject *op) {
2039  return ((op)->ob_type == SwigPyPacked_TypeOnce())
2040  || (strcmp((op)->ob_type->tp_name,"SwigPyPacked") == 0);
2041 }
2042 
2043 SWIGRUNTIME void
2044 SwigPyPacked_dealloc(PyObject *v)
2045 {
2046  if (SwigPyPacked_Check(v)) {
2047  SwigPyPacked *sobj = (SwigPyPacked *) v;
2048  free(sobj->pack);
2049  }
2050  PyObject_DEL(v);
2051 }
2052 
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;
2058  if (!type_init) {
2059  const PyTypeObject tmp = {
2060  /* PyObject header changed in Python 3 */
2061 #if PY_VERSION_HEX>=0x03000000
2062  PyVarObject_HEAD_INIT(NULL, 0)
2063 #else
2064  PyObject_HEAD_INIT(NULL)
2065  0, /* ob_size */
2066 #endif
2067  (char *)"SwigPyPacked", /* tp_name */
2068  sizeof(SwigPyPacked), /* tp_basicsize */
2069  0, /* tp_itemsize */
2070  (destructor)SwigPyPacked_dealloc, /* tp_dealloc */
2071  (printfunc)SwigPyPacked_print, /* tp_print */
2072  (getattrfunc)0, /* tp_getattr */
2073  (setattrfunc)0, /* tp_setattr */
2074 #if PY_VERSION_HEX>=0x03000000
2075  0, /* tp_reserved in 3.0.1 */
2076 #else
2077  (cmpfunc)SwigPyPacked_compare, /* tp_compare */
2078 #endif
2079  (reprfunc)SwigPyPacked_repr, /* tp_repr */
2080  0, /* tp_as_number */
2081  0, /* tp_as_sequence */
2082  0, /* tp_as_mapping */
2083  (hashfunc)0, /* tp_hash */
2084  (ternaryfunc)0, /* tp_call */
2085  (reprfunc)SwigPyPacked_str, /* tp_str */
2086  PyObject_GenericGetAttr, /* tp_getattro */
2087  0, /* tp_setattro */
2088  0, /* tp_as_buffer */
2089  Py_TPFLAGS_DEFAULT, /* tp_flags */
2090  swigpacked_doc, /* tp_doc */
2091  0, /* tp_traverse */
2092  0, /* tp_clear */
2093  0, /* tp_richcompare */
2094  0, /* tp_weaklistoffset */
2095 #if PY_VERSION_HEX >= 0x02020000
2096  0, /* tp_iter */
2097  0, /* tp_iternext */
2098  0, /* tp_methods */
2099  0, /* tp_members */
2100  0, /* tp_getset */
2101  0, /* tp_base */
2102  0, /* tp_dict */
2103  0, /* tp_descr_get */
2104  0, /* tp_descr_set */
2105  0, /* tp_dictoffset */
2106  0, /* tp_init */
2107  0, /* tp_alloc */
2108  0, /* tp_new */
2109  0, /* tp_free */
2110  0, /* tp_is_gc */
2111  0, /* tp_bases */
2112  0, /* tp_mro */
2113  0, /* tp_cache */
2114  0, /* tp_subclasses */
2115  0, /* tp_weaklist */
2116 #endif
2117 #if PY_VERSION_HEX >= 0x02030000
2118  0, /* tp_del */
2119 #endif
2120 #if PY_VERSION_HEX >= 0x02060000
2121  0, /* tp_version */
2122 #endif
2123 #ifdef COUNT_ALLOCS
2124  0,0,0,0 /* tp_alloc -> tp_next */
2125 #endif
2126  };
2127  swigpypacked_type = tmp;
2128  type_init = 1;
2129 #if PY_VERSION_HEX < 0x02020000
2130  swigpypacked_type.ob_type = &PyType_Type;
2131 #else
2132  if (PyType_Ready(&swigpypacked_type) < 0)
2133  return NULL;
2134 #endif
2135  }
2136  return &swigpypacked_type;
2137 }
2138 
2139 SWIGRUNTIME PyObject *
2140 SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
2141 {
2142  SwigPyPacked *sobj = PyObject_NEW(SwigPyPacked, SwigPyPacked_type());
2143  if (sobj) {
2144  void *pack = malloc(size);
2145  if (pack) {
2146  memcpy(pack, ptr, size);
2147  sobj->pack = pack;
2148  sobj->ty = ty;
2149  sobj->size = size;
2150  } else {
2151  PyObject_DEL((PyObject *) sobj);
2152  sobj = 0;
2153  }
2154  }
2155  return (PyObject *) sobj;
2156 }
2157 
2158 SWIGRUNTIME swig_type_info *
2159 SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
2160 {
2161  if (SwigPyPacked_Check(obj)) {
2162  SwigPyPacked *sobj = (SwigPyPacked *)obj;
2163  if (sobj->size != size) return 0;
2164  memcpy(ptr, sobj->pack, size);
2165  return sobj->ty;
2166  } else {
2167  return 0;
2168  }
2169 }
2170 
2171 /* -----------------------------------------------------------------------------
2172  * pointers/data manipulation
2173  * ----------------------------------------------------------------------------- */
2174 
2175 SWIGRUNTIMEINLINE PyObject *
2176 _SWIG_This(void)
2177 {
2178  return SWIG_Python_str_FromChar("this");
2179 }
2180 
2181 static PyObject *swig_this = NULL;
2182 
2183 SWIGRUNTIME PyObject *
2184 SWIG_This(void)
2185 {
2186  if (swig_this == NULL)
2187  swig_this = _SWIG_This();
2188  return swig_this;
2189 }
2190 
2191 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
2192 
2193 /* TODO: I don't know how to implement the fast getset in Python 3 right now */
2194 #if PY_VERSION_HEX>=0x03000000
2195 #define SWIG_PYTHON_SLOW_GETSET_THIS
2196 #endif
2197 
2198 SWIGRUNTIME SwigPyObject *
2199 SWIG_Python_GetSwigThis(PyObject *pyobj)
2200 {
2201  PyObject *obj;
2202 
2203  if (SwigPyObject_Check(pyobj))
2204  return (SwigPyObject *) pyobj;
2205 
2206 #ifdef SWIGPYTHON_BUILTIN
2207  (void)obj;
2208 # ifdef PyWeakref_CheckProxy
2209  if (PyWeakref_CheckProxy(pyobj)) {
2210  pyobj = PyWeakref_GET_OBJECT(pyobj);
2211  if (pyobj && SwigPyObject_Check(pyobj))
2212  return (SwigPyObject*) pyobj;
2213  }
2214 # endif
2215  return NULL;
2216 #else
2217 
2218  obj = 0;
2219 
2220 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
2221  if (PyInstance_Check(pyobj)) {
2222  obj = _PyInstance_Lookup(pyobj, SWIG_This());
2223  } else {
2224  PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
2225  if (dictptr != NULL) {
2226  PyObject *dict = *dictptr;
2227  obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
2228  } else {
2229 #ifdef PyWeakref_CheckProxy
2230  if (PyWeakref_CheckProxy(pyobj)) {
2231  PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
2232  return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
2233  }
2234 #endif
2235  obj = PyObject_GetAttr(pyobj,SWIG_This());
2236  if (obj) {
2237  Py_DECREF(obj);
2238  } else {
2239  if (PyErr_Occurred()) PyErr_Clear();
2240  return 0;
2241  }
2242  }
2243  }
2244 #else
2245  obj = PyObject_GetAttr(pyobj,SWIG_This());
2246  if (obj) {
2247  Py_DECREF(obj);
2248  } else {
2249  if (PyErr_Occurred()) PyErr_Clear();
2250  return 0;
2251  }
2252 #endif
2253  if (obj && !SwigPyObject_Check(obj)) {
2254  /* a PyObject is called 'this', try to get the 'real this'
2255  SwigPyObject from it */
2256  return SWIG_Python_GetSwigThis(obj);
2257  }
2258  return (SwigPyObject *)obj;
2259 #endif
2260 }
2261 
2262 /* Acquire a pointer value */
2263 
2264 SWIGRUNTIME int
2265 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
2266  if (own == SWIG_POINTER_OWN) {
2267  SwigPyObject *sobj = SWIG_Python_GetSwigThis(obj);
2268  if (sobj) {
2269  int oldown = sobj->own;
2270  sobj->own = own;
2271  return oldown;
2272  }
2273  }
2274  return 0;
2275 }
2276 
2277 /* Convert a pointer value */
2278 
2279 SWIGRUNTIME int
2280 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
2281  int res;
2282  SwigPyObject *sobj;
2283  int implicit_conv = (flags & SWIG_POINTER_IMPLICIT_CONV) != 0;
2284 
2285  if (!obj)
2286  return SWIG_ERROR;
2287  if (obj == Py_None && !implicit_conv) {
2288  if (ptr)
2289  *ptr = 0;
2290  return SWIG_OK;
2291  }
2292 
2293  res = SWIG_ERROR;
2294 
2295  sobj = SWIG_Python_GetSwigThis(obj);
2296  if (own)
2297  *own = 0;
2298  while (sobj) {
2299  void *vptr = sobj->ptr;
2300  if (ty) {
2301  swig_type_info *to = sobj->ty;
2302  if (to == ty) {
2303  /* no type cast needed */
2304  if (ptr) *ptr = vptr;
2305  break;
2306  } else {
2307  swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2308  if (!tc) {
2309  sobj = (SwigPyObject *)sobj->next;
2310  } else {
2311  if (ptr) {
2312  int newmemory = 0;
2313  *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2314  if (newmemory == SWIG_CAST_NEW_MEMORY) {
2315  assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
2316  if (own)
2317  *own = *own | SWIG_CAST_NEW_MEMORY;
2318  }
2319  }
2320  break;
2321  }
2322  }
2323  } else {
2324  if (ptr) *ptr = vptr;
2325  break;
2326  }
2327  }
2328  if (sobj) {
2329  if (own)
2330  *own = *own | sobj->own;
2331  if (flags & SWIG_POINTER_DISOWN) {
2332  sobj->own = 0;
2333  }
2334  res = SWIG_OK;
2335  } else {
2336  if (implicit_conv) {
2337  SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
2338  if (data && !data->implicitconv) {
2339  PyObject *klass = data->klass;
2340  if (klass) {
2341  PyObject *impconv;
2342  data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2343  impconv = SWIG_Python_CallFunctor(klass, obj);
2344  data->implicitconv = 0;
2345  if (PyErr_Occurred()) {
2346  PyErr_Clear();
2347  impconv = 0;
2348  }
2349  if (impconv) {
2350  SwigPyObject *iobj = SWIG_Python_GetSwigThis(impconv);
2351  if (iobj) {
2352  void *vptr;
2353  res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2354  if (SWIG_IsOK(res)) {
2355  if (ptr) {
2356  *ptr = vptr;
2357  /* transfer the ownership to 'ptr' */
2358  iobj->own = 0;
2359  res = SWIG_AddCast(res);
2360  res = SWIG_AddNewMask(res);
2361  } else {
2362  res = SWIG_AddCast(res);
2363  }
2364  }
2365  }
2366  Py_DECREF(impconv);
2367  }
2368  }
2369  }
2370  }
2371  if (!SWIG_IsOK(res) && obj == Py_None) {
2372  if (ptr)
2373  *ptr = 0;
2374  if (PyErr_Occurred())
2375  PyErr_Clear();
2376  res = SWIG_OK;
2377  }
2378  }
2379  return res;
2380 }
2381 
2382 /* Convert a function ptr value */
2383 
2384 SWIGRUNTIME int
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);
2388  } else {
2389  void *vptr = 0;
2390 
2391  /* here we get the method pointer for callbacks */
2392  const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2393  const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2394  if (desc)
2395  desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2396  if (!desc)
2397  return SWIG_ERROR;
2398  if (ty) {
2399  swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2400  if (tc) {
2401  int newmemory = 0;
2402  *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2403  assert(!newmemory); /* newmemory handling not yet implemented */
2404  } else {
2405  return SWIG_ERROR;
2406  }
2407  } else {
2408  *ptr = vptr;
2409  }
2410  return SWIG_OK;
2411  }
2412 }
2413 
2414 /* Convert a packed value value */
2415 
2416 SWIGRUNTIME int
2417 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2418  swig_type_info *to = SwigPyPacked_UnpackData(obj, ptr, sz);
2419  if (!to) return SWIG_ERROR;
2420  if (ty) {
2421  if (to != ty) {
2422  /* check type cast? */
2423  swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2424  if (!tc) return SWIG_ERROR;
2425  }
2426  }
2427  return SWIG_OK;
2428 }
2429 
2430 /* -----------------------------------------------------------------------------
2431  * Create a new pointer object
2432  * ----------------------------------------------------------------------------- */
2433 
2434 /*
2435  Create a new instance object, without calling __init__, and set the
2436  'this' attribute.
2437 */
2438 
2439 SWIGRUNTIME PyObject*
2440 SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this)
2441 {
2442 #if (PY_VERSION_HEX >= 0x02020000)
2443  PyObject *inst = 0;
2444  PyObject *newraw = data->newraw;
2445  if (newraw) {
2446  inst = PyObject_Call(newraw, data->newargs, NULL);
2447  if (inst) {
2448 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2449  PyObject **dictptr = _PyObject_GetDictPtr(inst);
2450  if (dictptr != NULL) {
2451  PyObject *dict = *dictptr;
2452  if (dict == NULL) {
2453  dict = PyDict_New();
2454  *dictptr = dict;
2455  PyDict_SetItem(dict, SWIG_This(), swig_this);
2456  }
2457  }
2458 #else
2459  PyObject *key = SWIG_This();
2460  PyObject_SetAttr(inst, key, swig_this);
2461 #endif
2462  }
2463  } else {
2464 #if PY_VERSION_HEX >= 0x03000000
2465  inst = ((PyTypeObject*) data->newargs)->tp_new((PyTypeObject*) data->newargs, Py_None, Py_None);
2466  if (inst) {
2467  PyObject_SetAttr(inst, SWIG_This(), swig_this);
2468  Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
2469  }
2470 #else
2471  PyObject *dict = PyDict_New();
2472  if (dict) {
2473  PyDict_SetItem(dict, SWIG_This(), swig_this);
2474  inst = PyInstance_NewRaw(data->newargs, dict);
2475  Py_DECREF(dict);
2476  }
2477 #endif
2478  }
2479  return inst;
2480 #else
2481 #if (PY_VERSION_HEX >= 0x02010000)
2482  PyObject *inst = 0;
2483  PyObject *dict = PyDict_New();
2484  if (dict) {
2485  PyDict_SetItem(dict, SWIG_This(), swig_this);
2486  inst = PyInstance_NewRaw(data->newargs, dict);
2487  Py_DECREF(dict);
2488  }
2489  return (PyObject *) inst;
2490 #else
2491  PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2492  if (inst == NULL) {
2493  return NULL;
2494  }
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) {
2499  Py_DECREF(inst);
2500  return NULL;
2501  }
2502 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2503  inst->in_weakreflist = NULL;
2504 #endif
2505 #ifdef Py_TPFLAGS_GC
2506  PyObject_GC_Init(inst);
2507 #endif
2508  PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2509  return (PyObject *) inst;
2510 #endif
2511 #endif
2512 }
2513 
2514 SWIGRUNTIME void
2515 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2516 {
2517  PyObject *dict;
2518 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2519  PyObject **dictptr = _PyObject_GetDictPtr(inst);
2520  if (dictptr != NULL) {
2521  dict = *dictptr;
2522  if (dict == NULL) {
2523  dict = PyDict_New();
2524  *dictptr = dict;
2525  }
2526  PyDict_SetItem(dict, SWIG_This(), swig_this);
2527  return;
2528  }
2529 #endif
2530  dict = PyObject_GetAttrString(inst, (char*)"__dict__");
2531  PyDict_SetItem(dict, SWIG_This(), swig_this);
2532  Py_DECREF(dict);
2533 }
2534 
2535 
2536 SWIGINTERN PyObject *
2537 SWIG_Python_InitShadowInstance(PyObject *args) {
2538  PyObject *obj[2];
2539  if (!SWIG_Python_UnpackTuple(args, "swiginit", 2, 2, obj)) {
2540  return NULL;
2541  } else {
2542  SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2543  if (sthis) {
2544  SwigPyObject_append((PyObject*) sthis, obj[1]);
2545  } else {
2546  SWIG_Python_SetSwigThis(obj[0], obj[1]);
2547  }
2548  return SWIG_Py_Void();
2549  }
2550 }
2551 
2552 /* Create a new pointer object */
2553 
2554 SWIGRUNTIME PyObject *
2555 SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags) {
2556  SwigPyClientData *clientdata;
2557  PyObject * robj;
2558  int own;
2559 
2560  if (!ptr)
2561  return SWIG_Py_Void();
2562 
2563  clientdata = type ? (SwigPyClientData *)(type->clientdata) : 0;
2564  own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2565  if (clientdata && clientdata->pytype) {
2566  SwigPyObject *newobj;
2567  if (flags & SWIG_BUILTIN_TP_INIT) {
2568  newobj = (SwigPyObject*) self;
2569  if (newobj->ptr) {
2570  PyObject *next_self = clientdata->pytype->tp_alloc(clientdata->pytype, 0);
2571  while (newobj->next)
2572  newobj = (SwigPyObject *) newobj->next;
2573  newobj->next = next_self;
2574  newobj = (SwigPyObject *)next_self;
2575  }
2576  } else {
2577  newobj = PyObject_New(SwigPyObject, clientdata->pytype);
2578  }
2579  if (newobj) {
2580  newobj->ptr = ptr;
2581  newobj->ty = type;
2582  newobj->own = own;
2583  newobj->next = 0;
2584 #ifdef SWIGPYTHON_BUILTIN
2585  newobj->dict = 0;
2586 #endif
2587  return (PyObject*) newobj;
2588  }
2589  return SWIG_Py_Void();
2590  }
2591 
2592  assert(!(flags & SWIG_BUILTIN_TP_INIT));
2593 
2594  robj = SwigPyObject_New(ptr, type, own);
2595  if (robj && clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2596  PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2597  Py_DECREF(robj);
2598  robj = inst;
2599  }
2600  return robj;
2601 }
2602 
2603 /* Create a new packed object */
2604 
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();
2608 }
2609 
2610 /* -----------------------------------------------------------------------------*
2611  * Get type list
2612  * -----------------------------------------------------------------------------*/
2613 
2614 #ifdef SWIG_LINK_RUNTIME
2615 void *SWIG_ReturnGlobalTypeList(void *);
2616 #endif
2617 
2618 SWIGRUNTIME swig_module_info *
2619 SWIG_Python_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
2620  static void *type_pointer = (void *)0;
2621  /* first check if module already created */
2622  if (!type_pointer) {
2623 #ifdef SWIG_LINK_RUNTIME
2624  type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2625 #else
2626 # ifdef SWIGPY_USE_CAPSULE
2627  type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0);
2628 # else
2629  type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2630  (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2631 # endif
2632  if (PyErr_Occurred()) {
2633  PyErr_Clear();
2634  type_pointer = (void *)0;
2635  }
2636 #endif
2637  }
2638  return (swig_module_info *) type_pointer;
2639 }
2640 
2641 #if PY_MAJOR_VERSION < 2
2642 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2643  is copied out of Python/modsupport.c in python version 2.3.4 */
2644 SWIGINTERN int
2645 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2646 {
2647  PyObject *dict;
2648  if (!PyModule_Check(m)) {
2649  PyErr_SetString(PyExc_TypeError,
2650  "PyModule_AddObject() needs module as first arg");
2651  return SWIG_ERROR;
2652  }
2653  if (!o) {
2654  PyErr_SetString(PyExc_TypeError,
2655  "PyModule_AddObject() needs non-NULL value");
2656  return SWIG_ERROR;
2657  }
2658 
2659  dict = PyModule_GetDict(m);
2660  if (dict == NULL) {
2661  /* Internal error -- modules must have a dict! */
2662  PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2663  PyModule_GetName(m));
2664  return SWIG_ERROR;
2665  }
2666  if (PyDict_SetItemString(dict, name, o))
2667  return SWIG_ERROR;
2668  Py_DECREF(o);
2669  return SWIG_OK;
2670 }
2671 #endif
2672 
2673 SWIGRUNTIME void
2674 #ifdef SWIGPY_USE_CAPSULE
2675 SWIG_Python_DestroyModule(PyObject *obj)
2676 #else
2677 SWIG_Python_DestroyModule(void *vptr)
2678 #endif
2679 {
2680 #ifdef SWIGPY_USE_CAPSULE
2681  swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME);
2682 #else
2683  swig_module_info *swig_module = (swig_module_info *) vptr;
2684 #endif
2685  swig_type_info **types = swig_module->types;
2686  size_t i;
2687  for (i =0; i < swig_module->size; ++i) {
2688  swig_type_info *ty = types[i];
2689  if (ty->owndata) {
2690  SwigPyClientData *data = (SwigPyClientData *) ty->clientdata;
2691  if (data) SwigPyClientData_Del(data);
2692  }
2693  }
2694  Py_DECREF(SWIG_This());
2695  swig_this = NULL;
2696 }
2697 
2698 SWIGRUNTIME void
2699 SWIG_Python_SetModule(swig_module_info *swig_module) {
2700 #if PY_VERSION_HEX >= 0x03000000
2701  /* Add a dummy module object into sys.modules */
2702  PyObject *module = PyImport_AddModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION);
2703 #else
2704  static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} }; /* Sentinel */
2705  PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table);
2706 #endif
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);
2711  } else {
2712  Py_XDECREF(pointer);
2713  }
2714 #else
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);
2718  } else {
2719  Py_XDECREF(pointer);
2720  }
2721 #endif
2722 }
2723 
2724 /* The python cached type query */
2725 SWIGRUNTIME PyObject *
2726 SWIG_Python_TypeCache(void) {
2727  static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2728  return cache;
2729 }
2730 
2731 SWIGRUNTIME swig_type_info *
2732 SWIG_Python_TypeQuery(const char *type)
2733 {
2734  PyObject *cache = SWIG_Python_TypeCache();
2735  PyObject *key = SWIG_Python_str_FromChar(type);
2736  PyObject *obj = PyDict_GetItem(cache, key);
2737  swig_type_info *descriptor;
2738  if (obj) {
2739 #ifdef SWIGPY_USE_CAPSULE
2740  descriptor = (swig_type_info *) PyCapsule_GetPointer(obj, NULL);
2741 #else
2742  descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2743 #endif
2744  } else {
2745  swig_module_info *swig_module = SWIG_GetModule(0);
2746  descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2747  if (descriptor) {
2748 #ifdef SWIGPY_USE_CAPSULE
2749  obj = PyCapsule_New((void*) descriptor, NULL, NULL);
2750 #else
2751  obj = PyCObject_FromVoidPtr(descriptor, NULL);
2752 #endif
2753  PyDict_SetItem(cache, key, obj);
2754  Py_DECREF(obj);
2755  }
2756  }
2757  Py_DECREF(key);
2758  return descriptor;
2759 }
2760 
2761 /*
2762  For backward compatibility only
2763 */
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)
2767 
2768 SWIGRUNTIME int
2769 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2770 {
2771  if (PyErr_Occurred()) {
2772  PyObject *type = 0;
2773  PyObject *value = 0;
2774  PyObject *traceback = 0;
2775  PyErr_Fetch(&type, &value, &traceback);
2776  if (value) {
2777  char *tmp;
2778  PyObject *old_str = PyObject_Str(value);
2779  Py_XINCREF(type);
2780  PyErr_Clear();
2781  if (infront) {
2782  PyErr_Format(type, "%s %s", mesg, tmp = SWIG_Python_str_AsChar(old_str));
2783  } else {
2784  PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
2785  }
2786  SWIG_Python_str_DelForPy3(tmp);
2787  Py_DECREF(old_str);
2788  }
2789  return 1;
2790  } else {
2791  return 0;
2792  }
2793 }
2794 
2795 SWIGRUNTIME int
2796 SWIG_Python_ArgFail(int argnum)
2797 {
2798  if (PyErr_Occurred()) {
2799  /* add information about failing argument */
2800  char mesg[256];
2801  PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2802  return SWIG_Python_AddErrMesg(mesg, 1);
2803  } else {
2804  return 0;
2805  }
2806 }
2807 
2808 SWIGRUNTIMEINLINE const char *
2809 SwigPyObject_GetDesc(PyObject *self)
2810 {
2811  SwigPyObject *v = (SwigPyObject *)self;
2812  swig_type_info *ty = v ? v->ty : 0;
2813  return ty ? ty->str : "";
2814 }
2815 
2816 SWIGRUNTIME void
2817 SWIG_Python_TypeError(const char *type, PyObject *obj)
2818 {
2819  if (type) {
2820 #if defined(SWIG_COBJECT_TYPES)
2821  if (obj && SwigPyObject_Check(obj)) {
2822  const char *otype = (const char *) SwigPyObject_GetDesc(obj);
2823  if (otype) {
2824  PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'SwigPyObject(%s)' is received",
2825  type, otype);
2826  return;
2827  }
2828  } else
2829 #endif
2830  {
2831  const char *otype = (obj ? obj->ob_type->tp_name : 0);
2832  if (otype) {
2833  PyObject *str = PyObject_Str(obj);
2834  const char *cstr = str ? SWIG_Python_str_AsChar(str) : 0;
2835  if (cstr) {
2836  PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2837  type, otype, cstr);
2838  SWIG_Python_str_DelForPy3(cstr);
2839  } else {
2840  PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2841  type, otype);
2842  }
2843  Py_XDECREF(str);
2844  return;
2845  }
2846  }
2847  PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2848  } else {
2849  PyErr_Format(PyExc_TypeError, "unexpected type is received");
2850  }
2851 }
2852 
2853 
2854 /* Convert a pointer value, signal an exception on a type mismatch */
2855 SWIGRUNTIME void *
2856 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags) {
2857  void *result;
2858  if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2859  PyErr_Clear();
2860 #if SWIG_POINTER_EXCEPTION
2861  if (flags) {
2862  SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2863  SWIG_Python_ArgFail(argnum);
2864  }
2865 #endif
2866  }
2867  return result;
2868 }
2869 
2870 #ifdef SWIGPYTHON_BUILTIN
2871 SWIGRUNTIME int
2872 SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) {
2873  PyTypeObject *tp = obj->ob_type;
2874  PyObject *descr;
2875  PyObject *encoded_name;
2876  descrsetfunc f;
2877  int res = -1;
2878 
2879 # ifdef Py_USING_UNICODE
2880  if (PyString_Check(name)) {
2881  name = PyUnicode_Decode(PyString_AsString(name), PyString_Size(name), NULL, NULL);
2882  if (!name)
2883  return -1;
2884  } else if (!PyUnicode_Check(name))
2885 # else
2886  if (!PyString_Check(name))
2887 # endif
2888  {
2889  PyErr_Format(PyExc_TypeError, "attribute name must be string, not '%.200s'", name->ob_type->tp_name);
2890  return -1;
2891  } else {
2892  Py_INCREF(name);
2893  }
2894 
2895  if (!tp->tp_dict) {
2896  if (PyType_Ready(tp) < 0)
2897  goto done;
2898  }
2899 
2900  descr = _PyType_Lookup(tp, name);
2901  f = NULL;
2902  if (descr != NULL)
2903  f = descr->ob_type->tp_descr_set;
2904  if (!f) {
2905  if (PyString_Check(name)) {
2906  encoded_name = name;
2907  Py_INCREF(name);
2908  } else {
2909  encoded_name = PyUnicode_AsUTF8String(name);
2910  }
2911  PyErr_Format(PyExc_AttributeError, "'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name));
2912  Py_DECREF(encoded_name);
2913  } else {
2914  res = f(descr, obj, value);
2915  }
2916 
2917  done:
2918  Py_DECREF(name);
2919  return res;
2920 }
2921 #endif
2922 
2923 
2924 #ifdef __cplusplus
2925 }
2926 #endif
2927 
2928 
2929 
2930 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2931 
2932 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2933 
2934 
2935 
2936  #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0)
2937 
2938 /* -----------------------------------------------------------------------------
2939  * director.swg
2940  *
2941  * This file contains support for director classes so that Python proxy
2942  * methods can be called from C++.
2943  * ----------------------------------------------------------------------------- */
2944 
2945 #ifndef SWIG_DIRECTOR_PYTHON_HEADER_
2946 #define SWIG_DIRECTOR_PYTHON_HEADER_
2947 
2948 #include <string>
2949 #include <iostream>
2950 #include <exception>
2951 #include <vector>
2952 #include <map>
2953 
2954 
2955 /*
2956  Use -DSWIG_PYTHON_DIRECTOR_NO_VTABLE if you don't want to generate a 'virtual
2957  table', and avoid multiple GetAttr calls to retrieve the python
2958  methods.
2959 */
2960 
2961 #ifndef SWIG_PYTHON_DIRECTOR_NO_VTABLE
2962 #ifndef SWIG_PYTHON_DIRECTOR_VTABLE
2963 #define SWIG_PYTHON_DIRECTOR_VTABLE
2964 #endif
2965 #endif
2966 
2967 
2968 
2969 /*
2970  Use -DSWIG_DIRECTOR_NO_UEH if you prefer to avoid the use of the
2971  Undefined Exception Handler provided by swig.
2972 */
2973 #ifndef SWIG_DIRECTOR_NO_UEH
2974 #ifndef SWIG_DIRECTOR_UEH
2975 #define SWIG_DIRECTOR_UEH
2976 #endif
2977 #endif
2978 
2979 
2980 /*
2981  Use -DSWIG_DIRECTOR_STATIC if you prefer to avoid the use of the
2982  'Swig' namespace. This could be useful for multi-modules projects.
2983 */
2984 #ifdef SWIG_DIRECTOR_STATIC
2985 /* Force anonymous (static) namespace */
2986 #define Swig
2987 #endif
2988 
2989 
2990 /*
2991  Use -DSWIG_DIRECTOR_NORTTI if you prefer to avoid the use of the
2992  native C++ RTTI and dynamic_cast<>. But be aware that directors
2993  could stop working when using this option.
2994 */
2995 #ifdef SWIG_DIRECTOR_NORTTI
2996 /*
2997  When we don't use the native C++ RTTI, we implement a minimal one
2998  only for Directors.
2999 */
3000 # ifndef SWIG_DIRECTOR_RTDIR
3001 # define SWIG_DIRECTOR_RTDIR
3002 
3003 namespace Swig {
3004  class Director;
3005  SWIGINTERN std::map<void *, Director *>& get_rtdir_map() {
3006  static std::map<void *, Director *> rtdir_map;
3007  return rtdir_map;
3008  }
3009 
3010  SWIGINTERNINLINE void set_rtdir(void *vptr, Director *rtdir) {
3011  get_rtdir_map()[vptr] = rtdir;
3012  }
3013 
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;
3017  return rtdir;
3018  }
3019 }
3020 # endif /* SWIG_DIRECTOR_RTDIR */
3021 
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)
3024 
3025 #else
3026 
3027 # define SWIG_DIRECTOR_CAST(ARG) dynamic_cast<Swig::Director *>(ARG)
3028 # define SWIG_DIRECTOR_RGTR(ARG1, ARG2)
3029 
3030 #endif /* SWIG_DIRECTOR_NORTTI */
3031 
3032 extern "C" {
3033  struct swig_type_info;
3034 }
3035 
3036 namespace Swig {
3037 
3038  /* memory handler */
3039  struct GCItem {
3040  virtual ~GCItem() {}
3041 
3042  virtual int get_own() const {
3043  return 0;
3044  }
3045  };
3046 
3047  struct GCItem_var {
3048  GCItem_var(GCItem *item = 0) : _item(item) {
3049  }
3050 
3051  GCItem_var& operator=(GCItem *item) {
3052  GCItem *tmp = _item;
3053  _item = item;
3054  delete tmp;
3055  return *this;
3056  }
3057 
3058  ~GCItem_var() {
3059  delete _item;
3060  }
3061 
3062  GCItem * operator->() const {
3063  return _item;
3064  }
3065 
3066  private:
3067  GCItem *_item;
3068  };
3069 
3071  GCItem_Object(int own) : _own(own) {
3072  }
3073 
3074  virtual ~GCItem_Object() {
3075  }
3076 
3077  int get_own() const {
3078  return _own;
3079  }
3080 
3081  private:
3082  int _own;
3083  };
3084 
3085  template <typename Type>
3086  struct GCItem_T : GCItem {
3087  GCItem_T(Type *ptr) : _ptr(ptr) {
3088  }
3089 
3090  virtual ~GCItem_T() {
3091  delete _ptr;
3092  }
3093 
3094  private:
3095  Type *_ptr;
3096  };
3097 
3098  template <typename Type>
3099  struct GCArray_T : GCItem {
3100  GCArray_T(Type *ptr) : _ptr(ptr) {
3101  }
3102 
3103  virtual ~GCArray_T() {
3104  delete[] _ptr;
3105  }
3106 
3107  private:
3108  Type *_ptr;
3109  };
3110 
3111  /* base class for director exceptions */
3112  class DirectorException : public std::exception {
3113  protected:
3114  std::string swig_msg;
3115  public:
3116  DirectorException(PyObject *error, const char *hdr ="", const char *msg ="") : swig_msg(hdr) {
3117  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
3118  if (msg[0]) {
3119  swig_msg += " ";
3120  swig_msg += msg;
3121  }
3122  if (!PyErr_Occurred()) {
3123  PyErr_SetString(error, what());
3124  }
3125  SWIG_PYTHON_THREAD_END_BLOCK;
3126  }
3127 
3128  virtual ~DirectorException() throw() {
3129  }
3130 
3131  /* Deprecated, use what() instead */
3132  const char *getMessage() const {
3133  return what();
3134  }
3135 
3136  const char *what() const throw() {
3137  return swig_msg.c_str();
3138  }
3139 
3140  static void raise(PyObject *error, const char *msg) {
3141  throw DirectorException(error, msg);
3142  }
3143 
3144  static void raise(const char *msg) {
3145  raise(PyExc_RuntimeError, msg);
3146  }
3147  };
3148 
3149  /* unknown exception handler */
3151 #ifdef SWIG_DIRECTOR_UEH
3152  static void handler() {
3153  try {
3154  throw;
3155  } catch (DirectorException& e) {
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;
3160  } catch (...) {
3161  std::cerr << "Unknown exception caught." << std::endl;
3162  }
3163 
3164  std::cerr << std::endl
3165  << "Python interpreter traceback:" << std::endl;
3166  PyErr_Print();
3167  std::cerr << std::endl;
3168 
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
3171  << std::endl
3172  << "Exception is being re-thrown, program will likely abort/terminate." << std::endl;
3173  throw;
3174  }
3175 
3176  public:
3177 
3178  std::unexpected_handler old;
3179  UnknownExceptionHandler(std::unexpected_handler nh = handler) {
3180  old = std::set_unexpected(nh);
3181  }
3182 
3184  std::set_unexpected(old);
3185  }
3186 #endif
3187  };
3188 
3189  /* type mismatch in the return value from a python method call */
3191  public:
3192  DirectorTypeMismatchException(PyObject *error, const char *msg="")
3193  : DirectorException(error, "SWIG director type mismatch", msg) {
3194  }
3195 
3196  DirectorTypeMismatchException(const char *msg="")
3197  : DirectorException(PyExc_TypeError, "SWIG director type mismatch", msg) {
3198  }
3199 
3200  static void raise(PyObject *error, const char *msg) {
3201  throw DirectorTypeMismatchException(error, msg);
3202  }
3203 
3204  static void raise(const char *msg) {
3205  throw DirectorTypeMismatchException(msg);
3206  }
3207  };
3208 
3209  /* any python exception that occurs during a director method call */
3211  public:
3212  DirectorMethodException(const char *msg = "")
3213  : DirectorException(PyExc_RuntimeError, "SWIG director method error.", msg) {
3214  }
3215 
3216  static void raise(const char *msg) {
3217  throw DirectorMethodException(msg);
3218  }
3219  };
3220 
3221  /* attempt to call a pure virtual method via a director method */
3223  public:
3224  DirectorPureVirtualException(const char *msg = "")
3225  : DirectorException(PyExc_RuntimeError, "SWIG director pure virtual method called", msg) {
3226  }
3227 
3228  static void raise(const char *msg) {
3229  throw DirectorPureVirtualException(msg);
3230  }
3231  };
3232 
3233 
3234 #if defined(SWIG_PYTHON_THREADS)
3235 /* __THREAD__ is the old macro to activate some thread support */
3236 # if !defined(__THREAD__)
3237 # define __THREAD__ 1
3238 # endif
3239 #endif
3240 
3241 #ifdef __THREAD__
3242 # include "pythread.h"
3243  class Guard {
3244  PyThread_type_lock &mutex_;
3245 
3246  public:
3247  Guard(PyThread_type_lock & mutex) : mutex_(mutex) {
3248  PyThread_acquire_lock(mutex_, WAIT_LOCK);
3249  }
3250 
3251  ~Guard() {
3252  PyThread_release_lock(mutex_);
3253  }
3254  };
3255 # define SWIG_GUARD(mutex) Guard _guard(mutex)
3256 #else
3257 # define SWIG_GUARD(mutex)
3258 #endif
3259 
3260  /* director base class */
3261  class Director {
3262  private:
3263  /* pointer to the wrapped python object */
3264  PyObject *swig_self;
3265  /* flag indicating whether the object is owned by python or c++ */
3266  mutable bool swig_disown_flag;
3267 
3268  /* decrement the reference count of the wrapped python object */
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;
3274  }
3275  }
3276 
3277  public:
3278  /* wrap a python object, optionally taking ownership */
3279  Director(PyObject *self) : swig_self(self), swig_disown_flag(false) {
3280  swig_incref();
3281  }
3282 
3283  /* discard our reference at destruction */
3284  virtual ~Director() {
3285  swig_decref();
3286  }
3287 
3288  /* return a pointer to the wrapped python object */
3289  PyObject *swig_get_self() const {
3290  return swig_self;
3291  }
3292 
3293  /* acquire ownership of the wrapped python object (the sense of "disown" is from python) */
3294  void swig_disown() const {
3295  if (!swig_disown_flag) {
3296  swig_disown_flag=true;
3297  swig_incref();
3298  }
3299  }
3300 
3301  /* increase the reference count of the wrapped python object */
3302  void swig_incref() const {
3303  if (swig_disown_flag) {
3304  Py_INCREF(swig_self);
3305  }
3306  }
3307 
3308  /* methods to implement pseudo protected director members */
3309  virtual bool swig_get_inner(const char * /* swig_protected_method_name */) const {
3310  return true;
3311  }
3312 
3313  virtual void swig_set_inner(const char * /* swig_protected_method_name */, bool /* swig_val */) const {
3314  }
3315 
3316  /* ownership management */
3317  private:
3318  typedef std::map<void *, GCItem_var> swig_ownership_map;
3319  mutable swig_ownership_map swig_owner;
3320 #ifdef __THREAD__
3321  static PyThread_type_lock swig_mutex_own;
3322 #endif
3323 
3324  public:
3325  template <typename Type>
3326  void swig_acquire_ownership_array(Type *vptr) const {
3327  if (vptr) {
3328  SWIG_GUARD(swig_mutex_own);
3329  swig_owner[vptr] = new GCArray_T<Type>(vptr);
3330  }
3331  }
3332 
3333  template <typename Type>
3334  void swig_acquire_ownership(Type *vptr) const {
3335  if (vptr) {
3336  SWIG_GUARD(swig_mutex_own);
3337  swig_owner[vptr] = new GCItem_T<Type>(vptr);
3338  }
3339  }
3340 
3341  void swig_acquire_ownership_obj(void *vptr, int own) const {
3342  if (vptr && own) {
3343  SWIG_GUARD(swig_mutex_own);
3344  swig_owner[vptr] = new GCItem_Object(own);
3345  }
3346  }
3347 
3348  int swig_release_ownership(void *vptr) const {
3349  int own = 0;
3350  if (vptr) {
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);
3356  }
3357  }
3358  return own;
3359  }
3360 
3361  template <typename Type>
3362  static PyObject *swig_pyobj_disown(PyObject *pyobj, PyObject *SWIGUNUSEDPARM(args)) {
3363  SwigPyObject *sobj = (SwigPyObject *)pyobj;
3364  sobj->own = 0;
3365  Director *d = SWIG_DIRECTOR_CAST(reinterpret_cast<Type *>(sobj->ptr));
3366  if (d)
3367  d->swig_disown();
3368  return PyWeakref_NewProxy(pyobj, NULL);
3369  }
3370  };
3371 
3372 #ifdef __THREAD__
3373  PyThread_type_lock Director::swig_mutex_own = PyThread_allocate_lock();
3374 #endif
3375 }
3376 
3377 #endif
3378 
3379 /* -------- TYPES TABLE (BEGIN) -------- */
3380 
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]
3720 static swig_type_info *swig_types[340];
3721 static swig_module_info swig_module = {swig_types, 339, 0, 0, 0, 0};
3722 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
3723 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
3724 
3725 /* -------- TYPES TABLE (END) -------- */
3726 
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"
3730 # endif
3731 #endif
3732 
3733 /*-----------------------------------------------
3734  @(target):= _AnimatSimPy.so
3735  ------------------------------------------------*/
3736 #if PY_VERSION_HEX >= 0x03000000
3737 # define SWIG_init PyInit__AnimatSimPy
3738 
3739 #else
3740 # define SWIG_init init_AnimatSimPy
3741 
3742 #endif
3743 #define SWIG_name "_AnimatSimPy"
3744 
3745 #define SWIGVERSION 0x030005
3746 #define SWIG_VERSION SWIGVERSION
3747 
3748 
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))
3751 
3752 
3753 #include <stdexcept>
3754 
3755 
3756 namespace swig {
3758  protected:
3759  PyObject *_obj;
3760 
3761  public:
3762  SwigPtr_PyObject() :_obj(0)
3763  {
3764  }
3765 
3766  SwigPtr_PyObject(const SwigPtr_PyObject& item) : _obj(item._obj)
3767  {
3768  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
3769  Py_XINCREF(_obj);
3770  SWIG_PYTHON_THREAD_END_BLOCK;
3771  }
3772 
3773  SwigPtr_PyObject(PyObject *obj, bool initial_ref = true) :_obj(obj)
3774  {
3775  if (initial_ref) {
3776  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
3777  Py_XINCREF(_obj);
3778  SWIG_PYTHON_THREAD_END_BLOCK;
3779  }
3780  }
3781 
3782  SwigPtr_PyObject & operator=(const SwigPtr_PyObject& item)
3783  {
3784  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
3785  Py_XINCREF(item._obj);
3786  Py_XDECREF(_obj);
3787  _obj = item._obj;
3788  SWIG_PYTHON_THREAD_END_BLOCK;
3789  return *this;
3790  }
3791 
3792  ~SwigPtr_PyObject()
3793  {
3794  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
3795  Py_XDECREF(_obj);
3796  SWIG_PYTHON_THREAD_END_BLOCK;
3797  }
3798 
3799  operator PyObject *() const
3800  {
3801  return _obj;
3802  }
3803 
3804  PyObject *operator->() const
3805  {
3806  return _obj;
3807  }
3808  };
3809 }
3810 
3811 
3812 namespace swig {
3814  SwigVar_PyObject(PyObject* obj = 0) : SwigPtr_PyObject(obj, false) { }
3815 
3816  SwigVar_PyObject & operator = (PyObject* obj)
3817  {
3818  Py_XDECREF(_obj);
3819  _obj = obj;
3820  return *this;
3821  }
3822  };
3823 }
3824 
3825 
3826 #include "StdAfx.h"
3827 using namespace StdUtils;
3828 
3829 
3830 #include <iostream>
3831 
3832 #if PY_VERSION_HEX >= 0x03020000
3833 # define SWIGPY_SLICE_ARG(obj) ((PyObject*) (obj))
3834 #else
3835 # define SWIGPY_SLICE_ARG(obj) ((PySliceObject*) (obj))
3836 #endif
3837 
3838 
3839 #include <stdexcept>
3840 
3841 
3842 #if defined(__GNUC__)
3843 # if __GNUC__ == 2 && __GNUC_MINOR <= 96
3844 # define SWIG_STD_NOMODERN_STL
3845 # endif
3846 #endif
3847 
3848 
3849 #include <string>
3850 
3851 
3852 #include <stddef.h>
3853 
3854 
3855 namespace swig {
3857  };
3858 
3860  private:
3861  SwigPtr_PyObject _seq;
3862 
3863  protected:
3864  SwigPyIterator(PyObject *seq) : _seq(seq)
3865  {
3866  }
3867 
3868  public:
3869  virtual ~SwigPyIterator() {}
3870 
3871  // Access iterator method, required by Python
3872  virtual PyObject *value() const = 0;
3873 
3874  // Forward iterator method, required by Python
3875  virtual SwigPyIterator *incr(size_t n = 1) = 0;
3876 
3877  // Backward iterator method, very common in C++, but not required in Python
3878  virtual SwigPyIterator *decr(size_t /*n*/ = 1)
3879  {
3880  throw stop_iteration();
3881  }
3882 
3883  // Random access iterator methods, but not required in Python
3884  virtual ptrdiff_t distance(const SwigPyIterator &/*x*/) const
3885  {
3886  throw std::invalid_argument("operation not supported");
3887  }
3888 
3889  virtual bool equal (const SwigPyIterator &/*x*/) const
3890  {
3891  throw std::invalid_argument("operation not supported");
3892  }
3893 
3894  // C++ common/needed methods
3895  virtual SwigPyIterator *copy() const = 0;
3896 
3897  PyObject *next()
3898  {
3899  SWIG_PYTHON_THREAD_BEGIN_BLOCK; // disable threads
3900  PyObject *obj = value();
3901  incr();
3902  SWIG_PYTHON_THREAD_END_BLOCK; // re-enable threads
3903  return obj;
3904  }
3905 
3906  /* Make an alias for Python 3.x */
3907  PyObject *__next__()
3908  {
3909  return next();
3910  }
3911 
3912  PyObject *previous()
3913  {
3914  SWIG_PYTHON_THREAD_BEGIN_BLOCK; // disable threads
3915  decr();
3916  PyObject *obj = value();
3917  SWIG_PYTHON_THREAD_END_BLOCK; // re-enable threads
3918  return obj;
3919  }
3920 
3921  SwigPyIterator *advance(ptrdiff_t n)
3922  {
3923  return (n > 0) ? incr(n) : decr(-n);
3924  }
3925 
3926  bool operator == (const SwigPyIterator& x) const
3927  {
3928  return equal(x);
3929  }
3930 
3931  bool operator != (const SwigPyIterator& x) const
3932  {
3933  return ! operator==(x);
3934  }
3935 
3936  SwigPyIterator& operator += (ptrdiff_t n)
3937  {
3938  return *advance(n);
3939  }
3940 
3941  SwigPyIterator& operator -= (ptrdiff_t n)
3942  {
3943  return *advance(-n);
3944  }
3945 
3946  SwigPyIterator* operator + (ptrdiff_t n) const
3947  {
3948  return copy()->advance(n);
3949  }
3950 
3951  SwigPyIterator* operator - (ptrdiff_t n) const
3952  {
3953  return copy()->advance(-n);
3954  }
3955 
3956  ptrdiff_t operator - (const SwigPyIterator& x) const
3957  {
3958  return x.distance(*this);
3959  }
3960 
3961  static swig_type_info* descriptor() {
3962  static int init = 0;
3963  static swig_type_info* desc = 0;
3964  if (!init) {
3965  desc = SWIG_TypeQuery("swig::SwigPyIterator *");
3966  init = 1;
3967  }
3968  return desc;
3969  }
3970  };
3971 
3972 #if defined(SWIGPYTHON_BUILTIN)
3973  inline PyObject* make_output_iterator_builtin (PyObject *pyself)
3974  {
3975  Py_INCREF(pyself);
3976  return pyself;
3977  }
3978 #endif
3979 }
3980 
3981 
3982 SWIGINTERN int
3983 SWIG_AsVal_double (PyObject *obj, double *val)
3984 {
3985  int res = SWIG_TypeError;
3986  if (PyFloat_Check(obj)) {
3987  if (val) *val = PyFloat_AsDouble(obj);
3988  return SWIG_OK;
3989  } else if (PyInt_Check(obj)) {
3990  if (val) *val = PyInt_AsLong(obj);
3991  return SWIG_OK;
3992  } else if (PyLong_Check(obj)) {
3993  double v = PyLong_AsDouble(obj);
3994  if (!PyErr_Occurred()) {
3995  if (val) *val = v;
3996  return SWIG_OK;
3997  } else {
3998  PyErr_Clear();
3999  }
4000  }
4001 #ifdef SWIG_PYTHON_CAST_MODE
4002  {
4003  int dispatch = 0;
4004  double d = PyFloat_AsDouble(obj);
4005  if (!PyErr_Occurred()) {
4006  if (val) *val = d;
4007  return SWIG_AddCast(SWIG_OK);
4008  } else {
4009  PyErr_Clear();
4010  }
4011  if (!dispatch) {
4012  long v = PyLong_AsLong(obj);
4013  if (!PyErr_Occurred()) {
4014  if (val) *val = v;
4015  return SWIG_AddCast(SWIG_AddCast(SWIG_OK));
4016  } else {
4017  PyErr_Clear();
4018  }
4019  }
4020  }
4021 #endif
4022  return res;
4023 }
4024 
4025 
4026 #include <float.h>
4027 
4028 
4029 #include <math.h>
4030 
4031 
4032 SWIGINTERNINLINE int
4033 SWIG_CanCastAsInteger(double *d, double min, double max) {
4034  double x = *d;
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; /* simple rint */
4039  if ((errno == EDOM) || (errno == ERANGE)) {
4040  errno = 0;
4041  } else {
4042  double summ, reps, diff;
4043  if (rd < x) {
4044  diff = x - rd;
4045  } else if (rd > x) {
4046  diff = rd - x;
4047  } else {
4048  return 1;
4049  }
4050  summ = rd + x;
4051  reps = diff/summ;
4052  if (reps < 8*DBL_EPSILON) {
4053  *d = rd;
4054  return 1;
4055  }
4056  }
4057  }
4058  return 0;
4059 }
4060 
4061 
4062 SWIGINTERN int
4063 SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val)
4064 {
4065 #if PY_VERSION_HEX < 0x03000000
4066  if (PyInt_Check(obj)) {
4067  long v = PyInt_AsLong(obj);
4068  if (v >= 0) {
4069  if (val) *val = v;
4070  return SWIG_OK;
4071  } else {
4072  return SWIG_OverflowError;
4073  }
4074  } else
4075 #endif
4076  if (PyLong_Check(obj)) {
4077  unsigned long v = PyLong_AsUnsignedLong(obj);
4078  if (!PyErr_Occurred()) {
4079  if (val) *val = v;
4080  return SWIG_OK;
4081  } else {
4082  PyErr_Clear();
4083 #if PY_VERSION_HEX >= 0x03000000
4084  {
4085  long v = PyLong_AsLong(obj);
4086  if (!PyErr_Occurred()) {
4087  if (v < 0) {
4088  return SWIG_OverflowError;
4089  }
4090  } else {
4091  PyErr_Clear();
4092  }
4093  }
4094 #endif
4095  }
4096  }
4097 #ifdef SWIG_PYTHON_CAST_MODE
4098  {
4099  int dispatch = 0;
4100  unsigned long v = PyLong_AsUnsignedLong(obj);
4101  if (!PyErr_Occurred()) {
4102  if (val) *val = v;
4103  return SWIG_AddCast(SWIG_OK);
4104  } else {
4105  PyErr_Clear();
4106  }
4107  if (!dispatch) {
4108  double d;
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);
4112  return res;
4113  }
4114  }
4115  }
4116 #endif
4117  return SWIG_TypeError;
4118 }
4119 
4120 
4121 SWIGINTERNINLINE int
4122 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
4123 {
4124  unsigned long v;
4125  int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
4126  if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
4127  return res;
4128 }
4129 
4130 
4131  #define SWIG_From_long PyLong_FromLong
4132 
4133 
4134 SWIGINTERNINLINE PyObject *
4135 SWIG_From_ptrdiff_t (ptrdiff_t value)
4136 {
4137  return SWIG_From_long (static_cast< long >(value));
4138 }
4139 
4140 
4141 SWIGINTERNINLINE PyObject*
4142  SWIG_From_bool (bool value)
4143 {
4144  return PyBool_FromLong(value ? 1 : 0);
4145 }
4146 
4147 
4148 SWIGINTERN int
4149 SWIG_AsVal_long (PyObject *obj, long* val)
4150 {
4151  if (PyInt_Check(obj)) {
4152  if (val) *val = PyInt_AsLong(obj);
4153  return SWIG_OK;
4154  } else if (PyLong_Check(obj)) {
4155  long v = PyLong_AsLong(obj);
4156  if (!PyErr_Occurred()) {
4157  if (val) *val = v;
4158  return SWIG_OK;
4159  } else {
4160  PyErr_Clear();
4161  }
4162  }
4163 #ifdef SWIG_PYTHON_CAST_MODE
4164  {
4165  int dispatch = 0;
4166  long v = PyInt_AsLong(obj);
4167  if (!PyErr_Occurred()) {
4168  if (val) *val = v;
4169  return SWIG_AddCast(SWIG_OK);
4170  } else {
4171  PyErr_Clear();
4172  }
4173  if (!dispatch) {
4174  double d;
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);
4178  return res;
4179  }
4180  }
4181  }
4182 #endif
4183  return SWIG_TypeError;
4184 }
4185 
4186 
4187 SWIGINTERNINLINE int
4188 SWIG_AsVal_ptrdiff_t (PyObject * obj, ptrdiff_t *val)
4189 {
4190  long v;
4191  int res = SWIG_AsVal_long (obj, val ? &v : 0);
4192  if (SWIG_IsOK(res) && val) *val = static_cast< ptrdiff_t >(v);
4193  return res;
4194 }
4195 
4196 
4197 #include <algorithm>
4198 
4199 
4200 #include <vector>
4201 
4202 
4203 SWIGINTERNINLINE PyObject*
4204  SWIG_From_int (int value)
4205 {
4206  return PyInt_FromLong((long) value);
4207 }
4208 
4209 
4210 #include <utility>
4211 
4212 
4213 #include <map>
4214 
4215 
4216 #include <algorithm>
4217 
4218 
4219 namespace swig {
4220  template <class Type>
4222  typedef Type noconst_type;
4223  };
4224 
4225  template <class Type>
4226  struct noconst_traits<const Type> {
4227  typedef Type noconst_type;
4228  };
4229 
4230  /*
4231  type categories
4232  */
4233  struct pointer_category { };
4234  struct value_category { };
4235 
4236  /*
4237  General traits that provides type_name and type_info
4238  */
4239  template <class Type> struct traits { };
4240 
4241  template <class Type>
4242  inline const char* type_name() {
4244  }
4245 
4246  template <class Type>
4247  struct traits_info {
4248  static swig_type_info *type_query(std::string name) {
4249  name += " *";
4250  return SWIG_TypeQuery(name.c_str());
4251  }
4252  static swig_type_info *type_info() {
4253  static swig_type_info *info = type_query(type_name<Type>());
4254  return info;
4255  }
4256  };
4257 
4258  template <class Type>
4259  inline swig_type_info *type_info() {
4261  }
4262 
4263  /*
4264  Partial specialization for pointers
4265  */
4266  template <class Type> struct traits <Type *> {
4267  typedef pointer_category category;
4268  static std::string make_ptr_name(const char* name) {
4269  std::string ptrname = name;
4270  ptrname += " *";
4271  return ptrname;
4272  }
4273  static const char* type_name() {
4274  static std::string name = make_ptr_name(swig::type_name<Type>());
4275  return name.c_str();
4276  }
4277  };
4278 
4279  template <class Type, class Category>
4280  struct traits_as { };
4281 
4282  template <class Type, class Category>
4283  struct traits_check { };
4284 
4285 }
4286 
4287 
4288 namespace swig {
4289  /*
4290  Traits that provides the from method
4291  */
4292  template <class Type> struct traits_from_ptr {
4293  static PyObject *from(Type *val, int owner = 0) {
4294  return SWIG_InternalNewPointerObj(val, type_info<Type>(), owner);
4295  }
4296  };
4297 
4298  template <class Type> struct traits_from {
4299  static PyObject *from(const Type& val) {
4300  return traits_from_ptr<Type>::from(new Type(val), 1);
4301  }
4302  };
4303 
4304  template <class Type> struct traits_from<Type *> {
4305  static PyObject *from(Type* val) {
4306  return traits_from_ptr<Type>::from(val, 0);
4307  }
4308  };
4309 
4310  template <class Type> struct traits_from<const Type *> {
4311  static PyObject *from(const Type* val) {
4312  return traits_from_ptr<Type>::from(const_cast<Type*>(val), 0);
4313  }
4314  };
4315 
4316 
4317  template <class Type>
4318  inline PyObject *from(const Type& val) {
4319  return traits_from<Type>::from(val);
4320  }
4321 
4322  template <class Type>
4323  inline PyObject *from_ptr(Type* val, int owner) {
4324  return traits_from_ptr<Type>::from(val, owner);
4325  }
4326 
4327  /*
4328  Traits that provides the asval/as/check method
4329  */
4330  template <class Type>
4331  struct traits_asptr {
4332  static int asptr(PyObject *obj, Type **val) {
4333  Type *p;
4334  int res = SWIG_ConvertPtr(obj, (void**)&p, type_info<Type>(), 0);
4335  if (SWIG_IsOK(res)) {
4336  if (val) *val = p;
4337  }
4338  return res;
4339  }
4340  };
4341 
4342  template <class Type>
4343  inline int asptr(PyObject *obj, Type **vptr) {
4344  return traits_asptr<Type>::asptr(obj, vptr);
4345  }
4346 
4347  template <class Type>
4348  struct traits_asval {
4349  static int asval(PyObject *obj, Type *val) {
4350  if (val) {
4351  Type *p = 0;
4352  int res = traits_asptr<Type>::asptr(obj, &p);
4353  if (!SWIG_IsOK(res)) return res;
4354  if (p) {
4355  typedef typename noconst_traits<Type>::noconst_type noconst_type;
4356  *(const_cast<noconst_type*>(val)) = *p;
4357  if (SWIG_IsNewObj(res)){
4358  delete p;
4359  res = SWIG_DelNewMask(res);
4360  }
4361  return res;
4362  } else {
4363  return SWIG_ERROR;
4364  }
4365  } else {
4366  return traits_asptr<Type>::asptr(obj, (Type **)(0));
4367  }
4368  }
4369  };
4370 
4371  template <class Type> struct traits_asval<Type*> {
4372  static int asval(PyObject *obj, Type **val) {
4373  if (val) {
4374  typedef typename noconst_traits<Type>::noconst_type noconst_type;
4375  noconst_type *p = 0;
4376  int res = traits_asptr<noconst_type>::asptr(obj, &p);
4377  if (SWIG_IsOK(res)) {
4378  *(const_cast<noconst_type**>(val)) = p;
4379  }
4380  return res;
4381  } else {
4382  return traits_asptr<Type>::asptr(obj, (Type **)(0));
4383  }
4384  }
4385  };
4386 
4387  template <class Type>
4388  inline int asval(PyObject *obj, Type *val) {
4389  return traits_asval<Type>::asval(obj, val);
4390  }
4391 
4392  template <class Type>
4393  struct traits_as<Type, value_category> {
4394  static Type as(PyObject *obj, bool throw_error) {
4395  Type v;
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>());
4400  }
4401  if (throw_error) throw std::invalid_argument("bad type");
4402  }
4403  return v;
4404  }
4405  };
4406 
4407  template <class Type>
4408  struct traits_as<Type, pointer_category> {
4409  static Type as(PyObject *obj, bool throw_error) {
4410  Type *v = 0;
4411  int res = (obj ? traits_asptr<Type>::asptr(obj, &v) : SWIG_ERROR);
4412  if (SWIG_IsOK(res) && v) {
4413  if (SWIG_IsNewObj(res)) {
4414  Type r(*v);
4415  delete v;
4416  return r;
4417  } else {
4418  return *v;
4419  }
4420  } else {
4421  // Uninitialized return value, no Type() constructor required.
4422  static Type *v_def = (Type*) malloc(sizeof(Type));
4423  if (!PyErr_Occurred()) {
4424  SWIG_Error(SWIG_TypeError, swig::type_name<Type>());
4425  }
4426  if (throw_error) throw std::invalid_argument("bad type");
4427  memset(v_def,0,sizeof(Type));
4428  return *v_def;
4429  }
4430  }
4431  };
4432 
4433  template <class Type>
4434  struct traits_as<Type*, pointer_category> {
4435  static Type* as(PyObject *obj, bool throw_error) {
4436  Type *v = 0;
4437  int res = (obj ? traits_asptr<Type>::asptr(obj, &v) : SWIG_ERROR);
4438  if (SWIG_IsOK(res)) {
4439  return v;
4440  } else {
4441  if (!PyErr_Occurred()) {
4442  SWIG_Error(SWIG_TypeError, swig::type_name<Type>());
4443  }
4444  if (throw_error) throw std::invalid_argument("bad type");
4445  return 0;
4446  }
4447  }
4448  };
4449 
4450  template <class Type>
4451  inline Type as(PyObject *obj, bool te = false) {
4453  }
4454 
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;
4460  }
4461  };
4462 
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;
4468  }
4469  };
4470 
4471  template <class Type>
4472  inline bool check(PyObject *obj) {
4474  }
4475 }
4476 
4477 
4478 #include <functional>
4479 
4480 namespace std {
4481  template <>
4482  struct less <PyObject *>: public binary_function<PyObject *, PyObject *, bool>
4483  {
4484  bool
4485  operator()(PyObject * v, PyObject *w) const
4486  {
4487  bool res;
4488  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
4489  res = PyObject_RichCompareBool(v, w, Py_LT) ? true : false;
4490  /* This may fall into a case of inconsistent
4491  eg. ObjA > ObjX > ObjB
4492  but ObjA < ObjB
4493  */
4494  if( PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_TypeError) )
4495  {
4496  /* Objects can't be compared, this mostly occurred in Python 3.0 */
4497  /* Compare their ptr directly for a workaround */
4498  res = (v < w);
4499  PyErr_Clear();
4500  }
4501  SWIG_PYTHON_THREAD_END_BLOCK;
4502  return res;
4503  }
4504  };
4505 
4506  template <>
4507  struct less <swig::SwigPtr_PyObject>: public binary_function<swig::SwigPtr_PyObject, swig::SwigPtr_PyObject, bool>
4508  {
4509  bool
4510  operator()(const swig::SwigPtr_PyObject& v, const swig::SwigPtr_PyObject& w) const
4511  {
4512  return std::less<PyObject *>()(v, w);
4513  }
4514  };
4515 
4516  template <>
4517  struct less <swig::SwigVar_PyObject>: public binary_function<swig::SwigVar_PyObject, swig::SwigVar_PyObject, bool>
4518  {
4519  bool
4520  operator()(const swig::SwigVar_PyObject& v, const swig::SwigVar_PyObject& w) const
4521  {
4522  return std::less<PyObject *>()(v, w);
4523  }
4524  };
4525 
4526 }
4527 
4528 namespace swig {
4529  template <> struct traits<PyObject *> {
4530  typedef value_category category;
4531  static const char* type_name() { return "PyObject *"; }
4532  };
4533 
4534  template <> struct traits_asval<PyObject * > {
4535  typedef PyObject * value_type;
4536  static int asval(PyObject *obj, value_type *val) {
4537  if (val) *val = obj;
4538  return SWIG_OK;
4539  }
4540  };
4541 
4542  template <>
4543  struct traits_check<PyObject *, value_category> {
4544  static bool check(PyObject *) {
4545  return true;
4546  }
4547  };
4548 
4549  template <> struct traits_from<PyObject *> {
4550  typedef PyObject * value_type;
4551  static PyObject *from(const value_type& val) {
4552  Py_XINCREF(val);
4553  return val;
4554  }
4555  };
4556 
4557 }
4558 
4559 namespace swig {
4560  template <class Difference>
4561  inline size_t
4562  check_index(Difference i, size_t size, bool insert = false) {
4563  if ( i < 0 ) {
4564  if ((size_t) (-i) <= size)
4565  return (size_t) (i + size);
4566  } else if ( (size_t) i < size ) {
4567  return (size_t) i;
4568  } else if (insert && ((size_t) i == size)) {
4569  return size;
4570  }
4571  throw std::out_of_range("index out of range");
4572  }
4573 
4574  template <class Difference>
4575  void
4576  slice_adjust(Difference i, Difference j, Py_ssize_t step, size_t size, Difference &ii, Difference &jj, bool insert = false) {
4577  if (step == 0) {
4578  throw std::invalid_argument("slice step cannot be zero");
4579  } else if (step > 0) {
4580  // Required range: 0 <= i < size, 0 <= j < size
4581  if (i < 0) {
4582  ii = 0;
4583  } else if (i < (Difference)size) {
4584  ii = i;
4585  } else if (insert && (i >= (Difference)size)) {
4586  ii = (Difference)size;
4587  }
4588  if ( j < 0 ) {
4589  jj = 0;
4590  } else {
4591  jj = (j < (Difference)size) ? j : (Difference)size;
4592  }
4593  } else {
4594  // Required range: -1 <= i < size-1, -1 <= j < size-1
4595  if (i < -1) {
4596  ii = -1;
4597  } else if (i < (Difference) size) {
4598  ii = i;
4599  } else if (i >= (Difference)(size-1)) {
4600  ii = (Difference)(size-1);
4601  }
4602  if (j < -1) {
4603  jj = -1;
4604  } else {
4605  jj = (j < (Difference)size ) ? j : (Difference)(size-1);
4606  }
4607  }
4608  }
4609 
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()));
4615  return pos;
4616  }
4617 
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()));
4623  return pos;
4624  }
4625 
4626  template <class Sequence, class Difference>
4627  inline Sequence*
4628  getslice(const Sequence* self, Difference i, Difference j, Py_ssize_t step) {
4629  typename Sequence::size_type size = self->size();
4630  Difference ii = 0;
4631  Difference jj = 0;
4632  swig::slice_adjust(i, j, step, size, ii, jj);
4633 
4634  if (step > 0) {
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);
4639  if (step == 1) {
4640  return new Sequence(sb, se);
4641  } else {
4642  Sequence *sequence = new Sequence();
4643  typename Sequence::const_iterator it = sb;
4644  while (it!=se) {
4645  sequence->push_back(*it);
4646  for (Py_ssize_t c=0; c<step && it!=se; ++c)
4647  it++;
4648  }
4649  return sequence;
4650  }
4651  } else {
4652  Sequence *sequence = new Sequence();
4653  if (ii > jj) {
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;
4659  while (it!=se) {
4660  sequence->push_back(*it);
4661  for (Py_ssize_t c=0; c<-step && it!=se; ++c)
4662  it++;
4663  }
4664  }
4665  return sequence;
4666  }
4667  }
4668 
4669  template <class Sequence, class Difference, class InputSeq>
4670  inline void
4671  setslice(Sequence* self, Difference i, Difference j, Py_ssize_t step, const InputSeq& is = InputSeq()) {
4672  typename Sequence::size_type size = self->size();
4673  Difference ii = 0;
4674  Difference jj = 0;
4675  swig::slice_adjust(i, j, step, size, ii, jj, true);
4676  if (step > 0) {
4677  if (jj < ii)
4678  jj = ii;
4679  if (step == 1) {
4680  size_t ssize = jj - ii;
4681  if (ssize <= is.size()) {
4682  // expanding/staying the same 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());
4688  } else {
4689  // shrinking
4690  typename Sequence::iterator sb = self->begin();
4691  typename Sequence::iterator se = self->begin();
4692  std::advance(sb,ii);
4693  std::advance(se,jj);
4694  self->erase(sb,se);
4695  sb = self->begin();
4696  std::advance(sb,ii);
4697  self->insert(sb, is.begin(), is.end());
4698  }
4699  } else {
4700  size_t replacecount = (jj - ii + step - 1) / step;
4701  if (is.size() != replacecount) {
4702  char msg[1024];
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);
4705  }
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) {
4710  *it++ = *isit++;
4711  for (Py_ssize_t c=0; c<(step-1) && it != self->end(); ++c)
4712  it++;
4713  }
4714  }
4715  } else {
4716  if (jj > ii)
4717  jj = ii;
4718  size_t replacecount = (ii - jj - step - 1) / -step;
4719  if (is.size() != replacecount) {
4720  char msg[1024];
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);
4723  }
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) {
4728  *it++ = *isit++;
4729  for (Py_ssize_t c=0; c<(-step-1) && it != self->rend(); ++c)
4730  it++;
4731  }
4732  }
4733  }
4734 
4735  template <class Sequence, class Difference>
4736  inline void
4737  delslice(Sequence* self, Difference i, Difference j, Py_ssize_t step) {
4738  typename Sequence::size_type size = self->size();
4739  Difference ii = 0;
4740  Difference jj = 0;
4741  swig::slice_adjust(i, j, step, size, ii, jj, true);
4742  if (step > 0) {
4743  if (jj > ii) {
4744  typename Sequence::iterator sb = self->begin();
4745  std::advance(sb,ii);
4746  if (step == 1) {
4747  typename Sequence::iterator se = self->begin();
4748  std::advance(se,jj);
4749  self->erase(sb,se);
4750  } else {
4751  typename Sequence::iterator it = sb;
4752  size_t delcount = (jj - ii + step - 1) / step;
4753  while (delcount) {
4754  it = self->erase(it);
4755  for (Py_ssize_t c=0; c<(step-1) && it != self->end(); ++c)
4756  it++;
4757  delcount--;
4758  }
4759  }
4760  }
4761  } else {
4762  if (ii > jj) {
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;
4767  while (delcount) {
4768  it = typename Sequence::reverse_iterator(self->erase((++it).base()));
4769  for (Py_ssize_t c=0; c<(-step-1) && it != self->rend(); ++c)
4770  it++;
4771  delcount--;
4772  }
4773  }
4774  }
4775  }
4776 }
4777 
4778 
4779 #if defined(__SUNPRO_CC) && defined(_RWSTD_VER)
4780 # if !defined(SWIG_NO_STD_NOITERATOR_TRAITS_STL)
4781 # define SWIG_STD_NOITERATOR_TRAITS_STL
4782 # endif
4783 #endif
4784 
4785 #if !defined(SWIG_STD_NOITERATOR_TRAITS_STL)
4786 #include <iterator>
4787 #else
4788 namespace std {
4789  template <class Iterator>
4790  struct iterator_traits {
4791  typedef ptrdiff_t difference_type;
4792  typedef typename Iterator::value_type value_type;
4793  };
4794 
4795  template <class Iterator, class Category,class T, class Reference, class Pointer, 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;
4799  };
4800 
4801  template <class T>
4802  struct iterator_traits<T*> {
4803  typedef T value_type;
4804  typedef ptrdiff_t difference_type;
4805  };
4806 
4807  template<typename _InputIterator>
4808  inline typename iterator_traits<_InputIterator>::difference_type
4809  distance(_InputIterator __first, _InputIterator __last)
4810  {
4811  typename iterator_traits<_InputIterator>::difference_type __n = 0;
4812  while (__first != __last) {
4813  ++__first; ++__n;
4814  }
4815  return __n;
4816  }
4817 }
4818 #endif
4819 
4820 
4821 namespace swig {
4822  template<typename OutIterator>
4824  {
4825  public:
4826  typedef OutIterator out_iterator;
4827  typedef typename std::iterator_traits<out_iterator>::value_type value_type;
4829 
4830  SwigPyIterator_T(out_iterator curr, PyObject *seq)
4831  : SwigPyIterator(seq), current(curr)
4832  {
4833  }
4834 
4835  const out_iterator& get_current() const
4836  {
4837  return current;
4838  }
4839 
4840 
4841  bool equal (const SwigPyIterator &iter) const
4842  {
4843  const self_type *iters = dynamic_cast<const self_type *>(&iter);
4844  if (iters) {
4845  return (current == iters->get_current());
4846  } else {
4847  throw std::invalid_argument("bad iterator type");
4848  }
4849  }
4850 
4851  ptrdiff_t distance(const SwigPyIterator &iter) const
4852  {
4853  const self_type *iters = dynamic_cast<const self_type *>(&iter);
4854  if (iters) {
4855  return std::distance(current, iters->get_current());
4856  } else {
4857  throw std::invalid_argument("bad iterator type");
4858  }
4859  }
4860 
4861  protected:
4862  out_iterator current;
4863  };
4864 
4865  template <class ValueType>
4866  struct from_oper
4867  {
4868  typedef const ValueType& argument_type;
4869  typedef PyObject *result_type;
4870  result_type operator()(argument_type v) const
4871  {
4872  return swig::from(v);
4873  }
4874  };
4875 
4876  template<typename OutIterator,
4877  typename ValueType = typename std::iterator_traits<OutIterator>::value_type,
4878  typename FromOper = from_oper<ValueType> >
4879  class SwigPyIteratorOpen_T : public SwigPyIterator_T<OutIterator>
4880  {
4881  public:
4882  FromOper from;
4883  typedef OutIterator out_iterator;
4884  typedef ValueType value_type;
4887 
4888  SwigPyIteratorOpen_T(out_iterator curr, PyObject *seq)
4889  : SwigPyIterator_T<OutIterator>(curr, seq)
4890  {
4891  }
4892 
4893  PyObject *value() const {
4894  return from(static_cast<const value_type&>(*(base::current)));
4895  }
4896 
4897  SwigPyIterator *copy() const
4898  {
4899  return new self_type(*this);
4900  }
4901 
4902  SwigPyIterator *incr(size_t n = 1)
4903  {
4904  while (n--) {
4905  ++base::current;
4906  }
4907  return this;
4908  }
4909 
4910  SwigPyIterator *decr(size_t n = 1)
4911  {
4912  while (n--) {
4913  --base::current;
4914  }
4915  return this;
4916  }
4917  };
4918 
4919  template<typename OutIterator,
4920  typename ValueType = typename std::iterator_traits<OutIterator>::value_type,
4921  typename FromOper = from_oper<ValueType> >
4922  class SwigPyIteratorClosed_T : public SwigPyIterator_T<OutIterator>
4923  {
4924  public:
4925  FromOper from;
4926  typedef OutIterator out_iterator;
4927  typedef ValueType value_type;
4930 
4931  SwigPyIteratorClosed_T(out_iterator curr, out_iterator first, out_iterator last, PyObject *seq)
4932  : SwigPyIterator_T<OutIterator>(curr, seq), begin(first), end(last)
4933  {
4934  }
4935 
4936  PyObject *value() const {
4937  if (base::current == end) {
4938  throw stop_iteration();
4939  } else {
4940  return from(static_cast<const value_type&>(*(base::current)));
4941  }
4942  }
4943 
4944  SwigPyIterator *copy() const
4945  {
4946  return new self_type(*this);
4947  }
4948 
4949  SwigPyIterator *incr(size_t n = 1)
4950  {
4951  while (n--) {
4952  if (base::current == end) {
4953  throw stop_iteration();
4954  } else {
4955  ++base::current;
4956  }
4957  }
4958  return this;
4959  }
4960 
4961  SwigPyIterator *decr(size_t n = 1)
4962  {
4963  while (n--) {
4964  if (base::current == begin) {
4965  throw stop_iteration();
4966  } else {
4967  --base::current;
4968  }
4969  }
4970  return this;
4971  }
4972 
4973  private:
4974  out_iterator begin;
4975  out_iterator end;
4976  };
4977 
4978  template<typename OutIter>
4979  inline SwigPyIterator*
4980  make_output_iterator(const OutIter& current, const OutIter& begin,const OutIter& end, PyObject *seq = 0)
4981  {
4982  return new SwigPyIteratorClosed_T<OutIter>(current, begin, end, seq);
4983  }
4984 
4985  template<typename OutIter>
4986  inline SwigPyIterator*
4987  make_output_iterator(const OutIter& current, PyObject *seq = 0)
4988  {
4989  return new SwigPyIteratorOpen_T<OutIter>(current, seq);
4990  }
4991 
4992 }
4993 
4994 
4995 namespace swig
4996 {
4997  template <class T>
4999  {
5000  SwigPySequence_Ref(PyObject* seq, int index)
5001  : _seq(seq), _index(index)
5002  {
5003  }
5004 
5005  operator T () const
5006  {
5007  swig::SwigVar_PyObject item = PySequence_GetItem(_seq, _index);
5008  try {
5009  return swig::as<T>(item, true);
5010  } catch (std::exception& e) {
5011  char msg[1024];
5012  sprintf(msg, "in sequence element %d ", _index);
5013  if (!PyErr_Occurred()) {
5014  ::SWIG_Error(SWIG_TypeError, swig::type_name<T>());
5015  }
5016  SWIG_Python_AddErrorMsg(msg);
5017  SWIG_Python_AddErrorMsg(e.what());
5018  throw;
5019  }
5020  }
5021 
5022  SwigPySequence_Ref& operator=(const T& v)
5023  {
5024  PySequence_SetItem(_seq, _index, swig::from<T>(v));
5025  return *this;
5026  }
5027 
5028  private:
5029  PyObject* _seq;
5030  int _index;
5031  };
5032 
5033  template <class T>
5035  {
5036  SwigPySequence_ArrowProxy(const T& x): m_value(x) {}
5037  const T* operator->() const { return &m_value; }
5038  operator const T*() const { return &m_value; }
5039  T m_value;
5040  };
5041 
5042  template <class T, class Reference >
5044  {
5046 
5047  typedef std::random_access_iterator_tag iterator_category;
5048  typedef Reference reference;
5049  typedef T value_type;
5050  typedef T* pointer;
5051  typedef int difference_type;
5052 
5054  {
5055  }
5056 
5057  SwigPySequence_InputIterator(PyObject* seq, int index)
5058  : _seq(seq), _index(index)
5059  {
5060  }
5061 
5062  reference operator*() const
5063  {
5064  return reference(_seq, _index);
5065  }
5066 
5068  operator->() const {
5069  return SwigPySequence_ArrowProxy<T>(operator*());
5070  }
5071 
5072  bool operator==(const self& ri) const
5073  {
5074  return (_index == ri._index) && (_seq == ri._seq);
5075  }
5076 
5077  bool operator!=(const self& ri) const
5078  {
5079  return !(operator==(ri));
5080  }
5081 
5082  self& operator ++ ()
5083  {
5084  ++_index;
5085  return *this;
5086  }
5087 
5088  self& operator -- ()
5089  {
5090  --_index;
5091  return *this;
5092  }
5093 
5094  self& operator += (difference_type n)
5095  {
5096  _index += n;
5097  return *this;
5098  }
5099 
5100  self operator +(difference_type n) const
5101  {
5102  return self(_seq, _index + n);
5103  }
5104 
5105  self& operator -= (difference_type n)
5106  {
5107  _index -= n;
5108  return *this;
5109  }
5110 
5111  self operator -(difference_type n) const
5112  {
5113  return self(_seq, _index - n);
5114  }
5115 
5116  difference_type operator - (const self& ri) const
5117  {
5118  return _index - ri._index;
5119  }
5120 
5121  bool operator < (const self& ri) const
5122  {
5123  return _index < ri._index;
5124  }
5125 
5126  reference
5127  operator[](difference_type n) const
5128  {
5129  return reference(_seq, _index + n);
5130  }
5131 
5132  private:
5133  PyObject* _seq;
5134  difference_type _index;
5135  };
5136 
5137  template <class T>
5139  {
5141  typedef const SwigPySequence_Ref<T> const_reference;
5142  typedef T value_type;
5143  typedef T* pointer;
5144  typedef int difference_type;
5145  typedef int size_type;
5146  typedef const pointer const_pointer;
5149 
5150  SwigPySequence_Cont(PyObject* seq) : _seq(0)
5151  {
5152  if (!PySequence_Check(seq)) {
5153  throw std::invalid_argument("a sequence is expected");
5154  }
5155  _seq = seq;
5156  Py_INCREF(_seq);
5157  }
5158 
5160  {
5161  Py_XDECREF(_seq);
5162  }
5163 
5164  size_type size() const
5165  {
5166  return static_cast<size_type>(PySequence_Size(_seq));
5167  }
5168 
5169  bool empty() const
5170  {
5171  return size() == 0;
5172  }
5173 
5174  iterator begin()
5175  {
5176  return iterator(_seq, 0);
5177  }
5178 
5179  const_iterator begin() const
5180  {
5181  return const_iterator(_seq, 0);
5182  }
5183 
5184  iterator end()
5185  {
5186  return iterator(_seq, size());
5187  }
5188 
5189  const_iterator end() const
5190  {
5191  return const_iterator(_seq, size());
5192  }
5193 
5194  reference operator[](difference_type n)
5195  {
5196  return reference(_seq, n);
5197  }
5198 
5199  const_reference operator[](difference_type n) const
5200  {
5201  return const_reference(_seq, n);
5202  }
5203 
5204  bool check(bool set_err = true) const
5205  {
5206  int s = size();
5207  for (int i = 0; i < s; ++i) {
5208  swig::SwigVar_PyObject item = PySequence_GetItem(_seq, i);
5209  if (!swig::check<value_type>(item)) {
5210  if (set_err) {
5211  char msg[1024];
5212  sprintf(msg, "in sequence element %d", i);
5213  SWIG_Error(SWIG_RuntimeError, msg);
5214  }
5215  return false;
5216  }
5217  }
5218  return true;
5219  }
5220 
5221  private:
5222  PyObject* _seq;
5223  };
5224 
5225 }
5226 
5227 
5228 SWIGINTERN swig_type_info*
5229 SWIG_pchar_descriptor(void)
5230 {
5231  static int init = 0;
5232  static swig_type_info* info = 0;
5233  if (!init) {
5234  info = SWIG_TypeQuery("_p_char");
5235  init = 1;
5236  }
5237  return info;
5238 }
5239 
5240 
5241 SWIGINTERN int
5242 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
5243 {
5244 #if PY_VERSION_HEX>=0x03000000
5245  if (PyUnicode_Check(obj))
5246 #else
5247  if (PyString_Check(obj))
5248 #endif
5249  {
5250  char *cstr; Py_ssize_t len;
5251 #if PY_VERSION_HEX>=0x03000000
5252  if (!alloc && cptr) {
5253  /* We can't allow converting without allocation, since the internal
5254  representation of string in Python 3 is UCS-2/UCS-4 but we require
5255  a UTF-8 representation.
5256  TODO(bhy) More detailed explanation */
5257  return SWIG_RuntimeError;
5258  }
5259  obj = PyUnicode_AsUTF8String(obj);
5260  PyBytes_AsStringAndSize(obj, &cstr, &len);
5261  if(alloc) *alloc = SWIG_NEWOBJ;
5262 #else
5263  PyString_AsStringAndSize(obj, &cstr, &len);
5264 #endif
5265  if (cptr) {
5266  if (alloc) {
5267  /*
5268  In python the user should not be able to modify the inner
5269  string representation. To warranty that, if you define
5270  SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
5271  buffer is always returned.
5272 
5273  The default behavior is just to return the pointer value,
5274  so, be careful.
5275  */
5276 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
5277  if (*alloc != SWIG_OLDOBJ)
5278 #else
5279  if (*alloc == SWIG_NEWOBJ)
5280 #endif
5281  {
5282  *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
5283  *alloc = SWIG_NEWOBJ;
5284  }
5285  else {
5286  *cptr = cstr;
5287  *alloc = SWIG_OLDOBJ;
5288  }
5289  } else {
5290  #if PY_VERSION_HEX>=0x03000000
5291  assert(0); /* Should never reach here in Python 3 */
5292  #endif
5293  *cptr = SWIG_Python_str_AsChar(obj);
5294  }
5295  }
5296  if (psize) *psize = len + 1;
5297 #if PY_VERSION_HEX>=0x03000000
5298  Py_XDECREF(obj);
5299 #endif
5300  return SWIG_OK;
5301  } else {
5302  swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
5303  if (pchar_descriptor) {
5304  void* vptr = 0;
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;
5309  return SWIG_OK;
5310  }
5311  }
5312  }
5313  return SWIG_TypeError;
5314 }
5315 
5316 
5317 SWIGINTERN int
5318 SWIG_AsPtr_std_string (PyObject * obj, std::string **val)
5319 {
5320  char* buf = 0 ; size_t size = 0; int alloc = SWIG_OLDOBJ;
5321  if (SWIG_IsOK((SWIG_AsCharPtrAndSize(obj, &buf, &size, &alloc)))) {
5322  if (buf) {
5323  if (val) *val = new std::string(buf, size - 1);
5324  if (alloc == SWIG_NEWOBJ) delete[] buf;
5325  return SWIG_NEWOBJ;
5326  } else {
5327  if (val) *val = 0;
5328  return SWIG_OLDOBJ;
5329  }
5330  } else {
5331  static int init = 0;
5332  static swig_type_info* descriptor = 0;
5333  if (!init) {
5334  descriptor = SWIG_TypeQuery("std::string" " *");
5335  init = 1;
5336  }
5337  if (descriptor) {
5338  std::string *vptr;
5339  int res = SWIG_ConvertPtr(obj, (void**)&vptr, descriptor, 0);
5340  if (SWIG_IsOK(res) && val) *val = vptr;
5341  return res;
5342  }
5343  }
5344  return SWIG_ERROR;
5345 }
5346 
5347 
5348 SWIGINTERN int
5349 SWIG_AsVal_std_string (PyObject * obj, std::string *val)
5350 {
5351  std::string* v = (std::string *) 0;
5352  int res = SWIG_AsPtr_std_string (obj, &v);
5353  if (!SWIG_IsOK(res)) return res;
5354  if (v) {
5355  if (val) *val = *v;
5356  if (SWIG_IsNewObj(res)) {
5357  delete v;
5358  res = SWIG_DelNewMask(res);
5359  }
5360  return res;
5361  }
5362  return SWIG_ERROR;
5363 }
5364 
5365 
5366 SWIGINTERNINLINE PyObject *
5367 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
5368 {
5369  if (carray) {
5370  if (size > INT_MAX) {
5371  swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
5372  return pchar_descriptor ?
5373  SWIG_InternalNewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : SWIG_Py_Void();
5374  } else {
5375 #if PY_VERSION_HEX >= 0x03000000
5376 #if PY_VERSION_HEX >= 0x03010000
5377  return PyUnicode_DecodeUTF8(carray, static_cast< int >(size), "surrogateescape");
5378 #else
5379  return PyUnicode_FromStringAndSize(carray, static_cast< int >(size));
5380 #endif
5381 #else
5382  return PyString_FromStringAndSize(carray, static_cast< int >(size));
5383 #endif
5384  }
5385  } else {
5386  return SWIG_Py_Void();
5387  }
5388 }
5389 
5390 
5391 SWIGINTERNINLINE PyObject *
5392 SWIG_From_std_string (const std::string& s)
5393 {
5394  return SWIG_FromCharPtrAndSize(s.data(), s.size());
5395 }
5396 
5397 
5398 namespace swig {
5399  template <> struct traits<std::string > {
5400  typedef value_category category;
5401  static const char* type_name() { return"std::string"; }
5402  };
5403  template <> struct traits_asval<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);
5407  }
5408  };
5409  template <> struct traits_from<std::string > {
5410  typedef std::string value_type;
5411  static PyObject *from(const value_type& val) {
5412  return SWIG_From_std_string (val);
5413  }
5414  };
5415 }
5416 
5417 
5418 namespace swig {
5419  template <class SwigPySeq, class Seq>
5420  inline void
5421  assign(const SwigPySeq& swigpyseq, Seq* seq) {
5422  // seq->assign(swigpyseq.begin(), swigpyseq.end()); // not used as not always implemented
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));
5427  }
5428  }
5429 
5430  template <class Seq, class T = typename Seq::value_type >
5432  typedef Seq sequence;
5433  typedef T value_type;
5434 
5435  static int asptr(PyObject *obj, sequence **seq) {
5436  if (obj == Py_None || SWIG_Python_GetSwigThis(obj)) {
5437  sequence *p;
5438  if (::SWIG_ConvertPtr(obj,(void**)&p,
5439  swig::type_info<sequence>(),0) == SWIG_OK) {
5440  if (seq) *seq = p;
5441  return SWIG_OLDOBJ;
5442  }
5443  } else if (PySequence_Check(obj)) {
5444  try {
5445  SwigPySequence_Cont<value_type> swigpyseq(obj);
5446  if (seq) {
5447  sequence *pseq = new sequence();
5448  assign(swigpyseq, pseq);
5449  *seq = pseq;
5450  return SWIG_NEWOBJ;
5451  } else {
5452  return swigpyseq.check() ? SWIG_OK : SWIG_ERROR;
5453  }
5454  } catch (std::exception& e) {
5455  if (seq) {
5456  if (!PyErr_Occurred()) {
5457  PyErr_SetString(PyExc_TypeError, e.what());
5458  }
5459  }
5460  return SWIG_ERROR;
5461  }
5462  }
5463  return SWIG_ERROR;
5464  }
5465  };
5466 
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;
5473 
5474  static PyObject *from(const sequence& seq) {
5475 #ifdef SWIG_PYTHON_EXTRA_NATIVE_CONTAINERS
5476  swig_type_info *desc = swig::type_info<sequence>();
5477  if (desc && desc->clientdata) {
5478  return SWIG_NewPointerObj(new sequence(seq), desc, SWIG_POINTER_OWN);
5479  }
5480 #endif
5481  size_type size = seq.size();
5482  if (size <= (size_type)INT_MAX) {
5483  PyObject *obj = PyTuple_New((int)size);
5484  int i = 0;
5485  for (const_iterator it = seq.begin();
5486  it != seq.end(); ++it, ++i) {
5487  PyTuple_SetItem(obj,i,swig::from<value_type>(*it));
5488  }
5489  return obj;
5490  } else {
5491  PyErr_SetString(PyExc_OverflowError,"sequence size not valid in python");
5492  return NULL;
5493  }
5494  }
5495  };
5496 }
5497 
5498 
5499  namespace swig {
5500  template <class T>
5501  struct traits_asptr<std::vector<T> > {
5502  static int asptr(PyObject *obj, std::vector<T> **vec) {
5503  return traits_asptr_stdseq<std::vector<T> >::asptr(obj, vec);
5504  }
5505  };
5506 
5507  template <class T>
5508  struct traits_from<std::vector<T> > {
5509  static PyObject *from(const std::vector<T>& vec) {
5510  return traits_from_stdseq<std::vector<T> >::from(vec);
5511  }
5512  };
5513  }
5514 
5515 
5516  namespace swig {
5517  template <> struct traits<std::vector<std::string, std::allocator< std::string > > > {
5518  typedef pointer_category category;
5519  static const char* type_name() {
5520  return "std::vector<" "std::string" "," "std::allocator< std::string >" " >";
5521  }
5522  };
5523  }
5524 
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);
5527  }
5528 SWIGINTERN bool std_vector_Sl_std_string_Sg____nonzero__(std::vector< std::string > const *self){
5529  return !(self->empty());
5530  }
5531 SWIGINTERN bool std_vector_Sl_std_string_Sg____bool__(std::vector< std::string > const *self){
5532  return !(self->empty());
5533  }
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();
5536  }
5537 
5538 SWIGINTERNINLINE PyObject*
5539 SWIG_From_unsigned_SS_long (unsigned long value)
5540 {
5541  return (value > LONG_MAX) ?
5542  PyLong_FromUnsignedLong(value) : PyLong_FromLong(static_cast< long >(value));
5543 }
5544 
5545 
5546 SWIGINTERNINLINE PyObject *
5547 SWIG_From_size_t (size_t value)
5548 {
5549  return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
5550 }
5551 
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();
5556  self->pop_back();
5557  return x;
5558  }
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);
5561  }
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);
5564  }
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);
5567  }
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));
5570  }
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.");
5575  return NULL;
5576  }
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);
5581  }
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.");
5586  return;
5587  }
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);
5592  }
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.");
5597  return;
5598  }
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);
5603  }
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.");
5608  return;
5609  }
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);
5614  }
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));
5617  }
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;
5620  }
5621 SWIGINTERN void std_vector_Sl_std_string_Sg__append(std::vector< std::string > *self,std::vector< std::string >::value_type const &x){
5622  self->push_back(x);
5623  }
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); }
5628 
5629 #include <limits.h>
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)
5635 # endif
5636 #endif
5637 
5638 
5639 SWIGINTERN int
5640 SWIG_AsVal_int (PyObject * obj, int *val)
5641 {
5642  long v;
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;
5647  } else {
5648  if (val) *val = static_cast< int >(v);
5649  }
5650  }
5651  return res;
5652 }
5653 
5654 
5655 namespace swig {
5656  template <> struct traits<int > {
5657  typedef value_category category;
5658  static const char* type_name() { return"int"; }
5659  };
5660  template <> struct traits_asval<int > {
5661  typedef int value_type;
5662  static int asval(PyObject *obj, value_type *val) {
5663  return SWIG_AsVal_int (obj, val);
5664  }
5665  };
5666  template <> struct traits_from<int > {
5667  typedef int value_type;
5668  static PyObject *from(const value_type& val) {
5669  return SWIG_From_int (val);
5670  }
5671  };
5672 }
5673 
5674 
5675  namespace swig {
5676  template <> struct traits<std::vector<int, std::allocator< int > > > {
5677  typedef pointer_category category;
5678  static const char* type_name() {
5679  return "std::vector<" "int" "," "std::allocator< int >" " >";
5680  }
5681  };
5682  }
5683 
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);
5686  }
5687 SWIGINTERN bool std_vector_Sl_int_Sg____nonzero__(std::vector< int > const *self){
5688  return !(self->empty());
5689  }
5690 SWIGINTERN bool std_vector_Sl_int_Sg____bool__(std::vector< int > const *self){
5691  return !(self->empty());
5692  }
5693 SWIGINTERN std::vector< int >::size_type std_vector_Sl_int_Sg____len__(std::vector< int > const *self){
5694  return self->size();
5695  }
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();
5700  self->pop_back();
5701  return x;
5702  }
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);
5705  }
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);
5708  }
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);
5711  }
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));
5714  }
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.");
5719  return NULL;
5720  }
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);
5725  }
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.");
5730  return;
5731  }
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);
5736  }
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.");
5741  return;
5742  }
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);
5747  }
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.");
5752  return;
5753  }
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);
5758  }
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));
5761  }
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;
5764  }
5765 SWIGINTERN void std_vector_Sl_int_Sg__append(std::vector< int > *self,std::vector< int >::value_type const &x){
5766  self->push_back(x);
5767  }
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); }
5772 
5773 namespace swig {
5774  template <> struct traits<long > {
5775  typedef value_category category;
5776  static const char* type_name() { return"long"; }
5777  };
5778  template <> struct traits_asval<long > {
5779  typedef long value_type;
5780  static int asval(PyObject *obj, value_type *val) {
5781  return SWIG_AsVal_long (obj, val);
5782  }
5783  };
5784  template <> struct traits_from<long > {
5785  typedef long value_type;
5786  static PyObject *from(const value_type& val) {
5787  return SWIG_From_long (val);
5788  }
5789  };
5790 }
5791 
5792 
5793  namespace swig {
5794  template <> struct traits<std::vector<long, std::allocator< long > > > {
5795  typedef pointer_category category;
5796  static const char* type_name() {
5797  return "std::vector<" "long" "," "std::allocator< long >" " >";
5798  }
5799  };
5800  }
5801 
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);
5804  }
5805 SWIGINTERN bool std_vector_Sl_long_Sg____nonzero__(std::vector< long > const *self){
5806  return !(self->empty());
5807  }
5808 SWIGINTERN bool std_vector_Sl_long_Sg____bool__(std::vector< long > const *self){
5809  return !(self->empty());
5810  }
5811 SWIGINTERN std::vector< long >::size_type std_vector_Sl_long_Sg____len__(std::vector< long > const *self){
5812  return self->size();
5813  }
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();
5818  self->pop_back();
5819  return x;
5820  }
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);
5823  }
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);
5826  }
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);
5829  }
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));
5832  }
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.");
5837  return NULL;
5838  }
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);
5843  }
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.");
5848  return;
5849  }
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);
5854  }
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.");
5859  return;
5860  }
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);
5865  }
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.");
5870  return;
5871  }
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);
5876  }
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));
5879  }
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;
5882  }
5883 SWIGINTERN void std_vector_Sl_long_Sg__append(std::vector< long > *self,std::vector< long >::value_type const &x){
5884  self->push_back(x);
5885  }
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); }
5890 
5891 /* Getting isfinite working pre C99 across multiple platforms is non-trivial. Users can provide SWIG_isfinite on older platforms. */
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))
5900 # endif
5901 #endif
5902 
5903 
5904 /* Accept infinite as a valid float value unless we are unable to check if a value is finite */
5905 #ifdef SWIG_isfinite
5906 # define SWIG_Float_Overflow_Check(X) ((X < -FLT_MAX || X > FLT_MAX) && SWIG_isfinite(X))
5907 #else
5908 # define SWIG_Float_Overflow_Check(X) ((X < -FLT_MAX || X > FLT_MAX))
5909 #endif
5910 
5911 
5912 SWIGINTERN int
5913 SWIG_AsVal_float (PyObject * obj, float *val)
5914 {
5915  double v;
5916  int res = SWIG_AsVal_double (obj, &v);
5917  if (SWIG_IsOK(res)) {
5918  if (SWIG_Float_Overflow_Check(v)) {
5919  return SWIG_OverflowError;
5920  } else {
5921  if (val) *val = static_cast< float >(v);
5922  }
5923  }
5924  return res;
5925 }
5926 
5927 
5928  #define SWIG_From_double PyFloat_FromDouble
5929 
5930 
5931 SWIGINTERNINLINE PyObject *
5932 SWIG_From_float (float value)
5933 {
5934  return SWIG_From_double (value);
5935 }
5936 
5937 
5938 namespace swig {
5939  template <> struct traits<float > {
5940  typedef value_category category;
5941  static const char* type_name() { return"float"; }
5942  };
5943  template <> struct traits_asval<float > {
5944  typedef float value_type;
5945  static int asval(PyObject *obj, value_type *val) {
5946  return SWIG_AsVal_float (obj, val);
5947  }
5948  };
5949  template <> struct traits_from<float > {
5950  typedef float value_type;
5951  static PyObject *from(const value_type& val) {
5952  return SWIG_From_float (val);
5953  }
5954  };
5955 }
5956 
5957 
5958  namespace swig {
5959  template <> struct traits<std::vector<float, std::allocator< float > > > {
5960  typedef pointer_category category;
5961  static const char* type_name() {
5962  return "std::vector<" "float" "," "std::allocator< float >" " >";
5963  }
5964  };
5965  }
5966 
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);
5969  }
5970 SWIGINTERN bool std_vector_Sl_float_Sg____nonzero__(std::vector< float > const *self){
5971  return !(self->empty());
5972  }
5973 SWIGINTERN bool std_vector_Sl_float_Sg____bool__(std::vector< float > const *self){
5974  return !(self->empty());
5975  }
5976 SWIGINTERN std::vector< float >::size_type std_vector_Sl_float_Sg____len__(std::vector< float > const *self){
5977  return self->size();
5978  }
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();
5983  self->pop_back();
5984  return x;
5985  }
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);
5988  }
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);
5991  }
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);
5994  }
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));
5997  }
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.");
6002  return NULL;
6003  }
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);
6008  }
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.");
6013  return;
6014  }
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);
6019  }
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.");
6024  return;
6025  }
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);
6030  }
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.");
6035  return;
6036  }
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);
6041  }
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));
6044  }
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;
6047  }
6048 SWIGINTERN void std_vector_Sl_float_Sg__append(std::vector< float > *self,std::vector< float >::value_type const &x){
6049  self->push_back(x);
6050  }
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); }
6055 
6056 namespace swig {
6057  template <> struct traits<double > {
6058  typedef value_category category;
6059  static const char* type_name() { return"double"; }
6060  };
6061  template <> struct traits_asval<double > {
6062  typedef double value_type;
6063  static int asval(PyObject *obj, value_type *val) {
6064  return SWIG_AsVal_double (obj, val);
6065  }
6066  };
6067  template <> struct traits_from<double > {
6068  typedef double value_type;
6069  static PyObject *from(const value_type& val) {
6070  return SWIG_From_double (val);
6071  }
6072  };
6073 }
6074 
6075 
6076  namespace swig {
6077  template <> struct traits<std::vector<double, std::allocator< double > > > {
6078  typedef pointer_category category;
6079  static const char* type_name() {
6080  return "std::vector<" "double" "," "std::allocator< double >" " >";
6081  }
6082  };
6083  }
6084 
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);
6087  }
6088 SWIGINTERN bool std_vector_Sl_double_Sg____nonzero__(std::vector< double > const *self){
6089  return !(self->empty());
6090  }
6091 SWIGINTERN bool std_vector_Sl_double_Sg____bool__(std::vector< double > const *self){
6092  return !(self->empty());
6093  }
6094 SWIGINTERN std::vector< double >::size_type std_vector_Sl_double_Sg____len__(std::vector< double > const *self){
6095  return self->size();
6096  }
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();
6101  self->pop_back();
6102  return x;
6103  }
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);
6106  }
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);
6109  }
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);
6112  }
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));
6115  }
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.");
6120  return NULL;
6121  }
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);
6126  }
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.");
6131  return;
6132  }
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);
6137  }
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.");
6142  return;
6143  }
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);
6148  }
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.");
6153  return;
6154  }
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);
6159  }
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));
6162  }
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;
6165  }
6166 SWIGINTERN void std_vector_Sl_double_Sg__append(std::vector< double > *self,std::vector< double >::value_type const &x){
6167  self->push_back(x);
6168  }
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); }
6173 
6174  namespace swig {
6175  template <> struct traits<ActivatedItem > {
6176  typedef pointer_category category;
6177  static const char* type_name() { return"ActivatedItem"; }
6178  };
6179  }
6180 
6181 
6182  namespace swig {
6183  template <> struct traits<std::vector<ActivatedItem*, std::allocator< ActivatedItem * > > > {
6184  typedef value_category category;
6185  static const char* type_name() {
6186  return "std::vector<" "ActivatedItem" " *," "std::allocator< ActivatedItem * >" " >";
6187  }
6188  };
6189  }
6190 
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);
6193  }
6194 SWIGINTERN bool std_vector_Sl_ActivatedItem_Sm__Sg____nonzero__(std::vector< ActivatedItem * > const *self){
6195  return !(self->empty());
6196  }
6197 SWIGINTERN bool std_vector_Sl_ActivatedItem_Sm__Sg____bool__(std::vector< ActivatedItem * > const *self){
6198  return !(self->empty());
6199  }
6200 SWIGINTERN std::vector< ActivatedItem * >::size_type std_vector_Sl_ActivatedItem_Sm__Sg____len__(std::vector< ActivatedItem * > const *self){
6201  return self->size();
6202  }
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();
6207  self->pop_back();
6208  return x;
6209  }
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);
6212  }
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);
6215  }
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);
6218  }
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));
6221  }
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.");
6226  return NULL;
6227  }
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);
6232  }
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.");
6237  return;
6238  }
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);
6243  }
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.");
6248  return;
6249  }
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);
6254  }
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.");
6259  return;
6260  }
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);
6265  }
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));
6268  }
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;
6271  }
6272 SWIGINTERN void std_vector_Sl_ActivatedItem_Sm__Sg__append(std::vector< ActivatedItem * > *self,std::vector< ActivatedItem * >::value_type x){
6273  self->push_back(x);
6274  }
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); }
6279 
6280  namespace swig {
6281  template <> struct traits<Adapter > {
6282  typedef pointer_category category;
6283  static const char* type_name() { return"Adapter"; }
6284  };
6285  }
6286 
6287 
6288  namespace swig {
6289  template <> struct traits<std::vector<Adapter*, std::allocator< Adapter * > > > {
6290  typedef value_category category;
6291  static const char* type_name() {
6292  return "std::vector<" "Adapter" " *," "std::allocator< Adapter * >" " >";
6293  }
6294  };
6295  }
6296 
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);
6299  }
6300 SWIGINTERN bool std_vector_Sl_Adapter_Sm__Sg____nonzero__(std::vector< Adapter * > const *self){
6301  return !(self->empty());
6302  }
6303 SWIGINTERN bool std_vector_Sl_Adapter_Sm__Sg____bool__(std::vector< Adapter * > const *self){
6304  return !(self->empty());
6305  }
6306 SWIGINTERN std::vector< Adapter * >::size_type std_vector_Sl_Adapter_Sm__Sg____len__(std::vector< Adapter * > const *self){
6307  return self->size();
6308  }
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();
6313  self->pop_back();
6314  return x;
6315  }
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);
6318  }
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);
6321  }
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);
6324  }
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));
6327  }
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.");
6332  return NULL;
6333  }
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);
6338  }
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.");
6343  return;
6344  }
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);
6349  }
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.");
6354  return;
6355  }
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);
6360  }
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.");
6365  return;
6366  }
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);
6371  }
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));
6374  }
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;
6377  }
6378 SWIGINTERN void std_vector_Sl_Adapter_Sm__Sg__append(std::vector< Adapter * > *self,std::vector< Adapter * >::value_type x){
6379  self->push_back(x);
6380  }
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); }
6385 
6386  namespace swig {
6387  template <> struct traits<Attachment > {
6388  typedef pointer_category category;
6389  static const char* type_name() { return"Attachment"; }
6390  };
6391  }
6392 
6393 
6394  namespace swig {
6395  template <> struct traits<std::vector<Attachment*, std::allocator< Attachment * > > > {
6396  typedef value_category category;
6397  static const char* type_name() {
6398  return "std::vector<" "Attachment" " *," "std::allocator< Attachment * >" " >";
6399  }
6400  };
6401  }
6402 
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);
6405  }
6406 SWIGINTERN bool std_vector_Sl_Attachment_Sm__Sg____nonzero__(std::vector< Attachment * > const *self){
6407  return !(self->empty());
6408  }
6409 SWIGINTERN bool std_vector_Sl_Attachment_Sm__Sg____bool__(std::vector< Attachment * > const *self){
6410  return !(self->empty());
6411  }
6412 SWIGINTERN std::vector< Attachment * >::size_type std_vector_Sl_Attachment_Sm__Sg____len__(std::vector< Attachment * > const *self){
6413  return self->size();
6414  }
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();
6419  self->pop_back();
6420  return x;
6421  }
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);
6424  }
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);
6427  }
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);
6430  }
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));
6433  }
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.");
6438  return NULL;
6439  }
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);
6444  }
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.");
6449  return;
6450  }
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);
6455  }
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.");
6460  return;
6461  }
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);
6466  }
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.");
6471  return;
6472  }
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);
6477  }
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));
6480  }
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;
6483  }
6484 SWIGINTERN void std_vector_Sl_Attachment_Sm__Sg__append(std::vector< Attachment * > *self,std::vector< Attachment * >::value_type x){
6485  self->push_back(x);
6486  }
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); }
6491 
6492  namespace swig {
6493  template <> struct traits<BodyPart > {
6494  typedef pointer_category category;
6495  static const char* type_name() { return"BodyPart"; }
6496  };
6497  }
6498 
6499 
6500  namespace swig {
6501  template <> struct traits<std::vector<BodyPart*, std::allocator< BodyPart * > > > {
6502  typedef value_category category;
6503  static const char* type_name() {
6504  return "std::vector<" "BodyPart" " *," "std::allocator< BodyPart * >" " >";
6505  }
6506  };
6507  }
6508 
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);
6511  }
6512 SWIGINTERN bool std_vector_Sl_BodyPart_Sm__Sg____nonzero__(std::vector< BodyPart * > const *self){
6513  return !(self->empty());
6514  }
6515 SWIGINTERN bool std_vector_Sl_BodyPart_Sm__Sg____bool__(std::vector< BodyPart * > const *self){
6516  return !(self->empty());
6517  }
6518 SWIGINTERN std::vector< BodyPart * >::size_type std_vector_Sl_BodyPart_Sm__Sg____len__(std::vector< BodyPart * > const *self){
6519  return self->size();
6520  }
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();
6525  self->pop_back();
6526  return x;
6527  }
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);
6530  }
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);
6533  }
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);
6536  }
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));
6539  }
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.");
6544  return NULL;
6545  }
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);
6550  }
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.");
6555  return;
6556  }
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);
6561  }
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.");
6566  return;
6567  }
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);
6572  }
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.");
6577  return;
6578  }
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);
6583  }
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));
6586  }
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;
6589  }
6590 SWIGINTERN void std_vector_Sl_BodyPart_Sm__Sg__append(std::vector< BodyPart * > *self,std::vector< BodyPart * >::value_type x){
6591  self->push_back(x);
6592  }
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); }
6597 
6598  namespace swig {
6599  template <> struct traits<CollisionPair > {
6600  typedef pointer_category category;
6601  static const char* type_name() { return"CollisionPair"; }
6602  };
6603  }
6604 
6605 
6606  namespace swig {
6607  template <> struct traits<std::vector<CollisionPair*, std::allocator< CollisionPair * > > > {
6608  typedef value_category category;
6609  static const char* type_name() {
6610  return "std::vector<" "CollisionPair" " *," "std::allocator< CollisionPair * >" " >";
6611  }
6612  };
6613  }
6614 
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);
6617  }
6618 SWIGINTERN bool std_vector_Sl_CollisionPair_Sm__Sg____nonzero__(std::vector< CollisionPair * > const *self){
6619  return !(self->empty());
6620  }
6621 SWIGINTERN bool std_vector_Sl_CollisionPair_Sm__Sg____bool__(std::vector< CollisionPair * > const *self){
6622  return !(self->empty());
6623  }
6624 SWIGINTERN std::vector< CollisionPair * >::size_type std_vector_Sl_CollisionPair_Sm__Sg____len__(std::vector< CollisionPair * > const *self){
6625  return self->size();
6626  }
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();
6631  self->pop_back();
6632  return x;
6633  }
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);
6636  }
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);
6639  }
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);
6642  }
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));
6645  }
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.");
6650  return NULL;
6651  }
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);
6656  }
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.");
6661  return;
6662  }
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);
6667  }
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.");
6672  return;
6673  }
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);
6678  }
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.");
6683  return;
6684  }
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);
6689  }
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));
6692  }
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;
6695  }
6696 SWIGINTERN void std_vector_Sl_CollisionPair_Sm__Sg__append(std::vector< CollisionPair * > *self,std::vector< CollisionPair * >::value_type x){
6697  self->push_back(x);
6698  }
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); }
6703 
6704  namespace swig {
6705  template <> struct traits<CStdVariable > {
6706  typedef pointer_category category;
6707  static const char* type_name() { return"CStdVariable"; }
6708  };
6709  }
6710 
6711 
6712  namespace swig {
6713  template <> struct traits<std::vector<CStdVariable*, std::allocator< CStdVariable * > > > {
6714  typedef value_category category;
6715  static const char* type_name() {
6716  return "std::vector<" "CStdVariable" " *," "std::allocator< CStdVariable * >" " >";
6717  }
6718  };
6719  }
6720 
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);
6723  }
6724 SWIGINTERN bool std_vector_Sl_CStdVariable_Sm__Sg____nonzero__(std::vector< CStdVariable * > const *self){
6725  return !(self->empty());
6726  }
6727 SWIGINTERN bool std_vector_Sl_CStdVariable_Sm__Sg____bool__(std::vector< CStdVariable * > const *self){
6728  return !(self->empty());
6729  }
6730 SWIGINTERN std::vector< CStdVariable * >::size_type std_vector_Sl_CStdVariable_Sm__Sg____len__(std::vector< CStdVariable * > const *self){
6731  return self->size();
6732  }
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();
6737  self->pop_back();
6738  return x;
6739  }
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);
6742  }
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);
6745  }
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);
6748  }
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));
6751  }
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.");
6756  return NULL;
6757  }
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);
6762  }
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.");
6767  return;
6768  }
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);
6773  }
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.");
6778  return;
6779  }
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);
6784  }
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.");
6789  return;
6790  }
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);
6795  }
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));
6798  }
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;
6801  }
6802 SWIGINTERN void std_vector_Sl_CStdVariable_Sm__Sg__append(std::vector< CStdVariable * > *self,std::vector< CStdVariable * >::value_type x){
6803  self->push_back(x);
6804  }
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); }
6809 
6810  namespace swig {
6811  template <> struct traits<DataColumn > {
6812  typedef pointer_category category;
6813  static const char* type_name() { return"DataColumn"; }
6814  };
6815  }
6816 
6817 
6818  namespace swig {
6819  template <> struct traits<std::vector<DataColumn*, std::allocator< DataColumn * > > > {
6820  typedef value_category category;
6821  static const char* type_name() {
6822  return "std::vector<" "DataColumn" " *," "std::allocator< DataColumn * >" " >";
6823  }
6824  };
6825  }
6826 
6827 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_DataColumn_Sm__Sg__iterator(std::vector< DataColumn * > *self,PyObject **PYTHON_SELF){
6828  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
6829  }
6830 SWIGINTERN bool std_vector_Sl_DataColumn_Sm__Sg____nonzero__(std::vector< DataColumn * > const *self){
6831  return !(self->empty());
6832  }
6833 SWIGINTERN bool std_vector_Sl_DataColumn_Sm__Sg____bool__(std::vector< DataColumn * > const *self){
6834  return !(self->empty());
6835  }
6836 SWIGINTERN std::vector< DataColumn * >::size_type std_vector_Sl_DataColumn_Sm__Sg____len__(std::vector< DataColumn * > const *self){
6837  return self->size();
6838  }
6839 SWIGINTERN std::vector< DataColumn * >::value_type std_vector_Sl_DataColumn_Sm__Sg__pop(std::vector< DataColumn * > *self){
6840  if (self->size() == 0)
6841  throw std::out_of_range("pop from empty container");
6842  std::vector<DataColumn*,std::allocator< DataColumn * > >::value_type x = self->back();
6843  self->pop_back();
6844  return x;
6845  }
6846 SWIGINTERN std::vector< DataColumn *,std::allocator< DataColumn * > > *std_vector_Sl_DataColumn_Sm__Sg____getslice__(std::vector< DataColumn * > *self,std::vector< DataColumn * >::difference_type i,std::vector< DataColumn * >::difference_type j){
6847  return swig::getslice(self, i, j, 1);
6848  }
6849 SWIGINTERN void std_vector_Sl_DataColumn_Sm__Sg____setslice____SWIG_0(std::vector< DataColumn * > *self,std::vector< DataColumn * >::difference_type i,std::vector< DataColumn * >::difference_type j,std::vector< DataColumn *,std::allocator< DataColumn * > > const &v=std::vector< DataColumn *,std::allocator< DataColumn * > >()){
6850  swig::setslice(self, i, j, 1, v);
6851  }
6852 SWIGINTERN void std_vector_Sl_DataColumn_Sm__Sg____delslice__(std::vector< DataColumn * > *self,std::vector< DataColumn * >::difference_type i,std::vector< DataColumn * >::difference_type j){
6853  swig::delslice(self, i, j, 1);
6854  }
6855 SWIGINTERN void std_vector_Sl_DataColumn_Sm__Sg____delitem____SWIG_0(std::vector< DataColumn * > *self,std::vector< DataColumn * >::difference_type i){
6856  self->erase(swig::getpos(self,i));
6857  }
6858 SWIGINTERN std::vector< DataColumn *,std::allocator< DataColumn * > > *std_vector_Sl_DataColumn_Sm__Sg____getitem____SWIG_0(std::vector< DataColumn * > *self,PySliceObject *slice){
6859  Py_ssize_t i, j, step;
6860  if( !PySlice_Check(slice) ) {
6861  SWIG_Error(SWIG_TypeError, "Slice object expected.");
6862  return NULL;
6863  }
6864  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6865  std::vector<DataColumn*,std::allocator< DataColumn * > >::difference_type id = i;
6866  std::vector<DataColumn*,std::allocator< DataColumn * > >::difference_type jd = j;
6867  return swig::getslice(self, id, jd, step);
6868  }
6869 SWIGINTERN void std_vector_Sl_DataColumn_Sm__Sg____setitem____SWIG_0(std::vector< DataColumn * > *self,PySliceObject *slice,std::vector< DataColumn *,std::allocator< DataColumn * > > const &v){
6870  Py_ssize_t i, j, step;
6871  if( !PySlice_Check(slice) ) {
6872  SWIG_Error(SWIG_TypeError, "Slice object expected.");
6873  return;
6874  }
6875  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6876  std::vector<DataColumn*,std::allocator< DataColumn * > >::difference_type id = i;
6877  std::vector<DataColumn*,std::allocator< DataColumn * > >::difference_type jd = j;
6878  swig::setslice(self, id, jd, step, v);
6879  }
6880 SWIGINTERN void std_vector_Sl_DataColumn_Sm__Sg____setitem____SWIG_1(std::vector< DataColumn * > *self,PySliceObject *slice){
6881  Py_ssize_t i, j, step;
6882  if( !PySlice_Check(slice) ) {
6883  SWIG_Error(SWIG_TypeError, "Slice object expected.");
6884  return;
6885  }
6886  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6887  std::vector<DataColumn*,std::allocator< DataColumn * > >::difference_type id = i;
6888  std::vector<DataColumn*,std::allocator< DataColumn * > >::difference_type jd = j;
6889  swig::delslice(self, id, jd, step);
6890  }
6891 SWIGINTERN void std_vector_Sl_DataColumn_Sm__Sg____delitem____SWIG_1(std::vector< DataColumn * > *self,PySliceObject *slice){
6892  Py_ssize_t i, j, step;
6893  if( !PySlice_Check(slice) ) {
6894  SWIG_Error(SWIG_TypeError, "Slice object expected.");
6895  return;
6896  }
6897  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6898  std::vector<DataColumn*,std::allocator< DataColumn * > >::difference_type id = i;
6899  std::vector<DataColumn*,std::allocator< DataColumn * > >::difference_type jd = j;
6900  swig::delslice(self, id, jd, step);
6901  }
6902 SWIGINTERN std::vector< DataColumn * >::value_type std_vector_Sl_DataColumn_Sm__Sg____getitem____SWIG_1(std::vector< DataColumn * > *self,std::vector< DataColumn * >::difference_type i){
6903  return *(swig::cgetpos(self, i));
6904  }
6905 SWIGINTERN void std_vector_Sl_DataColumn_Sm__Sg____setitem____SWIG_2(std::vector< DataColumn * > *self,std::vector< DataColumn * >::difference_type i,std::vector< DataColumn * >::value_type x){
6906  *(swig::getpos(self,i)) = x;
6907  }
6908 SWIGINTERN void std_vector_Sl_DataColumn_Sm__Sg__append(std::vector< DataColumn * > *self,std::vector< DataColumn * >::value_type x){
6909  self->push_back(x);
6910  }
6911 SWIGINTERN std::vector< DataColumn * >::iterator std_vector_Sl_DataColumn_Sm__Sg__erase__SWIG_0(std::vector< DataColumn * > *self,std::vector< DataColumn * >::iterator pos){ return self->erase(pos); }
6912 SWIGINTERN std::vector< DataColumn * >::iterator std_vector_Sl_DataColumn_Sm__Sg__erase__SWIG_1(std::vector< DataColumn * > *self,std::vector< DataColumn * >::iterator first,std::vector< DataColumn * >::iterator last){ return self->erase(first, last); }
6913 SWIGINTERN std::vector< DataColumn * >::iterator std_vector_Sl_DataColumn_Sm__Sg__insert__SWIG_0(std::vector< DataColumn * > *self,std::vector< DataColumn * >::iterator pos,std::vector< DataColumn * >::value_type x){ return self->insert(pos, x); }
6914 SWIGINTERN void std_vector_Sl_DataColumn_Sm__Sg__insert__SWIG_1(std::vector< DataColumn * > *self,std::vector< DataColumn * >::iterator pos,std::vector< DataColumn * >::size_type n,std::vector< DataColumn * >::value_type x){ self->insert(pos, n, x); }
6915 
6916  namespace swig {
6917  template <> struct traits<HudItem > {
6918  typedef pointer_category category;
6919  static const char* type_name() { return"HudItem"; }
6920  };
6921  }
6922 
6923 
6924  namespace swig {
6925  template <> struct traits<std::vector<HudItem*, std::allocator< HudItem * > > > {
6926  typedef value_category category;
6927  static const char* type_name() {
6928  return "std::vector<" "HudItem" " *," "std::allocator< HudItem * >" " >";
6929  }
6930  };
6931  }
6932 
6933 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_HudItem_Sm__Sg__iterator(std::vector< HudItem * > *self,PyObject **PYTHON_SELF){
6934  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
6935  }
6936 SWIGINTERN bool std_vector_Sl_HudItem_Sm__Sg____nonzero__(std::vector< HudItem * > const *self){
6937  return !(self->empty());
6938  }
6939 SWIGINTERN bool std_vector_Sl_HudItem_Sm__Sg____bool__(std::vector< HudItem * > const *self){
6940  return !(self->empty());
6941  }
6942 SWIGINTERN std::vector< HudItem * >::size_type std_vector_Sl_HudItem_Sm__Sg____len__(std::vector< HudItem * > const *self){
6943  return self->size();
6944  }
6945 SWIGINTERN std::vector< HudItem * >::value_type std_vector_Sl_HudItem_Sm__Sg__pop(std::vector< HudItem * > *self){
6946  if (self->size() == 0)
6947  throw std::out_of_range("pop from empty container");
6948  std::vector<HudItem*,std::allocator< HudItem * > >::value_type x = self->back();
6949  self->pop_back();
6950  return x;
6951  }
6952 SWIGINTERN std::vector< HudItem *,std::allocator< HudItem * > > *std_vector_Sl_HudItem_Sm__Sg____getslice__(std::vector< HudItem * > *self,std::vector< HudItem * >::difference_type i,std::vector< HudItem * >::difference_type j){
6953  return swig::getslice(self, i, j, 1);
6954  }
6955 SWIGINTERN void std_vector_Sl_HudItem_Sm__Sg____setslice____SWIG_0(std::vector< HudItem * > *self,std::vector< HudItem * >::difference_type i,std::vector< HudItem * >::difference_type j,std::vector< HudItem *,std::allocator< HudItem * > > const &v=std::vector< HudItem *,std::allocator< HudItem * > >()){
6956  swig::setslice(self, i, j, 1, v);
6957  }
6958 SWIGINTERN void std_vector_Sl_HudItem_Sm__Sg____delslice__(std::vector< HudItem * > *self,std::vector< HudItem * >::difference_type i,std::vector< HudItem * >::difference_type j){
6959  swig::delslice(self, i, j, 1);
6960  }
6961 SWIGINTERN void std_vector_Sl_HudItem_Sm__Sg____delitem____SWIG_0(std::vector< HudItem * > *self,std::vector< HudItem * >::difference_type i){
6962  self->erase(swig::getpos(self,i));
6963  }
6964 SWIGINTERN std::vector< HudItem *,std::allocator< HudItem * > > *std_vector_Sl_HudItem_Sm__Sg____getitem____SWIG_0(std::vector< HudItem * > *self,PySliceObject *slice){
6965  Py_ssize_t i, j, step;
6966  if( !PySlice_Check(slice) ) {
6967  SWIG_Error(SWIG_TypeError, "Slice object expected.");
6968  return NULL;
6969  }
6970  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6971  std::vector<HudItem*,std::allocator< HudItem * > >::difference_type id = i;
6972  std::vector<HudItem*,std::allocator< HudItem * > >::difference_type jd = j;
6973  return swig::getslice(self, id, jd, step);
6974  }
6975 SWIGINTERN void std_vector_Sl_HudItem_Sm__Sg____setitem____SWIG_0(std::vector< HudItem * > *self,PySliceObject *slice,std::vector< HudItem *,std::allocator< HudItem * > > const &v){
6976  Py_ssize_t i, j, step;
6977  if( !PySlice_Check(slice) ) {
6978  SWIG_Error(SWIG_TypeError, "Slice object expected.");
6979  return;
6980  }
6981  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6982  std::vector<HudItem*,std::allocator< HudItem * > >::difference_type id = i;
6983  std::vector<HudItem*,std::allocator< HudItem * > >::difference_type jd = j;
6984  swig::setslice(self, id, jd, step, v);
6985  }
6986 SWIGINTERN void std_vector_Sl_HudItem_Sm__Sg____setitem____SWIG_1(std::vector< HudItem * > *self,PySliceObject *slice){
6987  Py_ssize_t i, j, step;
6988  if( !PySlice_Check(slice) ) {
6989  SWIG_Error(SWIG_TypeError, "Slice object expected.");
6990  return;
6991  }
6992  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6993  std::vector<HudItem*,std::allocator< HudItem * > >::difference_type id = i;
6994  std::vector<HudItem*,std::allocator< HudItem * > >::difference_type jd = j;
6995  swig::delslice(self, id, jd, step);
6996  }
6997 SWIGINTERN void std_vector_Sl_HudItem_Sm__Sg____delitem____SWIG_1(std::vector< HudItem * > *self,PySliceObject *slice){
6998  Py_ssize_t i, j, step;
6999  if( !PySlice_Check(slice) ) {
7000  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7001  return;
7002  }
7003  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7004  std::vector<HudItem*,std::allocator< HudItem * > >::difference_type id = i;
7005  std::vector<HudItem*,std::allocator< HudItem * > >::difference_type jd = j;
7006  swig::delslice(self, id, jd, step);
7007  }
7008 SWIGINTERN std::vector< HudItem * >::value_type std_vector_Sl_HudItem_Sm__Sg____getitem____SWIG_1(std::vector< HudItem * > *self,std::vector< HudItem * >::difference_type i){
7009  return *(swig::cgetpos(self, i));
7010  }
7011 SWIGINTERN void std_vector_Sl_HudItem_Sm__Sg____setitem____SWIG_2(std::vector< HudItem * > *self,std::vector< HudItem * >::difference_type i,std::vector< HudItem * >::value_type x){
7012  *(swig::getpos(self,i)) = x;
7013  }
7014 SWIGINTERN void std_vector_Sl_HudItem_Sm__Sg__append(std::vector< HudItem * > *self,std::vector< HudItem * >::value_type x){
7015  self->push_back(x);
7016  }
7017 SWIGINTERN std::vector< HudItem * >::iterator std_vector_Sl_HudItem_Sm__Sg__erase__SWIG_0(std::vector< HudItem * > *self,std::vector< HudItem * >::iterator pos){ return self->erase(pos); }
7018 SWIGINTERN std::vector< HudItem * >::iterator std_vector_Sl_HudItem_Sm__Sg__erase__SWIG_1(std::vector< HudItem * > *self,std::vector< HudItem * >::iterator first,std::vector< HudItem * >::iterator last){ return self->erase(first, last); }
7019 SWIGINTERN std::vector< HudItem * >::iterator std_vector_Sl_HudItem_Sm__Sg__insert__SWIG_0(std::vector< HudItem * > *self,std::vector< HudItem * >::iterator pos,std::vector< HudItem * >::value_type x){ return self->insert(pos, x); }
7020 SWIGINTERN void std_vector_Sl_HudItem_Sm__Sg__insert__SWIG_1(std::vector< HudItem * > *self,std::vector< HudItem * >::iterator pos,std::vector< HudItem * >::size_type n,std::vector< HudItem * >::value_type x){ self->insert(pos, n, x); }
7021 
7022  namespace swig {
7023  template <> struct traits<KeyFrame > {
7024  typedef pointer_category category;
7025  static const char* type_name() { return"KeyFrame"; }
7026  };
7027  }
7028 
7029 
7030  namespace swig {
7031  template <> struct traits<std::vector<KeyFrame*, std::allocator< KeyFrame * > > > {
7032  typedef value_category category;
7033  static const char* type_name() {
7034  return "std::vector<" "KeyFrame" " *," "std::allocator< KeyFrame * >" " >";
7035  }
7036  };
7037  }
7038 
7039 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_KeyFrame_Sm__Sg__iterator(std::vector< KeyFrame * > *self,PyObject **PYTHON_SELF){
7040  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
7041  }
7042 SWIGINTERN bool std_vector_Sl_KeyFrame_Sm__Sg____nonzero__(std::vector< KeyFrame * > const *self){
7043  return !(self->empty());
7044  }
7045 SWIGINTERN bool std_vector_Sl_KeyFrame_Sm__Sg____bool__(std::vector< KeyFrame * > const *self){
7046  return !(self->empty());
7047  }
7048 SWIGINTERN std::vector< KeyFrame * >::size_type std_vector_Sl_KeyFrame_Sm__Sg____len__(std::vector< KeyFrame * > const *self){
7049  return self->size();
7050  }
7051 SWIGINTERN std::vector< KeyFrame * >::value_type std_vector_Sl_KeyFrame_Sm__Sg__pop(std::vector< KeyFrame * > *self){
7052  if (self->size() == 0)
7053  throw std::out_of_range("pop from empty container");
7054  std::vector<KeyFrame*,std::allocator< KeyFrame * > >::value_type x = self->back();
7055  self->pop_back();
7056  return x;
7057  }
7058 SWIGINTERN std::vector< KeyFrame *,std::allocator< KeyFrame * > > *std_vector_Sl_KeyFrame_Sm__Sg____getslice__(std::vector< KeyFrame * > *self,std::vector< KeyFrame * >::difference_type i,std::vector< KeyFrame * >::difference_type j){
7059  return swig::getslice(self, i, j, 1);
7060  }
7061 SWIGINTERN void std_vector_Sl_KeyFrame_Sm__Sg____setslice____SWIG_0(std::vector< KeyFrame * > *self,std::vector< KeyFrame * >::difference_type i,std::vector< KeyFrame * >::difference_type j,std::vector< KeyFrame *,std::allocator< KeyFrame * > > const &v=std::vector< KeyFrame *,std::allocator< KeyFrame * > >()){
7062  swig::setslice(self, i, j, 1, v);
7063  }
7064 SWIGINTERN void std_vector_Sl_KeyFrame_Sm__Sg____delslice__(std::vector< KeyFrame * > *self,std::vector< KeyFrame * >::difference_type i,std::vector< KeyFrame * >::difference_type j){
7065  swig::delslice(self, i, j, 1);
7066  }
7067 SWIGINTERN void std_vector_Sl_KeyFrame_Sm__Sg____delitem____SWIG_0(std::vector< KeyFrame * > *self,std::vector< KeyFrame * >::difference_type i){
7068  self->erase(swig::getpos(self,i));
7069  }
7070 SWIGINTERN std::vector< KeyFrame *,std::allocator< KeyFrame * > > *std_vector_Sl_KeyFrame_Sm__Sg____getitem____SWIG_0(std::vector< KeyFrame * > *self,PySliceObject *slice){
7071  Py_ssize_t i, j, step;
7072  if( !PySlice_Check(slice) ) {
7073  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7074  return NULL;
7075  }
7076  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7077  std::vector<KeyFrame*,std::allocator< KeyFrame * > >::difference_type id = i;
7078  std::vector<KeyFrame*,std::allocator< KeyFrame * > >::difference_type jd = j;
7079  return swig::getslice(self, id, jd, step);
7080  }
7081 SWIGINTERN void std_vector_Sl_KeyFrame_Sm__Sg____setitem____SWIG_0(std::vector< KeyFrame * > *self,PySliceObject *slice,std::vector< KeyFrame *,std::allocator< KeyFrame * > > const &v){
7082  Py_ssize_t i, j, step;
7083  if( !PySlice_Check(slice) ) {
7084  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7085  return;
7086  }
7087  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7088  std::vector<KeyFrame*,std::allocator< KeyFrame * > >::difference_type id = i;
7089  std::vector<KeyFrame*,std::allocator< KeyFrame * > >::difference_type jd = j;
7090  swig::setslice(self, id, jd, step, v);
7091  }
7092 SWIGINTERN void std_vector_Sl_KeyFrame_Sm__Sg____setitem____SWIG_1(std::vector< KeyFrame * > *self,PySliceObject *slice){
7093  Py_ssize_t i, j, step;
7094  if( !PySlice_Check(slice) ) {
7095  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7096  return;
7097  }
7098  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7099  std::vector<KeyFrame*,std::allocator< KeyFrame * > >::difference_type id = i;
7100  std::vector<KeyFrame*,std::allocator< KeyFrame * > >::difference_type jd = j;
7101  swig::delslice(self, id, jd, step);
7102  }
7103 SWIGINTERN void std_vector_Sl_KeyFrame_Sm__Sg____delitem____SWIG_1(std::vector< KeyFrame * > *self,PySliceObject *slice){
7104  Py_ssize_t i, j, step;
7105  if( !PySlice_Check(slice) ) {
7106  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7107  return;
7108  }
7109  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7110  std::vector<KeyFrame*,std::allocator< KeyFrame * > >::difference_type id = i;
7111  std::vector<KeyFrame*,std::allocator< KeyFrame * > >::difference_type jd = j;
7112  swig::delslice(self, id, jd, step);
7113  }
7114 SWIGINTERN std::vector< KeyFrame * >::value_type std_vector_Sl_KeyFrame_Sm__Sg____getitem____SWIG_1(std::vector< KeyFrame * > *self,std::vector< KeyFrame * >::difference_type i){
7115  return *(swig::cgetpos(self, i));
7116  }
7117 SWIGINTERN void std_vector_Sl_KeyFrame_Sm__Sg____setitem____SWIG_2(std::vector< KeyFrame * > *self,std::vector< KeyFrame * >::difference_type i,std::vector< KeyFrame * >::value_type x){
7118  *(swig::getpos(self,i)) = x;
7119  }
7120 SWIGINTERN void std_vector_Sl_KeyFrame_Sm__Sg__append(std::vector< KeyFrame * > *self,std::vector< KeyFrame * >::value_type x){
7121  self->push_back(x);
7122  }
7123 SWIGINTERN std::vector< KeyFrame * >::iterator std_vector_Sl_KeyFrame_Sm__Sg__erase__SWIG_0(std::vector< KeyFrame * > *self,std::vector< KeyFrame * >::iterator pos){ return self->erase(pos); }
7124 SWIGINTERN std::vector< KeyFrame * >::iterator std_vector_Sl_KeyFrame_Sm__Sg__erase__SWIG_1(std::vector< KeyFrame * > *self,std::vector< KeyFrame * >::iterator first,std::vector< KeyFrame * >::iterator last){ return self->erase(first, last); }
7125 SWIGINTERN std::vector< KeyFrame * >::iterator std_vector_Sl_KeyFrame_Sm__Sg__insert__SWIG_0(std::vector< KeyFrame * > *self,std::vector< KeyFrame * >::iterator pos,std::vector< KeyFrame * >::value_type x){ return self->insert(pos, x); }
7126 SWIGINTERN void std_vector_Sl_KeyFrame_Sm__Sg__insert__SWIG_1(std::vector< KeyFrame * > *self,std::vector< KeyFrame * >::iterator pos,std::vector< KeyFrame * >::size_type n,std::vector< KeyFrame * >::value_type x){ self->insert(pos, n, x); }
7127 
7128  namespace swig {
7129  template <> struct traits<Light > {
7130  typedef pointer_category category;
7131  static const char* type_name() { return"Light"; }
7132  };
7133  }
7134 
7135 
7136  namespace swig {
7137  template <> struct traits<std::vector<Light*, std::allocator< Light * > > > {
7138  typedef value_category category;
7139  static const char* type_name() {
7140  return "std::vector<" "Light" " *," "std::allocator< Light * >" " >";
7141  }
7142  };
7143  }
7144 
7145 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_Light_Sm__Sg__iterator(std::vector< Light * > *self,PyObject **PYTHON_SELF){
7146  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
7147  }
7148 SWIGINTERN bool std_vector_Sl_Light_Sm__Sg____nonzero__(std::vector< Light * > const *self){
7149  return !(self->empty());
7150  }
7151 SWIGINTERN bool std_vector_Sl_Light_Sm__Sg____bool__(std::vector< Light * > const *self){
7152  return !(self->empty());
7153  }
7154 SWIGINTERN std::vector< Light * >::size_type std_vector_Sl_Light_Sm__Sg____len__(std::vector< Light * > const *self){
7155  return self->size();
7156  }
7157 SWIGINTERN std::vector< Light * >::value_type std_vector_Sl_Light_Sm__Sg__pop(std::vector< Light * > *self){
7158  if (self->size() == 0)
7159  throw std::out_of_range("pop from empty container");
7160  std::vector<Light*,std::allocator< Light * > >::value_type x = self->back();
7161  self->pop_back();
7162  return x;
7163  }
7164 SWIGINTERN std::vector< Light *,std::allocator< Light * > > *std_vector_Sl_Light_Sm__Sg____getslice__(std::vector< Light * > *self,std::vector< Light * >::difference_type i,std::vector< Light * >::difference_type j){
7165  return swig::getslice(self, i, j, 1);
7166  }
7167 SWIGINTERN void std_vector_Sl_Light_Sm__Sg____setslice____SWIG_0(std::vector< Light * > *self,std::vector< Light * >::difference_type i,std::vector< Light * >::difference_type j,std::vector< Light *,std::allocator< Light * > > const &v=std::vector< Light *,std::allocator< Light * > >()){
7168  swig::setslice(self, i, j, 1, v);
7169  }
7170 SWIGINTERN void std_vector_Sl_Light_Sm__Sg____delslice__(std::vector< Light * > *self,std::vector< Light * >::difference_type i,std::vector< Light * >::difference_type j){
7171  swig::delslice(self, i, j, 1);
7172  }
7173 SWIGINTERN void std_vector_Sl_Light_Sm__Sg____delitem____SWIG_0(std::vector< Light * > *self,std::vector< Light * >::difference_type i){
7174  self->erase(swig::getpos(self,i));
7175  }
7176 SWIGINTERN std::vector< Light *,std::allocator< Light * > > *std_vector_Sl_Light_Sm__Sg____getitem____SWIG_0(std::vector< Light * > *self,PySliceObject *slice){
7177  Py_ssize_t i, j, step;
7178  if( !PySlice_Check(slice) ) {
7179  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7180  return NULL;
7181  }
7182  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7183  std::vector<Light*,std::allocator< Light * > >::difference_type id = i;
7184  std::vector<Light*,std::allocator< Light * > >::difference_type jd = j;
7185  return swig::getslice(self, id, jd, step);
7186  }
7187 SWIGINTERN void std_vector_Sl_Light_Sm__Sg____setitem____SWIG_0(std::vector< Light * > *self,PySliceObject *slice,std::vector< Light *,std::allocator< Light * > > const &v){
7188  Py_ssize_t i, j, step;
7189  if( !PySlice_Check(slice) ) {
7190  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7191  return;
7192  }
7193  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7194  std::vector<Light*,std::allocator< Light * > >::difference_type id = i;
7195  std::vector<Light*,std::allocator< Light * > >::difference_type jd = j;
7196  swig::setslice(self, id, jd, step, v);
7197  }
7198 SWIGINTERN void std_vector_Sl_Light_Sm__Sg____setitem____SWIG_1(std::vector< Light * > *self,PySliceObject *slice){
7199  Py_ssize_t i, j, step;
7200  if( !PySlice_Check(slice) ) {
7201  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7202  return;
7203  }
7204  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7205  std::vector<Light*,std::allocator< Light * > >::difference_type id = i;
7206  std::vector<Light*,std::allocator< Light * > >::difference_type jd = j;
7207  swig::delslice(self, id, jd, step);
7208  }
7209 SWIGINTERN void std_vector_Sl_Light_Sm__Sg____delitem____SWIG_1(std::vector< Light * > *self,PySliceObject *slice){
7210  Py_ssize_t i, j, step;
7211  if( !PySlice_Check(slice) ) {
7212  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7213  return;
7214  }
7215  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7216  std::vector<Light*,std::allocator< Light * > >::difference_type id = i;
7217  std::vector<Light*,std::allocator< Light * > >::difference_type jd = j;
7218  swig::delslice(self, id, jd, step);
7219  }
7220 SWIGINTERN std::vector< Light * >::value_type std_vector_Sl_Light_Sm__Sg____getitem____SWIG_1(std::vector< Light * > *self,std::vector< Light * >::difference_type i){
7221  return *(swig::cgetpos(self, i));
7222  }
7223 SWIGINTERN void std_vector_Sl_Light_Sm__Sg____setitem____SWIG_2(std::vector< Light * > *self,std::vector< Light * >::difference_type i,std::vector< Light * >::value_type x){
7224  *(swig::getpos(self,i)) = x;
7225  }
7226 SWIGINTERN void std_vector_Sl_Light_Sm__Sg__append(std::vector< Light * > *self,std::vector< Light * >::value_type x){
7227  self->push_back(x);
7228  }
7229 SWIGINTERN std::vector< Light * >::iterator std_vector_Sl_Light_Sm__Sg__erase__SWIG_0(std::vector< Light * > *self,std::vector< Light * >::iterator pos){ return self->erase(pos); }
7230 SWIGINTERN std::vector< Light * >::iterator std_vector_Sl_Light_Sm__Sg__erase__SWIG_1(std::vector< Light * > *self,std::vector< Light * >::iterator first,std::vector< Light * >::iterator last){ return self->erase(first, last); }
7231 SWIGINTERN std::vector< Light * >::iterator std_vector_Sl_Light_Sm__Sg__insert__SWIG_0(std::vector< Light * > *self,std::vector< Light * >::iterator pos,std::vector< Light * >::value_type x){ return self->insert(pos, x); }
7232 SWIGINTERN void std_vector_Sl_Light_Sm__Sg__insert__SWIG_1(std::vector< Light * > *self,std::vector< Light * >::iterator pos,std::vector< Light * >::size_type n,std::vector< Light * >::value_type x){ self->insert(pos, n, x); }
7233 
7234  namespace swig {
7235  template <> struct traits<MaterialType > {
7236  typedef pointer_category category;
7237  static const char* type_name() { return"MaterialType"; }
7238  };
7239  }
7240 
7241 
7242  namespace swig {
7243  template <> struct traits<std::vector<MaterialType*, std::allocator< MaterialType * > > > {
7244  typedef value_category category;
7245  static const char* type_name() {
7246  return "std::vector<" "MaterialType" " *," "std::allocator< MaterialType * >" " >";
7247  }
7248  };
7249  }
7250 
7251 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_MaterialType_Sm__Sg__iterator(std::vector< MaterialType * > *self,PyObject **PYTHON_SELF){
7252  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
7253  }
7254 SWIGINTERN bool std_vector_Sl_MaterialType_Sm__Sg____nonzero__(std::vector< MaterialType * > const *self){
7255  return !(self->empty());
7256  }
7257 SWIGINTERN bool std_vector_Sl_MaterialType_Sm__Sg____bool__(std::vector< MaterialType * > const *self){
7258  return !(self->empty());
7259  }
7260 SWIGINTERN std::vector< MaterialType * >::size_type std_vector_Sl_MaterialType_Sm__Sg____len__(std::vector< MaterialType * > const *self){
7261  return self->size();
7262  }
7263 SWIGINTERN std::vector< MaterialType * >::value_type std_vector_Sl_MaterialType_Sm__Sg__pop(std::vector< MaterialType * > *self){
7264  if (self->size() == 0)
7265  throw std::out_of_range("pop from empty container");
7266  std::vector<MaterialType*,std::allocator< MaterialType * > >::value_type x = self->back();
7267  self->pop_back();
7268  return x;
7269  }
7270 SWIGINTERN std::vector< MaterialType *,std::allocator< MaterialType * > > *std_vector_Sl_MaterialType_Sm__Sg____getslice__(std::vector< MaterialType * > *self,std::vector< MaterialType * >::difference_type i,std::vector< MaterialType * >::difference_type j){
7271  return swig::getslice(self, i, j, 1);
7272  }
7273 SWIGINTERN void std_vector_Sl_MaterialType_Sm__Sg____setslice____SWIG_0(std::vector< MaterialType * > *self,std::vector< MaterialType * >::difference_type i,std::vector< MaterialType * >::difference_type j,std::vector< MaterialType *,std::allocator< MaterialType * > > const &v=std::vector< MaterialType *,std::allocator< MaterialType * > >()){
7274  swig::setslice(self, i, j, 1, v);
7275  }
7276 SWIGINTERN void std_vector_Sl_MaterialType_Sm__Sg____delslice__(std::vector< MaterialType * > *self,std::vector< MaterialType * >::difference_type i,std::vector< MaterialType * >::difference_type j){
7277  swig::delslice(self, i, j, 1);
7278  }
7279 SWIGINTERN void std_vector_Sl_MaterialType_Sm__Sg____delitem____SWIG_0(std::vector< MaterialType * > *self,std::vector< MaterialType * >::difference_type i){
7280  self->erase(swig::getpos(self,i));
7281  }
7282 SWIGINTERN std::vector< MaterialType *,std::allocator< MaterialType * > > *std_vector_Sl_MaterialType_Sm__Sg____getitem____SWIG_0(std::vector< MaterialType * > *self,PySliceObject *slice){
7283  Py_ssize_t i, j, step;
7284  if( !PySlice_Check(slice) ) {
7285  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7286  return NULL;
7287  }
7288  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7289  std::vector<MaterialType*,std::allocator< MaterialType * > >::difference_type id = i;
7290  std::vector<MaterialType*,std::allocator< MaterialType * > >::difference_type jd = j;
7291  return swig::getslice(self, id, jd, step);
7292  }
7293 SWIGINTERN void std_vector_Sl_MaterialType_Sm__Sg____setitem____SWIG_0(std::vector< MaterialType * > *self,PySliceObject *slice,std::vector< MaterialType *,std::allocator< MaterialType * > > const &v){
7294  Py_ssize_t i, j, step;
7295  if( !PySlice_Check(slice) ) {
7296  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7297  return;
7298  }
7299  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7300  std::vector<MaterialType*,std::allocator< MaterialType * > >::difference_type id = i;
7301  std::vector<MaterialType*,std::allocator< MaterialType * > >::difference_type jd = j;
7302  swig::setslice(self, id, jd, step, v);
7303  }
7304 SWIGINTERN void std_vector_Sl_MaterialType_Sm__Sg____setitem____SWIG_1(std::vector< MaterialType * > *self,PySliceObject *slice){
7305  Py_ssize_t i, j, step;
7306  if( !PySlice_Check(slice) ) {
7307  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7308  return;
7309  }
7310  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7311  std::vector<MaterialType*,std::allocator< MaterialType * > >::difference_type id = i;
7312  std::vector<MaterialType*,std::allocator< MaterialType * > >::difference_type jd = j;
7313  swig::delslice(self, id, jd, step);
7314  }
7315 SWIGINTERN void std_vector_Sl_MaterialType_Sm__Sg____delitem____SWIG_1(std::vector< MaterialType * > *self,PySliceObject *slice){
7316  Py_ssize_t i, j, step;
7317  if( !PySlice_Check(slice) ) {
7318  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7319  return;
7320  }
7321  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7322  std::vector<MaterialType*,std::allocator< MaterialType * > >::difference_type id = i;
7323  std::vector<MaterialType*,std::allocator< MaterialType * > >::difference_type jd = j;
7324  swig::delslice(self, id, jd, step);
7325  }
7326 SWIGINTERN std::vector< MaterialType * >::value_type std_vector_Sl_MaterialType_Sm__Sg____getitem____SWIG_1(std::vector< MaterialType * > *self,std::vector< MaterialType * >::difference_type i){
7327  return *(swig::cgetpos(self, i));
7328  }
7329 SWIGINTERN void std_vector_Sl_MaterialType_Sm__Sg____setitem____SWIG_2(std::vector< MaterialType * > *self,std::vector< MaterialType * >::difference_type i,std::vector< MaterialType * >::value_type x){
7330  *(swig::getpos(self,i)) = x;
7331  }
7332 SWIGINTERN void std_vector_Sl_MaterialType_Sm__Sg__append(std::vector< MaterialType * > *self,std::vector< MaterialType * >::value_type x){
7333  self->push_back(x);
7334  }
7335 SWIGINTERN std::vector< MaterialType * >::iterator std_vector_Sl_MaterialType_Sm__Sg__erase__SWIG_0(std::vector< MaterialType * > *self,std::vector< MaterialType * >::iterator pos){ return self->erase(pos); }
7336 SWIGINTERN std::vector< MaterialType * >::iterator std_vector_Sl_MaterialType_Sm__Sg__erase__SWIG_1(std::vector< MaterialType * > *self,std::vector< MaterialType * >::iterator first,std::vector< MaterialType * >::iterator last){ return self->erase(first, last); }
7337 SWIGINTERN std::vector< MaterialType * >::iterator std_vector_Sl_MaterialType_Sm__Sg__insert__SWIG_0(std::vector< MaterialType * > *self,std::vector< MaterialType * >::iterator pos,std::vector< MaterialType * >::value_type x){ return self->insert(pos, x); }
7338 SWIGINTERN void std_vector_Sl_MaterialType_Sm__Sg__insert__SWIG_1(std::vector< MaterialType * > *self,std::vector< MaterialType * >::iterator pos,std::vector< MaterialType * >::size_type n,std::vector< MaterialType * >::value_type x){ self->insert(pos, n, x); }
7339 
7340  namespace swig {
7341  template <> struct traits<ModuleThreadProcessor > {
7342  typedef pointer_category category;
7343  static const char* type_name() { return"ModuleThreadProcessor"; }
7344  };
7345  }
7346 
7347 
7348  namespace swig {
7349  template <> struct traits<std::vector<ModuleThreadProcessor*, std::allocator< ModuleThreadProcessor * > > > {
7350  typedef value_category category;
7351  static const char* type_name() {
7352  return "std::vector<" "ModuleThreadProcessor" " *," "std::allocator< ModuleThreadProcessor * >" " >";
7353  }
7354  };
7355  }
7356 
7357 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_ModuleThreadProcessor_Sm__Sg__iterator(std::vector< ModuleThreadProcessor * > *self,PyObject **PYTHON_SELF){
7358  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
7359  }
7360 SWIGINTERN bool std_vector_Sl_ModuleThreadProcessor_Sm__Sg____nonzero__(std::vector< ModuleThreadProcessor * > const *self){
7361  return !(self->empty());
7362  }
7363 SWIGINTERN bool std_vector_Sl_ModuleThreadProcessor_Sm__Sg____bool__(std::vector< ModuleThreadProcessor * > const *self){
7364  return !(self->empty());
7365  }
7366 SWIGINTERN std::vector< ModuleThreadProcessor * >::size_type std_vector_Sl_ModuleThreadProcessor_Sm__Sg____len__(std::vector< ModuleThreadProcessor * > const *self){
7367  return self->size();
7368  }
7369 SWIGINTERN std::vector< ModuleThreadProcessor * >::value_type std_vector_Sl_ModuleThreadProcessor_Sm__Sg__pop(std::vector< ModuleThreadProcessor * > *self){
7370  if (self->size() == 0)
7371  throw std::out_of_range("pop from empty container");
7372  std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >::value_type x = self->back();
7373  self->pop_back();
7374  return x;
7375  }
7376 SWIGINTERN std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > *std_vector_Sl_ModuleThreadProcessor_Sm__Sg____getslice__(std::vector< ModuleThreadProcessor * > *self,std::vector< ModuleThreadProcessor * >::difference_type i,std::vector< ModuleThreadProcessor * >::difference_type j){
7377  return swig::getslice(self, i, j, 1);
7378  }
7379 SWIGINTERN void std_vector_Sl_ModuleThreadProcessor_Sm__Sg____setslice____SWIG_0(std::vector< ModuleThreadProcessor * > *self,std::vector< ModuleThreadProcessor * >::difference_type i,std::vector< ModuleThreadProcessor * >::difference_type j,std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > const &v=std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > >()){
7380  swig::setslice(self, i, j, 1, v);
7381  }
7382 SWIGINTERN void std_vector_Sl_ModuleThreadProcessor_Sm__Sg____delslice__(std::vector< ModuleThreadProcessor * > *self,std::vector< ModuleThreadProcessor * >::difference_type i,std::vector< ModuleThreadProcessor * >::difference_type j){
7383  swig::delslice(self, i, j, 1);
7384  }
7385 SWIGINTERN void std_vector_Sl_ModuleThreadProcessor_Sm__Sg____delitem____SWIG_0(std::vector< ModuleThreadProcessor * > *self,std::vector< ModuleThreadProcessor * >::difference_type i){
7386  self->erase(swig::getpos(self,i));
7387  }
7388 SWIGINTERN std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > *std_vector_Sl_ModuleThreadProcessor_Sm__Sg____getitem____SWIG_0(std::vector< ModuleThreadProcessor * > *self,PySliceObject *slice){
7389  Py_ssize_t i, j, step;
7390  if( !PySlice_Check(slice) ) {
7391  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7392  return NULL;
7393  }
7394  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7395  std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >::difference_type id = i;
7396  std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >::difference_type jd = j;
7397  return swig::getslice(self, id, jd, step);
7398  }
7399 SWIGINTERN void std_vector_Sl_ModuleThreadProcessor_Sm__Sg____setitem____SWIG_0(std::vector< ModuleThreadProcessor * > *self,PySliceObject *slice,std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > const &v){
7400  Py_ssize_t i, j, step;
7401  if( !PySlice_Check(slice) ) {
7402  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7403  return;
7404  }
7405  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7406  std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >::difference_type id = i;
7407  std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >::difference_type jd = j;
7408  swig::setslice(self, id, jd, step, v);
7409  }
7410 SWIGINTERN void std_vector_Sl_ModuleThreadProcessor_Sm__Sg____setitem____SWIG_1(std::vector< ModuleThreadProcessor * > *self,PySliceObject *slice){
7411  Py_ssize_t i, j, step;
7412  if( !PySlice_Check(slice) ) {
7413  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7414  return;
7415  }
7416  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7417  std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >::difference_type id = i;
7418  std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >::difference_type jd = j;
7419  swig::delslice(self, id, jd, step);
7420  }
7421 SWIGINTERN void std_vector_Sl_ModuleThreadProcessor_Sm__Sg____delitem____SWIG_1(std::vector< ModuleThreadProcessor * > *self,PySliceObject *slice){
7422  Py_ssize_t i, j, step;
7423  if( !PySlice_Check(slice) ) {
7424  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7425  return;
7426  }
7427  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7428  std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >::difference_type id = i;
7429  std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >::difference_type jd = j;
7430  swig::delslice(self, id, jd, step);
7431  }
7432 SWIGINTERN std::vector< ModuleThreadProcessor * >::value_type std_vector_Sl_ModuleThreadProcessor_Sm__Sg____getitem____SWIG_1(std::vector< ModuleThreadProcessor * > *self,std::vector< ModuleThreadProcessor * >::difference_type i){
7433  return *(swig::cgetpos(self, i));
7434  }
7435 SWIGINTERN void std_vector_Sl_ModuleThreadProcessor_Sm__Sg____setitem____SWIG_2(std::vector< ModuleThreadProcessor * > *self,std::vector< ModuleThreadProcessor * >::difference_type i,std::vector< ModuleThreadProcessor * >::value_type x){
7436  *(swig::getpos(self,i)) = x;
7437  }
7438 SWIGINTERN void std_vector_Sl_ModuleThreadProcessor_Sm__Sg__append(std::vector< ModuleThreadProcessor * > *self,std::vector< ModuleThreadProcessor * >::value_type x){
7439  self->push_back(x);
7440  }
7441 SWIGINTERN std::vector< ModuleThreadProcessor * >::iterator std_vector_Sl_ModuleThreadProcessor_Sm__Sg__erase__SWIG_0(std::vector< ModuleThreadProcessor * > *self,std::vector< ModuleThreadProcessor * >::iterator pos){ return self->erase(pos); }
7442 SWIGINTERN std::vector< ModuleThreadProcessor * >::iterator std_vector_Sl_ModuleThreadProcessor_Sm__Sg__erase__SWIG_1(std::vector< ModuleThreadProcessor * > *self,std::vector< ModuleThreadProcessor * >::iterator first,std::vector< ModuleThreadProcessor * >::iterator last){ return self->erase(first, last); }
7443 SWIGINTERN std::vector< ModuleThreadProcessor * >::iterator std_vector_Sl_ModuleThreadProcessor_Sm__Sg__insert__SWIG_0(std::vector< ModuleThreadProcessor * > *self,std::vector< ModuleThreadProcessor * >::iterator pos,std::vector< ModuleThreadProcessor * >::value_type x){ return self->insert(pos, x); }
7444 SWIGINTERN void std_vector_Sl_ModuleThreadProcessor_Sm__Sg__insert__SWIG_1(std::vector< ModuleThreadProcessor * > *self,std::vector< ModuleThreadProcessor * >::iterator pos,std::vector< ModuleThreadProcessor * >::size_type n,std::vector< ModuleThreadProcessor * >::value_type x){ self->insert(pos, n, x); }
7445 
7446  namespace swig {
7447  template <> struct traits<ReceptiveFieldPair > {
7448  typedef pointer_category category;
7449  static const char* type_name() { return"ReceptiveFieldPair"; }
7450  };
7451  }
7452 
7453 
7454  namespace swig {
7455  template <> struct traits<std::vector<ReceptiveFieldPair*, std::allocator< ReceptiveFieldPair * > > > {
7456  typedef value_category category;
7457  static const char* type_name() {
7458  return "std::vector<" "ReceptiveFieldPair" " *," "std::allocator< ReceptiveFieldPair * >" " >";
7459  }
7460  };
7461  }
7462 
7463 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_ReceptiveFieldPair_Sm__Sg__iterator(std::vector< ReceptiveFieldPair * > *self,PyObject **PYTHON_SELF){
7464  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
7465  }
7466 SWIGINTERN bool std_vector_Sl_ReceptiveFieldPair_Sm__Sg____nonzero__(std::vector< ReceptiveFieldPair * > const *self){
7467  return !(self->empty());
7468  }
7469 SWIGINTERN bool std_vector_Sl_ReceptiveFieldPair_Sm__Sg____bool__(std::vector< ReceptiveFieldPair * > const *self){
7470  return !(self->empty());
7471  }
7472 SWIGINTERN std::vector< ReceptiveFieldPair * >::size_type std_vector_Sl_ReceptiveFieldPair_Sm__Sg____len__(std::vector< ReceptiveFieldPair * > const *self){
7473  return self->size();
7474  }
7475 SWIGINTERN std::vector< ReceptiveFieldPair * >::value_type std_vector_Sl_ReceptiveFieldPair_Sm__Sg__pop(std::vector< ReceptiveFieldPair * > *self){
7476  if (self->size() == 0)
7477  throw std::out_of_range("pop from empty container");
7478  std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >::value_type x = self->back();
7479  self->pop_back();
7480  return x;
7481  }
7482 SWIGINTERN std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > *std_vector_Sl_ReceptiveFieldPair_Sm__Sg____getslice__(std::vector< ReceptiveFieldPair * > *self,std::vector< ReceptiveFieldPair * >::difference_type i,std::vector< ReceptiveFieldPair * >::difference_type j){
7483  return swig::getslice(self, i, j, 1);
7484  }
7485 SWIGINTERN void std_vector_Sl_ReceptiveFieldPair_Sm__Sg____setslice____SWIG_0(std::vector< ReceptiveFieldPair * > *self,std::vector< ReceptiveFieldPair * >::difference_type i,std::vector< ReceptiveFieldPair * >::difference_type j,std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > const &v=std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >()){
7486  swig::setslice(self, i, j, 1, v);
7487  }
7488 SWIGINTERN void std_vector_Sl_ReceptiveFieldPair_Sm__Sg____delslice__(std::vector< ReceptiveFieldPair * > *self,std::vector< ReceptiveFieldPair * >::difference_type i,std::vector< ReceptiveFieldPair * >::difference_type j){
7489  swig::delslice(self, i, j, 1);
7490  }
7491 SWIGINTERN void std_vector_Sl_ReceptiveFieldPair_Sm__Sg____delitem____SWIG_0(std::vector< ReceptiveFieldPair * > *self,std::vector< ReceptiveFieldPair * >::difference_type i){
7492  self->erase(swig::getpos(self,i));
7493  }
7494 SWIGINTERN std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > *std_vector_Sl_ReceptiveFieldPair_Sm__Sg____getitem____SWIG_0(std::vector< ReceptiveFieldPair * > *self,PySliceObject *slice){
7495  Py_ssize_t i, j, step;
7496  if( !PySlice_Check(slice) ) {
7497  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7498  return NULL;
7499  }
7500  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7501  std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >::difference_type id = i;
7502  std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >::difference_type jd = j;
7503  return swig::getslice(self, id, jd, step);
7504  }
7505 SWIGINTERN void std_vector_Sl_ReceptiveFieldPair_Sm__Sg____setitem____SWIG_0(std::vector< ReceptiveFieldPair * > *self,PySliceObject *slice,std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > const &v){
7506  Py_ssize_t i, j, step;
7507  if( !PySlice_Check(slice) ) {
7508  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7509  return;
7510  }
7511  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7512  std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >::difference_type id = i;
7513  std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >::difference_type jd = j;
7514  swig::setslice(self, id, jd, step, v);
7515  }
7516 SWIGINTERN void std_vector_Sl_ReceptiveFieldPair_Sm__Sg____setitem____SWIG_1(std::vector< ReceptiveFieldPair * > *self,PySliceObject *slice){
7517  Py_ssize_t i, j, step;
7518  if( !PySlice_Check(slice) ) {
7519  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7520  return;
7521  }
7522  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7523  std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >::difference_type id = i;
7524  std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >::difference_type jd = j;
7525  swig::delslice(self, id, jd, step);
7526  }
7527 SWIGINTERN void std_vector_Sl_ReceptiveFieldPair_Sm__Sg____delitem____SWIG_1(std::vector< ReceptiveFieldPair * > *self,PySliceObject *slice){
7528  Py_ssize_t i, j, step;
7529  if( !PySlice_Check(slice) ) {
7530  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7531  return;
7532  }
7533  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7534  std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >::difference_type id = i;
7535  std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >::difference_type jd = j;
7536  swig::delslice(self, id, jd, step);
7537  }
7538 SWIGINTERN std::vector< ReceptiveFieldPair * >::value_type std_vector_Sl_ReceptiveFieldPair_Sm__Sg____getitem____SWIG_1(std::vector< ReceptiveFieldPair * > *self,std::vector< ReceptiveFieldPair * >::difference_type i){
7539  return *(swig::cgetpos(self, i));
7540  }
7541 SWIGINTERN void std_vector_Sl_ReceptiveFieldPair_Sm__Sg____setitem____SWIG_2(std::vector< ReceptiveFieldPair * > *self,std::vector< ReceptiveFieldPair * >::difference_type i,std::vector< ReceptiveFieldPair * >::value_type x){
7542  *(swig::getpos(self,i)) = x;
7543  }
7544 SWIGINTERN void std_vector_Sl_ReceptiveFieldPair_Sm__Sg__append(std::vector< ReceptiveFieldPair * > *self,std::vector< ReceptiveFieldPair * >::value_type x){
7545  self->push_back(x);
7546  }
7547 SWIGINTERN std::vector< ReceptiveFieldPair * >::iterator std_vector_Sl_ReceptiveFieldPair_Sm__Sg__erase__SWIG_0(std::vector< ReceptiveFieldPair * > *self,std::vector< ReceptiveFieldPair * >::iterator pos){ return self->erase(pos); }
7548 SWIGINTERN std::vector< ReceptiveFieldPair * >::iterator std_vector_Sl_ReceptiveFieldPair_Sm__Sg__erase__SWIG_1(std::vector< ReceptiveFieldPair * > *self,std::vector< ReceptiveFieldPair * >::iterator first,std::vector< ReceptiveFieldPair * >::iterator last){ return self->erase(first, last); }
7549 SWIGINTERN std::vector< ReceptiveFieldPair * >::iterator std_vector_Sl_ReceptiveFieldPair_Sm__Sg__insert__SWIG_0(std::vector< ReceptiveFieldPair * > *self,std::vector< ReceptiveFieldPair * >::iterator pos,std::vector< ReceptiveFieldPair * >::value_type x){ return self->insert(pos, x); }
7550 SWIGINTERN void std_vector_Sl_ReceptiveFieldPair_Sm__Sg__insert__SWIG_1(std::vector< ReceptiveFieldPair * > *self,std::vector< ReceptiveFieldPair * >::iterator pos,std::vector< ReceptiveFieldPair * >::size_type n,std::vector< ReceptiveFieldPair * >::value_type x){ self->insert(pos, n, x); }
7551 
7552  namespace swig {
7553  template <> struct traits<ReceptiveField > {
7554  typedef pointer_category category;
7555  static const char* type_name() { return"ReceptiveField"; }
7556  };
7557  }
7558 
7559 
7560  namespace swig {
7561  template <> struct traits<std::vector<ReceptiveField*, std::allocator< ReceptiveField * > > > {
7562  typedef value_category category;
7563  static const char* type_name() {
7564  return "std::vector<" "ReceptiveField" " *," "std::allocator< ReceptiveField * >" " >";
7565  }
7566  };
7567  }
7568 
7569 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_ReceptiveField_Sm__Sg__iterator(std::vector< ReceptiveField * > *self,PyObject **PYTHON_SELF){
7570  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
7571  }
7572 SWIGINTERN bool std_vector_Sl_ReceptiveField_Sm__Sg____nonzero__(std::vector< ReceptiveField * > const *self){
7573  return !(self->empty());
7574  }
7575 SWIGINTERN bool std_vector_Sl_ReceptiveField_Sm__Sg____bool__(std::vector< ReceptiveField * > const *self){
7576  return !(self->empty());
7577  }
7578 SWIGINTERN std::vector< ReceptiveField * >::size_type std_vector_Sl_ReceptiveField_Sm__Sg____len__(std::vector< ReceptiveField * > const *self){
7579  return self->size();
7580  }
7581 SWIGINTERN std::vector< ReceptiveField * >::value_type std_vector_Sl_ReceptiveField_Sm__Sg__pop(std::vector< ReceptiveField * > *self){
7582  if (self->size() == 0)
7583  throw std::out_of_range("pop from empty container");
7584  std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >::value_type x = self->back();
7585  self->pop_back();
7586  return x;
7587  }
7588 SWIGINTERN std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > *std_vector_Sl_ReceptiveField_Sm__Sg____getslice__(std::vector< ReceptiveField * > *self,std::vector< ReceptiveField * >::difference_type i,std::vector< ReceptiveField * >::difference_type j){
7589  return swig::getslice(self, i, j, 1);
7590  }
7591 SWIGINTERN void std_vector_Sl_ReceptiveField_Sm__Sg____setslice____SWIG_0(std::vector< ReceptiveField * > *self,std::vector< ReceptiveField * >::difference_type i,std::vector< ReceptiveField * >::difference_type j,std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > const &v=std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >()){
7592  swig::setslice(self, i, j, 1, v);
7593  }
7594 SWIGINTERN void std_vector_Sl_ReceptiveField_Sm__Sg____delslice__(std::vector< ReceptiveField * > *self,std::vector< ReceptiveField * >::difference_type i,std::vector< ReceptiveField * >::difference_type j){
7595  swig::delslice(self, i, j, 1);
7596  }
7597 SWIGINTERN void std_vector_Sl_ReceptiveField_Sm__Sg____delitem____SWIG_0(std::vector< ReceptiveField * > *self,std::vector< ReceptiveField * >::difference_type i){
7598  self->erase(swig::getpos(self,i));
7599  }
7600 SWIGINTERN std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > *std_vector_Sl_ReceptiveField_Sm__Sg____getitem____SWIG_0(std::vector< ReceptiveField * > *self,PySliceObject *slice){
7601  Py_ssize_t i, j, step;
7602  if( !PySlice_Check(slice) ) {
7603  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7604  return NULL;
7605  }
7606  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7607  std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >::difference_type id = i;
7608  std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >::difference_type jd = j;
7609  return swig::getslice(self, id, jd, step);
7610  }
7611 SWIGINTERN void std_vector_Sl_ReceptiveField_Sm__Sg____setitem____SWIG_0(std::vector< ReceptiveField * > *self,PySliceObject *slice,std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > const &v){
7612  Py_ssize_t i, j, step;
7613  if( !PySlice_Check(slice) ) {
7614  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7615  return;
7616  }
7617  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7618  std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >::difference_type id = i;
7619  std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >::difference_type jd = j;
7620  swig::setslice(self, id, jd, step, v);
7621  }
7622 SWIGINTERN void std_vector_Sl_ReceptiveField_Sm__Sg____setitem____SWIG_1(std::vector< ReceptiveField * > *self,PySliceObject *slice){
7623  Py_ssize_t i, j, step;
7624  if( !PySlice_Check(slice) ) {
7625  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7626  return;
7627  }
7628  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7629  std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >::difference_type id = i;
7630  std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >::difference_type jd = j;
7631  swig::delslice(self, id, jd, step);
7632  }
7633 SWIGINTERN void std_vector_Sl_ReceptiveField_Sm__Sg____delitem____SWIG_1(std::vector< ReceptiveField * > *self,PySliceObject *slice){
7634  Py_ssize_t i, j, step;
7635  if( !PySlice_Check(slice) ) {
7636  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7637  return;
7638  }
7639  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7640  std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >::difference_type id = i;
7641  std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >::difference_type jd = j;
7642  swig::delslice(self, id, jd, step);
7643  }
7644 SWIGINTERN std::vector< ReceptiveField * >::value_type std_vector_Sl_ReceptiveField_Sm__Sg____getitem____SWIG_1(std::vector< ReceptiveField * > *self,std::vector< ReceptiveField * >::difference_type i){
7645  return *(swig::cgetpos(self, i));
7646  }
7647 SWIGINTERN void std_vector_Sl_ReceptiveField_Sm__Sg____setitem____SWIG_2(std::vector< ReceptiveField * > *self,std::vector< ReceptiveField * >::difference_type i,std::vector< ReceptiveField * >::value_type x){
7648  *(swig::getpos(self,i)) = x;
7649  }
7650 SWIGINTERN void std_vector_Sl_ReceptiveField_Sm__Sg__append(std::vector< ReceptiveField * > *self,std::vector< ReceptiveField * >::value_type x){
7651  self->push_back(x);
7652  }
7653 SWIGINTERN std::vector< ReceptiveField * >::iterator std_vector_Sl_ReceptiveField_Sm__Sg__erase__SWIG_0(std::vector< ReceptiveField * > *self,std::vector< ReceptiveField * >::iterator pos){ return self->erase(pos); }
7654 SWIGINTERN std::vector< ReceptiveField * >::iterator std_vector_Sl_ReceptiveField_Sm__Sg__erase__SWIG_1(std::vector< ReceptiveField * > *self,std::vector< ReceptiveField * >::iterator first,std::vector< ReceptiveField * >::iterator last){ return self->erase(first, last); }
7655 SWIGINTERN std::vector< ReceptiveField * >::iterator std_vector_Sl_ReceptiveField_Sm__Sg__insert__SWIG_0(std::vector< ReceptiveField * > *self,std::vector< ReceptiveField * >::iterator pos,std::vector< ReceptiveField * >::value_type x){ return self->insert(pos, x); }
7656 SWIGINTERN void std_vector_Sl_ReceptiveField_Sm__Sg__insert__SWIG_1(std::vector< ReceptiveField * > *self,std::vector< ReceptiveField * >::iterator pos,std::vector< ReceptiveField * >::size_type n,std::vector< ReceptiveField * >::value_type x){ self->insert(pos, n, x); }
7657 
7658  namespace swig {
7659  template <> struct traits<RigidBody > {
7660  typedef pointer_category category;
7661  static const char* type_name() { return"RigidBody"; }
7662  };
7663  }
7664 
7665 
7666  namespace swig {
7667  template <> struct traits<std::vector<RigidBody*, std::allocator< RigidBody * > > > {
7668  typedef value_category category;
7669  static const char* type_name() {
7670  return "std::vector<" "RigidBody" " *," "std::allocator< RigidBody * >" " >";
7671  }
7672  };
7673  }
7674 
7675 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_RigidBody_Sm__Sg__iterator(std::vector< RigidBody * > *self,PyObject **PYTHON_SELF){
7676  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
7677  }
7678 SWIGINTERN bool std_vector_Sl_RigidBody_Sm__Sg____nonzero__(std::vector< RigidBody * > const *self){
7679  return !(self->empty());
7680  }
7681 SWIGINTERN bool std_vector_Sl_RigidBody_Sm__Sg____bool__(std::vector< RigidBody * > const *self){
7682  return !(self->empty());
7683  }
7684 SWIGINTERN std::vector< RigidBody * >::size_type std_vector_Sl_RigidBody_Sm__Sg____len__(std::vector< RigidBody * > const *self){
7685  return self->size();
7686  }
7687 SWIGINTERN std::vector< RigidBody * >::value_type std_vector_Sl_RigidBody_Sm__Sg__pop(std::vector< RigidBody * > *self){
7688  if (self->size() == 0)
7689  throw std::out_of_range("pop from empty container");
7690  std::vector<RigidBody*,std::allocator< RigidBody * > >::value_type x = self->back();
7691  self->pop_back();
7692  return x;
7693  }
7694 SWIGINTERN std::vector< RigidBody *,std::allocator< RigidBody * > > *std_vector_Sl_RigidBody_Sm__Sg____getslice__(std::vector< RigidBody * > *self,std::vector< RigidBody * >::difference_type i,std::vector< RigidBody * >::difference_type j){
7695  return swig::getslice(self, i, j, 1);
7696  }
7697 SWIGINTERN void std_vector_Sl_RigidBody_Sm__Sg____setslice____SWIG_0(std::vector< RigidBody * > *self,std::vector< RigidBody * >::difference_type i,std::vector< RigidBody * >::difference_type j,std::vector< RigidBody *,std::allocator< RigidBody * > > const &v=std::vector< RigidBody *,std::allocator< RigidBody * > >()){
7698  swig::setslice(self, i, j, 1, v);
7699  }
7700 SWIGINTERN void std_vector_Sl_RigidBody_Sm__Sg____delslice__(std::vector< RigidBody * > *self,std::vector< RigidBody * >::difference_type i,std::vector< RigidBody * >::difference_type j){
7701  swig::delslice(self, i, j, 1);
7702  }
7703 SWIGINTERN void std_vector_Sl_RigidBody_Sm__Sg____delitem____SWIG_0(std::vector< RigidBody * > *self,std::vector< RigidBody * >::difference_type i){
7704  self->erase(swig::getpos(self,i));
7705  }
7706 SWIGINTERN std::vector< RigidBody *,std::allocator< RigidBody * > > *std_vector_Sl_RigidBody_Sm__Sg____getitem____SWIG_0(std::vector< RigidBody * > *self,PySliceObject *slice){
7707  Py_ssize_t i, j, step;
7708  if( !PySlice_Check(slice) ) {
7709  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7710  return NULL;
7711  }
7712  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7713  std::vector<RigidBody*,std::allocator< RigidBody * > >::difference_type id = i;
7714  std::vector<RigidBody*,std::allocator< RigidBody * > >::difference_type jd = j;
7715  return swig::getslice(self, id, jd, step);
7716  }
7717 SWIGINTERN void std_vector_Sl_RigidBody_Sm__Sg____setitem____SWIG_0(std::vector< RigidBody * > *self,PySliceObject *slice,std::vector< RigidBody *,std::allocator< RigidBody * > > const &v){
7718  Py_ssize_t i, j, step;
7719  if( !PySlice_Check(slice) ) {
7720  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7721  return;
7722  }
7723  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7724  std::vector<RigidBody*,std::allocator< RigidBody * > >::difference_type id = i;
7725  std::vector<RigidBody*,std::allocator< RigidBody * > >::difference_type jd = j;
7726  swig::setslice(self, id, jd, step, v);
7727  }
7728 SWIGINTERN void std_vector_Sl_RigidBody_Sm__Sg____setitem____SWIG_1(std::vector< RigidBody * > *self,PySliceObject *slice){
7729  Py_ssize_t i, j, step;
7730  if( !PySlice_Check(slice) ) {
7731  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7732  return;
7733  }
7734  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7735  std::vector<RigidBody*,std::allocator< RigidBody * > >::difference_type id = i;
7736  std::vector<RigidBody*,std::allocator< RigidBody * > >::difference_type jd = j;
7737  swig::delslice(self, id, jd, step);
7738  }
7739 SWIGINTERN void std_vector_Sl_RigidBody_Sm__Sg____delitem____SWIG_1(std::vector< RigidBody * > *self,PySliceObject *slice){
7740  Py_ssize_t i, j, step;
7741  if( !PySlice_Check(slice) ) {
7742  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7743  return;
7744  }
7745  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7746  std::vector<RigidBody*,std::allocator< RigidBody * > >::difference_type id = i;
7747  std::vector<RigidBody*,std::allocator< RigidBody * > >::difference_type jd = j;
7748  swig::delslice(self, id, jd, step);
7749  }
7750 SWIGINTERN std::vector< RigidBody * >::value_type std_vector_Sl_RigidBody_Sm__Sg____getitem____SWIG_1(std::vector< RigidBody * > *self,std::vector< RigidBody * >::difference_type i){
7751  return *(swig::cgetpos(self, i));
7752  }
7753 SWIGINTERN void std_vector_Sl_RigidBody_Sm__Sg____setitem____SWIG_2(std::vector< RigidBody * > *self,std::vector< RigidBody * >::difference_type i,std::vector< RigidBody * >::value_type x){
7754  *(swig::getpos(self,i)) = x;
7755  }
7756 SWIGINTERN void std_vector_Sl_RigidBody_Sm__Sg__append(std::vector< RigidBody * > *self,std::vector< RigidBody * >::value_type x){
7757  self->push_back(x);
7758  }
7759 SWIGINTERN std::vector< RigidBody * >::iterator std_vector_Sl_RigidBody_Sm__Sg__erase__SWIG_0(std::vector< RigidBody * > *self,std::vector< RigidBody * >::iterator pos){ return self->erase(pos); }
7760 SWIGINTERN std::vector< RigidBody * >::iterator std_vector_Sl_RigidBody_Sm__Sg__erase__SWIG_1(std::vector< RigidBody * > *self,std::vector< RigidBody * >::iterator first,std::vector< RigidBody * >::iterator last){ return self->erase(first, last); }
7761 SWIGINTERN std::vector< RigidBody * >::iterator std_vector_Sl_RigidBody_Sm__Sg__insert__SWIG_0(std::vector< RigidBody * > *self,std::vector< RigidBody * >::iterator pos,std::vector< RigidBody * >::value_type x){ return self->insert(pos, x); }
7762 SWIGINTERN void std_vector_Sl_RigidBody_Sm__Sg__insert__SWIG_1(std::vector< RigidBody * > *self,std::vector< RigidBody * >::iterator pos,std::vector< RigidBody * >::size_type n,std::vector< RigidBody * >::value_type x){ self->insert(pos, n, x); }
7763 
7764  namespace swig {
7765  template <> struct traits<RobotInterface > {
7766  typedef pointer_category category;
7767  static const char* type_name() { return"RobotInterface"; }
7768  };
7769  }
7770 
7771 
7772  namespace swig {
7773  template <> struct traits<std::vector<RobotInterface*, std::allocator< RobotInterface * > > > {
7774  typedef value_category category;
7775  static const char* type_name() {
7776  return "std::vector<" "RobotInterface" " *," "std::allocator< RobotInterface * >" " >";
7777  }
7778  };
7779  }
7780 
7781 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_RobotInterface_Sm__Sg__iterator(std::vector< RobotInterface * > *self,PyObject **PYTHON_SELF){
7782  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
7783  }
7784 SWIGINTERN bool std_vector_Sl_RobotInterface_Sm__Sg____nonzero__(std::vector< RobotInterface * > const *self){
7785  return !(self->empty());
7786  }
7787 SWIGINTERN bool std_vector_Sl_RobotInterface_Sm__Sg____bool__(std::vector< RobotInterface * > const *self){
7788  return !(self->empty());
7789  }
7790 SWIGINTERN std::vector< RobotInterface * >::size_type std_vector_Sl_RobotInterface_Sm__Sg____len__(std::vector< RobotInterface * > const *self){
7791  return self->size();
7792  }
7793 SWIGINTERN std::vector< RobotInterface * >::value_type std_vector_Sl_RobotInterface_Sm__Sg__pop(std::vector< RobotInterface * > *self){
7794  if (self->size() == 0)
7795  throw std::out_of_range("pop from empty container");
7796  std::vector<RobotInterface*,std::allocator< RobotInterface * > >::value_type x = self->back();
7797  self->pop_back();
7798  return x;
7799  }
7800 SWIGINTERN std::vector< RobotInterface *,std::allocator< RobotInterface * > > *std_vector_Sl_RobotInterface_Sm__Sg____getslice__(std::vector< RobotInterface * > *self,std::vector< RobotInterface * >::difference_type i,std::vector< RobotInterface * >::difference_type j){
7801  return swig::getslice(self, i, j, 1);
7802  }
7803 SWIGINTERN void std_vector_Sl_RobotInterface_Sm__Sg____setslice____SWIG_0(std::vector< RobotInterface * > *self,std::vector< RobotInterface * >::difference_type i,std::vector< RobotInterface * >::difference_type j,std::vector< RobotInterface *,std::allocator< RobotInterface * > > const &v=std::vector< RobotInterface *,std::allocator< RobotInterface * > >()){
7804  swig::setslice(self, i, j, 1, v);
7805  }
7806 SWIGINTERN void std_vector_Sl_RobotInterface_Sm__Sg____delslice__(std::vector< RobotInterface * > *self,std::vector< RobotInterface * >::difference_type i,std::vector< RobotInterface * >::difference_type j){
7807  swig::delslice(self, i, j, 1);
7808  }
7809 SWIGINTERN void std_vector_Sl_RobotInterface_Sm__Sg____delitem____SWIG_0(std::vector< RobotInterface * > *self,std::vector< RobotInterface * >::difference_type i){
7810  self->erase(swig::getpos(self,i));
7811  }
7812 SWIGINTERN std::vector< RobotInterface *,std::allocator< RobotInterface * > > *std_vector_Sl_RobotInterface_Sm__Sg____getitem____SWIG_0(std::vector< RobotInterface * > *self,PySliceObject *slice){
7813  Py_ssize_t i, j, step;
7814  if( !PySlice_Check(slice) ) {
7815  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7816  return NULL;
7817  }
7818  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7819  std::vector<RobotInterface*,std::allocator< RobotInterface * > >::difference_type id = i;
7820  std::vector<RobotInterface*,std::allocator< RobotInterface * > >::difference_type jd = j;
7821  return swig::getslice(self, id, jd, step);
7822  }
7823 SWIGINTERN void std_vector_Sl_RobotInterface_Sm__Sg____setitem____SWIG_0(std::vector< RobotInterface * > *self,PySliceObject *slice,std::vector< RobotInterface *,std::allocator< RobotInterface * > > const &v){
7824  Py_ssize_t i, j, step;
7825  if( !PySlice_Check(slice) ) {
7826  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7827  return;
7828  }
7829  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7830  std::vector<RobotInterface*,std::allocator< RobotInterface * > >::difference_type id = i;
7831  std::vector<RobotInterface*,std::allocator< RobotInterface * > >::difference_type jd = j;
7832  swig::setslice(self, id, jd, step, v);
7833  }
7834 SWIGINTERN void std_vector_Sl_RobotInterface_Sm__Sg____setitem____SWIG_1(std::vector< RobotInterface * > *self,PySliceObject *slice){
7835  Py_ssize_t i, j, step;
7836  if( !PySlice_Check(slice) ) {
7837  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7838  return;
7839  }
7840  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7841  std::vector<RobotInterface*,std::allocator< RobotInterface * > >::difference_type id = i;
7842  std::vector<RobotInterface*,std::allocator< RobotInterface * > >::difference_type jd = j;
7843  swig::delslice(self, id, jd, step);
7844  }
7845 SWIGINTERN void std_vector_Sl_RobotInterface_Sm__Sg____delitem____SWIG_1(std::vector< RobotInterface * > *self,PySliceObject *slice){
7846  Py_ssize_t i, j, step;
7847  if( !PySlice_Check(slice) ) {
7848  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7849  return;
7850  }
7851  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7852  std::vector<RobotInterface*,std::allocator< RobotInterface * > >::difference_type id = i;
7853  std::vector<RobotInterface*,std::allocator< RobotInterface * > >::difference_type jd = j;
7854  swig::delslice(self, id, jd, step);
7855  }
7856 SWIGINTERN std::vector< RobotInterface * >::value_type std_vector_Sl_RobotInterface_Sm__Sg____getitem____SWIG_1(std::vector< RobotInterface * > *self,std::vector< RobotInterface * >::difference_type i){
7857  return *(swig::cgetpos(self, i));
7858  }
7859 SWIGINTERN void std_vector_Sl_RobotInterface_Sm__Sg____setitem____SWIG_2(std::vector< RobotInterface * > *self,std::vector< RobotInterface * >::difference_type i,std::vector< RobotInterface * >::value_type x){
7860  *(swig::getpos(self,i)) = x;
7861  }
7862 SWIGINTERN void std_vector_Sl_RobotInterface_Sm__Sg__append(std::vector< RobotInterface * > *self,std::vector< RobotInterface * >::value_type x){
7863  self->push_back(x);
7864  }
7865 SWIGINTERN std::vector< RobotInterface * >::iterator std_vector_Sl_RobotInterface_Sm__Sg__erase__SWIG_0(std::vector< RobotInterface * > *self,std::vector< RobotInterface * >::iterator pos){ return self->erase(pos); }
7866 SWIGINTERN std::vector< RobotInterface * >::iterator std_vector_Sl_RobotInterface_Sm__Sg__erase__SWIG_1(std::vector< RobotInterface * > *self,std::vector< RobotInterface * >::iterator first,std::vector< RobotInterface * >::iterator last){ return self->erase(first, last); }
7867 SWIGINTERN std::vector< RobotInterface * >::iterator std_vector_Sl_RobotInterface_Sm__Sg__insert__SWIG_0(std::vector< RobotInterface * > *self,std::vector< RobotInterface * >::iterator pos,std::vector< RobotInterface * >::value_type x){ return self->insert(pos, x); }
7868 SWIGINTERN void std_vector_Sl_RobotInterface_Sm__Sg__insert__SWIG_1(std::vector< RobotInterface * > *self,std::vector< RobotInterface * >::iterator pos,std::vector< RobotInterface * >::size_type n,std::vector< RobotInterface * >::value_type x){ self->insert(pos, n, x); }
7869 
7870  namespace swig {
7871  template <> struct traits<RobotIOControl > {
7872  typedef pointer_category category;
7873  static const char* type_name() { return"RobotIOControl"; }
7874  };
7875  }
7876 
7877 
7878  namespace swig {
7879  template <> struct traits<std::vector<RobotIOControl*, std::allocator< RobotIOControl * > > > {
7880  typedef value_category category;
7881  static const char* type_name() {
7882  return "std::vector<" "RobotIOControl" " *," "std::allocator< RobotIOControl * >" " >";
7883  }
7884  };
7885  }
7886 
7887 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_RobotIOControl_Sm__Sg__iterator(std::vector< RobotIOControl * > *self,PyObject **PYTHON_SELF){
7888  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
7889  }
7890 SWIGINTERN bool std_vector_Sl_RobotIOControl_Sm__Sg____nonzero__(std::vector< RobotIOControl * > const *self){
7891  return !(self->empty());
7892  }
7893 SWIGINTERN bool std_vector_Sl_RobotIOControl_Sm__Sg____bool__(std::vector< RobotIOControl * > const *self){
7894  return !(self->empty());
7895  }
7896 SWIGINTERN std::vector< RobotIOControl * >::size_type std_vector_Sl_RobotIOControl_Sm__Sg____len__(std::vector< RobotIOControl * > const *self){
7897  return self->size();
7898  }
7899 SWIGINTERN std::vector< RobotIOControl * >::value_type std_vector_Sl_RobotIOControl_Sm__Sg__pop(std::vector< RobotIOControl * > *self){
7900  if (self->size() == 0)
7901  throw std::out_of_range("pop from empty container");
7902  std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >::value_type x = self->back();
7903  self->pop_back();
7904  return x;
7905  }
7906 SWIGINTERN std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > *std_vector_Sl_RobotIOControl_Sm__Sg____getslice__(std::vector< RobotIOControl * > *self,std::vector< RobotIOControl * >::difference_type i,std::vector< RobotIOControl * >::difference_type j){
7907  return swig::getslice(self, i, j, 1);
7908  }
7909 SWIGINTERN void std_vector_Sl_RobotIOControl_Sm__Sg____setslice____SWIG_0(std::vector< RobotIOControl * > *self,std::vector< RobotIOControl * >::difference_type i,std::vector< RobotIOControl * >::difference_type j,std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > const &v=std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >()){
7910  swig::setslice(self, i, j, 1, v);
7911  }
7912 SWIGINTERN void std_vector_Sl_RobotIOControl_Sm__Sg____delslice__(std::vector< RobotIOControl * > *self,std::vector< RobotIOControl * >::difference_type i,std::vector< RobotIOControl * >::difference_type j){
7913  swig::delslice(self, i, j, 1);
7914  }
7915 SWIGINTERN void std_vector_Sl_RobotIOControl_Sm__Sg____delitem____SWIG_0(std::vector< RobotIOControl * > *self,std::vector< RobotIOControl * >::difference_type i){
7916  self->erase(swig::getpos(self,i));
7917  }
7918 SWIGINTERN std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > *std_vector_Sl_RobotIOControl_Sm__Sg____getitem____SWIG_0(std::vector< RobotIOControl * > *self,PySliceObject *slice){
7919  Py_ssize_t i, j, step;
7920  if( !PySlice_Check(slice) ) {
7921  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7922  return NULL;
7923  }
7924  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7925  std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >::difference_type id = i;
7926  std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >::difference_type jd = j;
7927  return swig::getslice(self, id, jd, step);
7928  }
7929 SWIGINTERN void std_vector_Sl_RobotIOControl_Sm__Sg____setitem____SWIG_0(std::vector< RobotIOControl * > *self,PySliceObject *slice,std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > const &v){
7930  Py_ssize_t i, j, step;
7931  if( !PySlice_Check(slice) ) {
7932  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7933  return;
7934  }
7935  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7936  std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >::difference_type id = i;
7937  std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >::difference_type jd = j;
7938  swig::setslice(self, id, jd, step, v);
7939  }
7940 SWIGINTERN void std_vector_Sl_RobotIOControl_Sm__Sg____setitem____SWIG_1(std::vector< RobotIOControl * > *self,PySliceObject *slice){
7941  Py_ssize_t i, j, step;
7942  if( !PySlice_Check(slice) ) {
7943  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7944  return;
7945  }
7946  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7947  std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >::difference_type id = i;
7948  std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >::difference_type jd = j;
7949  swig::delslice(self, id, jd, step);
7950  }
7951 SWIGINTERN void std_vector_Sl_RobotIOControl_Sm__Sg____delitem____SWIG_1(std::vector< RobotIOControl * > *self,PySliceObject *slice){
7952  Py_ssize_t i, j, step;
7953  if( !PySlice_Check(slice) ) {
7954  SWIG_Error(SWIG_TypeError, "Slice object expected.");
7955  return;
7956  }
7957  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7958  std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >::difference_type id = i;
7959  std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >::difference_type jd = j;
7960  swig::delslice(self, id, jd, step);
7961  }
7962 SWIGINTERN std::vector< RobotIOControl * >::value_type std_vector_Sl_RobotIOControl_Sm__Sg____getitem____SWIG_1(std::vector< RobotIOControl * > *self,std::vector< RobotIOControl * >::difference_type i){
7963  return *(swig::cgetpos(self, i));
7964  }
7965 SWIGINTERN void std_vector_Sl_RobotIOControl_Sm__Sg____setitem____SWIG_2(std::vector< RobotIOControl * > *self,std::vector< RobotIOControl * >::difference_type i,std::vector< RobotIOControl * >::value_type x){
7966  *(swig::getpos(self,i)) = x;
7967  }
7968 SWIGINTERN void std_vector_Sl_RobotIOControl_Sm__Sg__append(std::vector< RobotIOControl * > *self,std::vector< RobotIOControl * >::value_type x){
7969  self->push_back(x);
7970  }
7971 SWIGINTERN std::vector< RobotIOControl * >::iterator std_vector_Sl_RobotIOControl_Sm__Sg__erase__SWIG_0(std::vector< RobotIOControl * > *self,std::vector< RobotIOControl * >::iterator pos){ return self->erase(pos); }
7972 SWIGINTERN std::vector< RobotIOControl * >::iterator std_vector_Sl_RobotIOControl_Sm__Sg__erase__SWIG_1(std::vector< RobotIOControl * > *self,std::vector< RobotIOControl * >::iterator first,std::vector< RobotIOControl * >::iterator last){ return self->erase(first, last); }
7973 SWIGINTERN std::vector< RobotIOControl * >::iterator std_vector_Sl_RobotIOControl_Sm__Sg__insert__SWIG_0(std::vector< RobotIOControl * > *self,std::vector< RobotIOControl * >::iterator pos,std::vector< RobotIOControl * >::value_type x){ return self->insert(pos, x); }
7974 SWIGINTERN void std_vector_Sl_RobotIOControl_Sm__Sg__insert__SWIG_1(std::vector< RobotIOControl * > *self,std::vector< RobotIOControl * >::iterator pos,std::vector< RobotIOControl * >::size_type n,std::vector< RobotIOControl * >::value_type x){ self->insert(pos, n, x); }
7975 
7976  namespace swig {
7977  template <> struct traits<RobotPartInterface > {
7978  typedef pointer_category category;
7979  static const char* type_name() { return"RobotPartInterface"; }
7980  };
7981  }
7982 
7983 
7984  namespace swig {
7985  template <> struct traits<std::vector<RobotPartInterface*, std::allocator< RobotPartInterface * > > > {
7986  typedef value_category category;
7987  static const char* type_name() {
7988  return "std::vector<" "RobotPartInterface" " *," "std::allocator< RobotPartInterface * >" " >";
7989  }
7990  };
7991  }
7992 
7993 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_RobotPartInterface_Sm__Sg__iterator(std::vector< RobotPartInterface * > *self,PyObject **PYTHON_SELF){
7994  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
7995  }
7996 SWIGINTERN bool std_vector_Sl_RobotPartInterface_Sm__Sg____nonzero__(std::vector< RobotPartInterface * > const *self){
7997  return !(self->empty());
7998  }
7999 SWIGINTERN bool std_vector_Sl_RobotPartInterface_Sm__Sg____bool__(std::vector< RobotPartInterface * > const *self){
8000  return !(self->empty());
8001  }
8002 SWIGINTERN std::vector< RobotPartInterface * >::size_type std_vector_Sl_RobotPartInterface_Sm__Sg____len__(std::vector< RobotPartInterface * > const *self){
8003  return self->size();
8004  }
8005 SWIGINTERN std::vector< RobotPartInterface * >::value_type std_vector_Sl_RobotPartInterface_Sm__Sg__pop(std::vector< RobotPartInterface * > *self){
8006  if (self->size() == 0)
8007  throw std::out_of_range("pop from empty container");
8008  std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >::value_type x = self->back();
8009  self->pop_back();
8010  return x;
8011  }
8012 SWIGINTERN std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > *std_vector_Sl_RobotPartInterface_Sm__Sg____getslice__(std::vector< RobotPartInterface * > *self,std::vector< RobotPartInterface * >::difference_type i,std::vector< RobotPartInterface * >::difference_type j){
8013  return swig::getslice(self, i, j, 1);
8014  }
8015 SWIGINTERN void std_vector_Sl_RobotPartInterface_Sm__Sg____setslice____SWIG_0(std::vector< RobotPartInterface * > *self,std::vector< RobotPartInterface * >::difference_type i,std::vector< RobotPartInterface * >::difference_type j,std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > const &v=std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >()){
8016  swig::setslice(self, i, j, 1, v);
8017  }
8018 SWIGINTERN void std_vector_Sl_RobotPartInterface_Sm__Sg____delslice__(std::vector< RobotPartInterface * > *self,std::vector< RobotPartInterface * >::difference_type i,std::vector< RobotPartInterface * >::difference_type j){
8019  swig::delslice(self, i, j, 1);
8020  }
8021 SWIGINTERN void std_vector_Sl_RobotPartInterface_Sm__Sg____delitem____SWIG_0(std::vector< RobotPartInterface * > *self,std::vector< RobotPartInterface * >::difference_type i){
8022  self->erase(swig::getpos(self,i));
8023  }
8024 SWIGINTERN std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > *std_vector_Sl_RobotPartInterface_Sm__Sg____getitem____SWIG_0(std::vector< RobotPartInterface * > *self,PySliceObject *slice){
8025  Py_ssize_t i, j, step;
8026  if( !PySlice_Check(slice) ) {
8027  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8028  return NULL;
8029  }
8030  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8031  std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >::difference_type id = i;
8032  std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >::difference_type jd = j;
8033  return swig::getslice(self, id, jd, step);
8034  }
8035 SWIGINTERN void std_vector_Sl_RobotPartInterface_Sm__Sg____setitem____SWIG_0(std::vector< RobotPartInterface * > *self,PySliceObject *slice,std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > const &v){
8036  Py_ssize_t i, j, step;
8037  if( !PySlice_Check(slice) ) {
8038  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8039  return;
8040  }
8041  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8042  std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >::difference_type id = i;
8043  std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >::difference_type jd = j;
8044  swig::setslice(self, id, jd, step, v);
8045  }
8046 SWIGINTERN void std_vector_Sl_RobotPartInterface_Sm__Sg____setitem____SWIG_1(std::vector< RobotPartInterface * > *self,PySliceObject *slice){
8047  Py_ssize_t i, j, step;
8048  if( !PySlice_Check(slice) ) {
8049  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8050  return;
8051  }
8052  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8053  std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >::difference_type id = i;
8054  std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >::difference_type jd = j;
8055  swig::delslice(self, id, jd, step);
8056  }
8057 SWIGINTERN void std_vector_Sl_RobotPartInterface_Sm__Sg____delitem____SWIG_1(std::vector< RobotPartInterface * > *self,PySliceObject *slice){
8058  Py_ssize_t i, j, step;
8059  if( !PySlice_Check(slice) ) {
8060  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8061  return;
8062  }
8063  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8064  std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >::difference_type id = i;
8065  std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >::difference_type jd = j;
8066  swig::delslice(self, id, jd, step);
8067  }
8068 SWIGINTERN std::vector< RobotPartInterface * >::value_type std_vector_Sl_RobotPartInterface_Sm__Sg____getitem____SWIG_1(std::vector< RobotPartInterface * > *self,std::vector< RobotPartInterface * >::difference_type i){
8069  return *(swig::cgetpos(self, i));
8070  }
8071 SWIGINTERN void std_vector_Sl_RobotPartInterface_Sm__Sg____setitem____SWIG_2(std::vector< RobotPartInterface * > *self,std::vector< RobotPartInterface * >::difference_type i,std::vector< RobotPartInterface * >::value_type x){
8072  *(swig::getpos(self,i)) = x;
8073  }
8074 SWIGINTERN void std_vector_Sl_RobotPartInterface_Sm__Sg__append(std::vector< RobotPartInterface * > *self,std::vector< RobotPartInterface * >::value_type x){
8075  self->push_back(x);
8076  }
8077 SWIGINTERN std::vector< RobotPartInterface * >::iterator std_vector_Sl_RobotPartInterface_Sm__Sg__erase__SWIG_0(std::vector< RobotPartInterface * > *self,std::vector< RobotPartInterface * >::iterator pos){ return self->erase(pos); }
8078 SWIGINTERN std::vector< RobotPartInterface * >::iterator std_vector_Sl_RobotPartInterface_Sm__Sg__erase__SWIG_1(std::vector< RobotPartInterface * > *self,std::vector< RobotPartInterface * >::iterator first,std::vector< RobotPartInterface * >::iterator last){ return self->erase(first, last); }
8079 SWIGINTERN std::vector< RobotPartInterface * >::iterator std_vector_Sl_RobotPartInterface_Sm__Sg__insert__SWIG_0(std::vector< RobotPartInterface * > *self,std::vector< RobotPartInterface * >::iterator pos,std::vector< RobotPartInterface * >::value_type x){ return self->insert(pos, x); }
8080 SWIGINTERN void std_vector_Sl_RobotPartInterface_Sm__Sg__insert__SWIG_1(std::vector< RobotPartInterface * > *self,std::vector< RobotPartInterface * >::iterator pos,std::vector< RobotPartInterface * >::size_type n,std::vector< RobotPartInterface * >::value_type x){ self->insert(pos, n, x); }
8081 
8082  namespace swig {
8083  template <> struct traits<SimulationWindow > {
8084  typedef pointer_category category;
8085  static const char* type_name() { return"SimulationWindow"; }
8086  };
8087  }
8088 
8089 
8090  namespace swig {
8091  template <> struct traits<std::vector<SimulationWindow*, std::allocator< SimulationWindow * > > > {
8092  typedef value_category category;
8093  static const char* type_name() {
8094  return "std::vector<" "SimulationWindow" " *," "std::allocator< SimulationWindow * >" " >";
8095  }
8096  };
8097  }
8098 
8099 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_SimulationWindow_Sm__Sg__iterator(std::vector< SimulationWindow * > *self,PyObject **PYTHON_SELF){
8100  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
8101  }
8102 SWIGINTERN bool std_vector_Sl_SimulationWindow_Sm__Sg____nonzero__(std::vector< SimulationWindow * > const *self){
8103  return !(self->empty());
8104  }
8105 SWIGINTERN bool std_vector_Sl_SimulationWindow_Sm__Sg____bool__(std::vector< SimulationWindow * > const *self){
8106  return !(self->empty());
8107  }
8108 SWIGINTERN std::vector< SimulationWindow * >::size_type std_vector_Sl_SimulationWindow_Sm__Sg____len__(std::vector< SimulationWindow * > const *self){
8109  return self->size();
8110  }
8111 SWIGINTERN std::vector< SimulationWindow * >::value_type std_vector_Sl_SimulationWindow_Sm__Sg__pop(std::vector< SimulationWindow * > *self){
8112  if (self->size() == 0)
8113  throw std::out_of_range("pop from empty container");
8114  std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >::value_type x = self->back();
8115  self->pop_back();
8116  return x;
8117  }
8118 SWIGINTERN std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > *std_vector_Sl_SimulationWindow_Sm__Sg____getslice__(std::vector< SimulationWindow * > *self,std::vector< SimulationWindow * >::difference_type i,std::vector< SimulationWindow * >::difference_type j){
8119  return swig::getslice(self, i, j, 1);
8120  }
8121 SWIGINTERN void std_vector_Sl_SimulationWindow_Sm__Sg____setslice____SWIG_0(std::vector< SimulationWindow * > *self,std::vector< SimulationWindow * >::difference_type i,std::vector< SimulationWindow * >::difference_type j,std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > const &v=std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >()){
8122  swig::setslice(self, i, j, 1, v);
8123  }
8124 SWIGINTERN void std_vector_Sl_SimulationWindow_Sm__Sg____delslice__(std::vector< SimulationWindow * > *self,std::vector< SimulationWindow * >::difference_type i,std::vector< SimulationWindow * >::difference_type j){
8125  swig::delslice(self, i, j, 1);
8126  }
8127 SWIGINTERN void std_vector_Sl_SimulationWindow_Sm__Sg____delitem____SWIG_0(std::vector< SimulationWindow * > *self,std::vector< SimulationWindow * >::difference_type i){
8128  self->erase(swig::getpos(self,i));
8129  }
8130 SWIGINTERN std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > *std_vector_Sl_SimulationWindow_Sm__Sg____getitem____SWIG_0(std::vector< SimulationWindow * > *self,PySliceObject *slice){
8131  Py_ssize_t i, j, step;
8132  if( !PySlice_Check(slice) ) {
8133  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8134  return NULL;
8135  }
8136  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8137  std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >::difference_type id = i;
8138  std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >::difference_type jd = j;
8139  return swig::getslice(self, id, jd, step);
8140  }
8141 SWIGINTERN void std_vector_Sl_SimulationWindow_Sm__Sg____setitem____SWIG_0(std::vector< SimulationWindow * > *self,PySliceObject *slice,std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > const &v){
8142  Py_ssize_t i, j, step;
8143  if( !PySlice_Check(slice) ) {
8144  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8145  return;
8146  }
8147  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8148  std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >::difference_type id = i;
8149  std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >::difference_type jd = j;
8150  swig::setslice(self, id, jd, step, v);
8151  }
8152 SWIGINTERN void std_vector_Sl_SimulationWindow_Sm__Sg____setitem____SWIG_1(std::vector< SimulationWindow * > *self,PySliceObject *slice){
8153  Py_ssize_t i, j, step;
8154  if( !PySlice_Check(slice) ) {
8155  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8156  return;
8157  }
8158  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8159  std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >::difference_type id = i;
8160  std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >::difference_type jd = j;
8161  swig::delslice(self, id, jd, step);
8162  }
8163 SWIGINTERN void std_vector_Sl_SimulationWindow_Sm__Sg____delitem____SWIG_1(std::vector< SimulationWindow * > *self,PySliceObject *slice){
8164  Py_ssize_t i, j, step;
8165  if( !PySlice_Check(slice) ) {
8166  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8167  return;
8168  }
8169  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8170  std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >::difference_type id = i;
8171  std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >::difference_type jd = j;
8172  swig::delslice(self, id, jd, step);
8173  }
8174 SWIGINTERN std::vector< SimulationWindow * >::value_type std_vector_Sl_SimulationWindow_Sm__Sg____getitem____SWIG_1(std::vector< SimulationWindow * > *self,std::vector< SimulationWindow * >::difference_type i){
8175  return *(swig::cgetpos(self, i));
8176  }
8177 SWIGINTERN void std_vector_Sl_SimulationWindow_Sm__Sg____setitem____SWIG_2(std::vector< SimulationWindow * > *self,std::vector< SimulationWindow * >::difference_type i,std::vector< SimulationWindow * >::value_type x){
8178  *(swig::getpos(self,i)) = x;
8179  }
8180 SWIGINTERN void std_vector_Sl_SimulationWindow_Sm__Sg__append(std::vector< SimulationWindow * > *self,std::vector< SimulationWindow * >::value_type x){
8181  self->push_back(x);
8182  }
8183 SWIGINTERN std::vector< SimulationWindow * >::iterator std_vector_Sl_SimulationWindow_Sm__Sg__erase__SWIG_0(std::vector< SimulationWindow * > *self,std::vector< SimulationWindow * >::iterator pos){ return self->erase(pos); }
8184 SWIGINTERN std::vector< SimulationWindow * >::iterator std_vector_Sl_SimulationWindow_Sm__Sg__erase__SWIG_1(std::vector< SimulationWindow * > *self,std::vector< SimulationWindow * >::iterator first,std::vector< SimulationWindow * >::iterator last){ return self->erase(first, last); }
8185 SWIGINTERN std::vector< SimulationWindow * >::iterator std_vector_Sl_SimulationWindow_Sm__Sg__insert__SWIG_0(std::vector< SimulationWindow * > *self,std::vector< SimulationWindow * >::iterator pos,std::vector< SimulationWindow * >::value_type x){ return self->insert(pos, x); }
8186 SWIGINTERN void std_vector_Sl_SimulationWindow_Sm__Sg__insert__SWIG_1(std::vector< SimulationWindow * > *self,std::vector< SimulationWindow * >::iterator pos,std::vector< SimulationWindow * >::size_type n,std::vector< SimulationWindow * >::value_type x){ self->insert(pos, n, x); }
8187 
8188  namespace swig {
8189  template <> struct traits<TypeProperty > {
8190  typedef pointer_category category;
8191  static const char* type_name() { return"TypeProperty"; }
8192  };
8193  }
8194 
8195 
8196  namespace swig {
8197  template <> struct traits<std::vector<TypeProperty*, std::allocator< TypeProperty * > > > {
8198  typedef value_category category;
8199  static const char* type_name() {
8200  return "std::vector<" "TypeProperty" " *," "std::allocator< TypeProperty * >" " >";
8201  }
8202  };
8203  }
8204 
8205 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_TypeProperty_Sm__Sg__iterator(std::vector< TypeProperty * > *self,PyObject **PYTHON_SELF){
8206  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
8207  }
8208 SWIGINTERN bool std_vector_Sl_TypeProperty_Sm__Sg____nonzero__(std::vector< TypeProperty * > const *self){
8209  return !(self->empty());
8210  }
8211 SWIGINTERN bool std_vector_Sl_TypeProperty_Sm__Sg____bool__(std::vector< TypeProperty * > const *self){
8212  return !(self->empty());
8213  }
8214 SWIGINTERN std::vector< TypeProperty * >::size_type std_vector_Sl_TypeProperty_Sm__Sg____len__(std::vector< TypeProperty * > const *self){
8215  return self->size();
8216  }
8217 SWIGINTERN std::vector< TypeProperty * >::value_type std_vector_Sl_TypeProperty_Sm__Sg__pop(std::vector< TypeProperty * > *self){
8218  if (self->size() == 0)
8219  throw std::out_of_range("pop from empty container");
8220  std::vector<TypeProperty*,std::allocator< TypeProperty * > >::value_type x = self->back();
8221  self->pop_back();
8222  return x;
8223  }
8224 SWIGINTERN std::vector< TypeProperty *,std::allocator< TypeProperty * > > *std_vector_Sl_TypeProperty_Sm__Sg____getslice__(std::vector< TypeProperty * > *self,std::vector< TypeProperty * >::difference_type i,std::vector< TypeProperty * >::difference_type j){
8225  return swig::getslice(self, i, j, 1);
8226  }
8227 SWIGINTERN void std_vector_Sl_TypeProperty_Sm__Sg____setslice____SWIG_0(std::vector< TypeProperty * > *self,std::vector< TypeProperty * >::difference_type i,std::vector< TypeProperty * >::difference_type j,std::vector< TypeProperty *,std::allocator< TypeProperty * > > const &v=std::vector< TypeProperty *,std::allocator< TypeProperty * > >()){
8228  swig::setslice(self, i, j, 1, v);
8229  }
8230 SWIGINTERN void std_vector_Sl_TypeProperty_Sm__Sg____delslice__(std::vector< TypeProperty * > *self,std::vector< TypeProperty * >::difference_type i,std::vector< TypeProperty * >::difference_type j){
8231  swig::delslice(self, i, j, 1);
8232  }
8233 SWIGINTERN void std_vector_Sl_TypeProperty_Sm__Sg____delitem____SWIG_0(std::vector< TypeProperty * > *self,std::vector< TypeProperty * >::difference_type i){
8234  self->erase(swig::getpos(self,i));
8235  }
8236 SWIGINTERN std::vector< TypeProperty *,std::allocator< TypeProperty * > > *std_vector_Sl_TypeProperty_Sm__Sg____getitem____SWIG_0(std::vector< TypeProperty * > *self,PySliceObject *slice){
8237  Py_ssize_t i, j, step;
8238  if( !PySlice_Check(slice) ) {
8239  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8240  return NULL;
8241  }
8242  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8243  std::vector<TypeProperty*,std::allocator< TypeProperty * > >::difference_type id = i;
8244  std::vector<TypeProperty*,std::allocator< TypeProperty * > >::difference_type jd = j;
8245  return swig::getslice(self, id, jd, step);
8246  }
8247 SWIGINTERN void std_vector_Sl_TypeProperty_Sm__Sg____setitem____SWIG_0(std::vector< TypeProperty * > *self,PySliceObject *slice,std::vector< TypeProperty *,std::allocator< TypeProperty * > > const &v){
8248  Py_ssize_t i, j, step;
8249  if( !PySlice_Check(slice) ) {
8250  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8251  return;
8252  }
8253  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8254  std::vector<TypeProperty*,std::allocator< TypeProperty * > >::difference_type id = i;
8255  std::vector<TypeProperty*,std::allocator< TypeProperty * > >::difference_type jd = j;
8256  swig::setslice(self, id, jd, step, v);
8257  }
8258 SWIGINTERN void std_vector_Sl_TypeProperty_Sm__Sg____setitem____SWIG_1(std::vector< TypeProperty * > *self,PySliceObject *slice){
8259  Py_ssize_t i, j, step;
8260  if( !PySlice_Check(slice) ) {
8261  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8262  return;
8263  }
8264  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8265  std::vector<TypeProperty*,std::allocator< TypeProperty * > >::difference_type id = i;
8266  std::vector<TypeProperty*,std::allocator< TypeProperty * > >::difference_type jd = j;
8267  swig::delslice(self, id, jd, step);
8268  }
8269 SWIGINTERN void std_vector_Sl_TypeProperty_Sm__Sg____delitem____SWIG_1(std::vector< TypeProperty * > *self,PySliceObject *slice){
8270  Py_ssize_t i, j, step;
8271  if( !PySlice_Check(slice) ) {
8272  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8273  return;
8274  }
8275  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8276  std::vector<TypeProperty*,std::allocator< TypeProperty * > >::difference_type id = i;
8277  std::vector<TypeProperty*,std::allocator< TypeProperty * > >::difference_type jd = j;
8278  swig::delslice(self, id, jd, step);
8279  }
8280 SWIGINTERN std::vector< TypeProperty * >::value_type std_vector_Sl_TypeProperty_Sm__Sg____getitem____SWIG_1(std::vector< TypeProperty * > *self,std::vector< TypeProperty * >::difference_type i){
8281  return *(swig::cgetpos(self, i));
8282  }
8283 SWIGINTERN void std_vector_Sl_TypeProperty_Sm__Sg____setitem____SWIG_2(std::vector< TypeProperty * > *self,std::vector< TypeProperty * >::difference_type i,std::vector< TypeProperty * >::value_type x){
8284  *(swig::getpos(self,i)) = x;
8285  }
8286 SWIGINTERN void std_vector_Sl_TypeProperty_Sm__Sg__append(std::vector< TypeProperty * > *self,std::vector< TypeProperty * >::value_type x){
8287  self->push_back(x);
8288  }
8289 SWIGINTERN std::vector< TypeProperty * >::iterator std_vector_Sl_TypeProperty_Sm__Sg__erase__SWIG_0(std::vector< TypeProperty * > *self,std::vector< TypeProperty * >::iterator pos){ return self->erase(pos); }
8290 SWIGINTERN std::vector< TypeProperty * >::iterator std_vector_Sl_TypeProperty_Sm__Sg__erase__SWIG_1(std::vector< TypeProperty * > *self,std::vector< TypeProperty * >::iterator first,std::vector< TypeProperty * >::iterator last){ return self->erase(first, last); }
8291 SWIGINTERN std::vector< TypeProperty * >::iterator std_vector_Sl_TypeProperty_Sm__Sg__insert__SWIG_0(std::vector< TypeProperty * > *self,std::vector< TypeProperty * >::iterator pos,std::vector< TypeProperty * >::value_type x){ return self->insert(pos, x); }
8292 SWIGINTERN void std_vector_Sl_TypeProperty_Sm__Sg__insert__SWIG_1(std::vector< TypeProperty * > *self,std::vector< TypeProperty * >::iterator pos,std::vector< TypeProperty * >::size_type n,std::vector< TypeProperty * >::value_type x){ self->insert(pos, n, x); }
8293 
8294  namespace swig {
8295  template <> struct traits<SimulationThread > {
8296  typedef pointer_category category;
8297  static const char* type_name() { return"SimulationThread"; }
8298  };
8299  }
8300 
8301 
8302  namespace swig {
8303  template <> struct traits<std::vector<SimulationThread*, std::allocator< SimulationThread * > > > {
8304  typedef value_category category;
8305  static const char* type_name() {
8306  return "std::vector<" "SimulationThread" " *," "std::allocator< SimulationThread * >" " >";
8307  }
8308  };
8309  }
8310 
8311 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_SimulationThread_Sm__Sg__iterator(std::vector< SimulationThread * > *self,PyObject **PYTHON_SELF){
8312  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
8313  }
8314 SWIGINTERN bool std_vector_Sl_SimulationThread_Sm__Sg____nonzero__(std::vector< SimulationThread * > const *self){
8315  return !(self->empty());
8316  }
8317 SWIGINTERN bool std_vector_Sl_SimulationThread_Sm__Sg____bool__(std::vector< SimulationThread * > const *self){
8318  return !(self->empty());
8319  }
8320 SWIGINTERN std::vector< SimulationThread * >::size_type std_vector_Sl_SimulationThread_Sm__Sg____len__(std::vector< SimulationThread * > const *self){
8321  return self->size();
8322  }
8323 SWIGINTERN std::vector< SimulationThread * >::value_type std_vector_Sl_SimulationThread_Sm__Sg__pop(std::vector< SimulationThread * > *self){
8324  if (self->size() == 0)
8325  throw std::out_of_range("pop from empty container");
8326  std::vector<SimulationThread*,std::allocator< SimulationThread * > >::value_type x = self->back();
8327  self->pop_back();
8328  return x;
8329  }
8330 SWIGINTERN std::vector< SimulationThread *,std::allocator< SimulationThread * > > *std_vector_Sl_SimulationThread_Sm__Sg____getslice__(std::vector< SimulationThread * > *self,std::vector< SimulationThread * >::difference_type i,std::vector< SimulationThread * >::difference_type j){
8331  return swig::getslice(self, i, j, 1);
8332  }
8333 SWIGINTERN void std_vector_Sl_SimulationThread_Sm__Sg____setslice____SWIG_0(std::vector< SimulationThread * > *self,std::vector< SimulationThread * >::difference_type i,std::vector< SimulationThread * >::difference_type j,std::vector< SimulationThread *,std::allocator< SimulationThread * > > const &v=std::vector< SimulationThread *,std::allocator< SimulationThread * > >()){
8334  swig::setslice(self, i, j, 1, v);
8335  }
8336 SWIGINTERN void std_vector_Sl_SimulationThread_Sm__Sg____delslice__(std::vector< SimulationThread * > *self,std::vector< SimulationThread * >::difference_type i,std::vector< SimulationThread * >::difference_type j){
8337  swig::delslice(self, i, j, 1);
8338  }
8339 SWIGINTERN void std_vector_Sl_SimulationThread_Sm__Sg____delitem____SWIG_0(std::vector< SimulationThread * > *self,std::vector< SimulationThread * >::difference_type i){
8340  self->erase(swig::getpos(self,i));
8341  }
8342 SWIGINTERN std::vector< SimulationThread *,std::allocator< SimulationThread * > > *std_vector_Sl_SimulationThread_Sm__Sg____getitem____SWIG_0(std::vector< SimulationThread * > *self,PySliceObject *slice){
8343  Py_ssize_t i, j, step;
8344  if( !PySlice_Check(slice) ) {
8345  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8346  return NULL;
8347  }
8348  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8349  std::vector<SimulationThread*,std::allocator< SimulationThread * > >::difference_type id = i;
8350  std::vector<SimulationThread*,std::allocator< SimulationThread * > >::difference_type jd = j;
8351  return swig::getslice(self, id, jd, step);
8352  }
8353 SWIGINTERN void std_vector_Sl_SimulationThread_Sm__Sg____setitem____SWIG_0(std::vector< SimulationThread * > *self,PySliceObject *slice,std::vector< SimulationThread *,std::allocator< SimulationThread * > > const &v){
8354  Py_ssize_t i, j, step;
8355  if( !PySlice_Check(slice) ) {
8356  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8357  return;
8358  }
8359  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8360  std::vector<SimulationThread*,std::allocator< SimulationThread * > >::difference_type id = i;
8361  std::vector<SimulationThread*,std::allocator< SimulationThread * > >::difference_type jd = j;
8362  swig::setslice(self, id, jd, step, v);
8363  }
8364 SWIGINTERN void std_vector_Sl_SimulationThread_Sm__Sg____setitem____SWIG_1(std::vector< SimulationThread * > *self,PySliceObject *slice){
8365  Py_ssize_t i, j, step;
8366  if( !PySlice_Check(slice) ) {
8367  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8368  return;
8369  }
8370  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8371  std::vector<SimulationThread*,std::allocator< SimulationThread * > >::difference_type id = i;
8372  std::vector<SimulationThread*,std::allocator< SimulationThread * > >::difference_type jd = j;
8373  swig::delslice(self, id, jd, step);
8374  }
8375 SWIGINTERN void std_vector_Sl_SimulationThread_Sm__Sg____delitem____SWIG_1(std::vector< SimulationThread * > *self,PySliceObject *slice){
8376  Py_ssize_t i, j, step;
8377  if( !PySlice_Check(slice) ) {
8378  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8379  return;
8380  }
8381  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8382  std::vector<SimulationThread*,std::allocator< SimulationThread * > >::difference_type id = i;
8383  std::vector<SimulationThread*,std::allocator< SimulationThread * > >::difference_type jd = j;
8384  swig::delslice(self, id, jd, step);
8385  }
8386 SWIGINTERN std::vector< SimulationThread * >::value_type std_vector_Sl_SimulationThread_Sm__Sg____getitem____SWIG_1(std::vector< SimulationThread * > *self,std::vector< SimulationThread * >::difference_type i){
8387  return *(swig::cgetpos(self, i));
8388  }
8389 SWIGINTERN void std_vector_Sl_SimulationThread_Sm__Sg____setitem____SWIG_2(std::vector< SimulationThread * > *self,std::vector< SimulationThread * >::difference_type i,std::vector< SimulationThread * >::value_type x){
8390  *(swig::getpos(self,i)) = x;
8391  }
8392 SWIGINTERN void std_vector_Sl_SimulationThread_Sm__Sg__append(std::vector< SimulationThread * > *self,std::vector< SimulationThread * >::value_type x){
8393  self->push_back(x);
8394  }
8395 SWIGINTERN std::vector< SimulationThread * >::iterator std_vector_Sl_SimulationThread_Sm__Sg__erase__SWIG_0(std::vector< SimulationThread * > *self,std::vector< SimulationThread * >::iterator pos){ return self->erase(pos); }
8396 SWIGINTERN std::vector< SimulationThread * >::iterator std_vector_Sl_SimulationThread_Sm__Sg__erase__SWIG_1(std::vector< SimulationThread * > *self,std::vector< SimulationThread * >::iterator first,std::vector< SimulationThread * >::iterator last){ return self->erase(first, last); }
8397 SWIGINTERN std::vector< SimulationThread * >::iterator std_vector_Sl_SimulationThread_Sm__Sg__insert__SWIG_0(std::vector< SimulationThread * > *self,std::vector< SimulationThread * >::iterator pos,std::vector< SimulationThread * >::value_type x){ return self->insert(pos, x); }
8398 SWIGINTERN void std_vector_Sl_SimulationThread_Sm__Sg__insert__SWIG_1(std::vector< SimulationThread * > *self,std::vector< SimulationThread * >::iterator pos,std::vector< SimulationThread * >::size_type n,std::vector< SimulationThread * >::value_type x){ self->insert(pos, n, x); }
8399 
8400  namespace swig {
8401  template <> struct traits<Synapse > {
8402  typedef pointer_category category;
8403  static const char* type_name() { return"Synapse"; }
8404  };
8405  }
8406 
8407 
8408  namespace swig {
8409  template <> struct traits<std::vector<Synapse*, std::allocator< Synapse * > > > {
8410  typedef value_category category;
8411  static const char* type_name() {
8412  return "std::vector<" "Synapse" " *," "std::allocator< Synapse * >" " >";
8413  }
8414  };
8415  }
8416 
8417 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_Synapse_Sm__Sg__iterator(std::vector< Synapse * > *self,PyObject **PYTHON_SELF){
8418  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
8419  }
8420 SWIGINTERN bool std_vector_Sl_Synapse_Sm__Sg____nonzero__(std::vector< Synapse * > const *self){
8421  return !(self->empty());
8422  }
8423 SWIGINTERN bool std_vector_Sl_Synapse_Sm__Sg____bool__(std::vector< Synapse * > const *self){
8424  return !(self->empty());
8425  }
8426 SWIGINTERN std::vector< Synapse * >::size_type std_vector_Sl_Synapse_Sm__Sg____len__(std::vector< Synapse * > const *self){
8427  return self->size();
8428  }
8429 SWIGINTERN std::vector< Synapse * >::value_type std_vector_Sl_Synapse_Sm__Sg__pop(std::vector< Synapse * > *self){
8430  if (self->size() == 0)
8431  throw std::out_of_range("pop from empty container");
8432  std::vector<Synapse*,std::allocator< Synapse * > >::value_type x = self->back();
8433  self->pop_back();
8434  return x;
8435  }
8436 SWIGINTERN std::vector< Synapse *,std::allocator< Synapse * > > *std_vector_Sl_Synapse_Sm__Sg____getslice__(std::vector< Synapse * > *self,std::vector< Synapse * >::difference_type i,std::vector< Synapse * >::difference_type j){
8437  return swig::getslice(self, i, j, 1);
8438  }
8439 SWIGINTERN void std_vector_Sl_Synapse_Sm__Sg____setslice____SWIG_0(std::vector< Synapse * > *self,std::vector< Synapse * >::difference_type i,std::vector< Synapse * >::difference_type j,std::vector< Synapse *,std::allocator< Synapse * > > const &v=std::vector< Synapse *,std::allocator< Synapse * > >()){
8440  swig::setslice(self, i, j, 1, v);
8441  }
8442 SWIGINTERN void std_vector_Sl_Synapse_Sm__Sg____delslice__(std::vector< Synapse * > *self,std::vector< Synapse * >::difference_type i,std::vector< Synapse * >::difference_type j){
8443  swig::delslice(self, i, j, 1);
8444  }
8445 SWIGINTERN void std_vector_Sl_Synapse_Sm__Sg____delitem____SWIG_0(std::vector< Synapse * > *self,std::vector< Synapse * >::difference_type i){
8446  self->erase(swig::getpos(self,i));
8447  }
8448 SWIGINTERN std::vector< Synapse *,std::allocator< Synapse * > > *std_vector_Sl_Synapse_Sm__Sg____getitem____SWIG_0(std::vector< Synapse * > *self,PySliceObject *slice){
8449  Py_ssize_t i, j, step;
8450  if( !PySlice_Check(slice) ) {
8451  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8452  return NULL;
8453  }
8454  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8455  std::vector<Synapse*,std::allocator< Synapse * > >::difference_type id = i;
8456  std::vector<Synapse*,std::allocator< Synapse * > >::difference_type jd = j;
8457  return swig::getslice(self, id, jd, step);
8458  }
8459 SWIGINTERN void std_vector_Sl_Synapse_Sm__Sg____setitem____SWIG_0(std::vector< Synapse * > *self,PySliceObject *slice,std::vector< Synapse *,std::allocator< Synapse * > > const &v){
8460  Py_ssize_t i, j, step;
8461  if( !PySlice_Check(slice) ) {
8462  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8463  return;
8464  }
8465  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8466  std::vector<Synapse*,std::allocator< Synapse * > >::difference_type id = i;
8467  std::vector<Synapse*,std::allocator< Synapse * > >::difference_type jd = j;
8468  swig::setslice(self, id, jd, step, v);
8469  }
8470 SWIGINTERN void std_vector_Sl_Synapse_Sm__Sg____setitem____SWIG_1(std::vector< Synapse * > *self,PySliceObject *slice){
8471  Py_ssize_t i, j, step;
8472  if( !PySlice_Check(slice) ) {
8473  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8474  return;
8475  }
8476  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8477  std::vector<Synapse*,std::allocator< Synapse * > >::difference_type id = i;
8478  std::vector<Synapse*,std::allocator< Synapse * > >::difference_type jd = j;
8479  swig::delslice(self, id, jd, step);
8480  }
8481 SWIGINTERN void std_vector_Sl_Synapse_Sm__Sg____delitem____SWIG_1(std::vector< Synapse * > *self,PySliceObject *slice){
8482  Py_ssize_t i, j, step;
8483  if( !PySlice_Check(slice) ) {
8484  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8485  return;
8486  }
8487  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8488  std::vector<Synapse*,std::allocator< Synapse * > >::difference_type id = i;
8489  std::vector<Synapse*,std::allocator< Synapse * > >::difference_type jd = j;
8490  swig::delslice(self, id, jd, step);
8491  }
8492 SWIGINTERN std::vector< Synapse * >::value_type std_vector_Sl_Synapse_Sm__Sg____getitem____SWIG_1(std::vector< Synapse * > *self,std::vector< Synapse * >::difference_type i){
8493  return *(swig::cgetpos(self, i));
8494  }
8495 SWIGINTERN void std_vector_Sl_Synapse_Sm__Sg____setitem____SWIG_2(std::vector< Synapse * > *self,std::vector< Synapse * >::difference_type i,std::vector< Synapse * >::value_type x){
8496  *(swig::getpos(self,i)) = x;
8497  }
8498 SWIGINTERN void std_vector_Sl_Synapse_Sm__Sg__append(std::vector< Synapse * > *self,std::vector< Synapse * >::value_type x){
8499  self->push_back(x);
8500  }
8501 SWIGINTERN std::vector< Synapse * >::iterator std_vector_Sl_Synapse_Sm__Sg__erase__SWIG_0(std::vector< Synapse * > *self,std::vector< Synapse * >::iterator pos){ return self->erase(pos); }
8502 SWIGINTERN std::vector< Synapse * >::iterator std_vector_Sl_Synapse_Sm__Sg__erase__SWIG_1(std::vector< Synapse * > *self,std::vector< Synapse * >::iterator first,std::vector< Synapse * >::iterator last){ return self->erase(first, last); }
8503 SWIGINTERN std::vector< Synapse * >::iterator std_vector_Sl_Synapse_Sm__Sg__insert__SWIG_0(std::vector< Synapse * > *self,std::vector< Synapse * >::iterator pos,std::vector< Synapse * >::value_type x){ return self->insert(pos, x); }
8504 SWIGINTERN void std_vector_Sl_Synapse_Sm__Sg__insert__SWIG_1(std::vector< Synapse * > *self,std::vector< Synapse * >::iterator pos,std::vector< Synapse * >::size_type n,std::vector< Synapse * >::value_type x){ self->insert(pos, n, x); }
8505 
8506  namespace swig {
8507  template <> struct traits<Neuron > {
8508  typedef pointer_category category;
8509  static const char* type_name() { return"Neuron"; }
8510  };
8511  }
8512 
8513 
8514  namespace swig {
8515  template <> struct traits<std::vector<Neuron*, std::allocator< Neuron * > > > {
8516  typedef value_category category;
8517  static const char* type_name() {
8518  return "std::vector<" "Neuron" " *," "std::allocator< Neuron * >" " >";
8519  }
8520  };
8521  }
8522 
8523 SWIGINTERN swig::SwigPyIterator *std_vector_Sl_Neuron_Sm__Sg__iterator(std::vector< Neuron * > *self,PyObject **PYTHON_SELF){
8524  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
8525  }
8526 SWIGINTERN bool std_vector_Sl_Neuron_Sm__Sg____nonzero__(std::vector< Neuron * > const *self){
8527  return !(self->empty());
8528  }
8529 SWIGINTERN bool std_vector_Sl_Neuron_Sm__Sg____bool__(std::vector< Neuron * > const *self){
8530  return !(self->empty());
8531  }
8532 SWIGINTERN std::vector< Neuron * >::size_type std_vector_Sl_Neuron_Sm__Sg____len__(std::vector< Neuron * > const *self){
8533  return self->size();
8534  }
8535 SWIGINTERN std::vector< Neuron * >::value_type std_vector_Sl_Neuron_Sm__Sg__pop(std::vector< Neuron * > *self){
8536  if (self->size() == 0)
8537  throw std::out_of_range("pop from empty container");
8538  std::vector<Neuron*,std::allocator< Neuron * > >::value_type x = self->back();
8539  self->pop_back();
8540  return x;
8541  }
8542 SWIGINTERN std::vector< Neuron *,std::allocator< Neuron * > > *std_vector_Sl_Neuron_Sm__Sg____getslice__(std::vector< Neuron * > *self,std::vector< Neuron * >::difference_type i,std::vector< Neuron * >::difference_type j){
8543  return swig::getslice(self, i, j, 1);
8544  }
8545 SWIGINTERN void std_vector_Sl_Neuron_Sm__Sg____setslice____SWIG_0(std::vector< Neuron * > *self,std::vector< Neuron * >::difference_type i,std::vector< Neuron * >::difference_type j,std::vector< Neuron *,std::allocator< Neuron * > > const &v=std::vector< Neuron *,std::allocator< Neuron * > >()){
8546  swig::setslice(self, i, j, 1, v);
8547  }
8548 SWIGINTERN void std_vector_Sl_Neuron_Sm__Sg____delslice__(std::vector< Neuron * > *self,std::vector< Neuron * >::difference_type i,std::vector< Neuron * >::difference_type j){
8549  swig::delslice(self, i, j, 1);
8550  }
8551 SWIGINTERN void std_vector_Sl_Neuron_Sm__Sg____delitem____SWIG_0(std::vector< Neuron * > *self,std::vector< Neuron * >::difference_type i){
8552  self->erase(swig::getpos(self,i));
8553  }
8554 SWIGINTERN std::vector< Neuron *,std::allocator< Neuron * > > *std_vector_Sl_Neuron_Sm__Sg____getitem____SWIG_0(std::vector< Neuron * > *self,PySliceObject *slice){
8555  Py_ssize_t i, j, step;
8556  if( !PySlice_Check(slice) ) {
8557  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8558  return NULL;
8559  }
8560  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8561  std::vector<Neuron*,std::allocator< Neuron * > >::difference_type id = i;
8562  std::vector<Neuron*,std::allocator< Neuron * > >::difference_type jd = j;
8563  return swig::getslice(self, id, jd, step);
8564  }
8565 SWIGINTERN void std_vector_Sl_Neuron_Sm__Sg____setitem____SWIG_0(std::vector< Neuron * > *self,PySliceObject *slice,std::vector< Neuron *,std::allocator< Neuron * > > const &v){
8566  Py_ssize_t i, j, step;
8567  if( !PySlice_Check(slice) ) {
8568  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8569  return;
8570  }
8571  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8572  std::vector<Neuron*,std::allocator< Neuron * > >::difference_type id = i;
8573  std::vector<Neuron*,std::allocator< Neuron * > >::difference_type jd = j;
8574  swig::setslice(self, id, jd, step, v);
8575  }
8576 SWIGINTERN void std_vector_Sl_Neuron_Sm__Sg____setitem____SWIG_1(std::vector< Neuron * > *self,PySliceObject *slice){
8577  Py_ssize_t i, j, step;
8578  if( !PySlice_Check(slice) ) {
8579  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8580  return;
8581  }
8582  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8583  std::vector<Neuron*,std::allocator< Neuron * > >::difference_type id = i;
8584  std::vector<Neuron*,std::allocator< Neuron * > >::difference_type jd = j;
8585  swig::delslice(self, id, jd, step);
8586  }
8587 SWIGINTERN void std_vector_Sl_Neuron_Sm__Sg____delitem____SWIG_1(std::vector< Neuron * > *self,PySliceObject *slice){
8588  Py_ssize_t i, j, step;
8589  if( !PySlice_Check(slice) ) {
8590  SWIG_Error(SWIG_TypeError, "Slice object expected.");
8591  return;
8592  }
8593  PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
8594  std::vector<Neuron*,std::allocator< Neuron * > >::difference_type id = i;
8595  std::vector<Neuron*,std::allocator< Neuron * > >::difference_type jd = j;
8596  swig::delslice(self, id, jd, step);
8597  }
8598 SWIGINTERN std::vector< Neuron * >::value_type std_vector_Sl_Neuron_Sm__Sg____getitem____SWIG_1(std::vector< Neuron * > *self,std::vector< Neuron * >::difference_type i){
8599  return *(swig::cgetpos(self, i));
8600  }
8601 SWIGINTERN void std_vector_Sl_Neuron_Sm__Sg____setitem____SWIG_2(std::vector< Neuron * > *self,std::vector< Neuron * >::difference_type i,std::vector< Neuron * >::value_type x){
8602  *(swig::getpos(self,i)) = x;
8603  }
8604 SWIGINTERN void std_vector_Sl_Neuron_Sm__Sg__append(std::vector< Neuron * > *self,std::vector< Neuron * >::value_type x){
8605  self->push_back(x);
8606  }
8607 SWIGINTERN std::vector< Neuron * >::iterator std_vector_Sl_Neuron_Sm__Sg__erase__SWIG_0(std::vector< Neuron * > *self,std::vector< Neuron * >::iterator pos){ return self->erase(pos); }
8608 SWIGINTERN std::vector< Neuron * >::iterator std_vector_Sl_Neuron_Sm__Sg__erase__SWIG_1(std::vector< Neuron * > *self,std::vector< Neuron * >::iterator first,std::vector< Neuron * >::iterator last){ return self->erase(first, last); }
8609 SWIGINTERN std::vector< Neuron * >::iterator std_vector_Sl_Neuron_Sm__Sg__insert__SWIG_0(std::vector< Neuron * > *self,std::vector< Neuron * >::iterator pos,std::vector< Neuron * >::value_type x){ return self->insert(pos, x); }
8610 SWIGINTERN void std_vector_Sl_Neuron_Sm__Sg__insert__SWIG_1(std::vector< Neuron * > *self,std::vector< Neuron * >::iterator pos,std::vector< Neuron * >::size_type n,std::vector< Neuron * >::value_type x){ self->insert(pos, n, x); }
8611 
8612  namespace swig {
8613  template <> struct traits<ActivatedItem * > {
8614  typedef pointer_category category;
8615  static const char* type_name() { return"ActivatedItem *"; }
8616  };
8617  }
8618 
8619 
8620  namespace swig {
8621 
8622 
8623 
8624 
8625 
8626 
8627 
8628 
8629 
8630 
8631 
8632 
8633 
8634 
8635 
8636 
8637 
8638 
8639 
8640 
8641 
8642 
8643 
8644 
8645 
8646 
8647 
8648 
8649 
8650 
8651 
8652 
8653 
8654 
8655 
8656 
8657 
8658 
8659 
8660 
8661 
8662 
8663 
8664 
8665 
8666 
8667 
8668 
8669 
8670  template <class T, class U >
8671  struct traits_asptr<std::pair<T,U> > {
8672  typedef std::pair<T,U> value_type;
8673 
8674  static int get_pair(PyObject* first, PyObject* second,
8675  std::pair<T,U> **val)
8676  {
8677  if (val) {
8678  value_type *vp = (new std::pair<T,U>);
8679  T *pfirst = &(vp->first);
8680  int res1 = swig::asval((PyObject*)first, pfirst);
8681  if (!SWIG_IsOK(res1)) return res1;
8682  U *psecond = &(vp->second);
8683  int res2 = swig::asval((PyObject*)second, psecond);
8684  if (!SWIG_IsOK(res2)) return res2;
8685  *val = vp;
8686  return SWIG_AddNewMask(res1 > res2 ? res1 : res2);
8687  } else {
8688  T *pfirst = 0;
8689  int res1 = swig::asval((PyObject*)first, pfirst);
8690  if (!SWIG_IsOK(res1)) return res1;
8691  U *psecond = 0;
8692  int res2 = swig::asval((PyObject*)second, psecond);
8693  if (!SWIG_IsOK(res2)) return res2;
8694  return res1 > res2 ? res1 : res2;
8695  }
8696  }
8697 
8698  static int asptr(PyObject *obj, std::pair<T,U> **val) {
8699  int res = SWIG_ERROR;
8700  if (PyTuple_Check(obj)) {
8701  if (PyTuple_GET_SIZE(obj) == 2) {
8702  res = get_pair(PyTuple_GET_ITEM(obj,0),PyTuple_GET_ITEM(obj,1), val);
8703  }
8704  } else if (PySequence_Check(obj)) {
8705  if (PySequence_Size(obj) == 2) {
8706  swig::SwigVar_PyObject first = PySequence_GetItem(obj,0);
8707  swig::SwigVar_PyObject second = PySequence_GetItem(obj,1);
8708  res = get_pair(first, second, val);
8709  }
8710  } else {
8711  value_type *p;
8712  res = SWIG_ConvertPtr(obj,(void**)&p,swig::type_info<value_type>(),0);
8713  if (SWIG_IsOK(res) && val) *val = p;
8714  }
8715  return res;
8716  }
8717  };
8718 
8719 
8720  template <class T, class U >
8721  struct traits_from<std::pair<T,U> > {
8722  static PyObject *from(const std::pair<T,U>& val) {
8723  PyObject* obj = PyTuple_New(2);
8724  PyTuple_SetItem(obj,0,swig::from(val.first));
8725  PyTuple_SetItem(obj,1,swig::from(val.second));
8726  return obj;
8727  }
8728  };
8729  }
8730 
8731 
8732 
8733 
8734 
8735 
8736 
8737 
8738 
8739 
8740 
8741 
8742 
8743 
8744 
8745 
8746 
8747 
8748 
8749 
8750 
8751 
8752 
8753 
8754 
8755 
8756 
8757 
8758 
8759 
8760 
8761 
8762 
8763 
8764 
8765 
8766 
8767  namespace swig {
8768  template <> struct traits<std::pair< std::string, ActivatedItem * > > {
8769  typedef pointer_category category;
8770  static const char* type_name() {
8771  return "std::pair<" "std::string" "," "ActivatedItem *" " >";
8772  }
8773  };
8774  }
8775 
8776 
8777  namespace swig {
8778  template <class ValueType>
8780  {
8781  typedef const ValueType& argument_type;
8782  typedef PyObject *result_type;
8783  result_type operator()(argument_type v) const
8784  {
8785  return swig::from(v.first);
8786  }
8787  };
8788 
8789  template <class ValueType>
8791  {
8792  typedef const ValueType& argument_type;
8793  typedef PyObject *result_type;
8794  result_type operator()(argument_type v) const
8795  {
8796  return swig::from(v.second);
8797  }
8798  };
8799 
8800  template<class OutIterator, class FromOper, class ValueType = typename OutIterator::value_type>
8801  struct SwigPyMapIterator_T : SwigPyIteratorClosed_T<OutIterator, ValueType, FromOper>
8802  {
8803  SwigPyMapIterator_T(OutIterator curr, OutIterator first, OutIterator last, PyObject *seq)
8805  {
8806  }
8807  };
8808 
8809 
8810  template<class OutIterator,
8812  struct SwigPyMapKeyIterator_T : SwigPyMapIterator_T<OutIterator, FromOper>
8813  {
8814  SwigPyMapKeyIterator_T(OutIterator curr, OutIterator first, OutIterator last, PyObject *seq)
8815  : SwigPyMapIterator_T<OutIterator, FromOper>(curr, first, last, seq)
8816  {
8817  }
8818  };
8819 
8820  template<typename OutIter>
8821  inline SwigPyIterator*
8822  make_output_key_iterator(const OutIter& current, const OutIter& begin, const OutIter& end, PyObject *seq = 0)
8823  {
8824  return new SwigPyMapKeyIterator_T<OutIter>(current, begin, end, seq);
8825  }
8826 
8827  template<class OutIterator,
8828  class FromOper = from_value_oper<typename OutIterator::value_type> >
8829  struct SwigPyMapValueITerator_T : SwigPyMapIterator_T<OutIterator, FromOper>
8830  {
8831  SwigPyMapValueITerator_T(OutIterator curr, OutIterator first, OutIterator last, PyObject *seq)
8832  : SwigPyMapIterator_T<OutIterator, FromOper>(curr, first, last, seq)
8833  {
8834  }
8835  };
8836 
8837 
8838  template<typename OutIter>
8839  inline SwigPyIterator*
8840  make_output_value_iterator(const OutIter& current, const OutIter& begin, const OutIter& end, PyObject *seq = 0)
8841  {
8842  return new SwigPyMapValueITerator_T<OutIter>(current, begin, end, seq);
8843  }
8844  }
8845 
8846 
8847  namespace swig {
8848  template <class SwigPySeq, class K, class T, class Compare, class Alloc >
8849  inline void
8850  assign(const SwigPySeq& swigpyseq, std::map<K,T,Compare,Alloc > *map) {
8851  typedef typename std::map<K,T,Compare,Alloc >::value_type value_type;
8852  typename SwigPySeq::const_iterator it = swigpyseq.begin();
8853  for (;it != swigpyseq.end(); ++it) {
8854  map->insert(value_type(it->first, it->second));
8855  }
8856  }
8857 
8858  template <class K, class T, class Compare, class Alloc>
8859  struct traits_asptr<std::map<K,T,Compare,Alloc > > {
8860  typedef std::map<K,T,Compare,Alloc > map_type;
8861  static int asptr(PyObject *obj, map_type **val) {
8862  int res = SWIG_ERROR;
8863  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8864  if (PyDict_Check(obj)) {
8865  SwigVar_PyObject items = PyObject_CallMethod(obj,(char *)"items",NULL);
8866 #if PY_VERSION_HEX >= 0x03000000
8867  /* In Python 3.x the ".items()" method returns a dict_items object */
8868  items = PySequence_Fast(items, ".items() didn't return a sequence!");
8869 #endif
8870  res = traits_asptr_stdseq<map_type, std::pair<K, T> >::asptr(items, val);
8871  } else {
8872  map_type *p;
8873  res = SWIG_ConvertPtr(obj,(void**)&p,swig::type_info<map_type>(),0);
8874  if (SWIG_IsOK(res) && val) *val = p;
8875  }
8876  SWIG_PYTHON_THREAD_END_BLOCK;
8877  return res;
8878  }
8879  };
8880 
8881  template <class K, class T, class Compare, class Alloc >
8882  struct traits_from<std::map<K,T,Compare,Alloc > > {
8883  typedef std::map<K,T,Compare,Alloc > map_type;
8884  typedef typename map_type::const_iterator const_iterator;
8885  typedef typename map_type::size_type size_type;
8886 
8887  static PyObject *asdict(const map_type& map) {
8888  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8889  size_type size = map.size();
8890  int pysize = (size <= (size_type) INT_MAX) ? (int) size : -1;
8891  if (pysize < 0) {
8892  PyErr_SetString(PyExc_OverflowError,
8893  "map size not valid in python");
8894  SWIG_PYTHON_THREAD_END_BLOCK;
8895  return NULL;
8896  }
8897  PyObject *obj = PyDict_New();
8898  for (const_iterator i= map.begin(); i!= map.end(); ++i) {
8899  swig::SwigVar_PyObject key = swig::from(i->first);
8900  swig::SwigVar_PyObject val = swig::from(i->second);
8901  PyDict_SetItem(obj, key, val);
8902  }
8903  SWIG_PYTHON_THREAD_END_BLOCK;
8904  return obj;
8905  }
8906 
8907  static PyObject *from(const map_type& map) {
8908  swig_type_info *desc = swig::type_info<map_type>();
8909  if (desc && desc->clientdata) {
8910  return SWIG_InternalNewPointerObj(new map_type(map), desc, SWIG_POINTER_OWN);
8911  } else {
8912  return asdict(map);
8913  }
8914  }
8915  };
8916  }
8917 
8918 
8919  namespace swig {
8920  template <> struct traits<std::map<std::string, ActivatedItem *, std::less< std::string >, std::allocator< std::pair< std::string const,ActivatedItem * > > > > {
8921  typedef pointer_category category;
8922  static const char* type_name() {
8923  return "std::map<" "std::string" "," "ActivatedItem *" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,ActivatedItem * > >" " >";
8924  }
8925  };
8926  }
8927 
8928 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__iterator(std::map< std::string,ActivatedItem * > *self,PyObject **PYTHON_SELF){
8929  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
8930  }
8931 SWIGINTERN bool std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____nonzero__(std::map< std::string,ActivatedItem * > const *self){
8932  return !(self->empty());
8933  }
8934 SWIGINTERN bool std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____bool__(std::map< std::string,ActivatedItem * > const *self){
8935  return !(self->empty());
8936  }
8937 SWIGINTERN std::map< std::string,ActivatedItem * >::size_type std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____len__(std::map< std::string,ActivatedItem * > const *self){
8938  return self->size();
8939  }
8940 SWIGINTERN std::map< std::string,ActivatedItem * >::mapped_type const &std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____getitem__(std::map< std::string,ActivatedItem * > *self,std::map< std::string,ActivatedItem * >::key_type const &key){
8941  std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >::const_iterator i = self->find(key);
8942  if (i != self->end())
8943  return i->second;
8944  else
8945  throw std::out_of_range("key not found");
8946  }
8947 SWIGINTERN void std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____delitem__(std::map< std::string,ActivatedItem * > *self,std::map< std::string,ActivatedItem * >::key_type const &key){
8948  std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >::iterator i = self->find(key);
8949  if (i != self->end())
8950  self->erase(i);
8951  else
8952  throw std::out_of_range("key not found");
8953  }
8954 SWIGINTERN bool std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__has_key(std::map< std::string,ActivatedItem * > const *self,std::map< std::string,ActivatedItem * >::key_type const &key){
8955  std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >::const_iterator i = self->find(key);
8956  return i != self->end();
8957  }
8958 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__keys(std::map< std::string,ActivatedItem * > *self){
8959  std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >::size_type size = self->size();
8960  int pysize = (size <= (std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >::size_type) INT_MAX) ? (int) size : -1;
8961  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8962  if (pysize < 0) {
8963  PyErr_SetString(PyExc_OverflowError,
8964  "map size not valid in python");
8965  SWIG_PYTHON_THREAD_END_BLOCK;
8966  return NULL;
8967  }
8968  PyObject* keyList = PyList_New(pysize);
8969  std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >::const_iterator i = self->begin();
8970  for (int j = 0; j < pysize; ++i, ++j) {
8971  PyList_SET_ITEM(keyList, j, swig::from(i->first));
8972  }
8973  SWIG_PYTHON_THREAD_END_BLOCK;
8974  return keyList;
8975  }
8976 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__values(std::map< std::string,ActivatedItem * > *self){
8977  std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >::size_type size = self->size();
8978  int pysize = (size <= (std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >::size_type) INT_MAX) ? (int) size : -1;
8979  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8980  if (pysize < 0) {
8981  PyErr_SetString(PyExc_OverflowError,
8982  "map size not valid in python");
8983  SWIG_PYTHON_THREAD_END_BLOCK;
8984  return NULL;
8985  }
8986  PyObject* valList = PyList_New(pysize);
8987  std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >::const_iterator i = self->begin();
8988  for (int j = 0; j < pysize; ++i, ++j) {
8989  PyList_SET_ITEM(valList, j, swig::from(i->second));
8990  }
8991  SWIG_PYTHON_THREAD_END_BLOCK;
8992  return valList;
8993  }
8994 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__items(std::map< std::string,ActivatedItem * > *self){
8995  std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >::size_type size = self->size();
8996  int pysize = (size <= (std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >::size_type) INT_MAX) ? (int) size : -1;
8997  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8998  if (pysize < 0) {
8999  PyErr_SetString(PyExc_OverflowError,
9000  "map size not valid in python");
9001  SWIG_PYTHON_THREAD_END_BLOCK;
9002  return NULL;
9003  }
9004  PyObject* itemList = PyList_New(pysize);
9005  std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >::const_iterator i = self->begin();
9006  for (int j = 0; j < pysize; ++i, ++j) {
9007  PyList_SET_ITEM(itemList, j, swig::from(*i));
9008  }
9009  SWIG_PYTHON_THREAD_END_BLOCK;
9010  return itemList;
9011  }
9012 SWIGINTERN bool std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____contains__(std::map< std::string,ActivatedItem * > *self,std::map< std::string,ActivatedItem * >::key_type const &key){
9013  return self->find(key) != self->end();
9014  }
9015 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__key_iterator(std::map< std::string,ActivatedItem * > *self,PyObject **PYTHON_SELF){
9016  return swig::make_output_key_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9017  }
9018 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__value_iterator(std::map< std::string,ActivatedItem * > *self,PyObject **PYTHON_SELF){
9019  return swig::make_output_value_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9020  }
9021 SWIGINTERN void std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____setitem____SWIG_0(std::map< std::string,ActivatedItem * > *self,std::map< std::string,ActivatedItem * >::key_type const &key){
9022  self->erase(key);
9023  }
9024 SWIGINTERN void std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____setitem____SWIG_1(std::map< std::string,ActivatedItem * > *self,std::map< std::string,ActivatedItem * >::key_type const &key,std::map< std::string,ActivatedItem * >::mapped_type const &x){
9025  (*self)[key] = x;
9026  }
9027 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__asdict(std::map< std::string,ActivatedItem * > *self){
9028  return swig::traits_from< std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > > >::asdict(*self);
9029  }
9030 SWIGINTERN void std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__erase__SWIG_1(std::map< std::string,ActivatedItem * > *self,std::map< std::string,ActivatedItem * >::iterator position){ self->erase(position); }
9031 SWIGINTERN void std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__erase__SWIG_2(std::map< std::string,ActivatedItem * > *self,std::map< std::string,ActivatedItem * >::iterator first,std::map< std::string,ActivatedItem * >::iterator last){ self->erase(first, last); }
9032 
9033  namespace swig {
9034  template <> struct traits<AnimatBase * > {
9035  typedef pointer_category category;
9036  static const char* type_name() { return"AnimatBase *"; }
9037  };
9038  }
9039 
9040 
9041  namespace swig {
9042  template <> struct traits<std::pair< std::string, AnimatBase * > > {
9043  typedef pointer_category category;
9044  static const char* type_name() {
9045  return "std::pair<" "std::string" "," "AnimatBase *" " >";
9046  }
9047  };
9048  }
9049 
9050 
9051  namespace swig {
9052  template <> struct traits<std::map<std::string, AnimatBase *, std::less< std::string >, std::allocator< std::pair< std::string const,AnimatBase * > > > > {
9053  typedef pointer_category category;
9054  static const char* type_name() {
9055  return "std::map<" "std::string" "," "AnimatBase *" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,AnimatBase * > >" " >";
9056  }
9057  };
9058  }
9059 
9060 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__iterator(std::map< std::string,AnimatBase * > *self,PyObject **PYTHON_SELF){
9061  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9062  }
9063 SWIGINTERN bool std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____nonzero__(std::map< std::string,AnimatBase * > const *self){
9064  return !(self->empty());
9065  }
9066 SWIGINTERN bool std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____bool__(std::map< std::string,AnimatBase * > const *self){
9067  return !(self->empty());
9068  }
9069 SWIGINTERN std::map< std::string,AnimatBase * >::size_type std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____len__(std::map< std::string,AnimatBase * > const *self){
9070  return self->size();
9071  }
9072 SWIGINTERN std::map< std::string,AnimatBase * >::mapped_type const &std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____getitem__(std::map< std::string,AnimatBase * > *self,std::map< std::string,AnimatBase * >::key_type const &key){
9073  std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::const_iterator i = self->find(key);
9074  if (i != self->end())
9075  return i->second;
9076  else
9077  throw std::out_of_range("key not found");
9078  }
9079 SWIGINTERN void std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____delitem__(std::map< std::string,AnimatBase * > *self,std::map< std::string,AnimatBase * >::key_type const &key){
9080  std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::iterator i = self->find(key);
9081  if (i != self->end())
9082  self->erase(i);
9083  else
9084  throw std::out_of_range("key not found");
9085  }
9086 SWIGINTERN bool std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__has_key(std::map< std::string,AnimatBase * > const *self,std::map< std::string,AnimatBase * >::key_type const &key){
9087  std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::const_iterator i = self->find(key);
9088  return i != self->end();
9089  }
9090 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__keys(std::map< std::string,AnimatBase * > *self){
9091  std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::size_type size = self->size();
9092  int pysize = (size <= (std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::size_type) INT_MAX) ? (int) size : -1;
9093  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9094  if (pysize < 0) {
9095  PyErr_SetString(PyExc_OverflowError,
9096  "map size not valid in python");
9097  SWIG_PYTHON_THREAD_END_BLOCK;
9098  return NULL;
9099  }
9100  PyObject* keyList = PyList_New(pysize);
9101  std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::const_iterator i = self->begin();
9102  for (int j = 0; j < pysize; ++i, ++j) {
9103  PyList_SET_ITEM(keyList, j, swig::from(i->first));
9104  }
9105  SWIG_PYTHON_THREAD_END_BLOCK;
9106  return keyList;
9107  }
9108 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__values(std::map< std::string,AnimatBase * > *self){
9109  std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::size_type size = self->size();
9110  int pysize = (size <= (std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::size_type) INT_MAX) ? (int) size : -1;
9111  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9112  if (pysize < 0) {
9113  PyErr_SetString(PyExc_OverflowError,
9114  "map size not valid in python");
9115  SWIG_PYTHON_THREAD_END_BLOCK;
9116  return NULL;
9117  }
9118  PyObject* valList = PyList_New(pysize);
9119  std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::const_iterator i = self->begin();
9120  for (int j = 0; j < pysize; ++i, ++j) {
9121  PyList_SET_ITEM(valList, j, swig::from(i->second));
9122  }
9123  SWIG_PYTHON_THREAD_END_BLOCK;
9124  return valList;
9125  }
9126 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__items(std::map< std::string,AnimatBase * > *self){
9127  std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::size_type size = self->size();
9128  int pysize = (size <= (std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::size_type) INT_MAX) ? (int) size : -1;
9129  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9130  if (pysize < 0) {
9131  PyErr_SetString(PyExc_OverflowError,
9132  "map size not valid in python");
9133  SWIG_PYTHON_THREAD_END_BLOCK;
9134  return NULL;
9135  }
9136  PyObject* itemList = PyList_New(pysize);
9137  std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::const_iterator i = self->begin();
9138  for (int j = 0; j < pysize; ++i, ++j) {
9139  PyList_SET_ITEM(itemList, j, swig::from(*i));
9140  }
9141  SWIG_PYTHON_THREAD_END_BLOCK;
9142  return itemList;
9143  }
9144 SWIGINTERN bool std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____contains__(std::map< std::string,AnimatBase * > *self,std::map< std::string,AnimatBase * >::key_type const &key){
9145  return self->find(key) != self->end();
9146  }
9147 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__key_iterator(std::map< std::string,AnimatBase * > *self,PyObject **PYTHON_SELF){
9148  return swig::make_output_key_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9149  }
9150 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__value_iterator(std::map< std::string,AnimatBase * > *self,PyObject **PYTHON_SELF){
9151  return swig::make_output_value_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9152  }
9153 SWIGINTERN void std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____setitem____SWIG_0(std::map< std::string,AnimatBase * > *self,std::map< std::string,AnimatBase * >::key_type const &key){
9154  self->erase(key);
9155  }
9156 SWIGINTERN void std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____setitem____SWIG_1(std::map< std::string,AnimatBase * > *self,std::map< std::string,AnimatBase * >::key_type const &key,std::map< std::string,AnimatBase * >::mapped_type const &x){
9157  (*self)[key] = x;
9158  }
9159 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__asdict(std::map< std::string,AnimatBase * > *self){
9160  return swig::traits_from< std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > > >::asdict(*self);
9161  }
9162 SWIGINTERN void std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__erase__SWIG_1(std::map< std::string,AnimatBase * > *self,std::map< std::string,AnimatBase * >::iterator position){ self->erase(position); }
9163 SWIGINTERN void std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__erase__SWIG_2(std::map< std::string,AnimatBase * > *self,std::map< std::string,AnimatBase * >::iterator first,std::map< std::string,AnimatBase * >::iterator last){ self->erase(first, last); }
9164 
9165  namespace swig {
9166  template <> struct traits<DataColumn * > {
9167  typedef pointer_category category;
9168  static const char* type_name() { return"DataColumn *"; }
9169  };
9170  }
9171 
9172 
9173  namespace swig {
9174  template <> struct traits<std::pair< std::string, DataColumn * > > {
9175  typedef pointer_category category;
9176  static const char* type_name() {
9177  return "std::pair<" "std::string" "," "DataColumn *" " >";
9178  }
9179  };
9180  }
9181 
9182 
9183  namespace swig {
9184  template <> struct traits<std::map<std::string, DataColumn *, std::less< std::string >, std::allocator< std::pair< std::string const,DataColumn * > > > > {
9185  typedef pointer_category category;
9186  static const char* type_name() {
9187  return "std::map<" "std::string" "," "DataColumn *" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,DataColumn * > >" " >";
9188  }
9189  };
9190  }
9191 
9192 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__iterator(std::map< std::string,DataColumn * > *self,PyObject **PYTHON_SELF){
9193  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9194  }
9195 SWIGINTERN bool std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____nonzero__(std::map< std::string,DataColumn * > const *self){
9196  return !(self->empty());
9197  }
9198 SWIGINTERN bool std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____bool__(std::map< std::string,DataColumn * > const *self){
9199  return !(self->empty());
9200  }
9201 SWIGINTERN std::map< std::string,DataColumn * >::size_type std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____len__(std::map< std::string,DataColumn * > const *self){
9202  return self->size();
9203  }
9204 SWIGINTERN std::map< std::string,DataColumn * >::mapped_type const &std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____getitem__(std::map< std::string,DataColumn * > *self,std::map< std::string,DataColumn * >::key_type const &key){
9205  std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::const_iterator i = self->find(key);
9206  if (i != self->end())
9207  return i->second;
9208  else
9209  throw std::out_of_range("key not found");
9210  }
9211 SWIGINTERN void std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____delitem__(std::map< std::string,DataColumn * > *self,std::map< std::string,DataColumn * >::key_type const &key){
9212  std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::iterator i = self->find(key);
9213  if (i != self->end())
9214  self->erase(i);
9215  else
9216  throw std::out_of_range("key not found");
9217  }
9218 SWIGINTERN bool std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__has_key(std::map< std::string,DataColumn * > const *self,std::map< std::string,DataColumn * >::key_type const &key){
9219  std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::const_iterator i = self->find(key);
9220  return i != self->end();
9221  }
9222 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__keys(std::map< std::string,DataColumn * > *self){
9223  std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::size_type size = self->size();
9224  int pysize = (size <= (std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::size_type) INT_MAX) ? (int) size : -1;
9225  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9226  if (pysize < 0) {
9227  PyErr_SetString(PyExc_OverflowError,
9228  "map size not valid in python");
9229  SWIG_PYTHON_THREAD_END_BLOCK;
9230  return NULL;
9231  }
9232  PyObject* keyList = PyList_New(pysize);
9233  std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::const_iterator i = self->begin();
9234  for (int j = 0; j < pysize; ++i, ++j) {
9235  PyList_SET_ITEM(keyList, j, swig::from(i->first));
9236  }
9237  SWIG_PYTHON_THREAD_END_BLOCK;
9238  return keyList;
9239  }
9240 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__values(std::map< std::string,DataColumn * > *self){
9241  std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::size_type size = self->size();
9242  int pysize = (size <= (std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::size_type) INT_MAX) ? (int) size : -1;
9243  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9244  if (pysize < 0) {
9245  PyErr_SetString(PyExc_OverflowError,
9246  "map size not valid in python");
9247  SWIG_PYTHON_THREAD_END_BLOCK;
9248  return NULL;
9249  }
9250  PyObject* valList = PyList_New(pysize);
9251  std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::const_iterator i = self->begin();
9252  for (int j = 0; j < pysize; ++i, ++j) {
9253  PyList_SET_ITEM(valList, j, swig::from(i->second));
9254  }
9255  SWIG_PYTHON_THREAD_END_BLOCK;
9256  return valList;
9257  }
9258 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__items(std::map< std::string,DataColumn * > *self){
9259  std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::size_type size = self->size();
9260  int pysize = (size <= (std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::size_type) INT_MAX) ? (int) size : -1;
9261  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9262  if (pysize < 0) {
9263  PyErr_SetString(PyExc_OverflowError,
9264  "map size not valid in python");
9265  SWIG_PYTHON_THREAD_END_BLOCK;
9266  return NULL;
9267  }
9268  PyObject* itemList = PyList_New(pysize);
9269  std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::const_iterator i = self->begin();
9270  for (int j = 0; j < pysize; ++i, ++j) {
9271  PyList_SET_ITEM(itemList, j, swig::from(*i));
9272  }
9273  SWIG_PYTHON_THREAD_END_BLOCK;
9274  return itemList;
9275  }
9276 SWIGINTERN bool std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____contains__(std::map< std::string,DataColumn * > *self,std::map< std::string,DataColumn * >::key_type const &key){
9277  return self->find(key) != self->end();
9278  }
9279 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__key_iterator(std::map< std::string,DataColumn * > *self,PyObject **PYTHON_SELF){
9280  return swig::make_output_key_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9281  }
9282 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__value_iterator(std::map< std::string,DataColumn * > *self,PyObject **PYTHON_SELF){
9283  return swig::make_output_value_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9284  }
9285 SWIGINTERN void std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____setitem____SWIG_0(std::map< std::string,DataColumn * > *self,std::map< std::string,DataColumn * >::key_type const &key){
9286  self->erase(key);
9287  }
9288 SWIGINTERN void std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____setitem____SWIG_1(std::map< std::string,DataColumn * > *self,std::map< std::string,DataColumn * >::key_type const &key,std::map< std::string,DataColumn * >::mapped_type const &x){
9289  (*self)[key] = x;
9290  }
9291 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__asdict(std::map< std::string,DataColumn * > *self){
9292  return swig::traits_from< std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > > >::asdict(*self);
9293  }
9294 SWIGINTERN void std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__erase__SWIG_1(std::map< std::string,DataColumn * > *self,std::map< std::string,DataColumn * >::iterator position){ self->erase(position); }
9295 SWIGINTERN void std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__erase__SWIG_2(std::map< std::string,DataColumn * > *self,std::map< std::string,DataColumn * >::iterator first,std::map< std::string,DataColumn * >::iterator last){ self->erase(first, last); }
9296 
9297  namespace swig {
9298  template <> struct traits<IStdClassFactory * > {
9299  typedef pointer_category category;
9300  static const char* type_name() { return"IStdClassFactory *"; }
9301  };
9302  }
9303 
9304 
9305  namespace swig {
9306  template <> struct traits<std::pair< std::string, IStdClassFactory * > > {
9307  typedef pointer_category category;
9308  static const char* type_name() {
9309  return "std::pair<" "std::string" "," "IStdClassFactory *" " >";
9310  }
9311  };
9312  }
9313 
9314 
9315  namespace swig {
9316  template <> struct traits<std::map<std::string, IStdClassFactory *, std::less< std::string >, std::allocator< std::pair< std::string const,IStdClassFactory * > > > > {
9317  typedef pointer_category category;
9318  static const char* type_name() {
9319  return "std::map<" "std::string" "," "IStdClassFactory *" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,IStdClassFactory * > >" " >";
9320  }
9321  };
9322  }
9323 
9324 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__iterator(std::map< std::string,IStdClassFactory * > *self,PyObject **PYTHON_SELF){
9325  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9326  }
9327 SWIGINTERN bool std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____nonzero__(std::map< std::string,IStdClassFactory * > const *self){
9328  return !(self->empty());
9329  }
9330 SWIGINTERN bool std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____bool__(std::map< std::string,IStdClassFactory * > const *self){
9331  return !(self->empty());
9332  }
9333 SWIGINTERN std::map< std::string,IStdClassFactory * >::size_type std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____len__(std::map< std::string,IStdClassFactory * > const *self){
9334  return self->size();
9335  }
9336 SWIGINTERN std::map< std::string,IStdClassFactory * >::mapped_type const &std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____getitem__(std::map< std::string,IStdClassFactory * > *self,std::map< std::string,IStdClassFactory * >::key_type const &key){
9337  std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >::const_iterator i = self->find(key);
9338  if (i != self->end())
9339  return i->second;
9340  else
9341  throw std::out_of_range("key not found");
9342  }
9343 SWIGINTERN void std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____delitem__(std::map< std::string,IStdClassFactory * > *self,std::map< std::string,IStdClassFactory * >::key_type const &key){
9344  std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >::iterator i = self->find(key);
9345  if (i != self->end())
9346  self->erase(i);
9347  else
9348  throw std::out_of_range("key not found");
9349  }
9350 SWIGINTERN bool std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__has_key(std::map< std::string,IStdClassFactory * > const *self,std::map< std::string,IStdClassFactory * >::key_type const &key){
9351  std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >::const_iterator i = self->find(key);
9352  return i != self->end();
9353  }
9354 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__keys(std::map< std::string,IStdClassFactory * > *self){
9355  std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >::size_type size = self->size();
9356  int pysize = (size <= (std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >::size_type) INT_MAX) ? (int) size : -1;
9357  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9358  if (pysize < 0) {
9359  PyErr_SetString(PyExc_OverflowError,
9360  "map size not valid in python");
9361  SWIG_PYTHON_THREAD_END_BLOCK;
9362  return NULL;
9363  }
9364  PyObject* keyList = PyList_New(pysize);
9365  std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >::const_iterator i = self->begin();
9366  for (int j = 0; j < pysize; ++i, ++j) {
9367  PyList_SET_ITEM(keyList, j, swig::from(i->first));
9368  }
9369  SWIG_PYTHON_THREAD_END_BLOCK;
9370  return keyList;
9371  }
9372 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__values(std::map< std::string,IStdClassFactory * > *self){
9373  std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >::size_type size = self->size();
9374  int pysize = (size <= (std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >::size_type) INT_MAX) ? (int) size : -1;
9375  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9376  if (pysize < 0) {
9377  PyErr_SetString(PyExc_OverflowError,
9378  "map size not valid in python");
9379  SWIG_PYTHON_THREAD_END_BLOCK;
9380  return NULL;
9381  }
9382  PyObject* valList = PyList_New(pysize);
9383  std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >::const_iterator i = self->begin();
9384  for (int j = 0; j < pysize; ++i, ++j) {
9385  PyList_SET_ITEM(valList, j, swig::from(i->second));
9386  }
9387  SWIG_PYTHON_THREAD_END_BLOCK;
9388  return valList;
9389  }
9390 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__items(std::map< std::string,IStdClassFactory * > *self){
9391  std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >::size_type size = self->size();
9392  int pysize = (size <= (std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >::size_type) INT_MAX) ? (int) size : -1;
9393  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9394  if (pysize < 0) {
9395  PyErr_SetString(PyExc_OverflowError,
9396  "map size not valid in python");
9397  SWIG_PYTHON_THREAD_END_BLOCK;
9398  return NULL;
9399  }
9400  PyObject* itemList = PyList_New(pysize);
9401  std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >::const_iterator i = self->begin();
9402  for (int j = 0; j < pysize; ++i, ++j) {
9403  PyList_SET_ITEM(itemList, j, swig::from(*i));
9404  }
9405  SWIG_PYTHON_THREAD_END_BLOCK;
9406  return itemList;
9407  }
9408 SWIGINTERN bool std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____contains__(std::map< std::string,IStdClassFactory * > *self,std::map< std::string,IStdClassFactory * >::key_type const &key){
9409  return self->find(key) != self->end();
9410  }
9411 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__key_iterator(std::map< std::string,IStdClassFactory * > *self,PyObject **PYTHON_SELF){
9412  return swig::make_output_key_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9413  }
9414 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__value_iterator(std::map< std::string,IStdClassFactory * > *self,PyObject **PYTHON_SELF){
9415  return swig::make_output_value_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9416  }
9417 SWIGINTERN void std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____setitem____SWIG_0(std::map< std::string,IStdClassFactory * > *self,std::map< std::string,IStdClassFactory * >::key_type const &key){
9418  self->erase(key);
9419  }
9420 SWIGINTERN void std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____setitem____SWIG_1(std::map< std::string,IStdClassFactory * > *self,std::map< std::string,IStdClassFactory * >::key_type const &key,std::map< std::string,IStdClassFactory * >::mapped_type const &x){
9421  (*self)[key] = x;
9422  }
9423 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__asdict(std::map< std::string,IStdClassFactory * > *self){
9424  return swig::traits_from< std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > > >::asdict(*self);
9425  }
9426 SWIGINTERN void std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__erase__SWIG_1(std::map< std::string,IStdClassFactory * > *self,std::map< std::string,IStdClassFactory * >::iterator position){ self->erase(position); }
9427 SWIGINTERN void std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__erase__SWIG_2(std::map< std::string,IStdClassFactory * > *self,std::map< std::string,IStdClassFactory * >::iterator first,std::map< std::string,IStdClassFactory * >::iterator last){ self->erase(first, last); }
9428 
9429  namespace swig {
9430  template <> struct traits<Joint * > {
9431  typedef pointer_category category;
9432  static const char* type_name() { return"Joint *"; }
9433  };
9434  }
9435 
9436 
9437  namespace swig {
9438  template <> struct traits<std::pair< std::string, Joint * > > {
9439  typedef pointer_category category;
9440  static const char* type_name() {
9441  return "std::pair<" "std::string" "," "Joint *" " >";
9442  }
9443  };
9444  }
9445 
9446 
9447  namespace swig {
9448  template <> struct traits<std::map<std::string, Joint *, std::less< std::string >, std::allocator< std::pair< std::string const,Joint * > > > > {
9449  typedef pointer_category category;
9450  static const char* type_name() {
9451  return "std::map<" "std::string" "," "Joint *" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,Joint * > >" " >";
9452  }
9453  };
9454  }
9455 
9456 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_Joint_Sm__Sg__iterator(std::map< std::string,Joint * > *self,PyObject **PYTHON_SELF){
9457  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9458  }
9459 SWIGINTERN bool std_map_Sl_std_string_Sc_Joint_Sm__Sg____nonzero__(std::map< std::string,Joint * > const *self){
9460  return !(self->empty());
9461  }
9462 SWIGINTERN bool std_map_Sl_std_string_Sc_Joint_Sm__Sg____bool__(std::map< std::string,Joint * > const *self){
9463  return !(self->empty());
9464  }
9465 SWIGINTERN std::map< std::string,Joint * >::size_type std_map_Sl_std_string_Sc_Joint_Sm__Sg____len__(std::map< std::string,Joint * > const *self){
9466  return self->size();
9467  }
9468 SWIGINTERN std::map< std::string,Joint * >::mapped_type const &std_map_Sl_std_string_Sc_Joint_Sm__Sg____getitem__(std::map< std::string,Joint * > *self,std::map< std::string,Joint * >::key_type const &key){
9469  std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::const_iterator i = self->find(key);
9470  if (i != self->end())
9471  return i->second;
9472  else
9473  throw std::out_of_range("key not found");
9474  }
9475 SWIGINTERN void std_map_Sl_std_string_Sc_Joint_Sm__Sg____delitem__(std::map< std::string,Joint * > *self,std::map< std::string,Joint * >::key_type const &key){
9476  std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::iterator i = self->find(key);
9477  if (i != self->end())
9478  self->erase(i);
9479  else
9480  throw std::out_of_range("key not found");
9481  }
9482 SWIGINTERN bool std_map_Sl_std_string_Sc_Joint_Sm__Sg__has_key(std::map< std::string,Joint * > const *self,std::map< std::string,Joint * >::key_type const &key){
9483  std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::const_iterator i = self->find(key);
9484  return i != self->end();
9485  }
9486 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Joint_Sm__Sg__keys(std::map< std::string,Joint * > *self){
9487  std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::size_type size = self->size();
9488  int pysize = (size <= (std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::size_type) INT_MAX) ? (int) size : -1;
9489  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9490  if (pysize < 0) {
9491  PyErr_SetString(PyExc_OverflowError,
9492  "map size not valid in python");
9493  SWIG_PYTHON_THREAD_END_BLOCK;
9494  return NULL;
9495  }
9496  PyObject* keyList = PyList_New(pysize);
9497  std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::const_iterator i = self->begin();
9498  for (int j = 0; j < pysize; ++i, ++j) {
9499  PyList_SET_ITEM(keyList, j, swig::from(i->first));
9500  }
9501  SWIG_PYTHON_THREAD_END_BLOCK;
9502  return keyList;
9503  }
9504 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Joint_Sm__Sg__values(std::map< std::string,Joint * > *self){
9505  std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::size_type size = self->size();
9506  int pysize = (size <= (std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::size_type) INT_MAX) ? (int) size : -1;
9507  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9508  if (pysize < 0) {
9509  PyErr_SetString(PyExc_OverflowError,
9510  "map size not valid in python");
9511  SWIG_PYTHON_THREAD_END_BLOCK;
9512  return NULL;
9513  }
9514  PyObject* valList = PyList_New(pysize);
9515  std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::const_iterator i = self->begin();
9516  for (int j = 0; j < pysize; ++i, ++j) {
9517  PyList_SET_ITEM(valList, j, swig::from(i->second));
9518  }
9519  SWIG_PYTHON_THREAD_END_BLOCK;
9520  return valList;
9521  }
9522 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Joint_Sm__Sg__items(std::map< std::string,Joint * > *self){
9523  std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::size_type size = self->size();
9524  int pysize = (size <= (std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::size_type) INT_MAX) ? (int) size : -1;
9525  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9526  if (pysize < 0) {
9527  PyErr_SetString(PyExc_OverflowError,
9528  "map size not valid in python");
9529  SWIG_PYTHON_THREAD_END_BLOCK;
9530  return NULL;
9531  }
9532  PyObject* itemList = PyList_New(pysize);
9533  std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::const_iterator i = self->begin();
9534  for (int j = 0; j < pysize; ++i, ++j) {
9535  PyList_SET_ITEM(itemList, j, swig::from(*i));
9536  }
9537  SWIG_PYTHON_THREAD_END_BLOCK;
9538  return itemList;
9539  }
9540 SWIGINTERN bool std_map_Sl_std_string_Sc_Joint_Sm__Sg____contains__(std::map< std::string,Joint * > *self,std::map< std::string,Joint * >::key_type const &key){
9541  return self->find(key) != self->end();
9542  }
9543 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_Joint_Sm__Sg__key_iterator(std::map< std::string,Joint * > *self,PyObject **PYTHON_SELF){
9544  return swig::make_output_key_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9545  }
9546 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_Joint_Sm__Sg__value_iterator(std::map< std::string,Joint * > *self,PyObject **PYTHON_SELF){
9547  return swig::make_output_value_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9548  }
9549 SWIGINTERN void std_map_Sl_std_string_Sc_Joint_Sm__Sg____setitem____SWIG_0(std::map< std::string,Joint * > *self,std::map< std::string,Joint * >::key_type const &key){
9550  self->erase(key);
9551  }
9552 SWIGINTERN void std_map_Sl_std_string_Sc_Joint_Sm__Sg____setitem____SWIG_1(std::map< std::string,Joint * > *self,std::map< std::string,Joint * >::key_type const &key,std::map< std::string,Joint * >::mapped_type const &x){
9553  (*self)[key] = x;
9554  }
9555 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Joint_Sm__Sg__asdict(std::map< std::string,Joint * > *self){
9556  return swig::traits_from< std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > > >::asdict(*self);
9557  }
9558 SWIGINTERN void std_map_Sl_std_string_Sc_Joint_Sm__Sg__erase__SWIG_1(std::map< std::string,Joint * > *self,std::map< std::string,Joint * >::iterator position){ self->erase(position); }
9559 SWIGINTERN void std_map_Sl_std_string_Sc_Joint_Sm__Sg__erase__SWIG_2(std::map< std::string,Joint * > *self,std::map< std::string,Joint * >::iterator first,std::map< std::string,Joint * >::iterator last){ self->erase(first, last); }
9560 
9561  namespace swig {
9562  template <> struct traits<NeuralModule * > {
9563  typedef pointer_category category;
9564  static const char* type_name() { return"NeuralModule *"; }
9565  };
9566  }
9567 
9568 
9569  namespace swig {
9570  template <> struct traits<std::pair< std::string, NeuralModule * > > {
9571  typedef pointer_category category;
9572  static const char* type_name() {
9573  return "std::pair<" "std::string" "," "NeuralModule *" " >";
9574  }
9575  };
9576  }
9577 
9578 
9579  namespace swig {
9580  template <> struct traits<std::map<std::string, NeuralModule *, std::less< std::string >, std::allocator< std::pair< std::string const,NeuralModule * > > > > {
9581  typedef pointer_category category;
9582  static const char* type_name() {
9583  return "std::map<" "std::string" "," "NeuralModule *" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,NeuralModule * > >" " >";
9584  }
9585  };
9586  }
9587 
9588 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__iterator(std::map< std::string,NeuralModule * > *self,PyObject **PYTHON_SELF){
9589  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9590  }
9591 SWIGINTERN bool std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____nonzero__(std::map< std::string,NeuralModule * > const *self){
9592  return !(self->empty());
9593  }
9594 SWIGINTERN bool std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____bool__(std::map< std::string,NeuralModule * > const *self){
9595  return !(self->empty());
9596  }
9597 SWIGINTERN std::map< std::string,NeuralModule * >::size_type std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____len__(std::map< std::string,NeuralModule * > const *self){
9598  return self->size();
9599  }
9600 SWIGINTERN std::map< std::string,NeuralModule * >::mapped_type const &std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____getitem__(std::map< std::string,NeuralModule * > *self,std::map< std::string,NeuralModule * >::key_type const &key){
9601  std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >::const_iterator i = self->find(key);
9602  if (i != self->end())
9603  return i->second;
9604  else
9605  throw std::out_of_range("key not found");
9606  }
9607 SWIGINTERN void std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____delitem__(std::map< std::string,NeuralModule * > *self,std::map< std::string,NeuralModule * >::key_type const &key){
9608  std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >::iterator i = self->find(key);
9609  if (i != self->end())
9610  self->erase(i);
9611  else
9612  throw std::out_of_range("key not found");
9613  }
9614 SWIGINTERN bool std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__has_key(std::map< std::string,NeuralModule * > const *self,std::map< std::string,NeuralModule * >::key_type const &key){
9615  std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >::const_iterator i = self->find(key);
9616  return i != self->end();
9617  }
9618 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__keys(std::map< std::string,NeuralModule * > *self){
9619  std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >::size_type size = self->size();
9620  int pysize = (size <= (std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >::size_type) INT_MAX) ? (int) size : -1;
9621  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9622  if (pysize < 0) {
9623  PyErr_SetString(PyExc_OverflowError,
9624  "map size not valid in python");
9625  SWIG_PYTHON_THREAD_END_BLOCK;
9626  return NULL;
9627  }
9628  PyObject* keyList = PyList_New(pysize);
9629  std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >::const_iterator i = self->begin();
9630  for (int j = 0; j < pysize; ++i, ++j) {
9631  PyList_SET_ITEM(keyList, j, swig::from(i->first));
9632  }
9633  SWIG_PYTHON_THREAD_END_BLOCK;
9634  return keyList;
9635  }
9636 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__values(std::map< std::string,NeuralModule * > *self){
9637  std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >::size_type size = self->size();
9638  int pysize = (size <= (std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >::size_type) INT_MAX) ? (int) size : -1;
9639  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9640  if (pysize < 0) {
9641  PyErr_SetString(PyExc_OverflowError,
9642  "map size not valid in python");
9643  SWIG_PYTHON_THREAD_END_BLOCK;
9644  return NULL;
9645  }
9646  PyObject* valList = PyList_New(pysize);
9647  std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >::const_iterator i = self->begin();
9648  for (int j = 0; j < pysize; ++i, ++j) {
9649  PyList_SET_ITEM(valList, j, swig::from(i->second));
9650  }
9651  SWIG_PYTHON_THREAD_END_BLOCK;
9652  return valList;
9653  }
9654 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__items(std::map< std::string,NeuralModule * > *self){
9655  std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >::size_type size = self->size();
9656  int pysize = (size <= (std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >::size_type) INT_MAX) ? (int) size : -1;
9657  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9658  if (pysize < 0) {
9659  PyErr_SetString(PyExc_OverflowError,
9660  "map size not valid in python");
9661  SWIG_PYTHON_THREAD_END_BLOCK;
9662  return NULL;
9663  }
9664  PyObject* itemList = PyList_New(pysize);
9665  std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >::const_iterator i = self->begin();
9666  for (int j = 0; j < pysize; ++i, ++j) {
9667  PyList_SET_ITEM(itemList, j, swig::from(*i));
9668  }
9669  SWIG_PYTHON_THREAD_END_BLOCK;
9670  return itemList;
9671  }
9672 SWIGINTERN bool std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____contains__(std::map< std::string,NeuralModule * > *self,std::map< std::string,NeuralModule * >::key_type const &key){
9673  return self->find(key) != self->end();
9674  }
9675 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__key_iterator(std::map< std::string,NeuralModule * > *self,PyObject **PYTHON_SELF){
9676  return swig::make_output_key_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9677  }
9678 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__value_iterator(std::map< std::string,NeuralModule * > *self,PyObject **PYTHON_SELF){
9679  return swig::make_output_value_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9680  }
9681 SWIGINTERN void std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____setitem____SWIG_0(std::map< std::string,NeuralModule * > *self,std::map< std::string,NeuralModule * >::key_type const &key){
9682  self->erase(key);
9683  }
9684 SWIGINTERN void std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____setitem____SWIG_1(std::map< std::string,NeuralModule * > *self,std::map< std::string,NeuralModule * >::key_type const &key,std::map< std::string,NeuralModule * >::mapped_type const &x){
9685  (*self)[key] = x;
9686  }
9687 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__asdict(std::map< std::string,NeuralModule * > *self){
9688  return swig::traits_from< std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > > >::asdict(*self);
9689  }
9690 SWIGINTERN void std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__erase__SWIG_1(std::map< std::string,NeuralModule * > *self,std::map< std::string,NeuralModule * >::iterator position){ self->erase(position); }
9691 SWIGINTERN void std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__erase__SWIG_2(std::map< std::string,NeuralModule * > *self,std::map< std::string,NeuralModule * >::iterator first,std::map< std::string,NeuralModule * >::iterator last){ self->erase(first, last); }
9692 
9693  namespace swig {
9694  template <> struct traits<Odor * > {
9695  typedef pointer_category category;
9696  static const char* type_name() { return"Odor *"; }
9697  };
9698  }
9699 
9700 
9701  namespace swig {
9702  template <> struct traits<std::pair< std::string, Odor * > > {
9703  typedef pointer_category category;
9704  static const char* type_name() {
9705  return "std::pair<" "std::string" "," "Odor *" " >";
9706  }
9707  };
9708  }
9709 
9710 
9711  namespace swig {
9712  template <> struct traits<std::map<std::string, Odor *, std::less< std::string >, std::allocator< std::pair< std::string const,Odor * > > > > {
9713  typedef pointer_category category;
9714  static const char* type_name() {
9715  return "std::map<" "std::string" "," "Odor *" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,Odor * > >" " >";
9716  }
9717  };
9718  }
9719 
9720 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_Odor_Sm__Sg__iterator(std::map< std::string,Odor * > *self,PyObject **PYTHON_SELF){
9721  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9722  }
9723 SWIGINTERN bool std_map_Sl_std_string_Sc_Odor_Sm__Sg____nonzero__(std::map< std::string,Odor * > const *self){
9724  return !(self->empty());
9725  }
9726 SWIGINTERN bool std_map_Sl_std_string_Sc_Odor_Sm__Sg____bool__(std::map< std::string,Odor * > const *self){
9727  return !(self->empty());
9728  }
9729 SWIGINTERN std::map< std::string,Odor * >::size_type std_map_Sl_std_string_Sc_Odor_Sm__Sg____len__(std::map< std::string,Odor * > const *self){
9730  return self->size();
9731  }
9732 SWIGINTERN std::map< std::string,Odor * >::mapped_type const &std_map_Sl_std_string_Sc_Odor_Sm__Sg____getitem__(std::map< std::string,Odor * > *self,std::map< std::string,Odor * >::key_type const &key){
9733  std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::const_iterator i = self->find(key);
9734  if (i != self->end())
9735  return i->second;
9736  else
9737  throw std::out_of_range("key not found");
9738  }
9739 SWIGINTERN void std_map_Sl_std_string_Sc_Odor_Sm__Sg____delitem__(std::map< std::string,Odor * > *self,std::map< std::string,Odor * >::key_type const &key){
9740  std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::iterator i = self->find(key);
9741  if (i != self->end())
9742  self->erase(i);
9743  else
9744  throw std::out_of_range("key not found");
9745  }
9746 SWIGINTERN bool std_map_Sl_std_string_Sc_Odor_Sm__Sg__has_key(std::map< std::string,Odor * > const *self,std::map< std::string,Odor * >::key_type const &key){
9747  std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::const_iterator i = self->find(key);
9748  return i != self->end();
9749  }
9750 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Odor_Sm__Sg__keys(std::map< std::string,Odor * > *self){
9751  std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::size_type size = self->size();
9752  int pysize = (size <= (std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::size_type) INT_MAX) ? (int) size : -1;
9753  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9754  if (pysize < 0) {
9755  PyErr_SetString(PyExc_OverflowError,
9756  "map size not valid in python");
9757  SWIG_PYTHON_THREAD_END_BLOCK;
9758  return NULL;
9759  }
9760  PyObject* keyList = PyList_New(pysize);
9761  std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::const_iterator i = self->begin();
9762  for (int j = 0; j < pysize; ++i, ++j) {
9763  PyList_SET_ITEM(keyList, j, swig::from(i->first));
9764  }
9765  SWIG_PYTHON_THREAD_END_BLOCK;
9766  return keyList;
9767  }
9768 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Odor_Sm__Sg__values(std::map< std::string,Odor * > *self){
9769  std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::size_type size = self->size();
9770  int pysize = (size <= (std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::size_type) INT_MAX) ? (int) size : -1;
9771  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9772  if (pysize < 0) {
9773  PyErr_SetString(PyExc_OverflowError,
9774  "map size not valid in python");
9775  SWIG_PYTHON_THREAD_END_BLOCK;
9776  return NULL;
9777  }
9778  PyObject* valList = PyList_New(pysize);
9779  std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::const_iterator i = self->begin();
9780  for (int j = 0; j < pysize; ++i, ++j) {
9781  PyList_SET_ITEM(valList, j, swig::from(i->second));
9782  }
9783  SWIG_PYTHON_THREAD_END_BLOCK;
9784  return valList;
9785  }
9786 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Odor_Sm__Sg__items(std::map< std::string,Odor * > *self){
9787  std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::size_type size = self->size();
9788  int pysize = (size <= (std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::size_type) INT_MAX) ? (int) size : -1;
9789  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9790  if (pysize < 0) {
9791  PyErr_SetString(PyExc_OverflowError,
9792  "map size not valid in python");
9793  SWIG_PYTHON_THREAD_END_BLOCK;
9794  return NULL;
9795  }
9796  PyObject* itemList = PyList_New(pysize);
9797  std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::const_iterator i = self->begin();
9798  for (int j = 0; j < pysize; ++i, ++j) {
9799  PyList_SET_ITEM(itemList, j, swig::from(*i));
9800  }
9801  SWIG_PYTHON_THREAD_END_BLOCK;
9802  return itemList;
9803  }
9804 SWIGINTERN bool std_map_Sl_std_string_Sc_Odor_Sm__Sg____contains__(std::map< std::string,Odor * > *self,std::map< std::string,Odor * >::key_type const &key){
9805  return self->find(key) != self->end();
9806  }
9807 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_Odor_Sm__Sg__key_iterator(std::map< std::string,Odor * > *self,PyObject **PYTHON_SELF){
9808  return swig::make_output_key_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9809  }
9810 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_Odor_Sm__Sg__value_iterator(std::map< std::string,Odor * > *self,PyObject **PYTHON_SELF){
9811  return swig::make_output_value_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9812  }
9813 SWIGINTERN void std_map_Sl_std_string_Sc_Odor_Sm__Sg____setitem____SWIG_0(std::map< std::string,Odor * > *self,std::map< std::string,Odor * >::key_type const &key){
9814  self->erase(key);
9815  }
9816 SWIGINTERN void std_map_Sl_std_string_Sc_Odor_Sm__Sg____setitem____SWIG_1(std::map< std::string,Odor * > *self,std::map< std::string,Odor * >::key_type const &key,std::map< std::string,Odor * >::mapped_type const &x){
9817  (*self)[key] = x;
9818  }
9819 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Odor_Sm__Sg__asdict(std::map< std::string,Odor * > *self){
9820  return swig::traits_from< std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > > >::asdict(*self);
9821  }
9822 SWIGINTERN void std_map_Sl_std_string_Sc_Odor_Sm__Sg__erase__SWIG_1(std::map< std::string,Odor * > *self,std::map< std::string,Odor * >::iterator position){ self->erase(position); }
9823 SWIGINTERN void std_map_Sl_std_string_Sc_Odor_Sm__Sg__erase__SWIG_2(std::map< std::string,Odor * > *self,std::map< std::string,Odor * >::iterator first,std::map< std::string,Odor * >::iterator last){ self->erase(first, last); }
9824 
9825  namespace swig {
9826  template <> struct traits<OdorType * > {
9827  typedef pointer_category category;
9828  static const char* type_name() { return"OdorType *"; }
9829  };
9830  }
9831 
9832 
9833  namespace swig {
9834  template <> struct traits<std::pair< std::string, OdorType * > > {
9835  typedef pointer_category category;
9836  static const char* type_name() {
9837  return "std::pair<" "std::string" "," "OdorType *" " >";
9838  }
9839  };
9840  }
9841 
9842 
9843  namespace swig {
9844  template <> struct traits<std::map<std::string, OdorType *, std::less< std::string >, std::allocator< std::pair< std::string const,OdorType * > > > > {
9845  typedef pointer_category category;
9846  static const char* type_name() {
9847  return "std::map<" "std::string" "," "OdorType *" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,OdorType * > >" " >";
9848  }
9849  };
9850  }
9851 
9852 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_OdorType_Sm__Sg__iterator(std::map< std::string,OdorType * > *self,PyObject **PYTHON_SELF){
9853  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9854  }
9855 SWIGINTERN bool std_map_Sl_std_string_Sc_OdorType_Sm__Sg____nonzero__(std::map< std::string,OdorType * > const *self){
9856  return !(self->empty());
9857  }
9858 SWIGINTERN bool std_map_Sl_std_string_Sc_OdorType_Sm__Sg____bool__(std::map< std::string,OdorType * > const *self){
9859  return !(self->empty());
9860  }
9861 SWIGINTERN std::map< std::string,OdorType * >::size_type std_map_Sl_std_string_Sc_OdorType_Sm__Sg____len__(std::map< std::string,OdorType * > const *self){
9862  return self->size();
9863  }
9864 SWIGINTERN std::map< std::string,OdorType * >::mapped_type const &std_map_Sl_std_string_Sc_OdorType_Sm__Sg____getitem__(std::map< std::string,OdorType * > *self,std::map< std::string,OdorType * >::key_type const &key){
9865  std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >::const_iterator i = self->find(key);
9866  if (i != self->end())
9867  return i->second;
9868  else
9869  throw std::out_of_range("key not found");
9870  }
9871 SWIGINTERN void std_map_Sl_std_string_Sc_OdorType_Sm__Sg____delitem__(std::map< std::string,OdorType * > *self,std::map< std::string,OdorType * >::key_type const &key){
9872  std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >::iterator i = self->find(key);
9873  if (i != self->end())
9874  self->erase(i);
9875  else
9876  throw std::out_of_range("key not found");
9877  }
9878 SWIGINTERN bool std_map_Sl_std_string_Sc_OdorType_Sm__Sg__has_key(std::map< std::string,OdorType * > const *self,std::map< std::string,OdorType * >::key_type const &key){
9879  std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >::const_iterator i = self->find(key);
9880  return i != self->end();
9881  }
9882 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_OdorType_Sm__Sg__keys(std::map< std::string,OdorType * > *self){
9883  std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >::size_type size = self->size();
9884  int pysize = (size <= (std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >::size_type) INT_MAX) ? (int) size : -1;
9885  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9886  if (pysize < 0) {
9887  PyErr_SetString(PyExc_OverflowError,
9888  "map size not valid in python");
9889  SWIG_PYTHON_THREAD_END_BLOCK;
9890  return NULL;
9891  }
9892  PyObject* keyList = PyList_New(pysize);
9893  std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >::const_iterator i = self->begin();
9894  for (int j = 0; j < pysize; ++i, ++j) {
9895  PyList_SET_ITEM(keyList, j, swig::from(i->first));
9896  }
9897  SWIG_PYTHON_THREAD_END_BLOCK;
9898  return keyList;
9899  }
9900 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_OdorType_Sm__Sg__values(std::map< std::string,OdorType * > *self){
9901  std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >::size_type size = self->size();
9902  int pysize = (size <= (std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >::size_type) INT_MAX) ? (int) size : -1;
9903  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9904  if (pysize < 0) {
9905  PyErr_SetString(PyExc_OverflowError,
9906  "map size not valid in python");
9907  SWIG_PYTHON_THREAD_END_BLOCK;
9908  return NULL;
9909  }
9910  PyObject* valList = PyList_New(pysize);
9911  std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >::const_iterator i = self->begin();
9912  for (int j = 0; j < pysize; ++i, ++j) {
9913  PyList_SET_ITEM(valList, j, swig::from(i->second));
9914  }
9915  SWIG_PYTHON_THREAD_END_BLOCK;
9916  return valList;
9917  }
9918 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_OdorType_Sm__Sg__items(std::map< std::string,OdorType * > *self){
9919  std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >::size_type size = self->size();
9920  int pysize = (size <= (std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >::size_type) INT_MAX) ? (int) size : -1;
9921  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
9922  if (pysize < 0) {
9923  PyErr_SetString(PyExc_OverflowError,
9924  "map size not valid in python");
9925  SWIG_PYTHON_THREAD_END_BLOCK;
9926  return NULL;
9927  }
9928  PyObject* itemList = PyList_New(pysize);
9929  std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >::const_iterator i = self->begin();
9930  for (int j = 0; j < pysize; ++i, ++j) {
9931  PyList_SET_ITEM(itemList, j, swig::from(*i));
9932  }
9933  SWIG_PYTHON_THREAD_END_BLOCK;
9934  return itemList;
9935  }
9936 SWIGINTERN bool std_map_Sl_std_string_Sc_OdorType_Sm__Sg____contains__(std::map< std::string,OdorType * > *self,std::map< std::string,OdorType * >::key_type const &key){
9937  return self->find(key) != self->end();
9938  }
9939 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_OdorType_Sm__Sg__key_iterator(std::map< std::string,OdorType * > *self,PyObject **PYTHON_SELF){
9940  return swig::make_output_key_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9941  }
9942 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_OdorType_Sm__Sg__value_iterator(std::map< std::string,OdorType * > *self,PyObject **PYTHON_SELF){
9943  return swig::make_output_value_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9944  }
9945 SWIGINTERN void std_map_Sl_std_string_Sc_OdorType_Sm__Sg____setitem____SWIG_0(std::map< std::string,OdorType * > *self,std::map< std::string,OdorType * >::key_type const &key){
9946  self->erase(key);
9947  }
9948 SWIGINTERN void std_map_Sl_std_string_Sc_OdorType_Sm__Sg____setitem____SWIG_1(std::map< std::string,OdorType * > *self,std::map< std::string,OdorType * >::key_type const &key,std::map< std::string,OdorType * >::mapped_type const &x){
9949  (*self)[key] = x;
9950  }
9951 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_OdorType_Sm__Sg__asdict(std::map< std::string,OdorType * > *self){
9952  return swig::traits_from< std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > > >::asdict(*self);
9953  }
9954 SWIGINTERN void std_map_Sl_std_string_Sc_OdorType_Sm__Sg__erase__SWIG_1(std::map< std::string,OdorType * > *self,std::map< std::string,OdorType * >::iterator position){ self->erase(position); }
9955 SWIGINTERN void std_map_Sl_std_string_Sc_OdorType_Sm__Sg__erase__SWIG_2(std::map< std::string,OdorType * > *self,std::map< std::string,OdorType * >::iterator first,std::map< std::string,OdorType * >::iterator last){ self->erase(first, last); }
9956 
9957  namespace swig {
9958  template <> struct traits<Organism * > {
9959  typedef pointer_category category;
9960  static const char* type_name() { return"Organism *"; }
9961  };
9962  }
9963 
9964 
9965  namespace swig {
9966  template <> struct traits<std::pair< std::string, Organism * > > {
9967  typedef pointer_category category;
9968  static const char* type_name() {
9969  return "std::pair<" "std::string" "," "Organism *" " >";
9970  }
9971  };
9972  }
9973 
9974 
9975  namespace swig {
9976  template <> struct traits<std::map<std::string, Organism *, std::less< std::string >, std::allocator< std::pair< std::string const,Organism * > > > > {
9977  typedef pointer_category category;
9978  static const char* type_name() {
9979  return "std::map<" "std::string" "," "Organism *" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,Organism * > >" " >";
9980  }
9981  };
9982  }
9983 
9984 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_Organism_Sm__Sg__iterator(std::map< std::string,Organism * > *self,PyObject **PYTHON_SELF){
9985  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
9986  }
9987 SWIGINTERN bool std_map_Sl_std_string_Sc_Organism_Sm__Sg____nonzero__(std::map< std::string,Organism * > const *self){
9988  return !(self->empty());
9989  }
9990 SWIGINTERN bool std_map_Sl_std_string_Sc_Organism_Sm__Sg____bool__(std::map< std::string,Organism * > const *self){
9991  return !(self->empty());
9992  }
9993 SWIGINTERN std::map< std::string,Organism * >::size_type std_map_Sl_std_string_Sc_Organism_Sm__Sg____len__(std::map< std::string,Organism * > const *self){
9994  return self->size();
9995  }
9996 SWIGINTERN std::map< std::string,Organism * >::mapped_type const &std_map_Sl_std_string_Sc_Organism_Sm__Sg____getitem__(std::map< std::string,Organism * > *self,std::map< std::string,Organism * >::key_type const &key){
9997  std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >::const_iterator i = self->find(key);
9998  if (i != self->end())
9999  return i->second;
10000  else
10001  throw std::out_of_range("key not found");
10002  }
10003 SWIGINTERN void std_map_Sl_std_string_Sc_Organism_Sm__Sg____delitem__(std::map< std::string,Organism * > *self,std::map< std::string,Organism * >::key_type const &key){
10004  std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >::iterator i = self->find(key);
10005  if (i != self->end())
10006  self->erase(i);
10007  else
10008  throw std::out_of_range("key not found");
10009  }
10010 SWIGINTERN bool std_map_Sl_std_string_Sc_Organism_Sm__Sg__has_key(std::map< std::string,Organism * > const *self,std::map< std::string,Organism * >::key_type const &key){
10011  std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >::const_iterator i = self->find(key);
10012  return i != self->end();
10013  }
10014 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Organism_Sm__Sg__keys(std::map< std::string,Organism * > *self){
10015  std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >::size_type size = self->size();
10016  int pysize = (size <= (std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >::size_type) INT_MAX) ? (int) size : -1;
10017  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
10018  if (pysize < 0) {
10019  PyErr_SetString(PyExc_OverflowError,
10020  "map size not valid in python");
10021  SWIG_PYTHON_THREAD_END_BLOCK;
10022  return NULL;
10023  }
10024  PyObject* keyList = PyList_New(pysize);
10025  std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >::const_iterator i = self->begin();
10026  for (int j = 0; j < pysize; ++i, ++j) {
10027  PyList_SET_ITEM(keyList, j, swig::from(i->first));
10028  }
10029  SWIG_PYTHON_THREAD_END_BLOCK;
10030  return keyList;
10031  }
10032 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Organism_Sm__Sg__values(std::map< std::string,Organism * > *self){
10033  std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >::size_type size = self->size();
10034  int pysize = (size <= (std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >::size_type) INT_MAX) ? (int) size : -1;
10035  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
10036  if (pysize < 0) {
10037  PyErr_SetString(PyExc_OverflowError,
10038  "map size not valid in python");
10039  SWIG_PYTHON_THREAD_END_BLOCK;
10040  return NULL;
10041  }
10042  PyObject* valList = PyList_New(pysize);
10043  std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >::const_iterator i = self->begin();
10044  for (int j = 0; j < pysize; ++i, ++j) {
10045  PyList_SET_ITEM(valList, j, swig::from(i->second));
10046  }
10047  SWIG_PYTHON_THREAD_END_BLOCK;
10048  return valList;
10049  }
10050 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Organism_Sm__Sg__items(std::map< std::string,Organism * > *self){
10051  std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >::size_type size = self->size();
10052  int pysize = (size <= (std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >::size_type) INT_MAX) ? (int) size : -1;
10053  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
10054  if (pysize < 0) {
10055  PyErr_SetString(PyExc_OverflowError,
10056  "map size not valid in python");
10057  SWIG_PYTHON_THREAD_END_BLOCK;
10058  return NULL;
10059  }
10060  PyObject* itemList = PyList_New(pysize);
10061  std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >::const_iterator i = self->begin();
10062  for (int j = 0; j < pysize; ++i, ++j) {
10063  PyList_SET_ITEM(itemList, j, swig::from(*i));
10064  }
10065  SWIG_PYTHON_THREAD_END_BLOCK;
10066  return itemList;
10067  }
10068 SWIGINTERN bool std_map_Sl_std_string_Sc_Organism_Sm__Sg____contains__(std::map< std::string,Organism * > *self,std::map< std::string,Organism * >::key_type const &key){
10069  return self->find(key) != self->end();
10070  }
10071 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_Organism_Sm__Sg__key_iterator(std::map< std::string,Organism * > *self,PyObject **PYTHON_SELF){
10072  return swig::make_output_key_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
10073  }
10074 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_Organism_Sm__Sg__value_iterator(std::map< std::string,Organism * > *self,PyObject **PYTHON_SELF){
10075  return swig::make_output_value_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
10076  }
10077 SWIGINTERN void std_map_Sl_std_string_Sc_Organism_Sm__Sg____setitem____SWIG_0(std::map< std::string,Organism * > *self,std::map< std::string,Organism * >::key_type const &key){
10078  self->erase(key);
10079  }
10080 SWIGINTERN void std_map_Sl_std_string_Sc_Organism_Sm__Sg____setitem____SWIG_1(std::map< std::string,Organism * > *self,std::map< std::string,Organism * >::key_type const &key,std::map< std::string,Organism * >::mapped_type const &x){
10081  (*self)[key] = x;
10082  }
10083 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Organism_Sm__Sg__asdict(std::map< std::string,Organism * > *self){
10084  return swig::traits_from< std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > > >::asdict(*self);
10085  }
10086 SWIGINTERN void std_map_Sl_std_string_Sc_Organism_Sm__Sg__erase__SWIG_1(std::map< std::string,Organism * > *self,std::map< std::string,Organism * >::iterator position){ self->erase(position); }
10087 SWIGINTERN void std_map_Sl_std_string_Sc_Organism_Sm__Sg__erase__SWIG_2(std::map< std::string,Organism * > *self,std::map< std::string,Organism * >::iterator first,std::map< std::string,Organism * >::iterator last){ self->erase(first, last); }
10088 
10089  namespace swig {
10090  template <> struct traits<RigidBody * > {
10091  typedef pointer_category category;
10092  static const char* type_name() { return"RigidBody *"; }
10093  };
10094  }
10095 
10096 
10097  namespace swig {
10098  template <> struct traits<std::pair< std::string, RigidBody * > > {
10099  typedef pointer_category category;
10100  static const char* type_name() {
10101  return "std::pair<" "std::string" "," "RigidBody *" " >";
10102  }
10103  };
10104  }
10105 
10106 
10107  namespace swig {
10108  template <> struct traits<std::map<std::string, RigidBody *, std::less< std::string >, std::allocator< std::pair< std::string const,RigidBody * > > > > {
10109  typedef pointer_category category;
10110  static const char* type_name() {
10111  return "std::map<" "std::string" "," "RigidBody *" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,RigidBody * > >" " >";
10112  }
10113  };
10114  }
10115 
10116 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__iterator(std::map< std::string,RigidBody * > *self,PyObject **PYTHON_SELF){
10117  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
10118  }
10119 SWIGINTERN bool std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____nonzero__(std::map< std::string,RigidBody * > const *self){
10120  return !(self->empty());
10121  }
10122 SWIGINTERN bool std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____bool__(std::map< std::string,RigidBody * > const *self){
10123  return !(self->empty());
10124  }
10125 SWIGINTERN std::map< std::string,RigidBody * >::size_type std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____len__(std::map< std::string,RigidBody * > const *self){
10126  return self->size();
10127  }
10128 SWIGINTERN std::map< std::string,RigidBody * >::mapped_type const &std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____getitem__(std::map< std::string,RigidBody * > *self,std::map< std::string,RigidBody * >::key_type const &key){
10129  std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::const_iterator i = self->find(key);
10130  if (i != self->end())
10131  return i->second;
10132  else
10133  throw std::out_of_range("key not found");
10134  }
10135 SWIGINTERN void std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____delitem__(std::map< std::string,RigidBody * > *self,std::map< std::string,RigidBody * >::key_type const &key){
10136  std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::iterator i = self->find(key);
10137  if (i != self->end())
10138  self->erase(i);
10139  else
10140  throw std::out_of_range("key not found");
10141  }
10142 SWIGINTERN bool std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__has_key(std::map< std::string,RigidBody * > const *self,std::map< std::string,RigidBody * >::key_type const &key){
10143  std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::const_iterator i = self->find(key);
10144  return i != self->end();
10145  }
10146 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__keys(std::map< std::string,RigidBody * > *self){
10147  std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::size_type size = self->size();
10148  int pysize = (size <= (std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::size_type) INT_MAX) ? (int) size : -1;
10149  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
10150  if (pysize < 0) {
10151  PyErr_SetString(PyExc_OverflowError,
10152  "map size not valid in python");
10153  SWIG_PYTHON_THREAD_END_BLOCK;
10154  return NULL;
10155  }
10156  PyObject* keyList = PyList_New(pysize);
10157  std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::const_iterator i = self->begin();
10158  for (int j = 0; j < pysize; ++i, ++j) {
10159  PyList_SET_ITEM(keyList, j, swig::from(i->first));
10160  }
10161  SWIG_PYTHON_THREAD_END_BLOCK;
10162  return keyList;
10163  }
10164 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__values(std::map< std::string,RigidBody * > *self){
10165  std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::size_type size = self->size();
10166  int pysize = (size <= (std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::size_type) INT_MAX) ? (int) size : -1;
10167  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
10168  if (pysize < 0) {
10169  PyErr_SetString(PyExc_OverflowError,
10170  "map size not valid in python");
10171  SWIG_PYTHON_THREAD_END_BLOCK;
10172  return NULL;
10173  }
10174  PyObject* valList = PyList_New(pysize);
10175  std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::const_iterator i = self->begin();
10176  for (int j = 0; j < pysize; ++i, ++j) {
10177  PyList_SET_ITEM(valList, j, swig::from(i->second));
10178  }
10179  SWIG_PYTHON_THREAD_END_BLOCK;
10180  return valList;
10181  }
10182 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__items(std::map< std::string,RigidBody * > *self){
10183  std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::size_type size = self->size();
10184  int pysize = (size <= (std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::size_type) INT_MAX) ? (int) size : -1;
10185  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
10186  if (pysize < 0) {
10187  PyErr_SetString(PyExc_OverflowError,
10188  "map size not valid in python");
10189  SWIG_PYTHON_THREAD_END_BLOCK;
10190  return NULL;
10191  }
10192  PyObject* itemList = PyList_New(pysize);
10193  std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::const_iterator i = self->begin();
10194  for (int j = 0; j < pysize; ++i, ++j) {
10195  PyList_SET_ITEM(itemList, j, swig::from(*i));
10196  }
10197  SWIG_PYTHON_THREAD_END_BLOCK;
10198  return itemList;
10199  }
10200 SWIGINTERN bool std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____contains__(std::map< std::string,RigidBody * > *self,std::map< std::string,RigidBody * >::key_type const &key){
10201  return self->find(key) != self->end();
10202  }
10203 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__key_iterator(std::map< std::string,RigidBody * > *self,PyObject **PYTHON_SELF){
10204  return swig::make_output_key_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
10205  }
10206 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__value_iterator(std::map< std::string,RigidBody * > *self,PyObject **PYTHON_SELF){
10207  return swig::make_output_value_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
10208  }
10209 SWIGINTERN void std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____setitem____SWIG_0(std::map< std::string,RigidBody * > *self,std::map< std::string,RigidBody * >::key_type const &key){
10210  self->erase(key);
10211  }
10212 SWIGINTERN void std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____setitem____SWIG_1(std::map< std::string,RigidBody * > *self,std::map< std::string,RigidBody * >::key_type const &key,std::map< std::string,RigidBody * >::mapped_type const &x){
10213  (*self)[key] = x;
10214  }
10215 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__asdict(std::map< std::string,RigidBody * > *self){
10216  return swig::traits_from< std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > > >::asdict(*self);
10217  }
10218 SWIGINTERN void std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__erase__SWIG_1(std::map< std::string,RigidBody * > *self,std::map< std::string,RigidBody * >::iterator position){ self->erase(position); }
10219 SWIGINTERN void std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__erase__SWIG_2(std::map< std::string,RigidBody * > *self,std::map< std::string,RigidBody * >::iterator first,std::map< std::string,RigidBody * >::iterator last){ self->erase(first, last); }
10220 
10221  namespace swig {
10222  template <> struct traits<Structure * > {
10223  typedef pointer_category category;
10224  static const char* type_name() { return"Structure *"; }
10225  };
10226  }
10227 
10228 
10229  namespace swig {
10230  template <> struct traits<std::pair< std::string, Structure * > > {
10231  typedef pointer_category category;
10232  static const char* type_name() {
10233  return "std::pair<" "std::string" "," "Structure *" " >";
10234  }
10235  };
10236  }
10237 
10238 
10239  namespace swig {
10240  template <> struct traits<std::map<std::string, Structure *, std::less< std::string >, std::allocator< std::pair< std::string const,Structure * > > > > {
10241  typedef pointer_category category;
10242  static const char* type_name() {
10243  return "std::map<" "std::string" "," "Structure *" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,Structure * > >" " >";
10244  }
10245  };
10246  }
10247 
10248 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_Structure_Sm__Sg__iterator(std::map< std::string,Structure * > *self,PyObject **PYTHON_SELF){
10249  return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
10250  }
10251 SWIGINTERN bool std_map_Sl_std_string_Sc_Structure_Sm__Sg____nonzero__(std::map< std::string,Structure * > const *self){
10252  return !(self->empty());
10253  }
10254 SWIGINTERN bool std_map_Sl_std_string_Sc_Structure_Sm__Sg____bool__(std::map< std::string,Structure * > const *self){
10255  return !(self->empty());
10256  }
10257 SWIGINTERN std::map< std::string,Structure * >::size_type std_map_Sl_std_string_Sc_Structure_Sm__Sg____len__(std::map< std::string,Structure * > const *self){
10258  return self->size();
10259  }
10260 SWIGINTERN std::map< std::string,Structure * >::mapped_type const &std_map_Sl_std_string_Sc_Structure_Sm__Sg____getitem__(std::map< std::string,Structure * > *self,std::map< std::string,Structure * >::key_type const &key){
10261  std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::const_iterator i = self->find(key);
10262  if (i != self->end())
10263  return i->second;
10264  else
10265  throw std::out_of_range("key not found");
10266  }
10267 SWIGINTERN void std_map_Sl_std_string_Sc_Structure_Sm__Sg____delitem__(std::map< std::string,Structure * > *self,std::map< std::string,Structure * >::key_type const &key){
10268  std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::iterator i = self->find(key);
10269  if (i != self->end())
10270  self->erase(i);
10271  else
10272  throw std::out_of_range("key not found");
10273  }
10274 SWIGINTERN bool std_map_Sl_std_string_Sc_Structure_Sm__Sg__has_key(std::map< std::string,Structure * > const *self,std::map< std::string,Structure * >::key_type const &key){
10275  std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::const_iterator i = self->find(key);
10276  return i != self->end();
10277  }
10278 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Structure_Sm__Sg__keys(std::map< std::string,Structure * > *self){
10279  std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::size_type size = self->size();
10280  int pysize = (size <= (std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::size_type) INT_MAX) ? (int) size : -1;
10281  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
10282  if (pysize < 0) {
10283  PyErr_SetString(PyExc_OverflowError,
10284  "map size not valid in python");
10285  SWIG_PYTHON_THREAD_END_BLOCK;
10286  return NULL;
10287  }
10288  PyObject* keyList = PyList_New(pysize);
10289  std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::const_iterator i = self->begin();
10290  for (int j = 0; j < pysize; ++i, ++j) {
10291  PyList_SET_ITEM(keyList, j, swig::from(i->first));
10292  }
10293  SWIG_PYTHON_THREAD_END_BLOCK;
10294  return keyList;
10295  }
10296 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Structure_Sm__Sg__values(std::map< std::string,Structure * > *self){
10297  std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::size_type size = self->size();
10298  int pysize = (size <= (std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::size_type) INT_MAX) ? (int) size : -1;
10299  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
10300  if (pysize < 0) {
10301  PyErr_SetString(PyExc_OverflowError,
10302  "map size not valid in python");
10303  SWIG_PYTHON_THREAD_END_BLOCK;
10304  return NULL;
10305  }
10306  PyObject* valList = PyList_New(pysize);
10307  std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::const_iterator i = self->begin();
10308  for (int j = 0; j < pysize; ++i, ++j) {
10309  PyList_SET_ITEM(valList, j, swig::from(i->second));
10310  }
10311  SWIG_PYTHON_THREAD_END_BLOCK;
10312  return valList;
10313  }
10314 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Structure_Sm__Sg__items(std::map< std::string,Structure * > *self){
10315  std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::size_type size = self->size();
10316  int pysize = (size <= (std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::size_type) INT_MAX) ? (int) size : -1;
10317  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
10318  if (pysize < 0) {
10319  PyErr_SetString(PyExc_OverflowError,
10320  "map size not valid in python");
10321  SWIG_PYTHON_THREAD_END_BLOCK;
10322  return NULL;
10323  }
10324  PyObject* itemList = PyList_New(pysize);
10325  std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::const_iterator i = self->begin();
10326  for (int j = 0; j < pysize; ++i, ++j) {
10327  PyList_SET_ITEM(itemList, j, swig::from(*i));
10328  }
10329  SWIG_PYTHON_THREAD_END_BLOCK;
10330  return itemList;
10331  }
10332 SWIGINTERN bool std_map_Sl_std_string_Sc_Structure_Sm__Sg____contains__(std::map< std::string,Structure * > *self,std::map< std::string,Structure * >::key_type const &key){
10333  return self->find(key) != self->end();
10334  }
10335 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_Structure_Sm__Sg__key_iterator(std::map< std::string,Structure * > *self,PyObject **PYTHON_SELF){
10336  return swig::make_output_key_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
10337  }
10338 SWIGINTERN swig::SwigPyIterator *std_map_Sl_std_string_Sc_Structure_Sm__Sg__value_iterator(std::map< std::string,Structure * > *self,PyObject **PYTHON_SELF){
10339  return swig::make_output_value_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
10340  }
10341 SWIGINTERN void std_map_Sl_std_string_Sc_Structure_Sm__Sg____setitem____SWIG_0(std::map< std::string,Structure * > *self,std::map< std::string,Structure * >::key_type const &key){
10342  self->erase(key);
10343  }
10344 SWIGINTERN void std_map_Sl_std_string_Sc_Structure_Sm__Sg____setitem____SWIG_1(std::map< std::string,Structure * > *self,std::map< std::string,Structure * >::key_type const &key,std::map< std::string,Structure * >::mapped_type const &x){
10345  (*self)[key] = x;
10346  }
10347 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Structure_Sm__Sg__asdict(std::map< std::string,Structure * > *self){
10348  return swig::traits_from< std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > > >::asdict(*self);
10349  }
10350 SWIGINTERN void std_map_Sl_std_string_Sc_Structure_Sm__Sg__erase__SWIG_1(std::map< std::string,Structure * > *self,std::map< std::string,Structure * >::iterator position){ self->erase(position); }
10351 SWIGINTERN void std_map_Sl_std_string_Sc_Structure_Sm__Sg__erase__SWIG_2(std::map< std::string,Structure * > *self,std::map< std::string,Structure * >::iterator first,std::map< std::string,Structure * >::iterator last){ self->erase(first, last); }
10352 
10353  namespace swig
10354  {
10355  template <> struct traits<AnimatBase>
10356  {
10357  typedef pointer_category category;
10358  static const char* type_name() { return "AnimatBase *"; }
10359  };
10360 
10361  template <> struct traits<IStdClassFactory>
10362  {
10363  typedef pointer_category category;
10364  static const char* type_name() { return "IStdClassFactory *"; }
10365  };
10366 
10367  template <> struct traits<Joint>
10368  {
10369  typedef pointer_category category;
10370  static const char* type_name() { return "Joint *"; }
10371  };
10372 
10373  template <> struct traits<NeuralModule>
10374  {
10375  typedef pointer_category category;
10376  static const char* type_name() { return "NeuralModule *"; }
10377  };
10378 
10379  template <> struct traits<Odor>
10380  {
10381  typedef pointer_category category;
10382  static const char* type_name() { return "Odor *"; }
10383  };
10384 
10385  template <> struct traits<OdorType>
10386  {
10387  typedef pointer_category category;
10388  static const char* type_name() { return "OdorType *"; }
10389  };
10390 
10391  template <> struct traits<Organism>
10392  {
10393  typedef pointer_category category;
10394  static const char* type_name() { return "Organism *"; }
10395  };
10396 
10397  template <> struct traits<Structure>
10398  {
10399  typedef pointer_category category;
10400  static const char* type_name() { return "Structure *"; }
10401  };
10402  }
10403 
10404 
10405 SWIGINTERN int
10406 SWIG_AsVal_bool (PyObject *obj, bool *val)
10407 {
10408  int r;
10409  if (!PyBool_Check(obj))
10410  return SWIG_ERROR;
10411  r = PyObject_IsTrue(obj);
10412  if (r == -1)
10413  return SWIG_ERROR;
10414  if (val) *val = r ? true : false;
10415  return SWIG_OK;
10416 }
10417 
10418 
10419 
10420 
10421 
10422 SWIGINTERN int
10423 SWIG_AsCharArray(PyObject * obj, char *val, size_t size)
10424 {
10425  char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
10426  int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
10427  if (SWIG_IsOK(res)) {
10428  /* special case of single char conversion when we don't need space for NUL */
10429  if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
10430  if (csize <= size) {
10431  if (val) {
10432  if (csize) memcpy(val, cptr, csize*sizeof(char));
10433  if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
10434  }
10435  if (alloc == SWIG_NEWOBJ) {
10436  delete[] cptr;
10437  res = SWIG_DelNewMask(res);
10438  }
10439  return res;
10440  }
10441  if (alloc == SWIG_NEWOBJ) delete[] cptr;
10442  }
10443  return SWIG_TypeError;
10444 }
10445 
10446 
10447 SWIGINTERN int
10448 SWIG_AsVal_char (PyObject * obj, char *val)
10449 {
10450  int res = SWIG_AsCharArray(obj, val, 1);
10451  if (!SWIG_IsOK(res)) {
10452  long v;
10453  res = SWIG_AddCast(SWIG_AsVal_long (obj, &v));
10454  if (SWIG_IsOK(res)) {
10455  if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
10456  if (val) *val = static_cast< char >(v);
10457  } else {
10458  res = SWIG_OverflowError;
10459  }
10460  }
10461  }
10462  return res;
10463 }
10464 
10465 
10466 SWIGINTERN int
10467 SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
10468 {
10469  unsigned long v;
10470  int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
10471  if (SWIG_IsOK(res)) {
10472  if ((v > UCHAR_MAX)) {
10473  return SWIG_OverflowError;
10474  } else {
10475  if (val) *val = static_cast< unsigned char >(v);
10476  }
10477  }
10478  return res;
10479 }
10480 
10481 
10482 SWIGINTERNINLINE PyObject *
10483 SWIG_From_short (short value)
10484 {
10485  return SWIG_From_long (value);
10486 }
10487 
10488 
10489 SWIGINTERN int
10490 SWIG_AsVal_short (PyObject * obj, short *val)
10491 {
10492  long v;
10493  int res = SWIG_AsVal_long (obj, &v);
10494  if (SWIG_IsOK(res)) {
10495  if ((v < SHRT_MIN || v > SHRT_MAX)) {
10496  return SWIG_OverflowError;
10497  } else {
10498  if (val) *val = static_cast< short >(v);
10499  }
10500  }
10501  return res;
10502 }
10503 
10504 
10505 SWIGINTERNINLINE PyObject *
10506 SWIG_From_char (char c)
10507 {
10508  return SWIG_FromCharPtrAndSize(&c,1);
10509 }
10510 
10511 
10512 SWIGINTERNINLINE PyObject *
10513 SWIG_FromCharPtr(const char *cptr)
10514 {
10515  return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
10516 }
10517 
10518 
10519 SWIGINTERNINLINE PyObject *
10520 SWIG_From_unsigned_SS_char (unsigned char value)
10521 {
10522  return SWIG_From_unsigned_SS_long (value);
10523 }
10524 
10525 
10526 SWIGINTERNINLINE PyObject *
10527 SWIG_From_unsigned_SS_short (unsigned short value)
10528 {
10529  return SWIG_From_unsigned_SS_long (value);
10530 }
10531 
10532 
10533 SWIGINTERN int
10534 SWIG_AsVal_unsigned_SS_short (PyObject * obj, unsigned short *val)
10535 {
10536  unsigned long v;
10537  int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
10538  if (SWIG_IsOK(res)) {
10539  if ((v > USHRT_MAX)) {
10540  return SWIG_OverflowError;
10541  } else {
10542  if (val) *val = static_cast< unsigned short >(v);
10543  }
10544  }
10545  return res;
10546 }
10547 
10548 
10549 SWIGINTERNINLINE PyObject*
10550  SWIG_From_unsigned_SS_int (unsigned int value)
10551 {
10552  return PyInt_FromSize_t((size_t) value);
10553 }
10554 
10555 
10556 SWIGINTERN int
10557 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
10558 {
10559  unsigned long v;
10560  int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
10561  if (SWIG_IsOK(res)) {
10562  if ((v > UINT_MAX)) {
10563  return SWIG_OverflowError;
10564  } else {
10565  if (val) *val = static_cast< unsigned int >(v);
10566  }
10567  }
10568  return res;
10569 }
10570 
10571 
10572 SWIGINTERNINLINE PyObject*
10573 SWIG_From_long_SS_long (long long value)
10574 {
10575  return ((value < LONG_MIN) || (value > LONG_MAX)) ?
10576  PyLong_FromLongLong(value) : PyLong_FromLong(static_cast< long >(value));
10577 }
10578 
10579 
10580 SWIGINTERNINLINE PyObject*
10581 SWIG_From_unsigned_SS_long_SS_long (unsigned long long value)
10582 {
10583  return (value > LONG_MAX) ?
10584  PyLong_FromUnsignedLongLong(value) : PyLong_FromLong(static_cast< long >(value));
10585 }
10586 
10587 
10588 SWIGINTERN int
10589 SWIG_AsVal_unsigned_SS_long_SS_long (PyObject *obj, unsigned long long *val)
10590 {
10591  int res = SWIG_TypeError;
10592  if (PyLong_Check(obj)) {
10593  unsigned long long v = PyLong_AsUnsignedLongLong(obj);
10594  if (!PyErr_Occurred()) {
10595  if (val) *val = v;
10596  return SWIG_OK;
10597  } else {
10598  PyErr_Clear();
10599  }
10600  } else {
10601  unsigned long v;
10602  res = SWIG_AsVal_unsigned_SS_long (obj,&v);
10603  if (SWIG_IsOK(res)) {
10604  if (val) *val = v;
10605  return res;
10606  }
10607  }
10608 #ifdef SWIG_PYTHON_CAST_MODE
10609  {
10610  const double mant_max = 1LL << DBL_MANT_DIG;
10611  double d;
10612  res = SWIG_AsVal_double (obj,&d);
10613  if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) {
10614  if (val) *val = (unsigned long long)(d);
10615  return SWIG_AddCast(res);
10616  }
10617  res = SWIG_TypeError;
10618  }
10619 #endif
10620  return res;
10621 }
10622 
10623 
10624 
10625 /* ---------------------------------------------------
10626  * C++ director class methods
10627  * --------------------------------------------------- */
10628 
10629 #include "AnimatSimPy_wrap.h"
10630 
10631 #ifdef __cplusplus
10632 extern "C" {
10633 #endif
10634 SWIGINTERN PyObject *_wrap_delete_SwigPyIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10635  PyObject *resultobj = 0;
10637  void *argp1 = 0 ;
10638  int res1 = 0 ;
10639  PyObject * obj0 = 0 ;
10640 
10641  if (!PyArg_ParseTuple(args,(char *)"O:delete_SwigPyIterator",&obj0)) SWIG_fail;
10642  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 );
10643  if (!SWIG_IsOK(res1)) {
10644  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SwigPyIterator" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
10645  }
10646  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
10647  delete arg1;
10648  resultobj = SWIG_Py_Void();
10649  return resultobj;
10650 fail:
10651  return NULL;
10652 }
10653 
10654 
10655 SWIGINTERN PyObject *_wrap_SwigPyIterator_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10656  PyObject *resultobj = 0;
10658  void *argp1 = 0 ;
10659  int res1 = 0 ;
10660  PyObject * obj0 = 0 ;
10661  PyObject *result = 0 ;
10662 
10663  if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_value",&obj0)) SWIG_fail;
10664  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
10665  if (!SWIG_IsOK(res1)) {
10666  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_value" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
10667  }
10668  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
10669  try {
10670  result = (PyObject *)((swig::SwigPyIterator const *)arg1)->value();
10671  }
10672  catch(swig::stop_iteration &_e) {
10673  {
10674  (void)_e;
10675  SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
10676  SWIG_fail;
10677  }
10678  }
10679 
10680  resultobj = result;
10681  return resultobj;
10682 fail:
10683  return NULL;
10684 }
10685 
10686 
10687 SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10688  PyObject *resultobj = 0;
10690  size_t arg2 ;
10691  void *argp1 = 0 ;
10692  int res1 = 0 ;
10693  size_t val2 ;
10694  int ecode2 = 0 ;
10695  PyObject * obj0 = 0 ;
10696  PyObject * obj1 = 0 ;
10697  swig::SwigPyIterator *result = 0 ;
10698 
10699  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_incr",&obj0,&obj1)) SWIG_fail;
10700  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
10701  if (!SWIG_IsOK(res1)) {
10702  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_incr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
10703  }
10704  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
10705  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
10706  if (!SWIG_IsOK(ecode2)) {
10707  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator_incr" "', argument " "2"" of type '" "size_t""'");
10708  }
10709  arg2 = static_cast< size_t >(val2);
10710  try {
10711  result = (swig::SwigPyIterator *)(arg1)->incr(arg2);
10712  }
10713  catch(swig::stop_iteration &_e) {
10714  {
10715  (void)_e;
10716  SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
10717  SWIG_fail;
10718  }
10719  }
10720 
10721  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
10722  return resultobj;
10723 fail:
10724  return NULL;
10725 }
10726 
10727 
10728 SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10729  PyObject *resultobj = 0;
10731  void *argp1 = 0 ;
10732  int res1 = 0 ;
10733  PyObject * obj0 = 0 ;
10734  swig::SwigPyIterator *result = 0 ;
10735 
10736  if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_incr",&obj0)) SWIG_fail;
10737  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
10738  if (!SWIG_IsOK(res1)) {
10739  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_incr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
10740  }
10741  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
10742  try {
10743  result = (swig::SwigPyIterator *)(arg1)->incr();
10744  }
10745  catch(swig::stop_iteration &_e) {
10746  {
10747  (void)_e;
10748  SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
10749  SWIG_fail;
10750  }
10751  }
10752 
10753  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
10754  return resultobj;
10755 fail:
10756  return NULL;
10757 }
10758 
10759 
10760 SWIGINTERN PyObject *_wrap_SwigPyIterator_incr(PyObject *self, PyObject *args) {
10761  int argc;
10762  PyObject *argv[3];
10763  int ii;
10764 
10765  if (!PyTuple_Check(args)) SWIG_fail;
10766  argc = args ? (int)PyObject_Length(args) : 0;
10767  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
10768  argv[ii] = PyTuple_GET_ITEM(args,ii);
10769  }
10770  if (argc == 1) {
10771  int _v;
10772  void *vptr = 0;
10773  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
10774  _v = SWIG_CheckState(res);
10775  if (_v) {
10776  return _wrap_SwigPyIterator_incr__SWIG_1(self, args);
10777  }
10778  }
10779  if (argc == 2) {
10780  int _v;
10781  void *vptr = 0;
10782  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
10783  _v = SWIG_CheckState(res);
10784  if (_v) {
10785  {
10786  int res = SWIG_AsVal_size_t(argv[1], NULL);
10787  _v = SWIG_CheckState(res);
10788  }
10789  if (_v) {
10790  return _wrap_SwigPyIterator_incr__SWIG_0(self, args);
10791  }
10792  }
10793  }
10794 
10795 fail:
10796  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SwigPyIterator_incr'.\n"
10797  " Possible C/C++ prototypes are:\n"
10798  " swig::SwigPyIterator::incr(size_t)\n"
10799  " swig::SwigPyIterator::incr()\n");
10800  return 0;
10801 }
10802 
10803 
10804 SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10805  PyObject *resultobj = 0;
10807  size_t arg2 ;
10808  void *argp1 = 0 ;
10809  int res1 = 0 ;
10810  size_t val2 ;
10811  int ecode2 = 0 ;
10812  PyObject * obj0 = 0 ;
10813  PyObject * obj1 = 0 ;
10814  swig::SwigPyIterator *result = 0 ;
10815 
10816  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_decr",&obj0,&obj1)) SWIG_fail;
10817  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
10818  if (!SWIG_IsOK(res1)) {
10819  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_decr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
10820  }
10821  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
10822  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
10823  if (!SWIG_IsOK(ecode2)) {
10824  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator_decr" "', argument " "2"" of type '" "size_t""'");
10825  }
10826  arg2 = static_cast< size_t >(val2);
10827  try {
10828  result = (swig::SwigPyIterator *)(arg1)->decr(arg2);
10829  }
10830  catch(swig::stop_iteration &_e) {
10831  {
10832  (void)_e;
10833  SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
10834  SWIG_fail;
10835  }
10836  }
10837 
10838  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
10839  return resultobj;
10840 fail:
10841  return NULL;
10842 }
10843 
10844 
10845 SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10846  PyObject *resultobj = 0;
10848  void *argp1 = 0 ;
10849  int res1 = 0 ;
10850  PyObject * obj0 = 0 ;
10851  swig::SwigPyIterator *result = 0 ;
10852 
10853  if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_decr",&obj0)) SWIG_fail;
10854  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
10855  if (!SWIG_IsOK(res1)) {
10856  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_decr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
10857  }
10858  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
10859  try {
10860  result = (swig::SwigPyIterator *)(arg1)->decr();
10861  }
10862  catch(swig::stop_iteration &_e) {
10863  {
10864  (void)_e;
10865  SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
10866  SWIG_fail;
10867  }
10868  }
10869 
10870  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
10871  return resultobj;
10872 fail:
10873  return NULL;
10874 }
10875 
10876 
10877 SWIGINTERN PyObject *_wrap_SwigPyIterator_decr(PyObject *self, PyObject *args) {
10878  int argc;
10879  PyObject *argv[3];
10880  int ii;
10881 
10882  if (!PyTuple_Check(args)) SWIG_fail;
10883  argc = args ? (int)PyObject_Length(args) : 0;
10884  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
10885  argv[ii] = PyTuple_GET_ITEM(args,ii);
10886  }
10887  if (argc == 1) {
10888  int _v;
10889  void *vptr = 0;
10890  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
10891  _v = SWIG_CheckState(res);
10892  if (_v) {
10893  return _wrap_SwigPyIterator_decr__SWIG_1(self, args);
10894  }
10895  }
10896  if (argc == 2) {
10897  int _v;
10898  void *vptr = 0;
10899  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
10900  _v = SWIG_CheckState(res);
10901  if (_v) {
10902  {
10903  int res = SWIG_AsVal_size_t(argv[1], NULL);
10904  _v = SWIG_CheckState(res);
10905  }
10906  if (_v) {
10907  return _wrap_SwigPyIterator_decr__SWIG_0(self, args);
10908  }
10909  }
10910  }
10911 
10912 fail:
10913  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SwigPyIterator_decr'.\n"
10914  " Possible C/C++ prototypes are:\n"
10915  " swig::SwigPyIterator::decr(size_t)\n"
10916  " swig::SwigPyIterator::decr()\n");
10917  return 0;
10918 }
10919 
10920 
10921 SWIGINTERN PyObject *_wrap_SwigPyIterator_distance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10922  PyObject *resultobj = 0;
10924  swig::SwigPyIterator *arg2 = 0 ;
10925  void *argp1 = 0 ;
10926  int res1 = 0 ;
10927  void *argp2 = 0 ;
10928  int res2 = 0 ;
10929  PyObject * obj0 = 0 ;
10930  PyObject * obj1 = 0 ;
10931  ptrdiff_t result;
10932 
10933  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_distance",&obj0,&obj1)) SWIG_fail;
10934  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
10935  if (!SWIG_IsOK(res1)) {
10936  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_distance" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
10937  }
10938  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
10939  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0);
10940  if (!SWIG_IsOK(res2)) {
10941  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator_distance" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
10942  }
10943  if (!argp2) {
10944  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator_distance" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
10945  }
10946  arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
10947  try {
10948  result = ((swig::SwigPyIterator const *)arg1)->distance((swig::SwigPyIterator const &)*arg2);
10949  }
10950  catch(std::invalid_argument &_e) {
10951  SWIG_Python_Raise(SWIG_NewPointerObj((new std::invalid_argument(static_cast< const std::invalid_argument& >(_e))),SWIGTYPE_p_std__invalid_argument,SWIG_POINTER_OWN), "std::invalid_argument", SWIGTYPE_p_std__invalid_argument); SWIG_fail;
10952  }
10953 
10954  resultobj = SWIG_From_ptrdiff_t(static_cast< ptrdiff_t >(result));
10955  return resultobj;
10956 fail:
10957  return NULL;
10958 }
10959 
10960 
10961 SWIGINTERN PyObject *_wrap_SwigPyIterator_equal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10962  PyObject *resultobj = 0;
10964  swig::SwigPyIterator *arg2 = 0 ;
10965  void *argp1 = 0 ;
10966  int res1 = 0 ;
10967  void *argp2 = 0 ;
10968  int res2 = 0 ;
10969  PyObject * obj0 = 0 ;
10970  PyObject * obj1 = 0 ;
10971  bool result;
10972 
10973  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_equal",&obj0,&obj1)) SWIG_fail;
10974  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
10975  if (!SWIG_IsOK(res1)) {
10976  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_equal" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
10977  }
10978  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
10979  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0);
10980  if (!SWIG_IsOK(res2)) {
10981  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator_equal" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
10982  }
10983  if (!argp2) {
10984  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator_equal" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
10985  }
10986  arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
10987  try {
10988  result = (bool)((swig::SwigPyIterator const *)arg1)->equal((swig::SwigPyIterator const &)*arg2);
10989  }
10990  catch(std::invalid_argument &_e) {
10991  SWIG_Python_Raise(SWIG_NewPointerObj((new std::invalid_argument(static_cast< const std::invalid_argument& >(_e))),SWIGTYPE_p_std__invalid_argument,SWIG_POINTER_OWN), "std::invalid_argument", SWIGTYPE_p_std__invalid_argument); SWIG_fail;
10992  }
10993 
10994  resultobj = SWIG_From_bool(static_cast< bool >(result));
10995  return resultobj;
10996 fail:
10997  return NULL;
10998 }
10999 
11000 
11001 SWIGINTERN PyObject *_wrap_SwigPyIterator_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11002  PyObject *resultobj = 0;
11004  void *argp1 = 0 ;
11005  int res1 = 0 ;
11006  PyObject * obj0 = 0 ;
11007  swig::SwigPyIterator *result = 0 ;
11008 
11009  if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_copy",&obj0)) SWIG_fail;
11010  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
11011  if (!SWIG_IsOK(res1)) {
11012  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_copy" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
11013  }
11014  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
11015  result = (swig::SwigPyIterator *)((swig::SwigPyIterator const *)arg1)->copy();
11016  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
11017  return resultobj;
11018 fail:
11019  return NULL;
11020 }
11021 
11022 
11023 SWIGINTERN PyObject *_wrap_SwigPyIterator_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11024  PyObject *resultobj = 0;
11026  void *argp1 = 0 ;
11027  int res1 = 0 ;
11028  PyObject * obj0 = 0 ;
11029  PyObject *result = 0 ;
11030 
11031  if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_next",&obj0)) SWIG_fail;
11032  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
11033  if (!SWIG_IsOK(res1)) {
11034  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_next" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
11035  }
11036  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
11037  try {
11038  result = (PyObject *)(arg1)->next();
11039  }
11040  catch(swig::stop_iteration &_e) {
11041  {
11042  (void)_e;
11043  SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
11044  SWIG_fail;
11045  }
11046  }
11047 
11048  resultobj = result;
11049  return resultobj;
11050 fail:
11051  return NULL;
11052 }
11053 
11054 
11055 SWIGINTERN PyObject *_wrap_SwigPyIterator___next__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11056  PyObject *resultobj = 0;
11058  void *argp1 = 0 ;
11059  int res1 = 0 ;
11060  PyObject * obj0 = 0 ;
11061  PyObject *result = 0 ;
11062 
11063  if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator___next__",&obj0)) SWIG_fail;
11064  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
11065  if (!SWIG_IsOK(res1)) {
11066  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___next__" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
11067  }
11068  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
11069  try {
11070  result = (PyObject *)(arg1)->__next__();
11071  }
11072  catch(swig::stop_iteration &_e) {
11073  {
11074  (void)_e;
11075  SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
11076  SWIG_fail;
11077  }
11078  }
11079 
11080  resultobj = result;
11081  return resultobj;
11082 fail:
11083  return NULL;
11084 }
11085 
11086 
11087 SWIGINTERN PyObject *_wrap_SwigPyIterator_previous(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11088  PyObject *resultobj = 0;
11090  void *argp1 = 0 ;
11091  int res1 = 0 ;
11092  PyObject * obj0 = 0 ;
11093  PyObject *result = 0 ;
11094 
11095  if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_previous",&obj0)) SWIG_fail;
11096  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
11097  if (!SWIG_IsOK(res1)) {
11098  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_previous" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
11099  }
11100  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
11101  try {
11102  result = (PyObject *)(arg1)->previous();
11103  }
11104  catch(swig::stop_iteration &_e) {
11105  {
11106  (void)_e;
11107  SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
11108  SWIG_fail;
11109  }
11110  }
11111 
11112  resultobj = result;
11113  return resultobj;
11114 fail:
11115  return NULL;
11116 }
11117 
11118 
11119 SWIGINTERN PyObject *_wrap_SwigPyIterator_advance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11120  PyObject *resultobj = 0;
11122  ptrdiff_t arg2 ;
11123  void *argp1 = 0 ;
11124  int res1 = 0 ;
11125  ptrdiff_t val2 ;
11126  int ecode2 = 0 ;
11127  PyObject * obj0 = 0 ;
11128  PyObject * obj1 = 0 ;
11129  swig::SwigPyIterator *result = 0 ;
11130 
11131  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_advance",&obj0,&obj1)) SWIG_fail;
11132  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
11133  if (!SWIG_IsOK(res1)) {
11134  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_advance" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
11135  }
11136  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
11137  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
11138  if (!SWIG_IsOK(ecode2)) {
11139  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator_advance" "', argument " "2"" of type '" "ptrdiff_t""'");
11140  }
11141  arg2 = static_cast< ptrdiff_t >(val2);
11142  try {
11143  result = (swig::SwigPyIterator *)(arg1)->advance(arg2);
11144  }
11145  catch(swig::stop_iteration &_e) {
11146  {
11147  (void)_e;
11148  SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
11149  SWIG_fail;
11150  }
11151  }
11152 
11153  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
11154  return resultobj;
11155 fail:
11156  return NULL;
11157 }
11158 
11159 
11160 SWIGINTERN PyObject *_wrap_SwigPyIterator___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11161  PyObject *resultobj = 0;
11163  swig::SwigPyIterator *arg2 = 0 ;
11164  void *argp1 = 0 ;
11165  int res1 = 0 ;
11166  void *argp2 = 0 ;
11167  int res2 = 0 ;
11168  PyObject * obj0 = 0 ;
11169  PyObject * obj1 = 0 ;
11170  bool result;
11171 
11172  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___eq__",&obj0,&obj1)) SWIG_fail;
11173  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
11174  if (!SWIG_IsOK(res1)) {
11175  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___eq__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
11176  }
11177  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
11178  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0);
11179  if (!SWIG_IsOK(res2)) {
11180  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator___eq__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
11181  }
11182  if (!argp2) {
11183  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator___eq__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
11184  }
11185  arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
11186  result = (bool)((swig::SwigPyIterator const *)arg1)->operator ==((swig::SwigPyIterator const &)*arg2);
11187  resultobj = SWIG_From_bool(static_cast< bool >(result));
11188  return resultobj;
11189 fail:
11190  return NULL;
11191 }
11192 
11193 
11194 SWIGINTERN PyObject *_wrap_SwigPyIterator___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11195  PyObject *resultobj = 0;
11197  swig::SwigPyIterator *arg2 = 0 ;
11198  void *argp1 = 0 ;
11199  int res1 = 0 ;
11200  void *argp2 = 0 ;
11201  int res2 = 0 ;
11202  PyObject * obj0 = 0 ;
11203  PyObject * obj1 = 0 ;
11204  bool result;
11205 
11206  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___ne__",&obj0,&obj1)) SWIG_fail;
11207  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
11208  if (!SWIG_IsOK(res1)) {
11209  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___ne__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
11210  }
11211  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
11212  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0);
11213  if (!SWIG_IsOK(res2)) {
11214  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator___ne__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
11215  }
11216  if (!argp2) {
11217  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator___ne__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
11218  }
11219  arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
11220  result = (bool)((swig::SwigPyIterator const *)arg1)->operator !=((swig::SwigPyIterator const &)*arg2);
11221  resultobj = SWIG_From_bool(static_cast< bool >(result));
11222  return resultobj;
11223 fail:
11224  return NULL;
11225 }
11226 
11227 
11228 SWIGINTERN PyObject *_wrap_SwigPyIterator___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11229  PyObject *resultobj = 0;
11231  ptrdiff_t arg2 ;
11232  void *argp1 = 0 ;
11233  int res1 = 0 ;
11234  ptrdiff_t val2 ;
11235  int ecode2 = 0 ;
11236  PyObject * obj0 = 0 ;
11237  PyObject * obj1 = 0 ;
11238  swig::SwigPyIterator *result = 0 ;
11239 
11240  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___iadd__",&obj0,&obj1)) SWIG_fail;
11241  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 );
11242  if (!SWIG_IsOK(res1)) {
11243  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___iadd__" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
11244  }
11245  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
11246  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
11247  if (!SWIG_IsOK(ecode2)) {
11248  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___iadd__" "', argument " "2"" of type '" "ptrdiff_t""'");
11249  }
11250  arg2 = static_cast< ptrdiff_t >(val2);
11251  try {
11252  result = (swig::SwigPyIterator *) &(arg1)->operator +=(arg2);
11253  }
11254  catch(swig::stop_iteration &_e) {
11255  {
11256  (void)_e;
11257  SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
11258  SWIG_fail;
11259  }
11260  }
11261 
11262  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
11263  return resultobj;
11264 fail:
11265  return NULL;
11266 }
11267 
11268 
11269 SWIGINTERN PyObject *_wrap_SwigPyIterator___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11270  PyObject *resultobj = 0;
11272  ptrdiff_t arg2 ;
11273  void *argp1 = 0 ;
11274  int res1 = 0 ;
11275  ptrdiff_t val2 ;
11276  int ecode2 = 0 ;
11277  PyObject * obj0 = 0 ;
11278  PyObject * obj1 = 0 ;
11279  swig::SwigPyIterator *result = 0 ;
11280 
11281  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___isub__",&obj0,&obj1)) SWIG_fail;
11282  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 );
11283  if (!SWIG_IsOK(res1)) {
11284  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___isub__" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
11285  }
11286  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
11287  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
11288  if (!SWIG_IsOK(ecode2)) {
11289  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___isub__" "', argument " "2"" of type '" "ptrdiff_t""'");
11290  }
11291  arg2 = static_cast< ptrdiff_t >(val2);
11292  try {
11293  result = (swig::SwigPyIterator *) &(arg1)->operator -=(arg2);
11294  }
11295  catch(swig::stop_iteration &_e) {
11296  {
11297  (void)_e;
11298  SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
11299  SWIG_fail;
11300  }
11301  }
11302 
11303  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
11304  return resultobj;
11305 fail:
11306  return NULL;
11307 }
11308 
11309 
11310 SWIGINTERN PyObject *_wrap_SwigPyIterator___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11311  PyObject *resultobj = 0;
11313  ptrdiff_t arg2 ;
11314  void *argp1 = 0 ;
11315  int res1 = 0 ;
11316  ptrdiff_t val2 ;
11317  int ecode2 = 0 ;
11318  PyObject * obj0 = 0 ;
11319  PyObject * obj1 = 0 ;
11320  swig::SwigPyIterator *result = 0 ;
11321 
11322  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___add__",&obj0,&obj1)) SWIG_fail;
11323  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
11324  if (!SWIG_IsOK(res1)) {
11325  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___add__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
11326  }
11327  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
11328  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
11329  if (!SWIG_IsOK(ecode2)) {
11330  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___add__" "', argument " "2"" of type '" "ptrdiff_t""'");
11331  }
11332  arg2 = static_cast< ptrdiff_t >(val2);
11333  try {
11334  result = (swig::SwigPyIterator *)((swig::SwigPyIterator const *)arg1)->operator +(arg2);
11335  }
11336  catch(swig::stop_iteration &_e) {
11337  {
11338  (void)_e;
11339  SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
11340  SWIG_fail;
11341  }
11342  }
11343 
11344  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
11345  return resultobj;
11346 fail:
11347  return NULL;
11348 }
11349 
11350 
11351 SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11352  PyObject *resultobj = 0;
11354  ptrdiff_t arg2 ;
11355  void *argp1 = 0 ;
11356  int res1 = 0 ;
11357  ptrdiff_t val2 ;
11358  int ecode2 = 0 ;
11359  PyObject * obj0 = 0 ;
11360  PyObject * obj1 = 0 ;
11361  swig::SwigPyIterator *result = 0 ;
11362 
11363  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___sub__",&obj0,&obj1)) SWIG_fail;
11364  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
11365  if (!SWIG_IsOK(res1)) {
11366  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___sub__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
11367  }
11368  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
11369  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
11370  if (!SWIG_IsOK(ecode2)) {
11371  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '" "ptrdiff_t""'");
11372  }
11373  arg2 = static_cast< ptrdiff_t >(val2);
11374  try {
11375  result = (swig::SwigPyIterator *)((swig::SwigPyIterator const *)arg1)->operator -(arg2);
11376  }
11377  catch(swig::stop_iteration &_e) {
11378  {
11379  (void)_e;
11380  SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
11381  SWIG_fail;
11382  }
11383  }
11384 
11385  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
11386  return resultobj;
11387 fail:
11388  return NULL;
11389 }
11390 
11391 
11392 SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11393  PyObject *resultobj = 0;
11395  swig::SwigPyIterator *arg2 = 0 ;
11396  void *argp1 = 0 ;
11397  int res1 = 0 ;
11398  void *argp2 = 0 ;
11399  int res2 = 0 ;
11400  PyObject * obj0 = 0 ;
11401  PyObject * obj1 = 0 ;
11402  ptrdiff_t result;
11403 
11404  if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___sub__",&obj0,&obj1)) SWIG_fail;
11405  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
11406  if (!SWIG_IsOK(res1)) {
11407  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___sub__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
11408  }
11409  arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
11410  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0);
11411  if (!SWIG_IsOK(res2)) {
11412  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
11413  }
11414  if (!argp2) {
11415  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
11416  }
11417  arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
11418  result = ((swig::SwigPyIterator const *)arg1)->operator -((swig::SwigPyIterator const &)*arg2);
11419  resultobj = SWIG_From_ptrdiff_t(static_cast< ptrdiff_t >(result));
11420  return resultobj;
11421 fail:
11422  return NULL;
11423 }
11424 
11425 
11426 SWIGINTERN PyObject *_wrap_SwigPyIterator___sub__(PyObject *self, PyObject *args) {
11427  int argc;
11428  PyObject *argv[3];
11429  int ii;
11430 
11431  if (!PyTuple_Check(args)) SWIG_fail;
11432  argc = args ? (int)PyObject_Length(args) : 0;
11433  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
11434  argv[ii] = PyTuple_GET_ITEM(args,ii);
11435  }
11436  if (argc == 2) {
11437  int _v;
11438  void *vptr = 0;
11439  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
11440  _v = SWIG_CheckState(res);
11441  if (_v) {
11442  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_swig__SwigPyIterator, 0);
11443  _v = SWIG_CheckState(res);
11444  if (_v) {
11445  return _wrap_SwigPyIterator___sub____SWIG_1(self, args);
11446  }
11447  }
11448  }
11449  if (argc == 2) {
11450  int _v;
11451  void *vptr = 0;
11452  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
11453  _v = SWIG_CheckState(res);
11454  if (_v) {
11455  {
11456  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
11457  _v = SWIG_CheckState(res);
11458  }
11459  if (_v) {
11460  return _wrap_SwigPyIterator___sub____SWIG_0(self, args);
11461  }
11462  }
11463  }
11464 
11465 fail:
11466  Py_INCREF(Py_NotImplemented);
11467  return Py_NotImplemented;
11468 }
11469 
11470 
11471 SWIGINTERN PyObject *SwigPyIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11472  PyObject *obj;
11473  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
11474  SWIG_TypeNewClientData(SWIGTYPE_p_swig__SwigPyIterator, SWIG_NewClientData(obj));
11475  return SWIG_Py_Void();
11476 }
11477 
11478 SWIGINTERN PyObject *SHARED_PTR_DISOWN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11479  PyObject *module;
11480  PyObject *d;
11481  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
11482  d = PyModule_GetDict(module);
11483  if (!d) return NULL;
11484  SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
11485  return SWIG_Py_Void();
11486 }
11487 
11488 
11489 SWIGINTERN PyObject *_wrap_vector_string_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11490  PyObject *resultobj = 0;
11491  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
11492  PyObject **arg2 = (PyObject **) 0 ;
11493  void *argp1 = 0 ;
11494  int res1 = 0 ;
11495  PyObject * obj0 = 0 ;
11496  swig::SwigPyIterator *result = 0 ;
11497 
11498  arg2 = &obj0;
11499  if (!PyArg_ParseTuple(args,(char *)"O:vector_string_iterator",&obj0)) SWIG_fail;
11500  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
11501  if (!SWIG_IsOK(res1)) {
11502  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_iterator" "', argument " "1"" of type '" "std::vector< std::string > *""'");
11503  }
11504  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
11505  result = (swig::SwigPyIterator *)std_vector_Sl_std_string_Sg__iterator(arg1,arg2);
11506  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
11507  return resultobj;
11508 fail:
11509  return NULL;
11510 }
11511 
11512 
11513 SWIGINTERN PyObject *_wrap_vector_string___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11514  PyObject *resultobj = 0;
11515  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
11516  void *argp1 = 0 ;
11517  int res1 = 0 ;
11518  PyObject * obj0 = 0 ;
11519  bool result;
11520 
11521  if (!PyArg_ParseTuple(args,(char *)"O:vector_string___nonzero__",&obj0)) SWIG_fail;
11522  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
11523  if (!SWIG_IsOK(res1)) {
11524  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string___nonzero__" "', argument " "1"" of type '" "std::vector< std::string > const *""'");
11525  }
11526  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
11527  result = (bool)std_vector_Sl_std_string_Sg____nonzero__((std::vector< std::string > const *)arg1);
11528  resultobj = SWIG_From_bool(static_cast< bool >(result));
11529  return resultobj;
11530 fail:
11531  return NULL;
11532 }
11533 
11534 
11535 SWIGINTERN PyObject *_wrap_vector_string___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11536  PyObject *resultobj = 0;
11537  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
11538  void *argp1 = 0 ;
11539  int res1 = 0 ;
11540  PyObject * obj0 = 0 ;
11541  bool result;
11542 
11543  if (!PyArg_ParseTuple(args,(char *)"O:vector_string___bool__",&obj0)) SWIG_fail;
11544  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
11545  if (!SWIG_IsOK(res1)) {
11546  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string___bool__" "', argument " "1"" of type '" "std::vector< std::string > const *""'");
11547  }
11548  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
11549  result = (bool)std_vector_Sl_std_string_Sg____bool__((std::vector< std::string > const *)arg1);
11550  resultobj = SWIG_From_bool(static_cast< bool >(result));
11551  return resultobj;
11552 fail:
11553  return NULL;
11554 }
11555 
11556 
11557 SWIGINTERN PyObject *_wrap_vector_string___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11558  PyObject *resultobj = 0;
11559  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
11560  void *argp1 = 0 ;
11561  int res1 = 0 ;
11562  PyObject * obj0 = 0 ;
11563  std::vector< std::string >::size_type result;
11564 
11565  if (!PyArg_ParseTuple(args,(char *)"O:vector_string___len__",&obj0)) SWIG_fail;
11566  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
11567  if (!SWIG_IsOK(res1)) {
11568  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string___len__" "', argument " "1"" of type '" "std::vector< std::string > const *""'");
11569  }
11570  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
11571  result = std_vector_Sl_std_string_Sg____len__((std::vector< std::string > const *)arg1);
11572  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
11573  return resultobj;
11574 fail:
11575  return NULL;
11576 }
11577 
11578 
11579 SWIGINTERN PyObject *_wrap_vector_string_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11580  PyObject *resultobj = 0;
11581  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
11582  void *argp1 = 0 ;
11583  int res1 = 0 ;
11584  PyObject * obj0 = 0 ;
11585  std::vector< std::string >::value_type result;
11586 
11587  if (!PyArg_ParseTuple(args,(char *)"O:vector_string_pop",&obj0)) SWIG_fail;
11588  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
11589  if (!SWIG_IsOK(res1)) {
11590  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_pop" "', argument " "1"" of type '" "std::vector< std::string > *""'");
11591  }
11592  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
11593  try {
11594  result = std_vector_Sl_std_string_Sg__pop(arg1);
11595  }
11596  catch(std::out_of_range &_e) {
11597  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
11598  }
11599 
11600  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
11601  return resultobj;
11602 fail:
11603  return NULL;
11604 }
11605 
11606 
11607 SWIGINTERN PyObject *_wrap_vector_string___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11608  PyObject *resultobj = 0;
11609  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
11610  std::vector< std::string >::difference_type arg2 ;
11611  std::vector< std::string >::difference_type arg3 ;
11612  void *argp1 = 0 ;
11613  int res1 = 0 ;
11614  ptrdiff_t val2 ;
11615  int ecode2 = 0 ;
11616  ptrdiff_t val3 ;
11617  int ecode3 = 0 ;
11618  PyObject * obj0 = 0 ;
11619  PyObject * obj1 = 0 ;
11620  PyObject * obj2 = 0 ;
11621  std::vector< std::string,std::allocator< std::string > > *result = 0 ;
11622 
11623  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_string___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
11624  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
11625  if (!SWIG_IsOK(res1)) {
11626  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string___getslice__" "', argument " "1"" of type '" "std::vector< std::string > *""'");
11627  }
11628  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
11629  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
11630  if (!SWIG_IsOK(ecode2)) {
11631  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_string___getslice__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'");
11632  }
11633  arg2 = static_cast< std::vector< std::string >::difference_type >(val2);
11634  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
11635  if (!SWIG_IsOK(ecode3)) {
11636  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_string___getslice__" "', argument " "3"" of type '" "std::vector< std::string >::difference_type""'");
11637  }
11638  arg3 = static_cast< std::vector< std::string >::difference_type >(val3);
11639  try {
11640  result = (std::vector< std::string,std::allocator< std::string > > *)std_vector_Sl_std_string_Sg____getslice__(arg1,arg2,arg3);
11641  }
11642  catch(std::out_of_range &_e) {
11643  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
11644  }
11645  catch(std::invalid_argument &_e) {
11646  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
11647  }
11648 
11649  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_POINTER_OWN | 0 );
11650  return resultobj;
11651 fail:
11652  return NULL;
11653 }
11654 
11655 
11656 SWIGINTERN PyObject *_wrap_vector_string___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11657  PyObject *resultobj = 0;
11658  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
11659  std::vector< std::string >::difference_type arg2 ;
11660  std::vector< std::string >::difference_type arg3 ;
11661  std::vector< std::string,std::allocator< std::string > > *arg4 = 0 ;
11662  void *argp1 = 0 ;
11663  int res1 = 0 ;
11664  ptrdiff_t val2 ;
11665  int ecode2 = 0 ;
11666  ptrdiff_t val3 ;
11667  int ecode3 = 0 ;
11668  int res4 = SWIG_OLDOBJ ;
11669  PyObject * obj0 = 0 ;
11670  PyObject * obj1 = 0 ;
11671  PyObject * obj2 = 0 ;
11672  PyObject * obj3 = 0 ;
11673 
11674  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_string___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11675  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
11676  if (!SWIG_IsOK(res1)) {
11677  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string___setslice__" "', argument " "1"" of type '" "std::vector< std::string > *""'");
11678  }
11679  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
11680  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
11681  if (!SWIG_IsOK(ecode2)) {
11682  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_string___setslice__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'");
11683  }
11684  arg2 = static_cast< std::vector< std::string >::difference_type >(val2);
11685  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
11686  if (!SWIG_IsOK(ecode3)) {
11687  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_string___setslice__" "', argument " "3"" of type '" "std::vector< std::string >::difference_type""'");
11688  }
11689  arg3 = static_cast< std::vector< std::string >::difference_type >(val3);
11690  {
11691  std::vector<std::string,std::allocator< std::string > > *ptr = (std::vector<std::string,std::allocator< std::string > > *)0;
11692  res4 = swig::asptr(obj3, &ptr);
11693  if (!SWIG_IsOK(res4)) {
11694  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_string___setslice__" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'");
11695  }
11696  if (!ptr) {
11697  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_string___setslice__" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'");
11698  }
11699  arg4 = ptr;
11700  }
11701  try {
11702  std_vector_Sl_std_string_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< std::string,std::allocator< std::string > > const &)*arg4);
11703  }
11704  catch(std::out_of_range &_e) {
11705  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
11706  }
11707  catch(std::invalid_argument &_e) {
11708  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
11709  }
11710 
11711  resultobj = SWIG_Py_Void();
11712  if (SWIG_IsNewObj(res4)) delete arg4;
11713  return resultobj;
11714 fail:
11715  if (SWIG_IsNewObj(res4)) delete arg4;
11716  return NULL;
11717 }
11718 
11719 
11720 SWIGINTERN PyObject *_wrap_vector_string___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11721  PyObject *resultobj = 0;
11722  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
11723  std::vector< std::string >::difference_type arg2 ;
11724  std::vector< std::string >::difference_type arg3 ;
11725  void *argp1 = 0 ;
11726  int res1 = 0 ;
11727  ptrdiff_t val2 ;
11728  int ecode2 = 0 ;
11729  ptrdiff_t val3 ;
11730  int ecode3 = 0 ;
11731  PyObject * obj0 = 0 ;
11732  PyObject * obj1 = 0 ;
11733  PyObject * obj2 = 0 ;
11734 
11735  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_string___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
11736  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
11737  if (!SWIG_IsOK(res1)) {
11738  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string___setslice__" "', argument " "1"" of type '" "std::vector< std::string > *""'");
11739  }
11740  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
11741  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
11742  if (!SWIG_IsOK(ecode2)) {
11743  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_string___setslice__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'");
11744  }
11745  arg2 = static_cast< std::vector< std::string >::difference_type >(val2);
11746  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
11747  if (!SWIG_IsOK(ecode3)) {
11748  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_string___setslice__" "', argument " "3"" of type '" "std::vector< std::string >::difference_type""'");
11749  }
11750  arg3 = static_cast< std::vector< std::string >::difference_type >(val3);
11751  try {
11752  std_vector_Sl_std_string_Sg____setslice____SWIG_0(arg1,arg2,arg3);
11753  }
11754  catch(std::out_of_range &_e) {
11755  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
11756  }
11757  catch(std::invalid_argument &_e) {
11758  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
11759  }
11760 
11761  resultobj = SWIG_Py_Void();
11762  return resultobj;
11763 fail:
11764  return NULL;
11765 }
11766 
11767 
11768 SWIGINTERN PyObject *_wrap_vector_string___setslice__(PyObject *self, PyObject *args) {
11769  int argc;
11770  PyObject *argv[5];
11771  int ii;
11772 
11773  if (!PyTuple_Check(args)) SWIG_fail;
11774  argc = args ? (int)PyObject_Length(args) : 0;
11775  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
11776  argv[ii] = PyTuple_GET_ITEM(args,ii);
11777  }
11778  if (argc == 3) {
11779  int _v;
11780  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
11781  _v = SWIG_CheckState(res);
11782  if (_v) {
11783  {
11784  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
11785  _v = SWIG_CheckState(res);
11786  }
11787  if (_v) {
11788  {
11789  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
11790  _v = SWIG_CheckState(res);
11791  }
11792  if (_v) {
11793  return _wrap_vector_string___setslice____SWIG_1(self, args);
11794  }
11795  }
11796  }
11797  }
11798  if (argc == 4) {
11799  int _v;
11800  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
11801  _v = SWIG_CheckState(res);
11802  if (_v) {
11803  {
11804  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
11805  _v = SWIG_CheckState(res);
11806  }
11807  if (_v) {
11808  {
11809  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
11810  _v = SWIG_CheckState(res);
11811  }
11812  if (_v) {
11813  int res = swig::asptr(argv[3], (std::vector<std::string,std::allocator< std::string > >**)(0));
11814  _v = SWIG_CheckState(res);
11815  if (_v) {
11816  return _wrap_vector_string___setslice____SWIG_0(self, args);
11817  }
11818  }
11819  }
11820  }
11821  }
11822 
11823 fail:
11824  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_string___setslice__'.\n"
11825  " Possible C/C++ prototypes are:\n"
11826  " std::vector< std::string >::__setslice__(std::vector< std::string >::difference_type,std::vector< std::string >::difference_type,std::vector< std::string,std::allocator< std::string > > const &)\n"
11827  " std::vector< std::string >::__setslice__(std::vector< std::string >::difference_type,std::vector< std::string >::difference_type)\n");
11828  return 0;
11829 }
11830 
11831 
11832 SWIGINTERN PyObject *_wrap_vector_string___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11833  PyObject *resultobj = 0;
11834  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
11835  std::vector< std::string >::difference_type arg2 ;
11836  std::vector< std::string >::difference_type arg3 ;
11837  void *argp1 = 0 ;
11838  int res1 = 0 ;
11839  ptrdiff_t val2 ;
11840  int ecode2 = 0 ;
11841  ptrdiff_t val3 ;
11842  int ecode3 = 0 ;
11843  PyObject * obj0 = 0 ;
11844  PyObject * obj1 = 0 ;
11845  PyObject * obj2 = 0 ;
11846 
11847  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_string___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
11848  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
11849  if (!SWIG_IsOK(res1)) {
11850  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string___delslice__" "', argument " "1"" of type '" "std::vector< std::string > *""'");
11851  }
11852  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
11853  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
11854  if (!SWIG_IsOK(ecode2)) {
11855  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_string___delslice__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'");
11856  }
11857  arg2 = static_cast< std::vector< std::string >::difference_type >(val2);
11858  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
11859  if (!SWIG_IsOK(ecode3)) {
11860  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_string___delslice__" "', argument " "3"" of type '" "std::vector< std::string >::difference_type""'");
11861  }
11862  arg3 = static_cast< std::vector< std::string >::difference_type >(val3);
11863  try {
11864  std_vector_Sl_std_string_Sg____delslice__(arg1,arg2,arg3);
11865  }
11866  catch(std::out_of_range &_e) {
11867  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
11868  }
11869  catch(std::invalid_argument &_e) {
11870  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
11871  }
11872 
11873  resultobj = SWIG_Py_Void();
11874  return resultobj;
11875 fail:
11876  return NULL;
11877 }
11878 
11879 
11880 SWIGINTERN PyObject *_wrap_vector_string___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11881  PyObject *resultobj = 0;
11882  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
11883  std::vector< std::string >::difference_type arg2 ;
11884  void *argp1 = 0 ;
11885  int res1 = 0 ;
11886  ptrdiff_t val2 ;
11887  int ecode2 = 0 ;
11888  PyObject * obj0 = 0 ;
11889  PyObject * obj1 = 0 ;
11890 
11891  if (!PyArg_ParseTuple(args,(char *)"OO:vector_string___delitem__",&obj0,&obj1)) SWIG_fail;
11892  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
11893  if (!SWIG_IsOK(res1)) {
11894  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string___delitem__" "', argument " "1"" of type '" "std::vector< std::string > *""'");
11895  }
11896  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
11897  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
11898  if (!SWIG_IsOK(ecode2)) {
11899  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_string___delitem__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'");
11900  }
11901  arg2 = static_cast< std::vector< std::string >::difference_type >(val2);
11902  try {
11903  std_vector_Sl_std_string_Sg____delitem____SWIG_0(arg1,arg2);
11904  }
11905  catch(std::out_of_range &_e) {
11906  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
11907  }
11908 
11909  resultobj = SWIG_Py_Void();
11910  return resultobj;
11911 fail:
11912  return NULL;
11913 }
11914 
11915 
11916 SWIGINTERN PyObject *_wrap_vector_string___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11917  PyObject *resultobj = 0;
11918  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
11919  PySliceObject *arg2 = (PySliceObject *) 0 ;
11920  void *argp1 = 0 ;
11921  int res1 = 0 ;
11922  PyObject * obj0 = 0 ;
11923  PyObject * obj1 = 0 ;
11924  std::vector< std::string,std::allocator< std::string > > *result = 0 ;
11925 
11926  if (!PyArg_ParseTuple(args,(char *)"OO:vector_string___getitem__",&obj0,&obj1)) SWIG_fail;
11927  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
11928  if (!SWIG_IsOK(res1)) {
11929  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string___getitem__" "', argument " "1"" of type '" "std::vector< std::string > *""'");
11930  }
11931  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
11932  {
11933  if (!PySlice_Check(obj1)) {
11934  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_string___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
11935  }
11936  arg2 = (PySliceObject *) obj1;
11937  }
11938  try {
11939  result = (std::vector< std::string,std::allocator< std::string > > *)std_vector_Sl_std_string_Sg____getitem____SWIG_0(arg1,arg2);
11940  }
11941  catch(std::out_of_range &_e) {
11942  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
11943  }
11944  catch(std::invalid_argument &_e) {
11945  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
11946  }
11947 
11948  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_POINTER_OWN | 0 );
11949  return resultobj;
11950 fail:
11951  return NULL;
11952 }
11953 
11954 
11955 SWIGINTERN PyObject *_wrap_vector_string___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11956  PyObject *resultobj = 0;
11957  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
11958  PySliceObject *arg2 = (PySliceObject *) 0 ;
11959  std::vector< std::string,std::allocator< std::string > > *arg3 = 0 ;
11960  void *argp1 = 0 ;
11961  int res1 = 0 ;
11962  int res3 = SWIG_OLDOBJ ;
11963  PyObject * obj0 = 0 ;
11964  PyObject * obj1 = 0 ;
11965  PyObject * obj2 = 0 ;
11966 
11967  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_string___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
11968  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
11969  if (!SWIG_IsOK(res1)) {
11970  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string___setitem__" "', argument " "1"" of type '" "std::vector< std::string > *""'");
11971  }
11972  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
11973  {
11974  if (!PySlice_Check(obj1)) {
11975  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_string___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
11976  }
11977  arg2 = (PySliceObject *) obj1;
11978  }
11979  {
11980  std::vector<std::string,std::allocator< std::string > > *ptr = (std::vector<std::string,std::allocator< std::string > > *)0;
11981  res3 = swig::asptr(obj2, &ptr);
11982  if (!SWIG_IsOK(res3)) {
11983  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_string___setitem__" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'");
11984  }
11985  if (!ptr) {
11986  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_string___setitem__" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'");
11987  }
11988  arg3 = ptr;
11989  }
11990  try {
11991  std_vector_Sl_std_string_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< std::string,std::allocator< std::string > > const &)*arg3);
11992  }
11993  catch(std::out_of_range &_e) {
11994  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
11995  }
11996  catch(std::invalid_argument &_e) {
11997  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
11998  }
11999 
12000  resultobj = SWIG_Py_Void();
12001  if (SWIG_IsNewObj(res3)) delete arg3;
12002  return resultobj;
12003 fail:
12004  if (SWIG_IsNewObj(res3)) delete arg3;
12005  return NULL;
12006 }
12007 
12008 
12009 SWIGINTERN PyObject *_wrap_vector_string___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12010  PyObject *resultobj = 0;
12011  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12012  PySliceObject *arg2 = (PySliceObject *) 0 ;
12013  void *argp1 = 0 ;
12014  int res1 = 0 ;
12015  PyObject * obj0 = 0 ;
12016  PyObject * obj1 = 0 ;
12017 
12018  if (!PyArg_ParseTuple(args,(char *)"OO:vector_string___setitem__",&obj0,&obj1)) SWIG_fail;
12019  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12020  if (!SWIG_IsOK(res1)) {
12021  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string___setitem__" "', argument " "1"" of type '" "std::vector< std::string > *""'");
12022  }
12023  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12024  {
12025  if (!PySlice_Check(obj1)) {
12026  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_string___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
12027  }
12028  arg2 = (PySliceObject *) obj1;
12029  }
12030  try {
12031  std_vector_Sl_std_string_Sg____setitem____SWIG_1(arg1,arg2);
12032  }
12033  catch(std::out_of_range &_e) {
12034  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
12035  }
12036  catch(std::invalid_argument &_e) {
12037  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
12038  }
12039 
12040  resultobj = SWIG_Py_Void();
12041  return resultobj;
12042 fail:
12043  return NULL;
12044 }
12045 
12046 
12047 SWIGINTERN PyObject *_wrap_vector_string___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12048  PyObject *resultobj = 0;
12049  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12050  PySliceObject *arg2 = (PySliceObject *) 0 ;
12051  void *argp1 = 0 ;
12052  int res1 = 0 ;
12053  PyObject * obj0 = 0 ;
12054  PyObject * obj1 = 0 ;
12055 
12056  if (!PyArg_ParseTuple(args,(char *)"OO:vector_string___delitem__",&obj0,&obj1)) SWIG_fail;
12057  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12058  if (!SWIG_IsOK(res1)) {
12059  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string___delitem__" "', argument " "1"" of type '" "std::vector< std::string > *""'");
12060  }
12061  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12062  {
12063  if (!PySlice_Check(obj1)) {
12064  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_string___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
12065  }
12066  arg2 = (PySliceObject *) obj1;
12067  }
12068  try {
12069  std_vector_Sl_std_string_Sg____delitem____SWIG_1(arg1,arg2);
12070  }
12071  catch(std::out_of_range &_e) {
12072  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
12073  }
12074  catch(std::invalid_argument &_e) {
12075  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
12076  }
12077 
12078  resultobj = SWIG_Py_Void();
12079  return resultobj;
12080 fail:
12081  return NULL;
12082 }
12083 
12084 
12085 SWIGINTERN PyObject *_wrap_vector_string___delitem__(PyObject *self, PyObject *args) {
12086  int argc;
12087  PyObject *argv[3];
12088  int ii;
12089 
12090  if (!PyTuple_Check(args)) SWIG_fail;
12091  argc = args ? (int)PyObject_Length(args) : 0;
12092  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
12093  argv[ii] = PyTuple_GET_ITEM(args,ii);
12094  }
12095  if (argc == 2) {
12096  int _v;
12097  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
12098  _v = SWIG_CheckState(res);
12099  if (_v) {
12100  {
12101  _v = PySlice_Check(argv[1]);
12102  }
12103  if (_v) {
12104  return _wrap_vector_string___delitem____SWIG_1(self, args);
12105  }
12106  }
12107  }
12108  if (argc == 2) {
12109  int _v;
12110  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
12111  _v = SWIG_CheckState(res);
12112  if (_v) {
12113  {
12114  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
12115  _v = SWIG_CheckState(res);
12116  }
12117  if (_v) {
12118  return _wrap_vector_string___delitem____SWIG_0(self, args);
12119  }
12120  }
12121  }
12122 
12123 fail:
12124  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_string___delitem__'.\n"
12125  " Possible C/C++ prototypes are:\n"
12126  " std::vector< std::string >::__delitem__(std::vector< std::string >::difference_type)\n"
12127  " std::vector< std::string >::__delitem__(PySliceObject *)\n");
12128  return 0;
12129 }
12130 
12131 
12132 SWIGINTERN PyObject *_wrap_vector_string___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12133  PyObject *resultobj = 0;
12134  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12135  std::vector< std::string >::difference_type arg2 ;
12136  void *argp1 = 0 ;
12137  int res1 = 0 ;
12138  ptrdiff_t val2 ;
12139  int ecode2 = 0 ;
12140  PyObject * obj0 = 0 ;
12141  PyObject * obj1 = 0 ;
12142  std::vector< std::string >::value_type *result = 0 ;
12143 
12144  if (!PyArg_ParseTuple(args,(char *)"OO:vector_string___getitem__",&obj0,&obj1)) SWIG_fail;
12145  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12146  if (!SWIG_IsOK(res1)) {
12147  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string___getitem__" "', argument " "1"" of type '" "std::vector< std::string > const *""'");
12148  }
12149  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12150  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
12151  if (!SWIG_IsOK(ecode2)) {
12152  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_string___getitem__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'");
12153  }
12154  arg2 = static_cast< std::vector< std::string >::difference_type >(val2);
12155  try {
12156  result = (std::vector< std::string >::value_type *) &std_vector_Sl_std_string_Sg____getitem____SWIG_1((std::vector< std::string > const *)arg1,arg2);
12157  }
12158  catch(std::out_of_range &_e) {
12159  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
12160  }
12161 
12162  resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
12163  return resultobj;
12164 fail:
12165  return NULL;
12166 }
12167 
12168 
12169 SWIGINTERN PyObject *_wrap_vector_string___getitem__(PyObject *self, PyObject *args) {
12170  int argc;
12171  PyObject *argv[3];
12172  int ii;
12173 
12174  if (!PyTuple_Check(args)) SWIG_fail;
12175  argc = args ? (int)PyObject_Length(args) : 0;
12176  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
12177  argv[ii] = PyTuple_GET_ITEM(args,ii);
12178  }
12179  if (argc == 2) {
12180  int _v;
12181  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
12182  _v = SWIG_CheckState(res);
12183  if (_v) {
12184  {
12185  _v = PySlice_Check(argv[1]);
12186  }
12187  if (_v) {
12188  return _wrap_vector_string___getitem____SWIG_0(self, args);
12189  }
12190  }
12191  }
12192  if (argc == 2) {
12193  int _v;
12194  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
12195  _v = SWIG_CheckState(res);
12196  if (_v) {
12197  {
12198  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
12199  _v = SWIG_CheckState(res);
12200  }
12201  if (_v) {
12202  return _wrap_vector_string___getitem____SWIG_1(self, args);
12203  }
12204  }
12205  }
12206 
12207 fail:
12208  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_string___getitem__'.\n"
12209  " Possible C/C++ prototypes are:\n"
12210  " std::vector< std::string >::__getitem__(PySliceObject *)\n"
12211  " std::vector< std::string >::__getitem__(std::vector< std::string >::difference_type) const\n");
12212  return 0;
12213 }
12214 
12215 
12216 SWIGINTERN PyObject *_wrap_vector_string___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12217  PyObject *resultobj = 0;
12218  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12219  std::vector< std::string >::difference_type arg2 ;
12220  std::vector< std::string >::value_type *arg3 = 0 ;
12221  void *argp1 = 0 ;
12222  int res1 = 0 ;
12223  ptrdiff_t val2 ;
12224  int ecode2 = 0 ;
12225  int res3 = SWIG_OLDOBJ ;
12226  PyObject * obj0 = 0 ;
12227  PyObject * obj1 = 0 ;
12228  PyObject * obj2 = 0 ;
12229 
12230  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_string___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
12231  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12232  if (!SWIG_IsOK(res1)) {
12233  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string___setitem__" "', argument " "1"" of type '" "std::vector< std::string > *""'");
12234  }
12235  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12236  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
12237  if (!SWIG_IsOK(ecode2)) {
12238  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_string___setitem__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'");
12239  }
12240  arg2 = static_cast< std::vector< std::string >::difference_type >(val2);
12241  {
12242  std::string *ptr = (std::string *)0;
12243  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
12244  if (!SWIG_IsOK(res3)) {
12245  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_string___setitem__" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'");
12246  }
12247  if (!ptr) {
12248  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_string___setitem__" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'");
12249  }
12250  arg3 = ptr;
12251  }
12252  try {
12253  std_vector_Sl_std_string_Sg____setitem____SWIG_2(arg1,arg2,(std::string const &)*arg3);
12254  }
12255  catch(std::out_of_range &_e) {
12256  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
12257  }
12258 
12259  resultobj = SWIG_Py_Void();
12260  if (SWIG_IsNewObj(res3)) delete arg3;
12261  return resultobj;
12262 fail:
12263  if (SWIG_IsNewObj(res3)) delete arg3;
12264  return NULL;
12265 }
12266 
12267 
12268 SWIGINTERN PyObject *_wrap_vector_string___setitem__(PyObject *self, PyObject *args) {
12269  int argc;
12270  PyObject *argv[4];
12271  int ii;
12272 
12273  if (!PyTuple_Check(args)) SWIG_fail;
12274  argc = args ? (int)PyObject_Length(args) : 0;
12275  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
12276  argv[ii] = PyTuple_GET_ITEM(args,ii);
12277  }
12278  if (argc == 2) {
12279  int _v;
12280  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
12281  _v = SWIG_CheckState(res);
12282  if (_v) {
12283  {
12284  _v = PySlice_Check(argv[1]);
12285  }
12286  if (_v) {
12287  return _wrap_vector_string___setitem____SWIG_1(self, args);
12288  }
12289  }
12290  }
12291  if (argc == 3) {
12292  int _v;
12293  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
12294  _v = SWIG_CheckState(res);
12295  if (_v) {
12296  {
12297  _v = PySlice_Check(argv[1]);
12298  }
12299  if (_v) {
12300  int res = swig::asptr(argv[2], (std::vector<std::string,std::allocator< std::string > >**)(0));
12301  _v = SWIG_CheckState(res);
12302  if (_v) {
12303  return _wrap_vector_string___setitem____SWIG_0(self, args);
12304  }
12305  }
12306  }
12307  }
12308  if (argc == 3) {
12309  int _v;
12310  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
12311  _v = SWIG_CheckState(res);
12312  if (_v) {
12313  {
12314  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
12315  _v = SWIG_CheckState(res);
12316  }
12317  if (_v) {
12318  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
12319  _v = SWIG_CheckState(res);
12320  if (_v) {
12321  return _wrap_vector_string___setitem____SWIG_2(self, args);
12322  }
12323  }
12324  }
12325  }
12326 
12327 fail:
12328  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_string___setitem__'.\n"
12329  " Possible C/C++ prototypes are:\n"
12330  " std::vector< std::string >::__setitem__(PySliceObject *,std::vector< std::string,std::allocator< std::string > > const &)\n"
12331  " std::vector< std::string >::__setitem__(PySliceObject *)\n"
12332  " std::vector< std::string >::__setitem__(std::vector< std::string >::difference_type,std::vector< std::string >::value_type const &)\n");
12333  return 0;
12334 }
12335 
12336 
12337 SWIGINTERN PyObject *_wrap_vector_string_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12338  PyObject *resultobj = 0;
12339  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12340  std::vector< std::string >::value_type *arg2 = 0 ;
12341  void *argp1 = 0 ;
12342  int res1 = 0 ;
12343  int res2 = SWIG_OLDOBJ ;
12344  PyObject * obj0 = 0 ;
12345  PyObject * obj1 = 0 ;
12346 
12347  if (!PyArg_ParseTuple(args,(char *)"OO:vector_string_append",&obj0,&obj1)) SWIG_fail;
12348  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12349  if (!SWIG_IsOK(res1)) {
12350  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_append" "', argument " "1"" of type '" "std::vector< std::string > *""'");
12351  }
12352  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12353  {
12354  std::string *ptr = (std::string *)0;
12355  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
12356  if (!SWIG_IsOK(res2)) {
12357  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_string_append" "', argument " "2"" of type '" "std::vector< std::string >::value_type const &""'");
12358  }
12359  if (!ptr) {
12360  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_string_append" "', argument " "2"" of type '" "std::vector< std::string >::value_type const &""'");
12361  }
12362  arg2 = ptr;
12363  }
12364  std_vector_Sl_std_string_Sg__append(arg1,(std::string const &)*arg2);
12365  resultobj = SWIG_Py_Void();
12366  if (SWIG_IsNewObj(res2)) delete arg2;
12367  return resultobj;
12368 fail:
12369  if (SWIG_IsNewObj(res2)) delete arg2;
12370  return NULL;
12371 }
12372 
12373 
12374 SWIGINTERN PyObject *_wrap_new_vector_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12375  PyObject *resultobj = 0;
12376  std::vector< std::string > *result = 0 ;
12377 
12378  if (!PyArg_ParseTuple(args,(char *)":new_vector_string")) SWIG_fail;
12379  result = (std::vector< std::string > *)new std::vector< std::string >();
12380  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_POINTER_NEW | 0 );
12381  return resultobj;
12382 fail:
12383  return NULL;
12384 }
12385 
12386 
12387 SWIGINTERN PyObject *_wrap_new_vector_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12388  PyObject *resultobj = 0;
12389  std::vector< std::string > *arg1 = 0 ;
12390  int res1 = SWIG_OLDOBJ ;
12391  PyObject * obj0 = 0 ;
12392  std::vector< std::string > *result = 0 ;
12393 
12394  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_string",&obj0)) SWIG_fail;
12395  {
12396  std::vector<std::string,std::allocator< std::string > > *ptr = (std::vector<std::string,std::allocator< std::string > > *)0;
12397  res1 = swig::asptr(obj0, &ptr);
12398  if (!SWIG_IsOK(res1)) {
12399  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_string" "', argument " "1"" of type '" "std::vector< std::string > const &""'");
12400  }
12401  if (!ptr) {
12402  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_string" "', argument " "1"" of type '" "std::vector< std::string > const &""'");
12403  }
12404  arg1 = ptr;
12405  }
12406  result = (std::vector< std::string > *)new std::vector< std::string >((std::vector< std::string > const &)*arg1);
12407  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_POINTER_NEW | 0 );
12408  if (SWIG_IsNewObj(res1)) delete arg1;
12409  return resultobj;
12410 fail:
12411  if (SWIG_IsNewObj(res1)) delete arg1;
12412  return NULL;
12413 }
12414 
12415 
12416 SWIGINTERN PyObject *_wrap_vector_string_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12417  PyObject *resultobj = 0;
12418  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12419  void *argp1 = 0 ;
12420  int res1 = 0 ;
12421  PyObject * obj0 = 0 ;
12422  bool result;
12423 
12424  if (!PyArg_ParseTuple(args,(char *)"O:vector_string_empty",&obj0)) SWIG_fail;
12425  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12426  if (!SWIG_IsOK(res1)) {
12427  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_empty" "', argument " "1"" of type '" "std::vector< std::string > const *""'");
12428  }
12429  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12430  result = (bool)((std::vector< std::string > const *)arg1)->empty();
12431  resultobj = SWIG_From_bool(static_cast< bool >(result));
12432  return resultobj;
12433 fail:
12434  return NULL;
12435 }
12436 
12437 
12438 SWIGINTERN PyObject *_wrap_vector_string_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12439  PyObject *resultobj = 0;
12440  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12441  void *argp1 = 0 ;
12442  int res1 = 0 ;
12443  PyObject * obj0 = 0 ;
12444  std::vector< std::string >::size_type result;
12445 
12446  if (!PyArg_ParseTuple(args,(char *)"O:vector_string_size",&obj0)) SWIG_fail;
12447  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12448  if (!SWIG_IsOK(res1)) {
12449  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_size" "', argument " "1"" of type '" "std::vector< std::string > const *""'");
12450  }
12451  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12452  result = ((std::vector< std::string > const *)arg1)->size();
12453  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
12454  return resultobj;
12455 fail:
12456  return NULL;
12457 }
12458 
12459 
12460 SWIGINTERN PyObject *_wrap_vector_string_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12461  PyObject *resultobj = 0;
12462  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12463  void *argp1 = 0 ;
12464  int res1 = 0 ;
12465  PyObject * obj0 = 0 ;
12466 
12467  if (!PyArg_ParseTuple(args,(char *)"O:vector_string_clear",&obj0)) SWIG_fail;
12468  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12469  if (!SWIG_IsOK(res1)) {
12470  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_clear" "', argument " "1"" of type '" "std::vector< std::string > *""'");
12471  }
12472  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12473  (arg1)->clear();
12474  resultobj = SWIG_Py_Void();
12475  return resultobj;
12476 fail:
12477  return NULL;
12478 }
12479 
12480 
12481 SWIGINTERN PyObject *_wrap_vector_string_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12482  PyObject *resultobj = 0;
12483  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12484  std::vector< std::string > *arg2 = 0 ;
12485  void *argp1 = 0 ;
12486  int res1 = 0 ;
12487  void *argp2 = 0 ;
12488  int res2 = 0 ;
12489  PyObject * obj0 = 0 ;
12490  PyObject * obj1 = 0 ;
12491 
12492  if (!PyArg_ParseTuple(args,(char *)"OO:vector_string_swap",&obj0,&obj1)) SWIG_fail;
12493  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12494  if (!SWIG_IsOK(res1)) {
12495  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_swap" "', argument " "1"" of type '" "std::vector< std::string > *""'");
12496  }
12497  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12498  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 );
12499  if (!SWIG_IsOK(res2)) {
12500  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_string_swap" "', argument " "2"" of type '" "std::vector< std::string > &""'");
12501  }
12502  if (!argp2) {
12503  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_string_swap" "', argument " "2"" of type '" "std::vector< std::string > &""'");
12504  }
12505  arg2 = reinterpret_cast< std::vector< std::string > * >(argp2);
12506  (arg1)->swap(*arg2);
12507  resultobj = SWIG_Py_Void();
12508  return resultobj;
12509 fail:
12510  return NULL;
12511 }
12512 
12513 
12514 SWIGINTERN PyObject *_wrap_vector_string_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12515  PyObject *resultobj = 0;
12516  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12517  void *argp1 = 0 ;
12518  int res1 = 0 ;
12519  PyObject * obj0 = 0 ;
12520  SwigValueWrapper< std::allocator< std::string > > result;
12521 
12522  if (!PyArg_ParseTuple(args,(char *)"O:vector_string_get_allocator",&obj0)) SWIG_fail;
12523  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12524  if (!SWIG_IsOK(res1)) {
12525  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_get_allocator" "', argument " "1"" of type '" "std::vector< std::string > const *""'");
12526  }
12527  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12528  result = ((std::vector< std::string > const *)arg1)->get_allocator();
12529  resultobj = SWIG_NewPointerObj((new std::vector< std::string >::allocator_type(static_cast< const std::vector< std::string >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__string_t, SWIG_POINTER_OWN | 0 );
12530  return resultobj;
12531 fail:
12532  return NULL;
12533 }
12534 
12535 
12536 SWIGINTERN PyObject *_wrap_vector_string_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12537  PyObject *resultobj = 0;
12538  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12539  void *argp1 = 0 ;
12540  int res1 = 0 ;
12541  PyObject * obj0 = 0 ;
12542  std::vector< std::string >::iterator result;
12543 
12544  if (!PyArg_ParseTuple(args,(char *)"O:vector_string_begin",&obj0)) SWIG_fail;
12545  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12546  if (!SWIG_IsOK(res1)) {
12547  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_begin" "', argument " "1"" of type '" "std::vector< std::string > *""'");
12548  }
12549  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12550  result = (arg1)->begin();
12551  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)),
12552  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
12553  return resultobj;
12554 fail:
12555  return NULL;
12556 }
12557 
12558 
12559 SWIGINTERN PyObject *_wrap_vector_string_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12560  PyObject *resultobj = 0;
12561  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12562  void *argp1 = 0 ;
12563  int res1 = 0 ;
12564  PyObject * obj0 = 0 ;
12565  std::vector< std::string >::iterator result;
12566 
12567  if (!PyArg_ParseTuple(args,(char *)"O:vector_string_end",&obj0)) SWIG_fail;
12568  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12569  if (!SWIG_IsOK(res1)) {
12570  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_end" "', argument " "1"" of type '" "std::vector< std::string > *""'");
12571  }
12572  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12573  result = (arg1)->end();
12574  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)),
12575  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
12576  return resultobj;
12577 fail:
12578  return NULL;
12579 }
12580 
12581 
12582 SWIGINTERN PyObject *_wrap_vector_string_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12583  PyObject *resultobj = 0;
12584  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12585  void *argp1 = 0 ;
12586  int res1 = 0 ;
12587  PyObject * obj0 = 0 ;
12588  std::vector< std::string >::reverse_iterator result;
12589 
12590  if (!PyArg_ParseTuple(args,(char *)"O:vector_string_rbegin",&obj0)) SWIG_fail;
12591  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12592  if (!SWIG_IsOK(res1)) {
12593  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_rbegin" "', argument " "1"" of type '" "std::vector< std::string > *""'");
12594  }
12595  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12596  result = (arg1)->rbegin();
12597  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::reverse_iterator & >(result)),
12598  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
12599  return resultobj;
12600 fail:
12601  return NULL;
12602 }
12603 
12604 
12605 SWIGINTERN PyObject *_wrap_vector_string_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12606  PyObject *resultobj = 0;
12607  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12608  void *argp1 = 0 ;
12609  int res1 = 0 ;
12610  PyObject * obj0 = 0 ;
12611  std::vector< std::string >::reverse_iterator result;
12612 
12613  if (!PyArg_ParseTuple(args,(char *)"O:vector_string_rend",&obj0)) SWIG_fail;
12614  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12615  if (!SWIG_IsOK(res1)) {
12616  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_rend" "', argument " "1"" of type '" "std::vector< std::string > *""'");
12617  }
12618  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12619  result = (arg1)->rend();
12620  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::reverse_iterator & >(result)),
12621  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
12622  return resultobj;
12623 fail:
12624  return NULL;
12625 }
12626 
12627 
12628 SWIGINTERN PyObject *_wrap_new_vector_string__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12629  PyObject *resultobj = 0;
12630  std::vector< std::string >::size_type arg1 ;
12631  size_t val1 ;
12632  int ecode1 = 0 ;
12633  PyObject * obj0 = 0 ;
12634  std::vector< std::string > *result = 0 ;
12635 
12636  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_string",&obj0)) SWIG_fail;
12637  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
12638  if (!SWIG_IsOK(ecode1)) {
12639  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_string" "', argument " "1"" of type '" "std::vector< std::string >::size_type""'");
12640  }
12641  arg1 = static_cast< std::vector< std::string >::size_type >(val1);
12642  result = (std::vector< std::string > *)new std::vector< std::string >(arg1);
12643  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_POINTER_NEW | 0 );
12644  return resultobj;
12645 fail:
12646  return NULL;
12647 }
12648 
12649 
12650 SWIGINTERN PyObject *_wrap_vector_string_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12651  PyObject *resultobj = 0;
12652  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12653  void *argp1 = 0 ;
12654  int res1 = 0 ;
12655  PyObject * obj0 = 0 ;
12656 
12657  if (!PyArg_ParseTuple(args,(char *)"O:vector_string_pop_back",&obj0)) SWIG_fail;
12658  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12659  if (!SWIG_IsOK(res1)) {
12660  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_pop_back" "', argument " "1"" of type '" "std::vector< std::string > *""'");
12661  }
12662  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12663  (arg1)->pop_back();
12664  resultobj = SWIG_Py_Void();
12665  return resultobj;
12666 fail:
12667  return NULL;
12668 }
12669 
12670 
12671 SWIGINTERN PyObject *_wrap_vector_string_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12672  PyObject *resultobj = 0;
12673  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12674  std::vector< std::string >::size_type arg2 ;
12675  void *argp1 = 0 ;
12676  int res1 = 0 ;
12677  size_t val2 ;
12678  int ecode2 = 0 ;
12679  PyObject * obj0 = 0 ;
12680  PyObject * obj1 = 0 ;
12681 
12682  if (!PyArg_ParseTuple(args,(char *)"OO:vector_string_resize",&obj0,&obj1)) SWIG_fail;
12683  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12684  if (!SWIG_IsOK(res1)) {
12685  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_resize" "', argument " "1"" of type '" "std::vector< std::string > *""'");
12686  }
12687  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12688  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12689  if (!SWIG_IsOK(ecode2)) {
12690  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_string_resize" "', argument " "2"" of type '" "std::vector< std::string >::size_type""'");
12691  }
12692  arg2 = static_cast< std::vector< std::string >::size_type >(val2);
12693  (arg1)->resize(arg2);
12694  resultobj = SWIG_Py_Void();
12695  return resultobj;
12696 fail:
12697  return NULL;
12698 }
12699 
12700 
12701 SWIGINTERN PyObject *_wrap_vector_string_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12702  PyObject *resultobj = 0;
12703  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12704  std::vector< std::string >::iterator arg2 ;
12705  void *argp1 = 0 ;
12706  int res1 = 0 ;
12707  swig::SwigPyIterator *iter2 = 0 ;
12708  int res2 ;
12709  PyObject * obj0 = 0 ;
12710  PyObject * obj1 = 0 ;
12711  std::vector< std::string >::iterator result;
12712 
12713  if (!PyArg_ParseTuple(args,(char *)"OO:vector_string_erase",&obj0,&obj1)) SWIG_fail;
12714  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12715  if (!SWIG_IsOK(res1)) {
12716  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_erase" "', argument " "1"" of type '" "std::vector< std::string > *""'");
12717  }
12718  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12719  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
12720  if (!SWIG_IsOK(res2) || !iter2) {
12721  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_string_erase" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
12722  } else {
12724  if (iter_t) {
12725  arg2 = iter_t->get_current();
12726  } else {
12727  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_string_erase" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
12728  }
12729  }
12730  result = std_vector_Sl_std_string_Sg__erase__SWIG_0(arg1,arg2);
12731  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)),
12732  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
12733  return resultobj;
12734 fail:
12735  return NULL;
12736 }
12737 
12738 
12739 SWIGINTERN PyObject *_wrap_vector_string_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12740  PyObject *resultobj = 0;
12741  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12742  std::vector< std::string >::iterator arg2 ;
12743  std::vector< std::string >::iterator arg3 ;
12744  void *argp1 = 0 ;
12745  int res1 = 0 ;
12746  swig::SwigPyIterator *iter2 = 0 ;
12747  int res2 ;
12748  swig::SwigPyIterator *iter3 = 0 ;
12749  int res3 ;
12750  PyObject * obj0 = 0 ;
12751  PyObject * obj1 = 0 ;
12752  PyObject * obj2 = 0 ;
12753  std::vector< std::string >::iterator result;
12754 
12755  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_string_erase",&obj0,&obj1,&obj2)) SWIG_fail;
12756  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12757  if (!SWIG_IsOK(res1)) {
12758  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_erase" "', argument " "1"" of type '" "std::vector< std::string > *""'");
12759  }
12760  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12761  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
12762  if (!SWIG_IsOK(res2) || !iter2) {
12763  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_string_erase" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
12764  } else {
12766  if (iter_t) {
12767  arg2 = iter_t->get_current();
12768  } else {
12769  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_string_erase" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
12770  }
12771  }
12772  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
12773  if (!SWIG_IsOK(res3) || !iter3) {
12774  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_string_erase" "', argument " "3"" of type '" "std::vector< std::string >::iterator""'");
12775  } else {
12777  if (iter_t) {
12778  arg3 = iter_t->get_current();
12779  } else {
12780  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_string_erase" "', argument " "3"" of type '" "std::vector< std::string >::iterator""'");
12781  }
12782  }
12783  result = std_vector_Sl_std_string_Sg__erase__SWIG_1(arg1,arg2,arg3);
12784  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)),
12785  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
12786  return resultobj;
12787 fail:
12788  return NULL;
12789 }
12790 
12791 
12792 SWIGINTERN PyObject *_wrap_vector_string_erase(PyObject *self, PyObject *args) {
12793  int argc;
12794  PyObject *argv[4];
12795  int ii;
12796 
12797  if (!PyTuple_Check(args)) SWIG_fail;
12798  argc = args ? (int)PyObject_Length(args) : 0;
12799  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
12800  argv[ii] = PyTuple_GET_ITEM(args,ii);
12801  }
12802  if (argc == 2) {
12803  int _v;
12804  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
12805  _v = SWIG_CheckState(res);
12806  if (_v) {
12807  swig::SwigPyIterator *iter = 0;
12808  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
12809  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string >::iterator > *>(iter) != 0));
12810  if (_v) {
12811  return _wrap_vector_string_erase__SWIG_0(self, args);
12812  }
12813  }
12814  }
12815  if (argc == 3) {
12816  int _v;
12817  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
12818  _v = SWIG_CheckState(res);
12819  if (_v) {
12820  swig::SwigPyIterator *iter = 0;
12821  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
12822  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string >::iterator > *>(iter) != 0));
12823  if (_v) {
12824  swig::SwigPyIterator *iter = 0;
12825  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
12826  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string >::iterator > *>(iter) != 0));
12827  if (_v) {
12828  return _wrap_vector_string_erase__SWIG_1(self, args);
12829  }
12830  }
12831  }
12832  }
12833 
12834 fail:
12835  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_string_erase'.\n"
12836  " Possible C/C++ prototypes are:\n"
12837  " std::vector< std::string >::erase(std::vector< std::string >::iterator)\n"
12838  " std::vector< std::string >::erase(std::vector< std::string >::iterator,std::vector< std::string >::iterator)\n");
12839  return 0;
12840 }
12841 
12842 
12843 SWIGINTERN PyObject *_wrap_new_vector_string__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12844  PyObject *resultobj = 0;
12845  std::vector< std::string >::size_type arg1 ;
12846  std::vector< std::string >::value_type *arg2 = 0 ;
12847  size_t val1 ;
12848  int ecode1 = 0 ;
12849  int res2 = SWIG_OLDOBJ ;
12850  PyObject * obj0 = 0 ;
12851  PyObject * obj1 = 0 ;
12852  std::vector< std::string > *result = 0 ;
12853 
12854  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_string",&obj0,&obj1)) SWIG_fail;
12855  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
12856  if (!SWIG_IsOK(ecode1)) {
12857  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_string" "', argument " "1"" of type '" "std::vector< std::string >::size_type""'");
12858  }
12859  arg1 = static_cast< std::vector< std::string >::size_type >(val1);
12860  {
12861  std::string *ptr = (std::string *)0;
12862  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
12863  if (!SWIG_IsOK(res2)) {
12864  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_string" "', argument " "2"" of type '" "std::vector< std::string >::value_type const &""'");
12865  }
12866  if (!ptr) {
12867  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_string" "', argument " "2"" of type '" "std::vector< std::string >::value_type const &""'");
12868  }
12869  arg2 = ptr;
12870  }
12871  result = (std::vector< std::string > *)new std::vector< std::string >(arg1,(std::vector< std::string >::value_type const &)*arg2);
12872  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_POINTER_NEW | 0 );
12873  if (SWIG_IsNewObj(res2)) delete arg2;
12874  return resultobj;
12875 fail:
12876  if (SWIG_IsNewObj(res2)) delete arg2;
12877  return NULL;
12878 }
12879 
12880 
12881 SWIGINTERN PyObject *_wrap_new_vector_string(PyObject *self, PyObject *args) {
12882  int argc;
12883  PyObject *argv[3];
12884  int ii;
12885 
12886  if (!PyTuple_Check(args)) SWIG_fail;
12887  argc = args ? (int)PyObject_Length(args) : 0;
12888  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
12889  argv[ii] = PyTuple_GET_ITEM(args,ii);
12890  }
12891  if (argc == 0) {
12892  return _wrap_new_vector_string__SWIG_0(self, args);
12893  }
12894  if (argc == 1) {
12895  int _v;
12896  {
12897  int res = SWIG_AsVal_size_t(argv[0], NULL);
12898  _v = SWIG_CheckState(res);
12899  }
12900  if (_v) {
12901  return _wrap_new_vector_string__SWIG_2(self, args);
12902  }
12903  }
12904  if (argc == 1) {
12905  int _v;
12906  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
12907  _v = SWIG_CheckState(res);
12908  if (_v) {
12909  return _wrap_new_vector_string__SWIG_1(self, args);
12910  }
12911  }
12912  if (argc == 2) {
12913  int _v;
12914  {
12915  int res = SWIG_AsVal_size_t(argv[0], NULL);
12916  _v = SWIG_CheckState(res);
12917  }
12918  if (_v) {
12919  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
12920  _v = SWIG_CheckState(res);
12921  if (_v) {
12922  return _wrap_new_vector_string__SWIG_3(self, args);
12923  }
12924  }
12925  }
12926 
12927 fail:
12928  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_string'.\n"
12929  " Possible C/C++ prototypes are:\n"
12930  " std::vector< std::string >::vector()\n"
12931  " std::vector< std::string >::vector(std::vector< std::string > const &)\n"
12932  " std::vector< std::string >::vector(std::vector< std::string >::size_type)\n"
12933  " std::vector< std::string >::vector(std::vector< std::string >::size_type,std::vector< std::string >::value_type const &)\n");
12934  return 0;
12935 }
12936 
12937 
12938 SWIGINTERN PyObject *_wrap_vector_string_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12939  PyObject *resultobj = 0;
12940  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12941  std::vector< std::string >::value_type *arg2 = 0 ;
12942  void *argp1 = 0 ;
12943  int res1 = 0 ;
12944  int res2 = SWIG_OLDOBJ ;
12945  PyObject * obj0 = 0 ;
12946  PyObject * obj1 = 0 ;
12947 
12948  if (!PyArg_ParseTuple(args,(char *)"OO:vector_string_push_back",&obj0,&obj1)) SWIG_fail;
12949  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12950  if (!SWIG_IsOK(res1)) {
12951  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_push_back" "', argument " "1"" of type '" "std::vector< std::string > *""'");
12952  }
12953  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12954  {
12955  std::string *ptr = (std::string *)0;
12956  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
12957  if (!SWIG_IsOK(res2)) {
12958  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_string_push_back" "', argument " "2"" of type '" "std::vector< std::string >::value_type const &""'");
12959  }
12960  if (!ptr) {
12961  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_string_push_back" "', argument " "2"" of type '" "std::vector< std::string >::value_type const &""'");
12962  }
12963  arg2 = ptr;
12964  }
12965  (arg1)->push_back((std::vector< std::string >::value_type const &)*arg2);
12966  resultobj = SWIG_Py_Void();
12967  if (SWIG_IsNewObj(res2)) delete arg2;
12968  return resultobj;
12969 fail:
12970  if (SWIG_IsNewObj(res2)) delete arg2;
12971  return NULL;
12972 }
12973 
12974 
12975 SWIGINTERN PyObject *_wrap_vector_string_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12976  PyObject *resultobj = 0;
12977  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
12978  void *argp1 = 0 ;
12979  int res1 = 0 ;
12980  PyObject * obj0 = 0 ;
12981  std::vector< std::string >::value_type *result = 0 ;
12982 
12983  if (!PyArg_ParseTuple(args,(char *)"O:vector_string_front",&obj0)) SWIG_fail;
12984  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
12985  if (!SWIG_IsOK(res1)) {
12986  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_front" "', argument " "1"" of type '" "std::vector< std::string > const *""'");
12987  }
12988  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
12989  result = (std::vector< std::string >::value_type *) &((std::vector< std::string > const *)arg1)->front();
12990  resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
12991  return resultobj;
12992 fail:
12993  return NULL;
12994 }
12995 
12996 
12997 SWIGINTERN PyObject *_wrap_vector_string_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12998  PyObject *resultobj = 0;
12999  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
13000  void *argp1 = 0 ;
13001  int res1 = 0 ;
13002  PyObject * obj0 = 0 ;
13003  std::vector< std::string >::value_type *result = 0 ;
13004 
13005  if (!PyArg_ParseTuple(args,(char *)"O:vector_string_back",&obj0)) SWIG_fail;
13006  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
13007  if (!SWIG_IsOK(res1)) {
13008  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_back" "', argument " "1"" of type '" "std::vector< std::string > const *""'");
13009  }
13010  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
13011  result = (std::vector< std::string >::value_type *) &((std::vector< std::string > const *)arg1)->back();
13012  resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
13013  return resultobj;
13014 fail:
13015  return NULL;
13016 }
13017 
13018 
13019 SWIGINTERN PyObject *_wrap_vector_string_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13020  PyObject *resultobj = 0;
13021  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
13022  std::vector< std::string >::size_type arg2 ;
13023  std::vector< std::string >::value_type *arg3 = 0 ;
13024  void *argp1 = 0 ;
13025  int res1 = 0 ;
13026  size_t val2 ;
13027  int ecode2 = 0 ;
13028  int res3 = SWIG_OLDOBJ ;
13029  PyObject * obj0 = 0 ;
13030  PyObject * obj1 = 0 ;
13031  PyObject * obj2 = 0 ;
13032 
13033  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_string_assign",&obj0,&obj1,&obj2)) SWIG_fail;
13034  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
13035  if (!SWIG_IsOK(res1)) {
13036  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_assign" "', argument " "1"" of type '" "std::vector< std::string > *""'");
13037  }
13038  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
13039  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13040  if (!SWIG_IsOK(ecode2)) {
13041  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_string_assign" "', argument " "2"" of type '" "std::vector< std::string >::size_type""'");
13042  }
13043  arg2 = static_cast< std::vector< std::string >::size_type >(val2);
13044  {
13045  std::string *ptr = (std::string *)0;
13046  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
13047  if (!SWIG_IsOK(res3)) {
13048  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_string_assign" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'");
13049  }
13050  if (!ptr) {
13051  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_string_assign" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'");
13052  }
13053  arg3 = ptr;
13054  }
13055  (arg1)->assign(arg2,(std::vector< std::string >::value_type const &)*arg3);
13056  resultobj = SWIG_Py_Void();
13057  if (SWIG_IsNewObj(res3)) delete arg3;
13058  return resultobj;
13059 fail:
13060  if (SWIG_IsNewObj(res3)) delete arg3;
13061  return NULL;
13062 }
13063 
13064 
13065 SWIGINTERN PyObject *_wrap_vector_string_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13066  PyObject *resultobj = 0;
13067  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
13068  std::vector< std::string >::size_type arg2 ;
13069  std::vector< std::string >::value_type *arg3 = 0 ;
13070  void *argp1 = 0 ;
13071  int res1 = 0 ;
13072  size_t val2 ;
13073  int ecode2 = 0 ;
13074  int res3 = SWIG_OLDOBJ ;
13075  PyObject * obj0 = 0 ;
13076  PyObject * obj1 = 0 ;
13077  PyObject * obj2 = 0 ;
13078 
13079  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_string_resize",&obj0,&obj1,&obj2)) SWIG_fail;
13080  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
13081  if (!SWIG_IsOK(res1)) {
13082  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_resize" "', argument " "1"" of type '" "std::vector< std::string > *""'");
13083  }
13084  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
13085  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13086  if (!SWIG_IsOK(ecode2)) {
13087  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_string_resize" "', argument " "2"" of type '" "std::vector< std::string >::size_type""'");
13088  }
13089  arg2 = static_cast< std::vector< std::string >::size_type >(val2);
13090  {
13091  std::string *ptr = (std::string *)0;
13092  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
13093  if (!SWIG_IsOK(res3)) {
13094  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_string_resize" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'");
13095  }
13096  if (!ptr) {
13097  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_string_resize" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'");
13098  }
13099  arg3 = ptr;
13100  }
13101  (arg1)->resize(arg2,(std::vector< std::string >::value_type const &)*arg3);
13102  resultobj = SWIG_Py_Void();
13103  if (SWIG_IsNewObj(res3)) delete arg3;
13104  return resultobj;
13105 fail:
13106  if (SWIG_IsNewObj(res3)) delete arg3;
13107  return NULL;
13108 }
13109 
13110 
13111 SWIGINTERN PyObject *_wrap_vector_string_resize(PyObject *self, PyObject *args) {
13112  int argc;
13113  PyObject *argv[4];
13114  int ii;
13115 
13116  if (!PyTuple_Check(args)) SWIG_fail;
13117  argc = args ? (int)PyObject_Length(args) : 0;
13118  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
13119  argv[ii] = PyTuple_GET_ITEM(args,ii);
13120  }
13121  if (argc == 2) {
13122  int _v;
13123  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
13124  _v = SWIG_CheckState(res);
13125  if (_v) {
13126  {
13127  int res = SWIG_AsVal_size_t(argv[1], NULL);
13128  _v = SWIG_CheckState(res);
13129  }
13130  if (_v) {
13131  return _wrap_vector_string_resize__SWIG_0(self, args);
13132  }
13133  }
13134  }
13135  if (argc == 3) {
13136  int _v;
13137  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
13138  _v = SWIG_CheckState(res);
13139  if (_v) {
13140  {
13141  int res = SWIG_AsVal_size_t(argv[1], NULL);
13142  _v = SWIG_CheckState(res);
13143  }
13144  if (_v) {
13145  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
13146  _v = SWIG_CheckState(res);
13147  if (_v) {
13148  return _wrap_vector_string_resize__SWIG_1(self, args);
13149  }
13150  }
13151  }
13152  }
13153 
13154 fail:
13155  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_string_resize'.\n"
13156  " Possible C/C++ prototypes are:\n"
13157  " std::vector< std::string >::resize(std::vector< std::string >::size_type)\n"
13158  " std::vector< std::string >::resize(std::vector< std::string >::size_type,std::vector< std::string >::value_type const &)\n");
13159  return 0;
13160 }
13161 
13162 
13163 SWIGINTERN PyObject *_wrap_vector_string_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13164  PyObject *resultobj = 0;
13165  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
13166  std::vector< std::string >::iterator arg2 ;
13167  std::vector< std::string >::value_type *arg3 = 0 ;
13168  void *argp1 = 0 ;
13169  int res1 = 0 ;
13170  swig::SwigPyIterator *iter2 = 0 ;
13171  int res2 ;
13172  int res3 = SWIG_OLDOBJ ;
13173  PyObject * obj0 = 0 ;
13174  PyObject * obj1 = 0 ;
13175  PyObject * obj2 = 0 ;
13176  std::vector< std::string >::iterator result;
13177 
13178  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_string_insert",&obj0,&obj1,&obj2)) SWIG_fail;
13179  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
13180  if (!SWIG_IsOK(res1)) {
13181  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_insert" "', argument " "1"" of type '" "std::vector< std::string > *""'");
13182  }
13183  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
13184  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
13185  if (!SWIG_IsOK(res2) || !iter2) {
13186  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_string_insert" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
13187  } else {
13189  if (iter_t) {
13190  arg2 = iter_t->get_current();
13191  } else {
13192  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_string_insert" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
13193  }
13194  }
13195  {
13196  std::string *ptr = (std::string *)0;
13197  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
13198  if (!SWIG_IsOK(res3)) {
13199  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_string_insert" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'");
13200  }
13201  if (!ptr) {
13202  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_string_insert" "', argument " "3"" of type '" "std::vector< std::string >::value_type const &""'");
13203  }
13204  arg3 = ptr;
13205  }
13206  result = std_vector_Sl_std_string_Sg__insert__SWIG_0(arg1,arg2,(std::string const &)*arg3);
13207  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)),
13208  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
13209  if (SWIG_IsNewObj(res3)) delete arg3;
13210  return resultobj;
13211 fail:
13212  if (SWIG_IsNewObj(res3)) delete arg3;
13213  return NULL;
13214 }
13215 
13216 
13217 SWIGINTERN PyObject *_wrap_vector_string_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13218  PyObject *resultobj = 0;
13219  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
13220  std::vector< std::string >::iterator arg2 ;
13221  std::vector< std::string >::size_type arg3 ;
13222  std::vector< std::string >::value_type *arg4 = 0 ;
13223  void *argp1 = 0 ;
13224  int res1 = 0 ;
13225  swig::SwigPyIterator *iter2 = 0 ;
13226  int res2 ;
13227  size_t val3 ;
13228  int ecode3 = 0 ;
13229  int res4 = SWIG_OLDOBJ ;
13230  PyObject * obj0 = 0 ;
13231  PyObject * obj1 = 0 ;
13232  PyObject * obj2 = 0 ;
13233  PyObject * obj3 = 0 ;
13234 
13235  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_string_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13236  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
13237  if (!SWIG_IsOK(res1)) {
13238  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_insert" "', argument " "1"" of type '" "std::vector< std::string > *""'");
13239  }
13240  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
13241  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
13242  if (!SWIG_IsOK(res2) || !iter2) {
13243  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_string_insert" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
13244  } else {
13246  if (iter_t) {
13247  arg2 = iter_t->get_current();
13248  } else {
13249  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_string_insert" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'");
13250  }
13251  }
13252  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13253  if (!SWIG_IsOK(ecode3)) {
13254  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_string_insert" "', argument " "3"" of type '" "std::vector< std::string >::size_type""'");
13255  }
13256  arg3 = static_cast< std::vector< std::string >::size_type >(val3);
13257  {
13258  std::string *ptr = (std::string *)0;
13259  res4 = SWIG_AsPtr_std_string(obj3, &ptr);
13260  if (!SWIG_IsOK(res4)) {
13261  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_string_insert" "', argument " "4"" of type '" "std::vector< std::string >::value_type const &""'");
13262  }
13263  if (!ptr) {
13264  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_string_insert" "', argument " "4"" of type '" "std::vector< std::string >::value_type const &""'");
13265  }
13266  arg4 = ptr;
13267  }
13268  std_vector_Sl_std_string_Sg__insert__SWIG_1(arg1,arg2,arg3,(std::string const &)*arg4);
13269  resultobj = SWIG_Py_Void();
13270  if (SWIG_IsNewObj(res4)) delete arg4;
13271  return resultobj;
13272 fail:
13273  if (SWIG_IsNewObj(res4)) delete arg4;
13274  return NULL;
13275 }
13276 
13277 
13278 SWIGINTERN PyObject *_wrap_vector_string_insert(PyObject *self, PyObject *args) {
13279  int argc;
13280  PyObject *argv[5];
13281  int ii;
13282 
13283  if (!PyTuple_Check(args)) SWIG_fail;
13284  argc = args ? (int)PyObject_Length(args) : 0;
13285  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
13286  argv[ii] = PyTuple_GET_ITEM(args,ii);
13287  }
13288  if (argc == 3) {
13289  int _v;
13290  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
13291  _v = SWIG_CheckState(res);
13292  if (_v) {
13293  swig::SwigPyIterator *iter = 0;
13294  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
13295  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string >::iterator > *>(iter) != 0));
13296  if (_v) {
13297  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
13298  _v = SWIG_CheckState(res);
13299  if (_v) {
13300  return _wrap_vector_string_insert__SWIG_0(self, args);
13301  }
13302  }
13303  }
13304  }
13305  if (argc == 4) {
13306  int _v;
13307  int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
13308  _v = SWIG_CheckState(res);
13309  if (_v) {
13310  swig::SwigPyIterator *iter = 0;
13311  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
13312  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string >::iterator > *>(iter) != 0));
13313  if (_v) {
13314  {
13315  int res = SWIG_AsVal_size_t(argv[2], NULL);
13316  _v = SWIG_CheckState(res);
13317  }
13318  if (_v) {
13319  int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
13320  _v = SWIG_CheckState(res);
13321  if (_v) {
13322  return _wrap_vector_string_insert__SWIG_1(self, args);
13323  }
13324  }
13325  }
13326  }
13327  }
13328 
13329 fail:
13330  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_string_insert'.\n"
13331  " Possible C/C++ prototypes are:\n"
13332  " std::vector< std::string >::insert(std::vector< std::string >::iterator,std::vector< std::string >::value_type const &)\n"
13333  " std::vector< std::string >::insert(std::vector< std::string >::iterator,std::vector< std::string >::size_type,std::vector< std::string >::value_type const &)\n");
13334  return 0;
13335 }
13336 
13337 
13338 SWIGINTERN PyObject *_wrap_vector_string_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13339  PyObject *resultobj = 0;
13340  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
13341  std::vector< std::string >::size_type arg2 ;
13342  void *argp1 = 0 ;
13343  int res1 = 0 ;
13344  size_t val2 ;
13345  int ecode2 = 0 ;
13346  PyObject * obj0 = 0 ;
13347  PyObject * obj1 = 0 ;
13348 
13349  if (!PyArg_ParseTuple(args,(char *)"OO:vector_string_reserve",&obj0,&obj1)) SWIG_fail;
13350  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
13351  if (!SWIG_IsOK(res1)) {
13352  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_reserve" "', argument " "1"" of type '" "std::vector< std::string > *""'");
13353  }
13354  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
13355  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13356  if (!SWIG_IsOK(ecode2)) {
13357  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_string_reserve" "', argument " "2"" of type '" "std::vector< std::string >::size_type""'");
13358  }
13359  arg2 = static_cast< std::vector< std::string >::size_type >(val2);
13360  (arg1)->reserve(arg2);
13361  resultobj = SWIG_Py_Void();
13362  return resultobj;
13363 fail:
13364  return NULL;
13365 }
13366 
13367 
13368 SWIGINTERN PyObject *_wrap_vector_string_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13369  PyObject *resultobj = 0;
13370  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
13371  void *argp1 = 0 ;
13372  int res1 = 0 ;
13373  PyObject * obj0 = 0 ;
13374  std::vector< std::string >::size_type result;
13375 
13376  if (!PyArg_ParseTuple(args,(char *)"O:vector_string_capacity",&obj0)) SWIG_fail;
13377  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
13378  if (!SWIG_IsOK(res1)) {
13379  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_capacity" "', argument " "1"" of type '" "std::vector< std::string > const *""'");
13380  }
13381  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
13382  result = ((std::vector< std::string > const *)arg1)->capacity();
13383  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13384  return resultobj;
13385 fail:
13386  return NULL;
13387 }
13388 
13389 
13390 SWIGINTERN PyObject *_wrap_delete_vector_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13391  PyObject *resultobj = 0;
13392  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
13393  void *argp1 = 0 ;
13394  int res1 = 0 ;
13395  PyObject * obj0 = 0 ;
13396 
13397  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_string",&obj0)) SWIG_fail;
13398  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_POINTER_DISOWN | 0 );
13399  if (!SWIG_IsOK(res1)) {
13400  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_string" "', argument " "1"" of type '" "std::vector< std::string > *""'");
13401  }
13402  arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
13403  {
13404  try {
13405  delete arg1;
13406  }
13407  catch(CStdErrorInfo oError)
13408  {
13409  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
13410  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
13411  PyErr_SetString(PyExc_IndexError, strError.c_str());
13412  SWIG_fail;
13413  }
13414  catch(...)
13415  {
13416  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
13417  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
13418  SWIG_fail;
13419  }
13420  }
13421  resultobj = SWIG_Py_Void();
13422  return resultobj;
13423 fail:
13424  return NULL;
13425 }
13426 
13427 
13428 SWIGINTERN PyObject *vector_string_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13429  PyObject *obj;
13430  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
13431  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_NewClientData(obj));
13432  return SWIG_Py_Void();
13433 }
13434 
13435 SWIGINTERN PyObject *_wrap_vector_int_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13436  PyObject *resultobj = 0;
13437  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
13438  PyObject **arg2 = (PyObject **) 0 ;
13439  void *argp1 = 0 ;
13440  int res1 = 0 ;
13441  PyObject * obj0 = 0 ;
13442  swig::SwigPyIterator *result = 0 ;
13443 
13444  arg2 = &obj0;
13445  if (!PyArg_ParseTuple(args,(char *)"O:vector_int_iterator",&obj0)) SWIG_fail;
13446  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
13447  if (!SWIG_IsOK(res1)) {
13448  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_iterator" "', argument " "1"" of type '" "std::vector< int > *""'");
13449  }
13450  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
13451  result = (swig::SwigPyIterator *)std_vector_Sl_int_Sg__iterator(arg1,arg2);
13452  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
13453  return resultobj;
13454 fail:
13455  return NULL;
13456 }
13457 
13458 
13459 SWIGINTERN PyObject *_wrap_vector_int___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13460  PyObject *resultobj = 0;
13461  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
13462  void *argp1 = 0 ;
13463  int res1 = 0 ;
13464  PyObject * obj0 = 0 ;
13465  bool result;
13466 
13467  if (!PyArg_ParseTuple(args,(char *)"O:vector_int___nonzero__",&obj0)) SWIG_fail;
13468  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
13469  if (!SWIG_IsOK(res1)) {
13470  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int___nonzero__" "', argument " "1"" of type '" "std::vector< int > const *""'");
13471  }
13472  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
13473  result = (bool)std_vector_Sl_int_Sg____nonzero__((std::vector< int > const *)arg1);
13474  resultobj = SWIG_From_bool(static_cast< bool >(result));
13475  return resultobj;
13476 fail:
13477  return NULL;
13478 }
13479 
13480 
13481 SWIGINTERN PyObject *_wrap_vector_int___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13482  PyObject *resultobj = 0;
13483  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
13484  void *argp1 = 0 ;
13485  int res1 = 0 ;
13486  PyObject * obj0 = 0 ;
13487  bool result;
13488 
13489  if (!PyArg_ParseTuple(args,(char *)"O:vector_int___bool__",&obj0)) SWIG_fail;
13490  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
13491  if (!SWIG_IsOK(res1)) {
13492  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int___bool__" "', argument " "1"" of type '" "std::vector< int > const *""'");
13493  }
13494  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
13495  result = (bool)std_vector_Sl_int_Sg____bool__((std::vector< int > const *)arg1);
13496  resultobj = SWIG_From_bool(static_cast< bool >(result));
13497  return resultobj;
13498 fail:
13499  return NULL;
13500 }
13501 
13502 
13503 SWIGINTERN PyObject *_wrap_vector_int___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13504  PyObject *resultobj = 0;
13505  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
13506  void *argp1 = 0 ;
13507  int res1 = 0 ;
13508  PyObject * obj0 = 0 ;
13509  std::vector< int >::size_type result;
13510 
13511  if (!PyArg_ParseTuple(args,(char *)"O:vector_int___len__",&obj0)) SWIG_fail;
13512  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
13513  if (!SWIG_IsOK(res1)) {
13514  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int___len__" "', argument " "1"" of type '" "std::vector< int > const *""'");
13515  }
13516  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
13517  result = std_vector_Sl_int_Sg____len__((std::vector< int > const *)arg1);
13518  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13519  return resultobj;
13520 fail:
13521  return NULL;
13522 }
13523 
13524 
13525 SWIGINTERN PyObject *_wrap_vector_int_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13526  PyObject *resultobj = 0;
13527  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
13528  void *argp1 = 0 ;
13529  int res1 = 0 ;
13530  PyObject * obj0 = 0 ;
13531  std::vector< int >::value_type result;
13532 
13533  if (!PyArg_ParseTuple(args,(char *)"O:vector_int_pop",&obj0)) SWIG_fail;
13534  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
13535  if (!SWIG_IsOK(res1)) {
13536  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_pop" "', argument " "1"" of type '" "std::vector< int > *""'");
13537  }
13538  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
13539  try {
13540  result = (std::vector< int >::value_type)std_vector_Sl_int_Sg__pop(arg1);
13541  }
13542  catch(std::out_of_range &_e) {
13543  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
13544  }
13545 
13546  resultobj = SWIG_From_int(static_cast< int >(result));
13547  return resultobj;
13548 fail:
13549  return NULL;
13550 }
13551 
13552 
13553 SWIGINTERN PyObject *_wrap_vector_int___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13554  PyObject *resultobj = 0;
13555  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
13556  std::vector< int >::difference_type arg2 ;
13557  std::vector< int >::difference_type arg3 ;
13558  void *argp1 = 0 ;
13559  int res1 = 0 ;
13560  ptrdiff_t val2 ;
13561  int ecode2 = 0 ;
13562  ptrdiff_t val3 ;
13563  int ecode3 = 0 ;
13564  PyObject * obj0 = 0 ;
13565  PyObject * obj1 = 0 ;
13566  PyObject * obj2 = 0 ;
13567  std::vector< int,std::allocator< int > > *result = 0 ;
13568 
13569  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_int___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
13570  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
13571  if (!SWIG_IsOK(res1)) {
13572  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int___getslice__" "', argument " "1"" of type '" "std::vector< int > *""'");
13573  }
13574  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
13575  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
13576  if (!SWIG_IsOK(ecode2)) {
13577  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_int___getslice__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'");
13578  }
13579  arg2 = static_cast< std::vector< int >::difference_type >(val2);
13580  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
13581  if (!SWIG_IsOK(ecode3)) {
13582  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_int___getslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'");
13583  }
13584  arg3 = static_cast< std::vector< int >::difference_type >(val3);
13585  try {
13586  result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getslice__(arg1,arg2,arg3);
13587  }
13588  catch(std::out_of_range &_e) {
13589  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
13590  }
13591  catch(std::invalid_argument &_e) {
13592  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
13593  }
13594 
13595  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_OWN | 0 );
13596  return resultobj;
13597 fail:
13598  return NULL;
13599 }
13600 
13601 
13602 SWIGINTERN PyObject *_wrap_vector_int___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13603  PyObject *resultobj = 0;
13604  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
13605  std::vector< int >::difference_type arg2 ;
13606  std::vector< int >::difference_type arg3 ;
13607  std::vector< int,std::allocator< int > > *arg4 = 0 ;
13608  void *argp1 = 0 ;
13609  int res1 = 0 ;
13610  ptrdiff_t val2 ;
13611  int ecode2 = 0 ;
13612  ptrdiff_t val3 ;
13613  int ecode3 = 0 ;
13614  int res4 = SWIG_OLDOBJ ;
13615  PyObject * obj0 = 0 ;
13616  PyObject * obj1 = 0 ;
13617  PyObject * obj2 = 0 ;
13618  PyObject * obj3 = 0 ;
13619 
13620  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_int___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13621  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
13622  if (!SWIG_IsOK(res1)) {
13623  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int___setslice__" "', argument " "1"" of type '" "std::vector< int > *""'");
13624  }
13625  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
13626  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
13627  if (!SWIG_IsOK(ecode2)) {
13628  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_int___setslice__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'");
13629  }
13630  arg2 = static_cast< std::vector< int >::difference_type >(val2);
13631  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
13632  if (!SWIG_IsOK(ecode3)) {
13633  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_int___setslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'");
13634  }
13635  arg3 = static_cast< std::vector< int >::difference_type >(val3);
13636  {
13637  std::vector<int,std::allocator< int > > *ptr = (std::vector<int,std::allocator< int > > *)0;
13638  res4 = swig::asptr(obj3, &ptr);
13639  if (!SWIG_IsOK(res4)) {
13640  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_int___setslice__" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'");
13641  }
13642  if (!ptr) {
13643  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_int___setslice__" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'");
13644  }
13645  arg4 = ptr;
13646  }
13647  try {
13648  std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< int,std::allocator< int > > const &)*arg4);
13649  }
13650  catch(std::out_of_range &_e) {
13651  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
13652  }
13653  catch(std::invalid_argument &_e) {
13654  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
13655  }
13656 
13657  resultobj = SWIG_Py_Void();
13658  if (SWIG_IsNewObj(res4)) delete arg4;
13659  return resultobj;
13660 fail:
13661  if (SWIG_IsNewObj(res4)) delete arg4;
13662  return NULL;
13663 }
13664 
13665 
13666 SWIGINTERN PyObject *_wrap_vector_int___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13667  PyObject *resultobj = 0;
13668  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
13669  std::vector< int >::difference_type arg2 ;
13670  std::vector< int >::difference_type arg3 ;
13671  void *argp1 = 0 ;
13672  int res1 = 0 ;
13673  ptrdiff_t val2 ;
13674  int ecode2 = 0 ;
13675  ptrdiff_t val3 ;
13676  int ecode3 = 0 ;
13677  PyObject * obj0 = 0 ;
13678  PyObject * obj1 = 0 ;
13679  PyObject * obj2 = 0 ;
13680 
13681  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_int___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
13682  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
13683  if (!SWIG_IsOK(res1)) {
13684  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int___setslice__" "', argument " "1"" of type '" "std::vector< int > *""'");
13685  }
13686  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
13687  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
13688  if (!SWIG_IsOK(ecode2)) {
13689  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_int___setslice__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'");
13690  }
13691  arg2 = static_cast< std::vector< int >::difference_type >(val2);
13692  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
13693  if (!SWIG_IsOK(ecode3)) {
13694  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_int___setslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'");
13695  }
13696  arg3 = static_cast< std::vector< int >::difference_type >(val3);
13697  try {
13698  std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,arg2,arg3);
13699  }
13700  catch(std::out_of_range &_e) {
13701  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
13702  }
13703  catch(std::invalid_argument &_e) {
13704  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
13705  }
13706 
13707  resultobj = SWIG_Py_Void();
13708  return resultobj;
13709 fail:
13710  return NULL;
13711 }
13712 
13713 
13714 SWIGINTERN PyObject *_wrap_vector_int___setslice__(PyObject *self, PyObject *args) {
13715  int argc;
13716  PyObject *argv[5];
13717  int ii;
13718 
13719  if (!PyTuple_Check(args)) SWIG_fail;
13720  argc = args ? (int)PyObject_Length(args) : 0;
13721  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
13722  argv[ii] = PyTuple_GET_ITEM(args,ii);
13723  }
13724  if (argc == 3) {
13725  int _v;
13726  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
13727  _v = SWIG_CheckState(res);
13728  if (_v) {
13729  {
13730  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
13731  _v = SWIG_CheckState(res);
13732  }
13733  if (_v) {
13734  {
13735  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
13736  _v = SWIG_CheckState(res);
13737  }
13738  if (_v) {
13739  return _wrap_vector_int___setslice____SWIG_1(self, args);
13740  }
13741  }
13742  }
13743  }
13744  if (argc == 4) {
13745  int _v;
13746  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
13747  _v = SWIG_CheckState(res);
13748  if (_v) {
13749  {
13750  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
13751  _v = SWIG_CheckState(res);
13752  }
13753  if (_v) {
13754  {
13755  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
13756  _v = SWIG_CheckState(res);
13757  }
13758  if (_v) {
13759  int res = swig::asptr(argv[3], (std::vector<int,std::allocator< int > >**)(0));
13760  _v = SWIG_CheckState(res);
13761  if (_v) {
13762  return _wrap_vector_int___setslice____SWIG_0(self, args);
13763  }
13764  }
13765  }
13766  }
13767  }
13768 
13769 fail:
13770  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_int___setslice__'.\n"
13771  " Possible C/C++ prototypes are:\n"
13772  " std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type,std::vector< int,std::allocator< int > > const &)\n"
13773  " std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type)\n");
13774  return 0;
13775 }
13776 
13777 
13778 SWIGINTERN PyObject *_wrap_vector_int___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13779  PyObject *resultobj = 0;
13780  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
13781  std::vector< int >::difference_type arg2 ;
13782  std::vector< int >::difference_type arg3 ;
13783  void *argp1 = 0 ;
13784  int res1 = 0 ;
13785  ptrdiff_t val2 ;
13786  int ecode2 = 0 ;
13787  ptrdiff_t val3 ;
13788  int ecode3 = 0 ;
13789  PyObject * obj0 = 0 ;
13790  PyObject * obj1 = 0 ;
13791  PyObject * obj2 = 0 ;
13792 
13793  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_int___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
13794  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
13795  if (!SWIG_IsOK(res1)) {
13796  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int___delslice__" "', argument " "1"" of type '" "std::vector< int > *""'");
13797  }
13798  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
13799  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
13800  if (!SWIG_IsOK(ecode2)) {
13801  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_int___delslice__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'");
13802  }
13803  arg2 = static_cast< std::vector< int >::difference_type >(val2);
13804  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
13805  if (!SWIG_IsOK(ecode3)) {
13806  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_int___delslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'");
13807  }
13808  arg3 = static_cast< std::vector< int >::difference_type >(val3);
13809  try {
13810  std_vector_Sl_int_Sg____delslice__(arg1,arg2,arg3);
13811  }
13812  catch(std::out_of_range &_e) {
13813  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
13814  }
13815  catch(std::invalid_argument &_e) {
13816  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
13817  }
13818 
13819  resultobj = SWIG_Py_Void();
13820  return resultobj;
13821 fail:
13822  return NULL;
13823 }
13824 
13825 
13826 SWIGINTERN PyObject *_wrap_vector_int___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13827  PyObject *resultobj = 0;
13828  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
13829  std::vector< int >::difference_type arg2 ;
13830  void *argp1 = 0 ;
13831  int res1 = 0 ;
13832  ptrdiff_t val2 ;
13833  int ecode2 = 0 ;
13834  PyObject * obj0 = 0 ;
13835  PyObject * obj1 = 0 ;
13836 
13837  if (!PyArg_ParseTuple(args,(char *)"OO:vector_int___delitem__",&obj0,&obj1)) SWIG_fail;
13838  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
13839  if (!SWIG_IsOK(res1)) {
13840  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int___delitem__" "', argument " "1"" of type '" "std::vector< int > *""'");
13841  }
13842  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
13843  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
13844  if (!SWIG_IsOK(ecode2)) {
13845  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_int___delitem__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'");
13846  }
13847  arg2 = static_cast< std::vector< int >::difference_type >(val2);
13848  try {
13849  std_vector_Sl_int_Sg____delitem____SWIG_0(arg1,arg2);
13850  }
13851  catch(std::out_of_range &_e) {
13852  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
13853  }
13854 
13855  resultobj = SWIG_Py_Void();
13856  return resultobj;
13857 fail:
13858  return NULL;
13859 }
13860 
13861 
13862 SWIGINTERN PyObject *_wrap_vector_int___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13863  PyObject *resultobj = 0;
13864  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
13865  PySliceObject *arg2 = (PySliceObject *) 0 ;
13866  void *argp1 = 0 ;
13867  int res1 = 0 ;
13868  PyObject * obj0 = 0 ;
13869  PyObject * obj1 = 0 ;
13870  std::vector< int,std::allocator< int > > *result = 0 ;
13871 
13872  if (!PyArg_ParseTuple(args,(char *)"OO:vector_int___getitem__",&obj0,&obj1)) SWIG_fail;
13873  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
13874  if (!SWIG_IsOK(res1)) {
13875  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int___getitem__" "', argument " "1"" of type '" "std::vector< int > *""'");
13876  }
13877  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
13878  {
13879  if (!PySlice_Check(obj1)) {
13880  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_int___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
13881  }
13882  arg2 = (PySliceObject *) obj1;
13883  }
13884  try {
13885  result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getitem____SWIG_0(arg1,arg2);
13886  }
13887  catch(std::out_of_range &_e) {
13888  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
13889  }
13890  catch(std::invalid_argument &_e) {
13891  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
13892  }
13893 
13894  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_OWN | 0 );
13895  return resultobj;
13896 fail:
13897  return NULL;
13898 }
13899 
13900 
13901 SWIGINTERN PyObject *_wrap_vector_int___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13902  PyObject *resultobj = 0;
13903  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
13904  PySliceObject *arg2 = (PySliceObject *) 0 ;
13905  std::vector< int,std::allocator< int > > *arg3 = 0 ;
13906  void *argp1 = 0 ;
13907  int res1 = 0 ;
13908  int res3 = SWIG_OLDOBJ ;
13909  PyObject * obj0 = 0 ;
13910  PyObject * obj1 = 0 ;
13911  PyObject * obj2 = 0 ;
13912 
13913  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_int___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
13914  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
13915  if (!SWIG_IsOK(res1)) {
13916  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int___setitem__" "', argument " "1"" of type '" "std::vector< int > *""'");
13917  }
13918  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
13919  {
13920  if (!PySlice_Check(obj1)) {
13921  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_int___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
13922  }
13923  arg2 = (PySliceObject *) obj1;
13924  }
13925  {
13926  std::vector<int,std::allocator< int > > *ptr = (std::vector<int,std::allocator< int > > *)0;
13927  res3 = swig::asptr(obj2, &ptr);
13928  if (!SWIG_IsOK(res3)) {
13929  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_int___setitem__" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > > const &""'");
13930  }
13931  if (!ptr) {
13932  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_int___setitem__" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > > const &""'");
13933  }
13934  arg3 = ptr;
13935  }
13936  try {
13937  std_vector_Sl_int_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< int,std::allocator< int > > const &)*arg3);
13938  }
13939  catch(std::out_of_range &_e) {
13940  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
13941  }
13942  catch(std::invalid_argument &_e) {
13943  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
13944  }
13945 
13946  resultobj = SWIG_Py_Void();
13947  if (SWIG_IsNewObj(res3)) delete arg3;
13948  return resultobj;
13949 fail:
13950  if (SWIG_IsNewObj(res3)) delete arg3;
13951  return NULL;
13952 }
13953 
13954 
13955 SWIGINTERN PyObject *_wrap_vector_int___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13956  PyObject *resultobj = 0;
13957  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
13958  PySliceObject *arg2 = (PySliceObject *) 0 ;
13959  void *argp1 = 0 ;
13960  int res1 = 0 ;
13961  PyObject * obj0 = 0 ;
13962  PyObject * obj1 = 0 ;
13963 
13964  if (!PyArg_ParseTuple(args,(char *)"OO:vector_int___setitem__",&obj0,&obj1)) SWIG_fail;
13965  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
13966  if (!SWIG_IsOK(res1)) {
13967  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int___setitem__" "', argument " "1"" of type '" "std::vector< int > *""'");
13968  }
13969  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
13970  {
13971  if (!PySlice_Check(obj1)) {
13972  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_int___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
13973  }
13974  arg2 = (PySliceObject *) obj1;
13975  }
13976  try {
13977  std_vector_Sl_int_Sg____setitem____SWIG_1(arg1,arg2);
13978  }
13979  catch(std::out_of_range &_e) {
13980  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
13981  }
13982  catch(std::invalid_argument &_e) {
13983  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
13984  }
13985 
13986  resultobj = SWIG_Py_Void();
13987  return resultobj;
13988 fail:
13989  return NULL;
13990 }
13991 
13992 
13993 SWIGINTERN PyObject *_wrap_vector_int___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13994  PyObject *resultobj = 0;
13995  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
13996  PySliceObject *arg2 = (PySliceObject *) 0 ;
13997  void *argp1 = 0 ;
13998  int res1 = 0 ;
13999  PyObject * obj0 = 0 ;
14000  PyObject * obj1 = 0 ;
14001 
14002  if (!PyArg_ParseTuple(args,(char *)"OO:vector_int___delitem__",&obj0,&obj1)) SWIG_fail;
14003  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14004  if (!SWIG_IsOK(res1)) {
14005  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int___delitem__" "', argument " "1"" of type '" "std::vector< int > *""'");
14006  }
14007  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14008  {
14009  if (!PySlice_Check(obj1)) {
14010  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_int___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
14011  }
14012  arg2 = (PySliceObject *) obj1;
14013  }
14014  try {
14015  std_vector_Sl_int_Sg____delitem____SWIG_1(arg1,arg2);
14016  }
14017  catch(std::out_of_range &_e) {
14018  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
14019  }
14020  catch(std::invalid_argument &_e) {
14021  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
14022  }
14023 
14024  resultobj = SWIG_Py_Void();
14025  return resultobj;
14026 fail:
14027  return NULL;
14028 }
14029 
14030 
14031 SWIGINTERN PyObject *_wrap_vector_int___delitem__(PyObject *self, PyObject *args) {
14032  int argc;
14033  PyObject *argv[3];
14034  int ii;
14035 
14036  if (!PyTuple_Check(args)) SWIG_fail;
14037  argc = args ? (int)PyObject_Length(args) : 0;
14038  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
14039  argv[ii] = PyTuple_GET_ITEM(args,ii);
14040  }
14041  if (argc == 2) {
14042  int _v;
14043  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
14044  _v = SWIG_CheckState(res);
14045  if (_v) {
14046  {
14047  _v = PySlice_Check(argv[1]);
14048  }
14049  if (_v) {
14050  return _wrap_vector_int___delitem____SWIG_1(self, args);
14051  }
14052  }
14053  }
14054  if (argc == 2) {
14055  int _v;
14056  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
14057  _v = SWIG_CheckState(res);
14058  if (_v) {
14059  {
14060  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
14061  _v = SWIG_CheckState(res);
14062  }
14063  if (_v) {
14064  return _wrap_vector_int___delitem____SWIG_0(self, args);
14065  }
14066  }
14067  }
14068 
14069 fail:
14070  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_int___delitem__'.\n"
14071  " Possible C/C++ prototypes are:\n"
14072  " std::vector< int >::__delitem__(std::vector< int >::difference_type)\n"
14073  " std::vector< int >::__delitem__(PySliceObject *)\n");
14074  return 0;
14075 }
14076 
14077 
14078 SWIGINTERN PyObject *_wrap_vector_int___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14079  PyObject *resultobj = 0;
14080  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14081  std::vector< int >::difference_type arg2 ;
14082  void *argp1 = 0 ;
14083  int res1 = 0 ;
14084  ptrdiff_t val2 ;
14085  int ecode2 = 0 ;
14086  PyObject * obj0 = 0 ;
14087  PyObject * obj1 = 0 ;
14088  std::vector< int >::value_type *result = 0 ;
14089 
14090  if (!PyArg_ParseTuple(args,(char *)"OO:vector_int___getitem__",&obj0,&obj1)) SWIG_fail;
14091  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14092  if (!SWIG_IsOK(res1)) {
14093  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int___getitem__" "', argument " "1"" of type '" "std::vector< int > const *""'");
14094  }
14095  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14096  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
14097  if (!SWIG_IsOK(ecode2)) {
14098  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_int___getitem__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'");
14099  }
14100  arg2 = static_cast< std::vector< int >::difference_type >(val2);
14101  try {
14102  result = (std::vector< int >::value_type *) &std_vector_Sl_int_Sg____getitem____SWIG_1((std::vector< int > const *)arg1,arg2);
14103  }
14104  catch(std::out_of_range &_e) {
14105  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
14106  }
14107 
14108  resultobj = SWIG_From_int(static_cast< int >(*result));
14109  return resultobj;
14110 fail:
14111  return NULL;
14112 }
14113 
14114 
14115 SWIGINTERN PyObject *_wrap_vector_int___getitem__(PyObject *self, PyObject *args) {
14116  int argc;
14117  PyObject *argv[3];
14118  int ii;
14119 
14120  if (!PyTuple_Check(args)) SWIG_fail;
14121  argc = args ? (int)PyObject_Length(args) : 0;
14122  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
14123  argv[ii] = PyTuple_GET_ITEM(args,ii);
14124  }
14125  if (argc == 2) {
14126  int _v;
14127  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
14128  _v = SWIG_CheckState(res);
14129  if (_v) {
14130  {
14131  _v = PySlice_Check(argv[1]);
14132  }
14133  if (_v) {
14134  return _wrap_vector_int___getitem____SWIG_0(self, args);
14135  }
14136  }
14137  }
14138  if (argc == 2) {
14139  int _v;
14140  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
14141  _v = SWIG_CheckState(res);
14142  if (_v) {
14143  {
14144  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
14145  _v = SWIG_CheckState(res);
14146  }
14147  if (_v) {
14148  return _wrap_vector_int___getitem____SWIG_1(self, args);
14149  }
14150  }
14151  }
14152 
14153 fail:
14154  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_int___getitem__'.\n"
14155  " Possible C/C++ prototypes are:\n"
14156  " std::vector< int >::__getitem__(PySliceObject *)\n"
14157  " std::vector< int >::__getitem__(std::vector< int >::difference_type) const\n");
14158  return 0;
14159 }
14160 
14161 
14162 SWIGINTERN PyObject *_wrap_vector_int___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14163  PyObject *resultobj = 0;
14164  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14165  std::vector< int >::difference_type arg2 ;
14166  std::vector< int >::value_type *arg3 = 0 ;
14167  void *argp1 = 0 ;
14168  int res1 = 0 ;
14169  ptrdiff_t val2 ;
14170  int ecode2 = 0 ;
14171  std::vector< int >::value_type temp3 ;
14172  int val3 ;
14173  int ecode3 = 0 ;
14174  PyObject * obj0 = 0 ;
14175  PyObject * obj1 = 0 ;
14176  PyObject * obj2 = 0 ;
14177 
14178  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_int___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
14179  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14180  if (!SWIG_IsOK(res1)) {
14181  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int___setitem__" "', argument " "1"" of type '" "std::vector< int > *""'");
14182  }
14183  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14184  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
14185  if (!SWIG_IsOK(ecode2)) {
14186  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_int___setitem__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'");
14187  }
14188  arg2 = static_cast< std::vector< int >::difference_type >(val2);
14189  ecode3 = SWIG_AsVal_int(obj2, &val3);
14190  if (!SWIG_IsOK(ecode3)) {
14191  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_int___setitem__" "', argument " "3"" of type '" "std::vector< int >::value_type""'");
14192  }
14193  temp3 = static_cast< std::vector< int >::value_type >(val3);
14194  arg3 = &temp3;
14195  try {
14196  std_vector_Sl_int_Sg____setitem____SWIG_2(arg1,arg2,(int const &)*arg3);
14197  }
14198  catch(std::out_of_range &_e) {
14199  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
14200  }
14201 
14202  resultobj = SWIG_Py_Void();
14203  return resultobj;
14204 fail:
14205  return NULL;
14206 }
14207 
14208 
14209 SWIGINTERN PyObject *_wrap_vector_int___setitem__(PyObject *self, PyObject *args) {
14210  int argc;
14211  PyObject *argv[4];
14212  int ii;
14213 
14214  if (!PyTuple_Check(args)) SWIG_fail;
14215  argc = args ? (int)PyObject_Length(args) : 0;
14216  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
14217  argv[ii] = PyTuple_GET_ITEM(args,ii);
14218  }
14219  if (argc == 2) {
14220  int _v;
14221  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
14222  _v = SWIG_CheckState(res);
14223  if (_v) {
14224  {
14225  _v = PySlice_Check(argv[1]);
14226  }
14227  if (_v) {
14228  return _wrap_vector_int___setitem____SWIG_1(self, args);
14229  }
14230  }
14231  }
14232  if (argc == 3) {
14233  int _v;
14234  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
14235  _v = SWIG_CheckState(res);
14236  if (_v) {
14237  {
14238  _v = PySlice_Check(argv[1]);
14239  }
14240  if (_v) {
14241  int res = swig::asptr(argv[2], (std::vector<int,std::allocator< int > >**)(0));
14242  _v = SWIG_CheckState(res);
14243  if (_v) {
14244  return _wrap_vector_int___setitem____SWIG_0(self, args);
14245  }
14246  }
14247  }
14248  }
14249  if (argc == 3) {
14250  int _v;
14251  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
14252  _v = SWIG_CheckState(res);
14253  if (_v) {
14254  {
14255  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
14256  _v = SWIG_CheckState(res);
14257  }
14258  if (_v) {
14259  {
14260  int res = SWIG_AsVal_int(argv[2], NULL);
14261  _v = SWIG_CheckState(res);
14262  }
14263  if (_v) {
14264  return _wrap_vector_int___setitem____SWIG_2(self, args);
14265  }
14266  }
14267  }
14268  }
14269 
14270 fail:
14271  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_int___setitem__'.\n"
14272  " Possible C/C++ prototypes are:\n"
14273  " std::vector< int >::__setitem__(PySliceObject *,std::vector< int,std::allocator< int > > const &)\n"
14274  " std::vector< int >::__setitem__(PySliceObject *)\n"
14275  " std::vector< int >::__setitem__(std::vector< int >::difference_type,std::vector< int >::value_type const &)\n");
14276  return 0;
14277 }
14278 
14279 
14280 SWIGINTERN PyObject *_wrap_vector_int_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14281  PyObject *resultobj = 0;
14282  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14283  std::vector< int >::value_type *arg2 = 0 ;
14284  void *argp1 = 0 ;
14285  int res1 = 0 ;
14286  std::vector< int >::value_type temp2 ;
14287  int val2 ;
14288  int ecode2 = 0 ;
14289  PyObject * obj0 = 0 ;
14290  PyObject * obj1 = 0 ;
14291 
14292  if (!PyArg_ParseTuple(args,(char *)"OO:vector_int_append",&obj0,&obj1)) SWIG_fail;
14293  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14294  if (!SWIG_IsOK(res1)) {
14295  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_append" "', argument " "1"" of type '" "std::vector< int > *""'");
14296  }
14297  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14298  ecode2 = SWIG_AsVal_int(obj1, &val2);
14299  if (!SWIG_IsOK(ecode2)) {
14300  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_int_append" "', argument " "2"" of type '" "std::vector< int >::value_type""'");
14301  }
14302  temp2 = static_cast< std::vector< int >::value_type >(val2);
14303  arg2 = &temp2;
14304  std_vector_Sl_int_Sg__append(arg1,(int const &)*arg2);
14305  resultobj = SWIG_Py_Void();
14306  return resultobj;
14307 fail:
14308  return NULL;
14309 }
14310 
14311 
14312 SWIGINTERN PyObject *_wrap_new_vector_int__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14313  PyObject *resultobj = 0;
14314  std::vector< int > *result = 0 ;
14315 
14316  if (!PyArg_ParseTuple(args,(char *)":new_vector_int")) SWIG_fail;
14317  result = (std::vector< int > *)new std::vector< int >();
14318  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_NEW | 0 );
14319  return resultobj;
14320 fail:
14321  return NULL;
14322 }
14323 
14324 
14325 SWIGINTERN PyObject *_wrap_new_vector_int__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14326  PyObject *resultobj = 0;
14327  std::vector< int > *arg1 = 0 ;
14328  int res1 = SWIG_OLDOBJ ;
14329  PyObject * obj0 = 0 ;
14330  std::vector< int > *result = 0 ;
14331 
14332  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_int",&obj0)) SWIG_fail;
14333  {
14334  std::vector<int,std::allocator< int > > *ptr = (std::vector<int,std::allocator< int > > *)0;
14335  res1 = swig::asptr(obj0, &ptr);
14336  if (!SWIG_IsOK(res1)) {
14337  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_int" "', argument " "1"" of type '" "std::vector< int > const &""'");
14338  }
14339  if (!ptr) {
14340  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_int" "', argument " "1"" of type '" "std::vector< int > const &""'");
14341  }
14342  arg1 = ptr;
14343  }
14344  result = (std::vector< int > *)new std::vector< int >((std::vector< int > const &)*arg1);
14345  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_NEW | 0 );
14346  if (SWIG_IsNewObj(res1)) delete arg1;
14347  return resultobj;
14348 fail:
14349  if (SWIG_IsNewObj(res1)) delete arg1;
14350  return NULL;
14351 }
14352 
14353 
14354 SWIGINTERN PyObject *_wrap_vector_int_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14355  PyObject *resultobj = 0;
14356  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14357  void *argp1 = 0 ;
14358  int res1 = 0 ;
14359  PyObject * obj0 = 0 ;
14360  bool result;
14361 
14362  if (!PyArg_ParseTuple(args,(char *)"O:vector_int_empty",&obj0)) SWIG_fail;
14363  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14364  if (!SWIG_IsOK(res1)) {
14365  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_empty" "', argument " "1"" of type '" "std::vector< int > const *""'");
14366  }
14367  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14368  result = (bool)((std::vector< int > const *)arg1)->empty();
14369  resultobj = SWIG_From_bool(static_cast< bool >(result));
14370  return resultobj;
14371 fail:
14372  return NULL;
14373 }
14374 
14375 
14376 SWIGINTERN PyObject *_wrap_vector_int_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14377  PyObject *resultobj = 0;
14378  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14379  void *argp1 = 0 ;
14380  int res1 = 0 ;
14381  PyObject * obj0 = 0 ;
14382  std::vector< int >::size_type result;
14383 
14384  if (!PyArg_ParseTuple(args,(char *)"O:vector_int_size",&obj0)) SWIG_fail;
14385  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14386  if (!SWIG_IsOK(res1)) {
14387  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_size" "', argument " "1"" of type '" "std::vector< int > const *""'");
14388  }
14389  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14390  result = ((std::vector< int > const *)arg1)->size();
14391  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14392  return resultobj;
14393 fail:
14394  return NULL;
14395 }
14396 
14397 
14398 SWIGINTERN PyObject *_wrap_vector_int_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14399  PyObject *resultobj = 0;
14400  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14401  void *argp1 = 0 ;
14402  int res1 = 0 ;
14403  PyObject * obj0 = 0 ;
14404 
14405  if (!PyArg_ParseTuple(args,(char *)"O:vector_int_clear",&obj0)) SWIG_fail;
14406  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14407  if (!SWIG_IsOK(res1)) {
14408  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_clear" "', argument " "1"" of type '" "std::vector< int > *""'");
14409  }
14410  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14411  (arg1)->clear();
14412  resultobj = SWIG_Py_Void();
14413  return resultobj;
14414 fail:
14415  return NULL;
14416 }
14417 
14418 
14419 SWIGINTERN PyObject *_wrap_vector_int_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14420  PyObject *resultobj = 0;
14421  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14422  std::vector< int > *arg2 = 0 ;
14423  void *argp1 = 0 ;
14424  int res1 = 0 ;
14425  void *argp2 = 0 ;
14426  int res2 = 0 ;
14427  PyObject * obj0 = 0 ;
14428  PyObject * obj1 = 0 ;
14429 
14430  if (!PyArg_ParseTuple(args,(char *)"OO:vector_int_swap",&obj0,&obj1)) SWIG_fail;
14431  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14432  if (!SWIG_IsOK(res1)) {
14433  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_swap" "', argument " "1"" of type '" "std::vector< int > *""'");
14434  }
14435  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14436  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 );
14437  if (!SWIG_IsOK(res2)) {
14438  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_int_swap" "', argument " "2"" of type '" "std::vector< int > &""'");
14439  }
14440  if (!argp2) {
14441  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_int_swap" "', argument " "2"" of type '" "std::vector< int > &""'");
14442  }
14443  arg2 = reinterpret_cast< std::vector< int > * >(argp2);
14444  (arg1)->swap(*arg2);
14445  resultobj = SWIG_Py_Void();
14446  return resultobj;
14447 fail:
14448  return NULL;
14449 }
14450 
14451 
14452 SWIGINTERN PyObject *_wrap_vector_int_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14453  PyObject *resultobj = 0;
14454  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14455  void *argp1 = 0 ;
14456  int res1 = 0 ;
14457  PyObject * obj0 = 0 ;
14458  SwigValueWrapper< std::allocator< int > > result;
14459 
14460  if (!PyArg_ParseTuple(args,(char *)"O:vector_int_get_allocator",&obj0)) SWIG_fail;
14461  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14462  if (!SWIG_IsOK(res1)) {
14463  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_get_allocator" "', argument " "1"" of type '" "std::vector< int > const *""'");
14464  }
14465  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14466  result = ((std::vector< int > const *)arg1)->get_allocator();
14467  resultobj = SWIG_NewPointerObj((new std::vector< int >::allocator_type(static_cast< const std::vector< int >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_int_t, SWIG_POINTER_OWN | 0 );
14468  return resultobj;
14469 fail:
14470  return NULL;
14471 }
14472 
14473 
14474 SWIGINTERN PyObject *_wrap_vector_int_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14475  PyObject *resultobj = 0;
14476  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14477  void *argp1 = 0 ;
14478  int res1 = 0 ;
14479  PyObject * obj0 = 0 ;
14480  std::vector< int >::iterator result;
14481 
14482  if (!PyArg_ParseTuple(args,(char *)"O:vector_int_begin",&obj0)) SWIG_fail;
14483  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14484  if (!SWIG_IsOK(res1)) {
14485  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_begin" "', argument " "1"" of type '" "std::vector< int > *""'");
14486  }
14487  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14488  result = (arg1)->begin();
14489  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)),
14490  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
14491  return resultobj;
14492 fail:
14493  return NULL;
14494 }
14495 
14496 
14497 SWIGINTERN PyObject *_wrap_vector_int_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14498  PyObject *resultobj = 0;
14499  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14500  void *argp1 = 0 ;
14501  int res1 = 0 ;
14502  PyObject * obj0 = 0 ;
14503  std::vector< int >::iterator result;
14504 
14505  if (!PyArg_ParseTuple(args,(char *)"O:vector_int_end",&obj0)) SWIG_fail;
14506  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14507  if (!SWIG_IsOK(res1)) {
14508  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_end" "', argument " "1"" of type '" "std::vector< int > *""'");
14509  }
14510  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14511  result = (arg1)->end();
14512  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)),
14513  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
14514  return resultobj;
14515 fail:
14516  return NULL;
14517 }
14518 
14519 
14520 SWIGINTERN PyObject *_wrap_vector_int_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14521  PyObject *resultobj = 0;
14522  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14523  void *argp1 = 0 ;
14524  int res1 = 0 ;
14525  PyObject * obj0 = 0 ;
14526  std::vector< int >::reverse_iterator result;
14527 
14528  if (!PyArg_ParseTuple(args,(char *)"O:vector_int_rbegin",&obj0)) SWIG_fail;
14529  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14530  if (!SWIG_IsOK(res1)) {
14531  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_rbegin" "', argument " "1"" of type '" "std::vector< int > *""'");
14532  }
14533  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14534  result = (arg1)->rbegin();
14535  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::reverse_iterator & >(result)),
14536  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
14537  return resultobj;
14538 fail:
14539  return NULL;
14540 }
14541 
14542 
14543 SWIGINTERN PyObject *_wrap_vector_int_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14544  PyObject *resultobj = 0;
14545  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14546  void *argp1 = 0 ;
14547  int res1 = 0 ;
14548  PyObject * obj0 = 0 ;
14549  std::vector< int >::reverse_iterator result;
14550 
14551  if (!PyArg_ParseTuple(args,(char *)"O:vector_int_rend",&obj0)) SWIG_fail;
14552  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14553  if (!SWIG_IsOK(res1)) {
14554  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_rend" "', argument " "1"" of type '" "std::vector< int > *""'");
14555  }
14556  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14557  result = (arg1)->rend();
14558  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::reverse_iterator & >(result)),
14559  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
14560  return resultobj;
14561 fail:
14562  return NULL;
14563 }
14564 
14565 
14566 SWIGINTERN PyObject *_wrap_new_vector_int__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14567  PyObject *resultobj = 0;
14568  std::vector< int >::size_type arg1 ;
14569  size_t val1 ;
14570  int ecode1 = 0 ;
14571  PyObject * obj0 = 0 ;
14572  std::vector< int > *result = 0 ;
14573 
14574  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_int",&obj0)) SWIG_fail;
14575  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
14576  if (!SWIG_IsOK(ecode1)) {
14577  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_int" "', argument " "1"" of type '" "std::vector< int >::size_type""'");
14578  }
14579  arg1 = static_cast< std::vector< int >::size_type >(val1);
14580  result = (std::vector< int > *)new std::vector< int >(arg1);
14581  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_NEW | 0 );
14582  return resultobj;
14583 fail:
14584  return NULL;
14585 }
14586 
14587 
14588 SWIGINTERN PyObject *_wrap_vector_int_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14589  PyObject *resultobj = 0;
14590  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14591  void *argp1 = 0 ;
14592  int res1 = 0 ;
14593  PyObject * obj0 = 0 ;
14594 
14595  if (!PyArg_ParseTuple(args,(char *)"O:vector_int_pop_back",&obj0)) SWIG_fail;
14596  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14597  if (!SWIG_IsOK(res1)) {
14598  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_pop_back" "', argument " "1"" of type '" "std::vector< int > *""'");
14599  }
14600  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14601  (arg1)->pop_back();
14602  resultobj = SWIG_Py_Void();
14603  return resultobj;
14604 fail:
14605  return NULL;
14606 }
14607 
14608 
14609 SWIGINTERN PyObject *_wrap_vector_int_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14610  PyObject *resultobj = 0;
14611  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14612  std::vector< int >::size_type arg2 ;
14613  void *argp1 = 0 ;
14614  int res1 = 0 ;
14615  size_t val2 ;
14616  int ecode2 = 0 ;
14617  PyObject * obj0 = 0 ;
14618  PyObject * obj1 = 0 ;
14619 
14620  if (!PyArg_ParseTuple(args,(char *)"OO:vector_int_resize",&obj0,&obj1)) SWIG_fail;
14621  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14622  if (!SWIG_IsOK(res1)) {
14623  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_resize" "', argument " "1"" of type '" "std::vector< int > *""'");
14624  }
14625  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14626  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14627  if (!SWIG_IsOK(ecode2)) {
14628  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_int_resize" "', argument " "2"" of type '" "std::vector< int >::size_type""'");
14629  }
14630  arg2 = static_cast< std::vector< int >::size_type >(val2);
14631  (arg1)->resize(arg2);
14632  resultobj = SWIG_Py_Void();
14633  return resultobj;
14634 fail:
14635  return NULL;
14636 }
14637 
14638 
14639 SWIGINTERN PyObject *_wrap_vector_int_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14640  PyObject *resultobj = 0;
14641  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14642  std::vector< int >::iterator arg2 ;
14643  void *argp1 = 0 ;
14644  int res1 = 0 ;
14645  swig::SwigPyIterator *iter2 = 0 ;
14646  int res2 ;
14647  PyObject * obj0 = 0 ;
14648  PyObject * obj1 = 0 ;
14649  std::vector< int >::iterator result;
14650 
14651  if (!PyArg_ParseTuple(args,(char *)"OO:vector_int_erase",&obj0,&obj1)) SWIG_fail;
14652  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14653  if (!SWIG_IsOK(res1)) {
14654  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_erase" "', argument " "1"" of type '" "std::vector< int > *""'");
14655  }
14656  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14657  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
14658  if (!SWIG_IsOK(res2) || !iter2) {
14659  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_int_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
14660  } else {
14662  if (iter_t) {
14663  arg2 = iter_t->get_current();
14664  } else {
14665  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_int_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
14666  }
14667  }
14668  result = std_vector_Sl_int_Sg__erase__SWIG_0(arg1,arg2);
14669  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)),
14670  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
14671  return resultobj;
14672 fail:
14673  return NULL;
14674 }
14675 
14676 
14677 SWIGINTERN PyObject *_wrap_vector_int_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14678  PyObject *resultobj = 0;
14679  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14680  std::vector< int >::iterator arg2 ;
14681  std::vector< int >::iterator arg3 ;
14682  void *argp1 = 0 ;
14683  int res1 = 0 ;
14684  swig::SwigPyIterator *iter2 = 0 ;
14685  int res2 ;
14686  swig::SwigPyIterator *iter3 = 0 ;
14687  int res3 ;
14688  PyObject * obj0 = 0 ;
14689  PyObject * obj1 = 0 ;
14690  PyObject * obj2 = 0 ;
14691  std::vector< int >::iterator result;
14692 
14693  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_int_erase",&obj0,&obj1,&obj2)) SWIG_fail;
14694  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14695  if (!SWIG_IsOK(res1)) {
14696  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_erase" "', argument " "1"" of type '" "std::vector< int > *""'");
14697  }
14698  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14699  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
14700  if (!SWIG_IsOK(res2) || !iter2) {
14701  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_int_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
14702  } else {
14704  if (iter_t) {
14705  arg2 = iter_t->get_current();
14706  } else {
14707  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_int_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
14708  }
14709  }
14710  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
14711  if (!SWIG_IsOK(res3) || !iter3) {
14712  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_int_erase" "', argument " "3"" of type '" "std::vector< int >::iterator""'");
14713  } else {
14715  if (iter_t) {
14716  arg3 = iter_t->get_current();
14717  } else {
14718  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_int_erase" "', argument " "3"" of type '" "std::vector< int >::iterator""'");
14719  }
14720  }
14721  result = std_vector_Sl_int_Sg__erase__SWIG_1(arg1,arg2,arg3);
14722  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)),
14723  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
14724  return resultobj;
14725 fail:
14726  return NULL;
14727 }
14728 
14729 
14730 SWIGINTERN PyObject *_wrap_vector_int_erase(PyObject *self, PyObject *args) {
14731  int argc;
14732  PyObject *argv[4];
14733  int ii;
14734 
14735  if (!PyTuple_Check(args)) SWIG_fail;
14736  argc = args ? (int)PyObject_Length(args) : 0;
14737  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
14738  argv[ii] = PyTuple_GET_ITEM(args,ii);
14739  }
14740  if (argc == 2) {
14741  int _v;
14742  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
14743  _v = SWIG_CheckState(res);
14744  if (_v) {
14745  swig::SwigPyIterator *iter = 0;
14746  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
14747  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter) != 0));
14748  if (_v) {
14749  return _wrap_vector_int_erase__SWIG_0(self, args);
14750  }
14751  }
14752  }
14753  if (argc == 3) {
14754  int _v;
14755  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
14756  _v = SWIG_CheckState(res);
14757  if (_v) {
14758  swig::SwigPyIterator *iter = 0;
14759  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
14760  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter) != 0));
14761  if (_v) {
14762  swig::SwigPyIterator *iter = 0;
14763  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
14764  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter) != 0));
14765  if (_v) {
14766  return _wrap_vector_int_erase__SWIG_1(self, args);
14767  }
14768  }
14769  }
14770  }
14771 
14772 fail:
14773  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_int_erase'.\n"
14774  " Possible C/C++ prototypes are:\n"
14775  " std::vector< int >::erase(std::vector< int >::iterator)\n"
14776  " std::vector< int >::erase(std::vector< int >::iterator,std::vector< int >::iterator)\n");
14777  return 0;
14778 }
14779 
14780 
14781 SWIGINTERN PyObject *_wrap_new_vector_int__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14782  PyObject *resultobj = 0;
14783  std::vector< int >::size_type arg1 ;
14784  std::vector< int >::value_type *arg2 = 0 ;
14785  size_t val1 ;
14786  int ecode1 = 0 ;
14787  std::vector< int >::value_type temp2 ;
14788  int val2 ;
14789  int ecode2 = 0 ;
14790  PyObject * obj0 = 0 ;
14791  PyObject * obj1 = 0 ;
14792  std::vector< int > *result = 0 ;
14793 
14794  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_int",&obj0,&obj1)) SWIG_fail;
14795  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
14796  if (!SWIG_IsOK(ecode1)) {
14797  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_int" "', argument " "1"" of type '" "std::vector< int >::size_type""'");
14798  }
14799  arg1 = static_cast< std::vector< int >::size_type >(val1);
14800  ecode2 = SWIG_AsVal_int(obj1, &val2);
14801  if (!SWIG_IsOK(ecode2)) {
14802  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_vector_int" "', argument " "2"" of type '" "std::vector< int >::value_type""'");
14803  }
14804  temp2 = static_cast< std::vector< int >::value_type >(val2);
14805  arg2 = &temp2;
14806  result = (std::vector< int > *)new std::vector< int >(arg1,(std::vector< int >::value_type const &)*arg2);
14807  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_NEW | 0 );
14808  return resultobj;
14809 fail:
14810  return NULL;
14811 }
14812 
14813 
14814 SWIGINTERN PyObject *_wrap_new_vector_int(PyObject *self, PyObject *args) {
14815  int argc;
14816  PyObject *argv[3];
14817  int ii;
14818 
14819  if (!PyTuple_Check(args)) SWIG_fail;
14820  argc = args ? (int)PyObject_Length(args) : 0;
14821  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
14822  argv[ii] = PyTuple_GET_ITEM(args,ii);
14823  }
14824  if (argc == 0) {
14825  return _wrap_new_vector_int__SWIG_0(self, args);
14826  }
14827  if (argc == 1) {
14828  int _v;
14829  {
14830  int res = SWIG_AsVal_size_t(argv[0], NULL);
14831  _v = SWIG_CheckState(res);
14832  }
14833  if (_v) {
14834  return _wrap_new_vector_int__SWIG_2(self, args);
14835  }
14836  }
14837  if (argc == 1) {
14838  int _v;
14839  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
14840  _v = SWIG_CheckState(res);
14841  if (_v) {
14842  return _wrap_new_vector_int__SWIG_1(self, args);
14843  }
14844  }
14845  if (argc == 2) {
14846  int _v;
14847  {
14848  int res = SWIG_AsVal_size_t(argv[0], NULL);
14849  _v = SWIG_CheckState(res);
14850  }
14851  if (_v) {
14852  {
14853  int res = SWIG_AsVal_int(argv[1], NULL);
14854  _v = SWIG_CheckState(res);
14855  }
14856  if (_v) {
14857  return _wrap_new_vector_int__SWIG_3(self, args);
14858  }
14859  }
14860  }
14861 
14862 fail:
14863  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_int'.\n"
14864  " Possible C/C++ prototypes are:\n"
14865  " std::vector< int >::vector()\n"
14866  " std::vector< int >::vector(std::vector< int > const &)\n"
14867  " std::vector< int >::vector(std::vector< int >::size_type)\n"
14868  " std::vector< int >::vector(std::vector< int >::size_type,std::vector< int >::value_type const &)\n");
14869  return 0;
14870 }
14871 
14872 
14873 SWIGINTERN PyObject *_wrap_vector_int_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14874  PyObject *resultobj = 0;
14875  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14876  std::vector< int >::value_type *arg2 = 0 ;
14877  void *argp1 = 0 ;
14878  int res1 = 0 ;
14879  std::vector< int >::value_type temp2 ;
14880  int val2 ;
14881  int ecode2 = 0 ;
14882  PyObject * obj0 = 0 ;
14883  PyObject * obj1 = 0 ;
14884 
14885  if (!PyArg_ParseTuple(args,(char *)"OO:vector_int_push_back",&obj0,&obj1)) SWIG_fail;
14886  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14887  if (!SWIG_IsOK(res1)) {
14888  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_push_back" "', argument " "1"" of type '" "std::vector< int > *""'");
14889  }
14890  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14891  ecode2 = SWIG_AsVal_int(obj1, &val2);
14892  if (!SWIG_IsOK(ecode2)) {
14893  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_int_push_back" "', argument " "2"" of type '" "std::vector< int >::value_type""'");
14894  }
14895  temp2 = static_cast< std::vector< int >::value_type >(val2);
14896  arg2 = &temp2;
14897  (arg1)->push_back((std::vector< int >::value_type const &)*arg2);
14898  resultobj = SWIG_Py_Void();
14899  return resultobj;
14900 fail:
14901  return NULL;
14902 }
14903 
14904 
14905 SWIGINTERN PyObject *_wrap_vector_int_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14906  PyObject *resultobj = 0;
14907  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14908  void *argp1 = 0 ;
14909  int res1 = 0 ;
14910  PyObject * obj0 = 0 ;
14911  std::vector< int >::value_type *result = 0 ;
14912 
14913  if (!PyArg_ParseTuple(args,(char *)"O:vector_int_front",&obj0)) SWIG_fail;
14914  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14915  if (!SWIG_IsOK(res1)) {
14916  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_front" "', argument " "1"" of type '" "std::vector< int > const *""'");
14917  }
14918  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14919  result = (std::vector< int >::value_type *) &((std::vector< int > const *)arg1)->front();
14920  resultobj = SWIG_From_int(static_cast< int >(*result));
14921  return resultobj;
14922 fail:
14923  return NULL;
14924 }
14925 
14926 
14927 SWIGINTERN PyObject *_wrap_vector_int_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14928  PyObject *resultobj = 0;
14929  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14930  void *argp1 = 0 ;
14931  int res1 = 0 ;
14932  PyObject * obj0 = 0 ;
14933  std::vector< int >::value_type *result = 0 ;
14934 
14935  if (!PyArg_ParseTuple(args,(char *)"O:vector_int_back",&obj0)) SWIG_fail;
14936  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14937  if (!SWIG_IsOK(res1)) {
14938  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_back" "', argument " "1"" of type '" "std::vector< int > const *""'");
14939  }
14940  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14941  result = (std::vector< int >::value_type *) &((std::vector< int > const *)arg1)->back();
14942  resultobj = SWIG_From_int(static_cast< int >(*result));
14943  return resultobj;
14944 fail:
14945  return NULL;
14946 }
14947 
14948 
14949 SWIGINTERN PyObject *_wrap_vector_int_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14950  PyObject *resultobj = 0;
14951  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14952  std::vector< int >::size_type arg2 ;
14953  std::vector< int >::value_type *arg3 = 0 ;
14954  void *argp1 = 0 ;
14955  int res1 = 0 ;
14956  size_t val2 ;
14957  int ecode2 = 0 ;
14958  std::vector< int >::value_type temp3 ;
14959  int val3 ;
14960  int ecode3 = 0 ;
14961  PyObject * obj0 = 0 ;
14962  PyObject * obj1 = 0 ;
14963  PyObject * obj2 = 0 ;
14964 
14965  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_int_assign",&obj0,&obj1,&obj2)) SWIG_fail;
14966  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
14967  if (!SWIG_IsOK(res1)) {
14968  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_assign" "', argument " "1"" of type '" "std::vector< int > *""'");
14969  }
14970  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
14971  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14972  if (!SWIG_IsOK(ecode2)) {
14973  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_int_assign" "', argument " "2"" of type '" "std::vector< int >::size_type""'");
14974  }
14975  arg2 = static_cast< std::vector< int >::size_type >(val2);
14976  ecode3 = SWIG_AsVal_int(obj2, &val3);
14977  if (!SWIG_IsOK(ecode3)) {
14978  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_int_assign" "', argument " "3"" of type '" "std::vector< int >::value_type""'");
14979  }
14980  temp3 = static_cast< std::vector< int >::value_type >(val3);
14981  arg3 = &temp3;
14982  (arg1)->assign(arg2,(std::vector< int >::value_type const &)*arg3);
14983  resultobj = SWIG_Py_Void();
14984  return resultobj;
14985 fail:
14986  return NULL;
14987 }
14988 
14989 
14990 SWIGINTERN PyObject *_wrap_vector_int_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14991  PyObject *resultobj = 0;
14992  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
14993  std::vector< int >::size_type arg2 ;
14994  std::vector< int >::value_type *arg3 = 0 ;
14995  void *argp1 = 0 ;
14996  int res1 = 0 ;
14997  size_t val2 ;
14998  int ecode2 = 0 ;
14999  std::vector< int >::value_type temp3 ;
15000  int val3 ;
15001  int ecode3 = 0 ;
15002  PyObject * obj0 = 0 ;
15003  PyObject * obj1 = 0 ;
15004  PyObject * obj2 = 0 ;
15005 
15006  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_int_resize",&obj0,&obj1,&obj2)) SWIG_fail;
15007  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
15008  if (!SWIG_IsOK(res1)) {
15009  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_resize" "', argument " "1"" of type '" "std::vector< int > *""'");
15010  }
15011  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
15012  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15013  if (!SWIG_IsOK(ecode2)) {
15014  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_int_resize" "', argument " "2"" of type '" "std::vector< int >::size_type""'");
15015  }
15016  arg2 = static_cast< std::vector< int >::size_type >(val2);
15017  ecode3 = SWIG_AsVal_int(obj2, &val3);
15018  if (!SWIG_IsOK(ecode3)) {
15019  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_int_resize" "', argument " "3"" of type '" "std::vector< int >::value_type""'");
15020  }
15021  temp3 = static_cast< std::vector< int >::value_type >(val3);
15022  arg3 = &temp3;
15023  (arg1)->resize(arg2,(std::vector< int >::value_type const &)*arg3);
15024  resultobj = SWIG_Py_Void();
15025  return resultobj;
15026 fail:
15027  return NULL;
15028 }
15029 
15030 
15031 SWIGINTERN PyObject *_wrap_vector_int_resize(PyObject *self, PyObject *args) {
15032  int argc;
15033  PyObject *argv[4];
15034  int ii;
15035 
15036  if (!PyTuple_Check(args)) SWIG_fail;
15037  argc = args ? (int)PyObject_Length(args) : 0;
15038  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
15039  argv[ii] = PyTuple_GET_ITEM(args,ii);
15040  }
15041  if (argc == 2) {
15042  int _v;
15043  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
15044  _v = SWIG_CheckState(res);
15045  if (_v) {
15046  {
15047  int res = SWIG_AsVal_size_t(argv[1], NULL);
15048  _v = SWIG_CheckState(res);
15049  }
15050  if (_v) {
15051  return _wrap_vector_int_resize__SWIG_0(self, args);
15052  }
15053  }
15054  }
15055  if (argc == 3) {
15056  int _v;
15057  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
15058  _v = SWIG_CheckState(res);
15059  if (_v) {
15060  {
15061  int res = SWIG_AsVal_size_t(argv[1], NULL);
15062  _v = SWIG_CheckState(res);
15063  }
15064  if (_v) {
15065  {
15066  int res = SWIG_AsVal_int(argv[2], NULL);
15067  _v = SWIG_CheckState(res);
15068  }
15069  if (_v) {
15070  return _wrap_vector_int_resize__SWIG_1(self, args);
15071  }
15072  }
15073  }
15074  }
15075 
15076 fail:
15077  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_int_resize'.\n"
15078  " Possible C/C++ prototypes are:\n"
15079  " std::vector< int >::resize(std::vector< int >::size_type)\n"
15080  " std::vector< int >::resize(std::vector< int >::size_type,std::vector< int >::value_type const &)\n");
15081  return 0;
15082 }
15083 
15084 
15085 SWIGINTERN PyObject *_wrap_vector_int_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15086  PyObject *resultobj = 0;
15087  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
15088  std::vector< int >::iterator arg2 ;
15089  std::vector< int >::value_type *arg3 = 0 ;
15090  void *argp1 = 0 ;
15091  int res1 = 0 ;
15092  swig::SwigPyIterator *iter2 = 0 ;
15093  int res2 ;
15094  std::vector< int >::value_type temp3 ;
15095  int val3 ;
15096  int ecode3 = 0 ;
15097  PyObject * obj0 = 0 ;
15098  PyObject * obj1 = 0 ;
15099  PyObject * obj2 = 0 ;
15100  std::vector< int >::iterator result;
15101 
15102  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_int_insert",&obj0,&obj1,&obj2)) SWIG_fail;
15103  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
15104  if (!SWIG_IsOK(res1)) {
15105  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_insert" "', argument " "1"" of type '" "std::vector< int > *""'");
15106  }
15107  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
15108  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
15109  if (!SWIG_IsOK(res2) || !iter2) {
15110  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_int_insert" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
15111  } else {
15113  if (iter_t) {
15114  arg2 = iter_t->get_current();
15115  } else {
15116  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_int_insert" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
15117  }
15118  }
15119  ecode3 = SWIG_AsVal_int(obj2, &val3);
15120  if (!SWIG_IsOK(ecode3)) {
15121  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_int_insert" "', argument " "3"" of type '" "std::vector< int >::value_type""'");
15122  }
15123  temp3 = static_cast< std::vector< int >::value_type >(val3);
15124  arg3 = &temp3;
15125  result = std_vector_Sl_int_Sg__insert__SWIG_0(arg1,arg2,(int const &)*arg3);
15126  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)),
15127  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
15128  return resultobj;
15129 fail:
15130  return NULL;
15131 }
15132 
15133 
15134 SWIGINTERN PyObject *_wrap_vector_int_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15135  PyObject *resultobj = 0;
15136  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
15137  std::vector< int >::iterator arg2 ;
15138  std::vector< int >::size_type arg3 ;
15139  std::vector< int >::value_type *arg4 = 0 ;
15140  void *argp1 = 0 ;
15141  int res1 = 0 ;
15142  swig::SwigPyIterator *iter2 = 0 ;
15143  int res2 ;
15144  size_t val3 ;
15145  int ecode3 = 0 ;
15146  std::vector< int >::value_type temp4 ;
15147  int val4 ;
15148  int ecode4 = 0 ;
15149  PyObject * obj0 = 0 ;
15150  PyObject * obj1 = 0 ;
15151  PyObject * obj2 = 0 ;
15152  PyObject * obj3 = 0 ;
15153 
15154  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_int_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15155  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
15156  if (!SWIG_IsOK(res1)) {
15157  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_insert" "', argument " "1"" of type '" "std::vector< int > *""'");
15158  }
15159  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
15160  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
15161  if (!SWIG_IsOK(res2) || !iter2) {
15162  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_int_insert" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
15163  } else {
15165  if (iter_t) {
15166  arg2 = iter_t->get_current();
15167  } else {
15168  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_int_insert" "', argument " "2"" of type '" "std::vector< int >::iterator""'");
15169  }
15170  }
15171  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15172  if (!SWIG_IsOK(ecode3)) {
15173  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_int_insert" "', argument " "3"" of type '" "std::vector< int >::size_type""'");
15174  }
15175  arg3 = static_cast< std::vector< int >::size_type >(val3);
15176  ecode4 = SWIG_AsVal_int(obj3, &val4);
15177  if (!SWIG_IsOK(ecode4)) {
15178  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "vector_int_insert" "', argument " "4"" of type '" "std::vector< int >::value_type""'");
15179  }
15180  temp4 = static_cast< std::vector< int >::value_type >(val4);
15181  arg4 = &temp4;
15182  std_vector_Sl_int_Sg__insert__SWIG_1(arg1,arg2,arg3,(int const &)*arg4);
15183  resultobj = SWIG_Py_Void();
15184  return resultobj;
15185 fail:
15186  return NULL;
15187 }
15188 
15189 
15190 SWIGINTERN PyObject *_wrap_vector_int_insert(PyObject *self, PyObject *args) {
15191  int argc;
15192  PyObject *argv[5];
15193  int ii;
15194 
15195  if (!PyTuple_Check(args)) SWIG_fail;
15196  argc = args ? (int)PyObject_Length(args) : 0;
15197  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
15198  argv[ii] = PyTuple_GET_ITEM(args,ii);
15199  }
15200  if (argc == 3) {
15201  int _v;
15202  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
15203  _v = SWIG_CheckState(res);
15204  if (_v) {
15205  swig::SwigPyIterator *iter = 0;
15206  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
15207  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter) != 0));
15208  if (_v) {
15209  {
15210  int res = SWIG_AsVal_int(argv[2], NULL);
15211  _v = SWIG_CheckState(res);
15212  }
15213  if (_v) {
15214  return _wrap_vector_int_insert__SWIG_0(self, args);
15215  }
15216  }
15217  }
15218  }
15219  if (argc == 4) {
15220  int _v;
15221  int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
15222  _v = SWIG_CheckState(res);
15223  if (_v) {
15224  swig::SwigPyIterator *iter = 0;
15225  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
15226  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter) != 0));
15227  if (_v) {
15228  {
15229  int res = SWIG_AsVal_size_t(argv[2], NULL);
15230  _v = SWIG_CheckState(res);
15231  }
15232  if (_v) {
15233  {
15234  int res = SWIG_AsVal_int(argv[3], NULL);
15235  _v = SWIG_CheckState(res);
15236  }
15237  if (_v) {
15238  return _wrap_vector_int_insert__SWIG_1(self, args);
15239  }
15240  }
15241  }
15242  }
15243  }
15244 
15245 fail:
15246  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_int_insert'.\n"
15247  " Possible C/C++ prototypes are:\n"
15248  " std::vector< int >::insert(std::vector< int >::iterator,std::vector< int >::value_type const &)\n"
15249  " std::vector< int >::insert(std::vector< int >::iterator,std::vector< int >::size_type,std::vector< int >::value_type const &)\n");
15250  return 0;
15251 }
15252 
15253 
15254 SWIGINTERN PyObject *_wrap_vector_int_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15255  PyObject *resultobj = 0;
15256  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
15257  std::vector< int >::size_type arg2 ;
15258  void *argp1 = 0 ;
15259  int res1 = 0 ;
15260  size_t val2 ;
15261  int ecode2 = 0 ;
15262  PyObject * obj0 = 0 ;
15263  PyObject * obj1 = 0 ;
15264 
15265  if (!PyArg_ParseTuple(args,(char *)"OO:vector_int_reserve",&obj0,&obj1)) SWIG_fail;
15266  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
15267  if (!SWIG_IsOK(res1)) {
15268  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_reserve" "', argument " "1"" of type '" "std::vector< int > *""'");
15269  }
15270  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
15271  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15272  if (!SWIG_IsOK(ecode2)) {
15273  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_int_reserve" "', argument " "2"" of type '" "std::vector< int >::size_type""'");
15274  }
15275  arg2 = static_cast< std::vector< int >::size_type >(val2);
15276  (arg1)->reserve(arg2);
15277  resultobj = SWIG_Py_Void();
15278  return resultobj;
15279 fail:
15280  return NULL;
15281 }
15282 
15283 
15284 SWIGINTERN PyObject *_wrap_vector_int_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15285  PyObject *resultobj = 0;
15286  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
15287  void *argp1 = 0 ;
15288  int res1 = 0 ;
15289  PyObject * obj0 = 0 ;
15290  std::vector< int >::size_type result;
15291 
15292  if (!PyArg_ParseTuple(args,(char *)"O:vector_int_capacity",&obj0)) SWIG_fail;
15293  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
15294  if (!SWIG_IsOK(res1)) {
15295  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_int_capacity" "', argument " "1"" of type '" "std::vector< int > const *""'");
15296  }
15297  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
15298  result = ((std::vector< int > const *)arg1)->capacity();
15299  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
15300  return resultobj;
15301 fail:
15302  return NULL;
15303 }
15304 
15305 
15306 SWIGINTERN PyObject *_wrap_delete_vector_int(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15307  PyObject *resultobj = 0;
15308  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
15309  void *argp1 = 0 ;
15310  int res1 = 0 ;
15311  PyObject * obj0 = 0 ;
15312 
15313  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_int",&obj0)) SWIG_fail;
15314  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_DISOWN | 0 );
15315  if (!SWIG_IsOK(res1)) {
15316  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_int" "', argument " "1"" of type '" "std::vector< int > *""'");
15317  }
15318  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
15319  {
15320  try {
15321  delete arg1;
15322  }
15323  catch(CStdErrorInfo oError)
15324  {
15325  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
15326  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
15327  PyErr_SetString(PyExc_IndexError, strError.c_str());
15328  SWIG_fail;
15329  }
15330  catch(...)
15331  {
15332  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
15333  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
15334  SWIG_fail;
15335  }
15336  }
15337  resultobj = SWIG_Py_Void();
15338  return resultobj;
15339 fail:
15340  return NULL;
15341 }
15342 
15343 
15344 SWIGINTERN PyObject *vector_int_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15345  PyObject *obj;
15346  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
15347  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_NewClientData(obj));
15348  return SWIG_Py_Void();
15349 }
15350 
15351 SWIGINTERN PyObject *_wrap_vector_long_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15352  PyObject *resultobj = 0;
15353  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
15354  PyObject **arg2 = (PyObject **) 0 ;
15355  void *argp1 = 0 ;
15356  int res1 = 0 ;
15357  PyObject * obj0 = 0 ;
15358  swig::SwigPyIterator *result = 0 ;
15359 
15360  arg2 = &obj0;
15361  if (!PyArg_ParseTuple(args,(char *)"O:vector_long_iterator",&obj0)) SWIG_fail;
15362  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
15363  if (!SWIG_IsOK(res1)) {
15364  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_iterator" "', argument " "1"" of type '" "std::vector< long > *""'");
15365  }
15366  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
15367  result = (swig::SwigPyIterator *)std_vector_Sl_long_Sg__iterator(arg1,arg2);
15368  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
15369  return resultobj;
15370 fail:
15371  return NULL;
15372 }
15373 
15374 
15375 SWIGINTERN PyObject *_wrap_vector_long___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15376  PyObject *resultobj = 0;
15377  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
15378  void *argp1 = 0 ;
15379  int res1 = 0 ;
15380  PyObject * obj0 = 0 ;
15381  bool result;
15382 
15383  if (!PyArg_ParseTuple(args,(char *)"O:vector_long___nonzero__",&obj0)) SWIG_fail;
15384  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
15385  if (!SWIG_IsOK(res1)) {
15386  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long___nonzero__" "', argument " "1"" of type '" "std::vector< long > const *""'");
15387  }
15388  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
15389  result = (bool)std_vector_Sl_long_Sg____nonzero__((std::vector< long > const *)arg1);
15390  resultobj = SWIG_From_bool(static_cast< bool >(result));
15391  return resultobj;
15392 fail:
15393  return NULL;
15394 }
15395 
15396 
15397 SWIGINTERN PyObject *_wrap_vector_long___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15398  PyObject *resultobj = 0;
15399  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
15400  void *argp1 = 0 ;
15401  int res1 = 0 ;
15402  PyObject * obj0 = 0 ;
15403  bool result;
15404 
15405  if (!PyArg_ParseTuple(args,(char *)"O:vector_long___bool__",&obj0)) SWIG_fail;
15406  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
15407  if (!SWIG_IsOK(res1)) {
15408  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long___bool__" "', argument " "1"" of type '" "std::vector< long > const *""'");
15409  }
15410  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
15411  result = (bool)std_vector_Sl_long_Sg____bool__((std::vector< long > const *)arg1);
15412  resultobj = SWIG_From_bool(static_cast< bool >(result));
15413  return resultobj;
15414 fail:
15415  return NULL;
15416 }
15417 
15418 
15419 SWIGINTERN PyObject *_wrap_vector_long___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15420  PyObject *resultobj = 0;
15421  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
15422  void *argp1 = 0 ;
15423  int res1 = 0 ;
15424  PyObject * obj0 = 0 ;
15425  std::vector< long >::size_type result;
15426 
15427  if (!PyArg_ParseTuple(args,(char *)"O:vector_long___len__",&obj0)) SWIG_fail;
15428  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
15429  if (!SWIG_IsOK(res1)) {
15430  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long___len__" "', argument " "1"" of type '" "std::vector< long > const *""'");
15431  }
15432  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
15433  result = std_vector_Sl_long_Sg____len__((std::vector< long > const *)arg1);
15434  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
15435  return resultobj;
15436 fail:
15437  return NULL;
15438 }
15439 
15440 
15441 SWIGINTERN PyObject *_wrap_vector_long_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15442  PyObject *resultobj = 0;
15443  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
15444  void *argp1 = 0 ;
15445  int res1 = 0 ;
15446  PyObject * obj0 = 0 ;
15447  std::vector< long >::value_type result;
15448 
15449  if (!PyArg_ParseTuple(args,(char *)"O:vector_long_pop",&obj0)) SWIG_fail;
15450  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
15451  if (!SWIG_IsOK(res1)) {
15452  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_pop" "', argument " "1"" of type '" "std::vector< long > *""'");
15453  }
15454  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
15455  try {
15456  result = (std::vector< long >::value_type)std_vector_Sl_long_Sg__pop(arg1);
15457  }
15458  catch(std::out_of_range &_e) {
15459  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
15460  }
15461 
15462  resultobj = SWIG_From_long(static_cast< long >(result));
15463  return resultobj;
15464 fail:
15465  return NULL;
15466 }
15467 
15468 
15469 SWIGINTERN PyObject *_wrap_vector_long___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15470  PyObject *resultobj = 0;
15471  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
15472  std::vector< long >::difference_type arg2 ;
15473  std::vector< long >::difference_type arg3 ;
15474  void *argp1 = 0 ;
15475  int res1 = 0 ;
15476  ptrdiff_t val2 ;
15477  int ecode2 = 0 ;
15478  ptrdiff_t val3 ;
15479  int ecode3 = 0 ;
15480  PyObject * obj0 = 0 ;
15481  PyObject * obj1 = 0 ;
15482  PyObject * obj2 = 0 ;
15483  std::vector< long,std::allocator< long > > *result = 0 ;
15484 
15485  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_long___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
15486  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
15487  if (!SWIG_IsOK(res1)) {
15488  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long___getslice__" "', argument " "1"" of type '" "std::vector< long > *""'");
15489  }
15490  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
15491  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
15492  if (!SWIG_IsOK(ecode2)) {
15493  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_long___getslice__" "', argument " "2"" of type '" "std::vector< long >::difference_type""'");
15494  }
15495  arg2 = static_cast< std::vector< long >::difference_type >(val2);
15496  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
15497  if (!SWIG_IsOK(ecode3)) {
15498  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_long___getslice__" "', argument " "3"" of type '" "std::vector< long >::difference_type""'");
15499  }
15500  arg3 = static_cast< std::vector< long >::difference_type >(val3);
15501  try {
15502  result = (std::vector< long,std::allocator< long > > *)std_vector_Sl_long_Sg____getslice__(arg1,arg2,arg3);
15503  }
15504  catch(std::out_of_range &_e) {
15505  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
15506  }
15507  catch(std::invalid_argument &_e) {
15508  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
15509  }
15510 
15511  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, SWIG_POINTER_OWN | 0 );
15512  return resultobj;
15513 fail:
15514  return NULL;
15515 }
15516 
15517 
15518 SWIGINTERN PyObject *_wrap_vector_long___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15519  PyObject *resultobj = 0;
15520  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
15521  std::vector< long >::difference_type arg2 ;
15522  std::vector< long >::difference_type arg3 ;
15523  std::vector< long,std::allocator< long > > *arg4 = 0 ;
15524  void *argp1 = 0 ;
15525  int res1 = 0 ;
15526  ptrdiff_t val2 ;
15527  int ecode2 = 0 ;
15528  ptrdiff_t val3 ;
15529  int ecode3 = 0 ;
15530  int res4 = SWIG_OLDOBJ ;
15531  PyObject * obj0 = 0 ;
15532  PyObject * obj1 = 0 ;
15533  PyObject * obj2 = 0 ;
15534  PyObject * obj3 = 0 ;
15535 
15536  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_long___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15537  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
15538  if (!SWIG_IsOK(res1)) {
15539  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long___setslice__" "', argument " "1"" of type '" "std::vector< long > *""'");
15540  }
15541  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
15542  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
15543  if (!SWIG_IsOK(ecode2)) {
15544  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_long___setslice__" "', argument " "2"" of type '" "std::vector< long >::difference_type""'");
15545  }
15546  arg2 = static_cast< std::vector< long >::difference_type >(val2);
15547  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
15548  if (!SWIG_IsOK(ecode3)) {
15549  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_long___setslice__" "', argument " "3"" of type '" "std::vector< long >::difference_type""'");
15550  }
15551  arg3 = static_cast< std::vector< long >::difference_type >(val3);
15552  {
15553  std::vector<long,std::allocator< long > > *ptr = (std::vector<long,std::allocator< long > > *)0;
15554  res4 = swig::asptr(obj3, &ptr);
15555  if (!SWIG_IsOK(res4)) {
15556  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_long___setslice__" "', argument " "4"" of type '" "std::vector< long,std::allocator< long > > const &""'");
15557  }
15558  if (!ptr) {
15559  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_long___setslice__" "', argument " "4"" of type '" "std::vector< long,std::allocator< long > > const &""'");
15560  }
15561  arg4 = ptr;
15562  }
15563  try {
15564  std_vector_Sl_long_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< long,std::allocator< long > > const &)*arg4);
15565  }
15566  catch(std::out_of_range &_e) {
15567  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
15568  }
15569  catch(std::invalid_argument &_e) {
15570  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
15571  }
15572 
15573  resultobj = SWIG_Py_Void();
15574  if (SWIG_IsNewObj(res4)) delete arg4;
15575  return resultobj;
15576 fail:
15577  if (SWIG_IsNewObj(res4)) delete arg4;
15578  return NULL;
15579 }
15580 
15581 
15582 SWIGINTERN PyObject *_wrap_vector_long___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15583  PyObject *resultobj = 0;
15584  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
15585  std::vector< long >::difference_type arg2 ;
15586  std::vector< long >::difference_type arg3 ;
15587  void *argp1 = 0 ;
15588  int res1 = 0 ;
15589  ptrdiff_t val2 ;
15590  int ecode2 = 0 ;
15591  ptrdiff_t val3 ;
15592  int ecode3 = 0 ;
15593  PyObject * obj0 = 0 ;
15594  PyObject * obj1 = 0 ;
15595  PyObject * obj2 = 0 ;
15596 
15597  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_long___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
15598  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
15599  if (!SWIG_IsOK(res1)) {
15600  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long___setslice__" "', argument " "1"" of type '" "std::vector< long > *""'");
15601  }
15602  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
15603  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
15604  if (!SWIG_IsOK(ecode2)) {
15605  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_long___setslice__" "', argument " "2"" of type '" "std::vector< long >::difference_type""'");
15606  }
15607  arg2 = static_cast< std::vector< long >::difference_type >(val2);
15608  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
15609  if (!SWIG_IsOK(ecode3)) {
15610  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_long___setslice__" "', argument " "3"" of type '" "std::vector< long >::difference_type""'");
15611  }
15612  arg3 = static_cast< std::vector< long >::difference_type >(val3);
15613  try {
15614  std_vector_Sl_long_Sg____setslice____SWIG_0(arg1,arg2,arg3);
15615  }
15616  catch(std::out_of_range &_e) {
15617  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
15618  }
15619  catch(std::invalid_argument &_e) {
15620  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
15621  }
15622 
15623  resultobj = SWIG_Py_Void();
15624  return resultobj;
15625 fail:
15626  return NULL;
15627 }
15628 
15629 
15630 SWIGINTERN PyObject *_wrap_vector_long___setslice__(PyObject *self, PyObject *args) {
15631  int argc;
15632  PyObject *argv[5];
15633  int ii;
15634 
15635  if (!PyTuple_Check(args)) SWIG_fail;
15636  argc = args ? (int)PyObject_Length(args) : 0;
15637  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
15638  argv[ii] = PyTuple_GET_ITEM(args,ii);
15639  }
15640  if (argc == 3) {
15641  int _v;
15642  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
15643  _v = SWIG_CheckState(res);
15644  if (_v) {
15645  {
15646  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
15647  _v = SWIG_CheckState(res);
15648  }
15649  if (_v) {
15650  {
15651  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
15652  _v = SWIG_CheckState(res);
15653  }
15654  if (_v) {
15655  return _wrap_vector_long___setslice____SWIG_1(self, args);
15656  }
15657  }
15658  }
15659  }
15660  if (argc == 4) {
15661  int _v;
15662  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
15663  _v = SWIG_CheckState(res);
15664  if (_v) {
15665  {
15666  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
15667  _v = SWIG_CheckState(res);
15668  }
15669  if (_v) {
15670  {
15671  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
15672  _v = SWIG_CheckState(res);
15673  }
15674  if (_v) {
15675  int res = swig::asptr(argv[3], (std::vector<long,std::allocator< long > >**)(0));
15676  _v = SWIG_CheckState(res);
15677  if (_v) {
15678  return _wrap_vector_long___setslice____SWIG_0(self, args);
15679  }
15680  }
15681  }
15682  }
15683  }
15684 
15685 fail:
15686  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_long___setslice__'.\n"
15687  " Possible C/C++ prototypes are:\n"
15688  " std::vector< long >::__setslice__(std::vector< long >::difference_type,std::vector< long >::difference_type,std::vector< long,std::allocator< long > > const &)\n"
15689  " std::vector< long >::__setslice__(std::vector< long >::difference_type,std::vector< long >::difference_type)\n");
15690  return 0;
15691 }
15692 
15693 
15694 SWIGINTERN PyObject *_wrap_vector_long___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15695  PyObject *resultobj = 0;
15696  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
15697  std::vector< long >::difference_type arg2 ;
15698  std::vector< long >::difference_type arg3 ;
15699  void *argp1 = 0 ;
15700  int res1 = 0 ;
15701  ptrdiff_t val2 ;
15702  int ecode2 = 0 ;
15703  ptrdiff_t val3 ;
15704  int ecode3 = 0 ;
15705  PyObject * obj0 = 0 ;
15706  PyObject * obj1 = 0 ;
15707  PyObject * obj2 = 0 ;
15708 
15709  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_long___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
15710  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
15711  if (!SWIG_IsOK(res1)) {
15712  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long___delslice__" "', argument " "1"" of type '" "std::vector< long > *""'");
15713  }
15714  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
15715  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
15716  if (!SWIG_IsOK(ecode2)) {
15717  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_long___delslice__" "', argument " "2"" of type '" "std::vector< long >::difference_type""'");
15718  }
15719  arg2 = static_cast< std::vector< long >::difference_type >(val2);
15720  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
15721  if (!SWIG_IsOK(ecode3)) {
15722  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_long___delslice__" "', argument " "3"" of type '" "std::vector< long >::difference_type""'");
15723  }
15724  arg3 = static_cast< std::vector< long >::difference_type >(val3);
15725  try {
15726  std_vector_Sl_long_Sg____delslice__(arg1,arg2,arg3);
15727  }
15728  catch(std::out_of_range &_e) {
15729  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
15730  }
15731  catch(std::invalid_argument &_e) {
15732  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
15733  }
15734 
15735  resultobj = SWIG_Py_Void();
15736  return resultobj;
15737 fail:
15738  return NULL;
15739 }
15740 
15741 
15742 SWIGINTERN PyObject *_wrap_vector_long___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15743  PyObject *resultobj = 0;
15744  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
15745  std::vector< long >::difference_type arg2 ;
15746  void *argp1 = 0 ;
15747  int res1 = 0 ;
15748  ptrdiff_t val2 ;
15749  int ecode2 = 0 ;
15750  PyObject * obj0 = 0 ;
15751  PyObject * obj1 = 0 ;
15752 
15753  if (!PyArg_ParseTuple(args,(char *)"OO:vector_long___delitem__",&obj0,&obj1)) SWIG_fail;
15754  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
15755  if (!SWIG_IsOK(res1)) {
15756  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long___delitem__" "', argument " "1"" of type '" "std::vector< long > *""'");
15757  }
15758  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
15759  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
15760  if (!SWIG_IsOK(ecode2)) {
15761  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_long___delitem__" "', argument " "2"" of type '" "std::vector< long >::difference_type""'");
15762  }
15763  arg2 = static_cast< std::vector< long >::difference_type >(val2);
15764  try {
15765  std_vector_Sl_long_Sg____delitem____SWIG_0(arg1,arg2);
15766  }
15767  catch(std::out_of_range &_e) {
15768  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
15769  }
15770 
15771  resultobj = SWIG_Py_Void();
15772  return resultobj;
15773 fail:
15774  return NULL;
15775 }
15776 
15777 
15778 SWIGINTERN PyObject *_wrap_vector_long___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15779  PyObject *resultobj = 0;
15780  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
15781  PySliceObject *arg2 = (PySliceObject *) 0 ;
15782  void *argp1 = 0 ;
15783  int res1 = 0 ;
15784  PyObject * obj0 = 0 ;
15785  PyObject * obj1 = 0 ;
15786  std::vector< long,std::allocator< long > > *result = 0 ;
15787 
15788  if (!PyArg_ParseTuple(args,(char *)"OO:vector_long___getitem__",&obj0,&obj1)) SWIG_fail;
15789  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
15790  if (!SWIG_IsOK(res1)) {
15791  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long___getitem__" "', argument " "1"" of type '" "std::vector< long > *""'");
15792  }
15793  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
15794  {
15795  if (!PySlice_Check(obj1)) {
15796  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_long___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
15797  }
15798  arg2 = (PySliceObject *) obj1;
15799  }
15800  try {
15801  result = (std::vector< long,std::allocator< long > > *)std_vector_Sl_long_Sg____getitem____SWIG_0(arg1,arg2);
15802  }
15803  catch(std::out_of_range &_e) {
15804  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
15805  }
15806  catch(std::invalid_argument &_e) {
15807  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
15808  }
15809 
15810  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, SWIG_POINTER_OWN | 0 );
15811  return resultobj;
15812 fail:
15813  return NULL;
15814 }
15815 
15816 
15817 SWIGINTERN PyObject *_wrap_vector_long___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15818  PyObject *resultobj = 0;
15819  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
15820  PySliceObject *arg2 = (PySliceObject *) 0 ;
15821  std::vector< long,std::allocator< long > > *arg3 = 0 ;
15822  void *argp1 = 0 ;
15823  int res1 = 0 ;
15824  int res3 = SWIG_OLDOBJ ;
15825  PyObject * obj0 = 0 ;
15826  PyObject * obj1 = 0 ;
15827  PyObject * obj2 = 0 ;
15828 
15829  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_long___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
15830  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
15831  if (!SWIG_IsOK(res1)) {
15832  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long___setitem__" "', argument " "1"" of type '" "std::vector< long > *""'");
15833  }
15834  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
15835  {
15836  if (!PySlice_Check(obj1)) {
15837  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_long___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
15838  }
15839  arg2 = (PySliceObject *) obj1;
15840  }
15841  {
15842  std::vector<long,std::allocator< long > > *ptr = (std::vector<long,std::allocator< long > > *)0;
15843  res3 = swig::asptr(obj2, &ptr);
15844  if (!SWIG_IsOK(res3)) {
15845  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_long___setitem__" "', argument " "3"" of type '" "std::vector< long,std::allocator< long > > const &""'");
15846  }
15847  if (!ptr) {
15848  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_long___setitem__" "', argument " "3"" of type '" "std::vector< long,std::allocator< long > > const &""'");
15849  }
15850  arg3 = ptr;
15851  }
15852  try {
15853  std_vector_Sl_long_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< long,std::allocator< long > > const &)*arg3);
15854  }
15855  catch(std::out_of_range &_e) {
15856  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
15857  }
15858  catch(std::invalid_argument &_e) {
15859  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
15860  }
15861 
15862  resultobj = SWIG_Py_Void();
15863  if (SWIG_IsNewObj(res3)) delete arg3;
15864  return resultobj;
15865 fail:
15866  if (SWIG_IsNewObj(res3)) delete arg3;
15867  return NULL;
15868 }
15869 
15870 
15871 SWIGINTERN PyObject *_wrap_vector_long___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15872  PyObject *resultobj = 0;
15873  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
15874  PySliceObject *arg2 = (PySliceObject *) 0 ;
15875  void *argp1 = 0 ;
15876  int res1 = 0 ;
15877  PyObject * obj0 = 0 ;
15878  PyObject * obj1 = 0 ;
15879 
15880  if (!PyArg_ParseTuple(args,(char *)"OO:vector_long___setitem__",&obj0,&obj1)) SWIG_fail;
15881  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
15882  if (!SWIG_IsOK(res1)) {
15883  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long___setitem__" "', argument " "1"" of type '" "std::vector< long > *""'");
15884  }
15885  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
15886  {
15887  if (!PySlice_Check(obj1)) {
15888  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_long___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
15889  }
15890  arg2 = (PySliceObject *) obj1;
15891  }
15892  try {
15893  std_vector_Sl_long_Sg____setitem____SWIG_1(arg1,arg2);
15894  }
15895  catch(std::out_of_range &_e) {
15896  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
15897  }
15898  catch(std::invalid_argument &_e) {
15899  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
15900  }
15901 
15902  resultobj = SWIG_Py_Void();
15903  return resultobj;
15904 fail:
15905  return NULL;
15906 }
15907 
15908 
15909 SWIGINTERN PyObject *_wrap_vector_long___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15910  PyObject *resultobj = 0;
15911  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
15912  PySliceObject *arg2 = (PySliceObject *) 0 ;
15913  void *argp1 = 0 ;
15914  int res1 = 0 ;
15915  PyObject * obj0 = 0 ;
15916  PyObject * obj1 = 0 ;
15917 
15918  if (!PyArg_ParseTuple(args,(char *)"OO:vector_long___delitem__",&obj0,&obj1)) SWIG_fail;
15919  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
15920  if (!SWIG_IsOK(res1)) {
15921  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long___delitem__" "', argument " "1"" of type '" "std::vector< long > *""'");
15922  }
15923  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
15924  {
15925  if (!PySlice_Check(obj1)) {
15926  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_long___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
15927  }
15928  arg2 = (PySliceObject *) obj1;
15929  }
15930  try {
15931  std_vector_Sl_long_Sg____delitem____SWIG_1(arg1,arg2);
15932  }
15933  catch(std::out_of_range &_e) {
15934  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
15935  }
15936  catch(std::invalid_argument &_e) {
15937  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
15938  }
15939 
15940  resultobj = SWIG_Py_Void();
15941  return resultobj;
15942 fail:
15943  return NULL;
15944 }
15945 
15946 
15947 SWIGINTERN PyObject *_wrap_vector_long___delitem__(PyObject *self, PyObject *args) {
15948  int argc;
15949  PyObject *argv[3];
15950  int ii;
15951 
15952  if (!PyTuple_Check(args)) SWIG_fail;
15953  argc = args ? (int)PyObject_Length(args) : 0;
15954  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
15955  argv[ii] = PyTuple_GET_ITEM(args,ii);
15956  }
15957  if (argc == 2) {
15958  int _v;
15959  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
15960  _v = SWIG_CheckState(res);
15961  if (_v) {
15962  {
15963  _v = PySlice_Check(argv[1]);
15964  }
15965  if (_v) {
15966  return _wrap_vector_long___delitem____SWIG_1(self, args);
15967  }
15968  }
15969  }
15970  if (argc == 2) {
15971  int _v;
15972  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
15973  _v = SWIG_CheckState(res);
15974  if (_v) {
15975  {
15976  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
15977  _v = SWIG_CheckState(res);
15978  }
15979  if (_v) {
15980  return _wrap_vector_long___delitem____SWIG_0(self, args);
15981  }
15982  }
15983  }
15984 
15985 fail:
15986  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_long___delitem__'.\n"
15987  " Possible C/C++ prototypes are:\n"
15988  " std::vector< long >::__delitem__(std::vector< long >::difference_type)\n"
15989  " std::vector< long >::__delitem__(PySliceObject *)\n");
15990  return 0;
15991 }
15992 
15993 
15994 SWIGINTERN PyObject *_wrap_vector_long___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15995  PyObject *resultobj = 0;
15996  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
15997  std::vector< long >::difference_type arg2 ;
15998  void *argp1 = 0 ;
15999  int res1 = 0 ;
16000  ptrdiff_t val2 ;
16001  int ecode2 = 0 ;
16002  PyObject * obj0 = 0 ;
16003  PyObject * obj1 = 0 ;
16004  std::vector< long >::value_type *result = 0 ;
16005 
16006  if (!PyArg_ParseTuple(args,(char *)"OO:vector_long___getitem__",&obj0,&obj1)) SWIG_fail;
16007  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16008  if (!SWIG_IsOK(res1)) {
16009  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long___getitem__" "', argument " "1"" of type '" "std::vector< long > const *""'");
16010  }
16011  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16012  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
16013  if (!SWIG_IsOK(ecode2)) {
16014  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_long___getitem__" "', argument " "2"" of type '" "std::vector< long >::difference_type""'");
16015  }
16016  arg2 = static_cast< std::vector< long >::difference_type >(val2);
16017  try {
16018  result = (std::vector< long >::value_type *) &std_vector_Sl_long_Sg____getitem____SWIG_1((std::vector< long > const *)arg1,arg2);
16019  }
16020  catch(std::out_of_range &_e) {
16021  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
16022  }
16023 
16024  resultobj = SWIG_From_long(static_cast< long >(*result));
16025  return resultobj;
16026 fail:
16027  return NULL;
16028 }
16029 
16030 
16031 SWIGINTERN PyObject *_wrap_vector_long___getitem__(PyObject *self, PyObject *args) {
16032  int argc;
16033  PyObject *argv[3];
16034  int ii;
16035 
16036  if (!PyTuple_Check(args)) SWIG_fail;
16037  argc = args ? (int)PyObject_Length(args) : 0;
16038  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
16039  argv[ii] = PyTuple_GET_ITEM(args,ii);
16040  }
16041  if (argc == 2) {
16042  int _v;
16043  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
16044  _v = SWIG_CheckState(res);
16045  if (_v) {
16046  {
16047  _v = PySlice_Check(argv[1]);
16048  }
16049  if (_v) {
16050  return _wrap_vector_long___getitem____SWIG_0(self, args);
16051  }
16052  }
16053  }
16054  if (argc == 2) {
16055  int _v;
16056  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
16057  _v = SWIG_CheckState(res);
16058  if (_v) {
16059  {
16060  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
16061  _v = SWIG_CheckState(res);
16062  }
16063  if (_v) {
16064  return _wrap_vector_long___getitem____SWIG_1(self, args);
16065  }
16066  }
16067  }
16068 
16069 fail:
16070  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_long___getitem__'.\n"
16071  " Possible C/C++ prototypes are:\n"
16072  " std::vector< long >::__getitem__(PySliceObject *)\n"
16073  " std::vector< long >::__getitem__(std::vector< long >::difference_type) const\n");
16074  return 0;
16075 }
16076 
16077 
16078 SWIGINTERN PyObject *_wrap_vector_long___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16079  PyObject *resultobj = 0;
16080  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16081  std::vector< long >::difference_type arg2 ;
16082  std::vector< long >::value_type *arg3 = 0 ;
16083  void *argp1 = 0 ;
16084  int res1 = 0 ;
16085  ptrdiff_t val2 ;
16086  int ecode2 = 0 ;
16087  std::vector< long >::value_type temp3 ;
16088  long val3 ;
16089  int ecode3 = 0 ;
16090  PyObject * obj0 = 0 ;
16091  PyObject * obj1 = 0 ;
16092  PyObject * obj2 = 0 ;
16093 
16094  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_long___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
16095  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16096  if (!SWIG_IsOK(res1)) {
16097  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long___setitem__" "', argument " "1"" of type '" "std::vector< long > *""'");
16098  }
16099  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16100  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
16101  if (!SWIG_IsOK(ecode2)) {
16102  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_long___setitem__" "', argument " "2"" of type '" "std::vector< long >::difference_type""'");
16103  }
16104  arg2 = static_cast< std::vector< long >::difference_type >(val2);
16105  ecode3 = SWIG_AsVal_long(obj2, &val3);
16106  if (!SWIG_IsOK(ecode3)) {
16107  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_long___setitem__" "', argument " "3"" of type '" "std::vector< long >::value_type""'");
16108  }
16109  temp3 = static_cast< std::vector< long >::value_type >(val3);
16110  arg3 = &temp3;
16111  try {
16112  std_vector_Sl_long_Sg____setitem____SWIG_2(arg1,arg2,(long const &)*arg3);
16113  }
16114  catch(std::out_of_range &_e) {
16115  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
16116  }
16117 
16118  resultobj = SWIG_Py_Void();
16119  return resultobj;
16120 fail:
16121  return NULL;
16122 }
16123 
16124 
16125 SWIGINTERN PyObject *_wrap_vector_long___setitem__(PyObject *self, PyObject *args) {
16126  int argc;
16127  PyObject *argv[4];
16128  int ii;
16129 
16130  if (!PyTuple_Check(args)) SWIG_fail;
16131  argc = args ? (int)PyObject_Length(args) : 0;
16132  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
16133  argv[ii] = PyTuple_GET_ITEM(args,ii);
16134  }
16135  if (argc == 2) {
16136  int _v;
16137  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
16138  _v = SWIG_CheckState(res);
16139  if (_v) {
16140  {
16141  _v = PySlice_Check(argv[1]);
16142  }
16143  if (_v) {
16144  return _wrap_vector_long___setitem____SWIG_1(self, args);
16145  }
16146  }
16147  }
16148  if (argc == 3) {
16149  int _v;
16150  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
16151  _v = SWIG_CheckState(res);
16152  if (_v) {
16153  {
16154  _v = PySlice_Check(argv[1]);
16155  }
16156  if (_v) {
16157  int res = swig::asptr(argv[2], (std::vector<long,std::allocator< long > >**)(0));
16158  _v = SWIG_CheckState(res);
16159  if (_v) {
16160  return _wrap_vector_long___setitem____SWIG_0(self, args);
16161  }
16162  }
16163  }
16164  }
16165  if (argc == 3) {
16166  int _v;
16167  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
16168  _v = SWIG_CheckState(res);
16169  if (_v) {
16170  {
16171  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
16172  _v = SWIG_CheckState(res);
16173  }
16174  if (_v) {
16175  {
16176  int res = SWIG_AsVal_long(argv[2], NULL);
16177  _v = SWIG_CheckState(res);
16178  }
16179  if (_v) {
16180  return _wrap_vector_long___setitem____SWIG_2(self, args);
16181  }
16182  }
16183  }
16184  }
16185 
16186 fail:
16187  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_long___setitem__'.\n"
16188  " Possible C/C++ prototypes are:\n"
16189  " std::vector< long >::__setitem__(PySliceObject *,std::vector< long,std::allocator< long > > const &)\n"
16190  " std::vector< long >::__setitem__(PySliceObject *)\n"
16191  " std::vector< long >::__setitem__(std::vector< long >::difference_type,std::vector< long >::value_type const &)\n");
16192  return 0;
16193 }
16194 
16195 
16196 SWIGINTERN PyObject *_wrap_vector_long_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16197  PyObject *resultobj = 0;
16198  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16199  std::vector< long >::value_type *arg2 = 0 ;
16200  void *argp1 = 0 ;
16201  int res1 = 0 ;
16202  std::vector< long >::value_type temp2 ;
16203  long val2 ;
16204  int ecode2 = 0 ;
16205  PyObject * obj0 = 0 ;
16206  PyObject * obj1 = 0 ;
16207 
16208  if (!PyArg_ParseTuple(args,(char *)"OO:vector_long_append",&obj0,&obj1)) SWIG_fail;
16209  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16210  if (!SWIG_IsOK(res1)) {
16211  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_append" "', argument " "1"" of type '" "std::vector< long > *""'");
16212  }
16213  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16214  ecode2 = SWIG_AsVal_long(obj1, &val2);
16215  if (!SWIG_IsOK(ecode2)) {
16216  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_long_append" "', argument " "2"" of type '" "std::vector< long >::value_type""'");
16217  }
16218  temp2 = static_cast< std::vector< long >::value_type >(val2);
16219  arg2 = &temp2;
16220  std_vector_Sl_long_Sg__append(arg1,(long const &)*arg2);
16221  resultobj = SWIG_Py_Void();
16222  return resultobj;
16223 fail:
16224  return NULL;
16225 }
16226 
16227 
16228 SWIGINTERN PyObject *_wrap_new_vector_long__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16229  PyObject *resultobj = 0;
16230  std::vector< long > *result = 0 ;
16231 
16232  if (!PyArg_ParseTuple(args,(char *)":new_vector_long")) SWIG_fail;
16233  result = (std::vector< long > *)new std::vector< long >();
16234  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, SWIG_POINTER_NEW | 0 );
16235  return resultobj;
16236 fail:
16237  return NULL;
16238 }
16239 
16240 
16241 SWIGINTERN PyObject *_wrap_new_vector_long__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16242  PyObject *resultobj = 0;
16243  std::vector< long > *arg1 = 0 ;
16244  int res1 = SWIG_OLDOBJ ;
16245  PyObject * obj0 = 0 ;
16246  std::vector< long > *result = 0 ;
16247 
16248  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_long",&obj0)) SWIG_fail;
16249  {
16250  std::vector<long,std::allocator< long > > *ptr = (std::vector<long,std::allocator< long > > *)0;
16251  res1 = swig::asptr(obj0, &ptr);
16252  if (!SWIG_IsOK(res1)) {
16253  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_long" "', argument " "1"" of type '" "std::vector< long > const &""'");
16254  }
16255  if (!ptr) {
16256  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_long" "', argument " "1"" of type '" "std::vector< long > const &""'");
16257  }
16258  arg1 = ptr;
16259  }
16260  result = (std::vector< long > *)new std::vector< long >((std::vector< long > const &)*arg1);
16261  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, SWIG_POINTER_NEW | 0 );
16262  if (SWIG_IsNewObj(res1)) delete arg1;
16263  return resultobj;
16264 fail:
16265  if (SWIG_IsNewObj(res1)) delete arg1;
16266  return NULL;
16267 }
16268 
16269 
16270 SWIGINTERN PyObject *_wrap_vector_long_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16271  PyObject *resultobj = 0;
16272  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16273  void *argp1 = 0 ;
16274  int res1 = 0 ;
16275  PyObject * obj0 = 0 ;
16276  bool result;
16277 
16278  if (!PyArg_ParseTuple(args,(char *)"O:vector_long_empty",&obj0)) SWIG_fail;
16279  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16280  if (!SWIG_IsOK(res1)) {
16281  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_empty" "', argument " "1"" of type '" "std::vector< long > const *""'");
16282  }
16283  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16284  result = (bool)((std::vector< long > const *)arg1)->empty();
16285  resultobj = SWIG_From_bool(static_cast< bool >(result));
16286  return resultobj;
16287 fail:
16288  return NULL;
16289 }
16290 
16291 
16292 SWIGINTERN PyObject *_wrap_vector_long_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16293  PyObject *resultobj = 0;
16294  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16295  void *argp1 = 0 ;
16296  int res1 = 0 ;
16297  PyObject * obj0 = 0 ;
16298  std::vector< long >::size_type result;
16299 
16300  if (!PyArg_ParseTuple(args,(char *)"O:vector_long_size",&obj0)) SWIG_fail;
16301  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16302  if (!SWIG_IsOK(res1)) {
16303  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_size" "', argument " "1"" of type '" "std::vector< long > const *""'");
16304  }
16305  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16306  result = ((std::vector< long > const *)arg1)->size();
16307  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16308  return resultobj;
16309 fail:
16310  return NULL;
16311 }
16312 
16313 
16314 SWIGINTERN PyObject *_wrap_vector_long_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16315  PyObject *resultobj = 0;
16316  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16317  void *argp1 = 0 ;
16318  int res1 = 0 ;
16319  PyObject * obj0 = 0 ;
16320 
16321  if (!PyArg_ParseTuple(args,(char *)"O:vector_long_clear",&obj0)) SWIG_fail;
16322  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16323  if (!SWIG_IsOK(res1)) {
16324  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_clear" "', argument " "1"" of type '" "std::vector< long > *""'");
16325  }
16326  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16327  (arg1)->clear();
16328  resultobj = SWIG_Py_Void();
16329  return resultobj;
16330 fail:
16331  return NULL;
16332 }
16333 
16334 
16335 SWIGINTERN PyObject *_wrap_vector_long_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16336  PyObject *resultobj = 0;
16337  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16338  std::vector< long > *arg2 = 0 ;
16339  void *argp1 = 0 ;
16340  int res1 = 0 ;
16341  void *argp2 = 0 ;
16342  int res2 = 0 ;
16343  PyObject * obj0 = 0 ;
16344  PyObject * obj1 = 0 ;
16345 
16346  if (!PyArg_ParseTuple(args,(char *)"OO:vector_long_swap",&obj0,&obj1)) SWIG_fail;
16347  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16348  if (!SWIG_IsOK(res1)) {
16349  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_swap" "', argument " "1"" of type '" "std::vector< long > *""'");
16350  }
16351  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16352  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 );
16353  if (!SWIG_IsOK(res2)) {
16354  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_long_swap" "', argument " "2"" of type '" "std::vector< long > &""'");
16355  }
16356  if (!argp2) {
16357  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_long_swap" "', argument " "2"" of type '" "std::vector< long > &""'");
16358  }
16359  arg2 = reinterpret_cast< std::vector< long > * >(argp2);
16360  (arg1)->swap(*arg2);
16361  resultobj = SWIG_Py_Void();
16362  return resultobj;
16363 fail:
16364  return NULL;
16365 }
16366 
16367 
16368 SWIGINTERN PyObject *_wrap_vector_long_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16369  PyObject *resultobj = 0;
16370  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16371  void *argp1 = 0 ;
16372  int res1 = 0 ;
16373  PyObject * obj0 = 0 ;
16374  SwigValueWrapper< std::allocator< long > > result;
16375 
16376  if (!PyArg_ParseTuple(args,(char *)"O:vector_long_get_allocator",&obj0)) SWIG_fail;
16377  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16378  if (!SWIG_IsOK(res1)) {
16379  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_get_allocator" "', argument " "1"" of type '" "std::vector< long > const *""'");
16380  }
16381  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16382  result = ((std::vector< long > const *)arg1)->get_allocator();
16383  resultobj = SWIG_NewPointerObj((new std::vector< long >::allocator_type(static_cast< const std::vector< long >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_long_t, SWIG_POINTER_OWN | 0 );
16384  return resultobj;
16385 fail:
16386  return NULL;
16387 }
16388 
16389 
16390 SWIGINTERN PyObject *_wrap_vector_long_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16391  PyObject *resultobj = 0;
16392  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16393  void *argp1 = 0 ;
16394  int res1 = 0 ;
16395  PyObject * obj0 = 0 ;
16396  std::vector< long >::iterator result;
16397 
16398  if (!PyArg_ParseTuple(args,(char *)"O:vector_long_begin",&obj0)) SWIG_fail;
16399  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16400  if (!SWIG_IsOK(res1)) {
16401  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_begin" "', argument " "1"" of type '" "std::vector< long > *""'");
16402  }
16403  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16404  result = (arg1)->begin();
16405  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< long >::iterator & >(result)),
16406  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
16407  return resultobj;
16408 fail:
16409  return NULL;
16410 }
16411 
16412 
16413 SWIGINTERN PyObject *_wrap_vector_long_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16414  PyObject *resultobj = 0;
16415  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16416  void *argp1 = 0 ;
16417  int res1 = 0 ;
16418  PyObject * obj0 = 0 ;
16419  std::vector< long >::iterator result;
16420 
16421  if (!PyArg_ParseTuple(args,(char *)"O:vector_long_end",&obj0)) SWIG_fail;
16422  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16423  if (!SWIG_IsOK(res1)) {
16424  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_end" "', argument " "1"" of type '" "std::vector< long > *""'");
16425  }
16426  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16427  result = (arg1)->end();
16428  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< long >::iterator & >(result)),
16429  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
16430  return resultobj;
16431 fail:
16432  return NULL;
16433 }
16434 
16435 
16436 SWIGINTERN PyObject *_wrap_vector_long_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16437  PyObject *resultobj = 0;
16438  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16439  void *argp1 = 0 ;
16440  int res1 = 0 ;
16441  PyObject * obj0 = 0 ;
16442  std::vector< long >::reverse_iterator result;
16443 
16444  if (!PyArg_ParseTuple(args,(char *)"O:vector_long_rbegin",&obj0)) SWIG_fail;
16445  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16446  if (!SWIG_IsOK(res1)) {
16447  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_rbegin" "', argument " "1"" of type '" "std::vector< long > *""'");
16448  }
16449  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16450  result = (arg1)->rbegin();
16451  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< long >::reverse_iterator & >(result)),
16452  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
16453  return resultobj;
16454 fail:
16455  return NULL;
16456 }
16457 
16458 
16459 SWIGINTERN PyObject *_wrap_vector_long_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16460  PyObject *resultobj = 0;
16461  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16462  void *argp1 = 0 ;
16463  int res1 = 0 ;
16464  PyObject * obj0 = 0 ;
16465  std::vector< long >::reverse_iterator result;
16466 
16467  if (!PyArg_ParseTuple(args,(char *)"O:vector_long_rend",&obj0)) SWIG_fail;
16468  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16469  if (!SWIG_IsOK(res1)) {
16470  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_rend" "', argument " "1"" of type '" "std::vector< long > *""'");
16471  }
16472  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16473  result = (arg1)->rend();
16474  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< long >::reverse_iterator & >(result)),
16475  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
16476  return resultobj;
16477 fail:
16478  return NULL;
16479 }
16480 
16481 
16482 SWIGINTERN PyObject *_wrap_new_vector_long__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16483  PyObject *resultobj = 0;
16484  std::vector< long >::size_type arg1 ;
16485  size_t val1 ;
16486  int ecode1 = 0 ;
16487  PyObject * obj0 = 0 ;
16488  std::vector< long > *result = 0 ;
16489 
16490  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_long",&obj0)) SWIG_fail;
16491  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
16492  if (!SWIG_IsOK(ecode1)) {
16493  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_long" "', argument " "1"" of type '" "std::vector< long >::size_type""'");
16494  }
16495  arg1 = static_cast< std::vector< long >::size_type >(val1);
16496  result = (std::vector< long > *)new std::vector< long >(arg1);
16497  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, SWIG_POINTER_NEW | 0 );
16498  return resultobj;
16499 fail:
16500  return NULL;
16501 }
16502 
16503 
16504 SWIGINTERN PyObject *_wrap_vector_long_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16505  PyObject *resultobj = 0;
16506  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16507  void *argp1 = 0 ;
16508  int res1 = 0 ;
16509  PyObject * obj0 = 0 ;
16510 
16511  if (!PyArg_ParseTuple(args,(char *)"O:vector_long_pop_back",&obj0)) SWIG_fail;
16512  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16513  if (!SWIG_IsOK(res1)) {
16514  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_pop_back" "', argument " "1"" of type '" "std::vector< long > *""'");
16515  }
16516  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16517  (arg1)->pop_back();
16518  resultobj = SWIG_Py_Void();
16519  return resultobj;
16520 fail:
16521  return NULL;
16522 }
16523 
16524 
16525 SWIGINTERN PyObject *_wrap_vector_long_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16526  PyObject *resultobj = 0;
16527  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16528  std::vector< long >::size_type arg2 ;
16529  void *argp1 = 0 ;
16530  int res1 = 0 ;
16531  size_t val2 ;
16532  int ecode2 = 0 ;
16533  PyObject * obj0 = 0 ;
16534  PyObject * obj1 = 0 ;
16535 
16536  if (!PyArg_ParseTuple(args,(char *)"OO:vector_long_resize",&obj0,&obj1)) SWIG_fail;
16537  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16538  if (!SWIG_IsOK(res1)) {
16539  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_resize" "', argument " "1"" of type '" "std::vector< long > *""'");
16540  }
16541  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16542  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16543  if (!SWIG_IsOK(ecode2)) {
16544  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_long_resize" "', argument " "2"" of type '" "std::vector< long >::size_type""'");
16545  }
16546  arg2 = static_cast< std::vector< long >::size_type >(val2);
16547  (arg1)->resize(arg2);
16548  resultobj = SWIG_Py_Void();
16549  return resultobj;
16550 fail:
16551  return NULL;
16552 }
16553 
16554 
16555 SWIGINTERN PyObject *_wrap_vector_long_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16556  PyObject *resultobj = 0;
16557  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16558  std::vector< long >::iterator arg2 ;
16559  void *argp1 = 0 ;
16560  int res1 = 0 ;
16561  swig::SwigPyIterator *iter2 = 0 ;
16562  int res2 ;
16563  PyObject * obj0 = 0 ;
16564  PyObject * obj1 = 0 ;
16565  std::vector< long >::iterator result;
16566 
16567  if (!PyArg_ParseTuple(args,(char *)"OO:vector_long_erase",&obj0,&obj1)) SWIG_fail;
16568  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16569  if (!SWIG_IsOK(res1)) {
16570  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_erase" "', argument " "1"" of type '" "std::vector< long > *""'");
16571  }
16572  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16573  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
16574  if (!SWIG_IsOK(res2) || !iter2) {
16575  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_long_erase" "', argument " "2"" of type '" "std::vector< long >::iterator""'");
16576  } else {
16578  if (iter_t) {
16579  arg2 = iter_t->get_current();
16580  } else {
16581  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_long_erase" "', argument " "2"" of type '" "std::vector< long >::iterator""'");
16582  }
16583  }
16584  result = std_vector_Sl_long_Sg__erase__SWIG_0(arg1,arg2);
16585  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< long >::iterator & >(result)),
16586  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
16587  return resultobj;
16588 fail:
16589  return NULL;
16590 }
16591 
16592 
16593 SWIGINTERN PyObject *_wrap_vector_long_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16594  PyObject *resultobj = 0;
16595  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16596  std::vector< long >::iterator arg2 ;
16597  std::vector< long >::iterator arg3 ;
16598  void *argp1 = 0 ;
16599  int res1 = 0 ;
16600  swig::SwigPyIterator *iter2 = 0 ;
16601  int res2 ;
16602  swig::SwigPyIterator *iter3 = 0 ;
16603  int res3 ;
16604  PyObject * obj0 = 0 ;
16605  PyObject * obj1 = 0 ;
16606  PyObject * obj2 = 0 ;
16607  std::vector< long >::iterator result;
16608 
16609  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_long_erase",&obj0,&obj1,&obj2)) SWIG_fail;
16610  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16611  if (!SWIG_IsOK(res1)) {
16612  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_erase" "', argument " "1"" of type '" "std::vector< long > *""'");
16613  }
16614  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16615  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
16616  if (!SWIG_IsOK(res2) || !iter2) {
16617  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_long_erase" "', argument " "2"" of type '" "std::vector< long >::iterator""'");
16618  } else {
16620  if (iter_t) {
16621  arg2 = iter_t->get_current();
16622  } else {
16623  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_long_erase" "', argument " "2"" of type '" "std::vector< long >::iterator""'");
16624  }
16625  }
16626  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
16627  if (!SWIG_IsOK(res3) || !iter3) {
16628  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_long_erase" "', argument " "3"" of type '" "std::vector< long >::iterator""'");
16629  } else {
16631  if (iter_t) {
16632  arg3 = iter_t->get_current();
16633  } else {
16634  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_long_erase" "', argument " "3"" of type '" "std::vector< long >::iterator""'");
16635  }
16636  }
16637  result = std_vector_Sl_long_Sg__erase__SWIG_1(arg1,arg2,arg3);
16638  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< long >::iterator & >(result)),
16639  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
16640  return resultobj;
16641 fail:
16642  return NULL;
16643 }
16644 
16645 
16646 SWIGINTERN PyObject *_wrap_vector_long_erase(PyObject *self, PyObject *args) {
16647  int argc;
16648  PyObject *argv[4];
16649  int ii;
16650 
16651  if (!PyTuple_Check(args)) SWIG_fail;
16652  argc = args ? (int)PyObject_Length(args) : 0;
16653  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
16654  argv[ii] = PyTuple_GET_ITEM(args,ii);
16655  }
16656  if (argc == 2) {
16657  int _v;
16658  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
16659  _v = SWIG_CheckState(res);
16660  if (_v) {
16661  swig::SwigPyIterator *iter = 0;
16662  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
16663  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< long >::iterator > *>(iter) != 0));
16664  if (_v) {
16665  return _wrap_vector_long_erase__SWIG_0(self, args);
16666  }
16667  }
16668  }
16669  if (argc == 3) {
16670  int _v;
16671  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
16672  _v = SWIG_CheckState(res);
16673  if (_v) {
16674  swig::SwigPyIterator *iter = 0;
16675  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
16676  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< long >::iterator > *>(iter) != 0));
16677  if (_v) {
16678  swig::SwigPyIterator *iter = 0;
16679  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
16680  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< long >::iterator > *>(iter) != 0));
16681  if (_v) {
16682  return _wrap_vector_long_erase__SWIG_1(self, args);
16683  }
16684  }
16685  }
16686  }
16687 
16688 fail:
16689  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_long_erase'.\n"
16690  " Possible C/C++ prototypes are:\n"
16691  " std::vector< long >::erase(std::vector< long >::iterator)\n"
16692  " std::vector< long >::erase(std::vector< long >::iterator,std::vector< long >::iterator)\n");
16693  return 0;
16694 }
16695 
16696 
16697 SWIGINTERN PyObject *_wrap_new_vector_long__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16698  PyObject *resultobj = 0;
16699  std::vector< long >::size_type arg1 ;
16700  std::vector< long >::value_type *arg2 = 0 ;
16701  size_t val1 ;
16702  int ecode1 = 0 ;
16703  std::vector< long >::value_type temp2 ;
16704  long val2 ;
16705  int ecode2 = 0 ;
16706  PyObject * obj0 = 0 ;
16707  PyObject * obj1 = 0 ;
16708  std::vector< long > *result = 0 ;
16709 
16710  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_long",&obj0,&obj1)) SWIG_fail;
16711  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
16712  if (!SWIG_IsOK(ecode1)) {
16713  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_long" "', argument " "1"" of type '" "std::vector< long >::size_type""'");
16714  }
16715  arg1 = static_cast< std::vector< long >::size_type >(val1);
16716  ecode2 = SWIG_AsVal_long(obj1, &val2);
16717  if (!SWIG_IsOK(ecode2)) {
16718  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_vector_long" "', argument " "2"" of type '" "std::vector< long >::value_type""'");
16719  }
16720  temp2 = static_cast< std::vector< long >::value_type >(val2);
16721  arg2 = &temp2;
16722  result = (std::vector< long > *)new std::vector< long >(arg1,(std::vector< long >::value_type const &)*arg2);
16723  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, SWIG_POINTER_NEW | 0 );
16724  return resultobj;
16725 fail:
16726  return NULL;
16727 }
16728 
16729 
16730 SWIGINTERN PyObject *_wrap_new_vector_long(PyObject *self, PyObject *args) {
16731  int argc;
16732  PyObject *argv[3];
16733  int ii;
16734 
16735  if (!PyTuple_Check(args)) SWIG_fail;
16736  argc = args ? (int)PyObject_Length(args) : 0;
16737  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
16738  argv[ii] = PyTuple_GET_ITEM(args,ii);
16739  }
16740  if (argc == 0) {
16741  return _wrap_new_vector_long__SWIG_0(self, args);
16742  }
16743  if (argc == 1) {
16744  int _v;
16745  {
16746  int res = SWIG_AsVal_size_t(argv[0], NULL);
16747  _v = SWIG_CheckState(res);
16748  }
16749  if (_v) {
16750  return _wrap_new_vector_long__SWIG_2(self, args);
16751  }
16752  }
16753  if (argc == 1) {
16754  int _v;
16755  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
16756  _v = SWIG_CheckState(res);
16757  if (_v) {
16758  return _wrap_new_vector_long__SWIG_1(self, args);
16759  }
16760  }
16761  if (argc == 2) {
16762  int _v;
16763  {
16764  int res = SWIG_AsVal_size_t(argv[0], NULL);
16765  _v = SWIG_CheckState(res);
16766  }
16767  if (_v) {
16768  {
16769  int res = SWIG_AsVal_long(argv[1], NULL);
16770  _v = SWIG_CheckState(res);
16771  }
16772  if (_v) {
16773  return _wrap_new_vector_long__SWIG_3(self, args);
16774  }
16775  }
16776  }
16777 
16778 fail:
16779  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_long'.\n"
16780  " Possible C/C++ prototypes are:\n"
16781  " std::vector< long >::vector()\n"
16782  " std::vector< long >::vector(std::vector< long > const &)\n"
16783  " std::vector< long >::vector(std::vector< long >::size_type)\n"
16784  " std::vector< long >::vector(std::vector< long >::size_type,std::vector< long >::value_type const &)\n");
16785  return 0;
16786 }
16787 
16788 
16789 SWIGINTERN PyObject *_wrap_vector_long_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16790  PyObject *resultobj = 0;
16791  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16792  std::vector< long >::value_type *arg2 = 0 ;
16793  void *argp1 = 0 ;
16794  int res1 = 0 ;
16795  std::vector< long >::value_type temp2 ;
16796  long val2 ;
16797  int ecode2 = 0 ;
16798  PyObject * obj0 = 0 ;
16799  PyObject * obj1 = 0 ;
16800 
16801  if (!PyArg_ParseTuple(args,(char *)"OO:vector_long_push_back",&obj0,&obj1)) SWIG_fail;
16802  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16803  if (!SWIG_IsOK(res1)) {
16804  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_push_back" "', argument " "1"" of type '" "std::vector< long > *""'");
16805  }
16806  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16807  ecode2 = SWIG_AsVal_long(obj1, &val2);
16808  if (!SWIG_IsOK(ecode2)) {
16809  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_long_push_back" "', argument " "2"" of type '" "std::vector< long >::value_type""'");
16810  }
16811  temp2 = static_cast< std::vector< long >::value_type >(val2);
16812  arg2 = &temp2;
16813  (arg1)->push_back((std::vector< long >::value_type const &)*arg2);
16814  resultobj = SWIG_Py_Void();
16815  return resultobj;
16816 fail:
16817  return NULL;
16818 }
16819 
16820 
16821 SWIGINTERN PyObject *_wrap_vector_long_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16822  PyObject *resultobj = 0;
16823  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16824  void *argp1 = 0 ;
16825  int res1 = 0 ;
16826  PyObject * obj0 = 0 ;
16827  std::vector< long >::value_type *result = 0 ;
16828 
16829  if (!PyArg_ParseTuple(args,(char *)"O:vector_long_front",&obj0)) SWIG_fail;
16830  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16831  if (!SWIG_IsOK(res1)) {
16832  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_front" "', argument " "1"" of type '" "std::vector< long > const *""'");
16833  }
16834  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16835  result = (std::vector< long >::value_type *) &((std::vector< long > const *)arg1)->front();
16836  resultobj = SWIG_From_long(static_cast< long >(*result));
16837  return resultobj;
16838 fail:
16839  return NULL;
16840 }
16841 
16842 
16843 SWIGINTERN PyObject *_wrap_vector_long_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16844  PyObject *resultobj = 0;
16845  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16846  void *argp1 = 0 ;
16847  int res1 = 0 ;
16848  PyObject * obj0 = 0 ;
16849  std::vector< long >::value_type *result = 0 ;
16850 
16851  if (!PyArg_ParseTuple(args,(char *)"O:vector_long_back",&obj0)) SWIG_fail;
16852  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16853  if (!SWIG_IsOK(res1)) {
16854  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_back" "', argument " "1"" of type '" "std::vector< long > const *""'");
16855  }
16856  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16857  result = (std::vector< long >::value_type *) &((std::vector< long > const *)arg1)->back();
16858  resultobj = SWIG_From_long(static_cast< long >(*result));
16859  return resultobj;
16860 fail:
16861  return NULL;
16862 }
16863 
16864 
16865 SWIGINTERN PyObject *_wrap_vector_long_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16866  PyObject *resultobj = 0;
16867  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16868  std::vector< long >::size_type arg2 ;
16869  std::vector< long >::value_type *arg3 = 0 ;
16870  void *argp1 = 0 ;
16871  int res1 = 0 ;
16872  size_t val2 ;
16873  int ecode2 = 0 ;
16874  std::vector< long >::value_type temp3 ;
16875  long val3 ;
16876  int ecode3 = 0 ;
16877  PyObject * obj0 = 0 ;
16878  PyObject * obj1 = 0 ;
16879  PyObject * obj2 = 0 ;
16880 
16881  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_long_assign",&obj0,&obj1,&obj2)) SWIG_fail;
16882  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16883  if (!SWIG_IsOK(res1)) {
16884  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_assign" "', argument " "1"" of type '" "std::vector< long > *""'");
16885  }
16886  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16887  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16888  if (!SWIG_IsOK(ecode2)) {
16889  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_long_assign" "', argument " "2"" of type '" "std::vector< long >::size_type""'");
16890  }
16891  arg2 = static_cast< std::vector< long >::size_type >(val2);
16892  ecode3 = SWIG_AsVal_long(obj2, &val3);
16893  if (!SWIG_IsOK(ecode3)) {
16894  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_long_assign" "', argument " "3"" of type '" "std::vector< long >::value_type""'");
16895  }
16896  temp3 = static_cast< std::vector< long >::value_type >(val3);
16897  arg3 = &temp3;
16898  (arg1)->assign(arg2,(std::vector< long >::value_type const &)*arg3);
16899  resultobj = SWIG_Py_Void();
16900  return resultobj;
16901 fail:
16902  return NULL;
16903 }
16904 
16905 
16906 SWIGINTERN PyObject *_wrap_vector_long_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16907  PyObject *resultobj = 0;
16908  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
16909  std::vector< long >::size_type arg2 ;
16910  std::vector< long >::value_type *arg3 = 0 ;
16911  void *argp1 = 0 ;
16912  int res1 = 0 ;
16913  size_t val2 ;
16914  int ecode2 = 0 ;
16915  std::vector< long >::value_type temp3 ;
16916  long val3 ;
16917  int ecode3 = 0 ;
16918  PyObject * obj0 = 0 ;
16919  PyObject * obj1 = 0 ;
16920  PyObject * obj2 = 0 ;
16921 
16922  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_long_resize",&obj0,&obj1,&obj2)) SWIG_fail;
16923  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
16924  if (!SWIG_IsOK(res1)) {
16925  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_resize" "', argument " "1"" of type '" "std::vector< long > *""'");
16926  }
16927  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
16928  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16929  if (!SWIG_IsOK(ecode2)) {
16930  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_long_resize" "', argument " "2"" of type '" "std::vector< long >::size_type""'");
16931  }
16932  arg2 = static_cast< std::vector< long >::size_type >(val2);
16933  ecode3 = SWIG_AsVal_long(obj2, &val3);
16934  if (!SWIG_IsOK(ecode3)) {
16935  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_long_resize" "', argument " "3"" of type '" "std::vector< long >::value_type""'");
16936  }
16937  temp3 = static_cast< std::vector< long >::value_type >(val3);
16938  arg3 = &temp3;
16939  (arg1)->resize(arg2,(std::vector< long >::value_type const &)*arg3);
16940  resultobj = SWIG_Py_Void();
16941  return resultobj;
16942 fail:
16943  return NULL;
16944 }
16945 
16946 
16947 SWIGINTERN PyObject *_wrap_vector_long_resize(PyObject *self, PyObject *args) {
16948  int argc;
16949  PyObject *argv[4];
16950  int ii;
16951 
16952  if (!PyTuple_Check(args)) SWIG_fail;
16953  argc = args ? (int)PyObject_Length(args) : 0;
16954  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
16955  argv[ii] = PyTuple_GET_ITEM(args,ii);
16956  }
16957  if (argc == 2) {
16958  int _v;
16959  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
16960  _v = SWIG_CheckState(res);
16961  if (_v) {
16962  {
16963  int res = SWIG_AsVal_size_t(argv[1], NULL);
16964  _v = SWIG_CheckState(res);
16965  }
16966  if (_v) {
16967  return _wrap_vector_long_resize__SWIG_0(self, args);
16968  }
16969  }
16970  }
16971  if (argc == 3) {
16972  int _v;
16973  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
16974  _v = SWIG_CheckState(res);
16975  if (_v) {
16976  {
16977  int res = SWIG_AsVal_size_t(argv[1], NULL);
16978  _v = SWIG_CheckState(res);
16979  }
16980  if (_v) {
16981  {
16982  int res = SWIG_AsVal_long(argv[2], NULL);
16983  _v = SWIG_CheckState(res);
16984  }
16985  if (_v) {
16986  return _wrap_vector_long_resize__SWIG_1(self, args);
16987  }
16988  }
16989  }
16990  }
16991 
16992 fail:
16993  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_long_resize'.\n"
16994  " Possible C/C++ prototypes are:\n"
16995  " std::vector< long >::resize(std::vector< long >::size_type)\n"
16996  " std::vector< long >::resize(std::vector< long >::size_type,std::vector< long >::value_type const &)\n");
16997  return 0;
16998 }
16999 
17000 
17001 SWIGINTERN PyObject *_wrap_vector_long_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17002  PyObject *resultobj = 0;
17003  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
17004  std::vector< long >::iterator arg2 ;
17005  std::vector< long >::value_type *arg3 = 0 ;
17006  void *argp1 = 0 ;
17007  int res1 = 0 ;
17008  swig::SwigPyIterator *iter2 = 0 ;
17009  int res2 ;
17010  std::vector< long >::value_type temp3 ;
17011  long val3 ;
17012  int ecode3 = 0 ;
17013  PyObject * obj0 = 0 ;
17014  PyObject * obj1 = 0 ;
17015  PyObject * obj2 = 0 ;
17016  std::vector< long >::iterator result;
17017 
17018  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_long_insert",&obj0,&obj1,&obj2)) SWIG_fail;
17019  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
17020  if (!SWIG_IsOK(res1)) {
17021  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_insert" "', argument " "1"" of type '" "std::vector< long > *""'");
17022  }
17023  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
17024  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
17025  if (!SWIG_IsOK(res2) || !iter2) {
17026  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_long_insert" "', argument " "2"" of type '" "std::vector< long >::iterator""'");
17027  } else {
17029  if (iter_t) {
17030  arg2 = iter_t->get_current();
17031  } else {
17032  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_long_insert" "', argument " "2"" of type '" "std::vector< long >::iterator""'");
17033  }
17034  }
17035  ecode3 = SWIG_AsVal_long(obj2, &val3);
17036  if (!SWIG_IsOK(ecode3)) {
17037  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_long_insert" "', argument " "3"" of type '" "std::vector< long >::value_type""'");
17038  }
17039  temp3 = static_cast< std::vector< long >::value_type >(val3);
17040  arg3 = &temp3;
17041  result = std_vector_Sl_long_Sg__insert__SWIG_0(arg1,arg2,(long const &)*arg3);
17042  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< long >::iterator & >(result)),
17043  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
17044  return resultobj;
17045 fail:
17046  return NULL;
17047 }
17048 
17049 
17050 SWIGINTERN PyObject *_wrap_vector_long_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17051  PyObject *resultobj = 0;
17052  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
17053  std::vector< long >::iterator arg2 ;
17054  std::vector< long >::size_type arg3 ;
17055  std::vector< long >::value_type *arg4 = 0 ;
17056  void *argp1 = 0 ;
17057  int res1 = 0 ;
17058  swig::SwigPyIterator *iter2 = 0 ;
17059  int res2 ;
17060  size_t val3 ;
17061  int ecode3 = 0 ;
17062  std::vector< long >::value_type temp4 ;
17063  long val4 ;
17064  int ecode4 = 0 ;
17065  PyObject * obj0 = 0 ;
17066  PyObject * obj1 = 0 ;
17067  PyObject * obj2 = 0 ;
17068  PyObject * obj3 = 0 ;
17069 
17070  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_long_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17071  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
17072  if (!SWIG_IsOK(res1)) {
17073  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_insert" "', argument " "1"" of type '" "std::vector< long > *""'");
17074  }
17075  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
17076  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
17077  if (!SWIG_IsOK(res2) || !iter2) {
17078  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_long_insert" "', argument " "2"" of type '" "std::vector< long >::iterator""'");
17079  } else {
17081  if (iter_t) {
17082  arg2 = iter_t->get_current();
17083  } else {
17084  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_long_insert" "', argument " "2"" of type '" "std::vector< long >::iterator""'");
17085  }
17086  }
17087  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
17088  if (!SWIG_IsOK(ecode3)) {
17089  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_long_insert" "', argument " "3"" of type '" "std::vector< long >::size_type""'");
17090  }
17091  arg3 = static_cast< std::vector< long >::size_type >(val3);
17092  ecode4 = SWIG_AsVal_long(obj3, &val4);
17093  if (!SWIG_IsOK(ecode4)) {
17094  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "vector_long_insert" "', argument " "4"" of type '" "std::vector< long >::value_type""'");
17095  }
17096  temp4 = static_cast< std::vector< long >::value_type >(val4);
17097  arg4 = &temp4;
17098  std_vector_Sl_long_Sg__insert__SWIG_1(arg1,arg2,arg3,(long const &)*arg4);
17099  resultobj = SWIG_Py_Void();
17100  return resultobj;
17101 fail:
17102  return NULL;
17103 }
17104 
17105 
17106 SWIGINTERN PyObject *_wrap_vector_long_insert(PyObject *self, PyObject *args) {
17107  int argc;
17108  PyObject *argv[5];
17109  int ii;
17110 
17111  if (!PyTuple_Check(args)) SWIG_fail;
17112  argc = args ? (int)PyObject_Length(args) : 0;
17113  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
17114  argv[ii] = PyTuple_GET_ITEM(args,ii);
17115  }
17116  if (argc == 3) {
17117  int _v;
17118  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
17119  _v = SWIG_CheckState(res);
17120  if (_v) {
17121  swig::SwigPyIterator *iter = 0;
17122  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
17123  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< long >::iterator > *>(iter) != 0));
17124  if (_v) {
17125  {
17126  int res = SWIG_AsVal_long(argv[2], NULL);
17127  _v = SWIG_CheckState(res);
17128  }
17129  if (_v) {
17130  return _wrap_vector_long_insert__SWIG_0(self, args);
17131  }
17132  }
17133  }
17134  }
17135  if (argc == 4) {
17136  int _v;
17137  int res = swig::asptr(argv[0], (std::vector<long,std::allocator< long > >**)(0));
17138  _v = SWIG_CheckState(res);
17139  if (_v) {
17140  swig::SwigPyIterator *iter = 0;
17141  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
17142  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< long >::iterator > *>(iter) != 0));
17143  if (_v) {
17144  {
17145  int res = SWIG_AsVal_size_t(argv[2], NULL);
17146  _v = SWIG_CheckState(res);
17147  }
17148  if (_v) {
17149  {
17150  int res = SWIG_AsVal_long(argv[3], NULL);
17151  _v = SWIG_CheckState(res);
17152  }
17153  if (_v) {
17154  return _wrap_vector_long_insert__SWIG_1(self, args);
17155  }
17156  }
17157  }
17158  }
17159  }
17160 
17161 fail:
17162  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_long_insert'.\n"
17163  " Possible C/C++ prototypes are:\n"
17164  " std::vector< long >::insert(std::vector< long >::iterator,std::vector< long >::value_type const &)\n"
17165  " std::vector< long >::insert(std::vector< long >::iterator,std::vector< long >::size_type,std::vector< long >::value_type const &)\n");
17166  return 0;
17167 }
17168 
17169 
17170 SWIGINTERN PyObject *_wrap_vector_long_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17171  PyObject *resultobj = 0;
17172  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
17173  std::vector< long >::size_type arg2 ;
17174  void *argp1 = 0 ;
17175  int res1 = 0 ;
17176  size_t val2 ;
17177  int ecode2 = 0 ;
17178  PyObject * obj0 = 0 ;
17179  PyObject * obj1 = 0 ;
17180 
17181  if (!PyArg_ParseTuple(args,(char *)"OO:vector_long_reserve",&obj0,&obj1)) SWIG_fail;
17182  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
17183  if (!SWIG_IsOK(res1)) {
17184  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_reserve" "', argument " "1"" of type '" "std::vector< long > *""'");
17185  }
17186  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
17187  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17188  if (!SWIG_IsOK(ecode2)) {
17189  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_long_reserve" "', argument " "2"" of type '" "std::vector< long >::size_type""'");
17190  }
17191  arg2 = static_cast< std::vector< long >::size_type >(val2);
17192  (arg1)->reserve(arg2);
17193  resultobj = SWIG_Py_Void();
17194  return resultobj;
17195 fail:
17196  return NULL;
17197 }
17198 
17199 
17200 SWIGINTERN PyObject *_wrap_vector_long_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17201  PyObject *resultobj = 0;
17202  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
17203  void *argp1 = 0 ;
17204  int res1 = 0 ;
17205  PyObject * obj0 = 0 ;
17206  std::vector< long >::size_type result;
17207 
17208  if (!PyArg_ParseTuple(args,(char *)"O:vector_long_capacity",&obj0)) SWIG_fail;
17209  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
17210  if (!SWIG_IsOK(res1)) {
17211  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_long_capacity" "', argument " "1"" of type '" "std::vector< long > const *""'");
17212  }
17213  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
17214  result = ((std::vector< long > const *)arg1)->capacity();
17215  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
17216  return resultobj;
17217 fail:
17218  return NULL;
17219 }
17220 
17221 
17222 SWIGINTERN PyObject *_wrap_delete_vector_long(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17223  PyObject *resultobj = 0;
17224  std::vector< long > *arg1 = (std::vector< long > *) 0 ;
17225  void *argp1 = 0 ;
17226  int res1 = 0 ;
17227  PyObject * obj0 = 0 ;
17228 
17229  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_long",&obj0)) SWIG_fail;
17230  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, SWIG_POINTER_DISOWN | 0 );
17231  if (!SWIG_IsOK(res1)) {
17232  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_long" "', argument " "1"" of type '" "std::vector< long > *""'");
17233  }
17234  arg1 = reinterpret_cast< std::vector< long > * >(argp1);
17235  {
17236  try {
17237  delete arg1;
17238  }
17239  catch(CStdErrorInfo oError)
17240  {
17241  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
17242  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
17243  PyErr_SetString(PyExc_IndexError, strError.c_str());
17244  SWIG_fail;
17245  }
17246  catch(...)
17247  {
17248  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
17249  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
17250  SWIG_fail;
17251  }
17252  }
17253  resultobj = SWIG_Py_Void();
17254  return resultobj;
17255 fail:
17256  return NULL;
17257 }
17258 
17259 
17260 SWIGINTERN PyObject *vector_long_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17261  PyObject *obj;
17262  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
17263  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, SWIG_NewClientData(obj));
17264  return SWIG_Py_Void();
17265 }
17266 
17267 SWIGINTERN PyObject *_wrap_vector_float_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17268  PyObject *resultobj = 0;
17269  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17270  PyObject **arg2 = (PyObject **) 0 ;
17271  void *argp1 = 0 ;
17272  int res1 = 0 ;
17273  PyObject * obj0 = 0 ;
17274  swig::SwigPyIterator *result = 0 ;
17275 
17276  arg2 = &obj0;
17277  if (!PyArg_ParseTuple(args,(char *)"O:vector_float_iterator",&obj0)) SWIG_fail;
17278  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
17279  if (!SWIG_IsOK(res1)) {
17280  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_iterator" "', argument " "1"" of type '" "std::vector< float > *""'");
17281  }
17282  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
17283  result = (swig::SwigPyIterator *)std_vector_Sl_float_Sg__iterator(arg1,arg2);
17284  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
17285  return resultobj;
17286 fail:
17287  return NULL;
17288 }
17289 
17290 
17291 SWIGINTERN PyObject *_wrap_vector_float___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17292  PyObject *resultobj = 0;
17293  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17294  void *argp1 = 0 ;
17295  int res1 = 0 ;
17296  PyObject * obj0 = 0 ;
17297  bool result;
17298 
17299  if (!PyArg_ParseTuple(args,(char *)"O:vector_float___nonzero__",&obj0)) SWIG_fail;
17300  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
17301  if (!SWIG_IsOK(res1)) {
17302  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float___nonzero__" "', argument " "1"" of type '" "std::vector< float > const *""'");
17303  }
17304  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
17305  result = (bool)std_vector_Sl_float_Sg____nonzero__((std::vector< float > const *)arg1);
17306  resultobj = SWIG_From_bool(static_cast< bool >(result));
17307  return resultobj;
17308 fail:
17309  return NULL;
17310 }
17311 
17312 
17313 SWIGINTERN PyObject *_wrap_vector_float___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17314  PyObject *resultobj = 0;
17315  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17316  void *argp1 = 0 ;
17317  int res1 = 0 ;
17318  PyObject * obj0 = 0 ;
17319  bool result;
17320 
17321  if (!PyArg_ParseTuple(args,(char *)"O:vector_float___bool__",&obj0)) SWIG_fail;
17322  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
17323  if (!SWIG_IsOK(res1)) {
17324  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float___bool__" "', argument " "1"" of type '" "std::vector< float > const *""'");
17325  }
17326  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
17327  result = (bool)std_vector_Sl_float_Sg____bool__((std::vector< float > const *)arg1);
17328  resultobj = SWIG_From_bool(static_cast< bool >(result));
17329  return resultobj;
17330 fail:
17331  return NULL;
17332 }
17333 
17334 
17335 SWIGINTERN PyObject *_wrap_vector_float___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17336  PyObject *resultobj = 0;
17337  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17338  void *argp1 = 0 ;
17339  int res1 = 0 ;
17340  PyObject * obj0 = 0 ;
17341  std::vector< float >::size_type result;
17342 
17343  if (!PyArg_ParseTuple(args,(char *)"O:vector_float___len__",&obj0)) SWIG_fail;
17344  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
17345  if (!SWIG_IsOK(res1)) {
17346  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float___len__" "', argument " "1"" of type '" "std::vector< float > const *""'");
17347  }
17348  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
17349  result = std_vector_Sl_float_Sg____len__((std::vector< float > const *)arg1);
17350  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
17351  return resultobj;
17352 fail:
17353  return NULL;
17354 }
17355 
17356 
17357 SWIGINTERN PyObject *_wrap_vector_float_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17358  PyObject *resultobj = 0;
17359  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17360  void *argp1 = 0 ;
17361  int res1 = 0 ;
17362  PyObject * obj0 = 0 ;
17363  std::vector< float >::value_type result;
17364 
17365  if (!PyArg_ParseTuple(args,(char *)"O:vector_float_pop",&obj0)) SWIG_fail;
17366  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
17367  if (!SWIG_IsOK(res1)) {
17368  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_pop" "', argument " "1"" of type '" "std::vector< float > *""'");
17369  }
17370  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
17371  try {
17372  result = (std::vector< float >::value_type)std_vector_Sl_float_Sg__pop(arg1);
17373  }
17374  catch(std::out_of_range &_e) {
17375  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
17376  }
17377 
17378  resultobj = SWIG_From_float(static_cast< float >(result));
17379  return resultobj;
17380 fail:
17381  return NULL;
17382 }
17383 
17384 
17385 SWIGINTERN PyObject *_wrap_vector_float___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17386  PyObject *resultobj = 0;
17387  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17388  std::vector< float >::difference_type arg2 ;
17389  std::vector< float >::difference_type arg3 ;
17390  void *argp1 = 0 ;
17391  int res1 = 0 ;
17392  ptrdiff_t val2 ;
17393  int ecode2 = 0 ;
17394  ptrdiff_t val3 ;
17395  int ecode3 = 0 ;
17396  PyObject * obj0 = 0 ;
17397  PyObject * obj1 = 0 ;
17398  PyObject * obj2 = 0 ;
17399  std::vector< float,std::allocator< float > > *result = 0 ;
17400 
17401  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_float___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
17402  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
17403  if (!SWIG_IsOK(res1)) {
17404  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float___getslice__" "', argument " "1"" of type '" "std::vector< float > *""'");
17405  }
17406  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
17407  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
17408  if (!SWIG_IsOK(ecode2)) {
17409  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_float___getslice__" "', argument " "2"" of type '" "std::vector< float >::difference_type""'");
17410  }
17411  arg2 = static_cast< std::vector< float >::difference_type >(val2);
17412  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
17413  if (!SWIG_IsOK(ecode3)) {
17414  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_float___getslice__" "', argument " "3"" of type '" "std::vector< float >::difference_type""'");
17415  }
17416  arg3 = static_cast< std::vector< float >::difference_type >(val3);
17417  try {
17418  result = (std::vector< float,std::allocator< float > > *)std_vector_Sl_float_Sg____getslice__(arg1,arg2,arg3);
17419  }
17420  catch(std::out_of_range &_e) {
17421  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
17422  }
17423  catch(std::invalid_argument &_e) {
17424  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
17425  }
17426 
17427  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, SWIG_POINTER_OWN | 0 );
17428  return resultobj;
17429 fail:
17430  return NULL;
17431 }
17432 
17433 
17434 SWIGINTERN PyObject *_wrap_vector_float___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17435  PyObject *resultobj = 0;
17436  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17437  std::vector< float >::difference_type arg2 ;
17438  std::vector< float >::difference_type arg3 ;
17439  std::vector< float,std::allocator< float > > *arg4 = 0 ;
17440  void *argp1 = 0 ;
17441  int res1 = 0 ;
17442  ptrdiff_t val2 ;
17443  int ecode2 = 0 ;
17444  ptrdiff_t val3 ;
17445  int ecode3 = 0 ;
17446  int res4 = SWIG_OLDOBJ ;
17447  PyObject * obj0 = 0 ;
17448  PyObject * obj1 = 0 ;
17449  PyObject * obj2 = 0 ;
17450  PyObject * obj3 = 0 ;
17451 
17452  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_float___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17453  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
17454  if (!SWIG_IsOK(res1)) {
17455  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float___setslice__" "', argument " "1"" of type '" "std::vector< float > *""'");
17456  }
17457  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
17458  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
17459  if (!SWIG_IsOK(ecode2)) {
17460  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_float___setslice__" "', argument " "2"" of type '" "std::vector< float >::difference_type""'");
17461  }
17462  arg2 = static_cast< std::vector< float >::difference_type >(val2);
17463  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
17464  if (!SWIG_IsOK(ecode3)) {
17465  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_float___setslice__" "', argument " "3"" of type '" "std::vector< float >::difference_type""'");
17466  }
17467  arg3 = static_cast< std::vector< float >::difference_type >(val3);
17468  {
17469  std::vector<float,std::allocator< float > > *ptr = (std::vector<float,std::allocator< float > > *)0;
17470  res4 = swig::asptr(obj3, &ptr);
17471  if (!SWIG_IsOK(res4)) {
17472  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_float___setslice__" "', argument " "4"" of type '" "std::vector< float,std::allocator< float > > const &""'");
17473  }
17474  if (!ptr) {
17475  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_float___setslice__" "', argument " "4"" of type '" "std::vector< float,std::allocator< float > > const &""'");
17476  }
17477  arg4 = ptr;
17478  }
17479  try {
17480  std_vector_Sl_float_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< float,std::allocator< float > > const &)*arg4);
17481  }
17482  catch(std::out_of_range &_e) {
17483  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
17484  }
17485  catch(std::invalid_argument &_e) {
17486  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
17487  }
17488 
17489  resultobj = SWIG_Py_Void();
17490  if (SWIG_IsNewObj(res4)) delete arg4;
17491  return resultobj;
17492 fail:
17493  if (SWIG_IsNewObj(res4)) delete arg4;
17494  return NULL;
17495 }
17496 
17497 
17498 SWIGINTERN PyObject *_wrap_vector_float___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17499  PyObject *resultobj = 0;
17500  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17501  std::vector< float >::difference_type arg2 ;
17502  std::vector< float >::difference_type arg3 ;
17503  void *argp1 = 0 ;
17504  int res1 = 0 ;
17505  ptrdiff_t val2 ;
17506  int ecode2 = 0 ;
17507  ptrdiff_t val3 ;
17508  int ecode3 = 0 ;
17509  PyObject * obj0 = 0 ;
17510  PyObject * obj1 = 0 ;
17511  PyObject * obj2 = 0 ;
17512 
17513  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_float___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
17514  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
17515  if (!SWIG_IsOK(res1)) {
17516  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float___setslice__" "', argument " "1"" of type '" "std::vector< float > *""'");
17517  }
17518  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
17519  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
17520  if (!SWIG_IsOK(ecode2)) {
17521  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_float___setslice__" "', argument " "2"" of type '" "std::vector< float >::difference_type""'");
17522  }
17523  arg2 = static_cast< std::vector< float >::difference_type >(val2);
17524  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
17525  if (!SWIG_IsOK(ecode3)) {
17526  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_float___setslice__" "', argument " "3"" of type '" "std::vector< float >::difference_type""'");
17527  }
17528  arg3 = static_cast< std::vector< float >::difference_type >(val3);
17529  try {
17530  std_vector_Sl_float_Sg____setslice____SWIG_0(arg1,arg2,arg3);
17531  }
17532  catch(std::out_of_range &_e) {
17533  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
17534  }
17535  catch(std::invalid_argument &_e) {
17536  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
17537  }
17538 
17539  resultobj = SWIG_Py_Void();
17540  return resultobj;
17541 fail:
17542  return NULL;
17543 }
17544 
17545 
17546 SWIGINTERN PyObject *_wrap_vector_float___setslice__(PyObject *self, PyObject *args) {
17547  int argc;
17548  PyObject *argv[5];
17549  int ii;
17550 
17551  if (!PyTuple_Check(args)) SWIG_fail;
17552  argc = args ? (int)PyObject_Length(args) : 0;
17553  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
17554  argv[ii] = PyTuple_GET_ITEM(args,ii);
17555  }
17556  if (argc == 3) {
17557  int _v;
17558  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
17559  _v = SWIG_CheckState(res);
17560  if (_v) {
17561  {
17562  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
17563  _v = SWIG_CheckState(res);
17564  }
17565  if (_v) {
17566  {
17567  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
17568  _v = SWIG_CheckState(res);
17569  }
17570  if (_v) {
17571  return _wrap_vector_float___setslice____SWIG_1(self, args);
17572  }
17573  }
17574  }
17575  }
17576  if (argc == 4) {
17577  int _v;
17578  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
17579  _v = SWIG_CheckState(res);
17580  if (_v) {
17581  {
17582  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
17583  _v = SWIG_CheckState(res);
17584  }
17585  if (_v) {
17586  {
17587  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
17588  _v = SWIG_CheckState(res);
17589  }
17590  if (_v) {
17591  int res = swig::asptr(argv[3], (std::vector<float,std::allocator< float > >**)(0));
17592  _v = SWIG_CheckState(res);
17593  if (_v) {
17594  return _wrap_vector_float___setslice____SWIG_0(self, args);
17595  }
17596  }
17597  }
17598  }
17599  }
17600 
17601 fail:
17602  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_float___setslice__'.\n"
17603  " Possible C/C++ prototypes are:\n"
17604  " std::vector< float >::__setslice__(std::vector< float >::difference_type,std::vector< float >::difference_type,std::vector< float,std::allocator< float > > const &)\n"
17605  " std::vector< float >::__setslice__(std::vector< float >::difference_type,std::vector< float >::difference_type)\n");
17606  return 0;
17607 }
17608 
17609 
17610 SWIGINTERN PyObject *_wrap_vector_float___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17611  PyObject *resultobj = 0;
17612  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17613  std::vector< float >::difference_type arg2 ;
17614  std::vector< float >::difference_type arg3 ;
17615  void *argp1 = 0 ;
17616  int res1 = 0 ;
17617  ptrdiff_t val2 ;
17618  int ecode2 = 0 ;
17619  ptrdiff_t val3 ;
17620  int ecode3 = 0 ;
17621  PyObject * obj0 = 0 ;
17622  PyObject * obj1 = 0 ;
17623  PyObject * obj2 = 0 ;
17624 
17625  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_float___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
17626  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
17627  if (!SWIG_IsOK(res1)) {
17628  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float___delslice__" "', argument " "1"" of type '" "std::vector< float > *""'");
17629  }
17630  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
17631  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
17632  if (!SWIG_IsOK(ecode2)) {
17633  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_float___delslice__" "', argument " "2"" of type '" "std::vector< float >::difference_type""'");
17634  }
17635  arg2 = static_cast< std::vector< float >::difference_type >(val2);
17636  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
17637  if (!SWIG_IsOK(ecode3)) {
17638  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_float___delslice__" "', argument " "3"" of type '" "std::vector< float >::difference_type""'");
17639  }
17640  arg3 = static_cast< std::vector< float >::difference_type >(val3);
17641  try {
17642  std_vector_Sl_float_Sg____delslice__(arg1,arg2,arg3);
17643  }
17644  catch(std::out_of_range &_e) {
17645  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
17646  }
17647  catch(std::invalid_argument &_e) {
17648  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
17649  }
17650 
17651  resultobj = SWIG_Py_Void();
17652  return resultobj;
17653 fail:
17654  return NULL;
17655 }
17656 
17657 
17658 SWIGINTERN PyObject *_wrap_vector_float___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17659  PyObject *resultobj = 0;
17660  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17661  std::vector< float >::difference_type arg2 ;
17662  void *argp1 = 0 ;
17663  int res1 = 0 ;
17664  ptrdiff_t val2 ;
17665  int ecode2 = 0 ;
17666  PyObject * obj0 = 0 ;
17667  PyObject * obj1 = 0 ;
17668 
17669  if (!PyArg_ParseTuple(args,(char *)"OO:vector_float___delitem__",&obj0,&obj1)) SWIG_fail;
17670  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
17671  if (!SWIG_IsOK(res1)) {
17672  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float___delitem__" "', argument " "1"" of type '" "std::vector< float > *""'");
17673  }
17674  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
17675  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
17676  if (!SWIG_IsOK(ecode2)) {
17677  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_float___delitem__" "', argument " "2"" of type '" "std::vector< float >::difference_type""'");
17678  }
17679  arg2 = static_cast< std::vector< float >::difference_type >(val2);
17680  try {
17681  std_vector_Sl_float_Sg____delitem____SWIG_0(arg1,arg2);
17682  }
17683  catch(std::out_of_range &_e) {
17684  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
17685  }
17686 
17687  resultobj = SWIG_Py_Void();
17688  return resultobj;
17689 fail:
17690  return NULL;
17691 }
17692 
17693 
17694 SWIGINTERN PyObject *_wrap_vector_float___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17695  PyObject *resultobj = 0;
17696  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17697  PySliceObject *arg2 = (PySliceObject *) 0 ;
17698  void *argp1 = 0 ;
17699  int res1 = 0 ;
17700  PyObject * obj0 = 0 ;
17701  PyObject * obj1 = 0 ;
17702  std::vector< float,std::allocator< float > > *result = 0 ;
17703 
17704  if (!PyArg_ParseTuple(args,(char *)"OO:vector_float___getitem__",&obj0,&obj1)) SWIG_fail;
17705  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
17706  if (!SWIG_IsOK(res1)) {
17707  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float___getitem__" "', argument " "1"" of type '" "std::vector< float > *""'");
17708  }
17709  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
17710  {
17711  if (!PySlice_Check(obj1)) {
17712  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_float___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
17713  }
17714  arg2 = (PySliceObject *) obj1;
17715  }
17716  try {
17717  result = (std::vector< float,std::allocator< float > > *)std_vector_Sl_float_Sg____getitem____SWIG_0(arg1,arg2);
17718  }
17719  catch(std::out_of_range &_e) {
17720  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
17721  }
17722  catch(std::invalid_argument &_e) {
17723  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
17724  }
17725 
17726  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, SWIG_POINTER_OWN | 0 );
17727  return resultobj;
17728 fail:
17729  return NULL;
17730 }
17731 
17732 
17733 SWIGINTERN PyObject *_wrap_vector_float___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17734  PyObject *resultobj = 0;
17735  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17736  PySliceObject *arg2 = (PySliceObject *) 0 ;
17737  std::vector< float,std::allocator< float > > *arg3 = 0 ;
17738  void *argp1 = 0 ;
17739  int res1 = 0 ;
17740  int res3 = SWIG_OLDOBJ ;
17741  PyObject * obj0 = 0 ;
17742  PyObject * obj1 = 0 ;
17743  PyObject * obj2 = 0 ;
17744 
17745  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_float___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
17746  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
17747  if (!SWIG_IsOK(res1)) {
17748  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float___setitem__" "', argument " "1"" of type '" "std::vector< float > *""'");
17749  }
17750  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
17751  {
17752  if (!PySlice_Check(obj1)) {
17753  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_float___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
17754  }
17755  arg2 = (PySliceObject *) obj1;
17756  }
17757  {
17758  std::vector<float,std::allocator< float > > *ptr = (std::vector<float,std::allocator< float > > *)0;
17759  res3 = swig::asptr(obj2, &ptr);
17760  if (!SWIG_IsOK(res3)) {
17761  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_float___setitem__" "', argument " "3"" of type '" "std::vector< float,std::allocator< float > > const &""'");
17762  }
17763  if (!ptr) {
17764  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_float___setitem__" "', argument " "3"" of type '" "std::vector< float,std::allocator< float > > const &""'");
17765  }
17766  arg3 = ptr;
17767  }
17768  try {
17769  std_vector_Sl_float_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< float,std::allocator< float > > const &)*arg3);
17770  }
17771  catch(std::out_of_range &_e) {
17772  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
17773  }
17774  catch(std::invalid_argument &_e) {
17775  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
17776  }
17777 
17778  resultobj = SWIG_Py_Void();
17779  if (SWIG_IsNewObj(res3)) delete arg3;
17780  return resultobj;
17781 fail:
17782  if (SWIG_IsNewObj(res3)) delete arg3;
17783  return NULL;
17784 }
17785 
17786 
17787 SWIGINTERN PyObject *_wrap_vector_float___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17788  PyObject *resultobj = 0;
17789  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17790  PySliceObject *arg2 = (PySliceObject *) 0 ;
17791  void *argp1 = 0 ;
17792  int res1 = 0 ;
17793  PyObject * obj0 = 0 ;
17794  PyObject * obj1 = 0 ;
17795 
17796  if (!PyArg_ParseTuple(args,(char *)"OO:vector_float___setitem__",&obj0,&obj1)) SWIG_fail;
17797  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
17798  if (!SWIG_IsOK(res1)) {
17799  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float___setitem__" "', argument " "1"" of type '" "std::vector< float > *""'");
17800  }
17801  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
17802  {
17803  if (!PySlice_Check(obj1)) {
17804  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_float___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
17805  }
17806  arg2 = (PySliceObject *) obj1;
17807  }
17808  try {
17809  std_vector_Sl_float_Sg____setitem____SWIG_1(arg1,arg2);
17810  }
17811  catch(std::out_of_range &_e) {
17812  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
17813  }
17814  catch(std::invalid_argument &_e) {
17815  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
17816  }
17817 
17818  resultobj = SWIG_Py_Void();
17819  return resultobj;
17820 fail:
17821  return NULL;
17822 }
17823 
17824 
17825 SWIGINTERN PyObject *_wrap_vector_float___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17826  PyObject *resultobj = 0;
17827  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17828  PySliceObject *arg2 = (PySliceObject *) 0 ;
17829  void *argp1 = 0 ;
17830  int res1 = 0 ;
17831  PyObject * obj0 = 0 ;
17832  PyObject * obj1 = 0 ;
17833 
17834  if (!PyArg_ParseTuple(args,(char *)"OO:vector_float___delitem__",&obj0,&obj1)) SWIG_fail;
17835  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
17836  if (!SWIG_IsOK(res1)) {
17837  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float___delitem__" "', argument " "1"" of type '" "std::vector< float > *""'");
17838  }
17839  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
17840  {
17841  if (!PySlice_Check(obj1)) {
17842  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_float___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
17843  }
17844  arg2 = (PySliceObject *) obj1;
17845  }
17846  try {
17847  std_vector_Sl_float_Sg____delitem____SWIG_1(arg1,arg2);
17848  }
17849  catch(std::out_of_range &_e) {
17850  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
17851  }
17852  catch(std::invalid_argument &_e) {
17853  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
17854  }
17855 
17856  resultobj = SWIG_Py_Void();
17857  return resultobj;
17858 fail:
17859  return NULL;
17860 }
17861 
17862 
17863 SWIGINTERN PyObject *_wrap_vector_float___delitem__(PyObject *self, PyObject *args) {
17864  int argc;
17865  PyObject *argv[3];
17866  int ii;
17867 
17868  if (!PyTuple_Check(args)) SWIG_fail;
17869  argc = args ? (int)PyObject_Length(args) : 0;
17870  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
17871  argv[ii] = PyTuple_GET_ITEM(args,ii);
17872  }
17873  if (argc == 2) {
17874  int _v;
17875  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
17876  _v = SWIG_CheckState(res);
17877  if (_v) {
17878  {
17879  _v = PySlice_Check(argv[1]);
17880  }
17881  if (_v) {
17882  return _wrap_vector_float___delitem____SWIG_1(self, args);
17883  }
17884  }
17885  }
17886  if (argc == 2) {
17887  int _v;
17888  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
17889  _v = SWIG_CheckState(res);
17890  if (_v) {
17891  {
17892  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
17893  _v = SWIG_CheckState(res);
17894  }
17895  if (_v) {
17896  return _wrap_vector_float___delitem____SWIG_0(self, args);
17897  }
17898  }
17899  }
17900 
17901 fail:
17902  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_float___delitem__'.\n"
17903  " Possible C/C++ prototypes are:\n"
17904  " std::vector< float >::__delitem__(std::vector< float >::difference_type)\n"
17905  " std::vector< float >::__delitem__(PySliceObject *)\n");
17906  return 0;
17907 }
17908 
17909 
17910 SWIGINTERN PyObject *_wrap_vector_float___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17911  PyObject *resultobj = 0;
17912  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17913  std::vector< float >::difference_type arg2 ;
17914  void *argp1 = 0 ;
17915  int res1 = 0 ;
17916  ptrdiff_t val2 ;
17917  int ecode2 = 0 ;
17918  PyObject * obj0 = 0 ;
17919  PyObject * obj1 = 0 ;
17920  std::vector< float >::value_type *result = 0 ;
17921 
17922  if (!PyArg_ParseTuple(args,(char *)"OO:vector_float___getitem__",&obj0,&obj1)) SWIG_fail;
17923  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
17924  if (!SWIG_IsOK(res1)) {
17925  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float___getitem__" "', argument " "1"" of type '" "std::vector< float > const *""'");
17926  }
17927  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
17928  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
17929  if (!SWIG_IsOK(ecode2)) {
17930  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_float___getitem__" "', argument " "2"" of type '" "std::vector< float >::difference_type""'");
17931  }
17932  arg2 = static_cast< std::vector< float >::difference_type >(val2);
17933  try {
17934  result = (std::vector< float >::value_type *) &std_vector_Sl_float_Sg____getitem____SWIG_1((std::vector< float > const *)arg1,arg2);
17935  }
17936  catch(std::out_of_range &_e) {
17937  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
17938  }
17939 
17940  resultobj = SWIG_From_float(static_cast< float >(*result));
17941  return resultobj;
17942 fail:
17943  return NULL;
17944 }
17945 
17946 
17947 SWIGINTERN PyObject *_wrap_vector_float___getitem__(PyObject *self, PyObject *args) {
17948  int argc;
17949  PyObject *argv[3];
17950  int ii;
17951 
17952  if (!PyTuple_Check(args)) SWIG_fail;
17953  argc = args ? (int)PyObject_Length(args) : 0;
17954  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
17955  argv[ii] = PyTuple_GET_ITEM(args,ii);
17956  }
17957  if (argc == 2) {
17958  int _v;
17959  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
17960  _v = SWIG_CheckState(res);
17961  if (_v) {
17962  {
17963  _v = PySlice_Check(argv[1]);
17964  }
17965  if (_v) {
17966  return _wrap_vector_float___getitem____SWIG_0(self, args);
17967  }
17968  }
17969  }
17970  if (argc == 2) {
17971  int _v;
17972  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
17973  _v = SWIG_CheckState(res);
17974  if (_v) {
17975  {
17976  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
17977  _v = SWIG_CheckState(res);
17978  }
17979  if (_v) {
17980  return _wrap_vector_float___getitem____SWIG_1(self, args);
17981  }
17982  }
17983  }
17984 
17985 fail:
17986  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_float___getitem__'.\n"
17987  " Possible C/C++ prototypes are:\n"
17988  " std::vector< float >::__getitem__(PySliceObject *)\n"
17989  " std::vector< float >::__getitem__(std::vector< float >::difference_type) const\n");
17990  return 0;
17991 }
17992 
17993 
17994 SWIGINTERN PyObject *_wrap_vector_float___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17995  PyObject *resultobj = 0;
17996  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
17997  std::vector< float >::difference_type arg2 ;
17998  std::vector< float >::value_type *arg3 = 0 ;
17999  void *argp1 = 0 ;
18000  int res1 = 0 ;
18001  ptrdiff_t val2 ;
18002  int ecode2 = 0 ;
18003  std::vector< float >::value_type temp3 ;
18004  float val3 ;
18005  int ecode3 = 0 ;
18006  PyObject * obj0 = 0 ;
18007  PyObject * obj1 = 0 ;
18008  PyObject * obj2 = 0 ;
18009 
18010  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_float___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
18011  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18012  if (!SWIG_IsOK(res1)) {
18013  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float___setitem__" "', argument " "1"" of type '" "std::vector< float > *""'");
18014  }
18015  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18016  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
18017  if (!SWIG_IsOK(ecode2)) {
18018  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_float___setitem__" "', argument " "2"" of type '" "std::vector< float >::difference_type""'");
18019  }
18020  arg2 = static_cast< std::vector< float >::difference_type >(val2);
18021  ecode3 = SWIG_AsVal_float(obj2, &val3);
18022  if (!SWIG_IsOK(ecode3)) {
18023  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_float___setitem__" "', argument " "3"" of type '" "std::vector< float >::value_type""'");
18024  }
18025  temp3 = static_cast< std::vector< float >::value_type >(val3);
18026  arg3 = &temp3;
18027  try {
18028  std_vector_Sl_float_Sg____setitem____SWIG_2(arg1,arg2,(float const &)*arg3);
18029  }
18030  catch(std::out_of_range &_e) {
18031  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
18032  }
18033 
18034  resultobj = SWIG_Py_Void();
18035  return resultobj;
18036 fail:
18037  return NULL;
18038 }
18039 
18040 
18041 SWIGINTERN PyObject *_wrap_vector_float___setitem__(PyObject *self, PyObject *args) {
18042  int argc;
18043  PyObject *argv[4];
18044  int ii;
18045 
18046  if (!PyTuple_Check(args)) SWIG_fail;
18047  argc = args ? (int)PyObject_Length(args) : 0;
18048  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
18049  argv[ii] = PyTuple_GET_ITEM(args,ii);
18050  }
18051  if (argc == 2) {
18052  int _v;
18053  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
18054  _v = SWIG_CheckState(res);
18055  if (_v) {
18056  {
18057  _v = PySlice_Check(argv[1]);
18058  }
18059  if (_v) {
18060  return _wrap_vector_float___setitem____SWIG_1(self, args);
18061  }
18062  }
18063  }
18064  if (argc == 3) {
18065  int _v;
18066  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
18067  _v = SWIG_CheckState(res);
18068  if (_v) {
18069  {
18070  _v = PySlice_Check(argv[1]);
18071  }
18072  if (_v) {
18073  int res = swig::asptr(argv[2], (std::vector<float,std::allocator< float > >**)(0));
18074  _v = SWIG_CheckState(res);
18075  if (_v) {
18076  return _wrap_vector_float___setitem____SWIG_0(self, args);
18077  }
18078  }
18079  }
18080  }
18081  if (argc == 3) {
18082  int _v;
18083  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
18084  _v = SWIG_CheckState(res);
18085  if (_v) {
18086  {
18087  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
18088  _v = SWIG_CheckState(res);
18089  }
18090  if (_v) {
18091  {
18092  int res = SWIG_AsVal_float(argv[2], NULL);
18093  _v = SWIG_CheckState(res);
18094  }
18095  if (_v) {
18096  return _wrap_vector_float___setitem____SWIG_2(self, args);
18097  }
18098  }
18099  }
18100  }
18101 
18102 fail:
18103  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_float___setitem__'.\n"
18104  " Possible C/C++ prototypes are:\n"
18105  " std::vector< float >::__setitem__(PySliceObject *,std::vector< float,std::allocator< float > > const &)\n"
18106  " std::vector< float >::__setitem__(PySliceObject *)\n"
18107  " std::vector< float >::__setitem__(std::vector< float >::difference_type,std::vector< float >::value_type const &)\n");
18108  return 0;
18109 }
18110 
18111 
18112 SWIGINTERN PyObject *_wrap_vector_float_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18113  PyObject *resultobj = 0;
18114  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18115  std::vector< float >::value_type *arg2 = 0 ;
18116  void *argp1 = 0 ;
18117  int res1 = 0 ;
18118  std::vector< float >::value_type temp2 ;
18119  float val2 ;
18120  int ecode2 = 0 ;
18121  PyObject * obj0 = 0 ;
18122  PyObject * obj1 = 0 ;
18123 
18124  if (!PyArg_ParseTuple(args,(char *)"OO:vector_float_append",&obj0,&obj1)) SWIG_fail;
18125  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18126  if (!SWIG_IsOK(res1)) {
18127  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_append" "', argument " "1"" of type '" "std::vector< float > *""'");
18128  }
18129  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18130  ecode2 = SWIG_AsVal_float(obj1, &val2);
18131  if (!SWIG_IsOK(ecode2)) {
18132  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_float_append" "', argument " "2"" of type '" "std::vector< float >::value_type""'");
18133  }
18134  temp2 = static_cast< std::vector< float >::value_type >(val2);
18135  arg2 = &temp2;
18136  std_vector_Sl_float_Sg__append(arg1,(float const &)*arg2);
18137  resultobj = SWIG_Py_Void();
18138  return resultobj;
18139 fail:
18140  return NULL;
18141 }
18142 
18143 
18144 SWIGINTERN PyObject *_wrap_new_vector_float__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18145  PyObject *resultobj = 0;
18146  std::vector< float > *result = 0 ;
18147 
18148  if (!PyArg_ParseTuple(args,(char *)":new_vector_float")) SWIG_fail;
18149  result = (std::vector< float > *)new std::vector< float >();
18150  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, SWIG_POINTER_NEW | 0 );
18151  return resultobj;
18152 fail:
18153  return NULL;
18154 }
18155 
18156 
18157 SWIGINTERN PyObject *_wrap_new_vector_float__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18158  PyObject *resultobj = 0;
18159  std::vector< float > *arg1 = 0 ;
18160  int res1 = SWIG_OLDOBJ ;
18161  PyObject * obj0 = 0 ;
18162  std::vector< float > *result = 0 ;
18163 
18164  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_float",&obj0)) SWIG_fail;
18165  {
18166  std::vector<float,std::allocator< float > > *ptr = (std::vector<float,std::allocator< float > > *)0;
18167  res1 = swig::asptr(obj0, &ptr);
18168  if (!SWIG_IsOK(res1)) {
18169  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_float" "', argument " "1"" of type '" "std::vector< float > const &""'");
18170  }
18171  if (!ptr) {
18172  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_float" "', argument " "1"" of type '" "std::vector< float > const &""'");
18173  }
18174  arg1 = ptr;
18175  }
18176  result = (std::vector< float > *)new std::vector< float >((std::vector< float > const &)*arg1);
18177  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, SWIG_POINTER_NEW | 0 );
18178  if (SWIG_IsNewObj(res1)) delete arg1;
18179  return resultobj;
18180 fail:
18181  if (SWIG_IsNewObj(res1)) delete arg1;
18182  return NULL;
18183 }
18184 
18185 
18186 SWIGINTERN PyObject *_wrap_vector_float_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18187  PyObject *resultobj = 0;
18188  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18189  void *argp1 = 0 ;
18190  int res1 = 0 ;
18191  PyObject * obj0 = 0 ;
18192  bool result;
18193 
18194  if (!PyArg_ParseTuple(args,(char *)"O:vector_float_empty",&obj0)) SWIG_fail;
18195  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18196  if (!SWIG_IsOK(res1)) {
18197  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_empty" "', argument " "1"" of type '" "std::vector< float > const *""'");
18198  }
18199  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18200  result = (bool)((std::vector< float > const *)arg1)->empty();
18201  resultobj = SWIG_From_bool(static_cast< bool >(result));
18202  return resultobj;
18203 fail:
18204  return NULL;
18205 }
18206 
18207 
18208 SWIGINTERN PyObject *_wrap_vector_float_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18209  PyObject *resultobj = 0;
18210  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18211  void *argp1 = 0 ;
18212  int res1 = 0 ;
18213  PyObject * obj0 = 0 ;
18214  std::vector< float >::size_type result;
18215 
18216  if (!PyArg_ParseTuple(args,(char *)"O:vector_float_size",&obj0)) SWIG_fail;
18217  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18218  if (!SWIG_IsOK(res1)) {
18219  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_size" "', argument " "1"" of type '" "std::vector< float > const *""'");
18220  }
18221  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18222  result = ((std::vector< float > const *)arg1)->size();
18223  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
18224  return resultobj;
18225 fail:
18226  return NULL;
18227 }
18228 
18229 
18230 SWIGINTERN PyObject *_wrap_vector_float_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18231  PyObject *resultobj = 0;
18232  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18233  void *argp1 = 0 ;
18234  int res1 = 0 ;
18235  PyObject * obj0 = 0 ;
18236 
18237  if (!PyArg_ParseTuple(args,(char *)"O:vector_float_clear",&obj0)) SWIG_fail;
18238  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18239  if (!SWIG_IsOK(res1)) {
18240  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_clear" "', argument " "1"" of type '" "std::vector< float > *""'");
18241  }
18242  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18243  (arg1)->clear();
18244  resultobj = SWIG_Py_Void();
18245  return resultobj;
18246 fail:
18247  return NULL;
18248 }
18249 
18250 
18251 SWIGINTERN PyObject *_wrap_vector_float_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18252  PyObject *resultobj = 0;
18253  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18254  std::vector< float > *arg2 = 0 ;
18255  void *argp1 = 0 ;
18256  int res1 = 0 ;
18257  void *argp2 = 0 ;
18258  int res2 = 0 ;
18259  PyObject * obj0 = 0 ;
18260  PyObject * obj1 = 0 ;
18261 
18262  if (!PyArg_ParseTuple(args,(char *)"OO:vector_float_swap",&obj0,&obj1)) SWIG_fail;
18263  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18264  if (!SWIG_IsOK(res1)) {
18265  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_swap" "', argument " "1"" of type '" "std::vector< float > *""'");
18266  }
18267  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18268  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 );
18269  if (!SWIG_IsOK(res2)) {
18270  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_float_swap" "', argument " "2"" of type '" "std::vector< float > &""'");
18271  }
18272  if (!argp2) {
18273  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_float_swap" "', argument " "2"" of type '" "std::vector< float > &""'");
18274  }
18275  arg2 = reinterpret_cast< std::vector< float > * >(argp2);
18276  (arg1)->swap(*arg2);
18277  resultobj = SWIG_Py_Void();
18278  return resultobj;
18279 fail:
18280  return NULL;
18281 }
18282 
18283 
18284 SWIGINTERN PyObject *_wrap_vector_float_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18285  PyObject *resultobj = 0;
18286  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18287  void *argp1 = 0 ;
18288  int res1 = 0 ;
18289  PyObject * obj0 = 0 ;
18290  SwigValueWrapper< std::allocator< float > > result;
18291 
18292  if (!PyArg_ParseTuple(args,(char *)"O:vector_float_get_allocator",&obj0)) SWIG_fail;
18293  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18294  if (!SWIG_IsOK(res1)) {
18295  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_get_allocator" "', argument " "1"" of type '" "std::vector< float > const *""'");
18296  }
18297  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18298  result = ((std::vector< float > const *)arg1)->get_allocator();
18299  resultobj = SWIG_NewPointerObj((new std::vector< float >::allocator_type(static_cast< const std::vector< float >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_float_t, SWIG_POINTER_OWN | 0 );
18300  return resultobj;
18301 fail:
18302  return NULL;
18303 }
18304 
18305 
18306 SWIGINTERN PyObject *_wrap_vector_float_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18307  PyObject *resultobj = 0;
18308  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18309  void *argp1 = 0 ;
18310  int res1 = 0 ;
18311  PyObject * obj0 = 0 ;
18312  std::vector< float >::iterator result;
18313 
18314  if (!PyArg_ParseTuple(args,(char *)"O:vector_float_begin",&obj0)) SWIG_fail;
18315  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18316  if (!SWIG_IsOK(res1)) {
18317  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_begin" "', argument " "1"" of type '" "std::vector< float > *""'");
18318  }
18319  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18320  result = (arg1)->begin();
18321  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< float >::iterator & >(result)),
18322  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
18323  return resultobj;
18324 fail:
18325  return NULL;
18326 }
18327 
18328 
18329 SWIGINTERN PyObject *_wrap_vector_float_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18330  PyObject *resultobj = 0;
18331  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18332  void *argp1 = 0 ;
18333  int res1 = 0 ;
18334  PyObject * obj0 = 0 ;
18335  std::vector< float >::iterator result;
18336 
18337  if (!PyArg_ParseTuple(args,(char *)"O:vector_float_end",&obj0)) SWIG_fail;
18338  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18339  if (!SWIG_IsOK(res1)) {
18340  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_end" "', argument " "1"" of type '" "std::vector< float > *""'");
18341  }
18342  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18343  result = (arg1)->end();
18344  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< float >::iterator & >(result)),
18345  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
18346  return resultobj;
18347 fail:
18348  return NULL;
18349 }
18350 
18351 
18352 SWIGINTERN PyObject *_wrap_vector_float_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18353  PyObject *resultobj = 0;
18354  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18355  void *argp1 = 0 ;
18356  int res1 = 0 ;
18357  PyObject * obj0 = 0 ;
18358  std::vector< float >::reverse_iterator result;
18359 
18360  if (!PyArg_ParseTuple(args,(char *)"O:vector_float_rbegin",&obj0)) SWIG_fail;
18361  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18362  if (!SWIG_IsOK(res1)) {
18363  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_rbegin" "', argument " "1"" of type '" "std::vector< float > *""'");
18364  }
18365  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18366  result = (arg1)->rbegin();
18367  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< float >::reverse_iterator & >(result)),
18368  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
18369  return resultobj;
18370 fail:
18371  return NULL;
18372 }
18373 
18374 
18375 SWIGINTERN PyObject *_wrap_vector_float_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18376  PyObject *resultobj = 0;
18377  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18378  void *argp1 = 0 ;
18379  int res1 = 0 ;
18380  PyObject * obj0 = 0 ;
18381  std::vector< float >::reverse_iterator result;
18382 
18383  if (!PyArg_ParseTuple(args,(char *)"O:vector_float_rend",&obj0)) SWIG_fail;
18384  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18385  if (!SWIG_IsOK(res1)) {
18386  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_rend" "', argument " "1"" of type '" "std::vector< float > *""'");
18387  }
18388  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18389  result = (arg1)->rend();
18390  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< float >::reverse_iterator & >(result)),
18391  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
18392  return resultobj;
18393 fail:
18394  return NULL;
18395 }
18396 
18397 
18398 SWIGINTERN PyObject *_wrap_new_vector_float__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18399  PyObject *resultobj = 0;
18400  std::vector< float >::size_type arg1 ;
18401  size_t val1 ;
18402  int ecode1 = 0 ;
18403  PyObject * obj0 = 0 ;
18404  std::vector< float > *result = 0 ;
18405 
18406  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_float",&obj0)) SWIG_fail;
18407  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
18408  if (!SWIG_IsOK(ecode1)) {
18409  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_float" "', argument " "1"" of type '" "std::vector< float >::size_type""'");
18410  }
18411  arg1 = static_cast< std::vector< float >::size_type >(val1);
18412  result = (std::vector< float > *)new std::vector< float >(arg1);
18413  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, SWIG_POINTER_NEW | 0 );
18414  return resultobj;
18415 fail:
18416  return NULL;
18417 }
18418 
18419 
18420 SWIGINTERN PyObject *_wrap_vector_float_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18421  PyObject *resultobj = 0;
18422  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18423  void *argp1 = 0 ;
18424  int res1 = 0 ;
18425  PyObject * obj0 = 0 ;
18426 
18427  if (!PyArg_ParseTuple(args,(char *)"O:vector_float_pop_back",&obj0)) SWIG_fail;
18428  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18429  if (!SWIG_IsOK(res1)) {
18430  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_pop_back" "', argument " "1"" of type '" "std::vector< float > *""'");
18431  }
18432  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18433  (arg1)->pop_back();
18434  resultobj = SWIG_Py_Void();
18435  return resultobj;
18436 fail:
18437  return NULL;
18438 }
18439 
18440 
18441 SWIGINTERN PyObject *_wrap_vector_float_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18442  PyObject *resultobj = 0;
18443  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18444  std::vector< float >::size_type arg2 ;
18445  void *argp1 = 0 ;
18446  int res1 = 0 ;
18447  size_t val2 ;
18448  int ecode2 = 0 ;
18449  PyObject * obj0 = 0 ;
18450  PyObject * obj1 = 0 ;
18451 
18452  if (!PyArg_ParseTuple(args,(char *)"OO:vector_float_resize",&obj0,&obj1)) SWIG_fail;
18453  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18454  if (!SWIG_IsOK(res1)) {
18455  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_resize" "', argument " "1"" of type '" "std::vector< float > *""'");
18456  }
18457  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18458  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
18459  if (!SWIG_IsOK(ecode2)) {
18460  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_float_resize" "', argument " "2"" of type '" "std::vector< float >::size_type""'");
18461  }
18462  arg2 = static_cast< std::vector< float >::size_type >(val2);
18463  (arg1)->resize(arg2);
18464  resultobj = SWIG_Py_Void();
18465  return resultobj;
18466 fail:
18467  return NULL;
18468 }
18469 
18470 
18471 SWIGINTERN PyObject *_wrap_vector_float_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18472  PyObject *resultobj = 0;
18473  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18474  std::vector< float >::iterator arg2 ;
18475  void *argp1 = 0 ;
18476  int res1 = 0 ;
18477  swig::SwigPyIterator *iter2 = 0 ;
18478  int res2 ;
18479  PyObject * obj0 = 0 ;
18480  PyObject * obj1 = 0 ;
18481  std::vector< float >::iterator result;
18482 
18483  if (!PyArg_ParseTuple(args,(char *)"OO:vector_float_erase",&obj0,&obj1)) SWIG_fail;
18484  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18485  if (!SWIG_IsOK(res1)) {
18486  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_erase" "', argument " "1"" of type '" "std::vector< float > *""'");
18487  }
18488  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18489  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
18490  if (!SWIG_IsOK(res2) || !iter2) {
18491  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_float_erase" "', argument " "2"" of type '" "std::vector< float >::iterator""'");
18492  } else {
18494  if (iter_t) {
18495  arg2 = iter_t->get_current();
18496  } else {
18497  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_float_erase" "', argument " "2"" of type '" "std::vector< float >::iterator""'");
18498  }
18499  }
18500  result = std_vector_Sl_float_Sg__erase__SWIG_0(arg1,arg2);
18501  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< float >::iterator & >(result)),
18502  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
18503  return resultobj;
18504 fail:
18505  return NULL;
18506 }
18507 
18508 
18509 SWIGINTERN PyObject *_wrap_vector_float_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18510  PyObject *resultobj = 0;
18511  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18512  std::vector< float >::iterator arg2 ;
18513  std::vector< float >::iterator arg3 ;
18514  void *argp1 = 0 ;
18515  int res1 = 0 ;
18516  swig::SwigPyIterator *iter2 = 0 ;
18517  int res2 ;
18518  swig::SwigPyIterator *iter3 = 0 ;
18519  int res3 ;
18520  PyObject * obj0 = 0 ;
18521  PyObject * obj1 = 0 ;
18522  PyObject * obj2 = 0 ;
18523  std::vector< float >::iterator result;
18524 
18525  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_float_erase",&obj0,&obj1,&obj2)) SWIG_fail;
18526  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18527  if (!SWIG_IsOK(res1)) {
18528  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_erase" "', argument " "1"" of type '" "std::vector< float > *""'");
18529  }
18530  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18531  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
18532  if (!SWIG_IsOK(res2) || !iter2) {
18533  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_float_erase" "', argument " "2"" of type '" "std::vector< float >::iterator""'");
18534  } else {
18536  if (iter_t) {
18537  arg2 = iter_t->get_current();
18538  } else {
18539  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_float_erase" "', argument " "2"" of type '" "std::vector< float >::iterator""'");
18540  }
18541  }
18542  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
18543  if (!SWIG_IsOK(res3) || !iter3) {
18544  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_float_erase" "', argument " "3"" of type '" "std::vector< float >::iterator""'");
18545  } else {
18547  if (iter_t) {
18548  arg3 = iter_t->get_current();
18549  } else {
18550  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_float_erase" "', argument " "3"" of type '" "std::vector< float >::iterator""'");
18551  }
18552  }
18553  result = std_vector_Sl_float_Sg__erase__SWIG_1(arg1,arg2,arg3);
18554  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< float >::iterator & >(result)),
18555  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
18556  return resultobj;
18557 fail:
18558  return NULL;
18559 }
18560 
18561 
18562 SWIGINTERN PyObject *_wrap_vector_float_erase(PyObject *self, PyObject *args) {
18563  int argc;
18564  PyObject *argv[4];
18565  int ii;
18566 
18567  if (!PyTuple_Check(args)) SWIG_fail;
18568  argc = args ? (int)PyObject_Length(args) : 0;
18569  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
18570  argv[ii] = PyTuple_GET_ITEM(args,ii);
18571  }
18572  if (argc == 2) {
18573  int _v;
18574  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
18575  _v = SWIG_CheckState(res);
18576  if (_v) {
18577  swig::SwigPyIterator *iter = 0;
18578  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
18579  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< float >::iterator > *>(iter) != 0));
18580  if (_v) {
18581  return _wrap_vector_float_erase__SWIG_0(self, args);
18582  }
18583  }
18584  }
18585  if (argc == 3) {
18586  int _v;
18587  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
18588  _v = SWIG_CheckState(res);
18589  if (_v) {
18590  swig::SwigPyIterator *iter = 0;
18591  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
18592  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< float >::iterator > *>(iter) != 0));
18593  if (_v) {
18594  swig::SwigPyIterator *iter = 0;
18595  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
18596  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< float >::iterator > *>(iter) != 0));
18597  if (_v) {
18598  return _wrap_vector_float_erase__SWIG_1(self, args);
18599  }
18600  }
18601  }
18602  }
18603 
18604 fail:
18605  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_float_erase'.\n"
18606  " Possible C/C++ prototypes are:\n"
18607  " std::vector< float >::erase(std::vector< float >::iterator)\n"
18608  " std::vector< float >::erase(std::vector< float >::iterator,std::vector< float >::iterator)\n");
18609  return 0;
18610 }
18611 
18612 
18613 SWIGINTERN PyObject *_wrap_new_vector_float__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18614  PyObject *resultobj = 0;
18615  std::vector< float >::size_type arg1 ;
18616  std::vector< float >::value_type *arg2 = 0 ;
18617  size_t val1 ;
18618  int ecode1 = 0 ;
18619  std::vector< float >::value_type temp2 ;
18620  float val2 ;
18621  int ecode2 = 0 ;
18622  PyObject * obj0 = 0 ;
18623  PyObject * obj1 = 0 ;
18624  std::vector< float > *result = 0 ;
18625 
18626  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_float",&obj0,&obj1)) SWIG_fail;
18627  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
18628  if (!SWIG_IsOK(ecode1)) {
18629  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_float" "', argument " "1"" of type '" "std::vector< float >::size_type""'");
18630  }
18631  arg1 = static_cast< std::vector< float >::size_type >(val1);
18632  ecode2 = SWIG_AsVal_float(obj1, &val2);
18633  if (!SWIG_IsOK(ecode2)) {
18634  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_vector_float" "', argument " "2"" of type '" "std::vector< float >::value_type""'");
18635  }
18636  temp2 = static_cast< std::vector< float >::value_type >(val2);
18637  arg2 = &temp2;
18638  result = (std::vector< float > *)new std::vector< float >(arg1,(std::vector< float >::value_type const &)*arg2);
18639  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, SWIG_POINTER_NEW | 0 );
18640  return resultobj;
18641 fail:
18642  return NULL;
18643 }
18644 
18645 
18646 SWIGINTERN PyObject *_wrap_new_vector_float(PyObject *self, PyObject *args) {
18647  int argc;
18648  PyObject *argv[3];
18649  int ii;
18650 
18651  if (!PyTuple_Check(args)) SWIG_fail;
18652  argc = args ? (int)PyObject_Length(args) : 0;
18653  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
18654  argv[ii] = PyTuple_GET_ITEM(args,ii);
18655  }
18656  if (argc == 0) {
18657  return _wrap_new_vector_float__SWIG_0(self, args);
18658  }
18659  if (argc == 1) {
18660  int _v;
18661  {
18662  int res = SWIG_AsVal_size_t(argv[0], NULL);
18663  _v = SWIG_CheckState(res);
18664  }
18665  if (_v) {
18666  return _wrap_new_vector_float__SWIG_2(self, args);
18667  }
18668  }
18669  if (argc == 1) {
18670  int _v;
18671  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
18672  _v = SWIG_CheckState(res);
18673  if (_v) {
18674  return _wrap_new_vector_float__SWIG_1(self, args);
18675  }
18676  }
18677  if (argc == 2) {
18678  int _v;
18679  {
18680  int res = SWIG_AsVal_size_t(argv[0], NULL);
18681  _v = SWIG_CheckState(res);
18682  }
18683  if (_v) {
18684  {
18685  int res = SWIG_AsVal_float(argv[1], NULL);
18686  _v = SWIG_CheckState(res);
18687  }
18688  if (_v) {
18689  return _wrap_new_vector_float__SWIG_3(self, args);
18690  }
18691  }
18692  }
18693 
18694 fail:
18695  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_float'.\n"
18696  " Possible C/C++ prototypes are:\n"
18697  " std::vector< float >::vector()\n"
18698  " std::vector< float >::vector(std::vector< float > const &)\n"
18699  " std::vector< float >::vector(std::vector< float >::size_type)\n"
18700  " std::vector< float >::vector(std::vector< float >::size_type,std::vector< float >::value_type const &)\n");
18701  return 0;
18702 }
18703 
18704 
18705 SWIGINTERN PyObject *_wrap_vector_float_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18706  PyObject *resultobj = 0;
18707  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18708  std::vector< float >::value_type *arg2 = 0 ;
18709  void *argp1 = 0 ;
18710  int res1 = 0 ;
18711  std::vector< float >::value_type temp2 ;
18712  float val2 ;
18713  int ecode2 = 0 ;
18714  PyObject * obj0 = 0 ;
18715  PyObject * obj1 = 0 ;
18716 
18717  if (!PyArg_ParseTuple(args,(char *)"OO:vector_float_push_back",&obj0,&obj1)) SWIG_fail;
18718  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18719  if (!SWIG_IsOK(res1)) {
18720  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_push_back" "', argument " "1"" of type '" "std::vector< float > *""'");
18721  }
18722  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18723  ecode2 = SWIG_AsVal_float(obj1, &val2);
18724  if (!SWIG_IsOK(ecode2)) {
18725  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_float_push_back" "', argument " "2"" of type '" "std::vector< float >::value_type""'");
18726  }
18727  temp2 = static_cast< std::vector< float >::value_type >(val2);
18728  arg2 = &temp2;
18729  (arg1)->push_back((std::vector< float >::value_type const &)*arg2);
18730  resultobj = SWIG_Py_Void();
18731  return resultobj;
18732 fail:
18733  return NULL;
18734 }
18735 
18736 
18737 SWIGINTERN PyObject *_wrap_vector_float_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18738  PyObject *resultobj = 0;
18739  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18740  void *argp1 = 0 ;
18741  int res1 = 0 ;
18742  PyObject * obj0 = 0 ;
18743  std::vector< float >::value_type *result = 0 ;
18744 
18745  if (!PyArg_ParseTuple(args,(char *)"O:vector_float_front",&obj0)) SWIG_fail;
18746  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18747  if (!SWIG_IsOK(res1)) {
18748  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_front" "', argument " "1"" of type '" "std::vector< float > const *""'");
18749  }
18750  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18751  result = (std::vector< float >::value_type *) &((std::vector< float > const *)arg1)->front();
18752  resultobj = SWIG_From_float(static_cast< float >(*result));
18753  return resultobj;
18754 fail:
18755  return NULL;
18756 }
18757 
18758 
18759 SWIGINTERN PyObject *_wrap_vector_float_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18760  PyObject *resultobj = 0;
18761  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18762  void *argp1 = 0 ;
18763  int res1 = 0 ;
18764  PyObject * obj0 = 0 ;
18765  std::vector< float >::value_type *result = 0 ;
18766 
18767  if (!PyArg_ParseTuple(args,(char *)"O:vector_float_back",&obj0)) SWIG_fail;
18768  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18769  if (!SWIG_IsOK(res1)) {
18770  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_back" "', argument " "1"" of type '" "std::vector< float > const *""'");
18771  }
18772  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18773  result = (std::vector< float >::value_type *) &((std::vector< float > const *)arg1)->back();
18774  resultobj = SWIG_From_float(static_cast< float >(*result));
18775  return resultobj;
18776 fail:
18777  return NULL;
18778 }
18779 
18780 
18781 SWIGINTERN PyObject *_wrap_vector_float_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18782  PyObject *resultobj = 0;
18783  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18784  std::vector< float >::size_type arg2 ;
18785  std::vector< float >::value_type *arg3 = 0 ;
18786  void *argp1 = 0 ;
18787  int res1 = 0 ;
18788  size_t val2 ;
18789  int ecode2 = 0 ;
18790  std::vector< float >::value_type temp3 ;
18791  float val3 ;
18792  int ecode3 = 0 ;
18793  PyObject * obj0 = 0 ;
18794  PyObject * obj1 = 0 ;
18795  PyObject * obj2 = 0 ;
18796 
18797  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_float_assign",&obj0,&obj1,&obj2)) SWIG_fail;
18798  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18799  if (!SWIG_IsOK(res1)) {
18800  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_assign" "', argument " "1"" of type '" "std::vector< float > *""'");
18801  }
18802  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18803  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
18804  if (!SWIG_IsOK(ecode2)) {
18805  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_float_assign" "', argument " "2"" of type '" "std::vector< float >::size_type""'");
18806  }
18807  arg2 = static_cast< std::vector< float >::size_type >(val2);
18808  ecode3 = SWIG_AsVal_float(obj2, &val3);
18809  if (!SWIG_IsOK(ecode3)) {
18810  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_float_assign" "', argument " "3"" of type '" "std::vector< float >::value_type""'");
18811  }
18812  temp3 = static_cast< std::vector< float >::value_type >(val3);
18813  arg3 = &temp3;
18814  (arg1)->assign(arg2,(std::vector< float >::value_type const &)*arg3);
18815  resultobj = SWIG_Py_Void();
18816  return resultobj;
18817 fail:
18818  return NULL;
18819 }
18820 
18821 
18822 SWIGINTERN PyObject *_wrap_vector_float_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18823  PyObject *resultobj = 0;
18824  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18825  std::vector< float >::size_type arg2 ;
18826  std::vector< float >::value_type *arg3 = 0 ;
18827  void *argp1 = 0 ;
18828  int res1 = 0 ;
18829  size_t val2 ;
18830  int ecode2 = 0 ;
18831  std::vector< float >::value_type temp3 ;
18832  float val3 ;
18833  int ecode3 = 0 ;
18834  PyObject * obj0 = 0 ;
18835  PyObject * obj1 = 0 ;
18836  PyObject * obj2 = 0 ;
18837 
18838  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_float_resize",&obj0,&obj1,&obj2)) SWIG_fail;
18839  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18840  if (!SWIG_IsOK(res1)) {
18841  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_resize" "', argument " "1"" of type '" "std::vector< float > *""'");
18842  }
18843  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18844  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
18845  if (!SWIG_IsOK(ecode2)) {
18846  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_float_resize" "', argument " "2"" of type '" "std::vector< float >::size_type""'");
18847  }
18848  arg2 = static_cast< std::vector< float >::size_type >(val2);
18849  ecode3 = SWIG_AsVal_float(obj2, &val3);
18850  if (!SWIG_IsOK(ecode3)) {
18851  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_float_resize" "', argument " "3"" of type '" "std::vector< float >::value_type""'");
18852  }
18853  temp3 = static_cast< std::vector< float >::value_type >(val3);
18854  arg3 = &temp3;
18855  (arg1)->resize(arg2,(std::vector< float >::value_type const &)*arg3);
18856  resultobj = SWIG_Py_Void();
18857  return resultobj;
18858 fail:
18859  return NULL;
18860 }
18861 
18862 
18863 SWIGINTERN PyObject *_wrap_vector_float_resize(PyObject *self, PyObject *args) {
18864  int argc;
18865  PyObject *argv[4];
18866  int ii;
18867 
18868  if (!PyTuple_Check(args)) SWIG_fail;
18869  argc = args ? (int)PyObject_Length(args) : 0;
18870  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
18871  argv[ii] = PyTuple_GET_ITEM(args,ii);
18872  }
18873  if (argc == 2) {
18874  int _v;
18875  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
18876  _v = SWIG_CheckState(res);
18877  if (_v) {
18878  {
18879  int res = SWIG_AsVal_size_t(argv[1], NULL);
18880  _v = SWIG_CheckState(res);
18881  }
18882  if (_v) {
18883  return _wrap_vector_float_resize__SWIG_0(self, args);
18884  }
18885  }
18886  }
18887  if (argc == 3) {
18888  int _v;
18889  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
18890  _v = SWIG_CheckState(res);
18891  if (_v) {
18892  {
18893  int res = SWIG_AsVal_size_t(argv[1], NULL);
18894  _v = SWIG_CheckState(res);
18895  }
18896  if (_v) {
18897  {
18898  int res = SWIG_AsVal_float(argv[2], NULL);
18899  _v = SWIG_CheckState(res);
18900  }
18901  if (_v) {
18902  return _wrap_vector_float_resize__SWIG_1(self, args);
18903  }
18904  }
18905  }
18906  }
18907 
18908 fail:
18909  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_float_resize'.\n"
18910  " Possible C/C++ prototypes are:\n"
18911  " std::vector< float >::resize(std::vector< float >::size_type)\n"
18912  " std::vector< float >::resize(std::vector< float >::size_type,std::vector< float >::value_type const &)\n");
18913  return 0;
18914 }
18915 
18916 
18917 SWIGINTERN PyObject *_wrap_vector_float_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18918  PyObject *resultobj = 0;
18919  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18920  std::vector< float >::iterator arg2 ;
18921  std::vector< float >::value_type *arg3 = 0 ;
18922  void *argp1 = 0 ;
18923  int res1 = 0 ;
18924  swig::SwigPyIterator *iter2 = 0 ;
18925  int res2 ;
18926  std::vector< float >::value_type temp3 ;
18927  float val3 ;
18928  int ecode3 = 0 ;
18929  PyObject * obj0 = 0 ;
18930  PyObject * obj1 = 0 ;
18931  PyObject * obj2 = 0 ;
18932  std::vector< float >::iterator result;
18933 
18934  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_float_insert",&obj0,&obj1,&obj2)) SWIG_fail;
18935  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18936  if (!SWIG_IsOK(res1)) {
18937  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_insert" "', argument " "1"" of type '" "std::vector< float > *""'");
18938  }
18939  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18940  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
18941  if (!SWIG_IsOK(res2) || !iter2) {
18942  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_float_insert" "', argument " "2"" of type '" "std::vector< float >::iterator""'");
18943  } else {
18945  if (iter_t) {
18946  arg2 = iter_t->get_current();
18947  } else {
18948  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_float_insert" "', argument " "2"" of type '" "std::vector< float >::iterator""'");
18949  }
18950  }
18951  ecode3 = SWIG_AsVal_float(obj2, &val3);
18952  if (!SWIG_IsOK(ecode3)) {
18953  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_float_insert" "', argument " "3"" of type '" "std::vector< float >::value_type""'");
18954  }
18955  temp3 = static_cast< std::vector< float >::value_type >(val3);
18956  arg3 = &temp3;
18957  result = std_vector_Sl_float_Sg__insert__SWIG_0(arg1,arg2,(float const &)*arg3);
18958  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< float >::iterator & >(result)),
18959  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
18960  return resultobj;
18961 fail:
18962  return NULL;
18963 }
18964 
18965 
18966 SWIGINTERN PyObject *_wrap_vector_float_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18967  PyObject *resultobj = 0;
18968  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
18969  std::vector< float >::iterator arg2 ;
18970  std::vector< float >::size_type arg3 ;
18971  std::vector< float >::value_type *arg4 = 0 ;
18972  void *argp1 = 0 ;
18973  int res1 = 0 ;
18974  swig::SwigPyIterator *iter2 = 0 ;
18975  int res2 ;
18976  size_t val3 ;
18977  int ecode3 = 0 ;
18978  std::vector< float >::value_type temp4 ;
18979  float val4 ;
18980  int ecode4 = 0 ;
18981  PyObject * obj0 = 0 ;
18982  PyObject * obj1 = 0 ;
18983  PyObject * obj2 = 0 ;
18984  PyObject * obj3 = 0 ;
18985 
18986  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_float_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
18987  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
18988  if (!SWIG_IsOK(res1)) {
18989  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_insert" "', argument " "1"" of type '" "std::vector< float > *""'");
18990  }
18991  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
18992  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
18993  if (!SWIG_IsOK(res2) || !iter2) {
18994  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_float_insert" "', argument " "2"" of type '" "std::vector< float >::iterator""'");
18995  } else {
18997  if (iter_t) {
18998  arg2 = iter_t->get_current();
18999  } else {
19000  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_float_insert" "', argument " "2"" of type '" "std::vector< float >::iterator""'");
19001  }
19002  }
19003  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
19004  if (!SWIG_IsOK(ecode3)) {
19005  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_float_insert" "', argument " "3"" of type '" "std::vector< float >::size_type""'");
19006  }
19007  arg3 = static_cast< std::vector< float >::size_type >(val3);
19008  ecode4 = SWIG_AsVal_float(obj3, &val4);
19009  if (!SWIG_IsOK(ecode4)) {
19010  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "vector_float_insert" "', argument " "4"" of type '" "std::vector< float >::value_type""'");
19011  }
19012  temp4 = static_cast< std::vector< float >::value_type >(val4);
19013  arg4 = &temp4;
19014  std_vector_Sl_float_Sg__insert__SWIG_1(arg1,arg2,arg3,(float const &)*arg4);
19015  resultobj = SWIG_Py_Void();
19016  return resultobj;
19017 fail:
19018  return NULL;
19019 }
19020 
19021 
19022 SWIGINTERN PyObject *_wrap_vector_float_insert(PyObject *self, PyObject *args) {
19023  int argc;
19024  PyObject *argv[5];
19025  int ii;
19026 
19027  if (!PyTuple_Check(args)) SWIG_fail;
19028  argc = args ? (int)PyObject_Length(args) : 0;
19029  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
19030  argv[ii] = PyTuple_GET_ITEM(args,ii);
19031  }
19032  if (argc == 3) {
19033  int _v;
19034  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
19035  _v = SWIG_CheckState(res);
19036  if (_v) {
19037  swig::SwigPyIterator *iter = 0;
19038  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
19039  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< float >::iterator > *>(iter) != 0));
19040  if (_v) {
19041  {
19042  int res = SWIG_AsVal_float(argv[2], NULL);
19043  _v = SWIG_CheckState(res);
19044  }
19045  if (_v) {
19046  return _wrap_vector_float_insert__SWIG_0(self, args);
19047  }
19048  }
19049  }
19050  }
19051  if (argc == 4) {
19052  int _v;
19053  int res = swig::asptr(argv[0], (std::vector<float,std::allocator< float > >**)(0));
19054  _v = SWIG_CheckState(res);
19055  if (_v) {
19056  swig::SwigPyIterator *iter = 0;
19057  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
19058  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< float >::iterator > *>(iter) != 0));
19059  if (_v) {
19060  {
19061  int res = SWIG_AsVal_size_t(argv[2], NULL);
19062  _v = SWIG_CheckState(res);
19063  }
19064  if (_v) {
19065  {
19066  int res = SWIG_AsVal_float(argv[3], NULL);
19067  _v = SWIG_CheckState(res);
19068  }
19069  if (_v) {
19070  return _wrap_vector_float_insert__SWIG_1(self, args);
19071  }
19072  }
19073  }
19074  }
19075  }
19076 
19077 fail:
19078  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_float_insert'.\n"
19079  " Possible C/C++ prototypes are:\n"
19080  " std::vector< float >::insert(std::vector< float >::iterator,std::vector< float >::value_type const &)\n"
19081  " std::vector< float >::insert(std::vector< float >::iterator,std::vector< float >::size_type,std::vector< float >::value_type const &)\n");
19082  return 0;
19083 }
19084 
19085 
19086 SWIGINTERN PyObject *_wrap_vector_float_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19087  PyObject *resultobj = 0;
19088  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
19089  std::vector< float >::size_type arg2 ;
19090  void *argp1 = 0 ;
19091  int res1 = 0 ;
19092  size_t val2 ;
19093  int ecode2 = 0 ;
19094  PyObject * obj0 = 0 ;
19095  PyObject * obj1 = 0 ;
19096 
19097  if (!PyArg_ParseTuple(args,(char *)"OO:vector_float_reserve",&obj0,&obj1)) SWIG_fail;
19098  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
19099  if (!SWIG_IsOK(res1)) {
19100  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_reserve" "', argument " "1"" of type '" "std::vector< float > *""'");
19101  }
19102  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
19103  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19104  if (!SWIG_IsOK(ecode2)) {
19105  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_float_reserve" "', argument " "2"" of type '" "std::vector< float >::size_type""'");
19106  }
19107  arg2 = static_cast< std::vector< float >::size_type >(val2);
19108  (arg1)->reserve(arg2);
19109  resultobj = SWIG_Py_Void();
19110  return resultobj;
19111 fail:
19112  return NULL;
19113 }
19114 
19115 
19116 SWIGINTERN PyObject *_wrap_vector_float_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19117  PyObject *resultobj = 0;
19118  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
19119  void *argp1 = 0 ;
19120  int res1 = 0 ;
19121  PyObject * obj0 = 0 ;
19122  std::vector< float >::size_type result;
19123 
19124  if (!PyArg_ParseTuple(args,(char *)"O:vector_float_capacity",&obj0)) SWIG_fail;
19125  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 | 0 );
19126  if (!SWIG_IsOK(res1)) {
19127  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_float_capacity" "', argument " "1"" of type '" "std::vector< float > const *""'");
19128  }
19129  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
19130  result = ((std::vector< float > const *)arg1)->capacity();
19131  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19132  return resultobj;
19133 fail:
19134  return NULL;
19135 }
19136 
19137 
19138 SWIGINTERN PyObject *_wrap_delete_vector_float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19139  PyObject *resultobj = 0;
19140  std::vector< float > *arg1 = (std::vector< float > *) 0 ;
19141  void *argp1 = 0 ;
19142  int res1 = 0 ;
19143  PyObject * obj0 = 0 ;
19144 
19145  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_float",&obj0)) SWIG_fail;
19146  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, SWIG_POINTER_DISOWN | 0 );
19147  if (!SWIG_IsOK(res1)) {
19148  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_float" "', argument " "1"" of type '" "std::vector< float > *""'");
19149  }
19150  arg1 = reinterpret_cast< std::vector< float > * >(argp1);
19151  {
19152  try {
19153  delete arg1;
19154  }
19155  catch(CStdErrorInfo oError)
19156  {
19157  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
19158  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
19159  PyErr_SetString(PyExc_IndexError, strError.c_str());
19160  SWIG_fail;
19161  }
19162  catch(...)
19163  {
19164  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
19165  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
19166  SWIG_fail;
19167  }
19168  }
19169  resultobj = SWIG_Py_Void();
19170  return resultobj;
19171 fail:
19172  return NULL;
19173 }
19174 
19175 
19176 SWIGINTERN PyObject *vector_float_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19177  PyObject *obj;
19178  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
19179  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, SWIG_NewClientData(obj));
19180  return SWIG_Py_Void();
19181 }
19182 
19183 SWIGINTERN PyObject *_wrap_vector_double_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19184  PyObject *resultobj = 0;
19185  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19186  PyObject **arg2 = (PyObject **) 0 ;
19187  void *argp1 = 0 ;
19188  int res1 = 0 ;
19189  PyObject * obj0 = 0 ;
19190  swig::SwigPyIterator *result = 0 ;
19191 
19192  arg2 = &obj0;
19193  if (!PyArg_ParseTuple(args,(char *)"O:vector_double_iterator",&obj0)) SWIG_fail;
19194  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19195  if (!SWIG_IsOK(res1)) {
19196  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_iterator" "', argument " "1"" of type '" "std::vector< double > *""'");
19197  }
19198  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19199  result = (swig::SwigPyIterator *)std_vector_Sl_double_Sg__iterator(arg1,arg2);
19200  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
19201  return resultobj;
19202 fail:
19203  return NULL;
19204 }
19205 
19206 
19207 SWIGINTERN PyObject *_wrap_vector_double___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19208  PyObject *resultobj = 0;
19209  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19210  void *argp1 = 0 ;
19211  int res1 = 0 ;
19212  PyObject * obj0 = 0 ;
19213  bool result;
19214 
19215  if (!PyArg_ParseTuple(args,(char *)"O:vector_double___nonzero__",&obj0)) SWIG_fail;
19216  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19217  if (!SWIG_IsOK(res1)) {
19218  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double___nonzero__" "', argument " "1"" of type '" "std::vector< double > const *""'");
19219  }
19220  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19221  result = (bool)std_vector_Sl_double_Sg____nonzero__((std::vector< double > const *)arg1);
19222  resultobj = SWIG_From_bool(static_cast< bool >(result));
19223  return resultobj;
19224 fail:
19225  return NULL;
19226 }
19227 
19228 
19229 SWIGINTERN PyObject *_wrap_vector_double___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19230  PyObject *resultobj = 0;
19231  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19232  void *argp1 = 0 ;
19233  int res1 = 0 ;
19234  PyObject * obj0 = 0 ;
19235  bool result;
19236 
19237  if (!PyArg_ParseTuple(args,(char *)"O:vector_double___bool__",&obj0)) SWIG_fail;
19238  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19239  if (!SWIG_IsOK(res1)) {
19240  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double___bool__" "', argument " "1"" of type '" "std::vector< double > const *""'");
19241  }
19242  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19243  result = (bool)std_vector_Sl_double_Sg____bool__((std::vector< double > const *)arg1);
19244  resultobj = SWIG_From_bool(static_cast< bool >(result));
19245  return resultobj;
19246 fail:
19247  return NULL;
19248 }
19249 
19250 
19251 SWIGINTERN PyObject *_wrap_vector_double___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19252  PyObject *resultobj = 0;
19253  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19254  void *argp1 = 0 ;
19255  int res1 = 0 ;
19256  PyObject * obj0 = 0 ;
19257  std::vector< double >::size_type result;
19258 
19259  if (!PyArg_ParseTuple(args,(char *)"O:vector_double___len__",&obj0)) SWIG_fail;
19260  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19261  if (!SWIG_IsOK(res1)) {
19262  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double___len__" "', argument " "1"" of type '" "std::vector< double > const *""'");
19263  }
19264  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19265  result = std_vector_Sl_double_Sg____len__((std::vector< double > const *)arg1);
19266  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19267  return resultobj;
19268 fail:
19269  return NULL;
19270 }
19271 
19272 
19273 SWIGINTERN PyObject *_wrap_vector_double_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19274  PyObject *resultobj = 0;
19275  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19276  void *argp1 = 0 ;
19277  int res1 = 0 ;
19278  PyObject * obj0 = 0 ;
19279  std::vector< double >::value_type result;
19280 
19281  if (!PyArg_ParseTuple(args,(char *)"O:vector_double_pop",&obj0)) SWIG_fail;
19282  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19283  if (!SWIG_IsOK(res1)) {
19284  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_pop" "', argument " "1"" of type '" "std::vector< double > *""'");
19285  }
19286  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19287  try {
19288  result = (std::vector< double >::value_type)std_vector_Sl_double_Sg__pop(arg1);
19289  }
19290  catch(std::out_of_range &_e) {
19291  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
19292  }
19293 
19294  resultobj = SWIG_From_double(static_cast< double >(result));
19295  return resultobj;
19296 fail:
19297  return NULL;
19298 }
19299 
19300 
19301 SWIGINTERN PyObject *_wrap_vector_double___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19302  PyObject *resultobj = 0;
19303  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19304  std::vector< double >::difference_type arg2 ;
19305  std::vector< double >::difference_type arg3 ;
19306  void *argp1 = 0 ;
19307  int res1 = 0 ;
19308  ptrdiff_t val2 ;
19309  int ecode2 = 0 ;
19310  ptrdiff_t val3 ;
19311  int ecode3 = 0 ;
19312  PyObject * obj0 = 0 ;
19313  PyObject * obj1 = 0 ;
19314  PyObject * obj2 = 0 ;
19315  std::vector< double,std::allocator< double > > *result = 0 ;
19316 
19317  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_double___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
19318  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19319  if (!SWIG_IsOK(res1)) {
19320  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double___getslice__" "', argument " "1"" of type '" "std::vector< double > *""'");
19321  }
19322  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19323  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
19324  if (!SWIG_IsOK(ecode2)) {
19325  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_double___getslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'");
19326  }
19327  arg2 = static_cast< std::vector< double >::difference_type >(val2);
19328  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
19329  if (!SWIG_IsOK(ecode3)) {
19330  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_double___getslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'");
19331  }
19332  arg3 = static_cast< std::vector< double >::difference_type >(val3);
19333  try {
19334  result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getslice__(arg1,arg2,arg3);
19335  }
19336  catch(std::out_of_range &_e) {
19337  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
19338  }
19339  catch(std::invalid_argument &_e) {
19340  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
19341  }
19342 
19343  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_OWN | 0 );
19344  return resultobj;
19345 fail:
19346  return NULL;
19347 }
19348 
19349 
19350 SWIGINTERN PyObject *_wrap_vector_double___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19351  PyObject *resultobj = 0;
19352  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19353  std::vector< double >::difference_type arg2 ;
19354  std::vector< double >::difference_type arg3 ;
19355  std::vector< double,std::allocator< double > > *arg4 = 0 ;
19356  void *argp1 = 0 ;
19357  int res1 = 0 ;
19358  ptrdiff_t val2 ;
19359  int ecode2 = 0 ;
19360  ptrdiff_t val3 ;
19361  int ecode3 = 0 ;
19362  int res4 = SWIG_OLDOBJ ;
19363  PyObject * obj0 = 0 ;
19364  PyObject * obj1 = 0 ;
19365  PyObject * obj2 = 0 ;
19366  PyObject * obj3 = 0 ;
19367 
19368  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_double___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19369  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19370  if (!SWIG_IsOK(res1)) {
19371  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double___setslice__" "', argument " "1"" of type '" "std::vector< double > *""'");
19372  }
19373  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19374  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
19375  if (!SWIG_IsOK(ecode2)) {
19376  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_double___setslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'");
19377  }
19378  arg2 = static_cast< std::vector< double >::difference_type >(val2);
19379  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
19380  if (!SWIG_IsOK(ecode3)) {
19381  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_double___setslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'");
19382  }
19383  arg3 = static_cast< std::vector< double >::difference_type >(val3);
19384  {
19385  std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0;
19386  res4 = swig::asptr(obj3, &ptr);
19387  if (!SWIG_IsOK(res4)) {
19388  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_double___setslice__" "', argument " "4"" of type '" "std::vector< double,std::allocator< double > > const &""'");
19389  }
19390  if (!ptr) {
19391  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_double___setslice__" "', argument " "4"" of type '" "std::vector< double,std::allocator< double > > const &""'");
19392  }
19393  arg4 = ptr;
19394  }
19395  try {
19396  std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< double,std::allocator< double > > const &)*arg4);
19397  }
19398  catch(std::out_of_range &_e) {
19399  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
19400  }
19401  catch(std::invalid_argument &_e) {
19402  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
19403  }
19404 
19405  resultobj = SWIG_Py_Void();
19406  if (SWIG_IsNewObj(res4)) delete arg4;
19407  return resultobj;
19408 fail:
19409  if (SWIG_IsNewObj(res4)) delete arg4;
19410  return NULL;
19411 }
19412 
19413 
19414 SWIGINTERN PyObject *_wrap_vector_double___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19415  PyObject *resultobj = 0;
19416  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19417  std::vector< double >::difference_type arg2 ;
19418  std::vector< double >::difference_type arg3 ;
19419  void *argp1 = 0 ;
19420  int res1 = 0 ;
19421  ptrdiff_t val2 ;
19422  int ecode2 = 0 ;
19423  ptrdiff_t val3 ;
19424  int ecode3 = 0 ;
19425  PyObject * obj0 = 0 ;
19426  PyObject * obj1 = 0 ;
19427  PyObject * obj2 = 0 ;
19428 
19429  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_double___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
19430  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19431  if (!SWIG_IsOK(res1)) {
19432  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double___setslice__" "', argument " "1"" of type '" "std::vector< double > *""'");
19433  }
19434  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19435  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
19436  if (!SWIG_IsOK(ecode2)) {
19437  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_double___setslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'");
19438  }
19439  arg2 = static_cast< std::vector< double >::difference_type >(val2);
19440  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
19441  if (!SWIG_IsOK(ecode3)) {
19442  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_double___setslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'");
19443  }
19444  arg3 = static_cast< std::vector< double >::difference_type >(val3);
19445  try {
19446  std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3);
19447  }
19448  catch(std::out_of_range &_e) {
19449  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
19450  }
19451  catch(std::invalid_argument &_e) {
19452  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
19453  }
19454 
19455  resultobj = SWIG_Py_Void();
19456  return resultobj;
19457 fail:
19458  return NULL;
19459 }
19460 
19461 
19462 SWIGINTERN PyObject *_wrap_vector_double___setslice__(PyObject *self, PyObject *args) {
19463  int argc;
19464  PyObject *argv[5];
19465  int ii;
19466 
19467  if (!PyTuple_Check(args)) SWIG_fail;
19468  argc = args ? (int)PyObject_Length(args) : 0;
19469  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
19470  argv[ii] = PyTuple_GET_ITEM(args,ii);
19471  }
19472  if (argc == 3) {
19473  int _v;
19474  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
19475  _v = SWIG_CheckState(res);
19476  if (_v) {
19477  {
19478  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
19479  _v = SWIG_CheckState(res);
19480  }
19481  if (_v) {
19482  {
19483  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
19484  _v = SWIG_CheckState(res);
19485  }
19486  if (_v) {
19487  return _wrap_vector_double___setslice____SWIG_1(self, args);
19488  }
19489  }
19490  }
19491  }
19492  if (argc == 4) {
19493  int _v;
19494  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
19495  _v = SWIG_CheckState(res);
19496  if (_v) {
19497  {
19498  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
19499  _v = SWIG_CheckState(res);
19500  }
19501  if (_v) {
19502  {
19503  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
19504  _v = SWIG_CheckState(res);
19505  }
19506  if (_v) {
19507  int res = swig::asptr(argv[3], (std::vector<double,std::allocator< double > >**)(0));
19508  _v = SWIG_CheckState(res);
19509  if (_v) {
19510  return _wrap_vector_double___setslice____SWIG_0(self, args);
19511  }
19512  }
19513  }
19514  }
19515  }
19516 
19517 fail:
19518  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_double___setslice__'.\n"
19519  " Possible C/C++ prototypes are:\n"
19520  " std::vector< double >::__setslice__(std::vector< double >::difference_type,std::vector< double >::difference_type,std::vector< double,std::allocator< double > > const &)\n"
19521  " std::vector< double >::__setslice__(std::vector< double >::difference_type,std::vector< double >::difference_type)\n");
19522  return 0;
19523 }
19524 
19525 
19526 SWIGINTERN PyObject *_wrap_vector_double___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19527  PyObject *resultobj = 0;
19528  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19529  std::vector< double >::difference_type arg2 ;
19530  std::vector< double >::difference_type arg3 ;
19531  void *argp1 = 0 ;
19532  int res1 = 0 ;
19533  ptrdiff_t val2 ;
19534  int ecode2 = 0 ;
19535  ptrdiff_t val3 ;
19536  int ecode3 = 0 ;
19537  PyObject * obj0 = 0 ;
19538  PyObject * obj1 = 0 ;
19539  PyObject * obj2 = 0 ;
19540 
19541  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_double___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
19542  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19543  if (!SWIG_IsOK(res1)) {
19544  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double___delslice__" "', argument " "1"" of type '" "std::vector< double > *""'");
19545  }
19546  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19547  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
19548  if (!SWIG_IsOK(ecode2)) {
19549  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_double___delslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'");
19550  }
19551  arg2 = static_cast< std::vector< double >::difference_type >(val2);
19552  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
19553  if (!SWIG_IsOK(ecode3)) {
19554  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_double___delslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'");
19555  }
19556  arg3 = static_cast< std::vector< double >::difference_type >(val3);
19557  try {
19558  std_vector_Sl_double_Sg____delslice__(arg1,arg2,arg3);
19559  }
19560  catch(std::out_of_range &_e) {
19561  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
19562  }
19563  catch(std::invalid_argument &_e) {
19564  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
19565  }
19566 
19567  resultobj = SWIG_Py_Void();
19568  return resultobj;
19569 fail:
19570  return NULL;
19571 }
19572 
19573 
19574 SWIGINTERN PyObject *_wrap_vector_double___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19575  PyObject *resultobj = 0;
19576  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19577  std::vector< double >::difference_type arg2 ;
19578  void *argp1 = 0 ;
19579  int res1 = 0 ;
19580  ptrdiff_t val2 ;
19581  int ecode2 = 0 ;
19582  PyObject * obj0 = 0 ;
19583  PyObject * obj1 = 0 ;
19584 
19585  if (!PyArg_ParseTuple(args,(char *)"OO:vector_double___delitem__",&obj0,&obj1)) SWIG_fail;
19586  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19587  if (!SWIG_IsOK(res1)) {
19588  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double___delitem__" "', argument " "1"" of type '" "std::vector< double > *""'");
19589  }
19590  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19591  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
19592  if (!SWIG_IsOK(ecode2)) {
19593  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_double___delitem__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'");
19594  }
19595  arg2 = static_cast< std::vector< double >::difference_type >(val2);
19596  try {
19597  std_vector_Sl_double_Sg____delitem____SWIG_0(arg1,arg2);
19598  }
19599  catch(std::out_of_range &_e) {
19600  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
19601  }
19602 
19603  resultobj = SWIG_Py_Void();
19604  return resultobj;
19605 fail:
19606  return NULL;
19607 }
19608 
19609 
19610 SWIGINTERN PyObject *_wrap_vector_double___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19611  PyObject *resultobj = 0;
19612  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19613  PySliceObject *arg2 = (PySliceObject *) 0 ;
19614  void *argp1 = 0 ;
19615  int res1 = 0 ;
19616  PyObject * obj0 = 0 ;
19617  PyObject * obj1 = 0 ;
19618  std::vector< double,std::allocator< double > > *result = 0 ;
19619 
19620  if (!PyArg_ParseTuple(args,(char *)"OO:vector_double___getitem__",&obj0,&obj1)) SWIG_fail;
19621  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19622  if (!SWIG_IsOK(res1)) {
19623  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double___getitem__" "', argument " "1"" of type '" "std::vector< double > *""'");
19624  }
19625  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19626  {
19627  if (!PySlice_Check(obj1)) {
19628  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_double___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
19629  }
19630  arg2 = (PySliceObject *) obj1;
19631  }
19632  try {
19633  result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getitem____SWIG_0(arg1,arg2);
19634  }
19635  catch(std::out_of_range &_e) {
19636  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
19637  }
19638  catch(std::invalid_argument &_e) {
19639  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
19640  }
19641 
19642  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_OWN | 0 );
19643  return resultobj;
19644 fail:
19645  return NULL;
19646 }
19647 
19648 
19649 SWIGINTERN PyObject *_wrap_vector_double___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19650  PyObject *resultobj = 0;
19651  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19652  PySliceObject *arg2 = (PySliceObject *) 0 ;
19653  std::vector< double,std::allocator< double > > *arg3 = 0 ;
19654  void *argp1 = 0 ;
19655  int res1 = 0 ;
19656  int res3 = SWIG_OLDOBJ ;
19657  PyObject * obj0 = 0 ;
19658  PyObject * obj1 = 0 ;
19659  PyObject * obj2 = 0 ;
19660 
19661  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_double___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
19662  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19663  if (!SWIG_IsOK(res1)) {
19664  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double___setitem__" "', argument " "1"" of type '" "std::vector< double > *""'");
19665  }
19666  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19667  {
19668  if (!PySlice_Check(obj1)) {
19669  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_double___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
19670  }
19671  arg2 = (PySliceObject *) obj1;
19672  }
19673  {
19674  std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0;
19675  res3 = swig::asptr(obj2, &ptr);
19676  if (!SWIG_IsOK(res3)) {
19677  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_double___setitem__" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
19678  }
19679  if (!ptr) {
19680  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_double___setitem__" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
19681  }
19682  arg3 = ptr;
19683  }
19684  try {
19685  std_vector_Sl_double_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
19686  }
19687  catch(std::out_of_range &_e) {
19688  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
19689  }
19690  catch(std::invalid_argument &_e) {
19691  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
19692  }
19693 
19694  resultobj = SWIG_Py_Void();
19695  if (SWIG_IsNewObj(res3)) delete arg3;
19696  return resultobj;
19697 fail:
19698  if (SWIG_IsNewObj(res3)) delete arg3;
19699  return NULL;
19700 }
19701 
19702 
19703 SWIGINTERN PyObject *_wrap_vector_double___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19704  PyObject *resultobj = 0;
19705  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19706  PySliceObject *arg2 = (PySliceObject *) 0 ;
19707  void *argp1 = 0 ;
19708  int res1 = 0 ;
19709  PyObject * obj0 = 0 ;
19710  PyObject * obj1 = 0 ;
19711 
19712  if (!PyArg_ParseTuple(args,(char *)"OO:vector_double___setitem__",&obj0,&obj1)) SWIG_fail;
19713  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19714  if (!SWIG_IsOK(res1)) {
19715  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double___setitem__" "', argument " "1"" of type '" "std::vector< double > *""'");
19716  }
19717  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19718  {
19719  if (!PySlice_Check(obj1)) {
19720  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_double___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
19721  }
19722  arg2 = (PySliceObject *) obj1;
19723  }
19724  try {
19725  std_vector_Sl_double_Sg____setitem____SWIG_1(arg1,arg2);
19726  }
19727  catch(std::out_of_range &_e) {
19728  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
19729  }
19730  catch(std::invalid_argument &_e) {
19731  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
19732  }
19733 
19734  resultobj = SWIG_Py_Void();
19735  return resultobj;
19736 fail:
19737  return NULL;
19738 }
19739 
19740 
19741 SWIGINTERN PyObject *_wrap_vector_double___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19742  PyObject *resultobj = 0;
19743  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19744  PySliceObject *arg2 = (PySliceObject *) 0 ;
19745  void *argp1 = 0 ;
19746  int res1 = 0 ;
19747  PyObject * obj0 = 0 ;
19748  PyObject * obj1 = 0 ;
19749 
19750  if (!PyArg_ParseTuple(args,(char *)"OO:vector_double___delitem__",&obj0,&obj1)) SWIG_fail;
19751  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19752  if (!SWIG_IsOK(res1)) {
19753  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double___delitem__" "', argument " "1"" of type '" "std::vector< double > *""'");
19754  }
19755  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19756  {
19757  if (!PySlice_Check(obj1)) {
19758  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_double___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
19759  }
19760  arg2 = (PySliceObject *) obj1;
19761  }
19762  try {
19763  std_vector_Sl_double_Sg____delitem____SWIG_1(arg1,arg2);
19764  }
19765  catch(std::out_of_range &_e) {
19766  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
19767  }
19768  catch(std::invalid_argument &_e) {
19769  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
19770  }
19771 
19772  resultobj = SWIG_Py_Void();
19773  return resultobj;
19774 fail:
19775  return NULL;
19776 }
19777 
19778 
19779 SWIGINTERN PyObject *_wrap_vector_double___delitem__(PyObject *self, PyObject *args) {
19780  int argc;
19781  PyObject *argv[3];
19782  int ii;
19783 
19784  if (!PyTuple_Check(args)) SWIG_fail;
19785  argc = args ? (int)PyObject_Length(args) : 0;
19786  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
19787  argv[ii] = PyTuple_GET_ITEM(args,ii);
19788  }
19789  if (argc == 2) {
19790  int _v;
19791  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
19792  _v = SWIG_CheckState(res);
19793  if (_v) {
19794  {
19795  _v = PySlice_Check(argv[1]);
19796  }
19797  if (_v) {
19798  return _wrap_vector_double___delitem____SWIG_1(self, args);
19799  }
19800  }
19801  }
19802  if (argc == 2) {
19803  int _v;
19804  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
19805  _v = SWIG_CheckState(res);
19806  if (_v) {
19807  {
19808  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
19809  _v = SWIG_CheckState(res);
19810  }
19811  if (_v) {
19812  return _wrap_vector_double___delitem____SWIG_0(self, args);
19813  }
19814  }
19815  }
19816 
19817 fail:
19818  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_double___delitem__'.\n"
19819  " Possible C/C++ prototypes are:\n"
19820  " std::vector< double >::__delitem__(std::vector< double >::difference_type)\n"
19821  " std::vector< double >::__delitem__(PySliceObject *)\n");
19822  return 0;
19823 }
19824 
19825 
19826 SWIGINTERN PyObject *_wrap_vector_double___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19827  PyObject *resultobj = 0;
19828  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19829  std::vector< double >::difference_type arg2 ;
19830  void *argp1 = 0 ;
19831  int res1 = 0 ;
19832  ptrdiff_t val2 ;
19833  int ecode2 = 0 ;
19834  PyObject * obj0 = 0 ;
19835  PyObject * obj1 = 0 ;
19836  std::vector< double >::value_type *result = 0 ;
19837 
19838  if (!PyArg_ParseTuple(args,(char *)"OO:vector_double___getitem__",&obj0,&obj1)) SWIG_fail;
19839  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19840  if (!SWIG_IsOK(res1)) {
19841  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double___getitem__" "', argument " "1"" of type '" "std::vector< double > const *""'");
19842  }
19843  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19844  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
19845  if (!SWIG_IsOK(ecode2)) {
19846  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_double___getitem__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'");
19847  }
19848  arg2 = static_cast< std::vector< double >::difference_type >(val2);
19849  try {
19850  result = (std::vector< double >::value_type *) &std_vector_Sl_double_Sg____getitem____SWIG_1((std::vector< double > const *)arg1,arg2);
19851  }
19852  catch(std::out_of_range &_e) {
19853  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
19854  }
19855 
19856  resultobj = SWIG_From_double(static_cast< double >(*result));
19857  return resultobj;
19858 fail:
19859  return NULL;
19860 }
19861 
19862 
19863 SWIGINTERN PyObject *_wrap_vector_double___getitem__(PyObject *self, PyObject *args) {
19864  int argc;
19865  PyObject *argv[3];
19866  int ii;
19867 
19868  if (!PyTuple_Check(args)) SWIG_fail;
19869  argc = args ? (int)PyObject_Length(args) : 0;
19870  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
19871  argv[ii] = PyTuple_GET_ITEM(args,ii);
19872  }
19873  if (argc == 2) {
19874  int _v;
19875  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
19876  _v = SWIG_CheckState(res);
19877  if (_v) {
19878  {
19879  _v = PySlice_Check(argv[1]);
19880  }
19881  if (_v) {
19882  return _wrap_vector_double___getitem____SWIG_0(self, args);
19883  }
19884  }
19885  }
19886  if (argc == 2) {
19887  int _v;
19888  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
19889  _v = SWIG_CheckState(res);
19890  if (_v) {
19891  {
19892  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
19893  _v = SWIG_CheckState(res);
19894  }
19895  if (_v) {
19896  return _wrap_vector_double___getitem____SWIG_1(self, args);
19897  }
19898  }
19899  }
19900 
19901 fail:
19902  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_double___getitem__'.\n"
19903  " Possible C/C++ prototypes are:\n"
19904  " std::vector< double >::__getitem__(PySliceObject *)\n"
19905  " std::vector< double >::__getitem__(std::vector< double >::difference_type) const\n");
19906  return 0;
19907 }
19908 
19909 
19910 SWIGINTERN PyObject *_wrap_vector_double___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19911  PyObject *resultobj = 0;
19912  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19913  std::vector< double >::difference_type arg2 ;
19914  std::vector< double >::value_type *arg3 = 0 ;
19915  void *argp1 = 0 ;
19916  int res1 = 0 ;
19917  ptrdiff_t val2 ;
19918  int ecode2 = 0 ;
19919  std::vector< double >::value_type temp3 ;
19920  double val3 ;
19921  int ecode3 = 0 ;
19922  PyObject * obj0 = 0 ;
19923  PyObject * obj1 = 0 ;
19924  PyObject * obj2 = 0 ;
19925 
19926  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_double___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
19927  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
19928  if (!SWIG_IsOK(res1)) {
19929  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double___setitem__" "', argument " "1"" of type '" "std::vector< double > *""'");
19930  }
19931  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19932  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
19933  if (!SWIG_IsOK(ecode2)) {
19934  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_double___setitem__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'");
19935  }
19936  arg2 = static_cast< std::vector< double >::difference_type >(val2);
19937  ecode3 = SWIG_AsVal_double(obj2, &val3);
19938  if (!SWIG_IsOK(ecode3)) {
19939  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_double___setitem__" "', argument " "3"" of type '" "std::vector< double >::value_type""'");
19940  }
19941  temp3 = static_cast< std::vector< double >::value_type >(val3);
19942  arg3 = &temp3;
19943  try {
19944  std_vector_Sl_double_Sg____setitem____SWIG_2(arg1,arg2,(double const &)*arg3);
19945  }
19946  catch(std::out_of_range &_e) {
19947  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
19948  }
19949 
19950  resultobj = SWIG_Py_Void();
19951  return resultobj;
19952 fail:
19953  return NULL;
19954 }
19955 
19956 
19957 SWIGINTERN PyObject *_wrap_vector_double___setitem__(PyObject *self, PyObject *args) {
19958  int argc;
19959  PyObject *argv[4];
19960  int ii;
19961 
19962  if (!PyTuple_Check(args)) SWIG_fail;
19963  argc = args ? (int)PyObject_Length(args) : 0;
19964  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
19965  argv[ii] = PyTuple_GET_ITEM(args,ii);
19966  }
19967  if (argc == 2) {
19968  int _v;
19969  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
19970  _v = SWIG_CheckState(res);
19971  if (_v) {
19972  {
19973  _v = PySlice_Check(argv[1]);
19974  }
19975  if (_v) {
19976  return _wrap_vector_double___setitem____SWIG_1(self, args);
19977  }
19978  }
19979  }
19980  if (argc == 3) {
19981  int _v;
19982  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
19983  _v = SWIG_CheckState(res);
19984  if (_v) {
19985  {
19986  _v = PySlice_Check(argv[1]);
19987  }
19988  if (_v) {
19989  int res = swig::asptr(argv[2], (std::vector<double,std::allocator< double > >**)(0));
19990  _v = SWIG_CheckState(res);
19991  if (_v) {
19992  return _wrap_vector_double___setitem____SWIG_0(self, args);
19993  }
19994  }
19995  }
19996  }
19997  if (argc == 3) {
19998  int _v;
19999  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
20000  _v = SWIG_CheckState(res);
20001  if (_v) {
20002  {
20003  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
20004  _v = SWIG_CheckState(res);
20005  }
20006  if (_v) {
20007  {
20008  int res = SWIG_AsVal_double(argv[2], NULL);
20009  _v = SWIG_CheckState(res);
20010  }
20011  if (_v) {
20012  return _wrap_vector_double___setitem____SWIG_2(self, args);
20013  }
20014  }
20015  }
20016  }
20017 
20018 fail:
20019  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_double___setitem__'.\n"
20020  " Possible C/C++ prototypes are:\n"
20021  " std::vector< double >::__setitem__(PySliceObject *,std::vector< double,std::allocator< double > > const &)\n"
20022  " std::vector< double >::__setitem__(PySliceObject *)\n"
20023  " std::vector< double >::__setitem__(std::vector< double >::difference_type,std::vector< double >::value_type const &)\n");
20024  return 0;
20025 }
20026 
20027 
20028 SWIGINTERN PyObject *_wrap_vector_double_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20029  PyObject *resultobj = 0;
20030  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20031  std::vector< double >::value_type *arg2 = 0 ;
20032  void *argp1 = 0 ;
20033  int res1 = 0 ;
20034  std::vector< double >::value_type temp2 ;
20035  double val2 ;
20036  int ecode2 = 0 ;
20037  PyObject * obj0 = 0 ;
20038  PyObject * obj1 = 0 ;
20039 
20040  if (!PyArg_ParseTuple(args,(char *)"OO:vector_double_append",&obj0,&obj1)) SWIG_fail;
20041  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20042  if (!SWIG_IsOK(res1)) {
20043  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_append" "', argument " "1"" of type '" "std::vector< double > *""'");
20044  }
20045  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20046  ecode2 = SWIG_AsVal_double(obj1, &val2);
20047  if (!SWIG_IsOK(ecode2)) {
20048  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_double_append" "', argument " "2"" of type '" "std::vector< double >::value_type""'");
20049  }
20050  temp2 = static_cast< std::vector< double >::value_type >(val2);
20051  arg2 = &temp2;
20052  std_vector_Sl_double_Sg__append(arg1,(double const &)*arg2);
20053  resultobj = SWIG_Py_Void();
20054  return resultobj;
20055 fail:
20056  return NULL;
20057 }
20058 
20059 
20060 SWIGINTERN PyObject *_wrap_new_vector_double__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20061  PyObject *resultobj = 0;
20062  std::vector< double > *result = 0 ;
20063 
20064  if (!PyArg_ParseTuple(args,(char *)":new_vector_double")) SWIG_fail;
20065  result = (std::vector< double > *)new std::vector< double >();
20066  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_NEW | 0 );
20067  return resultobj;
20068 fail:
20069  return NULL;
20070 }
20071 
20072 
20073 SWIGINTERN PyObject *_wrap_new_vector_double__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20074  PyObject *resultobj = 0;
20075  std::vector< double > *arg1 = 0 ;
20076  int res1 = SWIG_OLDOBJ ;
20077  PyObject * obj0 = 0 ;
20078  std::vector< double > *result = 0 ;
20079 
20080  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_double",&obj0)) SWIG_fail;
20081  {
20082  std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0;
20083  res1 = swig::asptr(obj0, &ptr);
20084  if (!SWIG_IsOK(res1)) {
20085  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_double" "', argument " "1"" of type '" "std::vector< double > const &""'");
20086  }
20087  if (!ptr) {
20088  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_double" "', argument " "1"" of type '" "std::vector< double > const &""'");
20089  }
20090  arg1 = ptr;
20091  }
20092  result = (std::vector< double > *)new std::vector< double >((std::vector< double > const &)*arg1);
20093  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_NEW | 0 );
20094  if (SWIG_IsNewObj(res1)) delete arg1;
20095  return resultobj;
20096 fail:
20097  if (SWIG_IsNewObj(res1)) delete arg1;
20098  return NULL;
20099 }
20100 
20101 
20102 SWIGINTERN PyObject *_wrap_vector_double_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20103  PyObject *resultobj = 0;
20104  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20105  void *argp1 = 0 ;
20106  int res1 = 0 ;
20107  PyObject * obj0 = 0 ;
20108  bool result;
20109 
20110  if (!PyArg_ParseTuple(args,(char *)"O:vector_double_empty",&obj0)) SWIG_fail;
20111  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20112  if (!SWIG_IsOK(res1)) {
20113  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_empty" "', argument " "1"" of type '" "std::vector< double > const *""'");
20114  }
20115  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20116  result = (bool)((std::vector< double > const *)arg1)->empty();
20117  resultobj = SWIG_From_bool(static_cast< bool >(result));
20118  return resultobj;
20119 fail:
20120  return NULL;
20121 }
20122 
20123 
20124 SWIGINTERN PyObject *_wrap_vector_double_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20125  PyObject *resultobj = 0;
20126  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20127  void *argp1 = 0 ;
20128  int res1 = 0 ;
20129  PyObject * obj0 = 0 ;
20130  std::vector< double >::size_type result;
20131 
20132  if (!PyArg_ParseTuple(args,(char *)"O:vector_double_size",&obj0)) SWIG_fail;
20133  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20134  if (!SWIG_IsOK(res1)) {
20135  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_size" "', argument " "1"" of type '" "std::vector< double > const *""'");
20136  }
20137  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20138  result = ((std::vector< double > const *)arg1)->size();
20139  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
20140  return resultobj;
20141 fail:
20142  return NULL;
20143 }
20144 
20145 
20146 SWIGINTERN PyObject *_wrap_vector_double_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20147  PyObject *resultobj = 0;
20148  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20149  void *argp1 = 0 ;
20150  int res1 = 0 ;
20151  PyObject * obj0 = 0 ;
20152 
20153  if (!PyArg_ParseTuple(args,(char *)"O:vector_double_clear",&obj0)) SWIG_fail;
20154  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20155  if (!SWIG_IsOK(res1)) {
20156  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_clear" "', argument " "1"" of type '" "std::vector< double > *""'");
20157  }
20158  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20159  (arg1)->clear();
20160  resultobj = SWIG_Py_Void();
20161  return resultobj;
20162 fail:
20163  return NULL;
20164 }
20165 
20166 
20167 SWIGINTERN PyObject *_wrap_vector_double_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20168  PyObject *resultobj = 0;
20169  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20170  std::vector< double > *arg2 = 0 ;
20171  void *argp1 = 0 ;
20172  int res1 = 0 ;
20173  void *argp2 = 0 ;
20174  int res2 = 0 ;
20175  PyObject * obj0 = 0 ;
20176  PyObject * obj1 = 0 ;
20177 
20178  if (!PyArg_ParseTuple(args,(char *)"OO:vector_double_swap",&obj0,&obj1)) SWIG_fail;
20179  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20180  if (!SWIG_IsOK(res1)) {
20181  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_swap" "', argument " "1"" of type '" "std::vector< double > *""'");
20182  }
20183  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20184  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 );
20185  if (!SWIG_IsOK(res2)) {
20186  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_double_swap" "', argument " "2"" of type '" "std::vector< double > &""'");
20187  }
20188  if (!argp2) {
20189  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_double_swap" "', argument " "2"" of type '" "std::vector< double > &""'");
20190  }
20191  arg2 = reinterpret_cast< std::vector< double > * >(argp2);
20192  (arg1)->swap(*arg2);
20193  resultobj = SWIG_Py_Void();
20194  return resultobj;
20195 fail:
20196  return NULL;
20197 }
20198 
20199 
20200 SWIGINTERN PyObject *_wrap_vector_double_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20201  PyObject *resultobj = 0;
20202  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20203  void *argp1 = 0 ;
20204  int res1 = 0 ;
20205  PyObject * obj0 = 0 ;
20206  SwigValueWrapper< std::allocator< double > > result;
20207 
20208  if (!PyArg_ParseTuple(args,(char *)"O:vector_double_get_allocator",&obj0)) SWIG_fail;
20209  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20210  if (!SWIG_IsOK(res1)) {
20211  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_get_allocator" "', argument " "1"" of type '" "std::vector< double > const *""'");
20212  }
20213  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20214  result = ((std::vector< double > const *)arg1)->get_allocator();
20215  resultobj = SWIG_NewPointerObj((new std::vector< double >::allocator_type(static_cast< const std::vector< double >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_double_t, SWIG_POINTER_OWN | 0 );
20216  return resultobj;
20217 fail:
20218  return NULL;
20219 }
20220 
20221 
20222 SWIGINTERN PyObject *_wrap_vector_double_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20223  PyObject *resultobj = 0;
20224  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20225  void *argp1 = 0 ;
20226  int res1 = 0 ;
20227  PyObject * obj0 = 0 ;
20228  std::vector< double >::iterator result;
20229 
20230  if (!PyArg_ParseTuple(args,(char *)"O:vector_double_begin",&obj0)) SWIG_fail;
20231  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20232  if (!SWIG_IsOK(res1)) {
20233  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_begin" "', argument " "1"" of type '" "std::vector< double > *""'");
20234  }
20235  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20236  result = (arg1)->begin();
20237  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)),
20238  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
20239  return resultobj;
20240 fail:
20241  return NULL;
20242 }
20243 
20244 
20245 SWIGINTERN PyObject *_wrap_vector_double_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20246  PyObject *resultobj = 0;
20247  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20248  void *argp1 = 0 ;
20249  int res1 = 0 ;
20250  PyObject * obj0 = 0 ;
20251  std::vector< double >::iterator result;
20252 
20253  if (!PyArg_ParseTuple(args,(char *)"O:vector_double_end",&obj0)) SWIG_fail;
20254  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20255  if (!SWIG_IsOK(res1)) {
20256  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_end" "', argument " "1"" of type '" "std::vector< double > *""'");
20257  }
20258  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20259  result = (arg1)->end();
20260  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)),
20261  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
20262  return resultobj;
20263 fail:
20264  return NULL;
20265 }
20266 
20267 
20268 SWIGINTERN PyObject *_wrap_vector_double_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20269  PyObject *resultobj = 0;
20270  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20271  void *argp1 = 0 ;
20272  int res1 = 0 ;
20273  PyObject * obj0 = 0 ;
20274  std::vector< double >::reverse_iterator result;
20275 
20276  if (!PyArg_ParseTuple(args,(char *)"O:vector_double_rbegin",&obj0)) SWIG_fail;
20277  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20278  if (!SWIG_IsOK(res1)) {
20279  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_rbegin" "', argument " "1"" of type '" "std::vector< double > *""'");
20280  }
20281  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20282  result = (arg1)->rbegin();
20283  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::reverse_iterator & >(result)),
20284  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
20285  return resultobj;
20286 fail:
20287  return NULL;
20288 }
20289 
20290 
20291 SWIGINTERN PyObject *_wrap_vector_double_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20292  PyObject *resultobj = 0;
20293  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20294  void *argp1 = 0 ;
20295  int res1 = 0 ;
20296  PyObject * obj0 = 0 ;
20297  std::vector< double >::reverse_iterator result;
20298 
20299  if (!PyArg_ParseTuple(args,(char *)"O:vector_double_rend",&obj0)) SWIG_fail;
20300  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20301  if (!SWIG_IsOK(res1)) {
20302  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_rend" "', argument " "1"" of type '" "std::vector< double > *""'");
20303  }
20304  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20305  result = (arg1)->rend();
20306  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::reverse_iterator & >(result)),
20307  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
20308  return resultobj;
20309 fail:
20310  return NULL;
20311 }
20312 
20313 
20314 SWIGINTERN PyObject *_wrap_new_vector_double__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20315  PyObject *resultobj = 0;
20316  std::vector< double >::size_type arg1 ;
20317  size_t val1 ;
20318  int ecode1 = 0 ;
20319  PyObject * obj0 = 0 ;
20320  std::vector< double > *result = 0 ;
20321 
20322  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_double",&obj0)) SWIG_fail;
20323  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
20324  if (!SWIG_IsOK(ecode1)) {
20325  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_double" "', argument " "1"" of type '" "std::vector< double >::size_type""'");
20326  }
20327  arg1 = static_cast< std::vector< double >::size_type >(val1);
20328  result = (std::vector< double > *)new std::vector< double >(arg1);
20329  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_NEW | 0 );
20330  return resultobj;
20331 fail:
20332  return NULL;
20333 }
20334 
20335 
20336 SWIGINTERN PyObject *_wrap_vector_double_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20337  PyObject *resultobj = 0;
20338  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20339  void *argp1 = 0 ;
20340  int res1 = 0 ;
20341  PyObject * obj0 = 0 ;
20342 
20343  if (!PyArg_ParseTuple(args,(char *)"O:vector_double_pop_back",&obj0)) SWIG_fail;
20344  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20345  if (!SWIG_IsOK(res1)) {
20346  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_pop_back" "', argument " "1"" of type '" "std::vector< double > *""'");
20347  }
20348  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20349  (arg1)->pop_back();
20350  resultobj = SWIG_Py_Void();
20351  return resultobj;
20352 fail:
20353  return NULL;
20354 }
20355 
20356 
20357 SWIGINTERN PyObject *_wrap_vector_double_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20358  PyObject *resultobj = 0;
20359  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20360  std::vector< double >::size_type arg2 ;
20361  void *argp1 = 0 ;
20362  int res1 = 0 ;
20363  size_t val2 ;
20364  int ecode2 = 0 ;
20365  PyObject * obj0 = 0 ;
20366  PyObject * obj1 = 0 ;
20367 
20368  if (!PyArg_ParseTuple(args,(char *)"OO:vector_double_resize",&obj0,&obj1)) SWIG_fail;
20369  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20370  if (!SWIG_IsOK(res1)) {
20371  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_resize" "', argument " "1"" of type '" "std::vector< double > *""'");
20372  }
20373  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20374  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20375  if (!SWIG_IsOK(ecode2)) {
20376  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_double_resize" "', argument " "2"" of type '" "std::vector< double >::size_type""'");
20377  }
20378  arg2 = static_cast< std::vector< double >::size_type >(val2);
20379  (arg1)->resize(arg2);
20380  resultobj = SWIG_Py_Void();
20381  return resultobj;
20382 fail:
20383  return NULL;
20384 }
20385 
20386 
20387 SWIGINTERN PyObject *_wrap_vector_double_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20388  PyObject *resultobj = 0;
20389  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20390  std::vector< double >::iterator arg2 ;
20391  void *argp1 = 0 ;
20392  int res1 = 0 ;
20393  swig::SwigPyIterator *iter2 = 0 ;
20394  int res2 ;
20395  PyObject * obj0 = 0 ;
20396  PyObject * obj1 = 0 ;
20397  std::vector< double >::iterator result;
20398 
20399  if (!PyArg_ParseTuple(args,(char *)"OO:vector_double_erase",&obj0,&obj1)) SWIG_fail;
20400  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20401  if (!SWIG_IsOK(res1)) {
20402  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_erase" "', argument " "1"" of type '" "std::vector< double > *""'");
20403  }
20404  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20405  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
20406  if (!SWIG_IsOK(res2) || !iter2) {
20407  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_double_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
20408  } else {
20410  if (iter_t) {
20411  arg2 = iter_t->get_current();
20412  } else {
20413  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_double_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
20414  }
20415  }
20416  result = std_vector_Sl_double_Sg__erase__SWIG_0(arg1,arg2);
20417  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)),
20418  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
20419  return resultobj;
20420 fail:
20421  return NULL;
20422 }
20423 
20424 
20425 SWIGINTERN PyObject *_wrap_vector_double_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20426  PyObject *resultobj = 0;
20427  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20428  std::vector< double >::iterator arg2 ;
20429  std::vector< double >::iterator arg3 ;
20430  void *argp1 = 0 ;
20431  int res1 = 0 ;
20432  swig::SwigPyIterator *iter2 = 0 ;
20433  int res2 ;
20434  swig::SwigPyIterator *iter3 = 0 ;
20435  int res3 ;
20436  PyObject * obj0 = 0 ;
20437  PyObject * obj1 = 0 ;
20438  PyObject * obj2 = 0 ;
20439  std::vector< double >::iterator result;
20440 
20441  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_double_erase",&obj0,&obj1,&obj2)) SWIG_fail;
20442  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20443  if (!SWIG_IsOK(res1)) {
20444  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_erase" "', argument " "1"" of type '" "std::vector< double > *""'");
20445  }
20446  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20447  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
20448  if (!SWIG_IsOK(res2) || !iter2) {
20449  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_double_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
20450  } else {
20452  if (iter_t) {
20453  arg2 = iter_t->get_current();
20454  } else {
20455  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_double_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
20456  }
20457  }
20458  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
20459  if (!SWIG_IsOK(res3) || !iter3) {
20460  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_double_erase" "', argument " "3"" of type '" "std::vector< double >::iterator""'");
20461  } else {
20463  if (iter_t) {
20464  arg3 = iter_t->get_current();
20465  } else {
20466  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_double_erase" "', argument " "3"" of type '" "std::vector< double >::iterator""'");
20467  }
20468  }
20469  result = std_vector_Sl_double_Sg__erase__SWIG_1(arg1,arg2,arg3);
20470  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)),
20471  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
20472  return resultobj;
20473 fail:
20474  return NULL;
20475 }
20476 
20477 
20478 SWIGINTERN PyObject *_wrap_vector_double_erase(PyObject *self, PyObject *args) {
20479  int argc;
20480  PyObject *argv[4];
20481  int ii;
20482 
20483  if (!PyTuple_Check(args)) SWIG_fail;
20484  argc = args ? (int)PyObject_Length(args) : 0;
20485  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
20486  argv[ii] = PyTuple_GET_ITEM(args,ii);
20487  }
20488  if (argc == 2) {
20489  int _v;
20490  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
20491  _v = SWIG_CheckState(res);
20492  if (_v) {
20493  swig::SwigPyIterator *iter = 0;
20494  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
20495  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter) != 0));
20496  if (_v) {
20497  return _wrap_vector_double_erase__SWIG_0(self, args);
20498  }
20499  }
20500  }
20501  if (argc == 3) {
20502  int _v;
20503  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
20504  _v = SWIG_CheckState(res);
20505  if (_v) {
20506  swig::SwigPyIterator *iter = 0;
20507  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
20508  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter) != 0));
20509  if (_v) {
20510  swig::SwigPyIterator *iter = 0;
20511  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
20512  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter) != 0));
20513  if (_v) {
20514  return _wrap_vector_double_erase__SWIG_1(self, args);
20515  }
20516  }
20517  }
20518  }
20519 
20520 fail:
20521  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_double_erase'.\n"
20522  " Possible C/C++ prototypes are:\n"
20523  " std::vector< double >::erase(std::vector< double >::iterator)\n"
20524  " std::vector< double >::erase(std::vector< double >::iterator,std::vector< double >::iterator)\n");
20525  return 0;
20526 }
20527 
20528 
20529 SWIGINTERN PyObject *_wrap_new_vector_double__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20530  PyObject *resultobj = 0;
20531  std::vector< double >::size_type arg1 ;
20532  std::vector< double >::value_type *arg2 = 0 ;
20533  size_t val1 ;
20534  int ecode1 = 0 ;
20535  std::vector< double >::value_type temp2 ;
20536  double val2 ;
20537  int ecode2 = 0 ;
20538  PyObject * obj0 = 0 ;
20539  PyObject * obj1 = 0 ;
20540  std::vector< double > *result = 0 ;
20541 
20542  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_double",&obj0,&obj1)) SWIG_fail;
20543  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
20544  if (!SWIG_IsOK(ecode1)) {
20545  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_double" "', argument " "1"" of type '" "std::vector< double >::size_type""'");
20546  }
20547  arg1 = static_cast< std::vector< double >::size_type >(val1);
20548  ecode2 = SWIG_AsVal_double(obj1, &val2);
20549  if (!SWIG_IsOK(ecode2)) {
20550  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_vector_double" "', argument " "2"" of type '" "std::vector< double >::value_type""'");
20551  }
20552  temp2 = static_cast< std::vector< double >::value_type >(val2);
20553  arg2 = &temp2;
20554  result = (std::vector< double > *)new std::vector< double >(arg1,(std::vector< double >::value_type const &)*arg2);
20555  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_NEW | 0 );
20556  return resultobj;
20557 fail:
20558  return NULL;
20559 }
20560 
20561 
20562 SWIGINTERN PyObject *_wrap_new_vector_double(PyObject *self, PyObject *args) {
20563  int argc;
20564  PyObject *argv[3];
20565  int ii;
20566 
20567  if (!PyTuple_Check(args)) SWIG_fail;
20568  argc = args ? (int)PyObject_Length(args) : 0;
20569  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
20570  argv[ii] = PyTuple_GET_ITEM(args,ii);
20571  }
20572  if (argc == 0) {
20573  return _wrap_new_vector_double__SWIG_0(self, args);
20574  }
20575  if (argc == 1) {
20576  int _v;
20577  {
20578  int res = SWIG_AsVal_size_t(argv[0], NULL);
20579  _v = SWIG_CheckState(res);
20580  }
20581  if (_v) {
20582  return _wrap_new_vector_double__SWIG_2(self, args);
20583  }
20584  }
20585  if (argc == 1) {
20586  int _v;
20587  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
20588  _v = SWIG_CheckState(res);
20589  if (_v) {
20590  return _wrap_new_vector_double__SWIG_1(self, args);
20591  }
20592  }
20593  if (argc == 2) {
20594  int _v;
20595  {
20596  int res = SWIG_AsVal_size_t(argv[0], NULL);
20597  _v = SWIG_CheckState(res);
20598  }
20599  if (_v) {
20600  {
20601  int res = SWIG_AsVal_double(argv[1], NULL);
20602  _v = SWIG_CheckState(res);
20603  }
20604  if (_v) {
20605  return _wrap_new_vector_double__SWIG_3(self, args);
20606  }
20607  }
20608  }
20609 
20610 fail:
20611  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_double'.\n"
20612  " Possible C/C++ prototypes are:\n"
20613  " std::vector< double >::vector()\n"
20614  " std::vector< double >::vector(std::vector< double > const &)\n"
20615  " std::vector< double >::vector(std::vector< double >::size_type)\n"
20616  " std::vector< double >::vector(std::vector< double >::size_type,std::vector< double >::value_type const &)\n");
20617  return 0;
20618 }
20619 
20620 
20621 SWIGINTERN PyObject *_wrap_vector_double_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20622  PyObject *resultobj = 0;
20623  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20624  std::vector< double >::value_type *arg2 = 0 ;
20625  void *argp1 = 0 ;
20626  int res1 = 0 ;
20627  std::vector< double >::value_type temp2 ;
20628  double val2 ;
20629  int ecode2 = 0 ;
20630  PyObject * obj0 = 0 ;
20631  PyObject * obj1 = 0 ;
20632 
20633  if (!PyArg_ParseTuple(args,(char *)"OO:vector_double_push_back",&obj0,&obj1)) SWIG_fail;
20634  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20635  if (!SWIG_IsOK(res1)) {
20636  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_push_back" "', argument " "1"" of type '" "std::vector< double > *""'");
20637  }
20638  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20639  ecode2 = SWIG_AsVal_double(obj1, &val2);
20640  if (!SWIG_IsOK(ecode2)) {
20641  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_double_push_back" "', argument " "2"" of type '" "std::vector< double >::value_type""'");
20642  }
20643  temp2 = static_cast< std::vector< double >::value_type >(val2);
20644  arg2 = &temp2;
20645  (arg1)->push_back((std::vector< double >::value_type const &)*arg2);
20646  resultobj = SWIG_Py_Void();
20647  return resultobj;
20648 fail:
20649  return NULL;
20650 }
20651 
20652 
20653 SWIGINTERN PyObject *_wrap_vector_double_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20654  PyObject *resultobj = 0;
20655  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20656  void *argp1 = 0 ;
20657  int res1 = 0 ;
20658  PyObject * obj0 = 0 ;
20659  std::vector< double >::value_type *result = 0 ;
20660 
20661  if (!PyArg_ParseTuple(args,(char *)"O:vector_double_front",&obj0)) SWIG_fail;
20662  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20663  if (!SWIG_IsOK(res1)) {
20664  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_front" "', argument " "1"" of type '" "std::vector< double > const *""'");
20665  }
20666  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20667  result = (std::vector< double >::value_type *) &((std::vector< double > const *)arg1)->front();
20668  resultobj = SWIG_From_double(static_cast< double >(*result));
20669  return resultobj;
20670 fail:
20671  return NULL;
20672 }
20673 
20674 
20675 SWIGINTERN PyObject *_wrap_vector_double_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20676  PyObject *resultobj = 0;
20677  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20678  void *argp1 = 0 ;
20679  int res1 = 0 ;
20680  PyObject * obj0 = 0 ;
20681  std::vector< double >::value_type *result = 0 ;
20682 
20683  if (!PyArg_ParseTuple(args,(char *)"O:vector_double_back",&obj0)) SWIG_fail;
20684  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20685  if (!SWIG_IsOK(res1)) {
20686  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_back" "', argument " "1"" of type '" "std::vector< double > const *""'");
20687  }
20688  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20689  result = (std::vector< double >::value_type *) &((std::vector< double > const *)arg1)->back();
20690  resultobj = SWIG_From_double(static_cast< double >(*result));
20691  return resultobj;
20692 fail:
20693  return NULL;
20694 }
20695 
20696 
20697 SWIGINTERN PyObject *_wrap_vector_double_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20698  PyObject *resultobj = 0;
20699  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20700  std::vector< double >::size_type arg2 ;
20701  std::vector< double >::value_type *arg3 = 0 ;
20702  void *argp1 = 0 ;
20703  int res1 = 0 ;
20704  size_t val2 ;
20705  int ecode2 = 0 ;
20706  std::vector< double >::value_type temp3 ;
20707  double val3 ;
20708  int ecode3 = 0 ;
20709  PyObject * obj0 = 0 ;
20710  PyObject * obj1 = 0 ;
20711  PyObject * obj2 = 0 ;
20712 
20713  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_double_assign",&obj0,&obj1,&obj2)) SWIG_fail;
20714  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20715  if (!SWIG_IsOK(res1)) {
20716  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_assign" "', argument " "1"" of type '" "std::vector< double > *""'");
20717  }
20718  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20719  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20720  if (!SWIG_IsOK(ecode2)) {
20721  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_double_assign" "', argument " "2"" of type '" "std::vector< double >::size_type""'");
20722  }
20723  arg2 = static_cast< std::vector< double >::size_type >(val2);
20724  ecode3 = SWIG_AsVal_double(obj2, &val3);
20725  if (!SWIG_IsOK(ecode3)) {
20726  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_double_assign" "', argument " "3"" of type '" "std::vector< double >::value_type""'");
20727  }
20728  temp3 = static_cast< std::vector< double >::value_type >(val3);
20729  arg3 = &temp3;
20730  (arg1)->assign(arg2,(std::vector< double >::value_type const &)*arg3);
20731  resultobj = SWIG_Py_Void();
20732  return resultobj;
20733 fail:
20734  return NULL;
20735 }
20736 
20737 
20738 SWIGINTERN PyObject *_wrap_vector_double_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20739  PyObject *resultobj = 0;
20740  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20741  std::vector< double >::size_type arg2 ;
20742  std::vector< double >::value_type *arg3 = 0 ;
20743  void *argp1 = 0 ;
20744  int res1 = 0 ;
20745  size_t val2 ;
20746  int ecode2 = 0 ;
20747  std::vector< double >::value_type temp3 ;
20748  double val3 ;
20749  int ecode3 = 0 ;
20750  PyObject * obj0 = 0 ;
20751  PyObject * obj1 = 0 ;
20752  PyObject * obj2 = 0 ;
20753 
20754  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_double_resize",&obj0,&obj1,&obj2)) SWIG_fail;
20755  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20756  if (!SWIG_IsOK(res1)) {
20757  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_resize" "', argument " "1"" of type '" "std::vector< double > *""'");
20758  }
20759  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20760  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20761  if (!SWIG_IsOK(ecode2)) {
20762  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_double_resize" "', argument " "2"" of type '" "std::vector< double >::size_type""'");
20763  }
20764  arg2 = static_cast< std::vector< double >::size_type >(val2);
20765  ecode3 = SWIG_AsVal_double(obj2, &val3);
20766  if (!SWIG_IsOK(ecode3)) {
20767  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_double_resize" "', argument " "3"" of type '" "std::vector< double >::value_type""'");
20768  }
20769  temp3 = static_cast< std::vector< double >::value_type >(val3);
20770  arg3 = &temp3;
20771  (arg1)->resize(arg2,(std::vector< double >::value_type const &)*arg3);
20772  resultobj = SWIG_Py_Void();
20773  return resultobj;
20774 fail:
20775  return NULL;
20776 }
20777 
20778 
20779 SWIGINTERN PyObject *_wrap_vector_double_resize(PyObject *self, PyObject *args) {
20780  int argc;
20781  PyObject *argv[4];
20782  int ii;
20783 
20784  if (!PyTuple_Check(args)) SWIG_fail;
20785  argc = args ? (int)PyObject_Length(args) : 0;
20786  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
20787  argv[ii] = PyTuple_GET_ITEM(args,ii);
20788  }
20789  if (argc == 2) {
20790  int _v;
20791  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
20792  _v = SWIG_CheckState(res);
20793  if (_v) {
20794  {
20795  int res = SWIG_AsVal_size_t(argv[1], NULL);
20796  _v = SWIG_CheckState(res);
20797  }
20798  if (_v) {
20799  return _wrap_vector_double_resize__SWIG_0(self, args);
20800  }
20801  }
20802  }
20803  if (argc == 3) {
20804  int _v;
20805  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
20806  _v = SWIG_CheckState(res);
20807  if (_v) {
20808  {
20809  int res = SWIG_AsVal_size_t(argv[1], NULL);
20810  _v = SWIG_CheckState(res);
20811  }
20812  if (_v) {
20813  {
20814  int res = SWIG_AsVal_double(argv[2], NULL);
20815  _v = SWIG_CheckState(res);
20816  }
20817  if (_v) {
20818  return _wrap_vector_double_resize__SWIG_1(self, args);
20819  }
20820  }
20821  }
20822  }
20823 
20824 fail:
20825  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_double_resize'.\n"
20826  " Possible C/C++ prototypes are:\n"
20827  " std::vector< double >::resize(std::vector< double >::size_type)\n"
20828  " std::vector< double >::resize(std::vector< double >::size_type,std::vector< double >::value_type const &)\n");
20829  return 0;
20830 }
20831 
20832 
20833 SWIGINTERN PyObject *_wrap_vector_double_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20834  PyObject *resultobj = 0;
20835  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20836  std::vector< double >::iterator arg2 ;
20837  std::vector< double >::value_type *arg3 = 0 ;
20838  void *argp1 = 0 ;
20839  int res1 = 0 ;
20840  swig::SwigPyIterator *iter2 = 0 ;
20841  int res2 ;
20842  std::vector< double >::value_type temp3 ;
20843  double val3 ;
20844  int ecode3 = 0 ;
20845  PyObject * obj0 = 0 ;
20846  PyObject * obj1 = 0 ;
20847  PyObject * obj2 = 0 ;
20848  std::vector< double >::iterator result;
20849 
20850  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_double_insert",&obj0,&obj1,&obj2)) SWIG_fail;
20851  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20852  if (!SWIG_IsOK(res1)) {
20853  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_insert" "', argument " "1"" of type '" "std::vector< double > *""'");
20854  }
20855  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20856  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
20857  if (!SWIG_IsOK(res2) || !iter2) {
20858  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_double_insert" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
20859  } else {
20861  if (iter_t) {
20862  arg2 = iter_t->get_current();
20863  } else {
20864  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_double_insert" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
20865  }
20866  }
20867  ecode3 = SWIG_AsVal_double(obj2, &val3);
20868  if (!SWIG_IsOK(ecode3)) {
20869  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_double_insert" "', argument " "3"" of type '" "std::vector< double >::value_type""'");
20870  }
20871  temp3 = static_cast< std::vector< double >::value_type >(val3);
20872  arg3 = &temp3;
20873  result = std_vector_Sl_double_Sg__insert__SWIG_0(arg1,arg2,(double const &)*arg3);
20874  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)),
20875  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
20876  return resultobj;
20877 fail:
20878  return NULL;
20879 }
20880 
20881 
20882 SWIGINTERN PyObject *_wrap_vector_double_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20883  PyObject *resultobj = 0;
20884  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
20885  std::vector< double >::iterator arg2 ;
20886  std::vector< double >::size_type arg3 ;
20887  std::vector< double >::value_type *arg4 = 0 ;
20888  void *argp1 = 0 ;
20889  int res1 = 0 ;
20890  swig::SwigPyIterator *iter2 = 0 ;
20891  int res2 ;
20892  size_t val3 ;
20893  int ecode3 = 0 ;
20894  std::vector< double >::value_type temp4 ;
20895  double val4 ;
20896  int ecode4 = 0 ;
20897  PyObject * obj0 = 0 ;
20898  PyObject * obj1 = 0 ;
20899  PyObject * obj2 = 0 ;
20900  PyObject * obj3 = 0 ;
20901 
20902  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_double_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20903  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
20904  if (!SWIG_IsOK(res1)) {
20905  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_insert" "', argument " "1"" of type '" "std::vector< double > *""'");
20906  }
20907  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
20908  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
20909  if (!SWIG_IsOK(res2) || !iter2) {
20910  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_double_insert" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
20911  } else {
20913  if (iter_t) {
20914  arg2 = iter_t->get_current();
20915  } else {
20916  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_double_insert" "', argument " "2"" of type '" "std::vector< double >::iterator""'");
20917  }
20918  }
20919  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
20920  if (!SWIG_IsOK(ecode3)) {
20921  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_double_insert" "', argument " "3"" of type '" "std::vector< double >::size_type""'");
20922  }
20923  arg3 = static_cast< std::vector< double >::size_type >(val3);
20924  ecode4 = SWIG_AsVal_double(obj3, &val4);
20925  if (!SWIG_IsOK(ecode4)) {
20926  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "vector_double_insert" "', argument " "4"" of type '" "std::vector< double >::value_type""'");
20927  }
20928  temp4 = static_cast< std::vector< double >::value_type >(val4);
20929  arg4 = &temp4;
20930  std_vector_Sl_double_Sg__insert__SWIG_1(arg1,arg2,arg3,(double const &)*arg4);
20931  resultobj = SWIG_Py_Void();
20932  return resultobj;
20933 fail:
20934  return NULL;
20935 }
20936 
20937 
20938 SWIGINTERN PyObject *_wrap_vector_double_insert(PyObject *self, PyObject *args) {
20939  int argc;
20940  PyObject *argv[5];
20941  int ii;
20942 
20943  if (!PyTuple_Check(args)) SWIG_fail;
20944  argc = args ? (int)PyObject_Length(args) : 0;
20945  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
20946  argv[ii] = PyTuple_GET_ITEM(args,ii);
20947  }
20948  if (argc == 3) {
20949  int _v;
20950  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
20951  _v = SWIG_CheckState(res);
20952  if (_v) {
20953  swig::SwigPyIterator *iter = 0;
20954  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
20955  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter) != 0));
20956  if (_v) {
20957  {
20958  int res = SWIG_AsVal_double(argv[2], NULL);
20959  _v = SWIG_CheckState(res);
20960  }
20961  if (_v) {
20962  return _wrap_vector_double_insert__SWIG_0(self, args);
20963  }
20964  }
20965  }
20966  }
20967  if (argc == 4) {
20968  int _v;
20969  int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
20970  _v = SWIG_CheckState(res);
20971  if (_v) {
20972  swig::SwigPyIterator *iter = 0;
20973  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
20974  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter) != 0));
20975  if (_v) {
20976  {
20977  int res = SWIG_AsVal_size_t(argv[2], NULL);
20978  _v = SWIG_CheckState(res);
20979  }
20980  if (_v) {
20981  {
20982  int res = SWIG_AsVal_double(argv[3], NULL);
20983  _v = SWIG_CheckState(res);
20984  }
20985  if (_v) {
20986  return _wrap_vector_double_insert__SWIG_1(self, args);
20987  }
20988  }
20989  }
20990  }
20991  }
20992 
20993 fail:
20994  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_double_insert'.\n"
20995  " Possible C/C++ prototypes are:\n"
20996  " std::vector< double >::insert(std::vector< double >::iterator,std::vector< double >::value_type const &)\n"
20997  " std::vector< double >::insert(std::vector< double >::iterator,std::vector< double >::size_type,std::vector< double >::value_type const &)\n");
20998  return 0;
20999 }
21000 
21001 
21002 SWIGINTERN PyObject *_wrap_vector_double_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21003  PyObject *resultobj = 0;
21004  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
21005  std::vector< double >::size_type arg2 ;
21006  void *argp1 = 0 ;
21007  int res1 = 0 ;
21008  size_t val2 ;
21009  int ecode2 = 0 ;
21010  PyObject * obj0 = 0 ;
21011  PyObject * obj1 = 0 ;
21012 
21013  if (!PyArg_ParseTuple(args,(char *)"OO:vector_double_reserve",&obj0,&obj1)) SWIG_fail;
21014  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
21015  if (!SWIG_IsOK(res1)) {
21016  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_reserve" "', argument " "1"" of type '" "std::vector< double > *""'");
21017  }
21018  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
21019  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21020  if (!SWIG_IsOK(ecode2)) {
21021  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_double_reserve" "', argument " "2"" of type '" "std::vector< double >::size_type""'");
21022  }
21023  arg2 = static_cast< std::vector< double >::size_type >(val2);
21024  (arg1)->reserve(arg2);
21025  resultobj = SWIG_Py_Void();
21026  return resultobj;
21027 fail:
21028  return NULL;
21029 }
21030 
21031 
21032 SWIGINTERN PyObject *_wrap_vector_double_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21033  PyObject *resultobj = 0;
21034  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
21035  void *argp1 = 0 ;
21036  int res1 = 0 ;
21037  PyObject * obj0 = 0 ;
21038  std::vector< double >::size_type result;
21039 
21040  if (!PyArg_ParseTuple(args,(char *)"O:vector_double_capacity",&obj0)) SWIG_fail;
21041  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
21042  if (!SWIG_IsOK(res1)) {
21043  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_double_capacity" "', argument " "1"" of type '" "std::vector< double > const *""'");
21044  }
21045  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
21046  result = ((std::vector< double > const *)arg1)->capacity();
21047  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
21048  return resultobj;
21049 fail:
21050  return NULL;
21051 }
21052 
21053 
21054 SWIGINTERN PyObject *_wrap_delete_vector_double(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21055  PyObject *resultobj = 0;
21056  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
21057  void *argp1 = 0 ;
21058  int res1 = 0 ;
21059  PyObject * obj0 = 0 ;
21060 
21061  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_double",&obj0)) SWIG_fail;
21062  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_DISOWN | 0 );
21063  if (!SWIG_IsOK(res1)) {
21064  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_double" "', argument " "1"" of type '" "std::vector< double > *""'");
21065  }
21066  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
21067  {
21068  try {
21069  delete arg1;
21070  }
21071  catch(CStdErrorInfo oError)
21072  {
21073  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
21074  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
21075  PyErr_SetString(PyExc_IndexError, strError.c_str());
21076  SWIG_fail;
21077  }
21078  catch(...)
21079  {
21080  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
21081  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
21082  SWIG_fail;
21083  }
21084  }
21085  resultobj = SWIG_Py_Void();
21086  return resultobj;
21087 fail:
21088  return NULL;
21089 }
21090 
21091 
21092 SWIGINTERN PyObject *vector_double_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21093  PyObject *obj;
21094  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
21095  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_NewClientData(obj));
21096  return SWIG_Py_Void();
21097 }
21098 
21099 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21100  PyObject *resultobj = 0;
21101  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21102  PyObject **arg2 = (PyObject **) 0 ;
21103  void *argp1 = 0 ;
21104  int res1 = 0 ;
21105  PyObject * obj0 = 0 ;
21106  swig::SwigPyIterator *result = 0 ;
21107 
21108  arg2 = &obj0;
21109  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr_iterator",&obj0)) SWIG_fail;
21110  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21111  if (!SWIG_IsOK(res1)) {
21112  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_iterator" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
21113  }
21114  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21115  result = (swig::SwigPyIterator *)std_vector_Sl_ActivatedItem_Sm__Sg__iterator(arg1,arg2);
21116  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
21117  return resultobj;
21118 fail:
21119  return NULL;
21120 }
21121 
21122 
21123 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21124  PyObject *resultobj = 0;
21125  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21126  void *argp1 = 0 ;
21127  int res1 = 0 ;
21128  PyObject * obj0 = 0 ;
21129  bool result;
21130 
21131  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr___nonzero__",&obj0)) SWIG_fail;
21132  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21133  if (!SWIG_IsOK(res1)) {
21134  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr___nonzero__" "', argument " "1"" of type '" "std::vector< ActivatedItem * > const *""'");
21135  }
21136  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21137  result = (bool)std_vector_Sl_ActivatedItem_Sm__Sg____nonzero__((std::vector< ActivatedItem * > const *)arg1);
21138  resultobj = SWIG_From_bool(static_cast< bool >(result));
21139  return resultobj;
21140 fail:
21141  return NULL;
21142 }
21143 
21144 
21145 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21146  PyObject *resultobj = 0;
21147  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21148  void *argp1 = 0 ;
21149  int res1 = 0 ;
21150  PyObject * obj0 = 0 ;
21151  bool result;
21152 
21153  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr___bool__",&obj0)) SWIG_fail;
21154  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21155  if (!SWIG_IsOK(res1)) {
21156  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr___bool__" "', argument " "1"" of type '" "std::vector< ActivatedItem * > const *""'");
21157  }
21158  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21159  result = (bool)std_vector_Sl_ActivatedItem_Sm__Sg____bool__((std::vector< ActivatedItem * > const *)arg1);
21160  resultobj = SWIG_From_bool(static_cast< bool >(result));
21161  return resultobj;
21162 fail:
21163  return NULL;
21164 }
21165 
21166 
21167 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21168  PyObject *resultobj = 0;
21169  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21170  void *argp1 = 0 ;
21171  int res1 = 0 ;
21172  PyObject * obj0 = 0 ;
21173  std::vector< ActivatedItem * >::size_type result;
21174 
21175  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr___len__",&obj0)) SWIG_fail;
21176  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21177  if (!SWIG_IsOK(res1)) {
21178  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr___len__" "', argument " "1"" of type '" "std::vector< ActivatedItem * > const *""'");
21179  }
21180  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21181  result = std_vector_Sl_ActivatedItem_Sm__Sg____len__((std::vector< ActivatedItem * > const *)arg1);
21182  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
21183  return resultobj;
21184 fail:
21185  return NULL;
21186 }
21187 
21188 
21189 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21190  PyObject *resultobj = 0;
21191  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21192  void *argp1 = 0 ;
21193  int res1 = 0 ;
21194  PyObject * obj0 = 0 ;
21195  std::vector< ActivatedItem * >::value_type result;
21196 
21197  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr_pop",&obj0)) SWIG_fail;
21198  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21199  if (!SWIG_IsOK(res1)) {
21200  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_pop" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
21201  }
21202  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21203  try {
21204  result = (std::vector< ActivatedItem * >::value_type)std_vector_Sl_ActivatedItem_Sm__Sg__pop(arg1);
21205  }
21206  catch(std::out_of_range &_e) {
21207  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
21208  }
21209 
21210  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ActivatedItem, 0 | 0 );
21211  return resultobj;
21212 fail:
21213  return NULL;
21214 }
21215 
21216 
21217 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21218  PyObject *resultobj = 0;
21219  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21220  std::vector< ActivatedItem * >::difference_type arg2 ;
21221  std::vector< ActivatedItem * >::difference_type arg3 ;
21222  void *argp1 = 0 ;
21223  int res1 = 0 ;
21224  ptrdiff_t val2 ;
21225  int ecode2 = 0 ;
21226  ptrdiff_t val3 ;
21227  int ecode3 = 0 ;
21228  PyObject * obj0 = 0 ;
21229  PyObject * obj1 = 0 ;
21230  PyObject * obj2 = 0 ;
21231  std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > *result = 0 ;
21232 
21233  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ActivatedItemPtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
21234  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21235  if (!SWIG_IsOK(res1)) {
21236  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr___getslice__" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
21237  }
21238  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21239  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
21240  if (!SWIG_IsOK(ecode2)) {
21241  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ActivatedItemPtr___getslice__" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::difference_type""'");
21242  }
21243  arg2 = static_cast< std::vector< ActivatedItem * >::difference_type >(val2);
21244  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
21245  if (!SWIG_IsOK(ecode3)) {
21246  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ActivatedItemPtr___getslice__" "', argument " "3"" of type '" "std::vector< ActivatedItem * >::difference_type""'");
21247  }
21248  arg3 = static_cast< std::vector< ActivatedItem * >::difference_type >(val3);
21249  try {
21250  result = (std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > *)std_vector_Sl_ActivatedItem_Sm__Sg____getslice__(arg1,arg2,arg3);
21251  }
21252  catch(std::out_of_range &_e) {
21253  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
21254  }
21255  catch(std::invalid_argument &_e) {
21256  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
21257  }
21258 
21259  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, SWIG_POINTER_OWN | 0 );
21260  return resultobj;
21261 fail:
21262  return NULL;
21263 }
21264 
21265 
21266 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21267  PyObject *resultobj = 0;
21268  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21269  std::vector< ActivatedItem * >::difference_type arg2 ;
21270  std::vector< ActivatedItem * >::difference_type arg3 ;
21271  std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > *arg4 = 0 ;
21272  void *argp1 = 0 ;
21273  int res1 = 0 ;
21274  ptrdiff_t val2 ;
21275  int ecode2 = 0 ;
21276  ptrdiff_t val3 ;
21277  int ecode3 = 0 ;
21278  int res4 = SWIG_OLDOBJ ;
21279  PyObject * obj0 = 0 ;
21280  PyObject * obj1 = 0 ;
21281  PyObject * obj2 = 0 ;
21282  PyObject * obj3 = 0 ;
21283 
21284  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_ActivatedItemPtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21285  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21286  if (!SWIG_IsOK(res1)) {
21287  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr___setslice__" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
21288  }
21289  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21290  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
21291  if (!SWIG_IsOK(ecode2)) {
21292  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ActivatedItemPtr___setslice__" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::difference_type""'");
21293  }
21294  arg2 = static_cast< std::vector< ActivatedItem * >::difference_type >(val2);
21295  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
21296  if (!SWIG_IsOK(ecode3)) {
21297  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ActivatedItemPtr___setslice__" "', argument " "3"" of type '" "std::vector< ActivatedItem * >::difference_type""'");
21298  }
21299  arg3 = static_cast< std::vector< ActivatedItem * >::difference_type >(val3);
21300  {
21301  std::vector<ActivatedItem*,std::allocator< ActivatedItem * > > *ptr = (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > > *)0;
21302  res4 = swig::asptr(obj3, &ptr);
21303  if (!SWIG_IsOK(res4)) {
21304  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_ActivatedItemPtr___setslice__" "', argument " "4"" of type '" "std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > const &""'");
21305  }
21306  if (!ptr) {
21307  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_ActivatedItemPtr___setslice__" "', argument " "4"" of type '" "std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > const &""'");
21308  }
21309  arg4 = ptr;
21310  }
21311  try {
21312  std_vector_Sl_ActivatedItem_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > const &)*arg4);
21313  }
21314  catch(std::out_of_range &_e) {
21315  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
21316  }
21317  catch(std::invalid_argument &_e) {
21318  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
21319  }
21320 
21321  resultobj = SWIG_Py_Void();
21322  if (SWIG_IsNewObj(res4)) delete arg4;
21323  return resultobj;
21324 fail:
21325  if (SWIG_IsNewObj(res4)) delete arg4;
21326  return NULL;
21327 }
21328 
21329 
21330 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21331  PyObject *resultobj = 0;
21332  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21333  std::vector< ActivatedItem * >::difference_type arg2 ;
21334  std::vector< ActivatedItem * >::difference_type arg3 ;
21335  void *argp1 = 0 ;
21336  int res1 = 0 ;
21337  ptrdiff_t val2 ;
21338  int ecode2 = 0 ;
21339  ptrdiff_t val3 ;
21340  int ecode3 = 0 ;
21341  PyObject * obj0 = 0 ;
21342  PyObject * obj1 = 0 ;
21343  PyObject * obj2 = 0 ;
21344 
21345  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ActivatedItemPtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
21346  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21347  if (!SWIG_IsOK(res1)) {
21348  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr___setslice__" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
21349  }
21350  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21351  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
21352  if (!SWIG_IsOK(ecode2)) {
21353  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ActivatedItemPtr___setslice__" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::difference_type""'");
21354  }
21355  arg2 = static_cast< std::vector< ActivatedItem * >::difference_type >(val2);
21356  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
21357  if (!SWIG_IsOK(ecode3)) {
21358  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ActivatedItemPtr___setslice__" "', argument " "3"" of type '" "std::vector< ActivatedItem * >::difference_type""'");
21359  }
21360  arg3 = static_cast< std::vector< ActivatedItem * >::difference_type >(val3);
21361  try {
21362  std_vector_Sl_ActivatedItem_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
21363  }
21364  catch(std::out_of_range &_e) {
21365  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
21366  }
21367  catch(std::invalid_argument &_e) {
21368  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
21369  }
21370 
21371  resultobj = SWIG_Py_Void();
21372  return resultobj;
21373 fail:
21374  return NULL;
21375 }
21376 
21377 
21378 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___setslice__(PyObject *self, PyObject *args) {
21379  int argc;
21380  PyObject *argv[5];
21381  int ii;
21382 
21383  if (!PyTuple_Check(args)) SWIG_fail;
21384  argc = args ? (int)PyObject_Length(args) : 0;
21385  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
21386  argv[ii] = PyTuple_GET_ITEM(args,ii);
21387  }
21388  if (argc == 3) {
21389  int _v;
21390  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
21391  _v = SWIG_CheckState(res);
21392  if (_v) {
21393  {
21394  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
21395  _v = SWIG_CheckState(res);
21396  }
21397  if (_v) {
21398  {
21399  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
21400  _v = SWIG_CheckState(res);
21401  }
21402  if (_v) {
21403  return _wrap_vector_ActivatedItemPtr___setslice____SWIG_1(self, args);
21404  }
21405  }
21406  }
21407  }
21408  if (argc == 4) {
21409  int _v;
21410  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
21411  _v = SWIG_CheckState(res);
21412  if (_v) {
21413  {
21414  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
21415  _v = SWIG_CheckState(res);
21416  }
21417  if (_v) {
21418  {
21419  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
21420  _v = SWIG_CheckState(res);
21421  }
21422  if (_v) {
21423  int res = swig::asptr(argv[3], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
21424  _v = SWIG_CheckState(res);
21425  if (_v) {
21426  return _wrap_vector_ActivatedItemPtr___setslice____SWIG_0(self, args);
21427  }
21428  }
21429  }
21430  }
21431  }
21432 
21433 fail:
21434  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ActivatedItemPtr___setslice__'.\n"
21435  " Possible C/C++ prototypes are:\n"
21436  " std::vector< ActivatedItem * >::__setslice__(std::vector< ActivatedItem * >::difference_type,std::vector< ActivatedItem * >::difference_type,std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > const &)\n"
21437  " std::vector< ActivatedItem * >::__setslice__(std::vector< ActivatedItem * >::difference_type,std::vector< ActivatedItem * >::difference_type)\n");
21438  return 0;
21439 }
21440 
21441 
21442 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21443  PyObject *resultobj = 0;
21444  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21445  std::vector< ActivatedItem * >::difference_type arg2 ;
21446  std::vector< ActivatedItem * >::difference_type arg3 ;
21447  void *argp1 = 0 ;
21448  int res1 = 0 ;
21449  ptrdiff_t val2 ;
21450  int ecode2 = 0 ;
21451  ptrdiff_t val3 ;
21452  int ecode3 = 0 ;
21453  PyObject * obj0 = 0 ;
21454  PyObject * obj1 = 0 ;
21455  PyObject * obj2 = 0 ;
21456 
21457  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ActivatedItemPtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
21458  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21459  if (!SWIG_IsOK(res1)) {
21460  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr___delslice__" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
21461  }
21462  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21463  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
21464  if (!SWIG_IsOK(ecode2)) {
21465  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ActivatedItemPtr___delslice__" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::difference_type""'");
21466  }
21467  arg2 = static_cast< std::vector< ActivatedItem * >::difference_type >(val2);
21468  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
21469  if (!SWIG_IsOK(ecode3)) {
21470  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ActivatedItemPtr___delslice__" "', argument " "3"" of type '" "std::vector< ActivatedItem * >::difference_type""'");
21471  }
21472  arg3 = static_cast< std::vector< ActivatedItem * >::difference_type >(val3);
21473  try {
21474  std_vector_Sl_ActivatedItem_Sm__Sg____delslice__(arg1,arg2,arg3);
21475  }
21476  catch(std::out_of_range &_e) {
21477  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
21478  }
21479  catch(std::invalid_argument &_e) {
21480  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
21481  }
21482 
21483  resultobj = SWIG_Py_Void();
21484  return resultobj;
21485 fail:
21486  return NULL;
21487 }
21488 
21489 
21490 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21491  PyObject *resultobj = 0;
21492  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21493  std::vector< ActivatedItem * >::difference_type arg2 ;
21494  void *argp1 = 0 ;
21495  int res1 = 0 ;
21496  ptrdiff_t val2 ;
21497  int ecode2 = 0 ;
21498  PyObject * obj0 = 0 ;
21499  PyObject * obj1 = 0 ;
21500 
21501  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ActivatedItemPtr___delitem__",&obj0,&obj1)) SWIG_fail;
21502  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21503  if (!SWIG_IsOK(res1)) {
21504  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr___delitem__" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
21505  }
21506  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21507  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
21508  if (!SWIG_IsOK(ecode2)) {
21509  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ActivatedItemPtr___delitem__" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::difference_type""'");
21510  }
21511  arg2 = static_cast< std::vector< ActivatedItem * >::difference_type >(val2);
21512  try {
21513  std_vector_Sl_ActivatedItem_Sm__Sg____delitem____SWIG_0(arg1,arg2);
21514  }
21515  catch(std::out_of_range &_e) {
21516  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
21517  }
21518 
21519  resultobj = SWIG_Py_Void();
21520  return resultobj;
21521 fail:
21522  return NULL;
21523 }
21524 
21525 
21526 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21527  PyObject *resultobj = 0;
21528  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21529  PySliceObject *arg2 = (PySliceObject *) 0 ;
21530  void *argp1 = 0 ;
21531  int res1 = 0 ;
21532  PyObject * obj0 = 0 ;
21533  PyObject * obj1 = 0 ;
21534  std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > *result = 0 ;
21535 
21536  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ActivatedItemPtr___getitem__",&obj0,&obj1)) SWIG_fail;
21537  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21538  if (!SWIG_IsOK(res1)) {
21539  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr___getitem__" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
21540  }
21541  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21542  {
21543  if (!PySlice_Check(obj1)) {
21544  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ActivatedItemPtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
21545  }
21546  arg2 = (PySliceObject *) obj1;
21547  }
21548  try {
21549  result = (std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > *)std_vector_Sl_ActivatedItem_Sm__Sg____getitem____SWIG_0(arg1,arg2);
21550  }
21551  catch(std::out_of_range &_e) {
21552  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
21553  }
21554  catch(std::invalid_argument &_e) {
21555  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
21556  }
21557 
21558  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, SWIG_POINTER_OWN | 0 );
21559  return resultobj;
21560 fail:
21561  return NULL;
21562 }
21563 
21564 
21565 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21566  PyObject *resultobj = 0;
21567  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21568  PySliceObject *arg2 = (PySliceObject *) 0 ;
21569  std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > *arg3 = 0 ;
21570  void *argp1 = 0 ;
21571  int res1 = 0 ;
21572  int res3 = SWIG_OLDOBJ ;
21573  PyObject * obj0 = 0 ;
21574  PyObject * obj1 = 0 ;
21575  PyObject * obj2 = 0 ;
21576 
21577  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ActivatedItemPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
21578  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21579  if (!SWIG_IsOK(res1)) {
21580  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr___setitem__" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
21581  }
21582  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21583  {
21584  if (!PySlice_Check(obj1)) {
21585  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ActivatedItemPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
21586  }
21587  arg2 = (PySliceObject *) obj1;
21588  }
21589  {
21590  std::vector<ActivatedItem*,std::allocator< ActivatedItem * > > *ptr = (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > > *)0;
21591  res3 = swig::asptr(obj2, &ptr);
21592  if (!SWIG_IsOK(res3)) {
21593  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ActivatedItemPtr___setitem__" "', argument " "3"" of type '" "std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > const &""'");
21594  }
21595  if (!ptr) {
21596  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_ActivatedItemPtr___setitem__" "', argument " "3"" of type '" "std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > const &""'");
21597  }
21598  arg3 = ptr;
21599  }
21600  try {
21601  std_vector_Sl_ActivatedItem_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > const &)*arg3);
21602  }
21603  catch(std::out_of_range &_e) {
21604  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
21605  }
21606  catch(std::invalid_argument &_e) {
21607  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
21608  }
21609 
21610  resultobj = SWIG_Py_Void();
21611  if (SWIG_IsNewObj(res3)) delete arg3;
21612  return resultobj;
21613 fail:
21614  if (SWIG_IsNewObj(res3)) delete arg3;
21615  return NULL;
21616 }
21617 
21618 
21619 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21620  PyObject *resultobj = 0;
21621  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21622  PySliceObject *arg2 = (PySliceObject *) 0 ;
21623  void *argp1 = 0 ;
21624  int res1 = 0 ;
21625  PyObject * obj0 = 0 ;
21626  PyObject * obj1 = 0 ;
21627 
21628  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ActivatedItemPtr___setitem__",&obj0,&obj1)) SWIG_fail;
21629  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21630  if (!SWIG_IsOK(res1)) {
21631  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr___setitem__" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
21632  }
21633  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21634  {
21635  if (!PySlice_Check(obj1)) {
21636  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ActivatedItemPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
21637  }
21638  arg2 = (PySliceObject *) obj1;
21639  }
21640  try {
21641  std_vector_Sl_ActivatedItem_Sm__Sg____setitem____SWIG_1(arg1,arg2);
21642  }
21643  catch(std::out_of_range &_e) {
21644  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
21645  }
21646  catch(std::invalid_argument &_e) {
21647  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
21648  }
21649 
21650  resultobj = SWIG_Py_Void();
21651  return resultobj;
21652 fail:
21653  return NULL;
21654 }
21655 
21656 
21657 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21658  PyObject *resultobj = 0;
21659  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21660  PySliceObject *arg2 = (PySliceObject *) 0 ;
21661  void *argp1 = 0 ;
21662  int res1 = 0 ;
21663  PyObject * obj0 = 0 ;
21664  PyObject * obj1 = 0 ;
21665 
21666  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ActivatedItemPtr___delitem__",&obj0,&obj1)) SWIG_fail;
21667  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21668  if (!SWIG_IsOK(res1)) {
21669  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr___delitem__" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
21670  }
21671  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21672  {
21673  if (!PySlice_Check(obj1)) {
21674  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ActivatedItemPtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
21675  }
21676  arg2 = (PySliceObject *) obj1;
21677  }
21678  try {
21679  std_vector_Sl_ActivatedItem_Sm__Sg____delitem____SWIG_1(arg1,arg2);
21680  }
21681  catch(std::out_of_range &_e) {
21682  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
21683  }
21684  catch(std::invalid_argument &_e) {
21685  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
21686  }
21687 
21688  resultobj = SWIG_Py_Void();
21689  return resultobj;
21690 fail:
21691  return NULL;
21692 }
21693 
21694 
21695 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___delitem__(PyObject *self, PyObject *args) {
21696  int argc;
21697  PyObject *argv[3];
21698  int ii;
21699 
21700  if (!PyTuple_Check(args)) SWIG_fail;
21701  argc = args ? (int)PyObject_Length(args) : 0;
21702  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
21703  argv[ii] = PyTuple_GET_ITEM(args,ii);
21704  }
21705  if (argc == 2) {
21706  int _v;
21707  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
21708  _v = SWIG_CheckState(res);
21709  if (_v) {
21710  {
21711  _v = PySlice_Check(argv[1]);
21712  }
21713  if (_v) {
21714  return _wrap_vector_ActivatedItemPtr___delitem____SWIG_1(self, args);
21715  }
21716  }
21717  }
21718  if (argc == 2) {
21719  int _v;
21720  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
21721  _v = SWIG_CheckState(res);
21722  if (_v) {
21723  {
21724  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
21725  _v = SWIG_CheckState(res);
21726  }
21727  if (_v) {
21728  return _wrap_vector_ActivatedItemPtr___delitem____SWIG_0(self, args);
21729  }
21730  }
21731  }
21732 
21733 fail:
21734  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ActivatedItemPtr___delitem__'.\n"
21735  " Possible C/C++ prototypes are:\n"
21736  " std::vector< ActivatedItem * >::__delitem__(std::vector< ActivatedItem * >::difference_type)\n"
21737  " std::vector< ActivatedItem * >::__delitem__(PySliceObject *)\n");
21738  return 0;
21739 }
21740 
21741 
21742 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21743  PyObject *resultobj = 0;
21744  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21745  std::vector< ActivatedItem * >::difference_type arg2 ;
21746  void *argp1 = 0 ;
21747  int res1 = 0 ;
21748  ptrdiff_t val2 ;
21749  int ecode2 = 0 ;
21750  PyObject * obj0 = 0 ;
21751  PyObject * obj1 = 0 ;
21752  std::vector< ActivatedItem * >::value_type result;
21753 
21754  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ActivatedItemPtr___getitem__",&obj0,&obj1)) SWIG_fail;
21755  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21756  if (!SWIG_IsOK(res1)) {
21757  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr___getitem__" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
21758  }
21759  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21760  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
21761  if (!SWIG_IsOK(ecode2)) {
21762  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ActivatedItemPtr___getitem__" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::difference_type""'");
21763  }
21764  arg2 = static_cast< std::vector< ActivatedItem * >::difference_type >(val2);
21765  try {
21766  result = (std::vector< ActivatedItem * >::value_type)std_vector_Sl_ActivatedItem_Sm__Sg____getitem____SWIG_1(arg1,arg2);
21767  }
21768  catch(std::out_of_range &_e) {
21769  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
21770  }
21771 
21772  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ActivatedItem, 0 | 0 );
21773  return resultobj;
21774 fail:
21775  return NULL;
21776 }
21777 
21778 
21779 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___getitem__(PyObject *self, PyObject *args) {
21780  int argc;
21781  PyObject *argv[3];
21782  int ii;
21783 
21784  if (!PyTuple_Check(args)) SWIG_fail;
21785  argc = args ? (int)PyObject_Length(args) : 0;
21786  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
21787  argv[ii] = PyTuple_GET_ITEM(args,ii);
21788  }
21789  if (argc == 2) {
21790  int _v;
21791  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
21792  _v = SWIG_CheckState(res);
21793  if (_v) {
21794  {
21795  _v = PySlice_Check(argv[1]);
21796  }
21797  if (_v) {
21798  return _wrap_vector_ActivatedItemPtr___getitem____SWIG_0(self, args);
21799  }
21800  }
21801  }
21802  if (argc == 2) {
21803  int _v;
21804  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
21805  _v = SWIG_CheckState(res);
21806  if (_v) {
21807  {
21808  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
21809  _v = SWIG_CheckState(res);
21810  }
21811  if (_v) {
21812  return _wrap_vector_ActivatedItemPtr___getitem____SWIG_1(self, args);
21813  }
21814  }
21815  }
21816 
21817 fail:
21818  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ActivatedItemPtr___getitem__'.\n"
21819  " Possible C/C++ prototypes are:\n"
21820  " std::vector< ActivatedItem * >::__getitem__(PySliceObject *)\n"
21821  " std::vector< ActivatedItem * >::__getitem__(std::vector< ActivatedItem * >::difference_type)\n");
21822  return 0;
21823 }
21824 
21825 
21826 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21827  PyObject *resultobj = 0;
21828  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21829  std::vector< ActivatedItem * >::difference_type arg2 ;
21830  std::vector< ActivatedItem * >::value_type arg3 = (std::vector< ActivatedItem * >::value_type) 0 ;
21831  void *argp1 = 0 ;
21832  int res1 = 0 ;
21833  ptrdiff_t val2 ;
21834  int ecode2 = 0 ;
21835  void *argp3 = 0 ;
21836  int res3 = 0 ;
21837  PyObject * obj0 = 0 ;
21838  PyObject * obj1 = 0 ;
21839  PyObject * obj2 = 0 ;
21840 
21841  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ActivatedItemPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
21842  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21843  if (!SWIG_IsOK(res1)) {
21844  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr___setitem__" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
21845  }
21846  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21847  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
21848  if (!SWIG_IsOK(ecode2)) {
21849  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ActivatedItemPtr___setitem__" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::difference_type""'");
21850  }
21851  arg2 = static_cast< std::vector< ActivatedItem * >::difference_type >(val2);
21852  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ActivatedItem, 0 | 0 );
21853  if (!SWIG_IsOK(res3)) {
21854  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ActivatedItemPtr___setitem__" "', argument " "3"" of type '" "std::vector< ActivatedItem * >::value_type""'");
21855  }
21856  arg3 = reinterpret_cast< std::vector< ActivatedItem * >::value_type >(argp3);
21857  try {
21858  std_vector_Sl_ActivatedItem_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
21859  }
21860  catch(std::out_of_range &_e) {
21861  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
21862  }
21863 
21864  resultobj = SWIG_Py_Void();
21865  return resultobj;
21866 fail:
21867  return NULL;
21868 }
21869 
21870 
21871 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr___setitem__(PyObject *self, PyObject *args) {
21872  int argc;
21873  PyObject *argv[4];
21874  int ii;
21875 
21876  if (!PyTuple_Check(args)) SWIG_fail;
21877  argc = args ? (int)PyObject_Length(args) : 0;
21878  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
21879  argv[ii] = PyTuple_GET_ITEM(args,ii);
21880  }
21881  if (argc == 2) {
21882  int _v;
21883  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
21884  _v = SWIG_CheckState(res);
21885  if (_v) {
21886  {
21887  _v = PySlice_Check(argv[1]);
21888  }
21889  if (_v) {
21890  return _wrap_vector_ActivatedItemPtr___setitem____SWIG_1(self, args);
21891  }
21892  }
21893  }
21894  if (argc == 3) {
21895  int _v;
21896  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
21897  _v = SWIG_CheckState(res);
21898  if (_v) {
21899  {
21900  _v = PySlice_Check(argv[1]);
21901  }
21902  if (_v) {
21903  int res = swig::asptr(argv[2], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
21904  _v = SWIG_CheckState(res);
21905  if (_v) {
21906  return _wrap_vector_ActivatedItemPtr___setitem____SWIG_0(self, args);
21907  }
21908  }
21909  }
21910  }
21911  if (argc == 3) {
21912  int _v;
21913  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
21914  _v = SWIG_CheckState(res);
21915  if (_v) {
21916  {
21917  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
21918  _v = SWIG_CheckState(res);
21919  }
21920  if (_v) {
21921  void *vptr = 0;
21922  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ActivatedItem, 0);
21923  _v = SWIG_CheckState(res);
21924  if (_v) {
21925  return _wrap_vector_ActivatedItemPtr___setitem____SWIG_2(self, args);
21926  }
21927  }
21928  }
21929  }
21930 
21931 fail:
21932  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ActivatedItemPtr___setitem__'.\n"
21933  " Possible C/C++ prototypes are:\n"
21934  " std::vector< ActivatedItem * >::__setitem__(PySliceObject *,std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > const &)\n"
21935  " std::vector< ActivatedItem * >::__setitem__(PySliceObject *)\n"
21936  " std::vector< ActivatedItem * >::__setitem__(std::vector< ActivatedItem * >::difference_type,std::vector< ActivatedItem * >::value_type)\n");
21937  return 0;
21938 }
21939 
21940 
21941 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21942  PyObject *resultobj = 0;
21943  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
21944  std::vector< ActivatedItem * >::value_type arg2 = (std::vector< ActivatedItem * >::value_type) 0 ;
21945  void *argp1 = 0 ;
21946  int res1 = 0 ;
21947  void *argp2 = 0 ;
21948  int res2 = 0 ;
21949  PyObject * obj0 = 0 ;
21950  PyObject * obj1 = 0 ;
21951 
21952  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ActivatedItemPtr_append",&obj0,&obj1)) SWIG_fail;
21953  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
21954  if (!SWIG_IsOK(res1)) {
21955  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_append" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
21956  }
21957  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
21958  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ActivatedItem, 0 | 0 );
21959  if (!SWIG_IsOK(res2)) {
21960  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_ActivatedItemPtr_append" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::value_type""'");
21961  }
21962  arg2 = reinterpret_cast< std::vector< ActivatedItem * >::value_type >(argp2);
21963  std_vector_Sl_ActivatedItem_Sm__Sg__append(arg1,arg2);
21964  resultobj = SWIG_Py_Void();
21965  return resultobj;
21966 fail:
21967  return NULL;
21968 }
21969 
21970 
21971 SWIGINTERN PyObject *_wrap_new_vector_ActivatedItemPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21972  PyObject *resultobj = 0;
21973  std::vector< ActivatedItem * > *result = 0 ;
21974 
21975  if (!PyArg_ParseTuple(args,(char *)":new_vector_ActivatedItemPtr")) SWIG_fail;
21976  result = (std::vector< ActivatedItem * > *)new std::vector< ActivatedItem * >();
21977  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, SWIG_POINTER_NEW | 0 );
21978  return resultobj;
21979 fail:
21980  return NULL;
21981 }
21982 
21983 
21984 SWIGINTERN PyObject *_wrap_new_vector_ActivatedItemPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21985  PyObject *resultobj = 0;
21986  std::vector< ActivatedItem * > *arg1 = 0 ;
21987  int res1 = SWIG_OLDOBJ ;
21988  PyObject * obj0 = 0 ;
21989  std::vector< ActivatedItem * > *result = 0 ;
21990 
21991  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_ActivatedItemPtr",&obj0)) SWIG_fail;
21992  {
21993  std::vector<ActivatedItem*,std::allocator< ActivatedItem * > > *ptr = (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > > *)0;
21994  res1 = swig::asptr(obj0, &ptr);
21995  if (!SWIG_IsOK(res1)) {
21996  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_ActivatedItemPtr" "', argument " "1"" of type '" "std::vector< ActivatedItem * > const &""'");
21997  }
21998  if (!ptr) {
21999  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_ActivatedItemPtr" "', argument " "1"" of type '" "std::vector< ActivatedItem * > const &""'");
22000  }
22001  arg1 = ptr;
22002  }
22003  result = (std::vector< ActivatedItem * > *)new std::vector< ActivatedItem * >((std::vector< ActivatedItem * > const &)*arg1);
22004  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, SWIG_POINTER_NEW | 0 );
22005  if (SWIG_IsNewObj(res1)) delete arg1;
22006  return resultobj;
22007 fail:
22008  if (SWIG_IsNewObj(res1)) delete arg1;
22009  return NULL;
22010 }
22011 
22012 
22013 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22014  PyObject *resultobj = 0;
22015  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22016  void *argp1 = 0 ;
22017  int res1 = 0 ;
22018  PyObject * obj0 = 0 ;
22019  bool result;
22020 
22021  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr_empty",&obj0)) SWIG_fail;
22022  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22023  if (!SWIG_IsOK(res1)) {
22024  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_empty" "', argument " "1"" of type '" "std::vector< ActivatedItem * > const *""'");
22025  }
22026  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22027  result = (bool)((std::vector< ActivatedItem * > const *)arg1)->empty();
22028  resultobj = SWIG_From_bool(static_cast< bool >(result));
22029  return resultobj;
22030 fail:
22031  return NULL;
22032 }
22033 
22034 
22035 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22036  PyObject *resultobj = 0;
22037  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22038  void *argp1 = 0 ;
22039  int res1 = 0 ;
22040  PyObject * obj0 = 0 ;
22041  std::vector< ActivatedItem * >::size_type result;
22042 
22043  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr_size",&obj0)) SWIG_fail;
22044  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22045  if (!SWIG_IsOK(res1)) {
22046  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_size" "', argument " "1"" of type '" "std::vector< ActivatedItem * > const *""'");
22047  }
22048  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22049  result = ((std::vector< ActivatedItem * > const *)arg1)->size();
22050  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
22051  return resultobj;
22052 fail:
22053  return NULL;
22054 }
22055 
22056 
22057 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22058  PyObject *resultobj = 0;
22059  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22060  void *argp1 = 0 ;
22061  int res1 = 0 ;
22062  PyObject * obj0 = 0 ;
22063 
22064  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr_clear",&obj0)) SWIG_fail;
22065  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22066  if (!SWIG_IsOK(res1)) {
22067  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_clear" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22068  }
22069  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22070  (arg1)->clear();
22071  resultobj = SWIG_Py_Void();
22072  return resultobj;
22073 fail:
22074  return NULL;
22075 }
22076 
22077 
22078 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22079  PyObject *resultobj = 0;
22080  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22081  std::vector< ActivatedItem * > *arg2 = 0 ;
22082  void *argp1 = 0 ;
22083  int res1 = 0 ;
22084  void *argp2 = 0 ;
22085  int res2 = 0 ;
22086  PyObject * obj0 = 0 ;
22087  PyObject * obj1 = 0 ;
22088 
22089  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ActivatedItemPtr_swap",&obj0,&obj1)) SWIG_fail;
22090  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22091  if (!SWIG_IsOK(res1)) {
22092  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_swap" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22093  }
22094  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22095  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 );
22096  if (!SWIG_IsOK(res2)) {
22097  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_ActivatedItemPtr_swap" "', argument " "2"" of type '" "std::vector< ActivatedItem * > &""'");
22098  }
22099  if (!argp2) {
22100  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_ActivatedItemPtr_swap" "', argument " "2"" of type '" "std::vector< ActivatedItem * > &""'");
22101  }
22102  arg2 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp2);
22103  (arg1)->swap(*arg2);
22104  resultobj = SWIG_Py_Void();
22105  return resultobj;
22106 fail:
22107  return NULL;
22108 }
22109 
22110 
22111 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22112  PyObject *resultobj = 0;
22113  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22114  void *argp1 = 0 ;
22115  int res1 = 0 ;
22116  PyObject * obj0 = 0 ;
22117  SwigValueWrapper< std::allocator< ActivatedItem * > > result;
22118 
22119  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr_get_allocator",&obj0)) SWIG_fail;
22120  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22121  if (!SWIG_IsOK(res1)) {
22122  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_get_allocator" "', argument " "1"" of type '" "std::vector< ActivatedItem * > const *""'");
22123  }
22124  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22125  result = ((std::vector< ActivatedItem * > const *)arg1)->get_allocator();
22126  resultobj = SWIG_NewPointerObj((new std::vector< ActivatedItem * >::allocator_type(static_cast< const std::vector< ActivatedItem * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_ActivatedItem_p_t, SWIG_POINTER_OWN | 0 );
22127  return resultobj;
22128 fail:
22129  return NULL;
22130 }
22131 
22132 
22133 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22134  PyObject *resultobj = 0;
22135  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22136  void *argp1 = 0 ;
22137  int res1 = 0 ;
22138  PyObject * obj0 = 0 ;
22139  std::vector< ActivatedItem * >::iterator result;
22140 
22141  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr_begin",&obj0)) SWIG_fail;
22142  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22143  if (!SWIG_IsOK(res1)) {
22144  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_begin" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22145  }
22146  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22147  result = (arg1)->begin();
22148  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ActivatedItem * >::iterator & >(result)),
22149  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
22150  return resultobj;
22151 fail:
22152  return NULL;
22153 }
22154 
22155 
22156 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22157  PyObject *resultobj = 0;
22158  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22159  void *argp1 = 0 ;
22160  int res1 = 0 ;
22161  PyObject * obj0 = 0 ;
22162  std::vector< ActivatedItem * >::iterator result;
22163 
22164  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr_end",&obj0)) SWIG_fail;
22165  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22166  if (!SWIG_IsOK(res1)) {
22167  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_end" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22168  }
22169  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22170  result = (arg1)->end();
22171  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ActivatedItem * >::iterator & >(result)),
22172  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
22173  return resultobj;
22174 fail:
22175  return NULL;
22176 }
22177 
22178 
22179 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22180  PyObject *resultobj = 0;
22181  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22182  void *argp1 = 0 ;
22183  int res1 = 0 ;
22184  PyObject * obj0 = 0 ;
22185  std::vector< ActivatedItem * >::reverse_iterator result;
22186 
22187  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr_rbegin",&obj0)) SWIG_fail;
22188  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22189  if (!SWIG_IsOK(res1)) {
22190  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_rbegin" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22191  }
22192  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22193  result = (arg1)->rbegin();
22194  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ActivatedItem * >::reverse_iterator & >(result)),
22195  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
22196  return resultobj;
22197 fail:
22198  return NULL;
22199 }
22200 
22201 
22202 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22203  PyObject *resultobj = 0;
22204  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22205  void *argp1 = 0 ;
22206  int res1 = 0 ;
22207  PyObject * obj0 = 0 ;
22208  std::vector< ActivatedItem * >::reverse_iterator result;
22209 
22210  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr_rend",&obj0)) SWIG_fail;
22211  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22212  if (!SWIG_IsOK(res1)) {
22213  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_rend" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22214  }
22215  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22216  result = (arg1)->rend();
22217  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ActivatedItem * >::reverse_iterator & >(result)),
22218  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
22219  return resultobj;
22220 fail:
22221  return NULL;
22222 }
22223 
22224 
22225 SWIGINTERN PyObject *_wrap_new_vector_ActivatedItemPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22226  PyObject *resultobj = 0;
22227  std::vector< ActivatedItem * >::size_type arg1 ;
22228  size_t val1 ;
22229  int ecode1 = 0 ;
22230  PyObject * obj0 = 0 ;
22231  std::vector< ActivatedItem * > *result = 0 ;
22232 
22233  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_ActivatedItemPtr",&obj0)) SWIG_fail;
22234  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
22235  if (!SWIG_IsOK(ecode1)) {
22236  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_ActivatedItemPtr" "', argument " "1"" of type '" "std::vector< ActivatedItem * >::size_type""'");
22237  }
22238  arg1 = static_cast< std::vector< ActivatedItem * >::size_type >(val1);
22239  result = (std::vector< ActivatedItem * > *)new std::vector< ActivatedItem * >(arg1);
22240  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, SWIG_POINTER_NEW | 0 );
22241  return resultobj;
22242 fail:
22243  return NULL;
22244 }
22245 
22246 
22247 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22248  PyObject *resultobj = 0;
22249  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22250  void *argp1 = 0 ;
22251  int res1 = 0 ;
22252  PyObject * obj0 = 0 ;
22253 
22254  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr_pop_back",&obj0)) SWIG_fail;
22255  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22256  if (!SWIG_IsOK(res1)) {
22257  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_pop_back" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22258  }
22259  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22260  (arg1)->pop_back();
22261  resultobj = SWIG_Py_Void();
22262  return resultobj;
22263 fail:
22264  return NULL;
22265 }
22266 
22267 
22268 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22269  PyObject *resultobj = 0;
22270  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22271  std::vector< ActivatedItem * >::size_type arg2 ;
22272  void *argp1 = 0 ;
22273  int res1 = 0 ;
22274  size_t val2 ;
22275  int ecode2 = 0 ;
22276  PyObject * obj0 = 0 ;
22277  PyObject * obj1 = 0 ;
22278 
22279  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ActivatedItemPtr_resize",&obj0,&obj1)) SWIG_fail;
22280  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22281  if (!SWIG_IsOK(res1)) {
22282  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_resize" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22283  }
22284  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22285  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22286  if (!SWIG_IsOK(ecode2)) {
22287  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ActivatedItemPtr_resize" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::size_type""'");
22288  }
22289  arg2 = static_cast< std::vector< ActivatedItem * >::size_type >(val2);
22290  (arg1)->resize(arg2);
22291  resultobj = SWIG_Py_Void();
22292  return resultobj;
22293 fail:
22294  return NULL;
22295 }
22296 
22297 
22298 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22299  PyObject *resultobj = 0;
22300  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22301  std::vector< ActivatedItem * >::iterator arg2 ;
22302  void *argp1 = 0 ;
22303  int res1 = 0 ;
22304  swig::SwigPyIterator *iter2 = 0 ;
22305  int res2 ;
22306  PyObject * obj0 = 0 ;
22307  PyObject * obj1 = 0 ;
22308  std::vector< ActivatedItem * >::iterator result;
22309 
22310  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ActivatedItemPtr_erase",&obj0,&obj1)) SWIG_fail;
22311  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22312  if (!SWIG_IsOK(res1)) {
22313  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_erase" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22314  }
22315  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22316  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
22317  if (!SWIG_IsOK(res2) || !iter2) {
22318  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ActivatedItemPtr_erase" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::iterator""'");
22319  } else {
22321  if (iter_t) {
22322  arg2 = iter_t->get_current();
22323  } else {
22324  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ActivatedItemPtr_erase" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::iterator""'");
22325  }
22326  }
22327  result = std_vector_Sl_ActivatedItem_Sm__Sg__erase__SWIG_0(arg1,arg2);
22328  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ActivatedItem * >::iterator & >(result)),
22329  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
22330  return resultobj;
22331 fail:
22332  return NULL;
22333 }
22334 
22335 
22336 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22337  PyObject *resultobj = 0;
22338  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22339  std::vector< ActivatedItem * >::iterator arg2 ;
22340  std::vector< ActivatedItem * >::iterator arg3 ;
22341  void *argp1 = 0 ;
22342  int res1 = 0 ;
22343  swig::SwigPyIterator *iter2 = 0 ;
22344  int res2 ;
22345  swig::SwigPyIterator *iter3 = 0 ;
22346  int res3 ;
22347  PyObject * obj0 = 0 ;
22348  PyObject * obj1 = 0 ;
22349  PyObject * obj2 = 0 ;
22350  std::vector< ActivatedItem * >::iterator result;
22351 
22352  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ActivatedItemPtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
22353  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22354  if (!SWIG_IsOK(res1)) {
22355  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_erase" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22356  }
22357  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22358  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
22359  if (!SWIG_IsOK(res2) || !iter2) {
22360  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ActivatedItemPtr_erase" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::iterator""'");
22361  } else {
22363  if (iter_t) {
22364  arg2 = iter_t->get_current();
22365  } else {
22366  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ActivatedItemPtr_erase" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::iterator""'");
22367  }
22368  }
22369  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
22370  if (!SWIG_IsOK(res3) || !iter3) {
22371  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ActivatedItemPtr_erase" "', argument " "3"" of type '" "std::vector< ActivatedItem * >::iterator""'");
22372  } else {
22374  if (iter_t) {
22375  arg3 = iter_t->get_current();
22376  } else {
22377  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ActivatedItemPtr_erase" "', argument " "3"" of type '" "std::vector< ActivatedItem * >::iterator""'");
22378  }
22379  }
22380  result = std_vector_Sl_ActivatedItem_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
22381  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ActivatedItem * >::iterator & >(result)),
22382  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
22383  return resultobj;
22384 fail:
22385  return NULL;
22386 }
22387 
22388 
22389 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_erase(PyObject *self, PyObject *args) {
22390  int argc;
22391  PyObject *argv[4];
22392  int ii;
22393 
22394  if (!PyTuple_Check(args)) SWIG_fail;
22395  argc = args ? (int)PyObject_Length(args) : 0;
22396  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
22397  argv[ii] = PyTuple_GET_ITEM(args,ii);
22398  }
22399  if (argc == 2) {
22400  int _v;
22401  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
22402  _v = SWIG_CheckState(res);
22403  if (_v) {
22404  swig::SwigPyIterator *iter = 0;
22405  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
22406  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ActivatedItem * >::iterator > *>(iter) != 0));
22407  if (_v) {
22408  return _wrap_vector_ActivatedItemPtr_erase__SWIG_0(self, args);
22409  }
22410  }
22411  }
22412  if (argc == 3) {
22413  int _v;
22414  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
22415  _v = SWIG_CheckState(res);
22416  if (_v) {
22417  swig::SwigPyIterator *iter = 0;
22418  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
22419  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ActivatedItem * >::iterator > *>(iter) != 0));
22420  if (_v) {
22421  swig::SwigPyIterator *iter = 0;
22422  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
22423  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ActivatedItem * >::iterator > *>(iter) != 0));
22424  if (_v) {
22425  return _wrap_vector_ActivatedItemPtr_erase__SWIG_1(self, args);
22426  }
22427  }
22428  }
22429  }
22430 
22431 fail:
22432  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ActivatedItemPtr_erase'.\n"
22433  " Possible C/C++ prototypes are:\n"
22434  " std::vector< ActivatedItem * >::erase(std::vector< ActivatedItem * >::iterator)\n"
22435  " std::vector< ActivatedItem * >::erase(std::vector< ActivatedItem * >::iterator,std::vector< ActivatedItem * >::iterator)\n");
22436  return 0;
22437 }
22438 
22439 
22440 SWIGINTERN PyObject *_wrap_new_vector_ActivatedItemPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22441  PyObject *resultobj = 0;
22442  std::vector< ActivatedItem * >::size_type arg1 ;
22443  std::vector< ActivatedItem * >::value_type arg2 = (std::vector< ActivatedItem * >::value_type) 0 ;
22444  size_t val1 ;
22445  int ecode1 = 0 ;
22446  void *argp2 = 0 ;
22447  int res2 = 0 ;
22448  PyObject * obj0 = 0 ;
22449  PyObject * obj1 = 0 ;
22450  std::vector< ActivatedItem * > *result = 0 ;
22451 
22452  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_ActivatedItemPtr",&obj0,&obj1)) SWIG_fail;
22453  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
22454  if (!SWIG_IsOK(ecode1)) {
22455  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_ActivatedItemPtr" "', argument " "1"" of type '" "std::vector< ActivatedItem * >::size_type""'");
22456  }
22457  arg1 = static_cast< std::vector< ActivatedItem * >::size_type >(val1);
22458  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ActivatedItem, 0 | 0 );
22459  if (!SWIG_IsOK(res2)) {
22460  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_ActivatedItemPtr" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::value_type""'");
22461  }
22462  arg2 = reinterpret_cast< std::vector< ActivatedItem * >::value_type >(argp2);
22463  result = (std::vector< ActivatedItem * > *)new std::vector< ActivatedItem * >(arg1,arg2);
22464  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, SWIG_POINTER_NEW | 0 );
22465  return resultobj;
22466 fail:
22467  return NULL;
22468 }
22469 
22470 
22471 SWIGINTERN PyObject *_wrap_new_vector_ActivatedItemPtr(PyObject *self, PyObject *args) {
22472  int argc;
22473  PyObject *argv[3];
22474  int ii;
22475 
22476  if (!PyTuple_Check(args)) SWIG_fail;
22477  argc = args ? (int)PyObject_Length(args) : 0;
22478  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
22479  argv[ii] = PyTuple_GET_ITEM(args,ii);
22480  }
22481  if (argc == 0) {
22482  return _wrap_new_vector_ActivatedItemPtr__SWIG_0(self, args);
22483  }
22484  if (argc == 1) {
22485  int _v;
22486  {
22487  int res = SWIG_AsVal_size_t(argv[0], NULL);
22488  _v = SWIG_CheckState(res);
22489  }
22490  if (_v) {
22491  return _wrap_new_vector_ActivatedItemPtr__SWIG_2(self, args);
22492  }
22493  }
22494  if (argc == 1) {
22495  int _v;
22496  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
22497  _v = SWIG_CheckState(res);
22498  if (_v) {
22499  return _wrap_new_vector_ActivatedItemPtr__SWIG_1(self, args);
22500  }
22501  }
22502  if (argc == 2) {
22503  int _v;
22504  {
22505  int res = SWIG_AsVal_size_t(argv[0], NULL);
22506  _v = SWIG_CheckState(res);
22507  }
22508  if (_v) {
22509  void *vptr = 0;
22510  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ActivatedItem, 0);
22511  _v = SWIG_CheckState(res);
22512  if (_v) {
22513  return _wrap_new_vector_ActivatedItemPtr__SWIG_3(self, args);
22514  }
22515  }
22516  }
22517 
22518 fail:
22519  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_ActivatedItemPtr'.\n"
22520  " Possible C/C++ prototypes are:\n"
22521  " std::vector< ActivatedItem * >::vector()\n"
22522  " std::vector< ActivatedItem * >::vector(std::vector< ActivatedItem * > const &)\n"
22523  " std::vector< ActivatedItem * >::vector(std::vector< ActivatedItem * >::size_type)\n"
22524  " std::vector< ActivatedItem * >::vector(std::vector< ActivatedItem * >::size_type,std::vector< ActivatedItem * >::value_type)\n");
22525  return 0;
22526 }
22527 
22528 
22529 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22530  PyObject *resultobj = 0;
22531  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22532  std::vector< ActivatedItem * >::value_type arg2 = (std::vector< ActivatedItem * >::value_type) 0 ;
22533  void *argp1 = 0 ;
22534  int res1 = 0 ;
22535  void *argp2 = 0 ;
22536  int res2 = 0 ;
22537  PyObject * obj0 = 0 ;
22538  PyObject * obj1 = 0 ;
22539 
22540  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ActivatedItemPtr_push_back",&obj0,&obj1)) SWIG_fail;
22541  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22542  if (!SWIG_IsOK(res1)) {
22543  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_push_back" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22544  }
22545  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22546  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ActivatedItem, 0 | 0 );
22547  if (!SWIG_IsOK(res2)) {
22548  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_ActivatedItemPtr_push_back" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::value_type""'");
22549  }
22550  arg2 = reinterpret_cast< std::vector< ActivatedItem * >::value_type >(argp2);
22551  (arg1)->push_back(arg2);
22552  resultobj = SWIG_Py_Void();
22553  return resultobj;
22554 fail:
22555  return NULL;
22556 }
22557 
22558 
22559 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22560  PyObject *resultobj = 0;
22561  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22562  void *argp1 = 0 ;
22563  int res1 = 0 ;
22564  PyObject * obj0 = 0 ;
22565  std::vector< ActivatedItem * >::value_type result;
22566 
22567  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr_front",&obj0)) SWIG_fail;
22568  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22569  if (!SWIG_IsOK(res1)) {
22570  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_front" "', argument " "1"" of type '" "std::vector< ActivatedItem * > const *""'");
22571  }
22572  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22573  result = (std::vector< ActivatedItem * >::value_type)((std::vector< ActivatedItem * > const *)arg1)->front();
22574  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ActivatedItem, 0 | 0 );
22575  return resultobj;
22576 fail:
22577  return NULL;
22578 }
22579 
22580 
22581 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22582  PyObject *resultobj = 0;
22583  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22584  void *argp1 = 0 ;
22585  int res1 = 0 ;
22586  PyObject * obj0 = 0 ;
22587  std::vector< ActivatedItem * >::value_type result;
22588 
22589  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr_back",&obj0)) SWIG_fail;
22590  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22591  if (!SWIG_IsOK(res1)) {
22592  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_back" "', argument " "1"" of type '" "std::vector< ActivatedItem * > const *""'");
22593  }
22594  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22595  result = (std::vector< ActivatedItem * >::value_type)((std::vector< ActivatedItem * > const *)arg1)->back();
22596  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ActivatedItem, 0 | 0 );
22597  return resultobj;
22598 fail:
22599  return NULL;
22600 }
22601 
22602 
22603 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22604  PyObject *resultobj = 0;
22605  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22606  std::vector< ActivatedItem * >::size_type arg2 ;
22607  std::vector< ActivatedItem * >::value_type arg3 = (std::vector< ActivatedItem * >::value_type) 0 ;
22608  void *argp1 = 0 ;
22609  int res1 = 0 ;
22610  size_t val2 ;
22611  int ecode2 = 0 ;
22612  void *argp3 = 0 ;
22613  int res3 = 0 ;
22614  PyObject * obj0 = 0 ;
22615  PyObject * obj1 = 0 ;
22616  PyObject * obj2 = 0 ;
22617 
22618  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ActivatedItemPtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
22619  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22620  if (!SWIG_IsOK(res1)) {
22621  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_assign" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22622  }
22623  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22624  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22625  if (!SWIG_IsOK(ecode2)) {
22626  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ActivatedItemPtr_assign" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::size_type""'");
22627  }
22628  arg2 = static_cast< std::vector< ActivatedItem * >::size_type >(val2);
22629  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ActivatedItem, 0 | 0 );
22630  if (!SWIG_IsOK(res3)) {
22631  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ActivatedItemPtr_assign" "', argument " "3"" of type '" "std::vector< ActivatedItem * >::value_type""'");
22632  }
22633  arg3 = reinterpret_cast< std::vector< ActivatedItem * >::value_type >(argp3);
22634  (arg1)->assign(arg2,arg3);
22635  resultobj = SWIG_Py_Void();
22636  return resultobj;
22637 fail:
22638  return NULL;
22639 }
22640 
22641 
22642 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22643  PyObject *resultobj = 0;
22644  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22645  std::vector< ActivatedItem * >::size_type arg2 ;
22646  std::vector< ActivatedItem * >::value_type arg3 = (std::vector< ActivatedItem * >::value_type) 0 ;
22647  void *argp1 = 0 ;
22648  int res1 = 0 ;
22649  size_t val2 ;
22650  int ecode2 = 0 ;
22651  void *argp3 = 0 ;
22652  int res3 = 0 ;
22653  PyObject * obj0 = 0 ;
22654  PyObject * obj1 = 0 ;
22655  PyObject * obj2 = 0 ;
22656 
22657  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ActivatedItemPtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
22658  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22659  if (!SWIG_IsOK(res1)) {
22660  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_resize" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22661  }
22662  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22663  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22664  if (!SWIG_IsOK(ecode2)) {
22665  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ActivatedItemPtr_resize" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::size_type""'");
22666  }
22667  arg2 = static_cast< std::vector< ActivatedItem * >::size_type >(val2);
22668  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ActivatedItem, 0 | 0 );
22669  if (!SWIG_IsOK(res3)) {
22670  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ActivatedItemPtr_resize" "', argument " "3"" of type '" "std::vector< ActivatedItem * >::value_type""'");
22671  }
22672  arg3 = reinterpret_cast< std::vector< ActivatedItem * >::value_type >(argp3);
22673  (arg1)->resize(arg2,arg3);
22674  resultobj = SWIG_Py_Void();
22675  return resultobj;
22676 fail:
22677  return NULL;
22678 }
22679 
22680 
22681 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_resize(PyObject *self, PyObject *args) {
22682  int argc;
22683  PyObject *argv[4];
22684  int ii;
22685 
22686  if (!PyTuple_Check(args)) SWIG_fail;
22687  argc = args ? (int)PyObject_Length(args) : 0;
22688  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
22689  argv[ii] = PyTuple_GET_ITEM(args,ii);
22690  }
22691  if (argc == 2) {
22692  int _v;
22693  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
22694  _v = SWIG_CheckState(res);
22695  if (_v) {
22696  {
22697  int res = SWIG_AsVal_size_t(argv[1], NULL);
22698  _v = SWIG_CheckState(res);
22699  }
22700  if (_v) {
22701  return _wrap_vector_ActivatedItemPtr_resize__SWIG_0(self, args);
22702  }
22703  }
22704  }
22705  if (argc == 3) {
22706  int _v;
22707  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
22708  _v = SWIG_CheckState(res);
22709  if (_v) {
22710  {
22711  int res = SWIG_AsVal_size_t(argv[1], NULL);
22712  _v = SWIG_CheckState(res);
22713  }
22714  if (_v) {
22715  void *vptr = 0;
22716  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ActivatedItem, 0);
22717  _v = SWIG_CheckState(res);
22718  if (_v) {
22719  return _wrap_vector_ActivatedItemPtr_resize__SWIG_1(self, args);
22720  }
22721  }
22722  }
22723  }
22724 
22725 fail:
22726  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ActivatedItemPtr_resize'.\n"
22727  " Possible C/C++ prototypes are:\n"
22728  " std::vector< ActivatedItem * >::resize(std::vector< ActivatedItem * >::size_type)\n"
22729  " std::vector< ActivatedItem * >::resize(std::vector< ActivatedItem * >::size_type,std::vector< ActivatedItem * >::value_type)\n");
22730  return 0;
22731 }
22732 
22733 
22734 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22735  PyObject *resultobj = 0;
22736  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22737  std::vector< ActivatedItem * >::iterator arg2 ;
22738  std::vector< ActivatedItem * >::value_type arg3 = (std::vector< ActivatedItem * >::value_type) 0 ;
22739  void *argp1 = 0 ;
22740  int res1 = 0 ;
22741  swig::SwigPyIterator *iter2 = 0 ;
22742  int res2 ;
22743  void *argp3 = 0 ;
22744  int res3 = 0 ;
22745  PyObject * obj0 = 0 ;
22746  PyObject * obj1 = 0 ;
22747  PyObject * obj2 = 0 ;
22748  std::vector< ActivatedItem * >::iterator result;
22749 
22750  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ActivatedItemPtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
22751  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22752  if (!SWIG_IsOK(res1)) {
22753  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_insert" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22754  }
22755  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22756  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
22757  if (!SWIG_IsOK(res2) || !iter2) {
22758  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ActivatedItemPtr_insert" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::iterator""'");
22759  } else {
22761  if (iter_t) {
22762  arg2 = iter_t->get_current();
22763  } else {
22764  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ActivatedItemPtr_insert" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::iterator""'");
22765  }
22766  }
22767  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ActivatedItem, 0 | 0 );
22768  if (!SWIG_IsOK(res3)) {
22769  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ActivatedItemPtr_insert" "', argument " "3"" of type '" "std::vector< ActivatedItem * >::value_type""'");
22770  }
22771  arg3 = reinterpret_cast< std::vector< ActivatedItem * >::value_type >(argp3);
22772  result = std_vector_Sl_ActivatedItem_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
22773  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ActivatedItem * >::iterator & >(result)),
22774  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
22775  return resultobj;
22776 fail:
22777  return NULL;
22778 }
22779 
22780 
22781 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22782  PyObject *resultobj = 0;
22783  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22784  std::vector< ActivatedItem * >::iterator arg2 ;
22785  std::vector< ActivatedItem * >::size_type arg3 ;
22786  std::vector< ActivatedItem * >::value_type arg4 = (std::vector< ActivatedItem * >::value_type) 0 ;
22787  void *argp1 = 0 ;
22788  int res1 = 0 ;
22789  swig::SwigPyIterator *iter2 = 0 ;
22790  int res2 ;
22791  size_t val3 ;
22792  int ecode3 = 0 ;
22793  void *argp4 = 0 ;
22794  int res4 = 0 ;
22795  PyObject * obj0 = 0 ;
22796  PyObject * obj1 = 0 ;
22797  PyObject * obj2 = 0 ;
22798  PyObject * obj3 = 0 ;
22799 
22800  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_ActivatedItemPtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22801  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22802  if (!SWIG_IsOK(res1)) {
22803  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_insert" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22804  }
22805  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22806  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
22807  if (!SWIG_IsOK(res2) || !iter2) {
22808  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ActivatedItemPtr_insert" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::iterator""'");
22809  } else {
22811  if (iter_t) {
22812  arg2 = iter_t->get_current();
22813  } else {
22814  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ActivatedItemPtr_insert" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::iterator""'");
22815  }
22816  }
22817  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
22818  if (!SWIG_IsOK(ecode3)) {
22819  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ActivatedItemPtr_insert" "', argument " "3"" of type '" "std::vector< ActivatedItem * >::size_type""'");
22820  }
22821  arg3 = static_cast< std::vector< ActivatedItem * >::size_type >(val3);
22822  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_ActivatedItem, 0 | 0 );
22823  if (!SWIG_IsOK(res4)) {
22824  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_ActivatedItemPtr_insert" "', argument " "4"" of type '" "std::vector< ActivatedItem * >::value_type""'");
22825  }
22826  arg4 = reinterpret_cast< std::vector< ActivatedItem * >::value_type >(argp4);
22827  std_vector_Sl_ActivatedItem_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
22828  resultobj = SWIG_Py_Void();
22829  return resultobj;
22830 fail:
22831  return NULL;
22832 }
22833 
22834 
22835 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_insert(PyObject *self, PyObject *args) {
22836  int argc;
22837  PyObject *argv[5];
22838  int ii;
22839 
22840  if (!PyTuple_Check(args)) SWIG_fail;
22841  argc = args ? (int)PyObject_Length(args) : 0;
22842  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
22843  argv[ii] = PyTuple_GET_ITEM(args,ii);
22844  }
22845  if (argc == 3) {
22846  int _v;
22847  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
22848  _v = SWIG_CheckState(res);
22849  if (_v) {
22850  swig::SwigPyIterator *iter = 0;
22851  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
22852  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ActivatedItem * >::iterator > *>(iter) != 0));
22853  if (_v) {
22854  void *vptr = 0;
22855  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ActivatedItem, 0);
22856  _v = SWIG_CheckState(res);
22857  if (_v) {
22858  return _wrap_vector_ActivatedItemPtr_insert__SWIG_0(self, args);
22859  }
22860  }
22861  }
22862  }
22863  if (argc == 4) {
22864  int _v;
22865  int res = swig::asptr(argv[0], (std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >**)(0));
22866  _v = SWIG_CheckState(res);
22867  if (_v) {
22868  swig::SwigPyIterator *iter = 0;
22869  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
22870  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ActivatedItem * >::iterator > *>(iter) != 0));
22871  if (_v) {
22872  {
22873  int res = SWIG_AsVal_size_t(argv[2], NULL);
22874  _v = SWIG_CheckState(res);
22875  }
22876  if (_v) {
22877  void *vptr = 0;
22878  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_ActivatedItem, 0);
22879  _v = SWIG_CheckState(res);
22880  if (_v) {
22881  return _wrap_vector_ActivatedItemPtr_insert__SWIG_1(self, args);
22882  }
22883  }
22884  }
22885  }
22886  }
22887 
22888 fail:
22889  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ActivatedItemPtr_insert'.\n"
22890  " Possible C/C++ prototypes are:\n"
22891  " std::vector< ActivatedItem * >::insert(std::vector< ActivatedItem * >::iterator,std::vector< ActivatedItem * >::value_type)\n"
22892  " std::vector< ActivatedItem * >::insert(std::vector< ActivatedItem * >::iterator,std::vector< ActivatedItem * >::size_type,std::vector< ActivatedItem * >::value_type)\n");
22893  return 0;
22894 }
22895 
22896 
22897 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22898  PyObject *resultobj = 0;
22899  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22900  std::vector< ActivatedItem * >::size_type arg2 ;
22901  void *argp1 = 0 ;
22902  int res1 = 0 ;
22903  size_t val2 ;
22904  int ecode2 = 0 ;
22905  PyObject * obj0 = 0 ;
22906  PyObject * obj1 = 0 ;
22907 
22908  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ActivatedItemPtr_reserve",&obj0,&obj1)) SWIG_fail;
22909  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22910  if (!SWIG_IsOK(res1)) {
22911  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_reserve" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22912  }
22913  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22914  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22915  if (!SWIG_IsOK(ecode2)) {
22916  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ActivatedItemPtr_reserve" "', argument " "2"" of type '" "std::vector< ActivatedItem * >::size_type""'");
22917  }
22918  arg2 = static_cast< std::vector< ActivatedItem * >::size_type >(val2);
22919  (arg1)->reserve(arg2);
22920  resultobj = SWIG_Py_Void();
22921  return resultobj;
22922 fail:
22923  return NULL;
22924 }
22925 
22926 
22927 SWIGINTERN PyObject *_wrap_vector_ActivatedItemPtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22928  PyObject *resultobj = 0;
22929  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22930  void *argp1 = 0 ;
22931  int res1 = 0 ;
22932  PyObject * obj0 = 0 ;
22933  std::vector< ActivatedItem * >::size_type result;
22934 
22935  if (!PyArg_ParseTuple(args,(char *)"O:vector_ActivatedItemPtr_capacity",&obj0)) SWIG_fail;
22936  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0 | 0 );
22937  if (!SWIG_IsOK(res1)) {
22938  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ActivatedItemPtr_capacity" "', argument " "1"" of type '" "std::vector< ActivatedItem * > const *""'");
22939  }
22940  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22941  result = ((std::vector< ActivatedItem * > const *)arg1)->capacity();
22942  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
22943  return resultobj;
22944 fail:
22945  return NULL;
22946 }
22947 
22948 
22949 SWIGINTERN PyObject *_wrap_delete_vector_ActivatedItemPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22950  PyObject *resultobj = 0;
22951  std::vector< ActivatedItem * > *arg1 = (std::vector< ActivatedItem * > *) 0 ;
22952  void *argp1 = 0 ;
22953  int res1 = 0 ;
22954  PyObject * obj0 = 0 ;
22955 
22956  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_ActivatedItemPtr",&obj0)) SWIG_fail;
22957  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, SWIG_POINTER_DISOWN | 0 );
22958  if (!SWIG_IsOK(res1)) {
22959  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_ActivatedItemPtr" "', argument " "1"" of type '" "std::vector< ActivatedItem * > *""'");
22960  }
22961  arg1 = reinterpret_cast< std::vector< ActivatedItem * > * >(argp1);
22962  {
22963  try {
22964  delete arg1;
22965  }
22966  catch(CStdErrorInfo oError)
22967  {
22968  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
22969  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
22970  PyErr_SetString(PyExc_IndexError, strError.c_str());
22971  SWIG_fail;
22972  }
22973  catch(...)
22974  {
22975  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
22976  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
22977  SWIG_fail;
22978  }
22979  }
22980  resultobj = SWIG_Py_Void();
22981  return resultobj;
22982 fail:
22983  return NULL;
22984 }
22985 
22986 
22987 SWIGINTERN PyObject *vector_ActivatedItemPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22988  PyObject *obj;
22989  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
22990  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, SWIG_NewClientData(obj));
22991  return SWIG_Py_Void();
22992 }
22993 
22994 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22995  PyObject *resultobj = 0;
22996  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
22997  PyObject **arg2 = (PyObject **) 0 ;
22998  void *argp1 = 0 ;
22999  int res1 = 0 ;
23000  PyObject * obj0 = 0 ;
23001  swig::SwigPyIterator *result = 0 ;
23002 
23003  arg2 = &obj0;
23004  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr_iterator",&obj0)) SWIG_fail;
23005  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23006  if (!SWIG_IsOK(res1)) {
23007  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_iterator" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23008  }
23009  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23010  result = (swig::SwigPyIterator *)std_vector_Sl_Adapter_Sm__Sg__iterator(arg1,arg2);
23011  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
23012  return resultobj;
23013 fail:
23014  return NULL;
23015 }
23016 
23017 
23018 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23019  PyObject *resultobj = 0;
23020  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23021  void *argp1 = 0 ;
23022  int res1 = 0 ;
23023  PyObject * obj0 = 0 ;
23024  bool result;
23025 
23026  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr___nonzero__",&obj0)) SWIG_fail;
23027  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23028  if (!SWIG_IsOK(res1)) {
23029  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr___nonzero__" "', argument " "1"" of type '" "std::vector< Adapter * > const *""'");
23030  }
23031  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23032  result = (bool)std_vector_Sl_Adapter_Sm__Sg____nonzero__((std::vector< Adapter * > const *)arg1);
23033  resultobj = SWIG_From_bool(static_cast< bool >(result));
23034  return resultobj;
23035 fail:
23036  return NULL;
23037 }
23038 
23039 
23040 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23041  PyObject *resultobj = 0;
23042  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23043  void *argp1 = 0 ;
23044  int res1 = 0 ;
23045  PyObject * obj0 = 0 ;
23046  bool result;
23047 
23048  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr___bool__",&obj0)) SWIG_fail;
23049  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23050  if (!SWIG_IsOK(res1)) {
23051  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr___bool__" "', argument " "1"" of type '" "std::vector< Adapter * > const *""'");
23052  }
23053  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23054  result = (bool)std_vector_Sl_Adapter_Sm__Sg____bool__((std::vector< Adapter * > const *)arg1);
23055  resultobj = SWIG_From_bool(static_cast< bool >(result));
23056  return resultobj;
23057 fail:
23058  return NULL;
23059 }
23060 
23061 
23062 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23063  PyObject *resultobj = 0;
23064  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23065  void *argp1 = 0 ;
23066  int res1 = 0 ;
23067  PyObject * obj0 = 0 ;
23068  std::vector< Adapter * >::size_type result;
23069 
23070  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr___len__",&obj0)) SWIG_fail;
23071  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23072  if (!SWIG_IsOK(res1)) {
23073  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr___len__" "', argument " "1"" of type '" "std::vector< Adapter * > const *""'");
23074  }
23075  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23076  result = std_vector_Sl_Adapter_Sm__Sg____len__((std::vector< Adapter * > const *)arg1);
23077  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
23078  return resultobj;
23079 fail:
23080  return NULL;
23081 }
23082 
23083 
23084 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23085  PyObject *resultobj = 0;
23086  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23087  void *argp1 = 0 ;
23088  int res1 = 0 ;
23089  PyObject * obj0 = 0 ;
23090  std::vector< Adapter * >::value_type result;
23091 
23092  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr_pop",&obj0)) SWIG_fail;
23093  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23094  if (!SWIG_IsOK(res1)) {
23095  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_pop" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23096  }
23097  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23098  try {
23099  result = (std::vector< Adapter * >::value_type)std_vector_Sl_Adapter_Sm__Sg__pop(arg1);
23100  }
23101  catch(std::out_of_range &_e) {
23102  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
23103  }
23104 
23105  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Adapter, 0 | 0 );
23106  return resultobj;
23107 fail:
23108  return NULL;
23109 }
23110 
23111 
23112 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23113  PyObject *resultobj = 0;
23114  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23115  std::vector< Adapter * >::difference_type arg2 ;
23116  std::vector< Adapter * >::difference_type arg3 ;
23117  void *argp1 = 0 ;
23118  int res1 = 0 ;
23119  ptrdiff_t val2 ;
23120  int ecode2 = 0 ;
23121  ptrdiff_t val3 ;
23122  int ecode3 = 0 ;
23123  PyObject * obj0 = 0 ;
23124  PyObject * obj1 = 0 ;
23125  PyObject * obj2 = 0 ;
23126  std::vector< Adapter *,std::allocator< Adapter * > > *result = 0 ;
23127 
23128  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AdapterPtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
23129  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23130  if (!SWIG_IsOK(res1)) {
23131  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr___getslice__" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23132  }
23133  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23134  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
23135  if (!SWIG_IsOK(ecode2)) {
23136  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AdapterPtr___getslice__" "', argument " "2"" of type '" "std::vector< Adapter * >::difference_type""'");
23137  }
23138  arg2 = static_cast< std::vector< Adapter * >::difference_type >(val2);
23139  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
23140  if (!SWIG_IsOK(ecode3)) {
23141  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_AdapterPtr___getslice__" "', argument " "3"" of type '" "std::vector< Adapter * >::difference_type""'");
23142  }
23143  arg3 = static_cast< std::vector< Adapter * >::difference_type >(val3);
23144  try {
23145  result = (std::vector< Adapter *,std::allocator< Adapter * > > *)std_vector_Sl_Adapter_Sm__Sg____getslice__(arg1,arg2,arg3);
23146  }
23147  catch(std::out_of_range &_e) {
23148  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
23149  }
23150  catch(std::invalid_argument &_e) {
23151  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
23152  }
23153 
23154  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, SWIG_POINTER_OWN | 0 );
23155  return resultobj;
23156 fail:
23157  return NULL;
23158 }
23159 
23160 
23161 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23162  PyObject *resultobj = 0;
23163  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23164  std::vector< Adapter * >::difference_type arg2 ;
23165  std::vector< Adapter * >::difference_type arg3 ;
23166  std::vector< Adapter *,std::allocator< Adapter * > > *arg4 = 0 ;
23167  void *argp1 = 0 ;
23168  int res1 = 0 ;
23169  ptrdiff_t val2 ;
23170  int ecode2 = 0 ;
23171  ptrdiff_t val3 ;
23172  int ecode3 = 0 ;
23173  int res4 = SWIG_OLDOBJ ;
23174  PyObject * obj0 = 0 ;
23175  PyObject * obj1 = 0 ;
23176  PyObject * obj2 = 0 ;
23177  PyObject * obj3 = 0 ;
23178 
23179  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_AdapterPtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
23180  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23181  if (!SWIG_IsOK(res1)) {
23182  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr___setslice__" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23183  }
23184  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23185  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
23186  if (!SWIG_IsOK(ecode2)) {
23187  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AdapterPtr___setslice__" "', argument " "2"" of type '" "std::vector< Adapter * >::difference_type""'");
23188  }
23189  arg2 = static_cast< std::vector< Adapter * >::difference_type >(val2);
23190  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
23191  if (!SWIG_IsOK(ecode3)) {
23192  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_AdapterPtr___setslice__" "', argument " "3"" of type '" "std::vector< Adapter * >::difference_type""'");
23193  }
23194  arg3 = static_cast< std::vector< Adapter * >::difference_type >(val3);
23195  {
23196  std::vector<Adapter*,std::allocator< Adapter * > > *ptr = (std::vector<Adapter*,std::allocator< Adapter * > > *)0;
23197  res4 = swig::asptr(obj3, &ptr);
23198  if (!SWIG_IsOK(res4)) {
23199  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_AdapterPtr___setslice__" "', argument " "4"" of type '" "std::vector< Adapter *,std::allocator< Adapter * > > const &""'");
23200  }
23201  if (!ptr) {
23202  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_AdapterPtr___setslice__" "', argument " "4"" of type '" "std::vector< Adapter *,std::allocator< Adapter * > > const &""'");
23203  }
23204  arg4 = ptr;
23205  }
23206  try {
23207  std_vector_Sl_Adapter_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< Adapter *,std::allocator< Adapter * > > const &)*arg4);
23208  }
23209  catch(std::out_of_range &_e) {
23210  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
23211  }
23212  catch(std::invalid_argument &_e) {
23213  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
23214  }
23215 
23216  resultobj = SWIG_Py_Void();
23217  if (SWIG_IsNewObj(res4)) delete arg4;
23218  return resultobj;
23219 fail:
23220  if (SWIG_IsNewObj(res4)) delete arg4;
23221  return NULL;
23222 }
23223 
23224 
23225 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23226  PyObject *resultobj = 0;
23227  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23228  std::vector< Adapter * >::difference_type arg2 ;
23229  std::vector< Adapter * >::difference_type arg3 ;
23230  void *argp1 = 0 ;
23231  int res1 = 0 ;
23232  ptrdiff_t val2 ;
23233  int ecode2 = 0 ;
23234  ptrdiff_t val3 ;
23235  int ecode3 = 0 ;
23236  PyObject * obj0 = 0 ;
23237  PyObject * obj1 = 0 ;
23238  PyObject * obj2 = 0 ;
23239 
23240  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AdapterPtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
23241  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23242  if (!SWIG_IsOK(res1)) {
23243  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr___setslice__" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23244  }
23245  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23246  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
23247  if (!SWIG_IsOK(ecode2)) {
23248  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AdapterPtr___setslice__" "', argument " "2"" of type '" "std::vector< Adapter * >::difference_type""'");
23249  }
23250  arg2 = static_cast< std::vector< Adapter * >::difference_type >(val2);
23251  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
23252  if (!SWIG_IsOK(ecode3)) {
23253  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_AdapterPtr___setslice__" "', argument " "3"" of type '" "std::vector< Adapter * >::difference_type""'");
23254  }
23255  arg3 = static_cast< std::vector< Adapter * >::difference_type >(val3);
23256  try {
23257  std_vector_Sl_Adapter_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
23258  }
23259  catch(std::out_of_range &_e) {
23260  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
23261  }
23262  catch(std::invalid_argument &_e) {
23263  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
23264  }
23265 
23266  resultobj = SWIG_Py_Void();
23267  return resultobj;
23268 fail:
23269  return NULL;
23270 }
23271 
23272 
23273 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___setslice__(PyObject *self, PyObject *args) {
23274  int argc;
23275  PyObject *argv[5];
23276  int ii;
23277 
23278  if (!PyTuple_Check(args)) SWIG_fail;
23279  argc = args ? (int)PyObject_Length(args) : 0;
23280  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
23281  argv[ii] = PyTuple_GET_ITEM(args,ii);
23282  }
23283  if (argc == 3) {
23284  int _v;
23285  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
23286  _v = SWIG_CheckState(res);
23287  if (_v) {
23288  {
23289  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
23290  _v = SWIG_CheckState(res);
23291  }
23292  if (_v) {
23293  {
23294  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
23295  _v = SWIG_CheckState(res);
23296  }
23297  if (_v) {
23298  return _wrap_vector_AdapterPtr___setslice____SWIG_1(self, args);
23299  }
23300  }
23301  }
23302  }
23303  if (argc == 4) {
23304  int _v;
23305  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
23306  _v = SWIG_CheckState(res);
23307  if (_v) {
23308  {
23309  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
23310  _v = SWIG_CheckState(res);
23311  }
23312  if (_v) {
23313  {
23314  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
23315  _v = SWIG_CheckState(res);
23316  }
23317  if (_v) {
23318  int res = swig::asptr(argv[3], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
23319  _v = SWIG_CheckState(res);
23320  if (_v) {
23321  return _wrap_vector_AdapterPtr___setslice____SWIG_0(self, args);
23322  }
23323  }
23324  }
23325  }
23326  }
23327 
23328 fail:
23329  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_AdapterPtr___setslice__'.\n"
23330  " Possible C/C++ prototypes are:\n"
23331  " std::vector< Adapter * >::__setslice__(std::vector< Adapter * >::difference_type,std::vector< Adapter * >::difference_type,std::vector< Adapter *,std::allocator< Adapter * > > const &)\n"
23332  " std::vector< Adapter * >::__setslice__(std::vector< Adapter * >::difference_type,std::vector< Adapter * >::difference_type)\n");
23333  return 0;
23334 }
23335 
23336 
23337 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23338  PyObject *resultobj = 0;
23339  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23340  std::vector< Adapter * >::difference_type arg2 ;
23341  std::vector< Adapter * >::difference_type arg3 ;
23342  void *argp1 = 0 ;
23343  int res1 = 0 ;
23344  ptrdiff_t val2 ;
23345  int ecode2 = 0 ;
23346  ptrdiff_t val3 ;
23347  int ecode3 = 0 ;
23348  PyObject * obj0 = 0 ;
23349  PyObject * obj1 = 0 ;
23350  PyObject * obj2 = 0 ;
23351 
23352  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AdapterPtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
23353  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23354  if (!SWIG_IsOK(res1)) {
23355  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr___delslice__" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23356  }
23357  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23358  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
23359  if (!SWIG_IsOK(ecode2)) {
23360  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AdapterPtr___delslice__" "', argument " "2"" of type '" "std::vector< Adapter * >::difference_type""'");
23361  }
23362  arg2 = static_cast< std::vector< Adapter * >::difference_type >(val2);
23363  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
23364  if (!SWIG_IsOK(ecode3)) {
23365  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_AdapterPtr___delslice__" "', argument " "3"" of type '" "std::vector< Adapter * >::difference_type""'");
23366  }
23367  arg3 = static_cast< std::vector< Adapter * >::difference_type >(val3);
23368  try {
23369  std_vector_Sl_Adapter_Sm__Sg____delslice__(arg1,arg2,arg3);
23370  }
23371  catch(std::out_of_range &_e) {
23372  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
23373  }
23374  catch(std::invalid_argument &_e) {
23375  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
23376  }
23377 
23378  resultobj = SWIG_Py_Void();
23379  return resultobj;
23380 fail:
23381  return NULL;
23382 }
23383 
23384 
23385 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23386  PyObject *resultobj = 0;
23387  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23388  std::vector< Adapter * >::difference_type arg2 ;
23389  void *argp1 = 0 ;
23390  int res1 = 0 ;
23391  ptrdiff_t val2 ;
23392  int ecode2 = 0 ;
23393  PyObject * obj0 = 0 ;
23394  PyObject * obj1 = 0 ;
23395 
23396  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AdapterPtr___delitem__",&obj0,&obj1)) SWIG_fail;
23397  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23398  if (!SWIG_IsOK(res1)) {
23399  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr___delitem__" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23400  }
23401  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23402  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
23403  if (!SWIG_IsOK(ecode2)) {
23404  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AdapterPtr___delitem__" "', argument " "2"" of type '" "std::vector< Adapter * >::difference_type""'");
23405  }
23406  arg2 = static_cast< std::vector< Adapter * >::difference_type >(val2);
23407  try {
23408  std_vector_Sl_Adapter_Sm__Sg____delitem____SWIG_0(arg1,arg2);
23409  }
23410  catch(std::out_of_range &_e) {
23411  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
23412  }
23413 
23414  resultobj = SWIG_Py_Void();
23415  return resultobj;
23416 fail:
23417  return NULL;
23418 }
23419 
23420 
23421 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23422  PyObject *resultobj = 0;
23423  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23424  PySliceObject *arg2 = (PySliceObject *) 0 ;
23425  void *argp1 = 0 ;
23426  int res1 = 0 ;
23427  PyObject * obj0 = 0 ;
23428  PyObject * obj1 = 0 ;
23429  std::vector< Adapter *,std::allocator< Adapter * > > *result = 0 ;
23430 
23431  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AdapterPtr___getitem__",&obj0,&obj1)) SWIG_fail;
23432  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23433  if (!SWIG_IsOK(res1)) {
23434  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr___getitem__" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23435  }
23436  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23437  {
23438  if (!PySlice_Check(obj1)) {
23439  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AdapterPtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
23440  }
23441  arg2 = (PySliceObject *) obj1;
23442  }
23443  try {
23444  result = (std::vector< Adapter *,std::allocator< Adapter * > > *)std_vector_Sl_Adapter_Sm__Sg____getitem____SWIG_0(arg1,arg2);
23445  }
23446  catch(std::out_of_range &_e) {
23447  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
23448  }
23449  catch(std::invalid_argument &_e) {
23450  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
23451  }
23452 
23453  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, SWIG_POINTER_OWN | 0 );
23454  return resultobj;
23455 fail:
23456  return NULL;
23457 }
23458 
23459 
23460 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23461  PyObject *resultobj = 0;
23462  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23463  PySliceObject *arg2 = (PySliceObject *) 0 ;
23464  std::vector< Adapter *,std::allocator< Adapter * > > *arg3 = 0 ;
23465  void *argp1 = 0 ;
23466  int res1 = 0 ;
23467  int res3 = SWIG_OLDOBJ ;
23468  PyObject * obj0 = 0 ;
23469  PyObject * obj1 = 0 ;
23470  PyObject * obj2 = 0 ;
23471 
23472  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AdapterPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
23473  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23474  if (!SWIG_IsOK(res1)) {
23475  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr___setitem__" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23476  }
23477  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23478  {
23479  if (!PySlice_Check(obj1)) {
23480  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AdapterPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
23481  }
23482  arg2 = (PySliceObject *) obj1;
23483  }
23484  {
23485  std::vector<Adapter*,std::allocator< Adapter * > > *ptr = (std::vector<Adapter*,std::allocator< Adapter * > > *)0;
23486  res3 = swig::asptr(obj2, &ptr);
23487  if (!SWIG_IsOK(res3)) {
23488  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_AdapterPtr___setitem__" "', argument " "3"" of type '" "std::vector< Adapter *,std::allocator< Adapter * > > const &""'");
23489  }
23490  if (!ptr) {
23491  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_AdapterPtr___setitem__" "', argument " "3"" of type '" "std::vector< Adapter *,std::allocator< Adapter * > > const &""'");
23492  }
23493  arg3 = ptr;
23494  }
23495  try {
23496  std_vector_Sl_Adapter_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< Adapter *,std::allocator< Adapter * > > const &)*arg3);
23497  }
23498  catch(std::out_of_range &_e) {
23499  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
23500  }
23501  catch(std::invalid_argument &_e) {
23502  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
23503  }
23504 
23505  resultobj = SWIG_Py_Void();
23506  if (SWIG_IsNewObj(res3)) delete arg3;
23507  return resultobj;
23508 fail:
23509  if (SWIG_IsNewObj(res3)) delete arg3;
23510  return NULL;
23511 }
23512 
23513 
23514 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23515  PyObject *resultobj = 0;
23516  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23517  PySliceObject *arg2 = (PySliceObject *) 0 ;
23518  void *argp1 = 0 ;
23519  int res1 = 0 ;
23520  PyObject * obj0 = 0 ;
23521  PyObject * obj1 = 0 ;
23522 
23523  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AdapterPtr___setitem__",&obj0,&obj1)) SWIG_fail;
23524  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23525  if (!SWIG_IsOK(res1)) {
23526  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr___setitem__" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23527  }
23528  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23529  {
23530  if (!PySlice_Check(obj1)) {
23531  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AdapterPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
23532  }
23533  arg2 = (PySliceObject *) obj1;
23534  }
23535  try {
23536  std_vector_Sl_Adapter_Sm__Sg____setitem____SWIG_1(arg1,arg2);
23537  }
23538  catch(std::out_of_range &_e) {
23539  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
23540  }
23541  catch(std::invalid_argument &_e) {
23542  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
23543  }
23544 
23545  resultobj = SWIG_Py_Void();
23546  return resultobj;
23547 fail:
23548  return NULL;
23549 }
23550 
23551 
23552 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23553  PyObject *resultobj = 0;
23554  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23555  PySliceObject *arg2 = (PySliceObject *) 0 ;
23556  void *argp1 = 0 ;
23557  int res1 = 0 ;
23558  PyObject * obj0 = 0 ;
23559  PyObject * obj1 = 0 ;
23560 
23561  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AdapterPtr___delitem__",&obj0,&obj1)) SWIG_fail;
23562  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23563  if (!SWIG_IsOK(res1)) {
23564  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr___delitem__" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23565  }
23566  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23567  {
23568  if (!PySlice_Check(obj1)) {
23569  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AdapterPtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
23570  }
23571  arg2 = (PySliceObject *) obj1;
23572  }
23573  try {
23574  std_vector_Sl_Adapter_Sm__Sg____delitem____SWIG_1(arg1,arg2);
23575  }
23576  catch(std::out_of_range &_e) {
23577  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
23578  }
23579  catch(std::invalid_argument &_e) {
23580  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
23581  }
23582 
23583  resultobj = SWIG_Py_Void();
23584  return resultobj;
23585 fail:
23586  return NULL;
23587 }
23588 
23589 
23590 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___delitem__(PyObject *self, PyObject *args) {
23591  int argc;
23592  PyObject *argv[3];
23593  int ii;
23594 
23595  if (!PyTuple_Check(args)) SWIG_fail;
23596  argc = args ? (int)PyObject_Length(args) : 0;
23597  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
23598  argv[ii] = PyTuple_GET_ITEM(args,ii);
23599  }
23600  if (argc == 2) {
23601  int _v;
23602  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
23603  _v = SWIG_CheckState(res);
23604  if (_v) {
23605  {
23606  _v = PySlice_Check(argv[1]);
23607  }
23608  if (_v) {
23609  return _wrap_vector_AdapterPtr___delitem____SWIG_1(self, args);
23610  }
23611  }
23612  }
23613  if (argc == 2) {
23614  int _v;
23615  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
23616  _v = SWIG_CheckState(res);
23617  if (_v) {
23618  {
23619  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
23620  _v = SWIG_CheckState(res);
23621  }
23622  if (_v) {
23623  return _wrap_vector_AdapterPtr___delitem____SWIG_0(self, args);
23624  }
23625  }
23626  }
23627 
23628 fail:
23629  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_AdapterPtr___delitem__'.\n"
23630  " Possible C/C++ prototypes are:\n"
23631  " std::vector< Adapter * >::__delitem__(std::vector< Adapter * >::difference_type)\n"
23632  " std::vector< Adapter * >::__delitem__(PySliceObject *)\n");
23633  return 0;
23634 }
23635 
23636 
23637 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23638  PyObject *resultobj = 0;
23639  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23640  std::vector< Adapter * >::difference_type arg2 ;
23641  void *argp1 = 0 ;
23642  int res1 = 0 ;
23643  ptrdiff_t val2 ;
23644  int ecode2 = 0 ;
23645  PyObject * obj0 = 0 ;
23646  PyObject * obj1 = 0 ;
23647  std::vector< Adapter * >::value_type result;
23648 
23649  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AdapterPtr___getitem__",&obj0,&obj1)) SWIG_fail;
23650  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23651  if (!SWIG_IsOK(res1)) {
23652  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr___getitem__" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23653  }
23654  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23655  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
23656  if (!SWIG_IsOK(ecode2)) {
23657  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AdapterPtr___getitem__" "', argument " "2"" of type '" "std::vector< Adapter * >::difference_type""'");
23658  }
23659  arg2 = static_cast< std::vector< Adapter * >::difference_type >(val2);
23660  try {
23661  result = (std::vector< Adapter * >::value_type)std_vector_Sl_Adapter_Sm__Sg____getitem____SWIG_1(arg1,arg2);
23662  }
23663  catch(std::out_of_range &_e) {
23664  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
23665  }
23666 
23667  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Adapter, 0 | 0 );
23668  return resultobj;
23669 fail:
23670  return NULL;
23671 }
23672 
23673 
23674 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___getitem__(PyObject *self, PyObject *args) {
23675  int argc;
23676  PyObject *argv[3];
23677  int ii;
23678 
23679  if (!PyTuple_Check(args)) SWIG_fail;
23680  argc = args ? (int)PyObject_Length(args) : 0;
23681  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
23682  argv[ii] = PyTuple_GET_ITEM(args,ii);
23683  }
23684  if (argc == 2) {
23685  int _v;
23686  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
23687  _v = SWIG_CheckState(res);
23688  if (_v) {
23689  {
23690  _v = PySlice_Check(argv[1]);
23691  }
23692  if (_v) {
23693  return _wrap_vector_AdapterPtr___getitem____SWIG_0(self, args);
23694  }
23695  }
23696  }
23697  if (argc == 2) {
23698  int _v;
23699  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
23700  _v = SWIG_CheckState(res);
23701  if (_v) {
23702  {
23703  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
23704  _v = SWIG_CheckState(res);
23705  }
23706  if (_v) {
23707  return _wrap_vector_AdapterPtr___getitem____SWIG_1(self, args);
23708  }
23709  }
23710  }
23711 
23712 fail:
23713  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_AdapterPtr___getitem__'.\n"
23714  " Possible C/C++ prototypes are:\n"
23715  " std::vector< Adapter * >::__getitem__(PySliceObject *)\n"
23716  " std::vector< Adapter * >::__getitem__(std::vector< Adapter * >::difference_type)\n");
23717  return 0;
23718 }
23719 
23720 
23721 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23722  PyObject *resultobj = 0;
23723  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23724  std::vector< Adapter * >::difference_type arg2 ;
23725  std::vector< Adapter * >::value_type arg3 = (std::vector< Adapter * >::value_type) 0 ;
23726  void *argp1 = 0 ;
23727  int res1 = 0 ;
23728  ptrdiff_t val2 ;
23729  int ecode2 = 0 ;
23730  void *argp3 = 0 ;
23731  int res3 = 0 ;
23732  PyObject * obj0 = 0 ;
23733  PyObject * obj1 = 0 ;
23734  PyObject * obj2 = 0 ;
23735 
23736  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AdapterPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
23737  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23738  if (!SWIG_IsOK(res1)) {
23739  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr___setitem__" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23740  }
23741  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23742  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
23743  if (!SWIG_IsOK(ecode2)) {
23744  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AdapterPtr___setitem__" "', argument " "2"" of type '" "std::vector< Adapter * >::difference_type""'");
23745  }
23746  arg2 = static_cast< std::vector< Adapter * >::difference_type >(val2);
23747  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Adapter, 0 | 0 );
23748  if (!SWIG_IsOK(res3)) {
23749  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_AdapterPtr___setitem__" "', argument " "3"" of type '" "std::vector< Adapter * >::value_type""'");
23750  }
23751  arg3 = reinterpret_cast< std::vector< Adapter * >::value_type >(argp3);
23752  try {
23753  std_vector_Sl_Adapter_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
23754  }
23755  catch(std::out_of_range &_e) {
23756  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
23757  }
23758 
23759  resultobj = SWIG_Py_Void();
23760  return resultobj;
23761 fail:
23762  return NULL;
23763 }
23764 
23765 
23766 SWIGINTERN PyObject *_wrap_vector_AdapterPtr___setitem__(PyObject *self, PyObject *args) {
23767  int argc;
23768  PyObject *argv[4];
23769  int ii;
23770 
23771  if (!PyTuple_Check(args)) SWIG_fail;
23772  argc = args ? (int)PyObject_Length(args) : 0;
23773  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
23774  argv[ii] = PyTuple_GET_ITEM(args,ii);
23775  }
23776  if (argc == 2) {
23777  int _v;
23778  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
23779  _v = SWIG_CheckState(res);
23780  if (_v) {
23781  {
23782  _v = PySlice_Check(argv[1]);
23783  }
23784  if (_v) {
23785  return _wrap_vector_AdapterPtr___setitem____SWIG_1(self, args);
23786  }
23787  }
23788  }
23789  if (argc == 3) {
23790  int _v;
23791  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
23792  _v = SWIG_CheckState(res);
23793  if (_v) {
23794  {
23795  _v = PySlice_Check(argv[1]);
23796  }
23797  if (_v) {
23798  int res = swig::asptr(argv[2], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
23799  _v = SWIG_CheckState(res);
23800  if (_v) {
23801  return _wrap_vector_AdapterPtr___setitem____SWIG_0(self, args);
23802  }
23803  }
23804  }
23805  }
23806  if (argc == 3) {
23807  int _v;
23808  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
23809  _v = SWIG_CheckState(res);
23810  if (_v) {
23811  {
23812  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
23813  _v = SWIG_CheckState(res);
23814  }
23815  if (_v) {
23816  void *vptr = 0;
23817  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Adapter, 0);
23818  _v = SWIG_CheckState(res);
23819  if (_v) {
23820  return _wrap_vector_AdapterPtr___setitem____SWIG_2(self, args);
23821  }
23822  }
23823  }
23824  }
23825 
23826 fail:
23827  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_AdapterPtr___setitem__'.\n"
23828  " Possible C/C++ prototypes are:\n"
23829  " std::vector< Adapter * >::__setitem__(PySliceObject *,std::vector< Adapter *,std::allocator< Adapter * > > const &)\n"
23830  " std::vector< Adapter * >::__setitem__(PySliceObject *)\n"
23831  " std::vector< Adapter * >::__setitem__(std::vector< Adapter * >::difference_type,std::vector< Adapter * >::value_type)\n");
23832  return 0;
23833 }
23834 
23835 
23836 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23837  PyObject *resultobj = 0;
23838  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23839  std::vector< Adapter * >::value_type arg2 = (std::vector< Adapter * >::value_type) 0 ;
23840  void *argp1 = 0 ;
23841  int res1 = 0 ;
23842  void *argp2 = 0 ;
23843  int res2 = 0 ;
23844  PyObject * obj0 = 0 ;
23845  PyObject * obj1 = 0 ;
23846 
23847  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AdapterPtr_append",&obj0,&obj1)) SWIG_fail;
23848  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23849  if (!SWIG_IsOK(res1)) {
23850  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_append" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23851  }
23852  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23853  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Adapter, 0 | 0 );
23854  if (!SWIG_IsOK(res2)) {
23855  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_AdapterPtr_append" "', argument " "2"" of type '" "std::vector< Adapter * >::value_type""'");
23856  }
23857  arg2 = reinterpret_cast< std::vector< Adapter * >::value_type >(argp2);
23858  std_vector_Sl_Adapter_Sm__Sg__append(arg1,arg2);
23859  resultobj = SWIG_Py_Void();
23860  return resultobj;
23861 fail:
23862  return NULL;
23863 }
23864 
23865 
23866 SWIGINTERN PyObject *_wrap_new_vector_AdapterPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23867  PyObject *resultobj = 0;
23868  std::vector< Adapter * > *result = 0 ;
23869 
23870  if (!PyArg_ParseTuple(args,(char *)":new_vector_AdapterPtr")) SWIG_fail;
23871  result = (std::vector< Adapter * > *)new std::vector< Adapter * >();
23872  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, SWIG_POINTER_NEW | 0 );
23873  return resultobj;
23874 fail:
23875  return NULL;
23876 }
23877 
23878 
23879 SWIGINTERN PyObject *_wrap_new_vector_AdapterPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23880  PyObject *resultobj = 0;
23881  std::vector< Adapter * > *arg1 = 0 ;
23882  int res1 = SWIG_OLDOBJ ;
23883  PyObject * obj0 = 0 ;
23884  std::vector< Adapter * > *result = 0 ;
23885 
23886  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_AdapterPtr",&obj0)) SWIG_fail;
23887  {
23888  std::vector<Adapter*,std::allocator< Adapter * > > *ptr = (std::vector<Adapter*,std::allocator< Adapter * > > *)0;
23889  res1 = swig::asptr(obj0, &ptr);
23890  if (!SWIG_IsOK(res1)) {
23891  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_AdapterPtr" "', argument " "1"" of type '" "std::vector< Adapter * > const &""'");
23892  }
23893  if (!ptr) {
23894  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_AdapterPtr" "', argument " "1"" of type '" "std::vector< Adapter * > const &""'");
23895  }
23896  arg1 = ptr;
23897  }
23898  result = (std::vector< Adapter * > *)new std::vector< Adapter * >((std::vector< Adapter * > const &)*arg1);
23899  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, SWIG_POINTER_NEW | 0 );
23900  if (SWIG_IsNewObj(res1)) delete arg1;
23901  return resultobj;
23902 fail:
23903  if (SWIG_IsNewObj(res1)) delete arg1;
23904  return NULL;
23905 }
23906 
23907 
23908 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23909  PyObject *resultobj = 0;
23910  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23911  void *argp1 = 0 ;
23912  int res1 = 0 ;
23913  PyObject * obj0 = 0 ;
23914  bool result;
23915 
23916  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr_empty",&obj0)) SWIG_fail;
23917  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23918  if (!SWIG_IsOK(res1)) {
23919  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_empty" "', argument " "1"" of type '" "std::vector< Adapter * > const *""'");
23920  }
23921  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23922  result = (bool)((std::vector< Adapter * > const *)arg1)->empty();
23923  resultobj = SWIG_From_bool(static_cast< bool >(result));
23924  return resultobj;
23925 fail:
23926  return NULL;
23927 }
23928 
23929 
23930 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23931  PyObject *resultobj = 0;
23932  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23933  void *argp1 = 0 ;
23934  int res1 = 0 ;
23935  PyObject * obj0 = 0 ;
23936  std::vector< Adapter * >::size_type result;
23937 
23938  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr_size",&obj0)) SWIG_fail;
23939  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23940  if (!SWIG_IsOK(res1)) {
23941  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_size" "', argument " "1"" of type '" "std::vector< Adapter * > const *""'");
23942  }
23943  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23944  result = ((std::vector< Adapter * > const *)arg1)->size();
23945  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
23946  return resultobj;
23947 fail:
23948  return NULL;
23949 }
23950 
23951 
23952 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23953  PyObject *resultobj = 0;
23954  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23955  void *argp1 = 0 ;
23956  int res1 = 0 ;
23957  PyObject * obj0 = 0 ;
23958 
23959  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr_clear",&obj0)) SWIG_fail;
23960  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23961  if (!SWIG_IsOK(res1)) {
23962  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_clear" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23963  }
23964  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23965  (arg1)->clear();
23966  resultobj = SWIG_Py_Void();
23967  return resultobj;
23968 fail:
23969  return NULL;
23970 }
23971 
23972 
23973 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23974  PyObject *resultobj = 0;
23975  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
23976  std::vector< Adapter * > *arg2 = 0 ;
23977  void *argp1 = 0 ;
23978  int res1 = 0 ;
23979  void *argp2 = 0 ;
23980  int res2 = 0 ;
23981  PyObject * obj0 = 0 ;
23982  PyObject * obj1 = 0 ;
23983 
23984  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AdapterPtr_swap",&obj0,&obj1)) SWIG_fail;
23985  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
23986  if (!SWIG_IsOK(res1)) {
23987  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_swap" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
23988  }
23989  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
23990  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 );
23991  if (!SWIG_IsOK(res2)) {
23992  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_AdapterPtr_swap" "', argument " "2"" of type '" "std::vector< Adapter * > &""'");
23993  }
23994  if (!argp2) {
23995  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_AdapterPtr_swap" "', argument " "2"" of type '" "std::vector< Adapter * > &""'");
23996  }
23997  arg2 = reinterpret_cast< std::vector< Adapter * > * >(argp2);
23998  (arg1)->swap(*arg2);
23999  resultobj = SWIG_Py_Void();
24000  return resultobj;
24001 fail:
24002  return NULL;
24003 }
24004 
24005 
24006 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24007  PyObject *resultobj = 0;
24008  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24009  void *argp1 = 0 ;
24010  int res1 = 0 ;
24011  PyObject * obj0 = 0 ;
24012  SwigValueWrapper< std::allocator< Adapter * > > result;
24013 
24014  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr_get_allocator",&obj0)) SWIG_fail;
24015  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24016  if (!SWIG_IsOK(res1)) {
24017  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_get_allocator" "', argument " "1"" of type '" "std::vector< Adapter * > const *""'");
24018  }
24019  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24020  result = ((std::vector< Adapter * > const *)arg1)->get_allocator();
24021  resultobj = SWIG_NewPointerObj((new std::vector< Adapter * >::allocator_type(static_cast< const std::vector< Adapter * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_Adapter_p_t, SWIG_POINTER_OWN | 0 );
24022  return resultobj;
24023 fail:
24024  return NULL;
24025 }
24026 
24027 
24028 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24029  PyObject *resultobj = 0;
24030  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24031  void *argp1 = 0 ;
24032  int res1 = 0 ;
24033  PyObject * obj0 = 0 ;
24034  std::vector< Adapter * >::iterator result;
24035 
24036  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr_begin",&obj0)) SWIG_fail;
24037  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24038  if (!SWIG_IsOK(res1)) {
24039  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_begin" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
24040  }
24041  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24042  result = (arg1)->begin();
24043  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Adapter * >::iterator & >(result)),
24044  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
24045  return resultobj;
24046 fail:
24047  return NULL;
24048 }
24049 
24050 
24051 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24052  PyObject *resultobj = 0;
24053  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24054  void *argp1 = 0 ;
24055  int res1 = 0 ;
24056  PyObject * obj0 = 0 ;
24057  std::vector< Adapter * >::iterator result;
24058 
24059  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr_end",&obj0)) SWIG_fail;
24060  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24061  if (!SWIG_IsOK(res1)) {
24062  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_end" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
24063  }
24064  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24065  result = (arg1)->end();
24066  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Adapter * >::iterator & >(result)),
24067  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
24068  return resultobj;
24069 fail:
24070  return NULL;
24071 }
24072 
24073 
24074 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24075  PyObject *resultobj = 0;
24076  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24077  void *argp1 = 0 ;
24078  int res1 = 0 ;
24079  PyObject * obj0 = 0 ;
24080  std::vector< Adapter * >::reverse_iterator result;
24081 
24082  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr_rbegin",&obj0)) SWIG_fail;
24083  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24084  if (!SWIG_IsOK(res1)) {
24085  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_rbegin" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
24086  }
24087  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24088  result = (arg1)->rbegin();
24089  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Adapter * >::reverse_iterator & >(result)),
24090  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
24091  return resultobj;
24092 fail:
24093  return NULL;
24094 }
24095 
24096 
24097 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24098  PyObject *resultobj = 0;
24099  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24100  void *argp1 = 0 ;
24101  int res1 = 0 ;
24102  PyObject * obj0 = 0 ;
24103  std::vector< Adapter * >::reverse_iterator result;
24104 
24105  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr_rend",&obj0)) SWIG_fail;
24106  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24107  if (!SWIG_IsOK(res1)) {
24108  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_rend" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
24109  }
24110  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24111  result = (arg1)->rend();
24112  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Adapter * >::reverse_iterator & >(result)),
24113  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
24114  return resultobj;
24115 fail:
24116  return NULL;
24117 }
24118 
24119 
24120 SWIGINTERN PyObject *_wrap_new_vector_AdapterPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24121  PyObject *resultobj = 0;
24122  std::vector< Adapter * >::size_type arg1 ;
24123  size_t val1 ;
24124  int ecode1 = 0 ;
24125  PyObject * obj0 = 0 ;
24126  std::vector< Adapter * > *result = 0 ;
24127 
24128  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_AdapterPtr",&obj0)) SWIG_fail;
24129  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
24130  if (!SWIG_IsOK(ecode1)) {
24131  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_AdapterPtr" "', argument " "1"" of type '" "std::vector< Adapter * >::size_type""'");
24132  }
24133  arg1 = static_cast< std::vector< Adapter * >::size_type >(val1);
24134  result = (std::vector< Adapter * > *)new std::vector< Adapter * >(arg1);
24135  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, SWIG_POINTER_NEW | 0 );
24136  return resultobj;
24137 fail:
24138  return NULL;
24139 }
24140 
24141 
24142 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24143  PyObject *resultobj = 0;
24144  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24145  void *argp1 = 0 ;
24146  int res1 = 0 ;
24147  PyObject * obj0 = 0 ;
24148 
24149  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr_pop_back",&obj0)) SWIG_fail;
24150  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24151  if (!SWIG_IsOK(res1)) {
24152  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_pop_back" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
24153  }
24154  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24155  (arg1)->pop_back();
24156  resultobj = SWIG_Py_Void();
24157  return resultobj;
24158 fail:
24159  return NULL;
24160 }
24161 
24162 
24163 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24164  PyObject *resultobj = 0;
24165  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24166  std::vector< Adapter * >::size_type arg2 ;
24167  void *argp1 = 0 ;
24168  int res1 = 0 ;
24169  size_t val2 ;
24170  int ecode2 = 0 ;
24171  PyObject * obj0 = 0 ;
24172  PyObject * obj1 = 0 ;
24173 
24174  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AdapterPtr_resize",&obj0,&obj1)) SWIG_fail;
24175  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24176  if (!SWIG_IsOK(res1)) {
24177  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_resize" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
24178  }
24179  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24180  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24181  if (!SWIG_IsOK(ecode2)) {
24182  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AdapterPtr_resize" "', argument " "2"" of type '" "std::vector< Adapter * >::size_type""'");
24183  }
24184  arg2 = static_cast< std::vector< Adapter * >::size_type >(val2);
24185  (arg1)->resize(arg2);
24186  resultobj = SWIG_Py_Void();
24187  return resultobj;
24188 fail:
24189  return NULL;
24190 }
24191 
24192 
24193 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24194  PyObject *resultobj = 0;
24195  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24196  std::vector< Adapter * >::iterator arg2 ;
24197  void *argp1 = 0 ;
24198  int res1 = 0 ;
24199  swig::SwigPyIterator *iter2 = 0 ;
24200  int res2 ;
24201  PyObject * obj0 = 0 ;
24202  PyObject * obj1 = 0 ;
24203  std::vector< Adapter * >::iterator result;
24204 
24205  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AdapterPtr_erase",&obj0,&obj1)) SWIG_fail;
24206  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24207  if (!SWIG_IsOK(res1)) {
24208  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_erase" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
24209  }
24210  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24211  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
24212  if (!SWIG_IsOK(res2) || !iter2) {
24213  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AdapterPtr_erase" "', argument " "2"" of type '" "std::vector< Adapter * >::iterator""'");
24214  } else {
24216  if (iter_t) {
24217  arg2 = iter_t->get_current();
24218  } else {
24219  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AdapterPtr_erase" "', argument " "2"" of type '" "std::vector< Adapter * >::iterator""'");
24220  }
24221  }
24222  result = std_vector_Sl_Adapter_Sm__Sg__erase__SWIG_0(arg1,arg2);
24223  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Adapter * >::iterator & >(result)),
24224  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
24225  return resultobj;
24226 fail:
24227  return NULL;
24228 }
24229 
24230 
24231 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24232  PyObject *resultobj = 0;
24233  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24234  std::vector< Adapter * >::iterator arg2 ;
24235  std::vector< Adapter * >::iterator arg3 ;
24236  void *argp1 = 0 ;
24237  int res1 = 0 ;
24238  swig::SwigPyIterator *iter2 = 0 ;
24239  int res2 ;
24240  swig::SwigPyIterator *iter3 = 0 ;
24241  int res3 ;
24242  PyObject * obj0 = 0 ;
24243  PyObject * obj1 = 0 ;
24244  PyObject * obj2 = 0 ;
24245  std::vector< Adapter * >::iterator result;
24246 
24247  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AdapterPtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
24248  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24249  if (!SWIG_IsOK(res1)) {
24250  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_erase" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
24251  }
24252  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24253  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
24254  if (!SWIG_IsOK(res2) || !iter2) {
24255  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AdapterPtr_erase" "', argument " "2"" of type '" "std::vector< Adapter * >::iterator""'");
24256  } else {
24258  if (iter_t) {
24259  arg2 = iter_t->get_current();
24260  } else {
24261  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AdapterPtr_erase" "', argument " "2"" of type '" "std::vector< Adapter * >::iterator""'");
24262  }
24263  }
24264  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
24265  if (!SWIG_IsOK(res3) || !iter3) {
24266  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AdapterPtr_erase" "', argument " "3"" of type '" "std::vector< Adapter * >::iterator""'");
24267  } else {
24269  if (iter_t) {
24270  arg3 = iter_t->get_current();
24271  } else {
24272  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AdapterPtr_erase" "', argument " "3"" of type '" "std::vector< Adapter * >::iterator""'");
24273  }
24274  }
24275  result = std_vector_Sl_Adapter_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
24276  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Adapter * >::iterator & >(result)),
24277  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
24278  return resultobj;
24279 fail:
24280  return NULL;
24281 }
24282 
24283 
24284 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_erase(PyObject *self, PyObject *args) {
24285  int argc;
24286  PyObject *argv[4];
24287  int ii;
24288 
24289  if (!PyTuple_Check(args)) SWIG_fail;
24290  argc = args ? (int)PyObject_Length(args) : 0;
24291  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
24292  argv[ii] = PyTuple_GET_ITEM(args,ii);
24293  }
24294  if (argc == 2) {
24295  int _v;
24296  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
24297  _v = SWIG_CheckState(res);
24298  if (_v) {
24299  swig::SwigPyIterator *iter = 0;
24300  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
24301  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Adapter * >::iterator > *>(iter) != 0));
24302  if (_v) {
24303  return _wrap_vector_AdapterPtr_erase__SWIG_0(self, args);
24304  }
24305  }
24306  }
24307  if (argc == 3) {
24308  int _v;
24309  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
24310  _v = SWIG_CheckState(res);
24311  if (_v) {
24312  swig::SwigPyIterator *iter = 0;
24313  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
24314  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Adapter * >::iterator > *>(iter) != 0));
24315  if (_v) {
24316  swig::SwigPyIterator *iter = 0;
24317  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
24318  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Adapter * >::iterator > *>(iter) != 0));
24319  if (_v) {
24320  return _wrap_vector_AdapterPtr_erase__SWIG_1(self, args);
24321  }
24322  }
24323  }
24324  }
24325 
24326 fail:
24327  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_AdapterPtr_erase'.\n"
24328  " Possible C/C++ prototypes are:\n"
24329  " std::vector< Adapter * >::erase(std::vector< Adapter * >::iterator)\n"
24330  " std::vector< Adapter * >::erase(std::vector< Adapter * >::iterator,std::vector< Adapter * >::iterator)\n");
24331  return 0;
24332 }
24333 
24334 
24335 SWIGINTERN PyObject *_wrap_new_vector_AdapterPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24336  PyObject *resultobj = 0;
24337  std::vector< Adapter * >::size_type arg1 ;
24338  std::vector< Adapter * >::value_type arg2 = (std::vector< Adapter * >::value_type) 0 ;
24339  size_t val1 ;
24340  int ecode1 = 0 ;
24341  void *argp2 = 0 ;
24342  int res2 = 0 ;
24343  PyObject * obj0 = 0 ;
24344  PyObject * obj1 = 0 ;
24345  std::vector< Adapter * > *result = 0 ;
24346 
24347  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_AdapterPtr",&obj0,&obj1)) SWIG_fail;
24348  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
24349  if (!SWIG_IsOK(ecode1)) {
24350  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_AdapterPtr" "', argument " "1"" of type '" "std::vector< Adapter * >::size_type""'");
24351  }
24352  arg1 = static_cast< std::vector< Adapter * >::size_type >(val1);
24353  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Adapter, 0 | 0 );
24354  if (!SWIG_IsOK(res2)) {
24355  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_AdapterPtr" "', argument " "2"" of type '" "std::vector< Adapter * >::value_type""'");
24356  }
24357  arg2 = reinterpret_cast< std::vector< Adapter * >::value_type >(argp2);
24358  result = (std::vector< Adapter * > *)new std::vector< Adapter * >(arg1,arg2);
24359  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, SWIG_POINTER_NEW | 0 );
24360  return resultobj;
24361 fail:
24362  return NULL;
24363 }
24364 
24365 
24366 SWIGINTERN PyObject *_wrap_new_vector_AdapterPtr(PyObject *self, PyObject *args) {
24367  int argc;
24368  PyObject *argv[3];
24369  int ii;
24370 
24371  if (!PyTuple_Check(args)) SWIG_fail;
24372  argc = args ? (int)PyObject_Length(args) : 0;
24373  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
24374  argv[ii] = PyTuple_GET_ITEM(args,ii);
24375  }
24376  if (argc == 0) {
24377  return _wrap_new_vector_AdapterPtr__SWIG_0(self, args);
24378  }
24379  if (argc == 1) {
24380  int _v;
24381  {
24382  int res = SWIG_AsVal_size_t(argv[0], NULL);
24383  _v = SWIG_CheckState(res);
24384  }
24385  if (_v) {
24386  return _wrap_new_vector_AdapterPtr__SWIG_2(self, args);
24387  }
24388  }
24389  if (argc == 1) {
24390  int _v;
24391  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
24392  _v = SWIG_CheckState(res);
24393  if (_v) {
24394  return _wrap_new_vector_AdapterPtr__SWIG_1(self, args);
24395  }
24396  }
24397  if (argc == 2) {
24398  int _v;
24399  {
24400  int res = SWIG_AsVal_size_t(argv[0], NULL);
24401  _v = SWIG_CheckState(res);
24402  }
24403  if (_v) {
24404  void *vptr = 0;
24405  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Adapter, 0);
24406  _v = SWIG_CheckState(res);
24407  if (_v) {
24408  return _wrap_new_vector_AdapterPtr__SWIG_3(self, args);
24409  }
24410  }
24411  }
24412 
24413 fail:
24414  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_AdapterPtr'.\n"
24415  " Possible C/C++ prototypes are:\n"
24416  " std::vector< Adapter * >::vector()\n"
24417  " std::vector< Adapter * >::vector(std::vector< Adapter * > const &)\n"
24418  " std::vector< Adapter * >::vector(std::vector< Adapter * >::size_type)\n"
24419  " std::vector< Adapter * >::vector(std::vector< Adapter * >::size_type,std::vector< Adapter * >::value_type)\n");
24420  return 0;
24421 }
24422 
24423 
24424 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24425  PyObject *resultobj = 0;
24426  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24427  std::vector< Adapter * >::value_type arg2 = (std::vector< Adapter * >::value_type) 0 ;
24428  void *argp1 = 0 ;
24429  int res1 = 0 ;
24430  void *argp2 = 0 ;
24431  int res2 = 0 ;
24432  PyObject * obj0 = 0 ;
24433  PyObject * obj1 = 0 ;
24434 
24435  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AdapterPtr_push_back",&obj0,&obj1)) SWIG_fail;
24436  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24437  if (!SWIG_IsOK(res1)) {
24438  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_push_back" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
24439  }
24440  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24441  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Adapter, 0 | 0 );
24442  if (!SWIG_IsOK(res2)) {
24443  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_AdapterPtr_push_back" "', argument " "2"" of type '" "std::vector< Adapter * >::value_type""'");
24444  }
24445  arg2 = reinterpret_cast< std::vector< Adapter * >::value_type >(argp2);
24446  (arg1)->push_back(arg2);
24447  resultobj = SWIG_Py_Void();
24448  return resultobj;
24449 fail:
24450  return NULL;
24451 }
24452 
24453 
24454 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24455  PyObject *resultobj = 0;
24456  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24457  void *argp1 = 0 ;
24458  int res1 = 0 ;
24459  PyObject * obj0 = 0 ;
24460  std::vector< Adapter * >::value_type result;
24461 
24462  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr_front",&obj0)) SWIG_fail;
24463  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24464  if (!SWIG_IsOK(res1)) {
24465  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_front" "', argument " "1"" of type '" "std::vector< Adapter * > const *""'");
24466  }
24467  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24468  result = (std::vector< Adapter * >::value_type)((std::vector< Adapter * > const *)arg1)->front();
24469  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Adapter, 0 | 0 );
24470  return resultobj;
24471 fail:
24472  return NULL;
24473 }
24474 
24475 
24476 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24477  PyObject *resultobj = 0;
24478  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24479  void *argp1 = 0 ;
24480  int res1 = 0 ;
24481  PyObject * obj0 = 0 ;
24482  std::vector< Adapter * >::value_type result;
24483 
24484  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr_back",&obj0)) SWIG_fail;
24485  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24486  if (!SWIG_IsOK(res1)) {
24487  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_back" "', argument " "1"" of type '" "std::vector< Adapter * > const *""'");
24488  }
24489  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24490  result = (std::vector< Adapter * >::value_type)((std::vector< Adapter * > const *)arg1)->back();
24491  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Adapter, 0 | 0 );
24492  return resultobj;
24493 fail:
24494  return NULL;
24495 }
24496 
24497 
24498 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24499  PyObject *resultobj = 0;
24500  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24501  std::vector< Adapter * >::size_type arg2 ;
24502  std::vector< Adapter * >::value_type arg3 = (std::vector< Adapter * >::value_type) 0 ;
24503  void *argp1 = 0 ;
24504  int res1 = 0 ;
24505  size_t val2 ;
24506  int ecode2 = 0 ;
24507  void *argp3 = 0 ;
24508  int res3 = 0 ;
24509  PyObject * obj0 = 0 ;
24510  PyObject * obj1 = 0 ;
24511  PyObject * obj2 = 0 ;
24512 
24513  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AdapterPtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
24514  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24515  if (!SWIG_IsOK(res1)) {
24516  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_assign" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
24517  }
24518  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24519  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24520  if (!SWIG_IsOK(ecode2)) {
24521  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AdapterPtr_assign" "', argument " "2"" of type '" "std::vector< Adapter * >::size_type""'");
24522  }
24523  arg2 = static_cast< std::vector< Adapter * >::size_type >(val2);
24524  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Adapter, 0 | 0 );
24525  if (!SWIG_IsOK(res3)) {
24526  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_AdapterPtr_assign" "', argument " "3"" of type '" "std::vector< Adapter * >::value_type""'");
24527  }
24528  arg3 = reinterpret_cast< std::vector< Adapter * >::value_type >(argp3);
24529  (arg1)->assign(arg2,arg3);
24530  resultobj = SWIG_Py_Void();
24531  return resultobj;
24532 fail:
24533  return NULL;
24534 }
24535 
24536 
24537 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24538  PyObject *resultobj = 0;
24539  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24540  std::vector< Adapter * >::size_type arg2 ;
24541  std::vector< Adapter * >::value_type arg3 = (std::vector< Adapter * >::value_type) 0 ;
24542  void *argp1 = 0 ;
24543  int res1 = 0 ;
24544  size_t val2 ;
24545  int ecode2 = 0 ;
24546  void *argp3 = 0 ;
24547  int res3 = 0 ;
24548  PyObject * obj0 = 0 ;
24549  PyObject * obj1 = 0 ;
24550  PyObject * obj2 = 0 ;
24551 
24552  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AdapterPtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
24553  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24554  if (!SWIG_IsOK(res1)) {
24555  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_resize" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
24556  }
24557  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24558  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24559  if (!SWIG_IsOK(ecode2)) {
24560  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AdapterPtr_resize" "', argument " "2"" of type '" "std::vector< Adapter * >::size_type""'");
24561  }
24562  arg2 = static_cast< std::vector< Adapter * >::size_type >(val2);
24563  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Adapter, 0 | 0 );
24564  if (!SWIG_IsOK(res3)) {
24565  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_AdapterPtr_resize" "', argument " "3"" of type '" "std::vector< Adapter * >::value_type""'");
24566  }
24567  arg3 = reinterpret_cast< std::vector< Adapter * >::value_type >(argp3);
24568  (arg1)->resize(arg2,arg3);
24569  resultobj = SWIG_Py_Void();
24570  return resultobj;
24571 fail:
24572  return NULL;
24573 }
24574 
24575 
24576 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_resize(PyObject *self, PyObject *args) {
24577  int argc;
24578  PyObject *argv[4];
24579  int ii;
24580 
24581  if (!PyTuple_Check(args)) SWIG_fail;
24582  argc = args ? (int)PyObject_Length(args) : 0;
24583  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
24584  argv[ii] = PyTuple_GET_ITEM(args,ii);
24585  }
24586  if (argc == 2) {
24587  int _v;
24588  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
24589  _v = SWIG_CheckState(res);
24590  if (_v) {
24591  {
24592  int res = SWIG_AsVal_size_t(argv[1], NULL);
24593  _v = SWIG_CheckState(res);
24594  }
24595  if (_v) {
24596  return _wrap_vector_AdapterPtr_resize__SWIG_0(self, args);
24597  }
24598  }
24599  }
24600  if (argc == 3) {
24601  int _v;
24602  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
24603  _v = SWIG_CheckState(res);
24604  if (_v) {
24605  {
24606  int res = SWIG_AsVal_size_t(argv[1], NULL);
24607  _v = SWIG_CheckState(res);
24608  }
24609  if (_v) {
24610  void *vptr = 0;
24611  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Adapter, 0);
24612  _v = SWIG_CheckState(res);
24613  if (_v) {
24614  return _wrap_vector_AdapterPtr_resize__SWIG_1(self, args);
24615  }
24616  }
24617  }
24618  }
24619 
24620 fail:
24621  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_AdapterPtr_resize'.\n"
24622  " Possible C/C++ prototypes are:\n"
24623  " std::vector< Adapter * >::resize(std::vector< Adapter * >::size_type)\n"
24624  " std::vector< Adapter * >::resize(std::vector< Adapter * >::size_type,std::vector< Adapter * >::value_type)\n");
24625  return 0;
24626 }
24627 
24628 
24629 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24630  PyObject *resultobj = 0;
24631  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24632  std::vector< Adapter * >::iterator arg2 ;
24633  std::vector< Adapter * >::value_type arg3 = (std::vector< Adapter * >::value_type) 0 ;
24634  void *argp1 = 0 ;
24635  int res1 = 0 ;
24636  swig::SwigPyIterator *iter2 = 0 ;
24637  int res2 ;
24638  void *argp3 = 0 ;
24639  int res3 = 0 ;
24640  PyObject * obj0 = 0 ;
24641  PyObject * obj1 = 0 ;
24642  PyObject * obj2 = 0 ;
24643  std::vector< Adapter * >::iterator result;
24644 
24645  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AdapterPtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
24646  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24647  if (!SWIG_IsOK(res1)) {
24648  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_insert" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
24649  }
24650  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24651  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
24652  if (!SWIG_IsOK(res2) || !iter2) {
24653  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AdapterPtr_insert" "', argument " "2"" of type '" "std::vector< Adapter * >::iterator""'");
24654  } else {
24656  if (iter_t) {
24657  arg2 = iter_t->get_current();
24658  } else {
24659  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AdapterPtr_insert" "', argument " "2"" of type '" "std::vector< Adapter * >::iterator""'");
24660  }
24661  }
24662  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Adapter, 0 | 0 );
24663  if (!SWIG_IsOK(res3)) {
24664  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_AdapterPtr_insert" "', argument " "3"" of type '" "std::vector< Adapter * >::value_type""'");
24665  }
24666  arg3 = reinterpret_cast< std::vector< Adapter * >::value_type >(argp3);
24667  result = std_vector_Sl_Adapter_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
24668  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Adapter * >::iterator & >(result)),
24669  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
24670  return resultobj;
24671 fail:
24672  return NULL;
24673 }
24674 
24675 
24676 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24677  PyObject *resultobj = 0;
24678  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24679  std::vector< Adapter * >::iterator arg2 ;
24680  std::vector< Adapter * >::size_type arg3 ;
24681  std::vector< Adapter * >::value_type arg4 = (std::vector< Adapter * >::value_type) 0 ;
24682  void *argp1 = 0 ;
24683  int res1 = 0 ;
24684  swig::SwigPyIterator *iter2 = 0 ;
24685  int res2 ;
24686  size_t val3 ;
24687  int ecode3 = 0 ;
24688  void *argp4 = 0 ;
24689  int res4 = 0 ;
24690  PyObject * obj0 = 0 ;
24691  PyObject * obj1 = 0 ;
24692  PyObject * obj2 = 0 ;
24693  PyObject * obj3 = 0 ;
24694 
24695  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_AdapterPtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
24696  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24697  if (!SWIG_IsOK(res1)) {
24698  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_insert" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
24699  }
24700  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24701  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
24702  if (!SWIG_IsOK(res2) || !iter2) {
24703  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AdapterPtr_insert" "', argument " "2"" of type '" "std::vector< Adapter * >::iterator""'");
24704  } else {
24706  if (iter_t) {
24707  arg2 = iter_t->get_current();
24708  } else {
24709  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AdapterPtr_insert" "', argument " "2"" of type '" "std::vector< Adapter * >::iterator""'");
24710  }
24711  }
24712  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
24713  if (!SWIG_IsOK(ecode3)) {
24714  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_AdapterPtr_insert" "', argument " "3"" of type '" "std::vector< Adapter * >::size_type""'");
24715  }
24716  arg3 = static_cast< std::vector< Adapter * >::size_type >(val3);
24717  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_Adapter, 0 | 0 );
24718  if (!SWIG_IsOK(res4)) {
24719  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_AdapterPtr_insert" "', argument " "4"" of type '" "std::vector< Adapter * >::value_type""'");
24720  }
24721  arg4 = reinterpret_cast< std::vector< Adapter * >::value_type >(argp4);
24722  std_vector_Sl_Adapter_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
24723  resultobj = SWIG_Py_Void();
24724  return resultobj;
24725 fail:
24726  return NULL;
24727 }
24728 
24729 
24730 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_insert(PyObject *self, PyObject *args) {
24731  int argc;
24732  PyObject *argv[5];
24733  int ii;
24734 
24735  if (!PyTuple_Check(args)) SWIG_fail;
24736  argc = args ? (int)PyObject_Length(args) : 0;
24737  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
24738  argv[ii] = PyTuple_GET_ITEM(args,ii);
24739  }
24740  if (argc == 3) {
24741  int _v;
24742  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
24743  _v = SWIG_CheckState(res);
24744  if (_v) {
24745  swig::SwigPyIterator *iter = 0;
24746  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
24747  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Adapter * >::iterator > *>(iter) != 0));
24748  if (_v) {
24749  void *vptr = 0;
24750  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Adapter, 0);
24751  _v = SWIG_CheckState(res);
24752  if (_v) {
24753  return _wrap_vector_AdapterPtr_insert__SWIG_0(self, args);
24754  }
24755  }
24756  }
24757  }
24758  if (argc == 4) {
24759  int _v;
24760  int res = swig::asptr(argv[0], (std::vector<Adapter*,std::allocator< Adapter * > >**)(0));
24761  _v = SWIG_CheckState(res);
24762  if (_v) {
24763  swig::SwigPyIterator *iter = 0;
24764  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
24765  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Adapter * >::iterator > *>(iter) != 0));
24766  if (_v) {
24767  {
24768  int res = SWIG_AsVal_size_t(argv[2], NULL);
24769  _v = SWIG_CheckState(res);
24770  }
24771  if (_v) {
24772  void *vptr = 0;
24773  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_Adapter, 0);
24774  _v = SWIG_CheckState(res);
24775  if (_v) {
24776  return _wrap_vector_AdapterPtr_insert__SWIG_1(self, args);
24777  }
24778  }
24779  }
24780  }
24781  }
24782 
24783 fail:
24784  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_AdapterPtr_insert'.\n"
24785  " Possible C/C++ prototypes are:\n"
24786  " std::vector< Adapter * >::insert(std::vector< Adapter * >::iterator,std::vector< Adapter * >::value_type)\n"
24787  " std::vector< Adapter * >::insert(std::vector< Adapter * >::iterator,std::vector< Adapter * >::size_type,std::vector< Adapter * >::value_type)\n");
24788  return 0;
24789 }
24790 
24791 
24792 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24793  PyObject *resultobj = 0;
24794  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24795  std::vector< Adapter * >::size_type arg2 ;
24796  void *argp1 = 0 ;
24797  int res1 = 0 ;
24798  size_t val2 ;
24799  int ecode2 = 0 ;
24800  PyObject * obj0 = 0 ;
24801  PyObject * obj1 = 0 ;
24802 
24803  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AdapterPtr_reserve",&obj0,&obj1)) SWIG_fail;
24804  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24805  if (!SWIG_IsOK(res1)) {
24806  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_reserve" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
24807  }
24808  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24809  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24810  if (!SWIG_IsOK(ecode2)) {
24811  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AdapterPtr_reserve" "', argument " "2"" of type '" "std::vector< Adapter * >::size_type""'");
24812  }
24813  arg2 = static_cast< std::vector< Adapter * >::size_type >(val2);
24814  (arg1)->reserve(arg2);
24815  resultobj = SWIG_Py_Void();
24816  return resultobj;
24817 fail:
24818  return NULL;
24819 }
24820 
24821 
24822 SWIGINTERN PyObject *_wrap_vector_AdapterPtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24823  PyObject *resultobj = 0;
24824  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24825  void *argp1 = 0 ;
24826  int res1 = 0 ;
24827  PyObject * obj0 = 0 ;
24828  std::vector< Adapter * >::size_type result;
24829 
24830  if (!PyArg_ParseTuple(args,(char *)"O:vector_AdapterPtr_capacity",&obj0)) SWIG_fail;
24831  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0 | 0 );
24832  if (!SWIG_IsOK(res1)) {
24833  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AdapterPtr_capacity" "', argument " "1"" of type '" "std::vector< Adapter * > const *""'");
24834  }
24835  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24836  result = ((std::vector< Adapter * > const *)arg1)->capacity();
24837  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
24838  return resultobj;
24839 fail:
24840  return NULL;
24841 }
24842 
24843 
24844 SWIGINTERN PyObject *_wrap_delete_vector_AdapterPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24845  PyObject *resultobj = 0;
24846  std::vector< Adapter * > *arg1 = (std::vector< Adapter * > *) 0 ;
24847  void *argp1 = 0 ;
24848  int res1 = 0 ;
24849  PyObject * obj0 = 0 ;
24850 
24851  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_AdapterPtr",&obj0)) SWIG_fail;
24852  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, SWIG_POINTER_DISOWN | 0 );
24853  if (!SWIG_IsOK(res1)) {
24854  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_AdapterPtr" "', argument " "1"" of type '" "std::vector< Adapter * > *""'");
24855  }
24856  arg1 = reinterpret_cast< std::vector< Adapter * > * >(argp1);
24857  {
24858  try {
24859  delete arg1;
24860  }
24861  catch(CStdErrorInfo oError)
24862  {
24863  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
24864  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
24865  PyErr_SetString(PyExc_IndexError, strError.c_str());
24866  SWIG_fail;
24867  }
24868  catch(...)
24869  {
24870  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
24871  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
24872  SWIG_fail;
24873  }
24874  }
24875  resultobj = SWIG_Py_Void();
24876  return resultobj;
24877 fail:
24878  return NULL;
24879 }
24880 
24881 
24882 SWIGINTERN PyObject *vector_AdapterPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24883  PyObject *obj;
24884  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
24885  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, SWIG_NewClientData(obj));
24886  return SWIG_Py_Void();
24887 }
24888 
24889 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24890  PyObject *resultobj = 0;
24891  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
24892  PyObject **arg2 = (PyObject **) 0 ;
24893  void *argp1 = 0 ;
24894  int res1 = 0 ;
24895  PyObject * obj0 = 0 ;
24896  swig::SwigPyIterator *result = 0 ;
24897 
24898  arg2 = &obj0;
24899  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr_iterator",&obj0)) SWIG_fail;
24900  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
24901  if (!SWIG_IsOK(res1)) {
24902  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_iterator" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
24903  }
24904  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
24905  result = (swig::SwigPyIterator *)std_vector_Sl_Attachment_Sm__Sg__iterator(arg1,arg2);
24906  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
24907  return resultobj;
24908 fail:
24909  return NULL;
24910 }
24911 
24912 
24913 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24914  PyObject *resultobj = 0;
24915  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
24916  void *argp1 = 0 ;
24917  int res1 = 0 ;
24918  PyObject * obj0 = 0 ;
24919  bool result;
24920 
24921  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr___nonzero__",&obj0)) SWIG_fail;
24922  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
24923  if (!SWIG_IsOK(res1)) {
24924  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr___nonzero__" "', argument " "1"" of type '" "std::vector< Attachment * > const *""'");
24925  }
24926  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
24927  result = (bool)std_vector_Sl_Attachment_Sm__Sg____nonzero__((std::vector< Attachment * > const *)arg1);
24928  resultobj = SWIG_From_bool(static_cast< bool >(result));
24929  return resultobj;
24930 fail:
24931  return NULL;
24932 }
24933 
24934 
24935 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24936  PyObject *resultobj = 0;
24937  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
24938  void *argp1 = 0 ;
24939  int res1 = 0 ;
24940  PyObject * obj0 = 0 ;
24941  bool result;
24942 
24943  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr___bool__",&obj0)) SWIG_fail;
24944  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
24945  if (!SWIG_IsOK(res1)) {
24946  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr___bool__" "', argument " "1"" of type '" "std::vector< Attachment * > const *""'");
24947  }
24948  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
24949  result = (bool)std_vector_Sl_Attachment_Sm__Sg____bool__((std::vector< Attachment * > const *)arg1);
24950  resultobj = SWIG_From_bool(static_cast< bool >(result));
24951  return resultobj;
24952 fail:
24953  return NULL;
24954 }
24955 
24956 
24957 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24958  PyObject *resultobj = 0;
24959  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
24960  void *argp1 = 0 ;
24961  int res1 = 0 ;
24962  PyObject * obj0 = 0 ;
24963  std::vector< Attachment * >::size_type result;
24964 
24965  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr___len__",&obj0)) SWIG_fail;
24966  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
24967  if (!SWIG_IsOK(res1)) {
24968  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr___len__" "', argument " "1"" of type '" "std::vector< Attachment * > const *""'");
24969  }
24970  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
24971  result = std_vector_Sl_Attachment_Sm__Sg____len__((std::vector< Attachment * > const *)arg1);
24972  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
24973  return resultobj;
24974 fail:
24975  return NULL;
24976 }
24977 
24978 
24979 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24980  PyObject *resultobj = 0;
24981  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
24982  void *argp1 = 0 ;
24983  int res1 = 0 ;
24984  PyObject * obj0 = 0 ;
24985  std::vector< Attachment * >::value_type result;
24986 
24987  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr_pop",&obj0)) SWIG_fail;
24988  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
24989  if (!SWIG_IsOK(res1)) {
24990  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_pop" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
24991  }
24992  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
24993  try {
24994  result = (std::vector< Attachment * >::value_type)std_vector_Sl_Attachment_Sm__Sg__pop(arg1);
24995  }
24996  catch(std::out_of_range &_e) {
24997  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
24998  }
24999 
25000  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Attachment, 0 | 0 );
25001  return resultobj;
25002 fail:
25003  return NULL;
25004 }
25005 
25006 
25007 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25008  PyObject *resultobj = 0;
25009  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25010  std::vector< Attachment * >::difference_type arg2 ;
25011  std::vector< Attachment * >::difference_type arg3 ;
25012  void *argp1 = 0 ;
25013  int res1 = 0 ;
25014  ptrdiff_t val2 ;
25015  int ecode2 = 0 ;
25016  ptrdiff_t val3 ;
25017  int ecode3 = 0 ;
25018  PyObject * obj0 = 0 ;
25019  PyObject * obj1 = 0 ;
25020  PyObject * obj2 = 0 ;
25021  std::vector< Attachment *,std::allocator< Attachment * > > *result = 0 ;
25022 
25023  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AttachmentPtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
25024  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25025  if (!SWIG_IsOK(res1)) {
25026  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr___getslice__" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25027  }
25028  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25029  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
25030  if (!SWIG_IsOK(ecode2)) {
25031  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AttachmentPtr___getslice__" "', argument " "2"" of type '" "std::vector< Attachment * >::difference_type""'");
25032  }
25033  arg2 = static_cast< std::vector< Attachment * >::difference_type >(val2);
25034  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
25035  if (!SWIG_IsOK(ecode3)) {
25036  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_AttachmentPtr___getslice__" "', argument " "3"" of type '" "std::vector< Attachment * >::difference_type""'");
25037  }
25038  arg3 = static_cast< std::vector< Attachment * >::difference_type >(val3);
25039  try {
25040  result = (std::vector< Attachment *,std::allocator< Attachment * > > *)std_vector_Sl_Attachment_Sm__Sg____getslice__(arg1,arg2,arg3);
25041  }
25042  catch(std::out_of_range &_e) {
25043  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
25044  }
25045  catch(std::invalid_argument &_e) {
25046  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
25047  }
25048 
25049  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, SWIG_POINTER_OWN | 0 );
25050  return resultobj;
25051 fail:
25052  return NULL;
25053 }
25054 
25055 
25056 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25057  PyObject *resultobj = 0;
25058  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25059  std::vector< Attachment * >::difference_type arg2 ;
25060  std::vector< Attachment * >::difference_type arg3 ;
25061  std::vector< Attachment *,std::allocator< Attachment * > > *arg4 = 0 ;
25062  void *argp1 = 0 ;
25063  int res1 = 0 ;
25064  ptrdiff_t val2 ;
25065  int ecode2 = 0 ;
25066  ptrdiff_t val3 ;
25067  int ecode3 = 0 ;
25068  int res4 = SWIG_OLDOBJ ;
25069  PyObject * obj0 = 0 ;
25070  PyObject * obj1 = 0 ;
25071  PyObject * obj2 = 0 ;
25072  PyObject * obj3 = 0 ;
25073 
25074  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_AttachmentPtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
25075  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25076  if (!SWIG_IsOK(res1)) {
25077  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr___setslice__" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25078  }
25079  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25080  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
25081  if (!SWIG_IsOK(ecode2)) {
25082  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AttachmentPtr___setslice__" "', argument " "2"" of type '" "std::vector< Attachment * >::difference_type""'");
25083  }
25084  arg2 = static_cast< std::vector< Attachment * >::difference_type >(val2);
25085  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
25086  if (!SWIG_IsOK(ecode3)) {
25087  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_AttachmentPtr___setslice__" "', argument " "3"" of type '" "std::vector< Attachment * >::difference_type""'");
25088  }
25089  arg3 = static_cast< std::vector< Attachment * >::difference_type >(val3);
25090  {
25091  std::vector<Attachment*,std::allocator< Attachment * > > *ptr = (std::vector<Attachment*,std::allocator< Attachment * > > *)0;
25092  res4 = swig::asptr(obj3, &ptr);
25093  if (!SWIG_IsOK(res4)) {
25094  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_AttachmentPtr___setslice__" "', argument " "4"" of type '" "std::vector< Attachment *,std::allocator< Attachment * > > const &""'");
25095  }
25096  if (!ptr) {
25097  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_AttachmentPtr___setslice__" "', argument " "4"" of type '" "std::vector< Attachment *,std::allocator< Attachment * > > const &""'");
25098  }
25099  arg4 = ptr;
25100  }
25101  try {
25102  std_vector_Sl_Attachment_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< Attachment *,std::allocator< Attachment * > > const &)*arg4);
25103  }
25104  catch(std::out_of_range &_e) {
25105  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
25106  }
25107  catch(std::invalid_argument &_e) {
25108  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
25109  }
25110 
25111  resultobj = SWIG_Py_Void();
25112  if (SWIG_IsNewObj(res4)) delete arg4;
25113  return resultobj;
25114 fail:
25115  if (SWIG_IsNewObj(res4)) delete arg4;
25116  return NULL;
25117 }
25118 
25119 
25120 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25121  PyObject *resultobj = 0;
25122  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25123  std::vector< Attachment * >::difference_type arg2 ;
25124  std::vector< Attachment * >::difference_type arg3 ;
25125  void *argp1 = 0 ;
25126  int res1 = 0 ;
25127  ptrdiff_t val2 ;
25128  int ecode2 = 0 ;
25129  ptrdiff_t val3 ;
25130  int ecode3 = 0 ;
25131  PyObject * obj0 = 0 ;
25132  PyObject * obj1 = 0 ;
25133  PyObject * obj2 = 0 ;
25134 
25135  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AttachmentPtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
25136  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25137  if (!SWIG_IsOK(res1)) {
25138  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr___setslice__" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25139  }
25140  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25141  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
25142  if (!SWIG_IsOK(ecode2)) {
25143  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AttachmentPtr___setslice__" "', argument " "2"" of type '" "std::vector< Attachment * >::difference_type""'");
25144  }
25145  arg2 = static_cast< std::vector< Attachment * >::difference_type >(val2);
25146  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
25147  if (!SWIG_IsOK(ecode3)) {
25148  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_AttachmentPtr___setslice__" "', argument " "3"" of type '" "std::vector< Attachment * >::difference_type""'");
25149  }
25150  arg3 = static_cast< std::vector< Attachment * >::difference_type >(val3);
25151  try {
25152  std_vector_Sl_Attachment_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
25153  }
25154  catch(std::out_of_range &_e) {
25155  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
25156  }
25157  catch(std::invalid_argument &_e) {
25158  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
25159  }
25160 
25161  resultobj = SWIG_Py_Void();
25162  return resultobj;
25163 fail:
25164  return NULL;
25165 }
25166 
25167 
25168 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___setslice__(PyObject *self, PyObject *args) {
25169  int argc;
25170  PyObject *argv[5];
25171  int ii;
25172 
25173  if (!PyTuple_Check(args)) SWIG_fail;
25174  argc = args ? (int)PyObject_Length(args) : 0;
25175  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
25176  argv[ii] = PyTuple_GET_ITEM(args,ii);
25177  }
25178  if (argc == 3) {
25179  int _v;
25180  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
25181  _v = SWIG_CheckState(res);
25182  if (_v) {
25183  {
25184  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
25185  _v = SWIG_CheckState(res);
25186  }
25187  if (_v) {
25188  {
25189  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
25190  _v = SWIG_CheckState(res);
25191  }
25192  if (_v) {
25193  return _wrap_vector_AttachmentPtr___setslice____SWIG_1(self, args);
25194  }
25195  }
25196  }
25197  }
25198  if (argc == 4) {
25199  int _v;
25200  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
25201  _v = SWIG_CheckState(res);
25202  if (_v) {
25203  {
25204  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
25205  _v = SWIG_CheckState(res);
25206  }
25207  if (_v) {
25208  {
25209  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
25210  _v = SWIG_CheckState(res);
25211  }
25212  if (_v) {
25213  int res = swig::asptr(argv[3], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
25214  _v = SWIG_CheckState(res);
25215  if (_v) {
25216  return _wrap_vector_AttachmentPtr___setslice____SWIG_0(self, args);
25217  }
25218  }
25219  }
25220  }
25221  }
25222 
25223 fail:
25224  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_AttachmentPtr___setslice__'.\n"
25225  " Possible C/C++ prototypes are:\n"
25226  " std::vector< Attachment * >::__setslice__(std::vector< Attachment * >::difference_type,std::vector< Attachment * >::difference_type,std::vector< Attachment *,std::allocator< Attachment * > > const &)\n"
25227  " std::vector< Attachment * >::__setslice__(std::vector< Attachment * >::difference_type,std::vector< Attachment * >::difference_type)\n");
25228  return 0;
25229 }
25230 
25231 
25232 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25233  PyObject *resultobj = 0;
25234  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25235  std::vector< Attachment * >::difference_type arg2 ;
25236  std::vector< Attachment * >::difference_type arg3 ;
25237  void *argp1 = 0 ;
25238  int res1 = 0 ;
25239  ptrdiff_t val2 ;
25240  int ecode2 = 0 ;
25241  ptrdiff_t val3 ;
25242  int ecode3 = 0 ;
25243  PyObject * obj0 = 0 ;
25244  PyObject * obj1 = 0 ;
25245  PyObject * obj2 = 0 ;
25246 
25247  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AttachmentPtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
25248  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25249  if (!SWIG_IsOK(res1)) {
25250  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr___delslice__" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25251  }
25252  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25253  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
25254  if (!SWIG_IsOK(ecode2)) {
25255  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AttachmentPtr___delslice__" "', argument " "2"" of type '" "std::vector< Attachment * >::difference_type""'");
25256  }
25257  arg2 = static_cast< std::vector< Attachment * >::difference_type >(val2);
25258  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
25259  if (!SWIG_IsOK(ecode3)) {
25260  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_AttachmentPtr___delslice__" "', argument " "3"" of type '" "std::vector< Attachment * >::difference_type""'");
25261  }
25262  arg3 = static_cast< std::vector< Attachment * >::difference_type >(val3);
25263  try {
25264  std_vector_Sl_Attachment_Sm__Sg____delslice__(arg1,arg2,arg3);
25265  }
25266  catch(std::out_of_range &_e) {
25267  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
25268  }
25269  catch(std::invalid_argument &_e) {
25270  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
25271  }
25272 
25273  resultobj = SWIG_Py_Void();
25274  return resultobj;
25275 fail:
25276  return NULL;
25277 }
25278 
25279 
25280 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25281  PyObject *resultobj = 0;
25282  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25283  std::vector< Attachment * >::difference_type arg2 ;
25284  void *argp1 = 0 ;
25285  int res1 = 0 ;
25286  ptrdiff_t val2 ;
25287  int ecode2 = 0 ;
25288  PyObject * obj0 = 0 ;
25289  PyObject * obj1 = 0 ;
25290 
25291  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AttachmentPtr___delitem__",&obj0,&obj1)) SWIG_fail;
25292  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25293  if (!SWIG_IsOK(res1)) {
25294  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr___delitem__" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25295  }
25296  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25297  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
25298  if (!SWIG_IsOK(ecode2)) {
25299  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AttachmentPtr___delitem__" "', argument " "2"" of type '" "std::vector< Attachment * >::difference_type""'");
25300  }
25301  arg2 = static_cast< std::vector< Attachment * >::difference_type >(val2);
25302  try {
25303  std_vector_Sl_Attachment_Sm__Sg____delitem____SWIG_0(arg1,arg2);
25304  }
25305  catch(std::out_of_range &_e) {
25306  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
25307  }
25308 
25309  resultobj = SWIG_Py_Void();
25310  return resultobj;
25311 fail:
25312  return NULL;
25313 }
25314 
25315 
25316 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25317  PyObject *resultobj = 0;
25318  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25319  PySliceObject *arg2 = (PySliceObject *) 0 ;
25320  void *argp1 = 0 ;
25321  int res1 = 0 ;
25322  PyObject * obj0 = 0 ;
25323  PyObject * obj1 = 0 ;
25324  std::vector< Attachment *,std::allocator< Attachment * > > *result = 0 ;
25325 
25326  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AttachmentPtr___getitem__",&obj0,&obj1)) SWIG_fail;
25327  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25328  if (!SWIG_IsOK(res1)) {
25329  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr___getitem__" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25330  }
25331  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25332  {
25333  if (!PySlice_Check(obj1)) {
25334  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AttachmentPtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
25335  }
25336  arg2 = (PySliceObject *) obj1;
25337  }
25338  try {
25339  result = (std::vector< Attachment *,std::allocator< Attachment * > > *)std_vector_Sl_Attachment_Sm__Sg____getitem____SWIG_0(arg1,arg2);
25340  }
25341  catch(std::out_of_range &_e) {
25342  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
25343  }
25344  catch(std::invalid_argument &_e) {
25345  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
25346  }
25347 
25348  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, SWIG_POINTER_OWN | 0 );
25349  return resultobj;
25350 fail:
25351  return NULL;
25352 }
25353 
25354 
25355 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25356  PyObject *resultobj = 0;
25357  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25358  PySliceObject *arg2 = (PySliceObject *) 0 ;
25359  std::vector< Attachment *,std::allocator< Attachment * > > *arg3 = 0 ;
25360  void *argp1 = 0 ;
25361  int res1 = 0 ;
25362  int res3 = SWIG_OLDOBJ ;
25363  PyObject * obj0 = 0 ;
25364  PyObject * obj1 = 0 ;
25365  PyObject * obj2 = 0 ;
25366 
25367  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AttachmentPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
25368  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25369  if (!SWIG_IsOK(res1)) {
25370  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr___setitem__" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25371  }
25372  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25373  {
25374  if (!PySlice_Check(obj1)) {
25375  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AttachmentPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
25376  }
25377  arg2 = (PySliceObject *) obj1;
25378  }
25379  {
25380  std::vector<Attachment*,std::allocator< Attachment * > > *ptr = (std::vector<Attachment*,std::allocator< Attachment * > > *)0;
25381  res3 = swig::asptr(obj2, &ptr);
25382  if (!SWIG_IsOK(res3)) {
25383  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_AttachmentPtr___setitem__" "', argument " "3"" of type '" "std::vector< Attachment *,std::allocator< Attachment * > > const &""'");
25384  }
25385  if (!ptr) {
25386  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_AttachmentPtr___setitem__" "', argument " "3"" of type '" "std::vector< Attachment *,std::allocator< Attachment * > > const &""'");
25387  }
25388  arg3 = ptr;
25389  }
25390  try {
25391  std_vector_Sl_Attachment_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< Attachment *,std::allocator< Attachment * > > const &)*arg3);
25392  }
25393  catch(std::out_of_range &_e) {
25394  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
25395  }
25396  catch(std::invalid_argument &_e) {
25397  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
25398  }
25399 
25400  resultobj = SWIG_Py_Void();
25401  if (SWIG_IsNewObj(res3)) delete arg3;
25402  return resultobj;
25403 fail:
25404  if (SWIG_IsNewObj(res3)) delete arg3;
25405  return NULL;
25406 }
25407 
25408 
25409 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25410  PyObject *resultobj = 0;
25411  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25412  PySliceObject *arg2 = (PySliceObject *) 0 ;
25413  void *argp1 = 0 ;
25414  int res1 = 0 ;
25415  PyObject * obj0 = 0 ;
25416  PyObject * obj1 = 0 ;
25417 
25418  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AttachmentPtr___setitem__",&obj0,&obj1)) SWIG_fail;
25419  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25420  if (!SWIG_IsOK(res1)) {
25421  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr___setitem__" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25422  }
25423  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25424  {
25425  if (!PySlice_Check(obj1)) {
25426  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AttachmentPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
25427  }
25428  arg2 = (PySliceObject *) obj1;
25429  }
25430  try {
25431  std_vector_Sl_Attachment_Sm__Sg____setitem____SWIG_1(arg1,arg2);
25432  }
25433  catch(std::out_of_range &_e) {
25434  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
25435  }
25436  catch(std::invalid_argument &_e) {
25437  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
25438  }
25439 
25440  resultobj = SWIG_Py_Void();
25441  return resultobj;
25442 fail:
25443  return NULL;
25444 }
25445 
25446 
25447 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25448  PyObject *resultobj = 0;
25449  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25450  PySliceObject *arg2 = (PySliceObject *) 0 ;
25451  void *argp1 = 0 ;
25452  int res1 = 0 ;
25453  PyObject * obj0 = 0 ;
25454  PyObject * obj1 = 0 ;
25455 
25456  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AttachmentPtr___delitem__",&obj0,&obj1)) SWIG_fail;
25457  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25458  if (!SWIG_IsOK(res1)) {
25459  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr___delitem__" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25460  }
25461  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25462  {
25463  if (!PySlice_Check(obj1)) {
25464  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AttachmentPtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
25465  }
25466  arg2 = (PySliceObject *) obj1;
25467  }
25468  try {
25469  std_vector_Sl_Attachment_Sm__Sg____delitem____SWIG_1(arg1,arg2);
25470  }
25471  catch(std::out_of_range &_e) {
25472  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
25473  }
25474  catch(std::invalid_argument &_e) {
25475  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
25476  }
25477 
25478  resultobj = SWIG_Py_Void();
25479  return resultobj;
25480 fail:
25481  return NULL;
25482 }
25483 
25484 
25485 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___delitem__(PyObject *self, PyObject *args) {
25486  int argc;
25487  PyObject *argv[3];
25488  int ii;
25489 
25490  if (!PyTuple_Check(args)) SWIG_fail;
25491  argc = args ? (int)PyObject_Length(args) : 0;
25492  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
25493  argv[ii] = PyTuple_GET_ITEM(args,ii);
25494  }
25495  if (argc == 2) {
25496  int _v;
25497  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
25498  _v = SWIG_CheckState(res);
25499  if (_v) {
25500  {
25501  _v = PySlice_Check(argv[1]);
25502  }
25503  if (_v) {
25504  return _wrap_vector_AttachmentPtr___delitem____SWIG_1(self, args);
25505  }
25506  }
25507  }
25508  if (argc == 2) {
25509  int _v;
25510  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
25511  _v = SWIG_CheckState(res);
25512  if (_v) {
25513  {
25514  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
25515  _v = SWIG_CheckState(res);
25516  }
25517  if (_v) {
25518  return _wrap_vector_AttachmentPtr___delitem____SWIG_0(self, args);
25519  }
25520  }
25521  }
25522 
25523 fail:
25524  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_AttachmentPtr___delitem__'.\n"
25525  " Possible C/C++ prototypes are:\n"
25526  " std::vector< Attachment * >::__delitem__(std::vector< Attachment * >::difference_type)\n"
25527  " std::vector< Attachment * >::__delitem__(PySliceObject *)\n");
25528  return 0;
25529 }
25530 
25531 
25532 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25533  PyObject *resultobj = 0;
25534  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25535  std::vector< Attachment * >::difference_type arg2 ;
25536  void *argp1 = 0 ;
25537  int res1 = 0 ;
25538  ptrdiff_t val2 ;
25539  int ecode2 = 0 ;
25540  PyObject * obj0 = 0 ;
25541  PyObject * obj1 = 0 ;
25542  std::vector< Attachment * >::value_type result;
25543 
25544  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AttachmentPtr___getitem__",&obj0,&obj1)) SWIG_fail;
25545  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25546  if (!SWIG_IsOK(res1)) {
25547  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr___getitem__" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25548  }
25549  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25550  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
25551  if (!SWIG_IsOK(ecode2)) {
25552  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AttachmentPtr___getitem__" "', argument " "2"" of type '" "std::vector< Attachment * >::difference_type""'");
25553  }
25554  arg2 = static_cast< std::vector< Attachment * >::difference_type >(val2);
25555  try {
25556  result = (std::vector< Attachment * >::value_type)std_vector_Sl_Attachment_Sm__Sg____getitem____SWIG_1(arg1,arg2);
25557  }
25558  catch(std::out_of_range &_e) {
25559  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
25560  }
25561 
25562  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Attachment, 0 | 0 );
25563  return resultobj;
25564 fail:
25565  return NULL;
25566 }
25567 
25568 
25569 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___getitem__(PyObject *self, PyObject *args) {
25570  int argc;
25571  PyObject *argv[3];
25572  int ii;
25573 
25574  if (!PyTuple_Check(args)) SWIG_fail;
25575  argc = args ? (int)PyObject_Length(args) : 0;
25576  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
25577  argv[ii] = PyTuple_GET_ITEM(args,ii);
25578  }
25579  if (argc == 2) {
25580  int _v;
25581  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
25582  _v = SWIG_CheckState(res);
25583  if (_v) {
25584  {
25585  _v = PySlice_Check(argv[1]);
25586  }
25587  if (_v) {
25588  return _wrap_vector_AttachmentPtr___getitem____SWIG_0(self, args);
25589  }
25590  }
25591  }
25592  if (argc == 2) {
25593  int _v;
25594  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
25595  _v = SWIG_CheckState(res);
25596  if (_v) {
25597  {
25598  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
25599  _v = SWIG_CheckState(res);
25600  }
25601  if (_v) {
25602  return _wrap_vector_AttachmentPtr___getitem____SWIG_1(self, args);
25603  }
25604  }
25605  }
25606 
25607 fail:
25608  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_AttachmentPtr___getitem__'.\n"
25609  " Possible C/C++ prototypes are:\n"
25610  " std::vector< Attachment * >::__getitem__(PySliceObject *)\n"
25611  " std::vector< Attachment * >::__getitem__(std::vector< Attachment * >::difference_type)\n");
25612  return 0;
25613 }
25614 
25615 
25616 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25617  PyObject *resultobj = 0;
25618  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25619  std::vector< Attachment * >::difference_type arg2 ;
25620  std::vector< Attachment * >::value_type arg3 = (std::vector< Attachment * >::value_type) 0 ;
25621  void *argp1 = 0 ;
25622  int res1 = 0 ;
25623  ptrdiff_t val2 ;
25624  int ecode2 = 0 ;
25625  void *argp3 = 0 ;
25626  int res3 = 0 ;
25627  PyObject * obj0 = 0 ;
25628  PyObject * obj1 = 0 ;
25629  PyObject * obj2 = 0 ;
25630 
25631  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AttachmentPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
25632  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25633  if (!SWIG_IsOK(res1)) {
25634  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr___setitem__" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25635  }
25636  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25637  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
25638  if (!SWIG_IsOK(ecode2)) {
25639  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AttachmentPtr___setitem__" "', argument " "2"" of type '" "std::vector< Attachment * >::difference_type""'");
25640  }
25641  arg2 = static_cast< std::vector< Attachment * >::difference_type >(val2);
25642  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Attachment, 0 | 0 );
25643  if (!SWIG_IsOK(res3)) {
25644  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_AttachmentPtr___setitem__" "', argument " "3"" of type '" "std::vector< Attachment * >::value_type""'");
25645  }
25646  arg3 = reinterpret_cast< std::vector< Attachment * >::value_type >(argp3);
25647  try {
25648  std_vector_Sl_Attachment_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
25649  }
25650  catch(std::out_of_range &_e) {
25651  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
25652  }
25653 
25654  resultobj = SWIG_Py_Void();
25655  return resultobj;
25656 fail:
25657  return NULL;
25658 }
25659 
25660 
25661 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr___setitem__(PyObject *self, PyObject *args) {
25662  int argc;
25663  PyObject *argv[4];
25664  int ii;
25665 
25666  if (!PyTuple_Check(args)) SWIG_fail;
25667  argc = args ? (int)PyObject_Length(args) : 0;
25668  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
25669  argv[ii] = PyTuple_GET_ITEM(args,ii);
25670  }
25671  if (argc == 2) {
25672  int _v;
25673  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
25674  _v = SWIG_CheckState(res);
25675  if (_v) {
25676  {
25677  _v = PySlice_Check(argv[1]);
25678  }
25679  if (_v) {
25680  return _wrap_vector_AttachmentPtr___setitem____SWIG_1(self, args);
25681  }
25682  }
25683  }
25684  if (argc == 3) {
25685  int _v;
25686  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
25687  _v = SWIG_CheckState(res);
25688  if (_v) {
25689  {
25690  _v = PySlice_Check(argv[1]);
25691  }
25692  if (_v) {
25693  int res = swig::asptr(argv[2], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
25694  _v = SWIG_CheckState(res);
25695  if (_v) {
25696  return _wrap_vector_AttachmentPtr___setitem____SWIG_0(self, args);
25697  }
25698  }
25699  }
25700  }
25701  if (argc == 3) {
25702  int _v;
25703  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
25704  _v = SWIG_CheckState(res);
25705  if (_v) {
25706  {
25707  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
25708  _v = SWIG_CheckState(res);
25709  }
25710  if (_v) {
25711  void *vptr = 0;
25712  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Attachment, 0);
25713  _v = SWIG_CheckState(res);
25714  if (_v) {
25715  return _wrap_vector_AttachmentPtr___setitem____SWIG_2(self, args);
25716  }
25717  }
25718  }
25719  }
25720 
25721 fail:
25722  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_AttachmentPtr___setitem__'.\n"
25723  " Possible C/C++ prototypes are:\n"
25724  " std::vector< Attachment * >::__setitem__(PySliceObject *,std::vector< Attachment *,std::allocator< Attachment * > > const &)\n"
25725  " std::vector< Attachment * >::__setitem__(PySliceObject *)\n"
25726  " std::vector< Attachment * >::__setitem__(std::vector< Attachment * >::difference_type,std::vector< Attachment * >::value_type)\n");
25727  return 0;
25728 }
25729 
25730 
25731 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25732  PyObject *resultobj = 0;
25733  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25734  std::vector< Attachment * >::value_type arg2 = (std::vector< Attachment * >::value_type) 0 ;
25735  void *argp1 = 0 ;
25736  int res1 = 0 ;
25737  void *argp2 = 0 ;
25738  int res2 = 0 ;
25739  PyObject * obj0 = 0 ;
25740  PyObject * obj1 = 0 ;
25741 
25742  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AttachmentPtr_append",&obj0,&obj1)) SWIG_fail;
25743  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25744  if (!SWIG_IsOK(res1)) {
25745  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_append" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25746  }
25747  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25748  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Attachment, 0 | 0 );
25749  if (!SWIG_IsOK(res2)) {
25750  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_AttachmentPtr_append" "', argument " "2"" of type '" "std::vector< Attachment * >::value_type""'");
25751  }
25752  arg2 = reinterpret_cast< std::vector< Attachment * >::value_type >(argp2);
25753  std_vector_Sl_Attachment_Sm__Sg__append(arg1,arg2);
25754  resultobj = SWIG_Py_Void();
25755  return resultobj;
25756 fail:
25757  return NULL;
25758 }
25759 
25760 
25761 SWIGINTERN PyObject *_wrap_new_vector_AttachmentPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25762  PyObject *resultobj = 0;
25763  std::vector< Attachment * > *result = 0 ;
25764 
25765  if (!PyArg_ParseTuple(args,(char *)":new_vector_AttachmentPtr")) SWIG_fail;
25766  result = (std::vector< Attachment * > *)new std::vector< Attachment * >();
25767  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, SWIG_POINTER_NEW | 0 );
25768  return resultobj;
25769 fail:
25770  return NULL;
25771 }
25772 
25773 
25774 SWIGINTERN PyObject *_wrap_new_vector_AttachmentPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25775  PyObject *resultobj = 0;
25776  std::vector< Attachment * > *arg1 = 0 ;
25777  int res1 = SWIG_OLDOBJ ;
25778  PyObject * obj0 = 0 ;
25779  std::vector< Attachment * > *result = 0 ;
25780 
25781  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_AttachmentPtr",&obj0)) SWIG_fail;
25782  {
25783  std::vector<Attachment*,std::allocator< Attachment * > > *ptr = (std::vector<Attachment*,std::allocator< Attachment * > > *)0;
25784  res1 = swig::asptr(obj0, &ptr);
25785  if (!SWIG_IsOK(res1)) {
25786  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_AttachmentPtr" "', argument " "1"" of type '" "std::vector< Attachment * > const &""'");
25787  }
25788  if (!ptr) {
25789  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_AttachmentPtr" "', argument " "1"" of type '" "std::vector< Attachment * > const &""'");
25790  }
25791  arg1 = ptr;
25792  }
25793  result = (std::vector< Attachment * > *)new std::vector< Attachment * >((std::vector< Attachment * > const &)*arg1);
25794  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, SWIG_POINTER_NEW | 0 );
25795  if (SWIG_IsNewObj(res1)) delete arg1;
25796  return resultobj;
25797 fail:
25798  if (SWIG_IsNewObj(res1)) delete arg1;
25799  return NULL;
25800 }
25801 
25802 
25803 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25804  PyObject *resultobj = 0;
25805  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25806  void *argp1 = 0 ;
25807  int res1 = 0 ;
25808  PyObject * obj0 = 0 ;
25809  bool result;
25810 
25811  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr_empty",&obj0)) SWIG_fail;
25812  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25813  if (!SWIG_IsOK(res1)) {
25814  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_empty" "', argument " "1"" of type '" "std::vector< Attachment * > const *""'");
25815  }
25816  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25817  result = (bool)((std::vector< Attachment * > const *)arg1)->empty();
25818  resultobj = SWIG_From_bool(static_cast< bool >(result));
25819  return resultobj;
25820 fail:
25821  return NULL;
25822 }
25823 
25824 
25825 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25826  PyObject *resultobj = 0;
25827  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25828  void *argp1 = 0 ;
25829  int res1 = 0 ;
25830  PyObject * obj0 = 0 ;
25831  std::vector< Attachment * >::size_type result;
25832 
25833  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr_size",&obj0)) SWIG_fail;
25834  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25835  if (!SWIG_IsOK(res1)) {
25836  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_size" "', argument " "1"" of type '" "std::vector< Attachment * > const *""'");
25837  }
25838  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25839  result = ((std::vector< Attachment * > const *)arg1)->size();
25840  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25841  return resultobj;
25842 fail:
25843  return NULL;
25844 }
25845 
25846 
25847 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25848  PyObject *resultobj = 0;
25849  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25850  void *argp1 = 0 ;
25851  int res1 = 0 ;
25852  PyObject * obj0 = 0 ;
25853 
25854  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr_clear",&obj0)) SWIG_fail;
25855  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25856  if (!SWIG_IsOK(res1)) {
25857  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_clear" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25858  }
25859  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25860  (arg1)->clear();
25861  resultobj = SWIG_Py_Void();
25862  return resultobj;
25863 fail:
25864  return NULL;
25865 }
25866 
25867 
25868 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25869  PyObject *resultobj = 0;
25870  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25871  std::vector< Attachment * > *arg2 = 0 ;
25872  void *argp1 = 0 ;
25873  int res1 = 0 ;
25874  void *argp2 = 0 ;
25875  int res2 = 0 ;
25876  PyObject * obj0 = 0 ;
25877  PyObject * obj1 = 0 ;
25878 
25879  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AttachmentPtr_swap",&obj0,&obj1)) SWIG_fail;
25880  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25881  if (!SWIG_IsOK(res1)) {
25882  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_swap" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25883  }
25884  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25885  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 );
25886  if (!SWIG_IsOK(res2)) {
25887  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_AttachmentPtr_swap" "', argument " "2"" of type '" "std::vector< Attachment * > &""'");
25888  }
25889  if (!argp2) {
25890  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_AttachmentPtr_swap" "', argument " "2"" of type '" "std::vector< Attachment * > &""'");
25891  }
25892  arg2 = reinterpret_cast< std::vector< Attachment * > * >(argp2);
25893  (arg1)->swap(*arg2);
25894  resultobj = SWIG_Py_Void();
25895  return resultobj;
25896 fail:
25897  return NULL;
25898 }
25899 
25900 
25901 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25902  PyObject *resultobj = 0;
25903  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25904  void *argp1 = 0 ;
25905  int res1 = 0 ;
25906  PyObject * obj0 = 0 ;
25907  SwigValueWrapper< std::allocator< Attachment * > > result;
25908 
25909  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr_get_allocator",&obj0)) SWIG_fail;
25910  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25911  if (!SWIG_IsOK(res1)) {
25912  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_get_allocator" "', argument " "1"" of type '" "std::vector< Attachment * > const *""'");
25913  }
25914  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25915  result = ((std::vector< Attachment * > const *)arg1)->get_allocator();
25916  resultobj = SWIG_NewPointerObj((new std::vector< Attachment * >::allocator_type(static_cast< const std::vector< Attachment * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_Attachment_p_t, SWIG_POINTER_OWN | 0 );
25917  return resultobj;
25918 fail:
25919  return NULL;
25920 }
25921 
25922 
25923 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25924  PyObject *resultobj = 0;
25925  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25926  void *argp1 = 0 ;
25927  int res1 = 0 ;
25928  PyObject * obj0 = 0 ;
25929  std::vector< Attachment * >::iterator result;
25930 
25931  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr_begin",&obj0)) SWIG_fail;
25932  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25933  if (!SWIG_IsOK(res1)) {
25934  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_begin" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25935  }
25936  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25937  result = (arg1)->begin();
25938  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Attachment * >::iterator & >(result)),
25939  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
25940  return resultobj;
25941 fail:
25942  return NULL;
25943 }
25944 
25945 
25946 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25947  PyObject *resultobj = 0;
25948  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25949  void *argp1 = 0 ;
25950  int res1 = 0 ;
25951  PyObject * obj0 = 0 ;
25952  std::vector< Attachment * >::iterator result;
25953 
25954  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr_end",&obj0)) SWIG_fail;
25955  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25956  if (!SWIG_IsOK(res1)) {
25957  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_end" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25958  }
25959  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25960  result = (arg1)->end();
25961  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Attachment * >::iterator & >(result)),
25962  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
25963  return resultobj;
25964 fail:
25965  return NULL;
25966 }
25967 
25968 
25969 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25970  PyObject *resultobj = 0;
25971  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25972  void *argp1 = 0 ;
25973  int res1 = 0 ;
25974  PyObject * obj0 = 0 ;
25975  std::vector< Attachment * >::reverse_iterator result;
25976 
25977  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr_rbegin",&obj0)) SWIG_fail;
25978  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
25979  if (!SWIG_IsOK(res1)) {
25980  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_rbegin" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
25981  }
25982  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
25983  result = (arg1)->rbegin();
25984  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Attachment * >::reverse_iterator & >(result)),
25985  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
25986  return resultobj;
25987 fail:
25988  return NULL;
25989 }
25990 
25991 
25992 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25993  PyObject *resultobj = 0;
25994  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
25995  void *argp1 = 0 ;
25996  int res1 = 0 ;
25997  PyObject * obj0 = 0 ;
25998  std::vector< Attachment * >::reverse_iterator result;
25999 
26000  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr_rend",&obj0)) SWIG_fail;
26001  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
26002  if (!SWIG_IsOK(res1)) {
26003  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_rend" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
26004  }
26005  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
26006  result = (arg1)->rend();
26007  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Attachment * >::reverse_iterator & >(result)),
26008  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
26009  return resultobj;
26010 fail:
26011  return NULL;
26012 }
26013 
26014 
26015 SWIGINTERN PyObject *_wrap_new_vector_AttachmentPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26016  PyObject *resultobj = 0;
26017  std::vector< Attachment * >::size_type arg1 ;
26018  size_t val1 ;
26019  int ecode1 = 0 ;
26020  PyObject * obj0 = 0 ;
26021  std::vector< Attachment * > *result = 0 ;
26022 
26023  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_AttachmentPtr",&obj0)) SWIG_fail;
26024  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
26025  if (!SWIG_IsOK(ecode1)) {
26026  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_AttachmentPtr" "', argument " "1"" of type '" "std::vector< Attachment * >::size_type""'");
26027  }
26028  arg1 = static_cast< std::vector< Attachment * >::size_type >(val1);
26029  result = (std::vector< Attachment * > *)new std::vector< Attachment * >(arg1);
26030  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, SWIG_POINTER_NEW | 0 );
26031  return resultobj;
26032 fail:
26033  return NULL;
26034 }
26035 
26036 
26037 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26038  PyObject *resultobj = 0;
26039  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
26040  void *argp1 = 0 ;
26041  int res1 = 0 ;
26042  PyObject * obj0 = 0 ;
26043 
26044  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr_pop_back",&obj0)) SWIG_fail;
26045  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
26046  if (!SWIG_IsOK(res1)) {
26047  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_pop_back" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
26048  }
26049  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
26050  (arg1)->pop_back();
26051  resultobj = SWIG_Py_Void();
26052  return resultobj;
26053 fail:
26054  return NULL;
26055 }
26056 
26057 
26058 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26059  PyObject *resultobj = 0;
26060  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
26061  std::vector< Attachment * >::size_type arg2 ;
26062  void *argp1 = 0 ;
26063  int res1 = 0 ;
26064  size_t val2 ;
26065  int ecode2 = 0 ;
26066  PyObject * obj0 = 0 ;
26067  PyObject * obj1 = 0 ;
26068 
26069  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AttachmentPtr_resize",&obj0,&obj1)) SWIG_fail;
26070  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
26071  if (!SWIG_IsOK(res1)) {
26072  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_resize" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
26073  }
26074  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
26075  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
26076  if (!SWIG_IsOK(ecode2)) {
26077  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AttachmentPtr_resize" "', argument " "2"" of type '" "std::vector< Attachment * >::size_type""'");
26078  }
26079  arg2 = static_cast< std::vector< Attachment * >::size_type >(val2);
26080  (arg1)->resize(arg2);
26081  resultobj = SWIG_Py_Void();
26082  return resultobj;
26083 fail:
26084  return NULL;
26085 }
26086 
26087 
26088 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26089  PyObject *resultobj = 0;
26090  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
26091  std::vector< Attachment * >::iterator arg2 ;
26092  void *argp1 = 0 ;
26093  int res1 = 0 ;
26094  swig::SwigPyIterator *iter2 = 0 ;
26095  int res2 ;
26096  PyObject * obj0 = 0 ;
26097  PyObject * obj1 = 0 ;
26098  std::vector< Attachment * >::iterator result;
26099 
26100  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AttachmentPtr_erase",&obj0,&obj1)) SWIG_fail;
26101  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
26102  if (!SWIG_IsOK(res1)) {
26103  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_erase" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
26104  }
26105  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
26106  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
26107  if (!SWIG_IsOK(res2) || !iter2) {
26108  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AttachmentPtr_erase" "', argument " "2"" of type '" "std::vector< Attachment * >::iterator""'");
26109  } else {
26111  if (iter_t) {
26112  arg2 = iter_t->get_current();
26113  } else {
26114  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AttachmentPtr_erase" "', argument " "2"" of type '" "std::vector< Attachment * >::iterator""'");
26115  }
26116  }
26117  result = std_vector_Sl_Attachment_Sm__Sg__erase__SWIG_0(arg1,arg2);
26118  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Attachment * >::iterator & >(result)),
26119  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
26120  return resultobj;
26121 fail:
26122  return NULL;
26123 }
26124 
26125 
26126 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26127  PyObject *resultobj = 0;
26128  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
26129  std::vector< Attachment * >::iterator arg2 ;
26130  std::vector< Attachment * >::iterator arg3 ;
26131  void *argp1 = 0 ;
26132  int res1 = 0 ;
26133  swig::SwigPyIterator *iter2 = 0 ;
26134  int res2 ;
26135  swig::SwigPyIterator *iter3 = 0 ;
26136  int res3 ;
26137  PyObject * obj0 = 0 ;
26138  PyObject * obj1 = 0 ;
26139  PyObject * obj2 = 0 ;
26140  std::vector< Attachment * >::iterator result;
26141 
26142  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AttachmentPtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
26143  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
26144  if (!SWIG_IsOK(res1)) {
26145  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_erase" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
26146  }
26147  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
26148  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
26149  if (!SWIG_IsOK(res2) || !iter2) {
26150  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AttachmentPtr_erase" "', argument " "2"" of type '" "std::vector< Attachment * >::iterator""'");
26151  } else {
26153  if (iter_t) {
26154  arg2 = iter_t->get_current();
26155  } else {
26156  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AttachmentPtr_erase" "', argument " "2"" of type '" "std::vector< Attachment * >::iterator""'");
26157  }
26158  }
26159  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
26160  if (!SWIG_IsOK(res3) || !iter3) {
26161  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AttachmentPtr_erase" "', argument " "3"" of type '" "std::vector< Attachment * >::iterator""'");
26162  } else {
26164  if (iter_t) {
26165  arg3 = iter_t->get_current();
26166  } else {
26167  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AttachmentPtr_erase" "', argument " "3"" of type '" "std::vector< Attachment * >::iterator""'");
26168  }
26169  }
26170  result = std_vector_Sl_Attachment_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
26171  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Attachment * >::iterator & >(result)),
26172  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
26173  return resultobj;
26174 fail:
26175  return NULL;
26176 }
26177 
26178 
26179 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_erase(PyObject *self, PyObject *args) {
26180  int argc;
26181  PyObject *argv[4];
26182  int ii;
26183 
26184  if (!PyTuple_Check(args)) SWIG_fail;
26185  argc = args ? (int)PyObject_Length(args) : 0;
26186  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
26187  argv[ii] = PyTuple_GET_ITEM(args,ii);
26188  }
26189  if (argc == 2) {
26190  int _v;
26191  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
26192  _v = SWIG_CheckState(res);
26193  if (_v) {
26194  swig::SwigPyIterator *iter = 0;
26195  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
26196  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Attachment * >::iterator > *>(iter) != 0));
26197  if (_v) {
26198  return _wrap_vector_AttachmentPtr_erase__SWIG_0(self, args);
26199  }
26200  }
26201  }
26202  if (argc == 3) {
26203  int _v;
26204  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
26205  _v = SWIG_CheckState(res);
26206  if (_v) {
26207  swig::SwigPyIterator *iter = 0;
26208  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
26209  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Attachment * >::iterator > *>(iter) != 0));
26210  if (_v) {
26211  swig::SwigPyIterator *iter = 0;
26212  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
26213  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Attachment * >::iterator > *>(iter) != 0));
26214  if (_v) {
26215  return _wrap_vector_AttachmentPtr_erase__SWIG_1(self, args);
26216  }
26217  }
26218  }
26219  }
26220 
26221 fail:
26222  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_AttachmentPtr_erase'.\n"
26223  " Possible C/C++ prototypes are:\n"
26224  " std::vector< Attachment * >::erase(std::vector< Attachment * >::iterator)\n"
26225  " std::vector< Attachment * >::erase(std::vector< Attachment * >::iterator,std::vector< Attachment * >::iterator)\n");
26226  return 0;
26227 }
26228 
26229 
26230 SWIGINTERN PyObject *_wrap_new_vector_AttachmentPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26231  PyObject *resultobj = 0;
26232  std::vector< Attachment * >::size_type arg1 ;
26233  std::vector< Attachment * >::value_type arg2 = (std::vector< Attachment * >::value_type) 0 ;
26234  size_t val1 ;
26235  int ecode1 = 0 ;
26236  void *argp2 = 0 ;
26237  int res2 = 0 ;
26238  PyObject * obj0 = 0 ;
26239  PyObject * obj1 = 0 ;
26240  std::vector< Attachment * > *result = 0 ;
26241 
26242  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_AttachmentPtr",&obj0,&obj1)) SWIG_fail;
26243  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
26244  if (!SWIG_IsOK(ecode1)) {
26245  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_AttachmentPtr" "', argument " "1"" of type '" "std::vector< Attachment * >::size_type""'");
26246  }
26247  arg1 = static_cast< std::vector< Attachment * >::size_type >(val1);
26248  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Attachment, 0 | 0 );
26249  if (!SWIG_IsOK(res2)) {
26250  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_AttachmentPtr" "', argument " "2"" of type '" "std::vector< Attachment * >::value_type""'");
26251  }
26252  arg2 = reinterpret_cast< std::vector< Attachment * >::value_type >(argp2);
26253  result = (std::vector< Attachment * > *)new std::vector< Attachment * >(arg1,arg2);
26254  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, SWIG_POINTER_NEW | 0 );
26255  return resultobj;
26256 fail:
26257  return NULL;
26258 }
26259 
26260 
26261 SWIGINTERN PyObject *_wrap_new_vector_AttachmentPtr(PyObject *self, PyObject *args) {
26262  int argc;
26263  PyObject *argv[3];
26264  int ii;
26265 
26266  if (!PyTuple_Check(args)) SWIG_fail;
26267  argc = args ? (int)PyObject_Length(args) : 0;
26268  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
26269  argv[ii] = PyTuple_GET_ITEM(args,ii);
26270  }
26271  if (argc == 0) {
26272  return _wrap_new_vector_AttachmentPtr__SWIG_0(self, args);
26273  }
26274  if (argc == 1) {
26275  int _v;
26276  {
26277  int res = SWIG_AsVal_size_t(argv[0], NULL);
26278  _v = SWIG_CheckState(res);
26279  }
26280  if (_v) {
26281  return _wrap_new_vector_AttachmentPtr__SWIG_2(self, args);
26282  }
26283  }
26284  if (argc == 1) {
26285  int _v;
26286  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
26287  _v = SWIG_CheckState(res);
26288  if (_v) {
26289  return _wrap_new_vector_AttachmentPtr__SWIG_1(self, args);
26290  }
26291  }
26292  if (argc == 2) {
26293  int _v;
26294  {
26295  int res = SWIG_AsVal_size_t(argv[0], NULL);
26296  _v = SWIG_CheckState(res);
26297  }
26298  if (_v) {
26299  void *vptr = 0;
26300  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Attachment, 0);
26301  _v = SWIG_CheckState(res);
26302  if (_v) {
26303  return _wrap_new_vector_AttachmentPtr__SWIG_3(self, args);
26304  }
26305  }
26306  }
26307 
26308 fail:
26309  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_AttachmentPtr'.\n"
26310  " Possible C/C++ prototypes are:\n"
26311  " std::vector< Attachment * >::vector()\n"
26312  " std::vector< Attachment * >::vector(std::vector< Attachment * > const &)\n"
26313  " std::vector< Attachment * >::vector(std::vector< Attachment * >::size_type)\n"
26314  " std::vector< Attachment * >::vector(std::vector< Attachment * >::size_type,std::vector< Attachment * >::value_type)\n");
26315  return 0;
26316 }
26317 
26318 
26319 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26320  PyObject *resultobj = 0;
26321  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
26322  std::vector< Attachment * >::value_type arg2 = (std::vector< Attachment * >::value_type) 0 ;
26323  void *argp1 = 0 ;
26324  int res1 = 0 ;
26325  void *argp2 = 0 ;
26326  int res2 = 0 ;
26327  PyObject * obj0 = 0 ;
26328  PyObject * obj1 = 0 ;
26329 
26330  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AttachmentPtr_push_back",&obj0,&obj1)) SWIG_fail;
26331  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
26332  if (!SWIG_IsOK(res1)) {
26333  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_push_back" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
26334  }
26335  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
26336  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Attachment, 0 | 0 );
26337  if (!SWIG_IsOK(res2)) {
26338  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_AttachmentPtr_push_back" "', argument " "2"" of type '" "std::vector< Attachment * >::value_type""'");
26339  }
26340  arg2 = reinterpret_cast< std::vector< Attachment * >::value_type >(argp2);
26341  (arg1)->push_back(arg2);
26342  resultobj = SWIG_Py_Void();
26343  return resultobj;
26344 fail:
26345  return NULL;
26346 }
26347 
26348 
26349 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26350  PyObject *resultobj = 0;
26351  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
26352  void *argp1 = 0 ;
26353  int res1 = 0 ;
26354  PyObject * obj0 = 0 ;
26355  std::vector< Attachment * >::value_type result;
26356 
26357  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr_front",&obj0)) SWIG_fail;
26358  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
26359  if (!SWIG_IsOK(res1)) {
26360  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_front" "', argument " "1"" of type '" "std::vector< Attachment * > const *""'");
26361  }
26362  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
26363  result = (std::vector< Attachment * >::value_type)((std::vector< Attachment * > const *)arg1)->front();
26364  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Attachment, 0 | 0 );
26365  return resultobj;
26366 fail:
26367  return NULL;
26368 }
26369 
26370 
26371 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26372  PyObject *resultobj = 0;
26373  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
26374  void *argp1 = 0 ;
26375  int res1 = 0 ;
26376  PyObject * obj0 = 0 ;
26377  std::vector< Attachment * >::value_type result;
26378 
26379  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr_back",&obj0)) SWIG_fail;
26380  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
26381  if (!SWIG_IsOK(res1)) {
26382  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_back" "', argument " "1"" of type '" "std::vector< Attachment * > const *""'");
26383  }
26384  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
26385  result = (std::vector< Attachment * >::value_type)((std::vector< Attachment * > const *)arg1)->back();
26386  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Attachment, 0 | 0 );
26387  return resultobj;
26388 fail:
26389  return NULL;
26390 }
26391 
26392 
26393 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26394  PyObject *resultobj = 0;
26395  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
26396  std::vector< Attachment * >::size_type arg2 ;
26397  std::vector< Attachment * >::value_type arg3 = (std::vector< Attachment * >::value_type) 0 ;
26398  void *argp1 = 0 ;
26399  int res1 = 0 ;
26400  size_t val2 ;
26401  int ecode2 = 0 ;
26402  void *argp3 = 0 ;
26403  int res3 = 0 ;
26404  PyObject * obj0 = 0 ;
26405  PyObject * obj1 = 0 ;
26406  PyObject * obj2 = 0 ;
26407 
26408  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AttachmentPtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
26409  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
26410  if (!SWIG_IsOK(res1)) {
26411  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_assign" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
26412  }
26413  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
26414  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
26415  if (!SWIG_IsOK(ecode2)) {
26416  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AttachmentPtr_assign" "', argument " "2"" of type '" "std::vector< Attachment * >::size_type""'");
26417  }
26418  arg2 = static_cast< std::vector< Attachment * >::size_type >(val2);
26419  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Attachment, 0 | 0 );
26420  if (!SWIG_IsOK(res3)) {
26421  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_AttachmentPtr_assign" "', argument " "3"" of type '" "std::vector< Attachment * >::value_type""'");
26422  }
26423  arg3 = reinterpret_cast< std::vector< Attachment * >::value_type >(argp3);
26424  (arg1)->assign(arg2,arg3);
26425  resultobj = SWIG_Py_Void();
26426  return resultobj;
26427 fail:
26428  return NULL;
26429 }
26430 
26431 
26432 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26433  PyObject *resultobj = 0;
26434  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
26435  std::vector< Attachment * >::size_type arg2 ;
26436  std::vector< Attachment * >::value_type arg3 = (std::vector< Attachment * >::value_type) 0 ;
26437  void *argp1 = 0 ;
26438  int res1 = 0 ;
26439  size_t val2 ;
26440  int ecode2 = 0 ;
26441  void *argp3 = 0 ;
26442  int res3 = 0 ;
26443  PyObject * obj0 = 0 ;
26444  PyObject * obj1 = 0 ;
26445  PyObject * obj2 = 0 ;
26446 
26447  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AttachmentPtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
26448  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
26449  if (!SWIG_IsOK(res1)) {
26450  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_resize" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
26451  }
26452  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
26453  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
26454  if (!SWIG_IsOK(ecode2)) {
26455  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AttachmentPtr_resize" "', argument " "2"" of type '" "std::vector< Attachment * >::size_type""'");
26456  }
26457  arg2 = static_cast< std::vector< Attachment * >::size_type >(val2);
26458  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Attachment, 0 | 0 );
26459  if (!SWIG_IsOK(res3)) {
26460  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_AttachmentPtr_resize" "', argument " "3"" of type '" "std::vector< Attachment * >::value_type""'");
26461  }
26462  arg3 = reinterpret_cast< std::vector< Attachment * >::value_type >(argp3);
26463  (arg1)->resize(arg2,arg3);
26464  resultobj = SWIG_Py_Void();
26465  return resultobj;
26466 fail:
26467  return NULL;
26468 }
26469 
26470 
26471 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_resize(PyObject *self, PyObject *args) {
26472  int argc;
26473  PyObject *argv[4];
26474  int ii;
26475 
26476  if (!PyTuple_Check(args)) SWIG_fail;
26477  argc = args ? (int)PyObject_Length(args) : 0;
26478  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
26479  argv[ii] = PyTuple_GET_ITEM(args,ii);
26480  }
26481  if (argc == 2) {
26482  int _v;
26483  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
26484  _v = SWIG_CheckState(res);
26485  if (_v) {
26486  {
26487  int res = SWIG_AsVal_size_t(argv[1], NULL);
26488  _v = SWIG_CheckState(res);
26489  }
26490  if (_v) {
26491  return _wrap_vector_AttachmentPtr_resize__SWIG_0(self, args);
26492  }
26493  }
26494  }
26495  if (argc == 3) {
26496  int _v;
26497  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
26498  _v = SWIG_CheckState(res);
26499  if (_v) {
26500  {
26501  int res = SWIG_AsVal_size_t(argv[1], NULL);
26502  _v = SWIG_CheckState(res);
26503  }
26504  if (_v) {
26505  void *vptr = 0;
26506  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Attachment, 0);
26507  _v = SWIG_CheckState(res);
26508  if (_v) {
26509  return _wrap_vector_AttachmentPtr_resize__SWIG_1(self, args);
26510  }
26511  }
26512  }
26513  }
26514 
26515 fail:
26516  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_AttachmentPtr_resize'.\n"
26517  " Possible C/C++ prototypes are:\n"
26518  " std::vector< Attachment * >::resize(std::vector< Attachment * >::size_type)\n"
26519  " std::vector< Attachment * >::resize(std::vector< Attachment * >::size_type,std::vector< Attachment * >::value_type)\n");
26520  return 0;
26521 }
26522 
26523 
26524 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26525  PyObject *resultobj = 0;
26526  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
26527  std::vector< Attachment * >::iterator arg2 ;
26528  std::vector< Attachment * >::value_type arg3 = (std::vector< Attachment * >::value_type) 0 ;
26529  void *argp1 = 0 ;
26530  int res1 = 0 ;
26531  swig::SwigPyIterator *iter2 = 0 ;
26532  int res2 ;
26533  void *argp3 = 0 ;
26534  int res3 = 0 ;
26535  PyObject * obj0 = 0 ;
26536  PyObject * obj1 = 0 ;
26537  PyObject * obj2 = 0 ;
26538  std::vector< Attachment * >::iterator result;
26539 
26540  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_AttachmentPtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
26541  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
26542  if (!SWIG_IsOK(res1)) {
26543  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_insert" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
26544  }
26545  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
26546  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
26547  if (!SWIG_IsOK(res2) || !iter2) {
26548  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AttachmentPtr_insert" "', argument " "2"" of type '" "std::vector< Attachment * >::iterator""'");
26549  } else {
26551  if (iter_t) {
26552  arg2 = iter_t->get_current();
26553  } else {
26554  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AttachmentPtr_insert" "', argument " "2"" of type '" "std::vector< Attachment * >::iterator""'");
26555  }
26556  }
26557  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Attachment, 0 | 0 );
26558  if (!SWIG_IsOK(res3)) {
26559  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_AttachmentPtr_insert" "', argument " "3"" of type '" "std::vector< Attachment * >::value_type""'");
26560  }
26561  arg3 = reinterpret_cast< std::vector< Attachment * >::value_type >(argp3);
26562  result = std_vector_Sl_Attachment_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
26563  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Attachment * >::iterator & >(result)),
26564  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
26565  return resultobj;
26566 fail:
26567  return NULL;
26568 }
26569 
26570 
26571 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26572  PyObject *resultobj = 0;
26573  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
26574  std::vector< Attachment * >::iterator arg2 ;
26575  std::vector< Attachment * >::size_type arg3 ;
26576  std::vector< Attachment * >::value_type arg4 = (std::vector< Attachment * >::value_type) 0 ;
26577  void *argp1 = 0 ;
26578  int res1 = 0 ;
26579  swig::SwigPyIterator *iter2 = 0 ;
26580  int res2 ;
26581  size_t val3 ;
26582  int ecode3 = 0 ;
26583  void *argp4 = 0 ;
26584  int res4 = 0 ;
26585  PyObject * obj0 = 0 ;
26586  PyObject * obj1 = 0 ;
26587  PyObject * obj2 = 0 ;
26588  PyObject * obj3 = 0 ;
26589 
26590  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_AttachmentPtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
26591  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
26592  if (!SWIG_IsOK(res1)) {
26593  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_insert" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
26594  }
26595  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
26596  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
26597  if (!SWIG_IsOK(res2) || !iter2) {
26598  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AttachmentPtr_insert" "', argument " "2"" of type '" "std::vector< Attachment * >::iterator""'");
26599  } else {
26601  if (iter_t) {
26602  arg2 = iter_t->get_current();
26603  } else {
26604  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_AttachmentPtr_insert" "', argument " "2"" of type '" "std::vector< Attachment * >::iterator""'");
26605  }
26606  }
26607  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
26608  if (!SWIG_IsOK(ecode3)) {
26609  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_AttachmentPtr_insert" "', argument " "3"" of type '" "std::vector< Attachment * >::size_type""'");
26610  }
26611  arg3 = static_cast< std::vector< Attachment * >::size_type >(val3);
26612  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_Attachment, 0 | 0 );
26613  if (!SWIG_IsOK(res4)) {
26614  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_AttachmentPtr_insert" "', argument " "4"" of type '" "std::vector< Attachment * >::value_type""'");
26615  }
26616  arg4 = reinterpret_cast< std::vector< Attachment * >::value_type >(argp4);
26617  std_vector_Sl_Attachment_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
26618  resultobj = SWIG_Py_Void();
26619  return resultobj;
26620 fail:
26621  return NULL;
26622 }
26623 
26624 
26625 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_insert(PyObject *self, PyObject *args) {
26626  int argc;
26627  PyObject *argv[5];
26628  int ii;
26629 
26630  if (!PyTuple_Check(args)) SWIG_fail;
26631  argc = args ? (int)PyObject_Length(args) : 0;
26632  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
26633  argv[ii] = PyTuple_GET_ITEM(args,ii);
26634  }
26635  if (argc == 3) {
26636  int _v;
26637  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
26638  _v = SWIG_CheckState(res);
26639  if (_v) {
26640  swig::SwigPyIterator *iter = 0;
26641  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
26642  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Attachment * >::iterator > *>(iter) != 0));
26643  if (_v) {
26644  void *vptr = 0;
26645  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Attachment, 0);
26646  _v = SWIG_CheckState(res);
26647  if (_v) {
26648  return _wrap_vector_AttachmentPtr_insert__SWIG_0(self, args);
26649  }
26650  }
26651  }
26652  }
26653  if (argc == 4) {
26654  int _v;
26655  int res = swig::asptr(argv[0], (std::vector<Attachment*,std::allocator< Attachment * > >**)(0));
26656  _v = SWIG_CheckState(res);
26657  if (_v) {
26658  swig::SwigPyIterator *iter = 0;
26659  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
26660  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Attachment * >::iterator > *>(iter) != 0));
26661  if (_v) {
26662  {
26663  int res = SWIG_AsVal_size_t(argv[2], NULL);
26664  _v = SWIG_CheckState(res);
26665  }
26666  if (_v) {
26667  void *vptr = 0;
26668  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_Attachment, 0);
26669  _v = SWIG_CheckState(res);
26670  if (_v) {
26671  return _wrap_vector_AttachmentPtr_insert__SWIG_1(self, args);
26672  }
26673  }
26674  }
26675  }
26676  }
26677 
26678 fail:
26679  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_AttachmentPtr_insert'.\n"
26680  " Possible C/C++ prototypes are:\n"
26681  " std::vector< Attachment * >::insert(std::vector< Attachment * >::iterator,std::vector< Attachment * >::value_type)\n"
26682  " std::vector< Attachment * >::insert(std::vector< Attachment * >::iterator,std::vector< Attachment * >::size_type,std::vector< Attachment * >::value_type)\n");
26683  return 0;
26684 }
26685 
26686 
26687 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26688  PyObject *resultobj = 0;
26689  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
26690  std::vector< Attachment * >::size_type arg2 ;
26691  void *argp1 = 0 ;
26692  int res1 = 0 ;
26693  size_t val2 ;
26694  int ecode2 = 0 ;
26695  PyObject * obj0 = 0 ;
26696  PyObject * obj1 = 0 ;
26697 
26698  if (!PyArg_ParseTuple(args,(char *)"OO:vector_AttachmentPtr_reserve",&obj0,&obj1)) SWIG_fail;
26699  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
26700  if (!SWIG_IsOK(res1)) {
26701  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_reserve" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
26702  }
26703  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
26704  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
26705  if (!SWIG_IsOK(ecode2)) {
26706  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_AttachmentPtr_reserve" "', argument " "2"" of type '" "std::vector< Attachment * >::size_type""'");
26707  }
26708  arg2 = static_cast< std::vector< Attachment * >::size_type >(val2);
26709  (arg1)->reserve(arg2);
26710  resultobj = SWIG_Py_Void();
26711  return resultobj;
26712 fail:
26713  return NULL;
26714 }
26715 
26716 
26717 SWIGINTERN PyObject *_wrap_vector_AttachmentPtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26718  PyObject *resultobj = 0;
26719  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
26720  void *argp1 = 0 ;
26721  int res1 = 0 ;
26722  PyObject * obj0 = 0 ;
26723  std::vector< Attachment * >::size_type result;
26724 
26725  if (!PyArg_ParseTuple(args,(char *)"O:vector_AttachmentPtr_capacity",&obj0)) SWIG_fail;
26726  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0 | 0 );
26727  if (!SWIG_IsOK(res1)) {
26728  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_AttachmentPtr_capacity" "', argument " "1"" of type '" "std::vector< Attachment * > const *""'");
26729  }
26730  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
26731  result = ((std::vector< Attachment * > const *)arg1)->capacity();
26732  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
26733  return resultobj;
26734 fail:
26735  return NULL;
26736 }
26737 
26738 
26739 SWIGINTERN PyObject *_wrap_delete_vector_AttachmentPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26740  PyObject *resultobj = 0;
26741  std::vector< Attachment * > *arg1 = (std::vector< Attachment * > *) 0 ;
26742  void *argp1 = 0 ;
26743  int res1 = 0 ;
26744  PyObject * obj0 = 0 ;
26745 
26746  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_AttachmentPtr",&obj0)) SWIG_fail;
26747  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, SWIG_POINTER_DISOWN | 0 );
26748  if (!SWIG_IsOK(res1)) {
26749  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_AttachmentPtr" "', argument " "1"" of type '" "std::vector< Attachment * > *""'");
26750  }
26751  arg1 = reinterpret_cast< std::vector< Attachment * > * >(argp1);
26752  {
26753  try {
26754  delete arg1;
26755  }
26756  catch(CStdErrorInfo oError)
26757  {
26758  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
26759  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
26760  PyErr_SetString(PyExc_IndexError, strError.c_str());
26761  SWIG_fail;
26762  }
26763  catch(...)
26764  {
26765  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
26766  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
26767  SWIG_fail;
26768  }
26769  }
26770  resultobj = SWIG_Py_Void();
26771  return resultobj;
26772 fail:
26773  return NULL;
26774 }
26775 
26776 
26777 SWIGINTERN PyObject *vector_AttachmentPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26778  PyObject *obj;
26779  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
26780  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, SWIG_NewClientData(obj));
26781  return SWIG_Py_Void();
26782 }
26783 
26784 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26785  PyObject *resultobj = 0;
26786  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
26787  PyObject **arg2 = (PyObject **) 0 ;
26788  void *argp1 = 0 ;
26789  int res1 = 0 ;
26790  PyObject * obj0 = 0 ;
26791  swig::SwigPyIterator *result = 0 ;
26792 
26793  arg2 = &obj0;
26794  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr_iterator",&obj0)) SWIG_fail;
26795  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
26796  if (!SWIG_IsOK(res1)) {
26797  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_iterator" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
26798  }
26799  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
26800  result = (swig::SwigPyIterator *)std_vector_Sl_BodyPart_Sm__Sg__iterator(arg1,arg2);
26801  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
26802  return resultobj;
26803 fail:
26804  return NULL;
26805 }
26806 
26807 
26808 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26809  PyObject *resultobj = 0;
26810  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
26811  void *argp1 = 0 ;
26812  int res1 = 0 ;
26813  PyObject * obj0 = 0 ;
26814  bool result;
26815 
26816  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr___nonzero__",&obj0)) SWIG_fail;
26817  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
26818  if (!SWIG_IsOK(res1)) {
26819  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr___nonzero__" "', argument " "1"" of type '" "std::vector< BodyPart * > const *""'");
26820  }
26821  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
26822  result = (bool)std_vector_Sl_BodyPart_Sm__Sg____nonzero__((std::vector< BodyPart * > const *)arg1);
26823  resultobj = SWIG_From_bool(static_cast< bool >(result));
26824  return resultobj;
26825 fail:
26826  return NULL;
26827 }
26828 
26829 
26830 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26831  PyObject *resultobj = 0;
26832  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
26833  void *argp1 = 0 ;
26834  int res1 = 0 ;
26835  PyObject * obj0 = 0 ;
26836  bool result;
26837 
26838  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr___bool__",&obj0)) SWIG_fail;
26839  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
26840  if (!SWIG_IsOK(res1)) {
26841  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr___bool__" "', argument " "1"" of type '" "std::vector< BodyPart * > const *""'");
26842  }
26843  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
26844  result = (bool)std_vector_Sl_BodyPart_Sm__Sg____bool__((std::vector< BodyPart * > const *)arg1);
26845  resultobj = SWIG_From_bool(static_cast< bool >(result));
26846  return resultobj;
26847 fail:
26848  return NULL;
26849 }
26850 
26851 
26852 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26853  PyObject *resultobj = 0;
26854  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
26855  void *argp1 = 0 ;
26856  int res1 = 0 ;
26857  PyObject * obj0 = 0 ;
26858  std::vector< BodyPart * >::size_type result;
26859 
26860  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr___len__",&obj0)) SWIG_fail;
26861  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
26862  if (!SWIG_IsOK(res1)) {
26863  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr___len__" "', argument " "1"" of type '" "std::vector< BodyPart * > const *""'");
26864  }
26865  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
26866  result = std_vector_Sl_BodyPart_Sm__Sg____len__((std::vector< BodyPart * > const *)arg1);
26867  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
26868  return resultobj;
26869 fail:
26870  return NULL;
26871 }
26872 
26873 
26874 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26875  PyObject *resultobj = 0;
26876  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
26877  void *argp1 = 0 ;
26878  int res1 = 0 ;
26879  PyObject * obj0 = 0 ;
26880  std::vector< BodyPart * >::value_type result;
26881 
26882  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr_pop",&obj0)) SWIG_fail;
26883  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
26884  if (!SWIG_IsOK(res1)) {
26885  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_pop" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
26886  }
26887  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
26888  try {
26889  result = (std::vector< BodyPart * >::value_type)std_vector_Sl_BodyPart_Sm__Sg__pop(arg1);
26890  }
26891  catch(std::out_of_range &_e) {
26892  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
26893  }
26894 
26895  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_BodyPart, 0 | 0 );
26896  return resultobj;
26897 fail:
26898  return NULL;
26899 }
26900 
26901 
26902 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26903  PyObject *resultobj = 0;
26904  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
26905  std::vector< BodyPart * >::difference_type arg2 ;
26906  std::vector< BodyPart * >::difference_type arg3 ;
26907  void *argp1 = 0 ;
26908  int res1 = 0 ;
26909  ptrdiff_t val2 ;
26910  int ecode2 = 0 ;
26911  ptrdiff_t val3 ;
26912  int ecode3 = 0 ;
26913  PyObject * obj0 = 0 ;
26914  PyObject * obj1 = 0 ;
26915  PyObject * obj2 = 0 ;
26916  std::vector< BodyPart *,std::allocator< BodyPart * > > *result = 0 ;
26917 
26918  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_BodyPartPtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
26919  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
26920  if (!SWIG_IsOK(res1)) {
26921  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr___getslice__" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
26922  }
26923  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
26924  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
26925  if (!SWIG_IsOK(ecode2)) {
26926  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_BodyPartPtr___getslice__" "', argument " "2"" of type '" "std::vector< BodyPart * >::difference_type""'");
26927  }
26928  arg2 = static_cast< std::vector< BodyPart * >::difference_type >(val2);
26929  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
26930  if (!SWIG_IsOK(ecode3)) {
26931  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_BodyPartPtr___getslice__" "', argument " "3"" of type '" "std::vector< BodyPart * >::difference_type""'");
26932  }
26933  arg3 = static_cast< std::vector< BodyPart * >::difference_type >(val3);
26934  try {
26935  result = (std::vector< BodyPart *,std::allocator< BodyPart * > > *)std_vector_Sl_BodyPart_Sm__Sg____getslice__(arg1,arg2,arg3);
26936  }
26937  catch(std::out_of_range &_e) {
26938  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
26939  }
26940  catch(std::invalid_argument &_e) {
26941  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
26942  }
26943 
26944  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, SWIG_POINTER_OWN | 0 );
26945  return resultobj;
26946 fail:
26947  return NULL;
26948 }
26949 
26950 
26951 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26952  PyObject *resultobj = 0;
26953  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
26954  std::vector< BodyPart * >::difference_type arg2 ;
26955  std::vector< BodyPart * >::difference_type arg3 ;
26956  std::vector< BodyPart *,std::allocator< BodyPart * > > *arg4 = 0 ;
26957  void *argp1 = 0 ;
26958  int res1 = 0 ;
26959  ptrdiff_t val2 ;
26960  int ecode2 = 0 ;
26961  ptrdiff_t val3 ;
26962  int ecode3 = 0 ;
26963  int res4 = SWIG_OLDOBJ ;
26964  PyObject * obj0 = 0 ;
26965  PyObject * obj1 = 0 ;
26966  PyObject * obj2 = 0 ;
26967  PyObject * obj3 = 0 ;
26968 
26969  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_BodyPartPtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
26970  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
26971  if (!SWIG_IsOK(res1)) {
26972  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr___setslice__" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
26973  }
26974  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
26975  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
26976  if (!SWIG_IsOK(ecode2)) {
26977  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_BodyPartPtr___setslice__" "', argument " "2"" of type '" "std::vector< BodyPart * >::difference_type""'");
26978  }
26979  arg2 = static_cast< std::vector< BodyPart * >::difference_type >(val2);
26980  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
26981  if (!SWIG_IsOK(ecode3)) {
26982  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_BodyPartPtr___setslice__" "', argument " "3"" of type '" "std::vector< BodyPart * >::difference_type""'");
26983  }
26984  arg3 = static_cast< std::vector< BodyPart * >::difference_type >(val3);
26985  {
26986  std::vector<BodyPart*,std::allocator< BodyPart * > > *ptr = (std::vector<BodyPart*,std::allocator< BodyPart * > > *)0;
26987  res4 = swig::asptr(obj3, &ptr);
26988  if (!SWIG_IsOK(res4)) {
26989  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_BodyPartPtr___setslice__" "', argument " "4"" of type '" "std::vector< BodyPart *,std::allocator< BodyPart * > > const &""'");
26990  }
26991  if (!ptr) {
26992  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_BodyPartPtr___setslice__" "', argument " "4"" of type '" "std::vector< BodyPart *,std::allocator< BodyPart * > > const &""'");
26993  }
26994  arg4 = ptr;
26995  }
26996  try {
26997  std_vector_Sl_BodyPart_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< BodyPart *,std::allocator< BodyPart * > > const &)*arg4);
26998  }
26999  catch(std::out_of_range &_e) {
27000  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
27001  }
27002  catch(std::invalid_argument &_e) {
27003  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
27004  }
27005 
27006  resultobj = SWIG_Py_Void();
27007  if (SWIG_IsNewObj(res4)) delete arg4;
27008  return resultobj;
27009 fail:
27010  if (SWIG_IsNewObj(res4)) delete arg4;
27011  return NULL;
27012 }
27013 
27014 
27015 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27016  PyObject *resultobj = 0;
27017  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27018  std::vector< BodyPart * >::difference_type arg2 ;
27019  std::vector< BodyPart * >::difference_type arg3 ;
27020  void *argp1 = 0 ;
27021  int res1 = 0 ;
27022  ptrdiff_t val2 ;
27023  int ecode2 = 0 ;
27024  ptrdiff_t val3 ;
27025  int ecode3 = 0 ;
27026  PyObject * obj0 = 0 ;
27027  PyObject * obj1 = 0 ;
27028  PyObject * obj2 = 0 ;
27029 
27030  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_BodyPartPtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
27031  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27032  if (!SWIG_IsOK(res1)) {
27033  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr___setslice__" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27034  }
27035  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27036  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
27037  if (!SWIG_IsOK(ecode2)) {
27038  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_BodyPartPtr___setslice__" "', argument " "2"" of type '" "std::vector< BodyPart * >::difference_type""'");
27039  }
27040  arg2 = static_cast< std::vector< BodyPart * >::difference_type >(val2);
27041  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
27042  if (!SWIG_IsOK(ecode3)) {
27043  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_BodyPartPtr___setslice__" "', argument " "3"" of type '" "std::vector< BodyPart * >::difference_type""'");
27044  }
27045  arg3 = static_cast< std::vector< BodyPart * >::difference_type >(val3);
27046  try {
27047  std_vector_Sl_BodyPart_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
27048  }
27049  catch(std::out_of_range &_e) {
27050  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
27051  }
27052  catch(std::invalid_argument &_e) {
27053  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
27054  }
27055 
27056  resultobj = SWIG_Py_Void();
27057  return resultobj;
27058 fail:
27059  return NULL;
27060 }
27061 
27062 
27063 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___setslice__(PyObject *self, PyObject *args) {
27064  int argc;
27065  PyObject *argv[5];
27066  int ii;
27067 
27068  if (!PyTuple_Check(args)) SWIG_fail;
27069  argc = args ? (int)PyObject_Length(args) : 0;
27070  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
27071  argv[ii] = PyTuple_GET_ITEM(args,ii);
27072  }
27073  if (argc == 3) {
27074  int _v;
27075  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
27076  _v = SWIG_CheckState(res);
27077  if (_v) {
27078  {
27079  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
27080  _v = SWIG_CheckState(res);
27081  }
27082  if (_v) {
27083  {
27084  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
27085  _v = SWIG_CheckState(res);
27086  }
27087  if (_v) {
27088  return _wrap_vector_BodyPartPtr___setslice____SWIG_1(self, args);
27089  }
27090  }
27091  }
27092  }
27093  if (argc == 4) {
27094  int _v;
27095  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
27096  _v = SWIG_CheckState(res);
27097  if (_v) {
27098  {
27099  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
27100  _v = SWIG_CheckState(res);
27101  }
27102  if (_v) {
27103  {
27104  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
27105  _v = SWIG_CheckState(res);
27106  }
27107  if (_v) {
27108  int res = swig::asptr(argv[3], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
27109  _v = SWIG_CheckState(res);
27110  if (_v) {
27111  return _wrap_vector_BodyPartPtr___setslice____SWIG_0(self, args);
27112  }
27113  }
27114  }
27115  }
27116  }
27117 
27118 fail:
27119  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_BodyPartPtr___setslice__'.\n"
27120  " Possible C/C++ prototypes are:\n"
27121  " std::vector< BodyPart * >::__setslice__(std::vector< BodyPart * >::difference_type,std::vector< BodyPart * >::difference_type,std::vector< BodyPart *,std::allocator< BodyPart * > > const &)\n"
27122  " std::vector< BodyPart * >::__setslice__(std::vector< BodyPart * >::difference_type,std::vector< BodyPart * >::difference_type)\n");
27123  return 0;
27124 }
27125 
27126 
27127 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27128  PyObject *resultobj = 0;
27129  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27130  std::vector< BodyPart * >::difference_type arg2 ;
27131  std::vector< BodyPart * >::difference_type arg3 ;
27132  void *argp1 = 0 ;
27133  int res1 = 0 ;
27134  ptrdiff_t val2 ;
27135  int ecode2 = 0 ;
27136  ptrdiff_t val3 ;
27137  int ecode3 = 0 ;
27138  PyObject * obj0 = 0 ;
27139  PyObject * obj1 = 0 ;
27140  PyObject * obj2 = 0 ;
27141 
27142  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_BodyPartPtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
27143  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27144  if (!SWIG_IsOK(res1)) {
27145  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr___delslice__" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27146  }
27147  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27148  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
27149  if (!SWIG_IsOK(ecode2)) {
27150  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_BodyPartPtr___delslice__" "', argument " "2"" of type '" "std::vector< BodyPart * >::difference_type""'");
27151  }
27152  arg2 = static_cast< std::vector< BodyPart * >::difference_type >(val2);
27153  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
27154  if (!SWIG_IsOK(ecode3)) {
27155  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_BodyPartPtr___delslice__" "', argument " "3"" of type '" "std::vector< BodyPart * >::difference_type""'");
27156  }
27157  arg3 = static_cast< std::vector< BodyPart * >::difference_type >(val3);
27158  try {
27159  std_vector_Sl_BodyPart_Sm__Sg____delslice__(arg1,arg2,arg3);
27160  }
27161  catch(std::out_of_range &_e) {
27162  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
27163  }
27164  catch(std::invalid_argument &_e) {
27165  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
27166  }
27167 
27168  resultobj = SWIG_Py_Void();
27169  return resultobj;
27170 fail:
27171  return NULL;
27172 }
27173 
27174 
27175 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27176  PyObject *resultobj = 0;
27177  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27178  std::vector< BodyPart * >::difference_type arg2 ;
27179  void *argp1 = 0 ;
27180  int res1 = 0 ;
27181  ptrdiff_t val2 ;
27182  int ecode2 = 0 ;
27183  PyObject * obj0 = 0 ;
27184  PyObject * obj1 = 0 ;
27185 
27186  if (!PyArg_ParseTuple(args,(char *)"OO:vector_BodyPartPtr___delitem__",&obj0,&obj1)) SWIG_fail;
27187  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27188  if (!SWIG_IsOK(res1)) {
27189  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr___delitem__" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27190  }
27191  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27192  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
27193  if (!SWIG_IsOK(ecode2)) {
27194  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_BodyPartPtr___delitem__" "', argument " "2"" of type '" "std::vector< BodyPart * >::difference_type""'");
27195  }
27196  arg2 = static_cast< std::vector< BodyPart * >::difference_type >(val2);
27197  try {
27198  std_vector_Sl_BodyPart_Sm__Sg____delitem____SWIG_0(arg1,arg2);
27199  }
27200  catch(std::out_of_range &_e) {
27201  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
27202  }
27203 
27204  resultobj = SWIG_Py_Void();
27205  return resultobj;
27206 fail:
27207  return NULL;
27208 }
27209 
27210 
27211 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27212  PyObject *resultobj = 0;
27213  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27214  PySliceObject *arg2 = (PySliceObject *) 0 ;
27215  void *argp1 = 0 ;
27216  int res1 = 0 ;
27217  PyObject * obj0 = 0 ;
27218  PyObject * obj1 = 0 ;
27219  std::vector< BodyPart *,std::allocator< BodyPart * > > *result = 0 ;
27220 
27221  if (!PyArg_ParseTuple(args,(char *)"OO:vector_BodyPartPtr___getitem__",&obj0,&obj1)) SWIG_fail;
27222  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27223  if (!SWIG_IsOK(res1)) {
27224  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr___getitem__" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27225  }
27226  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27227  {
27228  if (!PySlice_Check(obj1)) {
27229  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_BodyPartPtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
27230  }
27231  arg2 = (PySliceObject *) obj1;
27232  }
27233  try {
27234  result = (std::vector< BodyPart *,std::allocator< BodyPart * > > *)std_vector_Sl_BodyPart_Sm__Sg____getitem____SWIG_0(arg1,arg2);
27235  }
27236  catch(std::out_of_range &_e) {
27237  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
27238  }
27239  catch(std::invalid_argument &_e) {
27240  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
27241  }
27242 
27243  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, SWIG_POINTER_OWN | 0 );
27244  return resultobj;
27245 fail:
27246  return NULL;
27247 }
27248 
27249 
27250 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27251  PyObject *resultobj = 0;
27252  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27253  PySliceObject *arg2 = (PySliceObject *) 0 ;
27254  std::vector< BodyPart *,std::allocator< BodyPart * > > *arg3 = 0 ;
27255  void *argp1 = 0 ;
27256  int res1 = 0 ;
27257  int res3 = SWIG_OLDOBJ ;
27258  PyObject * obj0 = 0 ;
27259  PyObject * obj1 = 0 ;
27260  PyObject * obj2 = 0 ;
27261 
27262  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_BodyPartPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
27263  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27264  if (!SWIG_IsOK(res1)) {
27265  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr___setitem__" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27266  }
27267  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27268  {
27269  if (!PySlice_Check(obj1)) {
27270  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_BodyPartPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
27271  }
27272  arg2 = (PySliceObject *) obj1;
27273  }
27274  {
27275  std::vector<BodyPart*,std::allocator< BodyPart * > > *ptr = (std::vector<BodyPart*,std::allocator< BodyPart * > > *)0;
27276  res3 = swig::asptr(obj2, &ptr);
27277  if (!SWIG_IsOK(res3)) {
27278  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_BodyPartPtr___setitem__" "', argument " "3"" of type '" "std::vector< BodyPart *,std::allocator< BodyPart * > > const &""'");
27279  }
27280  if (!ptr) {
27281  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_BodyPartPtr___setitem__" "', argument " "3"" of type '" "std::vector< BodyPart *,std::allocator< BodyPart * > > const &""'");
27282  }
27283  arg3 = ptr;
27284  }
27285  try {
27286  std_vector_Sl_BodyPart_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< BodyPart *,std::allocator< BodyPart * > > const &)*arg3);
27287  }
27288  catch(std::out_of_range &_e) {
27289  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
27290  }
27291  catch(std::invalid_argument &_e) {
27292  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
27293  }
27294 
27295  resultobj = SWIG_Py_Void();
27296  if (SWIG_IsNewObj(res3)) delete arg3;
27297  return resultobj;
27298 fail:
27299  if (SWIG_IsNewObj(res3)) delete arg3;
27300  return NULL;
27301 }
27302 
27303 
27304 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27305  PyObject *resultobj = 0;
27306  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27307  PySliceObject *arg2 = (PySliceObject *) 0 ;
27308  void *argp1 = 0 ;
27309  int res1 = 0 ;
27310  PyObject * obj0 = 0 ;
27311  PyObject * obj1 = 0 ;
27312 
27313  if (!PyArg_ParseTuple(args,(char *)"OO:vector_BodyPartPtr___setitem__",&obj0,&obj1)) SWIG_fail;
27314  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27315  if (!SWIG_IsOK(res1)) {
27316  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr___setitem__" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27317  }
27318  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27319  {
27320  if (!PySlice_Check(obj1)) {
27321  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_BodyPartPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
27322  }
27323  arg2 = (PySliceObject *) obj1;
27324  }
27325  try {
27326  std_vector_Sl_BodyPart_Sm__Sg____setitem____SWIG_1(arg1,arg2);
27327  }
27328  catch(std::out_of_range &_e) {
27329  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
27330  }
27331  catch(std::invalid_argument &_e) {
27332  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
27333  }
27334 
27335  resultobj = SWIG_Py_Void();
27336  return resultobj;
27337 fail:
27338  return NULL;
27339 }
27340 
27341 
27342 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27343  PyObject *resultobj = 0;
27344  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27345  PySliceObject *arg2 = (PySliceObject *) 0 ;
27346  void *argp1 = 0 ;
27347  int res1 = 0 ;
27348  PyObject * obj0 = 0 ;
27349  PyObject * obj1 = 0 ;
27350 
27351  if (!PyArg_ParseTuple(args,(char *)"OO:vector_BodyPartPtr___delitem__",&obj0,&obj1)) SWIG_fail;
27352  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27353  if (!SWIG_IsOK(res1)) {
27354  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr___delitem__" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27355  }
27356  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27357  {
27358  if (!PySlice_Check(obj1)) {
27359  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_BodyPartPtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
27360  }
27361  arg2 = (PySliceObject *) obj1;
27362  }
27363  try {
27364  std_vector_Sl_BodyPart_Sm__Sg____delitem____SWIG_1(arg1,arg2);
27365  }
27366  catch(std::out_of_range &_e) {
27367  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
27368  }
27369  catch(std::invalid_argument &_e) {
27370  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
27371  }
27372 
27373  resultobj = SWIG_Py_Void();
27374  return resultobj;
27375 fail:
27376  return NULL;
27377 }
27378 
27379 
27380 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___delitem__(PyObject *self, PyObject *args) {
27381  int argc;
27382  PyObject *argv[3];
27383  int ii;
27384 
27385  if (!PyTuple_Check(args)) SWIG_fail;
27386  argc = args ? (int)PyObject_Length(args) : 0;
27387  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
27388  argv[ii] = PyTuple_GET_ITEM(args,ii);
27389  }
27390  if (argc == 2) {
27391  int _v;
27392  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
27393  _v = SWIG_CheckState(res);
27394  if (_v) {
27395  {
27396  _v = PySlice_Check(argv[1]);
27397  }
27398  if (_v) {
27399  return _wrap_vector_BodyPartPtr___delitem____SWIG_1(self, args);
27400  }
27401  }
27402  }
27403  if (argc == 2) {
27404  int _v;
27405  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
27406  _v = SWIG_CheckState(res);
27407  if (_v) {
27408  {
27409  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
27410  _v = SWIG_CheckState(res);
27411  }
27412  if (_v) {
27413  return _wrap_vector_BodyPartPtr___delitem____SWIG_0(self, args);
27414  }
27415  }
27416  }
27417 
27418 fail:
27419  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_BodyPartPtr___delitem__'.\n"
27420  " Possible C/C++ prototypes are:\n"
27421  " std::vector< BodyPart * >::__delitem__(std::vector< BodyPart * >::difference_type)\n"
27422  " std::vector< BodyPart * >::__delitem__(PySliceObject *)\n");
27423  return 0;
27424 }
27425 
27426 
27427 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27428  PyObject *resultobj = 0;
27429  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27430  std::vector< BodyPart * >::difference_type arg2 ;
27431  void *argp1 = 0 ;
27432  int res1 = 0 ;
27433  ptrdiff_t val2 ;
27434  int ecode2 = 0 ;
27435  PyObject * obj0 = 0 ;
27436  PyObject * obj1 = 0 ;
27437  std::vector< BodyPart * >::value_type result;
27438 
27439  if (!PyArg_ParseTuple(args,(char *)"OO:vector_BodyPartPtr___getitem__",&obj0,&obj1)) SWIG_fail;
27440  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27441  if (!SWIG_IsOK(res1)) {
27442  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr___getitem__" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27443  }
27444  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27445  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
27446  if (!SWIG_IsOK(ecode2)) {
27447  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_BodyPartPtr___getitem__" "', argument " "2"" of type '" "std::vector< BodyPart * >::difference_type""'");
27448  }
27449  arg2 = static_cast< std::vector< BodyPart * >::difference_type >(val2);
27450  try {
27451  result = (std::vector< BodyPart * >::value_type)std_vector_Sl_BodyPart_Sm__Sg____getitem____SWIG_1(arg1,arg2);
27452  }
27453  catch(std::out_of_range &_e) {
27454  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
27455  }
27456 
27457  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_BodyPart, 0 | 0 );
27458  return resultobj;
27459 fail:
27460  return NULL;
27461 }
27462 
27463 
27464 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___getitem__(PyObject *self, PyObject *args) {
27465  int argc;
27466  PyObject *argv[3];
27467  int ii;
27468 
27469  if (!PyTuple_Check(args)) SWIG_fail;
27470  argc = args ? (int)PyObject_Length(args) : 0;
27471  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
27472  argv[ii] = PyTuple_GET_ITEM(args,ii);
27473  }
27474  if (argc == 2) {
27475  int _v;
27476  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
27477  _v = SWIG_CheckState(res);
27478  if (_v) {
27479  {
27480  _v = PySlice_Check(argv[1]);
27481  }
27482  if (_v) {
27483  return _wrap_vector_BodyPartPtr___getitem____SWIG_0(self, args);
27484  }
27485  }
27486  }
27487  if (argc == 2) {
27488  int _v;
27489  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
27490  _v = SWIG_CheckState(res);
27491  if (_v) {
27492  {
27493  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
27494  _v = SWIG_CheckState(res);
27495  }
27496  if (_v) {
27497  return _wrap_vector_BodyPartPtr___getitem____SWIG_1(self, args);
27498  }
27499  }
27500  }
27501 
27502 fail:
27503  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_BodyPartPtr___getitem__'.\n"
27504  " Possible C/C++ prototypes are:\n"
27505  " std::vector< BodyPart * >::__getitem__(PySliceObject *)\n"
27506  " std::vector< BodyPart * >::__getitem__(std::vector< BodyPart * >::difference_type)\n");
27507  return 0;
27508 }
27509 
27510 
27511 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27512  PyObject *resultobj = 0;
27513  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27514  std::vector< BodyPart * >::difference_type arg2 ;
27515  std::vector< BodyPart * >::value_type arg3 = (std::vector< BodyPart * >::value_type) 0 ;
27516  void *argp1 = 0 ;
27517  int res1 = 0 ;
27518  ptrdiff_t val2 ;
27519  int ecode2 = 0 ;
27520  void *argp3 = 0 ;
27521  int res3 = 0 ;
27522  PyObject * obj0 = 0 ;
27523  PyObject * obj1 = 0 ;
27524  PyObject * obj2 = 0 ;
27525 
27526  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_BodyPartPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
27527  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27528  if (!SWIG_IsOK(res1)) {
27529  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr___setitem__" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27530  }
27531  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27532  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
27533  if (!SWIG_IsOK(ecode2)) {
27534  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_BodyPartPtr___setitem__" "', argument " "2"" of type '" "std::vector< BodyPart * >::difference_type""'");
27535  }
27536  arg2 = static_cast< std::vector< BodyPart * >::difference_type >(val2);
27537  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_BodyPart, 0 | 0 );
27538  if (!SWIG_IsOK(res3)) {
27539  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_BodyPartPtr___setitem__" "', argument " "3"" of type '" "std::vector< BodyPart * >::value_type""'");
27540  }
27541  arg3 = reinterpret_cast< std::vector< BodyPart * >::value_type >(argp3);
27542  try {
27543  std_vector_Sl_BodyPart_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
27544  }
27545  catch(std::out_of_range &_e) {
27546  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
27547  }
27548 
27549  resultobj = SWIG_Py_Void();
27550  return resultobj;
27551 fail:
27552  return NULL;
27553 }
27554 
27555 
27556 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr___setitem__(PyObject *self, PyObject *args) {
27557  int argc;
27558  PyObject *argv[4];
27559  int ii;
27560 
27561  if (!PyTuple_Check(args)) SWIG_fail;
27562  argc = args ? (int)PyObject_Length(args) : 0;
27563  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
27564  argv[ii] = PyTuple_GET_ITEM(args,ii);
27565  }
27566  if (argc == 2) {
27567  int _v;
27568  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
27569  _v = SWIG_CheckState(res);
27570  if (_v) {
27571  {
27572  _v = PySlice_Check(argv[1]);
27573  }
27574  if (_v) {
27575  return _wrap_vector_BodyPartPtr___setitem____SWIG_1(self, args);
27576  }
27577  }
27578  }
27579  if (argc == 3) {
27580  int _v;
27581  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
27582  _v = SWIG_CheckState(res);
27583  if (_v) {
27584  {
27585  _v = PySlice_Check(argv[1]);
27586  }
27587  if (_v) {
27588  int res = swig::asptr(argv[2], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
27589  _v = SWIG_CheckState(res);
27590  if (_v) {
27591  return _wrap_vector_BodyPartPtr___setitem____SWIG_0(self, args);
27592  }
27593  }
27594  }
27595  }
27596  if (argc == 3) {
27597  int _v;
27598  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
27599  _v = SWIG_CheckState(res);
27600  if (_v) {
27601  {
27602  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
27603  _v = SWIG_CheckState(res);
27604  }
27605  if (_v) {
27606  void *vptr = 0;
27607  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_BodyPart, 0);
27608  _v = SWIG_CheckState(res);
27609  if (_v) {
27610  return _wrap_vector_BodyPartPtr___setitem____SWIG_2(self, args);
27611  }
27612  }
27613  }
27614  }
27615 
27616 fail:
27617  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_BodyPartPtr___setitem__'.\n"
27618  " Possible C/C++ prototypes are:\n"
27619  " std::vector< BodyPart * >::__setitem__(PySliceObject *,std::vector< BodyPart *,std::allocator< BodyPart * > > const &)\n"
27620  " std::vector< BodyPart * >::__setitem__(PySliceObject *)\n"
27621  " std::vector< BodyPart * >::__setitem__(std::vector< BodyPart * >::difference_type,std::vector< BodyPart * >::value_type)\n");
27622  return 0;
27623 }
27624 
27625 
27626 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27627  PyObject *resultobj = 0;
27628  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27629  std::vector< BodyPart * >::value_type arg2 = (std::vector< BodyPart * >::value_type) 0 ;
27630  void *argp1 = 0 ;
27631  int res1 = 0 ;
27632  void *argp2 = 0 ;
27633  int res2 = 0 ;
27634  PyObject * obj0 = 0 ;
27635  PyObject * obj1 = 0 ;
27636 
27637  if (!PyArg_ParseTuple(args,(char *)"OO:vector_BodyPartPtr_append",&obj0,&obj1)) SWIG_fail;
27638  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27639  if (!SWIG_IsOK(res1)) {
27640  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_append" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27641  }
27642  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27643  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_BodyPart, 0 | 0 );
27644  if (!SWIG_IsOK(res2)) {
27645  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_BodyPartPtr_append" "', argument " "2"" of type '" "std::vector< BodyPart * >::value_type""'");
27646  }
27647  arg2 = reinterpret_cast< std::vector< BodyPart * >::value_type >(argp2);
27648  std_vector_Sl_BodyPart_Sm__Sg__append(arg1,arg2);
27649  resultobj = SWIG_Py_Void();
27650  return resultobj;
27651 fail:
27652  return NULL;
27653 }
27654 
27655 
27656 SWIGINTERN PyObject *_wrap_new_vector_BodyPartPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27657  PyObject *resultobj = 0;
27658  std::vector< BodyPart * > *result = 0 ;
27659 
27660  if (!PyArg_ParseTuple(args,(char *)":new_vector_BodyPartPtr")) SWIG_fail;
27661  result = (std::vector< BodyPart * > *)new std::vector< BodyPart * >();
27662  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, SWIG_POINTER_NEW | 0 );
27663  return resultobj;
27664 fail:
27665  return NULL;
27666 }
27667 
27668 
27669 SWIGINTERN PyObject *_wrap_new_vector_BodyPartPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27670  PyObject *resultobj = 0;
27671  std::vector< BodyPart * > *arg1 = 0 ;
27672  int res1 = SWIG_OLDOBJ ;
27673  PyObject * obj0 = 0 ;
27674  std::vector< BodyPart * > *result = 0 ;
27675 
27676  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_BodyPartPtr",&obj0)) SWIG_fail;
27677  {
27678  std::vector<BodyPart*,std::allocator< BodyPart * > > *ptr = (std::vector<BodyPart*,std::allocator< BodyPart * > > *)0;
27679  res1 = swig::asptr(obj0, &ptr);
27680  if (!SWIG_IsOK(res1)) {
27681  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_BodyPartPtr" "', argument " "1"" of type '" "std::vector< BodyPart * > const &""'");
27682  }
27683  if (!ptr) {
27684  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_BodyPartPtr" "', argument " "1"" of type '" "std::vector< BodyPart * > const &""'");
27685  }
27686  arg1 = ptr;
27687  }
27688  result = (std::vector< BodyPart * > *)new std::vector< BodyPart * >((std::vector< BodyPart * > const &)*arg1);
27689  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, SWIG_POINTER_NEW | 0 );
27690  if (SWIG_IsNewObj(res1)) delete arg1;
27691  return resultobj;
27692 fail:
27693  if (SWIG_IsNewObj(res1)) delete arg1;
27694  return NULL;
27695 }
27696 
27697 
27698 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27699  PyObject *resultobj = 0;
27700  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27701  void *argp1 = 0 ;
27702  int res1 = 0 ;
27703  PyObject * obj0 = 0 ;
27704  bool result;
27705 
27706  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr_empty",&obj0)) SWIG_fail;
27707  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27708  if (!SWIG_IsOK(res1)) {
27709  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_empty" "', argument " "1"" of type '" "std::vector< BodyPart * > const *""'");
27710  }
27711  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27712  result = (bool)((std::vector< BodyPart * > const *)arg1)->empty();
27713  resultobj = SWIG_From_bool(static_cast< bool >(result));
27714  return resultobj;
27715 fail:
27716  return NULL;
27717 }
27718 
27719 
27720 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27721  PyObject *resultobj = 0;
27722  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27723  void *argp1 = 0 ;
27724  int res1 = 0 ;
27725  PyObject * obj0 = 0 ;
27726  std::vector< BodyPart * >::size_type result;
27727 
27728  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr_size",&obj0)) SWIG_fail;
27729  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27730  if (!SWIG_IsOK(res1)) {
27731  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_size" "', argument " "1"" of type '" "std::vector< BodyPart * > const *""'");
27732  }
27733  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27734  result = ((std::vector< BodyPart * > const *)arg1)->size();
27735  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
27736  return resultobj;
27737 fail:
27738  return NULL;
27739 }
27740 
27741 
27742 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27743  PyObject *resultobj = 0;
27744  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27745  void *argp1 = 0 ;
27746  int res1 = 0 ;
27747  PyObject * obj0 = 0 ;
27748 
27749  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr_clear",&obj0)) SWIG_fail;
27750  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27751  if (!SWIG_IsOK(res1)) {
27752  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_clear" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27753  }
27754  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27755  (arg1)->clear();
27756  resultobj = SWIG_Py_Void();
27757  return resultobj;
27758 fail:
27759  return NULL;
27760 }
27761 
27762 
27763 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27764  PyObject *resultobj = 0;
27765  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27766  std::vector< BodyPart * > *arg2 = 0 ;
27767  void *argp1 = 0 ;
27768  int res1 = 0 ;
27769  void *argp2 = 0 ;
27770  int res2 = 0 ;
27771  PyObject * obj0 = 0 ;
27772  PyObject * obj1 = 0 ;
27773 
27774  if (!PyArg_ParseTuple(args,(char *)"OO:vector_BodyPartPtr_swap",&obj0,&obj1)) SWIG_fail;
27775  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27776  if (!SWIG_IsOK(res1)) {
27777  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_swap" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27778  }
27779  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27780  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 );
27781  if (!SWIG_IsOK(res2)) {
27782  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_BodyPartPtr_swap" "', argument " "2"" of type '" "std::vector< BodyPart * > &""'");
27783  }
27784  if (!argp2) {
27785  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_BodyPartPtr_swap" "', argument " "2"" of type '" "std::vector< BodyPart * > &""'");
27786  }
27787  arg2 = reinterpret_cast< std::vector< BodyPart * > * >(argp2);
27788  (arg1)->swap(*arg2);
27789  resultobj = SWIG_Py_Void();
27790  return resultobj;
27791 fail:
27792  return NULL;
27793 }
27794 
27795 
27796 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27797  PyObject *resultobj = 0;
27798  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27799  void *argp1 = 0 ;
27800  int res1 = 0 ;
27801  PyObject * obj0 = 0 ;
27802  SwigValueWrapper< std::allocator< BodyPart * > > result;
27803 
27804  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr_get_allocator",&obj0)) SWIG_fail;
27805  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27806  if (!SWIG_IsOK(res1)) {
27807  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_get_allocator" "', argument " "1"" of type '" "std::vector< BodyPart * > const *""'");
27808  }
27809  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27810  result = ((std::vector< BodyPart * > const *)arg1)->get_allocator();
27811  resultobj = SWIG_NewPointerObj((new std::vector< BodyPart * >::allocator_type(static_cast< const std::vector< BodyPart * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_BodyPart_p_t, SWIG_POINTER_OWN | 0 );
27812  return resultobj;
27813 fail:
27814  return NULL;
27815 }
27816 
27817 
27818 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27819  PyObject *resultobj = 0;
27820  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27821  void *argp1 = 0 ;
27822  int res1 = 0 ;
27823  PyObject * obj0 = 0 ;
27824  std::vector< BodyPart * >::iterator result;
27825 
27826  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr_begin",&obj0)) SWIG_fail;
27827  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27828  if (!SWIG_IsOK(res1)) {
27829  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_begin" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27830  }
27831  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27832  result = (arg1)->begin();
27833  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< BodyPart * >::iterator & >(result)),
27834  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
27835  return resultobj;
27836 fail:
27837  return NULL;
27838 }
27839 
27840 
27841 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27842  PyObject *resultobj = 0;
27843  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27844  void *argp1 = 0 ;
27845  int res1 = 0 ;
27846  PyObject * obj0 = 0 ;
27847  std::vector< BodyPart * >::iterator result;
27848 
27849  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr_end",&obj0)) SWIG_fail;
27850  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27851  if (!SWIG_IsOK(res1)) {
27852  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_end" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27853  }
27854  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27855  result = (arg1)->end();
27856  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< BodyPart * >::iterator & >(result)),
27857  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
27858  return resultobj;
27859 fail:
27860  return NULL;
27861 }
27862 
27863 
27864 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27865  PyObject *resultobj = 0;
27866  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27867  void *argp1 = 0 ;
27868  int res1 = 0 ;
27869  PyObject * obj0 = 0 ;
27870  std::vector< BodyPart * >::reverse_iterator result;
27871 
27872  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr_rbegin",&obj0)) SWIG_fail;
27873  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27874  if (!SWIG_IsOK(res1)) {
27875  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_rbegin" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27876  }
27877  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27878  result = (arg1)->rbegin();
27879  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< BodyPart * >::reverse_iterator & >(result)),
27880  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
27881  return resultobj;
27882 fail:
27883  return NULL;
27884 }
27885 
27886 
27887 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27888  PyObject *resultobj = 0;
27889  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27890  void *argp1 = 0 ;
27891  int res1 = 0 ;
27892  PyObject * obj0 = 0 ;
27893  std::vector< BodyPart * >::reverse_iterator result;
27894 
27895  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr_rend",&obj0)) SWIG_fail;
27896  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27897  if (!SWIG_IsOK(res1)) {
27898  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_rend" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27899  }
27900  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27901  result = (arg1)->rend();
27902  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< BodyPart * >::reverse_iterator & >(result)),
27903  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
27904  return resultobj;
27905 fail:
27906  return NULL;
27907 }
27908 
27909 
27910 SWIGINTERN PyObject *_wrap_new_vector_BodyPartPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27911  PyObject *resultobj = 0;
27912  std::vector< BodyPart * >::size_type arg1 ;
27913  size_t val1 ;
27914  int ecode1 = 0 ;
27915  PyObject * obj0 = 0 ;
27916  std::vector< BodyPart * > *result = 0 ;
27917 
27918  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_BodyPartPtr",&obj0)) SWIG_fail;
27919  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
27920  if (!SWIG_IsOK(ecode1)) {
27921  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_BodyPartPtr" "', argument " "1"" of type '" "std::vector< BodyPart * >::size_type""'");
27922  }
27923  arg1 = static_cast< std::vector< BodyPart * >::size_type >(val1);
27924  result = (std::vector< BodyPart * > *)new std::vector< BodyPart * >(arg1);
27925  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, SWIG_POINTER_NEW | 0 );
27926  return resultobj;
27927 fail:
27928  return NULL;
27929 }
27930 
27931 
27932 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27933  PyObject *resultobj = 0;
27934  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27935  void *argp1 = 0 ;
27936  int res1 = 0 ;
27937  PyObject * obj0 = 0 ;
27938 
27939  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr_pop_back",&obj0)) SWIG_fail;
27940  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27941  if (!SWIG_IsOK(res1)) {
27942  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_pop_back" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27943  }
27944  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27945  (arg1)->pop_back();
27946  resultobj = SWIG_Py_Void();
27947  return resultobj;
27948 fail:
27949  return NULL;
27950 }
27951 
27952 
27953 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27954  PyObject *resultobj = 0;
27955  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27956  std::vector< BodyPart * >::size_type arg2 ;
27957  void *argp1 = 0 ;
27958  int res1 = 0 ;
27959  size_t val2 ;
27960  int ecode2 = 0 ;
27961  PyObject * obj0 = 0 ;
27962  PyObject * obj1 = 0 ;
27963 
27964  if (!PyArg_ParseTuple(args,(char *)"OO:vector_BodyPartPtr_resize",&obj0,&obj1)) SWIG_fail;
27965  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27966  if (!SWIG_IsOK(res1)) {
27967  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_resize" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27968  }
27969  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
27970  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
27971  if (!SWIG_IsOK(ecode2)) {
27972  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_BodyPartPtr_resize" "', argument " "2"" of type '" "std::vector< BodyPart * >::size_type""'");
27973  }
27974  arg2 = static_cast< std::vector< BodyPart * >::size_type >(val2);
27975  (arg1)->resize(arg2);
27976  resultobj = SWIG_Py_Void();
27977  return resultobj;
27978 fail:
27979  return NULL;
27980 }
27981 
27982 
27983 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27984  PyObject *resultobj = 0;
27985  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
27986  std::vector< BodyPart * >::iterator arg2 ;
27987  void *argp1 = 0 ;
27988  int res1 = 0 ;
27989  swig::SwigPyIterator *iter2 = 0 ;
27990  int res2 ;
27991  PyObject * obj0 = 0 ;
27992  PyObject * obj1 = 0 ;
27993  std::vector< BodyPart * >::iterator result;
27994 
27995  if (!PyArg_ParseTuple(args,(char *)"OO:vector_BodyPartPtr_erase",&obj0,&obj1)) SWIG_fail;
27996  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
27997  if (!SWIG_IsOK(res1)) {
27998  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_erase" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
27999  }
28000  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
28001  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
28002  if (!SWIG_IsOK(res2) || !iter2) {
28003  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_BodyPartPtr_erase" "', argument " "2"" of type '" "std::vector< BodyPart * >::iterator""'");
28004  } else {
28006  if (iter_t) {
28007  arg2 = iter_t->get_current();
28008  } else {
28009  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_BodyPartPtr_erase" "', argument " "2"" of type '" "std::vector< BodyPart * >::iterator""'");
28010  }
28011  }
28012  result = std_vector_Sl_BodyPart_Sm__Sg__erase__SWIG_0(arg1,arg2);
28013  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< BodyPart * >::iterator & >(result)),
28014  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
28015  return resultobj;
28016 fail:
28017  return NULL;
28018 }
28019 
28020 
28021 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28022  PyObject *resultobj = 0;
28023  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
28024  std::vector< BodyPart * >::iterator arg2 ;
28025  std::vector< BodyPart * >::iterator arg3 ;
28026  void *argp1 = 0 ;
28027  int res1 = 0 ;
28028  swig::SwigPyIterator *iter2 = 0 ;
28029  int res2 ;
28030  swig::SwigPyIterator *iter3 = 0 ;
28031  int res3 ;
28032  PyObject * obj0 = 0 ;
28033  PyObject * obj1 = 0 ;
28034  PyObject * obj2 = 0 ;
28035  std::vector< BodyPart * >::iterator result;
28036 
28037  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_BodyPartPtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
28038  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
28039  if (!SWIG_IsOK(res1)) {
28040  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_erase" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
28041  }
28042  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
28043  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
28044  if (!SWIG_IsOK(res2) || !iter2) {
28045  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_BodyPartPtr_erase" "', argument " "2"" of type '" "std::vector< BodyPart * >::iterator""'");
28046  } else {
28048  if (iter_t) {
28049  arg2 = iter_t->get_current();
28050  } else {
28051  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_BodyPartPtr_erase" "', argument " "2"" of type '" "std::vector< BodyPart * >::iterator""'");
28052  }
28053  }
28054  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
28055  if (!SWIG_IsOK(res3) || !iter3) {
28056  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_BodyPartPtr_erase" "', argument " "3"" of type '" "std::vector< BodyPart * >::iterator""'");
28057  } else {
28059  if (iter_t) {
28060  arg3 = iter_t->get_current();
28061  } else {
28062  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_BodyPartPtr_erase" "', argument " "3"" of type '" "std::vector< BodyPart * >::iterator""'");
28063  }
28064  }
28065  result = std_vector_Sl_BodyPart_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
28066  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< BodyPart * >::iterator & >(result)),
28067  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
28068  return resultobj;
28069 fail:
28070  return NULL;
28071 }
28072 
28073 
28074 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_erase(PyObject *self, PyObject *args) {
28075  int argc;
28076  PyObject *argv[4];
28077  int ii;
28078 
28079  if (!PyTuple_Check(args)) SWIG_fail;
28080  argc = args ? (int)PyObject_Length(args) : 0;
28081  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
28082  argv[ii] = PyTuple_GET_ITEM(args,ii);
28083  }
28084  if (argc == 2) {
28085  int _v;
28086  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
28087  _v = SWIG_CheckState(res);
28088  if (_v) {
28089  swig::SwigPyIterator *iter = 0;
28090  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
28091  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< BodyPart * >::iterator > *>(iter) != 0));
28092  if (_v) {
28093  return _wrap_vector_BodyPartPtr_erase__SWIG_0(self, args);
28094  }
28095  }
28096  }
28097  if (argc == 3) {
28098  int _v;
28099  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
28100  _v = SWIG_CheckState(res);
28101  if (_v) {
28102  swig::SwigPyIterator *iter = 0;
28103  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
28104  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< BodyPart * >::iterator > *>(iter) != 0));
28105  if (_v) {
28106  swig::SwigPyIterator *iter = 0;
28107  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
28108  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< BodyPart * >::iterator > *>(iter) != 0));
28109  if (_v) {
28110  return _wrap_vector_BodyPartPtr_erase__SWIG_1(self, args);
28111  }
28112  }
28113  }
28114  }
28115 
28116 fail:
28117  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_BodyPartPtr_erase'.\n"
28118  " Possible C/C++ prototypes are:\n"
28119  " std::vector< BodyPart * >::erase(std::vector< BodyPart * >::iterator)\n"
28120  " std::vector< BodyPart * >::erase(std::vector< BodyPart * >::iterator,std::vector< BodyPart * >::iterator)\n");
28121  return 0;
28122 }
28123 
28124 
28125 SWIGINTERN PyObject *_wrap_new_vector_BodyPartPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28126  PyObject *resultobj = 0;
28127  std::vector< BodyPart * >::size_type arg1 ;
28128  std::vector< BodyPart * >::value_type arg2 = (std::vector< BodyPart * >::value_type) 0 ;
28129  size_t val1 ;
28130  int ecode1 = 0 ;
28131  void *argp2 = 0 ;
28132  int res2 = 0 ;
28133  PyObject * obj0 = 0 ;
28134  PyObject * obj1 = 0 ;
28135  std::vector< BodyPart * > *result = 0 ;
28136 
28137  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_BodyPartPtr",&obj0,&obj1)) SWIG_fail;
28138  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
28139  if (!SWIG_IsOK(ecode1)) {
28140  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_BodyPartPtr" "', argument " "1"" of type '" "std::vector< BodyPart * >::size_type""'");
28141  }
28142  arg1 = static_cast< std::vector< BodyPart * >::size_type >(val1);
28143  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_BodyPart, 0 | 0 );
28144  if (!SWIG_IsOK(res2)) {
28145  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_BodyPartPtr" "', argument " "2"" of type '" "std::vector< BodyPart * >::value_type""'");
28146  }
28147  arg2 = reinterpret_cast< std::vector< BodyPart * >::value_type >(argp2);
28148  result = (std::vector< BodyPart * > *)new std::vector< BodyPart * >(arg1,arg2);
28149  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, SWIG_POINTER_NEW | 0 );
28150  return resultobj;
28151 fail:
28152  return NULL;
28153 }
28154 
28155 
28156 SWIGINTERN PyObject *_wrap_new_vector_BodyPartPtr(PyObject *self, PyObject *args) {
28157  int argc;
28158  PyObject *argv[3];
28159  int ii;
28160 
28161  if (!PyTuple_Check(args)) SWIG_fail;
28162  argc = args ? (int)PyObject_Length(args) : 0;
28163  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
28164  argv[ii] = PyTuple_GET_ITEM(args,ii);
28165  }
28166  if (argc == 0) {
28167  return _wrap_new_vector_BodyPartPtr__SWIG_0(self, args);
28168  }
28169  if (argc == 1) {
28170  int _v;
28171  {
28172  int res = SWIG_AsVal_size_t(argv[0], NULL);
28173  _v = SWIG_CheckState(res);
28174  }
28175  if (_v) {
28176  return _wrap_new_vector_BodyPartPtr__SWIG_2(self, args);
28177  }
28178  }
28179  if (argc == 1) {
28180  int _v;
28181  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
28182  _v = SWIG_CheckState(res);
28183  if (_v) {
28184  return _wrap_new_vector_BodyPartPtr__SWIG_1(self, args);
28185  }
28186  }
28187  if (argc == 2) {
28188  int _v;
28189  {
28190  int res = SWIG_AsVal_size_t(argv[0], NULL);
28191  _v = SWIG_CheckState(res);
28192  }
28193  if (_v) {
28194  void *vptr = 0;
28195  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_BodyPart, 0);
28196  _v = SWIG_CheckState(res);
28197  if (_v) {
28198  return _wrap_new_vector_BodyPartPtr__SWIG_3(self, args);
28199  }
28200  }
28201  }
28202 
28203 fail:
28204  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_BodyPartPtr'.\n"
28205  " Possible C/C++ prototypes are:\n"
28206  " std::vector< BodyPart * >::vector()\n"
28207  " std::vector< BodyPart * >::vector(std::vector< BodyPart * > const &)\n"
28208  " std::vector< BodyPart * >::vector(std::vector< BodyPart * >::size_type)\n"
28209  " std::vector< BodyPart * >::vector(std::vector< BodyPart * >::size_type,std::vector< BodyPart * >::value_type)\n");
28210  return 0;
28211 }
28212 
28213 
28214 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28215  PyObject *resultobj = 0;
28216  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
28217  std::vector< BodyPart * >::value_type arg2 = (std::vector< BodyPart * >::value_type) 0 ;
28218  void *argp1 = 0 ;
28219  int res1 = 0 ;
28220  void *argp2 = 0 ;
28221  int res2 = 0 ;
28222  PyObject * obj0 = 0 ;
28223  PyObject * obj1 = 0 ;
28224 
28225  if (!PyArg_ParseTuple(args,(char *)"OO:vector_BodyPartPtr_push_back",&obj0,&obj1)) SWIG_fail;
28226  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
28227  if (!SWIG_IsOK(res1)) {
28228  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_push_back" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
28229  }
28230  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
28231  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_BodyPart, 0 | 0 );
28232  if (!SWIG_IsOK(res2)) {
28233  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_BodyPartPtr_push_back" "', argument " "2"" of type '" "std::vector< BodyPart * >::value_type""'");
28234  }
28235  arg2 = reinterpret_cast< std::vector< BodyPart * >::value_type >(argp2);
28236  (arg1)->push_back(arg2);
28237  resultobj = SWIG_Py_Void();
28238  return resultobj;
28239 fail:
28240  return NULL;
28241 }
28242 
28243 
28244 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28245  PyObject *resultobj = 0;
28246  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
28247  void *argp1 = 0 ;
28248  int res1 = 0 ;
28249  PyObject * obj0 = 0 ;
28250  std::vector< BodyPart * >::value_type result;
28251 
28252  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr_front",&obj0)) SWIG_fail;
28253  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
28254  if (!SWIG_IsOK(res1)) {
28255  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_front" "', argument " "1"" of type '" "std::vector< BodyPart * > const *""'");
28256  }
28257  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
28258  result = (std::vector< BodyPart * >::value_type)((std::vector< BodyPart * > const *)arg1)->front();
28259  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_BodyPart, 0 | 0 );
28260  return resultobj;
28261 fail:
28262  return NULL;
28263 }
28264 
28265 
28266 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28267  PyObject *resultobj = 0;
28268  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
28269  void *argp1 = 0 ;
28270  int res1 = 0 ;
28271  PyObject * obj0 = 0 ;
28272  std::vector< BodyPart * >::value_type result;
28273 
28274  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr_back",&obj0)) SWIG_fail;
28275  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
28276  if (!SWIG_IsOK(res1)) {
28277  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_back" "', argument " "1"" of type '" "std::vector< BodyPart * > const *""'");
28278  }
28279  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
28280  result = (std::vector< BodyPart * >::value_type)((std::vector< BodyPart * > const *)arg1)->back();
28281  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_BodyPart, 0 | 0 );
28282  return resultobj;
28283 fail:
28284  return NULL;
28285 }
28286 
28287 
28288 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28289  PyObject *resultobj = 0;
28290  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
28291  std::vector< BodyPart * >::size_type arg2 ;
28292  std::vector< BodyPart * >::value_type arg3 = (std::vector< BodyPart * >::value_type) 0 ;
28293  void *argp1 = 0 ;
28294  int res1 = 0 ;
28295  size_t val2 ;
28296  int ecode2 = 0 ;
28297  void *argp3 = 0 ;
28298  int res3 = 0 ;
28299  PyObject * obj0 = 0 ;
28300  PyObject * obj1 = 0 ;
28301  PyObject * obj2 = 0 ;
28302 
28303  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_BodyPartPtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
28304  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
28305  if (!SWIG_IsOK(res1)) {
28306  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_assign" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
28307  }
28308  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
28309  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
28310  if (!SWIG_IsOK(ecode2)) {
28311  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_BodyPartPtr_assign" "', argument " "2"" of type '" "std::vector< BodyPart * >::size_type""'");
28312  }
28313  arg2 = static_cast< std::vector< BodyPart * >::size_type >(val2);
28314  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_BodyPart, 0 | 0 );
28315  if (!SWIG_IsOK(res3)) {
28316  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_BodyPartPtr_assign" "', argument " "3"" of type '" "std::vector< BodyPart * >::value_type""'");
28317  }
28318  arg3 = reinterpret_cast< std::vector< BodyPart * >::value_type >(argp3);
28319  (arg1)->assign(arg2,arg3);
28320  resultobj = SWIG_Py_Void();
28321  return resultobj;
28322 fail:
28323  return NULL;
28324 }
28325 
28326 
28327 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28328  PyObject *resultobj = 0;
28329  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
28330  std::vector< BodyPart * >::size_type arg2 ;
28331  std::vector< BodyPart * >::value_type arg3 = (std::vector< BodyPart * >::value_type) 0 ;
28332  void *argp1 = 0 ;
28333  int res1 = 0 ;
28334  size_t val2 ;
28335  int ecode2 = 0 ;
28336  void *argp3 = 0 ;
28337  int res3 = 0 ;
28338  PyObject * obj0 = 0 ;
28339  PyObject * obj1 = 0 ;
28340  PyObject * obj2 = 0 ;
28341 
28342  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_BodyPartPtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
28343  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
28344  if (!SWIG_IsOK(res1)) {
28345  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_resize" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
28346  }
28347  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
28348  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
28349  if (!SWIG_IsOK(ecode2)) {
28350  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_BodyPartPtr_resize" "', argument " "2"" of type '" "std::vector< BodyPart * >::size_type""'");
28351  }
28352  arg2 = static_cast< std::vector< BodyPart * >::size_type >(val2);
28353  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_BodyPart, 0 | 0 );
28354  if (!SWIG_IsOK(res3)) {
28355  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_BodyPartPtr_resize" "', argument " "3"" of type '" "std::vector< BodyPart * >::value_type""'");
28356  }
28357  arg3 = reinterpret_cast< std::vector< BodyPart * >::value_type >(argp3);
28358  (arg1)->resize(arg2,arg3);
28359  resultobj = SWIG_Py_Void();
28360  return resultobj;
28361 fail:
28362  return NULL;
28363 }
28364 
28365 
28366 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_resize(PyObject *self, PyObject *args) {
28367  int argc;
28368  PyObject *argv[4];
28369  int ii;
28370 
28371  if (!PyTuple_Check(args)) SWIG_fail;
28372  argc = args ? (int)PyObject_Length(args) : 0;
28373  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
28374  argv[ii] = PyTuple_GET_ITEM(args,ii);
28375  }
28376  if (argc == 2) {
28377  int _v;
28378  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
28379  _v = SWIG_CheckState(res);
28380  if (_v) {
28381  {
28382  int res = SWIG_AsVal_size_t(argv[1], NULL);
28383  _v = SWIG_CheckState(res);
28384  }
28385  if (_v) {
28386  return _wrap_vector_BodyPartPtr_resize__SWIG_0(self, args);
28387  }
28388  }
28389  }
28390  if (argc == 3) {
28391  int _v;
28392  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
28393  _v = SWIG_CheckState(res);
28394  if (_v) {
28395  {
28396  int res = SWIG_AsVal_size_t(argv[1], NULL);
28397  _v = SWIG_CheckState(res);
28398  }
28399  if (_v) {
28400  void *vptr = 0;
28401  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_BodyPart, 0);
28402  _v = SWIG_CheckState(res);
28403  if (_v) {
28404  return _wrap_vector_BodyPartPtr_resize__SWIG_1(self, args);
28405  }
28406  }
28407  }
28408  }
28409 
28410 fail:
28411  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_BodyPartPtr_resize'.\n"
28412  " Possible C/C++ prototypes are:\n"
28413  " std::vector< BodyPart * >::resize(std::vector< BodyPart * >::size_type)\n"
28414  " std::vector< BodyPart * >::resize(std::vector< BodyPart * >::size_type,std::vector< BodyPart * >::value_type)\n");
28415  return 0;
28416 }
28417 
28418 
28419 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28420  PyObject *resultobj = 0;
28421  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
28422  std::vector< BodyPart * >::iterator arg2 ;
28423  std::vector< BodyPart * >::value_type arg3 = (std::vector< BodyPart * >::value_type) 0 ;
28424  void *argp1 = 0 ;
28425  int res1 = 0 ;
28426  swig::SwigPyIterator *iter2 = 0 ;
28427  int res2 ;
28428  void *argp3 = 0 ;
28429  int res3 = 0 ;
28430  PyObject * obj0 = 0 ;
28431  PyObject * obj1 = 0 ;
28432  PyObject * obj2 = 0 ;
28433  std::vector< BodyPart * >::iterator result;
28434 
28435  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_BodyPartPtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
28436  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
28437  if (!SWIG_IsOK(res1)) {
28438  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_insert" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
28439  }
28440  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
28441  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
28442  if (!SWIG_IsOK(res2) || !iter2) {
28443  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_BodyPartPtr_insert" "', argument " "2"" of type '" "std::vector< BodyPart * >::iterator""'");
28444  } else {
28446  if (iter_t) {
28447  arg2 = iter_t->get_current();
28448  } else {
28449  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_BodyPartPtr_insert" "', argument " "2"" of type '" "std::vector< BodyPart * >::iterator""'");
28450  }
28451  }
28452  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_BodyPart, 0 | 0 );
28453  if (!SWIG_IsOK(res3)) {
28454  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_BodyPartPtr_insert" "', argument " "3"" of type '" "std::vector< BodyPart * >::value_type""'");
28455  }
28456  arg3 = reinterpret_cast< std::vector< BodyPart * >::value_type >(argp3);
28457  result = std_vector_Sl_BodyPart_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
28458  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< BodyPart * >::iterator & >(result)),
28459  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
28460  return resultobj;
28461 fail:
28462  return NULL;
28463 }
28464 
28465 
28466 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28467  PyObject *resultobj = 0;
28468  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
28469  std::vector< BodyPart * >::iterator arg2 ;
28470  std::vector< BodyPart * >::size_type arg3 ;
28471  std::vector< BodyPart * >::value_type arg4 = (std::vector< BodyPart * >::value_type) 0 ;
28472  void *argp1 = 0 ;
28473  int res1 = 0 ;
28474  swig::SwigPyIterator *iter2 = 0 ;
28475  int res2 ;
28476  size_t val3 ;
28477  int ecode3 = 0 ;
28478  void *argp4 = 0 ;
28479  int res4 = 0 ;
28480  PyObject * obj0 = 0 ;
28481  PyObject * obj1 = 0 ;
28482  PyObject * obj2 = 0 ;
28483  PyObject * obj3 = 0 ;
28484 
28485  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_BodyPartPtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
28486  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
28487  if (!SWIG_IsOK(res1)) {
28488  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_insert" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
28489  }
28490  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
28491  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
28492  if (!SWIG_IsOK(res2) || !iter2) {
28493  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_BodyPartPtr_insert" "', argument " "2"" of type '" "std::vector< BodyPart * >::iterator""'");
28494  } else {
28496  if (iter_t) {
28497  arg2 = iter_t->get_current();
28498  } else {
28499  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_BodyPartPtr_insert" "', argument " "2"" of type '" "std::vector< BodyPart * >::iterator""'");
28500  }
28501  }
28502  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
28503  if (!SWIG_IsOK(ecode3)) {
28504  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_BodyPartPtr_insert" "', argument " "3"" of type '" "std::vector< BodyPart * >::size_type""'");
28505  }
28506  arg3 = static_cast< std::vector< BodyPart * >::size_type >(val3);
28507  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_BodyPart, 0 | 0 );
28508  if (!SWIG_IsOK(res4)) {
28509  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_BodyPartPtr_insert" "', argument " "4"" of type '" "std::vector< BodyPart * >::value_type""'");
28510  }
28511  arg4 = reinterpret_cast< std::vector< BodyPart * >::value_type >(argp4);
28512  std_vector_Sl_BodyPart_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
28513  resultobj = SWIG_Py_Void();
28514  return resultobj;
28515 fail:
28516  return NULL;
28517 }
28518 
28519 
28520 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_insert(PyObject *self, PyObject *args) {
28521  int argc;
28522  PyObject *argv[5];
28523  int ii;
28524 
28525  if (!PyTuple_Check(args)) SWIG_fail;
28526  argc = args ? (int)PyObject_Length(args) : 0;
28527  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
28528  argv[ii] = PyTuple_GET_ITEM(args,ii);
28529  }
28530  if (argc == 3) {
28531  int _v;
28532  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
28533  _v = SWIG_CheckState(res);
28534  if (_v) {
28535  swig::SwigPyIterator *iter = 0;
28536  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
28537  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< BodyPart * >::iterator > *>(iter) != 0));
28538  if (_v) {
28539  void *vptr = 0;
28540  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_BodyPart, 0);
28541  _v = SWIG_CheckState(res);
28542  if (_v) {
28543  return _wrap_vector_BodyPartPtr_insert__SWIG_0(self, args);
28544  }
28545  }
28546  }
28547  }
28548  if (argc == 4) {
28549  int _v;
28550  int res = swig::asptr(argv[0], (std::vector<BodyPart*,std::allocator< BodyPart * > >**)(0));
28551  _v = SWIG_CheckState(res);
28552  if (_v) {
28553  swig::SwigPyIterator *iter = 0;
28554  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
28555  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< BodyPart * >::iterator > *>(iter) != 0));
28556  if (_v) {
28557  {
28558  int res = SWIG_AsVal_size_t(argv[2], NULL);
28559  _v = SWIG_CheckState(res);
28560  }
28561  if (_v) {
28562  void *vptr = 0;
28563  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_BodyPart, 0);
28564  _v = SWIG_CheckState(res);
28565  if (_v) {
28566  return _wrap_vector_BodyPartPtr_insert__SWIG_1(self, args);
28567  }
28568  }
28569  }
28570  }
28571  }
28572 
28573 fail:
28574  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_BodyPartPtr_insert'.\n"
28575  " Possible C/C++ prototypes are:\n"
28576  " std::vector< BodyPart * >::insert(std::vector< BodyPart * >::iterator,std::vector< BodyPart * >::value_type)\n"
28577  " std::vector< BodyPart * >::insert(std::vector< BodyPart * >::iterator,std::vector< BodyPart * >::size_type,std::vector< BodyPart * >::value_type)\n");
28578  return 0;
28579 }
28580 
28581 
28582 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28583  PyObject *resultobj = 0;
28584  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
28585  std::vector< BodyPart * >::size_type arg2 ;
28586  void *argp1 = 0 ;
28587  int res1 = 0 ;
28588  size_t val2 ;
28589  int ecode2 = 0 ;
28590  PyObject * obj0 = 0 ;
28591  PyObject * obj1 = 0 ;
28592 
28593  if (!PyArg_ParseTuple(args,(char *)"OO:vector_BodyPartPtr_reserve",&obj0,&obj1)) SWIG_fail;
28594  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
28595  if (!SWIG_IsOK(res1)) {
28596  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_reserve" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
28597  }
28598  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
28599  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
28600  if (!SWIG_IsOK(ecode2)) {
28601  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_BodyPartPtr_reserve" "', argument " "2"" of type '" "std::vector< BodyPart * >::size_type""'");
28602  }
28603  arg2 = static_cast< std::vector< BodyPart * >::size_type >(val2);
28604  (arg1)->reserve(arg2);
28605  resultobj = SWIG_Py_Void();
28606  return resultobj;
28607 fail:
28608  return NULL;
28609 }
28610 
28611 
28612 SWIGINTERN PyObject *_wrap_vector_BodyPartPtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28613  PyObject *resultobj = 0;
28614  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
28615  void *argp1 = 0 ;
28616  int res1 = 0 ;
28617  PyObject * obj0 = 0 ;
28618  std::vector< BodyPart * >::size_type result;
28619 
28620  if (!PyArg_ParseTuple(args,(char *)"O:vector_BodyPartPtr_capacity",&obj0)) SWIG_fail;
28621  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0 | 0 );
28622  if (!SWIG_IsOK(res1)) {
28623  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_BodyPartPtr_capacity" "', argument " "1"" of type '" "std::vector< BodyPart * > const *""'");
28624  }
28625  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
28626  result = ((std::vector< BodyPart * > const *)arg1)->capacity();
28627  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
28628  return resultobj;
28629 fail:
28630  return NULL;
28631 }
28632 
28633 
28634 SWIGINTERN PyObject *_wrap_delete_vector_BodyPartPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28635  PyObject *resultobj = 0;
28636  std::vector< BodyPart * > *arg1 = (std::vector< BodyPart * > *) 0 ;
28637  void *argp1 = 0 ;
28638  int res1 = 0 ;
28639  PyObject * obj0 = 0 ;
28640 
28641  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_BodyPartPtr",&obj0)) SWIG_fail;
28642  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, SWIG_POINTER_DISOWN | 0 );
28643  if (!SWIG_IsOK(res1)) {
28644  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_BodyPartPtr" "', argument " "1"" of type '" "std::vector< BodyPart * > *""'");
28645  }
28646  arg1 = reinterpret_cast< std::vector< BodyPart * > * >(argp1);
28647  {
28648  try {
28649  delete arg1;
28650  }
28651  catch(CStdErrorInfo oError)
28652  {
28653  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
28654  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
28655  PyErr_SetString(PyExc_IndexError, strError.c_str());
28656  SWIG_fail;
28657  }
28658  catch(...)
28659  {
28660  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
28661  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
28662  SWIG_fail;
28663  }
28664  }
28665  resultobj = SWIG_Py_Void();
28666  return resultobj;
28667 fail:
28668  return NULL;
28669 }
28670 
28671 
28672 SWIGINTERN PyObject *vector_BodyPartPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28673  PyObject *obj;
28674  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
28675  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, SWIG_NewClientData(obj));
28676  return SWIG_Py_Void();
28677 }
28678 
28679 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28680  PyObject *resultobj = 0;
28681  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
28682  PyObject **arg2 = (PyObject **) 0 ;
28683  void *argp1 = 0 ;
28684  int res1 = 0 ;
28685  PyObject * obj0 = 0 ;
28686  swig::SwigPyIterator *result = 0 ;
28687 
28688  arg2 = &obj0;
28689  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr_iterator",&obj0)) SWIG_fail;
28690  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
28691  if (!SWIG_IsOK(res1)) {
28692  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_iterator" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
28693  }
28694  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
28695  result = (swig::SwigPyIterator *)std_vector_Sl_CollisionPair_Sm__Sg__iterator(arg1,arg2);
28696  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
28697  return resultobj;
28698 fail:
28699  return NULL;
28700 }
28701 
28702 
28703 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28704  PyObject *resultobj = 0;
28705  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
28706  void *argp1 = 0 ;
28707  int res1 = 0 ;
28708  PyObject * obj0 = 0 ;
28709  bool result;
28710 
28711  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr___nonzero__",&obj0)) SWIG_fail;
28712  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
28713  if (!SWIG_IsOK(res1)) {
28714  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr___nonzero__" "', argument " "1"" of type '" "std::vector< CollisionPair * > const *""'");
28715  }
28716  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
28717  result = (bool)std_vector_Sl_CollisionPair_Sm__Sg____nonzero__((std::vector< CollisionPair * > const *)arg1);
28718  resultobj = SWIG_From_bool(static_cast< bool >(result));
28719  return resultobj;
28720 fail:
28721  return NULL;
28722 }
28723 
28724 
28725 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28726  PyObject *resultobj = 0;
28727  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
28728  void *argp1 = 0 ;
28729  int res1 = 0 ;
28730  PyObject * obj0 = 0 ;
28731  bool result;
28732 
28733  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr___bool__",&obj0)) SWIG_fail;
28734  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
28735  if (!SWIG_IsOK(res1)) {
28736  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr___bool__" "', argument " "1"" of type '" "std::vector< CollisionPair * > const *""'");
28737  }
28738  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
28739  result = (bool)std_vector_Sl_CollisionPair_Sm__Sg____bool__((std::vector< CollisionPair * > const *)arg1);
28740  resultobj = SWIG_From_bool(static_cast< bool >(result));
28741  return resultobj;
28742 fail:
28743  return NULL;
28744 }
28745 
28746 
28747 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28748  PyObject *resultobj = 0;
28749  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
28750  void *argp1 = 0 ;
28751  int res1 = 0 ;
28752  PyObject * obj0 = 0 ;
28753  std::vector< CollisionPair * >::size_type result;
28754 
28755  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr___len__",&obj0)) SWIG_fail;
28756  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
28757  if (!SWIG_IsOK(res1)) {
28758  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr___len__" "', argument " "1"" of type '" "std::vector< CollisionPair * > const *""'");
28759  }
28760  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
28761  result = std_vector_Sl_CollisionPair_Sm__Sg____len__((std::vector< CollisionPair * > const *)arg1);
28762  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
28763  return resultobj;
28764 fail:
28765  return NULL;
28766 }
28767 
28768 
28769 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28770  PyObject *resultobj = 0;
28771  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
28772  void *argp1 = 0 ;
28773  int res1 = 0 ;
28774  PyObject * obj0 = 0 ;
28775  std::vector< CollisionPair * >::value_type result;
28776 
28777  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr_pop",&obj0)) SWIG_fail;
28778  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
28779  if (!SWIG_IsOK(res1)) {
28780  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_pop" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
28781  }
28782  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
28783  try {
28784  result = (std::vector< CollisionPair * >::value_type)std_vector_Sl_CollisionPair_Sm__Sg__pop(arg1);
28785  }
28786  catch(std::out_of_range &_e) {
28787  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
28788  }
28789 
28790  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CollisionPair, 0 | 0 );
28791  return resultobj;
28792 fail:
28793  return NULL;
28794 }
28795 
28796 
28797 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28798  PyObject *resultobj = 0;
28799  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
28800  std::vector< CollisionPair * >::difference_type arg2 ;
28801  std::vector< CollisionPair * >::difference_type arg3 ;
28802  void *argp1 = 0 ;
28803  int res1 = 0 ;
28804  ptrdiff_t val2 ;
28805  int ecode2 = 0 ;
28806  ptrdiff_t val3 ;
28807  int ecode3 = 0 ;
28808  PyObject * obj0 = 0 ;
28809  PyObject * obj1 = 0 ;
28810  PyObject * obj2 = 0 ;
28811  std::vector< CollisionPair *,std::allocator< CollisionPair * > > *result = 0 ;
28812 
28813  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CollisionPairPtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
28814  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
28815  if (!SWIG_IsOK(res1)) {
28816  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr___getslice__" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
28817  }
28818  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
28819  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
28820  if (!SWIG_IsOK(ecode2)) {
28821  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CollisionPairPtr___getslice__" "', argument " "2"" of type '" "std::vector< CollisionPair * >::difference_type""'");
28822  }
28823  arg2 = static_cast< std::vector< CollisionPair * >::difference_type >(val2);
28824  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
28825  if (!SWIG_IsOK(ecode3)) {
28826  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CollisionPairPtr___getslice__" "', argument " "3"" of type '" "std::vector< CollisionPair * >::difference_type""'");
28827  }
28828  arg3 = static_cast< std::vector< CollisionPair * >::difference_type >(val3);
28829  try {
28830  result = (std::vector< CollisionPair *,std::allocator< CollisionPair * > > *)std_vector_Sl_CollisionPair_Sm__Sg____getslice__(arg1,arg2,arg3);
28831  }
28832  catch(std::out_of_range &_e) {
28833  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
28834  }
28835  catch(std::invalid_argument &_e) {
28836  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
28837  }
28838 
28839  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, SWIG_POINTER_OWN | 0 );
28840  return resultobj;
28841 fail:
28842  return NULL;
28843 }
28844 
28845 
28846 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28847  PyObject *resultobj = 0;
28848  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
28849  std::vector< CollisionPair * >::difference_type arg2 ;
28850  std::vector< CollisionPair * >::difference_type arg3 ;
28851  std::vector< CollisionPair *,std::allocator< CollisionPair * > > *arg4 = 0 ;
28852  void *argp1 = 0 ;
28853  int res1 = 0 ;
28854  ptrdiff_t val2 ;
28855  int ecode2 = 0 ;
28856  ptrdiff_t val3 ;
28857  int ecode3 = 0 ;
28858  int res4 = SWIG_OLDOBJ ;
28859  PyObject * obj0 = 0 ;
28860  PyObject * obj1 = 0 ;
28861  PyObject * obj2 = 0 ;
28862  PyObject * obj3 = 0 ;
28863 
28864  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_CollisionPairPtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
28865  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
28866  if (!SWIG_IsOK(res1)) {
28867  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr___setslice__" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
28868  }
28869  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
28870  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
28871  if (!SWIG_IsOK(ecode2)) {
28872  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CollisionPairPtr___setslice__" "', argument " "2"" of type '" "std::vector< CollisionPair * >::difference_type""'");
28873  }
28874  arg2 = static_cast< std::vector< CollisionPair * >::difference_type >(val2);
28875  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
28876  if (!SWIG_IsOK(ecode3)) {
28877  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CollisionPairPtr___setslice__" "', argument " "3"" of type '" "std::vector< CollisionPair * >::difference_type""'");
28878  }
28879  arg3 = static_cast< std::vector< CollisionPair * >::difference_type >(val3);
28880  {
28881  std::vector<CollisionPair*,std::allocator< CollisionPair * > > *ptr = (std::vector<CollisionPair*,std::allocator< CollisionPair * > > *)0;
28882  res4 = swig::asptr(obj3, &ptr);
28883  if (!SWIG_IsOK(res4)) {
28884  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_CollisionPairPtr___setslice__" "', argument " "4"" of type '" "std::vector< CollisionPair *,std::allocator< CollisionPair * > > const &""'");
28885  }
28886  if (!ptr) {
28887  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_CollisionPairPtr___setslice__" "', argument " "4"" of type '" "std::vector< CollisionPair *,std::allocator< CollisionPair * > > const &""'");
28888  }
28889  arg4 = ptr;
28890  }
28891  try {
28892  std_vector_Sl_CollisionPair_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< CollisionPair *,std::allocator< CollisionPair * > > const &)*arg4);
28893  }
28894  catch(std::out_of_range &_e) {
28895  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
28896  }
28897  catch(std::invalid_argument &_e) {
28898  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
28899  }
28900 
28901  resultobj = SWIG_Py_Void();
28902  if (SWIG_IsNewObj(res4)) delete arg4;
28903  return resultobj;
28904 fail:
28905  if (SWIG_IsNewObj(res4)) delete arg4;
28906  return NULL;
28907 }
28908 
28909 
28910 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28911  PyObject *resultobj = 0;
28912  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
28913  std::vector< CollisionPair * >::difference_type arg2 ;
28914  std::vector< CollisionPair * >::difference_type arg3 ;
28915  void *argp1 = 0 ;
28916  int res1 = 0 ;
28917  ptrdiff_t val2 ;
28918  int ecode2 = 0 ;
28919  ptrdiff_t val3 ;
28920  int ecode3 = 0 ;
28921  PyObject * obj0 = 0 ;
28922  PyObject * obj1 = 0 ;
28923  PyObject * obj2 = 0 ;
28924 
28925  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CollisionPairPtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
28926  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
28927  if (!SWIG_IsOK(res1)) {
28928  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr___setslice__" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
28929  }
28930  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
28931  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
28932  if (!SWIG_IsOK(ecode2)) {
28933  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CollisionPairPtr___setslice__" "', argument " "2"" of type '" "std::vector< CollisionPair * >::difference_type""'");
28934  }
28935  arg2 = static_cast< std::vector< CollisionPair * >::difference_type >(val2);
28936  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
28937  if (!SWIG_IsOK(ecode3)) {
28938  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CollisionPairPtr___setslice__" "', argument " "3"" of type '" "std::vector< CollisionPair * >::difference_type""'");
28939  }
28940  arg3 = static_cast< std::vector< CollisionPair * >::difference_type >(val3);
28941  try {
28942  std_vector_Sl_CollisionPair_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
28943  }
28944  catch(std::out_of_range &_e) {
28945  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
28946  }
28947  catch(std::invalid_argument &_e) {
28948  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
28949  }
28950 
28951  resultobj = SWIG_Py_Void();
28952  return resultobj;
28953 fail:
28954  return NULL;
28955 }
28956 
28957 
28958 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___setslice__(PyObject *self, PyObject *args) {
28959  int argc;
28960  PyObject *argv[5];
28961  int ii;
28962 
28963  if (!PyTuple_Check(args)) SWIG_fail;
28964  argc = args ? (int)PyObject_Length(args) : 0;
28965  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
28966  argv[ii] = PyTuple_GET_ITEM(args,ii);
28967  }
28968  if (argc == 3) {
28969  int _v;
28970  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
28971  _v = SWIG_CheckState(res);
28972  if (_v) {
28973  {
28974  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
28975  _v = SWIG_CheckState(res);
28976  }
28977  if (_v) {
28978  {
28979  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
28980  _v = SWIG_CheckState(res);
28981  }
28982  if (_v) {
28983  return _wrap_vector_CollisionPairPtr___setslice____SWIG_1(self, args);
28984  }
28985  }
28986  }
28987  }
28988  if (argc == 4) {
28989  int _v;
28990  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
28991  _v = SWIG_CheckState(res);
28992  if (_v) {
28993  {
28994  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
28995  _v = SWIG_CheckState(res);
28996  }
28997  if (_v) {
28998  {
28999  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
29000  _v = SWIG_CheckState(res);
29001  }
29002  if (_v) {
29003  int res = swig::asptr(argv[3], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
29004  _v = SWIG_CheckState(res);
29005  if (_v) {
29006  return _wrap_vector_CollisionPairPtr___setslice____SWIG_0(self, args);
29007  }
29008  }
29009  }
29010  }
29011  }
29012 
29013 fail:
29014  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_CollisionPairPtr___setslice__'.\n"
29015  " Possible C/C++ prototypes are:\n"
29016  " std::vector< CollisionPair * >::__setslice__(std::vector< CollisionPair * >::difference_type,std::vector< CollisionPair * >::difference_type,std::vector< CollisionPair *,std::allocator< CollisionPair * > > const &)\n"
29017  " std::vector< CollisionPair * >::__setslice__(std::vector< CollisionPair * >::difference_type,std::vector< CollisionPair * >::difference_type)\n");
29018  return 0;
29019 }
29020 
29021 
29022 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29023  PyObject *resultobj = 0;
29024  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29025  std::vector< CollisionPair * >::difference_type arg2 ;
29026  std::vector< CollisionPair * >::difference_type arg3 ;
29027  void *argp1 = 0 ;
29028  int res1 = 0 ;
29029  ptrdiff_t val2 ;
29030  int ecode2 = 0 ;
29031  ptrdiff_t val3 ;
29032  int ecode3 = 0 ;
29033  PyObject * obj0 = 0 ;
29034  PyObject * obj1 = 0 ;
29035  PyObject * obj2 = 0 ;
29036 
29037  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CollisionPairPtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
29038  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29039  if (!SWIG_IsOK(res1)) {
29040  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr___delslice__" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29041  }
29042  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29043  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
29044  if (!SWIG_IsOK(ecode2)) {
29045  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CollisionPairPtr___delslice__" "', argument " "2"" of type '" "std::vector< CollisionPair * >::difference_type""'");
29046  }
29047  arg2 = static_cast< std::vector< CollisionPair * >::difference_type >(val2);
29048  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
29049  if (!SWIG_IsOK(ecode3)) {
29050  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CollisionPairPtr___delslice__" "', argument " "3"" of type '" "std::vector< CollisionPair * >::difference_type""'");
29051  }
29052  arg3 = static_cast< std::vector< CollisionPair * >::difference_type >(val3);
29053  try {
29054  std_vector_Sl_CollisionPair_Sm__Sg____delslice__(arg1,arg2,arg3);
29055  }
29056  catch(std::out_of_range &_e) {
29057  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
29058  }
29059  catch(std::invalid_argument &_e) {
29060  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
29061  }
29062 
29063  resultobj = SWIG_Py_Void();
29064  return resultobj;
29065 fail:
29066  return NULL;
29067 }
29068 
29069 
29070 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29071  PyObject *resultobj = 0;
29072  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29073  std::vector< CollisionPair * >::difference_type arg2 ;
29074  void *argp1 = 0 ;
29075  int res1 = 0 ;
29076  ptrdiff_t val2 ;
29077  int ecode2 = 0 ;
29078  PyObject * obj0 = 0 ;
29079  PyObject * obj1 = 0 ;
29080 
29081  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CollisionPairPtr___delitem__",&obj0,&obj1)) SWIG_fail;
29082  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29083  if (!SWIG_IsOK(res1)) {
29084  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr___delitem__" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29085  }
29086  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29087  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
29088  if (!SWIG_IsOK(ecode2)) {
29089  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CollisionPairPtr___delitem__" "', argument " "2"" of type '" "std::vector< CollisionPair * >::difference_type""'");
29090  }
29091  arg2 = static_cast< std::vector< CollisionPair * >::difference_type >(val2);
29092  try {
29093  std_vector_Sl_CollisionPair_Sm__Sg____delitem____SWIG_0(arg1,arg2);
29094  }
29095  catch(std::out_of_range &_e) {
29096  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
29097  }
29098 
29099  resultobj = SWIG_Py_Void();
29100  return resultobj;
29101 fail:
29102  return NULL;
29103 }
29104 
29105 
29106 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29107  PyObject *resultobj = 0;
29108  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29109  PySliceObject *arg2 = (PySliceObject *) 0 ;
29110  void *argp1 = 0 ;
29111  int res1 = 0 ;
29112  PyObject * obj0 = 0 ;
29113  PyObject * obj1 = 0 ;
29114  std::vector< CollisionPair *,std::allocator< CollisionPair * > > *result = 0 ;
29115 
29116  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CollisionPairPtr___getitem__",&obj0,&obj1)) SWIG_fail;
29117  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29118  if (!SWIG_IsOK(res1)) {
29119  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr___getitem__" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29120  }
29121  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29122  {
29123  if (!PySlice_Check(obj1)) {
29124  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CollisionPairPtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
29125  }
29126  arg2 = (PySliceObject *) obj1;
29127  }
29128  try {
29129  result = (std::vector< CollisionPair *,std::allocator< CollisionPair * > > *)std_vector_Sl_CollisionPair_Sm__Sg____getitem____SWIG_0(arg1,arg2);
29130  }
29131  catch(std::out_of_range &_e) {
29132  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
29133  }
29134  catch(std::invalid_argument &_e) {
29135  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
29136  }
29137 
29138  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, SWIG_POINTER_OWN | 0 );
29139  return resultobj;
29140 fail:
29141  return NULL;
29142 }
29143 
29144 
29145 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29146  PyObject *resultobj = 0;
29147  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29148  PySliceObject *arg2 = (PySliceObject *) 0 ;
29149  std::vector< CollisionPair *,std::allocator< CollisionPair * > > *arg3 = 0 ;
29150  void *argp1 = 0 ;
29151  int res1 = 0 ;
29152  int res3 = SWIG_OLDOBJ ;
29153  PyObject * obj0 = 0 ;
29154  PyObject * obj1 = 0 ;
29155  PyObject * obj2 = 0 ;
29156 
29157  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CollisionPairPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
29158  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29159  if (!SWIG_IsOK(res1)) {
29160  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr___setitem__" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29161  }
29162  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29163  {
29164  if (!PySlice_Check(obj1)) {
29165  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CollisionPairPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
29166  }
29167  arg2 = (PySliceObject *) obj1;
29168  }
29169  {
29170  std::vector<CollisionPair*,std::allocator< CollisionPair * > > *ptr = (std::vector<CollisionPair*,std::allocator< CollisionPair * > > *)0;
29171  res3 = swig::asptr(obj2, &ptr);
29172  if (!SWIG_IsOK(res3)) {
29173  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CollisionPairPtr___setitem__" "', argument " "3"" of type '" "std::vector< CollisionPair *,std::allocator< CollisionPair * > > const &""'");
29174  }
29175  if (!ptr) {
29176  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_CollisionPairPtr___setitem__" "', argument " "3"" of type '" "std::vector< CollisionPair *,std::allocator< CollisionPair * > > const &""'");
29177  }
29178  arg3 = ptr;
29179  }
29180  try {
29181  std_vector_Sl_CollisionPair_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< CollisionPair *,std::allocator< CollisionPair * > > const &)*arg3);
29182  }
29183  catch(std::out_of_range &_e) {
29184  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
29185  }
29186  catch(std::invalid_argument &_e) {
29187  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
29188  }
29189 
29190  resultobj = SWIG_Py_Void();
29191  if (SWIG_IsNewObj(res3)) delete arg3;
29192  return resultobj;
29193 fail:
29194  if (SWIG_IsNewObj(res3)) delete arg3;
29195  return NULL;
29196 }
29197 
29198 
29199 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29200  PyObject *resultobj = 0;
29201  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29202  PySliceObject *arg2 = (PySliceObject *) 0 ;
29203  void *argp1 = 0 ;
29204  int res1 = 0 ;
29205  PyObject * obj0 = 0 ;
29206  PyObject * obj1 = 0 ;
29207 
29208  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CollisionPairPtr___setitem__",&obj0,&obj1)) SWIG_fail;
29209  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29210  if (!SWIG_IsOK(res1)) {
29211  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr___setitem__" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29212  }
29213  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29214  {
29215  if (!PySlice_Check(obj1)) {
29216  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CollisionPairPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
29217  }
29218  arg2 = (PySliceObject *) obj1;
29219  }
29220  try {
29221  std_vector_Sl_CollisionPair_Sm__Sg____setitem____SWIG_1(arg1,arg2);
29222  }
29223  catch(std::out_of_range &_e) {
29224  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
29225  }
29226  catch(std::invalid_argument &_e) {
29227  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
29228  }
29229 
29230  resultobj = SWIG_Py_Void();
29231  return resultobj;
29232 fail:
29233  return NULL;
29234 }
29235 
29236 
29237 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29238  PyObject *resultobj = 0;
29239  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29240  PySliceObject *arg2 = (PySliceObject *) 0 ;
29241  void *argp1 = 0 ;
29242  int res1 = 0 ;
29243  PyObject * obj0 = 0 ;
29244  PyObject * obj1 = 0 ;
29245 
29246  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CollisionPairPtr___delitem__",&obj0,&obj1)) SWIG_fail;
29247  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29248  if (!SWIG_IsOK(res1)) {
29249  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr___delitem__" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29250  }
29251  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29252  {
29253  if (!PySlice_Check(obj1)) {
29254  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CollisionPairPtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
29255  }
29256  arg2 = (PySliceObject *) obj1;
29257  }
29258  try {
29259  std_vector_Sl_CollisionPair_Sm__Sg____delitem____SWIG_1(arg1,arg2);
29260  }
29261  catch(std::out_of_range &_e) {
29262  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
29263  }
29264  catch(std::invalid_argument &_e) {
29265  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
29266  }
29267 
29268  resultobj = SWIG_Py_Void();
29269  return resultobj;
29270 fail:
29271  return NULL;
29272 }
29273 
29274 
29275 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___delitem__(PyObject *self, PyObject *args) {
29276  int argc;
29277  PyObject *argv[3];
29278  int ii;
29279 
29280  if (!PyTuple_Check(args)) SWIG_fail;
29281  argc = args ? (int)PyObject_Length(args) : 0;
29282  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
29283  argv[ii] = PyTuple_GET_ITEM(args,ii);
29284  }
29285  if (argc == 2) {
29286  int _v;
29287  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
29288  _v = SWIG_CheckState(res);
29289  if (_v) {
29290  {
29291  _v = PySlice_Check(argv[1]);
29292  }
29293  if (_v) {
29294  return _wrap_vector_CollisionPairPtr___delitem____SWIG_1(self, args);
29295  }
29296  }
29297  }
29298  if (argc == 2) {
29299  int _v;
29300  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
29301  _v = SWIG_CheckState(res);
29302  if (_v) {
29303  {
29304  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
29305  _v = SWIG_CheckState(res);
29306  }
29307  if (_v) {
29308  return _wrap_vector_CollisionPairPtr___delitem____SWIG_0(self, args);
29309  }
29310  }
29311  }
29312 
29313 fail:
29314  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_CollisionPairPtr___delitem__'.\n"
29315  " Possible C/C++ prototypes are:\n"
29316  " std::vector< CollisionPair * >::__delitem__(std::vector< CollisionPair * >::difference_type)\n"
29317  " std::vector< CollisionPair * >::__delitem__(PySliceObject *)\n");
29318  return 0;
29319 }
29320 
29321 
29322 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29323  PyObject *resultobj = 0;
29324  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29325  std::vector< CollisionPair * >::difference_type arg2 ;
29326  void *argp1 = 0 ;
29327  int res1 = 0 ;
29328  ptrdiff_t val2 ;
29329  int ecode2 = 0 ;
29330  PyObject * obj0 = 0 ;
29331  PyObject * obj1 = 0 ;
29332  std::vector< CollisionPair * >::value_type result;
29333 
29334  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CollisionPairPtr___getitem__",&obj0,&obj1)) SWIG_fail;
29335  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29336  if (!SWIG_IsOK(res1)) {
29337  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr___getitem__" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29338  }
29339  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29340  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
29341  if (!SWIG_IsOK(ecode2)) {
29342  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CollisionPairPtr___getitem__" "', argument " "2"" of type '" "std::vector< CollisionPair * >::difference_type""'");
29343  }
29344  arg2 = static_cast< std::vector< CollisionPair * >::difference_type >(val2);
29345  try {
29346  result = (std::vector< CollisionPair * >::value_type)std_vector_Sl_CollisionPair_Sm__Sg____getitem____SWIG_1(arg1,arg2);
29347  }
29348  catch(std::out_of_range &_e) {
29349  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
29350  }
29351 
29352  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CollisionPair, 0 | 0 );
29353  return resultobj;
29354 fail:
29355  return NULL;
29356 }
29357 
29358 
29359 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___getitem__(PyObject *self, PyObject *args) {
29360  int argc;
29361  PyObject *argv[3];
29362  int ii;
29363 
29364  if (!PyTuple_Check(args)) SWIG_fail;
29365  argc = args ? (int)PyObject_Length(args) : 0;
29366  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
29367  argv[ii] = PyTuple_GET_ITEM(args,ii);
29368  }
29369  if (argc == 2) {
29370  int _v;
29371  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
29372  _v = SWIG_CheckState(res);
29373  if (_v) {
29374  {
29375  _v = PySlice_Check(argv[1]);
29376  }
29377  if (_v) {
29378  return _wrap_vector_CollisionPairPtr___getitem____SWIG_0(self, args);
29379  }
29380  }
29381  }
29382  if (argc == 2) {
29383  int _v;
29384  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
29385  _v = SWIG_CheckState(res);
29386  if (_v) {
29387  {
29388  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
29389  _v = SWIG_CheckState(res);
29390  }
29391  if (_v) {
29392  return _wrap_vector_CollisionPairPtr___getitem____SWIG_1(self, args);
29393  }
29394  }
29395  }
29396 
29397 fail:
29398  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_CollisionPairPtr___getitem__'.\n"
29399  " Possible C/C++ prototypes are:\n"
29400  " std::vector< CollisionPair * >::__getitem__(PySliceObject *)\n"
29401  " std::vector< CollisionPair * >::__getitem__(std::vector< CollisionPair * >::difference_type)\n");
29402  return 0;
29403 }
29404 
29405 
29406 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29407  PyObject *resultobj = 0;
29408  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29409  std::vector< CollisionPair * >::difference_type arg2 ;
29410  std::vector< CollisionPair * >::value_type arg3 = (std::vector< CollisionPair * >::value_type) 0 ;
29411  void *argp1 = 0 ;
29412  int res1 = 0 ;
29413  ptrdiff_t val2 ;
29414  int ecode2 = 0 ;
29415  void *argp3 = 0 ;
29416  int res3 = 0 ;
29417  PyObject * obj0 = 0 ;
29418  PyObject * obj1 = 0 ;
29419  PyObject * obj2 = 0 ;
29420 
29421  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CollisionPairPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
29422  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29423  if (!SWIG_IsOK(res1)) {
29424  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr___setitem__" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29425  }
29426  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29427  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
29428  if (!SWIG_IsOK(ecode2)) {
29429  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CollisionPairPtr___setitem__" "', argument " "2"" of type '" "std::vector< CollisionPair * >::difference_type""'");
29430  }
29431  arg2 = static_cast< std::vector< CollisionPair * >::difference_type >(val2);
29432  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_CollisionPair, 0 | 0 );
29433  if (!SWIG_IsOK(res3)) {
29434  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CollisionPairPtr___setitem__" "', argument " "3"" of type '" "std::vector< CollisionPair * >::value_type""'");
29435  }
29436  arg3 = reinterpret_cast< std::vector< CollisionPair * >::value_type >(argp3);
29437  try {
29438  std_vector_Sl_CollisionPair_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
29439  }
29440  catch(std::out_of_range &_e) {
29441  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
29442  }
29443 
29444  resultobj = SWIG_Py_Void();
29445  return resultobj;
29446 fail:
29447  return NULL;
29448 }
29449 
29450 
29451 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr___setitem__(PyObject *self, PyObject *args) {
29452  int argc;
29453  PyObject *argv[4];
29454  int ii;
29455 
29456  if (!PyTuple_Check(args)) SWIG_fail;
29457  argc = args ? (int)PyObject_Length(args) : 0;
29458  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
29459  argv[ii] = PyTuple_GET_ITEM(args,ii);
29460  }
29461  if (argc == 2) {
29462  int _v;
29463  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
29464  _v = SWIG_CheckState(res);
29465  if (_v) {
29466  {
29467  _v = PySlice_Check(argv[1]);
29468  }
29469  if (_v) {
29470  return _wrap_vector_CollisionPairPtr___setitem____SWIG_1(self, args);
29471  }
29472  }
29473  }
29474  if (argc == 3) {
29475  int _v;
29476  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
29477  _v = SWIG_CheckState(res);
29478  if (_v) {
29479  {
29480  _v = PySlice_Check(argv[1]);
29481  }
29482  if (_v) {
29483  int res = swig::asptr(argv[2], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
29484  _v = SWIG_CheckState(res);
29485  if (_v) {
29486  return _wrap_vector_CollisionPairPtr___setitem____SWIG_0(self, args);
29487  }
29488  }
29489  }
29490  }
29491  if (argc == 3) {
29492  int _v;
29493  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
29494  _v = SWIG_CheckState(res);
29495  if (_v) {
29496  {
29497  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
29498  _v = SWIG_CheckState(res);
29499  }
29500  if (_v) {
29501  void *vptr = 0;
29502  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CollisionPair, 0);
29503  _v = SWIG_CheckState(res);
29504  if (_v) {
29505  return _wrap_vector_CollisionPairPtr___setitem____SWIG_2(self, args);
29506  }
29507  }
29508  }
29509  }
29510 
29511 fail:
29512  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_CollisionPairPtr___setitem__'.\n"
29513  " Possible C/C++ prototypes are:\n"
29514  " std::vector< CollisionPair * >::__setitem__(PySliceObject *,std::vector< CollisionPair *,std::allocator< CollisionPair * > > const &)\n"
29515  " std::vector< CollisionPair * >::__setitem__(PySliceObject *)\n"
29516  " std::vector< CollisionPair * >::__setitem__(std::vector< CollisionPair * >::difference_type,std::vector< CollisionPair * >::value_type)\n");
29517  return 0;
29518 }
29519 
29520 
29521 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29522  PyObject *resultobj = 0;
29523  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29524  std::vector< CollisionPair * >::value_type arg2 = (std::vector< CollisionPair * >::value_type) 0 ;
29525  void *argp1 = 0 ;
29526  int res1 = 0 ;
29527  void *argp2 = 0 ;
29528  int res2 = 0 ;
29529  PyObject * obj0 = 0 ;
29530  PyObject * obj1 = 0 ;
29531 
29532  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CollisionPairPtr_append",&obj0,&obj1)) SWIG_fail;
29533  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29534  if (!SWIG_IsOK(res1)) {
29535  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_append" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29536  }
29537  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29538  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_CollisionPair, 0 | 0 );
29539  if (!SWIG_IsOK(res2)) {
29540  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_CollisionPairPtr_append" "', argument " "2"" of type '" "std::vector< CollisionPair * >::value_type""'");
29541  }
29542  arg2 = reinterpret_cast< std::vector< CollisionPair * >::value_type >(argp2);
29543  std_vector_Sl_CollisionPair_Sm__Sg__append(arg1,arg2);
29544  resultobj = SWIG_Py_Void();
29545  return resultobj;
29546 fail:
29547  return NULL;
29548 }
29549 
29550 
29551 SWIGINTERN PyObject *_wrap_new_vector_CollisionPairPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29552  PyObject *resultobj = 0;
29553  std::vector< CollisionPair * > *result = 0 ;
29554 
29555  if (!PyArg_ParseTuple(args,(char *)":new_vector_CollisionPairPtr")) SWIG_fail;
29556  result = (std::vector< CollisionPair * > *)new std::vector< CollisionPair * >();
29557  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, SWIG_POINTER_NEW | 0 );
29558  return resultobj;
29559 fail:
29560  return NULL;
29561 }
29562 
29563 
29564 SWIGINTERN PyObject *_wrap_new_vector_CollisionPairPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29565  PyObject *resultobj = 0;
29566  std::vector< CollisionPair * > *arg1 = 0 ;
29567  int res1 = SWIG_OLDOBJ ;
29568  PyObject * obj0 = 0 ;
29569  std::vector< CollisionPair * > *result = 0 ;
29570 
29571  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_CollisionPairPtr",&obj0)) SWIG_fail;
29572  {
29573  std::vector<CollisionPair*,std::allocator< CollisionPair * > > *ptr = (std::vector<CollisionPair*,std::allocator< CollisionPair * > > *)0;
29574  res1 = swig::asptr(obj0, &ptr);
29575  if (!SWIG_IsOK(res1)) {
29576  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_CollisionPairPtr" "', argument " "1"" of type '" "std::vector< CollisionPair * > const &""'");
29577  }
29578  if (!ptr) {
29579  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_CollisionPairPtr" "', argument " "1"" of type '" "std::vector< CollisionPair * > const &""'");
29580  }
29581  arg1 = ptr;
29582  }
29583  result = (std::vector< CollisionPair * > *)new std::vector< CollisionPair * >((std::vector< CollisionPair * > const &)*arg1);
29584  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, SWIG_POINTER_NEW | 0 );
29585  if (SWIG_IsNewObj(res1)) delete arg1;
29586  return resultobj;
29587 fail:
29588  if (SWIG_IsNewObj(res1)) delete arg1;
29589  return NULL;
29590 }
29591 
29592 
29593 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29594  PyObject *resultobj = 0;
29595  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29596  void *argp1 = 0 ;
29597  int res1 = 0 ;
29598  PyObject * obj0 = 0 ;
29599  bool result;
29600 
29601  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr_empty",&obj0)) SWIG_fail;
29602  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29603  if (!SWIG_IsOK(res1)) {
29604  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_empty" "', argument " "1"" of type '" "std::vector< CollisionPair * > const *""'");
29605  }
29606  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29607  result = (bool)((std::vector< CollisionPair * > const *)arg1)->empty();
29608  resultobj = SWIG_From_bool(static_cast< bool >(result));
29609  return resultobj;
29610 fail:
29611  return NULL;
29612 }
29613 
29614 
29615 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29616  PyObject *resultobj = 0;
29617  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29618  void *argp1 = 0 ;
29619  int res1 = 0 ;
29620  PyObject * obj0 = 0 ;
29621  std::vector< CollisionPair * >::size_type result;
29622 
29623  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr_size",&obj0)) SWIG_fail;
29624  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29625  if (!SWIG_IsOK(res1)) {
29626  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_size" "', argument " "1"" of type '" "std::vector< CollisionPair * > const *""'");
29627  }
29628  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29629  result = ((std::vector< CollisionPair * > const *)arg1)->size();
29630  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
29631  return resultobj;
29632 fail:
29633  return NULL;
29634 }
29635 
29636 
29637 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29638  PyObject *resultobj = 0;
29639  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29640  void *argp1 = 0 ;
29641  int res1 = 0 ;
29642  PyObject * obj0 = 0 ;
29643 
29644  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr_clear",&obj0)) SWIG_fail;
29645  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29646  if (!SWIG_IsOK(res1)) {
29647  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_clear" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29648  }
29649  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29650  (arg1)->clear();
29651  resultobj = SWIG_Py_Void();
29652  return resultobj;
29653 fail:
29654  return NULL;
29655 }
29656 
29657 
29658 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29659  PyObject *resultobj = 0;
29660  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29661  std::vector< CollisionPair * > *arg2 = 0 ;
29662  void *argp1 = 0 ;
29663  int res1 = 0 ;
29664  void *argp2 = 0 ;
29665  int res2 = 0 ;
29666  PyObject * obj0 = 0 ;
29667  PyObject * obj1 = 0 ;
29668 
29669  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CollisionPairPtr_swap",&obj0,&obj1)) SWIG_fail;
29670  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29671  if (!SWIG_IsOK(res1)) {
29672  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_swap" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29673  }
29674  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29675  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 );
29676  if (!SWIG_IsOK(res2)) {
29677  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_CollisionPairPtr_swap" "', argument " "2"" of type '" "std::vector< CollisionPair * > &""'");
29678  }
29679  if (!argp2) {
29680  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_CollisionPairPtr_swap" "', argument " "2"" of type '" "std::vector< CollisionPair * > &""'");
29681  }
29682  arg2 = reinterpret_cast< std::vector< CollisionPair * > * >(argp2);
29683  (arg1)->swap(*arg2);
29684  resultobj = SWIG_Py_Void();
29685  return resultobj;
29686 fail:
29687  return NULL;
29688 }
29689 
29690 
29691 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29692  PyObject *resultobj = 0;
29693  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29694  void *argp1 = 0 ;
29695  int res1 = 0 ;
29696  PyObject * obj0 = 0 ;
29697  SwigValueWrapper< std::allocator< CollisionPair * > > result;
29698 
29699  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr_get_allocator",&obj0)) SWIG_fail;
29700  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29701  if (!SWIG_IsOK(res1)) {
29702  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_get_allocator" "', argument " "1"" of type '" "std::vector< CollisionPair * > const *""'");
29703  }
29704  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29705  result = ((std::vector< CollisionPair * > const *)arg1)->get_allocator();
29706  resultobj = SWIG_NewPointerObj((new std::vector< CollisionPair * >::allocator_type(static_cast< const std::vector< CollisionPair * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_CollisionPair_p_t, SWIG_POINTER_OWN | 0 );
29707  return resultobj;
29708 fail:
29709  return NULL;
29710 }
29711 
29712 
29713 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29714  PyObject *resultobj = 0;
29715  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29716  void *argp1 = 0 ;
29717  int res1 = 0 ;
29718  PyObject * obj0 = 0 ;
29719  std::vector< CollisionPair * >::iterator result;
29720 
29721  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr_begin",&obj0)) SWIG_fail;
29722  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29723  if (!SWIG_IsOK(res1)) {
29724  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_begin" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29725  }
29726  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29727  result = (arg1)->begin();
29728  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CollisionPair * >::iterator & >(result)),
29729  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
29730  return resultobj;
29731 fail:
29732  return NULL;
29733 }
29734 
29735 
29736 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29737  PyObject *resultobj = 0;
29738  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29739  void *argp1 = 0 ;
29740  int res1 = 0 ;
29741  PyObject * obj0 = 0 ;
29742  std::vector< CollisionPair * >::iterator result;
29743 
29744  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr_end",&obj0)) SWIG_fail;
29745  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29746  if (!SWIG_IsOK(res1)) {
29747  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_end" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29748  }
29749  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29750  result = (arg1)->end();
29751  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CollisionPair * >::iterator & >(result)),
29752  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
29753  return resultobj;
29754 fail:
29755  return NULL;
29756 }
29757 
29758 
29759 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29760  PyObject *resultobj = 0;
29761  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29762  void *argp1 = 0 ;
29763  int res1 = 0 ;
29764  PyObject * obj0 = 0 ;
29765  std::vector< CollisionPair * >::reverse_iterator result;
29766 
29767  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr_rbegin",&obj0)) SWIG_fail;
29768  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29769  if (!SWIG_IsOK(res1)) {
29770  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_rbegin" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29771  }
29772  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29773  result = (arg1)->rbegin();
29774  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CollisionPair * >::reverse_iterator & >(result)),
29775  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
29776  return resultobj;
29777 fail:
29778  return NULL;
29779 }
29780 
29781 
29782 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29783  PyObject *resultobj = 0;
29784  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29785  void *argp1 = 0 ;
29786  int res1 = 0 ;
29787  PyObject * obj0 = 0 ;
29788  std::vector< CollisionPair * >::reverse_iterator result;
29789 
29790  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr_rend",&obj0)) SWIG_fail;
29791  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29792  if (!SWIG_IsOK(res1)) {
29793  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_rend" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29794  }
29795  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29796  result = (arg1)->rend();
29797  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CollisionPair * >::reverse_iterator & >(result)),
29798  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
29799  return resultobj;
29800 fail:
29801  return NULL;
29802 }
29803 
29804 
29805 SWIGINTERN PyObject *_wrap_new_vector_CollisionPairPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29806  PyObject *resultobj = 0;
29807  std::vector< CollisionPair * >::size_type arg1 ;
29808  size_t val1 ;
29809  int ecode1 = 0 ;
29810  PyObject * obj0 = 0 ;
29811  std::vector< CollisionPair * > *result = 0 ;
29812 
29813  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_CollisionPairPtr",&obj0)) SWIG_fail;
29814  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
29815  if (!SWIG_IsOK(ecode1)) {
29816  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_CollisionPairPtr" "', argument " "1"" of type '" "std::vector< CollisionPair * >::size_type""'");
29817  }
29818  arg1 = static_cast< std::vector< CollisionPair * >::size_type >(val1);
29819  result = (std::vector< CollisionPair * > *)new std::vector< CollisionPair * >(arg1);
29820  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, SWIG_POINTER_NEW | 0 );
29821  return resultobj;
29822 fail:
29823  return NULL;
29824 }
29825 
29826 
29827 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29828  PyObject *resultobj = 0;
29829  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29830  void *argp1 = 0 ;
29831  int res1 = 0 ;
29832  PyObject * obj0 = 0 ;
29833 
29834  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr_pop_back",&obj0)) SWIG_fail;
29835  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29836  if (!SWIG_IsOK(res1)) {
29837  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_pop_back" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29838  }
29839  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29840  (arg1)->pop_back();
29841  resultobj = SWIG_Py_Void();
29842  return resultobj;
29843 fail:
29844  return NULL;
29845 }
29846 
29847 
29848 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29849  PyObject *resultobj = 0;
29850  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29851  std::vector< CollisionPair * >::size_type arg2 ;
29852  void *argp1 = 0 ;
29853  int res1 = 0 ;
29854  size_t val2 ;
29855  int ecode2 = 0 ;
29856  PyObject * obj0 = 0 ;
29857  PyObject * obj1 = 0 ;
29858 
29859  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CollisionPairPtr_resize",&obj0,&obj1)) SWIG_fail;
29860  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29861  if (!SWIG_IsOK(res1)) {
29862  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_resize" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29863  }
29864  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29865  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
29866  if (!SWIG_IsOK(ecode2)) {
29867  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CollisionPairPtr_resize" "', argument " "2"" of type '" "std::vector< CollisionPair * >::size_type""'");
29868  }
29869  arg2 = static_cast< std::vector< CollisionPair * >::size_type >(val2);
29870  (arg1)->resize(arg2);
29871  resultobj = SWIG_Py_Void();
29872  return resultobj;
29873 fail:
29874  return NULL;
29875 }
29876 
29877 
29878 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29879  PyObject *resultobj = 0;
29880  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29881  std::vector< CollisionPair * >::iterator arg2 ;
29882  void *argp1 = 0 ;
29883  int res1 = 0 ;
29884  swig::SwigPyIterator *iter2 = 0 ;
29885  int res2 ;
29886  PyObject * obj0 = 0 ;
29887  PyObject * obj1 = 0 ;
29888  std::vector< CollisionPair * >::iterator result;
29889 
29890  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CollisionPairPtr_erase",&obj0,&obj1)) SWIG_fail;
29891  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29892  if (!SWIG_IsOK(res1)) {
29893  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_erase" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29894  }
29895  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29896  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
29897  if (!SWIG_IsOK(res2) || !iter2) {
29898  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CollisionPairPtr_erase" "', argument " "2"" of type '" "std::vector< CollisionPair * >::iterator""'");
29899  } else {
29901  if (iter_t) {
29902  arg2 = iter_t->get_current();
29903  } else {
29904  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CollisionPairPtr_erase" "', argument " "2"" of type '" "std::vector< CollisionPair * >::iterator""'");
29905  }
29906  }
29907  result = std_vector_Sl_CollisionPair_Sm__Sg__erase__SWIG_0(arg1,arg2);
29908  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CollisionPair * >::iterator & >(result)),
29909  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
29910  return resultobj;
29911 fail:
29912  return NULL;
29913 }
29914 
29915 
29916 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29917  PyObject *resultobj = 0;
29918  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
29919  std::vector< CollisionPair * >::iterator arg2 ;
29920  std::vector< CollisionPair * >::iterator arg3 ;
29921  void *argp1 = 0 ;
29922  int res1 = 0 ;
29923  swig::SwigPyIterator *iter2 = 0 ;
29924  int res2 ;
29925  swig::SwigPyIterator *iter3 = 0 ;
29926  int res3 ;
29927  PyObject * obj0 = 0 ;
29928  PyObject * obj1 = 0 ;
29929  PyObject * obj2 = 0 ;
29930  std::vector< CollisionPair * >::iterator result;
29931 
29932  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CollisionPairPtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
29933  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
29934  if (!SWIG_IsOK(res1)) {
29935  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_erase" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
29936  }
29937  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
29938  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
29939  if (!SWIG_IsOK(res2) || !iter2) {
29940  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CollisionPairPtr_erase" "', argument " "2"" of type '" "std::vector< CollisionPair * >::iterator""'");
29941  } else {
29943  if (iter_t) {
29944  arg2 = iter_t->get_current();
29945  } else {
29946  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CollisionPairPtr_erase" "', argument " "2"" of type '" "std::vector< CollisionPair * >::iterator""'");
29947  }
29948  }
29949  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
29950  if (!SWIG_IsOK(res3) || !iter3) {
29951  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CollisionPairPtr_erase" "', argument " "3"" of type '" "std::vector< CollisionPair * >::iterator""'");
29952  } else {
29954  if (iter_t) {
29955  arg3 = iter_t->get_current();
29956  } else {
29957  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CollisionPairPtr_erase" "', argument " "3"" of type '" "std::vector< CollisionPair * >::iterator""'");
29958  }
29959  }
29960  result = std_vector_Sl_CollisionPair_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
29961  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CollisionPair * >::iterator & >(result)),
29962  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
29963  return resultobj;
29964 fail:
29965  return NULL;
29966 }
29967 
29968 
29969 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_erase(PyObject *self, PyObject *args) {
29970  int argc;
29971  PyObject *argv[4];
29972  int ii;
29973 
29974  if (!PyTuple_Check(args)) SWIG_fail;
29975  argc = args ? (int)PyObject_Length(args) : 0;
29976  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
29977  argv[ii] = PyTuple_GET_ITEM(args,ii);
29978  }
29979  if (argc == 2) {
29980  int _v;
29981  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
29982  _v = SWIG_CheckState(res);
29983  if (_v) {
29984  swig::SwigPyIterator *iter = 0;
29985  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
29986  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CollisionPair * >::iterator > *>(iter) != 0));
29987  if (_v) {
29988  return _wrap_vector_CollisionPairPtr_erase__SWIG_0(self, args);
29989  }
29990  }
29991  }
29992  if (argc == 3) {
29993  int _v;
29994  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
29995  _v = SWIG_CheckState(res);
29996  if (_v) {
29997  swig::SwigPyIterator *iter = 0;
29998  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
29999  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CollisionPair * >::iterator > *>(iter) != 0));
30000  if (_v) {
30001  swig::SwigPyIterator *iter = 0;
30002  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
30003  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CollisionPair * >::iterator > *>(iter) != 0));
30004  if (_v) {
30005  return _wrap_vector_CollisionPairPtr_erase__SWIG_1(self, args);
30006  }
30007  }
30008  }
30009  }
30010 
30011 fail:
30012  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_CollisionPairPtr_erase'.\n"
30013  " Possible C/C++ prototypes are:\n"
30014  " std::vector< CollisionPair * >::erase(std::vector< CollisionPair * >::iterator)\n"
30015  " std::vector< CollisionPair * >::erase(std::vector< CollisionPair * >::iterator,std::vector< CollisionPair * >::iterator)\n");
30016  return 0;
30017 }
30018 
30019 
30020 SWIGINTERN PyObject *_wrap_new_vector_CollisionPairPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30021  PyObject *resultobj = 0;
30022  std::vector< CollisionPair * >::size_type arg1 ;
30023  std::vector< CollisionPair * >::value_type arg2 = (std::vector< CollisionPair * >::value_type) 0 ;
30024  size_t val1 ;
30025  int ecode1 = 0 ;
30026  void *argp2 = 0 ;
30027  int res2 = 0 ;
30028  PyObject * obj0 = 0 ;
30029  PyObject * obj1 = 0 ;
30030  std::vector< CollisionPair * > *result = 0 ;
30031 
30032  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_CollisionPairPtr",&obj0,&obj1)) SWIG_fail;
30033  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
30034  if (!SWIG_IsOK(ecode1)) {
30035  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_CollisionPairPtr" "', argument " "1"" of type '" "std::vector< CollisionPair * >::size_type""'");
30036  }
30037  arg1 = static_cast< std::vector< CollisionPair * >::size_type >(val1);
30038  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_CollisionPair, 0 | 0 );
30039  if (!SWIG_IsOK(res2)) {
30040  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_CollisionPairPtr" "', argument " "2"" of type '" "std::vector< CollisionPair * >::value_type""'");
30041  }
30042  arg2 = reinterpret_cast< std::vector< CollisionPair * >::value_type >(argp2);
30043  result = (std::vector< CollisionPair * > *)new std::vector< CollisionPair * >(arg1,arg2);
30044  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, SWIG_POINTER_NEW | 0 );
30045  return resultobj;
30046 fail:
30047  return NULL;
30048 }
30049 
30050 
30051 SWIGINTERN PyObject *_wrap_new_vector_CollisionPairPtr(PyObject *self, PyObject *args) {
30052  int argc;
30053  PyObject *argv[3];
30054  int ii;
30055 
30056  if (!PyTuple_Check(args)) SWIG_fail;
30057  argc = args ? (int)PyObject_Length(args) : 0;
30058  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
30059  argv[ii] = PyTuple_GET_ITEM(args,ii);
30060  }
30061  if (argc == 0) {
30062  return _wrap_new_vector_CollisionPairPtr__SWIG_0(self, args);
30063  }
30064  if (argc == 1) {
30065  int _v;
30066  {
30067  int res = SWIG_AsVal_size_t(argv[0], NULL);
30068  _v = SWIG_CheckState(res);
30069  }
30070  if (_v) {
30071  return _wrap_new_vector_CollisionPairPtr__SWIG_2(self, args);
30072  }
30073  }
30074  if (argc == 1) {
30075  int _v;
30076  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
30077  _v = SWIG_CheckState(res);
30078  if (_v) {
30079  return _wrap_new_vector_CollisionPairPtr__SWIG_1(self, args);
30080  }
30081  }
30082  if (argc == 2) {
30083  int _v;
30084  {
30085  int res = SWIG_AsVal_size_t(argv[0], NULL);
30086  _v = SWIG_CheckState(res);
30087  }
30088  if (_v) {
30089  void *vptr = 0;
30090  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CollisionPair, 0);
30091  _v = SWIG_CheckState(res);
30092  if (_v) {
30093  return _wrap_new_vector_CollisionPairPtr__SWIG_3(self, args);
30094  }
30095  }
30096  }
30097 
30098 fail:
30099  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_CollisionPairPtr'.\n"
30100  " Possible C/C++ prototypes are:\n"
30101  " std::vector< CollisionPair * >::vector()\n"
30102  " std::vector< CollisionPair * >::vector(std::vector< CollisionPair * > const &)\n"
30103  " std::vector< CollisionPair * >::vector(std::vector< CollisionPair * >::size_type)\n"
30104  " std::vector< CollisionPair * >::vector(std::vector< CollisionPair * >::size_type,std::vector< CollisionPair * >::value_type)\n");
30105  return 0;
30106 }
30107 
30108 
30109 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30110  PyObject *resultobj = 0;
30111  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
30112  std::vector< CollisionPair * >::value_type arg2 = (std::vector< CollisionPair * >::value_type) 0 ;
30113  void *argp1 = 0 ;
30114  int res1 = 0 ;
30115  void *argp2 = 0 ;
30116  int res2 = 0 ;
30117  PyObject * obj0 = 0 ;
30118  PyObject * obj1 = 0 ;
30119 
30120  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CollisionPairPtr_push_back",&obj0,&obj1)) SWIG_fail;
30121  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
30122  if (!SWIG_IsOK(res1)) {
30123  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_push_back" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
30124  }
30125  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
30126  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_CollisionPair, 0 | 0 );
30127  if (!SWIG_IsOK(res2)) {
30128  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_CollisionPairPtr_push_back" "', argument " "2"" of type '" "std::vector< CollisionPair * >::value_type""'");
30129  }
30130  arg2 = reinterpret_cast< std::vector< CollisionPair * >::value_type >(argp2);
30131  (arg1)->push_back(arg2);
30132  resultobj = SWIG_Py_Void();
30133  return resultobj;
30134 fail:
30135  return NULL;
30136 }
30137 
30138 
30139 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30140  PyObject *resultobj = 0;
30141  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
30142  void *argp1 = 0 ;
30143  int res1 = 0 ;
30144  PyObject * obj0 = 0 ;
30145  std::vector< CollisionPair * >::value_type result;
30146 
30147  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr_front",&obj0)) SWIG_fail;
30148  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
30149  if (!SWIG_IsOK(res1)) {
30150  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_front" "', argument " "1"" of type '" "std::vector< CollisionPair * > const *""'");
30151  }
30152  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
30153  result = (std::vector< CollisionPair * >::value_type)((std::vector< CollisionPair * > const *)arg1)->front();
30154  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CollisionPair, 0 | 0 );
30155  return resultobj;
30156 fail:
30157  return NULL;
30158 }
30159 
30160 
30161 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30162  PyObject *resultobj = 0;
30163  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
30164  void *argp1 = 0 ;
30165  int res1 = 0 ;
30166  PyObject * obj0 = 0 ;
30167  std::vector< CollisionPair * >::value_type result;
30168 
30169  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr_back",&obj0)) SWIG_fail;
30170  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
30171  if (!SWIG_IsOK(res1)) {
30172  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_back" "', argument " "1"" of type '" "std::vector< CollisionPair * > const *""'");
30173  }
30174  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
30175  result = (std::vector< CollisionPair * >::value_type)((std::vector< CollisionPair * > const *)arg1)->back();
30176  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CollisionPair, 0 | 0 );
30177  return resultobj;
30178 fail:
30179  return NULL;
30180 }
30181 
30182 
30183 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30184  PyObject *resultobj = 0;
30185  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
30186  std::vector< CollisionPair * >::size_type arg2 ;
30187  std::vector< CollisionPair * >::value_type arg3 = (std::vector< CollisionPair * >::value_type) 0 ;
30188  void *argp1 = 0 ;
30189  int res1 = 0 ;
30190  size_t val2 ;
30191  int ecode2 = 0 ;
30192  void *argp3 = 0 ;
30193  int res3 = 0 ;
30194  PyObject * obj0 = 0 ;
30195  PyObject * obj1 = 0 ;
30196  PyObject * obj2 = 0 ;
30197 
30198  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CollisionPairPtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
30199  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
30200  if (!SWIG_IsOK(res1)) {
30201  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_assign" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
30202  }
30203  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
30204  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
30205  if (!SWIG_IsOK(ecode2)) {
30206  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CollisionPairPtr_assign" "', argument " "2"" of type '" "std::vector< CollisionPair * >::size_type""'");
30207  }
30208  arg2 = static_cast< std::vector< CollisionPair * >::size_type >(val2);
30209  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_CollisionPair, 0 | 0 );
30210  if (!SWIG_IsOK(res3)) {
30211  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CollisionPairPtr_assign" "', argument " "3"" of type '" "std::vector< CollisionPair * >::value_type""'");
30212  }
30213  arg3 = reinterpret_cast< std::vector< CollisionPair * >::value_type >(argp3);
30214  (arg1)->assign(arg2,arg3);
30215  resultobj = SWIG_Py_Void();
30216  return resultobj;
30217 fail:
30218  return NULL;
30219 }
30220 
30221 
30222 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30223  PyObject *resultobj = 0;
30224  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
30225  std::vector< CollisionPair * >::size_type arg2 ;
30226  std::vector< CollisionPair * >::value_type arg3 = (std::vector< CollisionPair * >::value_type) 0 ;
30227  void *argp1 = 0 ;
30228  int res1 = 0 ;
30229  size_t val2 ;
30230  int ecode2 = 0 ;
30231  void *argp3 = 0 ;
30232  int res3 = 0 ;
30233  PyObject * obj0 = 0 ;
30234  PyObject * obj1 = 0 ;
30235  PyObject * obj2 = 0 ;
30236 
30237  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CollisionPairPtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
30238  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
30239  if (!SWIG_IsOK(res1)) {
30240  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_resize" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
30241  }
30242  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
30243  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
30244  if (!SWIG_IsOK(ecode2)) {
30245  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CollisionPairPtr_resize" "', argument " "2"" of type '" "std::vector< CollisionPair * >::size_type""'");
30246  }
30247  arg2 = static_cast< std::vector< CollisionPair * >::size_type >(val2);
30248  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_CollisionPair, 0 | 0 );
30249  if (!SWIG_IsOK(res3)) {
30250  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CollisionPairPtr_resize" "', argument " "3"" of type '" "std::vector< CollisionPair * >::value_type""'");
30251  }
30252  arg3 = reinterpret_cast< std::vector< CollisionPair * >::value_type >(argp3);
30253  (arg1)->resize(arg2,arg3);
30254  resultobj = SWIG_Py_Void();
30255  return resultobj;
30256 fail:
30257  return NULL;
30258 }
30259 
30260 
30261 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_resize(PyObject *self, PyObject *args) {
30262  int argc;
30263  PyObject *argv[4];
30264  int ii;
30265 
30266  if (!PyTuple_Check(args)) SWIG_fail;
30267  argc = args ? (int)PyObject_Length(args) : 0;
30268  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
30269  argv[ii] = PyTuple_GET_ITEM(args,ii);
30270  }
30271  if (argc == 2) {
30272  int _v;
30273  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
30274  _v = SWIG_CheckState(res);
30275  if (_v) {
30276  {
30277  int res = SWIG_AsVal_size_t(argv[1], NULL);
30278  _v = SWIG_CheckState(res);
30279  }
30280  if (_v) {
30281  return _wrap_vector_CollisionPairPtr_resize__SWIG_0(self, args);
30282  }
30283  }
30284  }
30285  if (argc == 3) {
30286  int _v;
30287  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
30288  _v = SWIG_CheckState(res);
30289  if (_v) {
30290  {
30291  int res = SWIG_AsVal_size_t(argv[1], NULL);
30292  _v = SWIG_CheckState(res);
30293  }
30294  if (_v) {
30295  void *vptr = 0;
30296  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CollisionPair, 0);
30297  _v = SWIG_CheckState(res);
30298  if (_v) {
30299  return _wrap_vector_CollisionPairPtr_resize__SWIG_1(self, args);
30300  }
30301  }
30302  }
30303  }
30304 
30305 fail:
30306  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_CollisionPairPtr_resize'.\n"
30307  " Possible C/C++ prototypes are:\n"
30308  " std::vector< CollisionPair * >::resize(std::vector< CollisionPair * >::size_type)\n"
30309  " std::vector< CollisionPair * >::resize(std::vector< CollisionPair * >::size_type,std::vector< CollisionPair * >::value_type)\n");
30310  return 0;
30311 }
30312 
30313 
30314 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30315  PyObject *resultobj = 0;
30316  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
30317  std::vector< CollisionPair * >::iterator arg2 ;
30318  std::vector< CollisionPair * >::value_type arg3 = (std::vector< CollisionPair * >::value_type) 0 ;
30319  void *argp1 = 0 ;
30320  int res1 = 0 ;
30321  swig::SwigPyIterator *iter2 = 0 ;
30322  int res2 ;
30323  void *argp3 = 0 ;
30324  int res3 = 0 ;
30325  PyObject * obj0 = 0 ;
30326  PyObject * obj1 = 0 ;
30327  PyObject * obj2 = 0 ;
30328  std::vector< CollisionPair * >::iterator result;
30329 
30330  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CollisionPairPtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
30331  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
30332  if (!SWIG_IsOK(res1)) {
30333  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_insert" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
30334  }
30335  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
30336  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
30337  if (!SWIG_IsOK(res2) || !iter2) {
30338  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CollisionPairPtr_insert" "', argument " "2"" of type '" "std::vector< CollisionPair * >::iterator""'");
30339  } else {
30341  if (iter_t) {
30342  arg2 = iter_t->get_current();
30343  } else {
30344  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CollisionPairPtr_insert" "', argument " "2"" of type '" "std::vector< CollisionPair * >::iterator""'");
30345  }
30346  }
30347  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_CollisionPair, 0 | 0 );
30348  if (!SWIG_IsOK(res3)) {
30349  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CollisionPairPtr_insert" "', argument " "3"" of type '" "std::vector< CollisionPair * >::value_type""'");
30350  }
30351  arg3 = reinterpret_cast< std::vector< CollisionPair * >::value_type >(argp3);
30352  result = std_vector_Sl_CollisionPair_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
30353  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CollisionPair * >::iterator & >(result)),
30354  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
30355  return resultobj;
30356 fail:
30357  return NULL;
30358 }
30359 
30360 
30361 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30362  PyObject *resultobj = 0;
30363  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
30364  std::vector< CollisionPair * >::iterator arg2 ;
30365  std::vector< CollisionPair * >::size_type arg3 ;
30366  std::vector< CollisionPair * >::value_type arg4 = (std::vector< CollisionPair * >::value_type) 0 ;
30367  void *argp1 = 0 ;
30368  int res1 = 0 ;
30369  swig::SwigPyIterator *iter2 = 0 ;
30370  int res2 ;
30371  size_t val3 ;
30372  int ecode3 = 0 ;
30373  void *argp4 = 0 ;
30374  int res4 = 0 ;
30375  PyObject * obj0 = 0 ;
30376  PyObject * obj1 = 0 ;
30377  PyObject * obj2 = 0 ;
30378  PyObject * obj3 = 0 ;
30379 
30380  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_CollisionPairPtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30381  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
30382  if (!SWIG_IsOK(res1)) {
30383  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_insert" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
30384  }
30385  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
30386  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
30387  if (!SWIG_IsOK(res2) || !iter2) {
30388  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CollisionPairPtr_insert" "', argument " "2"" of type '" "std::vector< CollisionPair * >::iterator""'");
30389  } else {
30391  if (iter_t) {
30392  arg2 = iter_t->get_current();
30393  } else {
30394  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CollisionPairPtr_insert" "', argument " "2"" of type '" "std::vector< CollisionPair * >::iterator""'");
30395  }
30396  }
30397  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
30398  if (!SWIG_IsOK(ecode3)) {
30399  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CollisionPairPtr_insert" "', argument " "3"" of type '" "std::vector< CollisionPair * >::size_type""'");
30400  }
30401  arg3 = static_cast< std::vector< CollisionPair * >::size_type >(val3);
30402  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_CollisionPair, 0 | 0 );
30403  if (!SWIG_IsOK(res4)) {
30404  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_CollisionPairPtr_insert" "', argument " "4"" of type '" "std::vector< CollisionPair * >::value_type""'");
30405  }
30406  arg4 = reinterpret_cast< std::vector< CollisionPair * >::value_type >(argp4);
30407  std_vector_Sl_CollisionPair_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
30408  resultobj = SWIG_Py_Void();
30409  return resultobj;
30410 fail:
30411  return NULL;
30412 }
30413 
30414 
30415 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_insert(PyObject *self, PyObject *args) {
30416  int argc;
30417  PyObject *argv[5];
30418  int ii;
30419 
30420  if (!PyTuple_Check(args)) SWIG_fail;
30421  argc = args ? (int)PyObject_Length(args) : 0;
30422  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
30423  argv[ii] = PyTuple_GET_ITEM(args,ii);
30424  }
30425  if (argc == 3) {
30426  int _v;
30427  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
30428  _v = SWIG_CheckState(res);
30429  if (_v) {
30430  swig::SwigPyIterator *iter = 0;
30431  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
30432  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CollisionPair * >::iterator > *>(iter) != 0));
30433  if (_v) {
30434  void *vptr = 0;
30435  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CollisionPair, 0);
30436  _v = SWIG_CheckState(res);
30437  if (_v) {
30438  return _wrap_vector_CollisionPairPtr_insert__SWIG_0(self, args);
30439  }
30440  }
30441  }
30442  }
30443  if (argc == 4) {
30444  int _v;
30445  int res = swig::asptr(argv[0], (std::vector<CollisionPair*,std::allocator< CollisionPair * > >**)(0));
30446  _v = SWIG_CheckState(res);
30447  if (_v) {
30448  swig::SwigPyIterator *iter = 0;
30449  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
30450  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CollisionPair * >::iterator > *>(iter) != 0));
30451  if (_v) {
30452  {
30453  int res = SWIG_AsVal_size_t(argv[2], NULL);
30454  _v = SWIG_CheckState(res);
30455  }
30456  if (_v) {
30457  void *vptr = 0;
30458  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CollisionPair, 0);
30459  _v = SWIG_CheckState(res);
30460  if (_v) {
30461  return _wrap_vector_CollisionPairPtr_insert__SWIG_1(self, args);
30462  }
30463  }
30464  }
30465  }
30466  }
30467 
30468 fail:
30469  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_CollisionPairPtr_insert'.\n"
30470  " Possible C/C++ prototypes are:\n"
30471  " std::vector< CollisionPair * >::insert(std::vector< CollisionPair * >::iterator,std::vector< CollisionPair * >::value_type)\n"
30472  " std::vector< CollisionPair * >::insert(std::vector< CollisionPair * >::iterator,std::vector< CollisionPair * >::size_type,std::vector< CollisionPair * >::value_type)\n");
30473  return 0;
30474 }
30475 
30476 
30477 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30478  PyObject *resultobj = 0;
30479  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
30480  std::vector< CollisionPair * >::size_type arg2 ;
30481  void *argp1 = 0 ;
30482  int res1 = 0 ;
30483  size_t val2 ;
30484  int ecode2 = 0 ;
30485  PyObject * obj0 = 0 ;
30486  PyObject * obj1 = 0 ;
30487 
30488  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CollisionPairPtr_reserve",&obj0,&obj1)) SWIG_fail;
30489  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
30490  if (!SWIG_IsOK(res1)) {
30491  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_reserve" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
30492  }
30493  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
30494  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
30495  if (!SWIG_IsOK(ecode2)) {
30496  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CollisionPairPtr_reserve" "', argument " "2"" of type '" "std::vector< CollisionPair * >::size_type""'");
30497  }
30498  arg2 = static_cast< std::vector< CollisionPair * >::size_type >(val2);
30499  (arg1)->reserve(arg2);
30500  resultobj = SWIG_Py_Void();
30501  return resultobj;
30502 fail:
30503  return NULL;
30504 }
30505 
30506 
30507 SWIGINTERN PyObject *_wrap_vector_CollisionPairPtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30508  PyObject *resultobj = 0;
30509  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
30510  void *argp1 = 0 ;
30511  int res1 = 0 ;
30512  PyObject * obj0 = 0 ;
30513  std::vector< CollisionPair * >::size_type result;
30514 
30515  if (!PyArg_ParseTuple(args,(char *)"O:vector_CollisionPairPtr_capacity",&obj0)) SWIG_fail;
30516  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0 | 0 );
30517  if (!SWIG_IsOK(res1)) {
30518  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CollisionPairPtr_capacity" "', argument " "1"" of type '" "std::vector< CollisionPair * > const *""'");
30519  }
30520  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
30521  result = ((std::vector< CollisionPair * > const *)arg1)->capacity();
30522  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
30523  return resultobj;
30524 fail:
30525  return NULL;
30526 }
30527 
30528 
30529 SWIGINTERN PyObject *_wrap_delete_vector_CollisionPairPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30530  PyObject *resultobj = 0;
30531  std::vector< CollisionPair * > *arg1 = (std::vector< CollisionPair * > *) 0 ;
30532  void *argp1 = 0 ;
30533  int res1 = 0 ;
30534  PyObject * obj0 = 0 ;
30535 
30536  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_CollisionPairPtr",&obj0)) SWIG_fail;
30537  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, SWIG_POINTER_DISOWN | 0 );
30538  if (!SWIG_IsOK(res1)) {
30539  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_CollisionPairPtr" "', argument " "1"" of type '" "std::vector< CollisionPair * > *""'");
30540  }
30541  arg1 = reinterpret_cast< std::vector< CollisionPair * > * >(argp1);
30542  {
30543  try {
30544  delete arg1;
30545  }
30546  catch(CStdErrorInfo oError)
30547  {
30548  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
30549  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
30550  PyErr_SetString(PyExc_IndexError, strError.c_str());
30551  SWIG_fail;
30552  }
30553  catch(...)
30554  {
30555  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
30556  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
30557  SWIG_fail;
30558  }
30559  }
30560  resultobj = SWIG_Py_Void();
30561  return resultobj;
30562 fail:
30563  return NULL;
30564 }
30565 
30566 
30567 SWIGINTERN PyObject *vector_CollisionPairPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30568  PyObject *obj;
30569  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
30570  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, SWIG_NewClientData(obj));
30571  return SWIG_Py_Void();
30572 }
30573 
30574 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30575  PyObject *resultobj = 0;
30576  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
30577  PyObject **arg2 = (PyObject **) 0 ;
30578  void *argp1 = 0 ;
30579  int res1 = 0 ;
30580  PyObject * obj0 = 0 ;
30581  swig::SwigPyIterator *result = 0 ;
30582 
30583  arg2 = &obj0;
30584  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr_iterator",&obj0)) SWIG_fail;
30585  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
30586  if (!SWIG_IsOK(res1)) {
30587  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_iterator" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
30588  }
30589  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
30590  result = (swig::SwigPyIterator *)std_vector_Sl_CStdVariable_Sm__Sg__iterator(arg1,arg2);
30591  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
30592  return resultobj;
30593 fail:
30594  return NULL;
30595 }
30596 
30597 
30598 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30599  PyObject *resultobj = 0;
30600  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
30601  void *argp1 = 0 ;
30602  int res1 = 0 ;
30603  PyObject * obj0 = 0 ;
30604  bool result;
30605 
30606  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr___nonzero__",&obj0)) SWIG_fail;
30607  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
30608  if (!SWIG_IsOK(res1)) {
30609  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr___nonzero__" "', argument " "1"" of type '" "std::vector< CStdVariable * > const *""'");
30610  }
30611  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
30612  result = (bool)std_vector_Sl_CStdVariable_Sm__Sg____nonzero__((std::vector< CStdVariable * > const *)arg1);
30613  resultobj = SWIG_From_bool(static_cast< bool >(result));
30614  return resultobj;
30615 fail:
30616  return NULL;
30617 }
30618 
30619 
30620 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30621  PyObject *resultobj = 0;
30622  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
30623  void *argp1 = 0 ;
30624  int res1 = 0 ;
30625  PyObject * obj0 = 0 ;
30626  bool result;
30627 
30628  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr___bool__",&obj0)) SWIG_fail;
30629  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
30630  if (!SWIG_IsOK(res1)) {
30631  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr___bool__" "', argument " "1"" of type '" "std::vector< CStdVariable * > const *""'");
30632  }
30633  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
30634  result = (bool)std_vector_Sl_CStdVariable_Sm__Sg____bool__((std::vector< CStdVariable * > const *)arg1);
30635  resultobj = SWIG_From_bool(static_cast< bool >(result));
30636  return resultobj;
30637 fail:
30638  return NULL;
30639 }
30640 
30641 
30642 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30643  PyObject *resultobj = 0;
30644  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
30645  void *argp1 = 0 ;
30646  int res1 = 0 ;
30647  PyObject * obj0 = 0 ;
30648  std::vector< CStdVariable * >::size_type result;
30649 
30650  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr___len__",&obj0)) SWIG_fail;
30651  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
30652  if (!SWIG_IsOK(res1)) {
30653  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr___len__" "', argument " "1"" of type '" "std::vector< CStdVariable * > const *""'");
30654  }
30655  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
30656  result = std_vector_Sl_CStdVariable_Sm__Sg____len__((std::vector< CStdVariable * > const *)arg1);
30657  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
30658  return resultobj;
30659 fail:
30660  return NULL;
30661 }
30662 
30663 
30664 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30665  PyObject *resultobj = 0;
30666  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
30667  void *argp1 = 0 ;
30668  int res1 = 0 ;
30669  PyObject * obj0 = 0 ;
30670  std::vector< CStdVariable * >::value_type result;
30671 
30672  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr_pop",&obj0)) SWIG_fail;
30673  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
30674  if (!SWIG_IsOK(res1)) {
30675  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_pop" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
30676  }
30677  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
30678  try {
30679  result = (std::vector< CStdVariable * >::value_type)std_vector_Sl_CStdVariable_Sm__Sg__pop(arg1);
30680  }
30681  catch(std::out_of_range &_e) {
30682  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
30683  }
30684 
30685  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
30686  return resultobj;
30687 fail:
30688  return NULL;
30689 }
30690 
30691 
30692 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30693  PyObject *resultobj = 0;
30694  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
30695  std::vector< CStdVariable * >::difference_type arg2 ;
30696  std::vector< CStdVariable * >::difference_type arg3 ;
30697  void *argp1 = 0 ;
30698  int res1 = 0 ;
30699  ptrdiff_t val2 ;
30700  int ecode2 = 0 ;
30701  ptrdiff_t val3 ;
30702  int ecode3 = 0 ;
30703  PyObject * obj0 = 0 ;
30704  PyObject * obj1 = 0 ;
30705  PyObject * obj2 = 0 ;
30706  std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > *result = 0 ;
30707 
30708  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CStdVariablePtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
30709  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
30710  if (!SWIG_IsOK(res1)) {
30711  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr___getslice__" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
30712  }
30713  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
30714  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
30715  if (!SWIG_IsOK(ecode2)) {
30716  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CStdVariablePtr___getslice__" "', argument " "2"" of type '" "std::vector< CStdVariable * >::difference_type""'");
30717  }
30718  arg2 = static_cast< std::vector< CStdVariable * >::difference_type >(val2);
30719  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
30720  if (!SWIG_IsOK(ecode3)) {
30721  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CStdVariablePtr___getslice__" "', argument " "3"" of type '" "std::vector< CStdVariable * >::difference_type""'");
30722  }
30723  arg3 = static_cast< std::vector< CStdVariable * >::difference_type >(val3);
30724  try {
30725  result = (std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > *)std_vector_Sl_CStdVariable_Sm__Sg____getslice__(arg1,arg2,arg3);
30726  }
30727  catch(std::out_of_range &_e) {
30728  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
30729  }
30730  catch(std::invalid_argument &_e) {
30731  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
30732  }
30733 
30734  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, SWIG_POINTER_OWN | 0 );
30735  return resultobj;
30736 fail:
30737  return NULL;
30738 }
30739 
30740 
30741 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30742  PyObject *resultobj = 0;
30743  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
30744  std::vector< CStdVariable * >::difference_type arg2 ;
30745  std::vector< CStdVariable * >::difference_type arg3 ;
30746  std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > *arg4 = 0 ;
30747  void *argp1 = 0 ;
30748  int res1 = 0 ;
30749  ptrdiff_t val2 ;
30750  int ecode2 = 0 ;
30751  ptrdiff_t val3 ;
30752  int ecode3 = 0 ;
30753  int res4 = SWIG_OLDOBJ ;
30754  PyObject * obj0 = 0 ;
30755  PyObject * obj1 = 0 ;
30756  PyObject * obj2 = 0 ;
30757  PyObject * obj3 = 0 ;
30758 
30759  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_CStdVariablePtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30760  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
30761  if (!SWIG_IsOK(res1)) {
30762  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr___setslice__" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
30763  }
30764  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
30765  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
30766  if (!SWIG_IsOK(ecode2)) {
30767  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CStdVariablePtr___setslice__" "', argument " "2"" of type '" "std::vector< CStdVariable * >::difference_type""'");
30768  }
30769  arg2 = static_cast< std::vector< CStdVariable * >::difference_type >(val2);
30770  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
30771  if (!SWIG_IsOK(ecode3)) {
30772  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CStdVariablePtr___setslice__" "', argument " "3"" of type '" "std::vector< CStdVariable * >::difference_type""'");
30773  }
30774  arg3 = static_cast< std::vector< CStdVariable * >::difference_type >(val3);
30775  {
30776  std::vector<CStdVariable*,std::allocator< CStdVariable * > > *ptr = (std::vector<CStdVariable*,std::allocator< CStdVariable * > > *)0;
30777  res4 = swig::asptr(obj3, &ptr);
30778  if (!SWIG_IsOK(res4)) {
30779  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_CStdVariablePtr___setslice__" "', argument " "4"" of type '" "std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > const &""'");
30780  }
30781  if (!ptr) {
30782  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_CStdVariablePtr___setslice__" "', argument " "4"" of type '" "std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > const &""'");
30783  }
30784  arg4 = ptr;
30785  }
30786  try {
30787  std_vector_Sl_CStdVariable_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > const &)*arg4);
30788  }
30789  catch(std::out_of_range &_e) {
30790  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
30791  }
30792  catch(std::invalid_argument &_e) {
30793  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
30794  }
30795 
30796  resultobj = SWIG_Py_Void();
30797  if (SWIG_IsNewObj(res4)) delete arg4;
30798  return resultobj;
30799 fail:
30800  if (SWIG_IsNewObj(res4)) delete arg4;
30801  return NULL;
30802 }
30803 
30804 
30805 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30806  PyObject *resultobj = 0;
30807  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
30808  std::vector< CStdVariable * >::difference_type arg2 ;
30809  std::vector< CStdVariable * >::difference_type arg3 ;
30810  void *argp1 = 0 ;
30811  int res1 = 0 ;
30812  ptrdiff_t val2 ;
30813  int ecode2 = 0 ;
30814  ptrdiff_t val3 ;
30815  int ecode3 = 0 ;
30816  PyObject * obj0 = 0 ;
30817  PyObject * obj1 = 0 ;
30818  PyObject * obj2 = 0 ;
30819 
30820  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CStdVariablePtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
30821  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
30822  if (!SWIG_IsOK(res1)) {
30823  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr___setslice__" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
30824  }
30825  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
30826  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
30827  if (!SWIG_IsOK(ecode2)) {
30828  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CStdVariablePtr___setslice__" "', argument " "2"" of type '" "std::vector< CStdVariable * >::difference_type""'");
30829  }
30830  arg2 = static_cast< std::vector< CStdVariable * >::difference_type >(val2);
30831  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
30832  if (!SWIG_IsOK(ecode3)) {
30833  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CStdVariablePtr___setslice__" "', argument " "3"" of type '" "std::vector< CStdVariable * >::difference_type""'");
30834  }
30835  arg3 = static_cast< std::vector< CStdVariable * >::difference_type >(val3);
30836  try {
30837  std_vector_Sl_CStdVariable_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
30838  }
30839  catch(std::out_of_range &_e) {
30840  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
30841  }
30842  catch(std::invalid_argument &_e) {
30843  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
30844  }
30845 
30846  resultobj = SWIG_Py_Void();
30847  return resultobj;
30848 fail:
30849  return NULL;
30850 }
30851 
30852 
30853 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___setslice__(PyObject *self, PyObject *args) {
30854  int argc;
30855  PyObject *argv[5];
30856  int ii;
30857 
30858  if (!PyTuple_Check(args)) SWIG_fail;
30859  argc = args ? (int)PyObject_Length(args) : 0;
30860  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
30861  argv[ii] = PyTuple_GET_ITEM(args,ii);
30862  }
30863  if (argc == 3) {
30864  int _v;
30865  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
30866  _v = SWIG_CheckState(res);
30867  if (_v) {
30868  {
30869  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
30870  _v = SWIG_CheckState(res);
30871  }
30872  if (_v) {
30873  {
30874  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
30875  _v = SWIG_CheckState(res);
30876  }
30877  if (_v) {
30878  return _wrap_vector_CStdVariablePtr___setslice____SWIG_1(self, args);
30879  }
30880  }
30881  }
30882  }
30883  if (argc == 4) {
30884  int _v;
30885  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
30886  _v = SWIG_CheckState(res);
30887  if (_v) {
30888  {
30889  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
30890  _v = SWIG_CheckState(res);
30891  }
30892  if (_v) {
30893  {
30894  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
30895  _v = SWIG_CheckState(res);
30896  }
30897  if (_v) {
30898  int res = swig::asptr(argv[3], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
30899  _v = SWIG_CheckState(res);
30900  if (_v) {
30901  return _wrap_vector_CStdVariablePtr___setslice____SWIG_0(self, args);
30902  }
30903  }
30904  }
30905  }
30906  }
30907 
30908 fail:
30909  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_CStdVariablePtr___setslice__'.\n"
30910  " Possible C/C++ prototypes are:\n"
30911  " std::vector< CStdVariable * >::__setslice__(std::vector< CStdVariable * >::difference_type,std::vector< CStdVariable * >::difference_type,std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > const &)\n"
30912  " std::vector< CStdVariable * >::__setslice__(std::vector< CStdVariable * >::difference_type,std::vector< CStdVariable * >::difference_type)\n");
30913  return 0;
30914 }
30915 
30916 
30917 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30918  PyObject *resultobj = 0;
30919  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
30920  std::vector< CStdVariable * >::difference_type arg2 ;
30921  std::vector< CStdVariable * >::difference_type arg3 ;
30922  void *argp1 = 0 ;
30923  int res1 = 0 ;
30924  ptrdiff_t val2 ;
30925  int ecode2 = 0 ;
30926  ptrdiff_t val3 ;
30927  int ecode3 = 0 ;
30928  PyObject * obj0 = 0 ;
30929  PyObject * obj1 = 0 ;
30930  PyObject * obj2 = 0 ;
30931 
30932  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CStdVariablePtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
30933  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
30934  if (!SWIG_IsOK(res1)) {
30935  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr___delslice__" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
30936  }
30937  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
30938  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
30939  if (!SWIG_IsOK(ecode2)) {
30940  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CStdVariablePtr___delslice__" "', argument " "2"" of type '" "std::vector< CStdVariable * >::difference_type""'");
30941  }
30942  arg2 = static_cast< std::vector< CStdVariable * >::difference_type >(val2);
30943  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
30944  if (!SWIG_IsOK(ecode3)) {
30945  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CStdVariablePtr___delslice__" "', argument " "3"" of type '" "std::vector< CStdVariable * >::difference_type""'");
30946  }
30947  arg3 = static_cast< std::vector< CStdVariable * >::difference_type >(val3);
30948  try {
30949  std_vector_Sl_CStdVariable_Sm__Sg____delslice__(arg1,arg2,arg3);
30950  }
30951  catch(std::out_of_range &_e) {
30952  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
30953  }
30954  catch(std::invalid_argument &_e) {
30955  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
30956  }
30957 
30958  resultobj = SWIG_Py_Void();
30959  return resultobj;
30960 fail:
30961  return NULL;
30962 }
30963 
30964 
30965 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30966  PyObject *resultobj = 0;
30967  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
30968  std::vector< CStdVariable * >::difference_type arg2 ;
30969  void *argp1 = 0 ;
30970  int res1 = 0 ;
30971  ptrdiff_t val2 ;
30972  int ecode2 = 0 ;
30973  PyObject * obj0 = 0 ;
30974  PyObject * obj1 = 0 ;
30975 
30976  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CStdVariablePtr___delitem__",&obj0,&obj1)) SWIG_fail;
30977  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
30978  if (!SWIG_IsOK(res1)) {
30979  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr___delitem__" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
30980  }
30981  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
30982  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
30983  if (!SWIG_IsOK(ecode2)) {
30984  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CStdVariablePtr___delitem__" "', argument " "2"" of type '" "std::vector< CStdVariable * >::difference_type""'");
30985  }
30986  arg2 = static_cast< std::vector< CStdVariable * >::difference_type >(val2);
30987  try {
30988  std_vector_Sl_CStdVariable_Sm__Sg____delitem____SWIG_0(arg1,arg2);
30989  }
30990  catch(std::out_of_range &_e) {
30991  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
30992  }
30993 
30994  resultobj = SWIG_Py_Void();
30995  return resultobj;
30996 fail:
30997  return NULL;
30998 }
30999 
31000 
31001 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31002  PyObject *resultobj = 0;
31003  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31004  PySliceObject *arg2 = (PySliceObject *) 0 ;
31005  void *argp1 = 0 ;
31006  int res1 = 0 ;
31007  PyObject * obj0 = 0 ;
31008  PyObject * obj1 = 0 ;
31009  std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > *result = 0 ;
31010 
31011  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CStdVariablePtr___getitem__",&obj0,&obj1)) SWIG_fail;
31012  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31013  if (!SWIG_IsOK(res1)) {
31014  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr___getitem__" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31015  }
31016  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31017  {
31018  if (!PySlice_Check(obj1)) {
31019  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CStdVariablePtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
31020  }
31021  arg2 = (PySliceObject *) obj1;
31022  }
31023  try {
31024  result = (std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > *)std_vector_Sl_CStdVariable_Sm__Sg____getitem____SWIG_0(arg1,arg2);
31025  }
31026  catch(std::out_of_range &_e) {
31027  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
31028  }
31029  catch(std::invalid_argument &_e) {
31030  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
31031  }
31032 
31033  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, SWIG_POINTER_OWN | 0 );
31034  return resultobj;
31035 fail:
31036  return NULL;
31037 }
31038 
31039 
31040 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31041  PyObject *resultobj = 0;
31042  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31043  PySliceObject *arg2 = (PySliceObject *) 0 ;
31044  std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > *arg3 = 0 ;
31045  void *argp1 = 0 ;
31046  int res1 = 0 ;
31047  int res3 = SWIG_OLDOBJ ;
31048  PyObject * obj0 = 0 ;
31049  PyObject * obj1 = 0 ;
31050  PyObject * obj2 = 0 ;
31051 
31052  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CStdVariablePtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
31053  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31054  if (!SWIG_IsOK(res1)) {
31055  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr___setitem__" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31056  }
31057  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31058  {
31059  if (!PySlice_Check(obj1)) {
31060  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CStdVariablePtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
31061  }
31062  arg2 = (PySliceObject *) obj1;
31063  }
31064  {
31065  std::vector<CStdVariable*,std::allocator< CStdVariable * > > *ptr = (std::vector<CStdVariable*,std::allocator< CStdVariable * > > *)0;
31066  res3 = swig::asptr(obj2, &ptr);
31067  if (!SWIG_IsOK(res3)) {
31068  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CStdVariablePtr___setitem__" "', argument " "3"" of type '" "std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > const &""'");
31069  }
31070  if (!ptr) {
31071  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_CStdVariablePtr___setitem__" "', argument " "3"" of type '" "std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > const &""'");
31072  }
31073  arg3 = ptr;
31074  }
31075  try {
31076  std_vector_Sl_CStdVariable_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > const &)*arg3);
31077  }
31078  catch(std::out_of_range &_e) {
31079  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
31080  }
31081  catch(std::invalid_argument &_e) {
31082  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
31083  }
31084 
31085  resultobj = SWIG_Py_Void();
31086  if (SWIG_IsNewObj(res3)) delete arg3;
31087  return resultobj;
31088 fail:
31089  if (SWIG_IsNewObj(res3)) delete arg3;
31090  return NULL;
31091 }
31092 
31093 
31094 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31095  PyObject *resultobj = 0;
31096  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31097  PySliceObject *arg2 = (PySliceObject *) 0 ;
31098  void *argp1 = 0 ;
31099  int res1 = 0 ;
31100  PyObject * obj0 = 0 ;
31101  PyObject * obj1 = 0 ;
31102 
31103  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CStdVariablePtr___setitem__",&obj0,&obj1)) SWIG_fail;
31104  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31105  if (!SWIG_IsOK(res1)) {
31106  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr___setitem__" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31107  }
31108  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31109  {
31110  if (!PySlice_Check(obj1)) {
31111  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CStdVariablePtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
31112  }
31113  arg2 = (PySliceObject *) obj1;
31114  }
31115  try {
31116  std_vector_Sl_CStdVariable_Sm__Sg____setitem____SWIG_1(arg1,arg2);
31117  }
31118  catch(std::out_of_range &_e) {
31119  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
31120  }
31121  catch(std::invalid_argument &_e) {
31122  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
31123  }
31124 
31125  resultobj = SWIG_Py_Void();
31126  return resultobj;
31127 fail:
31128  return NULL;
31129 }
31130 
31131 
31132 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31133  PyObject *resultobj = 0;
31134  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31135  PySliceObject *arg2 = (PySliceObject *) 0 ;
31136  void *argp1 = 0 ;
31137  int res1 = 0 ;
31138  PyObject * obj0 = 0 ;
31139  PyObject * obj1 = 0 ;
31140 
31141  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CStdVariablePtr___delitem__",&obj0,&obj1)) SWIG_fail;
31142  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31143  if (!SWIG_IsOK(res1)) {
31144  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr___delitem__" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31145  }
31146  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31147  {
31148  if (!PySlice_Check(obj1)) {
31149  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CStdVariablePtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
31150  }
31151  arg2 = (PySliceObject *) obj1;
31152  }
31153  try {
31154  std_vector_Sl_CStdVariable_Sm__Sg____delitem____SWIG_1(arg1,arg2);
31155  }
31156  catch(std::out_of_range &_e) {
31157  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
31158  }
31159  catch(std::invalid_argument &_e) {
31160  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
31161  }
31162 
31163  resultobj = SWIG_Py_Void();
31164  return resultobj;
31165 fail:
31166  return NULL;
31167 }
31168 
31169 
31170 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___delitem__(PyObject *self, PyObject *args) {
31171  int argc;
31172  PyObject *argv[3];
31173  int ii;
31174 
31175  if (!PyTuple_Check(args)) SWIG_fail;
31176  argc = args ? (int)PyObject_Length(args) : 0;
31177  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
31178  argv[ii] = PyTuple_GET_ITEM(args,ii);
31179  }
31180  if (argc == 2) {
31181  int _v;
31182  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
31183  _v = SWIG_CheckState(res);
31184  if (_v) {
31185  {
31186  _v = PySlice_Check(argv[1]);
31187  }
31188  if (_v) {
31189  return _wrap_vector_CStdVariablePtr___delitem____SWIG_1(self, args);
31190  }
31191  }
31192  }
31193  if (argc == 2) {
31194  int _v;
31195  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
31196  _v = SWIG_CheckState(res);
31197  if (_v) {
31198  {
31199  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
31200  _v = SWIG_CheckState(res);
31201  }
31202  if (_v) {
31203  return _wrap_vector_CStdVariablePtr___delitem____SWIG_0(self, args);
31204  }
31205  }
31206  }
31207 
31208 fail:
31209  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_CStdVariablePtr___delitem__'.\n"
31210  " Possible C/C++ prototypes are:\n"
31211  " std::vector< CStdVariable * >::__delitem__(std::vector< CStdVariable * >::difference_type)\n"
31212  " std::vector< CStdVariable * >::__delitem__(PySliceObject *)\n");
31213  return 0;
31214 }
31215 
31216 
31217 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31218  PyObject *resultobj = 0;
31219  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31220  std::vector< CStdVariable * >::difference_type arg2 ;
31221  void *argp1 = 0 ;
31222  int res1 = 0 ;
31223  ptrdiff_t val2 ;
31224  int ecode2 = 0 ;
31225  PyObject * obj0 = 0 ;
31226  PyObject * obj1 = 0 ;
31227  std::vector< CStdVariable * >::value_type result;
31228 
31229  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CStdVariablePtr___getitem__",&obj0,&obj1)) SWIG_fail;
31230  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31231  if (!SWIG_IsOK(res1)) {
31232  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr___getitem__" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31233  }
31234  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31235  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
31236  if (!SWIG_IsOK(ecode2)) {
31237  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CStdVariablePtr___getitem__" "', argument " "2"" of type '" "std::vector< CStdVariable * >::difference_type""'");
31238  }
31239  arg2 = static_cast< std::vector< CStdVariable * >::difference_type >(val2);
31240  try {
31241  result = (std::vector< CStdVariable * >::value_type)std_vector_Sl_CStdVariable_Sm__Sg____getitem____SWIG_1(arg1,arg2);
31242  }
31243  catch(std::out_of_range &_e) {
31244  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
31245  }
31246 
31247  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
31248  return resultobj;
31249 fail:
31250  return NULL;
31251 }
31252 
31253 
31254 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___getitem__(PyObject *self, PyObject *args) {
31255  int argc;
31256  PyObject *argv[3];
31257  int ii;
31258 
31259  if (!PyTuple_Check(args)) SWIG_fail;
31260  argc = args ? (int)PyObject_Length(args) : 0;
31261  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
31262  argv[ii] = PyTuple_GET_ITEM(args,ii);
31263  }
31264  if (argc == 2) {
31265  int _v;
31266  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
31267  _v = SWIG_CheckState(res);
31268  if (_v) {
31269  {
31270  _v = PySlice_Check(argv[1]);
31271  }
31272  if (_v) {
31273  return _wrap_vector_CStdVariablePtr___getitem____SWIG_0(self, args);
31274  }
31275  }
31276  }
31277  if (argc == 2) {
31278  int _v;
31279  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
31280  _v = SWIG_CheckState(res);
31281  if (_v) {
31282  {
31283  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
31284  _v = SWIG_CheckState(res);
31285  }
31286  if (_v) {
31287  return _wrap_vector_CStdVariablePtr___getitem____SWIG_1(self, args);
31288  }
31289  }
31290  }
31291 
31292 fail:
31293  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_CStdVariablePtr___getitem__'.\n"
31294  " Possible C/C++ prototypes are:\n"
31295  " std::vector< CStdVariable * >::__getitem__(PySliceObject *)\n"
31296  " std::vector< CStdVariable * >::__getitem__(std::vector< CStdVariable * >::difference_type)\n");
31297  return 0;
31298 }
31299 
31300 
31301 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31302  PyObject *resultobj = 0;
31303  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31304  std::vector< CStdVariable * >::difference_type arg2 ;
31305  std::vector< CStdVariable * >::value_type arg3 = (std::vector< CStdVariable * >::value_type) 0 ;
31306  void *argp1 = 0 ;
31307  int res1 = 0 ;
31308  ptrdiff_t val2 ;
31309  int ecode2 = 0 ;
31310  void *argp3 = 0 ;
31311  int res3 = 0 ;
31312  PyObject * obj0 = 0 ;
31313  PyObject * obj1 = 0 ;
31314  PyObject * obj2 = 0 ;
31315 
31316  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CStdVariablePtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
31317  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31318  if (!SWIG_IsOK(res1)) {
31319  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr___setitem__" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31320  }
31321  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31322  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
31323  if (!SWIG_IsOK(ecode2)) {
31324  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CStdVariablePtr___setitem__" "', argument " "2"" of type '" "std::vector< CStdVariable * >::difference_type""'");
31325  }
31326  arg2 = static_cast< std::vector< CStdVariable * >::difference_type >(val2);
31327  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
31328  if (!SWIG_IsOK(res3)) {
31329  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CStdVariablePtr___setitem__" "', argument " "3"" of type '" "std::vector< CStdVariable * >::value_type""'");
31330  }
31331  arg3 = reinterpret_cast< std::vector< CStdVariable * >::value_type >(argp3);
31332  try {
31333  std_vector_Sl_CStdVariable_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
31334  }
31335  catch(std::out_of_range &_e) {
31336  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
31337  }
31338 
31339  resultobj = SWIG_Py_Void();
31340  return resultobj;
31341 fail:
31342  return NULL;
31343 }
31344 
31345 
31346 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr___setitem__(PyObject *self, PyObject *args) {
31347  int argc;
31348  PyObject *argv[4];
31349  int ii;
31350 
31351  if (!PyTuple_Check(args)) SWIG_fail;
31352  argc = args ? (int)PyObject_Length(args) : 0;
31353  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
31354  argv[ii] = PyTuple_GET_ITEM(args,ii);
31355  }
31356  if (argc == 2) {
31357  int _v;
31358  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
31359  _v = SWIG_CheckState(res);
31360  if (_v) {
31361  {
31362  _v = PySlice_Check(argv[1]);
31363  }
31364  if (_v) {
31365  return _wrap_vector_CStdVariablePtr___setitem____SWIG_1(self, args);
31366  }
31367  }
31368  }
31369  if (argc == 3) {
31370  int _v;
31371  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
31372  _v = SWIG_CheckState(res);
31373  if (_v) {
31374  {
31375  _v = PySlice_Check(argv[1]);
31376  }
31377  if (_v) {
31378  int res = swig::asptr(argv[2], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
31379  _v = SWIG_CheckState(res);
31380  if (_v) {
31381  return _wrap_vector_CStdVariablePtr___setitem____SWIG_0(self, args);
31382  }
31383  }
31384  }
31385  }
31386  if (argc == 3) {
31387  int _v;
31388  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
31389  _v = SWIG_CheckState(res);
31390  if (_v) {
31391  {
31392  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
31393  _v = SWIG_CheckState(res);
31394  }
31395  if (_v) {
31396  void *vptr = 0;
31397  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_StdUtils__CStdVariable, 0);
31398  _v = SWIG_CheckState(res);
31399  if (_v) {
31400  return _wrap_vector_CStdVariablePtr___setitem____SWIG_2(self, args);
31401  }
31402  }
31403  }
31404  }
31405 
31406 fail:
31407  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_CStdVariablePtr___setitem__'.\n"
31408  " Possible C/C++ prototypes are:\n"
31409  " std::vector< CStdVariable * >::__setitem__(PySliceObject *,std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > const &)\n"
31410  " std::vector< CStdVariable * >::__setitem__(PySliceObject *)\n"
31411  " std::vector< CStdVariable * >::__setitem__(std::vector< CStdVariable * >::difference_type,std::vector< CStdVariable * >::value_type)\n");
31412  return 0;
31413 }
31414 
31415 
31416 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31417  PyObject *resultobj = 0;
31418  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31419  std::vector< CStdVariable * >::value_type arg2 = (std::vector< CStdVariable * >::value_type) 0 ;
31420  void *argp1 = 0 ;
31421  int res1 = 0 ;
31422  void *argp2 = 0 ;
31423  int res2 = 0 ;
31424  PyObject * obj0 = 0 ;
31425  PyObject * obj1 = 0 ;
31426 
31427  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CStdVariablePtr_append",&obj0,&obj1)) SWIG_fail;
31428  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31429  if (!SWIG_IsOK(res1)) {
31430  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_append" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31431  }
31432  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31433  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
31434  if (!SWIG_IsOK(res2)) {
31435  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_CStdVariablePtr_append" "', argument " "2"" of type '" "std::vector< CStdVariable * >::value_type""'");
31436  }
31437  arg2 = reinterpret_cast< std::vector< CStdVariable * >::value_type >(argp2);
31438  std_vector_Sl_CStdVariable_Sm__Sg__append(arg1,arg2);
31439  resultobj = SWIG_Py_Void();
31440  return resultobj;
31441 fail:
31442  return NULL;
31443 }
31444 
31445 
31446 SWIGINTERN PyObject *_wrap_new_vector_CStdVariablePtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31447  PyObject *resultobj = 0;
31448  std::vector< CStdVariable * > *result = 0 ;
31449 
31450  if (!PyArg_ParseTuple(args,(char *)":new_vector_CStdVariablePtr")) SWIG_fail;
31451  result = (std::vector< CStdVariable * > *)new std::vector< CStdVariable * >();
31452  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, SWIG_POINTER_NEW | 0 );
31453  return resultobj;
31454 fail:
31455  return NULL;
31456 }
31457 
31458 
31459 SWIGINTERN PyObject *_wrap_new_vector_CStdVariablePtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31460  PyObject *resultobj = 0;
31461  std::vector< CStdVariable * > *arg1 = 0 ;
31462  int res1 = SWIG_OLDOBJ ;
31463  PyObject * obj0 = 0 ;
31464  std::vector< CStdVariable * > *result = 0 ;
31465 
31466  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_CStdVariablePtr",&obj0)) SWIG_fail;
31467  {
31468  std::vector<CStdVariable*,std::allocator< CStdVariable * > > *ptr = (std::vector<CStdVariable*,std::allocator< CStdVariable * > > *)0;
31469  res1 = swig::asptr(obj0, &ptr);
31470  if (!SWIG_IsOK(res1)) {
31471  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_CStdVariablePtr" "', argument " "1"" of type '" "std::vector< CStdVariable * > const &""'");
31472  }
31473  if (!ptr) {
31474  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_CStdVariablePtr" "', argument " "1"" of type '" "std::vector< CStdVariable * > const &""'");
31475  }
31476  arg1 = ptr;
31477  }
31478  result = (std::vector< CStdVariable * > *)new std::vector< CStdVariable * >((std::vector< CStdVariable * > const &)*arg1);
31479  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, SWIG_POINTER_NEW | 0 );
31480  if (SWIG_IsNewObj(res1)) delete arg1;
31481  return resultobj;
31482 fail:
31483  if (SWIG_IsNewObj(res1)) delete arg1;
31484  return NULL;
31485 }
31486 
31487 
31488 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31489  PyObject *resultobj = 0;
31490  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31491  void *argp1 = 0 ;
31492  int res1 = 0 ;
31493  PyObject * obj0 = 0 ;
31494  bool result;
31495 
31496  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr_empty",&obj0)) SWIG_fail;
31497  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31498  if (!SWIG_IsOK(res1)) {
31499  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_empty" "', argument " "1"" of type '" "std::vector< CStdVariable * > const *""'");
31500  }
31501  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31502  result = (bool)((std::vector< CStdVariable * > const *)arg1)->empty();
31503  resultobj = SWIG_From_bool(static_cast< bool >(result));
31504  return resultobj;
31505 fail:
31506  return NULL;
31507 }
31508 
31509 
31510 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31511  PyObject *resultobj = 0;
31512  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31513  void *argp1 = 0 ;
31514  int res1 = 0 ;
31515  PyObject * obj0 = 0 ;
31516  std::vector< CStdVariable * >::size_type result;
31517 
31518  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr_size",&obj0)) SWIG_fail;
31519  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31520  if (!SWIG_IsOK(res1)) {
31521  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_size" "', argument " "1"" of type '" "std::vector< CStdVariable * > const *""'");
31522  }
31523  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31524  result = ((std::vector< CStdVariable * > const *)arg1)->size();
31525  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
31526  return resultobj;
31527 fail:
31528  return NULL;
31529 }
31530 
31531 
31532 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31533  PyObject *resultobj = 0;
31534  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31535  void *argp1 = 0 ;
31536  int res1 = 0 ;
31537  PyObject * obj0 = 0 ;
31538 
31539  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr_clear",&obj0)) SWIG_fail;
31540  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31541  if (!SWIG_IsOK(res1)) {
31542  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_clear" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31543  }
31544  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31545  (arg1)->clear();
31546  resultobj = SWIG_Py_Void();
31547  return resultobj;
31548 fail:
31549  return NULL;
31550 }
31551 
31552 
31553 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31554  PyObject *resultobj = 0;
31555  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31556  std::vector< CStdVariable * > *arg2 = 0 ;
31557  void *argp1 = 0 ;
31558  int res1 = 0 ;
31559  void *argp2 = 0 ;
31560  int res2 = 0 ;
31561  PyObject * obj0 = 0 ;
31562  PyObject * obj1 = 0 ;
31563 
31564  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CStdVariablePtr_swap",&obj0,&obj1)) SWIG_fail;
31565  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31566  if (!SWIG_IsOK(res1)) {
31567  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_swap" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31568  }
31569  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31570  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 );
31571  if (!SWIG_IsOK(res2)) {
31572  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_CStdVariablePtr_swap" "', argument " "2"" of type '" "std::vector< CStdVariable * > &""'");
31573  }
31574  if (!argp2) {
31575  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_CStdVariablePtr_swap" "', argument " "2"" of type '" "std::vector< CStdVariable * > &""'");
31576  }
31577  arg2 = reinterpret_cast< std::vector< CStdVariable * > * >(argp2);
31578  (arg1)->swap(*arg2);
31579  resultobj = SWIG_Py_Void();
31580  return resultobj;
31581 fail:
31582  return NULL;
31583 }
31584 
31585 
31586 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31587  PyObject *resultobj = 0;
31588  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31589  void *argp1 = 0 ;
31590  int res1 = 0 ;
31591  PyObject * obj0 = 0 ;
31592  SwigValueWrapper< std::allocator< StdUtils::CStdVariable * > > result;
31593 
31594  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr_get_allocator",&obj0)) SWIG_fail;
31595  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31596  if (!SWIG_IsOK(res1)) {
31597  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_get_allocator" "', argument " "1"" of type '" "std::vector< CStdVariable * > const *""'");
31598  }
31599  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31600  result = ((std::vector< CStdVariable * > const *)arg1)->get_allocator();
31601  resultobj = SWIG_NewPointerObj((new std::vector< CStdVariable * >::allocator_type(static_cast< const std::vector< CStdVariable * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_StdUtils__CStdVariable_p_t, SWIG_POINTER_OWN | 0 );
31602  return resultobj;
31603 fail:
31604  return NULL;
31605 }
31606 
31607 
31608 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31609  PyObject *resultobj = 0;
31610  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31611  void *argp1 = 0 ;
31612  int res1 = 0 ;
31613  PyObject * obj0 = 0 ;
31614  std::vector< CStdVariable * >::iterator result;
31615 
31616  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr_begin",&obj0)) SWIG_fail;
31617  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31618  if (!SWIG_IsOK(res1)) {
31619  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_begin" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31620  }
31621  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31622  result = (arg1)->begin();
31623  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CStdVariable * >::iterator & >(result)),
31624  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
31625  return resultobj;
31626 fail:
31627  return NULL;
31628 }
31629 
31630 
31631 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31632  PyObject *resultobj = 0;
31633  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31634  void *argp1 = 0 ;
31635  int res1 = 0 ;
31636  PyObject * obj0 = 0 ;
31637  std::vector< CStdVariable * >::iterator result;
31638 
31639  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr_end",&obj0)) SWIG_fail;
31640  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31641  if (!SWIG_IsOK(res1)) {
31642  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_end" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31643  }
31644  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31645  result = (arg1)->end();
31646  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CStdVariable * >::iterator & >(result)),
31647  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
31648  return resultobj;
31649 fail:
31650  return NULL;
31651 }
31652 
31653 
31654 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31655  PyObject *resultobj = 0;
31656  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31657  void *argp1 = 0 ;
31658  int res1 = 0 ;
31659  PyObject * obj0 = 0 ;
31660  std::vector< CStdVariable * >::reverse_iterator result;
31661 
31662  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr_rbegin",&obj0)) SWIG_fail;
31663  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31664  if (!SWIG_IsOK(res1)) {
31665  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_rbegin" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31666  }
31667  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31668  result = (arg1)->rbegin();
31669  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CStdVariable * >::reverse_iterator & >(result)),
31670  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
31671  return resultobj;
31672 fail:
31673  return NULL;
31674 }
31675 
31676 
31677 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31678  PyObject *resultobj = 0;
31679  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31680  void *argp1 = 0 ;
31681  int res1 = 0 ;
31682  PyObject * obj0 = 0 ;
31683  std::vector< CStdVariable * >::reverse_iterator result;
31684 
31685  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr_rend",&obj0)) SWIG_fail;
31686  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31687  if (!SWIG_IsOK(res1)) {
31688  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_rend" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31689  }
31690  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31691  result = (arg1)->rend();
31692  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CStdVariable * >::reverse_iterator & >(result)),
31693  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
31694  return resultobj;
31695 fail:
31696  return NULL;
31697 }
31698 
31699 
31700 SWIGINTERN PyObject *_wrap_new_vector_CStdVariablePtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31701  PyObject *resultobj = 0;
31702  std::vector< CStdVariable * >::size_type arg1 ;
31703  size_t val1 ;
31704  int ecode1 = 0 ;
31705  PyObject * obj0 = 0 ;
31706  std::vector< CStdVariable * > *result = 0 ;
31707 
31708  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_CStdVariablePtr",&obj0)) SWIG_fail;
31709  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
31710  if (!SWIG_IsOK(ecode1)) {
31711  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_CStdVariablePtr" "', argument " "1"" of type '" "std::vector< CStdVariable * >::size_type""'");
31712  }
31713  arg1 = static_cast< std::vector< CStdVariable * >::size_type >(val1);
31714  result = (std::vector< CStdVariable * > *)new std::vector< CStdVariable * >(arg1);
31715  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, SWIG_POINTER_NEW | 0 );
31716  return resultobj;
31717 fail:
31718  return NULL;
31719 }
31720 
31721 
31722 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31723  PyObject *resultobj = 0;
31724  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31725  void *argp1 = 0 ;
31726  int res1 = 0 ;
31727  PyObject * obj0 = 0 ;
31728 
31729  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr_pop_back",&obj0)) SWIG_fail;
31730  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31731  if (!SWIG_IsOK(res1)) {
31732  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_pop_back" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31733  }
31734  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31735  (arg1)->pop_back();
31736  resultobj = SWIG_Py_Void();
31737  return resultobj;
31738 fail:
31739  return NULL;
31740 }
31741 
31742 
31743 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31744  PyObject *resultobj = 0;
31745  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31746  std::vector< CStdVariable * >::size_type arg2 ;
31747  void *argp1 = 0 ;
31748  int res1 = 0 ;
31749  size_t val2 ;
31750  int ecode2 = 0 ;
31751  PyObject * obj0 = 0 ;
31752  PyObject * obj1 = 0 ;
31753 
31754  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CStdVariablePtr_resize",&obj0,&obj1)) SWIG_fail;
31755  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31756  if (!SWIG_IsOK(res1)) {
31757  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_resize" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31758  }
31759  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31760  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
31761  if (!SWIG_IsOK(ecode2)) {
31762  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CStdVariablePtr_resize" "', argument " "2"" of type '" "std::vector< CStdVariable * >::size_type""'");
31763  }
31764  arg2 = static_cast< std::vector< CStdVariable * >::size_type >(val2);
31765  (arg1)->resize(arg2);
31766  resultobj = SWIG_Py_Void();
31767  return resultobj;
31768 fail:
31769  return NULL;
31770 }
31771 
31772 
31773 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31774  PyObject *resultobj = 0;
31775  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31776  std::vector< CStdVariable * >::iterator arg2 ;
31777  void *argp1 = 0 ;
31778  int res1 = 0 ;
31779  swig::SwigPyIterator *iter2 = 0 ;
31780  int res2 ;
31781  PyObject * obj0 = 0 ;
31782  PyObject * obj1 = 0 ;
31783  std::vector< CStdVariable * >::iterator result;
31784 
31785  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CStdVariablePtr_erase",&obj0,&obj1)) SWIG_fail;
31786  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31787  if (!SWIG_IsOK(res1)) {
31788  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_erase" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31789  }
31790  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31791  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
31792  if (!SWIG_IsOK(res2) || !iter2) {
31793  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CStdVariablePtr_erase" "', argument " "2"" of type '" "std::vector< CStdVariable * >::iterator""'");
31794  } else {
31796  if (iter_t) {
31797  arg2 = iter_t->get_current();
31798  } else {
31799  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CStdVariablePtr_erase" "', argument " "2"" of type '" "std::vector< CStdVariable * >::iterator""'");
31800  }
31801  }
31802  result = std_vector_Sl_CStdVariable_Sm__Sg__erase__SWIG_0(arg1,arg2);
31803  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CStdVariable * >::iterator & >(result)),
31804  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
31805  return resultobj;
31806 fail:
31807  return NULL;
31808 }
31809 
31810 
31811 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31812  PyObject *resultobj = 0;
31813  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
31814  std::vector< CStdVariable * >::iterator arg2 ;
31815  std::vector< CStdVariable * >::iterator arg3 ;
31816  void *argp1 = 0 ;
31817  int res1 = 0 ;
31818  swig::SwigPyIterator *iter2 = 0 ;
31819  int res2 ;
31820  swig::SwigPyIterator *iter3 = 0 ;
31821  int res3 ;
31822  PyObject * obj0 = 0 ;
31823  PyObject * obj1 = 0 ;
31824  PyObject * obj2 = 0 ;
31825  std::vector< CStdVariable * >::iterator result;
31826 
31827  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CStdVariablePtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
31828  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
31829  if (!SWIG_IsOK(res1)) {
31830  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_erase" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
31831  }
31832  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
31833  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
31834  if (!SWIG_IsOK(res2) || !iter2) {
31835  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CStdVariablePtr_erase" "', argument " "2"" of type '" "std::vector< CStdVariable * >::iterator""'");
31836  } else {
31838  if (iter_t) {
31839  arg2 = iter_t->get_current();
31840  } else {
31841  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CStdVariablePtr_erase" "', argument " "2"" of type '" "std::vector< CStdVariable * >::iterator""'");
31842  }
31843  }
31844  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
31845  if (!SWIG_IsOK(res3) || !iter3) {
31846  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CStdVariablePtr_erase" "', argument " "3"" of type '" "std::vector< CStdVariable * >::iterator""'");
31847  } else {
31849  if (iter_t) {
31850  arg3 = iter_t->get_current();
31851  } else {
31852  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CStdVariablePtr_erase" "', argument " "3"" of type '" "std::vector< CStdVariable * >::iterator""'");
31853  }
31854  }
31855  result = std_vector_Sl_CStdVariable_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
31856  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CStdVariable * >::iterator & >(result)),
31857  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
31858  return resultobj;
31859 fail:
31860  return NULL;
31861 }
31862 
31863 
31864 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_erase(PyObject *self, PyObject *args) {
31865  int argc;
31866  PyObject *argv[4];
31867  int ii;
31868 
31869  if (!PyTuple_Check(args)) SWIG_fail;
31870  argc = args ? (int)PyObject_Length(args) : 0;
31871  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
31872  argv[ii] = PyTuple_GET_ITEM(args,ii);
31873  }
31874  if (argc == 2) {
31875  int _v;
31876  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
31877  _v = SWIG_CheckState(res);
31878  if (_v) {
31879  swig::SwigPyIterator *iter = 0;
31880  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
31881  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CStdVariable * >::iterator > *>(iter) != 0));
31882  if (_v) {
31883  return _wrap_vector_CStdVariablePtr_erase__SWIG_0(self, args);
31884  }
31885  }
31886  }
31887  if (argc == 3) {
31888  int _v;
31889  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
31890  _v = SWIG_CheckState(res);
31891  if (_v) {
31892  swig::SwigPyIterator *iter = 0;
31893  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
31894  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CStdVariable * >::iterator > *>(iter) != 0));
31895  if (_v) {
31896  swig::SwigPyIterator *iter = 0;
31897  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
31898  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CStdVariable * >::iterator > *>(iter) != 0));
31899  if (_v) {
31900  return _wrap_vector_CStdVariablePtr_erase__SWIG_1(self, args);
31901  }
31902  }
31903  }
31904  }
31905 
31906 fail:
31907  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_CStdVariablePtr_erase'.\n"
31908  " Possible C/C++ prototypes are:\n"
31909  " std::vector< CStdVariable * >::erase(std::vector< CStdVariable * >::iterator)\n"
31910  " std::vector< CStdVariable * >::erase(std::vector< CStdVariable * >::iterator,std::vector< CStdVariable * >::iterator)\n");
31911  return 0;
31912 }
31913 
31914 
31915 SWIGINTERN PyObject *_wrap_new_vector_CStdVariablePtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31916  PyObject *resultobj = 0;
31917  std::vector< CStdVariable * >::size_type arg1 ;
31918  std::vector< CStdVariable * >::value_type arg2 = (std::vector< CStdVariable * >::value_type) 0 ;
31919  size_t val1 ;
31920  int ecode1 = 0 ;
31921  void *argp2 = 0 ;
31922  int res2 = 0 ;
31923  PyObject * obj0 = 0 ;
31924  PyObject * obj1 = 0 ;
31925  std::vector< CStdVariable * > *result = 0 ;
31926 
31927  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_CStdVariablePtr",&obj0,&obj1)) SWIG_fail;
31928  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
31929  if (!SWIG_IsOK(ecode1)) {
31930  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_CStdVariablePtr" "', argument " "1"" of type '" "std::vector< CStdVariable * >::size_type""'");
31931  }
31932  arg1 = static_cast< std::vector< CStdVariable * >::size_type >(val1);
31933  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
31934  if (!SWIG_IsOK(res2)) {
31935  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_CStdVariablePtr" "', argument " "2"" of type '" "std::vector< CStdVariable * >::value_type""'");
31936  }
31937  arg2 = reinterpret_cast< std::vector< CStdVariable * >::value_type >(argp2);
31938  result = (std::vector< CStdVariable * > *)new std::vector< CStdVariable * >(arg1,arg2);
31939  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, SWIG_POINTER_NEW | 0 );
31940  return resultobj;
31941 fail:
31942  return NULL;
31943 }
31944 
31945 
31946 SWIGINTERN PyObject *_wrap_new_vector_CStdVariablePtr(PyObject *self, PyObject *args) {
31947  int argc;
31948  PyObject *argv[3];
31949  int ii;
31950 
31951  if (!PyTuple_Check(args)) SWIG_fail;
31952  argc = args ? (int)PyObject_Length(args) : 0;
31953  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
31954  argv[ii] = PyTuple_GET_ITEM(args,ii);
31955  }
31956  if (argc == 0) {
31957  return _wrap_new_vector_CStdVariablePtr__SWIG_0(self, args);
31958  }
31959  if (argc == 1) {
31960  int _v;
31961  {
31962  int res = SWIG_AsVal_size_t(argv[0], NULL);
31963  _v = SWIG_CheckState(res);
31964  }
31965  if (_v) {
31966  return _wrap_new_vector_CStdVariablePtr__SWIG_2(self, args);
31967  }
31968  }
31969  if (argc == 1) {
31970  int _v;
31971  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
31972  _v = SWIG_CheckState(res);
31973  if (_v) {
31974  return _wrap_new_vector_CStdVariablePtr__SWIG_1(self, args);
31975  }
31976  }
31977  if (argc == 2) {
31978  int _v;
31979  {
31980  int res = SWIG_AsVal_size_t(argv[0], NULL);
31981  _v = SWIG_CheckState(res);
31982  }
31983  if (_v) {
31984  void *vptr = 0;
31985  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdVariable, 0);
31986  _v = SWIG_CheckState(res);
31987  if (_v) {
31988  return _wrap_new_vector_CStdVariablePtr__SWIG_3(self, args);
31989  }
31990  }
31991  }
31992 
31993 fail:
31994  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_CStdVariablePtr'.\n"
31995  " Possible C/C++ prototypes are:\n"
31996  " std::vector< CStdVariable * >::vector()\n"
31997  " std::vector< CStdVariable * >::vector(std::vector< CStdVariable * > const &)\n"
31998  " std::vector< CStdVariable * >::vector(std::vector< CStdVariable * >::size_type)\n"
31999  " std::vector< CStdVariable * >::vector(std::vector< CStdVariable * >::size_type,std::vector< CStdVariable * >::value_type)\n");
32000  return 0;
32001 }
32002 
32003 
32004 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32005  PyObject *resultobj = 0;
32006  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
32007  std::vector< CStdVariable * >::value_type arg2 = (std::vector< CStdVariable * >::value_type) 0 ;
32008  void *argp1 = 0 ;
32009  int res1 = 0 ;
32010  void *argp2 = 0 ;
32011  int res2 = 0 ;
32012  PyObject * obj0 = 0 ;
32013  PyObject * obj1 = 0 ;
32014 
32015  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CStdVariablePtr_push_back",&obj0,&obj1)) SWIG_fail;
32016  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
32017  if (!SWIG_IsOK(res1)) {
32018  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_push_back" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
32019  }
32020  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
32021  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
32022  if (!SWIG_IsOK(res2)) {
32023  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_CStdVariablePtr_push_back" "', argument " "2"" of type '" "std::vector< CStdVariable * >::value_type""'");
32024  }
32025  arg2 = reinterpret_cast< std::vector< CStdVariable * >::value_type >(argp2);
32026  (arg1)->push_back(arg2);
32027  resultobj = SWIG_Py_Void();
32028  return resultobj;
32029 fail:
32030  return NULL;
32031 }
32032 
32033 
32034 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32035  PyObject *resultobj = 0;
32036  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
32037  void *argp1 = 0 ;
32038  int res1 = 0 ;
32039  PyObject * obj0 = 0 ;
32040  std::vector< CStdVariable * >::value_type result;
32041 
32042  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr_front",&obj0)) SWIG_fail;
32043  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
32044  if (!SWIG_IsOK(res1)) {
32045  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_front" "', argument " "1"" of type '" "std::vector< CStdVariable * > const *""'");
32046  }
32047  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
32048  result = (std::vector< CStdVariable * >::value_type)((std::vector< CStdVariable * > const *)arg1)->front();
32049  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
32050  return resultobj;
32051 fail:
32052  return NULL;
32053 }
32054 
32055 
32056 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32057  PyObject *resultobj = 0;
32058  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
32059  void *argp1 = 0 ;
32060  int res1 = 0 ;
32061  PyObject * obj0 = 0 ;
32062  std::vector< CStdVariable * >::value_type result;
32063 
32064  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr_back",&obj0)) SWIG_fail;
32065  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
32066  if (!SWIG_IsOK(res1)) {
32067  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_back" "', argument " "1"" of type '" "std::vector< CStdVariable * > const *""'");
32068  }
32069  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
32070  result = (std::vector< CStdVariable * >::value_type)((std::vector< CStdVariable * > const *)arg1)->back();
32071  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
32072  return resultobj;
32073 fail:
32074  return NULL;
32075 }
32076 
32077 
32078 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32079  PyObject *resultobj = 0;
32080  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
32081  std::vector< CStdVariable * >::size_type arg2 ;
32082  std::vector< CStdVariable * >::value_type arg3 = (std::vector< CStdVariable * >::value_type) 0 ;
32083  void *argp1 = 0 ;
32084  int res1 = 0 ;
32085  size_t val2 ;
32086  int ecode2 = 0 ;
32087  void *argp3 = 0 ;
32088  int res3 = 0 ;
32089  PyObject * obj0 = 0 ;
32090  PyObject * obj1 = 0 ;
32091  PyObject * obj2 = 0 ;
32092 
32093  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CStdVariablePtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
32094  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
32095  if (!SWIG_IsOK(res1)) {
32096  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_assign" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
32097  }
32098  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
32099  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
32100  if (!SWIG_IsOK(ecode2)) {
32101  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CStdVariablePtr_assign" "', argument " "2"" of type '" "std::vector< CStdVariable * >::size_type""'");
32102  }
32103  arg2 = static_cast< std::vector< CStdVariable * >::size_type >(val2);
32104  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
32105  if (!SWIG_IsOK(res3)) {
32106  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CStdVariablePtr_assign" "', argument " "3"" of type '" "std::vector< CStdVariable * >::value_type""'");
32107  }
32108  arg3 = reinterpret_cast< std::vector< CStdVariable * >::value_type >(argp3);
32109  (arg1)->assign(arg2,arg3);
32110  resultobj = SWIG_Py_Void();
32111  return resultobj;
32112 fail:
32113  return NULL;
32114 }
32115 
32116 
32117 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32118  PyObject *resultobj = 0;
32119  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
32120  std::vector< CStdVariable * >::size_type arg2 ;
32121  std::vector< CStdVariable * >::value_type arg3 = (std::vector< CStdVariable * >::value_type) 0 ;
32122  void *argp1 = 0 ;
32123  int res1 = 0 ;
32124  size_t val2 ;
32125  int ecode2 = 0 ;
32126  void *argp3 = 0 ;
32127  int res3 = 0 ;
32128  PyObject * obj0 = 0 ;
32129  PyObject * obj1 = 0 ;
32130  PyObject * obj2 = 0 ;
32131 
32132  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CStdVariablePtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
32133  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
32134  if (!SWIG_IsOK(res1)) {
32135  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_resize" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
32136  }
32137  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
32138  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
32139  if (!SWIG_IsOK(ecode2)) {
32140  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CStdVariablePtr_resize" "', argument " "2"" of type '" "std::vector< CStdVariable * >::size_type""'");
32141  }
32142  arg2 = static_cast< std::vector< CStdVariable * >::size_type >(val2);
32143  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
32144  if (!SWIG_IsOK(res3)) {
32145  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CStdVariablePtr_resize" "', argument " "3"" of type '" "std::vector< CStdVariable * >::value_type""'");
32146  }
32147  arg3 = reinterpret_cast< std::vector< CStdVariable * >::value_type >(argp3);
32148  (arg1)->resize(arg2,arg3);
32149  resultobj = SWIG_Py_Void();
32150  return resultobj;
32151 fail:
32152  return NULL;
32153 }
32154 
32155 
32156 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_resize(PyObject *self, PyObject *args) {
32157  int argc;
32158  PyObject *argv[4];
32159  int ii;
32160 
32161  if (!PyTuple_Check(args)) SWIG_fail;
32162  argc = args ? (int)PyObject_Length(args) : 0;
32163  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
32164  argv[ii] = PyTuple_GET_ITEM(args,ii);
32165  }
32166  if (argc == 2) {
32167  int _v;
32168  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
32169  _v = SWIG_CheckState(res);
32170  if (_v) {
32171  {
32172  int res = SWIG_AsVal_size_t(argv[1], NULL);
32173  _v = SWIG_CheckState(res);
32174  }
32175  if (_v) {
32176  return _wrap_vector_CStdVariablePtr_resize__SWIG_0(self, args);
32177  }
32178  }
32179  }
32180  if (argc == 3) {
32181  int _v;
32182  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
32183  _v = SWIG_CheckState(res);
32184  if (_v) {
32185  {
32186  int res = SWIG_AsVal_size_t(argv[1], NULL);
32187  _v = SWIG_CheckState(res);
32188  }
32189  if (_v) {
32190  void *vptr = 0;
32191  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_StdUtils__CStdVariable, 0);
32192  _v = SWIG_CheckState(res);
32193  if (_v) {
32194  return _wrap_vector_CStdVariablePtr_resize__SWIG_1(self, args);
32195  }
32196  }
32197  }
32198  }
32199 
32200 fail:
32201  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_CStdVariablePtr_resize'.\n"
32202  " Possible C/C++ prototypes are:\n"
32203  " std::vector< CStdVariable * >::resize(std::vector< CStdVariable * >::size_type)\n"
32204  " std::vector< CStdVariable * >::resize(std::vector< CStdVariable * >::size_type,std::vector< CStdVariable * >::value_type)\n");
32205  return 0;
32206 }
32207 
32208 
32209 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32210  PyObject *resultobj = 0;
32211  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
32212  std::vector< CStdVariable * >::iterator arg2 ;
32213  std::vector< CStdVariable * >::value_type arg3 = (std::vector< CStdVariable * >::value_type) 0 ;
32214  void *argp1 = 0 ;
32215  int res1 = 0 ;
32216  swig::SwigPyIterator *iter2 = 0 ;
32217  int res2 ;
32218  void *argp3 = 0 ;
32219  int res3 = 0 ;
32220  PyObject * obj0 = 0 ;
32221  PyObject * obj1 = 0 ;
32222  PyObject * obj2 = 0 ;
32223  std::vector< CStdVariable * >::iterator result;
32224 
32225  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_CStdVariablePtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
32226  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
32227  if (!SWIG_IsOK(res1)) {
32228  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_insert" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
32229  }
32230  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
32231  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
32232  if (!SWIG_IsOK(res2) || !iter2) {
32233  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CStdVariablePtr_insert" "', argument " "2"" of type '" "std::vector< CStdVariable * >::iterator""'");
32234  } else {
32236  if (iter_t) {
32237  arg2 = iter_t->get_current();
32238  } else {
32239  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CStdVariablePtr_insert" "', argument " "2"" of type '" "std::vector< CStdVariable * >::iterator""'");
32240  }
32241  }
32242  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
32243  if (!SWIG_IsOK(res3)) {
32244  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_CStdVariablePtr_insert" "', argument " "3"" of type '" "std::vector< CStdVariable * >::value_type""'");
32245  }
32246  arg3 = reinterpret_cast< std::vector< CStdVariable * >::value_type >(argp3);
32247  result = std_vector_Sl_CStdVariable_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
32248  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CStdVariable * >::iterator & >(result)),
32249  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
32250  return resultobj;
32251 fail:
32252  return NULL;
32253 }
32254 
32255 
32256 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32257  PyObject *resultobj = 0;
32258  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
32259  std::vector< CStdVariable * >::iterator arg2 ;
32260  std::vector< CStdVariable * >::size_type arg3 ;
32261  std::vector< CStdVariable * >::value_type arg4 = (std::vector< CStdVariable * >::value_type) 0 ;
32262  void *argp1 = 0 ;
32263  int res1 = 0 ;
32264  swig::SwigPyIterator *iter2 = 0 ;
32265  int res2 ;
32266  size_t val3 ;
32267  int ecode3 = 0 ;
32268  void *argp4 = 0 ;
32269  int res4 = 0 ;
32270  PyObject * obj0 = 0 ;
32271  PyObject * obj1 = 0 ;
32272  PyObject * obj2 = 0 ;
32273  PyObject * obj3 = 0 ;
32274 
32275  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_CStdVariablePtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
32276  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
32277  if (!SWIG_IsOK(res1)) {
32278  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_insert" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
32279  }
32280  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
32281  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
32282  if (!SWIG_IsOK(res2) || !iter2) {
32283  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CStdVariablePtr_insert" "', argument " "2"" of type '" "std::vector< CStdVariable * >::iterator""'");
32284  } else {
32286  if (iter_t) {
32287  arg2 = iter_t->get_current();
32288  } else {
32289  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_CStdVariablePtr_insert" "', argument " "2"" of type '" "std::vector< CStdVariable * >::iterator""'");
32290  }
32291  }
32292  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
32293  if (!SWIG_IsOK(ecode3)) {
32294  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_CStdVariablePtr_insert" "', argument " "3"" of type '" "std::vector< CStdVariable * >::size_type""'");
32295  }
32296  arg3 = static_cast< std::vector< CStdVariable * >::size_type >(val3);
32297  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
32298  if (!SWIG_IsOK(res4)) {
32299  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_CStdVariablePtr_insert" "', argument " "4"" of type '" "std::vector< CStdVariable * >::value_type""'");
32300  }
32301  arg4 = reinterpret_cast< std::vector< CStdVariable * >::value_type >(argp4);
32302  std_vector_Sl_CStdVariable_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
32303  resultobj = SWIG_Py_Void();
32304  return resultobj;
32305 fail:
32306  return NULL;
32307 }
32308 
32309 
32310 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_insert(PyObject *self, PyObject *args) {
32311  int argc;
32312  PyObject *argv[5];
32313  int ii;
32314 
32315  if (!PyTuple_Check(args)) SWIG_fail;
32316  argc = args ? (int)PyObject_Length(args) : 0;
32317  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
32318  argv[ii] = PyTuple_GET_ITEM(args,ii);
32319  }
32320  if (argc == 3) {
32321  int _v;
32322  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
32323  _v = SWIG_CheckState(res);
32324  if (_v) {
32325  swig::SwigPyIterator *iter = 0;
32326  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
32327  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CStdVariable * >::iterator > *>(iter) != 0));
32328  if (_v) {
32329  void *vptr = 0;
32330  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_StdUtils__CStdVariable, 0);
32331  _v = SWIG_CheckState(res);
32332  if (_v) {
32333  return _wrap_vector_CStdVariablePtr_insert__SWIG_0(self, args);
32334  }
32335  }
32336  }
32337  }
32338  if (argc == 4) {
32339  int _v;
32340  int res = swig::asptr(argv[0], (std::vector<CStdVariable*,std::allocator< CStdVariable * > >**)(0));
32341  _v = SWIG_CheckState(res);
32342  if (_v) {
32343  swig::SwigPyIterator *iter = 0;
32344  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
32345  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CStdVariable * >::iterator > *>(iter) != 0));
32346  if (_v) {
32347  {
32348  int res = SWIG_AsVal_size_t(argv[2], NULL);
32349  _v = SWIG_CheckState(res);
32350  }
32351  if (_v) {
32352  void *vptr = 0;
32353  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_StdUtils__CStdVariable, 0);
32354  _v = SWIG_CheckState(res);
32355  if (_v) {
32356  return _wrap_vector_CStdVariablePtr_insert__SWIG_1(self, args);
32357  }
32358  }
32359  }
32360  }
32361  }
32362 
32363 fail:
32364  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_CStdVariablePtr_insert'.\n"
32365  " Possible C/C++ prototypes are:\n"
32366  " std::vector< CStdVariable * >::insert(std::vector< CStdVariable * >::iterator,std::vector< CStdVariable * >::value_type)\n"
32367  " std::vector< CStdVariable * >::insert(std::vector< CStdVariable * >::iterator,std::vector< CStdVariable * >::size_type,std::vector< CStdVariable * >::value_type)\n");
32368  return 0;
32369 }
32370 
32371 
32372 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32373  PyObject *resultobj = 0;
32374  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
32375  std::vector< CStdVariable * >::size_type arg2 ;
32376  void *argp1 = 0 ;
32377  int res1 = 0 ;
32378  size_t val2 ;
32379  int ecode2 = 0 ;
32380  PyObject * obj0 = 0 ;
32381  PyObject * obj1 = 0 ;
32382 
32383  if (!PyArg_ParseTuple(args,(char *)"OO:vector_CStdVariablePtr_reserve",&obj0,&obj1)) SWIG_fail;
32384  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
32385  if (!SWIG_IsOK(res1)) {
32386  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_reserve" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
32387  }
32388  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
32389  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
32390  if (!SWIG_IsOK(ecode2)) {
32391  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_CStdVariablePtr_reserve" "', argument " "2"" of type '" "std::vector< CStdVariable * >::size_type""'");
32392  }
32393  arg2 = static_cast< std::vector< CStdVariable * >::size_type >(val2);
32394  (arg1)->reserve(arg2);
32395  resultobj = SWIG_Py_Void();
32396  return resultobj;
32397 fail:
32398  return NULL;
32399 }
32400 
32401 
32402 SWIGINTERN PyObject *_wrap_vector_CStdVariablePtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32403  PyObject *resultobj = 0;
32404  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
32405  void *argp1 = 0 ;
32406  int res1 = 0 ;
32407  PyObject * obj0 = 0 ;
32408  std::vector< CStdVariable * >::size_type result;
32409 
32410  if (!PyArg_ParseTuple(args,(char *)"O:vector_CStdVariablePtr_capacity",&obj0)) SWIG_fail;
32411  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0 | 0 );
32412  if (!SWIG_IsOK(res1)) {
32413  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_CStdVariablePtr_capacity" "', argument " "1"" of type '" "std::vector< CStdVariable * > const *""'");
32414  }
32415  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
32416  result = ((std::vector< CStdVariable * > const *)arg1)->capacity();
32417  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
32418  return resultobj;
32419 fail:
32420  return NULL;
32421 }
32422 
32423 
32424 SWIGINTERN PyObject *_wrap_delete_vector_CStdVariablePtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32425  PyObject *resultobj = 0;
32426  std::vector< CStdVariable * > *arg1 = (std::vector< CStdVariable * > *) 0 ;
32427  void *argp1 = 0 ;
32428  int res1 = 0 ;
32429  PyObject * obj0 = 0 ;
32430 
32431  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_CStdVariablePtr",&obj0)) SWIG_fail;
32432  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, SWIG_POINTER_DISOWN | 0 );
32433  if (!SWIG_IsOK(res1)) {
32434  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_CStdVariablePtr" "', argument " "1"" of type '" "std::vector< CStdVariable * > *""'");
32435  }
32436  arg1 = reinterpret_cast< std::vector< CStdVariable * > * >(argp1);
32437  {
32438  try {
32439  delete arg1;
32440  }
32441  catch(CStdErrorInfo oError)
32442  {
32443  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
32444  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
32445  PyErr_SetString(PyExc_IndexError, strError.c_str());
32446  SWIG_fail;
32447  }
32448  catch(...)
32449  {
32450  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
32451  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
32452  SWIG_fail;
32453  }
32454  }
32455  resultobj = SWIG_Py_Void();
32456  return resultobj;
32457 fail:
32458  return NULL;
32459 }
32460 
32461 
32462 SWIGINTERN PyObject *vector_CStdVariablePtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32463  PyObject *obj;
32464  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
32465  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, SWIG_NewClientData(obj));
32466  return SWIG_Py_Void();
32467 }
32468 
32469 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32470  PyObject *resultobj = 0;
32471  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
32472  PyObject **arg2 = (PyObject **) 0 ;
32473  void *argp1 = 0 ;
32474  int res1 = 0 ;
32475  PyObject * obj0 = 0 ;
32476  swig::SwigPyIterator *result = 0 ;
32477 
32478  arg2 = &obj0;
32479  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr_iterator",&obj0)) SWIG_fail;
32480  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
32481  if (!SWIG_IsOK(res1)) {
32482  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_iterator" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
32483  }
32484  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
32485  result = (swig::SwigPyIterator *)std_vector_Sl_DataColumn_Sm__Sg__iterator(arg1,arg2);
32486  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
32487  return resultobj;
32488 fail:
32489  return NULL;
32490 }
32491 
32492 
32493 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32494  PyObject *resultobj = 0;
32495  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
32496  void *argp1 = 0 ;
32497  int res1 = 0 ;
32498  PyObject * obj0 = 0 ;
32499  bool result;
32500 
32501  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr___nonzero__",&obj0)) SWIG_fail;
32502  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
32503  if (!SWIG_IsOK(res1)) {
32504  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr___nonzero__" "', argument " "1"" of type '" "std::vector< DataColumn * > const *""'");
32505  }
32506  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
32507  result = (bool)std_vector_Sl_DataColumn_Sm__Sg____nonzero__((std::vector< DataColumn * > const *)arg1);
32508  resultobj = SWIG_From_bool(static_cast< bool >(result));
32509  return resultobj;
32510 fail:
32511  return NULL;
32512 }
32513 
32514 
32515 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32516  PyObject *resultobj = 0;
32517  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
32518  void *argp1 = 0 ;
32519  int res1 = 0 ;
32520  PyObject * obj0 = 0 ;
32521  bool result;
32522 
32523  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr___bool__",&obj0)) SWIG_fail;
32524  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
32525  if (!SWIG_IsOK(res1)) {
32526  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr___bool__" "', argument " "1"" of type '" "std::vector< DataColumn * > const *""'");
32527  }
32528  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
32529  result = (bool)std_vector_Sl_DataColumn_Sm__Sg____bool__((std::vector< DataColumn * > const *)arg1);
32530  resultobj = SWIG_From_bool(static_cast< bool >(result));
32531  return resultobj;
32532 fail:
32533  return NULL;
32534 }
32535 
32536 
32537 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32538  PyObject *resultobj = 0;
32539  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
32540  void *argp1 = 0 ;
32541  int res1 = 0 ;
32542  PyObject * obj0 = 0 ;
32543  std::vector< DataColumn * >::size_type result;
32544 
32545  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr___len__",&obj0)) SWIG_fail;
32546  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
32547  if (!SWIG_IsOK(res1)) {
32548  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr___len__" "', argument " "1"" of type '" "std::vector< DataColumn * > const *""'");
32549  }
32550  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
32551  result = std_vector_Sl_DataColumn_Sm__Sg____len__((std::vector< DataColumn * > const *)arg1);
32552  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
32553  return resultobj;
32554 fail:
32555  return NULL;
32556 }
32557 
32558 
32559 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32560  PyObject *resultobj = 0;
32561  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
32562  void *argp1 = 0 ;
32563  int res1 = 0 ;
32564  PyObject * obj0 = 0 ;
32565  std::vector< DataColumn * >::value_type result;
32566 
32567  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr_pop",&obj0)) SWIG_fail;
32568  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
32569  if (!SWIG_IsOK(res1)) {
32570  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_pop" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
32571  }
32572  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
32573  try {
32574  result = (std::vector< DataColumn * >::value_type)std_vector_Sl_DataColumn_Sm__Sg__pop(arg1);
32575  }
32576  catch(std::out_of_range &_e) {
32577  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
32578  }
32579 
32580  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DataColumn, 0 | 0 );
32581  return resultobj;
32582 fail:
32583  return NULL;
32584 }
32585 
32586 
32587 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32588  PyObject *resultobj = 0;
32589  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
32590  std::vector< DataColumn * >::difference_type arg2 ;
32591  std::vector< DataColumn * >::difference_type arg3 ;
32592  void *argp1 = 0 ;
32593  int res1 = 0 ;
32594  ptrdiff_t val2 ;
32595  int ecode2 = 0 ;
32596  ptrdiff_t val3 ;
32597  int ecode3 = 0 ;
32598  PyObject * obj0 = 0 ;
32599  PyObject * obj1 = 0 ;
32600  PyObject * obj2 = 0 ;
32601  std::vector< DataColumn *,std::allocator< DataColumn * > > *result = 0 ;
32602 
32603  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_DataColumnPtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
32604  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
32605  if (!SWIG_IsOK(res1)) {
32606  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr___getslice__" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
32607  }
32608  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
32609  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
32610  if (!SWIG_IsOK(ecode2)) {
32611  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_DataColumnPtr___getslice__" "', argument " "2"" of type '" "std::vector< DataColumn * >::difference_type""'");
32612  }
32613  arg2 = static_cast< std::vector< DataColumn * >::difference_type >(val2);
32614  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
32615  if (!SWIG_IsOK(ecode3)) {
32616  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_DataColumnPtr___getslice__" "', argument " "3"" of type '" "std::vector< DataColumn * >::difference_type""'");
32617  }
32618  arg3 = static_cast< std::vector< DataColumn * >::difference_type >(val3);
32619  try {
32620  result = (std::vector< DataColumn *,std::allocator< DataColumn * > > *)std_vector_Sl_DataColumn_Sm__Sg____getslice__(arg1,arg2,arg3);
32621  }
32622  catch(std::out_of_range &_e) {
32623  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
32624  }
32625  catch(std::invalid_argument &_e) {
32626  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
32627  }
32628 
32629  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, SWIG_POINTER_OWN | 0 );
32630  return resultobj;
32631 fail:
32632  return NULL;
32633 }
32634 
32635 
32636 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32637  PyObject *resultobj = 0;
32638  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
32639  std::vector< DataColumn * >::difference_type arg2 ;
32640  std::vector< DataColumn * >::difference_type arg3 ;
32641  std::vector< DataColumn *,std::allocator< DataColumn * > > *arg4 = 0 ;
32642  void *argp1 = 0 ;
32643  int res1 = 0 ;
32644  ptrdiff_t val2 ;
32645  int ecode2 = 0 ;
32646  ptrdiff_t val3 ;
32647  int ecode3 = 0 ;
32648  int res4 = SWIG_OLDOBJ ;
32649  PyObject * obj0 = 0 ;
32650  PyObject * obj1 = 0 ;
32651  PyObject * obj2 = 0 ;
32652  PyObject * obj3 = 0 ;
32653 
32654  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_DataColumnPtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
32655  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
32656  if (!SWIG_IsOK(res1)) {
32657  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr___setslice__" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
32658  }
32659  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
32660  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
32661  if (!SWIG_IsOK(ecode2)) {
32662  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_DataColumnPtr___setslice__" "', argument " "2"" of type '" "std::vector< DataColumn * >::difference_type""'");
32663  }
32664  arg2 = static_cast< std::vector< DataColumn * >::difference_type >(val2);
32665  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
32666  if (!SWIG_IsOK(ecode3)) {
32667  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_DataColumnPtr___setslice__" "', argument " "3"" of type '" "std::vector< DataColumn * >::difference_type""'");
32668  }
32669  arg3 = static_cast< std::vector< DataColumn * >::difference_type >(val3);
32670  {
32671  std::vector<DataColumn*,std::allocator< DataColumn * > > *ptr = (std::vector<DataColumn*,std::allocator< DataColumn * > > *)0;
32672  res4 = swig::asptr(obj3, &ptr);
32673  if (!SWIG_IsOK(res4)) {
32674  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_DataColumnPtr___setslice__" "', argument " "4"" of type '" "std::vector< DataColumn *,std::allocator< DataColumn * > > const &""'");
32675  }
32676  if (!ptr) {
32677  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_DataColumnPtr___setslice__" "', argument " "4"" of type '" "std::vector< DataColumn *,std::allocator< DataColumn * > > const &""'");
32678  }
32679  arg4 = ptr;
32680  }
32681  try {
32682  std_vector_Sl_DataColumn_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< DataColumn *,std::allocator< DataColumn * > > const &)*arg4);
32683  }
32684  catch(std::out_of_range &_e) {
32685  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
32686  }
32687  catch(std::invalid_argument &_e) {
32688  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
32689  }
32690 
32691  resultobj = SWIG_Py_Void();
32692  if (SWIG_IsNewObj(res4)) delete arg4;
32693  return resultobj;
32694 fail:
32695  if (SWIG_IsNewObj(res4)) delete arg4;
32696  return NULL;
32697 }
32698 
32699 
32700 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32701  PyObject *resultobj = 0;
32702  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
32703  std::vector< DataColumn * >::difference_type arg2 ;
32704  std::vector< DataColumn * >::difference_type arg3 ;
32705  void *argp1 = 0 ;
32706  int res1 = 0 ;
32707  ptrdiff_t val2 ;
32708  int ecode2 = 0 ;
32709  ptrdiff_t val3 ;
32710  int ecode3 = 0 ;
32711  PyObject * obj0 = 0 ;
32712  PyObject * obj1 = 0 ;
32713  PyObject * obj2 = 0 ;
32714 
32715  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_DataColumnPtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
32716  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
32717  if (!SWIG_IsOK(res1)) {
32718  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr___setslice__" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
32719  }
32720  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
32721  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
32722  if (!SWIG_IsOK(ecode2)) {
32723  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_DataColumnPtr___setslice__" "', argument " "2"" of type '" "std::vector< DataColumn * >::difference_type""'");
32724  }
32725  arg2 = static_cast< std::vector< DataColumn * >::difference_type >(val2);
32726  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
32727  if (!SWIG_IsOK(ecode3)) {
32728  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_DataColumnPtr___setslice__" "', argument " "3"" of type '" "std::vector< DataColumn * >::difference_type""'");
32729  }
32730  arg3 = static_cast< std::vector< DataColumn * >::difference_type >(val3);
32731  try {
32732  std_vector_Sl_DataColumn_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
32733  }
32734  catch(std::out_of_range &_e) {
32735  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
32736  }
32737  catch(std::invalid_argument &_e) {
32738  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
32739  }
32740 
32741  resultobj = SWIG_Py_Void();
32742  return resultobj;
32743 fail:
32744  return NULL;
32745 }
32746 
32747 
32748 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___setslice__(PyObject *self, PyObject *args) {
32749  int argc;
32750  PyObject *argv[5];
32751  int ii;
32752 
32753  if (!PyTuple_Check(args)) SWIG_fail;
32754  argc = args ? (int)PyObject_Length(args) : 0;
32755  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
32756  argv[ii] = PyTuple_GET_ITEM(args,ii);
32757  }
32758  if (argc == 3) {
32759  int _v;
32760  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
32761  _v = SWIG_CheckState(res);
32762  if (_v) {
32763  {
32764  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
32765  _v = SWIG_CheckState(res);
32766  }
32767  if (_v) {
32768  {
32769  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
32770  _v = SWIG_CheckState(res);
32771  }
32772  if (_v) {
32773  return _wrap_vector_DataColumnPtr___setslice____SWIG_1(self, args);
32774  }
32775  }
32776  }
32777  }
32778  if (argc == 4) {
32779  int _v;
32780  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
32781  _v = SWIG_CheckState(res);
32782  if (_v) {
32783  {
32784  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
32785  _v = SWIG_CheckState(res);
32786  }
32787  if (_v) {
32788  {
32789  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
32790  _v = SWIG_CheckState(res);
32791  }
32792  if (_v) {
32793  int res = swig::asptr(argv[3], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
32794  _v = SWIG_CheckState(res);
32795  if (_v) {
32796  return _wrap_vector_DataColumnPtr___setslice____SWIG_0(self, args);
32797  }
32798  }
32799  }
32800  }
32801  }
32802 
32803 fail:
32804  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_DataColumnPtr___setslice__'.\n"
32805  " Possible C/C++ prototypes are:\n"
32806  " std::vector< DataColumn * >::__setslice__(std::vector< DataColumn * >::difference_type,std::vector< DataColumn * >::difference_type,std::vector< DataColumn *,std::allocator< DataColumn * > > const &)\n"
32807  " std::vector< DataColumn * >::__setslice__(std::vector< DataColumn * >::difference_type,std::vector< DataColumn * >::difference_type)\n");
32808  return 0;
32809 }
32810 
32811 
32812 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32813  PyObject *resultobj = 0;
32814  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
32815  std::vector< DataColumn * >::difference_type arg2 ;
32816  std::vector< DataColumn * >::difference_type arg3 ;
32817  void *argp1 = 0 ;
32818  int res1 = 0 ;
32819  ptrdiff_t val2 ;
32820  int ecode2 = 0 ;
32821  ptrdiff_t val3 ;
32822  int ecode3 = 0 ;
32823  PyObject * obj0 = 0 ;
32824  PyObject * obj1 = 0 ;
32825  PyObject * obj2 = 0 ;
32826 
32827  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_DataColumnPtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
32828  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
32829  if (!SWIG_IsOK(res1)) {
32830  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr___delslice__" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
32831  }
32832  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
32833  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
32834  if (!SWIG_IsOK(ecode2)) {
32835  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_DataColumnPtr___delslice__" "', argument " "2"" of type '" "std::vector< DataColumn * >::difference_type""'");
32836  }
32837  arg2 = static_cast< std::vector< DataColumn * >::difference_type >(val2);
32838  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
32839  if (!SWIG_IsOK(ecode3)) {
32840  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_DataColumnPtr___delslice__" "', argument " "3"" of type '" "std::vector< DataColumn * >::difference_type""'");
32841  }
32842  arg3 = static_cast< std::vector< DataColumn * >::difference_type >(val3);
32843  try {
32844  std_vector_Sl_DataColumn_Sm__Sg____delslice__(arg1,arg2,arg3);
32845  }
32846  catch(std::out_of_range &_e) {
32847  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
32848  }
32849  catch(std::invalid_argument &_e) {
32850  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
32851  }
32852 
32853  resultobj = SWIG_Py_Void();
32854  return resultobj;
32855 fail:
32856  return NULL;
32857 }
32858 
32859 
32860 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32861  PyObject *resultobj = 0;
32862  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
32863  std::vector< DataColumn * >::difference_type arg2 ;
32864  void *argp1 = 0 ;
32865  int res1 = 0 ;
32866  ptrdiff_t val2 ;
32867  int ecode2 = 0 ;
32868  PyObject * obj0 = 0 ;
32869  PyObject * obj1 = 0 ;
32870 
32871  if (!PyArg_ParseTuple(args,(char *)"OO:vector_DataColumnPtr___delitem__",&obj0,&obj1)) SWIG_fail;
32872  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
32873  if (!SWIG_IsOK(res1)) {
32874  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr___delitem__" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
32875  }
32876  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
32877  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
32878  if (!SWIG_IsOK(ecode2)) {
32879  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_DataColumnPtr___delitem__" "', argument " "2"" of type '" "std::vector< DataColumn * >::difference_type""'");
32880  }
32881  arg2 = static_cast< std::vector< DataColumn * >::difference_type >(val2);
32882  try {
32883  std_vector_Sl_DataColumn_Sm__Sg____delitem____SWIG_0(arg1,arg2);
32884  }
32885  catch(std::out_of_range &_e) {
32886  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
32887  }
32888 
32889  resultobj = SWIG_Py_Void();
32890  return resultobj;
32891 fail:
32892  return NULL;
32893 }
32894 
32895 
32896 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32897  PyObject *resultobj = 0;
32898  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
32899  PySliceObject *arg2 = (PySliceObject *) 0 ;
32900  void *argp1 = 0 ;
32901  int res1 = 0 ;
32902  PyObject * obj0 = 0 ;
32903  PyObject * obj1 = 0 ;
32904  std::vector< DataColumn *,std::allocator< DataColumn * > > *result = 0 ;
32905 
32906  if (!PyArg_ParseTuple(args,(char *)"OO:vector_DataColumnPtr___getitem__",&obj0,&obj1)) SWIG_fail;
32907  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
32908  if (!SWIG_IsOK(res1)) {
32909  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr___getitem__" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
32910  }
32911  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
32912  {
32913  if (!PySlice_Check(obj1)) {
32914  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_DataColumnPtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
32915  }
32916  arg2 = (PySliceObject *) obj1;
32917  }
32918  try {
32919  result = (std::vector< DataColumn *,std::allocator< DataColumn * > > *)std_vector_Sl_DataColumn_Sm__Sg____getitem____SWIG_0(arg1,arg2);
32920  }
32921  catch(std::out_of_range &_e) {
32922  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
32923  }
32924  catch(std::invalid_argument &_e) {
32925  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
32926  }
32927 
32928  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, SWIG_POINTER_OWN | 0 );
32929  return resultobj;
32930 fail:
32931  return NULL;
32932 }
32933 
32934 
32935 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32936  PyObject *resultobj = 0;
32937  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
32938  PySliceObject *arg2 = (PySliceObject *) 0 ;
32939  std::vector< DataColumn *,std::allocator< DataColumn * > > *arg3 = 0 ;
32940  void *argp1 = 0 ;
32941  int res1 = 0 ;
32942  int res3 = SWIG_OLDOBJ ;
32943  PyObject * obj0 = 0 ;
32944  PyObject * obj1 = 0 ;
32945  PyObject * obj2 = 0 ;
32946 
32947  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_DataColumnPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
32948  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
32949  if (!SWIG_IsOK(res1)) {
32950  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr___setitem__" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
32951  }
32952  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
32953  {
32954  if (!PySlice_Check(obj1)) {
32955  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_DataColumnPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
32956  }
32957  arg2 = (PySliceObject *) obj1;
32958  }
32959  {
32960  std::vector<DataColumn*,std::allocator< DataColumn * > > *ptr = (std::vector<DataColumn*,std::allocator< DataColumn * > > *)0;
32961  res3 = swig::asptr(obj2, &ptr);
32962  if (!SWIG_IsOK(res3)) {
32963  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_DataColumnPtr___setitem__" "', argument " "3"" of type '" "std::vector< DataColumn *,std::allocator< DataColumn * > > const &""'");
32964  }
32965  if (!ptr) {
32966  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_DataColumnPtr___setitem__" "', argument " "3"" of type '" "std::vector< DataColumn *,std::allocator< DataColumn * > > const &""'");
32967  }
32968  arg3 = ptr;
32969  }
32970  try {
32971  std_vector_Sl_DataColumn_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< DataColumn *,std::allocator< DataColumn * > > const &)*arg3);
32972  }
32973  catch(std::out_of_range &_e) {
32974  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
32975  }
32976  catch(std::invalid_argument &_e) {
32977  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
32978  }
32979 
32980  resultobj = SWIG_Py_Void();
32981  if (SWIG_IsNewObj(res3)) delete arg3;
32982  return resultobj;
32983 fail:
32984  if (SWIG_IsNewObj(res3)) delete arg3;
32985  return NULL;
32986 }
32987 
32988 
32989 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32990  PyObject *resultobj = 0;
32991  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
32992  PySliceObject *arg2 = (PySliceObject *) 0 ;
32993  void *argp1 = 0 ;
32994  int res1 = 0 ;
32995  PyObject * obj0 = 0 ;
32996  PyObject * obj1 = 0 ;
32997 
32998  if (!PyArg_ParseTuple(args,(char *)"OO:vector_DataColumnPtr___setitem__",&obj0,&obj1)) SWIG_fail;
32999  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33000  if (!SWIG_IsOK(res1)) {
33001  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr___setitem__" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33002  }
33003  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33004  {
33005  if (!PySlice_Check(obj1)) {
33006  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_DataColumnPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
33007  }
33008  arg2 = (PySliceObject *) obj1;
33009  }
33010  try {
33011  std_vector_Sl_DataColumn_Sm__Sg____setitem____SWIG_1(arg1,arg2);
33012  }
33013  catch(std::out_of_range &_e) {
33014  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
33015  }
33016  catch(std::invalid_argument &_e) {
33017  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
33018  }
33019 
33020  resultobj = SWIG_Py_Void();
33021  return resultobj;
33022 fail:
33023  return NULL;
33024 }
33025 
33026 
33027 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33028  PyObject *resultobj = 0;
33029  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33030  PySliceObject *arg2 = (PySliceObject *) 0 ;
33031  void *argp1 = 0 ;
33032  int res1 = 0 ;
33033  PyObject * obj0 = 0 ;
33034  PyObject * obj1 = 0 ;
33035 
33036  if (!PyArg_ParseTuple(args,(char *)"OO:vector_DataColumnPtr___delitem__",&obj0,&obj1)) SWIG_fail;
33037  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33038  if (!SWIG_IsOK(res1)) {
33039  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr___delitem__" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33040  }
33041  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33042  {
33043  if (!PySlice_Check(obj1)) {
33044  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_DataColumnPtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
33045  }
33046  arg2 = (PySliceObject *) obj1;
33047  }
33048  try {
33049  std_vector_Sl_DataColumn_Sm__Sg____delitem____SWIG_1(arg1,arg2);
33050  }
33051  catch(std::out_of_range &_e) {
33052  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
33053  }
33054  catch(std::invalid_argument &_e) {
33055  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
33056  }
33057 
33058  resultobj = SWIG_Py_Void();
33059  return resultobj;
33060 fail:
33061  return NULL;
33062 }
33063 
33064 
33065 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___delitem__(PyObject *self, PyObject *args) {
33066  int argc;
33067  PyObject *argv[3];
33068  int ii;
33069 
33070  if (!PyTuple_Check(args)) SWIG_fail;
33071  argc = args ? (int)PyObject_Length(args) : 0;
33072  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
33073  argv[ii] = PyTuple_GET_ITEM(args,ii);
33074  }
33075  if (argc == 2) {
33076  int _v;
33077  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
33078  _v = SWIG_CheckState(res);
33079  if (_v) {
33080  {
33081  _v = PySlice_Check(argv[1]);
33082  }
33083  if (_v) {
33084  return _wrap_vector_DataColumnPtr___delitem____SWIG_1(self, args);
33085  }
33086  }
33087  }
33088  if (argc == 2) {
33089  int _v;
33090  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
33091  _v = SWIG_CheckState(res);
33092  if (_v) {
33093  {
33094  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
33095  _v = SWIG_CheckState(res);
33096  }
33097  if (_v) {
33098  return _wrap_vector_DataColumnPtr___delitem____SWIG_0(self, args);
33099  }
33100  }
33101  }
33102 
33103 fail:
33104  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_DataColumnPtr___delitem__'.\n"
33105  " Possible C/C++ prototypes are:\n"
33106  " std::vector< DataColumn * >::__delitem__(std::vector< DataColumn * >::difference_type)\n"
33107  " std::vector< DataColumn * >::__delitem__(PySliceObject *)\n");
33108  return 0;
33109 }
33110 
33111 
33112 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33113  PyObject *resultobj = 0;
33114  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33115  std::vector< DataColumn * >::difference_type arg2 ;
33116  void *argp1 = 0 ;
33117  int res1 = 0 ;
33118  ptrdiff_t val2 ;
33119  int ecode2 = 0 ;
33120  PyObject * obj0 = 0 ;
33121  PyObject * obj1 = 0 ;
33122  std::vector< DataColumn * >::value_type result;
33123 
33124  if (!PyArg_ParseTuple(args,(char *)"OO:vector_DataColumnPtr___getitem__",&obj0,&obj1)) SWIG_fail;
33125  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33126  if (!SWIG_IsOK(res1)) {
33127  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr___getitem__" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33128  }
33129  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33130  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
33131  if (!SWIG_IsOK(ecode2)) {
33132  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_DataColumnPtr___getitem__" "', argument " "2"" of type '" "std::vector< DataColumn * >::difference_type""'");
33133  }
33134  arg2 = static_cast< std::vector< DataColumn * >::difference_type >(val2);
33135  try {
33136  result = (std::vector< DataColumn * >::value_type)std_vector_Sl_DataColumn_Sm__Sg____getitem____SWIG_1(arg1,arg2);
33137  }
33138  catch(std::out_of_range &_e) {
33139  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
33140  }
33141 
33142  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DataColumn, 0 | 0 );
33143  return resultobj;
33144 fail:
33145  return NULL;
33146 }
33147 
33148 
33149 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___getitem__(PyObject *self, PyObject *args) {
33150  int argc;
33151  PyObject *argv[3];
33152  int ii;
33153 
33154  if (!PyTuple_Check(args)) SWIG_fail;
33155  argc = args ? (int)PyObject_Length(args) : 0;
33156  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
33157  argv[ii] = PyTuple_GET_ITEM(args,ii);
33158  }
33159  if (argc == 2) {
33160  int _v;
33161  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
33162  _v = SWIG_CheckState(res);
33163  if (_v) {
33164  {
33165  _v = PySlice_Check(argv[1]);
33166  }
33167  if (_v) {
33168  return _wrap_vector_DataColumnPtr___getitem____SWIG_0(self, args);
33169  }
33170  }
33171  }
33172  if (argc == 2) {
33173  int _v;
33174  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
33175  _v = SWIG_CheckState(res);
33176  if (_v) {
33177  {
33178  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
33179  _v = SWIG_CheckState(res);
33180  }
33181  if (_v) {
33182  return _wrap_vector_DataColumnPtr___getitem____SWIG_1(self, args);
33183  }
33184  }
33185  }
33186 
33187 fail:
33188  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_DataColumnPtr___getitem__'.\n"
33189  " Possible C/C++ prototypes are:\n"
33190  " std::vector< DataColumn * >::__getitem__(PySliceObject *)\n"
33191  " std::vector< DataColumn * >::__getitem__(std::vector< DataColumn * >::difference_type)\n");
33192  return 0;
33193 }
33194 
33195 
33196 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33197  PyObject *resultobj = 0;
33198  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33199  std::vector< DataColumn * >::difference_type arg2 ;
33200  std::vector< DataColumn * >::value_type arg3 = (std::vector< DataColumn * >::value_type) 0 ;
33201  void *argp1 = 0 ;
33202  int res1 = 0 ;
33203  ptrdiff_t val2 ;
33204  int ecode2 = 0 ;
33205  void *argp3 = 0 ;
33206  int res3 = 0 ;
33207  PyObject * obj0 = 0 ;
33208  PyObject * obj1 = 0 ;
33209  PyObject * obj2 = 0 ;
33210 
33211  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_DataColumnPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
33212  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33213  if (!SWIG_IsOK(res1)) {
33214  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr___setitem__" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33215  }
33216  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33217  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
33218  if (!SWIG_IsOK(ecode2)) {
33219  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_DataColumnPtr___setitem__" "', argument " "2"" of type '" "std::vector< DataColumn * >::difference_type""'");
33220  }
33221  arg2 = static_cast< std::vector< DataColumn * >::difference_type >(val2);
33222  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_DataColumn, 0 | 0 );
33223  if (!SWIG_IsOK(res3)) {
33224  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_DataColumnPtr___setitem__" "', argument " "3"" of type '" "std::vector< DataColumn * >::value_type""'");
33225  }
33226  arg3 = reinterpret_cast< std::vector< DataColumn * >::value_type >(argp3);
33227  try {
33228  std_vector_Sl_DataColumn_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
33229  }
33230  catch(std::out_of_range &_e) {
33231  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
33232  }
33233 
33234  resultobj = SWIG_Py_Void();
33235  return resultobj;
33236 fail:
33237  return NULL;
33238 }
33239 
33240 
33241 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr___setitem__(PyObject *self, PyObject *args) {
33242  int argc;
33243  PyObject *argv[4];
33244  int ii;
33245 
33246  if (!PyTuple_Check(args)) SWIG_fail;
33247  argc = args ? (int)PyObject_Length(args) : 0;
33248  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
33249  argv[ii] = PyTuple_GET_ITEM(args,ii);
33250  }
33251  if (argc == 2) {
33252  int _v;
33253  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
33254  _v = SWIG_CheckState(res);
33255  if (_v) {
33256  {
33257  _v = PySlice_Check(argv[1]);
33258  }
33259  if (_v) {
33260  return _wrap_vector_DataColumnPtr___setitem____SWIG_1(self, args);
33261  }
33262  }
33263  }
33264  if (argc == 3) {
33265  int _v;
33266  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
33267  _v = SWIG_CheckState(res);
33268  if (_v) {
33269  {
33270  _v = PySlice_Check(argv[1]);
33271  }
33272  if (_v) {
33273  int res = swig::asptr(argv[2], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
33274  _v = SWIG_CheckState(res);
33275  if (_v) {
33276  return _wrap_vector_DataColumnPtr___setitem____SWIG_0(self, args);
33277  }
33278  }
33279  }
33280  }
33281  if (argc == 3) {
33282  int _v;
33283  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
33284  _v = SWIG_CheckState(res);
33285  if (_v) {
33286  {
33287  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
33288  _v = SWIG_CheckState(res);
33289  }
33290  if (_v) {
33291  void *vptr = 0;
33292  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_DataColumn, 0);
33293  _v = SWIG_CheckState(res);
33294  if (_v) {
33295  return _wrap_vector_DataColumnPtr___setitem____SWIG_2(self, args);
33296  }
33297  }
33298  }
33299  }
33300 
33301 fail:
33302  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_DataColumnPtr___setitem__'.\n"
33303  " Possible C/C++ prototypes are:\n"
33304  " std::vector< DataColumn * >::__setitem__(PySliceObject *,std::vector< DataColumn *,std::allocator< DataColumn * > > const &)\n"
33305  " std::vector< DataColumn * >::__setitem__(PySliceObject *)\n"
33306  " std::vector< DataColumn * >::__setitem__(std::vector< DataColumn * >::difference_type,std::vector< DataColumn * >::value_type)\n");
33307  return 0;
33308 }
33309 
33310 
33311 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33312  PyObject *resultobj = 0;
33313  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33314  std::vector< DataColumn * >::value_type arg2 = (std::vector< DataColumn * >::value_type) 0 ;
33315  void *argp1 = 0 ;
33316  int res1 = 0 ;
33317  void *argp2 = 0 ;
33318  int res2 = 0 ;
33319  PyObject * obj0 = 0 ;
33320  PyObject * obj1 = 0 ;
33321 
33322  if (!PyArg_ParseTuple(args,(char *)"OO:vector_DataColumnPtr_append",&obj0,&obj1)) SWIG_fail;
33323  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33324  if (!SWIG_IsOK(res1)) {
33325  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_append" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33326  }
33327  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33328  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_DataColumn, 0 | 0 );
33329  if (!SWIG_IsOK(res2)) {
33330  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_DataColumnPtr_append" "', argument " "2"" of type '" "std::vector< DataColumn * >::value_type""'");
33331  }
33332  arg2 = reinterpret_cast< std::vector< DataColumn * >::value_type >(argp2);
33333  std_vector_Sl_DataColumn_Sm__Sg__append(arg1,arg2);
33334  resultobj = SWIG_Py_Void();
33335  return resultobj;
33336 fail:
33337  return NULL;
33338 }
33339 
33340 
33341 SWIGINTERN PyObject *_wrap_new_vector_DataColumnPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33342  PyObject *resultobj = 0;
33343  std::vector< DataColumn * > *result = 0 ;
33344 
33345  if (!PyArg_ParseTuple(args,(char *)":new_vector_DataColumnPtr")) SWIG_fail;
33346  result = (std::vector< DataColumn * > *)new std::vector< DataColumn * >();
33347  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, SWIG_POINTER_NEW | 0 );
33348  return resultobj;
33349 fail:
33350  return NULL;
33351 }
33352 
33353 
33354 SWIGINTERN PyObject *_wrap_new_vector_DataColumnPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33355  PyObject *resultobj = 0;
33356  std::vector< DataColumn * > *arg1 = 0 ;
33357  int res1 = SWIG_OLDOBJ ;
33358  PyObject * obj0 = 0 ;
33359  std::vector< DataColumn * > *result = 0 ;
33360 
33361  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_DataColumnPtr",&obj0)) SWIG_fail;
33362  {
33363  std::vector<DataColumn*,std::allocator< DataColumn * > > *ptr = (std::vector<DataColumn*,std::allocator< DataColumn * > > *)0;
33364  res1 = swig::asptr(obj0, &ptr);
33365  if (!SWIG_IsOK(res1)) {
33366  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_DataColumnPtr" "', argument " "1"" of type '" "std::vector< DataColumn * > const &""'");
33367  }
33368  if (!ptr) {
33369  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_DataColumnPtr" "', argument " "1"" of type '" "std::vector< DataColumn * > const &""'");
33370  }
33371  arg1 = ptr;
33372  }
33373  result = (std::vector< DataColumn * > *)new std::vector< DataColumn * >((std::vector< DataColumn * > const &)*arg1);
33374  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, SWIG_POINTER_NEW | 0 );
33375  if (SWIG_IsNewObj(res1)) delete arg1;
33376  return resultobj;
33377 fail:
33378  if (SWIG_IsNewObj(res1)) delete arg1;
33379  return NULL;
33380 }
33381 
33382 
33383 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33384  PyObject *resultobj = 0;
33385  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33386  void *argp1 = 0 ;
33387  int res1 = 0 ;
33388  PyObject * obj0 = 0 ;
33389  bool result;
33390 
33391  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr_empty",&obj0)) SWIG_fail;
33392  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33393  if (!SWIG_IsOK(res1)) {
33394  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_empty" "', argument " "1"" of type '" "std::vector< DataColumn * > const *""'");
33395  }
33396  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33397  result = (bool)((std::vector< DataColumn * > const *)arg1)->empty();
33398  resultobj = SWIG_From_bool(static_cast< bool >(result));
33399  return resultobj;
33400 fail:
33401  return NULL;
33402 }
33403 
33404 
33405 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33406  PyObject *resultobj = 0;
33407  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33408  void *argp1 = 0 ;
33409  int res1 = 0 ;
33410  PyObject * obj0 = 0 ;
33411  std::vector< DataColumn * >::size_type result;
33412 
33413  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr_size",&obj0)) SWIG_fail;
33414  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33415  if (!SWIG_IsOK(res1)) {
33416  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_size" "', argument " "1"" of type '" "std::vector< DataColumn * > const *""'");
33417  }
33418  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33419  result = ((std::vector< DataColumn * > const *)arg1)->size();
33420  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
33421  return resultobj;
33422 fail:
33423  return NULL;
33424 }
33425 
33426 
33427 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33428  PyObject *resultobj = 0;
33429  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33430  void *argp1 = 0 ;
33431  int res1 = 0 ;
33432  PyObject * obj0 = 0 ;
33433 
33434  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr_clear",&obj0)) SWIG_fail;
33435  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33436  if (!SWIG_IsOK(res1)) {
33437  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_clear" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33438  }
33439  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33440  (arg1)->clear();
33441  resultobj = SWIG_Py_Void();
33442  return resultobj;
33443 fail:
33444  return NULL;
33445 }
33446 
33447 
33448 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33449  PyObject *resultobj = 0;
33450  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33451  std::vector< DataColumn * > *arg2 = 0 ;
33452  void *argp1 = 0 ;
33453  int res1 = 0 ;
33454  void *argp2 = 0 ;
33455  int res2 = 0 ;
33456  PyObject * obj0 = 0 ;
33457  PyObject * obj1 = 0 ;
33458 
33459  if (!PyArg_ParseTuple(args,(char *)"OO:vector_DataColumnPtr_swap",&obj0,&obj1)) SWIG_fail;
33460  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33461  if (!SWIG_IsOK(res1)) {
33462  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_swap" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33463  }
33464  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33465  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 );
33466  if (!SWIG_IsOK(res2)) {
33467  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_DataColumnPtr_swap" "', argument " "2"" of type '" "std::vector< DataColumn * > &""'");
33468  }
33469  if (!argp2) {
33470  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_DataColumnPtr_swap" "', argument " "2"" of type '" "std::vector< DataColumn * > &""'");
33471  }
33472  arg2 = reinterpret_cast< std::vector< DataColumn * > * >(argp2);
33473  (arg1)->swap(*arg2);
33474  resultobj = SWIG_Py_Void();
33475  return resultobj;
33476 fail:
33477  return NULL;
33478 }
33479 
33480 
33481 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33482  PyObject *resultobj = 0;
33483  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33484  void *argp1 = 0 ;
33485  int res1 = 0 ;
33486  PyObject * obj0 = 0 ;
33487  SwigValueWrapper< std::allocator< DataColumn * > > result;
33488 
33489  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr_get_allocator",&obj0)) SWIG_fail;
33490  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33491  if (!SWIG_IsOK(res1)) {
33492  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_get_allocator" "', argument " "1"" of type '" "std::vector< DataColumn * > const *""'");
33493  }
33494  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33495  result = ((std::vector< DataColumn * > const *)arg1)->get_allocator();
33496  resultobj = SWIG_NewPointerObj((new std::vector< DataColumn * >::allocator_type(static_cast< const std::vector< DataColumn * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_DataColumn_p_t, SWIG_POINTER_OWN | 0 );
33497  return resultobj;
33498 fail:
33499  return NULL;
33500 }
33501 
33502 
33503 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33504  PyObject *resultobj = 0;
33505  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33506  void *argp1 = 0 ;
33507  int res1 = 0 ;
33508  PyObject * obj0 = 0 ;
33509  std::vector< DataColumn * >::iterator result;
33510 
33511  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr_begin",&obj0)) SWIG_fail;
33512  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33513  if (!SWIG_IsOK(res1)) {
33514  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_begin" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33515  }
33516  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33517  result = (arg1)->begin();
33518  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< DataColumn * >::iterator & >(result)),
33519  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
33520  return resultobj;
33521 fail:
33522  return NULL;
33523 }
33524 
33525 
33526 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33527  PyObject *resultobj = 0;
33528  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33529  void *argp1 = 0 ;
33530  int res1 = 0 ;
33531  PyObject * obj0 = 0 ;
33532  std::vector< DataColumn * >::iterator result;
33533 
33534  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr_end",&obj0)) SWIG_fail;
33535  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33536  if (!SWIG_IsOK(res1)) {
33537  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_end" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33538  }
33539  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33540  result = (arg1)->end();
33541  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< DataColumn * >::iterator & >(result)),
33542  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
33543  return resultobj;
33544 fail:
33545  return NULL;
33546 }
33547 
33548 
33549 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33550  PyObject *resultobj = 0;
33551  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33552  void *argp1 = 0 ;
33553  int res1 = 0 ;
33554  PyObject * obj0 = 0 ;
33555  std::vector< DataColumn * >::reverse_iterator result;
33556 
33557  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr_rbegin",&obj0)) SWIG_fail;
33558  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33559  if (!SWIG_IsOK(res1)) {
33560  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_rbegin" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33561  }
33562  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33563  result = (arg1)->rbegin();
33564  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< DataColumn * >::reverse_iterator & >(result)),
33565  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
33566  return resultobj;
33567 fail:
33568  return NULL;
33569 }
33570 
33571 
33572 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33573  PyObject *resultobj = 0;
33574  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33575  void *argp1 = 0 ;
33576  int res1 = 0 ;
33577  PyObject * obj0 = 0 ;
33578  std::vector< DataColumn * >::reverse_iterator result;
33579 
33580  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr_rend",&obj0)) SWIG_fail;
33581  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33582  if (!SWIG_IsOK(res1)) {
33583  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_rend" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33584  }
33585  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33586  result = (arg1)->rend();
33587  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< DataColumn * >::reverse_iterator & >(result)),
33588  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
33589  return resultobj;
33590 fail:
33591  return NULL;
33592 }
33593 
33594 
33595 SWIGINTERN PyObject *_wrap_new_vector_DataColumnPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33596  PyObject *resultobj = 0;
33597  std::vector< DataColumn * >::size_type arg1 ;
33598  size_t val1 ;
33599  int ecode1 = 0 ;
33600  PyObject * obj0 = 0 ;
33601  std::vector< DataColumn * > *result = 0 ;
33602 
33603  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_DataColumnPtr",&obj0)) SWIG_fail;
33604  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
33605  if (!SWIG_IsOK(ecode1)) {
33606  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_DataColumnPtr" "', argument " "1"" of type '" "std::vector< DataColumn * >::size_type""'");
33607  }
33608  arg1 = static_cast< std::vector< DataColumn * >::size_type >(val1);
33609  result = (std::vector< DataColumn * > *)new std::vector< DataColumn * >(arg1);
33610  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, SWIG_POINTER_NEW | 0 );
33611  return resultobj;
33612 fail:
33613  return NULL;
33614 }
33615 
33616 
33617 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33618  PyObject *resultobj = 0;
33619  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33620  void *argp1 = 0 ;
33621  int res1 = 0 ;
33622  PyObject * obj0 = 0 ;
33623 
33624  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr_pop_back",&obj0)) SWIG_fail;
33625  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33626  if (!SWIG_IsOK(res1)) {
33627  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_pop_back" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33628  }
33629  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33630  (arg1)->pop_back();
33631  resultobj = SWIG_Py_Void();
33632  return resultobj;
33633 fail:
33634  return NULL;
33635 }
33636 
33637 
33638 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33639  PyObject *resultobj = 0;
33640  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33641  std::vector< DataColumn * >::size_type arg2 ;
33642  void *argp1 = 0 ;
33643  int res1 = 0 ;
33644  size_t val2 ;
33645  int ecode2 = 0 ;
33646  PyObject * obj0 = 0 ;
33647  PyObject * obj1 = 0 ;
33648 
33649  if (!PyArg_ParseTuple(args,(char *)"OO:vector_DataColumnPtr_resize",&obj0,&obj1)) SWIG_fail;
33650  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33651  if (!SWIG_IsOK(res1)) {
33652  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_resize" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33653  }
33654  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33655  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
33656  if (!SWIG_IsOK(ecode2)) {
33657  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_DataColumnPtr_resize" "', argument " "2"" of type '" "std::vector< DataColumn * >::size_type""'");
33658  }
33659  arg2 = static_cast< std::vector< DataColumn * >::size_type >(val2);
33660  (arg1)->resize(arg2);
33661  resultobj = SWIG_Py_Void();
33662  return resultobj;
33663 fail:
33664  return NULL;
33665 }
33666 
33667 
33668 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33669  PyObject *resultobj = 0;
33670  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33671  std::vector< DataColumn * >::iterator arg2 ;
33672  void *argp1 = 0 ;
33673  int res1 = 0 ;
33674  swig::SwigPyIterator *iter2 = 0 ;
33675  int res2 ;
33676  PyObject * obj0 = 0 ;
33677  PyObject * obj1 = 0 ;
33678  std::vector< DataColumn * >::iterator result;
33679 
33680  if (!PyArg_ParseTuple(args,(char *)"OO:vector_DataColumnPtr_erase",&obj0,&obj1)) SWIG_fail;
33681  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33682  if (!SWIG_IsOK(res1)) {
33683  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_erase" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33684  }
33685  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33686  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
33687  if (!SWIG_IsOK(res2) || !iter2) {
33688  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_DataColumnPtr_erase" "', argument " "2"" of type '" "std::vector< DataColumn * >::iterator""'");
33689  } else {
33691  if (iter_t) {
33692  arg2 = iter_t->get_current();
33693  } else {
33694  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_DataColumnPtr_erase" "', argument " "2"" of type '" "std::vector< DataColumn * >::iterator""'");
33695  }
33696  }
33697  result = std_vector_Sl_DataColumn_Sm__Sg__erase__SWIG_0(arg1,arg2);
33698  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< DataColumn * >::iterator & >(result)),
33699  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
33700  return resultobj;
33701 fail:
33702  return NULL;
33703 }
33704 
33705 
33706 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33707  PyObject *resultobj = 0;
33708  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33709  std::vector< DataColumn * >::iterator arg2 ;
33710  std::vector< DataColumn * >::iterator arg3 ;
33711  void *argp1 = 0 ;
33712  int res1 = 0 ;
33713  swig::SwigPyIterator *iter2 = 0 ;
33714  int res2 ;
33715  swig::SwigPyIterator *iter3 = 0 ;
33716  int res3 ;
33717  PyObject * obj0 = 0 ;
33718  PyObject * obj1 = 0 ;
33719  PyObject * obj2 = 0 ;
33720  std::vector< DataColumn * >::iterator result;
33721 
33722  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_DataColumnPtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
33723  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33724  if (!SWIG_IsOK(res1)) {
33725  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_erase" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33726  }
33727  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33728  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
33729  if (!SWIG_IsOK(res2) || !iter2) {
33730  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_DataColumnPtr_erase" "', argument " "2"" of type '" "std::vector< DataColumn * >::iterator""'");
33731  } else {
33733  if (iter_t) {
33734  arg2 = iter_t->get_current();
33735  } else {
33736  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_DataColumnPtr_erase" "', argument " "2"" of type '" "std::vector< DataColumn * >::iterator""'");
33737  }
33738  }
33739  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
33740  if (!SWIG_IsOK(res3) || !iter3) {
33741  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_DataColumnPtr_erase" "', argument " "3"" of type '" "std::vector< DataColumn * >::iterator""'");
33742  } else {
33744  if (iter_t) {
33745  arg3 = iter_t->get_current();
33746  } else {
33747  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_DataColumnPtr_erase" "', argument " "3"" of type '" "std::vector< DataColumn * >::iterator""'");
33748  }
33749  }
33750  result = std_vector_Sl_DataColumn_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
33751  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< DataColumn * >::iterator & >(result)),
33752  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
33753  return resultobj;
33754 fail:
33755  return NULL;
33756 }
33757 
33758 
33759 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_erase(PyObject *self, PyObject *args) {
33760  int argc;
33761  PyObject *argv[4];
33762  int ii;
33763 
33764  if (!PyTuple_Check(args)) SWIG_fail;
33765  argc = args ? (int)PyObject_Length(args) : 0;
33766  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
33767  argv[ii] = PyTuple_GET_ITEM(args,ii);
33768  }
33769  if (argc == 2) {
33770  int _v;
33771  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
33772  _v = SWIG_CheckState(res);
33773  if (_v) {
33774  swig::SwigPyIterator *iter = 0;
33775  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
33776  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< DataColumn * >::iterator > *>(iter) != 0));
33777  if (_v) {
33778  return _wrap_vector_DataColumnPtr_erase__SWIG_0(self, args);
33779  }
33780  }
33781  }
33782  if (argc == 3) {
33783  int _v;
33784  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
33785  _v = SWIG_CheckState(res);
33786  if (_v) {
33787  swig::SwigPyIterator *iter = 0;
33788  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
33789  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< DataColumn * >::iterator > *>(iter) != 0));
33790  if (_v) {
33791  swig::SwigPyIterator *iter = 0;
33792  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
33793  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< DataColumn * >::iterator > *>(iter) != 0));
33794  if (_v) {
33795  return _wrap_vector_DataColumnPtr_erase__SWIG_1(self, args);
33796  }
33797  }
33798  }
33799  }
33800 
33801 fail:
33802  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_DataColumnPtr_erase'.\n"
33803  " Possible C/C++ prototypes are:\n"
33804  " std::vector< DataColumn * >::erase(std::vector< DataColumn * >::iterator)\n"
33805  " std::vector< DataColumn * >::erase(std::vector< DataColumn * >::iterator,std::vector< DataColumn * >::iterator)\n");
33806  return 0;
33807 }
33808 
33809 
33810 SWIGINTERN PyObject *_wrap_new_vector_DataColumnPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33811  PyObject *resultobj = 0;
33812  std::vector< DataColumn * >::size_type arg1 ;
33813  std::vector< DataColumn * >::value_type arg2 = (std::vector< DataColumn * >::value_type) 0 ;
33814  size_t val1 ;
33815  int ecode1 = 0 ;
33816  void *argp2 = 0 ;
33817  int res2 = 0 ;
33818  PyObject * obj0 = 0 ;
33819  PyObject * obj1 = 0 ;
33820  std::vector< DataColumn * > *result = 0 ;
33821 
33822  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_DataColumnPtr",&obj0,&obj1)) SWIG_fail;
33823  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
33824  if (!SWIG_IsOK(ecode1)) {
33825  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_DataColumnPtr" "', argument " "1"" of type '" "std::vector< DataColumn * >::size_type""'");
33826  }
33827  arg1 = static_cast< std::vector< DataColumn * >::size_type >(val1);
33828  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_DataColumn, 0 | 0 );
33829  if (!SWIG_IsOK(res2)) {
33830  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_DataColumnPtr" "', argument " "2"" of type '" "std::vector< DataColumn * >::value_type""'");
33831  }
33832  arg2 = reinterpret_cast< std::vector< DataColumn * >::value_type >(argp2);
33833  result = (std::vector< DataColumn * > *)new std::vector< DataColumn * >(arg1,arg2);
33834  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, SWIG_POINTER_NEW | 0 );
33835  return resultobj;
33836 fail:
33837  return NULL;
33838 }
33839 
33840 
33841 SWIGINTERN PyObject *_wrap_new_vector_DataColumnPtr(PyObject *self, PyObject *args) {
33842  int argc;
33843  PyObject *argv[3];
33844  int ii;
33845 
33846  if (!PyTuple_Check(args)) SWIG_fail;
33847  argc = args ? (int)PyObject_Length(args) : 0;
33848  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
33849  argv[ii] = PyTuple_GET_ITEM(args,ii);
33850  }
33851  if (argc == 0) {
33852  return _wrap_new_vector_DataColumnPtr__SWIG_0(self, args);
33853  }
33854  if (argc == 1) {
33855  int _v;
33856  {
33857  int res = SWIG_AsVal_size_t(argv[0], NULL);
33858  _v = SWIG_CheckState(res);
33859  }
33860  if (_v) {
33861  return _wrap_new_vector_DataColumnPtr__SWIG_2(self, args);
33862  }
33863  }
33864  if (argc == 1) {
33865  int _v;
33866  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
33867  _v = SWIG_CheckState(res);
33868  if (_v) {
33869  return _wrap_new_vector_DataColumnPtr__SWIG_1(self, args);
33870  }
33871  }
33872  if (argc == 2) {
33873  int _v;
33874  {
33875  int res = SWIG_AsVal_size_t(argv[0], NULL);
33876  _v = SWIG_CheckState(res);
33877  }
33878  if (_v) {
33879  void *vptr = 0;
33880  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_DataColumn, 0);
33881  _v = SWIG_CheckState(res);
33882  if (_v) {
33883  return _wrap_new_vector_DataColumnPtr__SWIG_3(self, args);
33884  }
33885  }
33886  }
33887 
33888 fail:
33889  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_DataColumnPtr'.\n"
33890  " Possible C/C++ prototypes are:\n"
33891  " std::vector< DataColumn * >::vector()\n"
33892  " std::vector< DataColumn * >::vector(std::vector< DataColumn * > const &)\n"
33893  " std::vector< DataColumn * >::vector(std::vector< DataColumn * >::size_type)\n"
33894  " std::vector< DataColumn * >::vector(std::vector< DataColumn * >::size_type,std::vector< DataColumn * >::value_type)\n");
33895  return 0;
33896 }
33897 
33898 
33899 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33900  PyObject *resultobj = 0;
33901  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33902  std::vector< DataColumn * >::value_type arg2 = (std::vector< DataColumn * >::value_type) 0 ;
33903  void *argp1 = 0 ;
33904  int res1 = 0 ;
33905  void *argp2 = 0 ;
33906  int res2 = 0 ;
33907  PyObject * obj0 = 0 ;
33908  PyObject * obj1 = 0 ;
33909 
33910  if (!PyArg_ParseTuple(args,(char *)"OO:vector_DataColumnPtr_push_back",&obj0,&obj1)) SWIG_fail;
33911  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33912  if (!SWIG_IsOK(res1)) {
33913  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_push_back" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33914  }
33915  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33916  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_DataColumn, 0 | 0 );
33917  if (!SWIG_IsOK(res2)) {
33918  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_DataColumnPtr_push_back" "', argument " "2"" of type '" "std::vector< DataColumn * >::value_type""'");
33919  }
33920  arg2 = reinterpret_cast< std::vector< DataColumn * >::value_type >(argp2);
33921  (arg1)->push_back(arg2);
33922  resultobj = SWIG_Py_Void();
33923  return resultobj;
33924 fail:
33925  return NULL;
33926 }
33927 
33928 
33929 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33930  PyObject *resultobj = 0;
33931  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33932  void *argp1 = 0 ;
33933  int res1 = 0 ;
33934  PyObject * obj0 = 0 ;
33935  std::vector< DataColumn * >::value_type result;
33936 
33937  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr_front",&obj0)) SWIG_fail;
33938  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33939  if (!SWIG_IsOK(res1)) {
33940  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_front" "', argument " "1"" of type '" "std::vector< DataColumn * > const *""'");
33941  }
33942  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33943  result = (std::vector< DataColumn * >::value_type)((std::vector< DataColumn * > const *)arg1)->front();
33944  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DataColumn, 0 | 0 );
33945  return resultobj;
33946 fail:
33947  return NULL;
33948 }
33949 
33950 
33951 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33952  PyObject *resultobj = 0;
33953  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33954  void *argp1 = 0 ;
33955  int res1 = 0 ;
33956  PyObject * obj0 = 0 ;
33957  std::vector< DataColumn * >::value_type result;
33958 
33959  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr_back",&obj0)) SWIG_fail;
33960  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33961  if (!SWIG_IsOK(res1)) {
33962  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_back" "', argument " "1"" of type '" "std::vector< DataColumn * > const *""'");
33963  }
33964  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33965  result = (std::vector< DataColumn * >::value_type)((std::vector< DataColumn * > const *)arg1)->back();
33966  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DataColumn, 0 | 0 );
33967  return resultobj;
33968 fail:
33969  return NULL;
33970 }
33971 
33972 
33973 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33974  PyObject *resultobj = 0;
33975  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
33976  std::vector< DataColumn * >::size_type arg2 ;
33977  std::vector< DataColumn * >::value_type arg3 = (std::vector< DataColumn * >::value_type) 0 ;
33978  void *argp1 = 0 ;
33979  int res1 = 0 ;
33980  size_t val2 ;
33981  int ecode2 = 0 ;
33982  void *argp3 = 0 ;
33983  int res3 = 0 ;
33984  PyObject * obj0 = 0 ;
33985  PyObject * obj1 = 0 ;
33986  PyObject * obj2 = 0 ;
33987 
33988  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_DataColumnPtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
33989  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
33990  if (!SWIG_IsOK(res1)) {
33991  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_assign" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
33992  }
33993  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
33994  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
33995  if (!SWIG_IsOK(ecode2)) {
33996  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_DataColumnPtr_assign" "', argument " "2"" of type '" "std::vector< DataColumn * >::size_type""'");
33997  }
33998  arg2 = static_cast< std::vector< DataColumn * >::size_type >(val2);
33999  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_DataColumn, 0 | 0 );
34000  if (!SWIG_IsOK(res3)) {
34001  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_DataColumnPtr_assign" "', argument " "3"" of type '" "std::vector< DataColumn * >::value_type""'");
34002  }
34003  arg3 = reinterpret_cast< std::vector< DataColumn * >::value_type >(argp3);
34004  (arg1)->assign(arg2,arg3);
34005  resultobj = SWIG_Py_Void();
34006  return resultobj;
34007 fail:
34008  return NULL;
34009 }
34010 
34011 
34012 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34013  PyObject *resultobj = 0;
34014  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
34015  std::vector< DataColumn * >::size_type arg2 ;
34016  std::vector< DataColumn * >::value_type arg3 = (std::vector< DataColumn * >::value_type) 0 ;
34017  void *argp1 = 0 ;
34018  int res1 = 0 ;
34019  size_t val2 ;
34020  int ecode2 = 0 ;
34021  void *argp3 = 0 ;
34022  int res3 = 0 ;
34023  PyObject * obj0 = 0 ;
34024  PyObject * obj1 = 0 ;
34025  PyObject * obj2 = 0 ;
34026 
34027  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_DataColumnPtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
34028  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
34029  if (!SWIG_IsOK(res1)) {
34030  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_resize" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
34031  }
34032  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
34033  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
34034  if (!SWIG_IsOK(ecode2)) {
34035  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_DataColumnPtr_resize" "', argument " "2"" of type '" "std::vector< DataColumn * >::size_type""'");
34036  }
34037  arg2 = static_cast< std::vector< DataColumn * >::size_type >(val2);
34038  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_DataColumn, 0 | 0 );
34039  if (!SWIG_IsOK(res3)) {
34040  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_DataColumnPtr_resize" "', argument " "3"" of type '" "std::vector< DataColumn * >::value_type""'");
34041  }
34042  arg3 = reinterpret_cast< std::vector< DataColumn * >::value_type >(argp3);
34043  (arg1)->resize(arg2,arg3);
34044  resultobj = SWIG_Py_Void();
34045  return resultobj;
34046 fail:
34047  return NULL;
34048 }
34049 
34050 
34051 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_resize(PyObject *self, PyObject *args) {
34052  int argc;
34053  PyObject *argv[4];
34054  int ii;
34055 
34056  if (!PyTuple_Check(args)) SWIG_fail;
34057  argc = args ? (int)PyObject_Length(args) : 0;
34058  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
34059  argv[ii] = PyTuple_GET_ITEM(args,ii);
34060  }
34061  if (argc == 2) {
34062  int _v;
34063  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
34064  _v = SWIG_CheckState(res);
34065  if (_v) {
34066  {
34067  int res = SWIG_AsVal_size_t(argv[1], NULL);
34068  _v = SWIG_CheckState(res);
34069  }
34070  if (_v) {
34071  return _wrap_vector_DataColumnPtr_resize__SWIG_0(self, args);
34072  }
34073  }
34074  }
34075  if (argc == 3) {
34076  int _v;
34077  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
34078  _v = SWIG_CheckState(res);
34079  if (_v) {
34080  {
34081  int res = SWIG_AsVal_size_t(argv[1], NULL);
34082  _v = SWIG_CheckState(res);
34083  }
34084  if (_v) {
34085  void *vptr = 0;
34086  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_DataColumn, 0);
34087  _v = SWIG_CheckState(res);
34088  if (_v) {
34089  return _wrap_vector_DataColumnPtr_resize__SWIG_1(self, args);
34090  }
34091  }
34092  }
34093  }
34094 
34095 fail:
34096  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_DataColumnPtr_resize'.\n"
34097  " Possible C/C++ prototypes are:\n"
34098  " std::vector< DataColumn * >::resize(std::vector< DataColumn * >::size_type)\n"
34099  " std::vector< DataColumn * >::resize(std::vector< DataColumn * >::size_type,std::vector< DataColumn * >::value_type)\n");
34100  return 0;
34101 }
34102 
34103 
34104 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34105  PyObject *resultobj = 0;
34106  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
34107  std::vector< DataColumn * >::iterator arg2 ;
34108  std::vector< DataColumn * >::value_type arg3 = (std::vector< DataColumn * >::value_type) 0 ;
34109  void *argp1 = 0 ;
34110  int res1 = 0 ;
34111  swig::SwigPyIterator *iter2 = 0 ;
34112  int res2 ;
34113  void *argp3 = 0 ;
34114  int res3 = 0 ;
34115  PyObject * obj0 = 0 ;
34116  PyObject * obj1 = 0 ;
34117  PyObject * obj2 = 0 ;
34118  std::vector< DataColumn * >::iterator result;
34119 
34120  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_DataColumnPtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
34121  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
34122  if (!SWIG_IsOK(res1)) {
34123  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_insert" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
34124  }
34125  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
34126  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
34127  if (!SWIG_IsOK(res2) || !iter2) {
34128  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_DataColumnPtr_insert" "', argument " "2"" of type '" "std::vector< DataColumn * >::iterator""'");
34129  } else {
34131  if (iter_t) {
34132  arg2 = iter_t->get_current();
34133  } else {
34134  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_DataColumnPtr_insert" "', argument " "2"" of type '" "std::vector< DataColumn * >::iterator""'");
34135  }
34136  }
34137  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_DataColumn, 0 | 0 );
34138  if (!SWIG_IsOK(res3)) {
34139  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_DataColumnPtr_insert" "', argument " "3"" of type '" "std::vector< DataColumn * >::value_type""'");
34140  }
34141  arg3 = reinterpret_cast< std::vector< DataColumn * >::value_type >(argp3);
34142  result = std_vector_Sl_DataColumn_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
34143  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< DataColumn * >::iterator & >(result)),
34144  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
34145  return resultobj;
34146 fail:
34147  return NULL;
34148 }
34149 
34150 
34151 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34152  PyObject *resultobj = 0;
34153  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
34154  std::vector< DataColumn * >::iterator arg2 ;
34155  std::vector< DataColumn * >::size_type arg3 ;
34156  std::vector< DataColumn * >::value_type arg4 = (std::vector< DataColumn * >::value_type) 0 ;
34157  void *argp1 = 0 ;
34158  int res1 = 0 ;
34159  swig::SwigPyIterator *iter2 = 0 ;
34160  int res2 ;
34161  size_t val3 ;
34162  int ecode3 = 0 ;
34163  void *argp4 = 0 ;
34164  int res4 = 0 ;
34165  PyObject * obj0 = 0 ;
34166  PyObject * obj1 = 0 ;
34167  PyObject * obj2 = 0 ;
34168  PyObject * obj3 = 0 ;
34169 
34170  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_DataColumnPtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34171  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
34172  if (!SWIG_IsOK(res1)) {
34173  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_insert" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
34174  }
34175  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
34176  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
34177  if (!SWIG_IsOK(res2) || !iter2) {
34178  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_DataColumnPtr_insert" "', argument " "2"" of type '" "std::vector< DataColumn * >::iterator""'");
34179  } else {
34181  if (iter_t) {
34182  arg2 = iter_t->get_current();
34183  } else {
34184  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_DataColumnPtr_insert" "', argument " "2"" of type '" "std::vector< DataColumn * >::iterator""'");
34185  }
34186  }
34187  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
34188  if (!SWIG_IsOK(ecode3)) {
34189  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_DataColumnPtr_insert" "', argument " "3"" of type '" "std::vector< DataColumn * >::size_type""'");
34190  }
34191  arg3 = static_cast< std::vector< DataColumn * >::size_type >(val3);
34192  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_DataColumn, 0 | 0 );
34193  if (!SWIG_IsOK(res4)) {
34194  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_DataColumnPtr_insert" "', argument " "4"" of type '" "std::vector< DataColumn * >::value_type""'");
34195  }
34196  arg4 = reinterpret_cast< std::vector< DataColumn * >::value_type >(argp4);
34197  std_vector_Sl_DataColumn_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
34198  resultobj = SWIG_Py_Void();
34199  return resultobj;
34200 fail:
34201  return NULL;
34202 }
34203 
34204 
34205 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_insert(PyObject *self, PyObject *args) {
34206  int argc;
34207  PyObject *argv[5];
34208  int ii;
34209 
34210  if (!PyTuple_Check(args)) SWIG_fail;
34211  argc = args ? (int)PyObject_Length(args) : 0;
34212  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
34213  argv[ii] = PyTuple_GET_ITEM(args,ii);
34214  }
34215  if (argc == 3) {
34216  int _v;
34217  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
34218  _v = SWIG_CheckState(res);
34219  if (_v) {
34220  swig::SwigPyIterator *iter = 0;
34221  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
34222  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< DataColumn * >::iterator > *>(iter) != 0));
34223  if (_v) {
34224  void *vptr = 0;
34225  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_DataColumn, 0);
34226  _v = SWIG_CheckState(res);
34227  if (_v) {
34228  return _wrap_vector_DataColumnPtr_insert__SWIG_0(self, args);
34229  }
34230  }
34231  }
34232  }
34233  if (argc == 4) {
34234  int _v;
34235  int res = swig::asptr(argv[0], (std::vector<DataColumn*,std::allocator< DataColumn * > >**)(0));
34236  _v = SWIG_CheckState(res);
34237  if (_v) {
34238  swig::SwigPyIterator *iter = 0;
34239  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
34240  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< DataColumn * >::iterator > *>(iter) != 0));
34241  if (_v) {
34242  {
34243  int res = SWIG_AsVal_size_t(argv[2], NULL);
34244  _v = SWIG_CheckState(res);
34245  }
34246  if (_v) {
34247  void *vptr = 0;
34248  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_DataColumn, 0);
34249  _v = SWIG_CheckState(res);
34250  if (_v) {
34251  return _wrap_vector_DataColumnPtr_insert__SWIG_1(self, args);
34252  }
34253  }
34254  }
34255  }
34256  }
34257 
34258 fail:
34259  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_DataColumnPtr_insert'.\n"
34260  " Possible C/C++ prototypes are:\n"
34261  " std::vector< DataColumn * >::insert(std::vector< DataColumn * >::iterator,std::vector< DataColumn * >::value_type)\n"
34262  " std::vector< DataColumn * >::insert(std::vector< DataColumn * >::iterator,std::vector< DataColumn * >::size_type,std::vector< DataColumn * >::value_type)\n");
34263  return 0;
34264 }
34265 
34266 
34267 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34268  PyObject *resultobj = 0;
34269  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
34270  std::vector< DataColumn * >::size_type arg2 ;
34271  void *argp1 = 0 ;
34272  int res1 = 0 ;
34273  size_t val2 ;
34274  int ecode2 = 0 ;
34275  PyObject * obj0 = 0 ;
34276  PyObject * obj1 = 0 ;
34277 
34278  if (!PyArg_ParseTuple(args,(char *)"OO:vector_DataColumnPtr_reserve",&obj0,&obj1)) SWIG_fail;
34279  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
34280  if (!SWIG_IsOK(res1)) {
34281  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_reserve" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
34282  }
34283  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
34284  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
34285  if (!SWIG_IsOK(ecode2)) {
34286  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_DataColumnPtr_reserve" "', argument " "2"" of type '" "std::vector< DataColumn * >::size_type""'");
34287  }
34288  arg2 = static_cast< std::vector< DataColumn * >::size_type >(val2);
34289  (arg1)->reserve(arg2);
34290  resultobj = SWIG_Py_Void();
34291  return resultobj;
34292 fail:
34293  return NULL;
34294 }
34295 
34296 
34297 SWIGINTERN PyObject *_wrap_vector_DataColumnPtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34298  PyObject *resultobj = 0;
34299  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
34300  void *argp1 = 0 ;
34301  int res1 = 0 ;
34302  PyObject * obj0 = 0 ;
34303  std::vector< DataColumn * >::size_type result;
34304 
34305  if (!PyArg_ParseTuple(args,(char *)"O:vector_DataColumnPtr_capacity",&obj0)) SWIG_fail;
34306  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0 | 0 );
34307  if (!SWIG_IsOK(res1)) {
34308  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_DataColumnPtr_capacity" "', argument " "1"" of type '" "std::vector< DataColumn * > const *""'");
34309  }
34310  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
34311  result = ((std::vector< DataColumn * > const *)arg1)->capacity();
34312  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
34313  return resultobj;
34314 fail:
34315  return NULL;
34316 }
34317 
34318 
34319 SWIGINTERN PyObject *_wrap_delete_vector_DataColumnPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34320  PyObject *resultobj = 0;
34321  std::vector< DataColumn * > *arg1 = (std::vector< DataColumn * > *) 0 ;
34322  void *argp1 = 0 ;
34323  int res1 = 0 ;
34324  PyObject * obj0 = 0 ;
34325 
34326  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_DataColumnPtr",&obj0)) SWIG_fail;
34327  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, SWIG_POINTER_DISOWN | 0 );
34328  if (!SWIG_IsOK(res1)) {
34329  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_DataColumnPtr" "', argument " "1"" of type '" "std::vector< DataColumn * > *""'");
34330  }
34331  arg1 = reinterpret_cast< std::vector< DataColumn * > * >(argp1);
34332  {
34333  try {
34334  delete arg1;
34335  }
34336  catch(CStdErrorInfo oError)
34337  {
34338  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
34339  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
34340  PyErr_SetString(PyExc_IndexError, strError.c_str());
34341  SWIG_fail;
34342  }
34343  catch(...)
34344  {
34345  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
34346  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
34347  SWIG_fail;
34348  }
34349  }
34350  resultobj = SWIG_Py_Void();
34351  return resultobj;
34352 fail:
34353  return NULL;
34354 }
34355 
34356 
34357 SWIGINTERN PyObject *vector_DataColumnPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34358  PyObject *obj;
34359  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
34360  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, SWIG_NewClientData(obj));
34361  return SWIG_Py_Void();
34362 }
34363 
34364 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34365  PyObject *resultobj = 0;
34366  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
34367  PyObject **arg2 = (PyObject **) 0 ;
34368  void *argp1 = 0 ;
34369  int res1 = 0 ;
34370  PyObject * obj0 = 0 ;
34371  swig::SwigPyIterator *result = 0 ;
34372 
34373  arg2 = &obj0;
34374  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr_iterator",&obj0)) SWIG_fail;
34375  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
34376  if (!SWIG_IsOK(res1)) {
34377  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_iterator" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
34378  }
34379  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
34380  result = (swig::SwigPyIterator *)std_vector_Sl_HudItem_Sm__Sg__iterator(arg1,arg2);
34381  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
34382  return resultobj;
34383 fail:
34384  return NULL;
34385 }
34386 
34387 
34388 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34389  PyObject *resultobj = 0;
34390  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
34391  void *argp1 = 0 ;
34392  int res1 = 0 ;
34393  PyObject * obj0 = 0 ;
34394  bool result;
34395 
34396  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr___nonzero__",&obj0)) SWIG_fail;
34397  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
34398  if (!SWIG_IsOK(res1)) {
34399  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr___nonzero__" "', argument " "1"" of type '" "std::vector< HudItem * > const *""'");
34400  }
34401  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
34402  result = (bool)std_vector_Sl_HudItem_Sm__Sg____nonzero__((std::vector< HudItem * > const *)arg1);
34403  resultobj = SWIG_From_bool(static_cast< bool >(result));
34404  return resultobj;
34405 fail:
34406  return NULL;
34407 }
34408 
34409 
34410 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34411  PyObject *resultobj = 0;
34412  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
34413  void *argp1 = 0 ;
34414  int res1 = 0 ;
34415  PyObject * obj0 = 0 ;
34416  bool result;
34417 
34418  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr___bool__",&obj0)) SWIG_fail;
34419  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
34420  if (!SWIG_IsOK(res1)) {
34421  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr___bool__" "', argument " "1"" of type '" "std::vector< HudItem * > const *""'");
34422  }
34423  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
34424  result = (bool)std_vector_Sl_HudItem_Sm__Sg____bool__((std::vector< HudItem * > const *)arg1);
34425  resultobj = SWIG_From_bool(static_cast< bool >(result));
34426  return resultobj;
34427 fail:
34428  return NULL;
34429 }
34430 
34431 
34432 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34433  PyObject *resultobj = 0;
34434  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
34435  void *argp1 = 0 ;
34436  int res1 = 0 ;
34437  PyObject * obj0 = 0 ;
34438  std::vector< HudItem * >::size_type result;
34439 
34440  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr___len__",&obj0)) SWIG_fail;
34441  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
34442  if (!SWIG_IsOK(res1)) {
34443  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr___len__" "', argument " "1"" of type '" "std::vector< HudItem * > const *""'");
34444  }
34445  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
34446  result = std_vector_Sl_HudItem_Sm__Sg____len__((std::vector< HudItem * > const *)arg1);
34447  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
34448  return resultobj;
34449 fail:
34450  return NULL;
34451 }
34452 
34453 
34454 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34455  PyObject *resultobj = 0;
34456  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
34457  void *argp1 = 0 ;
34458  int res1 = 0 ;
34459  PyObject * obj0 = 0 ;
34460  std::vector< HudItem * >::value_type result;
34461 
34462  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr_pop",&obj0)) SWIG_fail;
34463  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
34464  if (!SWIG_IsOK(res1)) {
34465  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_pop" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
34466  }
34467  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
34468  try {
34469  result = (std::vector< HudItem * >::value_type)std_vector_Sl_HudItem_Sm__Sg__pop(arg1);
34470  }
34471  catch(std::out_of_range &_e) {
34472  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
34473  }
34474 
34475  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_HudItem, 0 | 0 );
34476  return resultobj;
34477 fail:
34478  return NULL;
34479 }
34480 
34481 
34482 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34483  PyObject *resultobj = 0;
34484  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
34485  std::vector< HudItem * >::difference_type arg2 ;
34486  std::vector< HudItem * >::difference_type arg3 ;
34487  void *argp1 = 0 ;
34488  int res1 = 0 ;
34489  ptrdiff_t val2 ;
34490  int ecode2 = 0 ;
34491  ptrdiff_t val3 ;
34492  int ecode3 = 0 ;
34493  PyObject * obj0 = 0 ;
34494  PyObject * obj1 = 0 ;
34495  PyObject * obj2 = 0 ;
34496  std::vector< HudItem *,std::allocator< HudItem * > > *result = 0 ;
34497 
34498  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_HudItemPtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
34499  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
34500  if (!SWIG_IsOK(res1)) {
34501  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr___getslice__" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
34502  }
34503  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
34504  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
34505  if (!SWIG_IsOK(ecode2)) {
34506  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_HudItemPtr___getslice__" "', argument " "2"" of type '" "std::vector< HudItem * >::difference_type""'");
34507  }
34508  arg2 = static_cast< std::vector< HudItem * >::difference_type >(val2);
34509  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
34510  if (!SWIG_IsOK(ecode3)) {
34511  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_HudItemPtr___getslice__" "', argument " "3"" of type '" "std::vector< HudItem * >::difference_type""'");
34512  }
34513  arg3 = static_cast< std::vector< HudItem * >::difference_type >(val3);
34514  try {
34515  result = (std::vector< HudItem *,std::allocator< HudItem * > > *)std_vector_Sl_HudItem_Sm__Sg____getslice__(arg1,arg2,arg3);
34516  }
34517  catch(std::out_of_range &_e) {
34518  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
34519  }
34520  catch(std::invalid_argument &_e) {
34521  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
34522  }
34523 
34524  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, SWIG_POINTER_OWN | 0 );
34525  return resultobj;
34526 fail:
34527  return NULL;
34528 }
34529 
34530 
34531 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34532  PyObject *resultobj = 0;
34533  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
34534  std::vector< HudItem * >::difference_type arg2 ;
34535  std::vector< HudItem * >::difference_type arg3 ;
34536  std::vector< HudItem *,std::allocator< HudItem * > > *arg4 = 0 ;
34537  void *argp1 = 0 ;
34538  int res1 = 0 ;
34539  ptrdiff_t val2 ;
34540  int ecode2 = 0 ;
34541  ptrdiff_t val3 ;
34542  int ecode3 = 0 ;
34543  int res4 = SWIG_OLDOBJ ;
34544  PyObject * obj0 = 0 ;
34545  PyObject * obj1 = 0 ;
34546  PyObject * obj2 = 0 ;
34547  PyObject * obj3 = 0 ;
34548 
34549  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_HudItemPtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34550  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
34551  if (!SWIG_IsOK(res1)) {
34552  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr___setslice__" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
34553  }
34554  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
34555  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
34556  if (!SWIG_IsOK(ecode2)) {
34557  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_HudItemPtr___setslice__" "', argument " "2"" of type '" "std::vector< HudItem * >::difference_type""'");
34558  }
34559  arg2 = static_cast< std::vector< HudItem * >::difference_type >(val2);
34560  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
34561  if (!SWIG_IsOK(ecode3)) {
34562  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_HudItemPtr___setslice__" "', argument " "3"" of type '" "std::vector< HudItem * >::difference_type""'");
34563  }
34564  arg3 = static_cast< std::vector< HudItem * >::difference_type >(val3);
34565  {
34566  std::vector<HudItem*,std::allocator< HudItem * > > *ptr = (std::vector<HudItem*,std::allocator< HudItem * > > *)0;
34567  res4 = swig::asptr(obj3, &ptr);
34568  if (!SWIG_IsOK(res4)) {
34569  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_HudItemPtr___setslice__" "', argument " "4"" of type '" "std::vector< HudItem *,std::allocator< HudItem * > > const &""'");
34570  }
34571  if (!ptr) {
34572  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_HudItemPtr___setslice__" "', argument " "4"" of type '" "std::vector< HudItem *,std::allocator< HudItem * > > const &""'");
34573  }
34574  arg4 = ptr;
34575  }
34576  try {
34577  std_vector_Sl_HudItem_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< HudItem *,std::allocator< HudItem * > > const &)*arg4);
34578  }
34579  catch(std::out_of_range &_e) {
34580  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
34581  }
34582  catch(std::invalid_argument &_e) {
34583  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
34584  }
34585 
34586  resultobj = SWIG_Py_Void();
34587  if (SWIG_IsNewObj(res4)) delete arg4;
34588  return resultobj;
34589 fail:
34590  if (SWIG_IsNewObj(res4)) delete arg4;
34591  return NULL;
34592 }
34593 
34594 
34595 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34596  PyObject *resultobj = 0;
34597  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
34598  std::vector< HudItem * >::difference_type arg2 ;
34599  std::vector< HudItem * >::difference_type arg3 ;
34600  void *argp1 = 0 ;
34601  int res1 = 0 ;
34602  ptrdiff_t val2 ;
34603  int ecode2 = 0 ;
34604  ptrdiff_t val3 ;
34605  int ecode3 = 0 ;
34606  PyObject * obj0 = 0 ;
34607  PyObject * obj1 = 0 ;
34608  PyObject * obj2 = 0 ;
34609 
34610  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_HudItemPtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
34611  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
34612  if (!SWIG_IsOK(res1)) {
34613  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr___setslice__" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
34614  }
34615  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
34616  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
34617  if (!SWIG_IsOK(ecode2)) {
34618  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_HudItemPtr___setslice__" "', argument " "2"" of type '" "std::vector< HudItem * >::difference_type""'");
34619  }
34620  arg2 = static_cast< std::vector< HudItem * >::difference_type >(val2);
34621  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
34622  if (!SWIG_IsOK(ecode3)) {
34623  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_HudItemPtr___setslice__" "', argument " "3"" of type '" "std::vector< HudItem * >::difference_type""'");
34624  }
34625  arg3 = static_cast< std::vector< HudItem * >::difference_type >(val3);
34626  try {
34627  std_vector_Sl_HudItem_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
34628  }
34629  catch(std::out_of_range &_e) {
34630  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
34631  }
34632  catch(std::invalid_argument &_e) {
34633  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
34634  }
34635 
34636  resultobj = SWIG_Py_Void();
34637  return resultobj;
34638 fail:
34639  return NULL;
34640 }
34641 
34642 
34643 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___setslice__(PyObject *self, PyObject *args) {
34644  int argc;
34645  PyObject *argv[5];
34646  int ii;
34647 
34648  if (!PyTuple_Check(args)) SWIG_fail;
34649  argc = args ? (int)PyObject_Length(args) : 0;
34650  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
34651  argv[ii] = PyTuple_GET_ITEM(args,ii);
34652  }
34653  if (argc == 3) {
34654  int _v;
34655  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
34656  _v = SWIG_CheckState(res);
34657  if (_v) {
34658  {
34659  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
34660  _v = SWIG_CheckState(res);
34661  }
34662  if (_v) {
34663  {
34664  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
34665  _v = SWIG_CheckState(res);
34666  }
34667  if (_v) {
34668  return _wrap_vector_HudItemPtr___setslice____SWIG_1(self, args);
34669  }
34670  }
34671  }
34672  }
34673  if (argc == 4) {
34674  int _v;
34675  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
34676  _v = SWIG_CheckState(res);
34677  if (_v) {
34678  {
34679  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
34680  _v = SWIG_CheckState(res);
34681  }
34682  if (_v) {
34683  {
34684  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
34685  _v = SWIG_CheckState(res);
34686  }
34687  if (_v) {
34688  int res = swig::asptr(argv[3], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
34689  _v = SWIG_CheckState(res);
34690  if (_v) {
34691  return _wrap_vector_HudItemPtr___setslice____SWIG_0(self, args);
34692  }
34693  }
34694  }
34695  }
34696  }
34697 
34698 fail:
34699  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_HudItemPtr___setslice__'.\n"
34700  " Possible C/C++ prototypes are:\n"
34701  " std::vector< HudItem * >::__setslice__(std::vector< HudItem * >::difference_type,std::vector< HudItem * >::difference_type,std::vector< HudItem *,std::allocator< HudItem * > > const &)\n"
34702  " std::vector< HudItem * >::__setslice__(std::vector< HudItem * >::difference_type,std::vector< HudItem * >::difference_type)\n");
34703  return 0;
34704 }
34705 
34706 
34707 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34708  PyObject *resultobj = 0;
34709  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
34710  std::vector< HudItem * >::difference_type arg2 ;
34711  std::vector< HudItem * >::difference_type arg3 ;
34712  void *argp1 = 0 ;
34713  int res1 = 0 ;
34714  ptrdiff_t val2 ;
34715  int ecode2 = 0 ;
34716  ptrdiff_t val3 ;
34717  int ecode3 = 0 ;
34718  PyObject * obj0 = 0 ;
34719  PyObject * obj1 = 0 ;
34720  PyObject * obj2 = 0 ;
34721 
34722  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_HudItemPtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
34723  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
34724  if (!SWIG_IsOK(res1)) {
34725  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr___delslice__" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
34726  }
34727  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
34728  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
34729  if (!SWIG_IsOK(ecode2)) {
34730  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_HudItemPtr___delslice__" "', argument " "2"" of type '" "std::vector< HudItem * >::difference_type""'");
34731  }
34732  arg2 = static_cast< std::vector< HudItem * >::difference_type >(val2);
34733  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
34734  if (!SWIG_IsOK(ecode3)) {
34735  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_HudItemPtr___delslice__" "', argument " "3"" of type '" "std::vector< HudItem * >::difference_type""'");
34736  }
34737  arg3 = static_cast< std::vector< HudItem * >::difference_type >(val3);
34738  try {
34739  std_vector_Sl_HudItem_Sm__Sg____delslice__(arg1,arg2,arg3);
34740  }
34741  catch(std::out_of_range &_e) {
34742  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
34743  }
34744  catch(std::invalid_argument &_e) {
34745  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
34746  }
34747 
34748  resultobj = SWIG_Py_Void();
34749  return resultobj;
34750 fail:
34751  return NULL;
34752 }
34753 
34754 
34755 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34756  PyObject *resultobj = 0;
34757  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
34758  std::vector< HudItem * >::difference_type arg2 ;
34759  void *argp1 = 0 ;
34760  int res1 = 0 ;
34761  ptrdiff_t val2 ;
34762  int ecode2 = 0 ;
34763  PyObject * obj0 = 0 ;
34764  PyObject * obj1 = 0 ;
34765 
34766  if (!PyArg_ParseTuple(args,(char *)"OO:vector_HudItemPtr___delitem__",&obj0,&obj1)) SWIG_fail;
34767  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
34768  if (!SWIG_IsOK(res1)) {
34769  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr___delitem__" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
34770  }
34771  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
34772  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
34773  if (!SWIG_IsOK(ecode2)) {
34774  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_HudItemPtr___delitem__" "', argument " "2"" of type '" "std::vector< HudItem * >::difference_type""'");
34775  }
34776  arg2 = static_cast< std::vector< HudItem * >::difference_type >(val2);
34777  try {
34778  std_vector_Sl_HudItem_Sm__Sg____delitem____SWIG_0(arg1,arg2);
34779  }
34780  catch(std::out_of_range &_e) {
34781  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
34782  }
34783 
34784  resultobj = SWIG_Py_Void();
34785  return resultobj;
34786 fail:
34787  return NULL;
34788 }
34789 
34790 
34791 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34792  PyObject *resultobj = 0;
34793  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
34794  PySliceObject *arg2 = (PySliceObject *) 0 ;
34795  void *argp1 = 0 ;
34796  int res1 = 0 ;
34797  PyObject * obj0 = 0 ;
34798  PyObject * obj1 = 0 ;
34799  std::vector< HudItem *,std::allocator< HudItem * > > *result = 0 ;
34800 
34801  if (!PyArg_ParseTuple(args,(char *)"OO:vector_HudItemPtr___getitem__",&obj0,&obj1)) SWIG_fail;
34802  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
34803  if (!SWIG_IsOK(res1)) {
34804  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr___getitem__" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
34805  }
34806  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
34807  {
34808  if (!PySlice_Check(obj1)) {
34809  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_HudItemPtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
34810  }
34811  arg2 = (PySliceObject *) obj1;
34812  }
34813  try {
34814  result = (std::vector< HudItem *,std::allocator< HudItem * > > *)std_vector_Sl_HudItem_Sm__Sg____getitem____SWIG_0(arg1,arg2);
34815  }
34816  catch(std::out_of_range &_e) {
34817  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
34818  }
34819  catch(std::invalid_argument &_e) {
34820  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
34821  }
34822 
34823  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, SWIG_POINTER_OWN | 0 );
34824  return resultobj;
34825 fail:
34826  return NULL;
34827 }
34828 
34829 
34830 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34831  PyObject *resultobj = 0;
34832  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
34833  PySliceObject *arg2 = (PySliceObject *) 0 ;
34834  std::vector< HudItem *,std::allocator< HudItem * > > *arg3 = 0 ;
34835  void *argp1 = 0 ;
34836  int res1 = 0 ;
34837  int res3 = SWIG_OLDOBJ ;
34838  PyObject * obj0 = 0 ;
34839  PyObject * obj1 = 0 ;
34840  PyObject * obj2 = 0 ;
34841 
34842  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_HudItemPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
34843  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
34844  if (!SWIG_IsOK(res1)) {
34845  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr___setitem__" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
34846  }
34847  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
34848  {
34849  if (!PySlice_Check(obj1)) {
34850  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_HudItemPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
34851  }
34852  arg2 = (PySliceObject *) obj1;
34853  }
34854  {
34855  std::vector<HudItem*,std::allocator< HudItem * > > *ptr = (std::vector<HudItem*,std::allocator< HudItem * > > *)0;
34856  res3 = swig::asptr(obj2, &ptr);
34857  if (!SWIG_IsOK(res3)) {
34858  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_HudItemPtr___setitem__" "', argument " "3"" of type '" "std::vector< HudItem *,std::allocator< HudItem * > > const &""'");
34859  }
34860  if (!ptr) {
34861  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_HudItemPtr___setitem__" "', argument " "3"" of type '" "std::vector< HudItem *,std::allocator< HudItem * > > const &""'");
34862  }
34863  arg3 = ptr;
34864  }
34865  try {
34866  std_vector_Sl_HudItem_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< HudItem *,std::allocator< HudItem * > > const &)*arg3);
34867  }
34868  catch(std::out_of_range &_e) {
34869  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
34870  }
34871  catch(std::invalid_argument &_e) {
34872  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
34873  }
34874 
34875  resultobj = SWIG_Py_Void();
34876  if (SWIG_IsNewObj(res3)) delete arg3;
34877  return resultobj;
34878 fail:
34879  if (SWIG_IsNewObj(res3)) delete arg3;
34880  return NULL;
34881 }
34882 
34883 
34884 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34885  PyObject *resultobj = 0;
34886  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
34887  PySliceObject *arg2 = (PySliceObject *) 0 ;
34888  void *argp1 = 0 ;
34889  int res1 = 0 ;
34890  PyObject * obj0 = 0 ;
34891  PyObject * obj1 = 0 ;
34892 
34893  if (!PyArg_ParseTuple(args,(char *)"OO:vector_HudItemPtr___setitem__",&obj0,&obj1)) SWIG_fail;
34894  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
34895  if (!SWIG_IsOK(res1)) {
34896  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr___setitem__" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
34897  }
34898  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
34899  {
34900  if (!PySlice_Check(obj1)) {
34901  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_HudItemPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
34902  }
34903  arg2 = (PySliceObject *) obj1;
34904  }
34905  try {
34906  std_vector_Sl_HudItem_Sm__Sg____setitem____SWIG_1(arg1,arg2);
34907  }
34908  catch(std::out_of_range &_e) {
34909  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
34910  }
34911  catch(std::invalid_argument &_e) {
34912  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
34913  }
34914 
34915  resultobj = SWIG_Py_Void();
34916  return resultobj;
34917 fail:
34918  return NULL;
34919 }
34920 
34921 
34922 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34923  PyObject *resultobj = 0;
34924  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
34925  PySliceObject *arg2 = (PySliceObject *) 0 ;
34926  void *argp1 = 0 ;
34927  int res1 = 0 ;
34928  PyObject * obj0 = 0 ;
34929  PyObject * obj1 = 0 ;
34930 
34931  if (!PyArg_ParseTuple(args,(char *)"OO:vector_HudItemPtr___delitem__",&obj0,&obj1)) SWIG_fail;
34932  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
34933  if (!SWIG_IsOK(res1)) {
34934  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr___delitem__" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
34935  }
34936  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
34937  {
34938  if (!PySlice_Check(obj1)) {
34939  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_HudItemPtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
34940  }
34941  arg2 = (PySliceObject *) obj1;
34942  }
34943  try {
34944  std_vector_Sl_HudItem_Sm__Sg____delitem____SWIG_1(arg1,arg2);
34945  }
34946  catch(std::out_of_range &_e) {
34947  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
34948  }
34949  catch(std::invalid_argument &_e) {
34950  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
34951  }
34952 
34953  resultobj = SWIG_Py_Void();
34954  return resultobj;
34955 fail:
34956  return NULL;
34957 }
34958 
34959 
34960 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___delitem__(PyObject *self, PyObject *args) {
34961  int argc;
34962  PyObject *argv[3];
34963  int ii;
34964 
34965  if (!PyTuple_Check(args)) SWIG_fail;
34966  argc = args ? (int)PyObject_Length(args) : 0;
34967  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
34968  argv[ii] = PyTuple_GET_ITEM(args,ii);
34969  }
34970  if (argc == 2) {
34971  int _v;
34972  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
34973  _v = SWIG_CheckState(res);
34974  if (_v) {
34975  {
34976  _v = PySlice_Check(argv[1]);
34977  }
34978  if (_v) {
34979  return _wrap_vector_HudItemPtr___delitem____SWIG_1(self, args);
34980  }
34981  }
34982  }
34983  if (argc == 2) {
34984  int _v;
34985  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
34986  _v = SWIG_CheckState(res);
34987  if (_v) {
34988  {
34989  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
34990  _v = SWIG_CheckState(res);
34991  }
34992  if (_v) {
34993  return _wrap_vector_HudItemPtr___delitem____SWIG_0(self, args);
34994  }
34995  }
34996  }
34997 
34998 fail:
34999  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_HudItemPtr___delitem__'.\n"
35000  " Possible C/C++ prototypes are:\n"
35001  " std::vector< HudItem * >::__delitem__(std::vector< HudItem * >::difference_type)\n"
35002  " std::vector< HudItem * >::__delitem__(PySliceObject *)\n");
35003  return 0;
35004 }
35005 
35006 
35007 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35008  PyObject *resultobj = 0;
35009  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35010  std::vector< HudItem * >::difference_type arg2 ;
35011  void *argp1 = 0 ;
35012  int res1 = 0 ;
35013  ptrdiff_t val2 ;
35014  int ecode2 = 0 ;
35015  PyObject * obj0 = 0 ;
35016  PyObject * obj1 = 0 ;
35017  std::vector< HudItem * >::value_type result;
35018 
35019  if (!PyArg_ParseTuple(args,(char *)"OO:vector_HudItemPtr___getitem__",&obj0,&obj1)) SWIG_fail;
35020  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35021  if (!SWIG_IsOK(res1)) {
35022  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr___getitem__" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35023  }
35024  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35025  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
35026  if (!SWIG_IsOK(ecode2)) {
35027  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_HudItemPtr___getitem__" "', argument " "2"" of type '" "std::vector< HudItem * >::difference_type""'");
35028  }
35029  arg2 = static_cast< std::vector< HudItem * >::difference_type >(val2);
35030  try {
35031  result = (std::vector< HudItem * >::value_type)std_vector_Sl_HudItem_Sm__Sg____getitem____SWIG_1(arg1,arg2);
35032  }
35033  catch(std::out_of_range &_e) {
35034  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
35035  }
35036 
35037  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_HudItem, 0 | 0 );
35038  return resultobj;
35039 fail:
35040  return NULL;
35041 }
35042 
35043 
35044 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___getitem__(PyObject *self, PyObject *args) {
35045  int argc;
35046  PyObject *argv[3];
35047  int ii;
35048 
35049  if (!PyTuple_Check(args)) SWIG_fail;
35050  argc = args ? (int)PyObject_Length(args) : 0;
35051  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
35052  argv[ii] = PyTuple_GET_ITEM(args,ii);
35053  }
35054  if (argc == 2) {
35055  int _v;
35056  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
35057  _v = SWIG_CheckState(res);
35058  if (_v) {
35059  {
35060  _v = PySlice_Check(argv[1]);
35061  }
35062  if (_v) {
35063  return _wrap_vector_HudItemPtr___getitem____SWIG_0(self, args);
35064  }
35065  }
35066  }
35067  if (argc == 2) {
35068  int _v;
35069  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
35070  _v = SWIG_CheckState(res);
35071  if (_v) {
35072  {
35073  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
35074  _v = SWIG_CheckState(res);
35075  }
35076  if (_v) {
35077  return _wrap_vector_HudItemPtr___getitem____SWIG_1(self, args);
35078  }
35079  }
35080  }
35081 
35082 fail:
35083  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_HudItemPtr___getitem__'.\n"
35084  " Possible C/C++ prototypes are:\n"
35085  " std::vector< HudItem * >::__getitem__(PySliceObject *)\n"
35086  " std::vector< HudItem * >::__getitem__(std::vector< HudItem * >::difference_type)\n");
35087  return 0;
35088 }
35089 
35090 
35091 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35092  PyObject *resultobj = 0;
35093  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35094  std::vector< HudItem * >::difference_type arg2 ;
35095  std::vector< HudItem * >::value_type arg3 = (std::vector< HudItem * >::value_type) 0 ;
35096  void *argp1 = 0 ;
35097  int res1 = 0 ;
35098  ptrdiff_t val2 ;
35099  int ecode2 = 0 ;
35100  void *argp3 = 0 ;
35101  int res3 = 0 ;
35102  PyObject * obj0 = 0 ;
35103  PyObject * obj1 = 0 ;
35104  PyObject * obj2 = 0 ;
35105 
35106  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_HudItemPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
35107  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35108  if (!SWIG_IsOK(res1)) {
35109  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr___setitem__" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35110  }
35111  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35112  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
35113  if (!SWIG_IsOK(ecode2)) {
35114  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_HudItemPtr___setitem__" "', argument " "2"" of type '" "std::vector< HudItem * >::difference_type""'");
35115  }
35116  arg2 = static_cast< std::vector< HudItem * >::difference_type >(val2);
35117  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_HudItem, 0 | 0 );
35118  if (!SWIG_IsOK(res3)) {
35119  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_HudItemPtr___setitem__" "', argument " "3"" of type '" "std::vector< HudItem * >::value_type""'");
35120  }
35121  arg3 = reinterpret_cast< std::vector< HudItem * >::value_type >(argp3);
35122  try {
35123  std_vector_Sl_HudItem_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
35124  }
35125  catch(std::out_of_range &_e) {
35126  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
35127  }
35128 
35129  resultobj = SWIG_Py_Void();
35130  return resultobj;
35131 fail:
35132  return NULL;
35133 }
35134 
35135 
35136 SWIGINTERN PyObject *_wrap_vector_HudItemPtr___setitem__(PyObject *self, PyObject *args) {
35137  int argc;
35138  PyObject *argv[4];
35139  int ii;
35140 
35141  if (!PyTuple_Check(args)) SWIG_fail;
35142  argc = args ? (int)PyObject_Length(args) : 0;
35143  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
35144  argv[ii] = PyTuple_GET_ITEM(args,ii);
35145  }
35146  if (argc == 2) {
35147  int _v;
35148  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
35149  _v = SWIG_CheckState(res);
35150  if (_v) {
35151  {
35152  _v = PySlice_Check(argv[1]);
35153  }
35154  if (_v) {
35155  return _wrap_vector_HudItemPtr___setitem____SWIG_1(self, args);
35156  }
35157  }
35158  }
35159  if (argc == 3) {
35160  int _v;
35161  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
35162  _v = SWIG_CheckState(res);
35163  if (_v) {
35164  {
35165  _v = PySlice_Check(argv[1]);
35166  }
35167  if (_v) {
35168  int res = swig::asptr(argv[2], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
35169  _v = SWIG_CheckState(res);
35170  if (_v) {
35171  return _wrap_vector_HudItemPtr___setitem____SWIG_0(self, args);
35172  }
35173  }
35174  }
35175  }
35176  if (argc == 3) {
35177  int _v;
35178  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
35179  _v = SWIG_CheckState(res);
35180  if (_v) {
35181  {
35182  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
35183  _v = SWIG_CheckState(res);
35184  }
35185  if (_v) {
35186  void *vptr = 0;
35187  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_HudItem, 0);
35188  _v = SWIG_CheckState(res);
35189  if (_v) {
35190  return _wrap_vector_HudItemPtr___setitem____SWIG_2(self, args);
35191  }
35192  }
35193  }
35194  }
35195 
35196 fail:
35197  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_HudItemPtr___setitem__'.\n"
35198  " Possible C/C++ prototypes are:\n"
35199  " std::vector< HudItem * >::__setitem__(PySliceObject *,std::vector< HudItem *,std::allocator< HudItem * > > const &)\n"
35200  " std::vector< HudItem * >::__setitem__(PySliceObject *)\n"
35201  " std::vector< HudItem * >::__setitem__(std::vector< HudItem * >::difference_type,std::vector< HudItem * >::value_type)\n");
35202  return 0;
35203 }
35204 
35205 
35206 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35207  PyObject *resultobj = 0;
35208  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35209  std::vector< HudItem * >::value_type arg2 = (std::vector< HudItem * >::value_type) 0 ;
35210  void *argp1 = 0 ;
35211  int res1 = 0 ;
35212  void *argp2 = 0 ;
35213  int res2 = 0 ;
35214  PyObject * obj0 = 0 ;
35215  PyObject * obj1 = 0 ;
35216 
35217  if (!PyArg_ParseTuple(args,(char *)"OO:vector_HudItemPtr_append",&obj0,&obj1)) SWIG_fail;
35218  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35219  if (!SWIG_IsOK(res1)) {
35220  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_append" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35221  }
35222  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35223  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_HudItem, 0 | 0 );
35224  if (!SWIG_IsOK(res2)) {
35225  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_HudItemPtr_append" "', argument " "2"" of type '" "std::vector< HudItem * >::value_type""'");
35226  }
35227  arg2 = reinterpret_cast< std::vector< HudItem * >::value_type >(argp2);
35228  std_vector_Sl_HudItem_Sm__Sg__append(arg1,arg2);
35229  resultobj = SWIG_Py_Void();
35230  return resultobj;
35231 fail:
35232  return NULL;
35233 }
35234 
35235 
35236 SWIGINTERN PyObject *_wrap_new_vector_HudItemPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35237  PyObject *resultobj = 0;
35238  std::vector< HudItem * > *result = 0 ;
35239 
35240  if (!PyArg_ParseTuple(args,(char *)":new_vector_HudItemPtr")) SWIG_fail;
35241  result = (std::vector< HudItem * > *)new std::vector< HudItem * >();
35242  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, SWIG_POINTER_NEW | 0 );
35243  return resultobj;
35244 fail:
35245  return NULL;
35246 }
35247 
35248 
35249 SWIGINTERN PyObject *_wrap_new_vector_HudItemPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35250  PyObject *resultobj = 0;
35251  std::vector< HudItem * > *arg1 = 0 ;
35252  int res1 = SWIG_OLDOBJ ;
35253  PyObject * obj0 = 0 ;
35254  std::vector< HudItem * > *result = 0 ;
35255 
35256  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_HudItemPtr",&obj0)) SWIG_fail;
35257  {
35258  std::vector<HudItem*,std::allocator< HudItem * > > *ptr = (std::vector<HudItem*,std::allocator< HudItem * > > *)0;
35259  res1 = swig::asptr(obj0, &ptr);
35260  if (!SWIG_IsOK(res1)) {
35261  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_HudItemPtr" "', argument " "1"" of type '" "std::vector< HudItem * > const &""'");
35262  }
35263  if (!ptr) {
35264  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_HudItemPtr" "', argument " "1"" of type '" "std::vector< HudItem * > const &""'");
35265  }
35266  arg1 = ptr;
35267  }
35268  result = (std::vector< HudItem * > *)new std::vector< HudItem * >((std::vector< HudItem * > const &)*arg1);
35269  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, SWIG_POINTER_NEW | 0 );
35270  if (SWIG_IsNewObj(res1)) delete arg1;
35271  return resultobj;
35272 fail:
35273  if (SWIG_IsNewObj(res1)) delete arg1;
35274  return NULL;
35275 }
35276 
35277 
35278 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35279  PyObject *resultobj = 0;
35280  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35281  void *argp1 = 0 ;
35282  int res1 = 0 ;
35283  PyObject * obj0 = 0 ;
35284  bool result;
35285 
35286  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr_empty",&obj0)) SWIG_fail;
35287  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35288  if (!SWIG_IsOK(res1)) {
35289  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_empty" "', argument " "1"" of type '" "std::vector< HudItem * > const *""'");
35290  }
35291  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35292  result = (bool)((std::vector< HudItem * > const *)arg1)->empty();
35293  resultobj = SWIG_From_bool(static_cast< bool >(result));
35294  return resultobj;
35295 fail:
35296  return NULL;
35297 }
35298 
35299 
35300 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35301  PyObject *resultobj = 0;
35302  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35303  void *argp1 = 0 ;
35304  int res1 = 0 ;
35305  PyObject * obj0 = 0 ;
35306  std::vector< HudItem * >::size_type result;
35307 
35308  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr_size",&obj0)) SWIG_fail;
35309  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35310  if (!SWIG_IsOK(res1)) {
35311  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_size" "', argument " "1"" of type '" "std::vector< HudItem * > const *""'");
35312  }
35313  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35314  result = ((std::vector< HudItem * > const *)arg1)->size();
35315  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35316  return resultobj;
35317 fail:
35318  return NULL;
35319 }
35320 
35321 
35322 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35323  PyObject *resultobj = 0;
35324  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35325  void *argp1 = 0 ;
35326  int res1 = 0 ;
35327  PyObject * obj0 = 0 ;
35328 
35329  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr_clear",&obj0)) SWIG_fail;
35330  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35331  if (!SWIG_IsOK(res1)) {
35332  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_clear" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35333  }
35334  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35335  (arg1)->clear();
35336  resultobj = SWIG_Py_Void();
35337  return resultobj;
35338 fail:
35339  return NULL;
35340 }
35341 
35342 
35343 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35344  PyObject *resultobj = 0;
35345  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35346  std::vector< HudItem * > *arg2 = 0 ;
35347  void *argp1 = 0 ;
35348  int res1 = 0 ;
35349  void *argp2 = 0 ;
35350  int res2 = 0 ;
35351  PyObject * obj0 = 0 ;
35352  PyObject * obj1 = 0 ;
35353 
35354  if (!PyArg_ParseTuple(args,(char *)"OO:vector_HudItemPtr_swap",&obj0,&obj1)) SWIG_fail;
35355  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35356  if (!SWIG_IsOK(res1)) {
35357  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_swap" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35358  }
35359  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35360  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 );
35361  if (!SWIG_IsOK(res2)) {
35362  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_HudItemPtr_swap" "', argument " "2"" of type '" "std::vector< HudItem * > &""'");
35363  }
35364  if (!argp2) {
35365  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_HudItemPtr_swap" "', argument " "2"" of type '" "std::vector< HudItem * > &""'");
35366  }
35367  arg2 = reinterpret_cast< std::vector< HudItem * > * >(argp2);
35368  (arg1)->swap(*arg2);
35369  resultobj = SWIG_Py_Void();
35370  return resultobj;
35371 fail:
35372  return NULL;
35373 }
35374 
35375 
35376 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35377  PyObject *resultobj = 0;
35378  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35379  void *argp1 = 0 ;
35380  int res1 = 0 ;
35381  PyObject * obj0 = 0 ;
35382  SwigValueWrapper< std::allocator< HudItem * > > result;
35383 
35384  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr_get_allocator",&obj0)) SWIG_fail;
35385  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35386  if (!SWIG_IsOK(res1)) {
35387  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_get_allocator" "', argument " "1"" of type '" "std::vector< HudItem * > const *""'");
35388  }
35389  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35390  result = ((std::vector< HudItem * > const *)arg1)->get_allocator();
35391  resultobj = SWIG_NewPointerObj((new std::vector< HudItem * >::allocator_type(static_cast< const std::vector< HudItem * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_HudItem_p_t, SWIG_POINTER_OWN | 0 );
35392  return resultobj;
35393 fail:
35394  return NULL;
35395 }
35396 
35397 
35398 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35399  PyObject *resultobj = 0;
35400  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35401  void *argp1 = 0 ;
35402  int res1 = 0 ;
35403  PyObject * obj0 = 0 ;
35404  std::vector< HudItem * >::iterator result;
35405 
35406  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr_begin",&obj0)) SWIG_fail;
35407  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35408  if (!SWIG_IsOK(res1)) {
35409  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_begin" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35410  }
35411  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35412  result = (arg1)->begin();
35413  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< HudItem * >::iterator & >(result)),
35414  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
35415  return resultobj;
35416 fail:
35417  return NULL;
35418 }
35419 
35420 
35421 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35422  PyObject *resultobj = 0;
35423  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35424  void *argp1 = 0 ;
35425  int res1 = 0 ;
35426  PyObject * obj0 = 0 ;
35427  std::vector< HudItem * >::iterator result;
35428 
35429  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr_end",&obj0)) SWIG_fail;
35430  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35431  if (!SWIG_IsOK(res1)) {
35432  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_end" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35433  }
35434  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35435  result = (arg1)->end();
35436  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< HudItem * >::iterator & >(result)),
35437  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
35438  return resultobj;
35439 fail:
35440  return NULL;
35441 }
35442 
35443 
35444 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35445  PyObject *resultobj = 0;
35446  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35447  void *argp1 = 0 ;
35448  int res1 = 0 ;
35449  PyObject * obj0 = 0 ;
35450  std::vector< HudItem * >::reverse_iterator result;
35451 
35452  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr_rbegin",&obj0)) SWIG_fail;
35453  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35454  if (!SWIG_IsOK(res1)) {
35455  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_rbegin" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35456  }
35457  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35458  result = (arg1)->rbegin();
35459  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< HudItem * >::reverse_iterator & >(result)),
35460  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
35461  return resultobj;
35462 fail:
35463  return NULL;
35464 }
35465 
35466 
35467 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35468  PyObject *resultobj = 0;
35469  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35470  void *argp1 = 0 ;
35471  int res1 = 0 ;
35472  PyObject * obj0 = 0 ;
35473  std::vector< HudItem * >::reverse_iterator result;
35474 
35475  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr_rend",&obj0)) SWIG_fail;
35476  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35477  if (!SWIG_IsOK(res1)) {
35478  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_rend" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35479  }
35480  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35481  result = (arg1)->rend();
35482  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< HudItem * >::reverse_iterator & >(result)),
35483  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
35484  return resultobj;
35485 fail:
35486  return NULL;
35487 }
35488 
35489 
35490 SWIGINTERN PyObject *_wrap_new_vector_HudItemPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35491  PyObject *resultobj = 0;
35492  std::vector< HudItem * >::size_type arg1 ;
35493  size_t val1 ;
35494  int ecode1 = 0 ;
35495  PyObject * obj0 = 0 ;
35496  std::vector< HudItem * > *result = 0 ;
35497 
35498  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_HudItemPtr",&obj0)) SWIG_fail;
35499  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
35500  if (!SWIG_IsOK(ecode1)) {
35501  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_HudItemPtr" "', argument " "1"" of type '" "std::vector< HudItem * >::size_type""'");
35502  }
35503  arg1 = static_cast< std::vector< HudItem * >::size_type >(val1);
35504  result = (std::vector< HudItem * > *)new std::vector< HudItem * >(arg1);
35505  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, SWIG_POINTER_NEW | 0 );
35506  return resultobj;
35507 fail:
35508  return NULL;
35509 }
35510 
35511 
35512 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35513  PyObject *resultobj = 0;
35514  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35515  void *argp1 = 0 ;
35516  int res1 = 0 ;
35517  PyObject * obj0 = 0 ;
35518 
35519  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr_pop_back",&obj0)) SWIG_fail;
35520  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35521  if (!SWIG_IsOK(res1)) {
35522  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_pop_back" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35523  }
35524  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35525  (arg1)->pop_back();
35526  resultobj = SWIG_Py_Void();
35527  return resultobj;
35528 fail:
35529  return NULL;
35530 }
35531 
35532 
35533 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35534  PyObject *resultobj = 0;
35535  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35536  std::vector< HudItem * >::size_type arg2 ;
35537  void *argp1 = 0 ;
35538  int res1 = 0 ;
35539  size_t val2 ;
35540  int ecode2 = 0 ;
35541  PyObject * obj0 = 0 ;
35542  PyObject * obj1 = 0 ;
35543 
35544  if (!PyArg_ParseTuple(args,(char *)"OO:vector_HudItemPtr_resize",&obj0,&obj1)) SWIG_fail;
35545  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35546  if (!SWIG_IsOK(res1)) {
35547  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_resize" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35548  }
35549  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35550  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
35551  if (!SWIG_IsOK(ecode2)) {
35552  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_HudItemPtr_resize" "', argument " "2"" of type '" "std::vector< HudItem * >::size_type""'");
35553  }
35554  arg2 = static_cast< std::vector< HudItem * >::size_type >(val2);
35555  (arg1)->resize(arg2);
35556  resultobj = SWIG_Py_Void();
35557  return resultobj;
35558 fail:
35559  return NULL;
35560 }
35561 
35562 
35563 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35564  PyObject *resultobj = 0;
35565  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35566  std::vector< HudItem * >::iterator arg2 ;
35567  void *argp1 = 0 ;
35568  int res1 = 0 ;
35569  swig::SwigPyIterator *iter2 = 0 ;
35570  int res2 ;
35571  PyObject * obj0 = 0 ;
35572  PyObject * obj1 = 0 ;
35573  std::vector< HudItem * >::iterator result;
35574 
35575  if (!PyArg_ParseTuple(args,(char *)"OO:vector_HudItemPtr_erase",&obj0,&obj1)) SWIG_fail;
35576  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35577  if (!SWIG_IsOK(res1)) {
35578  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_erase" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35579  }
35580  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35581  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
35582  if (!SWIG_IsOK(res2) || !iter2) {
35583  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_HudItemPtr_erase" "', argument " "2"" of type '" "std::vector< HudItem * >::iterator""'");
35584  } else {
35586  if (iter_t) {
35587  arg2 = iter_t->get_current();
35588  } else {
35589  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_HudItemPtr_erase" "', argument " "2"" of type '" "std::vector< HudItem * >::iterator""'");
35590  }
35591  }
35592  result = std_vector_Sl_HudItem_Sm__Sg__erase__SWIG_0(arg1,arg2);
35593  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< HudItem * >::iterator & >(result)),
35594  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
35595  return resultobj;
35596 fail:
35597  return NULL;
35598 }
35599 
35600 
35601 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35602  PyObject *resultobj = 0;
35603  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35604  std::vector< HudItem * >::iterator arg2 ;
35605  std::vector< HudItem * >::iterator arg3 ;
35606  void *argp1 = 0 ;
35607  int res1 = 0 ;
35608  swig::SwigPyIterator *iter2 = 0 ;
35609  int res2 ;
35610  swig::SwigPyIterator *iter3 = 0 ;
35611  int res3 ;
35612  PyObject * obj0 = 0 ;
35613  PyObject * obj1 = 0 ;
35614  PyObject * obj2 = 0 ;
35615  std::vector< HudItem * >::iterator result;
35616 
35617  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_HudItemPtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
35618  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35619  if (!SWIG_IsOK(res1)) {
35620  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_erase" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35621  }
35622  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35623  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
35624  if (!SWIG_IsOK(res2) || !iter2) {
35625  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_HudItemPtr_erase" "', argument " "2"" of type '" "std::vector< HudItem * >::iterator""'");
35626  } else {
35628  if (iter_t) {
35629  arg2 = iter_t->get_current();
35630  } else {
35631  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_HudItemPtr_erase" "', argument " "2"" of type '" "std::vector< HudItem * >::iterator""'");
35632  }
35633  }
35634  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
35635  if (!SWIG_IsOK(res3) || !iter3) {
35636  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_HudItemPtr_erase" "', argument " "3"" of type '" "std::vector< HudItem * >::iterator""'");
35637  } else {
35639  if (iter_t) {
35640  arg3 = iter_t->get_current();
35641  } else {
35642  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_HudItemPtr_erase" "', argument " "3"" of type '" "std::vector< HudItem * >::iterator""'");
35643  }
35644  }
35645  result = std_vector_Sl_HudItem_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
35646  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< HudItem * >::iterator & >(result)),
35647  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
35648  return resultobj;
35649 fail:
35650  return NULL;
35651 }
35652 
35653 
35654 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_erase(PyObject *self, PyObject *args) {
35655  int argc;
35656  PyObject *argv[4];
35657  int ii;
35658 
35659  if (!PyTuple_Check(args)) SWIG_fail;
35660  argc = args ? (int)PyObject_Length(args) : 0;
35661  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
35662  argv[ii] = PyTuple_GET_ITEM(args,ii);
35663  }
35664  if (argc == 2) {
35665  int _v;
35666  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
35667  _v = SWIG_CheckState(res);
35668  if (_v) {
35669  swig::SwigPyIterator *iter = 0;
35670  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
35671  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< HudItem * >::iterator > *>(iter) != 0));
35672  if (_v) {
35673  return _wrap_vector_HudItemPtr_erase__SWIG_0(self, args);
35674  }
35675  }
35676  }
35677  if (argc == 3) {
35678  int _v;
35679  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
35680  _v = SWIG_CheckState(res);
35681  if (_v) {
35682  swig::SwigPyIterator *iter = 0;
35683  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
35684  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< HudItem * >::iterator > *>(iter) != 0));
35685  if (_v) {
35686  swig::SwigPyIterator *iter = 0;
35687  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
35688  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< HudItem * >::iterator > *>(iter) != 0));
35689  if (_v) {
35690  return _wrap_vector_HudItemPtr_erase__SWIG_1(self, args);
35691  }
35692  }
35693  }
35694  }
35695 
35696 fail:
35697  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_HudItemPtr_erase'.\n"
35698  " Possible C/C++ prototypes are:\n"
35699  " std::vector< HudItem * >::erase(std::vector< HudItem * >::iterator)\n"
35700  " std::vector< HudItem * >::erase(std::vector< HudItem * >::iterator,std::vector< HudItem * >::iterator)\n");
35701  return 0;
35702 }
35703 
35704 
35705 SWIGINTERN PyObject *_wrap_new_vector_HudItemPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35706  PyObject *resultobj = 0;
35707  std::vector< HudItem * >::size_type arg1 ;
35708  std::vector< HudItem * >::value_type arg2 = (std::vector< HudItem * >::value_type) 0 ;
35709  size_t val1 ;
35710  int ecode1 = 0 ;
35711  void *argp2 = 0 ;
35712  int res2 = 0 ;
35713  PyObject * obj0 = 0 ;
35714  PyObject * obj1 = 0 ;
35715  std::vector< HudItem * > *result = 0 ;
35716 
35717  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_HudItemPtr",&obj0,&obj1)) SWIG_fail;
35718  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
35719  if (!SWIG_IsOK(ecode1)) {
35720  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_HudItemPtr" "', argument " "1"" of type '" "std::vector< HudItem * >::size_type""'");
35721  }
35722  arg1 = static_cast< std::vector< HudItem * >::size_type >(val1);
35723  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_HudItem, 0 | 0 );
35724  if (!SWIG_IsOK(res2)) {
35725  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_HudItemPtr" "', argument " "2"" of type '" "std::vector< HudItem * >::value_type""'");
35726  }
35727  arg2 = reinterpret_cast< std::vector< HudItem * >::value_type >(argp2);
35728  result = (std::vector< HudItem * > *)new std::vector< HudItem * >(arg1,arg2);
35729  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, SWIG_POINTER_NEW | 0 );
35730  return resultobj;
35731 fail:
35732  return NULL;
35733 }
35734 
35735 
35736 SWIGINTERN PyObject *_wrap_new_vector_HudItemPtr(PyObject *self, PyObject *args) {
35737  int argc;
35738  PyObject *argv[3];
35739  int ii;
35740 
35741  if (!PyTuple_Check(args)) SWIG_fail;
35742  argc = args ? (int)PyObject_Length(args) : 0;
35743  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
35744  argv[ii] = PyTuple_GET_ITEM(args,ii);
35745  }
35746  if (argc == 0) {
35747  return _wrap_new_vector_HudItemPtr__SWIG_0(self, args);
35748  }
35749  if (argc == 1) {
35750  int _v;
35751  {
35752  int res = SWIG_AsVal_size_t(argv[0], NULL);
35753  _v = SWIG_CheckState(res);
35754  }
35755  if (_v) {
35756  return _wrap_new_vector_HudItemPtr__SWIG_2(self, args);
35757  }
35758  }
35759  if (argc == 1) {
35760  int _v;
35761  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
35762  _v = SWIG_CheckState(res);
35763  if (_v) {
35764  return _wrap_new_vector_HudItemPtr__SWIG_1(self, args);
35765  }
35766  }
35767  if (argc == 2) {
35768  int _v;
35769  {
35770  int res = SWIG_AsVal_size_t(argv[0], NULL);
35771  _v = SWIG_CheckState(res);
35772  }
35773  if (_v) {
35774  void *vptr = 0;
35775  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_HudItem, 0);
35776  _v = SWIG_CheckState(res);
35777  if (_v) {
35778  return _wrap_new_vector_HudItemPtr__SWIG_3(self, args);
35779  }
35780  }
35781  }
35782 
35783 fail:
35784  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_HudItemPtr'.\n"
35785  " Possible C/C++ prototypes are:\n"
35786  " std::vector< HudItem * >::vector()\n"
35787  " std::vector< HudItem * >::vector(std::vector< HudItem * > const &)\n"
35788  " std::vector< HudItem * >::vector(std::vector< HudItem * >::size_type)\n"
35789  " std::vector< HudItem * >::vector(std::vector< HudItem * >::size_type,std::vector< HudItem * >::value_type)\n");
35790  return 0;
35791 }
35792 
35793 
35794 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35795  PyObject *resultobj = 0;
35796  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35797  std::vector< HudItem * >::value_type arg2 = (std::vector< HudItem * >::value_type) 0 ;
35798  void *argp1 = 0 ;
35799  int res1 = 0 ;
35800  void *argp2 = 0 ;
35801  int res2 = 0 ;
35802  PyObject * obj0 = 0 ;
35803  PyObject * obj1 = 0 ;
35804 
35805  if (!PyArg_ParseTuple(args,(char *)"OO:vector_HudItemPtr_push_back",&obj0,&obj1)) SWIG_fail;
35806  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35807  if (!SWIG_IsOK(res1)) {
35808  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_push_back" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35809  }
35810  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35811  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_HudItem, 0 | 0 );
35812  if (!SWIG_IsOK(res2)) {
35813  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_HudItemPtr_push_back" "', argument " "2"" of type '" "std::vector< HudItem * >::value_type""'");
35814  }
35815  arg2 = reinterpret_cast< std::vector< HudItem * >::value_type >(argp2);
35816  (arg1)->push_back(arg2);
35817  resultobj = SWIG_Py_Void();
35818  return resultobj;
35819 fail:
35820  return NULL;
35821 }
35822 
35823 
35824 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35825  PyObject *resultobj = 0;
35826  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35827  void *argp1 = 0 ;
35828  int res1 = 0 ;
35829  PyObject * obj0 = 0 ;
35830  std::vector< HudItem * >::value_type result;
35831 
35832  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr_front",&obj0)) SWIG_fail;
35833  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35834  if (!SWIG_IsOK(res1)) {
35835  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_front" "', argument " "1"" of type '" "std::vector< HudItem * > const *""'");
35836  }
35837  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35838  result = (std::vector< HudItem * >::value_type)((std::vector< HudItem * > const *)arg1)->front();
35839  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_HudItem, 0 | 0 );
35840  return resultobj;
35841 fail:
35842  return NULL;
35843 }
35844 
35845 
35846 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35847  PyObject *resultobj = 0;
35848  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35849  void *argp1 = 0 ;
35850  int res1 = 0 ;
35851  PyObject * obj0 = 0 ;
35852  std::vector< HudItem * >::value_type result;
35853 
35854  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr_back",&obj0)) SWIG_fail;
35855  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35856  if (!SWIG_IsOK(res1)) {
35857  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_back" "', argument " "1"" of type '" "std::vector< HudItem * > const *""'");
35858  }
35859  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35860  result = (std::vector< HudItem * >::value_type)((std::vector< HudItem * > const *)arg1)->back();
35861  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_HudItem, 0 | 0 );
35862  return resultobj;
35863 fail:
35864  return NULL;
35865 }
35866 
35867 
35868 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35869  PyObject *resultobj = 0;
35870  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35871  std::vector< HudItem * >::size_type arg2 ;
35872  std::vector< HudItem * >::value_type arg3 = (std::vector< HudItem * >::value_type) 0 ;
35873  void *argp1 = 0 ;
35874  int res1 = 0 ;
35875  size_t val2 ;
35876  int ecode2 = 0 ;
35877  void *argp3 = 0 ;
35878  int res3 = 0 ;
35879  PyObject * obj0 = 0 ;
35880  PyObject * obj1 = 0 ;
35881  PyObject * obj2 = 0 ;
35882 
35883  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_HudItemPtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
35884  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35885  if (!SWIG_IsOK(res1)) {
35886  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_assign" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35887  }
35888  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35889  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
35890  if (!SWIG_IsOK(ecode2)) {
35891  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_HudItemPtr_assign" "', argument " "2"" of type '" "std::vector< HudItem * >::size_type""'");
35892  }
35893  arg2 = static_cast< std::vector< HudItem * >::size_type >(val2);
35894  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_HudItem, 0 | 0 );
35895  if (!SWIG_IsOK(res3)) {
35896  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_HudItemPtr_assign" "', argument " "3"" of type '" "std::vector< HudItem * >::value_type""'");
35897  }
35898  arg3 = reinterpret_cast< std::vector< HudItem * >::value_type >(argp3);
35899  (arg1)->assign(arg2,arg3);
35900  resultobj = SWIG_Py_Void();
35901  return resultobj;
35902 fail:
35903  return NULL;
35904 }
35905 
35906 
35907 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35908  PyObject *resultobj = 0;
35909  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
35910  std::vector< HudItem * >::size_type arg2 ;
35911  std::vector< HudItem * >::value_type arg3 = (std::vector< HudItem * >::value_type) 0 ;
35912  void *argp1 = 0 ;
35913  int res1 = 0 ;
35914  size_t val2 ;
35915  int ecode2 = 0 ;
35916  void *argp3 = 0 ;
35917  int res3 = 0 ;
35918  PyObject * obj0 = 0 ;
35919  PyObject * obj1 = 0 ;
35920  PyObject * obj2 = 0 ;
35921 
35922  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_HudItemPtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
35923  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
35924  if (!SWIG_IsOK(res1)) {
35925  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_resize" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
35926  }
35927  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
35928  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
35929  if (!SWIG_IsOK(ecode2)) {
35930  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_HudItemPtr_resize" "', argument " "2"" of type '" "std::vector< HudItem * >::size_type""'");
35931  }
35932  arg2 = static_cast< std::vector< HudItem * >::size_type >(val2);
35933  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_HudItem, 0 | 0 );
35934  if (!SWIG_IsOK(res3)) {
35935  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_HudItemPtr_resize" "', argument " "3"" of type '" "std::vector< HudItem * >::value_type""'");
35936  }
35937  arg3 = reinterpret_cast< std::vector< HudItem * >::value_type >(argp3);
35938  (arg1)->resize(arg2,arg3);
35939  resultobj = SWIG_Py_Void();
35940  return resultobj;
35941 fail:
35942  return NULL;
35943 }
35944 
35945 
35946 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_resize(PyObject *self, PyObject *args) {
35947  int argc;
35948  PyObject *argv[4];
35949  int ii;
35950 
35951  if (!PyTuple_Check(args)) SWIG_fail;
35952  argc = args ? (int)PyObject_Length(args) : 0;
35953  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
35954  argv[ii] = PyTuple_GET_ITEM(args,ii);
35955  }
35956  if (argc == 2) {
35957  int _v;
35958  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
35959  _v = SWIG_CheckState(res);
35960  if (_v) {
35961  {
35962  int res = SWIG_AsVal_size_t(argv[1], NULL);
35963  _v = SWIG_CheckState(res);
35964  }
35965  if (_v) {
35966  return _wrap_vector_HudItemPtr_resize__SWIG_0(self, args);
35967  }
35968  }
35969  }
35970  if (argc == 3) {
35971  int _v;
35972  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
35973  _v = SWIG_CheckState(res);
35974  if (_v) {
35975  {
35976  int res = SWIG_AsVal_size_t(argv[1], NULL);
35977  _v = SWIG_CheckState(res);
35978  }
35979  if (_v) {
35980  void *vptr = 0;
35981  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_HudItem, 0);
35982  _v = SWIG_CheckState(res);
35983  if (_v) {
35984  return _wrap_vector_HudItemPtr_resize__SWIG_1(self, args);
35985  }
35986  }
35987  }
35988  }
35989 
35990 fail:
35991  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_HudItemPtr_resize'.\n"
35992  " Possible C/C++ prototypes are:\n"
35993  " std::vector< HudItem * >::resize(std::vector< HudItem * >::size_type)\n"
35994  " std::vector< HudItem * >::resize(std::vector< HudItem * >::size_type,std::vector< HudItem * >::value_type)\n");
35995  return 0;
35996 }
35997 
35998 
35999 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36000  PyObject *resultobj = 0;
36001  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
36002  std::vector< HudItem * >::iterator arg2 ;
36003  std::vector< HudItem * >::value_type arg3 = (std::vector< HudItem * >::value_type) 0 ;
36004  void *argp1 = 0 ;
36005  int res1 = 0 ;
36006  swig::SwigPyIterator *iter2 = 0 ;
36007  int res2 ;
36008  void *argp3 = 0 ;
36009  int res3 = 0 ;
36010  PyObject * obj0 = 0 ;
36011  PyObject * obj1 = 0 ;
36012  PyObject * obj2 = 0 ;
36013  std::vector< HudItem * >::iterator result;
36014 
36015  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_HudItemPtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
36016  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
36017  if (!SWIG_IsOK(res1)) {
36018  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_insert" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
36019  }
36020  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
36021  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
36022  if (!SWIG_IsOK(res2) || !iter2) {
36023  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_HudItemPtr_insert" "', argument " "2"" of type '" "std::vector< HudItem * >::iterator""'");
36024  } else {
36026  if (iter_t) {
36027  arg2 = iter_t->get_current();
36028  } else {
36029  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_HudItemPtr_insert" "', argument " "2"" of type '" "std::vector< HudItem * >::iterator""'");
36030  }
36031  }
36032  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_HudItem, 0 | 0 );
36033  if (!SWIG_IsOK(res3)) {
36034  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_HudItemPtr_insert" "', argument " "3"" of type '" "std::vector< HudItem * >::value_type""'");
36035  }
36036  arg3 = reinterpret_cast< std::vector< HudItem * >::value_type >(argp3);
36037  result = std_vector_Sl_HudItem_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
36038  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< HudItem * >::iterator & >(result)),
36039  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
36040  return resultobj;
36041 fail:
36042  return NULL;
36043 }
36044 
36045 
36046 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36047  PyObject *resultobj = 0;
36048  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
36049  std::vector< HudItem * >::iterator arg2 ;
36050  std::vector< HudItem * >::size_type arg3 ;
36051  std::vector< HudItem * >::value_type arg4 = (std::vector< HudItem * >::value_type) 0 ;
36052  void *argp1 = 0 ;
36053  int res1 = 0 ;
36054  swig::SwigPyIterator *iter2 = 0 ;
36055  int res2 ;
36056  size_t val3 ;
36057  int ecode3 = 0 ;
36058  void *argp4 = 0 ;
36059  int res4 = 0 ;
36060  PyObject * obj0 = 0 ;
36061  PyObject * obj1 = 0 ;
36062  PyObject * obj2 = 0 ;
36063  PyObject * obj3 = 0 ;
36064 
36065  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_HudItemPtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
36066  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
36067  if (!SWIG_IsOK(res1)) {
36068  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_insert" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
36069  }
36070  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
36071  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
36072  if (!SWIG_IsOK(res2) || !iter2) {
36073  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_HudItemPtr_insert" "', argument " "2"" of type '" "std::vector< HudItem * >::iterator""'");
36074  } else {
36076  if (iter_t) {
36077  arg2 = iter_t->get_current();
36078  } else {
36079  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_HudItemPtr_insert" "', argument " "2"" of type '" "std::vector< HudItem * >::iterator""'");
36080  }
36081  }
36082  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
36083  if (!SWIG_IsOK(ecode3)) {
36084  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_HudItemPtr_insert" "', argument " "3"" of type '" "std::vector< HudItem * >::size_type""'");
36085  }
36086  arg3 = static_cast< std::vector< HudItem * >::size_type >(val3);
36087  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_HudItem, 0 | 0 );
36088  if (!SWIG_IsOK(res4)) {
36089  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_HudItemPtr_insert" "', argument " "4"" of type '" "std::vector< HudItem * >::value_type""'");
36090  }
36091  arg4 = reinterpret_cast< std::vector< HudItem * >::value_type >(argp4);
36092  std_vector_Sl_HudItem_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
36093  resultobj = SWIG_Py_Void();
36094  return resultobj;
36095 fail:
36096  return NULL;
36097 }
36098 
36099 
36100 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_insert(PyObject *self, PyObject *args) {
36101  int argc;
36102  PyObject *argv[5];
36103  int ii;
36104 
36105  if (!PyTuple_Check(args)) SWIG_fail;
36106  argc = args ? (int)PyObject_Length(args) : 0;
36107  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
36108  argv[ii] = PyTuple_GET_ITEM(args,ii);
36109  }
36110  if (argc == 3) {
36111  int _v;
36112  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
36113  _v = SWIG_CheckState(res);
36114  if (_v) {
36115  swig::SwigPyIterator *iter = 0;
36116  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
36117  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< HudItem * >::iterator > *>(iter) != 0));
36118  if (_v) {
36119  void *vptr = 0;
36120  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_HudItem, 0);
36121  _v = SWIG_CheckState(res);
36122  if (_v) {
36123  return _wrap_vector_HudItemPtr_insert__SWIG_0(self, args);
36124  }
36125  }
36126  }
36127  }
36128  if (argc == 4) {
36129  int _v;
36130  int res = swig::asptr(argv[0], (std::vector<HudItem*,std::allocator< HudItem * > >**)(0));
36131  _v = SWIG_CheckState(res);
36132  if (_v) {
36133  swig::SwigPyIterator *iter = 0;
36134  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
36135  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< HudItem * >::iterator > *>(iter) != 0));
36136  if (_v) {
36137  {
36138  int res = SWIG_AsVal_size_t(argv[2], NULL);
36139  _v = SWIG_CheckState(res);
36140  }
36141  if (_v) {
36142  void *vptr = 0;
36143  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_HudItem, 0);
36144  _v = SWIG_CheckState(res);
36145  if (_v) {
36146  return _wrap_vector_HudItemPtr_insert__SWIG_1(self, args);
36147  }
36148  }
36149  }
36150  }
36151  }
36152 
36153 fail:
36154  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_HudItemPtr_insert'.\n"
36155  " Possible C/C++ prototypes are:\n"
36156  " std::vector< HudItem * >::insert(std::vector< HudItem * >::iterator,std::vector< HudItem * >::value_type)\n"
36157  " std::vector< HudItem * >::insert(std::vector< HudItem * >::iterator,std::vector< HudItem * >::size_type,std::vector< HudItem * >::value_type)\n");
36158  return 0;
36159 }
36160 
36161 
36162 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36163  PyObject *resultobj = 0;
36164  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
36165  std::vector< HudItem * >::size_type arg2 ;
36166  void *argp1 = 0 ;
36167  int res1 = 0 ;
36168  size_t val2 ;
36169  int ecode2 = 0 ;
36170  PyObject * obj0 = 0 ;
36171  PyObject * obj1 = 0 ;
36172 
36173  if (!PyArg_ParseTuple(args,(char *)"OO:vector_HudItemPtr_reserve",&obj0,&obj1)) SWIG_fail;
36174  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
36175  if (!SWIG_IsOK(res1)) {
36176  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_reserve" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
36177  }
36178  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
36179  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
36180  if (!SWIG_IsOK(ecode2)) {
36181  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_HudItemPtr_reserve" "', argument " "2"" of type '" "std::vector< HudItem * >::size_type""'");
36182  }
36183  arg2 = static_cast< std::vector< HudItem * >::size_type >(val2);
36184  (arg1)->reserve(arg2);
36185  resultobj = SWIG_Py_Void();
36186  return resultobj;
36187 fail:
36188  return NULL;
36189 }
36190 
36191 
36192 SWIGINTERN PyObject *_wrap_vector_HudItemPtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36193  PyObject *resultobj = 0;
36194  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
36195  void *argp1 = 0 ;
36196  int res1 = 0 ;
36197  PyObject * obj0 = 0 ;
36198  std::vector< HudItem * >::size_type result;
36199 
36200  if (!PyArg_ParseTuple(args,(char *)"O:vector_HudItemPtr_capacity",&obj0)) SWIG_fail;
36201  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0 | 0 );
36202  if (!SWIG_IsOK(res1)) {
36203  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_HudItemPtr_capacity" "', argument " "1"" of type '" "std::vector< HudItem * > const *""'");
36204  }
36205  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
36206  result = ((std::vector< HudItem * > const *)arg1)->capacity();
36207  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
36208  return resultobj;
36209 fail:
36210  return NULL;
36211 }
36212 
36213 
36214 SWIGINTERN PyObject *_wrap_delete_vector_HudItemPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36215  PyObject *resultobj = 0;
36216  std::vector< HudItem * > *arg1 = (std::vector< HudItem * > *) 0 ;
36217  void *argp1 = 0 ;
36218  int res1 = 0 ;
36219  PyObject * obj0 = 0 ;
36220 
36221  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_HudItemPtr",&obj0)) SWIG_fail;
36222  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, SWIG_POINTER_DISOWN | 0 );
36223  if (!SWIG_IsOK(res1)) {
36224  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_HudItemPtr" "', argument " "1"" of type '" "std::vector< HudItem * > *""'");
36225  }
36226  arg1 = reinterpret_cast< std::vector< HudItem * > * >(argp1);
36227  {
36228  try {
36229  delete arg1;
36230  }
36231  catch(CStdErrorInfo oError)
36232  {
36233  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
36234  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
36235  PyErr_SetString(PyExc_IndexError, strError.c_str());
36236  SWIG_fail;
36237  }
36238  catch(...)
36239  {
36240  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
36241  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
36242  SWIG_fail;
36243  }
36244  }
36245  resultobj = SWIG_Py_Void();
36246  return resultobj;
36247 fail:
36248  return NULL;
36249 }
36250 
36251 
36252 SWIGINTERN PyObject *vector_HudItemPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36253  PyObject *obj;
36254  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
36255  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, SWIG_NewClientData(obj));
36256  return SWIG_Py_Void();
36257 }
36258 
36259 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36260  PyObject *resultobj = 0;
36261  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36262  PyObject **arg2 = (PyObject **) 0 ;
36263  void *argp1 = 0 ;
36264  int res1 = 0 ;
36265  PyObject * obj0 = 0 ;
36266  swig::SwigPyIterator *result = 0 ;
36267 
36268  arg2 = &obj0;
36269  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr_iterator",&obj0)) SWIG_fail;
36270  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
36271  if (!SWIG_IsOK(res1)) {
36272  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_iterator" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
36273  }
36274  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
36275  result = (swig::SwigPyIterator *)std_vector_Sl_KeyFrame_Sm__Sg__iterator(arg1,arg2);
36276  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
36277  return resultobj;
36278 fail:
36279  return NULL;
36280 }
36281 
36282 
36283 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36284  PyObject *resultobj = 0;
36285  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36286  void *argp1 = 0 ;
36287  int res1 = 0 ;
36288  PyObject * obj0 = 0 ;
36289  bool result;
36290 
36291  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr___nonzero__",&obj0)) SWIG_fail;
36292  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
36293  if (!SWIG_IsOK(res1)) {
36294  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr___nonzero__" "', argument " "1"" of type '" "std::vector< KeyFrame * > const *""'");
36295  }
36296  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
36297  result = (bool)std_vector_Sl_KeyFrame_Sm__Sg____nonzero__((std::vector< KeyFrame * > const *)arg1);
36298  resultobj = SWIG_From_bool(static_cast< bool >(result));
36299  return resultobj;
36300 fail:
36301  return NULL;
36302 }
36303 
36304 
36305 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36306  PyObject *resultobj = 0;
36307  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36308  void *argp1 = 0 ;
36309  int res1 = 0 ;
36310  PyObject * obj0 = 0 ;
36311  bool result;
36312 
36313  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr___bool__",&obj0)) SWIG_fail;
36314  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
36315  if (!SWIG_IsOK(res1)) {
36316  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr___bool__" "', argument " "1"" of type '" "std::vector< KeyFrame * > const *""'");
36317  }
36318  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
36319  result = (bool)std_vector_Sl_KeyFrame_Sm__Sg____bool__((std::vector< KeyFrame * > const *)arg1);
36320  resultobj = SWIG_From_bool(static_cast< bool >(result));
36321  return resultobj;
36322 fail:
36323  return NULL;
36324 }
36325 
36326 
36327 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36328  PyObject *resultobj = 0;
36329  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36330  void *argp1 = 0 ;
36331  int res1 = 0 ;
36332  PyObject * obj0 = 0 ;
36333  std::vector< KeyFrame * >::size_type result;
36334 
36335  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr___len__",&obj0)) SWIG_fail;
36336  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
36337  if (!SWIG_IsOK(res1)) {
36338  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr___len__" "', argument " "1"" of type '" "std::vector< KeyFrame * > const *""'");
36339  }
36340  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
36341  result = std_vector_Sl_KeyFrame_Sm__Sg____len__((std::vector< KeyFrame * > const *)arg1);
36342  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
36343  return resultobj;
36344 fail:
36345  return NULL;
36346 }
36347 
36348 
36349 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36350  PyObject *resultobj = 0;
36351  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36352  void *argp1 = 0 ;
36353  int res1 = 0 ;
36354  PyObject * obj0 = 0 ;
36355  std::vector< KeyFrame * >::value_type result;
36356 
36357  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr_pop",&obj0)) SWIG_fail;
36358  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
36359  if (!SWIG_IsOK(res1)) {
36360  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_pop" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
36361  }
36362  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
36363  try {
36364  result = (std::vector< KeyFrame * >::value_type)std_vector_Sl_KeyFrame_Sm__Sg__pop(arg1);
36365  }
36366  catch(std::out_of_range &_e) {
36367  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
36368  }
36369 
36370  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_KeyFrame, 0 | 0 );
36371  return resultobj;
36372 fail:
36373  return NULL;
36374 }
36375 
36376 
36377 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36378  PyObject *resultobj = 0;
36379  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36380  std::vector< KeyFrame * >::difference_type arg2 ;
36381  std::vector< KeyFrame * >::difference_type arg3 ;
36382  void *argp1 = 0 ;
36383  int res1 = 0 ;
36384  ptrdiff_t val2 ;
36385  int ecode2 = 0 ;
36386  ptrdiff_t val3 ;
36387  int ecode3 = 0 ;
36388  PyObject * obj0 = 0 ;
36389  PyObject * obj1 = 0 ;
36390  PyObject * obj2 = 0 ;
36391  std::vector< KeyFrame *,std::allocator< KeyFrame * > > *result = 0 ;
36392 
36393  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_KeyFramePtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
36394  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
36395  if (!SWIG_IsOK(res1)) {
36396  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr___getslice__" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
36397  }
36398  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
36399  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
36400  if (!SWIG_IsOK(ecode2)) {
36401  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_KeyFramePtr___getslice__" "', argument " "2"" of type '" "std::vector< KeyFrame * >::difference_type""'");
36402  }
36403  arg2 = static_cast< std::vector< KeyFrame * >::difference_type >(val2);
36404  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
36405  if (!SWIG_IsOK(ecode3)) {
36406  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_KeyFramePtr___getslice__" "', argument " "3"" of type '" "std::vector< KeyFrame * >::difference_type""'");
36407  }
36408  arg3 = static_cast< std::vector< KeyFrame * >::difference_type >(val3);
36409  try {
36410  result = (std::vector< KeyFrame *,std::allocator< KeyFrame * > > *)std_vector_Sl_KeyFrame_Sm__Sg____getslice__(arg1,arg2,arg3);
36411  }
36412  catch(std::out_of_range &_e) {
36413  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
36414  }
36415  catch(std::invalid_argument &_e) {
36416  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
36417  }
36418 
36419  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, SWIG_POINTER_OWN | 0 );
36420  return resultobj;
36421 fail:
36422  return NULL;
36423 }
36424 
36425 
36426 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36427  PyObject *resultobj = 0;
36428  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36429  std::vector< KeyFrame * >::difference_type arg2 ;
36430  std::vector< KeyFrame * >::difference_type arg3 ;
36431  std::vector< KeyFrame *,std::allocator< KeyFrame * > > *arg4 = 0 ;
36432  void *argp1 = 0 ;
36433  int res1 = 0 ;
36434  ptrdiff_t val2 ;
36435  int ecode2 = 0 ;
36436  ptrdiff_t val3 ;
36437  int ecode3 = 0 ;
36438  int res4 = SWIG_OLDOBJ ;
36439  PyObject * obj0 = 0 ;
36440  PyObject * obj1 = 0 ;
36441  PyObject * obj2 = 0 ;
36442  PyObject * obj3 = 0 ;
36443 
36444  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_KeyFramePtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
36445  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
36446  if (!SWIG_IsOK(res1)) {
36447  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr___setslice__" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
36448  }
36449  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
36450  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
36451  if (!SWIG_IsOK(ecode2)) {
36452  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_KeyFramePtr___setslice__" "', argument " "2"" of type '" "std::vector< KeyFrame * >::difference_type""'");
36453  }
36454  arg2 = static_cast< std::vector< KeyFrame * >::difference_type >(val2);
36455  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
36456  if (!SWIG_IsOK(ecode3)) {
36457  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_KeyFramePtr___setslice__" "', argument " "3"" of type '" "std::vector< KeyFrame * >::difference_type""'");
36458  }
36459  arg3 = static_cast< std::vector< KeyFrame * >::difference_type >(val3);
36460  {
36461  std::vector<KeyFrame*,std::allocator< KeyFrame * > > *ptr = (std::vector<KeyFrame*,std::allocator< KeyFrame * > > *)0;
36462  res4 = swig::asptr(obj3, &ptr);
36463  if (!SWIG_IsOK(res4)) {
36464  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_KeyFramePtr___setslice__" "', argument " "4"" of type '" "std::vector< KeyFrame *,std::allocator< KeyFrame * > > const &""'");
36465  }
36466  if (!ptr) {
36467  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_KeyFramePtr___setslice__" "', argument " "4"" of type '" "std::vector< KeyFrame *,std::allocator< KeyFrame * > > const &""'");
36468  }
36469  arg4 = ptr;
36470  }
36471  try {
36472  std_vector_Sl_KeyFrame_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< KeyFrame *,std::allocator< KeyFrame * > > const &)*arg4);
36473  }
36474  catch(std::out_of_range &_e) {
36475  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
36476  }
36477  catch(std::invalid_argument &_e) {
36478  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
36479  }
36480 
36481  resultobj = SWIG_Py_Void();
36482  if (SWIG_IsNewObj(res4)) delete arg4;
36483  return resultobj;
36484 fail:
36485  if (SWIG_IsNewObj(res4)) delete arg4;
36486  return NULL;
36487 }
36488 
36489 
36490 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36491  PyObject *resultobj = 0;
36492  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36493  std::vector< KeyFrame * >::difference_type arg2 ;
36494  std::vector< KeyFrame * >::difference_type arg3 ;
36495  void *argp1 = 0 ;
36496  int res1 = 0 ;
36497  ptrdiff_t val2 ;
36498  int ecode2 = 0 ;
36499  ptrdiff_t val3 ;
36500  int ecode3 = 0 ;
36501  PyObject * obj0 = 0 ;
36502  PyObject * obj1 = 0 ;
36503  PyObject * obj2 = 0 ;
36504 
36505  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_KeyFramePtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
36506  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
36507  if (!SWIG_IsOK(res1)) {
36508  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr___setslice__" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
36509  }
36510  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
36511  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
36512  if (!SWIG_IsOK(ecode2)) {
36513  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_KeyFramePtr___setslice__" "', argument " "2"" of type '" "std::vector< KeyFrame * >::difference_type""'");
36514  }
36515  arg2 = static_cast< std::vector< KeyFrame * >::difference_type >(val2);
36516  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
36517  if (!SWIG_IsOK(ecode3)) {
36518  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_KeyFramePtr___setslice__" "', argument " "3"" of type '" "std::vector< KeyFrame * >::difference_type""'");
36519  }
36520  arg3 = static_cast< std::vector< KeyFrame * >::difference_type >(val3);
36521  try {
36522  std_vector_Sl_KeyFrame_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
36523  }
36524  catch(std::out_of_range &_e) {
36525  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
36526  }
36527  catch(std::invalid_argument &_e) {
36528  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
36529  }
36530 
36531  resultobj = SWIG_Py_Void();
36532  return resultobj;
36533 fail:
36534  return NULL;
36535 }
36536 
36537 
36538 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___setslice__(PyObject *self, PyObject *args) {
36539  int argc;
36540  PyObject *argv[5];
36541  int ii;
36542 
36543  if (!PyTuple_Check(args)) SWIG_fail;
36544  argc = args ? (int)PyObject_Length(args) : 0;
36545  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
36546  argv[ii] = PyTuple_GET_ITEM(args,ii);
36547  }
36548  if (argc == 3) {
36549  int _v;
36550  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
36551  _v = SWIG_CheckState(res);
36552  if (_v) {
36553  {
36554  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
36555  _v = SWIG_CheckState(res);
36556  }
36557  if (_v) {
36558  {
36559  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
36560  _v = SWIG_CheckState(res);
36561  }
36562  if (_v) {
36563  return _wrap_vector_KeyFramePtr___setslice____SWIG_1(self, args);
36564  }
36565  }
36566  }
36567  }
36568  if (argc == 4) {
36569  int _v;
36570  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
36571  _v = SWIG_CheckState(res);
36572  if (_v) {
36573  {
36574  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
36575  _v = SWIG_CheckState(res);
36576  }
36577  if (_v) {
36578  {
36579  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
36580  _v = SWIG_CheckState(res);
36581  }
36582  if (_v) {
36583  int res = swig::asptr(argv[3], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
36584  _v = SWIG_CheckState(res);
36585  if (_v) {
36586  return _wrap_vector_KeyFramePtr___setslice____SWIG_0(self, args);
36587  }
36588  }
36589  }
36590  }
36591  }
36592 
36593 fail:
36594  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_KeyFramePtr___setslice__'.\n"
36595  " Possible C/C++ prototypes are:\n"
36596  " std::vector< KeyFrame * >::__setslice__(std::vector< KeyFrame * >::difference_type,std::vector< KeyFrame * >::difference_type,std::vector< KeyFrame *,std::allocator< KeyFrame * > > const &)\n"
36597  " std::vector< KeyFrame * >::__setslice__(std::vector< KeyFrame * >::difference_type,std::vector< KeyFrame * >::difference_type)\n");
36598  return 0;
36599 }
36600 
36601 
36602 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36603  PyObject *resultobj = 0;
36604  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36605  std::vector< KeyFrame * >::difference_type arg2 ;
36606  std::vector< KeyFrame * >::difference_type arg3 ;
36607  void *argp1 = 0 ;
36608  int res1 = 0 ;
36609  ptrdiff_t val2 ;
36610  int ecode2 = 0 ;
36611  ptrdiff_t val3 ;
36612  int ecode3 = 0 ;
36613  PyObject * obj0 = 0 ;
36614  PyObject * obj1 = 0 ;
36615  PyObject * obj2 = 0 ;
36616 
36617  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_KeyFramePtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
36618  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
36619  if (!SWIG_IsOK(res1)) {
36620  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr___delslice__" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
36621  }
36622  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
36623  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
36624  if (!SWIG_IsOK(ecode2)) {
36625  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_KeyFramePtr___delslice__" "', argument " "2"" of type '" "std::vector< KeyFrame * >::difference_type""'");
36626  }
36627  arg2 = static_cast< std::vector< KeyFrame * >::difference_type >(val2);
36628  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
36629  if (!SWIG_IsOK(ecode3)) {
36630  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_KeyFramePtr___delslice__" "', argument " "3"" of type '" "std::vector< KeyFrame * >::difference_type""'");
36631  }
36632  arg3 = static_cast< std::vector< KeyFrame * >::difference_type >(val3);
36633  try {
36634  std_vector_Sl_KeyFrame_Sm__Sg____delslice__(arg1,arg2,arg3);
36635  }
36636  catch(std::out_of_range &_e) {
36637  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
36638  }
36639  catch(std::invalid_argument &_e) {
36640  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
36641  }
36642 
36643  resultobj = SWIG_Py_Void();
36644  return resultobj;
36645 fail:
36646  return NULL;
36647 }
36648 
36649 
36650 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36651  PyObject *resultobj = 0;
36652  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36653  std::vector< KeyFrame * >::difference_type arg2 ;
36654  void *argp1 = 0 ;
36655  int res1 = 0 ;
36656  ptrdiff_t val2 ;
36657  int ecode2 = 0 ;
36658  PyObject * obj0 = 0 ;
36659  PyObject * obj1 = 0 ;
36660 
36661  if (!PyArg_ParseTuple(args,(char *)"OO:vector_KeyFramePtr___delitem__",&obj0,&obj1)) SWIG_fail;
36662  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
36663  if (!SWIG_IsOK(res1)) {
36664  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr___delitem__" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
36665  }
36666  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
36667  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
36668  if (!SWIG_IsOK(ecode2)) {
36669  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_KeyFramePtr___delitem__" "', argument " "2"" of type '" "std::vector< KeyFrame * >::difference_type""'");
36670  }
36671  arg2 = static_cast< std::vector< KeyFrame * >::difference_type >(val2);
36672  try {
36673  std_vector_Sl_KeyFrame_Sm__Sg____delitem____SWIG_0(arg1,arg2);
36674  }
36675  catch(std::out_of_range &_e) {
36676  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
36677  }
36678 
36679  resultobj = SWIG_Py_Void();
36680  return resultobj;
36681 fail:
36682  return NULL;
36683 }
36684 
36685 
36686 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36687  PyObject *resultobj = 0;
36688  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36689  PySliceObject *arg2 = (PySliceObject *) 0 ;
36690  void *argp1 = 0 ;
36691  int res1 = 0 ;
36692  PyObject * obj0 = 0 ;
36693  PyObject * obj1 = 0 ;
36694  std::vector< KeyFrame *,std::allocator< KeyFrame * > > *result = 0 ;
36695 
36696  if (!PyArg_ParseTuple(args,(char *)"OO:vector_KeyFramePtr___getitem__",&obj0,&obj1)) SWIG_fail;
36697  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
36698  if (!SWIG_IsOK(res1)) {
36699  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr___getitem__" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
36700  }
36701  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
36702  {
36703  if (!PySlice_Check(obj1)) {
36704  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_KeyFramePtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
36705  }
36706  arg2 = (PySliceObject *) obj1;
36707  }
36708  try {
36709  result = (std::vector< KeyFrame *,std::allocator< KeyFrame * > > *)std_vector_Sl_KeyFrame_Sm__Sg____getitem____SWIG_0(arg1,arg2);
36710  }
36711  catch(std::out_of_range &_e) {
36712  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
36713  }
36714  catch(std::invalid_argument &_e) {
36715  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
36716  }
36717 
36718  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, SWIG_POINTER_OWN | 0 );
36719  return resultobj;
36720 fail:
36721  return NULL;
36722 }
36723 
36724 
36725 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36726  PyObject *resultobj = 0;
36727  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36728  PySliceObject *arg2 = (PySliceObject *) 0 ;
36729  std::vector< KeyFrame *,std::allocator< KeyFrame * > > *arg3 = 0 ;
36730  void *argp1 = 0 ;
36731  int res1 = 0 ;
36732  int res3 = SWIG_OLDOBJ ;
36733  PyObject * obj0 = 0 ;
36734  PyObject * obj1 = 0 ;
36735  PyObject * obj2 = 0 ;
36736 
36737  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_KeyFramePtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
36738  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
36739  if (!SWIG_IsOK(res1)) {
36740  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr___setitem__" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
36741  }
36742  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
36743  {
36744  if (!PySlice_Check(obj1)) {
36745  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_KeyFramePtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
36746  }
36747  arg2 = (PySliceObject *) obj1;
36748  }
36749  {
36750  std::vector<KeyFrame*,std::allocator< KeyFrame * > > *ptr = (std::vector<KeyFrame*,std::allocator< KeyFrame * > > *)0;
36751  res3 = swig::asptr(obj2, &ptr);
36752  if (!SWIG_IsOK(res3)) {
36753  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_KeyFramePtr___setitem__" "', argument " "3"" of type '" "std::vector< KeyFrame *,std::allocator< KeyFrame * > > const &""'");
36754  }
36755  if (!ptr) {
36756  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_KeyFramePtr___setitem__" "', argument " "3"" of type '" "std::vector< KeyFrame *,std::allocator< KeyFrame * > > const &""'");
36757  }
36758  arg3 = ptr;
36759  }
36760  try {
36761  std_vector_Sl_KeyFrame_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< KeyFrame *,std::allocator< KeyFrame * > > const &)*arg3);
36762  }
36763  catch(std::out_of_range &_e) {
36764  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
36765  }
36766  catch(std::invalid_argument &_e) {
36767  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
36768  }
36769 
36770  resultobj = SWIG_Py_Void();
36771  if (SWIG_IsNewObj(res3)) delete arg3;
36772  return resultobj;
36773 fail:
36774  if (SWIG_IsNewObj(res3)) delete arg3;
36775  return NULL;
36776 }
36777 
36778 
36779 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36780  PyObject *resultobj = 0;
36781  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36782  PySliceObject *arg2 = (PySliceObject *) 0 ;
36783  void *argp1 = 0 ;
36784  int res1 = 0 ;
36785  PyObject * obj0 = 0 ;
36786  PyObject * obj1 = 0 ;
36787 
36788  if (!PyArg_ParseTuple(args,(char *)"OO:vector_KeyFramePtr___setitem__",&obj0,&obj1)) SWIG_fail;
36789  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
36790  if (!SWIG_IsOK(res1)) {
36791  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr___setitem__" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
36792  }
36793  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
36794  {
36795  if (!PySlice_Check(obj1)) {
36796  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_KeyFramePtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
36797  }
36798  arg2 = (PySliceObject *) obj1;
36799  }
36800  try {
36801  std_vector_Sl_KeyFrame_Sm__Sg____setitem____SWIG_1(arg1,arg2);
36802  }
36803  catch(std::out_of_range &_e) {
36804  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
36805  }
36806  catch(std::invalid_argument &_e) {
36807  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
36808  }
36809 
36810  resultobj = SWIG_Py_Void();
36811  return resultobj;
36812 fail:
36813  return NULL;
36814 }
36815 
36816 
36817 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36818  PyObject *resultobj = 0;
36819  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36820  PySliceObject *arg2 = (PySliceObject *) 0 ;
36821  void *argp1 = 0 ;
36822  int res1 = 0 ;
36823  PyObject * obj0 = 0 ;
36824  PyObject * obj1 = 0 ;
36825 
36826  if (!PyArg_ParseTuple(args,(char *)"OO:vector_KeyFramePtr___delitem__",&obj0,&obj1)) SWIG_fail;
36827  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
36828  if (!SWIG_IsOK(res1)) {
36829  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr___delitem__" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
36830  }
36831  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
36832  {
36833  if (!PySlice_Check(obj1)) {
36834  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_KeyFramePtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
36835  }
36836  arg2 = (PySliceObject *) obj1;
36837  }
36838  try {
36839  std_vector_Sl_KeyFrame_Sm__Sg____delitem____SWIG_1(arg1,arg2);
36840  }
36841  catch(std::out_of_range &_e) {
36842  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
36843  }
36844  catch(std::invalid_argument &_e) {
36845  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
36846  }
36847 
36848  resultobj = SWIG_Py_Void();
36849  return resultobj;
36850 fail:
36851  return NULL;
36852 }
36853 
36854 
36855 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___delitem__(PyObject *self, PyObject *args) {
36856  int argc;
36857  PyObject *argv[3];
36858  int ii;
36859 
36860  if (!PyTuple_Check(args)) SWIG_fail;
36861  argc = args ? (int)PyObject_Length(args) : 0;
36862  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
36863  argv[ii] = PyTuple_GET_ITEM(args,ii);
36864  }
36865  if (argc == 2) {
36866  int _v;
36867  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
36868  _v = SWIG_CheckState(res);
36869  if (_v) {
36870  {
36871  _v = PySlice_Check(argv[1]);
36872  }
36873  if (_v) {
36874  return _wrap_vector_KeyFramePtr___delitem____SWIG_1(self, args);
36875  }
36876  }
36877  }
36878  if (argc == 2) {
36879  int _v;
36880  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
36881  _v = SWIG_CheckState(res);
36882  if (_v) {
36883  {
36884  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
36885  _v = SWIG_CheckState(res);
36886  }
36887  if (_v) {
36888  return _wrap_vector_KeyFramePtr___delitem____SWIG_0(self, args);
36889  }
36890  }
36891  }
36892 
36893 fail:
36894  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_KeyFramePtr___delitem__'.\n"
36895  " Possible C/C++ prototypes are:\n"
36896  " std::vector< KeyFrame * >::__delitem__(std::vector< KeyFrame * >::difference_type)\n"
36897  " std::vector< KeyFrame * >::__delitem__(PySliceObject *)\n");
36898  return 0;
36899 }
36900 
36901 
36902 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36903  PyObject *resultobj = 0;
36904  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36905  std::vector< KeyFrame * >::difference_type arg2 ;
36906  void *argp1 = 0 ;
36907  int res1 = 0 ;
36908  ptrdiff_t val2 ;
36909  int ecode2 = 0 ;
36910  PyObject * obj0 = 0 ;
36911  PyObject * obj1 = 0 ;
36912  std::vector< KeyFrame * >::value_type result;
36913 
36914  if (!PyArg_ParseTuple(args,(char *)"OO:vector_KeyFramePtr___getitem__",&obj0,&obj1)) SWIG_fail;
36915  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
36916  if (!SWIG_IsOK(res1)) {
36917  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr___getitem__" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
36918  }
36919  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
36920  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
36921  if (!SWIG_IsOK(ecode2)) {
36922  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_KeyFramePtr___getitem__" "', argument " "2"" of type '" "std::vector< KeyFrame * >::difference_type""'");
36923  }
36924  arg2 = static_cast< std::vector< KeyFrame * >::difference_type >(val2);
36925  try {
36926  result = (std::vector< KeyFrame * >::value_type)std_vector_Sl_KeyFrame_Sm__Sg____getitem____SWIG_1(arg1,arg2);
36927  }
36928  catch(std::out_of_range &_e) {
36929  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
36930  }
36931 
36932  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_KeyFrame, 0 | 0 );
36933  return resultobj;
36934 fail:
36935  return NULL;
36936 }
36937 
36938 
36939 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___getitem__(PyObject *self, PyObject *args) {
36940  int argc;
36941  PyObject *argv[3];
36942  int ii;
36943 
36944  if (!PyTuple_Check(args)) SWIG_fail;
36945  argc = args ? (int)PyObject_Length(args) : 0;
36946  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
36947  argv[ii] = PyTuple_GET_ITEM(args,ii);
36948  }
36949  if (argc == 2) {
36950  int _v;
36951  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
36952  _v = SWIG_CheckState(res);
36953  if (_v) {
36954  {
36955  _v = PySlice_Check(argv[1]);
36956  }
36957  if (_v) {
36958  return _wrap_vector_KeyFramePtr___getitem____SWIG_0(self, args);
36959  }
36960  }
36961  }
36962  if (argc == 2) {
36963  int _v;
36964  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
36965  _v = SWIG_CheckState(res);
36966  if (_v) {
36967  {
36968  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
36969  _v = SWIG_CheckState(res);
36970  }
36971  if (_v) {
36972  return _wrap_vector_KeyFramePtr___getitem____SWIG_1(self, args);
36973  }
36974  }
36975  }
36976 
36977 fail:
36978  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_KeyFramePtr___getitem__'.\n"
36979  " Possible C/C++ prototypes are:\n"
36980  " std::vector< KeyFrame * >::__getitem__(PySliceObject *)\n"
36981  " std::vector< KeyFrame * >::__getitem__(std::vector< KeyFrame * >::difference_type)\n");
36982  return 0;
36983 }
36984 
36985 
36986 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36987  PyObject *resultobj = 0;
36988  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
36989  std::vector< KeyFrame * >::difference_type arg2 ;
36990  std::vector< KeyFrame * >::value_type arg3 = (std::vector< KeyFrame * >::value_type) 0 ;
36991  void *argp1 = 0 ;
36992  int res1 = 0 ;
36993  ptrdiff_t val2 ;
36994  int ecode2 = 0 ;
36995  void *argp3 = 0 ;
36996  int res3 = 0 ;
36997  PyObject * obj0 = 0 ;
36998  PyObject * obj1 = 0 ;
36999  PyObject * obj2 = 0 ;
37000 
37001  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_KeyFramePtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
37002  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37003  if (!SWIG_IsOK(res1)) {
37004  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr___setitem__" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37005  }
37006  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37007  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
37008  if (!SWIG_IsOK(ecode2)) {
37009  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_KeyFramePtr___setitem__" "', argument " "2"" of type '" "std::vector< KeyFrame * >::difference_type""'");
37010  }
37011  arg2 = static_cast< std::vector< KeyFrame * >::difference_type >(val2);
37012  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_KeyFrame, 0 | 0 );
37013  if (!SWIG_IsOK(res3)) {
37014  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_KeyFramePtr___setitem__" "', argument " "3"" of type '" "std::vector< KeyFrame * >::value_type""'");
37015  }
37016  arg3 = reinterpret_cast< std::vector< KeyFrame * >::value_type >(argp3);
37017  try {
37018  std_vector_Sl_KeyFrame_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
37019  }
37020  catch(std::out_of_range &_e) {
37021  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
37022  }
37023 
37024  resultobj = SWIG_Py_Void();
37025  return resultobj;
37026 fail:
37027  return NULL;
37028 }
37029 
37030 
37031 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr___setitem__(PyObject *self, PyObject *args) {
37032  int argc;
37033  PyObject *argv[4];
37034  int ii;
37035 
37036  if (!PyTuple_Check(args)) SWIG_fail;
37037  argc = args ? (int)PyObject_Length(args) : 0;
37038  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
37039  argv[ii] = PyTuple_GET_ITEM(args,ii);
37040  }
37041  if (argc == 2) {
37042  int _v;
37043  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
37044  _v = SWIG_CheckState(res);
37045  if (_v) {
37046  {
37047  _v = PySlice_Check(argv[1]);
37048  }
37049  if (_v) {
37050  return _wrap_vector_KeyFramePtr___setitem____SWIG_1(self, args);
37051  }
37052  }
37053  }
37054  if (argc == 3) {
37055  int _v;
37056  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
37057  _v = SWIG_CheckState(res);
37058  if (_v) {
37059  {
37060  _v = PySlice_Check(argv[1]);
37061  }
37062  if (_v) {
37063  int res = swig::asptr(argv[2], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
37064  _v = SWIG_CheckState(res);
37065  if (_v) {
37066  return _wrap_vector_KeyFramePtr___setitem____SWIG_0(self, args);
37067  }
37068  }
37069  }
37070  }
37071  if (argc == 3) {
37072  int _v;
37073  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
37074  _v = SWIG_CheckState(res);
37075  if (_v) {
37076  {
37077  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
37078  _v = SWIG_CheckState(res);
37079  }
37080  if (_v) {
37081  void *vptr = 0;
37082  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_KeyFrame, 0);
37083  _v = SWIG_CheckState(res);
37084  if (_v) {
37085  return _wrap_vector_KeyFramePtr___setitem____SWIG_2(self, args);
37086  }
37087  }
37088  }
37089  }
37090 
37091 fail:
37092  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_KeyFramePtr___setitem__'.\n"
37093  " Possible C/C++ prototypes are:\n"
37094  " std::vector< KeyFrame * >::__setitem__(PySliceObject *,std::vector< KeyFrame *,std::allocator< KeyFrame * > > const &)\n"
37095  " std::vector< KeyFrame * >::__setitem__(PySliceObject *)\n"
37096  " std::vector< KeyFrame * >::__setitem__(std::vector< KeyFrame * >::difference_type,std::vector< KeyFrame * >::value_type)\n");
37097  return 0;
37098 }
37099 
37100 
37101 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37102  PyObject *resultobj = 0;
37103  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37104  std::vector< KeyFrame * >::value_type arg2 = (std::vector< KeyFrame * >::value_type) 0 ;
37105  void *argp1 = 0 ;
37106  int res1 = 0 ;
37107  void *argp2 = 0 ;
37108  int res2 = 0 ;
37109  PyObject * obj0 = 0 ;
37110  PyObject * obj1 = 0 ;
37111 
37112  if (!PyArg_ParseTuple(args,(char *)"OO:vector_KeyFramePtr_append",&obj0,&obj1)) SWIG_fail;
37113  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37114  if (!SWIG_IsOK(res1)) {
37115  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_append" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37116  }
37117  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37118  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_KeyFrame, 0 | 0 );
37119  if (!SWIG_IsOK(res2)) {
37120  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_KeyFramePtr_append" "', argument " "2"" of type '" "std::vector< KeyFrame * >::value_type""'");
37121  }
37122  arg2 = reinterpret_cast< std::vector< KeyFrame * >::value_type >(argp2);
37123  std_vector_Sl_KeyFrame_Sm__Sg__append(arg1,arg2);
37124  resultobj = SWIG_Py_Void();
37125  return resultobj;
37126 fail:
37127  return NULL;
37128 }
37129 
37130 
37131 SWIGINTERN PyObject *_wrap_new_vector_KeyFramePtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37132  PyObject *resultobj = 0;
37133  std::vector< KeyFrame * > *result = 0 ;
37134 
37135  if (!PyArg_ParseTuple(args,(char *)":new_vector_KeyFramePtr")) SWIG_fail;
37136  result = (std::vector< KeyFrame * > *)new std::vector< KeyFrame * >();
37137  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, SWIG_POINTER_NEW | 0 );
37138  return resultobj;
37139 fail:
37140  return NULL;
37141 }
37142 
37143 
37144 SWIGINTERN PyObject *_wrap_new_vector_KeyFramePtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37145  PyObject *resultobj = 0;
37146  std::vector< KeyFrame * > *arg1 = 0 ;
37147  int res1 = SWIG_OLDOBJ ;
37148  PyObject * obj0 = 0 ;
37149  std::vector< KeyFrame * > *result = 0 ;
37150 
37151  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_KeyFramePtr",&obj0)) SWIG_fail;
37152  {
37153  std::vector<KeyFrame*,std::allocator< KeyFrame * > > *ptr = (std::vector<KeyFrame*,std::allocator< KeyFrame * > > *)0;
37154  res1 = swig::asptr(obj0, &ptr);
37155  if (!SWIG_IsOK(res1)) {
37156  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_KeyFramePtr" "', argument " "1"" of type '" "std::vector< KeyFrame * > const &""'");
37157  }
37158  if (!ptr) {
37159  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_KeyFramePtr" "', argument " "1"" of type '" "std::vector< KeyFrame * > const &""'");
37160  }
37161  arg1 = ptr;
37162  }
37163  result = (std::vector< KeyFrame * > *)new std::vector< KeyFrame * >((std::vector< KeyFrame * > const &)*arg1);
37164  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, SWIG_POINTER_NEW | 0 );
37165  if (SWIG_IsNewObj(res1)) delete arg1;
37166  return resultobj;
37167 fail:
37168  if (SWIG_IsNewObj(res1)) delete arg1;
37169  return NULL;
37170 }
37171 
37172 
37173 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37174  PyObject *resultobj = 0;
37175  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37176  void *argp1 = 0 ;
37177  int res1 = 0 ;
37178  PyObject * obj0 = 0 ;
37179  bool result;
37180 
37181  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr_empty",&obj0)) SWIG_fail;
37182  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37183  if (!SWIG_IsOK(res1)) {
37184  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_empty" "', argument " "1"" of type '" "std::vector< KeyFrame * > const *""'");
37185  }
37186  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37187  result = (bool)((std::vector< KeyFrame * > const *)arg1)->empty();
37188  resultobj = SWIG_From_bool(static_cast< bool >(result));
37189  return resultobj;
37190 fail:
37191  return NULL;
37192 }
37193 
37194 
37195 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37196  PyObject *resultobj = 0;
37197  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37198  void *argp1 = 0 ;
37199  int res1 = 0 ;
37200  PyObject * obj0 = 0 ;
37201  std::vector< KeyFrame * >::size_type result;
37202 
37203  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr_size",&obj0)) SWIG_fail;
37204  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37205  if (!SWIG_IsOK(res1)) {
37206  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_size" "', argument " "1"" of type '" "std::vector< KeyFrame * > const *""'");
37207  }
37208  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37209  result = ((std::vector< KeyFrame * > const *)arg1)->size();
37210  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
37211  return resultobj;
37212 fail:
37213  return NULL;
37214 }
37215 
37216 
37217 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37218  PyObject *resultobj = 0;
37219  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37220  void *argp1 = 0 ;
37221  int res1 = 0 ;
37222  PyObject * obj0 = 0 ;
37223 
37224  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr_clear",&obj0)) SWIG_fail;
37225  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37226  if (!SWIG_IsOK(res1)) {
37227  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_clear" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37228  }
37229  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37230  (arg1)->clear();
37231  resultobj = SWIG_Py_Void();
37232  return resultobj;
37233 fail:
37234  return NULL;
37235 }
37236 
37237 
37238 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37239  PyObject *resultobj = 0;
37240  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37241  std::vector< KeyFrame * > *arg2 = 0 ;
37242  void *argp1 = 0 ;
37243  int res1 = 0 ;
37244  void *argp2 = 0 ;
37245  int res2 = 0 ;
37246  PyObject * obj0 = 0 ;
37247  PyObject * obj1 = 0 ;
37248 
37249  if (!PyArg_ParseTuple(args,(char *)"OO:vector_KeyFramePtr_swap",&obj0,&obj1)) SWIG_fail;
37250  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37251  if (!SWIG_IsOK(res1)) {
37252  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_swap" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37253  }
37254  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37255  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 );
37256  if (!SWIG_IsOK(res2)) {
37257  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_KeyFramePtr_swap" "', argument " "2"" of type '" "std::vector< KeyFrame * > &""'");
37258  }
37259  if (!argp2) {
37260  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_KeyFramePtr_swap" "', argument " "2"" of type '" "std::vector< KeyFrame * > &""'");
37261  }
37262  arg2 = reinterpret_cast< std::vector< KeyFrame * > * >(argp2);
37263  (arg1)->swap(*arg2);
37264  resultobj = SWIG_Py_Void();
37265  return resultobj;
37266 fail:
37267  return NULL;
37268 }
37269 
37270 
37271 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37272  PyObject *resultobj = 0;
37273  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37274  void *argp1 = 0 ;
37275  int res1 = 0 ;
37276  PyObject * obj0 = 0 ;
37277  SwigValueWrapper< std::allocator< KeyFrame * > > result;
37278 
37279  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr_get_allocator",&obj0)) SWIG_fail;
37280  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37281  if (!SWIG_IsOK(res1)) {
37282  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_get_allocator" "', argument " "1"" of type '" "std::vector< KeyFrame * > const *""'");
37283  }
37284  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37285  result = ((std::vector< KeyFrame * > const *)arg1)->get_allocator();
37286  resultobj = SWIG_NewPointerObj((new std::vector< KeyFrame * >::allocator_type(static_cast< const std::vector< KeyFrame * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_KeyFrame_p_t, SWIG_POINTER_OWN | 0 );
37287  return resultobj;
37288 fail:
37289  return NULL;
37290 }
37291 
37292 
37293 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37294  PyObject *resultobj = 0;
37295  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37296  void *argp1 = 0 ;
37297  int res1 = 0 ;
37298  PyObject * obj0 = 0 ;
37299  std::vector< KeyFrame * >::iterator result;
37300 
37301  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr_begin",&obj0)) SWIG_fail;
37302  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37303  if (!SWIG_IsOK(res1)) {
37304  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_begin" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37305  }
37306  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37307  result = (arg1)->begin();
37308  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< KeyFrame * >::iterator & >(result)),
37309  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
37310  return resultobj;
37311 fail:
37312  return NULL;
37313 }
37314 
37315 
37316 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37317  PyObject *resultobj = 0;
37318  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37319  void *argp1 = 0 ;
37320  int res1 = 0 ;
37321  PyObject * obj0 = 0 ;
37322  std::vector< KeyFrame * >::iterator result;
37323 
37324  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr_end",&obj0)) SWIG_fail;
37325  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37326  if (!SWIG_IsOK(res1)) {
37327  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_end" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37328  }
37329  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37330  result = (arg1)->end();
37331  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< KeyFrame * >::iterator & >(result)),
37332  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
37333  return resultobj;
37334 fail:
37335  return NULL;
37336 }
37337 
37338 
37339 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37340  PyObject *resultobj = 0;
37341  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37342  void *argp1 = 0 ;
37343  int res1 = 0 ;
37344  PyObject * obj0 = 0 ;
37345  std::vector< KeyFrame * >::reverse_iterator result;
37346 
37347  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr_rbegin",&obj0)) SWIG_fail;
37348  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37349  if (!SWIG_IsOK(res1)) {
37350  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_rbegin" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37351  }
37352  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37353  result = (arg1)->rbegin();
37354  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< KeyFrame * >::reverse_iterator & >(result)),
37355  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
37356  return resultobj;
37357 fail:
37358  return NULL;
37359 }
37360 
37361 
37362 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37363  PyObject *resultobj = 0;
37364  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37365  void *argp1 = 0 ;
37366  int res1 = 0 ;
37367  PyObject * obj0 = 0 ;
37368  std::vector< KeyFrame * >::reverse_iterator result;
37369 
37370  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr_rend",&obj0)) SWIG_fail;
37371  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37372  if (!SWIG_IsOK(res1)) {
37373  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_rend" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37374  }
37375  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37376  result = (arg1)->rend();
37377  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< KeyFrame * >::reverse_iterator & >(result)),
37378  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
37379  return resultobj;
37380 fail:
37381  return NULL;
37382 }
37383 
37384 
37385 SWIGINTERN PyObject *_wrap_new_vector_KeyFramePtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37386  PyObject *resultobj = 0;
37387  std::vector< KeyFrame * >::size_type arg1 ;
37388  size_t val1 ;
37389  int ecode1 = 0 ;
37390  PyObject * obj0 = 0 ;
37391  std::vector< KeyFrame * > *result = 0 ;
37392 
37393  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_KeyFramePtr",&obj0)) SWIG_fail;
37394  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
37395  if (!SWIG_IsOK(ecode1)) {
37396  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_KeyFramePtr" "', argument " "1"" of type '" "std::vector< KeyFrame * >::size_type""'");
37397  }
37398  arg1 = static_cast< std::vector< KeyFrame * >::size_type >(val1);
37399  result = (std::vector< KeyFrame * > *)new std::vector< KeyFrame * >(arg1);
37400  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, SWIG_POINTER_NEW | 0 );
37401  return resultobj;
37402 fail:
37403  return NULL;
37404 }
37405 
37406 
37407 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37408  PyObject *resultobj = 0;
37409  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37410  void *argp1 = 0 ;
37411  int res1 = 0 ;
37412  PyObject * obj0 = 0 ;
37413 
37414  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr_pop_back",&obj0)) SWIG_fail;
37415  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37416  if (!SWIG_IsOK(res1)) {
37417  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_pop_back" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37418  }
37419  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37420  (arg1)->pop_back();
37421  resultobj = SWIG_Py_Void();
37422  return resultobj;
37423 fail:
37424  return NULL;
37425 }
37426 
37427 
37428 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37429  PyObject *resultobj = 0;
37430  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37431  std::vector< KeyFrame * >::size_type arg2 ;
37432  void *argp1 = 0 ;
37433  int res1 = 0 ;
37434  size_t val2 ;
37435  int ecode2 = 0 ;
37436  PyObject * obj0 = 0 ;
37437  PyObject * obj1 = 0 ;
37438 
37439  if (!PyArg_ParseTuple(args,(char *)"OO:vector_KeyFramePtr_resize",&obj0,&obj1)) SWIG_fail;
37440  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37441  if (!SWIG_IsOK(res1)) {
37442  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_resize" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37443  }
37444  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37445  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
37446  if (!SWIG_IsOK(ecode2)) {
37447  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_KeyFramePtr_resize" "', argument " "2"" of type '" "std::vector< KeyFrame * >::size_type""'");
37448  }
37449  arg2 = static_cast< std::vector< KeyFrame * >::size_type >(val2);
37450  (arg1)->resize(arg2);
37451  resultobj = SWIG_Py_Void();
37452  return resultobj;
37453 fail:
37454  return NULL;
37455 }
37456 
37457 
37458 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37459  PyObject *resultobj = 0;
37460  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37461  std::vector< KeyFrame * >::iterator arg2 ;
37462  void *argp1 = 0 ;
37463  int res1 = 0 ;
37464  swig::SwigPyIterator *iter2 = 0 ;
37465  int res2 ;
37466  PyObject * obj0 = 0 ;
37467  PyObject * obj1 = 0 ;
37468  std::vector< KeyFrame * >::iterator result;
37469 
37470  if (!PyArg_ParseTuple(args,(char *)"OO:vector_KeyFramePtr_erase",&obj0,&obj1)) SWIG_fail;
37471  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37472  if (!SWIG_IsOK(res1)) {
37473  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_erase" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37474  }
37475  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37476  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
37477  if (!SWIG_IsOK(res2) || !iter2) {
37478  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_KeyFramePtr_erase" "', argument " "2"" of type '" "std::vector< KeyFrame * >::iterator""'");
37479  } else {
37481  if (iter_t) {
37482  arg2 = iter_t->get_current();
37483  } else {
37484  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_KeyFramePtr_erase" "', argument " "2"" of type '" "std::vector< KeyFrame * >::iterator""'");
37485  }
37486  }
37487  result = std_vector_Sl_KeyFrame_Sm__Sg__erase__SWIG_0(arg1,arg2);
37488  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< KeyFrame * >::iterator & >(result)),
37489  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
37490  return resultobj;
37491 fail:
37492  return NULL;
37493 }
37494 
37495 
37496 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37497  PyObject *resultobj = 0;
37498  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37499  std::vector< KeyFrame * >::iterator arg2 ;
37500  std::vector< KeyFrame * >::iterator arg3 ;
37501  void *argp1 = 0 ;
37502  int res1 = 0 ;
37503  swig::SwigPyIterator *iter2 = 0 ;
37504  int res2 ;
37505  swig::SwigPyIterator *iter3 = 0 ;
37506  int res3 ;
37507  PyObject * obj0 = 0 ;
37508  PyObject * obj1 = 0 ;
37509  PyObject * obj2 = 0 ;
37510  std::vector< KeyFrame * >::iterator result;
37511 
37512  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_KeyFramePtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
37513  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37514  if (!SWIG_IsOK(res1)) {
37515  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_erase" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37516  }
37517  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37518  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
37519  if (!SWIG_IsOK(res2) || !iter2) {
37520  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_KeyFramePtr_erase" "', argument " "2"" of type '" "std::vector< KeyFrame * >::iterator""'");
37521  } else {
37523  if (iter_t) {
37524  arg2 = iter_t->get_current();
37525  } else {
37526  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_KeyFramePtr_erase" "', argument " "2"" of type '" "std::vector< KeyFrame * >::iterator""'");
37527  }
37528  }
37529  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
37530  if (!SWIG_IsOK(res3) || !iter3) {
37531  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_KeyFramePtr_erase" "', argument " "3"" of type '" "std::vector< KeyFrame * >::iterator""'");
37532  } else {
37534  if (iter_t) {
37535  arg3 = iter_t->get_current();
37536  } else {
37537  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_KeyFramePtr_erase" "', argument " "3"" of type '" "std::vector< KeyFrame * >::iterator""'");
37538  }
37539  }
37540  result = std_vector_Sl_KeyFrame_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
37541  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< KeyFrame * >::iterator & >(result)),
37542  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
37543  return resultobj;
37544 fail:
37545  return NULL;
37546 }
37547 
37548 
37549 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_erase(PyObject *self, PyObject *args) {
37550  int argc;
37551  PyObject *argv[4];
37552  int ii;
37553 
37554  if (!PyTuple_Check(args)) SWIG_fail;
37555  argc = args ? (int)PyObject_Length(args) : 0;
37556  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
37557  argv[ii] = PyTuple_GET_ITEM(args,ii);
37558  }
37559  if (argc == 2) {
37560  int _v;
37561  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
37562  _v = SWIG_CheckState(res);
37563  if (_v) {
37564  swig::SwigPyIterator *iter = 0;
37565  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
37566  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< KeyFrame * >::iterator > *>(iter) != 0));
37567  if (_v) {
37568  return _wrap_vector_KeyFramePtr_erase__SWIG_0(self, args);
37569  }
37570  }
37571  }
37572  if (argc == 3) {
37573  int _v;
37574  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
37575  _v = SWIG_CheckState(res);
37576  if (_v) {
37577  swig::SwigPyIterator *iter = 0;
37578  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
37579  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< KeyFrame * >::iterator > *>(iter) != 0));
37580  if (_v) {
37581  swig::SwigPyIterator *iter = 0;
37582  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
37583  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< KeyFrame * >::iterator > *>(iter) != 0));
37584  if (_v) {
37585  return _wrap_vector_KeyFramePtr_erase__SWIG_1(self, args);
37586  }
37587  }
37588  }
37589  }
37590 
37591 fail:
37592  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_KeyFramePtr_erase'.\n"
37593  " Possible C/C++ prototypes are:\n"
37594  " std::vector< KeyFrame * >::erase(std::vector< KeyFrame * >::iterator)\n"
37595  " std::vector< KeyFrame * >::erase(std::vector< KeyFrame * >::iterator,std::vector< KeyFrame * >::iterator)\n");
37596  return 0;
37597 }
37598 
37599 
37600 SWIGINTERN PyObject *_wrap_new_vector_KeyFramePtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37601  PyObject *resultobj = 0;
37602  std::vector< KeyFrame * >::size_type arg1 ;
37603  std::vector< KeyFrame * >::value_type arg2 = (std::vector< KeyFrame * >::value_type) 0 ;
37604  size_t val1 ;
37605  int ecode1 = 0 ;
37606  void *argp2 = 0 ;
37607  int res2 = 0 ;
37608  PyObject * obj0 = 0 ;
37609  PyObject * obj1 = 0 ;
37610  std::vector< KeyFrame * > *result = 0 ;
37611 
37612  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_KeyFramePtr",&obj0,&obj1)) SWIG_fail;
37613  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
37614  if (!SWIG_IsOK(ecode1)) {
37615  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_KeyFramePtr" "', argument " "1"" of type '" "std::vector< KeyFrame * >::size_type""'");
37616  }
37617  arg1 = static_cast< std::vector< KeyFrame * >::size_type >(val1);
37618  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_KeyFrame, 0 | 0 );
37619  if (!SWIG_IsOK(res2)) {
37620  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_KeyFramePtr" "', argument " "2"" of type '" "std::vector< KeyFrame * >::value_type""'");
37621  }
37622  arg2 = reinterpret_cast< std::vector< KeyFrame * >::value_type >(argp2);
37623  result = (std::vector< KeyFrame * > *)new std::vector< KeyFrame * >(arg1,arg2);
37624  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, SWIG_POINTER_NEW | 0 );
37625  return resultobj;
37626 fail:
37627  return NULL;
37628 }
37629 
37630 
37631 SWIGINTERN PyObject *_wrap_new_vector_KeyFramePtr(PyObject *self, PyObject *args) {
37632  int argc;
37633  PyObject *argv[3];
37634  int ii;
37635 
37636  if (!PyTuple_Check(args)) SWIG_fail;
37637  argc = args ? (int)PyObject_Length(args) : 0;
37638  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
37639  argv[ii] = PyTuple_GET_ITEM(args,ii);
37640  }
37641  if (argc == 0) {
37642  return _wrap_new_vector_KeyFramePtr__SWIG_0(self, args);
37643  }
37644  if (argc == 1) {
37645  int _v;
37646  {
37647  int res = SWIG_AsVal_size_t(argv[0], NULL);
37648  _v = SWIG_CheckState(res);
37649  }
37650  if (_v) {
37651  return _wrap_new_vector_KeyFramePtr__SWIG_2(self, args);
37652  }
37653  }
37654  if (argc == 1) {
37655  int _v;
37656  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
37657  _v = SWIG_CheckState(res);
37658  if (_v) {
37659  return _wrap_new_vector_KeyFramePtr__SWIG_1(self, args);
37660  }
37661  }
37662  if (argc == 2) {
37663  int _v;
37664  {
37665  int res = SWIG_AsVal_size_t(argv[0], NULL);
37666  _v = SWIG_CheckState(res);
37667  }
37668  if (_v) {
37669  void *vptr = 0;
37670  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_KeyFrame, 0);
37671  _v = SWIG_CheckState(res);
37672  if (_v) {
37673  return _wrap_new_vector_KeyFramePtr__SWIG_3(self, args);
37674  }
37675  }
37676  }
37677 
37678 fail:
37679  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_KeyFramePtr'.\n"
37680  " Possible C/C++ prototypes are:\n"
37681  " std::vector< KeyFrame * >::vector()\n"
37682  " std::vector< KeyFrame * >::vector(std::vector< KeyFrame * > const &)\n"
37683  " std::vector< KeyFrame * >::vector(std::vector< KeyFrame * >::size_type)\n"
37684  " std::vector< KeyFrame * >::vector(std::vector< KeyFrame * >::size_type,std::vector< KeyFrame * >::value_type)\n");
37685  return 0;
37686 }
37687 
37688 
37689 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37690  PyObject *resultobj = 0;
37691  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37692  std::vector< KeyFrame * >::value_type arg2 = (std::vector< KeyFrame * >::value_type) 0 ;
37693  void *argp1 = 0 ;
37694  int res1 = 0 ;
37695  void *argp2 = 0 ;
37696  int res2 = 0 ;
37697  PyObject * obj0 = 0 ;
37698  PyObject * obj1 = 0 ;
37699 
37700  if (!PyArg_ParseTuple(args,(char *)"OO:vector_KeyFramePtr_push_back",&obj0,&obj1)) SWIG_fail;
37701  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37702  if (!SWIG_IsOK(res1)) {
37703  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_push_back" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37704  }
37705  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37706  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_KeyFrame, 0 | 0 );
37707  if (!SWIG_IsOK(res2)) {
37708  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_KeyFramePtr_push_back" "', argument " "2"" of type '" "std::vector< KeyFrame * >::value_type""'");
37709  }
37710  arg2 = reinterpret_cast< std::vector< KeyFrame * >::value_type >(argp2);
37711  (arg1)->push_back(arg2);
37712  resultobj = SWIG_Py_Void();
37713  return resultobj;
37714 fail:
37715  return NULL;
37716 }
37717 
37718 
37719 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37720  PyObject *resultobj = 0;
37721  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37722  void *argp1 = 0 ;
37723  int res1 = 0 ;
37724  PyObject * obj0 = 0 ;
37725  std::vector< KeyFrame * >::value_type result;
37726 
37727  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr_front",&obj0)) SWIG_fail;
37728  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37729  if (!SWIG_IsOK(res1)) {
37730  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_front" "', argument " "1"" of type '" "std::vector< KeyFrame * > const *""'");
37731  }
37732  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37733  result = (std::vector< KeyFrame * >::value_type)((std::vector< KeyFrame * > const *)arg1)->front();
37734  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_KeyFrame, 0 | 0 );
37735  return resultobj;
37736 fail:
37737  return NULL;
37738 }
37739 
37740 
37741 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37742  PyObject *resultobj = 0;
37743  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37744  void *argp1 = 0 ;
37745  int res1 = 0 ;
37746  PyObject * obj0 = 0 ;
37747  std::vector< KeyFrame * >::value_type result;
37748 
37749  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr_back",&obj0)) SWIG_fail;
37750  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37751  if (!SWIG_IsOK(res1)) {
37752  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_back" "', argument " "1"" of type '" "std::vector< KeyFrame * > const *""'");
37753  }
37754  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37755  result = (std::vector< KeyFrame * >::value_type)((std::vector< KeyFrame * > const *)arg1)->back();
37756  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_KeyFrame, 0 | 0 );
37757  return resultobj;
37758 fail:
37759  return NULL;
37760 }
37761 
37762 
37763 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37764  PyObject *resultobj = 0;
37765  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37766  std::vector< KeyFrame * >::size_type arg2 ;
37767  std::vector< KeyFrame * >::value_type arg3 = (std::vector< KeyFrame * >::value_type) 0 ;
37768  void *argp1 = 0 ;
37769  int res1 = 0 ;
37770  size_t val2 ;
37771  int ecode2 = 0 ;
37772  void *argp3 = 0 ;
37773  int res3 = 0 ;
37774  PyObject * obj0 = 0 ;
37775  PyObject * obj1 = 0 ;
37776  PyObject * obj2 = 0 ;
37777 
37778  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_KeyFramePtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
37779  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37780  if (!SWIG_IsOK(res1)) {
37781  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_assign" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37782  }
37783  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37784  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
37785  if (!SWIG_IsOK(ecode2)) {
37786  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_KeyFramePtr_assign" "', argument " "2"" of type '" "std::vector< KeyFrame * >::size_type""'");
37787  }
37788  arg2 = static_cast< std::vector< KeyFrame * >::size_type >(val2);
37789  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_KeyFrame, 0 | 0 );
37790  if (!SWIG_IsOK(res3)) {
37791  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_KeyFramePtr_assign" "', argument " "3"" of type '" "std::vector< KeyFrame * >::value_type""'");
37792  }
37793  arg3 = reinterpret_cast< std::vector< KeyFrame * >::value_type >(argp3);
37794  (arg1)->assign(arg2,arg3);
37795  resultobj = SWIG_Py_Void();
37796  return resultobj;
37797 fail:
37798  return NULL;
37799 }
37800 
37801 
37802 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37803  PyObject *resultobj = 0;
37804  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37805  std::vector< KeyFrame * >::size_type arg2 ;
37806  std::vector< KeyFrame * >::value_type arg3 = (std::vector< KeyFrame * >::value_type) 0 ;
37807  void *argp1 = 0 ;
37808  int res1 = 0 ;
37809  size_t val2 ;
37810  int ecode2 = 0 ;
37811  void *argp3 = 0 ;
37812  int res3 = 0 ;
37813  PyObject * obj0 = 0 ;
37814  PyObject * obj1 = 0 ;
37815  PyObject * obj2 = 0 ;
37816 
37817  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_KeyFramePtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
37818  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37819  if (!SWIG_IsOK(res1)) {
37820  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_resize" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37821  }
37822  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37823  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
37824  if (!SWIG_IsOK(ecode2)) {
37825  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_KeyFramePtr_resize" "', argument " "2"" of type '" "std::vector< KeyFrame * >::size_type""'");
37826  }
37827  arg2 = static_cast< std::vector< KeyFrame * >::size_type >(val2);
37828  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_KeyFrame, 0 | 0 );
37829  if (!SWIG_IsOK(res3)) {
37830  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_KeyFramePtr_resize" "', argument " "3"" of type '" "std::vector< KeyFrame * >::value_type""'");
37831  }
37832  arg3 = reinterpret_cast< std::vector< KeyFrame * >::value_type >(argp3);
37833  (arg1)->resize(arg2,arg3);
37834  resultobj = SWIG_Py_Void();
37835  return resultobj;
37836 fail:
37837  return NULL;
37838 }
37839 
37840 
37841 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_resize(PyObject *self, PyObject *args) {
37842  int argc;
37843  PyObject *argv[4];
37844  int ii;
37845 
37846  if (!PyTuple_Check(args)) SWIG_fail;
37847  argc = args ? (int)PyObject_Length(args) : 0;
37848  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
37849  argv[ii] = PyTuple_GET_ITEM(args,ii);
37850  }
37851  if (argc == 2) {
37852  int _v;
37853  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
37854  _v = SWIG_CheckState(res);
37855  if (_v) {
37856  {
37857  int res = SWIG_AsVal_size_t(argv[1], NULL);
37858  _v = SWIG_CheckState(res);
37859  }
37860  if (_v) {
37861  return _wrap_vector_KeyFramePtr_resize__SWIG_0(self, args);
37862  }
37863  }
37864  }
37865  if (argc == 3) {
37866  int _v;
37867  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
37868  _v = SWIG_CheckState(res);
37869  if (_v) {
37870  {
37871  int res = SWIG_AsVal_size_t(argv[1], NULL);
37872  _v = SWIG_CheckState(res);
37873  }
37874  if (_v) {
37875  void *vptr = 0;
37876  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_KeyFrame, 0);
37877  _v = SWIG_CheckState(res);
37878  if (_v) {
37879  return _wrap_vector_KeyFramePtr_resize__SWIG_1(self, args);
37880  }
37881  }
37882  }
37883  }
37884 
37885 fail:
37886  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_KeyFramePtr_resize'.\n"
37887  " Possible C/C++ prototypes are:\n"
37888  " std::vector< KeyFrame * >::resize(std::vector< KeyFrame * >::size_type)\n"
37889  " std::vector< KeyFrame * >::resize(std::vector< KeyFrame * >::size_type,std::vector< KeyFrame * >::value_type)\n");
37890  return 0;
37891 }
37892 
37893 
37894 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37895  PyObject *resultobj = 0;
37896  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37897  std::vector< KeyFrame * >::iterator arg2 ;
37898  std::vector< KeyFrame * >::value_type arg3 = (std::vector< KeyFrame * >::value_type) 0 ;
37899  void *argp1 = 0 ;
37900  int res1 = 0 ;
37901  swig::SwigPyIterator *iter2 = 0 ;
37902  int res2 ;
37903  void *argp3 = 0 ;
37904  int res3 = 0 ;
37905  PyObject * obj0 = 0 ;
37906  PyObject * obj1 = 0 ;
37907  PyObject * obj2 = 0 ;
37908  std::vector< KeyFrame * >::iterator result;
37909 
37910  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_KeyFramePtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
37911  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37912  if (!SWIG_IsOK(res1)) {
37913  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_insert" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37914  }
37915  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37916  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
37917  if (!SWIG_IsOK(res2) || !iter2) {
37918  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_KeyFramePtr_insert" "', argument " "2"" of type '" "std::vector< KeyFrame * >::iterator""'");
37919  } else {
37921  if (iter_t) {
37922  arg2 = iter_t->get_current();
37923  } else {
37924  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_KeyFramePtr_insert" "', argument " "2"" of type '" "std::vector< KeyFrame * >::iterator""'");
37925  }
37926  }
37927  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_KeyFrame, 0 | 0 );
37928  if (!SWIG_IsOK(res3)) {
37929  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_KeyFramePtr_insert" "', argument " "3"" of type '" "std::vector< KeyFrame * >::value_type""'");
37930  }
37931  arg3 = reinterpret_cast< std::vector< KeyFrame * >::value_type >(argp3);
37932  result = std_vector_Sl_KeyFrame_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
37933  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< KeyFrame * >::iterator & >(result)),
37934  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
37935  return resultobj;
37936 fail:
37937  return NULL;
37938 }
37939 
37940 
37941 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37942  PyObject *resultobj = 0;
37943  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
37944  std::vector< KeyFrame * >::iterator arg2 ;
37945  std::vector< KeyFrame * >::size_type arg3 ;
37946  std::vector< KeyFrame * >::value_type arg4 = (std::vector< KeyFrame * >::value_type) 0 ;
37947  void *argp1 = 0 ;
37948  int res1 = 0 ;
37949  swig::SwigPyIterator *iter2 = 0 ;
37950  int res2 ;
37951  size_t val3 ;
37952  int ecode3 = 0 ;
37953  void *argp4 = 0 ;
37954  int res4 = 0 ;
37955  PyObject * obj0 = 0 ;
37956  PyObject * obj1 = 0 ;
37957  PyObject * obj2 = 0 ;
37958  PyObject * obj3 = 0 ;
37959 
37960  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_KeyFramePtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
37961  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
37962  if (!SWIG_IsOK(res1)) {
37963  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_insert" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
37964  }
37965  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
37966  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
37967  if (!SWIG_IsOK(res2) || !iter2) {
37968  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_KeyFramePtr_insert" "', argument " "2"" of type '" "std::vector< KeyFrame * >::iterator""'");
37969  } else {
37971  if (iter_t) {
37972  arg2 = iter_t->get_current();
37973  } else {
37974  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_KeyFramePtr_insert" "', argument " "2"" of type '" "std::vector< KeyFrame * >::iterator""'");
37975  }
37976  }
37977  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
37978  if (!SWIG_IsOK(ecode3)) {
37979  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_KeyFramePtr_insert" "', argument " "3"" of type '" "std::vector< KeyFrame * >::size_type""'");
37980  }
37981  arg3 = static_cast< std::vector< KeyFrame * >::size_type >(val3);
37982  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_KeyFrame, 0 | 0 );
37983  if (!SWIG_IsOK(res4)) {
37984  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_KeyFramePtr_insert" "', argument " "4"" of type '" "std::vector< KeyFrame * >::value_type""'");
37985  }
37986  arg4 = reinterpret_cast< std::vector< KeyFrame * >::value_type >(argp4);
37987  std_vector_Sl_KeyFrame_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
37988  resultobj = SWIG_Py_Void();
37989  return resultobj;
37990 fail:
37991  return NULL;
37992 }
37993 
37994 
37995 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_insert(PyObject *self, PyObject *args) {
37996  int argc;
37997  PyObject *argv[5];
37998  int ii;
37999 
38000  if (!PyTuple_Check(args)) SWIG_fail;
38001  argc = args ? (int)PyObject_Length(args) : 0;
38002  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
38003  argv[ii] = PyTuple_GET_ITEM(args,ii);
38004  }
38005  if (argc == 3) {
38006  int _v;
38007  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
38008  _v = SWIG_CheckState(res);
38009  if (_v) {
38010  swig::SwigPyIterator *iter = 0;
38011  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
38012  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< KeyFrame * >::iterator > *>(iter) != 0));
38013  if (_v) {
38014  void *vptr = 0;
38015  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_KeyFrame, 0);
38016  _v = SWIG_CheckState(res);
38017  if (_v) {
38018  return _wrap_vector_KeyFramePtr_insert__SWIG_0(self, args);
38019  }
38020  }
38021  }
38022  }
38023  if (argc == 4) {
38024  int _v;
38025  int res = swig::asptr(argv[0], (std::vector<KeyFrame*,std::allocator< KeyFrame * > >**)(0));
38026  _v = SWIG_CheckState(res);
38027  if (_v) {
38028  swig::SwigPyIterator *iter = 0;
38029  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
38030  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< KeyFrame * >::iterator > *>(iter) != 0));
38031  if (_v) {
38032  {
38033  int res = SWIG_AsVal_size_t(argv[2], NULL);
38034  _v = SWIG_CheckState(res);
38035  }
38036  if (_v) {
38037  void *vptr = 0;
38038  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_KeyFrame, 0);
38039  _v = SWIG_CheckState(res);
38040  if (_v) {
38041  return _wrap_vector_KeyFramePtr_insert__SWIG_1(self, args);
38042  }
38043  }
38044  }
38045  }
38046  }
38047 
38048 fail:
38049  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_KeyFramePtr_insert'.\n"
38050  " Possible C/C++ prototypes are:\n"
38051  " std::vector< KeyFrame * >::insert(std::vector< KeyFrame * >::iterator,std::vector< KeyFrame * >::value_type)\n"
38052  " std::vector< KeyFrame * >::insert(std::vector< KeyFrame * >::iterator,std::vector< KeyFrame * >::size_type,std::vector< KeyFrame * >::value_type)\n");
38053  return 0;
38054 }
38055 
38056 
38057 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38058  PyObject *resultobj = 0;
38059  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
38060  std::vector< KeyFrame * >::size_type arg2 ;
38061  void *argp1 = 0 ;
38062  int res1 = 0 ;
38063  size_t val2 ;
38064  int ecode2 = 0 ;
38065  PyObject * obj0 = 0 ;
38066  PyObject * obj1 = 0 ;
38067 
38068  if (!PyArg_ParseTuple(args,(char *)"OO:vector_KeyFramePtr_reserve",&obj0,&obj1)) SWIG_fail;
38069  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
38070  if (!SWIG_IsOK(res1)) {
38071  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_reserve" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
38072  }
38073  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
38074  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
38075  if (!SWIG_IsOK(ecode2)) {
38076  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_KeyFramePtr_reserve" "', argument " "2"" of type '" "std::vector< KeyFrame * >::size_type""'");
38077  }
38078  arg2 = static_cast< std::vector< KeyFrame * >::size_type >(val2);
38079  (arg1)->reserve(arg2);
38080  resultobj = SWIG_Py_Void();
38081  return resultobj;
38082 fail:
38083  return NULL;
38084 }
38085 
38086 
38087 SWIGINTERN PyObject *_wrap_vector_KeyFramePtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38088  PyObject *resultobj = 0;
38089  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
38090  void *argp1 = 0 ;
38091  int res1 = 0 ;
38092  PyObject * obj0 = 0 ;
38093  std::vector< KeyFrame * >::size_type result;
38094 
38095  if (!PyArg_ParseTuple(args,(char *)"O:vector_KeyFramePtr_capacity",&obj0)) SWIG_fail;
38096  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0 | 0 );
38097  if (!SWIG_IsOK(res1)) {
38098  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_KeyFramePtr_capacity" "', argument " "1"" of type '" "std::vector< KeyFrame * > const *""'");
38099  }
38100  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
38101  result = ((std::vector< KeyFrame * > const *)arg1)->capacity();
38102  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
38103  return resultobj;
38104 fail:
38105  return NULL;
38106 }
38107 
38108 
38109 SWIGINTERN PyObject *_wrap_delete_vector_KeyFramePtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38110  PyObject *resultobj = 0;
38111  std::vector< KeyFrame * > *arg1 = (std::vector< KeyFrame * > *) 0 ;
38112  void *argp1 = 0 ;
38113  int res1 = 0 ;
38114  PyObject * obj0 = 0 ;
38115 
38116  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_KeyFramePtr",&obj0)) SWIG_fail;
38117  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, SWIG_POINTER_DISOWN | 0 );
38118  if (!SWIG_IsOK(res1)) {
38119  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_KeyFramePtr" "', argument " "1"" of type '" "std::vector< KeyFrame * > *""'");
38120  }
38121  arg1 = reinterpret_cast< std::vector< KeyFrame * > * >(argp1);
38122  {
38123  try {
38124  delete arg1;
38125  }
38126  catch(CStdErrorInfo oError)
38127  {
38128  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
38129  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
38130  PyErr_SetString(PyExc_IndexError, strError.c_str());
38131  SWIG_fail;
38132  }
38133  catch(...)
38134  {
38135  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
38136  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
38137  SWIG_fail;
38138  }
38139  }
38140  resultobj = SWIG_Py_Void();
38141  return resultobj;
38142 fail:
38143  return NULL;
38144 }
38145 
38146 
38147 SWIGINTERN PyObject *vector_KeyFramePtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38148  PyObject *obj;
38149  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
38150  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, SWIG_NewClientData(obj));
38151  return SWIG_Py_Void();
38152 }
38153 
38154 SWIGINTERN PyObject *_wrap_vector_LightPtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38155  PyObject *resultobj = 0;
38156  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38157  PyObject **arg2 = (PyObject **) 0 ;
38158  void *argp1 = 0 ;
38159  int res1 = 0 ;
38160  PyObject * obj0 = 0 ;
38161  swig::SwigPyIterator *result = 0 ;
38162 
38163  arg2 = &obj0;
38164  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr_iterator",&obj0)) SWIG_fail;
38165  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38166  if (!SWIG_IsOK(res1)) {
38167  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_iterator" "', argument " "1"" of type '" "std::vector< Light * > *""'");
38168  }
38169  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38170  result = (swig::SwigPyIterator *)std_vector_Sl_Light_Sm__Sg__iterator(arg1,arg2);
38171  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
38172  return resultobj;
38173 fail:
38174  return NULL;
38175 }
38176 
38177 
38178 SWIGINTERN PyObject *_wrap_vector_LightPtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38179  PyObject *resultobj = 0;
38180  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38181  void *argp1 = 0 ;
38182  int res1 = 0 ;
38183  PyObject * obj0 = 0 ;
38184  bool result;
38185 
38186  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr___nonzero__",&obj0)) SWIG_fail;
38187  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38188  if (!SWIG_IsOK(res1)) {
38189  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr___nonzero__" "', argument " "1"" of type '" "std::vector< Light * > const *""'");
38190  }
38191  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38192  result = (bool)std_vector_Sl_Light_Sm__Sg____nonzero__((std::vector< Light * > const *)arg1);
38193  resultobj = SWIG_From_bool(static_cast< bool >(result));
38194  return resultobj;
38195 fail:
38196  return NULL;
38197 }
38198 
38199 
38200 SWIGINTERN PyObject *_wrap_vector_LightPtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38201  PyObject *resultobj = 0;
38202  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38203  void *argp1 = 0 ;
38204  int res1 = 0 ;
38205  PyObject * obj0 = 0 ;
38206  bool result;
38207 
38208  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr___bool__",&obj0)) SWIG_fail;
38209  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38210  if (!SWIG_IsOK(res1)) {
38211  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr___bool__" "', argument " "1"" of type '" "std::vector< Light * > const *""'");
38212  }
38213  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38214  result = (bool)std_vector_Sl_Light_Sm__Sg____bool__((std::vector< Light * > const *)arg1);
38215  resultobj = SWIG_From_bool(static_cast< bool >(result));
38216  return resultobj;
38217 fail:
38218  return NULL;
38219 }
38220 
38221 
38222 SWIGINTERN PyObject *_wrap_vector_LightPtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38223  PyObject *resultobj = 0;
38224  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38225  void *argp1 = 0 ;
38226  int res1 = 0 ;
38227  PyObject * obj0 = 0 ;
38228  std::vector< Light * >::size_type result;
38229 
38230  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr___len__",&obj0)) SWIG_fail;
38231  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38232  if (!SWIG_IsOK(res1)) {
38233  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr___len__" "', argument " "1"" of type '" "std::vector< Light * > const *""'");
38234  }
38235  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38236  result = std_vector_Sl_Light_Sm__Sg____len__((std::vector< Light * > const *)arg1);
38237  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
38238  return resultobj;
38239 fail:
38240  return NULL;
38241 }
38242 
38243 
38244 SWIGINTERN PyObject *_wrap_vector_LightPtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38245  PyObject *resultobj = 0;
38246  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38247  void *argp1 = 0 ;
38248  int res1 = 0 ;
38249  PyObject * obj0 = 0 ;
38250  std::vector< Light * >::value_type result;
38251 
38252  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr_pop",&obj0)) SWIG_fail;
38253  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38254  if (!SWIG_IsOK(res1)) {
38255  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_pop" "', argument " "1"" of type '" "std::vector< Light * > *""'");
38256  }
38257  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38258  try {
38259  result = (std::vector< Light * >::value_type)std_vector_Sl_Light_Sm__Sg__pop(arg1);
38260  }
38261  catch(std::out_of_range &_e) {
38262  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
38263  }
38264 
38265  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Light, 0 | 0 );
38266  return resultobj;
38267 fail:
38268  return NULL;
38269 }
38270 
38271 
38272 SWIGINTERN PyObject *_wrap_vector_LightPtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38273  PyObject *resultobj = 0;
38274  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38275  std::vector< Light * >::difference_type arg2 ;
38276  std::vector< Light * >::difference_type arg3 ;
38277  void *argp1 = 0 ;
38278  int res1 = 0 ;
38279  ptrdiff_t val2 ;
38280  int ecode2 = 0 ;
38281  ptrdiff_t val3 ;
38282  int ecode3 = 0 ;
38283  PyObject * obj0 = 0 ;
38284  PyObject * obj1 = 0 ;
38285  PyObject * obj2 = 0 ;
38286  std::vector< Light *,std::allocator< Light * > > *result = 0 ;
38287 
38288  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_LightPtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
38289  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38290  if (!SWIG_IsOK(res1)) {
38291  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr___getslice__" "', argument " "1"" of type '" "std::vector< Light * > *""'");
38292  }
38293  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38294  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
38295  if (!SWIG_IsOK(ecode2)) {
38296  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_LightPtr___getslice__" "', argument " "2"" of type '" "std::vector< Light * >::difference_type""'");
38297  }
38298  arg2 = static_cast< std::vector< Light * >::difference_type >(val2);
38299  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
38300  if (!SWIG_IsOK(ecode3)) {
38301  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_LightPtr___getslice__" "', argument " "3"" of type '" "std::vector< Light * >::difference_type""'");
38302  }
38303  arg3 = static_cast< std::vector< Light * >::difference_type >(val3);
38304  try {
38305  result = (std::vector< Light *,std::allocator< Light * > > *)std_vector_Sl_Light_Sm__Sg____getslice__(arg1,arg2,arg3);
38306  }
38307  catch(std::out_of_range &_e) {
38308  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
38309  }
38310  catch(std::invalid_argument &_e) {
38311  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
38312  }
38313 
38314  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, SWIG_POINTER_OWN | 0 );
38315  return resultobj;
38316 fail:
38317  return NULL;
38318 }
38319 
38320 
38321 SWIGINTERN PyObject *_wrap_vector_LightPtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38322  PyObject *resultobj = 0;
38323  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38324  std::vector< Light * >::difference_type arg2 ;
38325  std::vector< Light * >::difference_type arg3 ;
38326  std::vector< Light *,std::allocator< Light * > > *arg4 = 0 ;
38327  void *argp1 = 0 ;
38328  int res1 = 0 ;
38329  ptrdiff_t val2 ;
38330  int ecode2 = 0 ;
38331  ptrdiff_t val3 ;
38332  int ecode3 = 0 ;
38333  int res4 = SWIG_OLDOBJ ;
38334  PyObject * obj0 = 0 ;
38335  PyObject * obj1 = 0 ;
38336  PyObject * obj2 = 0 ;
38337  PyObject * obj3 = 0 ;
38338 
38339  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_LightPtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
38340  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38341  if (!SWIG_IsOK(res1)) {
38342  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr___setslice__" "', argument " "1"" of type '" "std::vector< Light * > *""'");
38343  }
38344  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38345  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
38346  if (!SWIG_IsOK(ecode2)) {
38347  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_LightPtr___setslice__" "', argument " "2"" of type '" "std::vector< Light * >::difference_type""'");
38348  }
38349  arg2 = static_cast< std::vector< Light * >::difference_type >(val2);
38350  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
38351  if (!SWIG_IsOK(ecode3)) {
38352  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_LightPtr___setslice__" "', argument " "3"" of type '" "std::vector< Light * >::difference_type""'");
38353  }
38354  arg3 = static_cast< std::vector< Light * >::difference_type >(val3);
38355  {
38356  std::vector<Light*,std::allocator< Light * > > *ptr = (std::vector<Light*,std::allocator< Light * > > *)0;
38357  res4 = swig::asptr(obj3, &ptr);
38358  if (!SWIG_IsOK(res4)) {
38359  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_LightPtr___setslice__" "', argument " "4"" of type '" "std::vector< Light *,std::allocator< Light * > > const &""'");
38360  }
38361  if (!ptr) {
38362  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_LightPtr___setslice__" "', argument " "4"" of type '" "std::vector< Light *,std::allocator< Light * > > const &""'");
38363  }
38364  arg4 = ptr;
38365  }
38366  try {
38367  std_vector_Sl_Light_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< Light *,std::allocator< Light * > > const &)*arg4);
38368  }
38369  catch(std::out_of_range &_e) {
38370  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
38371  }
38372  catch(std::invalid_argument &_e) {
38373  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
38374  }
38375 
38376  resultobj = SWIG_Py_Void();
38377  if (SWIG_IsNewObj(res4)) delete arg4;
38378  return resultobj;
38379 fail:
38380  if (SWIG_IsNewObj(res4)) delete arg4;
38381  return NULL;
38382 }
38383 
38384 
38385 SWIGINTERN PyObject *_wrap_vector_LightPtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38386  PyObject *resultobj = 0;
38387  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38388  std::vector< Light * >::difference_type arg2 ;
38389  std::vector< Light * >::difference_type arg3 ;
38390  void *argp1 = 0 ;
38391  int res1 = 0 ;
38392  ptrdiff_t val2 ;
38393  int ecode2 = 0 ;
38394  ptrdiff_t val3 ;
38395  int ecode3 = 0 ;
38396  PyObject * obj0 = 0 ;
38397  PyObject * obj1 = 0 ;
38398  PyObject * obj2 = 0 ;
38399 
38400  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_LightPtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
38401  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38402  if (!SWIG_IsOK(res1)) {
38403  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr___setslice__" "', argument " "1"" of type '" "std::vector< Light * > *""'");
38404  }
38405  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38406  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
38407  if (!SWIG_IsOK(ecode2)) {
38408  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_LightPtr___setslice__" "', argument " "2"" of type '" "std::vector< Light * >::difference_type""'");
38409  }
38410  arg2 = static_cast< std::vector< Light * >::difference_type >(val2);
38411  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
38412  if (!SWIG_IsOK(ecode3)) {
38413  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_LightPtr___setslice__" "', argument " "3"" of type '" "std::vector< Light * >::difference_type""'");
38414  }
38415  arg3 = static_cast< std::vector< Light * >::difference_type >(val3);
38416  try {
38417  std_vector_Sl_Light_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
38418  }
38419  catch(std::out_of_range &_e) {
38420  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
38421  }
38422  catch(std::invalid_argument &_e) {
38423  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
38424  }
38425 
38426  resultobj = SWIG_Py_Void();
38427  return resultobj;
38428 fail:
38429  return NULL;
38430 }
38431 
38432 
38433 SWIGINTERN PyObject *_wrap_vector_LightPtr___setslice__(PyObject *self, PyObject *args) {
38434  int argc;
38435  PyObject *argv[5];
38436  int ii;
38437 
38438  if (!PyTuple_Check(args)) SWIG_fail;
38439  argc = args ? (int)PyObject_Length(args) : 0;
38440  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
38441  argv[ii] = PyTuple_GET_ITEM(args,ii);
38442  }
38443  if (argc == 3) {
38444  int _v;
38445  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
38446  _v = SWIG_CheckState(res);
38447  if (_v) {
38448  {
38449  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
38450  _v = SWIG_CheckState(res);
38451  }
38452  if (_v) {
38453  {
38454  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
38455  _v = SWIG_CheckState(res);
38456  }
38457  if (_v) {
38458  return _wrap_vector_LightPtr___setslice____SWIG_1(self, args);
38459  }
38460  }
38461  }
38462  }
38463  if (argc == 4) {
38464  int _v;
38465  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
38466  _v = SWIG_CheckState(res);
38467  if (_v) {
38468  {
38469  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
38470  _v = SWIG_CheckState(res);
38471  }
38472  if (_v) {
38473  {
38474  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
38475  _v = SWIG_CheckState(res);
38476  }
38477  if (_v) {
38478  int res = swig::asptr(argv[3], (std::vector<Light*,std::allocator< Light * > >**)(0));
38479  _v = SWIG_CheckState(res);
38480  if (_v) {
38481  return _wrap_vector_LightPtr___setslice____SWIG_0(self, args);
38482  }
38483  }
38484  }
38485  }
38486  }
38487 
38488 fail:
38489  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_LightPtr___setslice__'.\n"
38490  " Possible C/C++ prototypes are:\n"
38491  " std::vector< Light * >::__setslice__(std::vector< Light * >::difference_type,std::vector< Light * >::difference_type,std::vector< Light *,std::allocator< Light * > > const &)\n"
38492  " std::vector< Light * >::__setslice__(std::vector< Light * >::difference_type,std::vector< Light * >::difference_type)\n");
38493  return 0;
38494 }
38495 
38496 
38497 SWIGINTERN PyObject *_wrap_vector_LightPtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38498  PyObject *resultobj = 0;
38499  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38500  std::vector< Light * >::difference_type arg2 ;
38501  std::vector< Light * >::difference_type arg3 ;
38502  void *argp1 = 0 ;
38503  int res1 = 0 ;
38504  ptrdiff_t val2 ;
38505  int ecode2 = 0 ;
38506  ptrdiff_t val3 ;
38507  int ecode3 = 0 ;
38508  PyObject * obj0 = 0 ;
38509  PyObject * obj1 = 0 ;
38510  PyObject * obj2 = 0 ;
38511 
38512  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_LightPtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
38513  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38514  if (!SWIG_IsOK(res1)) {
38515  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr___delslice__" "', argument " "1"" of type '" "std::vector< Light * > *""'");
38516  }
38517  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38518  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
38519  if (!SWIG_IsOK(ecode2)) {
38520  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_LightPtr___delslice__" "', argument " "2"" of type '" "std::vector< Light * >::difference_type""'");
38521  }
38522  arg2 = static_cast< std::vector< Light * >::difference_type >(val2);
38523  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
38524  if (!SWIG_IsOK(ecode3)) {
38525  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_LightPtr___delslice__" "', argument " "3"" of type '" "std::vector< Light * >::difference_type""'");
38526  }
38527  arg3 = static_cast< std::vector< Light * >::difference_type >(val3);
38528  try {
38529  std_vector_Sl_Light_Sm__Sg____delslice__(arg1,arg2,arg3);
38530  }
38531  catch(std::out_of_range &_e) {
38532  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
38533  }
38534  catch(std::invalid_argument &_e) {
38535  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
38536  }
38537 
38538  resultobj = SWIG_Py_Void();
38539  return resultobj;
38540 fail:
38541  return NULL;
38542 }
38543 
38544 
38545 SWIGINTERN PyObject *_wrap_vector_LightPtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38546  PyObject *resultobj = 0;
38547  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38548  std::vector< Light * >::difference_type arg2 ;
38549  void *argp1 = 0 ;
38550  int res1 = 0 ;
38551  ptrdiff_t val2 ;
38552  int ecode2 = 0 ;
38553  PyObject * obj0 = 0 ;
38554  PyObject * obj1 = 0 ;
38555 
38556  if (!PyArg_ParseTuple(args,(char *)"OO:vector_LightPtr___delitem__",&obj0,&obj1)) SWIG_fail;
38557  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38558  if (!SWIG_IsOK(res1)) {
38559  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr___delitem__" "', argument " "1"" of type '" "std::vector< Light * > *""'");
38560  }
38561  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38562  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
38563  if (!SWIG_IsOK(ecode2)) {
38564  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_LightPtr___delitem__" "', argument " "2"" of type '" "std::vector< Light * >::difference_type""'");
38565  }
38566  arg2 = static_cast< std::vector< Light * >::difference_type >(val2);
38567  try {
38568  std_vector_Sl_Light_Sm__Sg____delitem____SWIG_0(arg1,arg2);
38569  }
38570  catch(std::out_of_range &_e) {
38571  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
38572  }
38573 
38574  resultobj = SWIG_Py_Void();
38575  return resultobj;
38576 fail:
38577  return NULL;
38578 }
38579 
38580 
38581 SWIGINTERN PyObject *_wrap_vector_LightPtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38582  PyObject *resultobj = 0;
38583  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38584  PySliceObject *arg2 = (PySliceObject *) 0 ;
38585  void *argp1 = 0 ;
38586  int res1 = 0 ;
38587  PyObject * obj0 = 0 ;
38588  PyObject * obj1 = 0 ;
38589  std::vector< Light *,std::allocator< Light * > > *result = 0 ;
38590 
38591  if (!PyArg_ParseTuple(args,(char *)"OO:vector_LightPtr___getitem__",&obj0,&obj1)) SWIG_fail;
38592  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38593  if (!SWIG_IsOK(res1)) {
38594  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr___getitem__" "', argument " "1"" of type '" "std::vector< Light * > *""'");
38595  }
38596  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38597  {
38598  if (!PySlice_Check(obj1)) {
38599  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_LightPtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
38600  }
38601  arg2 = (PySliceObject *) obj1;
38602  }
38603  try {
38604  result = (std::vector< Light *,std::allocator< Light * > > *)std_vector_Sl_Light_Sm__Sg____getitem____SWIG_0(arg1,arg2);
38605  }
38606  catch(std::out_of_range &_e) {
38607  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
38608  }
38609  catch(std::invalid_argument &_e) {
38610  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
38611  }
38612 
38613  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, SWIG_POINTER_OWN | 0 );
38614  return resultobj;
38615 fail:
38616  return NULL;
38617 }
38618 
38619 
38620 SWIGINTERN PyObject *_wrap_vector_LightPtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38621  PyObject *resultobj = 0;
38622  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38623  PySliceObject *arg2 = (PySliceObject *) 0 ;
38624  std::vector< Light *,std::allocator< Light * > > *arg3 = 0 ;
38625  void *argp1 = 0 ;
38626  int res1 = 0 ;
38627  int res3 = SWIG_OLDOBJ ;
38628  PyObject * obj0 = 0 ;
38629  PyObject * obj1 = 0 ;
38630  PyObject * obj2 = 0 ;
38631 
38632  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_LightPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
38633  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38634  if (!SWIG_IsOK(res1)) {
38635  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr___setitem__" "', argument " "1"" of type '" "std::vector< Light * > *""'");
38636  }
38637  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38638  {
38639  if (!PySlice_Check(obj1)) {
38640  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_LightPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
38641  }
38642  arg2 = (PySliceObject *) obj1;
38643  }
38644  {
38645  std::vector<Light*,std::allocator< Light * > > *ptr = (std::vector<Light*,std::allocator< Light * > > *)0;
38646  res3 = swig::asptr(obj2, &ptr);
38647  if (!SWIG_IsOK(res3)) {
38648  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_LightPtr___setitem__" "', argument " "3"" of type '" "std::vector< Light *,std::allocator< Light * > > const &""'");
38649  }
38650  if (!ptr) {
38651  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_LightPtr___setitem__" "', argument " "3"" of type '" "std::vector< Light *,std::allocator< Light * > > const &""'");
38652  }
38653  arg3 = ptr;
38654  }
38655  try {
38656  std_vector_Sl_Light_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< Light *,std::allocator< Light * > > const &)*arg3);
38657  }
38658  catch(std::out_of_range &_e) {
38659  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
38660  }
38661  catch(std::invalid_argument &_e) {
38662  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
38663  }
38664 
38665  resultobj = SWIG_Py_Void();
38666  if (SWIG_IsNewObj(res3)) delete arg3;
38667  return resultobj;
38668 fail:
38669  if (SWIG_IsNewObj(res3)) delete arg3;
38670  return NULL;
38671 }
38672 
38673 
38674 SWIGINTERN PyObject *_wrap_vector_LightPtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38675  PyObject *resultobj = 0;
38676  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38677  PySliceObject *arg2 = (PySliceObject *) 0 ;
38678  void *argp1 = 0 ;
38679  int res1 = 0 ;
38680  PyObject * obj0 = 0 ;
38681  PyObject * obj1 = 0 ;
38682 
38683  if (!PyArg_ParseTuple(args,(char *)"OO:vector_LightPtr___setitem__",&obj0,&obj1)) SWIG_fail;
38684  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38685  if (!SWIG_IsOK(res1)) {
38686  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr___setitem__" "', argument " "1"" of type '" "std::vector< Light * > *""'");
38687  }
38688  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38689  {
38690  if (!PySlice_Check(obj1)) {
38691  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_LightPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
38692  }
38693  arg2 = (PySliceObject *) obj1;
38694  }
38695  try {
38696  std_vector_Sl_Light_Sm__Sg____setitem____SWIG_1(arg1,arg2);
38697  }
38698  catch(std::out_of_range &_e) {
38699  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
38700  }
38701  catch(std::invalid_argument &_e) {
38702  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
38703  }
38704 
38705  resultobj = SWIG_Py_Void();
38706  return resultobj;
38707 fail:
38708  return NULL;
38709 }
38710 
38711 
38712 SWIGINTERN PyObject *_wrap_vector_LightPtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38713  PyObject *resultobj = 0;
38714  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38715  PySliceObject *arg2 = (PySliceObject *) 0 ;
38716  void *argp1 = 0 ;
38717  int res1 = 0 ;
38718  PyObject * obj0 = 0 ;
38719  PyObject * obj1 = 0 ;
38720 
38721  if (!PyArg_ParseTuple(args,(char *)"OO:vector_LightPtr___delitem__",&obj0,&obj1)) SWIG_fail;
38722  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38723  if (!SWIG_IsOK(res1)) {
38724  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr___delitem__" "', argument " "1"" of type '" "std::vector< Light * > *""'");
38725  }
38726  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38727  {
38728  if (!PySlice_Check(obj1)) {
38729  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_LightPtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
38730  }
38731  arg2 = (PySliceObject *) obj1;
38732  }
38733  try {
38734  std_vector_Sl_Light_Sm__Sg____delitem____SWIG_1(arg1,arg2);
38735  }
38736  catch(std::out_of_range &_e) {
38737  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
38738  }
38739  catch(std::invalid_argument &_e) {
38740  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
38741  }
38742 
38743  resultobj = SWIG_Py_Void();
38744  return resultobj;
38745 fail:
38746  return NULL;
38747 }
38748 
38749 
38750 SWIGINTERN PyObject *_wrap_vector_LightPtr___delitem__(PyObject *self, PyObject *args) {
38751  int argc;
38752  PyObject *argv[3];
38753  int ii;
38754 
38755  if (!PyTuple_Check(args)) SWIG_fail;
38756  argc = args ? (int)PyObject_Length(args) : 0;
38757  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
38758  argv[ii] = PyTuple_GET_ITEM(args,ii);
38759  }
38760  if (argc == 2) {
38761  int _v;
38762  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
38763  _v = SWIG_CheckState(res);
38764  if (_v) {
38765  {
38766  _v = PySlice_Check(argv[1]);
38767  }
38768  if (_v) {
38769  return _wrap_vector_LightPtr___delitem____SWIG_1(self, args);
38770  }
38771  }
38772  }
38773  if (argc == 2) {
38774  int _v;
38775  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
38776  _v = SWIG_CheckState(res);
38777  if (_v) {
38778  {
38779  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
38780  _v = SWIG_CheckState(res);
38781  }
38782  if (_v) {
38783  return _wrap_vector_LightPtr___delitem____SWIG_0(self, args);
38784  }
38785  }
38786  }
38787 
38788 fail:
38789  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_LightPtr___delitem__'.\n"
38790  " Possible C/C++ prototypes are:\n"
38791  " std::vector< Light * >::__delitem__(std::vector< Light * >::difference_type)\n"
38792  " std::vector< Light * >::__delitem__(PySliceObject *)\n");
38793  return 0;
38794 }
38795 
38796 
38797 SWIGINTERN PyObject *_wrap_vector_LightPtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38798  PyObject *resultobj = 0;
38799  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38800  std::vector< Light * >::difference_type arg2 ;
38801  void *argp1 = 0 ;
38802  int res1 = 0 ;
38803  ptrdiff_t val2 ;
38804  int ecode2 = 0 ;
38805  PyObject * obj0 = 0 ;
38806  PyObject * obj1 = 0 ;
38807  std::vector< Light * >::value_type result;
38808 
38809  if (!PyArg_ParseTuple(args,(char *)"OO:vector_LightPtr___getitem__",&obj0,&obj1)) SWIG_fail;
38810  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38811  if (!SWIG_IsOK(res1)) {
38812  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr___getitem__" "', argument " "1"" of type '" "std::vector< Light * > *""'");
38813  }
38814  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38815  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
38816  if (!SWIG_IsOK(ecode2)) {
38817  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_LightPtr___getitem__" "', argument " "2"" of type '" "std::vector< Light * >::difference_type""'");
38818  }
38819  arg2 = static_cast< std::vector< Light * >::difference_type >(val2);
38820  try {
38821  result = (std::vector< Light * >::value_type)std_vector_Sl_Light_Sm__Sg____getitem____SWIG_1(arg1,arg2);
38822  }
38823  catch(std::out_of_range &_e) {
38824  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
38825  }
38826 
38827  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Light, 0 | 0 );
38828  return resultobj;
38829 fail:
38830  return NULL;
38831 }
38832 
38833 
38834 SWIGINTERN PyObject *_wrap_vector_LightPtr___getitem__(PyObject *self, PyObject *args) {
38835  int argc;
38836  PyObject *argv[3];
38837  int ii;
38838 
38839  if (!PyTuple_Check(args)) SWIG_fail;
38840  argc = args ? (int)PyObject_Length(args) : 0;
38841  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
38842  argv[ii] = PyTuple_GET_ITEM(args,ii);
38843  }
38844  if (argc == 2) {
38845  int _v;
38846  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
38847  _v = SWIG_CheckState(res);
38848  if (_v) {
38849  {
38850  _v = PySlice_Check(argv[1]);
38851  }
38852  if (_v) {
38853  return _wrap_vector_LightPtr___getitem____SWIG_0(self, args);
38854  }
38855  }
38856  }
38857  if (argc == 2) {
38858  int _v;
38859  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
38860  _v = SWIG_CheckState(res);
38861  if (_v) {
38862  {
38863  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
38864  _v = SWIG_CheckState(res);
38865  }
38866  if (_v) {
38867  return _wrap_vector_LightPtr___getitem____SWIG_1(self, args);
38868  }
38869  }
38870  }
38871 
38872 fail:
38873  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_LightPtr___getitem__'.\n"
38874  " Possible C/C++ prototypes are:\n"
38875  " std::vector< Light * >::__getitem__(PySliceObject *)\n"
38876  " std::vector< Light * >::__getitem__(std::vector< Light * >::difference_type)\n");
38877  return 0;
38878 }
38879 
38880 
38881 SWIGINTERN PyObject *_wrap_vector_LightPtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38882  PyObject *resultobj = 0;
38883  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38884  std::vector< Light * >::difference_type arg2 ;
38885  std::vector< Light * >::value_type arg3 = (std::vector< Light * >::value_type) 0 ;
38886  void *argp1 = 0 ;
38887  int res1 = 0 ;
38888  ptrdiff_t val2 ;
38889  int ecode2 = 0 ;
38890  void *argp3 = 0 ;
38891  int res3 = 0 ;
38892  PyObject * obj0 = 0 ;
38893  PyObject * obj1 = 0 ;
38894  PyObject * obj2 = 0 ;
38895 
38896  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_LightPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
38897  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
38898  if (!SWIG_IsOK(res1)) {
38899  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr___setitem__" "', argument " "1"" of type '" "std::vector< Light * > *""'");
38900  }
38901  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
38902  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
38903  if (!SWIG_IsOK(ecode2)) {
38904  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_LightPtr___setitem__" "', argument " "2"" of type '" "std::vector< Light * >::difference_type""'");
38905  }
38906  arg2 = static_cast< std::vector< Light * >::difference_type >(val2);
38907  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Light, 0 | 0 );
38908  if (!SWIG_IsOK(res3)) {
38909  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_LightPtr___setitem__" "', argument " "3"" of type '" "std::vector< Light * >::value_type""'");
38910  }
38911  arg3 = reinterpret_cast< std::vector< Light * >::value_type >(argp3);
38912  try {
38913  std_vector_Sl_Light_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
38914  }
38915  catch(std::out_of_range &_e) {
38916  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
38917  }
38918 
38919  resultobj = SWIG_Py_Void();
38920  return resultobj;
38921 fail:
38922  return NULL;
38923 }
38924 
38925 
38926 SWIGINTERN PyObject *_wrap_vector_LightPtr___setitem__(PyObject *self, PyObject *args) {
38927  int argc;
38928  PyObject *argv[4];
38929  int ii;
38930 
38931  if (!PyTuple_Check(args)) SWIG_fail;
38932  argc = args ? (int)PyObject_Length(args) : 0;
38933  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
38934  argv[ii] = PyTuple_GET_ITEM(args,ii);
38935  }
38936  if (argc == 2) {
38937  int _v;
38938  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
38939  _v = SWIG_CheckState(res);
38940  if (_v) {
38941  {
38942  _v = PySlice_Check(argv[1]);
38943  }
38944  if (_v) {
38945  return _wrap_vector_LightPtr___setitem____SWIG_1(self, args);
38946  }
38947  }
38948  }
38949  if (argc == 3) {
38950  int _v;
38951  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
38952  _v = SWIG_CheckState(res);
38953  if (_v) {
38954  {
38955  _v = PySlice_Check(argv[1]);
38956  }
38957  if (_v) {
38958  int res = swig::asptr(argv[2], (std::vector<Light*,std::allocator< Light * > >**)(0));
38959  _v = SWIG_CheckState(res);
38960  if (_v) {
38961  return _wrap_vector_LightPtr___setitem____SWIG_0(self, args);
38962  }
38963  }
38964  }
38965  }
38966  if (argc == 3) {
38967  int _v;
38968  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
38969  _v = SWIG_CheckState(res);
38970  if (_v) {
38971  {
38972  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
38973  _v = SWIG_CheckState(res);
38974  }
38975  if (_v) {
38976  void *vptr = 0;
38977  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Light, 0);
38978  _v = SWIG_CheckState(res);
38979  if (_v) {
38980  return _wrap_vector_LightPtr___setitem____SWIG_2(self, args);
38981  }
38982  }
38983  }
38984  }
38985 
38986 fail:
38987  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_LightPtr___setitem__'.\n"
38988  " Possible C/C++ prototypes are:\n"
38989  " std::vector< Light * >::__setitem__(PySliceObject *,std::vector< Light *,std::allocator< Light * > > const &)\n"
38990  " std::vector< Light * >::__setitem__(PySliceObject *)\n"
38991  " std::vector< Light * >::__setitem__(std::vector< Light * >::difference_type,std::vector< Light * >::value_type)\n");
38992  return 0;
38993 }
38994 
38995 
38996 SWIGINTERN PyObject *_wrap_vector_LightPtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38997  PyObject *resultobj = 0;
38998  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
38999  std::vector< Light * >::value_type arg2 = (std::vector< Light * >::value_type) 0 ;
39000  void *argp1 = 0 ;
39001  int res1 = 0 ;
39002  void *argp2 = 0 ;
39003  int res2 = 0 ;
39004  PyObject * obj0 = 0 ;
39005  PyObject * obj1 = 0 ;
39006 
39007  if (!PyArg_ParseTuple(args,(char *)"OO:vector_LightPtr_append",&obj0,&obj1)) SWIG_fail;
39008  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39009  if (!SWIG_IsOK(res1)) {
39010  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_append" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39011  }
39012  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39013  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Light, 0 | 0 );
39014  if (!SWIG_IsOK(res2)) {
39015  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_LightPtr_append" "', argument " "2"" of type '" "std::vector< Light * >::value_type""'");
39016  }
39017  arg2 = reinterpret_cast< std::vector< Light * >::value_type >(argp2);
39018  std_vector_Sl_Light_Sm__Sg__append(arg1,arg2);
39019  resultobj = SWIG_Py_Void();
39020  return resultobj;
39021 fail:
39022  return NULL;
39023 }
39024 
39025 
39026 SWIGINTERN PyObject *_wrap_new_vector_LightPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39027  PyObject *resultobj = 0;
39028  std::vector< Light * > *result = 0 ;
39029 
39030  if (!PyArg_ParseTuple(args,(char *)":new_vector_LightPtr")) SWIG_fail;
39031  result = (std::vector< Light * > *)new std::vector< Light * >();
39032  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, SWIG_POINTER_NEW | 0 );
39033  return resultobj;
39034 fail:
39035  return NULL;
39036 }
39037 
39038 
39039 SWIGINTERN PyObject *_wrap_new_vector_LightPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39040  PyObject *resultobj = 0;
39041  std::vector< Light * > *arg1 = 0 ;
39042  int res1 = SWIG_OLDOBJ ;
39043  PyObject * obj0 = 0 ;
39044  std::vector< Light * > *result = 0 ;
39045 
39046  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_LightPtr",&obj0)) SWIG_fail;
39047  {
39048  std::vector<Light*,std::allocator< Light * > > *ptr = (std::vector<Light*,std::allocator< Light * > > *)0;
39049  res1 = swig::asptr(obj0, &ptr);
39050  if (!SWIG_IsOK(res1)) {
39051  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_LightPtr" "', argument " "1"" of type '" "std::vector< Light * > const &""'");
39052  }
39053  if (!ptr) {
39054  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_LightPtr" "', argument " "1"" of type '" "std::vector< Light * > const &""'");
39055  }
39056  arg1 = ptr;
39057  }
39058  result = (std::vector< Light * > *)new std::vector< Light * >((std::vector< Light * > const &)*arg1);
39059  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, SWIG_POINTER_NEW | 0 );
39060  if (SWIG_IsNewObj(res1)) delete arg1;
39061  return resultobj;
39062 fail:
39063  if (SWIG_IsNewObj(res1)) delete arg1;
39064  return NULL;
39065 }
39066 
39067 
39068 SWIGINTERN PyObject *_wrap_vector_LightPtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39069  PyObject *resultobj = 0;
39070  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39071  void *argp1 = 0 ;
39072  int res1 = 0 ;
39073  PyObject * obj0 = 0 ;
39074  bool result;
39075 
39076  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr_empty",&obj0)) SWIG_fail;
39077  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39078  if (!SWIG_IsOK(res1)) {
39079  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_empty" "', argument " "1"" of type '" "std::vector< Light * > const *""'");
39080  }
39081  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39082  result = (bool)((std::vector< Light * > const *)arg1)->empty();
39083  resultobj = SWIG_From_bool(static_cast< bool >(result));
39084  return resultobj;
39085 fail:
39086  return NULL;
39087 }
39088 
39089 
39090 SWIGINTERN PyObject *_wrap_vector_LightPtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39091  PyObject *resultobj = 0;
39092  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39093  void *argp1 = 0 ;
39094  int res1 = 0 ;
39095  PyObject * obj0 = 0 ;
39096  std::vector< Light * >::size_type result;
39097 
39098  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr_size",&obj0)) SWIG_fail;
39099  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39100  if (!SWIG_IsOK(res1)) {
39101  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_size" "', argument " "1"" of type '" "std::vector< Light * > const *""'");
39102  }
39103  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39104  result = ((std::vector< Light * > const *)arg1)->size();
39105  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
39106  return resultobj;
39107 fail:
39108  return NULL;
39109 }
39110 
39111 
39112 SWIGINTERN PyObject *_wrap_vector_LightPtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39113  PyObject *resultobj = 0;
39114  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39115  void *argp1 = 0 ;
39116  int res1 = 0 ;
39117  PyObject * obj0 = 0 ;
39118 
39119  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr_clear",&obj0)) SWIG_fail;
39120  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39121  if (!SWIG_IsOK(res1)) {
39122  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_clear" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39123  }
39124  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39125  (arg1)->clear();
39126  resultobj = SWIG_Py_Void();
39127  return resultobj;
39128 fail:
39129  return NULL;
39130 }
39131 
39132 
39133 SWIGINTERN PyObject *_wrap_vector_LightPtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39134  PyObject *resultobj = 0;
39135  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39136  std::vector< Light * > *arg2 = 0 ;
39137  void *argp1 = 0 ;
39138  int res1 = 0 ;
39139  void *argp2 = 0 ;
39140  int res2 = 0 ;
39141  PyObject * obj0 = 0 ;
39142  PyObject * obj1 = 0 ;
39143 
39144  if (!PyArg_ParseTuple(args,(char *)"OO:vector_LightPtr_swap",&obj0,&obj1)) SWIG_fail;
39145  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39146  if (!SWIG_IsOK(res1)) {
39147  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_swap" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39148  }
39149  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39150  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 );
39151  if (!SWIG_IsOK(res2)) {
39152  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_LightPtr_swap" "', argument " "2"" of type '" "std::vector< Light * > &""'");
39153  }
39154  if (!argp2) {
39155  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_LightPtr_swap" "', argument " "2"" of type '" "std::vector< Light * > &""'");
39156  }
39157  arg2 = reinterpret_cast< std::vector< Light * > * >(argp2);
39158  (arg1)->swap(*arg2);
39159  resultobj = SWIG_Py_Void();
39160  return resultobj;
39161 fail:
39162  return NULL;
39163 }
39164 
39165 
39166 SWIGINTERN PyObject *_wrap_vector_LightPtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39167  PyObject *resultobj = 0;
39168  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39169  void *argp1 = 0 ;
39170  int res1 = 0 ;
39171  PyObject * obj0 = 0 ;
39172  SwigValueWrapper< std::allocator< Light * > > result;
39173 
39174  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr_get_allocator",&obj0)) SWIG_fail;
39175  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39176  if (!SWIG_IsOK(res1)) {
39177  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_get_allocator" "', argument " "1"" of type '" "std::vector< Light * > const *""'");
39178  }
39179  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39180  result = ((std::vector< Light * > const *)arg1)->get_allocator();
39181  resultobj = SWIG_NewPointerObj((new std::vector< Light * >::allocator_type(static_cast< const std::vector< Light * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_Light_p_t, SWIG_POINTER_OWN | 0 );
39182  return resultobj;
39183 fail:
39184  return NULL;
39185 }
39186 
39187 
39188 SWIGINTERN PyObject *_wrap_vector_LightPtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39189  PyObject *resultobj = 0;
39190  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39191  void *argp1 = 0 ;
39192  int res1 = 0 ;
39193  PyObject * obj0 = 0 ;
39194  std::vector< Light * >::iterator result;
39195 
39196  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr_begin",&obj0)) SWIG_fail;
39197  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39198  if (!SWIG_IsOK(res1)) {
39199  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_begin" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39200  }
39201  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39202  result = (arg1)->begin();
39203  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Light * >::iterator & >(result)),
39204  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
39205  return resultobj;
39206 fail:
39207  return NULL;
39208 }
39209 
39210 
39211 SWIGINTERN PyObject *_wrap_vector_LightPtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39212  PyObject *resultobj = 0;
39213  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39214  void *argp1 = 0 ;
39215  int res1 = 0 ;
39216  PyObject * obj0 = 0 ;
39217  std::vector< Light * >::iterator result;
39218 
39219  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr_end",&obj0)) SWIG_fail;
39220  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39221  if (!SWIG_IsOK(res1)) {
39222  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_end" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39223  }
39224  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39225  result = (arg1)->end();
39226  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Light * >::iterator & >(result)),
39227  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
39228  return resultobj;
39229 fail:
39230  return NULL;
39231 }
39232 
39233 
39234 SWIGINTERN PyObject *_wrap_vector_LightPtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39235  PyObject *resultobj = 0;
39236  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39237  void *argp1 = 0 ;
39238  int res1 = 0 ;
39239  PyObject * obj0 = 0 ;
39240  std::vector< Light * >::reverse_iterator result;
39241 
39242  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr_rbegin",&obj0)) SWIG_fail;
39243  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39244  if (!SWIG_IsOK(res1)) {
39245  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_rbegin" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39246  }
39247  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39248  result = (arg1)->rbegin();
39249  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Light * >::reverse_iterator & >(result)),
39250  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
39251  return resultobj;
39252 fail:
39253  return NULL;
39254 }
39255 
39256 
39257 SWIGINTERN PyObject *_wrap_vector_LightPtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39258  PyObject *resultobj = 0;
39259  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39260  void *argp1 = 0 ;
39261  int res1 = 0 ;
39262  PyObject * obj0 = 0 ;
39263  std::vector< Light * >::reverse_iterator result;
39264 
39265  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr_rend",&obj0)) SWIG_fail;
39266  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39267  if (!SWIG_IsOK(res1)) {
39268  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_rend" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39269  }
39270  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39271  result = (arg1)->rend();
39272  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Light * >::reverse_iterator & >(result)),
39273  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
39274  return resultobj;
39275 fail:
39276  return NULL;
39277 }
39278 
39279 
39280 SWIGINTERN PyObject *_wrap_new_vector_LightPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39281  PyObject *resultobj = 0;
39282  std::vector< Light * >::size_type arg1 ;
39283  size_t val1 ;
39284  int ecode1 = 0 ;
39285  PyObject * obj0 = 0 ;
39286  std::vector< Light * > *result = 0 ;
39287 
39288  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_LightPtr",&obj0)) SWIG_fail;
39289  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
39290  if (!SWIG_IsOK(ecode1)) {
39291  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_LightPtr" "', argument " "1"" of type '" "std::vector< Light * >::size_type""'");
39292  }
39293  arg1 = static_cast< std::vector< Light * >::size_type >(val1);
39294  result = (std::vector< Light * > *)new std::vector< Light * >(arg1);
39295  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, SWIG_POINTER_NEW | 0 );
39296  return resultobj;
39297 fail:
39298  return NULL;
39299 }
39300 
39301 
39302 SWIGINTERN PyObject *_wrap_vector_LightPtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39303  PyObject *resultobj = 0;
39304  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39305  void *argp1 = 0 ;
39306  int res1 = 0 ;
39307  PyObject * obj0 = 0 ;
39308 
39309  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr_pop_back",&obj0)) SWIG_fail;
39310  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39311  if (!SWIG_IsOK(res1)) {
39312  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_pop_back" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39313  }
39314  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39315  (arg1)->pop_back();
39316  resultobj = SWIG_Py_Void();
39317  return resultobj;
39318 fail:
39319  return NULL;
39320 }
39321 
39322 
39323 SWIGINTERN PyObject *_wrap_vector_LightPtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39324  PyObject *resultobj = 0;
39325  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39326  std::vector< Light * >::size_type arg2 ;
39327  void *argp1 = 0 ;
39328  int res1 = 0 ;
39329  size_t val2 ;
39330  int ecode2 = 0 ;
39331  PyObject * obj0 = 0 ;
39332  PyObject * obj1 = 0 ;
39333 
39334  if (!PyArg_ParseTuple(args,(char *)"OO:vector_LightPtr_resize",&obj0,&obj1)) SWIG_fail;
39335  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39336  if (!SWIG_IsOK(res1)) {
39337  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_resize" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39338  }
39339  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39340  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
39341  if (!SWIG_IsOK(ecode2)) {
39342  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_LightPtr_resize" "', argument " "2"" of type '" "std::vector< Light * >::size_type""'");
39343  }
39344  arg2 = static_cast< std::vector< Light * >::size_type >(val2);
39345  (arg1)->resize(arg2);
39346  resultobj = SWIG_Py_Void();
39347  return resultobj;
39348 fail:
39349  return NULL;
39350 }
39351 
39352 
39353 SWIGINTERN PyObject *_wrap_vector_LightPtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39354  PyObject *resultobj = 0;
39355  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39356  std::vector< Light * >::iterator arg2 ;
39357  void *argp1 = 0 ;
39358  int res1 = 0 ;
39359  swig::SwigPyIterator *iter2 = 0 ;
39360  int res2 ;
39361  PyObject * obj0 = 0 ;
39362  PyObject * obj1 = 0 ;
39363  std::vector< Light * >::iterator result;
39364 
39365  if (!PyArg_ParseTuple(args,(char *)"OO:vector_LightPtr_erase",&obj0,&obj1)) SWIG_fail;
39366  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39367  if (!SWIG_IsOK(res1)) {
39368  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_erase" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39369  }
39370  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39371  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
39372  if (!SWIG_IsOK(res2) || !iter2) {
39373  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_LightPtr_erase" "', argument " "2"" of type '" "std::vector< Light * >::iterator""'");
39374  } else {
39376  if (iter_t) {
39377  arg2 = iter_t->get_current();
39378  } else {
39379  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_LightPtr_erase" "', argument " "2"" of type '" "std::vector< Light * >::iterator""'");
39380  }
39381  }
39382  result = std_vector_Sl_Light_Sm__Sg__erase__SWIG_0(arg1,arg2);
39383  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Light * >::iterator & >(result)),
39384  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
39385  return resultobj;
39386 fail:
39387  return NULL;
39388 }
39389 
39390 
39391 SWIGINTERN PyObject *_wrap_vector_LightPtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39392  PyObject *resultobj = 0;
39393  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39394  std::vector< Light * >::iterator arg2 ;
39395  std::vector< Light * >::iterator arg3 ;
39396  void *argp1 = 0 ;
39397  int res1 = 0 ;
39398  swig::SwigPyIterator *iter2 = 0 ;
39399  int res2 ;
39400  swig::SwigPyIterator *iter3 = 0 ;
39401  int res3 ;
39402  PyObject * obj0 = 0 ;
39403  PyObject * obj1 = 0 ;
39404  PyObject * obj2 = 0 ;
39405  std::vector< Light * >::iterator result;
39406 
39407  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_LightPtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
39408  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39409  if (!SWIG_IsOK(res1)) {
39410  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_erase" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39411  }
39412  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39413  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
39414  if (!SWIG_IsOK(res2) || !iter2) {
39415  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_LightPtr_erase" "', argument " "2"" of type '" "std::vector< Light * >::iterator""'");
39416  } else {
39418  if (iter_t) {
39419  arg2 = iter_t->get_current();
39420  } else {
39421  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_LightPtr_erase" "', argument " "2"" of type '" "std::vector< Light * >::iterator""'");
39422  }
39423  }
39424  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
39425  if (!SWIG_IsOK(res3) || !iter3) {
39426  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_LightPtr_erase" "', argument " "3"" of type '" "std::vector< Light * >::iterator""'");
39427  } else {
39429  if (iter_t) {
39430  arg3 = iter_t->get_current();
39431  } else {
39432  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_LightPtr_erase" "', argument " "3"" of type '" "std::vector< Light * >::iterator""'");
39433  }
39434  }
39435  result = std_vector_Sl_Light_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
39436  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Light * >::iterator & >(result)),
39437  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
39438  return resultobj;
39439 fail:
39440  return NULL;
39441 }
39442 
39443 
39444 SWIGINTERN PyObject *_wrap_vector_LightPtr_erase(PyObject *self, PyObject *args) {
39445  int argc;
39446  PyObject *argv[4];
39447  int ii;
39448 
39449  if (!PyTuple_Check(args)) SWIG_fail;
39450  argc = args ? (int)PyObject_Length(args) : 0;
39451  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
39452  argv[ii] = PyTuple_GET_ITEM(args,ii);
39453  }
39454  if (argc == 2) {
39455  int _v;
39456  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
39457  _v = SWIG_CheckState(res);
39458  if (_v) {
39459  swig::SwigPyIterator *iter = 0;
39460  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
39461  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Light * >::iterator > *>(iter) != 0));
39462  if (_v) {
39463  return _wrap_vector_LightPtr_erase__SWIG_0(self, args);
39464  }
39465  }
39466  }
39467  if (argc == 3) {
39468  int _v;
39469  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
39470  _v = SWIG_CheckState(res);
39471  if (_v) {
39472  swig::SwigPyIterator *iter = 0;
39473  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
39474  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Light * >::iterator > *>(iter) != 0));
39475  if (_v) {
39476  swig::SwigPyIterator *iter = 0;
39477  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
39478  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Light * >::iterator > *>(iter) != 0));
39479  if (_v) {
39480  return _wrap_vector_LightPtr_erase__SWIG_1(self, args);
39481  }
39482  }
39483  }
39484  }
39485 
39486 fail:
39487  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_LightPtr_erase'.\n"
39488  " Possible C/C++ prototypes are:\n"
39489  " std::vector< Light * >::erase(std::vector< Light * >::iterator)\n"
39490  " std::vector< Light * >::erase(std::vector< Light * >::iterator,std::vector< Light * >::iterator)\n");
39491  return 0;
39492 }
39493 
39494 
39495 SWIGINTERN PyObject *_wrap_new_vector_LightPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39496  PyObject *resultobj = 0;
39497  std::vector< Light * >::size_type arg1 ;
39498  std::vector< Light * >::value_type arg2 = (std::vector< Light * >::value_type) 0 ;
39499  size_t val1 ;
39500  int ecode1 = 0 ;
39501  void *argp2 = 0 ;
39502  int res2 = 0 ;
39503  PyObject * obj0 = 0 ;
39504  PyObject * obj1 = 0 ;
39505  std::vector< Light * > *result = 0 ;
39506 
39507  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_LightPtr",&obj0,&obj1)) SWIG_fail;
39508  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
39509  if (!SWIG_IsOK(ecode1)) {
39510  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_LightPtr" "', argument " "1"" of type '" "std::vector< Light * >::size_type""'");
39511  }
39512  arg1 = static_cast< std::vector< Light * >::size_type >(val1);
39513  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Light, 0 | 0 );
39514  if (!SWIG_IsOK(res2)) {
39515  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_LightPtr" "', argument " "2"" of type '" "std::vector< Light * >::value_type""'");
39516  }
39517  arg2 = reinterpret_cast< std::vector< Light * >::value_type >(argp2);
39518  result = (std::vector< Light * > *)new std::vector< Light * >(arg1,arg2);
39519  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, SWIG_POINTER_NEW | 0 );
39520  return resultobj;
39521 fail:
39522  return NULL;
39523 }
39524 
39525 
39526 SWIGINTERN PyObject *_wrap_new_vector_LightPtr(PyObject *self, PyObject *args) {
39527  int argc;
39528  PyObject *argv[3];
39529  int ii;
39530 
39531  if (!PyTuple_Check(args)) SWIG_fail;
39532  argc = args ? (int)PyObject_Length(args) : 0;
39533  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
39534  argv[ii] = PyTuple_GET_ITEM(args,ii);
39535  }
39536  if (argc == 0) {
39537  return _wrap_new_vector_LightPtr__SWIG_0(self, args);
39538  }
39539  if (argc == 1) {
39540  int _v;
39541  {
39542  int res = SWIG_AsVal_size_t(argv[0], NULL);
39543  _v = SWIG_CheckState(res);
39544  }
39545  if (_v) {
39546  return _wrap_new_vector_LightPtr__SWIG_2(self, args);
39547  }
39548  }
39549  if (argc == 1) {
39550  int _v;
39551  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
39552  _v = SWIG_CheckState(res);
39553  if (_v) {
39554  return _wrap_new_vector_LightPtr__SWIG_1(self, args);
39555  }
39556  }
39557  if (argc == 2) {
39558  int _v;
39559  {
39560  int res = SWIG_AsVal_size_t(argv[0], NULL);
39561  _v = SWIG_CheckState(res);
39562  }
39563  if (_v) {
39564  void *vptr = 0;
39565  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Light, 0);
39566  _v = SWIG_CheckState(res);
39567  if (_v) {
39568  return _wrap_new_vector_LightPtr__SWIG_3(self, args);
39569  }
39570  }
39571  }
39572 
39573 fail:
39574  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_LightPtr'.\n"
39575  " Possible C/C++ prototypes are:\n"
39576  " std::vector< Light * >::vector()\n"
39577  " std::vector< Light * >::vector(std::vector< Light * > const &)\n"
39578  " std::vector< Light * >::vector(std::vector< Light * >::size_type)\n"
39579  " std::vector< Light * >::vector(std::vector< Light * >::size_type,std::vector< Light * >::value_type)\n");
39580  return 0;
39581 }
39582 
39583 
39584 SWIGINTERN PyObject *_wrap_vector_LightPtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39585  PyObject *resultobj = 0;
39586  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39587  std::vector< Light * >::value_type arg2 = (std::vector< Light * >::value_type) 0 ;
39588  void *argp1 = 0 ;
39589  int res1 = 0 ;
39590  void *argp2 = 0 ;
39591  int res2 = 0 ;
39592  PyObject * obj0 = 0 ;
39593  PyObject * obj1 = 0 ;
39594 
39595  if (!PyArg_ParseTuple(args,(char *)"OO:vector_LightPtr_push_back",&obj0,&obj1)) SWIG_fail;
39596  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39597  if (!SWIG_IsOK(res1)) {
39598  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_push_back" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39599  }
39600  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39601  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Light, 0 | 0 );
39602  if (!SWIG_IsOK(res2)) {
39603  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_LightPtr_push_back" "', argument " "2"" of type '" "std::vector< Light * >::value_type""'");
39604  }
39605  arg2 = reinterpret_cast< std::vector< Light * >::value_type >(argp2);
39606  (arg1)->push_back(arg2);
39607  resultobj = SWIG_Py_Void();
39608  return resultobj;
39609 fail:
39610  return NULL;
39611 }
39612 
39613 
39614 SWIGINTERN PyObject *_wrap_vector_LightPtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39615  PyObject *resultobj = 0;
39616  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39617  void *argp1 = 0 ;
39618  int res1 = 0 ;
39619  PyObject * obj0 = 0 ;
39620  std::vector< Light * >::value_type result;
39621 
39622  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr_front",&obj0)) SWIG_fail;
39623  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39624  if (!SWIG_IsOK(res1)) {
39625  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_front" "', argument " "1"" of type '" "std::vector< Light * > const *""'");
39626  }
39627  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39628  result = (std::vector< Light * >::value_type)((std::vector< Light * > const *)arg1)->front();
39629  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Light, 0 | 0 );
39630  return resultobj;
39631 fail:
39632  return NULL;
39633 }
39634 
39635 
39636 SWIGINTERN PyObject *_wrap_vector_LightPtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39637  PyObject *resultobj = 0;
39638  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39639  void *argp1 = 0 ;
39640  int res1 = 0 ;
39641  PyObject * obj0 = 0 ;
39642  std::vector< Light * >::value_type result;
39643 
39644  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr_back",&obj0)) SWIG_fail;
39645  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39646  if (!SWIG_IsOK(res1)) {
39647  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_back" "', argument " "1"" of type '" "std::vector< Light * > const *""'");
39648  }
39649  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39650  result = (std::vector< Light * >::value_type)((std::vector< Light * > const *)arg1)->back();
39651  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Light, 0 | 0 );
39652  return resultobj;
39653 fail:
39654  return NULL;
39655 }
39656 
39657 
39658 SWIGINTERN PyObject *_wrap_vector_LightPtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39659  PyObject *resultobj = 0;
39660  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39661  std::vector< Light * >::size_type arg2 ;
39662  std::vector< Light * >::value_type arg3 = (std::vector< Light * >::value_type) 0 ;
39663  void *argp1 = 0 ;
39664  int res1 = 0 ;
39665  size_t val2 ;
39666  int ecode2 = 0 ;
39667  void *argp3 = 0 ;
39668  int res3 = 0 ;
39669  PyObject * obj0 = 0 ;
39670  PyObject * obj1 = 0 ;
39671  PyObject * obj2 = 0 ;
39672 
39673  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_LightPtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
39674  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39675  if (!SWIG_IsOK(res1)) {
39676  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_assign" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39677  }
39678  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39679  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
39680  if (!SWIG_IsOK(ecode2)) {
39681  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_LightPtr_assign" "', argument " "2"" of type '" "std::vector< Light * >::size_type""'");
39682  }
39683  arg2 = static_cast< std::vector< Light * >::size_type >(val2);
39684  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Light, 0 | 0 );
39685  if (!SWIG_IsOK(res3)) {
39686  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_LightPtr_assign" "', argument " "3"" of type '" "std::vector< Light * >::value_type""'");
39687  }
39688  arg3 = reinterpret_cast< std::vector< Light * >::value_type >(argp3);
39689  (arg1)->assign(arg2,arg3);
39690  resultobj = SWIG_Py_Void();
39691  return resultobj;
39692 fail:
39693  return NULL;
39694 }
39695 
39696 
39697 SWIGINTERN PyObject *_wrap_vector_LightPtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39698  PyObject *resultobj = 0;
39699  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39700  std::vector< Light * >::size_type arg2 ;
39701  std::vector< Light * >::value_type arg3 = (std::vector< Light * >::value_type) 0 ;
39702  void *argp1 = 0 ;
39703  int res1 = 0 ;
39704  size_t val2 ;
39705  int ecode2 = 0 ;
39706  void *argp3 = 0 ;
39707  int res3 = 0 ;
39708  PyObject * obj0 = 0 ;
39709  PyObject * obj1 = 0 ;
39710  PyObject * obj2 = 0 ;
39711 
39712  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_LightPtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
39713  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39714  if (!SWIG_IsOK(res1)) {
39715  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_resize" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39716  }
39717  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39718  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
39719  if (!SWIG_IsOK(ecode2)) {
39720  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_LightPtr_resize" "', argument " "2"" of type '" "std::vector< Light * >::size_type""'");
39721  }
39722  arg2 = static_cast< std::vector< Light * >::size_type >(val2);
39723  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Light, 0 | 0 );
39724  if (!SWIG_IsOK(res3)) {
39725  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_LightPtr_resize" "', argument " "3"" of type '" "std::vector< Light * >::value_type""'");
39726  }
39727  arg3 = reinterpret_cast< std::vector< Light * >::value_type >(argp3);
39728  (arg1)->resize(arg2,arg3);
39729  resultobj = SWIG_Py_Void();
39730  return resultobj;
39731 fail:
39732  return NULL;
39733 }
39734 
39735 
39736 SWIGINTERN PyObject *_wrap_vector_LightPtr_resize(PyObject *self, PyObject *args) {
39737  int argc;
39738  PyObject *argv[4];
39739  int ii;
39740 
39741  if (!PyTuple_Check(args)) SWIG_fail;
39742  argc = args ? (int)PyObject_Length(args) : 0;
39743  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
39744  argv[ii] = PyTuple_GET_ITEM(args,ii);
39745  }
39746  if (argc == 2) {
39747  int _v;
39748  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
39749  _v = SWIG_CheckState(res);
39750  if (_v) {
39751  {
39752  int res = SWIG_AsVal_size_t(argv[1], NULL);
39753  _v = SWIG_CheckState(res);
39754  }
39755  if (_v) {
39756  return _wrap_vector_LightPtr_resize__SWIG_0(self, args);
39757  }
39758  }
39759  }
39760  if (argc == 3) {
39761  int _v;
39762  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
39763  _v = SWIG_CheckState(res);
39764  if (_v) {
39765  {
39766  int res = SWIG_AsVal_size_t(argv[1], NULL);
39767  _v = SWIG_CheckState(res);
39768  }
39769  if (_v) {
39770  void *vptr = 0;
39771  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Light, 0);
39772  _v = SWIG_CheckState(res);
39773  if (_v) {
39774  return _wrap_vector_LightPtr_resize__SWIG_1(self, args);
39775  }
39776  }
39777  }
39778  }
39779 
39780 fail:
39781  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_LightPtr_resize'.\n"
39782  " Possible C/C++ prototypes are:\n"
39783  " std::vector< Light * >::resize(std::vector< Light * >::size_type)\n"
39784  " std::vector< Light * >::resize(std::vector< Light * >::size_type,std::vector< Light * >::value_type)\n");
39785  return 0;
39786 }
39787 
39788 
39789 SWIGINTERN PyObject *_wrap_vector_LightPtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39790  PyObject *resultobj = 0;
39791  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39792  std::vector< Light * >::iterator arg2 ;
39793  std::vector< Light * >::value_type arg3 = (std::vector< Light * >::value_type) 0 ;
39794  void *argp1 = 0 ;
39795  int res1 = 0 ;
39796  swig::SwigPyIterator *iter2 = 0 ;
39797  int res2 ;
39798  void *argp3 = 0 ;
39799  int res3 = 0 ;
39800  PyObject * obj0 = 0 ;
39801  PyObject * obj1 = 0 ;
39802  PyObject * obj2 = 0 ;
39803  std::vector< Light * >::iterator result;
39804 
39805  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_LightPtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
39806  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39807  if (!SWIG_IsOK(res1)) {
39808  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_insert" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39809  }
39810  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39811  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
39812  if (!SWIG_IsOK(res2) || !iter2) {
39813  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_LightPtr_insert" "', argument " "2"" of type '" "std::vector< Light * >::iterator""'");
39814  } else {
39816  if (iter_t) {
39817  arg2 = iter_t->get_current();
39818  } else {
39819  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_LightPtr_insert" "', argument " "2"" of type '" "std::vector< Light * >::iterator""'");
39820  }
39821  }
39822  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Light, 0 | 0 );
39823  if (!SWIG_IsOK(res3)) {
39824  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_LightPtr_insert" "', argument " "3"" of type '" "std::vector< Light * >::value_type""'");
39825  }
39826  arg3 = reinterpret_cast< std::vector< Light * >::value_type >(argp3);
39827  result = std_vector_Sl_Light_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
39828  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Light * >::iterator & >(result)),
39829  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
39830  return resultobj;
39831 fail:
39832  return NULL;
39833 }
39834 
39835 
39836 SWIGINTERN PyObject *_wrap_vector_LightPtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39837  PyObject *resultobj = 0;
39838  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39839  std::vector< Light * >::iterator arg2 ;
39840  std::vector< Light * >::size_type arg3 ;
39841  std::vector< Light * >::value_type arg4 = (std::vector< Light * >::value_type) 0 ;
39842  void *argp1 = 0 ;
39843  int res1 = 0 ;
39844  swig::SwigPyIterator *iter2 = 0 ;
39845  int res2 ;
39846  size_t val3 ;
39847  int ecode3 = 0 ;
39848  void *argp4 = 0 ;
39849  int res4 = 0 ;
39850  PyObject * obj0 = 0 ;
39851  PyObject * obj1 = 0 ;
39852  PyObject * obj2 = 0 ;
39853  PyObject * obj3 = 0 ;
39854 
39855  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_LightPtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
39856  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39857  if (!SWIG_IsOK(res1)) {
39858  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_insert" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39859  }
39860  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39861  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
39862  if (!SWIG_IsOK(res2) || !iter2) {
39863  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_LightPtr_insert" "', argument " "2"" of type '" "std::vector< Light * >::iterator""'");
39864  } else {
39866  if (iter_t) {
39867  arg2 = iter_t->get_current();
39868  } else {
39869  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_LightPtr_insert" "', argument " "2"" of type '" "std::vector< Light * >::iterator""'");
39870  }
39871  }
39872  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
39873  if (!SWIG_IsOK(ecode3)) {
39874  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_LightPtr_insert" "', argument " "3"" of type '" "std::vector< Light * >::size_type""'");
39875  }
39876  arg3 = static_cast< std::vector< Light * >::size_type >(val3);
39877  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_Light, 0 | 0 );
39878  if (!SWIG_IsOK(res4)) {
39879  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_LightPtr_insert" "', argument " "4"" of type '" "std::vector< Light * >::value_type""'");
39880  }
39881  arg4 = reinterpret_cast< std::vector< Light * >::value_type >(argp4);
39882  std_vector_Sl_Light_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
39883  resultobj = SWIG_Py_Void();
39884  return resultobj;
39885 fail:
39886  return NULL;
39887 }
39888 
39889 
39890 SWIGINTERN PyObject *_wrap_vector_LightPtr_insert(PyObject *self, PyObject *args) {
39891  int argc;
39892  PyObject *argv[5];
39893  int ii;
39894 
39895  if (!PyTuple_Check(args)) SWIG_fail;
39896  argc = args ? (int)PyObject_Length(args) : 0;
39897  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
39898  argv[ii] = PyTuple_GET_ITEM(args,ii);
39899  }
39900  if (argc == 3) {
39901  int _v;
39902  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
39903  _v = SWIG_CheckState(res);
39904  if (_v) {
39905  swig::SwigPyIterator *iter = 0;
39906  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
39907  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Light * >::iterator > *>(iter) != 0));
39908  if (_v) {
39909  void *vptr = 0;
39910  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Light, 0);
39911  _v = SWIG_CheckState(res);
39912  if (_v) {
39913  return _wrap_vector_LightPtr_insert__SWIG_0(self, args);
39914  }
39915  }
39916  }
39917  }
39918  if (argc == 4) {
39919  int _v;
39920  int res = swig::asptr(argv[0], (std::vector<Light*,std::allocator< Light * > >**)(0));
39921  _v = SWIG_CheckState(res);
39922  if (_v) {
39923  swig::SwigPyIterator *iter = 0;
39924  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
39925  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Light * >::iterator > *>(iter) != 0));
39926  if (_v) {
39927  {
39928  int res = SWIG_AsVal_size_t(argv[2], NULL);
39929  _v = SWIG_CheckState(res);
39930  }
39931  if (_v) {
39932  void *vptr = 0;
39933  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_Light, 0);
39934  _v = SWIG_CheckState(res);
39935  if (_v) {
39936  return _wrap_vector_LightPtr_insert__SWIG_1(self, args);
39937  }
39938  }
39939  }
39940  }
39941  }
39942 
39943 fail:
39944  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_LightPtr_insert'.\n"
39945  " Possible C/C++ prototypes are:\n"
39946  " std::vector< Light * >::insert(std::vector< Light * >::iterator,std::vector< Light * >::value_type)\n"
39947  " std::vector< Light * >::insert(std::vector< Light * >::iterator,std::vector< Light * >::size_type,std::vector< Light * >::value_type)\n");
39948  return 0;
39949 }
39950 
39951 
39952 SWIGINTERN PyObject *_wrap_vector_LightPtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39953  PyObject *resultobj = 0;
39954  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39955  std::vector< Light * >::size_type arg2 ;
39956  void *argp1 = 0 ;
39957  int res1 = 0 ;
39958  size_t val2 ;
39959  int ecode2 = 0 ;
39960  PyObject * obj0 = 0 ;
39961  PyObject * obj1 = 0 ;
39962 
39963  if (!PyArg_ParseTuple(args,(char *)"OO:vector_LightPtr_reserve",&obj0,&obj1)) SWIG_fail;
39964  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39965  if (!SWIG_IsOK(res1)) {
39966  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_reserve" "', argument " "1"" of type '" "std::vector< Light * > *""'");
39967  }
39968  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39969  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
39970  if (!SWIG_IsOK(ecode2)) {
39971  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_LightPtr_reserve" "', argument " "2"" of type '" "std::vector< Light * >::size_type""'");
39972  }
39973  arg2 = static_cast< std::vector< Light * >::size_type >(val2);
39974  (arg1)->reserve(arg2);
39975  resultobj = SWIG_Py_Void();
39976  return resultobj;
39977 fail:
39978  return NULL;
39979 }
39980 
39981 
39982 SWIGINTERN PyObject *_wrap_vector_LightPtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39983  PyObject *resultobj = 0;
39984  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
39985  void *argp1 = 0 ;
39986  int res1 = 0 ;
39987  PyObject * obj0 = 0 ;
39988  std::vector< Light * >::size_type result;
39989 
39990  if (!PyArg_ParseTuple(args,(char *)"O:vector_LightPtr_capacity",&obj0)) SWIG_fail;
39991  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0 | 0 );
39992  if (!SWIG_IsOK(res1)) {
39993  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_LightPtr_capacity" "', argument " "1"" of type '" "std::vector< Light * > const *""'");
39994  }
39995  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
39996  result = ((std::vector< Light * > const *)arg1)->capacity();
39997  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
39998  return resultobj;
39999 fail:
40000  return NULL;
40001 }
40002 
40003 
40004 SWIGINTERN PyObject *_wrap_delete_vector_LightPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40005  PyObject *resultobj = 0;
40006  std::vector< Light * > *arg1 = (std::vector< Light * > *) 0 ;
40007  void *argp1 = 0 ;
40008  int res1 = 0 ;
40009  PyObject * obj0 = 0 ;
40010 
40011  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_LightPtr",&obj0)) SWIG_fail;
40012  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, SWIG_POINTER_DISOWN | 0 );
40013  if (!SWIG_IsOK(res1)) {
40014  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_LightPtr" "', argument " "1"" of type '" "std::vector< Light * > *""'");
40015  }
40016  arg1 = reinterpret_cast< std::vector< Light * > * >(argp1);
40017  {
40018  try {
40019  delete arg1;
40020  }
40021  catch(CStdErrorInfo oError)
40022  {
40023  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
40024  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
40025  PyErr_SetString(PyExc_IndexError, strError.c_str());
40026  SWIG_fail;
40027  }
40028  catch(...)
40029  {
40030  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
40031  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
40032  SWIG_fail;
40033  }
40034  }
40035  resultobj = SWIG_Py_Void();
40036  return resultobj;
40037 fail:
40038  return NULL;
40039 }
40040 
40041 
40042 SWIGINTERN PyObject *vector_LightPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40043  PyObject *obj;
40044  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
40045  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, SWIG_NewClientData(obj));
40046  return SWIG_Py_Void();
40047 }
40048 
40049 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40050  PyObject *resultobj = 0;
40051  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40052  PyObject **arg2 = (PyObject **) 0 ;
40053  void *argp1 = 0 ;
40054  int res1 = 0 ;
40055  PyObject * obj0 = 0 ;
40056  swig::SwigPyIterator *result = 0 ;
40057 
40058  arg2 = &obj0;
40059  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr_iterator",&obj0)) SWIG_fail;
40060  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40061  if (!SWIG_IsOK(res1)) {
40062  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_iterator" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
40063  }
40064  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40065  result = (swig::SwigPyIterator *)std_vector_Sl_MaterialType_Sm__Sg__iterator(arg1,arg2);
40066  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
40067  return resultobj;
40068 fail:
40069  return NULL;
40070 }
40071 
40072 
40073 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40074  PyObject *resultobj = 0;
40075  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40076  void *argp1 = 0 ;
40077  int res1 = 0 ;
40078  PyObject * obj0 = 0 ;
40079  bool result;
40080 
40081  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr___nonzero__",&obj0)) SWIG_fail;
40082  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40083  if (!SWIG_IsOK(res1)) {
40084  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr___nonzero__" "', argument " "1"" of type '" "std::vector< MaterialType * > const *""'");
40085  }
40086  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40087  result = (bool)std_vector_Sl_MaterialType_Sm__Sg____nonzero__((std::vector< MaterialType * > const *)arg1);
40088  resultobj = SWIG_From_bool(static_cast< bool >(result));
40089  return resultobj;
40090 fail:
40091  return NULL;
40092 }
40093 
40094 
40095 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40096  PyObject *resultobj = 0;
40097  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40098  void *argp1 = 0 ;
40099  int res1 = 0 ;
40100  PyObject * obj0 = 0 ;
40101  bool result;
40102 
40103  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr___bool__",&obj0)) SWIG_fail;
40104  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40105  if (!SWIG_IsOK(res1)) {
40106  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr___bool__" "', argument " "1"" of type '" "std::vector< MaterialType * > const *""'");
40107  }
40108  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40109  result = (bool)std_vector_Sl_MaterialType_Sm__Sg____bool__((std::vector< MaterialType * > const *)arg1);
40110  resultobj = SWIG_From_bool(static_cast< bool >(result));
40111  return resultobj;
40112 fail:
40113  return NULL;
40114 }
40115 
40116 
40117 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40118  PyObject *resultobj = 0;
40119  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40120  void *argp1 = 0 ;
40121  int res1 = 0 ;
40122  PyObject * obj0 = 0 ;
40123  std::vector< MaterialType * >::size_type result;
40124 
40125  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr___len__",&obj0)) SWIG_fail;
40126  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40127  if (!SWIG_IsOK(res1)) {
40128  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr___len__" "', argument " "1"" of type '" "std::vector< MaterialType * > const *""'");
40129  }
40130  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40131  result = std_vector_Sl_MaterialType_Sm__Sg____len__((std::vector< MaterialType * > const *)arg1);
40132  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
40133  return resultobj;
40134 fail:
40135  return NULL;
40136 }
40137 
40138 
40139 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40140  PyObject *resultobj = 0;
40141  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40142  void *argp1 = 0 ;
40143  int res1 = 0 ;
40144  PyObject * obj0 = 0 ;
40145  std::vector< MaterialType * >::value_type result;
40146 
40147  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr_pop",&obj0)) SWIG_fail;
40148  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40149  if (!SWIG_IsOK(res1)) {
40150  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_pop" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
40151  }
40152  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40153  try {
40154  result = (std::vector< MaterialType * >::value_type)std_vector_Sl_MaterialType_Sm__Sg__pop(arg1);
40155  }
40156  catch(std::out_of_range &_e) {
40157  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
40158  }
40159 
40160  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MaterialType, 0 | 0 );
40161  return resultobj;
40162 fail:
40163  return NULL;
40164 }
40165 
40166 
40167 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40168  PyObject *resultobj = 0;
40169  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40170  std::vector< MaterialType * >::difference_type arg2 ;
40171  std::vector< MaterialType * >::difference_type arg3 ;
40172  void *argp1 = 0 ;
40173  int res1 = 0 ;
40174  ptrdiff_t val2 ;
40175  int ecode2 = 0 ;
40176  ptrdiff_t val3 ;
40177  int ecode3 = 0 ;
40178  PyObject * obj0 = 0 ;
40179  PyObject * obj1 = 0 ;
40180  PyObject * obj2 = 0 ;
40181  std::vector< MaterialType *,std::allocator< MaterialType * > > *result = 0 ;
40182 
40183  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_MaterialTypePtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
40184  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40185  if (!SWIG_IsOK(res1)) {
40186  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr___getslice__" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
40187  }
40188  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40189  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
40190  if (!SWIG_IsOK(ecode2)) {
40191  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_MaterialTypePtr___getslice__" "', argument " "2"" of type '" "std::vector< MaterialType * >::difference_type""'");
40192  }
40193  arg2 = static_cast< std::vector< MaterialType * >::difference_type >(val2);
40194  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
40195  if (!SWIG_IsOK(ecode3)) {
40196  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_MaterialTypePtr___getslice__" "', argument " "3"" of type '" "std::vector< MaterialType * >::difference_type""'");
40197  }
40198  arg3 = static_cast< std::vector< MaterialType * >::difference_type >(val3);
40199  try {
40200  result = (std::vector< MaterialType *,std::allocator< MaterialType * > > *)std_vector_Sl_MaterialType_Sm__Sg____getslice__(arg1,arg2,arg3);
40201  }
40202  catch(std::out_of_range &_e) {
40203  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
40204  }
40205  catch(std::invalid_argument &_e) {
40206  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
40207  }
40208 
40209  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, SWIG_POINTER_OWN | 0 );
40210  return resultobj;
40211 fail:
40212  return NULL;
40213 }
40214 
40215 
40216 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40217  PyObject *resultobj = 0;
40218  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40219  std::vector< MaterialType * >::difference_type arg2 ;
40220  std::vector< MaterialType * >::difference_type arg3 ;
40221  std::vector< MaterialType *,std::allocator< MaterialType * > > *arg4 = 0 ;
40222  void *argp1 = 0 ;
40223  int res1 = 0 ;
40224  ptrdiff_t val2 ;
40225  int ecode2 = 0 ;
40226  ptrdiff_t val3 ;
40227  int ecode3 = 0 ;
40228  int res4 = SWIG_OLDOBJ ;
40229  PyObject * obj0 = 0 ;
40230  PyObject * obj1 = 0 ;
40231  PyObject * obj2 = 0 ;
40232  PyObject * obj3 = 0 ;
40233 
40234  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_MaterialTypePtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40235  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40236  if (!SWIG_IsOK(res1)) {
40237  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr___setslice__" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
40238  }
40239  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40240  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
40241  if (!SWIG_IsOK(ecode2)) {
40242  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_MaterialTypePtr___setslice__" "', argument " "2"" of type '" "std::vector< MaterialType * >::difference_type""'");
40243  }
40244  arg2 = static_cast< std::vector< MaterialType * >::difference_type >(val2);
40245  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
40246  if (!SWIG_IsOK(ecode3)) {
40247  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_MaterialTypePtr___setslice__" "', argument " "3"" of type '" "std::vector< MaterialType * >::difference_type""'");
40248  }
40249  arg3 = static_cast< std::vector< MaterialType * >::difference_type >(val3);
40250  {
40251  std::vector<MaterialType*,std::allocator< MaterialType * > > *ptr = (std::vector<MaterialType*,std::allocator< MaterialType * > > *)0;
40252  res4 = swig::asptr(obj3, &ptr);
40253  if (!SWIG_IsOK(res4)) {
40254  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_MaterialTypePtr___setslice__" "', argument " "4"" of type '" "std::vector< MaterialType *,std::allocator< MaterialType * > > const &""'");
40255  }
40256  if (!ptr) {
40257  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_MaterialTypePtr___setslice__" "', argument " "4"" of type '" "std::vector< MaterialType *,std::allocator< MaterialType * > > const &""'");
40258  }
40259  arg4 = ptr;
40260  }
40261  try {
40262  std_vector_Sl_MaterialType_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< MaterialType *,std::allocator< MaterialType * > > const &)*arg4);
40263  }
40264  catch(std::out_of_range &_e) {
40265  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
40266  }
40267  catch(std::invalid_argument &_e) {
40268  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
40269  }
40270 
40271  resultobj = SWIG_Py_Void();
40272  if (SWIG_IsNewObj(res4)) delete arg4;
40273  return resultobj;
40274 fail:
40275  if (SWIG_IsNewObj(res4)) delete arg4;
40276  return NULL;
40277 }
40278 
40279 
40280 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40281  PyObject *resultobj = 0;
40282  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40283  std::vector< MaterialType * >::difference_type arg2 ;
40284  std::vector< MaterialType * >::difference_type arg3 ;
40285  void *argp1 = 0 ;
40286  int res1 = 0 ;
40287  ptrdiff_t val2 ;
40288  int ecode2 = 0 ;
40289  ptrdiff_t val3 ;
40290  int ecode3 = 0 ;
40291  PyObject * obj0 = 0 ;
40292  PyObject * obj1 = 0 ;
40293  PyObject * obj2 = 0 ;
40294 
40295  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_MaterialTypePtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
40296  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40297  if (!SWIG_IsOK(res1)) {
40298  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr___setslice__" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
40299  }
40300  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40301  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
40302  if (!SWIG_IsOK(ecode2)) {
40303  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_MaterialTypePtr___setslice__" "', argument " "2"" of type '" "std::vector< MaterialType * >::difference_type""'");
40304  }
40305  arg2 = static_cast< std::vector< MaterialType * >::difference_type >(val2);
40306  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
40307  if (!SWIG_IsOK(ecode3)) {
40308  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_MaterialTypePtr___setslice__" "', argument " "3"" of type '" "std::vector< MaterialType * >::difference_type""'");
40309  }
40310  arg3 = static_cast< std::vector< MaterialType * >::difference_type >(val3);
40311  try {
40312  std_vector_Sl_MaterialType_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
40313  }
40314  catch(std::out_of_range &_e) {
40315  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
40316  }
40317  catch(std::invalid_argument &_e) {
40318  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
40319  }
40320 
40321  resultobj = SWIG_Py_Void();
40322  return resultobj;
40323 fail:
40324  return NULL;
40325 }
40326 
40327 
40328 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___setslice__(PyObject *self, PyObject *args) {
40329  int argc;
40330  PyObject *argv[5];
40331  int ii;
40332 
40333  if (!PyTuple_Check(args)) SWIG_fail;
40334  argc = args ? (int)PyObject_Length(args) : 0;
40335  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
40336  argv[ii] = PyTuple_GET_ITEM(args,ii);
40337  }
40338  if (argc == 3) {
40339  int _v;
40340  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
40341  _v = SWIG_CheckState(res);
40342  if (_v) {
40343  {
40344  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
40345  _v = SWIG_CheckState(res);
40346  }
40347  if (_v) {
40348  {
40349  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
40350  _v = SWIG_CheckState(res);
40351  }
40352  if (_v) {
40353  return _wrap_vector_MaterialTypePtr___setslice____SWIG_1(self, args);
40354  }
40355  }
40356  }
40357  }
40358  if (argc == 4) {
40359  int _v;
40360  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
40361  _v = SWIG_CheckState(res);
40362  if (_v) {
40363  {
40364  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
40365  _v = SWIG_CheckState(res);
40366  }
40367  if (_v) {
40368  {
40369  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
40370  _v = SWIG_CheckState(res);
40371  }
40372  if (_v) {
40373  int res = swig::asptr(argv[3], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
40374  _v = SWIG_CheckState(res);
40375  if (_v) {
40376  return _wrap_vector_MaterialTypePtr___setslice____SWIG_0(self, args);
40377  }
40378  }
40379  }
40380  }
40381  }
40382 
40383 fail:
40384  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_MaterialTypePtr___setslice__'.\n"
40385  " Possible C/C++ prototypes are:\n"
40386  " std::vector< MaterialType * >::__setslice__(std::vector< MaterialType * >::difference_type,std::vector< MaterialType * >::difference_type,std::vector< MaterialType *,std::allocator< MaterialType * > > const &)\n"
40387  " std::vector< MaterialType * >::__setslice__(std::vector< MaterialType * >::difference_type,std::vector< MaterialType * >::difference_type)\n");
40388  return 0;
40389 }
40390 
40391 
40392 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40393  PyObject *resultobj = 0;
40394  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40395  std::vector< MaterialType * >::difference_type arg2 ;
40396  std::vector< MaterialType * >::difference_type arg3 ;
40397  void *argp1 = 0 ;
40398  int res1 = 0 ;
40399  ptrdiff_t val2 ;
40400  int ecode2 = 0 ;
40401  ptrdiff_t val3 ;
40402  int ecode3 = 0 ;
40403  PyObject * obj0 = 0 ;
40404  PyObject * obj1 = 0 ;
40405  PyObject * obj2 = 0 ;
40406 
40407  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_MaterialTypePtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
40408  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40409  if (!SWIG_IsOK(res1)) {
40410  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr___delslice__" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
40411  }
40412  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40413  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
40414  if (!SWIG_IsOK(ecode2)) {
40415  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_MaterialTypePtr___delslice__" "', argument " "2"" of type '" "std::vector< MaterialType * >::difference_type""'");
40416  }
40417  arg2 = static_cast< std::vector< MaterialType * >::difference_type >(val2);
40418  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
40419  if (!SWIG_IsOK(ecode3)) {
40420  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_MaterialTypePtr___delslice__" "', argument " "3"" of type '" "std::vector< MaterialType * >::difference_type""'");
40421  }
40422  arg3 = static_cast< std::vector< MaterialType * >::difference_type >(val3);
40423  try {
40424  std_vector_Sl_MaterialType_Sm__Sg____delslice__(arg1,arg2,arg3);
40425  }
40426  catch(std::out_of_range &_e) {
40427  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
40428  }
40429  catch(std::invalid_argument &_e) {
40430  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
40431  }
40432 
40433  resultobj = SWIG_Py_Void();
40434  return resultobj;
40435 fail:
40436  return NULL;
40437 }
40438 
40439 
40440 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40441  PyObject *resultobj = 0;
40442  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40443  std::vector< MaterialType * >::difference_type arg2 ;
40444  void *argp1 = 0 ;
40445  int res1 = 0 ;
40446  ptrdiff_t val2 ;
40447  int ecode2 = 0 ;
40448  PyObject * obj0 = 0 ;
40449  PyObject * obj1 = 0 ;
40450 
40451  if (!PyArg_ParseTuple(args,(char *)"OO:vector_MaterialTypePtr___delitem__",&obj0,&obj1)) SWIG_fail;
40452  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40453  if (!SWIG_IsOK(res1)) {
40454  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr___delitem__" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
40455  }
40456  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40457  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
40458  if (!SWIG_IsOK(ecode2)) {
40459  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_MaterialTypePtr___delitem__" "', argument " "2"" of type '" "std::vector< MaterialType * >::difference_type""'");
40460  }
40461  arg2 = static_cast< std::vector< MaterialType * >::difference_type >(val2);
40462  try {
40463  std_vector_Sl_MaterialType_Sm__Sg____delitem____SWIG_0(arg1,arg2);
40464  }
40465  catch(std::out_of_range &_e) {
40466  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
40467  }
40468 
40469  resultobj = SWIG_Py_Void();
40470  return resultobj;
40471 fail:
40472  return NULL;
40473 }
40474 
40475 
40476 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40477  PyObject *resultobj = 0;
40478  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40479  PySliceObject *arg2 = (PySliceObject *) 0 ;
40480  void *argp1 = 0 ;
40481  int res1 = 0 ;
40482  PyObject * obj0 = 0 ;
40483  PyObject * obj1 = 0 ;
40484  std::vector< MaterialType *,std::allocator< MaterialType * > > *result = 0 ;
40485 
40486  if (!PyArg_ParseTuple(args,(char *)"OO:vector_MaterialTypePtr___getitem__",&obj0,&obj1)) SWIG_fail;
40487  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40488  if (!SWIG_IsOK(res1)) {
40489  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr___getitem__" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
40490  }
40491  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40492  {
40493  if (!PySlice_Check(obj1)) {
40494  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_MaterialTypePtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
40495  }
40496  arg2 = (PySliceObject *) obj1;
40497  }
40498  try {
40499  result = (std::vector< MaterialType *,std::allocator< MaterialType * > > *)std_vector_Sl_MaterialType_Sm__Sg____getitem____SWIG_0(arg1,arg2);
40500  }
40501  catch(std::out_of_range &_e) {
40502  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
40503  }
40504  catch(std::invalid_argument &_e) {
40505  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
40506  }
40507 
40508  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, SWIG_POINTER_OWN | 0 );
40509  return resultobj;
40510 fail:
40511  return NULL;
40512 }
40513 
40514 
40515 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40516  PyObject *resultobj = 0;
40517  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40518  PySliceObject *arg2 = (PySliceObject *) 0 ;
40519  std::vector< MaterialType *,std::allocator< MaterialType * > > *arg3 = 0 ;
40520  void *argp1 = 0 ;
40521  int res1 = 0 ;
40522  int res3 = SWIG_OLDOBJ ;
40523  PyObject * obj0 = 0 ;
40524  PyObject * obj1 = 0 ;
40525  PyObject * obj2 = 0 ;
40526 
40527  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_MaterialTypePtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
40528  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40529  if (!SWIG_IsOK(res1)) {
40530  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr___setitem__" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
40531  }
40532  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40533  {
40534  if (!PySlice_Check(obj1)) {
40535  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_MaterialTypePtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
40536  }
40537  arg2 = (PySliceObject *) obj1;
40538  }
40539  {
40540  std::vector<MaterialType*,std::allocator< MaterialType * > > *ptr = (std::vector<MaterialType*,std::allocator< MaterialType * > > *)0;
40541  res3 = swig::asptr(obj2, &ptr);
40542  if (!SWIG_IsOK(res3)) {
40543  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_MaterialTypePtr___setitem__" "', argument " "3"" of type '" "std::vector< MaterialType *,std::allocator< MaterialType * > > const &""'");
40544  }
40545  if (!ptr) {
40546  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_MaterialTypePtr___setitem__" "', argument " "3"" of type '" "std::vector< MaterialType *,std::allocator< MaterialType * > > const &""'");
40547  }
40548  arg3 = ptr;
40549  }
40550  try {
40551  std_vector_Sl_MaterialType_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< MaterialType *,std::allocator< MaterialType * > > const &)*arg3);
40552  }
40553  catch(std::out_of_range &_e) {
40554  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
40555  }
40556  catch(std::invalid_argument &_e) {
40557  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
40558  }
40559 
40560  resultobj = SWIG_Py_Void();
40561  if (SWIG_IsNewObj(res3)) delete arg3;
40562  return resultobj;
40563 fail:
40564  if (SWIG_IsNewObj(res3)) delete arg3;
40565  return NULL;
40566 }
40567 
40568 
40569 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40570  PyObject *resultobj = 0;
40571  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40572  PySliceObject *arg2 = (PySliceObject *) 0 ;
40573  void *argp1 = 0 ;
40574  int res1 = 0 ;
40575  PyObject * obj0 = 0 ;
40576  PyObject * obj1 = 0 ;
40577 
40578  if (!PyArg_ParseTuple(args,(char *)"OO:vector_MaterialTypePtr___setitem__",&obj0,&obj1)) SWIG_fail;
40579  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40580  if (!SWIG_IsOK(res1)) {
40581  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr___setitem__" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
40582  }
40583  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40584  {
40585  if (!PySlice_Check(obj1)) {
40586  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_MaterialTypePtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
40587  }
40588  arg2 = (PySliceObject *) obj1;
40589  }
40590  try {
40591  std_vector_Sl_MaterialType_Sm__Sg____setitem____SWIG_1(arg1,arg2);
40592  }
40593  catch(std::out_of_range &_e) {
40594  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
40595  }
40596  catch(std::invalid_argument &_e) {
40597  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
40598  }
40599 
40600  resultobj = SWIG_Py_Void();
40601  return resultobj;
40602 fail:
40603  return NULL;
40604 }
40605 
40606 
40607 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40608  PyObject *resultobj = 0;
40609  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40610  PySliceObject *arg2 = (PySliceObject *) 0 ;
40611  void *argp1 = 0 ;
40612  int res1 = 0 ;
40613  PyObject * obj0 = 0 ;
40614  PyObject * obj1 = 0 ;
40615 
40616  if (!PyArg_ParseTuple(args,(char *)"OO:vector_MaterialTypePtr___delitem__",&obj0,&obj1)) SWIG_fail;
40617  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40618  if (!SWIG_IsOK(res1)) {
40619  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr___delitem__" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
40620  }
40621  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40622  {
40623  if (!PySlice_Check(obj1)) {
40624  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_MaterialTypePtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
40625  }
40626  arg2 = (PySliceObject *) obj1;
40627  }
40628  try {
40629  std_vector_Sl_MaterialType_Sm__Sg____delitem____SWIG_1(arg1,arg2);
40630  }
40631  catch(std::out_of_range &_e) {
40632  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
40633  }
40634  catch(std::invalid_argument &_e) {
40635  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
40636  }
40637 
40638  resultobj = SWIG_Py_Void();
40639  return resultobj;
40640 fail:
40641  return NULL;
40642 }
40643 
40644 
40645 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___delitem__(PyObject *self, PyObject *args) {
40646  int argc;
40647  PyObject *argv[3];
40648  int ii;
40649 
40650  if (!PyTuple_Check(args)) SWIG_fail;
40651  argc = args ? (int)PyObject_Length(args) : 0;
40652  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
40653  argv[ii] = PyTuple_GET_ITEM(args,ii);
40654  }
40655  if (argc == 2) {
40656  int _v;
40657  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
40658  _v = SWIG_CheckState(res);
40659  if (_v) {
40660  {
40661  _v = PySlice_Check(argv[1]);
40662  }
40663  if (_v) {
40664  return _wrap_vector_MaterialTypePtr___delitem____SWIG_1(self, args);
40665  }
40666  }
40667  }
40668  if (argc == 2) {
40669  int _v;
40670  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
40671  _v = SWIG_CheckState(res);
40672  if (_v) {
40673  {
40674  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
40675  _v = SWIG_CheckState(res);
40676  }
40677  if (_v) {
40678  return _wrap_vector_MaterialTypePtr___delitem____SWIG_0(self, args);
40679  }
40680  }
40681  }
40682 
40683 fail:
40684  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_MaterialTypePtr___delitem__'.\n"
40685  " Possible C/C++ prototypes are:\n"
40686  " std::vector< MaterialType * >::__delitem__(std::vector< MaterialType * >::difference_type)\n"
40687  " std::vector< MaterialType * >::__delitem__(PySliceObject *)\n");
40688  return 0;
40689 }
40690 
40691 
40692 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40693  PyObject *resultobj = 0;
40694  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40695  std::vector< MaterialType * >::difference_type arg2 ;
40696  void *argp1 = 0 ;
40697  int res1 = 0 ;
40698  ptrdiff_t val2 ;
40699  int ecode2 = 0 ;
40700  PyObject * obj0 = 0 ;
40701  PyObject * obj1 = 0 ;
40702  std::vector< MaterialType * >::value_type result;
40703 
40704  if (!PyArg_ParseTuple(args,(char *)"OO:vector_MaterialTypePtr___getitem__",&obj0,&obj1)) SWIG_fail;
40705  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40706  if (!SWIG_IsOK(res1)) {
40707  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr___getitem__" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
40708  }
40709  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40710  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
40711  if (!SWIG_IsOK(ecode2)) {
40712  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_MaterialTypePtr___getitem__" "', argument " "2"" of type '" "std::vector< MaterialType * >::difference_type""'");
40713  }
40714  arg2 = static_cast< std::vector< MaterialType * >::difference_type >(val2);
40715  try {
40716  result = (std::vector< MaterialType * >::value_type)std_vector_Sl_MaterialType_Sm__Sg____getitem____SWIG_1(arg1,arg2);
40717  }
40718  catch(std::out_of_range &_e) {
40719  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
40720  }
40721 
40722  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MaterialType, 0 | 0 );
40723  return resultobj;
40724 fail:
40725  return NULL;
40726 }
40727 
40728 
40729 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___getitem__(PyObject *self, PyObject *args) {
40730  int argc;
40731  PyObject *argv[3];
40732  int ii;
40733 
40734  if (!PyTuple_Check(args)) SWIG_fail;
40735  argc = args ? (int)PyObject_Length(args) : 0;
40736  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
40737  argv[ii] = PyTuple_GET_ITEM(args,ii);
40738  }
40739  if (argc == 2) {
40740  int _v;
40741  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
40742  _v = SWIG_CheckState(res);
40743  if (_v) {
40744  {
40745  _v = PySlice_Check(argv[1]);
40746  }
40747  if (_v) {
40748  return _wrap_vector_MaterialTypePtr___getitem____SWIG_0(self, args);
40749  }
40750  }
40751  }
40752  if (argc == 2) {
40753  int _v;
40754  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
40755  _v = SWIG_CheckState(res);
40756  if (_v) {
40757  {
40758  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
40759  _v = SWIG_CheckState(res);
40760  }
40761  if (_v) {
40762  return _wrap_vector_MaterialTypePtr___getitem____SWIG_1(self, args);
40763  }
40764  }
40765  }
40766 
40767 fail:
40768  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_MaterialTypePtr___getitem__'.\n"
40769  " Possible C/C++ prototypes are:\n"
40770  " std::vector< MaterialType * >::__getitem__(PySliceObject *)\n"
40771  " std::vector< MaterialType * >::__getitem__(std::vector< MaterialType * >::difference_type)\n");
40772  return 0;
40773 }
40774 
40775 
40776 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40777  PyObject *resultobj = 0;
40778  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40779  std::vector< MaterialType * >::difference_type arg2 ;
40780  std::vector< MaterialType * >::value_type arg3 = (std::vector< MaterialType * >::value_type) 0 ;
40781  void *argp1 = 0 ;
40782  int res1 = 0 ;
40783  ptrdiff_t val2 ;
40784  int ecode2 = 0 ;
40785  void *argp3 = 0 ;
40786  int res3 = 0 ;
40787  PyObject * obj0 = 0 ;
40788  PyObject * obj1 = 0 ;
40789  PyObject * obj2 = 0 ;
40790 
40791  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_MaterialTypePtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
40792  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40793  if (!SWIG_IsOK(res1)) {
40794  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr___setitem__" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
40795  }
40796  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40797  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
40798  if (!SWIG_IsOK(ecode2)) {
40799  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_MaterialTypePtr___setitem__" "', argument " "2"" of type '" "std::vector< MaterialType * >::difference_type""'");
40800  }
40801  arg2 = static_cast< std::vector< MaterialType * >::difference_type >(val2);
40802  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_MaterialType, 0 | 0 );
40803  if (!SWIG_IsOK(res3)) {
40804  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_MaterialTypePtr___setitem__" "', argument " "3"" of type '" "std::vector< MaterialType * >::value_type""'");
40805  }
40806  arg3 = reinterpret_cast< std::vector< MaterialType * >::value_type >(argp3);
40807  try {
40808  std_vector_Sl_MaterialType_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
40809  }
40810  catch(std::out_of_range &_e) {
40811  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
40812  }
40813 
40814  resultobj = SWIG_Py_Void();
40815  return resultobj;
40816 fail:
40817  return NULL;
40818 }
40819 
40820 
40821 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr___setitem__(PyObject *self, PyObject *args) {
40822  int argc;
40823  PyObject *argv[4];
40824  int ii;
40825 
40826  if (!PyTuple_Check(args)) SWIG_fail;
40827  argc = args ? (int)PyObject_Length(args) : 0;
40828  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
40829  argv[ii] = PyTuple_GET_ITEM(args,ii);
40830  }
40831  if (argc == 2) {
40832  int _v;
40833  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
40834  _v = SWIG_CheckState(res);
40835  if (_v) {
40836  {
40837  _v = PySlice_Check(argv[1]);
40838  }
40839  if (_v) {
40840  return _wrap_vector_MaterialTypePtr___setitem____SWIG_1(self, args);
40841  }
40842  }
40843  }
40844  if (argc == 3) {
40845  int _v;
40846  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
40847  _v = SWIG_CheckState(res);
40848  if (_v) {
40849  {
40850  _v = PySlice_Check(argv[1]);
40851  }
40852  if (_v) {
40853  int res = swig::asptr(argv[2], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
40854  _v = SWIG_CheckState(res);
40855  if (_v) {
40856  return _wrap_vector_MaterialTypePtr___setitem____SWIG_0(self, args);
40857  }
40858  }
40859  }
40860  }
40861  if (argc == 3) {
40862  int _v;
40863  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
40864  _v = SWIG_CheckState(res);
40865  if (_v) {
40866  {
40867  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
40868  _v = SWIG_CheckState(res);
40869  }
40870  if (_v) {
40871  void *vptr = 0;
40872  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_MaterialType, 0);
40873  _v = SWIG_CheckState(res);
40874  if (_v) {
40875  return _wrap_vector_MaterialTypePtr___setitem____SWIG_2(self, args);
40876  }
40877  }
40878  }
40879  }
40880 
40881 fail:
40882  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_MaterialTypePtr___setitem__'.\n"
40883  " Possible C/C++ prototypes are:\n"
40884  " std::vector< MaterialType * >::__setitem__(PySliceObject *,std::vector< MaterialType *,std::allocator< MaterialType * > > const &)\n"
40885  " std::vector< MaterialType * >::__setitem__(PySliceObject *)\n"
40886  " std::vector< MaterialType * >::__setitem__(std::vector< MaterialType * >::difference_type,std::vector< MaterialType * >::value_type)\n");
40887  return 0;
40888 }
40889 
40890 
40891 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40892  PyObject *resultobj = 0;
40893  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40894  std::vector< MaterialType * >::value_type arg2 = (std::vector< MaterialType * >::value_type) 0 ;
40895  void *argp1 = 0 ;
40896  int res1 = 0 ;
40897  void *argp2 = 0 ;
40898  int res2 = 0 ;
40899  PyObject * obj0 = 0 ;
40900  PyObject * obj1 = 0 ;
40901 
40902  if (!PyArg_ParseTuple(args,(char *)"OO:vector_MaterialTypePtr_append",&obj0,&obj1)) SWIG_fail;
40903  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40904  if (!SWIG_IsOK(res1)) {
40905  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_append" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
40906  }
40907  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40908  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_MaterialType, 0 | 0 );
40909  if (!SWIG_IsOK(res2)) {
40910  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_MaterialTypePtr_append" "', argument " "2"" of type '" "std::vector< MaterialType * >::value_type""'");
40911  }
40912  arg2 = reinterpret_cast< std::vector< MaterialType * >::value_type >(argp2);
40913  std_vector_Sl_MaterialType_Sm__Sg__append(arg1,arg2);
40914  resultobj = SWIG_Py_Void();
40915  return resultobj;
40916 fail:
40917  return NULL;
40918 }
40919 
40920 
40921 SWIGINTERN PyObject *_wrap_new_vector_MaterialTypePtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40922  PyObject *resultobj = 0;
40923  std::vector< MaterialType * > *result = 0 ;
40924 
40925  if (!PyArg_ParseTuple(args,(char *)":new_vector_MaterialTypePtr")) SWIG_fail;
40926  result = (std::vector< MaterialType * > *)new std::vector< MaterialType * >();
40927  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, SWIG_POINTER_NEW | 0 );
40928  return resultobj;
40929 fail:
40930  return NULL;
40931 }
40932 
40933 
40934 SWIGINTERN PyObject *_wrap_new_vector_MaterialTypePtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40935  PyObject *resultobj = 0;
40936  std::vector< MaterialType * > *arg1 = 0 ;
40937  int res1 = SWIG_OLDOBJ ;
40938  PyObject * obj0 = 0 ;
40939  std::vector< MaterialType * > *result = 0 ;
40940 
40941  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_MaterialTypePtr",&obj0)) SWIG_fail;
40942  {
40943  std::vector<MaterialType*,std::allocator< MaterialType * > > *ptr = (std::vector<MaterialType*,std::allocator< MaterialType * > > *)0;
40944  res1 = swig::asptr(obj0, &ptr);
40945  if (!SWIG_IsOK(res1)) {
40946  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_MaterialTypePtr" "', argument " "1"" of type '" "std::vector< MaterialType * > const &""'");
40947  }
40948  if (!ptr) {
40949  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_MaterialTypePtr" "', argument " "1"" of type '" "std::vector< MaterialType * > const &""'");
40950  }
40951  arg1 = ptr;
40952  }
40953  result = (std::vector< MaterialType * > *)new std::vector< MaterialType * >((std::vector< MaterialType * > const &)*arg1);
40954  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, SWIG_POINTER_NEW | 0 );
40955  if (SWIG_IsNewObj(res1)) delete arg1;
40956  return resultobj;
40957 fail:
40958  if (SWIG_IsNewObj(res1)) delete arg1;
40959  return NULL;
40960 }
40961 
40962 
40963 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40964  PyObject *resultobj = 0;
40965  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40966  void *argp1 = 0 ;
40967  int res1 = 0 ;
40968  PyObject * obj0 = 0 ;
40969  bool result;
40970 
40971  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr_empty",&obj0)) SWIG_fail;
40972  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40973  if (!SWIG_IsOK(res1)) {
40974  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_empty" "', argument " "1"" of type '" "std::vector< MaterialType * > const *""'");
40975  }
40976  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40977  result = (bool)((std::vector< MaterialType * > const *)arg1)->empty();
40978  resultobj = SWIG_From_bool(static_cast< bool >(result));
40979  return resultobj;
40980 fail:
40981  return NULL;
40982 }
40983 
40984 
40985 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40986  PyObject *resultobj = 0;
40987  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
40988  void *argp1 = 0 ;
40989  int res1 = 0 ;
40990  PyObject * obj0 = 0 ;
40991  std::vector< MaterialType * >::size_type result;
40992 
40993  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr_size",&obj0)) SWIG_fail;
40994  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
40995  if (!SWIG_IsOK(res1)) {
40996  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_size" "', argument " "1"" of type '" "std::vector< MaterialType * > const *""'");
40997  }
40998  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
40999  result = ((std::vector< MaterialType * > const *)arg1)->size();
41000  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
41001  return resultobj;
41002 fail:
41003  return NULL;
41004 }
41005 
41006 
41007 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41008  PyObject *resultobj = 0;
41009  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41010  void *argp1 = 0 ;
41011  int res1 = 0 ;
41012  PyObject * obj0 = 0 ;
41013 
41014  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr_clear",&obj0)) SWIG_fail;
41015  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41016  if (!SWIG_IsOK(res1)) {
41017  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_clear" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41018  }
41019  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41020  (arg1)->clear();
41021  resultobj = SWIG_Py_Void();
41022  return resultobj;
41023 fail:
41024  return NULL;
41025 }
41026 
41027 
41028 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41029  PyObject *resultobj = 0;
41030  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41031  std::vector< MaterialType * > *arg2 = 0 ;
41032  void *argp1 = 0 ;
41033  int res1 = 0 ;
41034  void *argp2 = 0 ;
41035  int res2 = 0 ;
41036  PyObject * obj0 = 0 ;
41037  PyObject * obj1 = 0 ;
41038 
41039  if (!PyArg_ParseTuple(args,(char *)"OO:vector_MaterialTypePtr_swap",&obj0,&obj1)) SWIG_fail;
41040  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41041  if (!SWIG_IsOK(res1)) {
41042  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_swap" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41043  }
41044  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41045  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 );
41046  if (!SWIG_IsOK(res2)) {
41047  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_MaterialTypePtr_swap" "', argument " "2"" of type '" "std::vector< MaterialType * > &""'");
41048  }
41049  if (!argp2) {
41050  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_MaterialTypePtr_swap" "', argument " "2"" of type '" "std::vector< MaterialType * > &""'");
41051  }
41052  arg2 = reinterpret_cast< std::vector< MaterialType * > * >(argp2);
41053  (arg1)->swap(*arg2);
41054  resultobj = SWIG_Py_Void();
41055  return resultobj;
41056 fail:
41057  return NULL;
41058 }
41059 
41060 
41061 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41062  PyObject *resultobj = 0;
41063  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41064  void *argp1 = 0 ;
41065  int res1 = 0 ;
41066  PyObject * obj0 = 0 ;
41067  SwigValueWrapper< std::allocator< MaterialType * > > result;
41068 
41069  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr_get_allocator",&obj0)) SWIG_fail;
41070  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41071  if (!SWIG_IsOK(res1)) {
41072  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_get_allocator" "', argument " "1"" of type '" "std::vector< MaterialType * > const *""'");
41073  }
41074  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41075  result = ((std::vector< MaterialType * > const *)arg1)->get_allocator();
41076  resultobj = SWIG_NewPointerObj((new std::vector< MaterialType * >::allocator_type(static_cast< const std::vector< MaterialType * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_MaterialType_p_t, SWIG_POINTER_OWN | 0 );
41077  return resultobj;
41078 fail:
41079  return NULL;
41080 }
41081 
41082 
41083 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41084  PyObject *resultobj = 0;
41085  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41086  void *argp1 = 0 ;
41087  int res1 = 0 ;
41088  PyObject * obj0 = 0 ;
41089  std::vector< MaterialType * >::iterator result;
41090 
41091  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr_begin",&obj0)) SWIG_fail;
41092  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41093  if (!SWIG_IsOK(res1)) {
41094  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_begin" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41095  }
41096  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41097  result = (arg1)->begin();
41098  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< MaterialType * >::iterator & >(result)),
41099  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
41100  return resultobj;
41101 fail:
41102  return NULL;
41103 }
41104 
41105 
41106 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41107  PyObject *resultobj = 0;
41108  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41109  void *argp1 = 0 ;
41110  int res1 = 0 ;
41111  PyObject * obj0 = 0 ;
41112  std::vector< MaterialType * >::iterator result;
41113 
41114  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr_end",&obj0)) SWIG_fail;
41115  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41116  if (!SWIG_IsOK(res1)) {
41117  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_end" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41118  }
41119  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41120  result = (arg1)->end();
41121  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< MaterialType * >::iterator & >(result)),
41122  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
41123  return resultobj;
41124 fail:
41125  return NULL;
41126 }
41127 
41128 
41129 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41130  PyObject *resultobj = 0;
41131  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41132  void *argp1 = 0 ;
41133  int res1 = 0 ;
41134  PyObject * obj0 = 0 ;
41135  std::vector< MaterialType * >::reverse_iterator result;
41136 
41137  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr_rbegin",&obj0)) SWIG_fail;
41138  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41139  if (!SWIG_IsOK(res1)) {
41140  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_rbegin" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41141  }
41142  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41143  result = (arg1)->rbegin();
41144  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< MaterialType * >::reverse_iterator & >(result)),
41145  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
41146  return resultobj;
41147 fail:
41148  return NULL;
41149 }
41150 
41151 
41152 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41153  PyObject *resultobj = 0;
41154  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41155  void *argp1 = 0 ;
41156  int res1 = 0 ;
41157  PyObject * obj0 = 0 ;
41158  std::vector< MaterialType * >::reverse_iterator result;
41159 
41160  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr_rend",&obj0)) SWIG_fail;
41161  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41162  if (!SWIG_IsOK(res1)) {
41163  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_rend" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41164  }
41165  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41166  result = (arg1)->rend();
41167  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< MaterialType * >::reverse_iterator & >(result)),
41168  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
41169  return resultobj;
41170 fail:
41171  return NULL;
41172 }
41173 
41174 
41175 SWIGINTERN PyObject *_wrap_new_vector_MaterialTypePtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41176  PyObject *resultobj = 0;
41177  std::vector< MaterialType * >::size_type arg1 ;
41178  size_t val1 ;
41179  int ecode1 = 0 ;
41180  PyObject * obj0 = 0 ;
41181  std::vector< MaterialType * > *result = 0 ;
41182 
41183  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_MaterialTypePtr",&obj0)) SWIG_fail;
41184  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
41185  if (!SWIG_IsOK(ecode1)) {
41186  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_MaterialTypePtr" "', argument " "1"" of type '" "std::vector< MaterialType * >::size_type""'");
41187  }
41188  arg1 = static_cast< std::vector< MaterialType * >::size_type >(val1);
41189  result = (std::vector< MaterialType * > *)new std::vector< MaterialType * >(arg1);
41190  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, SWIG_POINTER_NEW | 0 );
41191  return resultobj;
41192 fail:
41193  return NULL;
41194 }
41195 
41196 
41197 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41198  PyObject *resultobj = 0;
41199  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41200  void *argp1 = 0 ;
41201  int res1 = 0 ;
41202  PyObject * obj0 = 0 ;
41203 
41204  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr_pop_back",&obj0)) SWIG_fail;
41205  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41206  if (!SWIG_IsOK(res1)) {
41207  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_pop_back" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41208  }
41209  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41210  (arg1)->pop_back();
41211  resultobj = SWIG_Py_Void();
41212  return resultobj;
41213 fail:
41214  return NULL;
41215 }
41216 
41217 
41218 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41219  PyObject *resultobj = 0;
41220  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41221  std::vector< MaterialType * >::size_type arg2 ;
41222  void *argp1 = 0 ;
41223  int res1 = 0 ;
41224  size_t val2 ;
41225  int ecode2 = 0 ;
41226  PyObject * obj0 = 0 ;
41227  PyObject * obj1 = 0 ;
41228 
41229  if (!PyArg_ParseTuple(args,(char *)"OO:vector_MaterialTypePtr_resize",&obj0,&obj1)) SWIG_fail;
41230  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41231  if (!SWIG_IsOK(res1)) {
41232  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_resize" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41233  }
41234  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41235  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
41236  if (!SWIG_IsOK(ecode2)) {
41237  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_MaterialTypePtr_resize" "', argument " "2"" of type '" "std::vector< MaterialType * >::size_type""'");
41238  }
41239  arg2 = static_cast< std::vector< MaterialType * >::size_type >(val2);
41240  (arg1)->resize(arg2);
41241  resultobj = SWIG_Py_Void();
41242  return resultobj;
41243 fail:
41244  return NULL;
41245 }
41246 
41247 
41248 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41249  PyObject *resultobj = 0;
41250  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41251  std::vector< MaterialType * >::iterator arg2 ;
41252  void *argp1 = 0 ;
41253  int res1 = 0 ;
41254  swig::SwigPyIterator *iter2 = 0 ;
41255  int res2 ;
41256  PyObject * obj0 = 0 ;
41257  PyObject * obj1 = 0 ;
41258  std::vector< MaterialType * >::iterator result;
41259 
41260  if (!PyArg_ParseTuple(args,(char *)"OO:vector_MaterialTypePtr_erase",&obj0,&obj1)) SWIG_fail;
41261  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41262  if (!SWIG_IsOK(res1)) {
41263  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_erase" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41264  }
41265  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41266  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
41267  if (!SWIG_IsOK(res2) || !iter2) {
41268  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_MaterialTypePtr_erase" "', argument " "2"" of type '" "std::vector< MaterialType * >::iterator""'");
41269  } else {
41271  if (iter_t) {
41272  arg2 = iter_t->get_current();
41273  } else {
41274  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_MaterialTypePtr_erase" "', argument " "2"" of type '" "std::vector< MaterialType * >::iterator""'");
41275  }
41276  }
41277  result = std_vector_Sl_MaterialType_Sm__Sg__erase__SWIG_0(arg1,arg2);
41278  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< MaterialType * >::iterator & >(result)),
41279  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
41280  return resultobj;
41281 fail:
41282  return NULL;
41283 }
41284 
41285 
41286 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41287  PyObject *resultobj = 0;
41288  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41289  std::vector< MaterialType * >::iterator arg2 ;
41290  std::vector< MaterialType * >::iterator arg3 ;
41291  void *argp1 = 0 ;
41292  int res1 = 0 ;
41293  swig::SwigPyIterator *iter2 = 0 ;
41294  int res2 ;
41295  swig::SwigPyIterator *iter3 = 0 ;
41296  int res3 ;
41297  PyObject * obj0 = 0 ;
41298  PyObject * obj1 = 0 ;
41299  PyObject * obj2 = 0 ;
41300  std::vector< MaterialType * >::iterator result;
41301 
41302  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_MaterialTypePtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
41303  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41304  if (!SWIG_IsOK(res1)) {
41305  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_erase" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41306  }
41307  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41308  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
41309  if (!SWIG_IsOK(res2) || !iter2) {
41310  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_MaterialTypePtr_erase" "', argument " "2"" of type '" "std::vector< MaterialType * >::iterator""'");
41311  } else {
41313  if (iter_t) {
41314  arg2 = iter_t->get_current();
41315  } else {
41316  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_MaterialTypePtr_erase" "', argument " "2"" of type '" "std::vector< MaterialType * >::iterator""'");
41317  }
41318  }
41319  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
41320  if (!SWIG_IsOK(res3) || !iter3) {
41321  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_MaterialTypePtr_erase" "', argument " "3"" of type '" "std::vector< MaterialType * >::iterator""'");
41322  } else {
41324  if (iter_t) {
41325  arg3 = iter_t->get_current();
41326  } else {
41327  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_MaterialTypePtr_erase" "', argument " "3"" of type '" "std::vector< MaterialType * >::iterator""'");
41328  }
41329  }
41330  result = std_vector_Sl_MaterialType_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
41331  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< MaterialType * >::iterator & >(result)),
41332  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
41333  return resultobj;
41334 fail:
41335  return NULL;
41336 }
41337 
41338 
41339 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_erase(PyObject *self, PyObject *args) {
41340  int argc;
41341  PyObject *argv[4];
41342  int ii;
41343 
41344  if (!PyTuple_Check(args)) SWIG_fail;
41345  argc = args ? (int)PyObject_Length(args) : 0;
41346  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
41347  argv[ii] = PyTuple_GET_ITEM(args,ii);
41348  }
41349  if (argc == 2) {
41350  int _v;
41351  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
41352  _v = SWIG_CheckState(res);
41353  if (_v) {
41354  swig::SwigPyIterator *iter = 0;
41355  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
41356  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< MaterialType * >::iterator > *>(iter) != 0));
41357  if (_v) {
41358  return _wrap_vector_MaterialTypePtr_erase__SWIG_0(self, args);
41359  }
41360  }
41361  }
41362  if (argc == 3) {
41363  int _v;
41364  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
41365  _v = SWIG_CheckState(res);
41366  if (_v) {
41367  swig::SwigPyIterator *iter = 0;
41368  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
41369  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< MaterialType * >::iterator > *>(iter) != 0));
41370  if (_v) {
41371  swig::SwigPyIterator *iter = 0;
41372  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
41373  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< MaterialType * >::iterator > *>(iter) != 0));
41374  if (_v) {
41375  return _wrap_vector_MaterialTypePtr_erase__SWIG_1(self, args);
41376  }
41377  }
41378  }
41379  }
41380 
41381 fail:
41382  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_MaterialTypePtr_erase'.\n"
41383  " Possible C/C++ prototypes are:\n"
41384  " std::vector< MaterialType * >::erase(std::vector< MaterialType * >::iterator)\n"
41385  " std::vector< MaterialType * >::erase(std::vector< MaterialType * >::iterator,std::vector< MaterialType * >::iterator)\n");
41386  return 0;
41387 }
41388 
41389 
41390 SWIGINTERN PyObject *_wrap_new_vector_MaterialTypePtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41391  PyObject *resultobj = 0;
41392  std::vector< MaterialType * >::size_type arg1 ;
41393  std::vector< MaterialType * >::value_type arg2 = (std::vector< MaterialType * >::value_type) 0 ;
41394  size_t val1 ;
41395  int ecode1 = 0 ;
41396  void *argp2 = 0 ;
41397  int res2 = 0 ;
41398  PyObject * obj0 = 0 ;
41399  PyObject * obj1 = 0 ;
41400  std::vector< MaterialType * > *result = 0 ;
41401 
41402  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_MaterialTypePtr",&obj0,&obj1)) SWIG_fail;
41403  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
41404  if (!SWIG_IsOK(ecode1)) {
41405  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_MaterialTypePtr" "', argument " "1"" of type '" "std::vector< MaterialType * >::size_type""'");
41406  }
41407  arg1 = static_cast< std::vector< MaterialType * >::size_type >(val1);
41408  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_MaterialType, 0 | 0 );
41409  if (!SWIG_IsOK(res2)) {
41410  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_MaterialTypePtr" "', argument " "2"" of type '" "std::vector< MaterialType * >::value_type""'");
41411  }
41412  arg2 = reinterpret_cast< std::vector< MaterialType * >::value_type >(argp2);
41413  result = (std::vector< MaterialType * > *)new std::vector< MaterialType * >(arg1,arg2);
41414  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, SWIG_POINTER_NEW | 0 );
41415  return resultobj;
41416 fail:
41417  return NULL;
41418 }
41419 
41420 
41421 SWIGINTERN PyObject *_wrap_new_vector_MaterialTypePtr(PyObject *self, PyObject *args) {
41422  int argc;
41423  PyObject *argv[3];
41424  int ii;
41425 
41426  if (!PyTuple_Check(args)) SWIG_fail;
41427  argc = args ? (int)PyObject_Length(args) : 0;
41428  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
41429  argv[ii] = PyTuple_GET_ITEM(args,ii);
41430  }
41431  if (argc == 0) {
41432  return _wrap_new_vector_MaterialTypePtr__SWIG_0(self, args);
41433  }
41434  if (argc == 1) {
41435  int _v;
41436  {
41437  int res = SWIG_AsVal_size_t(argv[0], NULL);
41438  _v = SWIG_CheckState(res);
41439  }
41440  if (_v) {
41441  return _wrap_new_vector_MaterialTypePtr__SWIG_2(self, args);
41442  }
41443  }
41444  if (argc == 1) {
41445  int _v;
41446  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
41447  _v = SWIG_CheckState(res);
41448  if (_v) {
41449  return _wrap_new_vector_MaterialTypePtr__SWIG_1(self, args);
41450  }
41451  }
41452  if (argc == 2) {
41453  int _v;
41454  {
41455  int res = SWIG_AsVal_size_t(argv[0], NULL);
41456  _v = SWIG_CheckState(res);
41457  }
41458  if (_v) {
41459  void *vptr = 0;
41460  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_MaterialType, 0);
41461  _v = SWIG_CheckState(res);
41462  if (_v) {
41463  return _wrap_new_vector_MaterialTypePtr__SWIG_3(self, args);
41464  }
41465  }
41466  }
41467 
41468 fail:
41469  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_MaterialTypePtr'.\n"
41470  " Possible C/C++ prototypes are:\n"
41471  " std::vector< MaterialType * >::vector()\n"
41472  " std::vector< MaterialType * >::vector(std::vector< MaterialType * > const &)\n"
41473  " std::vector< MaterialType * >::vector(std::vector< MaterialType * >::size_type)\n"
41474  " std::vector< MaterialType * >::vector(std::vector< MaterialType * >::size_type,std::vector< MaterialType * >::value_type)\n");
41475  return 0;
41476 }
41477 
41478 
41479 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41480  PyObject *resultobj = 0;
41481  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41482  std::vector< MaterialType * >::value_type arg2 = (std::vector< MaterialType * >::value_type) 0 ;
41483  void *argp1 = 0 ;
41484  int res1 = 0 ;
41485  void *argp2 = 0 ;
41486  int res2 = 0 ;
41487  PyObject * obj0 = 0 ;
41488  PyObject * obj1 = 0 ;
41489 
41490  if (!PyArg_ParseTuple(args,(char *)"OO:vector_MaterialTypePtr_push_back",&obj0,&obj1)) SWIG_fail;
41491  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41492  if (!SWIG_IsOK(res1)) {
41493  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_push_back" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41494  }
41495  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41496  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_MaterialType, 0 | 0 );
41497  if (!SWIG_IsOK(res2)) {
41498  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_MaterialTypePtr_push_back" "', argument " "2"" of type '" "std::vector< MaterialType * >::value_type""'");
41499  }
41500  arg2 = reinterpret_cast< std::vector< MaterialType * >::value_type >(argp2);
41501  (arg1)->push_back(arg2);
41502  resultobj = SWIG_Py_Void();
41503  return resultobj;
41504 fail:
41505  return NULL;
41506 }
41507 
41508 
41509 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41510  PyObject *resultobj = 0;
41511  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41512  void *argp1 = 0 ;
41513  int res1 = 0 ;
41514  PyObject * obj0 = 0 ;
41515  std::vector< MaterialType * >::value_type result;
41516 
41517  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr_front",&obj0)) SWIG_fail;
41518  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41519  if (!SWIG_IsOK(res1)) {
41520  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_front" "', argument " "1"" of type '" "std::vector< MaterialType * > const *""'");
41521  }
41522  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41523  result = (std::vector< MaterialType * >::value_type)((std::vector< MaterialType * > const *)arg1)->front();
41524  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MaterialType, 0 | 0 );
41525  return resultobj;
41526 fail:
41527  return NULL;
41528 }
41529 
41530 
41531 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41532  PyObject *resultobj = 0;
41533  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41534  void *argp1 = 0 ;
41535  int res1 = 0 ;
41536  PyObject * obj0 = 0 ;
41537  std::vector< MaterialType * >::value_type result;
41538 
41539  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr_back",&obj0)) SWIG_fail;
41540  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41541  if (!SWIG_IsOK(res1)) {
41542  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_back" "', argument " "1"" of type '" "std::vector< MaterialType * > const *""'");
41543  }
41544  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41545  result = (std::vector< MaterialType * >::value_type)((std::vector< MaterialType * > const *)arg1)->back();
41546  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MaterialType, 0 | 0 );
41547  return resultobj;
41548 fail:
41549  return NULL;
41550 }
41551 
41552 
41553 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41554  PyObject *resultobj = 0;
41555  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41556  std::vector< MaterialType * >::size_type arg2 ;
41557  std::vector< MaterialType * >::value_type arg3 = (std::vector< MaterialType * >::value_type) 0 ;
41558  void *argp1 = 0 ;
41559  int res1 = 0 ;
41560  size_t val2 ;
41561  int ecode2 = 0 ;
41562  void *argp3 = 0 ;
41563  int res3 = 0 ;
41564  PyObject * obj0 = 0 ;
41565  PyObject * obj1 = 0 ;
41566  PyObject * obj2 = 0 ;
41567 
41568  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_MaterialTypePtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
41569  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41570  if (!SWIG_IsOK(res1)) {
41571  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_assign" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41572  }
41573  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41574  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
41575  if (!SWIG_IsOK(ecode2)) {
41576  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_MaterialTypePtr_assign" "', argument " "2"" of type '" "std::vector< MaterialType * >::size_type""'");
41577  }
41578  arg2 = static_cast< std::vector< MaterialType * >::size_type >(val2);
41579  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_MaterialType, 0 | 0 );
41580  if (!SWIG_IsOK(res3)) {
41581  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_MaterialTypePtr_assign" "', argument " "3"" of type '" "std::vector< MaterialType * >::value_type""'");
41582  }
41583  arg3 = reinterpret_cast< std::vector< MaterialType * >::value_type >(argp3);
41584  (arg1)->assign(arg2,arg3);
41585  resultobj = SWIG_Py_Void();
41586  return resultobj;
41587 fail:
41588  return NULL;
41589 }
41590 
41591 
41592 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41593  PyObject *resultobj = 0;
41594  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41595  std::vector< MaterialType * >::size_type arg2 ;
41596  std::vector< MaterialType * >::value_type arg3 = (std::vector< MaterialType * >::value_type) 0 ;
41597  void *argp1 = 0 ;
41598  int res1 = 0 ;
41599  size_t val2 ;
41600  int ecode2 = 0 ;
41601  void *argp3 = 0 ;
41602  int res3 = 0 ;
41603  PyObject * obj0 = 0 ;
41604  PyObject * obj1 = 0 ;
41605  PyObject * obj2 = 0 ;
41606 
41607  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_MaterialTypePtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
41608  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41609  if (!SWIG_IsOK(res1)) {
41610  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_resize" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41611  }
41612  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41613  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
41614  if (!SWIG_IsOK(ecode2)) {
41615  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_MaterialTypePtr_resize" "', argument " "2"" of type '" "std::vector< MaterialType * >::size_type""'");
41616  }
41617  arg2 = static_cast< std::vector< MaterialType * >::size_type >(val2);
41618  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_MaterialType, 0 | 0 );
41619  if (!SWIG_IsOK(res3)) {
41620  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_MaterialTypePtr_resize" "', argument " "3"" of type '" "std::vector< MaterialType * >::value_type""'");
41621  }
41622  arg3 = reinterpret_cast< std::vector< MaterialType * >::value_type >(argp3);
41623  (arg1)->resize(arg2,arg3);
41624  resultobj = SWIG_Py_Void();
41625  return resultobj;
41626 fail:
41627  return NULL;
41628 }
41629 
41630 
41631 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_resize(PyObject *self, PyObject *args) {
41632  int argc;
41633  PyObject *argv[4];
41634  int ii;
41635 
41636  if (!PyTuple_Check(args)) SWIG_fail;
41637  argc = args ? (int)PyObject_Length(args) : 0;
41638  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
41639  argv[ii] = PyTuple_GET_ITEM(args,ii);
41640  }
41641  if (argc == 2) {
41642  int _v;
41643  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
41644  _v = SWIG_CheckState(res);
41645  if (_v) {
41646  {
41647  int res = SWIG_AsVal_size_t(argv[1], NULL);
41648  _v = SWIG_CheckState(res);
41649  }
41650  if (_v) {
41651  return _wrap_vector_MaterialTypePtr_resize__SWIG_0(self, args);
41652  }
41653  }
41654  }
41655  if (argc == 3) {
41656  int _v;
41657  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
41658  _v = SWIG_CheckState(res);
41659  if (_v) {
41660  {
41661  int res = SWIG_AsVal_size_t(argv[1], NULL);
41662  _v = SWIG_CheckState(res);
41663  }
41664  if (_v) {
41665  void *vptr = 0;
41666  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_MaterialType, 0);
41667  _v = SWIG_CheckState(res);
41668  if (_v) {
41669  return _wrap_vector_MaterialTypePtr_resize__SWIG_1(self, args);
41670  }
41671  }
41672  }
41673  }
41674 
41675 fail:
41676  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_MaterialTypePtr_resize'.\n"
41677  " Possible C/C++ prototypes are:\n"
41678  " std::vector< MaterialType * >::resize(std::vector< MaterialType * >::size_type)\n"
41679  " std::vector< MaterialType * >::resize(std::vector< MaterialType * >::size_type,std::vector< MaterialType * >::value_type)\n");
41680  return 0;
41681 }
41682 
41683 
41684 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41685  PyObject *resultobj = 0;
41686  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41687  std::vector< MaterialType * >::iterator arg2 ;
41688  std::vector< MaterialType * >::value_type arg3 = (std::vector< MaterialType * >::value_type) 0 ;
41689  void *argp1 = 0 ;
41690  int res1 = 0 ;
41691  swig::SwigPyIterator *iter2 = 0 ;
41692  int res2 ;
41693  void *argp3 = 0 ;
41694  int res3 = 0 ;
41695  PyObject * obj0 = 0 ;
41696  PyObject * obj1 = 0 ;
41697  PyObject * obj2 = 0 ;
41698  std::vector< MaterialType * >::iterator result;
41699 
41700  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_MaterialTypePtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
41701  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41702  if (!SWIG_IsOK(res1)) {
41703  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_insert" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41704  }
41705  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41706  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
41707  if (!SWIG_IsOK(res2) || !iter2) {
41708  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_MaterialTypePtr_insert" "', argument " "2"" of type '" "std::vector< MaterialType * >::iterator""'");
41709  } else {
41711  if (iter_t) {
41712  arg2 = iter_t->get_current();
41713  } else {
41714  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_MaterialTypePtr_insert" "', argument " "2"" of type '" "std::vector< MaterialType * >::iterator""'");
41715  }
41716  }
41717  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_MaterialType, 0 | 0 );
41718  if (!SWIG_IsOK(res3)) {
41719  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_MaterialTypePtr_insert" "', argument " "3"" of type '" "std::vector< MaterialType * >::value_type""'");
41720  }
41721  arg3 = reinterpret_cast< std::vector< MaterialType * >::value_type >(argp3);
41722  result = std_vector_Sl_MaterialType_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
41723  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< MaterialType * >::iterator & >(result)),
41724  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
41725  return resultobj;
41726 fail:
41727  return NULL;
41728 }
41729 
41730 
41731 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41732  PyObject *resultobj = 0;
41733  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41734  std::vector< MaterialType * >::iterator arg2 ;
41735  std::vector< MaterialType * >::size_type arg3 ;
41736  std::vector< MaterialType * >::value_type arg4 = (std::vector< MaterialType * >::value_type) 0 ;
41737  void *argp1 = 0 ;
41738  int res1 = 0 ;
41739  swig::SwigPyIterator *iter2 = 0 ;
41740  int res2 ;
41741  size_t val3 ;
41742  int ecode3 = 0 ;
41743  void *argp4 = 0 ;
41744  int res4 = 0 ;
41745  PyObject * obj0 = 0 ;
41746  PyObject * obj1 = 0 ;
41747  PyObject * obj2 = 0 ;
41748  PyObject * obj3 = 0 ;
41749 
41750  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_MaterialTypePtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
41751  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41752  if (!SWIG_IsOK(res1)) {
41753  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_insert" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41754  }
41755  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41756  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
41757  if (!SWIG_IsOK(res2) || !iter2) {
41758  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_MaterialTypePtr_insert" "', argument " "2"" of type '" "std::vector< MaterialType * >::iterator""'");
41759  } else {
41761  if (iter_t) {
41762  arg2 = iter_t->get_current();
41763  } else {
41764  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_MaterialTypePtr_insert" "', argument " "2"" of type '" "std::vector< MaterialType * >::iterator""'");
41765  }
41766  }
41767  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
41768  if (!SWIG_IsOK(ecode3)) {
41769  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_MaterialTypePtr_insert" "', argument " "3"" of type '" "std::vector< MaterialType * >::size_type""'");
41770  }
41771  arg3 = static_cast< std::vector< MaterialType * >::size_type >(val3);
41772  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_MaterialType, 0 | 0 );
41773  if (!SWIG_IsOK(res4)) {
41774  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_MaterialTypePtr_insert" "', argument " "4"" of type '" "std::vector< MaterialType * >::value_type""'");
41775  }
41776  arg4 = reinterpret_cast< std::vector< MaterialType * >::value_type >(argp4);
41777  std_vector_Sl_MaterialType_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
41778  resultobj = SWIG_Py_Void();
41779  return resultobj;
41780 fail:
41781  return NULL;
41782 }
41783 
41784 
41785 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_insert(PyObject *self, PyObject *args) {
41786  int argc;
41787  PyObject *argv[5];
41788  int ii;
41789 
41790  if (!PyTuple_Check(args)) SWIG_fail;
41791  argc = args ? (int)PyObject_Length(args) : 0;
41792  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
41793  argv[ii] = PyTuple_GET_ITEM(args,ii);
41794  }
41795  if (argc == 3) {
41796  int _v;
41797  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
41798  _v = SWIG_CheckState(res);
41799  if (_v) {
41800  swig::SwigPyIterator *iter = 0;
41801  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
41802  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< MaterialType * >::iterator > *>(iter) != 0));
41803  if (_v) {
41804  void *vptr = 0;
41805  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_MaterialType, 0);
41806  _v = SWIG_CheckState(res);
41807  if (_v) {
41808  return _wrap_vector_MaterialTypePtr_insert__SWIG_0(self, args);
41809  }
41810  }
41811  }
41812  }
41813  if (argc == 4) {
41814  int _v;
41815  int res = swig::asptr(argv[0], (std::vector<MaterialType*,std::allocator< MaterialType * > >**)(0));
41816  _v = SWIG_CheckState(res);
41817  if (_v) {
41818  swig::SwigPyIterator *iter = 0;
41819  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
41820  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< MaterialType * >::iterator > *>(iter) != 0));
41821  if (_v) {
41822  {
41823  int res = SWIG_AsVal_size_t(argv[2], NULL);
41824  _v = SWIG_CheckState(res);
41825  }
41826  if (_v) {
41827  void *vptr = 0;
41828  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_MaterialType, 0);
41829  _v = SWIG_CheckState(res);
41830  if (_v) {
41831  return _wrap_vector_MaterialTypePtr_insert__SWIG_1(self, args);
41832  }
41833  }
41834  }
41835  }
41836  }
41837 
41838 fail:
41839  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_MaterialTypePtr_insert'.\n"
41840  " Possible C/C++ prototypes are:\n"
41841  " std::vector< MaterialType * >::insert(std::vector< MaterialType * >::iterator,std::vector< MaterialType * >::value_type)\n"
41842  " std::vector< MaterialType * >::insert(std::vector< MaterialType * >::iterator,std::vector< MaterialType * >::size_type,std::vector< MaterialType * >::value_type)\n");
41843  return 0;
41844 }
41845 
41846 
41847 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41848  PyObject *resultobj = 0;
41849  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41850  std::vector< MaterialType * >::size_type arg2 ;
41851  void *argp1 = 0 ;
41852  int res1 = 0 ;
41853  size_t val2 ;
41854  int ecode2 = 0 ;
41855  PyObject * obj0 = 0 ;
41856  PyObject * obj1 = 0 ;
41857 
41858  if (!PyArg_ParseTuple(args,(char *)"OO:vector_MaterialTypePtr_reserve",&obj0,&obj1)) SWIG_fail;
41859  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41860  if (!SWIG_IsOK(res1)) {
41861  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_reserve" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41862  }
41863  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41864  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
41865  if (!SWIG_IsOK(ecode2)) {
41866  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_MaterialTypePtr_reserve" "', argument " "2"" of type '" "std::vector< MaterialType * >::size_type""'");
41867  }
41868  arg2 = static_cast< std::vector< MaterialType * >::size_type >(val2);
41869  (arg1)->reserve(arg2);
41870  resultobj = SWIG_Py_Void();
41871  return resultobj;
41872 fail:
41873  return NULL;
41874 }
41875 
41876 
41877 SWIGINTERN PyObject *_wrap_vector_MaterialTypePtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41878  PyObject *resultobj = 0;
41879  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41880  void *argp1 = 0 ;
41881  int res1 = 0 ;
41882  PyObject * obj0 = 0 ;
41883  std::vector< MaterialType * >::size_type result;
41884 
41885  if (!PyArg_ParseTuple(args,(char *)"O:vector_MaterialTypePtr_capacity",&obj0)) SWIG_fail;
41886  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0 | 0 );
41887  if (!SWIG_IsOK(res1)) {
41888  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_MaterialTypePtr_capacity" "', argument " "1"" of type '" "std::vector< MaterialType * > const *""'");
41889  }
41890  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41891  result = ((std::vector< MaterialType * > const *)arg1)->capacity();
41892  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
41893  return resultobj;
41894 fail:
41895  return NULL;
41896 }
41897 
41898 
41899 SWIGINTERN PyObject *_wrap_delete_vector_MaterialTypePtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41900  PyObject *resultobj = 0;
41901  std::vector< MaterialType * > *arg1 = (std::vector< MaterialType * > *) 0 ;
41902  void *argp1 = 0 ;
41903  int res1 = 0 ;
41904  PyObject * obj0 = 0 ;
41905 
41906  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_MaterialTypePtr",&obj0)) SWIG_fail;
41907  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, SWIG_POINTER_DISOWN | 0 );
41908  if (!SWIG_IsOK(res1)) {
41909  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_MaterialTypePtr" "', argument " "1"" of type '" "std::vector< MaterialType * > *""'");
41910  }
41911  arg1 = reinterpret_cast< std::vector< MaterialType * > * >(argp1);
41912  {
41913  try {
41914  delete arg1;
41915  }
41916  catch(CStdErrorInfo oError)
41917  {
41918  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
41919  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
41920  PyErr_SetString(PyExc_IndexError, strError.c_str());
41921  SWIG_fail;
41922  }
41923  catch(...)
41924  {
41925  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
41926  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
41927  SWIG_fail;
41928  }
41929  }
41930  resultobj = SWIG_Py_Void();
41931  return resultobj;
41932 fail:
41933  return NULL;
41934 }
41935 
41936 
41937 SWIGINTERN PyObject *vector_MaterialTypePtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41938  PyObject *obj;
41939  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
41940  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, SWIG_NewClientData(obj));
41941  return SWIG_Py_Void();
41942 }
41943 
41944 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41945  PyObject *resultobj = 0;
41946  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
41947  PyObject **arg2 = (PyObject **) 0 ;
41948  void *argp1 = 0 ;
41949  int res1 = 0 ;
41950  PyObject * obj0 = 0 ;
41951  swig::SwigPyIterator *result = 0 ;
41952 
41953  arg2 = &obj0;
41954  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr_iterator",&obj0)) SWIG_fail;
41955  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
41956  if (!SWIG_IsOK(res1)) {
41957  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_iterator" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
41958  }
41959  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
41960  result = (swig::SwigPyIterator *)std_vector_Sl_ModuleThreadProcessor_Sm__Sg__iterator(arg1,arg2);
41961  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
41962  return resultobj;
41963 fail:
41964  return NULL;
41965 }
41966 
41967 
41968 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41969  PyObject *resultobj = 0;
41970  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
41971  void *argp1 = 0 ;
41972  int res1 = 0 ;
41973  PyObject * obj0 = 0 ;
41974  bool result;
41975 
41976  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr___nonzero__",&obj0)) SWIG_fail;
41977  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
41978  if (!SWIG_IsOK(res1)) {
41979  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr___nonzero__" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > const *""'");
41980  }
41981  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
41982  result = (bool)std_vector_Sl_ModuleThreadProcessor_Sm__Sg____nonzero__((std::vector< ModuleThreadProcessor * > const *)arg1);
41983  resultobj = SWIG_From_bool(static_cast< bool >(result));
41984  return resultobj;
41985 fail:
41986  return NULL;
41987 }
41988 
41989 
41990 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41991  PyObject *resultobj = 0;
41992  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
41993  void *argp1 = 0 ;
41994  int res1 = 0 ;
41995  PyObject * obj0 = 0 ;
41996  bool result;
41997 
41998  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr___bool__",&obj0)) SWIG_fail;
41999  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42000  if (!SWIG_IsOK(res1)) {
42001  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr___bool__" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > const *""'");
42002  }
42003  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42004  result = (bool)std_vector_Sl_ModuleThreadProcessor_Sm__Sg____bool__((std::vector< ModuleThreadProcessor * > const *)arg1);
42005  resultobj = SWIG_From_bool(static_cast< bool >(result));
42006  return resultobj;
42007 fail:
42008  return NULL;
42009 }
42010 
42011 
42012 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42013  PyObject *resultobj = 0;
42014  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42015  void *argp1 = 0 ;
42016  int res1 = 0 ;
42017  PyObject * obj0 = 0 ;
42018  std::vector< ModuleThreadProcessor * >::size_type result;
42019 
42020  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr___len__",&obj0)) SWIG_fail;
42021  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42022  if (!SWIG_IsOK(res1)) {
42023  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr___len__" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > const *""'");
42024  }
42025  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42026  result = std_vector_Sl_ModuleThreadProcessor_Sm__Sg____len__((std::vector< ModuleThreadProcessor * > const *)arg1);
42027  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
42028  return resultobj;
42029 fail:
42030  return NULL;
42031 }
42032 
42033 
42034 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42035  PyObject *resultobj = 0;
42036  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42037  void *argp1 = 0 ;
42038  int res1 = 0 ;
42039  PyObject * obj0 = 0 ;
42040  std::vector< ModuleThreadProcessor * >::value_type result;
42041 
42042  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr_pop",&obj0)) SWIG_fail;
42043  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42044  if (!SWIG_IsOK(res1)) {
42045  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_pop" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42046  }
42047  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42048  try {
42049  result = (std::vector< ModuleThreadProcessor * >::value_type)std_vector_Sl_ModuleThreadProcessor_Sm__Sg__pop(arg1);
42050  }
42051  catch(std::out_of_range &_e) {
42052  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
42053  }
42054 
42055  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ModuleThreadProcessor, 0 | 0 );
42056  return resultobj;
42057 fail:
42058  return NULL;
42059 }
42060 
42061 
42062 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42063  PyObject *resultobj = 0;
42064  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42065  std::vector< ModuleThreadProcessor * >::difference_type arg2 ;
42066  std::vector< ModuleThreadProcessor * >::difference_type arg3 ;
42067  void *argp1 = 0 ;
42068  int res1 = 0 ;
42069  ptrdiff_t val2 ;
42070  int ecode2 = 0 ;
42071  ptrdiff_t val3 ;
42072  int ecode3 = 0 ;
42073  PyObject * obj0 = 0 ;
42074  PyObject * obj1 = 0 ;
42075  PyObject * obj2 = 0 ;
42076  std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > *result = 0 ;
42077 
42078  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ModuleThreadProcessorPtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
42079  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42080  if (!SWIG_IsOK(res1)) {
42081  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr___getslice__" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42082  }
42083  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42084  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
42085  if (!SWIG_IsOK(ecode2)) {
42086  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ModuleThreadProcessorPtr___getslice__" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::difference_type""'");
42087  }
42088  arg2 = static_cast< std::vector< ModuleThreadProcessor * >::difference_type >(val2);
42089  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
42090  if (!SWIG_IsOK(ecode3)) {
42091  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ModuleThreadProcessorPtr___getslice__" "', argument " "3"" of type '" "std::vector< ModuleThreadProcessor * >::difference_type""'");
42092  }
42093  arg3 = static_cast< std::vector< ModuleThreadProcessor * >::difference_type >(val3);
42094  try {
42095  result = (std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > *)std_vector_Sl_ModuleThreadProcessor_Sm__Sg____getslice__(arg1,arg2,arg3);
42096  }
42097  catch(std::out_of_range &_e) {
42098  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
42099  }
42100  catch(std::invalid_argument &_e) {
42101  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
42102  }
42103 
42104  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, SWIG_POINTER_OWN | 0 );
42105  return resultobj;
42106 fail:
42107  return NULL;
42108 }
42109 
42110 
42111 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42112  PyObject *resultobj = 0;
42113  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42114  std::vector< ModuleThreadProcessor * >::difference_type arg2 ;
42115  std::vector< ModuleThreadProcessor * >::difference_type arg3 ;
42116  std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > *arg4 = 0 ;
42117  void *argp1 = 0 ;
42118  int res1 = 0 ;
42119  ptrdiff_t val2 ;
42120  int ecode2 = 0 ;
42121  ptrdiff_t val3 ;
42122  int ecode3 = 0 ;
42123  int res4 = SWIG_OLDOBJ ;
42124  PyObject * obj0 = 0 ;
42125  PyObject * obj1 = 0 ;
42126  PyObject * obj2 = 0 ;
42127  PyObject * obj3 = 0 ;
42128 
42129  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_ModuleThreadProcessorPtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
42130  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42131  if (!SWIG_IsOK(res1)) {
42132  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr___setslice__" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42133  }
42134  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42135  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
42136  if (!SWIG_IsOK(ecode2)) {
42137  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ModuleThreadProcessorPtr___setslice__" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::difference_type""'");
42138  }
42139  arg2 = static_cast< std::vector< ModuleThreadProcessor * >::difference_type >(val2);
42140  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
42141  if (!SWIG_IsOK(ecode3)) {
42142  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ModuleThreadProcessorPtr___setslice__" "', argument " "3"" of type '" "std::vector< ModuleThreadProcessor * >::difference_type""'");
42143  }
42144  arg3 = static_cast< std::vector< ModuleThreadProcessor * >::difference_type >(val3);
42145  {
42146  std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > > *ptr = (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > > *)0;
42147  res4 = swig::asptr(obj3, &ptr);
42148  if (!SWIG_IsOK(res4)) {
42149  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_ModuleThreadProcessorPtr___setslice__" "', argument " "4"" of type '" "std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > const &""'");
42150  }
42151  if (!ptr) {
42152  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_ModuleThreadProcessorPtr___setslice__" "', argument " "4"" of type '" "std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > const &""'");
42153  }
42154  arg4 = ptr;
42155  }
42156  try {
42157  std_vector_Sl_ModuleThreadProcessor_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > const &)*arg4);
42158  }
42159  catch(std::out_of_range &_e) {
42160  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
42161  }
42162  catch(std::invalid_argument &_e) {
42163  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
42164  }
42165 
42166  resultobj = SWIG_Py_Void();
42167  if (SWIG_IsNewObj(res4)) delete arg4;
42168  return resultobj;
42169 fail:
42170  if (SWIG_IsNewObj(res4)) delete arg4;
42171  return NULL;
42172 }
42173 
42174 
42175 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42176  PyObject *resultobj = 0;
42177  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42178  std::vector< ModuleThreadProcessor * >::difference_type arg2 ;
42179  std::vector< ModuleThreadProcessor * >::difference_type arg3 ;
42180  void *argp1 = 0 ;
42181  int res1 = 0 ;
42182  ptrdiff_t val2 ;
42183  int ecode2 = 0 ;
42184  ptrdiff_t val3 ;
42185  int ecode3 = 0 ;
42186  PyObject * obj0 = 0 ;
42187  PyObject * obj1 = 0 ;
42188  PyObject * obj2 = 0 ;
42189 
42190  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ModuleThreadProcessorPtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
42191  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42192  if (!SWIG_IsOK(res1)) {
42193  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr___setslice__" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42194  }
42195  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42196  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
42197  if (!SWIG_IsOK(ecode2)) {
42198  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ModuleThreadProcessorPtr___setslice__" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::difference_type""'");
42199  }
42200  arg2 = static_cast< std::vector< ModuleThreadProcessor * >::difference_type >(val2);
42201  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
42202  if (!SWIG_IsOK(ecode3)) {
42203  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ModuleThreadProcessorPtr___setslice__" "', argument " "3"" of type '" "std::vector< ModuleThreadProcessor * >::difference_type""'");
42204  }
42205  arg3 = static_cast< std::vector< ModuleThreadProcessor * >::difference_type >(val3);
42206  try {
42207  std_vector_Sl_ModuleThreadProcessor_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
42208  }
42209  catch(std::out_of_range &_e) {
42210  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
42211  }
42212  catch(std::invalid_argument &_e) {
42213  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
42214  }
42215 
42216  resultobj = SWIG_Py_Void();
42217  return resultobj;
42218 fail:
42219  return NULL;
42220 }
42221 
42222 
42223 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___setslice__(PyObject *self, PyObject *args) {
42224  int argc;
42225  PyObject *argv[5];
42226  int ii;
42227 
42228  if (!PyTuple_Check(args)) SWIG_fail;
42229  argc = args ? (int)PyObject_Length(args) : 0;
42230  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
42231  argv[ii] = PyTuple_GET_ITEM(args,ii);
42232  }
42233  if (argc == 3) {
42234  int _v;
42235  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
42236  _v = SWIG_CheckState(res);
42237  if (_v) {
42238  {
42239  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
42240  _v = SWIG_CheckState(res);
42241  }
42242  if (_v) {
42243  {
42244  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
42245  _v = SWIG_CheckState(res);
42246  }
42247  if (_v) {
42248  return _wrap_vector_ModuleThreadProcessorPtr___setslice____SWIG_1(self, args);
42249  }
42250  }
42251  }
42252  }
42253  if (argc == 4) {
42254  int _v;
42255  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
42256  _v = SWIG_CheckState(res);
42257  if (_v) {
42258  {
42259  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
42260  _v = SWIG_CheckState(res);
42261  }
42262  if (_v) {
42263  {
42264  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
42265  _v = SWIG_CheckState(res);
42266  }
42267  if (_v) {
42268  int res = swig::asptr(argv[3], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
42269  _v = SWIG_CheckState(res);
42270  if (_v) {
42271  return _wrap_vector_ModuleThreadProcessorPtr___setslice____SWIG_0(self, args);
42272  }
42273  }
42274  }
42275  }
42276  }
42277 
42278 fail:
42279  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ModuleThreadProcessorPtr___setslice__'.\n"
42280  " Possible C/C++ prototypes are:\n"
42281  " std::vector< ModuleThreadProcessor * >::__setslice__(std::vector< ModuleThreadProcessor * >::difference_type,std::vector< ModuleThreadProcessor * >::difference_type,std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > const &)\n"
42282  " std::vector< ModuleThreadProcessor * >::__setslice__(std::vector< ModuleThreadProcessor * >::difference_type,std::vector< ModuleThreadProcessor * >::difference_type)\n");
42283  return 0;
42284 }
42285 
42286 
42287 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42288  PyObject *resultobj = 0;
42289  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42290  std::vector< ModuleThreadProcessor * >::difference_type arg2 ;
42291  std::vector< ModuleThreadProcessor * >::difference_type arg3 ;
42292  void *argp1 = 0 ;
42293  int res1 = 0 ;
42294  ptrdiff_t val2 ;
42295  int ecode2 = 0 ;
42296  ptrdiff_t val3 ;
42297  int ecode3 = 0 ;
42298  PyObject * obj0 = 0 ;
42299  PyObject * obj1 = 0 ;
42300  PyObject * obj2 = 0 ;
42301 
42302  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ModuleThreadProcessorPtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
42303  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42304  if (!SWIG_IsOK(res1)) {
42305  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr___delslice__" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42306  }
42307  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42308  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
42309  if (!SWIG_IsOK(ecode2)) {
42310  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ModuleThreadProcessorPtr___delslice__" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::difference_type""'");
42311  }
42312  arg2 = static_cast< std::vector< ModuleThreadProcessor * >::difference_type >(val2);
42313  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
42314  if (!SWIG_IsOK(ecode3)) {
42315  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ModuleThreadProcessorPtr___delslice__" "', argument " "3"" of type '" "std::vector< ModuleThreadProcessor * >::difference_type""'");
42316  }
42317  arg3 = static_cast< std::vector< ModuleThreadProcessor * >::difference_type >(val3);
42318  try {
42319  std_vector_Sl_ModuleThreadProcessor_Sm__Sg____delslice__(arg1,arg2,arg3);
42320  }
42321  catch(std::out_of_range &_e) {
42322  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
42323  }
42324  catch(std::invalid_argument &_e) {
42325  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
42326  }
42327 
42328  resultobj = SWIG_Py_Void();
42329  return resultobj;
42330 fail:
42331  return NULL;
42332 }
42333 
42334 
42335 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42336  PyObject *resultobj = 0;
42337  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42338  std::vector< ModuleThreadProcessor * >::difference_type arg2 ;
42339  void *argp1 = 0 ;
42340  int res1 = 0 ;
42341  ptrdiff_t val2 ;
42342  int ecode2 = 0 ;
42343  PyObject * obj0 = 0 ;
42344  PyObject * obj1 = 0 ;
42345 
42346  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ModuleThreadProcessorPtr___delitem__",&obj0,&obj1)) SWIG_fail;
42347  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42348  if (!SWIG_IsOK(res1)) {
42349  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr___delitem__" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42350  }
42351  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42352  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
42353  if (!SWIG_IsOK(ecode2)) {
42354  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ModuleThreadProcessorPtr___delitem__" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::difference_type""'");
42355  }
42356  arg2 = static_cast< std::vector< ModuleThreadProcessor * >::difference_type >(val2);
42357  try {
42358  std_vector_Sl_ModuleThreadProcessor_Sm__Sg____delitem____SWIG_0(arg1,arg2);
42359  }
42360  catch(std::out_of_range &_e) {
42361  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
42362  }
42363 
42364  resultobj = SWIG_Py_Void();
42365  return resultobj;
42366 fail:
42367  return NULL;
42368 }
42369 
42370 
42371 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42372  PyObject *resultobj = 0;
42373  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42374  PySliceObject *arg2 = (PySliceObject *) 0 ;
42375  void *argp1 = 0 ;
42376  int res1 = 0 ;
42377  PyObject * obj0 = 0 ;
42378  PyObject * obj1 = 0 ;
42379  std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > *result = 0 ;
42380 
42381  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ModuleThreadProcessorPtr___getitem__",&obj0,&obj1)) SWIG_fail;
42382  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42383  if (!SWIG_IsOK(res1)) {
42384  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr___getitem__" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42385  }
42386  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42387  {
42388  if (!PySlice_Check(obj1)) {
42389  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ModuleThreadProcessorPtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
42390  }
42391  arg2 = (PySliceObject *) obj1;
42392  }
42393  try {
42394  result = (std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > *)std_vector_Sl_ModuleThreadProcessor_Sm__Sg____getitem____SWIG_0(arg1,arg2);
42395  }
42396  catch(std::out_of_range &_e) {
42397  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
42398  }
42399  catch(std::invalid_argument &_e) {
42400  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
42401  }
42402 
42403  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, SWIG_POINTER_OWN | 0 );
42404  return resultobj;
42405 fail:
42406  return NULL;
42407 }
42408 
42409 
42410 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42411  PyObject *resultobj = 0;
42412  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42413  PySliceObject *arg2 = (PySliceObject *) 0 ;
42414  std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > *arg3 = 0 ;
42415  void *argp1 = 0 ;
42416  int res1 = 0 ;
42417  int res3 = SWIG_OLDOBJ ;
42418  PyObject * obj0 = 0 ;
42419  PyObject * obj1 = 0 ;
42420  PyObject * obj2 = 0 ;
42421 
42422  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ModuleThreadProcessorPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
42423  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42424  if (!SWIG_IsOK(res1)) {
42425  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr___setitem__" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42426  }
42427  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42428  {
42429  if (!PySlice_Check(obj1)) {
42430  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ModuleThreadProcessorPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
42431  }
42432  arg2 = (PySliceObject *) obj1;
42433  }
42434  {
42435  std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > > *ptr = (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > > *)0;
42436  res3 = swig::asptr(obj2, &ptr);
42437  if (!SWIG_IsOK(res3)) {
42438  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ModuleThreadProcessorPtr___setitem__" "', argument " "3"" of type '" "std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > const &""'");
42439  }
42440  if (!ptr) {
42441  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_ModuleThreadProcessorPtr___setitem__" "', argument " "3"" of type '" "std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > const &""'");
42442  }
42443  arg3 = ptr;
42444  }
42445  try {
42446  std_vector_Sl_ModuleThreadProcessor_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > const &)*arg3);
42447  }
42448  catch(std::out_of_range &_e) {
42449  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
42450  }
42451  catch(std::invalid_argument &_e) {
42452  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
42453  }
42454 
42455  resultobj = SWIG_Py_Void();
42456  if (SWIG_IsNewObj(res3)) delete arg3;
42457  return resultobj;
42458 fail:
42459  if (SWIG_IsNewObj(res3)) delete arg3;
42460  return NULL;
42461 }
42462 
42463 
42464 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42465  PyObject *resultobj = 0;
42466  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42467  PySliceObject *arg2 = (PySliceObject *) 0 ;
42468  void *argp1 = 0 ;
42469  int res1 = 0 ;
42470  PyObject * obj0 = 0 ;
42471  PyObject * obj1 = 0 ;
42472 
42473  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ModuleThreadProcessorPtr___setitem__",&obj0,&obj1)) SWIG_fail;
42474  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42475  if (!SWIG_IsOK(res1)) {
42476  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr___setitem__" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42477  }
42478  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42479  {
42480  if (!PySlice_Check(obj1)) {
42481  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ModuleThreadProcessorPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
42482  }
42483  arg2 = (PySliceObject *) obj1;
42484  }
42485  try {
42486  std_vector_Sl_ModuleThreadProcessor_Sm__Sg____setitem____SWIG_1(arg1,arg2);
42487  }
42488  catch(std::out_of_range &_e) {
42489  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
42490  }
42491  catch(std::invalid_argument &_e) {
42492  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
42493  }
42494 
42495  resultobj = SWIG_Py_Void();
42496  return resultobj;
42497 fail:
42498  return NULL;
42499 }
42500 
42501 
42502 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42503  PyObject *resultobj = 0;
42504  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42505  PySliceObject *arg2 = (PySliceObject *) 0 ;
42506  void *argp1 = 0 ;
42507  int res1 = 0 ;
42508  PyObject * obj0 = 0 ;
42509  PyObject * obj1 = 0 ;
42510 
42511  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ModuleThreadProcessorPtr___delitem__",&obj0,&obj1)) SWIG_fail;
42512  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42513  if (!SWIG_IsOK(res1)) {
42514  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr___delitem__" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42515  }
42516  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42517  {
42518  if (!PySlice_Check(obj1)) {
42519  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ModuleThreadProcessorPtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
42520  }
42521  arg2 = (PySliceObject *) obj1;
42522  }
42523  try {
42524  std_vector_Sl_ModuleThreadProcessor_Sm__Sg____delitem____SWIG_1(arg1,arg2);
42525  }
42526  catch(std::out_of_range &_e) {
42527  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
42528  }
42529  catch(std::invalid_argument &_e) {
42530  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
42531  }
42532 
42533  resultobj = SWIG_Py_Void();
42534  return resultobj;
42535 fail:
42536  return NULL;
42537 }
42538 
42539 
42540 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___delitem__(PyObject *self, PyObject *args) {
42541  int argc;
42542  PyObject *argv[3];
42543  int ii;
42544 
42545  if (!PyTuple_Check(args)) SWIG_fail;
42546  argc = args ? (int)PyObject_Length(args) : 0;
42547  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
42548  argv[ii] = PyTuple_GET_ITEM(args,ii);
42549  }
42550  if (argc == 2) {
42551  int _v;
42552  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
42553  _v = SWIG_CheckState(res);
42554  if (_v) {
42555  {
42556  _v = PySlice_Check(argv[1]);
42557  }
42558  if (_v) {
42559  return _wrap_vector_ModuleThreadProcessorPtr___delitem____SWIG_1(self, args);
42560  }
42561  }
42562  }
42563  if (argc == 2) {
42564  int _v;
42565  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
42566  _v = SWIG_CheckState(res);
42567  if (_v) {
42568  {
42569  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
42570  _v = SWIG_CheckState(res);
42571  }
42572  if (_v) {
42573  return _wrap_vector_ModuleThreadProcessorPtr___delitem____SWIG_0(self, args);
42574  }
42575  }
42576  }
42577 
42578 fail:
42579  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ModuleThreadProcessorPtr___delitem__'.\n"
42580  " Possible C/C++ prototypes are:\n"
42581  " std::vector< ModuleThreadProcessor * >::__delitem__(std::vector< ModuleThreadProcessor * >::difference_type)\n"
42582  " std::vector< ModuleThreadProcessor * >::__delitem__(PySliceObject *)\n");
42583  return 0;
42584 }
42585 
42586 
42587 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42588  PyObject *resultobj = 0;
42589  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42590  std::vector< ModuleThreadProcessor * >::difference_type arg2 ;
42591  void *argp1 = 0 ;
42592  int res1 = 0 ;
42593  ptrdiff_t val2 ;
42594  int ecode2 = 0 ;
42595  PyObject * obj0 = 0 ;
42596  PyObject * obj1 = 0 ;
42597  std::vector< ModuleThreadProcessor * >::value_type result;
42598 
42599  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ModuleThreadProcessorPtr___getitem__",&obj0,&obj1)) SWIG_fail;
42600  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42601  if (!SWIG_IsOK(res1)) {
42602  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr___getitem__" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42603  }
42604  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42605  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
42606  if (!SWIG_IsOK(ecode2)) {
42607  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ModuleThreadProcessorPtr___getitem__" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::difference_type""'");
42608  }
42609  arg2 = static_cast< std::vector< ModuleThreadProcessor * >::difference_type >(val2);
42610  try {
42611  result = (std::vector< ModuleThreadProcessor * >::value_type)std_vector_Sl_ModuleThreadProcessor_Sm__Sg____getitem____SWIG_1(arg1,arg2);
42612  }
42613  catch(std::out_of_range &_e) {
42614  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
42615  }
42616 
42617  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ModuleThreadProcessor, 0 | 0 );
42618  return resultobj;
42619 fail:
42620  return NULL;
42621 }
42622 
42623 
42624 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___getitem__(PyObject *self, PyObject *args) {
42625  int argc;
42626  PyObject *argv[3];
42627  int ii;
42628 
42629  if (!PyTuple_Check(args)) SWIG_fail;
42630  argc = args ? (int)PyObject_Length(args) : 0;
42631  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
42632  argv[ii] = PyTuple_GET_ITEM(args,ii);
42633  }
42634  if (argc == 2) {
42635  int _v;
42636  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
42637  _v = SWIG_CheckState(res);
42638  if (_v) {
42639  {
42640  _v = PySlice_Check(argv[1]);
42641  }
42642  if (_v) {
42643  return _wrap_vector_ModuleThreadProcessorPtr___getitem____SWIG_0(self, args);
42644  }
42645  }
42646  }
42647  if (argc == 2) {
42648  int _v;
42649  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
42650  _v = SWIG_CheckState(res);
42651  if (_v) {
42652  {
42653  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
42654  _v = SWIG_CheckState(res);
42655  }
42656  if (_v) {
42657  return _wrap_vector_ModuleThreadProcessorPtr___getitem____SWIG_1(self, args);
42658  }
42659  }
42660  }
42661 
42662 fail:
42663  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ModuleThreadProcessorPtr___getitem__'.\n"
42664  " Possible C/C++ prototypes are:\n"
42665  " std::vector< ModuleThreadProcessor * >::__getitem__(PySliceObject *)\n"
42666  " std::vector< ModuleThreadProcessor * >::__getitem__(std::vector< ModuleThreadProcessor * >::difference_type)\n");
42667  return 0;
42668 }
42669 
42670 
42671 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42672  PyObject *resultobj = 0;
42673  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42674  std::vector< ModuleThreadProcessor * >::difference_type arg2 ;
42675  std::vector< ModuleThreadProcessor * >::value_type arg3 = (std::vector< ModuleThreadProcessor * >::value_type) 0 ;
42676  void *argp1 = 0 ;
42677  int res1 = 0 ;
42678  ptrdiff_t val2 ;
42679  int ecode2 = 0 ;
42680  void *argp3 = 0 ;
42681  int res3 = 0 ;
42682  PyObject * obj0 = 0 ;
42683  PyObject * obj1 = 0 ;
42684  PyObject * obj2 = 0 ;
42685 
42686  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ModuleThreadProcessorPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
42687  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42688  if (!SWIG_IsOK(res1)) {
42689  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr___setitem__" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42690  }
42691  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42692  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
42693  if (!SWIG_IsOK(ecode2)) {
42694  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ModuleThreadProcessorPtr___setitem__" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::difference_type""'");
42695  }
42696  arg2 = static_cast< std::vector< ModuleThreadProcessor * >::difference_type >(val2);
42697  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ModuleThreadProcessor, 0 | 0 );
42698  if (!SWIG_IsOK(res3)) {
42699  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ModuleThreadProcessorPtr___setitem__" "', argument " "3"" of type '" "std::vector< ModuleThreadProcessor * >::value_type""'");
42700  }
42701  arg3 = reinterpret_cast< std::vector< ModuleThreadProcessor * >::value_type >(argp3);
42702  try {
42703  std_vector_Sl_ModuleThreadProcessor_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
42704  }
42705  catch(std::out_of_range &_e) {
42706  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
42707  }
42708 
42709  resultobj = SWIG_Py_Void();
42710  return resultobj;
42711 fail:
42712  return NULL;
42713 }
42714 
42715 
42716 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr___setitem__(PyObject *self, PyObject *args) {
42717  int argc;
42718  PyObject *argv[4];
42719  int ii;
42720 
42721  if (!PyTuple_Check(args)) SWIG_fail;
42722  argc = args ? (int)PyObject_Length(args) : 0;
42723  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
42724  argv[ii] = PyTuple_GET_ITEM(args,ii);
42725  }
42726  if (argc == 2) {
42727  int _v;
42728  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
42729  _v = SWIG_CheckState(res);
42730  if (_v) {
42731  {
42732  _v = PySlice_Check(argv[1]);
42733  }
42734  if (_v) {
42735  return _wrap_vector_ModuleThreadProcessorPtr___setitem____SWIG_1(self, args);
42736  }
42737  }
42738  }
42739  if (argc == 3) {
42740  int _v;
42741  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
42742  _v = SWIG_CheckState(res);
42743  if (_v) {
42744  {
42745  _v = PySlice_Check(argv[1]);
42746  }
42747  if (_v) {
42748  int res = swig::asptr(argv[2], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
42749  _v = SWIG_CheckState(res);
42750  if (_v) {
42751  return _wrap_vector_ModuleThreadProcessorPtr___setitem____SWIG_0(self, args);
42752  }
42753  }
42754  }
42755  }
42756  if (argc == 3) {
42757  int _v;
42758  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
42759  _v = SWIG_CheckState(res);
42760  if (_v) {
42761  {
42762  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
42763  _v = SWIG_CheckState(res);
42764  }
42765  if (_v) {
42766  void *vptr = 0;
42767  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ModuleThreadProcessor, 0);
42768  _v = SWIG_CheckState(res);
42769  if (_v) {
42770  return _wrap_vector_ModuleThreadProcessorPtr___setitem____SWIG_2(self, args);
42771  }
42772  }
42773  }
42774  }
42775 
42776 fail:
42777  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ModuleThreadProcessorPtr___setitem__'.\n"
42778  " Possible C/C++ prototypes are:\n"
42779  " std::vector< ModuleThreadProcessor * >::__setitem__(PySliceObject *,std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > const &)\n"
42780  " std::vector< ModuleThreadProcessor * >::__setitem__(PySliceObject *)\n"
42781  " std::vector< ModuleThreadProcessor * >::__setitem__(std::vector< ModuleThreadProcessor * >::difference_type,std::vector< ModuleThreadProcessor * >::value_type)\n");
42782  return 0;
42783 }
42784 
42785 
42786 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42787  PyObject *resultobj = 0;
42788  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42789  std::vector< ModuleThreadProcessor * >::value_type arg2 = (std::vector< ModuleThreadProcessor * >::value_type) 0 ;
42790  void *argp1 = 0 ;
42791  int res1 = 0 ;
42792  void *argp2 = 0 ;
42793  int res2 = 0 ;
42794  PyObject * obj0 = 0 ;
42795  PyObject * obj1 = 0 ;
42796 
42797  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ModuleThreadProcessorPtr_append",&obj0,&obj1)) SWIG_fail;
42798  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42799  if (!SWIG_IsOK(res1)) {
42800  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_append" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42801  }
42802  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42803  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ModuleThreadProcessor, 0 | 0 );
42804  if (!SWIG_IsOK(res2)) {
42805  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_ModuleThreadProcessorPtr_append" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::value_type""'");
42806  }
42807  arg2 = reinterpret_cast< std::vector< ModuleThreadProcessor * >::value_type >(argp2);
42808  std_vector_Sl_ModuleThreadProcessor_Sm__Sg__append(arg1,arg2);
42809  resultobj = SWIG_Py_Void();
42810  return resultobj;
42811 fail:
42812  return NULL;
42813 }
42814 
42815 
42816 SWIGINTERN PyObject *_wrap_new_vector_ModuleThreadProcessorPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42817  PyObject *resultobj = 0;
42818  std::vector< ModuleThreadProcessor * > *result = 0 ;
42819 
42820  if (!PyArg_ParseTuple(args,(char *)":new_vector_ModuleThreadProcessorPtr")) SWIG_fail;
42821  result = (std::vector< ModuleThreadProcessor * > *)new std::vector< ModuleThreadProcessor * >();
42822  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, SWIG_POINTER_NEW | 0 );
42823  return resultobj;
42824 fail:
42825  return NULL;
42826 }
42827 
42828 
42829 SWIGINTERN PyObject *_wrap_new_vector_ModuleThreadProcessorPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42830  PyObject *resultobj = 0;
42831  std::vector< ModuleThreadProcessor * > *arg1 = 0 ;
42832  int res1 = SWIG_OLDOBJ ;
42833  PyObject * obj0 = 0 ;
42834  std::vector< ModuleThreadProcessor * > *result = 0 ;
42835 
42836  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_ModuleThreadProcessorPtr",&obj0)) SWIG_fail;
42837  {
42838  std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > > *ptr = (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > > *)0;
42839  res1 = swig::asptr(obj0, &ptr);
42840  if (!SWIG_IsOK(res1)) {
42841  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_ModuleThreadProcessorPtr" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > const &""'");
42842  }
42843  if (!ptr) {
42844  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_ModuleThreadProcessorPtr" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > const &""'");
42845  }
42846  arg1 = ptr;
42847  }
42848  result = (std::vector< ModuleThreadProcessor * > *)new std::vector< ModuleThreadProcessor * >((std::vector< ModuleThreadProcessor * > const &)*arg1);
42849  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, SWIG_POINTER_NEW | 0 );
42850  if (SWIG_IsNewObj(res1)) delete arg1;
42851  return resultobj;
42852 fail:
42853  if (SWIG_IsNewObj(res1)) delete arg1;
42854  return NULL;
42855 }
42856 
42857 
42858 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42859  PyObject *resultobj = 0;
42860  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42861  void *argp1 = 0 ;
42862  int res1 = 0 ;
42863  PyObject * obj0 = 0 ;
42864  bool result;
42865 
42866  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr_empty",&obj0)) SWIG_fail;
42867  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42868  if (!SWIG_IsOK(res1)) {
42869  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_empty" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > const *""'");
42870  }
42871  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42872  result = (bool)((std::vector< ModuleThreadProcessor * > const *)arg1)->empty();
42873  resultobj = SWIG_From_bool(static_cast< bool >(result));
42874  return resultobj;
42875 fail:
42876  return NULL;
42877 }
42878 
42879 
42880 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42881  PyObject *resultobj = 0;
42882  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42883  void *argp1 = 0 ;
42884  int res1 = 0 ;
42885  PyObject * obj0 = 0 ;
42886  std::vector< ModuleThreadProcessor * >::size_type result;
42887 
42888  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr_size",&obj0)) SWIG_fail;
42889  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42890  if (!SWIG_IsOK(res1)) {
42891  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_size" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > const *""'");
42892  }
42893  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42894  result = ((std::vector< ModuleThreadProcessor * > const *)arg1)->size();
42895  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
42896  return resultobj;
42897 fail:
42898  return NULL;
42899 }
42900 
42901 
42902 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42903  PyObject *resultobj = 0;
42904  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42905  void *argp1 = 0 ;
42906  int res1 = 0 ;
42907  PyObject * obj0 = 0 ;
42908 
42909  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr_clear",&obj0)) SWIG_fail;
42910  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42911  if (!SWIG_IsOK(res1)) {
42912  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_clear" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42913  }
42914  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42915  (arg1)->clear();
42916  resultobj = SWIG_Py_Void();
42917  return resultobj;
42918 fail:
42919  return NULL;
42920 }
42921 
42922 
42923 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42924  PyObject *resultobj = 0;
42925  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42926  std::vector< ModuleThreadProcessor * > *arg2 = 0 ;
42927  void *argp1 = 0 ;
42928  int res1 = 0 ;
42929  void *argp2 = 0 ;
42930  int res2 = 0 ;
42931  PyObject * obj0 = 0 ;
42932  PyObject * obj1 = 0 ;
42933 
42934  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ModuleThreadProcessorPtr_swap",&obj0,&obj1)) SWIG_fail;
42935  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42936  if (!SWIG_IsOK(res1)) {
42937  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_swap" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42938  }
42939  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42940  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 );
42941  if (!SWIG_IsOK(res2)) {
42942  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_ModuleThreadProcessorPtr_swap" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * > &""'");
42943  }
42944  if (!argp2) {
42945  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_ModuleThreadProcessorPtr_swap" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * > &""'");
42946  }
42947  arg2 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp2);
42948  (arg1)->swap(*arg2);
42949  resultobj = SWIG_Py_Void();
42950  return resultobj;
42951 fail:
42952  return NULL;
42953 }
42954 
42955 
42956 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42957  PyObject *resultobj = 0;
42958  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42959  void *argp1 = 0 ;
42960  int res1 = 0 ;
42961  PyObject * obj0 = 0 ;
42962  SwigValueWrapper< std::allocator< ModuleThreadProcessor * > > result;
42963 
42964  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr_get_allocator",&obj0)) SWIG_fail;
42965  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42966  if (!SWIG_IsOK(res1)) {
42967  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_get_allocator" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > const *""'");
42968  }
42969  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42970  result = ((std::vector< ModuleThreadProcessor * > const *)arg1)->get_allocator();
42971  resultobj = SWIG_NewPointerObj((new std::vector< ModuleThreadProcessor * >::allocator_type(static_cast< const std::vector< ModuleThreadProcessor * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_ModuleThreadProcessor_p_t, SWIG_POINTER_OWN | 0 );
42972  return resultobj;
42973 fail:
42974  return NULL;
42975 }
42976 
42977 
42978 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42979  PyObject *resultobj = 0;
42980  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
42981  void *argp1 = 0 ;
42982  int res1 = 0 ;
42983  PyObject * obj0 = 0 ;
42984  std::vector< ModuleThreadProcessor * >::iterator result;
42985 
42986  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr_begin",&obj0)) SWIG_fail;
42987  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
42988  if (!SWIG_IsOK(res1)) {
42989  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_begin" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
42990  }
42991  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
42992  result = (arg1)->begin();
42993  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ModuleThreadProcessor * >::iterator & >(result)),
42994  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
42995  return resultobj;
42996 fail:
42997  return NULL;
42998 }
42999 
43000 
43001 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43002  PyObject *resultobj = 0;
43003  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43004  void *argp1 = 0 ;
43005  int res1 = 0 ;
43006  PyObject * obj0 = 0 ;
43007  std::vector< ModuleThreadProcessor * >::iterator result;
43008 
43009  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr_end",&obj0)) SWIG_fail;
43010  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43011  if (!SWIG_IsOK(res1)) {
43012  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_end" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
43013  }
43014  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43015  result = (arg1)->end();
43016  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ModuleThreadProcessor * >::iterator & >(result)),
43017  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
43018  return resultobj;
43019 fail:
43020  return NULL;
43021 }
43022 
43023 
43024 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43025  PyObject *resultobj = 0;
43026  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43027  void *argp1 = 0 ;
43028  int res1 = 0 ;
43029  PyObject * obj0 = 0 ;
43030  std::vector< ModuleThreadProcessor * >::reverse_iterator result;
43031 
43032  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr_rbegin",&obj0)) SWIG_fail;
43033  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43034  if (!SWIG_IsOK(res1)) {
43035  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_rbegin" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
43036  }
43037  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43038  result = (arg1)->rbegin();
43039  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ModuleThreadProcessor * >::reverse_iterator & >(result)),
43040  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
43041  return resultobj;
43042 fail:
43043  return NULL;
43044 }
43045 
43046 
43047 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43048  PyObject *resultobj = 0;
43049  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43050  void *argp1 = 0 ;
43051  int res1 = 0 ;
43052  PyObject * obj0 = 0 ;
43053  std::vector< ModuleThreadProcessor * >::reverse_iterator result;
43054 
43055  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr_rend",&obj0)) SWIG_fail;
43056  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43057  if (!SWIG_IsOK(res1)) {
43058  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_rend" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
43059  }
43060  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43061  result = (arg1)->rend();
43062  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ModuleThreadProcessor * >::reverse_iterator & >(result)),
43063  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
43064  return resultobj;
43065 fail:
43066  return NULL;
43067 }
43068 
43069 
43070 SWIGINTERN PyObject *_wrap_new_vector_ModuleThreadProcessorPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43071  PyObject *resultobj = 0;
43072  std::vector< ModuleThreadProcessor * >::size_type arg1 ;
43073  size_t val1 ;
43074  int ecode1 = 0 ;
43075  PyObject * obj0 = 0 ;
43076  std::vector< ModuleThreadProcessor * > *result = 0 ;
43077 
43078  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_ModuleThreadProcessorPtr",&obj0)) SWIG_fail;
43079  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
43080  if (!SWIG_IsOK(ecode1)) {
43081  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_ModuleThreadProcessorPtr" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * >::size_type""'");
43082  }
43083  arg1 = static_cast< std::vector< ModuleThreadProcessor * >::size_type >(val1);
43084  result = (std::vector< ModuleThreadProcessor * > *)new std::vector< ModuleThreadProcessor * >(arg1);
43085  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, SWIG_POINTER_NEW | 0 );
43086  return resultobj;
43087 fail:
43088  return NULL;
43089 }
43090 
43091 
43092 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43093  PyObject *resultobj = 0;
43094  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43095  void *argp1 = 0 ;
43096  int res1 = 0 ;
43097  PyObject * obj0 = 0 ;
43098 
43099  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr_pop_back",&obj0)) SWIG_fail;
43100  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43101  if (!SWIG_IsOK(res1)) {
43102  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_pop_back" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
43103  }
43104  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43105  (arg1)->pop_back();
43106  resultobj = SWIG_Py_Void();
43107  return resultobj;
43108 fail:
43109  return NULL;
43110 }
43111 
43112 
43113 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43114  PyObject *resultobj = 0;
43115  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43116  std::vector< ModuleThreadProcessor * >::size_type arg2 ;
43117  void *argp1 = 0 ;
43118  int res1 = 0 ;
43119  size_t val2 ;
43120  int ecode2 = 0 ;
43121  PyObject * obj0 = 0 ;
43122  PyObject * obj1 = 0 ;
43123 
43124  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ModuleThreadProcessorPtr_resize",&obj0,&obj1)) SWIG_fail;
43125  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43126  if (!SWIG_IsOK(res1)) {
43127  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_resize" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
43128  }
43129  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43130  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
43131  if (!SWIG_IsOK(ecode2)) {
43132  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ModuleThreadProcessorPtr_resize" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::size_type""'");
43133  }
43134  arg2 = static_cast< std::vector< ModuleThreadProcessor * >::size_type >(val2);
43135  (arg1)->resize(arg2);
43136  resultobj = SWIG_Py_Void();
43137  return resultobj;
43138 fail:
43139  return NULL;
43140 }
43141 
43142 
43143 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43144  PyObject *resultobj = 0;
43145  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43146  std::vector< ModuleThreadProcessor * >::iterator arg2 ;
43147  void *argp1 = 0 ;
43148  int res1 = 0 ;
43149  swig::SwigPyIterator *iter2 = 0 ;
43150  int res2 ;
43151  PyObject * obj0 = 0 ;
43152  PyObject * obj1 = 0 ;
43153  std::vector< ModuleThreadProcessor * >::iterator result;
43154 
43155  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ModuleThreadProcessorPtr_erase",&obj0,&obj1)) SWIG_fail;
43156  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43157  if (!SWIG_IsOK(res1)) {
43158  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_erase" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
43159  }
43160  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43161  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
43162  if (!SWIG_IsOK(res2) || !iter2) {
43163  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ModuleThreadProcessorPtr_erase" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::iterator""'");
43164  } else {
43166  if (iter_t) {
43167  arg2 = iter_t->get_current();
43168  } else {
43169  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ModuleThreadProcessorPtr_erase" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::iterator""'");
43170  }
43171  }
43172  result = std_vector_Sl_ModuleThreadProcessor_Sm__Sg__erase__SWIG_0(arg1,arg2);
43173  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ModuleThreadProcessor * >::iterator & >(result)),
43174  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
43175  return resultobj;
43176 fail:
43177  return NULL;
43178 }
43179 
43180 
43181 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43182  PyObject *resultobj = 0;
43183  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43184  std::vector< ModuleThreadProcessor * >::iterator arg2 ;
43185  std::vector< ModuleThreadProcessor * >::iterator arg3 ;
43186  void *argp1 = 0 ;
43187  int res1 = 0 ;
43188  swig::SwigPyIterator *iter2 = 0 ;
43189  int res2 ;
43190  swig::SwigPyIterator *iter3 = 0 ;
43191  int res3 ;
43192  PyObject * obj0 = 0 ;
43193  PyObject * obj1 = 0 ;
43194  PyObject * obj2 = 0 ;
43195  std::vector< ModuleThreadProcessor * >::iterator result;
43196 
43197  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ModuleThreadProcessorPtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
43198  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43199  if (!SWIG_IsOK(res1)) {
43200  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_erase" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
43201  }
43202  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43203  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
43204  if (!SWIG_IsOK(res2) || !iter2) {
43205  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ModuleThreadProcessorPtr_erase" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::iterator""'");
43206  } else {
43208  if (iter_t) {
43209  arg2 = iter_t->get_current();
43210  } else {
43211  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ModuleThreadProcessorPtr_erase" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::iterator""'");
43212  }
43213  }
43214  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
43215  if (!SWIG_IsOK(res3) || !iter3) {
43216  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ModuleThreadProcessorPtr_erase" "', argument " "3"" of type '" "std::vector< ModuleThreadProcessor * >::iterator""'");
43217  } else {
43219  if (iter_t) {
43220  arg3 = iter_t->get_current();
43221  } else {
43222  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ModuleThreadProcessorPtr_erase" "', argument " "3"" of type '" "std::vector< ModuleThreadProcessor * >::iterator""'");
43223  }
43224  }
43225  result = std_vector_Sl_ModuleThreadProcessor_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
43226  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ModuleThreadProcessor * >::iterator & >(result)),
43227  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
43228  return resultobj;
43229 fail:
43230  return NULL;
43231 }
43232 
43233 
43234 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_erase(PyObject *self, PyObject *args) {
43235  int argc;
43236  PyObject *argv[4];
43237  int ii;
43238 
43239  if (!PyTuple_Check(args)) SWIG_fail;
43240  argc = args ? (int)PyObject_Length(args) : 0;
43241  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
43242  argv[ii] = PyTuple_GET_ITEM(args,ii);
43243  }
43244  if (argc == 2) {
43245  int _v;
43246  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
43247  _v = SWIG_CheckState(res);
43248  if (_v) {
43249  swig::SwigPyIterator *iter = 0;
43250  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
43251  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ModuleThreadProcessor * >::iterator > *>(iter) != 0));
43252  if (_v) {
43253  return _wrap_vector_ModuleThreadProcessorPtr_erase__SWIG_0(self, args);
43254  }
43255  }
43256  }
43257  if (argc == 3) {
43258  int _v;
43259  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
43260  _v = SWIG_CheckState(res);
43261  if (_v) {
43262  swig::SwigPyIterator *iter = 0;
43263  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
43264  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ModuleThreadProcessor * >::iterator > *>(iter) != 0));
43265  if (_v) {
43266  swig::SwigPyIterator *iter = 0;
43267  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
43268  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ModuleThreadProcessor * >::iterator > *>(iter) != 0));
43269  if (_v) {
43270  return _wrap_vector_ModuleThreadProcessorPtr_erase__SWIG_1(self, args);
43271  }
43272  }
43273  }
43274  }
43275 
43276 fail:
43277  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ModuleThreadProcessorPtr_erase'.\n"
43278  " Possible C/C++ prototypes are:\n"
43279  " std::vector< ModuleThreadProcessor * >::erase(std::vector< ModuleThreadProcessor * >::iterator)\n"
43280  " std::vector< ModuleThreadProcessor * >::erase(std::vector< ModuleThreadProcessor * >::iterator,std::vector< ModuleThreadProcessor * >::iterator)\n");
43281  return 0;
43282 }
43283 
43284 
43285 SWIGINTERN PyObject *_wrap_new_vector_ModuleThreadProcessorPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43286  PyObject *resultobj = 0;
43287  std::vector< ModuleThreadProcessor * >::size_type arg1 ;
43288  std::vector< ModuleThreadProcessor * >::value_type arg2 = (std::vector< ModuleThreadProcessor * >::value_type) 0 ;
43289  size_t val1 ;
43290  int ecode1 = 0 ;
43291  void *argp2 = 0 ;
43292  int res2 = 0 ;
43293  PyObject * obj0 = 0 ;
43294  PyObject * obj1 = 0 ;
43295  std::vector< ModuleThreadProcessor * > *result = 0 ;
43296 
43297  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_ModuleThreadProcessorPtr",&obj0,&obj1)) SWIG_fail;
43298  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
43299  if (!SWIG_IsOK(ecode1)) {
43300  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_ModuleThreadProcessorPtr" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * >::size_type""'");
43301  }
43302  arg1 = static_cast< std::vector< ModuleThreadProcessor * >::size_type >(val1);
43303  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ModuleThreadProcessor, 0 | 0 );
43304  if (!SWIG_IsOK(res2)) {
43305  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_ModuleThreadProcessorPtr" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::value_type""'");
43306  }
43307  arg2 = reinterpret_cast< std::vector< ModuleThreadProcessor * >::value_type >(argp2);
43308  result = (std::vector< ModuleThreadProcessor * > *)new std::vector< ModuleThreadProcessor * >(arg1,arg2);
43309  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, SWIG_POINTER_NEW | 0 );
43310  return resultobj;
43311 fail:
43312  return NULL;
43313 }
43314 
43315 
43316 SWIGINTERN PyObject *_wrap_new_vector_ModuleThreadProcessorPtr(PyObject *self, PyObject *args) {
43317  int argc;
43318  PyObject *argv[3];
43319  int ii;
43320 
43321  if (!PyTuple_Check(args)) SWIG_fail;
43322  argc = args ? (int)PyObject_Length(args) : 0;
43323  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
43324  argv[ii] = PyTuple_GET_ITEM(args,ii);
43325  }
43326  if (argc == 0) {
43327  return _wrap_new_vector_ModuleThreadProcessorPtr__SWIG_0(self, args);
43328  }
43329  if (argc == 1) {
43330  int _v;
43331  {
43332  int res = SWIG_AsVal_size_t(argv[0], NULL);
43333  _v = SWIG_CheckState(res);
43334  }
43335  if (_v) {
43336  return _wrap_new_vector_ModuleThreadProcessorPtr__SWIG_2(self, args);
43337  }
43338  }
43339  if (argc == 1) {
43340  int _v;
43341  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
43342  _v = SWIG_CheckState(res);
43343  if (_v) {
43344  return _wrap_new_vector_ModuleThreadProcessorPtr__SWIG_1(self, args);
43345  }
43346  }
43347  if (argc == 2) {
43348  int _v;
43349  {
43350  int res = SWIG_AsVal_size_t(argv[0], NULL);
43351  _v = SWIG_CheckState(res);
43352  }
43353  if (_v) {
43354  void *vptr = 0;
43355  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ModuleThreadProcessor, 0);
43356  _v = SWIG_CheckState(res);
43357  if (_v) {
43358  return _wrap_new_vector_ModuleThreadProcessorPtr__SWIG_3(self, args);
43359  }
43360  }
43361  }
43362 
43363 fail:
43364  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_ModuleThreadProcessorPtr'.\n"
43365  " Possible C/C++ prototypes are:\n"
43366  " std::vector< ModuleThreadProcessor * >::vector()\n"
43367  " std::vector< ModuleThreadProcessor * >::vector(std::vector< ModuleThreadProcessor * > const &)\n"
43368  " std::vector< ModuleThreadProcessor * >::vector(std::vector< ModuleThreadProcessor * >::size_type)\n"
43369  " std::vector< ModuleThreadProcessor * >::vector(std::vector< ModuleThreadProcessor * >::size_type,std::vector< ModuleThreadProcessor * >::value_type)\n");
43370  return 0;
43371 }
43372 
43373 
43374 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43375  PyObject *resultobj = 0;
43376  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43377  std::vector< ModuleThreadProcessor * >::value_type arg2 = (std::vector< ModuleThreadProcessor * >::value_type) 0 ;
43378  void *argp1 = 0 ;
43379  int res1 = 0 ;
43380  void *argp2 = 0 ;
43381  int res2 = 0 ;
43382  PyObject * obj0 = 0 ;
43383  PyObject * obj1 = 0 ;
43384 
43385  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ModuleThreadProcessorPtr_push_back",&obj0,&obj1)) SWIG_fail;
43386  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43387  if (!SWIG_IsOK(res1)) {
43388  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_push_back" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
43389  }
43390  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43391  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ModuleThreadProcessor, 0 | 0 );
43392  if (!SWIG_IsOK(res2)) {
43393  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_ModuleThreadProcessorPtr_push_back" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::value_type""'");
43394  }
43395  arg2 = reinterpret_cast< std::vector< ModuleThreadProcessor * >::value_type >(argp2);
43396  (arg1)->push_back(arg2);
43397  resultobj = SWIG_Py_Void();
43398  return resultobj;
43399 fail:
43400  return NULL;
43401 }
43402 
43403 
43404 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43405  PyObject *resultobj = 0;
43406  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43407  void *argp1 = 0 ;
43408  int res1 = 0 ;
43409  PyObject * obj0 = 0 ;
43410  std::vector< ModuleThreadProcessor * >::value_type result;
43411 
43412  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr_front",&obj0)) SWIG_fail;
43413  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43414  if (!SWIG_IsOK(res1)) {
43415  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_front" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > const *""'");
43416  }
43417  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43418  result = (std::vector< ModuleThreadProcessor * >::value_type)((std::vector< ModuleThreadProcessor * > const *)arg1)->front();
43419  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ModuleThreadProcessor, 0 | 0 );
43420  return resultobj;
43421 fail:
43422  return NULL;
43423 }
43424 
43425 
43426 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43427  PyObject *resultobj = 0;
43428  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43429  void *argp1 = 0 ;
43430  int res1 = 0 ;
43431  PyObject * obj0 = 0 ;
43432  std::vector< ModuleThreadProcessor * >::value_type result;
43433 
43434  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr_back",&obj0)) SWIG_fail;
43435  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43436  if (!SWIG_IsOK(res1)) {
43437  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_back" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > const *""'");
43438  }
43439  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43440  result = (std::vector< ModuleThreadProcessor * >::value_type)((std::vector< ModuleThreadProcessor * > const *)arg1)->back();
43441  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ModuleThreadProcessor, 0 | 0 );
43442  return resultobj;
43443 fail:
43444  return NULL;
43445 }
43446 
43447 
43448 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43449  PyObject *resultobj = 0;
43450  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43451  std::vector< ModuleThreadProcessor * >::size_type arg2 ;
43452  std::vector< ModuleThreadProcessor * >::value_type arg3 = (std::vector< ModuleThreadProcessor * >::value_type) 0 ;
43453  void *argp1 = 0 ;
43454  int res1 = 0 ;
43455  size_t val2 ;
43456  int ecode2 = 0 ;
43457  void *argp3 = 0 ;
43458  int res3 = 0 ;
43459  PyObject * obj0 = 0 ;
43460  PyObject * obj1 = 0 ;
43461  PyObject * obj2 = 0 ;
43462 
43463  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ModuleThreadProcessorPtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
43464  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43465  if (!SWIG_IsOK(res1)) {
43466  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_assign" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
43467  }
43468  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43469  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
43470  if (!SWIG_IsOK(ecode2)) {
43471  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ModuleThreadProcessorPtr_assign" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::size_type""'");
43472  }
43473  arg2 = static_cast< std::vector< ModuleThreadProcessor * >::size_type >(val2);
43474  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ModuleThreadProcessor, 0 | 0 );
43475  if (!SWIG_IsOK(res3)) {
43476  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ModuleThreadProcessorPtr_assign" "', argument " "3"" of type '" "std::vector< ModuleThreadProcessor * >::value_type""'");
43477  }
43478  arg3 = reinterpret_cast< std::vector< ModuleThreadProcessor * >::value_type >(argp3);
43479  (arg1)->assign(arg2,arg3);
43480  resultobj = SWIG_Py_Void();
43481  return resultobj;
43482 fail:
43483  return NULL;
43484 }
43485 
43486 
43487 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43488  PyObject *resultobj = 0;
43489  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43490  std::vector< ModuleThreadProcessor * >::size_type arg2 ;
43491  std::vector< ModuleThreadProcessor * >::value_type arg3 = (std::vector< ModuleThreadProcessor * >::value_type) 0 ;
43492  void *argp1 = 0 ;
43493  int res1 = 0 ;
43494  size_t val2 ;
43495  int ecode2 = 0 ;
43496  void *argp3 = 0 ;
43497  int res3 = 0 ;
43498  PyObject * obj0 = 0 ;
43499  PyObject * obj1 = 0 ;
43500  PyObject * obj2 = 0 ;
43501 
43502  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ModuleThreadProcessorPtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
43503  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43504  if (!SWIG_IsOK(res1)) {
43505  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_resize" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
43506  }
43507  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43508  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
43509  if (!SWIG_IsOK(ecode2)) {
43510  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ModuleThreadProcessorPtr_resize" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::size_type""'");
43511  }
43512  arg2 = static_cast< std::vector< ModuleThreadProcessor * >::size_type >(val2);
43513  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ModuleThreadProcessor, 0 | 0 );
43514  if (!SWIG_IsOK(res3)) {
43515  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ModuleThreadProcessorPtr_resize" "', argument " "3"" of type '" "std::vector< ModuleThreadProcessor * >::value_type""'");
43516  }
43517  arg3 = reinterpret_cast< std::vector< ModuleThreadProcessor * >::value_type >(argp3);
43518  (arg1)->resize(arg2,arg3);
43519  resultobj = SWIG_Py_Void();
43520  return resultobj;
43521 fail:
43522  return NULL;
43523 }
43524 
43525 
43526 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_resize(PyObject *self, PyObject *args) {
43527  int argc;
43528  PyObject *argv[4];
43529  int ii;
43530 
43531  if (!PyTuple_Check(args)) SWIG_fail;
43532  argc = args ? (int)PyObject_Length(args) : 0;
43533  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
43534  argv[ii] = PyTuple_GET_ITEM(args,ii);
43535  }
43536  if (argc == 2) {
43537  int _v;
43538  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
43539  _v = SWIG_CheckState(res);
43540  if (_v) {
43541  {
43542  int res = SWIG_AsVal_size_t(argv[1], NULL);
43543  _v = SWIG_CheckState(res);
43544  }
43545  if (_v) {
43546  return _wrap_vector_ModuleThreadProcessorPtr_resize__SWIG_0(self, args);
43547  }
43548  }
43549  }
43550  if (argc == 3) {
43551  int _v;
43552  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
43553  _v = SWIG_CheckState(res);
43554  if (_v) {
43555  {
43556  int res = SWIG_AsVal_size_t(argv[1], NULL);
43557  _v = SWIG_CheckState(res);
43558  }
43559  if (_v) {
43560  void *vptr = 0;
43561  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ModuleThreadProcessor, 0);
43562  _v = SWIG_CheckState(res);
43563  if (_v) {
43564  return _wrap_vector_ModuleThreadProcessorPtr_resize__SWIG_1(self, args);
43565  }
43566  }
43567  }
43568  }
43569 
43570 fail:
43571  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ModuleThreadProcessorPtr_resize'.\n"
43572  " Possible C/C++ prototypes are:\n"
43573  " std::vector< ModuleThreadProcessor * >::resize(std::vector< ModuleThreadProcessor * >::size_type)\n"
43574  " std::vector< ModuleThreadProcessor * >::resize(std::vector< ModuleThreadProcessor * >::size_type,std::vector< ModuleThreadProcessor * >::value_type)\n");
43575  return 0;
43576 }
43577 
43578 
43579 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43580  PyObject *resultobj = 0;
43581  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43582  std::vector< ModuleThreadProcessor * >::iterator arg2 ;
43583  std::vector< ModuleThreadProcessor * >::value_type arg3 = (std::vector< ModuleThreadProcessor * >::value_type) 0 ;
43584  void *argp1 = 0 ;
43585  int res1 = 0 ;
43586  swig::SwigPyIterator *iter2 = 0 ;
43587  int res2 ;
43588  void *argp3 = 0 ;
43589  int res3 = 0 ;
43590  PyObject * obj0 = 0 ;
43591  PyObject * obj1 = 0 ;
43592  PyObject * obj2 = 0 ;
43593  std::vector< ModuleThreadProcessor * >::iterator result;
43594 
43595  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ModuleThreadProcessorPtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
43596  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43597  if (!SWIG_IsOK(res1)) {
43598  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_insert" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
43599  }
43600  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43601  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
43602  if (!SWIG_IsOK(res2) || !iter2) {
43603  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ModuleThreadProcessorPtr_insert" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::iterator""'");
43604  } else {
43606  if (iter_t) {
43607  arg2 = iter_t->get_current();
43608  } else {
43609  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ModuleThreadProcessorPtr_insert" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::iterator""'");
43610  }
43611  }
43612  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ModuleThreadProcessor, 0 | 0 );
43613  if (!SWIG_IsOK(res3)) {
43614  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ModuleThreadProcessorPtr_insert" "', argument " "3"" of type '" "std::vector< ModuleThreadProcessor * >::value_type""'");
43615  }
43616  arg3 = reinterpret_cast< std::vector< ModuleThreadProcessor * >::value_type >(argp3);
43617  result = std_vector_Sl_ModuleThreadProcessor_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
43618  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ModuleThreadProcessor * >::iterator & >(result)),
43619  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
43620  return resultobj;
43621 fail:
43622  return NULL;
43623 }
43624 
43625 
43626 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43627  PyObject *resultobj = 0;
43628  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43629  std::vector< ModuleThreadProcessor * >::iterator arg2 ;
43630  std::vector< ModuleThreadProcessor * >::size_type arg3 ;
43631  std::vector< ModuleThreadProcessor * >::value_type arg4 = (std::vector< ModuleThreadProcessor * >::value_type) 0 ;
43632  void *argp1 = 0 ;
43633  int res1 = 0 ;
43634  swig::SwigPyIterator *iter2 = 0 ;
43635  int res2 ;
43636  size_t val3 ;
43637  int ecode3 = 0 ;
43638  void *argp4 = 0 ;
43639  int res4 = 0 ;
43640  PyObject * obj0 = 0 ;
43641  PyObject * obj1 = 0 ;
43642  PyObject * obj2 = 0 ;
43643  PyObject * obj3 = 0 ;
43644 
43645  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_ModuleThreadProcessorPtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
43646  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43647  if (!SWIG_IsOK(res1)) {
43648  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_insert" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
43649  }
43650  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43651  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
43652  if (!SWIG_IsOK(res2) || !iter2) {
43653  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ModuleThreadProcessorPtr_insert" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::iterator""'");
43654  } else {
43656  if (iter_t) {
43657  arg2 = iter_t->get_current();
43658  } else {
43659  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ModuleThreadProcessorPtr_insert" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::iterator""'");
43660  }
43661  }
43662  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
43663  if (!SWIG_IsOK(ecode3)) {
43664  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ModuleThreadProcessorPtr_insert" "', argument " "3"" of type '" "std::vector< ModuleThreadProcessor * >::size_type""'");
43665  }
43666  arg3 = static_cast< std::vector< ModuleThreadProcessor * >::size_type >(val3);
43667  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_ModuleThreadProcessor, 0 | 0 );
43668  if (!SWIG_IsOK(res4)) {
43669  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_ModuleThreadProcessorPtr_insert" "', argument " "4"" of type '" "std::vector< ModuleThreadProcessor * >::value_type""'");
43670  }
43671  arg4 = reinterpret_cast< std::vector< ModuleThreadProcessor * >::value_type >(argp4);
43672  std_vector_Sl_ModuleThreadProcessor_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
43673  resultobj = SWIG_Py_Void();
43674  return resultobj;
43675 fail:
43676  return NULL;
43677 }
43678 
43679 
43680 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_insert(PyObject *self, PyObject *args) {
43681  int argc;
43682  PyObject *argv[5];
43683  int ii;
43684 
43685  if (!PyTuple_Check(args)) SWIG_fail;
43686  argc = args ? (int)PyObject_Length(args) : 0;
43687  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
43688  argv[ii] = PyTuple_GET_ITEM(args,ii);
43689  }
43690  if (argc == 3) {
43691  int _v;
43692  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
43693  _v = SWIG_CheckState(res);
43694  if (_v) {
43695  swig::SwigPyIterator *iter = 0;
43696  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
43697  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ModuleThreadProcessor * >::iterator > *>(iter) != 0));
43698  if (_v) {
43699  void *vptr = 0;
43700  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ModuleThreadProcessor, 0);
43701  _v = SWIG_CheckState(res);
43702  if (_v) {
43703  return _wrap_vector_ModuleThreadProcessorPtr_insert__SWIG_0(self, args);
43704  }
43705  }
43706  }
43707  }
43708  if (argc == 4) {
43709  int _v;
43710  int res = swig::asptr(argv[0], (std::vector<ModuleThreadProcessor*,std::allocator< ModuleThreadProcessor * > >**)(0));
43711  _v = SWIG_CheckState(res);
43712  if (_v) {
43713  swig::SwigPyIterator *iter = 0;
43714  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
43715  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ModuleThreadProcessor * >::iterator > *>(iter) != 0));
43716  if (_v) {
43717  {
43718  int res = SWIG_AsVal_size_t(argv[2], NULL);
43719  _v = SWIG_CheckState(res);
43720  }
43721  if (_v) {
43722  void *vptr = 0;
43723  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_ModuleThreadProcessor, 0);
43724  _v = SWIG_CheckState(res);
43725  if (_v) {
43726  return _wrap_vector_ModuleThreadProcessorPtr_insert__SWIG_1(self, args);
43727  }
43728  }
43729  }
43730  }
43731  }
43732 
43733 fail:
43734  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ModuleThreadProcessorPtr_insert'.\n"
43735  " Possible C/C++ prototypes are:\n"
43736  " std::vector< ModuleThreadProcessor * >::insert(std::vector< ModuleThreadProcessor * >::iterator,std::vector< ModuleThreadProcessor * >::value_type)\n"
43737  " std::vector< ModuleThreadProcessor * >::insert(std::vector< ModuleThreadProcessor * >::iterator,std::vector< ModuleThreadProcessor * >::size_type,std::vector< ModuleThreadProcessor * >::value_type)\n");
43738  return 0;
43739 }
43740 
43741 
43742 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43743  PyObject *resultobj = 0;
43744  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43745  std::vector< ModuleThreadProcessor * >::size_type arg2 ;
43746  void *argp1 = 0 ;
43747  int res1 = 0 ;
43748  size_t val2 ;
43749  int ecode2 = 0 ;
43750  PyObject * obj0 = 0 ;
43751  PyObject * obj1 = 0 ;
43752 
43753  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ModuleThreadProcessorPtr_reserve",&obj0,&obj1)) SWIG_fail;
43754  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43755  if (!SWIG_IsOK(res1)) {
43756  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_reserve" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
43757  }
43758  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43759  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
43760  if (!SWIG_IsOK(ecode2)) {
43761  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ModuleThreadProcessorPtr_reserve" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor * >::size_type""'");
43762  }
43763  arg2 = static_cast< std::vector< ModuleThreadProcessor * >::size_type >(val2);
43764  (arg1)->reserve(arg2);
43765  resultobj = SWIG_Py_Void();
43766  return resultobj;
43767 fail:
43768  return NULL;
43769 }
43770 
43771 
43772 SWIGINTERN PyObject *_wrap_vector_ModuleThreadProcessorPtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43773  PyObject *resultobj = 0;
43774  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43775  void *argp1 = 0 ;
43776  int res1 = 0 ;
43777  PyObject * obj0 = 0 ;
43778  std::vector< ModuleThreadProcessor * >::size_type result;
43779 
43780  if (!PyArg_ParseTuple(args,(char *)"O:vector_ModuleThreadProcessorPtr_capacity",&obj0)) SWIG_fail;
43781  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0 | 0 );
43782  if (!SWIG_IsOK(res1)) {
43783  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ModuleThreadProcessorPtr_capacity" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > const *""'");
43784  }
43785  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43786  result = ((std::vector< ModuleThreadProcessor * > const *)arg1)->capacity();
43787  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
43788  return resultobj;
43789 fail:
43790  return NULL;
43791 }
43792 
43793 
43794 SWIGINTERN PyObject *_wrap_delete_vector_ModuleThreadProcessorPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43795  PyObject *resultobj = 0;
43796  std::vector< ModuleThreadProcessor * > *arg1 = (std::vector< ModuleThreadProcessor * > *) 0 ;
43797  void *argp1 = 0 ;
43798  int res1 = 0 ;
43799  PyObject * obj0 = 0 ;
43800 
43801  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_ModuleThreadProcessorPtr",&obj0)) SWIG_fail;
43802  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, SWIG_POINTER_DISOWN | 0 );
43803  if (!SWIG_IsOK(res1)) {
43804  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_ModuleThreadProcessorPtr" "', argument " "1"" of type '" "std::vector< ModuleThreadProcessor * > *""'");
43805  }
43806  arg1 = reinterpret_cast< std::vector< ModuleThreadProcessor * > * >(argp1);
43807  {
43808  try {
43809  delete arg1;
43810  }
43811  catch(CStdErrorInfo oError)
43812  {
43813  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
43814  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
43815  PyErr_SetString(PyExc_IndexError, strError.c_str());
43816  SWIG_fail;
43817  }
43818  catch(...)
43819  {
43820  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
43821  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
43822  SWIG_fail;
43823  }
43824  }
43825  resultobj = SWIG_Py_Void();
43826  return resultobj;
43827 fail:
43828  return NULL;
43829 }
43830 
43831 
43832 SWIGINTERN PyObject *vector_ModuleThreadProcessorPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43833  PyObject *obj;
43834  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
43835  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, SWIG_NewClientData(obj));
43836  return SWIG_Py_Void();
43837 }
43838 
43839 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43840  PyObject *resultobj = 0;
43841  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
43842  PyObject **arg2 = (PyObject **) 0 ;
43843  void *argp1 = 0 ;
43844  int res1 = 0 ;
43845  PyObject * obj0 = 0 ;
43846  swig::SwigPyIterator *result = 0 ;
43847 
43848  arg2 = &obj0;
43849  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr_iterator",&obj0)) SWIG_fail;
43850  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
43851  if (!SWIG_IsOK(res1)) {
43852  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_iterator" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
43853  }
43854  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
43855  result = (swig::SwigPyIterator *)std_vector_Sl_ReceptiveFieldPair_Sm__Sg__iterator(arg1,arg2);
43856  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
43857  return resultobj;
43858 fail:
43859  return NULL;
43860 }
43861 
43862 
43863 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43864  PyObject *resultobj = 0;
43865  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
43866  void *argp1 = 0 ;
43867  int res1 = 0 ;
43868  PyObject * obj0 = 0 ;
43869  bool result;
43870 
43871  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr___nonzero__",&obj0)) SWIG_fail;
43872  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
43873  if (!SWIG_IsOK(res1)) {
43874  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr___nonzero__" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > const *""'");
43875  }
43876  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
43877  result = (bool)std_vector_Sl_ReceptiveFieldPair_Sm__Sg____nonzero__((std::vector< ReceptiveFieldPair * > const *)arg1);
43878  resultobj = SWIG_From_bool(static_cast< bool >(result));
43879  return resultobj;
43880 fail:
43881  return NULL;
43882 }
43883 
43884 
43885 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43886  PyObject *resultobj = 0;
43887  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
43888  void *argp1 = 0 ;
43889  int res1 = 0 ;
43890  PyObject * obj0 = 0 ;
43891  bool result;
43892 
43893  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr___bool__",&obj0)) SWIG_fail;
43894  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
43895  if (!SWIG_IsOK(res1)) {
43896  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr___bool__" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > const *""'");
43897  }
43898  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
43899  result = (bool)std_vector_Sl_ReceptiveFieldPair_Sm__Sg____bool__((std::vector< ReceptiveFieldPair * > const *)arg1);
43900  resultobj = SWIG_From_bool(static_cast< bool >(result));
43901  return resultobj;
43902 fail:
43903  return NULL;
43904 }
43905 
43906 
43907 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43908  PyObject *resultobj = 0;
43909  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
43910  void *argp1 = 0 ;
43911  int res1 = 0 ;
43912  PyObject * obj0 = 0 ;
43913  std::vector< ReceptiveFieldPair * >::size_type result;
43914 
43915  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr___len__",&obj0)) SWIG_fail;
43916  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
43917  if (!SWIG_IsOK(res1)) {
43918  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr___len__" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > const *""'");
43919  }
43920  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
43921  result = std_vector_Sl_ReceptiveFieldPair_Sm__Sg____len__((std::vector< ReceptiveFieldPair * > const *)arg1);
43922  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
43923  return resultobj;
43924 fail:
43925  return NULL;
43926 }
43927 
43928 
43929 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43930  PyObject *resultobj = 0;
43931  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
43932  void *argp1 = 0 ;
43933  int res1 = 0 ;
43934  PyObject * obj0 = 0 ;
43935  std::vector< ReceptiveFieldPair * >::value_type result;
43936 
43937  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr_pop",&obj0)) SWIG_fail;
43938  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
43939  if (!SWIG_IsOK(res1)) {
43940  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_pop" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
43941  }
43942  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
43943  try {
43944  result = (std::vector< ReceptiveFieldPair * >::value_type)std_vector_Sl_ReceptiveFieldPair_Sm__Sg__pop(arg1);
43945  }
43946  catch(std::out_of_range &_e) {
43947  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
43948  }
43949 
43950  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ReceptiveFieldPair, 0 | 0 );
43951  return resultobj;
43952 fail:
43953  return NULL;
43954 }
43955 
43956 
43957 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43958  PyObject *resultobj = 0;
43959  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
43960  std::vector< ReceptiveFieldPair * >::difference_type arg2 ;
43961  std::vector< ReceptiveFieldPair * >::difference_type arg3 ;
43962  void *argp1 = 0 ;
43963  int res1 = 0 ;
43964  ptrdiff_t val2 ;
43965  int ecode2 = 0 ;
43966  ptrdiff_t val3 ;
43967  int ecode3 = 0 ;
43968  PyObject * obj0 = 0 ;
43969  PyObject * obj1 = 0 ;
43970  PyObject * obj2 = 0 ;
43971  std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > *result = 0 ;
43972 
43973  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPairPtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
43974  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
43975  if (!SWIG_IsOK(res1)) {
43976  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr___getslice__" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
43977  }
43978  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
43979  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
43980  if (!SWIG_IsOK(ecode2)) {
43981  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPairPtr___getslice__" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::difference_type""'");
43982  }
43983  arg2 = static_cast< std::vector< ReceptiveFieldPair * >::difference_type >(val2);
43984  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
43985  if (!SWIG_IsOK(ecode3)) {
43986  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ReceptiveFieldPairPtr___getslice__" "', argument " "3"" of type '" "std::vector< ReceptiveFieldPair * >::difference_type""'");
43987  }
43988  arg3 = static_cast< std::vector< ReceptiveFieldPair * >::difference_type >(val3);
43989  try {
43990  result = (std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > *)std_vector_Sl_ReceptiveFieldPair_Sm__Sg____getslice__(arg1,arg2,arg3);
43991  }
43992  catch(std::out_of_range &_e) {
43993  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
43994  }
43995  catch(std::invalid_argument &_e) {
43996  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
43997  }
43998 
43999  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, SWIG_POINTER_OWN | 0 );
44000  return resultobj;
44001 fail:
44002  return NULL;
44003 }
44004 
44005 
44006 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44007  PyObject *resultobj = 0;
44008  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44009  std::vector< ReceptiveFieldPair * >::difference_type arg2 ;
44010  std::vector< ReceptiveFieldPair * >::difference_type arg3 ;
44011  std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > *arg4 = 0 ;
44012  void *argp1 = 0 ;
44013  int res1 = 0 ;
44014  ptrdiff_t val2 ;
44015  int ecode2 = 0 ;
44016  ptrdiff_t val3 ;
44017  int ecode3 = 0 ;
44018  int res4 = SWIG_OLDOBJ ;
44019  PyObject * obj0 = 0 ;
44020  PyObject * obj1 = 0 ;
44021  PyObject * obj2 = 0 ;
44022  PyObject * obj3 = 0 ;
44023 
44024  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_ReceptiveFieldPairPtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
44025  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44026  if (!SWIG_IsOK(res1)) {
44027  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr___setslice__" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44028  }
44029  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44030  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
44031  if (!SWIG_IsOK(ecode2)) {
44032  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPairPtr___setslice__" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::difference_type""'");
44033  }
44034  arg2 = static_cast< std::vector< ReceptiveFieldPair * >::difference_type >(val2);
44035  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
44036  if (!SWIG_IsOK(ecode3)) {
44037  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ReceptiveFieldPairPtr___setslice__" "', argument " "3"" of type '" "std::vector< ReceptiveFieldPair * >::difference_type""'");
44038  }
44039  arg3 = static_cast< std::vector< ReceptiveFieldPair * >::difference_type >(val3);
44040  {
44041  std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > > *ptr = (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > > *)0;
44042  res4 = swig::asptr(obj3, &ptr);
44043  if (!SWIG_IsOK(res4)) {
44044  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_ReceptiveFieldPairPtr___setslice__" "', argument " "4"" of type '" "std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > const &""'");
44045  }
44046  if (!ptr) {
44047  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_ReceptiveFieldPairPtr___setslice__" "', argument " "4"" of type '" "std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > const &""'");
44048  }
44049  arg4 = ptr;
44050  }
44051  try {
44052  std_vector_Sl_ReceptiveFieldPair_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > const &)*arg4);
44053  }
44054  catch(std::out_of_range &_e) {
44055  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
44056  }
44057  catch(std::invalid_argument &_e) {
44058  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
44059  }
44060 
44061  resultobj = SWIG_Py_Void();
44062  if (SWIG_IsNewObj(res4)) delete arg4;
44063  return resultobj;
44064 fail:
44065  if (SWIG_IsNewObj(res4)) delete arg4;
44066  return NULL;
44067 }
44068 
44069 
44070 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44071  PyObject *resultobj = 0;
44072  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44073  std::vector< ReceptiveFieldPair * >::difference_type arg2 ;
44074  std::vector< ReceptiveFieldPair * >::difference_type arg3 ;
44075  void *argp1 = 0 ;
44076  int res1 = 0 ;
44077  ptrdiff_t val2 ;
44078  int ecode2 = 0 ;
44079  ptrdiff_t val3 ;
44080  int ecode3 = 0 ;
44081  PyObject * obj0 = 0 ;
44082  PyObject * obj1 = 0 ;
44083  PyObject * obj2 = 0 ;
44084 
44085  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPairPtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
44086  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44087  if (!SWIG_IsOK(res1)) {
44088  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr___setslice__" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44089  }
44090  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44091  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
44092  if (!SWIG_IsOK(ecode2)) {
44093  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPairPtr___setslice__" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::difference_type""'");
44094  }
44095  arg2 = static_cast< std::vector< ReceptiveFieldPair * >::difference_type >(val2);
44096  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
44097  if (!SWIG_IsOK(ecode3)) {
44098  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ReceptiveFieldPairPtr___setslice__" "', argument " "3"" of type '" "std::vector< ReceptiveFieldPair * >::difference_type""'");
44099  }
44100  arg3 = static_cast< std::vector< ReceptiveFieldPair * >::difference_type >(val3);
44101  try {
44102  std_vector_Sl_ReceptiveFieldPair_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
44103  }
44104  catch(std::out_of_range &_e) {
44105  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
44106  }
44107  catch(std::invalid_argument &_e) {
44108  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
44109  }
44110 
44111  resultobj = SWIG_Py_Void();
44112  return resultobj;
44113 fail:
44114  return NULL;
44115 }
44116 
44117 
44118 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___setslice__(PyObject *self, PyObject *args) {
44119  int argc;
44120  PyObject *argv[5];
44121  int ii;
44122 
44123  if (!PyTuple_Check(args)) SWIG_fail;
44124  argc = args ? (int)PyObject_Length(args) : 0;
44125  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
44126  argv[ii] = PyTuple_GET_ITEM(args,ii);
44127  }
44128  if (argc == 3) {
44129  int _v;
44130  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
44131  _v = SWIG_CheckState(res);
44132  if (_v) {
44133  {
44134  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
44135  _v = SWIG_CheckState(res);
44136  }
44137  if (_v) {
44138  {
44139  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
44140  _v = SWIG_CheckState(res);
44141  }
44142  if (_v) {
44143  return _wrap_vector_ReceptiveFieldPairPtr___setslice____SWIG_1(self, args);
44144  }
44145  }
44146  }
44147  }
44148  if (argc == 4) {
44149  int _v;
44150  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
44151  _v = SWIG_CheckState(res);
44152  if (_v) {
44153  {
44154  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
44155  _v = SWIG_CheckState(res);
44156  }
44157  if (_v) {
44158  {
44159  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
44160  _v = SWIG_CheckState(res);
44161  }
44162  if (_v) {
44163  int res = swig::asptr(argv[3], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
44164  _v = SWIG_CheckState(res);
44165  if (_v) {
44166  return _wrap_vector_ReceptiveFieldPairPtr___setslice____SWIG_0(self, args);
44167  }
44168  }
44169  }
44170  }
44171  }
44172 
44173 fail:
44174  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ReceptiveFieldPairPtr___setslice__'.\n"
44175  " Possible C/C++ prototypes are:\n"
44176  " std::vector< ReceptiveFieldPair * >::__setslice__(std::vector< ReceptiveFieldPair * >::difference_type,std::vector< ReceptiveFieldPair * >::difference_type,std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > const &)\n"
44177  " std::vector< ReceptiveFieldPair * >::__setslice__(std::vector< ReceptiveFieldPair * >::difference_type,std::vector< ReceptiveFieldPair * >::difference_type)\n");
44178  return 0;
44179 }
44180 
44181 
44182 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44183  PyObject *resultobj = 0;
44184  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44185  std::vector< ReceptiveFieldPair * >::difference_type arg2 ;
44186  std::vector< ReceptiveFieldPair * >::difference_type arg3 ;
44187  void *argp1 = 0 ;
44188  int res1 = 0 ;
44189  ptrdiff_t val2 ;
44190  int ecode2 = 0 ;
44191  ptrdiff_t val3 ;
44192  int ecode3 = 0 ;
44193  PyObject * obj0 = 0 ;
44194  PyObject * obj1 = 0 ;
44195  PyObject * obj2 = 0 ;
44196 
44197  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPairPtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
44198  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44199  if (!SWIG_IsOK(res1)) {
44200  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr___delslice__" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44201  }
44202  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44203  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
44204  if (!SWIG_IsOK(ecode2)) {
44205  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPairPtr___delslice__" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::difference_type""'");
44206  }
44207  arg2 = static_cast< std::vector< ReceptiveFieldPair * >::difference_type >(val2);
44208  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
44209  if (!SWIG_IsOK(ecode3)) {
44210  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ReceptiveFieldPairPtr___delslice__" "', argument " "3"" of type '" "std::vector< ReceptiveFieldPair * >::difference_type""'");
44211  }
44212  arg3 = static_cast< std::vector< ReceptiveFieldPair * >::difference_type >(val3);
44213  try {
44214  std_vector_Sl_ReceptiveFieldPair_Sm__Sg____delslice__(arg1,arg2,arg3);
44215  }
44216  catch(std::out_of_range &_e) {
44217  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
44218  }
44219  catch(std::invalid_argument &_e) {
44220  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
44221  }
44222 
44223  resultobj = SWIG_Py_Void();
44224  return resultobj;
44225 fail:
44226  return NULL;
44227 }
44228 
44229 
44230 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44231  PyObject *resultobj = 0;
44232  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44233  std::vector< ReceptiveFieldPair * >::difference_type arg2 ;
44234  void *argp1 = 0 ;
44235  int res1 = 0 ;
44236  ptrdiff_t val2 ;
44237  int ecode2 = 0 ;
44238  PyObject * obj0 = 0 ;
44239  PyObject * obj1 = 0 ;
44240 
44241  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPairPtr___delitem__",&obj0,&obj1)) SWIG_fail;
44242  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44243  if (!SWIG_IsOK(res1)) {
44244  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr___delitem__" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44245  }
44246  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44247  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
44248  if (!SWIG_IsOK(ecode2)) {
44249  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPairPtr___delitem__" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::difference_type""'");
44250  }
44251  arg2 = static_cast< std::vector< ReceptiveFieldPair * >::difference_type >(val2);
44252  try {
44253  std_vector_Sl_ReceptiveFieldPair_Sm__Sg____delitem____SWIG_0(arg1,arg2);
44254  }
44255  catch(std::out_of_range &_e) {
44256  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
44257  }
44258 
44259  resultobj = SWIG_Py_Void();
44260  return resultobj;
44261 fail:
44262  return NULL;
44263 }
44264 
44265 
44266 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44267  PyObject *resultobj = 0;
44268  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44269  PySliceObject *arg2 = (PySliceObject *) 0 ;
44270  void *argp1 = 0 ;
44271  int res1 = 0 ;
44272  PyObject * obj0 = 0 ;
44273  PyObject * obj1 = 0 ;
44274  std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > *result = 0 ;
44275 
44276  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPairPtr___getitem__",&obj0,&obj1)) SWIG_fail;
44277  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44278  if (!SWIG_IsOK(res1)) {
44279  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr___getitem__" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44280  }
44281  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44282  {
44283  if (!PySlice_Check(obj1)) {
44284  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPairPtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
44285  }
44286  arg2 = (PySliceObject *) obj1;
44287  }
44288  try {
44289  result = (std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > *)std_vector_Sl_ReceptiveFieldPair_Sm__Sg____getitem____SWIG_0(arg1,arg2);
44290  }
44291  catch(std::out_of_range &_e) {
44292  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
44293  }
44294  catch(std::invalid_argument &_e) {
44295  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
44296  }
44297 
44298  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, SWIG_POINTER_OWN | 0 );
44299  return resultobj;
44300 fail:
44301  return NULL;
44302 }
44303 
44304 
44305 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44306  PyObject *resultobj = 0;
44307  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44308  PySliceObject *arg2 = (PySliceObject *) 0 ;
44309  std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > *arg3 = 0 ;
44310  void *argp1 = 0 ;
44311  int res1 = 0 ;
44312  int res3 = SWIG_OLDOBJ ;
44313  PyObject * obj0 = 0 ;
44314  PyObject * obj1 = 0 ;
44315  PyObject * obj2 = 0 ;
44316 
44317  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPairPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
44318  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44319  if (!SWIG_IsOK(res1)) {
44320  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr___setitem__" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44321  }
44322  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44323  {
44324  if (!PySlice_Check(obj1)) {
44325  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPairPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
44326  }
44327  arg2 = (PySliceObject *) obj1;
44328  }
44329  {
44330  std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > > *ptr = (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > > *)0;
44331  res3 = swig::asptr(obj2, &ptr);
44332  if (!SWIG_IsOK(res3)) {
44333  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ReceptiveFieldPairPtr___setitem__" "', argument " "3"" of type '" "std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > const &""'");
44334  }
44335  if (!ptr) {
44336  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_ReceptiveFieldPairPtr___setitem__" "', argument " "3"" of type '" "std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > const &""'");
44337  }
44338  arg3 = ptr;
44339  }
44340  try {
44341  std_vector_Sl_ReceptiveFieldPair_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > const &)*arg3);
44342  }
44343  catch(std::out_of_range &_e) {
44344  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
44345  }
44346  catch(std::invalid_argument &_e) {
44347  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
44348  }
44349 
44350  resultobj = SWIG_Py_Void();
44351  if (SWIG_IsNewObj(res3)) delete arg3;
44352  return resultobj;
44353 fail:
44354  if (SWIG_IsNewObj(res3)) delete arg3;
44355  return NULL;
44356 }
44357 
44358 
44359 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44360  PyObject *resultobj = 0;
44361  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44362  PySliceObject *arg2 = (PySliceObject *) 0 ;
44363  void *argp1 = 0 ;
44364  int res1 = 0 ;
44365  PyObject * obj0 = 0 ;
44366  PyObject * obj1 = 0 ;
44367 
44368  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPairPtr___setitem__",&obj0,&obj1)) SWIG_fail;
44369  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44370  if (!SWIG_IsOK(res1)) {
44371  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr___setitem__" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44372  }
44373  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44374  {
44375  if (!PySlice_Check(obj1)) {
44376  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPairPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
44377  }
44378  arg2 = (PySliceObject *) obj1;
44379  }
44380  try {
44381  std_vector_Sl_ReceptiveFieldPair_Sm__Sg____setitem____SWIG_1(arg1,arg2);
44382  }
44383  catch(std::out_of_range &_e) {
44384  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
44385  }
44386  catch(std::invalid_argument &_e) {
44387  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
44388  }
44389 
44390  resultobj = SWIG_Py_Void();
44391  return resultobj;
44392 fail:
44393  return NULL;
44394 }
44395 
44396 
44397 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44398  PyObject *resultobj = 0;
44399  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44400  PySliceObject *arg2 = (PySliceObject *) 0 ;
44401  void *argp1 = 0 ;
44402  int res1 = 0 ;
44403  PyObject * obj0 = 0 ;
44404  PyObject * obj1 = 0 ;
44405 
44406  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPairPtr___delitem__",&obj0,&obj1)) SWIG_fail;
44407  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44408  if (!SWIG_IsOK(res1)) {
44409  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr___delitem__" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44410  }
44411  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44412  {
44413  if (!PySlice_Check(obj1)) {
44414  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPairPtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
44415  }
44416  arg2 = (PySliceObject *) obj1;
44417  }
44418  try {
44419  std_vector_Sl_ReceptiveFieldPair_Sm__Sg____delitem____SWIG_1(arg1,arg2);
44420  }
44421  catch(std::out_of_range &_e) {
44422  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
44423  }
44424  catch(std::invalid_argument &_e) {
44425  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
44426  }
44427 
44428  resultobj = SWIG_Py_Void();
44429  return resultobj;
44430 fail:
44431  return NULL;
44432 }
44433 
44434 
44435 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___delitem__(PyObject *self, PyObject *args) {
44436  int argc;
44437  PyObject *argv[3];
44438  int ii;
44439 
44440  if (!PyTuple_Check(args)) SWIG_fail;
44441  argc = args ? (int)PyObject_Length(args) : 0;
44442  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
44443  argv[ii] = PyTuple_GET_ITEM(args,ii);
44444  }
44445  if (argc == 2) {
44446  int _v;
44447  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
44448  _v = SWIG_CheckState(res);
44449  if (_v) {
44450  {
44451  _v = PySlice_Check(argv[1]);
44452  }
44453  if (_v) {
44454  return _wrap_vector_ReceptiveFieldPairPtr___delitem____SWIG_1(self, args);
44455  }
44456  }
44457  }
44458  if (argc == 2) {
44459  int _v;
44460  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
44461  _v = SWIG_CheckState(res);
44462  if (_v) {
44463  {
44464  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
44465  _v = SWIG_CheckState(res);
44466  }
44467  if (_v) {
44468  return _wrap_vector_ReceptiveFieldPairPtr___delitem____SWIG_0(self, args);
44469  }
44470  }
44471  }
44472 
44473 fail:
44474  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ReceptiveFieldPairPtr___delitem__'.\n"
44475  " Possible C/C++ prototypes are:\n"
44476  " std::vector< ReceptiveFieldPair * >::__delitem__(std::vector< ReceptiveFieldPair * >::difference_type)\n"
44477  " std::vector< ReceptiveFieldPair * >::__delitem__(PySliceObject *)\n");
44478  return 0;
44479 }
44480 
44481 
44482 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44483  PyObject *resultobj = 0;
44484  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44485  std::vector< ReceptiveFieldPair * >::difference_type arg2 ;
44486  void *argp1 = 0 ;
44487  int res1 = 0 ;
44488  ptrdiff_t val2 ;
44489  int ecode2 = 0 ;
44490  PyObject * obj0 = 0 ;
44491  PyObject * obj1 = 0 ;
44492  std::vector< ReceptiveFieldPair * >::value_type result;
44493 
44494  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPairPtr___getitem__",&obj0,&obj1)) SWIG_fail;
44495  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44496  if (!SWIG_IsOK(res1)) {
44497  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr___getitem__" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44498  }
44499  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44500  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
44501  if (!SWIG_IsOK(ecode2)) {
44502  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPairPtr___getitem__" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::difference_type""'");
44503  }
44504  arg2 = static_cast< std::vector< ReceptiveFieldPair * >::difference_type >(val2);
44505  try {
44506  result = (std::vector< ReceptiveFieldPair * >::value_type)std_vector_Sl_ReceptiveFieldPair_Sm__Sg____getitem____SWIG_1(arg1,arg2);
44507  }
44508  catch(std::out_of_range &_e) {
44509  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
44510  }
44511 
44512  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ReceptiveFieldPair, 0 | 0 );
44513  return resultobj;
44514 fail:
44515  return NULL;
44516 }
44517 
44518 
44519 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___getitem__(PyObject *self, PyObject *args) {
44520  int argc;
44521  PyObject *argv[3];
44522  int ii;
44523 
44524  if (!PyTuple_Check(args)) SWIG_fail;
44525  argc = args ? (int)PyObject_Length(args) : 0;
44526  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
44527  argv[ii] = PyTuple_GET_ITEM(args,ii);
44528  }
44529  if (argc == 2) {
44530  int _v;
44531  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
44532  _v = SWIG_CheckState(res);
44533  if (_v) {
44534  {
44535  _v = PySlice_Check(argv[1]);
44536  }
44537  if (_v) {
44538  return _wrap_vector_ReceptiveFieldPairPtr___getitem____SWIG_0(self, args);
44539  }
44540  }
44541  }
44542  if (argc == 2) {
44543  int _v;
44544  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
44545  _v = SWIG_CheckState(res);
44546  if (_v) {
44547  {
44548  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
44549  _v = SWIG_CheckState(res);
44550  }
44551  if (_v) {
44552  return _wrap_vector_ReceptiveFieldPairPtr___getitem____SWIG_1(self, args);
44553  }
44554  }
44555  }
44556 
44557 fail:
44558  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ReceptiveFieldPairPtr___getitem__'.\n"
44559  " Possible C/C++ prototypes are:\n"
44560  " std::vector< ReceptiveFieldPair * >::__getitem__(PySliceObject *)\n"
44561  " std::vector< ReceptiveFieldPair * >::__getitem__(std::vector< ReceptiveFieldPair * >::difference_type)\n");
44562  return 0;
44563 }
44564 
44565 
44566 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44567  PyObject *resultobj = 0;
44568  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44569  std::vector< ReceptiveFieldPair * >::difference_type arg2 ;
44570  std::vector< ReceptiveFieldPair * >::value_type arg3 = (std::vector< ReceptiveFieldPair * >::value_type) 0 ;
44571  void *argp1 = 0 ;
44572  int res1 = 0 ;
44573  ptrdiff_t val2 ;
44574  int ecode2 = 0 ;
44575  void *argp3 = 0 ;
44576  int res3 = 0 ;
44577  PyObject * obj0 = 0 ;
44578  PyObject * obj1 = 0 ;
44579  PyObject * obj2 = 0 ;
44580 
44581  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPairPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
44582  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44583  if (!SWIG_IsOK(res1)) {
44584  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr___setitem__" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44585  }
44586  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44587  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
44588  if (!SWIG_IsOK(ecode2)) {
44589  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPairPtr___setitem__" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::difference_type""'");
44590  }
44591  arg2 = static_cast< std::vector< ReceptiveFieldPair * >::difference_type >(val2);
44592  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ReceptiveFieldPair, 0 | 0 );
44593  if (!SWIG_IsOK(res3)) {
44594  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ReceptiveFieldPairPtr___setitem__" "', argument " "3"" of type '" "std::vector< ReceptiveFieldPair * >::value_type""'");
44595  }
44596  arg3 = reinterpret_cast< std::vector< ReceptiveFieldPair * >::value_type >(argp3);
44597  try {
44598  std_vector_Sl_ReceptiveFieldPair_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
44599  }
44600  catch(std::out_of_range &_e) {
44601  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
44602  }
44603 
44604  resultobj = SWIG_Py_Void();
44605  return resultobj;
44606 fail:
44607  return NULL;
44608 }
44609 
44610 
44611 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr___setitem__(PyObject *self, PyObject *args) {
44612  int argc;
44613  PyObject *argv[4];
44614  int ii;
44615 
44616  if (!PyTuple_Check(args)) SWIG_fail;
44617  argc = args ? (int)PyObject_Length(args) : 0;
44618  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
44619  argv[ii] = PyTuple_GET_ITEM(args,ii);
44620  }
44621  if (argc == 2) {
44622  int _v;
44623  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
44624  _v = SWIG_CheckState(res);
44625  if (_v) {
44626  {
44627  _v = PySlice_Check(argv[1]);
44628  }
44629  if (_v) {
44630  return _wrap_vector_ReceptiveFieldPairPtr___setitem____SWIG_1(self, args);
44631  }
44632  }
44633  }
44634  if (argc == 3) {
44635  int _v;
44636  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
44637  _v = SWIG_CheckState(res);
44638  if (_v) {
44639  {
44640  _v = PySlice_Check(argv[1]);
44641  }
44642  if (_v) {
44643  int res = swig::asptr(argv[2], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
44644  _v = SWIG_CheckState(res);
44645  if (_v) {
44646  return _wrap_vector_ReceptiveFieldPairPtr___setitem____SWIG_0(self, args);
44647  }
44648  }
44649  }
44650  }
44651  if (argc == 3) {
44652  int _v;
44653  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
44654  _v = SWIG_CheckState(res);
44655  if (_v) {
44656  {
44657  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
44658  _v = SWIG_CheckState(res);
44659  }
44660  if (_v) {
44661  void *vptr = 0;
44662  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ReceptiveFieldPair, 0);
44663  _v = SWIG_CheckState(res);
44664  if (_v) {
44665  return _wrap_vector_ReceptiveFieldPairPtr___setitem____SWIG_2(self, args);
44666  }
44667  }
44668  }
44669  }
44670 
44671 fail:
44672  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ReceptiveFieldPairPtr___setitem__'.\n"
44673  " Possible C/C++ prototypes are:\n"
44674  " std::vector< ReceptiveFieldPair * >::__setitem__(PySliceObject *,std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > const &)\n"
44675  " std::vector< ReceptiveFieldPair * >::__setitem__(PySliceObject *)\n"
44676  " std::vector< ReceptiveFieldPair * >::__setitem__(std::vector< ReceptiveFieldPair * >::difference_type,std::vector< ReceptiveFieldPair * >::value_type)\n");
44677  return 0;
44678 }
44679 
44680 
44681 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44682  PyObject *resultobj = 0;
44683  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44684  std::vector< ReceptiveFieldPair * >::value_type arg2 = (std::vector< ReceptiveFieldPair * >::value_type) 0 ;
44685  void *argp1 = 0 ;
44686  int res1 = 0 ;
44687  void *argp2 = 0 ;
44688  int res2 = 0 ;
44689  PyObject * obj0 = 0 ;
44690  PyObject * obj1 = 0 ;
44691 
44692  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPairPtr_append",&obj0,&obj1)) SWIG_fail;
44693  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44694  if (!SWIG_IsOK(res1)) {
44695  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_append" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44696  }
44697  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44698  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ReceptiveFieldPair, 0 | 0 );
44699  if (!SWIG_IsOK(res2)) {
44700  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_ReceptiveFieldPairPtr_append" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::value_type""'");
44701  }
44702  arg2 = reinterpret_cast< std::vector< ReceptiveFieldPair * >::value_type >(argp2);
44703  std_vector_Sl_ReceptiveFieldPair_Sm__Sg__append(arg1,arg2);
44704  resultobj = SWIG_Py_Void();
44705  return resultobj;
44706 fail:
44707  return NULL;
44708 }
44709 
44710 
44711 SWIGINTERN PyObject *_wrap_new_vector_ReceptiveFieldPairPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44712  PyObject *resultobj = 0;
44713  std::vector< ReceptiveFieldPair * > *result = 0 ;
44714 
44715  if (!PyArg_ParseTuple(args,(char *)":new_vector_ReceptiveFieldPairPtr")) SWIG_fail;
44716  result = (std::vector< ReceptiveFieldPair * > *)new std::vector< ReceptiveFieldPair * >();
44717  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, SWIG_POINTER_NEW | 0 );
44718  return resultobj;
44719 fail:
44720  return NULL;
44721 }
44722 
44723 
44724 SWIGINTERN PyObject *_wrap_new_vector_ReceptiveFieldPairPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44725  PyObject *resultobj = 0;
44726  std::vector< ReceptiveFieldPair * > *arg1 = 0 ;
44727  int res1 = SWIG_OLDOBJ ;
44728  PyObject * obj0 = 0 ;
44729  std::vector< ReceptiveFieldPair * > *result = 0 ;
44730 
44731  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_ReceptiveFieldPairPtr",&obj0)) SWIG_fail;
44732  {
44733  std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > > *ptr = (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > > *)0;
44734  res1 = swig::asptr(obj0, &ptr);
44735  if (!SWIG_IsOK(res1)) {
44736  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_ReceptiveFieldPairPtr" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > const &""'");
44737  }
44738  if (!ptr) {
44739  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_ReceptiveFieldPairPtr" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > const &""'");
44740  }
44741  arg1 = ptr;
44742  }
44743  result = (std::vector< ReceptiveFieldPair * > *)new std::vector< ReceptiveFieldPair * >((std::vector< ReceptiveFieldPair * > const &)*arg1);
44744  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, SWIG_POINTER_NEW | 0 );
44745  if (SWIG_IsNewObj(res1)) delete arg1;
44746  return resultobj;
44747 fail:
44748  if (SWIG_IsNewObj(res1)) delete arg1;
44749  return NULL;
44750 }
44751 
44752 
44753 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44754  PyObject *resultobj = 0;
44755  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44756  void *argp1 = 0 ;
44757  int res1 = 0 ;
44758  PyObject * obj0 = 0 ;
44759  bool result;
44760 
44761  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr_empty",&obj0)) SWIG_fail;
44762  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44763  if (!SWIG_IsOK(res1)) {
44764  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_empty" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > const *""'");
44765  }
44766  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44767  result = (bool)((std::vector< ReceptiveFieldPair * > const *)arg1)->empty();
44768  resultobj = SWIG_From_bool(static_cast< bool >(result));
44769  return resultobj;
44770 fail:
44771  return NULL;
44772 }
44773 
44774 
44775 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44776  PyObject *resultobj = 0;
44777  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44778  void *argp1 = 0 ;
44779  int res1 = 0 ;
44780  PyObject * obj0 = 0 ;
44781  std::vector< ReceptiveFieldPair * >::size_type result;
44782 
44783  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr_size",&obj0)) SWIG_fail;
44784  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44785  if (!SWIG_IsOK(res1)) {
44786  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_size" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > const *""'");
44787  }
44788  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44789  result = ((std::vector< ReceptiveFieldPair * > const *)arg1)->size();
44790  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
44791  return resultobj;
44792 fail:
44793  return NULL;
44794 }
44795 
44796 
44797 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44798  PyObject *resultobj = 0;
44799  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44800  void *argp1 = 0 ;
44801  int res1 = 0 ;
44802  PyObject * obj0 = 0 ;
44803 
44804  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr_clear",&obj0)) SWIG_fail;
44805  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44806  if (!SWIG_IsOK(res1)) {
44807  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_clear" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44808  }
44809  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44810  (arg1)->clear();
44811  resultobj = SWIG_Py_Void();
44812  return resultobj;
44813 fail:
44814  return NULL;
44815 }
44816 
44817 
44818 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44819  PyObject *resultobj = 0;
44820  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44821  std::vector< ReceptiveFieldPair * > *arg2 = 0 ;
44822  void *argp1 = 0 ;
44823  int res1 = 0 ;
44824  void *argp2 = 0 ;
44825  int res2 = 0 ;
44826  PyObject * obj0 = 0 ;
44827  PyObject * obj1 = 0 ;
44828 
44829  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPairPtr_swap",&obj0,&obj1)) SWIG_fail;
44830  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44831  if (!SWIG_IsOK(res1)) {
44832  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_swap" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44833  }
44834  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44835  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 );
44836  if (!SWIG_IsOK(res2)) {
44837  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_ReceptiveFieldPairPtr_swap" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * > &""'");
44838  }
44839  if (!argp2) {
44840  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_ReceptiveFieldPairPtr_swap" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * > &""'");
44841  }
44842  arg2 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp2);
44843  (arg1)->swap(*arg2);
44844  resultobj = SWIG_Py_Void();
44845  return resultobj;
44846 fail:
44847  return NULL;
44848 }
44849 
44850 
44851 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44852  PyObject *resultobj = 0;
44853  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44854  void *argp1 = 0 ;
44855  int res1 = 0 ;
44856  PyObject * obj0 = 0 ;
44857  SwigValueWrapper< std::allocator< ReceptiveFieldPair * > > result;
44858 
44859  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr_get_allocator",&obj0)) SWIG_fail;
44860  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44861  if (!SWIG_IsOK(res1)) {
44862  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_get_allocator" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > const *""'");
44863  }
44864  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44865  result = ((std::vector< ReceptiveFieldPair * > const *)arg1)->get_allocator();
44866  resultobj = SWIG_NewPointerObj((new std::vector< ReceptiveFieldPair * >::allocator_type(static_cast< const std::vector< ReceptiveFieldPair * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_ReceptiveFieldPair_p_t, SWIG_POINTER_OWN | 0 );
44867  return resultobj;
44868 fail:
44869  return NULL;
44870 }
44871 
44872 
44873 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44874  PyObject *resultobj = 0;
44875  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44876  void *argp1 = 0 ;
44877  int res1 = 0 ;
44878  PyObject * obj0 = 0 ;
44879  std::vector< ReceptiveFieldPair * >::iterator result;
44880 
44881  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr_begin",&obj0)) SWIG_fail;
44882  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44883  if (!SWIG_IsOK(res1)) {
44884  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_begin" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44885  }
44886  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44887  result = (arg1)->begin();
44888  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ReceptiveFieldPair * >::iterator & >(result)),
44889  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
44890  return resultobj;
44891 fail:
44892  return NULL;
44893 }
44894 
44895 
44896 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44897  PyObject *resultobj = 0;
44898  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44899  void *argp1 = 0 ;
44900  int res1 = 0 ;
44901  PyObject * obj0 = 0 ;
44902  std::vector< ReceptiveFieldPair * >::iterator result;
44903 
44904  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr_end",&obj0)) SWIG_fail;
44905  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44906  if (!SWIG_IsOK(res1)) {
44907  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_end" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44908  }
44909  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44910  result = (arg1)->end();
44911  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ReceptiveFieldPair * >::iterator & >(result)),
44912  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
44913  return resultobj;
44914 fail:
44915  return NULL;
44916 }
44917 
44918 
44919 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44920  PyObject *resultobj = 0;
44921  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44922  void *argp1 = 0 ;
44923  int res1 = 0 ;
44924  PyObject * obj0 = 0 ;
44925  std::vector< ReceptiveFieldPair * >::reverse_iterator result;
44926 
44927  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr_rbegin",&obj0)) SWIG_fail;
44928  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44929  if (!SWIG_IsOK(res1)) {
44930  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_rbegin" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44931  }
44932  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44933  result = (arg1)->rbegin();
44934  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ReceptiveFieldPair * >::reverse_iterator & >(result)),
44935  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
44936  return resultobj;
44937 fail:
44938  return NULL;
44939 }
44940 
44941 
44942 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44943  PyObject *resultobj = 0;
44944  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44945  void *argp1 = 0 ;
44946  int res1 = 0 ;
44947  PyObject * obj0 = 0 ;
44948  std::vector< ReceptiveFieldPair * >::reverse_iterator result;
44949 
44950  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr_rend",&obj0)) SWIG_fail;
44951  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44952  if (!SWIG_IsOK(res1)) {
44953  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_rend" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44954  }
44955  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
44956  result = (arg1)->rend();
44957  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ReceptiveFieldPair * >::reverse_iterator & >(result)),
44958  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
44959  return resultobj;
44960 fail:
44961  return NULL;
44962 }
44963 
44964 
44965 SWIGINTERN PyObject *_wrap_new_vector_ReceptiveFieldPairPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44966  PyObject *resultobj = 0;
44967  std::vector< ReceptiveFieldPair * >::size_type arg1 ;
44968  size_t val1 ;
44969  int ecode1 = 0 ;
44970  PyObject * obj0 = 0 ;
44971  std::vector< ReceptiveFieldPair * > *result = 0 ;
44972 
44973  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_ReceptiveFieldPairPtr",&obj0)) SWIG_fail;
44974  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
44975  if (!SWIG_IsOK(ecode1)) {
44976  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_ReceptiveFieldPairPtr" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * >::size_type""'");
44977  }
44978  arg1 = static_cast< std::vector< ReceptiveFieldPair * >::size_type >(val1);
44979  result = (std::vector< ReceptiveFieldPair * > *)new std::vector< ReceptiveFieldPair * >(arg1);
44980  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, SWIG_POINTER_NEW | 0 );
44981  return resultobj;
44982 fail:
44983  return NULL;
44984 }
44985 
44986 
44987 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44988  PyObject *resultobj = 0;
44989  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
44990  void *argp1 = 0 ;
44991  int res1 = 0 ;
44992  PyObject * obj0 = 0 ;
44993 
44994  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr_pop_back",&obj0)) SWIG_fail;
44995  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
44996  if (!SWIG_IsOK(res1)) {
44997  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_pop_back" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
44998  }
44999  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
45000  (arg1)->pop_back();
45001  resultobj = SWIG_Py_Void();
45002  return resultobj;
45003 fail:
45004  return NULL;
45005 }
45006 
45007 
45008 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45009  PyObject *resultobj = 0;
45010  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
45011  std::vector< ReceptiveFieldPair * >::size_type arg2 ;
45012  void *argp1 = 0 ;
45013  int res1 = 0 ;
45014  size_t val2 ;
45015  int ecode2 = 0 ;
45016  PyObject * obj0 = 0 ;
45017  PyObject * obj1 = 0 ;
45018 
45019  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPairPtr_resize",&obj0,&obj1)) SWIG_fail;
45020  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
45021  if (!SWIG_IsOK(res1)) {
45022  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_resize" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
45023  }
45024  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
45025  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
45026  if (!SWIG_IsOK(ecode2)) {
45027  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPairPtr_resize" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::size_type""'");
45028  }
45029  arg2 = static_cast< std::vector< ReceptiveFieldPair * >::size_type >(val2);
45030  (arg1)->resize(arg2);
45031  resultobj = SWIG_Py_Void();
45032  return resultobj;
45033 fail:
45034  return NULL;
45035 }
45036 
45037 
45038 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45039  PyObject *resultobj = 0;
45040  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
45041  std::vector< ReceptiveFieldPair * >::iterator arg2 ;
45042  void *argp1 = 0 ;
45043  int res1 = 0 ;
45044  swig::SwigPyIterator *iter2 = 0 ;
45045  int res2 ;
45046  PyObject * obj0 = 0 ;
45047  PyObject * obj1 = 0 ;
45048  std::vector< ReceptiveFieldPair * >::iterator result;
45049 
45050  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPairPtr_erase",&obj0,&obj1)) SWIG_fail;
45051  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
45052  if (!SWIG_IsOK(res1)) {
45053  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_erase" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
45054  }
45055  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
45056  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
45057  if (!SWIG_IsOK(res2) || !iter2) {
45058  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPairPtr_erase" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::iterator""'");
45059  } else {
45061  if (iter_t) {
45062  arg2 = iter_t->get_current();
45063  } else {
45064  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPairPtr_erase" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::iterator""'");
45065  }
45066  }
45067  result = std_vector_Sl_ReceptiveFieldPair_Sm__Sg__erase__SWIG_0(arg1,arg2);
45068  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ReceptiveFieldPair * >::iterator & >(result)),
45069  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
45070  return resultobj;
45071 fail:
45072  return NULL;
45073 }
45074 
45075 
45076 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45077  PyObject *resultobj = 0;
45078  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
45079  std::vector< ReceptiveFieldPair * >::iterator arg2 ;
45080  std::vector< ReceptiveFieldPair * >::iterator arg3 ;
45081  void *argp1 = 0 ;
45082  int res1 = 0 ;
45083  swig::SwigPyIterator *iter2 = 0 ;
45084  int res2 ;
45085  swig::SwigPyIterator *iter3 = 0 ;
45086  int res3 ;
45087  PyObject * obj0 = 0 ;
45088  PyObject * obj1 = 0 ;
45089  PyObject * obj2 = 0 ;
45090  std::vector< ReceptiveFieldPair * >::iterator result;
45091 
45092  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPairPtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
45093  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
45094  if (!SWIG_IsOK(res1)) {
45095  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_erase" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
45096  }
45097  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
45098  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
45099  if (!SWIG_IsOK(res2) || !iter2) {
45100  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPairPtr_erase" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::iterator""'");
45101  } else {
45103  if (iter_t) {
45104  arg2 = iter_t->get_current();
45105  } else {
45106  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPairPtr_erase" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::iterator""'");
45107  }
45108  }
45109  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
45110  if (!SWIG_IsOK(res3) || !iter3) {
45111  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPairPtr_erase" "', argument " "3"" of type '" "std::vector< ReceptiveFieldPair * >::iterator""'");
45112  } else {
45114  if (iter_t) {
45115  arg3 = iter_t->get_current();
45116  } else {
45117  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPairPtr_erase" "', argument " "3"" of type '" "std::vector< ReceptiveFieldPair * >::iterator""'");
45118  }
45119  }
45120  result = std_vector_Sl_ReceptiveFieldPair_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
45121  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ReceptiveFieldPair * >::iterator & >(result)),
45122  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
45123  return resultobj;
45124 fail:
45125  return NULL;
45126 }
45127 
45128 
45129 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_erase(PyObject *self, PyObject *args) {
45130  int argc;
45131  PyObject *argv[4];
45132  int ii;
45133 
45134  if (!PyTuple_Check(args)) SWIG_fail;
45135  argc = args ? (int)PyObject_Length(args) : 0;
45136  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
45137  argv[ii] = PyTuple_GET_ITEM(args,ii);
45138  }
45139  if (argc == 2) {
45140  int _v;
45141  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
45142  _v = SWIG_CheckState(res);
45143  if (_v) {
45144  swig::SwigPyIterator *iter = 0;
45145  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
45146  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveFieldPair * >::iterator > *>(iter) != 0));
45147  if (_v) {
45148  return _wrap_vector_ReceptiveFieldPairPtr_erase__SWIG_0(self, args);
45149  }
45150  }
45151  }
45152  if (argc == 3) {
45153  int _v;
45154  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
45155  _v = SWIG_CheckState(res);
45156  if (_v) {
45157  swig::SwigPyIterator *iter = 0;
45158  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
45159  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveFieldPair * >::iterator > *>(iter) != 0));
45160  if (_v) {
45161  swig::SwigPyIterator *iter = 0;
45162  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
45163  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveFieldPair * >::iterator > *>(iter) != 0));
45164  if (_v) {
45165  return _wrap_vector_ReceptiveFieldPairPtr_erase__SWIG_1(self, args);
45166  }
45167  }
45168  }
45169  }
45170 
45171 fail:
45172  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ReceptiveFieldPairPtr_erase'.\n"
45173  " Possible C/C++ prototypes are:\n"
45174  " std::vector< ReceptiveFieldPair * >::erase(std::vector< ReceptiveFieldPair * >::iterator)\n"
45175  " std::vector< ReceptiveFieldPair * >::erase(std::vector< ReceptiveFieldPair * >::iterator,std::vector< ReceptiveFieldPair * >::iterator)\n");
45176  return 0;
45177 }
45178 
45179 
45180 SWIGINTERN PyObject *_wrap_new_vector_ReceptiveFieldPairPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45181  PyObject *resultobj = 0;
45182  std::vector< ReceptiveFieldPair * >::size_type arg1 ;
45183  std::vector< ReceptiveFieldPair * >::value_type arg2 = (std::vector< ReceptiveFieldPair * >::value_type) 0 ;
45184  size_t val1 ;
45185  int ecode1 = 0 ;
45186  void *argp2 = 0 ;
45187  int res2 = 0 ;
45188  PyObject * obj0 = 0 ;
45189  PyObject * obj1 = 0 ;
45190  std::vector< ReceptiveFieldPair * > *result = 0 ;
45191 
45192  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_ReceptiveFieldPairPtr",&obj0,&obj1)) SWIG_fail;
45193  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
45194  if (!SWIG_IsOK(ecode1)) {
45195  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_ReceptiveFieldPairPtr" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * >::size_type""'");
45196  }
45197  arg1 = static_cast< std::vector< ReceptiveFieldPair * >::size_type >(val1);
45198  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ReceptiveFieldPair, 0 | 0 );
45199  if (!SWIG_IsOK(res2)) {
45200  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_ReceptiveFieldPairPtr" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::value_type""'");
45201  }
45202  arg2 = reinterpret_cast< std::vector< ReceptiveFieldPair * >::value_type >(argp2);
45203  result = (std::vector< ReceptiveFieldPair * > *)new std::vector< ReceptiveFieldPair * >(arg1,arg2);
45204  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, SWIG_POINTER_NEW | 0 );
45205  return resultobj;
45206 fail:
45207  return NULL;
45208 }
45209 
45210 
45211 SWIGINTERN PyObject *_wrap_new_vector_ReceptiveFieldPairPtr(PyObject *self, PyObject *args) {
45212  int argc;
45213  PyObject *argv[3];
45214  int ii;
45215 
45216  if (!PyTuple_Check(args)) SWIG_fail;
45217  argc = args ? (int)PyObject_Length(args) : 0;
45218  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
45219  argv[ii] = PyTuple_GET_ITEM(args,ii);
45220  }
45221  if (argc == 0) {
45222  return _wrap_new_vector_ReceptiveFieldPairPtr__SWIG_0(self, args);
45223  }
45224  if (argc == 1) {
45225  int _v;
45226  {
45227  int res = SWIG_AsVal_size_t(argv[0], NULL);
45228  _v = SWIG_CheckState(res);
45229  }
45230  if (_v) {
45231  return _wrap_new_vector_ReceptiveFieldPairPtr__SWIG_2(self, args);
45232  }
45233  }
45234  if (argc == 1) {
45235  int _v;
45236  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
45237  _v = SWIG_CheckState(res);
45238  if (_v) {
45239  return _wrap_new_vector_ReceptiveFieldPairPtr__SWIG_1(self, args);
45240  }
45241  }
45242  if (argc == 2) {
45243  int _v;
45244  {
45245  int res = SWIG_AsVal_size_t(argv[0], NULL);
45246  _v = SWIG_CheckState(res);
45247  }
45248  if (_v) {
45249  void *vptr = 0;
45250  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ReceptiveFieldPair, 0);
45251  _v = SWIG_CheckState(res);
45252  if (_v) {
45253  return _wrap_new_vector_ReceptiveFieldPairPtr__SWIG_3(self, args);
45254  }
45255  }
45256  }
45257 
45258 fail:
45259  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_ReceptiveFieldPairPtr'.\n"
45260  " Possible C/C++ prototypes are:\n"
45261  " std::vector< ReceptiveFieldPair * >::vector()\n"
45262  " std::vector< ReceptiveFieldPair * >::vector(std::vector< ReceptiveFieldPair * > const &)\n"
45263  " std::vector< ReceptiveFieldPair * >::vector(std::vector< ReceptiveFieldPair * >::size_type)\n"
45264  " std::vector< ReceptiveFieldPair * >::vector(std::vector< ReceptiveFieldPair * >::size_type,std::vector< ReceptiveFieldPair * >::value_type)\n");
45265  return 0;
45266 }
45267 
45268 
45269 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45270  PyObject *resultobj = 0;
45271  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
45272  std::vector< ReceptiveFieldPair * >::value_type arg2 = (std::vector< ReceptiveFieldPair * >::value_type) 0 ;
45273  void *argp1 = 0 ;
45274  int res1 = 0 ;
45275  void *argp2 = 0 ;
45276  int res2 = 0 ;
45277  PyObject * obj0 = 0 ;
45278  PyObject * obj1 = 0 ;
45279 
45280  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPairPtr_push_back",&obj0,&obj1)) SWIG_fail;
45281  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
45282  if (!SWIG_IsOK(res1)) {
45283  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_push_back" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
45284  }
45285  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
45286  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ReceptiveFieldPair, 0 | 0 );
45287  if (!SWIG_IsOK(res2)) {
45288  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_ReceptiveFieldPairPtr_push_back" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::value_type""'");
45289  }
45290  arg2 = reinterpret_cast< std::vector< ReceptiveFieldPair * >::value_type >(argp2);
45291  (arg1)->push_back(arg2);
45292  resultobj = SWIG_Py_Void();
45293  return resultobj;
45294 fail:
45295  return NULL;
45296 }
45297 
45298 
45299 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45300  PyObject *resultobj = 0;
45301  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
45302  void *argp1 = 0 ;
45303  int res1 = 0 ;
45304  PyObject * obj0 = 0 ;
45305  std::vector< ReceptiveFieldPair * >::value_type result;
45306 
45307  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr_front",&obj0)) SWIG_fail;
45308  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
45309  if (!SWIG_IsOK(res1)) {
45310  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_front" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > const *""'");
45311  }
45312  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
45313  result = (std::vector< ReceptiveFieldPair * >::value_type)((std::vector< ReceptiveFieldPair * > const *)arg1)->front();
45314  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ReceptiveFieldPair, 0 | 0 );
45315  return resultobj;
45316 fail:
45317  return NULL;
45318 }
45319 
45320 
45321 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45322  PyObject *resultobj = 0;
45323  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
45324  void *argp1 = 0 ;
45325  int res1 = 0 ;
45326  PyObject * obj0 = 0 ;
45327  std::vector< ReceptiveFieldPair * >::value_type result;
45328 
45329  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr_back",&obj0)) SWIG_fail;
45330  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
45331  if (!SWIG_IsOK(res1)) {
45332  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_back" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > const *""'");
45333  }
45334  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
45335  result = (std::vector< ReceptiveFieldPair * >::value_type)((std::vector< ReceptiveFieldPair * > const *)arg1)->back();
45336  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ReceptiveFieldPair, 0 | 0 );
45337  return resultobj;
45338 fail:
45339  return NULL;
45340 }
45341 
45342 
45343 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45344  PyObject *resultobj = 0;
45345  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
45346  std::vector< ReceptiveFieldPair * >::size_type arg2 ;
45347  std::vector< ReceptiveFieldPair * >::value_type arg3 = (std::vector< ReceptiveFieldPair * >::value_type) 0 ;
45348  void *argp1 = 0 ;
45349  int res1 = 0 ;
45350  size_t val2 ;
45351  int ecode2 = 0 ;
45352  void *argp3 = 0 ;
45353  int res3 = 0 ;
45354  PyObject * obj0 = 0 ;
45355  PyObject * obj1 = 0 ;
45356  PyObject * obj2 = 0 ;
45357 
45358  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPairPtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
45359  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
45360  if (!SWIG_IsOK(res1)) {
45361  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_assign" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
45362  }
45363  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
45364  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
45365  if (!SWIG_IsOK(ecode2)) {
45366  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPairPtr_assign" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::size_type""'");
45367  }
45368  arg2 = static_cast< std::vector< ReceptiveFieldPair * >::size_type >(val2);
45369  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ReceptiveFieldPair, 0 | 0 );
45370  if (!SWIG_IsOK(res3)) {
45371  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ReceptiveFieldPairPtr_assign" "', argument " "3"" of type '" "std::vector< ReceptiveFieldPair * >::value_type""'");
45372  }
45373  arg3 = reinterpret_cast< std::vector< ReceptiveFieldPair * >::value_type >(argp3);
45374  (arg1)->assign(arg2,arg3);
45375  resultobj = SWIG_Py_Void();
45376  return resultobj;
45377 fail:
45378  return NULL;
45379 }
45380 
45381 
45382 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45383  PyObject *resultobj = 0;
45384  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
45385  std::vector< ReceptiveFieldPair * >::size_type arg2 ;
45386  std::vector< ReceptiveFieldPair * >::value_type arg3 = (std::vector< ReceptiveFieldPair * >::value_type) 0 ;
45387  void *argp1 = 0 ;
45388  int res1 = 0 ;
45389  size_t val2 ;
45390  int ecode2 = 0 ;
45391  void *argp3 = 0 ;
45392  int res3 = 0 ;
45393  PyObject * obj0 = 0 ;
45394  PyObject * obj1 = 0 ;
45395  PyObject * obj2 = 0 ;
45396 
45397  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPairPtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
45398  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
45399  if (!SWIG_IsOK(res1)) {
45400  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_resize" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
45401  }
45402  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
45403  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
45404  if (!SWIG_IsOK(ecode2)) {
45405  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPairPtr_resize" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::size_type""'");
45406  }
45407  arg2 = static_cast< std::vector< ReceptiveFieldPair * >::size_type >(val2);
45408  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ReceptiveFieldPair, 0 | 0 );
45409  if (!SWIG_IsOK(res3)) {
45410  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ReceptiveFieldPairPtr_resize" "', argument " "3"" of type '" "std::vector< ReceptiveFieldPair * >::value_type""'");
45411  }
45412  arg3 = reinterpret_cast< std::vector< ReceptiveFieldPair * >::value_type >(argp3);
45413  (arg1)->resize(arg2,arg3);
45414  resultobj = SWIG_Py_Void();
45415  return resultobj;
45416 fail:
45417  return NULL;
45418 }
45419 
45420 
45421 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_resize(PyObject *self, PyObject *args) {
45422  int argc;
45423  PyObject *argv[4];
45424  int ii;
45425 
45426  if (!PyTuple_Check(args)) SWIG_fail;
45427  argc = args ? (int)PyObject_Length(args) : 0;
45428  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
45429  argv[ii] = PyTuple_GET_ITEM(args,ii);
45430  }
45431  if (argc == 2) {
45432  int _v;
45433  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
45434  _v = SWIG_CheckState(res);
45435  if (_v) {
45436  {
45437  int res = SWIG_AsVal_size_t(argv[1], NULL);
45438  _v = SWIG_CheckState(res);
45439  }
45440  if (_v) {
45441  return _wrap_vector_ReceptiveFieldPairPtr_resize__SWIG_0(self, args);
45442  }
45443  }
45444  }
45445  if (argc == 3) {
45446  int _v;
45447  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
45448  _v = SWIG_CheckState(res);
45449  if (_v) {
45450  {
45451  int res = SWIG_AsVal_size_t(argv[1], NULL);
45452  _v = SWIG_CheckState(res);
45453  }
45454  if (_v) {
45455  void *vptr = 0;
45456  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ReceptiveFieldPair, 0);
45457  _v = SWIG_CheckState(res);
45458  if (_v) {
45459  return _wrap_vector_ReceptiveFieldPairPtr_resize__SWIG_1(self, args);
45460  }
45461  }
45462  }
45463  }
45464 
45465 fail:
45466  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ReceptiveFieldPairPtr_resize'.\n"
45467  " Possible C/C++ prototypes are:\n"
45468  " std::vector< ReceptiveFieldPair * >::resize(std::vector< ReceptiveFieldPair * >::size_type)\n"
45469  " std::vector< ReceptiveFieldPair * >::resize(std::vector< ReceptiveFieldPair * >::size_type,std::vector< ReceptiveFieldPair * >::value_type)\n");
45470  return 0;
45471 }
45472 
45473 
45474 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45475  PyObject *resultobj = 0;
45476  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
45477  std::vector< ReceptiveFieldPair * >::iterator arg2 ;
45478  std::vector< ReceptiveFieldPair * >::value_type arg3 = (std::vector< ReceptiveFieldPair * >::value_type) 0 ;
45479  void *argp1 = 0 ;
45480  int res1 = 0 ;
45481  swig::SwigPyIterator *iter2 = 0 ;
45482  int res2 ;
45483  void *argp3 = 0 ;
45484  int res3 = 0 ;
45485  PyObject * obj0 = 0 ;
45486  PyObject * obj1 = 0 ;
45487  PyObject * obj2 = 0 ;
45488  std::vector< ReceptiveFieldPair * >::iterator result;
45489 
45490  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPairPtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
45491  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
45492  if (!SWIG_IsOK(res1)) {
45493  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_insert" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
45494  }
45495  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
45496  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
45497  if (!SWIG_IsOK(res2) || !iter2) {
45498  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPairPtr_insert" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::iterator""'");
45499  } else {
45501  if (iter_t) {
45502  arg2 = iter_t->get_current();
45503  } else {
45504  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPairPtr_insert" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::iterator""'");
45505  }
45506  }
45507  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ReceptiveFieldPair, 0 | 0 );
45508  if (!SWIG_IsOK(res3)) {
45509  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ReceptiveFieldPairPtr_insert" "', argument " "3"" of type '" "std::vector< ReceptiveFieldPair * >::value_type""'");
45510  }
45511  arg3 = reinterpret_cast< std::vector< ReceptiveFieldPair * >::value_type >(argp3);
45512  result = std_vector_Sl_ReceptiveFieldPair_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
45513  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ReceptiveFieldPair * >::iterator & >(result)),
45514  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
45515  return resultobj;
45516 fail:
45517  return NULL;
45518 }
45519 
45520 
45521 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45522  PyObject *resultobj = 0;
45523  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
45524  std::vector< ReceptiveFieldPair * >::iterator arg2 ;
45525  std::vector< ReceptiveFieldPair * >::size_type arg3 ;
45526  std::vector< ReceptiveFieldPair * >::value_type arg4 = (std::vector< ReceptiveFieldPair * >::value_type) 0 ;
45527  void *argp1 = 0 ;
45528  int res1 = 0 ;
45529  swig::SwigPyIterator *iter2 = 0 ;
45530  int res2 ;
45531  size_t val3 ;
45532  int ecode3 = 0 ;
45533  void *argp4 = 0 ;
45534  int res4 = 0 ;
45535  PyObject * obj0 = 0 ;
45536  PyObject * obj1 = 0 ;
45537  PyObject * obj2 = 0 ;
45538  PyObject * obj3 = 0 ;
45539 
45540  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_ReceptiveFieldPairPtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
45541  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
45542  if (!SWIG_IsOK(res1)) {
45543  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_insert" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
45544  }
45545  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
45546  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
45547  if (!SWIG_IsOK(res2) || !iter2) {
45548  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPairPtr_insert" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::iterator""'");
45549  } else {
45551  if (iter_t) {
45552  arg2 = iter_t->get_current();
45553  } else {
45554  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPairPtr_insert" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::iterator""'");
45555  }
45556  }
45557  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
45558  if (!SWIG_IsOK(ecode3)) {
45559  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ReceptiveFieldPairPtr_insert" "', argument " "3"" of type '" "std::vector< ReceptiveFieldPair * >::size_type""'");
45560  }
45561  arg3 = static_cast< std::vector< ReceptiveFieldPair * >::size_type >(val3);
45562  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_ReceptiveFieldPair, 0 | 0 );
45563  if (!SWIG_IsOK(res4)) {
45564  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_ReceptiveFieldPairPtr_insert" "', argument " "4"" of type '" "std::vector< ReceptiveFieldPair * >::value_type""'");
45565  }
45566  arg4 = reinterpret_cast< std::vector< ReceptiveFieldPair * >::value_type >(argp4);
45567  std_vector_Sl_ReceptiveFieldPair_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
45568  resultobj = SWIG_Py_Void();
45569  return resultobj;
45570 fail:
45571  return NULL;
45572 }
45573 
45574 
45575 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_insert(PyObject *self, PyObject *args) {
45576  int argc;
45577  PyObject *argv[5];
45578  int ii;
45579 
45580  if (!PyTuple_Check(args)) SWIG_fail;
45581  argc = args ? (int)PyObject_Length(args) : 0;
45582  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
45583  argv[ii] = PyTuple_GET_ITEM(args,ii);
45584  }
45585  if (argc == 3) {
45586  int _v;
45587  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
45588  _v = SWIG_CheckState(res);
45589  if (_v) {
45590  swig::SwigPyIterator *iter = 0;
45591  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
45592  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveFieldPair * >::iterator > *>(iter) != 0));
45593  if (_v) {
45594  void *vptr = 0;
45595  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ReceptiveFieldPair, 0);
45596  _v = SWIG_CheckState(res);
45597  if (_v) {
45598  return _wrap_vector_ReceptiveFieldPairPtr_insert__SWIG_0(self, args);
45599  }
45600  }
45601  }
45602  }
45603  if (argc == 4) {
45604  int _v;
45605  int res = swig::asptr(argv[0], (std::vector<ReceptiveFieldPair*,std::allocator< ReceptiveFieldPair * > >**)(0));
45606  _v = SWIG_CheckState(res);
45607  if (_v) {
45608  swig::SwigPyIterator *iter = 0;
45609  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
45610  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveFieldPair * >::iterator > *>(iter) != 0));
45611  if (_v) {
45612  {
45613  int res = SWIG_AsVal_size_t(argv[2], NULL);
45614  _v = SWIG_CheckState(res);
45615  }
45616  if (_v) {
45617  void *vptr = 0;
45618  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_ReceptiveFieldPair, 0);
45619  _v = SWIG_CheckState(res);
45620  if (_v) {
45621  return _wrap_vector_ReceptiveFieldPairPtr_insert__SWIG_1(self, args);
45622  }
45623  }
45624  }
45625  }
45626  }
45627 
45628 fail:
45629  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ReceptiveFieldPairPtr_insert'.\n"
45630  " Possible C/C++ prototypes are:\n"
45631  " std::vector< ReceptiveFieldPair * >::insert(std::vector< ReceptiveFieldPair * >::iterator,std::vector< ReceptiveFieldPair * >::value_type)\n"
45632  " std::vector< ReceptiveFieldPair * >::insert(std::vector< ReceptiveFieldPair * >::iterator,std::vector< ReceptiveFieldPair * >::size_type,std::vector< ReceptiveFieldPair * >::value_type)\n");
45633  return 0;
45634 }
45635 
45636 
45637 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45638  PyObject *resultobj = 0;
45639  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
45640  std::vector< ReceptiveFieldPair * >::size_type arg2 ;
45641  void *argp1 = 0 ;
45642  int res1 = 0 ;
45643  size_t val2 ;
45644  int ecode2 = 0 ;
45645  PyObject * obj0 = 0 ;
45646  PyObject * obj1 = 0 ;
45647 
45648  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPairPtr_reserve",&obj0,&obj1)) SWIG_fail;
45649  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
45650  if (!SWIG_IsOK(res1)) {
45651  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_reserve" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
45652  }
45653  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
45654  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
45655  if (!SWIG_IsOK(ecode2)) {
45656  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPairPtr_reserve" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair * >::size_type""'");
45657  }
45658  arg2 = static_cast< std::vector< ReceptiveFieldPair * >::size_type >(val2);
45659  (arg1)->reserve(arg2);
45660  resultobj = SWIG_Py_Void();
45661  return resultobj;
45662 fail:
45663  return NULL;
45664 }
45665 
45666 
45667 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPairPtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45668  PyObject *resultobj = 0;
45669  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
45670  void *argp1 = 0 ;
45671  int res1 = 0 ;
45672  PyObject * obj0 = 0 ;
45673  std::vector< ReceptiveFieldPair * >::size_type result;
45674 
45675  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPairPtr_capacity",&obj0)) SWIG_fail;
45676  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0 | 0 );
45677  if (!SWIG_IsOK(res1)) {
45678  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPairPtr_capacity" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > const *""'");
45679  }
45680  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
45681  result = ((std::vector< ReceptiveFieldPair * > const *)arg1)->capacity();
45682  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
45683  return resultobj;
45684 fail:
45685  return NULL;
45686 }
45687 
45688 
45689 SWIGINTERN PyObject *_wrap_delete_vector_ReceptiveFieldPairPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45690  PyObject *resultobj = 0;
45691  std::vector< ReceptiveFieldPair * > *arg1 = (std::vector< ReceptiveFieldPair * > *) 0 ;
45692  void *argp1 = 0 ;
45693  int res1 = 0 ;
45694  PyObject * obj0 = 0 ;
45695 
45696  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_ReceptiveFieldPairPtr",&obj0)) SWIG_fail;
45697  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, SWIG_POINTER_DISOWN | 0 );
45698  if (!SWIG_IsOK(res1)) {
45699  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_ReceptiveFieldPairPtr" "', argument " "1"" of type '" "std::vector< ReceptiveFieldPair * > *""'");
45700  }
45701  arg1 = reinterpret_cast< std::vector< ReceptiveFieldPair * > * >(argp1);
45702  {
45703  try {
45704  delete arg1;
45705  }
45706  catch(CStdErrorInfo oError)
45707  {
45708  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
45709  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
45710  PyErr_SetString(PyExc_IndexError, strError.c_str());
45711  SWIG_fail;
45712  }
45713  catch(...)
45714  {
45715  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
45716  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
45717  SWIG_fail;
45718  }
45719  }
45720  resultobj = SWIG_Py_Void();
45721  return resultobj;
45722 fail:
45723  return NULL;
45724 }
45725 
45726 
45727 SWIGINTERN PyObject *vector_ReceptiveFieldPairPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45728  PyObject *obj;
45729  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
45730  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, SWIG_NewClientData(obj));
45731  return SWIG_Py_Void();
45732 }
45733 
45734 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45735  PyObject *resultobj = 0;
45736  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
45737  PyObject **arg2 = (PyObject **) 0 ;
45738  void *argp1 = 0 ;
45739  int res1 = 0 ;
45740  PyObject * obj0 = 0 ;
45741  swig::SwigPyIterator *result = 0 ;
45742 
45743  arg2 = &obj0;
45744  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr_iterator",&obj0)) SWIG_fail;
45745  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
45746  if (!SWIG_IsOK(res1)) {
45747  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_iterator" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
45748  }
45749  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
45750  result = (swig::SwigPyIterator *)std_vector_Sl_ReceptiveField_Sm__Sg__iterator(arg1,arg2);
45751  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
45752  return resultobj;
45753 fail:
45754  return NULL;
45755 }
45756 
45757 
45758 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45759  PyObject *resultobj = 0;
45760  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
45761  void *argp1 = 0 ;
45762  int res1 = 0 ;
45763  PyObject * obj0 = 0 ;
45764  bool result;
45765 
45766  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr___nonzero__",&obj0)) SWIG_fail;
45767  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
45768  if (!SWIG_IsOK(res1)) {
45769  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr___nonzero__" "', argument " "1"" of type '" "std::vector< ReceptiveField * > const *""'");
45770  }
45771  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
45772  result = (bool)std_vector_Sl_ReceptiveField_Sm__Sg____nonzero__((std::vector< ReceptiveField * > const *)arg1);
45773  resultobj = SWIG_From_bool(static_cast< bool >(result));
45774  return resultobj;
45775 fail:
45776  return NULL;
45777 }
45778 
45779 
45780 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45781  PyObject *resultobj = 0;
45782  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
45783  void *argp1 = 0 ;
45784  int res1 = 0 ;
45785  PyObject * obj0 = 0 ;
45786  bool result;
45787 
45788  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr___bool__",&obj0)) SWIG_fail;
45789  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
45790  if (!SWIG_IsOK(res1)) {
45791  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr___bool__" "', argument " "1"" of type '" "std::vector< ReceptiveField * > const *""'");
45792  }
45793  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
45794  result = (bool)std_vector_Sl_ReceptiveField_Sm__Sg____bool__((std::vector< ReceptiveField * > const *)arg1);
45795  resultobj = SWIG_From_bool(static_cast< bool >(result));
45796  return resultobj;
45797 fail:
45798  return NULL;
45799 }
45800 
45801 
45802 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45803  PyObject *resultobj = 0;
45804  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
45805  void *argp1 = 0 ;
45806  int res1 = 0 ;
45807  PyObject * obj0 = 0 ;
45808  std::vector< ReceptiveField * >::size_type result;
45809 
45810  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr___len__",&obj0)) SWIG_fail;
45811  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
45812  if (!SWIG_IsOK(res1)) {
45813  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr___len__" "', argument " "1"" of type '" "std::vector< ReceptiveField * > const *""'");
45814  }
45815  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
45816  result = std_vector_Sl_ReceptiveField_Sm__Sg____len__((std::vector< ReceptiveField * > const *)arg1);
45817  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
45818  return resultobj;
45819 fail:
45820  return NULL;
45821 }
45822 
45823 
45824 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45825  PyObject *resultobj = 0;
45826  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
45827  void *argp1 = 0 ;
45828  int res1 = 0 ;
45829  PyObject * obj0 = 0 ;
45830  std::vector< ReceptiveField * >::value_type result;
45831 
45832  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr_pop",&obj0)) SWIG_fail;
45833  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
45834  if (!SWIG_IsOK(res1)) {
45835  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_pop" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
45836  }
45837  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
45838  try {
45839  result = (std::vector< ReceptiveField * >::value_type)std_vector_Sl_ReceptiveField_Sm__Sg__pop(arg1);
45840  }
45841  catch(std::out_of_range &_e) {
45842  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
45843  }
45844 
45845  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ReceptiveField, 0 | 0 );
45846  return resultobj;
45847 fail:
45848  return NULL;
45849 }
45850 
45851 
45852 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45853  PyObject *resultobj = 0;
45854  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
45855  std::vector< ReceptiveField * >::difference_type arg2 ;
45856  std::vector< ReceptiveField * >::difference_type arg3 ;
45857  void *argp1 = 0 ;
45858  int res1 = 0 ;
45859  ptrdiff_t val2 ;
45860  int ecode2 = 0 ;
45861  ptrdiff_t val3 ;
45862  int ecode3 = 0 ;
45863  PyObject * obj0 = 0 ;
45864  PyObject * obj1 = 0 ;
45865  PyObject * obj2 = 0 ;
45866  std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > *result = 0 ;
45867 
45868  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
45869  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
45870  if (!SWIG_IsOK(res1)) {
45871  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr___getslice__" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
45872  }
45873  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
45874  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
45875  if (!SWIG_IsOK(ecode2)) {
45876  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPtr___getslice__" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::difference_type""'");
45877  }
45878  arg2 = static_cast< std::vector< ReceptiveField * >::difference_type >(val2);
45879  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
45880  if (!SWIG_IsOK(ecode3)) {
45881  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ReceptiveFieldPtr___getslice__" "', argument " "3"" of type '" "std::vector< ReceptiveField * >::difference_type""'");
45882  }
45883  arg3 = static_cast< std::vector< ReceptiveField * >::difference_type >(val3);
45884  try {
45885  result = (std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > *)std_vector_Sl_ReceptiveField_Sm__Sg____getslice__(arg1,arg2,arg3);
45886  }
45887  catch(std::out_of_range &_e) {
45888  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
45889  }
45890  catch(std::invalid_argument &_e) {
45891  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
45892  }
45893 
45894  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, SWIG_POINTER_OWN | 0 );
45895  return resultobj;
45896 fail:
45897  return NULL;
45898 }
45899 
45900 
45901 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45902  PyObject *resultobj = 0;
45903  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
45904  std::vector< ReceptiveField * >::difference_type arg2 ;
45905  std::vector< ReceptiveField * >::difference_type arg3 ;
45906  std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > *arg4 = 0 ;
45907  void *argp1 = 0 ;
45908  int res1 = 0 ;
45909  ptrdiff_t val2 ;
45910  int ecode2 = 0 ;
45911  ptrdiff_t val3 ;
45912  int ecode3 = 0 ;
45913  int res4 = SWIG_OLDOBJ ;
45914  PyObject * obj0 = 0 ;
45915  PyObject * obj1 = 0 ;
45916  PyObject * obj2 = 0 ;
45917  PyObject * obj3 = 0 ;
45918 
45919  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_ReceptiveFieldPtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
45920  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
45921  if (!SWIG_IsOK(res1)) {
45922  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr___setslice__" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
45923  }
45924  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
45925  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
45926  if (!SWIG_IsOK(ecode2)) {
45927  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPtr___setslice__" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::difference_type""'");
45928  }
45929  arg2 = static_cast< std::vector< ReceptiveField * >::difference_type >(val2);
45930  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
45931  if (!SWIG_IsOK(ecode3)) {
45932  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ReceptiveFieldPtr___setslice__" "', argument " "3"" of type '" "std::vector< ReceptiveField * >::difference_type""'");
45933  }
45934  arg3 = static_cast< std::vector< ReceptiveField * >::difference_type >(val3);
45935  {
45936  std::vector<ReceptiveField*,std::allocator< ReceptiveField * > > *ptr = (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > > *)0;
45937  res4 = swig::asptr(obj3, &ptr);
45938  if (!SWIG_IsOK(res4)) {
45939  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_ReceptiveFieldPtr___setslice__" "', argument " "4"" of type '" "std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > const &""'");
45940  }
45941  if (!ptr) {
45942  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_ReceptiveFieldPtr___setslice__" "', argument " "4"" of type '" "std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > const &""'");
45943  }
45944  arg4 = ptr;
45945  }
45946  try {
45947  std_vector_Sl_ReceptiveField_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > const &)*arg4);
45948  }
45949  catch(std::out_of_range &_e) {
45950  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
45951  }
45952  catch(std::invalid_argument &_e) {
45953  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
45954  }
45955 
45956  resultobj = SWIG_Py_Void();
45957  if (SWIG_IsNewObj(res4)) delete arg4;
45958  return resultobj;
45959 fail:
45960  if (SWIG_IsNewObj(res4)) delete arg4;
45961  return NULL;
45962 }
45963 
45964 
45965 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45966  PyObject *resultobj = 0;
45967  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
45968  std::vector< ReceptiveField * >::difference_type arg2 ;
45969  std::vector< ReceptiveField * >::difference_type arg3 ;
45970  void *argp1 = 0 ;
45971  int res1 = 0 ;
45972  ptrdiff_t val2 ;
45973  int ecode2 = 0 ;
45974  ptrdiff_t val3 ;
45975  int ecode3 = 0 ;
45976  PyObject * obj0 = 0 ;
45977  PyObject * obj1 = 0 ;
45978  PyObject * obj2 = 0 ;
45979 
45980  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
45981  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
45982  if (!SWIG_IsOK(res1)) {
45983  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr___setslice__" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
45984  }
45985  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
45986  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
45987  if (!SWIG_IsOK(ecode2)) {
45988  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPtr___setslice__" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::difference_type""'");
45989  }
45990  arg2 = static_cast< std::vector< ReceptiveField * >::difference_type >(val2);
45991  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
45992  if (!SWIG_IsOK(ecode3)) {
45993  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ReceptiveFieldPtr___setslice__" "', argument " "3"" of type '" "std::vector< ReceptiveField * >::difference_type""'");
45994  }
45995  arg3 = static_cast< std::vector< ReceptiveField * >::difference_type >(val3);
45996  try {
45997  std_vector_Sl_ReceptiveField_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
45998  }
45999  catch(std::out_of_range &_e) {
46000  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
46001  }
46002  catch(std::invalid_argument &_e) {
46003  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
46004  }
46005 
46006  resultobj = SWIG_Py_Void();
46007  return resultobj;
46008 fail:
46009  return NULL;
46010 }
46011 
46012 
46013 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___setslice__(PyObject *self, PyObject *args) {
46014  int argc;
46015  PyObject *argv[5];
46016  int ii;
46017 
46018  if (!PyTuple_Check(args)) SWIG_fail;
46019  argc = args ? (int)PyObject_Length(args) : 0;
46020  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
46021  argv[ii] = PyTuple_GET_ITEM(args,ii);
46022  }
46023  if (argc == 3) {
46024  int _v;
46025  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
46026  _v = SWIG_CheckState(res);
46027  if (_v) {
46028  {
46029  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
46030  _v = SWIG_CheckState(res);
46031  }
46032  if (_v) {
46033  {
46034  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
46035  _v = SWIG_CheckState(res);
46036  }
46037  if (_v) {
46038  return _wrap_vector_ReceptiveFieldPtr___setslice____SWIG_1(self, args);
46039  }
46040  }
46041  }
46042  }
46043  if (argc == 4) {
46044  int _v;
46045  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
46046  _v = SWIG_CheckState(res);
46047  if (_v) {
46048  {
46049  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
46050  _v = SWIG_CheckState(res);
46051  }
46052  if (_v) {
46053  {
46054  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
46055  _v = SWIG_CheckState(res);
46056  }
46057  if (_v) {
46058  int res = swig::asptr(argv[3], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
46059  _v = SWIG_CheckState(res);
46060  if (_v) {
46061  return _wrap_vector_ReceptiveFieldPtr___setslice____SWIG_0(self, args);
46062  }
46063  }
46064  }
46065  }
46066  }
46067 
46068 fail:
46069  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ReceptiveFieldPtr___setslice__'.\n"
46070  " Possible C/C++ prototypes are:\n"
46071  " std::vector< ReceptiveField * >::__setslice__(std::vector< ReceptiveField * >::difference_type,std::vector< ReceptiveField * >::difference_type,std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > const &)\n"
46072  " std::vector< ReceptiveField * >::__setslice__(std::vector< ReceptiveField * >::difference_type,std::vector< ReceptiveField * >::difference_type)\n");
46073  return 0;
46074 }
46075 
46076 
46077 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46078  PyObject *resultobj = 0;
46079  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46080  std::vector< ReceptiveField * >::difference_type arg2 ;
46081  std::vector< ReceptiveField * >::difference_type arg3 ;
46082  void *argp1 = 0 ;
46083  int res1 = 0 ;
46084  ptrdiff_t val2 ;
46085  int ecode2 = 0 ;
46086  ptrdiff_t val3 ;
46087  int ecode3 = 0 ;
46088  PyObject * obj0 = 0 ;
46089  PyObject * obj1 = 0 ;
46090  PyObject * obj2 = 0 ;
46091 
46092  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
46093  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46094  if (!SWIG_IsOK(res1)) {
46095  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr___delslice__" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46096  }
46097  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46098  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
46099  if (!SWIG_IsOK(ecode2)) {
46100  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPtr___delslice__" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::difference_type""'");
46101  }
46102  arg2 = static_cast< std::vector< ReceptiveField * >::difference_type >(val2);
46103  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
46104  if (!SWIG_IsOK(ecode3)) {
46105  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ReceptiveFieldPtr___delslice__" "', argument " "3"" of type '" "std::vector< ReceptiveField * >::difference_type""'");
46106  }
46107  arg3 = static_cast< std::vector< ReceptiveField * >::difference_type >(val3);
46108  try {
46109  std_vector_Sl_ReceptiveField_Sm__Sg____delslice__(arg1,arg2,arg3);
46110  }
46111  catch(std::out_of_range &_e) {
46112  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
46113  }
46114  catch(std::invalid_argument &_e) {
46115  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
46116  }
46117 
46118  resultobj = SWIG_Py_Void();
46119  return resultobj;
46120 fail:
46121  return NULL;
46122 }
46123 
46124 
46125 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46126  PyObject *resultobj = 0;
46127  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46128  std::vector< ReceptiveField * >::difference_type arg2 ;
46129  void *argp1 = 0 ;
46130  int res1 = 0 ;
46131  ptrdiff_t val2 ;
46132  int ecode2 = 0 ;
46133  PyObject * obj0 = 0 ;
46134  PyObject * obj1 = 0 ;
46135 
46136  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPtr___delitem__",&obj0,&obj1)) SWIG_fail;
46137  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46138  if (!SWIG_IsOK(res1)) {
46139  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr___delitem__" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46140  }
46141  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46142  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
46143  if (!SWIG_IsOK(ecode2)) {
46144  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPtr___delitem__" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::difference_type""'");
46145  }
46146  arg2 = static_cast< std::vector< ReceptiveField * >::difference_type >(val2);
46147  try {
46148  std_vector_Sl_ReceptiveField_Sm__Sg____delitem____SWIG_0(arg1,arg2);
46149  }
46150  catch(std::out_of_range &_e) {
46151  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
46152  }
46153 
46154  resultobj = SWIG_Py_Void();
46155  return resultobj;
46156 fail:
46157  return NULL;
46158 }
46159 
46160 
46161 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46162  PyObject *resultobj = 0;
46163  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46164  PySliceObject *arg2 = (PySliceObject *) 0 ;
46165  void *argp1 = 0 ;
46166  int res1 = 0 ;
46167  PyObject * obj0 = 0 ;
46168  PyObject * obj1 = 0 ;
46169  std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > *result = 0 ;
46170 
46171  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPtr___getitem__",&obj0,&obj1)) SWIG_fail;
46172  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46173  if (!SWIG_IsOK(res1)) {
46174  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr___getitem__" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46175  }
46176  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46177  {
46178  if (!PySlice_Check(obj1)) {
46179  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
46180  }
46181  arg2 = (PySliceObject *) obj1;
46182  }
46183  try {
46184  result = (std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > *)std_vector_Sl_ReceptiveField_Sm__Sg____getitem____SWIG_0(arg1,arg2);
46185  }
46186  catch(std::out_of_range &_e) {
46187  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
46188  }
46189  catch(std::invalid_argument &_e) {
46190  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
46191  }
46192 
46193  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, SWIG_POINTER_OWN | 0 );
46194  return resultobj;
46195 fail:
46196  return NULL;
46197 }
46198 
46199 
46200 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46201  PyObject *resultobj = 0;
46202  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46203  PySliceObject *arg2 = (PySliceObject *) 0 ;
46204  std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > *arg3 = 0 ;
46205  void *argp1 = 0 ;
46206  int res1 = 0 ;
46207  int res3 = SWIG_OLDOBJ ;
46208  PyObject * obj0 = 0 ;
46209  PyObject * obj1 = 0 ;
46210  PyObject * obj2 = 0 ;
46211 
46212  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
46213  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46214  if (!SWIG_IsOK(res1)) {
46215  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr___setitem__" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46216  }
46217  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46218  {
46219  if (!PySlice_Check(obj1)) {
46220  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
46221  }
46222  arg2 = (PySliceObject *) obj1;
46223  }
46224  {
46225  std::vector<ReceptiveField*,std::allocator< ReceptiveField * > > *ptr = (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > > *)0;
46226  res3 = swig::asptr(obj2, &ptr);
46227  if (!SWIG_IsOK(res3)) {
46228  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ReceptiveFieldPtr___setitem__" "', argument " "3"" of type '" "std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > const &""'");
46229  }
46230  if (!ptr) {
46231  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_ReceptiveFieldPtr___setitem__" "', argument " "3"" of type '" "std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > const &""'");
46232  }
46233  arg3 = ptr;
46234  }
46235  try {
46236  std_vector_Sl_ReceptiveField_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > const &)*arg3);
46237  }
46238  catch(std::out_of_range &_e) {
46239  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
46240  }
46241  catch(std::invalid_argument &_e) {
46242  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
46243  }
46244 
46245  resultobj = SWIG_Py_Void();
46246  if (SWIG_IsNewObj(res3)) delete arg3;
46247  return resultobj;
46248 fail:
46249  if (SWIG_IsNewObj(res3)) delete arg3;
46250  return NULL;
46251 }
46252 
46253 
46254 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46255  PyObject *resultobj = 0;
46256  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46257  PySliceObject *arg2 = (PySliceObject *) 0 ;
46258  void *argp1 = 0 ;
46259  int res1 = 0 ;
46260  PyObject * obj0 = 0 ;
46261  PyObject * obj1 = 0 ;
46262 
46263  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPtr___setitem__",&obj0,&obj1)) SWIG_fail;
46264  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46265  if (!SWIG_IsOK(res1)) {
46266  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr___setitem__" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46267  }
46268  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46269  {
46270  if (!PySlice_Check(obj1)) {
46271  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
46272  }
46273  arg2 = (PySliceObject *) obj1;
46274  }
46275  try {
46276  std_vector_Sl_ReceptiveField_Sm__Sg____setitem____SWIG_1(arg1,arg2);
46277  }
46278  catch(std::out_of_range &_e) {
46279  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
46280  }
46281  catch(std::invalid_argument &_e) {
46282  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
46283  }
46284 
46285  resultobj = SWIG_Py_Void();
46286  return resultobj;
46287 fail:
46288  return NULL;
46289 }
46290 
46291 
46292 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46293  PyObject *resultobj = 0;
46294  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46295  PySliceObject *arg2 = (PySliceObject *) 0 ;
46296  void *argp1 = 0 ;
46297  int res1 = 0 ;
46298  PyObject * obj0 = 0 ;
46299  PyObject * obj1 = 0 ;
46300 
46301  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPtr___delitem__",&obj0,&obj1)) SWIG_fail;
46302  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46303  if (!SWIG_IsOK(res1)) {
46304  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr___delitem__" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46305  }
46306  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46307  {
46308  if (!PySlice_Check(obj1)) {
46309  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
46310  }
46311  arg2 = (PySliceObject *) obj1;
46312  }
46313  try {
46314  std_vector_Sl_ReceptiveField_Sm__Sg____delitem____SWIG_1(arg1,arg2);
46315  }
46316  catch(std::out_of_range &_e) {
46317  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
46318  }
46319  catch(std::invalid_argument &_e) {
46320  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
46321  }
46322 
46323  resultobj = SWIG_Py_Void();
46324  return resultobj;
46325 fail:
46326  return NULL;
46327 }
46328 
46329 
46330 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___delitem__(PyObject *self, PyObject *args) {
46331  int argc;
46332  PyObject *argv[3];
46333  int ii;
46334 
46335  if (!PyTuple_Check(args)) SWIG_fail;
46336  argc = args ? (int)PyObject_Length(args) : 0;
46337  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
46338  argv[ii] = PyTuple_GET_ITEM(args,ii);
46339  }
46340  if (argc == 2) {
46341  int _v;
46342  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
46343  _v = SWIG_CheckState(res);
46344  if (_v) {
46345  {
46346  _v = PySlice_Check(argv[1]);
46347  }
46348  if (_v) {
46349  return _wrap_vector_ReceptiveFieldPtr___delitem____SWIG_1(self, args);
46350  }
46351  }
46352  }
46353  if (argc == 2) {
46354  int _v;
46355  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
46356  _v = SWIG_CheckState(res);
46357  if (_v) {
46358  {
46359  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
46360  _v = SWIG_CheckState(res);
46361  }
46362  if (_v) {
46363  return _wrap_vector_ReceptiveFieldPtr___delitem____SWIG_0(self, args);
46364  }
46365  }
46366  }
46367 
46368 fail:
46369  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ReceptiveFieldPtr___delitem__'.\n"
46370  " Possible C/C++ prototypes are:\n"
46371  " std::vector< ReceptiveField * >::__delitem__(std::vector< ReceptiveField * >::difference_type)\n"
46372  " std::vector< ReceptiveField * >::__delitem__(PySliceObject *)\n");
46373  return 0;
46374 }
46375 
46376 
46377 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46378  PyObject *resultobj = 0;
46379  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46380  std::vector< ReceptiveField * >::difference_type arg2 ;
46381  void *argp1 = 0 ;
46382  int res1 = 0 ;
46383  ptrdiff_t val2 ;
46384  int ecode2 = 0 ;
46385  PyObject * obj0 = 0 ;
46386  PyObject * obj1 = 0 ;
46387  std::vector< ReceptiveField * >::value_type result;
46388 
46389  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPtr___getitem__",&obj0,&obj1)) SWIG_fail;
46390  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46391  if (!SWIG_IsOK(res1)) {
46392  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr___getitem__" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46393  }
46394  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46395  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
46396  if (!SWIG_IsOK(ecode2)) {
46397  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPtr___getitem__" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::difference_type""'");
46398  }
46399  arg2 = static_cast< std::vector< ReceptiveField * >::difference_type >(val2);
46400  try {
46401  result = (std::vector< ReceptiveField * >::value_type)std_vector_Sl_ReceptiveField_Sm__Sg____getitem____SWIG_1(arg1,arg2);
46402  }
46403  catch(std::out_of_range &_e) {
46404  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
46405  }
46406 
46407  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ReceptiveField, 0 | 0 );
46408  return resultobj;
46409 fail:
46410  return NULL;
46411 }
46412 
46413 
46414 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___getitem__(PyObject *self, PyObject *args) {
46415  int argc;
46416  PyObject *argv[3];
46417  int ii;
46418 
46419  if (!PyTuple_Check(args)) SWIG_fail;
46420  argc = args ? (int)PyObject_Length(args) : 0;
46421  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
46422  argv[ii] = PyTuple_GET_ITEM(args,ii);
46423  }
46424  if (argc == 2) {
46425  int _v;
46426  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
46427  _v = SWIG_CheckState(res);
46428  if (_v) {
46429  {
46430  _v = PySlice_Check(argv[1]);
46431  }
46432  if (_v) {
46433  return _wrap_vector_ReceptiveFieldPtr___getitem____SWIG_0(self, args);
46434  }
46435  }
46436  }
46437  if (argc == 2) {
46438  int _v;
46439  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
46440  _v = SWIG_CheckState(res);
46441  if (_v) {
46442  {
46443  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
46444  _v = SWIG_CheckState(res);
46445  }
46446  if (_v) {
46447  return _wrap_vector_ReceptiveFieldPtr___getitem____SWIG_1(self, args);
46448  }
46449  }
46450  }
46451 
46452 fail:
46453  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ReceptiveFieldPtr___getitem__'.\n"
46454  " Possible C/C++ prototypes are:\n"
46455  " std::vector< ReceptiveField * >::__getitem__(PySliceObject *)\n"
46456  " std::vector< ReceptiveField * >::__getitem__(std::vector< ReceptiveField * >::difference_type)\n");
46457  return 0;
46458 }
46459 
46460 
46461 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46462  PyObject *resultobj = 0;
46463  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46464  std::vector< ReceptiveField * >::difference_type arg2 ;
46465  std::vector< ReceptiveField * >::value_type arg3 = (std::vector< ReceptiveField * >::value_type) 0 ;
46466  void *argp1 = 0 ;
46467  int res1 = 0 ;
46468  ptrdiff_t val2 ;
46469  int ecode2 = 0 ;
46470  void *argp3 = 0 ;
46471  int res3 = 0 ;
46472  PyObject * obj0 = 0 ;
46473  PyObject * obj1 = 0 ;
46474  PyObject * obj2 = 0 ;
46475 
46476  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
46477  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46478  if (!SWIG_IsOK(res1)) {
46479  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr___setitem__" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46480  }
46481  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46482  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
46483  if (!SWIG_IsOK(ecode2)) {
46484  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPtr___setitem__" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::difference_type""'");
46485  }
46486  arg2 = static_cast< std::vector< ReceptiveField * >::difference_type >(val2);
46487  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ReceptiveField, 0 | 0 );
46488  if (!SWIG_IsOK(res3)) {
46489  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ReceptiveFieldPtr___setitem__" "', argument " "3"" of type '" "std::vector< ReceptiveField * >::value_type""'");
46490  }
46491  arg3 = reinterpret_cast< std::vector< ReceptiveField * >::value_type >(argp3);
46492  try {
46493  std_vector_Sl_ReceptiveField_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
46494  }
46495  catch(std::out_of_range &_e) {
46496  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
46497  }
46498 
46499  resultobj = SWIG_Py_Void();
46500  return resultobj;
46501 fail:
46502  return NULL;
46503 }
46504 
46505 
46506 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr___setitem__(PyObject *self, PyObject *args) {
46507  int argc;
46508  PyObject *argv[4];
46509  int ii;
46510 
46511  if (!PyTuple_Check(args)) SWIG_fail;
46512  argc = args ? (int)PyObject_Length(args) : 0;
46513  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
46514  argv[ii] = PyTuple_GET_ITEM(args,ii);
46515  }
46516  if (argc == 2) {
46517  int _v;
46518  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
46519  _v = SWIG_CheckState(res);
46520  if (_v) {
46521  {
46522  _v = PySlice_Check(argv[1]);
46523  }
46524  if (_v) {
46525  return _wrap_vector_ReceptiveFieldPtr___setitem____SWIG_1(self, args);
46526  }
46527  }
46528  }
46529  if (argc == 3) {
46530  int _v;
46531  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
46532  _v = SWIG_CheckState(res);
46533  if (_v) {
46534  {
46535  _v = PySlice_Check(argv[1]);
46536  }
46537  if (_v) {
46538  int res = swig::asptr(argv[2], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
46539  _v = SWIG_CheckState(res);
46540  if (_v) {
46541  return _wrap_vector_ReceptiveFieldPtr___setitem____SWIG_0(self, args);
46542  }
46543  }
46544  }
46545  }
46546  if (argc == 3) {
46547  int _v;
46548  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
46549  _v = SWIG_CheckState(res);
46550  if (_v) {
46551  {
46552  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
46553  _v = SWIG_CheckState(res);
46554  }
46555  if (_v) {
46556  void *vptr = 0;
46557  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ReceptiveField, 0);
46558  _v = SWIG_CheckState(res);
46559  if (_v) {
46560  return _wrap_vector_ReceptiveFieldPtr___setitem____SWIG_2(self, args);
46561  }
46562  }
46563  }
46564  }
46565 
46566 fail:
46567  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ReceptiveFieldPtr___setitem__'.\n"
46568  " Possible C/C++ prototypes are:\n"
46569  " std::vector< ReceptiveField * >::__setitem__(PySliceObject *,std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > const &)\n"
46570  " std::vector< ReceptiveField * >::__setitem__(PySliceObject *)\n"
46571  " std::vector< ReceptiveField * >::__setitem__(std::vector< ReceptiveField * >::difference_type,std::vector< ReceptiveField * >::value_type)\n");
46572  return 0;
46573 }
46574 
46575 
46576 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46577  PyObject *resultobj = 0;
46578  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46579  std::vector< ReceptiveField * >::value_type arg2 = (std::vector< ReceptiveField * >::value_type) 0 ;
46580  void *argp1 = 0 ;
46581  int res1 = 0 ;
46582  void *argp2 = 0 ;
46583  int res2 = 0 ;
46584  PyObject * obj0 = 0 ;
46585  PyObject * obj1 = 0 ;
46586 
46587  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPtr_append",&obj0,&obj1)) SWIG_fail;
46588  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46589  if (!SWIG_IsOK(res1)) {
46590  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_append" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46591  }
46592  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46593  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ReceptiveField, 0 | 0 );
46594  if (!SWIG_IsOK(res2)) {
46595  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_ReceptiveFieldPtr_append" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::value_type""'");
46596  }
46597  arg2 = reinterpret_cast< std::vector< ReceptiveField * >::value_type >(argp2);
46598  std_vector_Sl_ReceptiveField_Sm__Sg__append(arg1,arg2);
46599  resultobj = SWIG_Py_Void();
46600  return resultobj;
46601 fail:
46602  return NULL;
46603 }
46604 
46605 
46606 SWIGINTERN PyObject *_wrap_new_vector_ReceptiveFieldPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46607  PyObject *resultobj = 0;
46608  std::vector< ReceptiveField * > *result = 0 ;
46609 
46610  if (!PyArg_ParseTuple(args,(char *)":new_vector_ReceptiveFieldPtr")) SWIG_fail;
46611  result = (std::vector< ReceptiveField * > *)new std::vector< ReceptiveField * >();
46612  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, SWIG_POINTER_NEW | 0 );
46613  return resultobj;
46614 fail:
46615  return NULL;
46616 }
46617 
46618 
46619 SWIGINTERN PyObject *_wrap_new_vector_ReceptiveFieldPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46620  PyObject *resultobj = 0;
46621  std::vector< ReceptiveField * > *arg1 = 0 ;
46622  int res1 = SWIG_OLDOBJ ;
46623  PyObject * obj0 = 0 ;
46624  std::vector< ReceptiveField * > *result = 0 ;
46625 
46626  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_ReceptiveFieldPtr",&obj0)) SWIG_fail;
46627  {
46628  std::vector<ReceptiveField*,std::allocator< ReceptiveField * > > *ptr = (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > > *)0;
46629  res1 = swig::asptr(obj0, &ptr);
46630  if (!SWIG_IsOK(res1)) {
46631  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_ReceptiveFieldPtr" "', argument " "1"" of type '" "std::vector< ReceptiveField * > const &""'");
46632  }
46633  if (!ptr) {
46634  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_ReceptiveFieldPtr" "', argument " "1"" of type '" "std::vector< ReceptiveField * > const &""'");
46635  }
46636  arg1 = ptr;
46637  }
46638  result = (std::vector< ReceptiveField * > *)new std::vector< ReceptiveField * >((std::vector< ReceptiveField * > const &)*arg1);
46639  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, SWIG_POINTER_NEW | 0 );
46640  if (SWIG_IsNewObj(res1)) delete arg1;
46641  return resultobj;
46642 fail:
46643  if (SWIG_IsNewObj(res1)) delete arg1;
46644  return NULL;
46645 }
46646 
46647 
46648 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46649  PyObject *resultobj = 0;
46650  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46651  void *argp1 = 0 ;
46652  int res1 = 0 ;
46653  PyObject * obj0 = 0 ;
46654  bool result;
46655 
46656  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr_empty",&obj0)) SWIG_fail;
46657  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46658  if (!SWIG_IsOK(res1)) {
46659  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_empty" "', argument " "1"" of type '" "std::vector< ReceptiveField * > const *""'");
46660  }
46661  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46662  result = (bool)((std::vector< ReceptiveField * > const *)arg1)->empty();
46663  resultobj = SWIG_From_bool(static_cast< bool >(result));
46664  return resultobj;
46665 fail:
46666  return NULL;
46667 }
46668 
46669 
46670 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46671  PyObject *resultobj = 0;
46672  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46673  void *argp1 = 0 ;
46674  int res1 = 0 ;
46675  PyObject * obj0 = 0 ;
46676  std::vector< ReceptiveField * >::size_type result;
46677 
46678  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr_size",&obj0)) SWIG_fail;
46679  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46680  if (!SWIG_IsOK(res1)) {
46681  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_size" "', argument " "1"" of type '" "std::vector< ReceptiveField * > const *""'");
46682  }
46683  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46684  result = ((std::vector< ReceptiveField * > const *)arg1)->size();
46685  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
46686  return resultobj;
46687 fail:
46688  return NULL;
46689 }
46690 
46691 
46692 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46693  PyObject *resultobj = 0;
46694  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46695  void *argp1 = 0 ;
46696  int res1 = 0 ;
46697  PyObject * obj0 = 0 ;
46698 
46699  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr_clear",&obj0)) SWIG_fail;
46700  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46701  if (!SWIG_IsOK(res1)) {
46702  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_clear" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46703  }
46704  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46705  (arg1)->clear();
46706  resultobj = SWIG_Py_Void();
46707  return resultobj;
46708 fail:
46709  return NULL;
46710 }
46711 
46712 
46713 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46714  PyObject *resultobj = 0;
46715  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46716  std::vector< ReceptiveField * > *arg2 = 0 ;
46717  void *argp1 = 0 ;
46718  int res1 = 0 ;
46719  void *argp2 = 0 ;
46720  int res2 = 0 ;
46721  PyObject * obj0 = 0 ;
46722  PyObject * obj1 = 0 ;
46723 
46724  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPtr_swap",&obj0,&obj1)) SWIG_fail;
46725  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46726  if (!SWIG_IsOK(res1)) {
46727  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_swap" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46728  }
46729  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46730  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 );
46731  if (!SWIG_IsOK(res2)) {
46732  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_ReceptiveFieldPtr_swap" "', argument " "2"" of type '" "std::vector< ReceptiveField * > &""'");
46733  }
46734  if (!argp2) {
46735  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_ReceptiveFieldPtr_swap" "', argument " "2"" of type '" "std::vector< ReceptiveField * > &""'");
46736  }
46737  arg2 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp2);
46738  (arg1)->swap(*arg2);
46739  resultobj = SWIG_Py_Void();
46740  return resultobj;
46741 fail:
46742  return NULL;
46743 }
46744 
46745 
46746 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46747  PyObject *resultobj = 0;
46748  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46749  void *argp1 = 0 ;
46750  int res1 = 0 ;
46751  PyObject * obj0 = 0 ;
46752  SwigValueWrapper< std::allocator< ReceptiveField * > > result;
46753 
46754  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr_get_allocator",&obj0)) SWIG_fail;
46755  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46756  if (!SWIG_IsOK(res1)) {
46757  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_get_allocator" "', argument " "1"" of type '" "std::vector< ReceptiveField * > const *""'");
46758  }
46759  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46760  result = ((std::vector< ReceptiveField * > const *)arg1)->get_allocator();
46761  resultobj = SWIG_NewPointerObj((new std::vector< ReceptiveField * >::allocator_type(static_cast< const std::vector< ReceptiveField * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_ReceptiveField_p_t, SWIG_POINTER_OWN | 0 );
46762  return resultobj;
46763 fail:
46764  return NULL;
46765 }
46766 
46767 
46768 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46769  PyObject *resultobj = 0;
46770  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46771  void *argp1 = 0 ;
46772  int res1 = 0 ;
46773  PyObject * obj0 = 0 ;
46774  std::vector< ReceptiveField * >::iterator result;
46775 
46776  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr_begin",&obj0)) SWIG_fail;
46777  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46778  if (!SWIG_IsOK(res1)) {
46779  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_begin" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46780  }
46781  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46782  result = (arg1)->begin();
46783  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ReceptiveField * >::iterator & >(result)),
46784  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
46785  return resultobj;
46786 fail:
46787  return NULL;
46788 }
46789 
46790 
46791 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46792  PyObject *resultobj = 0;
46793  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46794  void *argp1 = 0 ;
46795  int res1 = 0 ;
46796  PyObject * obj0 = 0 ;
46797  std::vector< ReceptiveField * >::iterator result;
46798 
46799  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr_end",&obj0)) SWIG_fail;
46800  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46801  if (!SWIG_IsOK(res1)) {
46802  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_end" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46803  }
46804  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46805  result = (arg1)->end();
46806  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ReceptiveField * >::iterator & >(result)),
46807  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
46808  return resultobj;
46809 fail:
46810  return NULL;
46811 }
46812 
46813 
46814 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46815  PyObject *resultobj = 0;
46816  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46817  void *argp1 = 0 ;
46818  int res1 = 0 ;
46819  PyObject * obj0 = 0 ;
46820  std::vector< ReceptiveField * >::reverse_iterator result;
46821 
46822  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr_rbegin",&obj0)) SWIG_fail;
46823  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46824  if (!SWIG_IsOK(res1)) {
46825  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_rbegin" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46826  }
46827  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46828  result = (arg1)->rbegin();
46829  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ReceptiveField * >::reverse_iterator & >(result)),
46830  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
46831  return resultobj;
46832 fail:
46833  return NULL;
46834 }
46835 
46836 
46837 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46838  PyObject *resultobj = 0;
46839  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46840  void *argp1 = 0 ;
46841  int res1 = 0 ;
46842  PyObject * obj0 = 0 ;
46843  std::vector< ReceptiveField * >::reverse_iterator result;
46844 
46845  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr_rend",&obj0)) SWIG_fail;
46846  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46847  if (!SWIG_IsOK(res1)) {
46848  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_rend" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46849  }
46850  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46851  result = (arg1)->rend();
46852  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ReceptiveField * >::reverse_iterator & >(result)),
46853  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
46854  return resultobj;
46855 fail:
46856  return NULL;
46857 }
46858 
46859 
46860 SWIGINTERN PyObject *_wrap_new_vector_ReceptiveFieldPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46861  PyObject *resultobj = 0;
46862  std::vector< ReceptiveField * >::size_type arg1 ;
46863  size_t val1 ;
46864  int ecode1 = 0 ;
46865  PyObject * obj0 = 0 ;
46866  std::vector< ReceptiveField * > *result = 0 ;
46867 
46868  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_ReceptiveFieldPtr",&obj0)) SWIG_fail;
46869  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
46870  if (!SWIG_IsOK(ecode1)) {
46871  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_ReceptiveFieldPtr" "', argument " "1"" of type '" "std::vector< ReceptiveField * >::size_type""'");
46872  }
46873  arg1 = static_cast< std::vector< ReceptiveField * >::size_type >(val1);
46874  result = (std::vector< ReceptiveField * > *)new std::vector< ReceptiveField * >(arg1);
46875  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, SWIG_POINTER_NEW | 0 );
46876  return resultobj;
46877 fail:
46878  return NULL;
46879 }
46880 
46881 
46882 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46883  PyObject *resultobj = 0;
46884  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46885  void *argp1 = 0 ;
46886  int res1 = 0 ;
46887  PyObject * obj0 = 0 ;
46888 
46889  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr_pop_back",&obj0)) SWIG_fail;
46890  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46891  if (!SWIG_IsOK(res1)) {
46892  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_pop_back" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46893  }
46894  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46895  (arg1)->pop_back();
46896  resultobj = SWIG_Py_Void();
46897  return resultobj;
46898 fail:
46899  return NULL;
46900 }
46901 
46902 
46903 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46904  PyObject *resultobj = 0;
46905  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46906  std::vector< ReceptiveField * >::size_type arg2 ;
46907  void *argp1 = 0 ;
46908  int res1 = 0 ;
46909  size_t val2 ;
46910  int ecode2 = 0 ;
46911  PyObject * obj0 = 0 ;
46912  PyObject * obj1 = 0 ;
46913 
46914  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPtr_resize",&obj0,&obj1)) SWIG_fail;
46915  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46916  if (!SWIG_IsOK(res1)) {
46917  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_resize" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46918  }
46919  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46920  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
46921  if (!SWIG_IsOK(ecode2)) {
46922  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPtr_resize" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::size_type""'");
46923  }
46924  arg2 = static_cast< std::vector< ReceptiveField * >::size_type >(val2);
46925  (arg1)->resize(arg2);
46926  resultobj = SWIG_Py_Void();
46927  return resultobj;
46928 fail:
46929  return NULL;
46930 }
46931 
46932 
46933 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46934  PyObject *resultobj = 0;
46935  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46936  std::vector< ReceptiveField * >::iterator arg2 ;
46937  void *argp1 = 0 ;
46938  int res1 = 0 ;
46939  swig::SwigPyIterator *iter2 = 0 ;
46940  int res2 ;
46941  PyObject * obj0 = 0 ;
46942  PyObject * obj1 = 0 ;
46943  std::vector< ReceptiveField * >::iterator result;
46944 
46945  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPtr_erase",&obj0,&obj1)) SWIG_fail;
46946  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46947  if (!SWIG_IsOK(res1)) {
46948  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_erase" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46949  }
46950  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46951  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
46952  if (!SWIG_IsOK(res2) || !iter2) {
46953  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPtr_erase" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::iterator""'");
46954  } else {
46956  if (iter_t) {
46957  arg2 = iter_t->get_current();
46958  } else {
46959  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPtr_erase" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::iterator""'");
46960  }
46961  }
46962  result = std_vector_Sl_ReceptiveField_Sm__Sg__erase__SWIG_0(arg1,arg2);
46963  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ReceptiveField * >::iterator & >(result)),
46964  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
46965  return resultobj;
46966 fail:
46967  return NULL;
46968 }
46969 
46970 
46971 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46972  PyObject *resultobj = 0;
46973  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
46974  std::vector< ReceptiveField * >::iterator arg2 ;
46975  std::vector< ReceptiveField * >::iterator arg3 ;
46976  void *argp1 = 0 ;
46977  int res1 = 0 ;
46978  swig::SwigPyIterator *iter2 = 0 ;
46979  int res2 ;
46980  swig::SwigPyIterator *iter3 = 0 ;
46981  int res3 ;
46982  PyObject * obj0 = 0 ;
46983  PyObject * obj1 = 0 ;
46984  PyObject * obj2 = 0 ;
46985  std::vector< ReceptiveField * >::iterator result;
46986 
46987  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
46988  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
46989  if (!SWIG_IsOK(res1)) {
46990  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_erase" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
46991  }
46992  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
46993  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
46994  if (!SWIG_IsOK(res2) || !iter2) {
46995  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPtr_erase" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::iterator""'");
46996  } else {
46998  if (iter_t) {
46999  arg2 = iter_t->get_current();
47000  } else {
47001  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPtr_erase" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::iterator""'");
47002  }
47003  }
47004  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
47005  if (!SWIG_IsOK(res3) || !iter3) {
47006  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPtr_erase" "', argument " "3"" of type '" "std::vector< ReceptiveField * >::iterator""'");
47007  } else {
47009  if (iter_t) {
47010  arg3 = iter_t->get_current();
47011  } else {
47012  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPtr_erase" "', argument " "3"" of type '" "std::vector< ReceptiveField * >::iterator""'");
47013  }
47014  }
47015  result = std_vector_Sl_ReceptiveField_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
47016  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ReceptiveField * >::iterator & >(result)),
47017  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
47018  return resultobj;
47019 fail:
47020  return NULL;
47021 }
47022 
47023 
47024 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_erase(PyObject *self, PyObject *args) {
47025  int argc;
47026  PyObject *argv[4];
47027  int ii;
47028 
47029  if (!PyTuple_Check(args)) SWIG_fail;
47030  argc = args ? (int)PyObject_Length(args) : 0;
47031  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
47032  argv[ii] = PyTuple_GET_ITEM(args,ii);
47033  }
47034  if (argc == 2) {
47035  int _v;
47036  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
47037  _v = SWIG_CheckState(res);
47038  if (_v) {
47039  swig::SwigPyIterator *iter = 0;
47040  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
47041  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveField * >::iterator > *>(iter) != 0));
47042  if (_v) {
47043  return _wrap_vector_ReceptiveFieldPtr_erase__SWIG_0(self, args);
47044  }
47045  }
47046  }
47047  if (argc == 3) {
47048  int _v;
47049  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
47050  _v = SWIG_CheckState(res);
47051  if (_v) {
47052  swig::SwigPyIterator *iter = 0;
47053  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
47054  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveField * >::iterator > *>(iter) != 0));
47055  if (_v) {
47056  swig::SwigPyIterator *iter = 0;
47057  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
47058  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveField * >::iterator > *>(iter) != 0));
47059  if (_v) {
47060  return _wrap_vector_ReceptiveFieldPtr_erase__SWIG_1(self, args);
47061  }
47062  }
47063  }
47064  }
47065 
47066 fail:
47067  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ReceptiveFieldPtr_erase'.\n"
47068  " Possible C/C++ prototypes are:\n"
47069  " std::vector< ReceptiveField * >::erase(std::vector< ReceptiveField * >::iterator)\n"
47070  " std::vector< ReceptiveField * >::erase(std::vector< ReceptiveField * >::iterator,std::vector< ReceptiveField * >::iterator)\n");
47071  return 0;
47072 }
47073 
47074 
47075 SWIGINTERN PyObject *_wrap_new_vector_ReceptiveFieldPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47076  PyObject *resultobj = 0;
47077  std::vector< ReceptiveField * >::size_type arg1 ;
47078  std::vector< ReceptiveField * >::value_type arg2 = (std::vector< ReceptiveField * >::value_type) 0 ;
47079  size_t val1 ;
47080  int ecode1 = 0 ;
47081  void *argp2 = 0 ;
47082  int res2 = 0 ;
47083  PyObject * obj0 = 0 ;
47084  PyObject * obj1 = 0 ;
47085  std::vector< ReceptiveField * > *result = 0 ;
47086 
47087  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_ReceptiveFieldPtr",&obj0,&obj1)) SWIG_fail;
47088  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
47089  if (!SWIG_IsOK(ecode1)) {
47090  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_ReceptiveFieldPtr" "', argument " "1"" of type '" "std::vector< ReceptiveField * >::size_type""'");
47091  }
47092  arg1 = static_cast< std::vector< ReceptiveField * >::size_type >(val1);
47093  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ReceptiveField, 0 | 0 );
47094  if (!SWIG_IsOK(res2)) {
47095  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_ReceptiveFieldPtr" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::value_type""'");
47096  }
47097  arg2 = reinterpret_cast< std::vector< ReceptiveField * >::value_type >(argp2);
47098  result = (std::vector< ReceptiveField * > *)new std::vector< ReceptiveField * >(arg1,arg2);
47099  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, SWIG_POINTER_NEW | 0 );
47100  return resultobj;
47101 fail:
47102  return NULL;
47103 }
47104 
47105 
47106 SWIGINTERN PyObject *_wrap_new_vector_ReceptiveFieldPtr(PyObject *self, PyObject *args) {
47107  int argc;
47108  PyObject *argv[3];
47109  int ii;
47110 
47111  if (!PyTuple_Check(args)) SWIG_fail;
47112  argc = args ? (int)PyObject_Length(args) : 0;
47113  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
47114  argv[ii] = PyTuple_GET_ITEM(args,ii);
47115  }
47116  if (argc == 0) {
47117  return _wrap_new_vector_ReceptiveFieldPtr__SWIG_0(self, args);
47118  }
47119  if (argc == 1) {
47120  int _v;
47121  {
47122  int res = SWIG_AsVal_size_t(argv[0], NULL);
47123  _v = SWIG_CheckState(res);
47124  }
47125  if (_v) {
47126  return _wrap_new_vector_ReceptiveFieldPtr__SWIG_2(self, args);
47127  }
47128  }
47129  if (argc == 1) {
47130  int _v;
47131  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
47132  _v = SWIG_CheckState(res);
47133  if (_v) {
47134  return _wrap_new_vector_ReceptiveFieldPtr__SWIG_1(self, args);
47135  }
47136  }
47137  if (argc == 2) {
47138  int _v;
47139  {
47140  int res = SWIG_AsVal_size_t(argv[0], NULL);
47141  _v = SWIG_CheckState(res);
47142  }
47143  if (_v) {
47144  void *vptr = 0;
47145  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ReceptiveField, 0);
47146  _v = SWIG_CheckState(res);
47147  if (_v) {
47148  return _wrap_new_vector_ReceptiveFieldPtr__SWIG_3(self, args);
47149  }
47150  }
47151  }
47152 
47153 fail:
47154  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_ReceptiveFieldPtr'.\n"
47155  " Possible C/C++ prototypes are:\n"
47156  " std::vector< ReceptiveField * >::vector()\n"
47157  " std::vector< ReceptiveField * >::vector(std::vector< ReceptiveField * > const &)\n"
47158  " std::vector< ReceptiveField * >::vector(std::vector< ReceptiveField * >::size_type)\n"
47159  " std::vector< ReceptiveField * >::vector(std::vector< ReceptiveField * >::size_type,std::vector< ReceptiveField * >::value_type)\n");
47160  return 0;
47161 }
47162 
47163 
47164 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47165  PyObject *resultobj = 0;
47166  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
47167  std::vector< ReceptiveField * >::value_type arg2 = (std::vector< ReceptiveField * >::value_type) 0 ;
47168  void *argp1 = 0 ;
47169  int res1 = 0 ;
47170  void *argp2 = 0 ;
47171  int res2 = 0 ;
47172  PyObject * obj0 = 0 ;
47173  PyObject * obj1 = 0 ;
47174 
47175  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPtr_push_back",&obj0,&obj1)) SWIG_fail;
47176  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
47177  if (!SWIG_IsOK(res1)) {
47178  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_push_back" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
47179  }
47180  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
47181  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ReceptiveField, 0 | 0 );
47182  if (!SWIG_IsOK(res2)) {
47183  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_ReceptiveFieldPtr_push_back" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::value_type""'");
47184  }
47185  arg2 = reinterpret_cast< std::vector< ReceptiveField * >::value_type >(argp2);
47186  (arg1)->push_back(arg2);
47187  resultobj = SWIG_Py_Void();
47188  return resultobj;
47189 fail:
47190  return NULL;
47191 }
47192 
47193 
47194 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47195  PyObject *resultobj = 0;
47196  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
47197  void *argp1 = 0 ;
47198  int res1 = 0 ;
47199  PyObject * obj0 = 0 ;
47200  std::vector< ReceptiveField * >::value_type result;
47201 
47202  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr_front",&obj0)) SWIG_fail;
47203  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
47204  if (!SWIG_IsOK(res1)) {
47205  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_front" "', argument " "1"" of type '" "std::vector< ReceptiveField * > const *""'");
47206  }
47207  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
47208  result = (std::vector< ReceptiveField * >::value_type)((std::vector< ReceptiveField * > const *)arg1)->front();
47209  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ReceptiveField, 0 | 0 );
47210  return resultobj;
47211 fail:
47212  return NULL;
47213 }
47214 
47215 
47216 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47217  PyObject *resultobj = 0;
47218  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
47219  void *argp1 = 0 ;
47220  int res1 = 0 ;
47221  PyObject * obj0 = 0 ;
47222  std::vector< ReceptiveField * >::value_type result;
47223 
47224  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr_back",&obj0)) SWIG_fail;
47225  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
47226  if (!SWIG_IsOK(res1)) {
47227  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_back" "', argument " "1"" of type '" "std::vector< ReceptiveField * > const *""'");
47228  }
47229  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
47230  result = (std::vector< ReceptiveField * >::value_type)((std::vector< ReceptiveField * > const *)arg1)->back();
47231  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ReceptiveField, 0 | 0 );
47232  return resultobj;
47233 fail:
47234  return NULL;
47235 }
47236 
47237 
47238 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47239  PyObject *resultobj = 0;
47240  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
47241  std::vector< ReceptiveField * >::size_type arg2 ;
47242  std::vector< ReceptiveField * >::value_type arg3 = (std::vector< ReceptiveField * >::value_type) 0 ;
47243  void *argp1 = 0 ;
47244  int res1 = 0 ;
47245  size_t val2 ;
47246  int ecode2 = 0 ;
47247  void *argp3 = 0 ;
47248  int res3 = 0 ;
47249  PyObject * obj0 = 0 ;
47250  PyObject * obj1 = 0 ;
47251  PyObject * obj2 = 0 ;
47252 
47253  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
47254  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
47255  if (!SWIG_IsOK(res1)) {
47256  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_assign" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
47257  }
47258  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
47259  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
47260  if (!SWIG_IsOK(ecode2)) {
47261  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPtr_assign" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::size_type""'");
47262  }
47263  arg2 = static_cast< std::vector< ReceptiveField * >::size_type >(val2);
47264  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ReceptiveField, 0 | 0 );
47265  if (!SWIG_IsOK(res3)) {
47266  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ReceptiveFieldPtr_assign" "', argument " "3"" of type '" "std::vector< ReceptiveField * >::value_type""'");
47267  }
47268  arg3 = reinterpret_cast< std::vector< ReceptiveField * >::value_type >(argp3);
47269  (arg1)->assign(arg2,arg3);
47270  resultobj = SWIG_Py_Void();
47271  return resultobj;
47272 fail:
47273  return NULL;
47274 }
47275 
47276 
47277 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47278  PyObject *resultobj = 0;
47279  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
47280  std::vector< ReceptiveField * >::size_type arg2 ;
47281  std::vector< ReceptiveField * >::value_type arg3 = (std::vector< ReceptiveField * >::value_type) 0 ;
47282  void *argp1 = 0 ;
47283  int res1 = 0 ;
47284  size_t val2 ;
47285  int ecode2 = 0 ;
47286  void *argp3 = 0 ;
47287  int res3 = 0 ;
47288  PyObject * obj0 = 0 ;
47289  PyObject * obj1 = 0 ;
47290  PyObject * obj2 = 0 ;
47291 
47292  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
47293  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
47294  if (!SWIG_IsOK(res1)) {
47295  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_resize" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
47296  }
47297  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
47298  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
47299  if (!SWIG_IsOK(ecode2)) {
47300  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPtr_resize" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::size_type""'");
47301  }
47302  arg2 = static_cast< std::vector< ReceptiveField * >::size_type >(val2);
47303  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ReceptiveField, 0 | 0 );
47304  if (!SWIG_IsOK(res3)) {
47305  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ReceptiveFieldPtr_resize" "', argument " "3"" of type '" "std::vector< ReceptiveField * >::value_type""'");
47306  }
47307  arg3 = reinterpret_cast< std::vector< ReceptiveField * >::value_type >(argp3);
47308  (arg1)->resize(arg2,arg3);
47309  resultobj = SWIG_Py_Void();
47310  return resultobj;
47311 fail:
47312  return NULL;
47313 }
47314 
47315 
47316 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_resize(PyObject *self, PyObject *args) {
47317  int argc;
47318  PyObject *argv[4];
47319  int ii;
47320 
47321  if (!PyTuple_Check(args)) SWIG_fail;
47322  argc = args ? (int)PyObject_Length(args) : 0;
47323  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
47324  argv[ii] = PyTuple_GET_ITEM(args,ii);
47325  }
47326  if (argc == 2) {
47327  int _v;
47328  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
47329  _v = SWIG_CheckState(res);
47330  if (_v) {
47331  {
47332  int res = SWIG_AsVal_size_t(argv[1], NULL);
47333  _v = SWIG_CheckState(res);
47334  }
47335  if (_v) {
47336  return _wrap_vector_ReceptiveFieldPtr_resize__SWIG_0(self, args);
47337  }
47338  }
47339  }
47340  if (argc == 3) {
47341  int _v;
47342  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
47343  _v = SWIG_CheckState(res);
47344  if (_v) {
47345  {
47346  int res = SWIG_AsVal_size_t(argv[1], NULL);
47347  _v = SWIG_CheckState(res);
47348  }
47349  if (_v) {
47350  void *vptr = 0;
47351  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ReceptiveField, 0);
47352  _v = SWIG_CheckState(res);
47353  if (_v) {
47354  return _wrap_vector_ReceptiveFieldPtr_resize__SWIG_1(self, args);
47355  }
47356  }
47357  }
47358  }
47359 
47360 fail:
47361  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ReceptiveFieldPtr_resize'.\n"
47362  " Possible C/C++ prototypes are:\n"
47363  " std::vector< ReceptiveField * >::resize(std::vector< ReceptiveField * >::size_type)\n"
47364  " std::vector< ReceptiveField * >::resize(std::vector< ReceptiveField * >::size_type,std::vector< ReceptiveField * >::value_type)\n");
47365  return 0;
47366 }
47367 
47368 
47369 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47370  PyObject *resultobj = 0;
47371  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
47372  std::vector< ReceptiveField * >::iterator arg2 ;
47373  std::vector< ReceptiveField * >::value_type arg3 = (std::vector< ReceptiveField * >::value_type) 0 ;
47374  void *argp1 = 0 ;
47375  int res1 = 0 ;
47376  swig::SwigPyIterator *iter2 = 0 ;
47377  int res2 ;
47378  void *argp3 = 0 ;
47379  int res3 = 0 ;
47380  PyObject * obj0 = 0 ;
47381  PyObject * obj1 = 0 ;
47382  PyObject * obj2 = 0 ;
47383  std::vector< ReceptiveField * >::iterator result;
47384 
47385  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_ReceptiveFieldPtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
47386  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
47387  if (!SWIG_IsOK(res1)) {
47388  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_insert" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
47389  }
47390  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
47391  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
47392  if (!SWIG_IsOK(res2) || !iter2) {
47393  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPtr_insert" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::iterator""'");
47394  } else {
47396  if (iter_t) {
47397  arg2 = iter_t->get_current();
47398  } else {
47399  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPtr_insert" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::iterator""'");
47400  }
47401  }
47402  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ReceptiveField, 0 | 0 );
47403  if (!SWIG_IsOK(res3)) {
47404  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_ReceptiveFieldPtr_insert" "', argument " "3"" of type '" "std::vector< ReceptiveField * >::value_type""'");
47405  }
47406  arg3 = reinterpret_cast< std::vector< ReceptiveField * >::value_type >(argp3);
47407  result = std_vector_Sl_ReceptiveField_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
47408  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< ReceptiveField * >::iterator & >(result)),
47409  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
47410  return resultobj;
47411 fail:
47412  return NULL;
47413 }
47414 
47415 
47416 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47417  PyObject *resultobj = 0;
47418  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
47419  std::vector< ReceptiveField * >::iterator arg2 ;
47420  std::vector< ReceptiveField * >::size_type arg3 ;
47421  std::vector< ReceptiveField * >::value_type arg4 = (std::vector< ReceptiveField * >::value_type) 0 ;
47422  void *argp1 = 0 ;
47423  int res1 = 0 ;
47424  swig::SwigPyIterator *iter2 = 0 ;
47425  int res2 ;
47426  size_t val3 ;
47427  int ecode3 = 0 ;
47428  void *argp4 = 0 ;
47429  int res4 = 0 ;
47430  PyObject * obj0 = 0 ;
47431  PyObject * obj1 = 0 ;
47432  PyObject * obj2 = 0 ;
47433  PyObject * obj3 = 0 ;
47434 
47435  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_ReceptiveFieldPtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
47436  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
47437  if (!SWIG_IsOK(res1)) {
47438  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_insert" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
47439  }
47440  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
47441  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
47442  if (!SWIG_IsOK(res2) || !iter2) {
47443  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPtr_insert" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::iterator""'");
47444  } else {
47446  if (iter_t) {
47447  arg2 = iter_t->get_current();
47448  } else {
47449  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_ReceptiveFieldPtr_insert" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::iterator""'");
47450  }
47451  }
47452  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
47453  if (!SWIG_IsOK(ecode3)) {
47454  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_ReceptiveFieldPtr_insert" "', argument " "3"" of type '" "std::vector< ReceptiveField * >::size_type""'");
47455  }
47456  arg3 = static_cast< std::vector< ReceptiveField * >::size_type >(val3);
47457  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_ReceptiveField, 0 | 0 );
47458  if (!SWIG_IsOK(res4)) {
47459  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_ReceptiveFieldPtr_insert" "', argument " "4"" of type '" "std::vector< ReceptiveField * >::value_type""'");
47460  }
47461  arg4 = reinterpret_cast< std::vector< ReceptiveField * >::value_type >(argp4);
47462  std_vector_Sl_ReceptiveField_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
47463  resultobj = SWIG_Py_Void();
47464  return resultobj;
47465 fail:
47466  return NULL;
47467 }
47468 
47469 
47470 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_insert(PyObject *self, PyObject *args) {
47471  int argc;
47472  PyObject *argv[5];
47473  int ii;
47474 
47475  if (!PyTuple_Check(args)) SWIG_fail;
47476  argc = args ? (int)PyObject_Length(args) : 0;
47477  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
47478  argv[ii] = PyTuple_GET_ITEM(args,ii);
47479  }
47480  if (argc == 3) {
47481  int _v;
47482  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
47483  _v = SWIG_CheckState(res);
47484  if (_v) {
47485  swig::SwigPyIterator *iter = 0;
47486  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
47487  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveField * >::iterator > *>(iter) != 0));
47488  if (_v) {
47489  void *vptr = 0;
47490  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ReceptiveField, 0);
47491  _v = SWIG_CheckState(res);
47492  if (_v) {
47493  return _wrap_vector_ReceptiveFieldPtr_insert__SWIG_0(self, args);
47494  }
47495  }
47496  }
47497  }
47498  if (argc == 4) {
47499  int _v;
47500  int res = swig::asptr(argv[0], (std::vector<ReceptiveField*,std::allocator< ReceptiveField * > >**)(0));
47501  _v = SWIG_CheckState(res);
47502  if (_v) {
47503  swig::SwigPyIterator *iter = 0;
47504  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
47505  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveField * >::iterator > *>(iter) != 0));
47506  if (_v) {
47507  {
47508  int res = SWIG_AsVal_size_t(argv[2], NULL);
47509  _v = SWIG_CheckState(res);
47510  }
47511  if (_v) {
47512  void *vptr = 0;
47513  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_ReceptiveField, 0);
47514  _v = SWIG_CheckState(res);
47515  if (_v) {
47516  return _wrap_vector_ReceptiveFieldPtr_insert__SWIG_1(self, args);
47517  }
47518  }
47519  }
47520  }
47521  }
47522 
47523 fail:
47524  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_ReceptiveFieldPtr_insert'.\n"
47525  " Possible C/C++ prototypes are:\n"
47526  " std::vector< ReceptiveField * >::insert(std::vector< ReceptiveField * >::iterator,std::vector< ReceptiveField * >::value_type)\n"
47527  " std::vector< ReceptiveField * >::insert(std::vector< ReceptiveField * >::iterator,std::vector< ReceptiveField * >::size_type,std::vector< ReceptiveField * >::value_type)\n");
47528  return 0;
47529 }
47530 
47531 
47532 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47533  PyObject *resultobj = 0;
47534  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
47535  std::vector< ReceptiveField * >::size_type arg2 ;
47536  void *argp1 = 0 ;
47537  int res1 = 0 ;
47538  size_t val2 ;
47539  int ecode2 = 0 ;
47540  PyObject * obj0 = 0 ;
47541  PyObject * obj1 = 0 ;
47542 
47543  if (!PyArg_ParseTuple(args,(char *)"OO:vector_ReceptiveFieldPtr_reserve",&obj0,&obj1)) SWIG_fail;
47544  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
47545  if (!SWIG_IsOK(res1)) {
47546  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_reserve" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
47547  }
47548  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
47549  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
47550  if (!SWIG_IsOK(ecode2)) {
47551  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_ReceptiveFieldPtr_reserve" "', argument " "2"" of type '" "std::vector< ReceptiveField * >::size_type""'");
47552  }
47553  arg2 = static_cast< std::vector< ReceptiveField * >::size_type >(val2);
47554  (arg1)->reserve(arg2);
47555  resultobj = SWIG_Py_Void();
47556  return resultobj;
47557 fail:
47558  return NULL;
47559 }
47560 
47561 
47562 SWIGINTERN PyObject *_wrap_vector_ReceptiveFieldPtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47563  PyObject *resultobj = 0;
47564  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
47565  void *argp1 = 0 ;
47566  int res1 = 0 ;
47567  PyObject * obj0 = 0 ;
47568  std::vector< ReceptiveField * >::size_type result;
47569 
47570  if (!PyArg_ParseTuple(args,(char *)"O:vector_ReceptiveFieldPtr_capacity",&obj0)) SWIG_fail;
47571  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0 | 0 );
47572  if (!SWIG_IsOK(res1)) {
47573  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_ReceptiveFieldPtr_capacity" "', argument " "1"" of type '" "std::vector< ReceptiveField * > const *""'");
47574  }
47575  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
47576  result = ((std::vector< ReceptiveField * > const *)arg1)->capacity();
47577  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
47578  return resultobj;
47579 fail:
47580  return NULL;
47581 }
47582 
47583 
47584 SWIGINTERN PyObject *_wrap_delete_vector_ReceptiveFieldPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47585  PyObject *resultobj = 0;
47586  std::vector< ReceptiveField * > *arg1 = (std::vector< ReceptiveField * > *) 0 ;
47587  void *argp1 = 0 ;
47588  int res1 = 0 ;
47589  PyObject * obj0 = 0 ;
47590 
47591  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_ReceptiveFieldPtr",&obj0)) SWIG_fail;
47592  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, SWIG_POINTER_DISOWN | 0 );
47593  if (!SWIG_IsOK(res1)) {
47594  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_ReceptiveFieldPtr" "', argument " "1"" of type '" "std::vector< ReceptiveField * > *""'");
47595  }
47596  arg1 = reinterpret_cast< std::vector< ReceptiveField * > * >(argp1);
47597  {
47598  try {
47599  delete arg1;
47600  }
47601  catch(CStdErrorInfo oError)
47602  {
47603  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
47604  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
47605  PyErr_SetString(PyExc_IndexError, strError.c_str());
47606  SWIG_fail;
47607  }
47608  catch(...)
47609  {
47610  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
47611  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
47612  SWIG_fail;
47613  }
47614  }
47615  resultobj = SWIG_Py_Void();
47616  return resultobj;
47617 fail:
47618  return NULL;
47619 }
47620 
47621 
47622 SWIGINTERN PyObject *vector_ReceptiveFieldPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47623  PyObject *obj;
47624  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
47625  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, SWIG_NewClientData(obj));
47626  return SWIG_Py_Void();
47627 }
47628 
47629 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47630  PyObject *resultobj = 0;
47631  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
47632  PyObject **arg2 = (PyObject **) 0 ;
47633  void *argp1 = 0 ;
47634  int res1 = 0 ;
47635  PyObject * obj0 = 0 ;
47636  swig::SwigPyIterator *result = 0 ;
47637 
47638  arg2 = &obj0;
47639  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr_iterator",&obj0)) SWIG_fail;
47640  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
47641  if (!SWIG_IsOK(res1)) {
47642  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_iterator" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
47643  }
47644  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
47645  result = (swig::SwigPyIterator *)std_vector_Sl_RigidBody_Sm__Sg__iterator(arg1,arg2);
47646  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
47647  return resultobj;
47648 fail:
47649  return NULL;
47650 }
47651 
47652 
47653 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47654  PyObject *resultobj = 0;
47655  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
47656  void *argp1 = 0 ;
47657  int res1 = 0 ;
47658  PyObject * obj0 = 0 ;
47659  bool result;
47660 
47661  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr___nonzero__",&obj0)) SWIG_fail;
47662  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
47663  if (!SWIG_IsOK(res1)) {
47664  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr___nonzero__" "', argument " "1"" of type '" "std::vector< RigidBody * > const *""'");
47665  }
47666  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
47667  result = (bool)std_vector_Sl_RigidBody_Sm__Sg____nonzero__((std::vector< RigidBody * > const *)arg1);
47668  resultobj = SWIG_From_bool(static_cast< bool >(result));
47669  return resultobj;
47670 fail:
47671  return NULL;
47672 }
47673 
47674 
47675 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47676  PyObject *resultobj = 0;
47677  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
47678  void *argp1 = 0 ;
47679  int res1 = 0 ;
47680  PyObject * obj0 = 0 ;
47681  bool result;
47682 
47683  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr___bool__",&obj0)) SWIG_fail;
47684  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
47685  if (!SWIG_IsOK(res1)) {
47686  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr___bool__" "', argument " "1"" of type '" "std::vector< RigidBody * > const *""'");
47687  }
47688  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
47689  result = (bool)std_vector_Sl_RigidBody_Sm__Sg____bool__((std::vector< RigidBody * > const *)arg1);
47690  resultobj = SWIG_From_bool(static_cast< bool >(result));
47691  return resultobj;
47692 fail:
47693  return NULL;
47694 }
47695 
47696 
47697 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47698  PyObject *resultobj = 0;
47699  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
47700  void *argp1 = 0 ;
47701  int res1 = 0 ;
47702  PyObject * obj0 = 0 ;
47703  std::vector< RigidBody * >::size_type result;
47704 
47705  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr___len__",&obj0)) SWIG_fail;
47706  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
47707  if (!SWIG_IsOK(res1)) {
47708  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr___len__" "', argument " "1"" of type '" "std::vector< RigidBody * > const *""'");
47709  }
47710  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
47711  result = std_vector_Sl_RigidBody_Sm__Sg____len__((std::vector< RigidBody * > const *)arg1);
47712  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
47713  return resultobj;
47714 fail:
47715  return NULL;
47716 }
47717 
47718 
47719 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47720  PyObject *resultobj = 0;
47721  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
47722  void *argp1 = 0 ;
47723  int res1 = 0 ;
47724  PyObject * obj0 = 0 ;
47725  std::vector< RigidBody * >::value_type result;
47726 
47727  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr_pop",&obj0)) SWIG_fail;
47728  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
47729  if (!SWIG_IsOK(res1)) {
47730  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_pop" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
47731  }
47732  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
47733  try {
47734  result = (std::vector< RigidBody * >::value_type)std_vector_Sl_RigidBody_Sm__Sg__pop(arg1);
47735  }
47736  catch(std::out_of_range &_e) {
47737  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
47738  }
47739 
47740  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RigidBody, 0 | 0 );
47741  return resultobj;
47742 fail:
47743  return NULL;
47744 }
47745 
47746 
47747 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47748  PyObject *resultobj = 0;
47749  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
47750  std::vector< RigidBody * >::difference_type arg2 ;
47751  std::vector< RigidBody * >::difference_type arg3 ;
47752  void *argp1 = 0 ;
47753  int res1 = 0 ;
47754  ptrdiff_t val2 ;
47755  int ecode2 = 0 ;
47756  ptrdiff_t val3 ;
47757  int ecode3 = 0 ;
47758  PyObject * obj0 = 0 ;
47759  PyObject * obj1 = 0 ;
47760  PyObject * obj2 = 0 ;
47761  std::vector< RigidBody *,std::allocator< RigidBody * > > *result = 0 ;
47762 
47763  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RigidBodyPtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
47764  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
47765  if (!SWIG_IsOK(res1)) {
47766  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr___getslice__" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
47767  }
47768  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
47769  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
47770  if (!SWIG_IsOK(ecode2)) {
47771  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RigidBodyPtr___getslice__" "', argument " "2"" of type '" "std::vector< RigidBody * >::difference_type""'");
47772  }
47773  arg2 = static_cast< std::vector< RigidBody * >::difference_type >(val2);
47774  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
47775  if (!SWIG_IsOK(ecode3)) {
47776  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RigidBodyPtr___getslice__" "', argument " "3"" of type '" "std::vector< RigidBody * >::difference_type""'");
47777  }
47778  arg3 = static_cast< std::vector< RigidBody * >::difference_type >(val3);
47779  try {
47780  result = (std::vector< RigidBody *,std::allocator< RigidBody * > > *)std_vector_Sl_RigidBody_Sm__Sg____getslice__(arg1,arg2,arg3);
47781  }
47782  catch(std::out_of_range &_e) {
47783  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
47784  }
47785  catch(std::invalid_argument &_e) {
47786  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
47787  }
47788 
47789  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, SWIG_POINTER_OWN | 0 );
47790  return resultobj;
47791 fail:
47792  return NULL;
47793 }
47794 
47795 
47796 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47797  PyObject *resultobj = 0;
47798  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
47799  std::vector< RigidBody * >::difference_type arg2 ;
47800  std::vector< RigidBody * >::difference_type arg3 ;
47801  std::vector< RigidBody *,std::allocator< RigidBody * > > *arg4 = 0 ;
47802  void *argp1 = 0 ;
47803  int res1 = 0 ;
47804  ptrdiff_t val2 ;
47805  int ecode2 = 0 ;
47806  ptrdiff_t val3 ;
47807  int ecode3 = 0 ;
47808  int res4 = SWIG_OLDOBJ ;
47809  PyObject * obj0 = 0 ;
47810  PyObject * obj1 = 0 ;
47811  PyObject * obj2 = 0 ;
47812  PyObject * obj3 = 0 ;
47813 
47814  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_RigidBodyPtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
47815  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
47816  if (!SWIG_IsOK(res1)) {
47817  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr___setslice__" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
47818  }
47819  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
47820  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
47821  if (!SWIG_IsOK(ecode2)) {
47822  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RigidBodyPtr___setslice__" "', argument " "2"" of type '" "std::vector< RigidBody * >::difference_type""'");
47823  }
47824  arg2 = static_cast< std::vector< RigidBody * >::difference_type >(val2);
47825  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
47826  if (!SWIG_IsOK(ecode3)) {
47827  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RigidBodyPtr___setslice__" "', argument " "3"" of type '" "std::vector< RigidBody * >::difference_type""'");
47828  }
47829  arg3 = static_cast< std::vector< RigidBody * >::difference_type >(val3);
47830  {
47831  std::vector<RigidBody*,std::allocator< RigidBody * > > *ptr = (std::vector<RigidBody*,std::allocator< RigidBody * > > *)0;
47832  res4 = swig::asptr(obj3, &ptr);
47833  if (!SWIG_IsOK(res4)) {
47834  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_RigidBodyPtr___setslice__" "', argument " "4"" of type '" "std::vector< RigidBody *,std::allocator< RigidBody * > > const &""'");
47835  }
47836  if (!ptr) {
47837  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_RigidBodyPtr___setslice__" "', argument " "4"" of type '" "std::vector< RigidBody *,std::allocator< RigidBody * > > const &""'");
47838  }
47839  arg4 = ptr;
47840  }
47841  try {
47842  std_vector_Sl_RigidBody_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< RigidBody *,std::allocator< RigidBody * > > const &)*arg4);
47843  }
47844  catch(std::out_of_range &_e) {
47845  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
47846  }
47847  catch(std::invalid_argument &_e) {
47848  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
47849  }
47850 
47851  resultobj = SWIG_Py_Void();
47852  if (SWIG_IsNewObj(res4)) delete arg4;
47853  return resultobj;
47854 fail:
47855  if (SWIG_IsNewObj(res4)) delete arg4;
47856  return NULL;
47857 }
47858 
47859 
47860 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47861  PyObject *resultobj = 0;
47862  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
47863  std::vector< RigidBody * >::difference_type arg2 ;
47864  std::vector< RigidBody * >::difference_type arg3 ;
47865  void *argp1 = 0 ;
47866  int res1 = 0 ;
47867  ptrdiff_t val2 ;
47868  int ecode2 = 0 ;
47869  ptrdiff_t val3 ;
47870  int ecode3 = 0 ;
47871  PyObject * obj0 = 0 ;
47872  PyObject * obj1 = 0 ;
47873  PyObject * obj2 = 0 ;
47874 
47875  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RigidBodyPtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
47876  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
47877  if (!SWIG_IsOK(res1)) {
47878  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr___setslice__" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
47879  }
47880  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
47881  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
47882  if (!SWIG_IsOK(ecode2)) {
47883  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RigidBodyPtr___setslice__" "', argument " "2"" of type '" "std::vector< RigidBody * >::difference_type""'");
47884  }
47885  arg2 = static_cast< std::vector< RigidBody * >::difference_type >(val2);
47886  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
47887  if (!SWIG_IsOK(ecode3)) {
47888  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RigidBodyPtr___setslice__" "', argument " "3"" of type '" "std::vector< RigidBody * >::difference_type""'");
47889  }
47890  arg3 = static_cast< std::vector< RigidBody * >::difference_type >(val3);
47891  try {
47892  std_vector_Sl_RigidBody_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
47893  }
47894  catch(std::out_of_range &_e) {
47895  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
47896  }
47897  catch(std::invalid_argument &_e) {
47898  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
47899  }
47900 
47901  resultobj = SWIG_Py_Void();
47902  return resultobj;
47903 fail:
47904  return NULL;
47905 }
47906 
47907 
47908 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___setslice__(PyObject *self, PyObject *args) {
47909  int argc;
47910  PyObject *argv[5];
47911  int ii;
47912 
47913  if (!PyTuple_Check(args)) SWIG_fail;
47914  argc = args ? (int)PyObject_Length(args) : 0;
47915  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
47916  argv[ii] = PyTuple_GET_ITEM(args,ii);
47917  }
47918  if (argc == 3) {
47919  int _v;
47920  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
47921  _v = SWIG_CheckState(res);
47922  if (_v) {
47923  {
47924  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
47925  _v = SWIG_CheckState(res);
47926  }
47927  if (_v) {
47928  {
47929  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
47930  _v = SWIG_CheckState(res);
47931  }
47932  if (_v) {
47933  return _wrap_vector_RigidBodyPtr___setslice____SWIG_1(self, args);
47934  }
47935  }
47936  }
47937  }
47938  if (argc == 4) {
47939  int _v;
47940  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
47941  _v = SWIG_CheckState(res);
47942  if (_v) {
47943  {
47944  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
47945  _v = SWIG_CheckState(res);
47946  }
47947  if (_v) {
47948  {
47949  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
47950  _v = SWIG_CheckState(res);
47951  }
47952  if (_v) {
47953  int res = swig::asptr(argv[3], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
47954  _v = SWIG_CheckState(res);
47955  if (_v) {
47956  return _wrap_vector_RigidBodyPtr___setslice____SWIG_0(self, args);
47957  }
47958  }
47959  }
47960  }
47961  }
47962 
47963 fail:
47964  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RigidBodyPtr___setslice__'.\n"
47965  " Possible C/C++ prototypes are:\n"
47966  " std::vector< RigidBody * >::__setslice__(std::vector< RigidBody * >::difference_type,std::vector< RigidBody * >::difference_type,std::vector< RigidBody *,std::allocator< RigidBody * > > const &)\n"
47967  " std::vector< RigidBody * >::__setslice__(std::vector< RigidBody * >::difference_type,std::vector< RigidBody * >::difference_type)\n");
47968  return 0;
47969 }
47970 
47971 
47972 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47973  PyObject *resultobj = 0;
47974  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
47975  std::vector< RigidBody * >::difference_type arg2 ;
47976  std::vector< RigidBody * >::difference_type arg3 ;
47977  void *argp1 = 0 ;
47978  int res1 = 0 ;
47979  ptrdiff_t val2 ;
47980  int ecode2 = 0 ;
47981  ptrdiff_t val3 ;
47982  int ecode3 = 0 ;
47983  PyObject * obj0 = 0 ;
47984  PyObject * obj1 = 0 ;
47985  PyObject * obj2 = 0 ;
47986 
47987  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RigidBodyPtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
47988  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
47989  if (!SWIG_IsOK(res1)) {
47990  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr___delslice__" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
47991  }
47992  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
47993  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
47994  if (!SWIG_IsOK(ecode2)) {
47995  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RigidBodyPtr___delslice__" "', argument " "2"" of type '" "std::vector< RigidBody * >::difference_type""'");
47996  }
47997  arg2 = static_cast< std::vector< RigidBody * >::difference_type >(val2);
47998  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
47999  if (!SWIG_IsOK(ecode3)) {
48000  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RigidBodyPtr___delslice__" "', argument " "3"" of type '" "std::vector< RigidBody * >::difference_type""'");
48001  }
48002  arg3 = static_cast< std::vector< RigidBody * >::difference_type >(val3);
48003  try {
48004  std_vector_Sl_RigidBody_Sm__Sg____delslice__(arg1,arg2,arg3);
48005  }
48006  catch(std::out_of_range &_e) {
48007  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
48008  }
48009  catch(std::invalid_argument &_e) {
48010  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
48011  }
48012 
48013  resultobj = SWIG_Py_Void();
48014  return resultobj;
48015 fail:
48016  return NULL;
48017 }
48018 
48019 
48020 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48021  PyObject *resultobj = 0;
48022  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48023  std::vector< RigidBody * >::difference_type arg2 ;
48024  void *argp1 = 0 ;
48025  int res1 = 0 ;
48026  ptrdiff_t val2 ;
48027  int ecode2 = 0 ;
48028  PyObject * obj0 = 0 ;
48029  PyObject * obj1 = 0 ;
48030 
48031  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RigidBodyPtr___delitem__",&obj0,&obj1)) SWIG_fail;
48032  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48033  if (!SWIG_IsOK(res1)) {
48034  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr___delitem__" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48035  }
48036  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48037  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
48038  if (!SWIG_IsOK(ecode2)) {
48039  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RigidBodyPtr___delitem__" "', argument " "2"" of type '" "std::vector< RigidBody * >::difference_type""'");
48040  }
48041  arg2 = static_cast< std::vector< RigidBody * >::difference_type >(val2);
48042  try {
48043  std_vector_Sl_RigidBody_Sm__Sg____delitem____SWIG_0(arg1,arg2);
48044  }
48045  catch(std::out_of_range &_e) {
48046  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
48047  }
48048 
48049  resultobj = SWIG_Py_Void();
48050  return resultobj;
48051 fail:
48052  return NULL;
48053 }
48054 
48055 
48056 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48057  PyObject *resultobj = 0;
48058  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48059  PySliceObject *arg2 = (PySliceObject *) 0 ;
48060  void *argp1 = 0 ;
48061  int res1 = 0 ;
48062  PyObject * obj0 = 0 ;
48063  PyObject * obj1 = 0 ;
48064  std::vector< RigidBody *,std::allocator< RigidBody * > > *result = 0 ;
48065 
48066  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RigidBodyPtr___getitem__",&obj0,&obj1)) SWIG_fail;
48067  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48068  if (!SWIG_IsOK(res1)) {
48069  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr___getitem__" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48070  }
48071  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48072  {
48073  if (!PySlice_Check(obj1)) {
48074  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RigidBodyPtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
48075  }
48076  arg2 = (PySliceObject *) obj1;
48077  }
48078  try {
48079  result = (std::vector< RigidBody *,std::allocator< RigidBody * > > *)std_vector_Sl_RigidBody_Sm__Sg____getitem____SWIG_0(arg1,arg2);
48080  }
48081  catch(std::out_of_range &_e) {
48082  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
48083  }
48084  catch(std::invalid_argument &_e) {
48085  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
48086  }
48087 
48088  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, SWIG_POINTER_OWN | 0 );
48089  return resultobj;
48090 fail:
48091  return NULL;
48092 }
48093 
48094 
48095 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48096  PyObject *resultobj = 0;
48097  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48098  PySliceObject *arg2 = (PySliceObject *) 0 ;
48099  std::vector< RigidBody *,std::allocator< RigidBody * > > *arg3 = 0 ;
48100  void *argp1 = 0 ;
48101  int res1 = 0 ;
48102  int res3 = SWIG_OLDOBJ ;
48103  PyObject * obj0 = 0 ;
48104  PyObject * obj1 = 0 ;
48105  PyObject * obj2 = 0 ;
48106 
48107  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RigidBodyPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
48108  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48109  if (!SWIG_IsOK(res1)) {
48110  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr___setitem__" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48111  }
48112  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48113  {
48114  if (!PySlice_Check(obj1)) {
48115  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RigidBodyPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
48116  }
48117  arg2 = (PySliceObject *) obj1;
48118  }
48119  {
48120  std::vector<RigidBody*,std::allocator< RigidBody * > > *ptr = (std::vector<RigidBody*,std::allocator< RigidBody * > > *)0;
48121  res3 = swig::asptr(obj2, &ptr);
48122  if (!SWIG_IsOK(res3)) {
48123  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RigidBodyPtr___setitem__" "', argument " "3"" of type '" "std::vector< RigidBody *,std::allocator< RigidBody * > > const &""'");
48124  }
48125  if (!ptr) {
48126  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_RigidBodyPtr___setitem__" "', argument " "3"" of type '" "std::vector< RigidBody *,std::allocator< RigidBody * > > const &""'");
48127  }
48128  arg3 = ptr;
48129  }
48130  try {
48131  std_vector_Sl_RigidBody_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< RigidBody *,std::allocator< RigidBody * > > const &)*arg3);
48132  }
48133  catch(std::out_of_range &_e) {
48134  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
48135  }
48136  catch(std::invalid_argument &_e) {
48137  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
48138  }
48139 
48140  resultobj = SWIG_Py_Void();
48141  if (SWIG_IsNewObj(res3)) delete arg3;
48142  return resultobj;
48143 fail:
48144  if (SWIG_IsNewObj(res3)) delete arg3;
48145  return NULL;
48146 }
48147 
48148 
48149 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48150  PyObject *resultobj = 0;
48151  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48152  PySliceObject *arg2 = (PySliceObject *) 0 ;
48153  void *argp1 = 0 ;
48154  int res1 = 0 ;
48155  PyObject * obj0 = 0 ;
48156  PyObject * obj1 = 0 ;
48157 
48158  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RigidBodyPtr___setitem__",&obj0,&obj1)) SWIG_fail;
48159  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48160  if (!SWIG_IsOK(res1)) {
48161  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr___setitem__" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48162  }
48163  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48164  {
48165  if (!PySlice_Check(obj1)) {
48166  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RigidBodyPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
48167  }
48168  arg2 = (PySliceObject *) obj1;
48169  }
48170  try {
48171  std_vector_Sl_RigidBody_Sm__Sg____setitem____SWIG_1(arg1,arg2);
48172  }
48173  catch(std::out_of_range &_e) {
48174  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
48175  }
48176  catch(std::invalid_argument &_e) {
48177  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
48178  }
48179 
48180  resultobj = SWIG_Py_Void();
48181  return resultobj;
48182 fail:
48183  return NULL;
48184 }
48185 
48186 
48187 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48188  PyObject *resultobj = 0;
48189  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48190  PySliceObject *arg2 = (PySliceObject *) 0 ;
48191  void *argp1 = 0 ;
48192  int res1 = 0 ;
48193  PyObject * obj0 = 0 ;
48194  PyObject * obj1 = 0 ;
48195 
48196  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RigidBodyPtr___delitem__",&obj0,&obj1)) SWIG_fail;
48197  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48198  if (!SWIG_IsOK(res1)) {
48199  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr___delitem__" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48200  }
48201  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48202  {
48203  if (!PySlice_Check(obj1)) {
48204  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RigidBodyPtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
48205  }
48206  arg2 = (PySliceObject *) obj1;
48207  }
48208  try {
48209  std_vector_Sl_RigidBody_Sm__Sg____delitem____SWIG_1(arg1,arg2);
48210  }
48211  catch(std::out_of_range &_e) {
48212  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
48213  }
48214  catch(std::invalid_argument &_e) {
48215  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
48216  }
48217 
48218  resultobj = SWIG_Py_Void();
48219  return resultobj;
48220 fail:
48221  return NULL;
48222 }
48223 
48224 
48225 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___delitem__(PyObject *self, PyObject *args) {
48226  int argc;
48227  PyObject *argv[3];
48228  int ii;
48229 
48230  if (!PyTuple_Check(args)) SWIG_fail;
48231  argc = args ? (int)PyObject_Length(args) : 0;
48232  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
48233  argv[ii] = PyTuple_GET_ITEM(args,ii);
48234  }
48235  if (argc == 2) {
48236  int _v;
48237  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
48238  _v = SWIG_CheckState(res);
48239  if (_v) {
48240  {
48241  _v = PySlice_Check(argv[1]);
48242  }
48243  if (_v) {
48244  return _wrap_vector_RigidBodyPtr___delitem____SWIG_1(self, args);
48245  }
48246  }
48247  }
48248  if (argc == 2) {
48249  int _v;
48250  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
48251  _v = SWIG_CheckState(res);
48252  if (_v) {
48253  {
48254  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
48255  _v = SWIG_CheckState(res);
48256  }
48257  if (_v) {
48258  return _wrap_vector_RigidBodyPtr___delitem____SWIG_0(self, args);
48259  }
48260  }
48261  }
48262 
48263 fail:
48264  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RigidBodyPtr___delitem__'.\n"
48265  " Possible C/C++ prototypes are:\n"
48266  " std::vector< RigidBody * >::__delitem__(std::vector< RigidBody * >::difference_type)\n"
48267  " std::vector< RigidBody * >::__delitem__(PySliceObject *)\n");
48268  return 0;
48269 }
48270 
48271 
48272 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48273  PyObject *resultobj = 0;
48274  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48275  std::vector< RigidBody * >::difference_type arg2 ;
48276  void *argp1 = 0 ;
48277  int res1 = 0 ;
48278  ptrdiff_t val2 ;
48279  int ecode2 = 0 ;
48280  PyObject * obj0 = 0 ;
48281  PyObject * obj1 = 0 ;
48282  std::vector< RigidBody * >::value_type result;
48283 
48284  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RigidBodyPtr___getitem__",&obj0,&obj1)) SWIG_fail;
48285  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48286  if (!SWIG_IsOK(res1)) {
48287  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr___getitem__" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48288  }
48289  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48290  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
48291  if (!SWIG_IsOK(ecode2)) {
48292  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RigidBodyPtr___getitem__" "', argument " "2"" of type '" "std::vector< RigidBody * >::difference_type""'");
48293  }
48294  arg2 = static_cast< std::vector< RigidBody * >::difference_type >(val2);
48295  try {
48296  result = (std::vector< RigidBody * >::value_type)std_vector_Sl_RigidBody_Sm__Sg____getitem____SWIG_1(arg1,arg2);
48297  }
48298  catch(std::out_of_range &_e) {
48299  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
48300  }
48301 
48302  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RigidBody, 0 | 0 );
48303  return resultobj;
48304 fail:
48305  return NULL;
48306 }
48307 
48308 
48309 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___getitem__(PyObject *self, PyObject *args) {
48310  int argc;
48311  PyObject *argv[3];
48312  int ii;
48313 
48314  if (!PyTuple_Check(args)) SWIG_fail;
48315  argc = args ? (int)PyObject_Length(args) : 0;
48316  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
48317  argv[ii] = PyTuple_GET_ITEM(args,ii);
48318  }
48319  if (argc == 2) {
48320  int _v;
48321  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
48322  _v = SWIG_CheckState(res);
48323  if (_v) {
48324  {
48325  _v = PySlice_Check(argv[1]);
48326  }
48327  if (_v) {
48328  return _wrap_vector_RigidBodyPtr___getitem____SWIG_0(self, args);
48329  }
48330  }
48331  }
48332  if (argc == 2) {
48333  int _v;
48334  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
48335  _v = SWIG_CheckState(res);
48336  if (_v) {
48337  {
48338  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
48339  _v = SWIG_CheckState(res);
48340  }
48341  if (_v) {
48342  return _wrap_vector_RigidBodyPtr___getitem____SWIG_1(self, args);
48343  }
48344  }
48345  }
48346 
48347 fail:
48348  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RigidBodyPtr___getitem__'.\n"
48349  " Possible C/C++ prototypes are:\n"
48350  " std::vector< RigidBody * >::__getitem__(PySliceObject *)\n"
48351  " std::vector< RigidBody * >::__getitem__(std::vector< RigidBody * >::difference_type)\n");
48352  return 0;
48353 }
48354 
48355 
48356 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48357  PyObject *resultobj = 0;
48358  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48359  std::vector< RigidBody * >::difference_type arg2 ;
48360  std::vector< RigidBody * >::value_type arg3 = (std::vector< RigidBody * >::value_type) 0 ;
48361  void *argp1 = 0 ;
48362  int res1 = 0 ;
48363  ptrdiff_t val2 ;
48364  int ecode2 = 0 ;
48365  void *argp3 = 0 ;
48366  int res3 = 0 ;
48367  PyObject * obj0 = 0 ;
48368  PyObject * obj1 = 0 ;
48369  PyObject * obj2 = 0 ;
48370 
48371  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RigidBodyPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
48372  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48373  if (!SWIG_IsOK(res1)) {
48374  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr___setitem__" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48375  }
48376  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48377  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
48378  if (!SWIG_IsOK(ecode2)) {
48379  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RigidBodyPtr___setitem__" "', argument " "2"" of type '" "std::vector< RigidBody * >::difference_type""'");
48380  }
48381  arg2 = static_cast< std::vector< RigidBody * >::difference_type >(val2);
48382  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RigidBody, 0 | 0 );
48383  if (!SWIG_IsOK(res3)) {
48384  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RigidBodyPtr___setitem__" "', argument " "3"" of type '" "std::vector< RigidBody * >::value_type""'");
48385  }
48386  arg3 = reinterpret_cast< std::vector< RigidBody * >::value_type >(argp3);
48387  try {
48388  std_vector_Sl_RigidBody_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
48389  }
48390  catch(std::out_of_range &_e) {
48391  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
48392  }
48393 
48394  resultobj = SWIG_Py_Void();
48395  return resultobj;
48396 fail:
48397  return NULL;
48398 }
48399 
48400 
48401 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr___setitem__(PyObject *self, PyObject *args) {
48402  int argc;
48403  PyObject *argv[4];
48404  int ii;
48405 
48406  if (!PyTuple_Check(args)) SWIG_fail;
48407  argc = args ? (int)PyObject_Length(args) : 0;
48408  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
48409  argv[ii] = PyTuple_GET_ITEM(args,ii);
48410  }
48411  if (argc == 2) {
48412  int _v;
48413  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
48414  _v = SWIG_CheckState(res);
48415  if (_v) {
48416  {
48417  _v = PySlice_Check(argv[1]);
48418  }
48419  if (_v) {
48420  return _wrap_vector_RigidBodyPtr___setitem____SWIG_1(self, args);
48421  }
48422  }
48423  }
48424  if (argc == 3) {
48425  int _v;
48426  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
48427  _v = SWIG_CheckState(res);
48428  if (_v) {
48429  {
48430  _v = PySlice_Check(argv[1]);
48431  }
48432  if (_v) {
48433  int res = swig::asptr(argv[2], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
48434  _v = SWIG_CheckState(res);
48435  if (_v) {
48436  return _wrap_vector_RigidBodyPtr___setitem____SWIG_0(self, args);
48437  }
48438  }
48439  }
48440  }
48441  if (argc == 3) {
48442  int _v;
48443  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
48444  _v = SWIG_CheckState(res);
48445  if (_v) {
48446  {
48447  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
48448  _v = SWIG_CheckState(res);
48449  }
48450  if (_v) {
48451  void *vptr = 0;
48452  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_RigidBody, 0);
48453  _v = SWIG_CheckState(res);
48454  if (_v) {
48455  return _wrap_vector_RigidBodyPtr___setitem____SWIG_2(self, args);
48456  }
48457  }
48458  }
48459  }
48460 
48461 fail:
48462  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RigidBodyPtr___setitem__'.\n"
48463  " Possible C/C++ prototypes are:\n"
48464  " std::vector< RigidBody * >::__setitem__(PySliceObject *,std::vector< RigidBody *,std::allocator< RigidBody * > > const &)\n"
48465  " std::vector< RigidBody * >::__setitem__(PySliceObject *)\n"
48466  " std::vector< RigidBody * >::__setitem__(std::vector< RigidBody * >::difference_type,std::vector< RigidBody * >::value_type)\n");
48467  return 0;
48468 }
48469 
48470 
48471 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48472  PyObject *resultobj = 0;
48473  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48474  std::vector< RigidBody * >::value_type arg2 = (std::vector< RigidBody * >::value_type) 0 ;
48475  void *argp1 = 0 ;
48476  int res1 = 0 ;
48477  void *argp2 = 0 ;
48478  int res2 = 0 ;
48479  PyObject * obj0 = 0 ;
48480  PyObject * obj1 = 0 ;
48481 
48482  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RigidBodyPtr_append",&obj0,&obj1)) SWIG_fail;
48483  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48484  if (!SWIG_IsOK(res1)) {
48485  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_append" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48486  }
48487  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48488  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RigidBody, 0 | 0 );
48489  if (!SWIG_IsOK(res2)) {
48490  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_RigidBodyPtr_append" "', argument " "2"" of type '" "std::vector< RigidBody * >::value_type""'");
48491  }
48492  arg2 = reinterpret_cast< std::vector< RigidBody * >::value_type >(argp2);
48493  std_vector_Sl_RigidBody_Sm__Sg__append(arg1,arg2);
48494  resultobj = SWIG_Py_Void();
48495  return resultobj;
48496 fail:
48497  return NULL;
48498 }
48499 
48500 
48501 SWIGINTERN PyObject *_wrap_new_vector_RigidBodyPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48502  PyObject *resultobj = 0;
48503  std::vector< RigidBody * > *result = 0 ;
48504 
48505  if (!PyArg_ParseTuple(args,(char *)":new_vector_RigidBodyPtr")) SWIG_fail;
48506  result = (std::vector< RigidBody * > *)new std::vector< RigidBody * >();
48507  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, SWIG_POINTER_NEW | 0 );
48508  return resultobj;
48509 fail:
48510  return NULL;
48511 }
48512 
48513 
48514 SWIGINTERN PyObject *_wrap_new_vector_RigidBodyPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48515  PyObject *resultobj = 0;
48516  std::vector< RigidBody * > *arg1 = 0 ;
48517  int res1 = SWIG_OLDOBJ ;
48518  PyObject * obj0 = 0 ;
48519  std::vector< RigidBody * > *result = 0 ;
48520 
48521  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_RigidBodyPtr",&obj0)) SWIG_fail;
48522  {
48523  std::vector<RigidBody*,std::allocator< RigidBody * > > *ptr = (std::vector<RigidBody*,std::allocator< RigidBody * > > *)0;
48524  res1 = swig::asptr(obj0, &ptr);
48525  if (!SWIG_IsOK(res1)) {
48526  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_RigidBodyPtr" "', argument " "1"" of type '" "std::vector< RigidBody * > const &""'");
48527  }
48528  if (!ptr) {
48529  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_RigidBodyPtr" "', argument " "1"" of type '" "std::vector< RigidBody * > const &""'");
48530  }
48531  arg1 = ptr;
48532  }
48533  result = (std::vector< RigidBody * > *)new std::vector< RigidBody * >((std::vector< RigidBody * > const &)*arg1);
48534  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, SWIG_POINTER_NEW | 0 );
48535  if (SWIG_IsNewObj(res1)) delete arg1;
48536  return resultobj;
48537 fail:
48538  if (SWIG_IsNewObj(res1)) delete arg1;
48539  return NULL;
48540 }
48541 
48542 
48543 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48544  PyObject *resultobj = 0;
48545  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48546  void *argp1 = 0 ;
48547  int res1 = 0 ;
48548  PyObject * obj0 = 0 ;
48549  bool result;
48550 
48551  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr_empty",&obj0)) SWIG_fail;
48552  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48553  if (!SWIG_IsOK(res1)) {
48554  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_empty" "', argument " "1"" of type '" "std::vector< RigidBody * > const *""'");
48555  }
48556  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48557  result = (bool)((std::vector< RigidBody * > const *)arg1)->empty();
48558  resultobj = SWIG_From_bool(static_cast< bool >(result));
48559  return resultobj;
48560 fail:
48561  return NULL;
48562 }
48563 
48564 
48565 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48566  PyObject *resultobj = 0;
48567  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48568  void *argp1 = 0 ;
48569  int res1 = 0 ;
48570  PyObject * obj0 = 0 ;
48571  std::vector< RigidBody * >::size_type result;
48572 
48573  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr_size",&obj0)) SWIG_fail;
48574  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48575  if (!SWIG_IsOK(res1)) {
48576  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_size" "', argument " "1"" of type '" "std::vector< RigidBody * > const *""'");
48577  }
48578  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48579  result = ((std::vector< RigidBody * > const *)arg1)->size();
48580  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
48581  return resultobj;
48582 fail:
48583  return NULL;
48584 }
48585 
48586 
48587 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48588  PyObject *resultobj = 0;
48589  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48590  void *argp1 = 0 ;
48591  int res1 = 0 ;
48592  PyObject * obj0 = 0 ;
48593 
48594  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr_clear",&obj0)) SWIG_fail;
48595  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48596  if (!SWIG_IsOK(res1)) {
48597  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_clear" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48598  }
48599  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48600  (arg1)->clear();
48601  resultobj = SWIG_Py_Void();
48602  return resultobj;
48603 fail:
48604  return NULL;
48605 }
48606 
48607 
48608 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48609  PyObject *resultobj = 0;
48610  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48611  std::vector< RigidBody * > *arg2 = 0 ;
48612  void *argp1 = 0 ;
48613  int res1 = 0 ;
48614  void *argp2 = 0 ;
48615  int res2 = 0 ;
48616  PyObject * obj0 = 0 ;
48617  PyObject * obj1 = 0 ;
48618 
48619  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RigidBodyPtr_swap",&obj0,&obj1)) SWIG_fail;
48620  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48621  if (!SWIG_IsOK(res1)) {
48622  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_swap" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48623  }
48624  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48625  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 );
48626  if (!SWIG_IsOK(res2)) {
48627  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_RigidBodyPtr_swap" "', argument " "2"" of type '" "std::vector< RigidBody * > &""'");
48628  }
48629  if (!argp2) {
48630  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_RigidBodyPtr_swap" "', argument " "2"" of type '" "std::vector< RigidBody * > &""'");
48631  }
48632  arg2 = reinterpret_cast< std::vector< RigidBody * > * >(argp2);
48633  (arg1)->swap(*arg2);
48634  resultobj = SWIG_Py_Void();
48635  return resultobj;
48636 fail:
48637  return NULL;
48638 }
48639 
48640 
48641 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48642  PyObject *resultobj = 0;
48643  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48644  void *argp1 = 0 ;
48645  int res1 = 0 ;
48646  PyObject * obj0 = 0 ;
48647  SwigValueWrapper< std::allocator< RigidBody * > > result;
48648 
48649  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr_get_allocator",&obj0)) SWIG_fail;
48650  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48651  if (!SWIG_IsOK(res1)) {
48652  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_get_allocator" "', argument " "1"" of type '" "std::vector< RigidBody * > const *""'");
48653  }
48654  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48655  result = ((std::vector< RigidBody * > const *)arg1)->get_allocator();
48656  resultobj = SWIG_NewPointerObj((new std::vector< RigidBody * >::allocator_type(static_cast< const std::vector< RigidBody * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_RigidBody_p_t, SWIG_POINTER_OWN | 0 );
48657  return resultobj;
48658 fail:
48659  return NULL;
48660 }
48661 
48662 
48663 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48664  PyObject *resultobj = 0;
48665  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48666  void *argp1 = 0 ;
48667  int res1 = 0 ;
48668  PyObject * obj0 = 0 ;
48669  std::vector< RigidBody * >::iterator result;
48670 
48671  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr_begin",&obj0)) SWIG_fail;
48672  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48673  if (!SWIG_IsOK(res1)) {
48674  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_begin" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48675  }
48676  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48677  result = (arg1)->begin();
48678  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RigidBody * >::iterator & >(result)),
48679  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
48680  return resultobj;
48681 fail:
48682  return NULL;
48683 }
48684 
48685 
48686 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48687  PyObject *resultobj = 0;
48688  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48689  void *argp1 = 0 ;
48690  int res1 = 0 ;
48691  PyObject * obj0 = 0 ;
48692  std::vector< RigidBody * >::iterator result;
48693 
48694  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr_end",&obj0)) SWIG_fail;
48695  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48696  if (!SWIG_IsOK(res1)) {
48697  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_end" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48698  }
48699  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48700  result = (arg1)->end();
48701  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RigidBody * >::iterator & >(result)),
48702  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
48703  return resultobj;
48704 fail:
48705  return NULL;
48706 }
48707 
48708 
48709 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48710  PyObject *resultobj = 0;
48711  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48712  void *argp1 = 0 ;
48713  int res1 = 0 ;
48714  PyObject * obj0 = 0 ;
48715  std::vector< RigidBody * >::reverse_iterator result;
48716 
48717  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr_rbegin",&obj0)) SWIG_fail;
48718  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48719  if (!SWIG_IsOK(res1)) {
48720  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_rbegin" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48721  }
48722  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48723  result = (arg1)->rbegin();
48724  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RigidBody * >::reverse_iterator & >(result)),
48725  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
48726  return resultobj;
48727 fail:
48728  return NULL;
48729 }
48730 
48731 
48732 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48733  PyObject *resultobj = 0;
48734  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48735  void *argp1 = 0 ;
48736  int res1 = 0 ;
48737  PyObject * obj0 = 0 ;
48738  std::vector< RigidBody * >::reverse_iterator result;
48739 
48740  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr_rend",&obj0)) SWIG_fail;
48741  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48742  if (!SWIG_IsOK(res1)) {
48743  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_rend" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48744  }
48745  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48746  result = (arg1)->rend();
48747  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RigidBody * >::reverse_iterator & >(result)),
48748  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
48749  return resultobj;
48750 fail:
48751  return NULL;
48752 }
48753 
48754 
48755 SWIGINTERN PyObject *_wrap_new_vector_RigidBodyPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48756  PyObject *resultobj = 0;
48757  std::vector< RigidBody * >::size_type arg1 ;
48758  size_t val1 ;
48759  int ecode1 = 0 ;
48760  PyObject * obj0 = 0 ;
48761  std::vector< RigidBody * > *result = 0 ;
48762 
48763  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_RigidBodyPtr",&obj0)) SWIG_fail;
48764  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
48765  if (!SWIG_IsOK(ecode1)) {
48766  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_RigidBodyPtr" "', argument " "1"" of type '" "std::vector< RigidBody * >::size_type""'");
48767  }
48768  arg1 = static_cast< std::vector< RigidBody * >::size_type >(val1);
48769  result = (std::vector< RigidBody * > *)new std::vector< RigidBody * >(arg1);
48770  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, SWIG_POINTER_NEW | 0 );
48771  return resultobj;
48772 fail:
48773  return NULL;
48774 }
48775 
48776 
48777 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48778  PyObject *resultobj = 0;
48779  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48780  void *argp1 = 0 ;
48781  int res1 = 0 ;
48782  PyObject * obj0 = 0 ;
48783 
48784  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr_pop_back",&obj0)) SWIG_fail;
48785  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48786  if (!SWIG_IsOK(res1)) {
48787  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_pop_back" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48788  }
48789  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48790  (arg1)->pop_back();
48791  resultobj = SWIG_Py_Void();
48792  return resultobj;
48793 fail:
48794  return NULL;
48795 }
48796 
48797 
48798 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48799  PyObject *resultobj = 0;
48800  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48801  std::vector< RigidBody * >::size_type arg2 ;
48802  void *argp1 = 0 ;
48803  int res1 = 0 ;
48804  size_t val2 ;
48805  int ecode2 = 0 ;
48806  PyObject * obj0 = 0 ;
48807  PyObject * obj1 = 0 ;
48808 
48809  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RigidBodyPtr_resize",&obj0,&obj1)) SWIG_fail;
48810  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48811  if (!SWIG_IsOK(res1)) {
48812  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_resize" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48813  }
48814  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48815  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
48816  if (!SWIG_IsOK(ecode2)) {
48817  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RigidBodyPtr_resize" "', argument " "2"" of type '" "std::vector< RigidBody * >::size_type""'");
48818  }
48819  arg2 = static_cast< std::vector< RigidBody * >::size_type >(val2);
48820  (arg1)->resize(arg2);
48821  resultobj = SWIG_Py_Void();
48822  return resultobj;
48823 fail:
48824  return NULL;
48825 }
48826 
48827 
48828 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48829  PyObject *resultobj = 0;
48830  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48831  std::vector< RigidBody * >::iterator arg2 ;
48832  void *argp1 = 0 ;
48833  int res1 = 0 ;
48834  swig::SwigPyIterator *iter2 = 0 ;
48835  int res2 ;
48836  PyObject * obj0 = 0 ;
48837  PyObject * obj1 = 0 ;
48838  std::vector< RigidBody * >::iterator result;
48839 
48840  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RigidBodyPtr_erase",&obj0,&obj1)) SWIG_fail;
48841  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48842  if (!SWIG_IsOK(res1)) {
48843  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_erase" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48844  }
48845  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48846  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
48847  if (!SWIG_IsOK(res2) || !iter2) {
48848  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RigidBodyPtr_erase" "', argument " "2"" of type '" "std::vector< RigidBody * >::iterator""'");
48849  } else {
48851  if (iter_t) {
48852  arg2 = iter_t->get_current();
48853  } else {
48854  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RigidBodyPtr_erase" "', argument " "2"" of type '" "std::vector< RigidBody * >::iterator""'");
48855  }
48856  }
48857  result = std_vector_Sl_RigidBody_Sm__Sg__erase__SWIG_0(arg1,arg2);
48858  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RigidBody * >::iterator & >(result)),
48859  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
48860  return resultobj;
48861 fail:
48862  return NULL;
48863 }
48864 
48865 
48866 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48867  PyObject *resultobj = 0;
48868  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
48869  std::vector< RigidBody * >::iterator arg2 ;
48870  std::vector< RigidBody * >::iterator arg3 ;
48871  void *argp1 = 0 ;
48872  int res1 = 0 ;
48873  swig::SwigPyIterator *iter2 = 0 ;
48874  int res2 ;
48875  swig::SwigPyIterator *iter3 = 0 ;
48876  int res3 ;
48877  PyObject * obj0 = 0 ;
48878  PyObject * obj1 = 0 ;
48879  PyObject * obj2 = 0 ;
48880  std::vector< RigidBody * >::iterator result;
48881 
48882  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RigidBodyPtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
48883  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
48884  if (!SWIG_IsOK(res1)) {
48885  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_erase" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
48886  }
48887  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
48888  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
48889  if (!SWIG_IsOK(res2) || !iter2) {
48890  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RigidBodyPtr_erase" "', argument " "2"" of type '" "std::vector< RigidBody * >::iterator""'");
48891  } else {
48893  if (iter_t) {
48894  arg2 = iter_t->get_current();
48895  } else {
48896  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RigidBodyPtr_erase" "', argument " "2"" of type '" "std::vector< RigidBody * >::iterator""'");
48897  }
48898  }
48899  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
48900  if (!SWIG_IsOK(res3) || !iter3) {
48901  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RigidBodyPtr_erase" "', argument " "3"" of type '" "std::vector< RigidBody * >::iterator""'");
48902  } else {
48904  if (iter_t) {
48905  arg3 = iter_t->get_current();
48906  } else {
48907  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RigidBodyPtr_erase" "', argument " "3"" of type '" "std::vector< RigidBody * >::iterator""'");
48908  }
48909  }
48910  result = std_vector_Sl_RigidBody_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
48911  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RigidBody * >::iterator & >(result)),
48912  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
48913  return resultobj;
48914 fail:
48915  return NULL;
48916 }
48917 
48918 
48919 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_erase(PyObject *self, PyObject *args) {
48920  int argc;
48921  PyObject *argv[4];
48922  int ii;
48923 
48924  if (!PyTuple_Check(args)) SWIG_fail;
48925  argc = args ? (int)PyObject_Length(args) : 0;
48926  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
48927  argv[ii] = PyTuple_GET_ITEM(args,ii);
48928  }
48929  if (argc == 2) {
48930  int _v;
48931  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
48932  _v = SWIG_CheckState(res);
48933  if (_v) {
48934  swig::SwigPyIterator *iter = 0;
48935  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
48936  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RigidBody * >::iterator > *>(iter) != 0));
48937  if (_v) {
48938  return _wrap_vector_RigidBodyPtr_erase__SWIG_0(self, args);
48939  }
48940  }
48941  }
48942  if (argc == 3) {
48943  int _v;
48944  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
48945  _v = SWIG_CheckState(res);
48946  if (_v) {
48947  swig::SwigPyIterator *iter = 0;
48948  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
48949  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RigidBody * >::iterator > *>(iter) != 0));
48950  if (_v) {
48951  swig::SwigPyIterator *iter = 0;
48952  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
48953  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RigidBody * >::iterator > *>(iter) != 0));
48954  if (_v) {
48955  return _wrap_vector_RigidBodyPtr_erase__SWIG_1(self, args);
48956  }
48957  }
48958  }
48959  }
48960 
48961 fail:
48962  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RigidBodyPtr_erase'.\n"
48963  " Possible C/C++ prototypes are:\n"
48964  " std::vector< RigidBody * >::erase(std::vector< RigidBody * >::iterator)\n"
48965  " std::vector< RigidBody * >::erase(std::vector< RigidBody * >::iterator,std::vector< RigidBody * >::iterator)\n");
48966  return 0;
48967 }
48968 
48969 
48970 SWIGINTERN PyObject *_wrap_new_vector_RigidBodyPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48971  PyObject *resultobj = 0;
48972  std::vector< RigidBody * >::size_type arg1 ;
48973  std::vector< RigidBody * >::value_type arg2 = (std::vector< RigidBody * >::value_type) 0 ;
48974  size_t val1 ;
48975  int ecode1 = 0 ;
48976  void *argp2 = 0 ;
48977  int res2 = 0 ;
48978  PyObject * obj0 = 0 ;
48979  PyObject * obj1 = 0 ;
48980  std::vector< RigidBody * > *result = 0 ;
48981 
48982  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_RigidBodyPtr",&obj0,&obj1)) SWIG_fail;
48983  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
48984  if (!SWIG_IsOK(ecode1)) {
48985  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_RigidBodyPtr" "', argument " "1"" of type '" "std::vector< RigidBody * >::size_type""'");
48986  }
48987  arg1 = static_cast< std::vector< RigidBody * >::size_type >(val1);
48988  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RigidBody, 0 | 0 );
48989  if (!SWIG_IsOK(res2)) {
48990  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_RigidBodyPtr" "', argument " "2"" of type '" "std::vector< RigidBody * >::value_type""'");
48991  }
48992  arg2 = reinterpret_cast< std::vector< RigidBody * >::value_type >(argp2);
48993  result = (std::vector< RigidBody * > *)new std::vector< RigidBody * >(arg1,arg2);
48994  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, SWIG_POINTER_NEW | 0 );
48995  return resultobj;
48996 fail:
48997  return NULL;
48998 }
48999 
49000 
49001 SWIGINTERN PyObject *_wrap_new_vector_RigidBodyPtr(PyObject *self, PyObject *args) {
49002  int argc;
49003  PyObject *argv[3];
49004  int ii;
49005 
49006  if (!PyTuple_Check(args)) SWIG_fail;
49007  argc = args ? (int)PyObject_Length(args) : 0;
49008  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
49009  argv[ii] = PyTuple_GET_ITEM(args,ii);
49010  }
49011  if (argc == 0) {
49012  return _wrap_new_vector_RigidBodyPtr__SWIG_0(self, args);
49013  }
49014  if (argc == 1) {
49015  int _v;
49016  {
49017  int res = SWIG_AsVal_size_t(argv[0], NULL);
49018  _v = SWIG_CheckState(res);
49019  }
49020  if (_v) {
49021  return _wrap_new_vector_RigidBodyPtr__SWIG_2(self, args);
49022  }
49023  }
49024  if (argc == 1) {
49025  int _v;
49026  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
49027  _v = SWIG_CheckState(res);
49028  if (_v) {
49029  return _wrap_new_vector_RigidBodyPtr__SWIG_1(self, args);
49030  }
49031  }
49032  if (argc == 2) {
49033  int _v;
49034  {
49035  int res = SWIG_AsVal_size_t(argv[0], NULL);
49036  _v = SWIG_CheckState(res);
49037  }
49038  if (_v) {
49039  void *vptr = 0;
49040  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_RigidBody, 0);
49041  _v = SWIG_CheckState(res);
49042  if (_v) {
49043  return _wrap_new_vector_RigidBodyPtr__SWIG_3(self, args);
49044  }
49045  }
49046  }
49047 
49048 fail:
49049  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_RigidBodyPtr'.\n"
49050  " Possible C/C++ prototypes are:\n"
49051  " std::vector< RigidBody * >::vector()\n"
49052  " std::vector< RigidBody * >::vector(std::vector< RigidBody * > const &)\n"
49053  " std::vector< RigidBody * >::vector(std::vector< RigidBody * >::size_type)\n"
49054  " std::vector< RigidBody * >::vector(std::vector< RigidBody * >::size_type,std::vector< RigidBody * >::value_type)\n");
49055  return 0;
49056 }
49057 
49058 
49059 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49060  PyObject *resultobj = 0;
49061  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
49062  std::vector< RigidBody * >::value_type arg2 = (std::vector< RigidBody * >::value_type) 0 ;
49063  void *argp1 = 0 ;
49064  int res1 = 0 ;
49065  void *argp2 = 0 ;
49066  int res2 = 0 ;
49067  PyObject * obj0 = 0 ;
49068  PyObject * obj1 = 0 ;
49069 
49070  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RigidBodyPtr_push_back",&obj0,&obj1)) SWIG_fail;
49071  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
49072  if (!SWIG_IsOK(res1)) {
49073  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_push_back" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
49074  }
49075  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
49076  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RigidBody, 0 | 0 );
49077  if (!SWIG_IsOK(res2)) {
49078  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_RigidBodyPtr_push_back" "', argument " "2"" of type '" "std::vector< RigidBody * >::value_type""'");
49079  }
49080  arg2 = reinterpret_cast< std::vector< RigidBody * >::value_type >(argp2);
49081  (arg1)->push_back(arg2);
49082  resultobj = SWIG_Py_Void();
49083  return resultobj;
49084 fail:
49085  return NULL;
49086 }
49087 
49088 
49089 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49090  PyObject *resultobj = 0;
49091  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
49092  void *argp1 = 0 ;
49093  int res1 = 0 ;
49094  PyObject * obj0 = 0 ;
49095  std::vector< RigidBody * >::value_type result;
49096 
49097  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr_front",&obj0)) SWIG_fail;
49098  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
49099  if (!SWIG_IsOK(res1)) {
49100  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_front" "', argument " "1"" of type '" "std::vector< RigidBody * > const *""'");
49101  }
49102  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
49103  result = (std::vector< RigidBody * >::value_type)((std::vector< RigidBody * > const *)arg1)->front();
49104  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RigidBody, 0 | 0 );
49105  return resultobj;
49106 fail:
49107  return NULL;
49108 }
49109 
49110 
49111 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49112  PyObject *resultobj = 0;
49113  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
49114  void *argp1 = 0 ;
49115  int res1 = 0 ;
49116  PyObject * obj0 = 0 ;
49117  std::vector< RigidBody * >::value_type result;
49118 
49119  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr_back",&obj0)) SWIG_fail;
49120  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
49121  if (!SWIG_IsOK(res1)) {
49122  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_back" "', argument " "1"" of type '" "std::vector< RigidBody * > const *""'");
49123  }
49124  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
49125  result = (std::vector< RigidBody * >::value_type)((std::vector< RigidBody * > const *)arg1)->back();
49126  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RigidBody, 0 | 0 );
49127  return resultobj;
49128 fail:
49129  return NULL;
49130 }
49131 
49132 
49133 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49134  PyObject *resultobj = 0;
49135  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
49136  std::vector< RigidBody * >::size_type arg2 ;
49137  std::vector< RigidBody * >::value_type arg3 = (std::vector< RigidBody * >::value_type) 0 ;
49138  void *argp1 = 0 ;
49139  int res1 = 0 ;
49140  size_t val2 ;
49141  int ecode2 = 0 ;
49142  void *argp3 = 0 ;
49143  int res3 = 0 ;
49144  PyObject * obj0 = 0 ;
49145  PyObject * obj1 = 0 ;
49146  PyObject * obj2 = 0 ;
49147 
49148  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RigidBodyPtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
49149  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
49150  if (!SWIG_IsOK(res1)) {
49151  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_assign" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
49152  }
49153  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
49154  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
49155  if (!SWIG_IsOK(ecode2)) {
49156  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RigidBodyPtr_assign" "', argument " "2"" of type '" "std::vector< RigidBody * >::size_type""'");
49157  }
49158  arg2 = static_cast< std::vector< RigidBody * >::size_type >(val2);
49159  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RigidBody, 0 | 0 );
49160  if (!SWIG_IsOK(res3)) {
49161  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RigidBodyPtr_assign" "', argument " "3"" of type '" "std::vector< RigidBody * >::value_type""'");
49162  }
49163  arg3 = reinterpret_cast< std::vector< RigidBody * >::value_type >(argp3);
49164  (arg1)->assign(arg2,arg3);
49165  resultobj = SWIG_Py_Void();
49166  return resultobj;
49167 fail:
49168  return NULL;
49169 }
49170 
49171 
49172 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49173  PyObject *resultobj = 0;
49174  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
49175  std::vector< RigidBody * >::size_type arg2 ;
49176  std::vector< RigidBody * >::value_type arg3 = (std::vector< RigidBody * >::value_type) 0 ;
49177  void *argp1 = 0 ;
49178  int res1 = 0 ;
49179  size_t val2 ;
49180  int ecode2 = 0 ;
49181  void *argp3 = 0 ;
49182  int res3 = 0 ;
49183  PyObject * obj0 = 0 ;
49184  PyObject * obj1 = 0 ;
49185  PyObject * obj2 = 0 ;
49186 
49187  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RigidBodyPtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
49188  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
49189  if (!SWIG_IsOK(res1)) {
49190  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_resize" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
49191  }
49192  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
49193  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
49194  if (!SWIG_IsOK(ecode2)) {
49195  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RigidBodyPtr_resize" "', argument " "2"" of type '" "std::vector< RigidBody * >::size_type""'");
49196  }
49197  arg2 = static_cast< std::vector< RigidBody * >::size_type >(val2);
49198  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RigidBody, 0 | 0 );
49199  if (!SWIG_IsOK(res3)) {
49200  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RigidBodyPtr_resize" "', argument " "3"" of type '" "std::vector< RigidBody * >::value_type""'");
49201  }
49202  arg3 = reinterpret_cast< std::vector< RigidBody * >::value_type >(argp3);
49203  (arg1)->resize(arg2,arg3);
49204  resultobj = SWIG_Py_Void();
49205  return resultobj;
49206 fail:
49207  return NULL;
49208 }
49209 
49210 
49211 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_resize(PyObject *self, PyObject *args) {
49212  int argc;
49213  PyObject *argv[4];
49214  int ii;
49215 
49216  if (!PyTuple_Check(args)) SWIG_fail;
49217  argc = args ? (int)PyObject_Length(args) : 0;
49218  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
49219  argv[ii] = PyTuple_GET_ITEM(args,ii);
49220  }
49221  if (argc == 2) {
49222  int _v;
49223  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
49224  _v = SWIG_CheckState(res);
49225  if (_v) {
49226  {
49227  int res = SWIG_AsVal_size_t(argv[1], NULL);
49228  _v = SWIG_CheckState(res);
49229  }
49230  if (_v) {
49231  return _wrap_vector_RigidBodyPtr_resize__SWIG_0(self, args);
49232  }
49233  }
49234  }
49235  if (argc == 3) {
49236  int _v;
49237  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
49238  _v = SWIG_CheckState(res);
49239  if (_v) {
49240  {
49241  int res = SWIG_AsVal_size_t(argv[1], NULL);
49242  _v = SWIG_CheckState(res);
49243  }
49244  if (_v) {
49245  void *vptr = 0;
49246  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_RigidBody, 0);
49247  _v = SWIG_CheckState(res);
49248  if (_v) {
49249  return _wrap_vector_RigidBodyPtr_resize__SWIG_1(self, args);
49250  }
49251  }
49252  }
49253  }
49254 
49255 fail:
49256  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RigidBodyPtr_resize'.\n"
49257  " Possible C/C++ prototypes are:\n"
49258  " std::vector< RigidBody * >::resize(std::vector< RigidBody * >::size_type)\n"
49259  " std::vector< RigidBody * >::resize(std::vector< RigidBody * >::size_type,std::vector< RigidBody * >::value_type)\n");
49260  return 0;
49261 }
49262 
49263 
49264 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49265  PyObject *resultobj = 0;
49266  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
49267  std::vector< RigidBody * >::iterator arg2 ;
49268  std::vector< RigidBody * >::value_type arg3 = (std::vector< RigidBody * >::value_type) 0 ;
49269  void *argp1 = 0 ;
49270  int res1 = 0 ;
49271  swig::SwigPyIterator *iter2 = 0 ;
49272  int res2 ;
49273  void *argp3 = 0 ;
49274  int res3 = 0 ;
49275  PyObject * obj0 = 0 ;
49276  PyObject * obj1 = 0 ;
49277  PyObject * obj2 = 0 ;
49278  std::vector< RigidBody * >::iterator result;
49279 
49280  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RigidBodyPtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
49281  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
49282  if (!SWIG_IsOK(res1)) {
49283  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_insert" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
49284  }
49285  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
49286  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
49287  if (!SWIG_IsOK(res2) || !iter2) {
49288  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RigidBodyPtr_insert" "', argument " "2"" of type '" "std::vector< RigidBody * >::iterator""'");
49289  } else {
49291  if (iter_t) {
49292  arg2 = iter_t->get_current();
49293  } else {
49294  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RigidBodyPtr_insert" "', argument " "2"" of type '" "std::vector< RigidBody * >::iterator""'");
49295  }
49296  }
49297  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RigidBody, 0 | 0 );
49298  if (!SWIG_IsOK(res3)) {
49299  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RigidBodyPtr_insert" "', argument " "3"" of type '" "std::vector< RigidBody * >::value_type""'");
49300  }
49301  arg3 = reinterpret_cast< std::vector< RigidBody * >::value_type >(argp3);
49302  result = std_vector_Sl_RigidBody_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
49303  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RigidBody * >::iterator & >(result)),
49304  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
49305  return resultobj;
49306 fail:
49307  return NULL;
49308 }
49309 
49310 
49311 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49312  PyObject *resultobj = 0;
49313  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
49314  std::vector< RigidBody * >::iterator arg2 ;
49315  std::vector< RigidBody * >::size_type arg3 ;
49316  std::vector< RigidBody * >::value_type arg4 = (std::vector< RigidBody * >::value_type) 0 ;
49317  void *argp1 = 0 ;
49318  int res1 = 0 ;
49319  swig::SwigPyIterator *iter2 = 0 ;
49320  int res2 ;
49321  size_t val3 ;
49322  int ecode3 = 0 ;
49323  void *argp4 = 0 ;
49324  int res4 = 0 ;
49325  PyObject * obj0 = 0 ;
49326  PyObject * obj1 = 0 ;
49327  PyObject * obj2 = 0 ;
49328  PyObject * obj3 = 0 ;
49329 
49330  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_RigidBodyPtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
49331  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
49332  if (!SWIG_IsOK(res1)) {
49333  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_insert" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
49334  }
49335  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
49336  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
49337  if (!SWIG_IsOK(res2) || !iter2) {
49338  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RigidBodyPtr_insert" "', argument " "2"" of type '" "std::vector< RigidBody * >::iterator""'");
49339  } else {
49341  if (iter_t) {
49342  arg2 = iter_t->get_current();
49343  } else {
49344  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RigidBodyPtr_insert" "', argument " "2"" of type '" "std::vector< RigidBody * >::iterator""'");
49345  }
49346  }
49347  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
49348  if (!SWIG_IsOK(ecode3)) {
49349  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RigidBodyPtr_insert" "', argument " "3"" of type '" "std::vector< RigidBody * >::size_type""'");
49350  }
49351  arg3 = static_cast< std::vector< RigidBody * >::size_type >(val3);
49352  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_RigidBody, 0 | 0 );
49353  if (!SWIG_IsOK(res4)) {
49354  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_RigidBodyPtr_insert" "', argument " "4"" of type '" "std::vector< RigidBody * >::value_type""'");
49355  }
49356  arg4 = reinterpret_cast< std::vector< RigidBody * >::value_type >(argp4);
49357  std_vector_Sl_RigidBody_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
49358  resultobj = SWIG_Py_Void();
49359  return resultobj;
49360 fail:
49361  return NULL;
49362 }
49363 
49364 
49365 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_insert(PyObject *self, PyObject *args) {
49366  int argc;
49367  PyObject *argv[5];
49368  int ii;
49369 
49370  if (!PyTuple_Check(args)) SWIG_fail;
49371  argc = args ? (int)PyObject_Length(args) : 0;
49372  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
49373  argv[ii] = PyTuple_GET_ITEM(args,ii);
49374  }
49375  if (argc == 3) {
49376  int _v;
49377  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
49378  _v = SWIG_CheckState(res);
49379  if (_v) {
49380  swig::SwigPyIterator *iter = 0;
49381  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
49382  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RigidBody * >::iterator > *>(iter) != 0));
49383  if (_v) {
49384  void *vptr = 0;
49385  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_RigidBody, 0);
49386  _v = SWIG_CheckState(res);
49387  if (_v) {
49388  return _wrap_vector_RigidBodyPtr_insert__SWIG_0(self, args);
49389  }
49390  }
49391  }
49392  }
49393  if (argc == 4) {
49394  int _v;
49395  int res = swig::asptr(argv[0], (std::vector<RigidBody*,std::allocator< RigidBody * > >**)(0));
49396  _v = SWIG_CheckState(res);
49397  if (_v) {
49398  swig::SwigPyIterator *iter = 0;
49399  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
49400  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RigidBody * >::iterator > *>(iter) != 0));
49401  if (_v) {
49402  {
49403  int res = SWIG_AsVal_size_t(argv[2], NULL);
49404  _v = SWIG_CheckState(res);
49405  }
49406  if (_v) {
49407  void *vptr = 0;
49408  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_RigidBody, 0);
49409  _v = SWIG_CheckState(res);
49410  if (_v) {
49411  return _wrap_vector_RigidBodyPtr_insert__SWIG_1(self, args);
49412  }
49413  }
49414  }
49415  }
49416  }
49417 
49418 fail:
49419  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RigidBodyPtr_insert'.\n"
49420  " Possible C/C++ prototypes are:\n"
49421  " std::vector< RigidBody * >::insert(std::vector< RigidBody * >::iterator,std::vector< RigidBody * >::value_type)\n"
49422  " std::vector< RigidBody * >::insert(std::vector< RigidBody * >::iterator,std::vector< RigidBody * >::size_type,std::vector< RigidBody * >::value_type)\n");
49423  return 0;
49424 }
49425 
49426 
49427 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49428  PyObject *resultobj = 0;
49429  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
49430  std::vector< RigidBody * >::size_type arg2 ;
49431  void *argp1 = 0 ;
49432  int res1 = 0 ;
49433  size_t val2 ;
49434  int ecode2 = 0 ;
49435  PyObject * obj0 = 0 ;
49436  PyObject * obj1 = 0 ;
49437 
49438  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RigidBodyPtr_reserve",&obj0,&obj1)) SWIG_fail;
49439  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
49440  if (!SWIG_IsOK(res1)) {
49441  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_reserve" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
49442  }
49443  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
49444  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
49445  if (!SWIG_IsOK(ecode2)) {
49446  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RigidBodyPtr_reserve" "', argument " "2"" of type '" "std::vector< RigidBody * >::size_type""'");
49447  }
49448  arg2 = static_cast< std::vector< RigidBody * >::size_type >(val2);
49449  (arg1)->reserve(arg2);
49450  resultobj = SWIG_Py_Void();
49451  return resultobj;
49452 fail:
49453  return NULL;
49454 }
49455 
49456 
49457 SWIGINTERN PyObject *_wrap_vector_RigidBodyPtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49458  PyObject *resultobj = 0;
49459  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
49460  void *argp1 = 0 ;
49461  int res1 = 0 ;
49462  PyObject * obj0 = 0 ;
49463  std::vector< RigidBody * >::size_type result;
49464 
49465  if (!PyArg_ParseTuple(args,(char *)"O:vector_RigidBodyPtr_capacity",&obj0)) SWIG_fail;
49466  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0 | 0 );
49467  if (!SWIG_IsOK(res1)) {
49468  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RigidBodyPtr_capacity" "', argument " "1"" of type '" "std::vector< RigidBody * > const *""'");
49469  }
49470  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
49471  result = ((std::vector< RigidBody * > const *)arg1)->capacity();
49472  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
49473  return resultobj;
49474 fail:
49475  return NULL;
49476 }
49477 
49478 
49479 SWIGINTERN PyObject *_wrap_delete_vector_RigidBodyPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49480  PyObject *resultobj = 0;
49481  std::vector< RigidBody * > *arg1 = (std::vector< RigidBody * > *) 0 ;
49482  void *argp1 = 0 ;
49483  int res1 = 0 ;
49484  PyObject * obj0 = 0 ;
49485 
49486  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_RigidBodyPtr",&obj0)) SWIG_fail;
49487  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, SWIG_POINTER_DISOWN | 0 );
49488  if (!SWIG_IsOK(res1)) {
49489  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_RigidBodyPtr" "', argument " "1"" of type '" "std::vector< RigidBody * > *""'");
49490  }
49491  arg1 = reinterpret_cast< std::vector< RigidBody * > * >(argp1);
49492  {
49493  try {
49494  delete arg1;
49495  }
49496  catch(CStdErrorInfo oError)
49497  {
49498  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
49499  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
49500  PyErr_SetString(PyExc_IndexError, strError.c_str());
49501  SWIG_fail;
49502  }
49503  catch(...)
49504  {
49505  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
49506  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
49507  SWIG_fail;
49508  }
49509  }
49510  resultobj = SWIG_Py_Void();
49511  return resultobj;
49512 fail:
49513  return NULL;
49514 }
49515 
49516 
49517 SWIGINTERN PyObject *vector_RigidBodyPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49518  PyObject *obj;
49519  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
49520  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, SWIG_NewClientData(obj));
49521  return SWIG_Py_Void();
49522 }
49523 
49524 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49525  PyObject *resultobj = 0;
49526  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
49527  PyObject **arg2 = (PyObject **) 0 ;
49528  void *argp1 = 0 ;
49529  int res1 = 0 ;
49530  PyObject * obj0 = 0 ;
49531  swig::SwigPyIterator *result = 0 ;
49532 
49533  arg2 = &obj0;
49534  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr_iterator",&obj0)) SWIG_fail;
49535  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
49536  if (!SWIG_IsOK(res1)) {
49537  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_iterator" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
49538  }
49539  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
49540  result = (swig::SwigPyIterator *)std_vector_Sl_RobotInterface_Sm__Sg__iterator(arg1,arg2);
49541  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
49542  return resultobj;
49543 fail:
49544  return NULL;
49545 }
49546 
49547 
49548 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49549  PyObject *resultobj = 0;
49550  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
49551  void *argp1 = 0 ;
49552  int res1 = 0 ;
49553  PyObject * obj0 = 0 ;
49554  bool result;
49555 
49556  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr___nonzero__",&obj0)) SWIG_fail;
49557  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
49558  if (!SWIG_IsOK(res1)) {
49559  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr___nonzero__" "', argument " "1"" of type '" "std::vector< RobotInterface * > const *""'");
49560  }
49561  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
49562  result = (bool)std_vector_Sl_RobotInterface_Sm__Sg____nonzero__((std::vector< RobotInterface * > const *)arg1);
49563  resultobj = SWIG_From_bool(static_cast< bool >(result));
49564  return resultobj;
49565 fail:
49566  return NULL;
49567 }
49568 
49569 
49570 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49571  PyObject *resultobj = 0;
49572  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
49573  void *argp1 = 0 ;
49574  int res1 = 0 ;
49575  PyObject * obj0 = 0 ;
49576  bool result;
49577 
49578  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr___bool__",&obj0)) SWIG_fail;
49579  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
49580  if (!SWIG_IsOK(res1)) {
49581  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr___bool__" "', argument " "1"" of type '" "std::vector< RobotInterface * > const *""'");
49582  }
49583  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
49584  result = (bool)std_vector_Sl_RobotInterface_Sm__Sg____bool__((std::vector< RobotInterface * > const *)arg1);
49585  resultobj = SWIG_From_bool(static_cast< bool >(result));
49586  return resultobj;
49587 fail:
49588  return NULL;
49589 }
49590 
49591 
49592 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49593  PyObject *resultobj = 0;
49594  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
49595  void *argp1 = 0 ;
49596  int res1 = 0 ;
49597  PyObject * obj0 = 0 ;
49598  std::vector< RobotInterface * >::size_type result;
49599 
49600  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr___len__",&obj0)) SWIG_fail;
49601  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
49602  if (!SWIG_IsOK(res1)) {
49603  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr___len__" "', argument " "1"" of type '" "std::vector< RobotInterface * > const *""'");
49604  }
49605  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
49606  result = std_vector_Sl_RobotInterface_Sm__Sg____len__((std::vector< RobotInterface * > const *)arg1);
49607  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
49608  return resultobj;
49609 fail:
49610  return NULL;
49611 }
49612 
49613 
49614 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49615  PyObject *resultobj = 0;
49616  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
49617  void *argp1 = 0 ;
49618  int res1 = 0 ;
49619  PyObject * obj0 = 0 ;
49620  std::vector< RobotInterface * >::value_type result;
49621 
49622  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr_pop",&obj0)) SWIG_fail;
49623  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
49624  if (!SWIG_IsOK(res1)) {
49625  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_pop" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
49626  }
49627  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
49628  try {
49629  result = (std::vector< RobotInterface * >::value_type)std_vector_Sl_RobotInterface_Sm__Sg__pop(arg1);
49630  }
49631  catch(std::out_of_range &_e) {
49632  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
49633  }
49634 
49635  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RobotInterface, 0 | 0 );
49636  return resultobj;
49637 fail:
49638  return NULL;
49639 }
49640 
49641 
49642 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49643  PyObject *resultobj = 0;
49644  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
49645  std::vector< RobotInterface * >::difference_type arg2 ;
49646  std::vector< RobotInterface * >::difference_type arg3 ;
49647  void *argp1 = 0 ;
49648  int res1 = 0 ;
49649  ptrdiff_t val2 ;
49650  int ecode2 = 0 ;
49651  ptrdiff_t val3 ;
49652  int ecode3 = 0 ;
49653  PyObject * obj0 = 0 ;
49654  PyObject * obj1 = 0 ;
49655  PyObject * obj2 = 0 ;
49656  std::vector< RobotInterface *,std::allocator< RobotInterface * > > *result = 0 ;
49657 
49658  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotInterfacePtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
49659  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
49660  if (!SWIG_IsOK(res1)) {
49661  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr___getslice__" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
49662  }
49663  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
49664  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
49665  if (!SWIG_IsOK(ecode2)) {
49666  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotInterfacePtr___getslice__" "', argument " "2"" of type '" "std::vector< RobotInterface * >::difference_type""'");
49667  }
49668  arg2 = static_cast< std::vector< RobotInterface * >::difference_type >(val2);
49669  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
49670  if (!SWIG_IsOK(ecode3)) {
49671  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RobotInterfacePtr___getslice__" "', argument " "3"" of type '" "std::vector< RobotInterface * >::difference_type""'");
49672  }
49673  arg3 = static_cast< std::vector< RobotInterface * >::difference_type >(val3);
49674  try {
49675  result = (std::vector< RobotInterface *,std::allocator< RobotInterface * > > *)std_vector_Sl_RobotInterface_Sm__Sg____getslice__(arg1,arg2,arg3);
49676  }
49677  catch(std::out_of_range &_e) {
49678  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
49679  }
49680  catch(std::invalid_argument &_e) {
49681  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
49682  }
49683 
49684  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, SWIG_POINTER_OWN | 0 );
49685  return resultobj;
49686 fail:
49687  return NULL;
49688 }
49689 
49690 
49691 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49692  PyObject *resultobj = 0;
49693  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
49694  std::vector< RobotInterface * >::difference_type arg2 ;
49695  std::vector< RobotInterface * >::difference_type arg3 ;
49696  std::vector< RobotInterface *,std::allocator< RobotInterface * > > *arg4 = 0 ;
49697  void *argp1 = 0 ;
49698  int res1 = 0 ;
49699  ptrdiff_t val2 ;
49700  int ecode2 = 0 ;
49701  ptrdiff_t val3 ;
49702  int ecode3 = 0 ;
49703  int res4 = SWIG_OLDOBJ ;
49704  PyObject * obj0 = 0 ;
49705  PyObject * obj1 = 0 ;
49706  PyObject * obj2 = 0 ;
49707  PyObject * obj3 = 0 ;
49708 
49709  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_RobotInterfacePtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
49710  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
49711  if (!SWIG_IsOK(res1)) {
49712  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr___setslice__" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
49713  }
49714  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
49715  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
49716  if (!SWIG_IsOK(ecode2)) {
49717  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotInterfacePtr___setslice__" "', argument " "2"" of type '" "std::vector< RobotInterface * >::difference_type""'");
49718  }
49719  arg2 = static_cast< std::vector< RobotInterface * >::difference_type >(val2);
49720  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
49721  if (!SWIG_IsOK(ecode3)) {
49722  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RobotInterfacePtr___setslice__" "', argument " "3"" of type '" "std::vector< RobotInterface * >::difference_type""'");
49723  }
49724  arg3 = static_cast< std::vector< RobotInterface * >::difference_type >(val3);
49725  {
49726  std::vector<RobotInterface*,std::allocator< RobotInterface * > > *ptr = (std::vector<RobotInterface*,std::allocator< RobotInterface * > > *)0;
49727  res4 = swig::asptr(obj3, &ptr);
49728  if (!SWIG_IsOK(res4)) {
49729  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_RobotInterfacePtr___setslice__" "', argument " "4"" of type '" "std::vector< RobotInterface *,std::allocator< RobotInterface * > > const &""'");
49730  }
49731  if (!ptr) {
49732  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_RobotInterfacePtr___setslice__" "', argument " "4"" of type '" "std::vector< RobotInterface *,std::allocator< RobotInterface * > > const &""'");
49733  }
49734  arg4 = ptr;
49735  }
49736  try {
49737  std_vector_Sl_RobotInterface_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< RobotInterface *,std::allocator< RobotInterface * > > const &)*arg4);
49738  }
49739  catch(std::out_of_range &_e) {
49740  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
49741  }
49742  catch(std::invalid_argument &_e) {
49743  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
49744  }
49745 
49746  resultobj = SWIG_Py_Void();
49747  if (SWIG_IsNewObj(res4)) delete arg4;
49748  return resultobj;
49749 fail:
49750  if (SWIG_IsNewObj(res4)) delete arg4;
49751  return NULL;
49752 }
49753 
49754 
49755 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49756  PyObject *resultobj = 0;
49757  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
49758  std::vector< RobotInterface * >::difference_type arg2 ;
49759  std::vector< RobotInterface * >::difference_type arg3 ;
49760  void *argp1 = 0 ;
49761  int res1 = 0 ;
49762  ptrdiff_t val2 ;
49763  int ecode2 = 0 ;
49764  ptrdiff_t val3 ;
49765  int ecode3 = 0 ;
49766  PyObject * obj0 = 0 ;
49767  PyObject * obj1 = 0 ;
49768  PyObject * obj2 = 0 ;
49769 
49770  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotInterfacePtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
49771  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
49772  if (!SWIG_IsOK(res1)) {
49773  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr___setslice__" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
49774  }
49775  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
49776  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
49777  if (!SWIG_IsOK(ecode2)) {
49778  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotInterfacePtr___setslice__" "', argument " "2"" of type '" "std::vector< RobotInterface * >::difference_type""'");
49779  }
49780  arg2 = static_cast< std::vector< RobotInterface * >::difference_type >(val2);
49781  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
49782  if (!SWIG_IsOK(ecode3)) {
49783  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RobotInterfacePtr___setslice__" "', argument " "3"" of type '" "std::vector< RobotInterface * >::difference_type""'");
49784  }
49785  arg3 = static_cast< std::vector< RobotInterface * >::difference_type >(val3);
49786  try {
49787  std_vector_Sl_RobotInterface_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
49788  }
49789  catch(std::out_of_range &_e) {
49790  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
49791  }
49792  catch(std::invalid_argument &_e) {
49793  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
49794  }
49795 
49796  resultobj = SWIG_Py_Void();
49797  return resultobj;
49798 fail:
49799  return NULL;
49800 }
49801 
49802 
49803 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___setslice__(PyObject *self, PyObject *args) {
49804  int argc;
49805  PyObject *argv[5];
49806  int ii;
49807 
49808  if (!PyTuple_Check(args)) SWIG_fail;
49809  argc = args ? (int)PyObject_Length(args) : 0;
49810  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
49811  argv[ii] = PyTuple_GET_ITEM(args,ii);
49812  }
49813  if (argc == 3) {
49814  int _v;
49815  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
49816  _v = SWIG_CheckState(res);
49817  if (_v) {
49818  {
49819  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
49820  _v = SWIG_CheckState(res);
49821  }
49822  if (_v) {
49823  {
49824  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
49825  _v = SWIG_CheckState(res);
49826  }
49827  if (_v) {
49828  return _wrap_vector_RobotInterfacePtr___setslice____SWIG_1(self, args);
49829  }
49830  }
49831  }
49832  }
49833  if (argc == 4) {
49834  int _v;
49835  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
49836  _v = SWIG_CheckState(res);
49837  if (_v) {
49838  {
49839  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
49840  _v = SWIG_CheckState(res);
49841  }
49842  if (_v) {
49843  {
49844  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
49845  _v = SWIG_CheckState(res);
49846  }
49847  if (_v) {
49848  int res = swig::asptr(argv[3], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
49849  _v = SWIG_CheckState(res);
49850  if (_v) {
49851  return _wrap_vector_RobotInterfacePtr___setslice____SWIG_0(self, args);
49852  }
49853  }
49854  }
49855  }
49856  }
49857 
49858 fail:
49859  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotInterfacePtr___setslice__'.\n"
49860  " Possible C/C++ prototypes are:\n"
49861  " std::vector< RobotInterface * >::__setslice__(std::vector< RobotInterface * >::difference_type,std::vector< RobotInterface * >::difference_type,std::vector< RobotInterface *,std::allocator< RobotInterface * > > const &)\n"
49862  " std::vector< RobotInterface * >::__setslice__(std::vector< RobotInterface * >::difference_type,std::vector< RobotInterface * >::difference_type)\n");
49863  return 0;
49864 }
49865 
49866 
49867 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49868  PyObject *resultobj = 0;
49869  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
49870  std::vector< RobotInterface * >::difference_type arg2 ;
49871  std::vector< RobotInterface * >::difference_type arg3 ;
49872  void *argp1 = 0 ;
49873  int res1 = 0 ;
49874  ptrdiff_t val2 ;
49875  int ecode2 = 0 ;
49876  ptrdiff_t val3 ;
49877  int ecode3 = 0 ;
49878  PyObject * obj0 = 0 ;
49879  PyObject * obj1 = 0 ;
49880  PyObject * obj2 = 0 ;
49881 
49882  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotInterfacePtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
49883  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
49884  if (!SWIG_IsOK(res1)) {
49885  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr___delslice__" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
49886  }
49887  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
49888  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
49889  if (!SWIG_IsOK(ecode2)) {
49890  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotInterfacePtr___delslice__" "', argument " "2"" of type '" "std::vector< RobotInterface * >::difference_type""'");
49891  }
49892  arg2 = static_cast< std::vector< RobotInterface * >::difference_type >(val2);
49893  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
49894  if (!SWIG_IsOK(ecode3)) {
49895  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RobotInterfacePtr___delslice__" "', argument " "3"" of type '" "std::vector< RobotInterface * >::difference_type""'");
49896  }
49897  arg3 = static_cast< std::vector< RobotInterface * >::difference_type >(val3);
49898  try {
49899  std_vector_Sl_RobotInterface_Sm__Sg____delslice__(arg1,arg2,arg3);
49900  }
49901  catch(std::out_of_range &_e) {
49902  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
49903  }
49904  catch(std::invalid_argument &_e) {
49905  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
49906  }
49907 
49908  resultobj = SWIG_Py_Void();
49909  return resultobj;
49910 fail:
49911  return NULL;
49912 }
49913 
49914 
49915 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49916  PyObject *resultobj = 0;
49917  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
49918  std::vector< RobotInterface * >::difference_type arg2 ;
49919  void *argp1 = 0 ;
49920  int res1 = 0 ;
49921  ptrdiff_t val2 ;
49922  int ecode2 = 0 ;
49923  PyObject * obj0 = 0 ;
49924  PyObject * obj1 = 0 ;
49925 
49926  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotInterfacePtr___delitem__",&obj0,&obj1)) SWIG_fail;
49927  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
49928  if (!SWIG_IsOK(res1)) {
49929  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr___delitem__" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
49930  }
49931  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
49932  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
49933  if (!SWIG_IsOK(ecode2)) {
49934  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotInterfacePtr___delitem__" "', argument " "2"" of type '" "std::vector< RobotInterface * >::difference_type""'");
49935  }
49936  arg2 = static_cast< std::vector< RobotInterface * >::difference_type >(val2);
49937  try {
49938  std_vector_Sl_RobotInterface_Sm__Sg____delitem____SWIG_0(arg1,arg2);
49939  }
49940  catch(std::out_of_range &_e) {
49941  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
49942  }
49943 
49944  resultobj = SWIG_Py_Void();
49945  return resultobj;
49946 fail:
49947  return NULL;
49948 }
49949 
49950 
49951 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49952  PyObject *resultobj = 0;
49953  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
49954  PySliceObject *arg2 = (PySliceObject *) 0 ;
49955  void *argp1 = 0 ;
49956  int res1 = 0 ;
49957  PyObject * obj0 = 0 ;
49958  PyObject * obj1 = 0 ;
49959  std::vector< RobotInterface *,std::allocator< RobotInterface * > > *result = 0 ;
49960 
49961  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotInterfacePtr___getitem__",&obj0,&obj1)) SWIG_fail;
49962  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
49963  if (!SWIG_IsOK(res1)) {
49964  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr___getitem__" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
49965  }
49966  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
49967  {
49968  if (!PySlice_Check(obj1)) {
49969  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotInterfacePtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
49970  }
49971  arg2 = (PySliceObject *) obj1;
49972  }
49973  try {
49974  result = (std::vector< RobotInterface *,std::allocator< RobotInterface * > > *)std_vector_Sl_RobotInterface_Sm__Sg____getitem____SWIG_0(arg1,arg2);
49975  }
49976  catch(std::out_of_range &_e) {
49977  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
49978  }
49979  catch(std::invalid_argument &_e) {
49980  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
49981  }
49982 
49983  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, SWIG_POINTER_OWN | 0 );
49984  return resultobj;
49985 fail:
49986  return NULL;
49987 }
49988 
49989 
49990 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49991  PyObject *resultobj = 0;
49992  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
49993  PySliceObject *arg2 = (PySliceObject *) 0 ;
49994  std::vector< RobotInterface *,std::allocator< RobotInterface * > > *arg3 = 0 ;
49995  void *argp1 = 0 ;
49996  int res1 = 0 ;
49997  int res3 = SWIG_OLDOBJ ;
49998  PyObject * obj0 = 0 ;
49999  PyObject * obj1 = 0 ;
50000  PyObject * obj2 = 0 ;
50001 
50002  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotInterfacePtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
50003  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50004  if (!SWIG_IsOK(res1)) {
50005  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr___setitem__" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50006  }
50007  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50008  {
50009  if (!PySlice_Check(obj1)) {
50010  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotInterfacePtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
50011  }
50012  arg2 = (PySliceObject *) obj1;
50013  }
50014  {
50015  std::vector<RobotInterface*,std::allocator< RobotInterface * > > *ptr = (std::vector<RobotInterface*,std::allocator< RobotInterface * > > *)0;
50016  res3 = swig::asptr(obj2, &ptr);
50017  if (!SWIG_IsOK(res3)) {
50018  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RobotInterfacePtr___setitem__" "', argument " "3"" of type '" "std::vector< RobotInterface *,std::allocator< RobotInterface * > > const &""'");
50019  }
50020  if (!ptr) {
50021  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_RobotInterfacePtr___setitem__" "', argument " "3"" of type '" "std::vector< RobotInterface *,std::allocator< RobotInterface * > > const &""'");
50022  }
50023  arg3 = ptr;
50024  }
50025  try {
50026  std_vector_Sl_RobotInterface_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< RobotInterface *,std::allocator< RobotInterface * > > const &)*arg3);
50027  }
50028  catch(std::out_of_range &_e) {
50029  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
50030  }
50031  catch(std::invalid_argument &_e) {
50032  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
50033  }
50034 
50035  resultobj = SWIG_Py_Void();
50036  if (SWIG_IsNewObj(res3)) delete arg3;
50037  return resultobj;
50038 fail:
50039  if (SWIG_IsNewObj(res3)) delete arg3;
50040  return NULL;
50041 }
50042 
50043 
50044 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50045  PyObject *resultobj = 0;
50046  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50047  PySliceObject *arg2 = (PySliceObject *) 0 ;
50048  void *argp1 = 0 ;
50049  int res1 = 0 ;
50050  PyObject * obj0 = 0 ;
50051  PyObject * obj1 = 0 ;
50052 
50053  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotInterfacePtr___setitem__",&obj0,&obj1)) SWIG_fail;
50054  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50055  if (!SWIG_IsOK(res1)) {
50056  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr___setitem__" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50057  }
50058  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50059  {
50060  if (!PySlice_Check(obj1)) {
50061  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotInterfacePtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
50062  }
50063  arg2 = (PySliceObject *) obj1;
50064  }
50065  try {
50066  std_vector_Sl_RobotInterface_Sm__Sg____setitem____SWIG_1(arg1,arg2);
50067  }
50068  catch(std::out_of_range &_e) {
50069  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
50070  }
50071  catch(std::invalid_argument &_e) {
50072  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
50073  }
50074 
50075  resultobj = SWIG_Py_Void();
50076  return resultobj;
50077 fail:
50078  return NULL;
50079 }
50080 
50081 
50082 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50083  PyObject *resultobj = 0;
50084  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50085  PySliceObject *arg2 = (PySliceObject *) 0 ;
50086  void *argp1 = 0 ;
50087  int res1 = 0 ;
50088  PyObject * obj0 = 0 ;
50089  PyObject * obj1 = 0 ;
50090 
50091  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotInterfacePtr___delitem__",&obj0,&obj1)) SWIG_fail;
50092  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50093  if (!SWIG_IsOK(res1)) {
50094  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr___delitem__" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50095  }
50096  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50097  {
50098  if (!PySlice_Check(obj1)) {
50099  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotInterfacePtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
50100  }
50101  arg2 = (PySliceObject *) obj1;
50102  }
50103  try {
50104  std_vector_Sl_RobotInterface_Sm__Sg____delitem____SWIG_1(arg1,arg2);
50105  }
50106  catch(std::out_of_range &_e) {
50107  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
50108  }
50109  catch(std::invalid_argument &_e) {
50110  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
50111  }
50112 
50113  resultobj = SWIG_Py_Void();
50114  return resultobj;
50115 fail:
50116  return NULL;
50117 }
50118 
50119 
50120 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___delitem__(PyObject *self, PyObject *args) {
50121  int argc;
50122  PyObject *argv[3];
50123  int ii;
50124 
50125  if (!PyTuple_Check(args)) SWIG_fail;
50126  argc = args ? (int)PyObject_Length(args) : 0;
50127  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
50128  argv[ii] = PyTuple_GET_ITEM(args,ii);
50129  }
50130  if (argc == 2) {
50131  int _v;
50132  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
50133  _v = SWIG_CheckState(res);
50134  if (_v) {
50135  {
50136  _v = PySlice_Check(argv[1]);
50137  }
50138  if (_v) {
50139  return _wrap_vector_RobotInterfacePtr___delitem____SWIG_1(self, args);
50140  }
50141  }
50142  }
50143  if (argc == 2) {
50144  int _v;
50145  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
50146  _v = SWIG_CheckState(res);
50147  if (_v) {
50148  {
50149  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
50150  _v = SWIG_CheckState(res);
50151  }
50152  if (_v) {
50153  return _wrap_vector_RobotInterfacePtr___delitem____SWIG_0(self, args);
50154  }
50155  }
50156  }
50157 
50158 fail:
50159  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotInterfacePtr___delitem__'.\n"
50160  " Possible C/C++ prototypes are:\n"
50161  " std::vector< RobotInterface * >::__delitem__(std::vector< RobotInterface * >::difference_type)\n"
50162  " std::vector< RobotInterface * >::__delitem__(PySliceObject *)\n");
50163  return 0;
50164 }
50165 
50166 
50167 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50168  PyObject *resultobj = 0;
50169  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50170  std::vector< RobotInterface * >::difference_type arg2 ;
50171  void *argp1 = 0 ;
50172  int res1 = 0 ;
50173  ptrdiff_t val2 ;
50174  int ecode2 = 0 ;
50175  PyObject * obj0 = 0 ;
50176  PyObject * obj1 = 0 ;
50177  std::vector< RobotInterface * >::value_type result;
50178 
50179  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotInterfacePtr___getitem__",&obj0,&obj1)) SWIG_fail;
50180  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50181  if (!SWIG_IsOK(res1)) {
50182  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr___getitem__" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50183  }
50184  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50185  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
50186  if (!SWIG_IsOK(ecode2)) {
50187  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotInterfacePtr___getitem__" "', argument " "2"" of type '" "std::vector< RobotInterface * >::difference_type""'");
50188  }
50189  arg2 = static_cast< std::vector< RobotInterface * >::difference_type >(val2);
50190  try {
50191  result = (std::vector< RobotInterface * >::value_type)std_vector_Sl_RobotInterface_Sm__Sg____getitem____SWIG_1(arg1,arg2);
50192  }
50193  catch(std::out_of_range &_e) {
50194  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
50195  }
50196 
50197  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RobotInterface, 0 | 0 );
50198  return resultobj;
50199 fail:
50200  return NULL;
50201 }
50202 
50203 
50204 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___getitem__(PyObject *self, PyObject *args) {
50205  int argc;
50206  PyObject *argv[3];
50207  int ii;
50208 
50209  if (!PyTuple_Check(args)) SWIG_fail;
50210  argc = args ? (int)PyObject_Length(args) : 0;
50211  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
50212  argv[ii] = PyTuple_GET_ITEM(args,ii);
50213  }
50214  if (argc == 2) {
50215  int _v;
50216  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
50217  _v = SWIG_CheckState(res);
50218  if (_v) {
50219  {
50220  _v = PySlice_Check(argv[1]);
50221  }
50222  if (_v) {
50223  return _wrap_vector_RobotInterfacePtr___getitem____SWIG_0(self, args);
50224  }
50225  }
50226  }
50227  if (argc == 2) {
50228  int _v;
50229  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
50230  _v = SWIG_CheckState(res);
50231  if (_v) {
50232  {
50233  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
50234  _v = SWIG_CheckState(res);
50235  }
50236  if (_v) {
50237  return _wrap_vector_RobotInterfacePtr___getitem____SWIG_1(self, args);
50238  }
50239  }
50240  }
50241 
50242 fail:
50243  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotInterfacePtr___getitem__'.\n"
50244  " Possible C/C++ prototypes are:\n"
50245  " std::vector< RobotInterface * >::__getitem__(PySliceObject *)\n"
50246  " std::vector< RobotInterface * >::__getitem__(std::vector< RobotInterface * >::difference_type)\n");
50247  return 0;
50248 }
50249 
50250 
50251 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50252  PyObject *resultobj = 0;
50253  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50254  std::vector< RobotInterface * >::difference_type arg2 ;
50255  std::vector< RobotInterface * >::value_type arg3 = (std::vector< RobotInterface * >::value_type) 0 ;
50256  void *argp1 = 0 ;
50257  int res1 = 0 ;
50258  ptrdiff_t val2 ;
50259  int ecode2 = 0 ;
50260  void *argp3 = 0 ;
50261  int res3 = 0 ;
50262  PyObject * obj0 = 0 ;
50263  PyObject * obj1 = 0 ;
50264  PyObject * obj2 = 0 ;
50265 
50266  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotInterfacePtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
50267  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50268  if (!SWIG_IsOK(res1)) {
50269  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr___setitem__" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50270  }
50271  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50272  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
50273  if (!SWIG_IsOK(ecode2)) {
50274  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotInterfacePtr___setitem__" "', argument " "2"" of type '" "std::vector< RobotInterface * >::difference_type""'");
50275  }
50276  arg2 = static_cast< std::vector< RobotInterface * >::difference_type >(val2);
50277  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RobotInterface, 0 | 0 );
50278  if (!SWIG_IsOK(res3)) {
50279  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RobotInterfacePtr___setitem__" "', argument " "3"" of type '" "std::vector< RobotInterface * >::value_type""'");
50280  }
50281  arg3 = reinterpret_cast< std::vector< RobotInterface * >::value_type >(argp3);
50282  try {
50283  std_vector_Sl_RobotInterface_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
50284  }
50285  catch(std::out_of_range &_e) {
50286  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
50287  }
50288 
50289  resultobj = SWIG_Py_Void();
50290  return resultobj;
50291 fail:
50292  return NULL;
50293 }
50294 
50295 
50296 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr___setitem__(PyObject *self, PyObject *args) {
50297  int argc;
50298  PyObject *argv[4];
50299  int ii;
50300 
50301  if (!PyTuple_Check(args)) SWIG_fail;
50302  argc = args ? (int)PyObject_Length(args) : 0;
50303  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
50304  argv[ii] = PyTuple_GET_ITEM(args,ii);
50305  }
50306  if (argc == 2) {
50307  int _v;
50308  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
50309  _v = SWIG_CheckState(res);
50310  if (_v) {
50311  {
50312  _v = PySlice_Check(argv[1]);
50313  }
50314  if (_v) {
50315  return _wrap_vector_RobotInterfacePtr___setitem____SWIG_1(self, args);
50316  }
50317  }
50318  }
50319  if (argc == 3) {
50320  int _v;
50321  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
50322  _v = SWIG_CheckState(res);
50323  if (_v) {
50324  {
50325  _v = PySlice_Check(argv[1]);
50326  }
50327  if (_v) {
50328  int res = swig::asptr(argv[2], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
50329  _v = SWIG_CheckState(res);
50330  if (_v) {
50331  return _wrap_vector_RobotInterfacePtr___setitem____SWIG_0(self, args);
50332  }
50333  }
50334  }
50335  }
50336  if (argc == 3) {
50337  int _v;
50338  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
50339  _v = SWIG_CheckState(res);
50340  if (_v) {
50341  {
50342  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
50343  _v = SWIG_CheckState(res);
50344  }
50345  if (_v) {
50346  void *vptr = 0;
50347  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_RobotInterface, 0);
50348  _v = SWIG_CheckState(res);
50349  if (_v) {
50350  return _wrap_vector_RobotInterfacePtr___setitem____SWIG_2(self, args);
50351  }
50352  }
50353  }
50354  }
50355 
50356 fail:
50357  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotInterfacePtr___setitem__'.\n"
50358  " Possible C/C++ prototypes are:\n"
50359  " std::vector< RobotInterface * >::__setitem__(PySliceObject *,std::vector< RobotInterface *,std::allocator< RobotInterface * > > const &)\n"
50360  " std::vector< RobotInterface * >::__setitem__(PySliceObject *)\n"
50361  " std::vector< RobotInterface * >::__setitem__(std::vector< RobotInterface * >::difference_type,std::vector< RobotInterface * >::value_type)\n");
50362  return 0;
50363 }
50364 
50365 
50366 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50367  PyObject *resultobj = 0;
50368  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50369  std::vector< RobotInterface * >::value_type arg2 = (std::vector< RobotInterface * >::value_type) 0 ;
50370  void *argp1 = 0 ;
50371  int res1 = 0 ;
50372  void *argp2 = 0 ;
50373  int res2 = 0 ;
50374  PyObject * obj0 = 0 ;
50375  PyObject * obj1 = 0 ;
50376 
50377  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotInterfacePtr_append",&obj0,&obj1)) SWIG_fail;
50378  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50379  if (!SWIG_IsOK(res1)) {
50380  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_append" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50381  }
50382  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50383  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RobotInterface, 0 | 0 );
50384  if (!SWIG_IsOK(res2)) {
50385  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_RobotInterfacePtr_append" "', argument " "2"" of type '" "std::vector< RobotInterface * >::value_type""'");
50386  }
50387  arg2 = reinterpret_cast< std::vector< RobotInterface * >::value_type >(argp2);
50388  std_vector_Sl_RobotInterface_Sm__Sg__append(arg1,arg2);
50389  resultobj = SWIG_Py_Void();
50390  return resultobj;
50391 fail:
50392  return NULL;
50393 }
50394 
50395 
50396 SWIGINTERN PyObject *_wrap_new_vector_RobotInterfacePtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50397  PyObject *resultobj = 0;
50398  std::vector< RobotInterface * > *result = 0 ;
50399 
50400  if (!PyArg_ParseTuple(args,(char *)":new_vector_RobotInterfacePtr")) SWIG_fail;
50401  result = (std::vector< RobotInterface * > *)new std::vector< RobotInterface * >();
50402  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, SWIG_POINTER_NEW | 0 );
50403  return resultobj;
50404 fail:
50405  return NULL;
50406 }
50407 
50408 
50409 SWIGINTERN PyObject *_wrap_new_vector_RobotInterfacePtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50410  PyObject *resultobj = 0;
50411  std::vector< RobotInterface * > *arg1 = 0 ;
50412  int res1 = SWIG_OLDOBJ ;
50413  PyObject * obj0 = 0 ;
50414  std::vector< RobotInterface * > *result = 0 ;
50415 
50416  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_RobotInterfacePtr",&obj0)) SWIG_fail;
50417  {
50418  std::vector<RobotInterface*,std::allocator< RobotInterface * > > *ptr = (std::vector<RobotInterface*,std::allocator< RobotInterface * > > *)0;
50419  res1 = swig::asptr(obj0, &ptr);
50420  if (!SWIG_IsOK(res1)) {
50421  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_RobotInterfacePtr" "', argument " "1"" of type '" "std::vector< RobotInterface * > const &""'");
50422  }
50423  if (!ptr) {
50424  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_RobotInterfacePtr" "', argument " "1"" of type '" "std::vector< RobotInterface * > const &""'");
50425  }
50426  arg1 = ptr;
50427  }
50428  result = (std::vector< RobotInterface * > *)new std::vector< RobotInterface * >((std::vector< RobotInterface * > const &)*arg1);
50429  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, SWIG_POINTER_NEW | 0 );
50430  if (SWIG_IsNewObj(res1)) delete arg1;
50431  return resultobj;
50432 fail:
50433  if (SWIG_IsNewObj(res1)) delete arg1;
50434  return NULL;
50435 }
50436 
50437 
50438 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50439  PyObject *resultobj = 0;
50440  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50441  void *argp1 = 0 ;
50442  int res1 = 0 ;
50443  PyObject * obj0 = 0 ;
50444  bool result;
50445 
50446  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr_empty",&obj0)) SWIG_fail;
50447  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50448  if (!SWIG_IsOK(res1)) {
50449  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_empty" "', argument " "1"" of type '" "std::vector< RobotInterface * > const *""'");
50450  }
50451  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50452  result = (bool)((std::vector< RobotInterface * > const *)arg1)->empty();
50453  resultobj = SWIG_From_bool(static_cast< bool >(result));
50454  return resultobj;
50455 fail:
50456  return NULL;
50457 }
50458 
50459 
50460 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50461  PyObject *resultobj = 0;
50462  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50463  void *argp1 = 0 ;
50464  int res1 = 0 ;
50465  PyObject * obj0 = 0 ;
50466  std::vector< RobotInterface * >::size_type result;
50467 
50468  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr_size",&obj0)) SWIG_fail;
50469  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50470  if (!SWIG_IsOK(res1)) {
50471  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_size" "', argument " "1"" of type '" "std::vector< RobotInterface * > const *""'");
50472  }
50473  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50474  result = ((std::vector< RobotInterface * > const *)arg1)->size();
50475  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
50476  return resultobj;
50477 fail:
50478  return NULL;
50479 }
50480 
50481 
50482 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50483  PyObject *resultobj = 0;
50484  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50485  void *argp1 = 0 ;
50486  int res1 = 0 ;
50487  PyObject * obj0 = 0 ;
50488 
50489  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr_clear",&obj0)) SWIG_fail;
50490  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50491  if (!SWIG_IsOK(res1)) {
50492  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_clear" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50493  }
50494  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50495  (arg1)->clear();
50496  resultobj = SWIG_Py_Void();
50497  return resultobj;
50498 fail:
50499  return NULL;
50500 }
50501 
50502 
50503 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50504  PyObject *resultobj = 0;
50505  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50506  std::vector< RobotInterface * > *arg2 = 0 ;
50507  void *argp1 = 0 ;
50508  int res1 = 0 ;
50509  void *argp2 = 0 ;
50510  int res2 = 0 ;
50511  PyObject * obj0 = 0 ;
50512  PyObject * obj1 = 0 ;
50513 
50514  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotInterfacePtr_swap",&obj0,&obj1)) SWIG_fail;
50515  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50516  if (!SWIG_IsOK(res1)) {
50517  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_swap" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50518  }
50519  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50520  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 );
50521  if (!SWIG_IsOK(res2)) {
50522  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_RobotInterfacePtr_swap" "', argument " "2"" of type '" "std::vector< RobotInterface * > &""'");
50523  }
50524  if (!argp2) {
50525  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_RobotInterfacePtr_swap" "', argument " "2"" of type '" "std::vector< RobotInterface * > &""'");
50526  }
50527  arg2 = reinterpret_cast< std::vector< RobotInterface * > * >(argp2);
50528  (arg1)->swap(*arg2);
50529  resultobj = SWIG_Py_Void();
50530  return resultobj;
50531 fail:
50532  return NULL;
50533 }
50534 
50535 
50536 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50537  PyObject *resultobj = 0;
50538  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50539  void *argp1 = 0 ;
50540  int res1 = 0 ;
50541  PyObject * obj0 = 0 ;
50542  SwigValueWrapper< std::allocator< RobotInterface * > > result;
50543 
50544  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr_get_allocator",&obj0)) SWIG_fail;
50545  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50546  if (!SWIG_IsOK(res1)) {
50547  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_get_allocator" "', argument " "1"" of type '" "std::vector< RobotInterface * > const *""'");
50548  }
50549  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50550  result = ((std::vector< RobotInterface * > const *)arg1)->get_allocator();
50551  resultobj = SWIG_NewPointerObj((new std::vector< RobotInterface * >::allocator_type(static_cast< const std::vector< RobotInterface * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_RobotInterface_p_t, SWIG_POINTER_OWN | 0 );
50552  return resultobj;
50553 fail:
50554  return NULL;
50555 }
50556 
50557 
50558 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50559  PyObject *resultobj = 0;
50560  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50561  void *argp1 = 0 ;
50562  int res1 = 0 ;
50563  PyObject * obj0 = 0 ;
50564  std::vector< RobotInterface * >::iterator result;
50565 
50566  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr_begin",&obj0)) SWIG_fail;
50567  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50568  if (!SWIG_IsOK(res1)) {
50569  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_begin" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50570  }
50571  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50572  result = (arg1)->begin();
50573  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotInterface * >::iterator & >(result)),
50574  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
50575  return resultobj;
50576 fail:
50577  return NULL;
50578 }
50579 
50580 
50581 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50582  PyObject *resultobj = 0;
50583  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50584  void *argp1 = 0 ;
50585  int res1 = 0 ;
50586  PyObject * obj0 = 0 ;
50587  std::vector< RobotInterface * >::iterator result;
50588 
50589  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr_end",&obj0)) SWIG_fail;
50590  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50591  if (!SWIG_IsOK(res1)) {
50592  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_end" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50593  }
50594  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50595  result = (arg1)->end();
50596  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotInterface * >::iterator & >(result)),
50597  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
50598  return resultobj;
50599 fail:
50600  return NULL;
50601 }
50602 
50603 
50604 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50605  PyObject *resultobj = 0;
50606  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50607  void *argp1 = 0 ;
50608  int res1 = 0 ;
50609  PyObject * obj0 = 0 ;
50610  std::vector< RobotInterface * >::reverse_iterator result;
50611 
50612  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr_rbegin",&obj0)) SWIG_fail;
50613  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50614  if (!SWIG_IsOK(res1)) {
50615  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_rbegin" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50616  }
50617  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50618  result = (arg1)->rbegin();
50619  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotInterface * >::reverse_iterator & >(result)),
50620  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
50621  return resultobj;
50622 fail:
50623  return NULL;
50624 }
50625 
50626 
50627 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50628  PyObject *resultobj = 0;
50629  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50630  void *argp1 = 0 ;
50631  int res1 = 0 ;
50632  PyObject * obj0 = 0 ;
50633  std::vector< RobotInterface * >::reverse_iterator result;
50634 
50635  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr_rend",&obj0)) SWIG_fail;
50636  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50637  if (!SWIG_IsOK(res1)) {
50638  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_rend" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50639  }
50640  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50641  result = (arg1)->rend();
50642  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotInterface * >::reverse_iterator & >(result)),
50643  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
50644  return resultobj;
50645 fail:
50646  return NULL;
50647 }
50648 
50649 
50650 SWIGINTERN PyObject *_wrap_new_vector_RobotInterfacePtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50651  PyObject *resultobj = 0;
50652  std::vector< RobotInterface * >::size_type arg1 ;
50653  size_t val1 ;
50654  int ecode1 = 0 ;
50655  PyObject * obj0 = 0 ;
50656  std::vector< RobotInterface * > *result = 0 ;
50657 
50658  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_RobotInterfacePtr",&obj0)) SWIG_fail;
50659  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
50660  if (!SWIG_IsOK(ecode1)) {
50661  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_RobotInterfacePtr" "', argument " "1"" of type '" "std::vector< RobotInterface * >::size_type""'");
50662  }
50663  arg1 = static_cast< std::vector< RobotInterface * >::size_type >(val1);
50664  result = (std::vector< RobotInterface * > *)new std::vector< RobotInterface * >(arg1);
50665  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, SWIG_POINTER_NEW | 0 );
50666  return resultobj;
50667 fail:
50668  return NULL;
50669 }
50670 
50671 
50672 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50673  PyObject *resultobj = 0;
50674  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50675  void *argp1 = 0 ;
50676  int res1 = 0 ;
50677  PyObject * obj0 = 0 ;
50678 
50679  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr_pop_back",&obj0)) SWIG_fail;
50680  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50681  if (!SWIG_IsOK(res1)) {
50682  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_pop_back" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50683  }
50684  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50685  (arg1)->pop_back();
50686  resultobj = SWIG_Py_Void();
50687  return resultobj;
50688 fail:
50689  return NULL;
50690 }
50691 
50692 
50693 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50694  PyObject *resultobj = 0;
50695  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50696  std::vector< RobotInterface * >::size_type arg2 ;
50697  void *argp1 = 0 ;
50698  int res1 = 0 ;
50699  size_t val2 ;
50700  int ecode2 = 0 ;
50701  PyObject * obj0 = 0 ;
50702  PyObject * obj1 = 0 ;
50703 
50704  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotInterfacePtr_resize",&obj0,&obj1)) SWIG_fail;
50705  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50706  if (!SWIG_IsOK(res1)) {
50707  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_resize" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50708  }
50709  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50710  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
50711  if (!SWIG_IsOK(ecode2)) {
50712  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotInterfacePtr_resize" "', argument " "2"" of type '" "std::vector< RobotInterface * >::size_type""'");
50713  }
50714  arg2 = static_cast< std::vector< RobotInterface * >::size_type >(val2);
50715  (arg1)->resize(arg2);
50716  resultobj = SWIG_Py_Void();
50717  return resultobj;
50718 fail:
50719  return NULL;
50720 }
50721 
50722 
50723 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50724  PyObject *resultobj = 0;
50725  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50726  std::vector< RobotInterface * >::iterator arg2 ;
50727  void *argp1 = 0 ;
50728  int res1 = 0 ;
50729  swig::SwigPyIterator *iter2 = 0 ;
50730  int res2 ;
50731  PyObject * obj0 = 0 ;
50732  PyObject * obj1 = 0 ;
50733  std::vector< RobotInterface * >::iterator result;
50734 
50735  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotInterfacePtr_erase",&obj0,&obj1)) SWIG_fail;
50736  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50737  if (!SWIG_IsOK(res1)) {
50738  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_erase" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50739  }
50740  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50741  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
50742  if (!SWIG_IsOK(res2) || !iter2) {
50743  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotInterfacePtr_erase" "', argument " "2"" of type '" "std::vector< RobotInterface * >::iterator""'");
50744  } else {
50746  if (iter_t) {
50747  arg2 = iter_t->get_current();
50748  } else {
50749  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotInterfacePtr_erase" "', argument " "2"" of type '" "std::vector< RobotInterface * >::iterator""'");
50750  }
50751  }
50752  result = std_vector_Sl_RobotInterface_Sm__Sg__erase__SWIG_0(arg1,arg2);
50753  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotInterface * >::iterator & >(result)),
50754  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
50755  return resultobj;
50756 fail:
50757  return NULL;
50758 }
50759 
50760 
50761 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50762  PyObject *resultobj = 0;
50763  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50764  std::vector< RobotInterface * >::iterator arg2 ;
50765  std::vector< RobotInterface * >::iterator arg3 ;
50766  void *argp1 = 0 ;
50767  int res1 = 0 ;
50768  swig::SwigPyIterator *iter2 = 0 ;
50769  int res2 ;
50770  swig::SwigPyIterator *iter3 = 0 ;
50771  int res3 ;
50772  PyObject * obj0 = 0 ;
50773  PyObject * obj1 = 0 ;
50774  PyObject * obj2 = 0 ;
50775  std::vector< RobotInterface * >::iterator result;
50776 
50777  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotInterfacePtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
50778  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50779  if (!SWIG_IsOK(res1)) {
50780  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_erase" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50781  }
50782  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50783  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
50784  if (!SWIG_IsOK(res2) || !iter2) {
50785  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotInterfacePtr_erase" "', argument " "2"" of type '" "std::vector< RobotInterface * >::iterator""'");
50786  } else {
50788  if (iter_t) {
50789  arg2 = iter_t->get_current();
50790  } else {
50791  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotInterfacePtr_erase" "', argument " "2"" of type '" "std::vector< RobotInterface * >::iterator""'");
50792  }
50793  }
50794  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
50795  if (!SWIG_IsOK(res3) || !iter3) {
50796  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotInterfacePtr_erase" "', argument " "3"" of type '" "std::vector< RobotInterface * >::iterator""'");
50797  } else {
50799  if (iter_t) {
50800  arg3 = iter_t->get_current();
50801  } else {
50802  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotInterfacePtr_erase" "', argument " "3"" of type '" "std::vector< RobotInterface * >::iterator""'");
50803  }
50804  }
50805  result = std_vector_Sl_RobotInterface_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
50806  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotInterface * >::iterator & >(result)),
50807  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
50808  return resultobj;
50809 fail:
50810  return NULL;
50811 }
50812 
50813 
50814 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_erase(PyObject *self, PyObject *args) {
50815  int argc;
50816  PyObject *argv[4];
50817  int ii;
50818 
50819  if (!PyTuple_Check(args)) SWIG_fail;
50820  argc = args ? (int)PyObject_Length(args) : 0;
50821  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
50822  argv[ii] = PyTuple_GET_ITEM(args,ii);
50823  }
50824  if (argc == 2) {
50825  int _v;
50826  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
50827  _v = SWIG_CheckState(res);
50828  if (_v) {
50829  swig::SwigPyIterator *iter = 0;
50830  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
50831  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotInterface * >::iterator > *>(iter) != 0));
50832  if (_v) {
50833  return _wrap_vector_RobotInterfacePtr_erase__SWIG_0(self, args);
50834  }
50835  }
50836  }
50837  if (argc == 3) {
50838  int _v;
50839  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
50840  _v = SWIG_CheckState(res);
50841  if (_v) {
50842  swig::SwigPyIterator *iter = 0;
50843  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
50844  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotInterface * >::iterator > *>(iter) != 0));
50845  if (_v) {
50846  swig::SwigPyIterator *iter = 0;
50847  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
50848  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotInterface * >::iterator > *>(iter) != 0));
50849  if (_v) {
50850  return _wrap_vector_RobotInterfacePtr_erase__SWIG_1(self, args);
50851  }
50852  }
50853  }
50854  }
50855 
50856 fail:
50857  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotInterfacePtr_erase'.\n"
50858  " Possible C/C++ prototypes are:\n"
50859  " std::vector< RobotInterface * >::erase(std::vector< RobotInterface * >::iterator)\n"
50860  " std::vector< RobotInterface * >::erase(std::vector< RobotInterface * >::iterator,std::vector< RobotInterface * >::iterator)\n");
50861  return 0;
50862 }
50863 
50864 
50865 SWIGINTERN PyObject *_wrap_new_vector_RobotInterfacePtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50866  PyObject *resultobj = 0;
50867  std::vector< RobotInterface * >::size_type arg1 ;
50868  std::vector< RobotInterface * >::value_type arg2 = (std::vector< RobotInterface * >::value_type) 0 ;
50869  size_t val1 ;
50870  int ecode1 = 0 ;
50871  void *argp2 = 0 ;
50872  int res2 = 0 ;
50873  PyObject * obj0 = 0 ;
50874  PyObject * obj1 = 0 ;
50875  std::vector< RobotInterface * > *result = 0 ;
50876 
50877  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_RobotInterfacePtr",&obj0,&obj1)) SWIG_fail;
50878  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
50879  if (!SWIG_IsOK(ecode1)) {
50880  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_RobotInterfacePtr" "', argument " "1"" of type '" "std::vector< RobotInterface * >::size_type""'");
50881  }
50882  arg1 = static_cast< std::vector< RobotInterface * >::size_type >(val1);
50883  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RobotInterface, 0 | 0 );
50884  if (!SWIG_IsOK(res2)) {
50885  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_RobotInterfacePtr" "', argument " "2"" of type '" "std::vector< RobotInterface * >::value_type""'");
50886  }
50887  arg2 = reinterpret_cast< std::vector< RobotInterface * >::value_type >(argp2);
50888  result = (std::vector< RobotInterface * > *)new std::vector< RobotInterface * >(arg1,arg2);
50889  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, SWIG_POINTER_NEW | 0 );
50890  return resultobj;
50891 fail:
50892  return NULL;
50893 }
50894 
50895 
50896 SWIGINTERN PyObject *_wrap_new_vector_RobotInterfacePtr(PyObject *self, PyObject *args) {
50897  int argc;
50898  PyObject *argv[3];
50899  int ii;
50900 
50901  if (!PyTuple_Check(args)) SWIG_fail;
50902  argc = args ? (int)PyObject_Length(args) : 0;
50903  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
50904  argv[ii] = PyTuple_GET_ITEM(args,ii);
50905  }
50906  if (argc == 0) {
50907  return _wrap_new_vector_RobotInterfacePtr__SWIG_0(self, args);
50908  }
50909  if (argc == 1) {
50910  int _v;
50911  {
50912  int res = SWIG_AsVal_size_t(argv[0], NULL);
50913  _v = SWIG_CheckState(res);
50914  }
50915  if (_v) {
50916  return _wrap_new_vector_RobotInterfacePtr__SWIG_2(self, args);
50917  }
50918  }
50919  if (argc == 1) {
50920  int _v;
50921  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
50922  _v = SWIG_CheckState(res);
50923  if (_v) {
50924  return _wrap_new_vector_RobotInterfacePtr__SWIG_1(self, args);
50925  }
50926  }
50927  if (argc == 2) {
50928  int _v;
50929  {
50930  int res = SWIG_AsVal_size_t(argv[0], NULL);
50931  _v = SWIG_CheckState(res);
50932  }
50933  if (_v) {
50934  void *vptr = 0;
50935  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_RobotInterface, 0);
50936  _v = SWIG_CheckState(res);
50937  if (_v) {
50938  return _wrap_new_vector_RobotInterfacePtr__SWIG_3(self, args);
50939  }
50940  }
50941  }
50942 
50943 fail:
50944  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_RobotInterfacePtr'.\n"
50945  " Possible C/C++ prototypes are:\n"
50946  " std::vector< RobotInterface * >::vector()\n"
50947  " std::vector< RobotInterface * >::vector(std::vector< RobotInterface * > const &)\n"
50948  " std::vector< RobotInterface * >::vector(std::vector< RobotInterface * >::size_type)\n"
50949  " std::vector< RobotInterface * >::vector(std::vector< RobotInterface * >::size_type,std::vector< RobotInterface * >::value_type)\n");
50950  return 0;
50951 }
50952 
50953 
50954 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50955  PyObject *resultobj = 0;
50956  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50957  std::vector< RobotInterface * >::value_type arg2 = (std::vector< RobotInterface * >::value_type) 0 ;
50958  void *argp1 = 0 ;
50959  int res1 = 0 ;
50960  void *argp2 = 0 ;
50961  int res2 = 0 ;
50962  PyObject * obj0 = 0 ;
50963  PyObject * obj1 = 0 ;
50964 
50965  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotInterfacePtr_push_back",&obj0,&obj1)) SWIG_fail;
50966  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50967  if (!SWIG_IsOK(res1)) {
50968  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_push_back" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
50969  }
50970  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50971  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RobotInterface, 0 | 0 );
50972  if (!SWIG_IsOK(res2)) {
50973  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_RobotInterfacePtr_push_back" "', argument " "2"" of type '" "std::vector< RobotInterface * >::value_type""'");
50974  }
50975  arg2 = reinterpret_cast< std::vector< RobotInterface * >::value_type >(argp2);
50976  (arg1)->push_back(arg2);
50977  resultobj = SWIG_Py_Void();
50978  return resultobj;
50979 fail:
50980  return NULL;
50981 }
50982 
50983 
50984 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50985  PyObject *resultobj = 0;
50986  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
50987  void *argp1 = 0 ;
50988  int res1 = 0 ;
50989  PyObject * obj0 = 0 ;
50990  std::vector< RobotInterface * >::value_type result;
50991 
50992  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr_front",&obj0)) SWIG_fail;
50993  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
50994  if (!SWIG_IsOK(res1)) {
50995  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_front" "', argument " "1"" of type '" "std::vector< RobotInterface * > const *""'");
50996  }
50997  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
50998  result = (std::vector< RobotInterface * >::value_type)((std::vector< RobotInterface * > const *)arg1)->front();
50999  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RobotInterface, 0 | 0 );
51000  return resultobj;
51001 fail:
51002  return NULL;
51003 }
51004 
51005 
51006 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51007  PyObject *resultobj = 0;
51008  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
51009  void *argp1 = 0 ;
51010  int res1 = 0 ;
51011  PyObject * obj0 = 0 ;
51012  std::vector< RobotInterface * >::value_type result;
51013 
51014  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr_back",&obj0)) SWIG_fail;
51015  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
51016  if (!SWIG_IsOK(res1)) {
51017  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_back" "', argument " "1"" of type '" "std::vector< RobotInterface * > const *""'");
51018  }
51019  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
51020  result = (std::vector< RobotInterface * >::value_type)((std::vector< RobotInterface * > const *)arg1)->back();
51021  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RobotInterface, 0 | 0 );
51022  return resultobj;
51023 fail:
51024  return NULL;
51025 }
51026 
51027 
51028 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51029  PyObject *resultobj = 0;
51030  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
51031  std::vector< RobotInterface * >::size_type arg2 ;
51032  std::vector< RobotInterface * >::value_type arg3 = (std::vector< RobotInterface * >::value_type) 0 ;
51033  void *argp1 = 0 ;
51034  int res1 = 0 ;
51035  size_t val2 ;
51036  int ecode2 = 0 ;
51037  void *argp3 = 0 ;
51038  int res3 = 0 ;
51039  PyObject * obj0 = 0 ;
51040  PyObject * obj1 = 0 ;
51041  PyObject * obj2 = 0 ;
51042 
51043  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotInterfacePtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
51044  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
51045  if (!SWIG_IsOK(res1)) {
51046  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_assign" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
51047  }
51048  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
51049  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
51050  if (!SWIG_IsOK(ecode2)) {
51051  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotInterfacePtr_assign" "', argument " "2"" of type '" "std::vector< RobotInterface * >::size_type""'");
51052  }
51053  arg2 = static_cast< std::vector< RobotInterface * >::size_type >(val2);
51054  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RobotInterface, 0 | 0 );
51055  if (!SWIG_IsOK(res3)) {
51056  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RobotInterfacePtr_assign" "', argument " "3"" of type '" "std::vector< RobotInterface * >::value_type""'");
51057  }
51058  arg3 = reinterpret_cast< std::vector< RobotInterface * >::value_type >(argp3);
51059  (arg1)->assign(arg2,arg3);
51060  resultobj = SWIG_Py_Void();
51061  return resultobj;
51062 fail:
51063  return NULL;
51064 }
51065 
51066 
51067 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51068  PyObject *resultobj = 0;
51069  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
51070  std::vector< RobotInterface * >::size_type arg2 ;
51071  std::vector< RobotInterface * >::value_type arg3 = (std::vector< RobotInterface * >::value_type) 0 ;
51072  void *argp1 = 0 ;
51073  int res1 = 0 ;
51074  size_t val2 ;
51075  int ecode2 = 0 ;
51076  void *argp3 = 0 ;
51077  int res3 = 0 ;
51078  PyObject * obj0 = 0 ;
51079  PyObject * obj1 = 0 ;
51080  PyObject * obj2 = 0 ;
51081 
51082  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotInterfacePtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
51083  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
51084  if (!SWIG_IsOK(res1)) {
51085  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_resize" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
51086  }
51087  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
51088  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
51089  if (!SWIG_IsOK(ecode2)) {
51090  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotInterfacePtr_resize" "', argument " "2"" of type '" "std::vector< RobotInterface * >::size_type""'");
51091  }
51092  arg2 = static_cast< std::vector< RobotInterface * >::size_type >(val2);
51093  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RobotInterface, 0 | 0 );
51094  if (!SWIG_IsOK(res3)) {
51095  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RobotInterfacePtr_resize" "', argument " "3"" of type '" "std::vector< RobotInterface * >::value_type""'");
51096  }
51097  arg3 = reinterpret_cast< std::vector< RobotInterface * >::value_type >(argp3);
51098  (arg1)->resize(arg2,arg3);
51099  resultobj = SWIG_Py_Void();
51100  return resultobj;
51101 fail:
51102  return NULL;
51103 }
51104 
51105 
51106 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_resize(PyObject *self, PyObject *args) {
51107  int argc;
51108  PyObject *argv[4];
51109  int ii;
51110 
51111  if (!PyTuple_Check(args)) SWIG_fail;
51112  argc = args ? (int)PyObject_Length(args) : 0;
51113  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
51114  argv[ii] = PyTuple_GET_ITEM(args,ii);
51115  }
51116  if (argc == 2) {
51117  int _v;
51118  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
51119  _v = SWIG_CheckState(res);
51120  if (_v) {
51121  {
51122  int res = SWIG_AsVal_size_t(argv[1], NULL);
51123  _v = SWIG_CheckState(res);
51124  }
51125  if (_v) {
51126  return _wrap_vector_RobotInterfacePtr_resize__SWIG_0(self, args);
51127  }
51128  }
51129  }
51130  if (argc == 3) {
51131  int _v;
51132  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
51133  _v = SWIG_CheckState(res);
51134  if (_v) {
51135  {
51136  int res = SWIG_AsVal_size_t(argv[1], NULL);
51137  _v = SWIG_CheckState(res);
51138  }
51139  if (_v) {
51140  void *vptr = 0;
51141  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_RobotInterface, 0);
51142  _v = SWIG_CheckState(res);
51143  if (_v) {
51144  return _wrap_vector_RobotInterfacePtr_resize__SWIG_1(self, args);
51145  }
51146  }
51147  }
51148  }
51149 
51150 fail:
51151  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotInterfacePtr_resize'.\n"
51152  " Possible C/C++ prototypes are:\n"
51153  " std::vector< RobotInterface * >::resize(std::vector< RobotInterface * >::size_type)\n"
51154  " std::vector< RobotInterface * >::resize(std::vector< RobotInterface * >::size_type,std::vector< RobotInterface * >::value_type)\n");
51155  return 0;
51156 }
51157 
51158 
51159 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51160  PyObject *resultobj = 0;
51161  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
51162  std::vector< RobotInterface * >::iterator arg2 ;
51163  std::vector< RobotInterface * >::value_type arg3 = (std::vector< RobotInterface * >::value_type) 0 ;
51164  void *argp1 = 0 ;
51165  int res1 = 0 ;
51166  swig::SwigPyIterator *iter2 = 0 ;
51167  int res2 ;
51168  void *argp3 = 0 ;
51169  int res3 = 0 ;
51170  PyObject * obj0 = 0 ;
51171  PyObject * obj1 = 0 ;
51172  PyObject * obj2 = 0 ;
51173  std::vector< RobotInterface * >::iterator result;
51174 
51175  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotInterfacePtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
51176  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
51177  if (!SWIG_IsOK(res1)) {
51178  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_insert" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
51179  }
51180  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
51181  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
51182  if (!SWIG_IsOK(res2) || !iter2) {
51183  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotInterfacePtr_insert" "', argument " "2"" of type '" "std::vector< RobotInterface * >::iterator""'");
51184  } else {
51186  if (iter_t) {
51187  arg2 = iter_t->get_current();
51188  } else {
51189  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotInterfacePtr_insert" "', argument " "2"" of type '" "std::vector< RobotInterface * >::iterator""'");
51190  }
51191  }
51192  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RobotInterface, 0 | 0 );
51193  if (!SWIG_IsOK(res3)) {
51194  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RobotInterfacePtr_insert" "', argument " "3"" of type '" "std::vector< RobotInterface * >::value_type""'");
51195  }
51196  arg3 = reinterpret_cast< std::vector< RobotInterface * >::value_type >(argp3);
51197  result = std_vector_Sl_RobotInterface_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
51198  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotInterface * >::iterator & >(result)),
51199  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
51200  return resultobj;
51201 fail:
51202  return NULL;
51203 }
51204 
51205 
51206 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51207  PyObject *resultobj = 0;
51208  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
51209  std::vector< RobotInterface * >::iterator arg2 ;
51210  std::vector< RobotInterface * >::size_type arg3 ;
51211  std::vector< RobotInterface * >::value_type arg4 = (std::vector< RobotInterface * >::value_type) 0 ;
51212  void *argp1 = 0 ;
51213  int res1 = 0 ;
51214  swig::SwigPyIterator *iter2 = 0 ;
51215  int res2 ;
51216  size_t val3 ;
51217  int ecode3 = 0 ;
51218  void *argp4 = 0 ;
51219  int res4 = 0 ;
51220  PyObject * obj0 = 0 ;
51221  PyObject * obj1 = 0 ;
51222  PyObject * obj2 = 0 ;
51223  PyObject * obj3 = 0 ;
51224 
51225  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_RobotInterfacePtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
51226  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
51227  if (!SWIG_IsOK(res1)) {
51228  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_insert" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
51229  }
51230  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
51231  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
51232  if (!SWIG_IsOK(res2) || !iter2) {
51233  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotInterfacePtr_insert" "', argument " "2"" of type '" "std::vector< RobotInterface * >::iterator""'");
51234  } else {
51236  if (iter_t) {
51237  arg2 = iter_t->get_current();
51238  } else {
51239  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotInterfacePtr_insert" "', argument " "2"" of type '" "std::vector< RobotInterface * >::iterator""'");
51240  }
51241  }
51242  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
51243  if (!SWIG_IsOK(ecode3)) {
51244  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RobotInterfacePtr_insert" "', argument " "3"" of type '" "std::vector< RobotInterface * >::size_type""'");
51245  }
51246  arg3 = static_cast< std::vector< RobotInterface * >::size_type >(val3);
51247  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_RobotInterface, 0 | 0 );
51248  if (!SWIG_IsOK(res4)) {
51249  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_RobotInterfacePtr_insert" "', argument " "4"" of type '" "std::vector< RobotInterface * >::value_type""'");
51250  }
51251  arg4 = reinterpret_cast< std::vector< RobotInterface * >::value_type >(argp4);
51252  std_vector_Sl_RobotInterface_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
51253  resultobj = SWIG_Py_Void();
51254  return resultobj;
51255 fail:
51256  return NULL;
51257 }
51258 
51259 
51260 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_insert(PyObject *self, PyObject *args) {
51261  int argc;
51262  PyObject *argv[5];
51263  int ii;
51264 
51265  if (!PyTuple_Check(args)) SWIG_fail;
51266  argc = args ? (int)PyObject_Length(args) : 0;
51267  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
51268  argv[ii] = PyTuple_GET_ITEM(args,ii);
51269  }
51270  if (argc == 3) {
51271  int _v;
51272  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
51273  _v = SWIG_CheckState(res);
51274  if (_v) {
51275  swig::SwigPyIterator *iter = 0;
51276  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
51277  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotInterface * >::iterator > *>(iter) != 0));
51278  if (_v) {
51279  void *vptr = 0;
51280  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_RobotInterface, 0);
51281  _v = SWIG_CheckState(res);
51282  if (_v) {
51283  return _wrap_vector_RobotInterfacePtr_insert__SWIG_0(self, args);
51284  }
51285  }
51286  }
51287  }
51288  if (argc == 4) {
51289  int _v;
51290  int res = swig::asptr(argv[0], (std::vector<RobotInterface*,std::allocator< RobotInterface * > >**)(0));
51291  _v = SWIG_CheckState(res);
51292  if (_v) {
51293  swig::SwigPyIterator *iter = 0;
51294  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
51295  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotInterface * >::iterator > *>(iter) != 0));
51296  if (_v) {
51297  {
51298  int res = SWIG_AsVal_size_t(argv[2], NULL);
51299  _v = SWIG_CheckState(res);
51300  }
51301  if (_v) {
51302  void *vptr = 0;
51303  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_RobotInterface, 0);
51304  _v = SWIG_CheckState(res);
51305  if (_v) {
51306  return _wrap_vector_RobotInterfacePtr_insert__SWIG_1(self, args);
51307  }
51308  }
51309  }
51310  }
51311  }
51312 
51313 fail:
51314  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotInterfacePtr_insert'.\n"
51315  " Possible C/C++ prototypes are:\n"
51316  " std::vector< RobotInterface * >::insert(std::vector< RobotInterface * >::iterator,std::vector< RobotInterface * >::value_type)\n"
51317  " std::vector< RobotInterface * >::insert(std::vector< RobotInterface * >::iterator,std::vector< RobotInterface * >::size_type,std::vector< RobotInterface * >::value_type)\n");
51318  return 0;
51319 }
51320 
51321 
51322 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51323  PyObject *resultobj = 0;
51324  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
51325  std::vector< RobotInterface * >::size_type arg2 ;
51326  void *argp1 = 0 ;
51327  int res1 = 0 ;
51328  size_t val2 ;
51329  int ecode2 = 0 ;
51330  PyObject * obj0 = 0 ;
51331  PyObject * obj1 = 0 ;
51332 
51333  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotInterfacePtr_reserve",&obj0,&obj1)) SWIG_fail;
51334  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
51335  if (!SWIG_IsOK(res1)) {
51336  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_reserve" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
51337  }
51338  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
51339  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
51340  if (!SWIG_IsOK(ecode2)) {
51341  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotInterfacePtr_reserve" "', argument " "2"" of type '" "std::vector< RobotInterface * >::size_type""'");
51342  }
51343  arg2 = static_cast< std::vector< RobotInterface * >::size_type >(val2);
51344  (arg1)->reserve(arg2);
51345  resultobj = SWIG_Py_Void();
51346  return resultobj;
51347 fail:
51348  return NULL;
51349 }
51350 
51351 
51352 SWIGINTERN PyObject *_wrap_vector_RobotInterfacePtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51353  PyObject *resultobj = 0;
51354  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
51355  void *argp1 = 0 ;
51356  int res1 = 0 ;
51357  PyObject * obj0 = 0 ;
51358  std::vector< RobotInterface * >::size_type result;
51359 
51360  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotInterfacePtr_capacity",&obj0)) SWIG_fail;
51361  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0 | 0 );
51362  if (!SWIG_IsOK(res1)) {
51363  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotInterfacePtr_capacity" "', argument " "1"" of type '" "std::vector< RobotInterface * > const *""'");
51364  }
51365  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
51366  result = ((std::vector< RobotInterface * > const *)arg1)->capacity();
51367  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
51368  return resultobj;
51369 fail:
51370  return NULL;
51371 }
51372 
51373 
51374 SWIGINTERN PyObject *_wrap_delete_vector_RobotInterfacePtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51375  PyObject *resultobj = 0;
51376  std::vector< RobotInterface * > *arg1 = (std::vector< RobotInterface * > *) 0 ;
51377  void *argp1 = 0 ;
51378  int res1 = 0 ;
51379  PyObject * obj0 = 0 ;
51380 
51381  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_RobotInterfacePtr",&obj0)) SWIG_fail;
51382  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, SWIG_POINTER_DISOWN | 0 );
51383  if (!SWIG_IsOK(res1)) {
51384  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_RobotInterfacePtr" "', argument " "1"" of type '" "std::vector< RobotInterface * > *""'");
51385  }
51386  arg1 = reinterpret_cast< std::vector< RobotInterface * > * >(argp1);
51387  {
51388  try {
51389  delete arg1;
51390  }
51391  catch(CStdErrorInfo oError)
51392  {
51393  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
51394  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
51395  PyErr_SetString(PyExc_IndexError, strError.c_str());
51396  SWIG_fail;
51397  }
51398  catch(...)
51399  {
51400  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
51401  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
51402  SWIG_fail;
51403  }
51404  }
51405  resultobj = SWIG_Py_Void();
51406  return resultobj;
51407 fail:
51408  return NULL;
51409 }
51410 
51411 
51412 SWIGINTERN PyObject *vector_RobotInterfacePtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51413  PyObject *obj;
51414  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
51415  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, SWIG_NewClientData(obj));
51416  return SWIG_Py_Void();
51417 }
51418 
51419 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51420  PyObject *resultobj = 0;
51421  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
51422  PyObject **arg2 = (PyObject **) 0 ;
51423  void *argp1 = 0 ;
51424  int res1 = 0 ;
51425  PyObject * obj0 = 0 ;
51426  swig::SwigPyIterator *result = 0 ;
51427 
51428  arg2 = &obj0;
51429  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr_iterator",&obj0)) SWIG_fail;
51430  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
51431  if (!SWIG_IsOK(res1)) {
51432  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_iterator" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
51433  }
51434  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
51435  result = (swig::SwigPyIterator *)std_vector_Sl_RobotIOControl_Sm__Sg__iterator(arg1,arg2);
51436  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
51437  return resultobj;
51438 fail:
51439  return NULL;
51440 }
51441 
51442 
51443 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51444  PyObject *resultobj = 0;
51445  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
51446  void *argp1 = 0 ;
51447  int res1 = 0 ;
51448  PyObject * obj0 = 0 ;
51449  bool result;
51450 
51451  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr___nonzero__",&obj0)) SWIG_fail;
51452  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
51453  if (!SWIG_IsOK(res1)) {
51454  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr___nonzero__" "', argument " "1"" of type '" "std::vector< RobotIOControl * > const *""'");
51455  }
51456  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
51457  result = (bool)std_vector_Sl_RobotIOControl_Sm__Sg____nonzero__((std::vector< RobotIOControl * > const *)arg1);
51458  resultobj = SWIG_From_bool(static_cast< bool >(result));
51459  return resultobj;
51460 fail:
51461  return NULL;
51462 }
51463 
51464 
51465 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51466  PyObject *resultobj = 0;
51467  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
51468  void *argp1 = 0 ;
51469  int res1 = 0 ;
51470  PyObject * obj0 = 0 ;
51471  bool result;
51472 
51473  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr___bool__",&obj0)) SWIG_fail;
51474  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
51475  if (!SWIG_IsOK(res1)) {
51476  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr___bool__" "', argument " "1"" of type '" "std::vector< RobotIOControl * > const *""'");
51477  }
51478  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
51479  result = (bool)std_vector_Sl_RobotIOControl_Sm__Sg____bool__((std::vector< RobotIOControl * > const *)arg1);
51480  resultobj = SWIG_From_bool(static_cast< bool >(result));
51481  return resultobj;
51482 fail:
51483  return NULL;
51484 }
51485 
51486 
51487 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51488  PyObject *resultobj = 0;
51489  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
51490  void *argp1 = 0 ;
51491  int res1 = 0 ;
51492  PyObject * obj0 = 0 ;
51493  std::vector< RobotIOControl * >::size_type result;
51494 
51495  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr___len__",&obj0)) SWIG_fail;
51496  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
51497  if (!SWIG_IsOK(res1)) {
51498  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr___len__" "', argument " "1"" of type '" "std::vector< RobotIOControl * > const *""'");
51499  }
51500  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
51501  result = std_vector_Sl_RobotIOControl_Sm__Sg____len__((std::vector< RobotIOControl * > const *)arg1);
51502  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
51503  return resultobj;
51504 fail:
51505  return NULL;
51506 }
51507 
51508 
51509 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51510  PyObject *resultobj = 0;
51511  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
51512  void *argp1 = 0 ;
51513  int res1 = 0 ;
51514  PyObject * obj0 = 0 ;
51515  std::vector< RobotIOControl * >::value_type result;
51516 
51517  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr_pop",&obj0)) SWIG_fail;
51518  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
51519  if (!SWIG_IsOK(res1)) {
51520  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_pop" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
51521  }
51522  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
51523  try {
51524  result = (std::vector< RobotIOControl * >::value_type)std_vector_Sl_RobotIOControl_Sm__Sg__pop(arg1);
51525  }
51526  catch(std::out_of_range &_e) {
51527  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
51528  }
51529 
51530  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RobotIOControl, 0 | 0 );
51531  return resultobj;
51532 fail:
51533  return NULL;
51534 }
51535 
51536 
51537 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51538  PyObject *resultobj = 0;
51539  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
51540  std::vector< RobotIOControl * >::difference_type arg2 ;
51541  std::vector< RobotIOControl * >::difference_type arg3 ;
51542  void *argp1 = 0 ;
51543  int res1 = 0 ;
51544  ptrdiff_t val2 ;
51545  int ecode2 = 0 ;
51546  ptrdiff_t val3 ;
51547  int ecode3 = 0 ;
51548  PyObject * obj0 = 0 ;
51549  PyObject * obj1 = 0 ;
51550  PyObject * obj2 = 0 ;
51551  std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > *result = 0 ;
51552 
51553  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotIOControlPtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
51554  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
51555  if (!SWIG_IsOK(res1)) {
51556  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr___getslice__" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
51557  }
51558  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
51559  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
51560  if (!SWIG_IsOK(ecode2)) {
51561  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotIOControlPtr___getslice__" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::difference_type""'");
51562  }
51563  arg2 = static_cast< std::vector< RobotIOControl * >::difference_type >(val2);
51564  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
51565  if (!SWIG_IsOK(ecode3)) {
51566  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RobotIOControlPtr___getslice__" "', argument " "3"" of type '" "std::vector< RobotIOControl * >::difference_type""'");
51567  }
51568  arg3 = static_cast< std::vector< RobotIOControl * >::difference_type >(val3);
51569  try {
51570  result = (std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > *)std_vector_Sl_RobotIOControl_Sm__Sg____getslice__(arg1,arg2,arg3);
51571  }
51572  catch(std::out_of_range &_e) {
51573  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
51574  }
51575  catch(std::invalid_argument &_e) {
51576  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
51577  }
51578 
51579  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, SWIG_POINTER_OWN | 0 );
51580  return resultobj;
51581 fail:
51582  return NULL;
51583 }
51584 
51585 
51586 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51587  PyObject *resultobj = 0;
51588  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
51589  std::vector< RobotIOControl * >::difference_type arg2 ;
51590  std::vector< RobotIOControl * >::difference_type arg3 ;
51591  std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > *arg4 = 0 ;
51592  void *argp1 = 0 ;
51593  int res1 = 0 ;
51594  ptrdiff_t val2 ;
51595  int ecode2 = 0 ;
51596  ptrdiff_t val3 ;
51597  int ecode3 = 0 ;
51598  int res4 = SWIG_OLDOBJ ;
51599  PyObject * obj0 = 0 ;
51600  PyObject * obj1 = 0 ;
51601  PyObject * obj2 = 0 ;
51602  PyObject * obj3 = 0 ;
51603 
51604  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_RobotIOControlPtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
51605  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
51606  if (!SWIG_IsOK(res1)) {
51607  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr___setslice__" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
51608  }
51609  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
51610  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
51611  if (!SWIG_IsOK(ecode2)) {
51612  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotIOControlPtr___setslice__" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::difference_type""'");
51613  }
51614  arg2 = static_cast< std::vector< RobotIOControl * >::difference_type >(val2);
51615  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
51616  if (!SWIG_IsOK(ecode3)) {
51617  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RobotIOControlPtr___setslice__" "', argument " "3"" of type '" "std::vector< RobotIOControl * >::difference_type""'");
51618  }
51619  arg3 = static_cast< std::vector< RobotIOControl * >::difference_type >(val3);
51620  {
51621  std::vector<RobotIOControl*,std::allocator< RobotIOControl * > > *ptr = (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > > *)0;
51622  res4 = swig::asptr(obj3, &ptr);
51623  if (!SWIG_IsOK(res4)) {
51624  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_RobotIOControlPtr___setslice__" "', argument " "4"" of type '" "std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > const &""'");
51625  }
51626  if (!ptr) {
51627  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_RobotIOControlPtr___setslice__" "', argument " "4"" of type '" "std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > const &""'");
51628  }
51629  arg4 = ptr;
51630  }
51631  try {
51632  std_vector_Sl_RobotIOControl_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > const &)*arg4);
51633  }
51634  catch(std::out_of_range &_e) {
51635  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
51636  }
51637  catch(std::invalid_argument &_e) {
51638  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
51639  }
51640 
51641  resultobj = SWIG_Py_Void();
51642  if (SWIG_IsNewObj(res4)) delete arg4;
51643  return resultobj;
51644 fail:
51645  if (SWIG_IsNewObj(res4)) delete arg4;
51646  return NULL;
51647 }
51648 
51649 
51650 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51651  PyObject *resultobj = 0;
51652  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
51653  std::vector< RobotIOControl * >::difference_type arg2 ;
51654  std::vector< RobotIOControl * >::difference_type arg3 ;
51655  void *argp1 = 0 ;
51656  int res1 = 0 ;
51657  ptrdiff_t val2 ;
51658  int ecode2 = 0 ;
51659  ptrdiff_t val3 ;
51660  int ecode3 = 0 ;
51661  PyObject * obj0 = 0 ;
51662  PyObject * obj1 = 0 ;
51663  PyObject * obj2 = 0 ;
51664 
51665  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotIOControlPtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
51666  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
51667  if (!SWIG_IsOK(res1)) {
51668  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr___setslice__" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
51669  }
51670  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
51671  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
51672  if (!SWIG_IsOK(ecode2)) {
51673  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotIOControlPtr___setslice__" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::difference_type""'");
51674  }
51675  arg2 = static_cast< std::vector< RobotIOControl * >::difference_type >(val2);
51676  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
51677  if (!SWIG_IsOK(ecode3)) {
51678  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RobotIOControlPtr___setslice__" "', argument " "3"" of type '" "std::vector< RobotIOControl * >::difference_type""'");
51679  }
51680  arg3 = static_cast< std::vector< RobotIOControl * >::difference_type >(val3);
51681  try {
51682  std_vector_Sl_RobotIOControl_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
51683  }
51684  catch(std::out_of_range &_e) {
51685  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
51686  }
51687  catch(std::invalid_argument &_e) {
51688  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
51689  }
51690 
51691  resultobj = SWIG_Py_Void();
51692  return resultobj;
51693 fail:
51694  return NULL;
51695 }
51696 
51697 
51698 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___setslice__(PyObject *self, PyObject *args) {
51699  int argc;
51700  PyObject *argv[5];
51701  int ii;
51702 
51703  if (!PyTuple_Check(args)) SWIG_fail;
51704  argc = args ? (int)PyObject_Length(args) : 0;
51705  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
51706  argv[ii] = PyTuple_GET_ITEM(args,ii);
51707  }
51708  if (argc == 3) {
51709  int _v;
51710  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
51711  _v = SWIG_CheckState(res);
51712  if (_v) {
51713  {
51714  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
51715  _v = SWIG_CheckState(res);
51716  }
51717  if (_v) {
51718  {
51719  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
51720  _v = SWIG_CheckState(res);
51721  }
51722  if (_v) {
51723  return _wrap_vector_RobotIOControlPtr___setslice____SWIG_1(self, args);
51724  }
51725  }
51726  }
51727  }
51728  if (argc == 4) {
51729  int _v;
51730  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
51731  _v = SWIG_CheckState(res);
51732  if (_v) {
51733  {
51734  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
51735  _v = SWIG_CheckState(res);
51736  }
51737  if (_v) {
51738  {
51739  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
51740  _v = SWIG_CheckState(res);
51741  }
51742  if (_v) {
51743  int res = swig::asptr(argv[3], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
51744  _v = SWIG_CheckState(res);
51745  if (_v) {
51746  return _wrap_vector_RobotIOControlPtr___setslice____SWIG_0(self, args);
51747  }
51748  }
51749  }
51750  }
51751  }
51752 
51753 fail:
51754  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotIOControlPtr___setslice__'.\n"
51755  " Possible C/C++ prototypes are:\n"
51756  " std::vector< RobotIOControl * >::__setslice__(std::vector< RobotIOControl * >::difference_type,std::vector< RobotIOControl * >::difference_type,std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > const &)\n"
51757  " std::vector< RobotIOControl * >::__setslice__(std::vector< RobotIOControl * >::difference_type,std::vector< RobotIOControl * >::difference_type)\n");
51758  return 0;
51759 }
51760 
51761 
51762 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51763  PyObject *resultobj = 0;
51764  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
51765  std::vector< RobotIOControl * >::difference_type arg2 ;
51766  std::vector< RobotIOControl * >::difference_type arg3 ;
51767  void *argp1 = 0 ;
51768  int res1 = 0 ;
51769  ptrdiff_t val2 ;
51770  int ecode2 = 0 ;
51771  ptrdiff_t val3 ;
51772  int ecode3 = 0 ;
51773  PyObject * obj0 = 0 ;
51774  PyObject * obj1 = 0 ;
51775  PyObject * obj2 = 0 ;
51776 
51777  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotIOControlPtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
51778  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
51779  if (!SWIG_IsOK(res1)) {
51780  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr___delslice__" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
51781  }
51782  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
51783  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
51784  if (!SWIG_IsOK(ecode2)) {
51785  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotIOControlPtr___delslice__" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::difference_type""'");
51786  }
51787  arg2 = static_cast< std::vector< RobotIOControl * >::difference_type >(val2);
51788  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
51789  if (!SWIG_IsOK(ecode3)) {
51790  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RobotIOControlPtr___delslice__" "', argument " "3"" of type '" "std::vector< RobotIOControl * >::difference_type""'");
51791  }
51792  arg3 = static_cast< std::vector< RobotIOControl * >::difference_type >(val3);
51793  try {
51794  std_vector_Sl_RobotIOControl_Sm__Sg____delslice__(arg1,arg2,arg3);
51795  }
51796  catch(std::out_of_range &_e) {
51797  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
51798  }
51799  catch(std::invalid_argument &_e) {
51800  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
51801  }
51802 
51803  resultobj = SWIG_Py_Void();
51804  return resultobj;
51805 fail:
51806  return NULL;
51807 }
51808 
51809 
51810 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51811  PyObject *resultobj = 0;
51812  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
51813  std::vector< RobotIOControl * >::difference_type arg2 ;
51814  void *argp1 = 0 ;
51815  int res1 = 0 ;
51816  ptrdiff_t val2 ;
51817  int ecode2 = 0 ;
51818  PyObject * obj0 = 0 ;
51819  PyObject * obj1 = 0 ;
51820 
51821  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotIOControlPtr___delitem__",&obj0,&obj1)) SWIG_fail;
51822  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
51823  if (!SWIG_IsOK(res1)) {
51824  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr___delitem__" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
51825  }
51826  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
51827  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
51828  if (!SWIG_IsOK(ecode2)) {
51829  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotIOControlPtr___delitem__" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::difference_type""'");
51830  }
51831  arg2 = static_cast< std::vector< RobotIOControl * >::difference_type >(val2);
51832  try {
51833  std_vector_Sl_RobotIOControl_Sm__Sg____delitem____SWIG_0(arg1,arg2);
51834  }
51835  catch(std::out_of_range &_e) {
51836  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
51837  }
51838 
51839  resultobj = SWIG_Py_Void();
51840  return resultobj;
51841 fail:
51842  return NULL;
51843 }
51844 
51845 
51846 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51847  PyObject *resultobj = 0;
51848  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
51849  PySliceObject *arg2 = (PySliceObject *) 0 ;
51850  void *argp1 = 0 ;
51851  int res1 = 0 ;
51852  PyObject * obj0 = 0 ;
51853  PyObject * obj1 = 0 ;
51854  std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > *result = 0 ;
51855 
51856  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotIOControlPtr___getitem__",&obj0,&obj1)) SWIG_fail;
51857  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
51858  if (!SWIG_IsOK(res1)) {
51859  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr___getitem__" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
51860  }
51861  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
51862  {
51863  if (!PySlice_Check(obj1)) {
51864  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotIOControlPtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
51865  }
51866  arg2 = (PySliceObject *) obj1;
51867  }
51868  try {
51869  result = (std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > *)std_vector_Sl_RobotIOControl_Sm__Sg____getitem____SWIG_0(arg1,arg2);
51870  }
51871  catch(std::out_of_range &_e) {
51872  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
51873  }
51874  catch(std::invalid_argument &_e) {
51875  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
51876  }
51877 
51878  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, SWIG_POINTER_OWN | 0 );
51879  return resultobj;
51880 fail:
51881  return NULL;
51882 }
51883 
51884 
51885 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51886  PyObject *resultobj = 0;
51887  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
51888  PySliceObject *arg2 = (PySliceObject *) 0 ;
51889  std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > *arg3 = 0 ;
51890  void *argp1 = 0 ;
51891  int res1 = 0 ;
51892  int res3 = SWIG_OLDOBJ ;
51893  PyObject * obj0 = 0 ;
51894  PyObject * obj1 = 0 ;
51895  PyObject * obj2 = 0 ;
51896 
51897  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotIOControlPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
51898  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
51899  if (!SWIG_IsOK(res1)) {
51900  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr___setitem__" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
51901  }
51902  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
51903  {
51904  if (!PySlice_Check(obj1)) {
51905  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotIOControlPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
51906  }
51907  arg2 = (PySliceObject *) obj1;
51908  }
51909  {
51910  std::vector<RobotIOControl*,std::allocator< RobotIOControl * > > *ptr = (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > > *)0;
51911  res3 = swig::asptr(obj2, &ptr);
51912  if (!SWIG_IsOK(res3)) {
51913  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RobotIOControlPtr___setitem__" "', argument " "3"" of type '" "std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > const &""'");
51914  }
51915  if (!ptr) {
51916  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_RobotIOControlPtr___setitem__" "', argument " "3"" of type '" "std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > const &""'");
51917  }
51918  arg3 = ptr;
51919  }
51920  try {
51921  std_vector_Sl_RobotIOControl_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > const &)*arg3);
51922  }
51923  catch(std::out_of_range &_e) {
51924  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
51925  }
51926  catch(std::invalid_argument &_e) {
51927  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
51928  }
51929 
51930  resultobj = SWIG_Py_Void();
51931  if (SWIG_IsNewObj(res3)) delete arg3;
51932  return resultobj;
51933 fail:
51934  if (SWIG_IsNewObj(res3)) delete arg3;
51935  return NULL;
51936 }
51937 
51938 
51939 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51940  PyObject *resultobj = 0;
51941  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
51942  PySliceObject *arg2 = (PySliceObject *) 0 ;
51943  void *argp1 = 0 ;
51944  int res1 = 0 ;
51945  PyObject * obj0 = 0 ;
51946  PyObject * obj1 = 0 ;
51947 
51948  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotIOControlPtr___setitem__",&obj0,&obj1)) SWIG_fail;
51949  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
51950  if (!SWIG_IsOK(res1)) {
51951  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr___setitem__" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
51952  }
51953  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
51954  {
51955  if (!PySlice_Check(obj1)) {
51956  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotIOControlPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
51957  }
51958  arg2 = (PySliceObject *) obj1;
51959  }
51960  try {
51961  std_vector_Sl_RobotIOControl_Sm__Sg____setitem____SWIG_1(arg1,arg2);
51962  }
51963  catch(std::out_of_range &_e) {
51964  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
51965  }
51966  catch(std::invalid_argument &_e) {
51967  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
51968  }
51969 
51970  resultobj = SWIG_Py_Void();
51971  return resultobj;
51972 fail:
51973  return NULL;
51974 }
51975 
51976 
51977 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51978  PyObject *resultobj = 0;
51979  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
51980  PySliceObject *arg2 = (PySliceObject *) 0 ;
51981  void *argp1 = 0 ;
51982  int res1 = 0 ;
51983  PyObject * obj0 = 0 ;
51984  PyObject * obj1 = 0 ;
51985 
51986  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotIOControlPtr___delitem__",&obj0,&obj1)) SWIG_fail;
51987  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
51988  if (!SWIG_IsOK(res1)) {
51989  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr___delitem__" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
51990  }
51991  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
51992  {
51993  if (!PySlice_Check(obj1)) {
51994  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotIOControlPtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
51995  }
51996  arg2 = (PySliceObject *) obj1;
51997  }
51998  try {
51999  std_vector_Sl_RobotIOControl_Sm__Sg____delitem____SWIG_1(arg1,arg2);
52000  }
52001  catch(std::out_of_range &_e) {
52002  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
52003  }
52004  catch(std::invalid_argument &_e) {
52005  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
52006  }
52007 
52008  resultobj = SWIG_Py_Void();
52009  return resultobj;
52010 fail:
52011  return NULL;
52012 }
52013 
52014 
52015 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___delitem__(PyObject *self, PyObject *args) {
52016  int argc;
52017  PyObject *argv[3];
52018  int ii;
52019 
52020  if (!PyTuple_Check(args)) SWIG_fail;
52021  argc = args ? (int)PyObject_Length(args) : 0;
52022  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
52023  argv[ii] = PyTuple_GET_ITEM(args,ii);
52024  }
52025  if (argc == 2) {
52026  int _v;
52027  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
52028  _v = SWIG_CheckState(res);
52029  if (_v) {
52030  {
52031  _v = PySlice_Check(argv[1]);
52032  }
52033  if (_v) {
52034  return _wrap_vector_RobotIOControlPtr___delitem____SWIG_1(self, args);
52035  }
52036  }
52037  }
52038  if (argc == 2) {
52039  int _v;
52040  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
52041  _v = SWIG_CheckState(res);
52042  if (_v) {
52043  {
52044  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
52045  _v = SWIG_CheckState(res);
52046  }
52047  if (_v) {
52048  return _wrap_vector_RobotIOControlPtr___delitem____SWIG_0(self, args);
52049  }
52050  }
52051  }
52052 
52053 fail:
52054  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotIOControlPtr___delitem__'.\n"
52055  " Possible C/C++ prototypes are:\n"
52056  " std::vector< RobotIOControl * >::__delitem__(std::vector< RobotIOControl * >::difference_type)\n"
52057  " std::vector< RobotIOControl * >::__delitem__(PySliceObject *)\n");
52058  return 0;
52059 }
52060 
52061 
52062 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52063  PyObject *resultobj = 0;
52064  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52065  std::vector< RobotIOControl * >::difference_type arg2 ;
52066  void *argp1 = 0 ;
52067  int res1 = 0 ;
52068  ptrdiff_t val2 ;
52069  int ecode2 = 0 ;
52070  PyObject * obj0 = 0 ;
52071  PyObject * obj1 = 0 ;
52072  std::vector< RobotIOControl * >::value_type result;
52073 
52074  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotIOControlPtr___getitem__",&obj0,&obj1)) SWIG_fail;
52075  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52076  if (!SWIG_IsOK(res1)) {
52077  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr___getitem__" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52078  }
52079  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52080  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
52081  if (!SWIG_IsOK(ecode2)) {
52082  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotIOControlPtr___getitem__" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::difference_type""'");
52083  }
52084  arg2 = static_cast< std::vector< RobotIOControl * >::difference_type >(val2);
52085  try {
52086  result = (std::vector< RobotIOControl * >::value_type)std_vector_Sl_RobotIOControl_Sm__Sg____getitem____SWIG_1(arg1,arg2);
52087  }
52088  catch(std::out_of_range &_e) {
52089  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
52090  }
52091 
52092  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RobotIOControl, 0 | 0 );
52093  return resultobj;
52094 fail:
52095  return NULL;
52096 }
52097 
52098 
52099 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___getitem__(PyObject *self, PyObject *args) {
52100  int argc;
52101  PyObject *argv[3];
52102  int ii;
52103 
52104  if (!PyTuple_Check(args)) SWIG_fail;
52105  argc = args ? (int)PyObject_Length(args) : 0;
52106  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
52107  argv[ii] = PyTuple_GET_ITEM(args,ii);
52108  }
52109  if (argc == 2) {
52110  int _v;
52111  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
52112  _v = SWIG_CheckState(res);
52113  if (_v) {
52114  {
52115  _v = PySlice_Check(argv[1]);
52116  }
52117  if (_v) {
52118  return _wrap_vector_RobotIOControlPtr___getitem____SWIG_0(self, args);
52119  }
52120  }
52121  }
52122  if (argc == 2) {
52123  int _v;
52124  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
52125  _v = SWIG_CheckState(res);
52126  if (_v) {
52127  {
52128  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
52129  _v = SWIG_CheckState(res);
52130  }
52131  if (_v) {
52132  return _wrap_vector_RobotIOControlPtr___getitem____SWIG_1(self, args);
52133  }
52134  }
52135  }
52136 
52137 fail:
52138  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotIOControlPtr___getitem__'.\n"
52139  " Possible C/C++ prototypes are:\n"
52140  " std::vector< RobotIOControl * >::__getitem__(PySliceObject *)\n"
52141  " std::vector< RobotIOControl * >::__getitem__(std::vector< RobotIOControl * >::difference_type)\n");
52142  return 0;
52143 }
52144 
52145 
52146 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52147  PyObject *resultobj = 0;
52148  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52149  std::vector< RobotIOControl * >::difference_type arg2 ;
52150  std::vector< RobotIOControl * >::value_type arg3 = (std::vector< RobotIOControl * >::value_type) 0 ;
52151  void *argp1 = 0 ;
52152  int res1 = 0 ;
52153  ptrdiff_t val2 ;
52154  int ecode2 = 0 ;
52155  void *argp3 = 0 ;
52156  int res3 = 0 ;
52157  PyObject * obj0 = 0 ;
52158  PyObject * obj1 = 0 ;
52159  PyObject * obj2 = 0 ;
52160 
52161  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotIOControlPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
52162  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52163  if (!SWIG_IsOK(res1)) {
52164  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr___setitem__" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52165  }
52166  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52167  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
52168  if (!SWIG_IsOK(ecode2)) {
52169  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotIOControlPtr___setitem__" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::difference_type""'");
52170  }
52171  arg2 = static_cast< std::vector< RobotIOControl * >::difference_type >(val2);
52172  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RobotIOControl, 0 | 0 );
52173  if (!SWIG_IsOK(res3)) {
52174  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RobotIOControlPtr___setitem__" "', argument " "3"" of type '" "std::vector< RobotIOControl * >::value_type""'");
52175  }
52176  arg3 = reinterpret_cast< std::vector< RobotIOControl * >::value_type >(argp3);
52177  try {
52178  std_vector_Sl_RobotIOControl_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
52179  }
52180  catch(std::out_of_range &_e) {
52181  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
52182  }
52183 
52184  resultobj = SWIG_Py_Void();
52185  return resultobj;
52186 fail:
52187  return NULL;
52188 }
52189 
52190 
52191 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr___setitem__(PyObject *self, PyObject *args) {
52192  int argc;
52193  PyObject *argv[4];
52194  int ii;
52195 
52196  if (!PyTuple_Check(args)) SWIG_fail;
52197  argc = args ? (int)PyObject_Length(args) : 0;
52198  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
52199  argv[ii] = PyTuple_GET_ITEM(args,ii);
52200  }
52201  if (argc == 2) {
52202  int _v;
52203  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
52204  _v = SWIG_CheckState(res);
52205  if (_v) {
52206  {
52207  _v = PySlice_Check(argv[1]);
52208  }
52209  if (_v) {
52210  return _wrap_vector_RobotIOControlPtr___setitem____SWIG_1(self, args);
52211  }
52212  }
52213  }
52214  if (argc == 3) {
52215  int _v;
52216  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
52217  _v = SWIG_CheckState(res);
52218  if (_v) {
52219  {
52220  _v = PySlice_Check(argv[1]);
52221  }
52222  if (_v) {
52223  int res = swig::asptr(argv[2], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
52224  _v = SWIG_CheckState(res);
52225  if (_v) {
52226  return _wrap_vector_RobotIOControlPtr___setitem____SWIG_0(self, args);
52227  }
52228  }
52229  }
52230  }
52231  if (argc == 3) {
52232  int _v;
52233  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
52234  _v = SWIG_CheckState(res);
52235  if (_v) {
52236  {
52237  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
52238  _v = SWIG_CheckState(res);
52239  }
52240  if (_v) {
52241  void *vptr = 0;
52242  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_RobotIOControl, 0);
52243  _v = SWIG_CheckState(res);
52244  if (_v) {
52245  return _wrap_vector_RobotIOControlPtr___setitem____SWIG_2(self, args);
52246  }
52247  }
52248  }
52249  }
52250 
52251 fail:
52252  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotIOControlPtr___setitem__'.\n"
52253  " Possible C/C++ prototypes are:\n"
52254  " std::vector< RobotIOControl * >::__setitem__(PySliceObject *,std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > const &)\n"
52255  " std::vector< RobotIOControl * >::__setitem__(PySliceObject *)\n"
52256  " std::vector< RobotIOControl * >::__setitem__(std::vector< RobotIOControl * >::difference_type,std::vector< RobotIOControl * >::value_type)\n");
52257  return 0;
52258 }
52259 
52260 
52261 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52262  PyObject *resultobj = 0;
52263  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52264  std::vector< RobotIOControl * >::value_type arg2 = (std::vector< RobotIOControl * >::value_type) 0 ;
52265  void *argp1 = 0 ;
52266  int res1 = 0 ;
52267  void *argp2 = 0 ;
52268  int res2 = 0 ;
52269  PyObject * obj0 = 0 ;
52270  PyObject * obj1 = 0 ;
52271 
52272  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotIOControlPtr_append",&obj0,&obj1)) SWIG_fail;
52273  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52274  if (!SWIG_IsOK(res1)) {
52275  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_append" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52276  }
52277  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52278  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RobotIOControl, 0 | 0 );
52279  if (!SWIG_IsOK(res2)) {
52280  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_RobotIOControlPtr_append" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::value_type""'");
52281  }
52282  arg2 = reinterpret_cast< std::vector< RobotIOControl * >::value_type >(argp2);
52283  std_vector_Sl_RobotIOControl_Sm__Sg__append(arg1,arg2);
52284  resultobj = SWIG_Py_Void();
52285  return resultobj;
52286 fail:
52287  return NULL;
52288 }
52289 
52290 
52291 SWIGINTERN PyObject *_wrap_new_vector_RobotIOControlPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52292  PyObject *resultobj = 0;
52293  std::vector< RobotIOControl * > *result = 0 ;
52294 
52295  if (!PyArg_ParseTuple(args,(char *)":new_vector_RobotIOControlPtr")) SWIG_fail;
52296  result = (std::vector< RobotIOControl * > *)new std::vector< RobotIOControl * >();
52297  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, SWIG_POINTER_NEW | 0 );
52298  return resultobj;
52299 fail:
52300  return NULL;
52301 }
52302 
52303 
52304 SWIGINTERN PyObject *_wrap_new_vector_RobotIOControlPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52305  PyObject *resultobj = 0;
52306  std::vector< RobotIOControl * > *arg1 = 0 ;
52307  int res1 = SWIG_OLDOBJ ;
52308  PyObject * obj0 = 0 ;
52309  std::vector< RobotIOControl * > *result = 0 ;
52310 
52311  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_RobotIOControlPtr",&obj0)) SWIG_fail;
52312  {
52313  std::vector<RobotIOControl*,std::allocator< RobotIOControl * > > *ptr = (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > > *)0;
52314  res1 = swig::asptr(obj0, &ptr);
52315  if (!SWIG_IsOK(res1)) {
52316  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_RobotIOControlPtr" "', argument " "1"" of type '" "std::vector< RobotIOControl * > const &""'");
52317  }
52318  if (!ptr) {
52319  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_RobotIOControlPtr" "', argument " "1"" of type '" "std::vector< RobotIOControl * > const &""'");
52320  }
52321  arg1 = ptr;
52322  }
52323  result = (std::vector< RobotIOControl * > *)new std::vector< RobotIOControl * >((std::vector< RobotIOControl * > const &)*arg1);
52324  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, SWIG_POINTER_NEW | 0 );
52325  if (SWIG_IsNewObj(res1)) delete arg1;
52326  return resultobj;
52327 fail:
52328  if (SWIG_IsNewObj(res1)) delete arg1;
52329  return NULL;
52330 }
52331 
52332 
52333 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52334  PyObject *resultobj = 0;
52335  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52336  void *argp1 = 0 ;
52337  int res1 = 0 ;
52338  PyObject * obj0 = 0 ;
52339  bool result;
52340 
52341  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr_empty",&obj0)) SWIG_fail;
52342  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52343  if (!SWIG_IsOK(res1)) {
52344  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_empty" "', argument " "1"" of type '" "std::vector< RobotIOControl * > const *""'");
52345  }
52346  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52347  result = (bool)((std::vector< RobotIOControl * > const *)arg1)->empty();
52348  resultobj = SWIG_From_bool(static_cast< bool >(result));
52349  return resultobj;
52350 fail:
52351  return NULL;
52352 }
52353 
52354 
52355 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52356  PyObject *resultobj = 0;
52357  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52358  void *argp1 = 0 ;
52359  int res1 = 0 ;
52360  PyObject * obj0 = 0 ;
52361  std::vector< RobotIOControl * >::size_type result;
52362 
52363  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr_size",&obj0)) SWIG_fail;
52364  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52365  if (!SWIG_IsOK(res1)) {
52366  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_size" "', argument " "1"" of type '" "std::vector< RobotIOControl * > const *""'");
52367  }
52368  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52369  result = ((std::vector< RobotIOControl * > const *)arg1)->size();
52370  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
52371  return resultobj;
52372 fail:
52373  return NULL;
52374 }
52375 
52376 
52377 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52378  PyObject *resultobj = 0;
52379  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52380  void *argp1 = 0 ;
52381  int res1 = 0 ;
52382  PyObject * obj0 = 0 ;
52383 
52384  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr_clear",&obj0)) SWIG_fail;
52385  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52386  if (!SWIG_IsOK(res1)) {
52387  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_clear" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52388  }
52389  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52390  (arg1)->clear();
52391  resultobj = SWIG_Py_Void();
52392  return resultobj;
52393 fail:
52394  return NULL;
52395 }
52396 
52397 
52398 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52399  PyObject *resultobj = 0;
52400  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52401  std::vector< RobotIOControl * > *arg2 = 0 ;
52402  void *argp1 = 0 ;
52403  int res1 = 0 ;
52404  void *argp2 = 0 ;
52405  int res2 = 0 ;
52406  PyObject * obj0 = 0 ;
52407  PyObject * obj1 = 0 ;
52408 
52409  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotIOControlPtr_swap",&obj0,&obj1)) SWIG_fail;
52410  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52411  if (!SWIG_IsOK(res1)) {
52412  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_swap" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52413  }
52414  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52415  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 );
52416  if (!SWIG_IsOK(res2)) {
52417  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_RobotIOControlPtr_swap" "', argument " "2"" of type '" "std::vector< RobotIOControl * > &""'");
52418  }
52419  if (!argp2) {
52420  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_RobotIOControlPtr_swap" "', argument " "2"" of type '" "std::vector< RobotIOControl * > &""'");
52421  }
52422  arg2 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp2);
52423  (arg1)->swap(*arg2);
52424  resultobj = SWIG_Py_Void();
52425  return resultobj;
52426 fail:
52427  return NULL;
52428 }
52429 
52430 
52431 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52432  PyObject *resultobj = 0;
52433  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52434  void *argp1 = 0 ;
52435  int res1 = 0 ;
52436  PyObject * obj0 = 0 ;
52437  SwigValueWrapper< std::allocator< RobotIOControl * > > result;
52438 
52439  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr_get_allocator",&obj0)) SWIG_fail;
52440  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52441  if (!SWIG_IsOK(res1)) {
52442  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_get_allocator" "', argument " "1"" of type '" "std::vector< RobotIOControl * > const *""'");
52443  }
52444  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52445  result = ((std::vector< RobotIOControl * > const *)arg1)->get_allocator();
52446  resultobj = SWIG_NewPointerObj((new std::vector< RobotIOControl * >::allocator_type(static_cast< const std::vector< RobotIOControl * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_RobotIOControl_p_t, SWIG_POINTER_OWN | 0 );
52447  return resultobj;
52448 fail:
52449  return NULL;
52450 }
52451 
52452 
52453 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52454  PyObject *resultobj = 0;
52455  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52456  void *argp1 = 0 ;
52457  int res1 = 0 ;
52458  PyObject * obj0 = 0 ;
52459  std::vector< RobotIOControl * >::iterator result;
52460 
52461  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr_begin",&obj0)) SWIG_fail;
52462  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52463  if (!SWIG_IsOK(res1)) {
52464  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_begin" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52465  }
52466  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52467  result = (arg1)->begin();
52468  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotIOControl * >::iterator & >(result)),
52469  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
52470  return resultobj;
52471 fail:
52472  return NULL;
52473 }
52474 
52475 
52476 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52477  PyObject *resultobj = 0;
52478  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52479  void *argp1 = 0 ;
52480  int res1 = 0 ;
52481  PyObject * obj0 = 0 ;
52482  std::vector< RobotIOControl * >::iterator result;
52483 
52484  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr_end",&obj0)) SWIG_fail;
52485  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52486  if (!SWIG_IsOK(res1)) {
52487  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_end" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52488  }
52489  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52490  result = (arg1)->end();
52491  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotIOControl * >::iterator & >(result)),
52492  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
52493  return resultobj;
52494 fail:
52495  return NULL;
52496 }
52497 
52498 
52499 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52500  PyObject *resultobj = 0;
52501  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52502  void *argp1 = 0 ;
52503  int res1 = 0 ;
52504  PyObject * obj0 = 0 ;
52505  std::vector< RobotIOControl * >::reverse_iterator result;
52506 
52507  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr_rbegin",&obj0)) SWIG_fail;
52508  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52509  if (!SWIG_IsOK(res1)) {
52510  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_rbegin" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52511  }
52512  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52513  result = (arg1)->rbegin();
52514  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotIOControl * >::reverse_iterator & >(result)),
52515  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
52516  return resultobj;
52517 fail:
52518  return NULL;
52519 }
52520 
52521 
52522 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52523  PyObject *resultobj = 0;
52524  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52525  void *argp1 = 0 ;
52526  int res1 = 0 ;
52527  PyObject * obj0 = 0 ;
52528  std::vector< RobotIOControl * >::reverse_iterator result;
52529 
52530  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr_rend",&obj0)) SWIG_fail;
52531  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52532  if (!SWIG_IsOK(res1)) {
52533  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_rend" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52534  }
52535  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52536  result = (arg1)->rend();
52537  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotIOControl * >::reverse_iterator & >(result)),
52538  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
52539  return resultobj;
52540 fail:
52541  return NULL;
52542 }
52543 
52544 
52545 SWIGINTERN PyObject *_wrap_new_vector_RobotIOControlPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52546  PyObject *resultobj = 0;
52547  std::vector< RobotIOControl * >::size_type arg1 ;
52548  size_t val1 ;
52549  int ecode1 = 0 ;
52550  PyObject * obj0 = 0 ;
52551  std::vector< RobotIOControl * > *result = 0 ;
52552 
52553  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_RobotIOControlPtr",&obj0)) SWIG_fail;
52554  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
52555  if (!SWIG_IsOK(ecode1)) {
52556  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_RobotIOControlPtr" "', argument " "1"" of type '" "std::vector< RobotIOControl * >::size_type""'");
52557  }
52558  arg1 = static_cast< std::vector< RobotIOControl * >::size_type >(val1);
52559  result = (std::vector< RobotIOControl * > *)new std::vector< RobotIOControl * >(arg1);
52560  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, SWIG_POINTER_NEW | 0 );
52561  return resultobj;
52562 fail:
52563  return NULL;
52564 }
52565 
52566 
52567 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52568  PyObject *resultobj = 0;
52569  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52570  void *argp1 = 0 ;
52571  int res1 = 0 ;
52572  PyObject * obj0 = 0 ;
52573 
52574  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr_pop_back",&obj0)) SWIG_fail;
52575  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52576  if (!SWIG_IsOK(res1)) {
52577  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_pop_back" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52578  }
52579  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52580  (arg1)->pop_back();
52581  resultobj = SWIG_Py_Void();
52582  return resultobj;
52583 fail:
52584  return NULL;
52585 }
52586 
52587 
52588 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52589  PyObject *resultobj = 0;
52590  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52591  std::vector< RobotIOControl * >::size_type arg2 ;
52592  void *argp1 = 0 ;
52593  int res1 = 0 ;
52594  size_t val2 ;
52595  int ecode2 = 0 ;
52596  PyObject * obj0 = 0 ;
52597  PyObject * obj1 = 0 ;
52598 
52599  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotIOControlPtr_resize",&obj0,&obj1)) SWIG_fail;
52600  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52601  if (!SWIG_IsOK(res1)) {
52602  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_resize" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52603  }
52604  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52605  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
52606  if (!SWIG_IsOK(ecode2)) {
52607  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotIOControlPtr_resize" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::size_type""'");
52608  }
52609  arg2 = static_cast< std::vector< RobotIOControl * >::size_type >(val2);
52610  (arg1)->resize(arg2);
52611  resultobj = SWIG_Py_Void();
52612  return resultobj;
52613 fail:
52614  return NULL;
52615 }
52616 
52617 
52618 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52619  PyObject *resultobj = 0;
52620  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52621  std::vector< RobotIOControl * >::iterator arg2 ;
52622  void *argp1 = 0 ;
52623  int res1 = 0 ;
52624  swig::SwigPyIterator *iter2 = 0 ;
52625  int res2 ;
52626  PyObject * obj0 = 0 ;
52627  PyObject * obj1 = 0 ;
52628  std::vector< RobotIOControl * >::iterator result;
52629 
52630  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotIOControlPtr_erase",&obj0,&obj1)) SWIG_fail;
52631  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52632  if (!SWIG_IsOK(res1)) {
52633  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_erase" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52634  }
52635  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52636  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
52637  if (!SWIG_IsOK(res2) || !iter2) {
52638  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotIOControlPtr_erase" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::iterator""'");
52639  } else {
52641  if (iter_t) {
52642  arg2 = iter_t->get_current();
52643  } else {
52644  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotIOControlPtr_erase" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::iterator""'");
52645  }
52646  }
52647  result = std_vector_Sl_RobotIOControl_Sm__Sg__erase__SWIG_0(arg1,arg2);
52648  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotIOControl * >::iterator & >(result)),
52649  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
52650  return resultobj;
52651 fail:
52652  return NULL;
52653 }
52654 
52655 
52656 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52657  PyObject *resultobj = 0;
52658  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52659  std::vector< RobotIOControl * >::iterator arg2 ;
52660  std::vector< RobotIOControl * >::iterator arg3 ;
52661  void *argp1 = 0 ;
52662  int res1 = 0 ;
52663  swig::SwigPyIterator *iter2 = 0 ;
52664  int res2 ;
52665  swig::SwigPyIterator *iter3 = 0 ;
52666  int res3 ;
52667  PyObject * obj0 = 0 ;
52668  PyObject * obj1 = 0 ;
52669  PyObject * obj2 = 0 ;
52670  std::vector< RobotIOControl * >::iterator result;
52671 
52672  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotIOControlPtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
52673  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52674  if (!SWIG_IsOK(res1)) {
52675  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_erase" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52676  }
52677  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52678  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
52679  if (!SWIG_IsOK(res2) || !iter2) {
52680  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotIOControlPtr_erase" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::iterator""'");
52681  } else {
52683  if (iter_t) {
52684  arg2 = iter_t->get_current();
52685  } else {
52686  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotIOControlPtr_erase" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::iterator""'");
52687  }
52688  }
52689  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
52690  if (!SWIG_IsOK(res3) || !iter3) {
52691  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotIOControlPtr_erase" "', argument " "3"" of type '" "std::vector< RobotIOControl * >::iterator""'");
52692  } else {
52694  if (iter_t) {
52695  arg3 = iter_t->get_current();
52696  } else {
52697  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotIOControlPtr_erase" "', argument " "3"" of type '" "std::vector< RobotIOControl * >::iterator""'");
52698  }
52699  }
52700  result = std_vector_Sl_RobotIOControl_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
52701  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotIOControl * >::iterator & >(result)),
52702  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
52703  return resultobj;
52704 fail:
52705  return NULL;
52706 }
52707 
52708 
52709 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_erase(PyObject *self, PyObject *args) {
52710  int argc;
52711  PyObject *argv[4];
52712  int ii;
52713 
52714  if (!PyTuple_Check(args)) SWIG_fail;
52715  argc = args ? (int)PyObject_Length(args) : 0;
52716  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
52717  argv[ii] = PyTuple_GET_ITEM(args,ii);
52718  }
52719  if (argc == 2) {
52720  int _v;
52721  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
52722  _v = SWIG_CheckState(res);
52723  if (_v) {
52724  swig::SwigPyIterator *iter = 0;
52725  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
52726  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotIOControl * >::iterator > *>(iter) != 0));
52727  if (_v) {
52728  return _wrap_vector_RobotIOControlPtr_erase__SWIG_0(self, args);
52729  }
52730  }
52731  }
52732  if (argc == 3) {
52733  int _v;
52734  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
52735  _v = SWIG_CheckState(res);
52736  if (_v) {
52737  swig::SwigPyIterator *iter = 0;
52738  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
52739  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotIOControl * >::iterator > *>(iter) != 0));
52740  if (_v) {
52741  swig::SwigPyIterator *iter = 0;
52742  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
52743  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotIOControl * >::iterator > *>(iter) != 0));
52744  if (_v) {
52745  return _wrap_vector_RobotIOControlPtr_erase__SWIG_1(self, args);
52746  }
52747  }
52748  }
52749  }
52750 
52751 fail:
52752  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotIOControlPtr_erase'.\n"
52753  " Possible C/C++ prototypes are:\n"
52754  " std::vector< RobotIOControl * >::erase(std::vector< RobotIOControl * >::iterator)\n"
52755  " std::vector< RobotIOControl * >::erase(std::vector< RobotIOControl * >::iterator,std::vector< RobotIOControl * >::iterator)\n");
52756  return 0;
52757 }
52758 
52759 
52760 SWIGINTERN PyObject *_wrap_new_vector_RobotIOControlPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52761  PyObject *resultobj = 0;
52762  std::vector< RobotIOControl * >::size_type arg1 ;
52763  std::vector< RobotIOControl * >::value_type arg2 = (std::vector< RobotIOControl * >::value_type) 0 ;
52764  size_t val1 ;
52765  int ecode1 = 0 ;
52766  void *argp2 = 0 ;
52767  int res2 = 0 ;
52768  PyObject * obj0 = 0 ;
52769  PyObject * obj1 = 0 ;
52770  std::vector< RobotIOControl * > *result = 0 ;
52771 
52772  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_RobotIOControlPtr",&obj0,&obj1)) SWIG_fail;
52773  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
52774  if (!SWIG_IsOK(ecode1)) {
52775  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_RobotIOControlPtr" "', argument " "1"" of type '" "std::vector< RobotIOControl * >::size_type""'");
52776  }
52777  arg1 = static_cast< std::vector< RobotIOControl * >::size_type >(val1);
52778  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RobotIOControl, 0 | 0 );
52779  if (!SWIG_IsOK(res2)) {
52780  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_RobotIOControlPtr" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::value_type""'");
52781  }
52782  arg2 = reinterpret_cast< std::vector< RobotIOControl * >::value_type >(argp2);
52783  result = (std::vector< RobotIOControl * > *)new std::vector< RobotIOControl * >(arg1,arg2);
52784  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, SWIG_POINTER_NEW | 0 );
52785  return resultobj;
52786 fail:
52787  return NULL;
52788 }
52789 
52790 
52791 SWIGINTERN PyObject *_wrap_new_vector_RobotIOControlPtr(PyObject *self, PyObject *args) {
52792  int argc;
52793  PyObject *argv[3];
52794  int ii;
52795 
52796  if (!PyTuple_Check(args)) SWIG_fail;
52797  argc = args ? (int)PyObject_Length(args) : 0;
52798  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
52799  argv[ii] = PyTuple_GET_ITEM(args,ii);
52800  }
52801  if (argc == 0) {
52802  return _wrap_new_vector_RobotIOControlPtr__SWIG_0(self, args);
52803  }
52804  if (argc == 1) {
52805  int _v;
52806  {
52807  int res = SWIG_AsVal_size_t(argv[0], NULL);
52808  _v = SWIG_CheckState(res);
52809  }
52810  if (_v) {
52811  return _wrap_new_vector_RobotIOControlPtr__SWIG_2(self, args);
52812  }
52813  }
52814  if (argc == 1) {
52815  int _v;
52816  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
52817  _v = SWIG_CheckState(res);
52818  if (_v) {
52819  return _wrap_new_vector_RobotIOControlPtr__SWIG_1(self, args);
52820  }
52821  }
52822  if (argc == 2) {
52823  int _v;
52824  {
52825  int res = SWIG_AsVal_size_t(argv[0], NULL);
52826  _v = SWIG_CheckState(res);
52827  }
52828  if (_v) {
52829  void *vptr = 0;
52830  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_RobotIOControl, 0);
52831  _v = SWIG_CheckState(res);
52832  if (_v) {
52833  return _wrap_new_vector_RobotIOControlPtr__SWIG_3(self, args);
52834  }
52835  }
52836  }
52837 
52838 fail:
52839  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_RobotIOControlPtr'.\n"
52840  " Possible C/C++ prototypes are:\n"
52841  " std::vector< RobotIOControl * >::vector()\n"
52842  " std::vector< RobotIOControl * >::vector(std::vector< RobotIOControl * > const &)\n"
52843  " std::vector< RobotIOControl * >::vector(std::vector< RobotIOControl * >::size_type)\n"
52844  " std::vector< RobotIOControl * >::vector(std::vector< RobotIOControl * >::size_type,std::vector< RobotIOControl * >::value_type)\n");
52845  return 0;
52846 }
52847 
52848 
52849 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52850  PyObject *resultobj = 0;
52851  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52852  std::vector< RobotIOControl * >::value_type arg2 = (std::vector< RobotIOControl * >::value_type) 0 ;
52853  void *argp1 = 0 ;
52854  int res1 = 0 ;
52855  void *argp2 = 0 ;
52856  int res2 = 0 ;
52857  PyObject * obj0 = 0 ;
52858  PyObject * obj1 = 0 ;
52859 
52860  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotIOControlPtr_push_back",&obj0,&obj1)) SWIG_fail;
52861  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52862  if (!SWIG_IsOK(res1)) {
52863  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_push_back" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52864  }
52865  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52866  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RobotIOControl, 0 | 0 );
52867  if (!SWIG_IsOK(res2)) {
52868  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_RobotIOControlPtr_push_back" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::value_type""'");
52869  }
52870  arg2 = reinterpret_cast< std::vector< RobotIOControl * >::value_type >(argp2);
52871  (arg1)->push_back(arg2);
52872  resultobj = SWIG_Py_Void();
52873  return resultobj;
52874 fail:
52875  return NULL;
52876 }
52877 
52878 
52879 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52880  PyObject *resultobj = 0;
52881  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52882  void *argp1 = 0 ;
52883  int res1 = 0 ;
52884  PyObject * obj0 = 0 ;
52885  std::vector< RobotIOControl * >::value_type result;
52886 
52887  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr_front",&obj0)) SWIG_fail;
52888  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52889  if (!SWIG_IsOK(res1)) {
52890  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_front" "', argument " "1"" of type '" "std::vector< RobotIOControl * > const *""'");
52891  }
52892  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52893  result = (std::vector< RobotIOControl * >::value_type)((std::vector< RobotIOControl * > const *)arg1)->front();
52894  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RobotIOControl, 0 | 0 );
52895  return resultobj;
52896 fail:
52897  return NULL;
52898 }
52899 
52900 
52901 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52902  PyObject *resultobj = 0;
52903  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52904  void *argp1 = 0 ;
52905  int res1 = 0 ;
52906  PyObject * obj0 = 0 ;
52907  std::vector< RobotIOControl * >::value_type result;
52908 
52909  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr_back",&obj0)) SWIG_fail;
52910  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52911  if (!SWIG_IsOK(res1)) {
52912  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_back" "', argument " "1"" of type '" "std::vector< RobotIOControl * > const *""'");
52913  }
52914  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52915  result = (std::vector< RobotIOControl * >::value_type)((std::vector< RobotIOControl * > const *)arg1)->back();
52916  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RobotIOControl, 0 | 0 );
52917  return resultobj;
52918 fail:
52919  return NULL;
52920 }
52921 
52922 
52923 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52924  PyObject *resultobj = 0;
52925  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52926  std::vector< RobotIOControl * >::size_type arg2 ;
52927  std::vector< RobotIOControl * >::value_type arg3 = (std::vector< RobotIOControl * >::value_type) 0 ;
52928  void *argp1 = 0 ;
52929  int res1 = 0 ;
52930  size_t val2 ;
52931  int ecode2 = 0 ;
52932  void *argp3 = 0 ;
52933  int res3 = 0 ;
52934  PyObject * obj0 = 0 ;
52935  PyObject * obj1 = 0 ;
52936  PyObject * obj2 = 0 ;
52937 
52938  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotIOControlPtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
52939  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52940  if (!SWIG_IsOK(res1)) {
52941  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_assign" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52942  }
52943  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52944  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
52945  if (!SWIG_IsOK(ecode2)) {
52946  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotIOControlPtr_assign" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::size_type""'");
52947  }
52948  arg2 = static_cast< std::vector< RobotIOControl * >::size_type >(val2);
52949  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RobotIOControl, 0 | 0 );
52950  if (!SWIG_IsOK(res3)) {
52951  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RobotIOControlPtr_assign" "', argument " "3"" of type '" "std::vector< RobotIOControl * >::value_type""'");
52952  }
52953  arg3 = reinterpret_cast< std::vector< RobotIOControl * >::value_type >(argp3);
52954  (arg1)->assign(arg2,arg3);
52955  resultobj = SWIG_Py_Void();
52956  return resultobj;
52957 fail:
52958  return NULL;
52959 }
52960 
52961 
52962 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52963  PyObject *resultobj = 0;
52964  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
52965  std::vector< RobotIOControl * >::size_type arg2 ;
52966  std::vector< RobotIOControl * >::value_type arg3 = (std::vector< RobotIOControl * >::value_type) 0 ;
52967  void *argp1 = 0 ;
52968  int res1 = 0 ;
52969  size_t val2 ;
52970  int ecode2 = 0 ;
52971  void *argp3 = 0 ;
52972  int res3 = 0 ;
52973  PyObject * obj0 = 0 ;
52974  PyObject * obj1 = 0 ;
52975  PyObject * obj2 = 0 ;
52976 
52977  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotIOControlPtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
52978  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
52979  if (!SWIG_IsOK(res1)) {
52980  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_resize" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
52981  }
52982  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
52983  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
52984  if (!SWIG_IsOK(ecode2)) {
52985  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotIOControlPtr_resize" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::size_type""'");
52986  }
52987  arg2 = static_cast< std::vector< RobotIOControl * >::size_type >(val2);
52988  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RobotIOControl, 0 | 0 );
52989  if (!SWIG_IsOK(res3)) {
52990  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RobotIOControlPtr_resize" "', argument " "3"" of type '" "std::vector< RobotIOControl * >::value_type""'");
52991  }
52992  arg3 = reinterpret_cast< std::vector< RobotIOControl * >::value_type >(argp3);
52993  (arg1)->resize(arg2,arg3);
52994  resultobj = SWIG_Py_Void();
52995  return resultobj;
52996 fail:
52997  return NULL;
52998 }
52999 
53000 
53001 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_resize(PyObject *self, PyObject *args) {
53002  int argc;
53003  PyObject *argv[4];
53004  int ii;
53005 
53006  if (!PyTuple_Check(args)) SWIG_fail;
53007  argc = args ? (int)PyObject_Length(args) : 0;
53008  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
53009  argv[ii] = PyTuple_GET_ITEM(args,ii);
53010  }
53011  if (argc == 2) {
53012  int _v;
53013  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
53014  _v = SWIG_CheckState(res);
53015  if (_v) {
53016  {
53017  int res = SWIG_AsVal_size_t(argv[1], NULL);
53018  _v = SWIG_CheckState(res);
53019  }
53020  if (_v) {
53021  return _wrap_vector_RobotIOControlPtr_resize__SWIG_0(self, args);
53022  }
53023  }
53024  }
53025  if (argc == 3) {
53026  int _v;
53027  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
53028  _v = SWIG_CheckState(res);
53029  if (_v) {
53030  {
53031  int res = SWIG_AsVal_size_t(argv[1], NULL);
53032  _v = SWIG_CheckState(res);
53033  }
53034  if (_v) {
53035  void *vptr = 0;
53036  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_RobotIOControl, 0);
53037  _v = SWIG_CheckState(res);
53038  if (_v) {
53039  return _wrap_vector_RobotIOControlPtr_resize__SWIG_1(self, args);
53040  }
53041  }
53042  }
53043  }
53044 
53045 fail:
53046  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotIOControlPtr_resize'.\n"
53047  " Possible C/C++ prototypes are:\n"
53048  " std::vector< RobotIOControl * >::resize(std::vector< RobotIOControl * >::size_type)\n"
53049  " std::vector< RobotIOControl * >::resize(std::vector< RobotIOControl * >::size_type,std::vector< RobotIOControl * >::value_type)\n");
53050  return 0;
53051 }
53052 
53053 
53054 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53055  PyObject *resultobj = 0;
53056  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
53057  std::vector< RobotIOControl * >::iterator arg2 ;
53058  std::vector< RobotIOControl * >::value_type arg3 = (std::vector< RobotIOControl * >::value_type) 0 ;
53059  void *argp1 = 0 ;
53060  int res1 = 0 ;
53061  swig::SwigPyIterator *iter2 = 0 ;
53062  int res2 ;
53063  void *argp3 = 0 ;
53064  int res3 = 0 ;
53065  PyObject * obj0 = 0 ;
53066  PyObject * obj1 = 0 ;
53067  PyObject * obj2 = 0 ;
53068  std::vector< RobotIOControl * >::iterator result;
53069 
53070  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotIOControlPtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
53071  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
53072  if (!SWIG_IsOK(res1)) {
53073  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_insert" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
53074  }
53075  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
53076  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
53077  if (!SWIG_IsOK(res2) || !iter2) {
53078  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotIOControlPtr_insert" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::iterator""'");
53079  } else {
53081  if (iter_t) {
53082  arg2 = iter_t->get_current();
53083  } else {
53084  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotIOControlPtr_insert" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::iterator""'");
53085  }
53086  }
53087  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RobotIOControl, 0 | 0 );
53088  if (!SWIG_IsOK(res3)) {
53089  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RobotIOControlPtr_insert" "', argument " "3"" of type '" "std::vector< RobotIOControl * >::value_type""'");
53090  }
53091  arg3 = reinterpret_cast< std::vector< RobotIOControl * >::value_type >(argp3);
53092  result = std_vector_Sl_RobotIOControl_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
53093  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotIOControl * >::iterator & >(result)),
53094  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
53095  return resultobj;
53096 fail:
53097  return NULL;
53098 }
53099 
53100 
53101 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53102  PyObject *resultobj = 0;
53103  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
53104  std::vector< RobotIOControl * >::iterator arg2 ;
53105  std::vector< RobotIOControl * >::size_type arg3 ;
53106  std::vector< RobotIOControl * >::value_type arg4 = (std::vector< RobotIOControl * >::value_type) 0 ;
53107  void *argp1 = 0 ;
53108  int res1 = 0 ;
53109  swig::SwigPyIterator *iter2 = 0 ;
53110  int res2 ;
53111  size_t val3 ;
53112  int ecode3 = 0 ;
53113  void *argp4 = 0 ;
53114  int res4 = 0 ;
53115  PyObject * obj0 = 0 ;
53116  PyObject * obj1 = 0 ;
53117  PyObject * obj2 = 0 ;
53118  PyObject * obj3 = 0 ;
53119 
53120  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_RobotIOControlPtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
53121  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
53122  if (!SWIG_IsOK(res1)) {
53123  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_insert" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
53124  }
53125  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
53126  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
53127  if (!SWIG_IsOK(res2) || !iter2) {
53128  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotIOControlPtr_insert" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::iterator""'");
53129  } else {
53131  if (iter_t) {
53132  arg2 = iter_t->get_current();
53133  } else {
53134  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotIOControlPtr_insert" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::iterator""'");
53135  }
53136  }
53137  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
53138  if (!SWIG_IsOK(ecode3)) {
53139  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RobotIOControlPtr_insert" "', argument " "3"" of type '" "std::vector< RobotIOControl * >::size_type""'");
53140  }
53141  arg3 = static_cast< std::vector< RobotIOControl * >::size_type >(val3);
53142  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_RobotIOControl, 0 | 0 );
53143  if (!SWIG_IsOK(res4)) {
53144  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_RobotIOControlPtr_insert" "', argument " "4"" of type '" "std::vector< RobotIOControl * >::value_type""'");
53145  }
53146  arg4 = reinterpret_cast< std::vector< RobotIOControl * >::value_type >(argp4);
53147  std_vector_Sl_RobotIOControl_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
53148  resultobj = SWIG_Py_Void();
53149  return resultobj;
53150 fail:
53151  return NULL;
53152 }
53153 
53154 
53155 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_insert(PyObject *self, PyObject *args) {
53156  int argc;
53157  PyObject *argv[5];
53158  int ii;
53159 
53160  if (!PyTuple_Check(args)) SWIG_fail;
53161  argc = args ? (int)PyObject_Length(args) : 0;
53162  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
53163  argv[ii] = PyTuple_GET_ITEM(args,ii);
53164  }
53165  if (argc == 3) {
53166  int _v;
53167  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
53168  _v = SWIG_CheckState(res);
53169  if (_v) {
53170  swig::SwigPyIterator *iter = 0;
53171  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
53172  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotIOControl * >::iterator > *>(iter) != 0));
53173  if (_v) {
53174  void *vptr = 0;
53175  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_RobotIOControl, 0);
53176  _v = SWIG_CheckState(res);
53177  if (_v) {
53178  return _wrap_vector_RobotIOControlPtr_insert__SWIG_0(self, args);
53179  }
53180  }
53181  }
53182  }
53183  if (argc == 4) {
53184  int _v;
53185  int res = swig::asptr(argv[0], (std::vector<RobotIOControl*,std::allocator< RobotIOControl * > >**)(0));
53186  _v = SWIG_CheckState(res);
53187  if (_v) {
53188  swig::SwigPyIterator *iter = 0;
53189  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
53190  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotIOControl * >::iterator > *>(iter) != 0));
53191  if (_v) {
53192  {
53193  int res = SWIG_AsVal_size_t(argv[2], NULL);
53194  _v = SWIG_CheckState(res);
53195  }
53196  if (_v) {
53197  void *vptr = 0;
53198  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_RobotIOControl, 0);
53199  _v = SWIG_CheckState(res);
53200  if (_v) {
53201  return _wrap_vector_RobotIOControlPtr_insert__SWIG_1(self, args);
53202  }
53203  }
53204  }
53205  }
53206  }
53207 
53208 fail:
53209  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotIOControlPtr_insert'.\n"
53210  " Possible C/C++ prototypes are:\n"
53211  " std::vector< RobotIOControl * >::insert(std::vector< RobotIOControl * >::iterator,std::vector< RobotIOControl * >::value_type)\n"
53212  " std::vector< RobotIOControl * >::insert(std::vector< RobotIOControl * >::iterator,std::vector< RobotIOControl * >::size_type,std::vector< RobotIOControl * >::value_type)\n");
53213  return 0;
53214 }
53215 
53216 
53217 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53218  PyObject *resultobj = 0;
53219  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
53220  std::vector< RobotIOControl * >::size_type arg2 ;
53221  void *argp1 = 0 ;
53222  int res1 = 0 ;
53223  size_t val2 ;
53224  int ecode2 = 0 ;
53225  PyObject * obj0 = 0 ;
53226  PyObject * obj1 = 0 ;
53227 
53228  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotIOControlPtr_reserve",&obj0,&obj1)) SWIG_fail;
53229  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
53230  if (!SWIG_IsOK(res1)) {
53231  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_reserve" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
53232  }
53233  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
53234  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
53235  if (!SWIG_IsOK(ecode2)) {
53236  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotIOControlPtr_reserve" "', argument " "2"" of type '" "std::vector< RobotIOControl * >::size_type""'");
53237  }
53238  arg2 = static_cast< std::vector< RobotIOControl * >::size_type >(val2);
53239  (arg1)->reserve(arg2);
53240  resultobj = SWIG_Py_Void();
53241  return resultobj;
53242 fail:
53243  return NULL;
53244 }
53245 
53246 
53247 SWIGINTERN PyObject *_wrap_vector_RobotIOControlPtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53248  PyObject *resultobj = 0;
53249  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
53250  void *argp1 = 0 ;
53251  int res1 = 0 ;
53252  PyObject * obj0 = 0 ;
53253  std::vector< RobotIOControl * >::size_type result;
53254 
53255  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotIOControlPtr_capacity",&obj0)) SWIG_fail;
53256  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0 | 0 );
53257  if (!SWIG_IsOK(res1)) {
53258  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotIOControlPtr_capacity" "', argument " "1"" of type '" "std::vector< RobotIOControl * > const *""'");
53259  }
53260  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
53261  result = ((std::vector< RobotIOControl * > const *)arg1)->capacity();
53262  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
53263  return resultobj;
53264 fail:
53265  return NULL;
53266 }
53267 
53268 
53269 SWIGINTERN PyObject *_wrap_delete_vector_RobotIOControlPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53270  PyObject *resultobj = 0;
53271  std::vector< RobotIOControl * > *arg1 = (std::vector< RobotIOControl * > *) 0 ;
53272  void *argp1 = 0 ;
53273  int res1 = 0 ;
53274  PyObject * obj0 = 0 ;
53275 
53276  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_RobotIOControlPtr",&obj0)) SWIG_fail;
53277  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, SWIG_POINTER_DISOWN | 0 );
53278  if (!SWIG_IsOK(res1)) {
53279  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_RobotIOControlPtr" "', argument " "1"" of type '" "std::vector< RobotIOControl * > *""'");
53280  }
53281  arg1 = reinterpret_cast< std::vector< RobotIOControl * > * >(argp1);
53282  {
53283  try {
53284  delete arg1;
53285  }
53286  catch(CStdErrorInfo oError)
53287  {
53288  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
53289  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
53290  PyErr_SetString(PyExc_IndexError, strError.c_str());
53291  SWIG_fail;
53292  }
53293  catch(...)
53294  {
53295  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
53296  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
53297  SWIG_fail;
53298  }
53299  }
53300  resultobj = SWIG_Py_Void();
53301  return resultobj;
53302 fail:
53303  return NULL;
53304 }
53305 
53306 
53307 SWIGINTERN PyObject *vector_RobotIOControlPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53308  PyObject *obj;
53309  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
53310  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, SWIG_NewClientData(obj));
53311  return SWIG_Py_Void();
53312 }
53313 
53314 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53315  PyObject *resultobj = 0;
53316  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
53317  PyObject **arg2 = (PyObject **) 0 ;
53318  void *argp1 = 0 ;
53319  int res1 = 0 ;
53320  PyObject * obj0 = 0 ;
53321  swig::SwigPyIterator *result = 0 ;
53322 
53323  arg2 = &obj0;
53324  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr_iterator",&obj0)) SWIG_fail;
53325  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
53326  if (!SWIG_IsOK(res1)) {
53327  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_iterator" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
53328  }
53329  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
53330  result = (swig::SwigPyIterator *)std_vector_Sl_RobotPartInterface_Sm__Sg__iterator(arg1,arg2);
53331  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
53332  return resultobj;
53333 fail:
53334  return NULL;
53335 }
53336 
53337 
53338 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53339  PyObject *resultobj = 0;
53340  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
53341  void *argp1 = 0 ;
53342  int res1 = 0 ;
53343  PyObject * obj0 = 0 ;
53344  bool result;
53345 
53346  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr___nonzero__",&obj0)) SWIG_fail;
53347  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
53348  if (!SWIG_IsOK(res1)) {
53349  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr___nonzero__" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > const *""'");
53350  }
53351  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
53352  result = (bool)std_vector_Sl_RobotPartInterface_Sm__Sg____nonzero__((std::vector< RobotPartInterface * > const *)arg1);
53353  resultobj = SWIG_From_bool(static_cast< bool >(result));
53354  return resultobj;
53355 fail:
53356  return NULL;
53357 }
53358 
53359 
53360 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53361  PyObject *resultobj = 0;
53362  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
53363  void *argp1 = 0 ;
53364  int res1 = 0 ;
53365  PyObject * obj0 = 0 ;
53366  bool result;
53367 
53368  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr___bool__",&obj0)) SWIG_fail;
53369  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
53370  if (!SWIG_IsOK(res1)) {
53371  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr___bool__" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > const *""'");
53372  }
53373  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
53374  result = (bool)std_vector_Sl_RobotPartInterface_Sm__Sg____bool__((std::vector< RobotPartInterface * > const *)arg1);
53375  resultobj = SWIG_From_bool(static_cast< bool >(result));
53376  return resultobj;
53377 fail:
53378  return NULL;
53379 }
53380 
53381 
53382 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53383  PyObject *resultobj = 0;
53384  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
53385  void *argp1 = 0 ;
53386  int res1 = 0 ;
53387  PyObject * obj0 = 0 ;
53388  std::vector< RobotPartInterface * >::size_type result;
53389 
53390  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr___len__",&obj0)) SWIG_fail;
53391  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
53392  if (!SWIG_IsOK(res1)) {
53393  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr___len__" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > const *""'");
53394  }
53395  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
53396  result = std_vector_Sl_RobotPartInterface_Sm__Sg____len__((std::vector< RobotPartInterface * > const *)arg1);
53397  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
53398  return resultobj;
53399 fail:
53400  return NULL;
53401 }
53402 
53403 
53404 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53405  PyObject *resultobj = 0;
53406  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
53407  void *argp1 = 0 ;
53408  int res1 = 0 ;
53409  PyObject * obj0 = 0 ;
53410  std::vector< RobotPartInterface * >::value_type result;
53411 
53412  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr_pop",&obj0)) SWIG_fail;
53413  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
53414  if (!SWIG_IsOK(res1)) {
53415  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_pop" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
53416  }
53417  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
53418  try {
53419  result = (std::vector< RobotPartInterface * >::value_type)std_vector_Sl_RobotPartInterface_Sm__Sg__pop(arg1);
53420  }
53421  catch(std::out_of_range &_e) {
53422  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
53423  }
53424 
53425  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RobotPartInterface, 0 | 0 );
53426  return resultobj;
53427 fail:
53428  return NULL;
53429 }
53430 
53431 
53432 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53433  PyObject *resultobj = 0;
53434  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
53435  std::vector< RobotPartInterface * >::difference_type arg2 ;
53436  std::vector< RobotPartInterface * >::difference_type arg3 ;
53437  void *argp1 = 0 ;
53438  int res1 = 0 ;
53439  ptrdiff_t val2 ;
53440  int ecode2 = 0 ;
53441  ptrdiff_t val3 ;
53442  int ecode3 = 0 ;
53443  PyObject * obj0 = 0 ;
53444  PyObject * obj1 = 0 ;
53445  PyObject * obj2 = 0 ;
53446  std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > *result = 0 ;
53447 
53448  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotPartInterfacePtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
53449  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
53450  if (!SWIG_IsOK(res1)) {
53451  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr___getslice__" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
53452  }
53453  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
53454  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
53455  if (!SWIG_IsOK(ecode2)) {
53456  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotPartInterfacePtr___getslice__" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::difference_type""'");
53457  }
53458  arg2 = static_cast< std::vector< RobotPartInterface * >::difference_type >(val2);
53459  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
53460  if (!SWIG_IsOK(ecode3)) {
53461  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RobotPartInterfacePtr___getslice__" "', argument " "3"" of type '" "std::vector< RobotPartInterface * >::difference_type""'");
53462  }
53463  arg3 = static_cast< std::vector< RobotPartInterface * >::difference_type >(val3);
53464  try {
53465  result = (std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > *)std_vector_Sl_RobotPartInterface_Sm__Sg____getslice__(arg1,arg2,arg3);
53466  }
53467  catch(std::out_of_range &_e) {
53468  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
53469  }
53470  catch(std::invalid_argument &_e) {
53471  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
53472  }
53473 
53474  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, SWIG_POINTER_OWN | 0 );
53475  return resultobj;
53476 fail:
53477  return NULL;
53478 }
53479 
53480 
53481 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53482  PyObject *resultobj = 0;
53483  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
53484  std::vector< RobotPartInterface * >::difference_type arg2 ;
53485  std::vector< RobotPartInterface * >::difference_type arg3 ;
53486  std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > *arg4 = 0 ;
53487  void *argp1 = 0 ;
53488  int res1 = 0 ;
53489  ptrdiff_t val2 ;
53490  int ecode2 = 0 ;
53491  ptrdiff_t val3 ;
53492  int ecode3 = 0 ;
53493  int res4 = SWIG_OLDOBJ ;
53494  PyObject * obj0 = 0 ;
53495  PyObject * obj1 = 0 ;
53496  PyObject * obj2 = 0 ;
53497  PyObject * obj3 = 0 ;
53498 
53499  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_RobotPartInterfacePtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
53500  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
53501  if (!SWIG_IsOK(res1)) {
53502  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr___setslice__" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
53503  }
53504  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
53505  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
53506  if (!SWIG_IsOK(ecode2)) {
53507  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotPartInterfacePtr___setslice__" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::difference_type""'");
53508  }
53509  arg2 = static_cast< std::vector< RobotPartInterface * >::difference_type >(val2);
53510  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
53511  if (!SWIG_IsOK(ecode3)) {
53512  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RobotPartInterfacePtr___setslice__" "', argument " "3"" of type '" "std::vector< RobotPartInterface * >::difference_type""'");
53513  }
53514  arg3 = static_cast< std::vector< RobotPartInterface * >::difference_type >(val3);
53515  {
53516  std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > > *ptr = (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > > *)0;
53517  res4 = swig::asptr(obj3, &ptr);
53518  if (!SWIG_IsOK(res4)) {
53519  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_RobotPartInterfacePtr___setslice__" "', argument " "4"" of type '" "std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > const &""'");
53520  }
53521  if (!ptr) {
53522  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_RobotPartInterfacePtr___setslice__" "', argument " "4"" of type '" "std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > const &""'");
53523  }
53524  arg4 = ptr;
53525  }
53526  try {
53527  std_vector_Sl_RobotPartInterface_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > const &)*arg4);
53528  }
53529  catch(std::out_of_range &_e) {
53530  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
53531  }
53532  catch(std::invalid_argument &_e) {
53533  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
53534  }
53535 
53536  resultobj = SWIG_Py_Void();
53537  if (SWIG_IsNewObj(res4)) delete arg4;
53538  return resultobj;
53539 fail:
53540  if (SWIG_IsNewObj(res4)) delete arg4;
53541  return NULL;
53542 }
53543 
53544 
53545 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53546  PyObject *resultobj = 0;
53547  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
53548  std::vector< RobotPartInterface * >::difference_type arg2 ;
53549  std::vector< RobotPartInterface * >::difference_type arg3 ;
53550  void *argp1 = 0 ;
53551  int res1 = 0 ;
53552  ptrdiff_t val2 ;
53553  int ecode2 = 0 ;
53554  ptrdiff_t val3 ;
53555  int ecode3 = 0 ;
53556  PyObject * obj0 = 0 ;
53557  PyObject * obj1 = 0 ;
53558  PyObject * obj2 = 0 ;
53559 
53560  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotPartInterfacePtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
53561  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
53562  if (!SWIG_IsOK(res1)) {
53563  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr___setslice__" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
53564  }
53565  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
53566  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
53567  if (!SWIG_IsOK(ecode2)) {
53568  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotPartInterfacePtr___setslice__" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::difference_type""'");
53569  }
53570  arg2 = static_cast< std::vector< RobotPartInterface * >::difference_type >(val2);
53571  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
53572  if (!SWIG_IsOK(ecode3)) {
53573  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RobotPartInterfacePtr___setslice__" "', argument " "3"" of type '" "std::vector< RobotPartInterface * >::difference_type""'");
53574  }
53575  arg3 = static_cast< std::vector< RobotPartInterface * >::difference_type >(val3);
53576  try {
53577  std_vector_Sl_RobotPartInterface_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
53578  }
53579  catch(std::out_of_range &_e) {
53580  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
53581  }
53582  catch(std::invalid_argument &_e) {
53583  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
53584  }
53585 
53586  resultobj = SWIG_Py_Void();
53587  return resultobj;
53588 fail:
53589  return NULL;
53590 }
53591 
53592 
53593 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___setslice__(PyObject *self, PyObject *args) {
53594  int argc;
53595  PyObject *argv[5];
53596  int ii;
53597 
53598  if (!PyTuple_Check(args)) SWIG_fail;
53599  argc = args ? (int)PyObject_Length(args) : 0;
53600  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
53601  argv[ii] = PyTuple_GET_ITEM(args,ii);
53602  }
53603  if (argc == 3) {
53604  int _v;
53605  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
53606  _v = SWIG_CheckState(res);
53607  if (_v) {
53608  {
53609  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
53610  _v = SWIG_CheckState(res);
53611  }
53612  if (_v) {
53613  {
53614  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
53615  _v = SWIG_CheckState(res);
53616  }
53617  if (_v) {
53618  return _wrap_vector_RobotPartInterfacePtr___setslice____SWIG_1(self, args);
53619  }
53620  }
53621  }
53622  }
53623  if (argc == 4) {
53624  int _v;
53625  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
53626  _v = SWIG_CheckState(res);
53627  if (_v) {
53628  {
53629  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
53630  _v = SWIG_CheckState(res);
53631  }
53632  if (_v) {
53633  {
53634  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
53635  _v = SWIG_CheckState(res);
53636  }
53637  if (_v) {
53638  int res = swig::asptr(argv[3], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
53639  _v = SWIG_CheckState(res);
53640  if (_v) {
53641  return _wrap_vector_RobotPartInterfacePtr___setslice____SWIG_0(self, args);
53642  }
53643  }
53644  }
53645  }
53646  }
53647 
53648 fail:
53649  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotPartInterfacePtr___setslice__'.\n"
53650  " Possible C/C++ prototypes are:\n"
53651  " std::vector< RobotPartInterface * >::__setslice__(std::vector< RobotPartInterface * >::difference_type,std::vector< RobotPartInterface * >::difference_type,std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > const &)\n"
53652  " std::vector< RobotPartInterface * >::__setslice__(std::vector< RobotPartInterface * >::difference_type,std::vector< RobotPartInterface * >::difference_type)\n");
53653  return 0;
53654 }
53655 
53656 
53657 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53658  PyObject *resultobj = 0;
53659  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
53660  std::vector< RobotPartInterface * >::difference_type arg2 ;
53661  std::vector< RobotPartInterface * >::difference_type arg3 ;
53662  void *argp1 = 0 ;
53663  int res1 = 0 ;
53664  ptrdiff_t val2 ;
53665  int ecode2 = 0 ;
53666  ptrdiff_t val3 ;
53667  int ecode3 = 0 ;
53668  PyObject * obj0 = 0 ;
53669  PyObject * obj1 = 0 ;
53670  PyObject * obj2 = 0 ;
53671 
53672  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotPartInterfacePtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
53673  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
53674  if (!SWIG_IsOK(res1)) {
53675  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr___delslice__" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
53676  }
53677  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
53678  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
53679  if (!SWIG_IsOK(ecode2)) {
53680  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotPartInterfacePtr___delslice__" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::difference_type""'");
53681  }
53682  arg2 = static_cast< std::vector< RobotPartInterface * >::difference_type >(val2);
53683  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
53684  if (!SWIG_IsOK(ecode3)) {
53685  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RobotPartInterfacePtr___delslice__" "', argument " "3"" of type '" "std::vector< RobotPartInterface * >::difference_type""'");
53686  }
53687  arg3 = static_cast< std::vector< RobotPartInterface * >::difference_type >(val3);
53688  try {
53689  std_vector_Sl_RobotPartInterface_Sm__Sg____delslice__(arg1,arg2,arg3);
53690  }
53691  catch(std::out_of_range &_e) {
53692  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
53693  }
53694  catch(std::invalid_argument &_e) {
53695  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
53696  }
53697 
53698  resultobj = SWIG_Py_Void();
53699  return resultobj;
53700 fail:
53701  return NULL;
53702 }
53703 
53704 
53705 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53706  PyObject *resultobj = 0;
53707  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
53708  std::vector< RobotPartInterface * >::difference_type arg2 ;
53709  void *argp1 = 0 ;
53710  int res1 = 0 ;
53711  ptrdiff_t val2 ;
53712  int ecode2 = 0 ;
53713  PyObject * obj0 = 0 ;
53714  PyObject * obj1 = 0 ;
53715 
53716  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotPartInterfacePtr___delitem__",&obj0,&obj1)) SWIG_fail;
53717  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
53718  if (!SWIG_IsOK(res1)) {
53719  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr___delitem__" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
53720  }
53721  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
53722  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
53723  if (!SWIG_IsOK(ecode2)) {
53724  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotPartInterfacePtr___delitem__" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::difference_type""'");
53725  }
53726  arg2 = static_cast< std::vector< RobotPartInterface * >::difference_type >(val2);
53727  try {
53728  std_vector_Sl_RobotPartInterface_Sm__Sg____delitem____SWIG_0(arg1,arg2);
53729  }
53730  catch(std::out_of_range &_e) {
53731  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
53732  }
53733 
53734  resultobj = SWIG_Py_Void();
53735  return resultobj;
53736 fail:
53737  return NULL;
53738 }
53739 
53740 
53741 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53742  PyObject *resultobj = 0;
53743  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
53744  PySliceObject *arg2 = (PySliceObject *) 0 ;
53745  void *argp1 = 0 ;
53746  int res1 = 0 ;
53747  PyObject * obj0 = 0 ;
53748  PyObject * obj1 = 0 ;
53749  std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > *result = 0 ;
53750 
53751  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotPartInterfacePtr___getitem__",&obj0,&obj1)) SWIG_fail;
53752  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
53753  if (!SWIG_IsOK(res1)) {
53754  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr___getitem__" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
53755  }
53756  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
53757  {
53758  if (!PySlice_Check(obj1)) {
53759  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotPartInterfacePtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
53760  }
53761  arg2 = (PySliceObject *) obj1;
53762  }
53763  try {
53764  result = (std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > *)std_vector_Sl_RobotPartInterface_Sm__Sg____getitem____SWIG_0(arg1,arg2);
53765  }
53766  catch(std::out_of_range &_e) {
53767  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
53768  }
53769  catch(std::invalid_argument &_e) {
53770  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
53771  }
53772 
53773  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, SWIG_POINTER_OWN | 0 );
53774  return resultobj;
53775 fail:
53776  return NULL;
53777 }
53778 
53779 
53780 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53781  PyObject *resultobj = 0;
53782  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
53783  PySliceObject *arg2 = (PySliceObject *) 0 ;
53784  std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > *arg3 = 0 ;
53785  void *argp1 = 0 ;
53786  int res1 = 0 ;
53787  int res3 = SWIG_OLDOBJ ;
53788  PyObject * obj0 = 0 ;
53789  PyObject * obj1 = 0 ;
53790  PyObject * obj2 = 0 ;
53791 
53792  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotPartInterfacePtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
53793  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
53794  if (!SWIG_IsOK(res1)) {
53795  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr___setitem__" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
53796  }
53797  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
53798  {
53799  if (!PySlice_Check(obj1)) {
53800  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotPartInterfacePtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
53801  }
53802  arg2 = (PySliceObject *) obj1;
53803  }
53804  {
53805  std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > > *ptr = (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > > *)0;
53806  res3 = swig::asptr(obj2, &ptr);
53807  if (!SWIG_IsOK(res3)) {
53808  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RobotPartInterfacePtr___setitem__" "', argument " "3"" of type '" "std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > const &""'");
53809  }
53810  if (!ptr) {
53811  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_RobotPartInterfacePtr___setitem__" "', argument " "3"" of type '" "std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > const &""'");
53812  }
53813  arg3 = ptr;
53814  }
53815  try {
53816  std_vector_Sl_RobotPartInterface_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > const &)*arg3);
53817  }
53818  catch(std::out_of_range &_e) {
53819  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
53820  }
53821  catch(std::invalid_argument &_e) {
53822  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
53823  }
53824 
53825  resultobj = SWIG_Py_Void();
53826  if (SWIG_IsNewObj(res3)) delete arg3;
53827  return resultobj;
53828 fail:
53829  if (SWIG_IsNewObj(res3)) delete arg3;
53830  return NULL;
53831 }
53832 
53833 
53834 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53835  PyObject *resultobj = 0;
53836  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
53837  PySliceObject *arg2 = (PySliceObject *) 0 ;
53838  void *argp1 = 0 ;
53839  int res1 = 0 ;
53840  PyObject * obj0 = 0 ;
53841  PyObject * obj1 = 0 ;
53842 
53843  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotPartInterfacePtr___setitem__",&obj0,&obj1)) SWIG_fail;
53844  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
53845  if (!SWIG_IsOK(res1)) {
53846  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr___setitem__" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
53847  }
53848  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
53849  {
53850  if (!PySlice_Check(obj1)) {
53851  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotPartInterfacePtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
53852  }
53853  arg2 = (PySliceObject *) obj1;
53854  }
53855  try {
53856  std_vector_Sl_RobotPartInterface_Sm__Sg____setitem____SWIG_1(arg1,arg2);
53857  }
53858  catch(std::out_of_range &_e) {
53859  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
53860  }
53861  catch(std::invalid_argument &_e) {
53862  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
53863  }
53864 
53865  resultobj = SWIG_Py_Void();
53866  return resultobj;
53867 fail:
53868  return NULL;
53869 }
53870 
53871 
53872 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53873  PyObject *resultobj = 0;
53874  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
53875  PySliceObject *arg2 = (PySliceObject *) 0 ;
53876  void *argp1 = 0 ;
53877  int res1 = 0 ;
53878  PyObject * obj0 = 0 ;
53879  PyObject * obj1 = 0 ;
53880 
53881  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotPartInterfacePtr___delitem__",&obj0,&obj1)) SWIG_fail;
53882  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
53883  if (!SWIG_IsOK(res1)) {
53884  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr___delitem__" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
53885  }
53886  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
53887  {
53888  if (!PySlice_Check(obj1)) {
53889  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotPartInterfacePtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
53890  }
53891  arg2 = (PySliceObject *) obj1;
53892  }
53893  try {
53894  std_vector_Sl_RobotPartInterface_Sm__Sg____delitem____SWIG_1(arg1,arg2);
53895  }
53896  catch(std::out_of_range &_e) {
53897  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
53898  }
53899  catch(std::invalid_argument &_e) {
53900  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
53901  }
53902 
53903  resultobj = SWIG_Py_Void();
53904  return resultobj;
53905 fail:
53906  return NULL;
53907 }
53908 
53909 
53910 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___delitem__(PyObject *self, PyObject *args) {
53911  int argc;
53912  PyObject *argv[3];
53913  int ii;
53914 
53915  if (!PyTuple_Check(args)) SWIG_fail;
53916  argc = args ? (int)PyObject_Length(args) : 0;
53917  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
53918  argv[ii] = PyTuple_GET_ITEM(args,ii);
53919  }
53920  if (argc == 2) {
53921  int _v;
53922  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
53923  _v = SWIG_CheckState(res);
53924  if (_v) {
53925  {
53926  _v = PySlice_Check(argv[1]);
53927  }
53928  if (_v) {
53929  return _wrap_vector_RobotPartInterfacePtr___delitem____SWIG_1(self, args);
53930  }
53931  }
53932  }
53933  if (argc == 2) {
53934  int _v;
53935  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
53936  _v = SWIG_CheckState(res);
53937  if (_v) {
53938  {
53939  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
53940  _v = SWIG_CheckState(res);
53941  }
53942  if (_v) {
53943  return _wrap_vector_RobotPartInterfacePtr___delitem____SWIG_0(self, args);
53944  }
53945  }
53946  }
53947 
53948 fail:
53949  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotPartInterfacePtr___delitem__'.\n"
53950  " Possible C/C++ prototypes are:\n"
53951  " std::vector< RobotPartInterface * >::__delitem__(std::vector< RobotPartInterface * >::difference_type)\n"
53952  " std::vector< RobotPartInterface * >::__delitem__(PySliceObject *)\n");
53953  return 0;
53954 }
53955 
53956 
53957 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53958  PyObject *resultobj = 0;
53959  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
53960  std::vector< RobotPartInterface * >::difference_type arg2 ;
53961  void *argp1 = 0 ;
53962  int res1 = 0 ;
53963  ptrdiff_t val2 ;
53964  int ecode2 = 0 ;
53965  PyObject * obj0 = 0 ;
53966  PyObject * obj1 = 0 ;
53967  std::vector< RobotPartInterface * >::value_type result;
53968 
53969  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotPartInterfacePtr___getitem__",&obj0,&obj1)) SWIG_fail;
53970  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
53971  if (!SWIG_IsOK(res1)) {
53972  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr___getitem__" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
53973  }
53974  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
53975  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
53976  if (!SWIG_IsOK(ecode2)) {
53977  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotPartInterfacePtr___getitem__" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::difference_type""'");
53978  }
53979  arg2 = static_cast< std::vector< RobotPartInterface * >::difference_type >(val2);
53980  try {
53981  result = (std::vector< RobotPartInterface * >::value_type)std_vector_Sl_RobotPartInterface_Sm__Sg____getitem____SWIG_1(arg1,arg2);
53982  }
53983  catch(std::out_of_range &_e) {
53984  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
53985  }
53986 
53987  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RobotPartInterface, 0 | 0 );
53988  return resultobj;
53989 fail:
53990  return NULL;
53991 }
53992 
53993 
53994 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___getitem__(PyObject *self, PyObject *args) {
53995  int argc;
53996  PyObject *argv[3];
53997  int ii;
53998 
53999  if (!PyTuple_Check(args)) SWIG_fail;
54000  argc = args ? (int)PyObject_Length(args) : 0;
54001  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
54002  argv[ii] = PyTuple_GET_ITEM(args,ii);
54003  }
54004  if (argc == 2) {
54005  int _v;
54006  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
54007  _v = SWIG_CheckState(res);
54008  if (_v) {
54009  {
54010  _v = PySlice_Check(argv[1]);
54011  }
54012  if (_v) {
54013  return _wrap_vector_RobotPartInterfacePtr___getitem____SWIG_0(self, args);
54014  }
54015  }
54016  }
54017  if (argc == 2) {
54018  int _v;
54019  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
54020  _v = SWIG_CheckState(res);
54021  if (_v) {
54022  {
54023  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
54024  _v = SWIG_CheckState(res);
54025  }
54026  if (_v) {
54027  return _wrap_vector_RobotPartInterfacePtr___getitem____SWIG_1(self, args);
54028  }
54029  }
54030  }
54031 
54032 fail:
54033  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotPartInterfacePtr___getitem__'.\n"
54034  " Possible C/C++ prototypes are:\n"
54035  " std::vector< RobotPartInterface * >::__getitem__(PySliceObject *)\n"
54036  " std::vector< RobotPartInterface * >::__getitem__(std::vector< RobotPartInterface * >::difference_type)\n");
54037  return 0;
54038 }
54039 
54040 
54041 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54042  PyObject *resultobj = 0;
54043  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54044  std::vector< RobotPartInterface * >::difference_type arg2 ;
54045  std::vector< RobotPartInterface * >::value_type arg3 = (std::vector< RobotPartInterface * >::value_type) 0 ;
54046  void *argp1 = 0 ;
54047  int res1 = 0 ;
54048  ptrdiff_t val2 ;
54049  int ecode2 = 0 ;
54050  void *argp3 = 0 ;
54051  int res3 = 0 ;
54052  PyObject * obj0 = 0 ;
54053  PyObject * obj1 = 0 ;
54054  PyObject * obj2 = 0 ;
54055 
54056  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotPartInterfacePtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
54057  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54058  if (!SWIG_IsOK(res1)) {
54059  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr___setitem__" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54060  }
54061  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54062  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
54063  if (!SWIG_IsOK(ecode2)) {
54064  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotPartInterfacePtr___setitem__" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::difference_type""'");
54065  }
54066  arg2 = static_cast< std::vector< RobotPartInterface * >::difference_type >(val2);
54067  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RobotPartInterface, 0 | 0 );
54068  if (!SWIG_IsOK(res3)) {
54069  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RobotPartInterfacePtr___setitem__" "', argument " "3"" of type '" "std::vector< RobotPartInterface * >::value_type""'");
54070  }
54071  arg3 = reinterpret_cast< std::vector< RobotPartInterface * >::value_type >(argp3);
54072  try {
54073  std_vector_Sl_RobotPartInterface_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
54074  }
54075  catch(std::out_of_range &_e) {
54076  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
54077  }
54078 
54079  resultobj = SWIG_Py_Void();
54080  return resultobj;
54081 fail:
54082  return NULL;
54083 }
54084 
54085 
54086 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr___setitem__(PyObject *self, PyObject *args) {
54087  int argc;
54088  PyObject *argv[4];
54089  int ii;
54090 
54091  if (!PyTuple_Check(args)) SWIG_fail;
54092  argc = args ? (int)PyObject_Length(args) : 0;
54093  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
54094  argv[ii] = PyTuple_GET_ITEM(args,ii);
54095  }
54096  if (argc == 2) {
54097  int _v;
54098  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
54099  _v = SWIG_CheckState(res);
54100  if (_v) {
54101  {
54102  _v = PySlice_Check(argv[1]);
54103  }
54104  if (_v) {
54105  return _wrap_vector_RobotPartInterfacePtr___setitem____SWIG_1(self, args);
54106  }
54107  }
54108  }
54109  if (argc == 3) {
54110  int _v;
54111  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
54112  _v = SWIG_CheckState(res);
54113  if (_v) {
54114  {
54115  _v = PySlice_Check(argv[1]);
54116  }
54117  if (_v) {
54118  int res = swig::asptr(argv[2], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
54119  _v = SWIG_CheckState(res);
54120  if (_v) {
54121  return _wrap_vector_RobotPartInterfacePtr___setitem____SWIG_0(self, args);
54122  }
54123  }
54124  }
54125  }
54126  if (argc == 3) {
54127  int _v;
54128  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
54129  _v = SWIG_CheckState(res);
54130  if (_v) {
54131  {
54132  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
54133  _v = SWIG_CheckState(res);
54134  }
54135  if (_v) {
54136  void *vptr = 0;
54137  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_RobotPartInterface, 0);
54138  _v = SWIG_CheckState(res);
54139  if (_v) {
54140  return _wrap_vector_RobotPartInterfacePtr___setitem____SWIG_2(self, args);
54141  }
54142  }
54143  }
54144  }
54145 
54146 fail:
54147  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotPartInterfacePtr___setitem__'.\n"
54148  " Possible C/C++ prototypes are:\n"
54149  " std::vector< RobotPartInterface * >::__setitem__(PySliceObject *,std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > const &)\n"
54150  " std::vector< RobotPartInterface * >::__setitem__(PySliceObject *)\n"
54151  " std::vector< RobotPartInterface * >::__setitem__(std::vector< RobotPartInterface * >::difference_type,std::vector< RobotPartInterface * >::value_type)\n");
54152  return 0;
54153 }
54154 
54155 
54156 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54157  PyObject *resultobj = 0;
54158  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54159  std::vector< RobotPartInterface * >::value_type arg2 = (std::vector< RobotPartInterface * >::value_type) 0 ;
54160  void *argp1 = 0 ;
54161  int res1 = 0 ;
54162  void *argp2 = 0 ;
54163  int res2 = 0 ;
54164  PyObject * obj0 = 0 ;
54165  PyObject * obj1 = 0 ;
54166 
54167  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotPartInterfacePtr_append",&obj0,&obj1)) SWIG_fail;
54168  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54169  if (!SWIG_IsOK(res1)) {
54170  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_append" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54171  }
54172  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54173  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RobotPartInterface, 0 | 0 );
54174  if (!SWIG_IsOK(res2)) {
54175  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_RobotPartInterfacePtr_append" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::value_type""'");
54176  }
54177  arg2 = reinterpret_cast< std::vector< RobotPartInterface * >::value_type >(argp2);
54178  std_vector_Sl_RobotPartInterface_Sm__Sg__append(arg1,arg2);
54179  resultobj = SWIG_Py_Void();
54180  return resultobj;
54181 fail:
54182  return NULL;
54183 }
54184 
54185 
54186 SWIGINTERN PyObject *_wrap_new_vector_RobotPartInterfacePtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54187  PyObject *resultobj = 0;
54188  std::vector< RobotPartInterface * > *result = 0 ;
54189 
54190  if (!PyArg_ParseTuple(args,(char *)":new_vector_RobotPartInterfacePtr")) SWIG_fail;
54191  result = (std::vector< RobotPartInterface * > *)new std::vector< RobotPartInterface * >();
54192  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, SWIG_POINTER_NEW | 0 );
54193  return resultobj;
54194 fail:
54195  return NULL;
54196 }
54197 
54198 
54199 SWIGINTERN PyObject *_wrap_new_vector_RobotPartInterfacePtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54200  PyObject *resultobj = 0;
54201  std::vector< RobotPartInterface * > *arg1 = 0 ;
54202  int res1 = SWIG_OLDOBJ ;
54203  PyObject * obj0 = 0 ;
54204  std::vector< RobotPartInterface * > *result = 0 ;
54205 
54206  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_RobotPartInterfacePtr",&obj0)) SWIG_fail;
54207  {
54208  std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > > *ptr = (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > > *)0;
54209  res1 = swig::asptr(obj0, &ptr);
54210  if (!SWIG_IsOK(res1)) {
54211  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_RobotPartInterfacePtr" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > const &""'");
54212  }
54213  if (!ptr) {
54214  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_RobotPartInterfacePtr" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > const &""'");
54215  }
54216  arg1 = ptr;
54217  }
54218  result = (std::vector< RobotPartInterface * > *)new std::vector< RobotPartInterface * >((std::vector< RobotPartInterface * > const &)*arg1);
54219  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, SWIG_POINTER_NEW | 0 );
54220  if (SWIG_IsNewObj(res1)) delete arg1;
54221  return resultobj;
54222 fail:
54223  if (SWIG_IsNewObj(res1)) delete arg1;
54224  return NULL;
54225 }
54226 
54227 
54228 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54229  PyObject *resultobj = 0;
54230  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54231  void *argp1 = 0 ;
54232  int res1 = 0 ;
54233  PyObject * obj0 = 0 ;
54234  bool result;
54235 
54236  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr_empty",&obj0)) SWIG_fail;
54237  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54238  if (!SWIG_IsOK(res1)) {
54239  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_empty" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > const *""'");
54240  }
54241  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54242  result = (bool)((std::vector< RobotPartInterface * > const *)arg1)->empty();
54243  resultobj = SWIG_From_bool(static_cast< bool >(result));
54244  return resultobj;
54245 fail:
54246  return NULL;
54247 }
54248 
54249 
54250 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54251  PyObject *resultobj = 0;
54252  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54253  void *argp1 = 0 ;
54254  int res1 = 0 ;
54255  PyObject * obj0 = 0 ;
54256  std::vector< RobotPartInterface * >::size_type result;
54257 
54258  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr_size",&obj0)) SWIG_fail;
54259  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54260  if (!SWIG_IsOK(res1)) {
54261  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_size" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > const *""'");
54262  }
54263  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54264  result = ((std::vector< RobotPartInterface * > const *)arg1)->size();
54265  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
54266  return resultobj;
54267 fail:
54268  return NULL;
54269 }
54270 
54271 
54272 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54273  PyObject *resultobj = 0;
54274  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54275  void *argp1 = 0 ;
54276  int res1 = 0 ;
54277  PyObject * obj0 = 0 ;
54278 
54279  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr_clear",&obj0)) SWIG_fail;
54280  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54281  if (!SWIG_IsOK(res1)) {
54282  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_clear" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54283  }
54284  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54285  (arg1)->clear();
54286  resultobj = SWIG_Py_Void();
54287  return resultobj;
54288 fail:
54289  return NULL;
54290 }
54291 
54292 
54293 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54294  PyObject *resultobj = 0;
54295  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54296  std::vector< RobotPartInterface * > *arg2 = 0 ;
54297  void *argp1 = 0 ;
54298  int res1 = 0 ;
54299  void *argp2 = 0 ;
54300  int res2 = 0 ;
54301  PyObject * obj0 = 0 ;
54302  PyObject * obj1 = 0 ;
54303 
54304  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotPartInterfacePtr_swap",&obj0,&obj1)) SWIG_fail;
54305  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54306  if (!SWIG_IsOK(res1)) {
54307  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_swap" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54308  }
54309  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54310  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 );
54311  if (!SWIG_IsOK(res2)) {
54312  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_RobotPartInterfacePtr_swap" "', argument " "2"" of type '" "std::vector< RobotPartInterface * > &""'");
54313  }
54314  if (!argp2) {
54315  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_RobotPartInterfacePtr_swap" "', argument " "2"" of type '" "std::vector< RobotPartInterface * > &""'");
54316  }
54317  arg2 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp2);
54318  (arg1)->swap(*arg2);
54319  resultobj = SWIG_Py_Void();
54320  return resultobj;
54321 fail:
54322  return NULL;
54323 }
54324 
54325 
54326 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54327  PyObject *resultobj = 0;
54328  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54329  void *argp1 = 0 ;
54330  int res1 = 0 ;
54331  PyObject * obj0 = 0 ;
54332  SwigValueWrapper< std::allocator< RobotPartInterface * > > result;
54333 
54334  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr_get_allocator",&obj0)) SWIG_fail;
54335  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54336  if (!SWIG_IsOK(res1)) {
54337  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_get_allocator" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > const *""'");
54338  }
54339  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54340  result = ((std::vector< RobotPartInterface * > const *)arg1)->get_allocator();
54341  resultobj = SWIG_NewPointerObj((new std::vector< RobotPartInterface * >::allocator_type(static_cast< const std::vector< RobotPartInterface * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_RobotPartInterface_p_t, SWIG_POINTER_OWN | 0 );
54342  return resultobj;
54343 fail:
54344  return NULL;
54345 }
54346 
54347 
54348 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54349  PyObject *resultobj = 0;
54350  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54351  void *argp1 = 0 ;
54352  int res1 = 0 ;
54353  PyObject * obj0 = 0 ;
54354  std::vector< RobotPartInterface * >::iterator result;
54355 
54356  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr_begin",&obj0)) SWIG_fail;
54357  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54358  if (!SWIG_IsOK(res1)) {
54359  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_begin" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54360  }
54361  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54362  result = (arg1)->begin();
54363  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotPartInterface * >::iterator & >(result)),
54364  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
54365  return resultobj;
54366 fail:
54367  return NULL;
54368 }
54369 
54370 
54371 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54372  PyObject *resultobj = 0;
54373  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54374  void *argp1 = 0 ;
54375  int res1 = 0 ;
54376  PyObject * obj0 = 0 ;
54377  std::vector< RobotPartInterface * >::iterator result;
54378 
54379  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr_end",&obj0)) SWIG_fail;
54380  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54381  if (!SWIG_IsOK(res1)) {
54382  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_end" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54383  }
54384  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54385  result = (arg1)->end();
54386  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotPartInterface * >::iterator & >(result)),
54387  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
54388  return resultobj;
54389 fail:
54390  return NULL;
54391 }
54392 
54393 
54394 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54395  PyObject *resultobj = 0;
54396  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54397  void *argp1 = 0 ;
54398  int res1 = 0 ;
54399  PyObject * obj0 = 0 ;
54400  std::vector< RobotPartInterface * >::reverse_iterator result;
54401 
54402  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr_rbegin",&obj0)) SWIG_fail;
54403  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54404  if (!SWIG_IsOK(res1)) {
54405  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_rbegin" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54406  }
54407  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54408  result = (arg1)->rbegin();
54409  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotPartInterface * >::reverse_iterator & >(result)),
54410  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
54411  return resultobj;
54412 fail:
54413  return NULL;
54414 }
54415 
54416 
54417 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54418  PyObject *resultobj = 0;
54419  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54420  void *argp1 = 0 ;
54421  int res1 = 0 ;
54422  PyObject * obj0 = 0 ;
54423  std::vector< RobotPartInterface * >::reverse_iterator result;
54424 
54425  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr_rend",&obj0)) SWIG_fail;
54426  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54427  if (!SWIG_IsOK(res1)) {
54428  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_rend" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54429  }
54430  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54431  result = (arg1)->rend();
54432  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotPartInterface * >::reverse_iterator & >(result)),
54433  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
54434  return resultobj;
54435 fail:
54436  return NULL;
54437 }
54438 
54439 
54440 SWIGINTERN PyObject *_wrap_new_vector_RobotPartInterfacePtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54441  PyObject *resultobj = 0;
54442  std::vector< RobotPartInterface * >::size_type arg1 ;
54443  size_t val1 ;
54444  int ecode1 = 0 ;
54445  PyObject * obj0 = 0 ;
54446  std::vector< RobotPartInterface * > *result = 0 ;
54447 
54448  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_RobotPartInterfacePtr",&obj0)) SWIG_fail;
54449  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
54450  if (!SWIG_IsOK(ecode1)) {
54451  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_RobotPartInterfacePtr" "', argument " "1"" of type '" "std::vector< RobotPartInterface * >::size_type""'");
54452  }
54453  arg1 = static_cast< std::vector< RobotPartInterface * >::size_type >(val1);
54454  result = (std::vector< RobotPartInterface * > *)new std::vector< RobotPartInterface * >(arg1);
54455  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, SWIG_POINTER_NEW | 0 );
54456  return resultobj;
54457 fail:
54458  return NULL;
54459 }
54460 
54461 
54462 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54463  PyObject *resultobj = 0;
54464  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54465  void *argp1 = 0 ;
54466  int res1 = 0 ;
54467  PyObject * obj0 = 0 ;
54468 
54469  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr_pop_back",&obj0)) SWIG_fail;
54470  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54471  if (!SWIG_IsOK(res1)) {
54472  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_pop_back" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54473  }
54474  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54475  (arg1)->pop_back();
54476  resultobj = SWIG_Py_Void();
54477  return resultobj;
54478 fail:
54479  return NULL;
54480 }
54481 
54482 
54483 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54484  PyObject *resultobj = 0;
54485  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54486  std::vector< RobotPartInterface * >::size_type arg2 ;
54487  void *argp1 = 0 ;
54488  int res1 = 0 ;
54489  size_t val2 ;
54490  int ecode2 = 0 ;
54491  PyObject * obj0 = 0 ;
54492  PyObject * obj1 = 0 ;
54493 
54494  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotPartInterfacePtr_resize",&obj0,&obj1)) SWIG_fail;
54495  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54496  if (!SWIG_IsOK(res1)) {
54497  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_resize" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54498  }
54499  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54500  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
54501  if (!SWIG_IsOK(ecode2)) {
54502  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotPartInterfacePtr_resize" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::size_type""'");
54503  }
54504  arg2 = static_cast< std::vector< RobotPartInterface * >::size_type >(val2);
54505  (arg1)->resize(arg2);
54506  resultobj = SWIG_Py_Void();
54507  return resultobj;
54508 fail:
54509  return NULL;
54510 }
54511 
54512 
54513 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54514  PyObject *resultobj = 0;
54515  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54516  std::vector< RobotPartInterface * >::iterator arg2 ;
54517  void *argp1 = 0 ;
54518  int res1 = 0 ;
54519  swig::SwigPyIterator *iter2 = 0 ;
54520  int res2 ;
54521  PyObject * obj0 = 0 ;
54522  PyObject * obj1 = 0 ;
54523  std::vector< RobotPartInterface * >::iterator result;
54524 
54525  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotPartInterfacePtr_erase",&obj0,&obj1)) SWIG_fail;
54526  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54527  if (!SWIG_IsOK(res1)) {
54528  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_erase" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54529  }
54530  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54531  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
54532  if (!SWIG_IsOK(res2) || !iter2) {
54533  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotPartInterfacePtr_erase" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::iterator""'");
54534  } else {
54536  if (iter_t) {
54537  arg2 = iter_t->get_current();
54538  } else {
54539  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotPartInterfacePtr_erase" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::iterator""'");
54540  }
54541  }
54542  result = std_vector_Sl_RobotPartInterface_Sm__Sg__erase__SWIG_0(arg1,arg2);
54543  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotPartInterface * >::iterator & >(result)),
54544  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
54545  return resultobj;
54546 fail:
54547  return NULL;
54548 }
54549 
54550 
54551 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54552  PyObject *resultobj = 0;
54553  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54554  std::vector< RobotPartInterface * >::iterator arg2 ;
54555  std::vector< RobotPartInterface * >::iterator arg3 ;
54556  void *argp1 = 0 ;
54557  int res1 = 0 ;
54558  swig::SwigPyIterator *iter2 = 0 ;
54559  int res2 ;
54560  swig::SwigPyIterator *iter3 = 0 ;
54561  int res3 ;
54562  PyObject * obj0 = 0 ;
54563  PyObject * obj1 = 0 ;
54564  PyObject * obj2 = 0 ;
54565  std::vector< RobotPartInterface * >::iterator result;
54566 
54567  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotPartInterfacePtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
54568  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54569  if (!SWIG_IsOK(res1)) {
54570  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_erase" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54571  }
54572  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54573  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
54574  if (!SWIG_IsOK(res2) || !iter2) {
54575  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotPartInterfacePtr_erase" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::iterator""'");
54576  } else {
54578  if (iter_t) {
54579  arg2 = iter_t->get_current();
54580  } else {
54581  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotPartInterfacePtr_erase" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::iterator""'");
54582  }
54583  }
54584  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
54585  if (!SWIG_IsOK(res3) || !iter3) {
54586  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotPartInterfacePtr_erase" "', argument " "3"" of type '" "std::vector< RobotPartInterface * >::iterator""'");
54587  } else {
54589  if (iter_t) {
54590  arg3 = iter_t->get_current();
54591  } else {
54592  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotPartInterfacePtr_erase" "', argument " "3"" of type '" "std::vector< RobotPartInterface * >::iterator""'");
54593  }
54594  }
54595  result = std_vector_Sl_RobotPartInterface_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
54596  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotPartInterface * >::iterator & >(result)),
54597  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
54598  return resultobj;
54599 fail:
54600  return NULL;
54601 }
54602 
54603 
54604 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_erase(PyObject *self, PyObject *args) {
54605  int argc;
54606  PyObject *argv[4];
54607  int ii;
54608 
54609  if (!PyTuple_Check(args)) SWIG_fail;
54610  argc = args ? (int)PyObject_Length(args) : 0;
54611  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
54612  argv[ii] = PyTuple_GET_ITEM(args,ii);
54613  }
54614  if (argc == 2) {
54615  int _v;
54616  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
54617  _v = SWIG_CheckState(res);
54618  if (_v) {
54619  swig::SwigPyIterator *iter = 0;
54620  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
54621  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotPartInterface * >::iterator > *>(iter) != 0));
54622  if (_v) {
54623  return _wrap_vector_RobotPartInterfacePtr_erase__SWIG_0(self, args);
54624  }
54625  }
54626  }
54627  if (argc == 3) {
54628  int _v;
54629  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
54630  _v = SWIG_CheckState(res);
54631  if (_v) {
54632  swig::SwigPyIterator *iter = 0;
54633  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
54634  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotPartInterface * >::iterator > *>(iter) != 0));
54635  if (_v) {
54636  swig::SwigPyIterator *iter = 0;
54637  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
54638  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotPartInterface * >::iterator > *>(iter) != 0));
54639  if (_v) {
54640  return _wrap_vector_RobotPartInterfacePtr_erase__SWIG_1(self, args);
54641  }
54642  }
54643  }
54644  }
54645 
54646 fail:
54647  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotPartInterfacePtr_erase'.\n"
54648  " Possible C/C++ prototypes are:\n"
54649  " std::vector< RobotPartInterface * >::erase(std::vector< RobotPartInterface * >::iterator)\n"
54650  " std::vector< RobotPartInterface * >::erase(std::vector< RobotPartInterface * >::iterator,std::vector< RobotPartInterface * >::iterator)\n");
54651  return 0;
54652 }
54653 
54654 
54655 SWIGINTERN PyObject *_wrap_new_vector_RobotPartInterfacePtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54656  PyObject *resultobj = 0;
54657  std::vector< RobotPartInterface * >::size_type arg1 ;
54658  std::vector< RobotPartInterface * >::value_type arg2 = (std::vector< RobotPartInterface * >::value_type) 0 ;
54659  size_t val1 ;
54660  int ecode1 = 0 ;
54661  void *argp2 = 0 ;
54662  int res2 = 0 ;
54663  PyObject * obj0 = 0 ;
54664  PyObject * obj1 = 0 ;
54665  std::vector< RobotPartInterface * > *result = 0 ;
54666 
54667  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_RobotPartInterfacePtr",&obj0,&obj1)) SWIG_fail;
54668  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
54669  if (!SWIG_IsOK(ecode1)) {
54670  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_RobotPartInterfacePtr" "', argument " "1"" of type '" "std::vector< RobotPartInterface * >::size_type""'");
54671  }
54672  arg1 = static_cast< std::vector< RobotPartInterface * >::size_type >(val1);
54673  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RobotPartInterface, 0 | 0 );
54674  if (!SWIG_IsOK(res2)) {
54675  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_RobotPartInterfacePtr" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::value_type""'");
54676  }
54677  arg2 = reinterpret_cast< std::vector< RobotPartInterface * >::value_type >(argp2);
54678  result = (std::vector< RobotPartInterface * > *)new std::vector< RobotPartInterface * >(arg1,arg2);
54679  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, SWIG_POINTER_NEW | 0 );
54680  return resultobj;
54681 fail:
54682  return NULL;
54683 }
54684 
54685 
54686 SWIGINTERN PyObject *_wrap_new_vector_RobotPartInterfacePtr(PyObject *self, PyObject *args) {
54687  int argc;
54688  PyObject *argv[3];
54689  int ii;
54690 
54691  if (!PyTuple_Check(args)) SWIG_fail;
54692  argc = args ? (int)PyObject_Length(args) : 0;
54693  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
54694  argv[ii] = PyTuple_GET_ITEM(args,ii);
54695  }
54696  if (argc == 0) {
54697  return _wrap_new_vector_RobotPartInterfacePtr__SWIG_0(self, args);
54698  }
54699  if (argc == 1) {
54700  int _v;
54701  {
54702  int res = SWIG_AsVal_size_t(argv[0], NULL);
54703  _v = SWIG_CheckState(res);
54704  }
54705  if (_v) {
54706  return _wrap_new_vector_RobotPartInterfacePtr__SWIG_2(self, args);
54707  }
54708  }
54709  if (argc == 1) {
54710  int _v;
54711  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
54712  _v = SWIG_CheckState(res);
54713  if (_v) {
54714  return _wrap_new_vector_RobotPartInterfacePtr__SWIG_1(self, args);
54715  }
54716  }
54717  if (argc == 2) {
54718  int _v;
54719  {
54720  int res = SWIG_AsVal_size_t(argv[0], NULL);
54721  _v = SWIG_CheckState(res);
54722  }
54723  if (_v) {
54724  void *vptr = 0;
54725  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_RobotPartInterface, 0);
54726  _v = SWIG_CheckState(res);
54727  if (_v) {
54728  return _wrap_new_vector_RobotPartInterfacePtr__SWIG_3(self, args);
54729  }
54730  }
54731  }
54732 
54733 fail:
54734  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_RobotPartInterfacePtr'.\n"
54735  " Possible C/C++ prototypes are:\n"
54736  " std::vector< RobotPartInterface * >::vector()\n"
54737  " std::vector< RobotPartInterface * >::vector(std::vector< RobotPartInterface * > const &)\n"
54738  " std::vector< RobotPartInterface * >::vector(std::vector< RobotPartInterface * >::size_type)\n"
54739  " std::vector< RobotPartInterface * >::vector(std::vector< RobotPartInterface * >::size_type,std::vector< RobotPartInterface * >::value_type)\n");
54740  return 0;
54741 }
54742 
54743 
54744 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54745  PyObject *resultobj = 0;
54746  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54747  std::vector< RobotPartInterface * >::value_type arg2 = (std::vector< RobotPartInterface * >::value_type) 0 ;
54748  void *argp1 = 0 ;
54749  int res1 = 0 ;
54750  void *argp2 = 0 ;
54751  int res2 = 0 ;
54752  PyObject * obj0 = 0 ;
54753  PyObject * obj1 = 0 ;
54754 
54755  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotPartInterfacePtr_push_back",&obj0,&obj1)) SWIG_fail;
54756  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54757  if (!SWIG_IsOK(res1)) {
54758  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_push_back" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54759  }
54760  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54761  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RobotPartInterface, 0 | 0 );
54762  if (!SWIG_IsOK(res2)) {
54763  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_RobotPartInterfacePtr_push_back" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::value_type""'");
54764  }
54765  arg2 = reinterpret_cast< std::vector< RobotPartInterface * >::value_type >(argp2);
54766  (arg1)->push_back(arg2);
54767  resultobj = SWIG_Py_Void();
54768  return resultobj;
54769 fail:
54770  return NULL;
54771 }
54772 
54773 
54774 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54775  PyObject *resultobj = 0;
54776  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54777  void *argp1 = 0 ;
54778  int res1 = 0 ;
54779  PyObject * obj0 = 0 ;
54780  std::vector< RobotPartInterface * >::value_type result;
54781 
54782  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr_front",&obj0)) SWIG_fail;
54783  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54784  if (!SWIG_IsOK(res1)) {
54785  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_front" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > const *""'");
54786  }
54787  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54788  result = (std::vector< RobotPartInterface * >::value_type)((std::vector< RobotPartInterface * > const *)arg1)->front();
54789  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RobotPartInterface, 0 | 0 );
54790  return resultobj;
54791 fail:
54792  return NULL;
54793 }
54794 
54795 
54796 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54797  PyObject *resultobj = 0;
54798  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54799  void *argp1 = 0 ;
54800  int res1 = 0 ;
54801  PyObject * obj0 = 0 ;
54802  std::vector< RobotPartInterface * >::value_type result;
54803 
54804  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr_back",&obj0)) SWIG_fail;
54805  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54806  if (!SWIG_IsOK(res1)) {
54807  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_back" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > const *""'");
54808  }
54809  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54810  result = (std::vector< RobotPartInterface * >::value_type)((std::vector< RobotPartInterface * > const *)arg1)->back();
54811  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RobotPartInterface, 0 | 0 );
54812  return resultobj;
54813 fail:
54814  return NULL;
54815 }
54816 
54817 
54818 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54819  PyObject *resultobj = 0;
54820  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54821  std::vector< RobotPartInterface * >::size_type arg2 ;
54822  std::vector< RobotPartInterface * >::value_type arg3 = (std::vector< RobotPartInterface * >::value_type) 0 ;
54823  void *argp1 = 0 ;
54824  int res1 = 0 ;
54825  size_t val2 ;
54826  int ecode2 = 0 ;
54827  void *argp3 = 0 ;
54828  int res3 = 0 ;
54829  PyObject * obj0 = 0 ;
54830  PyObject * obj1 = 0 ;
54831  PyObject * obj2 = 0 ;
54832 
54833  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotPartInterfacePtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
54834  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54835  if (!SWIG_IsOK(res1)) {
54836  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_assign" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54837  }
54838  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54839  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
54840  if (!SWIG_IsOK(ecode2)) {
54841  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotPartInterfacePtr_assign" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::size_type""'");
54842  }
54843  arg2 = static_cast< std::vector< RobotPartInterface * >::size_type >(val2);
54844  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RobotPartInterface, 0 | 0 );
54845  if (!SWIG_IsOK(res3)) {
54846  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RobotPartInterfacePtr_assign" "', argument " "3"" of type '" "std::vector< RobotPartInterface * >::value_type""'");
54847  }
54848  arg3 = reinterpret_cast< std::vector< RobotPartInterface * >::value_type >(argp3);
54849  (arg1)->assign(arg2,arg3);
54850  resultobj = SWIG_Py_Void();
54851  return resultobj;
54852 fail:
54853  return NULL;
54854 }
54855 
54856 
54857 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54858  PyObject *resultobj = 0;
54859  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54860  std::vector< RobotPartInterface * >::size_type arg2 ;
54861  std::vector< RobotPartInterface * >::value_type arg3 = (std::vector< RobotPartInterface * >::value_type) 0 ;
54862  void *argp1 = 0 ;
54863  int res1 = 0 ;
54864  size_t val2 ;
54865  int ecode2 = 0 ;
54866  void *argp3 = 0 ;
54867  int res3 = 0 ;
54868  PyObject * obj0 = 0 ;
54869  PyObject * obj1 = 0 ;
54870  PyObject * obj2 = 0 ;
54871 
54872  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotPartInterfacePtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
54873  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54874  if (!SWIG_IsOK(res1)) {
54875  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_resize" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54876  }
54877  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54878  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
54879  if (!SWIG_IsOK(ecode2)) {
54880  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotPartInterfacePtr_resize" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::size_type""'");
54881  }
54882  arg2 = static_cast< std::vector< RobotPartInterface * >::size_type >(val2);
54883  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RobotPartInterface, 0 | 0 );
54884  if (!SWIG_IsOK(res3)) {
54885  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RobotPartInterfacePtr_resize" "', argument " "3"" of type '" "std::vector< RobotPartInterface * >::value_type""'");
54886  }
54887  arg3 = reinterpret_cast< std::vector< RobotPartInterface * >::value_type >(argp3);
54888  (arg1)->resize(arg2,arg3);
54889  resultobj = SWIG_Py_Void();
54890  return resultobj;
54891 fail:
54892  return NULL;
54893 }
54894 
54895 
54896 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_resize(PyObject *self, PyObject *args) {
54897  int argc;
54898  PyObject *argv[4];
54899  int ii;
54900 
54901  if (!PyTuple_Check(args)) SWIG_fail;
54902  argc = args ? (int)PyObject_Length(args) : 0;
54903  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
54904  argv[ii] = PyTuple_GET_ITEM(args,ii);
54905  }
54906  if (argc == 2) {
54907  int _v;
54908  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
54909  _v = SWIG_CheckState(res);
54910  if (_v) {
54911  {
54912  int res = SWIG_AsVal_size_t(argv[1], NULL);
54913  _v = SWIG_CheckState(res);
54914  }
54915  if (_v) {
54916  return _wrap_vector_RobotPartInterfacePtr_resize__SWIG_0(self, args);
54917  }
54918  }
54919  }
54920  if (argc == 3) {
54921  int _v;
54922  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
54923  _v = SWIG_CheckState(res);
54924  if (_v) {
54925  {
54926  int res = SWIG_AsVal_size_t(argv[1], NULL);
54927  _v = SWIG_CheckState(res);
54928  }
54929  if (_v) {
54930  void *vptr = 0;
54931  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_RobotPartInterface, 0);
54932  _v = SWIG_CheckState(res);
54933  if (_v) {
54934  return _wrap_vector_RobotPartInterfacePtr_resize__SWIG_1(self, args);
54935  }
54936  }
54937  }
54938  }
54939 
54940 fail:
54941  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotPartInterfacePtr_resize'.\n"
54942  " Possible C/C++ prototypes are:\n"
54943  " std::vector< RobotPartInterface * >::resize(std::vector< RobotPartInterface * >::size_type)\n"
54944  " std::vector< RobotPartInterface * >::resize(std::vector< RobotPartInterface * >::size_type,std::vector< RobotPartInterface * >::value_type)\n");
54945  return 0;
54946 }
54947 
54948 
54949 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54950  PyObject *resultobj = 0;
54951  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54952  std::vector< RobotPartInterface * >::iterator arg2 ;
54953  std::vector< RobotPartInterface * >::value_type arg3 = (std::vector< RobotPartInterface * >::value_type) 0 ;
54954  void *argp1 = 0 ;
54955  int res1 = 0 ;
54956  swig::SwigPyIterator *iter2 = 0 ;
54957  int res2 ;
54958  void *argp3 = 0 ;
54959  int res3 = 0 ;
54960  PyObject * obj0 = 0 ;
54961  PyObject * obj1 = 0 ;
54962  PyObject * obj2 = 0 ;
54963  std::vector< RobotPartInterface * >::iterator result;
54964 
54965  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_RobotPartInterfacePtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
54966  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
54967  if (!SWIG_IsOK(res1)) {
54968  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_insert" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
54969  }
54970  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
54971  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
54972  if (!SWIG_IsOK(res2) || !iter2) {
54973  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotPartInterfacePtr_insert" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::iterator""'");
54974  } else {
54976  if (iter_t) {
54977  arg2 = iter_t->get_current();
54978  } else {
54979  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotPartInterfacePtr_insert" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::iterator""'");
54980  }
54981  }
54982  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RobotPartInterface, 0 | 0 );
54983  if (!SWIG_IsOK(res3)) {
54984  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_RobotPartInterfacePtr_insert" "', argument " "3"" of type '" "std::vector< RobotPartInterface * >::value_type""'");
54985  }
54986  arg3 = reinterpret_cast< std::vector< RobotPartInterface * >::value_type >(argp3);
54987  result = std_vector_Sl_RobotPartInterface_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
54988  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< RobotPartInterface * >::iterator & >(result)),
54989  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
54990  return resultobj;
54991 fail:
54992  return NULL;
54993 }
54994 
54995 
54996 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
54997  PyObject *resultobj = 0;
54998  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
54999  std::vector< RobotPartInterface * >::iterator arg2 ;
55000  std::vector< RobotPartInterface * >::size_type arg3 ;
55001  std::vector< RobotPartInterface * >::value_type arg4 = (std::vector< RobotPartInterface * >::value_type) 0 ;
55002  void *argp1 = 0 ;
55003  int res1 = 0 ;
55004  swig::SwigPyIterator *iter2 = 0 ;
55005  int res2 ;
55006  size_t val3 ;
55007  int ecode3 = 0 ;
55008  void *argp4 = 0 ;
55009  int res4 = 0 ;
55010  PyObject * obj0 = 0 ;
55011  PyObject * obj1 = 0 ;
55012  PyObject * obj2 = 0 ;
55013  PyObject * obj3 = 0 ;
55014 
55015  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_RobotPartInterfacePtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
55016  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
55017  if (!SWIG_IsOK(res1)) {
55018  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_insert" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
55019  }
55020  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
55021  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
55022  if (!SWIG_IsOK(res2) || !iter2) {
55023  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotPartInterfacePtr_insert" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::iterator""'");
55024  } else {
55026  if (iter_t) {
55027  arg2 = iter_t->get_current();
55028  } else {
55029  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_RobotPartInterfacePtr_insert" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::iterator""'");
55030  }
55031  }
55032  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
55033  if (!SWIG_IsOK(ecode3)) {
55034  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_RobotPartInterfacePtr_insert" "', argument " "3"" of type '" "std::vector< RobotPartInterface * >::size_type""'");
55035  }
55036  arg3 = static_cast< std::vector< RobotPartInterface * >::size_type >(val3);
55037  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_RobotPartInterface, 0 | 0 );
55038  if (!SWIG_IsOK(res4)) {
55039  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_RobotPartInterfacePtr_insert" "', argument " "4"" of type '" "std::vector< RobotPartInterface * >::value_type""'");
55040  }
55041  arg4 = reinterpret_cast< std::vector< RobotPartInterface * >::value_type >(argp4);
55042  std_vector_Sl_RobotPartInterface_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
55043  resultobj = SWIG_Py_Void();
55044  return resultobj;
55045 fail:
55046  return NULL;
55047 }
55048 
55049 
55050 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_insert(PyObject *self, PyObject *args) {
55051  int argc;
55052  PyObject *argv[5];
55053  int ii;
55054 
55055  if (!PyTuple_Check(args)) SWIG_fail;
55056  argc = args ? (int)PyObject_Length(args) : 0;
55057  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
55058  argv[ii] = PyTuple_GET_ITEM(args,ii);
55059  }
55060  if (argc == 3) {
55061  int _v;
55062  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
55063  _v = SWIG_CheckState(res);
55064  if (_v) {
55065  swig::SwigPyIterator *iter = 0;
55066  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
55067  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotPartInterface * >::iterator > *>(iter) != 0));
55068  if (_v) {
55069  void *vptr = 0;
55070  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_RobotPartInterface, 0);
55071  _v = SWIG_CheckState(res);
55072  if (_v) {
55073  return _wrap_vector_RobotPartInterfacePtr_insert__SWIG_0(self, args);
55074  }
55075  }
55076  }
55077  }
55078  if (argc == 4) {
55079  int _v;
55080  int res = swig::asptr(argv[0], (std::vector<RobotPartInterface*,std::allocator< RobotPartInterface * > >**)(0));
55081  _v = SWIG_CheckState(res);
55082  if (_v) {
55083  swig::SwigPyIterator *iter = 0;
55084  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
55085  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotPartInterface * >::iterator > *>(iter) != 0));
55086  if (_v) {
55087  {
55088  int res = SWIG_AsVal_size_t(argv[2], NULL);
55089  _v = SWIG_CheckState(res);
55090  }
55091  if (_v) {
55092  void *vptr = 0;
55093  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_RobotPartInterface, 0);
55094  _v = SWIG_CheckState(res);
55095  if (_v) {
55096  return _wrap_vector_RobotPartInterfacePtr_insert__SWIG_1(self, args);
55097  }
55098  }
55099  }
55100  }
55101  }
55102 
55103 fail:
55104  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_RobotPartInterfacePtr_insert'.\n"
55105  " Possible C/C++ prototypes are:\n"
55106  " std::vector< RobotPartInterface * >::insert(std::vector< RobotPartInterface * >::iterator,std::vector< RobotPartInterface * >::value_type)\n"
55107  " std::vector< RobotPartInterface * >::insert(std::vector< RobotPartInterface * >::iterator,std::vector< RobotPartInterface * >::size_type,std::vector< RobotPartInterface * >::value_type)\n");
55108  return 0;
55109 }
55110 
55111 
55112 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55113  PyObject *resultobj = 0;
55114  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
55115  std::vector< RobotPartInterface * >::size_type arg2 ;
55116  void *argp1 = 0 ;
55117  int res1 = 0 ;
55118  size_t val2 ;
55119  int ecode2 = 0 ;
55120  PyObject * obj0 = 0 ;
55121  PyObject * obj1 = 0 ;
55122 
55123  if (!PyArg_ParseTuple(args,(char *)"OO:vector_RobotPartInterfacePtr_reserve",&obj0,&obj1)) SWIG_fail;
55124  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
55125  if (!SWIG_IsOK(res1)) {
55126  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_reserve" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
55127  }
55128  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
55129  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
55130  if (!SWIG_IsOK(ecode2)) {
55131  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_RobotPartInterfacePtr_reserve" "', argument " "2"" of type '" "std::vector< RobotPartInterface * >::size_type""'");
55132  }
55133  arg2 = static_cast< std::vector< RobotPartInterface * >::size_type >(val2);
55134  (arg1)->reserve(arg2);
55135  resultobj = SWIG_Py_Void();
55136  return resultobj;
55137 fail:
55138  return NULL;
55139 }
55140 
55141 
55142 SWIGINTERN PyObject *_wrap_vector_RobotPartInterfacePtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55143  PyObject *resultobj = 0;
55144  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
55145  void *argp1 = 0 ;
55146  int res1 = 0 ;
55147  PyObject * obj0 = 0 ;
55148  std::vector< RobotPartInterface * >::size_type result;
55149 
55150  if (!PyArg_ParseTuple(args,(char *)"O:vector_RobotPartInterfacePtr_capacity",&obj0)) SWIG_fail;
55151  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0 | 0 );
55152  if (!SWIG_IsOK(res1)) {
55153  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_RobotPartInterfacePtr_capacity" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > const *""'");
55154  }
55155  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
55156  result = ((std::vector< RobotPartInterface * > const *)arg1)->capacity();
55157  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
55158  return resultobj;
55159 fail:
55160  return NULL;
55161 }
55162 
55163 
55164 SWIGINTERN PyObject *_wrap_delete_vector_RobotPartInterfacePtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55165  PyObject *resultobj = 0;
55166  std::vector< RobotPartInterface * > *arg1 = (std::vector< RobotPartInterface * > *) 0 ;
55167  void *argp1 = 0 ;
55168  int res1 = 0 ;
55169  PyObject * obj0 = 0 ;
55170 
55171  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_RobotPartInterfacePtr",&obj0)) SWIG_fail;
55172  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, SWIG_POINTER_DISOWN | 0 );
55173  if (!SWIG_IsOK(res1)) {
55174  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_RobotPartInterfacePtr" "', argument " "1"" of type '" "std::vector< RobotPartInterface * > *""'");
55175  }
55176  arg1 = reinterpret_cast< std::vector< RobotPartInterface * > * >(argp1);
55177  {
55178  try {
55179  delete arg1;
55180  }
55181  catch(CStdErrorInfo oError)
55182  {
55183  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
55184  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
55185  PyErr_SetString(PyExc_IndexError, strError.c_str());
55186  SWIG_fail;
55187  }
55188  catch(...)
55189  {
55190  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
55191  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
55192  SWIG_fail;
55193  }
55194  }
55195  resultobj = SWIG_Py_Void();
55196  return resultobj;
55197 fail:
55198  return NULL;
55199 }
55200 
55201 
55202 SWIGINTERN PyObject *vector_RobotPartInterfacePtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55203  PyObject *obj;
55204  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
55205  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, SWIG_NewClientData(obj));
55206  return SWIG_Py_Void();
55207 }
55208 
55209 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55210  PyObject *resultobj = 0;
55211  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55212  PyObject **arg2 = (PyObject **) 0 ;
55213  void *argp1 = 0 ;
55214  int res1 = 0 ;
55215  PyObject * obj0 = 0 ;
55216  swig::SwigPyIterator *result = 0 ;
55217 
55218  arg2 = &obj0;
55219  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr_iterator",&obj0)) SWIG_fail;
55220  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55221  if (!SWIG_IsOK(res1)) {
55222  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_iterator" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
55223  }
55224  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55225  result = (swig::SwigPyIterator *)std_vector_Sl_SimulationWindow_Sm__Sg__iterator(arg1,arg2);
55226  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
55227  return resultobj;
55228 fail:
55229  return NULL;
55230 }
55231 
55232 
55233 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55234  PyObject *resultobj = 0;
55235  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55236  void *argp1 = 0 ;
55237  int res1 = 0 ;
55238  PyObject * obj0 = 0 ;
55239  bool result;
55240 
55241  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr___nonzero__",&obj0)) SWIG_fail;
55242  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55243  if (!SWIG_IsOK(res1)) {
55244  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr___nonzero__" "', argument " "1"" of type '" "std::vector< SimulationWindow * > const *""'");
55245  }
55246  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55247  result = (bool)std_vector_Sl_SimulationWindow_Sm__Sg____nonzero__((std::vector< SimulationWindow * > const *)arg1);
55248  resultobj = SWIG_From_bool(static_cast< bool >(result));
55249  return resultobj;
55250 fail:
55251  return NULL;
55252 }
55253 
55254 
55255 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55256  PyObject *resultobj = 0;
55257  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55258  void *argp1 = 0 ;
55259  int res1 = 0 ;
55260  PyObject * obj0 = 0 ;
55261  bool result;
55262 
55263  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr___bool__",&obj0)) SWIG_fail;
55264  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55265  if (!SWIG_IsOK(res1)) {
55266  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr___bool__" "', argument " "1"" of type '" "std::vector< SimulationWindow * > const *""'");
55267  }
55268  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55269  result = (bool)std_vector_Sl_SimulationWindow_Sm__Sg____bool__((std::vector< SimulationWindow * > const *)arg1);
55270  resultobj = SWIG_From_bool(static_cast< bool >(result));
55271  return resultobj;
55272 fail:
55273  return NULL;
55274 }
55275 
55276 
55277 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55278  PyObject *resultobj = 0;
55279  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55280  void *argp1 = 0 ;
55281  int res1 = 0 ;
55282  PyObject * obj0 = 0 ;
55283  std::vector< SimulationWindow * >::size_type result;
55284 
55285  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr___len__",&obj0)) SWIG_fail;
55286  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55287  if (!SWIG_IsOK(res1)) {
55288  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr___len__" "', argument " "1"" of type '" "std::vector< SimulationWindow * > const *""'");
55289  }
55290  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55291  result = std_vector_Sl_SimulationWindow_Sm__Sg____len__((std::vector< SimulationWindow * > const *)arg1);
55292  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
55293  return resultobj;
55294 fail:
55295  return NULL;
55296 }
55297 
55298 
55299 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55300  PyObject *resultobj = 0;
55301  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55302  void *argp1 = 0 ;
55303  int res1 = 0 ;
55304  PyObject * obj0 = 0 ;
55305  std::vector< SimulationWindow * >::value_type result;
55306 
55307  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr_pop",&obj0)) SWIG_fail;
55308  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55309  if (!SWIG_IsOK(res1)) {
55310  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_pop" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
55311  }
55312  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55313  try {
55314  result = (std::vector< SimulationWindow * >::value_type)std_vector_Sl_SimulationWindow_Sm__Sg__pop(arg1);
55315  }
55316  catch(std::out_of_range &_e) {
55317  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
55318  }
55319 
55320  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SimulationWindow, 0 | 0 );
55321  return resultobj;
55322 fail:
55323  return NULL;
55324 }
55325 
55326 
55327 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55328  PyObject *resultobj = 0;
55329  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55330  std::vector< SimulationWindow * >::difference_type arg2 ;
55331  std::vector< SimulationWindow * >::difference_type arg3 ;
55332  void *argp1 = 0 ;
55333  int res1 = 0 ;
55334  ptrdiff_t val2 ;
55335  int ecode2 = 0 ;
55336  ptrdiff_t val3 ;
55337  int ecode3 = 0 ;
55338  PyObject * obj0 = 0 ;
55339  PyObject * obj1 = 0 ;
55340  PyObject * obj2 = 0 ;
55341  std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > *result = 0 ;
55342 
55343  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationWindowPtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
55344  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55345  if (!SWIG_IsOK(res1)) {
55346  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr___getslice__" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
55347  }
55348  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55349  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
55350  if (!SWIG_IsOK(ecode2)) {
55351  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationWindowPtr___getslice__" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::difference_type""'");
55352  }
55353  arg2 = static_cast< std::vector< SimulationWindow * >::difference_type >(val2);
55354  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
55355  if (!SWIG_IsOK(ecode3)) {
55356  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_SimulationWindowPtr___getslice__" "', argument " "3"" of type '" "std::vector< SimulationWindow * >::difference_type""'");
55357  }
55358  arg3 = static_cast< std::vector< SimulationWindow * >::difference_type >(val3);
55359  try {
55360  result = (std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > *)std_vector_Sl_SimulationWindow_Sm__Sg____getslice__(arg1,arg2,arg3);
55361  }
55362  catch(std::out_of_range &_e) {
55363  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
55364  }
55365  catch(std::invalid_argument &_e) {
55366  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
55367  }
55368 
55369  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, SWIG_POINTER_OWN | 0 );
55370  return resultobj;
55371 fail:
55372  return NULL;
55373 }
55374 
55375 
55376 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55377  PyObject *resultobj = 0;
55378  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55379  std::vector< SimulationWindow * >::difference_type arg2 ;
55380  std::vector< SimulationWindow * >::difference_type arg3 ;
55381  std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > *arg4 = 0 ;
55382  void *argp1 = 0 ;
55383  int res1 = 0 ;
55384  ptrdiff_t val2 ;
55385  int ecode2 = 0 ;
55386  ptrdiff_t val3 ;
55387  int ecode3 = 0 ;
55388  int res4 = SWIG_OLDOBJ ;
55389  PyObject * obj0 = 0 ;
55390  PyObject * obj1 = 0 ;
55391  PyObject * obj2 = 0 ;
55392  PyObject * obj3 = 0 ;
55393 
55394  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_SimulationWindowPtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
55395  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55396  if (!SWIG_IsOK(res1)) {
55397  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr___setslice__" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
55398  }
55399  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55400  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
55401  if (!SWIG_IsOK(ecode2)) {
55402  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationWindowPtr___setslice__" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::difference_type""'");
55403  }
55404  arg2 = static_cast< std::vector< SimulationWindow * >::difference_type >(val2);
55405  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
55406  if (!SWIG_IsOK(ecode3)) {
55407  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_SimulationWindowPtr___setslice__" "', argument " "3"" of type '" "std::vector< SimulationWindow * >::difference_type""'");
55408  }
55409  arg3 = static_cast< std::vector< SimulationWindow * >::difference_type >(val3);
55410  {
55411  std::vector<SimulationWindow*,std::allocator< SimulationWindow * > > *ptr = (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > > *)0;
55412  res4 = swig::asptr(obj3, &ptr);
55413  if (!SWIG_IsOK(res4)) {
55414  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_SimulationWindowPtr___setslice__" "', argument " "4"" of type '" "std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > const &""'");
55415  }
55416  if (!ptr) {
55417  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_SimulationWindowPtr___setslice__" "', argument " "4"" of type '" "std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > const &""'");
55418  }
55419  arg4 = ptr;
55420  }
55421  try {
55422  std_vector_Sl_SimulationWindow_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > const &)*arg4);
55423  }
55424  catch(std::out_of_range &_e) {
55425  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
55426  }
55427  catch(std::invalid_argument &_e) {
55428  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
55429  }
55430 
55431  resultobj = SWIG_Py_Void();
55432  if (SWIG_IsNewObj(res4)) delete arg4;
55433  return resultobj;
55434 fail:
55435  if (SWIG_IsNewObj(res4)) delete arg4;
55436  return NULL;
55437 }
55438 
55439 
55440 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55441  PyObject *resultobj = 0;
55442  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55443  std::vector< SimulationWindow * >::difference_type arg2 ;
55444  std::vector< SimulationWindow * >::difference_type arg3 ;
55445  void *argp1 = 0 ;
55446  int res1 = 0 ;
55447  ptrdiff_t val2 ;
55448  int ecode2 = 0 ;
55449  ptrdiff_t val3 ;
55450  int ecode3 = 0 ;
55451  PyObject * obj0 = 0 ;
55452  PyObject * obj1 = 0 ;
55453  PyObject * obj2 = 0 ;
55454 
55455  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationWindowPtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
55456  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55457  if (!SWIG_IsOK(res1)) {
55458  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr___setslice__" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
55459  }
55460  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55461  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
55462  if (!SWIG_IsOK(ecode2)) {
55463  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationWindowPtr___setslice__" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::difference_type""'");
55464  }
55465  arg2 = static_cast< std::vector< SimulationWindow * >::difference_type >(val2);
55466  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
55467  if (!SWIG_IsOK(ecode3)) {
55468  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_SimulationWindowPtr___setslice__" "', argument " "3"" of type '" "std::vector< SimulationWindow * >::difference_type""'");
55469  }
55470  arg3 = static_cast< std::vector< SimulationWindow * >::difference_type >(val3);
55471  try {
55472  std_vector_Sl_SimulationWindow_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
55473  }
55474  catch(std::out_of_range &_e) {
55475  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
55476  }
55477  catch(std::invalid_argument &_e) {
55478  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
55479  }
55480 
55481  resultobj = SWIG_Py_Void();
55482  return resultobj;
55483 fail:
55484  return NULL;
55485 }
55486 
55487 
55488 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___setslice__(PyObject *self, PyObject *args) {
55489  int argc;
55490  PyObject *argv[5];
55491  int ii;
55492 
55493  if (!PyTuple_Check(args)) SWIG_fail;
55494  argc = args ? (int)PyObject_Length(args) : 0;
55495  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
55496  argv[ii] = PyTuple_GET_ITEM(args,ii);
55497  }
55498  if (argc == 3) {
55499  int _v;
55500  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
55501  _v = SWIG_CheckState(res);
55502  if (_v) {
55503  {
55504  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
55505  _v = SWIG_CheckState(res);
55506  }
55507  if (_v) {
55508  {
55509  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
55510  _v = SWIG_CheckState(res);
55511  }
55512  if (_v) {
55513  return _wrap_vector_SimulationWindowPtr___setslice____SWIG_1(self, args);
55514  }
55515  }
55516  }
55517  }
55518  if (argc == 4) {
55519  int _v;
55520  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
55521  _v = SWIG_CheckState(res);
55522  if (_v) {
55523  {
55524  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
55525  _v = SWIG_CheckState(res);
55526  }
55527  if (_v) {
55528  {
55529  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
55530  _v = SWIG_CheckState(res);
55531  }
55532  if (_v) {
55533  int res = swig::asptr(argv[3], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
55534  _v = SWIG_CheckState(res);
55535  if (_v) {
55536  return _wrap_vector_SimulationWindowPtr___setslice____SWIG_0(self, args);
55537  }
55538  }
55539  }
55540  }
55541  }
55542 
55543 fail:
55544  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_SimulationWindowPtr___setslice__'.\n"
55545  " Possible C/C++ prototypes are:\n"
55546  " std::vector< SimulationWindow * >::__setslice__(std::vector< SimulationWindow * >::difference_type,std::vector< SimulationWindow * >::difference_type,std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > const &)\n"
55547  " std::vector< SimulationWindow * >::__setslice__(std::vector< SimulationWindow * >::difference_type,std::vector< SimulationWindow * >::difference_type)\n");
55548  return 0;
55549 }
55550 
55551 
55552 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55553  PyObject *resultobj = 0;
55554  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55555  std::vector< SimulationWindow * >::difference_type arg2 ;
55556  std::vector< SimulationWindow * >::difference_type arg3 ;
55557  void *argp1 = 0 ;
55558  int res1 = 0 ;
55559  ptrdiff_t val2 ;
55560  int ecode2 = 0 ;
55561  ptrdiff_t val3 ;
55562  int ecode3 = 0 ;
55563  PyObject * obj0 = 0 ;
55564  PyObject * obj1 = 0 ;
55565  PyObject * obj2 = 0 ;
55566 
55567  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationWindowPtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
55568  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55569  if (!SWIG_IsOK(res1)) {
55570  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr___delslice__" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
55571  }
55572  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55573  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
55574  if (!SWIG_IsOK(ecode2)) {
55575  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationWindowPtr___delslice__" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::difference_type""'");
55576  }
55577  arg2 = static_cast< std::vector< SimulationWindow * >::difference_type >(val2);
55578  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
55579  if (!SWIG_IsOK(ecode3)) {
55580  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_SimulationWindowPtr___delslice__" "', argument " "3"" of type '" "std::vector< SimulationWindow * >::difference_type""'");
55581  }
55582  arg3 = static_cast< std::vector< SimulationWindow * >::difference_type >(val3);
55583  try {
55584  std_vector_Sl_SimulationWindow_Sm__Sg____delslice__(arg1,arg2,arg3);
55585  }
55586  catch(std::out_of_range &_e) {
55587  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
55588  }
55589  catch(std::invalid_argument &_e) {
55590  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
55591  }
55592 
55593  resultobj = SWIG_Py_Void();
55594  return resultobj;
55595 fail:
55596  return NULL;
55597 }
55598 
55599 
55600 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55601  PyObject *resultobj = 0;
55602  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55603  std::vector< SimulationWindow * >::difference_type arg2 ;
55604  void *argp1 = 0 ;
55605  int res1 = 0 ;
55606  ptrdiff_t val2 ;
55607  int ecode2 = 0 ;
55608  PyObject * obj0 = 0 ;
55609  PyObject * obj1 = 0 ;
55610 
55611  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationWindowPtr___delitem__",&obj0,&obj1)) SWIG_fail;
55612  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55613  if (!SWIG_IsOK(res1)) {
55614  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr___delitem__" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
55615  }
55616  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55617  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
55618  if (!SWIG_IsOK(ecode2)) {
55619  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationWindowPtr___delitem__" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::difference_type""'");
55620  }
55621  arg2 = static_cast< std::vector< SimulationWindow * >::difference_type >(val2);
55622  try {
55623  std_vector_Sl_SimulationWindow_Sm__Sg____delitem____SWIG_0(arg1,arg2);
55624  }
55625  catch(std::out_of_range &_e) {
55626  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
55627  }
55628 
55629  resultobj = SWIG_Py_Void();
55630  return resultobj;
55631 fail:
55632  return NULL;
55633 }
55634 
55635 
55636 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55637  PyObject *resultobj = 0;
55638  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55639  PySliceObject *arg2 = (PySliceObject *) 0 ;
55640  void *argp1 = 0 ;
55641  int res1 = 0 ;
55642  PyObject * obj0 = 0 ;
55643  PyObject * obj1 = 0 ;
55644  std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > *result = 0 ;
55645 
55646  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationWindowPtr___getitem__",&obj0,&obj1)) SWIG_fail;
55647  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55648  if (!SWIG_IsOK(res1)) {
55649  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr___getitem__" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
55650  }
55651  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55652  {
55653  if (!PySlice_Check(obj1)) {
55654  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationWindowPtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
55655  }
55656  arg2 = (PySliceObject *) obj1;
55657  }
55658  try {
55659  result = (std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > *)std_vector_Sl_SimulationWindow_Sm__Sg____getitem____SWIG_0(arg1,arg2);
55660  }
55661  catch(std::out_of_range &_e) {
55662  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
55663  }
55664  catch(std::invalid_argument &_e) {
55665  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
55666  }
55667 
55668  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, SWIG_POINTER_OWN | 0 );
55669  return resultobj;
55670 fail:
55671  return NULL;
55672 }
55673 
55674 
55675 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55676  PyObject *resultobj = 0;
55677  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55678  PySliceObject *arg2 = (PySliceObject *) 0 ;
55679  std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > *arg3 = 0 ;
55680  void *argp1 = 0 ;
55681  int res1 = 0 ;
55682  int res3 = SWIG_OLDOBJ ;
55683  PyObject * obj0 = 0 ;
55684  PyObject * obj1 = 0 ;
55685  PyObject * obj2 = 0 ;
55686 
55687  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationWindowPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
55688  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55689  if (!SWIG_IsOK(res1)) {
55690  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr___setitem__" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
55691  }
55692  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55693  {
55694  if (!PySlice_Check(obj1)) {
55695  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationWindowPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
55696  }
55697  arg2 = (PySliceObject *) obj1;
55698  }
55699  {
55700  std::vector<SimulationWindow*,std::allocator< SimulationWindow * > > *ptr = (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > > *)0;
55701  res3 = swig::asptr(obj2, &ptr);
55702  if (!SWIG_IsOK(res3)) {
55703  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_SimulationWindowPtr___setitem__" "', argument " "3"" of type '" "std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > const &""'");
55704  }
55705  if (!ptr) {
55706  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_SimulationWindowPtr___setitem__" "', argument " "3"" of type '" "std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > const &""'");
55707  }
55708  arg3 = ptr;
55709  }
55710  try {
55711  std_vector_Sl_SimulationWindow_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > const &)*arg3);
55712  }
55713  catch(std::out_of_range &_e) {
55714  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
55715  }
55716  catch(std::invalid_argument &_e) {
55717  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
55718  }
55719 
55720  resultobj = SWIG_Py_Void();
55721  if (SWIG_IsNewObj(res3)) delete arg3;
55722  return resultobj;
55723 fail:
55724  if (SWIG_IsNewObj(res3)) delete arg3;
55725  return NULL;
55726 }
55727 
55728 
55729 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55730  PyObject *resultobj = 0;
55731  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55732  PySliceObject *arg2 = (PySliceObject *) 0 ;
55733  void *argp1 = 0 ;
55734  int res1 = 0 ;
55735  PyObject * obj0 = 0 ;
55736  PyObject * obj1 = 0 ;
55737 
55738  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationWindowPtr___setitem__",&obj0,&obj1)) SWIG_fail;
55739  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55740  if (!SWIG_IsOK(res1)) {
55741  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr___setitem__" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
55742  }
55743  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55744  {
55745  if (!PySlice_Check(obj1)) {
55746  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationWindowPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
55747  }
55748  arg2 = (PySliceObject *) obj1;
55749  }
55750  try {
55751  std_vector_Sl_SimulationWindow_Sm__Sg____setitem____SWIG_1(arg1,arg2);
55752  }
55753  catch(std::out_of_range &_e) {
55754  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
55755  }
55756  catch(std::invalid_argument &_e) {
55757  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
55758  }
55759 
55760  resultobj = SWIG_Py_Void();
55761  return resultobj;
55762 fail:
55763  return NULL;
55764 }
55765 
55766 
55767 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55768  PyObject *resultobj = 0;
55769  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55770  PySliceObject *arg2 = (PySliceObject *) 0 ;
55771  void *argp1 = 0 ;
55772  int res1 = 0 ;
55773  PyObject * obj0 = 0 ;
55774  PyObject * obj1 = 0 ;
55775 
55776  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationWindowPtr___delitem__",&obj0,&obj1)) SWIG_fail;
55777  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55778  if (!SWIG_IsOK(res1)) {
55779  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr___delitem__" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
55780  }
55781  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55782  {
55783  if (!PySlice_Check(obj1)) {
55784  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationWindowPtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
55785  }
55786  arg2 = (PySliceObject *) obj1;
55787  }
55788  try {
55789  std_vector_Sl_SimulationWindow_Sm__Sg____delitem____SWIG_1(arg1,arg2);
55790  }
55791  catch(std::out_of_range &_e) {
55792  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
55793  }
55794  catch(std::invalid_argument &_e) {
55795  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
55796  }
55797 
55798  resultobj = SWIG_Py_Void();
55799  return resultobj;
55800 fail:
55801  return NULL;
55802 }
55803 
55804 
55805 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___delitem__(PyObject *self, PyObject *args) {
55806  int argc;
55807  PyObject *argv[3];
55808  int ii;
55809 
55810  if (!PyTuple_Check(args)) SWIG_fail;
55811  argc = args ? (int)PyObject_Length(args) : 0;
55812  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
55813  argv[ii] = PyTuple_GET_ITEM(args,ii);
55814  }
55815  if (argc == 2) {
55816  int _v;
55817  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
55818  _v = SWIG_CheckState(res);
55819  if (_v) {
55820  {
55821  _v = PySlice_Check(argv[1]);
55822  }
55823  if (_v) {
55824  return _wrap_vector_SimulationWindowPtr___delitem____SWIG_1(self, args);
55825  }
55826  }
55827  }
55828  if (argc == 2) {
55829  int _v;
55830  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
55831  _v = SWIG_CheckState(res);
55832  if (_v) {
55833  {
55834  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
55835  _v = SWIG_CheckState(res);
55836  }
55837  if (_v) {
55838  return _wrap_vector_SimulationWindowPtr___delitem____SWIG_0(self, args);
55839  }
55840  }
55841  }
55842 
55843 fail:
55844  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_SimulationWindowPtr___delitem__'.\n"
55845  " Possible C/C++ prototypes are:\n"
55846  " std::vector< SimulationWindow * >::__delitem__(std::vector< SimulationWindow * >::difference_type)\n"
55847  " std::vector< SimulationWindow * >::__delitem__(PySliceObject *)\n");
55848  return 0;
55849 }
55850 
55851 
55852 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55853  PyObject *resultobj = 0;
55854  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55855  std::vector< SimulationWindow * >::difference_type arg2 ;
55856  void *argp1 = 0 ;
55857  int res1 = 0 ;
55858  ptrdiff_t val2 ;
55859  int ecode2 = 0 ;
55860  PyObject * obj0 = 0 ;
55861  PyObject * obj1 = 0 ;
55862  std::vector< SimulationWindow * >::value_type result;
55863 
55864  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationWindowPtr___getitem__",&obj0,&obj1)) SWIG_fail;
55865  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55866  if (!SWIG_IsOK(res1)) {
55867  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr___getitem__" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
55868  }
55869  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55870  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
55871  if (!SWIG_IsOK(ecode2)) {
55872  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationWindowPtr___getitem__" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::difference_type""'");
55873  }
55874  arg2 = static_cast< std::vector< SimulationWindow * >::difference_type >(val2);
55875  try {
55876  result = (std::vector< SimulationWindow * >::value_type)std_vector_Sl_SimulationWindow_Sm__Sg____getitem____SWIG_1(arg1,arg2);
55877  }
55878  catch(std::out_of_range &_e) {
55879  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
55880  }
55881 
55882  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SimulationWindow, 0 | 0 );
55883  return resultobj;
55884 fail:
55885  return NULL;
55886 }
55887 
55888 
55889 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___getitem__(PyObject *self, PyObject *args) {
55890  int argc;
55891  PyObject *argv[3];
55892  int ii;
55893 
55894  if (!PyTuple_Check(args)) SWIG_fail;
55895  argc = args ? (int)PyObject_Length(args) : 0;
55896  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
55897  argv[ii] = PyTuple_GET_ITEM(args,ii);
55898  }
55899  if (argc == 2) {
55900  int _v;
55901  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
55902  _v = SWIG_CheckState(res);
55903  if (_v) {
55904  {
55905  _v = PySlice_Check(argv[1]);
55906  }
55907  if (_v) {
55908  return _wrap_vector_SimulationWindowPtr___getitem____SWIG_0(self, args);
55909  }
55910  }
55911  }
55912  if (argc == 2) {
55913  int _v;
55914  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
55915  _v = SWIG_CheckState(res);
55916  if (_v) {
55917  {
55918  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
55919  _v = SWIG_CheckState(res);
55920  }
55921  if (_v) {
55922  return _wrap_vector_SimulationWindowPtr___getitem____SWIG_1(self, args);
55923  }
55924  }
55925  }
55926 
55927 fail:
55928  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_SimulationWindowPtr___getitem__'.\n"
55929  " Possible C/C++ prototypes are:\n"
55930  " std::vector< SimulationWindow * >::__getitem__(PySliceObject *)\n"
55931  " std::vector< SimulationWindow * >::__getitem__(std::vector< SimulationWindow * >::difference_type)\n");
55932  return 0;
55933 }
55934 
55935 
55936 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
55937  PyObject *resultobj = 0;
55938  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
55939  std::vector< SimulationWindow * >::difference_type arg2 ;
55940  std::vector< SimulationWindow * >::value_type arg3 = (std::vector< SimulationWindow * >::value_type) 0 ;
55941  void *argp1 = 0 ;
55942  int res1 = 0 ;
55943  ptrdiff_t val2 ;
55944  int ecode2 = 0 ;
55945  void *argp3 = 0 ;
55946  int res3 = 0 ;
55947  PyObject * obj0 = 0 ;
55948  PyObject * obj1 = 0 ;
55949  PyObject * obj2 = 0 ;
55950 
55951  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationWindowPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
55952  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
55953  if (!SWIG_IsOK(res1)) {
55954  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr___setitem__" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
55955  }
55956  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
55957  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
55958  if (!SWIG_IsOK(ecode2)) {
55959  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationWindowPtr___setitem__" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::difference_type""'");
55960  }
55961  arg2 = static_cast< std::vector< SimulationWindow * >::difference_type >(val2);
55962  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SimulationWindow, 0 | 0 );
55963  if (!SWIG_IsOK(res3)) {
55964  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_SimulationWindowPtr___setitem__" "', argument " "3"" of type '" "std::vector< SimulationWindow * >::value_type""'");
55965  }
55966  arg3 = reinterpret_cast< std::vector< SimulationWindow * >::value_type >(argp3);
55967  try {
55968  std_vector_Sl_SimulationWindow_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
55969  }
55970  catch(std::out_of_range &_e) {
55971  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
55972  }
55973 
55974  resultobj = SWIG_Py_Void();
55975  return resultobj;
55976 fail:
55977  return NULL;
55978 }
55979 
55980 
55981 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr___setitem__(PyObject *self, PyObject *args) {
55982  int argc;
55983  PyObject *argv[4];
55984  int ii;
55985 
55986  if (!PyTuple_Check(args)) SWIG_fail;
55987  argc = args ? (int)PyObject_Length(args) : 0;
55988  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
55989  argv[ii] = PyTuple_GET_ITEM(args,ii);
55990  }
55991  if (argc == 2) {
55992  int _v;
55993  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
55994  _v = SWIG_CheckState(res);
55995  if (_v) {
55996  {
55997  _v = PySlice_Check(argv[1]);
55998  }
55999  if (_v) {
56000  return _wrap_vector_SimulationWindowPtr___setitem____SWIG_1(self, args);
56001  }
56002  }
56003  }
56004  if (argc == 3) {
56005  int _v;
56006  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
56007  _v = SWIG_CheckState(res);
56008  if (_v) {
56009  {
56010  _v = PySlice_Check(argv[1]);
56011  }
56012  if (_v) {
56013  int res = swig::asptr(argv[2], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
56014  _v = SWIG_CheckState(res);
56015  if (_v) {
56016  return _wrap_vector_SimulationWindowPtr___setitem____SWIG_0(self, args);
56017  }
56018  }
56019  }
56020  }
56021  if (argc == 3) {
56022  int _v;
56023  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
56024  _v = SWIG_CheckState(res);
56025  if (_v) {
56026  {
56027  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
56028  _v = SWIG_CheckState(res);
56029  }
56030  if (_v) {
56031  void *vptr = 0;
56032  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SimulationWindow, 0);
56033  _v = SWIG_CheckState(res);
56034  if (_v) {
56035  return _wrap_vector_SimulationWindowPtr___setitem____SWIG_2(self, args);
56036  }
56037  }
56038  }
56039  }
56040 
56041 fail:
56042  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_SimulationWindowPtr___setitem__'.\n"
56043  " Possible C/C++ prototypes are:\n"
56044  " std::vector< SimulationWindow * >::__setitem__(PySliceObject *,std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > const &)\n"
56045  " std::vector< SimulationWindow * >::__setitem__(PySliceObject *)\n"
56046  " std::vector< SimulationWindow * >::__setitem__(std::vector< SimulationWindow * >::difference_type,std::vector< SimulationWindow * >::value_type)\n");
56047  return 0;
56048 }
56049 
56050 
56051 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56052  PyObject *resultobj = 0;
56053  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56054  std::vector< SimulationWindow * >::value_type arg2 = (std::vector< SimulationWindow * >::value_type) 0 ;
56055  void *argp1 = 0 ;
56056  int res1 = 0 ;
56057  void *argp2 = 0 ;
56058  int res2 = 0 ;
56059  PyObject * obj0 = 0 ;
56060  PyObject * obj1 = 0 ;
56061 
56062  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationWindowPtr_append",&obj0,&obj1)) SWIG_fail;
56063  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56064  if (!SWIG_IsOK(res1)) {
56065  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_append" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56066  }
56067  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56068  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SimulationWindow, 0 | 0 );
56069  if (!SWIG_IsOK(res2)) {
56070  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_SimulationWindowPtr_append" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::value_type""'");
56071  }
56072  arg2 = reinterpret_cast< std::vector< SimulationWindow * >::value_type >(argp2);
56073  std_vector_Sl_SimulationWindow_Sm__Sg__append(arg1,arg2);
56074  resultobj = SWIG_Py_Void();
56075  return resultobj;
56076 fail:
56077  return NULL;
56078 }
56079 
56080 
56081 SWIGINTERN PyObject *_wrap_new_vector_SimulationWindowPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56082  PyObject *resultobj = 0;
56083  std::vector< SimulationWindow * > *result = 0 ;
56084 
56085  if (!PyArg_ParseTuple(args,(char *)":new_vector_SimulationWindowPtr")) SWIG_fail;
56086  result = (std::vector< SimulationWindow * > *)new std::vector< SimulationWindow * >();
56087  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, SWIG_POINTER_NEW | 0 );
56088  return resultobj;
56089 fail:
56090  return NULL;
56091 }
56092 
56093 
56094 SWIGINTERN PyObject *_wrap_new_vector_SimulationWindowPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56095  PyObject *resultobj = 0;
56096  std::vector< SimulationWindow * > *arg1 = 0 ;
56097  int res1 = SWIG_OLDOBJ ;
56098  PyObject * obj0 = 0 ;
56099  std::vector< SimulationWindow * > *result = 0 ;
56100 
56101  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_SimulationWindowPtr",&obj0)) SWIG_fail;
56102  {
56103  std::vector<SimulationWindow*,std::allocator< SimulationWindow * > > *ptr = (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > > *)0;
56104  res1 = swig::asptr(obj0, &ptr);
56105  if (!SWIG_IsOK(res1)) {
56106  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_SimulationWindowPtr" "', argument " "1"" of type '" "std::vector< SimulationWindow * > const &""'");
56107  }
56108  if (!ptr) {
56109  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_SimulationWindowPtr" "', argument " "1"" of type '" "std::vector< SimulationWindow * > const &""'");
56110  }
56111  arg1 = ptr;
56112  }
56113  result = (std::vector< SimulationWindow * > *)new std::vector< SimulationWindow * >((std::vector< SimulationWindow * > const &)*arg1);
56114  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, SWIG_POINTER_NEW | 0 );
56115  if (SWIG_IsNewObj(res1)) delete arg1;
56116  return resultobj;
56117 fail:
56118  if (SWIG_IsNewObj(res1)) delete arg1;
56119  return NULL;
56120 }
56121 
56122 
56123 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56124  PyObject *resultobj = 0;
56125  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56126  void *argp1 = 0 ;
56127  int res1 = 0 ;
56128  PyObject * obj0 = 0 ;
56129  bool result;
56130 
56131  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr_empty",&obj0)) SWIG_fail;
56132  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56133  if (!SWIG_IsOK(res1)) {
56134  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_empty" "', argument " "1"" of type '" "std::vector< SimulationWindow * > const *""'");
56135  }
56136  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56137  result = (bool)((std::vector< SimulationWindow * > const *)arg1)->empty();
56138  resultobj = SWIG_From_bool(static_cast< bool >(result));
56139  return resultobj;
56140 fail:
56141  return NULL;
56142 }
56143 
56144 
56145 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56146  PyObject *resultobj = 0;
56147  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56148  void *argp1 = 0 ;
56149  int res1 = 0 ;
56150  PyObject * obj0 = 0 ;
56151  std::vector< SimulationWindow * >::size_type result;
56152 
56153  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr_size",&obj0)) SWIG_fail;
56154  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56155  if (!SWIG_IsOK(res1)) {
56156  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_size" "', argument " "1"" of type '" "std::vector< SimulationWindow * > const *""'");
56157  }
56158  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56159  result = ((std::vector< SimulationWindow * > const *)arg1)->size();
56160  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
56161  return resultobj;
56162 fail:
56163  return NULL;
56164 }
56165 
56166 
56167 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56168  PyObject *resultobj = 0;
56169  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56170  void *argp1 = 0 ;
56171  int res1 = 0 ;
56172  PyObject * obj0 = 0 ;
56173 
56174  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr_clear",&obj0)) SWIG_fail;
56175  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56176  if (!SWIG_IsOK(res1)) {
56177  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_clear" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56178  }
56179  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56180  (arg1)->clear();
56181  resultobj = SWIG_Py_Void();
56182  return resultobj;
56183 fail:
56184  return NULL;
56185 }
56186 
56187 
56188 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56189  PyObject *resultobj = 0;
56190  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56191  std::vector< SimulationWindow * > *arg2 = 0 ;
56192  void *argp1 = 0 ;
56193  int res1 = 0 ;
56194  void *argp2 = 0 ;
56195  int res2 = 0 ;
56196  PyObject * obj0 = 0 ;
56197  PyObject * obj1 = 0 ;
56198 
56199  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationWindowPtr_swap",&obj0,&obj1)) SWIG_fail;
56200  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56201  if (!SWIG_IsOK(res1)) {
56202  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_swap" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56203  }
56204  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56205  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 );
56206  if (!SWIG_IsOK(res2)) {
56207  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_SimulationWindowPtr_swap" "', argument " "2"" of type '" "std::vector< SimulationWindow * > &""'");
56208  }
56209  if (!argp2) {
56210  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_SimulationWindowPtr_swap" "', argument " "2"" of type '" "std::vector< SimulationWindow * > &""'");
56211  }
56212  arg2 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp2);
56213  (arg1)->swap(*arg2);
56214  resultobj = SWIG_Py_Void();
56215  return resultobj;
56216 fail:
56217  return NULL;
56218 }
56219 
56220 
56221 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56222  PyObject *resultobj = 0;
56223  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56224  void *argp1 = 0 ;
56225  int res1 = 0 ;
56226  PyObject * obj0 = 0 ;
56227  SwigValueWrapper< std::allocator< SimulationWindow * > > result;
56228 
56229  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr_get_allocator",&obj0)) SWIG_fail;
56230  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56231  if (!SWIG_IsOK(res1)) {
56232  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_get_allocator" "', argument " "1"" of type '" "std::vector< SimulationWindow * > const *""'");
56233  }
56234  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56235  result = ((std::vector< SimulationWindow * > const *)arg1)->get_allocator();
56236  resultobj = SWIG_NewPointerObj((new std::vector< SimulationWindow * >::allocator_type(static_cast< const std::vector< SimulationWindow * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_SimulationWindow_p_t, SWIG_POINTER_OWN | 0 );
56237  return resultobj;
56238 fail:
56239  return NULL;
56240 }
56241 
56242 
56243 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56244  PyObject *resultobj = 0;
56245  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56246  void *argp1 = 0 ;
56247  int res1 = 0 ;
56248  PyObject * obj0 = 0 ;
56249  std::vector< SimulationWindow * >::iterator result;
56250 
56251  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr_begin",&obj0)) SWIG_fail;
56252  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56253  if (!SWIG_IsOK(res1)) {
56254  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_begin" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56255  }
56256  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56257  result = (arg1)->begin();
56258  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< SimulationWindow * >::iterator & >(result)),
56259  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
56260  return resultobj;
56261 fail:
56262  return NULL;
56263 }
56264 
56265 
56266 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56267  PyObject *resultobj = 0;
56268  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56269  void *argp1 = 0 ;
56270  int res1 = 0 ;
56271  PyObject * obj0 = 0 ;
56272  std::vector< SimulationWindow * >::iterator result;
56273 
56274  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr_end",&obj0)) SWIG_fail;
56275  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56276  if (!SWIG_IsOK(res1)) {
56277  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_end" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56278  }
56279  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56280  result = (arg1)->end();
56281  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< SimulationWindow * >::iterator & >(result)),
56282  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
56283  return resultobj;
56284 fail:
56285  return NULL;
56286 }
56287 
56288 
56289 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56290  PyObject *resultobj = 0;
56291  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56292  void *argp1 = 0 ;
56293  int res1 = 0 ;
56294  PyObject * obj0 = 0 ;
56295  std::vector< SimulationWindow * >::reverse_iterator result;
56296 
56297  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr_rbegin",&obj0)) SWIG_fail;
56298  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56299  if (!SWIG_IsOK(res1)) {
56300  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_rbegin" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56301  }
56302  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56303  result = (arg1)->rbegin();
56304  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< SimulationWindow * >::reverse_iterator & >(result)),
56305  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
56306  return resultobj;
56307 fail:
56308  return NULL;
56309 }
56310 
56311 
56312 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56313  PyObject *resultobj = 0;
56314  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56315  void *argp1 = 0 ;
56316  int res1 = 0 ;
56317  PyObject * obj0 = 0 ;
56318  std::vector< SimulationWindow * >::reverse_iterator result;
56319 
56320  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr_rend",&obj0)) SWIG_fail;
56321  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56322  if (!SWIG_IsOK(res1)) {
56323  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_rend" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56324  }
56325  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56326  result = (arg1)->rend();
56327  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< SimulationWindow * >::reverse_iterator & >(result)),
56328  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
56329  return resultobj;
56330 fail:
56331  return NULL;
56332 }
56333 
56334 
56335 SWIGINTERN PyObject *_wrap_new_vector_SimulationWindowPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56336  PyObject *resultobj = 0;
56337  std::vector< SimulationWindow * >::size_type arg1 ;
56338  size_t val1 ;
56339  int ecode1 = 0 ;
56340  PyObject * obj0 = 0 ;
56341  std::vector< SimulationWindow * > *result = 0 ;
56342 
56343  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_SimulationWindowPtr",&obj0)) SWIG_fail;
56344  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
56345  if (!SWIG_IsOK(ecode1)) {
56346  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_SimulationWindowPtr" "', argument " "1"" of type '" "std::vector< SimulationWindow * >::size_type""'");
56347  }
56348  arg1 = static_cast< std::vector< SimulationWindow * >::size_type >(val1);
56349  result = (std::vector< SimulationWindow * > *)new std::vector< SimulationWindow * >(arg1);
56350  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, SWIG_POINTER_NEW | 0 );
56351  return resultobj;
56352 fail:
56353  return NULL;
56354 }
56355 
56356 
56357 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56358  PyObject *resultobj = 0;
56359  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56360  void *argp1 = 0 ;
56361  int res1 = 0 ;
56362  PyObject * obj0 = 0 ;
56363 
56364  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr_pop_back",&obj0)) SWIG_fail;
56365  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56366  if (!SWIG_IsOK(res1)) {
56367  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_pop_back" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56368  }
56369  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56370  (arg1)->pop_back();
56371  resultobj = SWIG_Py_Void();
56372  return resultobj;
56373 fail:
56374  return NULL;
56375 }
56376 
56377 
56378 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56379  PyObject *resultobj = 0;
56380  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56381  std::vector< SimulationWindow * >::size_type arg2 ;
56382  void *argp1 = 0 ;
56383  int res1 = 0 ;
56384  size_t val2 ;
56385  int ecode2 = 0 ;
56386  PyObject * obj0 = 0 ;
56387  PyObject * obj1 = 0 ;
56388 
56389  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationWindowPtr_resize",&obj0,&obj1)) SWIG_fail;
56390  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56391  if (!SWIG_IsOK(res1)) {
56392  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_resize" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56393  }
56394  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56395  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
56396  if (!SWIG_IsOK(ecode2)) {
56397  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationWindowPtr_resize" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::size_type""'");
56398  }
56399  arg2 = static_cast< std::vector< SimulationWindow * >::size_type >(val2);
56400  (arg1)->resize(arg2);
56401  resultobj = SWIG_Py_Void();
56402  return resultobj;
56403 fail:
56404  return NULL;
56405 }
56406 
56407 
56408 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56409  PyObject *resultobj = 0;
56410  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56411  std::vector< SimulationWindow * >::iterator arg2 ;
56412  void *argp1 = 0 ;
56413  int res1 = 0 ;
56414  swig::SwigPyIterator *iter2 = 0 ;
56415  int res2 ;
56416  PyObject * obj0 = 0 ;
56417  PyObject * obj1 = 0 ;
56418  std::vector< SimulationWindow * >::iterator result;
56419 
56420  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationWindowPtr_erase",&obj0,&obj1)) SWIG_fail;
56421  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56422  if (!SWIG_IsOK(res1)) {
56423  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_erase" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56424  }
56425  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56426  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
56427  if (!SWIG_IsOK(res2) || !iter2) {
56428  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationWindowPtr_erase" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::iterator""'");
56429  } else {
56431  if (iter_t) {
56432  arg2 = iter_t->get_current();
56433  } else {
56434  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationWindowPtr_erase" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::iterator""'");
56435  }
56436  }
56437  result = std_vector_Sl_SimulationWindow_Sm__Sg__erase__SWIG_0(arg1,arg2);
56438  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< SimulationWindow * >::iterator & >(result)),
56439  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
56440  return resultobj;
56441 fail:
56442  return NULL;
56443 }
56444 
56445 
56446 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56447  PyObject *resultobj = 0;
56448  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56449  std::vector< SimulationWindow * >::iterator arg2 ;
56450  std::vector< SimulationWindow * >::iterator arg3 ;
56451  void *argp1 = 0 ;
56452  int res1 = 0 ;
56453  swig::SwigPyIterator *iter2 = 0 ;
56454  int res2 ;
56455  swig::SwigPyIterator *iter3 = 0 ;
56456  int res3 ;
56457  PyObject * obj0 = 0 ;
56458  PyObject * obj1 = 0 ;
56459  PyObject * obj2 = 0 ;
56460  std::vector< SimulationWindow * >::iterator result;
56461 
56462  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationWindowPtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
56463  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56464  if (!SWIG_IsOK(res1)) {
56465  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_erase" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56466  }
56467  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56468  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
56469  if (!SWIG_IsOK(res2) || !iter2) {
56470  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationWindowPtr_erase" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::iterator""'");
56471  } else {
56473  if (iter_t) {
56474  arg2 = iter_t->get_current();
56475  } else {
56476  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationWindowPtr_erase" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::iterator""'");
56477  }
56478  }
56479  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
56480  if (!SWIG_IsOK(res3) || !iter3) {
56481  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationWindowPtr_erase" "', argument " "3"" of type '" "std::vector< SimulationWindow * >::iterator""'");
56482  } else {
56484  if (iter_t) {
56485  arg3 = iter_t->get_current();
56486  } else {
56487  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationWindowPtr_erase" "', argument " "3"" of type '" "std::vector< SimulationWindow * >::iterator""'");
56488  }
56489  }
56490  result = std_vector_Sl_SimulationWindow_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
56491  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< SimulationWindow * >::iterator & >(result)),
56492  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
56493  return resultobj;
56494 fail:
56495  return NULL;
56496 }
56497 
56498 
56499 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_erase(PyObject *self, PyObject *args) {
56500  int argc;
56501  PyObject *argv[4];
56502  int ii;
56503 
56504  if (!PyTuple_Check(args)) SWIG_fail;
56505  argc = args ? (int)PyObject_Length(args) : 0;
56506  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
56507  argv[ii] = PyTuple_GET_ITEM(args,ii);
56508  }
56509  if (argc == 2) {
56510  int _v;
56511  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
56512  _v = SWIG_CheckState(res);
56513  if (_v) {
56514  swig::SwigPyIterator *iter = 0;
56515  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
56516  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationWindow * >::iterator > *>(iter) != 0));
56517  if (_v) {
56518  return _wrap_vector_SimulationWindowPtr_erase__SWIG_0(self, args);
56519  }
56520  }
56521  }
56522  if (argc == 3) {
56523  int _v;
56524  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
56525  _v = SWIG_CheckState(res);
56526  if (_v) {
56527  swig::SwigPyIterator *iter = 0;
56528  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
56529  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationWindow * >::iterator > *>(iter) != 0));
56530  if (_v) {
56531  swig::SwigPyIterator *iter = 0;
56532  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
56533  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationWindow * >::iterator > *>(iter) != 0));
56534  if (_v) {
56535  return _wrap_vector_SimulationWindowPtr_erase__SWIG_1(self, args);
56536  }
56537  }
56538  }
56539  }
56540 
56541 fail:
56542  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_SimulationWindowPtr_erase'.\n"
56543  " Possible C/C++ prototypes are:\n"
56544  " std::vector< SimulationWindow * >::erase(std::vector< SimulationWindow * >::iterator)\n"
56545  " std::vector< SimulationWindow * >::erase(std::vector< SimulationWindow * >::iterator,std::vector< SimulationWindow * >::iterator)\n");
56546  return 0;
56547 }
56548 
56549 
56550 SWIGINTERN PyObject *_wrap_new_vector_SimulationWindowPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56551  PyObject *resultobj = 0;
56552  std::vector< SimulationWindow * >::size_type arg1 ;
56553  std::vector< SimulationWindow * >::value_type arg2 = (std::vector< SimulationWindow * >::value_type) 0 ;
56554  size_t val1 ;
56555  int ecode1 = 0 ;
56556  void *argp2 = 0 ;
56557  int res2 = 0 ;
56558  PyObject * obj0 = 0 ;
56559  PyObject * obj1 = 0 ;
56560  std::vector< SimulationWindow * > *result = 0 ;
56561 
56562  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_SimulationWindowPtr",&obj0,&obj1)) SWIG_fail;
56563  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
56564  if (!SWIG_IsOK(ecode1)) {
56565  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_SimulationWindowPtr" "', argument " "1"" of type '" "std::vector< SimulationWindow * >::size_type""'");
56566  }
56567  arg1 = static_cast< std::vector< SimulationWindow * >::size_type >(val1);
56568  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SimulationWindow, 0 | 0 );
56569  if (!SWIG_IsOK(res2)) {
56570  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_SimulationWindowPtr" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::value_type""'");
56571  }
56572  arg2 = reinterpret_cast< std::vector< SimulationWindow * >::value_type >(argp2);
56573  result = (std::vector< SimulationWindow * > *)new std::vector< SimulationWindow * >(arg1,arg2);
56574  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, SWIG_POINTER_NEW | 0 );
56575  return resultobj;
56576 fail:
56577  return NULL;
56578 }
56579 
56580 
56581 SWIGINTERN PyObject *_wrap_new_vector_SimulationWindowPtr(PyObject *self, PyObject *args) {
56582  int argc;
56583  PyObject *argv[3];
56584  int ii;
56585 
56586  if (!PyTuple_Check(args)) SWIG_fail;
56587  argc = args ? (int)PyObject_Length(args) : 0;
56588  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
56589  argv[ii] = PyTuple_GET_ITEM(args,ii);
56590  }
56591  if (argc == 0) {
56592  return _wrap_new_vector_SimulationWindowPtr__SWIG_0(self, args);
56593  }
56594  if (argc == 1) {
56595  int _v;
56596  {
56597  int res = SWIG_AsVal_size_t(argv[0], NULL);
56598  _v = SWIG_CheckState(res);
56599  }
56600  if (_v) {
56601  return _wrap_new_vector_SimulationWindowPtr__SWIG_2(self, args);
56602  }
56603  }
56604  if (argc == 1) {
56605  int _v;
56606  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
56607  _v = SWIG_CheckState(res);
56608  if (_v) {
56609  return _wrap_new_vector_SimulationWindowPtr__SWIG_1(self, args);
56610  }
56611  }
56612  if (argc == 2) {
56613  int _v;
56614  {
56615  int res = SWIG_AsVal_size_t(argv[0], NULL);
56616  _v = SWIG_CheckState(res);
56617  }
56618  if (_v) {
56619  void *vptr = 0;
56620  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SimulationWindow, 0);
56621  _v = SWIG_CheckState(res);
56622  if (_v) {
56623  return _wrap_new_vector_SimulationWindowPtr__SWIG_3(self, args);
56624  }
56625  }
56626  }
56627 
56628 fail:
56629  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_SimulationWindowPtr'.\n"
56630  " Possible C/C++ prototypes are:\n"
56631  " std::vector< SimulationWindow * >::vector()\n"
56632  " std::vector< SimulationWindow * >::vector(std::vector< SimulationWindow * > const &)\n"
56633  " std::vector< SimulationWindow * >::vector(std::vector< SimulationWindow * >::size_type)\n"
56634  " std::vector< SimulationWindow * >::vector(std::vector< SimulationWindow * >::size_type,std::vector< SimulationWindow * >::value_type)\n");
56635  return 0;
56636 }
56637 
56638 
56639 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56640  PyObject *resultobj = 0;
56641  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56642  std::vector< SimulationWindow * >::value_type arg2 = (std::vector< SimulationWindow * >::value_type) 0 ;
56643  void *argp1 = 0 ;
56644  int res1 = 0 ;
56645  void *argp2 = 0 ;
56646  int res2 = 0 ;
56647  PyObject * obj0 = 0 ;
56648  PyObject * obj1 = 0 ;
56649 
56650  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationWindowPtr_push_back",&obj0,&obj1)) SWIG_fail;
56651  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56652  if (!SWIG_IsOK(res1)) {
56653  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_push_back" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56654  }
56655  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56656  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SimulationWindow, 0 | 0 );
56657  if (!SWIG_IsOK(res2)) {
56658  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_SimulationWindowPtr_push_back" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::value_type""'");
56659  }
56660  arg2 = reinterpret_cast< std::vector< SimulationWindow * >::value_type >(argp2);
56661  (arg1)->push_back(arg2);
56662  resultobj = SWIG_Py_Void();
56663  return resultobj;
56664 fail:
56665  return NULL;
56666 }
56667 
56668 
56669 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56670  PyObject *resultobj = 0;
56671  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56672  void *argp1 = 0 ;
56673  int res1 = 0 ;
56674  PyObject * obj0 = 0 ;
56675  std::vector< SimulationWindow * >::value_type result;
56676 
56677  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr_front",&obj0)) SWIG_fail;
56678  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56679  if (!SWIG_IsOK(res1)) {
56680  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_front" "', argument " "1"" of type '" "std::vector< SimulationWindow * > const *""'");
56681  }
56682  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56683  result = (std::vector< SimulationWindow * >::value_type)((std::vector< SimulationWindow * > const *)arg1)->front();
56684  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SimulationWindow, 0 | 0 );
56685  return resultobj;
56686 fail:
56687  return NULL;
56688 }
56689 
56690 
56691 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56692  PyObject *resultobj = 0;
56693  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56694  void *argp1 = 0 ;
56695  int res1 = 0 ;
56696  PyObject * obj0 = 0 ;
56697  std::vector< SimulationWindow * >::value_type result;
56698 
56699  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr_back",&obj0)) SWIG_fail;
56700  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56701  if (!SWIG_IsOK(res1)) {
56702  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_back" "', argument " "1"" of type '" "std::vector< SimulationWindow * > const *""'");
56703  }
56704  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56705  result = (std::vector< SimulationWindow * >::value_type)((std::vector< SimulationWindow * > const *)arg1)->back();
56706  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SimulationWindow, 0 | 0 );
56707  return resultobj;
56708 fail:
56709  return NULL;
56710 }
56711 
56712 
56713 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56714  PyObject *resultobj = 0;
56715  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56716  std::vector< SimulationWindow * >::size_type arg2 ;
56717  std::vector< SimulationWindow * >::value_type arg3 = (std::vector< SimulationWindow * >::value_type) 0 ;
56718  void *argp1 = 0 ;
56719  int res1 = 0 ;
56720  size_t val2 ;
56721  int ecode2 = 0 ;
56722  void *argp3 = 0 ;
56723  int res3 = 0 ;
56724  PyObject * obj0 = 0 ;
56725  PyObject * obj1 = 0 ;
56726  PyObject * obj2 = 0 ;
56727 
56728  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationWindowPtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
56729  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56730  if (!SWIG_IsOK(res1)) {
56731  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_assign" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56732  }
56733  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56734  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
56735  if (!SWIG_IsOK(ecode2)) {
56736  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationWindowPtr_assign" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::size_type""'");
56737  }
56738  arg2 = static_cast< std::vector< SimulationWindow * >::size_type >(val2);
56739  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SimulationWindow, 0 | 0 );
56740  if (!SWIG_IsOK(res3)) {
56741  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_SimulationWindowPtr_assign" "', argument " "3"" of type '" "std::vector< SimulationWindow * >::value_type""'");
56742  }
56743  arg3 = reinterpret_cast< std::vector< SimulationWindow * >::value_type >(argp3);
56744  (arg1)->assign(arg2,arg3);
56745  resultobj = SWIG_Py_Void();
56746  return resultobj;
56747 fail:
56748  return NULL;
56749 }
56750 
56751 
56752 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56753  PyObject *resultobj = 0;
56754  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56755  std::vector< SimulationWindow * >::size_type arg2 ;
56756  std::vector< SimulationWindow * >::value_type arg3 = (std::vector< SimulationWindow * >::value_type) 0 ;
56757  void *argp1 = 0 ;
56758  int res1 = 0 ;
56759  size_t val2 ;
56760  int ecode2 = 0 ;
56761  void *argp3 = 0 ;
56762  int res3 = 0 ;
56763  PyObject * obj0 = 0 ;
56764  PyObject * obj1 = 0 ;
56765  PyObject * obj2 = 0 ;
56766 
56767  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationWindowPtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
56768  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56769  if (!SWIG_IsOK(res1)) {
56770  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_resize" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56771  }
56772  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56773  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
56774  if (!SWIG_IsOK(ecode2)) {
56775  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationWindowPtr_resize" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::size_type""'");
56776  }
56777  arg2 = static_cast< std::vector< SimulationWindow * >::size_type >(val2);
56778  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SimulationWindow, 0 | 0 );
56779  if (!SWIG_IsOK(res3)) {
56780  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_SimulationWindowPtr_resize" "', argument " "3"" of type '" "std::vector< SimulationWindow * >::value_type""'");
56781  }
56782  arg3 = reinterpret_cast< std::vector< SimulationWindow * >::value_type >(argp3);
56783  (arg1)->resize(arg2,arg3);
56784  resultobj = SWIG_Py_Void();
56785  return resultobj;
56786 fail:
56787  return NULL;
56788 }
56789 
56790 
56791 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_resize(PyObject *self, PyObject *args) {
56792  int argc;
56793  PyObject *argv[4];
56794  int ii;
56795 
56796  if (!PyTuple_Check(args)) SWIG_fail;
56797  argc = args ? (int)PyObject_Length(args) : 0;
56798  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
56799  argv[ii] = PyTuple_GET_ITEM(args,ii);
56800  }
56801  if (argc == 2) {
56802  int _v;
56803  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
56804  _v = SWIG_CheckState(res);
56805  if (_v) {
56806  {
56807  int res = SWIG_AsVal_size_t(argv[1], NULL);
56808  _v = SWIG_CheckState(res);
56809  }
56810  if (_v) {
56811  return _wrap_vector_SimulationWindowPtr_resize__SWIG_0(self, args);
56812  }
56813  }
56814  }
56815  if (argc == 3) {
56816  int _v;
56817  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
56818  _v = SWIG_CheckState(res);
56819  if (_v) {
56820  {
56821  int res = SWIG_AsVal_size_t(argv[1], NULL);
56822  _v = SWIG_CheckState(res);
56823  }
56824  if (_v) {
56825  void *vptr = 0;
56826  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SimulationWindow, 0);
56827  _v = SWIG_CheckState(res);
56828  if (_v) {
56829  return _wrap_vector_SimulationWindowPtr_resize__SWIG_1(self, args);
56830  }
56831  }
56832  }
56833  }
56834 
56835 fail:
56836  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_SimulationWindowPtr_resize'.\n"
56837  " Possible C/C++ prototypes are:\n"
56838  " std::vector< SimulationWindow * >::resize(std::vector< SimulationWindow * >::size_type)\n"
56839  " std::vector< SimulationWindow * >::resize(std::vector< SimulationWindow * >::size_type,std::vector< SimulationWindow * >::value_type)\n");
56840  return 0;
56841 }
56842 
56843 
56844 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56845  PyObject *resultobj = 0;
56846  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56847  std::vector< SimulationWindow * >::iterator arg2 ;
56848  std::vector< SimulationWindow * >::value_type arg3 = (std::vector< SimulationWindow * >::value_type) 0 ;
56849  void *argp1 = 0 ;
56850  int res1 = 0 ;
56851  swig::SwigPyIterator *iter2 = 0 ;
56852  int res2 ;
56853  void *argp3 = 0 ;
56854  int res3 = 0 ;
56855  PyObject * obj0 = 0 ;
56856  PyObject * obj1 = 0 ;
56857  PyObject * obj2 = 0 ;
56858  std::vector< SimulationWindow * >::iterator result;
56859 
56860  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationWindowPtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
56861  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56862  if (!SWIG_IsOK(res1)) {
56863  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_insert" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56864  }
56865  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56866  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
56867  if (!SWIG_IsOK(res2) || !iter2) {
56868  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationWindowPtr_insert" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::iterator""'");
56869  } else {
56871  if (iter_t) {
56872  arg2 = iter_t->get_current();
56873  } else {
56874  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationWindowPtr_insert" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::iterator""'");
56875  }
56876  }
56877  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SimulationWindow, 0 | 0 );
56878  if (!SWIG_IsOK(res3)) {
56879  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_SimulationWindowPtr_insert" "', argument " "3"" of type '" "std::vector< SimulationWindow * >::value_type""'");
56880  }
56881  arg3 = reinterpret_cast< std::vector< SimulationWindow * >::value_type >(argp3);
56882  result = std_vector_Sl_SimulationWindow_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
56883  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< SimulationWindow * >::iterator & >(result)),
56884  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
56885  return resultobj;
56886 fail:
56887  return NULL;
56888 }
56889 
56890 
56891 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
56892  PyObject *resultobj = 0;
56893  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
56894  std::vector< SimulationWindow * >::iterator arg2 ;
56895  std::vector< SimulationWindow * >::size_type arg3 ;
56896  std::vector< SimulationWindow * >::value_type arg4 = (std::vector< SimulationWindow * >::value_type) 0 ;
56897  void *argp1 = 0 ;
56898  int res1 = 0 ;
56899  swig::SwigPyIterator *iter2 = 0 ;
56900  int res2 ;
56901  size_t val3 ;
56902  int ecode3 = 0 ;
56903  void *argp4 = 0 ;
56904  int res4 = 0 ;
56905  PyObject * obj0 = 0 ;
56906  PyObject * obj1 = 0 ;
56907  PyObject * obj2 = 0 ;
56908  PyObject * obj3 = 0 ;
56909 
56910  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_SimulationWindowPtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
56911  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
56912  if (!SWIG_IsOK(res1)) {
56913  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_insert" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
56914  }
56915  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
56916  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
56917  if (!SWIG_IsOK(res2) || !iter2) {
56918  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationWindowPtr_insert" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::iterator""'");
56919  } else {
56921  if (iter_t) {
56922  arg2 = iter_t->get_current();
56923  } else {
56924  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationWindowPtr_insert" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::iterator""'");
56925  }
56926  }
56927  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
56928  if (!SWIG_IsOK(ecode3)) {
56929  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_SimulationWindowPtr_insert" "', argument " "3"" of type '" "std::vector< SimulationWindow * >::size_type""'");
56930  }
56931  arg3 = static_cast< std::vector< SimulationWindow * >::size_type >(val3);
56932  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SimulationWindow, 0 | 0 );
56933  if (!SWIG_IsOK(res4)) {
56934  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_SimulationWindowPtr_insert" "', argument " "4"" of type '" "std::vector< SimulationWindow * >::value_type""'");
56935  }
56936  arg4 = reinterpret_cast< std::vector< SimulationWindow * >::value_type >(argp4);
56937  std_vector_Sl_SimulationWindow_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
56938  resultobj = SWIG_Py_Void();
56939  return resultobj;
56940 fail:
56941  return NULL;
56942 }
56943 
56944 
56945 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_insert(PyObject *self, PyObject *args) {
56946  int argc;
56947  PyObject *argv[5];
56948  int ii;
56949 
56950  if (!PyTuple_Check(args)) SWIG_fail;
56951  argc = args ? (int)PyObject_Length(args) : 0;
56952  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
56953  argv[ii] = PyTuple_GET_ITEM(args,ii);
56954  }
56955  if (argc == 3) {
56956  int _v;
56957  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
56958  _v = SWIG_CheckState(res);
56959  if (_v) {
56960  swig::SwigPyIterator *iter = 0;
56961  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
56962  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationWindow * >::iterator > *>(iter) != 0));
56963  if (_v) {
56964  void *vptr = 0;
56965  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SimulationWindow, 0);
56966  _v = SWIG_CheckState(res);
56967  if (_v) {
56968  return _wrap_vector_SimulationWindowPtr_insert__SWIG_0(self, args);
56969  }
56970  }
56971  }
56972  }
56973  if (argc == 4) {
56974  int _v;
56975  int res = swig::asptr(argv[0], (std::vector<SimulationWindow*,std::allocator< SimulationWindow * > >**)(0));
56976  _v = SWIG_CheckState(res);
56977  if (_v) {
56978  swig::SwigPyIterator *iter = 0;
56979  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
56980  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationWindow * >::iterator > *>(iter) != 0));
56981  if (_v) {
56982  {
56983  int res = SWIG_AsVal_size_t(argv[2], NULL);
56984  _v = SWIG_CheckState(res);
56985  }
56986  if (_v) {
56987  void *vptr = 0;
56988  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SimulationWindow, 0);
56989  _v = SWIG_CheckState(res);
56990  if (_v) {
56991  return _wrap_vector_SimulationWindowPtr_insert__SWIG_1(self, args);
56992  }
56993  }
56994  }
56995  }
56996  }
56997 
56998 fail:
56999  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_SimulationWindowPtr_insert'.\n"
57000  " Possible C/C++ prototypes are:\n"
57001  " std::vector< SimulationWindow * >::insert(std::vector< SimulationWindow * >::iterator,std::vector< SimulationWindow * >::value_type)\n"
57002  " std::vector< SimulationWindow * >::insert(std::vector< SimulationWindow * >::iterator,std::vector< SimulationWindow * >::size_type,std::vector< SimulationWindow * >::value_type)\n");
57003  return 0;
57004 }
57005 
57006 
57007 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57008  PyObject *resultobj = 0;
57009  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
57010  std::vector< SimulationWindow * >::size_type arg2 ;
57011  void *argp1 = 0 ;
57012  int res1 = 0 ;
57013  size_t val2 ;
57014  int ecode2 = 0 ;
57015  PyObject * obj0 = 0 ;
57016  PyObject * obj1 = 0 ;
57017 
57018  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationWindowPtr_reserve",&obj0,&obj1)) SWIG_fail;
57019  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
57020  if (!SWIG_IsOK(res1)) {
57021  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_reserve" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
57022  }
57023  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
57024  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
57025  if (!SWIG_IsOK(ecode2)) {
57026  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationWindowPtr_reserve" "', argument " "2"" of type '" "std::vector< SimulationWindow * >::size_type""'");
57027  }
57028  arg2 = static_cast< std::vector< SimulationWindow * >::size_type >(val2);
57029  (arg1)->reserve(arg2);
57030  resultobj = SWIG_Py_Void();
57031  return resultobj;
57032 fail:
57033  return NULL;
57034 }
57035 
57036 
57037 SWIGINTERN PyObject *_wrap_vector_SimulationWindowPtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57038  PyObject *resultobj = 0;
57039  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
57040  void *argp1 = 0 ;
57041  int res1 = 0 ;
57042  PyObject * obj0 = 0 ;
57043  std::vector< SimulationWindow * >::size_type result;
57044 
57045  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationWindowPtr_capacity",&obj0)) SWIG_fail;
57046  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0 | 0 );
57047  if (!SWIG_IsOK(res1)) {
57048  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationWindowPtr_capacity" "', argument " "1"" of type '" "std::vector< SimulationWindow * > const *""'");
57049  }
57050  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
57051  result = ((std::vector< SimulationWindow * > const *)arg1)->capacity();
57052  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
57053  return resultobj;
57054 fail:
57055  return NULL;
57056 }
57057 
57058 
57059 SWIGINTERN PyObject *_wrap_delete_vector_SimulationWindowPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57060  PyObject *resultobj = 0;
57061  std::vector< SimulationWindow * > *arg1 = (std::vector< SimulationWindow * > *) 0 ;
57062  void *argp1 = 0 ;
57063  int res1 = 0 ;
57064  PyObject * obj0 = 0 ;
57065 
57066  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_SimulationWindowPtr",&obj0)) SWIG_fail;
57067  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, SWIG_POINTER_DISOWN | 0 );
57068  if (!SWIG_IsOK(res1)) {
57069  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_SimulationWindowPtr" "', argument " "1"" of type '" "std::vector< SimulationWindow * > *""'");
57070  }
57071  arg1 = reinterpret_cast< std::vector< SimulationWindow * > * >(argp1);
57072  {
57073  try {
57074  delete arg1;
57075  }
57076  catch(CStdErrorInfo oError)
57077  {
57078  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
57079  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
57080  PyErr_SetString(PyExc_IndexError, strError.c_str());
57081  SWIG_fail;
57082  }
57083  catch(...)
57084  {
57085  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
57086  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
57087  SWIG_fail;
57088  }
57089  }
57090  resultobj = SWIG_Py_Void();
57091  return resultobj;
57092 fail:
57093  return NULL;
57094 }
57095 
57096 
57097 SWIGINTERN PyObject *vector_SimulationWindowPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57098  PyObject *obj;
57099  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
57100  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, SWIG_NewClientData(obj));
57101  return SWIG_Py_Void();
57102 }
57103 
57104 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57105  PyObject *resultobj = 0;
57106  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57107  PyObject **arg2 = (PyObject **) 0 ;
57108  void *argp1 = 0 ;
57109  int res1 = 0 ;
57110  PyObject * obj0 = 0 ;
57111  swig::SwigPyIterator *result = 0 ;
57112 
57113  arg2 = &obj0;
57114  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr_iterator",&obj0)) SWIG_fail;
57115  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57116  if (!SWIG_IsOK(res1)) {
57117  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_iterator" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
57118  }
57119  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57120  result = (swig::SwigPyIterator *)std_vector_Sl_TypeProperty_Sm__Sg__iterator(arg1,arg2);
57121  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
57122  return resultobj;
57123 fail:
57124  return NULL;
57125 }
57126 
57127 
57128 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57129  PyObject *resultobj = 0;
57130  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57131  void *argp1 = 0 ;
57132  int res1 = 0 ;
57133  PyObject * obj0 = 0 ;
57134  bool result;
57135 
57136  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr___nonzero__",&obj0)) SWIG_fail;
57137  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57138  if (!SWIG_IsOK(res1)) {
57139  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr___nonzero__" "', argument " "1"" of type '" "std::vector< TypeProperty * > const *""'");
57140  }
57141  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57142  result = (bool)std_vector_Sl_TypeProperty_Sm__Sg____nonzero__((std::vector< TypeProperty * > const *)arg1);
57143  resultobj = SWIG_From_bool(static_cast< bool >(result));
57144  return resultobj;
57145 fail:
57146  return NULL;
57147 }
57148 
57149 
57150 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57151  PyObject *resultobj = 0;
57152  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57153  void *argp1 = 0 ;
57154  int res1 = 0 ;
57155  PyObject * obj0 = 0 ;
57156  bool result;
57157 
57158  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr___bool__",&obj0)) SWIG_fail;
57159  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57160  if (!SWIG_IsOK(res1)) {
57161  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr___bool__" "', argument " "1"" of type '" "std::vector< TypeProperty * > const *""'");
57162  }
57163  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57164  result = (bool)std_vector_Sl_TypeProperty_Sm__Sg____bool__((std::vector< TypeProperty * > const *)arg1);
57165  resultobj = SWIG_From_bool(static_cast< bool >(result));
57166  return resultobj;
57167 fail:
57168  return NULL;
57169 }
57170 
57171 
57172 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57173  PyObject *resultobj = 0;
57174  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57175  void *argp1 = 0 ;
57176  int res1 = 0 ;
57177  PyObject * obj0 = 0 ;
57178  std::vector< TypeProperty * >::size_type result;
57179 
57180  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr___len__",&obj0)) SWIG_fail;
57181  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57182  if (!SWIG_IsOK(res1)) {
57183  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr___len__" "', argument " "1"" of type '" "std::vector< TypeProperty * > const *""'");
57184  }
57185  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57186  result = std_vector_Sl_TypeProperty_Sm__Sg____len__((std::vector< TypeProperty * > const *)arg1);
57187  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
57188  return resultobj;
57189 fail:
57190  return NULL;
57191 }
57192 
57193 
57194 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57195  PyObject *resultobj = 0;
57196  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57197  void *argp1 = 0 ;
57198  int res1 = 0 ;
57199  PyObject * obj0 = 0 ;
57200  std::vector< TypeProperty * >::value_type result;
57201 
57202  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr_pop",&obj0)) SWIG_fail;
57203  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57204  if (!SWIG_IsOK(res1)) {
57205  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_pop" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
57206  }
57207  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57208  try {
57209  result = (std::vector< TypeProperty * >::value_type)std_vector_Sl_TypeProperty_Sm__Sg__pop(arg1);
57210  }
57211  catch(std::out_of_range &_e) {
57212  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
57213  }
57214 
57215  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TypeProperty, 0 | 0 );
57216  return resultobj;
57217 fail:
57218  return NULL;
57219 }
57220 
57221 
57222 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57223  PyObject *resultobj = 0;
57224  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57225  std::vector< TypeProperty * >::difference_type arg2 ;
57226  std::vector< TypeProperty * >::difference_type arg3 ;
57227  void *argp1 = 0 ;
57228  int res1 = 0 ;
57229  ptrdiff_t val2 ;
57230  int ecode2 = 0 ;
57231  ptrdiff_t val3 ;
57232  int ecode3 = 0 ;
57233  PyObject * obj0 = 0 ;
57234  PyObject * obj1 = 0 ;
57235  PyObject * obj2 = 0 ;
57236  std::vector< TypeProperty *,std::allocator< TypeProperty * > > *result = 0 ;
57237 
57238  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_TypePropertyPtr___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
57239  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57240  if (!SWIG_IsOK(res1)) {
57241  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr___getslice__" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
57242  }
57243  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57244  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
57245  if (!SWIG_IsOK(ecode2)) {
57246  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_TypePropertyPtr___getslice__" "', argument " "2"" of type '" "std::vector< TypeProperty * >::difference_type""'");
57247  }
57248  arg2 = static_cast< std::vector< TypeProperty * >::difference_type >(val2);
57249  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
57250  if (!SWIG_IsOK(ecode3)) {
57251  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_TypePropertyPtr___getslice__" "', argument " "3"" of type '" "std::vector< TypeProperty * >::difference_type""'");
57252  }
57253  arg3 = static_cast< std::vector< TypeProperty * >::difference_type >(val3);
57254  try {
57255  result = (std::vector< TypeProperty *,std::allocator< TypeProperty * > > *)std_vector_Sl_TypeProperty_Sm__Sg____getslice__(arg1,arg2,arg3);
57256  }
57257  catch(std::out_of_range &_e) {
57258  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
57259  }
57260  catch(std::invalid_argument &_e) {
57261  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
57262  }
57263 
57264  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, SWIG_POINTER_OWN | 0 );
57265  return resultobj;
57266 fail:
57267  return NULL;
57268 }
57269 
57270 
57271 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57272  PyObject *resultobj = 0;
57273  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57274  std::vector< TypeProperty * >::difference_type arg2 ;
57275  std::vector< TypeProperty * >::difference_type arg3 ;
57276  std::vector< TypeProperty *,std::allocator< TypeProperty * > > *arg4 = 0 ;
57277  void *argp1 = 0 ;
57278  int res1 = 0 ;
57279  ptrdiff_t val2 ;
57280  int ecode2 = 0 ;
57281  ptrdiff_t val3 ;
57282  int ecode3 = 0 ;
57283  int res4 = SWIG_OLDOBJ ;
57284  PyObject * obj0 = 0 ;
57285  PyObject * obj1 = 0 ;
57286  PyObject * obj2 = 0 ;
57287  PyObject * obj3 = 0 ;
57288 
57289  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_TypePropertyPtr___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
57290  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57291  if (!SWIG_IsOK(res1)) {
57292  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr___setslice__" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
57293  }
57294  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57295  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
57296  if (!SWIG_IsOK(ecode2)) {
57297  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_TypePropertyPtr___setslice__" "', argument " "2"" of type '" "std::vector< TypeProperty * >::difference_type""'");
57298  }
57299  arg2 = static_cast< std::vector< TypeProperty * >::difference_type >(val2);
57300  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
57301  if (!SWIG_IsOK(ecode3)) {
57302  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_TypePropertyPtr___setslice__" "', argument " "3"" of type '" "std::vector< TypeProperty * >::difference_type""'");
57303  }
57304  arg3 = static_cast< std::vector< TypeProperty * >::difference_type >(val3);
57305  {
57306  std::vector<TypeProperty*,std::allocator< TypeProperty * > > *ptr = (std::vector<TypeProperty*,std::allocator< TypeProperty * > > *)0;
57307  res4 = swig::asptr(obj3, &ptr);
57308  if (!SWIG_IsOK(res4)) {
57309  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_TypePropertyPtr___setslice__" "', argument " "4"" of type '" "std::vector< TypeProperty *,std::allocator< TypeProperty * > > const &""'");
57310  }
57311  if (!ptr) {
57312  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_TypePropertyPtr___setslice__" "', argument " "4"" of type '" "std::vector< TypeProperty *,std::allocator< TypeProperty * > > const &""'");
57313  }
57314  arg4 = ptr;
57315  }
57316  try {
57317  std_vector_Sl_TypeProperty_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< TypeProperty *,std::allocator< TypeProperty * > > const &)*arg4);
57318  }
57319  catch(std::out_of_range &_e) {
57320  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
57321  }
57322  catch(std::invalid_argument &_e) {
57323  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
57324  }
57325 
57326  resultobj = SWIG_Py_Void();
57327  if (SWIG_IsNewObj(res4)) delete arg4;
57328  return resultobj;
57329 fail:
57330  if (SWIG_IsNewObj(res4)) delete arg4;
57331  return NULL;
57332 }
57333 
57334 
57335 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57336  PyObject *resultobj = 0;
57337  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57338  std::vector< TypeProperty * >::difference_type arg2 ;
57339  std::vector< TypeProperty * >::difference_type arg3 ;
57340  void *argp1 = 0 ;
57341  int res1 = 0 ;
57342  ptrdiff_t val2 ;
57343  int ecode2 = 0 ;
57344  ptrdiff_t val3 ;
57345  int ecode3 = 0 ;
57346  PyObject * obj0 = 0 ;
57347  PyObject * obj1 = 0 ;
57348  PyObject * obj2 = 0 ;
57349 
57350  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_TypePropertyPtr___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
57351  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57352  if (!SWIG_IsOK(res1)) {
57353  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr___setslice__" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
57354  }
57355  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57356  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
57357  if (!SWIG_IsOK(ecode2)) {
57358  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_TypePropertyPtr___setslice__" "', argument " "2"" of type '" "std::vector< TypeProperty * >::difference_type""'");
57359  }
57360  arg2 = static_cast< std::vector< TypeProperty * >::difference_type >(val2);
57361  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
57362  if (!SWIG_IsOK(ecode3)) {
57363  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_TypePropertyPtr___setslice__" "', argument " "3"" of type '" "std::vector< TypeProperty * >::difference_type""'");
57364  }
57365  arg3 = static_cast< std::vector< TypeProperty * >::difference_type >(val3);
57366  try {
57367  std_vector_Sl_TypeProperty_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
57368  }
57369  catch(std::out_of_range &_e) {
57370  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
57371  }
57372  catch(std::invalid_argument &_e) {
57373  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
57374  }
57375 
57376  resultobj = SWIG_Py_Void();
57377  return resultobj;
57378 fail:
57379  return NULL;
57380 }
57381 
57382 
57383 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___setslice__(PyObject *self, PyObject *args) {
57384  int argc;
57385  PyObject *argv[5];
57386  int ii;
57387 
57388  if (!PyTuple_Check(args)) SWIG_fail;
57389  argc = args ? (int)PyObject_Length(args) : 0;
57390  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
57391  argv[ii] = PyTuple_GET_ITEM(args,ii);
57392  }
57393  if (argc == 3) {
57394  int _v;
57395  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
57396  _v = SWIG_CheckState(res);
57397  if (_v) {
57398  {
57399  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
57400  _v = SWIG_CheckState(res);
57401  }
57402  if (_v) {
57403  {
57404  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
57405  _v = SWIG_CheckState(res);
57406  }
57407  if (_v) {
57408  return _wrap_vector_TypePropertyPtr___setslice____SWIG_1(self, args);
57409  }
57410  }
57411  }
57412  }
57413  if (argc == 4) {
57414  int _v;
57415  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
57416  _v = SWIG_CheckState(res);
57417  if (_v) {
57418  {
57419  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
57420  _v = SWIG_CheckState(res);
57421  }
57422  if (_v) {
57423  {
57424  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
57425  _v = SWIG_CheckState(res);
57426  }
57427  if (_v) {
57428  int res = swig::asptr(argv[3], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
57429  _v = SWIG_CheckState(res);
57430  if (_v) {
57431  return _wrap_vector_TypePropertyPtr___setslice____SWIG_0(self, args);
57432  }
57433  }
57434  }
57435  }
57436  }
57437 
57438 fail:
57439  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_TypePropertyPtr___setslice__'.\n"
57440  " Possible C/C++ prototypes are:\n"
57441  " std::vector< TypeProperty * >::__setslice__(std::vector< TypeProperty * >::difference_type,std::vector< TypeProperty * >::difference_type,std::vector< TypeProperty *,std::allocator< TypeProperty * > > const &)\n"
57442  " std::vector< TypeProperty * >::__setslice__(std::vector< TypeProperty * >::difference_type,std::vector< TypeProperty * >::difference_type)\n");
57443  return 0;
57444 }
57445 
57446 
57447 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57448  PyObject *resultobj = 0;
57449  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57450  std::vector< TypeProperty * >::difference_type arg2 ;
57451  std::vector< TypeProperty * >::difference_type arg3 ;
57452  void *argp1 = 0 ;
57453  int res1 = 0 ;
57454  ptrdiff_t val2 ;
57455  int ecode2 = 0 ;
57456  ptrdiff_t val3 ;
57457  int ecode3 = 0 ;
57458  PyObject * obj0 = 0 ;
57459  PyObject * obj1 = 0 ;
57460  PyObject * obj2 = 0 ;
57461 
57462  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_TypePropertyPtr___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
57463  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57464  if (!SWIG_IsOK(res1)) {
57465  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr___delslice__" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
57466  }
57467  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57468  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
57469  if (!SWIG_IsOK(ecode2)) {
57470  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_TypePropertyPtr___delslice__" "', argument " "2"" of type '" "std::vector< TypeProperty * >::difference_type""'");
57471  }
57472  arg2 = static_cast< std::vector< TypeProperty * >::difference_type >(val2);
57473  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
57474  if (!SWIG_IsOK(ecode3)) {
57475  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_TypePropertyPtr___delslice__" "', argument " "3"" of type '" "std::vector< TypeProperty * >::difference_type""'");
57476  }
57477  arg3 = static_cast< std::vector< TypeProperty * >::difference_type >(val3);
57478  try {
57479  std_vector_Sl_TypeProperty_Sm__Sg____delslice__(arg1,arg2,arg3);
57480  }
57481  catch(std::out_of_range &_e) {
57482  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
57483  }
57484  catch(std::invalid_argument &_e) {
57485  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
57486  }
57487 
57488  resultobj = SWIG_Py_Void();
57489  return resultobj;
57490 fail:
57491  return NULL;
57492 }
57493 
57494 
57495 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57496  PyObject *resultobj = 0;
57497  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57498  std::vector< TypeProperty * >::difference_type arg2 ;
57499  void *argp1 = 0 ;
57500  int res1 = 0 ;
57501  ptrdiff_t val2 ;
57502  int ecode2 = 0 ;
57503  PyObject * obj0 = 0 ;
57504  PyObject * obj1 = 0 ;
57505 
57506  if (!PyArg_ParseTuple(args,(char *)"OO:vector_TypePropertyPtr___delitem__",&obj0,&obj1)) SWIG_fail;
57507  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57508  if (!SWIG_IsOK(res1)) {
57509  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr___delitem__" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
57510  }
57511  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57512  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
57513  if (!SWIG_IsOK(ecode2)) {
57514  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_TypePropertyPtr___delitem__" "', argument " "2"" of type '" "std::vector< TypeProperty * >::difference_type""'");
57515  }
57516  arg2 = static_cast< std::vector< TypeProperty * >::difference_type >(val2);
57517  try {
57518  std_vector_Sl_TypeProperty_Sm__Sg____delitem____SWIG_0(arg1,arg2);
57519  }
57520  catch(std::out_of_range &_e) {
57521  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
57522  }
57523 
57524  resultobj = SWIG_Py_Void();
57525  return resultobj;
57526 fail:
57527  return NULL;
57528 }
57529 
57530 
57531 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57532  PyObject *resultobj = 0;
57533  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57534  PySliceObject *arg2 = (PySliceObject *) 0 ;
57535  void *argp1 = 0 ;
57536  int res1 = 0 ;
57537  PyObject * obj0 = 0 ;
57538  PyObject * obj1 = 0 ;
57539  std::vector< TypeProperty *,std::allocator< TypeProperty * > > *result = 0 ;
57540 
57541  if (!PyArg_ParseTuple(args,(char *)"OO:vector_TypePropertyPtr___getitem__",&obj0,&obj1)) SWIG_fail;
57542  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57543  if (!SWIG_IsOK(res1)) {
57544  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr___getitem__" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
57545  }
57546  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57547  {
57548  if (!PySlice_Check(obj1)) {
57549  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_TypePropertyPtr___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
57550  }
57551  arg2 = (PySliceObject *) obj1;
57552  }
57553  try {
57554  result = (std::vector< TypeProperty *,std::allocator< TypeProperty * > > *)std_vector_Sl_TypeProperty_Sm__Sg____getitem____SWIG_0(arg1,arg2);
57555  }
57556  catch(std::out_of_range &_e) {
57557  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
57558  }
57559  catch(std::invalid_argument &_e) {
57560  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
57561  }
57562 
57563  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, SWIG_POINTER_OWN | 0 );
57564  return resultobj;
57565 fail:
57566  return NULL;
57567 }
57568 
57569 
57570 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57571  PyObject *resultobj = 0;
57572  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57573  PySliceObject *arg2 = (PySliceObject *) 0 ;
57574  std::vector< TypeProperty *,std::allocator< TypeProperty * > > *arg3 = 0 ;
57575  void *argp1 = 0 ;
57576  int res1 = 0 ;
57577  int res3 = SWIG_OLDOBJ ;
57578  PyObject * obj0 = 0 ;
57579  PyObject * obj1 = 0 ;
57580  PyObject * obj2 = 0 ;
57581 
57582  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_TypePropertyPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
57583  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57584  if (!SWIG_IsOK(res1)) {
57585  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr___setitem__" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
57586  }
57587  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57588  {
57589  if (!PySlice_Check(obj1)) {
57590  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_TypePropertyPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
57591  }
57592  arg2 = (PySliceObject *) obj1;
57593  }
57594  {
57595  std::vector<TypeProperty*,std::allocator< TypeProperty * > > *ptr = (std::vector<TypeProperty*,std::allocator< TypeProperty * > > *)0;
57596  res3 = swig::asptr(obj2, &ptr);
57597  if (!SWIG_IsOK(res3)) {
57598  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_TypePropertyPtr___setitem__" "', argument " "3"" of type '" "std::vector< TypeProperty *,std::allocator< TypeProperty * > > const &""'");
57599  }
57600  if (!ptr) {
57601  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_TypePropertyPtr___setitem__" "', argument " "3"" of type '" "std::vector< TypeProperty *,std::allocator< TypeProperty * > > const &""'");
57602  }
57603  arg3 = ptr;
57604  }
57605  try {
57606  std_vector_Sl_TypeProperty_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< TypeProperty *,std::allocator< TypeProperty * > > const &)*arg3);
57607  }
57608  catch(std::out_of_range &_e) {
57609  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
57610  }
57611  catch(std::invalid_argument &_e) {
57612  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
57613  }
57614 
57615  resultobj = SWIG_Py_Void();
57616  if (SWIG_IsNewObj(res3)) delete arg3;
57617  return resultobj;
57618 fail:
57619  if (SWIG_IsNewObj(res3)) delete arg3;
57620  return NULL;
57621 }
57622 
57623 
57624 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57625  PyObject *resultobj = 0;
57626  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57627  PySliceObject *arg2 = (PySliceObject *) 0 ;
57628  void *argp1 = 0 ;
57629  int res1 = 0 ;
57630  PyObject * obj0 = 0 ;
57631  PyObject * obj1 = 0 ;
57632 
57633  if (!PyArg_ParseTuple(args,(char *)"OO:vector_TypePropertyPtr___setitem__",&obj0,&obj1)) SWIG_fail;
57634  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57635  if (!SWIG_IsOK(res1)) {
57636  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr___setitem__" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
57637  }
57638  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57639  {
57640  if (!PySlice_Check(obj1)) {
57641  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_TypePropertyPtr___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
57642  }
57643  arg2 = (PySliceObject *) obj1;
57644  }
57645  try {
57646  std_vector_Sl_TypeProperty_Sm__Sg____setitem____SWIG_1(arg1,arg2);
57647  }
57648  catch(std::out_of_range &_e) {
57649  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
57650  }
57651  catch(std::invalid_argument &_e) {
57652  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
57653  }
57654 
57655  resultobj = SWIG_Py_Void();
57656  return resultobj;
57657 fail:
57658  return NULL;
57659 }
57660 
57661 
57662 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57663  PyObject *resultobj = 0;
57664  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57665  PySliceObject *arg2 = (PySliceObject *) 0 ;
57666  void *argp1 = 0 ;
57667  int res1 = 0 ;
57668  PyObject * obj0 = 0 ;
57669  PyObject * obj1 = 0 ;
57670 
57671  if (!PyArg_ParseTuple(args,(char *)"OO:vector_TypePropertyPtr___delitem__",&obj0,&obj1)) SWIG_fail;
57672  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57673  if (!SWIG_IsOK(res1)) {
57674  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr___delitem__" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
57675  }
57676  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57677  {
57678  if (!PySlice_Check(obj1)) {
57679  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_TypePropertyPtr___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
57680  }
57681  arg2 = (PySliceObject *) obj1;
57682  }
57683  try {
57684  std_vector_Sl_TypeProperty_Sm__Sg____delitem____SWIG_1(arg1,arg2);
57685  }
57686  catch(std::out_of_range &_e) {
57687  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
57688  }
57689  catch(std::invalid_argument &_e) {
57690  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
57691  }
57692 
57693  resultobj = SWIG_Py_Void();
57694  return resultobj;
57695 fail:
57696  return NULL;
57697 }
57698 
57699 
57700 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___delitem__(PyObject *self, PyObject *args) {
57701  int argc;
57702  PyObject *argv[3];
57703  int ii;
57704 
57705  if (!PyTuple_Check(args)) SWIG_fail;
57706  argc = args ? (int)PyObject_Length(args) : 0;
57707  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
57708  argv[ii] = PyTuple_GET_ITEM(args,ii);
57709  }
57710  if (argc == 2) {
57711  int _v;
57712  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
57713  _v = SWIG_CheckState(res);
57714  if (_v) {
57715  {
57716  _v = PySlice_Check(argv[1]);
57717  }
57718  if (_v) {
57719  return _wrap_vector_TypePropertyPtr___delitem____SWIG_1(self, args);
57720  }
57721  }
57722  }
57723  if (argc == 2) {
57724  int _v;
57725  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
57726  _v = SWIG_CheckState(res);
57727  if (_v) {
57728  {
57729  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
57730  _v = SWIG_CheckState(res);
57731  }
57732  if (_v) {
57733  return _wrap_vector_TypePropertyPtr___delitem____SWIG_0(self, args);
57734  }
57735  }
57736  }
57737 
57738 fail:
57739  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_TypePropertyPtr___delitem__'.\n"
57740  " Possible C/C++ prototypes are:\n"
57741  " std::vector< TypeProperty * >::__delitem__(std::vector< TypeProperty * >::difference_type)\n"
57742  " std::vector< TypeProperty * >::__delitem__(PySliceObject *)\n");
57743  return 0;
57744 }
57745 
57746 
57747 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57748  PyObject *resultobj = 0;
57749  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57750  std::vector< TypeProperty * >::difference_type arg2 ;
57751  void *argp1 = 0 ;
57752  int res1 = 0 ;
57753  ptrdiff_t val2 ;
57754  int ecode2 = 0 ;
57755  PyObject * obj0 = 0 ;
57756  PyObject * obj1 = 0 ;
57757  std::vector< TypeProperty * >::value_type result;
57758 
57759  if (!PyArg_ParseTuple(args,(char *)"OO:vector_TypePropertyPtr___getitem__",&obj0,&obj1)) SWIG_fail;
57760  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57761  if (!SWIG_IsOK(res1)) {
57762  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr___getitem__" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
57763  }
57764  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57765  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
57766  if (!SWIG_IsOK(ecode2)) {
57767  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_TypePropertyPtr___getitem__" "', argument " "2"" of type '" "std::vector< TypeProperty * >::difference_type""'");
57768  }
57769  arg2 = static_cast< std::vector< TypeProperty * >::difference_type >(val2);
57770  try {
57771  result = (std::vector< TypeProperty * >::value_type)std_vector_Sl_TypeProperty_Sm__Sg____getitem____SWIG_1(arg1,arg2);
57772  }
57773  catch(std::out_of_range &_e) {
57774  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
57775  }
57776 
57777  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TypeProperty, 0 | 0 );
57778  return resultobj;
57779 fail:
57780  return NULL;
57781 }
57782 
57783 
57784 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___getitem__(PyObject *self, PyObject *args) {
57785  int argc;
57786  PyObject *argv[3];
57787  int ii;
57788 
57789  if (!PyTuple_Check(args)) SWIG_fail;
57790  argc = args ? (int)PyObject_Length(args) : 0;
57791  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
57792  argv[ii] = PyTuple_GET_ITEM(args,ii);
57793  }
57794  if (argc == 2) {
57795  int _v;
57796  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
57797  _v = SWIG_CheckState(res);
57798  if (_v) {
57799  {
57800  _v = PySlice_Check(argv[1]);
57801  }
57802  if (_v) {
57803  return _wrap_vector_TypePropertyPtr___getitem____SWIG_0(self, args);
57804  }
57805  }
57806  }
57807  if (argc == 2) {
57808  int _v;
57809  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
57810  _v = SWIG_CheckState(res);
57811  if (_v) {
57812  {
57813  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
57814  _v = SWIG_CheckState(res);
57815  }
57816  if (_v) {
57817  return _wrap_vector_TypePropertyPtr___getitem____SWIG_1(self, args);
57818  }
57819  }
57820  }
57821 
57822 fail:
57823  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_TypePropertyPtr___getitem__'.\n"
57824  " Possible C/C++ prototypes are:\n"
57825  " std::vector< TypeProperty * >::__getitem__(PySliceObject *)\n"
57826  " std::vector< TypeProperty * >::__getitem__(std::vector< TypeProperty * >::difference_type)\n");
57827  return 0;
57828 }
57829 
57830 
57831 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57832  PyObject *resultobj = 0;
57833  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57834  std::vector< TypeProperty * >::difference_type arg2 ;
57835  std::vector< TypeProperty * >::value_type arg3 = (std::vector< TypeProperty * >::value_type) 0 ;
57836  void *argp1 = 0 ;
57837  int res1 = 0 ;
57838  ptrdiff_t val2 ;
57839  int ecode2 = 0 ;
57840  void *argp3 = 0 ;
57841  int res3 = 0 ;
57842  PyObject * obj0 = 0 ;
57843  PyObject * obj1 = 0 ;
57844  PyObject * obj2 = 0 ;
57845 
57846  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_TypePropertyPtr___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
57847  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57848  if (!SWIG_IsOK(res1)) {
57849  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr___setitem__" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
57850  }
57851  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57852  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
57853  if (!SWIG_IsOK(ecode2)) {
57854  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_TypePropertyPtr___setitem__" "', argument " "2"" of type '" "std::vector< TypeProperty * >::difference_type""'");
57855  }
57856  arg2 = static_cast< std::vector< TypeProperty * >::difference_type >(val2);
57857  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_TypeProperty, 0 | 0 );
57858  if (!SWIG_IsOK(res3)) {
57859  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_TypePropertyPtr___setitem__" "', argument " "3"" of type '" "std::vector< TypeProperty * >::value_type""'");
57860  }
57861  arg3 = reinterpret_cast< std::vector< TypeProperty * >::value_type >(argp3);
57862  try {
57863  std_vector_Sl_TypeProperty_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
57864  }
57865  catch(std::out_of_range &_e) {
57866  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
57867  }
57868 
57869  resultobj = SWIG_Py_Void();
57870  return resultobj;
57871 fail:
57872  return NULL;
57873 }
57874 
57875 
57876 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr___setitem__(PyObject *self, PyObject *args) {
57877  int argc;
57878  PyObject *argv[4];
57879  int ii;
57880 
57881  if (!PyTuple_Check(args)) SWIG_fail;
57882  argc = args ? (int)PyObject_Length(args) : 0;
57883  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
57884  argv[ii] = PyTuple_GET_ITEM(args,ii);
57885  }
57886  if (argc == 2) {
57887  int _v;
57888  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
57889  _v = SWIG_CheckState(res);
57890  if (_v) {
57891  {
57892  _v = PySlice_Check(argv[1]);
57893  }
57894  if (_v) {
57895  return _wrap_vector_TypePropertyPtr___setitem____SWIG_1(self, args);
57896  }
57897  }
57898  }
57899  if (argc == 3) {
57900  int _v;
57901  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
57902  _v = SWIG_CheckState(res);
57903  if (_v) {
57904  {
57905  _v = PySlice_Check(argv[1]);
57906  }
57907  if (_v) {
57908  int res = swig::asptr(argv[2], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
57909  _v = SWIG_CheckState(res);
57910  if (_v) {
57911  return _wrap_vector_TypePropertyPtr___setitem____SWIG_0(self, args);
57912  }
57913  }
57914  }
57915  }
57916  if (argc == 3) {
57917  int _v;
57918  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
57919  _v = SWIG_CheckState(res);
57920  if (_v) {
57921  {
57922  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
57923  _v = SWIG_CheckState(res);
57924  }
57925  if (_v) {
57926  void *vptr = 0;
57927  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_TypeProperty, 0);
57928  _v = SWIG_CheckState(res);
57929  if (_v) {
57930  return _wrap_vector_TypePropertyPtr___setitem____SWIG_2(self, args);
57931  }
57932  }
57933  }
57934  }
57935 
57936 fail:
57937  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_TypePropertyPtr___setitem__'.\n"
57938  " Possible C/C++ prototypes are:\n"
57939  " std::vector< TypeProperty * >::__setitem__(PySliceObject *,std::vector< TypeProperty *,std::allocator< TypeProperty * > > const &)\n"
57940  " std::vector< TypeProperty * >::__setitem__(PySliceObject *)\n"
57941  " std::vector< TypeProperty * >::__setitem__(std::vector< TypeProperty * >::difference_type,std::vector< TypeProperty * >::value_type)\n");
57942  return 0;
57943 }
57944 
57945 
57946 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57947  PyObject *resultobj = 0;
57948  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
57949  std::vector< TypeProperty * >::value_type arg2 = (std::vector< TypeProperty * >::value_type) 0 ;
57950  void *argp1 = 0 ;
57951  int res1 = 0 ;
57952  void *argp2 = 0 ;
57953  int res2 = 0 ;
57954  PyObject * obj0 = 0 ;
57955  PyObject * obj1 = 0 ;
57956 
57957  if (!PyArg_ParseTuple(args,(char *)"OO:vector_TypePropertyPtr_append",&obj0,&obj1)) SWIG_fail;
57958  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
57959  if (!SWIG_IsOK(res1)) {
57960  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_append" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
57961  }
57962  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
57963  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_TypeProperty, 0 | 0 );
57964  if (!SWIG_IsOK(res2)) {
57965  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_TypePropertyPtr_append" "', argument " "2"" of type '" "std::vector< TypeProperty * >::value_type""'");
57966  }
57967  arg2 = reinterpret_cast< std::vector< TypeProperty * >::value_type >(argp2);
57968  std_vector_Sl_TypeProperty_Sm__Sg__append(arg1,arg2);
57969  resultobj = SWIG_Py_Void();
57970  return resultobj;
57971 fail:
57972  return NULL;
57973 }
57974 
57975 
57976 SWIGINTERN PyObject *_wrap_new_vector_TypePropertyPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57977  PyObject *resultobj = 0;
57978  std::vector< TypeProperty * > *result = 0 ;
57979 
57980  if (!PyArg_ParseTuple(args,(char *)":new_vector_TypePropertyPtr")) SWIG_fail;
57981  result = (std::vector< TypeProperty * > *)new std::vector< TypeProperty * >();
57982  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, SWIG_POINTER_NEW | 0 );
57983  return resultobj;
57984 fail:
57985  return NULL;
57986 }
57987 
57988 
57989 SWIGINTERN PyObject *_wrap_new_vector_TypePropertyPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
57990  PyObject *resultobj = 0;
57991  std::vector< TypeProperty * > *arg1 = 0 ;
57992  int res1 = SWIG_OLDOBJ ;
57993  PyObject * obj0 = 0 ;
57994  std::vector< TypeProperty * > *result = 0 ;
57995 
57996  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_TypePropertyPtr",&obj0)) SWIG_fail;
57997  {
57998  std::vector<TypeProperty*,std::allocator< TypeProperty * > > *ptr = (std::vector<TypeProperty*,std::allocator< TypeProperty * > > *)0;
57999  res1 = swig::asptr(obj0, &ptr);
58000  if (!SWIG_IsOK(res1)) {
58001  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_TypePropertyPtr" "', argument " "1"" of type '" "std::vector< TypeProperty * > const &""'");
58002  }
58003  if (!ptr) {
58004  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_TypePropertyPtr" "', argument " "1"" of type '" "std::vector< TypeProperty * > const &""'");
58005  }
58006  arg1 = ptr;
58007  }
58008  result = (std::vector< TypeProperty * > *)new std::vector< TypeProperty * >((std::vector< TypeProperty * > const &)*arg1);
58009  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, SWIG_POINTER_NEW | 0 );
58010  if (SWIG_IsNewObj(res1)) delete arg1;
58011  return resultobj;
58012 fail:
58013  if (SWIG_IsNewObj(res1)) delete arg1;
58014  return NULL;
58015 }
58016 
58017 
58018 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58019  PyObject *resultobj = 0;
58020  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58021  void *argp1 = 0 ;
58022  int res1 = 0 ;
58023  PyObject * obj0 = 0 ;
58024  bool result;
58025 
58026  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr_empty",&obj0)) SWIG_fail;
58027  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58028  if (!SWIG_IsOK(res1)) {
58029  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_empty" "', argument " "1"" of type '" "std::vector< TypeProperty * > const *""'");
58030  }
58031  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58032  result = (bool)((std::vector< TypeProperty * > const *)arg1)->empty();
58033  resultobj = SWIG_From_bool(static_cast< bool >(result));
58034  return resultobj;
58035 fail:
58036  return NULL;
58037 }
58038 
58039 
58040 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58041  PyObject *resultobj = 0;
58042  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58043  void *argp1 = 0 ;
58044  int res1 = 0 ;
58045  PyObject * obj0 = 0 ;
58046  std::vector< TypeProperty * >::size_type result;
58047 
58048  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr_size",&obj0)) SWIG_fail;
58049  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58050  if (!SWIG_IsOK(res1)) {
58051  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_size" "', argument " "1"" of type '" "std::vector< TypeProperty * > const *""'");
58052  }
58053  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58054  result = ((std::vector< TypeProperty * > const *)arg1)->size();
58055  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
58056  return resultobj;
58057 fail:
58058  return NULL;
58059 }
58060 
58061 
58062 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58063  PyObject *resultobj = 0;
58064  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58065  void *argp1 = 0 ;
58066  int res1 = 0 ;
58067  PyObject * obj0 = 0 ;
58068 
58069  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr_clear",&obj0)) SWIG_fail;
58070  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58071  if (!SWIG_IsOK(res1)) {
58072  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_clear" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58073  }
58074  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58075  (arg1)->clear();
58076  resultobj = SWIG_Py_Void();
58077  return resultobj;
58078 fail:
58079  return NULL;
58080 }
58081 
58082 
58083 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58084  PyObject *resultobj = 0;
58085  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58086  std::vector< TypeProperty * > *arg2 = 0 ;
58087  void *argp1 = 0 ;
58088  int res1 = 0 ;
58089  void *argp2 = 0 ;
58090  int res2 = 0 ;
58091  PyObject * obj0 = 0 ;
58092  PyObject * obj1 = 0 ;
58093 
58094  if (!PyArg_ParseTuple(args,(char *)"OO:vector_TypePropertyPtr_swap",&obj0,&obj1)) SWIG_fail;
58095  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58096  if (!SWIG_IsOK(res1)) {
58097  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_swap" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58098  }
58099  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58100  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 );
58101  if (!SWIG_IsOK(res2)) {
58102  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_TypePropertyPtr_swap" "', argument " "2"" of type '" "std::vector< TypeProperty * > &""'");
58103  }
58104  if (!argp2) {
58105  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_TypePropertyPtr_swap" "', argument " "2"" of type '" "std::vector< TypeProperty * > &""'");
58106  }
58107  arg2 = reinterpret_cast< std::vector< TypeProperty * > * >(argp2);
58108  (arg1)->swap(*arg2);
58109  resultobj = SWIG_Py_Void();
58110  return resultobj;
58111 fail:
58112  return NULL;
58113 }
58114 
58115 
58116 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58117  PyObject *resultobj = 0;
58118  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58119  void *argp1 = 0 ;
58120  int res1 = 0 ;
58121  PyObject * obj0 = 0 ;
58122  SwigValueWrapper< std::allocator< TypeProperty * > > result;
58123 
58124  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr_get_allocator",&obj0)) SWIG_fail;
58125  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58126  if (!SWIG_IsOK(res1)) {
58127  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_get_allocator" "', argument " "1"" of type '" "std::vector< TypeProperty * > const *""'");
58128  }
58129  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58130  result = ((std::vector< TypeProperty * > const *)arg1)->get_allocator();
58131  resultobj = SWIG_NewPointerObj((new std::vector< TypeProperty * >::allocator_type(static_cast< const std::vector< TypeProperty * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_TypeProperty_p_t, SWIG_POINTER_OWN | 0 );
58132  return resultobj;
58133 fail:
58134  return NULL;
58135 }
58136 
58137 
58138 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58139  PyObject *resultobj = 0;
58140  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58141  void *argp1 = 0 ;
58142  int res1 = 0 ;
58143  PyObject * obj0 = 0 ;
58144  std::vector< TypeProperty * >::iterator result;
58145 
58146  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr_begin",&obj0)) SWIG_fail;
58147  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58148  if (!SWIG_IsOK(res1)) {
58149  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_begin" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58150  }
58151  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58152  result = (arg1)->begin();
58153  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< TypeProperty * >::iterator & >(result)),
58154  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
58155  return resultobj;
58156 fail:
58157  return NULL;
58158 }
58159 
58160 
58161 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58162  PyObject *resultobj = 0;
58163  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58164  void *argp1 = 0 ;
58165  int res1 = 0 ;
58166  PyObject * obj0 = 0 ;
58167  std::vector< TypeProperty * >::iterator result;
58168 
58169  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr_end",&obj0)) SWIG_fail;
58170  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58171  if (!SWIG_IsOK(res1)) {
58172  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_end" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58173  }
58174  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58175  result = (arg1)->end();
58176  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< TypeProperty * >::iterator & >(result)),
58177  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
58178  return resultobj;
58179 fail:
58180  return NULL;
58181 }
58182 
58183 
58184 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58185  PyObject *resultobj = 0;
58186  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58187  void *argp1 = 0 ;
58188  int res1 = 0 ;
58189  PyObject * obj0 = 0 ;
58190  std::vector< TypeProperty * >::reverse_iterator result;
58191 
58192  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr_rbegin",&obj0)) SWIG_fail;
58193  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58194  if (!SWIG_IsOK(res1)) {
58195  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_rbegin" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58196  }
58197  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58198  result = (arg1)->rbegin();
58199  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< TypeProperty * >::reverse_iterator & >(result)),
58200  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
58201  return resultobj;
58202 fail:
58203  return NULL;
58204 }
58205 
58206 
58207 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58208  PyObject *resultobj = 0;
58209  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58210  void *argp1 = 0 ;
58211  int res1 = 0 ;
58212  PyObject * obj0 = 0 ;
58213  std::vector< TypeProperty * >::reverse_iterator result;
58214 
58215  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr_rend",&obj0)) SWIG_fail;
58216  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58217  if (!SWIG_IsOK(res1)) {
58218  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_rend" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58219  }
58220  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58221  result = (arg1)->rend();
58222  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< TypeProperty * >::reverse_iterator & >(result)),
58223  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
58224  return resultobj;
58225 fail:
58226  return NULL;
58227 }
58228 
58229 
58230 SWIGINTERN PyObject *_wrap_new_vector_TypePropertyPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58231  PyObject *resultobj = 0;
58232  std::vector< TypeProperty * >::size_type arg1 ;
58233  size_t val1 ;
58234  int ecode1 = 0 ;
58235  PyObject * obj0 = 0 ;
58236  std::vector< TypeProperty * > *result = 0 ;
58237 
58238  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_TypePropertyPtr",&obj0)) SWIG_fail;
58239  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
58240  if (!SWIG_IsOK(ecode1)) {
58241  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_TypePropertyPtr" "', argument " "1"" of type '" "std::vector< TypeProperty * >::size_type""'");
58242  }
58243  arg1 = static_cast< std::vector< TypeProperty * >::size_type >(val1);
58244  result = (std::vector< TypeProperty * > *)new std::vector< TypeProperty * >(arg1);
58245  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, SWIG_POINTER_NEW | 0 );
58246  return resultobj;
58247 fail:
58248  return NULL;
58249 }
58250 
58251 
58252 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58253  PyObject *resultobj = 0;
58254  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58255  void *argp1 = 0 ;
58256  int res1 = 0 ;
58257  PyObject * obj0 = 0 ;
58258 
58259  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr_pop_back",&obj0)) SWIG_fail;
58260  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58261  if (!SWIG_IsOK(res1)) {
58262  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_pop_back" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58263  }
58264  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58265  (arg1)->pop_back();
58266  resultobj = SWIG_Py_Void();
58267  return resultobj;
58268 fail:
58269  return NULL;
58270 }
58271 
58272 
58273 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58274  PyObject *resultobj = 0;
58275  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58276  std::vector< TypeProperty * >::size_type arg2 ;
58277  void *argp1 = 0 ;
58278  int res1 = 0 ;
58279  size_t val2 ;
58280  int ecode2 = 0 ;
58281  PyObject * obj0 = 0 ;
58282  PyObject * obj1 = 0 ;
58283 
58284  if (!PyArg_ParseTuple(args,(char *)"OO:vector_TypePropertyPtr_resize",&obj0,&obj1)) SWIG_fail;
58285  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58286  if (!SWIG_IsOK(res1)) {
58287  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_resize" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58288  }
58289  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58290  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
58291  if (!SWIG_IsOK(ecode2)) {
58292  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_TypePropertyPtr_resize" "', argument " "2"" of type '" "std::vector< TypeProperty * >::size_type""'");
58293  }
58294  arg2 = static_cast< std::vector< TypeProperty * >::size_type >(val2);
58295  (arg1)->resize(arg2);
58296  resultobj = SWIG_Py_Void();
58297  return resultobj;
58298 fail:
58299  return NULL;
58300 }
58301 
58302 
58303 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58304  PyObject *resultobj = 0;
58305  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58306  std::vector< TypeProperty * >::iterator arg2 ;
58307  void *argp1 = 0 ;
58308  int res1 = 0 ;
58309  swig::SwigPyIterator *iter2 = 0 ;
58310  int res2 ;
58311  PyObject * obj0 = 0 ;
58312  PyObject * obj1 = 0 ;
58313  std::vector< TypeProperty * >::iterator result;
58314 
58315  if (!PyArg_ParseTuple(args,(char *)"OO:vector_TypePropertyPtr_erase",&obj0,&obj1)) SWIG_fail;
58316  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58317  if (!SWIG_IsOK(res1)) {
58318  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_erase" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58319  }
58320  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58321  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
58322  if (!SWIG_IsOK(res2) || !iter2) {
58323  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_TypePropertyPtr_erase" "', argument " "2"" of type '" "std::vector< TypeProperty * >::iterator""'");
58324  } else {
58326  if (iter_t) {
58327  arg2 = iter_t->get_current();
58328  } else {
58329  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_TypePropertyPtr_erase" "', argument " "2"" of type '" "std::vector< TypeProperty * >::iterator""'");
58330  }
58331  }
58332  result = std_vector_Sl_TypeProperty_Sm__Sg__erase__SWIG_0(arg1,arg2);
58333  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< TypeProperty * >::iterator & >(result)),
58334  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
58335  return resultobj;
58336 fail:
58337  return NULL;
58338 }
58339 
58340 
58341 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58342  PyObject *resultobj = 0;
58343  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58344  std::vector< TypeProperty * >::iterator arg2 ;
58345  std::vector< TypeProperty * >::iterator arg3 ;
58346  void *argp1 = 0 ;
58347  int res1 = 0 ;
58348  swig::SwigPyIterator *iter2 = 0 ;
58349  int res2 ;
58350  swig::SwigPyIterator *iter3 = 0 ;
58351  int res3 ;
58352  PyObject * obj0 = 0 ;
58353  PyObject * obj1 = 0 ;
58354  PyObject * obj2 = 0 ;
58355  std::vector< TypeProperty * >::iterator result;
58356 
58357  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_TypePropertyPtr_erase",&obj0,&obj1,&obj2)) SWIG_fail;
58358  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58359  if (!SWIG_IsOK(res1)) {
58360  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_erase" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58361  }
58362  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58363  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
58364  if (!SWIG_IsOK(res2) || !iter2) {
58365  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_TypePropertyPtr_erase" "', argument " "2"" of type '" "std::vector< TypeProperty * >::iterator""'");
58366  } else {
58368  if (iter_t) {
58369  arg2 = iter_t->get_current();
58370  } else {
58371  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_TypePropertyPtr_erase" "', argument " "2"" of type '" "std::vector< TypeProperty * >::iterator""'");
58372  }
58373  }
58374  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
58375  if (!SWIG_IsOK(res3) || !iter3) {
58376  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_TypePropertyPtr_erase" "', argument " "3"" of type '" "std::vector< TypeProperty * >::iterator""'");
58377  } else {
58379  if (iter_t) {
58380  arg3 = iter_t->get_current();
58381  } else {
58382  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_TypePropertyPtr_erase" "', argument " "3"" of type '" "std::vector< TypeProperty * >::iterator""'");
58383  }
58384  }
58385  result = std_vector_Sl_TypeProperty_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
58386  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< TypeProperty * >::iterator & >(result)),
58387  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
58388  return resultobj;
58389 fail:
58390  return NULL;
58391 }
58392 
58393 
58394 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_erase(PyObject *self, PyObject *args) {
58395  int argc;
58396  PyObject *argv[4];
58397  int ii;
58398 
58399  if (!PyTuple_Check(args)) SWIG_fail;
58400  argc = args ? (int)PyObject_Length(args) : 0;
58401  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
58402  argv[ii] = PyTuple_GET_ITEM(args,ii);
58403  }
58404  if (argc == 2) {
58405  int _v;
58406  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
58407  _v = SWIG_CheckState(res);
58408  if (_v) {
58409  swig::SwigPyIterator *iter = 0;
58410  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
58411  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< TypeProperty * >::iterator > *>(iter) != 0));
58412  if (_v) {
58413  return _wrap_vector_TypePropertyPtr_erase__SWIG_0(self, args);
58414  }
58415  }
58416  }
58417  if (argc == 3) {
58418  int _v;
58419  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
58420  _v = SWIG_CheckState(res);
58421  if (_v) {
58422  swig::SwigPyIterator *iter = 0;
58423  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
58424  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< TypeProperty * >::iterator > *>(iter) != 0));
58425  if (_v) {
58426  swig::SwigPyIterator *iter = 0;
58427  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
58428  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< TypeProperty * >::iterator > *>(iter) != 0));
58429  if (_v) {
58430  return _wrap_vector_TypePropertyPtr_erase__SWIG_1(self, args);
58431  }
58432  }
58433  }
58434  }
58435 
58436 fail:
58437  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_TypePropertyPtr_erase'.\n"
58438  " Possible C/C++ prototypes are:\n"
58439  " std::vector< TypeProperty * >::erase(std::vector< TypeProperty * >::iterator)\n"
58440  " std::vector< TypeProperty * >::erase(std::vector< TypeProperty * >::iterator,std::vector< TypeProperty * >::iterator)\n");
58441  return 0;
58442 }
58443 
58444 
58445 SWIGINTERN PyObject *_wrap_new_vector_TypePropertyPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58446  PyObject *resultobj = 0;
58447  std::vector< TypeProperty * >::size_type arg1 ;
58448  std::vector< TypeProperty * >::value_type arg2 = (std::vector< TypeProperty * >::value_type) 0 ;
58449  size_t val1 ;
58450  int ecode1 = 0 ;
58451  void *argp2 = 0 ;
58452  int res2 = 0 ;
58453  PyObject * obj0 = 0 ;
58454  PyObject * obj1 = 0 ;
58455  std::vector< TypeProperty * > *result = 0 ;
58456 
58457  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_TypePropertyPtr",&obj0,&obj1)) SWIG_fail;
58458  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
58459  if (!SWIG_IsOK(ecode1)) {
58460  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_TypePropertyPtr" "', argument " "1"" of type '" "std::vector< TypeProperty * >::size_type""'");
58461  }
58462  arg1 = static_cast< std::vector< TypeProperty * >::size_type >(val1);
58463  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_TypeProperty, 0 | 0 );
58464  if (!SWIG_IsOK(res2)) {
58465  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_TypePropertyPtr" "', argument " "2"" of type '" "std::vector< TypeProperty * >::value_type""'");
58466  }
58467  arg2 = reinterpret_cast< std::vector< TypeProperty * >::value_type >(argp2);
58468  result = (std::vector< TypeProperty * > *)new std::vector< TypeProperty * >(arg1,arg2);
58469  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, SWIG_POINTER_NEW | 0 );
58470  return resultobj;
58471 fail:
58472  return NULL;
58473 }
58474 
58475 
58476 SWIGINTERN PyObject *_wrap_new_vector_TypePropertyPtr(PyObject *self, PyObject *args) {
58477  int argc;
58478  PyObject *argv[3];
58479  int ii;
58480 
58481  if (!PyTuple_Check(args)) SWIG_fail;
58482  argc = args ? (int)PyObject_Length(args) : 0;
58483  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
58484  argv[ii] = PyTuple_GET_ITEM(args,ii);
58485  }
58486  if (argc == 0) {
58487  return _wrap_new_vector_TypePropertyPtr__SWIG_0(self, args);
58488  }
58489  if (argc == 1) {
58490  int _v;
58491  {
58492  int res = SWIG_AsVal_size_t(argv[0], NULL);
58493  _v = SWIG_CheckState(res);
58494  }
58495  if (_v) {
58496  return _wrap_new_vector_TypePropertyPtr__SWIG_2(self, args);
58497  }
58498  }
58499  if (argc == 1) {
58500  int _v;
58501  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
58502  _v = SWIG_CheckState(res);
58503  if (_v) {
58504  return _wrap_new_vector_TypePropertyPtr__SWIG_1(self, args);
58505  }
58506  }
58507  if (argc == 2) {
58508  int _v;
58509  {
58510  int res = SWIG_AsVal_size_t(argv[0], NULL);
58511  _v = SWIG_CheckState(res);
58512  }
58513  if (_v) {
58514  void *vptr = 0;
58515  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_TypeProperty, 0);
58516  _v = SWIG_CheckState(res);
58517  if (_v) {
58518  return _wrap_new_vector_TypePropertyPtr__SWIG_3(self, args);
58519  }
58520  }
58521  }
58522 
58523 fail:
58524  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_TypePropertyPtr'.\n"
58525  " Possible C/C++ prototypes are:\n"
58526  " std::vector< TypeProperty * >::vector()\n"
58527  " std::vector< TypeProperty * >::vector(std::vector< TypeProperty * > const &)\n"
58528  " std::vector< TypeProperty * >::vector(std::vector< TypeProperty * >::size_type)\n"
58529  " std::vector< TypeProperty * >::vector(std::vector< TypeProperty * >::size_type,std::vector< TypeProperty * >::value_type)\n");
58530  return 0;
58531 }
58532 
58533 
58534 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58535  PyObject *resultobj = 0;
58536  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58537  std::vector< TypeProperty * >::value_type arg2 = (std::vector< TypeProperty * >::value_type) 0 ;
58538  void *argp1 = 0 ;
58539  int res1 = 0 ;
58540  void *argp2 = 0 ;
58541  int res2 = 0 ;
58542  PyObject * obj0 = 0 ;
58543  PyObject * obj1 = 0 ;
58544 
58545  if (!PyArg_ParseTuple(args,(char *)"OO:vector_TypePropertyPtr_push_back",&obj0,&obj1)) SWIG_fail;
58546  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58547  if (!SWIG_IsOK(res1)) {
58548  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_push_back" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58549  }
58550  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58551  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_TypeProperty, 0 | 0 );
58552  if (!SWIG_IsOK(res2)) {
58553  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_TypePropertyPtr_push_back" "', argument " "2"" of type '" "std::vector< TypeProperty * >::value_type""'");
58554  }
58555  arg2 = reinterpret_cast< std::vector< TypeProperty * >::value_type >(argp2);
58556  (arg1)->push_back(arg2);
58557  resultobj = SWIG_Py_Void();
58558  return resultobj;
58559 fail:
58560  return NULL;
58561 }
58562 
58563 
58564 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58565  PyObject *resultobj = 0;
58566  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58567  void *argp1 = 0 ;
58568  int res1 = 0 ;
58569  PyObject * obj0 = 0 ;
58570  std::vector< TypeProperty * >::value_type result;
58571 
58572  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr_front",&obj0)) SWIG_fail;
58573  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58574  if (!SWIG_IsOK(res1)) {
58575  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_front" "', argument " "1"" of type '" "std::vector< TypeProperty * > const *""'");
58576  }
58577  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58578  result = (std::vector< TypeProperty * >::value_type)((std::vector< TypeProperty * > const *)arg1)->front();
58579  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TypeProperty, 0 | 0 );
58580  return resultobj;
58581 fail:
58582  return NULL;
58583 }
58584 
58585 
58586 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58587  PyObject *resultobj = 0;
58588  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58589  void *argp1 = 0 ;
58590  int res1 = 0 ;
58591  PyObject * obj0 = 0 ;
58592  std::vector< TypeProperty * >::value_type result;
58593 
58594  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr_back",&obj0)) SWIG_fail;
58595  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58596  if (!SWIG_IsOK(res1)) {
58597  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_back" "', argument " "1"" of type '" "std::vector< TypeProperty * > const *""'");
58598  }
58599  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58600  result = (std::vector< TypeProperty * >::value_type)((std::vector< TypeProperty * > const *)arg1)->back();
58601  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TypeProperty, 0 | 0 );
58602  return resultobj;
58603 fail:
58604  return NULL;
58605 }
58606 
58607 
58608 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58609  PyObject *resultobj = 0;
58610  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58611  std::vector< TypeProperty * >::size_type arg2 ;
58612  std::vector< TypeProperty * >::value_type arg3 = (std::vector< TypeProperty * >::value_type) 0 ;
58613  void *argp1 = 0 ;
58614  int res1 = 0 ;
58615  size_t val2 ;
58616  int ecode2 = 0 ;
58617  void *argp3 = 0 ;
58618  int res3 = 0 ;
58619  PyObject * obj0 = 0 ;
58620  PyObject * obj1 = 0 ;
58621  PyObject * obj2 = 0 ;
58622 
58623  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_TypePropertyPtr_assign",&obj0,&obj1,&obj2)) SWIG_fail;
58624  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58625  if (!SWIG_IsOK(res1)) {
58626  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_assign" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58627  }
58628  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58629  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
58630  if (!SWIG_IsOK(ecode2)) {
58631  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_TypePropertyPtr_assign" "', argument " "2"" of type '" "std::vector< TypeProperty * >::size_type""'");
58632  }
58633  arg2 = static_cast< std::vector< TypeProperty * >::size_type >(val2);
58634  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_TypeProperty, 0 | 0 );
58635  if (!SWIG_IsOK(res3)) {
58636  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_TypePropertyPtr_assign" "', argument " "3"" of type '" "std::vector< TypeProperty * >::value_type""'");
58637  }
58638  arg3 = reinterpret_cast< std::vector< TypeProperty * >::value_type >(argp3);
58639  (arg1)->assign(arg2,arg3);
58640  resultobj = SWIG_Py_Void();
58641  return resultobj;
58642 fail:
58643  return NULL;
58644 }
58645 
58646 
58647 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58648  PyObject *resultobj = 0;
58649  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58650  std::vector< TypeProperty * >::size_type arg2 ;
58651  std::vector< TypeProperty * >::value_type arg3 = (std::vector< TypeProperty * >::value_type) 0 ;
58652  void *argp1 = 0 ;
58653  int res1 = 0 ;
58654  size_t val2 ;
58655  int ecode2 = 0 ;
58656  void *argp3 = 0 ;
58657  int res3 = 0 ;
58658  PyObject * obj0 = 0 ;
58659  PyObject * obj1 = 0 ;
58660  PyObject * obj2 = 0 ;
58661 
58662  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_TypePropertyPtr_resize",&obj0,&obj1,&obj2)) SWIG_fail;
58663  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58664  if (!SWIG_IsOK(res1)) {
58665  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_resize" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58666  }
58667  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58668  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
58669  if (!SWIG_IsOK(ecode2)) {
58670  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_TypePropertyPtr_resize" "', argument " "2"" of type '" "std::vector< TypeProperty * >::size_type""'");
58671  }
58672  arg2 = static_cast< std::vector< TypeProperty * >::size_type >(val2);
58673  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_TypeProperty, 0 | 0 );
58674  if (!SWIG_IsOK(res3)) {
58675  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_TypePropertyPtr_resize" "', argument " "3"" of type '" "std::vector< TypeProperty * >::value_type""'");
58676  }
58677  arg3 = reinterpret_cast< std::vector< TypeProperty * >::value_type >(argp3);
58678  (arg1)->resize(arg2,arg3);
58679  resultobj = SWIG_Py_Void();
58680  return resultobj;
58681 fail:
58682  return NULL;
58683 }
58684 
58685 
58686 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_resize(PyObject *self, PyObject *args) {
58687  int argc;
58688  PyObject *argv[4];
58689  int ii;
58690 
58691  if (!PyTuple_Check(args)) SWIG_fail;
58692  argc = args ? (int)PyObject_Length(args) : 0;
58693  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
58694  argv[ii] = PyTuple_GET_ITEM(args,ii);
58695  }
58696  if (argc == 2) {
58697  int _v;
58698  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
58699  _v = SWIG_CheckState(res);
58700  if (_v) {
58701  {
58702  int res = SWIG_AsVal_size_t(argv[1], NULL);
58703  _v = SWIG_CheckState(res);
58704  }
58705  if (_v) {
58706  return _wrap_vector_TypePropertyPtr_resize__SWIG_0(self, args);
58707  }
58708  }
58709  }
58710  if (argc == 3) {
58711  int _v;
58712  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
58713  _v = SWIG_CheckState(res);
58714  if (_v) {
58715  {
58716  int res = SWIG_AsVal_size_t(argv[1], NULL);
58717  _v = SWIG_CheckState(res);
58718  }
58719  if (_v) {
58720  void *vptr = 0;
58721  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_TypeProperty, 0);
58722  _v = SWIG_CheckState(res);
58723  if (_v) {
58724  return _wrap_vector_TypePropertyPtr_resize__SWIG_1(self, args);
58725  }
58726  }
58727  }
58728  }
58729 
58730 fail:
58731  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_TypePropertyPtr_resize'.\n"
58732  " Possible C/C++ prototypes are:\n"
58733  " std::vector< TypeProperty * >::resize(std::vector< TypeProperty * >::size_type)\n"
58734  " std::vector< TypeProperty * >::resize(std::vector< TypeProperty * >::size_type,std::vector< TypeProperty * >::value_type)\n");
58735  return 0;
58736 }
58737 
58738 
58739 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58740  PyObject *resultobj = 0;
58741  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58742  std::vector< TypeProperty * >::iterator arg2 ;
58743  std::vector< TypeProperty * >::value_type arg3 = (std::vector< TypeProperty * >::value_type) 0 ;
58744  void *argp1 = 0 ;
58745  int res1 = 0 ;
58746  swig::SwigPyIterator *iter2 = 0 ;
58747  int res2 ;
58748  void *argp3 = 0 ;
58749  int res3 = 0 ;
58750  PyObject * obj0 = 0 ;
58751  PyObject * obj1 = 0 ;
58752  PyObject * obj2 = 0 ;
58753  std::vector< TypeProperty * >::iterator result;
58754 
58755  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_TypePropertyPtr_insert",&obj0,&obj1,&obj2)) SWIG_fail;
58756  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58757  if (!SWIG_IsOK(res1)) {
58758  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_insert" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58759  }
58760  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58761  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
58762  if (!SWIG_IsOK(res2) || !iter2) {
58763  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_TypePropertyPtr_insert" "', argument " "2"" of type '" "std::vector< TypeProperty * >::iterator""'");
58764  } else {
58766  if (iter_t) {
58767  arg2 = iter_t->get_current();
58768  } else {
58769  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_TypePropertyPtr_insert" "', argument " "2"" of type '" "std::vector< TypeProperty * >::iterator""'");
58770  }
58771  }
58772  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_TypeProperty, 0 | 0 );
58773  if (!SWIG_IsOK(res3)) {
58774  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_TypePropertyPtr_insert" "', argument " "3"" of type '" "std::vector< TypeProperty * >::value_type""'");
58775  }
58776  arg3 = reinterpret_cast< std::vector< TypeProperty * >::value_type >(argp3);
58777  result = std_vector_Sl_TypeProperty_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
58778  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< TypeProperty * >::iterator & >(result)),
58779  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
58780  return resultobj;
58781 fail:
58782  return NULL;
58783 }
58784 
58785 
58786 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58787  PyObject *resultobj = 0;
58788  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58789  std::vector< TypeProperty * >::iterator arg2 ;
58790  std::vector< TypeProperty * >::size_type arg3 ;
58791  std::vector< TypeProperty * >::value_type arg4 = (std::vector< TypeProperty * >::value_type) 0 ;
58792  void *argp1 = 0 ;
58793  int res1 = 0 ;
58794  swig::SwigPyIterator *iter2 = 0 ;
58795  int res2 ;
58796  size_t val3 ;
58797  int ecode3 = 0 ;
58798  void *argp4 = 0 ;
58799  int res4 = 0 ;
58800  PyObject * obj0 = 0 ;
58801  PyObject * obj1 = 0 ;
58802  PyObject * obj2 = 0 ;
58803  PyObject * obj3 = 0 ;
58804 
58805  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_TypePropertyPtr_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
58806  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58807  if (!SWIG_IsOK(res1)) {
58808  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_insert" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58809  }
58810  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58811  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
58812  if (!SWIG_IsOK(res2) || !iter2) {
58813  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_TypePropertyPtr_insert" "', argument " "2"" of type '" "std::vector< TypeProperty * >::iterator""'");
58814  } else {
58816  if (iter_t) {
58817  arg2 = iter_t->get_current();
58818  } else {
58819  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_TypePropertyPtr_insert" "', argument " "2"" of type '" "std::vector< TypeProperty * >::iterator""'");
58820  }
58821  }
58822  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
58823  if (!SWIG_IsOK(ecode3)) {
58824  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_TypePropertyPtr_insert" "', argument " "3"" of type '" "std::vector< TypeProperty * >::size_type""'");
58825  }
58826  arg3 = static_cast< std::vector< TypeProperty * >::size_type >(val3);
58827  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_TypeProperty, 0 | 0 );
58828  if (!SWIG_IsOK(res4)) {
58829  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_TypePropertyPtr_insert" "', argument " "4"" of type '" "std::vector< TypeProperty * >::value_type""'");
58830  }
58831  arg4 = reinterpret_cast< std::vector< TypeProperty * >::value_type >(argp4);
58832  std_vector_Sl_TypeProperty_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
58833  resultobj = SWIG_Py_Void();
58834  return resultobj;
58835 fail:
58836  return NULL;
58837 }
58838 
58839 
58840 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_insert(PyObject *self, PyObject *args) {
58841  int argc;
58842  PyObject *argv[5];
58843  int ii;
58844 
58845  if (!PyTuple_Check(args)) SWIG_fail;
58846  argc = args ? (int)PyObject_Length(args) : 0;
58847  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
58848  argv[ii] = PyTuple_GET_ITEM(args,ii);
58849  }
58850  if (argc == 3) {
58851  int _v;
58852  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
58853  _v = SWIG_CheckState(res);
58854  if (_v) {
58855  swig::SwigPyIterator *iter = 0;
58856  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
58857  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< TypeProperty * >::iterator > *>(iter) != 0));
58858  if (_v) {
58859  void *vptr = 0;
58860  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_TypeProperty, 0);
58861  _v = SWIG_CheckState(res);
58862  if (_v) {
58863  return _wrap_vector_TypePropertyPtr_insert__SWIG_0(self, args);
58864  }
58865  }
58866  }
58867  }
58868  if (argc == 4) {
58869  int _v;
58870  int res = swig::asptr(argv[0], (std::vector<TypeProperty*,std::allocator< TypeProperty * > >**)(0));
58871  _v = SWIG_CheckState(res);
58872  if (_v) {
58873  swig::SwigPyIterator *iter = 0;
58874  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
58875  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< TypeProperty * >::iterator > *>(iter) != 0));
58876  if (_v) {
58877  {
58878  int res = SWIG_AsVal_size_t(argv[2], NULL);
58879  _v = SWIG_CheckState(res);
58880  }
58881  if (_v) {
58882  void *vptr = 0;
58883  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_TypeProperty, 0);
58884  _v = SWIG_CheckState(res);
58885  if (_v) {
58886  return _wrap_vector_TypePropertyPtr_insert__SWIG_1(self, args);
58887  }
58888  }
58889  }
58890  }
58891  }
58892 
58893 fail:
58894  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_TypePropertyPtr_insert'.\n"
58895  " Possible C/C++ prototypes are:\n"
58896  " std::vector< TypeProperty * >::insert(std::vector< TypeProperty * >::iterator,std::vector< TypeProperty * >::value_type)\n"
58897  " std::vector< TypeProperty * >::insert(std::vector< TypeProperty * >::iterator,std::vector< TypeProperty * >::size_type,std::vector< TypeProperty * >::value_type)\n");
58898  return 0;
58899 }
58900 
58901 
58902 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58903  PyObject *resultobj = 0;
58904  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58905  std::vector< TypeProperty * >::size_type arg2 ;
58906  void *argp1 = 0 ;
58907  int res1 = 0 ;
58908  size_t val2 ;
58909  int ecode2 = 0 ;
58910  PyObject * obj0 = 0 ;
58911  PyObject * obj1 = 0 ;
58912 
58913  if (!PyArg_ParseTuple(args,(char *)"OO:vector_TypePropertyPtr_reserve",&obj0,&obj1)) SWIG_fail;
58914  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58915  if (!SWIG_IsOK(res1)) {
58916  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_reserve" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58917  }
58918  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58919  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
58920  if (!SWIG_IsOK(ecode2)) {
58921  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_TypePropertyPtr_reserve" "', argument " "2"" of type '" "std::vector< TypeProperty * >::size_type""'");
58922  }
58923  arg2 = static_cast< std::vector< TypeProperty * >::size_type >(val2);
58924  (arg1)->reserve(arg2);
58925  resultobj = SWIG_Py_Void();
58926  return resultobj;
58927 fail:
58928  return NULL;
58929 }
58930 
58931 
58932 SWIGINTERN PyObject *_wrap_vector_TypePropertyPtr_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58933  PyObject *resultobj = 0;
58934  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58935  void *argp1 = 0 ;
58936  int res1 = 0 ;
58937  PyObject * obj0 = 0 ;
58938  std::vector< TypeProperty * >::size_type result;
58939 
58940  if (!PyArg_ParseTuple(args,(char *)"O:vector_TypePropertyPtr_capacity",&obj0)) SWIG_fail;
58941  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0 | 0 );
58942  if (!SWIG_IsOK(res1)) {
58943  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_TypePropertyPtr_capacity" "', argument " "1"" of type '" "std::vector< TypeProperty * > const *""'");
58944  }
58945  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58946  result = ((std::vector< TypeProperty * > const *)arg1)->capacity();
58947  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
58948  return resultobj;
58949 fail:
58950  return NULL;
58951 }
58952 
58953 
58954 SWIGINTERN PyObject *_wrap_delete_vector_TypePropertyPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58955  PyObject *resultobj = 0;
58956  std::vector< TypeProperty * > *arg1 = (std::vector< TypeProperty * > *) 0 ;
58957  void *argp1 = 0 ;
58958  int res1 = 0 ;
58959  PyObject * obj0 = 0 ;
58960 
58961  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_TypePropertyPtr",&obj0)) SWIG_fail;
58962  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, SWIG_POINTER_DISOWN | 0 );
58963  if (!SWIG_IsOK(res1)) {
58964  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_TypePropertyPtr" "', argument " "1"" of type '" "std::vector< TypeProperty * > *""'");
58965  }
58966  arg1 = reinterpret_cast< std::vector< TypeProperty * > * >(argp1);
58967  {
58968  try {
58969  delete arg1;
58970  }
58971  catch(CStdErrorInfo oError)
58972  {
58973  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
58974  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
58975  PyErr_SetString(PyExc_IndexError, strError.c_str());
58976  SWIG_fail;
58977  }
58978  catch(...)
58979  {
58980  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
58981  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
58982  SWIG_fail;
58983  }
58984  }
58985  resultobj = SWIG_Py_Void();
58986  return resultobj;
58987 fail:
58988  return NULL;
58989 }
58990 
58991 
58992 SWIGINTERN PyObject *vector_TypePropertyPtr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
58993  PyObject *obj;
58994  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
58995  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, SWIG_NewClientData(obj));
58996  return SWIG_Py_Void();
58997 }
58998 
58999 SWIGINTERN PyObject *_wrap_vector_SimulationThread_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59000  PyObject *resultobj = 0;
59001  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59002  PyObject **arg2 = (PyObject **) 0 ;
59003  void *argp1 = 0 ;
59004  int res1 = 0 ;
59005  PyObject * obj0 = 0 ;
59006  swig::SwigPyIterator *result = 0 ;
59007 
59008  arg2 = &obj0;
59009  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread_iterator",&obj0)) SWIG_fail;
59010  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59011  if (!SWIG_IsOK(res1)) {
59012  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_iterator" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59013  }
59014  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59015  result = (swig::SwigPyIterator *)std_vector_Sl_SimulationThread_Sm__Sg__iterator(arg1,arg2);
59016  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
59017  return resultobj;
59018 fail:
59019  return NULL;
59020 }
59021 
59022 
59023 SWIGINTERN PyObject *_wrap_vector_SimulationThread___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59024  PyObject *resultobj = 0;
59025  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59026  void *argp1 = 0 ;
59027  int res1 = 0 ;
59028  PyObject * obj0 = 0 ;
59029  bool result;
59030 
59031  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread___nonzero__",&obj0)) SWIG_fail;
59032  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59033  if (!SWIG_IsOK(res1)) {
59034  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread___nonzero__" "', argument " "1"" of type '" "std::vector< SimulationThread * > const *""'");
59035  }
59036  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59037  result = (bool)std_vector_Sl_SimulationThread_Sm__Sg____nonzero__((std::vector< SimulationThread * > const *)arg1);
59038  resultobj = SWIG_From_bool(static_cast< bool >(result));
59039  return resultobj;
59040 fail:
59041  return NULL;
59042 }
59043 
59044 
59045 SWIGINTERN PyObject *_wrap_vector_SimulationThread___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59046  PyObject *resultobj = 0;
59047  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59048  void *argp1 = 0 ;
59049  int res1 = 0 ;
59050  PyObject * obj0 = 0 ;
59051  bool result;
59052 
59053  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread___bool__",&obj0)) SWIG_fail;
59054  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59055  if (!SWIG_IsOK(res1)) {
59056  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread___bool__" "', argument " "1"" of type '" "std::vector< SimulationThread * > const *""'");
59057  }
59058  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59059  result = (bool)std_vector_Sl_SimulationThread_Sm__Sg____bool__((std::vector< SimulationThread * > const *)arg1);
59060  resultobj = SWIG_From_bool(static_cast< bool >(result));
59061  return resultobj;
59062 fail:
59063  return NULL;
59064 }
59065 
59066 
59067 SWIGINTERN PyObject *_wrap_vector_SimulationThread___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59068  PyObject *resultobj = 0;
59069  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59070  void *argp1 = 0 ;
59071  int res1 = 0 ;
59072  PyObject * obj0 = 0 ;
59073  std::vector< SimulationThread * >::size_type result;
59074 
59075  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread___len__",&obj0)) SWIG_fail;
59076  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59077  if (!SWIG_IsOK(res1)) {
59078  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread___len__" "', argument " "1"" of type '" "std::vector< SimulationThread * > const *""'");
59079  }
59080  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59081  result = std_vector_Sl_SimulationThread_Sm__Sg____len__((std::vector< SimulationThread * > const *)arg1);
59082  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
59083  return resultobj;
59084 fail:
59085  return NULL;
59086 }
59087 
59088 
59089 SWIGINTERN PyObject *_wrap_vector_SimulationThread_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59090  PyObject *resultobj = 0;
59091  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59092  void *argp1 = 0 ;
59093  int res1 = 0 ;
59094  PyObject * obj0 = 0 ;
59095  std::vector< SimulationThread * >::value_type result;
59096 
59097  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread_pop",&obj0)) SWIG_fail;
59098  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59099  if (!SWIG_IsOK(res1)) {
59100  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_pop" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59101  }
59102  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59103  try {
59104  result = (std::vector< SimulationThread * >::value_type)std_vector_Sl_SimulationThread_Sm__Sg__pop(arg1);
59105  }
59106  catch(std::out_of_range &_e) {
59107  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
59108  }
59109 
59110  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SimulationThread, 0 | 0 );
59111  return resultobj;
59112 fail:
59113  return NULL;
59114 }
59115 
59116 
59117 SWIGINTERN PyObject *_wrap_vector_SimulationThread___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59118  PyObject *resultobj = 0;
59119  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59120  std::vector< SimulationThread * >::difference_type arg2 ;
59121  std::vector< SimulationThread * >::difference_type arg3 ;
59122  void *argp1 = 0 ;
59123  int res1 = 0 ;
59124  ptrdiff_t val2 ;
59125  int ecode2 = 0 ;
59126  ptrdiff_t val3 ;
59127  int ecode3 = 0 ;
59128  PyObject * obj0 = 0 ;
59129  PyObject * obj1 = 0 ;
59130  PyObject * obj2 = 0 ;
59131  std::vector< SimulationThread *,std::allocator< SimulationThread * > > *result = 0 ;
59132 
59133  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationThread___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
59134  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59135  if (!SWIG_IsOK(res1)) {
59136  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread___getslice__" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59137  }
59138  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59139  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
59140  if (!SWIG_IsOK(ecode2)) {
59141  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationThread___getslice__" "', argument " "2"" of type '" "std::vector< SimulationThread * >::difference_type""'");
59142  }
59143  arg2 = static_cast< std::vector< SimulationThread * >::difference_type >(val2);
59144  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
59145  if (!SWIG_IsOK(ecode3)) {
59146  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_SimulationThread___getslice__" "', argument " "3"" of type '" "std::vector< SimulationThread * >::difference_type""'");
59147  }
59148  arg3 = static_cast< std::vector< SimulationThread * >::difference_type >(val3);
59149  try {
59150  result = (std::vector< SimulationThread *,std::allocator< SimulationThread * > > *)std_vector_Sl_SimulationThread_Sm__Sg____getslice__(arg1,arg2,arg3);
59151  }
59152  catch(std::out_of_range &_e) {
59153  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
59154  }
59155  catch(std::invalid_argument &_e) {
59156  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
59157  }
59158 
59159  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, SWIG_POINTER_OWN | 0 );
59160  return resultobj;
59161 fail:
59162  return NULL;
59163 }
59164 
59165 
59166 SWIGINTERN PyObject *_wrap_vector_SimulationThread___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59167  PyObject *resultobj = 0;
59168  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59169  std::vector< SimulationThread * >::difference_type arg2 ;
59170  std::vector< SimulationThread * >::difference_type arg3 ;
59171  std::vector< SimulationThread *,std::allocator< SimulationThread * > > *arg4 = 0 ;
59172  void *argp1 = 0 ;
59173  int res1 = 0 ;
59174  ptrdiff_t val2 ;
59175  int ecode2 = 0 ;
59176  ptrdiff_t val3 ;
59177  int ecode3 = 0 ;
59178  int res4 = SWIG_OLDOBJ ;
59179  PyObject * obj0 = 0 ;
59180  PyObject * obj1 = 0 ;
59181  PyObject * obj2 = 0 ;
59182  PyObject * obj3 = 0 ;
59183 
59184  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_SimulationThread___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
59185  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59186  if (!SWIG_IsOK(res1)) {
59187  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread___setslice__" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59188  }
59189  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59190  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
59191  if (!SWIG_IsOK(ecode2)) {
59192  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationThread___setslice__" "', argument " "2"" of type '" "std::vector< SimulationThread * >::difference_type""'");
59193  }
59194  arg2 = static_cast< std::vector< SimulationThread * >::difference_type >(val2);
59195  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
59196  if (!SWIG_IsOK(ecode3)) {
59197  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_SimulationThread___setslice__" "', argument " "3"" of type '" "std::vector< SimulationThread * >::difference_type""'");
59198  }
59199  arg3 = static_cast< std::vector< SimulationThread * >::difference_type >(val3);
59200  {
59201  std::vector<SimulationThread*,std::allocator< SimulationThread * > > *ptr = (std::vector<SimulationThread*,std::allocator< SimulationThread * > > *)0;
59202  res4 = swig::asptr(obj3, &ptr);
59203  if (!SWIG_IsOK(res4)) {
59204  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_SimulationThread___setslice__" "', argument " "4"" of type '" "std::vector< SimulationThread *,std::allocator< SimulationThread * > > const &""'");
59205  }
59206  if (!ptr) {
59207  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_SimulationThread___setslice__" "', argument " "4"" of type '" "std::vector< SimulationThread *,std::allocator< SimulationThread * > > const &""'");
59208  }
59209  arg4 = ptr;
59210  }
59211  try {
59212  std_vector_Sl_SimulationThread_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< SimulationThread *,std::allocator< SimulationThread * > > const &)*arg4);
59213  }
59214  catch(std::out_of_range &_e) {
59215  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
59216  }
59217  catch(std::invalid_argument &_e) {
59218  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
59219  }
59220 
59221  resultobj = SWIG_Py_Void();
59222  if (SWIG_IsNewObj(res4)) delete arg4;
59223  return resultobj;
59224 fail:
59225  if (SWIG_IsNewObj(res4)) delete arg4;
59226  return NULL;
59227 }
59228 
59229 
59230 SWIGINTERN PyObject *_wrap_vector_SimulationThread___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59231  PyObject *resultobj = 0;
59232  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59233  std::vector< SimulationThread * >::difference_type arg2 ;
59234  std::vector< SimulationThread * >::difference_type arg3 ;
59235  void *argp1 = 0 ;
59236  int res1 = 0 ;
59237  ptrdiff_t val2 ;
59238  int ecode2 = 0 ;
59239  ptrdiff_t val3 ;
59240  int ecode3 = 0 ;
59241  PyObject * obj0 = 0 ;
59242  PyObject * obj1 = 0 ;
59243  PyObject * obj2 = 0 ;
59244 
59245  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationThread___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
59246  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59247  if (!SWIG_IsOK(res1)) {
59248  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread___setslice__" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59249  }
59250  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59251  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
59252  if (!SWIG_IsOK(ecode2)) {
59253  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationThread___setslice__" "', argument " "2"" of type '" "std::vector< SimulationThread * >::difference_type""'");
59254  }
59255  arg2 = static_cast< std::vector< SimulationThread * >::difference_type >(val2);
59256  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
59257  if (!SWIG_IsOK(ecode3)) {
59258  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_SimulationThread___setslice__" "', argument " "3"" of type '" "std::vector< SimulationThread * >::difference_type""'");
59259  }
59260  arg3 = static_cast< std::vector< SimulationThread * >::difference_type >(val3);
59261  try {
59262  std_vector_Sl_SimulationThread_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
59263  }
59264  catch(std::out_of_range &_e) {
59265  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
59266  }
59267  catch(std::invalid_argument &_e) {
59268  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
59269  }
59270 
59271  resultobj = SWIG_Py_Void();
59272  return resultobj;
59273 fail:
59274  return NULL;
59275 }
59276 
59277 
59278 SWIGINTERN PyObject *_wrap_vector_SimulationThread___setslice__(PyObject *self, PyObject *args) {
59279  int argc;
59280  PyObject *argv[5];
59281  int ii;
59282 
59283  if (!PyTuple_Check(args)) SWIG_fail;
59284  argc = args ? (int)PyObject_Length(args) : 0;
59285  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
59286  argv[ii] = PyTuple_GET_ITEM(args,ii);
59287  }
59288  if (argc == 3) {
59289  int _v;
59290  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
59291  _v = SWIG_CheckState(res);
59292  if (_v) {
59293  {
59294  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
59295  _v = SWIG_CheckState(res);
59296  }
59297  if (_v) {
59298  {
59299  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
59300  _v = SWIG_CheckState(res);
59301  }
59302  if (_v) {
59303  return _wrap_vector_SimulationThread___setslice____SWIG_1(self, args);
59304  }
59305  }
59306  }
59307  }
59308  if (argc == 4) {
59309  int _v;
59310  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
59311  _v = SWIG_CheckState(res);
59312  if (_v) {
59313  {
59314  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
59315  _v = SWIG_CheckState(res);
59316  }
59317  if (_v) {
59318  {
59319  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
59320  _v = SWIG_CheckState(res);
59321  }
59322  if (_v) {
59323  int res = swig::asptr(argv[3], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
59324  _v = SWIG_CheckState(res);
59325  if (_v) {
59326  return _wrap_vector_SimulationThread___setslice____SWIG_0(self, args);
59327  }
59328  }
59329  }
59330  }
59331  }
59332 
59333 fail:
59334  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_SimulationThread___setslice__'.\n"
59335  " Possible C/C++ prototypes are:\n"
59336  " std::vector< SimulationThread * >::__setslice__(std::vector< SimulationThread * >::difference_type,std::vector< SimulationThread * >::difference_type,std::vector< SimulationThread *,std::allocator< SimulationThread * > > const &)\n"
59337  " std::vector< SimulationThread * >::__setslice__(std::vector< SimulationThread * >::difference_type,std::vector< SimulationThread * >::difference_type)\n");
59338  return 0;
59339 }
59340 
59341 
59342 SWIGINTERN PyObject *_wrap_vector_SimulationThread___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59343  PyObject *resultobj = 0;
59344  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59345  std::vector< SimulationThread * >::difference_type arg2 ;
59346  std::vector< SimulationThread * >::difference_type arg3 ;
59347  void *argp1 = 0 ;
59348  int res1 = 0 ;
59349  ptrdiff_t val2 ;
59350  int ecode2 = 0 ;
59351  ptrdiff_t val3 ;
59352  int ecode3 = 0 ;
59353  PyObject * obj0 = 0 ;
59354  PyObject * obj1 = 0 ;
59355  PyObject * obj2 = 0 ;
59356 
59357  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationThread___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
59358  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59359  if (!SWIG_IsOK(res1)) {
59360  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread___delslice__" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59361  }
59362  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59363  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
59364  if (!SWIG_IsOK(ecode2)) {
59365  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationThread___delslice__" "', argument " "2"" of type '" "std::vector< SimulationThread * >::difference_type""'");
59366  }
59367  arg2 = static_cast< std::vector< SimulationThread * >::difference_type >(val2);
59368  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
59369  if (!SWIG_IsOK(ecode3)) {
59370  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_SimulationThread___delslice__" "', argument " "3"" of type '" "std::vector< SimulationThread * >::difference_type""'");
59371  }
59372  arg3 = static_cast< std::vector< SimulationThread * >::difference_type >(val3);
59373  try {
59374  std_vector_Sl_SimulationThread_Sm__Sg____delslice__(arg1,arg2,arg3);
59375  }
59376  catch(std::out_of_range &_e) {
59377  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
59378  }
59379  catch(std::invalid_argument &_e) {
59380  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
59381  }
59382 
59383  resultobj = SWIG_Py_Void();
59384  return resultobj;
59385 fail:
59386  return NULL;
59387 }
59388 
59389 
59390 SWIGINTERN PyObject *_wrap_vector_SimulationThread___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59391  PyObject *resultobj = 0;
59392  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59393  std::vector< SimulationThread * >::difference_type arg2 ;
59394  void *argp1 = 0 ;
59395  int res1 = 0 ;
59396  ptrdiff_t val2 ;
59397  int ecode2 = 0 ;
59398  PyObject * obj0 = 0 ;
59399  PyObject * obj1 = 0 ;
59400 
59401  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationThread___delitem__",&obj0,&obj1)) SWIG_fail;
59402  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59403  if (!SWIG_IsOK(res1)) {
59404  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread___delitem__" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59405  }
59406  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59407  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
59408  if (!SWIG_IsOK(ecode2)) {
59409  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationThread___delitem__" "', argument " "2"" of type '" "std::vector< SimulationThread * >::difference_type""'");
59410  }
59411  arg2 = static_cast< std::vector< SimulationThread * >::difference_type >(val2);
59412  try {
59413  std_vector_Sl_SimulationThread_Sm__Sg____delitem____SWIG_0(arg1,arg2);
59414  }
59415  catch(std::out_of_range &_e) {
59416  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
59417  }
59418 
59419  resultobj = SWIG_Py_Void();
59420  return resultobj;
59421 fail:
59422  return NULL;
59423 }
59424 
59425 
59426 SWIGINTERN PyObject *_wrap_vector_SimulationThread___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59427  PyObject *resultobj = 0;
59428  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59429  PySliceObject *arg2 = (PySliceObject *) 0 ;
59430  void *argp1 = 0 ;
59431  int res1 = 0 ;
59432  PyObject * obj0 = 0 ;
59433  PyObject * obj1 = 0 ;
59434  std::vector< SimulationThread *,std::allocator< SimulationThread * > > *result = 0 ;
59435 
59436  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationThread___getitem__",&obj0,&obj1)) SWIG_fail;
59437  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59438  if (!SWIG_IsOK(res1)) {
59439  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread___getitem__" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59440  }
59441  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59442  {
59443  if (!PySlice_Check(obj1)) {
59444  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationThread___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
59445  }
59446  arg2 = (PySliceObject *) obj1;
59447  }
59448  try {
59449  result = (std::vector< SimulationThread *,std::allocator< SimulationThread * > > *)std_vector_Sl_SimulationThread_Sm__Sg____getitem____SWIG_0(arg1,arg2);
59450  }
59451  catch(std::out_of_range &_e) {
59452  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
59453  }
59454  catch(std::invalid_argument &_e) {
59455  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
59456  }
59457 
59458  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, SWIG_POINTER_OWN | 0 );
59459  return resultobj;
59460 fail:
59461  return NULL;
59462 }
59463 
59464 
59465 SWIGINTERN PyObject *_wrap_vector_SimulationThread___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59466  PyObject *resultobj = 0;
59467  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59468  PySliceObject *arg2 = (PySliceObject *) 0 ;
59469  std::vector< SimulationThread *,std::allocator< SimulationThread * > > *arg3 = 0 ;
59470  void *argp1 = 0 ;
59471  int res1 = 0 ;
59472  int res3 = SWIG_OLDOBJ ;
59473  PyObject * obj0 = 0 ;
59474  PyObject * obj1 = 0 ;
59475  PyObject * obj2 = 0 ;
59476 
59477  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationThread___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
59478  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59479  if (!SWIG_IsOK(res1)) {
59480  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread___setitem__" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59481  }
59482  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59483  {
59484  if (!PySlice_Check(obj1)) {
59485  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationThread___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
59486  }
59487  arg2 = (PySliceObject *) obj1;
59488  }
59489  {
59490  std::vector<SimulationThread*,std::allocator< SimulationThread * > > *ptr = (std::vector<SimulationThread*,std::allocator< SimulationThread * > > *)0;
59491  res3 = swig::asptr(obj2, &ptr);
59492  if (!SWIG_IsOK(res3)) {
59493  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_SimulationThread___setitem__" "', argument " "3"" of type '" "std::vector< SimulationThread *,std::allocator< SimulationThread * > > const &""'");
59494  }
59495  if (!ptr) {
59496  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_SimulationThread___setitem__" "', argument " "3"" of type '" "std::vector< SimulationThread *,std::allocator< SimulationThread * > > const &""'");
59497  }
59498  arg3 = ptr;
59499  }
59500  try {
59501  std_vector_Sl_SimulationThread_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< SimulationThread *,std::allocator< SimulationThread * > > const &)*arg3);
59502  }
59503  catch(std::out_of_range &_e) {
59504  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
59505  }
59506  catch(std::invalid_argument &_e) {
59507  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
59508  }
59509 
59510  resultobj = SWIG_Py_Void();
59511  if (SWIG_IsNewObj(res3)) delete arg3;
59512  return resultobj;
59513 fail:
59514  if (SWIG_IsNewObj(res3)) delete arg3;
59515  return NULL;
59516 }
59517 
59518 
59519 SWIGINTERN PyObject *_wrap_vector_SimulationThread___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59520  PyObject *resultobj = 0;
59521  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59522  PySliceObject *arg2 = (PySliceObject *) 0 ;
59523  void *argp1 = 0 ;
59524  int res1 = 0 ;
59525  PyObject * obj0 = 0 ;
59526  PyObject * obj1 = 0 ;
59527 
59528  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationThread___setitem__",&obj0,&obj1)) SWIG_fail;
59529  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59530  if (!SWIG_IsOK(res1)) {
59531  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread___setitem__" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59532  }
59533  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59534  {
59535  if (!PySlice_Check(obj1)) {
59536  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationThread___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
59537  }
59538  arg2 = (PySliceObject *) obj1;
59539  }
59540  try {
59541  std_vector_Sl_SimulationThread_Sm__Sg____setitem____SWIG_1(arg1,arg2);
59542  }
59543  catch(std::out_of_range &_e) {
59544  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
59545  }
59546  catch(std::invalid_argument &_e) {
59547  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
59548  }
59549 
59550  resultobj = SWIG_Py_Void();
59551  return resultobj;
59552 fail:
59553  return NULL;
59554 }
59555 
59556 
59557 SWIGINTERN PyObject *_wrap_vector_SimulationThread___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59558  PyObject *resultobj = 0;
59559  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59560  PySliceObject *arg2 = (PySliceObject *) 0 ;
59561  void *argp1 = 0 ;
59562  int res1 = 0 ;
59563  PyObject * obj0 = 0 ;
59564  PyObject * obj1 = 0 ;
59565 
59566  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationThread___delitem__",&obj0,&obj1)) SWIG_fail;
59567  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59568  if (!SWIG_IsOK(res1)) {
59569  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread___delitem__" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59570  }
59571  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59572  {
59573  if (!PySlice_Check(obj1)) {
59574  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationThread___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
59575  }
59576  arg2 = (PySliceObject *) obj1;
59577  }
59578  try {
59579  std_vector_Sl_SimulationThread_Sm__Sg____delitem____SWIG_1(arg1,arg2);
59580  }
59581  catch(std::out_of_range &_e) {
59582  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
59583  }
59584  catch(std::invalid_argument &_e) {
59585  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
59586  }
59587 
59588  resultobj = SWIG_Py_Void();
59589  return resultobj;
59590 fail:
59591  return NULL;
59592 }
59593 
59594 
59595 SWIGINTERN PyObject *_wrap_vector_SimulationThread___delitem__(PyObject *self, PyObject *args) {
59596  int argc;
59597  PyObject *argv[3];
59598  int ii;
59599 
59600  if (!PyTuple_Check(args)) SWIG_fail;
59601  argc = args ? (int)PyObject_Length(args) : 0;
59602  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
59603  argv[ii] = PyTuple_GET_ITEM(args,ii);
59604  }
59605  if (argc == 2) {
59606  int _v;
59607  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
59608  _v = SWIG_CheckState(res);
59609  if (_v) {
59610  {
59611  _v = PySlice_Check(argv[1]);
59612  }
59613  if (_v) {
59614  return _wrap_vector_SimulationThread___delitem____SWIG_1(self, args);
59615  }
59616  }
59617  }
59618  if (argc == 2) {
59619  int _v;
59620  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
59621  _v = SWIG_CheckState(res);
59622  if (_v) {
59623  {
59624  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
59625  _v = SWIG_CheckState(res);
59626  }
59627  if (_v) {
59628  return _wrap_vector_SimulationThread___delitem____SWIG_0(self, args);
59629  }
59630  }
59631  }
59632 
59633 fail:
59634  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_SimulationThread___delitem__'.\n"
59635  " Possible C/C++ prototypes are:\n"
59636  " std::vector< SimulationThread * >::__delitem__(std::vector< SimulationThread * >::difference_type)\n"
59637  " std::vector< SimulationThread * >::__delitem__(PySliceObject *)\n");
59638  return 0;
59639 }
59640 
59641 
59642 SWIGINTERN PyObject *_wrap_vector_SimulationThread___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59643  PyObject *resultobj = 0;
59644  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59645  std::vector< SimulationThread * >::difference_type arg2 ;
59646  void *argp1 = 0 ;
59647  int res1 = 0 ;
59648  ptrdiff_t val2 ;
59649  int ecode2 = 0 ;
59650  PyObject * obj0 = 0 ;
59651  PyObject * obj1 = 0 ;
59652  std::vector< SimulationThread * >::value_type result;
59653 
59654  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationThread___getitem__",&obj0,&obj1)) SWIG_fail;
59655  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59656  if (!SWIG_IsOK(res1)) {
59657  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread___getitem__" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59658  }
59659  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59660  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
59661  if (!SWIG_IsOK(ecode2)) {
59662  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationThread___getitem__" "', argument " "2"" of type '" "std::vector< SimulationThread * >::difference_type""'");
59663  }
59664  arg2 = static_cast< std::vector< SimulationThread * >::difference_type >(val2);
59665  try {
59666  result = (std::vector< SimulationThread * >::value_type)std_vector_Sl_SimulationThread_Sm__Sg____getitem____SWIG_1(arg1,arg2);
59667  }
59668  catch(std::out_of_range &_e) {
59669  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
59670  }
59671 
59672  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SimulationThread, 0 | 0 );
59673  return resultobj;
59674 fail:
59675  return NULL;
59676 }
59677 
59678 
59679 SWIGINTERN PyObject *_wrap_vector_SimulationThread___getitem__(PyObject *self, PyObject *args) {
59680  int argc;
59681  PyObject *argv[3];
59682  int ii;
59683 
59684  if (!PyTuple_Check(args)) SWIG_fail;
59685  argc = args ? (int)PyObject_Length(args) : 0;
59686  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
59687  argv[ii] = PyTuple_GET_ITEM(args,ii);
59688  }
59689  if (argc == 2) {
59690  int _v;
59691  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
59692  _v = SWIG_CheckState(res);
59693  if (_v) {
59694  {
59695  _v = PySlice_Check(argv[1]);
59696  }
59697  if (_v) {
59698  return _wrap_vector_SimulationThread___getitem____SWIG_0(self, args);
59699  }
59700  }
59701  }
59702  if (argc == 2) {
59703  int _v;
59704  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
59705  _v = SWIG_CheckState(res);
59706  if (_v) {
59707  {
59708  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
59709  _v = SWIG_CheckState(res);
59710  }
59711  if (_v) {
59712  return _wrap_vector_SimulationThread___getitem____SWIG_1(self, args);
59713  }
59714  }
59715  }
59716 
59717 fail:
59718  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_SimulationThread___getitem__'.\n"
59719  " Possible C/C++ prototypes are:\n"
59720  " std::vector< SimulationThread * >::__getitem__(PySliceObject *)\n"
59721  " std::vector< SimulationThread * >::__getitem__(std::vector< SimulationThread * >::difference_type)\n");
59722  return 0;
59723 }
59724 
59725 
59726 SWIGINTERN PyObject *_wrap_vector_SimulationThread___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59727  PyObject *resultobj = 0;
59728  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59729  std::vector< SimulationThread * >::difference_type arg2 ;
59730  std::vector< SimulationThread * >::value_type arg3 = (std::vector< SimulationThread * >::value_type) 0 ;
59731  void *argp1 = 0 ;
59732  int res1 = 0 ;
59733  ptrdiff_t val2 ;
59734  int ecode2 = 0 ;
59735  void *argp3 = 0 ;
59736  int res3 = 0 ;
59737  PyObject * obj0 = 0 ;
59738  PyObject * obj1 = 0 ;
59739  PyObject * obj2 = 0 ;
59740 
59741  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationThread___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
59742  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59743  if (!SWIG_IsOK(res1)) {
59744  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread___setitem__" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59745  }
59746  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59747  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
59748  if (!SWIG_IsOK(ecode2)) {
59749  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationThread___setitem__" "', argument " "2"" of type '" "std::vector< SimulationThread * >::difference_type""'");
59750  }
59751  arg2 = static_cast< std::vector< SimulationThread * >::difference_type >(val2);
59752  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SimulationThread, 0 | 0 );
59753  if (!SWIG_IsOK(res3)) {
59754  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_SimulationThread___setitem__" "', argument " "3"" of type '" "std::vector< SimulationThread * >::value_type""'");
59755  }
59756  arg3 = reinterpret_cast< std::vector< SimulationThread * >::value_type >(argp3);
59757  try {
59758  std_vector_Sl_SimulationThread_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
59759  }
59760  catch(std::out_of_range &_e) {
59761  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
59762  }
59763 
59764  resultobj = SWIG_Py_Void();
59765  return resultobj;
59766 fail:
59767  return NULL;
59768 }
59769 
59770 
59771 SWIGINTERN PyObject *_wrap_vector_SimulationThread___setitem__(PyObject *self, PyObject *args) {
59772  int argc;
59773  PyObject *argv[4];
59774  int ii;
59775 
59776  if (!PyTuple_Check(args)) SWIG_fail;
59777  argc = args ? (int)PyObject_Length(args) : 0;
59778  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
59779  argv[ii] = PyTuple_GET_ITEM(args,ii);
59780  }
59781  if (argc == 2) {
59782  int _v;
59783  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
59784  _v = SWIG_CheckState(res);
59785  if (_v) {
59786  {
59787  _v = PySlice_Check(argv[1]);
59788  }
59789  if (_v) {
59790  return _wrap_vector_SimulationThread___setitem____SWIG_1(self, args);
59791  }
59792  }
59793  }
59794  if (argc == 3) {
59795  int _v;
59796  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
59797  _v = SWIG_CheckState(res);
59798  if (_v) {
59799  {
59800  _v = PySlice_Check(argv[1]);
59801  }
59802  if (_v) {
59803  int res = swig::asptr(argv[2], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
59804  _v = SWIG_CheckState(res);
59805  if (_v) {
59806  return _wrap_vector_SimulationThread___setitem____SWIG_0(self, args);
59807  }
59808  }
59809  }
59810  }
59811  if (argc == 3) {
59812  int _v;
59813  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
59814  _v = SWIG_CheckState(res);
59815  if (_v) {
59816  {
59817  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
59818  _v = SWIG_CheckState(res);
59819  }
59820  if (_v) {
59821  void *vptr = 0;
59822  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SimulationThread, 0);
59823  _v = SWIG_CheckState(res);
59824  if (_v) {
59825  return _wrap_vector_SimulationThread___setitem____SWIG_2(self, args);
59826  }
59827  }
59828  }
59829  }
59830 
59831 fail:
59832  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_SimulationThread___setitem__'.\n"
59833  " Possible C/C++ prototypes are:\n"
59834  " std::vector< SimulationThread * >::__setitem__(PySliceObject *,std::vector< SimulationThread *,std::allocator< SimulationThread * > > const &)\n"
59835  " std::vector< SimulationThread * >::__setitem__(PySliceObject *)\n"
59836  " std::vector< SimulationThread * >::__setitem__(std::vector< SimulationThread * >::difference_type,std::vector< SimulationThread * >::value_type)\n");
59837  return 0;
59838 }
59839 
59840 
59841 SWIGINTERN PyObject *_wrap_vector_SimulationThread_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59842  PyObject *resultobj = 0;
59843  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59844  std::vector< SimulationThread * >::value_type arg2 = (std::vector< SimulationThread * >::value_type) 0 ;
59845  void *argp1 = 0 ;
59846  int res1 = 0 ;
59847  void *argp2 = 0 ;
59848  int res2 = 0 ;
59849  PyObject * obj0 = 0 ;
59850  PyObject * obj1 = 0 ;
59851 
59852  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationThread_append",&obj0,&obj1)) SWIG_fail;
59853  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59854  if (!SWIG_IsOK(res1)) {
59855  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_append" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59856  }
59857  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59858  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SimulationThread, 0 | 0 );
59859  if (!SWIG_IsOK(res2)) {
59860  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_SimulationThread_append" "', argument " "2"" of type '" "std::vector< SimulationThread * >::value_type""'");
59861  }
59862  arg2 = reinterpret_cast< std::vector< SimulationThread * >::value_type >(argp2);
59863  std_vector_Sl_SimulationThread_Sm__Sg__append(arg1,arg2);
59864  resultobj = SWIG_Py_Void();
59865  return resultobj;
59866 fail:
59867  return NULL;
59868 }
59869 
59870 
59871 SWIGINTERN PyObject *_wrap_new_vector_SimulationThread__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59872  PyObject *resultobj = 0;
59873  std::vector< SimulationThread * > *result = 0 ;
59874 
59875  if (!PyArg_ParseTuple(args,(char *)":new_vector_SimulationThread")) SWIG_fail;
59876  result = (std::vector< SimulationThread * > *)new std::vector< SimulationThread * >();
59877  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, SWIG_POINTER_NEW | 0 );
59878  return resultobj;
59879 fail:
59880  return NULL;
59881 }
59882 
59883 
59884 SWIGINTERN PyObject *_wrap_new_vector_SimulationThread__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59885  PyObject *resultobj = 0;
59886  std::vector< SimulationThread * > *arg1 = 0 ;
59887  int res1 = SWIG_OLDOBJ ;
59888  PyObject * obj0 = 0 ;
59889  std::vector< SimulationThread * > *result = 0 ;
59890 
59891  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_SimulationThread",&obj0)) SWIG_fail;
59892  {
59893  std::vector<SimulationThread*,std::allocator< SimulationThread * > > *ptr = (std::vector<SimulationThread*,std::allocator< SimulationThread * > > *)0;
59894  res1 = swig::asptr(obj0, &ptr);
59895  if (!SWIG_IsOK(res1)) {
59896  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_SimulationThread" "', argument " "1"" of type '" "std::vector< SimulationThread * > const &""'");
59897  }
59898  if (!ptr) {
59899  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_SimulationThread" "', argument " "1"" of type '" "std::vector< SimulationThread * > const &""'");
59900  }
59901  arg1 = ptr;
59902  }
59903  result = (std::vector< SimulationThread * > *)new std::vector< SimulationThread * >((std::vector< SimulationThread * > const &)*arg1);
59904  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, SWIG_POINTER_NEW | 0 );
59905  if (SWIG_IsNewObj(res1)) delete arg1;
59906  return resultobj;
59907 fail:
59908  if (SWIG_IsNewObj(res1)) delete arg1;
59909  return NULL;
59910 }
59911 
59912 
59913 SWIGINTERN PyObject *_wrap_vector_SimulationThread_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59914  PyObject *resultobj = 0;
59915  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59916  void *argp1 = 0 ;
59917  int res1 = 0 ;
59918  PyObject * obj0 = 0 ;
59919  bool result;
59920 
59921  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread_empty",&obj0)) SWIG_fail;
59922  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59923  if (!SWIG_IsOK(res1)) {
59924  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_empty" "', argument " "1"" of type '" "std::vector< SimulationThread * > const *""'");
59925  }
59926  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59927  result = (bool)((std::vector< SimulationThread * > const *)arg1)->empty();
59928  resultobj = SWIG_From_bool(static_cast< bool >(result));
59929  return resultobj;
59930 fail:
59931  return NULL;
59932 }
59933 
59934 
59935 SWIGINTERN PyObject *_wrap_vector_SimulationThread_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59936  PyObject *resultobj = 0;
59937  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59938  void *argp1 = 0 ;
59939  int res1 = 0 ;
59940  PyObject * obj0 = 0 ;
59941  std::vector< SimulationThread * >::size_type result;
59942 
59943  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread_size",&obj0)) SWIG_fail;
59944  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59945  if (!SWIG_IsOK(res1)) {
59946  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_size" "', argument " "1"" of type '" "std::vector< SimulationThread * > const *""'");
59947  }
59948  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59949  result = ((std::vector< SimulationThread * > const *)arg1)->size();
59950  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
59951  return resultobj;
59952 fail:
59953  return NULL;
59954 }
59955 
59956 
59957 SWIGINTERN PyObject *_wrap_vector_SimulationThread_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59958  PyObject *resultobj = 0;
59959  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59960  void *argp1 = 0 ;
59961  int res1 = 0 ;
59962  PyObject * obj0 = 0 ;
59963 
59964  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread_clear",&obj0)) SWIG_fail;
59965  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59966  if (!SWIG_IsOK(res1)) {
59967  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_clear" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59968  }
59969  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59970  (arg1)->clear();
59971  resultobj = SWIG_Py_Void();
59972  return resultobj;
59973 fail:
59974  return NULL;
59975 }
59976 
59977 
59978 SWIGINTERN PyObject *_wrap_vector_SimulationThread_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
59979  PyObject *resultobj = 0;
59980  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
59981  std::vector< SimulationThread * > *arg2 = 0 ;
59982  void *argp1 = 0 ;
59983  int res1 = 0 ;
59984  void *argp2 = 0 ;
59985  int res2 = 0 ;
59986  PyObject * obj0 = 0 ;
59987  PyObject * obj1 = 0 ;
59988 
59989  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationThread_swap",&obj0,&obj1)) SWIG_fail;
59990  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
59991  if (!SWIG_IsOK(res1)) {
59992  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_swap" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
59993  }
59994  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
59995  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 );
59996  if (!SWIG_IsOK(res2)) {
59997  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_SimulationThread_swap" "', argument " "2"" of type '" "std::vector< SimulationThread * > &""'");
59998  }
59999  if (!argp2) {
60000  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_SimulationThread_swap" "', argument " "2"" of type '" "std::vector< SimulationThread * > &""'");
60001  }
60002  arg2 = reinterpret_cast< std::vector< SimulationThread * > * >(argp2);
60003  (arg1)->swap(*arg2);
60004  resultobj = SWIG_Py_Void();
60005  return resultobj;
60006 fail:
60007  return NULL;
60008 }
60009 
60010 
60011 SWIGINTERN PyObject *_wrap_vector_SimulationThread_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60012  PyObject *resultobj = 0;
60013  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60014  void *argp1 = 0 ;
60015  int res1 = 0 ;
60016  PyObject * obj0 = 0 ;
60017  SwigValueWrapper< std::allocator< SimulationThread * > > result;
60018 
60019  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread_get_allocator",&obj0)) SWIG_fail;
60020  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60021  if (!SWIG_IsOK(res1)) {
60022  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_get_allocator" "', argument " "1"" of type '" "std::vector< SimulationThread * > const *""'");
60023  }
60024  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60025  result = ((std::vector< SimulationThread * > const *)arg1)->get_allocator();
60026  resultobj = SWIG_NewPointerObj((new std::vector< SimulationThread * >::allocator_type(static_cast< const std::vector< SimulationThread * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_SimulationThread_p_t, SWIG_POINTER_OWN | 0 );
60027  return resultobj;
60028 fail:
60029  return NULL;
60030 }
60031 
60032 
60033 SWIGINTERN PyObject *_wrap_vector_SimulationThread_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60034  PyObject *resultobj = 0;
60035  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60036  void *argp1 = 0 ;
60037  int res1 = 0 ;
60038  PyObject * obj0 = 0 ;
60039  std::vector< SimulationThread * >::iterator result;
60040 
60041  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread_begin",&obj0)) SWIG_fail;
60042  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60043  if (!SWIG_IsOK(res1)) {
60044  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_begin" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
60045  }
60046  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60047  result = (arg1)->begin();
60048  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< SimulationThread * >::iterator & >(result)),
60049  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
60050  return resultobj;
60051 fail:
60052  return NULL;
60053 }
60054 
60055 
60056 SWIGINTERN PyObject *_wrap_vector_SimulationThread_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60057  PyObject *resultobj = 0;
60058  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60059  void *argp1 = 0 ;
60060  int res1 = 0 ;
60061  PyObject * obj0 = 0 ;
60062  std::vector< SimulationThread * >::iterator result;
60063 
60064  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread_end",&obj0)) SWIG_fail;
60065  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60066  if (!SWIG_IsOK(res1)) {
60067  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_end" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
60068  }
60069  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60070  result = (arg1)->end();
60071  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< SimulationThread * >::iterator & >(result)),
60072  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
60073  return resultobj;
60074 fail:
60075  return NULL;
60076 }
60077 
60078 
60079 SWIGINTERN PyObject *_wrap_vector_SimulationThread_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60080  PyObject *resultobj = 0;
60081  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60082  void *argp1 = 0 ;
60083  int res1 = 0 ;
60084  PyObject * obj0 = 0 ;
60085  std::vector< SimulationThread * >::reverse_iterator result;
60086 
60087  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread_rbegin",&obj0)) SWIG_fail;
60088  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60089  if (!SWIG_IsOK(res1)) {
60090  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_rbegin" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
60091  }
60092  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60093  result = (arg1)->rbegin();
60094  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< SimulationThread * >::reverse_iterator & >(result)),
60095  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
60096  return resultobj;
60097 fail:
60098  return NULL;
60099 }
60100 
60101 
60102 SWIGINTERN PyObject *_wrap_vector_SimulationThread_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60103  PyObject *resultobj = 0;
60104  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60105  void *argp1 = 0 ;
60106  int res1 = 0 ;
60107  PyObject * obj0 = 0 ;
60108  std::vector< SimulationThread * >::reverse_iterator result;
60109 
60110  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread_rend",&obj0)) SWIG_fail;
60111  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60112  if (!SWIG_IsOK(res1)) {
60113  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_rend" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
60114  }
60115  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60116  result = (arg1)->rend();
60117  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< SimulationThread * >::reverse_iterator & >(result)),
60118  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
60119  return resultobj;
60120 fail:
60121  return NULL;
60122 }
60123 
60124 
60125 SWIGINTERN PyObject *_wrap_new_vector_SimulationThread__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60126  PyObject *resultobj = 0;
60127  std::vector< SimulationThread * >::size_type arg1 ;
60128  size_t val1 ;
60129  int ecode1 = 0 ;
60130  PyObject * obj0 = 0 ;
60131  std::vector< SimulationThread * > *result = 0 ;
60132 
60133  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_SimulationThread",&obj0)) SWIG_fail;
60134  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
60135  if (!SWIG_IsOK(ecode1)) {
60136  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_SimulationThread" "', argument " "1"" of type '" "std::vector< SimulationThread * >::size_type""'");
60137  }
60138  arg1 = static_cast< std::vector< SimulationThread * >::size_type >(val1);
60139  result = (std::vector< SimulationThread * > *)new std::vector< SimulationThread * >(arg1);
60140  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, SWIG_POINTER_NEW | 0 );
60141  return resultobj;
60142 fail:
60143  return NULL;
60144 }
60145 
60146 
60147 SWIGINTERN PyObject *_wrap_vector_SimulationThread_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60148  PyObject *resultobj = 0;
60149  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60150  void *argp1 = 0 ;
60151  int res1 = 0 ;
60152  PyObject * obj0 = 0 ;
60153 
60154  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread_pop_back",&obj0)) SWIG_fail;
60155  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60156  if (!SWIG_IsOK(res1)) {
60157  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_pop_back" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
60158  }
60159  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60160  (arg1)->pop_back();
60161  resultobj = SWIG_Py_Void();
60162  return resultobj;
60163 fail:
60164  return NULL;
60165 }
60166 
60167 
60168 SWIGINTERN PyObject *_wrap_vector_SimulationThread_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60169  PyObject *resultobj = 0;
60170  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60171  std::vector< SimulationThread * >::size_type arg2 ;
60172  void *argp1 = 0 ;
60173  int res1 = 0 ;
60174  size_t val2 ;
60175  int ecode2 = 0 ;
60176  PyObject * obj0 = 0 ;
60177  PyObject * obj1 = 0 ;
60178 
60179  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationThread_resize",&obj0,&obj1)) SWIG_fail;
60180  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60181  if (!SWIG_IsOK(res1)) {
60182  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_resize" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
60183  }
60184  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60185  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
60186  if (!SWIG_IsOK(ecode2)) {
60187  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationThread_resize" "', argument " "2"" of type '" "std::vector< SimulationThread * >::size_type""'");
60188  }
60189  arg2 = static_cast< std::vector< SimulationThread * >::size_type >(val2);
60190  (arg1)->resize(arg2);
60191  resultobj = SWIG_Py_Void();
60192  return resultobj;
60193 fail:
60194  return NULL;
60195 }
60196 
60197 
60198 SWIGINTERN PyObject *_wrap_vector_SimulationThread_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60199  PyObject *resultobj = 0;
60200  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60201  std::vector< SimulationThread * >::iterator arg2 ;
60202  void *argp1 = 0 ;
60203  int res1 = 0 ;
60204  swig::SwigPyIterator *iter2 = 0 ;
60205  int res2 ;
60206  PyObject * obj0 = 0 ;
60207  PyObject * obj1 = 0 ;
60208  std::vector< SimulationThread * >::iterator result;
60209 
60210  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationThread_erase",&obj0,&obj1)) SWIG_fail;
60211  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60212  if (!SWIG_IsOK(res1)) {
60213  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_erase" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
60214  }
60215  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60216  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
60217  if (!SWIG_IsOK(res2) || !iter2) {
60218  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationThread_erase" "', argument " "2"" of type '" "std::vector< SimulationThread * >::iterator""'");
60219  } else {
60221  if (iter_t) {
60222  arg2 = iter_t->get_current();
60223  } else {
60224  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationThread_erase" "', argument " "2"" of type '" "std::vector< SimulationThread * >::iterator""'");
60225  }
60226  }
60227  result = std_vector_Sl_SimulationThread_Sm__Sg__erase__SWIG_0(arg1,arg2);
60228  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< SimulationThread * >::iterator & >(result)),
60229  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
60230  return resultobj;
60231 fail:
60232  return NULL;
60233 }
60234 
60235 
60236 SWIGINTERN PyObject *_wrap_vector_SimulationThread_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60237  PyObject *resultobj = 0;
60238  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60239  std::vector< SimulationThread * >::iterator arg2 ;
60240  std::vector< SimulationThread * >::iterator arg3 ;
60241  void *argp1 = 0 ;
60242  int res1 = 0 ;
60243  swig::SwigPyIterator *iter2 = 0 ;
60244  int res2 ;
60245  swig::SwigPyIterator *iter3 = 0 ;
60246  int res3 ;
60247  PyObject * obj0 = 0 ;
60248  PyObject * obj1 = 0 ;
60249  PyObject * obj2 = 0 ;
60250  std::vector< SimulationThread * >::iterator result;
60251 
60252  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationThread_erase",&obj0,&obj1,&obj2)) SWIG_fail;
60253  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60254  if (!SWIG_IsOK(res1)) {
60255  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_erase" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
60256  }
60257  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60258  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
60259  if (!SWIG_IsOK(res2) || !iter2) {
60260  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationThread_erase" "', argument " "2"" of type '" "std::vector< SimulationThread * >::iterator""'");
60261  } else {
60263  if (iter_t) {
60264  arg2 = iter_t->get_current();
60265  } else {
60266  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationThread_erase" "', argument " "2"" of type '" "std::vector< SimulationThread * >::iterator""'");
60267  }
60268  }
60269  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
60270  if (!SWIG_IsOK(res3) || !iter3) {
60271  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationThread_erase" "', argument " "3"" of type '" "std::vector< SimulationThread * >::iterator""'");
60272  } else {
60274  if (iter_t) {
60275  arg3 = iter_t->get_current();
60276  } else {
60277  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationThread_erase" "', argument " "3"" of type '" "std::vector< SimulationThread * >::iterator""'");
60278  }
60279  }
60280  result = std_vector_Sl_SimulationThread_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
60281  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< SimulationThread * >::iterator & >(result)),
60282  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
60283  return resultobj;
60284 fail:
60285  return NULL;
60286 }
60287 
60288 
60289 SWIGINTERN PyObject *_wrap_vector_SimulationThread_erase(PyObject *self, PyObject *args) {
60290  int argc;
60291  PyObject *argv[4];
60292  int ii;
60293 
60294  if (!PyTuple_Check(args)) SWIG_fail;
60295  argc = args ? (int)PyObject_Length(args) : 0;
60296  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
60297  argv[ii] = PyTuple_GET_ITEM(args,ii);
60298  }
60299  if (argc == 2) {
60300  int _v;
60301  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
60302  _v = SWIG_CheckState(res);
60303  if (_v) {
60304  swig::SwigPyIterator *iter = 0;
60305  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
60306  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationThread * >::iterator > *>(iter) != 0));
60307  if (_v) {
60308  return _wrap_vector_SimulationThread_erase__SWIG_0(self, args);
60309  }
60310  }
60311  }
60312  if (argc == 3) {
60313  int _v;
60314  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
60315  _v = SWIG_CheckState(res);
60316  if (_v) {
60317  swig::SwigPyIterator *iter = 0;
60318  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
60319  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationThread * >::iterator > *>(iter) != 0));
60320  if (_v) {
60321  swig::SwigPyIterator *iter = 0;
60322  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
60323  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationThread * >::iterator > *>(iter) != 0));
60324  if (_v) {
60325  return _wrap_vector_SimulationThread_erase__SWIG_1(self, args);
60326  }
60327  }
60328  }
60329  }
60330 
60331 fail:
60332  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_SimulationThread_erase'.\n"
60333  " Possible C/C++ prototypes are:\n"
60334  " std::vector< SimulationThread * >::erase(std::vector< SimulationThread * >::iterator)\n"
60335  " std::vector< SimulationThread * >::erase(std::vector< SimulationThread * >::iterator,std::vector< SimulationThread * >::iterator)\n");
60336  return 0;
60337 }
60338 
60339 
60340 SWIGINTERN PyObject *_wrap_new_vector_SimulationThread__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60341  PyObject *resultobj = 0;
60342  std::vector< SimulationThread * >::size_type arg1 ;
60343  std::vector< SimulationThread * >::value_type arg2 = (std::vector< SimulationThread * >::value_type) 0 ;
60344  size_t val1 ;
60345  int ecode1 = 0 ;
60346  void *argp2 = 0 ;
60347  int res2 = 0 ;
60348  PyObject * obj0 = 0 ;
60349  PyObject * obj1 = 0 ;
60350  std::vector< SimulationThread * > *result = 0 ;
60351 
60352  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_SimulationThread",&obj0,&obj1)) SWIG_fail;
60353  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
60354  if (!SWIG_IsOK(ecode1)) {
60355  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_SimulationThread" "', argument " "1"" of type '" "std::vector< SimulationThread * >::size_type""'");
60356  }
60357  arg1 = static_cast< std::vector< SimulationThread * >::size_type >(val1);
60358  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SimulationThread, 0 | 0 );
60359  if (!SWIG_IsOK(res2)) {
60360  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_SimulationThread" "', argument " "2"" of type '" "std::vector< SimulationThread * >::value_type""'");
60361  }
60362  arg2 = reinterpret_cast< std::vector< SimulationThread * >::value_type >(argp2);
60363  result = (std::vector< SimulationThread * > *)new std::vector< SimulationThread * >(arg1,arg2);
60364  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, SWIG_POINTER_NEW | 0 );
60365  return resultobj;
60366 fail:
60367  return NULL;
60368 }
60369 
60370 
60371 SWIGINTERN PyObject *_wrap_new_vector_SimulationThread(PyObject *self, PyObject *args) {
60372  int argc;
60373  PyObject *argv[3];
60374  int ii;
60375 
60376  if (!PyTuple_Check(args)) SWIG_fail;
60377  argc = args ? (int)PyObject_Length(args) : 0;
60378  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
60379  argv[ii] = PyTuple_GET_ITEM(args,ii);
60380  }
60381  if (argc == 0) {
60382  return _wrap_new_vector_SimulationThread__SWIG_0(self, args);
60383  }
60384  if (argc == 1) {
60385  int _v;
60386  {
60387  int res = SWIG_AsVal_size_t(argv[0], NULL);
60388  _v = SWIG_CheckState(res);
60389  }
60390  if (_v) {
60391  return _wrap_new_vector_SimulationThread__SWIG_2(self, args);
60392  }
60393  }
60394  if (argc == 1) {
60395  int _v;
60396  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
60397  _v = SWIG_CheckState(res);
60398  if (_v) {
60399  return _wrap_new_vector_SimulationThread__SWIG_1(self, args);
60400  }
60401  }
60402  if (argc == 2) {
60403  int _v;
60404  {
60405  int res = SWIG_AsVal_size_t(argv[0], NULL);
60406  _v = SWIG_CheckState(res);
60407  }
60408  if (_v) {
60409  void *vptr = 0;
60410  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_SimulationThread, 0);
60411  _v = SWIG_CheckState(res);
60412  if (_v) {
60413  return _wrap_new_vector_SimulationThread__SWIG_3(self, args);
60414  }
60415  }
60416  }
60417 
60418 fail:
60419  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_SimulationThread'.\n"
60420  " Possible C/C++ prototypes are:\n"
60421  " std::vector< SimulationThread * >::vector()\n"
60422  " std::vector< SimulationThread * >::vector(std::vector< SimulationThread * > const &)\n"
60423  " std::vector< SimulationThread * >::vector(std::vector< SimulationThread * >::size_type)\n"
60424  " std::vector< SimulationThread * >::vector(std::vector< SimulationThread * >::size_type,std::vector< SimulationThread * >::value_type)\n");
60425  return 0;
60426 }
60427 
60428 
60429 SWIGINTERN PyObject *_wrap_vector_SimulationThread_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60430  PyObject *resultobj = 0;
60431  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60432  std::vector< SimulationThread * >::value_type arg2 = (std::vector< SimulationThread * >::value_type) 0 ;
60433  void *argp1 = 0 ;
60434  int res1 = 0 ;
60435  void *argp2 = 0 ;
60436  int res2 = 0 ;
60437  PyObject * obj0 = 0 ;
60438  PyObject * obj1 = 0 ;
60439 
60440  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationThread_push_back",&obj0,&obj1)) SWIG_fail;
60441  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60442  if (!SWIG_IsOK(res1)) {
60443  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_push_back" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
60444  }
60445  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60446  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SimulationThread, 0 | 0 );
60447  if (!SWIG_IsOK(res2)) {
60448  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_SimulationThread_push_back" "', argument " "2"" of type '" "std::vector< SimulationThread * >::value_type""'");
60449  }
60450  arg2 = reinterpret_cast< std::vector< SimulationThread * >::value_type >(argp2);
60451  (arg1)->push_back(arg2);
60452  resultobj = SWIG_Py_Void();
60453  return resultobj;
60454 fail:
60455  return NULL;
60456 }
60457 
60458 
60459 SWIGINTERN PyObject *_wrap_vector_SimulationThread_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60460  PyObject *resultobj = 0;
60461  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60462  void *argp1 = 0 ;
60463  int res1 = 0 ;
60464  PyObject * obj0 = 0 ;
60465  std::vector< SimulationThread * >::value_type result;
60466 
60467  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread_front",&obj0)) SWIG_fail;
60468  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60469  if (!SWIG_IsOK(res1)) {
60470  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_front" "', argument " "1"" of type '" "std::vector< SimulationThread * > const *""'");
60471  }
60472  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60473  result = (std::vector< SimulationThread * >::value_type)((std::vector< SimulationThread * > const *)arg1)->front();
60474  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SimulationThread, 0 | 0 );
60475  return resultobj;
60476 fail:
60477  return NULL;
60478 }
60479 
60480 
60481 SWIGINTERN PyObject *_wrap_vector_SimulationThread_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60482  PyObject *resultobj = 0;
60483  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60484  void *argp1 = 0 ;
60485  int res1 = 0 ;
60486  PyObject * obj0 = 0 ;
60487  std::vector< SimulationThread * >::value_type result;
60488 
60489  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread_back",&obj0)) SWIG_fail;
60490  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60491  if (!SWIG_IsOK(res1)) {
60492  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_back" "', argument " "1"" of type '" "std::vector< SimulationThread * > const *""'");
60493  }
60494  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60495  result = (std::vector< SimulationThread * >::value_type)((std::vector< SimulationThread * > const *)arg1)->back();
60496  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SimulationThread, 0 | 0 );
60497  return resultobj;
60498 fail:
60499  return NULL;
60500 }
60501 
60502 
60503 SWIGINTERN PyObject *_wrap_vector_SimulationThread_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60504  PyObject *resultobj = 0;
60505  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60506  std::vector< SimulationThread * >::size_type arg2 ;
60507  std::vector< SimulationThread * >::value_type arg3 = (std::vector< SimulationThread * >::value_type) 0 ;
60508  void *argp1 = 0 ;
60509  int res1 = 0 ;
60510  size_t val2 ;
60511  int ecode2 = 0 ;
60512  void *argp3 = 0 ;
60513  int res3 = 0 ;
60514  PyObject * obj0 = 0 ;
60515  PyObject * obj1 = 0 ;
60516  PyObject * obj2 = 0 ;
60517 
60518  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationThread_assign",&obj0,&obj1,&obj2)) SWIG_fail;
60519  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60520  if (!SWIG_IsOK(res1)) {
60521  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_assign" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
60522  }
60523  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60524  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
60525  if (!SWIG_IsOK(ecode2)) {
60526  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationThread_assign" "', argument " "2"" of type '" "std::vector< SimulationThread * >::size_type""'");
60527  }
60528  arg2 = static_cast< std::vector< SimulationThread * >::size_type >(val2);
60529  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SimulationThread, 0 | 0 );
60530  if (!SWIG_IsOK(res3)) {
60531  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_SimulationThread_assign" "', argument " "3"" of type '" "std::vector< SimulationThread * >::value_type""'");
60532  }
60533  arg3 = reinterpret_cast< std::vector< SimulationThread * >::value_type >(argp3);
60534  (arg1)->assign(arg2,arg3);
60535  resultobj = SWIG_Py_Void();
60536  return resultobj;
60537 fail:
60538  return NULL;
60539 }
60540 
60541 
60542 SWIGINTERN PyObject *_wrap_vector_SimulationThread_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60543  PyObject *resultobj = 0;
60544  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60545  std::vector< SimulationThread * >::size_type arg2 ;
60546  std::vector< SimulationThread * >::value_type arg3 = (std::vector< SimulationThread * >::value_type) 0 ;
60547  void *argp1 = 0 ;
60548  int res1 = 0 ;
60549  size_t val2 ;
60550  int ecode2 = 0 ;
60551  void *argp3 = 0 ;
60552  int res3 = 0 ;
60553  PyObject * obj0 = 0 ;
60554  PyObject * obj1 = 0 ;
60555  PyObject * obj2 = 0 ;
60556 
60557  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationThread_resize",&obj0,&obj1,&obj2)) SWIG_fail;
60558  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60559  if (!SWIG_IsOK(res1)) {
60560  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_resize" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
60561  }
60562  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60563  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
60564  if (!SWIG_IsOK(ecode2)) {
60565  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationThread_resize" "', argument " "2"" of type '" "std::vector< SimulationThread * >::size_type""'");
60566  }
60567  arg2 = static_cast< std::vector< SimulationThread * >::size_type >(val2);
60568  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SimulationThread, 0 | 0 );
60569  if (!SWIG_IsOK(res3)) {
60570  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_SimulationThread_resize" "', argument " "3"" of type '" "std::vector< SimulationThread * >::value_type""'");
60571  }
60572  arg3 = reinterpret_cast< std::vector< SimulationThread * >::value_type >(argp3);
60573  (arg1)->resize(arg2,arg3);
60574  resultobj = SWIG_Py_Void();
60575  return resultobj;
60576 fail:
60577  return NULL;
60578 }
60579 
60580 
60581 SWIGINTERN PyObject *_wrap_vector_SimulationThread_resize(PyObject *self, PyObject *args) {
60582  int argc;
60583  PyObject *argv[4];
60584  int ii;
60585 
60586  if (!PyTuple_Check(args)) SWIG_fail;
60587  argc = args ? (int)PyObject_Length(args) : 0;
60588  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
60589  argv[ii] = PyTuple_GET_ITEM(args,ii);
60590  }
60591  if (argc == 2) {
60592  int _v;
60593  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
60594  _v = SWIG_CheckState(res);
60595  if (_v) {
60596  {
60597  int res = SWIG_AsVal_size_t(argv[1], NULL);
60598  _v = SWIG_CheckState(res);
60599  }
60600  if (_v) {
60601  return _wrap_vector_SimulationThread_resize__SWIG_0(self, args);
60602  }
60603  }
60604  }
60605  if (argc == 3) {
60606  int _v;
60607  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
60608  _v = SWIG_CheckState(res);
60609  if (_v) {
60610  {
60611  int res = SWIG_AsVal_size_t(argv[1], NULL);
60612  _v = SWIG_CheckState(res);
60613  }
60614  if (_v) {
60615  void *vptr = 0;
60616  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SimulationThread, 0);
60617  _v = SWIG_CheckState(res);
60618  if (_v) {
60619  return _wrap_vector_SimulationThread_resize__SWIG_1(self, args);
60620  }
60621  }
60622  }
60623  }
60624 
60625 fail:
60626  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_SimulationThread_resize'.\n"
60627  " Possible C/C++ prototypes are:\n"
60628  " std::vector< SimulationThread * >::resize(std::vector< SimulationThread * >::size_type)\n"
60629  " std::vector< SimulationThread * >::resize(std::vector< SimulationThread * >::size_type,std::vector< SimulationThread * >::value_type)\n");
60630  return 0;
60631 }
60632 
60633 
60634 SWIGINTERN PyObject *_wrap_vector_SimulationThread_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60635  PyObject *resultobj = 0;
60636  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60637  std::vector< SimulationThread * >::iterator arg2 ;
60638  std::vector< SimulationThread * >::value_type arg3 = (std::vector< SimulationThread * >::value_type) 0 ;
60639  void *argp1 = 0 ;
60640  int res1 = 0 ;
60641  swig::SwigPyIterator *iter2 = 0 ;
60642  int res2 ;
60643  void *argp3 = 0 ;
60644  int res3 = 0 ;
60645  PyObject * obj0 = 0 ;
60646  PyObject * obj1 = 0 ;
60647  PyObject * obj2 = 0 ;
60648  std::vector< SimulationThread * >::iterator result;
60649 
60650  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_SimulationThread_insert",&obj0,&obj1,&obj2)) SWIG_fail;
60651  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60652  if (!SWIG_IsOK(res1)) {
60653  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_insert" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
60654  }
60655  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60656  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
60657  if (!SWIG_IsOK(res2) || !iter2) {
60658  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationThread_insert" "', argument " "2"" of type '" "std::vector< SimulationThread * >::iterator""'");
60659  } else {
60661  if (iter_t) {
60662  arg2 = iter_t->get_current();
60663  } else {
60664  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationThread_insert" "', argument " "2"" of type '" "std::vector< SimulationThread * >::iterator""'");
60665  }
60666  }
60667  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SimulationThread, 0 | 0 );
60668  if (!SWIG_IsOK(res3)) {
60669  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_SimulationThread_insert" "', argument " "3"" of type '" "std::vector< SimulationThread * >::value_type""'");
60670  }
60671  arg3 = reinterpret_cast< std::vector< SimulationThread * >::value_type >(argp3);
60672  result = std_vector_Sl_SimulationThread_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
60673  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< SimulationThread * >::iterator & >(result)),
60674  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
60675  return resultobj;
60676 fail:
60677  return NULL;
60678 }
60679 
60680 
60681 SWIGINTERN PyObject *_wrap_vector_SimulationThread_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60682  PyObject *resultobj = 0;
60683  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60684  std::vector< SimulationThread * >::iterator arg2 ;
60685  std::vector< SimulationThread * >::size_type arg3 ;
60686  std::vector< SimulationThread * >::value_type arg4 = (std::vector< SimulationThread * >::value_type) 0 ;
60687  void *argp1 = 0 ;
60688  int res1 = 0 ;
60689  swig::SwigPyIterator *iter2 = 0 ;
60690  int res2 ;
60691  size_t val3 ;
60692  int ecode3 = 0 ;
60693  void *argp4 = 0 ;
60694  int res4 = 0 ;
60695  PyObject * obj0 = 0 ;
60696  PyObject * obj1 = 0 ;
60697  PyObject * obj2 = 0 ;
60698  PyObject * obj3 = 0 ;
60699 
60700  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_SimulationThread_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
60701  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60702  if (!SWIG_IsOK(res1)) {
60703  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_insert" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
60704  }
60705  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60706  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
60707  if (!SWIG_IsOK(res2) || !iter2) {
60708  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationThread_insert" "', argument " "2"" of type '" "std::vector< SimulationThread * >::iterator""'");
60709  } else {
60711  if (iter_t) {
60712  arg2 = iter_t->get_current();
60713  } else {
60714  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_SimulationThread_insert" "', argument " "2"" of type '" "std::vector< SimulationThread * >::iterator""'");
60715  }
60716  }
60717  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
60718  if (!SWIG_IsOK(ecode3)) {
60719  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_SimulationThread_insert" "', argument " "3"" of type '" "std::vector< SimulationThread * >::size_type""'");
60720  }
60721  arg3 = static_cast< std::vector< SimulationThread * >::size_type >(val3);
60722  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_SimulationThread, 0 | 0 );
60723  if (!SWIG_IsOK(res4)) {
60724  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_SimulationThread_insert" "', argument " "4"" of type '" "std::vector< SimulationThread * >::value_type""'");
60725  }
60726  arg4 = reinterpret_cast< std::vector< SimulationThread * >::value_type >(argp4);
60727  std_vector_Sl_SimulationThread_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
60728  resultobj = SWIG_Py_Void();
60729  return resultobj;
60730 fail:
60731  return NULL;
60732 }
60733 
60734 
60735 SWIGINTERN PyObject *_wrap_vector_SimulationThread_insert(PyObject *self, PyObject *args) {
60736  int argc;
60737  PyObject *argv[5];
60738  int ii;
60739 
60740  if (!PyTuple_Check(args)) SWIG_fail;
60741  argc = args ? (int)PyObject_Length(args) : 0;
60742  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
60743  argv[ii] = PyTuple_GET_ITEM(args,ii);
60744  }
60745  if (argc == 3) {
60746  int _v;
60747  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
60748  _v = SWIG_CheckState(res);
60749  if (_v) {
60750  swig::SwigPyIterator *iter = 0;
60751  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
60752  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationThread * >::iterator > *>(iter) != 0));
60753  if (_v) {
60754  void *vptr = 0;
60755  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_SimulationThread, 0);
60756  _v = SWIG_CheckState(res);
60757  if (_v) {
60758  return _wrap_vector_SimulationThread_insert__SWIG_0(self, args);
60759  }
60760  }
60761  }
60762  }
60763  if (argc == 4) {
60764  int _v;
60765  int res = swig::asptr(argv[0], (std::vector<SimulationThread*,std::allocator< SimulationThread * > >**)(0));
60766  _v = SWIG_CheckState(res);
60767  if (_v) {
60768  swig::SwigPyIterator *iter = 0;
60769  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
60770  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationThread * >::iterator > *>(iter) != 0));
60771  if (_v) {
60772  {
60773  int res = SWIG_AsVal_size_t(argv[2], NULL);
60774  _v = SWIG_CheckState(res);
60775  }
60776  if (_v) {
60777  void *vptr = 0;
60778  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_SimulationThread, 0);
60779  _v = SWIG_CheckState(res);
60780  if (_v) {
60781  return _wrap_vector_SimulationThread_insert__SWIG_1(self, args);
60782  }
60783  }
60784  }
60785  }
60786  }
60787 
60788 fail:
60789  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_SimulationThread_insert'.\n"
60790  " Possible C/C++ prototypes are:\n"
60791  " std::vector< SimulationThread * >::insert(std::vector< SimulationThread * >::iterator,std::vector< SimulationThread * >::value_type)\n"
60792  " std::vector< SimulationThread * >::insert(std::vector< SimulationThread * >::iterator,std::vector< SimulationThread * >::size_type,std::vector< SimulationThread * >::value_type)\n");
60793  return 0;
60794 }
60795 
60796 
60797 SWIGINTERN PyObject *_wrap_vector_SimulationThread_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60798  PyObject *resultobj = 0;
60799  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60800  std::vector< SimulationThread * >::size_type arg2 ;
60801  void *argp1 = 0 ;
60802  int res1 = 0 ;
60803  size_t val2 ;
60804  int ecode2 = 0 ;
60805  PyObject * obj0 = 0 ;
60806  PyObject * obj1 = 0 ;
60807 
60808  if (!PyArg_ParseTuple(args,(char *)"OO:vector_SimulationThread_reserve",&obj0,&obj1)) SWIG_fail;
60809  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60810  if (!SWIG_IsOK(res1)) {
60811  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_reserve" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
60812  }
60813  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60814  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
60815  if (!SWIG_IsOK(ecode2)) {
60816  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_SimulationThread_reserve" "', argument " "2"" of type '" "std::vector< SimulationThread * >::size_type""'");
60817  }
60818  arg2 = static_cast< std::vector< SimulationThread * >::size_type >(val2);
60819  (arg1)->reserve(arg2);
60820  resultobj = SWIG_Py_Void();
60821  return resultobj;
60822 fail:
60823  return NULL;
60824 }
60825 
60826 
60827 SWIGINTERN PyObject *_wrap_vector_SimulationThread_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60828  PyObject *resultobj = 0;
60829  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60830  void *argp1 = 0 ;
60831  int res1 = 0 ;
60832  PyObject * obj0 = 0 ;
60833  std::vector< SimulationThread * >::size_type result;
60834 
60835  if (!PyArg_ParseTuple(args,(char *)"O:vector_SimulationThread_capacity",&obj0)) SWIG_fail;
60836  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0 | 0 );
60837  if (!SWIG_IsOK(res1)) {
60838  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_SimulationThread_capacity" "', argument " "1"" of type '" "std::vector< SimulationThread * > const *""'");
60839  }
60840  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60841  result = ((std::vector< SimulationThread * > const *)arg1)->capacity();
60842  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
60843  return resultobj;
60844 fail:
60845  return NULL;
60846 }
60847 
60848 
60849 SWIGINTERN PyObject *_wrap_delete_vector_SimulationThread(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60850  PyObject *resultobj = 0;
60851  std::vector< SimulationThread * > *arg1 = (std::vector< SimulationThread * > *) 0 ;
60852  void *argp1 = 0 ;
60853  int res1 = 0 ;
60854  PyObject * obj0 = 0 ;
60855 
60856  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_SimulationThread",&obj0)) SWIG_fail;
60857  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, SWIG_POINTER_DISOWN | 0 );
60858  if (!SWIG_IsOK(res1)) {
60859  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_SimulationThread" "', argument " "1"" of type '" "std::vector< SimulationThread * > *""'");
60860  }
60861  arg1 = reinterpret_cast< std::vector< SimulationThread * > * >(argp1);
60862  {
60863  try {
60864  delete arg1;
60865  }
60866  catch(CStdErrorInfo oError)
60867  {
60868  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
60869  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
60870  PyErr_SetString(PyExc_IndexError, strError.c_str());
60871  SWIG_fail;
60872  }
60873  catch(...)
60874  {
60875  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
60876  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
60877  SWIG_fail;
60878  }
60879  }
60880  resultobj = SWIG_Py_Void();
60881  return resultobj;
60882 fail:
60883  return NULL;
60884 }
60885 
60886 
60887 SWIGINTERN PyObject *vector_SimulationThread_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60888  PyObject *obj;
60889  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
60890  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, SWIG_NewClientData(obj));
60891  return SWIG_Py_Void();
60892 }
60893 
60894 SWIGINTERN PyObject *_wrap_vector_Synapse_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60895  PyObject *resultobj = 0;
60896  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
60897  PyObject **arg2 = (PyObject **) 0 ;
60898  void *argp1 = 0 ;
60899  int res1 = 0 ;
60900  PyObject * obj0 = 0 ;
60901  swig::SwigPyIterator *result = 0 ;
60902 
60903  arg2 = &obj0;
60904  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse_iterator",&obj0)) SWIG_fail;
60905  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
60906  if (!SWIG_IsOK(res1)) {
60907  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_iterator" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
60908  }
60909  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
60910  result = (swig::SwigPyIterator *)std_vector_Sl_Synapse_Sm__Sg__iterator(arg1,arg2);
60911  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
60912  return resultobj;
60913 fail:
60914  return NULL;
60915 }
60916 
60917 
60918 SWIGINTERN PyObject *_wrap_vector_Synapse___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60919  PyObject *resultobj = 0;
60920  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
60921  void *argp1 = 0 ;
60922  int res1 = 0 ;
60923  PyObject * obj0 = 0 ;
60924  bool result;
60925 
60926  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse___nonzero__",&obj0)) SWIG_fail;
60927  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
60928  if (!SWIG_IsOK(res1)) {
60929  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse___nonzero__" "', argument " "1"" of type '" "std::vector< Synapse * > const *""'");
60930  }
60931  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
60932  result = (bool)std_vector_Sl_Synapse_Sm__Sg____nonzero__((std::vector< Synapse * > const *)arg1);
60933  resultobj = SWIG_From_bool(static_cast< bool >(result));
60934  return resultobj;
60935 fail:
60936  return NULL;
60937 }
60938 
60939 
60940 SWIGINTERN PyObject *_wrap_vector_Synapse___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60941  PyObject *resultobj = 0;
60942  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
60943  void *argp1 = 0 ;
60944  int res1 = 0 ;
60945  PyObject * obj0 = 0 ;
60946  bool result;
60947 
60948  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse___bool__",&obj0)) SWIG_fail;
60949  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
60950  if (!SWIG_IsOK(res1)) {
60951  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse___bool__" "', argument " "1"" of type '" "std::vector< Synapse * > const *""'");
60952  }
60953  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
60954  result = (bool)std_vector_Sl_Synapse_Sm__Sg____bool__((std::vector< Synapse * > const *)arg1);
60955  resultobj = SWIG_From_bool(static_cast< bool >(result));
60956  return resultobj;
60957 fail:
60958  return NULL;
60959 }
60960 
60961 
60962 SWIGINTERN PyObject *_wrap_vector_Synapse___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60963  PyObject *resultobj = 0;
60964  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
60965  void *argp1 = 0 ;
60966  int res1 = 0 ;
60967  PyObject * obj0 = 0 ;
60968  std::vector< Synapse * >::size_type result;
60969 
60970  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse___len__",&obj0)) SWIG_fail;
60971  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
60972  if (!SWIG_IsOK(res1)) {
60973  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse___len__" "', argument " "1"" of type '" "std::vector< Synapse * > const *""'");
60974  }
60975  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
60976  result = std_vector_Sl_Synapse_Sm__Sg____len__((std::vector< Synapse * > const *)arg1);
60977  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
60978  return resultobj;
60979 fail:
60980  return NULL;
60981 }
60982 
60983 
60984 SWIGINTERN PyObject *_wrap_vector_Synapse_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
60985  PyObject *resultobj = 0;
60986  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
60987  void *argp1 = 0 ;
60988  int res1 = 0 ;
60989  PyObject * obj0 = 0 ;
60990  std::vector< Synapse * >::value_type result;
60991 
60992  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse_pop",&obj0)) SWIG_fail;
60993  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
60994  if (!SWIG_IsOK(res1)) {
60995  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_pop" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
60996  }
60997  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
60998  try {
60999  result = (std::vector< Synapse * >::value_type)std_vector_Sl_Synapse_Sm__Sg__pop(arg1);
61000  }
61001  catch(std::out_of_range &_e) {
61002  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
61003  }
61004 
61005  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Synapse, 0 | 0 );
61006  return resultobj;
61007 fail:
61008  return NULL;
61009 }
61010 
61011 
61012 SWIGINTERN PyObject *_wrap_vector_Synapse___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61013  PyObject *resultobj = 0;
61014  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61015  std::vector< Synapse * >::difference_type arg2 ;
61016  std::vector< Synapse * >::difference_type arg3 ;
61017  void *argp1 = 0 ;
61018  int res1 = 0 ;
61019  ptrdiff_t val2 ;
61020  int ecode2 = 0 ;
61021  ptrdiff_t val3 ;
61022  int ecode3 = 0 ;
61023  PyObject * obj0 = 0 ;
61024  PyObject * obj1 = 0 ;
61025  PyObject * obj2 = 0 ;
61026  std::vector< Synapse *,std::allocator< Synapse * > > *result = 0 ;
61027 
61028  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Synapse___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
61029  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61030  if (!SWIG_IsOK(res1)) {
61031  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse___getslice__" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61032  }
61033  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61034  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
61035  if (!SWIG_IsOK(ecode2)) {
61036  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Synapse___getslice__" "', argument " "2"" of type '" "std::vector< Synapse * >::difference_type""'");
61037  }
61038  arg2 = static_cast< std::vector< Synapse * >::difference_type >(val2);
61039  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
61040  if (!SWIG_IsOK(ecode3)) {
61041  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_Synapse___getslice__" "', argument " "3"" of type '" "std::vector< Synapse * >::difference_type""'");
61042  }
61043  arg3 = static_cast< std::vector< Synapse * >::difference_type >(val3);
61044  try {
61045  result = (std::vector< Synapse *,std::allocator< Synapse * > > *)std_vector_Sl_Synapse_Sm__Sg____getslice__(arg1,arg2,arg3);
61046  }
61047  catch(std::out_of_range &_e) {
61048  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
61049  }
61050  catch(std::invalid_argument &_e) {
61051  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
61052  }
61053 
61054  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, SWIG_POINTER_OWN | 0 );
61055  return resultobj;
61056 fail:
61057  return NULL;
61058 }
61059 
61060 
61061 SWIGINTERN PyObject *_wrap_vector_Synapse___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61062  PyObject *resultobj = 0;
61063  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61064  std::vector< Synapse * >::difference_type arg2 ;
61065  std::vector< Synapse * >::difference_type arg3 ;
61066  std::vector< Synapse *,std::allocator< Synapse * > > *arg4 = 0 ;
61067  void *argp1 = 0 ;
61068  int res1 = 0 ;
61069  ptrdiff_t val2 ;
61070  int ecode2 = 0 ;
61071  ptrdiff_t val3 ;
61072  int ecode3 = 0 ;
61073  int res4 = SWIG_OLDOBJ ;
61074  PyObject * obj0 = 0 ;
61075  PyObject * obj1 = 0 ;
61076  PyObject * obj2 = 0 ;
61077  PyObject * obj3 = 0 ;
61078 
61079  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_Synapse___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
61080  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61081  if (!SWIG_IsOK(res1)) {
61082  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse___setslice__" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61083  }
61084  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61085  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
61086  if (!SWIG_IsOK(ecode2)) {
61087  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Synapse___setslice__" "', argument " "2"" of type '" "std::vector< Synapse * >::difference_type""'");
61088  }
61089  arg2 = static_cast< std::vector< Synapse * >::difference_type >(val2);
61090  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
61091  if (!SWIG_IsOK(ecode3)) {
61092  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_Synapse___setslice__" "', argument " "3"" of type '" "std::vector< Synapse * >::difference_type""'");
61093  }
61094  arg3 = static_cast< std::vector< Synapse * >::difference_type >(val3);
61095  {
61096  std::vector<Synapse*,std::allocator< Synapse * > > *ptr = (std::vector<Synapse*,std::allocator< Synapse * > > *)0;
61097  res4 = swig::asptr(obj3, &ptr);
61098  if (!SWIG_IsOK(res4)) {
61099  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_Synapse___setslice__" "', argument " "4"" of type '" "std::vector< Synapse *,std::allocator< Synapse * > > const &""'");
61100  }
61101  if (!ptr) {
61102  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_Synapse___setslice__" "', argument " "4"" of type '" "std::vector< Synapse *,std::allocator< Synapse * > > const &""'");
61103  }
61104  arg4 = ptr;
61105  }
61106  try {
61107  std_vector_Sl_Synapse_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< Synapse *,std::allocator< Synapse * > > const &)*arg4);
61108  }
61109  catch(std::out_of_range &_e) {
61110  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
61111  }
61112  catch(std::invalid_argument &_e) {
61113  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
61114  }
61115 
61116  resultobj = SWIG_Py_Void();
61117  if (SWIG_IsNewObj(res4)) delete arg4;
61118  return resultobj;
61119 fail:
61120  if (SWIG_IsNewObj(res4)) delete arg4;
61121  return NULL;
61122 }
61123 
61124 
61125 SWIGINTERN PyObject *_wrap_vector_Synapse___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61126  PyObject *resultobj = 0;
61127  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61128  std::vector< Synapse * >::difference_type arg2 ;
61129  std::vector< Synapse * >::difference_type arg3 ;
61130  void *argp1 = 0 ;
61131  int res1 = 0 ;
61132  ptrdiff_t val2 ;
61133  int ecode2 = 0 ;
61134  ptrdiff_t val3 ;
61135  int ecode3 = 0 ;
61136  PyObject * obj0 = 0 ;
61137  PyObject * obj1 = 0 ;
61138  PyObject * obj2 = 0 ;
61139 
61140  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Synapse___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
61141  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61142  if (!SWIG_IsOK(res1)) {
61143  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse___setslice__" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61144  }
61145  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61146  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
61147  if (!SWIG_IsOK(ecode2)) {
61148  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Synapse___setslice__" "', argument " "2"" of type '" "std::vector< Synapse * >::difference_type""'");
61149  }
61150  arg2 = static_cast< std::vector< Synapse * >::difference_type >(val2);
61151  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
61152  if (!SWIG_IsOK(ecode3)) {
61153  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_Synapse___setslice__" "', argument " "3"" of type '" "std::vector< Synapse * >::difference_type""'");
61154  }
61155  arg3 = static_cast< std::vector< Synapse * >::difference_type >(val3);
61156  try {
61157  std_vector_Sl_Synapse_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
61158  }
61159  catch(std::out_of_range &_e) {
61160  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
61161  }
61162  catch(std::invalid_argument &_e) {
61163  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
61164  }
61165 
61166  resultobj = SWIG_Py_Void();
61167  return resultobj;
61168 fail:
61169  return NULL;
61170 }
61171 
61172 
61173 SWIGINTERN PyObject *_wrap_vector_Synapse___setslice__(PyObject *self, PyObject *args) {
61174  int argc;
61175  PyObject *argv[5];
61176  int ii;
61177 
61178  if (!PyTuple_Check(args)) SWIG_fail;
61179  argc = args ? (int)PyObject_Length(args) : 0;
61180  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
61181  argv[ii] = PyTuple_GET_ITEM(args,ii);
61182  }
61183  if (argc == 3) {
61184  int _v;
61185  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
61186  _v = SWIG_CheckState(res);
61187  if (_v) {
61188  {
61189  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
61190  _v = SWIG_CheckState(res);
61191  }
61192  if (_v) {
61193  {
61194  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
61195  _v = SWIG_CheckState(res);
61196  }
61197  if (_v) {
61198  return _wrap_vector_Synapse___setslice____SWIG_1(self, args);
61199  }
61200  }
61201  }
61202  }
61203  if (argc == 4) {
61204  int _v;
61205  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
61206  _v = SWIG_CheckState(res);
61207  if (_v) {
61208  {
61209  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
61210  _v = SWIG_CheckState(res);
61211  }
61212  if (_v) {
61213  {
61214  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
61215  _v = SWIG_CheckState(res);
61216  }
61217  if (_v) {
61218  int res = swig::asptr(argv[3], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
61219  _v = SWIG_CheckState(res);
61220  if (_v) {
61221  return _wrap_vector_Synapse___setslice____SWIG_0(self, args);
61222  }
61223  }
61224  }
61225  }
61226  }
61227 
61228 fail:
61229  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_Synapse___setslice__'.\n"
61230  " Possible C/C++ prototypes are:\n"
61231  " std::vector< Synapse * >::__setslice__(std::vector< Synapse * >::difference_type,std::vector< Synapse * >::difference_type,std::vector< Synapse *,std::allocator< Synapse * > > const &)\n"
61232  " std::vector< Synapse * >::__setslice__(std::vector< Synapse * >::difference_type,std::vector< Synapse * >::difference_type)\n");
61233  return 0;
61234 }
61235 
61236 
61237 SWIGINTERN PyObject *_wrap_vector_Synapse___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61238  PyObject *resultobj = 0;
61239  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61240  std::vector< Synapse * >::difference_type arg2 ;
61241  std::vector< Synapse * >::difference_type arg3 ;
61242  void *argp1 = 0 ;
61243  int res1 = 0 ;
61244  ptrdiff_t val2 ;
61245  int ecode2 = 0 ;
61246  ptrdiff_t val3 ;
61247  int ecode3 = 0 ;
61248  PyObject * obj0 = 0 ;
61249  PyObject * obj1 = 0 ;
61250  PyObject * obj2 = 0 ;
61251 
61252  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Synapse___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
61253  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61254  if (!SWIG_IsOK(res1)) {
61255  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse___delslice__" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61256  }
61257  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61258  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
61259  if (!SWIG_IsOK(ecode2)) {
61260  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Synapse___delslice__" "', argument " "2"" of type '" "std::vector< Synapse * >::difference_type""'");
61261  }
61262  arg2 = static_cast< std::vector< Synapse * >::difference_type >(val2);
61263  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
61264  if (!SWIG_IsOK(ecode3)) {
61265  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_Synapse___delslice__" "', argument " "3"" of type '" "std::vector< Synapse * >::difference_type""'");
61266  }
61267  arg3 = static_cast< std::vector< Synapse * >::difference_type >(val3);
61268  try {
61269  std_vector_Sl_Synapse_Sm__Sg____delslice__(arg1,arg2,arg3);
61270  }
61271  catch(std::out_of_range &_e) {
61272  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
61273  }
61274  catch(std::invalid_argument &_e) {
61275  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
61276  }
61277 
61278  resultobj = SWIG_Py_Void();
61279  return resultobj;
61280 fail:
61281  return NULL;
61282 }
61283 
61284 
61285 SWIGINTERN PyObject *_wrap_vector_Synapse___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61286  PyObject *resultobj = 0;
61287  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61288  std::vector< Synapse * >::difference_type arg2 ;
61289  void *argp1 = 0 ;
61290  int res1 = 0 ;
61291  ptrdiff_t val2 ;
61292  int ecode2 = 0 ;
61293  PyObject * obj0 = 0 ;
61294  PyObject * obj1 = 0 ;
61295 
61296  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Synapse___delitem__",&obj0,&obj1)) SWIG_fail;
61297  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61298  if (!SWIG_IsOK(res1)) {
61299  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse___delitem__" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61300  }
61301  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61302  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
61303  if (!SWIG_IsOK(ecode2)) {
61304  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Synapse___delitem__" "', argument " "2"" of type '" "std::vector< Synapse * >::difference_type""'");
61305  }
61306  arg2 = static_cast< std::vector< Synapse * >::difference_type >(val2);
61307  try {
61308  std_vector_Sl_Synapse_Sm__Sg____delitem____SWIG_0(arg1,arg2);
61309  }
61310  catch(std::out_of_range &_e) {
61311  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
61312  }
61313 
61314  resultobj = SWIG_Py_Void();
61315  return resultobj;
61316 fail:
61317  return NULL;
61318 }
61319 
61320 
61321 SWIGINTERN PyObject *_wrap_vector_Synapse___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61322  PyObject *resultobj = 0;
61323  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61324  PySliceObject *arg2 = (PySliceObject *) 0 ;
61325  void *argp1 = 0 ;
61326  int res1 = 0 ;
61327  PyObject * obj0 = 0 ;
61328  PyObject * obj1 = 0 ;
61329  std::vector< Synapse *,std::allocator< Synapse * > > *result = 0 ;
61330 
61331  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Synapse___getitem__",&obj0,&obj1)) SWIG_fail;
61332  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61333  if (!SWIG_IsOK(res1)) {
61334  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse___getitem__" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61335  }
61336  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61337  {
61338  if (!PySlice_Check(obj1)) {
61339  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Synapse___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
61340  }
61341  arg2 = (PySliceObject *) obj1;
61342  }
61343  try {
61344  result = (std::vector< Synapse *,std::allocator< Synapse * > > *)std_vector_Sl_Synapse_Sm__Sg____getitem____SWIG_0(arg1,arg2);
61345  }
61346  catch(std::out_of_range &_e) {
61347  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
61348  }
61349  catch(std::invalid_argument &_e) {
61350  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
61351  }
61352 
61353  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, SWIG_POINTER_OWN | 0 );
61354  return resultobj;
61355 fail:
61356  return NULL;
61357 }
61358 
61359 
61360 SWIGINTERN PyObject *_wrap_vector_Synapse___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61361  PyObject *resultobj = 0;
61362  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61363  PySliceObject *arg2 = (PySliceObject *) 0 ;
61364  std::vector< Synapse *,std::allocator< Synapse * > > *arg3 = 0 ;
61365  void *argp1 = 0 ;
61366  int res1 = 0 ;
61367  int res3 = SWIG_OLDOBJ ;
61368  PyObject * obj0 = 0 ;
61369  PyObject * obj1 = 0 ;
61370  PyObject * obj2 = 0 ;
61371 
61372  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Synapse___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
61373  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61374  if (!SWIG_IsOK(res1)) {
61375  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse___setitem__" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61376  }
61377  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61378  {
61379  if (!PySlice_Check(obj1)) {
61380  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Synapse___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
61381  }
61382  arg2 = (PySliceObject *) obj1;
61383  }
61384  {
61385  std::vector<Synapse*,std::allocator< Synapse * > > *ptr = (std::vector<Synapse*,std::allocator< Synapse * > > *)0;
61386  res3 = swig::asptr(obj2, &ptr);
61387  if (!SWIG_IsOK(res3)) {
61388  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_Synapse___setitem__" "', argument " "3"" of type '" "std::vector< Synapse *,std::allocator< Synapse * > > const &""'");
61389  }
61390  if (!ptr) {
61391  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_Synapse___setitem__" "', argument " "3"" of type '" "std::vector< Synapse *,std::allocator< Synapse * > > const &""'");
61392  }
61393  arg3 = ptr;
61394  }
61395  try {
61396  std_vector_Sl_Synapse_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< Synapse *,std::allocator< Synapse * > > const &)*arg3);
61397  }
61398  catch(std::out_of_range &_e) {
61399  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
61400  }
61401  catch(std::invalid_argument &_e) {
61402  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
61403  }
61404 
61405  resultobj = SWIG_Py_Void();
61406  if (SWIG_IsNewObj(res3)) delete arg3;
61407  return resultobj;
61408 fail:
61409  if (SWIG_IsNewObj(res3)) delete arg3;
61410  return NULL;
61411 }
61412 
61413 
61414 SWIGINTERN PyObject *_wrap_vector_Synapse___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61415  PyObject *resultobj = 0;
61416  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61417  PySliceObject *arg2 = (PySliceObject *) 0 ;
61418  void *argp1 = 0 ;
61419  int res1 = 0 ;
61420  PyObject * obj0 = 0 ;
61421  PyObject * obj1 = 0 ;
61422 
61423  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Synapse___setitem__",&obj0,&obj1)) SWIG_fail;
61424  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61425  if (!SWIG_IsOK(res1)) {
61426  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse___setitem__" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61427  }
61428  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61429  {
61430  if (!PySlice_Check(obj1)) {
61431  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Synapse___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
61432  }
61433  arg2 = (PySliceObject *) obj1;
61434  }
61435  try {
61436  std_vector_Sl_Synapse_Sm__Sg____setitem____SWIG_1(arg1,arg2);
61437  }
61438  catch(std::out_of_range &_e) {
61439  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
61440  }
61441  catch(std::invalid_argument &_e) {
61442  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
61443  }
61444 
61445  resultobj = SWIG_Py_Void();
61446  return resultobj;
61447 fail:
61448  return NULL;
61449 }
61450 
61451 
61452 SWIGINTERN PyObject *_wrap_vector_Synapse___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61453  PyObject *resultobj = 0;
61454  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61455  PySliceObject *arg2 = (PySliceObject *) 0 ;
61456  void *argp1 = 0 ;
61457  int res1 = 0 ;
61458  PyObject * obj0 = 0 ;
61459  PyObject * obj1 = 0 ;
61460 
61461  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Synapse___delitem__",&obj0,&obj1)) SWIG_fail;
61462  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61463  if (!SWIG_IsOK(res1)) {
61464  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse___delitem__" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61465  }
61466  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61467  {
61468  if (!PySlice_Check(obj1)) {
61469  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Synapse___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
61470  }
61471  arg2 = (PySliceObject *) obj1;
61472  }
61473  try {
61474  std_vector_Sl_Synapse_Sm__Sg____delitem____SWIG_1(arg1,arg2);
61475  }
61476  catch(std::out_of_range &_e) {
61477  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
61478  }
61479  catch(std::invalid_argument &_e) {
61480  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
61481  }
61482 
61483  resultobj = SWIG_Py_Void();
61484  return resultobj;
61485 fail:
61486  return NULL;
61487 }
61488 
61489 
61490 SWIGINTERN PyObject *_wrap_vector_Synapse___delitem__(PyObject *self, PyObject *args) {
61491  int argc;
61492  PyObject *argv[3];
61493  int ii;
61494 
61495  if (!PyTuple_Check(args)) SWIG_fail;
61496  argc = args ? (int)PyObject_Length(args) : 0;
61497  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
61498  argv[ii] = PyTuple_GET_ITEM(args,ii);
61499  }
61500  if (argc == 2) {
61501  int _v;
61502  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
61503  _v = SWIG_CheckState(res);
61504  if (_v) {
61505  {
61506  _v = PySlice_Check(argv[1]);
61507  }
61508  if (_v) {
61509  return _wrap_vector_Synapse___delitem____SWIG_1(self, args);
61510  }
61511  }
61512  }
61513  if (argc == 2) {
61514  int _v;
61515  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
61516  _v = SWIG_CheckState(res);
61517  if (_v) {
61518  {
61519  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
61520  _v = SWIG_CheckState(res);
61521  }
61522  if (_v) {
61523  return _wrap_vector_Synapse___delitem____SWIG_0(self, args);
61524  }
61525  }
61526  }
61527 
61528 fail:
61529  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_Synapse___delitem__'.\n"
61530  " Possible C/C++ prototypes are:\n"
61531  " std::vector< Synapse * >::__delitem__(std::vector< Synapse * >::difference_type)\n"
61532  " std::vector< Synapse * >::__delitem__(PySliceObject *)\n");
61533  return 0;
61534 }
61535 
61536 
61537 SWIGINTERN PyObject *_wrap_vector_Synapse___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61538  PyObject *resultobj = 0;
61539  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61540  std::vector< Synapse * >::difference_type arg2 ;
61541  void *argp1 = 0 ;
61542  int res1 = 0 ;
61543  ptrdiff_t val2 ;
61544  int ecode2 = 0 ;
61545  PyObject * obj0 = 0 ;
61546  PyObject * obj1 = 0 ;
61547  std::vector< Synapse * >::value_type result;
61548 
61549  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Synapse___getitem__",&obj0,&obj1)) SWIG_fail;
61550  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61551  if (!SWIG_IsOK(res1)) {
61552  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse___getitem__" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61553  }
61554  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61555  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
61556  if (!SWIG_IsOK(ecode2)) {
61557  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Synapse___getitem__" "', argument " "2"" of type '" "std::vector< Synapse * >::difference_type""'");
61558  }
61559  arg2 = static_cast< std::vector< Synapse * >::difference_type >(val2);
61560  try {
61561  result = (std::vector< Synapse * >::value_type)std_vector_Sl_Synapse_Sm__Sg____getitem____SWIG_1(arg1,arg2);
61562  }
61563  catch(std::out_of_range &_e) {
61564  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
61565  }
61566 
61567  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Synapse, 0 | 0 );
61568  return resultobj;
61569 fail:
61570  return NULL;
61571 }
61572 
61573 
61574 SWIGINTERN PyObject *_wrap_vector_Synapse___getitem__(PyObject *self, PyObject *args) {
61575  int argc;
61576  PyObject *argv[3];
61577  int ii;
61578 
61579  if (!PyTuple_Check(args)) SWIG_fail;
61580  argc = args ? (int)PyObject_Length(args) : 0;
61581  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
61582  argv[ii] = PyTuple_GET_ITEM(args,ii);
61583  }
61584  if (argc == 2) {
61585  int _v;
61586  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
61587  _v = SWIG_CheckState(res);
61588  if (_v) {
61589  {
61590  _v = PySlice_Check(argv[1]);
61591  }
61592  if (_v) {
61593  return _wrap_vector_Synapse___getitem____SWIG_0(self, args);
61594  }
61595  }
61596  }
61597  if (argc == 2) {
61598  int _v;
61599  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
61600  _v = SWIG_CheckState(res);
61601  if (_v) {
61602  {
61603  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
61604  _v = SWIG_CheckState(res);
61605  }
61606  if (_v) {
61607  return _wrap_vector_Synapse___getitem____SWIG_1(self, args);
61608  }
61609  }
61610  }
61611 
61612 fail:
61613  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_Synapse___getitem__'.\n"
61614  " Possible C/C++ prototypes are:\n"
61615  " std::vector< Synapse * >::__getitem__(PySliceObject *)\n"
61616  " std::vector< Synapse * >::__getitem__(std::vector< Synapse * >::difference_type)\n");
61617  return 0;
61618 }
61619 
61620 
61621 SWIGINTERN PyObject *_wrap_vector_Synapse___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61622  PyObject *resultobj = 0;
61623  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61624  std::vector< Synapse * >::difference_type arg2 ;
61625  std::vector< Synapse * >::value_type arg3 = (std::vector< Synapse * >::value_type) 0 ;
61626  void *argp1 = 0 ;
61627  int res1 = 0 ;
61628  ptrdiff_t val2 ;
61629  int ecode2 = 0 ;
61630  void *argp3 = 0 ;
61631  int res3 = 0 ;
61632  PyObject * obj0 = 0 ;
61633  PyObject * obj1 = 0 ;
61634  PyObject * obj2 = 0 ;
61635 
61636  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Synapse___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
61637  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61638  if (!SWIG_IsOK(res1)) {
61639  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse___setitem__" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61640  }
61641  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61642  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
61643  if (!SWIG_IsOK(ecode2)) {
61644  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Synapse___setitem__" "', argument " "2"" of type '" "std::vector< Synapse * >::difference_type""'");
61645  }
61646  arg2 = static_cast< std::vector< Synapse * >::difference_type >(val2);
61647  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Synapse, 0 | 0 );
61648  if (!SWIG_IsOK(res3)) {
61649  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_Synapse___setitem__" "', argument " "3"" of type '" "std::vector< Synapse * >::value_type""'");
61650  }
61651  arg3 = reinterpret_cast< std::vector< Synapse * >::value_type >(argp3);
61652  try {
61653  std_vector_Sl_Synapse_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
61654  }
61655  catch(std::out_of_range &_e) {
61656  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
61657  }
61658 
61659  resultobj = SWIG_Py_Void();
61660  return resultobj;
61661 fail:
61662  return NULL;
61663 }
61664 
61665 
61666 SWIGINTERN PyObject *_wrap_vector_Synapse___setitem__(PyObject *self, PyObject *args) {
61667  int argc;
61668  PyObject *argv[4];
61669  int ii;
61670 
61671  if (!PyTuple_Check(args)) SWIG_fail;
61672  argc = args ? (int)PyObject_Length(args) : 0;
61673  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
61674  argv[ii] = PyTuple_GET_ITEM(args,ii);
61675  }
61676  if (argc == 2) {
61677  int _v;
61678  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
61679  _v = SWIG_CheckState(res);
61680  if (_v) {
61681  {
61682  _v = PySlice_Check(argv[1]);
61683  }
61684  if (_v) {
61685  return _wrap_vector_Synapse___setitem____SWIG_1(self, args);
61686  }
61687  }
61688  }
61689  if (argc == 3) {
61690  int _v;
61691  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
61692  _v = SWIG_CheckState(res);
61693  if (_v) {
61694  {
61695  _v = PySlice_Check(argv[1]);
61696  }
61697  if (_v) {
61698  int res = swig::asptr(argv[2], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
61699  _v = SWIG_CheckState(res);
61700  if (_v) {
61701  return _wrap_vector_Synapse___setitem____SWIG_0(self, args);
61702  }
61703  }
61704  }
61705  }
61706  if (argc == 3) {
61707  int _v;
61708  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
61709  _v = SWIG_CheckState(res);
61710  if (_v) {
61711  {
61712  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
61713  _v = SWIG_CheckState(res);
61714  }
61715  if (_v) {
61716  void *vptr = 0;
61717  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Synapse, 0);
61718  _v = SWIG_CheckState(res);
61719  if (_v) {
61720  return _wrap_vector_Synapse___setitem____SWIG_2(self, args);
61721  }
61722  }
61723  }
61724  }
61725 
61726 fail:
61727  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_Synapse___setitem__'.\n"
61728  " Possible C/C++ prototypes are:\n"
61729  " std::vector< Synapse * >::__setitem__(PySliceObject *,std::vector< Synapse *,std::allocator< Synapse * > > const &)\n"
61730  " std::vector< Synapse * >::__setitem__(PySliceObject *)\n"
61731  " std::vector< Synapse * >::__setitem__(std::vector< Synapse * >::difference_type,std::vector< Synapse * >::value_type)\n");
61732  return 0;
61733 }
61734 
61735 
61736 SWIGINTERN PyObject *_wrap_vector_Synapse_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61737  PyObject *resultobj = 0;
61738  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61739  std::vector< Synapse * >::value_type arg2 = (std::vector< Synapse * >::value_type) 0 ;
61740  void *argp1 = 0 ;
61741  int res1 = 0 ;
61742  void *argp2 = 0 ;
61743  int res2 = 0 ;
61744  PyObject * obj0 = 0 ;
61745  PyObject * obj1 = 0 ;
61746 
61747  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Synapse_append",&obj0,&obj1)) SWIG_fail;
61748  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61749  if (!SWIG_IsOK(res1)) {
61750  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_append" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61751  }
61752  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61753  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Synapse, 0 | 0 );
61754  if (!SWIG_IsOK(res2)) {
61755  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_Synapse_append" "', argument " "2"" of type '" "std::vector< Synapse * >::value_type""'");
61756  }
61757  arg2 = reinterpret_cast< std::vector< Synapse * >::value_type >(argp2);
61758  std_vector_Sl_Synapse_Sm__Sg__append(arg1,arg2);
61759  resultobj = SWIG_Py_Void();
61760  return resultobj;
61761 fail:
61762  return NULL;
61763 }
61764 
61765 
61766 SWIGINTERN PyObject *_wrap_new_vector_Synapse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61767  PyObject *resultobj = 0;
61768  std::vector< Synapse * > *result = 0 ;
61769 
61770  if (!PyArg_ParseTuple(args,(char *)":new_vector_Synapse")) SWIG_fail;
61771  result = (std::vector< Synapse * > *)new std::vector< Synapse * >();
61772  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, SWIG_POINTER_NEW | 0 );
61773  return resultobj;
61774 fail:
61775  return NULL;
61776 }
61777 
61778 
61779 SWIGINTERN PyObject *_wrap_new_vector_Synapse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61780  PyObject *resultobj = 0;
61781  std::vector< Synapse * > *arg1 = 0 ;
61782  int res1 = SWIG_OLDOBJ ;
61783  PyObject * obj0 = 0 ;
61784  std::vector< Synapse * > *result = 0 ;
61785 
61786  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_Synapse",&obj0)) SWIG_fail;
61787  {
61788  std::vector<Synapse*,std::allocator< Synapse * > > *ptr = (std::vector<Synapse*,std::allocator< Synapse * > > *)0;
61789  res1 = swig::asptr(obj0, &ptr);
61790  if (!SWIG_IsOK(res1)) {
61791  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_Synapse" "', argument " "1"" of type '" "std::vector< Synapse * > const &""'");
61792  }
61793  if (!ptr) {
61794  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_Synapse" "', argument " "1"" of type '" "std::vector< Synapse * > const &""'");
61795  }
61796  arg1 = ptr;
61797  }
61798  result = (std::vector< Synapse * > *)new std::vector< Synapse * >((std::vector< Synapse * > const &)*arg1);
61799  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, SWIG_POINTER_NEW | 0 );
61800  if (SWIG_IsNewObj(res1)) delete arg1;
61801  return resultobj;
61802 fail:
61803  if (SWIG_IsNewObj(res1)) delete arg1;
61804  return NULL;
61805 }
61806 
61807 
61808 SWIGINTERN PyObject *_wrap_vector_Synapse_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61809  PyObject *resultobj = 0;
61810  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61811  void *argp1 = 0 ;
61812  int res1 = 0 ;
61813  PyObject * obj0 = 0 ;
61814  bool result;
61815 
61816  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse_empty",&obj0)) SWIG_fail;
61817  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61818  if (!SWIG_IsOK(res1)) {
61819  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_empty" "', argument " "1"" of type '" "std::vector< Synapse * > const *""'");
61820  }
61821  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61822  result = (bool)((std::vector< Synapse * > const *)arg1)->empty();
61823  resultobj = SWIG_From_bool(static_cast< bool >(result));
61824  return resultobj;
61825 fail:
61826  return NULL;
61827 }
61828 
61829 
61830 SWIGINTERN PyObject *_wrap_vector_Synapse_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61831  PyObject *resultobj = 0;
61832  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61833  void *argp1 = 0 ;
61834  int res1 = 0 ;
61835  PyObject * obj0 = 0 ;
61836  std::vector< Synapse * >::size_type result;
61837 
61838  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse_size",&obj0)) SWIG_fail;
61839  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61840  if (!SWIG_IsOK(res1)) {
61841  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_size" "', argument " "1"" of type '" "std::vector< Synapse * > const *""'");
61842  }
61843  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61844  result = ((std::vector< Synapse * > const *)arg1)->size();
61845  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
61846  return resultobj;
61847 fail:
61848  return NULL;
61849 }
61850 
61851 
61852 SWIGINTERN PyObject *_wrap_vector_Synapse_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61853  PyObject *resultobj = 0;
61854  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61855  void *argp1 = 0 ;
61856  int res1 = 0 ;
61857  PyObject * obj0 = 0 ;
61858 
61859  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse_clear",&obj0)) SWIG_fail;
61860  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61861  if (!SWIG_IsOK(res1)) {
61862  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_clear" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61863  }
61864  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61865  (arg1)->clear();
61866  resultobj = SWIG_Py_Void();
61867  return resultobj;
61868 fail:
61869  return NULL;
61870 }
61871 
61872 
61873 SWIGINTERN PyObject *_wrap_vector_Synapse_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61874  PyObject *resultobj = 0;
61875  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61876  std::vector< Synapse * > *arg2 = 0 ;
61877  void *argp1 = 0 ;
61878  int res1 = 0 ;
61879  void *argp2 = 0 ;
61880  int res2 = 0 ;
61881  PyObject * obj0 = 0 ;
61882  PyObject * obj1 = 0 ;
61883 
61884  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Synapse_swap",&obj0,&obj1)) SWIG_fail;
61885  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61886  if (!SWIG_IsOK(res1)) {
61887  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_swap" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61888  }
61889  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61890  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 );
61891  if (!SWIG_IsOK(res2)) {
61892  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_Synapse_swap" "', argument " "2"" of type '" "std::vector< Synapse * > &""'");
61893  }
61894  if (!argp2) {
61895  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_Synapse_swap" "', argument " "2"" of type '" "std::vector< Synapse * > &""'");
61896  }
61897  arg2 = reinterpret_cast< std::vector< Synapse * > * >(argp2);
61898  (arg1)->swap(*arg2);
61899  resultobj = SWIG_Py_Void();
61900  return resultobj;
61901 fail:
61902  return NULL;
61903 }
61904 
61905 
61906 SWIGINTERN PyObject *_wrap_vector_Synapse_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61907  PyObject *resultobj = 0;
61908  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61909  void *argp1 = 0 ;
61910  int res1 = 0 ;
61911  PyObject * obj0 = 0 ;
61912  SwigValueWrapper< std::allocator< Synapse * > > result;
61913 
61914  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse_get_allocator",&obj0)) SWIG_fail;
61915  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61916  if (!SWIG_IsOK(res1)) {
61917  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_get_allocator" "', argument " "1"" of type '" "std::vector< Synapse * > const *""'");
61918  }
61919  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61920  result = ((std::vector< Synapse * > const *)arg1)->get_allocator();
61921  resultobj = SWIG_NewPointerObj((new std::vector< Synapse * >::allocator_type(static_cast< const std::vector< Synapse * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_Synapse_p_t, SWIG_POINTER_OWN | 0 );
61922  return resultobj;
61923 fail:
61924  return NULL;
61925 }
61926 
61927 
61928 SWIGINTERN PyObject *_wrap_vector_Synapse_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61929  PyObject *resultobj = 0;
61930  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61931  void *argp1 = 0 ;
61932  int res1 = 0 ;
61933  PyObject * obj0 = 0 ;
61934  std::vector< Synapse * >::iterator result;
61935 
61936  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse_begin",&obj0)) SWIG_fail;
61937  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61938  if (!SWIG_IsOK(res1)) {
61939  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_begin" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61940  }
61941  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61942  result = (arg1)->begin();
61943  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Synapse * >::iterator & >(result)),
61944  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
61945  return resultobj;
61946 fail:
61947  return NULL;
61948 }
61949 
61950 
61951 SWIGINTERN PyObject *_wrap_vector_Synapse_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61952  PyObject *resultobj = 0;
61953  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61954  void *argp1 = 0 ;
61955  int res1 = 0 ;
61956  PyObject * obj0 = 0 ;
61957  std::vector< Synapse * >::iterator result;
61958 
61959  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse_end",&obj0)) SWIG_fail;
61960  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61961  if (!SWIG_IsOK(res1)) {
61962  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_end" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61963  }
61964  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61965  result = (arg1)->end();
61966  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Synapse * >::iterator & >(result)),
61967  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
61968  return resultobj;
61969 fail:
61970  return NULL;
61971 }
61972 
61973 
61974 SWIGINTERN PyObject *_wrap_vector_Synapse_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61975  PyObject *resultobj = 0;
61976  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
61977  void *argp1 = 0 ;
61978  int res1 = 0 ;
61979  PyObject * obj0 = 0 ;
61980  std::vector< Synapse * >::reverse_iterator result;
61981 
61982  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse_rbegin",&obj0)) SWIG_fail;
61983  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
61984  if (!SWIG_IsOK(res1)) {
61985  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_rbegin" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
61986  }
61987  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
61988  result = (arg1)->rbegin();
61989  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Synapse * >::reverse_iterator & >(result)),
61990  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
61991  return resultobj;
61992 fail:
61993  return NULL;
61994 }
61995 
61996 
61997 SWIGINTERN PyObject *_wrap_vector_Synapse_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
61998  PyObject *resultobj = 0;
61999  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
62000  void *argp1 = 0 ;
62001  int res1 = 0 ;
62002  PyObject * obj0 = 0 ;
62003  std::vector< Synapse * >::reverse_iterator result;
62004 
62005  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse_rend",&obj0)) SWIG_fail;
62006  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
62007  if (!SWIG_IsOK(res1)) {
62008  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_rend" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
62009  }
62010  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
62011  result = (arg1)->rend();
62012  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Synapse * >::reverse_iterator & >(result)),
62013  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
62014  return resultobj;
62015 fail:
62016  return NULL;
62017 }
62018 
62019 
62020 SWIGINTERN PyObject *_wrap_new_vector_Synapse__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62021  PyObject *resultobj = 0;
62022  std::vector< Synapse * >::size_type arg1 ;
62023  size_t val1 ;
62024  int ecode1 = 0 ;
62025  PyObject * obj0 = 0 ;
62026  std::vector< Synapse * > *result = 0 ;
62027 
62028  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_Synapse",&obj0)) SWIG_fail;
62029  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
62030  if (!SWIG_IsOK(ecode1)) {
62031  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_Synapse" "', argument " "1"" of type '" "std::vector< Synapse * >::size_type""'");
62032  }
62033  arg1 = static_cast< std::vector< Synapse * >::size_type >(val1);
62034  result = (std::vector< Synapse * > *)new std::vector< Synapse * >(arg1);
62035  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, SWIG_POINTER_NEW | 0 );
62036  return resultobj;
62037 fail:
62038  return NULL;
62039 }
62040 
62041 
62042 SWIGINTERN PyObject *_wrap_vector_Synapse_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62043  PyObject *resultobj = 0;
62044  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
62045  void *argp1 = 0 ;
62046  int res1 = 0 ;
62047  PyObject * obj0 = 0 ;
62048 
62049  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse_pop_back",&obj0)) SWIG_fail;
62050  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
62051  if (!SWIG_IsOK(res1)) {
62052  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_pop_back" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
62053  }
62054  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
62055  (arg1)->pop_back();
62056  resultobj = SWIG_Py_Void();
62057  return resultobj;
62058 fail:
62059  return NULL;
62060 }
62061 
62062 
62063 SWIGINTERN PyObject *_wrap_vector_Synapse_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62064  PyObject *resultobj = 0;
62065  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
62066  std::vector< Synapse * >::size_type arg2 ;
62067  void *argp1 = 0 ;
62068  int res1 = 0 ;
62069  size_t val2 ;
62070  int ecode2 = 0 ;
62071  PyObject * obj0 = 0 ;
62072  PyObject * obj1 = 0 ;
62073 
62074  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Synapse_resize",&obj0,&obj1)) SWIG_fail;
62075  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
62076  if (!SWIG_IsOK(res1)) {
62077  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_resize" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
62078  }
62079  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
62080  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
62081  if (!SWIG_IsOK(ecode2)) {
62082  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Synapse_resize" "', argument " "2"" of type '" "std::vector< Synapse * >::size_type""'");
62083  }
62084  arg2 = static_cast< std::vector< Synapse * >::size_type >(val2);
62085  (arg1)->resize(arg2);
62086  resultobj = SWIG_Py_Void();
62087  return resultobj;
62088 fail:
62089  return NULL;
62090 }
62091 
62092 
62093 SWIGINTERN PyObject *_wrap_vector_Synapse_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62094  PyObject *resultobj = 0;
62095  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
62096  std::vector< Synapse * >::iterator arg2 ;
62097  void *argp1 = 0 ;
62098  int res1 = 0 ;
62099  swig::SwigPyIterator *iter2 = 0 ;
62100  int res2 ;
62101  PyObject * obj0 = 0 ;
62102  PyObject * obj1 = 0 ;
62103  std::vector< Synapse * >::iterator result;
62104 
62105  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Synapse_erase",&obj0,&obj1)) SWIG_fail;
62106  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
62107  if (!SWIG_IsOK(res1)) {
62108  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_erase" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
62109  }
62110  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
62111  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
62112  if (!SWIG_IsOK(res2) || !iter2) {
62113  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Synapse_erase" "', argument " "2"" of type '" "std::vector< Synapse * >::iterator""'");
62114  } else {
62116  if (iter_t) {
62117  arg2 = iter_t->get_current();
62118  } else {
62119  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Synapse_erase" "', argument " "2"" of type '" "std::vector< Synapse * >::iterator""'");
62120  }
62121  }
62122  result = std_vector_Sl_Synapse_Sm__Sg__erase__SWIG_0(arg1,arg2);
62123  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Synapse * >::iterator & >(result)),
62124  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
62125  return resultobj;
62126 fail:
62127  return NULL;
62128 }
62129 
62130 
62131 SWIGINTERN PyObject *_wrap_vector_Synapse_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62132  PyObject *resultobj = 0;
62133  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
62134  std::vector< Synapse * >::iterator arg2 ;
62135  std::vector< Synapse * >::iterator arg3 ;
62136  void *argp1 = 0 ;
62137  int res1 = 0 ;
62138  swig::SwigPyIterator *iter2 = 0 ;
62139  int res2 ;
62140  swig::SwigPyIterator *iter3 = 0 ;
62141  int res3 ;
62142  PyObject * obj0 = 0 ;
62143  PyObject * obj1 = 0 ;
62144  PyObject * obj2 = 0 ;
62145  std::vector< Synapse * >::iterator result;
62146 
62147  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Synapse_erase",&obj0,&obj1,&obj2)) SWIG_fail;
62148  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
62149  if (!SWIG_IsOK(res1)) {
62150  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_erase" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
62151  }
62152  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
62153  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
62154  if (!SWIG_IsOK(res2) || !iter2) {
62155  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Synapse_erase" "', argument " "2"" of type '" "std::vector< Synapse * >::iterator""'");
62156  } else {
62158  if (iter_t) {
62159  arg2 = iter_t->get_current();
62160  } else {
62161  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Synapse_erase" "', argument " "2"" of type '" "std::vector< Synapse * >::iterator""'");
62162  }
62163  }
62164  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
62165  if (!SWIG_IsOK(res3) || !iter3) {
62166  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Synapse_erase" "', argument " "3"" of type '" "std::vector< Synapse * >::iterator""'");
62167  } else {
62169  if (iter_t) {
62170  arg3 = iter_t->get_current();
62171  } else {
62172  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Synapse_erase" "', argument " "3"" of type '" "std::vector< Synapse * >::iterator""'");
62173  }
62174  }
62175  result = std_vector_Sl_Synapse_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
62176  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Synapse * >::iterator & >(result)),
62177  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
62178  return resultobj;
62179 fail:
62180  return NULL;
62181 }
62182 
62183 
62184 SWIGINTERN PyObject *_wrap_vector_Synapse_erase(PyObject *self, PyObject *args) {
62185  int argc;
62186  PyObject *argv[4];
62187  int ii;
62188 
62189  if (!PyTuple_Check(args)) SWIG_fail;
62190  argc = args ? (int)PyObject_Length(args) : 0;
62191  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
62192  argv[ii] = PyTuple_GET_ITEM(args,ii);
62193  }
62194  if (argc == 2) {
62195  int _v;
62196  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
62197  _v = SWIG_CheckState(res);
62198  if (_v) {
62199  swig::SwigPyIterator *iter = 0;
62200  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
62201  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Synapse * >::iterator > *>(iter) != 0));
62202  if (_v) {
62203  return _wrap_vector_Synapse_erase__SWIG_0(self, args);
62204  }
62205  }
62206  }
62207  if (argc == 3) {
62208  int _v;
62209  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
62210  _v = SWIG_CheckState(res);
62211  if (_v) {
62212  swig::SwigPyIterator *iter = 0;
62213  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
62214  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Synapse * >::iterator > *>(iter) != 0));
62215  if (_v) {
62216  swig::SwigPyIterator *iter = 0;
62217  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
62218  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Synapse * >::iterator > *>(iter) != 0));
62219  if (_v) {
62220  return _wrap_vector_Synapse_erase__SWIG_1(self, args);
62221  }
62222  }
62223  }
62224  }
62225 
62226 fail:
62227  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_Synapse_erase'.\n"
62228  " Possible C/C++ prototypes are:\n"
62229  " std::vector< Synapse * >::erase(std::vector< Synapse * >::iterator)\n"
62230  " std::vector< Synapse * >::erase(std::vector< Synapse * >::iterator,std::vector< Synapse * >::iterator)\n");
62231  return 0;
62232 }
62233 
62234 
62235 SWIGINTERN PyObject *_wrap_new_vector_Synapse__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62236  PyObject *resultobj = 0;
62237  std::vector< Synapse * >::size_type arg1 ;
62238  std::vector< Synapse * >::value_type arg2 = (std::vector< Synapse * >::value_type) 0 ;
62239  size_t val1 ;
62240  int ecode1 = 0 ;
62241  void *argp2 = 0 ;
62242  int res2 = 0 ;
62243  PyObject * obj0 = 0 ;
62244  PyObject * obj1 = 0 ;
62245  std::vector< Synapse * > *result = 0 ;
62246 
62247  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_Synapse",&obj0,&obj1)) SWIG_fail;
62248  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
62249  if (!SWIG_IsOK(ecode1)) {
62250  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_Synapse" "', argument " "1"" of type '" "std::vector< Synapse * >::size_type""'");
62251  }
62252  arg1 = static_cast< std::vector< Synapse * >::size_type >(val1);
62253  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Synapse, 0 | 0 );
62254  if (!SWIG_IsOK(res2)) {
62255  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_Synapse" "', argument " "2"" of type '" "std::vector< Synapse * >::value_type""'");
62256  }
62257  arg2 = reinterpret_cast< std::vector< Synapse * >::value_type >(argp2);
62258  result = (std::vector< Synapse * > *)new std::vector< Synapse * >(arg1,arg2);
62259  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, SWIG_POINTER_NEW | 0 );
62260  return resultobj;
62261 fail:
62262  return NULL;
62263 }
62264 
62265 
62266 SWIGINTERN PyObject *_wrap_new_vector_Synapse(PyObject *self, PyObject *args) {
62267  int argc;
62268  PyObject *argv[3];
62269  int ii;
62270 
62271  if (!PyTuple_Check(args)) SWIG_fail;
62272  argc = args ? (int)PyObject_Length(args) : 0;
62273  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
62274  argv[ii] = PyTuple_GET_ITEM(args,ii);
62275  }
62276  if (argc == 0) {
62277  return _wrap_new_vector_Synapse__SWIG_0(self, args);
62278  }
62279  if (argc == 1) {
62280  int _v;
62281  {
62282  int res = SWIG_AsVal_size_t(argv[0], NULL);
62283  _v = SWIG_CheckState(res);
62284  }
62285  if (_v) {
62286  return _wrap_new_vector_Synapse__SWIG_2(self, args);
62287  }
62288  }
62289  if (argc == 1) {
62290  int _v;
62291  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
62292  _v = SWIG_CheckState(res);
62293  if (_v) {
62294  return _wrap_new_vector_Synapse__SWIG_1(self, args);
62295  }
62296  }
62297  if (argc == 2) {
62298  int _v;
62299  {
62300  int res = SWIG_AsVal_size_t(argv[0], NULL);
62301  _v = SWIG_CheckState(res);
62302  }
62303  if (_v) {
62304  void *vptr = 0;
62305  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Synapse, 0);
62306  _v = SWIG_CheckState(res);
62307  if (_v) {
62308  return _wrap_new_vector_Synapse__SWIG_3(self, args);
62309  }
62310  }
62311  }
62312 
62313 fail:
62314  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_Synapse'.\n"
62315  " Possible C/C++ prototypes are:\n"
62316  " std::vector< Synapse * >::vector()\n"
62317  " std::vector< Synapse * >::vector(std::vector< Synapse * > const &)\n"
62318  " std::vector< Synapse * >::vector(std::vector< Synapse * >::size_type)\n"
62319  " std::vector< Synapse * >::vector(std::vector< Synapse * >::size_type,std::vector< Synapse * >::value_type)\n");
62320  return 0;
62321 }
62322 
62323 
62324 SWIGINTERN PyObject *_wrap_vector_Synapse_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62325  PyObject *resultobj = 0;
62326  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
62327  std::vector< Synapse * >::value_type arg2 = (std::vector< Synapse * >::value_type) 0 ;
62328  void *argp1 = 0 ;
62329  int res1 = 0 ;
62330  void *argp2 = 0 ;
62331  int res2 = 0 ;
62332  PyObject * obj0 = 0 ;
62333  PyObject * obj1 = 0 ;
62334 
62335  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Synapse_push_back",&obj0,&obj1)) SWIG_fail;
62336  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
62337  if (!SWIG_IsOK(res1)) {
62338  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_push_back" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
62339  }
62340  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
62341  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Synapse, 0 | 0 );
62342  if (!SWIG_IsOK(res2)) {
62343  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_Synapse_push_back" "', argument " "2"" of type '" "std::vector< Synapse * >::value_type""'");
62344  }
62345  arg2 = reinterpret_cast< std::vector< Synapse * >::value_type >(argp2);
62346  (arg1)->push_back(arg2);
62347  resultobj = SWIG_Py_Void();
62348  return resultobj;
62349 fail:
62350  return NULL;
62351 }
62352 
62353 
62354 SWIGINTERN PyObject *_wrap_vector_Synapse_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62355  PyObject *resultobj = 0;
62356  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
62357  void *argp1 = 0 ;
62358  int res1 = 0 ;
62359  PyObject * obj0 = 0 ;
62360  std::vector< Synapse * >::value_type result;
62361 
62362  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse_front",&obj0)) SWIG_fail;
62363  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
62364  if (!SWIG_IsOK(res1)) {
62365  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_front" "', argument " "1"" of type '" "std::vector< Synapse * > const *""'");
62366  }
62367  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
62368  result = (std::vector< Synapse * >::value_type)((std::vector< Synapse * > const *)arg1)->front();
62369  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Synapse, 0 | 0 );
62370  return resultobj;
62371 fail:
62372  return NULL;
62373 }
62374 
62375 
62376 SWIGINTERN PyObject *_wrap_vector_Synapse_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62377  PyObject *resultobj = 0;
62378  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
62379  void *argp1 = 0 ;
62380  int res1 = 0 ;
62381  PyObject * obj0 = 0 ;
62382  std::vector< Synapse * >::value_type result;
62383 
62384  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse_back",&obj0)) SWIG_fail;
62385  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
62386  if (!SWIG_IsOK(res1)) {
62387  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_back" "', argument " "1"" of type '" "std::vector< Synapse * > const *""'");
62388  }
62389  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
62390  result = (std::vector< Synapse * >::value_type)((std::vector< Synapse * > const *)arg1)->back();
62391  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Synapse, 0 | 0 );
62392  return resultobj;
62393 fail:
62394  return NULL;
62395 }
62396 
62397 
62398 SWIGINTERN PyObject *_wrap_vector_Synapse_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62399  PyObject *resultobj = 0;
62400  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
62401  std::vector< Synapse * >::size_type arg2 ;
62402  std::vector< Synapse * >::value_type arg3 = (std::vector< Synapse * >::value_type) 0 ;
62403  void *argp1 = 0 ;
62404  int res1 = 0 ;
62405  size_t val2 ;
62406  int ecode2 = 0 ;
62407  void *argp3 = 0 ;
62408  int res3 = 0 ;
62409  PyObject * obj0 = 0 ;
62410  PyObject * obj1 = 0 ;
62411  PyObject * obj2 = 0 ;
62412 
62413  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Synapse_assign",&obj0,&obj1,&obj2)) SWIG_fail;
62414  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
62415  if (!SWIG_IsOK(res1)) {
62416  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_assign" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
62417  }
62418  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
62419  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
62420  if (!SWIG_IsOK(ecode2)) {
62421  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Synapse_assign" "', argument " "2"" of type '" "std::vector< Synapse * >::size_type""'");
62422  }
62423  arg2 = static_cast< std::vector< Synapse * >::size_type >(val2);
62424  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Synapse, 0 | 0 );
62425  if (!SWIG_IsOK(res3)) {
62426  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_Synapse_assign" "', argument " "3"" of type '" "std::vector< Synapse * >::value_type""'");
62427  }
62428  arg3 = reinterpret_cast< std::vector< Synapse * >::value_type >(argp3);
62429  (arg1)->assign(arg2,arg3);
62430  resultobj = SWIG_Py_Void();
62431  return resultobj;
62432 fail:
62433  return NULL;
62434 }
62435 
62436 
62437 SWIGINTERN PyObject *_wrap_vector_Synapse_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62438  PyObject *resultobj = 0;
62439  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
62440  std::vector< Synapse * >::size_type arg2 ;
62441  std::vector< Synapse * >::value_type arg3 = (std::vector< Synapse * >::value_type) 0 ;
62442  void *argp1 = 0 ;
62443  int res1 = 0 ;
62444  size_t val2 ;
62445  int ecode2 = 0 ;
62446  void *argp3 = 0 ;
62447  int res3 = 0 ;
62448  PyObject * obj0 = 0 ;
62449  PyObject * obj1 = 0 ;
62450  PyObject * obj2 = 0 ;
62451 
62452  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Synapse_resize",&obj0,&obj1,&obj2)) SWIG_fail;
62453  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
62454  if (!SWIG_IsOK(res1)) {
62455  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_resize" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
62456  }
62457  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
62458  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
62459  if (!SWIG_IsOK(ecode2)) {
62460  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Synapse_resize" "', argument " "2"" of type '" "std::vector< Synapse * >::size_type""'");
62461  }
62462  arg2 = static_cast< std::vector< Synapse * >::size_type >(val2);
62463  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Synapse, 0 | 0 );
62464  if (!SWIG_IsOK(res3)) {
62465  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_Synapse_resize" "', argument " "3"" of type '" "std::vector< Synapse * >::value_type""'");
62466  }
62467  arg3 = reinterpret_cast< std::vector< Synapse * >::value_type >(argp3);
62468  (arg1)->resize(arg2,arg3);
62469  resultobj = SWIG_Py_Void();
62470  return resultobj;
62471 fail:
62472  return NULL;
62473 }
62474 
62475 
62476 SWIGINTERN PyObject *_wrap_vector_Synapse_resize(PyObject *self, PyObject *args) {
62477  int argc;
62478  PyObject *argv[4];
62479  int ii;
62480 
62481  if (!PyTuple_Check(args)) SWIG_fail;
62482  argc = args ? (int)PyObject_Length(args) : 0;
62483  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
62484  argv[ii] = PyTuple_GET_ITEM(args,ii);
62485  }
62486  if (argc == 2) {
62487  int _v;
62488  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
62489  _v = SWIG_CheckState(res);
62490  if (_v) {
62491  {
62492  int res = SWIG_AsVal_size_t(argv[1], NULL);
62493  _v = SWIG_CheckState(res);
62494  }
62495  if (_v) {
62496  return _wrap_vector_Synapse_resize__SWIG_0(self, args);
62497  }
62498  }
62499  }
62500  if (argc == 3) {
62501  int _v;
62502  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
62503  _v = SWIG_CheckState(res);
62504  if (_v) {
62505  {
62506  int res = SWIG_AsVal_size_t(argv[1], NULL);
62507  _v = SWIG_CheckState(res);
62508  }
62509  if (_v) {
62510  void *vptr = 0;
62511  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Synapse, 0);
62512  _v = SWIG_CheckState(res);
62513  if (_v) {
62514  return _wrap_vector_Synapse_resize__SWIG_1(self, args);
62515  }
62516  }
62517  }
62518  }
62519 
62520 fail:
62521  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_Synapse_resize'.\n"
62522  " Possible C/C++ prototypes are:\n"
62523  " std::vector< Synapse * >::resize(std::vector< Synapse * >::size_type)\n"
62524  " std::vector< Synapse * >::resize(std::vector< Synapse * >::size_type,std::vector< Synapse * >::value_type)\n");
62525  return 0;
62526 }
62527 
62528 
62529 SWIGINTERN PyObject *_wrap_vector_Synapse_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62530  PyObject *resultobj = 0;
62531  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
62532  std::vector< Synapse * >::iterator arg2 ;
62533  std::vector< Synapse * >::value_type arg3 = (std::vector< Synapse * >::value_type) 0 ;
62534  void *argp1 = 0 ;
62535  int res1 = 0 ;
62536  swig::SwigPyIterator *iter2 = 0 ;
62537  int res2 ;
62538  void *argp3 = 0 ;
62539  int res3 = 0 ;
62540  PyObject * obj0 = 0 ;
62541  PyObject * obj1 = 0 ;
62542  PyObject * obj2 = 0 ;
62543  std::vector< Synapse * >::iterator result;
62544 
62545  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Synapse_insert",&obj0,&obj1,&obj2)) SWIG_fail;
62546  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
62547  if (!SWIG_IsOK(res1)) {
62548  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_insert" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
62549  }
62550  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
62551  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
62552  if (!SWIG_IsOK(res2) || !iter2) {
62553  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Synapse_insert" "', argument " "2"" of type '" "std::vector< Synapse * >::iterator""'");
62554  } else {
62556  if (iter_t) {
62557  arg2 = iter_t->get_current();
62558  } else {
62559  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Synapse_insert" "', argument " "2"" of type '" "std::vector< Synapse * >::iterator""'");
62560  }
62561  }
62562  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Synapse, 0 | 0 );
62563  if (!SWIG_IsOK(res3)) {
62564  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_Synapse_insert" "', argument " "3"" of type '" "std::vector< Synapse * >::value_type""'");
62565  }
62566  arg3 = reinterpret_cast< std::vector< Synapse * >::value_type >(argp3);
62567  result = std_vector_Sl_Synapse_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
62568  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Synapse * >::iterator & >(result)),
62569  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
62570  return resultobj;
62571 fail:
62572  return NULL;
62573 }
62574 
62575 
62576 SWIGINTERN PyObject *_wrap_vector_Synapse_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62577  PyObject *resultobj = 0;
62578  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
62579  std::vector< Synapse * >::iterator arg2 ;
62580  std::vector< Synapse * >::size_type arg3 ;
62581  std::vector< Synapse * >::value_type arg4 = (std::vector< Synapse * >::value_type) 0 ;
62582  void *argp1 = 0 ;
62583  int res1 = 0 ;
62584  swig::SwigPyIterator *iter2 = 0 ;
62585  int res2 ;
62586  size_t val3 ;
62587  int ecode3 = 0 ;
62588  void *argp4 = 0 ;
62589  int res4 = 0 ;
62590  PyObject * obj0 = 0 ;
62591  PyObject * obj1 = 0 ;
62592  PyObject * obj2 = 0 ;
62593  PyObject * obj3 = 0 ;
62594 
62595  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_Synapse_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
62596  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
62597  if (!SWIG_IsOK(res1)) {
62598  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_insert" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
62599  }
62600  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
62601  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
62602  if (!SWIG_IsOK(res2) || !iter2) {
62603  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Synapse_insert" "', argument " "2"" of type '" "std::vector< Synapse * >::iterator""'");
62604  } else {
62606  if (iter_t) {
62607  arg2 = iter_t->get_current();
62608  } else {
62609  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Synapse_insert" "', argument " "2"" of type '" "std::vector< Synapse * >::iterator""'");
62610  }
62611  }
62612  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
62613  if (!SWIG_IsOK(ecode3)) {
62614  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_Synapse_insert" "', argument " "3"" of type '" "std::vector< Synapse * >::size_type""'");
62615  }
62616  arg3 = static_cast< std::vector< Synapse * >::size_type >(val3);
62617  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_Synapse, 0 | 0 );
62618  if (!SWIG_IsOK(res4)) {
62619  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_Synapse_insert" "', argument " "4"" of type '" "std::vector< Synapse * >::value_type""'");
62620  }
62621  arg4 = reinterpret_cast< std::vector< Synapse * >::value_type >(argp4);
62622  std_vector_Sl_Synapse_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
62623  resultobj = SWIG_Py_Void();
62624  return resultobj;
62625 fail:
62626  return NULL;
62627 }
62628 
62629 
62630 SWIGINTERN PyObject *_wrap_vector_Synapse_insert(PyObject *self, PyObject *args) {
62631  int argc;
62632  PyObject *argv[5];
62633  int ii;
62634 
62635  if (!PyTuple_Check(args)) SWIG_fail;
62636  argc = args ? (int)PyObject_Length(args) : 0;
62637  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
62638  argv[ii] = PyTuple_GET_ITEM(args,ii);
62639  }
62640  if (argc == 3) {
62641  int _v;
62642  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
62643  _v = SWIG_CheckState(res);
62644  if (_v) {
62645  swig::SwigPyIterator *iter = 0;
62646  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
62647  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Synapse * >::iterator > *>(iter) != 0));
62648  if (_v) {
62649  void *vptr = 0;
62650  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Synapse, 0);
62651  _v = SWIG_CheckState(res);
62652  if (_v) {
62653  return _wrap_vector_Synapse_insert__SWIG_0(self, args);
62654  }
62655  }
62656  }
62657  }
62658  if (argc == 4) {
62659  int _v;
62660  int res = swig::asptr(argv[0], (std::vector<Synapse*,std::allocator< Synapse * > >**)(0));
62661  _v = SWIG_CheckState(res);
62662  if (_v) {
62663  swig::SwigPyIterator *iter = 0;
62664  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
62665  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Synapse * >::iterator > *>(iter) != 0));
62666  if (_v) {
62667  {
62668  int res = SWIG_AsVal_size_t(argv[2], NULL);
62669  _v = SWIG_CheckState(res);
62670  }
62671  if (_v) {
62672  void *vptr = 0;
62673  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_Synapse, 0);
62674  _v = SWIG_CheckState(res);
62675  if (_v) {
62676  return _wrap_vector_Synapse_insert__SWIG_1(self, args);
62677  }
62678  }
62679  }
62680  }
62681  }
62682 
62683 fail:
62684  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_Synapse_insert'.\n"
62685  " Possible C/C++ prototypes are:\n"
62686  " std::vector< Synapse * >::insert(std::vector< Synapse * >::iterator,std::vector< Synapse * >::value_type)\n"
62687  " std::vector< Synapse * >::insert(std::vector< Synapse * >::iterator,std::vector< Synapse * >::size_type,std::vector< Synapse * >::value_type)\n");
62688  return 0;
62689 }
62690 
62691 
62692 SWIGINTERN PyObject *_wrap_vector_Synapse_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62693  PyObject *resultobj = 0;
62694  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
62695  std::vector< Synapse * >::size_type arg2 ;
62696  void *argp1 = 0 ;
62697  int res1 = 0 ;
62698  size_t val2 ;
62699  int ecode2 = 0 ;
62700  PyObject * obj0 = 0 ;
62701  PyObject * obj1 = 0 ;
62702 
62703  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Synapse_reserve",&obj0,&obj1)) SWIG_fail;
62704  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
62705  if (!SWIG_IsOK(res1)) {
62706  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_reserve" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
62707  }
62708  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
62709  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
62710  if (!SWIG_IsOK(ecode2)) {
62711  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Synapse_reserve" "', argument " "2"" of type '" "std::vector< Synapse * >::size_type""'");
62712  }
62713  arg2 = static_cast< std::vector< Synapse * >::size_type >(val2);
62714  (arg1)->reserve(arg2);
62715  resultobj = SWIG_Py_Void();
62716  return resultobj;
62717 fail:
62718  return NULL;
62719 }
62720 
62721 
62722 SWIGINTERN PyObject *_wrap_vector_Synapse_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62723  PyObject *resultobj = 0;
62724  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
62725  void *argp1 = 0 ;
62726  int res1 = 0 ;
62727  PyObject * obj0 = 0 ;
62728  std::vector< Synapse * >::size_type result;
62729 
62730  if (!PyArg_ParseTuple(args,(char *)"O:vector_Synapse_capacity",&obj0)) SWIG_fail;
62731  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0 | 0 );
62732  if (!SWIG_IsOK(res1)) {
62733  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Synapse_capacity" "', argument " "1"" of type '" "std::vector< Synapse * > const *""'");
62734  }
62735  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
62736  result = ((std::vector< Synapse * > const *)arg1)->capacity();
62737  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
62738  return resultobj;
62739 fail:
62740  return NULL;
62741 }
62742 
62743 
62744 SWIGINTERN PyObject *_wrap_delete_vector_Synapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62745  PyObject *resultobj = 0;
62746  std::vector< Synapse * > *arg1 = (std::vector< Synapse * > *) 0 ;
62747  void *argp1 = 0 ;
62748  int res1 = 0 ;
62749  PyObject * obj0 = 0 ;
62750 
62751  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_Synapse",&obj0)) SWIG_fail;
62752  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, SWIG_POINTER_DISOWN | 0 );
62753  if (!SWIG_IsOK(res1)) {
62754  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_Synapse" "', argument " "1"" of type '" "std::vector< Synapse * > *""'");
62755  }
62756  arg1 = reinterpret_cast< std::vector< Synapse * > * >(argp1);
62757  {
62758  try {
62759  delete arg1;
62760  }
62761  catch(CStdErrorInfo oError)
62762  {
62763  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
62764  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
62765  PyErr_SetString(PyExc_IndexError, strError.c_str());
62766  SWIG_fail;
62767  }
62768  catch(...)
62769  {
62770  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
62771  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
62772  SWIG_fail;
62773  }
62774  }
62775  resultobj = SWIG_Py_Void();
62776  return resultobj;
62777 fail:
62778  return NULL;
62779 }
62780 
62781 
62782 SWIGINTERN PyObject *vector_Synapse_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62783  PyObject *obj;
62784  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
62785  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, SWIG_NewClientData(obj));
62786  return SWIG_Py_Void();
62787 }
62788 
62789 SWIGINTERN PyObject *_wrap_vector_Neuron_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62790  PyObject *resultobj = 0;
62791  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
62792  PyObject **arg2 = (PyObject **) 0 ;
62793  void *argp1 = 0 ;
62794  int res1 = 0 ;
62795  PyObject * obj0 = 0 ;
62796  swig::SwigPyIterator *result = 0 ;
62797 
62798  arg2 = &obj0;
62799  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron_iterator",&obj0)) SWIG_fail;
62800  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
62801  if (!SWIG_IsOK(res1)) {
62802  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_iterator" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
62803  }
62804  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
62805  result = (swig::SwigPyIterator *)std_vector_Sl_Neuron_Sm__Sg__iterator(arg1,arg2);
62806  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
62807  return resultobj;
62808 fail:
62809  return NULL;
62810 }
62811 
62812 
62813 SWIGINTERN PyObject *_wrap_vector_Neuron___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62814  PyObject *resultobj = 0;
62815  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
62816  void *argp1 = 0 ;
62817  int res1 = 0 ;
62818  PyObject * obj0 = 0 ;
62819  bool result;
62820 
62821  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron___nonzero__",&obj0)) SWIG_fail;
62822  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
62823  if (!SWIG_IsOK(res1)) {
62824  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron___nonzero__" "', argument " "1"" of type '" "std::vector< Neuron * > const *""'");
62825  }
62826  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
62827  result = (bool)std_vector_Sl_Neuron_Sm__Sg____nonzero__((std::vector< Neuron * > const *)arg1);
62828  resultobj = SWIG_From_bool(static_cast< bool >(result));
62829  return resultobj;
62830 fail:
62831  return NULL;
62832 }
62833 
62834 
62835 SWIGINTERN PyObject *_wrap_vector_Neuron___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62836  PyObject *resultobj = 0;
62837  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
62838  void *argp1 = 0 ;
62839  int res1 = 0 ;
62840  PyObject * obj0 = 0 ;
62841  bool result;
62842 
62843  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron___bool__",&obj0)) SWIG_fail;
62844  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
62845  if (!SWIG_IsOK(res1)) {
62846  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron___bool__" "', argument " "1"" of type '" "std::vector< Neuron * > const *""'");
62847  }
62848  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
62849  result = (bool)std_vector_Sl_Neuron_Sm__Sg____bool__((std::vector< Neuron * > const *)arg1);
62850  resultobj = SWIG_From_bool(static_cast< bool >(result));
62851  return resultobj;
62852 fail:
62853  return NULL;
62854 }
62855 
62856 
62857 SWIGINTERN PyObject *_wrap_vector_Neuron___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62858  PyObject *resultobj = 0;
62859  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
62860  void *argp1 = 0 ;
62861  int res1 = 0 ;
62862  PyObject * obj0 = 0 ;
62863  std::vector< Neuron * >::size_type result;
62864 
62865  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron___len__",&obj0)) SWIG_fail;
62866  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
62867  if (!SWIG_IsOK(res1)) {
62868  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron___len__" "', argument " "1"" of type '" "std::vector< Neuron * > const *""'");
62869  }
62870  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
62871  result = std_vector_Sl_Neuron_Sm__Sg____len__((std::vector< Neuron * > const *)arg1);
62872  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
62873  return resultobj;
62874 fail:
62875  return NULL;
62876 }
62877 
62878 
62879 SWIGINTERN PyObject *_wrap_vector_Neuron_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62880  PyObject *resultobj = 0;
62881  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
62882  void *argp1 = 0 ;
62883  int res1 = 0 ;
62884  PyObject * obj0 = 0 ;
62885  std::vector< Neuron * >::value_type result;
62886 
62887  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron_pop",&obj0)) SWIG_fail;
62888  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
62889  if (!SWIG_IsOK(res1)) {
62890  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_pop" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
62891  }
62892  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
62893  try {
62894  result = (std::vector< Neuron * >::value_type)std_vector_Sl_Neuron_Sm__Sg__pop(arg1);
62895  }
62896  catch(std::out_of_range &_e) {
62897  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
62898  }
62899 
62900  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Neuron, 0 | 0 );
62901  return resultobj;
62902 fail:
62903  return NULL;
62904 }
62905 
62906 
62907 SWIGINTERN PyObject *_wrap_vector_Neuron___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62908  PyObject *resultobj = 0;
62909  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
62910  std::vector< Neuron * >::difference_type arg2 ;
62911  std::vector< Neuron * >::difference_type arg3 ;
62912  void *argp1 = 0 ;
62913  int res1 = 0 ;
62914  ptrdiff_t val2 ;
62915  int ecode2 = 0 ;
62916  ptrdiff_t val3 ;
62917  int ecode3 = 0 ;
62918  PyObject * obj0 = 0 ;
62919  PyObject * obj1 = 0 ;
62920  PyObject * obj2 = 0 ;
62921  std::vector< Neuron *,std::allocator< Neuron * > > *result = 0 ;
62922 
62923  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Neuron___getslice__",&obj0,&obj1,&obj2)) SWIG_fail;
62924  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
62925  if (!SWIG_IsOK(res1)) {
62926  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron___getslice__" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
62927  }
62928  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
62929  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
62930  if (!SWIG_IsOK(ecode2)) {
62931  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Neuron___getslice__" "', argument " "2"" of type '" "std::vector< Neuron * >::difference_type""'");
62932  }
62933  arg2 = static_cast< std::vector< Neuron * >::difference_type >(val2);
62934  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
62935  if (!SWIG_IsOK(ecode3)) {
62936  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_Neuron___getslice__" "', argument " "3"" of type '" "std::vector< Neuron * >::difference_type""'");
62937  }
62938  arg3 = static_cast< std::vector< Neuron * >::difference_type >(val3);
62939  try {
62940  result = (std::vector< Neuron *,std::allocator< Neuron * > > *)std_vector_Sl_Neuron_Sm__Sg____getslice__(arg1,arg2,arg3);
62941  }
62942  catch(std::out_of_range &_e) {
62943  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
62944  }
62945  catch(std::invalid_argument &_e) {
62946  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
62947  }
62948 
62949  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, SWIG_POINTER_OWN | 0 );
62950  return resultobj;
62951 fail:
62952  return NULL;
62953 }
62954 
62955 
62956 SWIGINTERN PyObject *_wrap_vector_Neuron___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
62957  PyObject *resultobj = 0;
62958  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
62959  std::vector< Neuron * >::difference_type arg2 ;
62960  std::vector< Neuron * >::difference_type arg3 ;
62961  std::vector< Neuron *,std::allocator< Neuron * > > *arg4 = 0 ;
62962  void *argp1 = 0 ;
62963  int res1 = 0 ;
62964  ptrdiff_t val2 ;
62965  int ecode2 = 0 ;
62966  ptrdiff_t val3 ;
62967  int ecode3 = 0 ;
62968  int res4 = SWIG_OLDOBJ ;
62969  PyObject * obj0 = 0 ;
62970  PyObject * obj1 = 0 ;
62971  PyObject * obj2 = 0 ;
62972  PyObject * obj3 = 0 ;
62973 
62974  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_Neuron___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
62975  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
62976  if (!SWIG_IsOK(res1)) {
62977  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron___setslice__" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
62978  }
62979  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
62980  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
62981  if (!SWIG_IsOK(ecode2)) {
62982  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Neuron___setslice__" "', argument " "2"" of type '" "std::vector< Neuron * >::difference_type""'");
62983  }
62984  arg2 = static_cast< std::vector< Neuron * >::difference_type >(val2);
62985  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
62986  if (!SWIG_IsOK(ecode3)) {
62987  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_Neuron___setslice__" "', argument " "3"" of type '" "std::vector< Neuron * >::difference_type""'");
62988  }
62989  arg3 = static_cast< std::vector< Neuron * >::difference_type >(val3);
62990  {
62991  std::vector<Neuron*,std::allocator< Neuron * > > *ptr = (std::vector<Neuron*,std::allocator< Neuron * > > *)0;
62992  res4 = swig::asptr(obj3, &ptr);
62993  if (!SWIG_IsOK(res4)) {
62994  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_Neuron___setslice__" "', argument " "4"" of type '" "std::vector< Neuron *,std::allocator< Neuron * > > const &""'");
62995  }
62996  if (!ptr) {
62997  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_Neuron___setslice__" "', argument " "4"" of type '" "std::vector< Neuron *,std::allocator< Neuron * > > const &""'");
62998  }
62999  arg4 = ptr;
63000  }
63001  try {
63002  std_vector_Sl_Neuron_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< Neuron *,std::allocator< Neuron * > > const &)*arg4);
63003  }
63004  catch(std::out_of_range &_e) {
63005  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
63006  }
63007  catch(std::invalid_argument &_e) {
63008  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
63009  }
63010 
63011  resultobj = SWIG_Py_Void();
63012  if (SWIG_IsNewObj(res4)) delete arg4;
63013  return resultobj;
63014 fail:
63015  if (SWIG_IsNewObj(res4)) delete arg4;
63016  return NULL;
63017 }
63018 
63019 
63020 SWIGINTERN PyObject *_wrap_vector_Neuron___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63021  PyObject *resultobj = 0;
63022  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63023  std::vector< Neuron * >::difference_type arg2 ;
63024  std::vector< Neuron * >::difference_type arg3 ;
63025  void *argp1 = 0 ;
63026  int res1 = 0 ;
63027  ptrdiff_t val2 ;
63028  int ecode2 = 0 ;
63029  ptrdiff_t val3 ;
63030  int ecode3 = 0 ;
63031  PyObject * obj0 = 0 ;
63032  PyObject * obj1 = 0 ;
63033  PyObject * obj2 = 0 ;
63034 
63035  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Neuron___setslice__",&obj0,&obj1,&obj2)) SWIG_fail;
63036  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63037  if (!SWIG_IsOK(res1)) {
63038  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron___setslice__" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63039  }
63040  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63041  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
63042  if (!SWIG_IsOK(ecode2)) {
63043  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Neuron___setslice__" "', argument " "2"" of type '" "std::vector< Neuron * >::difference_type""'");
63044  }
63045  arg2 = static_cast< std::vector< Neuron * >::difference_type >(val2);
63046  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
63047  if (!SWIG_IsOK(ecode3)) {
63048  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_Neuron___setslice__" "', argument " "3"" of type '" "std::vector< Neuron * >::difference_type""'");
63049  }
63050  arg3 = static_cast< std::vector< Neuron * >::difference_type >(val3);
63051  try {
63052  std_vector_Sl_Neuron_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3);
63053  }
63054  catch(std::out_of_range &_e) {
63055  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
63056  }
63057  catch(std::invalid_argument &_e) {
63058  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
63059  }
63060 
63061  resultobj = SWIG_Py_Void();
63062  return resultobj;
63063 fail:
63064  return NULL;
63065 }
63066 
63067 
63068 SWIGINTERN PyObject *_wrap_vector_Neuron___setslice__(PyObject *self, PyObject *args) {
63069  int argc;
63070  PyObject *argv[5];
63071  int ii;
63072 
63073  if (!PyTuple_Check(args)) SWIG_fail;
63074  argc = args ? (int)PyObject_Length(args) : 0;
63075  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
63076  argv[ii] = PyTuple_GET_ITEM(args,ii);
63077  }
63078  if (argc == 3) {
63079  int _v;
63080  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
63081  _v = SWIG_CheckState(res);
63082  if (_v) {
63083  {
63084  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
63085  _v = SWIG_CheckState(res);
63086  }
63087  if (_v) {
63088  {
63089  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
63090  _v = SWIG_CheckState(res);
63091  }
63092  if (_v) {
63093  return _wrap_vector_Neuron___setslice____SWIG_1(self, args);
63094  }
63095  }
63096  }
63097  }
63098  if (argc == 4) {
63099  int _v;
63100  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
63101  _v = SWIG_CheckState(res);
63102  if (_v) {
63103  {
63104  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
63105  _v = SWIG_CheckState(res);
63106  }
63107  if (_v) {
63108  {
63109  int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
63110  _v = SWIG_CheckState(res);
63111  }
63112  if (_v) {
63113  int res = swig::asptr(argv[3], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
63114  _v = SWIG_CheckState(res);
63115  if (_v) {
63116  return _wrap_vector_Neuron___setslice____SWIG_0(self, args);
63117  }
63118  }
63119  }
63120  }
63121  }
63122 
63123 fail:
63124  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_Neuron___setslice__'.\n"
63125  " Possible C/C++ prototypes are:\n"
63126  " std::vector< Neuron * >::__setslice__(std::vector< Neuron * >::difference_type,std::vector< Neuron * >::difference_type,std::vector< Neuron *,std::allocator< Neuron * > > const &)\n"
63127  " std::vector< Neuron * >::__setslice__(std::vector< Neuron * >::difference_type,std::vector< Neuron * >::difference_type)\n");
63128  return 0;
63129 }
63130 
63131 
63132 SWIGINTERN PyObject *_wrap_vector_Neuron___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63133  PyObject *resultobj = 0;
63134  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63135  std::vector< Neuron * >::difference_type arg2 ;
63136  std::vector< Neuron * >::difference_type arg3 ;
63137  void *argp1 = 0 ;
63138  int res1 = 0 ;
63139  ptrdiff_t val2 ;
63140  int ecode2 = 0 ;
63141  ptrdiff_t val3 ;
63142  int ecode3 = 0 ;
63143  PyObject * obj0 = 0 ;
63144  PyObject * obj1 = 0 ;
63145  PyObject * obj2 = 0 ;
63146 
63147  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Neuron___delslice__",&obj0,&obj1,&obj2)) SWIG_fail;
63148  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63149  if (!SWIG_IsOK(res1)) {
63150  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron___delslice__" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63151  }
63152  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63153  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
63154  if (!SWIG_IsOK(ecode2)) {
63155  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Neuron___delslice__" "', argument " "2"" of type '" "std::vector< Neuron * >::difference_type""'");
63156  }
63157  arg2 = static_cast< std::vector< Neuron * >::difference_type >(val2);
63158  ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
63159  if (!SWIG_IsOK(ecode3)) {
63160  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_Neuron___delslice__" "', argument " "3"" of type '" "std::vector< Neuron * >::difference_type""'");
63161  }
63162  arg3 = static_cast< std::vector< Neuron * >::difference_type >(val3);
63163  try {
63164  std_vector_Sl_Neuron_Sm__Sg____delslice__(arg1,arg2,arg3);
63165  }
63166  catch(std::out_of_range &_e) {
63167  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
63168  }
63169  catch(std::invalid_argument &_e) {
63170  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
63171  }
63172 
63173  resultobj = SWIG_Py_Void();
63174  return resultobj;
63175 fail:
63176  return NULL;
63177 }
63178 
63179 
63180 SWIGINTERN PyObject *_wrap_vector_Neuron___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63181  PyObject *resultobj = 0;
63182  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63183  std::vector< Neuron * >::difference_type arg2 ;
63184  void *argp1 = 0 ;
63185  int res1 = 0 ;
63186  ptrdiff_t val2 ;
63187  int ecode2 = 0 ;
63188  PyObject * obj0 = 0 ;
63189  PyObject * obj1 = 0 ;
63190 
63191  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Neuron___delitem__",&obj0,&obj1)) SWIG_fail;
63192  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63193  if (!SWIG_IsOK(res1)) {
63194  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron___delitem__" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63195  }
63196  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63197  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
63198  if (!SWIG_IsOK(ecode2)) {
63199  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Neuron___delitem__" "', argument " "2"" of type '" "std::vector< Neuron * >::difference_type""'");
63200  }
63201  arg2 = static_cast< std::vector< Neuron * >::difference_type >(val2);
63202  try {
63203  std_vector_Sl_Neuron_Sm__Sg____delitem____SWIG_0(arg1,arg2);
63204  }
63205  catch(std::out_of_range &_e) {
63206  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
63207  }
63208 
63209  resultobj = SWIG_Py_Void();
63210  return resultobj;
63211 fail:
63212  return NULL;
63213 }
63214 
63215 
63216 SWIGINTERN PyObject *_wrap_vector_Neuron___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63217  PyObject *resultobj = 0;
63218  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63219  PySliceObject *arg2 = (PySliceObject *) 0 ;
63220  void *argp1 = 0 ;
63221  int res1 = 0 ;
63222  PyObject * obj0 = 0 ;
63223  PyObject * obj1 = 0 ;
63224  std::vector< Neuron *,std::allocator< Neuron * > > *result = 0 ;
63225 
63226  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Neuron___getitem__",&obj0,&obj1)) SWIG_fail;
63227  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63228  if (!SWIG_IsOK(res1)) {
63229  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron___getitem__" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63230  }
63231  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63232  {
63233  if (!PySlice_Check(obj1)) {
63234  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Neuron___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
63235  }
63236  arg2 = (PySliceObject *) obj1;
63237  }
63238  try {
63239  result = (std::vector< Neuron *,std::allocator< Neuron * > > *)std_vector_Sl_Neuron_Sm__Sg____getitem____SWIG_0(arg1,arg2);
63240  }
63241  catch(std::out_of_range &_e) {
63242  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
63243  }
63244  catch(std::invalid_argument &_e) {
63245  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
63246  }
63247 
63248  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, SWIG_POINTER_OWN | 0 );
63249  return resultobj;
63250 fail:
63251  return NULL;
63252 }
63253 
63254 
63255 SWIGINTERN PyObject *_wrap_vector_Neuron___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63256  PyObject *resultobj = 0;
63257  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63258  PySliceObject *arg2 = (PySliceObject *) 0 ;
63259  std::vector< Neuron *,std::allocator< Neuron * > > *arg3 = 0 ;
63260  void *argp1 = 0 ;
63261  int res1 = 0 ;
63262  int res3 = SWIG_OLDOBJ ;
63263  PyObject * obj0 = 0 ;
63264  PyObject * obj1 = 0 ;
63265  PyObject * obj2 = 0 ;
63266 
63267  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Neuron___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
63268  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63269  if (!SWIG_IsOK(res1)) {
63270  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron___setitem__" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63271  }
63272  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63273  {
63274  if (!PySlice_Check(obj1)) {
63275  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Neuron___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
63276  }
63277  arg2 = (PySliceObject *) obj1;
63278  }
63279  {
63280  std::vector<Neuron*,std::allocator< Neuron * > > *ptr = (std::vector<Neuron*,std::allocator< Neuron * > > *)0;
63281  res3 = swig::asptr(obj2, &ptr);
63282  if (!SWIG_IsOK(res3)) {
63283  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_Neuron___setitem__" "', argument " "3"" of type '" "std::vector< Neuron *,std::allocator< Neuron * > > const &""'");
63284  }
63285  if (!ptr) {
63286  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_Neuron___setitem__" "', argument " "3"" of type '" "std::vector< Neuron *,std::allocator< Neuron * > > const &""'");
63287  }
63288  arg3 = ptr;
63289  }
63290  try {
63291  std_vector_Sl_Neuron_Sm__Sg____setitem____SWIG_0(arg1,arg2,(std::vector< Neuron *,std::allocator< Neuron * > > const &)*arg3);
63292  }
63293  catch(std::out_of_range &_e) {
63294  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
63295  }
63296  catch(std::invalid_argument &_e) {
63297  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
63298  }
63299 
63300  resultobj = SWIG_Py_Void();
63301  if (SWIG_IsNewObj(res3)) delete arg3;
63302  return resultobj;
63303 fail:
63304  if (SWIG_IsNewObj(res3)) delete arg3;
63305  return NULL;
63306 }
63307 
63308 
63309 SWIGINTERN PyObject *_wrap_vector_Neuron___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63310  PyObject *resultobj = 0;
63311  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63312  PySliceObject *arg2 = (PySliceObject *) 0 ;
63313  void *argp1 = 0 ;
63314  int res1 = 0 ;
63315  PyObject * obj0 = 0 ;
63316  PyObject * obj1 = 0 ;
63317 
63318  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Neuron___setitem__",&obj0,&obj1)) SWIG_fail;
63319  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63320  if (!SWIG_IsOK(res1)) {
63321  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron___setitem__" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63322  }
63323  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63324  {
63325  if (!PySlice_Check(obj1)) {
63326  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Neuron___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
63327  }
63328  arg2 = (PySliceObject *) obj1;
63329  }
63330  try {
63331  std_vector_Sl_Neuron_Sm__Sg____setitem____SWIG_1(arg1,arg2);
63332  }
63333  catch(std::out_of_range &_e) {
63334  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
63335  }
63336  catch(std::invalid_argument &_e) {
63337  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
63338  }
63339 
63340  resultobj = SWIG_Py_Void();
63341  return resultobj;
63342 fail:
63343  return NULL;
63344 }
63345 
63346 
63347 SWIGINTERN PyObject *_wrap_vector_Neuron___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63348  PyObject *resultobj = 0;
63349  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63350  PySliceObject *arg2 = (PySliceObject *) 0 ;
63351  void *argp1 = 0 ;
63352  int res1 = 0 ;
63353  PyObject * obj0 = 0 ;
63354  PyObject * obj1 = 0 ;
63355 
63356  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Neuron___delitem__",&obj0,&obj1)) SWIG_fail;
63357  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63358  if (!SWIG_IsOK(res1)) {
63359  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron___delitem__" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63360  }
63361  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63362  {
63363  if (!PySlice_Check(obj1)) {
63364  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Neuron___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
63365  }
63366  arg2 = (PySliceObject *) obj1;
63367  }
63368  try {
63369  std_vector_Sl_Neuron_Sm__Sg____delitem____SWIG_1(arg1,arg2);
63370  }
63371  catch(std::out_of_range &_e) {
63372  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
63373  }
63374  catch(std::invalid_argument &_e) {
63375  SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
63376  }
63377 
63378  resultobj = SWIG_Py_Void();
63379  return resultobj;
63380 fail:
63381  return NULL;
63382 }
63383 
63384 
63385 SWIGINTERN PyObject *_wrap_vector_Neuron___delitem__(PyObject *self, PyObject *args) {
63386  int argc;
63387  PyObject *argv[3];
63388  int ii;
63389 
63390  if (!PyTuple_Check(args)) SWIG_fail;
63391  argc = args ? (int)PyObject_Length(args) : 0;
63392  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
63393  argv[ii] = PyTuple_GET_ITEM(args,ii);
63394  }
63395  if (argc == 2) {
63396  int _v;
63397  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
63398  _v = SWIG_CheckState(res);
63399  if (_v) {
63400  {
63401  _v = PySlice_Check(argv[1]);
63402  }
63403  if (_v) {
63404  return _wrap_vector_Neuron___delitem____SWIG_1(self, args);
63405  }
63406  }
63407  }
63408  if (argc == 2) {
63409  int _v;
63410  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
63411  _v = SWIG_CheckState(res);
63412  if (_v) {
63413  {
63414  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
63415  _v = SWIG_CheckState(res);
63416  }
63417  if (_v) {
63418  return _wrap_vector_Neuron___delitem____SWIG_0(self, args);
63419  }
63420  }
63421  }
63422 
63423 fail:
63424  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_Neuron___delitem__'.\n"
63425  " Possible C/C++ prototypes are:\n"
63426  " std::vector< Neuron * >::__delitem__(std::vector< Neuron * >::difference_type)\n"
63427  " std::vector< Neuron * >::__delitem__(PySliceObject *)\n");
63428  return 0;
63429 }
63430 
63431 
63432 SWIGINTERN PyObject *_wrap_vector_Neuron___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63433  PyObject *resultobj = 0;
63434  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63435  std::vector< Neuron * >::difference_type arg2 ;
63436  void *argp1 = 0 ;
63437  int res1 = 0 ;
63438  ptrdiff_t val2 ;
63439  int ecode2 = 0 ;
63440  PyObject * obj0 = 0 ;
63441  PyObject * obj1 = 0 ;
63442  std::vector< Neuron * >::value_type result;
63443 
63444  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Neuron___getitem__",&obj0,&obj1)) SWIG_fail;
63445  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63446  if (!SWIG_IsOK(res1)) {
63447  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron___getitem__" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63448  }
63449  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63450  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
63451  if (!SWIG_IsOK(ecode2)) {
63452  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Neuron___getitem__" "', argument " "2"" of type '" "std::vector< Neuron * >::difference_type""'");
63453  }
63454  arg2 = static_cast< std::vector< Neuron * >::difference_type >(val2);
63455  try {
63456  result = (std::vector< Neuron * >::value_type)std_vector_Sl_Neuron_Sm__Sg____getitem____SWIG_1(arg1,arg2);
63457  }
63458  catch(std::out_of_range &_e) {
63459  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
63460  }
63461 
63462  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Neuron, 0 | 0 );
63463  return resultobj;
63464 fail:
63465  return NULL;
63466 }
63467 
63468 
63469 SWIGINTERN PyObject *_wrap_vector_Neuron___getitem__(PyObject *self, PyObject *args) {
63470  int argc;
63471  PyObject *argv[3];
63472  int ii;
63473 
63474  if (!PyTuple_Check(args)) SWIG_fail;
63475  argc = args ? (int)PyObject_Length(args) : 0;
63476  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
63477  argv[ii] = PyTuple_GET_ITEM(args,ii);
63478  }
63479  if (argc == 2) {
63480  int _v;
63481  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
63482  _v = SWIG_CheckState(res);
63483  if (_v) {
63484  {
63485  _v = PySlice_Check(argv[1]);
63486  }
63487  if (_v) {
63488  return _wrap_vector_Neuron___getitem____SWIG_0(self, args);
63489  }
63490  }
63491  }
63492  if (argc == 2) {
63493  int _v;
63494  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
63495  _v = SWIG_CheckState(res);
63496  if (_v) {
63497  {
63498  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
63499  _v = SWIG_CheckState(res);
63500  }
63501  if (_v) {
63502  return _wrap_vector_Neuron___getitem____SWIG_1(self, args);
63503  }
63504  }
63505  }
63506 
63507 fail:
63508  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_Neuron___getitem__'.\n"
63509  " Possible C/C++ prototypes are:\n"
63510  " std::vector< Neuron * >::__getitem__(PySliceObject *)\n"
63511  " std::vector< Neuron * >::__getitem__(std::vector< Neuron * >::difference_type)\n");
63512  return 0;
63513 }
63514 
63515 
63516 SWIGINTERN PyObject *_wrap_vector_Neuron___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63517  PyObject *resultobj = 0;
63518  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63519  std::vector< Neuron * >::difference_type arg2 ;
63520  std::vector< Neuron * >::value_type arg3 = (std::vector< Neuron * >::value_type) 0 ;
63521  void *argp1 = 0 ;
63522  int res1 = 0 ;
63523  ptrdiff_t val2 ;
63524  int ecode2 = 0 ;
63525  void *argp3 = 0 ;
63526  int res3 = 0 ;
63527  PyObject * obj0 = 0 ;
63528  PyObject * obj1 = 0 ;
63529  PyObject * obj2 = 0 ;
63530 
63531  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Neuron___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
63532  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63533  if (!SWIG_IsOK(res1)) {
63534  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron___setitem__" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63535  }
63536  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63537  ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
63538  if (!SWIG_IsOK(ecode2)) {
63539  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Neuron___setitem__" "', argument " "2"" of type '" "std::vector< Neuron * >::difference_type""'");
63540  }
63541  arg2 = static_cast< std::vector< Neuron * >::difference_type >(val2);
63542  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Neuron, 0 | 0 );
63543  if (!SWIG_IsOK(res3)) {
63544  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_Neuron___setitem__" "', argument " "3"" of type '" "std::vector< Neuron * >::value_type""'");
63545  }
63546  arg3 = reinterpret_cast< std::vector< Neuron * >::value_type >(argp3);
63547  try {
63548  std_vector_Sl_Neuron_Sm__Sg____setitem____SWIG_2(arg1,arg2,arg3);
63549  }
63550  catch(std::out_of_range &_e) {
63551  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
63552  }
63553 
63554  resultobj = SWIG_Py_Void();
63555  return resultobj;
63556 fail:
63557  return NULL;
63558 }
63559 
63560 
63561 SWIGINTERN PyObject *_wrap_vector_Neuron___setitem__(PyObject *self, PyObject *args) {
63562  int argc;
63563  PyObject *argv[4];
63564  int ii;
63565 
63566  if (!PyTuple_Check(args)) SWIG_fail;
63567  argc = args ? (int)PyObject_Length(args) : 0;
63568  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
63569  argv[ii] = PyTuple_GET_ITEM(args,ii);
63570  }
63571  if (argc == 2) {
63572  int _v;
63573  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
63574  _v = SWIG_CheckState(res);
63575  if (_v) {
63576  {
63577  _v = PySlice_Check(argv[1]);
63578  }
63579  if (_v) {
63580  return _wrap_vector_Neuron___setitem____SWIG_1(self, args);
63581  }
63582  }
63583  }
63584  if (argc == 3) {
63585  int _v;
63586  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
63587  _v = SWIG_CheckState(res);
63588  if (_v) {
63589  {
63590  _v = PySlice_Check(argv[1]);
63591  }
63592  if (_v) {
63593  int res = swig::asptr(argv[2], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
63594  _v = SWIG_CheckState(res);
63595  if (_v) {
63596  return _wrap_vector_Neuron___setitem____SWIG_0(self, args);
63597  }
63598  }
63599  }
63600  }
63601  if (argc == 3) {
63602  int _v;
63603  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
63604  _v = SWIG_CheckState(res);
63605  if (_v) {
63606  {
63607  int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
63608  _v = SWIG_CheckState(res);
63609  }
63610  if (_v) {
63611  void *vptr = 0;
63612  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Neuron, 0);
63613  _v = SWIG_CheckState(res);
63614  if (_v) {
63615  return _wrap_vector_Neuron___setitem____SWIG_2(self, args);
63616  }
63617  }
63618  }
63619  }
63620 
63621 fail:
63622  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_Neuron___setitem__'.\n"
63623  " Possible C/C++ prototypes are:\n"
63624  " std::vector< Neuron * >::__setitem__(PySliceObject *,std::vector< Neuron *,std::allocator< Neuron * > > const &)\n"
63625  " std::vector< Neuron * >::__setitem__(PySliceObject *)\n"
63626  " std::vector< Neuron * >::__setitem__(std::vector< Neuron * >::difference_type,std::vector< Neuron * >::value_type)\n");
63627  return 0;
63628 }
63629 
63630 
63631 SWIGINTERN PyObject *_wrap_vector_Neuron_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63632  PyObject *resultobj = 0;
63633  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63634  std::vector< Neuron * >::value_type arg2 = (std::vector< Neuron * >::value_type) 0 ;
63635  void *argp1 = 0 ;
63636  int res1 = 0 ;
63637  void *argp2 = 0 ;
63638  int res2 = 0 ;
63639  PyObject * obj0 = 0 ;
63640  PyObject * obj1 = 0 ;
63641 
63642  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Neuron_append",&obj0,&obj1)) SWIG_fail;
63643  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63644  if (!SWIG_IsOK(res1)) {
63645  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_append" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63646  }
63647  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63648  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Neuron, 0 | 0 );
63649  if (!SWIG_IsOK(res2)) {
63650  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_Neuron_append" "', argument " "2"" of type '" "std::vector< Neuron * >::value_type""'");
63651  }
63652  arg2 = reinterpret_cast< std::vector< Neuron * >::value_type >(argp2);
63653  std_vector_Sl_Neuron_Sm__Sg__append(arg1,arg2);
63654  resultobj = SWIG_Py_Void();
63655  return resultobj;
63656 fail:
63657  return NULL;
63658 }
63659 
63660 
63661 SWIGINTERN PyObject *_wrap_new_vector_Neuron__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63662  PyObject *resultobj = 0;
63663  std::vector< Neuron * > *result = 0 ;
63664 
63665  if (!PyArg_ParseTuple(args,(char *)":new_vector_Neuron")) SWIG_fail;
63666  result = (std::vector< Neuron * > *)new std::vector< Neuron * >();
63667  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, SWIG_POINTER_NEW | 0 );
63668  return resultobj;
63669 fail:
63670  return NULL;
63671 }
63672 
63673 
63674 SWIGINTERN PyObject *_wrap_new_vector_Neuron__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63675  PyObject *resultobj = 0;
63676  std::vector< Neuron * > *arg1 = 0 ;
63677  int res1 = SWIG_OLDOBJ ;
63678  PyObject * obj0 = 0 ;
63679  std::vector< Neuron * > *result = 0 ;
63680 
63681  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_Neuron",&obj0)) SWIG_fail;
63682  {
63683  std::vector<Neuron*,std::allocator< Neuron * > > *ptr = (std::vector<Neuron*,std::allocator< Neuron * > > *)0;
63684  res1 = swig::asptr(obj0, &ptr);
63685  if (!SWIG_IsOK(res1)) {
63686  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_Neuron" "', argument " "1"" of type '" "std::vector< Neuron * > const &""'");
63687  }
63688  if (!ptr) {
63689  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vector_Neuron" "', argument " "1"" of type '" "std::vector< Neuron * > const &""'");
63690  }
63691  arg1 = ptr;
63692  }
63693  result = (std::vector< Neuron * > *)new std::vector< Neuron * >((std::vector< Neuron * > const &)*arg1);
63694  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, SWIG_POINTER_NEW | 0 );
63695  if (SWIG_IsNewObj(res1)) delete arg1;
63696  return resultobj;
63697 fail:
63698  if (SWIG_IsNewObj(res1)) delete arg1;
63699  return NULL;
63700 }
63701 
63702 
63703 SWIGINTERN PyObject *_wrap_vector_Neuron_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63704  PyObject *resultobj = 0;
63705  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63706  void *argp1 = 0 ;
63707  int res1 = 0 ;
63708  PyObject * obj0 = 0 ;
63709  bool result;
63710 
63711  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron_empty",&obj0)) SWIG_fail;
63712  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63713  if (!SWIG_IsOK(res1)) {
63714  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_empty" "', argument " "1"" of type '" "std::vector< Neuron * > const *""'");
63715  }
63716  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63717  result = (bool)((std::vector< Neuron * > const *)arg1)->empty();
63718  resultobj = SWIG_From_bool(static_cast< bool >(result));
63719  return resultobj;
63720 fail:
63721  return NULL;
63722 }
63723 
63724 
63725 SWIGINTERN PyObject *_wrap_vector_Neuron_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63726  PyObject *resultobj = 0;
63727  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63728  void *argp1 = 0 ;
63729  int res1 = 0 ;
63730  PyObject * obj0 = 0 ;
63731  std::vector< Neuron * >::size_type result;
63732 
63733  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron_size",&obj0)) SWIG_fail;
63734  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63735  if (!SWIG_IsOK(res1)) {
63736  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_size" "', argument " "1"" of type '" "std::vector< Neuron * > const *""'");
63737  }
63738  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63739  result = ((std::vector< Neuron * > const *)arg1)->size();
63740  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
63741  return resultobj;
63742 fail:
63743  return NULL;
63744 }
63745 
63746 
63747 SWIGINTERN PyObject *_wrap_vector_Neuron_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63748  PyObject *resultobj = 0;
63749  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63750  void *argp1 = 0 ;
63751  int res1 = 0 ;
63752  PyObject * obj0 = 0 ;
63753 
63754  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron_clear",&obj0)) SWIG_fail;
63755  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63756  if (!SWIG_IsOK(res1)) {
63757  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_clear" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63758  }
63759  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63760  (arg1)->clear();
63761  resultobj = SWIG_Py_Void();
63762  return resultobj;
63763 fail:
63764  return NULL;
63765 }
63766 
63767 
63768 SWIGINTERN PyObject *_wrap_vector_Neuron_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63769  PyObject *resultobj = 0;
63770  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63771  std::vector< Neuron * > *arg2 = 0 ;
63772  void *argp1 = 0 ;
63773  int res1 = 0 ;
63774  void *argp2 = 0 ;
63775  int res2 = 0 ;
63776  PyObject * obj0 = 0 ;
63777  PyObject * obj1 = 0 ;
63778 
63779  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Neuron_swap",&obj0,&obj1)) SWIG_fail;
63780  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63781  if (!SWIG_IsOK(res1)) {
63782  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_swap" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63783  }
63784  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63785  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 );
63786  if (!SWIG_IsOK(res2)) {
63787  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_Neuron_swap" "', argument " "2"" of type '" "std::vector< Neuron * > &""'");
63788  }
63789  if (!argp2) {
63790  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_Neuron_swap" "', argument " "2"" of type '" "std::vector< Neuron * > &""'");
63791  }
63792  arg2 = reinterpret_cast< std::vector< Neuron * > * >(argp2);
63793  (arg1)->swap(*arg2);
63794  resultobj = SWIG_Py_Void();
63795  return resultobj;
63796 fail:
63797  return NULL;
63798 }
63799 
63800 
63801 SWIGINTERN PyObject *_wrap_vector_Neuron_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63802  PyObject *resultobj = 0;
63803  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63804  void *argp1 = 0 ;
63805  int res1 = 0 ;
63806  PyObject * obj0 = 0 ;
63807  SwigValueWrapper< std::allocator< Neuron * > > result;
63808 
63809  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron_get_allocator",&obj0)) SWIG_fail;
63810  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63811  if (!SWIG_IsOK(res1)) {
63812  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_get_allocator" "', argument " "1"" of type '" "std::vector< Neuron * > const *""'");
63813  }
63814  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63815  result = ((std::vector< Neuron * > const *)arg1)->get_allocator();
63816  resultobj = SWIG_NewPointerObj((new std::vector< Neuron * >::allocator_type(static_cast< const std::vector< Neuron * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_Neuron_p_t, SWIG_POINTER_OWN | 0 );
63817  return resultobj;
63818 fail:
63819  return NULL;
63820 }
63821 
63822 
63823 SWIGINTERN PyObject *_wrap_vector_Neuron_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63824  PyObject *resultobj = 0;
63825  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63826  void *argp1 = 0 ;
63827  int res1 = 0 ;
63828  PyObject * obj0 = 0 ;
63829  std::vector< Neuron * >::iterator result;
63830 
63831  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron_begin",&obj0)) SWIG_fail;
63832  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63833  if (!SWIG_IsOK(res1)) {
63834  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_begin" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63835  }
63836  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63837  result = (arg1)->begin();
63838  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Neuron * >::iterator & >(result)),
63839  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
63840  return resultobj;
63841 fail:
63842  return NULL;
63843 }
63844 
63845 
63846 SWIGINTERN PyObject *_wrap_vector_Neuron_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63847  PyObject *resultobj = 0;
63848  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63849  void *argp1 = 0 ;
63850  int res1 = 0 ;
63851  PyObject * obj0 = 0 ;
63852  std::vector< Neuron * >::iterator result;
63853 
63854  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron_end",&obj0)) SWIG_fail;
63855  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63856  if (!SWIG_IsOK(res1)) {
63857  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_end" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63858  }
63859  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63860  result = (arg1)->end();
63861  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Neuron * >::iterator & >(result)),
63862  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
63863  return resultobj;
63864 fail:
63865  return NULL;
63866 }
63867 
63868 
63869 SWIGINTERN PyObject *_wrap_vector_Neuron_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63870  PyObject *resultobj = 0;
63871  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63872  void *argp1 = 0 ;
63873  int res1 = 0 ;
63874  PyObject * obj0 = 0 ;
63875  std::vector< Neuron * >::reverse_iterator result;
63876 
63877  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron_rbegin",&obj0)) SWIG_fail;
63878  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63879  if (!SWIG_IsOK(res1)) {
63880  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_rbegin" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63881  }
63882  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63883  result = (arg1)->rbegin();
63884  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Neuron * >::reverse_iterator & >(result)),
63885  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
63886  return resultobj;
63887 fail:
63888  return NULL;
63889 }
63890 
63891 
63892 SWIGINTERN PyObject *_wrap_vector_Neuron_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63893  PyObject *resultobj = 0;
63894  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63895  void *argp1 = 0 ;
63896  int res1 = 0 ;
63897  PyObject * obj0 = 0 ;
63898  std::vector< Neuron * >::reverse_iterator result;
63899 
63900  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron_rend",&obj0)) SWIG_fail;
63901  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63902  if (!SWIG_IsOK(res1)) {
63903  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_rend" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63904  }
63905  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63906  result = (arg1)->rend();
63907  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Neuron * >::reverse_iterator & >(result)),
63908  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
63909  return resultobj;
63910 fail:
63911  return NULL;
63912 }
63913 
63914 
63915 SWIGINTERN PyObject *_wrap_new_vector_Neuron__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63916  PyObject *resultobj = 0;
63917  std::vector< Neuron * >::size_type arg1 ;
63918  size_t val1 ;
63919  int ecode1 = 0 ;
63920  PyObject * obj0 = 0 ;
63921  std::vector< Neuron * > *result = 0 ;
63922 
63923  if (!PyArg_ParseTuple(args,(char *)"O:new_vector_Neuron",&obj0)) SWIG_fail;
63924  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
63925  if (!SWIG_IsOK(ecode1)) {
63926  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_Neuron" "', argument " "1"" of type '" "std::vector< Neuron * >::size_type""'");
63927  }
63928  arg1 = static_cast< std::vector< Neuron * >::size_type >(val1);
63929  result = (std::vector< Neuron * > *)new std::vector< Neuron * >(arg1);
63930  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, SWIG_POINTER_NEW | 0 );
63931  return resultobj;
63932 fail:
63933  return NULL;
63934 }
63935 
63936 
63937 SWIGINTERN PyObject *_wrap_vector_Neuron_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63938  PyObject *resultobj = 0;
63939  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63940  void *argp1 = 0 ;
63941  int res1 = 0 ;
63942  PyObject * obj0 = 0 ;
63943 
63944  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron_pop_back",&obj0)) SWIG_fail;
63945  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63946  if (!SWIG_IsOK(res1)) {
63947  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_pop_back" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63948  }
63949  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63950  (arg1)->pop_back();
63951  resultobj = SWIG_Py_Void();
63952  return resultobj;
63953 fail:
63954  return NULL;
63955 }
63956 
63957 
63958 SWIGINTERN PyObject *_wrap_vector_Neuron_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63959  PyObject *resultobj = 0;
63960  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63961  std::vector< Neuron * >::size_type arg2 ;
63962  void *argp1 = 0 ;
63963  int res1 = 0 ;
63964  size_t val2 ;
63965  int ecode2 = 0 ;
63966  PyObject * obj0 = 0 ;
63967  PyObject * obj1 = 0 ;
63968 
63969  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Neuron_resize",&obj0,&obj1)) SWIG_fail;
63970  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
63971  if (!SWIG_IsOK(res1)) {
63972  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_resize" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
63973  }
63974  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
63975  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
63976  if (!SWIG_IsOK(ecode2)) {
63977  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Neuron_resize" "', argument " "2"" of type '" "std::vector< Neuron * >::size_type""'");
63978  }
63979  arg2 = static_cast< std::vector< Neuron * >::size_type >(val2);
63980  (arg1)->resize(arg2);
63981  resultobj = SWIG_Py_Void();
63982  return resultobj;
63983 fail:
63984  return NULL;
63985 }
63986 
63987 
63988 SWIGINTERN PyObject *_wrap_vector_Neuron_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
63989  PyObject *resultobj = 0;
63990  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
63991  std::vector< Neuron * >::iterator arg2 ;
63992  void *argp1 = 0 ;
63993  int res1 = 0 ;
63994  swig::SwigPyIterator *iter2 = 0 ;
63995  int res2 ;
63996  PyObject * obj0 = 0 ;
63997  PyObject * obj1 = 0 ;
63998  std::vector< Neuron * >::iterator result;
63999 
64000  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Neuron_erase",&obj0,&obj1)) SWIG_fail;
64001  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
64002  if (!SWIG_IsOK(res1)) {
64003  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_erase" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
64004  }
64005  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
64006  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
64007  if (!SWIG_IsOK(res2) || !iter2) {
64008  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Neuron_erase" "', argument " "2"" of type '" "std::vector< Neuron * >::iterator""'");
64009  } else {
64011  if (iter_t) {
64012  arg2 = iter_t->get_current();
64013  } else {
64014  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Neuron_erase" "', argument " "2"" of type '" "std::vector< Neuron * >::iterator""'");
64015  }
64016  }
64017  result = std_vector_Sl_Neuron_Sm__Sg__erase__SWIG_0(arg1,arg2);
64018  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Neuron * >::iterator & >(result)),
64019  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
64020  return resultobj;
64021 fail:
64022  return NULL;
64023 }
64024 
64025 
64026 SWIGINTERN PyObject *_wrap_vector_Neuron_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64027  PyObject *resultobj = 0;
64028  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
64029  std::vector< Neuron * >::iterator arg2 ;
64030  std::vector< Neuron * >::iterator arg3 ;
64031  void *argp1 = 0 ;
64032  int res1 = 0 ;
64033  swig::SwigPyIterator *iter2 = 0 ;
64034  int res2 ;
64035  swig::SwigPyIterator *iter3 = 0 ;
64036  int res3 ;
64037  PyObject * obj0 = 0 ;
64038  PyObject * obj1 = 0 ;
64039  PyObject * obj2 = 0 ;
64040  std::vector< Neuron * >::iterator result;
64041 
64042  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Neuron_erase",&obj0,&obj1,&obj2)) SWIG_fail;
64043  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
64044  if (!SWIG_IsOK(res1)) {
64045  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_erase" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
64046  }
64047  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
64048  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
64049  if (!SWIG_IsOK(res2) || !iter2) {
64050  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Neuron_erase" "', argument " "2"" of type '" "std::vector< Neuron * >::iterator""'");
64051  } else {
64053  if (iter_t) {
64054  arg2 = iter_t->get_current();
64055  } else {
64056  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Neuron_erase" "', argument " "2"" of type '" "std::vector< Neuron * >::iterator""'");
64057  }
64058  }
64059  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
64060  if (!SWIG_IsOK(res3) || !iter3) {
64061  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Neuron_erase" "', argument " "3"" of type '" "std::vector< Neuron * >::iterator""'");
64062  } else {
64064  if (iter_t) {
64065  arg3 = iter_t->get_current();
64066  } else {
64067  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Neuron_erase" "', argument " "3"" of type '" "std::vector< Neuron * >::iterator""'");
64068  }
64069  }
64070  result = std_vector_Sl_Neuron_Sm__Sg__erase__SWIG_1(arg1,arg2,arg3);
64071  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Neuron * >::iterator & >(result)),
64072  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
64073  return resultobj;
64074 fail:
64075  return NULL;
64076 }
64077 
64078 
64079 SWIGINTERN PyObject *_wrap_vector_Neuron_erase(PyObject *self, PyObject *args) {
64080  int argc;
64081  PyObject *argv[4];
64082  int ii;
64083 
64084  if (!PyTuple_Check(args)) SWIG_fail;
64085  argc = args ? (int)PyObject_Length(args) : 0;
64086  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
64087  argv[ii] = PyTuple_GET_ITEM(args,ii);
64088  }
64089  if (argc == 2) {
64090  int _v;
64091  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
64092  _v = SWIG_CheckState(res);
64093  if (_v) {
64094  swig::SwigPyIterator *iter = 0;
64095  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
64096  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Neuron * >::iterator > *>(iter) != 0));
64097  if (_v) {
64098  return _wrap_vector_Neuron_erase__SWIG_0(self, args);
64099  }
64100  }
64101  }
64102  if (argc == 3) {
64103  int _v;
64104  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
64105  _v = SWIG_CheckState(res);
64106  if (_v) {
64107  swig::SwigPyIterator *iter = 0;
64108  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
64109  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Neuron * >::iterator > *>(iter) != 0));
64110  if (_v) {
64111  swig::SwigPyIterator *iter = 0;
64112  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
64113  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Neuron * >::iterator > *>(iter) != 0));
64114  if (_v) {
64115  return _wrap_vector_Neuron_erase__SWIG_1(self, args);
64116  }
64117  }
64118  }
64119  }
64120 
64121 fail:
64122  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_Neuron_erase'.\n"
64123  " Possible C/C++ prototypes are:\n"
64124  " std::vector< Neuron * >::erase(std::vector< Neuron * >::iterator)\n"
64125  " std::vector< Neuron * >::erase(std::vector< Neuron * >::iterator,std::vector< Neuron * >::iterator)\n");
64126  return 0;
64127 }
64128 
64129 
64130 SWIGINTERN PyObject *_wrap_new_vector_Neuron__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64131  PyObject *resultobj = 0;
64132  std::vector< Neuron * >::size_type arg1 ;
64133  std::vector< Neuron * >::value_type arg2 = (std::vector< Neuron * >::value_type) 0 ;
64134  size_t val1 ;
64135  int ecode1 = 0 ;
64136  void *argp2 = 0 ;
64137  int res2 = 0 ;
64138  PyObject * obj0 = 0 ;
64139  PyObject * obj1 = 0 ;
64140  std::vector< Neuron * > *result = 0 ;
64141 
64142  if (!PyArg_ParseTuple(args,(char *)"OO:new_vector_Neuron",&obj0,&obj1)) SWIG_fail;
64143  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
64144  if (!SWIG_IsOK(ecode1)) {
64145  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vector_Neuron" "', argument " "1"" of type '" "std::vector< Neuron * >::size_type""'");
64146  }
64147  arg1 = static_cast< std::vector< Neuron * >::size_type >(val1);
64148  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Neuron, 0 | 0 );
64149  if (!SWIG_IsOK(res2)) {
64150  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vector_Neuron" "', argument " "2"" of type '" "std::vector< Neuron * >::value_type""'");
64151  }
64152  arg2 = reinterpret_cast< std::vector< Neuron * >::value_type >(argp2);
64153  result = (std::vector< Neuron * > *)new std::vector< Neuron * >(arg1,arg2);
64154  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, SWIG_POINTER_NEW | 0 );
64155  return resultobj;
64156 fail:
64157  return NULL;
64158 }
64159 
64160 
64161 SWIGINTERN PyObject *_wrap_new_vector_Neuron(PyObject *self, PyObject *args) {
64162  int argc;
64163  PyObject *argv[3];
64164  int ii;
64165 
64166  if (!PyTuple_Check(args)) SWIG_fail;
64167  argc = args ? (int)PyObject_Length(args) : 0;
64168  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
64169  argv[ii] = PyTuple_GET_ITEM(args,ii);
64170  }
64171  if (argc == 0) {
64172  return _wrap_new_vector_Neuron__SWIG_0(self, args);
64173  }
64174  if (argc == 1) {
64175  int _v;
64176  {
64177  int res = SWIG_AsVal_size_t(argv[0], NULL);
64178  _v = SWIG_CheckState(res);
64179  }
64180  if (_v) {
64181  return _wrap_new_vector_Neuron__SWIG_2(self, args);
64182  }
64183  }
64184  if (argc == 1) {
64185  int _v;
64186  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
64187  _v = SWIG_CheckState(res);
64188  if (_v) {
64189  return _wrap_new_vector_Neuron__SWIG_1(self, args);
64190  }
64191  }
64192  if (argc == 2) {
64193  int _v;
64194  {
64195  int res = SWIG_AsVal_size_t(argv[0], NULL);
64196  _v = SWIG_CheckState(res);
64197  }
64198  if (_v) {
64199  void *vptr = 0;
64200  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Neuron, 0);
64201  _v = SWIG_CheckState(res);
64202  if (_v) {
64203  return _wrap_new_vector_Neuron__SWIG_3(self, args);
64204  }
64205  }
64206  }
64207 
64208 fail:
64209  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vector_Neuron'.\n"
64210  " Possible C/C++ prototypes are:\n"
64211  " std::vector< Neuron * >::vector()\n"
64212  " std::vector< Neuron * >::vector(std::vector< Neuron * > const &)\n"
64213  " std::vector< Neuron * >::vector(std::vector< Neuron * >::size_type)\n"
64214  " std::vector< Neuron * >::vector(std::vector< Neuron * >::size_type,std::vector< Neuron * >::value_type)\n");
64215  return 0;
64216 }
64217 
64218 
64219 SWIGINTERN PyObject *_wrap_vector_Neuron_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64220  PyObject *resultobj = 0;
64221  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
64222  std::vector< Neuron * >::value_type arg2 = (std::vector< Neuron * >::value_type) 0 ;
64223  void *argp1 = 0 ;
64224  int res1 = 0 ;
64225  void *argp2 = 0 ;
64226  int res2 = 0 ;
64227  PyObject * obj0 = 0 ;
64228  PyObject * obj1 = 0 ;
64229 
64230  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Neuron_push_back",&obj0,&obj1)) SWIG_fail;
64231  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
64232  if (!SWIG_IsOK(res1)) {
64233  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_push_back" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
64234  }
64235  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
64236  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Neuron, 0 | 0 );
64237  if (!SWIG_IsOK(res2)) {
64238  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vector_Neuron_push_back" "', argument " "2"" of type '" "std::vector< Neuron * >::value_type""'");
64239  }
64240  arg2 = reinterpret_cast< std::vector< Neuron * >::value_type >(argp2);
64241  (arg1)->push_back(arg2);
64242  resultobj = SWIG_Py_Void();
64243  return resultobj;
64244 fail:
64245  return NULL;
64246 }
64247 
64248 
64249 SWIGINTERN PyObject *_wrap_vector_Neuron_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64250  PyObject *resultobj = 0;
64251  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
64252  void *argp1 = 0 ;
64253  int res1 = 0 ;
64254  PyObject * obj0 = 0 ;
64255  std::vector< Neuron * >::value_type result;
64256 
64257  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron_front",&obj0)) SWIG_fail;
64258  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
64259  if (!SWIG_IsOK(res1)) {
64260  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_front" "', argument " "1"" of type '" "std::vector< Neuron * > const *""'");
64261  }
64262  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
64263  result = (std::vector< Neuron * >::value_type)((std::vector< Neuron * > const *)arg1)->front();
64264  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Neuron, 0 | 0 );
64265  return resultobj;
64266 fail:
64267  return NULL;
64268 }
64269 
64270 
64271 SWIGINTERN PyObject *_wrap_vector_Neuron_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64272  PyObject *resultobj = 0;
64273  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
64274  void *argp1 = 0 ;
64275  int res1 = 0 ;
64276  PyObject * obj0 = 0 ;
64277  std::vector< Neuron * >::value_type result;
64278 
64279  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron_back",&obj0)) SWIG_fail;
64280  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
64281  if (!SWIG_IsOK(res1)) {
64282  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_back" "', argument " "1"" of type '" "std::vector< Neuron * > const *""'");
64283  }
64284  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
64285  result = (std::vector< Neuron * >::value_type)((std::vector< Neuron * > const *)arg1)->back();
64286  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Neuron, 0 | 0 );
64287  return resultobj;
64288 fail:
64289  return NULL;
64290 }
64291 
64292 
64293 SWIGINTERN PyObject *_wrap_vector_Neuron_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64294  PyObject *resultobj = 0;
64295  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
64296  std::vector< Neuron * >::size_type arg2 ;
64297  std::vector< Neuron * >::value_type arg3 = (std::vector< Neuron * >::value_type) 0 ;
64298  void *argp1 = 0 ;
64299  int res1 = 0 ;
64300  size_t val2 ;
64301  int ecode2 = 0 ;
64302  void *argp3 = 0 ;
64303  int res3 = 0 ;
64304  PyObject * obj0 = 0 ;
64305  PyObject * obj1 = 0 ;
64306  PyObject * obj2 = 0 ;
64307 
64308  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Neuron_assign",&obj0,&obj1,&obj2)) SWIG_fail;
64309  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
64310  if (!SWIG_IsOK(res1)) {
64311  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_assign" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
64312  }
64313  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
64314  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
64315  if (!SWIG_IsOK(ecode2)) {
64316  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Neuron_assign" "', argument " "2"" of type '" "std::vector< Neuron * >::size_type""'");
64317  }
64318  arg2 = static_cast< std::vector< Neuron * >::size_type >(val2);
64319  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Neuron, 0 | 0 );
64320  if (!SWIG_IsOK(res3)) {
64321  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_Neuron_assign" "', argument " "3"" of type '" "std::vector< Neuron * >::value_type""'");
64322  }
64323  arg3 = reinterpret_cast< std::vector< Neuron * >::value_type >(argp3);
64324  (arg1)->assign(arg2,arg3);
64325  resultobj = SWIG_Py_Void();
64326  return resultobj;
64327 fail:
64328  return NULL;
64329 }
64330 
64331 
64332 SWIGINTERN PyObject *_wrap_vector_Neuron_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64333  PyObject *resultobj = 0;
64334  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
64335  std::vector< Neuron * >::size_type arg2 ;
64336  std::vector< Neuron * >::value_type arg3 = (std::vector< Neuron * >::value_type) 0 ;
64337  void *argp1 = 0 ;
64338  int res1 = 0 ;
64339  size_t val2 ;
64340  int ecode2 = 0 ;
64341  void *argp3 = 0 ;
64342  int res3 = 0 ;
64343  PyObject * obj0 = 0 ;
64344  PyObject * obj1 = 0 ;
64345  PyObject * obj2 = 0 ;
64346 
64347  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Neuron_resize",&obj0,&obj1,&obj2)) SWIG_fail;
64348  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
64349  if (!SWIG_IsOK(res1)) {
64350  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_resize" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
64351  }
64352  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
64353  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
64354  if (!SWIG_IsOK(ecode2)) {
64355  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Neuron_resize" "', argument " "2"" of type '" "std::vector< Neuron * >::size_type""'");
64356  }
64357  arg2 = static_cast< std::vector< Neuron * >::size_type >(val2);
64358  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Neuron, 0 | 0 );
64359  if (!SWIG_IsOK(res3)) {
64360  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_Neuron_resize" "', argument " "3"" of type '" "std::vector< Neuron * >::value_type""'");
64361  }
64362  arg3 = reinterpret_cast< std::vector< Neuron * >::value_type >(argp3);
64363  (arg1)->resize(arg2,arg3);
64364  resultobj = SWIG_Py_Void();
64365  return resultobj;
64366 fail:
64367  return NULL;
64368 }
64369 
64370 
64371 SWIGINTERN PyObject *_wrap_vector_Neuron_resize(PyObject *self, PyObject *args) {
64372  int argc;
64373  PyObject *argv[4];
64374  int ii;
64375 
64376  if (!PyTuple_Check(args)) SWIG_fail;
64377  argc = args ? (int)PyObject_Length(args) : 0;
64378  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
64379  argv[ii] = PyTuple_GET_ITEM(args,ii);
64380  }
64381  if (argc == 2) {
64382  int _v;
64383  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
64384  _v = SWIG_CheckState(res);
64385  if (_v) {
64386  {
64387  int res = SWIG_AsVal_size_t(argv[1], NULL);
64388  _v = SWIG_CheckState(res);
64389  }
64390  if (_v) {
64391  return _wrap_vector_Neuron_resize__SWIG_0(self, args);
64392  }
64393  }
64394  }
64395  if (argc == 3) {
64396  int _v;
64397  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
64398  _v = SWIG_CheckState(res);
64399  if (_v) {
64400  {
64401  int res = SWIG_AsVal_size_t(argv[1], NULL);
64402  _v = SWIG_CheckState(res);
64403  }
64404  if (_v) {
64405  void *vptr = 0;
64406  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Neuron, 0);
64407  _v = SWIG_CheckState(res);
64408  if (_v) {
64409  return _wrap_vector_Neuron_resize__SWIG_1(self, args);
64410  }
64411  }
64412  }
64413  }
64414 
64415 fail:
64416  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_Neuron_resize'.\n"
64417  " Possible C/C++ prototypes are:\n"
64418  " std::vector< Neuron * >::resize(std::vector< Neuron * >::size_type)\n"
64419  " std::vector< Neuron * >::resize(std::vector< Neuron * >::size_type,std::vector< Neuron * >::value_type)\n");
64420  return 0;
64421 }
64422 
64423 
64424 SWIGINTERN PyObject *_wrap_vector_Neuron_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64425  PyObject *resultobj = 0;
64426  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
64427  std::vector< Neuron * >::iterator arg2 ;
64428  std::vector< Neuron * >::value_type arg3 = (std::vector< Neuron * >::value_type) 0 ;
64429  void *argp1 = 0 ;
64430  int res1 = 0 ;
64431  swig::SwigPyIterator *iter2 = 0 ;
64432  int res2 ;
64433  void *argp3 = 0 ;
64434  int res3 = 0 ;
64435  PyObject * obj0 = 0 ;
64436  PyObject * obj1 = 0 ;
64437  PyObject * obj2 = 0 ;
64438  std::vector< Neuron * >::iterator result;
64439 
64440  if (!PyArg_ParseTuple(args,(char *)"OOO:vector_Neuron_insert",&obj0,&obj1,&obj2)) SWIG_fail;
64441  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
64442  if (!SWIG_IsOK(res1)) {
64443  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_insert" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
64444  }
64445  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
64446  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
64447  if (!SWIG_IsOK(res2) || !iter2) {
64448  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Neuron_insert" "', argument " "2"" of type '" "std::vector< Neuron * >::iterator""'");
64449  } else {
64451  if (iter_t) {
64452  arg2 = iter_t->get_current();
64453  } else {
64454  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Neuron_insert" "', argument " "2"" of type '" "std::vector< Neuron * >::iterator""'");
64455  }
64456  }
64457  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Neuron, 0 | 0 );
64458  if (!SWIG_IsOK(res3)) {
64459  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_Neuron_insert" "', argument " "3"" of type '" "std::vector< Neuron * >::value_type""'");
64460  }
64461  arg3 = reinterpret_cast< std::vector< Neuron * >::value_type >(argp3);
64462  result = std_vector_Sl_Neuron_Sm__Sg__insert__SWIG_0(arg1,arg2,arg3);
64463  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Neuron * >::iterator & >(result)),
64464  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
64465  return resultobj;
64466 fail:
64467  return NULL;
64468 }
64469 
64470 
64471 SWIGINTERN PyObject *_wrap_vector_Neuron_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64472  PyObject *resultobj = 0;
64473  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
64474  std::vector< Neuron * >::iterator arg2 ;
64475  std::vector< Neuron * >::size_type arg3 ;
64476  std::vector< Neuron * >::value_type arg4 = (std::vector< Neuron * >::value_type) 0 ;
64477  void *argp1 = 0 ;
64478  int res1 = 0 ;
64479  swig::SwigPyIterator *iter2 = 0 ;
64480  int res2 ;
64481  size_t val3 ;
64482  int ecode3 = 0 ;
64483  void *argp4 = 0 ;
64484  int res4 = 0 ;
64485  PyObject * obj0 = 0 ;
64486  PyObject * obj1 = 0 ;
64487  PyObject * obj2 = 0 ;
64488  PyObject * obj3 = 0 ;
64489 
64490  if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_Neuron_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
64491  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
64492  if (!SWIG_IsOK(res1)) {
64493  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_insert" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
64494  }
64495  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
64496  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
64497  if (!SWIG_IsOK(res2) || !iter2) {
64498  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Neuron_insert" "', argument " "2"" of type '" "std::vector< Neuron * >::iterator""'");
64499  } else {
64501  if (iter_t) {
64502  arg2 = iter_t->get_current();
64503  } else {
64504  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vector_Neuron_insert" "', argument " "2"" of type '" "std::vector< Neuron * >::iterator""'");
64505  }
64506  }
64507  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
64508  if (!SWIG_IsOK(ecode3)) {
64509  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_Neuron_insert" "', argument " "3"" of type '" "std::vector< Neuron * >::size_type""'");
64510  }
64511  arg3 = static_cast< std::vector< Neuron * >::size_type >(val3);
64512  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_Neuron, 0 | 0 );
64513  if (!SWIG_IsOK(res4)) {
64514  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_Neuron_insert" "', argument " "4"" of type '" "std::vector< Neuron * >::value_type""'");
64515  }
64516  arg4 = reinterpret_cast< std::vector< Neuron * >::value_type >(argp4);
64517  std_vector_Sl_Neuron_Sm__Sg__insert__SWIG_1(arg1,arg2,arg3,arg4);
64518  resultobj = SWIG_Py_Void();
64519  return resultobj;
64520 fail:
64521  return NULL;
64522 }
64523 
64524 
64525 SWIGINTERN PyObject *_wrap_vector_Neuron_insert(PyObject *self, PyObject *args) {
64526  int argc;
64527  PyObject *argv[5];
64528  int ii;
64529 
64530  if (!PyTuple_Check(args)) SWIG_fail;
64531  argc = args ? (int)PyObject_Length(args) : 0;
64532  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
64533  argv[ii] = PyTuple_GET_ITEM(args,ii);
64534  }
64535  if (argc == 3) {
64536  int _v;
64537  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
64538  _v = SWIG_CheckState(res);
64539  if (_v) {
64540  swig::SwigPyIterator *iter = 0;
64541  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
64542  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Neuron * >::iterator > *>(iter) != 0));
64543  if (_v) {
64544  void *vptr = 0;
64545  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Neuron, 0);
64546  _v = SWIG_CheckState(res);
64547  if (_v) {
64548  return _wrap_vector_Neuron_insert__SWIG_0(self, args);
64549  }
64550  }
64551  }
64552  }
64553  if (argc == 4) {
64554  int _v;
64555  int res = swig::asptr(argv[0], (std::vector<Neuron*,std::allocator< Neuron * > >**)(0));
64556  _v = SWIG_CheckState(res);
64557  if (_v) {
64558  swig::SwigPyIterator *iter = 0;
64559  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
64560  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Neuron * >::iterator > *>(iter) != 0));
64561  if (_v) {
64562  {
64563  int res = SWIG_AsVal_size_t(argv[2], NULL);
64564  _v = SWIG_CheckState(res);
64565  }
64566  if (_v) {
64567  void *vptr = 0;
64568  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_Neuron, 0);
64569  _v = SWIG_CheckState(res);
64570  if (_v) {
64571  return _wrap_vector_Neuron_insert__SWIG_1(self, args);
64572  }
64573  }
64574  }
64575  }
64576  }
64577 
64578 fail:
64579  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_Neuron_insert'.\n"
64580  " Possible C/C++ prototypes are:\n"
64581  " std::vector< Neuron * >::insert(std::vector< Neuron * >::iterator,std::vector< Neuron * >::value_type)\n"
64582  " std::vector< Neuron * >::insert(std::vector< Neuron * >::iterator,std::vector< Neuron * >::size_type,std::vector< Neuron * >::value_type)\n");
64583  return 0;
64584 }
64585 
64586 
64587 SWIGINTERN PyObject *_wrap_vector_Neuron_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64588  PyObject *resultobj = 0;
64589  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
64590  std::vector< Neuron * >::size_type arg2 ;
64591  void *argp1 = 0 ;
64592  int res1 = 0 ;
64593  size_t val2 ;
64594  int ecode2 = 0 ;
64595  PyObject * obj0 = 0 ;
64596  PyObject * obj1 = 0 ;
64597 
64598  if (!PyArg_ParseTuple(args,(char *)"OO:vector_Neuron_reserve",&obj0,&obj1)) SWIG_fail;
64599  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
64600  if (!SWIG_IsOK(res1)) {
64601  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_reserve" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
64602  }
64603  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
64604  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
64605  if (!SWIG_IsOK(ecode2)) {
64606  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_Neuron_reserve" "', argument " "2"" of type '" "std::vector< Neuron * >::size_type""'");
64607  }
64608  arg2 = static_cast< std::vector< Neuron * >::size_type >(val2);
64609  (arg1)->reserve(arg2);
64610  resultobj = SWIG_Py_Void();
64611  return resultobj;
64612 fail:
64613  return NULL;
64614 }
64615 
64616 
64617 SWIGINTERN PyObject *_wrap_vector_Neuron_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64618  PyObject *resultobj = 0;
64619  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
64620  void *argp1 = 0 ;
64621  int res1 = 0 ;
64622  PyObject * obj0 = 0 ;
64623  std::vector< Neuron * >::size_type result;
64624 
64625  if (!PyArg_ParseTuple(args,(char *)"O:vector_Neuron_capacity",&obj0)) SWIG_fail;
64626  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0 | 0 );
64627  if (!SWIG_IsOK(res1)) {
64628  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_Neuron_capacity" "', argument " "1"" of type '" "std::vector< Neuron * > const *""'");
64629  }
64630  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
64631  result = ((std::vector< Neuron * > const *)arg1)->capacity();
64632  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
64633  return resultobj;
64634 fail:
64635  return NULL;
64636 }
64637 
64638 
64639 SWIGINTERN PyObject *_wrap_delete_vector_Neuron(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64640  PyObject *resultobj = 0;
64641  std::vector< Neuron * > *arg1 = (std::vector< Neuron * > *) 0 ;
64642  void *argp1 = 0 ;
64643  int res1 = 0 ;
64644  PyObject * obj0 = 0 ;
64645 
64646  if (!PyArg_ParseTuple(args,(char *)"O:delete_vector_Neuron",&obj0)) SWIG_fail;
64647  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, SWIG_POINTER_DISOWN | 0 );
64648  if (!SWIG_IsOK(res1)) {
64649  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vector_Neuron" "', argument " "1"" of type '" "std::vector< Neuron * > *""'");
64650  }
64651  arg1 = reinterpret_cast< std::vector< Neuron * > * >(argp1);
64652  {
64653  try {
64654  delete arg1;
64655  }
64656  catch(CStdErrorInfo oError)
64657  {
64658  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
64659  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
64660  PyErr_SetString(PyExc_IndexError, strError.c_str());
64661  SWIG_fail;
64662  }
64663  catch(...)
64664  {
64665  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
64666  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
64667  SWIG_fail;
64668  }
64669  }
64670  resultobj = SWIG_Py_Void();
64671  return resultobj;
64672 fail:
64673  return NULL;
64674 }
64675 
64676 
64677 SWIGINTERN PyObject *vector_Neuron_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64678  PyObject *obj;
64679  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
64680  SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, SWIG_NewClientData(obj));
64681  return SWIG_Py_Void();
64682 }
64683 
64684 SWIGINTERN PyObject *_wrap_new_map_string_ActivatedItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64685  PyObject *resultobj = 0;
64686  std::less< std::string > *arg1 = 0 ;
64687  void *argp1 = 0 ;
64688  int res1 = 0 ;
64689  PyObject * obj0 = 0 ;
64690  std::map< std::string,ActivatedItem * > *result = 0 ;
64691 
64692  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_ActivatedItem",&obj0)) SWIG_fail;
64693  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__lessT_std__string_t, 0 | 0);
64694  if (!SWIG_IsOK(res1)) {
64695  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_ActivatedItem" "', argument " "1"" of type '" "std::less< std::string > const &""'");
64696  }
64697  if (!argp1) {
64698  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_ActivatedItem" "', argument " "1"" of type '" "std::less< std::string > const &""'");
64699  }
64700  arg1 = reinterpret_cast< std::less< std::string > * >(argp1);
64701  result = (std::map< std::string,ActivatedItem * > *)new std::map< std::string,ActivatedItem * >((std::less< std::string > const &)*arg1);
64702  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
64703  return resultobj;
64704 fail:
64705  return NULL;
64706 }
64707 
64708 
64709 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64710  PyObject *resultobj = 0;
64711  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
64712  PyObject **arg2 = (PyObject **) 0 ;
64713  void *argp1 = 0 ;
64714  int res1 = 0 ;
64715  PyObject * obj0 = 0 ;
64716  swig::SwigPyIterator *result = 0 ;
64717 
64718  arg2 = &obj0;
64719  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem_iterator",&obj0)) SWIG_fail;
64720  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
64721  if (!SWIG_IsOK(res1)) {
64722  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_iterator" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
64723  }
64724  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
64725  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__iterator(arg1,arg2);
64726  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
64727  return resultobj;
64728 fail:
64729  return NULL;
64730 }
64731 
64732 
64733 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64734  PyObject *resultobj = 0;
64735  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
64736  void *argp1 = 0 ;
64737  int res1 = 0 ;
64738  PyObject * obj0 = 0 ;
64739  bool result;
64740 
64741  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem___nonzero__",&obj0)) SWIG_fail;
64742  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
64743  if (!SWIG_IsOK(res1)) {
64744  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem___nonzero__" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > const *""'");
64745  }
64746  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
64747  result = (bool)std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____nonzero__((std::map< std::string,ActivatedItem * > const *)arg1);
64748  resultobj = SWIG_From_bool(static_cast< bool >(result));
64749  return resultobj;
64750 fail:
64751  return NULL;
64752 }
64753 
64754 
64755 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64756  PyObject *resultobj = 0;
64757  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
64758  void *argp1 = 0 ;
64759  int res1 = 0 ;
64760  PyObject * obj0 = 0 ;
64761  bool result;
64762 
64763  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem___bool__",&obj0)) SWIG_fail;
64764  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
64765  if (!SWIG_IsOK(res1)) {
64766  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem___bool__" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > const *""'");
64767  }
64768  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
64769  result = (bool)std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____bool__((std::map< std::string,ActivatedItem * > const *)arg1);
64770  resultobj = SWIG_From_bool(static_cast< bool >(result));
64771  return resultobj;
64772 fail:
64773  return NULL;
64774 }
64775 
64776 
64777 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64778  PyObject *resultobj = 0;
64779  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
64780  void *argp1 = 0 ;
64781  int res1 = 0 ;
64782  PyObject * obj0 = 0 ;
64783  std::map< std::string,ActivatedItem * >::size_type result;
64784 
64785  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem___len__",&obj0)) SWIG_fail;
64786  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
64787  if (!SWIG_IsOK(res1)) {
64788  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem___len__" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > const *""'");
64789  }
64790  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
64791  result = std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____len__((std::map< std::string,ActivatedItem * > const *)arg1);
64792  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
64793  return resultobj;
64794 fail:
64795  return NULL;
64796 }
64797 
64798 
64799 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64800  PyObject *resultobj = 0;
64801  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
64802  std::map< std::string,ActivatedItem * >::key_type *arg2 = 0 ;
64803  void *argp1 = 0 ;
64804  int res1 = 0 ;
64805  int res2 = SWIG_OLDOBJ ;
64806  PyObject * obj0 = 0 ;
64807  PyObject * obj1 = 0 ;
64808  std::map< std::string,ActivatedItem * >::mapped_type *result = 0 ;
64809 
64810  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_ActivatedItem___getitem__",&obj0,&obj1)) SWIG_fail;
64811  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
64812  if (!SWIG_IsOK(res1)) {
64813  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem___getitem__" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
64814  }
64815  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
64816  {
64817  std::string *ptr = (std::string *)0;
64818  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
64819  if (!SWIG_IsOK(res2)) {
64820  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_ActivatedItem___getitem__" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
64821  }
64822  if (!ptr) {
64823  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_ActivatedItem___getitem__" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
64824  }
64825  arg2 = ptr;
64826  }
64827  try {
64828  result = (std::map< std::string,ActivatedItem * >::mapped_type *) &std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____getitem__(arg1,(std::string const &)*arg2);
64829  }
64830  catch(std::out_of_range &_e) {
64831  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
64832  }
64833 
64834  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(*result), SWIGTYPE_p_ActivatedItem, 0 | 0 );
64835  if (SWIG_IsNewObj(res2)) delete arg2;
64836  return resultobj;
64837 fail:
64838  if (SWIG_IsNewObj(res2)) delete arg2;
64839  return NULL;
64840 }
64841 
64842 
64843 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64844  PyObject *resultobj = 0;
64845  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
64846  std::map< std::string,ActivatedItem * >::key_type *arg2 = 0 ;
64847  void *argp1 = 0 ;
64848  int res1 = 0 ;
64849  int res2 = SWIG_OLDOBJ ;
64850  PyObject * obj0 = 0 ;
64851  PyObject * obj1 = 0 ;
64852 
64853  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_ActivatedItem___delitem__",&obj0,&obj1)) SWIG_fail;
64854  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
64855  if (!SWIG_IsOK(res1)) {
64856  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem___delitem__" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
64857  }
64858  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
64859  {
64860  std::string *ptr = (std::string *)0;
64861  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
64862  if (!SWIG_IsOK(res2)) {
64863  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_ActivatedItem___delitem__" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
64864  }
64865  if (!ptr) {
64866  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_ActivatedItem___delitem__" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
64867  }
64868  arg2 = ptr;
64869  }
64870  try {
64871  std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____delitem__(arg1,(std::string const &)*arg2);
64872  }
64873  catch(std::out_of_range &_e) {
64874  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
64875  }
64876 
64877  resultobj = SWIG_Py_Void();
64878  if (SWIG_IsNewObj(res2)) delete arg2;
64879  return resultobj;
64880 fail:
64881  if (SWIG_IsNewObj(res2)) delete arg2;
64882  return NULL;
64883 }
64884 
64885 
64886 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_has_key(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64887  PyObject *resultobj = 0;
64888  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
64889  std::map< std::string,ActivatedItem * >::key_type *arg2 = 0 ;
64890  void *argp1 = 0 ;
64891  int res1 = 0 ;
64892  int res2 = SWIG_OLDOBJ ;
64893  PyObject * obj0 = 0 ;
64894  PyObject * obj1 = 0 ;
64895  bool result;
64896 
64897  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_ActivatedItem_has_key",&obj0,&obj1)) SWIG_fail;
64898  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
64899  if (!SWIG_IsOK(res1)) {
64900  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_has_key" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > const *""'");
64901  }
64902  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
64903  {
64904  std::string *ptr = (std::string *)0;
64905  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
64906  if (!SWIG_IsOK(res2)) {
64907  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_ActivatedItem_has_key" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
64908  }
64909  if (!ptr) {
64910  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_ActivatedItem_has_key" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
64911  }
64912  arg2 = ptr;
64913  }
64914  result = (bool)std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__has_key((std::map< std::string,ActivatedItem * > const *)arg1,(std::string const &)*arg2);
64915  resultobj = SWIG_From_bool(static_cast< bool >(result));
64916  if (SWIG_IsNewObj(res2)) delete arg2;
64917  return resultobj;
64918 fail:
64919  if (SWIG_IsNewObj(res2)) delete arg2;
64920  return NULL;
64921 }
64922 
64923 
64924 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_keys(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64925  PyObject *resultobj = 0;
64926  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
64927  void *argp1 = 0 ;
64928  int res1 = 0 ;
64929  PyObject * obj0 = 0 ;
64930  PyObject *result = 0 ;
64931 
64932  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem_keys",&obj0)) SWIG_fail;
64933  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
64934  if (!SWIG_IsOK(res1)) {
64935  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_keys" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
64936  }
64937  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
64938  result = (PyObject *)std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__keys(arg1);
64939  resultobj = result;
64940  return resultobj;
64941 fail:
64942  return NULL;
64943 }
64944 
64945 
64946 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_values(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64947  PyObject *resultobj = 0;
64948  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
64949  void *argp1 = 0 ;
64950  int res1 = 0 ;
64951  PyObject * obj0 = 0 ;
64952  PyObject *result = 0 ;
64953 
64954  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem_values",&obj0)) SWIG_fail;
64955  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
64956  if (!SWIG_IsOK(res1)) {
64957  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_values" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
64958  }
64959  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
64960  result = (PyObject *)std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__values(arg1);
64961  resultobj = result;
64962  return resultobj;
64963 fail:
64964  return NULL;
64965 }
64966 
64967 
64968 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_items(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64969  PyObject *resultobj = 0;
64970  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
64971  void *argp1 = 0 ;
64972  int res1 = 0 ;
64973  PyObject * obj0 = 0 ;
64974  PyObject *result = 0 ;
64975 
64976  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem_items",&obj0)) SWIG_fail;
64977  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
64978  if (!SWIG_IsOK(res1)) {
64979  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_items" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
64980  }
64981  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
64982  result = (PyObject *)std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__items(arg1);
64983  resultobj = result;
64984  return resultobj;
64985 fail:
64986  return NULL;
64987 }
64988 
64989 
64990 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
64991  PyObject *resultobj = 0;
64992  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
64993  std::map< std::string,ActivatedItem * >::key_type *arg2 = 0 ;
64994  void *argp1 = 0 ;
64995  int res1 = 0 ;
64996  int res2 = SWIG_OLDOBJ ;
64997  PyObject * obj0 = 0 ;
64998  PyObject * obj1 = 0 ;
64999  bool result;
65000 
65001  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_ActivatedItem___contains__",&obj0,&obj1)) SWIG_fail;
65002  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65003  if (!SWIG_IsOK(res1)) {
65004  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem___contains__" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65005  }
65006  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65007  {
65008  std::string *ptr = (std::string *)0;
65009  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
65010  if (!SWIG_IsOK(res2)) {
65011  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_ActivatedItem___contains__" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65012  }
65013  if (!ptr) {
65014  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_ActivatedItem___contains__" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65015  }
65016  arg2 = ptr;
65017  }
65018  result = (bool)std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____contains__(arg1,(std::string const &)*arg2);
65019  resultobj = SWIG_From_bool(static_cast< bool >(result));
65020  if (SWIG_IsNewObj(res2)) delete arg2;
65021  return resultobj;
65022 fail:
65023  if (SWIG_IsNewObj(res2)) delete arg2;
65024  return NULL;
65025 }
65026 
65027 
65028 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_key_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65029  PyObject *resultobj = 0;
65030  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65031  PyObject **arg2 = (PyObject **) 0 ;
65032  void *argp1 = 0 ;
65033  int res1 = 0 ;
65034  PyObject * obj0 = 0 ;
65035  swig::SwigPyIterator *result = 0 ;
65036 
65037  arg2 = &obj0;
65038  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem_key_iterator",&obj0)) SWIG_fail;
65039  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65040  if (!SWIG_IsOK(res1)) {
65041  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_key_iterator" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65042  }
65043  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65044  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__key_iterator(arg1,arg2);
65045  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
65046  return resultobj;
65047 fail:
65048  return NULL;
65049 }
65050 
65051 
65052 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_value_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65053  PyObject *resultobj = 0;
65054  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65055  PyObject **arg2 = (PyObject **) 0 ;
65056  void *argp1 = 0 ;
65057  int res1 = 0 ;
65058  PyObject * obj0 = 0 ;
65059  swig::SwigPyIterator *result = 0 ;
65060 
65061  arg2 = &obj0;
65062  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem_value_iterator",&obj0)) SWIG_fail;
65063  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65064  if (!SWIG_IsOK(res1)) {
65065  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_value_iterator" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65066  }
65067  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65068  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__value_iterator(arg1,arg2);
65069  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
65070  return resultobj;
65071 fail:
65072  return NULL;
65073 }
65074 
65075 
65076 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65077  PyObject *resultobj = 0;
65078  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65079  std::map< std::string,ActivatedItem * >::key_type *arg2 = 0 ;
65080  void *argp1 = 0 ;
65081  int res1 = 0 ;
65082  int res2 = SWIG_OLDOBJ ;
65083  PyObject * obj0 = 0 ;
65084  PyObject * obj1 = 0 ;
65085 
65086  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_ActivatedItem___setitem__",&obj0,&obj1)) SWIG_fail;
65087  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65088  if (!SWIG_IsOK(res1)) {
65089  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem___setitem__" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65090  }
65091  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65092  {
65093  std::string *ptr = (std::string *)0;
65094  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
65095  if (!SWIG_IsOK(res2)) {
65096  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_ActivatedItem___setitem__" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65097  }
65098  if (!ptr) {
65099  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_ActivatedItem___setitem__" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65100  }
65101  arg2 = ptr;
65102  }
65103  std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____setitem____SWIG_0(arg1,(std::string const &)*arg2);
65104  resultobj = SWIG_Py_Void();
65105  if (SWIG_IsNewObj(res2)) delete arg2;
65106  return resultobj;
65107 fail:
65108  if (SWIG_IsNewObj(res2)) delete arg2;
65109  return NULL;
65110 }
65111 
65112 
65113 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65114  PyObject *resultobj = 0;
65115  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65116  std::map< std::string,ActivatedItem * >::key_type *arg2 = 0 ;
65117  std::map< std::string,ActivatedItem * >::mapped_type *arg3 = 0 ;
65118  void *argp1 = 0 ;
65119  int res1 = 0 ;
65120  int res2 = SWIG_OLDOBJ ;
65121  void *argp3 = 0 ;
65122  int res3 = 0 ;
65123  std::map< std::string,ActivatedItem * >::mapped_type temp3 ;
65124  PyObject * obj0 = 0 ;
65125  PyObject * obj1 = 0 ;
65126  PyObject * obj2 = 0 ;
65127 
65128  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_ActivatedItem___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
65129  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65130  if (!SWIG_IsOK(res1)) {
65131  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem___setitem__" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65132  }
65133  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65134  {
65135  std::string *ptr = (std::string *)0;
65136  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
65137  if (!SWIG_IsOK(res2)) {
65138  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_ActivatedItem___setitem__" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65139  }
65140  if (!ptr) {
65141  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_ActivatedItem___setitem__" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65142  }
65143  arg2 = ptr;
65144  }
65145  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_ActivatedItem, 0 | 0 );
65146  if (!SWIG_IsOK(res3)) {
65147  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "map_string_ActivatedItem___setitem__" "', argument " "3"" of type '" "std::map< std::string,ActivatedItem * >::mapped_type""'");
65148  }
65149  temp3 = reinterpret_cast< std::map< std::string,ActivatedItem * >::mapped_type >(argp3);
65150  arg3 = reinterpret_cast< std::map< std::string,ActivatedItem * >::mapped_type * >(&temp3);
65151  try {
65152  std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg____setitem____SWIG_1(arg1,(std::string const &)*arg2,(ActivatedItem *const &)*arg3);
65153  }
65154  catch(std::out_of_range &_e) {
65155  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
65156  }
65157 
65158  resultobj = SWIG_Py_Void();
65159  if (SWIG_IsNewObj(res2)) delete arg2;
65160  return resultobj;
65161 fail:
65162  if (SWIG_IsNewObj(res2)) delete arg2;
65163  return NULL;
65164 }
65165 
65166 
65167 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem___setitem__(PyObject *self, PyObject *args) {
65168  int argc;
65169  PyObject *argv[4];
65170  int ii;
65171 
65172  if (!PyTuple_Check(args)) SWIG_fail;
65173  argc = args ? (int)PyObject_Length(args) : 0;
65174  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
65175  argv[ii] = PyTuple_GET_ITEM(args,ii);
65176  }
65177  if (argc == 2) {
65178  int _v;
65179  int res = swig::asptr(argv[0], (std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >**)(0));
65180  _v = SWIG_CheckState(res);
65181  if (_v) {
65182  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
65183  _v = SWIG_CheckState(res);
65184  if (_v) {
65185  return _wrap_map_string_ActivatedItem___setitem____SWIG_0(self, args);
65186  }
65187  }
65188  }
65189  if (argc == 3) {
65190  int _v;
65191  int res = swig::asptr(argv[0], (std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >**)(0));
65192  _v = SWIG_CheckState(res);
65193  if (_v) {
65194  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
65195  _v = SWIG_CheckState(res);
65196  if (_v) {
65197  void *vptr = 0;
65198  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ActivatedItem, 0);
65199  _v = SWIG_CheckState(res);
65200  if (_v) {
65201  return _wrap_map_string_ActivatedItem___setitem____SWIG_1(self, args);
65202  }
65203  }
65204  }
65205  }
65206 
65207 fail:
65208  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_ActivatedItem___setitem__'.\n"
65209  " Possible C/C++ prototypes are:\n"
65210  " std::map< std::string,ActivatedItem * >::__setitem__(std::map< std::string,ActivatedItem * >::key_type const &)\n"
65211  " std::map< std::string,ActivatedItem * >::__setitem__(std::map< std::string,ActivatedItem * >::key_type const &,std::map< std::string,ActivatedItem * >::mapped_type const &)\n");
65212  return 0;
65213 }
65214 
65215 
65216 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_asdict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65217  PyObject *resultobj = 0;
65218  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65219  void *argp1 = 0 ;
65220  int res1 = 0 ;
65221  PyObject * obj0 = 0 ;
65222  PyObject *result = 0 ;
65223 
65224  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem_asdict",&obj0)) SWIG_fail;
65225  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65226  if (!SWIG_IsOK(res1)) {
65227  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_asdict" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65228  }
65229  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65230  result = (PyObject *)std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__asdict(arg1);
65231  resultobj = result;
65232  return resultobj;
65233 fail:
65234  return NULL;
65235 }
65236 
65237 
65238 SWIGINTERN PyObject *_wrap_new_map_string_ActivatedItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65239  PyObject *resultobj = 0;
65240  std::map< std::string,ActivatedItem * > *result = 0 ;
65241 
65242  if (!PyArg_ParseTuple(args,(char *)":new_map_string_ActivatedItem")) SWIG_fail;
65243  result = (std::map< std::string,ActivatedItem * > *)new std::map< std::string,ActivatedItem * >();
65244  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
65245  return resultobj;
65246 fail:
65247  return NULL;
65248 }
65249 
65250 
65251 SWIGINTERN PyObject *_wrap_new_map_string_ActivatedItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65252  PyObject *resultobj = 0;
65253  std::map< std::string,ActivatedItem * > *arg1 = 0 ;
65254  int res1 = SWIG_OLDOBJ ;
65255  PyObject * obj0 = 0 ;
65256  std::map< std::string,ActivatedItem * > *result = 0 ;
65257 
65258  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_ActivatedItem",&obj0)) SWIG_fail;
65259  {
65260  std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > > *ptr = (std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > > *)0;
65261  res1 = swig::asptr(obj0, &ptr);
65262  if (!SWIG_IsOK(res1)) {
65263  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_ActivatedItem" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > const &""'");
65264  }
65265  if (!ptr) {
65266  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_ActivatedItem" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > const &""'");
65267  }
65268  arg1 = ptr;
65269  }
65270  result = (std::map< std::string,ActivatedItem * > *)new std::map< std::string,ActivatedItem * >((std::map< std::string,ActivatedItem * > const &)*arg1);
65271  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
65272  if (SWIG_IsNewObj(res1)) delete arg1;
65273  return resultobj;
65274 fail:
65275  if (SWIG_IsNewObj(res1)) delete arg1;
65276  return NULL;
65277 }
65278 
65279 
65280 SWIGINTERN PyObject *_wrap_new_map_string_ActivatedItem(PyObject *self, PyObject *args) {
65281  int argc;
65282  PyObject *argv[2];
65283  int ii;
65284 
65285  if (!PyTuple_Check(args)) SWIG_fail;
65286  argc = args ? (int)PyObject_Length(args) : 0;
65287  for (ii = 0; (ii < 1) && (ii < argc); ii++) {
65288  argv[ii] = PyTuple_GET_ITEM(args,ii);
65289  }
65290  if (argc == 0) {
65291  return _wrap_new_map_string_ActivatedItem__SWIG_1(self, args);
65292  }
65293  if (argc == 1) {
65294  int _v;
65295  int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__lessT_std__string_t, 0);
65296  _v = SWIG_CheckState(res);
65297  if (_v) {
65298  return _wrap_new_map_string_ActivatedItem__SWIG_0(self, args);
65299  }
65300  }
65301  if (argc == 1) {
65302  int _v;
65303  int res = swig::asptr(argv[0], (std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >**)(0));
65304  _v = SWIG_CheckState(res);
65305  if (_v) {
65306  return _wrap_new_map_string_ActivatedItem__SWIG_2(self, args);
65307  }
65308  }
65309 
65310 fail:
65311  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_map_string_ActivatedItem'.\n"
65312  " Possible C/C++ prototypes are:\n"
65313  " std::map< std::string,ActivatedItem * >::map(std::less< std::string > const &)\n"
65314  " std::map< std::string,ActivatedItem * >::map()\n"
65315  " std::map< std::string,ActivatedItem * >::map(std::map< std::string,ActivatedItem * > const &)\n");
65316  return 0;
65317 }
65318 
65319 
65320 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65321  PyObject *resultobj = 0;
65322  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65323  void *argp1 = 0 ;
65324  int res1 = 0 ;
65325  PyObject * obj0 = 0 ;
65326  bool result;
65327 
65328  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem_empty",&obj0)) SWIG_fail;
65329  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65330  if (!SWIG_IsOK(res1)) {
65331  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_empty" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > const *""'");
65332  }
65333  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65334  result = (bool)((std::map< std::string,ActivatedItem * > const *)arg1)->empty();
65335  resultobj = SWIG_From_bool(static_cast< bool >(result));
65336  return resultobj;
65337 fail:
65338  return NULL;
65339 }
65340 
65341 
65342 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65343  PyObject *resultobj = 0;
65344  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65345  void *argp1 = 0 ;
65346  int res1 = 0 ;
65347  PyObject * obj0 = 0 ;
65348  std::map< std::string,ActivatedItem * >::size_type result;
65349 
65350  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem_size",&obj0)) SWIG_fail;
65351  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65352  if (!SWIG_IsOK(res1)) {
65353  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_size" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > const *""'");
65354  }
65355  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65356  result = ((std::map< std::string,ActivatedItem * > const *)arg1)->size();
65357  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
65358  return resultobj;
65359 fail:
65360  return NULL;
65361 }
65362 
65363 
65364 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65365  PyObject *resultobj = 0;
65366  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65367  void *argp1 = 0 ;
65368  int res1 = 0 ;
65369  PyObject * obj0 = 0 ;
65370 
65371  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem_clear",&obj0)) SWIG_fail;
65372  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65373  if (!SWIG_IsOK(res1)) {
65374  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_clear" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65375  }
65376  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65377  (arg1)->clear();
65378  resultobj = SWIG_Py_Void();
65379  return resultobj;
65380 fail:
65381  return NULL;
65382 }
65383 
65384 
65385 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65386  PyObject *resultobj = 0;
65387  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65388  std::map< std::string,ActivatedItem * > *arg2 = 0 ;
65389  void *argp1 = 0 ;
65390  int res1 = 0 ;
65391  void *argp2 = 0 ;
65392  int res2 = 0 ;
65393  PyObject * obj0 = 0 ;
65394  PyObject * obj1 = 0 ;
65395 
65396  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_ActivatedItem_swap",&obj0,&obj1)) SWIG_fail;
65397  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65398  if (!SWIG_IsOK(res1)) {
65399  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_swap" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65400  }
65401  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65402  res2 = SWIG_ConvertPtr(obj1, &argp2, 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, 0 );
65403  if (!SWIG_IsOK(res2)) {
65404  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_ActivatedItem_swap" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * > &""'");
65405  }
65406  if (!argp2) {
65407  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_ActivatedItem_swap" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * > &""'");
65408  }
65409  arg2 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp2);
65410  (arg1)->swap(*arg2);
65411  resultobj = SWIG_Py_Void();
65412  return resultobj;
65413 fail:
65414  return NULL;
65415 }
65416 
65417 
65418 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65419  PyObject *resultobj = 0;
65420  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65421  void *argp1 = 0 ;
65422  int res1 = 0 ;
65423  PyObject * obj0 = 0 ;
65424  SwigValueWrapper< std::allocator< std::pair< std::string const,ActivatedItem * > > > result;
65425 
65426  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem_get_allocator",&obj0)) SWIG_fail;
65427  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65428  if (!SWIG_IsOK(res1)) {
65429  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_get_allocator" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > const *""'");
65430  }
65431  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65432  result = ((std::map< std::string,ActivatedItem * > const *)arg1)->get_allocator();
65433  resultobj = SWIG_NewPointerObj((new std::map< std::string,ActivatedItem * >::allocator_type(static_cast< const std::map< std::string,ActivatedItem * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t, SWIG_POINTER_OWN | 0 );
65434  return resultobj;
65435 fail:
65436  return NULL;
65437 }
65438 
65439 
65440 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65441  PyObject *resultobj = 0;
65442  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65443  void *argp1 = 0 ;
65444  int res1 = 0 ;
65445  PyObject * obj0 = 0 ;
65446  std::map< std::string,ActivatedItem * >::iterator result;
65447 
65448  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem_begin",&obj0)) SWIG_fail;
65449  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65450  if (!SWIG_IsOK(res1)) {
65451  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_begin" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65452  }
65453  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65454  result = (arg1)->begin();
65455  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,ActivatedItem * >::iterator & >(result)),
65456  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
65457  return resultobj;
65458 fail:
65459  return NULL;
65460 }
65461 
65462 
65463 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65464  PyObject *resultobj = 0;
65465  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65466  void *argp1 = 0 ;
65467  int res1 = 0 ;
65468  PyObject * obj0 = 0 ;
65469  std::map< std::string,ActivatedItem * >::iterator result;
65470 
65471  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem_end",&obj0)) SWIG_fail;
65472  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65473  if (!SWIG_IsOK(res1)) {
65474  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_end" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65475  }
65476  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65477  result = (arg1)->end();
65478  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,ActivatedItem * >::iterator & >(result)),
65479  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
65480  return resultobj;
65481 fail:
65482  return NULL;
65483 }
65484 
65485 
65486 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65487  PyObject *resultobj = 0;
65488  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65489  void *argp1 = 0 ;
65490  int res1 = 0 ;
65491  PyObject * obj0 = 0 ;
65492  std::map< std::string,ActivatedItem * >::reverse_iterator result;
65493 
65494  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem_rbegin",&obj0)) SWIG_fail;
65495  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65496  if (!SWIG_IsOK(res1)) {
65497  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_rbegin" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65498  }
65499  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65500  result = (arg1)->rbegin();
65501  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,ActivatedItem * >::reverse_iterator & >(result)),
65502  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
65503  return resultobj;
65504 fail:
65505  return NULL;
65506 }
65507 
65508 
65509 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65510  PyObject *resultobj = 0;
65511  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65512  void *argp1 = 0 ;
65513  int res1 = 0 ;
65514  PyObject * obj0 = 0 ;
65515  std::map< std::string,ActivatedItem * >::reverse_iterator result;
65516 
65517  if (!PyArg_ParseTuple(args,(char *)"O:map_string_ActivatedItem_rend",&obj0)) SWIG_fail;
65518  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65519  if (!SWIG_IsOK(res1)) {
65520  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_rend" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65521  }
65522  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65523  result = (arg1)->rend();
65524  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,ActivatedItem * >::reverse_iterator & >(result)),
65525  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
65526  return resultobj;
65527 fail:
65528  return NULL;
65529 }
65530 
65531 
65532 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65533  PyObject *resultobj = 0;
65534  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65535  std::map< std::string,ActivatedItem * >::key_type *arg2 = 0 ;
65536  void *argp1 = 0 ;
65537  int res1 = 0 ;
65538  int res2 = SWIG_OLDOBJ ;
65539  PyObject * obj0 = 0 ;
65540  PyObject * obj1 = 0 ;
65541  std::map< std::string,ActivatedItem * >::size_type result;
65542 
65543  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_ActivatedItem_erase",&obj0,&obj1)) SWIG_fail;
65544  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65545  if (!SWIG_IsOK(res1)) {
65546  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_erase" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65547  }
65548  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65549  {
65550  std::string *ptr = (std::string *)0;
65551  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
65552  if (!SWIG_IsOK(res2)) {
65553  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_ActivatedItem_erase" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65554  }
65555  if (!ptr) {
65556  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_ActivatedItem_erase" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65557  }
65558  arg2 = ptr;
65559  }
65560  result = (arg1)->erase((std::map< std::string,ActivatedItem * >::key_type const &)*arg2);
65561  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
65562  if (SWIG_IsNewObj(res2)) delete arg2;
65563  return resultobj;
65564 fail:
65565  if (SWIG_IsNewObj(res2)) delete arg2;
65566  return NULL;
65567 }
65568 
65569 
65570 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65571  PyObject *resultobj = 0;
65572  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65573  std::map< std::string,ActivatedItem * >::key_type *arg2 = 0 ;
65574  void *argp1 = 0 ;
65575  int res1 = 0 ;
65576  int res2 = SWIG_OLDOBJ ;
65577  PyObject * obj0 = 0 ;
65578  PyObject * obj1 = 0 ;
65579  std::map< std::string,ActivatedItem * >::size_type result;
65580 
65581  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_ActivatedItem_count",&obj0,&obj1)) SWIG_fail;
65582  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65583  if (!SWIG_IsOK(res1)) {
65584  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_count" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > const *""'");
65585  }
65586  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65587  {
65588  std::string *ptr = (std::string *)0;
65589  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
65590  if (!SWIG_IsOK(res2)) {
65591  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_ActivatedItem_count" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65592  }
65593  if (!ptr) {
65594  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_ActivatedItem_count" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65595  }
65596  arg2 = ptr;
65597  }
65598  result = ((std::map< std::string,ActivatedItem * > const *)arg1)->count((std::map< std::string,ActivatedItem * >::key_type const &)*arg2);
65599  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
65600  if (SWIG_IsNewObj(res2)) delete arg2;
65601  return resultobj;
65602 fail:
65603  if (SWIG_IsNewObj(res2)) delete arg2;
65604  return NULL;
65605 }
65606 
65607 
65608 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65609  PyObject *resultobj = 0;
65610  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65611  std::map< std::string,ActivatedItem * >::iterator arg2 ;
65612  void *argp1 = 0 ;
65613  int res1 = 0 ;
65614  swig::SwigPyIterator *iter2 = 0 ;
65615  int res2 ;
65616  PyObject * obj0 = 0 ;
65617  PyObject * obj1 = 0 ;
65618 
65619  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_ActivatedItem_erase",&obj0,&obj1)) SWIG_fail;
65620  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65621  if (!SWIG_IsOK(res1)) {
65622  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_erase" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65623  }
65624  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65625  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
65626  if (!SWIG_IsOK(res2) || !iter2) {
65627  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_ActivatedItem_erase" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::iterator""'");
65628  } else {
65630  if (iter_t) {
65631  arg2 = iter_t->get_current();
65632  } else {
65633  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_ActivatedItem_erase" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::iterator""'");
65634  }
65635  }
65636  std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__erase__SWIG_1(arg1,arg2);
65637  resultobj = SWIG_Py_Void();
65638  return resultobj;
65639 fail:
65640  return NULL;
65641 }
65642 
65643 
65644 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_erase__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65645  PyObject *resultobj = 0;
65646  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65647  std::map< std::string,ActivatedItem * >::iterator arg2 ;
65648  std::map< std::string,ActivatedItem * >::iterator arg3 ;
65649  void *argp1 = 0 ;
65650  int res1 = 0 ;
65651  swig::SwigPyIterator *iter2 = 0 ;
65652  int res2 ;
65653  swig::SwigPyIterator *iter3 = 0 ;
65654  int res3 ;
65655  PyObject * obj0 = 0 ;
65656  PyObject * obj1 = 0 ;
65657  PyObject * obj2 = 0 ;
65658 
65659  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_ActivatedItem_erase",&obj0,&obj1,&obj2)) SWIG_fail;
65660  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65661  if (!SWIG_IsOK(res1)) {
65662  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_erase" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65663  }
65664  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65665  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
65666  if (!SWIG_IsOK(res2) || !iter2) {
65667  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_ActivatedItem_erase" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::iterator""'");
65668  } else {
65670  if (iter_t) {
65671  arg2 = iter_t->get_current();
65672  } else {
65673  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_ActivatedItem_erase" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::iterator""'");
65674  }
65675  }
65676  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
65677  if (!SWIG_IsOK(res3) || !iter3) {
65678  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_ActivatedItem_erase" "', argument " "3"" of type '" "std::map< std::string,ActivatedItem * >::iterator""'");
65679  } else {
65681  if (iter_t) {
65682  arg3 = iter_t->get_current();
65683  } else {
65684  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_ActivatedItem_erase" "', argument " "3"" of type '" "std::map< std::string,ActivatedItem * >::iterator""'");
65685  }
65686  }
65687  std_map_Sl_std_string_Sc_ActivatedItem_Sm__Sg__erase__SWIG_2(arg1,arg2,arg3);
65688  resultobj = SWIG_Py_Void();
65689  return resultobj;
65690 fail:
65691  return NULL;
65692 }
65693 
65694 
65695 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_erase(PyObject *self, PyObject *args) {
65696  int argc;
65697  PyObject *argv[4];
65698  int ii;
65699 
65700  if (!PyTuple_Check(args)) SWIG_fail;
65701  argc = args ? (int)PyObject_Length(args) : 0;
65702  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
65703  argv[ii] = PyTuple_GET_ITEM(args,ii);
65704  }
65705  if (argc == 2) {
65706  int _v;
65707  int res = swig::asptr(argv[0], (std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >**)(0));
65708  _v = SWIG_CheckState(res);
65709  if (_v) {
65710  swig::SwigPyIterator *iter = 0;
65711  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
65712  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,ActivatedItem * >::iterator > *>(iter) != 0));
65713  if (_v) {
65714  return _wrap_map_string_ActivatedItem_erase__SWIG_1(self, args);
65715  }
65716  }
65717  }
65718  if (argc == 2) {
65719  int _v;
65720  int res = swig::asptr(argv[0], (std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >**)(0));
65721  _v = SWIG_CheckState(res);
65722  if (_v) {
65723  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
65724  _v = SWIG_CheckState(res);
65725  if (_v) {
65726  return _wrap_map_string_ActivatedItem_erase__SWIG_0(self, args);
65727  }
65728  }
65729  }
65730  if (argc == 3) {
65731  int _v;
65732  int res = swig::asptr(argv[0], (std::map<std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >**)(0));
65733  _v = SWIG_CheckState(res);
65734  if (_v) {
65735  swig::SwigPyIterator *iter = 0;
65736  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
65737  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,ActivatedItem * >::iterator > *>(iter) != 0));
65738  if (_v) {
65739  swig::SwigPyIterator *iter = 0;
65740  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
65741  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,ActivatedItem * >::iterator > *>(iter) != 0));
65742  if (_v) {
65743  return _wrap_map_string_ActivatedItem_erase__SWIG_2(self, args);
65744  }
65745  }
65746  }
65747  }
65748 
65749 fail:
65750  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_ActivatedItem_erase'.\n"
65751  " Possible C/C++ prototypes are:\n"
65752  " std::map< std::string,ActivatedItem * >::erase(std::map< std::string,ActivatedItem * >::key_type const &)\n"
65753  " std::map< std::string,ActivatedItem * >::erase(std::map< std::string,ActivatedItem * >::iterator)\n"
65754  " std::map< std::string,ActivatedItem * >::erase(std::map< std::string,ActivatedItem * >::iterator,std::map< std::string,ActivatedItem * >::iterator)\n");
65755  return 0;
65756 }
65757 
65758 
65759 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65760  PyObject *resultobj = 0;
65761  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65762  std::map< std::string,ActivatedItem * >::key_type *arg2 = 0 ;
65763  void *argp1 = 0 ;
65764  int res1 = 0 ;
65765  int res2 = SWIG_OLDOBJ ;
65766  PyObject * obj0 = 0 ;
65767  PyObject * obj1 = 0 ;
65768  std::map< std::string,ActivatedItem * >::iterator result;
65769 
65770  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_ActivatedItem_find",&obj0,&obj1)) SWIG_fail;
65771  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65772  if (!SWIG_IsOK(res1)) {
65773  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_find" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65774  }
65775  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65776  {
65777  std::string *ptr = (std::string *)0;
65778  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
65779  if (!SWIG_IsOK(res2)) {
65780  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_ActivatedItem_find" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65781  }
65782  if (!ptr) {
65783  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_ActivatedItem_find" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65784  }
65785  arg2 = ptr;
65786  }
65787  result = (arg1)->find((std::map< std::string,ActivatedItem * >::key_type const &)*arg2);
65788  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,ActivatedItem * >::iterator & >(result)),
65789  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
65790  if (SWIG_IsNewObj(res2)) delete arg2;
65791  return resultobj;
65792 fail:
65793  if (SWIG_IsNewObj(res2)) delete arg2;
65794  return NULL;
65795 }
65796 
65797 
65798 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_lower_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65799  PyObject *resultobj = 0;
65800  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65801  std::map< std::string,ActivatedItem * >::key_type *arg2 = 0 ;
65802  void *argp1 = 0 ;
65803  int res1 = 0 ;
65804  int res2 = SWIG_OLDOBJ ;
65805  PyObject * obj0 = 0 ;
65806  PyObject * obj1 = 0 ;
65807  std::map< std::string,ActivatedItem * >::iterator result;
65808 
65809  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_ActivatedItem_lower_bound",&obj0,&obj1)) SWIG_fail;
65810  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65811  if (!SWIG_IsOK(res1)) {
65812  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_lower_bound" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65813  }
65814  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65815  {
65816  std::string *ptr = (std::string *)0;
65817  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
65818  if (!SWIG_IsOK(res2)) {
65819  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_ActivatedItem_lower_bound" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65820  }
65821  if (!ptr) {
65822  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_ActivatedItem_lower_bound" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65823  }
65824  arg2 = ptr;
65825  }
65826  result = (arg1)->lower_bound((std::map< std::string,ActivatedItem * >::key_type const &)*arg2);
65827  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,ActivatedItem * >::iterator & >(result)),
65828  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
65829  if (SWIG_IsNewObj(res2)) delete arg2;
65830  return resultobj;
65831 fail:
65832  if (SWIG_IsNewObj(res2)) delete arg2;
65833  return NULL;
65834 }
65835 
65836 
65837 SWIGINTERN PyObject *_wrap_map_string_ActivatedItem_upper_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65838  PyObject *resultobj = 0;
65839  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65840  std::map< std::string,ActivatedItem * >::key_type *arg2 = 0 ;
65841  void *argp1 = 0 ;
65842  int res1 = 0 ;
65843  int res2 = SWIG_OLDOBJ ;
65844  PyObject * obj0 = 0 ;
65845  PyObject * obj1 = 0 ;
65846  std::map< std::string,ActivatedItem * >::iterator result;
65847 
65848  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_ActivatedItem_upper_bound",&obj0,&obj1)) SWIG_fail;
65849  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65850  if (!SWIG_IsOK(res1)) {
65851  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_ActivatedItem_upper_bound" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65852  }
65853  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65854  {
65855  std::string *ptr = (std::string *)0;
65856  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
65857  if (!SWIG_IsOK(res2)) {
65858  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_ActivatedItem_upper_bound" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65859  }
65860  if (!ptr) {
65861  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_ActivatedItem_upper_bound" "', argument " "2"" of type '" "std::map< std::string,ActivatedItem * >::key_type const &""'");
65862  }
65863  arg2 = ptr;
65864  }
65865  result = (arg1)->upper_bound((std::map< std::string,ActivatedItem * >::key_type const &)*arg2);
65866  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,ActivatedItem * >::iterator & >(result)),
65867  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
65868  if (SWIG_IsNewObj(res2)) delete arg2;
65869  return resultobj;
65870 fail:
65871  if (SWIG_IsNewObj(res2)) delete arg2;
65872  return NULL;
65873 }
65874 
65875 
65876 SWIGINTERN PyObject *_wrap_delete_map_string_ActivatedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65877  PyObject *resultobj = 0;
65878  std::map< std::string,ActivatedItem * > *arg1 = (std::map< std::string,ActivatedItem * > *) 0 ;
65879  void *argp1 = 0 ;
65880  int res1 = 0 ;
65881  PyObject * obj0 = 0 ;
65882 
65883  if (!PyArg_ParseTuple(args,(char *)"O:delete_map_string_ActivatedItem",&obj0)) SWIG_fail;
65884  res1 = SWIG_ConvertPtr(obj0, &argp1,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_POINTER_DISOWN | 0 );
65885  if (!SWIG_IsOK(res1)) {
65886  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_map_string_ActivatedItem" "', argument " "1"" of type '" "std::map< std::string,ActivatedItem * > *""'");
65887  }
65888  arg1 = reinterpret_cast< std::map< std::string,ActivatedItem * > * >(argp1);
65889  {
65890  try {
65891  delete arg1;
65892  }
65893  catch(CStdErrorInfo oError)
65894  {
65895  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
65896  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
65897  PyErr_SetString(PyExc_IndexError, strError.c_str());
65898  SWIG_fail;
65899  }
65900  catch(...)
65901  {
65902  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
65903  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
65904  SWIG_fail;
65905  }
65906  }
65907  resultobj = SWIG_Py_Void();
65908  return resultobj;
65909 fail:
65910  return NULL;
65911 }
65912 
65913 
65914 SWIGINTERN PyObject *map_string_ActivatedItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65915  PyObject *obj;
65916  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
65917  SWIG_TypeNewClientData(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_NewClientData(obj));
65918  return SWIG_Py_Void();
65919 }
65920 
65921 SWIGINTERN PyObject *_wrap_new_map_string_AnimatBase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65922  PyObject *resultobj = 0;
65923  std::less< std::string > *arg1 = 0 ;
65924  void *argp1 = 0 ;
65925  int res1 = 0 ;
65926  PyObject * obj0 = 0 ;
65927  std::map< std::string,AnimatBase * > *result = 0 ;
65928 
65929  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_AnimatBase",&obj0)) SWIG_fail;
65930  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__lessT_std__string_t, 0 | 0);
65931  if (!SWIG_IsOK(res1)) {
65932  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_AnimatBase" "', argument " "1"" of type '" "std::less< std::string > const &""'");
65933  }
65934  if (!argp1) {
65935  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_AnimatBase" "', argument " "1"" of type '" "std::less< std::string > const &""'");
65936  }
65937  arg1 = reinterpret_cast< std::less< std::string > * >(argp1);
65938  result = (std::map< std::string,AnimatBase * > *)new std::map< std::string,AnimatBase * >((std::less< std::string > const &)*arg1);
65939  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
65940  return resultobj;
65941 fail:
65942  return NULL;
65943 }
65944 
65945 
65946 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65947  PyObject *resultobj = 0;
65948  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
65949  PyObject **arg2 = (PyObject **) 0 ;
65950  void *argp1 = 0 ;
65951  int res1 = 0 ;
65952  PyObject * obj0 = 0 ;
65953  swig::SwigPyIterator *result = 0 ;
65954 
65955  arg2 = &obj0;
65956  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase_iterator",&obj0)) SWIG_fail;
65957  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65958  if (!SWIG_IsOK(res1)) {
65959  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_iterator" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
65960  }
65961  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
65962  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__iterator(arg1,arg2);
65963  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
65964  return resultobj;
65965 fail:
65966  return NULL;
65967 }
65968 
65969 
65970 SWIGINTERN PyObject *_wrap_map_string_AnimatBase___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65971  PyObject *resultobj = 0;
65972  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
65973  void *argp1 = 0 ;
65974  int res1 = 0 ;
65975  PyObject * obj0 = 0 ;
65976  bool result;
65977 
65978  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase___nonzero__",&obj0)) SWIG_fail;
65979  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
65980  if (!SWIG_IsOK(res1)) {
65981  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase___nonzero__" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > const *""'");
65982  }
65983  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
65984  result = (bool)std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____nonzero__((std::map< std::string,AnimatBase * > const *)arg1);
65985  resultobj = SWIG_From_bool(static_cast< bool >(result));
65986  return resultobj;
65987 fail:
65988  return NULL;
65989 }
65990 
65991 
65992 SWIGINTERN PyObject *_wrap_map_string_AnimatBase___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
65993  PyObject *resultobj = 0;
65994  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
65995  void *argp1 = 0 ;
65996  int res1 = 0 ;
65997  PyObject * obj0 = 0 ;
65998  bool result;
65999 
66000  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase___bool__",&obj0)) SWIG_fail;
66001  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66002  if (!SWIG_IsOK(res1)) {
66003  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase___bool__" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > const *""'");
66004  }
66005  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66006  result = (bool)std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____bool__((std::map< std::string,AnimatBase * > const *)arg1);
66007  resultobj = SWIG_From_bool(static_cast< bool >(result));
66008  return resultobj;
66009 fail:
66010  return NULL;
66011 }
66012 
66013 
66014 SWIGINTERN PyObject *_wrap_map_string_AnimatBase___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66015  PyObject *resultobj = 0;
66016  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66017  void *argp1 = 0 ;
66018  int res1 = 0 ;
66019  PyObject * obj0 = 0 ;
66020  std::map< std::string,AnimatBase * >::size_type result;
66021 
66022  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase___len__",&obj0)) SWIG_fail;
66023  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66024  if (!SWIG_IsOK(res1)) {
66025  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase___len__" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > const *""'");
66026  }
66027  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66028  result = std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____len__((std::map< std::string,AnimatBase * > const *)arg1);
66029  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
66030  return resultobj;
66031 fail:
66032  return NULL;
66033 }
66034 
66035 
66036 SWIGINTERN PyObject *_wrap_map_string_AnimatBase___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66037  PyObject *resultobj = 0;
66038  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66039  std::map< std::string,AnimatBase * >::key_type *arg2 = 0 ;
66040  void *argp1 = 0 ;
66041  int res1 = 0 ;
66042  int res2 = SWIG_OLDOBJ ;
66043  PyObject * obj0 = 0 ;
66044  PyObject * obj1 = 0 ;
66045  std::map< std::string,AnimatBase * >::mapped_type *result = 0 ;
66046 
66047  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_AnimatBase___getitem__",&obj0,&obj1)) SWIG_fail;
66048  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66049  if (!SWIG_IsOK(res1)) {
66050  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase___getitem__" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66051  }
66052  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66053  {
66054  std::string *ptr = (std::string *)0;
66055  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
66056  if (!SWIG_IsOK(res2)) {
66057  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_AnimatBase___getitem__" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66058  }
66059  if (!ptr) {
66060  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_AnimatBase___getitem__" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66061  }
66062  arg2 = ptr;
66063  }
66064  try {
66065  result = (std::map< std::string,AnimatBase * >::mapped_type *) &std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____getitem__(arg1,(std::string const &)*arg2);
66066  }
66067  catch(std::out_of_range &_e) {
66068  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
66069  }
66070 
66071  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(*result), SWIGTYPE_p_AnimatBase, 0 | 0 );
66072  if (SWIG_IsNewObj(res2)) delete arg2;
66073  return resultobj;
66074 fail:
66075  if (SWIG_IsNewObj(res2)) delete arg2;
66076  return NULL;
66077 }
66078 
66079 
66080 SWIGINTERN PyObject *_wrap_map_string_AnimatBase___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66081  PyObject *resultobj = 0;
66082  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66083  std::map< std::string,AnimatBase * >::key_type *arg2 = 0 ;
66084  void *argp1 = 0 ;
66085  int res1 = 0 ;
66086  int res2 = SWIG_OLDOBJ ;
66087  PyObject * obj0 = 0 ;
66088  PyObject * obj1 = 0 ;
66089 
66090  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_AnimatBase___delitem__",&obj0,&obj1)) SWIG_fail;
66091  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66092  if (!SWIG_IsOK(res1)) {
66093  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase___delitem__" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66094  }
66095  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66096  {
66097  std::string *ptr = (std::string *)0;
66098  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
66099  if (!SWIG_IsOK(res2)) {
66100  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_AnimatBase___delitem__" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66101  }
66102  if (!ptr) {
66103  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_AnimatBase___delitem__" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66104  }
66105  arg2 = ptr;
66106  }
66107  try {
66108  std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____delitem__(arg1,(std::string const &)*arg2);
66109  }
66110  catch(std::out_of_range &_e) {
66111  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
66112  }
66113 
66114  resultobj = SWIG_Py_Void();
66115  if (SWIG_IsNewObj(res2)) delete arg2;
66116  return resultobj;
66117 fail:
66118  if (SWIG_IsNewObj(res2)) delete arg2;
66119  return NULL;
66120 }
66121 
66122 
66123 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_has_key(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66124  PyObject *resultobj = 0;
66125  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66126  std::map< std::string,AnimatBase * >::key_type *arg2 = 0 ;
66127  void *argp1 = 0 ;
66128  int res1 = 0 ;
66129  int res2 = SWIG_OLDOBJ ;
66130  PyObject * obj0 = 0 ;
66131  PyObject * obj1 = 0 ;
66132  bool result;
66133 
66134  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_AnimatBase_has_key",&obj0,&obj1)) SWIG_fail;
66135  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66136  if (!SWIG_IsOK(res1)) {
66137  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_has_key" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > const *""'");
66138  }
66139  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66140  {
66141  std::string *ptr = (std::string *)0;
66142  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
66143  if (!SWIG_IsOK(res2)) {
66144  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_AnimatBase_has_key" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66145  }
66146  if (!ptr) {
66147  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_AnimatBase_has_key" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66148  }
66149  arg2 = ptr;
66150  }
66151  result = (bool)std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__has_key((std::map< std::string,AnimatBase * > const *)arg1,(std::string const &)*arg2);
66152  resultobj = SWIG_From_bool(static_cast< bool >(result));
66153  if (SWIG_IsNewObj(res2)) delete arg2;
66154  return resultobj;
66155 fail:
66156  if (SWIG_IsNewObj(res2)) delete arg2;
66157  return NULL;
66158 }
66159 
66160 
66161 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_keys(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66162  PyObject *resultobj = 0;
66163  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66164  void *argp1 = 0 ;
66165  int res1 = 0 ;
66166  PyObject * obj0 = 0 ;
66167  PyObject *result = 0 ;
66168 
66169  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase_keys",&obj0)) SWIG_fail;
66170  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66171  if (!SWIG_IsOK(res1)) {
66172  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_keys" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66173  }
66174  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66175  result = (PyObject *)std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__keys(arg1);
66176  resultobj = result;
66177  return resultobj;
66178 fail:
66179  return NULL;
66180 }
66181 
66182 
66183 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_values(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66184  PyObject *resultobj = 0;
66185  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66186  void *argp1 = 0 ;
66187  int res1 = 0 ;
66188  PyObject * obj0 = 0 ;
66189  PyObject *result = 0 ;
66190 
66191  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase_values",&obj0)) SWIG_fail;
66192  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66193  if (!SWIG_IsOK(res1)) {
66194  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_values" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66195  }
66196  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66197  result = (PyObject *)std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__values(arg1);
66198  resultobj = result;
66199  return resultobj;
66200 fail:
66201  return NULL;
66202 }
66203 
66204 
66205 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_items(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66206  PyObject *resultobj = 0;
66207  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66208  void *argp1 = 0 ;
66209  int res1 = 0 ;
66210  PyObject * obj0 = 0 ;
66211  PyObject *result = 0 ;
66212 
66213  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase_items",&obj0)) SWIG_fail;
66214  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66215  if (!SWIG_IsOK(res1)) {
66216  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_items" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66217  }
66218  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66219  result = (PyObject *)std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__items(arg1);
66220  resultobj = result;
66221  return resultobj;
66222 fail:
66223  return NULL;
66224 }
66225 
66226 
66227 SWIGINTERN PyObject *_wrap_map_string_AnimatBase___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66228  PyObject *resultobj = 0;
66229  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66230  std::map< std::string,AnimatBase * >::key_type *arg2 = 0 ;
66231  void *argp1 = 0 ;
66232  int res1 = 0 ;
66233  int res2 = SWIG_OLDOBJ ;
66234  PyObject * obj0 = 0 ;
66235  PyObject * obj1 = 0 ;
66236  bool result;
66237 
66238  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_AnimatBase___contains__",&obj0,&obj1)) SWIG_fail;
66239  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66240  if (!SWIG_IsOK(res1)) {
66241  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase___contains__" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66242  }
66243  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66244  {
66245  std::string *ptr = (std::string *)0;
66246  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
66247  if (!SWIG_IsOK(res2)) {
66248  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_AnimatBase___contains__" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66249  }
66250  if (!ptr) {
66251  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_AnimatBase___contains__" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66252  }
66253  arg2 = ptr;
66254  }
66255  result = (bool)std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____contains__(arg1,(std::string const &)*arg2);
66256  resultobj = SWIG_From_bool(static_cast< bool >(result));
66257  if (SWIG_IsNewObj(res2)) delete arg2;
66258  return resultobj;
66259 fail:
66260  if (SWIG_IsNewObj(res2)) delete arg2;
66261  return NULL;
66262 }
66263 
66264 
66265 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_key_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66266  PyObject *resultobj = 0;
66267  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66268  PyObject **arg2 = (PyObject **) 0 ;
66269  void *argp1 = 0 ;
66270  int res1 = 0 ;
66271  PyObject * obj0 = 0 ;
66272  swig::SwigPyIterator *result = 0 ;
66273 
66274  arg2 = &obj0;
66275  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase_key_iterator",&obj0)) SWIG_fail;
66276  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66277  if (!SWIG_IsOK(res1)) {
66278  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_key_iterator" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66279  }
66280  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66281  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__key_iterator(arg1,arg2);
66282  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
66283  return resultobj;
66284 fail:
66285  return NULL;
66286 }
66287 
66288 
66289 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_value_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66290  PyObject *resultobj = 0;
66291  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66292  PyObject **arg2 = (PyObject **) 0 ;
66293  void *argp1 = 0 ;
66294  int res1 = 0 ;
66295  PyObject * obj0 = 0 ;
66296  swig::SwigPyIterator *result = 0 ;
66297 
66298  arg2 = &obj0;
66299  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase_value_iterator",&obj0)) SWIG_fail;
66300  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66301  if (!SWIG_IsOK(res1)) {
66302  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_value_iterator" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66303  }
66304  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66305  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__value_iterator(arg1,arg2);
66306  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
66307  return resultobj;
66308 fail:
66309  return NULL;
66310 }
66311 
66312 
66313 SWIGINTERN PyObject *_wrap_map_string_AnimatBase___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66314  PyObject *resultobj = 0;
66315  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66316  std::map< std::string,AnimatBase * >::key_type *arg2 = 0 ;
66317  void *argp1 = 0 ;
66318  int res1 = 0 ;
66319  int res2 = SWIG_OLDOBJ ;
66320  PyObject * obj0 = 0 ;
66321  PyObject * obj1 = 0 ;
66322 
66323  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_AnimatBase___setitem__",&obj0,&obj1)) SWIG_fail;
66324  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66325  if (!SWIG_IsOK(res1)) {
66326  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase___setitem__" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66327  }
66328  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66329  {
66330  std::string *ptr = (std::string *)0;
66331  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
66332  if (!SWIG_IsOK(res2)) {
66333  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_AnimatBase___setitem__" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66334  }
66335  if (!ptr) {
66336  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_AnimatBase___setitem__" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66337  }
66338  arg2 = ptr;
66339  }
66340  std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____setitem____SWIG_0(arg1,(std::string const &)*arg2);
66341  resultobj = SWIG_Py_Void();
66342  if (SWIG_IsNewObj(res2)) delete arg2;
66343  return resultobj;
66344 fail:
66345  if (SWIG_IsNewObj(res2)) delete arg2;
66346  return NULL;
66347 }
66348 
66349 
66350 SWIGINTERN PyObject *_wrap_map_string_AnimatBase___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66351  PyObject *resultobj = 0;
66352  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66353  std::map< std::string,AnimatBase * >::key_type *arg2 = 0 ;
66354  std::map< std::string,AnimatBase * >::mapped_type *arg3 = 0 ;
66355  void *argp1 = 0 ;
66356  int res1 = 0 ;
66357  int res2 = SWIG_OLDOBJ ;
66358  void *argp3 = 0 ;
66359  int res3 = 0 ;
66360  std::map< std::string,AnimatBase * >::mapped_type temp3 ;
66361  PyObject * obj0 = 0 ;
66362  PyObject * obj1 = 0 ;
66363  PyObject * obj2 = 0 ;
66364 
66365  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_AnimatBase___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
66366  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66367  if (!SWIG_IsOK(res1)) {
66368  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase___setitem__" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66369  }
66370  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66371  {
66372  std::string *ptr = (std::string *)0;
66373  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
66374  if (!SWIG_IsOK(res2)) {
66375  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_AnimatBase___setitem__" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66376  }
66377  if (!ptr) {
66378  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_AnimatBase___setitem__" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66379  }
66380  arg2 = ptr;
66381  }
66382  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_AnimatBase, 0 | 0 );
66383  if (!SWIG_IsOK(res3)) {
66384  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "map_string_AnimatBase___setitem__" "', argument " "3"" of type '" "std::map< std::string,AnimatBase * >::mapped_type""'");
66385  }
66386  temp3 = reinterpret_cast< std::map< std::string,AnimatBase * >::mapped_type >(argp3);
66387  arg3 = reinterpret_cast< std::map< std::string,AnimatBase * >::mapped_type * >(&temp3);
66388  try {
66389  std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg____setitem____SWIG_1(arg1,(std::string const &)*arg2,(AnimatBase *const &)*arg3);
66390  }
66391  catch(std::out_of_range &_e) {
66392  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
66393  }
66394 
66395  resultobj = SWIG_Py_Void();
66396  if (SWIG_IsNewObj(res2)) delete arg2;
66397  return resultobj;
66398 fail:
66399  if (SWIG_IsNewObj(res2)) delete arg2;
66400  return NULL;
66401 }
66402 
66403 
66404 SWIGINTERN PyObject *_wrap_map_string_AnimatBase___setitem__(PyObject *self, PyObject *args) {
66405  int argc;
66406  PyObject *argv[4];
66407  int ii;
66408 
66409  if (!PyTuple_Check(args)) SWIG_fail;
66410  argc = args ? (int)PyObject_Length(args) : 0;
66411  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
66412  argv[ii] = PyTuple_GET_ITEM(args,ii);
66413  }
66414  if (argc == 2) {
66415  int _v;
66416  int res = swig::asptr(argv[0], (std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >**)(0));
66417  _v = SWIG_CheckState(res);
66418  if (_v) {
66419  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
66420  _v = SWIG_CheckState(res);
66421  if (_v) {
66422  return _wrap_map_string_AnimatBase___setitem____SWIG_0(self, args);
66423  }
66424  }
66425  }
66426  if (argc == 3) {
66427  int _v;
66428  int res = swig::asptr(argv[0], (std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >**)(0));
66429  _v = SWIG_CheckState(res);
66430  if (_v) {
66431  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
66432  _v = SWIG_CheckState(res);
66433  if (_v) {
66434  void *vptr = 0;
66435  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_AnimatBase, 0);
66436  _v = SWIG_CheckState(res);
66437  if (_v) {
66438  return _wrap_map_string_AnimatBase___setitem____SWIG_1(self, args);
66439  }
66440  }
66441  }
66442  }
66443 
66444 fail:
66445  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_AnimatBase___setitem__'.\n"
66446  " Possible C/C++ prototypes are:\n"
66447  " std::map< std::string,AnimatBase * >::__setitem__(std::map< std::string,AnimatBase * >::key_type const &)\n"
66448  " std::map< std::string,AnimatBase * >::__setitem__(std::map< std::string,AnimatBase * >::key_type const &,std::map< std::string,AnimatBase * >::mapped_type const &)\n");
66449  return 0;
66450 }
66451 
66452 
66453 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_asdict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66454  PyObject *resultobj = 0;
66455  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66456  void *argp1 = 0 ;
66457  int res1 = 0 ;
66458  PyObject * obj0 = 0 ;
66459  PyObject *result = 0 ;
66460 
66461  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase_asdict",&obj0)) SWIG_fail;
66462  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66463  if (!SWIG_IsOK(res1)) {
66464  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_asdict" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66465  }
66466  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66467  result = (PyObject *)std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__asdict(arg1);
66468  resultobj = result;
66469  return resultobj;
66470 fail:
66471  return NULL;
66472 }
66473 
66474 
66475 SWIGINTERN PyObject *_wrap_new_map_string_AnimatBase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66476  PyObject *resultobj = 0;
66477  std::map< std::string,AnimatBase * > *result = 0 ;
66478 
66479  if (!PyArg_ParseTuple(args,(char *)":new_map_string_AnimatBase")) SWIG_fail;
66480  result = (std::map< std::string,AnimatBase * > *)new std::map< std::string,AnimatBase * >();
66481  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
66482  return resultobj;
66483 fail:
66484  return NULL;
66485 }
66486 
66487 
66488 SWIGINTERN PyObject *_wrap_new_map_string_AnimatBase__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66489  PyObject *resultobj = 0;
66490  std::map< std::string,AnimatBase * > *arg1 = 0 ;
66491  int res1 = SWIG_OLDOBJ ;
66492  PyObject * obj0 = 0 ;
66493  std::map< std::string,AnimatBase * > *result = 0 ;
66494 
66495  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_AnimatBase",&obj0)) SWIG_fail;
66496  {
66497  std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > > *ptr = (std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > > *)0;
66498  res1 = swig::asptr(obj0, &ptr);
66499  if (!SWIG_IsOK(res1)) {
66500  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_AnimatBase" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > const &""'");
66501  }
66502  if (!ptr) {
66503  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_AnimatBase" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > const &""'");
66504  }
66505  arg1 = ptr;
66506  }
66507  result = (std::map< std::string,AnimatBase * > *)new std::map< std::string,AnimatBase * >((std::map< std::string,AnimatBase * > const &)*arg1);
66508  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
66509  if (SWIG_IsNewObj(res1)) delete arg1;
66510  return resultobj;
66511 fail:
66512  if (SWIG_IsNewObj(res1)) delete arg1;
66513  return NULL;
66514 }
66515 
66516 
66517 SWIGINTERN PyObject *_wrap_new_map_string_AnimatBase(PyObject *self, PyObject *args) {
66518  int argc;
66519  PyObject *argv[2];
66520  int ii;
66521 
66522  if (!PyTuple_Check(args)) SWIG_fail;
66523  argc = args ? (int)PyObject_Length(args) : 0;
66524  for (ii = 0; (ii < 1) && (ii < argc); ii++) {
66525  argv[ii] = PyTuple_GET_ITEM(args,ii);
66526  }
66527  if (argc == 0) {
66528  return _wrap_new_map_string_AnimatBase__SWIG_1(self, args);
66529  }
66530  if (argc == 1) {
66531  int _v;
66532  int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__lessT_std__string_t, 0);
66533  _v = SWIG_CheckState(res);
66534  if (_v) {
66535  return _wrap_new_map_string_AnimatBase__SWIG_0(self, args);
66536  }
66537  }
66538  if (argc == 1) {
66539  int _v;
66540  int res = swig::asptr(argv[0], (std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >**)(0));
66541  _v = SWIG_CheckState(res);
66542  if (_v) {
66543  return _wrap_new_map_string_AnimatBase__SWIG_2(self, args);
66544  }
66545  }
66546 
66547 fail:
66548  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_map_string_AnimatBase'.\n"
66549  " Possible C/C++ prototypes are:\n"
66550  " std::map< std::string,AnimatBase * >::map(std::less< std::string > const &)\n"
66551  " std::map< std::string,AnimatBase * >::map()\n"
66552  " std::map< std::string,AnimatBase * >::map(std::map< std::string,AnimatBase * > const &)\n");
66553  return 0;
66554 }
66555 
66556 
66557 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66558  PyObject *resultobj = 0;
66559  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66560  void *argp1 = 0 ;
66561  int res1 = 0 ;
66562  PyObject * obj0 = 0 ;
66563  bool result;
66564 
66565  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase_empty",&obj0)) SWIG_fail;
66566  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66567  if (!SWIG_IsOK(res1)) {
66568  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_empty" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > const *""'");
66569  }
66570  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66571  result = (bool)((std::map< std::string,AnimatBase * > const *)arg1)->empty();
66572  resultobj = SWIG_From_bool(static_cast< bool >(result));
66573  return resultobj;
66574 fail:
66575  return NULL;
66576 }
66577 
66578 
66579 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66580  PyObject *resultobj = 0;
66581  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66582  void *argp1 = 0 ;
66583  int res1 = 0 ;
66584  PyObject * obj0 = 0 ;
66585  std::map< std::string,AnimatBase * >::size_type result;
66586 
66587  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase_size",&obj0)) SWIG_fail;
66588  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66589  if (!SWIG_IsOK(res1)) {
66590  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_size" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > const *""'");
66591  }
66592  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66593  result = ((std::map< std::string,AnimatBase * > const *)arg1)->size();
66594  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
66595  return resultobj;
66596 fail:
66597  return NULL;
66598 }
66599 
66600 
66601 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66602  PyObject *resultobj = 0;
66603  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66604  void *argp1 = 0 ;
66605  int res1 = 0 ;
66606  PyObject * obj0 = 0 ;
66607 
66608  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase_clear",&obj0)) SWIG_fail;
66609  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66610  if (!SWIG_IsOK(res1)) {
66611  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_clear" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66612  }
66613  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66614  (arg1)->clear();
66615  resultobj = SWIG_Py_Void();
66616  return resultobj;
66617 fail:
66618  return NULL;
66619 }
66620 
66621 
66622 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66623  PyObject *resultobj = 0;
66624  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66625  std::map< std::string,AnimatBase * > *arg2 = 0 ;
66626  void *argp1 = 0 ;
66627  int res1 = 0 ;
66628  void *argp2 = 0 ;
66629  int res2 = 0 ;
66630  PyObject * obj0 = 0 ;
66631  PyObject * obj1 = 0 ;
66632 
66633  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_AnimatBase_swap",&obj0,&obj1)) SWIG_fail;
66634  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66635  if (!SWIG_IsOK(res1)) {
66636  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_swap" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66637  }
66638  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66639  res2 = SWIG_ConvertPtr(obj1, &argp2, 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, 0 );
66640  if (!SWIG_IsOK(res2)) {
66641  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_AnimatBase_swap" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * > &""'");
66642  }
66643  if (!argp2) {
66644  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_AnimatBase_swap" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * > &""'");
66645  }
66646  arg2 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp2);
66647  (arg1)->swap(*arg2);
66648  resultobj = SWIG_Py_Void();
66649  return resultobj;
66650 fail:
66651  return NULL;
66652 }
66653 
66654 
66655 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66656  PyObject *resultobj = 0;
66657  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66658  void *argp1 = 0 ;
66659  int res1 = 0 ;
66660  PyObject * obj0 = 0 ;
66661  SwigValueWrapper< std::allocator< std::pair< std::string const,AnimatBase * > > > result;
66662 
66663  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase_get_allocator",&obj0)) SWIG_fail;
66664  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66665  if (!SWIG_IsOK(res1)) {
66666  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_get_allocator" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > const *""'");
66667  }
66668  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66669  result = ((std::map< std::string,AnimatBase * > const *)arg1)->get_allocator();
66670  resultobj = SWIG_NewPointerObj((new std::map< std::string,AnimatBase * >::allocator_type(static_cast< const std::map< std::string,AnimatBase * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t, SWIG_POINTER_OWN | 0 );
66671  return resultobj;
66672 fail:
66673  return NULL;
66674 }
66675 
66676 
66677 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66678  PyObject *resultobj = 0;
66679  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66680  void *argp1 = 0 ;
66681  int res1 = 0 ;
66682  PyObject * obj0 = 0 ;
66683  std::map< std::string,AnimatBase * >::iterator result;
66684 
66685  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase_begin",&obj0)) SWIG_fail;
66686  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66687  if (!SWIG_IsOK(res1)) {
66688  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_begin" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66689  }
66690  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66691  result = (arg1)->begin();
66692  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,AnimatBase * >::iterator & >(result)),
66693  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
66694  return resultobj;
66695 fail:
66696  return NULL;
66697 }
66698 
66699 
66700 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66701  PyObject *resultobj = 0;
66702  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66703  void *argp1 = 0 ;
66704  int res1 = 0 ;
66705  PyObject * obj0 = 0 ;
66706  std::map< std::string,AnimatBase * >::iterator result;
66707 
66708  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase_end",&obj0)) SWIG_fail;
66709  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66710  if (!SWIG_IsOK(res1)) {
66711  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_end" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66712  }
66713  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66714  result = (arg1)->end();
66715  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,AnimatBase * >::iterator & >(result)),
66716  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
66717  return resultobj;
66718 fail:
66719  return NULL;
66720 }
66721 
66722 
66723 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66724  PyObject *resultobj = 0;
66725  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66726  void *argp1 = 0 ;
66727  int res1 = 0 ;
66728  PyObject * obj0 = 0 ;
66729  std::map< std::string,AnimatBase * >::reverse_iterator result;
66730 
66731  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase_rbegin",&obj0)) SWIG_fail;
66732  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66733  if (!SWIG_IsOK(res1)) {
66734  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_rbegin" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66735  }
66736  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66737  result = (arg1)->rbegin();
66738  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,AnimatBase * >::reverse_iterator & >(result)),
66739  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
66740  return resultobj;
66741 fail:
66742  return NULL;
66743 }
66744 
66745 
66746 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66747  PyObject *resultobj = 0;
66748  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66749  void *argp1 = 0 ;
66750  int res1 = 0 ;
66751  PyObject * obj0 = 0 ;
66752  std::map< std::string,AnimatBase * >::reverse_iterator result;
66753 
66754  if (!PyArg_ParseTuple(args,(char *)"O:map_string_AnimatBase_rend",&obj0)) SWIG_fail;
66755  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66756  if (!SWIG_IsOK(res1)) {
66757  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_rend" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66758  }
66759  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66760  result = (arg1)->rend();
66761  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,AnimatBase * >::reverse_iterator & >(result)),
66762  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
66763  return resultobj;
66764 fail:
66765  return NULL;
66766 }
66767 
66768 
66769 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66770  PyObject *resultobj = 0;
66771  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66772  std::map< std::string,AnimatBase * >::key_type *arg2 = 0 ;
66773  void *argp1 = 0 ;
66774  int res1 = 0 ;
66775  int res2 = SWIG_OLDOBJ ;
66776  PyObject * obj0 = 0 ;
66777  PyObject * obj1 = 0 ;
66778  std::map< std::string,AnimatBase * >::size_type result;
66779 
66780  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_AnimatBase_erase",&obj0,&obj1)) SWIG_fail;
66781  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66782  if (!SWIG_IsOK(res1)) {
66783  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_erase" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66784  }
66785  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66786  {
66787  std::string *ptr = (std::string *)0;
66788  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
66789  if (!SWIG_IsOK(res2)) {
66790  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_AnimatBase_erase" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66791  }
66792  if (!ptr) {
66793  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_AnimatBase_erase" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66794  }
66795  arg2 = ptr;
66796  }
66797  result = (arg1)->erase((std::map< std::string,AnimatBase * >::key_type const &)*arg2);
66798  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
66799  if (SWIG_IsNewObj(res2)) delete arg2;
66800  return resultobj;
66801 fail:
66802  if (SWIG_IsNewObj(res2)) delete arg2;
66803  return NULL;
66804 }
66805 
66806 
66807 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66808  PyObject *resultobj = 0;
66809  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66810  std::map< std::string,AnimatBase * >::key_type *arg2 = 0 ;
66811  void *argp1 = 0 ;
66812  int res1 = 0 ;
66813  int res2 = SWIG_OLDOBJ ;
66814  PyObject * obj0 = 0 ;
66815  PyObject * obj1 = 0 ;
66816  std::map< std::string,AnimatBase * >::size_type result;
66817 
66818  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_AnimatBase_count",&obj0,&obj1)) SWIG_fail;
66819  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66820  if (!SWIG_IsOK(res1)) {
66821  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_count" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > const *""'");
66822  }
66823  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66824  {
66825  std::string *ptr = (std::string *)0;
66826  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
66827  if (!SWIG_IsOK(res2)) {
66828  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_AnimatBase_count" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66829  }
66830  if (!ptr) {
66831  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_AnimatBase_count" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
66832  }
66833  arg2 = ptr;
66834  }
66835  result = ((std::map< std::string,AnimatBase * > const *)arg1)->count((std::map< std::string,AnimatBase * >::key_type const &)*arg2);
66836  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
66837  if (SWIG_IsNewObj(res2)) delete arg2;
66838  return resultobj;
66839 fail:
66840  if (SWIG_IsNewObj(res2)) delete arg2;
66841  return NULL;
66842 }
66843 
66844 
66845 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66846  PyObject *resultobj = 0;
66847  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66848  std::map< std::string,AnimatBase * >::iterator arg2 ;
66849  void *argp1 = 0 ;
66850  int res1 = 0 ;
66851  swig::SwigPyIterator *iter2 = 0 ;
66852  int res2 ;
66853  PyObject * obj0 = 0 ;
66854  PyObject * obj1 = 0 ;
66855 
66856  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_AnimatBase_erase",&obj0,&obj1)) SWIG_fail;
66857  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66858  if (!SWIG_IsOK(res1)) {
66859  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_erase" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66860  }
66861  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66862  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
66863  if (!SWIG_IsOK(res2) || !iter2) {
66864  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_AnimatBase_erase" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::iterator""'");
66865  } else {
66867  if (iter_t) {
66868  arg2 = iter_t->get_current();
66869  } else {
66870  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_AnimatBase_erase" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::iterator""'");
66871  }
66872  }
66873  std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__erase__SWIG_1(arg1,arg2);
66874  resultobj = SWIG_Py_Void();
66875  return resultobj;
66876 fail:
66877  return NULL;
66878 }
66879 
66880 
66881 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_erase__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66882  PyObject *resultobj = 0;
66883  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66884  std::map< std::string,AnimatBase * >::iterator arg2 ;
66885  std::map< std::string,AnimatBase * >::iterator arg3 ;
66886  void *argp1 = 0 ;
66887  int res1 = 0 ;
66888  swig::SwigPyIterator *iter2 = 0 ;
66889  int res2 ;
66890  swig::SwigPyIterator *iter3 = 0 ;
66891  int res3 ;
66892  PyObject * obj0 = 0 ;
66893  PyObject * obj1 = 0 ;
66894  PyObject * obj2 = 0 ;
66895 
66896  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_AnimatBase_erase",&obj0,&obj1,&obj2)) SWIG_fail;
66897  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
66898  if (!SWIG_IsOK(res1)) {
66899  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_erase" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
66900  }
66901  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
66902  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
66903  if (!SWIG_IsOK(res2) || !iter2) {
66904  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_AnimatBase_erase" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::iterator""'");
66905  } else {
66907  if (iter_t) {
66908  arg2 = iter_t->get_current();
66909  } else {
66910  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_AnimatBase_erase" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::iterator""'");
66911  }
66912  }
66913  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
66914  if (!SWIG_IsOK(res3) || !iter3) {
66915  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_AnimatBase_erase" "', argument " "3"" of type '" "std::map< std::string,AnimatBase * >::iterator""'");
66916  } else {
66918  if (iter_t) {
66919  arg3 = iter_t->get_current();
66920  } else {
66921  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_AnimatBase_erase" "', argument " "3"" of type '" "std::map< std::string,AnimatBase * >::iterator""'");
66922  }
66923  }
66924  std_map_Sl_std_string_Sc_AnimatBase_Sm__Sg__erase__SWIG_2(arg1,arg2,arg3);
66925  resultobj = SWIG_Py_Void();
66926  return resultobj;
66927 fail:
66928  return NULL;
66929 }
66930 
66931 
66932 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_erase(PyObject *self, PyObject *args) {
66933  int argc;
66934  PyObject *argv[4];
66935  int ii;
66936 
66937  if (!PyTuple_Check(args)) SWIG_fail;
66938  argc = args ? (int)PyObject_Length(args) : 0;
66939  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
66940  argv[ii] = PyTuple_GET_ITEM(args,ii);
66941  }
66942  if (argc == 2) {
66943  int _v;
66944  int res = swig::asptr(argv[0], (std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >**)(0));
66945  _v = SWIG_CheckState(res);
66946  if (_v) {
66947  swig::SwigPyIterator *iter = 0;
66948  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
66949  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,AnimatBase * >::iterator > *>(iter) != 0));
66950  if (_v) {
66951  return _wrap_map_string_AnimatBase_erase__SWIG_1(self, args);
66952  }
66953  }
66954  }
66955  if (argc == 2) {
66956  int _v;
66957  int res = swig::asptr(argv[0], (std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >**)(0));
66958  _v = SWIG_CheckState(res);
66959  if (_v) {
66960  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
66961  _v = SWIG_CheckState(res);
66962  if (_v) {
66963  return _wrap_map_string_AnimatBase_erase__SWIG_0(self, args);
66964  }
66965  }
66966  }
66967  if (argc == 3) {
66968  int _v;
66969  int res = swig::asptr(argv[0], (std::map<std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >**)(0));
66970  _v = SWIG_CheckState(res);
66971  if (_v) {
66972  swig::SwigPyIterator *iter = 0;
66973  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
66974  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,AnimatBase * >::iterator > *>(iter) != 0));
66975  if (_v) {
66976  swig::SwigPyIterator *iter = 0;
66977  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
66978  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,AnimatBase * >::iterator > *>(iter) != 0));
66979  if (_v) {
66980  return _wrap_map_string_AnimatBase_erase__SWIG_2(self, args);
66981  }
66982  }
66983  }
66984  }
66985 
66986 fail:
66987  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_AnimatBase_erase'.\n"
66988  " Possible C/C++ prototypes are:\n"
66989  " std::map< std::string,AnimatBase * >::erase(std::map< std::string,AnimatBase * >::key_type const &)\n"
66990  " std::map< std::string,AnimatBase * >::erase(std::map< std::string,AnimatBase * >::iterator)\n"
66991  " std::map< std::string,AnimatBase * >::erase(std::map< std::string,AnimatBase * >::iterator,std::map< std::string,AnimatBase * >::iterator)\n");
66992  return 0;
66993 }
66994 
66995 
66996 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
66997  PyObject *resultobj = 0;
66998  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
66999  std::map< std::string,AnimatBase * >::key_type *arg2 = 0 ;
67000  void *argp1 = 0 ;
67001  int res1 = 0 ;
67002  int res2 = SWIG_OLDOBJ ;
67003  PyObject * obj0 = 0 ;
67004  PyObject * obj1 = 0 ;
67005  std::map< std::string,AnimatBase * >::iterator result;
67006 
67007  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_AnimatBase_find",&obj0,&obj1)) SWIG_fail;
67008  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67009  if (!SWIG_IsOK(res1)) {
67010  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_find" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
67011  }
67012  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
67013  {
67014  std::string *ptr = (std::string *)0;
67015  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
67016  if (!SWIG_IsOK(res2)) {
67017  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_AnimatBase_find" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
67018  }
67019  if (!ptr) {
67020  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_AnimatBase_find" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
67021  }
67022  arg2 = ptr;
67023  }
67024  result = (arg1)->find((std::map< std::string,AnimatBase * >::key_type const &)*arg2);
67025  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,AnimatBase * >::iterator & >(result)),
67026  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
67027  if (SWIG_IsNewObj(res2)) delete arg2;
67028  return resultobj;
67029 fail:
67030  if (SWIG_IsNewObj(res2)) delete arg2;
67031  return NULL;
67032 }
67033 
67034 
67035 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_lower_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67036  PyObject *resultobj = 0;
67037  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
67038  std::map< std::string,AnimatBase * >::key_type *arg2 = 0 ;
67039  void *argp1 = 0 ;
67040  int res1 = 0 ;
67041  int res2 = SWIG_OLDOBJ ;
67042  PyObject * obj0 = 0 ;
67043  PyObject * obj1 = 0 ;
67044  std::map< std::string,AnimatBase * >::iterator result;
67045 
67046  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_AnimatBase_lower_bound",&obj0,&obj1)) SWIG_fail;
67047  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67048  if (!SWIG_IsOK(res1)) {
67049  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_lower_bound" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
67050  }
67051  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
67052  {
67053  std::string *ptr = (std::string *)0;
67054  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
67055  if (!SWIG_IsOK(res2)) {
67056  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_AnimatBase_lower_bound" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
67057  }
67058  if (!ptr) {
67059  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_AnimatBase_lower_bound" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
67060  }
67061  arg2 = ptr;
67062  }
67063  result = (arg1)->lower_bound((std::map< std::string,AnimatBase * >::key_type const &)*arg2);
67064  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,AnimatBase * >::iterator & >(result)),
67065  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
67066  if (SWIG_IsNewObj(res2)) delete arg2;
67067  return resultobj;
67068 fail:
67069  if (SWIG_IsNewObj(res2)) delete arg2;
67070  return NULL;
67071 }
67072 
67073 
67074 SWIGINTERN PyObject *_wrap_map_string_AnimatBase_upper_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67075  PyObject *resultobj = 0;
67076  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
67077  std::map< std::string,AnimatBase * >::key_type *arg2 = 0 ;
67078  void *argp1 = 0 ;
67079  int res1 = 0 ;
67080  int res2 = SWIG_OLDOBJ ;
67081  PyObject * obj0 = 0 ;
67082  PyObject * obj1 = 0 ;
67083  std::map< std::string,AnimatBase * >::iterator result;
67084 
67085  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_AnimatBase_upper_bound",&obj0,&obj1)) SWIG_fail;
67086  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67087  if (!SWIG_IsOK(res1)) {
67088  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_AnimatBase_upper_bound" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
67089  }
67090  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
67091  {
67092  std::string *ptr = (std::string *)0;
67093  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
67094  if (!SWIG_IsOK(res2)) {
67095  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_AnimatBase_upper_bound" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
67096  }
67097  if (!ptr) {
67098  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_AnimatBase_upper_bound" "', argument " "2"" of type '" "std::map< std::string,AnimatBase * >::key_type const &""'");
67099  }
67100  arg2 = ptr;
67101  }
67102  result = (arg1)->upper_bound((std::map< std::string,AnimatBase * >::key_type const &)*arg2);
67103  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,AnimatBase * >::iterator & >(result)),
67104  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
67105  if (SWIG_IsNewObj(res2)) delete arg2;
67106  return resultobj;
67107 fail:
67108  if (SWIG_IsNewObj(res2)) delete arg2;
67109  return NULL;
67110 }
67111 
67112 
67113 SWIGINTERN PyObject *_wrap_delete_map_string_AnimatBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67114  PyObject *resultobj = 0;
67115  std::map< std::string,AnimatBase * > *arg1 = (std::map< std::string,AnimatBase * > *) 0 ;
67116  void *argp1 = 0 ;
67117  int res1 = 0 ;
67118  PyObject * obj0 = 0 ;
67119 
67120  if (!PyArg_ParseTuple(args,(char *)"O:delete_map_string_AnimatBase",&obj0)) SWIG_fail;
67121  res1 = SWIG_ConvertPtr(obj0, &argp1,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_POINTER_DISOWN | 0 );
67122  if (!SWIG_IsOK(res1)) {
67123  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_map_string_AnimatBase" "', argument " "1"" of type '" "std::map< std::string,AnimatBase * > *""'");
67124  }
67125  arg1 = reinterpret_cast< std::map< std::string,AnimatBase * > * >(argp1);
67126  {
67127  try {
67128  delete arg1;
67129  }
67130  catch(CStdErrorInfo oError)
67131  {
67132  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
67133  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
67134  PyErr_SetString(PyExc_IndexError, strError.c_str());
67135  SWIG_fail;
67136  }
67137  catch(...)
67138  {
67139  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
67140  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
67141  SWIG_fail;
67142  }
67143  }
67144  resultobj = SWIG_Py_Void();
67145  return resultobj;
67146 fail:
67147  return NULL;
67148 }
67149 
67150 
67151 SWIGINTERN PyObject *map_string_AnimatBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67152  PyObject *obj;
67153  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
67154  SWIG_TypeNewClientData(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_NewClientData(obj));
67155  return SWIG_Py_Void();
67156 }
67157 
67158 SWIGINTERN PyObject *_wrap_new_map_string_DataColumn__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67159  PyObject *resultobj = 0;
67160  std::less< std::string > *arg1 = 0 ;
67161  void *argp1 = 0 ;
67162  int res1 = 0 ;
67163  PyObject * obj0 = 0 ;
67164  std::map< std::string,DataColumn * > *result = 0 ;
67165 
67166  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_DataColumn",&obj0)) SWIG_fail;
67167  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__lessT_std__string_t, 0 | 0);
67168  if (!SWIG_IsOK(res1)) {
67169  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_DataColumn" "', argument " "1"" of type '" "std::less< std::string > const &""'");
67170  }
67171  if (!argp1) {
67172  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_DataColumn" "', argument " "1"" of type '" "std::less< std::string > const &""'");
67173  }
67174  arg1 = reinterpret_cast< std::less< std::string > * >(argp1);
67175  result = (std::map< std::string,DataColumn * > *)new std::map< std::string,DataColumn * >((std::less< std::string > const &)*arg1);
67176  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
67177  return resultobj;
67178 fail:
67179  return NULL;
67180 }
67181 
67182 
67183 SWIGINTERN PyObject *_wrap_map_string_DataColumn_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67184  PyObject *resultobj = 0;
67185  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67186  PyObject **arg2 = (PyObject **) 0 ;
67187  void *argp1 = 0 ;
67188  int res1 = 0 ;
67189  PyObject * obj0 = 0 ;
67190  swig::SwigPyIterator *result = 0 ;
67191 
67192  arg2 = &obj0;
67193  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn_iterator",&obj0)) SWIG_fail;
67194  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67195  if (!SWIG_IsOK(res1)) {
67196  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_iterator" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67197  }
67198  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67199  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__iterator(arg1,arg2);
67200  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
67201  return resultobj;
67202 fail:
67203  return NULL;
67204 }
67205 
67206 
67207 SWIGINTERN PyObject *_wrap_map_string_DataColumn___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67208  PyObject *resultobj = 0;
67209  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67210  void *argp1 = 0 ;
67211  int res1 = 0 ;
67212  PyObject * obj0 = 0 ;
67213  bool result;
67214 
67215  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn___nonzero__",&obj0)) SWIG_fail;
67216  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67217  if (!SWIG_IsOK(res1)) {
67218  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn___nonzero__" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > const *""'");
67219  }
67220  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67221  result = (bool)std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____nonzero__((std::map< std::string,DataColumn * > const *)arg1);
67222  resultobj = SWIG_From_bool(static_cast< bool >(result));
67223  return resultobj;
67224 fail:
67225  return NULL;
67226 }
67227 
67228 
67229 SWIGINTERN PyObject *_wrap_map_string_DataColumn___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67230  PyObject *resultobj = 0;
67231  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67232  void *argp1 = 0 ;
67233  int res1 = 0 ;
67234  PyObject * obj0 = 0 ;
67235  bool result;
67236 
67237  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn___bool__",&obj0)) SWIG_fail;
67238  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67239  if (!SWIG_IsOK(res1)) {
67240  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn___bool__" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > const *""'");
67241  }
67242  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67243  result = (bool)std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____bool__((std::map< std::string,DataColumn * > const *)arg1);
67244  resultobj = SWIG_From_bool(static_cast< bool >(result));
67245  return resultobj;
67246 fail:
67247  return NULL;
67248 }
67249 
67250 
67251 SWIGINTERN PyObject *_wrap_map_string_DataColumn___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67252  PyObject *resultobj = 0;
67253  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67254  void *argp1 = 0 ;
67255  int res1 = 0 ;
67256  PyObject * obj0 = 0 ;
67257  std::map< std::string,DataColumn * >::size_type result;
67258 
67259  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn___len__",&obj0)) SWIG_fail;
67260  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67261  if (!SWIG_IsOK(res1)) {
67262  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn___len__" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > const *""'");
67263  }
67264  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67265  result = std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____len__((std::map< std::string,DataColumn * > const *)arg1);
67266  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
67267  return resultobj;
67268 fail:
67269  return NULL;
67270 }
67271 
67272 
67273 SWIGINTERN PyObject *_wrap_map_string_DataColumn___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67274  PyObject *resultobj = 0;
67275  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67276  std::map< std::string,DataColumn * >::key_type *arg2 = 0 ;
67277  void *argp1 = 0 ;
67278  int res1 = 0 ;
67279  int res2 = SWIG_OLDOBJ ;
67280  PyObject * obj0 = 0 ;
67281  PyObject * obj1 = 0 ;
67282  std::map< std::string,DataColumn * >::mapped_type *result = 0 ;
67283 
67284  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_DataColumn___getitem__",&obj0,&obj1)) SWIG_fail;
67285  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67286  if (!SWIG_IsOK(res1)) {
67287  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn___getitem__" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67288  }
67289  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67290  {
67291  std::string *ptr = (std::string *)0;
67292  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
67293  if (!SWIG_IsOK(res2)) {
67294  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_DataColumn___getitem__" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
67295  }
67296  if (!ptr) {
67297  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_DataColumn___getitem__" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
67298  }
67299  arg2 = ptr;
67300  }
67301  try {
67302  result = (std::map< std::string,DataColumn * >::mapped_type *) &std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____getitem__(arg1,(std::string const &)*arg2);
67303  }
67304  catch(std::out_of_range &_e) {
67305  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
67306  }
67307 
67308  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(*result), SWIGTYPE_p_DataColumn, 0 | 0 );
67309  if (SWIG_IsNewObj(res2)) delete arg2;
67310  return resultobj;
67311 fail:
67312  if (SWIG_IsNewObj(res2)) delete arg2;
67313  return NULL;
67314 }
67315 
67316 
67317 SWIGINTERN PyObject *_wrap_map_string_DataColumn___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67318  PyObject *resultobj = 0;
67319  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67320  std::map< std::string,DataColumn * >::key_type *arg2 = 0 ;
67321  void *argp1 = 0 ;
67322  int res1 = 0 ;
67323  int res2 = SWIG_OLDOBJ ;
67324  PyObject * obj0 = 0 ;
67325  PyObject * obj1 = 0 ;
67326 
67327  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_DataColumn___delitem__",&obj0,&obj1)) SWIG_fail;
67328  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67329  if (!SWIG_IsOK(res1)) {
67330  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn___delitem__" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67331  }
67332  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67333  {
67334  std::string *ptr = (std::string *)0;
67335  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
67336  if (!SWIG_IsOK(res2)) {
67337  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_DataColumn___delitem__" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
67338  }
67339  if (!ptr) {
67340  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_DataColumn___delitem__" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
67341  }
67342  arg2 = ptr;
67343  }
67344  try {
67345  std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____delitem__(arg1,(std::string const &)*arg2);
67346  }
67347  catch(std::out_of_range &_e) {
67348  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
67349  }
67350 
67351  resultobj = SWIG_Py_Void();
67352  if (SWIG_IsNewObj(res2)) delete arg2;
67353  return resultobj;
67354 fail:
67355  if (SWIG_IsNewObj(res2)) delete arg2;
67356  return NULL;
67357 }
67358 
67359 
67360 SWIGINTERN PyObject *_wrap_map_string_DataColumn_has_key(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67361  PyObject *resultobj = 0;
67362  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67363  std::map< std::string,DataColumn * >::key_type *arg2 = 0 ;
67364  void *argp1 = 0 ;
67365  int res1 = 0 ;
67366  int res2 = SWIG_OLDOBJ ;
67367  PyObject * obj0 = 0 ;
67368  PyObject * obj1 = 0 ;
67369  bool result;
67370 
67371  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_DataColumn_has_key",&obj0,&obj1)) SWIG_fail;
67372  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67373  if (!SWIG_IsOK(res1)) {
67374  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_has_key" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > const *""'");
67375  }
67376  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67377  {
67378  std::string *ptr = (std::string *)0;
67379  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
67380  if (!SWIG_IsOK(res2)) {
67381  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_DataColumn_has_key" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
67382  }
67383  if (!ptr) {
67384  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_DataColumn_has_key" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
67385  }
67386  arg2 = ptr;
67387  }
67388  result = (bool)std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__has_key((std::map< std::string,DataColumn * > const *)arg1,(std::string const &)*arg2);
67389  resultobj = SWIG_From_bool(static_cast< bool >(result));
67390  if (SWIG_IsNewObj(res2)) delete arg2;
67391  return resultobj;
67392 fail:
67393  if (SWIG_IsNewObj(res2)) delete arg2;
67394  return NULL;
67395 }
67396 
67397 
67398 SWIGINTERN PyObject *_wrap_map_string_DataColumn_keys(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67399  PyObject *resultobj = 0;
67400  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67401  void *argp1 = 0 ;
67402  int res1 = 0 ;
67403  PyObject * obj0 = 0 ;
67404  PyObject *result = 0 ;
67405 
67406  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn_keys",&obj0)) SWIG_fail;
67407  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67408  if (!SWIG_IsOK(res1)) {
67409  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_keys" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67410  }
67411  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67412  result = (PyObject *)std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__keys(arg1);
67413  resultobj = result;
67414  return resultobj;
67415 fail:
67416  return NULL;
67417 }
67418 
67419 
67420 SWIGINTERN PyObject *_wrap_map_string_DataColumn_values(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67421  PyObject *resultobj = 0;
67422  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67423  void *argp1 = 0 ;
67424  int res1 = 0 ;
67425  PyObject * obj0 = 0 ;
67426  PyObject *result = 0 ;
67427 
67428  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn_values",&obj0)) SWIG_fail;
67429  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67430  if (!SWIG_IsOK(res1)) {
67431  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_values" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67432  }
67433  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67434  result = (PyObject *)std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__values(arg1);
67435  resultobj = result;
67436  return resultobj;
67437 fail:
67438  return NULL;
67439 }
67440 
67441 
67442 SWIGINTERN PyObject *_wrap_map_string_DataColumn_items(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67443  PyObject *resultobj = 0;
67444  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67445  void *argp1 = 0 ;
67446  int res1 = 0 ;
67447  PyObject * obj0 = 0 ;
67448  PyObject *result = 0 ;
67449 
67450  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn_items",&obj0)) SWIG_fail;
67451  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67452  if (!SWIG_IsOK(res1)) {
67453  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_items" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67454  }
67455  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67456  result = (PyObject *)std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__items(arg1);
67457  resultobj = result;
67458  return resultobj;
67459 fail:
67460  return NULL;
67461 }
67462 
67463 
67464 SWIGINTERN PyObject *_wrap_map_string_DataColumn___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67465  PyObject *resultobj = 0;
67466  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67467  std::map< std::string,DataColumn * >::key_type *arg2 = 0 ;
67468  void *argp1 = 0 ;
67469  int res1 = 0 ;
67470  int res2 = SWIG_OLDOBJ ;
67471  PyObject * obj0 = 0 ;
67472  PyObject * obj1 = 0 ;
67473  bool result;
67474 
67475  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_DataColumn___contains__",&obj0,&obj1)) SWIG_fail;
67476  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67477  if (!SWIG_IsOK(res1)) {
67478  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn___contains__" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67479  }
67480  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67481  {
67482  std::string *ptr = (std::string *)0;
67483  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
67484  if (!SWIG_IsOK(res2)) {
67485  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_DataColumn___contains__" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
67486  }
67487  if (!ptr) {
67488  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_DataColumn___contains__" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
67489  }
67490  arg2 = ptr;
67491  }
67492  result = (bool)std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____contains__(arg1,(std::string const &)*arg2);
67493  resultobj = SWIG_From_bool(static_cast< bool >(result));
67494  if (SWIG_IsNewObj(res2)) delete arg2;
67495  return resultobj;
67496 fail:
67497  if (SWIG_IsNewObj(res2)) delete arg2;
67498  return NULL;
67499 }
67500 
67501 
67502 SWIGINTERN PyObject *_wrap_map_string_DataColumn_key_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67503  PyObject *resultobj = 0;
67504  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67505  PyObject **arg2 = (PyObject **) 0 ;
67506  void *argp1 = 0 ;
67507  int res1 = 0 ;
67508  PyObject * obj0 = 0 ;
67509  swig::SwigPyIterator *result = 0 ;
67510 
67511  arg2 = &obj0;
67512  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn_key_iterator",&obj0)) SWIG_fail;
67513  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67514  if (!SWIG_IsOK(res1)) {
67515  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_key_iterator" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67516  }
67517  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67518  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__key_iterator(arg1,arg2);
67519  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
67520  return resultobj;
67521 fail:
67522  return NULL;
67523 }
67524 
67525 
67526 SWIGINTERN PyObject *_wrap_map_string_DataColumn_value_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67527  PyObject *resultobj = 0;
67528  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67529  PyObject **arg2 = (PyObject **) 0 ;
67530  void *argp1 = 0 ;
67531  int res1 = 0 ;
67532  PyObject * obj0 = 0 ;
67533  swig::SwigPyIterator *result = 0 ;
67534 
67535  arg2 = &obj0;
67536  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn_value_iterator",&obj0)) SWIG_fail;
67537  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67538  if (!SWIG_IsOK(res1)) {
67539  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_value_iterator" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67540  }
67541  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67542  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__value_iterator(arg1,arg2);
67543  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
67544  return resultobj;
67545 fail:
67546  return NULL;
67547 }
67548 
67549 
67550 SWIGINTERN PyObject *_wrap_map_string_DataColumn___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67551  PyObject *resultobj = 0;
67552  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67553  std::map< std::string,DataColumn * >::key_type *arg2 = 0 ;
67554  void *argp1 = 0 ;
67555  int res1 = 0 ;
67556  int res2 = SWIG_OLDOBJ ;
67557  PyObject * obj0 = 0 ;
67558  PyObject * obj1 = 0 ;
67559 
67560  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_DataColumn___setitem__",&obj0,&obj1)) SWIG_fail;
67561  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67562  if (!SWIG_IsOK(res1)) {
67563  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn___setitem__" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67564  }
67565  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67566  {
67567  std::string *ptr = (std::string *)0;
67568  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
67569  if (!SWIG_IsOK(res2)) {
67570  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_DataColumn___setitem__" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
67571  }
67572  if (!ptr) {
67573  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_DataColumn___setitem__" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
67574  }
67575  arg2 = ptr;
67576  }
67577  std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____setitem____SWIG_0(arg1,(std::string const &)*arg2);
67578  resultobj = SWIG_Py_Void();
67579  if (SWIG_IsNewObj(res2)) delete arg2;
67580  return resultobj;
67581 fail:
67582  if (SWIG_IsNewObj(res2)) delete arg2;
67583  return NULL;
67584 }
67585 
67586 
67587 SWIGINTERN PyObject *_wrap_map_string_DataColumn___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67588  PyObject *resultobj = 0;
67589  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67590  std::map< std::string,DataColumn * >::key_type *arg2 = 0 ;
67591  std::map< std::string,DataColumn * >::mapped_type *arg3 = 0 ;
67592  void *argp1 = 0 ;
67593  int res1 = 0 ;
67594  int res2 = SWIG_OLDOBJ ;
67595  void *argp3 = 0 ;
67596  int res3 = 0 ;
67597  std::map< std::string,DataColumn * >::mapped_type temp3 ;
67598  PyObject * obj0 = 0 ;
67599  PyObject * obj1 = 0 ;
67600  PyObject * obj2 = 0 ;
67601 
67602  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_DataColumn___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
67603  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67604  if (!SWIG_IsOK(res1)) {
67605  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn___setitem__" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67606  }
67607  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67608  {
67609  std::string *ptr = (std::string *)0;
67610  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
67611  if (!SWIG_IsOK(res2)) {
67612  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_DataColumn___setitem__" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
67613  }
67614  if (!ptr) {
67615  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_DataColumn___setitem__" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
67616  }
67617  arg2 = ptr;
67618  }
67619  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_DataColumn, 0 | 0 );
67620  if (!SWIG_IsOK(res3)) {
67621  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "map_string_DataColumn___setitem__" "', argument " "3"" of type '" "std::map< std::string,DataColumn * >::mapped_type""'");
67622  }
67623  temp3 = reinterpret_cast< std::map< std::string,DataColumn * >::mapped_type >(argp3);
67624  arg3 = reinterpret_cast< std::map< std::string,DataColumn * >::mapped_type * >(&temp3);
67625  try {
67626  std_map_Sl_std_string_Sc_DataColumn_Sm__Sg____setitem____SWIG_1(arg1,(std::string const &)*arg2,(DataColumn *const &)*arg3);
67627  }
67628  catch(std::out_of_range &_e) {
67629  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
67630  }
67631 
67632  resultobj = SWIG_Py_Void();
67633  if (SWIG_IsNewObj(res2)) delete arg2;
67634  return resultobj;
67635 fail:
67636  if (SWIG_IsNewObj(res2)) delete arg2;
67637  return NULL;
67638 }
67639 
67640 
67641 SWIGINTERN PyObject *_wrap_map_string_DataColumn___setitem__(PyObject *self, PyObject *args) {
67642  int argc;
67643  PyObject *argv[4];
67644  int ii;
67645 
67646  if (!PyTuple_Check(args)) SWIG_fail;
67647  argc = args ? (int)PyObject_Length(args) : 0;
67648  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
67649  argv[ii] = PyTuple_GET_ITEM(args,ii);
67650  }
67651  if (argc == 2) {
67652  int _v;
67653  int res = swig::asptr(argv[0], (std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >**)(0));
67654  _v = SWIG_CheckState(res);
67655  if (_v) {
67656  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
67657  _v = SWIG_CheckState(res);
67658  if (_v) {
67659  return _wrap_map_string_DataColumn___setitem____SWIG_0(self, args);
67660  }
67661  }
67662  }
67663  if (argc == 3) {
67664  int _v;
67665  int res = swig::asptr(argv[0], (std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >**)(0));
67666  _v = SWIG_CheckState(res);
67667  if (_v) {
67668  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
67669  _v = SWIG_CheckState(res);
67670  if (_v) {
67671  void *vptr = 0;
67672  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_DataColumn, 0);
67673  _v = SWIG_CheckState(res);
67674  if (_v) {
67675  return _wrap_map_string_DataColumn___setitem____SWIG_1(self, args);
67676  }
67677  }
67678  }
67679  }
67680 
67681 fail:
67682  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_DataColumn___setitem__'.\n"
67683  " Possible C/C++ prototypes are:\n"
67684  " std::map< std::string,DataColumn * >::__setitem__(std::map< std::string,DataColumn * >::key_type const &)\n"
67685  " std::map< std::string,DataColumn * >::__setitem__(std::map< std::string,DataColumn * >::key_type const &,std::map< std::string,DataColumn * >::mapped_type const &)\n");
67686  return 0;
67687 }
67688 
67689 
67690 SWIGINTERN PyObject *_wrap_map_string_DataColumn_asdict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67691  PyObject *resultobj = 0;
67692  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67693  void *argp1 = 0 ;
67694  int res1 = 0 ;
67695  PyObject * obj0 = 0 ;
67696  PyObject *result = 0 ;
67697 
67698  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn_asdict",&obj0)) SWIG_fail;
67699  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67700  if (!SWIG_IsOK(res1)) {
67701  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_asdict" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67702  }
67703  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67704  result = (PyObject *)std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__asdict(arg1);
67705  resultobj = result;
67706  return resultobj;
67707 fail:
67708  return NULL;
67709 }
67710 
67711 
67712 SWIGINTERN PyObject *_wrap_new_map_string_DataColumn__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67713  PyObject *resultobj = 0;
67714  std::map< std::string,DataColumn * > *result = 0 ;
67715 
67716  if (!PyArg_ParseTuple(args,(char *)":new_map_string_DataColumn")) SWIG_fail;
67717  result = (std::map< std::string,DataColumn * > *)new std::map< std::string,DataColumn * >();
67718  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
67719  return resultobj;
67720 fail:
67721  return NULL;
67722 }
67723 
67724 
67725 SWIGINTERN PyObject *_wrap_new_map_string_DataColumn__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67726  PyObject *resultobj = 0;
67727  std::map< std::string,DataColumn * > *arg1 = 0 ;
67728  int res1 = SWIG_OLDOBJ ;
67729  PyObject * obj0 = 0 ;
67730  std::map< std::string,DataColumn * > *result = 0 ;
67731 
67732  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_DataColumn",&obj0)) SWIG_fail;
67733  {
67734  std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > > *ptr = (std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > > *)0;
67735  res1 = swig::asptr(obj0, &ptr);
67736  if (!SWIG_IsOK(res1)) {
67737  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_DataColumn" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > const &""'");
67738  }
67739  if (!ptr) {
67740  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_DataColumn" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > const &""'");
67741  }
67742  arg1 = ptr;
67743  }
67744  result = (std::map< std::string,DataColumn * > *)new std::map< std::string,DataColumn * >((std::map< std::string,DataColumn * > const &)*arg1);
67745  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
67746  if (SWIG_IsNewObj(res1)) delete arg1;
67747  return resultobj;
67748 fail:
67749  if (SWIG_IsNewObj(res1)) delete arg1;
67750  return NULL;
67751 }
67752 
67753 
67754 SWIGINTERN PyObject *_wrap_new_map_string_DataColumn(PyObject *self, PyObject *args) {
67755  int argc;
67756  PyObject *argv[2];
67757  int ii;
67758 
67759  if (!PyTuple_Check(args)) SWIG_fail;
67760  argc = args ? (int)PyObject_Length(args) : 0;
67761  for (ii = 0; (ii < 1) && (ii < argc); ii++) {
67762  argv[ii] = PyTuple_GET_ITEM(args,ii);
67763  }
67764  if (argc == 0) {
67765  return _wrap_new_map_string_DataColumn__SWIG_1(self, args);
67766  }
67767  if (argc == 1) {
67768  int _v;
67769  int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__lessT_std__string_t, 0);
67770  _v = SWIG_CheckState(res);
67771  if (_v) {
67772  return _wrap_new_map_string_DataColumn__SWIG_0(self, args);
67773  }
67774  }
67775  if (argc == 1) {
67776  int _v;
67777  int res = swig::asptr(argv[0], (std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >**)(0));
67778  _v = SWIG_CheckState(res);
67779  if (_v) {
67780  return _wrap_new_map_string_DataColumn__SWIG_2(self, args);
67781  }
67782  }
67783 
67784 fail:
67785  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_map_string_DataColumn'.\n"
67786  " Possible C/C++ prototypes are:\n"
67787  " std::map< std::string,DataColumn * >::map(std::less< std::string > const &)\n"
67788  " std::map< std::string,DataColumn * >::map()\n"
67789  " std::map< std::string,DataColumn * >::map(std::map< std::string,DataColumn * > const &)\n");
67790  return 0;
67791 }
67792 
67793 
67794 SWIGINTERN PyObject *_wrap_map_string_DataColumn_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67795  PyObject *resultobj = 0;
67796  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67797  void *argp1 = 0 ;
67798  int res1 = 0 ;
67799  PyObject * obj0 = 0 ;
67800  bool result;
67801 
67802  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn_empty",&obj0)) SWIG_fail;
67803  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67804  if (!SWIG_IsOK(res1)) {
67805  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_empty" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > const *""'");
67806  }
67807  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67808  result = (bool)((std::map< std::string,DataColumn * > const *)arg1)->empty();
67809  resultobj = SWIG_From_bool(static_cast< bool >(result));
67810  return resultobj;
67811 fail:
67812  return NULL;
67813 }
67814 
67815 
67816 SWIGINTERN PyObject *_wrap_map_string_DataColumn_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67817  PyObject *resultobj = 0;
67818  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67819  void *argp1 = 0 ;
67820  int res1 = 0 ;
67821  PyObject * obj0 = 0 ;
67822  std::map< std::string,DataColumn * >::size_type result;
67823 
67824  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn_size",&obj0)) SWIG_fail;
67825  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67826  if (!SWIG_IsOK(res1)) {
67827  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_size" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > const *""'");
67828  }
67829  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67830  result = ((std::map< std::string,DataColumn * > const *)arg1)->size();
67831  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
67832  return resultobj;
67833 fail:
67834  return NULL;
67835 }
67836 
67837 
67838 SWIGINTERN PyObject *_wrap_map_string_DataColumn_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67839  PyObject *resultobj = 0;
67840  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67841  void *argp1 = 0 ;
67842  int res1 = 0 ;
67843  PyObject * obj0 = 0 ;
67844 
67845  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn_clear",&obj0)) SWIG_fail;
67846  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67847  if (!SWIG_IsOK(res1)) {
67848  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_clear" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67849  }
67850  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67851  (arg1)->clear();
67852  resultobj = SWIG_Py_Void();
67853  return resultobj;
67854 fail:
67855  return NULL;
67856 }
67857 
67858 
67859 SWIGINTERN PyObject *_wrap_map_string_DataColumn_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67860  PyObject *resultobj = 0;
67861  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67862  std::map< std::string,DataColumn * > *arg2 = 0 ;
67863  void *argp1 = 0 ;
67864  int res1 = 0 ;
67865  void *argp2 = 0 ;
67866  int res2 = 0 ;
67867  PyObject * obj0 = 0 ;
67868  PyObject * obj1 = 0 ;
67869 
67870  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_DataColumn_swap",&obj0,&obj1)) SWIG_fail;
67871  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67872  if (!SWIG_IsOK(res1)) {
67873  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_swap" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67874  }
67875  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67876  res2 = SWIG_ConvertPtr(obj1, &argp2, 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, 0 );
67877  if (!SWIG_IsOK(res2)) {
67878  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_DataColumn_swap" "', argument " "2"" of type '" "std::map< std::string,DataColumn * > &""'");
67879  }
67880  if (!argp2) {
67881  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_DataColumn_swap" "', argument " "2"" of type '" "std::map< std::string,DataColumn * > &""'");
67882  }
67883  arg2 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp2);
67884  (arg1)->swap(*arg2);
67885  resultobj = SWIG_Py_Void();
67886  return resultobj;
67887 fail:
67888  return NULL;
67889 }
67890 
67891 
67892 SWIGINTERN PyObject *_wrap_map_string_DataColumn_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67893  PyObject *resultobj = 0;
67894  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67895  void *argp1 = 0 ;
67896  int res1 = 0 ;
67897  PyObject * obj0 = 0 ;
67898  SwigValueWrapper< std::allocator< std::pair< std::string const,DataColumn * > > > result;
67899 
67900  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn_get_allocator",&obj0)) SWIG_fail;
67901  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67902  if (!SWIG_IsOK(res1)) {
67903  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_get_allocator" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > const *""'");
67904  }
67905  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67906  result = ((std::map< std::string,DataColumn * > const *)arg1)->get_allocator();
67907  resultobj = SWIG_NewPointerObj((new std::map< std::string,DataColumn * >::allocator_type(static_cast< const std::map< std::string,DataColumn * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t, SWIG_POINTER_OWN | 0 );
67908  return resultobj;
67909 fail:
67910  return NULL;
67911 }
67912 
67913 
67914 SWIGINTERN PyObject *_wrap_map_string_DataColumn_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67915  PyObject *resultobj = 0;
67916  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67917  void *argp1 = 0 ;
67918  int res1 = 0 ;
67919  PyObject * obj0 = 0 ;
67920  std::map< std::string,DataColumn * >::iterator result;
67921 
67922  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn_begin",&obj0)) SWIG_fail;
67923  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67924  if (!SWIG_IsOK(res1)) {
67925  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_begin" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67926  }
67927  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67928  result = (arg1)->begin();
67929  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,DataColumn * >::iterator & >(result)),
67930  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
67931  return resultobj;
67932 fail:
67933  return NULL;
67934 }
67935 
67936 
67937 SWIGINTERN PyObject *_wrap_map_string_DataColumn_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67938  PyObject *resultobj = 0;
67939  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67940  void *argp1 = 0 ;
67941  int res1 = 0 ;
67942  PyObject * obj0 = 0 ;
67943  std::map< std::string,DataColumn * >::iterator result;
67944 
67945  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn_end",&obj0)) SWIG_fail;
67946  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67947  if (!SWIG_IsOK(res1)) {
67948  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_end" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67949  }
67950  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67951  result = (arg1)->end();
67952  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,DataColumn * >::iterator & >(result)),
67953  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
67954  return resultobj;
67955 fail:
67956  return NULL;
67957 }
67958 
67959 
67960 SWIGINTERN PyObject *_wrap_map_string_DataColumn_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67961  PyObject *resultobj = 0;
67962  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67963  void *argp1 = 0 ;
67964  int res1 = 0 ;
67965  PyObject * obj0 = 0 ;
67966  std::map< std::string,DataColumn * >::reverse_iterator result;
67967 
67968  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn_rbegin",&obj0)) SWIG_fail;
67969  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67970  if (!SWIG_IsOK(res1)) {
67971  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_rbegin" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67972  }
67973  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67974  result = (arg1)->rbegin();
67975  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,DataColumn * >::reverse_iterator & >(result)),
67976  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
67977  return resultobj;
67978 fail:
67979  return NULL;
67980 }
67981 
67982 
67983 SWIGINTERN PyObject *_wrap_map_string_DataColumn_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
67984  PyObject *resultobj = 0;
67985  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
67986  void *argp1 = 0 ;
67987  int res1 = 0 ;
67988  PyObject * obj0 = 0 ;
67989  std::map< std::string,DataColumn * >::reverse_iterator result;
67990 
67991  if (!PyArg_ParseTuple(args,(char *)"O:map_string_DataColumn_rend",&obj0)) SWIG_fail;
67992  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
67993  if (!SWIG_IsOK(res1)) {
67994  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_rend" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
67995  }
67996  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
67997  result = (arg1)->rend();
67998  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,DataColumn * >::reverse_iterator & >(result)),
67999  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
68000  return resultobj;
68001 fail:
68002  return NULL;
68003 }
68004 
68005 
68006 SWIGINTERN PyObject *_wrap_map_string_DataColumn_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68007  PyObject *resultobj = 0;
68008  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
68009  std::map< std::string,DataColumn * >::key_type *arg2 = 0 ;
68010  void *argp1 = 0 ;
68011  int res1 = 0 ;
68012  int res2 = SWIG_OLDOBJ ;
68013  PyObject * obj0 = 0 ;
68014  PyObject * obj1 = 0 ;
68015  std::map< std::string,DataColumn * >::size_type result;
68016 
68017  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_DataColumn_erase",&obj0,&obj1)) SWIG_fail;
68018  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68019  if (!SWIG_IsOK(res1)) {
68020  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_erase" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
68021  }
68022  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
68023  {
68024  std::string *ptr = (std::string *)0;
68025  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
68026  if (!SWIG_IsOK(res2)) {
68027  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_DataColumn_erase" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
68028  }
68029  if (!ptr) {
68030  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_DataColumn_erase" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
68031  }
68032  arg2 = ptr;
68033  }
68034  result = (arg1)->erase((std::map< std::string,DataColumn * >::key_type const &)*arg2);
68035  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
68036  if (SWIG_IsNewObj(res2)) delete arg2;
68037  return resultobj;
68038 fail:
68039  if (SWIG_IsNewObj(res2)) delete arg2;
68040  return NULL;
68041 }
68042 
68043 
68044 SWIGINTERN PyObject *_wrap_map_string_DataColumn_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68045  PyObject *resultobj = 0;
68046  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
68047  std::map< std::string,DataColumn * >::key_type *arg2 = 0 ;
68048  void *argp1 = 0 ;
68049  int res1 = 0 ;
68050  int res2 = SWIG_OLDOBJ ;
68051  PyObject * obj0 = 0 ;
68052  PyObject * obj1 = 0 ;
68053  std::map< std::string,DataColumn * >::size_type result;
68054 
68055  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_DataColumn_count",&obj0,&obj1)) SWIG_fail;
68056  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68057  if (!SWIG_IsOK(res1)) {
68058  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_count" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > const *""'");
68059  }
68060  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
68061  {
68062  std::string *ptr = (std::string *)0;
68063  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
68064  if (!SWIG_IsOK(res2)) {
68065  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_DataColumn_count" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
68066  }
68067  if (!ptr) {
68068  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_DataColumn_count" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
68069  }
68070  arg2 = ptr;
68071  }
68072  result = ((std::map< std::string,DataColumn * > const *)arg1)->count((std::map< std::string,DataColumn * >::key_type const &)*arg2);
68073  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
68074  if (SWIG_IsNewObj(res2)) delete arg2;
68075  return resultobj;
68076 fail:
68077  if (SWIG_IsNewObj(res2)) delete arg2;
68078  return NULL;
68079 }
68080 
68081 
68082 SWIGINTERN PyObject *_wrap_map_string_DataColumn_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68083  PyObject *resultobj = 0;
68084  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
68085  std::map< std::string,DataColumn * >::iterator arg2 ;
68086  void *argp1 = 0 ;
68087  int res1 = 0 ;
68088  swig::SwigPyIterator *iter2 = 0 ;
68089  int res2 ;
68090  PyObject * obj0 = 0 ;
68091  PyObject * obj1 = 0 ;
68092 
68093  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_DataColumn_erase",&obj0,&obj1)) SWIG_fail;
68094  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68095  if (!SWIG_IsOK(res1)) {
68096  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_erase" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
68097  }
68098  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
68099  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
68100  if (!SWIG_IsOK(res2) || !iter2) {
68101  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_DataColumn_erase" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::iterator""'");
68102  } else {
68104  if (iter_t) {
68105  arg2 = iter_t->get_current();
68106  } else {
68107  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_DataColumn_erase" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::iterator""'");
68108  }
68109  }
68110  std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__erase__SWIG_1(arg1,arg2);
68111  resultobj = SWIG_Py_Void();
68112  return resultobj;
68113 fail:
68114  return NULL;
68115 }
68116 
68117 
68118 SWIGINTERN PyObject *_wrap_map_string_DataColumn_erase__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68119  PyObject *resultobj = 0;
68120  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
68121  std::map< std::string,DataColumn * >::iterator arg2 ;
68122  std::map< std::string,DataColumn * >::iterator arg3 ;
68123  void *argp1 = 0 ;
68124  int res1 = 0 ;
68125  swig::SwigPyIterator *iter2 = 0 ;
68126  int res2 ;
68127  swig::SwigPyIterator *iter3 = 0 ;
68128  int res3 ;
68129  PyObject * obj0 = 0 ;
68130  PyObject * obj1 = 0 ;
68131  PyObject * obj2 = 0 ;
68132 
68133  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_DataColumn_erase",&obj0,&obj1,&obj2)) SWIG_fail;
68134  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68135  if (!SWIG_IsOK(res1)) {
68136  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_erase" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
68137  }
68138  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
68139  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
68140  if (!SWIG_IsOK(res2) || !iter2) {
68141  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_DataColumn_erase" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::iterator""'");
68142  } else {
68144  if (iter_t) {
68145  arg2 = iter_t->get_current();
68146  } else {
68147  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_DataColumn_erase" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::iterator""'");
68148  }
68149  }
68150  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
68151  if (!SWIG_IsOK(res3) || !iter3) {
68152  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_DataColumn_erase" "', argument " "3"" of type '" "std::map< std::string,DataColumn * >::iterator""'");
68153  } else {
68155  if (iter_t) {
68156  arg3 = iter_t->get_current();
68157  } else {
68158  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_DataColumn_erase" "', argument " "3"" of type '" "std::map< std::string,DataColumn * >::iterator""'");
68159  }
68160  }
68161  std_map_Sl_std_string_Sc_DataColumn_Sm__Sg__erase__SWIG_2(arg1,arg2,arg3);
68162  resultobj = SWIG_Py_Void();
68163  return resultobj;
68164 fail:
68165  return NULL;
68166 }
68167 
68168 
68169 SWIGINTERN PyObject *_wrap_map_string_DataColumn_erase(PyObject *self, PyObject *args) {
68170  int argc;
68171  PyObject *argv[4];
68172  int ii;
68173 
68174  if (!PyTuple_Check(args)) SWIG_fail;
68175  argc = args ? (int)PyObject_Length(args) : 0;
68176  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
68177  argv[ii] = PyTuple_GET_ITEM(args,ii);
68178  }
68179  if (argc == 2) {
68180  int _v;
68181  int res = swig::asptr(argv[0], (std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >**)(0));
68182  _v = SWIG_CheckState(res);
68183  if (_v) {
68184  swig::SwigPyIterator *iter = 0;
68185  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
68186  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,DataColumn * >::iterator > *>(iter) != 0));
68187  if (_v) {
68188  return _wrap_map_string_DataColumn_erase__SWIG_1(self, args);
68189  }
68190  }
68191  }
68192  if (argc == 2) {
68193  int _v;
68194  int res = swig::asptr(argv[0], (std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >**)(0));
68195  _v = SWIG_CheckState(res);
68196  if (_v) {
68197  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
68198  _v = SWIG_CheckState(res);
68199  if (_v) {
68200  return _wrap_map_string_DataColumn_erase__SWIG_0(self, args);
68201  }
68202  }
68203  }
68204  if (argc == 3) {
68205  int _v;
68206  int res = swig::asptr(argv[0], (std::map<std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >**)(0));
68207  _v = SWIG_CheckState(res);
68208  if (_v) {
68209  swig::SwigPyIterator *iter = 0;
68210  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
68211  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,DataColumn * >::iterator > *>(iter) != 0));
68212  if (_v) {
68213  swig::SwigPyIterator *iter = 0;
68214  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
68215  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,DataColumn * >::iterator > *>(iter) != 0));
68216  if (_v) {
68217  return _wrap_map_string_DataColumn_erase__SWIG_2(self, args);
68218  }
68219  }
68220  }
68221  }
68222 
68223 fail:
68224  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_DataColumn_erase'.\n"
68225  " Possible C/C++ prototypes are:\n"
68226  " std::map< std::string,DataColumn * >::erase(std::map< std::string,DataColumn * >::key_type const &)\n"
68227  " std::map< std::string,DataColumn * >::erase(std::map< std::string,DataColumn * >::iterator)\n"
68228  " std::map< std::string,DataColumn * >::erase(std::map< std::string,DataColumn * >::iterator,std::map< std::string,DataColumn * >::iterator)\n");
68229  return 0;
68230 }
68231 
68232 
68233 SWIGINTERN PyObject *_wrap_map_string_DataColumn_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68234  PyObject *resultobj = 0;
68235  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
68236  std::map< std::string,DataColumn * >::key_type *arg2 = 0 ;
68237  void *argp1 = 0 ;
68238  int res1 = 0 ;
68239  int res2 = SWIG_OLDOBJ ;
68240  PyObject * obj0 = 0 ;
68241  PyObject * obj1 = 0 ;
68242  std::map< std::string,DataColumn * >::iterator result;
68243 
68244  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_DataColumn_find",&obj0,&obj1)) SWIG_fail;
68245  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68246  if (!SWIG_IsOK(res1)) {
68247  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_find" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
68248  }
68249  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
68250  {
68251  std::string *ptr = (std::string *)0;
68252  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
68253  if (!SWIG_IsOK(res2)) {
68254  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_DataColumn_find" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
68255  }
68256  if (!ptr) {
68257  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_DataColumn_find" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
68258  }
68259  arg2 = ptr;
68260  }
68261  result = (arg1)->find((std::map< std::string,DataColumn * >::key_type const &)*arg2);
68262  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,DataColumn * >::iterator & >(result)),
68263  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
68264  if (SWIG_IsNewObj(res2)) delete arg2;
68265  return resultobj;
68266 fail:
68267  if (SWIG_IsNewObj(res2)) delete arg2;
68268  return NULL;
68269 }
68270 
68271 
68272 SWIGINTERN PyObject *_wrap_map_string_DataColumn_lower_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68273  PyObject *resultobj = 0;
68274  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
68275  std::map< std::string,DataColumn * >::key_type *arg2 = 0 ;
68276  void *argp1 = 0 ;
68277  int res1 = 0 ;
68278  int res2 = SWIG_OLDOBJ ;
68279  PyObject * obj0 = 0 ;
68280  PyObject * obj1 = 0 ;
68281  std::map< std::string,DataColumn * >::iterator result;
68282 
68283  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_DataColumn_lower_bound",&obj0,&obj1)) SWIG_fail;
68284  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68285  if (!SWIG_IsOK(res1)) {
68286  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_lower_bound" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
68287  }
68288  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
68289  {
68290  std::string *ptr = (std::string *)0;
68291  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
68292  if (!SWIG_IsOK(res2)) {
68293  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_DataColumn_lower_bound" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
68294  }
68295  if (!ptr) {
68296  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_DataColumn_lower_bound" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
68297  }
68298  arg2 = ptr;
68299  }
68300  result = (arg1)->lower_bound((std::map< std::string,DataColumn * >::key_type const &)*arg2);
68301  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,DataColumn * >::iterator & >(result)),
68302  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
68303  if (SWIG_IsNewObj(res2)) delete arg2;
68304  return resultobj;
68305 fail:
68306  if (SWIG_IsNewObj(res2)) delete arg2;
68307  return NULL;
68308 }
68309 
68310 
68311 SWIGINTERN PyObject *_wrap_map_string_DataColumn_upper_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68312  PyObject *resultobj = 0;
68313  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
68314  std::map< std::string,DataColumn * >::key_type *arg2 = 0 ;
68315  void *argp1 = 0 ;
68316  int res1 = 0 ;
68317  int res2 = SWIG_OLDOBJ ;
68318  PyObject * obj0 = 0 ;
68319  PyObject * obj1 = 0 ;
68320  std::map< std::string,DataColumn * >::iterator result;
68321 
68322  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_DataColumn_upper_bound",&obj0,&obj1)) SWIG_fail;
68323  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68324  if (!SWIG_IsOK(res1)) {
68325  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_DataColumn_upper_bound" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
68326  }
68327  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
68328  {
68329  std::string *ptr = (std::string *)0;
68330  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
68331  if (!SWIG_IsOK(res2)) {
68332  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_DataColumn_upper_bound" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
68333  }
68334  if (!ptr) {
68335  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_DataColumn_upper_bound" "', argument " "2"" of type '" "std::map< std::string,DataColumn * >::key_type const &""'");
68336  }
68337  arg2 = ptr;
68338  }
68339  result = (arg1)->upper_bound((std::map< std::string,DataColumn * >::key_type const &)*arg2);
68340  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,DataColumn * >::iterator & >(result)),
68341  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
68342  if (SWIG_IsNewObj(res2)) delete arg2;
68343  return resultobj;
68344 fail:
68345  if (SWIG_IsNewObj(res2)) delete arg2;
68346  return NULL;
68347 }
68348 
68349 
68350 SWIGINTERN PyObject *_wrap_delete_map_string_DataColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68351  PyObject *resultobj = 0;
68352  std::map< std::string,DataColumn * > *arg1 = (std::map< std::string,DataColumn * > *) 0 ;
68353  void *argp1 = 0 ;
68354  int res1 = 0 ;
68355  PyObject * obj0 = 0 ;
68356 
68357  if (!PyArg_ParseTuple(args,(char *)"O:delete_map_string_DataColumn",&obj0)) SWIG_fail;
68358  res1 = SWIG_ConvertPtr(obj0, &argp1,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_POINTER_DISOWN | 0 );
68359  if (!SWIG_IsOK(res1)) {
68360  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_map_string_DataColumn" "', argument " "1"" of type '" "std::map< std::string,DataColumn * > *""'");
68361  }
68362  arg1 = reinterpret_cast< std::map< std::string,DataColumn * > * >(argp1);
68363  {
68364  try {
68365  delete arg1;
68366  }
68367  catch(CStdErrorInfo oError)
68368  {
68369  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
68370  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
68371  PyErr_SetString(PyExc_IndexError, strError.c_str());
68372  SWIG_fail;
68373  }
68374  catch(...)
68375  {
68376  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
68377  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
68378  SWIG_fail;
68379  }
68380  }
68381  resultobj = SWIG_Py_Void();
68382  return resultobj;
68383 fail:
68384  return NULL;
68385 }
68386 
68387 
68388 SWIGINTERN PyObject *map_string_DataColumn_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68389  PyObject *obj;
68390  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
68391  SWIG_TypeNewClientData(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_NewClientData(obj));
68392  return SWIG_Py_Void();
68393 }
68394 
68395 SWIGINTERN PyObject *_wrap_new_map_string_IStdClassFactory__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68396  PyObject *resultobj = 0;
68397  std::less< std::string > *arg1 = 0 ;
68398  void *argp1 = 0 ;
68399  int res1 = 0 ;
68400  PyObject * obj0 = 0 ;
68401  std::map< std::string,IStdClassFactory * > *result = 0 ;
68402 
68403  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_IStdClassFactory",&obj0)) SWIG_fail;
68404  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__lessT_std__string_t, 0 | 0);
68405  if (!SWIG_IsOK(res1)) {
68406  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_IStdClassFactory" "', argument " "1"" of type '" "std::less< std::string > const &""'");
68407  }
68408  if (!argp1) {
68409  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_IStdClassFactory" "', argument " "1"" of type '" "std::less< std::string > const &""'");
68410  }
68411  arg1 = reinterpret_cast< std::less< std::string > * >(argp1);
68412  result = (std::map< std::string,IStdClassFactory * > *)new std::map< std::string,IStdClassFactory * >((std::less< std::string > const &)*arg1);
68413  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
68414  return resultobj;
68415 fail:
68416  return NULL;
68417 }
68418 
68419 
68420 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68421  PyObject *resultobj = 0;
68422  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68423  PyObject **arg2 = (PyObject **) 0 ;
68424  void *argp1 = 0 ;
68425  int res1 = 0 ;
68426  PyObject * obj0 = 0 ;
68427  swig::SwigPyIterator *result = 0 ;
68428 
68429  arg2 = &obj0;
68430  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory_iterator",&obj0)) SWIG_fail;
68431  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68432  if (!SWIG_IsOK(res1)) {
68433  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_iterator" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
68434  }
68435  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68436  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__iterator(arg1,arg2);
68437  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
68438  return resultobj;
68439 fail:
68440  return NULL;
68441 }
68442 
68443 
68444 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68445  PyObject *resultobj = 0;
68446  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68447  void *argp1 = 0 ;
68448  int res1 = 0 ;
68449  PyObject * obj0 = 0 ;
68450  bool result;
68451 
68452  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory___nonzero__",&obj0)) SWIG_fail;
68453  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68454  if (!SWIG_IsOK(res1)) {
68455  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory___nonzero__" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > const *""'");
68456  }
68457  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68458  result = (bool)std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____nonzero__((std::map< std::string,IStdClassFactory * > const *)arg1);
68459  resultobj = SWIG_From_bool(static_cast< bool >(result));
68460  return resultobj;
68461 fail:
68462  return NULL;
68463 }
68464 
68465 
68466 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68467  PyObject *resultobj = 0;
68468  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68469  void *argp1 = 0 ;
68470  int res1 = 0 ;
68471  PyObject * obj0 = 0 ;
68472  bool result;
68473 
68474  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory___bool__",&obj0)) SWIG_fail;
68475  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68476  if (!SWIG_IsOK(res1)) {
68477  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory___bool__" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > const *""'");
68478  }
68479  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68480  result = (bool)std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____bool__((std::map< std::string,IStdClassFactory * > const *)arg1);
68481  resultobj = SWIG_From_bool(static_cast< bool >(result));
68482  return resultobj;
68483 fail:
68484  return NULL;
68485 }
68486 
68487 
68488 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68489  PyObject *resultobj = 0;
68490  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68491  void *argp1 = 0 ;
68492  int res1 = 0 ;
68493  PyObject * obj0 = 0 ;
68494  std::map< std::string,IStdClassFactory * >::size_type result;
68495 
68496  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory___len__",&obj0)) SWIG_fail;
68497  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68498  if (!SWIG_IsOK(res1)) {
68499  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory___len__" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > const *""'");
68500  }
68501  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68502  result = std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____len__((std::map< std::string,IStdClassFactory * > const *)arg1);
68503  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
68504  return resultobj;
68505 fail:
68506  return NULL;
68507 }
68508 
68509 
68510 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68511  PyObject *resultobj = 0;
68512  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68513  std::map< std::string,IStdClassFactory * >::key_type *arg2 = 0 ;
68514  void *argp1 = 0 ;
68515  int res1 = 0 ;
68516  int res2 = SWIG_OLDOBJ ;
68517  PyObject * obj0 = 0 ;
68518  PyObject * obj1 = 0 ;
68519  std::map< std::string,IStdClassFactory * >::mapped_type *result = 0 ;
68520 
68521  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_IStdClassFactory___getitem__",&obj0,&obj1)) SWIG_fail;
68522  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68523  if (!SWIG_IsOK(res1)) {
68524  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory___getitem__" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
68525  }
68526  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68527  {
68528  std::string *ptr = (std::string *)0;
68529  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
68530  if (!SWIG_IsOK(res2)) {
68531  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_IStdClassFactory___getitem__" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
68532  }
68533  if (!ptr) {
68534  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_IStdClassFactory___getitem__" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
68535  }
68536  arg2 = ptr;
68537  }
68538  try {
68539  result = (std::map< std::string,IStdClassFactory * >::mapped_type *) &std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____getitem__(arg1,(std::string const &)*arg2);
68540  }
68541  catch(std::out_of_range &_e) {
68542  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
68543  }
68544 
68545  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(*result), SWIGTYPE_p_StdUtils__IStdClassFactory, 0 | 0 );
68546  if (SWIG_IsNewObj(res2)) delete arg2;
68547  return resultobj;
68548 fail:
68549  if (SWIG_IsNewObj(res2)) delete arg2;
68550  return NULL;
68551 }
68552 
68553 
68554 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68555  PyObject *resultobj = 0;
68556  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68557  std::map< std::string,IStdClassFactory * >::key_type *arg2 = 0 ;
68558  void *argp1 = 0 ;
68559  int res1 = 0 ;
68560  int res2 = SWIG_OLDOBJ ;
68561  PyObject * obj0 = 0 ;
68562  PyObject * obj1 = 0 ;
68563 
68564  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_IStdClassFactory___delitem__",&obj0,&obj1)) SWIG_fail;
68565  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68566  if (!SWIG_IsOK(res1)) {
68567  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory___delitem__" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
68568  }
68569  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68570  {
68571  std::string *ptr = (std::string *)0;
68572  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
68573  if (!SWIG_IsOK(res2)) {
68574  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_IStdClassFactory___delitem__" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
68575  }
68576  if (!ptr) {
68577  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_IStdClassFactory___delitem__" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
68578  }
68579  arg2 = ptr;
68580  }
68581  try {
68582  std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____delitem__(arg1,(std::string const &)*arg2);
68583  }
68584  catch(std::out_of_range &_e) {
68585  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
68586  }
68587 
68588  resultobj = SWIG_Py_Void();
68589  if (SWIG_IsNewObj(res2)) delete arg2;
68590  return resultobj;
68591 fail:
68592  if (SWIG_IsNewObj(res2)) delete arg2;
68593  return NULL;
68594 }
68595 
68596 
68597 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_has_key(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68598  PyObject *resultobj = 0;
68599  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68600  std::map< std::string,IStdClassFactory * >::key_type *arg2 = 0 ;
68601  void *argp1 = 0 ;
68602  int res1 = 0 ;
68603  int res2 = SWIG_OLDOBJ ;
68604  PyObject * obj0 = 0 ;
68605  PyObject * obj1 = 0 ;
68606  bool result;
68607 
68608  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_IStdClassFactory_has_key",&obj0,&obj1)) SWIG_fail;
68609  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68610  if (!SWIG_IsOK(res1)) {
68611  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_has_key" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > const *""'");
68612  }
68613  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68614  {
68615  std::string *ptr = (std::string *)0;
68616  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
68617  if (!SWIG_IsOK(res2)) {
68618  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_IStdClassFactory_has_key" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
68619  }
68620  if (!ptr) {
68621  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_IStdClassFactory_has_key" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
68622  }
68623  arg2 = ptr;
68624  }
68625  result = (bool)std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__has_key((std::map< std::string,IStdClassFactory * > const *)arg1,(std::string const &)*arg2);
68626  resultobj = SWIG_From_bool(static_cast< bool >(result));
68627  if (SWIG_IsNewObj(res2)) delete arg2;
68628  return resultobj;
68629 fail:
68630  if (SWIG_IsNewObj(res2)) delete arg2;
68631  return NULL;
68632 }
68633 
68634 
68635 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_keys(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68636  PyObject *resultobj = 0;
68637  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68638  void *argp1 = 0 ;
68639  int res1 = 0 ;
68640  PyObject * obj0 = 0 ;
68641  PyObject *result = 0 ;
68642 
68643  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory_keys",&obj0)) SWIG_fail;
68644  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68645  if (!SWIG_IsOK(res1)) {
68646  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_keys" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
68647  }
68648  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68649  result = (PyObject *)std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__keys(arg1);
68650  resultobj = result;
68651  return resultobj;
68652 fail:
68653  return NULL;
68654 }
68655 
68656 
68657 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_values(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68658  PyObject *resultobj = 0;
68659  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68660  void *argp1 = 0 ;
68661  int res1 = 0 ;
68662  PyObject * obj0 = 0 ;
68663  PyObject *result = 0 ;
68664 
68665  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory_values",&obj0)) SWIG_fail;
68666  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68667  if (!SWIG_IsOK(res1)) {
68668  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_values" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
68669  }
68670  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68671  result = (PyObject *)std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__values(arg1);
68672  resultobj = result;
68673  return resultobj;
68674 fail:
68675  return NULL;
68676 }
68677 
68678 
68679 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_items(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68680  PyObject *resultobj = 0;
68681  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68682  void *argp1 = 0 ;
68683  int res1 = 0 ;
68684  PyObject * obj0 = 0 ;
68685  PyObject *result = 0 ;
68686 
68687  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory_items",&obj0)) SWIG_fail;
68688  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68689  if (!SWIG_IsOK(res1)) {
68690  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_items" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
68691  }
68692  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68693  result = (PyObject *)std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__items(arg1);
68694  resultobj = result;
68695  return resultobj;
68696 fail:
68697  return NULL;
68698 }
68699 
68700 
68701 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68702  PyObject *resultobj = 0;
68703  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68704  std::map< std::string,IStdClassFactory * >::key_type *arg2 = 0 ;
68705  void *argp1 = 0 ;
68706  int res1 = 0 ;
68707  int res2 = SWIG_OLDOBJ ;
68708  PyObject * obj0 = 0 ;
68709  PyObject * obj1 = 0 ;
68710  bool result;
68711 
68712  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_IStdClassFactory___contains__",&obj0,&obj1)) SWIG_fail;
68713  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68714  if (!SWIG_IsOK(res1)) {
68715  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory___contains__" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
68716  }
68717  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68718  {
68719  std::string *ptr = (std::string *)0;
68720  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
68721  if (!SWIG_IsOK(res2)) {
68722  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_IStdClassFactory___contains__" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
68723  }
68724  if (!ptr) {
68725  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_IStdClassFactory___contains__" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
68726  }
68727  arg2 = ptr;
68728  }
68729  result = (bool)std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____contains__(arg1,(std::string const &)*arg2);
68730  resultobj = SWIG_From_bool(static_cast< bool >(result));
68731  if (SWIG_IsNewObj(res2)) delete arg2;
68732  return resultobj;
68733 fail:
68734  if (SWIG_IsNewObj(res2)) delete arg2;
68735  return NULL;
68736 }
68737 
68738 
68739 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_key_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68740  PyObject *resultobj = 0;
68741  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68742  PyObject **arg2 = (PyObject **) 0 ;
68743  void *argp1 = 0 ;
68744  int res1 = 0 ;
68745  PyObject * obj0 = 0 ;
68746  swig::SwigPyIterator *result = 0 ;
68747 
68748  arg2 = &obj0;
68749  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory_key_iterator",&obj0)) SWIG_fail;
68750  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68751  if (!SWIG_IsOK(res1)) {
68752  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_key_iterator" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
68753  }
68754  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68755  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__key_iterator(arg1,arg2);
68756  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
68757  return resultobj;
68758 fail:
68759  return NULL;
68760 }
68761 
68762 
68763 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_value_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68764  PyObject *resultobj = 0;
68765  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68766  PyObject **arg2 = (PyObject **) 0 ;
68767  void *argp1 = 0 ;
68768  int res1 = 0 ;
68769  PyObject * obj0 = 0 ;
68770  swig::SwigPyIterator *result = 0 ;
68771 
68772  arg2 = &obj0;
68773  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory_value_iterator",&obj0)) SWIG_fail;
68774  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68775  if (!SWIG_IsOK(res1)) {
68776  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_value_iterator" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
68777  }
68778  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68779  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__value_iterator(arg1,arg2);
68780  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
68781  return resultobj;
68782 fail:
68783  return NULL;
68784 }
68785 
68786 
68787 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68788  PyObject *resultobj = 0;
68789  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68790  std::map< std::string,IStdClassFactory * >::key_type *arg2 = 0 ;
68791  void *argp1 = 0 ;
68792  int res1 = 0 ;
68793  int res2 = SWIG_OLDOBJ ;
68794  PyObject * obj0 = 0 ;
68795  PyObject * obj1 = 0 ;
68796 
68797  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_IStdClassFactory___setitem__",&obj0,&obj1)) SWIG_fail;
68798  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68799  if (!SWIG_IsOK(res1)) {
68800  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory___setitem__" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
68801  }
68802  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68803  {
68804  std::string *ptr = (std::string *)0;
68805  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
68806  if (!SWIG_IsOK(res2)) {
68807  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_IStdClassFactory___setitem__" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
68808  }
68809  if (!ptr) {
68810  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_IStdClassFactory___setitem__" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
68811  }
68812  arg2 = ptr;
68813  }
68814  std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____setitem____SWIG_0(arg1,(std::string const &)*arg2);
68815  resultobj = SWIG_Py_Void();
68816  if (SWIG_IsNewObj(res2)) delete arg2;
68817  return resultobj;
68818 fail:
68819  if (SWIG_IsNewObj(res2)) delete arg2;
68820  return NULL;
68821 }
68822 
68823 
68824 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68825  PyObject *resultobj = 0;
68826  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68827  std::map< std::string,IStdClassFactory * >::key_type *arg2 = 0 ;
68828  std::map< std::string,IStdClassFactory * >::mapped_type *arg3 = 0 ;
68829  void *argp1 = 0 ;
68830  int res1 = 0 ;
68831  int res2 = SWIG_OLDOBJ ;
68832  void *argp3 = 0 ;
68833  int res3 = 0 ;
68834  std::map< std::string,IStdClassFactory * >::mapped_type temp3 ;
68835  PyObject * obj0 = 0 ;
68836  PyObject * obj1 = 0 ;
68837  PyObject * obj2 = 0 ;
68838 
68839  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_IStdClassFactory___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
68840  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68841  if (!SWIG_IsOK(res1)) {
68842  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory___setitem__" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
68843  }
68844  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68845  {
68846  std::string *ptr = (std::string *)0;
68847  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
68848  if (!SWIG_IsOK(res2)) {
68849  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_IStdClassFactory___setitem__" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
68850  }
68851  if (!ptr) {
68852  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_IStdClassFactory___setitem__" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
68853  }
68854  arg2 = ptr;
68855  }
68856  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_StdUtils__IStdClassFactory, 0 | 0 );
68857  if (!SWIG_IsOK(res3)) {
68858  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "map_string_IStdClassFactory___setitem__" "', argument " "3"" of type '" "std::map< std::string,IStdClassFactory * >::mapped_type""'");
68859  }
68860  temp3 = reinterpret_cast< std::map< std::string,IStdClassFactory * >::mapped_type >(argp3);
68861  arg3 = reinterpret_cast< std::map< std::string,IStdClassFactory * >::mapped_type * >(&temp3);
68862  try {
68863  std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg____setitem____SWIG_1(arg1,(std::string const &)*arg2,(IStdClassFactory *const &)*arg3);
68864  }
68865  catch(std::out_of_range &_e) {
68866  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
68867  }
68868 
68869  resultobj = SWIG_Py_Void();
68870  if (SWIG_IsNewObj(res2)) delete arg2;
68871  return resultobj;
68872 fail:
68873  if (SWIG_IsNewObj(res2)) delete arg2;
68874  return NULL;
68875 }
68876 
68877 
68878 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory___setitem__(PyObject *self, PyObject *args) {
68879  int argc;
68880  PyObject *argv[4];
68881  int ii;
68882 
68883  if (!PyTuple_Check(args)) SWIG_fail;
68884  argc = args ? (int)PyObject_Length(args) : 0;
68885  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
68886  argv[ii] = PyTuple_GET_ITEM(args,ii);
68887  }
68888  if (argc == 2) {
68889  int _v;
68890  int res = swig::asptr(argv[0], (std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >**)(0));
68891  _v = SWIG_CheckState(res);
68892  if (_v) {
68893  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
68894  _v = SWIG_CheckState(res);
68895  if (_v) {
68896  return _wrap_map_string_IStdClassFactory___setitem____SWIG_0(self, args);
68897  }
68898  }
68899  }
68900  if (argc == 3) {
68901  int _v;
68902  int res = swig::asptr(argv[0], (std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >**)(0));
68903  _v = SWIG_CheckState(res);
68904  if (_v) {
68905  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
68906  _v = SWIG_CheckState(res);
68907  if (_v) {
68908  void *vptr = 0;
68909  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_StdUtils__IStdClassFactory, 0);
68910  _v = SWIG_CheckState(res);
68911  if (_v) {
68912  return _wrap_map_string_IStdClassFactory___setitem____SWIG_1(self, args);
68913  }
68914  }
68915  }
68916  }
68917 
68918 fail:
68919  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_IStdClassFactory___setitem__'.\n"
68920  " Possible C/C++ prototypes are:\n"
68921  " std::map< std::string,IStdClassFactory * >::__setitem__(std::map< std::string,IStdClassFactory * >::key_type const &)\n"
68922  " std::map< std::string,IStdClassFactory * >::__setitem__(std::map< std::string,IStdClassFactory * >::key_type const &,std::map< std::string,IStdClassFactory * >::mapped_type const &)\n");
68923  return 0;
68924 }
68925 
68926 
68927 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_asdict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68928  PyObject *resultobj = 0;
68929  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
68930  void *argp1 = 0 ;
68931  int res1 = 0 ;
68932  PyObject * obj0 = 0 ;
68933  PyObject *result = 0 ;
68934 
68935  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory_asdict",&obj0)) SWIG_fail;
68936  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
68937  if (!SWIG_IsOK(res1)) {
68938  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_asdict" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
68939  }
68940  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
68941  result = (PyObject *)std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__asdict(arg1);
68942  resultobj = result;
68943  return resultobj;
68944 fail:
68945  return NULL;
68946 }
68947 
68948 
68949 SWIGINTERN PyObject *_wrap_new_map_string_IStdClassFactory__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68950  PyObject *resultobj = 0;
68951  std::map< std::string,IStdClassFactory * > *result = 0 ;
68952 
68953  if (!PyArg_ParseTuple(args,(char *)":new_map_string_IStdClassFactory")) SWIG_fail;
68954  result = (std::map< std::string,IStdClassFactory * > *)new std::map< std::string,IStdClassFactory * >();
68955  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
68956  return resultobj;
68957 fail:
68958  return NULL;
68959 }
68960 
68961 
68962 SWIGINTERN PyObject *_wrap_new_map_string_IStdClassFactory__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
68963  PyObject *resultobj = 0;
68964  std::map< std::string,IStdClassFactory * > *arg1 = 0 ;
68965  int res1 = SWIG_OLDOBJ ;
68966  PyObject * obj0 = 0 ;
68967  std::map< std::string,IStdClassFactory * > *result = 0 ;
68968 
68969  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_IStdClassFactory",&obj0)) SWIG_fail;
68970  {
68971  std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > > *ptr = (std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > > *)0;
68972  res1 = swig::asptr(obj0, &ptr);
68973  if (!SWIG_IsOK(res1)) {
68974  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_IStdClassFactory" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > const &""'");
68975  }
68976  if (!ptr) {
68977  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_IStdClassFactory" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > const &""'");
68978  }
68979  arg1 = ptr;
68980  }
68981  result = (std::map< std::string,IStdClassFactory * > *)new std::map< std::string,IStdClassFactory * >((std::map< std::string,IStdClassFactory * > const &)*arg1);
68982  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
68983  if (SWIG_IsNewObj(res1)) delete arg1;
68984  return resultobj;
68985 fail:
68986  if (SWIG_IsNewObj(res1)) delete arg1;
68987  return NULL;
68988 }
68989 
68990 
68991 SWIGINTERN PyObject *_wrap_new_map_string_IStdClassFactory(PyObject *self, PyObject *args) {
68992  int argc;
68993  PyObject *argv[2];
68994  int ii;
68995 
68996  if (!PyTuple_Check(args)) SWIG_fail;
68997  argc = args ? (int)PyObject_Length(args) : 0;
68998  for (ii = 0; (ii < 1) && (ii < argc); ii++) {
68999  argv[ii] = PyTuple_GET_ITEM(args,ii);
69000  }
69001  if (argc == 0) {
69002  return _wrap_new_map_string_IStdClassFactory__SWIG_1(self, args);
69003  }
69004  if (argc == 1) {
69005  int _v;
69006  int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__lessT_std__string_t, 0);
69007  _v = SWIG_CheckState(res);
69008  if (_v) {
69009  return _wrap_new_map_string_IStdClassFactory__SWIG_0(self, args);
69010  }
69011  }
69012  if (argc == 1) {
69013  int _v;
69014  int res = swig::asptr(argv[0], (std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >**)(0));
69015  _v = SWIG_CheckState(res);
69016  if (_v) {
69017  return _wrap_new_map_string_IStdClassFactory__SWIG_2(self, args);
69018  }
69019  }
69020 
69021 fail:
69022  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_map_string_IStdClassFactory'.\n"
69023  " Possible C/C++ prototypes are:\n"
69024  " std::map< std::string,IStdClassFactory * >::map(std::less< std::string > const &)\n"
69025  " std::map< std::string,IStdClassFactory * >::map()\n"
69026  " std::map< std::string,IStdClassFactory * >::map(std::map< std::string,IStdClassFactory * > const &)\n");
69027  return 0;
69028 }
69029 
69030 
69031 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69032  PyObject *resultobj = 0;
69033  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69034  void *argp1 = 0 ;
69035  int res1 = 0 ;
69036  PyObject * obj0 = 0 ;
69037  bool result;
69038 
69039  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory_empty",&obj0)) SWIG_fail;
69040  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69041  if (!SWIG_IsOK(res1)) {
69042  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_empty" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > const *""'");
69043  }
69044  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69045  result = (bool)((std::map< std::string,IStdClassFactory * > const *)arg1)->empty();
69046  resultobj = SWIG_From_bool(static_cast< bool >(result));
69047  return resultobj;
69048 fail:
69049  return NULL;
69050 }
69051 
69052 
69053 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69054  PyObject *resultobj = 0;
69055  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69056  void *argp1 = 0 ;
69057  int res1 = 0 ;
69058  PyObject * obj0 = 0 ;
69059  std::map< std::string,IStdClassFactory * >::size_type result;
69060 
69061  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory_size",&obj0)) SWIG_fail;
69062  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69063  if (!SWIG_IsOK(res1)) {
69064  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_size" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > const *""'");
69065  }
69066  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69067  result = ((std::map< std::string,IStdClassFactory * > const *)arg1)->size();
69068  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
69069  return resultobj;
69070 fail:
69071  return NULL;
69072 }
69073 
69074 
69075 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69076  PyObject *resultobj = 0;
69077  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69078  void *argp1 = 0 ;
69079  int res1 = 0 ;
69080  PyObject * obj0 = 0 ;
69081 
69082  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory_clear",&obj0)) SWIG_fail;
69083  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69084  if (!SWIG_IsOK(res1)) {
69085  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_clear" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
69086  }
69087  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69088  (arg1)->clear();
69089  resultobj = SWIG_Py_Void();
69090  return resultobj;
69091 fail:
69092  return NULL;
69093 }
69094 
69095 
69096 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69097  PyObject *resultobj = 0;
69098  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69099  std::map< std::string,IStdClassFactory * > *arg2 = 0 ;
69100  void *argp1 = 0 ;
69101  int res1 = 0 ;
69102  void *argp2 = 0 ;
69103  int res2 = 0 ;
69104  PyObject * obj0 = 0 ;
69105  PyObject * obj1 = 0 ;
69106 
69107  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_IStdClassFactory_swap",&obj0,&obj1)) SWIG_fail;
69108  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69109  if (!SWIG_IsOK(res1)) {
69110  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_swap" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
69111  }
69112  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69113  res2 = SWIG_ConvertPtr(obj1, &argp2, 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, 0 );
69114  if (!SWIG_IsOK(res2)) {
69115  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_IStdClassFactory_swap" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * > &""'");
69116  }
69117  if (!argp2) {
69118  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_IStdClassFactory_swap" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * > &""'");
69119  }
69120  arg2 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp2);
69121  (arg1)->swap(*arg2);
69122  resultobj = SWIG_Py_Void();
69123  return resultobj;
69124 fail:
69125  return NULL;
69126 }
69127 
69128 
69129 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69130  PyObject *resultobj = 0;
69131  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69132  void *argp1 = 0 ;
69133  int res1 = 0 ;
69134  PyObject * obj0 = 0 ;
69135  SwigValueWrapper< std::allocator< std::pair< std::string const,StdUtils::IStdClassFactory * > > > result;
69136 
69137  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory_get_allocator",&obj0)) SWIG_fail;
69138  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69139  if (!SWIG_IsOK(res1)) {
69140  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_get_allocator" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > const *""'");
69141  }
69142  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69143  result = ((std::map< std::string,IStdClassFactory * > const *)arg1)->get_allocator();
69144  resultobj = SWIG_NewPointerObj((new std::map< std::string,IStdClassFactory * >::allocator_type(static_cast< const std::map< std::string,IStdClassFactory * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_StdUtils__IStdClassFactory_p_t_t, SWIG_POINTER_OWN | 0 );
69145  return resultobj;
69146 fail:
69147  return NULL;
69148 }
69149 
69150 
69151 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69152  PyObject *resultobj = 0;
69153  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69154  void *argp1 = 0 ;
69155  int res1 = 0 ;
69156  PyObject * obj0 = 0 ;
69157  std::map< std::string,IStdClassFactory * >::iterator result;
69158 
69159  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory_begin",&obj0)) SWIG_fail;
69160  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69161  if (!SWIG_IsOK(res1)) {
69162  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_begin" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
69163  }
69164  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69165  result = (arg1)->begin();
69166  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,IStdClassFactory * >::iterator & >(result)),
69167  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
69168  return resultobj;
69169 fail:
69170  return NULL;
69171 }
69172 
69173 
69174 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69175  PyObject *resultobj = 0;
69176  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69177  void *argp1 = 0 ;
69178  int res1 = 0 ;
69179  PyObject * obj0 = 0 ;
69180  std::map< std::string,IStdClassFactory * >::iterator result;
69181 
69182  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory_end",&obj0)) SWIG_fail;
69183  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69184  if (!SWIG_IsOK(res1)) {
69185  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_end" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
69186  }
69187  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69188  result = (arg1)->end();
69189  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,IStdClassFactory * >::iterator & >(result)),
69190  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
69191  return resultobj;
69192 fail:
69193  return NULL;
69194 }
69195 
69196 
69197 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69198  PyObject *resultobj = 0;
69199  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69200  void *argp1 = 0 ;
69201  int res1 = 0 ;
69202  PyObject * obj0 = 0 ;
69203  std::map< std::string,IStdClassFactory * >::reverse_iterator result;
69204 
69205  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory_rbegin",&obj0)) SWIG_fail;
69206  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69207  if (!SWIG_IsOK(res1)) {
69208  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_rbegin" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
69209  }
69210  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69211  result = (arg1)->rbegin();
69212  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,IStdClassFactory * >::reverse_iterator & >(result)),
69213  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
69214  return resultobj;
69215 fail:
69216  return NULL;
69217 }
69218 
69219 
69220 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69221  PyObject *resultobj = 0;
69222  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69223  void *argp1 = 0 ;
69224  int res1 = 0 ;
69225  PyObject * obj0 = 0 ;
69226  std::map< std::string,IStdClassFactory * >::reverse_iterator result;
69227 
69228  if (!PyArg_ParseTuple(args,(char *)"O:map_string_IStdClassFactory_rend",&obj0)) SWIG_fail;
69229  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69230  if (!SWIG_IsOK(res1)) {
69231  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_rend" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
69232  }
69233  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69234  result = (arg1)->rend();
69235  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,IStdClassFactory * >::reverse_iterator & >(result)),
69236  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
69237  return resultobj;
69238 fail:
69239  return NULL;
69240 }
69241 
69242 
69243 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69244  PyObject *resultobj = 0;
69245  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69246  std::map< std::string,IStdClassFactory * >::key_type *arg2 = 0 ;
69247  void *argp1 = 0 ;
69248  int res1 = 0 ;
69249  int res2 = SWIG_OLDOBJ ;
69250  PyObject * obj0 = 0 ;
69251  PyObject * obj1 = 0 ;
69252  std::map< std::string,IStdClassFactory * >::size_type result;
69253 
69254  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_IStdClassFactory_erase",&obj0,&obj1)) SWIG_fail;
69255  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69256  if (!SWIG_IsOK(res1)) {
69257  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_erase" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
69258  }
69259  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69260  {
69261  std::string *ptr = (std::string *)0;
69262  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
69263  if (!SWIG_IsOK(res2)) {
69264  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_IStdClassFactory_erase" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
69265  }
69266  if (!ptr) {
69267  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_IStdClassFactory_erase" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
69268  }
69269  arg2 = ptr;
69270  }
69271  result = (arg1)->erase((std::map< std::string,IStdClassFactory * >::key_type const &)*arg2);
69272  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
69273  if (SWIG_IsNewObj(res2)) delete arg2;
69274  return resultobj;
69275 fail:
69276  if (SWIG_IsNewObj(res2)) delete arg2;
69277  return NULL;
69278 }
69279 
69280 
69281 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69282  PyObject *resultobj = 0;
69283  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69284  std::map< std::string,IStdClassFactory * >::key_type *arg2 = 0 ;
69285  void *argp1 = 0 ;
69286  int res1 = 0 ;
69287  int res2 = SWIG_OLDOBJ ;
69288  PyObject * obj0 = 0 ;
69289  PyObject * obj1 = 0 ;
69290  std::map< std::string,IStdClassFactory * >::size_type result;
69291 
69292  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_IStdClassFactory_count",&obj0,&obj1)) SWIG_fail;
69293  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69294  if (!SWIG_IsOK(res1)) {
69295  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_count" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > const *""'");
69296  }
69297  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69298  {
69299  std::string *ptr = (std::string *)0;
69300  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
69301  if (!SWIG_IsOK(res2)) {
69302  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_IStdClassFactory_count" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
69303  }
69304  if (!ptr) {
69305  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_IStdClassFactory_count" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
69306  }
69307  arg2 = ptr;
69308  }
69309  result = ((std::map< std::string,IStdClassFactory * > const *)arg1)->count((std::map< std::string,IStdClassFactory * >::key_type const &)*arg2);
69310  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
69311  if (SWIG_IsNewObj(res2)) delete arg2;
69312  return resultobj;
69313 fail:
69314  if (SWIG_IsNewObj(res2)) delete arg2;
69315  return NULL;
69316 }
69317 
69318 
69319 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69320  PyObject *resultobj = 0;
69321  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69322  std::map< std::string,IStdClassFactory * >::iterator arg2 ;
69323  void *argp1 = 0 ;
69324  int res1 = 0 ;
69325  swig::SwigPyIterator *iter2 = 0 ;
69326  int res2 ;
69327  PyObject * obj0 = 0 ;
69328  PyObject * obj1 = 0 ;
69329 
69330  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_IStdClassFactory_erase",&obj0,&obj1)) SWIG_fail;
69331  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69332  if (!SWIG_IsOK(res1)) {
69333  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_erase" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
69334  }
69335  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69336  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
69337  if (!SWIG_IsOK(res2) || !iter2) {
69338  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_IStdClassFactory_erase" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::iterator""'");
69339  } else {
69341  if (iter_t) {
69342  arg2 = iter_t->get_current();
69343  } else {
69344  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_IStdClassFactory_erase" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::iterator""'");
69345  }
69346  }
69347  std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__erase__SWIG_1(arg1,arg2);
69348  resultobj = SWIG_Py_Void();
69349  return resultobj;
69350 fail:
69351  return NULL;
69352 }
69353 
69354 
69355 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_erase__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69356  PyObject *resultobj = 0;
69357  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69358  std::map< std::string,IStdClassFactory * >::iterator arg2 ;
69359  std::map< std::string,IStdClassFactory * >::iterator arg3 ;
69360  void *argp1 = 0 ;
69361  int res1 = 0 ;
69362  swig::SwigPyIterator *iter2 = 0 ;
69363  int res2 ;
69364  swig::SwigPyIterator *iter3 = 0 ;
69365  int res3 ;
69366  PyObject * obj0 = 0 ;
69367  PyObject * obj1 = 0 ;
69368  PyObject * obj2 = 0 ;
69369 
69370  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_IStdClassFactory_erase",&obj0,&obj1,&obj2)) SWIG_fail;
69371  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69372  if (!SWIG_IsOK(res1)) {
69373  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_erase" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
69374  }
69375  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69376  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
69377  if (!SWIG_IsOK(res2) || !iter2) {
69378  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_IStdClassFactory_erase" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::iterator""'");
69379  } else {
69381  if (iter_t) {
69382  arg2 = iter_t->get_current();
69383  } else {
69384  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_IStdClassFactory_erase" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::iterator""'");
69385  }
69386  }
69387  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
69388  if (!SWIG_IsOK(res3) || !iter3) {
69389  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_IStdClassFactory_erase" "', argument " "3"" of type '" "std::map< std::string,IStdClassFactory * >::iterator""'");
69390  } else {
69392  if (iter_t) {
69393  arg3 = iter_t->get_current();
69394  } else {
69395  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_IStdClassFactory_erase" "', argument " "3"" of type '" "std::map< std::string,IStdClassFactory * >::iterator""'");
69396  }
69397  }
69398  std_map_Sl_std_string_Sc_IStdClassFactory_Sm__Sg__erase__SWIG_2(arg1,arg2,arg3);
69399  resultobj = SWIG_Py_Void();
69400  return resultobj;
69401 fail:
69402  return NULL;
69403 }
69404 
69405 
69406 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_erase(PyObject *self, PyObject *args) {
69407  int argc;
69408  PyObject *argv[4];
69409  int ii;
69410 
69411  if (!PyTuple_Check(args)) SWIG_fail;
69412  argc = args ? (int)PyObject_Length(args) : 0;
69413  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
69414  argv[ii] = PyTuple_GET_ITEM(args,ii);
69415  }
69416  if (argc == 2) {
69417  int _v;
69418  int res = swig::asptr(argv[0], (std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >**)(0));
69419  _v = SWIG_CheckState(res);
69420  if (_v) {
69421  swig::SwigPyIterator *iter = 0;
69422  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
69423  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,IStdClassFactory * >::iterator > *>(iter) != 0));
69424  if (_v) {
69425  return _wrap_map_string_IStdClassFactory_erase__SWIG_1(self, args);
69426  }
69427  }
69428  }
69429  if (argc == 2) {
69430  int _v;
69431  int res = swig::asptr(argv[0], (std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >**)(0));
69432  _v = SWIG_CheckState(res);
69433  if (_v) {
69434  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
69435  _v = SWIG_CheckState(res);
69436  if (_v) {
69437  return _wrap_map_string_IStdClassFactory_erase__SWIG_0(self, args);
69438  }
69439  }
69440  }
69441  if (argc == 3) {
69442  int _v;
69443  int res = swig::asptr(argv[0], (std::map<std::string,IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,IStdClassFactory * > > >**)(0));
69444  _v = SWIG_CheckState(res);
69445  if (_v) {
69446  swig::SwigPyIterator *iter = 0;
69447  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
69448  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,IStdClassFactory * >::iterator > *>(iter) != 0));
69449  if (_v) {
69450  swig::SwigPyIterator *iter = 0;
69451  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
69452  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,IStdClassFactory * >::iterator > *>(iter) != 0));
69453  if (_v) {
69454  return _wrap_map_string_IStdClassFactory_erase__SWIG_2(self, args);
69455  }
69456  }
69457  }
69458  }
69459 
69460 fail:
69461  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_IStdClassFactory_erase'.\n"
69462  " Possible C/C++ prototypes are:\n"
69463  " std::map< std::string,IStdClassFactory * >::erase(std::map< std::string,IStdClassFactory * >::key_type const &)\n"
69464  " std::map< std::string,IStdClassFactory * >::erase(std::map< std::string,IStdClassFactory * >::iterator)\n"
69465  " std::map< std::string,IStdClassFactory * >::erase(std::map< std::string,IStdClassFactory * >::iterator,std::map< std::string,IStdClassFactory * >::iterator)\n");
69466  return 0;
69467 }
69468 
69469 
69470 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69471  PyObject *resultobj = 0;
69472  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69473  std::map< std::string,IStdClassFactory * >::key_type *arg2 = 0 ;
69474  void *argp1 = 0 ;
69475  int res1 = 0 ;
69476  int res2 = SWIG_OLDOBJ ;
69477  PyObject * obj0 = 0 ;
69478  PyObject * obj1 = 0 ;
69479  std::map< std::string,IStdClassFactory * >::iterator result;
69480 
69481  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_IStdClassFactory_find",&obj0,&obj1)) SWIG_fail;
69482  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69483  if (!SWIG_IsOK(res1)) {
69484  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_find" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
69485  }
69486  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69487  {
69488  std::string *ptr = (std::string *)0;
69489  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
69490  if (!SWIG_IsOK(res2)) {
69491  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_IStdClassFactory_find" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
69492  }
69493  if (!ptr) {
69494  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_IStdClassFactory_find" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
69495  }
69496  arg2 = ptr;
69497  }
69498  result = (arg1)->find((std::map< std::string,IStdClassFactory * >::key_type const &)*arg2);
69499  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,IStdClassFactory * >::iterator & >(result)),
69500  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
69501  if (SWIG_IsNewObj(res2)) delete arg2;
69502  return resultobj;
69503 fail:
69504  if (SWIG_IsNewObj(res2)) delete arg2;
69505  return NULL;
69506 }
69507 
69508 
69509 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_lower_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69510  PyObject *resultobj = 0;
69511  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69512  std::map< std::string,IStdClassFactory * >::key_type *arg2 = 0 ;
69513  void *argp1 = 0 ;
69514  int res1 = 0 ;
69515  int res2 = SWIG_OLDOBJ ;
69516  PyObject * obj0 = 0 ;
69517  PyObject * obj1 = 0 ;
69518  std::map< std::string,IStdClassFactory * >::iterator result;
69519 
69520  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_IStdClassFactory_lower_bound",&obj0,&obj1)) SWIG_fail;
69521  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69522  if (!SWIG_IsOK(res1)) {
69523  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_lower_bound" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
69524  }
69525  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69526  {
69527  std::string *ptr = (std::string *)0;
69528  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
69529  if (!SWIG_IsOK(res2)) {
69530  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_IStdClassFactory_lower_bound" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
69531  }
69532  if (!ptr) {
69533  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_IStdClassFactory_lower_bound" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
69534  }
69535  arg2 = ptr;
69536  }
69537  result = (arg1)->lower_bound((std::map< std::string,IStdClassFactory * >::key_type const &)*arg2);
69538  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,IStdClassFactory * >::iterator & >(result)),
69539  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
69540  if (SWIG_IsNewObj(res2)) delete arg2;
69541  return resultobj;
69542 fail:
69543  if (SWIG_IsNewObj(res2)) delete arg2;
69544  return NULL;
69545 }
69546 
69547 
69548 SWIGINTERN PyObject *_wrap_map_string_IStdClassFactory_upper_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69549  PyObject *resultobj = 0;
69550  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69551  std::map< std::string,IStdClassFactory * >::key_type *arg2 = 0 ;
69552  void *argp1 = 0 ;
69553  int res1 = 0 ;
69554  int res2 = SWIG_OLDOBJ ;
69555  PyObject * obj0 = 0 ;
69556  PyObject * obj1 = 0 ;
69557  std::map< std::string,IStdClassFactory * >::iterator result;
69558 
69559  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_IStdClassFactory_upper_bound",&obj0,&obj1)) SWIG_fail;
69560  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69561  if (!SWIG_IsOK(res1)) {
69562  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_IStdClassFactory_upper_bound" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
69563  }
69564  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69565  {
69566  std::string *ptr = (std::string *)0;
69567  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
69568  if (!SWIG_IsOK(res2)) {
69569  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_IStdClassFactory_upper_bound" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
69570  }
69571  if (!ptr) {
69572  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_IStdClassFactory_upper_bound" "', argument " "2"" of type '" "std::map< std::string,IStdClassFactory * >::key_type const &""'");
69573  }
69574  arg2 = ptr;
69575  }
69576  result = (arg1)->upper_bound((std::map< std::string,IStdClassFactory * >::key_type const &)*arg2);
69577  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,IStdClassFactory * >::iterator & >(result)),
69578  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
69579  if (SWIG_IsNewObj(res2)) delete arg2;
69580  return resultobj;
69581 fail:
69582  if (SWIG_IsNewObj(res2)) delete arg2;
69583  return NULL;
69584 }
69585 
69586 
69587 SWIGINTERN PyObject *_wrap_delete_map_string_IStdClassFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69588  PyObject *resultobj = 0;
69589  std::map< std::string,IStdClassFactory * > *arg1 = (std::map< std::string,IStdClassFactory * > *) 0 ;
69590  void *argp1 = 0 ;
69591  int res1 = 0 ;
69592  PyObject * obj0 = 0 ;
69593 
69594  if (!PyArg_ParseTuple(args,(char *)"O:delete_map_string_IStdClassFactory",&obj0)) SWIG_fail;
69595  res1 = SWIG_ConvertPtr(obj0, &argp1,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_POINTER_DISOWN | 0 );
69596  if (!SWIG_IsOK(res1)) {
69597  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_map_string_IStdClassFactory" "', argument " "1"" of type '" "std::map< std::string,IStdClassFactory * > *""'");
69598  }
69599  arg1 = reinterpret_cast< std::map< std::string,IStdClassFactory * > * >(argp1);
69600  {
69601  try {
69602  delete arg1;
69603  }
69604  catch(CStdErrorInfo oError)
69605  {
69606  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
69607  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
69608  PyErr_SetString(PyExc_IndexError, strError.c_str());
69609  SWIG_fail;
69610  }
69611  catch(...)
69612  {
69613  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
69614  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
69615  SWIG_fail;
69616  }
69617  }
69618  resultobj = SWIG_Py_Void();
69619  return resultobj;
69620 fail:
69621  return NULL;
69622 }
69623 
69624 
69625 SWIGINTERN PyObject *map_string_IStdClassFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69626  PyObject *obj;
69627  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
69628  SWIG_TypeNewClientData(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_NewClientData(obj));
69629  return SWIG_Py_Void();
69630 }
69631 
69632 SWIGINTERN PyObject *_wrap_new_map_string_Joint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69633  PyObject *resultobj = 0;
69634  std::less< std::string > *arg1 = 0 ;
69635  void *argp1 = 0 ;
69636  int res1 = 0 ;
69637  PyObject * obj0 = 0 ;
69638  std::map< std::string,Joint * > *result = 0 ;
69639 
69640  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_Joint",&obj0)) SWIG_fail;
69641  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__lessT_std__string_t, 0 | 0);
69642  if (!SWIG_IsOK(res1)) {
69643  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_Joint" "', argument " "1"" of type '" "std::less< std::string > const &""'");
69644  }
69645  if (!argp1) {
69646  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_Joint" "', argument " "1"" of type '" "std::less< std::string > const &""'");
69647  }
69648  arg1 = reinterpret_cast< std::less< std::string > * >(argp1);
69649  result = (std::map< std::string,Joint * > *)new std::map< std::string,Joint * >((std::less< std::string > const &)*arg1);
69650  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
69651  return resultobj;
69652 fail:
69653  return NULL;
69654 }
69655 
69656 
69657 SWIGINTERN PyObject *_wrap_map_string_Joint_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69658  PyObject *resultobj = 0;
69659  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
69660  PyObject **arg2 = (PyObject **) 0 ;
69661  void *argp1 = 0 ;
69662  int res1 = 0 ;
69663  PyObject * obj0 = 0 ;
69664  swig::SwigPyIterator *result = 0 ;
69665 
69666  arg2 = &obj0;
69667  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint_iterator",&obj0)) SWIG_fail;
69668  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69669  if (!SWIG_IsOK(res1)) {
69670  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_iterator" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
69671  }
69672  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
69673  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_Joint_Sm__Sg__iterator(arg1,arg2);
69674  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
69675  return resultobj;
69676 fail:
69677  return NULL;
69678 }
69679 
69680 
69681 SWIGINTERN PyObject *_wrap_map_string_Joint___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69682  PyObject *resultobj = 0;
69683  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
69684  void *argp1 = 0 ;
69685  int res1 = 0 ;
69686  PyObject * obj0 = 0 ;
69687  bool result;
69688 
69689  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint___nonzero__",&obj0)) SWIG_fail;
69690  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69691  if (!SWIG_IsOK(res1)) {
69692  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint___nonzero__" "', argument " "1"" of type '" "std::map< std::string,Joint * > const *""'");
69693  }
69694  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
69695  result = (bool)std_map_Sl_std_string_Sc_Joint_Sm__Sg____nonzero__((std::map< std::string,Joint * > const *)arg1);
69696  resultobj = SWIG_From_bool(static_cast< bool >(result));
69697  return resultobj;
69698 fail:
69699  return NULL;
69700 }
69701 
69702 
69703 SWIGINTERN PyObject *_wrap_map_string_Joint___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69704  PyObject *resultobj = 0;
69705  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
69706  void *argp1 = 0 ;
69707  int res1 = 0 ;
69708  PyObject * obj0 = 0 ;
69709  bool result;
69710 
69711  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint___bool__",&obj0)) SWIG_fail;
69712  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69713  if (!SWIG_IsOK(res1)) {
69714  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint___bool__" "', argument " "1"" of type '" "std::map< std::string,Joint * > const *""'");
69715  }
69716  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
69717  result = (bool)std_map_Sl_std_string_Sc_Joint_Sm__Sg____bool__((std::map< std::string,Joint * > const *)arg1);
69718  resultobj = SWIG_From_bool(static_cast< bool >(result));
69719  return resultobj;
69720 fail:
69721  return NULL;
69722 }
69723 
69724 
69725 SWIGINTERN PyObject *_wrap_map_string_Joint___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69726  PyObject *resultobj = 0;
69727  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
69728  void *argp1 = 0 ;
69729  int res1 = 0 ;
69730  PyObject * obj0 = 0 ;
69731  std::map< std::string,Joint * >::size_type result;
69732 
69733  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint___len__",&obj0)) SWIG_fail;
69734  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69735  if (!SWIG_IsOK(res1)) {
69736  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint___len__" "', argument " "1"" of type '" "std::map< std::string,Joint * > const *""'");
69737  }
69738  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
69739  result = std_map_Sl_std_string_Sc_Joint_Sm__Sg____len__((std::map< std::string,Joint * > const *)arg1);
69740  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
69741  return resultobj;
69742 fail:
69743  return NULL;
69744 }
69745 
69746 
69747 SWIGINTERN PyObject *_wrap_map_string_Joint___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69748  PyObject *resultobj = 0;
69749  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
69750  std::map< std::string,Joint * >::key_type *arg2 = 0 ;
69751  void *argp1 = 0 ;
69752  int res1 = 0 ;
69753  int res2 = SWIG_OLDOBJ ;
69754  PyObject * obj0 = 0 ;
69755  PyObject * obj1 = 0 ;
69756  std::map< std::string,Joint * >::mapped_type *result = 0 ;
69757 
69758  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Joint___getitem__",&obj0,&obj1)) SWIG_fail;
69759  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69760  if (!SWIG_IsOK(res1)) {
69761  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint___getitem__" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
69762  }
69763  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
69764  {
69765  std::string *ptr = (std::string *)0;
69766  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
69767  if (!SWIG_IsOK(res2)) {
69768  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Joint___getitem__" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
69769  }
69770  if (!ptr) {
69771  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Joint___getitem__" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
69772  }
69773  arg2 = ptr;
69774  }
69775  try {
69776  result = (std::map< std::string,Joint * >::mapped_type *) &std_map_Sl_std_string_Sc_Joint_Sm__Sg____getitem__(arg1,(std::string const &)*arg2);
69777  }
69778  catch(std::out_of_range &_e) {
69779  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
69780  }
69781 
69782  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(*result), SWIGTYPE_p_Joint, 0 | 0 );
69783  if (SWIG_IsNewObj(res2)) delete arg2;
69784  return resultobj;
69785 fail:
69786  if (SWIG_IsNewObj(res2)) delete arg2;
69787  return NULL;
69788 }
69789 
69790 
69791 SWIGINTERN PyObject *_wrap_map_string_Joint___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69792  PyObject *resultobj = 0;
69793  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
69794  std::map< std::string,Joint * >::key_type *arg2 = 0 ;
69795  void *argp1 = 0 ;
69796  int res1 = 0 ;
69797  int res2 = SWIG_OLDOBJ ;
69798  PyObject * obj0 = 0 ;
69799  PyObject * obj1 = 0 ;
69800 
69801  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Joint___delitem__",&obj0,&obj1)) SWIG_fail;
69802  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69803  if (!SWIG_IsOK(res1)) {
69804  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint___delitem__" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
69805  }
69806  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
69807  {
69808  std::string *ptr = (std::string *)0;
69809  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
69810  if (!SWIG_IsOK(res2)) {
69811  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Joint___delitem__" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
69812  }
69813  if (!ptr) {
69814  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Joint___delitem__" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
69815  }
69816  arg2 = ptr;
69817  }
69818  try {
69819  std_map_Sl_std_string_Sc_Joint_Sm__Sg____delitem__(arg1,(std::string const &)*arg2);
69820  }
69821  catch(std::out_of_range &_e) {
69822  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
69823  }
69824 
69825  resultobj = SWIG_Py_Void();
69826  if (SWIG_IsNewObj(res2)) delete arg2;
69827  return resultobj;
69828 fail:
69829  if (SWIG_IsNewObj(res2)) delete arg2;
69830  return NULL;
69831 }
69832 
69833 
69834 SWIGINTERN PyObject *_wrap_map_string_Joint_has_key(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69835  PyObject *resultobj = 0;
69836  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
69837  std::map< std::string,Joint * >::key_type *arg2 = 0 ;
69838  void *argp1 = 0 ;
69839  int res1 = 0 ;
69840  int res2 = SWIG_OLDOBJ ;
69841  PyObject * obj0 = 0 ;
69842  PyObject * obj1 = 0 ;
69843  bool result;
69844 
69845  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Joint_has_key",&obj0,&obj1)) SWIG_fail;
69846  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69847  if (!SWIG_IsOK(res1)) {
69848  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_has_key" "', argument " "1"" of type '" "std::map< std::string,Joint * > const *""'");
69849  }
69850  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
69851  {
69852  std::string *ptr = (std::string *)0;
69853  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
69854  if (!SWIG_IsOK(res2)) {
69855  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Joint_has_key" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
69856  }
69857  if (!ptr) {
69858  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Joint_has_key" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
69859  }
69860  arg2 = ptr;
69861  }
69862  result = (bool)std_map_Sl_std_string_Sc_Joint_Sm__Sg__has_key((std::map< std::string,Joint * > const *)arg1,(std::string const &)*arg2);
69863  resultobj = SWIG_From_bool(static_cast< bool >(result));
69864  if (SWIG_IsNewObj(res2)) delete arg2;
69865  return resultobj;
69866 fail:
69867  if (SWIG_IsNewObj(res2)) delete arg2;
69868  return NULL;
69869 }
69870 
69871 
69872 SWIGINTERN PyObject *_wrap_map_string_Joint_keys(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69873  PyObject *resultobj = 0;
69874  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
69875  void *argp1 = 0 ;
69876  int res1 = 0 ;
69877  PyObject * obj0 = 0 ;
69878  PyObject *result = 0 ;
69879 
69880  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint_keys",&obj0)) SWIG_fail;
69881  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69882  if (!SWIG_IsOK(res1)) {
69883  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_keys" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
69884  }
69885  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
69886  result = (PyObject *)std_map_Sl_std_string_Sc_Joint_Sm__Sg__keys(arg1);
69887  resultobj = result;
69888  return resultobj;
69889 fail:
69890  return NULL;
69891 }
69892 
69893 
69894 SWIGINTERN PyObject *_wrap_map_string_Joint_values(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69895  PyObject *resultobj = 0;
69896  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
69897  void *argp1 = 0 ;
69898  int res1 = 0 ;
69899  PyObject * obj0 = 0 ;
69900  PyObject *result = 0 ;
69901 
69902  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint_values",&obj0)) SWIG_fail;
69903  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69904  if (!SWIG_IsOK(res1)) {
69905  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_values" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
69906  }
69907  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
69908  result = (PyObject *)std_map_Sl_std_string_Sc_Joint_Sm__Sg__values(arg1);
69909  resultobj = result;
69910  return resultobj;
69911 fail:
69912  return NULL;
69913 }
69914 
69915 
69916 SWIGINTERN PyObject *_wrap_map_string_Joint_items(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69917  PyObject *resultobj = 0;
69918  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
69919  void *argp1 = 0 ;
69920  int res1 = 0 ;
69921  PyObject * obj0 = 0 ;
69922  PyObject *result = 0 ;
69923 
69924  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint_items",&obj0)) SWIG_fail;
69925  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69926  if (!SWIG_IsOK(res1)) {
69927  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_items" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
69928  }
69929  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
69930  result = (PyObject *)std_map_Sl_std_string_Sc_Joint_Sm__Sg__items(arg1);
69931  resultobj = result;
69932  return resultobj;
69933 fail:
69934  return NULL;
69935 }
69936 
69937 
69938 SWIGINTERN PyObject *_wrap_map_string_Joint___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69939  PyObject *resultobj = 0;
69940  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
69941  std::map< std::string,Joint * >::key_type *arg2 = 0 ;
69942  void *argp1 = 0 ;
69943  int res1 = 0 ;
69944  int res2 = SWIG_OLDOBJ ;
69945  PyObject * obj0 = 0 ;
69946  PyObject * obj1 = 0 ;
69947  bool result;
69948 
69949  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Joint___contains__",&obj0,&obj1)) SWIG_fail;
69950  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69951  if (!SWIG_IsOK(res1)) {
69952  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint___contains__" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
69953  }
69954  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
69955  {
69956  std::string *ptr = (std::string *)0;
69957  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
69958  if (!SWIG_IsOK(res2)) {
69959  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Joint___contains__" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
69960  }
69961  if (!ptr) {
69962  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Joint___contains__" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
69963  }
69964  arg2 = ptr;
69965  }
69966  result = (bool)std_map_Sl_std_string_Sc_Joint_Sm__Sg____contains__(arg1,(std::string const &)*arg2);
69967  resultobj = SWIG_From_bool(static_cast< bool >(result));
69968  if (SWIG_IsNewObj(res2)) delete arg2;
69969  return resultobj;
69970 fail:
69971  if (SWIG_IsNewObj(res2)) delete arg2;
69972  return NULL;
69973 }
69974 
69975 
69976 SWIGINTERN PyObject *_wrap_map_string_Joint_key_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
69977  PyObject *resultobj = 0;
69978  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
69979  PyObject **arg2 = (PyObject **) 0 ;
69980  void *argp1 = 0 ;
69981  int res1 = 0 ;
69982  PyObject * obj0 = 0 ;
69983  swig::SwigPyIterator *result = 0 ;
69984 
69985  arg2 = &obj0;
69986  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint_key_iterator",&obj0)) SWIG_fail;
69987  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
69988  if (!SWIG_IsOK(res1)) {
69989  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_key_iterator" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
69990  }
69991  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
69992  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_Joint_Sm__Sg__key_iterator(arg1,arg2);
69993  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
69994  return resultobj;
69995 fail:
69996  return NULL;
69997 }
69998 
69999 
70000 SWIGINTERN PyObject *_wrap_map_string_Joint_value_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70001  PyObject *resultobj = 0;
70002  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70003  PyObject **arg2 = (PyObject **) 0 ;
70004  void *argp1 = 0 ;
70005  int res1 = 0 ;
70006  PyObject * obj0 = 0 ;
70007  swig::SwigPyIterator *result = 0 ;
70008 
70009  arg2 = &obj0;
70010  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint_value_iterator",&obj0)) SWIG_fail;
70011  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70012  if (!SWIG_IsOK(res1)) {
70013  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_value_iterator" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70014  }
70015  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70016  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_Joint_Sm__Sg__value_iterator(arg1,arg2);
70017  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
70018  return resultobj;
70019 fail:
70020  return NULL;
70021 }
70022 
70023 
70024 SWIGINTERN PyObject *_wrap_map_string_Joint___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70025  PyObject *resultobj = 0;
70026  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70027  std::map< std::string,Joint * >::key_type *arg2 = 0 ;
70028  void *argp1 = 0 ;
70029  int res1 = 0 ;
70030  int res2 = SWIG_OLDOBJ ;
70031  PyObject * obj0 = 0 ;
70032  PyObject * obj1 = 0 ;
70033 
70034  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Joint___setitem__",&obj0,&obj1)) SWIG_fail;
70035  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70036  if (!SWIG_IsOK(res1)) {
70037  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint___setitem__" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70038  }
70039  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70040  {
70041  std::string *ptr = (std::string *)0;
70042  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
70043  if (!SWIG_IsOK(res2)) {
70044  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Joint___setitem__" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
70045  }
70046  if (!ptr) {
70047  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Joint___setitem__" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
70048  }
70049  arg2 = ptr;
70050  }
70051  std_map_Sl_std_string_Sc_Joint_Sm__Sg____setitem____SWIG_0(arg1,(std::string const &)*arg2);
70052  resultobj = SWIG_Py_Void();
70053  if (SWIG_IsNewObj(res2)) delete arg2;
70054  return resultobj;
70055 fail:
70056  if (SWIG_IsNewObj(res2)) delete arg2;
70057  return NULL;
70058 }
70059 
70060 
70061 SWIGINTERN PyObject *_wrap_map_string_Joint___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70062  PyObject *resultobj = 0;
70063  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70064  std::map< std::string,Joint * >::key_type *arg2 = 0 ;
70065  std::map< std::string,Joint * >::mapped_type *arg3 = 0 ;
70066  void *argp1 = 0 ;
70067  int res1 = 0 ;
70068  int res2 = SWIG_OLDOBJ ;
70069  void *argp3 = 0 ;
70070  int res3 = 0 ;
70071  std::map< std::string,Joint * >::mapped_type temp3 ;
70072  PyObject * obj0 = 0 ;
70073  PyObject * obj1 = 0 ;
70074  PyObject * obj2 = 0 ;
70075 
70076  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_Joint___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
70077  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70078  if (!SWIG_IsOK(res1)) {
70079  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint___setitem__" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70080  }
70081  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70082  {
70083  std::string *ptr = (std::string *)0;
70084  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
70085  if (!SWIG_IsOK(res2)) {
70086  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Joint___setitem__" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
70087  }
70088  if (!ptr) {
70089  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Joint___setitem__" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
70090  }
70091  arg2 = ptr;
70092  }
70093  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_Joint, 0 | 0 );
70094  if (!SWIG_IsOK(res3)) {
70095  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "map_string_Joint___setitem__" "', argument " "3"" of type '" "std::map< std::string,Joint * >::mapped_type""'");
70096  }
70097  temp3 = reinterpret_cast< std::map< std::string,Joint * >::mapped_type >(argp3);
70098  arg3 = reinterpret_cast< std::map< std::string,Joint * >::mapped_type * >(&temp3);
70099  try {
70100  std_map_Sl_std_string_Sc_Joint_Sm__Sg____setitem____SWIG_1(arg1,(std::string const &)*arg2,(Joint *const &)*arg3);
70101  }
70102  catch(std::out_of_range &_e) {
70103  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
70104  }
70105 
70106  resultobj = SWIG_Py_Void();
70107  if (SWIG_IsNewObj(res2)) delete arg2;
70108  return resultobj;
70109 fail:
70110  if (SWIG_IsNewObj(res2)) delete arg2;
70111  return NULL;
70112 }
70113 
70114 
70115 SWIGINTERN PyObject *_wrap_map_string_Joint___setitem__(PyObject *self, PyObject *args) {
70116  int argc;
70117  PyObject *argv[4];
70118  int ii;
70119 
70120  if (!PyTuple_Check(args)) SWIG_fail;
70121  argc = args ? (int)PyObject_Length(args) : 0;
70122  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
70123  argv[ii] = PyTuple_GET_ITEM(args,ii);
70124  }
70125  if (argc == 2) {
70126  int _v;
70127  int res = swig::asptr(argv[0], (std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >**)(0));
70128  _v = SWIG_CheckState(res);
70129  if (_v) {
70130  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
70131  _v = SWIG_CheckState(res);
70132  if (_v) {
70133  return _wrap_map_string_Joint___setitem____SWIG_0(self, args);
70134  }
70135  }
70136  }
70137  if (argc == 3) {
70138  int _v;
70139  int res = swig::asptr(argv[0], (std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >**)(0));
70140  _v = SWIG_CheckState(res);
70141  if (_v) {
70142  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
70143  _v = SWIG_CheckState(res);
70144  if (_v) {
70145  void *vptr = 0;
70146  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Joint, 0);
70147  _v = SWIG_CheckState(res);
70148  if (_v) {
70149  return _wrap_map_string_Joint___setitem____SWIG_1(self, args);
70150  }
70151  }
70152  }
70153  }
70154 
70155 fail:
70156  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_Joint___setitem__'.\n"
70157  " Possible C/C++ prototypes are:\n"
70158  " std::map< std::string,Joint * >::__setitem__(std::map< std::string,Joint * >::key_type const &)\n"
70159  " std::map< std::string,Joint * >::__setitem__(std::map< std::string,Joint * >::key_type const &,std::map< std::string,Joint * >::mapped_type const &)\n");
70160  return 0;
70161 }
70162 
70163 
70164 SWIGINTERN PyObject *_wrap_map_string_Joint_asdict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70165  PyObject *resultobj = 0;
70166  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70167  void *argp1 = 0 ;
70168  int res1 = 0 ;
70169  PyObject * obj0 = 0 ;
70170  PyObject *result = 0 ;
70171 
70172  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint_asdict",&obj0)) SWIG_fail;
70173  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70174  if (!SWIG_IsOK(res1)) {
70175  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_asdict" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70176  }
70177  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70178  result = (PyObject *)std_map_Sl_std_string_Sc_Joint_Sm__Sg__asdict(arg1);
70179  resultobj = result;
70180  return resultobj;
70181 fail:
70182  return NULL;
70183 }
70184 
70185 
70186 SWIGINTERN PyObject *_wrap_new_map_string_Joint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70187  PyObject *resultobj = 0;
70188  std::map< std::string,Joint * > *result = 0 ;
70189 
70190  if (!PyArg_ParseTuple(args,(char *)":new_map_string_Joint")) SWIG_fail;
70191  result = (std::map< std::string,Joint * > *)new std::map< std::string,Joint * >();
70192  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
70193  return resultobj;
70194 fail:
70195  return NULL;
70196 }
70197 
70198 
70199 SWIGINTERN PyObject *_wrap_new_map_string_Joint__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70200  PyObject *resultobj = 0;
70201  std::map< std::string,Joint * > *arg1 = 0 ;
70202  int res1 = SWIG_OLDOBJ ;
70203  PyObject * obj0 = 0 ;
70204  std::map< std::string,Joint * > *result = 0 ;
70205 
70206  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_Joint",&obj0)) SWIG_fail;
70207  {
70208  std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > > *ptr = (std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > > *)0;
70209  res1 = swig::asptr(obj0, &ptr);
70210  if (!SWIG_IsOK(res1)) {
70211  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_Joint" "', argument " "1"" of type '" "std::map< std::string,Joint * > const &""'");
70212  }
70213  if (!ptr) {
70214  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_Joint" "', argument " "1"" of type '" "std::map< std::string,Joint * > const &""'");
70215  }
70216  arg1 = ptr;
70217  }
70218  result = (std::map< std::string,Joint * > *)new std::map< std::string,Joint * >((std::map< std::string,Joint * > const &)*arg1);
70219  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
70220  if (SWIG_IsNewObj(res1)) delete arg1;
70221  return resultobj;
70222 fail:
70223  if (SWIG_IsNewObj(res1)) delete arg1;
70224  return NULL;
70225 }
70226 
70227 
70228 SWIGINTERN PyObject *_wrap_new_map_string_Joint(PyObject *self, PyObject *args) {
70229  int argc;
70230  PyObject *argv[2];
70231  int ii;
70232 
70233  if (!PyTuple_Check(args)) SWIG_fail;
70234  argc = args ? (int)PyObject_Length(args) : 0;
70235  for (ii = 0; (ii < 1) && (ii < argc); ii++) {
70236  argv[ii] = PyTuple_GET_ITEM(args,ii);
70237  }
70238  if (argc == 0) {
70239  return _wrap_new_map_string_Joint__SWIG_1(self, args);
70240  }
70241  if (argc == 1) {
70242  int _v;
70243  int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__lessT_std__string_t, 0);
70244  _v = SWIG_CheckState(res);
70245  if (_v) {
70246  return _wrap_new_map_string_Joint__SWIG_0(self, args);
70247  }
70248  }
70249  if (argc == 1) {
70250  int _v;
70251  int res = swig::asptr(argv[0], (std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >**)(0));
70252  _v = SWIG_CheckState(res);
70253  if (_v) {
70254  return _wrap_new_map_string_Joint__SWIG_2(self, args);
70255  }
70256  }
70257 
70258 fail:
70259  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_map_string_Joint'.\n"
70260  " Possible C/C++ prototypes are:\n"
70261  " std::map< std::string,Joint * >::map(std::less< std::string > const &)\n"
70262  " std::map< std::string,Joint * >::map()\n"
70263  " std::map< std::string,Joint * >::map(std::map< std::string,Joint * > const &)\n");
70264  return 0;
70265 }
70266 
70267 
70268 SWIGINTERN PyObject *_wrap_map_string_Joint_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70269  PyObject *resultobj = 0;
70270  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70271  void *argp1 = 0 ;
70272  int res1 = 0 ;
70273  PyObject * obj0 = 0 ;
70274  bool result;
70275 
70276  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint_empty",&obj0)) SWIG_fail;
70277  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70278  if (!SWIG_IsOK(res1)) {
70279  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_empty" "', argument " "1"" of type '" "std::map< std::string,Joint * > const *""'");
70280  }
70281  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70282  result = (bool)((std::map< std::string,Joint * > const *)arg1)->empty();
70283  resultobj = SWIG_From_bool(static_cast< bool >(result));
70284  return resultobj;
70285 fail:
70286  return NULL;
70287 }
70288 
70289 
70290 SWIGINTERN PyObject *_wrap_map_string_Joint_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70291  PyObject *resultobj = 0;
70292  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70293  void *argp1 = 0 ;
70294  int res1 = 0 ;
70295  PyObject * obj0 = 0 ;
70296  std::map< std::string,Joint * >::size_type result;
70297 
70298  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint_size",&obj0)) SWIG_fail;
70299  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70300  if (!SWIG_IsOK(res1)) {
70301  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_size" "', argument " "1"" of type '" "std::map< std::string,Joint * > const *""'");
70302  }
70303  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70304  result = ((std::map< std::string,Joint * > const *)arg1)->size();
70305  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
70306  return resultobj;
70307 fail:
70308  return NULL;
70309 }
70310 
70311 
70312 SWIGINTERN PyObject *_wrap_map_string_Joint_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70313  PyObject *resultobj = 0;
70314  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70315  void *argp1 = 0 ;
70316  int res1 = 0 ;
70317  PyObject * obj0 = 0 ;
70318 
70319  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint_clear",&obj0)) SWIG_fail;
70320  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70321  if (!SWIG_IsOK(res1)) {
70322  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_clear" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70323  }
70324  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70325  (arg1)->clear();
70326  resultobj = SWIG_Py_Void();
70327  return resultobj;
70328 fail:
70329  return NULL;
70330 }
70331 
70332 
70333 SWIGINTERN PyObject *_wrap_map_string_Joint_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70334  PyObject *resultobj = 0;
70335  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70336  std::map< std::string,Joint * > *arg2 = 0 ;
70337  void *argp1 = 0 ;
70338  int res1 = 0 ;
70339  void *argp2 = 0 ;
70340  int res2 = 0 ;
70341  PyObject * obj0 = 0 ;
70342  PyObject * obj1 = 0 ;
70343 
70344  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Joint_swap",&obj0,&obj1)) SWIG_fail;
70345  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70346  if (!SWIG_IsOK(res1)) {
70347  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_swap" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70348  }
70349  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70350  res2 = SWIG_ConvertPtr(obj1, &argp2, 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, 0 );
70351  if (!SWIG_IsOK(res2)) {
70352  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Joint_swap" "', argument " "2"" of type '" "std::map< std::string,Joint * > &""'");
70353  }
70354  if (!argp2) {
70355  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Joint_swap" "', argument " "2"" of type '" "std::map< std::string,Joint * > &""'");
70356  }
70357  arg2 = reinterpret_cast< std::map< std::string,Joint * > * >(argp2);
70358  (arg1)->swap(*arg2);
70359  resultobj = SWIG_Py_Void();
70360  return resultobj;
70361 fail:
70362  return NULL;
70363 }
70364 
70365 
70366 SWIGINTERN PyObject *_wrap_map_string_Joint_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70367  PyObject *resultobj = 0;
70368  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70369  void *argp1 = 0 ;
70370  int res1 = 0 ;
70371  PyObject * obj0 = 0 ;
70372  SwigValueWrapper< std::allocator< std::pair< std::string const,Joint * > > > result;
70373 
70374  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint_get_allocator",&obj0)) SWIG_fail;
70375  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70376  if (!SWIG_IsOK(res1)) {
70377  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_get_allocator" "', argument " "1"" of type '" "std::map< std::string,Joint * > const *""'");
70378  }
70379  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70380  result = ((std::map< std::string,Joint * > const *)arg1)->get_allocator();
70381  resultobj = SWIG_NewPointerObj((new std::map< std::string,Joint * >::allocator_type(static_cast< const std::map< std::string,Joint * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t, SWIG_POINTER_OWN | 0 );
70382  return resultobj;
70383 fail:
70384  return NULL;
70385 }
70386 
70387 
70388 SWIGINTERN PyObject *_wrap_map_string_Joint_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70389  PyObject *resultobj = 0;
70390  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70391  void *argp1 = 0 ;
70392  int res1 = 0 ;
70393  PyObject * obj0 = 0 ;
70394  std::map< std::string,Joint * >::iterator result;
70395 
70396  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint_begin",&obj0)) SWIG_fail;
70397  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70398  if (!SWIG_IsOK(res1)) {
70399  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_begin" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70400  }
70401  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70402  result = (arg1)->begin();
70403  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Joint * >::iterator & >(result)),
70404  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
70405  return resultobj;
70406 fail:
70407  return NULL;
70408 }
70409 
70410 
70411 SWIGINTERN PyObject *_wrap_map_string_Joint_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70412  PyObject *resultobj = 0;
70413  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70414  void *argp1 = 0 ;
70415  int res1 = 0 ;
70416  PyObject * obj0 = 0 ;
70417  std::map< std::string,Joint * >::iterator result;
70418 
70419  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint_end",&obj0)) SWIG_fail;
70420  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70421  if (!SWIG_IsOK(res1)) {
70422  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_end" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70423  }
70424  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70425  result = (arg1)->end();
70426  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Joint * >::iterator & >(result)),
70427  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
70428  return resultobj;
70429 fail:
70430  return NULL;
70431 }
70432 
70433 
70434 SWIGINTERN PyObject *_wrap_map_string_Joint_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70435  PyObject *resultobj = 0;
70436  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70437  void *argp1 = 0 ;
70438  int res1 = 0 ;
70439  PyObject * obj0 = 0 ;
70440  std::map< std::string,Joint * >::reverse_iterator result;
70441 
70442  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint_rbegin",&obj0)) SWIG_fail;
70443  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70444  if (!SWIG_IsOK(res1)) {
70445  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_rbegin" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70446  }
70447  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70448  result = (arg1)->rbegin();
70449  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Joint * >::reverse_iterator & >(result)),
70450  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
70451  return resultobj;
70452 fail:
70453  return NULL;
70454 }
70455 
70456 
70457 SWIGINTERN PyObject *_wrap_map_string_Joint_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70458  PyObject *resultobj = 0;
70459  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70460  void *argp1 = 0 ;
70461  int res1 = 0 ;
70462  PyObject * obj0 = 0 ;
70463  std::map< std::string,Joint * >::reverse_iterator result;
70464 
70465  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Joint_rend",&obj0)) SWIG_fail;
70466  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70467  if (!SWIG_IsOK(res1)) {
70468  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_rend" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70469  }
70470  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70471  result = (arg1)->rend();
70472  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Joint * >::reverse_iterator & >(result)),
70473  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
70474  return resultobj;
70475 fail:
70476  return NULL;
70477 }
70478 
70479 
70480 SWIGINTERN PyObject *_wrap_map_string_Joint_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70481  PyObject *resultobj = 0;
70482  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70483  std::map< std::string,Joint * >::key_type *arg2 = 0 ;
70484  void *argp1 = 0 ;
70485  int res1 = 0 ;
70486  int res2 = SWIG_OLDOBJ ;
70487  PyObject * obj0 = 0 ;
70488  PyObject * obj1 = 0 ;
70489  std::map< std::string,Joint * >::size_type result;
70490 
70491  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Joint_erase",&obj0,&obj1)) SWIG_fail;
70492  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70493  if (!SWIG_IsOK(res1)) {
70494  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_erase" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70495  }
70496  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70497  {
70498  std::string *ptr = (std::string *)0;
70499  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
70500  if (!SWIG_IsOK(res2)) {
70501  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Joint_erase" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
70502  }
70503  if (!ptr) {
70504  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Joint_erase" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
70505  }
70506  arg2 = ptr;
70507  }
70508  result = (arg1)->erase((std::map< std::string,Joint * >::key_type const &)*arg2);
70509  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
70510  if (SWIG_IsNewObj(res2)) delete arg2;
70511  return resultobj;
70512 fail:
70513  if (SWIG_IsNewObj(res2)) delete arg2;
70514  return NULL;
70515 }
70516 
70517 
70518 SWIGINTERN PyObject *_wrap_map_string_Joint_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70519  PyObject *resultobj = 0;
70520  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70521  std::map< std::string,Joint * >::key_type *arg2 = 0 ;
70522  void *argp1 = 0 ;
70523  int res1 = 0 ;
70524  int res2 = SWIG_OLDOBJ ;
70525  PyObject * obj0 = 0 ;
70526  PyObject * obj1 = 0 ;
70527  std::map< std::string,Joint * >::size_type result;
70528 
70529  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Joint_count",&obj0,&obj1)) SWIG_fail;
70530  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70531  if (!SWIG_IsOK(res1)) {
70532  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_count" "', argument " "1"" of type '" "std::map< std::string,Joint * > const *""'");
70533  }
70534  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70535  {
70536  std::string *ptr = (std::string *)0;
70537  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
70538  if (!SWIG_IsOK(res2)) {
70539  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Joint_count" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
70540  }
70541  if (!ptr) {
70542  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Joint_count" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
70543  }
70544  arg2 = ptr;
70545  }
70546  result = ((std::map< std::string,Joint * > const *)arg1)->count((std::map< std::string,Joint * >::key_type const &)*arg2);
70547  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
70548  if (SWIG_IsNewObj(res2)) delete arg2;
70549  return resultobj;
70550 fail:
70551  if (SWIG_IsNewObj(res2)) delete arg2;
70552  return NULL;
70553 }
70554 
70555 
70556 SWIGINTERN PyObject *_wrap_map_string_Joint_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70557  PyObject *resultobj = 0;
70558  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70559  std::map< std::string,Joint * >::iterator arg2 ;
70560  void *argp1 = 0 ;
70561  int res1 = 0 ;
70562  swig::SwigPyIterator *iter2 = 0 ;
70563  int res2 ;
70564  PyObject * obj0 = 0 ;
70565  PyObject * obj1 = 0 ;
70566 
70567  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Joint_erase",&obj0,&obj1)) SWIG_fail;
70568  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70569  if (!SWIG_IsOK(res1)) {
70570  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_erase" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70571  }
70572  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70573  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
70574  if (!SWIG_IsOK(res2) || !iter2) {
70575  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Joint_erase" "', argument " "2"" of type '" "std::map< std::string,Joint * >::iterator""'");
70576  } else {
70578  if (iter_t) {
70579  arg2 = iter_t->get_current();
70580  } else {
70581  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Joint_erase" "', argument " "2"" of type '" "std::map< std::string,Joint * >::iterator""'");
70582  }
70583  }
70584  std_map_Sl_std_string_Sc_Joint_Sm__Sg__erase__SWIG_1(arg1,arg2);
70585  resultobj = SWIG_Py_Void();
70586  return resultobj;
70587 fail:
70588  return NULL;
70589 }
70590 
70591 
70592 SWIGINTERN PyObject *_wrap_map_string_Joint_erase__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70593  PyObject *resultobj = 0;
70594  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70595  std::map< std::string,Joint * >::iterator arg2 ;
70596  std::map< std::string,Joint * >::iterator arg3 ;
70597  void *argp1 = 0 ;
70598  int res1 = 0 ;
70599  swig::SwigPyIterator *iter2 = 0 ;
70600  int res2 ;
70601  swig::SwigPyIterator *iter3 = 0 ;
70602  int res3 ;
70603  PyObject * obj0 = 0 ;
70604  PyObject * obj1 = 0 ;
70605  PyObject * obj2 = 0 ;
70606 
70607  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_Joint_erase",&obj0,&obj1,&obj2)) SWIG_fail;
70608  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70609  if (!SWIG_IsOK(res1)) {
70610  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_erase" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70611  }
70612  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70613  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
70614  if (!SWIG_IsOK(res2) || !iter2) {
70615  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Joint_erase" "', argument " "2"" of type '" "std::map< std::string,Joint * >::iterator""'");
70616  } else {
70618  if (iter_t) {
70619  arg2 = iter_t->get_current();
70620  } else {
70621  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Joint_erase" "', argument " "2"" of type '" "std::map< std::string,Joint * >::iterator""'");
70622  }
70623  }
70624  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
70625  if (!SWIG_IsOK(res3) || !iter3) {
70626  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Joint_erase" "', argument " "3"" of type '" "std::map< std::string,Joint * >::iterator""'");
70627  } else {
70629  if (iter_t) {
70630  arg3 = iter_t->get_current();
70631  } else {
70632  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Joint_erase" "', argument " "3"" of type '" "std::map< std::string,Joint * >::iterator""'");
70633  }
70634  }
70635  std_map_Sl_std_string_Sc_Joint_Sm__Sg__erase__SWIG_2(arg1,arg2,arg3);
70636  resultobj = SWIG_Py_Void();
70637  return resultobj;
70638 fail:
70639  return NULL;
70640 }
70641 
70642 
70643 SWIGINTERN PyObject *_wrap_map_string_Joint_erase(PyObject *self, PyObject *args) {
70644  int argc;
70645  PyObject *argv[4];
70646  int ii;
70647 
70648  if (!PyTuple_Check(args)) SWIG_fail;
70649  argc = args ? (int)PyObject_Length(args) : 0;
70650  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
70651  argv[ii] = PyTuple_GET_ITEM(args,ii);
70652  }
70653  if (argc == 2) {
70654  int _v;
70655  int res = swig::asptr(argv[0], (std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >**)(0));
70656  _v = SWIG_CheckState(res);
70657  if (_v) {
70658  swig::SwigPyIterator *iter = 0;
70659  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
70660  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,Joint * >::iterator > *>(iter) != 0));
70661  if (_v) {
70662  return _wrap_map_string_Joint_erase__SWIG_1(self, args);
70663  }
70664  }
70665  }
70666  if (argc == 2) {
70667  int _v;
70668  int res = swig::asptr(argv[0], (std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >**)(0));
70669  _v = SWIG_CheckState(res);
70670  if (_v) {
70671  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
70672  _v = SWIG_CheckState(res);
70673  if (_v) {
70674  return _wrap_map_string_Joint_erase__SWIG_0(self, args);
70675  }
70676  }
70677  }
70678  if (argc == 3) {
70679  int _v;
70680  int res = swig::asptr(argv[0], (std::map<std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >**)(0));
70681  _v = SWIG_CheckState(res);
70682  if (_v) {
70683  swig::SwigPyIterator *iter = 0;
70684  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
70685  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,Joint * >::iterator > *>(iter) != 0));
70686  if (_v) {
70687  swig::SwigPyIterator *iter = 0;
70688  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
70689  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,Joint * >::iterator > *>(iter) != 0));
70690  if (_v) {
70691  return _wrap_map_string_Joint_erase__SWIG_2(self, args);
70692  }
70693  }
70694  }
70695  }
70696 
70697 fail:
70698  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_Joint_erase'.\n"
70699  " Possible C/C++ prototypes are:\n"
70700  " std::map< std::string,Joint * >::erase(std::map< std::string,Joint * >::key_type const &)\n"
70701  " std::map< std::string,Joint * >::erase(std::map< std::string,Joint * >::iterator)\n"
70702  " std::map< std::string,Joint * >::erase(std::map< std::string,Joint * >::iterator,std::map< std::string,Joint * >::iterator)\n");
70703  return 0;
70704 }
70705 
70706 
70707 SWIGINTERN PyObject *_wrap_map_string_Joint_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70708  PyObject *resultobj = 0;
70709  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70710  std::map< std::string,Joint * >::key_type *arg2 = 0 ;
70711  void *argp1 = 0 ;
70712  int res1 = 0 ;
70713  int res2 = SWIG_OLDOBJ ;
70714  PyObject * obj0 = 0 ;
70715  PyObject * obj1 = 0 ;
70716  std::map< std::string,Joint * >::iterator result;
70717 
70718  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Joint_find",&obj0,&obj1)) SWIG_fail;
70719  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70720  if (!SWIG_IsOK(res1)) {
70721  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_find" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70722  }
70723  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70724  {
70725  std::string *ptr = (std::string *)0;
70726  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
70727  if (!SWIG_IsOK(res2)) {
70728  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Joint_find" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
70729  }
70730  if (!ptr) {
70731  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Joint_find" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
70732  }
70733  arg2 = ptr;
70734  }
70735  result = (arg1)->find((std::map< std::string,Joint * >::key_type const &)*arg2);
70736  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Joint * >::iterator & >(result)),
70737  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
70738  if (SWIG_IsNewObj(res2)) delete arg2;
70739  return resultobj;
70740 fail:
70741  if (SWIG_IsNewObj(res2)) delete arg2;
70742  return NULL;
70743 }
70744 
70745 
70746 SWIGINTERN PyObject *_wrap_map_string_Joint_lower_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70747  PyObject *resultobj = 0;
70748  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70749  std::map< std::string,Joint * >::key_type *arg2 = 0 ;
70750  void *argp1 = 0 ;
70751  int res1 = 0 ;
70752  int res2 = SWIG_OLDOBJ ;
70753  PyObject * obj0 = 0 ;
70754  PyObject * obj1 = 0 ;
70755  std::map< std::string,Joint * >::iterator result;
70756 
70757  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Joint_lower_bound",&obj0,&obj1)) SWIG_fail;
70758  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70759  if (!SWIG_IsOK(res1)) {
70760  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_lower_bound" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70761  }
70762  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70763  {
70764  std::string *ptr = (std::string *)0;
70765  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
70766  if (!SWIG_IsOK(res2)) {
70767  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Joint_lower_bound" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
70768  }
70769  if (!ptr) {
70770  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Joint_lower_bound" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
70771  }
70772  arg2 = ptr;
70773  }
70774  result = (arg1)->lower_bound((std::map< std::string,Joint * >::key_type const &)*arg2);
70775  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Joint * >::iterator & >(result)),
70776  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
70777  if (SWIG_IsNewObj(res2)) delete arg2;
70778  return resultobj;
70779 fail:
70780  if (SWIG_IsNewObj(res2)) delete arg2;
70781  return NULL;
70782 }
70783 
70784 
70785 SWIGINTERN PyObject *_wrap_map_string_Joint_upper_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70786  PyObject *resultobj = 0;
70787  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70788  std::map< std::string,Joint * >::key_type *arg2 = 0 ;
70789  void *argp1 = 0 ;
70790  int res1 = 0 ;
70791  int res2 = SWIG_OLDOBJ ;
70792  PyObject * obj0 = 0 ;
70793  PyObject * obj1 = 0 ;
70794  std::map< std::string,Joint * >::iterator result;
70795 
70796  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Joint_upper_bound",&obj0,&obj1)) SWIG_fail;
70797  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70798  if (!SWIG_IsOK(res1)) {
70799  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Joint_upper_bound" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70800  }
70801  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70802  {
70803  std::string *ptr = (std::string *)0;
70804  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
70805  if (!SWIG_IsOK(res2)) {
70806  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Joint_upper_bound" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
70807  }
70808  if (!ptr) {
70809  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Joint_upper_bound" "', argument " "2"" of type '" "std::map< std::string,Joint * >::key_type const &""'");
70810  }
70811  arg2 = ptr;
70812  }
70813  result = (arg1)->upper_bound((std::map< std::string,Joint * >::key_type const &)*arg2);
70814  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Joint * >::iterator & >(result)),
70815  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
70816  if (SWIG_IsNewObj(res2)) delete arg2;
70817  return resultobj;
70818 fail:
70819  if (SWIG_IsNewObj(res2)) delete arg2;
70820  return NULL;
70821 }
70822 
70823 
70824 SWIGINTERN PyObject *_wrap_delete_map_string_Joint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70825  PyObject *resultobj = 0;
70826  std::map< std::string,Joint * > *arg1 = (std::map< std::string,Joint * > *) 0 ;
70827  void *argp1 = 0 ;
70828  int res1 = 0 ;
70829  PyObject * obj0 = 0 ;
70830 
70831  if (!PyArg_ParseTuple(args,(char *)"O:delete_map_string_Joint",&obj0)) SWIG_fail;
70832  res1 = SWIG_ConvertPtr(obj0, &argp1,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_POINTER_DISOWN | 0 );
70833  if (!SWIG_IsOK(res1)) {
70834  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_map_string_Joint" "', argument " "1"" of type '" "std::map< std::string,Joint * > *""'");
70835  }
70836  arg1 = reinterpret_cast< std::map< std::string,Joint * > * >(argp1);
70837  {
70838  try {
70839  delete arg1;
70840  }
70841  catch(CStdErrorInfo oError)
70842  {
70843  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
70844  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
70845  PyErr_SetString(PyExc_IndexError, strError.c_str());
70846  SWIG_fail;
70847  }
70848  catch(...)
70849  {
70850  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
70851  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
70852  SWIG_fail;
70853  }
70854  }
70855  resultobj = SWIG_Py_Void();
70856  return resultobj;
70857 fail:
70858  return NULL;
70859 }
70860 
70861 
70862 SWIGINTERN PyObject *map_string_Joint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70863  PyObject *obj;
70864  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
70865  SWIG_TypeNewClientData(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_NewClientData(obj));
70866  return SWIG_Py_Void();
70867 }
70868 
70869 SWIGINTERN PyObject *_wrap_new_map_string_NeuralModule__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70870  PyObject *resultobj = 0;
70871  std::less< std::string > *arg1 = 0 ;
70872  void *argp1 = 0 ;
70873  int res1 = 0 ;
70874  PyObject * obj0 = 0 ;
70875  std::map< std::string,NeuralModule * > *result = 0 ;
70876 
70877  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_NeuralModule",&obj0)) SWIG_fail;
70878  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__lessT_std__string_t, 0 | 0);
70879  if (!SWIG_IsOK(res1)) {
70880  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_NeuralModule" "', argument " "1"" of type '" "std::less< std::string > const &""'");
70881  }
70882  if (!argp1) {
70883  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_NeuralModule" "', argument " "1"" of type '" "std::less< std::string > const &""'");
70884  }
70885  arg1 = reinterpret_cast< std::less< std::string > * >(argp1);
70886  result = (std::map< std::string,NeuralModule * > *)new std::map< std::string,NeuralModule * >((std::less< std::string > const &)*arg1);
70887  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
70888  return resultobj;
70889 fail:
70890  return NULL;
70891 }
70892 
70893 
70894 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70895  PyObject *resultobj = 0;
70896  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
70897  PyObject **arg2 = (PyObject **) 0 ;
70898  void *argp1 = 0 ;
70899  int res1 = 0 ;
70900  PyObject * obj0 = 0 ;
70901  swig::SwigPyIterator *result = 0 ;
70902 
70903  arg2 = &obj0;
70904  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule_iterator",&obj0)) SWIG_fail;
70905  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70906  if (!SWIG_IsOK(res1)) {
70907  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_iterator" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
70908  }
70909  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
70910  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__iterator(arg1,arg2);
70911  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
70912  return resultobj;
70913 fail:
70914  return NULL;
70915 }
70916 
70917 
70918 SWIGINTERN PyObject *_wrap_map_string_NeuralModule___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70919  PyObject *resultobj = 0;
70920  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
70921  void *argp1 = 0 ;
70922  int res1 = 0 ;
70923  PyObject * obj0 = 0 ;
70924  bool result;
70925 
70926  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule___nonzero__",&obj0)) SWIG_fail;
70927  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70928  if (!SWIG_IsOK(res1)) {
70929  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule___nonzero__" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > const *""'");
70930  }
70931  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
70932  result = (bool)std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____nonzero__((std::map< std::string,NeuralModule * > const *)arg1);
70933  resultobj = SWIG_From_bool(static_cast< bool >(result));
70934  return resultobj;
70935 fail:
70936  return NULL;
70937 }
70938 
70939 
70940 SWIGINTERN PyObject *_wrap_map_string_NeuralModule___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70941  PyObject *resultobj = 0;
70942  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
70943  void *argp1 = 0 ;
70944  int res1 = 0 ;
70945  PyObject * obj0 = 0 ;
70946  bool result;
70947 
70948  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule___bool__",&obj0)) SWIG_fail;
70949  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70950  if (!SWIG_IsOK(res1)) {
70951  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule___bool__" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > const *""'");
70952  }
70953  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
70954  result = (bool)std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____bool__((std::map< std::string,NeuralModule * > const *)arg1);
70955  resultobj = SWIG_From_bool(static_cast< bool >(result));
70956  return resultobj;
70957 fail:
70958  return NULL;
70959 }
70960 
70961 
70962 SWIGINTERN PyObject *_wrap_map_string_NeuralModule___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70963  PyObject *resultobj = 0;
70964  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
70965  void *argp1 = 0 ;
70966  int res1 = 0 ;
70967  PyObject * obj0 = 0 ;
70968  std::map< std::string,NeuralModule * >::size_type result;
70969 
70970  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule___len__",&obj0)) SWIG_fail;
70971  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70972  if (!SWIG_IsOK(res1)) {
70973  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule___len__" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > const *""'");
70974  }
70975  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
70976  result = std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____len__((std::map< std::string,NeuralModule * > const *)arg1);
70977  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
70978  return resultobj;
70979 fail:
70980  return NULL;
70981 }
70982 
70983 
70984 SWIGINTERN PyObject *_wrap_map_string_NeuralModule___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
70985  PyObject *resultobj = 0;
70986  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
70987  std::map< std::string,NeuralModule * >::key_type *arg2 = 0 ;
70988  void *argp1 = 0 ;
70989  int res1 = 0 ;
70990  int res2 = SWIG_OLDOBJ ;
70991  PyObject * obj0 = 0 ;
70992  PyObject * obj1 = 0 ;
70993  std::map< std::string,NeuralModule * >::mapped_type *result = 0 ;
70994 
70995  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_NeuralModule___getitem__",&obj0,&obj1)) SWIG_fail;
70996  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
70997  if (!SWIG_IsOK(res1)) {
70998  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule___getitem__" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
70999  }
71000  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71001  {
71002  std::string *ptr = (std::string *)0;
71003  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
71004  if (!SWIG_IsOK(res2)) {
71005  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_NeuralModule___getitem__" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71006  }
71007  if (!ptr) {
71008  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_NeuralModule___getitem__" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71009  }
71010  arg2 = ptr;
71011  }
71012  try {
71013  result = (std::map< std::string,NeuralModule * >::mapped_type *) &std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____getitem__(arg1,(std::string const &)*arg2);
71014  }
71015  catch(std::out_of_range &_e) {
71016  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
71017  }
71018 
71019  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(*result), SWIGTYPE_p_NeuralModule, 0 | 0 );
71020  if (SWIG_IsNewObj(res2)) delete arg2;
71021  return resultobj;
71022 fail:
71023  if (SWIG_IsNewObj(res2)) delete arg2;
71024  return NULL;
71025 }
71026 
71027 
71028 SWIGINTERN PyObject *_wrap_map_string_NeuralModule___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71029  PyObject *resultobj = 0;
71030  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71031  std::map< std::string,NeuralModule * >::key_type *arg2 = 0 ;
71032  void *argp1 = 0 ;
71033  int res1 = 0 ;
71034  int res2 = SWIG_OLDOBJ ;
71035  PyObject * obj0 = 0 ;
71036  PyObject * obj1 = 0 ;
71037 
71038  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_NeuralModule___delitem__",&obj0,&obj1)) SWIG_fail;
71039  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71040  if (!SWIG_IsOK(res1)) {
71041  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule___delitem__" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71042  }
71043  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71044  {
71045  std::string *ptr = (std::string *)0;
71046  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
71047  if (!SWIG_IsOK(res2)) {
71048  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_NeuralModule___delitem__" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71049  }
71050  if (!ptr) {
71051  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_NeuralModule___delitem__" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71052  }
71053  arg2 = ptr;
71054  }
71055  try {
71056  std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____delitem__(arg1,(std::string const &)*arg2);
71057  }
71058  catch(std::out_of_range &_e) {
71059  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
71060  }
71061 
71062  resultobj = SWIG_Py_Void();
71063  if (SWIG_IsNewObj(res2)) delete arg2;
71064  return resultobj;
71065 fail:
71066  if (SWIG_IsNewObj(res2)) delete arg2;
71067  return NULL;
71068 }
71069 
71070 
71071 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_has_key(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71072  PyObject *resultobj = 0;
71073  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71074  std::map< std::string,NeuralModule * >::key_type *arg2 = 0 ;
71075  void *argp1 = 0 ;
71076  int res1 = 0 ;
71077  int res2 = SWIG_OLDOBJ ;
71078  PyObject * obj0 = 0 ;
71079  PyObject * obj1 = 0 ;
71080  bool result;
71081 
71082  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_NeuralModule_has_key",&obj0,&obj1)) SWIG_fail;
71083  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71084  if (!SWIG_IsOK(res1)) {
71085  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_has_key" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > const *""'");
71086  }
71087  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71088  {
71089  std::string *ptr = (std::string *)0;
71090  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
71091  if (!SWIG_IsOK(res2)) {
71092  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_NeuralModule_has_key" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71093  }
71094  if (!ptr) {
71095  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_NeuralModule_has_key" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71096  }
71097  arg2 = ptr;
71098  }
71099  result = (bool)std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__has_key((std::map< std::string,NeuralModule * > const *)arg1,(std::string const &)*arg2);
71100  resultobj = SWIG_From_bool(static_cast< bool >(result));
71101  if (SWIG_IsNewObj(res2)) delete arg2;
71102  return resultobj;
71103 fail:
71104  if (SWIG_IsNewObj(res2)) delete arg2;
71105  return NULL;
71106 }
71107 
71108 
71109 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_keys(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71110  PyObject *resultobj = 0;
71111  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71112  void *argp1 = 0 ;
71113  int res1 = 0 ;
71114  PyObject * obj0 = 0 ;
71115  PyObject *result = 0 ;
71116 
71117  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule_keys",&obj0)) SWIG_fail;
71118  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71119  if (!SWIG_IsOK(res1)) {
71120  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_keys" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71121  }
71122  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71123  result = (PyObject *)std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__keys(arg1);
71124  resultobj = result;
71125  return resultobj;
71126 fail:
71127  return NULL;
71128 }
71129 
71130 
71131 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_values(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71132  PyObject *resultobj = 0;
71133  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71134  void *argp1 = 0 ;
71135  int res1 = 0 ;
71136  PyObject * obj0 = 0 ;
71137  PyObject *result = 0 ;
71138 
71139  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule_values",&obj0)) SWIG_fail;
71140  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71141  if (!SWIG_IsOK(res1)) {
71142  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_values" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71143  }
71144  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71145  result = (PyObject *)std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__values(arg1);
71146  resultobj = result;
71147  return resultobj;
71148 fail:
71149  return NULL;
71150 }
71151 
71152 
71153 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_items(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71154  PyObject *resultobj = 0;
71155  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71156  void *argp1 = 0 ;
71157  int res1 = 0 ;
71158  PyObject * obj0 = 0 ;
71159  PyObject *result = 0 ;
71160 
71161  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule_items",&obj0)) SWIG_fail;
71162  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71163  if (!SWIG_IsOK(res1)) {
71164  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_items" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71165  }
71166  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71167  result = (PyObject *)std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__items(arg1);
71168  resultobj = result;
71169  return resultobj;
71170 fail:
71171  return NULL;
71172 }
71173 
71174 
71175 SWIGINTERN PyObject *_wrap_map_string_NeuralModule___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71176  PyObject *resultobj = 0;
71177  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71178  std::map< std::string,NeuralModule * >::key_type *arg2 = 0 ;
71179  void *argp1 = 0 ;
71180  int res1 = 0 ;
71181  int res2 = SWIG_OLDOBJ ;
71182  PyObject * obj0 = 0 ;
71183  PyObject * obj1 = 0 ;
71184  bool result;
71185 
71186  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_NeuralModule___contains__",&obj0,&obj1)) SWIG_fail;
71187  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71188  if (!SWIG_IsOK(res1)) {
71189  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule___contains__" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71190  }
71191  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71192  {
71193  std::string *ptr = (std::string *)0;
71194  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
71195  if (!SWIG_IsOK(res2)) {
71196  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_NeuralModule___contains__" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71197  }
71198  if (!ptr) {
71199  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_NeuralModule___contains__" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71200  }
71201  arg2 = ptr;
71202  }
71203  result = (bool)std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____contains__(arg1,(std::string const &)*arg2);
71204  resultobj = SWIG_From_bool(static_cast< bool >(result));
71205  if (SWIG_IsNewObj(res2)) delete arg2;
71206  return resultobj;
71207 fail:
71208  if (SWIG_IsNewObj(res2)) delete arg2;
71209  return NULL;
71210 }
71211 
71212 
71213 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_key_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71214  PyObject *resultobj = 0;
71215  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71216  PyObject **arg2 = (PyObject **) 0 ;
71217  void *argp1 = 0 ;
71218  int res1 = 0 ;
71219  PyObject * obj0 = 0 ;
71220  swig::SwigPyIterator *result = 0 ;
71221 
71222  arg2 = &obj0;
71223  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule_key_iterator",&obj0)) SWIG_fail;
71224  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71225  if (!SWIG_IsOK(res1)) {
71226  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_key_iterator" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71227  }
71228  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71229  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__key_iterator(arg1,arg2);
71230  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
71231  return resultobj;
71232 fail:
71233  return NULL;
71234 }
71235 
71236 
71237 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_value_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71238  PyObject *resultobj = 0;
71239  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71240  PyObject **arg2 = (PyObject **) 0 ;
71241  void *argp1 = 0 ;
71242  int res1 = 0 ;
71243  PyObject * obj0 = 0 ;
71244  swig::SwigPyIterator *result = 0 ;
71245 
71246  arg2 = &obj0;
71247  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule_value_iterator",&obj0)) SWIG_fail;
71248  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71249  if (!SWIG_IsOK(res1)) {
71250  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_value_iterator" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71251  }
71252  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71253  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__value_iterator(arg1,arg2);
71254  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
71255  return resultobj;
71256 fail:
71257  return NULL;
71258 }
71259 
71260 
71261 SWIGINTERN PyObject *_wrap_map_string_NeuralModule___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71262  PyObject *resultobj = 0;
71263  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71264  std::map< std::string,NeuralModule * >::key_type *arg2 = 0 ;
71265  void *argp1 = 0 ;
71266  int res1 = 0 ;
71267  int res2 = SWIG_OLDOBJ ;
71268  PyObject * obj0 = 0 ;
71269  PyObject * obj1 = 0 ;
71270 
71271  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_NeuralModule___setitem__",&obj0,&obj1)) SWIG_fail;
71272  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71273  if (!SWIG_IsOK(res1)) {
71274  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule___setitem__" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71275  }
71276  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71277  {
71278  std::string *ptr = (std::string *)0;
71279  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
71280  if (!SWIG_IsOK(res2)) {
71281  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_NeuralModule___setitem__" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71282  }
71283  if (!ptr) {
71284  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_NeuralModule___setitem__" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71285  }
71286  arg2 = ptr;
71287  }
71288  std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____setitem____SWIG_0(arg1,(std::string const &)*arg2);
71289  resultobj = SWIG_Py_Void();
71290  if (SWIG_IsNewObj(res2)) delete arg2;
71291  return resultobj;
71292 fail:
71293  if (SWIG_IsNewObj(res2)) delete arg2;
71294  return NULL;
71295 }
71296 
71297 
71298 SWIGINTERN PyObject *_wrap_map_string_NeuralModule___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71299  PyObject *resultobj = 0;
71300  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71301  std::map< std::string,NeuralModule * >::key_type *arg2 = 0 ;
71302  std::map< std::string,NeuralModule * >::mapped_type *arg3 = 0 ;
71303  void *argp1 = 0 ;
71304  int res1 = 0 ;
71305  int res2 = SWIG_OLDOBJ ;
71306  void *argp3 = 0 ;
71307  int res3 = 0 ;
71308  std::map< std::string,NeuralModule * >::mapped_type temp3 ;
71309  PyObject * obj0 = 0 ;
71310  PyObject * obj1 = 0 ;
71311  PyObject * obj2 = 0 ;
71312 
71313  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_NeuralModule___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
71314  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71315  if (!SWIG_IsOK(res1)) {
71316  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule___setitem__" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71317  }
71318  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71319  {
71320  std::string *ptr = (std::string *)0;
71321  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
71322  if (!SWIG_IsOK(res2)) {
71323  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_NeuralModule___setitem__" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71324  }
71325  if (!ptr) {
71326  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_NeuralModule___setitem__" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71327  }
71328  arg2 = ptr;
71329  }
71330  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_NeuralModule, 0 | 0 );
71331  if (!SWIG_IsOK(res3)) {
71332  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "map_string_NeuralModule___setitem__" "', argument " "3"" of type '" "std::map< std::string,NeuralModule * >::mapped_type""'");
71333  }
71334  temp3 = reinterpret_cast< std::map< std::string,NeuralModule * >::mapped_type >(argp3);
71335  arg3 = reinterpret_cast< std::map< std::string,NeuralModule * >::mapped_type * >(&temp3);
71336  try {
71337  std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg____setitem____SWIG_1(arg1,(std::string const &)*arg2,(NeuralModule *const &)*arg3);
71338  }
71339  catch(std::out_of_range &_e) {
71340  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
71341  }
71342 
71343  resultobj = SWIG_Py_Void();
71344  if (SWIG_IsNewObj(res2)) delete arg2;
71345  return resultobj;
71346 fail:
71347  if (SWIG_IsNewObj(res2)) delete arg2;
71348  return NULL;
71349 }
71350 
71351 
71352 SWIGINTERN PyObject *_wrap_map_string_NeuralModule___setitem__(PyObject *self, PyObject *args) {
71353  int argc;
71354  PyObject *argv[4];
71355  int ii;
71356 
71357  if (!PyTuple_Check(args)) SWIG_fail;
71358  argc = args ? (int)PyObject_Length(args) : 0;
71359  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
71360  argv[ii] = PyTuple_GET_ITEM(args,ii);
71361  }
71362  if (argc == 2) {
71363  int _v;
71364  int res = swig::asptr(argv[0], (std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >**)(0));
71365  _v = SWIG_CheckState(res);
71366  if (_v) {
71367  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
71368  _v = SWIG_CheckState(res);
71369  if (_v) {
71370  return _wrap_map_string_NeuralModule___setitem____SWIG_0(self, args);
71371  }
71372  }
71373  }
71374  if (argc == 3) {
71375  int _v;
71376  int res = swig::asptr(argv[0], (std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >**)(0));
71377  _v = SWIG_CheckState(res);
71378  if (_v) {
71379  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
71380  _v = SWIG_CheckState(res);
71381  if (_v) {
71382  void *vptr = 0;
71383  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_NeuralModule, 0);
71384  _v = SWIG_CheckState(res);
71385  if (_v) {
71386  return _wrap_map_string_NeuralModule___setitem____SWIG_1(self, args);
71387  }
71388  }
71389  }
71390  }
71391 
71392 fail:
71393  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_NeuralModule___setitem__'.\n"
71394  " Possible C/C++ prototypes are:\n"
71395  " std::map< std::string,NeuralModule * >::__setitem__(std::map< std::string,NeuralModule * >::key_type const &)\n"
71396  " std::map< std::string,NeuralModule * >::__setitem__(std::map< std::string,NeuralModule * >::key_type const &,std::map< std::string,NeuralModule * >::mapped_type const &)\n");
71397  return 0;
71398 }
71399 
71400 
71401 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_asdict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71402  PyObject *resultobj = 0;
71403  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71404  void *argp1 = 0 ;
71405  int res1 = 0 ;
71406  PyObject * obj0 = 0 ;
71407  PyObject *result = 0 ;
71408 
71409  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule_asdict",&obj0)) SWIG_fail;
71410  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71411  if (!SWIG_IsOK(res1)) {
71412  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_asdict" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71413  }
71414  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71415  result = (PyObject *)std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__asdict(arg1);
71416  resultobj = result;
71417  return resultobj;
71418 fail:
71419  return NULL;
71420 }
71421 
71422 
71423 SWIGINTERN PyObject *_wrap_new_map_string_NeuralModule__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71424  PyObject *resultobj = 0;
71425  std::map< std::string,NeuralModule * > *result = 0 ;
71426 
71427  if (!PyArg_ParseTuple(args,(char *)":new_map_string_NeuralModule")) SWIG_fail;
71428  result = (std::map< std::string,NeuralModule * > *)new std::map< std::string,NeuralModule * >();
71429  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
71430  return resultobj;
71431 fail:
71432  return NULL;
71433 }
71434 
71435 
71436 SWIGINTERN PyObject *_wrap_new_map_string_NeuralModule__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71437  PyObject *resultobj = 0;
71438  std::map< std::string,NeuralModule * > *arg1 = 0 ;
71439  int res1 = SWIG_OLDOBJ ;
71440  PyObject * obj0 = 0 ;
71441  std::map< std::string,NeuralModule * > *result = 0 ;
71442 
71443  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_NeuralModule",&obj0)) SWIG_fail;
71444  {
71445  std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > > *ptr = (std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > > *)0;
71446  res1 = swig::asptr(obj0, &ptr);
71447  if (!SWIG_IsOK(res1)) {
71448  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_NeuralModule" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > const &""'");
71449  }
71450  if (!ptr) {
71451  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_NeuralModule" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > const &""'");
71452  }
71453  arg1 = ptr;
71454  }
71455  result = (std::map< std::string,NeuralModule * > *)new std::map< std::string,NeuralModule * >((std::map< std::string,NeuralModule * > const &)*arg1);
71456  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
71457  if (SWIG_IsNewObj(res1)) delete arg1;
71458  return resultobj;
71459 fail:
71460  if (SWIG_IsNewObj(res1)) delete arg1;
71461  return NULL;
71462 }
71463 
71464 
71465 SWIGINTERN PyObject *_wrap_new_map_string_NeuralModule(PyObject *self, PyObject *args) {
71466  int argc;
71467  PyObject *argv[2];
71468  int ii;
71469 
71470  if (!PyTuple_Check(args)) SWIG_fail;
71471  argc = args ? (int)PyObject_Length(args) : 0;
71472  for (ii = 0; (ii < 1) && (ii < argc); ii++) {
71473  argv[ii] = PyTuple_GET_ITEM(args,ii);
71474  }
71475  if (argc == 0) {
71476  return _wrap_new_map_string_NeuralModule__SWIG_1(self, args);
71477  }
71478  if (argc == 1) {
71479  int _v;
71480  int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__lessT_std__string_t, 0);
71481  _v = SWIG_CheckState(res);
71482  if (_v) {
71483  return _wrap_new_map_string_NeuralModule__SWIG_0(self, args);
71484  }
71485  }
71486  if (argc == 1) {
71487  int _v;
71488  int res = swig::asptr(argv[0], (std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >**)(0));
71489  _v = SWIG_CheckState(res);
71490  if (_v) {
71491  return _wrap_new_map_string_NeuralModule__SWIG_2(self, args);
71492  }
71493  }
71494 
71495 fail:
71496  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_map_string_NeuralModule'.\n"
71497  " Possible C/C++ prototypes are:\n"
71498  " std::map< std::string,NeuralModule * >::map(std::less< std::string > const &)\n"
71499  " std::map< std::string,NeuralModule * >::map()\n"
71500  " std::map< std::string,NeuralModule * >::map(std::map< std::string,NeuralModule * > const &)\n");
71501  return 0;
71502 }
71503 
71504 
71505 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71506  PyObject *resultobj = 0;
71507  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71508  void *argp1 = 0 ;
71509  int res1 = 0 ;
71510  PyObject * obj0 = 0 ;
71511  bool result;
71512 
71513  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule_empty",&obj0)) SWIG_fail;
71514  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71515  if (!SWIG_IsOK(res1)) {
71516  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_empty" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > const *""'");
71517  }
71518  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71519  result = (bool)((std::map< std::string,NeuralModule * > const *)arg1)->empty();
71520  resultobj = SWIG_From_bool(static_cast< bool >(result));
71521  return resultobj;
71522 fail:
71523  return NULL;
71524 }
71525 
71526 
71527 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71528  PyObject *resultobj = 0;
71529  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71530  void *argp1 = 0 ;
71531  int res1 = 0 ;
71532  PyObject * obj0 = 0 ;
71533  std::map< std::string,NeuralModule * >::size_type result;
71534 
71535  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule_size",&obj0)) SWIG_fail;
71536  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71537  if (!SWIG_IsOK(res1)) {
71538  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_size" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > const *""'");
71539  }
71540  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71541  result = ((std::map< std::string,NeuralModule * > const *)arg1)->size();
71542  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
71543  return resultobj;
71544 fail:
71545  return NULL;
71546 }
71547 
71548 
71549 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71550  PyObject *resultobj = 0;
71551  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71552  void *argp1 = 0 ;
71553  int res1 = 0 ;
71554  PyObject * obj0 = 0 ;
71555 
71556  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule_clear",&obj0)) SWIG_fail;
71557  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71558  if (!SWIG_IsOK(res1)) {
71559  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_clear" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71560  }
71561  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71562  (arg1)->clear();
71563  resultobj = SWIG_Py_Void();
71564  return resultobj;
71565 fail:
71566  return NULL;
71567 }
71568 
71569 
71570 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71571  PyObject *resultobj = 0;
71572  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71573  std::map< std::string,NeuralModule * > *arg2 = 0 ;
71574  void *argp1 = 0 ;
71575  int res1 = 0 ;
71576  void *argp2 = 0 ;
71577  int res2 = 0 ;
71578  PyObject * obj0 = 0 ;
71579  PyObject * obj1 = 0 ;
71580 
71581  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_NeuralModule_swap",&obj0,&obj1)) SWIG_fail;
71582  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71583  if (!SWIG_IsOK(res1)) {
71584  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_swap" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71585  }
71586  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71587  res2 = SWIG_ConvertPtr(obj1, &argp2, 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, 0 );
71588  if (!SWIG_IsOK(res2)) {
71589  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_NeuralModule_swap" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * > &""'");
71590  }
71591  if (!argp2) {
71592  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_NeuralModule_swap" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * > &""'");
71593  }
71594  arg2 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp2);
71595  (arg1)->swap(*arg2);
71596  resultobj = SWIG_Py_Void();
71597  return resultobj;
71598 fail:
71599  return NULL;
71600 }
71601 
71602 
71603 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71604  PyObject *resultobj = 0;
71605  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71606  void *argp1 = 0 ;
71607  int res1 = 0 ;
71608  PyObject * obj0 = 0 ;
71609  SwigValueWrapper< std::allocator< std::pair< std::string const,NeuralModule * > > > result;
71610 
71611  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule_get_allocator",&obj0)) SWIG_fail;
71612  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71613  if (!SWIG_IsOK(res1)) {
71614  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_get_allocator" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > const *""'");
71615  }
71616  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71617  result = ((std::map< std::string,NeuralModule * > const *)arg1)->get_allocator();
71618  resultobj = SWIG_NewPointerObj((new std::map< std::string,NeuralModule * >::allocator_type(static_cast< const std::map< std::string,NeuralModule * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t, SWIG_POINTER_OWN | 0 );
71619  return resultobj;
71620 fail:
71621  return NULL;
71622 }
71623 
71624 
71625 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71626  PyObject *resultobj = 0;
71627  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71628  void *argp1 = 0 ;
71629  int res1 = 0 ;
71630  PyObject * obj0 = 0 ;
71631  std::map< std::string,NeuralModule * >::iterator result;
71632 
71633  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule_begin",&obj0)) SWIG_fail;
71634  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71635  if (!SWIG_IsOK(res1)) {
71636  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_begin" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71637  }
71638  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71639  result = (arg1)->begin();
71640  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,NeuralModule * >::iterator & >(result)),
71641  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
71642  return resultobj;
71643 fail:
71644  return NULL;
71645 }
71646 
71647 
71648 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71649  PyObject *resultobj = 0;
71650  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71651  void *argp1 = 0 ;
71652  int res1 = 0 ;
71653  PyObject * obj0 = 0 ;
71654  std::map< std::string,NeuralModule * >::iterator result;
71655 
71656  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule_end",&obj0)) SWIG_fail;
71657  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71658  if (!SWIG_IsOK(res1)) {
71659  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_end" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71660  }
71661  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71662  result = (arg1)->end();
71663  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,NeuralModule * >::iterator & >(result)),
71664  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
71665  return resultobj;
71666 fail:
71667  return NULL;
71668 }
71669 
71670 
71671 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71672  PyObject *resultobj = 0;
71673  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71674  void *argp1 = 0 ;
71675  int res1 = 0 ;
71676  PyObject * obj0 = 0 ;
71677  std::map< std::string,NeuralModule * >::reverse_iterator result;
71678 
71679  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule_rbegin",&obj0)) SWIG_fail;
71680  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71681  if (!SWIG_IsOK(res1)) {
71682  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_rbegin" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71683  }
71684  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71685  result = (arg1)->rbegin();
71686  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,NeuralModule * >::reverse_iterator & >(result)),
71687  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
71688  return resultobj;
71689 fail:
71690  return NULL;
71691 }
71692 
71693 
71694 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71695  PyObject *resultobj = 0;
71696  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71697  void *argp1 = 0 ;
71698  int res1 = 0 ;
71699  PyObject * obj0 = 0 ;
71700  std::map< std::string,NeuralModule * >::reverse_iterator result;
71701 
71702  if (!PyArg_ParseTuple(args,(char *)"O:map_string_NeuralModule_rend",&obj0)) SWIG_fail;
71703  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71704  if (!SWIG_IsOK(res1)) {
71705  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_rend" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71706  }
71707  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71708  result = (arg1)->rend();
71709  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,NeuralModule * >::reverse_iterator & >(result)),
71710  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
71711  return resultobj;
71712 fail:
71713  return NULL;
71714 }
71715 
71716 
71717 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71718  PyObject *resultobj = 0;
71719  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71720  std::map< std::string,NeuralModule * >::key_type *arg2 = 0 ;
71721  void *argp1 = 0 ;
71722  int res1 = 0 ;
71723  int res2 = SWIG_OLDOBJ ;
71724  PyObject * obj0 = 0 ;
71725  PyObject * obj1 = 0 ;
71726  std::map< std::string,NeuralModule * >::size_type result;
71727 
71728  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_NeuralModule_erase",&obj0,&obj1)) SWIG_fail;
71729  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71730  if (!SWIG_IsOK(res1)) {
71731  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_erase" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71732  }
71733  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71734  {
71735  std::string *ptr = (std::string *)0;
71736  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
71737  if (!SWIG_IsOK(res2)) {
71738  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_NeuralModule_erase" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71739  }
71740  if (!ptr) {
71741  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_NeuralModule_erase" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71742  }
71743  arg2 = ptr;
71744  }
71745  result = (arg1)->erase((std::map< std::string,NeuralModule * >::key_type const &)*arg2);
71746  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
71747  if (SWIG_IsNewObj(res2)) delete arg2;
71748  return resultobj;
71749 fail:
71750  if (SWIG_IsNewObj(res2)) delete arg2;
71751  return NULL;
71752 }
71753 
71754 
71755 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71756  PyObject *resultobj = 0;
71757  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71758  std::map< std::string,NeuralModule * >::key_type *arg2 = 0 ;
71759  void *argp1 = 0 ;
71760  int res1 = 0 ;
71761  int res2 = SWIG_OLDOBJ ;
71762  PyObject * obj0 = 0 ;
71763  PyObject * obj1 = 0 ;
71764  std::map< std::string,NeuralModule * >::size_type result;
71765 
71766  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_NeuralModule_count",&obj0,&obj1)) SWIG_fail;
71767  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71768  if (!SWIG_IsOK(res1)) {
71769  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_count" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > const *""'");
71770  }
71771  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71772  {
71773  std::string *ptr = (std::string *)0;
71774  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
71775  if (!SWIG_IsOK(res2)) {
71776  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_NeuralModule_count" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71777  }
71778  if (!ptr) {
71779  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_NeuralModule_count" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71780  }
71781  arg2 = ptr;
71782  }
71783  result = ((std::map< std::string,NeuralModule * > const *)arg1)->count((std::map< std::string,NeuralModule * >::key_type const &)*arg2);
71784  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
71785  if (SWIG_IsNewObj(res2)) delete arg2;
71786  return resultobj;
71787 fail:
71788  if (SWIG_IsNewObj(res2)) delete arg2;
71789  return NULL;
71790 }
71791 
71792 
71793 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71794  PyObject *resultobj = 0;
71795  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71796  std::map< std::string,NeuralModule * >::iterator arg2 ;
71797  void *argp1 = 0 ;
71798  int res1 = 0 ;
71799  swig::SwigPyIterator *iter2 = 0 ;
71800  int res2 ;
71801  PyObject * obj0 = 0 ;
71802  PyObject * obj1 = 0 ;
71803 
71804  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_NeuralModule_erase",&obj0,&obj1)) SWIG_fail;
71805  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71806  if (!SWIG_IsOK(res1)) {
71807  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_erase" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71808  }
71809  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71810  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
71811  if (!SWIG_IsOK(res2) || !iter2) {
71812  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_NeuralModule_erase" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::iterator""'");
71813  } else {
71815  if (iter_t) {
71816  arg2 = iter_t->get_current();
71817  } else {
71818  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_NeuralModule_erase" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::iterator""'");
71819  }
71820  }
71821  std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__erase__SWIG_1(arg1,arg2);
71822  resultobj = SWIG_Py_Void();
71823  return resultobj;
71824 fail:
71825  return NULL;
71826 }
71827 
71828 
71829 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_erase__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71830  PyObject *resultobj = 0;
71831  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71832  std::map< std::string,NeuralModule * >::iterator arg2 ;
71833  std::map< std::string,NeuralModule * >::iterator arg3 ;
71834  void *argp1 = 0 ;
71835  int res1 = 0 ;
71836  swig::SwigPyIterator *iter2 = 0 ;
71837  int res2 ;
71838  swig::SwigPyIterator *iter3 = 0 ;
71839  int res3 ;
71840  PyObject * obj0 = 0 ;
71841  PyObject * obj1 = 0 ;
71842  PyObject * obj2 = 0 ;
71843 
71844  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_NeuralModule_erase",&obj0,&obj1,&obj2)) SWIG_fail;
71845  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71846  if (!SWIG_IsOK(res1)) {
71847  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_erase" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71848  }
71849  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71850  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
71851  if (!SWIG_IsOK(res2) || !iter2) {
71852  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_NeuralModule_erase" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::iterator""'");
71853  } else {
71855  if (iter_t) {
71856  arg2 = iter_t->get_current();
71857  } else {
71858  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_NeuralModule_erase" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::iterator""'");
71859  }
71860  }
71861  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
71862  if (!SWIG_IsOK(res3) || !iter3) {
71863  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_NeuralModule_erase" "', argument " "3"" of type '" "std::map< std::string,NeuralModule * >::iterator""'");
71864  } else {
71866  if (iter_t) {
71867  arg3 = iter_t->get_current();
71868  } else {
71869  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_NeuralModule_erase" "', argument " "3"" of type '" "std::map< std::string,NeuralModule * >::iterator""'");
71870  }
71871  }
71872  std_map_Sl_std_string_Sc_NeuralModule_Sm__Sg__erase__SWIG_2(arg1,arg2,arg3);
71873  resultobj = SWIG_Py_Void();
71874  return resultobj;
71875 fail:
71876  return NULL;
71877 }
71878 
71879 
71880 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_erase(PyObject *self, PyObject *args) {
71881  int argc;
71882  PyObject *argv[4];
71883  int ii;
71884 
71885  if (!PyTuple_Check(args)) SWIG_fail;
71886  argc = args ? (int)PyObject_Length(args) : 0;
71887  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
71888  argv[ii] = PyTuple_GET_ITEM(args,ii);
71889  }
71890  if (argc == 2) {
71891  int _v;
71892  int res = swig::asptr(argv[0], (std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >**)(0));
71893  _v = SWIG_CheckState(res);
71894  if (_v) {
71895  swig::SwigPyIterator *iter = 0;
71896  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
71897  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,NeuralModule * >::iterator > *>(iter) != 0));
71898  if (_v) {
71899  return _wrap_map_string_NeuralModule_erase__SWIG_1(self, args);
71900  }
71901  }
71902  }
71903  if (argc == 2) {
71904  int _v;
71905  int res = swig::asptr(argv[0], (std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >**)(0));
71906  _v = SWIG_CheckState(res);
71907  if (_v) {
71908  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
71909  _v = SWIG_CheckState(res);
71910  if (_v) {
71911  return _wrap_map_string_NeuralModule_erase__SWIG_0(self, args);
71912  }
71913  }
71914  }
71915  if (argc == 3) {
71916  int _v;
71917  int res = swig::asptr(argv[0], (std::map<std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >**)(0));
71918  _v = SWIG_CheckState(res);
71919  if (_v) {
71920  swig::SwigPyIterator *iter = 0;
71921  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
71922  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,NeuralModule * >::iterator > *>(iter) != 0));
71923  if (_v) {
71924  swig::SwigPyIterator *iter = 0;
71925  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
71926  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,NeuralModule * >::iterator > *>(iter) != 0));
71927  if (_v) {
71928  return _wrap_map_string_NeuralModule_erase__SWIG_2(self, args);
71929  }
71930  }
71931  }
71932  }
71933 
71934 fail:
71935  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_NeuralModule_erase'.\n"
71936  " Possible C/C++ prototypes are:\n"
71937  " std::map< std::string,NeuralModule * >::erase(std::map< std::string,NeuralModule * >::key_type const &)\n"
71938  " std::map< std::string,NeuralModule * >::erase(std::map< std::string,NeuralModule * >::iterator)\n"
71939  " std::map< std::string,NeuralModule * >::erase(std::map< std::string,NeuralModule * >::iterator,std::map< std::string,NeuralModule * >::iterator)\n");
71940  return 0;
71941 }
71942 
71943 
71944 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71945  PyObject *resultobj = 0;
71946  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71947  std::map< std::string,NeuralModule * >::key_type *arg2 = 0 ;
71948  void *argp1 = 0 ;
71949  int res1 = 0 ;
71950  int res2 = SWIG_OLDOBJ ;
71951  PyObject * obj0 = 0 ;
71952  PyObject * obj1 = 0 ;
71953  std::map< std::string,NeuralModule * >::iterator result;
71954 
71955  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_NeuralModule_find",&obj0,&obj1)) SWIG_fail;
71956  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71957  if (!SWIG_IsOK(res1)) {
71958  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_find" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71959  }
71960  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
71961  {
71962  std::string *ptr = (std::string *)0;
71963  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
71964  if (!SWIG_IsOK(res2)) {
71965  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_NeuralModule_find" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71966  }
71967  if (!ptr) {
71968  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_NeuralModule_find" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
71969  }
71970  arg2 = ptr;
71971  }
71972  result = (arg1)->find((std::map< std::string,NeuralModule * >::key_type const &)*arg2);
71973  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,NeuralModule * >::iterator & >(result)),
71974  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
71975  if (SWIG_IsNewObj(res2)) delete arg2;
71976  return resultobj;
71977 fail:
71978  if (SWIG_IsNewObj(res2)) delete arg2;
71979  return NULL;
71980 }
71981 
71982 
71983 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_lower_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
71984  PyObject *resultobj = 0;
71985  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
71986  std::map< std::string,NeuralModule * >::key_type *arg2 = 0 ;
71987  void *argp1 = 0 ;
71988  int res1 = 0 ;
71989  int res2 = SWIG_OLDOBJ ;
71990  PyObject * obj0 = 0 ;
71991  PyObject * obj1 = 0 ;
71992  std::map< std::string,NeuralModule * >::iterator result;
71993 
71994  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_NeuralModule_lower_bound",&obj0,&obj1)) SWIG_fail;
71995  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
71996  if (!SWIG_IsOK(res1)) {
71997  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_lower_bound" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
71998  }
71999  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
72000  {
72001  std::string *ptr = (std::string *)0;
72002  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
72003  if (!SWIG_IsOK(res2)) {
72004  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_NeuralModule_lower_bound" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
72005  }
72006  if (!ptr) {
72007  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_NeuralModule_lower_bound" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
72008  }
72009  arg2 = ptr;
72010  }
72011  result = (arg1)->lower_bound((std::map< std::string,NeuralModule * >::key_type const &)*arg2);
72012  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,NeuralModule * >::iterator & >(result)),
72013  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
72014  if (SWIG_IsNewObj(res2)) delete arg2;
72015  return resultobj;
72016 fail:
72017  if (SWIG_IsNewObj(res2)) delete arg2;
72018  return NULL;
72019 }
72020 
72021 
72022 SWIGINTERN PyObject *_wrap_map_string_NeuralModule_upper_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72023  PyObject *resultobj = 0;
72024  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
72025  std::map< std::string,NeuralModule * >::key_type *arg2 = 0 ;
72026  void *argp1 = 0 ;
72027  int res1 = 0 ;
72028  int res2 = SWIG_OLDOBJ ;
72029  PyObject * obj0 = 0 ;
72030  PyObject * obj1 = 0 ;
72031  std::map< std::string,NeuralModule * >::iterator result;
72032 
72033  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_NeuralModule_upper_bound",&obj0,&obj1)) SWIG_fail;
72034  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72035  if (!SWIG_IsOK(res1)) {
72036  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_NeuralModule_upper_bound" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
72037  }
72038  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
72039  {
72040  std::string *ptr = (std::string *)0;
72041  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
72042  if (!SWIG_IsOK(res2)) {
72043  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_NeuralModule_upper_bound" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
72044  }
72045  if (!ptr) {
72046  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_NeuralModule_upper_bound" "', argument " "2"" of type '" "std::map< std::string,NeuralModule * >::key_type const &""'");
72047  }
72048  arg2 = ptr;
72049  }
72050  result = (arg1)->upper_bound((std::map< std::string,NeuralModule * >::key_type const &)*arg2);
72051  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,NeuralModule * >::iterator & >(result)),
72052  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
72053  if (SWIG_IsNewObj(res2)) delete arg2;
72054  return resultobj;
72055 fail:
72056  if (SWIG_IsNewObj(res2)) delete arg2;
72057  return NULL;
72058 }
72059 
72060 
72061 SWIGINTERN PyObject *_wrap_delete_map_string_NeuralModule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72062  PyObject *resultobj = 0;
72063  std::map< std::string,NeuralModule * > *arg1 = (std::map< std::string,NeuralModule * > *) 0 ;
72064  void *argp1 = 0 ;
72065  int res1 = 0 ;
72066  PyObject * obj0 = 0 ;
72067 
72068  if (!PyArg_ParseTuple(args,(char *)"O:delete_map_string_NeuralModule",&obj0)) SWIG_fail;
72069  res1 = SWIG_ConvertPtr(obj0, &argp1,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_POINTER_DISOWN | 0 );
72070  if (!SWIG_IsOK(res1)) {
72071  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_map_string_NeuralModule" "', argument " "1"" of type '" "std::map< std::string,NeuralModule * > *""'");
72072  }
72073  arg1 = reinterpret_cast< std::map< std::string,NeuralModule * > * >(argp1);
72074  {
72075  try {
72076  delete arg1;
72077  }
72078  catch(CStdErrorInfo oError)
72079  {
72080  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
72081  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
72082  PyErr_SetString(PyExc_IndexError, strError.c_str());
72083  SWIG_fail;
72084  }
72085  catch(...)
72086  {
72087  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
72088  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
72089  SWIG_fail;
72090  }
72091  }
72092  resultobj = SWIG_Py_Void();
72093  return resultobj;
72094 fail:
72095  return NULL;
72096 }
72097 
72098 
72099 SWIGINTERN PyObject *map_string_NeuralModule_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72100  PyObject *obj;
72101  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
72102  SWIG_TypeNewClientData(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_NewClientData(obj));
72103  return SWIG_Py_Void();
72104 }
72105 
72106 SWIGINTERN PyObject *_wrap_new_map_string_Odor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72107  PyObject *resultobj = 0;
72108  std::less< std::string > *arg1 = 0 ;
72109  void *argp1 = 0 ;
72110  int res1 = 0 ;
72111  PyObject * obj0 = 0 ;
72112  std::map< std::string,Odor * > *result = 0 ;
72113 
72114  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_Odor",&obj0)) SWIG_fail;
72115  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__lessT_std__string_t, 0 | 0);
72116  if (!SWIG_IsOK(res1)) {
72117  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_Odor" "', argument " "1"" of type '" "std::less< std::string > const &""'");
72118  }
72119  if (!argp1) {
72120  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_Odor" "', argument " "1"" of type '" "std::less< std::string > const &""'");
72121  }
72122  arg1 = reinterpret_cast< std::less< std::string > * >(argp1);
72123  result = (std::map< std::string,Odor * > *)new std::map< std::string,Odor * >((std::less< std::string > const &)*arg1);
72124  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
72125  return resultobj;
72126 fail:
72127  return NULL;
72128 }
72129 
72130 
72131 SWIGINTERN PyObject *_wrap_map_string_Odor_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72132  PyObject *resultobj = 0;
72133  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72134  PyObject **arg2 = (PyObject **) 0 ;
72135  void *argp1 = 0 ;
72136  int res1 = 0 ;
72137  PyObject * obj0 = 0 ;
72138  swig::SwigPyIterator *result = 0 ;
72139 
72140  arg2 = &obj0;
72141  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor_iterator",&obj0)) SWIG_fail;
72142  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72143  if (!SWIG_IsOK(res1)) {
72144  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_iterator" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72145  }
72146  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72147  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_Odor_Sm__Sg__iterator(arg1,arg2);
72148  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
72149  return resultobj;
72150 fail:
72151  return NULL;
72152 }
72153 
72154 
72155 SWIGINTERN PyObject *_wrap_map_string_Odor___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72156  PyObject *resultobj = 0;
72157  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72158  void *argp1 = 0 ;
72159  int res1 = 0 ;
72160  PyObject * obj0 = 0 ;
72161  bool result;
72162 
72163  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor___nonzero__",&obj0)) SWIG_fail;
72164  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72165  if (!SWIG_IsOK(res1)) {
72166  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor___nonzero__" "', argument " "1"" of type '" "std::map< std::string,Odor * > const *""'");
72167  }
72168  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72169  result = (bool)std_map_Sl_std_string_Sc_Odor_Sm__Sg____nonzero__((std::map< std::string,Odor * > const *)arg1);
72170  resultobj = SWIG_From_bool(static_cast< bool >(result));
72171  return resultobj;
72172 fail:
72173  return NULL;
72174 }
72175 
72176 
72177 SWIGINTERN PyObject *_wrap_map_string_Odor___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72178  PyObject *resultobj = 0;
72179  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72180  void *argp1 = 0 ;
72181  int res1 = 0 ;
72182  PyObject * obj0 = 0 ;
72183  bool result;
72184 
72185  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor___bool__",&obj0)) SWIG_fail;
72186  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72187  if (!SWIG_IsOK(res1)) {
72188  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor___bool__" "', argument " "1"" of type '" "std::map< std::string,Odor * > const *""'");
72189  }
72190  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72191  result = (bool)std_map_Sl_std_string_Sc_Odor_Sm__Sg____bool__((std::map< std::string,Odor * > const *)arg1);
72192  resultobj = SWIG_From_bool(static_cast< bool >(result));
72193  return resultobj;
72194 fail:
72195  return NULL;
72196 }
72197 
72198 
72199 SWIGINTERN PyObject *_wrap_map_string_Odor___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72200  PyObject *resultobj = 0;
72201  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72202  void *argp1 = 0 ;
72203  int res1 = 0 ;
72204  PyObject * obj0 = 0 ;
72205  std::map< std::string,Odor * >::size_type result;
72206 
72207  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor___len__",&obj0)) SWIG_fail;
72208  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72209  if (!SWIG_IsOK(res1)) {
72210  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor___len__" "', argument " "1"" of type '" "std::map< std::string,Odor * > const *""'");
72211  }
72212  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72213  result = std_map_Sl_std_string_Sc_Odor_Sm__Sg____len__((std::map< std::string,Odor * > const *)arg1);
72214  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
72215  return resultobj;
72216 fail:
72217  return NULL;
72218 }
72219 
72220 
72221 SWIGINTERN PyObject *_wrap_map_string_Odor___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72222  PyObject *resultobj = 0;
72223  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72224  std::map< std::string,Odor * >::key_type *arg2 = 0 ;
72225  void *argp1 = 0 ;
72226  int res1 = 0 ;
72227  int res2 = SWIG_OLDOBJ ;
72228  PyObject * obj0 = 0 ;
72229  PyObject * obj1 = 0 ;
72230  std::map< std::string,Odor * >::mapped_type *result = 0 ;
72231 
72232  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Odor___getitem__",&obj0,&obj1)) SWIG_fail;
72233  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72234  if (!SWIG_IsOK(res1)) {
72235  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor___getitem__" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72236  }
72237  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72238  {
72239  std::string *ptr = (std::string *)0;
72240  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
72241  if (!SWIG_IsOK(res2)) {
72242  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Odor___getitem__" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
72243  }
72244  if (!ptr) {
72245  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Odor___getitem__" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
72246  }
72247  arg2 = ptr;
72248  }
72249  try {
72250  result = (std::map< std::string,Odor * >::mapped_type *) &std_map_Sl_std_string_Sc_Odor_Sm__Sg____getitem__(arg1,(std::string const &)*arg2);
72251  }
72252  catch(std::out_of_range &_e) {
72253  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
72254  }
72255 
72256  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(*result), SWIGTYPE_p_Odor, 0 | 0 );
72257  if (SWIG_IsNewObj(res2)) delete arg2;
72258  return resultobj;
72259 fail:
72260  if (SWIG_IsNewObj(res2)) delete arg2;
72261  return NULL;
72262 }
72263 
72264 
72265 SWIGINTERN PyObject *_wrap_map_string_Odor___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72266  PyObject *resultobj = 0;
72267  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72268  std::map< std::string,Odor * >::key_type *arg2 = 0 ;
72269  void *argp1 = 0 ;
72270  int res1 = 0 ;
72271  int res2 = SWIG_OLDOBJ ;
72272  PyObject * obj0 = 0 ;
72273  PyObject * obj1 = 0 ;
72274 
72275  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Odor___delitem__",&obj0,&obj1)) SWIG_fail;
72276  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72277  if (!SWIG_IsOK(res1)) {
72278  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor___delitem__" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72279  }
72280  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72281  {
72282  std::string *ptr = (std::string *)0;
72283  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
72284  if (!SWIG_IsOK(res2)) {
72285  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Odor___delitem__" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
72286  }
72287  if (!ptr) {
72288  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Odor___delitem__" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
72289  }
72290  arg2 = ptr;
72291  }
72292  try {
72293  std_map_Sl_std_string_Sc_Odor_Sm__Sg____delitem__(arg1,(std::string const &)*arg2);
72294  }
72295  catch(std::out_of_range &_e) {
72296  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
72297  }
72298 
72299  resultobj = SWIG_Py_Void();
72300  if (SWIG_IsNewObj(res2)) delete arg2;
72301  return resultobj;
72302 fail:
72303  if (SWIG_IsNewObj(res2)) delete arg2;
72304  return NULL;
72305 }
72306 
72307 
72308 SWIGINTERN PyObject *_wrap_map_string_Odor_has_key(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72309  PyObject *resultobj = 0;
72310  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72311  std::map< std::string,Odor * >::key_type *arg2 = 0 ;
72312  void *argp1 = 0 ;
72313  int res1 = 0 ;
72314  int res2 = SWIG_OLDOBJ ;
72315  PyObject * obj0 = 0 ;
72316  PyObject * obj1 = 0 ;
72317  bool result;
72318 
72319  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Odor_has_key",&obj0,&obj1)) SWIG_fail;
72320  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72321  if (!SWIG_IsOK(res1)) {
72322  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_has_key" "', argument " "1"" of type '" "std::map< std::string,Odor * > const *""'");
72323  }
72324  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72325  {
72326  std::string *ptr = (std::string *)0;
72327  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
72328  if (!SWIG_IsOK(res2)) {
72329  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Odor_has_key" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
72330  }
72331  if (!ptr) {
72332  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Odor_has_key" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
72333  }
72334  arg2 = ptr;
72335  }
72336  result = (bool)std_map_Sl_std_string_Sc_Odor_Sm__Sg__has_key((std::map< std::string,Odor * > const *)arg1,(std::string const &)*arg2);
72337  resultobj = SWIG_From_bool(static_cast< bool >(result));
72338  if (SWIG_IsNewObj(res2)) delete arg2;
72339  return resultobj;
72340 fail:
72341  if (SWIG_IsNewObj(res2)) delete arg2;
72342  return NULL;
72343 }
72344 
72345 
72346 SWIGINTERN PyObject *_wrap_map_string_Odor_keys(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72347  PyObject *resultobj = 0;
72348  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72349  void *argp1 = 0 ;
72350  int res1 = 0 ;
72351  PyObject * obj0 = 0 ;
72352  PyObject *result = 0 ;
72353 
72354  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor_keys",&obj0)) SWIG_fail;
72355  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72356  if (!SWIG_IsOK(res1)) {
72357  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_keys" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72358  }
72359  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72360  result = (PyObject *)std_map_Sl_std_string_Sc_Odor_Sm__Sg__keys(arg1);
72361  resultobj = result;
72362  return resultobj;
72363 fail:
72364  return NULL;
72365 }
72366 
72367 
72368 SWIGINTERN PyObject *_wrap_map_string_Odor_values(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72369  PyObject *resultobj = 0;
72370  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72371  void *argp1 = 0 ;
72372  int res1 = 0 ;
72373  PyObject * obj0 = 0 ;
72374  PyObject *result = 0 ;
72375 
72376  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor_values",&obj0)) SWIG_fail;
72377  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72378  if (!SWIG_IsOK(res1)) {
72379  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_values" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72380  }
72381  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72382  result = (PyObject *)std_map_Sl_std_string_Sc_Odor_Sm__Sg__values(arg1);
72383  resultobj = result;
72384  return resultobj;
72385 fail:
72386  return NULL;
72387 }
72388 
72389 
72390 SWIGINTERN PyObject *_wrap_map_string_Odor_items(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72391  PyObject *resultobj = 0;
72392  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72393  void *argp1 = 0 ;
72394  int res1 = 0 ;
72395  PyObject * obj0 = 0 ;
72396  PyObject *result = 0 ;
72397 
72398  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor_items",&obj0)) SWIG_fail;
72399  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72400  if (!SWIG_IsOK(res1)) {
72401  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_items" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72402  }
72403  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72404  result = (PyObject *)std_map_Sl_std_string_Sc_Odor_Sm__Sg__items(arg1);
72405  resultobj = result;
72406  return resultobj;
72407 fail:
72408  return NULL;
72409 }
72410 
72411 
72412 SWIGINTERN PyObject *_wrap_map_string_Odor___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72413  PyObject *resultobj = 0;
72414  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72415  std::map< std::string,Odor * >::key_type *arg2 = 0 ;
72416  void *argp1 = 0 ;
72417  int res1 = 0 ;
72418  int res2 = SWIG_OLDOBJ ;
72419  PyObject * obj0 = 0 ;
72420  PyObject * obj1 = 0 ;
72421  bool result;
72422 
72423  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Odor___contains__",&obj0,&obj1)) SWIG_fail;
72424  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72425  if (!SWIG_IsOK(res1)) {
72426  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor___contains__" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72427  }
72428  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72429  {
72430  std::string *ptr = (std::string *)0;
72431  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
72432  if (!SWIG_IsOK(res2)) {
72433  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Odor___contains__" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
72434  }
72435  if (!ptr) {
72436  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Odor___contains__" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
72437  }
72438  arg2 = ptr;
72439  }
72440  result = (bool)std_map_Sl_std_string_Sc_Odor_Sm__Sg____contains__(arg1,(std::string const &)*arg2);
72441  resultobj = SWIG_From_bool(static_cast< bool >(result));
72442  if (SWIG_IsNewObj(res2)) delete arg2;
72443  return resultobj;
72444 fail:
72445  if (SWIG_IsNewObj(res2)) delete arg2;
72446  return NULL;
72447 }
72448 
72449 
72450 SWIGINTERN PyObject *_wrap_map_string_Odor_key_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72451  PyObject *resultobj = 0;
72452  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72453  PyObject **arg2 = (PyObject **) 0 ;
72454  void *argp1 = 0 ;
72455  int res1 = 0 ;
72456  PyObject * obj0 = 0 ;
72457  swig::SwigPyIterator *result = 0 ;
72458 
72459  arg2 = &obj0;
72460  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor_key_iterator",&obj0)) SWIG_fail;
72461  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72462  if (!SWIG_IsOK(res1)) {
72463  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_key_iterator" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72464  }
72465  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72466  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_Odor_Sm__Sg__key_iterator(arg1,arg2);
72467  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
72468  return resultobj;
72469 fail:
72470  return NULL;
72471 }
72472 
72473 
72474 SWIGINTERN PyObject *_wrap_map_string_Odor_value_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72475  PyObject *resultobj = 0;
72476  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72477  PyObject **arg2 = (PyObject **) 0 ;
72478  void *argp1 = 0 ;
72479  int res1 = 0 ;
72480  PyObject * obj0 = 0 ;
72481  swig::SwigPyIterator *result = 0 ;
72482 
72483  arg2 = &obj0;
72484  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor_value_iterator",&obj0)) SWIG_fail;
72485  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72486  if (!SWIG_IsOK(res1)) {
72487  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_value_iterator" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72488  }
72489  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72490  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_Odor_Sm__Sg__value_iterator(arg1,arg2);
72491  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
72492  return resultobj;
72493 fail:
72494  return NULL;
72495 }
72496 
72497 
72498 SWIGINTERN PyObject *_wrap_map_string_Odor___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72499  PyObject *resultobj = 0;
72500  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72501  std::map< std::string,Odor * >::key_type *arg2 = 0 ;
72502  void *argp1 = 0 ;
72503  int res1 = 0 ;
72504  int res2 = SWIG_OLDOBJ ;
72505  PyObject * obj0 = 0 ;
72506  PyObject * obj1 = 0 ;
72507 
72508  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Odor___setitem__",&obj0,&obj1)) SWIG_fail;
72509  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72510  if (!SWIG_IsOK(res1)) {
72511  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor___setitem__" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72512  }
72513  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72514  {
72515  std::string *ptr = (std::string *)0;
72516  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
72517  if (!SWIG_IsOK(res2)) {
72518  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Odor___setitem__" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
72519  }
72520  if (!ptr) {
72521  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Odor___setitem__" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
72522  }
72523  arg2 = ptr;
72524  }
72525  std_map_Sl_std_string_Sc_Odor_Sm__Sg____setitem____SWIG_0(arg1,(std::string const &)*arg2);
72526  resultobj = SWIG_Py_Void();
72527  if (SWIG_IsNewObj(res2)) delete arg2;
72528  return resultobj;
72529 fail:
72530  if (SWIG_IsNewObj(res2)) delete arg2;
72531  return NULL;
72532 }
72533 
72534 
72535 SWIGINTERN PyObject *_wrap_map_string_Odor___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72536  PyObject *resultobj = 0;
72537  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72538  std::map< std::string,Odor * >::key_type *arg2 = 0 ;
72539  std::map< std::string,Odor * >::mapped_type *arg3 = 0 ;
72540  void *argp1 = 0 ;
72541  int res1 = 0 ;
72542  int res2 = SWIG_OLDOBJ ;
72543  void *argp3 = 0 ;
72544  int res3 = 0 ;
72545  std::map< std::string,Odor * >::mapped_type temp3 ;
72546  PyObject * obj0 = 0 ;
72547  PyObject * obj1 = 0 ;
72548  PyObject * obj2 = 0 ;
72549 
72550  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_Odor___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
72551  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72552  if (!SWIG_IsOK(res1)) {
72553  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor___setitem__" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72554  }
72555  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72556  {
72557  std::string *ptr = (std::string *)0;
72558  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
72559  if (!SWIG_IsOK(res2)) {
72560  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Odor___setitem__" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
72561  }
72562  if (!ptr) {
72563  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Odor___setitem__" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
72564  }
72565  arg2 = ptr;
72566  }
72567  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_Odor, 0 | 0 );
72568  if (!SWIG_IsOK(res3)) {
72569  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "map_string_Odor___setitem__" "', argument " "3"" of type '" "std::map< std::string,Odor * >::mapped_type""'");
72570  }
72571  temp3 = reinterpret_cast< std::map< std::string,Odor * >::mapped_type >(argp3);
72572  arg3 = reinterpret_cast< std::map< std::string,Odor * >::mapped_type * >(&temp3);
72573  try {
72574  std_map_Sl_std_string_Sc_Odor_Sm__Sg____setitem____SWIG_1(arg1,(std::string const &)*arg2,(Odor *const &)*arg3);
72575  }
72576  catch(std::out_of_range &_e) {
72577  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
72578  }
72579 
72580  resultobj = SWIG_Py_Void();
72581  if (SWIG_IsNewObj(res2)) delete arg2;
72582  return resultobj;
72583 fail:
72584  if (SWIG_IsNewObj(res2)) delete arg2;
72585  return NULL;
72586 }
72587 
72588 
72589 SWIGINTERN PyObject *_wrap_map_string_Odor___setitem__(PyObject *self, PyObject *args) {
72590  int argc;
72591  PyObject *argv[4];
72592  int ii;
72593 
72594  if (!PyTuple_Check(args)) SWIG_fail;
72595  argc = args ? (int)PyObject_Length(args) : 0;
72596  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
72597  argv[ii] = PyTuple_GET_ITEM(args,ii);
72598  }
72599  if (argc == 2) {
72600  int _v;
72601  int res = swig::asptr(argv[0], (std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >**)(0));
72602  _v = SWIG_CheckState(res);
72603  if (_v) {
72604  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
72605  _v = SWIG_CheckState(res);
72606  if (_v) {
72607  return _wrap_map_string_Odor___setitem____SWIG_0(self, args);
72608  }
72609  }
72610  }
72611  if (argc == 3) {
72612  int _v;
72613  int res = swig::asptr(argv[0], (std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >**)(0));
72614  _v = SWIG_CheckState(res);
72615  if (_v) {
72616  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
72617  _v = SWIG_CheckState(res);
72618  if (_v) {
72619  void *vptr = 0;
72620  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Odor, 0);
72621  _v = SWIG_CheckState(res);
72622  if (_v) {
72623  return _wrap_map_string_Odor___setitem____SWIG_1(self, args);
72624  }
72625  }
72626  }
72627  }
72628 
72629 fail:
72630  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_Odor___setitem__'.\n"
72631  " Possible C/C++ prototypes are:\n"
72632  " std::map< std::string,Odor * >::__setitem__(std::map< std::string,Odor * >::key_type const &)\n"
72633  " std::map< std::string,Odor * >::__setitem__(std::map< std::string,Odor * >::key_type const &,std::map< std::string,Odor * >::mapped_type const &)\n");
72634  return 0;
72635 }
72636 
72637 
72638 SWIGINTERN PyObject *_wrap_map_string_Odor_asdict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72639  PyObject *resultobj = 0;
72640  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72641  void *argp1 = 0 ;
72642  int res1 = 0 ;
72643  PyObject * obj0 = 0 ;
72644  PyObject *result = 0 ;
72645 
72646  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor_asdict",&obj0)) SWIG_fail;
72647  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72648  if (!SWIG_IsOK(res1)) {
72649  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_asdict" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72650  }
72651  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72652  result = (PyObject *)std_map_Sl_std_string_Sc_Odor_Sm__Sg__asdict(arg1);
72653  resultobj = result;
72654  return resultobj;
72655 fail:
72656  return NULL;
72657 }
72658 
72659 
72660 SWIGINTERN PyObject *_wrap_new_map_string_Odor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72661  PyObject *resultobj = 0;
72662  std::map< std::string,Odor * > *result = 0 ;
72663 
72664  if (!PyArg_ParseTuple(args,(char *)":new_map_string_Odor")) SWIG_fail;
72665  result = (std::map< std::string,Odor * > *)new std::map< std::string,Odor * >();
72666  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
72667  return resultobj;
72668 fail:
72669  return NULL;
72670 }
72671 
72672 
72673 SWIGINTERN PyObject *_wrap_new_map_string_Odor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72674  PyObject *resultobj = 0;
72675  std::map< std::string,Odor * > *arg1 = 0 ;
72676  int res1 = SWIG_OLDOBJ ;
72677  PyObject * obj0 = 0 ;
72678  std::map< std::string,Odor * > *result = 0 ;
72679 
72680  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_Odor",&obj0)) SWIG_fail;
72681  {
72682  std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > > *ptr = (std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > > *)0;
72683  res1 = swig::asptr(obj0, &ptr);
72684  if (!SWIG_IsOK(res1)) {
72685  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_Odor" "', argument " "1"" of type '" "std::map< std::string,Odor * > const &""'");
72686  }
72687  if (!ptr) {
72688  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_Odor" "', argument " "1"" of type '" "std::map< std::string,Odor * > const &""'");
72689  }
72690  arg1 = ptr;
72691  }
72692  result = (std::map< std::string,Odor * > *)new std::map< std::string,Odor * >((std::map< std::string,Odor * > const &)*arg1);
72693  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
72694  if (SWIG_IsNewObj(res1)) delete arg1;
72695  return resultobj;
72696 fail:
72697  if (SWIG_IsNewObj(res1)) delete arg1;
72698  return NULL;
72699 }
72700 
72701 
72702 SWIGINTERN PyObject *_wrap_new_map_string_Odor(PyObject *self, PyObject *args) {
72703  int argc;
72704  PyObject *argv[2];
72705  int ii;
72706 
72707  if (!PyTuple_Check(args)) SWIG_fail;
72708  argc = args ? (int)PyObject_Length(args) : 0;
72709  for (ii = 0; (ii < 1) && (ii < argc); ii++) {
72710  argv[ii] = PyTuple_GET_ITEM(args,ii);
72711  }
72712  if (argc == 0) {
72713  return _wrap_new_map_string_Odor__SWIG_1(self, args);
72714  }
72715  if (argc == 1) {
72716  int _v;
72717  int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__lessT_std__string_t, 0);
72718  _v = SWIG_CheckState(res);
72719  if (_v) {
72720  return _wrap_new_map_string_Odor__SWIG_0(self, args);
72721  }
72722  }
72723  if (argc == 1) {
72724  int _v;
72725  int res = swig::asptr(argv[0], (std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >**)(0));
72726  _v = SWIG_CheckState(res);
72727  if (_v) {
72728  return _wrap_new_map_string_Odor__SWIG_2(self, args);
72729  }
72730  }
72731 
72732 fail:
72733  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_map_string_Odor'.\n"
72734  " Possible C/C++ prototypes are:\n"
72735  " std::map< std::string,Odor * >::map(std::less< std::string > const &)\n"
72736  " std::map< std::string,Odor * >::map()\n"
72737  " std::map< std::string,Odor * >::map(std::map< std::string,Odor * > const &)\n");
72738  return 0;
72739 }
72740 
72741 
72742 SWIGINTERN PyObject *_wrap_map_string_Odor_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72743  PyObject *resultobj = 0;
72744  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72745  void *argp1 = 0 ;
72746  int res1 = 0 ;
72747  PyObject * obj0 = 0 ;
72748  bool result;
72749 
72750  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor_empty",&obj0)) SWIG_fail;
72751  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72752  if (!SWIG_IsOK(res1)) {
72753  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_empty" "', argument " "1"" of type '" "std::map< std::string,Odor * > const *""'");
72754  }
72755  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72756  result = (bool)((std::map< std::string,Odor * > const *)arg1)->empty();
72757  resultobj = SWIG_From_bool(static_cast< bool >(result));
72758  return resultobj;
72759 fail:
72760  return NULL;
72761 }
72762 
72763 
72764 SWIGINTERN PyObject *_wrap_map_string_Odor_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72765  PyObject *resultobj = 0;
72766  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72767  void *argp1 = 0 ;
72768  int res1 = 0 ;
72769  PyObject * obj0 = 0 ;
72770  std::map< std::string,Odor * >::size_type result;
72771 
72772  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor_size",&obj0)) SWIG_fail;
72773  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72774  if (!SWIG_IsOK(res1)) {
72775  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_size" "', argument " "1"" of type '" "std::map< std::string,Odor * > const *""'");
72776  }
72777  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72778  result = ((std::map< std::string,Odor * > const *)arg1)->size();
72779  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
72780  return resultobj;
72781 fail:
72782  return NULL;
72783 }
72784 
72785 
72786 SWIGINTERN PyObject *_wrap_map_string_Odor_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72787  PyObject *resultobj = 0;
72788  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72789  void *argp1 = 0 ;
72790  int res1 = 0 ;
72791  PyObject * obj0 = 0 ;
72792 
72793  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor_clear",&obj0)) SWIG_fail;
72794  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72795  if (!SWIG_IsOK(res1)) {
72796  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_clear" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72797  }
72798  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72799  (arg1)->clear();
72800  resultobj = SWIG_Py_Void();
72801  return resultobj;
72802 fail:
72803  return NULL;
72804 }
72805 
72806 
72807 SWIGINTERN PyObject *_wrap_map_string_Odor_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72808  PyObject *resultobj = 0;
72809  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72810  std::map< std::string,Odor * > *arg2 = 0 ;
72811  void *argp1 = 0 ;
72812  int res1 = 0 ;
72813  void *argp2 = 0 ;
72814  int res2 = 0 ;
72815  PyObject * obj0 = 0 ;
72816  PyObject * obj1 = 0 ;
72817 
72818  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Odor_swap",&obj0,&obj1)) SWIG_fail;
72819  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72820  if (!SWIG_IsOK(res1)) {
72821  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_swap" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72822  }
72823  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72824  res2 = SWIG_ConvertPtr(obj1, &argp2, 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, 0 );
72825  if (!SWIG_IsOK(res2)) {
72826  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Odor_swap" "', argument " "2"" of type '" "std::map< std::string,Odor * > &""'");
72827  }
72828  if (!argp2) {
72829  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Odor_swap" "', argument " "2"" of type '" "std::map< std::string,Odor * > &""'");
72830  }
72831  arg2 = reinterpret_cast< std::map< std::string,Odor * > * >(argp2);
72832  (arg1)->swap(*arg2);
72833  resultobj = SWIG_Py_Void();
72834  return resultobj;
72835 fail:
72836  return NULL;
72837 }
72838 
72839 
72840 SWIGINTERN PyObject *_wrap_map_string_Odor_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72841  PyObject *resultobj = 0;
72842  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72843  void *argp1 = 0 ;
72844  int res1 = 0 ;
72845  PyObject * obj0 = 0 ;
72846  SwigValueWrapper< std::allocator< std::pair< std::string const,Odor * > > > result;
72847 
72848  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor_get_allocator",&obj0)) SWIG_fail;
72849  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72850  if (!SWIG_IsOK(res1)) {
72851  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_get_allocator" "', argument " "1"" of type '" "std::map< std::string,Odor * > const *""'");
72852  }
72853  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72854  result = ((std::map< std::string,Odor * > const *)arg1)->get_allocator();
72855  resultobj = SWIG_NewPointerObj((new std::map< std::string,Odor * >::allocator_type(static_cast< const std::map< std::string,Odor * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t, SWIG_POINTER_OWN | 0 );
72856  return resultobj;
72857 fail:
72858  return NULL;
72859 }
72860 
72861 
72862 SWIGINTERN PyObject *_wrap_map_string_Odor_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72863  PyObject *resultobj = 0;
72864  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72865  void *argp1 = 0 ;
72866  int res1 = 0 ;
72867  PyObject * obj0 = 0 ;
72868  std::map< std::string,Odor * >::iterator result;
72869 
72870  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor_begin",&obj0)) SWIG_fail;
72871  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72872  if (!SWIG_IsOK(res1)) {
72873  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_begin" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72874  }
72875  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72876  result = (arg1)->begin();
72877  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Odor * >::iterator & >(result)),
72878  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
72879  return resultobj;
72880 fail:
72881  return NULL;
72882 }
72883 
72884 
72885 SWIGINTERN PyObject *_wrap_map_string_Odor_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72886  PyObject *resultobj = 0;
72887  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72888  void *argp1 = 0 ;
72889  int res1 = 0 ;
72890  PyObject * obj0 = 0 ;
72891  std::map< std::string,Odor * >::iterator result;
72892 
72893  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor_end",&obj0)) SWIG_fail;
72894  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72895  if (!SWIG_IsOK(res1)) {
72896  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_end" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72897  }
72898  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72899  result = (arg1)->end();
72900  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Odor * >::iterator & >(result)),
72901  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
72902  return resultobj;
72903 fail:
72904  return NULL;
72905 }
72906 
72907 
72908 SWIGINTERN PyObject *_wrap_map_string_Odor_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72909  PyObject *resultobj = 0;
72910  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72911  void *argp1 = 0 ;
72912  int res1 = 0 ;
72913  PyObject * obj0 = 0 ;
72914  std::map< std::string,Odor * >::reverse_iterator result;
72915 
72916  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor_rbegin",&obj0)) SWIG_fail;
72917  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72918  if (!SWIG_IsOK(res1)) {
72919  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_rbegin" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72920  }
72921  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72922  result = (arg1)->rbegin();
72923  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Odor * >::reverse_iterator & >(result)),
72924  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
72925  return resultobj;
72926 fail:
72927  return NULL;
72928 }
72929 
72930 
72931 SWIGINTERN PyObject *_wrap_map_string_Odor_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72932  PyObject *resultobj = 0;
72933  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72934  void *argp1 = 0 ;
72935  int res1 = 0 ;
72936  PyObject * obj0 = 0 ;
72937  std::map< std::string,Odor * >::reverse_iterator result;
72938 
72939  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Odor_rend",&obj0)) SWIG_fail;
72940  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72941  if (!SWIG_IsOK(res1)) {
72942  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_rend" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72943  }
72944  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72945  result = (arg1)->rend();
72946  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Odor * >::reverse_iterator & >(result)),
72947  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
72948  return resultobj;
72949 fail:
72950  return NULL;
72951 }
72952 
72953 
72954 SWIGINTERN PyObject *_wrap_map_string_Odor_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72955  PyObject *resultobj = 0;
72956  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72957  std::map< std::string,Odor * >::key_type *arg2 = 0 ;
72958  void *argp1 = 0 ;
72959  int res1 = 0 ;
72960  int res2 = SWIG_OLDOBJ ;
72961  PyObject * obj0 = 0 ;
72962  PyObject * obj1 = 0 ;
72963  std::map< std::string,Odor * >::size_type result;
72964 
72965  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Odor_erase",&obj0,&obj1)) SWIG_fail;
72966  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
72967  if (!SWIG_IsOK(res1)) {
72968  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_erase" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
72969  }
72970  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
72971  {
72972  std::string *ptr = (std::string *)0;
72973  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
72974  if (!SWIG_IsOK(res2)) {
72975  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Odor_erase" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
72976  }
72977  if (!ptr) {
72978  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Odor_erase" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
72979  }
72980  arg2 = ptr;
72981  }
72982  result = (arg1)->erase((std::map< std::string,Odor * >::key_type const &)*arg2);
72983  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
72984  if (SWIG_IsNewObj(res2)) delete arg2;
72985  return resultobj;
72986 fail:
72987  if (SWIG_IsNewObj(res2)) delete arg2;
72988  return NULL;
72989 }
72990 
72991 
72992 SWIGINTERN PyObject *_wrap_map_string_Odor_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
72993  PyObject *resultobj = 0;
72994  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
72995  std::map< std::string,Odor * >::key_type *arg2 = 0 ;
72996  void *argp1 = 0 ;
72997  int res1 = 0 ;
72998  int res2 = SWIG_OLDOBJ ;
72999  PyObject * obj0 = 0 ;
73000  PyObject * obj1 = 0 ;
73001  std::map< std::string,Odor * >::size_type result;
73002 
73003  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Odor_count",&obj0,&obj1)) SWIG_fail;
73004  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73005  if (!SWIG_IsOK(res1)) {
73006  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_count" "', argument " "1"" of type '" "std::map< std::string,Odor * > const *""'");
73007  }
73008  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
73009  {
73010  std::string *ptr = (std::string *)0;
73011  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
73012  if (!SWIG_IsOK(res2)) {
73013  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Odor_count" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
73014  }
73015  if (!ptr) {
73016  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Odor_count" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
73017  }
73018  arg2 = ptr;
73019  }
73020  result = ((std::map< std::string,Odor * > const *)arg1)->count((std::map< std::string,Odor * >::key_type const &)*arg2);
73021  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
73022  if (SWIG_IsNewObj(res2)) delete arg2;
73023  return resultobj;
73024 fail:
73025  if (SWIG_IsNewObj(res2)) delete arg2;
73026  return NULL;
73027 }
73028 
73029 
73030 SWIGINTERN PyObject *_wrap_map_string_Odor_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73031  PyObject *resultobj = 0;
73032  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
73033  std::map< std::string,Odor * >::iterator arg2 ;
73034  void *argp1 = 0 ;
73035  int res1 = 0 ;
73036  swig::SwigPyIterator *iter2 = 0 ;
73037  int res2 ;
73038  PyObject * obj0 = 0 ;
73039  PyObject * obj1 = 0 ;
73040 
73041  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Odor_erase",&obj0,&obj1)) SWIG_fail;
73042  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73043  if (!SWIG_IsOK(res1)) {
73044  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_erase" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
73045  }
73046  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
73047  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
73048  if (!SWIG_IsOK(res2) || !iter2) {
73049  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Odor_erase" "', argument " "2"" of type '" "std::map< std::string,Odor * >::iterator""'");
73050  } else {
73052  if (iter_t) {
73053  arg2 = iter_t->get_current();
73054  } else {
73055  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Odor_erase" "', argument " "2"" of type '" "std::map< std::string,Odor * >::iterator""'");
73056  }
73057  }
73058  std_map_Sl_std_string_Sc_Odor_Sm__Sg__erase__SWIG_1(arg1,arg2);
73059  resultobj = SWIG_Py_Void();
73060  return resultobj;
73061 fail:
73062  return NULL;
73063 }
73064 
73065 
73066 SWIGINTERN PyObject *_wrap_map_string_Odor_erase__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73067  PyObject *resultobj = 0;
73068  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
73069  std::map< std::string,Odor * >::iterator arg2 ;
73070  std::map< std::string,Odor * >::iterator arg3 ;
73071  void *argp1 = 0 ;
73072  int res1 = 0 ;
73073  swig::SwigPyIterator *iter2 = 0 ;
73074  int res2 ;
73075  swig::SwigPyIterator *iter3 = 0 ;
73076  int res3 ;
73077  PyObject * obj0 = 0 ;
73078  PyObject * obj1 = 0 ;
73079  PyObject * obj2 = 0 ;
73080 
73081  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_Odor_erase",&obj0,&obj1,&obj2)) SWIG_fail;
73082  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73083  if (!SWIG_IsOK(res1)) {
73084  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_erase" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
73085  }
73086  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
73087  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
73088  if (!SWIG_IsOK(res2) || !iter2) {
73089  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Odor_erase" "', argument " "2"" of type '" "std::map< std::string,Odor * >::iterator""'");
73090  } else {
73092  if (iter_t) {
73093  arg2 = iter_t->get_current();
73094  } else {
73095  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Odor_erase" "', argument " "2"" of type '" "std::map< std::string,Odor * >::iterator""'");
73096  }
73097  }
73098  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
73099  if (!SWIG_IsOK(res3) || !iter3) {
73100  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Odor_erase" "', argument " "3"" of type '" "std::map< std::string,Odor * >::iterator""'");
73101  } else {
73103  if (iter_t) {
73104  arg3 = iter_t->get_current();
73105  } else {
73106  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Odor_erase" "', argument " "3"" of type '" "std::map< std::string,Odor * >::iterator""'");
73107  }
73108  }
73109  std_map_Sl_std_string_Sc_Odor_Sm__Sg__erase__SWIG_2(arg1,arg2,arg3);
73110  resultobj = SWIG_Py_Void();
73111  return resultobj;
73112 fail:
73113  return NULL;
73114 }
73115 
73116 
73117 SWIGINTERN PyObject *_wrap_map_string_Odor_erase(PyObject *self, PyObject *args) {
73118  int argc;
73119  PyObject *argv[4];
73120  int ii;
73121 
73122  if (!PyTuple_Check(args)) SWIG_fail;
73123  argc = args ? (int)PyObject_Length(args) : 0;
73124  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
73125  argv[ii] = PyTuple_GET_ITEM(args,ii);
73126  }
73127  if (argc == 2) {
73128  int _v;
73129  int res = swig::asptr(argv[0], (std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >**)(0));
73130  _v = SWIG_CheckState(res);
73131  if (_v) {
73132  swig::SwigPyIterator *iter = 0;
73133  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
73134  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,Odor * >::iterator > *>(iter) != 0));
73135  if (_v) {
73136  return _wrap_map_string_Odor_erase__SWIG_1(self, args);
73137  }
73138  }
73139  }
73140  if (argc == 2) {
73141  int _v;
73142  int res = swig::asptr(argv[0], (std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >**)(0));
73143  _v = SWIG_CheckState(res);
73144  if (_v) {
73145  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
73146  _v = SWIG_CheckState(res);
73147  if (_v) {
73148  return _wrap_map_string_Odor_erase__SWIG_0(self, args);
73149  }
73150  }
73151  }
73152  if (argc == 3) {
73153  int _v;
73154  int res = swig::asptr(argv[0], (std::map<std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >**)(0));
73155  _v = SWIG_CheckState(res);
73156  if (_v) {
73157  swig::SwigPyIterator *iter = 0;
73158  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
73159  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,Odor * >::iterator > *>(iter) != 0));
73160  if (_v) {
73161  swig::SwigPyIterator *iter = 0;
73162  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
73163  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,Odor * >::iterator > *>(iter) != 0));
73164  if (_v) {
73165  return _wrap_map_string_Odor_erase__SWIG_2(self, args);
73166  }
73167  }
73168  }
73169  }
73170 
73171 fail:
73172  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_Odor_erase'.\n"
73173  " Possible C/C++ prototypes are:\n"
73174  " std::map< std::string,Odor * >::erase(std::map< std::string,Odor * >::key_type const &)\n"
73175  " std::map< std::string,Odor * >::erase(std::map< std::string,Odor * >::iterator)\n"
73176  " std::map< std::string,Odor * >::erase(std::map< std::string,Odor * >::iterator,std::map< std::string,Odor * >::iterator)\n");
73177  return 0;
73178 }
73179 
73180 
73181 SWIGINTERN PyObject *_wrap_map_string_Odor_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73182  PyObject *resultobj = 0;
73183  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
73184  std::map< std::string,Odor * >::key_type *arg2 = 0 ;
73185  void *argp1 = 0 ;
73186  int res1 = 0 ;
73187  int res2 = SWIG_OLDOBJ ;
73188  PyObject * obj0 = 0 ;
73189  PyObject * obj1 = 0 ;
73190  std::map< std::string,Odor * >::iterator result;
73191 
73192  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Odor_find",&obj0,&obj1)) SWIG_fail;
73193  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73194  if (!SWIG_IsOK(res1)) {
73195  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_find" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
73196  }
73197  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
73198  {
73199  std::string *ptr = (std::string *)0;
73200  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
73201  if (!SWIG_IsOK(res2)) {
73202  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Odor_find" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
73203  }
73204  if (!ptr) {
73205  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Odor_find" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
73206  }
73207  arg2 = ptr;
73208  }
73209  result = (arg1)->find((std::map< std::string,Odor * >::key_type const &)*arg2);
73210  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Odor * >::iterator & >(result)),
73211  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
73212  if (SWIG_IsNewObj(res2)) delete arg2;
73213  return resultobj;
73214 fail:
73215  if (SWIG_IsNewObj(res2)) delete arg2;
73216  return NULL;
73217 }
73218 
73219 
73220 SWIGINTERN PyObject *_wrap_map_string_Odor_lower_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73221  PyObject *resultobj = 0;
73222  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
73223  std::map< std::string,Odor * >::key_type *arg2 = 0 ;
73224  void *argp1 = 0 ;
73225  int res1 = 0 ;
73226  int res2 = SWIG_OLDOBJ ;
73227  PyObject * obj0 = 0 ;
73228  PyObject * obj1 = 0 ;
73229  std::map< std::string,Odor * >::iterator result;
73230 
73231  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Odor_lower_bound",&obj0,&obj1)) SWIG_fail;
73232  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73233  if (!SWIG_IsOK(res1)) {
73234  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_lower_bound" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
73235  }
73236  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
73237  {
73238  std::string *ptr = (std::string *)0;
73239  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
73240  if (!SWIG_IsOK(res2)) {
73241  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Odor_lower_bound" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
73242  }
73243  if (!ptr) {
73244  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Odor_lower_bound" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
73245  }
73246  arg2 = ptr;
73247  }
73248  result = (arg1)->lower_bound((std::map< std::string,Odor * >::key_type const &)*arg2);
73249  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Odor * >::iterator & >(result)),
73250  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
73251  if (SWIG_IsNewObj(res2)) delete arg2;
73252  return resultobj;
73253 fail:
73254  if (SWIG_IsNewObj(res2)) delete arg2;
73255  return NULL;
73256 }
73257 
73258 
73259 SWIGINTERN PyObject *_wrap_map_string_Odor_upper_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73260  PyObject *resultobj = 0;
73261  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
73262  std::map< std::string,Odor * >::key_type *arg2 = 0 ;
73263  void *argp1 = 0 ;
73264  int res1 = 0 ;
73265  int res2 = SWIG_OLDOBJ ;
73266  PyObject * obj0 = 0 ;
73267  PyObject * obj1 = 0 ;
73268  std::map< std::string,Odor * >::iterator result;
73269 
73270  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Odor_upper_bound",&obj0,&obj1)) SWIG_fail;
73271  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73272  if (!SWIG_IsOK(res1)) {
73273  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Odor_upper_bound" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
73274  }
73275  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
73276  {
73277  std::string *ptr = (std::string *)0;
73278  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
73279  if (!SWIG_IsOK(res2)) {
73280  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Odor_upper_bound" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
73281  }
73282  if (!ptr) {
73283  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Odor_upper_bound" "', argument " "2"" of type '" "std::map< std::string,Odor * >::key_type const &""'");
73284  }
73285  arg2 = ptr;
73286  }
73287  result = (arg1)->upper_bound((std::map< std::string,Odor * >::key_type const &)*arg2);
73288  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Odor * >::iterator & >(result)),
73289  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
73290  if (SWIG_IsNewObj(res2)) delete arg2;
73291  return resultobj;
73292 fail:
73293  if (SWIG_IsNewObj(res2)) delete arg2;
73294  return NULL;
73295 }
73296 
73297 
73298 SWIGINTERN PyObject *_wrap_delete_map_string_Odor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73299  PyObject *resultobj = 0;
73300  std::map< std::string,Odor * > *arg1 = (std::map< std::string,Odor * > *) 0 ;
73301  void *argp1 = 0 ;
73302  int res1 = 0 ;
73303  PyObject * obj0 = 0 ;
73304 
73305  if (!PyArg_ParseTuple(args,(char *)"O:delete_map_string_Odor",&obj0)) SWIG_fail;
73306  res1 = SWIG_ConvertPtr(obj0, &argp1,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_POINTER_DISOWN | 0 );
73307  if (!SWIG_IsOK(res1)) {
73308  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_map_string_Odor" "', argument " "1"" of type '" "std::map< std::string,Odor * > *""'");
73309  }
73310  arg1 = reinterpret_cast< std::map< std::string,Odor * > * >(argp1);
73311  {
73312  try {
73313  delete arg1;
73314  }
73315  catch(CStdErrorInfo oError)
73316  {
73317  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
73318  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
73319  PyErr_SetString(PyExc_IndexError, strError.c_str());
73320  SWIG_fail;
73321  }
73322  catch(...)
73323  {
73324  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
73325  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
73326  SWIG_fail;
73327  }
73328  }
73329  resultobj = SWIG_Py_Void();
73330  return resultobj;
73331 fail:
73332  return NULL;
73333 }
73334 
73335 
73336 SWIGINTERN PyObject *map_string_Odor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73337  PyObject *obj;
73338  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
73339  SWIG_TypeNewClientData(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_NewClientData(obj));
73340  return SWIG_Py_Void();
73341 }
73342 
73343 SWIGINTERN PyObject *_wrap_new_map_string_OdorType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73344  PyObject *resultobj = 0;
73345  std::less< std::string > *arg1 = 0 ;
73346  void *argp1 = 0 ;
73347  int res1 = 0 ;
73348  PyObject * obj0 = 0 ;
73349  std::map< std::string,OdorType * > *result = 0 ;
73350 
73351  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_OdorType",&obj0)) SWIG_fail;
73352  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__lessT_std__string_t, 0 | 0);
73353  if (!SWIG_IsOK(res1)) {
73354  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_OdorType" "', argument " "1"" of type '" "std::less< std::string > const &""'");
73355  }
73356  if (!argp1) {
73357  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_OdorType" "', argument " "1"" of type '" "std::less< std::string > const &""'");
73358  }
73359  arg1 = reinterpret_cast< std::less< std::string > * >(argp1);
73360  result = (std::map< std::string,OdorType * > *)new std::map< std::string,OdorType * >((std::less< std::string > const &)*arg1);
73361  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
73362  return resultobj;
73363 fail:
73364  return NULL;
73365 }
73366 
73367 
73368 SWIGINTERN PyObject *_wrap_map_string_OdorType_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73369  PyObject *resultobj = 0;
73370  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73371  PyObject **arg2 = (PyObject **) 0 ;
73372  void *argp1 = 0 ;
73373  int res1 = 0 ;
73374  PyObject * obj0 = 0 ;
73375  swig::SwigPyIterator *result = 0 ;
73376 
73377  arg2 = &obj0;
73378  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType_iterator",&obj0)) SWIG_fail;
73379  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73380  if (!SWIG_IsOK(res1)) {
73381  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_iterator" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
73382  }
73383  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73384  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_OdorType_Sm__Sg__iterator(arg1,arg2);
73385  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
73386  return resultobj;
73387 fail:
73388  return NULL;
73389 }
73390 
73391 
73392 SWIGINTERN PyObject *_wrap_map_string_OdorType___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73393  PyObject *resultobj = 0;
73394  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73395  void *argp1 = 0 ;
73396  int res1 = 0 ;
73397  PyObject * obj0 = 0 ;
73398  bool result;
73399 
73400  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType___nonzero__",&obj0)) SWIG_fail;
73401  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73402  if (!SWIG_IsOK(res1)) {
73403  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType___nonzero__" "', argument " "1"" of type '" "std::map< std::string,OdorType * > const *""'");
73404  }
73405  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73406  result = (bool)std_map_Sl_std_string_Sc_OdorType_Sm__Sg____nonzero__((std::map< std::string,OdorType * > const *)arg1);
73407  resultobj = SWIG_From_bool(static_cast< bool >(result));
73408  return resultobj;
73409 fail:
73410  return NULL;
73411 }
73412 
73413 
73414 SWIGINTERN PyObject *_wrap_map_string_OdorType___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73415  PyObject *resultobj = 0;
73416  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73417  void *argp1 = 0 ;
73418  int res1 = 0 ;
73419  PyObject * obj0 = 0 ;
73420  bool result;
73421 
73422  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType___bool__",&obj0)) SWIG_fail;
73423  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73424  if (!SWIG_IsOK(res1)) {
73425  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType___bool__" "', argument " "1"" of type '" "std::map< std::string,OdorType * > const *""'");
73426  }
73427  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73428  result = (bool)std_map_Sl_std_string_Sc_OdorType_Sm__Sg____bool__((std::map< std::string,OdorType * > const *)arg1);
73429  resultobj = SWIG_From_bool(static_cast< bool >(result));
73430  return resultobj;
73431 fail:
73432  return NULL;
73433 }
73434 
73435 
73436 SWIGINTERN PyObject *_wrap_map_string_OdorType___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73437  PyObject *resultobj = 0;
73438  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73439  void *argp1 = 0 ;
73440  int res1 = 0 ;
73441  PyObject * obj0 = 0 ;
73442  std::map< std::string,OdorType * >::size_type result;
73443 
73444  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType___len__",&obj0)) SWIG_fail;
73445  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73446  if (!SWIG_IsOK(res1)) {
73447  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType___len__" "', argument " "1"" of type '" "std::map< std::string,OdorType * > const *""'");
73448  }
73449  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73450  result = std_map_Sl_std_string_Sc_OdorType_Sm__Sg____len__((std::map< std::string,OdorType * > const *)arg1);
73451  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
73452  return resultobj;
73453 fail:
73454  return NULL;
73455 }
73456 
73457 
73458 SWIGINTERN PyObject *_wrap_map_string_OdorType___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73459  PyObject *resultobj = 0;
73460  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73461  std::map< std::string,OdorType * >::key_type *arg2 = 0 ;
73462  void *argp1 = 0 ;
73463  int res1 = 0 ;
73464  int res2 = SWIG_OLDOBJ ;
73465  PyObject * obj0 = 0 ;
73466  PyObject * obj1 = 0 ;
73467  std::map< std::string,OdorType * >::mapped_type *result = 0 ;
73468 
73469  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_OdorType___getitem__",&obj0,&obj1)) SWIG_fail;
73470  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73471  if (!SWIG_IsOK(res1)) {
73472  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType___getitem__" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
73473  }
73474  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73475  {
73476  std::string *ptr = (std::string *)0;
73477  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
73478  if (!SWIG_IsOK(res2)) {
73479  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_OdorType___getitem__" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
73480  }
73481  if (!ptr) {
73482  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_OdorType___getitem__" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
73483  }
73484  arg2 = ptr;
73485  }
73486  try {
73487  result = (std::map< std::string,OdorType * >::mapped_type *) &std_map_Sl_std_string_Sc_OdorType_Sm__Sg____getitem__(arg1,(std::string const &)*arg2);
73488  }
73489  catch(std::out_of_range &_e) {
73490  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
73491  }
73492 
73493  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(*result), SWIGTYPE_p_OdorType, 0 | 0 );
73494  if (SWIG_IsNewObj(res2)) delete arg2;
73495  return resultobj;
73496 fail:
73497  if (SWIG_IsNewObj(res2)) delete arg2;
73498  return NULL;
73499 }
73500 
73501 
73502 SWIGINTERN PyObject *_wrap_map_string_OdorType___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73503  PyObject *resultobj = 0;
73504  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73505  std::map< std::string,OdorType * >::key_type *arg2 = 0 ;
73506  void *argp1 = 0 ;
73507  int res1 = 0 ;
73508  int res2 = SWIG_OLDOBJ ;
73509  PyObject * obj0 = 0 ;
73510  PyObject * obj1 = 0 ;
73511 
73512  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_OdorType___delitem__",&obj0,&obj1)) SWIG_fail;
73513  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73514  if (!SWIG_IsOK(res1)) {
73515  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType___delitem__" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
73516  }
73517  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73518  {
73519  std::string *ptr = (std::string *)0;
73520  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
73521  if (!SWIG_IsOK(res2)) {
73522  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_OdorType___delitem__" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
73523  }
73524  if (!ptr) {
73525  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_OdorType___delitem__" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
73526  }
73527  arg2 = ptr;
73528  }
73529  try {
73530  std_map_Sl_std_string_Sc_OdorType_Sm__Sg____delitem__(arg1,(std::string const &)*arg2);
73531  }
73532  catch(std::out_of_range &_e) {
73533  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
73534  }
73535 
73536  resultobj = SWIG_Py_Void();
73537  if (SWIG_IsNewObj(res2)) delete arg2;
73538  return resultobj;
73539 fail:
73540  if (SWIG_IsNewObj(res2)) delete arg2;
73541  return NULL;
73542 }
73543 
73544 
73545 SWIGINTERN PyObject *_wrap_map_string_OdorType_has_key(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73546  PyObject *resultobj = 0;
73547  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73548  std::map< std::string,OdorType * >::key_type *arg2 = 0 ;
73549  void *argp1 = 0 ;
73550  int res1 = 0 ;
73551  int res2 = SWIG_OLDOBJ ;
73552  PyObject * obj0 = 0 ;
73553  PyObject * obj1 = 0 ;
73554  bool result;
73555 
73556  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_OdorType_has_key",&obj0,&obj1)) SWIG_fail;
73557  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73558  if (!SWIG_IsOK(res1)) {
73559  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_has_key" "', argument " "1"" of type '" "std::map< std::string,OdorType * > const *""'");
73560  }
73561  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73562  {
73563  std::string *ptr = (std::string *)0;
73564  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
73565  if (!SWIG_IsOK(res2)) {
73566  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_OdorType_has_key" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
73567  }
73568  if (!ptr) {
73569  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_OdorType_has_key" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
73570  }
73571  arg2 = ptr;
73572  }
73573  result = (bool)std_map_Sl_std_string_Sc_OdorType_Sm__Sg__has_key((std::map< std::string,OdorType * > const *)arg1,(std::string const &)*arg2);
73574  resultobj = SWIG_From_bool(static_cast< bool >(result));
73575  if (SWIG_IsNewObj(res2)) delete arg2;
73576  return resultobj;
73577 fail:
73578  if (SWIG_IsNewObj(res2)) delete arg2;
73579  return NULL;
73580 }
73581 
73582 
73583 SWIGINTERN PyObject *_wrap_map_string_OdorType_keys(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73584  PyObject *resultobj = 0;
73585  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73586  void *argp1 = 0 ;
73587  int res1 = 0 ;
73588  PyObject * obj0 = 0 ;
73589  PyObject *result = 0 ;
73590 
73591  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType_keys",&obj0)) SWIG_fail;
73592  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73593  if (!SWIG_IsOK(res1)) {
73594  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_keys" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
73595  }
73596  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73597  result = (PyObject *)std_map_Sl_std_string_Sc_OdorType_Sm__Sg__keys(arg1);
73598  resultobj = result;
73599  return resultobj;
73600 fail:
73601  return NULL;
73602 }
73603 
73604 
73605 SWIGINTERN PyObject *_wrap_map_string_OdorType_values(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73606  PyObject *resultobj = 0;
73607  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73608  void *argp1 = 0 ;
73609  int res1 = 0 ;
73610  PyObject * obj0 = 0 ;
73611  PyObject *result = 0 ;
73612 
73613  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType_values",&obj0)) SWIG_fail;
73614  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73615  if (!SWIG_IsOK(res1)) {
73616  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_values" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
73617  }
73618  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73619  result = (PyObject *)std_map_Sl_std_string_Sc_OdorType_Sm__Sg__values(arg1);
73620  resultobj = result;
73621  return resultobj;
73622 fail:
73623  return NULL;
73624 }
73625 
73626 
73627 SWIGINTERN PyObject *_wrap_map_string_OdorType_items(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73628  PyObject *resultobj = 0;
73629  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73630  void *argp1 = 0 ;
73631  int res1 = 0 ;
73632  PyObject * obj0 = 0 ;
73633  PyObject *result = 0 ;
73634 
73635  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType_items",&obj0)) SWIG_fail;
73636  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73637  if (!SWIG_IsOK(res1)) {
73638  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_items" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
73639  }
73640  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73641  result = (PyObject *)std_map_Sl_std_string_Sc_OdorType_Sm__Sg__items(arg1);
73642  resultobj = result;
73643  return resultobj;
73644 fail:
73645  return NULL;
73646 }
73647 
73648 
73649 SWIGINTERN PyObject *_wrap_map_string_OdorType___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73650  PyObject *resultobj = 0;
73651  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73652  std::map< std::string,OdorType * >::key_type *arg2 = 0 ;
73653  void *argp1 = 0 ;
73654  int res1 = 0 ;
73655  int res2 = SWIG_OLDOBJ ;
73656  PyObject * obj0 = 0 ;
73657  PyObject * obj1 = 0 ;
73658  bool result;
73659 
73660  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_OdorType___contains__",&obj0,&obj1)) SWIG_fail;
73661  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73662  if (!SWIG_IsOK(res1)) {
73663  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType___contains__" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
73664  }
73665  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73666  {
73667  std::string *ptr = (std::string *)0;
73668  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
73669  if (!SWIG_IsOK(res2)) {
73670  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_OdorType___contains__" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
73671  }
73672  if (!ptr) {
73673  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_OdorType___contains__" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
73674  }
73675  arg2 = ptr;
73676  }
73677  result = (bool)std_map_Sl_std_string_Sc_OdorType_Sm__Sg____contains__(arg1,(std::string const &)*arg2);
73678  resultobj = SWIG_From_bool(static_cast< bool >(result));
73679  if (SWIG_IsNewObj(res2)) delete arg2;
73680  return resultobj;
73681 fail:
73682  if (SWIG_IsNewObj(res2)) delete arg2;
73683  return NULL;
73684 }
73685 
73686 
73687 SWIGINTERN PyObject *_wrap_map_string_OdorType_key_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73688  PyObject *resultobj = 0;
73689  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73690  PyObject **arg2 = (PyObject **) 0 ;
73691  void *argp1 = 0 ;
73692  int res1 = 0 ;
73693  PyObject * obj0 = 0 ;
73694  swig::SwigPyIterator *result = 0 ;
73695 
73696  arg2 = &obj0;
73697  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType_key_iterator",&obj0)) SWIG_fail;
73698  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73699  if (!SWIG_IsOK(res1)) {
73700  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_key_iterator" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
73701  }
73702  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73703  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_OdorType_Sm__Sg__key_iterator(arg1,arg2);
73704  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
73705  return resultobj;
73706 fail:
73707  return NULL;
73708 }
73709 
73710 
73711 SWIGINTERN PyObject *_wrap_map_string_OdorType_value_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73712  PyObject *resultobj = 0;
73713  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73714  PyObject **arg2 = (PyObject **) 0 ;
73715  void *argp1 = 0 ;
73716  int res1 = 0 ;
73717  PyObject * obj0 = 0 ;
73718  swig::SwigPyIterator *result = 0 ;
73719 
73720  arg2 = &obj0;
73721  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType_value_iterator",&obj0)) SWIG_fail;
73722  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73723  if (!SWIG_IsOK(res1)) {
73724  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_value_iterator" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
73725  }
73726  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73727  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_OdorType_Sm__Sg__value_iterator(arg1,arg2);
73728  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
73729  return resultobj;
73730 fail:
73731  return NULL;
73732 }
73733 
73734 
73735 SWIGINTERN PyObject *_wrap_map_string_OdorType___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73736  PyObject *resultobj = 0;
73737  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73738  std::map< std::string,OdorType * >::key_type *arg2 = 0 ;
73739  void *argp1 = 0 ;
73740  int res1 = 0 ;
73741  int res2 = SWIG_OLDOBJ ;
73742  PyObject * obj0 = 0 ;
73743  PyObject * obj1 = 0 ;
73744 
73745  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_OdorType___setitem__",&obj0,&obj1)) SWIG_fail;
73746  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73747  if (!SWIG_IsOK(res1)) {
73748  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType___setitem__" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
73749  }
73750  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73751  {
73752  std::string *ptr = (std::string *)0;
73753  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
73754  if (!SWIG_IsOK(res2)) {
73755  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_OdorType___setitem__" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
73756  }
73757  if (!ptr) {
73758  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_OdorType___setitem__" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
73759  }
73760  arg2 = ptr;
73761  }
73762  std_map_Sl_std_string_Sc_OdorType_Sm__Sg____setitem____SWIG_0(arg1,(std::string const &)*arg2);
73763  resultobj = SWIG_Py_Void();
73764  if (SWIG_IsNewObj(res2)) delete arg2;
73765  return resultobj;
73766 fail:
73767  if (SWIG_IsNewObj(res2)) delete arg2;
73768  return NULL;
73769 }
73770 
73771 
73772 SWIGINTERN PyObject *_wrap_map_string_OdorType___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73773  PyObject *resultobj = 0;
73774  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73775  std::map< std::string,OdorType * >::key_type *arg2 = 0 ;
73776  std::map< std::string,OdorType * >::mapped_type *arg3 = 0 ;
73777  void *argp1 = 0 ;
73778  int res1 = 0 ;
73779  int res2 = SWIG_OLDOBJ ;
73780  void *argp3 = 0 ;
73781  int res3 = 0 ;
73782  std::map< std::string,OdorType * >::mapped_type temp3 ;
73783  PyObject * obj0 = 0 ;
73784  PyObject * obj1 = 0 ;
73785  PyObject * obj2 = 0 ;
73786 
73787  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_OdorType___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
73788  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73789  if (!SWIG_IsOK(res1)) {
73790  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType___setitem__" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
73791  }
73792  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73793  {
73794  std::string *ptr = (std::string *)0;
73795  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
73796  if (!SWIG_IsOK(res2)) {
73797  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_OdorType___setitem__" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
73798  }
73799  if (!ptr) {
73800  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_OdorType___setitem__" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
73801  }
73802  arg2 = ptr;
73803  }
73804  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_OdorType, 0 | 0 );
73805  if (!SWIG_IsOK(res3)) {
73806  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "map_string_OdorType___setitem__" "', argument " "3"" of type '" "std::map< std::string,OdorType * >::mapped_type""'");
73807  }
73808  temp3 = reinterpret_cast< std::map< std::string,OdorType * >::mapped_type >(argp3);
73809  arg3 = reinterpret_cast< std::map< std::string,OdorType * >::mapped_type * >(&temp3);
73810  try {
73811  std_map_Sl_std_string_Sc_OdorType_Sm__Sg____setitem____SWIG_1(arg1,(std::string const &)*arg2,(OdorType *const &)*arg3);
73812  }
73813  catch(std::out_of_range &_e) {
73814  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
73815  }
73816 
73817  resultobj = SWIG_Py_Void();
73818  if (SWIG_IsNewObj(res2)) delete arg2;
73819  return resultobj;
73820 fail:
73821  if (SWIG_IsNewObj(res2)) delete arg2;
73822  return NULL;
73823 }
73824 
73825 
73826 SWIGINTERN PyObject *_wrap_map_string_OdorType___setitem__(PyObject *self, PyObject *args) {
73827  int argc;
73828  PyObject *argv[4];
73829  int ii;
73830 
73831  if (!PyTuple_Check(args)) SWIG_fail;
73832  argc = args ? (int)PyObject_Length(args) : 0;
73833  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
73834  argv[ii] = PyTuple_GET_ITEM(args,ii);
73835  }
73836  if (argc == 2) {
73837  int _v;
73838  int res = swig::asptr(argv[0], (std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >**)(0));
73839  _v = SWIG_CheckState(res);
73840  if (_v) {
73841  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
73842  _v = SWIG_CheckState(res);
73843  if (_v) {
73844  return _wrap_map_string_OdorType___setitem____SWIG_0(self, args);
73845  }
73846  }
73847  }
73848  if (argc == 3) {
73849  int _v;
73850  int res = swig::asptr(argv[0], (std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >**)(0));
73851  _v = SWIG_CheckState(res);
73852  if (_v) {
73853  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
73854  _v = SWIG_CheckState(res);
73855  if (_v) {
73856  void *vptr = 0;
73857  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_OdorType, 0);
73858  _v = SWIG_CheckState(res);
73859  if (_v) {
73860  return _wrap_map_string_OdorType___setitem____SWIG_1(self, args);
73861  }
73862  }
73863  }
73864  }
73865 
73866 fail:
73867  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_OdorType___setitem__'.\n"
73868  " Possible C/C++ prototypes are:\n"
73869  " std::map< std::string,OdorType * >::__setitem__(std::map< std::string,OdorType * >::key_type const &)\n"
73870  " std::map< std::string,OdorType * >::__setitem__(std::map< std::string,OdorType * >::key_type const &,std::map< std::string,OdorType * >::mapped_type const &)\n");
73871  return 0;
73872 }
73873 
73874 
73875 SWIGINTERN PyObject *_wrap_map_string_OdorType_asdict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73876  PyObject *resultobj = 0;
73877  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73878  void *argp1 = 0 ;
73879  int res1 = 0 ;
73880  PyObject * obj0 = 0 ;
73881  PyObject *result = 0 ;
73882 
73883  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType_asdict",&obj0)) SWIG_fail;
73884  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73885  if (!SWIG_IsOK(res1)) {
73886  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_asdict" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
73887  }
73888  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73889  result = (PyObject *)std_map_Sl_std_string_Sc_OdorType_Sm__Sg__asdict(arg1);
73890  resultobj = result;
73891  return resultobj;
73892 fail:
73893  return NULL;
73894 }
73895 
73896 
73897 SWIGINTERN PyObject *_wrap_new_map_string_OdorType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73898  PyObject *resultobj = 0;
73899  std::map< std::string,OdorType * > *result = 0 ;
73900 
73901  if (!PyArg_ParseTuple(args,(char *)":new_map_string_OdorType")) SWIG_fail;
73902  result = (std::map< std::string,OdorType * > *)new std::map< std::string,OdorType * >();
73903  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
73904  return resultobj;
73905 fail:
73906  return NULL;
73907 }
73908 
73909 
73910 SWIGINTERN PyObject *_wrap_new_map_string_OdorType__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73911  PyObject *resultobj = 0;
73912  std::map< std::string,OdorType * > *arg1 = 0 ;
73913  int res1 = SWIG_OLDOBJ ;
73914  PyObject * obj0 = 0 ;
73915  std::map< std::string,OdorType * > *result = 0 ;
73916 
73917  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_OdorType",&obj0)) SWIG_fail;
73918  {
73919  std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > > *ptr = (std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > > *)0;
73920  res1 = swig::asptr(obj0, &ptr);
73921  if (!SWIG_IsOK(res1)) {
73922  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_OdorType" "', argument " "1"" of type '" "std::map< std::string,OdorType * > const &""'");
73923  }
73924  if (!ptr) {
73925  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_OdorType" "', argument " "1"" of type '" "std::map< std::string,OdorType * > const &""'");
73926  }
73927  arg1 = ptr;
73928  }
73929  result = (std::map< std::string,OdorType * > *)new std::map< std::string,OdorType * >((std::map< std::string,OdorType * > const &)*arg1);
73930  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
73931  if (SWIG_IsNewObj(res1)) delete arg1;
73932  return resultobj;
73933 fail:
73934  if (SWIG_IsNewObj(res1)) delete arg1;
73935  return NULL;
73936 }
73937 
73938 
73939 SWIGINTERN PyObject *_wrap_new_map_string_OdorType(PyObject *self, PyObject *args) {
73940  int argc;
73941  PyObject *argv[2];
73942  int ii;
73943 
73944  if (!PyTuple_Check(args)) SWIG_fail;
73945  argc = args ? (int)PyObject_Length(args) : 0;
73946  for (ii = 0; (ii < 1) && (ii < argc); ii++) {
73947  argv[ii] = PyTuple_GET_ITEM(args,ii);
73948  }
73949  if (argc == 0) {
73950  return _wrap_new_map_string_OdorType__SWIG_1(self, args);
73951  }
73952  if (argc == 1) {
73953  int _v;
73954  int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__lessT_std__string_t, 0);
73955  _v = SWIG_CheckState(res);
73956  if (_v) {
73957  return _wrap_new_map_string_OdorType__SWIG_0(self, args);
73958  }
73959  }
73960  if (argc == 1) {
73961  int _v;
73962  int res = swig::asptr(argv[0], (std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >**)(0));
73963  _v = SWIG_CheckState(res);
73964  if (_v) {
73965  return _wrap_new_map_string_OdorType__SWIG_2(self, args);
73966  }
73967  }
73968 
73969 fail:
73970  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_map_string_OdorType'.\n"
73971  " Possible C/C++ prototypes are:\n"
73972  " std::map< std::string,OdorType * >::map(std::less< std::string > const &)\n"
73973  " std::map< std::string,OdorType * >::map()\n"
73974  " std::map< std::string,OdorType * >::map(std::map< std::string,OdorType * > const &)\n");
73975  return 0;
73976 }
73977 
73978 
73979 SWIGINTERN PyObject *_wrap_map_string_OdorType_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
73980  PyObject *resultobj = 0;
73981  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
73982  void *argp1 = 0 ;
73983  int res1 = 0 ;
73984  PyObject * obj0 = 0 ;
73985  bool result;
73986 
73987  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType_empty",&obj0)) SWIG_fail;
73988  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
73989  if (!SWIG_IsOK(res1)) {
73990  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_empty" "', argument " "1"" of type '" "std::map< std::string,OdorType * > const *""'");
73991  }
73992  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
73993  result = (bool)((std::map< std::string,OdorType * > const *)arg1)->empty();
73994  resultobj = SWIG_From_bool(static_cast< bool >(result));
73995  return resultobj;
73996 fail:
73997  return NULL;
73998 }
73999 
74000 
74001 SWIGINTERN PyObject *_wrap_map_string_OdorType_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74002  PyObject *resultobj = 0;
74003  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74004  void *argp1 = 0 ;
74005  int res1 = 0 ;
74006  PyObject * obj0 = 0 ;
74007  std::map< std::string,OdorType * >::size_type result;
74008 
74009  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType_size",&obj0)) SWIG_fail;
74010  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74011  if (!SWIG_IsOK(res1)) {
74012  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_size" "', argument " "1"" of type '" "std::map< std::string,OdorType * > const *""'");
74013  }
74014  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74015  result = ((std::map< std::string,OdorType * > const *)arg1)->size();
74016  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
74017  return resultobj;
74018 fail:
74019  return NULL;
74020 }
74021 
74022 
74023 SWIGINTERN PyObject *_wrap_map_string_OdorType_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74024  PyObject *resultobj = 0;
74025  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74026  void *argp1 = 0 ;
74027  int res1 = 0 ;
74028  PyObject * obj0 = 0 ;
74029 
74030  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType_clear",&obj0)) SWIG_fail;
74031  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74032  if (!SWIG_IsOK(res1)) {
74033  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_clear" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
74034  }
74035  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74036  (arg1)->clear();
74037  resultobj = SWIG_Py_Void();
74038  return resultobj;
74039 fail:
74040  return NULL;
74041 }
74042 
74043 
74044 SWIGINTERN PyObject *_wrap_map_string_OdorType_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74045  PyObject *resultobj = 0;
74046  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74047  std::map< std::string,OdorType * > *arg2 = 0 ;
74048  void *argp1 = 0 ;
74049  int res1 = 0 ;
74050  void *argp2 = 0 ;
74051  int res2 = 0 ;
74052  PyObject * obj0 = 0 ;
74053  PyObject * obj1 = 0 ;
74054 
74055  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_OdorType_swap",&obj0,&obj1)) SWIG_fail;
74056  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74057  if (!SWIG_IsOK(res1)) {
74058  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_swap" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
74059  }
74060  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74061  res2 = SWIG_ConvertPtr(obj1, &argp2, 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, 0 );
74062  if (!SWIG_IsOK(res2)) {
74063  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_OdorType_swap" "', argument " "2"" of type '" "std::map< std::string,OdorType * > &""'");
74064  }
74065  if (!argp2) {
74066  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_OdorType_swap" "', argument " "2"" of type '" "std::map< std::string,OdorType * > &""'");
74067  }
74068  arg2 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp2);
74069  (arg1)->swap(*arg2);
74070  resultobj = SWIG_Py_Void();
74071  return resultobj;
74072 fail:
74073  return NULL;
74074 }
74075 
74076 
74077 SWIGINTERN PyObject *_wrap_map_string_OdorType_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74078  PyObject *resultobj = 0;
74079  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74080  void *argp1 = 0 ;
74081  int res1 = 0 ;
74082  PyObject * obj0 = 0 ;
74083  SwigValueWrapper< std::allocator< std::pair< std::string const,OdorType * > > > result;
74084 
74085  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType_get_allocator",&obj0)) SWIG_fail;
74086  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74087  if (!SWIG_IsOK(res1)) {
74088  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_get_allocator" "', argument " "1"" of type '" "std::map< std::string,OdorType * > const *""'");
74089  }
74090  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74091  result = ((std::map< std::string,OdorType * > const *)arg1)->get_allocator();
74092  resultobj = SWIG_NewPointerObj((new std::map< std::string,OdorType * >::allocator_type(static_cast< const std::map< std::string,OdorType * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t, SWIG_POINTER_OWN | 0 );
74093  return resultobj;
74094 fail:
74095  return NULL;
74096 }
74097 
74098 
74099 SWIGINTERN PyObject *_wrap_map_string_OdorType_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74100  PyObject *resultobj = 0;
74101  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74102  void *argp1 = 0 ;
74103  int res1 = 0 ;
74104  PyObject * obj0 = 0 ;
74105  std::map< std::string,OdorType * >::iterator result;
74106 
74107  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType_begin",&obj0)) SWIG_fail;
74108  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74109  if (!SWIG_IsOK(res1)) {
74110  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_begin" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
74111  }
74112  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74113  result = (arg1)->begin();
74114  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,OdorType * >::iterator & >(result)),
74115  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
74116  return resultobj;
74117 fail:
74118  return NULL;
74119 }
74120 
74121 
74122 SWIGINTERN PyObject *_wrap_map_string_OdorType_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74123  PyObject *resultobj = 0;
74124  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74125  void *argp1 = 0 ;
74126  int res1 = 0 ;
74127  PyObject * obj0 = 0 ;
74128  std::map< std::string,OdorType * >::iterator result;
74129 
74130  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType_end",&obj0)) SWIG_fail;
74131  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74132  if (!SWIG_IsOK(res1)) {
74133  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_end" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
74134  }
74135  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74136  result = (arg1)->end();
74137  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,OdorType * >::iterator & >(result)),
74138  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
74139  return resultobj;
74140 fail:
74141  return NULL;
74142 }
74143 
74144 
74145 SWIGINTERN PyObject *_wrap_map_string_OdorType_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74146  PyObject *resultobj = 0;
74147  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74148  void *argp1 = 0 ;
74149  int res1 = 0 ;
74150  PyObject * obj0 = 0 ;
74151  std::map< std::string,OdorType * >::reverse_iterator result;
74152 
74153  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType_rbegin",&obj0)) SWIG_fail;
74154  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74155  if (!SWIG_IsOK(res1)) {
74156  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_rbegin" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
74157  }
74158  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74159  result = (arg1)->rbegin();
74160  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,OdorType * >::reverse_iterator & >(result)),
74161  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
74162  return resultobj;
74163 fail:
74164  return NULL;
74165 }
74166 
74167 
74168 SWIGINTERN PyObject *_wrap_map_string_OdorType_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74169  PyObject *resultobj = 0;
74170  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74171  void *argp1 = 0 ;
74172  int res1 = 0 ;
74173  PyObject * obj0 = 0 ;
74174  std::map< std::string,OdorType * >::reverse_iterator result;
74175 
74176  if (!PyArg_ParseTuple(args,(char *)"O:map_string_OdorType_rend",&obj0)) SWIG_fail;
74177  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74178  if (!SWIG_IsOK(res1)) {
74179  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_rend" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
74180  }
74181  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74182  result = (arg1)->rend();
74183  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,OdorType * >::reverse_iterator & >(result)),
74184  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
74185  return resultobj;
74186 fail:
74187  return NULL;
74188 }
74189 
74190 
74191 SWIGINTERN PyObject *_wrap_map_string_OdorType_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74192  PyObject *resultobj = 0;
74193  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74194  std::map< std::string,OdorType * >::key_type *arg2 = 0 ;
74195  void *argp1 = 0 ;
74196  int res1 = 0 ;
74197  int res2 = SWIG_OLDOBJ ;
74198  PyObject * obj0 = 0 ;
74199  PyObject * obj1 = 0 ;
74200  std::map< std::string,OdorType * >::size_type result;
74201 
74202  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_OdorType_erase",&obj0,&obj1)) SWIG_fail;
74203  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74204  if (!SWIG_IsOK(res1)) {
74205  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_erase" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
74206  }
74207  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74208  {
74209  std::string *ptr = (std::string *)0;
74210  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
74211  if (!SWIG_IsOK(res2)) {
74212  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_OdorType_erase" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
74213  }
74214  if (!ptr) {
74215  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_OdorType_erase" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
74216  }
74217  arg2 = ptr;
74218  }
74219  result = (arg1)->erase((std::map< std::string,OdorType * >::key_type const &)*arg2);
74220  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
74221  if (SWIG_IsNewObj(res2)) delete arg2;
74222  return resultobj;
74223 fail:
74224  if (SWIG_IsNewObj(res2)) delete arg2;
74225  return NULL;
74226 }
74227 
74228 
74229 SWIGINTERN PyObject *_wrap_map_string_OdorType_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74230  PyObject *resultobj = 0;
74231  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74232  std::map< std::string,OdorType * >::key_type *arg2 = 0 ;
74233  void *argp1 = 0 ;
74234  int res1 = 0 ;
74235  int res2 = SWIG_OLDOBJ ;
74236  PyObject * obj0 = 0 ;
74237  PyObject * obj1 = 0 ;
74238  std::map< std::string,OdorType * >::size_type result;
74239 
74240  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_OdorType_count",&obj0,&obj1)) SWIG_fail;
74241  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74242  if (!SWIG_IsOK(res1)) {
74243  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_count" "', argument " "1"" of type '" "std::map< std::string,OdorType * > const *""'");
74244  }
74245  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74246  {
74247  std::string *ptr = (std::string *)0;
74248  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
74249  if (!SWIG_IsOK(res2)) {
74250  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_OdorType_count" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
74251  }
74252  if (!ptr) {
74253  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_OdorType_count" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
74254  }
74255  arg2 = ptr;
74256  }
74257  result = ((std::map< std::string,OdorType * > const *)arg1)->count((std::map< std::string,OdorType * >::key_type const &)*arg2);
74258  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
74259  if (SWIG_IsNewObj(res2)) delete arg2;
74260  return resultobj;
74261 fail:
74262  if (SWIG_IsNewObj(res2)) delete arg2;
74263  return NULL;
74264 }
74265 
74266 
74267 SWIGINTERN PyObject *_wrap_map_string_OdorType_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74268  PyObject *resultobj = 0;
74269  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74270  std::map< std::string,OdorType * >::iterator arg2 ;
74271  void *argp1 = 0 ;
74272  int res1 = 0 ;
74273  swig::SwigPyIterator *iter2 = 0 ;
74274  int res2 ;
74275  PyObject * obj0 = 0 ;
74276  PyObject * obj1 = 0 ;
74277 
74278  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_OdorType_erase",&obj0,&obj1)) SWIG_fail;
74279  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74280  if (!SWIG_IsOK(res1)) {
74281  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_erase" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
74282  }
74283  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74284  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
74285  if (!SWIG_IsOK(res2) || !iter2) {
74286  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_OdorType_erase" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::iterator""'");
74287  } else {
74289  if (iter_t) {
74290  arg2 = iter_t->get_current();
74291  } else {
74292  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_OdorType_erase" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::iterator""'");
74293  }
74294  }
74295  std_map_Sl_std_string_Sc_OdorType_Sm__Sg__erase__SWIG_1(arg1,arg2);
74296  resultobj = SWIG_Py_Void();
74297  return resultobj;
74298 fail:
74299  return NULL;
74300 }
74301 
74302 
74303 SWIGINTERN PyObject *_wrap_map_string_OdorType_erase__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74304  PyObject *resultobj = 0;
74305  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74306  std::map< std::string,OdorType * >::iterator arg2 ;
74307  std::map< std::string,OdorType * >::iterator arg3 ;
74308  void *argp1 = 0 ;
74309  int res1 = 0 ;
74310  swig::SwigPyIterator *iter2 = 0 ;
74311  int res2 ;
74312  swig::SwigPyIterator *iter3 = 0 ;
74313  int res3 ;
74314  PyObject * obj0 = 0 ;
74315  PyObject * obj1 = 0 ;
74316  PyObject * obj2 = 0 ;
74317 
74318  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_OdorType_erase",&obj0,&obj1,&obj2)) SWIG_fail;
74319  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74320  if (!SWIG_IsOK(res1)) {
74321  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_erase" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
74322  }
74323  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74324  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
74325  if (!SWIG_IsOK(res2) || !iter2) {
74326  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_OdorType_erase" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::iterator""'");
74327  } else {
74329  if (iter_t) {
74330  arg2 = iter_t->get_current();
74331  } else {
74332  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_OdorType_erase" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::iterator""'");
74333  }
74334  }
74335  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
74336  if (!SWIG_IsOK(res3) || !iter3) {
74337  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_OdorType_erase" "', argument " "3"" of type '" "std::map< std::string,OdorType * >::iterator""'");
74338  } else {
74340  if (iter_t) {
74341  arg3 = iter_t->get_current();
74342  } else {
74343  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_OdorType_erase" "', argument " "3"" of type '" "std::map< std::string,OdorType * >::iterator""'");
74344  }
74345  }
74346  std_map_Sl_std_string_Sc_OdorType_Sm__Sg__erase__SWIG_2(arg1,arg2,arg3);
74347  resultobj = SWIG_Py_Void();
74348  return resultobj;
74349 fail:
74350  return NULL;
74351 }
74352 
74353 
74354 SWIGINTERN PyObject *_wrap_map_string_OdorType_erase(PyObject *self, PyObject *args) {
74355  int argc;
74356  PyObject *argv[4];
74357  int ii;
74358 
74359  if (!PyTuple_Check(args)) SWIG_fail;
74360  argc = args ? (int)PyObject_Length(args) : 0;
74361  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
74362  argv[ii] = PyTuple_GET_ITEM(args,ii);
74363  }
74364  if (argc == 2) {
74365  int _v;
74366  int res = swig::asptr(argv[0], (std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >**)(0));
74367  _v = SWIG_CheckState(res);
74368  if (_v) {
74369  swig::SwigPyIterator *iter = 0;
74370  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
74371  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,OdorType * >::iterator > *>(iter) != 0));
74372  if (_v) {
74373  return _wrap_map_string_OdorType_erase__SWIG_1(self, args);
74374  }
74375  }
74376  }
74377  if (argc == 2) {
74378  int _v;
74379  int res = swig::asptr(argv[0], (std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >**)(0));
74380  _v = SWIG_CheckState(res);
74381  if (_v) {
74382  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
74383  _v = SWIG_CheckState(res);
74384  if (_v) {
74385  return _wrap_map_string_OdorType_erase__SWIG_0(self, args);
74386  }
74387  }
74388  }
74389  if (argc == 3) {
74390  int _v;
74391  int res = swig::asptr(argv[0], (std::map<std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >**)(0));
74392  _v = SWIG_CheckState(res);
74393  if (_v) {
74394  swig::SwigPyIterator *iter = 0;
74395  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
74396  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,OdorType * >::iterator > *>(iter) != 0));
74397  if (_v) {
74398  swig::SwigPyIterator *iter = 0;
74399  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
74400  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,OdorType * >::iterator > *>(iter) != 0));
74401  if (_v) {
74402  return _wrap_map_string_OdorType_erase__SWIG_2(self, args);
74403  }
74404  }
74405  }
74406  }
74407 
74408 fail:
74409  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_OdorType_erase'.\n"
74410  " Possible C/C++ prototypes are:\n"
74411  " std::map< std::string,OdorType * >::erase(std::map< std::string,OdorType * >::key_type const &)\n"
74412  " std::map< std::string,OdorType * >::erase(std::map< std::string,OdorType * >::iterator)\n"
74413  " std::map< std::string,OdorType * >::erase(std::map< std::string,OdorType * >::iterator,std::map< std::string,OdorType * >::iterator)\n");
74414  return 0;
74415 }
74416 
74417 
74418 SWIGINTERN PyObject *_wrap_map_string_OdorType_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74419  PyObject *resultobj = 0;
74420  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74421  std::map< std::string,OdorType * >::key_type *arg2 = 0 ;
74422  void *argp1 = 0 ;
74423  int res1 = 0 ;
74424  int res2 = SWIG_OLDOBJ ;
74425  PyObject * obj0 = 0 ;
74426  PyObject * obj1 = 0 ;
74427  std::map< std::string,OdorType * >::iterator result;
74428 
74429  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_OdorType_find",&obj0,&obj1)) SWIG_fail;
74430  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74431  if (!SWIG_IsOK(res1)) {
74432  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_find" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
74433  }
74434  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74435  {
74436  std::string *ptr = (std::string *)0;
74437  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
74438  if (!SWIG_IsOK(res2)) {
74439  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_OdorType_find" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
74440  }
74441  if (!ptr) {
74442  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_OdorType_find" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
74443  }
74444  arg2 = ptr;
74445  }
74446  result = (arg1)->find((std::map< std::string,OdorType * >::key_type const &)*arg2);
74447  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,OdorType * >::iterator & >(result)),
74448  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
74449  if (SWIG_IsNewObj(res2)) delete arg2;
74450  return resultobj;
74451 fail:
74452  if (SWIG_IsNewObj(res2)) delete arg2;
74453  return NULL;
74454 }
74455 
74456 
74457 SWIGINTERN PyObject *_wrap_map_string_OdorType_lower_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74458  PyObject *resultobj = 0;
74459  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74460  std::map< std::string,OdorType * >::key_type *arg2 = 0 ;
74461  void *argp1 = 0 ;
74462  int res1 = 0 ;
74463  int res2 = SWIG_OLDOBJ ;
74464  PyObject * obj0 = 0 ;
74465  PyObject * obj1 = 0 ;
74466  std::map< std::string,OdorType * >::iterator result;
74467 
74468  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_OdorType_lower_bound",&obj0,&obj1)) SWIG_fail;
74469  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74470  if (!SWIG_IsOK(res1)) {
74471  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_lower_bound" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
74472  }
74473  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74474  {
74475  std::string *ptr = (std::string *)0;
74476  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
74477  if (!SWIG_IsOK(res2)) {
74478  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_OdorType_lower_bound" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
74479  }
74480  if (!ptr) {
74481  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_OdorType_lower_bound" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
74482  }
74483  arg2 = ptr;
74484  }
74485  result = (arg1)->lower_bound((std::map< std::string,OdorType * >::key_type const &)*arg2);
74486  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,OdorType * >::iterator & >(result)),
74487  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
74488  if (SWIG_IsNewObj(res2)) delete arg2;
74489  return resultobj;
74490 fail:
74491  if (SWIG_IsNewObj(res2)) delete arg2;
74492  return NULL;
74493 }
74494 
74495 
74496 SWIGINTERN PyObject *_wrap_map_string_OdorType_upper_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74497  PyObject *resultobj = 0;
74498  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74499  std::map< std::string,OdorType * >::key_type *arg2 = 0 ;
74500  void *argp1 = 0 ;
74501  int res1 = 0 ;
74502  int res2 = SWIG_OLDOBJ ;
74503  PyObject * obj0 = 0 ;
74504  PyObject * obj1 = 0 ;
74505  std::map< std::string,OdorType * >::iterator result;
74506 
74507  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_OdorType_upper_bound",&obj0,&obj1)) SWIG_fail;
74508  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74509  if (!SWIG_IsOK(res1)) {
74510  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_OdorType_upper_bound" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
74511  }
74512  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74513  {
74514  std::string *ptr = (std::string *)0;
74515  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
74516  if (!SWIG_IsOK(res2)) {
74517  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_OdorType_upper_bound" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
74518  }
74519  if (!ptr) {
74520  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_OdorType_upper_bound" "', argument " "2"" of type '" "std::map< std::string,OdorType * >::key_type const &""'");
74521  }
74522  arg2 = ptr;
74523  }
74524  result = (arg1)->upper_bound((std::map< std::string,OdorType * >::key_type const &)*arg2);
74525  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,OdorType * >::iterator & >(result)),
74526  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
74527  if (SWIG_IsNewObj(res2)) delete arg2;
74528  return resultobj;
74529 fail:
74530  if (SWIG_IsNewObj(res2)) delete arg2;
74531  return NULL;
74532 }
74533 
74534 
74535 SWIGINTERN PyObject *_wrap_delete_map_string_OdorType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74536  PyObject *resultobj = 0;
74537  std::map< std::string,OdorType * > *arg1 = (std::map< std::string,OdorType * > *) 0 ;
74538  void *argp1 = 0 ;
74539  int res1 = 0 ;
74540  PyObject * obj0 = 0 ;
74541 
74542  if (!PyArg_ParseTuple(args,(char *)"O:delete_map_string_OdorType",&obj0)) SWIG_fail;
74543  res1 = SWIG_ConvertPtr(obj0, &argp1,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_POINTER_DISOWN | 0 );
74544  if (!SWIG_IsOK(res1)) {
74545  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_map_string_OdorType" "', argument " "1"" of type '" "std::map< std::string,OdorType * > *""'");
74546  }
74547  arg1 = reinterpret_cast< std::map< std::string,OdorType * > * >(argp1);
74548  {
74549  try {
74550  delete arg1;
74551  }
74552  catch(CStdErrorInfo oError)
74553  {
74554  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
74555  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
74556  PyErr_SetString(PyExc_IndexError, strError.c_str());
74557  SWIG_fail;
74558  }
74559  catch(...)
74560  {
74561  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
74562  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
74563  SWIG_fail;
74564  }
74565  }
74566  resultobj = SWIG_Py_Void();
74567  return resultobj;
74568 fail:
74569  return NULL;
74570 }
74571 
74572 
74573 SWIGINTERN PyObject *map_string_OdorType_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74574  PyObject *obj;
74575  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
74576  SWIG_TypeNewClientData(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_NewClientData(obj));
74577  return SWIG_Py_Void();
74578 }
74579 
74580 SWIGINTERN PyObject *_wrap_new_map_string_Organism__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74581  PyObject *resultobj = 0;
74582  std::less< std::string > *arg1 = 0 ;
74583  void *argp1 = 0 ;
74584  int res1 = 0 ;
74585  PyObject * obj0 = 0 ;
74586  std::map< std::string,Organism * > *result = 0 ;
74587 
74588  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_Organism",&obj0)) SWIG_fail;
74589  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__lessT_std__string_t, 0 | 0);
74590  if (!SWIG_IsOK(res1)) {
74591  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_Organism" "', argument " "1"" of type '" "std::less< std::string > const &""'");
74592  }
74593  if (!argp1) {
74594  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_Organism" "', argument " "1"" of type '" "std::less< std::string > const &""'");
74595  }
74596  arg1 = reinterpret_cast< std::less< std::string > * >(argp1);
74597  result = (std::map< std::string,Organism * > *)new std::map< std::string,Organism * >((std::less< std::string > const &)*arg1);
74598  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
74599  return resultobj;
74600 fail:
74601  return NULL;
74602 }
74603 
74604 
74605 SWIGINTERN PyObject *_wrap_map_string_Organism_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74606  PyObject *resultobj = 0;
74607  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
74608  PyObject **arg2 = (PyObject **) 0 ;
74609  void *argp1 = 0 ;
74610  int res1 = 0 ;
74611  PyObject * obj0 = 0 ;
74612  swig::SwigPyIterator *result = 0 ;
74613 
74614  arg2 = &obj0;
74615  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism_iterator",&obj0)) SWIG_fail;
74616  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74617  if (!SWIG_IsOK(res1)) {
74618  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_iterator" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
74619  }
74620  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
74621  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_Organism_Sm__Sg__iterator(arg1,arg2);
74622  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
74623  return resultobj;
74624 fail:
74625  return NULL;
74626 }
74627 
74628 
74629 SWIGINTERN PyObject *_wrap_map_string_Organism___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74630  PyObject *resultobj = 0;
74631  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
74632  void *argp1 = 0 ;
74633  int res1 = 0 ;
74634  PyObject * obj0 = 0 ;
74635  bool result;
74636 
74637  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism___nonzero__",&obj0)) SWIG_fail;
74638  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74639  if (!SWIG_IsOK(res1)) {
74640  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism___nonzero__" "', argument " "1"" of type '" "std::map< std::string,Organism * > const *""'");
74641  }
74642  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
74643  result = (bool)std_map_Sl_std_string_Sc_Organism_Sm__Sg____nonzero__((std::map< std::string,Organism * > const *)arg1);
74644  resultobj = SWIG_From_bool(static_cast< bool >(result));
74645  return resultobj;
74646 fail:
74647  return NULL;
74648 }
74649 
74650 
74651 SWIGINTERN PyObject *_wrap_map_string_Organism___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74652  PyObject *resultobj = 0;
74653  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
74654  void *argp1 = 0 ;
74655  int res1 = 0 ;
74656  PyObject * obj0 = 0 ;
74657  bool result;
74658 
74659  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism___bool__",&obj0)) SWIG_fail;
74660  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74661  if (!SWIG_IsOK(res1)) {
74662  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism___bool__" "', argument " "1"" of type '" "std::map< std::string,Organism * > const *""'");
74663  }
74664  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
74665  result = (bool)std_map_Sl_std_string_Sc_Organism_Sm__Sg____bool__((std::map< std::string,Organism * > const *)arg1);
74666  resultobj = SWIG_From_bool(static_cast< bool >(result));
74667  return resultobj;
74668 fail:
74669  return NULL;
74670 }
74671 
74672 
74673 SWIGINTERN PyObject *_wrap_map_string_Organism___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74674  PyObject *resultobj = 0;
74675  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
74676  void *argp1 = 0 ;
74677  int res1 = 0 ;
74678  PyObject * obj0 = 0 ;
74679  std::map< std::string,Organism * >::size_type result;
74680 
74681  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism___len__",&obj0)) SWIG_fail;
74682  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74683  if (!SWIG_IsOK(res1)) {
74684  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism___len__" "', argument " "1"" of type '" "std::map< std::string,Organism * > const *""'");
74685  }
74686  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
74687  result = std_map_Sl_std_string_Sc_Organism_Sm__Sg____len__((std::map< std::string,Organism * > const *)arg1);
74688  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
74689  return resultobj;
74690 fail:
74691  return NULL;
74692 }
74693 
74694 
74695 SWIGINTERN PyObject *_wrap_map_string_Organism___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74696  PyObject *resultobj = 0;
74697  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
74698  std::map< std::string,Organism * >::key_type *arg2 = 0 ;
74699  void *argp1 = 0 ;
74700  int res1 = 0 ;
74701  int res2 = SWIG_OLDOBJ ;
74702  PyObject * obj0 = 0 ;
74703  PyObject * obj1 = 0 ;
74704  std::map< std::string,Organism * >::mapped_type *result = 0 ;
74705 
74706  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Organism___getitem__",&obj0,&obj1)) SWIG_fail;
74707  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74708  if (!SWIG_IsOK(res1)) {
74709  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism___getitem__" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
74710  }
74711  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
74712  {
74713  std::string *ptr = (std::string *)0;
74714  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
74715  if (!SWIG_IsOK(res2)) {
74716  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Organism___getitem__" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
74717  }
74718  if (!ptr) {
74719  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Organism___getitem__" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
74720  }
74721  arg2 = ptr;
74722  }
74723  try {
74724  result = (std::map< std::string,Organism * >::mapped_type *) &std_map_Sl_std_string_Sc_Organism_Sm__Sg____getitem__(arg1,(std::string const &)*arg2);
74725  }
74726  catch(std::out_of_range &_e) {
74727  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
74728  }
74729 
74730  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(*result), SWIGTYPE_p_Organism, 0 | 0 );
74731  if (SWIG_IsNewObj(res2)) delete arg2;
74732  return resultobj;
74733 fail:
74734  if (SWIG_IsNewObj(res2)) delete arg2;
74735  return NULL;
74736 }
74737 
74738 
74739 SWIGINTERN PyObject *_wrap_map_string_Organism___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74740  PyObject *resultobj = 0;
74741  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
74742  std::map< std::string,Organism * >::key_type *arg2 = 0 ;
74743  void *argp1 = 0 ;
74744  int res1 = 0 ;
74745  int res2 = SWIG_OLDOBJ ;
74746  PyObject * obj0 = 0 ;
74747  PyObject * obj1 = 0 ;
74748 
74749  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Organism___delitem__",&obj0,&obj1)) SWIG_fail;
74750  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74751  if (!SWIG_IsOK(res1)) {
74752  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism___delitem__" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
74753  }
74754  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
74755  {
74756  std::string *ptr = (std::string *)0;
74757  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
74758  if (!SWIG_IsOK(res2)) {
74759  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Organism___delitem__" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
74760  }
74761  if (!ptr) {
74762  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Organism___delitem__" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
74763  }
74764  arg2 = ptr;
74765  }
74766  try {
74767  std_map_Sl_std_string_Sc_Organism_Sm__Sg____delitem__(arg1,(std::string const &)*arg2);
74768  }
74769  catch(std::out_of_range &_e) {
74770  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
74771  }
74772 
74773  resultobj = SWIG_Py_Void();
74774  if (SWIG_IsNewObj(res2)) delete arg2;
74775  return resultobj;
74776 fail:
74777  if (SWIG_IsNewObj(res2)) delete arg2;
74778  return NULL;
74779 }
74780 
74781 
74782 SWIGINTERN PyObject *_wrap_map_string_Organism_has_key(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74783  PyObject *resultobj = 0;
74784  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
74785  std::map< std::string,Organism * >::key_type *arg2 = 0 ;
74786  void *argp1 = 0 ;
74787  int res1 = 0 ;
74788  int res2 = SWIG_OLDOBJ ;
74789  PyObject * obj0 = 0 ;
74790  PyObject * obj1 = 0 ;
74791  bool result;
74792 
74793  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Organism_has_key",&obj0,&obj1)) SWIG_fail;
74794  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74795  if (!SWIG_IsOK(res1)) {
74796  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_has_key" "', argument " "1"" of type '" "std::map< std::string,Organism * > const *""'");
74797  }
74798  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
74799  {
74800  std::string *ptr = (std::string *)0;
74801  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
74802  if (!SWIG_IsOK(res2)) {
74803  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Organism_has_key" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
74804  }
74805  if (!ptr) {
74806  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Organism_has_key" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
74807  }
74808  arg2 = ptr;
74809  }
74810  result = (bool)std_map_Sl_std_string_Sc_Organism_Sm__Sg__has_key((std::map< std::string,Organism * > const *)arg1,(std::string const &)*arg2);
74811  resultobj = SWIG_From_bool(static_cast< bool >(result));
74812  if (SWIG_IsNewObj(res2)) delete arg2;
74813  return resultobj;
74814 fail:
74815  if (SWIG_IsNewObj(res2)) delete arg2;
74816  return NULL;
74817 }
74818 
74819 
74820 SWIGINTERN PyObject *_wrap_map_string_Organism_keys(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74821  PyObject *resultobj = 0;
74822  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
74823  void *argp1 = 0 ;
74824  int res1 = 0 ;
74825  PyObject * obj0 = 0 ;
74826  PyObject *result = 0 ;
74827 
74828  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism_keys",&obj0)) SWIG_fail;
74829  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74830  if (!SWIG_IsOK(res1)) {
74831  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_keys" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
74832  }
74833  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
74834  result = (PyObject *)std_map_Sl_std_string_Sc_Organism_Sm__Sg__keys(arg1);
74835  resultobj = result;
74836  return resultobj;
74837 fail:
74838  return NULL;
74839 }
74840 
74841 
74842 SWIGINTERN PyObject *_wrap_map_string_Organism_values(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74843  PyObject *resultobj = 0;
74844  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
74845  void *argp1 = 0 ;
74846  int res1 = 0 ;
74847  PyObject * obj0 = 0 ;
74848  PyObject *result = 0 ;
74849 
74850  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism_values",&obj0)) SWIG_fail;
74851  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74852  if (!SWIG_IsOK(res1)) {
74853  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_values" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
74854  }
74855  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
74856  result = (PyObject *)std_map_Sl_std_string_Sc_Organism_Sm__Sg__values(arg1);
74857  resultobj = result;
74858  return resultobj;
74859 fail:
74860  return NULL;
74861 }
74862 
74863 
74864 SWIGINTERN PyObject *_wrap_map_string_Organism_items(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74865  PyObject *resultobj = 0;
74866  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
74867  void *argp1 = 0 ;
74868  int res1 = 0 ;
74869  PyObject * obj0 = 0 ;
74870  PyObject *result = 0 ;
74871 
74872  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism_items",&obj0)) SWIG_fail;
74873  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74874  if (!SWIG_IsOK(res1)) {
74875  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_items" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
74876  }
74877  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
74878  result = (PyObject *)std_map_Sl_std_string_Sc_Organism_Sm__Sg__items(arg1);
74879  resultobj = result;
74880  return resultobj;
74881 fail:
74882  return NULL;
74883 }
74884 
74885 
74886 SWIGINTERN PyObject *_wrap_map_string_Organism___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74887  PyObject *resultobj = 0;
74888  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
74889  std::map< std::string,Organism * >::key_type *arg2 = 0 ;
74890  void *argp1 = 0 ;
74891  int res1 = 0 ;
74892  int res2 = SWIG_OLDOBJ ;
74893  PyObject * obj0 = 0 ;
74894  PyObject * obj1 = 0 ;
74895  bool result;
74896 
74897  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Organism___contains__",&obj0,&obj1)) SWIG_fail;
74898  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74899  if (!SWIG_IsOK(res1)) {
74900  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism___contains__" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
74901  }
74902  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
74903  {
74904  std::string *ptr = (std::string *)0;
74905  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
74906  if (!SWIG_IsOK(res2)) {
74907  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Organism___contains__" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
74908  }
74909  if (!ptr) {
74910  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Organism___contains__" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
74911  }
74912  arg2 = ptr;
74913  }
74914  result = (bool)std_map_Sl_std_string_Sc_Organism_Sm__Sg____contains__(arg1,(std::string const &)*arg2);
74915  resultobj = SWIG_From_bool(static_cast< bool >(result));
74916  if (SWIG_IsNewObj(res2)) delete arg2;
74917  return resultobj;
74918 fail:
74919  if (SWIG_IsNewObj(res2)) delete arg2;
74920  return NULL;
74921 }
74922 
74923 
74924 SWIGINTERN PyObject *_wrap_map_string_Organism_key_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74925  PyObject *resultobj = 0;
74926  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
74927  PyObject **arg2 = (PyObject **) 0 ;
74928  void *argp1 = 0 ;
74929  int res1 = 0 ;
74930  PyObject * obj0 = 0 ;
74931  swig::SwigPyIterator *result = 0 ;
74932 
74933  arg2 = &obj0;
74934  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism_key_iterator",&obj0)) SWIG_fail;
74935  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74936  if (!SWIG_IsOK(res1)) {
74937  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_key_iterator" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
74938  }
74939  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
74940  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_Organism_Sm__Sg__key_iterator(arg1,arg2);
74941  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
74942  return resultobj;
74943 fail:
74944  return NULL;
74945 }
74946 
74947 
74948 SWIGINTERN PyObject *_wrap_map_string_Organism_value_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74949  PyObject *resultobj = 0;
74950  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
74951  PyObject **arg2 = (PyObject **) 0 ;
74952  void *argp1 = 0 ;
74953  int res1 = 0 ;
74954  PyObject * obj0 = 0 ;
74955  swig::SwigPyIterator *result = 0 ;
74956 
74957  arg2 = &obj0;
74958  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism_value_iterator",&obj0)) SWIG_fail;
74959  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74960  if (!SWIG_IsOK(res1)) {
74961  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_value_iterator" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
74962  }
74963  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
74964  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_Organism_Sm__Sg__value_iterator(arg1,arg2);
74965  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
74966  return resultobj;
74967 fail:
74968  return NULL;
74969 }
74970 
74971 
74972 SWIGINTERN PyObject *_wrap_map_string_Organism___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
74973  PyObject *resultobj = 0;
74974  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
74975  std::map< std::string,Organism * >::key_type *arg2 = 0 ;
74976  void *argp1 = 0 ;
74977  int res1 = 0 ;
74978  int res2 = SWIG_OLDOBJ ;
74979  PyObject * obj0 = 0 ;
74980  PyObject * obj1 = 0 ;
74981 
74982  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Organism___setitem__",&obj0,&obj1)) SWIG_fail;
74983  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
74984  if (!SWIG_IsOK(res1)) {
74985  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism___setitem__" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
74986  }
74987  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
74988  {
74989  std::string *ptr = (std::string *)0;
74990  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
74991  if (!SWIG_IsOK(res2)) {
74992  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Organism___setitem__" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
74993  }
74994  if (!ptr) {
74995  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Organism___setitem__" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
74996  }
74997  arg2 = ptr;
74998  }
74999  std_map_Sl_std_string_Sc_Organism_Sm__Sg____setitem____SWIG_0(arg1,(std::string const &)*arg2);
75000  resultobj = SWIG_Py_Void();
75001  if (SWIG_IsNewObj(res2)) delete arg2;
75002  return resultobj;
75003 fail:
75004  if (SWIG_IsNewObj(res2)) delete arg2;
75005  return NULL;
75006 }
75007 
75008 
75009 SWIGINTERN PyObject *_wrap_map_string_Organism___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75010  PyObject *resultobj = 0;
75011  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75012  std::map< std::string,Organism * >::key_type *arg2 = 0 ;
75013  std::map< std::string,Organism * >::mapped_type *arg3 = 0 ;
75014  void *argp1 = 0 ;
75015  int res1 = 0 ;
75016  int res2 = SWIG_OLDOBJ ;
75017  void *argp3 = 0 ;
75018  int res3 = 0 ;
75019  std::map< std::string,Organism * >::mapped_type temp3 ;
75020  PyObject * obj0 = 0 ;
75021  PyObject * obj1 = 0 ;
75022  PyObject * obj2 = 0 ;
75023 
75024  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_Organism___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
75025  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75026  if (!SWIG_IsOK(res1)) {
75027  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism___setitem__" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
75028  }
75029  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75030  {
75031  std::string *ptr = (std::string *)0;
75032  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
75033  if (!SWIG_IsOK(res2)) {
75034  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Organism___setitem__" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
75035  }
75036  if (!ptr) {
75037  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Organism___setitem__" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
75038  }
75039  arg2 = ptr;
75040  }
75041  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_Organism, 0 | 0 );
75042  if (!SWIG_IsOK(res3)) {
75043  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "map_string_Organism___setitem__" "', argument " "3"" of type '" "std::map< std::string,Organism * >::mapped_type""'");
75044  }
75045  temp3 = reinterpret_cast< std::map< std::string,Organism * >::mapped_type >(argp3);
75046  arg3 = reinterpret_cast< std::map< std::string,Organism * >::mapped_type * >(&temp3);
75047  try {
75048  std_map_Sl_std_string_Sc_Organism_Sm__Sg____setitem____SWIG_1(arg1,(std::string const &)*arg2,(Organism *const &)*arg3);
75049  }
75050  catch(std::out_of_range &_e) {
75051  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
75052  }
75053 
75054  resultobj = SWIG_Py_Void();
75055  if (SWIG_IsNewObj(res2)) delete arg2;
75056  return resultobj;
75057 fail:
75058  if (SWIG_IsNewObj(res2)) delete arg2;
75059  return NULL;
75060 }
75061 
75062 
75063 SWIGINTERN PyObject *_wrap_map_string_Organism___setitem__(PyObject *self, PyObject *args) {
75064  int argc;
75065  PyObject *argv[4];
75066  int ii;
75067 
75068  if (!PyTuple_Check(args)) SWIG_fail;
75069  argc = args ? (int)PyObject_Length(args) : 0;
75070  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
75071  argv[ii] = PyTuple_GET_ITEM(args,ii);
75072  }
75073  if (argc == 2) {
75074  int _v;
75075  int res = swig::asptr(argv[0], (std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >**)(0));
75076  _v = SWIG_CheckState(res);
75077  if (_v) {
75078  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
75079  _v = SWIG_CheckState(res);
75080  if (_v) {
75081  return _wrap_map_string_Organism___setitem____SWIG_0(self, args);
75082  }
75083  }
75084  }
75085  if (argc == 3) {
75086  int _v;
75087  int res = swig::asptr(argv[0], (std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >**)(0));
75088  _v = SWIG_CheckState(res);
75089  if (_v) {
75090  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
75091  _v = SWIG_CheckState(res);
75092  if (_v) {
75093  void *vptr = 0;
75094  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Organism, 0);
75095  _v = SWIG_CheckState(res);
75096  if (_v) {
75097  return _wrap_map_string_Organism___setitem____SWIG_1(self, args);
75098  }
75099  }
75100  }
75101  }
75102 
75103 fail:
75104  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_Organism___setitem__'.\n"
75105  " Possible C/C++ prototypes are:\n"
75106  " std::map< std::string,Organism * >::__setitem__(std::map< std::string,Organism * >::key_type const &)\n"
75107  " std::map< std::string,Organism * >::__setitem__(std::map< std::string,Organism * >::key_type const &,std::map< std::string,Organism * >::mapped_type const &)\n");
75108  return 0;
75109 }
75110 
75111 
75112 SWIGINTERN PyObject *_wrap_map_string_Organism_asdict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75113  PyObject *resultobj = 0;
75114  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75115  void *argp1 = 0 ;
75116  int res1 = 0 ;
75117  PyObject * obj0 = 0 ;
75118  PyObject *result = 0 ;
75119 
75120  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism_asdict",&obj0)) SWIG_fail;
75121  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75122  if (!SWIG_IsOK(res1)) {
75123  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_asdict" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
75124  }
75125  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75126  result = (PyObject *)std_map_Sl_std_string_Sc_Organism_Sm__Sg__asdict(arg1);
75127  resultobj = result;
75128  return resultobj;
75129 fail:
75130  return NULL;
75131 }
75132 
75133 
75134 SWIGINTERN PyObject *_wrap_new_map_string_Organism__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75135  PyObject *resultobj = 0;
75136  std::map< std::string,Organism * > *result = 0 ;
75137 
75138  if (!PyArg_ParseTuple(args,(char *)":new_map_string_Organism")) SWIG_fail;
75139  result = (std::map< std::string,Organism * > *)new std::map< std::string,Organism * >();
75140  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
75141  return resultobj;
75142 fail:
75143  return NULL;
75144 }
75145 
75146 
75147 SWIGINTERN PyObject *_wrap_new_map_string_Organism__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75148  PyObject *resultobj = 0;
75149  std::map< std::string,Organism * > *arg1 = 0 ;
75150  int res1 = SWIG_OLDOBJ ;
75151  PyObject * obj0 = 0 ;
75152  std::map< std::string,Organism * > *result = 0 ;
75153 
75154  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_Organism",&obj0)) SWIG_fail;
75155  {
75156  std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > > *ptr = (std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > > *)0;
75157  res1 = swig::asptr(obj0, &ptr);
75158  if (!SWIG_IsOK(res1)) {
75159  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_Organism" "', argument " "1"" of type '" "std::map< std::string,Organism * > const &""'");
75160  }
75161  if (!ptr) {
75162  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_Organism" "', argument " "1"" of type '" "std::map< std::string,Organism * > const &""'");
75163  }
75164  arg1 = ptr;
75165  }
75166  result = (std::map< std::string,Organism * > *)new std::map< std::string,Organism * >((std::map< std::string,Organism * > const &)*arg1);
75167  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
75168  if (SWIG_IsNewObj(res1)) delete arg1;
75169  return resultobj;
75170 fail:
75171  if (SWIG_IsNewObj(res1)) delete arg1;
75172  return NULL;
75173 }
75174 
75175 
75176 SWIGINTERN PyObject *_wrap_new_map_string_Organism(PyObject *self, PyObject *args) {
75177  int argc;
75178  PyObject *argv[2];
75179  int ii;
75180 
75181  if (!PyTuple_Check(args)) SWIG_fail;
75182  argc = args ? (int)PyObject_Length(args) : 0;
75183  for (ii = 0; (ii < 1) && (ii < argc); ii++) {
75184  argv[ii] = PyTuple_GET_ITEM(args,ii);
75185  }
75186  if (argc == 0) {
75187  return _wrap_new_map_string_Organism__SWIG_1(self, args);
75188  }
75189  if (argc == 1) {
75190  int _v;
75191  int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__lessT_std__string_t, 0);
75192  _v = SWIG_CheckState(res);
75193  if (_v) {
75194  return _wrap_new_map_string_Organism__SWIG_0(self, args);
75195  }
75196  }
75197  if (argc == 1) {
75198  int _v;
75199  int res = swig::asptr(argv[0], (std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >**)(0));
75200  _v = SWIG_CheckState(res);
75201  if (_v) {
75202  return _wrap_new_map_string_Organism__SWIG_2(self, args);
75203  }
75204  }
75205 
75206 fail:
75207  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_map_string_Organism'.\n"
75208  " Possible C/C++ prototypes are:\n"
75209  " std::map< std::string,Organism * >::map(std::less< std::string > const &)\n"
75210  " std::map< std::string,Organism * >::map()\n"
75211  " std::map< std::string,Organism * >::map(std::map< std::string,Organism * > const &)\n");
75212  return 0;
75213 }
75214 
75215 
75216 SWIGINTERN PyObject *_wrap_map_string_Organism_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75217  PyObject *resultobj = 0;
75218  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75219  void *argp1 = 0 ;
75220  int res1 = 0 ;
75221  PyObject * obj0 = 0 ;
75222  bool result;
75223 
75224  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism_empty",&obj0)) SWIG_fail;
75225  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75226  if (!SWIG_IsOK(res1)) {
75227  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_empty" "', argument " "1"" of type '" "std::map< std::string,Organism * > const *""'");
75228  }
75229  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75230  result = (bool)((std::map< std::string,Organism * > const *)arg1)->empty();
75231  resultobj = SWIG_From_bool(static_cast< bool >(result));
75232  return resultobj;
75233 fail:
75234  return NULL;
75235 }
75236 
75237 
75238 SWIGINTERN PyObject *_wrap_map_string_Organism_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75239  PyObject *resultobj = 0;
75240  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75241  void *argp1 = 0 ;
75242  int res1 = 0 ;
75243  PyObject * obj0 = 0 ;
75244  std::map< std::string,Organism * >::size_type result;
75245 
75246  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism_size",&obj0)) SWIG_fail;
75247  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75248  if (!SWIG_IsOK(res1)) {
75249  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_size" "', argument " "1"" of type '" "std::map< std::string,Organism * > const *""'");
75250  }
75251  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75252  result = ((std::map< std::string,Organism * > const *)arg1)->size();
75253  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
75254  return resultobj;
75255 fail:
75256  return NULL;
75257 }
75258 
75259 
75260 SWIGINTERN PyObject *_wrap_map_string_Organism_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75261  PyObject *resultobj = 0;
75262  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75263  void *argp1 = 0 ;
75264  int res1 = 0 ;
75265  PyObject * obj0 = 0 ;
75266 
75267  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism_clear",&obj0)) SWIG_fail;
75268  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75269  if (!SWIG_IsOK(res1)) {
75270  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_clear" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
75271  }
75272  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75273  (arg1)->clear();
75274  resultobj = SWIG_Py_Void();
75275  return resultobj;
75276 fail:
75277  return NULL;
75278 }
75279 
75280 
75281 SWIGINTERN PyObject *_wrap_map_string_Organism_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75282  PyObject *resultobj = 0;
75283  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75284  std::map< std::string,Organism * > *arg2 = 0 ;
75285  void *argp1 = 0 ;
75286  int res1 = 0 ;
75287  void *argp2 = 0 ;
75288  int res2 = 0 ;
75289  PyObject * obj0 = 0 ;
75290  PyObject * obj1 = 0 ;
75291 
75292  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Organism_swap",&obj0,&obj1)) SWIG_fail;
75293  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75294  if (!SWIG_IsOK(res1)) {
75295  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_swap" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
75296  }
75297  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75298  res2 = SWIG_ConvertPtr(obj1, &argp2, 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, 0 );
75299  if (!SWIG_IsOK(res2)) {
75300  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Organism_swap" "', argument " "2"" of type '" "std::map< std::string,Organism * > &""'");
75301  }
75302  if (!argp2) {
75303  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Organism_swap" "', argument " "2"" of type '" "std::map< std::string,Organism * > &""'");
75304  }
75305  arg2 = reinterpret_cast< std::map< std::string,Organism * > * >(argp2);
75306  (arg1)->swap(*arg2);
75307  resultobj = SWIG_Py_Void();
75308  return resultobj;
75309 fail:
75310  return NULL;
75311 }
75312 
75313 
75314 SWIGINTERN PyObject *_wrap_map_string_Organism_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75315  PyObject *resultobj = 0;
75316  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75317  void *argp1 = 0 ;
75318  int res1 = 0 ;
75319  PyObject * obj0 = 0 ;
75320  SwigValueWrapper< std::allocator< std::pair< std::string const,Organism * > > > result;
75321 
75322  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism_get_allocator",&obj0)) SWIG_fail;
75323  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75324  if (!SWIG_IsOK(res1)) {
75325  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_get_allocator" "', argument " "1"" of type '" "std::map< std::string,Organism * > const *""'");
75326  }
75327  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75328  result = ((std::map< std::string,Organism * > const *)arg1)->get_allocator();
75329  resultobj = SWIG_NewPointerObj((new std::map< std::string,Organism * >::allocator_type(static_cast< const std::map< std::string,Organism * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t, SWIG_POINTER_OWN | 0 );
75330  return resultobj;
75331 fail:
75332  return NULL;
75333 }
75334 
75335 
75336 SWIGINTERN PyObject *_wrap_map_string_Organism_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75337  PyObject *resultobj = 0;
75338  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75339  void *argp1 = 0 ;
75340  int res1 = 0 ;
75341  PyObject * obj0 = 0 ;
75342  std::map< std::string,Organism * >::iterator result;
75343 
75344  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism_begin",&obj0)) SWIG_fail;
75345  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75346  if (!SWIG_IsOK(res1)) {
75347  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_begin" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
75348  }
75349  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75350  result = (arg1)->begin();
75351  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Organism * >::iterator & >(result)),
75352  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
75353  return resultobj;
75354 fail:
75355  return NULL;
75356 }
75357 
75358 
75359 SWIGINTERN PyObject *_wrap_map_string_Organism_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75360  PyObject *resultobj = 0;
75361  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75362  void *argp1 = 0 ;
75363  int res1 = 0 ;
75364  PyObject * obj0 = 0 ;
75365  std::map< std::string,Organism * >::iterator result;
75366 
75367  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism_end",&obj0)) SWIG_fail;
75368  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75369  if (!SWIG_IsOK(res1)) {
75370  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_end" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
75371  }
75372  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75373  result = (arg1)->end();
75374  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Organism * >::iterator & >(result)),
75375  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
75376  return resultobj;
75377 fail:
75378  return NULL;
75379 }
75380 
75381 
75382 SWIGINTERN PyObject *_wrap_map_string_Organism_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75383  PyObject *resultobj = 0;
75384  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75385  void *argp1 = 0 ;
75386  int res1 = 0 ;
75387  PyObject * obj0 = 0 ;
75388  std::map< std::string,Organism * >::reverse_iterator result;
75389 
75390  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism_rbegin",&obj0)) SWIG_fail;
75391  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75392  if (!SWIG_IsOK(res1)) {
75393  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_rbegin" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
75394  }
75395  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75396  result = (arg1)->rbegin();
75397  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Organism * >::reverse_iterator & >(result)),
75398  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
75399  return resultobj;
75400 fail:
75401  return NULL;
75402 }
75403 
75404 
75405 SWIGINTERN PyObject *_wrap_map_string_Organism_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75406  PyObject *resultobj = 0;
75407  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75408  void *argp1 = 0 ;
75409  int res1 = 0 ;
75410  PyObject * obj0 = 0 ;
75411  std::map< std::string,Organism * >::reverse_iterator result;
75412 
75413  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Organism_rend",&obj0)) SWIG_fail;
75414  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75415  if (!SWIG_IsOK(res1)) {
75416  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_rend" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
75417  }
75418  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75419  result = (arg1)->rend();
75420  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Organism * >::reverse_iterator & >(result)),
75421  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
75422  return resultobj;
75423 fail:
75424  return NULL;
75425 }
75426 
75427 
75428 SWIGINTERN PyObject *_wrap_map_string_Organism_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75429  PyObject *resultobj = 0;
75430  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75431  std::map< std::string,Organism * >::key_type *arg2 = 0 ;
75432  void *argp1 = 0 ;
75433  int res1 = 0 ;
75434  int res2 = SWIG_OLDOBJ ;
75435  PyObject * obj0 = 0 ;
75436  PyObject * obj1 = 0 ;
75437  std::map< std::string,Organism * >::size_type result;
75438 
75439  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Organism_erase",&obj0,&obj1)) SWIG_fail;
75440  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75441  if (!SWIG_IsOK(res1)) {
75442  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_erase" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
75443  }
75444  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75445  {
75446  std::string *ptr = (std::string *)0;
75447  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
75448  if (!SWIG_IsOK(res2)) {
75449  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Organism_erase" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
75450  }
75451  if (!ptr) {
75452  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Organism_erase" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
75453  }
75454  arg2 = ptr;
75455  }
75456  result = (arg1)->erase((std::map< std::string,Organism * >::key_type const &)*arg2);
75457  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
75458  if (SWIG_IsNewObj(res2)) delete arg2;
75459  return resultobj;
75460 fail:
75461  if (SWIG_IsNewObj(res2)) delete arg2;
75462  return NULL;
75463 }
75464 
75465 
75466 SWIGINTERN PyObject *_wrap_map_string_Organism_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75467  PyObject *resultobj = 0;
75468  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75469  std::map< std::string,Organism * >::key_type *arg2 = 0 ;
75470  void *argp1 = 0 ;
75471  int res1 = 0 ;
75472  int res2 = SWIG_OLDOBJ ;
75473  PyObject * obj0 = 0 ;
75474  PyObject * obj1 = 0 ;
75475  std::map< std::string,Organism * >::size_type result;
75476 
75477  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Organism_count",&obj0,&obj1)) SWIG_fail;
75478  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75479  if (!SWIG_IsOK(res1)) {
75480  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_count" "', argument " "1"" of type '" "std::map< std::string,Organism * > const *""'");
75481  }
75482  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75483  {
75484  std::string *ptr = (std::string *)0;
75485  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
75486  if (!SWIG_IsOK(res2)) {
75487  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Organism_count" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
75488  }
75489  if (!ptr) {
75490  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Organism_count" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
75491  }
75492  arg2 = ptr;
75493  }
75494  result = ((std::map< std::string,Organism * > const *)arg1)->count((std::map< std::string,Organism * >::key_type const &)*arg2);
75495  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
75496  if (SWIG_IsNewObj(res2)) delete arg2;
75497  return resultobj;
75498 fail:
75499  if (SWIG_IsNewObj(res2)) delete arg2;
75500  return NULL;
75501 }
75502 
75503 
75504 SWIGINTERN PyObject *_wrap_map_string_Organism_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75505  PyObject *resultobj = 0;
75506  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75507  std::map< std::string,Organism * >::iterator arg2 ;
75508  void *argp1 = 0 ;
75509  int res1 = 0 ;
75510  swig::SwigPyIterator *iter2 = 0 ;
75511  int res2 ;
75512  PyObject * obj0 = 0 ;
75513  PyObject * obj1 = 0 ;
75514 
75515  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Organism_erase",&obj0,&obj1)) SWIG_fail;
75516  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75517  if (!SWIG_IsOK(res1)) {
75518  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_erase" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
75519  }
75520  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75521  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
75522  if (!SWIG_IsOK(res2) || !iter2) {
75523  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Organism_erase" "', argument " "2"" of type '" "std::map< std::string,Organism * >::iterator""'");
75524  } else {
75526  if (iter_t) {
75527  arg2 = iter_t->get_current();
75528  } else {
75529  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Organism_erase" "', argument " "2"" of type '" "std::map< std::string,Organism * >::iterator""'");
75530  }
75531  }
75532  std_map_Sl_std_string_Sc_Organism_Sm__Sg__erase__SWIG_1(arg1,arg2);
75533  resultobj = SWIG_Py_Void();
75534  return resultobj;
75535 fail:
75536  return NULL;
75537 }
75538 
75539 
75540 SWIGINTERN PyObject *_wrap_map_string_Organism_erase__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75541  PyObject *resultobj = 0;
75542  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75543  std::map< std::string,Organism * >::iterator arg2 ;
75544  std::map< std::string,Organism * >::iterator arg3 ;
75545  void *argp1 = 0 ;
75546  int res1 = 0 ;
75547  swig::SwigPyIterator *iter2 = 0 ;
75548  int res2 ;
75549  swig::SwigPyIterator *iter3 = 0 ;
75550  int res3 ;
75551  PyObject * obj0 = 0 ;
75552  PyObject * obj1 = 0 ;
75553  PyObject * obj2 = 0 ;
75554 
75555  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_Organism_erase",&obj0,&obj1,&obj2)) SWIG_fail;
75556  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75557  if (!SWIG_IsOK(res1)) {
75558  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_erase" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
75559  }
75560  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75561  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
75562  if (!SWIG_IsOK(res2) || !iter2) {
75563  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Organism_erase" "', argument " "2"" of type '" "std::map< std::string,Organism * >::iterator""'");
75564  } else {
75566  if (iter_t) {
75567  arg2 = iter_t->get_current();
75568  } else {
75569  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Organism_erase" "', argument " "2"" of type '" "std::map< std::string,Organism * >::iterator""'");
75570  }
75571  }
75572  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
75573  if (!SWIG_IsOK(res3) || !iter3) {
75574  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Organism_erase" "', argument " "3"" of type '" "std::map< std::string,Organism * >::iterator""'");
75575  } else {
75577  if (iter_t) {
75578  arg3 = iter_t->get_current();
75579  } else {
75580  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Organism_erase" "', argument " "3"" of type '" "std::map< std::string,Organism * >::iterator""'");
75581  }
75582  }
75583  std_map_Sl_std_string_Sc_Organism_Sm__Sg__erase__SWIG_2(arg1,arg2,arg3);
75584  resultobj = SWIG_Py_Void();
75585  return resultobj;
75586 fail:
75587  return NULL;
75588 }
75589 
75590 
75591 SWIGINTERN PyObject *_wrap_map_string_Organism_erase(PyObject *self, PyObject *args) {
75592  int argc;
75593  PyObject *argv[4];
75594  int ii;
75595 
75596  if (!PyTuple_Check(args)) SWIG_fail;
75597  argc = args ? (int)PyObject_Length(args) : 0;
75598  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
75599  argv[ii] = PyTuple_GET_ITEM(args,ii);
75600  }
75601  if (argc == 2) {
75602  int _v;
75603  int res = swig::asptr(argv[0], (std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >**)(0));
75604  _v = SWIG_CheckState(res);
75605  if (_v) {
75606  swig::SwigPyIterator *iter = 0;
75607  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
75608  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,Organism * >::iterator > *>(iter) != 0));
75609  if (_v) {
75610  return _wrap_map_string_Organism_erase__SWIG_1(self, args);
75611  }
75612  }
75613  }
75614  if (argc == 2) {
75615  int _v;
75616  int res = swig::asptr(argv[0], (std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >**)(0));
75617  _v = SWIG_CheckState(res);
75618  if (_v) {
75619  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
75620  _v = SWIG_CheckState(res);
75621  if (_v) {
75622  return _wrap_map_string_Organism_erase__SWIG_0(self, args);
75623  }
75624  }
75625  }
75626  if (argc == 3) {
75627  int _v;
75628  int res = swig::asptr(argv[0], (std::map<std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >**)(0));
75629  _v = SWIG_CheckState(res);
75630  if (_v) {
75631  swig::SwigPyIterator *iter = 0;
75632  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
75633  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,Organism * >::iterator > *>(iter) != 0));
75634  if (_v) {
75635  swig::SwigPyIterator *iter = 0;
75636  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
75637  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,Organism * >::iterator > *>(iter) != 0));
75638  if (_v) {
75639  return _wrap_map_string_Organism_erase__SWIG_2(self, args);
75640  }
75641  }
75642  }
75643  }
75644 
75645 fail:
75646  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_Organism_erase'.\n"
75647  " Possible C/C++ prototypes are:\n"
75648  " std::map< std::string,Organism * >::erase(std::map< std::string,Organism * >::key_type const &)\n"
75649  " std::map< std::string,Organism * >::erase(std::map< std::string,Organism * >::iterator)\n"
75650  " std::map< std::string,Organism * >::erase(std::map< std::string,Organism * >::iterator,std::map< std::string,Organism * >::iterator)\n");
75651  return 0;
75652 }
75653 
75654 
75655 SWIGINTERN PyObject *_wrap_map_string_Organism_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75656  PyObject *resultobj = 0;
75657  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75658  std::map< std::string,Organism * >::key_type *arg2 = 0 ;
75659  void *argp1 = 0 ;
75660  int res1 = 0 ;
75661  int res2 = SWIG_OLDOBJ ;
75662  PyObject * obj0 = 0 ;
75663  PyObject * obj1 = 0 ;
75664  std::map< std::string,Organism * >::iterator result;
75665 
75666  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Organism_find",&obj0,&obj1)) SWIG_fail;
75667  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75668  if (!SWIG_IsOK(res1)) {
75669  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_find" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
75670  }
75671  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75672  {
75673  std::string *ptr = (std::string *)0;
75674  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
75675  if (!SWIG_IsOK(res2)) {
75676  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Organism_find" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
75677  }
75678  if (!ptr) {
75679  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Organism_find" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
75680  }
75681  arg2 = ptr;
75682  }
75683  result = (arg1)->find((std::map< std::string,Organism * >::key_type const &)*arg2);
75684  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Organism * >::iterator & >(result)),
75685  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
75686  if (SWIG_IsNewObj(res2)) delete arg2;
75687  return resultobj;
75688 fail:
75689  if (SWIG_IsNewObj(res2)) delete arg2;
75690  return NULL;
75691 }
75692 
75693 
75694 SWIGINTERN PyObject *_wrap_map_string_Organism_lower_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75695  PyObject *resultobj = 0;
75696  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75697  std::map< std::string,Organism * >::key_type *arg2 = 0 ;
75698  void *argp1 = 0 ;
75699  int res1 = 0 ;
75700  int res2 = SWIG_OLDOBJ ;
75701  PyObject * obj0 = 0 ;
75702  PyObject * obj1 = 0 ;
75703  std::map< std::string,Organism * >::iterator result;
75704 
75705  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Organism_lower_bound",&obj0,&obj1)) SWIG_fail;
75706  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75707  if (!SWIG_IsOK(res1)) {
75708  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_lower_bound" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
75709  }
75710  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75711  {
75712  std::string *ptr = (std::string *)0;
75713  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
75714  if (!SWIG_IsOK(res2)) {
75715  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Organism_lower_bound" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
75716  }
75717  if (!ptr) {
75718  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Organism_lower_bound" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
75719  }
75720  arg2 = ptr;
75721  }
75722  result = (arg1)->lower_bound((std::map< std::string,Organism * >::key_type const &)*arg2);
75723  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Organism * >::iterator & >(result)),
75724  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
75725  if (SWIG_IsNewObj(res2)) delete arg2;
75726  return resultobj;
75727 fail:
75728  if (SWIG_IsNewObj(res2)) delete arg2;
75729  return NULL;
75730 }
75731 
75732 
75733 SWIGINTERN PyObject *_wrap_map_string_Organism_upper_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75734  PyObject *resultobj = 0;
75735  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75736  std::map< std::string,Organism * >::key_type *arg2 = 0 ;
75737  void *argp1 = 0 ;
75738  int res1 = 0 ;
75739  int res2 = SWIG_OLDOBJ ;
75740  PyObject * obj0 = 0 ;
75741  PyObject * obj1 = 0 ;
75742  std::map< std::string,Organism * >::iterator result;
75743 
75744  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Organism_upper_bound",&obj0,&obj1)) SWIG_fail;
75745  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75746  if (!SWIG_IsOK(res1)) {
75747  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Organism_upper_bound" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
75748  }
75749  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75750  {
75751  std::string *ptr = (std::string *)0;
75752  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
75753  if (!SWIG_IsOK(res2)) {
75754  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Organism_upper_bound" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
75755  }
75756  if (!ptr) {
75757  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Organism_upper_bound" "', argument " "2"" of type '" "std::map< std::string,Organism * >::key_type const &""'");
75758  }
75759  arg2 = ptr;
75760  }
75761  result = (arg1)->upper_bound((std::map< std::string,Organism * >::key_type const &)*arg2);
75762  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Organism * >::iterator & >(result)),
75763  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
75764  if (SWIG_IsNewObj(res2)) delete arg2;
75765  return resultobj;
75766 fail:
75767  if (SWIG_IsNewObj(res2)) delete arg2;
75768  return NULL;
75769 }
75770 
75771 
75772 SWIGINTERN PyObject *_wrap_delete_map_string_Organism(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75773  PyObject *resultobj = 0;
75774  std::map< std::string,Organism * > *arg1 = (std::map< std::string,Organism * > *) 0 ;
75775  void *argp1 = 0 ;
75776  int res1 = 0 ;
75777  PyObject * obj0 = 0 ;
75778 
75779  if (!PyArg_ParseTuple(args,(char *)"O:delete_map_string_Organism",&obj0)) SWIG_fail;
75780  res1 = SWIG_ConvertPtr(obj0, &argp1,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_POINTER_DISOWN | 0 );
75781  if (!SWIG_IsOK(res1)) {
75782  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_map_string_Organism" "', argument " "1"" of type '" "std::map< std::string,Organism * > *""'");
75783  }
75784  arg1 = reinterpret_cast< std::map< std::string,Organism * > * >(argp1);
75785  {
75786  try {
75787  delete arg1;
75788  }
75789  catch(CStdErrorInfo oError)
75790  {
75791  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
75792  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
75793  PyErr_SetString(PyExc_IndexError, strError.c_str());
75794  SWIG_fail;
75795  }
75796  catch(...)
75797  {
75798  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
75799  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
75800  SWIG_fail;
75801  }
75802  }
75803  resultobj = SWIG_Py_Void();
75804  return resultobj;
75805 fail:
75806  return NULL;
75807 }
75808 
75809 
75810 SWIGINTERN PyObject *map_string_Organism_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75811  PyObject *obj;
75812  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
75813  SWIG_TypeNewClientData(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_NewClientData(obj));
75814  return SWIG_Py_Void();
75815 }
75816 
75817 SWIGINTERN PyObject *_wrap_new_map_string_RigidBody__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75818  PyObject *resultobj = 0;
75819  std::less< std::string > *arg1 = 0 ;
75820  void *argp1 = 0 ;
75821  int res1 = 0 ;
75822  PyObject * obj0 = 0 ;
75823  std::map< std::string,RigidBody * > *result = 0 ;
75824 
75825  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_RigidBody",&obj0)) SWIG_fail;
75826  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__lessT_std__string_t, 0 | 0);
75827  if (!SWIG_IsOK(res1)) {
75828  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_RigidBody" "', argument " "1"" of type '" "std::less< std::string > const &""'");
75829  }
75830  if (!argp1) {
75831  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_RigidBody" "', argument " "1"" of type '" "std::less< std::string > const &""'");
75832  }
75833  arg1 = reinterpret_cast< std::less< std::string > * >(argp1);
75834  result = (std::map< std::string,RigidBody * > *)new std::map< std::string,RigidBody * >((std::less< std::string > const &)*arg1);
75835  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
75836  return resultobj;
75837 fail:
75838  return NULL;
75839 }
75840 
75841 
75842 SWIGINTERN PyObject *_wrap_map_string_RigidBody_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75843  PyObject *resultobj = 0;
75844  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
75845  PyObject **arg2 = (PyObject **) 0 ;
75846  void *argp1 = 0 ;
75847  int res1 = 0 ;
75848  PyObject * obj0 = 0 ;
75849  swig::SwigPyIterator *result = 0 ;
75850 
75851  arg2 = &obj0;
75852  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody_iterator",&obj0)) SWIG_fail;
75853  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75854  if (!SWIG_IsOK(res1)) {
75855  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_iterator" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
75856  }
75857  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
75858  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__iterator(arg1,arg2);
75859  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
75860  return resultobj;
75861 fail:
75862  return NULL;
75863 }
75864 
75865 
75866 SWIGINTERN PyObject *_wrap_map_string_RigidBody___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75867  PyObject *resultobj = 0;
75868  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
75869  void *argp1 = 0 ;
75870  int res1 = 0 ;
75871  PyObject * obj0 = 0 ;
75872  bool result;
75873 
75874  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody___nonzero__",&obj0)) SWIG_fail;
75875  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75876  if (!SWIG_IsOK(res1)) {
75877  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody___nonzero__" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > const *""'");
75878  }
75879  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
75880  result = (bool)std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____nonzero__((std::map< std::string,RigidBody * > const *)arg1);
75881  resultobj = SWIG_From_bool(static_cast< bool >(result));
75882  return resultobj;
75883 fail:
75884  return NULL;
75885 }
75886 
75887 
75888 SWIGINTERN PyObject *_wrap_map_string_RigidBody___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75889  PyObject *resultobj = 0;
75890  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
75891  void *argp1 = 0 ;
75892  int res1 = 0 ;
75893  PyObject * obj0 = 0 ;
75894  bool result;
75895 
75896  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody___bool__",&obj0)) SWIG_fail;
75897  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75898  if (!SWIG_IsOK(res1)) {
75899  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody___bool__" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > const *""'");
75900  }
75901  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
75902  result = (bool)std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____bool__((std::map< std::string,RigidBody * > const *)arg1);
75903  resultobj = SWIG_From_bool(static_cast< bool >(result));
75904  return resultobj;
75905 fail:
75906  return NULL;
75907 }
75908 
75909 
75910 SWIGINTERN PyObject *_wrap_map_string_RigidBody___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75911  PyObject *resultobj = 0;
75912  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
75913  void *argp1 = 0 ;
75914  int res1 = 0 ;
75915  PyObject * obj0 = 0 ;
75916  std::map< std::string,RigidBody * >::size_type result;
75917 
75918  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody___len__",&obj0)) SWIG_fail;
75919  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75920  if (!SWIG_IsOK(res1)) {
75921  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody___len__" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > const *""'");
75922  }
75923  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
75924  result = std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____len__((std::map< std::string,RigidBody * > const *)arg1);
75925  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
75926  return resultobj;
75927 fail:
75928  return NULL;
75929 }
75930 
75931 
75932 SWIGINTERN PyObject *_wrap_map_string_RigidBody___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75933  PyObject *resultobj = 0;
75934  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
75935  std::map< std::string,RigidBody * >::key_type *arg2 = 0 ;
75936  void *argp1 = 0 ;
75937  int res1 = 0 ;
75938  int res2 = SWIG_OLDOBJ ;
75939  PyObject * obj0 = 0 ;
75940  PyObject * obj1 = 0 ;
75941  std::map< std::string,RigidBody * >::mapped_type *result = 0 ;
75942 
75943  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_RigidBody___getitem__",&obj0,&obj1)) SWIG_fail;
75944  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75945  if (!SWIG_IsOK(res1)) {
75946  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody___getitem__" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
75947  }
75948  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
75949  {
75950  std::string *ptr = (std::string *)0;
75951  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
75952  if (!SWIG_IsOK(res2)) {
75953  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_RigidBody___getitem__" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
75954  }
75955  if (!ptr) {
75956  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_RigidBody___getitem__" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
75957  }
75958  arg2 = ptr;
75959  }
75960  try {
75961  result = (std::map< std::string,RigidBody * >::mapped_type *) &std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____getitem__(arg1,(std::string const &)*arg2);
75962  }
75963  catch(std::out_of_range &_e) {
75964  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
75965  }
75966 
75967  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(*result), SWIGTYPE_p_RigidBody, 0 | 0 );
75968  if (SWIG_IsNewObj(res2)) delete arg2;
75969  return resultobj;
75970 fail:
75971  if (SWIG_IsNewObj(res2)) delete arg2;
75972  return NULL;
75973 }
75974 
75975 
75976 SWIGINTERN PyObject *_wrap_map_string_RigidBody___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
75977  PyObject *resultobj = 0;
75978  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
75979  std::map< std::string,RigidBody * >::key_type *arg2 = 0 ;
75980  void *argp1 = 0 ;
75981  int res1 = 0 ;
75982  int res2 = SWIG_OLDOBJ ;
75983  PyObject * obj0 = 0 ;
75984  PyObject * obj1 = 0 ;
75985 
75986  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_RigidBody___delitem__",&obj0,&obj1)) SWIG_fail;
75987  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
75988  if (!SWIG_IsOK(res1)) {
75989  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody___delitem__" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
75990  }
75991  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
75992  {
75993  std::string *ptr = (std::string *)0;
75994  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
75995  if (!SWIG_IsOK(res2)) {
75996  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_RigidBody___delitem__" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
75997  }
75998  if (!ptr) {
75999  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_RigidBody___delitem__" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76000  }
76001  arg2 = ptr;
76002  }
76003  try {
76004  std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____delitem__(arg1,(std::string const &)*arg2);
76005  }
76006  catch(std::out_of_range &_e) {
76007  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
76008  }
76009 
76010  resultobj = SWIG_Py_Void();
76011  if (SWIG_IsNewObj(res2)) delete arg2;
76012  return resultobj;
76013 fail:
76014  if (SWIG_IsNewObj(res2)) delete arg2;
76015  return NULL;
76016 }
76017 
76018 
76019 SWIGINTERN PyObject *_wrap_map_string_RigidBody_has_key(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76020  PyObject *resultobj = 0;
76021  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76022  std::map< std::string,RigidBody * >::key_type *arg2 = 0 ;
76023  void *argp1 = 0 ;
76024  int res1 = 0 ;
76025  int res2 = SWIG_OLDOBJ ;
76026  PyObject * obj0 = 0 ;
76027  PyObject * obj1 = 0 ;
76028  bool result;
76029 
76030  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_RigidBody_has_key",&obj0,&obj1)) SWIG_fail;
76031  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76032  if (!SWIG_IsOK(res1)) {
76033  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_has_key" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > const *""'");
76034  }
76035  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76036  {
76037  std::string *ptr = (std::string *)0;
76038  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
76039  if (!SWIG_IsOK(res2)) {
76040  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_RigidBody_has_key" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76041  }
76042  if (!ptr) {
76043  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_RigidBody_has_key" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76044  }
76045  arg2 = ptr;
76046  }
76047  result = (bool)std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__has_key((std::map< std::string,RigidBody * > const *)arg1,(std::string const &)*arg2);
76048  resultobj = SWIG_From_bool(static_cast< bool >(result));
76049  if (SWIG_IsNewObj(res2)) delete arg2;
76050  return resultobj;
76051 fail:
76052  if (SWIG_IsNewObj(res2)) delete arg2;
76053  return NULL;
76054 }
76055 
76056 
76057 SWIGINTERN PyObject *_wrap_map_string_RigidBody_keys(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76058  PyObject *resultobj = 0;
76059  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76060  void *argp1 = 0 ;
76061  int res1 = 0 ;
76062  PyObject * obj0 = 0 ;
76063  PyObject *result = 0 ;
76064 
76065  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody_keys",&obj0)) SWIG_fail;
76066  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76067  if (!SWIG_IsOK(res1)) {
76068  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_keys" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76069  }
76070  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76071  result = (PyObject *)std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__keys(arg1);
76072  resultobj = result;
76073  return resultobj;
76074 fail:
76075  return NULL;
76076 }
76077 
76078 
76079 SWIGINTERN PyObject *_wrap_map_string_RigidBody_values(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76080  PyObject *resultobj = 0;
76081  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76082  void *argp1 = 0 ;
76083  int res1 = 0 ;
76084  PyObject * obj0 = 0 ;
76085  PyObject *result = 0 ;
76086 
76087  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody_values",&obj0)) SWIG_fail;
76088  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76089  if (!SWIG_IsOK(res1)) {
76090  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_values" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76091  }
76092  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76093  result = (PyObject *)std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__values(arg1);
76094  resultobj = result;
76095  return resultobj;
76096 fail:
76097  return NULL;
76098 }
76099 
76100 
76101 SWIGINTERN PyObject *_wrap_map_string_RigidBody_items(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76102  PyObject *resultobj = 0;
76103  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76104  void *argp1 = 0 ;
76105  int res1 = 0 ;
76106  PyObject * obj0 = 0 ;
76107  PyObject *result = 0 ;
76108 
76109  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody_items",&obj0)) SWIG_fail;
76110  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76111  if (!SWIG_IsOK(res1)) {
76112  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_items" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76113  }
76114  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76115  result = (PyObject *)std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__items(arg1);
76116  resultobj = result;
76117  return resultobj;
76118 fail:
76119  return NULL;
76120 }
76121 
76122 
76123 SWIGINTERN PyObject *_wrap_map_string_RigidBody___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76124  PyObject *resultobj = 0;
76125  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76126  std::map< std::string,RigidBody * >::key_type *arg2 = 0 ;
76127  void *argp1 = 0 ;
76128  int res1 = 0 ;
76129  int res2 = SWIG_OLDOBJ ;
76130  PyObject * obj0 = 0 ;
76131  PyObject * obj1 = 0 ;
76132  bool result;
76133 
76134  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_RigidBody___contains__",&obj0,&obj1)) SWIG_fail;
76135  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76136  if (!SWIG_IsOK(res1)) {
76137  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody___contains__" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76138  }
76139  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76140  {
76141  std::string *ptr = (std::string *)0;
76142  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
76143  if (!SWIG_IsOK(res2)) {
76144  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_RigidBody___contains__" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76145  }
76146  if (!ptr) {
76147  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_RigidBody___contains__" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76148  }
76149  arg2 = ptr;
76150  }
76151  result = (bool)std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____contains__(arg1,(std::string const &)*arg2);
76152  resultobj = SWIG_From_bool(static_cast< bool >(result));
76153  if (SWIG_IsNewObj(res2)) delete arg2;
76154  return resultobj;
76155 fail:
76156  if (SWIG_IsNewObj(res2)) delete arg2;
76157  return NULL;
76158 }
76159 
76160 
76161 SWIGINTERN PyObject *_wrap_map_string_RigidBody_key_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76162  PyObject *resultobj = 0;
76163  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76164  PyObject **arg2 = (PyObject **) 0 ;
76165  void *argp1 = 0 ;
76166  int res1 = 0 ;
76167  PyObject * obj0 = 0 ;
76168  swig::SwigPyIterator *result = 0 ;
76169 
76170  arg2 = &obj0;
76171  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody_key_iterator",&obj0)) SWIG_fail;
76172  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76173  if (!SWIG_IsOK(res1)) {
76174  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_key_iterator" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76175  }
76176  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76177  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__key_iterator(arg1,arg2);
76178  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
76179  return resultobj;
76180 fail:
76181  return NULL;
76182 }
76183 
76184 
76185 SWIGINTERN PyObject *_wrap_map_string_RigidBody_value_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76186  PyObject *resultobj = 0;
76187  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76188  PyObject **arg2 = (PyObject **) 0 ;
76189  void *argp1 = 0 ;
76190  int res1 = 0 ;
76191  PyObject * obj0 = 0 ;
76192  swig::SwigPyIterator *result = 0 ;
76193 
76194  arg2 = &obj0;
76195  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody_value_iterator",&obj0)) SWIG_fail;
76196  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76197  if (!SWIG_IsOK(res1)) {
76198  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_value_iterator" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76199  }
76200  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76201  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__value_iterator(arg1,arg2);
76202  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
76203  return resultobj;
76204 fail:
76205  return NULL;
76206 }
76207 
76208 
76209 SWIGINTERN PyObject *_wrap_map_string_RigidBody___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76210  PyObject *resultobj = 0;
76211  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76212  std::map< std::string,RigidBody * >::key_type *arg2 = 0 ;
76213  void *argp1 = 0 ;
76214  int res1 = 0 ;
76215  int res2 = SWIG_OLDOBJ ;
76216  PyObject * obj0 = 0 ;
76217  PyObject * obj1 = 0 ;
76218 
76219  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_RigidBody___setitem__",&obj0,&obj1)) SWIG_fail;
76220  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76221  if (!SWIG_IsOK(res1)) {
76222  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody___setitem__" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76223  }
76224  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76225  {
76226  std::string *ptr = (std::string *)0;
76227  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
76228  if (!SWIG_IsOK(res2)) {
76229  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_RigidBody___setitem__" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76230  }
76231  if (!ptr) {
76232  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_RigidBody___setitem__" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76233  }
76234  arg2 = ptr;
76235  }
76236  std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____setitem____SWIG_0(arg1,(std::string const &)*arg2);
76237  resultobj = SWIG_Py_Void();
76238  if (SWIG_IsNewObj(res2)) delete arg2;
76239  return resultobj;
76240 fail:
76241  if (SWIG_IsNewObj(res2)) delete arg2;
76242  return NULL;
76243 }
76244 
76245 
76246 SWIGINTERN PyObject *_wrap_map_string_RigidBody___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76247  PyObject *resultobj = 0;
76248  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76249  std::map< std::string,RigidBody * >::key_type *arg2 = 0 ;
76250  std::map< std::string,RigidBody * >::mapped_type *arg3 = 0 ;
76251  void *argp1 = 0 ;
76252  int res1 = 0 ;
76253  int res2 = SWIG_OLDOBJ ;
76254  void *argp3 = 0 ;
76255  int res3 = 0 ;
76256  std::map< std::string,RigidBody * >::mapped_type temp3 ;
76257  PyObject * obj0 = 0 ;
76258  PyObject * obj1 = 0 ;
76259  PyObject * obj2 = 0 ;
76260 
76261  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_RigidBody___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
76262  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76263  if (!SWIG_IsOK(res1)) {
76264  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody___setitem__" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76265  }
76266  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76267  {
76268  std::string *ptr = (std::string *)0;
76269  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
76270  if (!SWIG_IsOK(res2)) {
76271  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_RigidBody___setitem__" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76272  }
76273  if (!ptr) {
76274  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_RigidBody___setitem__" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76275  }
76276  arg2 = ptr;
76277  }
76278  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_RigidBody, 0 | 0 );
76279  if (!SWIG_IsOK(res3)) {
76280  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "map_string_RigidBody___setitem__" "', argument " "3"" of type '" "std::map< std::string,RigidBody * >::mapped_type""'");
76281  }
76282  temp3 = reinterpret_cast< std::map< std::string,RigidBody * >::mapped_type >(argp3);
76283  arg3 = reinterpret_cast< std::map< std::string,RigidBody * >::mapped_type * >(&temp3);
76284  try {
76285  std_map_Sl_std_string_Sc_RigidBody_Sm__Sg____setitem____SWIG_1(arg1,(std::string const &)*arg2,(RigidBody *const &)*arg3);
76286  }
76287  catch(std::out_of_range &_e) {
76288  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
76289  }
76290 
76291  resultobj = SWIG_Py_Void();
76292  if (SWIG_IsNewObj(res2)) delete arg2;
76293  return resultobj;
76294 fail:
76295  if (SWIG_IsNewObj(res2)) delete arg2;
76296  return NULL;
76297 }
76298 
76299 
76300 SWIGINTERN PyObject *_wrap_map_string_RigidBody___setitem__(PyObject *self, PyObject *args) {
76301  int argc;
76302  PyObject *argv[4];
76303  int ii;
76304 
76305  if (!PyTuple_Check(args)) SWIG_fail;
76306  argc = args ? (int)PyObject_Length(args) : 0;
76307  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
76308  argv[ii] = PyTuple_GET_ITEM(args,ii);
76309  }
76310  if (argc == 2) {
76311  int _v;
76312  int res = swig::asptr(argv[0], (std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >**)(0));
76313  _v = SWIG_CheckState(res);
76314  if (_v) {
76315  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
76316  _v = SWIG_CheckState(res);
76317  if (_v) {
76318  return _wrap_map_string_RigidBody___setitem____SWIG_0(self, args);
76319  }
76320  }
76321  }
76322  if (argc == 3) {
76323  int _v;
76324  int res = swig::asptr(argv[0], (std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >**)(0));
76325  _v = SWIG_CheckState(res);
76326  if (_v) {
76327  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
76328  _v = SWIG_CheckState(res);
76329  if (_v) {
76330  void *vptr = 0;
76331  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_RigidBody, 0);
76332  _v = SWIG_CheckState(res);
76333  if (_v) {
76334  return _wrap_map_string_RigidBody___setitem____SWIG_1(self, args);
76335  }
76336  }
76337  }
76338  }
76339 
76340 fail:
76341  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_RigidBody___setitem__'.\n"
76342  " Possible C/C++ prototypes are:\n"
76343  " std::map< std::string,RigidBody * >::__setitem__(std::map< std::string,RigidBody * >::key_type const &)\n"
76344  " std::map< std::string,RigidBody * >::__setitem__(std::map< std::string,RigidBody * >::key_type const &,std::map< std::string,RigidBody * >::mapped_type const &)\n");
76345  return 0;
76346 }
76347 
76348 
76349 SWIGINTERN PyObject *_wrap_map_string_RigidBody_asdict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76350  PyObject *resultobj = 0;
76351  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76352  void *argp1 = 0 ;
76353  int res1 = 0 ;
76354  PyObject * obj0 = 0 ;
76355  PyObject *result = 0 ;
76356 
76357  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody_asdict",&obj0)) SWIG_fail;
76358  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76359  if (!SWIG_IsOK(res1)) {
76360  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_asdict" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76361  }
76362  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76363  result = (PyObject *)std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__asdict(arg1);
76364  resultobj = result;
76365  return resultobj;
76366 fail:
76367  return NULL;
76368 }
76369 
76370 
76371 SWIGINTERN PyObject *_wrap_new_map_string_RigidBody__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76372  PyObject *resultobj = 0;
76373  std::map< std::string,RigidBody * > *result = 0 ;
76374 
76375  if (!PyArg_ParseTuple(args,(char *)":new_map_string_RigidBody")) SWIG_fail;
76376  result = (std::map< std::string,RigidBody * > *)new std::map< std::string,RigidBody * >();
76377  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
76378  return resultobj;
76379 fail:
76380  return NULL;
76381 }
76382 
76383 
76384 SWIGINTERN PyObject *_wrap_new_map_string_RigidBody__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76385  PyObject *resultobj = 0;
76386  std::map< std::string,RigidBody * > *arg1 = 0 ;
76387  int res1 = SWIG_OLDOBJ ;
76388  PyObject * obj0 = 0 ;
76389  std::map< std::string,RigidBody * > *result = 0 ;
76390 
76391  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_RigidBody",&obj0)) SWIG_fail;
76392  {
76393  std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > > *ptr = (std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > > *)0;
76394  res1 = swig::asptr(obj0, &ptr);
76395  if (!SWIG_IsOK(res1)) {
76396  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_RigidBody" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > const &""'");
76397  }
76398  if (!ptr) {
76399  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_RigidBody" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > const &""'");
76400  }
76401  arg1 = ptr;
76402  }
76403  result = (std::map< std::string,RigidBody * > *)new std::map< std::string,RigidBody * >((std::map< std::string,RigidBody * > const &)*arg1);
76404  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
76405  if (SWIG_IsNewObj(res1)) delete arg1;
76406  return resultobj;
76407 fail:
76408  if (SWIG_IsNewObj(res1)) delete arg1;
76409  return NULL;
76410 }
76411 
76412 
76413 SWIGINTERN PyObject *_wrap_new_map_string_RigidBody(PyObject *self, PyObject *args) {
76414  int argc;
76415  PyObject *argv[2];
76416  int ii;
76417 
76418  if (!PyTuple_Check(args)) SWIG_fail;
76419  argc = args ? (int)PyObject_Length(args) : 0;
76420  for (ii = 0; (ii < 1) && (ii < argc); ii++) {
76421  argv[ii] = PyTuple_GET_ITEM(args,ii);
76422  }
76423  if (argc == 0) {
76424  return _wrap_new_map_string_RigidBody__SWIG_1(self, args);
76425  }
76426  if (argc == 1) {
76427  int _v;
76428  int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__lessT_std__string_t, 0);
76429  _v = SWIG_CheckState(res);
76430  if (_v) {
76431  return _wrap_new_map_string_RigidBody__SWIG_0(self, args);
76432  }
76433  }
76434  if (argc == 1) {
76435  int _v;
76436  int res = swig::asptr(argv[0], (std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >**)(0));
76437  _v = SWIG_CheckState(res);
76438  if (_v) {
76439  return _wrap_new_map_string_RigidBody__SWIG_2(self, args);
76440  }
76441  }
76442 
76443 fail:
76444  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_map_string_RigidBody'.\n"
76445  " Possible C/C++ prototypes are:\n"
76446  " std::map< std::string,RigidBody * >::map(std::less< std::string > const &)\n"
76447  " std::map< std::string,RigidBody * >::map()\n"
76448  " std::map< std::string,RigidBody * >::map(std::map< std::string,RigidBody * > const &)\n");
76449  return 0;
76450 }
76451 
76452 
76453 SWIGINTERN PyObject *_wrap_map_string_RigidBody_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76454  PyObject *resultobj = 0;
76455  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76456  void *argp1 = 0 ;
76457  int res1 = 0 ;
76458  PyObject * obj0 = 0 ;
76459  bool result;
76460 
76461  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody_empty",&obj0)) SWIG_fail;
76462  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76463  if (!SWIG_IsOK(res1)) {
76464  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_empty" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > const *""'");
76465  }
76466  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76467  result = (bool)((std::map< std::string,RigidBody * > const *)arg1)->empty();
76468  resultobj = SWIG_From_bool(static_cast< bool >(result));
76469  return resultobj;
76470 fail:
76471  return NULL;
76472 }
76473 
76474 
76475 SWIGINTERN PyObject *_wrap_map_string_RigidBody_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76476  PyObject *resultobj = 0;
76477  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76478  void *argp1 = 0 ;
76479  int res1 = 0 ;
76480  PyObject * obj0 = 0 ;
76481  std::map< std::string,RigidBody * >::size_type result;
76482 
76483  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody_size",&obj0)) SWIG_fail;
76484  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76485  if (!SWIG_IsOK(res1)) {
76486  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_size" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > const *""'");
76487  }
76488  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76489  result = ((std::map< std::string,RigidBody * > const *)arg1)->size();
76490  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
76491  return resultobj;
76492 fail:
76493  return NULL;
76494 }
76495 
76496 
76497 SWIGINTERN PyObject *_wrap_map_string_RigidBody_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76498  PyObject *resultobj = 0;
76499  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76500  void *argp1 = 0 ;
76501  int res1 = 0 ;
76502  PyObject * obj0 = 0 ;
76503 
76504  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody_clear",&obj0)) SWIG_fail;
76505  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76506  if (!SWIG_IsOK(res1)) {
76507  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_clear" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76508  }
76509  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76510  (arg1)->clear();
76511  resultobj = SWIG_Py_Void();
76512  return resultobj;
76513 fail:
76514  return NULL;
76515 }
76516 
76517 
76518 SWIGINTERN PyObject *_wrap_map_string_RigidBody_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76519  PyObject *resultobj = 0;
76520  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76521  std::map< std::string,RigidBody * > *arg2 = 0 ;
76522  void *argp1 = 0 ;
76523  int res1 = 0 ;
76524  void *argp2 = 0 ;
76525  int res2 = 0 ;
76526  PyObject * obj0 = 0 ;
76527  PyObject * obj1 = 0 ;
76528 
76529  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_RigidBody_swap",&obj0,&obj1)) SWIG_fail;
76530  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76531  if (!SWIG_IsOK(res1)) {
76532  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_swap" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76533  }
76534  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76535  res2 = SWIG_ConvertPtr(obj1, &argp2, 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, 0 );
76536  if (!SWIG_IsOK(res2)) {
76537  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_RigidBody_swap" "', argument " "2"" of type '" "std::map< std::string,RigidBody * > &""'");
76538  }
76539  if (!argp2) {
76540  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_RigidBody_swap" "', argument " "2"" of type '" "std::map< std::string,RigidBody * > &""'");
76541  }
76542  arg2 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp2);
76543  (arg1)->swap(*arg2);
76544  resultobj = SWIG_Py_Void();
76545  return resultobj;
76546 fail:
76547  return NULL;
76548 }
76549 
76550 
76551 SWIGINTERN PyObject *_wrap_map_string_RigidBody_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76552  PyObject *resultobj = 0;
76553  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76554  void *argp1 = 0 ;
76555  int res1 = 0 ;
76556  PyObject * obj0 = 0 ;
76557  SwigValueWrapper< std::allocator< std::pair< std::string const,RigidBody * > > > result;
76558 
76559  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody_get_allocator",&obj0)) SWIG_fail;
76560  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76561  if (!SWIG_IsOK(res1)) {
76562  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_get_allocator" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > const *""'");
76563  }
76564  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76565  result = ((std::map< std::string,RigidBody * > const *)arg1)->get_allocator();
76566  resultobj = SWIG_NewPointerObj((new std::map< std::string,RigidBody * >::allocator_type(static_cast< const std::map< std::string,RigidBody * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t, SWIG_POINTER_OWN | 0 );
76567  return resultobj;
76568 fail:
76569  return NULL;
76570 }
76571 
76572 
76573 SWIGINTERN PyObject *_wrap_map_string_RigidBody_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76574  PyObject *resultobj = 0;
76575  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76576  void *argp1 = 0 ;
76577  int res1 = 0 ;
76578  PyObject * obj0 = 0 ;
76579  std::map< std::string,RigidBody * >::iterator result;
76580 
76581  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody_begin",&obj0)) SWIG_fail;
76582  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76583  if (!SWIG_IsOK(res1)) {
76584  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_begin" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76585  }
76586  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76587  result = (arg1)->begin();
76588  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,RigidBody * >::iterator & >(result)),
76589  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
76590  return resultobj;
76591 fail:
76592  return NULL;
76593 }
76594 
76595 
76596 SWIGINTERN PyObject *_wrap_map_string_RigidBody_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76597  PyObject *resultobj = 0;
76598  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76599  void *argp1 = 0 ;
76600  int res1 = 0 ;
76601  PyObject * obj0 = 0 ;
76602  std::map< std::string,RigidBody * >::iterator result;
76603 
76604  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody_end",&obj0)) SWIG_fail;
76605  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76606  if (!SWIG_IsOK(res1)) {
76607  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_end" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76608  }
76609  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76610  result = (arg1)->end();
76611  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,RigidBody * >::iterator & >(result)),
76612  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
76613  return resultobj;
76614 fail:
76615  return NULL;
76616 }
76617 
76618 
76619 SWIGINTERN PyObject *_wrap_map_string_RigidBody_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76620  PyObject *resultobj = 0;
76621  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76622  void *argp1 = 0 ;
76623  int res1 = 0 ;
76624  PyObject * obj0 = 0 ;
76625  std::map< std::string,RigidBody * >::reverse_iterator result;
76626 
76627  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody_rbegin",&obj0)) SWIG_fail;
76628  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76629  if (!SWIG_IsOK(res1)) {
76630  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_rbegin" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76631  }
76632  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76633  result = (arg1)->rbegin();
76634  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,RigidBody * >::reverse_iterator & >(result)),
76635  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
76636  return resultobj;
76637 fail:
76638  return NULL;
76639 }
76640 
76641 
76642 SWIGINTERN PyObject *_wrap_map_string_RigidBody_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76643  PyObject *resultobj = 0;
76644  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76645  void *argp1 = 0 ;
76646  int res1 = 0 ;
76647  PyObject * obj0 = 0 ;
76648  std::map< std::string,RigidBody * >::reverse_iterator result;
76649 
76650  if (!PyArg_ParseTuple(args,(char *)"O:map_string_RigidBody_rend",&obj0)) SWIG_fail;
76651  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76652  if (!SWIG_IsOK(res1)) {
76653  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_rend" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76654  }
76655  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76656  result = (arg1)->rend();
76657  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,RigidBody * >::reverse_iterator & >(result)),
76658  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
76659  return resultobj;
76660 fail:
76661  return NULL;
76662 }
76663 
76664 
76665 SWIGINTERN PyObject *_wrap_map_string_RigidBody_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76666  PyObject *resultobj = 0;
76667  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76668  std::map< std::string,RigidBody * >::key_type *arg2 = 0 ;
76669  void *argp1 = 0 ;
76670  int res1 = 0 ;
76671  int res2 = SWIG_OLDOBJ ;
76672  PyObject * obj0 = 0 ;
76673  PyObject * obj1 = 0 ;
76674  std::map< std::string,RigidBody * >::size_type result;
76675 
76676  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_RigidBody_erase",&obj0,&obj1)) SWIG_fail;
76677  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76678  if (!SWIG_IsOK(res1)) {
76679  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_erase" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76680  }
76681  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76682  {
76683  std::string *ptr = (std::string *)0;
76684  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
76685  if (!SWIG_IsOK(res2)) {
76686  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_RigidBody_erase" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76687  }
76688  if (!ptr) {
76689  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_RigidBody_erase" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76690  }
76691  arg2 = ptr;
76692  }
76693  result = (arg1)->erase((std::map< std::string,RigidBody * >::key_type const &)*arg2);
76694  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
76695  if (SWIG_IsNewObj(res2)) delete arg2;
76696  return resultobj;
76697 fail:
76698  if (SWIG_IsNewObj(res2)) delete arg2;
76699  return NULL;
76700 }
76701 
76702 
76703 SWIGINTERN PyObject *_wrap_map_string_RigidBody_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76704  PyObject *resultobj = 0;
76705  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76706  std::map< std::string,RigidBody * >::key_type *arg2 = 0 ;
76707  void *argp1 = 0 ;
76708  int res1 = 0 ;
76709  int res2 = SWIG_OLDOBJ ;
76710  PyObject * obj0 = 0 ;
76711  PyObject * obj1 = 0 ;
76712  std::map< std::string,RigidBody * >::size_type result;
76713 
76714  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_RigidBody_count",&obj0,&obj1)) SWIG_fail;
76715  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76716  if (!SWIG_IsOK(res1)) {
76717  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_count" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > const *""'");
76718  }
76719  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76720  {
76721  std::string *ptr = (std::string *)0;
76722  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
76723  if (!SWIG_IsOK(res2)) {
76724  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_RigidBody_count" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76725  }
76726  if (!ptr) {
76727  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_RigidBody_count" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76728  }
76729  arg2 = ptr;
76730  }
76731  result = ((std::map< std::string,RigidBody * > const *)arg1)->count((std::map< std::string,RigidBody * >::key_type const &)*arg2);
76732  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
76733  if (SWIG_IsNewObj(res2)) delete arg2;
76734  return resultobj;
76735 fail:
76736  if (SWIG_IsNewObj(res2)) delete arg2;
76737  return NULL;
76738 }
76739 
76740 
76741 SWIGINTERN PyObject *_wrap_map_string_RigidBody_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76742  PyObject *resultobj = 0;
76743  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76744  std::map< std::string,RigidBody * >::iterator arg2 ;
76745  void *argp1 = 0 ;
76746  int res1 = 0 ;
76747  swig::SwigPyIterator *iter2 = 0 ;
76748  int res2 ;
76749  PyObject * obj0 = 0 ;
76750  PyObject * obj1 = 0 ;
76751 
76752  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_RigidBody_erase",&obj0,&obj1)) SWIG_fail;
76753  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76754  if (!SWIG_IsOK(res1)) {
76755  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_erase" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76756  }
76757  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76758  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
76759  if (!SWIG_IsOK(res2) || !iter2) {
76760  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_RigidBody_erase" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::iterator""'");
76761  } else {
76763  if (iter_t) {
76764  arg2 = iter_t->get_current();
76765  } else {
76766  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_RigidBody_erase" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::iterator""'");
76767  }
76768  }
76769  std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__erase__SWIG_1(arg1,arg2);
76770  resultobj = SWIG_Py_Void();
76771  return resultobj;
76772 fail:
76773  return NULL;
76774 }
76775 
76776 
76777 SWIGINTERN PyObject *_wrap_map_string_RigidBody_erase__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76778  PyObject *resultobj = 0;
76779  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76780  std::map< std::string,RigidBody * >::iterator arg2 ;
76781  std::map< std::string,RigidBody * >::iterator arg3 ;
76782  void *argp1 = 0 ;
76783  int res1 = 0 ;
76784  swig::SwigPyIterator *iter2 = 0 ;
76785  int res2 ;
76786  swig::SwigPyIterator *iter3 = 0 ;
76787  int res3 ;
76788  PyObject * obj0 = 0 ;
76789  PyObject * obj1 = 0 ;
76790  PyObject * obj2 = 0 ;
76791 
76792  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_RigidBody_erase",&obj0,&obj1,&obj2)) SWIG_fail;
76793  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76794  if (!SWIG_IsOK(res1)) {
76795  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_erase" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76796  }
76797  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76798  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
76799  if (!SWIG_IsOK(res2) || !iter2) {
76800  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_RigidBody_erase" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::iterator""'");
76801  } else {
76803  if (iter_t) {
76804  arg2 = iter_t->get_current();
76805  } else {
76806  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_RigidBody_erase" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::iterator""'");
76807  }
76808  }
76809  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
76810  if (!SWIG_IsOK(res3) || !iter3) {
76811  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_RigidBody_erase" "', argument " "3"" of type '" "std::map< std::string,RigidBody * >::iterator""'");
76812  } else {
76814  if (iter_t) {
76815  arg3 = iter_t->get_current();
76816  } else {
76817  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_RigidBody_erase" "', argument " "3"" of type '" "std::map< std::string,RigidBody * >::iterator""'");
76818  }
76819  }
76820  std_map_Sl_std_string_Sc_RigidBody_Sm__Sg__erase__SWIG_2(arg1,arg2,arg3);
76821  resultobj = SWIG_Py_Void();
76822  return resultobj;
76823 fail:
76824  return NULL;
76825 }
76826 
76827 
76828 SWIGINTERN PyObject *_wrap_map_string_RigidBody_erase(PyObject *self, PyObject *args) {
76829  int argc;
76830  PyObject *argv[4];
76831  int ii;
76832 
76833  if (!PyTuple_Check(args)) SWIG_fail;
76834  argc = args ? (int)PyObject_Length(args) : 0;
76835  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
76836  argv[ii] = PyTuple_GET_ITEM(args,ii);
76837  }
76838  if (argc == 2) {
76839  int _v;
76840  int res = swig::asptr(argv[0], (std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >**)(0));
76841  _v = SWIG_CheckState(res);
76842  if (_v) {
76843  swig::SwigPyIterator *iter = 0;
76844  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
76845  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,RigidBody * >::iterator > *>(iter) != 0));
76846  if (_v) {
76847  return _wrap_map_string_RigidBody_erase__SWIG_1(self, args);
76848  }
76849  }
76850  }
76851  if (argc == 2) {
76852  int _v;
76853  int res = swig::asptr(argv[0], (std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >**)(0));
76854  _v = SWIG_CheckState(res);
76855  if (_v) {
76856  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
76857  _v = SWIG_CheckState(res);
76858  if (_v) {
76859  return _wrap_map_string_RigidBody_erase__SWIG_0(self, args);
76860  }
76861  }
76862  }
76863  if (argc == 3) {
76864  int _v;
76865  int res = swig::asptr(argv[0], (std::map<std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >**)(0));
76866  _v = SWIG_CheckState(res);
76867  if (_v) {
76868  swig::SwigPyIterator *iter = 0;
76869  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
76870  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,RigidBody * >::iterator > *>(iter) != 0));
76871  if (_v) {
76872  swig::SwigPyIterator *iter = 0;
76873  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
76874  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,RigidBody * >::iterator > *>(iter) != 0));
76875  if (_v) {
76876  return _wrap_map_string_RigidBody_erase__SWIG_2(self, args);
76877  }
76878  }
76879  }
76880  }
76881 
76882 fail:
76883  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_RigidBody_erase'.\n"
76884  " Possible C/C++ prototypes are:\n"
76885  " std::map< std::string,RigidBody * >::erase(std::map< std::string,RigidBody * >::key_type const &)\n"
76886  " std::map< std::string,RigidBody * >::erase(std::map< std::string,RigidBody * >::iterator)\n"
76887  " std::map< std::string,RigidBody * >::erase(std::map< std::string,RigidBody * >::iterator,std::map< std::string,RigidBody * >::iterator)\n");
76888  return 0;
76889 }
76890 
76891 
76892 SWIGINTERN PyObject *_wrap_map_string_RigidBody_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76893  PyObject *resultobj = 0;
76894  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76895  std::map< std::string,RigidBody * >::key_type *arg2 = 0 ;
76896  void *argp1 = 0 ;
76897  int res1 = 0 ;
76898  int res2 = SWIG_OLDOBJ ;
76899  PyObject * obj0 = 0 ;
76900  PyObject * obj1 = 0 ;
76901  std::map< std::string,RigidBody * >::iterator result;
76902 
76903  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_RigidBody_find",&obj0,&obj1)) SWIG_fail;
76904  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76905  if (!SWIG_IsOK(res1)) {
76906  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_find" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76907  }
76908  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76909  {
76910  std::string *ptr = (std::string *)0;
76911  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
76912  if (!SWIG_IsOK(res2)) {
76913  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_RigidBody_find" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76914  }
76915  if (!ptr) {
76916  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_RigidBody_find" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76917  }
76918  arg2 = ptr;
76919  }
76920  result = (arg1)->find((std::map< std::string,RigidBody * >::key_type const &)*arg2);
76921  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,RigidBody * >::iterator & >(result)),
76922  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
76923  if (SWIG_IsNewObj(res2)) delete arg2;
76924  return resultobj;
76925 fail:
76926  if (SWIG_IsNewObj(res2)) delete arg2;
76927  return NULL;
76928 }
76929 
76930 
76931 SWIGINTERN PyObject *_wrap_map_string_RigidBody_lower_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76932  PyObject *resultobj = 0;
76933  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76934  std::map< std::string,RigidBody * >::key_type *arg2 = 0 ;
76935  void *argp1 = 0 ;
76936  int res1 = 0 ;
76937  int res2 = SWIG_OLDOBJ ;
76938  PyObject * obj0 = 0 ;
76939  PyObject * obj1 = 0 ;
76940  std::map< std::string,RigidBody * >::iterator result;
76941 
76942  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_RigidBody_lower_bound",&obj0,&obj1)) SWIG_fail;
76943  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76944  if (!SWIG_IsOK(res1)) {
76945  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_lower_bound" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76946  }
76947  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76948  {
76949  std::string *ptr = (std::string *)0;
76950  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
76951  if (!SWIG_IsOK(res2)) {
76952  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_RigidBody_lower_bound" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76953  }
76954  if (!ptr) {
76955  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_RigidBody_lower_bound" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76956  }
76957  arg2 = ptr;
76958  }
76959  result = (arg1)->lower_bound((std::map< std::string,RigidBody * >::key_type const &)*arg2);
76960  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,RigidBody * >::iterator & >(result)),
76961  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
76962  if (SWIG_IsNewObj(res2)) delete arg2;
76963  return resultobj;
76964 fail:
76965  if (SWIG_IsNewObj(res2)) delete arg2;
76966  return NULL;
76967 }
76968 
76969 
76970 SWIGINTERN PyObject *_wrap_map_string_RigidBody_upper_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
76971  PyObject *resultobj = 0;
76972  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
76973  std::map< std::string,RigidBody * >::key_type *arg2 = 0 ;
76974  void *argp1 = 0 ;
76975  int res1 = 0 ;
76976  int res2 = SWIG_OLDOBJ ;
76977  PyObject * obj0 = 0 ;
76978  PyObject * obj1 = 0 ;
76979  std::map< std::string,RigidBody * >::iterator result;
76980 
76981  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_RigidBody_upper_bound",&obj0,&obj1)) SWIG_fail;
76982  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
76983  if (!SWIG_IsOK(res1)) {
76984  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_RigidBody_upper_bound" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
76985  }
76986  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
76987  {
76988  std::string *ptr = (std::string *)0;
76989  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
76990  if (!SWIG_IsOK(res2)) {
76991  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_RigidBody_upper_bound" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76992  }
76993  if (!ptr) {
76994  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_RigidBody_upper_bound" "', argument " "2"" of type '" "std::map< std::string,RigidBody * >::key_type const &""'");
76995  }
76996  arg2 = ptr;
76997  }
76998  result = (arg1)->upper_bound((std::map< std::string,RigidBody * >::key_type const &)*arg2);
76999  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,RigidBody * >::iterator & >(result)),
77000  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
77001  if (SWIG_IsNewObj(res2)) delete arg2;
77002  return resultobj;
77003 fail:
77004  if (SWIG_IsNewObj(res2)) delete arg2;
77005  return NULL;
77006 }
77007 
77008 
77009 SWIGINTERN PyObject *_wrap_delete_map_string_RigidBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77010  PyObject *resultobj = 0;
77011  std::map< std::string,RigidBody * > *arg1 = (std::map< std::string,RigidBody * > *) 0 ;
77012  void *argp1 = 0 ;
77013  int res1 = 0 ;
77014  PyObject * obj0 = 0 ;
77015 
77016  if (!PyArg_ParseTuple(args,(char *)"O:delete_map_string_RigidBody",&obj0)) SWIG_fail;
77017  res1 = SWIG_ConvertPtr(obj0, &argp1,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_POINTER_DISOWN | 0 );
77018  if (!SWIG_IsOK(res1)) {
77019  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_map_string_RigidBody" "', argument " "1"" of type '" "std::map< std::string,RigidBody * > *""'");
77020  }
77021  arg1 = reinterpret_cast< std::map< std::string,RigidBody * > * >(argp1);
77022  {
77023  try {
77024  delete arg1;
77025  }
77026  catch(CStdErrorInfo oError)
77027  {
77028  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
77029  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
77030  PyErr_SetString(PyExc_IndexError, strError.c_str());
77031  SWIG_fail;
77032  }
77033  catch(...)
77034  {
77035  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
77036  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
77037  SWIG_fail;
77038  }
77039  }
77040  resultobj = SWIG_Py_Void();
77041  return resultobj;
77042 fail:
77043  return NULL;
77044 }
77045 
77046 
77047 SWIGINTERN PyObject *map_string_RigidBody_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77048  PyObject *obj;
77049  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
77050  SWIG_TypeNewClientData(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_NewClientData(obj));
77051  return SWIG_Py_Void();
77052 }
77053 
77054 SWIGINTERN PyObject *_wrap_new_map_string_Structure__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77055  PyObject *resultobj = 0;
77056  std::less< std::string > *arg1 = 0 ;
77057  void *argp1 = 0 ;
77058  int res1 = 0 ;
77059  PyObject * obj0 = 0 ;
77060  std::map< std::string,Structure * > *result = 0 ;
77061 
77062  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_Structure",&obj0)) SWIG_fail;
77063  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__lessT_std__string_t, 0 | 0);
77064  if (!SWIG_IsOK(res1)) {
77065  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_Structure" "', argument " "1"" of type '" "std::less< std::string > const &""'");
77066  }
77067  if (!argp1) {
77068  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_Structure" "', argument " "1"" of type '" "std::less< std::string > const &""'");
77069  }
77070  arg1 = reinterpret_cast< std::less< std::string > * >(argp1);
77071  result = (std::map< std::string,Structure * > *)new std::map< std::string,Structure * >((std::less< std::string > const &)*arg1);
77072  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
77073  return resultobj;
77074 fail:
77075  return NULL;
77076 }
77077 
77078 
77079 SWIGINTERN PyObject *_wrap_map_string_Structure_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77080  PyObject *resultobj = 0;
77081  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77082  PyObject **arg2 = (PyObject **) 0 ;
77083  void *argp1 = 0 ;
77084  int res1 = 0 ;
77085  PyObject * obj0 = 0 ;
77086  swig::SwigPyIterator *result = 0 ;
77087 
77088  arg2 = &obj0;
77089  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure_iterator",&obj0)) SWIG_fail;
77090  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77091  if (!SWIG_IsOK(res1)) {
77092  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_iterator" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77093  }
77094  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77095  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_Structure_Sm__Sg__iterator(arg1,arg2);
77096  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
77097  return resultobj;
77098 fail:
77099  return NULL;
77100 }
77101 
77102 
77103 SWIGINTERN PyObject *_wrap_map_string_Structure___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77104  PyObject *resultobj = 0;
77105  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77106  void *argp1 = 0 ;
77107  int res1 = 0 ;
77108  PyObject * obj0 = 0 ;
77109  bool result;
77110 
77111  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure___nonzero__",&obj0)) SWIG_fail;
77112  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77113  if (!SWIG_IsOK(res1)) {
77114  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure___nonzero__" "', argument " "1"" of type '" "std::map< std::string,Structure * > const *""'");
77115  }
77116  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77117  result = (bool)std_map_Sl_std_string_Sc_Structure_Sm__Sg____nonzero__((std::map< std::string,Structure * > const *)arg1);
77118  resultobj = SWIG_From_bool(static_cast< bool >(result));
77119  return resultobj;
77120 fail:
77121  return NULL;
77122 }
77123 
77124 
77125 SWIGINTERN PyObject *_wrap_map_string_Structure___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77126  PyObject *resultobj = 0;
77127  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77128  void *argp1 = 0 ;
77129  int res1 = 0 ;
77130  PyObject * obj0 = 0 ;
77131  bool result;
77132 
77133  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure___bool__",&obj0)) SWIG_fail;
77134  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77135  if (!SWIG_IsOK(res1)) {
77136  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure___bool__" "', argument " "1"" of type '" "std::map< std::string,Structure * > const *""'");
77137  }
77138  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77139  result = (bool)std_map_Sl_std_string_Sc_Structure_Sm__Sg____bool__((std::map< std::string,Structure * > const *)arg1);
77140  resultobj = SWIG_From_bool(static_cast< bool >(result));
77141  return resultobj;
77142 fail:
77143  return NULL;
77144 }
77145 
77146 
77147 SWIGINTERN PyObject *_wrap_map_string_Structure___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77148  PyObject *resultobj = 0;
77149  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77150  void *argp1 = 0 ;
77151  int res1 = 0 ;
77152  PyObject * obj0 = 0 ;
77153  std::map< std::string,Structure * >::size_type result;
77154 
77155  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure___len__",&obj0)) SWIG_fail;
77156  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77157  if (!SWIG_IsOK(res1)) {
77158  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure___len__" "', argument " "1"" of type '" "std::map< std::string,Structure * > const *""'");
77159  }
77160  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77161  result = std_map_Sl_std_string_Sc_Structure_Sm__Sg____len__((std::map< std::string,Structure * > const *)arg1);
77162  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
77163  return resultobj;
77164 fail:
77165  return NULL;
77166 }
77167 
77168 
77169 SWIGINTERN PyObject *_wrap_map_string_Structure___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77170  PyObject *resultobj = 0;
77171  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77172  std::map< std::string,Structure * >::key_type *arg2 = 0 ;
77173  void *argp1 = 0 ;
77174  int res1 = 0 ;
77175  int res2 = SWIG_OLDOBJ ;
77176  PyObject * obj0 = 0 ;
77177  PyObject * obj1 = 0 ;
77178  std::map< std::string,Structure * >::mapped_type *result = 0 ;
77179 
77180  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Structure___getitem__",&obj0,&obj1)) SWIG_fail;
77181  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77182  if (!SWIG_IsOK(res1)) {
77183  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure___getitem__" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77184  }
77185  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77186  {
77187  std::string *ptr = (std::string *)0;
77188  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
77189  if (!SWIG_IsOK(res2)) {
77190  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Structure___getitem__" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77191  }
77192  if (!ptr) {
77193  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Structure___getitem__" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77194  }
77195  arg2 = ptr;
77196  }
77197  try {
77198  result = (std::map< std::string,Structure * >::mapped_type *) &std_map_Sl_std_string_Sc_Structure_Sm__Sg____getitem__(arg1,(std::string const &)*arg2);
77199  }
77200  catch(std::out_of_range &_e) {
77201  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
77202  }
77203 
77204  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(*result), SWIGTYPE_p_Structure, 0 | 0 );
77205  if (SWIG_IsNewObj(res2)) delete arg2;
77206  return resultobj;
77207 fail:
77208  if (SWIG_IsNewObj(res2)) delete arg2;
77209  return NULL;
77210 }
77211 
77212 
77213 SWIGINTERN PyObject *_wrap_map_string_Structure___delitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77214  PyObject *resultobj = 0;
77215  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77216  std::map< std::string,Structure * >::key_type *arg2 = 0 ;
77217  void *argp1 = 0 ;
77218  int res1 = 0 ;
77219  int res2 = SWIG_OLDOBJ ;
77220  PyObject * obj0 = 0 ;
77221  PyObject * obj1 = 0 ;
77222 
77223  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Structure___delitem__",&obj0,&obj1)) SWIG_fail;
77224  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77225  if (!SWIG_IsOK(res1)) {
77226  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure___delitem__" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77227  }
77228  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77229  {
77230  std::string *ptr = (std::string *)0;
77231  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
77232  if (!SWIG_IsOK(res2)) {
77233  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Structure___delitem__" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77234  }
77235  if (!ptr) {
77236  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Structure___delitem__" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77237  }
77238  arg2 = ptr;
77239  }
77240  try {
77241  std_map_Sl_std_string_Sc_Structure_Sm__Sg____delitem__(arg1,(std::string const &)*arg2);
77242  }
77243  catch(std::out_of_range &_e) {
77244  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
77245  }
77246 
77247  resultobj = SWIG_Py_Void();
77248  if (SWIG_IsNewObj(res2)) delete arg2;
77249  return resultobj;
77250 fail:
77251  if (SWIG_IsNewObj(res2)) delete arg2;
77252  return NULL;
77253 }
77254 
77255 
77256 SWIGINTERN PyObject *_wrap_map_string_Structure_has_key(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77257  PyObject *resultobj = 0;
77258  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77259  std::map< std::string,Structure * >::key_type *arg2 = 0 ;
77260  void *argp1 = 0 ;
77261  int res1 = 0 ;
77262  int res2 = SWIG_OLDOBJ ;
77263  PyObject * obj0 = 0 ;
77264  PyObject * obj1 = 0 ;
77265  bool result;
77266 
77267  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Structure_has_key",&obj0,&obj1)) SWIG_fail;
77268  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77269  if (!SWIG_IsOK(res1)) {
77270  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_has_key" "', argument " "1"" of type '" "std::map< std::string,Structure * > const *""'");
77271  }
77272  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77273  {
77274  std::string *ptr = (std::string *)0;
77275  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
77276  if (!SWIG_IsOK(res2)) {
77277  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Structure_has_key" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77278  }
77279  if (!ptr) {
77280  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Structure_has_key" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77281  }
77282  arg2 = ptr;
77283  }
77284  result = (bool)std_map_Sl_std_string_Sc_Structure_Sm__Sg__has_key((std::map< std::string,Structure * > const *)arg1,(std::string const &)*arg2);
77285  resultobj = SWIG_From_bool(static_cast< bool >(result));
77286  if (SWIG_IsNewObj(res2)) delete arg2;
77287  return resultobj;
77288 fail:
77289  if (SWIG_IsNewObj(res2)) delete arg2;
77290  return NULL;
77291 }
77292 
77293 
77294 SWIGINTERN PyObject *_wrap_map_string_Structure_keys(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77295  PyObject *resultobj = 0;
77296  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77297  void *argp1 = 0 ;
77298  int res1 = 0 ;
77299  PyObject * obj0 = 0 ;
77300  PyObject *result = 0 ;
77301 
77302  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure_keys",&obj0)) SWIG_fail;
77303  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77304  if (!SWIG_IsOK(res1)) {
77305  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_keys" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77306  }
77307  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77308  result = (PyObject *)std_map_Sl_std_string_Sc_Structure_Sm__Sg__keys(arg1);
77309  resultobj = result;
77310  return resultobj;
77311 fail:
77312  return NULL;
77313 }
77314 
77315 
77316 SWIGINTERN PyObject *_wrap_map_string_Structure_values(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77317  PyObject *resultobj = 0;
77318  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77319  void *argp1 = 0 ;
77320  int res1 = 0 ;
77321  PyObject * obj0 = 0 ;
77322  PyObject *result = 0 ;
77323 
77324  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure_values",&obj0)) SWIG_fail;
77325  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77326  if (!SWIG_IsOK(res1)) {
77327  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_values" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77328  }
77329  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77330  result = (PyObject *)std_map_Sl_std_string_Sc_Structure_Sm__Sg__values(arg1);
77331  resultobj = result;
77332  return resultobj;
77333 fail:
77334  return NULL;
77335 }
77336 
77337 
77338 SWIGINTERN PyObject *_wrap_map_string_Structure_items(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77339  PyObject *resultobj = 0;
77340  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77341  void *argp1 = 0 ;
77342  int res1 = 0 ;
77343  PyObject * obj0 = 0 ;
77344  PyObject *result = 0 ;
77345 
77346  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure_items",&obj0)) SWIG_fail;
77347  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77348  if (!SWIG_IsOK(res1)) {
77349  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_items" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77350  }
77351  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77352  result = (PyObject *)std_map_Sl_std_string_Sc_Structure_Sm__Sg__items(arg1);
77353  resultobj = result;
77354  return resultobj;
77355 fail:
77356  return NULL;
77357 }
77358 
77359 
77360 SWIGINTERN PyObject *_wrap_map_string_Structure___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77361  PyObject *resultobj = 0;
77362  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77363  std::map< std::string,Structure * >::key_type *arg2 = 0 ;
77364  void *argp1 = 0 ;
77365  int res1 = 0 ;
77366  int res2 = SWIG_OLDOBJ ;
77367  PyObject * obj0 = 0 ;
77368  PyObject * obj1 = 0 ;
77369  bool result;
77370 
77371  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Structure___contains__",&obj0,&obj1)) SWIG_fail;
77372  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77373  if (!SWIG_IsOK(res1)) {
77374  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure___contains__" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77375  }
77376  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77377  {
77378  std::string *ptr = (std::string *)0;
77379  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
77380  if (!SWIG_IsOK(res2)) {
77381  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Structure___contains__" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77382  }
77383  if (!ptr) {
77384  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Structure___contains__" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77385  }
77386  arg2 = ptr;
77387  }
77388  result = (bool)std_map_Sl_std_string_Sc_Structure_Sm__Sg____contains__(arg1,(std::string const &)*arg2);
77389  resultobj = SWIG_From_bool(static_cast< bool >(result));
77390  if (SWIG_IsNewObj(res2)) delete arg2;
77391  return resultobj;
77392 fail:
77393  if (SWIG_IsNewObj(res2)) delete arg2;
77394  return NULL;
77395 }
77396 
77397 
77398 SWIGINTERN PyObject *_wrap_map_string_Structure_key_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77399  PyObject *resultobj = 0;
77400  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77401  PyObject **arg2 = (PyObject **) 0 ;
77402  void *argp1 = 0 ;
77403  int res1 = 0 ;
77404  PyObject * obj0 = 0 ;
77405  swig::SwigPyIterator *result = 0 ;
77406 
77407  arg2 = &obj0;
77408  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure_key_iterator",&obj0)) SWIG_fail;
77409  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77410  if (!SWIG_IsOK(res1)) {
77411  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_key_iterator" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77412  }
77413  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77414  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_Structure_Sm__Sg__key_iterator(arg1,arg2);
77415  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
77416  return resultobj;
77417 fail:
77418  return NULL;
77419 }
77420 
77421 
77422 SWIGINTERN PyObject *_wrap_map_string_Structure_value_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77423  PyObject *resultobj = 0;
77424  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77425  PyObject **arg2 = (PyObject **) 0 ;
77426  void *argp1 = 0 ;
77427  int res1 = 0 ;
77428  PyObject * obj0 = 0 ;
77429  swig::SwigPyIterator *result = 0 ;
77430 
77431  arg2 = &obj0;
77432  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure_value_iterator",&obj0)) SWIG_fail;
77433  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77434  if (!SWIG_IsOK(res1)) {
77435  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_value_iterator" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77436  }
77437  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77438  result = (swig::SwigPyIterator *)std_map_Sl_std_string_Sc_Structure_Sm__Sg__value_iterator(arg1,arg2);
77439  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
77440  return resultobj;
77441 fail:
77442  return NULL;
77443 }
77444 
77445 
77446 SWIGINTERN PyObject *_wrap_map_string_Structure___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77447  PyObject *resultobj = 0;
77448  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77449  std::map< std::string,Structure * >::key_type *arg2 = 0 ;
77450  void *argp1 = 0 ;
77451  int res1 = 0 ;
77452  int res2 = SWIG_OLDOBJ ;
77453  PyObject * obj0 = 0 ;
77454  PyObject * obj1 = 0 ;
77455 
77456  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Structure___setitem__",&obj0,&obj1)) SWIG_fail;
77457  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77458  if (!SWIG_IsOK(res1)) {
77459  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure___setitem__" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77460  }
77461  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77462  {
77463  std::string *ptr = (std::string *)0;
77464  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
77465  if (!SWIG_IsOK(res2)) {
77466  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Structure___setitem__" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77467  }
77468  if (!ptr) {
77469  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Structure___setitem__" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77470  }
77471  arg2 = ptr;
77472  }
77473  std_map_Sl_std_string_Sc_Structure_Sm__Sg____setitem____SWIG_0(arg1,(std::string const &)*arg2);
77474  resultobj = SWIG_Py_Void();
77475  if (SWIG_IsNewObj(res2)) delete arg2;
77476  return resultobj;
77477 fail:
77478  if (SWIG_IsNewObj(res2)) delete arg2;
77479  return NULL;
77480 }
77481 
77482 
77483 SWIGINTERN PyObject *_wrap_map_string_Structure___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77484  PyObject *resultobj = 0;
77485  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77486  std::map< std::string,Structure * >::key_type *arg2 = 0 ;
77487  std::map< std::string,Structure * >::mapped_type *arg3 = 0 ;
77488  void *argp1 = 0 ;
77489  int res1 = 0 ;
77490  int res2 = SWIG_OLDOBJ ;
77491  void *argp3 = 0 ;
77492  int res3 = 0 ;
77493  std::map< std::string,Structure * >::mapped_type temp3 ;
77494  PyObject * obj0 = 0 ;
77495  PyObject * obj1 = 0 ;
77496  PyObject * obj2 = 0 ;
77497 
77498  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_Structure___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
77499  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77500  if (!SWIG_IsOK(res1)) {
77501  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure___setitem__" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77502  }
77503  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77504  {
77505  std::string *ptr = (std::string *)0;
77506  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
77507  if (!SWIG_IsOK(res2)) {
77508  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Structure___setitem__" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77509  }
77510  if (!ptr) {
77511  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Structure___setitem__" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77512  }
77513  arg2 = ptr;
77514  }
77515  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_Structure, 0 | 0 );
77516  if (!SWIG_IsOK(res3)) {
77517  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "map_string_Structure___setitem__" "', argument " "3"" of type '" "std::map< std::string,Structure * >::mapped_type""'");
77518  }
77519  temp3 = reinterpret_cast< std::map< std::string,Structure * >::mapped_type >(argp3);
77520  arg3 = reinterpret_cast< std::map< std::string,Structure * >::mapped_type * >(&temp3);
77521  try {
77522  std_map_Sl_std_string_Sc_Structure_Sm__Sg____setitem____SWIG_1(arg1,(std::string const &)*arg2,(Structure *const &)*arg3);
77523  }
77524  catch(std::out_of_range &_e) {
77525  SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
77526  }
77527 
77528  resultobj = SWIG_Py_Void();
77529  if (SWIG_IsNewObj(res2)) delete arg2;
77530  return resultobj;
77531 fail:
77532  if (SWIG_IsNewObj(res2)) delete arg2;
77533  return NULL;
77534 }
77535 
77536 
77537 SWIGINTERN PyObject *_wrap_map_string_Structure___setitem__(PyObject *self, PyObject *args) {
77538  int argc;
77539  PyObject *argv[4];
77540  int ii;
77541 
77542  if (!PyTuple_Check(args)) SWIG_fail;
77543  argc = args ? (int)PyObject_Length(args) : 0;
77544  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
77545  argv[ii] = PyTuple_GET_ITEM(args,ii);
77546  }
77547  if (argc == 2) {
77548  int _v;
77549  int res = swig::asptr(argv[0], (std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >**)(0));
77550  _v = SWIG_CheckState(res);
77551  if (_v) {
77552  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
77553  _v = SWIG_CheckState(res);
77554  if (_v) {
77555  return _wrap_map_string_Structure___setitem____SWIG_0(self, args);
77556  }
77557  }
77558  }
77559  if (argc == 3) {
77560  int _v;
77561  int res = swig::asptr(argv[0], (std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >**)(0));
77562  _v = SWIG_CheckState(res);
77563  if (_v) {
77564  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
77565  _v = SWIG_CheckState(res);
77566  if (_v) {
77567  void *vptr = 0;
77568  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Structure, 0);
77569  _v = SWIG_CheckState(res);
77570  if (_v) {
77571  return _wrap_map_string_Structure___setitem____SWIG_1(self, args);
77572  }
77573  }
77574  }
77575  }
77576 
77577 fail:
77578  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_Structure___setitem__'.\n"
77579  " Possible C/C++ prototypes are:\n"
77580  " std::map< std::string,Structure * >::__setitem__(std::map< std::string,Structure * >::key_type const &)\n"
77581  " std::map< std::string,Structure * >::__setitem__(std::map< std::string,Structure * >::key_type const &,std::map< std::string,Structure * >::mapped_type const &)\n");
77582  return 0;
77583 }
77584 
77585 
77586 SWIGINTERN PyObject *_wrap_map_string_Structure_asdict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77587  PyObject *resultobj = 0;
77588  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77589  void *argp1 = 0 ;
77590  int res1 = 0 ;
77591  PyObject * obj0 = 0 ;
77592  PyObject *result = 0 ;
77593 
77594  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure_asdict",&obj0)) SWIG_fail;
77595  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77596  if (!SWIG_IsOK(res1)) {
77597  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_asdict" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77598  }
77599  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77600  result = (PyObject *)std_map_Sl_std_string_Sc_Structure_Sm__Sg__asdict(arg1);
77601  resultobj = result;
77602  return resultobj;
77603 fail:
77604  return NULL;
77605 }
77606 
77607 
77608 SWIGINTERN PyObject *_wrap_new_map_string_Structure__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77609  PyObject *resultobj = 0;
77610  std::map< std::string,Structure * > *result = 0 ;
77611 
77612  if (!PyArg_ParseTuple(args,(char *)":new_map_string_Structure")) SWIG_fail;
77613  result = (std::map< std::string,Structure * > *)new std::map< std::string,Structure * >();
77614  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
77615  return resultobj;
77616 fail:
77617  return NULL;
77618 }
77619 
77620 
77621 SWIGINTERN PyObject *_wrap_new_map_string_Structure__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77622  PyObject *resultobj = 0;
77623  std::map< std::string,Structure * > *arg1 = 0 ;
77624  int res1 = SWIG_OLDOBJ ;
77625  PyObject * obj0 = 0 ;
77626  std::map< std::string,Structure * > *result = 0 ;
77627 
77628  if (!PyArg_ParseTuple(args,(char *)"O:new_map_string_Structure",&obj0)) SWIG_fail;
77629  {
77630  std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > > *ptr = (std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > > *)0;
77631  res1 = swig::asptr(obj0, &ptr);
77632  if (!SWIG_IsOK(res1)) {
77633  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_map_string_Structure" "', argument " "1"" of type '" "std::map< std::string,Structure * > const &""'");
77634  }
77635  if (!ptr) {
77636  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_map_string_Structure" "', argument " "1"" of type '" "std::map< std::string,Structure * > const &""'");
77637  }
77638  arg1 = ptr;
77639  }
77640  result = (std::map< std::string,Structure * > *)new std::map< std::string,Structure * >((std::map< std::string,Structure * > const &)*arg1);
77641  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), 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_POINTER_NEW | 0 );
77642  if (SWIG_IsNewObj(res1)) delete arg1;
77643  return resultobj;
77644 fail:
77645  if (SWIG_IsNewObj(res1)) delete arg1;
77646  return NULL;
77647 }
77648 
77649 
77650 SWIGINTERN PyObject *_wrap_new_map_string_Structure(PyObject *self, PyObject *args) {
77651  int argc;
77652  PyObject *argv[2];
77653  int ii;
77654 
77655  if (!PyTuple_Check(args)) SWIG_fail;
77656  argc = args ? (int)PyObject_Length(args) : 0;
77657  for (ii = 0; (ii < 1) && (ii < argc); ii++) {
77658  argv[ii] = PyTuple_GET_ITEM(args,ii);
77659  }
77660  if (argc == 0) {
77661  return _wrap_new_map_string_Structure__SWIG_1(self, args);
77662  }
77663  if (argc == 1) {
77664  int _v;
77665  int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__lessT_std__string_t, 0);
77666  _v = SWIG_CheckState(res);
77667  if (_v) {
77668  return _wrap_new_map_string_Structure__SWIG_0(self, args);
77669  }
77670  }
77671  if (argc == 1) {
77672  int _v;
77673  int res = swig::asptr(argv[0], (std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >**)(0));
77674  _v = SWIG_CheckState(res);
77675  if (_v) {
77676  return _wrap_new_map_string_Structure__SWIG_2(self, args);
77677  }
77678  }
77679 
77680 fail:
77681  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_map_string_Structure'.\n"
77682  " Possible C/C++ prototypes are:\n"
77683  " std::map< std::string,Structure * >::map(std::less< std::string > const &)\n"
77684  " std::map< std::string,Structure * >::map()\n"
77685  " std::map< std::string,Structure * >::map(std::map< std::string,Structure * > const &)\n");
77686  return 0;
77687 }
77688 
77689 
77690 SWIGINTERN PyObject *_wrap_map_string_Structure_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77691  PyObject *resultobj = 0;
77692  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77693  void *argp1 = 0 ;
77694  int res1 = 0 ;
77695  PyObject * obj0 = 0 ;
77696  bool result;
77697 
77698  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure_empty",&obj0)) SWIG_fail;
77699  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77700  if (!SWIG_IsOK(res1)) {
77701  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_empty" "', argument " "1"" of type '" "std::map< std::string,Structure * > const *""'");
77702  }
77703  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77704  result = (bool)((std::map< std::string,Structure * > const *)arg1)->empty();
77705  resultobj = SWIG_From_bool(static_cast< bool >(result));
77706  return resultobj;
77707 fail:
77708  return NULL;
77709 }
77710 
77711 
77712 SWIGINTERN PyObject *_wrap_map_string_Structure_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77713  PyObject *resultobj = 0;
77714  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77715  void *argp1 = 0 ;
77716  int res1 = 0 ;
77717  PyObject * obj0 = 0 ;
77718  std::map< std::string,Structure * >::size_type result;
77719 
77720  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure_size",&obj0)) SWIG_fail;
77721  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77722  if (!SWIG_IsOK(res1)) {
77723  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_size" "', argument " "1"" of type '" "std::map< std::string,Structure * > const *""'");
77724  }
77725  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77726  result = ((std::map< std::string,Structure * > const *)arg1)->size();
77727  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
77728  return resultobj;
77729 fail:
77730  return NULL;
77731 }
77732 
77733 
77734 SWIGINTERN PyObject *_wrap_map_string_Structure_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77735  PyObject *resultobj = 0;
77736  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77737  void *argp1 = 0 ;
77738  int res1 = 0 ;
77739  PyObject * obj0 = 0 ;
77740 
77741  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure_clear",&obj0)) SWIG_fail;
77742  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77743  if (!SWIG_IsOK(res1)) {
77744  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_clear" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77745  }
77746  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77747  (arg1)->clear();
77748  resultobj = SWIG_Py_Void();
77749  return resultobj;
77750 fail:
77751  return NULL;
77752 }
77753 
77754 
77755 SWIGINTERN PyObject *_wrap_map_string_Structure_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77756  PyObject *resultobj = 0;
77757  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77758  std::map< std::string,Structure * > *arg2 = 0 ;
77759  void *argp1 = 0 ;
77760  int res1 = 0 ;
77761  void *argp2 = 0 ;
77762  int res2 = 0 ;
77763  PyObject * obj0 = 0 ;
77764  PyObject * obj1 = 0 ;
77765 
77766  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Structure_swap",&obj0,&obj1)) SWIG_fail;
77767  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77768  if (!SWIG_IsOK(res1)) {
77769  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_swap" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77770  }
77771  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77772  res2 = SWIG_ConvertPtr(obj1, &argp2, 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, 0 );
77773  if (!SWIG_IsOK(res2)) {
77774  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Structure_swap" "', argument " "2"" of type '" "std::map< std::string,Structure * > &""'");
77775  }
77776  if (!argp2) {
77777  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Structure_swap" "', argument " "2"" of type '" "std::map< std::string,Structure * > &""'");
77778  }
77779  arg2 = reinterpret_cast< std::map< std::string,Structure * > * >(argp2);
77780  (arg1)->swap(*arg2);
77781  resultobj = SWIG_Py_Void();
77782  return resultobj;
77783 fail:
77784  return NULL;
77785 }
77786 
77787 
77788 SWIGINTERN PyObject *_wrap_map_string_Structure_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77789  PyObject *resultobj = 0;
77790  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77791  void *argp1 = 0 ;
77792  int res1 = 0 ;
77793  PyObject * obj0 = 0 ;
77794  SwigValueWrapper< std::allocator< std::pair< std::string const,Structure * > > > result;
77795 
77796  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure_get_allocator",&obj0)) SWIG_fail;
77797  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77798  if (!SWIG_IsOK(res1)) {
77799  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_get_allocator" "', argument " "1"" of type '" "std::map< std::string,Structure * > const *""'");
77800  }
77801  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77802  result = ((std::map< std::string,Structure * > const *)arg1)->get_allocator();
77803  resultobj = SWIG_NewPointerObj((new std::map< std::string,Structure * >::allocator_type(static_cast< const std::map< std::string,Structure * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t, SWIG_POINTER_OWN | 0 );
77804  return resultobj;
77805 fail:
77806  return NULL;
77807 }
77808 
77809 
77810 SWIGINTERN PyObject *_wrap_map_string_Structure_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77811  PyObject *resultobj = 0;
77812  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77813  void *argp1 = 0 ;
77814  int res1 = 0 ;
77815  PyObject * obj0 = 0 ;
77816  std::map< std::string,Structure * >::iterator result;
77817 
77818  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure_begin",&obj0)) SWIG_fail;
77819  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77820  if (!SWIG_IsOK(res1)) {
77821  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_begin" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77822  }
77823  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77824  result = (arg1)->begin();
77825  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Structure * >::iterator & >(result)),
77826  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
77827  return resultobj;
77828 fail:
77829  return NULL;
77830 }
77831 
77832 
77833 SWIGINTERN PyObject *_wrap_map_string_Structure_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77834  PyObject *resultobj = 0;
77835  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77836  void *argp1 = 0 ;
77837  int res1 = 0 ;
77838  PyObject * obj0 = 0 ;
77839  std::map< std::string,Structure * >::iterator result;
77840 
77841  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure_end",&obj0)) SWIG_fail;
77842  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77843  if (!SWIG_IsOK(res1)) {
77844  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_end" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77845  }
77846  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77847  result = (arg1)->end();
77848  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Structure * >::iterator & >(result)),
77849  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
77850  return resultobj;
77851 fail:
77852  return NULL;
77853 }
77854 
77855 
77856 SWIGINTERN PyObject *_wrap_map_string_Structure_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77857  PyObject *resultobj = 0;
77858  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77859  void *argp1 = 0 ;
77860  int res1 = 0 ;
77861  PyObject * obj0 = 0 ;
77862  std::map< std::string,Structure * >::reverse_iterator result;
77863 
77864  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure_rbegin",&obj0)) SWIG_fail;
77865  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77866  if (!SWIG_IsOK(res1)) {
77867  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_rbegin" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77868  }
77869  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77870  result = (arg1)->rbegin();
77871  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Structure * >::reverse_iterator & >(result)),
77872  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
77873  return resultobj;
77874 fail:
77875  return NULL;
77876 }
77877 
77878 
77879 SWIGINTERN PyObject *_wrap_map_string_Structure_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77880  PyObject *resultobj = 0;
77881  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77882  void *argp1 = 0 ;
77883  int res1 = 0 ;
77884  PyObject * obj0 = 0 ;
77885  std::map< std::string,Structure * >::reverse_iterator result;
77886 
77887  if (!PyArg_ParseTuple(args,(char *)"O:map_string_Structure_rend",&obj0)) SWIG_fail;
77888  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77889  if (!SWIG_IsOK(res1)) {
77890  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_rend" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77891  }
77892  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77893  result = (arg1)->rend();
77894  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Structure * >::reverse_iterator & >(result)),
77895  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
77896  return resultobj;
77897 fail:
77898  return NULL;
77899 }
77900 
77901 
77902 SWIGINTERN PyObject *_wrap_map_string_Structure_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77903  PyObject *resultobj = 0;
77904  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77905  std::map< std::string,Structure * >::key_type *arg2 = 0 ;
77906  void *argp1 = 0 ;
77907  int res1 = 0 ;
77908  int res2 = SWIG_OLDOBJ ;
77909  PyObject * obj0 = 0 ;
77910  PyObject * obj1 = 0 ;
77911  std::map< std::string,Structure * >::size_type result;
77912 
77913  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Structure_erase",&obj0,&obj1)) SWIG_fail;
77914  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77915  if (!SWIG_IsOK(res1)) {
77916  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_erase" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77917  }
77918  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77919  {
77920  std::string *ptr = (std::string *)0;
77921  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
77922  if (!SWIG_IsOK(res2)) {
77923  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Structure_erase" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77924  }
77925  if (!ptr) {
77926  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Structure_erase" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77927  }
77928  arg2 = ptr;
77929  }
77930  result = (arg1)->erase((std::map< std::string,Structure * >::key_type const &)*arg2);
77931  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
77932  if (SWIG_IsNewObj(res2)) delete arg2;
77933  return resultobj;
77934 fail:
77935  if (SWIG_IsNewObj(res2)) delete arg2;
77936  return NULL;
77937 }
77938 
77939 
77940 SWIGINTERN PyObject *_wrap_map_string_Structure_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77941  PyObject *resultobj = 0;
77942  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77943  std::map< std::string,Structure * >::key_type *arg2 = 0 ;
77944  void *argp1 = 0 ;
77945  int res1 = 0 ;
77946  int res2 = SWIG_OLDOBJ ;
77947  PyObject * obj0 = 0 ;
77948  PyObject * obj1 = 0 ;
77949  std::map< std::string,Structure * >::size_type result;
77950 
77951  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Structure_count",&obj0,&obj1)) SWIG_fail;
77952  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77953  if (!SWIG_IsOK(res1)) {
77954  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_count" "', argument " "1"" of type '" "std::map< std::string,Structure * > const *""'");
77955  }
77956  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77957  {
77958  std::string *ptr = (std::string *)0;
77959  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
77960  if (!SWIG_IsOK(res2)) {
77961  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Structure_count" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77962  }
77963  if (!ptr) {
77964  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Structure_count" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
77965  }
77966  arg2 = ptr;
77967  }
77968  result = ((std::map< std::string,Structure * > const *)arg1)->count((std::map< std::string,Structure * >::key_type const &)*arg2);
77969  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
77970  if (SWIG_IsNewObj(res2)) delete arg2;
77971  return resultobj;
77972 fail:
77973  if (SWIG_IsNewObj(res2)) delete arg2;
77974  return NULL;
77975 }
77976 
77977 
77978 SWIGINTERN PyObject *_wrap_map_string_Structure_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
77979  PyObject *resultobj = 0;
77980  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
77981  std::map< std::string,Structure * >::iterator arg2 ;
77982  void *argp1 = 0 ;
77983  int res1 = 0 ;
77984  swig::SwigPyIterator *iter2 = 0 ;
77985  int res2 ;
77986  PyObject * obj0 = 0 ;
77987  PyObject * obj1 = 0 ;
77988 
77989  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Structure_erase",&obj0,&obj1)) SWIG_fail;
77990  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
77991  if (!SWIG_IsOK(res1)) {
77992  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_erase" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
77993  }
77994  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
77995  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
77996  if (!SWIG_IsOK(res2) || !iter2) {
77997  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Structure_erase" "', argument " "2"" of type '" "std::map< std::string,Structure * >::iterator""'");
77998  } else {
78000  if (iter_t) {
78001  arg2 = iter_t->get_current();
78002  } else {
78003  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Structure_erase" "', argument " "2"" of type '" "std::map< std::string,Structure * >::iterator""'");
78004  }
78005  }
78006  std_map_Sl_std_string_Sc_Structure_Sm__Sg__erase__SWIG_1(arg1,arg2);
78007  resultobj = SWIG_Py_Void();
78008  return resultobj;
78009 fail:
78010  return NULL;
78011 }
78012 
78013 
78014 SWIGINTERN PyObject *_wrap_map_string_Structure_erase__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78015  PyObject *resultobj = 0;
78016  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
78017  std::map< std::string,Structure * >::iterator arg2 ;
78018  std::map< std::string,Structure * >::iterator arg3 ;
78019  void *argp1 = 0 ;
78020  int res1 = 0 ;
78021  swig::SwigPyIterator *iter2 = 0 ;
78022  int res2 ;
78023  swig::SwigPyIterator *iter3 = 0 ;
78024  int res3 ;
78025  PyObject * obj0 = 0 ;
78026  PyObject * obj1 = 0 ;
78027  PyObject * obj2 = 0 ;
78028 
78029  if (!PyArg_ParseTuple(args,(char *)"OOO:map_string_Structure_erase",&obj0,&obj1,&obj2)) SWIG_fail;
78030  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
78031  if (!SWIG_IsOK(res1)) {
78032  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_erase" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
78033  }
78034  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
78035  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
78036  if (!SWIG_IsOK(res2) || !iter2) {
78037  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Structure_erase" "', argument " "2"" of type '" "std::map< std::string,Structure * >::iterator""'");
78038  } else {
78040  if (iter_t) {
78041  arg2 = iter_t->get_current();
78042  } else {
78043  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Structure_erase" "', argument " "2"" of type '" "std::map< std::string,Structure * >::iterator""'");
78044  }
78045  }
78046  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
78047  if (!SWIG_IsOK(res3) || !iter3) {
78048  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Structure_erase" "', argument " "3"" of type '" "std::map< std::string,Structure * >::iterator""'");
78049  } else {
78051  if (iter_t) {
78052  arg3 = iter_t->get_current();
78053  } else {
78054  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "map_string_Structure_erase" "', argument " "3"" of type '" "std::map< std::string,Structure * >::iterator""'");
78055  }
78056  }
78057  std_map_Sl_std_string_Sc_Structure_Sm__Sg__erase__SWIG_2(arg1,arg2,arg3);
78058  resultobj = SWIG_Py_Void();
78059  return resultobj;
78060 fail:
78061  return NULL;
78062 }
78063 
78064 
78065 SWIGINTERN PyObject *_wrap_map_string_Structure_erase(PyObject *self, PyObject *args) {
78066  int argc;
78067  PyObject *argv[4];
78068  int ii;
78069 
78070  if (!PyTuple_Check(args)) SWIG_fail;
78071  argc = args ? (int)PyObject_Length(args) : 0;
78072  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
78073  argv[ii] = PyTuple_GET_ITEM(args,ii);
78074  }
78075  if (argc == 2) {
78076  int _v;
78077  int res = swig::asptr(argv[0], (std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >**)(0));
78078  _v = SWIG_CheckState(res);
78079  if (_v) {
78080  swig::SwigPyIterator *iter = 0;
78081  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
78082  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,Structure * >::iterator > *>(iter) != 0));
78083  if (_v) {
78084  return _wrap_map_string_Structure_erase__SWIG_1(self, args);
78085  }
78086  }
78087  }
78088  if (argc == 2) {
78089  int _v;
78090  int res = swig::asptr(argv[0], (std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >**)(0));
78091  _v = SWIG_CheckState(res);
78092  if (_v) {
78093  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
78094  _v = SWIG_CheckState(res);
78095  if (_v) {
78096  return _wrap_map_string_Structure_erase__SWIG_0(self, args);
78097  }
78098  }
78099  }
78100  if (argc == 3) {
78101  int _v;
78102  int res = swig::asptr(argv[0], (std::map<std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >**)(0));
78103  _v = SWIG_CheckState(res);
78104  if (_v) {
78105  swig::SwigPyIterator *iter = 0;
78106  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
78107  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,Structure * >::iterator > *>(iter) != 0));
78108  if (_v) {
78109  swig::SwigPyIterator *iter = 0;
78110  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
78111  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,Structure * >::iterator > *>(iter) != 0));
78112  if (_v) {
78113  return _wrap_map_string_Structure_erase__SWIG_2(self, args);
78114  }
78115  }
78116  }
78117  }
78118 
78119 fail:
78120  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'map_string_Structure_erase'.\n"
78121  " Possible C/C++ prototypes are:\n"
78122  " std::map< std::string,Structure * >::erase(std::map< std::string,Structure * >::key_type const &)\n"
78123  " std::map< std::string,Structure * >::erase(std::map< std::string,Structure * >::iterator)\n"
78124  " std::map< std::string,Structure * >::erase(std::map< std::string,Structure * >::iterator,std::map< std::string,Structure * >::iterator)\n");
78125  return 0;
78126 }
78127 
78128 
78129 SWIGINTERN PyObject *_wrap_map_string_Structure_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78130  PyObject *resultobj = 0;
78131  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
78132  std::map< std::string,Structure * >::key_type *arg2 = 0 ;
78133  void *argp1 = 0 ;
78134  int res1 = 0 ;
78135  int res2 = SWIG_OLDOBJ ;
78136  PyObject * obj0 = 0 ;
78137  PyObject * obj1 = 0 ;
78138  std::map< std::string,Structure * >::iterator result;
78139 
78140  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Structure_find",&obj0,&obj1)) SWIG_fail;
78141  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
78142  if (!SWIG_IsOK(res1)) {
78143  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_find" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
78144  }
78145  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
78146  {
78147  std::string *ptr = (std::string *)0;
78148  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
78149  if (!SWIG_IsOK(res2)) {
78150  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Structure_find" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
78151  }
78152  if (!ptr) {
78153  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Structure_find" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
78154  }
78155  arg2 = ptr;
78156  }
78157  result = (arg1)->find((std::map< std::string,Structure * >::key_type const &)*arg2);
78158  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Structure * >::iterator & >(result)),
78159  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
78160  if (SWIG_IsNewObj(res2)) delete arg2;
78161  return resultobj;
78162 fail:
78163  if (SWIG_IsNewObj(res2)) delete arg2;
78164  return NULL;
78165 }
78166 
78167 
78168 SWIGINTERN PyObject *_wrap_map_string_Structure_lower_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78169  PyObject *resultobj = 0;
78170  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
78171  std::map< std::string,Structure * >::key_type *arg2 = 0 ;
78172  void *argp1 = 0 ;
78173  int res1 = 0 ;
78174  int res2 = SWIG_OLDOBJ ;
78175  PyObject * obj0 = 0 ;
78176  PyObject * obj1 = 0 ;
78177  std::map< std::string,Structure * >::iterator result;
78178 
78179  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Structure_lower_bound",&obj0,&obj1)) SWIG_fail;
78180  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
78181  if (!SWIG_IsOK(res1)) {
78182  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_lower_bound" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
78183  }
78184  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
78185  {
78186  std::string *ptr = (std::string *)0;
78187  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
78188  if (!SWIG_IsOK(res2)) {
78189  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Structure_lower_bound" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
78190  }
78191  if (!ptr) {
78192  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Structure_lower_bound" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
78193  }
78194  arg2 = ptr;
78195  }
78196  result = (arg1)->lower_bound((std::map< std::string,Structure * >::key_type const &)*arg2);
78197  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Structure * >::iterator & >(result)),
78198  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
78199  if (SWIG_IsNewObj(res2)) delete arg2;
78200  return resultobj;
78201 fail:
78202  if (SWIG_IsNewObj(res2)) delete arg2;
78203  return NULL;
78204 }
78205 
78206 
78207 SWIGINTERN PyObject *_wrap_map_string_Structure_upper_bound(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78208  PyObject *resultobj = 0;
78209  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
78210  std::map< std::string,Structure * >::key_type *arg2 = 0 ;
78211  void *argp1 = 0 ;
78212  int res1 = 0 ;
78213  int res2 = SWIG_OLDOBJ ;
78214  PyObject * obj0 = 0 ;
78215  PyObject * obj1 = 0 ;
78216  std::map< std::string,Structure * >::iterator result;
78217 
78218  if (!PyArg_ParseTuple(args,(char *)"OO:map_string_Structure_upper_bound",&obj0,&obj1)) SWIG_fail;
78219  res1 = SWIG_ConvertPtr(obj0, &argp1,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, 0 | 0 );
78220  if (!SWIG_IsOK(res1)) {
78221  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "map_string_Structure_upper_bound" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
78222  }
78223  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
78224  {
78225  std::string *ptr = (std::string *)0;
78226  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
78227  if (!SWIG_IsOK(res2)) {
78228  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "map_string_Structure_upper_bound" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
78229  }
78230  if (!ptr) {
78231  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "map_string_Structure_upper_bound" "', argument " "2"" of type '" "std::map< std::string,Structure * >::key_type const &""'");
78232  }
78233  arg2 = ptr;
78234  }
78235  result = (arg1)->upper_bound((std::map< std::string,Structure * >::key_type const &)*arg2);
78236  resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::map< std::string,Structure * >::iterator & >(result)),
78237  swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
78238  if (SWIG_IsNewObj(res2)) delete arg2;
78239  return resultobj;
78240 fail:
78241  if (SWIG_IsNewObj(res2)) delete arg2;
78242  return NULL;
78243 }
78244 
78245 
78246 SWIGINTERN PyObject *_wrap_delete_map_string_Structure(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78247  PyObject *resultobj = 0;
78248  std::map< std::string,Structure * > *arg1 = (std::map< std::string,Structure * > *) 0 ;
78249  void *argp1 = 0 ;
78250  int res1 = 0 ;
78251  PyObject * obj0 = 0 ;
78252 
78253  if (!PyArg_ParseTuple(args,(char *)"O:delete_map_string_Structure",&obj0)) SWIG_fail;
78254  res1 = SWIG_ConvertPtr(obj0, &argp1,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_POINTER_DISOWN | 0 );
78255  if (!SWIG_IsOK(res1)) {
78256  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_map_string_Structure" "', argument " "1"" of type '" "std::map< std::string,Structure * > *""'");
78257  }
78258  arg1 = reinterpret_cast< std::map< std::string,Structure * > * >(argp1);
78259  {
78260  try {
78261  delete arg1;
78262  }
78263  catch(CStdErrorInfo oError)
78264  {
78265  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
78266  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
78267  PyErr_SetString(PyExc_IndexError, strError.c_str());
78268  SWIG_fail;
78269  }
78270  catch(...)
78271  {
78272  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
78273  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
78274  SWIG_fail;
78275  }
78276  }
78277  resultobj = SWIG_Py_Void();
78278  return resultobj;
78279 fail:
78280  return NULL;
78281 }
78282 
78283 
78284 SWIGINTERN PyObject *map_string_Structure_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78285  PyObject *obj;
78286  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
78287  SWIG_TypeNewClientData(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_NewClientData(obj));
78288  return SWIG_Py_Void();
78289 }
78290 
78291 SWIGINTERN PyObject *_wrap_CStdPoint_int_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78292  PyObject *resultobj = 0;
78293  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78294  int arg2 ;
78295  void *argp1 = 0 ;
78296  int res1 = 0 ;
78297  int val2 ;
78298  int ecode2 = 0 ;
78299  PyObject * obj0 = 0 ;
78300  PyObject * obj1 = 0 ;
78301 
78302  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int_x_set",&obj0,&obj1)) SWIG_fail;
78303  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
78304  if (!SWIG_IsOK(res1)) {
78305  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int_x_set" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78306  }
78307  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78308  ecode2 = SWIG_AsVal_int(obj1, &val2);
78309  if (!SWIG_IsOK(ecode2)) {
78310  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_int_x_set" "', argument " "2"" of type '" "int""'");
78311  }
78312  arg2 = static_cast< int >(val2);
78313  if (arg1) (arg1)->x = arg2;
78314  resultobj = SWIG_Py_Void();
78315  return resultobj;
78316 fail:
78317  return NULL;
78318 }
78319 
78320 
78321 SWIGINTERN PyObject *_wrap_CStdPoint_int_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78322  PyObject *resultobj = 0;
78323  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78324  void *argp1 = 0 ;
78325  int res1 = 0 ;
78326  PyObject * obj0 = 0 ;
78327  int result;
78328 
78329  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_int_x_get",&obj0)) SWIG_fail;
78330  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
78331  if (!SWIG_IsOK(res1)) {
78332  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int_x_get" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78333  }
78334  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78335  result = (int) ((arg1)->x);
78336  resultobj = SWIG_From_int(static_cast< int >(result));
78337  return resultobj;
78338 fail:
78339  return NULL;
78340 }
78341 
78342 
78343 SWIGINTERN PyObject *_wrap_CStdPoint_int_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78344  PyObject *resultobj = 0;
78345  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78346  int arg2 ;
78347  void *argp1 = 0 ;
78348  int res1 = 0 ;
78349  int val2 ;
78350  int ecode2 = 0 ;
78351  PyObject * obj0 = 0 ;
78352  PyObject * obj1 = 0 ;
78353 
78354  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int_y_set",&obj0,&obj1)) SWIG_fail;
78355  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
78356  if (!SWIG_IsOK(res1)) {
78357  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int_y_set" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78358  }
78359  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78360  ecode2 = SWIG_AsVal_int(obj1, &val2);
78361  if (!SWIG_IsOK(ecode2)) {
78362  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_int_y_set" "', argument " "2"" of type '" "int""'");
78363  }
78364  arg2 = static_cast< int >(val2);
78365  if (arg1) (arg1)->y = arg2;
78366  resultobj = SWIG_Py_Void();
78367  return resultobj;
78368 fail:
78369  return NULL;
78370 }
78371 
78372 
78373 SWIGINTERN PyObject *_wrap_CStdPoint_int_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78374  PyObject *resultobj = 0;
78375  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78376  void *argp1 = 0 ;
78377  int res1 = 0 ;
78378  PyObject * obj0 = 0 ;
78379  int result;
78380 
78381  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_int_y_get",&obj0)) SWIG_fail;
78382  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
78383  if (!SWIG_IsOK(res1)) {
78384  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int_y_get" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78385  }
78386  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78387  result = (int) ((arg1)->y);
78388  resultobj = SWIG_From_int(static_cast< int >(result));
78389  return resultobj;
78390 fail:
78391  return NULL;
78392 }
78393 
78394 
78395 SWIGINTERN PyObject *_wrap_CStdPoint_int_z_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78396  PyObject *resultobj = 0;
78397  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78398  int arg2 ;
78399  void *argp1 = 0 ;
78400  int res1 = 0 ;
78401  int val2 ;
78402  int ecode2 = 0 ;
78403  PyObject * obj0 = 0 ;
78404  PyObject * obj1 = 0 ;
78405 
78406  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int_z_set",&obj0,&obj1)) SWIG_fail;
78407  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
78408  if (!SWIG_IsOK(res1)) {
78409  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int_z_set" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78410  }
78411  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78412  ecode2 = SWIG_AsVal_int(obj1, &val2);
78413  if (!SWIG_IsOK(ecode2)) {
78414  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_int_z_set" "', argument " "2"" of type '" "int""'");
78415  }
78416  arg2 = static_cast< int >(val2);
78417  if (arg1) (arg1)->z = arg2;
78418  resultobj = SWIG_Py_Void();
78419  return resultobj;
78420 fail:
78421  return NULL;
78422 }
78423 
78424 
78425 SWIGINTERN PyObject *_wrap_CStdPoint_int_z_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78426  PyObject *resultobj = 0;
78427  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78428  void *argp1 = 0 ;
78429  int res1 = 0 ;
78430  PyObject * obj0 = 0 ;
78431  int result;
78432 
78433  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_int_z_get",&obj0)) SWIG_fail;
78434  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
78435  if (!SWIG_IsOK(res1)) {
78436  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int_z_get" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78437  }
78438  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78439  result = (int) ((arg1)->z);
78440  resultobj = SWIG_From_int(static_cast< int >(result));
78441  return resultobj;
78442 fail:
78443  return NULL;
78444 }
78445 
78446 
78447 SWIGINTERN PyObject *_wrap_new_CStdPoint_int__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78448  PyObject *resultobj = 0;
78449  CStdPoint< int > *result = 0 ;
78450 
78451  if (!PyArg_ParseTuple(args,(char *)":new_CStdPoint_int")) SWIG_fail;
78452  result = (CStdPoint< int > *)new CStdPoint< int >();
78453  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_NEW | 0 );
78454  return resultobj;
78455 fail:
78456  return NULL;
78457 }
78458 
78459 
78460 SWIGINTERN PyObject *_wrap_new_CStdPoint_int__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78461  PyObject *resultobj = 0;
78462  int arg1 ;
78463  int arg2 ;
78464  int arg3 ;
78465  int val1 ;
78466  int ecode1 = 0 ;
78467  int val2 ;
78468  int ecode2 = 0 ;
78469  int val3 ;
78470  int ecode3 = 0 ;
78471  PyObject * obj0 = 0 ;
78472  PyObject * obj1 = 0 ;
78473  PyObject * obj2 = 0 ;
78474  CStdPoint< int > *result = 0 ;
78475 
78476  if (!PyArg_ParseTuple(args,(char *)"OOO:new_CStdPoint_int",&obj0,&obj1,&obj2)) SWIG_fail;
78477  ecode1 = SWIG_AsVal_int(obj0, &val1);
78478  if (!SWIG_IsOK(ecode1)) {
78479  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdPoint_int" "', argument " "1"" of type '" "int""'");
78480  }
78481  arg1 = static_cast< int >(val1);
78482  ecode2 = SWIG_AsVal_int(obj1, &val2);
78483  if (!SWIG_IsOK(ecode2)) {
78484  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CStdPoint_int" "', argument " "2"" of type '" "int""'");
78485  }
78486  arg2 = static_cast< int >(val2);
78487  ecode3 = SWIG_AsVal_int(obj2, &val3);
78488  if (!SWIG_IsOK(ecode3)) {
78489  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CStdPoint_int" "', argument " "3"" of type '" "int""'");
78490  }
78491  arg3 = static_cast< int >(val3);
78492  result = (CStdPoint< int > *)new CStdPoint< int >(arg1,arg2,arg3);
78493  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_NEW | 0 );
78494  return resultobj;
78495 fail:
78496  return NULL;
78497 }
78498 
78499 
78500 SWIGINTERN PyObject *_wrap_new_CStdPoint_int(PyObject *self, PyObject *args) {
78501  int argc;
78502  PyObject *argv[4];
78503  int ii;
78504 
78505  if (!PyTuple_Check(args)) SWIG_fail;
78506  argc = args ? (int)PyObject_Length(args) : 0;
78507  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
78508  argv[ii] = PyTuple_GET_ITEM(args,ii);
78509  }
78510  if (argc == 0) {
78511  return _wrap_new_CStdPoint_int__SWIG_0(self, args);
78512  }
78513  if (argc == 3) {
78514  int _v;
78515  {
78516  int res = SWIG_AsVal_int(argv[0], NULL);
78517  _v = SWIG_CheckState(res);
78518  }
78519  if (_v) {
78520  {
78521  int res = SWIG_AsVal_int(argv[1], NULL);
78522  _v = SWIG_CheckState(res);
78523  }
78524  if (_v) {
78525  {
78526  int res = SWIG_AsVal_int(argv[2], NULL);
78527  _v = SWIG_CheckState(res);
78528  }
78529  if (_v) {
78530  return _wrap_new_CStdPoint_int__SWIG_1(self, args);
78531  }
78532  }
78533  }
78534  }
78535 
78536 fail:
78537  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_CStdPoint_int'.\n"
78538  " Possible C/C++ prototypes are:\n"
78539  " CStdPoint< int >::CStdPoint()\n"
78540  " CStdPoint< int >::CStdPoint(int,int,int)\n");
78541  return 0;
78542 }
78543 
78544 
78545 SWIGINTERN PyObject *_wrap_CStdPoint_int_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78546  PyObject *resultobj = 0;
78547  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78548  int arg2 ;
78549  int arg3 ;
78550  int arg4 ;
78551  void *argp1 = 0 ;
78552  int res1 = 0 ;
78553  int val2 ;
78554  int ecode2 = 0 ;
78555  int val3 ;
78556  int ecode3 = 0 ;
78557  int val4 ;
78558  int ecode4 = 0 ;
78559  PyObject * obj0 = 0 ;
78560  PyObject * obj1 = 0 ;
78561  PyObject * obj2 = 0 ;
78562  PyObject * obj3 = 0 ;
78563 
78564  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdPoint_int_Set",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
78565  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
78566  if (!SWIG_IsOK(res1)) {
78567  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int_Set" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78568  }
78569  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78570  ecode2 = SWIG_AsVal_int(obj1, &val2);
78571  if (!SWIG_IsOK(ecode2)) {
78572  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_int_Set" "', argument " "2"" of type '" "int""'");
78573  }
78574  arg2 = static_cast< int >(val2);
78575  ecode3 = SWIG_AsVal_int(obj2, &val3);
78576  if (!SWIG_IsOK(ecode3)) {
78577  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdPoint_int_Set" "', argument " "3"" of type '" "int""'");
78578  }
78579  arg3 = static_cast< int >(val3);
78580  ecode4 = SWIG_AsVal_int(obj3, &val4);
78581  if (!SWIG_IsOK(ecode4)) {
78582  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdPoint_int_Set" "', argument " "4"" of type '" "int""'");
78583  }
78584  arg4 = static_cast< int >(val4);
78585  (arg1)->Set(arg2,arg3,arg4);
78586  resultobj = SWIG_Py_Void();
78587  return resultobj;
78588 fail:
78589  return NULL;
78590 }
78591 
78592 
78593 SWIGINTERN PyObject *_wrap_CStdPoint_int___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78594  PyObject *resultobj = 0;
78595  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78596  CStdPoint< int > *arg2 = 0 ;
78597  void *argp1 = 0 ;
78598  int res1 = 0 ;
78599  void *argp2 = 0 ;
78600  int res2 = 0 ;
78601  PyObject * obj0 = 0 ;
78602  PyObject * obj1 = 0 ;
78603  bool result;
78604 
78605  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___eq__",&obj0,&obj1)) SWIG_fail;
78606  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
78607  if (!SWIG_IsOK(res1)) {
78608  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___eq__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78609  }
78610  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78611  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_int_t, 0 | 0);
78612  if (!SWIG_IsOK(res2)) {
78613  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_int___eq__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78614  }
78615  if (!argp2) {
78616  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_int___eq__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78617  }
78618  arg2 = reinterpret_cast< CStdPoint< int > * >(argp2);
78619  result = (bool)(arg1)->operator ==((CStdPoint< int > const &)*arg2);
78620  resultobj = SWIG_From_bool(static_cast< bool >(result));
78621  return resultobj;
78622 fail:
78623  return NULL;
78624 }
78625 
78626 
78627 SWIGINTERN PyObject *_wrap_CStdPoint_int___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78628  PyObject *resultobj = 0;
78629  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78630  CStdPoint< int > *arg2 = 0 ;
78631  void *argp1 = 0 ;
78632  int res1 = 0 ;
78633  void *argp2 = 0 ;
78634  int res2 = 0 ;
78635  PyObject * obj0 = 0 ;
78636  PyObject * obj1 = 0 ;
78637  bool result;
78638 
78639  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___ne__",&obj0,&obj1)) SWIG_fail;
78640  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
78641  if (!SWIG_IsOK(res1)) {
78642  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___ne__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78643  }
78644  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78645  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_int_t, 0 | 0);
78646  if (!SWIG_IsOK(res2)) {
78647  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_int___ne__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78648  }
78649  if (!argp2) {
78650  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_int___ne__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78651  }
78652  arg2 = reinterpret_cast< CStdPoint< int > * >(argp2);
78653  result = (bool)(arg1)->operator !=((CStdPoint< int > const &)*arg2);
78654  resultobj = SWIG_From_bool(static_cast< bool >(result));
78655  return resultobj;
78656 fail:
78657  return NULL;
78658 }
78659 
78660 
78661 SWIGINTERN PyObject *_wrap_CStdPoint_int_Equal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78662  PyObject *resultobj = 0;
78663  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78664  CStdPoint< int > *arg2 = 0 ;
78665  double arg3 ;
78666  void *argp1 = 0 ;
78667  int res1 = 0 ;
78668  void *argp2 = 0 ;
78669  int res2 = 0 ;
78670  double val3 ;
78671  int ecode3 = 0 ;
78672  PyObject * obj0 = 0 ;
78673  PyObject * obj1 = 0 ;
78674  PyObject * obj2 = 0 ;
78675  bool result;
78676 
78677  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPoint_int_Equal",&obj0,&obj1,&obj2)) SWIG_fail;
78678  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
78679  if (!SWIG_IsOK(res1)) {
78680  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int_Equal" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78681  }
78682  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78683  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_int_t, 0 | 0);
78684  if (!SWIG_IsOK(res2)) {
78685  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_int_Equal" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78686  }
78687  if (!argp2) {
78688  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_int_Equal" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78689  }
78690  arg2 = reinterpret_cast< CStdPoint< int > * >(argp2);
78691  ecode3 = SWIG_AsVal_double(obj2, &val3);
78692  if (!SWIG_IsOK(ecode3)) {
78693  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdPoint_int_Equal" "', argument " "3"" of type '" "double""'");
78694  }
78695  arg3 = static_cast< double >(val3);
78696  result = (bool)(arg1)->Equal((CStdPoint< int > const &)*arg2,arg3);
78697  resultobj = SWIG_From_bool(static_cast< bool >(result));
78698  return resultobj;
78699 fail:
78700  return NULL;
78701 }
78702 
78703 
78704 SWIGINTERN PyObject *_wrap_CStdPoint_int___iadd____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78705  PyObject *resultobj = 0;
78706  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78707  CStdPoint< int > *arg2 = 0 ;
78708  void *argp1 = 0 ;
78709  int res1 = 0 ;
78710  void *argp2 = 0 ;
78711  int res2 = 0 ;
78712  PyObject * obj0 = 0 ;
78713  PyObject * obj1 = 0 ;
78714 
78715  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___iadd__",&obj0,&obj1)) SWIG_fail;
78716  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_DISOWN | 0 );
78717  if (!SWIG_IsOK(res1)) {
78718  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___iadd__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78719  }
78720  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78721  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_int_t, 0 | 0);
78722  if (!SWIG_IsOK(res2)) {
78723  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_int___iadd__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78724  }
78725  if (!argp2) {
78726  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_int___iadd__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78727  }
78728  arg2 = reinterpret_cast< CStdPoint< int > * >(argp2);
78729  (arg1)->operator +=((CStdPoint< int > const &)*arg2);
78730  resultobj = SWIG_Py_Void();
78731  return resultobj;
78732 fail:
78733  return NULL;
78734 }
78735 
78736 
78737 SWIGINTERN PyObject *_wrap_CStdPoint_int___isub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78738  PyObject *resultobj = 0;
78739  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78740  CStdPoint< int > *arg2 = 0 ;
78741  void *argp1 = 0 ;
78742  int res1 = 0 ;
78743  void *argp2 = 0 ;
78744  int res2 = 0 ;
78745  PyObject * obj0 = 0 ;
78746  PyObject * obj1 = 0 ;
78747 
78748  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___isub__",&obj0,&obj1)) SWIG_fail;
78749  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_DISOWN | 0 );
78750  if (!SWIG_IsOK(res1)) {
78751  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___isub__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78752  }
78753  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78754  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_int_t, 0 | 0);
78755  if (!SWIG_IsOK(res2)) {
78756  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_int___isub__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78757  }
78758  if (!argp2) {
78759  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_int___isub__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78760  }
78761  arg2 = reinterpret_cast< CStdPoint< int > * >(argp2);
78762  (arg1)->operator -=((CStdPoint< int > const &)*arg2);
78763  resultobj = SWIG_Py_Void();
78764  return resultobj;
78765 fail:
78766  return NULL;
78767 }
78768 
78769 
78770 SWIGINTERN PyObject *_wrap_CStdPoint_int___add____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78771  PyObject *resultobj = 0;
78772  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78773  CStdPoint< int > *arg2 = 0 ;
78774  void *argp1 = 0 ;
78775  int res1 = 0 ;
78776  void *argp2 = 0 ;
78777  int res2 = 0 ;
78778  PyObject * obj0 = 0 ;
78779  PyObject * obj1 = 0 ;
78780  CStdPoint< int > result;
78781 
78782  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___add__",&obj0,&obj1)) SWIG_fail;
78783  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
78784  if (!SWIG_IsOK(res1)) {
78785  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___add__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78786  }
78787  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78788  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_int_t, 0 | 0);
78789  if (!SWIG_IsOK(res2)) {
78790  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_int___add__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78791  }
78792  if (!argp2) {
78793  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_int___add__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78794  }
78795  arg2 = reinterpret_cast< CStdPoint< int > * >(argp2);
78796  result = (arg1)->operator +((CStdPoint< int > const &)*arg2);
78797  resultobj = SWIG_NewPointerObj((new CStdPoint< int >(static_cast< const CStdPoint< int >& >(result))), SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_OWN | 0 );
78798  return resultobj;
78799 fail:
78800  return NULL;
78801 }
78802 
78803 
78804 SWIGINTERN PyObject *_wrap_CStdPoint_int___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78805  PyObject *resultobj = 0;
78806  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78807  CStdPoint< int > *arg2 = 0 ;
78808  void *argp1 = 0 ;
78809  int res1 = 0 ;
78810  void *argp2 = 0 ;
78811  int res2 = 0 ;
78812  PyObject * obj0 = 0 ;
78813  PyObject * obj1 = 0 ;
78814  CStdPoint< int > result;
78815 
78816  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___sub__",&obj0,&obj1)) SWIG_fail;
78817  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
78818  if (!SWIG_IsOK(res1)) {
78819  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___sub__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78820  }
78821  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78822  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_int_t, 0 | 0);
78823  if (!SWIG_IsOK(res2)) {
78824  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_int___sub__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78825  }
78826  if (!argp2) {
78827  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_int___sub__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78828  }
78829  arg2 = reinterpret_cast< CStdPoint< int > * >(argp2);
78830  result = (arg1)->operator -((CStdPoint< int > const &)*arg2);
78831  resultobj = SWIG_NewPointerObj((new CStdPoint< int >(static_cast< const CStdPoint< int >& >(result))), SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_OWN | 0 );
78832  return resultobj;
78833 fail:
78834  return NULL;
78835 }
78836 
78837 
78838 SWIGINTERN PyObject *_wrap_CStdPoint_int___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78839  PyObject *resultobj = 0;
78840  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78841  CStdPoint< int > *arg2 = 0 ;
78842  void *argp1 = 0 ;
78843  int res1 = 0 ;
78844  void *argp2 = 0 ;
78845  int res2 = 0 ;
78846  PyObject * obj0 = 0 ;
78847  PyObject * obj1 = 0 ;
78848  CStdPoint< int > result;
78849 
78850  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___mul__",&obj0,&obj1)) SWIG_fail;
78851  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
78852  if (!SWIG_IsOK(res1)) {
78853  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___mul__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78854  }
78855  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78856  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_int_t, 0 | 0);
78857  if (!SWIG_IsOK(res2)) {
78858  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_int___mul__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78859  }
78860  if (!argp2) {
78861  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_int___mul__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78862  }
78863  arg2 = reinterpret_cast< CStdPoint< int > * >(argp2);
78864  result = (arg1)->operator *((CStdPoint< int > const &)*arg2);
78865  resultobj = SWIG_NewPointerObj((new CStdPoint< int >(static_cast< const CStdPoint< int >& >(result))), SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_OWN | 0 );
78866  return resultobj;
78867 fail:
78868  return NULL;
78869 }
78870 
78871 
78872 SWIGINTERN PyObject *_wrap_CStdPoint_int_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78873  PyObject *resultobj = 0;
78874  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78875  CStdPoint< int > *arg2 = 0 ;
78876  void *argp1 = 0 ;
78877  int res1 = 0 ;
78878  void *argp2 = 0 ;
78879  int res2 = 0 ;
78880  PyObject * obj0 = 0 ;
78881  PyObject * obj1 = 0 ;
78882  float result;
78883 
78884  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int_dot",&obj0,&obj1)) SWIG_fail;
78885  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
78886  if (!SWIG_IsOK(res1)) {
78887  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int_dot" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78888  }
78889  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78890  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_int_t, 0 | 0);
78891  if (!SWIG_IsOK(res2)) {
78892  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_int_dot" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78893  }
78894  if (!argp2) {
78895  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_int_dot" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78896  }
78897  arg2 = reinterpret_cast< CStdPoint< int > * >(argp2);
78898  result = (float)(arg1)->dot((CStdPoint< int > const &)*arg2);
78899  resultobj = SWIG_From_float(static_cast< float >(result));
78900  return resultobj;
78901 fail:
78902  return NULL;
78903 }
78904 
78905 
78906 SWIGINTERN PyObject *_wrap_CStdPoint_int___div____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78907  PyObject *resultobj = 0;
78908  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78909  CStdPoint< int > *arg2 = 0 ;
78910  void *argp1 = 0 ;
78911  int res1 = 0 ;
78912  void *argp2 = 0 ;
78913  int res2 = 0 ;
78914  PyObject * obj0 = 0 ;
78915  PyObject * obj1 = 0 ;
78916  CStdPoint< int > result;
78917 
78918  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___div__",&obj0,&obj1)) SWIG_fail;
78919  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
78920  if (!SWIG_IsOK(res1)) {
78921  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___div__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78922  }
78923  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78924  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_int_t, 0 | 0);
78925  if (!SWIG_IsOK(res2)) {
78926  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_int___div__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78927  }
78928  if (!argp2) {
78929  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_int___div__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
78930  }
78931  arg2 = reinterpret_cast< CStdPoint< int > * >(argp2);
78932  result = (arg1)->operator /((CStdPoint< int > const &)*arg2);
78933  resultobj = SWIG_NewPointerObj((new CStdPoint< int >(static_cast< const CStdPoint< int >& >(result))), SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_OWN | 0 );
78934  return resultobj;
78935 fail:
78936  return NULL;
78937 }
78938 
78939 
78940 SWIGINTERN PyObject *_wrap_CStdPoint_int___iadd____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
78941  PyObject *resultobj = 0;
78942  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
78943  float arg2 ;
78944  void *argp1 = 0 ;
78945  int res1 = 0 ;
78946  float val2 ;
78947  int ecode2 = 0 ;
78948  PyObject * obj0 = 0 ;
78949  PyObject * obj1 = 0 ;
78950 
78951  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___iadd__",&obj0,&obj1)) SWIG_fail;
78952  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_DISOWN | 0 );
78953  if (!SWIG_IsOK(res1)) {
78954  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___iadd__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
78955  }
78956  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
78957  ecode2 = SWIG_AsVal_float(obj1, &val2);
78958  if (!SWIG_IsOK(ecode2)) {
78959  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_int___iadd__" "', argument " "2"" of type '" "float""'");
78960  }
78961  arg2 = static_cast< float >(val2);
78962  (arg1)->operator +=(arg2);
78963  resultobj = SWIG_Py_Void();
78964  return resultobj;
78965 fail:
78966  return NULL;
78967 }
78968 
78969 
78970 SWIGINTERN PyObject *_wrap_CStdPoint_int___iadd__(PyObject *self, PyObject *args) {
78971  int argc;
78972  PyObject *argv[3];
78973  int ii;
78974 
78975  if (!PyTuple_Check(args)) SWIG_fail;
78976  argc = args ? (int)PyObject_Length(args) : 0;
78977  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
78978  argv[ii] = PyTuple_GET_ITEM(args,ii);
78979  }
78980  if (argc == 2) {
78981  int _v;
78982  void *vptr = 0;
78983  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
78984  _v = SWIG_CheckState(res);
78985  if (_v) {
78986  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_int_t, 0);
78987  _v = SWIG_CheckState(res);
78988  if (_v) {
78989  return _wrap_CStdPoint_int___iadd____SWIG_0(self, args);
78990  }
78991  }
78992  }
78993  if (argc == 2) {
78994  int _v;
78995  void *vptr = 0;
78996  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
78997  _v = SWIG_CheckState(res);
78998  if (_v) {
78999  {
79000  int res = SWIG_AsVal_float(argv[1], NULL);
79001  _v = SWIG_CheckState(res);
79002  }
79003  if (_v) {
79004  return _wrap_CStdPoint_int___iadd____SWIG_1(self, args);
79005  }
79006  }
79007  }
79008 
79009 fail:
79010  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPoint_int___iadd__'.\n"
79011  " Possible C/C++ prototypes are:\n"
79012  " CStdPoint< int >::operator +=(CStdPoint< int > const &)\n"
79013  " CStdPoint< int >::operator +=(float const)\n");
79014  return 0;
79015 }
79016 
79017 
79018 SWIGINTERN PyObject *_wrap_CStdPoint_int___isub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79019  PyObject *resultobj = 0;
79020  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
79021  float arg2 ;
79022  void *argp1 = 0 ;
79023  int res1 = 0 ;
79024  float val2 ;
79025  int ecode2 = 0 ;
79026  PyObject * obj0 = 0 ;
79027  PyObject * obj1 = 0 ;
79028 
79029  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___isub__",&obj0,&obj1)) SWIG_fail;
79030  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_DISOWN | 0 );
79031  if (!SWIG_IsOK(res1)) {
79032  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___isub__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
79033  }
79034  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
79035  ecode2 = SWIG_AsVal_float(obj1, &val2);
79036  if (!SWIG_IsOK(ecode2)) {
79037  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_int___isub__" "', argument " "2"" of type '" "float""'");
79038  }
79039  arg2 = static_cast< float >(val2);
79040  (arg1)->operator -=(arg2);
79041  resultobj = SWIG_Py_Void();
79042  return resultobj;
79043 fail:
79044  return NULL;
79045 }
79046 
79047 
79048 SWIGINTERN PyObject *_wrap_CStdPoint_int___isub__(PyObject *self, PyObject *args) {
79049  int argc;
79050  PyObject *argv[3];
79051  int ii;
79052 
79053  if (!PyTuple_Check(args)) SWIG_fail;
79054  argc = args ? (int)PyObject_Length(args) : 0;
79055  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
79056  argv[ii] = PyTuple_GET_ITEM(args,ii);
79057  }
79058  if (argc == 2) {
79059  int _v;
79060  void *vptr = 0;
79061  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
79062  _v = SWIG_CheckState(res);
79063  if (_v) {
79064  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_int_t, 0);
79065  _v = SWIG_CheckState(res);
79066  if (_v) {
79067  return _wrap_CStdPoint_int___isub____SWIG_0(self, args);
79068  }
79069  }
79070  }
79071  if (argc == 2) {
79072  int _v;
79073  void *vptr = 0;
79074  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
79075  _v = SWIG_CheckState(res);
79076  if (_v) {
79077  {
79078  int res = SWIG_AsVal_float(argv[1], NULL);
79079  _v = SWIG_CheckState(res);
79080  }
79081  if (_v) {
79082  return _wrap_CStdPoint_int___isub____SWIG_1(self, args);
79083  }
79084  }
79085  }
79086 
79087 fail:
79088  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPoint_int___isub__'.\n"
79089  " Possible C/C++ prototypes are:\n"
79090  " CStdPoint< int >::operator -=(CStdPoint< int > const &)\n"
79091  " CStdPoint< int >::operator -=(float const)\n");
79092  return 0;
79093 }
79094 
79095 
79096 SWIGINTERN PyObject *_wrap_CStdPoint_int___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79097  PyObject *resultobj = 0;
79098  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
79099  float arg2 ;
79100  void *argp1 = 0 ;
79101  int res1 = 0 ;
79102  float val2 ;
79103  int ecode2 = 0 ;
79104  PyObject * obj0 = 0 ;
79105  PyObject * obj1 = 0 ;
79106 
79107  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___imul__",&obj0,&obj1)) SWIG_fail;
79108  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_DISOWN | 0 );
79109  if (!SWIG_IsOK(res1)) {
79110  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___imul__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
79111  }
79112  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
79113  ecode2 = SWIG_AsVal_float(obj1, &val2);
79114  if (!SWIG_IsOK(ecode2)) {
79115  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_int___imul__" "', argument " "2"" of type '" "float""'");
79116  }
79117  arg2 = static_cast< float >(val2);
79118  (arg1)->operator *=(arg2);
79119  resultobj = SWIG_Py_Void();
79120  return resultobj;
79121 fail:
79122  return NULL;
79123 }
79124 
79125 
79126 SWIGINTERN PyObject *_wrap_CStdPoint_int___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79127  PyObject *resultobj = 0;
79128  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
79129  float arg2 ;
79130  void *argp1 = 0 ;
79131  int res1 = 0 ;
79132  float val2 ;
79133  int ecode2 = 0 ;
79134  PyObject * obj0 = 0 ;
79135  PyObject * obj1 = 0 ;
79136 
79137  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___idiv__",&obj0,&obj1)) SWIG_fail;
79138  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_DISOWN | 0 );
79139  if (!SWIG_IsOK(res1)) {
79140  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___idiv__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
79141  }
79142  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
79143  ecode2 = SWIG_AsVal_float(obj1, &val2);
79144  if (!SWIG_IsOK(ecode2)) {
79145  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_int___idiv__" "', argument " "2"" of type '" "float""'");
79146  }
79147  arg2 = static_cast< float >(val2);
79148  (arg1)->operator /=(arg2);
79149  resultobj = SWIG_Py_Void();
79150  return resultobj;
79151 fail:
79152  return NULL;
79153 }
79154 
79155 
79156 SWIGINTERN PyObject *_wrap_CStdPoint_int___add____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79157  PyObject *resultobj = 0;
79158  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
79159  float arg2 ;
79160  void *argp1 = 0 ;
79161  int res1 = 0 ;
79162  float val2 ;
79163  int ecode2 = 0 ;
79164  PyObject * obj0 = 0 ;
79165  PyObject * obj1 = 0 ;
79166  CStdPoint< int > result;
79167 
79168  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___add__",&obj0,&obj1)) SWIG_fail;
79169  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
79170  if (!SWIG_IsOK(res1)) {
79171  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___add__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
79172  }
79173  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
79174  ecode2 = SWIG_AsVal_float(obj1, &val2);
79175  if (!SWIG_IsOK(ecode2)) {
79176  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_int___add__" "', argument " "2"" of type '" "float""'");
79177  }
79178  arg2 = static_cast< float >(val2);
79179  result = (arg1)->operator +(arg2);
79180  resultobj = SWIG_NewPointerObj((new CStdPoint< int >(static_cast< const CStdPoint< int >& >(result))), SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_OWN | 0 );
79181  return resultobj;
79182 fail:
79183  return NULL;
79184 }
79185 
79186 
79187 SWIGINTERN PyObject *_wrap_CStdPoint_int___add__(PyObject *self, PyObject *args) {
79188  int argc;
79189  PyObject *argv[3];
79190  int ii;
79191 
79192  if (!PyTuple_Check(args)) SWIG_fail;
79193  argc = args ? (int)PyObject_Length(args) : 0;
79194  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
79195  argv[ii] = PyTuple_GET_ITEM(args,ii);
79196  }
79197  if (argc == 2) {
79198  int _v;
79199  void *vptr = 0;
79200  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
79201  _v = SWIG_CheckState(res);
79202  if (_v) {
79203  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_int_t, 0);
79204  _v = SWIG_CheckState(res);
79205  if (_v) {
79206  return _wrap_CStdPoint_int___add____SWIG_0(self, args);
79207  }
79208  }
79209  }
79210  if (argc == 2) {
79211  int _v;
79212  void *vptr = 0;
79213  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
79214  _v = SWIG_CheckState(res);
79215  if (_v) {
79216  {
79217  int res = SWIG_AsVal_float(argv[1], NULL);
79218  _v = SWIG_CheckState(res);
79219  }
79220  if (_v) {
79221  return _wrap_CStdPoint_int___add____SWIG_1(self, args);
79222  }
79223  }
79224  }
79225 
79226 fail:
79227  Py_INCREF(Py_NotImplemented);
79228  return Py_NotImplemented;
79229 }
79230 
79231 
79232 SWIGINTERN PyObject *_wrap_CStdPoint_int___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79233  PyObject *resultobj = 0;
79234  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
79235  float arg2 ;
79236  void *argp1 = 0 ;
79237  int res1 = 0 ;
79238  float val2 ;
79239  int ecode2 = 0 ;
79240  PyObject * obj0 = 0 ;
79241  PyObject * obj1 = 0 ;
79242  CStdPoint< int > result;
79243 
79244  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___sub__",&obj0,&obj1)) SWIG_fail;
79245  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
79246  if (!SWIG_IsOK(res1)) {
79247  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___sub__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
79248  }
79249  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
79250  ecode2 = SWIG_AsVal_float(obj1, &val2);
79251  if (!SWIG_IsOK(ecode2)) {
79252  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_int___sub__" "', argument " "2"" of type '" "float""'");
79253  }
79254  arg2 = static_cast< float >(val2);
79255  result = (arg1)->operator -(arg2);
79256  resultobj = SWIG_NewPointerObj((new CStdPoint< int >(static_cast< const CStdPoint< int >& >(result))), SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_OWN | 0 );
79257  return resultobj;
79258 fail:
79259  return NULL;
79260 }
79261 
79262 
79263 SWIGINTERN PyObject *_wrap_CStdPoint_int___sub__(PyObject *self, PyObject *args) {
79264  int argc;
79265  PyObject *argv[3];
79266  int ii;
79267 
79268  if (!PyTuple_Check(args)) SWIG_fail;
79269  argc = args ? (int)PyObject_Length(args) : 0;
79270  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
79271  argv[ii] = PyTuple_GET_ITEM(args,ii);
79272  }
79273  if (argc == 2) {
79274  int _v;
79275  void *vptr = 0;
79276  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
79277  _v = SWIG_CheckState(res);
79278  if (_v) {
79279  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_int_t, 0);
79280  _v = SWIG_CheckState(res);
79281  if (_v) {
79282  return _wrap_CStdPoint_int___sub____SWIG_0(self, args);
79283  }
79284  }
79285  }
79286  if (argc == 2) {
79287  int _v;
79288  void *vptr = 0;
79289  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
79290  _v = SWIG_CheckState(res);
79291  if (_v) {
79292  {
79293  int res = SWIG_AsVal_float(argv[1], NULL);
79294  _v = SWIG_CheckState(res);
79295  }
79296  if (_v) {
79297  return _wrap_CStdPoint_int___sub____SWIG_1(self, args);
79298  }
79299  }
79300  }
79301 
79302 fail:
79303  Py_INCREF(Py_NotImplemented);
79304  return Py_NotImplemented;
79305 }
79306 
79307 
79308 SWIGINTERN PyObject *_wrap_CStdPoint_int___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79309  PyObject *resultobj = 0;
79310  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
79311  float arg2 ;
79312  void *argp1 = 0 ;
79313  int res1 = 0 ;
79314  float val2 ;
79315  int ecode2 = 0 ;
79316  PyObject * obj0 = 0 ;
79317  PyObject * obj1 = 0 ;
79318  CStdPoint< int > result;
79319 
79320  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___mul__",&obj0,&obj1)) SWIG_fail;
79321  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
79322  if (!SWIG_IsOK(res1)) {
79323  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___mul__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
79324  }
79325  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
79326  ecode2 = SWIG_AsVal_float(obj1, &val2);
79327  if (!SWIG_IsOK(ecode2)) {
79328  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_int___mul__" "', argument " "2"" of type '" "float""'");
79329  }
79330  arg2 = static_cast< float >(val2);
79331  result = (arg1)->operator *(arg2);
79332  resultobj = SWIG_NewPointerObj((new CStdPoint< int >(static_cast< const CStdPoint< int >& >(result))), SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_OWN | 0 );
79333  return resultobj;
79334 fail:
79335  return NULL;
79336 }
79337 
79338 
79339 SWIGINTERN PyObject *_wrap_CStdPoint_int___mul__(PyObject *self, PyObject *args) {
79340  int argc;
79341  PyObject *argv[3];
79342  int ii;
79343 
79344  if (!PyTuple_Check(args)) SWIG_fail;
79345  argc = args ? (int)PyObject_Length(args) : 0;
79346  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
79347  argv[ii] = PyTuple_GET_ITEM(args,ii);
79348  }
79349  if (argc == 2) {
79350  int _v;
79351  void *vptr = 0;
79352  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
79353  _v = SWIG_CheckState(res);
79354  if (_v) {
79355  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_int_t, 0);
79356  _v = SWIG_CheckState(res);
79357  if (_v) {
79358  return _wrap_CStdPoint_int___mul____SWIG_0(self, args);
79359  }
79360  }
79361  }
79362  if (argc == 2) {
79363  int _v;
79364  void *vptr = 0;
79365  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
79366  _v = SWIG_CheckState(res);
79367  if (_v) {
79368  {
79369  int res = SWIG_AsVal_float(argv[1], NULL);
79370  _v = SWIG_CheckState(res);
79371  }
79372  if (_v) {
79373  return _wrap_CStdPoint_int___mul____SWIG_1(self, args);
79374  }
79375  }
79376  }
79377 
79378 fail:
79379  Py_INCREF(Py_NotImplemented);
79380  return Py_NotImplemented;
79381 }
79382 
79383 
79384 SWIGINTERN PyObject *_wrap_CStdPoint_int___div____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79385  PyObject *resultobj = 0;
79386  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
79387  float arg2 ;
79388  void *argp1 = 0 ;
79389  int res1 = 0 ;
79390  float val2 ;
79391  int ecode2 = 0 ;
79392  PyObject * obj0 = 0 ;
79393  PyObject * obj1 = 0 ;
79394  CStdPoint< int > result;
79395 
79396  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___div__",&obj0,&obj1)) SWIG_fail;
79397  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
79398  if (!SWIG_IsOK(res1)) {
79399  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___div__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
79400  }
79401  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
79402  ecode2 = SWIG_AsVal_float(obj1, &val2);
79403  if (!SWIG_IsOK(ecode2)) {
79404  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_int___div__" "', argument " "2"" of type '" "float""'");
79405  }
79406  arg2 = static_cast< float >(val2);
79407  result = (arg1)->operator /(arg2);
79408  resultobj = SWIG_NewPointerObj((new CStdPoint< int >(static_cast< const CStdPoint< int >& >(result))), SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_OWN | 0 );
79409  return resultobj;
79410 fail:
79411  return NULL;
79412 }
79413 
79414 
79415 SWIGINTERN PyObject *_wrap_CStdPoint_int___div__(PyObject *self, PyObject *args) {
79416  int argc;
79417  PyObject *argv[3];
79418  int ii;
79419 
79420  if (!PyTuple_Check(args)) SWIG_fail;
79421  argc = args ? (int)PyObject_Length(args) : 0;
79422  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
79423  argv[ii] = PyTuple_GET_ITEM(args,ii);
79424  }
79425  if (argc == 2) {
79426  int _v;
79427  void *vptr = 0;
79428  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
79429  _v = SWIG_CheckState(res);
79430  if (_v) {
79431  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_int_t, 0);
79432  _v = SWIG_CheckState(res);
79433  if (_v) {
79434  return _wrap_CStdPoint_int___div____SWIG_0(self, args);
79435  }
79436  }
79437  }
79438  if (argc == 2) {
79439  int _v;
79440  void *vptr = 0;
79441  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
79442  _v = SWIG_CheckState(res);
79443  if (_v) {
79444  {
79445  int res = SWIG_AsVal_float(argv[1], NULL);
79446  _v = SWIG_CheckState(res);
79447  }
79448  if (_v) {
79449  return _wrap_CStdPoint_int___div____SWIG_1(self, args);
79450  }
79451  }
79452  }
79453 
79454 fail:
79455  Py_INCREF(Py_NotImplemented);
79456  return Py_NotImplemented;
79457 }
79458 
79459 
79460 SWIGINTERN PyObject *_wrap_CStdPoint_int___xor__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79461  PyObject *resultobj = 0;
79462  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
79463  CStdPoint< int > *arg2 = 0 ;
79464  void *argp1 = 0 ;
79465  int res1 = 0 ;
79466  void *argp2 = 0 ;
79467  int res2 = 0 ;
79468  PyObject * obj0 = 0 ;
79469  PyObject * obj1 = 0 ;
79470  CStdPoint< int > result;
79471 
79472  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int___xor__",&obj0,&obj1)) SWIG_fail;
79473  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
79474  if (!SWIG_IsOK(res1)) {
79475  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int___xor__" "', argument " "1"" of type '" "CStdPoint< int > *""'");
79476  }
79477  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
79478  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_int_t, 0 | 0);
79479  if (!SWIG_IsOK(res2)) {
79480  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_int___xor__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
79481  }
79482  if (!argp2) {
79483  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_int___xor__" "', argument " "2"" of type '" "CStdPoint< int > const &""'");
79484  }
79485  arg2 = reinterpret_cast< CStdPoint< int > * >(argp2);
79486  result = (arg1)->operator ^((CStdPoint< int > const &)*arg2);
79487  resultobj = SWIG_NewPointerObj((new CStdPoint< int >(static_cast< const CStdPoint< int >& >(result))), SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_OWN | 0 );
79488  return resultobj;
79489 fail:
79490  return NULL;
79491 }
79492 
79493 
79494 SWIGINTERN PyObject *_wrap_CStdPoint_int_Magnitude(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79495  PyObject *resultobj = 0;
79496  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
79497  void *argp1 = 0 ;
79498  int res1 = 0 ;
79499  PyObject * obj0 = 0 ;
79500  double result;
79501 
79502  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_int_Magnitude",&obj0)) SWIG_fail;
79503  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
79504  if (!SWIG_IsOK(res1)) {
79505  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int_Magnitude" "', argument " "1"" of type '" "CStdPoint< int > *""'");
79506  }
79507  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
79508  result = (double)(arg1)->Magnitude();
79509  resultobj = SWIG_From_double(static_cast< double >(result));
79510  return resultobj;
79511 fail:
79512  return NULL;
79513 }
79514 
79515 
79516 SWIGINTERN PyObject *_wrap_CStdPoint_int_Normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79517  PyObject *resultobj = 0;
79518  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
79519  void *argp1 = 0 ;
79520  int res1 = 0 ;
79521  PyObject * obj0 = 0 ;
79522 
79523  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_int_Normalize",&obj0)) SWIG_fail;
79524  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
79525  if (!SWIG_IsOK(res1)) {
79526  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int_Normalize" "', argument " "1"" of type '" "CStdPoint< int > *""'");
79527  }
79528  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
79529  (arg1)->Normalize();
79530  resultobj = SWIG_Py_Void();
79531  return resultobj;
79532 fail:
79533  return NULL;
79534 }
79535 
79536 
79537 SWIGINTERN PyObject *_wrap_CStdPoint_int_ClearNearZero__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79538  PyObject *resultobj = 0;
79539  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
79540  float arg2 ;
79541  void *argp1 = 0 ;
79542  int res1 = 0 ;
79543  float val2 ;
79544  int ecode2 = 0 ;
79545  PyObject * obj0 = 0 ;
79546  PyObject * obj1 = 0 ;
79547 
79548  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_int_ClearNearZero",&obj0,&obj1)) SWIG_fail;
79549  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
79550  if (!SWIG_IsOK(res1)) {
79551  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int_ClearNearZero" "', argument " "1"" of type '" "CStdPoint< int > *""'");
79552  }
79553  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
79554  ecode2 = SWIG_AsVal_float(obj1, &val2);
79555  if (!SWIG_IsOK(ecode2)) {
79556  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_int_ClearNearZero" "', argument " "2"" of type '" "float""'");
79557  }
79558  arg2 = static_cast< float >(val2);
79559  (arg1)->ClearNearZero(arg2);
79560  resultobj = SWIG_Py_Void();
79561  return resultobj;
79562 fail:
79563  return NULL;
79564 }
79565 
79566 
79567 SWIGINTERN PyObject *_wrap_CStdPoint_int_ClearNearZero__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79568  PyObject *resultobj = 0;
79569  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
79570  void *argp1 = 0 ;
79571  int res1 = 0 ;
79572  PyObject * obj0 = 0 ;
79573 
79574  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_int_ClearNearZero",&obj0)) SWIG_fail;
79575  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, 0 | 0 );
79576  if (!SWIG_IsOK(res1)) {
79577  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_int_ClearNearZero" "', argument " "1"" of type '" "CStdPoint< int > *""'");
79578  }
79579  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
79580  (arg1)->ClearNearZero();
79581  resultobj = SWIG_Py_Void();
79582  return resultobj;
79583 fail:
79584  return NULL;
79585 }
79586 
79587 
79588 SWIGINTERN PyObject *_wrap_CStdPoint_int_ClearNearZero(PyObject *self, PyObject *args) {
79589  int argc;
79590  PyObject *argv[3];
79591  int ii;
79592 
79593  if (!PyTuple_Check(args)) SWIG_fail;
79594  argc = args ? (int)PyObject_Length(args) : 0;
79595  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
79596  argv[ii] = PyTuple_GET_ITEM(args,ii);
79597  }
79598  if (argc == 1) {
79599  int _v;
79600  void *vptr = 0;
79601  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
79602  _v = SWIG_CheckState(res);
79603  if (_v) {
79604  return _wrap_CStdPoint_int_ClearNearZero__SWIG_1(self, args);
79605  }
79606  }
79607  if (argc == 2) {
79608  int _v;
79609  void *vptr = 0;
79610  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
79611  _v = SWIG_CheckState(res);
79612  if (_v) {
79613  {
79614  int res = SWIG_AsVal_float(argv[1], NULL);
79615  _v = SWIG_CheckState(res);
79616  }
79617  if (_v) {
79618  return _wrap_CStdPoint_int_ClearNearZero__SWIG_0(self, args);
79619  }
79620  }
79621  }
79622 
79623 fail:
79624  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPoint_int_ClearNearZero'.\n"
79625  " Possible C/C++ prototypes are:\n"
79626  " CStdPoint< int >::ClearNearZero(float)\n"
79627  " CStdPoint< int >::ClearNearZero()\n");
79628  return 0;
79629 }
79630 
79631 
79632 SWIGINTERN PyObject *_wrap_delete_CStdPoint_int(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79633  PyObject *resultobj = 0;
79634  CStdPoint< int > *arg1 = (CStdPoint< int > *) 0 ;
79635  void *argp1 = 0 ;
79636  int res1 = 0 ;
79637  PyObject * obj0 = 0 ;
79638 
79639  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPoint_int",&obj0)) SWIG_fail;
79640  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_int_t, SWIG_POINTER_DISOWN | 0 );
79641  if (!SWIG_IsOK(res1)) {
79642  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPoint_int" "', argument " "1"" of type '" "CStdPoint< int > *""'");
79643  }
79644  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
79645  {
79646  try {
79647  delete arg1;
79648  }
79649  catch(CStdErrorInfo oError)
79650  {
79651  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
79652  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
79653  PyErr_SetString(PyExc_IndexError, strError.c_str());
79654  SWIG_fail;
79655  }
79656  catch(...)
79657  {
79658  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
79659  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
79660  SWIG_fail;
79661  }
79662  }
79663  resultobj = SWIG_Py_Void();
79664  return resultobj;
79665 fail:
79666  return NULL;
79667 }
79668 
79669 
79670 SWIGINTERN PyObject *CStdPoint_int_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79671  PyObject *obj;
79672  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
79673  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPointT_int_t, SWIG_NewClientData(obj));
79674  return SWIG_Py_Void();
79675 }
79676 
79677 SWIGINTERN PyObject *_wrap_CStdPoint_long_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79678  PyObject *resultobj = 0;
79679  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
79680  long arg2 ;
79681  void *argp1 = 0 ;
79682  int res1 = 0 ;
79683  long val2 ;
79684  int ecode2 = 0 ;
79685  PyObject * obj0 = 0 ;
79686  PyObject * obj1 = 0 ;
79687 
79688  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long_x_set",&obj0,&obj1)) SWIG_fail;
79689  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
79690  if (!SWIG_IsOK(res1)) {
79691  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long_x_set" "', argument " "1"" of type '" "CStdPoint< long > *""'");
79692  }
79693  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
79694  ecode2 = SWIG_AsVal_long(obj1, &val2);
79695  if (!SWIG_IsOK(ecode2)) {
79696  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_long_x_set" "', argument " "2"" of type '" "long""'");
79697  }
79698  arg2 = static_cast< long >(val2);
79699  if (arg1) (arg1)->x = arg2;
79700  resultobj = SWIG_Py_Void();
79701  return resultobj;
79702 fail:
79703  return NULL;
79704 }
79705 
79706 
79707 SWIGINTERN PyObject *_wrap_CStdPoint_long_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79708  PyObject *resultobj = 0;
79709  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
79710  void *argp1 = 0 ;
79711  int res1 = 0 ;
79712  PyObject * obj0 = 0 ;
79713  long result;
79714 
79715  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_long_x_get",&obj0)) SWIG_fail;
79716  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
79717  if (!SWIG_IsOK(res1)) {
79718  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long_x_get" "', argument " "1"" of type '" "CStdPoint< long > *""'");
79719  }
79720  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
79721  result = (long) ((arg1)->x);
79722  resultobj = SWIG_From_long(static_cast< long >(result));
79723  return resultobj;
79724 fail:
79725  return NULL;
79726 }
79727 
79728 
79729 SWIGINTERN PyObject *_wrap_CStdPoint_long_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79730  PyObject *resultobj = 0;
79731  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
79732  long arg2 ;
79733  void *argp1 = 0 ;
79734  int res1 = 0 ;
79735  long val2 ;
79736  int ecode2 = 0 ;
79737  PyObject * obj0 = 0 ;
79738  PyObject * obj1 = 0 ;
79739 
79740  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long_y_set",&obj0,&obj1)) SWIG_fail;
79741  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
79742  if (!SWIG_IsOK(res1)) {
79743  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long_y_set" "', argument " "1"" of type '" "CStdPoint< long > *""'");
79744  }
79745  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
79746  ecode2 = SWIG_AsVal_long(obj1, &val2);
79747  if (!SWIG_IsOK(ecode2)) {
79748  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_long_y_set" "', argument " "2"" of type '" "long""'");
79749  }
79750  arg2 = static_cast< long >(val2);
79751  if (arg1) (arg1)->y = arg2;
79752  resultobj = SWIG_Py_Void();
79753  return resultobj;
79754 fail:
79755  return NULL;
79756 }
79757 
79758 
79759 SWIGINTERN PyObject *_wrap_CStdPoint_long_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79760  PyObject *resultobj = 0;
79761  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
79762  void *argp1 = 0 ;
79763  int res1 = 0 ;
79764  PyObject * obj0 = 0 ;
79765  long result;
79766 
79767  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_long_y_get",&obj0)) SWIG_fail;
79768  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
79769  if (!SWIG_IsOK(res1)) {
79770  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long_y_get" "', argument " "1"" of type '" "CStdPoint< long > *""'");
79771  }
79772  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
79773  result = (long) ((arg1)->y);
79774  resultobj = SWIG_From_long(static_cast< long >(result));
79775  return resultobj;
79776 fail:
79777  return NULL;
79778 }
79779 
79780 
79781 SWIGINTERN PyObject *_wrap_CStdPoint_long_z_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79782  PyObject *resultobj = 0;
79783  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
79784  long arg2 ;
79785  void *argp1 = 0 ;
79786  int res1 = 0 ;
79787  long val2 ;
79788  int ecode2 = 0 ;
79789  PyObject * obj0 = 0 ;
79790  PyObject * obj1 = 0 ;
79791 
79792  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long_z_set",&obj0,&obj1)) SWIG_fail;
79793  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
79794  if (!SWIG_IsOK(res1)) {
79795  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long_z_set" "', argument " "1"" of type '" "CStdPoint< long > *""'");
79796  }
79797  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
79798  ecode2 = SWIG_AsVal_long(obj1, &val2);
79799  if (!SWIG_IsOK(ecode2)) {
79800  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_long_z_set" "', argument " "2"" of type '" "long""'");
79801  }
79802  arg2 = static_cast< long >(val2);
79803  if (arg1) (arg1)->z = arg2;
79804  resultobj = SWIG_Py_Void();
79805  return resultobj;
79806 fail:
79807  return NULL;
79808 }
79809 
79810 
79811 SWIGINTERN PyObject *_wrap_CStdPoint_long_z_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79812  PyObject *resultobj = 0;
79813  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
79814  void *argp1 = 0 ;
79815  int res1 = 0 ;
79816  PyObject * obj0 = 0 ;
79817  long result;
79818 
79819  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_long_z_get",&obj0)) SWIG_fail;
79820  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
79821  if (!SWIG_IsOK(res1)) {
79822  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long_z_get" "', argument " "1"" of type '" "CStdPoint< long > *""'");
79823  }
79824  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
79825  result = (long) ((arg1)->z);
79826  resultobj = SWIG_From_long(static_cast< long >(result));
79827  return resultobj;
79828 fail:
79829  return NULL;
79830 }
79831 
79832 
79833 SWIGINTERN PyObject *_wrap_new_CStdPoint_long__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79834  PyObject *resultobj = 0;
79835  CStdPoint< long > *result = 0 ;
79836 
79837  if (!PyArg_ParseTuple(args,(char *)":new_CStdPoint_long")) SWIG_fail;
79838  result = (CStdPoint< long > *)new CStdPoint< long >();
79839  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_NEW | 0 );
79840  return resultobj;
79841 fail:
79842  return NULL;
79843 }
79844 
79845 
79846 SWIGINTERN PyObject *_wrap_new_CStdPoint_long__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79847  PyObject *resultobj = 0;
79848  long arg1 ;
79849  long arg2 ;
79850  long arg3 ;
79851  long val1 ;
79852  int ecode1 = 0 ;
79853  long val2 ;
79854  int ecode2 = 0 ;
79855  long val3 ;
79856  int ecode3 = 0 ;
79857  PyObject * obj0 = 0 ;
79858  PyObject * obj1 = 0 ;
79859  PyObject * obj2 = 0 ;
79860  CStdPoint< long > *result = 0 ;
79861 
79862  if (!PyArg_ParseTuple(args,(char *)"OOO:new_CStdPoint_long",&obj0,&obj1,&obj2)) SWIG_fail;
79863  ecode1 = SWIG_AsVal_long(obj0, &val1);
79864  if (!SWIG_IsOK(ecode1)) {
79865  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdPoint_long" "', argument " "1"" of type '" "long""'");
79866  }
79867  arg1 = static_cast< long >(val1);
79868  ecode2 = SWIG_AsVal_long(obj1, &val2);
79869  if (!SWIG_IsOK(ecode2)) {
79870  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CStdPoint_long" "', argument " "2"" of type '" "long""'");
79871  }
79872  arg2 = static_cast< long >(val2);
79873  ecode3 = SWIG_AsVal_long(obj2, &val3);
79874  if (!SWIG_IsOK(ecode3)) {
79875  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CStdPoint_long" "', argument " "3"" of type '" "long""'");
79876  }
79877  arg3 = static_cast< long >(val3);
79878  result = (CStdPoint< long > *)new CStdPoint< long >(arg1,arg2,arg3);
79879  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_NEW | 0 );
79880  return resultobj;
79881 fail:
79882  return NULL;
79883 }
79884 
79885 
79886 SWIGINTERN PyObject *_wrap_new_CStdPoint_long(PyObject *self, PyObject *args) {
79887  int argc;
79888  PyObject *argv[4];
79889  int ii;
79890 
79891  if (!PyTuple_Check(args)) SWIG_fail;
79892  argc = args ? (int)PyObject_Length(args) : 0;
79893  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
79894  argv[ii] = PyTuple_GET_ITEM(args,ii);
79895  }
79896  if (argc == 0) {
79897  return _wrap_new_CStdPoint_long__SWIG_0(self, args);
79898  }
79899  if (argc == 3) {
79900  int _v;
79901  {
79902  int res = SWIG_AsVal_long(argv[0], NULL);
79903  _v = SWIG_CheckState(res);
79904  }
79905  if (_v) {
79906  {
79907  int res = SWIG_AsVal_long(argv[1], NULL);
79908  _v = SWIG_CheckState(res);
79909  }
79910  if (_v) {
79911  {
79912  int res = SWIG_AsVal_long(argv[2], NULL);
79913  _v = SWIG_CheckState(res);
79914  }
79915  if (_v) {
79916  return _wrap_new_CStdPoint_long__SWIG_1(self, args);
79917  }
79918  }
79919  }
79920  }
79921 
79922 fail:
79923  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_CStdPoint_long'.\n"
79924  " Possible C/C++ prototypes are:\n"
79925  " CStdPoint< long >::CStdPoint()\n"
79926  " CStdPoint< long >::CStdPoint(long,long,long)\n");
79927  return 0;
79928 }
79929 
79930 
79931 SWIGINTERN PyObject *_wrap_CStdPoint_long_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79932  PyObject *resultobj = 0;
79933  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
79934  long arg2 ;
79935  long arg3 ;
79936  long arg4 ;
79937  void *argp1 = 0 ;
79938  int res1 = 0 ;
79939  long val2 ;
79940  int ecode2 = 0 ;
79941  long val3 ;
79942  int ecode3 = 0 ;
79943  long val4 ;
79944  int ecode4 = 0 ;
79945  PyObject * obj0 = 0 ;
79946  PyObject * obj1 = 0 ;
79947  PyObject * obj2 = 0 ;
79948  PyObject * obj3 = 0 ;
79949 
79950  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdPoint_long_Set",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
79951  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
79952  if (!SWIG_IsOK(res1)) {
79953  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long_Set" "', argument " "1"" of type '" "CStdPoint< long > *""'");
79954  }
79955  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
79956  ecode2 = SWIG_AsVal_long(obj1, &val2);
79957  if (!SWIG_IsOK(ecode2)) {
79958  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_long_Set" "', argument " "2"" of type '" "long""'");
79959  }
79960  arg2 = static_cast< long >(val2);
79961  ecode3 = SWIG_AsVal_long(obj2, &val3);
79962  if (!SWIG_IsOK(ecode3)) {
79963  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdPoint_long_Set" "', argument " "3"" of type '" "long""'");
79964  }
79965  arg3 = static_cast< long >(val3);
79966  ecode4 = SWIG_AsVal_long(obj3, &val4);
79967  if (!SWIG_IsOK(ecode4)) {
79968  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdPoint_long_Set" "', argument " "4"" of type '" "long""'");
79969  }
79970  arg4 = static_cast< long >(val4);
79971  (arg1)->Set(arg2,arg3,arg4);
79972  resultobj = SWIG_Py_Void();
79973  return resultobj;
79974 fail:
79975  return NULL;
79976 }
79977 
79978 
79979 SWIGINTERN PyObject *_wrap_CStdPoint_long___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
79980  PyObject *resultobj = 0;
79981  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
79982  CStdPoint< long > *arg2 = 0 ;
79983  void *argp1 = 0 ;
79984  int res1 = 0 ;
79985  void *argp2 = 0 ;
79986  int res2 = 0 ;
79987  PyObject * obj0 = 0 ;
79988  PyObject * obj1 = 0 ;
79989  bool result;
79990 
79991  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___eq__",&obj0,&obj1)) SWIG_fail;
79992  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
79993  if (!SWIG_IsOK(res1)) {
79994  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___eq__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
79995  }
79996  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
79997  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_long_t, 0 | 0);
79998  if (!SWIG_IsOK(res2)) {
79999  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_long___eq__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80000  }
80001  if (!argp2) {
80002  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_long___eq__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80003  }
80004  arg2 = reinterpret_cast< CStdPoint< long > * >(argp2);
80005  result = (bool)(arg1)->operator ==((CStdPoint< long > const &)*arg2);
80006  resultobj = SWIG_From_bool(static_cast< bool >(result));
80007  return resultobj;
80008 fail:
80009  return NULL;
80010 }
80011 
80012 
80013 SWIGINTERN PyObject *_wrap_CStdPoint_long___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80014  PyObject *resultobj = 0;
80015  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80016  CStdPoint< long > *arg2 = 0 ;
80017  void *argp1 = 0 ;
80018  int res1 = 0 ;
80019  void *argp2 = 0 ;
80020  int res2 = 0 ;
80021  PyObject * obj0 = 0 ;
80022  PyObject * obj1 = 0 ;
80023  bool result;
80024 
80025  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___ne__",&obj0,&obj1)) SWIG_fail;
80026  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80027  if (!SWIG_IsOK(res1)) {
80028  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___ne__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80029  }
80030  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80031  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_long_t, 0 | 0);
80032  if (!SWIG_IsOK(res2)) {
80033  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_long___ne__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80034  }
80035  if (!argp2) {
80036  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_long___ne__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80037  }
80038  arg2 = reinterpret_cast< CStdPoint< long > * >(argp2);
80039  result = (bool)(arg1)->operator !=((CStdPoint< long > const &)*arg2);
80040  resultobj = SWIG_From_bool(static_cast< bool >(result));
80041  return resultobj;
80042 fail:
80043  return NULL;
80044 }
80045 
80046 
80047 SWIGINTERN PyObject *_wrap_CStdPoint_long_Equal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80048  PyObject *resultobj = 0;
80049  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80050  CStdPoint< long > *arg2 = 0 ;
80051  double arg3 ;
80052  void *argp1 = 0 ;
80053  int res1 = 0 ;
80054  void *argp2 = 0 ;
80055  int res2 = 0 ;
80056  double val3 ;
80057  int ecode3 = 0 ;
80058  PyObject * obj0 = 0 ;
80059  PyObject * obj1 = 0 ;
80060  PyObject * obj2 = 0 ;
80061  bool result;
80062 
80063  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPoint_long_Equal",&obj0,&obj1,&obj2)) SWIG_fail;
80064  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80065  if (!SWIG_IsOK(res1)) {
80066  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long_Equal" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80067  }
80068  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80069  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_long_t, 0 | 0);
80070  if (!SWIG_IsOK(res2)) {
80071  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_long_Equal" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80072  }
80073  if (!argp2) {
80074  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_long_Equal" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80075  }
80076  arg2 = reinterpret_cast< CStdPoint< long > * >(argp2);
80077  ecode3 = SWIG_AsVal_double(obj2, &val3);
80078  if (!SWIG_IsOK(ecode3)) {
80079  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdPoint_long_Equal" "', argument " "3"" of type '" "double""'");
80080  }
80081  arg3 = static_cast< double >(val3);
80082  result = (bool)(arg1)->Equal((CStdPoint< long > const &)*arg2,arg3);
80083  resultobj = SWIG_From_bool(static_cast< bool >(result));
80084  return resultobj;
80085 fail:
80086  return NULL;
80087 }
80088 
80089 
80090 SWIGINTERN PyObject *_wrap_CStdPoint_long___iadd____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80091  PyObject *resultobj = 0;
80092  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80093  CStdPoint< long > *arg2 = 0 ;
80094  void *argp1 = 0 ;
80095  int res1 = 0 ;
80096  void *argp2 = 0 ;
80097  int res2 = 0 ;
80098  PyObject * obj0 = 0 ;
80099  PyObject * obj1 = 0 ;
80100 
80101  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___iadd__",&obj0,&obj1)) SWIG_fail;
80102  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_DISOWN | 0 );
80103  if (!SWIG_IsOK(res1)) {
80104  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___iadd__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80105  }
80106  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80107  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_long_t, 0 | 0);
80108  if (!SWIG_IsOK(res2)) {
80109  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_long___iadd__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80110  }
80111  if (!argp2) {
80112  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_long___iadd__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80113  }
80114  arg2 = reinterpret_cast< CStdPoint< long > * >(argp2);
80115  (arg1)->operator +=((CStdPoint< long > const &)*arg2);
80116  resultobj = SWIG_Py_Void();
80117  return resultobj;
80118 fail:
80119  return NULL;
80120 }
80121 
80122 
80123 SWIGINTERN PyObject *_wrap_CStdPoint_long___isub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80124  PyObject *resultobj = 0;
80125  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80126  CStdPoint< long > *arg2 = 0 ;
80127  void *argp1 = 0 ;
80128  int res1 = 0 ;
80129  void *argp2 = 0 ;
80130  int res2 = 0 ;
80131  PyObject * obj0 = 0 ;
80132  PyObject * obj1 = 0 ;
80133 
80134  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___isub__",&obj0,&obj1)) SWIG_fail;
80135  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_DISOWN | 0 );
80136  if (!SWIG_IsOK(res1)) {
80137  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___isub__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80138  }
80139  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80140  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_long_t, 0 | 0);
80141  if (!SWIG_IsOK(res2)) {
80142  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_long___isub__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80143  }
80144  if (!argp2) {
80145  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_long___isub__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80146  }
80147  arg2 = reinterpret_cast< CStdPoint< long > * >(argp2);
80148  (arg1)->operator -=((CStdPoint< long > const &)*arg2);
80149  resultobj = SWIG_Py_Void();
80150  return resultobj;
80151 fail:
80152  return NULL;
80153 }
80154 
80155 
80156 SWIGINTERN PyObject *_wrap_CStdPoint_long___add____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80157  PyObject *resultobj = 0;
80158  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80159  CStdPoint< long > *arg2 = 0 ;
80160  void *argp1 = 0 ;
80161  int res1 = 0 ;
80162  void *argp2 = 0 ;
80163  int res2 = 0 ;
80164  PyObject * obj0 = 0 ;
80165  PyObject * obj1 = 0 ;
80166  CStdPoint< long > result;
80167 
80168  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___add__",&obj0,&obj1)) SWIG_fail;
80169  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80170  if (!SWIG_IsOK(res1)) {
80171  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___add__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80172  }
80173  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80174  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_long_t, 0 | 0);
80175  if (!SWIG_IsOK(res2)) {
80176  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_long___add__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80177  }
80178  if (!argp2) {
80179  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_long___add__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80180  }
80181  arg2 = reinterpret_cast< CStdPoint< long > * >(argp2);
80182  result = (arg1)->operator +((CStdPoint< long > const &)*arg2);
80183  resultobj = SWIG_NewPointerObj((new CStdPoint< long >(static_cast< const CStdPoint< long >& >(result))), SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_OWN | 0 );
80184  return resultobj;
80185 fail:
80186  return NULL;
80187 }
80188 
80189 
80190 SWIGINTERN PyObject *_wrap_CStdPoint_long___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80191  PyObject *resultobj = 0;
80192  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80193  CStdPoint< long > *arg2 = 0 ;
80194  void *argp1 = 0 ;
80195  int res1 = 0 ;
80196  void *argp2 = 0 ;
80197  int res2 = 0 ;
80198  PyObject * obj0 = 0 ;
80199  PyObject * obj1 = 0 ;
80200  CStdPoint< long > result;
80201 
80202  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___sub__",&obj0,&obj1)) SWIG_fail;
80203  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80204  if (!SWIG_IsOK(res1)) {
80205  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___sub__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80206  }
80207  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80208  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_long_t, 0 | 0);
80209  if (!SWIG_IsOK(res2)) {
80210  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_long___sub__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80211  }
80212  if (!argp2) {
80213  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_long___sub__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80214  }
80215  arg2 = reinterpret_cast< CStdPoint< long > * >(argp2);
80216  result = (arg1)->operator -((CStdPoint< long > const &)*arg2);
80217  resultobj = SWIG_NewPointerObj((new CStdPoint< long >(static_cast< const CStdPoint< long >& >(result))), SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_OWN | 0 );
80218  return resultobj;
80219 fail:
80220  return NULL;
80221 }
80222 
80223 
80224 SWIGINTERN PyObject *_wrap_CStdPoint_long___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80225  PyObject *resultobj = 0;
80226  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80227  CStdPoint< long > *arg2 = 0 ;
80228  void *argp1 = 0 ;
80229  int res1 = 0 ;
80230  void *argp2 = 0 ;
80231  int res2 = 0 ;
80232  PyObject * obj0 = 0 ;
80233  PyObject * obj1 = 0 ;
80234  CStdPoint< long > result;
80235 
80236  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___mul__",&obj0,&obj1)) SWIG_fail;
80237  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80238  if (!SWIG_IsOK(res1)) {
80239  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___mul__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80240  }
80241  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80242  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_long_t, 0 | 0);
80243  if (!SWIG_IsOK(res2)) {
80244  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_long___mul__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80245  }
80246  if (!argp2) {
80247  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_long___mul__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80248  }
80249  arg2 = reinterpret_cast< CStdPoint< long > * >(argp2);
80250  result = (arg1)->operator *((CStdPoint< long > const &)*arg2);
80251  resultobj = SWIG_NewPointerObj((new CStdPoint< long >(static_cast< const CStdPoint< long >& >(result))), SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_OWN | 0 );
80252  return resultobj;
80253 fail:
80254  return NULL;
80255 }
80256 
80257 
80258 SWIGINTERN PyObject *_wrap_CStdPoint_long_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80259  PyObject *resultobj = 0;
80260  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80261  CStdPoint< long > *arg2 = 0 ;
80262  void *argp1 = 0 ;
80263  int res1 = 0 ;
80264  void *argp2 = 0 ;
80265  int res2 = 0 ;
80266  PyObject * obj0 = 0 ;
80267  PyObject * obj1 = 0 ;
80268  float result;
80269 
80270  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long_dot",&obj0,&obj1)) SWIG_fail;
80271  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80272  if (!SWIG_IsOK(res1)) {
80273  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long_dot" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80274  }
80275  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80276  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_long_t, 0 | 0);
80277  if (!SWIG_IsOK(res2)) {
80278  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_long_dot" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80279  }
80280  if (!argp2) {
80281  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_long_dot" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80282  }
80283  arg2 = reinterpret_cast< CStdPoint< long > * >(argp2);
80284  result = (float)(arg1)->dot((CStdPoint< long > const &)*arg2);
80285  resultobj = SWIG_From_float(static_cast< float >(result));
80286  return resultobj;
80287 fail:
80288  return NULL;
80289 }
80290 
80291 
80292 SWIGINTERN PyObject *_wrap_CStdPoint_long___div____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80293  PyObject *resultobj = 0;
80294  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80295  CStdPoint< long > *arg2 = 0 ;
80296  void *argp1 = 0 ;
80297  int res1 = 0 ;
80298  void *argp2 = 0 ;
80299  int res2 = 0 ;
80300  PyObject * obj0 = 0 ;
80301  PyObject * obj1 = 0 ;
80302  CStdPoint< long > result;
80303 
80304  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___div__",&obj0,&obj1)) SWIG_fail;
80305  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80306  if (!SWIG_IsOK(res1)) {
80307  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___div__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80308  }
80309  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80310  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_long_t, 0 | 0);
80311  if (!SWIG_IsOK(res2)) {
80312  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_long___div__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80313  }
80314  if (!argp2) {
80315  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_long___div__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80316  }
80317  arg2 = reinterpret_cast< CStdPoint< long > * >(argp2);
80318  result = (arg1)->operator /((CStdPoint< long > const &)*arg2);
80319  resultobj = SWIG_NewPointerObj((new CStdPoint< long >(static_cast< const CStdPoint< long >& >(result))), SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_OWN | 0 );
80320  return resultobj;
80321 fail:
80322  return NULL;
80323 }
80324 
80325 
80326 SWIGINTERN PyObject *_wrap_CStdPoint_long___iadd____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80327  PyObject *resultobj = 0;
80328  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80329  float arg2 ;
80330  void *argp1 = 0 ;
80331  int res1 = 0 ;
80332  float val2 ;
80333  int ecode2 = 0 ;
80334  PyObject * obj0 = 0 ;
80335  PyObject * obj1 = 0 ;
80336 
80337  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___iadd__",&obj0,&obj1)) SWIG_fail;
80338  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_DISOWN | 0 );
80339  if (!SWIG_IsOK(res1)) {
80340  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___iadd__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80341  }
80342  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80343  ecode2 = SWIG_AsVal_float(obj1, &val2);
80344  if (!SWIG_IsOK(ecode2)) {
80345  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_long___iadd__" "', argument " "2"" of type '" "float""'");
80346  }
80347  arg2 = static_cast< float >(val2);
80348  (arg1)->operator +=(arg2);
80349  resultobj = SWIG_Py_Void();
80350  return resultobj;
80351 fail:
80352  return NULL;
80353 }
80354 
80355 
80356 SWIGINTERN PyObject *_wrap_CStdPoint_long___iadd__(PyObject *self, PyObject *args) {
80357  int argc;
80358  PyObject *argv[3];
80359  int ii;
80360 
80361  if (!PyTuple_Check(args)) SWIG_fail;
80362  argc = args ? (int)PyObject_Length(args) : 0;
80363  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
80364  argv[ii] = PyTuple_GET_ITEM(args,ii);
80365  }
80366  if (argc == 2) {
80367  int _v;
80368  void *vptr = 0;
80369  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
80370  _v = SWIG_CheckState(res);
80371  if (_v) {
80372  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_long_t, 0);
80373  _v = SWIG_CheckState(res);
80374  if (_v) {
80375  return _wrap_CStdPoint_long___iadd____SWIG_0(self, args);
80376  }
80377  }
80378  }
80379  if (argc == 2) {
80380  int _v;
80381  void *vptr = 0;
80382  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
80383  _v = SWIG_CheckState(res);
80384  if (_v) {
80385  {
80386  int res = SWIG_AsVal_float(argv[1], NULL);
80387  _v = SWIG_CheckState(res);
80388  }
80389  if (_v) {
80390  return _wrap_CStdPoint_long___iadd____SWIG_1(self, args);
80391  }
80392  }
80393  }
80394 
80395 fail:
80396  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPoint_long___iadd__'.\n"
80397  " Possible C/C++ prototypes are:\n"
80398  " CStdPoint< long >::operator +=(CStdPoint< long > const &)\n"
80399  " CStdPoint< long >::operator +=(float const)\n");
80400  return 0;
80401 }
80402 
80403 
80404 SWIGINTERN PyObject *_wrap_CStdPoint_long___isub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80405  PyObject *resultobj = 0;
80406  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80407  float arg2 ;
80408  void *argp1 = 0 ;
80409  int res1 = 0 ;
80410  float val2 ;
80411  int ecode2 = 0 ;
80412  PyObject * obj0 = 0 ;
80413  PyObject * obj1 = 0 ;
80414 
80415  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___isub__",&obj0,&obj1)) SWIG_fail;
80416  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_DISOWN | 0 );
80417  if (!SWIG_IsOK(res1)) {
80418  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___isub__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80419  }
80420  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80421  ecode2 = SWIG_AsVal_float(obj1, &val2);
80422  if (!SWIG_IsOK(ecode2)) {
80423  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_long___isub__" "', argument " "2"" of type '" "float""'");
80424  }
80425  arg2 = static_cast< float >(val2);
80426  (arg1)->operator -=(arg2);
80427  resultobj = SWIG_Py_Void();
80428  return resultobj;
80429 fail:
80430  return NULL;
80431 }
80432 
80433 
80434 SWIGINTERN PyObject *_wrap_CStdPoint_long___isub__(PyObject *self, PyObject *args) {
80435  int argc;
80436  PyObject *argv[3];
80437  int ii;
80438 
80439  if (!PyTuple_Check(args)) SWIG_fail;
80440  argc = args ? (int)PyObject_Length(args) : 0;
80441  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
80442  argv[ii] = PyTuple_GET_ITEM(args,ii);
80443  }
80444  if (argc == 2) {
80445  int _v;
80446  void *vptr = 0;
80447  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
80448  _v = SWIG_CheckState(res);
80449  if (_v) {
80450  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_long_t, 0);
80451  _v = SWIG_CheckState(res);
80452  if (_v) {
80453  return _wrap_CStdPoint_long___isub____SWIG_0(self, args);
80454  }
80455  }
80456  }
80457  if (argc == 2) {
80458  int _v;
80459  void *vptr = 0;
80460  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
80461  _v = SWIG_CheckState(res);
80462  if (_v) {
80463  {
80464  int res = SWIG_AsVal_float(argv[1], NULL);
80465  _v = SWIG_CheckState(res);
80466  }
80467  if (_v) {
80468  return _wrap_CStdPoint_long___isub____SWIG_1(self, args);
80469  }
80470  }
80471  }
80472 
80473 fail:
80474  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPoint_long___isub__'.\n"
80475  " Possible C/C++ prototypes are:\n"
80476  " CStdPoint< long >::operator -=(CStdPoint< long > const &)\n"
80477  " CStdPoint< long >::operator -=(float const)\n");
80478  return 0;
80479 }
80480 
80481 
80482 SWIGINTERN PyObject *_wrap_CStdPoint_long___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80483  PyObject *resultobj = 0;
80484  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80485  float arg2 ;
80486  void *argp1 = 0 ;
80487  int res1 = 0 ;
80488  float val2 ;
80489  int ecode2 = 0 ;
80490  PyObject * obj0 = 0 ;
80491  PyObject * obj1 = 0 ;
80492 
80493  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___imul__",&obj0,&obj1)) SWIG_fail;
80494  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_DISOWN | 0 );
80495  if (!SWIG_IsOK(res1)) {
80496  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___imul__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80497  }
80498  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80499  ecode2 = SWIG_AsVal_float(obj1, &val2);
80500  if (!SWIG_IsOK(ecode2)) {
80501  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_long___imul__" "', argument " "2"" of type '" "float""'");
80502  }
80503  arg2 = static_cast< float >(val2);
80504  (arg1)->operator *=(arg2);
80505  resultobj = SWIG_Py_Void();
80506  return resultobj;
80507 fail:
80508  return NULL;
80509 }
80510 
80511 
80512 SWIGINTERN PyObject *_wrap_CStdPoint_long___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80513  PyObject *resultobj = 0;
80514  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80515  float arg2 ;
80516  void *argp1 = 0 ;
80517  int res1 = 0 ;
80518  float val2 ;
80519  int ecode2 = 0 ;
80520  PyObject * obj0 = 0 ;
80521  PyObject * obj1 = 0 ;
80522 
80523  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___idiv__",&obj0,&obj1)) SWIG_fail;
80524  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_DISOWN | 0 );
80525  if (!SWIG_IsOK(res1)) {
80526  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___idiv__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80527  }
80528  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80529  ecode2 = SWIG_AsVal_float(obj1, &val2);
80530  if (!SWIG_IsOK(ecode2)) {
80531  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_long___idiv__" "', argument " "2"" of type '" "float""'");
80532  }
80533  arg2 = static_cast< float >(val2);
80534  (arg1)->operator /=(arg2);
80535  resultobj = SWIG_Py_Void();
80536  return resultobj;
80537 fail:
80538  return NULL;
80539 }
80540 
80541 
80542 SWIGINTERN PyObject *_wrap_CStdPoint_long___add____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80543  PyObject *resultobj = 0;
80544  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80545  float arg2 ;
80546  void *argp1 = 0 ;
80547  int res1 = 0 ;
80548  float val2 ;
80549  int ecode2 = 0 ;
80550  PyObject * obj0 = 0 ;
80551  PyObject * obj1 = 0 ;
80552  CStdPoint< long > result;
80553 
80554  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___add__",&obj0,&obj1)) SWIG_fail;
80555  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80556  if (!SWIG_IsOK(res1)) {
80557  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___add__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80558  }
80559  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80560  ecode2 = SWIG_AsVal_float(obj1, &val2);
80561  if (!SWIG_IsOK(ecode2)) {
80562  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_long___add__" "', argument " "2"" of type '" "float""'");
80563  }
80564  arg2 = static_cast< float >(val2);
80565  result = (arg1)->operator +(arg2);
80566  resultobj = SWIG_NewPointerObj((new CStdPoint< long >(static_cast< const CStdPoint< long >& >(result))), SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_OWN | 0 );
80567  return resultobj;
80568 fail:
80569  return NULL;
80570 }
80571 
80572 
80573 SWIGINTERN PyObject *_wrap_CStdPoint_long___add__(PyObject *self, PyObject *args) {
80574  int argc;
80575  PyObject *argv[3];
80576  int ii;
80577 
80578  if (!PyTuple_Check(args)) SWIG_fail;
80579  argc = args ? (int)PyObject_Length(args) : 0;
80580  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
80581  argv[ii] = PyTuple_GET_ITEM(args,ii);
80582  }
80583  if (argc == 2) {
80584  int _v;
80585  void *vptr = 0;
80586  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
80587  _v = SWIG_CheckState(res);
80588  if (_v) {
80589  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_long_t, 0);
80590  _v = SWIG_CheckState(res);
80591  if (_v) {
80592  return _wrap_CStdPoint_long___add____SWIG_0(self, args);
80593  }
80594  }
80595  }
80596  if (argc == 2) {
80597  int _v;
80598  void *vptr = 0;
80599  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
80600  _v = SWIG_CheckState(res);
80601  if (_v) {
80602  {
80603  int res = SWIG_AsVal_float(argv[1], NULL);
80604  _v = SWIG_CheckState(res);
80605  }
80606  if (_v) {
80607  return _wrap_CStdPoint_long___add____SWIG_1(self, args);
80608  }
80609  }
80610  }
80611 
80612 fail:
80613  Py_INCREF(Py_NotImplemented);
80614  return Py_NotImplemented;
80615 }
80616 
80617 
80618 SWIGINTERN PyObject *_wrap_CStdPoint_long___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80619  PyObject *resultobj = 0;
80620  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80621  float arg2 ;
80622  void *argp1 = 0 ;
80623  int res1 = 0 ;
80624  float val2 ;
80625  int ecode2 = 0 ;
80626  PyObject * obj0 = 0 ;
80627  PyObject * obj1 = 0 ;
80628  CStdPoint< long > result;
80629 
80630  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___sub__",&obj0,&obj1)) SWIG_fail;
80631  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80632  if (!SWIG_IsOK(res1)) {
80633  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___sub__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80634  }
80635  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80636  ecode2 = SWIG_AsVal_float(obj1, &val2);
80637  if (!SWIG_IsOK(ecode2)) {
80638  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_long___sub__" "', argument " "2"" of type '" "float""'");
80639  }
80640  arg2 = static_cast< float >(val2);
80641  result = (arg1)->operator -(arg2);
80642  resultobj = SWIG_NewPointerObj((new CStdPoint< long >(static_cast< const CStdPoint< long >& >(result))), SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_OWN | 0 );
80643  return resultobj;
80644 fail:
80645  return NULL;
80646 }
80647 
80648 
80649 SWIGINTERN PyObject *_wrap_CStdPoint_long___sub__(PyObject *self, PyObject *args) {
80650  int argc;
80651  PyObject *argv[3];
80652  int ii;
80653 
80654  if (!PyTuple_Check(args)) SWIG_fail;
80655  argc = args ? (int)PyObject_Length(args) : 0;
80656  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
80657  argv[ii] = PyTuple_GET_ITEM(args,ii);
80658  }
80659  if (argc == 2) {
80660  int _v;
80661  void *vptr = 0;
80662  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
80663  _v = SWIG_CheckState(res);
80664  if (_v) {
80665  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_long_t, 0);
80666  _v = SWIG_CheckState(res);
80667  if (_v) {
80668  return _wrap_CStdPoint_long___sub____SWIG_0(self, args);
80669  }
80670  }
80671  }
80672  if (argc == 2) {
80673  int _v;
80674  void *vptr = 0;
80675  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
80676  _v = SWIG_CheckState(res);
80677  if (_v) {
80678  {
80679  int res = SWIG_AsVal_float(argv[1], NULL);
80680  _v = SWIG_CheckState(res);
80681  }
80682  if (_v) {
80683  return _wrap_CStdPoint_long___sub____SWIG_1(self, args);
80684  }
80685  }
80686  }
80687 
80688 fail:
80689  Py_INCREF(Py_NotImplemented);
80690  return Py_NotImplemented;
80691 }
80692 
80693 
80694 SWIGINTERN PyObject *_wrap_CStdPoint_long___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80695  PyObject *resultobj = 0;
80696  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80697  float arg2 ;
80698  void *argp1 = 0 ;
80699  int res1 = 0 ;
80700  float val2 ;
80701  int ecode2 = 0 ;
80702  PyObject * obj0 = 0 ;
80703  PyObject * obj1 = 0 ;
80704  CStdPoint< long > result;
80705 
80706  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___mul__",&obj0,&obj1)) SWIG_fail;
80707  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80708  if (!SWIG_IsOK(res1)) {
80709  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___mul__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80710  }
80711  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80712  ecode2 = SWIG_AsVal_float(obj1, &val2);
80713  if (!SWIG_IsOK(ecode2)) {
80714  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_long___mul__" "', argument " "2"" of type '" "float""'");
80715  }
80716  arg2 = static_cast< float >(val2);
80717  result = (arg1)->operator *(arg2);
80718  resultobj = SWIG_NewPointerObj((new CStdPoint< long >(static_cast< const CStdPoint< long >& >(result))), SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_OWN | 0 );
80719  return resultobj;
80720 fail:
80721  return NULL;
80722 }
80723 
80724 
80725 SWIGINTERN PyObject *_wrap_CStdPoint_long___mul__(PyObject *self, PyObject *args) {
80726  int argc;
80727  PyObject *argv[3];
80728  int ii;
80729 
80730  if (!PyTuple_Check(args)) SWIG_fail;
80731  argc = args ? (int)PyObject_Length(args) : 0;
80732  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
80733  argv[ii] = PyTuple_GET_ITEM(args,ii);
80734  }
80735  if (argc == 2) {
80736  int _v;
80737  void *vptr = 0;
80738  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
80739  _v = SWIG_CheckState(res);
80740  if (_v) {
80741  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_long_t, 0);
80742  _v = SWIG_CheckState(res);
80743  if (_v) {
80744  return _wrap_CStdPoint_long___mul____SWIG_0(self, args);
80745  }
80746  }
80747  }
80748  if (argc == 2) {
80749  int _v;
80750  void *vptr = 0;
80751  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
80752  _v = SWIG_CheckState(res);
80753  if (_v) {
80754  {
80755  int res = SWIG_AsVal_float(argv[1], NULL);
80756  _v = SWIG_CheckState(res);
80757  }
80758  if (_v) {
80759  return _wrap_CStdPoint_long___mul____SWIG_1(self, args);
80760  }
80761  }
80762  }
80763 
80764 fail:
80765  Py_INCREF(Py_NotImplemented);
80766  return Py_NotImplemented;
80767 }
80768 
80769 
80770 SWIGINTERN PyObject *_wrap_CStdPoint_long___div____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80771  PyObject *resultobj = 0;
80772  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80773  float arg2 ;
80774  void *argp1 = 0 ;
80775  int res1 = 0 ;
80776  float val2 ;
80777  int ecode2 = 0 ;
80778  PyObject * obj0 = 0 ;
80779  PyObject * obj1 = 0 ;
80780  CStdPoint< long > result;
80781 
80782  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___div__",&obj0,&obj1)) SWIG_fail;
80783  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80784  if (!SWIG_IsOK(res1)) {
80785  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___div__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80786  }
80787  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80788  ecode2 = SWIG_AsVal_float(obj1, &val2);
80789  if (!SWIG_IsOK(ecode2)) {
80790  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_long___div__" "', argument " "2"" of type '" "float""'");
80791  }
80792  arg2 = static_cast< float >(val2);
80793  result = (arg1)->operator /(arg2);
80794  resultobj = SWIG_NewPointerObj((new CStdPoint< long >(static_cast< const CStdPoint< long >& >(result))), SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_OWN | 0 );
80795  return resultobj;
80796 fail:
80797  return NULL;
80798 }
80799 
80800 
80801 SWIGINTERN PyObject *_wrap_CStdPoint_long___div__(PyObject *self, PyObject *args) {
80802  int argc;
80803  PyObject *argv[3];
80804  int ii;
80805 
80806  if (!PyTuple_Check(args)) SWIG_fail;
80807  argc = args ? (int)PyObject_Length(args) : 0;
80808  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
80809  argv[ii] = PyTuple_GET_ITEM(args,ii);
80810  }
80811  if (argc == 2) {
80812  int _v;
80813  void *vptr = 0;
80814  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
80815  _v = SWIG_CheckState(res);
80816  if (_v) {
80817  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_long_t, 0);
80818  _v = SWIG_CheckState(res);
80819  if (_v) {
80820  return _wrap_CStdPoint_long___div____SWIG_0(self, args);
80821  }
80822  }
80823  }
80824  if (argc == 2) {
80825  int _v;
80826  void *vptr = 0;
80827  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
80828  _v = SWIG_CheckState(res);
80829  if (_v) {
80830  {
80831  int res = SWIG_AsVal_float(argv[1], NULL);
80832  _v = SWIG_CheckState(res);
80833  }
80834  if (_v) {
80835  return _wrap_CStdPoint_long___div____SWIG_1(self, args);
80836  }
80837  }
80838  }
80839 
80840 fail:
80841  Py_INCREF(Py_NotImplemented);
80842  return Py_NotImplemented;
80843 }
80844 
80845 
80846 SWIGINTERN PyObject *_wrap_CStdPoint_long___xor__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80847  PyObject *resultobj = 0;
80848  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80849  CStdPoint< long > *arg2 = 0 ;
80850  void *argp1 = 0 ;
80851  int res1 = 0 ;
80852  void *argp2 = 0 ;
80853  int res2 = 0 ;
80854  PyObject * obj0 = 0 ;
80855  PyObject * obj1 = 0 ;
80856  CStdPoint< long > result;
80857 
80858  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long___xor__",&obj0,&obj1)) SWIG_fail;
80859  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80860  if (!SWIG_IsOK(res1)) {
80861  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long___xor__" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80862  }
80863  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80864  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_long_t, 0 | 0);
80865  if (!SWIG_IsOK(res2)) {
80866  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_long___xor__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80867  }
80868  if (!argp2) {
80869  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_long___xor__" "', argument " "2"" of type '" "CStdPoint< long > const &""'");
80870  }
80871  arg2 = reinterpret_cast< CStdPoint< long > * >(argp2);
80872  result = (arg1)->operator ^((CStdPoint< long > const &)*arg2);
80873  resultobj = SWIG_NewPointerObj((new CStdPoint< long >(static_cast< const CStdPoint< long >& >(result))), SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_OWN | 0 );
80874  return resultobj;
80875 fail:
80876  return NULL;
80877 }
80878 
80879 
80880 SWIGINTERN PyObject *_wrap_CStdPoint_long_Magnitude(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80881  PyObject *resultobj = 0;
80882  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80883  void *argp1 = 0 ;
80884  int res1 = 0 ;
80885  PyObject * obj0 = 0 ;
80886  double result;
80887 
80888  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_long_Magnitude",&obj0)) SWIG_fail;
80889  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80890  if (!SWIG_IsOK(res1)) {
80891  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long_Magnitude" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80892  }
80893  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80894  result = (double)(arg1)->Magnitude();
80895  resultobj = SWIG_From_double(static_cast< double >(result));
80896  return resultobj;
80897 fail:
80898  return NULL;
80899 }
80900 
80901 
80902 SWIGINTERN PyObject *_wrap_CStdPoint_long_Normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80903  PyObject *resultobj = 0;
80904  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80905  void *argp1 = 0 ;
80906  int res1 = 0 ;
80907  PyObject * obj0 = 0 ;
80908 
80909  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_long_Normalize",&obj0)) SWIG_fail;
80910  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80911  if (!SWIG_IsOK(res1)) {
80912  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long_Normalize" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80913  }
80914  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80915  (arg1)->Normalize();
80916  resultobj = SWIG_Py_Void();
80917  return resultobj;
80918 fail:
80919  return NULL;
80920 }
80921 
80922 
80923 SWIGINTERN PyObject *_wrap_CStdPoint_long_ClearNearZero__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80924  PyObject *resultobj = 0;
80925  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80926  float arg2 ;
80927  void *argp1 = 0 ;
80928  int res1 = 0 ;
80929  float val2 ;
80930  int ecode2 = 0 ;
80931  PyObject * obj0 = 0 ;
80932  PyObject * obj1 = 0 ;
80933 
80934  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_long_ClearNearZero",&obj0,&obj1)) SWIG_fail;
80935  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80936  if (!SWIG_IsOK(res1)) {
80937  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long_ClearNearZero" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80938  }
80939  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80940  ecode2 = SWIG_AsVal_float(obj1, &val2);
80941  if (!SWIG_IsOK(ecode2)) {
80942  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_long_ClearNearZero" "', argument " "2"" of type '" "float""'");
80943  }
80944  arg2 = static_cast< float >(val2);
80945  (arg1)->ClearNearZero(arg2);
80946  resultobj = SWIG_Py_Void();
80947  return resultobj;
80948 fail:
80949  return NULL;
80950 }
80951 
80952 
80953 SWIGINTERN PyObject *_wrap_CStdPoint_long_ClearNearZero__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
80954  PyObject *resultobj = 0;
80955  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
80956  void *argp1 = 0 ;
80957  int res1 = 0 ;
80958  PyObject * obj0 = 0 ;
80959 
80960  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_long_ClearNearZero",&obj0)) SWIG_fail;
80961  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, 0 | 0 );
80962  if (!SWIG_IsOK(res1)) {
80963  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_long_ClearNearZero" "', argument " "1"" of type '" "CStdPoint< long > *""'");
80964  }
80965  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
80966  (arg1)->ClearNearZero();
80967  resultobj = SWIG_Py_Void();
80968  return resultobj;
80969 fail:
80970  return NULL;
80971 }
80972 
80973 
80974 SWIGINTERN PyObject *_wrap_CStdPoint_long_ClearNearZero(PyObject *self, PyObject *args) {
80975  int argc;
80976  PyObject *argv[3];
80977  int ii;
80978 
80979  if (!PyTuple_Check(args)) SWIG_fail;
80980  argc = args ? (int)PyObject_Length(args) : 0;
80981  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
80982  argv[ii] = PyTuple_GET_ITEM(args,ii);
80983  }
80984  if (argc == 1) {
80985  int _v;
80986  void *vptr = 0;
80987  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
80988  _v = SWIG_CheckState(res);
80989  if (_v) {
80990  return _wrap_CStdPoint_long_ClearNearZero__SWIG_1(self, args);
80991  }
80992  }
80993  if (argc == 2) {
80994  int _v;
80995  void *vptr = 0;
80996  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
80997  _v = SWIG_CheckState(res);
80998  if (_v) {
80999  {
81000  int res = SWIG_AsVal_float(argv[1], NULL);
81001  _v = SWIG_CheckState(res);
81002  }
81003  if (_v) {
81004  return _wrap_CStdPoint_long_ClearNearZero__SWIG_0(self, args);
81005  }
81006  }
81007  }
81008 
81009 fail:
81010  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPoint_long_ClearNearZero'.\n"
81011  " Possible C/C++ prototypes are:\n"
81012  " CStdPoint< long >::ClearNearZero(float)\n"
81013  " CStdPoint< long >::ClearNearZero()\n");
81014  return 0;
81015 }
81016 
81017 
81018 SWIGINTERN PyObject *_wrap_delete_CStdPoint_long(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81019  PyObject *resultobj = 0;
81020  CStdPoint< long > *arg1 = (CStdPoint< long > *) 0 ;
81021  void *argp1 = 0 ;
81022  int res1 = 0 ;
81023  PyObject * obj0 = 0 ;
81024 
81025  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPoint_long",&obj0)) SWIG_fail;
81026  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_long_t, SWIG_POINTER_DISOWN | 0 );
81027  if (!SWIG_IsOK(res1)) {
81028  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPoint_long" "', argument " "1"" of type '" "CStdPoint< long > *""'");
81029  }
81030  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
81031  {
81032  try {
81033  delete arg1;
81034  }
81035  catch(CStdErrorInfo oError)
81036  {
81037  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
81038  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
81039  PyErr_SetString(PyExc_IndexError, strError.c_str());
81040  SWIG_fail;
81041  }
81042  catch(...)
81043  {
81044  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
81045  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
81046  SWIG_fail;
81047  }
81048  }
81049  resultobj = SWIG_Py_Void();
81050  return resultobj;
81051 fail:
81052  return NULL;
81053 }
81054 
81055 
81056 SWIGINTERN PyObject *CStdPoint_long_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81057  PyObject *obj;
81058  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
81059  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPointT_long_t, SWIG_NewClientData(obj));
81060  return SWIG_Py_Void();
81061 }
81062 
81063 SWIGINTERN PyObject *_wrap_CStdPoint_float_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81064  PyObject *resultobj = 0;
81065  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81066  float arg2 ;
81067  void *argp1 = 0 ;
81068  int res1 = 0 ;
81069  float val2 ;
81070  int ecode2 = 0 ;
81071  PyObject * obj0 = 0 ;
81072  PyObject * obj1 = 0 ;
81073 
81074  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float_x_set",&obj0,&obj1)) SWIG_fail;
81075  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81076  if (!SWIG_IsOK(res1)) {
81077  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float_x_set" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81078  }
81079  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81080  ecode2 = SWIG_AsVal_float(obj1, &val2);
81081  if (!SWIG_IsOK(ecode2)) {
81082  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_float_x_set" "', argument " "2"" of type '" "float""'");
81083  }
81084  arg2 = static_cast< float >(val2);
81085  if (arg1) (arg1)->x = arg2;
81086  resultobj = SWIG_Py_Void();
81087  return resultobj;
81088 fail:
81089  return NULL;
81090 }
81091 
81092 
81093 SWIGINTERN PyObject *_wrap_CStdPoint_float_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81094  PyObject *resultobj = 0;
81095  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81096  void *argp1 = 0 ;
81097  int res1 = 0 ;
81098  PyObject * obj0 = 0 ;
81099  float result;
81100 
81101  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_float_x_get",&obj0)) SWIG_fail;
81102  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81103  if (!SWIG_IsOK(res1)) {
81104  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float_x_get" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81105  }
81106  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81107  result = (float) ((arg1)->x);
81108  resultobj = SWIG_From_float(static_cast< float >(result));
81109  return resultobj;
81110 fail:
81111  return NULL;
81112 }
81113 
81114 
81115 SWIGINTERN PyObject *_wrap_CStdPoint_float_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81116  PyObject *resultobj = 0;
81117  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81118  float arg2 ;
81119  void *argp1 = 0 ;
81120  int res1 = 0 ;
81121  float val2 ;
81122  int ecode2 = 0 ;
81123  PyObject * obj0 = 0 ;
81124  PyObject * obj1 = 0 ;
81125 
81126  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float_y_set",&obj0,&obj1)) SWIG_fail;
81127  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81128  if (!SWIG_IsOK(res1)) {
81129  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float_y_set" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81130  }
81131  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81132  ecode2 = SWIG_AsVal_float(obj1, &val2);
81133  if (!SWIG_IsOK(ecode2)) {
81134  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_float_y_set" "', argument " "2"" of type '" "float""'");
81135  }
81136  arg2 = static_cast< float >(val2);
81137  if (arg1) (arg1)->y = arg2;
81138  resultobj = SWIG_Py_Void();
81139  return resultobj;
81140 fail:
81141  return NULL;
81142 }
81143 
81144 
81145 SWIGINTERN PyObject *_wrap_CStdPoint_float_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81146  PyObject *resultobj = 0;
81147  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81148  void *argp1 = 0 ;
81149  int res1 = 0 ;
81150  PyObject * obj0 = 0 ;
81151  float result;
81152 
81153  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_float_y_get",&obj0)) SWIG_fail;
81154  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81155  if (!SWIG_IsOK(res1)) {
81156  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float_y_get" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81157  }
81158  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81159  result = (float) ((arg1)->y);
81160  resultobj = SWIG_From_float(static_cast< float >(result));
81161  return resultobj;
81162 fail:
81163  return NULL;
81164 }
81165 
81166 
81167 SWIGINTERN PyObject *_wrap_CStdPoint_float_z_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81168  PyObject *resultobj = 0;
81169  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81170  float arg2 ;
81171  void *argp1 = 0 ;
81172  int res1 = 0 ;
81173  float val2 ;
81174  int ecode2 = 0 ;
81175  PyObject * obj0 = 0 ;
81176  PyObject * obj1 = 0 ;
81177 
81178  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float_z_set",&obj0,&obj1)) SWIG_fail;
81179  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81180  if (!SWIG_IsOK(res1)) {
81181  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float_z_set" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81182  }
81183  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81184  ecode2 = SWIG_AsVal_float(obj1, &val2);
81185  if (!SWIG_IsOK(ecode2)) {
81186  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_float_z_set" "', argument " "2"" of type '" "float""'");
81187  }
81188  arg2 = static_cast< float >(val2);
81189  if (arg1) (arg1)->z = arg2;
81190  resultobj = SWIG_Py_Void();
81191  return resultobj;
81192 fail:
81193  return NULL;
81194 }
81195 
81196 
81197 SWIGINTERN PyObject *_wrap_CStdPoint_float_z_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81198  PyObject *resultobj = 0;
81199  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81200  void *argp1 = 0 ;
81201  int res1 = 0 ;
81202  PyObject * obj0 = 0 ;
81203  float result;
81204 
81205  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_float_z_get",&obj0)) SWIG_fail;
81206  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81207  if (!SWIG_IsOK(res1)) {
81208  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float_z_get" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81209  }
81210  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81211  result = (float) ((arg1)->z);
81212  resultobj = SWIG_From_float(static_cast< float >(result));
81213  return resultobj;
81214 fail:
81215  return NULL;
81216 }
81217 
81218 
81219 SWIGINTERN PyObject *_wrap_new_CStdPoint_float__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81220  PyObject *resultobj = 0;
81221  CStdPoint< float > *result = 0 ;
81222 
81223  if (!PyArg_ParseTuple(args,(char *)":new_CStdPoint_float")) SWIG_fail;
81224  result = (CStdPoint< float > *)new CStdPoint< float >();
81225  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_NEW | 0 );
81226  return resultobj;
81227 fail:
81228  return NULL;
81229 }
81230 
81231 
81232 SWIGINTERN PyObject *_wrap_new_CStdPoint_float__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81233  PyObject *resultobj = 0;
81234  float arg1 ;
81235  float arg2 ;
81236  float arg3 ;
81237  float val1 ;
81238  int ecode1 = 0 ;
81239  float val2 ;
81240  int ecode2 = 0 ;
81241  float val3 ;
81242  int ecode3 = 0 ;
81243  PyObject * obj0 = 0 ;
81244  PyObject * obj1 = 0 ;
81245  PyObject * obj2 = 0 ;
81246  CStdPoint< float > *result = 0 ;
81247 
81248  if (!PyArg_ParseTuple(args,(char *)"OOO:new_CStdPoint_float",&obj0,&obj1,&obj2)) SWIG_fail;
81249  ecode1 = SWIG_AsVal_float(obj0, &val1);
81250  if (!SWIG_IsOK(ecode1)) {
81251  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdPoint_float" "', argument " "1"" of type '" "float""'");
81252  }
81253  arg1 = static_cast< float >(val1);
81254  ecode2 = SWIG_AsVal_float(obj1, &val2);
81255  if (!SWIG_IsOK(ecode2)) {
81256  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CStdPoint_float" "', argument " "2"" of type '" "float""'");
81257  }
81258  arg2 = static_cast< float >(val2);
81259  ecode3 = SWIG_AsVal_float(obj2, &val3);
81260  if (!SWIG_IsOK(ecode3)) {
81261  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CStdPoint_float" "', argument " "3"" of type '" "float""'");
81262  }
81263  arg3 = static_cast< float >(val3);
81264  result = (CStdPoint< float > *)new CStdPoint< float >(arg1,arg2,arg3);
81265  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_NEW | 0 );
81266  return resultobj;
81267 fail:
81268  return NULL;
81269 }
81270 
81271 
81272 SWIGINTERN PyObject *_wrap_new_CStdPoint_float(PyObject *self, PyObject *args) {
81273  int argc;
81274  PyObject *argv[4];
81275  int ii;
81276 
81277  if (!PyTuple_Check(args)) SWIG_fail;
81278  argc = args ? (int)PyObject_Length(args) : 0;
81279  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
81280  argv[ii] = PyTuple_GET_ITEM(args,ii);
81281  }
81282  if (argc == 0) {
81283  return _wrap_new_CStdPoint_float__SWIG_0(self, args);
81284  }
81285  if (argc == 3) {
81286  int _v;
81287  {
81288  int res = SWIG_AsVal_float(argv[0], NULL);
81289  _v = SWIG_CheckState(res);
81290  }
81291  if (_v) {
81292  {
81293  int res = SWIG_AsVal_float(argv[1], NULL);
81294  _v = SWIG_CheckState(res);
81295  }
81296  if (_v) {
81297  {
81298  int res = SWIG_AsVal_float(argv[2], NULL);
81299  _v = SWIG_CheckState(res);
81300  }
81301  if (_v) {
81302  return _wrap_new_CStdPoint_float__SWIG_1(self, args);
81303  }
81304  }
81305  }
81306  }
81307 
81308 fail:
81309  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_CStdPoint_float'.\n"
81310  " Possible C/C++ prototypes are:\n"
81311  " CStdPoint< float >::CStdPoint()\n"
81312  " CStdPoint< float >::CStdPoint(float,float,float)\n");
81313  return 0;
81314 }
81315 
81316 
81317 SWIGINTERN PyObject *_wrap_CStdPoint_float_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81318  PyObject *resultobj = 0;
81319  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81320  float arg2 ;
81321  float arg3 ;
81322  float arg4 ;
81323  void *argp1 = 0 ;
81324  int res1 = 0 ;
81325  float val2 ;
81326  int ecode2 = 0 ;
81327  float val3 ;
81328  int ecode3 = 0 ;
81329  float val4 ;
81330  int ecode4 = 0 ;
81331  PyObject * obj0 = 0 ;
81332  PyObject * obj1 = 0 ;
81333  PyObject * obj2 = 0 ;
81334  PyObject * obj3 = 0 ;
81335 
81336  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdPoint_float_Set",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
81337  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81338  if (!SWIG_IsOK(res1)) {
81339  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float_Set" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81340  }
81341  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81342  ecode2 = SWIG_AsVal_float(obj1, &val2);
81343  if (!SWIG_IsOK(ecode2)) {
81344  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_float_Set" "', argument " "2"" of type '" "float""'");
81345  }
81346  arg2 = static_cast< float >(val2);
81347  ecode3 = SWIG_AsVal_float(obj2, &val3);
81348  if (!SWIG_IsOK(ecode3)) {
81349  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdPoint_float_Set" "', argument " "3"" of type '" "float""'");
81350  }
81351  arg3 = static_cast< float >(val3);
81352  ecode4 = SWIG_AsVal_float(obj3, &val4);
81353  if (!SWIG_IsOK(ecode4)) {
81354  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdPoint_float_Set" "', argument " "4"" of type '" "float""'");
81355  }
81356  arg4 = static_cast< float >(val4);
81357  (arg1)->Set(arg2,arg3,arg4);
81358  resultobj = SWIG_Py_Void();
81359  return resultobj;
81360 fail:
81361  return NULL;
81362 }
81363 
81364 
81365 SWIGINTERN PyObject *_wrap_CStdPoint_float___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81366  PyObject *resultobj = 0;
81367  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81368  CStdPoint< float > *arg2 = 0 ;
81369  void *argp1 = 0 ;
81370  int res1 = 0 ;
81371  void *argp2 = 0 ;
81372  int res2 = 0 ;
81373  PyObject * obj0 = 0 ;
81374  PyObject * obj1 = 0 ;
81375  bool result;
81376 
81377  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___eq__",&obj0,&obj1)) SWIG_fail;
81378  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81379  if (!SWIG_IsOK(res1)) {
81380  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___eq__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81381  }
81382  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81383  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
81384  if (!SWIG_IsOK(res2)) {
81385  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_float___eq__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81386  }
81387  if (!argp2) {
81388  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_float___eq__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81389  }
81390  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
81391  result = (bool)(arg1)->operator ==((CStdPoint< float > const &)*arg2);
81392  resultobj = SWIG_From_bool(static_cast< bool >(result));
81393  return resultobj;
81394 fail:
81395  return NULL;
81396 }
81397 
81398 
81399 SWIGINTERN PyObject *_wrap_CStdPoint_float___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81400  PyObject *resultobj = 0;
81401  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81402  CStdPoint< float > *arg2 = 0 ;
81403  void *argp1 = 0 ;
81404  int res1 = 0 ;
81405  void *argp2 = 0 ;
81406  int res2 = 0 ;
81407  PyObject * obj0 = 0 ;
81408  PyObject * obj1 = 0 ;
81409  bool result;
81410 
81411  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___ne__",&obj0,&obj1)) SWIG_fail;
81412  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81413  if (!SWIG_IsOK(res1)) {
81414  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___ne__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81415  }
81416  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81417  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
81418  if (!SWIG_IsOK(res2)) {
81419  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_float___ne__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81420  }
81421  if (!argp2) {
81422  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_float___ne__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81423  }
81424  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
81425  result = (bool)(arg1)->operator !=((CStdPoint< float > const &)*arg2);
81426  resultobj = SWIG_From_bool(static_cast< bool >(result));
81427  return resultobj;
81428 fail:
81429  return NULL;
81430 }
81431 
81432 
81433 SWIGINTERN PyObject *_wrap_CStdPoint_float_Equal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81434  PyObject *resultobj = 0;
81435  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81436  CStdPoint< float > *arg2 = 0 ;
81437  double arg3 ;
81438  void *argp1 = 0 ;
81439  int res1 = 0 ;
81440  void *argp2 = 0 ;
81441  int res2 = 0 ;
81442  double val3 ;
81443  int ecode3 = 0 ;
81444  PyObject * obj0 = 0 ;
81445  PyObject * obj1 = 0 ;
81446  PyObject * obj2 = 0 ;
81447  bool result;
81448 
81449  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPoint_float_Equal",&obj0,&obj1,&obj2)) SWIG_fail;
81450  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81451  if (!SWIG_IsOK(res1)) {
81452  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float_Equal" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81453  }
81454  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81455  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
81456  if (!SWIG_IsOK(res2)) {
81457  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_float_Equal" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81458  }
81459  if (!argp2) {
81460  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_float_Equal" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81461  }
81462  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
81463  ecode3 = SWIG_AsVal_double(obj2, &val3);
81464  if (!SWIG_IsOK(ecode3)) {
81465  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdPoint_float_Equal" "', argument " "3"" of type '" "double""'");
81466  }
81467  arg3 = static_cast< double >(val3);
81468  result = (bool)(arg1)->Equal((CStdPoint< float > const &)*arg2,arg3);
81469  resultobj = SWIG_From_bool(static_cast< bool >(result));
81470  return resultobj;
81471 fail:
81472  return NULL;
81473 }
81474 
81475 
81476 SWIGINTERN PyObject *_wrap_CStdPoint_float___iadd____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81477  PyObject *resultobj = 0;
81478  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81479  CStdPoint< float > *arg2 = 0 ;
81480  void *argp1 = 0 ;
81481  int res1 = 0 ;
81482  void *argp2 = 0 ;
81483  int res2 = 0 ;
81484  PyObject * obj0 = 0 ;
81485  PyObject * obj1 = 0 ;
81486 
81487  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___iadd__",&obj0,&obj1)) SWIG_fail;
81488  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_DISOWN | 0 );
81489  if (!SWIG_IsOK(res1)) {
81490  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___iadd__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81491  }
81492  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81493  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
81494  if (!SWIG_IsOK(res2)) {
81495  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_float___iadd__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81496  }
81497  if (!argp2) {
81498  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_float___iadd__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81499  }
81500  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
81501  (arg1)->operator +=((CStdPoint< float > const &)*arg2);
81502  resultobj = SWIG_Py_Void();
81503  return resultobj;
81504 fail:
81505  return NULL;
81506 }
81507 
81508 
81509 SWIGINTERN PyObject *_wrap_CStdPoint_float___isub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81510  PyObject *resultobj = 0;
81511  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81512  CStdPoint< float > *arg2 = 0 ;
81513  void *argp1 = 0 ;
81514  int res1 = 0 ;
81515  void *argp2 = 0 ;
81516  int res2 = 0 ;
81517  PyObject * obj0 = 0 ;
81518  PyObject * obj1 = 0 ;
81519 
81520  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___isub__",&obj0,&obj1)) SWIG_fail;
81521  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_DISOWN | 0 );
81522  if (!SWIG_IsOK(res1)) {
81523  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___isub__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81524  }
81525  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81526  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
81527  if (!SWIG_IsOK(res2)) {
81528  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_float___isub__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81529  }
81530  if (!argp2) {
81531  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_float___isub__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81532  }
81533  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
81534  (arg1)->operator -=((CStdPoint< float > const &)*arg2);
81535  resultobj = SWIG_Py_Void();
81536  return resultobj;
81537 fail:
81538  return NULL;
81539 }
81540 
81541 
81542 SWIGINTERN PyObject *_wrap_CStdPoint_float___add____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81543  PyObject *resultobj = 0;
81544  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81545  CStdPoint< float > *arg2 = 0 ;
81546  void *argp1 = 0 ;
81547  int res1 = 0 ;
81548  void *argp2 = 0 ;
81549  int res2 = 0 ;
81550  PyObject * obj0 = 0 ;
81551  PyObject * obj1 = 0 ;
81552  CStdPoint< float > result;
81553 
81554  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___add__",&obj0,&obj1)) SWIG_fail;
81555  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81556  if (!SWIG_IsOK(res1)) {
81557  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___add__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81558  }
81559  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81560  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
81561  if (!SWIG_IsOK(res2)) {
81562  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_float___add__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81563  }
81564  if (!argp2) {
81565  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_float___add__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81566  }
81567  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
81568  result = (arg1)->operator +((CStdPoint< float > const &)*arg2);
81569  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
81570  return resultobj;
81571 fail:
81572  return NULL;
81573 }
81574 
81575 
81576 SWIGINTERN PyObject *_wrap_CStdPoint_float___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81577  PyObject *resultobj = 0;
81578  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81579  CStdPoint< float > *arg2 = 0 ;
81580  void *argp1 = 0 ;
81581  int res1 = 0 ;
81582  void *argp2 = 0 ;
81583  int res2 = 0 ;
81584  PyObject * obj0 = 0 ;
81585  PyObject * obj1 = 0 ;
81586  CStdPoint< float > result;
81587 
81588  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___sub__",&obj0,&obj1)) SWIG_fail;
81589  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81590  if (!SWIG_IsOK(res1)) {
81591  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___sub__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81592  }
81593  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81594  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
81595  if (!SWIG_IsOK(res2)) {
81596  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_float___sub__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81597  }
81598  if (!argp2) {
81599  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_float___sub__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81600  }
81601  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
81602  result = (arg1)->operator -((CStdPoint< float > const &)*arg2);
81603  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
81604  return resultobj;
81605 fail:
81606  return NULL;
81607 }
81608 
81609 
81610 SWIGINTERN PyObject *_wrap_CStdPoint_float___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81611  PyObject *resultobj = 0;
81612  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81613  CStdPoint< float > *arg2 = 0 ;
81614  void *argp1 = 0 ;
81615  int res1 = 0 ;
81616  void *argp2 = 0 ;
81617  int res2 = 0 ;
81618  PyObject * obj0 = 0 ;
81619  PyObject * obj1 = 0 ;
81620  CStdPoint< float > result;
81621 
81622  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___mul__",&obj0,&obj1)) SWIG_fail;
81623  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81624  if (!SWIG_IsOK(res1)) {
81625  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___mul__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81626  }
81627  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81628  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
81629  if (!SWIG_IsOK(res2)) {
81630  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_float___mul__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81631  }
81632  if (!argp2) {
81633  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_float___mul__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81634  }
81635  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
81636  result = (arg1)->operator *((CStdPoint< float > const &)*arg2);
81637  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
81638  return resultobj;
81639 fail:
81640  return NULL;
81641 }
81642 
81643 
81644 SWIGINTERN PyObject *_wrap_CStdPoint_float_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81645  PyObject *resultobj = 0;
81646  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81647  CStdPoint< float > *arg2 = 0 ;
81648  void *argp1 = 0 ;
81649  int res1 = 0 ;
81650  void *argp2 = 0 ;
81651  int res2 = 0 ;
81652  PyObject * obj0 = 0 ;
81653  PyObject * obj1 = 0 ;
81654  float result;
81655 
81656  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float_dot",&obj0,&obj1)) SWIG_fail;
81657  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81658  if (!SWIG_IsOK(res1)) {
81659  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float_dot" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81660  }
81661  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81662  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
81663  if (!SWIG_IsOK(res2)) {
81664  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_float_dot" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81665  }
81666  if (!argp2) {
81667  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_float_dot" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81668  }
81669  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
81670  result = (float)(arg1)->dot((CStdPoint< float > const &)*arg2);
81671  resultobj = SWIG_From_float(static_cast< float >(result));
81672  return resultobj;
81673 fail:
81674  return NULL;
81675 }
81676 
81677 
81678 SWIGINTERN PyObject *_wrap_CStdPoint_float___div____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81679  PyObject *resultobj = 0;
81680  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81681  CStdPoint< float > *arg2 = 0 ;
81682  void *argp1 = 0 ;
81683  int res1 = 0 ;
81684  void *argp2 = 0 ;
81685  int res2 = 0 ;
81686  PyObject * obj0 = 0 ;
81687  PyObject * obj1 = 0 ;
81688  CStdPoint< float > result;
81689 
81690  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___div__",&obj0,&obj1)) SWIG_fail;
81691  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81692  if (!SWIG_IsOK(res1)) {
81693  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___div__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81694  }
81695  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81696  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
81697  if (!SWIG_IsOK(res2)) {
81698  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_float___div__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81699  }
81700  if (!argp2) {
81701  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_float___div__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
81702  }
81703  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
81704  result = (arg1)->operator /((CStdPoint< float > const &)*arg2);
81705  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
81706  return resultobj;
81707 fail:
81708  return NULL;
81709 }
81710 
81711 
81712 SWIGINTERN PyObject *_wrap_CStdPoint_float___iadd____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81713  PyObject *resultobj = 0;
81714  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81715  float arg2 ;
81716  void *argp1 = 0 ;
81717  int res1 = 0 ;
81718  float val2 ;
81719  int ecode2 = 0 ;
81720  PyObject * obj0 = 0 ;
81721  PyObject * obj1 = 0 ;
81722 
81723  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___iadd__",&obj0,&obj1)) SWIG_fail;
81724  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_DISOWN | 0 );
81725  if (!SWIG_IsOK(res1)) {
81726  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___iadd__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81727  }
81728  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81729  ecode2 = SWIG_AsVal_float(obj1, &val2);
81730  if (!SWIG_IsOK(ecode2)) {
81731  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_float___iadd__" "', argument " "2"" of type '" "float""'");
81732  }
81733  arg2 = static_cast< float >(val2);
81734  (arg1)->operator +=(arg2);
81735  resultobj = SWIG_Py_Void();
81736  return resultobj;
81737 fail:
81738  return NULL;
81739 }
81740 
81741 
81742 SWIGINTERN PyObject *_wrap_CStdPoint_float___iadd__(PyObject *self, PyObject *args) {
81743  int argc;
81744  PyObject *argv[3];
81745  int ii;
81746 
81747  if (!PyTuple_Check(args)) SWIG_fail;
81748  argc = args ? (int)PyObject_Length(args) : 0;
81749  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
81750  argv[ii] = PyTuple_GET_ITEM(args,ii);
81751  }
81752  if (argc == 2) {
81753  int _v;
81754  void *vptr = 0;
81755  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
81756  _v = SWIG_CheckState(res);
81757  if (_v) {
81758  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_float_t, 0);
81759  _v = SWIG_CheckState(res);
81760  if (_v) {
81761  return _wrap_CStdPoint_float___iadd____SWIG_0(self, args);
81762  }
81763  }
81764  }
81765  if (argc == 2) {
81766  int _v;
81767  void *vptr = 0;
81768  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
81769  _v = SWIG_CheckState(res);
81770  if (_v) {
81771  {
81772  int res = SWIG_AsVal_float(argv[1], NULL);
81773  _v = SWIG_CheckState(res);
81774  }
81775  if (_v) {
81776  return _wrap_CStdPoint_float___iadd____SWIG_1(self, args);
81777  }
81778  }
81779  }
81780 
81781 fail:
81782  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPoint_float___iadd__'.\n"
81783  " Possible C/C++ prototypes are:\n"
81784  " CStdPoint< float >::operator +=(CStdPoint< float > const &)\n"
81785  " CStdPoint< float >::operator +=(float const)\n");
81786  return 0;
81787 }
81788 
81789 
81790 SWIGINTERN PyObject *_wrap_CStdPoint_float___isub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81791  PyObject *resultobj = 0;
81792  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81793  float arg2 ;
81794  void *argp1 = 0 ;
81795  int res1 = 0 ;
81796  float val2 ;
81797  int ecode2 = 0 ;
81798  PyObject * obj0 = 0 ;
81799  PyObject * obj1 = 0 ;
81800 
81801  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___isub__",&obj0,&obj1)) SWIG_fail;
81802  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_DISOWN | 0 );
81803  if (!SWIG_IsOK(res1)) {
81804  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___isub__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81805  }
81806  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81807  ecode2 = SWIG_AsVal_float(obj1, &val2);
81808  if (!SWIG_IsOK(ecode2)) {
81809  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_float___isub__" "', argument " "2"" of type '" "float""'");
81810  }
81811  arg2 = static_cast< float >(val2);
81812  (arg1)->operator -=(arg2);
81813  resultobj = SWIG_Py_Void();
81814  return resultobj;
81815 fail:
81816  return NULL;
81817 }
81818 
81819 
81820 SWIGINTERN PyObject *_wrap_CStdPoint_float___isub__(PyObject *self, PyObject *args) {
81821  int argc;
81822  PyObject *argv[3];
81823  int ii;
81824 
81825  if (!PyTuple_Check(args)) SWIG_fail;
81826  argc = args ? (int)PyObject_Length(args) : 0;
81827  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
81828  argv[ii] = PyTuple_GET_ITEM(args,ii);
81829  }
81830  if (argc == 2) {
81831  int _v;
81832  void *vptr = 0;
81833  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
81834  _v = SWIG_CheckState(res);
81835  if (_v) {
81836  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_float_t, 0);
81837  _v = SWIG_CheckState(res);
81838  if (_v) {
81839  return _wrap_CStdPoint_float___isub____SWIG_0(self, args);
81840  }
81841  }
81842  }
81843  if (argc == 2) {
81844  int _v;
81845  void *vptr = 0;
81846  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
81847  _v = SWIG_CheckState(res);
81848  if (_v) {
81849  {
81850  int res = SWIG_AsVal_float(argv[1], NULL);
81851  _v = SWIG_CheckState(res);
81852  }
81853  if (_v) {
81854  return _wrap_CStdPoint_float___isub____SWIG_1(self, args);
81855  }
81856  }
81857  }
81858 
81859 fail:
81860  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPoint_float___isub__'.\n"
81861  " Possible C/C++ prototypes are:\n"
81862  " CStdPoint< float >::operator -=(CStdPoint< float > const &)\n"
81863  " CStdPoint< float >::operator -=(float const)\n");
81864  return 0;
81865 }
81866 
81867 
81868 SWIGINTERN PyObject *_wrap_CStdPoint_float___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81869  PyObject *resultobj = 0;
81870  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81871  float arg2 ;
81872  void *argp1 = 0 ;
81873  int res1 = 0 ;
81874  float val2 ;
81875  int ecode2 = 0 ;
81876  PyObject * obj0 = 0 ;
81877  PyObject * obj1 = 0 ;
81878 
81879  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___imul__",&obj0,&obj1)) SWIG_fail;
81880  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_DISOWN | 0 );
81881  if (!SWIG_IsOK(res1)) {
81882  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___imul__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81883  }
81884  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81885  ecode2 = SWIG_AsVal_float(obj1, &val2);
81886  if (!SWIG_IsOK(ecode2)) {
81887  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_float___imul__" "', argument " "2"" of type '" "float""'");
81888  }
81889  arg2 = static_cast< float >(val2);
81890  (arg1)->operator *=(arg2);
81891  resultobj = SWIG_Py_Void();
81892  return resultobj;
81893 fail:
81894  return NULL;
81895 }
81896 
81897 
81898 SWIGINTERN PyObject *_wrap_CStdPoint_float___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81899  PyObject *resultobj = 0;
81900  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81901  float arg2 ;
81902  void *argp1 = 0 ;
81903  int res1 = 0 ;
81904  float val2 ;
81905  int ecode2 = 0 ;
81906  PyObject * obj0 = 0 ;
81907  PyObject * obj1 = 0 ;
81908 
81909  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___idiv__",&obj0,&obj1)) SWIG_fail;
81910  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_DISOWN | 0 );
81911  if (!SWIG_IsOK(res1)) {
81912  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___idiv__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81913  }
81914  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81915  ecode2 = SWIG_AsVal_float(obj1, &val2);
81916  if (!SWIG_IsOK(ecode2)) {
81917  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_float___idiv__" "', argument " "2"" of type '" "float""'");
81918  }
81919  arg2 = static_cast< float >(val2);
81920  (arg1)->operator /=(arg2);
81921  resultobj = SWIG_Py_Void();
81922  return resultobj;
81923 fail:
81924  return NULL;
81925 }
81926 
81927 
81928 SWIGINTERN PyObject *_wrap_CStdPoint_float___add____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
81929  PyObject *resultobj = 0;
81930  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
81931  float arg2 ;
81932  void *argp1 = 0 ;
81933  int res1 = 0 ;
81934  float val2 ;
81935  int ecode2 = 0 ;
81936  PyObject * obj0 = 0 ;
81937  PyObject * obj1 = 0 ;
81938  CStdPoint< float > result;
81939 
81940  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___add__",&obj0,&obj1)) SWIG_fail;
81941  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
81942  if (!SWIG_IsOK(res1)) {
81943  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___add__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
81944  }
81945  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
81946  ecode2 = SWIG_AsVal_float(obj1, &val2);
81947  if (!SWIG_IsOK(ecode2)) {
81948  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_float___add__" "', argument " "2"" of type '" "float""'");
81949  }
81950  arg2 = static_cast< float >(val2);
81951  result = (arg1)->operator +(arg2);
81952  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
81953  return resultobj;
81954 fail:
81955  return NULL;
81956 }
81957 
81958 
81959 SWIGINTERN PyObject *_wrap_CStdPoint_float___add__(PyObject *self, PyObject *args) {
81960  int argc;
81961  PyObject *argv[3];
81962  int ii;
81963 
81964  if (!PyTuple_Check(args)) SWIG_fail;
81965  argc = args ? (int)PyObject_Length(args) : 0;
81966  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
81967  argv[ii] = PyTuple_GET_ITEM(args,ii);
81968  }
81969  if (argc == 2) {
81970  int _v;
81971  void *vptr = 0;
81972  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
81973  _v = SWIG_CheckState(res);
81974  if (_v) {
81975  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_float_t, 0);
81976  _v = SWIG_CheckState(res);
81977  if (_v) {
81978  return _wrap_CStdPoint_float___add____SWIG_0(self, args);
81979  }
81980  }
81981  }
81982  if (argc == 2) {
81983  int _v;
81984  void *vptr = 0;
81985  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
81986  _v = SWIG_CheckState(res);
81987  if (_v) {
81988  {
81989  int res = SWIG_AsVal_float(argv[1], NULL);
81990  _v = SWIG_CheckState(res);
81991  }
81992  if (_v) {
81993  return _wrap_CStdPoint_float___add____SWIG_1(self, args);
81994  }
81995  }
81996  }
81997 
81998 fail:
81999  Py_INCREF(Py_NotImplemented);
82000  return Py_NotImplemented;
82001 }
82002 
82003 
82004 SWIGINTERN PyObject *_wrap_CStdPoint_float___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82005  PyObject *resultobj = 0;
82006  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
82007  float arg2 ;
82008  void *argp1 = 0 ;
82009  int res1 = 0 ;
82010  float val2 ;
82011  int ecode2 = 0 ;
82012  PyObject * obj0 = 0 ;
82013  PyObject * obj1 = 0 ;
82014  CStdPoint< float > result;
82015 
82016  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___sub__",&obj0,&obj1)) SWIG_fail;
82017  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
82018  if (!SWIG_IsOK(res1)) {
82019  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___sub__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
82020  }
82021  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
82022  ecode2 = SWIG_AsVal_float(obj1, &val2);
82023  if (!SWIG_IsOK(ecode2)) {
82024  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_float___sub__" "', argument " "2"" of type '" "float""'");
82025  }
82026  arg2 = static_cast< float >(val2);
82027  result = (arg1)->operator -(arg2);
82028  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
82029  return resultobj;
82030 fail:
82031  return NULL;
82032 }
82033 
82034 
82035 SWIGINTERN PyObject *_wrap_CStdPoint_float___sub__(PyObject *self, PyObject *args) {
82036  int argc;
82037  PyObject *argv[3];
82038  int ii;
82039 
82040  if (!PyTuple_Check(args)) SWIG_fail;
82041  argc = args ? (int)PyObject_Length(args) : 0;
82042  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
82043  argv[ii] = PyTuple_GET_ITEM(args,ii);
82044  }
82045  if (argc == 2) {
82046  int _v;
82047  void *vptr = 0;
82048  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
82049  _v = SWIG_CheckState(res);
82050  if (_v) {
82051  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_float_t, 0);
82052  _v = SWIG_CheckState(res);
82053  if (_v) {
82054  return _wrap_CStdPoint_float___sub____SWIG_0(self, args);
82055  }
82056  }
82057  }
82058  if (argc == 2) {
82059  int _v;
82060  void *vptr = 0;
82061  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
82062  _v = SWIG_CheckState(res);
82063  if (_v) {
82064  {
82065  int res = SWIG_AsVal_float(argv[1], NULL);
82066  _v = SWIG_CheckState(res);
82067  }
82068  if (_v) {
82069  return _wrap_CStdPoint_float___sub____SWIG_1(self, args);
82070  }
82071  }
82072  }
82073 
82074 fail:
82075  Py_INCREF(Py_NotImplemented);
82076  return Py_NotImplemented;
82077 }
82078 
82079 
82080 SWIGINTERN PyObject *_wrap_CStdPoint_float___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82081  PyObject *resultobj = 0;
82082  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
82083  float arg2 ;
82084  void *argp1 = 0 ;
82085  int res1 = 0 ;
82086  float val2 ;
82087  int ecode2 = 0 ;
82088  PyObject * obj0 = 0 ;
82089  PyObject * obj1 = 0 ;
82090  CStdPoint< float > result;
82091 
82092  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___mul__",&obj0,&obj1)) SWIG_fail;
82093  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
82094  if (!SWIG_IsOK(res1)) {
82095  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___mul__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
82096  }
82097  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
82098  ecode2 = SWIG_AsVal_float(obj1, &val2);
82099  if (!SWIG_IsOK(ecode2)) {
82100  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_float___mul__" "', argument " "2"" of type '" "float""'");
82101  }
82102  arg2 = static_cast< float >(val2);
82103  result = (arg1)->operator *(arg2);
82104  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
82105  return resultobj;
82106 fail:
82107  return NULL;
82108 }
82109 
82110 
82111 SWIGINTERN PyObject *_wrap_CStdPoint_float___mul__(PyObject *self, PyObject *args) {
82112  int argc;
82113  PyObject *argv[3];
82114  int ii;
82115 
82116  if (!PyTuple_Check(args)) SWIG_fail;
82117  argc = args ? (int)PyObject_Length(args) : 0;
82118  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
82119  argv[ii] = PyTuple_GET_ITEM(args,ii);
82120  }
82121  if (argc == 2) {
82122  int _v;
82123  void *vptr = 0;
82124  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
82125  _v = SWIG_CheckState(res);
82126  if (_v) {
82127  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_float_t, 0);
82128  _v = SWIG_CheckState(res);
82129  if (_v) {
82130  return _wrap_CStdPoint_float___mul____SWIG_0(self, args);
82131  }
82132  }
82133  }
82134  if (argc == 2) {
82135  int _v;
82136  void *vptr = 0;
82137  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
82138  _v = SWIG_CheckState(res);
82139  if (_v) {
82140  {
82141  int res = SWIG_AsVal_float(argv[1], NULL);
82142  _v = SWIG_CheckState(res);
82143  }
82144  if (_v) {
82145  return _wrap_CStdPoint_float___mul____SWIG_1(self, args);
82146  }
82147  }
82148  }
82149 
82150 fail:
82151  Py_INCREF(Py_NotImplemented);
82152  return Py_NotImplemented;
82153 }
82154 
82155 
82156 SWIGINTERN PyObject *_wrap_CStdPoint_float___div____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82157  PyObject *resultobj = 0;
82158  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
82159  float arg2 ;
82160  void *argp1 = 0 ;
82161  int res1 = 0 ;
82162  float val2 ;
82163  int ecode2 = 0 ;
82164  PyObject * obj0 = 0 ;
82165  PyObject * obj1 = 0 ;
82166  CStdPoint< float > result;
82167 
82168  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___div__",&obj0,&obj1)) SWIG_fail;
82169  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
82170  if (!SWIG_IsOK(res1)) {
82171  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___div__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
82172  }
82173  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
82174  ecode2 = SWIG_AsVal_float(obj1, &val2);
82175  if (!SWIG_IsOK(ecode2)) {
82176  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_float___div__" "', argument " "2"" of type '" "float""'");
82177  }
82178  arg2 = static_cast< float >(val2);
82179  result = (arg1)->operator /(arg2);
82180  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
82181  return resultobj;
82182 fail:
82183  return NULL;
82184 }
82185 
82186 
82187 SWIGINTERN PyObject *_wrap_CStdPoint_float___div__(PyObject *self, PyObject *args) {
82188  int argc;
82189  PyObject *argv[3];
82190  int ii;
82191 
82192  if (!PyTuple_Check(args)) SWIG_fail;
82193  argc = args ? (int)PyObject_Length(args) : 0;
82194  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
82195  argv[ii] = PyTuple_GET_ITEM(args,ii);
82196  }
82197  if (argc == 2) {
82198  int _v;
82199  void *vptr = 0;
82200  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
82201  _v = SWIG_CheckState(res);
82202  if (_v) {
82203  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_float_t, 0);
82204  _v = SWIG_CheckState(res);
82205  if (_v) {
82206  return _wrap_CStdPoint_float___div____SWIG_0(self, args);
82207  }
82208  }
82209  }
82210  if (argc == 2) {
82211  int _v;
82212  void *vptr = 0;
82213  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
82214  _v = SWIG_CheckState(res);
82215  if (_v) {
82216  {
82217  int res = SWIG_AsVal_float(argv[1], NULL);
82218  _v = SWIG_CheckState(res);
82219  }
82220  if (_v) {
82221  return _wrap_CStdPoint_float___div____SWIG_1(self, args);
82222  }
82223  }
82224  }
82225 
82226 fail:
82227  Py_INCREF(Py_NotImplemented);
82228  return Py_NotImplemented;
82229 }
82230 
82231 
82232 SWIGINTERN PyObject *_wrap_CStdPoint_float___xor__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82233  PyObject *resultobj = 0;
82234  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
82235  CStdPoint< float > *arg2 = 0 ;
82236  void *argp1 = 0 ;
82237  int res1 = 0 ;
82238  void *argp2 = 0 ;
82239  int res2 = 0 ;
82240  PyObject * obj0 = 0 ;
82241  PyObject * obj1 = 0 ;
82242  CStdPoint< float > result;
82243 
82244  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float___xor__",&obj0,&obj1)) SWIG_fail;
82245  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
82246  if (!SWIG_IsOK(res1)) {
82247  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float___xor__" "', argument " "1"" of type '" "CStdPoint< float > *""'");
82248  }
82249  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
82250  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
82251  if (!SWIG_IsOK(res2)) {
82252  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_float___xor__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
82253  }
82254  if (!argp2) {
82255  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_float___xor__" "', argument " "2"" of type '" "CStdPoint< float > const &""'");
82256  }
82257  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
82258  result = (arg1)->operator ^((CStdPoint< float > const &)*arg2);
82259  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
82260  return resultobj;
82261 fail:
82262  return NULL;
82263 }
82264 
82265 
82266 SWIGINTERN PyObject *_wrap_CStdPoint_float_Magnitude(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82267  PyObject *resultobj = 0;
82268  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
82269  void *argp1 = 0 ;
82270  int res1 = 0 ;
82271  PyObject * obj0 = 0 ;
82272  double result;
82273 
82274  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_float_Magnitude",&obj0)) SWIG_fail;
82275  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
82276  if (!SWIG_IsOK(res1)) {
82277  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float_Magnitude" "', argument " "1"" of type '" "CStdPoint< float > *""'");
82278  }
82279  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
82280  result = (double)(arg1)->Magnitude();
82281  resultobj = SWIG_From_double(static_cast< double >(result));
82282  return resultobj;
82283 fail:
82284  return NULL;
82285 }
82286 
82287 
82288 SWIGINTERN PyObject *_wrap_CStdPoint_float_Normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82289  PyObject *resultobj = 0;
82290  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
82291  void *argp1 = 0 ;
82292  int res1 = 0 ;
82293  PyObject * obj0 = 0 ;
82294 
82295  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_float_Normalize",&obj0)) SWIG_fail;
82296  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
82297  if (!SWIG_IsOK(res1)) {
82298  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float_Normalize" "', argument " "1"" of type '" "CStdPoint< float > *""'");
82299  }
82300  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
82301  (arg1)->Normalize();
82302  resultobj = SWIG_Py_Void();
82303  return resultobj;
82304 fail:
82305  return NULL;
82306 }
82307 
82308 
82309 SWIGINTERN PyObject *_wrap_CStdPoint_float_ClearNearZero__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82310  PyObject *resultobj = 0;
82311  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
82312  float arg2 ;
82313  void *argp1 = 0 ;
82314  int res1 = 0 ;
82315  float val2 ;
82316  int ecode2 = 0 ;
82317  PyObject * obj0 = 0 ;
82318  PyObject * obj1 = 0 ;
82319 
82320  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_float_ClearNearZero",&obj0,&obj1)) SWIG_fail;
82321  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
82322  if (!SWIG_IsOK(res1)) {
82323  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float_ClearNearZero" "', argument " "1"" of type '" "CStdPoint< float > *""'");
82324  }
82325  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
82326  ecode2 = SWIG_AsVal_float(obj1, &val2);
82327  if (!SWIG_IsOK(ecode2)) {
82328  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_float_ClearNearZero" "', argument " "2"" of type '" "float""'");
82329  }
82330  arg2 = static_cast< float >(val2);
82331  (arg1)->ClearNearZero(arg2);
82332  resultobj = SWIG_Py_Void();
82333  return resultobj;
82334 fail:
82335  return NULL;
82336 }
82337 
82338 
82339 SWIGINTERN PyObject *_wrap_CStdPoint_float_ClearNearZero__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82340  PyObject *resultobj = 0;
82341  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
82342  void *argp1 = 0 ;
82343  int res1 = 0 ;
82344  PyObject * obj0 = 0 ;
82345 
82346  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_float_ClearNearZero",&obj0)) SWIG_fail;
82347  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
82348  if (!SWIG_IsOK(res1)) {
82349  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_float_ClearNearZero" "', argument " "1"" of type '" "CStdPoint< float > *""'");
82350  }
82351  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
82352  (arg1)->ClearNearZero();
82353  resultobj = SWIG_Py_Void();
82354  return resultobj;
82355 fail:
82356  return NULL;
82357 }
82358 
82359 
82360 SWIGINTERN PyObject *_wrap_CStdPoint_float_ClearNearZero(PyObject *self, PyObject *args) {
82361  int argc;
82362  PyObject *argv[3];
82363  int ii;
82364 
82365  if (!PyTuple_Check(args)) SWIG_fail;
82366  argc = args ? (int)PyObject_Length(args) : 0;
82367  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
82368  argv[ii] = PyTuple_GET_ITEM(args,ii);
82369  }
82370  if (argc == 1) {
82371  int _v;
82372  void *vptr = 0;
82373  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
82374  _v = SWIG_CheckState(res);
82375  if (_v) {
82376  return _wrap_CStdPoint_float_ClearNearZero__SWIG_1(self, args);
82377  }
82378  }
82379  if (argc == 2) {
82380  int _v;
82381  void *vptr = 0;
82382  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
82383  _v = SWIG_CheckState(res);
82384  if (_v) {
82385  {
82386  int res = SWIG_AsVal_float(argv[1], NULL);
82387  _v = SWIG_CheckState(res);
82388  }
82389  if (_v) {
82390  return _wrap_CStdPoint_float_ClearNearZero__SWIG_0(self, args);
82391  }
82392  }
82393  }
82394 
82395 fail:
82396  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPoint_float_ClearNearZero'.\n"
82397  " Possible C/C++ prototypes are:\n"
82398  " CStdPoint< float >::ClearNearZero(float)\n"
82399  " CStdPoint< float >::ClearNearZero()\n");
82400  return 0;
82401 }
82402 
82403 
82404 SWIGINTERN PyObject *_wrap_delete_CStdPoint_float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82405  PyObject *resultobj = 0;
82406  CStdPoint< float > *arg1 = (CStdPoint< float > *) 0 ;
82407  void *argp1 = 0 ;
82408  int res1 = 0 ;
82409  PyObject * obj0 = 0 ;
82410 
82411  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPoint_float",&obj0)) SWIG_fail;
82412  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_DISOWN | 0 );
82413  if (!SWIG_IsOK(res1)) {
82414  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPoint_float" "', argument " "1"" of type '" "CStdPoint< float > *""'");
82415  }
82416  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
82417  {
82418  try {
82419  delete arg1;
82420  }
82421  catch(CStdErrorInfo oError)
82422  {
82423  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
82424  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
82425  PyErr_SetString(PyExc_IndexError, strError.c_str());
82426  SWIG_fail;
82427  }
82428  catch(...)
82429  {
82430  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
82431  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
82432  SWIG_fail;
82433  }
82434  }
82435  resultobj = SWIG_Py_Void();
82436  return resultobj;
82437 fail:
82438  return NULL;
82439 }
82440 
82441 
82442 SWIGINTERN PyObject *CStdPoint_float_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82443  PyObject *obj;
82444  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
82445  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPointT_float_t, SWIG_NewClientData(obj));
82446  return SWIG_Py_Void();
82447 }
82448 
82449 SWIGINTERN PyObject *_wrap_CStdPoint_double_x_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82450  PyObject *resultobj = 0;
82451  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
82452  double arg2 ;
82453  void *argp1 = 0 ;
82454  int res1 = 0 ;
82455  double val2 ;
82456  int ecode2 = 0 ;
82457  PyObject * obj0 = 0 ;
82458  PyObject * obj1 = 0 ;
82459 
82460  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double_x_set",&obj0,&obj1)) SWIG_fail;
82461  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
82462  if (!SWIG_IsOK(res1)) {
82463  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double_x_set" "', argument " "1"" of type '" "CStdPoint< double > *""'");
82464  }
82465  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
82466  ecode2 = SWIG_AsVal_double(obj1, &val2);
82467  if (!SWIG_IsOK(ecode2)) {
82468  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_double_x_set" "', argument " "2"" of type '" "double""'");
82469  }
82470  arg2 = static_cast< double >(val2);
82471  if (arg1) (arg1)->x = arg2;
82472  resultobj = SWIG_Py_Void();
82473  return resultobj;
82474 fail:
82475  return NULL;
82476 }
82477 
82478 
82479 SWIGINTERN PyObject *_wrap_CStdPoint_double_x_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82480  PyObject *resultobj = 0;
82481  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
82482  void *argp1 = 0 ;
82483  int res1 = 0 ;
82484  PyObject * obj0 = 0 ;
82485  double result;
82486 
82487  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_double_x_get",&obj0)) SWIG_fail;
82488  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
82489  if (!SWIG_IsOK(res1)) {
82490  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double_x_get" "', argument " "1"" of type '" "CStdPoint< double > *""'");
82491  }
82492  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
82493  result = (double) ((arg1)->x);
82494  resultobj = SWIG_From_double(static_cast< double >(result));
82495  return resultobj;
82496 fail:
82497  return NULL;
82498 }
82499 
82500 
82501 SWIGINTERN PyObject *_wrap_CStdPoint_double_y_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82502  PyObject *resultobj = 0;
82503  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
82504  double arg2 ;
82505  void *argp1 = 0 ;
82506  int res1 = 0 ;
82507  double val2 ;
82508  int ecode2 = 0 ;
82509  PyObject * obj0 = 0 ;
82510  PyObject * obj1 = 0 ;
82511 
82512  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double_y_set",&obj0,&obj1)) SWIG_fail;
82513  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
82514  if (!SWIG_IsOK(res1)) {
82515  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double_y_set" "', argument " "1"" of type '" "CStdPoint< double > *""'");
82516  }
82517  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
82518  ecode2 = SWIG_AsVal_double(obj1, &val2);
82519  if (!SWIG_IsOK(ecode2)) {
82520  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_double_y_set" "', argument " "2"" of type '" "double""'");
82521  }
82522  arg2 = static_cast< double >(val2);
82523  if (arg1) (arg1)->y = arg2;
82524  resultobj = SWIG_Py_Void();
82525  return resultobj;
82526 fail:
82527  return NULL;
82528 }
82529 
82530 
82531 SWIGINTERN PyObject *_wrap_CStdPoint_double_y_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82532  PyObject *resultobj = 0;
82533  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
82534  void *argp1 = 0 ;
82535  int res1 = 0 ;
82536  PyObject * obj0 = 0 ;
82537  double result;
82538 
82539  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_double_y_get",&obj0)) SWIG_fail;
82540  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
82541  if (!SWIG_IsOK(res1)) {
82542  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double_y_get" "', argument " "1"" of type '" "CStdPoint< double > *""'");
82543  }
82544  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
82545  result = (double) ((arg1)->y);
82546  resultobj = SWIG_From_double(static_cast< double >(result));
82547  return resultobj;
82548 fail:
82549  return NULL;
82550 }
82551 
82552 
82553 SWIGINTERN PyObject *_wrap_CStdPoint_double_z_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82554  PyObject *resultobj = 0;
82555  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
82556  double arg2 ;
82557  void *argp1 = 0 ;
82558  int res1 = 0 ;
82559  double val2 ;
82560  int ecode2 = 0 ;
82561  PyObject * obj0 = 0 ;
82562  PyObject * obj1 = 0 ;
82563 
82564  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double_z_set",&obj0,&obj1)) SWIG_fail;
82565  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
82566  if (!SWIG_IsOK(res1)) {
82567  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double_z_set" "', argument " "1"" of type '" "CStdPoint< double > *""'");
82568  }
82569  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
82570  ecode2 = SWIG_AsVal_double(obj1, &val2);
82571  if (!SWIG_IsOK(ecode2)) {
82572  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_double_z_set" "', argument " "2"" of type '" "double""'");
82573  }
82574  arg2 = static_cast< double >(val2);
82575  if (arg1) (arg1)->z = arg2;
82576  resultobj = SWIG_Py_Void();
82577  return resultobj;
82578 fail:
82579  return NULL;
82580 }
82581 
82582 
82583 SWIGINTERN PyObject *_wrap_CStdPoint_double_z_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82584  PyObject *resultobj = 0;
82585  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
82586  void *argp1 = 0 ;
82587  int res1 = 0 ;
82588  PyObject * obj0 = 0 ;
82589  double result;
82590 
82591  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_double_z_get",&obj0)) SWIG_fail;
82592  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
82593  if (!SWIG_IsOK(res1)) {
82594  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double_z_get" "', argument " "1"" of type '" "CStdPoint< double > *""'");
82595  }
82596  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
82597  result = (double) ((arg1)->z);
82598  resultobj = SWIG_From_double(static_cast< double >(result));
82599  return resultobj;
82600 fail:
82601  return NULL;
82602 }
82603 
82604 
82605 SWIGINTERN PyObject *_wrap_new_CStdPoint_double__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82606  PyObject *resultobj = 0;
82607  CStdPoint< double > *result = 0 ;
82608 
82609  if (!PyArg_ParseTuple(args,(char *)":new_CStdPoint_double")) SWIG_fail;
82610  result = (CStdPoint< double > *)new CStdPoint< double >();
82611  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_NEW | 0 );
82612  return resultobj;
82613 fail:
82614  return NULL;
82615 }
82616 
82617 
82618 SWIGINTERN PyObject *_wrap_new_CStdPoint_double__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82619  PyObject *resultobj = 0;
82620  double arg1 ;
82621  double arg2 ;
82622  double arg3 ;
82623  double val1 ;
82624  int ecode1 = 0 ;
82625  double val2 ;
82626  int ecode2 = 0 ;
82627  double val3 ;
82628  int ecode3 = 0 ;
82629  PyObject * obj0 = 0 ;
82630  PyObject * obj1 = 0 ;
82631  PyObject * obj2 = 0 ;
82632  CStdPoint< double > *result = 0 ;
82633 
82634  if (!PyArg_ParseTuple(args,(char *)"OOO:new_CStdPoint_double",&obj0,&obj1,&obj2)) SWIG_fail;
82635  ecode1 = SWIG_AsVal_double(obj0, &val1);
82636  if (!SWIG_IsOK(ecode1)) {
82637  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdPoint_double" "', argument " "1"" of type '" "double""'");
82638  }
82639  arg1 = static_cast< double >(val1);
82640  ecode2 = SWIG_AsVal_double(obj1, &val2);
82641  if (!SWIG_IsOK(ecode2)) {
82642  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CStdPoint_double" "', argument " "2"" of type '" "double""'");
82643  }
82644  arg2 = static_cast< double >(val2);
82645  ecode3 = SWIG_AsVal_double(obj2, &val3);
82646  if (!SWIG_IsOK(ecode3)) {
82647  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CStdPoint_double" "', argument " "3"" of type '" "double""'");
82648  }
82649  arg3 = static_cast< double >(val3);
82650  result = (CStdPoint< double > *)new CStdPoint< double >(arg1,arg2,arg3);
82651  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_NEW | 0 );
82652  return resultobj;
82653 fail:
82654  return NULL;
82655 }
82656 
82657 
82658 SWIGINTERN PyObject *_wrap_new_CStdPoint_double(PyObject *self, PyObject *args) {
82659  int argc;
82660  PyObject *argv[4];
82661  int ii;
82662 
82663  if (!PyTuple_Check(args)) SWIG_fail;
82664  argc = args ? (int)PyObject_Length(args) : 0;
82665  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
82666  argv[ii] = PyTuple_GET_ITEM(args,ii);
82667  }
82668  if (argc == 0) {
82669  return _wrap_new_CStdPoint_double__SWIG_0(self, args);
82670  }
82671  if (argc == 3) {
82672  int _v;
82673  {
82674  int res = SWIG_AsVal_double(argv[0], NULL);
82675  _v = SWIG_CheckState(res);
82676  }
82677  if (_v) {
82678  {
82679  int res = SWIG_AsVal_double(argv[1], NULL);
82680  _v = SWIG_CheckState(res);
82681  }
82682  if (_v) {
82683  {
82684  int res = SWIG_AsVal_double(argv[2], NULL);
82685  _v = SWIG_CheckState(res);
82686  }
82687  if (_v) {
82688  return _wrap_new_CStdPoint_double__SWIG_1(self, args);
82689  }
82690  }
82691  }
82692  }
82693 
82694 fail:
82695  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_CStdPoint_double'.\n"
82696  " Possible C/C++ prototypes are:\n"
82697  " CStdPoint< double >::CStdPoint()\n"
82698  " CStdPoint< double >::CStdPoint(double,double,double)\n");
82699  return 0;
82700 }
82701 
82702 
82703 SWIGINTERN PyObject *_wrap_CStdPoint_double_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82704  PyObject *resultobj = 0;
82705  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
82706  double arg2 ;
82707  double arg3 ;
82708  double arg4 ;
82709  void *argp1 = 0 ;
82710  int res1 = 0 ;
82711  double val2 ;
82712  int ecode2 = 0 ;
82713  double val3 ;
82714  int ecode3 = 0 ;
82715  double val4 ;
82716  int ecode4 = 0 ;
82717  PyObject * obj0 = 0 ;
82718  PyObject * obj1 = 0 ;
82719  PyObject * obj2 = 0 ;
82720  PyObject * obj3 = 0 ;
82721 
82722  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdPoint_double_Set",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
82723  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
82724  if (!SWIG_IsOK(res1)) {
82725  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double_Set" "', argument " "1"" of type '" "CStdPoint< double > *""'");
82726  }
82727  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
82728  ecode2 = SWIG_AsVal_double(obj1, &val2);
82729  if (!SWIG_IsOK(ecode2)) {
82730  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_double_Set" "', argument " "2"" of type '" "double""'");
82731  }
82732  arg2 = static_cast< double >(val2);
82733  ecode3 = SWIG_AsVal_double(obj2, &val3);
82734  if (!SWIG_IsOK(ecode3)) {
82735  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdPoint_double_Set" "', argument " "3"" of type '" "double""'");
82736  }
82737  arg3 = static_cast< double >(val3);
82738  ecode4 = SWIG_AsVal_double(obj3, &val4);
82739  if (!SWIG_IsOK(ecode4)) {
82740  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdPoint_double_Set" "', argument " "4"" of type '" "double""'");
82741  }
82742  arg4 = static_cast< double >(val4);
82743  (arg1)->Set(arg2,arg3,arg4);
82744  resultobj = SWIG_Py_Void();
82745  return resultobj;
82746 fail:
82747  return NULL;
82748 }
82749 
82750 
82751 SWIGINTERN PyObject *_wrap_CStdPoint_double___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82752  PyObject *resultobj = 0;
82753  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
82754  CStdPoint< double > *arg2 = 0 ;
82755  void *argp1 = 0 ;
82756  int res1 = 0 ;
82757  void *argp2 = 0 ;
82758  int res2 = 0 ;
82759  PyObject * obj0 = 0 ;
82760  PyObject * obj1 = 0 ;
82761  bool result;
82762 
82763  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___eq__",&obj0,&obj1)) SWIG_fail;
82764  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
82765  if (!SWIG_IsOK(res1)) {
82766  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___eq__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
82767  }
82768  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
82769  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_double_t, 0 | 0);
82770  if (!SWIG_IsOK(res2)) {
82771  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_double___eq__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
82772  }
82773  if (!argp2) {
82774  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_double___eq__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
82775  }
82776  arg2 = reinterpret_cast< CStdPoint< double > * >(argp2);
82777  result = (bool)(arg1)->operator ==((CStdPoint< double > const &)*arg2);
82778  resultobj = SWIG_From_bool(static_cast< bool >(result));
82779  return resultobj;
82780 fail:
82781  return NULL;
82782 }
82783 
82784 
82785 SWIGINTERN PyObject *_wrap_CStdPoint_double___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82786  PyObject *resultobj = 0;
82787  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
82788  CStdPoint< double > *arg2 = 0 ;
82789  void *argp1 = 0 ;
82790  int res1 = 0 ;
82791  void *argp2 = 0 ;
82792  int res2 = 0 ;
82793  PyObject * obj0 = 0 ;
82794  PyObject * obj1 = 0 ;
82795  bool result;
82796 
82797  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___ne__",&obj0,&obj1)) SWIG_fail;
82798  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
82799  if (!SWIG_IsOK(res1)) {
82800  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___ne__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
82801  }
82802  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
82803  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_double_t, 0 | 0);
82804  if (!SWIG_IsOK(res2)) {
82805  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_double___ne__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
82806  }
82807  if (!argp2) {
82808  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_double___ne__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
82809  }
82810  arg2 = reinterpret_cast< CStdPoint< double > * >(argp2);
82811  result = (bool)(arg1)->operator !=((CStdPoint< double > const &)*arg2);
82812  resultobj = SWIG_From_bool(static_cast< bool >(result));
82813  return resultobj;
82814 fail:
82815  return NULL;
82816 }
82817 
82818 
82819 SWIGINTERN PyObject *_wrap_CStdPoint_double_Equal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82820  PyObject *resultobj = 0;
82821  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
82822  CStdPoint< double > *arg2 = 0 ;
82823  double arg3 ;
82824  void *argp1 = 0 ;
82825  int res1 = 0 ;
82826  void *argp2 = 0 ;
82827  int res2 = 0 ;
82828  double val3 ;
82829  int ecode3 = 0 ;
82830  PyObject * obj0 = 0 ;
82831  PyObject * obj1 = 0 ;
82832  PyObject * obj2 = 0 ;
82833  bool result;
82834 
82835  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPoint_double_Equal",&obj0,&obj1,&obj2)) SWIG_fail;
82836  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
82837  if (!SWIG_IsOK(res1)) {
82838  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double_Equal" "', argument " "1"" of type '" "CStdPoint< double > *""'");
82839  }
82840  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
82841  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_double_t, 0 | 0);
82842  if (!SWIG_IsOK(res2)) {
82843  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_double_Equal" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
82844  }
82845  if (!argp2) {
82846  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_double_Equal" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
82847  }
82848  arg2 = reinterpret_cast< CStdPoint< double > * >(argp2);
82849  ecode3 = SWIG_AsVal_double(obj2, &val3);
82850  if (!SWIG_IsOK(ecode3)) {
82851  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdPoint_double_Equal" "', argument " "3"" of type '" "double""'");
82852  }
82853  arg3 = static_cast< double >(val3);
82854  result = (bool)(arg1)->Equal((CStdPoint< double > const &)*arg2,arg3);
82855  resultobj = SWIG_From_bool(static_cast< bool >(result));
82856  return resultobj;
82857 fail:
82858  return NULL;
82859 }
82860 
82861 
82862 SWIGINTERN PyObject *_wrap_CStdPoint_double___iadd____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82863  PyObject *resultobj = 0;
82864  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
82865  CStdPoint< double > *arg2 = 0 ;
82866  void *argp1 = 0 ;
82867  int res1 = 0 ;
82868  void *argp2 = 0 ;
82869  int res2 = 0 ;
82870  PyObject * obj0 = 0 ;
82871  PyObject * obj1 = 0 ;
82872 
82873  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___iadd__",&obj0,&obj1)) SWIG_fail;
82874  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_DISOWN | 0 );
82875  if (!SWIG_IsOK(res1)) {
82876  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___iadd__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
82877  }
82878  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
82879  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_double_t, 0 | 0);
82880  if (!SWIG_IsOK(res2)) {
82881  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_double___iadd__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
82882  }
82883  if (!argp2) {
82884  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_double___iadd__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
82885  }
82886  arg2 = reinterpret_cast< CStdPoint< double > * >(argp2);
82887  (arg1)->operator +=((CStdPoint< double > const &)*arg2);
82888  resultobj = SWIG_Py_Void();
82889  return resultobj;
82890 fail:
82891  return NULL;
82892 }
82893 
82894 
82895 SWIGINTERN PyObject *_wrap_CStdPoint_double___isub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82896  PyObject *resultobj = 0;
82897  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
82898  CStdPoint< double > *arg2 = 0 ;
82899  void *argp1 = 0 ;
82900  int res1 = 0 ;
82901  void *argp2 = 0 ;
82902  int res2 = 0 ;
82903  PyObject * obj0 = 0 ;
82904  PyObject * obj1 = 0 ;
82905 
82906  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___isub__",&obj0,&obj1)) SWIG_fail;
82907  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_DISOWN | 0 );
82908  if (!SWIG_IsOK(res1)) {
82909  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___isub__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
82910  }
82911  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
82912  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_double_t, 0 | 0);
82913  if (!SWIG_IsOK(res2)) {
82914  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_double___isub__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
82915  }
82916  if (!argp2) {
82917  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_double___isub__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
82918  }
82919  arg2 = reinterpret_cast< CStdPoint< double > * >(argp2);
82920  (arg1)->operator -=((CStdPoint< double > const &)*arg2);
82921  resultobj = SWIG_Py_Void();
82922  return resultobj;
82923 fail:
82924  return NULL;
82925 }
82926 
82927 
82928 SWIGINTERN PyObject *_wrap_CStdPoint_double___add____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82929  PyObject *resultobj = 0;
82930  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
82931  CStdPoint< double > *arg2 = 0 ;
82932  void *argp1 = 0 ;
82933  int res1 = 0 ;
82934  void *argp2 = 0 ;
82935  int res2 = 0 ;
82936  PyObject * obj0 = 0 ;
82937  PyObject * obj1 = 0 ;
82938  CStdPoint< double > result;
82939 
82940  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___add__",&obj0,&obj1)) SWIG_fail;
82941  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
82942  if (!SWIG_IsOK(res1)) {
82943  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___add__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
82944  }
82945  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
82946  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_double_t, 0 | 0);
82947  if (!SWIG_IsOK(res2)) {
82948  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_double___add__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
82949  }
82950  if (!argp2) {
82951  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_double___add__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
82952  }
82953  arg2 = reinterpret_cast< CStdPoint< double > * >(argp2);
82954  result = (arg1)->operator +((CStdPoint< double > const &)*arg2);
82955  resultobj = SWIG_NewPointerObj((new CStdPoint< double >(static_cast< const CStdPoint< double >& >(result))), SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_OWN | 0 );
82956  return resultobj;
82957 fail:
82958  return NULL;
82959 }
82960 
82961 
82962 SWIGINTERN PyObject *_wrap_CStdPoint_double___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82963  PyObject *resultobj = 0;
82964  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
82965  CStdPoint< double > *arg2 = 0 ;
82966  void *argp1 = 0 ;
82967  int res1 = 0 ;
82968  void *argp2 = 0 ;
82969  int res2 = 0 ;
82970  PyObject * obj0 = 0 ;
82971  PyObject * obj1 = 0 ;
82972  CStdPoint< double > result;
82973 
82974  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___sub__",&obj0,&obj1)) SWIG_fail;
82975  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
82976  if (!SWIG_IsOK(res1)) {
82977  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___sub__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
82978  }
82979  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
82980  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_double_t, 0 | 0);
82981  if (!SWIG_IsOK(res2)) {
82982  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_double___sub__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
82983  }
82984  if (!argp2) {
82985  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_double___sub__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
82986  }
82987  arg2 = reinterpret_cast< CStdPoint< double > * >(argp2);
82988  result = (arg1)->operator -((CStdPoint< double > const &)*arg2);
82989  resultobj = SWIG_NewPointerObj((new CStdPoint< double >(static_cast< const CStdPoint< double >& >(result))), SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_OWN | 0 );
82990  return resultobj;
82991 fail:
82992  return NULL;
82993 }
82994 
82995 
82996 SWIGINTERN PyObject *_wrap_CStdPoint_double___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
82997  PyObject *resultobj = 0;
82998  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
82999  CStdPoint< double > *arg2 = 0 ;
83000  void *argp1 = 0 ;
83001  int res1 = 0 ;
83002  void *argp2 = 0 ;
83003  int res2 = 0 ;
83004  PyObject * obj0 = 0 ;
83005  PyObject * obj1 = 0 ;
83006  CStdPoint< double > result;
83007 
83008  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___mul__",&obj0,&obj1)) SWIG_fail;
83009  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
83010  if (!SWIG_IsOK(res1)) {
83011  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___mul__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83012  }
83013  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83014  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_double_t, 0 | 0);
83015  if (!SWIG_IsOK(res2)) {
83016  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_double___mul__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
83017  }
83018  if (!argp2) {
83019  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_double___mul__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
83020  }
83021  arg2 = reinterpret_cast< CStdPoint< double > * >(argp2);
83022  result = (arg1)->operator *((CStdPoint< double > const &)*arg2);
83023  resultobj = SWIG_NewPointerObj((new CStdPoint< double >(static_cast< const CStdPoint< double >& >(result))), SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_OWN | 0 );
83024  return resultobj;
83025 fail:
83026  return NULL;
83027 }
83028 
83029 
83030 SWIGINTERN PyObject *_wrap_CStdPoint_double_dot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83031  PyObject *resultobj = 0;
83032  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83033  CStdPoint< double > *arg2 = 0 ;
83034  void *argp1 = 0 ;
83035  int res1 = 0 ;
83036  void *argp2 = 0 ;
83037  int res2 = 0 ;
83038  PyObject * obj0 = 0 ;
83039  PyObject * obj1 = 0 ;
83040  float result;
83041 
83042  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double_dot",&obj0,&obj1)) SWIG_fail;
83043  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
83044  if (!SWIG_IsOK(res1)) {
83045  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double_dot" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83046  }
83047  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83048  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_double_t, 0 | 0);
83049  if (!SWIG_IsOK(res2)) {
83050  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_double_dot" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
83051  }
83052  if (!argp2) {
83053  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_double_dot" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
83054  }
83055  arg2 = reinterpret_cast< CStdPoint< double > * >(argp2);
83056  result = (float)(arg1)->dot((CStdPoint< double > const &)*arg2);
83057  resultobj = SWIG_From_float(static_cast< float >(result));
83058  return resultobj;
83059 fail:
83060  return NULL;
83061 }
83062 
83063 
83064 SWIGINTERN PyObject *_wrap_CStdPoint_double___div____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83065  PyObject *resultobj = 0;
83066  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83067  CStdPoint< double > *arg2 = 0 ;
83068  void *argp1 = 0 ;
83069  int res1 = 0 ;
83070  void *argp2 = 0 ;
83071  int res2 = 0 ;
83072  PyObject * obj0 = 0 ;
83073  PyObject * obj1 = 0 ;
83074  CStdPoint< double > result;
83075 
83076  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___div__",&obj0,&obj1)) SWIG_fail;
83077  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
83078  if (!SWIG_IsOK(res1)) {
83079  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___div__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83080  }
83081  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83082  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_double_t, 0 | 0);
83083  if (!SWIG_IsOK(res2)) {
83084  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_double___div__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
83085  }
83086  if (!argp2) {
83087  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_double___div__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
83088  }
83089  arg2 = reinterpret_cast< CStdPoint< double > * >(argp2);
83090  result = (arg1)->operator /((CStdPoint< double > const &)*arg2);
83091  resultobj = SWIG_NewPointerObj((new CStdPoint< double >(static_cast< const CStdPoint< double >& >(result))), SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_OWN | 0 );
83092  return resultobj;
83093 fail:
83094  return NULL;
83095 }
83096 
83097 
83098 SWIGINTERN PyObject *_wrap_CStdPoint_double___iadd____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83099  PyObject *resultobj = 0;
83100  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83101  float arg2 ;
83102  void *argp1 = 0 ;
83103  int res1 = 0 ;
83104  float val2 ;
83105  int ecode2 = 0 ;
83106  PyObject * obj0 = 0 ;
83107  PyObject * obj1 = 0 ;
83108 
83109  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___iadd__",&obj0,&obj1)) SWIG_fail;
83110  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_DISOWN | 0 );
83111  if (!SWIG_IsOK(res1)) {
83112  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___iadd__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83113  }
83114  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83115  ecode2 = SWIG_AsVal_float(obj1, &val2);
83116  if (!SWIG_IsOK(ecode2)) {
83117  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_double___iadd__" "', argument " "2"" of type '" "float""'");
83118  }
83119  arg2 = static_cast< float >(val2);
83120  (arg1)->operator +=(arg2);
83121  resultobj = SWIG_Py_Void();
83122  return resultobj;
83123 fail:
83124  return NULL;
83125 }
83126 
83127 
83128 SWIGINTERN PyObject *_wrap_CStdPoint_double___iadd__(PyObject *self, PyObject *args) {
83129  int argc;
83130  PyObject *argv[3];
83131  int ii;
83132 
83133  if (!PyTuple_Check(args)) SWIG_fail;
83134  argc = args ? (int)PyObject_Length(args) : 0;
83135  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
83136  argv[ii] = PyTuple_GET_ITEM(args,ii);
83137  }
83138  if (argc == 2) {
83139  int _v;
83140  void *vptr = 0;
83141  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
83142  _v = SWIG_CheckState(res);
83143  if (_v) {
83144  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_double_t, 0);
83145  _v = SWIG_CheckState(res);
83146  if (_v) {
83147  return _wrap_CStdPoint_double___iadd____SWIG_0(self, args);
83148  }
83149  }
83150  }
83151  if (argc == 2) {
83152  int _v;
83153  void *vptr = 0;
83154  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
83155  _v = SWIG_CheckState(res);
83156  if (_v) {
83157  {
83158  int res = SWIG_AsVal_float(argv[1], NULL);
83159  _v = SWIG_CheckState(res);
83160  }
83161  if (_v) {
83162  return _wrap_CStdPoint_double___iadd____SWIG_1(self, args);
83163  }
83164  }
83165  }
83166 
83167 fail:
83168  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPoint_double___iadd__'.\n"
83169  " Possible C/C++ prototypes are:\n"
83170  " CStdPoint< double >::operator +=(CStdPoint< double > const &)\n"
83171  " CStdPoint< double >::operator +=(float const)\n");
83172  return 0;
83173 }
83174 
83175 
83176 SWIGINTERN PyObject *_wrap_CStdPoint_double___isub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83177  PyObject *resultobj = 0;
83178  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83179  float arg2 ;
83180  void *argp1 = 0 ;
83181  int res1 = 0 ;
83182  float val2 ;
83183  int ecode2 = 0 ;
83184  PyObject * obj0 = 0 ;
83185  PyObject * obj1 = 0 ;
83186 
83187  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___isub__",&obj0,&obj1)) SWIG_fail;
83188  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_DISOWN | 0 );
83189  if (!SWIG_IsOK(res1)) {
83190  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___isub__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83191  }
83192  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83193  ecode2 = SWIG_AsVal_float(obj1, &val2);
83194  if (!SWIG_IsOK(ecode2)) {
83195  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_double___isub__" "', argument " "2"" of type '" "float""'");
83196  }
83197  arg2 = static_cast< float >(val2);
83198  (arg1)->operator -=(arg2);
83199  resultobj = SWIG_Py_Void();
83200  return resultobj;
83201 fail:
83202  return NULL;
83203 }
83204 
83205 
83206 SWIGINTERN PyObject *_wrap_CStdPoint_double___isub__(PyObject *self, PyObject *args) {
83207  int argc;
83208  PyObject *argv[3];
83209  int ii;
83210 
83211  if (!PyTuple_Check(args)) SWIG_fail;
83212  argc = args ? (int)PyObject_Length(args) : 0;
83213  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
83214  argv[ii] = PyTuple_GET_ITEM(args,ii);
83215  }
83216  if (argc == 2) {
83217  int _v;
83218  void *vptr = 0;
83219  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
83220  _v = SWIG_CheckState(res);
83221  if (_v) {
83222  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_double_t, 0);
83223  _v = SWIG_CheckState(res);
83224  if (_v) {
83225  return _wrap_CStdPoint_double___isub____SWIG_0(self, args);
83226  }
83227  }
83228  }
83229  if (argc == 2) {
83230  int _v;
83231  void *vptr = 0;
83232  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
83233  _v = SWIG_CheckState(res);
83234  if (_v) {
83235  {
83236  int res = SWIG_AsVal_float(argv[1], NULL);
83237  _v = SWIG_CheckState(res);
83238  }
83239  if (_v) {
83240  return _wrap_CStdPoint_double___isub____SWIG_1(self, args);
83241  }
83242  }
83243  }
83244 
83245 fail:
83246  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPoint_double___isub__'.\n"
83247  " Possible C/C++ prototypes are:\n"
83248  " CStdPoint< double >::operator -=(CStdPoint< double > const &)\n"
83249  " CStdPoint< double >::operator -=(float const)\n");
83250  return 0;
83251 }
83252 
83253 
83254 SWIGINTERN PyObject *_wrap_CStdPoint_double___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83255  PyObject *resultobj = 0;
83256  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83257  float arg2 ;
83258  void *argp1 = 0 ;
83259  int res1 = 0 ;
83260  float val2 ;
83261  int ecode2 = 0 ;
83262  PyObject * obj0 = 0 ;
83263  PyObject * obj1 = 0 ;
83264 
83265  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___imul__",&obj0,&obj1)) SWIG_fail;
83266  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_DISOWN | 0 );
83267  if (!SWIG_IsOK(res1)) {
83268  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___imul__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83269  }
83270  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83271  ecode2 = SWIG_AsVal_float(obj1, &val2);
83272  if (!SWIG_IsOK(ecode2)) {
83273  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_double___imul__" "', argument " "2"" of type '" "float""'");
83274  }
83275  arg2 = static_cast< float >(val2);
83276  (arg1)->operator *=(arg2);
83277  resultobj = SWIG_Py_Void();
83278  return resultobj;
83279 fail:
83280  return NULL;
83281 }
83282 
83283 
83284 SWIGINTERN PyObject *_wrap_CStdPoint_double___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83285  PyObject *resultobj = 0;
83286  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83287  float arg2 ;
83288  void *argp1 = 0 ;
83289  int res1 = 0 ;
83290  float val2 ;
83291  int ecode2 = 0 ;
83292  PyObject * obj0 = 0 ;
83293  PyObject * obj1 = 0 ;
83294 
83295  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___idiv__",&obj0,&obj1)) SWIG_fail;
83296  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_DISOWN | 0 );
83297  if (!SWIG_IsOK(res1)) {
83298  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___idiv__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83299  }
83300  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83301  ecode2 = SWIG_AsVal_float(obj1, &val2);
83302  if (!SWIG_IsOK(ecode2)) {
83303  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_double___idiv__" "', argument " "2"" of type '" "float""'");
83304  }
83305  arg2 = static_cast< float >(val2);
83306  (arg1)->operator /=(arg2);
83307  resultobj = SWIG_Py_Void();
83308  return resultobj;
83309 fail:
83310  return NULL;
83311 }
83312 
83313 
83314 SWIGINTERN PyObject *_wrap_CStdPoint_double___add____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83315  PyObject *resultobj = 0;
83316  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83317  float arg2 ;
83318  void *argp1 = 0 ;
83319  int res1 = 0 ;
83320  float val2 ;
83321  int ecode2 = 0 ;
83322  PyObject * obj0 = 0 ;
83323  PyObject * obj1 = 0 ;
83324  CStdPoint< double > result;
83325 
83326  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___add__",&obj0,&obj1)) SWIG_fail;
83327  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
83328  if (!SWIG_IsOK(res1)) {
83329  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___add__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83330  }
83331  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83332  ecode2 = SWIG_AsVal_float(obj1, &val2);
83333  if (!SWIG_IsOK(ecode2)) {
83334  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_double___add__" "', argument " "2"" of type '" "float""'");
83335  }
83336  arg2 = static_cast< float >(val2);
83337  result = (arg1)->operator +(arg2);
83338  resultobj = SWIG_NewPointerObj((new CStdPoint< double >(static_cast< const CStdPoint< double >& >(result))), SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_OWN | 0 );
83339  return resultobj;
83340 fail:
83341  return NULL;
83342 }
83343 
83344 
83345 SWIGINTERN PyObject *_wrap_CStdPoint_double___add__(PyObject *self, PyObject *args) {
83346  int argc;
83347  PyObject *argv[3];
83348  int ii;
83349 
83350  if (!PyTuple_Check(args)) SWIG_fail;
83351  argc = args ? (int)PyObject_Length(args) : 0;
83352  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
83353  argv[ii] = PyTuple_GET_ITEM(args,ii);
83354  }
83355  if (argc == 2) {
83356  int _v;
83357  void *vptr = 0;
83358  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
83359  _v = SWIG_CheckState(res);
83360  if (_v) {
83361  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_double_t, 0);
83362  _v = SWIG_CheckState(res);
83363  if (_v) {
83364  return _wrap_CStdPoint_double___add____SWIG_0(self, args);
83365  }
83366  }
83367  }
83368  if (argc == 2) {
83369  int _v;
83370  void *vptr = 0;
83371  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
83372  _v = SWIG_CheckState(res);
83373  if (_v) {
83374  {
83375  int res = SWIG_AsVal_float(argv[1], NULL);
83376  _v = SWIG_CheckState(res);
83377  }
83378  if (_v) {
83379  return _wrap_CStdPoint_double___add____SWIG_1(self, args);
83380  }
83381  }
83382  }
83383 
83384 fail:
83385  Py_INCREF(Py_NotImplemented);
83386  return Py_NotImplemented;
83387 }
83388 
83389 
83390 SWIGINTERN PyObject *_wrap_CStdPoint_double___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83391  PyObject *resultobj = 0;
83392  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83393  float arg2 ;
83394  void *argp1 = 0 ;
83395  int res1 = 0 ;
83396  float val2 ;
83397  int ecode2 = 0 ;
83398  PyObject * obj0 = 0 ;
83399  PyObject * obj1 = 0 ;
83400  CStdPoint< double > result;
83401 
83402  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___sub__",&obj0,&obj1)) SWIG_fail;
83403  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
83404  if (!SWIG_IsOK(res1)) {
83405  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___sub__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83406  }
83407  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83408  ecode2 = SWIG_AsVal_float(obj1, &val2);
83409  if (!SWIG_IsOK(ecode2)) {
83410  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_double___sub__" "', argument " "2"" of type '" "float""'");
83411  }
83412  arg2 = static_cast< float >(val2);
83413  result = (arg1)->operator -(arg2);
83414  resultobj = SWIG_NewPointerObj((new CStdPoint< double >(static_cast< const CStdPoint< double >& >(result))), SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_OWN | 0 );
83415  return resultobj;
83416 fail:
83417  return NULL;
83418 }
83419 
83420 
83421 SWIGINTERN PyObject *_wrap_CStdPoint_double___sub__(PyObject *self, PyObject *args) {
83422  int argc;
83423  PyObject *argv[3];
83424  int ii;
83425 
83426  if (!PyTuple_Check(args)) SWIG_fail;
83427  argc = args ? (int)PyObject_Length(args) : 0;
83428  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
83429  argv[ii] = PyTuple_GET_ITEM(args,ii);
83430  }
83431  if (argc == 2) {
83432  int _v;
83433  void *vptr = 0;
83434  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
83435  _v = SWIG_CheckState(res);
83436  if (_v) {
83437  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_double_t, 0);
83438  _v = SWIG_CheckState(res);
83439  if (_v) {
83440  return _wrap_CStdPoint_double___sub____SWIG_0(self, args);
83441  }
83442  }
83443  }
83444  if (argc == 2) {
83445  int _v;
83446  void *vptr = 0;
83447  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
83448  _v = SWIG_CheckState(res);
83449  if (_v) {
83450  {
83451  int res = SWIG_AsVal_float(argv[1], NULL);
83452  _v = SWIG_CheckState(res);
83453  }
83454  if (_v) {
83455  return _wrap_CStdPoint_double___sub____SWIG_1(self, args);
83456  }
83457  }
83458  }
83459 
83460 fail:
83461  Py_INCREF(Py_NotImplemented);
83462  return Py_NotImplemented;
83463 }
83464 
83465 
83466 SWIGINTERN PyObject *_wrap_CStdPoint_double___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83467  PyObject *resultobj = 0;
83468  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83469  float arg2 ;
83470  void *argp1 = 0 ;
83471  int res1 = 0 ;
83472  float val2 ;
83473  int ecode2 = 0 ;
83474  PyObject * obj0 = 0 ;
83475  PyObject * obj1 = 0 ;
83476  CStdPoint< double > result;
83477 
83478  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___mul__",&obj0,&obj1)) SWIG_fail;
83479  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
83480  if (!SWIG_IsOK(res1)) {
83481  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___mul__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83482  }
83483  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83484  ecode2 = SWIG_AsVal_float(obj1, &val2);
83485  if (!SWIG_IsOK(ecode2)) {
83486  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_double___mul__" "', argument " "2"" of type '" "float""'");
83487  }
83488  arg2 = static_cast< float >(val2);
83489  result = (arg1)->operator *(arg2);
83490  resultobj = SWIG_NewPointerObj((new CStdPoint< double >(static_cast< const CStdPoint< double >& >(result))), SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_OWN | 0 );
83491  return resultobj;
83492 fail:
83493  return NULL;
83494 }
83495 
83496 
83497 SWIGINTERN PyObject *_wrap_CStdPoint_double___mul__(PyObject *self, PyObject *args) {
83498  int argc;
83499  PyObject *argv[3];
83500  int ii;
83501 
83502  if (!PyTuple_Check(args)) SWIG_fail;
83503  argc = args ? (int)PyObject_Length(args) : 0;
83504  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
83505  argv[ii] = PyTuple_GET_ITEM(args,ii);
83506  }
83507  if (argc == 2) {
83508  int _v;
83509  void *vptr = 0;
83510  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
83511  _v = SWIG_CheckState(res);
83512  if (_v) {
83513  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_double_t, 0);
83514  _v = SWIG_CheckState(res);
83515  if (_v) {
83516  return _wrap_CStdPoint_double___mul____SWIG_0(self, args);
83517  }
83518  }
83519  }
83520  if (argc == 2) {
83521  int _v;
83522  void *vptr = 0;
83523  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
83524  _v = SWIG_CheckState(res);
83525  if (_v) {
83526  {
83527  int res = SWIG_AsVal_float(argv[1], NULL);
83528  _v = SWIG_CheckState(res);
83529  }
83530  if (_v) {
83531  return _wrap_CStdPoint_double___mul____SWIG_1(self, args);
83532  }
83533  }
83534  }
83535 
83536 fail:
83537  Py_INCREF(Py_NotImplemented);
83538  return Py_NotImplemented;
83539 }
83540 
83541 
83542 SWIGINTERN PyObject *_wrap_CStdPoint_double___div____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83543  PyObject *resultobj = 0;
83544  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83545  float arg2 ;
83546  void *argp1 = 0 ;
83547  int res1 = 0 ;
83548  float val2 ;
83549  int ecode2 = 0 ;
83550  PyObject * obj0 = 0 ;
83551  PyObject * obj1 = 0 ;
83552  CStdPoint< double > result;
83553 
83554  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___div__",&obj0,&obj1)) SWIG_fail;
83555  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
83556  if (!SWIG_IsOK(res1)) {
83557  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___div__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83558  }
83559  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83560  ecode2 = SWIG_AsVal_float(obj1, &val2);
83561  if (!SWIG_IsOK(ecode2)) {
83562  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_double___div__" "', argument " "2"" of type '" "float""'");
83563  }
83564  arg2 = static_cast< float >(val2);
83565  result = (arg1)->operator /(arg2);
83566  resultobj = SWIG_NewPointerObj((new CStdPoint< double >(static_cast< const CStdPoint< double >& >(result))), SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_OWN | 0 );
83567  return resultobj;
83568 fail:
83569  return NULL;
83570 }
83571 
83572 
83573 SWIGINTERN PyObject *_wrap_CStdPoint_double___div__(PyObject *self, PyObject *args) {
83574  int argc;
83575  PyObject *argv[3];
83576  int ii;
83577 
83578  if (!PyTuple_Check(args)) SWIG_fail;
83579  argc = args ? (int)PyObject_Length(args) : 0;
83580  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
83581  argv[ii] = PyTuple_GET_ITEM(args,ii);
83582  }
83583  if (argc == 2) {
83584  int _v;
83585  void *vptr = 0;
83586  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
83587  _v = SWIG_CheckState(res);
83588  if (_v) {
83589  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_double_t, 0);
83590  _v = SWIG_CheckState(res);
83591  if (_v) {
83592  return _wrap_CStdPoint_double___div____SWIG_0(self, args);
83593  }
83594  }
83595  }
83596  if (argc == 2) {
83597  int _v;
83598  void *vptr = 0;
83599  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
83600  _v = SWIG_CheckState(res);
83601  if (_v) {
83602  {
83603  int res = SWIG_AsVal_float(argv[1], NULL);
83604  _v = SWIG_CheckState(res);
83605  }
83606  if (_v) {
83607  return _wrap_CStdPoint_double___div____SWIG_1(self, args);
83608  }
83609  }
83610  }
83611 
83612 fail:
83613  Py_INCREF(Py_NotImplemented);
83614  return Py_NotImplemented;
83615 }
83616 
83617 
83618 SWIGINTERN PyObject *_wrap_CStdPoint_double___xor__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83619  PyObject *resultobj = 0;
83620  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83621  CStdPoint< double > *arg2 = 0 ;
83622  void *argp1 = 0 ;
83623  int res1 = 0 ;
83624  void *argp2 = 0 ;
83625  int res2 = 0 ;
83626  PyObject * obj0 = 0 ;
83627  PyObject * obj1 = 0 ;
83628  CStdPoint< double > result;
83629 
83630  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double___xor__",&obj0,&obj1)) SWIG_fail;
83631  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
83632  if (!SWIG_IsOK(res1)) {
83633  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double___xor__" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83634  }
83635  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83636  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_double_t, 0 | 0);
83637  if (!SWIG_IsOK(res2)) {
83638  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPoint_double___xor__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
83639  }
83640  if (!argp2) {
83641  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPoint_double___xor__" "', argument " "2"" of type '" "CStdPoint< double > const &""'");
83642  }
83643  arg2 = reinterpret_cast< CStdPoint< double > * >(argp2);
83644  result = (arg1)->operator ^((CStdPoint< double > const &)*arg2);
83645  resultobj = SWIG_NewPointerObj((new CStdPoint< double >(static_cast< const CStdPoint< double >& >(result))), SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_OWN | 0 );
83646  return resultobj;
83647 fail:
83648  return NULL;
83649 }
83650 
83651 
83652 SWIGINTERN PyObject *_wrap_CStdPoint_double_Magnitude(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83653  PyObject *resultobj = 0;
83654  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83655  void *argp1 = 0 ;
83656  int res1 = 0 ;
83657  PyObject * obj0 = 0 ;
83658  double result;
83659 
83660  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_double_Magnitude",&obj0)) SWIG_fail;
83661  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
83662  if (!SWIG_IsOK(res1)) {
83663  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double_Magnitude" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83664  }
83665  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83666  result = (double)(arg1)->Magnitude();
83667  resultobj = SWIG_From_double(static_cast< double >(result));
83668  return resultobj;
83669 fail:
83670  return NULL;
83671 }
83672 
83673 
83674 SWIGINTERN PyObject *_wrap_CStdPoint_double_Normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83675  PyObject *resultobj = 0;
83676  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83677  void *argp1 = 0 ;
83678  int res1 = 0 ;
83679  PyObject * obj0 = 0 ;
83680 
83681  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_double_Normalize",&obj0)) SWIG_fail;
83682  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
83683  if (!SWIG_IsOK(res1)) {
83684  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double_Normalize" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83685  }
83686  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83687  (arg1)->Normalize();
83688  resultobj = SWIG_Py_Void();
83689  return resultobj;
83690 fail:
83691  return NULL;
83692 }
83693 
83694 
83695 SWIGINTERN PyObject *_wrap_CStdPoint_double_ClearNearZero__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83696  PyObject *resultobj = 0;
83697  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83698  float arg2 ;
83699  void *argp1 = 0 ;
83700  int res1 = 0 ;
83701  float val2 ;
83702  int ecode2 = 0 ;
83703  PyObject * obj0 = 0 ;
83704  PyObject * obj1 = 0 ;
83705 
83706  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPoint_double_ClearNearZero",&obj0,&obj1)) SWIG_fail;
83707  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
83708  if (!SWIG_IsOK(res1)) {
83709  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double_ClearNearZero" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83710  }
83711  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83712  ecode2 = SWIG_AsVal_float(obj1, &val2);
83713  if (!SWIG_IsOK(ecode2)) {
83714  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPoint_double_ClearNearZero" "', argument " "2"" of type '" "float""'");
83715  }
83716  arg2 = static_cast< float >(val2);
83717  (arg1)->ClearNearZero(arg2);
83718  resultobj = SWIG_Py_Void();
83719  return resultobj;
83720 fail:
83721  return NULL;
83722 }
83723 
83724 
83725 SWIGINTERN PyObject *_wrap_CStdPoint_double_ClearNearZero__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83726  PyObject *resultobj = 0;
83727  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83728  void *argp1 = 0 ;
83729  int res1 = 0 ;
83730  PyObject * obj0 = 0 ;
83731 
83732  if (!PyArg_ParseTuple(args,(char *)"O:CStdPoint_double_ClearNearZero",&obj0)) SWIG_fail;
83733  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, 0 | 0 );
83734  if (!SWIG_IsOK(res1)) {
83735  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPoint_double_ClearNearZero" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83736  }
83737  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83738  (arg1)->ClearNearZero();
83739  resultobj = SWIG_Py_Void();
83740  return resultobj;
83741 fail:
83742  return NULL;
83743 }
83744 
83745 
83746 SWIGINTERN PyObject *_wrap_CStdPoint_double_ClearNearZero(PyObject *self, PyObject *args) {
83747  int argc;
83748  PyObject *argv[3];
83749  int ii;
83750 
83751  if (!PyTuple_Check(args)) SWIG_fail;
83752  argc = args ? (int)PyObject_Length(args) : 0;
83753  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
83754  argv[ii] = PyTuple_GET_ITEM(args,ii);
83755  }
83756  if (argc == 1) {
83757  int _v;
83758  void *vptr = 0;
83759  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
83760  _v = SWIG_CheckState(res);
83761  if (_v) {
83762  return _wrap_CStdPoint_double_ClearNearZero__SWIG_1(self, args);
83763  }
83764  }
83765  if (argc == 2) {
83766  int _v;
83767  void *vptr = 0;
83768  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
83769  _v = SWIG_CheckState(res);
83770  if (_v) {
83771  {
83772  int res = SWIG_AsVal_float(argv[1], NULL);
83773  _v = SWIG_CheckState(res);
83774  }
83775  if (_v) {
83776  return _wrap_CStdPoint_double_ClearNearZero__SWIG_0(self, args);
83777  }
83778  }
83779  }
83780 
83781 fail:
83782  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPoint_double_ClearNearZero'.\n"
83783  " Possible C/C++ prototypes are:\n"
83784  " CStdPoint< double >::ClearNearZero(float)\n"
83785  " CStdPoint< double >::ClearNearZero()\n");
83786  return 0;
83787 }
83788 
83789 
83790 SWIGINTERN PyObject *_wrap_delete_CStdPoint_double(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83791  PyObject *resultobj = 0;
83792  CStdPoint< double > *arg1 = (CStdPoint< double > *) 0 ;
83793  void *argp1 = 0 ;
83794  int res1 = 0 ;
83795  PyObject * obj0 = 0 ;
83796 
83797  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPoint_double",&obj0)) SWIG_fail;
83798  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_DISOWN | 0 );
83799  if (!SWIG_IsOK(res1)) {
83800  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPoint_double" "', argument " "1"" of type '" "CStdPoint< double > *""'");
83801  }
83802  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
83803  {
83804  try {
83805  delete arg1;
83806  }
83807  catch(CStdErrorInfo oError)
83808  {
83809  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
83810  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
83811  PyErr_SetString(PyExc_IndexError, strError.c_str());
83812  SWIG_fail;
83813  }
83814  catch(...)
83815  {
83816  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
83817  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
83818  SWIG_fail;
83819  }
83820  }
83821  resultobj = SWIG_Py_Void();
83822  return resultobj;
83823 fail:
83824  return NULL;
83825 }
83826 
83827 
83828 SWIGINTERN PyObject *CStdPoint_double_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83829  PyObject *obj;
83830  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
83831  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPointT_double_t, SWIG_NewClientData(obj));
83832  return SWIG_Py_Void();
83833 }
83834 
83835 SWIGINTERN PyObject *_wrap_delete_CStdArray_int(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83836  PyObject *resultobj = 0;
83837  CStdArray< int > *arg1 = (CStdArray< int > *) 0 ;
83838  void *argp1 = 0 ;
83839  int res1 = 0 ;
83840  PyObject * obj0 = 0 ;
83841 
83842  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdArray_int",&obj0)) SWIG_fail;
83843  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_int_t, SWIG_POINTER_DISOWN | 0 );
83844  if (!SWIG_IsOK(res1)) {
83845  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdArray_int" "', argument " "1"" of type '" "CStdArray< int > *""'");
83846  }
83847  arg1 = reinterpret_cast< CStdArray< int > * >(argp1);
83848  delete arg1;
83849  resultobj = SWIG_Py_Void();
83850  return resultobj;
83851 fail:
83852  return NULL;
83853 }
83854 
83855 
83856 SWIGINTERN PyObject *_wrap_CStdArray_int_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83857  PyObject *resultobj = 0;
83858  CStdArray< int > *arg1 = (CStdArray< int > *) 0 ;
83859  int arg2 ;
83860  void *argp1 = 0 ;
83861  int res1 = 0 ;
83862  int val2 ;
83863  int ecode2 = 0 ;
83864  PyObject * obj0 = 0 ;
83865  PyObject * obj1 = 0 ;
83866 
83867  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_int_Add",&obj0,&obj1)) SWIG_fail;
83868  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_int_t, 0 | 0 );
83869  if (!SWIG_IsOK(res1)) {
83870  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_int_Add" "', argument " "1"" of type '" "CStdArray< int > *""'");
83871  }
83872  arg1 = reinterpret_cast< CStdArray< int > * >(argp1);
83873  ecode2 = SWIG_AsVal_int(obj1, &val2);
83874  if (!SWIG_IsOK(ecode2)) {
83875  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_int_Add" "', argument " "2"" of type '" "int""'");
83876  }
83877  arg2 = static_cast< int >(val2);
83878  (arg1)->Add(arg2);
83879  resultobj = SWIG_Py_Void();
83880  return resultobj;
83881 fail:
83882  return NULL;
83883 }
83884 
83885 
83886 SWIGINTERN PyObject *_wrap_CStdArray_int_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83887  PyObject *resultobj = 0;
83888  CStdArray< int > *arg1 = (CStdArray< int > *) 0 ;
83889  void *argp1 = 0 ;
83890  int res1 = 0 ;
83891  PyObject * obj0 = 0 ;
83892 
83893  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_int_RemoveAll",&obj0)) SWIG_fail;
83894  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_int_t, 0 | 0 );
83895  if (!SWIG_IsOK(res1)) {
83896  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_int_RemoveAll" "', argument " "1"" of type '" "CStdArray< int > *""'");
83897  }
83898  arg1 = reinterpret_cast< CStdArray< int > * >(argp1);
83899  (arg1)->RemoveAll();
83900  resultobj = SWIG_Py_Void();
83901  return resultobj;
83902 fail:
83903  return NULL;
83904 }
83905 
83906 
83907 SWIGINTERN PyObject *_wrap_CStdArray_int_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83908  PyObject *resultobj = 0;
83909  CStdArray< int > *arg1 = (CStdArray< int > *) 0 ;
83910  int arg2 ;
83911  void *argp1 = 0 ;
83912  int res1 = 0 ;
83913  int val2 ;
83914  int ecode2 = 0 ;
83915  PyObject * obj0 = 0 ;
83916  PyObject * obj1 = 0 ;
83917 
83918  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_int_RemoveAt",&obj0,&obj1)) SWIG_fail;
83919  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_int_t, 0 | 0 );
83920  if (!SWIG_IsOK(res1)) {
83921  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_int_RemoveAt" "', argument " "1"" of type '" "CStdArray< int > *""'");
83922  }
83923  arg1 = reinterpret_cast< CStdArray< int > * >(argp1);
83924  ecode2 = SWIG_AsVal_int(obj1, &val2);
83925  if (!SWIG_IsOK(ecode2)) {
83926  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_int_RemoveAt" "', argument " "2"" of type '" "int""'");
83927  }
83928  arg2 = static_cast< int >(val2);
83929  (arg1)->RemoveAt(arg2);
83930  resultobj = SWIG_Py_Void();
83931  return resultobj;
83932 fail:
83933  return NULL;
83934 }
83935 
83936 
83937 SWIGINTERN PyObject *_wrap_CStdArray_int_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
83938  PyObject *resultobj = 0;
83939  CStdArray< int > *arg1 = (CStdArray< int > *) 0 ;
83940  std::vector< int,std::allocator< int > >::iterator arg2 ;
83941  void *argp1 = 0 ;
83942  int res1 = 0 ;
83943  swig::SwigPyIterator *iter2 = 0 ;
83944  int res2 ;
83945  PyObject * obj0 = 0 ;
83946  PyObject * obj1 = 0 ;
83947 
83948  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_int_RemoveAt",&obj0,&obj1)) SWIG_fail;
83949  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_int_t, 0 | 0 );
83950  if (!SWIG_IsOK(res1)) {
83951  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_int_RemoveAt" "', argument " "1"" of type '" "CStdArray< int > *""'");
83952  }
83953  arg1 = reinterpret_cast< CStdArray< int > * >(argp1);
83954  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
83955  if (!SWIG_IsOK(res2) || !iter2) {
83956  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_int_RemoveAt" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > >::iterator""'");
83957  } else {
83959  if (iter_t) {
83960  arg2 = iter_t->get_current();
83961  } else {
83962  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_int_RemoveAt" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > >::iterator""'");
83963  }
83964  }
83965  (arg1)->RemoveAt(arg2);
83966  resultobj = SWIG_Py_Void();
83967  return resultobj;
83968 fail:
83969  return NULL;
83970 }
83971 
83972 
83973 SWIGINTERN PyObject *_wrap_CStdArray_int_RemoveAt(PyObject *self, PyObject *args) {
83974  int argc;
83975  PyObject *argv[3];
83976  int ii;
83977 
83978  if (!PyTuple_Check(args)) SWIG_fail;
83979  argc = args ? (int)PyObject_Length(args) : 0;
83980  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
83981  argv[ii] = PyTuple_GET_ITEM(args,ii);
83982  }
83983  if (argc == 2) {
83984  int _v;
83985  void *vptr = 0;
83986  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_int_t, 0);
83987  _v = SWIG_CheckState(res);
83988  if (_v) {
83989  swig::SwigPyIterator *iter = 0;
83990  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
83991  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int,std::allocator< int > >::iterator > *>(iter) != 0));
83992  if (_v) {
83993  return _wrap_CStdArray_int_RemoveAt__SWIG_1(self, args);
83994  }
83995  }
83996  }
83997  if (argc == 2) {
83998  int _v;
83999  void *vptr = 0;
84000  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_int_t, 0);
84001  _v = SWIG_CheckState(res);
84002  if (_v) {
84003  {
84004  int res = SWIG_AsVal_int(argv[1], NULL);
84005  _v = SWIG_CheckState(res);
84006  }
84007  if (_v) {
84008  return _wrap_CStdArray_int_RemoveAt__SWIG_0(self, args);
84009  }
84010  }
84011  }
84012 
84013 fail:
84014  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdArray_int_RemoveAt'.\n"
84015  " Possible C/C++ prototypes are:\n"
84016  " CStdArray< int >::RemoveAt(int)\n"
84017  " CStdArray< int >::RemoveAt(std::vector< int,std::allocator< int > >::iterator)\n");
84018  return 0;
84019 }
84020 
84021 
84022 SWIGINTERN PyObject *_wrap_CStdArray_int_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84023  PyObject *resultobj = 0;
84024  CStdArray< int > *arg1 = (CStdArray< int > *) 0 ;
84025  long arg2 ;
84026  void *argp1 = 0 ;
84027  int res1 = 0 ;
84028  long val2 ;
84029  int ecode2 = 0 ;
84030  PyObject * obj0 = 0 ;
84031  PyObject * obj1 = 0 ;
84032 
84033  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_int_SetSize",&obj0,&obj1)) SWIG_fail;
84034  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_int_t, 0 | 0 );
84035  if (!SWIG_IsOK(res1)) {
84036  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_int_SetSize" "', argument " "1"" of type '" "CStdArray< int > *""'");
84037  }
84038  arg1 = reinterpret_cast< CStdArray< int > * >(argp1);
84039  ecode2 = SWIG_AsVal_long(obj1, &val2);
84040  if (!SWIG_IsOK(ecode2)) {
84041  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_int_SetSize" "', argument " "2"" of type '" "long""'");
84042  }
84043  arg2 = static_cast< long >(val2);
84044  (arg1)->SetSize(arg2);
84045  resultobj = SWIG_Py_Void();
84046  return resultobj;
84047 fail:
84048  return NULL;
84049 }
84050 
84051 
84052 SWIGINTERN PyObject *_wrap_CStdArray_int_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84053  PyObject *resultobj = 0;
84054  CStdArray< int > *arg1 = (CStdArray< int > *) 0 ;
84055  int arg2 ;
84056  int arg3 ;
84057  void *argp1 = 0 ;
84058  int res1 = 0 ;
84059  int val2 ;
84060  int ecode2 = 0 ;
84061  int val3 ;
84062  int ecode3 = 0 ;
84063  PyObject * obj0 = 0 ;
84064  PyObject * obj1 = 0 ;
84065  PyObject * obj2 = 0 ;
84066 
84067  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdArray_int_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
84068  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_int_t, 0 | 0 );
84069  if (!SWIG_IsOK(res1)) {
84070  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_int_InsertAt" "', argument " "1"" of type '" "CStdArray< int > *""'");
84071  }
84072  arg1 = reinterpret_cast< CStdArray< int > * >(argp1);
84073  ecode2 = SWIG_AsVal_int(obj1, &val2);
84074  if (!SWIG_IsOK(ecode2)) {
84075  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_int_InsertAt" "', argument " "2"" of type '" "int""'");
84076  }
84077  arg2 = static_cast< int >(val2);
84078  ecode3 = SWIG_AsVal_int(obj2, &val3);
84079  if (!SWIG_IsOK(ecode3)) {
84080  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdArray_int_InsertAt" "', argument " "3"" of type '" "int""'");
84081  }
84082  arg3 = static_cast< int >(val3);
84083  (arg1)->InsertAt(arg2,arg3);
84084  resultobj = SWIG_Py_Void();
84085  return resultobj;
84086 fail:
84087  return NULL;
84088 }
84089 
84090 
84091 SWIGINTERN PyObject *_wrap_CStdArray_int_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84092  PyObject *resultobj = 0;
84093  CStdArray< int > *arg1 = (CStdArray< int > *) 0 ;
84094  void *argp1 = 0 ;
84095  int res1 = 0 ;
84096  PyObject * obj0 = 0 ;
84097  int result;
84098 
84099  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_int_GetSize",&obj0)) SWIG_fail;
84100  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_int_t, 0 | 0 );
84101  if (!SWIG_IsOK(res1)) {
84102  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_int_GetSize" "', argument " "1"" of type '" "CStdArray< int > *""'");
84103  }
84104  arg1 = reinterpret_cast< CStdArray< int > * >(argp1);
84105  result = (int)(arg1)->GetSize();
84106  resultobj = SWIG_From_int(static_cast< int >(result));
84107  return resultobj;
84108 fail:
84109  return NULL;
84110 }
84111 
84112 
84113 SWIGINTERN PyObject *_wrap_CStdArray_int_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84114  PyObject *resultobj = 0;
84115  CStdArray< int > *arg1 = (CStdArray< int > *) 0 ;
84116  void *argp1 = 0 ;
84117  int res1 = 0 ;
84118  PyObject * obj0 = 0 ;
84119 
84120  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_int_Clear",&obj0)) SWIG_fail;
84121  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_int_t, 0 | 0 );
84122  if (!SWIG_IsOK(res1)) {
84123  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_int_Clear" "', argument " "1"" of type '" "CStdArray< int > *""'");
84124  }
84125  arg1 = reinterpret_cast< CStdArray< int > * >(argp1);
84126  (arg1)->Clear();
84127  resultobj = SWIG_Py_Void();
84128  return resultobj;
84129 fail:
84130  return NULL;
84131 }
84132 
84133 
84134 SWIGINTERN PyObject *_wrap_new_CStdArray_int(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84135  PyObject *resultobj = 0;
84136  CStdArray< int > *result = 0 ;
84137 
84138  if (!PyArg_ParseTuple(args,(char *)":new_CStdArray_int")) SWIG_fail;
84139  {
84140  try {
84141  result = (CStdArray< int > *)new CStdArray< int >();
84142  }
84143  catch(CStdErrorInfo oError)
84144  {
84145  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
84146  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
84147  PyErr_SetString(PyExc_IndexError, strError.c_str());
84148  SWIG_fail;
84149  }
84150  catch(...)
84151  {
84152  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
84153  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
84154  SWIG_fail;
84155  }
84156  }
84157  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdArrayT_int_t, SWIG_POINTER_NEW | 0 );
84158  return resultobj;
84159 fail:
84160  return NULL;
84161 }
84162 
84163 
84164 SWIGINTERN PyObject *CStdArray_int_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84165  PyObject *obj;
84166  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
84167  SWIG_TypeNewClientData(SWIGTYPE_p_CStdArrayT_int_t, SWIG_NewClientData(obj));
84168  return SWIG_Py_Void();
84169 }
84170 
84171 SWIGINTERN PyObject *_wrap_delete_CStdArray_long(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84172  PyObject *resultobj = 0;
84173  CStdArray< long > *arg1 = (CStdArray< long > *) 0 ;
84174  void *argp1 = 0 ;
84175  int res1 = 0 ;
84176  PyObject * obj0 = 0 ;
84177 
84178  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdArray_long",&obj0)) SWIG_fail;
84179  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_long_t, SWIG_POINTER_DISOWN | 0 );
84180  if (!SWIG_IsOK(res1)) {
84181  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdArray_long" "', argument " "1"" of type '" "CStdArray< long > *""'");
84182  }
84183  arg1 = reinterpret_cast< CStdArray< long > * >(argp1);
84184  delete arg1;
84185  resultobj = SWIG_Py_Void();
84186  return resultobj;
84187 fail:
84188  return NULL;
84189 }
84190 
84191 
84192 SWIGINTERN PyObject *_wrap_CStdArray_long_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84193  PyObject *resultobj = 0;
84194  CStdArray< long > *arg1 = (CStdArray< long > *) 0 ;
84195  long arg2 ;
84196  void *argp1 = 0 ;
84197  int res1 = 0 ;
84198  long val2 ;
84199  int ecode2 = 0 ;
84200  PyObject * obj0 = 0 ;
84201  PyObject * obj1 = 0 ;
84202 
84203  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_long_Add",&obj0,&obj1)) SWIG_fail;
84204  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_long_t, 0 | 0 );
84205  if (!SWIG_IsOK(res1)) {
84206  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_long_Add" "', argument " "1"" of type '" "CStdArray< long > *""'");
84207  }
84208  arg1 = reinterpret_cast< CStdArray< long > * >(argp1);
84209  ecode2 = SWIG_AsVal_long(obj1, &val2);
84210  if (!SWIG_IsOK(ecode2)) {
84211  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_long_Add" "', argument " "2"" of type '" "long""'");
84212  }
84213  arg2 = static_cast< long >(val2);
84214  (arg1)->Add(arg2);
84215  resultobj = SWIG_Py_Void();
84216  return resultobj;
84217 fail:
84218  return NULL;
84219 }
84220 
84221 
84222 SWIGINTERN PyObject *_wrap_CStdArray_long_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84223  PyObject *resultobj = 0;
84224  CStdArray< long > *arg1 = (CStdArray< long > *) 0 ;
84225  void *argp1 = 0 ;
84226  int res1 = 0 ;
84227  PyObject * obj0 = 0 ;
84228 
84229  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_long_RemoveAll",&obj0)) SWIG_fail;
84230  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_long_t, 0 | 0 );
84231  if (!SWIG_IsOK(res1)) {
84232  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_long_RemoveAll" "', argument " "1"" of type '" "CStdArray< long > *""'");
84233  }
84234  arg1 = reinterpret_cast< CStdArray< long > * >(argp1);
84235  (arg1)->RemoveAll();
84236  resultobj = SWIG_Py_Void();
84237  return resultobj;
84238 fail:
84239  return NULL;
84240 }
84241 
84242 
84243 SWIGINTERN PyObject *_wrap_CStdArray_long_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84244  PyObject *resultobj = 0;
84245  CStdArray< long > *arg1 = (CStdArray< long > *) 0 ;
84246  int arg2 ;
84247  void *argp1 = 0 ;
84248  int res1 = 0 ;
84249  int val2 ;
84250  int ecode2 = 0 ;
84251  PyObject * obj0 = 0 ;
84252  PyObject * obj1 = 0 ;
84253 
84254  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_long_RemoveAt",&obj0,&obj1)) SWIG_fail;
84255  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_long_t, 0 | 0 );
84256  if (!SWIG_IsOK(res1)) {
84257  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_long_RemoveAt" "', argument " "1"" of type '" "CStdArray< long > *""'");
84258  }
84259  arg1 = reinterpret_cast< CStdArray< long > * >(argp1);
84260  ecode2 = SWIG_AsVal_int(obj1, &val2);
84261  if (!SWIG_IsOK(ecode2)) {
84262  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_long_RemoveAt" "', argument " "2"" of type '" "int""'");
84263  }
84264  arg2 = static_cast< int >(val2);
84265  (arg1)->RemoveAt(arg2);
84266  resultobj = SWIG_Py_Void();
84267  return resultobj;
84268 fail:
84269  return NULL;
84270 }
84271 
84272 
84273 SWIGINTERN PyObject *_wrap_CStdArray_long_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84274  PyObject *resultobj = 0;
84275  CStdArray< long > *arg1 = (CStdArray< long > *) 0 ;
84276  std::vector< long,std::allocator< long > >::iterator arg2 ;
84277  void *argp1 = 0 ;
84278  int res1 = 0 ;
84279  swig::SwigPyIterator *iter2 = 0 ;
84280  int res2 ;
84281  PyObject * obj0 = 0 ;
84282  PyObject * obj1 = 0 ;
84283 
84284  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_long_RemoveAt",&obj0,&obj1)) SWIG_fail;
84285  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_long_t, 0 | 0 );
84286  if (!SWIG_IsOK(res1)) {
84287  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_long_RemoveAt" "', argument " "1"" of type '" "CStdArray< long > *""'");
84288  }
84289  arg1 = reinterpret_cast< CStdArray< long > * >(argp1);
84290  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
84291  if (!SWIG_IsOK(res2) || !iter2) {
84292  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_long_RemoveAt" "', argument " "2"" of type '" "std::vector< long,std::allocator< long > >::iterator""'");
84293  } else {
84295  if (iter_t) {
84296  arg2 = iter_t->get_current();
84297  } else {
84298  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_long_RemoveAt" "', argument " "2"" of type '" "std::vector< long,std::allocator< long > >::iterator""'");
84299  }
84300  }
84301  (arg1)->RemoveAt(arg2);
84302  resultobj = SWIG_Py_Void();
84303  return resultobj;
84304 fail:
84305  return NULL;
84306 }
84307 
84308 
84309 SWIGINTERN PyObject *_wrap_CStdArray_long_RemoveAt(PyObject *self, PyObject *args) {
84310  int argc;
84311  PyObject *argv[3];
84312  int ii;
84313 
84314  if (!PyTuple_Check(args)) SWIG_fail;
84315  argc = args ? (int)PyObject_Length(args) : 0;
84316  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
84317  argv[ii] = PyTuple_GET_ITEM(args,ii);
84318  }
84319  if (argc == 2) {
84320  int _v;
84321  void *vptr = 0;
84322  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_long_t, 0);
84323  _v = SWIG_CheckState(res);
84324  if (_v) {
84325  swig::SwigPyIterator *iter = 0;
84326  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
84327  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< long,std::allocator< long > >::iterator > *>(iter) != 0));
84328  if (_v) {
84329  return _wrap_CStdArray_long_RemoveAt__SWIG_1(self, args);
84330  }
84331  }
84332  }
84333  if (argc == 2) {
84334  int _v;
84335  void *vptr = 0;
84336  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_long_t, 0);
84337  _v = SWIG_CheckState(res);
84338  if (_v) {
84339  {
84340  int res = SWIG_AsVal_int(argv[1], NULL);
84341  _v = SWIG_CheckState(res);
84342  }
84343  if (_v) {
84344  return _wrap_CStdArray_long_RemoveAt__SWIG_0(self, args);
84345  }
84346  }
84347  }
84348 
84349 fail:
84350  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdArray_long_RemoveAt'.\n"
84351  " Possible C/C++ prototypes are:\n"
84352  " CStdArray< long >::RemoveAt(int)\n"
84353  " CStdArray< long >::RemoveAt(std::vector< long,std::allocator< long > >::iterator)\n");
84354  return 0;
84355 }
84356 
84357 
84358 SWIGINTERN PyObject *_wrap_CStdArray_long_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84359  PyObject *resultobj = 0;
84360  CStdArray< long > *arg1 = (CStdArray< long > *) 0 ;
84361  long arg2 ;
84362  void *argp1 = 0 ;
84363  int res1 = 0 ;
84364  long val2 ;
84365  int ecode2 = 0 ;
84366  PyObject * obj0 = 0 ;
84367  PyObject * obj1 = 0 ;
84368 
84369  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_long_SetSize",&obj0,&obj1)) SWIG_fail;
84370  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_long_t, 0 | 0 );
84371  if (!SWIG_IsOK(res1)) {
84372  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_long_SetSize" "', argument " "1"" of type '" "CStdArray< long > *""'");
84373  }
84374  arg1 = reinterpret_cast< CStdArray< long > * >(argp1);
84375  ecode2 = SWIG_AsVal_long(obj1, &val2);
84376  if (!SWIG_IsOK(ecode2)) {
84377  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_long_SetSize" "', argument " "2"" of type '" "long""'");
84378  }
84379  arg2 = static_cast< long >(val2);
84380  (arg1)->SetSize(arg2);
84381  resultobj = SWIG_Py_Void();
84382  return resultobj;
84383 fail:
84384  return NULL;
84385 }
84386 
84387 
84388 SWIGINTERN PyObject *_wrap_CStdArray_long_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84389  PyObject *resultobj = 0;
84390  CStdArray< long > *arg1 = (CStdArray< long > *) 0 ;
84391  int arg2 ;
84392  long arg3 ;
84393  void *argp1 = 0 ;
84394  int res1 = 0 ;
84395  int val2 ;
84396  int ecode2 = 0 ;
84397  long val3 ;
84398  int ecode3 = 0 ;
84399  PyObject * obj0 = 0 ;
84400  PyObject * obj1 = 0 ;
84401  PyObject * obj2 = 0 ;
84402 
84403  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdArray_long_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
84404  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_long_t, 0 | 0 );
84405  if (!SWIG_IsOK(res1)) {
84406  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_long_InsertAt" "', argument " "1"" of type '" "CStdArray< long > *""'");
84407  }
84408  arg1 = reinterpret_cast< CStdArray< long > * >(argp1);
84409  ecode2 = SWIG_AsVal_int(obj1, &val2);
84410  if (!SWIG_IsOK(ecode2)) {
84411  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_long_InsertAt" "', argument " "2"" of type '" "int""'");
84412  }
84413  arg2 = static_cast< int >(val2);
84414  ecode3 = SWIG_AsVal_long(obj2, &val3);
84415  if (!SWIG_IsOK(ecode3)) {
84416  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdArray_long_InsertAt" "', argument " "3"" of type '" "long""'");
84417  }
84418  arg3 = static_cast< long >(val3);
84419  (arg1)->InsertAt(arg2,arg3);
84420  resultobj = SWIG_Py_Void();
84421  return resultobj;
84422 fail:
84423  return NULL;
84424 }
84425 
84426 
84427 SWIGINTERN PyObject *_wrap_CStdArray_long_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84428  PyObject *resultobj = 0;
84429  CStdArray< long > *arg1 = (CStdArray< long > *) 0 ;
84430  void *argp1 = 0 ;
84431  int res1 = 0 ;
84432  PyObject * obj0 = 0 ;
84433  int result;
84434 
84435  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_long_GetSize",&obj0)) SWIG_fail;
84436  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_long_t, 0 | 0 );
84437  if (!SWIG_IsOK(res1)) {
84438  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_long_GetSize" "', argument " "1"" of type '" "CStdArray< long > *""'");
84439  }
84440  arg1 = reinterpret_cast< CStdArray< long > * >(argp1);
84441  result = (int)(arg1)->GetSize();
84442  resultobj = SWIG_From_int(static_cast< int >(result));
84443  return resultobj;
84444 fail:
84445  return NULL;
84446 }
84447 
84448 
84449 SWIGINTERN PyObject *_wrap_CStdArray_long_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84450  PyObject *resultobj = 0;
84451  CStdArray< long > *arg1 = (CStdArray< long > *) 0 ;
84452  void *argp1 = 0 ;
84453  int res1 = 0 ;
84454  PyObject * obj0 = 0 ;
84455 
84456  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_long_Clear",&obj0)) SWIG_fail;
84457  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_long_t, 0 | 0 );
84458  if (!SWIG_IsOK(res1)) {
84459  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_long_Clear" "', argument " "1"" of type '" "CStdArray< long > *""'");
84460  }
84461  arg1 = reinterpret_cast< CStdArray< long > * >(argp1);
84462  (arg1)->Clear();
84463  resultobj = SWIG_Py_Void();
84464  return resultobj;
84465 fail:
84466  return NULL;
84467 }
84468 
84469 
84470 SWIGINTERN PyObject *_wrap_new_CStdArray_long(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84471  PyObject *resultobj = 0;
84472  CStdArray< long > *result = 0 ;
84473 
84474  if (!PyArg_ParseTuple(args,(char *)":new_CStdArray_long")) SWIG_fail;
84475  {
84476  try {
84477  result = (CStdArray< long > *)new CStdArray< long >();
84478  }
84479  catch(CStdErrorInfo oError)
84480  {
84481  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
84482  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
84483  PyErr_SetString(PyExc_IndexError, strError.c_str());
84484  SWIG_fail;
84485  }
84486  catch(...)
84487  {
84488  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
84489  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
84490  SWIG_fail;
84491  }
84492  }
84493  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdArrayT_long_t, SWIG_POINTER_NEW | 0 );
84494  return resultobj;
84495 fail:
84496  return NULL;
84497 }
84498 
84499 
84500 SWIGINTERN PyObject *CStdArray_long_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84501  PyObject *obj;
84502  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
84503  SWIG_TypeNewClientData(SWIGTYPE_p_CStdArrayT_long_t, SWIG_NewClientData(obj));
84504  return SWIG_Py_Void();
84505 }
84506 
84507 SWIGINTERN PyObject *_wrap_delete_CStdArray_float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84508  PyObject *resultobj = 0;
84509  CStdArray< float > *arg1 = (CStdArray< float > *) 0 ;
84510  void *argp1 = 0 ;
84511  int res1 = 0 ;
84512  PyObject * obj0 = 0 ;
84513 
84514  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdArray_float",&obj0)) SWIG_fail;
84515  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_float_t, SWIG_POINTER_DISOWN | 0 );
84516  if (!SWIG_IsOK(res1)) {
84517  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdArray_float" "', argument " "1"" of type '" "CStdArray< float > *""'");
84518  }
84519  arg1 = reinterpret_cast< CStdArray< float > * >(argp1);
84520  delete arg1;
84521  resultobj = SWIG_Py_Void();
84522  return resultobj;
84523 fail:
84524  return NULL;
84525 }
84526 
84527 
84528 SWIGINTERN PyObject *_wrap_CStdArray_float_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84529  PyObject *resultobj = 0;
84530  CStdArray< float > *arg1 = (CStdArray< float > *) 0 ;
84531  float arg2 ;
84532  void *argp1 = 0 ;
84533  int res1 = 0 ;
84534  float val2 ;
84535  int ecode2 = 0 ;
84536  PyObject * obj0 = 0 ;
84537  PyObject * obj1 = 0 ;
84538 
84539  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_float_Add",&obj0,&obj1)) SWIG_fail;
84540  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_float_t, 0 | 0 );
84541  if (!SWIG_IsOK(res1)) {
84542  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_float_Add" "', argument " "1"" of type '" "CStdArray< float > *""'");
84543  }
84544  arg1 = reinterpret_cast< CStdArray< float > * >(argp1);
84545  ecode2 = SWIG_AsVal_float(obj1, &val2);
84546  if (!SWIG_IsOK(ecode2)) {
84547  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_float_Add" "', argument " "2"" of type '" "float""'");
84548  }
84549  arg2 = static_cast< float >(val2);
84550  (arg1)->Add(arg2);
84551  resultobj = SWIG_Py_Void();
84552  return resultobj;
84553 fail:
84554  return NULL;
84555 }
84556 
84557 
84558 SWIGINTERN PyObject *_wrap_CStdArray_float_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84559  PyObject *resultobj = 0;
84560  CStdArray< float > *arg1 = (CStdArray< float > *) 0 ;
84561  void *argp1 = 0 ;
84562  int res1 = 0 ;
84563  PyObject * obj0 = 0 ;
84564 
84565  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_float_RemoveAll",&obj0)) SWIG_fail;
84566  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_float_t, 0 | 0 );
84567  if (!SWIG_IsOK(res1)) {
84568  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_float_RemoveAll" "', argument " "1"" of type '" "CStdArray< float > *""'");
84569  }
84570  arg1 = reinterpret_cast< CStdArray< float > * >(argp1);
84571  (arg1)->RemoveAll();
84572  resultobj = SWIG_Py_Void();
84573  return resultobj;
84574 fail:
84575  return NULL;
84576 }
84577 
84578 
84579 SWIGINTERN PyObject *_wrap_CStdArray_float_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84580  PyObject *resultobj = 0;
84581  CStdArray< float > *arg1 = (CStdArray< float > *) 0 ;
84582  int arg2 ;
84583  void *argp1 = 0 ;
84584  int res1 = 0 ;
84585  int val2 ;
84586  int ecode2 = 0 ;
84587  PyObject * obj0 = 0 ;
84588  PyObject * obj1 = 0 ;
84589 
84590  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_float_RemoveAt",&obj0,&obj1)) SWIG_fail;
84591  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_float_t, 0 | 0 );
84592  if (!SWIG_IsOK(res1)) {
84593  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_float_RemoveAt" "', argument " "1"" of type '" "CStdArray< float > *""'");
84594  }
84595  arg1 = reinterpret_cast< CStdArray< float > * >(argp1);
84596  ecode2 = SWIG_AsVal_int(obj1, &val2);
84597  if (!SWIG_IsOK(ecode2)) {
84598  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_float_RemoveAt" "', argument " "2"" of type '" "int""'");
84599  }
84600  arg2 = static_cast< int >(val2);
84601  (arg1)->RemoveAt(arg2);
84602  resultobj = SWIG_Py_Void();
84603  return resultobj;
84604 fail:
84605  return NULL;
84606 }
84607 
84608 
84609 SWIGINTERN PyObject *_wrap_CStdArray_float_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84610  PyObject *resultobj = 0;
84611  CStdArray< float > *arg1 = (CStdArray< float > *) 0 ;
84612  std::vector< float,std::allocator< float > >::iterator arg2 ;
84613  void *argp1 = 0 ;
84614  int res1 = 0 ;
84615  swig::SwigPyIterator *iter2 = 0 ;
84616  int res2 ;
84617  PyObject * obj0 = 0 ;
84618  PyObject * obj1 = 0 ;
84619 
84620  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_float_RemoveAt",&obj0,&obj1)) SWIG_fail;
84621  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_float_t, 0 | 0 );
84622  if (!SWIG_IsOK(res1)) {
84623  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_float_RemoveAt" "', argument " "1"" of type '" "CStdArray< float > *""'");
84624  }
84625  arg1 = reinterpret_cast< CStdArray< float > * >(argp1);
84626  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
84627  if (!SWIG_IsOK(res2) || !iter2) {
84628  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_float_RemoveAt" "', argument " "2"" of type '" "std::vector< float,std::allocator< float > >::iterator""'");
84629  } else {
84631  if (iter_t) {
84632  arg2 = iter_t->get_current();
84633  } else {
84634  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_float_RemoveAt" "', argument " "2"" of type '" "std::vector< float,std::allocator< float > >::iterator""'");
84635  }
84636  }
84637  (arg1)->RemoveAt(arg2);
84638  resultobj = SWIG_Py_Void();
84639  return resultobj;
84640 fail:
84641  return NULL;
84642 }
84643 
84644 
84645 SWIGINTERN PyObject *_wrap_CStdArray_float_RemoveAt(PyObject *self, PyObject *args) {
84646  int argc;
84647  PyObject *argv[3];
84648  int ii;
84649 
84650  if (!PyTuple_Check(args)) SWIG_fail;
84651  argc = args ? (int)PyObject_Length(args) : 0;
84652  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
84653  argv[ii] = PyTuple_GET_ITEM(args,ii);
84654  }
84655  if (argc == 2) {
84656  int _v;
84657  void *vptr = 0;
84658  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_float_t, 0);
84659  _v = SWIG_CheckState(res);
84660  if (_v) {
84661  swig::SwigPyIterator *iter = 0;
84662  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
84663  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< float,std::allocator< float > >::iterator > *>(iter) != 0));
84664  if (_v) {
84665  return _wrap_CStdArray_float_RemoveAt__SWIG_1(self, args);
84666  }
84667  }
84668  }
84669  if (argc == 2) {
84670  int _v;
84671  void *vptr = 0;
84672  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_float_t, 0);
84673  _v = SWIG_CheckState(res);
84674  if (_v) {
84675  {
84676  int res = SWIG_AsVal_int(argv[1], NULL);
84677  _v = SWIG_CheckState(res);
84678  }
84679  if (_v) {
84680  return _wrap_CStdArray_float_RemoveAt__SWIG_0(self, args);
84681  }
84682  }
84683  }
84684 
84685 fail:
84686  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdArray_float_RemoveAt'.\n"
84687  " Possible C/C++ prototypes are:\n"
84688  " CStdArray< float >::RemoveAt(int)\n"
84689  " CStdArray< float >::RemoveAt(std::vector< float,std::allocator< float > >::iterator)\n");
84690  return 0;
84691 }
84692 
84693 
84694 SWIGINTERN PyObject *_wrap_CStdArray_float_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84695  PyObject *resultobj = 0;
84696  CStdArray< float > *arg1 = (CStdArray< float > *) 0 ;
84697  long arg2 ;
84698  void *argp1 = 0 ;
84699  int res1 = 0 ;
84700  long val2 ;
84701  int ecode2 = 0 ;
84702  PyObject * obj0 = 0 ;
84703  PyObject * obj1 = 0 ;
84704 
84705  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_float_SetSize",&obj0,&obj1)) SWIG_fail;
84706  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_float_t, 0 | 0 );
84707  if (!SWIG_IsOK(res1)) {
84708  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_float_SetSize" "', argument " "1"" of type '" "CStdArray< float > *""'");
84709  }
84710  arg1 = reinterpret_cast< CStdArray< float > * >(argp1);
84711  ecode2 = SWIG_AsVal_long(obj1, &val2);
84712  if (!SWIG_IsOK(ecode2)) {
84713  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_float_SetSize" "', argument " "2"" of type '" "long""'");
84714  }
84715  arg2 = static_cast< long >(val2);
84716  (arg1)->SetSize(arg2);
84717  resultobj = SWIG_Py_Void();
84718  return resultobj;
84719 fail:
84720  return NULL;
84721 }
84722 
84723 
84724 SWIGINTERN PyObject *_wrap_CStdArray_float_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84725  PyObject *resultobj = 0;
84726  CStdArray< float > *arg1 = (CStdArray< float > *) 0 ;
84727  int arg2 ;
84728  float arg3 ;
84729  void *argp1 = 0 ;
84730  int res1 = 0 ;
84731  int val2 ;
84732  int ecode2 = 0 ;
84733  float val3 ;
84734  int ecode3 = 0 ;
84735  PyObject * obj0 = 0 ;
84736  PyObject * obj1 = 0 ;
84737  PyObject * obj2 = 0 ;
84738 
84739  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdArray_float_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
84740  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_float_t, 0 | 0 );
84741  if (!SWIG_IsOK(res1)) {
84742  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_float_InsertAt" "', argument " "1"" of type '" "CStdArray< float > *""'");
84743  }
84744  arg1 = reinterpret_cast< CStdArray< float > * >(argp1);
84745  ecode2 = SWIG_AsVal_int(obj1, &val2);
84746  if (!SWIG_IsOK(ecode2)) {
84747  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_float_InsertAt" "', argument " "2"" of type '" "int""'");
84748  }
84749  arg2 = static_cast< int >(val2);
84750  ecode3 = SWIG_AsVal_float(obj2, &val3);
84751  if (!SWIG_IsOK(ecode3)) {
84752  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdArray_float_InsertAt" "', argument " "3"" of type '" "float""'");
84753  }
84754  arg3 = static_cast< float >(val3);
84755  (arg1)->InsertAt(arg2,arg3);
84756  resultobj = SWIG_Py_Void();
84757  return resultobj;
84758 fail:
84759  return NULL;
84760 }
84761 
84762 
84763 SWIGINTERN PyObject *_wrap_CStdArray_float_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84764  PyObject *resultobj = 0;
84765  CStdArray< float > *arg1 = (CStdArray< float > *) 0 ;
84766  void *argp1 = 0 ;
84767  int res1 = 0 ;
84768  PyObject * obj0 = 0 ;
84769  int result;
84770 
84771  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_float_GetSize",&obj0)) SWIG_fail;
84772  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_float_t, 0 | 0 );
84773  if (!SWIG_IsOK(res1)) {
84774  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_float_GetSize" "', argument " "1"" of type '" "CStdArray< float > *""'");
84775  }
84776  arg1 = reinterpret_cast< CStdArray< float > * >(argp1);
84777  result = (int)(arg1)->GetSize();
84778  resultobj = SWIG_From_int(static_cast< int >(result));
84779  return resultobj;
84780 fail:
84781  return NULL;
84782 }
84783 
84784 
84785 SWIGINTERN PyObject *_wrap_CStdArray_float_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84786  PyObject *resultobj = 0;
84787  CStdArray< float > *arg1 = (CStdArray< float > *) 0 ;
84788  void *argp1 = 0 ;
84789  int res1 = 0 ;
84790  PyObject * obj0 = 0 ;
84791 
84792  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_float_Clear",&obj0)) SWIG_fail;
84793  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_float_t, 0 | 0 );
84794  if (!SWIG_IsOK(res1)) {
84795  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_float_Clear" "', argument " "1"" of type '" "CStdArray< float > *""'");
84796  }
84797  arg1 = reinterpret_cast< CStdArray< float > * >(argp1);
84798  (arg1)->Clear();
84799  resultobj = SWIG_Py_Void();
84800  return resultobj;
84801 fail:
84802  return NULL;
84803 }
84804 
84805 
84806 SWIGINTERN PyObject *_wrap_new_CStdArray_float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84807  PyObject *resultobj = 0;
84808  CStdArray< float > *result = 0 ;
84809 
84810  if (!PyArg_ParseTuple(args,(char *)":new_CStdArray_float")) SWIG_fail;
84811  {
84812  try {
84813  result = (CStdArray< float > *)new CStdArray< float >();
84814  }
84815  catch(CStdErrorInfo oError)
84816  {
84817  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
84818  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
84819  PyErr_SetString(PyExc_IndexError, strError.c_str());
84820  SWIG_fail;
84821  }
84822  catch(...)
84823  {
84824  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
84825  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
84826  SWIG_fail;
84827  }
84828  }
84829  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdArrayT_float_t, SWIG_POINTER_NEW | 0 );
84830  return resultobj;
84831 fail:
84832  return NULL;
84833 }
84834 
84835 
84836 SWIGINTERN PyObject *CStdArray_float_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84837  PyObject *obj;
84838  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
84839  SWIG_TypeNewClientData(SWIGTYPE_p_CStdArrayT_float_t, SWIG_NewClientData(obj));
84840  return SWIG_Py_Void();
84841 }
84842 
84843 SWIGINTERN PyObject *_wrap_delete_CStdArray_double(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84844  PyObject *resultobj = 0;
84845  CStdArray< double > *arg1 = (CStdArray< double > *) 0 ;
84846  void *argp1 = 0 ;
84847  int res1 = 0 ;
84848  PyObject * obj0 = 0 ;
84849 
84850  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdArray_double",&obj0)) SWIG_fail;
84851  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_double_t, SWIG_POINTER_DISOWN | 0 );
84852  if (!SWIG_IsOK(res1)) {
84853  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdArray_double" "', argument " "1"" of type '" "CStdArray< double > *""'");
84854  }
84855  arg1 = reinterpret_cast< CStdArray< double > * >(argp1);
84856  delete arg1;
84857  resultobj = SWIG_Py_Void();
84858  return resultobj;
84859 fail:
84860  return NULL;
84861 }
84862 
84863 
84864 SWIGINTERN PyObject *_wrap_CStdArray_double_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84865  PyObject *resultobj = 0;
84866  CStdArray< double > *arg1 = (CStdArray< double > *) 0 ;
84867  double arg2 ;
84868  void *argp1 = 0 ;
84869  int res1 = 0 ;
84870  double val2 ;
84871  int ecode2 = 0 ;
84872  PyObject * obj0 = 0 ;
84873  PyObject * obj1 = 0 ;
84874 
84875  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_double_Add",&obj0,&obj1)) SWIG_fail;
84876  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_double_t, 0 | 0 );
84877  if (!SWIG_IsOK(res1)) {
84878  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_double_Add" "', argument " "1"" of type '" "CStdArray< double > *""'");
84879  }
84880  arg1 = reinterpret_cast< CStdArray< double > * >(argp1);
84881  ecode2 = SWIG_AsVal_double(obj1, &val2);
84882  if (!SWIG_IsOK(ecode2)) {
84883  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_double_Add" "', argument " "2"" of type '" "double""'");
84884  }
84885  arg2 = static_cast< double >(val2);
84886  (arg1)->Add(arg2);
84887  resultobj = SWIG_Py_Void();
84888  return resultobj;
84889 fail:
84890  return NULL;
84891 }
84892 
84893 
84894 SWIGINTERN PyObject *_wrap_CStdArray_double_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84895  PyObject *resultobj = 0;
84896  CStdArray< double > *arg1 = (CStdArray< double > *) 0 ;
84897  void *argp1 = 0 ;
84898  int res1 = 0 ;
84899  PyObject * obj0 = 0 ;
84900 
84901  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_double_RemoveAll",&obj0)) SWIG_fail;
84902  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_double_t, 0 | 0 );
84903  if (!SWIG_IsOK(res1)) {
84904  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_double_RemoveAll" "', argument " "1"" of type '" "CStdArray< double > *""'");
84905  }
84906  arg1 = reinterpret_cast< CStdArray< double > * >(argp1);
84907  (arg1)->RemoveAll();
84908  resultobj = SWIG_Py_Void();
84909  return resultobj;
84910 fail:
84911  return NULL;
84912 }
84913 
84914 
84915 SWIGINTERN PyObject *_wrap_CStdArray_double_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84916  PyObject *resultobj = 0;
84917  CStdArray< double > *arg1 = (CStdArray< double > *) 0 ;
84918  int arg2 ;
84919  void *argp1 = 0 ;
84920  int res1 = 0 ;
84921  int val2 ;
84922  int ecode2 = 0 ;
84923  PyObject * obj0 = 0 ;
84924  PyObject * obj1 = 0 ;
84925 
84926  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_double_RemoveAt",&obj0,&obj1)) SWIG_fail;
84927  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_double_t, 0 | 0 );
84928  if (!SWIG_IsOK(res1)) {
84929  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_double_RemoveAt" "', argument " "1"" of type '" "CStdArray< double > *""'");
84930  }
84931  arg1 = reinterpret_cast< CStdArray< double > * >(argp1);
84932  ecode2 = SWIG_AsVal_int(obj1, &val2);
84933  if (!SWIG_IsOK(ecode2)) {
84934  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_double_RemoveAt" "', argument " "2"" of type '" "int""'");
84935  }
84936  arg2 = static_cast< int >(val2);
84937  (arg1)->RemoveAt(arg2);
84938  resultobj = SWIG_Py_Void();
84939  return resultobj;
84940 fail:
84941  return NULL;
84942 }
84943 
84944 
84945 SWIGINTERN PyObject *_wrap_CStdArray_double_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
84946  PyObject *resultobj = 0;
84947  CStdArray< double > *arg1 = (CStdArray< double > *) 0 ;
84948  std::vector< double,std::allocator< double > >::iterator arg2 ;
84949  void *argp1 = 0 ;
84950  int res1 = 0 ;
84951  swig::SwigPyIterator *iter2 = 0 ;
84952  int res2 ;
84953  PyObject * obj0 = 0 ;
84954  PyObject * obj1 = 0 ;
84955 
84956  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_double_RemoveAt",&obj0,&obj1)) SWIG_fail;
84957  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_double_t, 0 | 0 );
84958  if (!SWIG_IsOK(res1)) {
84959  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_double_RemoveAt" "', argument " "1"" of type '" "CStdArray< double > *""'");
84960  }
84961  arg1 = reinterpret_cast< CStdArray< double > * >(argp1);
84962  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
84963  if (!SWIG_IsOK(res2) || !iter2) {
84964  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_double_RemoveAt" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > >::iterator""'");
84965  } else {
84967  if (iter_t) {
84968  arg2 = iter_t->get_current();
84969  } else {
84970  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_double_RemoveAt" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > >::iterator""'");
84971  }
84972  }
84973  (arg1)->RemoveAt(arg2);
84974  resultobj = SWIG_Py_Void();
84975  return resultobj;
84976 fail:
84977  return NULL;
84978 }
84979 
84980 
84981 SWIGINTERN PyObject *_wrap_CStdArray_double_RemoveAt(PyObject *self, PyObject *args) {
84982  int argc;
84983  PyObject *argv[3];
84984  int ii;
84985 
84986  if (!PyTuple_Check(args)) SWIG_fail;
84987  argc = args ? (int)PyObject_Length(args) : 0;
84988  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
84989  argv[ii] = PyTuple_GET_ITEM(args,ii);
84990  }
84991  if (argc == 2) {
84992  int _v;
84993  void *vptr = 0;
84994  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_double_t, 0);
84995  _v = SWIG_CheckState(res);
84996  if (_v) {
84997  swig::SwigPyIterator *iter = 0;
84998  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
84999  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double,std::allocator< double > >::iterator > *>(iter) != 0));
85000  if (_v) {
85001  return _wrap_CStdArray_double_RemoveAt__SWIG_1(self, args);
85002  }
85003  }
85004  }
85005  if (argc == 2) {
85006  int _v;
85007  void *vptr = 0;
85008  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_double_t, 0);
85009  _v = SWIG_CheckState(res);
85010  if (_v) {
85011  {
85012  int res = SWIG_AsVal_int(argv[1], NULL);
85013  _v = SWIG_CheckState(res);
85014  }
85015  if (_v) {
85016  return _wrap_CStdArray_double_RemoveAt__SWIG_0(self, args);
85017  }
85018  }
85019  }
85020 
85021 fail:
85022  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdArray_double_RemoveAt'.\n"
85023  " Possible C/C++ prototypes are:\n"
85024  " CStdArray< double >::RemoveAt(int)\n"
85025  " CStdArray< double >::RemoveAt(std::vector< double,std::allocator< double > >::iterator)\n");
85026  return 0;
85027 }
85028 
85029 
85030 SWIGINTERN PyObject *_wrap_CStdArray_double_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85031  PyObject *resultobj = 0;
85032  CStdArray< double > *arg1 = (CStdArray< double > *) 0 ;
85033  long arg2 ;
85034  void *argp1 = 0 ;
85035  int res1 = 0 ;
85036  long val2 ;
85037  int ecode2 = 0 ;
85038  PyObject * obj0 = 0 ;
85039  PyObject * obj1 = 0 ;
85040 
85041  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_double_SetSize",&obj0,&obj1)) SWIG_fail;
85042  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_double_t, 0 | 0 );
85043  if (!SWIG_IsOK(res1)) {
85044  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_double_SetSize" "', argument " "1"" of type '" "CStdArray< double > *""'");
85045  }
85046  arg1 = reinterpret_cast< CStdArray< double > * >(argp1);
85047  ecode2 = SWIG_AsVal_long(obj1, &val2);
85048  if (!SWIG_IsOK(ecode2)) {
85049  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_double_SetSize" "', argument " "2"" of type '" "long""'");
85050  }
85051  arg2 = static_cast< long >(val2);
85052  (arg1)->SetSize(arg2);
85053  resultobj = SWIG_Py_Void();
85054  return resultobj;
85055 fail:
85056  return NULL;
85057 }
85058 
85059 
85060 SWIGINTERN PyObject *_wrap_CStdArray_double_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85061  PyObject *resultobj = 0;
85062  CStdArray< double > *arg1 = (CStdArray< double > *) 0 ;
85063  int arg2 ;
85064  double arg3 ;
85065  void *argp1 = 0 ;
85066  int res1 = 0 ;
85067  int val2 ;
85068  int ecode2 = 0 ;
85069  double val3 ;
85070  int ecode3 = 0 ;
85071  PyObject * obj0 = 0 ;
85072  PyObject * obj1 = 0 ;
85073  PyObject * obj2 = 0 ;
85074 
85075  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdArray_double_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
85076  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_double_t, 0 | 0 );
85077  if (!SWIG_IsOK(res1)) {
85078  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_double_InsertAt" "', argument " "1"" of type '" "CStdArray< double > *""'");
85079  }
85080  arg1 = reinterpret_cast< CStdArray< double > * >(argp1);
85081  ecode2 = SWIG_AsVal_int(obj1, &val2);
85082  if (!SWIG_IsOK(ecode2)) {
85083  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_double_InsertAt" "', argument " "2"" of type '" "int""'");
85084  }
85085  arg2 = static_cast< int >(val2);
85086  ecode3 = SWIG_AsVal_double(obj2, &val3);
85087  if (!SWIG_IsOK(ecode3)) {
85088  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdArray_double_InsertAt" "', argument " "3"" of type '" "double""'");
85089  }
85090  arg3 = static_cast< double >(val3);
85091  (arg1)->InsertAt(arg2,arg3);
85092  resultobj = SWIG_Py_Void();
85093  return resultobj;
85094 fail:
85095  return NULL;
85096 }
85097 
85098 
85099 SWIGINTERN PyObject *_wrap_CStdArray_double_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85100  PyObject *resultobj = 0;
85101  CStdArray< double > *arg1 = (CStdArray< double > *) 0 ;
85102  void *argp1 = 0 ;
85103  int res1 = 0 ;
85104  PyObject * obj0 = 0 ;
85105  int result;
85106 
85107  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_double_GetSize",&obj0)) SWIG_fail;
85108  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_double_t, 0 | 0 );
85109  if (!SWIG_IsOK(res1)) {
85110  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_double_GetSize" "', argument " "1"" of type '" "CStdArray< double > *""'");
85111  }
85112  arg1 = reinterpret_cast< CStdArray< double > * >(argp1);
85113  result = (int)(arg1)->GetSize();
85114  resultobj = SWIG_From_int(static_cast< int >(result));
85115  return resultobj;
85116 fail:
85117  return NULL;
85118 }
85119 
85120 
85121 SWIGINTERN PyObject *_wrap_CStdArray_double_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85122  PyObject *resultobj = 0;
85123  CStdArray< double > *arg1 = (CStdArray< double > *) 0 ;
85124  void *argp1 = 0 ;
85125  int res1 = 0 ;
85126  PyObject * obj0 = 0 ;
85127 
85128  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_double_Clear",&obj0)) SWIG_fail;
85129  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_double_t, 0 | 0 );
85130  if (!SWIG_IsOK(res1)) {
85131  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_double_Clear" "', argument " "1"" of type '" "CStdArray< double > *""'");
85132  }
85133  arg1 = reinterpret_cast< CStdArray< double > * >(argp1);
85134  (arg1)->Clear();
85135  resultobj = SWIG_Py_Void();
85136  return resultobj;
85137 fail:
85138  return NULL;
85139 }
85140 
85141 
85142 SWIGINTERN PyObject *_wrap_new_CStdArray_double(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85143  PyObject *resultobj = 0;
85144  CStdArray< double > *result = 0 ;
85145 
85146  if (!PyArg_ParseTuple(args,(char *)":new_CStdArray_double")) SWIG_fail;
85147  {
85148  try {
85149  result = (CStdArray< double > *)new CStdArray< double >();
85150  }
85151  catch(CStdErrorInfo oError)
85152  {
85153  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
85154  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
85155  PyErr_SetString(PyExc_IndexError, strError.c_str());
85156  SWIG_fail;
85157  }
85158  catch(...)
85159  {
85160  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
85161  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
85162  SWIG_fail;
85163  }
85164  }
85165  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdArrayT_double_t, SWIG_POINTER_NEW | 0 );
85166  return resultobj;
85167 fail:
85168  return NULL;
85169 }
85170 
85171 
85172 SWIGINTERN PyObject *CStdArray_double_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85173  PyObject *obj;
85174  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
85175  SWIG_TypeNewClientData(SWIGTYPE_p_CStdArrayT_double_t, SWIG_NewClientData(obj));
85176  return SWIG_Py_Void();
85177 }
85178 
85179 SWIGINTERN PyObject *_wrap_delete_CStdArray_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85180  PyObject *resultobj = 0;
85181  CStdArray< std::string > *arg1 = (CStdArray< std::string > *) 0 ;
85182  void *argp1 = 0 ;
85183  int res1 = 0 ;
85184  PyObject * obj0 = 0 ;
85185 
85186  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdArray_string",&obj0)) SWIG_fail;
85187  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_std__string_t, SWIG_POINTER_DISOWN | 0 );
85188  if (!SWIG_IsOK(res1)) {
85189  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdArray_string" "', argument " "1"" of type '" "CStdArray< std::string > *""'");
85190  }
85191  arg1 = reinterpret_cast< CStdArray< std::string > * >(argp1);
85192  delete arg1;
85193  resultobj = SWIG_Py_Void();
85194  return resultobj;
85195 fail:
85196  return NULL;
85197 }
85198 
85199 
85200 SWIGINTERN PyObject *_wrap_CStdArray_string_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85201  PyObject *resultobj = 0;
85202  CStdArray< std::string > *arg1 = (CStdArray< std::string > *) 0 ;
85203  std::string arg2 ;
85204  void *argp1 = 0 ;
85205  int res1 = 0 ;
85206  PyObject * obj0 = 0 ;
85207  PyObject * obj1 = 0 ;
85208 
85209  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_string_Add",&obj0,&obj1)) SWIG_fail;
85210  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_std__string_t, 0 | 0 );
85211  if (!SWIG_IsOK(res1)) {
85212  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_string_Add" "', argument " "1"" of type '" "CStdArray< std::string > *""'");
85213  }
85214  arg1 = reinterpret_cast< CStdArray< std::string > * >(argp1);
85215  {
85216  std::string *ptr = (std::string *)0;
85217  int res = SWIG_AsPtr_std_string(obj1, &ptr);
85218  if (!SWIG_IsOK(res) || !ptr) {
85219  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdArray_string_Add" "', argument " "2"" of type '" "std::string""'");
85220  }
85221  arg2 = *ptr;
85222  if (SWIG_IsNewObj(res)) delete ptr;
85223  }
85224  (arg1)->Add(arg2);
85225  resultobj = SWIG_Py_Void();
85226  return resultobj;
85227 fail:
85228  return NULL;
85229 }
85230 
85231 
85232 SWIGINTERN PyObject *_wrap_CStdArray_string_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85233  PyObject *resultobj = 0;
85234  CStdArray< std::string > *arg1 = (CStdArray< std::string > *) 0 ;
85235  void *argp1 = 0 ;
85236  int res1 = 0 ;
85237  PyObject * obj0 = 0 ;
85238 
85239  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_string_RemoveAll",&obj0)) SWIG_fail;
85240  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_std__string_t, 0 | 0 );
85241  if (!SWIG_IsOK(res1)) {
85242  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_string_RemoveAll" "', argument " "1"" of type '" "CStdArray< std::string > *""'");
85243  }
85244  arg1 = reinterpret_cast< CStdArray< std::string > * >(argp1);
85245  (arg1)->RemoveAll();
85246  resultobj = SWIG_Py_Void();
85247  return resultobj;
85248 fail:
85249  return NULL;
85250 }
85251 
85252 
85253 SWIGINTERN PyObject *_wrap_CStdArray_string_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85254  PyObject *resultobj = 0;
85255  CStdArray< std::string > *arg1 = (CStdArray< std::string > *) 0 ;
85256  int arg2 ;
85257  void *argp1 = 0 ;
85258  int res1 = 0 ;
85259  int val2 ;
85260  int ecode2 = 0 ;
85261  PyObject * obj0 = 0 ;
85262  PyObject * obj1 = 0 ;
85263 
85264  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_string_RemoveAt",&obj0,&obj1)) SWIG_fail;
85265  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_std__string_t, 0 | 0 );
85266  if (!SWIG_IsOK(res1)) {
85267  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_string_RemoveAt" "', argument " "1"" of type '" "CStdArray< std::string > *""'");
85268  }
85269  arg1 = reinterpret_cast< CStdArray< std::string > * >(argp1);
85270  ecode2 = SWIG_AsVal_int(obj1, &val2);
85271  if (!SWIG_IsOK(ecode2)) {
85272  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_string_RemoveAt" "', argument " "2"" of type '" "int""'");
85273  }
85274  arg2 = static_cast< int >(val2);
85275  (arg1)->RemoveAt(arg2);
85276  resultobj = SWIG_Py_Void();
85277  return resultobj;
85278 fail:
85279  return NULL;
85280 }
85281 
85282 
85283 SWIGINTERN PyObject *_wrap_CStdArray_string_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85284  PyObject *resultobj = 0;
85285  CStdArray< std::string > *arg1 = (CStdArray< std::string > *) 0 ;
85286  std::vector< std::string,std::allocator< std::string > >::iterator arg2 ;
85287  void *argp1 = 0 ;
85288  int res1 = 0 ;
85289  swig::SwigPyIterator *iter2 = 0 ;
85290  int res2 ;
85291  PyObject * obj0 = 0 ;
85292  PyObject * obj1 = 0 ;
85293 
85294  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_string_RemoveAt",&obj0,&obj1)) SWIG_fail;
85295  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_std__string_t, 0 | 0 );
85296  if (!SWIG_IsOK(res1)) {
85297  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_string_RemoveAt" "', argument " "1"" of type '" "CStdArray< std::string > *""'");
85298  }
85299  arg1 = reinterpret_cast< CStdArray< std::string > * >(argp1);
85300  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
85301  if (!SWIG_IsOK(res2) || !iter2) {
85302  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_string_RemoveAt" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > >::iterator""'");
85303  } else {
85305  if (iter_t) {
85306  arg2 = iter_t->get_current();
85307  } else {
85308  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_string_RemoveAt" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > >::iterator""'");
85309  }
85310  }
85311  (arg1)->RemoveAt(arg2);
85312  resultobj = SWIG_Py_Void();
85313  return resultobj;
85314 fail:
85315  return NULL;
85316 }
85317 
85318 
85319 SWIGINTERN PyObject *_wrap_CStdArray_string_RemoveAt(PyObject *self, PyObject *args) {
85320  int argc;
85321  PyObject *argv[3];
85322  int ii;
85323 
85324  if (!PyTuple_Check(args)) SWIG_fail;
85325  argc = args ? (int)PyObject_Length(args) : 0;
85326  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
85327  argv[ii] = PyTuple_GET_ITEM(args,ii);
85328  }
85329  if (argc == 2) {
85330  int _v;
85331  void *vptr = 0;
85332  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_std__string_t, 0);
85333  _v = SWIG_CheckState(res);
85334  if (_v) {
85335  swig::SwigPyIterator *iter = 0;
85336  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
85337  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::string,std::allocator< std::string > >::iterator > *>(iter) != 0));
85338  if (_v) {
85339  return _wrap_CStdArray_string_RemoveAt__SWIG_1(self, args);
85340  }
85341  }
85342  }
85343  if (argc == 2) {
85344  int _v;
85345  void *vptr = 0;
85346  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_std__string_t, 0);
85347  _v = SWIG_CheckState(res);
85348  if (_v) {
85349  {
85350  int res = SWIG_AsVal_int(argv[1], NULL);
85351  _v = SWIG_CheckState(res);
85352  }
85353  if (_v) {
85354  return _wrap_CStdArray_string_RemoveAt__SWIG_0(self, args);
85355  }
85356  }
85357  }
85358 
85359 fail:
85360  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdArray_string_RemoveAt'.\n"
85361  " Possible C/C++ prototypes are:\n"
85362  " CStdArray< std::string >::RemoveAt(int)\n"
85363  " CStdArray< std::string >::RemoveAt(std::vector< std::string,std::allocator< std::string > >::iterator)\n");
85364  return 0;
85365 }
85366 
85367 
85368 SWIGINTERN PyObject *_wrap_CStdArray_string_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85369  PyObject *resultobj = 0;
85370  CStdArray< std::string > *arg1 = (CStdArray< std::string > *) 0 ;
85371  long arg2 ;
85372  void *argp1 = 0 ;
85373  int res1 = 0 ;
85374  long val2 ;
85375  int ecode2 = 0 ;
85376  PyObject * obj0 = 0 ;
85377  PyObject * obj1 = 0 ;
85378 
85379  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_string_SetSize",&obj0,&obj1)) SWIG_fail;
85380  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_std__string_t, 0 | 0 );
85381  if (!SWIG_IsOK(res1)) {
85382  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_string_SetSize" "', argument " "1"" of type '" "CStdArray< std::string > *""'");
85383  }
85384  arg1 = reinterpret_cast< CStdArray< std::string > * >(argp1);
85385  ecode2 = SWIG_AsVal_long(obj1, &val2);
85386  if (!SWIG_IsOK(ecode2)) {
85387  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_string_SetSize" "', argument " "2"" of type '" "long""'");
85388  }
85389  arg2 = static_cast< long >(val2);
85390  (arg1)->SetSize(arg2);
85391  resultobj = SWIG_Py_Void();
85392  return resultobj;
85393 fail:
85394  return NULL;
85395 }
85396 
85397 
85398 SWIGINTERN PyObject *_wrap_CStdArray_string_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85399  PyObject *resultobj = 0;
85400  CStdArray< std::string > *arg1 = (CStdArray< std::string > *) 0 ;
85401  int arg2 ;
85402  std::string arg3 ;
85403  void *argp1 = 0 ;
85404  int res1 = 0 ;
85405  int val2 ;
85406  int ecode2 = 0 ;
85407  PyObject * obj0 = 0 ;
85408  PyObject * obj1 = 0 ;
85409  PyObject * obj2 = 0 ;
85410 
85411  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdArray_string_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
85412  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_std__string_t, 0 | 0 );
85413  if (!SWIG_IsOK(res1)) {
85414  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_string_InsertAt" "', argument " "1"" of type '" "CStdArray< std::string > *""'");
85415  }
85416  arg1 = reinterpret_cast< CStdArray< std::string > * >(argp1);
85417  ecode2 = SWIG_AsVal_int(obj1, &val2);
85418  if (!SWIG_IsOK(ecode2)) {
85419  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_string_InsertAt" "', argument " "2"" of type '" "int""'");
85420  }
85421  arg2 = static_cast< int >(val2);
85422  {
85423  std::string *ptr = (std::string *)0;
85424  int res = SWIG_AsPtr_std_string(obj2, &ptr);
85425  if (!SWIG_IsOK(res) || !ptr) {
85426  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdArray_string_InsertAt" "', argument " "3"" of type '" "std::string""'");
85427  }
85428  arg3 = *ptr;
85429  if (SWIG_IsNewObj(res)) delete ptr;
85430  }
85431  (arg1)->InsertAt(arg2,arg3);
85432  resultobj = SWIG_Py_Void();
85433  return resultobj;
85434 fail:
85435  return NULL;
85436 }
85437 
85438 
85439 SWIGINTERN PyObject *_wrap_CStdArray_string_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85440  PyObject *resultobj = 0;
85441  CStdArray< std::string > *arg1 = (CStdArray< std::string > *) 0 ;
85442  void *argp1 = 0 ;
85443  int res1 = 0 ;
85444  PyObject * obj0 = 0 ;
85445  int result;
85446 
85447  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_string_GetSize",&obj0)) SWIG_fail;
85448  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_std__string_t, 0 | 0 );
85449  if (!SWIG_IsOK(res1)) {
85450  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_string_GetSize" "', argument " "1"" of type '" "CStdArray< std::string > *""'");
85451  }
85452  arg1 = reinterpret_cast< CStdArray< std::string > * >(argp1);
85453  result = (int)(arg1)->GetSize();
85454  resultobj = SWIG_From_int(static_cast< int >(result));
85455  return resultobj;
85456 fail:
85457  return NULL;
85458 }
85459 
85460 
85461 SWIGINTERN PyObject *_wrap_CStdArray_string_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85462  PyObject *resultobj = 0;
85463  CStdArray< std::string > *arg1 = (CStdArray< std::string > *) 0 ;
85464  void *argp1 = 0 ;
85465  int res1 = 0 ;
85466  PyObject * obj0 = 0 ;
85467 
85468  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_string_Clear",&obj0)) SWIG_fail;
85469  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_std__string_t, 0 | 0 );
85470  if (!SWIG_IsOK(res1)) {
85471  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_string_Clear" "', argument " "1"" of type '" "CStdArray< std::string > *""'");
85472  }
85473  arg1 = reinterpret_cast< CStdArray< std::string > * >(argp1);
85474  (arg1)->Clear();
85475  resultobj = SWIG_Py_Void();
85476  return resultobj;
85477 fail:
85478  return NULL;
85479 }
85480 
85481 
85482 SWIGINTERN PyObject *_wrap_new_CStdArray_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85483  PyObject *resultobj = 0;
85484  CStdArray< std::string > *result = 0 ;
85485 
85486  if (!PyArg_ParseTuple(args,(char *)":new_CStdArray_string")) SWIG_fail;
85487  {
85488  try {
85489  result = (CStdArray< std::string > *)new CStdArray< std::string >();
85490  }
85491  catch(CStdErrorInfo oError)
85492  {
85493  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
85494  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
85495  PyErr_SetString(PyExc_IndexError, strError.c_str());
85496  SWIG_fail;
85497  }
85498  catch(...)
85499  {
85500  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
85501  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
85502  SWIG_fail;
85503  }
85504  }
85505  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdArrayT_std__string_t, SWIG_POINTER_NEW | 0 );
85506  return resultobj;
85507 fail:
85508  return NULL;
85509 }
85510 
85511 
85512 SWIGINTERN PyObject *CStdArray_string_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85513  PyObject *obj;
85514  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
85515  SWIG_TypeNewClientData(SWIGTYPE_p_CStdArrayT_std__string_t, SWIG_NewClientData(obj));
85516  return SWIG_Py_Void();
85517 }
85518 
85519 SWIGINTERN PyObject *_wrap_delete_CStdArray_ActivatedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85520  PyObject *resultobj = 0;
85521  CStdArray< ActivatedItem * > *arg1 = (CStdArray< ActivatedItem * > *) 0 ;
85522  void *argp1 = 0 ;
85523  int res1 = 0 ;
85524  PyObject * obj0 = 0 ;
85525 
85526  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdArray_ActivatedItem",&obj0)) SWIG_fail;
85527  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ActivatedItem_p_t, SWIG_POINTER_DISOWN | 0 );
85528  if (!SWIG_IsOK(res1)) {
85529  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdArray_ActivatedItem" "', argument " "1"" of type '" "CStdArray< ActivatedItem * > *""'");
85530  }
85531  arg1 = reinterpret_cast< CStdArray< ActivatedItem * > * >(argp1);
85532  delete arg1;
85533  resultobj = SWIG_Py_Void();
85534  return resultobj;
85535 fail:
85536  return NULL;
85537 }
85538 
85539 
85540 SWIGINTERN PyObject *_wrap_CStdArray_ActivatedItem_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85541  PyObject *resultobj = 0;
85542  CStdArray< ActivatedItem * > *arg1 = (CStdArray< ActivatedItem * > *) 0 ;
85543  ActivatedItem *arg2 = (ActivatedItem *) 0 ;
85544  void *argp1 = 0 ;
85545  int res1 = 0 ;
85546  void *argp2 = 0 ;
85547  int res2 = 0 ;
85548  PyObject * obj0 = 0 ;
85549  PyObject * obj1 = 0 ;
85550 
85551  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_ActivatedItem_Add",&obj0,&obj1)) SWIG_fail;
85552  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ActivatedItem_p_t, 0 | 0 );
85553  if (!SWIG_IsOK(res1)) {
85554  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ActivatedItem_Add" "', argument " "1"" of type '" "CStdArray< ActivatedItem * > *""'");
85555  }
85556  arg1 = reinterpret_cast< CStdArray< ActivatedItem * > * >(argp1);
85557  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ActivatedItem, 0 | 0 );
85558  if (!SWIG_IsOK(res2)) {
85559  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdArray_ActivatedItem_Add" "', argument " "2"" of type '" "ActivatedItem *""'");
85560  }
85561  arg2 = reinterpret_cast< ActivatedItem * >(argp2);
85562  (arg1)->Add(arg2);
85563  resultobj = SWIG_Py_Void();
85564  return resultobj;
85565 fail:
85566  return NULL;
85567 }
85568 
85569 
85570 SWIGINTERN PyObject *_wrap_CStdArray_ActivatedItem_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85571  PyObject *resultobj = 0;
85572  CStdArray< ActivatedItem * > *arg1 = (CStdArray< ActivatedItem * > *) 0 ;
85573  void *argp1 = 0 ;
85574  int res1 = 0 ;
85575  PyObject * obj0 = 0 ;
85576 
85577  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_ActivatedItem_RemoveAll",&obj0)) SWIG_fail;
85578  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ActivatedItem_p_t, 0 | 0 );
85579  if (!SWIG_IsOK(res1)) {
85580  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ActivatedItem_RemoveAll" "', argument " "1"" of type '" "CStdArray< ActivatedItem * > *""'");
85581  }
85582  arg1 = reinterpret_cast< CStdArray< ActivatedItem * > * >(argp1);
85583  (arg1)->RemoveAll();
85584  resultobj = SWIG_Py_Void();
85585  return resultobj;
85586 fail:
85587  return NULL;
85588 }
85589 
85590 
85591 SWIGINTERN PyObject *_wrap_CStdArray_ActivatedItem_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85592  PyObject *resultobj = 0;
85593  CStdArray< ActivatedItem * > *arg1 = (CStdArray< ActivatedItem * > *) 0 ;
85594  int arg2 ;
85595  void *argp1 = 0 ;
85596  int res1 = 0 ;
85597  int val2 ;
85598  int ecode2 = 0 ;
85599  PyObject * obj0 = 0 ;
85600  PyObject * obj1 = 0 ;
85601 
85602  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_ActivatedItem_RemoveAt",&obj0,&obj1)) SWIG_fail;
85603  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ActivatedItem_p_t, 0 | 0 );
85604  if (!SWIG_IsOK(res1)) {
85605  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ActivatedItem_RemoveAt" "', argument " "1"" of type '" "CStdArray< ActivatedItem * > *""'");
85606  }
85607  arg1 = reinterpret_cast< CStdArray< ActivatedItem * > * >(argp1);
85608  ecode2 = SWIG_AsVal_int(obj1, &val2);
85609  if (!SWIG_IsOK(ecode2)) {
85610  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_ActivatedItem_RemoveAt" "', argument " "2"" of type '" "int""'");
85611  }
85612  arg2 = static_cast< int >(val2);
85613  (arg1)->RemoveAt(arg2);
85614  resultobj = SWIG_Py_Void();
85615  return resultobj;
85616 fail:
85617  return NULL;
85618 }
85619 
85620 
85621 SWIGINTERN PyObject *_wrap_CStdArray_ActivatedItem_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85622  PyObject *resultobj = 0;
85623  CStdArray< ActivatedItem * > *arg1 = (CStdArray< ActivatedItem * > *) 0 ;
85624  std::vector< ActivatedItem *,std::allocator< ActivatedItem * > >::iterator arg2 ;
85625  void *argp1 = 0 ;
85626  int res1 = 0 ;
85627  swig::SwigPyIterator *iter2 = 0 ;
85628  int res2 ;
85629  PyObject * obj0 = 0 ;
85630  PyObject * obj1 = 0 ;
85631 
85632  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_ActivatedItem_RemoveAt",&obj0,&obj1)) SWIG_fail;
85633  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ActivatedItem_p_t, 0 | 0 );
85634  if (!SWIG_IsOK(res1)) {
85635  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ActivatedItem_RemoveAt" "', argument " "1"" of type '" "CStdArray< ActivatedItem * > *""'");
85636  }
85637  arg1 = reinterpret_cast< CStdArray< ActivatedItem * > * >(argp1);
85638  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
85639  if (!SWIG_IsOK(res2) || !iter2) {
85640  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_ActivatedItem_RemoveAt" "', argument " "2"" of type '" "std::vector< ActivatedItem *,std::allocator< ActivatedItem * > >::iterator""'");
85641  } else {
85643  if (iter_t) {
85644  arg2 = iter_t->get_current();
85645  } else {
85646  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_ActivatedItem_RemoveAt" "', argument " "2"" of type '" "std::vector< ActivatedItem *,std::allocator< ActivatedItem * > >::iterator""'");
85647  }
85648  }
85649  (arg1)->RemoveAt(arg2);
85650  resultobj = SWIG_Py_Void();
85651  return resultobj;
85652 fail:
85653  return NULL;
85654 }
85655 
85656 
85657 SWIGINTERN PyObject *_wrap_CStdArray_ActivatedItem_RemoveAt(PyObject *self, PyObject *args) {
85658  int argc;
85659  PyObject *argv[3];
85660  int ii;
85661 
85662  if (!PyTuple_Check(args)) SWIG_fail;
85663  argc = args ? (int)PyObject_Length(args) : 0;
85664  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
85665  argv[ii] = PyTuple_GET_ITEM(args,ii);
85666  }
85667  if (argc == 2) {
85668  int _v;
85669  void *vptr = 0;
85670  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_ActivatedItem_p_t, 0);
85671  _v = SWIG_CheckState(res);
85672  if (_v) {
85673  swig::SwigPyIterator *iter = 0;
85674  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
85675  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ActivatedItem *,std::allocator< ActivatedItem * > >::iterator > *>(iter) != 0));
85676  if (_v) {
85677  return _wrap_CStdArray_ActivatedItem_RemoveAt__SWIG_1(self, args);
85678  }
85679  }
85680  }
85681  if (argc == 2) {
85682  int _v;
85683  void *vptr = 0;
85684  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_ActivatedItem_p_t, 0);
85685  _v = SWIG_CheckState(res);
85686  if (_v) {
85687  {
85688  int res = SWIG_AsVal_int(argv[1], NULL);
85689  _v = SWIG_CheckState(res);
85690  }
85691  if (_v) {
85692  return _wrap_CStdArray_ActivatedItem_RemoveAt__SWIG_0(self, args);
85693  }
85694  }
85695  }
85696 
85697 fail:
85698  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdArray_ActivatedItem_RemoveAt'.\n"
85699  " Possible C/C++ prototypes are:\n"
85700  " CStdArray< ActivatedItem * >::RemoveAt(int)\n"
85701  " CStdArray< ActivatedItem * >::RemoveAt(std::vector< ActivatedItem *,std::allocator< ActivatedItem * > >::iterator)\n");
85702  return 0;
85703 }
85704 
85705 
85706 SWIGINTERN PyObject *_wrap_CStdArray_ActivatedItem_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85707  PyObject *resultobj = 0;
85708  CStdArray< ActivatedItem * > *arg1 = (CStdArray< ActivatedItem * > *) 0 ;
85709  long arg2 ;
85710  void *argp1 = 0 ;
85711  int res1 = 0 ;
85712  long val2 ;
85713  int ecode2 = 0 ;
85714  PyObject * obj0 = 0 ;
85715  PyObject * obj1 = 0 ;
85716 
85717  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_ActivatedItem_SetSize",&obj0,&obj1)) SWIG_fail;
85718  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ActivatedItem_p_t, 0 | 0 );
85719  if (!SWIG_IsOK(res1)) {
85720  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ActivatedItem_SetSize" "', argument " "1"" of type '" "CStdArray< ActivatedItem * > *""'");
85721  }
85722  arg1 = reinterpret_cast< CStdArray< ActivatedItem * > * >(argp1);
85723  ecode2 = SWIG_AsVal_long(obj1, &val2);
85724  if (!SWIG_IsOK(ecode2)) {
85725  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_ActivatedItem_SetSize" "', argument " "2"" of type '" "long""'");
85726  }
85727  arg2 = static_cast< long >(val2);
85728  (arg1)->SetSize(arg2);
85729  resultobj = SWIG_Py_Void();
85730  return resultobj;
85731 fail:
85732  return NULL;
85733 }
85734 
85735 
85736 SWIGINTERN PyObject *_wrap_CStdArray_ActivatedItem_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85737  PyObject *resultobj = 0;
85738  CStdArray< ActivatedItem * > *arg1 = (CStdArray< ActivatedItem * > *) 0 ;
85739  int arg2 ;
85740  ActivatedItem *arg3 = (ActivatedItem *) 0 ;
85741  void *argp1 = 0 ;
85742  int res1 = 0 ;
85743  int val2 ;
85744  int ecode2 = 0 ;
85745  void *argp3 = 0 ;
85746  int res3 = 0 ;
85747  PyObject * obj0 = 0 ;
85748  PyObject * obj1 = 0 ;
85749  PyObject * obj2 = 0 ;
85750 
85751  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdArray_ActivatedItem_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
85752  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ActivatedItem_p_t, 0 | 0 );
85753  if (!SWIG_IsOK(res1)) {
85754  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ActivatedItem_InsertAt" "', argument " "1"" of type '" "CStdArray< ActivatedItem * > *""'");
85755  }
85756  arg1 = reinterpret_cast< CStdArray< ActivatedItem * > * >(argp1);
85757  ecode2 = SWIG_AsVal_int(obj1, &val2);
85758  if (!SWIG_IsOK(ecode2)) {
85759  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_ActivatedItem_InsertAt" "', argument " "2"" of type '" "int""'");
85760  }
85761  arg2 = static_cast< int >(val2);
85762  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ActivatedItem, 0 | 0 );
85763  if (!SWIG_IsOK(res3)) {
85764  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdArray_ActivatedItem_InsertAt" "', argument " "3"" of type '" "ActivatedItem *""'");
85765  }
85766  arg3 = reinterpret_cast< ActivatedItem * >(argp3);
85767  (arg1)->InsertAt(arg2,arg3);
85768  resultobj = SWIG_Py_Void();
85769  return resultobj;
85770 fail:
85771  return NULL;
85772 }
85773 
85774 
85775 SWIGINTERN PyObject *_wrap_CStdArray_ActivatedItem_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85776  PyObject *resultobj = 0;
85777  CStdArray< ActivatedItem * > *arg1 = (CStdArray< ActivatedItem * > *) 0 ;
85778  void *argp1 = 0 ;
85779  int res1 = 0 ;
85780  PyObject * obj0 = 0 ;
85781  int result;
85782 
85783  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_ActivatedItem_GetSize",&obj0)) SWIG_fail;
85784  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ActivatedItem_p_t, 0 | 0 );
85785  if (!SWIG_IsOK(res1)) {
85786  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ActivatedItem_GetSize" "', argument " "1"" of type '" "CStdArray< ActivatedItem * > *""'");
85787  }
85788  arg1 = reinterpret_cast< CStdArray< ActivatedItem * > * >(argp1);
85789  result = (int)(arg1)->GetSize();
85790  resultobj = SWIG_From_int(static_cast< int >(result));
85791  return resultobj;
85792 fail:
85793  return NULL;
85794 }
85795 
85796 
85797 SWIGINTERN PyObject *_wrap_CStdArray_ActivatedItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85798  PyObject *resultobj = 0;
85799  CStdArray< ActivatedItem * > *arg1 = (CStdArray< ActivatedItem * > *) 0 ;
85800  void *argp1 = 0 ;
85801  int res1 = 0 ;
85802  PyObject * obj0 = 0 ;
85803 
85804  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_ActivatedItem_Clear",&obj0)) SWIG_fail;
85805  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ActivatedItem_p_t, 0 | 0 );
85806  if (!SWIG_IsOK(res1)) {
85807  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ActivatedItem_Clear" "', argument " "1"" of type '" "CStdArray< ActivatedItem * > *""'");
85808  }
85809  arg1 = reinterpret_cast< CStdArray< ActivatedItem * > * >(argp1);
85810  (arg1)->Clear();
85811  resultobj = SWIG_Py_Void();
85812  return resultobj;
85813 fail:
85814  return NULL;
85815 }
85816 
85817 
85818 SWIGINTERN PyObject *_wrap_new_CStdArray_ActivatedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85819  PyObject *resultobj = 0;
85820  CStdArray< ActivatedItem * > *result = 0 ;
85821 
85822  if (!PyArg_ParseTuple(args,(char *)":new_CStdArray_ActivatedItem")) SWIG_fail;
85823  {
85824  try {
85825  result = (CStdArray< ActivatedItem * > *)new CStdArray< ActivatedItem * >();
85826  }
85827  catch(CStdErrorInfo oError)
85828  {
85829  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
85830  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
85831  PyErr_SetString(PyExc_IndexError, strError.c_str());
85832  SWIG_fail;
85833  }
85834  catch(...)
85835  {
85836  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
85837  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
85838  SWIG_fail;
85839  }
85840  }
85841  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdArrayT_ActivatedItem_p_t, SWIG_POINTER_NEW | 0 );
85842  return resultobj;
85843 fail:
85844  return NULL;
85845 }
85846 
85847 
85848 SWIGINTERN PyObject *CStdArray_ActivatedItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85849  PyObject *obj;
85850  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
85851  SWIG_TypeNewClientData(SWIGTYPE_p_CStdArrayT_ActivatedItem_p_t, SWIG_NewClientData(obj));
85852  return SWIG_Py_Void();
85853 }
85854 
85855 SWIGINTERN PyObject *_wrap_delete_CStdArray_RigidBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85856  PyObject *resultobj = 0;
85857  CStdArray< RigidBody * > *arg1 = (CStdArray< RigidBody * > *) 0 ;
85858  void *argp1 = 0 ;
85859  int res1 = 0 ;
85860  PyObject * obj0 = 0 ;
85861 
85862  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdArray_RigidBody",&obj0)) SWIG_fail;
85863  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RigidBody_p_t, SWIG_POINTER_DISOWN | 0 );
85864  if (!SWIG_IsOK(res1)) {
85865  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdArray_RigidBody" "', argument " "1"" of type '" "CStdArray< RigidBody * > *""'");
85866  }
85867  arg1 = reinterpret_cast< CStdArray< RigidBody * > * >(argp1);
85868  delete arg1;
85869  resultobj = SWIG_Py_Void();
85870  return resultobj;
85871 fail:
85872  return NULL;
85873 }
85874 
85875 
85876 SWIGINTERN PyObject *_wrap_CStdArray_RigidBody_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85877  PyObject *resultobj = 0;
85878  CStdArray< RigidBody * > *arg1 = (CStdArray< RigidBody * > *) 0 ;
85879  RigidBody *arg2 = (RigidBody *) 0 ;
85880  void *argp1 = 0 ;
85881  int res1 = 0 ;
85882  void *argp2 = 0 ;
85883  int res2 = 0 ;
85884  PyObject * obj0 = 0 ;
85885  PyObject * obj1 = 0 ;
85886 
85887  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_RigidBody_Add",&obj0,&obj1)) SWIG_fail;
85888  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RigidBody_p_t, 0 | 0 );
85889  if (!SWIG_IsOK(res1)) {
85890  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RigidBody_Add" "', argument " "1"" of type '" "CStdArray< RigidBody * > *""'");
85891  }
85892  arg1 = reinterpret_cast< CStdArray< RigidBody * > * >(argp1);
85893  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RigidBody, 0 | 0 );
85894  if (!SWIG_IsOK(res2)) {
85895  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdArray_RigidBody_Add" "', argument " "2"" of type '" "RigidBody *""'");
85896  }
85897  arg2 = reinterpret_cast< RigidBody * >(argp2);
85898  (arg1)->Add(arg2);
85899  resultobj = SWIG_Py_Void();
85900  return resultobj;
85901 fail:
85902  return NULL;
85903 }
85904 
85905 
85906 SWIGINTERN PyObject *_wrap_CStdArray_RigidBody_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85907  PyObject *resultobj = 0;
85908  CStdArray< RigidBody * > *arg1 = (CStdArray< RigidBody * > *) 0 ;
85909  void *argp1 = 0 ;
85910  int res1 = 0 ;
85911  PyObject * obj0 = 0 ;
85912 
85913  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_RigidBody_RemoveAll",&obj0)) SWIG_fail;
85914  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RigidBody_p_t, 0 | 0 );
85915  if (!SWIG_IsOK(res1)) {
85916  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RigidBody_RemoveAll" "', argument " "1"" of type '" "CStdArray< RigidBody * > *""'");
85917  }
85918  arg1 = reinterpret_cast< CStdArray< RigidBody * > * >(argp1);
85919  (arg1)->RemoveAll();
85920  resultobj = SWIG_Py_Void();
85921  return resultobj;
85922 fail:
85923  return NULL;
85924 }
85925 
85926 
85927 SWIGINTERN PyObject *_wrap_CStdArray_RigidBody_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85928  PyObject *resultobj = 0;
85929  CStdArray< RigidBody * > *arg1 = (CStdArray< RigidBody * > *) 0 ;
85930  int arg2 ;
85931  void *argp1 = 0 ;
85932  int res1 = 0 ;
85933  int val2 ;
85934  int ecode2 = 0 ;
85935  PyObject * obj0 = 0 ;
85936  PyObject * obj1 = 0 ;
85937 
85938  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_RigidBody_RemoveAt",&obj0,&obj1)) SWIG_fail;
85939  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RigidBody_p_t, 0 | 0 );
85940  if (!SWIG_IsOK(res1)) {
85941  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RigidBody_RemoveAt" "', argument " "1"" of type '" "CStdArray< RigidBody * > *""'");
85942  }
85943  arg1 = reinterpret_cast< CStdArray< RigidBody * > * >(argp1);
85944  ecode2 = SWIG_AsVal_int(obj1, &val2);
85945  if (!SWIG_IsOK(ecode2)) {
85946  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_RigidBody_RemoveAt" "', argument " "2"" of type '" "int""'");
85947  }
85948  arg2 = static_cast< int >(val2);
85949  (arg1)->RemoveAt(arg2);
85950  resultobj = SWIG_Py_Void();
85951  return resultobj;
85952 fail:
85953  return NULL;
85954 }
85955 
85956 
85957 SWIGINTERN PyObject *_wrap_CStdArray_RigidBody_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
85958  PyObject *resultobj = 0;
85959  CStdArray< RigidBody * > *arg1 = (CStdArray< RigidBody * > *) 0 ;
85960  std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator arg2 ;
85961  void *argp1 = 0 ;
85962  int res1 = 0 ;
85963  swig::SwigPyIterator *iter2 = 0 ;
85964  int res2 ;
85965  PyObject * obj0 = 0 ;
85966  PyObject * obj1 = 0 ;
85967 
85968  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_RigidBody_RemoveAt",&obj0,&obj1)) SWIG_fail;
85969  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RigidBody_p_t, 0 | 0 );
85970  if (!SWIG_IsOK(res1)) {
85971  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RigidBody_RemoveAt" "', argument " "1"" of type '" "CStdArray< RigidBody * > *""'");
85972  }
85973  arg1 = reinterpret_cast< CStdArray< RigidBody * > * >(argp1);
85974  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
85975  if (!SWIG_IsOK(res2) || !iter2) {
85976  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_RigidBody_RemoveAt" "', argument " "2"" of type '" "std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator""'");
85977  } else {
85979  if (iter_t) {
85980  arg2 = iter_t->get_current();
85981  } else {
85982  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_RigidBody_RemoveAt" "', argument " "2"" of type '" "std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator""'");
85983  }
85984  }
85985  (arg1)->RemoveAt(arg2);
85986  resultobj = SWIG_Py_Void();
85987  return resultobj;
85988 fail:
85989  return NULL;
85990 }
85991 
85992 
85993 SWIGINTERN PyObject *_wrap_CStdArray_RigidBody_RemoveAt(PyObject *self, PyObject *args) {
85994  int argc;
85995  PyObject *argv[3];
85996  int ii;
85997 
85998  if (!PyTuple_Check(args)) SWIG_fail;
85999  argc = args ? (int)PyObject_Length(args) : 0;
86000  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
86001  argv[ii] = PyTuple_GET_ITEM(args,ii);
86002  }
86003  if (argc == 2) {
86004  int _v;
86005  void *vptr = 0;
86006  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_RigidBody_p_t, 0);
86007  _v = SWIG_CheckState(res);
86008  if (_v) {
86009  swig::SwigPyIterator *iter = 0;
86010  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
86011  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator > *>(iter) != 0));
86012  if (_v) {
86013  return _wrap_CStdArray_RigidBody_RemoveAt__SWIG_1(self, args);
86014  }
86015  }
86016  }
86017  if (argc == 2) {
86018  int _v;
86019  void *vptr = 0;
86020  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_RigidBody_p_t, 0);
86021  _v = SWIG_CheckState(res);
86022  if (_v) {
86023  {
86024  int res = SWIG_AsVal_int(argv[1], NULL);
86025  _v = SWIG_CheckState(res);
86026  }
86027  if (_v) {
86028  return _wrap_CStdArray_RigidBody_RemoveAt__SWIG_0(self, args);
86029  }
86030  }
86031  }
86032 
86033 fail:
86034  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdArray_RigidBody_RemoveAt'.\n"
86035  " Possible C/C++ prototypes are:\n"
86036  " CStdArray< RigidBody * >::RemoveAt(int)\n"
86037  " CStdArray< RigidBody * >::RemoveAt(std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator)\n");
86038  return 0;
86039 }
86040 
86041 
86042 SWIGINTERN PyObject *_wrap_CStdArray_RigidBody_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86043  PyObject *resultobj = 0;
86044  CStdArray< RigidBody * > *arg1 = (CStdArray< RigidBody * > *) 0 ;
86045  long arg2 ;
86046  void *argp1 = 0 ;
86047  int res1 = 0 ;
86048  long val2 ;
86049  int ecode2 = 0 ;
86050  PyObject * obj0 = 0 ;
86051  PyObject * obj1 = 0 ;
86052 
86053  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_RigidBody_SetSize",&obj0,&obj1)) SWIG_fail;
86054  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RigidBody_p_t, 0 | 0 );
86055  if (!SWIG_IsOK(res1)) {
86056  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RigidBody_SetSize" "', argument " "1"" of type '" "CStdArray< RigidBody * > *""'");
86057  }
86058  arg1 = reinterpret_cast< CStdArray< RigidBody * > * >(argp1);
86059  ecode2 = SWIG_AsVal_long(obj1, &val2);
86060  if (!SWIG_IsOK(ecode2)) {
86061  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_RigidBody_SetSize" "', argument " "2"" of type '" "long""'");
86062  }
86063  arg2 = static_cast< long >(val2);
86064  (arg1)->SetSize(arg2);
86065  resultobj = SWIG_Py_Void();
86066  return resultobj;
86067 fail:
86068  return NULL;
86069 }
86070 
86071 
86072 SWIGINTERN PyObject *_wrap_CStdArray_RigidBody_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86073  PyObject *resultobj = 0;
86074  CStdArray< RigidBody * > *arg1 = (CStdArray< RigidBody * > *) 0 ;
86075  int arg2 ;
86076  RigidBody *arg3 = (RigidBody *) 0 ;
86077  void *argp1 = 0 ;
86078  int res1 = 0 ;
86079  int val2 ;
86080  int ecode2 = 0 ;
86081  void *argp3 = 0 ;
86082  int res3 = 0 ;
86083  PyObject * obj0 = 0 ;
86084  PyObject * obj1 = 0 ;
86085  PyObject * obj2 = 0 ;
86086 
86087  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdArray_RigidBody_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
86088  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RigidBody_p_t, 0 | 0 );
86089  if (!SWIG_IsOK(res1)) {
86090  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RigidBody_InsertAt" "', argument " "1"" of type '" "CStdArray< RigidBody * > *""'");
86091  }
86092  arg1 = reinterpret_cast< CStdArray< RigidBody * > * >(argp1);
86093  ecode2 = SWIG_AsVal_int(obj1, &val2);
86094  if (!SWIG_IsOK(ecode2)) {
86095  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_RigidBody_InsertAt" "', argument " "2"" of type '" "int""'");
86096  }
86097  arg2 = static_cast< int >(val2);
86098  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RigidBody, 0 | 0 );
86099  if (!SWIG_IsOK(res3)) {
86100  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdArray_RigidBody_InsertAt" "', argument " "3"" of type '" "RigidBody *""'");
86101  }
86102  arg3 = reinterpret_cast< RigidBody * >(argp3);
86103  (arg1)->InsertAt(arg2,arg3);
86104  resultobj = SWIG_Py_Void();
86105  return resultobj;
86106 fail:
86107  return NULL;
86108 }
86109 
86110 
86111 SWIGINTERN PyObject *_wrap_CStdArray_RigidBody_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86112  PyObject *resultobj = 0;
86113  CStdArray< RigidBody * > *arg1 = (CStdArray< RigidBody * > *) 0 ;
86114  void *argp1 = 0 ;
86115  int res1 = 0 ;
86116  PyObject * obj0 = 0 ;
86117  int result;
86118 
86119  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_RigidBody_GetSize",&obj0)) SWIG_fail;
86120  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RigidBody_p_t, 0 | 0 );
86121  if (!SWIG_IsOK(res1)) {
86122  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RigidBody_GetSize" "', argument " "1"" of type '" "CStdArray< RigidBody * > *""'");
86123  }
86124  arg1 = reinterpret_cast< CStdArray< RigidBody * > * >(argp1);
86125  result = (int)(arg1)->GetSize();
86126  resultobj = SWIG_From_int(static_cast< int >(result));
86127  return resultobj;
86128 fail:
86129  return NULL;
86130 }
86131 
86132 
86133 SWIGINTERN PyObject *_wrap_CStdArray_RigidBody_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86134  PyObject *resultobj = 0;
86135  CStdArray< RigidBody * > *arg1 = (CStdArray< RigidBody * > *) 0 ;
86136  void *argp1 = 0 ;
86137  int res1 = 0 ;
86138  PyObject * obj0 = 0 ;
86139 
86140  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_RigidBody_Clear",&obj0)) SWIG_fail;
86141  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RigidBody_p_t, 0 | 0 );
86142  if (!SWIG_IsOK(res1)) {
86143  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RigidBody_Clear" "', argument " "1"" of type '" "CStdArray< RigidBody * > *""'");
86144  }
86145  arg1 = reinterpret_cast< CStdArray< RigidBody * > * >(argp1);
86146  (arg1)->Clear();
86147  resultobj = SWIG_Py_Void();
86148  return resultobj;
86149 fail:
86150  return NULL;
86151 }
86152 
86153 
86154 SWIGINTERN PyObject *_wrap_new_CStdArray_RigidBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86155  PyObject *resultobj = 0;
86156  CStdArray< RigidBody * > *result = 0 ;
86157 
86158  if (!PyArg_ParseTuple(args,(char *)":new_CStdArray_RigidBody")) SWIG_fail;
86159  {
86160  try {
86161  result = (CStdArray< RigidBody * > *)new CStdArray< RigidBody * >();
86162  }
86163  catch(CStdErrorInfo oError)
86164  {
86165  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
86166  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
86167  PyErr_SetString(PyExc_IndexError, strError.c_str());
86168  SWIG_fail;
86169  }
86170  catch(...)
86171  {
86172  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
86173  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
86174  SWIG_fail;
86175  }
86176  }
86177  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdArrayT_RigidBody_p_t, SWIG_POINTER_NEW | 0 );
86178  return resultobj;
86179 fail:
86180  return NULL;
86181 }
86182 
86183 
86184 SWIGINTERN PyObject *CStdArray_RigidBody_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86185  PyObject *obj;
86186  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
86187  SWIG_TypeNewClientData(SWIGTYPE_p_CStdArrayT_RigidBody_p_t, SWIG_NewClientData(obj));
86188  return SWIG_Py_Void();
86189 }
86190 
86191 SWIGINTERN PyObject *_wrap_delete_CStdArray_BodyPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86192  PyObject *resultobj = 0;
86193  CStdArray< BodyPart * > *arg1 = (CStdArray< BodyPart * > *) 0 ;
86194  void *argp1 = 0 ;
86195  int res1 = 0 ;
86196  PyObject * obj0 = 0 ;
86197 
86198  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdArray_BodyPart",&obj0)) SWIG_fail;
86199  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_BodyPart_p_t, SWIG_POINTER_DISOWN | 0 );
86200  if (!SWIG_IsOK(res1)) {
86201  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdArray_BodyPart" "', argument " "1"" of type '" "CStdArray< BodyPart * > *""'");
86202  }
86203  arg1 = reinterpret_cast< CStdArray< BodyPart * > * >(argp1);
86204  delete arg1;
86205  resultobj = SWIG_Py_Void();
86206  return resultobj;
86207 fail:
86208  return NULL;
86209 }
86210 
86211 
86212 SWIGINTERN PyObject *_wrap_CStdArray_BodyPart_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86213  PyObject *resultobj = 0;
86214  CStdArray< BodyPart * > *arg1 = (CStdArray< BodyPart * > *) 0 ;
86215  BodyPart *arg2 = (BodyPart *) 0 ;
86216  void *argp1 = 0 ;
86217  int res1 = 0 ;
86218  void *argp2 = 0 ;
86219  int res2 = 0 ;
86220  PyObject * obj0 = 0 ;
86221  PyObject * obj1 = 0 ;
86222 
86223  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_BodyPart_Add",&obj0,&obj1)) SWIG_fail;
86224  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_BodyPart_p_t, 0 | 0 );
86225  if (!SWIG_IsOK(res1)) {
86226  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_BodyPart_Add" "', argument " "1"" of type '" "CStdArray< BodyPart * > *""'");
86227  }
86228  arg1 = reinterpret_cast< CStdArray< BodyPart * > * >(argp1);
86229  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_BodyPart, 0 | 0 );
86230  if (!SWIG_IsOK(res2)) {
86231  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdArray_BodyPart_Add" "', argument " "2"" of type '" "BodyPart *""'");
86232  }
86233  arg2 = reinterpret_cast< BodyPart * >(argp2);
86234  (arg1)->Add(arg2);
86235  resultobj = SWIG_Py_Void();
86236  return resultobj;
86237 fail:
86238  return NULL;
86239 }
86240 
86241 
86242 SWIGINTERN PyObject *_wrap_CStdArray_BodyPart_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86243  PyObject *resultobj = 0;
86244  CStdArray< BodyPart * > *arg1 = (CStdArray< BodyPart * > *) 0 ;
86245  void *argp1 = 0 ;
86246  int res1 = 0 ;
86247  PyObject * obj0 = 0 ;
86248 
86249  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_BodyPart_RemoveAll",&obj0)) SWIG_fail;
86250  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_BodyPart_p_t, 0 | 0 );
86251  if (!SWIG_IsOK(res1)) {
86252  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_BodyPart_RemoveAll" "', argument " "1"" of type '" "CStdArray< BodyPart * > *""'");
86253  }
86254  arg1 = reinterpret_cast< CStdArray< BodyPart * > * >(argp1);
86255  (arg1)->RemoveAll();
86256  resultobj = SWIG_Py_Void();
86257  return resultobj;
86258 fail:
86259  return NULL;
86260 }
86261 
86262 
86263 SWIGINTERN PyObject *_wrap_CStdArray_BodyPart_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86264  PyObject *resultobj = 0;
86265  CStdArray< BodyPart * > *arg1 = (CStdArray< BodyPart * > *) 0 ;
86266  int arg2 ;
86267  void *argp1 = 0 ;
86268  int res1 = 0 ;
86269  int val2 ;
86270  int ecode2 = 0 ;
86271  PyObject * obj0 = 0 ;
86272  PyObject * obj1 = 0 ;
86273 
86274  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_BodyPart_RemoveAt",&obj0,&obj1)) SWIG_fail;
86275  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_BodyPart_p_t, 0 | 0 );
86276  if (!SWIG_IsOK(res1)) {
86277  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_BodyPart_RemoveAt" "', argument " "1"" of type '" "CStdArray< BodyPart * > *""'");
86278  }
86279  arg1 = reinterpret_cast< CStdArray< BodyPart * > * >(argp1);
86280  ecode2 = SWIG_AsVal_int(obj1, &val2);
86281  if (!SWIG_IsOK(ecode2)) {
86282  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_BodyPart_RemoveAt" "', argument " "2"" of type '" "int""'");
86283  }
86284  arg2 = static_cast< int >(val2);
86285  (arg1)->RemoveAt(arg2);
86286  resultobj = SWIG_Py_Void();
86287  return resultobj;
86288 fail:
86289  return NULL;
86290 }
86291 
86292 
86293 SWIGINTERN PyObject *_wrap_CStdArray_BodyPart_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86294  PyObject *resultobj = 0;
86295  CStdArray< BodyPart * > *arg1 = (CStdArray< BodyPart * > *) 0 ;
86296  std::vector< BodyPart *,std::allocator< BodyPart * > >::iterator arg2 ;
86297  void *argp1 = 0 ;
86298  int res1 = 0 ;
86299  swig::SwigPyIterator *iter2 = 0 ;
86300  int res2 ;
86301  PyObject * obj0 = 0 ;
86302  PyObject * obj1 = 0 ;
86303 
86304  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_BodyPart_RemoveAt",&obj0,&obj1)) SWIG_fail;
86305  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_BodyPart_p_t, 0 | 0 );
86306  if (!SWIG_IsOK(res1)) {
86307  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_BodyPart_RemoveAt" "', argument " "1"" of type '" "CStdArray< BodyPart * > *""'");
86308  }
86309  arg1 = reinterpret_cast< CStdArray< BodyPart * > * >(argp1);
86310  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
86311  if (!SWIG_IsOK(res2) || !iter2) {
86312  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_BodyPart_RemoveAt" "', argument " "2"" of type '" "std::vector< BodyPart *,std::allocator< BodyPart * > >::iterator""'");
86313  } else {
86315  if (iter_t) {
86316  arg2 = iter_t->get_current();
86317  } else {
86318  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_BodyPart_RemoveAt" "', argument " "2"" of type '" "std::vector< BodyPart *,std::allocator< BodyPart * > >::iterator""'");
86319  }
86320  }
86321  (arg1)->RemoveAt(arg2);
86322  resultobj = SWIG_Py_Void();
86323  return resultobj;
86324 fail:
86325  return NULL;
86326 }
86327 
86328 
86329 SWIGINTERN PyObject *_wrap_CStdArray_BodyPart_RemoveAt(PyObject *self, PyObject *args) {
86330  int argc;
86331  PyObject *argv[3];
86332  int ii;
86333 
86334  if (!PyTuple_Check(args)) SWIG_fail;
86335  argc = args ? (int)PyObject_Length(args) : 0;
86336  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
86337  argv[ii] = PyTuple_GET_ITEM(args,ii);
86338  }
86339  if (argc == 2) {
86340  int _v;
86341  void *vptr = 0;
86342  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_BodyPart_p_t, 0);
86343  _v = SWIG_CheckState(res);
86344  if (_v) {
86345  swig::SwigPyIterator *iter = 0;
86346  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
86347  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< BodyPart *,std::allocator< BodyPart * > >::iterator > *>(iter) != 0));
86348  if (_v) {
86349  return _wrap_CStdArray_BodyPart_RemoveAt__SWIG_1(self, args);
86350  }
86351  }
86352  }
86353  if (argc == 2) {
86354  int _v;
86355  void *vptr = 0;
86356  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_BodyPart_p_t, 0);
86357  _v = SWIG_CheckState(res);
86358  if (_v) {
86359  {
86360  int res = SWIG_AsVal_int(argv[1], NULL);
86361  _v = SWIG_CheckState(res);
86362  }
86363  if (_v) {
86364  return _wrap_CStdArray_BodyPart_RemoveAt__SWIG_0(self, args);
86365  }
86366  }
86367  }
86368 
86369 fail:
86370  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdArray_BodyPart_RemoveAt'.\n"
86371  " Possible C/C++ prototypes are:\n"
86372  " CStdArray< BodyPart * >::RemoveAt(int)\n"
86373  " CStdArray< BodyPart * >::RemoveAt(std::vector< BodyPart *,std::allocator< BodyPart * > >::iterator)\n");
86374  return 0;
86375 }
86376 
86377 
86378 SWIGINTERN PyObject *_wrap_CStdArray_BodyPart_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86379  PyObject *resultobj = 0;
86380  CStdArray< BodyPart * > *arg1 = (CStdArray< BodyPart * > *) 0 ;
86381  long arg2 ;
86382  void *argp1 = 0 ;
86383  int res1 = 0 ;
86384  long val2 ;
86385  int ecode2 = 0 ;
86386  PyObject * obj0 = 0 ;
86387  PyObject * obj1 = 0 ;
86388 
86389  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_BodyPart_SetSize",&obj0,&obj1)) SWIG_fail;
86390  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_BodyPart_p_t, 0 | 0 );
86391  if (!SWIG_IsOK(res1)) {
86392  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_BodyPart_SetSize" "', argument " "1"" of type '" "CStdArray< BodyPart * > *""'");
86393  }
86394  arg1 = reinterpret_cast< CStdArray< BodyPart * > * >(argp1);
86395  ecode2 = SWIG_AsVal_long(obj1, &val2);
86396  if (!SWIG_IsOK(ecode2)) {
86397  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_BodyPart_SetSize" "', argument " "2"" of type '" "long""'");
86398  }
86399  arg2 = static_cast< long >(val2);
86400  (arg1)->SetSize(arg2);
86401  resultobj = SWIG_Py_Void();
86402  return resultobj;
86403 fail:
86404  return NULL;
86405 }
86406 
86407 
86408 SWIGINTERN PyObject *_wrap_CStdArray_BodyPart_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86409  PyObject *resultobj = 0;
86410  CStdArray< BodyPart * > *arg1 = (CStdArray< BodyPart * > *) 0 ;
86411  int arg2 ;
86412  BodyPart *arg3 = (BodyPart *) 0 ;
86413  void *argp1 = 0 ;
86414  int res1 = 0 ;
86415  int val2 ;
86416  int ecode2 = 0 ;
86417  void *argp3 = 0 ;
86418  int res3 = 0 ;
86419  PyObject * obj0 = 0 ;
86420  PyObject * obj1 = 0 ;
86421  PyObject * obj2 = 0 ;
86422 
86423  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdArray_BodyPart_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
86424  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_BodyPart_p_t, 0 | 0 );
86425  if (!SWIG_IsOK(res1)) {
86426  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_BodyPart_InsertAt" "', argument " "1"" of type '" "CStdArray< BodyPart * > *""'");
86427  }
86428  arg1 = reinterpret_cast< CStdArray< BodyPart * > * >(argp1);
86429  ecode2 = SWIG_AsVal_int(obj1, &val2);
86430  if (!SWIG_IsOK(ecode2)) {
86431  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_BodyPart_InsertAt" "', argument " "2"" of type '" "int""'");
86432  }
86433  arg2 = static_cast< int >(val2);
86434  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_BodyPart, 0 | 0 );
86435  if (!SWIG_IsOK(res3)) {
86436  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdArray_BodyPart_InsertAt" "', argument " "3"" of type '" "BodyPart *""'");
86437  }
86438  arg3 = reinterpret_cast< BodyPart * >(argp3);
86439  (arg1)->InsertAt(arg2,arg3);
86440  resultobj = SWIG_Py_Void();
86441  return resultobj;
86442 fail:
86443  return NULL;
86444 }
86445 
86446 
86447 SWIGINTERN PyObject *_wrap_CStdArray_BodyPart_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86448  PyObject *resultobj = 0;
86449  CStdArray< BodyPart * > *arg1 = (CStdArray< BodyPart * > *) 0 ;
86450  void *argp1 = 0 ;
86451  int res1 = 0 ;
86452  PyObject * obj0 = 0 ;
86453  int result;
86454 
86455  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_BodyPart_GetSize",&obj0)) SWIG_fail;
86456  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_BodyPart_p_t, 0 | 0 );
86457  if (!SWIG_IsOK(res1)) {
86458  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_BodyPart_GetSize" "', argument " "1"" of type '" "CStdArray< BodyPart * > *""'");
86459  }
86460  arg1 = reinterpret_cast< CStdArray< BodyPart * > * >(argp1);
86461  result = (int)(arg1)->GetSize();
86462  resultobj = SWIG_From_int(static_cast< int >(result));
86463  return resultobj;
86464 fail:
86465  return NULL;
86466 }
86467 
86468 
86469 SWIGINTERN PyObject *_wrap_CStdArray_BodyPart_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86470  PyObject *resultobj = 0;
86471  CStdArray< BodyPart * > *arg1 = (CStdArray< BodyPart * > *) 0 ;
86472  void *argp1 = 0 ;
86473  int res1 = 0 ;
86474  PyObject * obj0 = 0 ;
86475 
86476  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_BodyPart_Clear",&obj0)) SWIG_fail;
86477  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_BodyPart_p_t, 0 | 0 );
86478  if (!SWIG_IsOK(res1)) {
86479  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_BodyPart_Clear" "', argument " "1"" of type '" "CStdArray< BodyPart * > *""'");
86480  }
86481  arg1 = reinterpret_cast< CStdArray< BodyPart * > * >(argp1);
86482  (arg1)->Clear();
86483  resultobj = SWIG_Py_Void();
86484  return resultobj;
86485 fail:
86486  return NULL;
86487 }
86488 
86489 
86490 SWIGINTERN PyObject *_wrap_new_CStdArray_BodyPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86491  PyObject *resultobj = 0;
86492  CStdArray< BodyPart * > *result = 0 ;
86493 
86494  if (!PyArg_ParseTuple(args,(char *)":new_CStdArray_BodyPart")) SWIG_fail;
86495  {
86496  try {
86497  result = (CStdArray< BodyPart * > *)new CStdArray< BodyPart * >();
86498  }
86499  catch(CStdErrorInfo oError)
86500  {
86501  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
86502  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
86503  PyErr_SetString(PyExc_IndexError, strError.c_str());
86504  SWIG_fail;
86505  }
86506  catch(...)
86507  {
86508  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
86509  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
86510  SWIG_fail;
86511  }
86512  }
86513  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdArrayT_BodyPart_p_t, SWIG_POINTER_NEW | 0 );
86514  return resultobj;
86515 fail:
86516  return NULL;
86517 }
86518 
86519 
86520 SWIGINTERN PyObject *CStdArray_BodyPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86521  PyObject *obj;
86522  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
86523  SWIG_TypeNewClientData(SWIGTYPE_p_CStdArrayT_BodyPart_p_t, SWIG_NewClientData(obj));
86524  return SWIG_Py_Void();
86525 }
86526 
86527 SWIGINTERN PyObject *_wrap_delete_CStdArray_RobotPartInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86528  PyObject *resultobj = 0;
86529  CStdArray< RobotPartInterface * > *arg1 = (CStdArray< RobotPartInterface * > *) 0 ;
86530  void *argp1 = 0 ;
86531  int res1 = 0 ;
86532  PyObject * obj0 = 0 ;
86533 
86534  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdArray_RobotPartInterface",&obj0)) SWIG_fail;
86535  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RobotPartInterface_p_t, SWIG_POINTER_DISOWN | 0 );
86536  if (!SWIG_IsOK(res1)) {
86537  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdArray_RobotPartInterface" "', argument " "1"" of type '" "CStdArray< RobotPartInterface * > *""'");
86538  }
86539  arg1 = reinterpret_cast< CStdArray< RobotPartInterface * > * >(argp1);
86540  delete arg1;
86541  resultobj = SWIG_Py_Void();
86542  return resultobj;
86543 fail:
86544  return NULL;
86545 }
86546 
86547 
86548 SWIGINTERN PyObject *_wrap_CStdArray_RobotPartInterface_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86549  PyObject *resultobj = 0;
86550  CStdArray< RobotPartInterface * > *arg1 = (CStdArray< RobotPartInterface * > *) 0 ;
86551  RobotPartInterface *arg2 = (RobotPartInterface *) 0 ;
86552  void *argp1 = 0 ;
86553  int res1 = 0 ;
86554  void *argp2 = 0 ;
86555  int res2 = 0 ;
86556  PyObject * obj0 = 0 ;
86557  PyObject * obj1 = 0 ;
86558 
86559  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_RobotPartInterface_Add",&obj0,&obj1)) SWIG_fail;
86560  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RobotPartInterface_p_t, 0 | 0 );
86561  if (!SWIG_IsOK(res1)) {
86562  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RobotPartInterface_Add" "', argument " "1"" of type '" "CStdArray< RobotPartInterface * > *""'");
86563  }
86564  arg1 = reinterpret_cast< CStdArray< RobotPartInterface * > * >(argp1);
86565  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RobotPartInterface, 0 | 0 );
86566  if (!SWIG_IsOK(res2)) {
86567  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdArray_RobotPartInterface_Add" "', argument " "2"" of type '" "RobotPartInterface *""'");
86568  }
86569  arg2 = reinterpret_cast< RobotPartInterface * >(argp2);
86570  (arg1)->Add(arg2);
86571  resultobj = SWIG_Py_Void();
86572  return resultobj;
86573 fail:
86574  return NULL;
86575 }
86576 
86577 
86578 SWIGINTERN PyObject *_wrap_CStdArray_RobotPartInterface_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86579  PyObject *resultobj = 0;
86580  CStdArray< RobotPartInterface * > *arg1 = (CStdArray< RobotPartInterface * > *) 0 ;
86581  void *argp1 = 0 ;
86582  int res1 = 0 ;
86583  PyObject * obj0 = 0 ;
86584 
86585  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_RobotPartInterface_RemoveAll",&obj0)) SWIG_fail;
86586  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RobotPartInterface_p_t, 0 | 0 );
86587  if (!SWIG_IsOK(res1)) {
86588  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RobotPartInterface_RemoveAll" "', argument " "1"" of type '" "CStdArray< RobotPartInterface * > *""'");
86589  }
86590  arg1 = reinterpret_cast< CStdArray< RobotPartInterface * > * >(argp1);
86591  (arg1)->RemoveAll();
86592  resultobj = SWIG_Py_Void();
86593  return resultobj;
86594 fail:
86595  return NULL;
86596 }
86597 
86598 
86599 SWIGINTERN PyObject *_wrap_CStdArray_RobotPartInterface_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86600  PyObject *resultobj = 0;
86601  CStdArray< RobotPartInterface * > *arg1 = (CStdArray< RobotPartInterface * > *) 0 ;
86602  int arg2 ;
86603  void *argp1 = 0 ;
86604  int res1 = 0 ;
86605  int val2 ;
86606  int ecode2 = 0 ;
86607  PyObject * obj0 = 0 ;
86608  PyObject * obj1 = 0 ;
86609 
86610  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_RobotPartInterface_RemoveAt",&obj0,&obj1)) SWIG_fail;
86611  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RobotPartInterface_p_t, 0 | 0 );
86612  if (!SWIG_IsOK(res1)) {
86613  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RobotPartInterface_RemoveAt" "', argument " "1"" of type '" "CStdArray< RobotPartInterface * > *""'");
86614  }
86615  arg1 = reinterpret_cast< CStdArray< RobotPartInterface * > * >(argp1);
86616  ecode2 = SWIG_AsVal_int(obj1, &val2);
86617  if (!SWIG_IsOK(ecode2)) {
86618  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_RobotPartInterface_RemoveAt" "', argument " "2"" of type '" "int""'");
86619  }
86620  arg2 = static_cast< int >(val2);
86621  (arg1)->RemoveAt(arg2);
86622  resultobj = SWIG_Py_Void();
86623  return resultobj;
86624 fail:
86625  return NULL;
86626 }
86627 
86628 
86629 SWIGINTERN PyObject *_wrap_CStdArray_RobotPartInterface_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86630  PyObject *resultobj = 0;
86631  CStdArray< RobotPartInterface * > *arg1 = (CStdArray< RobotPartInterface * > *) 0 ;
86632  std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator arg2 ;
86633  void *argp1 = 0 ;
86634  int res1 = 0 ;
86635  swig::SwigPyIterator *iter2 = 0 ;
86636  int res2 ;
86637  PyObject * obj0 = 0 ;
86638  PyObject * obj1 = 0 ;
86639 
86640  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_RobotPartInterface_RemoveAt",&obj0,&obj1)) SWIG_fail;
86641  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RobotPartInterface_p_t, 0 | 0 );
86642  if (!SWIG_IsOK(res1)) {
86643  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RobotPartInterface_RemoveAt" "', argument " "1"" of type '" "CStdArray< RobotPartInterface * > *""'");
86644  }
86645  arg1 = reinterpret_cast< CStdArray< RobotPartInterface * > * >(argp1);
86646  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
86647  if (!SWIG_IsOK(res2) || !iter2) {
86648  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_RobotPartInterface_RemoveAt" "', argument " "2"" of type '" "std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator""'");
86649  } else {
86651  if (iter_t) {
86652  arg2 = iter_t->get_current();
86653  } else {
86654  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_RobotPartInterface_RemoveAt" "', argument " "2"" of type '" "std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator""'");
86655  }
86656  }
86657  (arg1)->RemoveAt(arg2);
86658  resultobj = SWIG_Py_Void();
86659  return resultobj;
86660 fail:
86661  return NULL;
86662 }
86663 
86664 
86665 SWIGINTERN PyObject *_wrap_CStdArray_RobotPartInterface_RemoveAt(PyObject *self, PyObject *args) {
86666  int argc;
86667  PyObject *argv[3];
86668  int ii;
86669 
86670  if (!PyTuple_Check(args)) SWIG_fail;
86671  argc = args ? (int)PyObject_Length(args) : 0;
86672  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
86673  argv[ii] = PyTuple_GET_ITEM(args,ii);
86674  }
86675  if (argc == 2) {
86676  int _v;
86677  void *vptr = 0;
86678  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_RobotPartInterface_p_t, 0);
86679  _v = SWIG_CheckState(res);
86680  if (_v) {
86681  swig::SwigPyIterator *iter = 0;
86682  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
86683  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator > *>(iter) != 0));
86684  if (_v) {
86685  return _wrap_CStdArray_RobotPartInterface_RemoveAt__SWIG_1(self, args);
86686  }
86687  }
86688  }
86689  if (argc == 2) {
86690  int _v;
86691  void *vptr = 0;
86692  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_RobotPartInterface_p_t, 0);
86693  _v = SWIG_CheckState(res);
86694  if (_v) {
86695  {
86696  int res = SWIG_AsVal_int(argv[1], NULL);
86697  _v = SWIG_CheckState(res);
86698  }
86699  if (_v) {
86700  return _wrap_CStdArray_RobotPartInterface_RemoveAt__SWIG_0(self, args);
86701  }
86702  }
86703  }
86704 
86705 fail:
86706  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdArray_RobotPartInterface_RemoveAt'.\n"
86707  " Possible C/C++ prototypes are:\n"
86708  " CStdArray< RobotPartInterface * >::RemoveAt(int)\n"
86709  " CStdArray< RobotPartInterface * >::RemoveAt(std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator)\n");
86710  return 0;
86711 }
86712 
86713 
86714 SWIGINTERN PyObject *_wrap_CStdArray_RobotPartInterface_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86715  PyObject *resultobj = 0;
86716  CStdArray< RobotPartInterface * > *arg1 = (CStdArray< RobotPartInterface * > *) 0 ;
86717  long arg2 ;
86718  void *argp1 = 0 ;
86719  int res1 = 0 ;
86720  long val2 ;
86721  int ecode2 = 0 ;
86722  PyObject * obj0 = 0 ;
86723  PyObject * obj1 = 0 ;
86724 
86725  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_RobotPartInterface_SetSize",&obj0,&obj1)) SWIG_fail;
86726  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RobotPartInterface_p_t, 0 | 0 );
86727  if (!SWIG_IsOK(res1)) {
86728  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RobotPartInterface_SetSize" "', argument " "1"" of type '" "CStdArray< RobotPartInterface * > *""'");
86729  }
86730  arg1 = reinterpret_cast< CStdArray< RobotPartInterface * > * >(argp1);
86731  ecode2 = SWIG_AsVal_long(obj1, &val2);
86732  if (!SWIG_IsOK(ecode2)) {
86733  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_RobotPartInterface_SetSize" "', argument " "2"" of type '" "long""'");
86734  }
86735  arg2 = static_cast< long >(val2);
86736  (arg1)->SetSize(arg2);
86737  resultobj = SWIG_Py_Void();
86738  return resultobj;
86739 fail:
86740  return NULL;
86741 }
86742 
86743 
86744 SWIGINTERN PyObject *_wrap_CStdArray_RobotPartInterface_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86745  PyObject *resultobj = 0;
86746  CStdArray< RobotPartInterface * > *arg1 = (CStdArray< RobotPartInterface * > *) 0 ;
86747  int arg2 ;
86748  RobotPartInterface *arg3 = (RobotPartInterface *) 0 ;
86749  void *argp1 = 0 ;
86750  int res1 = 0 ;
86751  int val2 ;
86752  int ecode2 = 0 ;
86753  void *argp3 = 0 ;
86754  int res3 = 0 ;
86755  PyObject * obj0 = 0 ;
86756  PyObject * obj1 = 0 ;
86757  PyObject * obj2 = 0 ;
86758 
86759  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdArray_RobotPartInterface_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
86760  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RobotPartInterface_p_t, 0 | 0 );
86761  if (!SWIG_IsOK(res1)) {
86762  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RobotPartInterface_InsertAt" "', argument " "1"" of type '" "CStdArray< RobotPartInterface * > *""'");
86763  }
86764  arg1 = reinterpret_cast< CStdArray< RobotPartInterface * > * >(argp1);
86765  ecode2 = SWIG_AsVal_int(obj1, &val2);
86766  if (!SWIG_IsOK(ecode2)) {
86767  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_RobotPartInterface_InsertAt" "', argument " "2"" of type '" "int""'");
86768  }
86769  arg2 = static_cast< int >(val2);
86770  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RobotPartInterface, 0 | 0 );
86771  if (!SWIG_IsOK(res3)) {
86772  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdArray_RobotPartInterface_InsertAt" "', argument " "3"" of type '" "RobotPartInterface *""'");
86773  }
86774  arg3 = reinterpret_cast< RobotPartInterface * >(argp3);
86775  (arg1)->InsertAt(arg2,arg3);
86776  resultobj = SWIG_Py_Void();
86777  return resultobj;
86778 fail:
86779  return NULL;
86780 }
86781 
86782 
86783 SWIGINTERN PyObject *_wrap_CStdArray_RobotPartInterface_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86784  PyObject *resultobj = 0;
86785  CStdArray< RobotPartInterface * > *arg1 = (CStdArray< RobotPartInterface * > *) 0 ;
86786  void *argp1 = 0 ;
86787  int res1 = 0 ;
86788  PyObject * obj0 = 0 ;
86789  int result;
86790 
86791  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_RobotPartInterface_GetSize",&obj0)) SWIG_fail;
86792  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RobotPartInterface_p_t, 0 | 0 );
86793  if (!SWIG_IsOK(res1)) {
86794  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RobotPartInterface_GetSize" "', argument " "1"" of type '" "CStdArray< RobotPartInterface * > *""'");
86795  }
86796  arg1 = reinterpret_cast< CStdArray< RobotPartInterface * > * >(argp1);
86797  result = (int)(arg1)->GetSize();
86798  resultobj = SWIG_From_int(static_cast< int >(result));
86799  return resultobj;
86800 fail:
86801  return NULL;
86802 }
86803 
86804 
86805 SWIGINTERN PyObject *_wrap_CStdArray_RobotPartInterface_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86806  PyObject *resultobj = 0;
86807  CStdArray< RobotPartInterface * > *arg1 = (CStdArray< RobotPartInterface * > *) 0 ;
86808  void *argp1 = 0 ;
86809  int res1 = 0 ;
86810  PyObject * obj0 = 0 ;
86811 
86812  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_RobotPartInterface_Clear",&obj0)) SWIG_fail;
86813  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_RobotPartInterface_p_t, 0 | 0 );
86814  if (!SWIG_IsOK(res1)) {
86815  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_RobotPartInterface_Clear" "', argument " "1"" of type '" "CStdArray< RobotPartInterface * > *""'");
86816  }
86817  arg1 = reinterpret_cast< CStdArray< RobotPartInterface * > * >(argp1);
86818  (arg1)->Clear();
86819  resultobj = SWIG_Py_Void();
86820  return resultobj;
86821 fail:
86822  return NULL;
86823 }
86824 
86825 
86826 SWIGINTERN PyObject *_wrap_new_CStdArray_RobotPartInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86827  PyObject *resultobj = 0;
86828  CStdArray< RobotPartInterface * > *result = 0 ;
86829 
86830  if (!PyArg_ParseTuple(args,(char *)":new_CStdArray_RobotPartInterface")) SWIG_fail;
86831  {
86832  try {
86833  result = (CStdArray< RobotPartInterface * > *)new CStdArray< RobotPartInterface * >();
86834  }
86835  catch(CStdErrorInfo oError)
86836  {
86837  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
86838  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
86839  PyErr_SetString(PyExc_IndexError, strError.c_str());
86840  SWIG_fail;
86841  }
86842  catch(...)
86843  {
86844  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
86845  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
86846  SWIG_fail;
86847  }
86848  }
86849  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdArrayT_RobotPartInterface_p_t, SWIG_POINTER_NEW | 0 );
86850  return resultobj;
86851 fail:
86852  return NULL;
86853 }
86854 
86855 
86856 SWIGINTERN PyObject *CStdArray_RobotPartInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86857  PyObject *obj;
86858  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
86859  SWIG_TypeNewClientData(SWIGTYPE_p_CStdArrayT_RobotPartInterface_p_t, SWIG_NewClientData(obj));
86860  return SWIG_Py_Void();
86861 }
86862 
86863 SWIGINTERN PyObject *_wrap_delete_CStdArray_Attachment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86864  PyObject *resultobj = 0;
86865  CStdArray< Attachment * > *arg1 = (CStdArray< Attachment * > *) 0 ;
86866  void *argp1 = 0 ;
86867  int res1 = 0 ;
86868  PyObject * obj0 = 0 ;
86869 
86870  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdArray_Attachment",&obj0)) SWIG_fail;
86871  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Attachment_p_t, SWIG_POINTER_DISOWN | 0 );
86872  if (!SWIG_IsOK(res1)) {
86873  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdArray_Attachment" "', argument " "1"" of type '" "CStdArray< Attachment * > *""'");
86874  }
86875  arg1 = reinterpret_cast< CStdArray< Attachment * > * >(argp1);
86876  delete arg1;
86877  resultobj = SWIG_Py_Void();
86878  return resultobj;
86879 fail:
86880  return NULL;
86881 }
86882 
86883 
86884 SWIGINTERN PyObject *_wrap_CStdArray_Attachment_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86885  PyObject *resultobj = 0;
86886  CStdArray< Attachment * > *arg1 = (CStdArray< Attachment * > *) 0 ;
86887  Attachment *arg2 = (Attachment *) 0 ;
86888  void *argp1 = 0 ;
86889  int res1 = 0 ;
86890  void *argp2 = 0 ;
86891  int res2 = 0 ;
86892  PyObject * obj0 = 0 ;
86893  PyObject * obj1 = 0 ;
86894 
86895  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_Attachment_Add",&obj0,&obj1)) SWIG_fail;
86896  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Attachment_p_t, 0 | 0 );
86897  if (!SWIG_IsOK(res1)) {
86898  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Attachment_Add" "', argument " "1"" of type '" "CStdArray< Attachment * > *""'");
86899  }
86900  arg1 = reinterpret_cast< CStdArray< Attachment * > * >(argp1);
86901  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Attachment, 0 | 0 );
86902  if (!SWIG_IsOK(res2)) {
86903  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdArray_Attachment_Add" "', argument " "2"" of type '" "Attachment *""'");
86904  }
86905  arg2 = reinterpret_cast< Attachment * >(argp2);
86906  (arg1)->Add(arg2);
86907  resultobj = SWIG_Py_Void();
86908  return resultobj;
86909 fail:
86910  return NULL;
86911 }
86912 
86913 
86914 SWIGINTERN PyObject *_wrap_CStdArray_Attachment_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86915  PyObject *resultobj = 0;
86916  CStdArray< Attachment * > *arg1 = (CStdArray< Attachment * > *) 0 ;
86917  void *argp1 = 0 ;
86918  int res1 = 0 ;
86919  PyObject * obj0 = 0 ;
86920 
86921  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_Attachment_RemoveAll",&obj0)) SWIG_fail;
86922  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Attachment_p_t, 0 | 0 );
86923  if (!SWIG_IsOK(res1)) {
86924  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Attachment_RemoveAll" "', argument " "1"" of type '" "CStdArray< Attachment * > *""'");
86925  }
86926  arg1 = reinterpret_cast< CStdArray< Attachment * > * >(argp1);
86927  (arg1)->RemoveAll();
86928  resultobj = SWIG_Py_Void();
86929  return resultobj;
86930 fail:
86931  return NULL;
86932 }
86933 
86934 
86935 SWIGINTERN PyObject *_wrap_CStdArray_Attachment_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86936  PyObject *resultobj = 0;
86937  CStdArray< Attachment * > *arg1 = (CStdArray< Attachment * > *) 0 ;
86938  int arg2 ;
86939  void *argp1 = 0 ;
86940  int res1 = 0 ;
86941  int val2 ;
86942  int ecode2 = 0 ;
86943  PyObject * obj0 = 0 ;
86944  PyObject * obj1 = 0 ;
86945 
86946  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_Attachment_RemoveAt",&obj0,&obj1)) SWIG_fail;
86947  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Attachment_p_t, 0 | 0 );
86948  if (!SWIG_IsOK(res1)) {
86949  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Attachment_RemoveAt" "', argument " "1"" of type '" "CStdArray< Attachment * > *""'");
86950  }
86951  arg1 = reinterpret_cast< CStdArray< Attachment * > * >(argp1);
86952  ecode2 = SWIG_AsVal_int(obj1, &val2);
86953  if (!SWIG_IsOK(ecode2)) {
86954  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_Attachment_RemoveAt" "', argument " "2"" of type '" "int""'");
86955  }
86956  arg2 = static_cast< int >(val2);
86957  (arg1)->RemoveAt(arg2);
86958  resultobj = SWIG_Py_Void();
86959  return resultobj;
86960 fail:
86961  return NULL;
86962 }
86963 
86964 
86965 SWIGINTERN PyObject *_wrap_CStdArray_Attachment_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
86966  PyObject *resultobj = 0;
86967  CStdArray< Attachment * > *arg1 = (CStdArray< Attachment * > *) 0 ;
86968  std::vector< Attachment *,std::allocator< Attachment * > >::iterator arg2 ;
86969  void *argp1 = 0 ;
86970  int res1 = 0 ;
86971  swig::SwigPyIterator *iter2 = 0 ;
86972  int res2 ;
86973  PyObject * obj0 = 0 ;
86974  PyObject * obj1 = 0 ;
86975 
86976  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_Attachment_RemoveAt",&obj0,&obj1)) SWIG_fail;
86977  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Attachment_p_t, 0 | 0 );
86978  if (!SWIG_IsOK(res1)) {
86979  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Attachment_RemoveAt" "', argument " "1"" of type '" "CStdArray< Attachment * > *""'");
86980  }
86981  arg1 = reinterpret_cast< CStdArray< Attachment * > * >(argp1);
86982  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
86983  if (!SWIG_IsOK(res2) || !iter2) {
86984  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_Attachment_RemoveAt" "', argument " "2"" of type '" "std::vector< Attachment *,std::allocator< Attachment * > >::iterator""'");
86985  } else {
86987  if (iter_t) {
86988  arg2 = iter_t->get_current();
86989  } else {
86990  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_Attachment_RemoveAt" "', argument " "2"" of type '" "std::vector< Attachment *,std::allocator< Attachment * > >::iterator""'");
86991  }
86992  }
86993  (arg1)->RemoveAt(arg2);
86994  resultobj = SWIG_Py_Void();
86995  return resultobj;
86996 fail:
86997  return NULL;
86998 }
86999 
87000 
87001 SWIGINTERN PyObject *_wrap_CStdArray_Attachment_RemoveAt(PyObject *self, PyObject *args) {
87002  int argc;
87003  PyObject *argv[3];
87004  int ii;
87005 
87006  if (!PyTuple_Check(args)) SWIG_fail;
87007  argc = args ? (int)PyObject_Length(args) : 0;
87008  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
87009  argv[ii] = PyTuple_GET_ITEM(args,ii);
87010  }
87011  if (argc == 2) {
87012  int _v;
87013  void *vptr = 0;
87014  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_Attachment_p_t, 0);
87015  _v = SWIG_CheckState(res);
87016  if (_v) {
87017  swig::SwigPyIterator *iter = 0;
87018  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
87019  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Attachment *,std::allocator< Attachment * > >::iterator > *>(iter) != 0));
87020  if (_v) {
87021  return _wrap_CStdArray_Attachment_RemoveAt__SWIG_1(self, args);
87022  }
87023  }
87024  }
87025  if (argc == 2) {
87026  int _v;
87027  void *vptr = 0;
87028  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_Attachment_p_t, 0);
87029  _v = SWIG_CheckState(res);
87030  if (_v) {
87031  {
87032  int res = SWIG_AsVal_int(argv[1], NULL);
87033  _v = SWIG_CheckState(res);
87034  }
87035  if (_v) {
87036  return _wrap_CStdArray_Attachment_RemoveAt__SWIG_0(self, args);
87037  }
87038  }
87039  }
87040 
87041 fail:
87042  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdArray_Attachment_RemoveAt'.\n"
87043  " Possible C/C++ prototypes are:\n"
87044  " CStdArray< Attachment * >::RemoveAt(int)\n"
87045  " CStdArray< Attachment * >::RemoveAt(std::vector< Attachment *,std::allocator< Attachment * > >::iterator)\n");
87046  return 0;
87047 }
87048 
87049 
87050 SWIGINTERN PyObject *_wrap_CStdArray_Attachment_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87051  PyObject *resultobj = 0;
87052  CStdArray< Attachment * > *arg1 = (CStdArray< Attachment * > *) 0 ;
87053  long arg2 ;
87054  void *argp1 = 0 ;
87055  int res1 = 0 ;
87056  long val2 ;
87057  int ecode2 = 0 ;
87058  PyObject * obj0 = 0 ;
87059  PyObject * obj1 = 0 ;
87060 
87061  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_Attachment_SetSize",&obj0,&obj1)) SWIG_fail;
87062  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Attachment_p_t, 0 | 0 );
87063  if (!SWIG_IsOK(res1)) {
87064  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Attachment_SetSize" "', argument " "1"" of type '" "CStdArray< Attachment * > *""'");
87065  }
87066  arg1 = reinterpret_cast< CStdArray< Attachment * > * >(argp1);
87067  ecode2 = SWIG_AsVal_long(obj1, &val2);
87068  if (!SWIG_IsOK(ecode2)) {
87069  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_Attachment_SetSize" "', argument " "2"" of type '" "long""'");
87070  }
87071  arg2 = static_cast< long >(val2);
87072  (arg1)->SetSize(arg2);
87073  resultobj = SWIG_Py_Void();
87074  return resultobj;
87075 fail:
87076  return NULL;
87077 }
87078 
87079 
87080 SWIGINTERN PyObject *_wrap_CStdArray_Attachment_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87081  PyObject *resultobj = 0;
87082  CStdArray< Attachment * > *arg1 = (CStdArray< Attachment * > *) 0 ;
87083  int arg2 ;
87084  Attachment *arg3 = (Attachment *) 0 ;
87085  void *argp1 = 0 ;
87086  int res1 = 0 ;
87087  int val2 ;
87088  int ecode2 = 0 ;
87089  void *argp3 = 0 ;
87090  int res3 = 0 ;
87091  PyObject * obj0 = 0 ;
87092  PyObject * obj1 = 0 ;
87093  PyObject * obj2 = 0 ;
87094 
87095  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdArray_Attachment_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
87096  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Attachment_p_t, 0 | 0 );
87097  if (!SWIG_IsOK(res1)) {
87098  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Attachment_InsertAt" "', argument " "1"" of type '" "CStdArray< Attachment * > *""'");
87099  }
87100  arg1 = reinterpret_cast< CStdArray< Attachment * > * >(argp1);
87101  ecode2 = SWIG_AsVal_int(obj1, &val2);
87102  if (!SWIG_IsOK(ecode2)) {
87103  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_Attachment_InsertAt" "', argument " "2"" of type '" "int""'");
87104  }
87105  arg2 = static_cast< int >(val2);
87106  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Attachment, 0 | 0 );
87107  if (!SWIG_IsOK(res3)) {
87108  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdArray_Attachment_InsertAt" "', argument " "3"" of type '" "Attachment *""'");
87109  }
87110  arg3 = reinterpret_cast< Attachment * >(argp3);
87111  (arg1)->InsertAt(arg2,arg3);
87112  resultobj = SWIG_Py_Void();
87113  return resultobj;
87114 fail:
87115  return NULL;
87116 }
87117 
87118 
87119 SWIGINTERN PyObject *_wrap_CStdArray_Attachment_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87120  PyObject *resultobj = 0;
87121  CStdArray< Attachment * > *arg1 = (CStdArray< Attachment * > *) 0 ;
87122  void *argp1 = 0 ;
87123  int res1 = 0 ;
87124  PyObject * obj0 = 0 ;
87125  int result;
87126 
87127  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_Attachment_GetSize",&obj0)) SWIG_fail;
87128  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Attachment_p_t, 0 | 0 );
87129  if (!SWIG_IsOK(res1)) {
87130  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Attachment_GetSize" "', argument " "1"" of type '" "CStdArray< Attachment * > *""'");
87131  }
87132  arg1 = reinterpret_cast< CStdArray< Attachment * > * >(argp1);
87133  result = (int)(arg1)->GetSize();
87134  resultobj = SWIG_From_int(static_cast< int >(result));
87135  return resultobj;
87136 fail:
87137  return NULL;
87138 }
87139 
87140 
87141 SWIGINTERN PyObject *_wrap_CStdArray_Attachment_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87142  PyObject *resultobj = 0;
87143  CStdArray< Attachment * > *arg1 = (CStdArray< Attachment * > *) 0 ;
87144  void *argp1 = 0 ;
87145  int res1 = 0 ;
87146  PyObject * obj0 = 0 ;
87147 
87148  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_Attachment_Clear",&obj0)) SWIG_fail;
87149  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Attachment_p_t, 0 | 0 );
87150  if (!SWIG_IsOK(res1)) {
87151  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Attachment_Clear" "', argument " "1"" of type '" "CStdArray< Attachment * > *""'");
87152  }
87153  arg1 = reinterpret_cast< CStdArray< Attachment * > * >(argp1);
87154  (arg1)->Clear();
87155  resultobj = SWIG_Py_Void();
87156  return resultobj;
87157 fail:
87158  return NULL;
87159 }
87160 
87161 
87162 SWIGINTERN PyObject *_wrap_new_CStdArray_Attachment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87163  PyObject *resultobj = 0;
87164  CStdArray< Attachment * > *result = 0 ;
87165 
87166  if (!PyArg_ParseTuple(args,(char *)":new_CStdArray_Attachment")) SWIG_fail;
87167  {
87168  try {
87169  result = (CStdArray< Attachment * > *)new CStdArray< Attachment * >();
87170  }
87171  catch(CStdErrorInfo oError)
87172  {
87173  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
87174  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
87175  PyErr_SetString(PyExc_IndexError, strError.c_str());
87176  SWIG_fail;
87177  }
87178  catch(...)
87179  {
87180  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
87181  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
87182  SWIG_fail;
87183  }
87184  }
87185  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdArrayT_Attachment_p_t, SWIG_POINTER_NEW | 0 );
87186  return resultobj;
87187 fail:
87188  return NULL;
87189 }
87190 
87191 
87192 SWIGINTERN PyObject *CStdArray_Attachment_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87193  PyObject *obj;
87194  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
87195  SWIG_TypeNewClientData(SWIGTYPE_p_CStdArrayT_Attachment_p_t, SWIG_NewClientData(obj));
87196  return SWIG_Py_Void();
87197 }
87198 
87199 SWIGINTERN PyObject *_wrap_delete_CStdArray_Adapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87200  PyObject *resultobj = 0;
87201  CStdArray< Adapter * > *arg1 = (CStdArray< Adapter * > *) 0 ;
87202  void *argp1 = 0 ;
87203  int res1 = 0 ;
87204  PyObject * obj0 = 0 ;
87205 
87206  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdArray_Adapter",&obj0)) SWIG_fail;
87207  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Adapter_p_t, SWIG_POINTER_DISOWN | 0 );
87208  if (!SWIG_IsOK(res1)) {
87209  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdArray_Adapter" "', argument " "1"" of type '" "CStdArray< Adapter * > *""'");
87210  }
87211  arg1 = reinterpret_cast< CStdArray< Adapter * > * >(argp1);
87212  delete arg1;
87213  resultobj = SWIG_Py_Void();
87214  return resultobj;
87215 fail:
87216  return NULL;
87217 }
87218 
87219 
87220 SWIGINTERN PyObject *_wrap_CStdArray_Adapter_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87221  PyObject *resultobj = 0;
87222  CStdArray< Adapter * > *arg1 = (CStdArray< Adapter * > *) 0 ;
87223  Adapter *arg2 = (Adapter *) 0 ;
87224  void *argp1 = 0 ;
87225  int res1 = 0 ;
87226  void *argp2 = 0 ;
87227  int res2 = 0 ;
87228  PyObject * obj0 = 0 ;
87229  PyObject * obj1 = 0 ;
87230 
87231  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_Adapter_Add",&obj0,&obj1)) SWIG_fail;
87232  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Adapter_p_t, 0 | 0 );
87233  if (!SWIG_IsOK(res1)) {
87234  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Adapter_Add" "', argument " "1"" of type '" "CStdArray< Adapter * > *""'");
87235  }
87236  arg1 = reinterpret_cast< CStdArray< Adapter * > * >(argp1);
87237  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Adapter, 0 | 0 );
87238  if (!SWIG_IsOK(res2)) {
87239  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdArray_Adapter_Add" "', argument " "2"" of type '" "Adapter *""'");
87240  }
87241  arg2 = reinterpret_cast< Adapter * >(argp2);
87242  (arg1)->Add(arg2);
87243  resultobj = SWIG_Py_Void();
87244  return resultobj;
87245 fail:
87246  return NULL;
87247 }
87248 
87249 
87250 SWIGINTERN PyObject *_wrap_CStdArray_Adapter_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87251  PyObject *resultobj = 0;
87252  CStdArray< Adapter * > *arg1 = (CStdArray< Adapter * > *) 0 ;
87253  void *argp1 = 0 ;
87254  int res1 = 0 ;
87255  PyObject * obj0 = 0 ;
87256 
87257  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_Adapter_RemoveAll",&obj0)) SWIG_fail;
87258  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Adapter_p_t, 0 | 0 );
87259  if (!SWIG_IsOK(res1)) {
87260  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Adapter_RemoveAll" "', argument " "1"" of type '" "CStdArray< Adapter * > *""'");
87261  }
87262  arg1 = reinterpret_cast< CStdArray< Adapter * > * >(argp1);
87263  (arg1)->RemoveAll();
87264  resultobj = SWIG_Py_Void();
87265  return resultobj;
87266 fail:
87267  return NULL;
87268 }
87269 
87270 
87271 SWIGINTERN PyObject *_wrap_CStdArray_Adapter_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87272  PyObject *resultobj = 0;
87273  CStdArray< Adapter * > *arg1 = (CStdArray< Adapter * > *) 0 ;
87274  int arg2 ;
87275  void *argp1 = 0 ;
87276  int res1 = 0 ;
87277  int val2 ;
87278  int ecode2 = 0 ;
87279  PyObject * obj0 = 0 ;
87280  PyObject * obj1 = 0 ;
87281 
87282  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_Adapter_RemoveAt",&obj0,&obj1)) SWIG_fail;
87283  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Adapter_p_t, 0 | 0 );
87284  if (!SWIG_IsOK(res1)) {
87285  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Adapter_RemoveAt" "', argument " "1"" of type '" "CStdArray< Adapter * > *""'");
87286  }
87287  arg1 = reinterpret_cast< CStdArray< Adapter * > * >(argp1);
87288  ecode2 = SWIG_AsVal_int(obj1, &val2);
87289  if (!SWIG_IsOK(ecode2)) {
87290  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_Adapter_RemoveAt" "', argument " "2"" of type '" "int""'");
87291  }
87292  arg2 = static_cast< int >(val2);
87293  (arg1)->RemoveAt(arg2);
87294  resultobj = SWIG_Py_Void();
87295  return resultobj;
87296 fail:
87297  return NULL;
87298 }
87299 
87300 
87301 SWIGINTERN PyObject *_wrap_CStdArray_Adapter_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87302  PyObject *resultobj = 0;
87303  CStdArray< Adapter * > *arg1 = (CStdArray< Adapter * > *) 0 ;
87304  std::vector< Adapter *,std::allocator< Adapter * > >::iterator arg2 ;
87305  void *argp1 = 0 ;
87306  int res1 = 0 ;
87307  swig::SwigPyIterator *iter2 = 0 ;
87308  int res2 ;
87309  PyObject * obj0 = 0 ;
87310  PyObject * obj1 = 0 ;
87311 
87312  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_Adapter_RemoveAt",&obj0,&obj1)) SWIG_fail;
87313  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Adapter_p_t, 0 | 0 );
87314  if (!SWIG_IsOK(res1)) {
87315  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Adapter_RemoveAt" "', argument " "1"" of type '" "CStdArray< Adapter * > *""'");
87316  }
87317  arg1 = reinterpret_cast< CStdArray< Adapter * > * >(argp1);
87318  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
87319  if (!SWIG_IsOK(res2) || !iter2) {
87320  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_Adapter_RemoveAt" "', argument " "2"" of type '" "std::vector< Adapter *,std::allocator< Adapter * > >::iterator""'");
87321  } else {
87323  if (iter_t) {
87324  arg2 = iter_t->get_current();
87325  } else {
87326  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_Adapter_RemoveAt" "', argument " "2"" of type '" "std::vector< Adapter *,std::allocator< Adapter * > >::iterator""'");
87327  }
87328  }
87329  (arg1)->RemoveAt(arg2);
87330  resultobj = SWIG_Py_Void();
87331  return resultobj;
87332 fail:
87333  return NULL;
87334 }
87335 
87336 
87337 SWIGINTERN PyObject *_wrap_CStdArray_Adapter_RemoveAt(PyObject *self, PyObject *args) {
87338  int argc;
87339  PyObject *argv[3];
87340  int ii;
87341 
87342  if (!PyTuple_Check(args)) SWIG_fail;
87343  argc = args ? (int)PyObject_Length(args) : 0;
87344  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
87345  argv[ii] = PyTuple_GET_ITEM(args,ii);
87346  }
87347  if (argc == 2) {
87348  int _v;
87349  void *vptr = 0;
87350  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_Adapter_p_t, 0);
87351  _v = SWIG_CheckState(res);
87352  if (_v) {
87353  swig::SwigPyIterator *iter = 0;
87354  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
87355  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Adapter *,std::allocator< Adapter * > >::iterator > *>(iter) != 0));
87356  if (_v) {
87357  return _wrap_CStdArray_Adapter_RemoveAt__SWIG_1(self, args);
87358  }
87359  }
87360  }
87361  if (argc == 2) {
87362  int _v;
87363  void *vptr = 0;
87364  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_Adapter_p_t, 0);
87365  _v = SWIG_CheckState(res);
87366  if (_v) {
87367  {
87368  int res = SWIG_AsVal_int(argv[1], NULL);
87369  _v = SWIG_CheckState(res);
87370  }
87371  if (_v) {
87372  return _wrap_CStdArray_Adapter_RemoveAt__SWIG_0(self, args);
87373  }
87374  }
87375  }
87376 
87377 fail:
87378  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdArray_Adapter_RemoveAt'.\n"
87379  " Possible C/C++ prototypes are:\n"
87380  " CStdArray< Adapter * >::RemoveAt(int)\n"
87381  " CStdArray< Adapter * >::RemoveAt(std::vector< Adapter *,std::allocator< Adapter * > >::iterator)\n");
87382  return 0;
87383 }
87384 
87385 
87386 SWIGINTERN PyObject *_wrap_CStdArray_Adapter_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87387  PyObject *resultobj = 0;
87388  CStdArray< Adapter * > *arg1 = (CStdArray< Adapter * > *) 0 ;
87389  long arg2 ;
87390  void *argp1 = 0 ;
87391  int res1 = 0 ;
87392  long val2 ;
87393  int ecode2 = 0 ;
87394  PyObject * obj0 = 0 ;
87395  PyObject * obj1 = 0 ;
87396 
87397  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_Adapter_SetSize",&obj0,&obj1)) SWIG_fail;
87398  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Adapter_p_t, 0 | 0 );
87399  if (!SWIG_IsOK(res1)) {
87400  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Adapter_SetSize" "', argument " "1"" of type '" "CStdArray< Adapter * > *""'");
87401  }
87402  arg1 = reinterpret_cast< CStdArray< Adapter * > * >(argp1);
87403  ecode2 = SWIG_AsVal_long(obj1, &val2);
87404  if (!SWIG_IsOK(ecode2)) {
87405  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_Adapter_SetSize" "', argument " "2"" of type '" "long""'");
87406  }
87407  arg2 = static_cast< long >(val2);
87408  (arg1)->SetSize(arg2);
87409  resultobj = SWIG_Py_Void();
87410  return resultobj;
87411 fail:
87412  return NULL;
87413 }
87414 
87415 
87416 SWIGINTERN PyObject *_wrap_CStdArray_Adapter_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87417  PyObject *resultobj = 0;
87418  CStdArray< Adapter * > *arg1 = (CStdArray< Adapter * > *) 0 ;
87419  int arg2 ;
87420  Adapter *arg3 = (Adapter *) 0 ;
87421  void *argp1 = 0 ;
87422  int res1 = 0 ;
87423  int val2 ;
87424  int ecode2 = 0 ;
87425  void *argp3 = 0 ;
87426  int res3 = 0 ;
87427  PyObject * obj0 = 0 ;
87428  PyObject * obj1 = 0 ;
87429  PyObject * obj2 = 0 ;
87430 
87431  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdArray_Adapter_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
87432  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Adapter_p_t, 0 | 0 );
87433  if (!SWIG_IsOK(res1)) {
87434  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Adapter_InsertAt" "', argument " "1"" of type '" "CStdArray< Adapter * > *""'");
87435  }
87436  arg1 = reinterpret_cast< CStdArray< Adapter * > * >(argp1);
87437  ecode2 = SWIG_AsVal_int(obj1, &val2);
87438  if (!SWIG_IsOK(ecode2)) {
87439  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_Adapter_InsertAt" "', argument " "2"" of type '" "int""'");
87440  }
87441  arg2 = static_cast< int >(val2);
87442  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Adapter, 0 | 0 );
87443  if (!SWIG_IsOK(res3)) {
87444  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdArray_Adapter_InsertAt" "', argument " "3"" of type '" "Adapter *""'");
87445  }
87446  arg3 = reinterpret_cast< Adapter * >(argp3);
87447  (arg1)->InsertAt(arg2,arg3);
87448  resultobj = SWIG_Py_Void();
87449  return resultobj;
87450 fail:
87451  return NULL;
87452 }
87453 
87454 
87455 SWIGINTERN PyObject *_wrap_CStdArray_Adapter_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87456  PyObject *resultobj = 0;
87457  CStdArray< Adapter * > *arg1 = (CStdArray< Adapter * > *) 0 ;
87458  void *argp1 = 0 ;
87459  int res1 = 0 ;
87460  PyObject * obj0 = 0 ;
87461  int result;
87462 
87463  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_Adapter_GetSize",&obj0)) SWIG_fail;
87464  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Adapter_p_t, 0 | 0 );
87465  if (!SWIG_IsOK(res1)) {
87466  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Adapter_GetSize" "', argument " "1"" of type '" "CStdArray< Adapter * > *""'");
87467  }
87468  arg1 = reinterpret_cast< CStdArray< Adapter * > * >(argp1);
87469  result = (int)(arg1)->GetSize();
87470  resultobj = SWIG_From_int(static_cast< int >(result));
87471  return resultobj;
87472 fail:
87473  return NULL;
87474 }
87475 
87476 
87477 SWIGINTERN PyObject *_wrap_CStdArray_Adapter_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87478  PyObject *resultobj = 0;
87479  CStdArray< Adapter * > *arg1 = (CStdArray< Adapter * > *) 0 ;
87480  void *argp1 = 0 ;
87481  int res1 = 0 ;
87482  PyObject * obj0 = 0 ;
87483 
87484  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_Adapter_Clear",&obj0)) SWIG_fail;
87485  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_Adapter_p_t, 0 | 0 );
87486  if (!SWIG_IsOK(res1)) {
87487  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_Adapter_Clear" "', argument " "1"" of type '" "CStdArray< Adapter * > *""'");
87488  }
87489  arg1 = reinterpret_cast< CStdArray< Adapter * > * >(argp1);
87490  (arg1)->Clear();
87491  resultobj = SWIG_Py_Void();
87492  return resultobj;
87493 fail:
87494  return NULL;
87495 }
87496 
87497 
87498 SWIGINTERN PyObject *_wrap_new_CStdArray_Adapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87499  PyObject *resultobj = 0;
87500  CStdArray< Adapter * > *result = 0 ;
87501 
87502  if (!PyArg_ParseTuple(args,(char *)":new_CStdArray_Adapter")) SWIG_fail;
87503  {
87504  try {
87505  result = (CStdArray< Adapter * > *)new CStdArray< Adapter * >();
87506  }
87507  catch(CStdErrorInfo oError)
87508  {
87509  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
87510  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
87511  PyErr_SetString(PyExc_IndexError, strError.c_str());
87512  SWIG_fail;
87513  }
87514  catch(...)
87515  {
87516  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
87517  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
87518  SWIG_fail;
87519  }
87520  }
87521  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdArrayT_Adapter_p_t, SWIG_POINTER_NEW | 0 );
87522  return resultobj;
87523 fail:
87524  return NULL;
87525 }
87526 
87527 
87528 SWIGINTERN PyObject *CStdArray_Adapter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87529  PyObject *obj;
87530  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
87531  SWIG_TypeNewClientData(SWIGTYPE_p_CStdArrayT_Adapter_p_t, SWIG_NewClientData(obj));
87532  return SWIG_Py_Void();
87533 }
87534 
87535 SWIGINTERN PyObject *_wrap_delete_CStdArray_KeyFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87536  PyObject *resultobj = 0;
87537  CStdArray< KeyFrame * > *arg1 = (CStdArray< KeyFrame * > *) 0 ;
87538  void *argp1 = 0 ;
87539  int res1 = 0 ;
87540  PyObject * obj0 = 0 ;
87541 
87542  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdArray_KeyFrame",&obj0)) SWIG_fail;
87543  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_KeyFrame_p_t, SWIG_POINTER_DISOWN | 0 );
87544  if (!SWIG_IsOK(res1)) {
87545  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdArray_KeyFrame" "', argument " "1"" of type '" "CStdArray< KeyFrame * > *""'");
87546  }
87547  arg1 = reinterpret_cast< CStdArray< KeyFrame * > * >(argp1);
87548  delete arg1;
87549  resultobj = SWIG_Py_Void();
87550  return resultobj;
87551 fail:
87552  return NULL;
87553 }
87554 
87555 
87556 SWIGINTERN PyObject *_wrap_CStdArray_KeyFrame_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87557  PyObject *resultobj = 0;
87558  CStdArray< KeyFrame * > *arg1 = (CStdArray< KeyFrame * > *) 0 ;
87559  KeyFrame *arg2 = (KeyFrame *) 0 ;
87560  void *argp1 = 0 ;
87561  int res1 = 0 ;
87562  void *argp2 = 0 ;
87563  int res2 = 0 ;
87564  PyObject * obj0 = 0 ;
87565  PyObject * obj1 = 0 ;
87566 
87567  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_KeyFrame_Add",&obj0,&obj1)) SWIG_fail;
87568  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_KeyFrame_p_t, 0 | 0 );
87569  if (!SWIG_IsOK(res1)) {
87570  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_KeyFrame_Add" "', argument " "1"" of type '" "CStdArray< KeyFrame * > *""'");
87571  }
87572  arg1 = reinterpret_cast< CStdArray< KeyFrame * > * >(argp1);
87573  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_KeyFrame, 0 | 0 );
87574  if (!SWIG_IsOK(res2)) {
87575  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdArray_KeyFrame_Add" "', argument " "2"" of type '" "KeyFrame *""'");
87576  }
87577  arg2 = reinterpret_cast< KeyFrame * >(argp2);
87578  (arg1)->Add(arg2);
87579  resultobj = SWIG_Py_Void();
87580  return resultobj;
87581 fail:
87582  return NULL;
87583 }
87584 
87585 
87586 SWIGINTERN PyObject *_wrap_CStdArray_KeyFrame_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87587  PyObject *resultobj = 0;
87588  CStdArray< KeyFrame * > *arg1 = (CStdArray< KeyFrame * > *) 0 ;
87589  void *argp1 = 0 ;
87590  int res1 = 0 ;
87591  PyObject * obj0 = 0 ;
87592 
87593  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_KeyFrame_RemoveAll",&obj0)) SWIG_fail;
87594  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_KeyFrame_p_t, 0 | 0 );
87595  if (!SWIG_IsOK(res1)) {
87596  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_KeyFrame_RemoveAll" "', argument " "1"" of type '" "CStdArray< KeyFrame * > *""'");
87597  }
87598  arg1 = reinterpret_cast< CStdArray< KeyFrame * > * >(argp1);
87599  (arg1)->RemoveAll();
87600  resultobj = SWIG_Py_Void();
87601  return resultobj;
87602 fail:
87603  return NULL;
87604 }
87605 
87606 
87607 SWIGINTERN PyObject *_wrap_CStdArray_KeyFrame_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87608  PyObject *resultobj = 0;
87609  CStdArray< KeyFrame * > *arg1 = (CStdArray< KeyFrame * > *) 0 ;
87610  int arg2 ;
87611  void *argp1 = 0 ;
87612  int res1 = 0 ;
87613  int val2 ;
87614  int ecode2 = 0 ;
87615  PyObject * obj0 = 0 ;
87616  PyObject * obj1 = 0 ;
87617 
87618  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_KeyFrame_RemoveAt",&obj0,&obj1)) SWIG_fail;
87619  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_KeyFrame_p_t, 0 | 0 );
87620  if (!SWIG_IsOK(res1)) {
87621  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_KeyFrame_RemoveAt" "', argument " "1"" of type '" "CStdArray< KeyFrame * > *""'");
87622  }
87623  arg1 = reinterpret_cast< CStdArray< KeyFrame * > * >(argp1);
87624  ecode2 = SWIG_AsVal_int(obj1, &val2);
87625  if (!SWIG_IsOK(ecode2)) {
87626  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_KeyFrame_RemoveAt" "', argument " "2"" of type '" "int""'");
87627  }
87628  arg2 = static_cast< int >(val2);
87629  (arg1)->RemoveAt(arg2);
87630  resultobj = SWIG_Py_Void();
87631  return resultobj;
87632 fail:
87633  return NULL;
87634 }
87635 
87636 
87637 SWIGINTERN PyObject *_wrap_CStdArray_KeyFrame_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87638  PyObject *resultobj = 0;
87639  CStdArray< KeyFrame * > *arg1 = (CStdArray< KeyFrame * > *) 0 ;
87640  std::vector< KeyFrame *,std::allocator< KeyFrame * > >::iterator arg2 ;
87641  void *argp1 = 0 ;
87642  int res1 = 0 ;
87643  swig::SwigPyIterator *iter2 = 0 ;
87644  int res2 ;
87645  PyObject * obj0 = 0 ;
87646  PyObject * obj1 = 0 ;
87647 
87648  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_KeyFrame_RemoveAt",&obj0,&obj1)) SWIG_fail;
87649  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_KeyFrame_p_t, 0 | 0 );
87650  if (!SWIG_IsOK(res1)) {
87651  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_KeyFrame_RemoveAt" "', argument " "1"" of type '" "CStdArray< KeyFrame * > *""'");
87652  }
87653  arg1 = reinterpret_cast< CStdArray< KeyFrame * > * >(argp1);
87654  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
87655  if (!SWIG_IsOK(res2) || !iter2) {
87656  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_KeyFrame_RemoveAt" "', argument " "2"" of type '" "std::vector< KeyFrame *,std::allocator< KeyFrame * > >::iterator""'");
87657  } else {
87659  if (iter_t) {
87660  arg2 = iter_t->get_current();
87661  } else {
87662  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_KeyFrame_RemoveAt" "', argument " "2"" of type '" "std::vector< KeyFrame *,std::allocator< KeyFrame * > >::iterator""'");
87663  }
87664  }
87665  (arg1)->RemoveAt(arg2);
87666  resultobj = SWIG_Py_Void();
87667  return resultobj;
87668 fail:
87669  return NULL;
87670 }
87671 
87672 
87673 SWIGINTERN PyObject *_wrap_CStdArray_KeyFrame_RemoveAt(PyObject *self, PyObject *args) {
87674  int argc;
87675  PyObject *argv[3];
87676  int ii;
87677 
87678  if (!PyTuple_Check(args)) SWIG_fail;
87679  argc = args ? (int)PyObject_Length(args) : 0;
87680  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
87681  argv[ii] = PyTuple_GET_ITEM(args,ii);
87682  }
87683  if (argc == 2) {
87684  int _v;
87685  void *vptr = 0;
87686  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_KeyFrame_p_t, 0);
87687  _v = SWIG_CheckState(res);
87688  if (_v) {
87689  swig::SwigPyIterator *iter = 0;
87690  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
87691  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< KeyFrame *,std::allocator< KeyFrame * > >::iterator > *>(iter) != 0));
87692  if (_v) {
87693  return _wrap_CStdArray_KeyFrame_RemoveAt__SWIG_1(self, args);
87694  }
87695  }
87696  }
87697  if (argc == 2) {
87698  int _v;
87699  void *vptr = 0;
87700  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_KeyFrame_p_t, 0);
87701  _v = SWIG_CheckState(res);
87702  if (_v) {
87703  {
87704  int res = SWIG_AsVal_int(argv[1], NULL);
87705  _v = SWIG_CheckState(res);
87706  }
87707  if (_v) {
87708  return _wrap_CStdArray_KeyFrame_RemoveAt__SWIG_0(self, args);
87709  }
87710  }
87711  }
87712 
87713 fail:
87714  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdArray_KeyFrame_RemoveAt'.\n"
87715  " Possible C/C++ prototypes are:\n"
87716  " CStdArray< KeyFrame * >::RemoveAt(int)\n"
87717  " CStdArray< KeyFrame * >::RemoveAt(std::vector< KeyFrame *,std::allocator< KeyFrame * > >::iterator)\n");
87718  return 0;
87719 }
87720 
87721 
87722 SWIGINTERN PyObject *_wrap_CStdArray_KeyFrame_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87723  PyObject *resultobj = 0;
87724  CStdArray< KeyFrame * > *arg1 = (CStdArray< KeyFrame * > *) 0 ;
87725  long arg2 ;
87726  void *argp1 = 0 ;
87727  int res1 = 0 ;
87728  long val2 ;
87729  int ecode2 = 0 ;
87730  PyObject * obj0 = 0 ;
87731  PyObject * obj1 = 0 ;
87732 
87733  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_KeyFrame_SetSize",&obj0,&obj1)) SWIG_fail;
87734  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_KeyFrame_p_t, 0 | 0 );
87735  if (!SWIG_IsOK(res1)) {
87736  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_KeyFrame_SetSize" "', argument " "1"" of type '" "CStdArray< KeyFrame * > *""'");
87737  }
87738  arg1 = reinterpret_cast< CStdArray< KeyFrame * > * >(argp1);
87739  ecode2 = SWIG_AsVal_long(obj1, &val2);
87740  if (!SWIG_IsOK(ecode2)) {
87741  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_KeyFrame_SetSize" "', argument " "2"" of type '" "long""'");
87742  }
87743  arg2 = static_cast< long >(val2);
87744  (arg1)->SetSize(arg2);
87745  resultobj = SWIG_Py_Void();
87746  return resultobj;
87747 fail:
87748  return NULL;
87749 }
87750 
87751 
87752 SWIGINTERN PyObject *_wrap_CStdArray_KeyFrame_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87753  PyObject *resultobj = 0;
87754  CStdArray< KeyFrame * > *arg1 = (CStdArray< KeyFrame * > *) 0 ;
87755  int arg2 ;
87756  KeyFrame *arg3 = (KeyFrame *) 0 ;
87757  void *argp1 = 0 ;
87758  int res1 = 0 ;
87759  int val2 ;
87760  int ecode2 = 0 ;
87761  void *argp3 = 0 ;
87762  int res3 = 0 ;
87763  PyObject * obj0 = 0 ;
87764  PyObject * obj1 = 0 ;
87765  PyObject * obj2 = 0 ;
87766 
87767  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdArray_KeyFrame_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
87768  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_KeyFrame_p_t, 0 | 0 );
87769  if (!SWIG_IsOK(res1)) {
87770  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_KeyFrame_InsertAt" "', argument " "1"" of type '" "CStdArray< KeyFrame * > *""'");
87771  }
87772  arg1 = reinterpret_cast< CStdArray< KeyFrame * > * >(argp1);
87773  ecode2 = SWIG_AsVal_int(obj1, &val2);
87774  if (!SWIG_IsOK(ecode2)) {
87775  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_KeyFrame_InsertAt" "', argument " "2"" of type '" "int""'");
87776  }
87777  arg2 = static_cast< int >(val2);
87778  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_KeyFrame, 0 | 0 );
87779  if (!SWIG_IsOK(res3)) {
87780  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdArray_KeyFrame_InsertAt" "', argument " "3"" of type '" "KeyFrame *""'");
87781  }
87782  arg3 = reinterpret_cast< KeyFrame * >(argp3);
87783  (arg1)->InsertAt(arg2,arg3);
87784  resultobj = SWIG_Py_Void();
87785  return resultobj;
87786 fail:
87787  return NULL;
87788 }
87789 
87790 
87791 SWIGINTERN PyObject *_wrap_CStdArray_KeyFrame_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87792  PyObject *resultobj = 0;
87793  CStdArray< KeyFrame * > *arg1 = (CStdArray< KeyFrame * > *) 0 ;
87794  void *argp1 = 0 ;
87795  int res1 = 0 ;
87796  PyObject * obj0 = 0 ;
87797  int result;
87798 
87799  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_KeyFrame_GetSize",&obj0)) SWIG_fail;
87800  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_KeyFrame_p_t, 0 | 0 );
87801  if (!SWIG_IsOK(res1)) {
87802  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_KeyFrame_GetSize" "', argument " "1"" of type '" "CStdArray< KeyFrame * > *""'");
87803  }
87804  arg1 = reinterpret_cast< CStdArray< KeyFrame * > * >(argp1);
87805  result = (int)(arg1)->GetSize();
87806  resultobj = SWIG_From_int(static_cast< int >(result));
87807  return resultobj;
87808 fail:
87809  return NULL;
87810 }
87811 
87812 
87813 SWIGINTERN PyObject *_wrap_CStdArray_KeyFrame_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87814  PyObject *resultobj = 0;
87815  CStdArray< KeyFrame * > *arg1 = (CStdArray< KeyFrame * > *) 0 ;
87816  void *argp1 = 0 ;
87817  int res1 = 0 ;
87818  PyObject * obj0 = 0 ;
87819 
87820  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_KeyFrame_Clear",&obj0)) SWIG_fail;
87821  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_KeyFrame_p_t, 0 | 0 );
87822  if (!SWIG_IsOK(res1)) {
87823  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_KeyFrame_Clear" "', argument " "1"" of type '" "CStdArray< KeyFrame * > *""'");
87824  }
87825  arg1 = reinterpret_cast< CStdArray< KeyFrame * > * >(argp1);
87826  (arg1)->Clear();
87827  resultobj = SWIG_Py_Void();
87828  return resultobj;
87829 fail:
87830  return NULL;
87831 }
87832 
87833 
87834 SWIGINTERN PyObject *_wrap_new_CStdArray_KeyFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87835  PyObject *resultobj = 0;
87836  CStdArray< KeyFrame * > *result = 0 ;
87837 
87838  if (!PyArg_ParseTuple(args,(char *)":new_CStdArray_KeyFrame")) SWIG_fail;
87839  {
87840  try {
87841  result = (CStdArray< KeyFrame * > *)new CStdArray< KeyFrame * >();
87842  }
87843  catch(CStdErrorInfo oError)
87844  {
87845  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
87846  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
87847  PyErr_SetString(PyExc_IndexError, strError.c_str());
87848  SWIG_fail;
87849  }
87850  catch(...)
87851  {
87852  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
87853  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
87854  SWIG_fail;
87855  }
87856  }
87857  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdArrayT_KeyFrame_p_t, SWIG_POINTER_NEW | 0 );
87858  return resultobj;
87859 fail:
87860  return NULL;
87861 }
87862 
87863 
87864 SWIGINTERN PyObject *CStdArray_KeyFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87865  PyObject *obj;
87866  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
87867  SWIG_TypeNewClientData(SWIGTYPE_p_CStdArrayT_KeyFrame_p_t, SWIG_NewClientData(obj));
87868  return SWIG_Py_Void();
87869 }
87870 
87871 SWIGINTERN PyObject *_wrap_delete_CStdArray_ModuleThreadProcessor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87872  PyObject *resultobj = 0;
87873  CStdArray< ModuleThreadProcessor * > *arg1 = (CStdArray< ModuleThreadProcessor * > *) 0 ;
87874  void *argp1 = 0 ;
87875  int res1 = 0 ;
87876  PyObject * obj0 = 0 ;
87877 
87878  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdArray_ModuleThreadProcessor",&obj0)) SWIG_fail;
87879  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ModuleThreadProcessor_p_t, SWIG_POINTER_DISOWN | 0 );
87880  if (!SWIG_IsOK(res1)) {
87881  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdArray_ModuleThreadProcessor" "', argument " "1"" of type '" "CStdArray< ModuleThreadProcessor * > *""'");
87882  }
87883  arg1 = reinterpret_cast< CStdArray< ModuleThreadProcessor * > * >(argp1);
87884  delete arg1;
87885  resultobj = SWIG_Py_Void();
87886  return resultobj;
87887 fail:
87888  return NULL;
87889 }
87890 
87891 
87892 SWIGINTERN PyObject *_wrap_CStdArray_ModuleThreadProcessor_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87893  PyObject *resultobj = 0;
87894  CStdArray< ModuleThreadProcessor * > *arg1 = (CStdArray< ModuleThreadProcessor * > *) 0 ;
87895  ModuleThreadProcessor *arg2 = (ModuleThreadProcessor *) 0 ;
87896  void *argp1 = 0 ;
87897  int res1 = 0 ;
87898  void *argp2 = 0 ;
87899  int res2 = 0 ;
87900  PyObject * obj0 = 0 ;
87901  PyObject * obj1 = 0 ;
87902 
87903  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_ModuleThreadProcessor_Add",&obj0,&obj1)) SWIG_fail;
87904  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ModuleThreadProcessor_p_t, 0 | 0 );
87905  if (!SWIG_IsOK(res1)) {
87906  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ModuleThreadProcessor_Add" "', argument " "1"" of type '" "CStdArray< ModuleThreadProcessor * > *""'");
87907  }
87908  arg1 = reinterpret_cast< CStdArray< ModuleThreadProcessor * > * >(argp1);
87909  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ModuleThreadProcessor, 0 | 0 );
87910  if (!SWIG_IsOK(res2)) {
87911  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdArray_ModuleThreadProcessor_Add" "', argument " "2"" of type '" "ModuleThreadProcessor *""'");
87912  }
87913  arg2 = reinterpret_cast< ModuleThreadProcessor * >(argp2);
87914  (arg1)->Add(arg2);
87915  resultobj = SWIG_Py_Void();
87916  return resultobj;
87917 fail:
87918  return NULL;
87919 }
87920 
87921 
87922 SWIGINTERN PyObject *_wrap_CStdArray_ModuleThreadProcessor_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87923  PyObject *resultobj = 0;
87924  CStdArray< ModuleThreadProcessor * > *arg1 = (CStdArray< ModuleThreadProcessor * > *) 0 ;
87925  void *argp1 = 0 ;
87926  int res1 = 0 ;
87927  PyObject * obj0 = 0 ;
87928 
87929  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_ModuleThreadProcessor_RemoveAll",&obj0)) SWIG_fail;
87930  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ModuleThreadProcessor_p_t, 0 | 0 );
87931  if (!SWIG_IsOK(res1)) {
87932  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ModuleThreadProcessor_RemoveAll" "', argument " "1"" of type '" "CStdArray< ModuleThreadProcessor * > *""'");
87933  }
87934  arg1 = reinterpret_cast< CStdArray< ModuleThreadProcessor * > * >(argp1);
87935  (arg1)->RemoveAll();
87936  resultobj = SWIG_Py_Void();
87937  return resultobj;
87938 fail:
87939  return NULL;
87940 }
87941 
87942 
87943 SWIGINTERN PyObject *_wrap_CStdArray_ModuleThreadProcessor_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87944  PyObject *resultobj = 0;
87945  CStdArray< ModuleThreadProcessor * > *arg1 = (CStdArray< ModuleThreadProcessor * > *) 0 ;
87946  int arg2 ;
87947  void *argp1 = 0 ;
87948  int res1 = 0 ;
87949  int val2 ;
87950  int ecode2 = 0 ;
87951  PyObject * obj0 = 0 ;
87952  PyObject * obj1 = 0 ;
87953 
87954  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_ModuleThreadProcessor_RemoveAt",&obj0,&obj1)) SWIG_fail;
87955  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ModuleThreadProcessor_p_t, 0 | 0 );
87956  if (!SWIG_IsOK(res1)) {
87957  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ModuleThreadProcessor_RemoveAt" "', argument " "1"" of type '" "CStdArray< ModuleThreadProcessor * > *""'");
87958  }
87959  arg1 = reinterpret_cast< CStdArray< ModuleThreadProcessor * > * >(argp1);
87960  ecode2 = SWIG_AsVal_int(obj1, &val2);
87961  if (!SWIG_IsOK(ecode2)) {
87962  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_ModuleThreadProcessor_RemoveAt" "', argument " "2"" of type '" "int""'");
87963  }
87964  arg2 = static_cast< int >(val2);
87965  (arg1)->RemoveAt(arg2);
87966  resultobj = SWIG_Py_Void();
87967  return resultobj;
87968 fail:
87969  return NULL;
87970 }
87971 
87972 
87973 SWIGINTERN PyObject *_wrap_CStdArray_ModuleThreadProcessor_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
87974  PyObject *resultobj = 0;
87975  CStdArray< ModuleThreadProcessor * > *arg1 = (CStdArray< ModuleThreadProcessor * > *) 0 ;
87976  std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > >::iterator arg2 ;
87977  void *argp1 = 0 ;
87978  int res1 = 0 ;
87979  swig::SwigPyIterator *iter2 = 0 ;
87980  int res2 ;
87981  PyObject * obj0 = 0 ;
87982  PyObject * obj1 = 0 ;
87983 
87984  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_ModuleThreadProcessor_RemoveAt",&obj0,&obj1)) SWIG_fail;
87985  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ModuleThreadProcessor_p_t, 0 | 0 );
87986  if (!SWIG_IsOK(res1)) {
87987  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ModuleThreadProcessor_RemoveAt" "', argument " "1"" of type '" "CStdArray< ModuleThreadProcessor * > *""'");
87988  }
87989  arg1 = reinterpret_cast< CStdArray< ModuleThreadProcessor * > * >(argp1);
87990  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
87991  if (!SWIG_IsOK(res2) || !iter2) {
87992  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_ModuleThreadProcessor_RemoveAt" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > >::iterator""'");
87993  } else {
87995  if (iter_t) {
87996  arg2 = iter_t->get_current();
87997  } else {
87998  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdArray_ModuleThreadProcessor_RemoveAt" "', argument " "2"" of type '" "std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > >::iterator""'");
87999  }
88000  }
88001  (arg1)->RemoveAt(arg2);
88002  resultobj = SWIG_Py_Void();
88003  return resultobj;
88004 fail:
88005  return NULL;
88006 }
88007 
88008 
88009 SWIGINTERN PyObject *_wrap_CStdArray_ModuleThreadProcessor_RemoveAt(PyObject *self, PyObject *args) {
88010  int argc;
88011  PyObject *argv[3];
88012  int ii;
88013 
88014  if (!PyTuple_Check(args)) SWIG_fail;
88015  argc = args ? (int)PyObject_Length(args) : 0;
88016  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
88017  argv[ii] = PyTuple_GET_ITEM(args,ii);
88018  }
88019  if (argc == 2) {
88020  int _v;
88021  void *vptr = 0;
88022  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_ModuleThreadProcessor_p_t, 0);
88023  _v = SWIG_CheckState(res);
88024  if (_v) {
88025  swig::SwigPyIterator *iter = 0;
88026  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
88027  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > >::iterator > *>(iter) != 0));
88028  if (_v) {
88029  return _wrap_CStdArray_ModuleThreadProcessor_RemoveAt__SWIG_1(self, args);
88030  }
88031  }
88032  }
88033  if (argc == 2) {
88034  int _v;
88035  void *vptr = 0;
88036  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdArrayT_ModuleThreadProcessor_p_t, 0);
88037  _v = SWIG_CheckState(res);
88038  if (_v) {
88039  {
88040  int res = SWIG_AsVal_int(argv[1], NULL);
88041  _v = SWIG_CheckState(res);
88042  }
88043  if (_v) {
88044  return _wrap_CStdArray_ModuleThreadProcessor_RemoveAt__SWIG_0(self, args);
88045  }
88046  }
88047  }
88048 
88049 fail:
88050  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdArray_ModuleThreadProcessor_RemoveAt'.\n"
88051  " Possible C/C++ prototypes are:\n"
88052  " CStdArray< ModuleThreadProcessor * >::RemoveAt(int)\n"
88053  " CStdArray< ModuleThreadProcessor * >::RemoveAt(std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > >::iterator)\n");
88054  return 0;
88055 }
88056 
88057 
88058 SWIGINTERN PyObject *_wrap_CStdArray_ModuleThreadProcessor_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88059  PyObject *resultobj = 0;
88060  CStdArray< ModuleThreadProcessor * > *arg1 = (CStdArray< ModuleThreadProcessor * > *) 0 ;
88061  long arg2 ;
88062  void *argp1 = 0 ;
88063  int res1 = 0 ;
88064  long val2 ;
88065  int ecode2 = 0 ;
88066  PyObject * obj0 = 0 ;
88067  PyObject * obj1 = 0 ;
88068 
88069  if (!PyArg_ParseTuple(args,(char *)"OO:CStdArray_ModuleThreadProcessor_SetSize",&obj0,&obj1)) SWIG_fail;
88070  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ModuleThreadProcessor_p_t, 0 | 0 );
88071  if (!SWIG_IsOK(res1)) {
88072  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ModuleThreadProcessor_SetSize" "', argument " "1"" of type '" "CStdArray< ModuleThreadProcessor * > *""'");
88073  }
88074  arg1 = reinterpret_cast< CStdArray< ModuleThreadProcessor * > * >(argp1);
88075  ecode2 = SWIG_AsVal_long(obj1, &val2);
88076  if (!SWIG_IsOK(ecode2)) {
88077  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_ModuleThreadProcessor_SetSize" "', argument " "2"" of type '" "long""'");
88078  }
88079  arg2 = static_cast< long >(val2);
88080  (arg1)->SetSize(arg2);
88081  resultobj = SWIG_Py_Void();
88082  return resultobj;
88083 fail:
88084  return NULL;
88085 }
88086 
88087 
88088 SWIGINTERN PyObject *_wrap_CStdArray_ModuleThreadProcessor_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88089  PyObject *resultobj = 0;
88090  CStdArray< ModuleThreadProcessor * > *arg1 = (CStdArray< ModuleThreadProcessor * > *) 0 ;
88091  int arg2 ;
88092  ModuleThreadProcessor *arg3 = (ModuleThreadProcessor *) 0 ;
88093  void *argp1 = 0 ;
88094  int res1 = 0 ;
88095  int val2 ;
88096  int ecode2 = 0 ;
88097  void *argp3 = 0 ;
88098  int res3 = 0 ;
88099  PyObject * obj0 = 0 ;
88100  PyObject * obj1 = 0 ;
88101  PyObject * obj2 = 0 ;
88102 
88103  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdArray_ModuleThreadProcessor_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
88104  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ModuleThreadProcessor_p_t, 0 | 0 );
88105  if (!SWIG_IsOK(res1)) {
88106  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ModuleThreadProcessor_InsertAt" "', argument " "1"" of type '" "CStdArray< ModuleThreadProcessor * > *""'");
88107  }
88108  arg1 = reinterpret_cast< CStdArray< ModuleThreadProcessor * > * >(argp1);
88109  ecode2 = SWIG_AsVal_int(obj1, &val2);
88110  if (!SWIG_IsOK(ecode2)) {
88111  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdArray_ModuleThreadProcessor_InsertAt" "', argument " "2"" of type '" "int""'");
88112  }
88113  arg2 = static_cast< int >(val2);
88114  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ModuleThreadProcessor, 0 | 0 );
88115  if (!SWIG_IsOK(res3)) {
88116  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdArray_ModuleThreadProcessor_InsertAt" "', argument " "3"" of type '" "ModuleThreadProcessor *""'");
88117  }
88118  arg3 = reinterpret_cast< ModuleThreadProcessor * >(argp3);
88119  (arg1)->InsertAt(arg2,arg3);
88120  resultobj = SWIG_Py_Void();
88121  return resultobj;
88122 fail:
88123  return NULL;
88124 }
88125 
88126 
88127 SWIGINTERN PyObject *_wrap_CStdArray_ModuleThreadProcessor_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88128  PyObject *resultobj = 0;
88129  CStdArray< ModuleThreadProcessor * > *arg1 = (CStdArray< ModuleThreadProcessor * > *) 0 ;
88130  void *argp1 = 0 ;
88131  int res1 = 0 ;
88132  PyObject * obj0 = 0 ;
88133  int result;
88134 
88135  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_ModuleThreadProcessor_GetSize",&obj0)) SWIG_fail;
88136  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ModuleThreadProcessor_p_t, 0 | 0 );
88137  if (!SWIG_IsOK(res1)) {
88138  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ModuleThreadProcessor_GetSize" "', argument " "1"" of type '" "CStdArray< ModuleThreadProcessor * > *""'");
88139  }
88140  arg1 = reinterpret_cast< CStdArray< ModuleThreadProcessor * > * >(argp1);
88141  result = (int)(arg1)->GetSize();
88142  resultobj = SWIG_From_int(static_cast< int >(result));
88143  return resultobj;
88144 fail:
88145  return NULL;
88146 }
88147 
88148 
88149 SWIGINTERN PyObject *_wrap_CStdArray_ModuleThreadProcessor_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88150  PyObject *resultobj = 0;
88151  CStdArray< ModuleThreadProcessor * > *arg1 = (CStdArray< ModuleThreadProcessor * > *) 0 ;
88152  void *argp1 = 0 ;
88153  int res1 = 0 ;
88154  PyObject * obj0 = 0 ;
88155 
88156  if (!PyArg_ParseTuple(args,(char *)"O:CStdArray_ModuleThreadProcessor_Clear",&obj0)) SWIG_fail;
88157  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdArrayT_ModuleThreadProcessor_p_t, 0 | 0 );
88158  if (!SWIG_IsOK(res1)) {
88159  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdArray_ModuleThreadProcessor_Clear" "', argument " "1"" of type '" "CStdArray< ModuleThreadProcessor * > *""'");
88160  }
88161  arg1 = reinterpret_cast< CStdArray< ModuleThreadProcessor * > * >(argp1);
88162  (arg1)->Clear();
88163  resultobj = SWIG_Py_Void();
88164  return resultobj;
88165 fail:
88166  return NULL;
88167 }
88168 
88169 
88170 SWIGINTERN PyObject *_wrap_new_CStdArray_ModuleThreadProcessor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88171  PyObject *resultobj = 0;
88172  CStdArray< ModuleThreadProcessor * > *result = 0 ;
88173 
88174  if (!PyArg_ParseTuple(args,(char *)":new_CStdArray_ModuleThreadProcessor")) SWIG_fail;
88175  {
88176  try {
88177  result = (CStdArray< ModuleThreadProcessor * > *)new CStdArray< ModuleThreadProcessor * >();
88178  }
88179  catch(CStdErrorInfo oError)
88180  {
88181  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
88182  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
88183  PyErr_SetString(PyExc_IndexError, strError.c_str());
88184  SWIG_fail;
88185  }
88186  catch(...)
88187  {
88188  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
88189  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
88190  SWIG_fail;
88191  }
88192  }
88193  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdArrayT_ModuleThreadProcessor_p_t, SWIG_POINTER_NEW | 0 );
88194  return resultobj;
88195 fail:
88196  return NULL;
88197 }
88198 
88199 
88200 SWIGINTERN PyObject *CStdArray_ModuleThreadProcessor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88201  PyObject *obj;
88202  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
88203  SWIG_TypeNewClientData(SWIGTYPE_p_CStdArrayT_ModuleThreadProcessor_p_t, SWIG_NewClientData(obj));
88204  return SWIG_Py_Void();
88205 }
88206 
88207 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_CStdVariable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88208  PyObject *resultobj = 0;
88209  CStdPtrArray< CStdVariable > *arg1 = (CStdPtrArray< CStdVariable > *) 0 ;
88210  void *argp1 = 0 ;
88211  int res1 = 0 ;
88212  PyObject * obj0 = 0 ;
88213 
88214  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_CStdVariable",&obj0)) SWIG_fail;
88215  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, SWIG_POINTER_DISOWN | 0 );
88216  if (!SWIG_IsOK(res1)) {
88217  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_CStdVariable" "', argument " "1"" of type '" "CStdPtrArray< CStdVariable > *""'");
88218  }
88219  arg1 = reinterpret_cast< CStdPtrArray< CStdVariable > * >(argp1);
88220  delete arg1;
88221  resultobj = SWIG_Py_Void();
88222  return resultobj;
88223 fail:
88224  return NULL;
88225 }
88226 
88227 
88228 SWIGINTERN PyObject *_wrap_CStdPtrArray_CStdVariable_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88229  PyObject *resultobj = 0;
88230  CStdPtrArray< CStdVariable > *arg1 = (CStdPtrArray< CStdVariable > *) 0 ;
88231  CStdVariable *arg2 = (CStdVariable *) 0 ;
88232  void *argp1 = 0 ;
88233  int res1 = 0 ;
88234  void *argp2 = 0 ;
88235  int res2 = 0 ;
88236  PyObject * obj0 = 0 ;
88237  PyObject * obj1 = 0 ;
88238 
88239  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_CStdVariable_Add",&obj0,&obj1)) SWIG_fail;
88240  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0 | 0 );
88241  if (!SWIG_IsOK(res1)) {
88242  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CStdVariable_Add" "', argument " "1"" of type '" "CStdPtrArray< CStdVariable > *""'");
88243  }
88244  arg1 = reinterpret_cast< CStdPtrArray< CStdVariable > * >(argp1);
88245  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
88246  if (!SWIG_IsOK(res2)) {
88247  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_CStdVariable_Add" "', argument " "2"" of type '" "CStdVariable *""'");
88248  }
88249  arg2 = reinterpret_cast< CStdVariable * >(argp2);
88250  (arg1)->Add(arg2);
88251  resultobj = SWIG_Py_Void();
88252  return resultobj;
88253 fail:
88254  return NULL;
88255 }
88256 
88257 
88258 SWIGINTERN PyObject *_wrap_CStdPtrArray_CStdVariable_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88259  PyObject *resultobj = 0;
88260  CStdPtrArray< CStdVariable > *arg1 = (CStdPtrArray< CStdVariable > *) 0 ;
88261  void *argp1 = 0 ;
88262  int res1 = 0 ;
88263  PyObject * obj0 = 0 ;
88264 
88265  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_CStdVariable_clear",&obj0)) SWIG_fail;
88266  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0 | 0 );
88267  if (!SWIG_IsOK(res1)) {
88268  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CStdVariable_clear" "', argument " "1"" of type '" "CStdPtrArray< CStdVariable > *""'");
88269  }
88270  arg1 = reinterpret_cast< CStdPtrArray< CStdVariable > * >(argp1);
88271  (arg1)->clear();
88272  resultobj = SWIG_Py_Void();
88273  return resultobj;
88274 fail:
88275  return NULL;
88276 }
88277 
88278 
88279 SWIGINTERN PyObject *_wrap_CStdPtrArray_CStdVariable_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88280  PyObject *resultobj = 0;
88281  CStdPtrArray< CStdVariable > *arg1 = (CStdPtrArray< CStdVariable > *) 0 ;
88282  void *argp1 = 0 ;
88283  int res1 = 0 ;
88284  PyObject * obj0 = 0 ;
88285 
88286  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_CStdVariable_RemoveAll",&obj0)) SWIG_fail;
88287  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0 | 0 );
88288  if (!SWIG_IsOK(res1)) {
88289  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CStdVariable_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< CStdVariable > *""'");
88290  }
88291  arg1 = reinterpret_cast< CStdPtrArray< CStdVariable > * >(argp1);
88292  (arg1)->RemoveAll();
88293  resultobj = SWIG_Py_Void();
88294  return resultobj;
88295 fail:
88296  return NULL;
88297 }
88298 
88299 
88300 SWIGINTERN PyObject *_wrap_CStdPtrArray_CStdVariable_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88301  PyObject *resultobj = 0;
88302  CStdPtrArray< CStdVariable > *arg1 = (CStdPtrArray< CStdVariable > *) 0 ;
88303  int arg2 ;
88304  void *argp1 = 0 ;
88305  int res1 = 0 ;
88306  int val2 ;
88307  int ecode2 = 0 ;
88308  PyObject * obj0 = 0 ;
88309  PyObject * obj1 = 0 ;
88310 
88311  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_CStdVariable_RemoveAt",&obj0,&obj1)) SWIG_fail;
88312  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0 | 0 );
88313  if (!SWIG_IsOK(res1)) {
88314  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CStdVariable_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< CStdVariable > *""'");
88315  }
88316  arg1 = reinterpret_cast< CStdPtrArray< CStdVariable > * >(argp1);
88317  ecode2 = SWIG_AsVal_int(obj1, &val2);
88318  if (!SWIG_IsOK(ecode2)) {
88319  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_CStdVariable_RemoveAt" "', argument " "2"" of type '" "int""'");
88320  }
88321  arg2 = static_cast< int >(val2);
88322  (arg1)->RemoveAt(arg2);
88323  resultobj = SWIG_Py_Void();
88324  return resultobj;
88325 fail:
88326  return NULL;
88327 }
88328 
88329 
88330 SWIGINTERN PyObject *_wrap_CStdPtrArray_CStdVariable_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88331  PyObject *resultobj = 0;
88332  CStdPtrArray< CStdVariable > *arg1 = (CStdPtrArray< CStdVariable > *) 0 ;
88333  SwigValueWrapper< std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator > arg2 ;
88334  void *argp1 = 0 ;
88335  int res1 = 0 ;
88336  swig::SwigPyIterator *iter2 = 0 ;
88337  int res2 ;
88338  PyObject * obj0 = 0 ;
88339  PyObject * obj1 = 0 ;
88340 
88341  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_CStdVariable_RemoveAt",&obj0,&obj1)) SWIG_fail;
88342  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0 | 0 );
88343  if (!SWIG_IsOK(res1)) {
88344  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CStdVariable_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< CStdVariable > *""'");
88345  }
88346  arg1 = reinterpret_cast< CStdPtrArray< CStdVariable > * >(argp1);
88347  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
88348  if (!SWIG_IsOK(res2) || !iter2) {
88349  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CStdVariable_RemoveAt" "', argument " "2"" of type '" "std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator""'");
88350  } else {
88352  if (iter_t) {
88353  arg2 = iter_t->get_current();
88354  } else {
88355  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CStdVariable_RemoveAt" "', argument " "2"" of type '" "std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator""'");
88356  }
88357  }
88358  (arg1)->RemoveAt(arg2);
88359  resultobj = SWIG_Py_Void();
88360  return resultobj;
88361 fail:
88362  return NULL;
88363 }
88364 
88365 
88366 SWIGINTERN PyObject *_wrap_CStdPtrArray_CStdVariable_RemoveAt(PyObject *self, PyObject *args) {
88367  int argc;
88368  PyObject *argv[3];
88369  int ii;
88370 
88371  if (!PyTuple_Check(args)) SWIG_fail;
88372  argc = args ? (int)PyObject_Length(args) : 0;
88373  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
88374  argv[ii] = PyTuple_GET_ITEM(args,ii);
88375  }
88376  if (argc == 2) {
88377  int _v;
88378  void *vptr = 0;
88379  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0);
88380  _v = SWIG_CheckState(res);
88381  if (_v) {
88382  swig::SwigPyIterator *iter = 0;
88383  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
88384  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator > *>(iter) != 0));
88385  if (_v) {
88386  return _wrap_CStdPtrArray_CStdVariable_RemoveAt__SWIG_1(self, args);
88387  }
88388  }
88389  }
88390  if (argc == 2) {
88391  int _v;
88392  void *vptr = 0;
88393  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0);
88394  _v = SWIG_CheckState(res);
88395  if (_v) {
88396  {
88397  int res = SWIG_AsVal_int(argv[1], NULL);
88398  _v = SWIG_CheckState(res);
88399  }
88400  if (_v) {
88401  return _wrap_CStdPtrArray_CStdVariable_RemoveAt__SWIG_0(self, args);
88402  }
88403  }
88404  }
88405 
88406 fail:
88407  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_CStdVariable_RemoveAt'.\n"
88408  " Possible C/C++ prototypes are:\n"
88409  " CStdPtrArray< CStdVariable >::RemoveAt(int)\n"
88410  " CStdPtrArray< CStdVariable >::RemoveAt(std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator)\n");
88411  return 0;
88412 }
88413 
88414 
88415 SWIGINTERN PyObject *_wrap_CStdPtrArray_CStdVariable_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88416  PyObject *resultobj = 0;
88417  CStdPtrArray< CStdVariable > *arg1 = (CStdPtrArray< CStdVariable > *) 0 ;
88418  SwigValueWrapper< std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator > arg2 ;
88419  void *argp1 = 0 ;
88420  int res1 = 0 ;
88421  swig::SwigPyIterator *iter2 = 0 ;
88422  int res2 ;
88423  PyObject * obj0 = 0 ;
88424  PyObject * obj1 = 0 ;
88425 
88426  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_CStdVariable_erase",&obj0,&obj1)) SWIG_fail;
88427  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0 | 0 );
88428  if (!SWIG_IsOK(res1)) {
88429  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CStdVariable_erase" "', argument " "1"" of type '" "CStdPtrArray< CStdVariable > *""'");
88430  }
88431  arg1 = reinterpret_cast< CStdPtrArray< CStdVariable > * >(argp1);
88432  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
88433  if (!SWIG_IsOK(res2) || !iter2) {
88434  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CStdVariable_erase" "', argument " "2"" of type '" "std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator""'");
88435  } else {
88437  if (iter_t) {
88438  arg2 = iter_t->get_current();
88439  } else {
88440  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CStdVariable_erase" "', argument " "2"" of type '" "std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator""'");
88441  }
88442  }
88443  (arg1)->erase(arg2);
88444  resultobj = SWIG_Py_Void();
88445  return resultobj;
88446 fail:
88447  return NULL;
88448 }
88449 
88450 
88451 SWIGINTERN PyObject *_wrap_CStdPtrArray_CStdVariable_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88452  PyObject *resultobj = 0;
88453  CStdPtrArray< CStdVariable > *arg1 = (CStdPtrArray< CStdVariable > *) 0 ;
88454  SwigValueWrapper< std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator > arg2 ;
88455  SwigValueWrapper< std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator > arg3 ;
88456  void *argp1 = 0 ;
88457  int res1 = 0 ;
88458  swig::SwigPyIterator *iter2 = 0 ;
88459  int res2 ;
88460  swig::SwigPyIterator *iter3 = 0 ;
88461  int res3 ;
88462  PyObject * obj0 = 0 ;
88463  PyObject * obj1 = 0 ;
88464  PyObject * obj2 = 0 ;
88465 
88466  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_CStdVariable_erase",&obj0,&obj1,&obj2)) SWIG_fail;
88467  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0 | 0 );
88468  if (!SWIG_IsOK(res1)) {
88469  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CStdVariable_erase" "', argument " "1"" of type '" "CStdPtrArray< CStdVariable > *""'");
88470  }
88471  arg1 = reinterpret_cast< CStdPtrArray< CStdVariable > * >(argp1);
88472  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
88473  if (!SWIG_IsOK(res2) || !iter2) {
88474  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CStdVariable_erase" "', argument " "2"" of type '" "std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator""'");
88475  } else {
88477  if (iter_t) {
88478  arg2 = iter_t->get_current();
88479  } else {
88480  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CStdVariable_erase" "', argument " "2"" of type '" "std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator""'");
88481  }
88482  }
88483  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
88484  if (!SWIG_IsOK(res3) || !iter3) {
88485  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CStdVariable_erase" "', argument " "3"" of type '" "std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator""'");
88486  } else {
88488  if (iter_t) {
88489  arg3 = iter_t->get_current();
88490  } else {
88491  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CStdVariable_erase" "', argument " "3"" of type '" "std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator""'");
88492  }
88493  }
88494  (arg1)->erase(arg2,arg3);
88495  resultobj = SWIG_Py_Void();
88496  return resultobj;
88497 fail:
88498  return NULL;
88499 }
88500 
88501 
88502 SWIGINTERN PyObject *_wrap_CStdPtrArray_CStdVariable_erase(PyObject *self, PyObject *args) {
88503  int argc;
88504  PyObject *argv[4];
88505  int ii;
88506 
88507  if (!PyTuple_Check(args)) SWIG_fail;
88508  argc = args ? (int)PyObject_Length(args) : 0;
88509  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
88510  argv[ii] = PyTuple_GET_ITEM(args,ii);
88511  }
88512  if (argc == 2) {
88513  int _v;
88514  void *vptr = 0;
88515  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0);
88516  _v = SWIG_CheckState(res);
88517  if (_v) {
88518  swig::SwigPyIterator *iter = 0;
88519  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
88520  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator > *>(iter) != 0));
88521  if (_v) {
88522  return _wrap_CStdPtrArray_CStdVariable_erase__SWIG_0(self, args);
88523  }
88524  }
88525  }
88526  if (argc == 3) {
88527  int _v;
88528  void *vptr = 0;
88529  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0);
88530  _v = SWIG_CheckState(res);
88531  if (_v) {
88532  swig::SwigPyIterator *iter = 0;
88533  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
88534  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator > *>(iter) != 0));
88535  if (_v) {
88536  swig::SwigPyIterator *iter = 0;
88537  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
88538  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator > *>(iter) != 0));
88539  if (_v) {
88540  return _wrap_CStdPtrArray_CStdVariable_erase__SWIG_1(self, args);
88541  }
88542  }
88543  }
88544  }
88545 
88546 fail:
88547  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_CStdVariable_erase'.\n"
88548  " Possible C/C++ prototypes are:\n"
88549  " CStdPtrArray< CStdVariable >::erase(std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator)\n"
88550  " CStdPtrArray< CStdVariable >::erase(std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator,std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >::iterator)\n");
88551  return 0;
88552 }
88553 
88554 
88555 SWIGINTERN PyObject *_wrap_CStdPtrArray_CStdVariable_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88556  PyObject *resultobj = 0;
88557  CStdPtrArray< CStdVariable > *arg1 = (CStdPtrArray< CStdVariable > *) 0 ;
88558  long arg2 ;
88559  void *argp1 = 0 ;
88560  int res1 = 0 ;
88561  long val2 ;
88562  int ecode2 = 0 ;
88563  PyObject * obj0 = 0 ;
88564  PyObject * obj1 = 0 ;
88565 
88566  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_CStdVariable_SetSize",&obj0,&obj1)) SWIG_fail;
88567  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0 | 0 );
88568  if (!SWIG_IsOK(res1)) {
88569  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CStdVariable_SetSize" "', argument " "1"" of type '" "CStdPtrArray< CStdVariable > *""'");
88570  }
88571  arg1 = reinterpret_cast< CStdPtrArray< CStdVariable > * >(argp1);
88572  ecode2 = SWIG_AsVal_long(obj1, &val2);
88573  if (!SWIG_IsOK(ecode2)) {
88574  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_CStdVariable_SetSize" "', argument " "2"" of type '" "long""'");
88575  }
88576  arg2 = static_cast< long >(val2);
88577  (arg1)->SetSize(arg2);
88578  resultobj = SWIG_Py_Void();
88579  return resultobj;
88580 fail:
88581  return NULL;
88582 }
88583 
88584 
88585 SWIGINTERN PyObject *_wrap_CStdPtrArray_CStdVariable_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88586  PyObject *resultobj = 0;
88587  CStdPtrArray< CStdVariable > *arg1 = (CStdPtrArray< CStdVariable > *) 0 ;
88588  int arg2 ;
88589  CStdVariable *arg3 = (CStdVariable *) 0 ;
88590  void *argp1 = 0 ;
88591  int res1 = 0 ;
88592  int val2 ;
88593  int ecode2 = 0 ;
88594  void *argp3 = 0 ;
88595  int res3 = 0 ;
88596  PyObject * obj0 = 0 ;
88597  PyObject * obj1 = 0 ;
88598  PyObject * obj2 = 0 ;
88599 
88600  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_CStdVariable_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
88601  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0 | 0 );
88602  if (!SWIG_IsOK(res1)) {
88603  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CStdVariable_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< CStdVariable > *""'");
88604  }
88605  arg1 = reinterpret_cast< CStdPtrArray< CStdVariable > * >(argp1);
88606  ecode2 = SWIG_AsVal_int(obj1, &val2);
88607  if (!SWIG_IsOK(ecode2)) {
88608  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_CStdVariable_InsertAt" "', argument " "2"" of type '" "int""'");
88609  }
88610  arg2 = static_cast< int >(val2);
88611  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
88612  if (!SWIG_IsOK(res3)) {
88613  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_CStdVariable_InsertAt" "', argument " "3"" of type '" "CStdVariable *""'");
88614  }
88615  arg3 = reinterpret_cast< CStdVariable * >(argp3);
88616  (arg1)->InsertAt(arg2,arg3);
88617  resultobj = SWIG_Py_Void();
88618  return resultobj;
88619 fail:
88620  return NULL;
88621 }
88622 
88623 
88624 SWIGINTERN PyObject *_wrap_CStdPtrArray_CStdVariable_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88625  PyObject *resultobj = 0;
88626  CStdPtrArray< CStdVariable > *arg1 = (CStdPtrArray< CStdVariable > *) 0 ;
88627  void *argp1 = 0 ;
88628  int res1 = 0 ;
88629  PyObject * obj0 = 0 ;
88630  int result;
88631 
88632  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_CStdVariable_GetSize",&obj0)) SWIG_fail;
88633  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0 | 0 );
88634  if (!SWIG_IsOK(res1)) {
88635  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CStdVariable_GetSize" "', argument " "1"" of type '" "CStdPtrArray< CStdVariable > *""'");
88636  }
88637  arg1 = reinterpret_cast< CStdPtrArray< CStdVariable > * >(argp1);
88638  result = (int)(arg1)->GetSize();
88639  resultobj = SWIG_From_int(static_cast< int >(result));
88640  return resultobj;
88641 fail:
88642  return NULL;
88643 }
88644 
88645 
88646 SWIGINTERN PyObject *_wrap_CStdPtrArray_CStdVariable_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88647  PyObject *resultobj = 0;
88648  CStdPtrArray< CStdVariable > *arg1 = (CStdPtrArray< CStdVariable > *) 0 ;
88649  void *argp1 = 0 ;
88650  int res1 = 0 ;
88651  PyObject * obj0 = 0 ;
88652 
88653  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_CStdVariable_Clear",&obj0)) SWIG_fail;
88654  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0 | 0 );
88655  if (!SWIG_IsOK(res1)) {
88656  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CStdVariable_Clear" "', argument " "1"" of type '" "CStdPtrArray< CStdVariable > *""'");
88657  }
88658  arg1 = reinterpret_cast< CStdPtrArray< CStdVariable > * >(argp1);
88659  (arg1)->Clear();
88660  resultobj = SWIG_Py_Void();
88661  return resultobj;
88662 fail:
88663  return NULL;
88664 }
88665 
88666 
88667 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_CStdVariable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88668  PyObject *resultobj = 0;
88669  CStdPtrArray< CStdVariable > *result = 0 ;
88670 
88671  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_CStdVariable")) SWIG_fail;
88672  {
88673  try {
88674  result = (CStdPtrArray< CStdVariable > *)new CStdPtrArray< CStdVariable >();
88675  }
88676  catch(CStdErrorInfo oError)
88677  {
88678  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
88679  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
88680  PyErr_SetString(PyExc_IndexError, strError.c_str());
88681  SWIG_fail;
88682  }
88683  catch(...)
88684  {
88685  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
88686  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
88687  SWIG_fail;
88688  }
88689  }
88690  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, SWIG_POINTER_NEW | 0 );
88691  return resultobj;
88692 fail:
88693  return NULL;
88694 }
88695 
88696 
88697 SWIGINTERN PyObject *CStdPtrArray_CStdVariable_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88698  PyObject *obj;
88699  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
88700  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t, SWIG_NewClientData(obj));
88701  return SWIG_Py_Void();
88702 }
88703 
88704 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_TypeProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88705  PyObject *resultobj = 0;
88706  CStdPtrArray< TypeProperty > *arg1 = (CStdPtrArray< TypeProperty > *) 0 ;
88707  void *argp1 = 0 ;
88708  int res1 = 0 ;
88709  PyObject * obj0 = 0 ;
88710 
88711  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_TypeProperty",&obj0)) SWIG_fail;
88712  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, SWIG_POINTER_DISOWN | 0 );
88713  if (!SWIG_IsOK(res1)) {
88714  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_TypeProperty" "', argument " "1"" of type '" "CStdPtrArray< TypeProperty > *""'");
88715  }
88716  arg1 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp1);
88717  delete arg1;
88718  resultobj = SWIG_Py_Void();
88719  return resultobj;
88720 fail:
88721  return NULL;
88722 }
88723 
88724 
88725 SWIGINTERN PyObject *_wrap_CStdPtrArray_TypeProperty_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88726  PyObject *resultobj = 0;
88727  CStdPtrArray< TypeProperty > *arg1 = (CStdPtrArray< TypeProperty > *) 0 ;
88728  TypeProperty *arg2 = (TypeProperty *) 0 ;
88729  void *argp1 = 0 ;
88730  int res1 = 0 ;
88731  void *argp2 = 0 ;
88732  int res2 = 0 ;
88733  PyObject * obj0 = 0 ;
88734  PyObject * obj1 = 0 ;
88735 
88736  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_TypeProperty_Add",&obj0,&obj1)) SWIG_fail;
88737  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 | 0 );
88738  if (!SWIG_IsOK(res1)) {
88739  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_TypeProperty_Add" "', argument " "1"" of type '" "CStdPtrArray< TypeProperty > *""'");
88740  }
88741  arg1 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp1);
88742  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_TypeProperty, 0 | 0 );
88743  if (!SWIG_IsOK(res2)) {
88744  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_TypeProperty_Add" "', argument " "2"" of type '" "TypeProperty *""'");
88745  }
88746  arg2 = reinterpret_cast< TypeProperty * >(argp2);
88747  (arg1)->Add(arg2);
88748  resultobj = SWIG_Py_Void();
88749  return resultobj;
88750 fail:
88751  return NULL;
88752 }
88753 
88754 
88755 SWIGINTERN PyObject *_wrap_CStdPtrArray_TypeProperty_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88756  PyObject *resultobj = 0;
88757  CStdPtrArray< TypeProperty > *arg1 = (CStdPtrArray< TypeProperty > *) 0 ;
88758  void *argp1 = 0 ;
88759  int res1 = 0 ;
88760  PyObject * obj0 = 0 ;
88761 
88762  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_TypeProperty_clear",&obj0)) SWIG_fail;
88763  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 | 0 );
88764  if (!SWIG_IsOK(res1)) {
88765  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_TypeProperty_clear" "', argument " "1"" of type '" "CStdPtrArray< TypeProperty > *""'");
88766  }
88767  arg1 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp1);
88768  (arg1)->clear();
88769  resultobj = SWIG_Py_Void();
88770  return resultobj;
88771 fail:
88772  return NULL;
88773 }
88774 
88775 
88776 SWIGINTERN PyObject *_wrap_CStdPtrArray_TypeProperty_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88777  PyObject *resultobj = 0;
88778  CStdPtrArray< TypeProperty > *arg1 = (CStdPtrArray< TypeProperty > *) 0 ;
88779  void *argp1 = 0 ;
88780  int res1 = 0 ;
88781  PyObject * obj0 = 0 ;
88782 
88783  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_TypeProperty_RemoveAll",&obj0)) SWIG_fail;
88784  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 | 0 );
88785  if (!SWIG_IsOK(res1)) {
88786  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_TypeProperty_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< TypeProperty > *""'");
88787  }
88788  arg1 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp1);
88789  (arg1)->RemoveAll();
88790  resultobj = SWIG_Py_Void();
88791  return resultobj;
88792 fail:
88793  return NULL;
88794 }
88795 
88796 
88797 SWIGINTERN PyObject *_wrap_CStdPtrArray_TypeProperty_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88798  PyObject *resultobj = 0;
88799  CStdPtrArray< TypeProperty > *arg1 = (CStdPtrArray< TypeProperty > *) 0 ;
88800  int arg2 ;
88801  void *argp1 = 0 ;
88802  int res1 = 0 ;
88803  int val2 ;
88804  int ecode2 = 0 ;
88805  PyObject * obj0 = 0 ;
88806  PyObject * obj1 = 0 ;
88807 
88808  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_TypeProperty_RemoveAt",&obj0,&obj1)) SWIG_fail;
88809  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 | 0 );
88810  if (!SWIG_IsOK(res1)) {
88811  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_TypeProperty_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< TypeProperty > *""'");
88812  }
88813  arg1 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp1);
88814  ecode2 = SWIG_AsVal_int(obj1, &val2);
88815  if (!SWIG_IsOK(ecode2)) {
88816  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_TypeProperty_RemoveAt" "', argument " "2"" of type '" "int""'");
88817  }
88818  arg2 = static_cast< int >(val2);
88819  (arg1)->RemoveAt(arg2);
88820  resultobj = SWIG_Py_Void();
88821  return resultobj;
88822 fail:
88823  return NULL;
88824 }
88825 
88826 
88827 SWIGINTERN PyObject *_wrap_CStdPtrArray_TypeProperty_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88828  PyObject *resultobj = 0;
88829  CStdPtrArray< TypeProperty > *arg1 = (CStdPtrArray< TypeProperty > *) 0 ;
88830  std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator arg2 ;
88831  void *argp1 = 0 ;
88832  int res1 = 0 ;
88833  swig::SwigPyIterator *iter2 = 0 ;
88834  int res2 ;
88835  PyObject * obj0 = 0 ;
88836  PyObject * obj1 = 0 ;
88837 
88838  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_TypeProperty_RemoveAt",&obj0,&obj1)) SWIG_fail;
88839  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 | 0 );
88840  if (!SWIG_IsOK(res1)) {
88841  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_TypeProperty_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< TypeProperty > *""'");
88842  }
88843  arg1 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp1);
88844  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
88845  if (!SWIG_IsOK(res2) || !iter2) {
88846  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_TypeProperty_RemoveAt" "', argument " "2"" of type '" "std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator""'");
88847  } else {
88849  if (iter_t) {
88850  arg2 = iter_t->get_current();
88851  } else {
88852  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_TypeProperty_RemoveAt" "', argument " "2"" of type '" "std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator""'");
88853  }
88854  }
88855  (arg1)->RemoveAt(arg2);
88856  resultobj = SWIG_Py_Void();
88857  return resultobj;
88858 fail:
88859  return NULL;
88860 }
88861 
88862 
88863 SWIGINTERN PyObject *_wrap_CStdPtrArray_TypeProperty_RemoveAt(PyObject *self, PyObject *args) {
88864  int argc;
88865  PyObject *argv[3];
88866  int ii;
88867 
88868  if (!PyTuple_Check(args)) SWIG_fail;
88869  argc = args ? (int)PyObject_Length(args) : 0;
88870  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
88871  argv[ii] = PyTuple_GET_ITEM(args,ii);
88872  }
88873  if (argc == 2) {
88874  int _v;
88875  void *vptr = 0;
88876  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0);
88877  _v = SWIG_CheckState(res);
88878  if (_v) {
88879  swig::SwigPyIterator *iter = 0;
88880  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
88881  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator > *>(iter) != 0));
88882  if (_v) {
88883  return _wrap_CStdPtrArray_TypeProperty_RemoveAt__SWIG_1(self, args);
88884  }
88885  }
88886  }
88887  if (argc == 2) {
88888  int _v;
88889  void *vptr = 0;
88890  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0);
88891  _v = SWIG_CheckState(res);
88892  if (_v) {
88893  {
88894  int res = SWIG_AsVal_int(argv[1], NULL);
88895  _v = SWIG_CheckState(res);
88896  }
88897  if (_v) {
88898  return _wrap_CStdPtrArray_TypeProperty_RemoveAt__SWIG_0(self, args);
88899  }
88900  }
88901  }
88902 
88903 fail:
88904  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_TypeProperty_RemoveAt'.\n"
88905  " Possible C/C++ prototypes are:\n"
88906  " CStdPtrArray< TypeProperty >::RemoveAt(int)\n"
88907  " CStdPtrArray< TypeProperty >::RemoveAt(std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator)\n");
88908  return 0;
88909 }
88910 
88911 
88912 SWIGINTERN PyObject *_wrap_CStdPtrArray_TypeProperty_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88913  PyObject *resultobj = 0;
88914  CStdPtrArray< TypeProperty > *arg1 = (CStdPtrArray< TypeProperty > *) 0 ;
88915  std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator arg2 ;
88916  void *argp1 = 0 ;
88917  int res1 = 0 ;
88918  swig::SwigPyIterator *iter2 = 0 ;
88919  int res2 ;
88920  PyObject * obj0 = 0 ;
88921  PyObject * obj1 = 0 ;
88922 
88923  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_TypeProperty_erase",&obj0,&obj1)) SWIG_fail;
88924  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 | 0 );
88925  if (!SWIG_IsOK(res1)) {
88926  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_TypeProperty_erase" "', argument " "1"" of type '" "CStdPtrArray< TypeProperty > *""'");
88927  }
88928  arg1 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp1);
88929  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
88930  if (!SWIG_IsOK(res2) || !iter2) {
88931  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_TypeProperty_erase" "', argument " "2"" of type '" "std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator""'");
88932  } else {
88934  if (iter_t) {
88935  arg2 = iter_t->get_current();
88936  } else {
88937  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_TypeProperty_erase" "', argument " "2"" of type '" "std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator""'");
88938  }
88939  }
88940  (arg1)->erase(arg2);
88941  resultobj = SWIG_Py_Void();
88942  return resultobj;
88943 fail:
88944  return NULL;
88945 }
88946 
88947 
88948 SWIGINTERN PyObject *_wrap_CStdPtrArray_TypeProperty_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
88949  PyObject *resultobj = 0;
88950  CStdPtrArray< TypeProperty > *arg1 = (CStdPtrArray< TypeProperty > *) 0 ;
88951  std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator arg2 ;
88952  std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator arg3 ;
88953  void *argp1 = 0 ;
88954  int res1 = 0 ;
88955  swig::SwigPyIterator *iter2 = 0 ;
88956  int res2 ;
88957  swig::SwigPyIterator *iter3 = 0 ;
88958  int res3 ;
88959  PyObject * obj0 = 0 ;
88960  PyObject * obj1 = 0 ;
88961  PyObject * obj2 = 0 ;
88962 
88963  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_TypeProperty_erase",&obj0,&obj1,&obj2)) SWIG_fail;
88964  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 | 0 );
88965  if (!SWIG_IsOK(res1)) {
88966  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_TypeProperty_erase" "', argument " "1"" of type '" "CStdPtrArray< TypeProperty > *""'");
88967  }
88968  arg1 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp1);
88969  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
88970  if (!SWIG_IsOK(res2) || !iter2) {
88971  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_TypeProperty_erase" "', argument " "2"" of type '" "std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator""'");
88972  } else {
88974  if (iter_t) {
88975  arg2 = iter_t->get_current();
88976  } else {
88977  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_TypeProperty_erase" "', argument " "2"" of type '" "std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator""'");
88978  }
88979  }
88980  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
88981  if (!SWIG_IsOK(res3) || !iter3) {
88982  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_TypeProperty_erase" "', argument " "3"" of type '" "std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator""'");
88983  } else {
88985  if (iter_t) {
88986  arg3 = iter_t->get_current();
88987  } else {
88988  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_TypeProperty_erase" "', argument " "3"" of type '" "std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator""'");
88989  }
88990  }
88991  (arg1)->erase(arg2,arg3);
88992  resultobj = SWIG_Py_Void();
88993  return resultobj;
88994 fail:
88995  return NULL;
88996 }
88997 
88998 
88999 SWIGINTERN PyObject *_wrap_CStdPtrArray_TypeProperty_erase(PyObject *self, PyObject *args) {
89000  int argc;
89001  PyObject *argv[4];
89002  int ii;
89003 
89004  if (!PyTuple_Check(args)) SWIG_fail;
89005  argc = args ? (int)PyObject_Length(args) : 0;
89006  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
89007  argv[ii] = PyTuple_GET_ITEM(args,ii);
89008  }
89009  if (argc == 2) {
89010  int _v;
89011  void *vptr = 0;
89012  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0);
89013  _v = SWIG_CheckState(res);
89014  if (_v) {
89015  swig::SwigPyIterator *iter = 0;
89016  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
89017  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator > *>(iter) != 0));
89018  if (_v) {
89019  return _wrap_CStdPtrArray_TypeProperty_erase__SWIG_0(self, args);
89020  }
89021  }
89022  }
89023  if (argc == 3) {
89024  int _v;
89025  void *vptr = 0;
89026  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0);
89027  _v = SWIG_CheckState(res);
89028  if (_v) {
89029  swig::SwigPyIterator *iter = 0;
89030  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
89031  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator > *>(iter) != 0));
89032  if (_v) {
89033  swig::SwigPyIterator *iter = 0;
89034  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
89035  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator > *>(iter) != 0));
89036  if (_v) {
89037  return _wrap_CStdPtrArray_TypeProperty_erase__SWIG_1(self, args);
89038  }
89039  }
89040  }
89041  }
89042 
89043 fail:
89044  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_TypeProperty_erase'.\n"
89045  " Possible C/C++ prototypes are:\n"
89046  " CStdPtrArray< TypeProperty >::erase(std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator)\n"
89047  " CStdPtrArray< TypeProperty >::erase(std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator,std::vector< TypeProperty *,std::allocator< TypeProperty * > >::iterator)\n");
89048  return 0;
89049 }
89050 
89051 
89052 SWIGINTERN PyObject *_wrap_CStdPtrArray_TypeProperty_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89053  PyObject *resultobj = 0;
89054  CStdPtrArray< TypeProperty > *arg1 = (CStdPtrArray< TypeProperty > *) 0 ;
89055  long arg2 ;
89056  void *argp1 = 0 ;
89057  int res1 = 0 ;
89058  long val2 ;
89059  int ecode2 = 0 ;
89060  PyObject * obj0 = 0 ;
89061  PyObject * obj1 = 0 ;
89062 
89063  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_TypeProperty_SetSize",&obj0,&obj1)) SWIG_fail;
89064  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 | 0 );
89065  if (!SWIG_IsOK(res1)) {
89066  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_TypeProperty_SetSize" "', argument " "1"" of type '" "CStdPtrArray< TypeProperty > *""'");
89067  }
89068  arg1 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp1);
89069  ecode2 = SWIG_AsVal_long(obj1, &val2);
89070  if (!SWIG_IsOK(ecode2)) {
89071  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_TypeProperty_SetSize" "', argument " "2"" of type '" "long""'");
89072  }
89073  arg2 = static_cast< long >(val2);
89074  (arg1)->SetSize(arg2);
89075  resultobj = SWIG_Py_Void();
89076  return resultobj;
89077 fail:
89078  return NULL;
89079 }
89080 
89081 
89082 SWIGINTERN PyObject *_wrap_CStdPtrArray_TypeProperty_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89083  PyObject *resultobj = 0;
89084  CStdPtrArray< TypeProperty > *arg1 = (CStdPtrArray< TypeProperty > *) 0 ;
89085  int arg2 ;
89086  TypeProperty *arg3 = (TypeProperty *) 0 ;
89087  void *argp1 = 0 ;
89088  int res1 = 0 ;
89089  int val2 ;
89090  int ecode2 = 0 ;
89091  void *argp3 = 0 ;
89092  int res3 = 0 ;
89093  PyObject * obj0 = 0 ;
89094  PyObject * obj1 = 0 ;
89095  PyObject * obj2 = 0 ;
89096 
89097  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_TypeProperty_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
89098  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 | 0 );
89099  if (!SWIG_IsOK(res1)) {
89100  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_TypeProperty_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< TypeProperty > *""'");
89101  }
89102  arg1 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp1);
89103  ecode2 = SWIG_AsVal_int(obj1, &val2);
89104  if (!SWIG_IsOK(ecode2)) {
89105  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_TypeProperty_InsertAt" "', argument " "2"" of type '" "int""'");
89106  }
89107  arg2 = static_cast< int >(val2);
89108  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_TypeProperty, 0 | 0 );
89109  if (!SWIG_IsOK(res3)) {
89110  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_TypeProperty_InsertAt" "', argument " "3"" of type '" "TypeProperty *""'");
89111  }
89112  arg3 = reinterpret_cast< TypeProperty * >(argp3);
89113  (arg1)->InsertAt(arg2,arg3);
89114  resultobj = SWIG_Py_Void();
89115  return resultobj;
89116 fail:
89117  return NULL;
89118 }
89119 
89120 
89121 SWIGINTERN PyObject *_wrap_CStdPtrArray_TypeProperty_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89122  PyObject *resultobj = 0;
89123  CStdPtrArray< TypeProperty > *arg1 = (CStdPtrArray< TypeProperty > *) 0 ;
89124  void *argp1 = 0 ;
89125  int res1 = 0 ;
89126  PyObject * obj0 = 0 ;
89127  int result;
89128 
89129  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_TypeProperty_GetSize",&obj0)) SWIG_fail;
89130  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 | 0 );
89131  if (!SWIG_IsOK(res1)) {
89132  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_TypeProperty_GetSize" "', argument " "1"" of type '" "CStdPtrArray< TypeProperty > *""'");
89133  }
89134  arg1 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp1);
89135  result = (int)(arg1)->GetSize();
89136  resultobj = SWIG_From_int(static_cast< int >(result));
89137  return resultobj;
89138 fail:
89139  return NULL;
89140 }
89141 
89142 
89143 SWIGINTERN PyObject *_wrap_CStdPtrArray_TypeProperty_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89144  PyObject *resultobj = 0;
89145  CStdPtrArray< TypeProperty > *arg1 = (CStdPtrArray< TypeProperty > *) 0 ;
89146  void *argp1 = 0 ;
89147  int res1 = 0 ;
89148  PyObject * obj0 = 0 ;
89149 
89150  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_TypeProperty_Clear",&obj0)) SWIG_fail;
89151  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 | 0 );
89152  if (!SWIG_IsOK(res1)) {
89153  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_TypeProperty_Clear" "', argument " "1"" of type '" "CStdPtrArray< TypeProperty > *""'");
89154  }
89155  arg1 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp1);
89156  (arg1)->Clear();
89157  resultobj = SWIG_Py_Void();
89158  return resultobj;
89159 fail:
89160  return NULL;
89161 }
89162 
89163 
89164 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_TypeProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89165  PyObject *resultobj = 0;
89166  CStdPtrArray< TypeProperty > *result = 0 ;
89167 
89168  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_TypeProperty")) SWIG_fail;
89169  {
89170  try {
89171  result = (CStdPtrArray< TypeProperty > *)new CStdPtrArray< TypeProperty >();
89172  }
89173  catch(CStdErrorInfo oError)
89174  {
89175  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
89176  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
89177  PyErr_SetString(PyExc_IndexError, strError.c_str());
89178  SWIG_fail;
89179  }
89180  catch(...)
89181  {
89182  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
89183  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
89184  SWIG_fail;
89185  }
89186  }
89187  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, SWIG_POINTER_NEW | 0 );
89188  return resultobj;
89189 fail:
89190  return NULL;
89191 }
89192 
89193 
89194 SWIGINTERN PyObject *CStdPtrArray_TypeProperty_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89195  PyObject *obj;
89196  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
89197  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, SWIG_NewClientData(obj));
89198  return SWIG_Py_Void();
89199 }
89200 
89201 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_ReceptiveFieldPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89202  PyObject *resultobj = 0;
89203  CStdPtrArray< ReceptiveFieldPair > *arg1 = (CStdPtrArray< ReceptiveFieldPair > *) 0 ;
89204  void *argp1 = 0 ;
89205  int res1 = 0 ;
89206  PyObject * obj0 = 0 ;
89207 
89208  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_ReceptiveFieldPair",&obj0)) SWIG_fail;
89209  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, SWIG_POINTER_DISOWN | 0 );
89210  if (!SWIG_IsOK(res1)) {
89211  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_ReceptiveFieldPair" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveFieldPair > *""'");
89212  }
89213  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveFieldPair > * >(argp1);
89214  delete arg1;
89215  resultobj = SWIG_Py_Void();
89216  return resultobj;
89217 fail:
89218  return NULL;
89219 }
89220 
89221 
89222 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveFieldPair_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89223  PyObject *resultobj = 0;
89224  CStdPtrArray< ReceptiveFieldPair > *arg1 = (CStdPtrArray< ReceptiveFieldPair > *) 0 ;
89225  ReceptiveFieldPair *arg2 = (ReceptiveFieldPair *) 0 ;
89226  void *argp1 = 0 ;
89227  int res1 = 0 ;
89228  void *argp2 = 0 ;
89229  int res2 = 0 ;
89230  PyObject * obj0 = 0 ;
89231  PyObject * obj1 = 0 ;
89232 
89233  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_ReceptiveFieldPair_Add",&obj0,&obj1)) SWIG_fail;
89234  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, 0 | 0 );
89235  if (!SWIG_IsOK(res1)) {
89236  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveFieldPair_Add" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveFieldPair > *""'");
89237  }
89238  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveFieldPair > * >(argp1);
89239  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ReceptiveFieldPair, 0 | 0 );
89240  if (!SWIG_IsOK(res2)) {
89241  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_ReceptiveFieldPair_Add" "', argument " "2"" of type '" "ReceptiveFieldPair *""'");
89242  }
89243  arg2 = reinterpret_cast< ReceptiveFieldPair * >(argp2);
89244  (arg1)->Add(arg2);
89245  resultobj = SWIG_Py_Void();
89246  return resultobj;
89247 fail:
89248  return NULL;
89249 }
89250 
89251 
89252 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveFieldPair_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89253  PyObject *resultobj = 0;
89254  CStdPtrArray< ReceptiveFieldPair > *arg1 = (CStdPtrArray< ReceptiveFieldPair > *) 0 ;
89255  void *argp1 = 0 ;
89256  int res1 = 0 ;
89257  PyObject * obj0 = 0 ;
89258 
89259  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_ReceptiveFieldPair_clear",&obj0)) SWIG_fail;
89260  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, 0 | 0 );
89261  if (!SWIG_IsOK(res1)) {
89262  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveFieldPair_clear" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveFieldPair > *""'");
89263  }
89264  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveFieldPair > * >(argp1);
89265  (arg1)->clear();
89266  resultobj = SWIG_Py_Void();
89267  return resultobj;
89268 fail:
89269  return NULL;
89270 }
89271 
89272 
89273 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveFieldPair_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89274  PyObject *resultobj = 0;
89275  CStdPtrArray< ReceptiveFieldPair > *arg1 = (CStdPtrArray< ReceptiveFieldPair > *) 0 ;
89276  void *argp1 = 0 ;
89277  int res1 = 0 ;
89278  PyObject * obj0 = 0 ;
89279 
89280  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_ReceptiveFieldPair_RemoveAll",&obj0)) SWIG_fail;
89281  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, 0 | 0 );
89282  if (!SWIG_IsOK(res1)) {
89283  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveFieldPair_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveFieldPair > *""'");
89284  }
89285  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveFieldPair > * >(argp1);
89286  (arg1)->RemoveAll();
89287  resultobj = SWIG_Py_Void();
89288  return resultobj;
89289 fail:
89290  return NULL;
89291 }
89292 
89293 
89294 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveFieldPair_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89295  PyObject *resultobj = 0;
89296  CStdPtrArray< ReceptiveFieldPair > *arg1 = (CStdPtrArray< ReceptiveFieldPair > *) 0 ;
89297  int arg2 ;
89298  void *argp1 = 0 ;
89299  int res1 = 0 ;
89300  int val2 ;
89301  int ecode2 = 0 ;
89302  PyObject * obj0 = 0 ;
89303  PyObject * obj1 = 0 ;
89304 
89305  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_ReceptiveFieldPair_RemoveAt",&obj0,&obj1)) SWIG_fail;
89306  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, 0 | 0 );
89307  if (!SWIG_IsOK(res1)) {
89308  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveFieldPair_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveFieldPair > *""'");
89309  }
89310  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveFieldPair > * >(argp1);
89311  ecode2 = SWIG_AsVal_int(obj1, &val2);
89312  if (!SWIG_IsOK(ecode2)) {
89313  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_ReceptiveFieldPair_RemoveAt" "', argument " "2"" of type '" "int""'");
89314  }
89315  arg2 = static_cast< int >(val2);
89316  (arg1)->RemoveAt(arg2);
89317  resultobj = SWIG_Py_Void();
89318  return resultobj;
89319 fail:
89320  return NULL;
89321 }
89322 
89323 
89324 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveFieldPair_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89325  PyObject *resultobj = 0;
89326  CStdPtrArray< ReceptiveFieldPair > *arg1 = (CStdPtrArray< ReceptiveFieldPair > *) 0 ;
89327  std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator arg2 ;
89328  void *argp1 = 0 ;
89329  int res1 = 0 ;
89330  swig::SwigPyIterator *iter2 = 0 ;
89331  int res2 ;
89332  PyObject * obj0 = 0 ;
89333  PyObject * obj1 = 0 ;
89334 
89335  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_ReceptiveFieldPair_RemoveAt",&obj0,&obj1)) SWIG_fail;
89336  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, 0 | 0 );
89337  if (!SWIG_IsOK(res1)) {
89338  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveFieldPair_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveFieldPair > *""'");
89339  }
89340  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveFieldPair > * >(argp1);
89341  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
89342  if (!SWIG_IsOK(res2) || !iter2) {
89343  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveFieldPair_RemoveAt" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator""'");
89344  } else {
89346  if (iter_t) {
89347  arg2 = iter_t->get_current();
89348  } else {
89349  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveFieldPair_RemoveAt" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator""'");
89350  }
89351  }
89352  (arg1)->RemoveAt(arg2);
89353  resultobj = SWIG_Py_Void();
89354  return resultobj;
89355 fail:
89356  return NULL;
89357 }
89358 
89359 
89360 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveFieldPair_RemoveAt(PyObject *self, PyObject *args) {
89361  int argc;
89362  PyObject *argv[3];
89363  int ii;
89364 
89365  if (!PyTuple_Check(args)) SWIG_fail;
89366  argc = args ? (int)PyObject_Length(args) : 0;
89367  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
89368  argv[ii] = PyTuple_GET_ITEM(args,ii);
89369  }
89370  if (argc == 2) {
89371  int _v;
89372  void *vptr = 0;
89373  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, 0);
89374  _v = SWIG_CheckState(res);
89375  if (_v) {
89376  swig::SwigPyIterator *iter = 0;
89377  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
89378  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator > *>(iter) != 0));
89379  if (_v) {
89380  return _wrap_CStdPtrArray_ReceptiveFieldPair_RemoveAt__SWIG_1(self, args);
89381  }
89382  }
89383  }
89384  if (argc == 2) {
89385  int _v;
89386  void *vptr = 0;
89387  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, 0);
89388  _v = SWIG_CheckState(res);
89389  if (_v) {
89390  {
89391  int res = SWIG_AsVal_int(argv[1], NULL);
89392  _v = SWIG_CheckState(res);
89393  }
89394  if (_v) {
89395  return _wrap_CStdPtrArray_ReceptiveFieldPair_RemoveAt__SWIG_0(self, args);
89396  }
89397  }
89398  }
89399 
89400 fail:
89401  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_ReceptiveFieldPair_RemoveAt'.\n"
89402  " Possible C/C++ prototypes are:\n"
89403  " CStdPtrArray< ReceptiveFieldPair >::RemoveAt(int)\n"
89404  " CStdPtrArray< ReceptiveFieldPair >::RemoveAt(std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator)\n");
89405  return 0;
89406 }
89407 
89408 
89409 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveFieldPair_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89410  PyObject *resultobj = 0;
89411  CStdPtrArray< ReceptiveFieldPair > *arg1 = (CStdPtrArray< ReceptiveFieldPair > *) 0 ;
89412  std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator arg2 ;
89413  void *argp1 = 0 ;
89414  int res1 = 0 ;
89415  swig::SwigPyIterator *iter2 = 0 ;
89416  int res2 ;
89417  PyObject * obj0 = 0 ;
89418  PyObject * obj1 = 0 ;
89419 
89420  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_ReceptiveFieldPair_erase",&obj0,&obj1)) SWIG_fail;
89421  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, 0 | 0 );
89422  if (!SWIG_IsOK(res1)) {
89423  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveFieldPair_erase" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveFieldPair > *""'");
89424  }
89425  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveFieldPair > * >(argp1);
89426  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
89427  if (!SWIG_IsOK(res2) || !iter2) {
89428  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveFieldPair_erase" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator""'");
89429  } else {
89431  if (iter_t) {
89432  arg2 = iter_t->get_current();
89433  } else {
89434  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveFieldPair_erase" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator""'");
89435  }
89436  }
89437  (arg1)->erase(arg2);
89438  resultobj = SWIG_Py_Void();
89439  return resultobj;
89440 fail:
89441  return NULL;
89442 }
89443 
89444 
89445 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveFieldPair_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89446  PyObject *resultobj = 0;
89447  CStdPtrArray< ReceptiveFieldPair > *arg1 = (CStdPtrArray< ReceptiveFieldPair > *) 0 ;
89448  std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator arg2 ;
89449  std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator arg3 ;
89450  void *argp1 = 0 ;
89451  int res1 = 0 ;
89452  swig::SwigPyIterator *iter2 = 0 ;
89453  int res2 ;
89454  swig::SwigPyIterator *iter3 = 0 ;
89455  int res3 ;
89456  PyObject * obj0 = 0 ;
89457  PyObject * obj1 = 0 ;
89458  PyObject * obj2 = 0 ;
89459 
89460  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_ReceptiveFieldPair_erase",&obj0,&obj1,&obj2)) SWIG_fail;
89461  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, 0 | 0 );
89462  if (!SWIG_IsOK(res1)) {
89463  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveFieldPair_erase" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveFieldPair > *""'");
89464  }
89465  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveFieldPair > * >(argp1);
89466  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
89467  if (!SWIG_IsOK(res2) || !iter2) {
89468  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveFieldPair_erase" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator""'");
89469  } else {
89471  if (iter_t) {
89472  arg2 = iter_t->get_current();
89473  } else {
89474  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveFieldPair_erase" "', argument " "2"" of type '" "std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator""'");
89475  }
89476  }
89477  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
89478  if (!SWIG_IsOK(res3) || !iter3) {
89479  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveFieldPair_erase" "', argument " "3"" of type '" "std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator""'");
89480  } else {
89482  if (iter_t) {
89483  arg3 = iter_t->get_current();
89484  } else {
89485  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveFieldPair_erase" "', argument " "3"" of type '" "std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator""'");
89486  }
89487  }
89488  (arg1)->erase(arg2,arg3);
89489  resultobj = SWIG_Py_Void();
89490  return resultobj;
89491 fail:
89492  return NULL;
89493 }
89494 
89495 
89496 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveFieldPair_erase(PyObject *self, PyObject *args) {
89497  int argc;
89498  PyObject *argv[4];
89499  int ii;
89500 
89501  if (!PyTuple_Check(args)) SWIG_fail;
89502  argc = args ? (int)PyObject_Length(args) : 0;
89503  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
89504  argv[ii] = PyTuple_GET_ITEM(args,ii);
89505  }
89506  if (argc == 2) {
89507  int _v;
89508  void *vptr = 0;
89509  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, 0);
89510  _v = SWIG_CheckState(res);
89511  if (_v) {
89512  swig::SwigPyIterator *iter = 0;
89513  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
89514  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator > *>(iter) != 0));
89515  if (_v) {
89516  return _wrap_CStdPtrArray_ReceptiveFieldPair_erase__SWIG_0(self, args);
89517  }
89518  }
89519  }
89520  if (argc == 3) {
89521  int _v;
89522  void *vptr = 0;
89523  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, 0);
89524  _v = SWIG_CheckState(res);
89525  if (_v) {
89526  swig::SwigPyIterator *iter = 0;
89527  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
89528  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator > *>(iter) != 0));
89529  if (_v) {
89530  swig::SwigPyIterator *iter = 0;
89531  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
89532  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator > *>(iter) != 0));
89533  if (_v) {
89534  return _wrap_CStdPtrArray_ReceptiveFieldPair_erase__SWIG_1(self, args);
89535  }
89536  }
89537  }
89538  }
89539 
89540 fail:
89541  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_ReceptiveFieldPair_erase'.\n"
89542  " Possible C/C++ prototypes are:\n"
89543  " CStdPtrArray< ReceptiveFieldPair >::erase(std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator)\n"
89544  " CStdPtrArray< ReceptiveFieldPair >::erase(std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator,std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > >::iterator)\n");
89545  return 0;
89546 }
89547 
89548 
89549 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveFieldPair_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89550  PyObject *resultobj = 0;
89551  CStdPtrArray< ReceptiveFieldPair > *arg1 = (CStdPtrArray< ReceptiveFieldPair > *) 0 ;
89552  long arg2 ;
89553  void *argp1 = 0 ;
89554  int res1 = 0 ;
89555  long val2 ;
89556  int ecode2 = 0 ;
89557  PyObject * obj0 = 0 ;
89558  PyObject * obj1 = 0 ;
89559 
89560  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_ReceptiveFieldPair_SetSize",&obj0,&obj1)) SWIG_fail;
89561  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, 0 | 0 );
89562  if (!SWIG_IsOK(res1)) {
89563  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveFieldPair_SetSize" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveFieldPair > *""'");
89564  }
89565  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveFieldPair > * >(argp1);
89566  ecode2 = SWIG_AsVal_long(obj1, &val2);
89567  if (!SWIG_IsOK(ecode2)) {
89568  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_ReceptiveFieldPair_SetSize" "', argument " "2"" of type '" "long""'");
89569  }
89570  arg2 = static_cast< long >(val2);
89571  (arg1)->SetSize(arg2);
89572  resultobj = SWIG_Py_Void();
89573  return resultobj;
89574 fail:
89575  return NULL;
89576 }
89577 
89578 
89579 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveFieldPair_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89580  PyObject *resultobj = 0;
89581  CStdPtrArray< ReceptiveFieldPair > *arg1 = (CStdPtrArray< ReceptiveFieldPair > *) 0 ;
89582  int arg2 ;
89583  ReceptiveFieldPair *arg3 = (ReceptiveFieldPair *) 0 ;
89584  void *argp1 = 0 ;
89585  int res1 = 0 ;
89586  int val2 ;
89587  int ecode2 = 0 ;
89588  void *argp3 = 0 ;
89589  int res3 = 0 ;
89590  PyObject * obj0 = 0 ;
89591  PyObject * obj1 = 0 ;
89592  PyObject * obj2 = 0 ;
89593 
89594  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_ReceptiveFieldPair_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
89595  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, 0 | 0 );
89596  if (!SWIG_IsOK(res1)) {
89597  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveFieldPair_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveFieldPair > *""'");
89598  }
89599  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveFieldPair > * >(argp1);
89600  ecode2 = SWIG_AsVal_int(obj1, &val2);
89601  if (!SWIG_IsOK(ecode2)) {
89602  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_ReceptiveFieldPair_InsertAt" "', argument " "2"" of type '" "int""'");
89603  }
89604  arg2 = static_cast< int >(val2);
89605  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ReceptiveFieldPair, 0 | 0 );
89606  if (!SWIG_IsOK(res3)) {
89607  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_ReceptiveFieldPair_InsertAt" "', argument " "3"" of type '" "ReceptiveFieldPair *""'");
89608  }
89609  arg3 = reinterpret_cast< ReceptiveFieldPair * >(argp3);
89610  (arg1)->InsertAt(arg2,arg3);
89611  resultobj = SWIG_Py_Void();
89612  return resultobj;
89613 fail:
89614  return NULL;
89615 }
89616 
89617 
89618 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveFieldPair_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89619  PyObject *resultobj = 0;
89620  CStdPtrArray< ReceptiveFieldPair > *arg1 = (CStdPtrArray< ReceptiveFieldPair > *) 0 ;
89621  void *argp1 = 0 ;
89622  int res1 = 0 ;
89623  PyObject * obj0 = 0 ;
89624  int result;
89625 
89626  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_ReceptiveFieldPair_GetSize",&obj0)) SWIG_fail;
89627  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, 0 | 0 );
89628  if (!SWIG_IsOK(res1)) {
89629  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveFieldPair_GetSize" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveFieldPair > *""'");
89630  }
89631  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveFieldPair > * >(argp1);
89632  result = (int)(arg1)->GetSize();
89633  resultobj = SWIG_From_int(static_cast< int >(result));
89634  return resultobj;
89635 fail:
89636  return NULL;
89637 }
89638 
89639 
89640 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveFieldPair_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89641  PyObject *resultobj = 0;
89642  CStdPtrArray< ReceptiveFieldPair > *arg1 = (CStdPtrArray< ReceptiveFieldPair > *) 0 ;
89643  void *argp1 = 0 ;
89644  int res1 = 0 ;
89645  PyObject * obj0 = 0 ;
89646 
89647  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_ReceptiveFieldPair_Clear",&obj0)) SWIG_fail;
89648  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, 0 | 0 );
89649  if (!SWIG_IsOK(res1)) {
89650  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveFieldPair_Clear" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveFieldPair > *""'");
89651  }
89652  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveFieldPair > * >(argp1);
89653  (arg1)->Clear();
89654  resultobj = SWIG_Py_Void();
89655  return resultobj;
89656 fail:
89657  return NULL;
89658 }
89659 
89660 
89661 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_ReceptiveFieldPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89662  PyObject *resultobj = 0;
89663  CStdPtrArray< ReceptiveFieldPair > *result = 0 ;
89664 
89665  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_ReceptiveFieldPair")) SWIG_fail;
89666  {
89667  try {
89668  result = (CStdPtrArray< ReceptiveFieldPair > *)new CStdPtrArray< ReceptiveFieldPair >();
89669  }
89670  catch(CStdErrorInfo oError)
89671  {
89672  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
89673  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
89674  PyErr_SetString(PyExc_IndexError, strError.c_str());
89675  SWIG_fail;
89676  }
89677  catch(...)
89678  {
89679  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
89680  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
89681  SWIG_fail;
89682  }
89683  }
89684  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, SWIG_POINTER_NEW | 0 );
89685  return resultobj;
89686 fail:
89687  return NULL;
89688 }
89689 
89690 
89691 SWIGINTERN PyObject *CStdPtrArray_ReceptiveFieldPair_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89692  PyObject *obj;
89693  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
89694  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t, SWIG_NewClientData(obj));
89695  return SWIG_Py_Void();
89696 }
89697 
89698 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_ReceptiveField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89699  PyObject *resultobj = 0;
89700  CStdPtrArray< ReceptiveField > *arg1 = (CStdPtrArray< ReceptiveField > *) 0 ;
89701  void *argp1 = 0 ;
89702  int res1 = 0 ;
89703  PyObject * obj0 = 0 ;
89704 
89705  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_ReceptiveField",&obj0)) SWIG_fail;
89706  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, SWIG_POINTER_DISOWN | 0 );
89707  if (!SWIG_IsOK(res1)) {
89708  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_ReceptiveField" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveField > *""'");
89709  }
89710  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveField > * >(argp1);
89711  delete arg1;
89712  resultobj = SWIG_Py_Void();
89713  return resultobj;
89714 fail:
89715  return NULL;
89716 }
89717 
89718 
89719 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveField_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89720  PyObject *resultobj = 0;
89721  CStdPtrArray< ReceptiveField > *arg1 = (CStdPtrArray< ReceptiveField > *) 0 ;
89722  ReceptiveField *arg2 = (ReceptiveField *) 0 ;
89723  void *argp1 = 0 ;
89724  int res1 = 0 ;
89725  void *argp2 = 0 ;
89726  int res2 = 0 ;
89727  PyObject * obj0 = 0 ;
89728  PyObject * obj1 = 0 ;
89729 
89730  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_ReceptiveField_Add",&obj0,&obj1)) SWIG_fail;
89731  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, 0 | 0 );
89732  if (!SWIG_IsOK(res1)) {
89733  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveField_Add" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveField > *""'");
89734  }
89735  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveField > * >(argp1);
89736  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ReceptiveField, 0 | 0 );
89737  if (!SWIG_IsOK(res2)) {
89738  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_ReceptiveField_Add" "', argument " "2"" of type '" "ReceptiveField *""'");
89739  }
89740  arg2 = reinterpret_cast< ReceptiveField * >(argp2);
89741  (arg1)->Add(arg2);
89742  resultobj = SWIG_Py_Void();
89743  return resultobj;
89744 fail:
89745  return NULL;
89746 }
89747 
89748 
89749 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveField_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89750  PyObject *resultobj = 0;
89751  CStdPtrArray< ReceptiveField > *arg1 = (CStdPtrArray< ReceptiveField > *) 0 ;
89752  void *argp1 = 0 ;
89753  int res1 = 0 ;
89754  PyObject * obj0 = 0 ;
89755 
89756  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_ReceptiveField_clear",&obj0)) SWIG_fail;
89757  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, 0 | 0 );
89758  if (!SWIG_IsOK(res1)) {
89759  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveField_clear" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveField > *""'");
89760  }
89761  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveField > * >(argp1);
89762  (arg1)->clear();
89763  resultobj = SWIG_Py_Void();
89764  return resultobj;
89765 fail:
89766  return NULL;
89767 }
89768 
89769 
89770 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveField_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89771  PyObject *resultobj = 0;
89772  CStdPtrArray< ReceptiveField > *arg1 = (CStdPtrArray< ReceptiveField > *) 0 ;
89773  void *argp1 = 0 ;
89774  int res1 = 0 ;
89775  PyObject * obj0 = 0 ;
89776 
89777  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_ReceptiveField_RemoveAll",&obj0)) SWIG_fail;
89778  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, 0 | 0 );
89779  if (!SWIG_IsOK(res1)) {
89780  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveField_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveField > *""'");
89781  }
89782  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveField > * >(argp1);
89783  (arg1)->RemoveAll();
89784  resultobj = SWIG_Py_Void();
89785  return resultobj;
89786 fail:
89787  return NULL;
89788 }
89789 
89790 
89791 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveField_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89792  PyObject *resultobj = 0;
89793  CStdPtrArray< ReceptiveField > *arg1 = (CStdPtrArray< ReceptiveField > *) 0 ;
89794  int arg2 ;
89795  void *argp1 = 0 ;
89796  int res1 = 0 ;
89797  int val2 ;
89798  int ecode2 = 0 ;
89799  PyObject * obj0 = 0 ;
89800  PyObject * obj1 = 0 ;
89801 
89802  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_ReceptiveField_RemoveAt",&obj0,&obj1)) SWIG_fail;
89803  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, 0 | 0 );
89804  if (!SWIG_IsOK(res1)) {
89805  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveField_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveField > *""'");
89806  }
89807  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveField > * >(argp1);
89808  ecode2 = SWIG_AsVal_int(obj1, &val2);
89809  if (!SWIG_IsOK(ecode2)) {
89810  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_ReceptiveField_RemoveAt" "', argument " "2"" of type '" "int""'");
89811  }
89812  arg2 = static_cast< int >(val2);
89813  (arg1)->RemoveAt(arg2);
89814  resultobj = SWIG_Py_Void();
89815  return resultobj;
89816 fail:
89817  return NULL;
89818 }
89819 
89820 
89821 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveField_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89822  PyObject *resultobj = 0;
89823  CStdPtrArray< ReceptiveField > *arg1 = (CStdPtrArray< ReceptiveField > *) 0 ;
89824  std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator arg2 ;
89825  void *argp1 = 0 ;
89826  int res1 = 0 ;
89827  swig::SwigPyIterator *iter2 = 0 ;
89828  int res2 ;
89829  PyObject * obj0 = 0 ;
89830  PyObject * obj1 = 0 ;
89831 
89832  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_ReceptiveField_RemoveAt",&obj0,&obj1)) SWIG_fail;
89833  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, 0 | 0 );
89834  if (!SWIG_IsOK(res1)) {
89835  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveField_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveField > *""'");
89836  }
89837  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveField > * >(argp1);
89838  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
89839  if (!SWIG_IsOK(res2) || !iter2) {
89840  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveField_RemoveAt" "', argument " "2"" of type '" "std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator""'");
89841  } else {
89843  if (iter_t) {
89844  arg2 = iter_t->get_current();
89845  } else {
89846  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveField_RemoveAt" "', argument " "2"" of type '" "std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator""'");
89847  }
89848  }
89849  (arg1)->RemoveAt(arg2);
89850  resultobj = SWIG_Py_Void();
89851  return resultobj;
89852 fail:
89853  return NULL;
89854 }
89855 
89856 
89857 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveField_RemoveAt(PyObject *self, PyObject *args) {
89858  int argc;
89859  PyObject *argv[3];
89860  int ii;
89861 
89862  if (!PyTuple_Check(args)) SWIG_fail;
89863  argc = args ? (int)PyObject_Length(args) : 0;
89864  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
89865  argv[ii] = PyTuple_GET_ITEM(args,ii);
89866  }
89867  if (argc == 2) {
89868  int _v;
89869  void *vptr = 0;
89870  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, 0);
89871  _v = SWIG_CheckState(res);
89872  if (_v) {
89873  swig::SwigPyIterator *iter = 0;
89874  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
89875  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator > *>(iter) != 0));
89876  if (_v) {
89877  return _wrap_CStdPtrArray_ReceptiveField_RemoveAt__SWIG_1(self, args);
89878  }
89879  }
89880  }
89881  if (argc == 2) {
89882  int _v;
89883  void *vptr = 0;
89884  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, 0);
89885  _v = SWIG_CheckState(res);
89886  if (_v) {
89887  {
89888  int res = SWIG_AsVal_int(argv[1], NULL);
89889  _v = SWIG_CheckState(res);
89890  }
89891  if (_v) {
89892  return _wrap_CStdPtrArray_ReceptiveField_RemoveAt__SWIG_0(self, args);
89893  }
89894  }
89895  }
89896 
89897 fail:
89898  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_ReceptiveField_RemoveAt'.\n"
89899  " Possible C/C++ prototypes are:\n"
89900  " CStdPtrArray< ReceptiveField >::RemoveAt(int)\n"
89901  " CStdPtrArray< ReceptiveField >::RemoveAt(std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator)\n");
89902  return 0;
89903 }
89904 
89905 
89906 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveField_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89907  PyObject *resultobj = 0;
89908  CStdPtrArray< ReceptiveField > *arg1 = (CStdPtrArray< ReceptiveField > *) 0 ;
89909  std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator arg2 ;
89910  void *argp1 = 0 ;
89911  int res1 = 0 ;
89912  swig::SwigPyIterator *iter2 = 0 ;
89913  int res2 ;
89914  PyObject * obj0 = 0 ;
89915  PyObject * obj1 = 0 ;
89916 
89917  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_ReceptiveField_erase",&obj0,&obj1)) SWIG_fail;
89918  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, 0 | 0 );
89919  if (!SWIG_IsOK(res1)) {
89920  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveField_erase" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveField > *""'");
89921  }
89922  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveField > * >(argp1);
89923  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
89924  if (!SWIG_IsOK(res2) || !iter2) {
89925  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveField_erase" "', argument " "2"" of type '" "std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator""'");
89926  } else {
89928  if (iter_t) {
89929  arg2 = iter_t->get_current();
89930  } else {
89931  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveField_erase" "', argument " "2"" of type '" "std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator""'");
89932  }
89933  }
89934  (arg1)->erase(arg2);
89935  resultobj = SWIG_Py_Void();
89936  return resultobj;
89937 fail:
89938  return NULL;
89939 }
89940 
89941 
89942 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveField_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
89943  PyObject *resultobj = 0;
89944  CStdPtrArray< ReceptiveField > *arg1 = (CStdPtrArray< ReceptiveField > *) 0 ;
89945  std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator arg2 ;
89946  std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator arg3 ;
89947  void *argp1 = 0 ;
89948  int res1 = 0 ;
89949  swig::SwigPyIterator *iter2 = 0 ;
89950  int res2 ;
89951  swig::SwigPyIterator *iter3 = 0 ;
89952  int res3 ;
89953  PyObject * obj0 = 0 ;
89954  PyObject * obj1 = 0 ;
89955  PyObject * obj2 = 0 ;
89956 
89957  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_ReceptiveField_erase",&obj0,&obj1,&obj2)) SWIG_fail;
89958  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, 0 | 0 );
89959  if (!SWIG_IsOK(res1)) {
89960  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveField_erase" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveField > *""'");
89961  }
89962  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveField > * >(argp1);
89963  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
89964  if (!SWIG_IsOK(res2) || !iter2) {
89965  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveField_erase" "', argument " "2"" of type '" "std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator""'");
89966  } else {
89968  if (iter_t) {
89969  arg2 = iter_t->get_current();
89970  } else {
89971  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveField_erase" "', argument " "2"" of type '" "std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator""'");
89972  }
89973  }
89974  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
89975  if (!SWIG_IsOK(res3) || !iter3) {
89976  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveField_erase" "', argument " "3"" of type '" "std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator""'");
89977  } else {
89979  if (iter_t) {
89980  arg3 = iter_t->get_current();
89981  } else {
89982  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_ReceptiveField_erase" "', argument " "3"" of type '" "std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator""'");
89983  }
89984  }
89985  (arg1)->erase(arg2,arg3);
89986  resultobj = SWIG_Py_Void();
89987  return resultobj;
89988 fail:
89989  return NULL;
89990 }
89991 
89992 
89993 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveField_erase(PyObject *self, PyObject *args) {
89994  int argc;
89995  PyObject *argv[4];
89996  int ii;
89997 
89998  if (!PyTuple_Check(args)) SWIG_fail;
89999  argc = args ? (int)PyObject_Length(args) : 0;
90000  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
90001  argv[ii] = PyTuple_GET_ITEM(args,ii);
90002  }
90003  if (argc == 2) {
90004  int _v;
90005  void *vptr = 0;
90006  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, 0);
90007  _v = SWIG_CheckState(res);
90008  if (_v) {
90009  swig::SwigPyIterator *iter = 0;
90010  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
90011  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator > *>(iter) != 0));
90012  if (_v) {
90013  return _wrap_CStdPtrArray_ReceptiveField_erase__SWIG_0(self, args);
90014  }
90015  }
90016  }
90017  if (argc == 3) {
90018  int _v;
90019  void *vptr = 0;
90020  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, 0);
90021  _v = SWIG_CheckState(res);
90022  if (_v) {
90023  swig::SwigPyIterator *iter = 0;
90024  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
90025  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator > *>(iter) != 0));
90026  if (_v) {
90027  swig::SwigPyIterator *iter = 0;
90028  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
90029  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator > *>(iter) != 0));
90030  if (_v) {
90031  return _wrap_CStdPtrArray_ReceptiveField_erase__SWIG_1(self, args);
90032  }
90033  }
90034  }
90035  }
90036 
90037 fail:
90038  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_ReceptiveField_erase'.\n"
90039  " Possible C/C++ prototypes are:\n"
90040  " CStdPtrArray< ReceptiveField >::erase(std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator)\n"
90041  " CStdPtrArray< ReceptiveField >::erase(std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator,std::vector< ReceptiveField *,std::allocator< ReceptiveField * > >::iterator)\n");
90042  return 0;
90043 }
90044 
90045 
90046 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveField_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90047  PyObject *resultobj = 0;
90048  CStdPtrArray< ReceptiveField > *arg1 = (CStdPtrArray< ReceptiveField > *) 0 ;
90049  long arg2 ;
90050  void *argp1 = 0 ;
90051  int res1 = 0 ;
90052  long val2 ;
90053  int ecode2 = 0 ;
90054  PyObject * obj0 = 0 ;
90055  PyObject * obj1 = 0 ;
90056 
90057  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_ReceptiveField_SetSize",&obj0,&obj1)) SWIG_fail;
90058  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, 0 | 0 );
90059  if (!SWIG_IsOK(res1)) {
90060  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveField_SetSize" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveField > *""'");
90061  }
90062  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveField > * >(argp1);
90063  ecode2 = SWIG_AsVal_long(obj1, &val2);
90064  if (!SWIG_IsOK(ecode2)) {
90065  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_ReceptiveField_SetSize" "', argument " "2"" of type '" "long""'");
90066  }
90067  arg2 = static_cast< long >(val2);
90068  (arg1)->SetSize(arg2);
90069  resultobj = SWIG_Py_Void();
90070  return resultobj;
90071 fail:
90072  return NULL;
90073 }
90074 
90075 
90076 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveField_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90077  PyObject *resultobj = 0;
90078  CStdPtrArray< ReceptiveField > *arg1 = (CStdPtrArray< ReceptiveField > *) 0 ;
90079  int arg2 ;
90080  ReceptiveField *arg3 = (ReceptiveField *) 0 ;
90081  void *argp1 = 0 ;
90082  int res1 = 0 ;
90083  int val2 ;
90084  int ecode2 = 0 ;
90085  void *argp3 = 0 ;
90086  int res3 = 0 ;
90087  PyObject * obj0 = 0 ;
90088  PyObject * obj1 = 0 ;
90089  PyObject * obj2 = 0 ;
90090 
90091  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_ReceptiveField_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
90092  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, 0 | 0 );
90093  if (!SWIG_IsOK(res1)) {
90094  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveField_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveField > *""'");
90095  }
90096  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveField > * >(argp1);
90097  ecode2 = SWIG_AsVal_int(obj1, &val2);
90098  if (!SWIG_IsOK(ecode2)) {
90099  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_ReceptiveField_InsertAt" "', argument " "2"" of type '" "int""'");
90100  }
90101  arg2 = static_cast< int >(val2);
90102  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ReceptiveField, 0 | 0 );
90103  if (!SWIG_IsOK(res3)) {
90104  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_ReceptiveField_InsertAt" "', argument " "3"" of type '" "ReceptiveField *""'");
90105  }
90106  arg3 = reinterpret_cast< ReceptiveField * >(argp3);
90107  (arg1)->InsertAt(arg2,arg3);
90108  resultobj = SWIG_Py_Void();
90109  return resultobj;
90110 fail:
90111  return NULL;
90112 }
90113 
90114 
90115 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveField_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90116  PyObject *resultobj = 0;
90117  CStdPtrArray< ReceptiveField > *arg1 = (CStdPtrArray< ReceptiveField > *) 0 ;
90118  void *argp1 = 0 ;
90119  int res1 = 0 ;
90120  PyObject * obj0 = 0 ;
90121  int result;
90122 
90123  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_ReceptiveField_GetSize",&obj0)) SWIG_fail;
90124  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, 0 | 0 );
90125  if (!SWIG_IsOK(res1)) {
90126  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveField_GetSize" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveField > *""'");
90127  }
90128  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveField > * >(argp1);
90129  result = (int)(arg1)->GetSize();
90130  resultobj = SWIG_From_int(static_cast< int >(result));
90131  return resultobj;
90132 fail:
90133  return NULL;
90134 }
90135 
90136 
90137 SWIGINTERN PyObject *_wrap_CStdPtrArray_ReceptiveField_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90138  PyObject *resultobj = 0;
90139  CStdPtrArray< ReceptiveField > *arg1 = (CStdPtrArray< ReceptiveField > *) 0 ;
90140  void *argp1 = 0 ;
90141  int res1 = 0 ;
90142  PyObject * obj0 = 0 ;
90143 
90144  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_ReceptiveField_Clear",&obj0)) SWIG_fail;
90145  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, 0 | 0 );
90146  if (!SWIG_IsOK(res1)) {
90147  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_ReceptiveField_Clear" "', argument " "1"" of type '" "CStdPtrArray< ReceptiveField > *""'");
90148  }
90149  arg1 = reinterpret_cast< CStdPtrArray< ReceptiveField > * >(argp1);
90150  (arg1)->Clear();
90151  resultobj = SWIG_Py_Void();
90152  return resultobj;
90153 fail:
90154  return NULL;
90155 }
90156 
90157 
90158 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_ReceptiveField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90159  PyObject *resultobj = 0;
90160  CStdPtrArray< ReceptiveField > *result = 0 ;
90161 
90162  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_ReceptiveField")) SWIG_fail;
90163  {
90164  try {
90165  result = (CStdPtrArray< ReceptiveField > *)new CStdPtrArray< ReceptiveField >();
90166  }
90167  catch(CStdErrorInfo oError)
90168  {
90169  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
90170  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
90171  PyErr_SetString(PyExc_IndexError, strError.c_str());
90172  SWIG_fail;
90173  }
90174  catch(...)
90175  {
90176  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
90177  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
90178  SWIG_fail;
90179  }
90180  }
90181  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, SWIG_POINTER_NEW | 0 );
90182  return resultobj;
90183 fail:
90184  return NULL;
90185 }
90186 
90187 
90188 SWIGINTERN PyObject *CStdPtrArray_ReceptiveField_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90189  PyObject *obj;
90190  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
90191  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t, SWIG_NewClientData(obj));
90192  return SWIG_Py_Void();
90193 }
90194 
90195 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_DataColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90196  PyObject *resultobj = 0;
90197  CStdPtrArray< DataColumn > *arg1 = (CStdPtrArray< DataColumn > *) 0 ;
90198  void *argp1 = 0 ;
90199  int res1 = 0 ;
90200  PyObject * obj0 = 0 ;
90201 
90202  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_DataColumn",&obj0)) SWIG_fail;
90203  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, SWIG_POINTER_DISOWN | 0 );
90204  if (!SWIG_IsOK(res1)) {
90205  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_DataColumn" "', argument " "1"" of type '" "CStdPtrArray< DataColumn > *""'");
90206  }
90207  arg1 = reinterpret_cast< CStdPtrArray< DataColumn > * >(argp1);
90208  delete arg1;
90209  resultobj = SWIG_Py_Void();
90210  return resultobj;
90211 fail:
90212  return NULL;
90213 }
90214 
90215 
90216 SWIGINTERN PyObject *_wrap_CStdPtrArray_DataColumn_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90217  PyObject *resultobj = 0;
90218  CStdPtrArray< DataColumn > *arg1 = (CStdPtrArray< DataColumn > *) 0 ;
90219  DataColumn *arg2 = (DataColumn *) 0 ;
90220  void *argp1 = 0 ;
90221  int res1 = 0 ;
90222  void *argp2 = 0 ;
90223  int res2 = 0 ;
90224  PyObject * obj0 = 0 ;
90225  PyObject * obj1 = 0 ;
90226 
90227  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_DataColumn_Add",&obj0,&obj1)) SWIG_fail;
90228  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, 0 | 0 );
90229  if (!SWIG_IsOK(res1)) {
90230  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_DataColumn_Add" "', argument " "1"" of type '" "CStdPtrArray< DataColumn > *""'");
90231  }
90232  arg1 = reinterpret_cast< CStdPtrArray< DataColumn > * >(argp1);
90233  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_DataColumn, 0 | 0 );
90234  if (!SWIG_IsOK(res2)) {
90235  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_DataColumn_Add" "', argument " "2"" of type '" "DataColumn *""'");
90236  }
90237  arg2 = reinterpret_cast< DataColumn * >(argp2);
90238  (arg1)->Add(arg2);
90239  resultobj = SWIG_Py_Void();
90240  return resultobj;
90241 fail:
90242  return NULL;
90243 }
90244 
90245 
90246 SWIGINTERN PyObject *_wrap_CStdPtrArray_DataColumn_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90247  PyObject *resultobj = 0;
90248  CStdPtrArray< DataColumn > *arg1 = (CStdPtrArray< DataColumn > *) 0 ;
90249  void *argp1 = 0 ;
90250  int res1 = 0 ;
90251  PyObject * obj0 = 0 ;
90252 
90253  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_DataColumn_clear",&obj0)) SWIG_fail;
90254  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, 0 | 0 );
90255  if (!SWIG_IsOK(res1)) {
90256  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_DataColumn_clear" "', argument " "1"" of type '" "CStdPtrArray< DataColumn > *""'");
90257  }
90258  arg1 = reinterpret_cast< CStdPtrArray< DataColumn > * >(argp1);
90259  (arg1)->clear();
90260  resultobj = SWIG_Py_Void();
90261  return resultobj;
90262 fail:
90263  return NULL;
90264 }
90265 
90266 
90267 SWIGINTERN PyObject *_wrap_CStdPtrArray_DataColumn_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90268  PyObject *resultobj = 0;
90269  CStdPtrArray< DataColumn > *arg1 = (CStdPtrArray< DataColumn > *) 0 ;
90270  void *argp1 = 0 ;
90271  int res1 = 0 ;
90272  PyObject * obj0 = 0 ;
90273 
90274  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_DataColumn_RemoveAll",&obj0)) SWIG_fail;
90275  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, 0 | 0 );
90276  if (!SWIG_IsOK(res1)) {
90277  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_DataColumn_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< DataColumn > *""'");
90278  }
90279  arg1 = reinterpret_cast< CStdPtrArray< DataColumn > * >(argp1);
90280  (arg1)->RemoveAll();
90281  resultobj = SWIG_Py_Void();
90282  return resultobj;
90283 fail:
90284  return NULL;
90285 }
90286 
90287 
90288 SWIGINTERN PyObject *_wrap_CStdPtrArray_DataColumn_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90289  PyObject *resultobj = 0;
90290  CStdPtrArray< DataColumn > *arg1 = (CStdPtrArray< DataColumn > *) 0 ;
90291  int arg2 ;
90292  void *argp1 = 0 ;
90293  int res1 = 0 ;
90294  int val2 ;
90295  int ecode2 = 0 ;
90296  PyObject * obj0 = 0 ;
90297  PyObject * obj1 = 0 ;
90298 
90299  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_DataColumn_RemoveAt",&obj0,&obj1)) SWIG_fail;
90300  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, 0 | 0 );
90301  if (!SWIG_IsOK(res1)) {
90302  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_DataColumn_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< DataColumn > *""'");
90303  }
90304  arg1 = reinterpret_cast< CStdPtrArray< DataColumn > * >(argp1);
90305  ecode2 = SWIG_AsVal_int(obj1, &val2);
90306  if (!SWIG_IsOK(ecode2)) {
90307  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_DataColumn_RemoveAt" "', argument " "2"" of type '" "int""'");
90308  }
90309  arg2 = static_cast< int >(val2);
90310  (arg1)->RemoveAt(arg2);
90311  resultobj = SWIG_Py_Void();
90312  return resultobj;
90313 fail:
90314  return NULL;
90315 }
90316 
90317 
90318 SWIGINTERN PyObject *_wrap_CStdPtrArray_DataColumn_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90319  PyObject *resultobj = 0;
90320  CStdPtrArray< DataColumn > *arg1 = (CStdPtrArray< DataColumn > *) 0 ;
90321  std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator arg2 ;
90322  void *argp1 = 0 ;
90323  int res1 = 0 ;
90324  swig::SwigPyIterator *iter2 = 0 ;
90325  int res2 ;
90326  PyObject * obj0 = 0 ;
90327  PyObject * obj1 = 0 ;
90328 
90329  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_DataColumn_RemoveAt",&obj0,&obj1)) SWIG_fail;
90330  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, 0 | 0 );
90331  if (!SWIG_IsOK(res1)) {
90332  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_DataColumn_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< DataColumn > *""'");
90333  }
90334  arg1 = reinterpret_cast< CStdPtrArray< DataColumn > * >(argp1);
90335  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
90336  if (!SWIG_IsOK(res2) || !iter2) {
90337  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_DataColumn_RemoveAt" "', argument " "2"" of type '" "std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator""'");
90338  } else {
90340  if (iter_t) {
90341  arg2 = iter_t->get_current();
90342  } else {
90343  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_DataColumn_RemoveAt" "', argument " "2"" of type '" "std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator""'");
90344  }
90345  }
90346  (arg1)->RemoveAt(arg2);
90347  resultobj = SWIG_Py_Void();
90348  return resultobj;
90349 fail:
90350  return NULL;
90351 }
90352 
90353 
90354 SWIGINTERN PyObject *_wrap_CStdPtrArray_DataColumn_RemoveAt(PyObject *self, PyObject *args) {
90355  int argc;
90356  PyObject *argv[3];
90357  int ii;
90358 
90359  if (!PyTuple_Check(args)) SWIG_fail;
90360  argc = args ? (int)PyObject_Length(args) : 0;
90361  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
90362  argv[ii] = PyTuple_GET_ITEM(args,ii);
90363  }
90364  if (argc == 2) {
90365  int _v;
90366  void *vptr = 0;
90367  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, 0);
90368  _v = SWIG_CheckState(res);
90369  if (_v) {
90370  swig::SwigPyIterator *iter = 0;
90371  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
90372  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator > *>(iter) != 0));
90373  if (_v) {
90374  return _wrap_CStdPtrArray_DataColumn_RemoveAt__SWIG_1(self, args);
90375  }
90376  }
90377  }
90378  if (argc == 2) {
90379  int _v;
90380  void *vptr = 0;
90381  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, 0);
90382  _v = SWIG_CheckState(res);
90383  if (_v) {
90384  {
90385  int res = SWIG_AsVal_int(argv[1], NULL);
90386  _v = SWIG_CheckState(res);
90387  }
90388  if (_v) {
90389  return _wrap_CStdPtrArray_DataColumn_RemoveAt__SWIG_0(self, args);
90390  }
90391  }
90392  }
90393 
90394 fail:
90395  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_DataColumn_RemoveAt'.\n"
90396  " Possible C/C++ prototypes are:\n"
90397  " CStdPtrArray< DataColumn >::RemoveAt(int)\n"
90398  " CStdPtrArray< DataColumn >::RemoveAt(std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator)\n");
90399  return 0;
90400 }
90401 
90402 
90403 SWIGINTERN PyObject *_wrap_CStdPtrArray_DataColumn_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90404  PyObject *resultobj = 0;
90405  CStdPtrArray< DataColumn > *arg1 = (CStdPtrArray< DataColumn > *) 0 ;
90406  std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator arg2 ;
90407  void *argp1 = 0 ;
90408  int res1 = 0 ;
90409  swig::SwigPyIterator *iter2 = 0 ;
90410  int res2 ;
90411  PyObject * obj0 = 0 ;
90412  PyObject * obj1 = 0 ;
90413 
90414  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_DataColumn_erase",&obj0,&obj1)) SWIG_fail;
90415  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, 0 | 0 );
90416  if (!SWIG_IsOK(res1)) {
90417  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_DataColumn_erase" "', argument " "1"" of type '" "CStdPtrArray< DataColumn > *""'");
90418  }
90419  arg1 = reinterpret_cast< CStdPtrArray< DataColumn > * >(argp1);
90420  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
90421  if (!SWIG_IsOK(res2) || !iter2) {
90422  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_DataColumn_erase" "', argument " "2"" of type '" "std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator""'");
90423  } else {
90425  if (iter_t) {
90426  arg2 = iter_t->get_current();
90427  } else {
90428  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_DataColumn_erase" "', argument " "2"" of type '" "std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator""'");
90429  }
90430  }
90431  (arg1)->erase(arg2);
90432  resultobj = SWIG_Py_Void();
90433  return resultobj;
90434 fail:
90435  return NULL;
90436 }
90437 
90438 
90439 SWIGINTERN PyObject *_wrap_CStdPtrArray_DataColumn_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90440  PyObject *resultobj = 0;
90441  CStdPtrArray< DataColumn > *arg1 = (CStdPtrArray< DataColumn > *) 0 ;
90442  std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator arg2 ;
90443  std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator arg3 ;
90444  void *argp1 = 0 ;
90445  int res1 = 0 ;
90446  swig::SwigPyIterator *iter2 = 0 ;
90447  int res2 ;
90448  swig::SwigPyIterator *iter3 = 0 ;
90449  int res3 ;
90450  PyObject * obj0 = 0 ;
90451  PyObject * obj1 = 0 ;
90452  PyObject * obj2 = 0 ;
90453 
90454  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_DataColumn_erase",&obj0,&obj1,&obj2)) SWIG_fail;
90455  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, 0 | 0 );
90456  if (!SWIG_IsOK(res1)) {
90457  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_DataColumn_erase" "', argument " "1"" of type '" "CStdPtrArray< DataColumn > *""'");
90458  }
90459  arg1 = reinterpret_cast< CStdPtrArray< DataColumn > * >(argp1);
90460  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
90461  if (!SWIG_IsOK(res2) || !iter2) {
90462  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_DataColumn_erase" "', argument " "2"" of type '" "std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator""'");
90463  } else {
90465  if (iter_t) {
90466  arg2 = iter_t->get_current();
90467  } else {
90468  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_DataColumn_erase" "', argument " "2"" of type '" "std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator""'");
90469  }
90470  }
90471  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
90472  if (!SWIG_IsOK(res3) || !iter3) {
90473  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_DataColumn_erase" "', argument " "3"" of type '" "std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator""'");
90474  } else {
90476  if (iter_t) {
90477  arg3 = iter_t->get_current();
90478  } else {
90479  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_DataColumn_erase" "', argument " "3"" of type '" "std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator""'");
90480  }
90481  }
90482  (arg1)->erase(arg2,arg3);
90483  resultobj = SWIG_Py_Void();
90484  return resultobj;
90485 fail:
90486  return NULL;
90487 }
90488 
90489 
90490 SWIGINTERN PyObject *_wrap_CStdPtrArray_DataColumn_erase(PyObject *self, PyObject *args) {
90491  int argc;
90492  PyObject *argv[4];
90493  int ii;
90494 
90495  if (!PyTuple_Check(args)) SWIG_fail;
90496  argc = args ? (int)PyObject_Length(args) : 0;
90497  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
90498  argv[ii] = PyTuple_GET_ITEM(args,ii);
90499  }
90500  if (argc == 2) {
90501  int _v;
90502  void *vptr = 0;
90503  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, 0);
90504  _v = SWIG_CheckState(res);
90505  if (_v) {
90506  swig::SwigPyIterator *iter = 0;
90507  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
90508  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator > *>(iter) != 0));
90509  if (_v) {
90510  return _wrap_CStdPtrArray_DataColumn_erase__SWIG_0(self, args);
90511  }
90512  }
90513  }
90514  if (argc == 3) {
90515  int _v;
90516  void *vptr = 0;
90517  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, 0);
90518  _v = SWIG_CheckState(res);
90519  if (_v) {
90520  swig::SwigPyIterator *iter = 0;
90521  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
90522  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator > *>(iter) != 0));
90523  if (_v) {
90524  swig::SwigPyIterator *iter = 0;
90525  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
90526  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator > *>(iter) != 0));
90527  if (_v) {
90528  return _wrap_CStdPtrArray_DataColumn_erase__SWIG_1(self, args);
90529  }
90530  }
90531  }
90532  }
90533 
90534 fail:
90535  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_DataColumn_erase'.\n"
90536  " Possible C/C++ prototypes are:\n"
90537  " CStdPtrArray< DataColumn >::erase(std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator)\n"
90538  " CStdPtrArray< DataColumn >::erase(std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator,std::vector< DataColumn *,std::allocator< DataColumn * > >::iterator)\n");
90539  return 0;
90540 }
90541 
90542 
90543 SWIGINTERN PyObject *_wrap_CStdPtrArray_DataColumn_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90544  PyObject *resultobj = 0;
90545  CStdPtrArray< DataColumn > *arg1 = (CStdPtrArray< DataColumn > *) 0 ;
90546  long arg2 ;
90547  void *argp1 = 0 ;
90548  int res1 = 0 ;
90549  long val2 ;
90550  int ecode2 = 0 ;
90551  PyObject * obj0 = 0 ;
90552  PyObject * obj1 = 0 ;
90553 
90554  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_DataColumn_SetSize",&obj0,&obj1)) SWIG_fail;
90555  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, 0 | 0 );
90556  if (!SWIG_IsOK(res1)) {
90557  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_DataColumn_SetSize" "', argument " "1"" of type '" "CStdPtrArray< DataColumn > *""'");
90558  }
90559  arg1 = reinterpret_cast< CStdPtrArray< DataColumn > * >(argp1);
90560  ecode2 = SWIG_AsVal_long(obj1, &val2);
90561  if (!SWIG_IsOK(ecode2)) {
90562  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_DataColumn_SetSize" "', argument " "2"" of type '" "long""'");
90563  }
90564  arg2 = static_cast< long >(val2);
90565  (arg1)->SetSize(arg2);
90566  resultobj = SWIG_Py_Void();
90567  return resultobj;
90568 fail:
90569  return NULL;
90570 }
90571 
90572 
90573 SWIGINTERN PyObject *_wrap_CStdPtrArray_DataColumn_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90574  PyObject *resultobj = 0;
90575  CStdPtrArray< DataColumn > *arg1 = (CStdPtrArray< DataColumn > *) 0 ;
90576  int arg2 ;
90577  DataColumn *arg3 = (DataColumn *) 0 ;
90578  void *argp1 = 0 ;
90579  int res1 = 0 ;
90580  int val2 ;
90581  int ecode2 = 0 ;
90582  void *argp3 = 0 ;
90583  int res3 = 0 ;
90584  PyObject * obj0 = 0 ;
90585  PyObject * obj1 = 0 ;
90586  PyObject * obj2 = 0 ;
90587 
90588  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_DataColumn_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
90589  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, 0 | 0 );
90590  if (!SWIG_IsOK(res1)) {
90591  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_DataColumn_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< DataColumn > *""'");
90592  }
90593  arg1 = reinterpret_cast< CStdPtrArray< DataColumn > * >(argp1);
90594  ecode2 = SWIG_AsVal_int(obj1, &val2);
90595  if (!SWIG_IsOK(ecode2)) {
90596  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_DataColumn_InsertAt" "', argument " "2"" of type '" "int""'");
90597  }
90598  arg2 = static_cast< int >(val2);
90599  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_DataColumn, 0 | 0 );
90600  if (!SWIG_IsOK(res3)) {
90601  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_DataColumn_InsertAt" "', argument " "3"" of type '" "DataColumn *""'");
90602  }
90603  arg3 = reinterpret_cast< DataColumn * >(argp3);
90604  (arg1)->InsertAt(arg2,arg3);
90605  resultobj = SWIG_Py_Void();
90606  return resultobj;
90607 fail:
90608  return NULL;
90609 }
90610 
90611 
90612 SWIGINTERN PyObject *_wrap_CStdPtrArray_DataColumn_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90613  PyObject *resultobj = 0;
90614  CStdPtrArray< DataColumn > *arg1 = (CStdPtrArray< DataColumn > *) 0 ;
90615  void *argp1 = 0 ;
90616  int res1 = 0 ;
90617  PyObject * obj0 = 0 ;
90618  int result;
90619 
90620  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_DataColumn_GetSize",&obj0)) SWIG_fail;
90621  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, 0 | 0 );
90622  if (!SWIG_IsOK(res1)) {
90623  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_DataColumn_GetSize" "', argument " "1"" of type '" "CStdPtrArray< DataColumn > *""'");
90624  }
90625  arg1 = reinterpret_cast< CStdPtrArray< DataColumn > * >(argp1);
90626  result = (int)(arg1)->GetSize();
90627  resultobj = SWIG_From_int(static_cast< int >(result));
90628  return resultobj;
90629 fail:
90630  return NULL;
90631 }
90632 
90633 
90634 SWIGINTERN PyObject *_wrap_CStdPtrArray_DataColumn_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90635  PyObject *resultobj = 0;
90636  CStdPtrArray< DataColumn > *arg1 = (CStdPtrArray< DataColumn > *) 0 ;
90637  void *argp1 = 0 ;
90638  int res1 = 0 ;
90639  PyObject * obj0 = 0 ;
90640 
90641  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_DataColumn_Clear",&obj0)) SWIG_fail;
90642  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, 0 | 0 );
90643  if (!SWIG_IsOK(res1)) {
90644  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_DataColumn_Clear" "', argument " "1"" of type '" "CStdPtrArray< DataColumn > *""'");
90645  }
90646  arg1 = reinterpret_cast< CStdPtrArray< DataColumn > * >(argp1);
90647  (arg1)->Clear();
90648  resultobj = SWIG_Py_Void();
90649  return resultobj;
90650 fail:
90651  return NULL;
90652 }
90653 
90654 
90655 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_DataColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90656  PyObject *resultobj = 0;
90657  CStdPtrArray< DataColumn > *result = 0 ;
90658 
90659  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_DataColumn")) SWIG_fail;
90660  {
90661  try {
90662  result = (CStdPtrArray< DataColumn > *)new CStdPtrArray< DataColumn >();
90663  }
90664  catch(CStdErrorInfo oError)
90665  {
90666  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
90667  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
90668  PyErr_SetString(PyExc_IndexError, strError.c_str());
90669  SWIG_fail;
90670  }
90671  catch(...)
90672  {
90673  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
90674  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
90675  SWIG_fail;
90676  }
90677  }
90678  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, SWIG_POINTER_NEW | 0 );
90679  return resultobj;
90680 fail:
90681  return NULL;
90682 }
90683 
90684 
90685 SWIGINTERN PyObject *CStdPtrArray_DataColumn_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90686  PyObject *obj;
90687  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
90688  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_DataColumn_t, SWIG_NewClientData(obj));
90689  return SWIG_Py_Void();
90690 }
90691 
90692 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_HudItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90693  PyObject *resultobj = 0;
90694  CStdPtrArray< HudItem > *arg1 = (CStdPtrArray< HudItem > *) 0 ;
90695  void *argp1 = 0 ;
90696  int res1 = 0 ;
90697  PyObject * obj0 = 0 ;
90698 
90699  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_HudItem",&obj0)) SWIG_fail;
90700  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_HudItem_t, SWIG_POINTER_DISOWN | 0 );
90701  if (!SWIG_IsOK(res1)) {
90702  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_HudItem" "', argument " "1"" of type '" "CStdPtrArray< HudItem > *""'");
90703  }
90704  arg1 = reinterpret_cast< CStdPtrArray< HudItem > * >(argp1);
90705  delete arg1;
90706  resultobj = SWIG_Py_Void();
90707  return resultobj;
90708 fail:
90709  return NULL;
90710 }
90711 
90712 
90713 SWIGINTERN PyObject *_wrap_CStdPtrArray_HudItem_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90714  PyObject *resultobj = 0;
90715  CStdPtrArray< HudItem > *arg1 = (CStdPtrArray< HudItem > *) 0 ;
90716  HudItem *arg2 = (HudItem *) 0 ;
90717  void *argp1 = 0 ;
90718  int res1 = 0 ;
90719  void *argp2 = 0 ;
90720  int res2 = 0 ;
90721  PyObject * obj0 = 0 ;
90722  PyObject * obj1 = 0 ;
90723 
90724  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_HudItem_Add",&obj0,&obj1)) SWIG_fail;
90725  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_HudItem_t, 0 | 0 );
90726  if (!SWIG_IsOK(res1)) {
90727  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_HudItem_Add" "', argument " "1"" of type '" "CStdPtrArray< HudItem > *""'");
90728  }
90729  arg1 = reinterpret_cast< CStdPtrArray< HudItem > * >(argp1);
90730  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_HudItem, 0 | 0 );
90731  if (!SWIG_IsOK(res2)) {
90732  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_HudItem_Add" "', argument " "2"" of type '" "HudItem *""'");
90733  }
90734  arg2 = reinterpret_cast< HudItem * >(argp2);
90735  (arg1)->Add(arg2);
90736  resultobj = SWIG_Py_Void();
90737  return resultobj;
90738 fail:
90739  return NULL;
90740 }
90741 
90742 
90743 SWIGINTERN PyObject *_wrap_CStdPtrArray_HudItem_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90744  PyObject *resultobj = 0;
90745  CStdPtrArray< HudItem > *arg1 = (CStdPtrArray< HudItem > *) 0 ;
90746  void *argp1 = 0 ;
90747  int res1 = 0 ;
90748  PyObject * obj0 = 0 ;
90749 
90750  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_HudItem_clear",&obj0)) SWIG_fail;
90751  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_HudItem_t, 0 | 0 );
90752  if (!SWIG_IsOK(res1)) {
90753  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_HudItem_clear" "', argument " "1"" of type '" "CStdPtrArray< HudItem > *""'");
90754  }
90755  arg1 = reinterpret_cast< CStdPtrArray< HudItem > * >(argp1);
90756  (arg1)->clear();
90757  resultobj = SWIG_Py_Void();
90758  return resultobj;
90759 fail:
90760  return NULL;
90761 }
90762 
90763 
90764 SWIGINTERN PyObject *_wrap_CStdPtrArray_HudItem_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90765  PyObject *resultobj = 0;
90766  CStdPtrArray< HudItem > *arg1 = (CStdPtrArray< HudItem > *) 0 ;
90767  void *argp1 = 0 ;
90768  int res1 = 0 ;
90769  PyObject * obj0 = 0 ;
90770 
90771  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_HudItem_RemoveAll",&obj0)) SWIG_fail;
90772  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_HudItem_t, 0 | 0 );
90773  if (!SWIG_IsOK(res1)) {
90774  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_HudItem_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< HudItem > *""'");
90775  }
90776  arg1 = reinterpret_cast< CStdPtrArray< HudItem > * >(argp1);
90777  (arg1)->RemoveAll();
90778  resultobj = SWIG_Py_Void();
90779  return resultobj;
90780 fail:
90781  return NULL;
90782 }
90783 
90784 
90785 SWIGINTERN PyObject *_wrap_CStdPtrArray_HudItem_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90786  PyObject *resultobj = 0;
90787  CStdPtrArray< HudItem > *arg1 = (CStdPtrArray< HudItem > *) 0 ;
90788  int arg2 ;
90789  void *argp1 = 0 ;
90790  int res1 = 0 ;
90791  int val2 ;
90792  int ecode2 = 0 ;
90793  PyObject * obj0 = 0 ;
90794  PyObject * obj1 = 0 ;
90795 
90796  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_HudItem_RemoveAt",&obj0,&obj1)) SWIG_fail;
90797  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_HudItem_t, 0 | 0 );
90798  if (!SWIG_IsOK(res1)) {
90799  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_HudItem_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< HudItem > *""'");
90800  }
90801  arg1 = reinterpret_cast< CStdPtrArray< HudItem > * >(argp1);
90802  ecode2 = SWIG_AsVal_int(obj1, &val2);
90803  if (!SWIG_IsOK(ecode2)) {
90804  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_HudItem_RemoveAt" "', argument " "2"" of type '" "int""'");
90805  }
90806  arg2 = static_cast< int >(val2);
90807  (arg1)->RemoveAt(arg2);
90808  resultobj = SWIG_Py_Void();
90809  return resultobj;
90810 fail:
90811  return NULL;
90812 }
90813 
90814 
90815 SWIGINTERN PyObject *_wrap_CStdPtrArray_HudItem_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90816  PyObject *resultobj = 0;
90817  CStdPtrArray< HudItem > *arg1 = (CStdPtrArray< HudItem > *) 0 ;
90818  std::vector< HudItem *,std::allocator< HudItem * > >::iterator arg2 ;
90819  void *argp1 = 0 ;
90820  int res1 = 0 ;
90821  swig::SwigPyIterator *iter2 = 0 ;
90822  int res2 ;
90823  PyObject * obj0 = 0 ;
90824  PyObject * obj1 = 0 ;
90825 
90826  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_HudItem_RemoveAt",&obj0,&obj1)) SWIG_fail;
90827  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_HudItem_t, 0 | 0 );
90828  if (!SWIG_IsOK(res1)) {
90829  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_HudItem_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< HudItem > *""'");
90830  }
90831  arg1 = reinterpret_cast< CStdPtrArray< HudItem > * >(argp1);
90832  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
90833  if (!SWIG_IsOK(res2) || !iter2) {
90834  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_HudItem_RemoveAt" "', argument " "2"" of type '" "std::vector< HudItem *,std::allocator< HudItem * > >::iterator""'");
90835  } else {
90837  if (iter_t) {
90838  arg2 = iter_t->get_current();
90839  } else {
90840  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_HudItem_RemoveAt" "', argument " "2"" of type '" "std::vector< HudItem *,std::allocator< HudItem * > >::iterator""'");
90841  }
90842  }
90843  (arg1)->RemoveAt(arg2);
90844  resultobj = SWIG_Py_Void();
90845  return resultobj;
90846 fail:
90847  return NULL;
90848 }
90849 
90850 
90851 SWIGINTERN PyObject *_wrap_CStdPtrArray_HudItem_RemoveAt(PyObject *self, PyObject *args) {
90852  int argc;
90853  PyObject *argv[3];
90854  int ii;
90855 
90856  if (!PyTuple_Check(args)) SWIG_fail;
90857  argc = args ? (int)PyObject_Length(args) : 0;
90858  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
90859  argv[ii] = PyTuple_GET_ITEM(args,ii);
90860  }
90861  if (argc == 2) {
90862  int _v;
90863  void *vptr = 0;
90864  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_HudItem_t, 0);
90865  _v = SWIG_CheckState(res);
90866  if (_v) {
90867  swig::SwigPyIterator *iter = 0;
90868  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
90869  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< HudItem *,std::allocator< HudItem * > >::iterator > *>(iter) != 0));
90870  if (_v) {
90871  return _wrap_CStdPtrArray_HudItem_RemoveAt__SWIG_1(self, args);
90872  }
90873  }
90874  }
90875  if (argc == 2) {
90876  int _v;
90877  void *vptr = 0;
90878  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_HudItem_t, 0);
90879  _v = SWIG_CheckState(res);
90880  if (_v) {
90881  {
90882  int res = SWIG_AsVal_int(argv[1], NULL);
90883  _v = SWIG_CheckState(res);
90884  }
90885  if (_v) {
90886  return _wrap_CStdPtrArray_HudItem_RemoveAt__SWIG_0(self, args);
90887  }
90888  }
90889  }
90890 
90891 fail:
90892  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_HudItem_RemoveAt'.\n"
90893  " Possible C/C++ prototypes are:\n"
90894  " CStdPtrArray< HudItem >::RemoveAt(int)\n"
90895  " CStdPtrArray< HudItem >::RemoveAt(std::vector< HudItem *,std::allocator< HudItem * > >::iterator)\n");
90896  return 0;
90897 }
90898 
90899 
90900 SWIGINTERN PyObject *_wrap_CStdPtrArray_HudItem_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90901  PyObject *resultobj = 0;
90902  CStdPtrArray< HudItem > *arg1 = (CStdPtrArray< HudItem > *) 0 ;
90903  std::vector< HudItem *,std::allocator< HudItem * > >::iterator arg2 ;
90904  void *argp1 = 0 ;
90905  int res1 = 0 ;
90906  swig::SwigPyIterator *iter2 = 0 ;
90907  int res2 ;
90908  PyObject * obj0 = 0 ;
90909  PyObject * obj1 = 0 ;
90910 
90911  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_HudItem_erase",&obj0,&obj1)) SWIG_fail;
90912  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_HudItem_t, 0 | 0 );
90913  if (!SWIG_IsOK(res1)) {
90914  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_HudItem_erase" "', argument " "1"" of type '" "CStdPtrArray< HudItem > *""'");
90915  }
90916  arg1 = reinterpret_cast< CStdPtrArray< HudItem > * >(argp1);
90917  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
90918  if (!SWIG_IsOK(res2) || !iter2) {
90919  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_HudItem_erase" "', argument " "2"" of type '" "std::vector< HudItem *,std::allocator< HudItem * > >::iterator""'");
90920  } else {
90922  if (iter_t) {
90923  arg2 = iter_t->get_current();
90924  } else {
90925  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_HudItem_erase" "', argument " "2"" of type '" "std::vector< HudItem *,std::allocator< HudItem * > >::iterator""'");
90926  }
90927  }
90928  (arg1)->erase(arg2);
90929  resultobj = SWIG_Py_Void();
90930  return resultobj;
90931 fail:
90932  return NULL;
90933 }
90934 
90935 
90936 SWIGINTERN PyObject *_wrap_CStdPtrArray_HudItem_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
90937  PyObject *resultobj = 0;
90938  CStdPtrArray< HudItem > *arg1 = (CStdPtrArray< HudItem > *) 0 ;
90939  std::vector< HudItem *,std::allocator< HudItem * > >::iterator arg2 ;
90940  std::vector< HudItem *,std::allocator< HudItem * > >::iterator arg3 ;
90941  void *argp1 = 0 ;
90942  int res1 = 0 ;
90943  swig::SwigPyIterator *iter2 = 0 ;
90944  int res2 ;
90945  swig::SwigPyIterator *iter3 = 0 ;
90946  int res3 ;
90947  PyObject * obj0 = 0 ;
90948  PyObject * obj1 = 0 ;
90949  PyObject * obj2 = 0 ;
90950 
90951  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_HudItem_erase",&obj0,&obj1,&obj2)) SWIG_fail;
90952  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_HudItem_t, 0 | 0 );
90953  if (!SWIG_IsOK(res1)) {
90954  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_HudItem_erase" "', argument " "1"" of type '" "CStdPtrArray< HudItem > *""'");
90955  }
90956  arg1 = reinterpret_cast< CStdPtrArray< HudItem > * >(argp1);
90957  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
90958  if (!SWIG_IsOK(res2) || !iter2) {
90959  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_HudItem_erase" "', argument " "2"" of type '" "std::vector< HudItem *,std::allocator< HudItem * > >::iterator""'");
90960  } else {
90962  if (iter_t) {
90963  arg2 = iter_t->get_current();
90964  } else {
90965  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_HudItem_erase" "', argument " "2"" of type '" "std::vector< HudItem *,std::allocator< HudItem * > >::iterator""'");
90966  }
90967  }
90968  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
90969  if (!SWIG_IsOK(res3) || !iter3) {
90970  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_HudItem_erase" "', argument " "3"" of type '" "std::vector< HudItem *,std::allocator< HudItem * > >::iterator""'");
90971  } else {
90973  if (iter_t) {
90974  arg3 = iter_t->get_current();
90975  } else {
90976  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_HudItem_erase" "', argument " "3"" of type '" "std::vector< HudItem *,std::allocator< HudItem * > >::iterator""'");
90977  }
90978  }
90979  (arg1)->erase(arg2,arg3);
90980  resultobj = SWIG_Py_Void();
90981  return resultobj;
90982 fail:
90983  return NULL;
90984 }
90985 
90986 
90987 SWIGINTERN PyObject *_wrap_CStdPtrArray_HudItem_erase(PyObject *self, PyObject *args) {
90988  int argc;
90989  PyObject *argv[4];
90990  int ii;
90991 
90992  if (!PyTuple_Check(args)) SWIG_fail;
90993  argc = args ? (int)PyObject_Length(args) : 0;
90994  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
90995  argv[ii] = PyTuple_GET_ITEM(args,ii);
90996  }
90997  if (argc == 2) {
90998  int _v;
90999  void *vptr = 0;
91000  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_HudItem_t, 0);
91001  _v = SWIG_CheckState(res);
91002  if (_v) {
91003  swig::SwigPyIterator *iter = 0;
91004  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
91005  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< HudItem *,std::allocator< HudItem * > >::iterator > *>(iter) != 0));
91006  if (_v) {
91007  return _wrap_CStdPtrArray_HudItem_erase__SWIG_0(self, args);
91008  }
91009  }
91010  }
91011  if (argc == 3) {
91012  int _v;
91013  void *vptr = 0;
91014  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_HudItem_t, 0);
91015  _v = SWIG_CheckState(res);
91016  if (_v) {
91017  swig::SwigPyIterator *iter = 0;
91018  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
91019  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< HudItem *,std::allocator< HudItem * > >::iterator > *>(iter) != 0));
91020  if (_v) {
91021  swig::SwigPyIterator *iter = 0;
91022  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
91023  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< HudItem *,std::allocator< HudItem * > >::iterator > *>(iter) != 0));
91024  if (_v) {
91025  return _wrap_CStdPtrArray_HudItem_erase__SWIG_1(self, args);
91026  }
91027  }
91028  }
91029  }
91030 
91031 fail:
91032  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_HudItem_erase'.\n"
91033  " Possible C/C++ prototypes are:\n"
91034  " CStdPtrArray< HudItem >::erase(std::vector< HudItem *,std::allocator< HudItem * > >::iterator)\n"
91035  " CStdPtrArray< HudItem >::erase(std::vector< HudItem *,std::allocator< HudItem * > >::iterator,std::vector< HudItem *,std::allocator< HudItem * > >::iterator)\n");
91036  return 0;
91037 }
91038 
91039 
91040 SWIGINTERN PyObject *_wrap_CStdPtrArray_HudItem_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91041  PyObject *resultobj = 0;
91042  CStdPtrArray< HudItem > *arg1 = (CStdPtrArray< HudItem > *) 0 ;
91043  long arg2 ;
91044  void *argp1 = 0 ;
91045  int res1 = 0 ;
91046  long val2 ;
91047  int ecode2 = 0 ;
91048  PyObject * obj0 = 0 ;
91049  PyObject * obj1 = 0 ;
91050 
91051  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_HudItem_SetSize",&obj0,&obj1)) SWIG_fail;
91052  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_HudItem_t, 0 | 0 );
91053  if (!SWIG_IsOK(res1)) {
91054  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_HudItem_SetSize" "', argument " "1"" of type '" "CStdPtrArray< HudItem > *""'");
91055  }
91056  arg1 = reinterpret_cast< CStdPtrArray< HudItem > * >(argp1);
91057  ecode2 = SWIG_AsVal_long(obj1, &val2);
91058  if (!SWIG_IsOK(ecode2)) {
91059  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_HudItem_SetSize" "', argument " "2"" of type '" "long""'");
91060  }
91061  arg2 = static_cast< long >(val2);
91062  (arg1)->SetSize(arg2);
91063  resultobj = SWIG_Py_Void();
91064  return resultobj;
91065 fail:
91066  return NULL;
91067 }
91068 
91069 
91070 SWIGINTERN PyObject *_wrap_CStdPtrArray_HudItem_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91071  PyObject *resultobj = 0;
91072  CStdPtrArray< HudItem > *arg1 = (CStdPtrArray< HudItem > *) 0 ;
91073  int arg2 ;
91074  HudItem *arg3 = (HudItem *) 0 ;
91075  void *argp1 = 0 ;
91076  int res1 = 0 ;
91077  int val2 ;
91078  int ecode2 = 0 ;
91079  void *argp3 = 0 ;
91080  int res3 = 0 ;
91081  PyObject * obj0 = 0 ;
91082  PyObject * obj1 = 0 ;
91083  PyObject * obj2 = 0 ;
91084 
91085  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_HudItem_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
91086  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_HudItem_t, 0 | 0 );
91087  if (!SWIG_IsOK(res1)) {
91088  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_HudItem_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< HudItem > *""'");
91089  }
91090  arg1 = reinterpret_cast< CStdPtrArray< HudItem > * >(argp1);
91091  ecode2 = SWIG_AsVal_int(obj1, &val2);
91092  if (!SWIG_IsOK(ecode2)) {
91093  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_HudItem_InsertAt" "', argument " "2"" of type '" "int""'");
91094  }
91095  arg2 = static_cast< int >(val2);
91096  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_HudItem, 0 | 0 );
91097  if (!SWIG_IsOK(res3)) {
91098  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_HudItem_InsertAt" "', argument " "3"" of type '" "HudItem *""'");
91099  }
91100  arg3 = reinterpret_cast< HudItem * >(argp3);
91101  (arg1)->InsertAt(arg2,arg3);
91102  resultobj = SWIG_Py_Void();
91103  return resultobj;
91104 fail:
91105  return NULL;
91106 }
91107 
91108 
91109 SWIGINTERN PyObject *_wrap_CStdPtrArray_HudItem_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91110  PyObject *resultobj = 0;
91111  CStdPtrArray< HudItem > *arg1 = (CStdPtrArray< HudItem > *) 0 ;
91112  void *argp1 = 0 ;
91113  int res1 = 0 ;
91114  PyObject * obj0 = 0 ;
91115  int result;
91116 
91117  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_HudItem_GetSize",&obj0)) SWIG_fail;
91118  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_HudItem_t, 0 | 0 );
91119  if (!SWIG_IsOK(res1)) {
91120  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_HudItem_GetSize" "', argument " "1"" of type '" "CStdPtrArray< HudItem > *""'");
91121  }
91122  arg1 = reinterpret_cast< CStdPtrArray< HudItem > * >(argp1);
91123  result = (int)(arg1)->GetSize();
91124  resultobj = SWIG_From_int(static_cast< int >(result));
91125  return resultobj;
91126 fail:
91127  return NULL;
91128 }
91129 
91130 
91131 SWIGINTERN PyObject *_wrap_CStdPtrArray_HudItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91132  PyObject *resultobj = 0;
91133  CStdPtrArray< HudItem > *arg1 = (CStdPtrArray< HudItem > *) 0 ;
91134  void *argp1 = 0 ;
91135  int res1 = 0 ;
91136  PyObject * obj0 = 0 ;
91137 
91138  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_HudItem_Clear",&obj0)) SWIG_fail;
91139  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_HudItem_t, 0 | 0 );
91140  if (!SWIG_IsOK(res1)) {
91141  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_HudItem_Clear" "', argument " "1"" of type '" "CStdPtrArray< HudItem > *""'");
91142  }
91143  arg1 = reinterpret_cast< CStdPtrArray< HudItem > * >(argp1);
91144  (arg1)->Clear();
91145  resultobj = SWIG_Py_Void();
91146  return resultobj;
91147 fail:
91148  return NULL;
91149 }
91150 
91151 
91152 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_HudItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91153  PyObject *resultobj = 0;
91154  CStdPtrArray< HudItem > *result = 0 ;
91155 
91156  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_HudItem")) SWIG_fail;
91157  {
91158  try {
91159  result = (CStdPtrArray< HudItem > *)new CStdPtrArray< HudItem >();
91160  }
91161  catch(CStdErrorInfo oError)
91162  {
91163  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
91164  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
91165  PyErr_SetString(PyExc_IndexError, strError.c_str());
91166  SWIG_fail;
91167  }
91168  catch(...)
91169  {
91170  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
91171  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
91172  SWIG_fail;
91173  }
91174  }
91175  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_HudItem_t, SWIG_POINTER_NEW | 0 );
91176  return resultobj;
91177 fail:
91178  return NULL;
91179 }
91180 
91181 
91182 SWIGINTERN PyObject *CStdPtrArray_HudItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91183  PyObject *obj;
91184  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
91185  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_HudItem_t, SWIG_NewClientData(obj));
91186  return SWIG_Py_Void();
91187 }
91188 
91189 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_Light(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91190  PyObject *resultobj = 0;
91191  CStdPtrArray< Light > *arg1 = (CStdPtrArray< Light > *) 0 ;
91192  void *argp1 = 0 ;
91193  int res1 = 0 ;
91194  PyObject * obj0 = 0 ;
91195 
91196  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_Light",&obj0)) SWIG_fail;
91197  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Light_t, SWIG_POINTER_DISOWN | 0 );
91198  if (!SWIG_IsOK(res1)) {
91199  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_Light" "', argument " "1"" of type '" "CStdPtrArray< Light > *""'");
91200  }
91201  arg1 = reinterpret_cast< CStdPtrArray< Light > * >(argp1);
91202  delete arg1;
91203  resultobj = SWIG_Py_Void();
91204  return resultobj;
91205 fail:
91206  return NULL;
91207 }
91208 
91209 
91210 SWIGINTERN PyObject *_wrap_CStdPtrArray_Light_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91211  PyObject *resultobj = 0;
91212  CStdPtrArray< Light > *arg1 = (CStdPtrArray< Light > *) 0 ;
91213  Light *arg2 = (Light *) 0 ;
91214  void *argp1 = 0 ;
91215  int res1 = 0 ;
91216  void *argp2 = 0 ;
91217  int res2 = 0 ;
91218  PyObject * obj0 = 0 ;
91219  PyObject * obj1 = 0 ;
91220 
91221  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Light_Add",&obj0,&obj1)) SWIG_fail;
91222  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Light_t, 0 | 0 );
91223  if (!SWIG_IsOK(res1)) {
91224  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Light_Add" "', argument " "1"" of type '" "CStdPtrArray< Light > *""'");
91225  }
91226  arg1 = reinterpret_cast< CStdPtrArray< Light > * >(argp1);
91227  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Light, 0 | 0 );
91228  if (!SWIG_IsOK(res2)) {
91229  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_Light_Add" "', argument " "2"" of type '" "Light *""'");
91230  }
91231  arg2 = reinterpret_cast< Light * >(argp2);
91232  (arg1)->Add(arg2);
91233  resultobj = SWIG_Py_Void();
91234  return resultobj;
91235 fail:
91236  return NULL;
91237 }
91238 
91239 
91240 SWIGINTERN PyObject *_wrap_CStdPtrArray_Light_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91241  PyObject *resultobj = 0;
91242  CStdPtrArray< Light > *arg1 = (CStdPtrArray< Light > *) 0 ;
91243  void *argp1 = 0 ;
91244  int res1 = 0 ;
91245  PyObject * obj0 = 0 ;
91246 
91247  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Light_clear",&obj0)) SWIG_fail;
91248  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Light_t, 0 | 0 );
91249  if (!SWIG_IsOK(res1)) {
91250  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Light_clear" "', argument " "1"" of type '" "CStdPtrArray< Light > *""'");
91251  }
91252  arg1 = reinterpret_cast< CStdPtrArray< Light > * >(argp1);
91253  (arg1)->clear();
91254  resultobj = SWIG_Py_Void();
91255  return resultobj;
91256 fail:
91257  return NULL;
91258 }
91259 
91260 
91261 SWIGINTERN PyObject *_wrap_CStdPtrArray_Light_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91262  PyObject *resultobj = 0;
91263  CStdPtrArray< Light > *arg1 = (CStdPtrArray< Light > *) 0 ;
91264  void *argp1 = 0 ;
91265  int res1 = 0 ;
91266  PyObject * obj0 = 0 ;
91267 
91268  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Light_RemoveAll",&obj0)) SWIG_fail;
91269  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Light_t, 0 | 0 );
91270  if (!SWIG_IsOK(res1)) {
91271  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Light_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< Light > *""'");
91272  }
91273  arg1 = reinterpret_cast< CStdPtrArray< Light > * >(argp1);
91274  (arg1)->RemoveAll();
91275  resultobj = SWIG_Py_Void();
91276  return resultobj;
91277 fail:
91278  return NULL;
91279 }
91280 
91281 
91282 SWIGINTERN PyObject *_wrap_CStdPtrArray_Light_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91283  PyObject *resultobj = 0;
91284  CStdPtrArray< Light > *arg1 = (CStdPtrArray< Light > *) 0 ;
91285  int arg2 ;
91286  void *argp1 = 0 ;
91287  int res1 = 0 ;
91288  int val2 ;
91289  int ecode2 = 0 ;
91290  PyObject * obj0 = 0 ;
91291  PyObject * obj1 = 0 ;
91292 
91293  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Light_RemoveAt",&obj0,&obj1)) SWIG_fail;
91294  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Light_t, 0 | 0 );
91295  if (!SWIG_IsOK(res1)) {
91296  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Light_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< Light > *""'");
91297  }
91298  arg1 = reinterpret_cast< CStdPtrArray< Light > * >(argp1);
91299  ecode2 = SWIG_AsVal_int(obj1, &val2);
91300  if (!SWIG_IsOK(ecode2)) {
91301  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_Light_RemoveAt" "', argument " "2"" of type '" "int""'");
91302  }
91303  arg2 = static_cast< int >(val2);
91304  (arg1)->RemoveAt(arg2);
91305  resultobj = SWIG_Py_Void();
91306  return resultobj;
91307 fail:
91308  return NULL;
91309 }
91310 
91311 
91312 SWIGINTERN PyObject *_wrap_CStdPtrArray_Light_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91313  PyObject *resultobj = 0;
91314  CStdPtrArray< Light > *arg1 = (CStdPtrArray< Light > *) 0 ;
91315  std::vector< Light *,std::allocator< Light * > >::iterator arg2 ;
91316  void *argp1 = 0 ;
91317  int res1 = 0 ;
91318  swig::SwigPyIterator *iter2 = 0 ;
91319  int res2 ;
91320  PyObject * obj0 = 0 ;
91321  PyObject * obj1 = 0 ;
91322 
91323  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Light_RemoveAt",&obj0,&obj1)) SWIG_fail;
91324  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Light_t, 0 | 0 );
91325  if (!SWIG_IsOK(res1)) {
91326  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Light_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< Light > *""'");
91327  }
91328  arg1 = reinterpret_cast< CStdPtrArray< Light > * >(argp1);
91329  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
91330  if (!SWIG_IsOK(res2) || !iter2) {
91331  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Light_RemoveAt" "', argument " "2"" of type '" "std::vector< Light *,std::allocator< Light * > >::iterator""'");
91332  } else {
91334  if (iter_t) {
91335  arg2 = iter_t->get_current();
91336  } else {
91337  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Light_RemoveAt" "', argument " "2"" of type '" "std::vector< Light *,std::allocator< Light * > >::iterator""'");
91338  }
91339  }
91340  (arg1)->RemoveAt(arg2);
91341  resultobj = SWIG_Py_Void();
91342  return resultobj;
91343 fail:
91344  return NULL;
91345 }
91346 
91347 
91348 SWIGINTERN PyObject *_wrap_CStdPtrArray_Light_RemoveAt(PyObject *self, PyObject *args) {
91349  int argc;
91350  PyObject *argv[3];
91351  int ii;
91352 
91353  if (!PyTuple_Check(args)) SWIG_fail;
91354  argc = args ? (int)PyObject_Length(args) : 0;
91355  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
91356  argv[ii] = PyTuple_GET_ITEM(args,ii);
91357  }
91358  if (argc == 2) {
91359  int _v;
91360  void *vptr = 0;
91361  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Light_t, 0);
91362  _v = SWIG_CheckState(res);
91363  if (_v) {
91364  swig::SwigPyIterator *iter = 0;
91365  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
91366  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Light *,std::allocator< Light * > >::iterator > *>(iter) != 0));
91367  if (_v) {
91368  return _wrap_CStdPtrArray_Light_RemoveAt__SWIG_1(self, args);
91369  }
91370  }
91371  }
91372  if (argc == 2) {
91373  int _v;
91374  void *vptr = 0;
91375  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Light_t, 0);
91376  _v = SWIG_CheckState(res);
91377  if (_v) {
91378  {
91379  int res = SWIG_AsVal_int(argv[1], NULL);
91380  _v = SWIG_CheckState(res);
91381  }
91382  if (_v) {
91383  return _wrap_CStdPtrArray_Light_RemoveAt__SWIG_0(self, args);
91384  }
91385  }
91386  }
91387 
91388 fail:
91389  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_Light_RemoveAt'.\n"
91390  " Possible C/C++ prototypes are:\n"
91391  " CStdPtrArray< Light >::RemoveAt(int)\n"
91392  " CStdPtrArray< Light >::RemoveAt(std::vector< Light *,std::allocator< Light * > >::iterator)\n");
91393  return 0;
91394 }
91395 
91396 
91397 SWIGINTERN PyObject *_wrap_CStdPtrArray_Light_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91398  PyObject *resultobj = 0;
91399  CStdPtrArray< Light > *arg1 = (CStdPtrArray< Light > *) 0 ;
91400  std::vector< Light *,std::allocator< Light * > >::iterator arg2 ;
91401  void *argp1 = 0 ;
91402  int res1 = 0 ;
91403  swig::SwigPyIterator *iter2 = 0 ;
91404  int res2 ;
91405  PyObject * obj0 = 0 ;
91406  PyObject * obj1 = 0 ;
91407 
91408  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Light_erase",&obj0,&obj1)) SWIG_fail;
91409  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Light_t, 0 | 0 );
91410  if (!SWIG_IsOK(res1)) {
91411  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Light_erase" "', argument " "1"" of type '" "CStdPtrArray< Light > *""'");
91412  }
91413  arg1 = reinterpret_cast< CStdPtrArray< Light > * >(argp1);
91414  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
91415  if (!SWIG_IsOK(res2) || !iter2) {
91416  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Light_erase" "', argument " "2"" of type '" "std::vector< Light *,std::allocator< Light * > >::iterator""'");
91417  } else {
91419  if (iter_t) {
91420  arg2 = iter_t->get_current();
91421  } else {
91422  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Light_erase" "', argument " "2"" of type '" "std::vector< Light *,std::allocator< Light * > >::iterator""'");
91423  }
91424  }
91425  (arg1)->erase(arg2);
91426  resultobj = SWIG_Py_Void();
91427  return resultobj;
91428 fail:
91429  return NULL;
91430 }
91431 
91432 
91433 SWIGINTERN PyObject *_wrap_CStdPtrArray_Light_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91434  PyObject *resultobj = 0;
91435  CStdPtrArray< Light > *arg1 = (CStdPtrArray< Light > *) 0 ;
91436  std::vector< Light *,std::allocator< Light * > >::iterator arg2 ;
91437  std::vector< Light *,std::allocator< Light * > >::iterator arg3 ;
91438  void *argp1 = 0 ;
91439  int res1 = 0 ;
91440  swig::SwigPyIterator *iter2 = 0 ;
91441  int res2 ;
91442  swig::SwigPyIterator *iter3 = 0 ;
91443  int res3 ;
91444  PyObject * obj0 = 0 ;
91445  PyObject * obj1 = 0 ;
91446  PyObject * obj2 = 0 ;
91447 
91448  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_Light_erase",&obj0,&obj1,&obj2)) SWIG_fail;
91449  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Light_t, 0 | 0 );
91450  if (!SWIG_IsOK(res1)) {
91451  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Light_erase" "', argument " "1"" of type '" "CStdPtrArray< Light > *""'");
91452  }
91453  arg1 = reinterpret_cast< CStdPtrArray< Light > * >(argp1);
91454  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
91455  if (!SWIG_IsOK(res2) || !iter2) {
91456  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Light_erase" "', argument " "2"" of type '" "std::vector< Light *,std::allocator< Light * > >::iterator""'");
91457  } else {
91459  if (iter_t) {
91460  arg2 = iter_t->get_current();
91461  } else {
91462  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Light_erase" "', argument " "2"" of type '" "std::vector< Light *,std::allocator< Light * > >::iterator""'");
91463  }
91464  }
91465  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
91466  if (!SWIG_IsOK(res3) || !iter3) {
91467  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Light_erase" "', argument " "3"" of type '" "std::vector< Light *,std::allocator< Light * > >::iterator""'");
91468  } else {
91470  if (iter_t) {
91471  arg3 = iter_t->get_current();
91472  } else {
91473  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Light_erase" "', argument " "3"" of type '" "std::vector< Light *,std::allocator< Light * > >::iterator""'");
91474  }
91475  }
91476  (arg1)->erase(arg2,arg3);
91477  resultobj = SWIG_Py_Void();
91478  return resultobj;
91479 fail:
91480  return NULL;
91481 }
91482 
91483 
91484 SWIGINTERN PyObject *_wrap_CStdPtrArray_Light_erase(PyObject *self, PyObject *args) {
91485  int argc;
91486  PyObject *argv[4];
91487  int ii;
91488 
91489  if (!PyTuple_Check(args)) SWIG_fail;
91490  argc = args ? (int)PyObject_Length(args) : 0;
91491  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
91492  argv[ii] = PyTuple_GET_ITEM(args,ii);
91493  }
91494  if (argc == 2) {
91495  int _v;
91496  void *vptr = 0;
91497  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Light_t, 0);
91498  _v = SWIG_CheckState(res);
91499  if (_v) {
91500  swig::SwigPyIterator *iter = 0;
91501  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
91502  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Light *,std::allocator< Light * > >::iterator > *>(iter) != 0));
91503  if (_v) {
91504  return _wrap_CStdPtrArray_Light_erase__SWIG_0(self, args);
91505  }
91506  }
91507  }
91508  if (argc == 3) {
91509  int _v;
91510  void *vptr = 0;
91511  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Light_t, 0);
91512  _v = SWIG_CheckState(res);
91513  if (_v) {
91514  swig::SwigPyIterator *iter = 0;
91515  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
91516  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Light *,std::allocator< Light * > >::iterator > *>(iter) != 0));
91517  if (_v) {
91518  swig::SwigPyIterator *iter = 0;
91519  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
91520  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Light *,std::allocator< Light * > >::iterator > *>(iter) != 0));
91521  if (_v) {
91522  return _wrap_CStdPtrArray_Light_erase__SWIG_1(self, args);
91523  }
91524  }
91525  }
91526  }
91527 
91528 fail:
91529  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_Light_erase'.\n"
91530  " Possible C/C++ prototypes are:\n"
91531  " CStdPtrArray< Light >::erase(std::vector< Light *,std::allocator< Light * > >::iterator)\n"
91532  " CStdPtrArray< Light >::erase(std::vector< Light *,std::allocator< Light * > >::iterator,std::vector< Light *,std::allocator< Light * > >::iterator)\n");
91533  return 0;
91534 }
91535 
91536 
91537 SWIGINTERN PyObject *_wrap_CStdPtrArray_Light_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91538  PyObject *resultobj = 0;
91539  CStdPtrArray< Light > *arg1 = (CStdPtrArray< Light > *) 0 ;
91540  long arg2 ;
91541  void *argp1 = 0 ;
91542  int res1 = 0 ;
91543  long val2 ;
91544  int ecode2 = 0 ;
91545  PyObject * obj0 = 0 ;
91546  PyObject * obj1 = 0 ;
91547 
91548  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Light_SetSize",&obj0,&obj1)) SWIG_fail;
91549  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Light_t, 0 | 0 );
91550  if (!SWIG_IsOK(res1)) {
91551  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Light_SetSize" "', argument " "1"" of type '" "CStdPtrArray< Light > *""'");
91552  }
91553  arg1 = reinterpret_cast< CStdPtrArray< Light > * >(argp1);
91554  ecode2 = SWIG_AsVal_long(obj1, &val2);
91555  if (!SWIG_IsOK(ecode2)) {
91556  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_Light_SetSize" "', argument " "2"" of type '" "long""'");
91557  }
91558  arg2 = static_cast< long >(val2);
91559  (arg1)->SetSize(arg2);
91560  resultobj = SWIG_Py_Void();
91561  return resultobj;
91562 fail:
91563  return NULL;
91564 }
91565 
91566 
91567 SWIGINTERN PyObject *_wrap_CStdPtrArray_Light_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91568  PyObject *resultobj = 0;
91569  CStdPtrArray< Light > *arg1 = (CStdPtrArray< Light > *) 0 ;
91570  int arg2 ;
91571  Light *arg3 = (Light *) 0 ;
91572  void *argp1 = 0 ;
91573  int res1 = 0 ;
91574  int val2 ;
91575  int ecode2 = 0 ;
91576  void *argp3 = 0 ;
91577  int res3 = 0 ;
91578  PyObject * obj0 = 0 ;
91579  PyObject * obj1 = 0 ;
91580  PyObject * obj2 = 0 ;
91581 
91582  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_Light_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
91583  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Light_t, 0 | 0 );
91584  if (!SWIG_IsOK(res1)) {
91585  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Light_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< Light > *""'");
91586  }
91587  arg1 = reinterpret_cast< CStdPtrArray< Light > * >(argp1);
91588  ecode2 = SWIG_AsVal_int(obj1, &val2);
91589  if (!SWIG_IsOK(ecode2)) {
91590  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_Light_InsertAt" "', argument " "2"" of type '" "int""'");
91591  }
91592  arg2 = static_cast< int >(val2);
91593  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Light, 0 | 0 );
91594  if (!SWIG_IsOK(res3)) {
91595  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_Light_InsertAt" "', argument " "3"" of type '" "Light *""'");
91596  }
91597  arg3 = reinterpret_cast< Light * >(argp3);
91598  (arg1)->InsertAt(arg2,arg3);
91599  resultobj = SWIG_Py_Void();
91600  return resultobj;
91601 fail:
91602  return NULL;
91603 }
91604 
91605 
91606 SWIGINTERN PyObject *_wrap_CStdPtrArray_Light_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91607  PyObject *resultobj = 0;
91608  CStdPtrArray< Light > *arg1 = (CStdPtrArray< Light > *) 0 ;
91609  void *argp1 = 0 ;
91610  int res1 = 0 ;
91611  PyObject * obj0 = 0 ;
91612  int result;
91613 
91614  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Light_GetSize",&obj0)) SWIG_fail;
91615  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Light_t, 0 | 0 );
91616  if (!SWIG_IsOK(res1)) {
91617  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Light_GetSize" "', argument " "1"" of type '" "CStdPtrArray< Light > *""'");
91618  }
91619  arg1 = reinterpret_cast< CStdPtrArray< Light > * >(argp1);
91620  result = (int)(arg1)->GetSize();
91621  resultobj = SWIG_From_int(static_cast< int >(result));
91622  return resultobj;
91623 fail:
91624  return NULL;
91625 }
91626 
91627 
91628 SWIGINTERN PyObject *_wrap_CStdPtrArray_Light_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91629  PyObject *resultobj = 0;
91630  CStdPtrArray< Light > *arg1 = (CStdPtrArray< Light > *) 0 ;
91631  void *argp1 = 0 ;
91632  int res1 = 0 ;
91633  PyObject * obj0 = 0 ;
91634 
91635  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Light_Clear",&obj0)) SWIG_fail;
91636  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Light_t, 0 | 0 );
91637  if (!SWIG_IsOK(res1)) {
91638  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Light_Clear" "', argument " "1"" of type '" "CStdPtrArray< Light > *""'");
91639  }
91640  arg1 = reinterpret_cast< CStdPtrArray< Light > * >(argp1);
91641  (arg1)->Clear();
91642  resultobj = SWIG_Py_Void();
91643  return resultobj;
91644 fail:
91645  return NULL;
91646 }
91647 
91648 
91649 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_Light(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91650  PyObject *resultobj = 0;
91651  CStdPtrArray< Light > *result = 0 ;
91652 
91653  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_Light")) SWIG_fail;
91654  {
91655  try {
91656  result = (CStdPtrArray< Light > *)new CStdPtrArray< Light >();
91657  }
91658  catch(CStdErrorInfo oError)
91659  {
91660  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
91661  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
91662  PyErr_SetString(PyExc_IndexError, strError.c_str());
91663  SWIG_fail;
91664  }
91665  catch(...)
91666  {
91667  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
91668  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
91669  SWIG_fail;
91670  }
91671  }
91672  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_Light_t, SWIG_POINTER_NEW | 0 );
91673  return resultobj;
91674 fail:
91675  return NULL;
91676 }
91677 
91678 
91679 SWIGINTERN PyObject *CStdPtrArray_Light_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91680  PyObject *obj;
91681  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
91682  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_Light_t, SWIG_NewClientData(obj));
91683  return SWIG_Py_Void();
91684 }
91685 
91686 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_MaterialType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91687  PyObject *resultobj = 0;
91688  CStdPtrArray< MaterialType > *arg1 = (CStdPtrArray< MaterialType > *) 0 ;
91689  void *argp1 = 0 ;
91690  int res1 = 0 ;
91691  PyObject * obj0 = 0 ;
91692 
91693  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_MaterialType",&obj0)) SWIG_fail;
91694  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, SWIG_POINTER_DISOWN | 0 );
91695  if (!SWIG_IsOK(res1)) {
91696  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_MaterialType" "', argument " "1"" of type '" "CStdPtrArray< MaterialType > *""'");
91697  }
91698  arg1 = reinterpret_cast< CStdPtrArray< MaterialType > * >(argp1);
91699  delete arg1;
91700  resultobj = SWIG_Py_Void();
91701  return resultobj;
91702 fail:
91703  return NULL;
91704 }
91705 
91706 
91707 SWIGINTERN PyObject *_wrap_CStdPtrArray_MaterialType_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91708  PyObject *resultobj = 0;
91709  CStdPtrArray< MaterialType > *arg1 = (CStdPtrArray< MaterialType > *) 0 ;
91710  MaterialType *arg2 = (MaterialType *) 0 ;
91711  void *argp1 = 0 ;
91712  int res1 = 0 ;
91713  void *argp2 = 0 ;
91714  int res2 = 0 ;
91715  PyObject * obj0 = 0 ;
91716  PyObject * obj1 = 0 ;
91717 
91718  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_MaterialType_Add",&obj0,&obj1)) SWIG_fail;
91719  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, 0 | 0 );
91720  if (!SWIG_IsOK(res1)) {
91721  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_MaterialType_Add" "', argument " "1"" of type '" "CStdPtrArray< MaterialType > *""'");
91722  }
91723  arg1 = reinterpret_cast< CStdPtrArray< MaterialType > * >(argp1);
91724  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_MaterialType, 0 | 0 );
91725  if (!SWIG_IsOK(res2)) {
91726  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_MaterialType_Add" "', argument " "2"" of type '" "MaterialType *""'");
91727  }
91728  arg2 = reinterpret_cast< MaterialType * >(argp2);
91729  (arg1)->Add(arg2);
91730  resultobj = SWIG_Py_Void();
91731  return resultobj;
91732 fail:
91733  return NULL;
91734 }
91735 
91736 
91737 SWIGINTERN PyObject *_wrap_CStdPtrArray_MaterialType_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91738  PyObject *resultobj = 0;
91739  CStdPtrArray< MaterialType > *arg1 = (CStdPtrArray< MaterialType > *) 0 ;
91740  void *argp1 = 0 ;
91741  int res1 = 0 ;
91742  PyObject * obj0 = 0 ;
91743 
91744  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_MaterialType_clear",&obj0)) SWIG_fail;
91745  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, 0 | 0 );
91746  if (!SWIG_IsOK(res1)) {
91747  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_MaterialType_clear" "', argument " "1"" of type '" "CStdPtrArray< MaterialType > *""'");
91748  }
91749  arg1 = reinterpret_cast< CStdPtrArray< MaterialType > * >(argp1);
91750  (arg1)->clear();
91751  resultobj = SWIG_Py_Void();
91752  return resultobj;
91753 fail:
91754  return NULL;
91755 }
91756 
91757 
91758 SWIGINTERN PyObject *_wrap_CStdPtrArray_MaterialType_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91759  PyObject *resultobj = 0;
91760  CStdPtrArray< MaterialType > *arg1 = (CStdPtrArray< MaterialType > *) 0 ;
91761  void *argp1 = 0 ;
91762  int res1 = 0 ;
91763  PyObject * obj0 = 0 ;
91764 
91765  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_MaterialType_RemoveAll",&obj0)) SWIG_fail;
91766  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, 0 | 0 );
91767  if (!SWIG_IsOK(res1)) {
91768  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_MaterialType_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< MaterialType > *""'");
91769  }
91770  arg1 = reinterpret_cast< CStdPtrArray< MaterialType > * >(argp1);
91771  (arg1)->RemoveAll();
91772  resultobj = SWIG_Py_Void();
91773  return resultobj;
91774 fail:
91775  return NULL;
91776 }
91777 
91778 
91779 SWIGINTERN PyObject *_wrap_CStdPtrArray_MaterialType_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91780  PyObject *resultobj = 0;
91781  CStdPtrArray< MaterialType > *arg1 = (CStdPtrArray< MaterialType > *) 0 ;
91782  int arg2 ;
91783  void *argp1 = 0 ;
91784  int res1 = 0 ;
91785  int val2 ;
91786  int ecode2 = 0 ;
91787  PyObject * obj0 = 0 ;
91788  PyObject * obj1 = 0 ;
91789 
91790  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_MaterialType_RemoveAt",&obj0,&obj1)) SWIG_fail;
91791  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, 0 | 0 );
91792  if (!SWIG_IsOK(res1)) {
91793  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_MaterialType_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< MaterialType > *""'");
91794  }
91795  arg1 = reinterpret_cast< CStdPtrArray< MaterialType > * >(argp1);
91796  ecode2 = SWIG_AsVal_int(obj1, &val2);
91797  if (!SWIG_IsOK(ecode2)) {
91798  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_MaterialType_RemoveAt" "', argument " "2"" of type '" "int""'");
91799  }
91800  arg2 = static_cast< int >(val2);
91801  (arg1)->RemoveAt(arg2);
91802  resultobj = SWIG_Py_Void();
91803  return resultobj;
91804 fail:
91805  return NULL;
91806 }
91807 
91808 
91809 SWIGINTERN PyObject *_wrap_CStdPtrArray_MaterialType_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91810  PyObject *resultobj = 0;
91811  CStdPtrArray< MaterialType > *arg1 = (CStdPtrArray< MaterialType > *) 0 ;
91812  std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator arg2 ;
91813  void *argp1 = 0 ;
91814  int res1 = 0 ;
91815  swig::SwigPyIterator *iter2 = 0 ;
91816  int res2 ;
91817  PyObject * obj0 = 0 ;
91818  PyObject * obj1 = 0 ;
91819 
91820  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_MaterialType_RemoveAt",&obj0,&obj1)) SWIG_fail;
91821  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, 0 | 0 );
91822  if (!SWIG_IsOK(res1)) {
91823  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_MaterialType_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< MaterialType > *""'");
91824  }
91825  arg1 = reinterpret_cast< CStdPtrArray< MaterialType > * >(argp1);
91826  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
91827  if (!SWIG_IsOK(res2) || !iter2) {
91828  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_MaterialType_RemoveAt" "', argument " "2"" of type '" "std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator""'");
91829  } else {
91831  if (iter_t) {
91832  arg2 = iter_t->get_current();
91833  } else {
91834  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_MaterialType_RemoveAt" "', argument " "2"" of type '" "std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator""'");
91835  }
91836  }
91837  (arg1)->RemoveAt(arg2);
91838  resultobj = SWIG_Py_Void();
91839  return resultobj;
91840 fail:
91841  return NULL;
91842 }
91843 
91844 
91845 SWIGINTERN PyObject *_wrap_CStdPtrArray_MaterialType_RemoveAt(PyObject *self, PyObject *args) {
91846  int argc;
91847  PyObject *argv[3];
91848  int ii;
91849 
91850  if (!PyTuple_Check(args)) SWIG_fail;
91851  argc = args ? (int)PyObject_Length(args) : 0;
91852  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
91853  argv[ii] = PyTuple_GET_ITEM(args,ii);
91854  }
91855  if (argc == 2) {
91856  int _v;
91857  void *vptr = 0;
91858  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, 0);
91859  _v = SWIG_CheckState(res);
91860  if (_v) {
91861  swig::SwigPyIterator *iter = 0;
91862  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
91863  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator > *>(iter) != 0));
91864  if (_v) {
91865  return _wrap_CStdPtrArray_MaterialType_RemoveAt__SWIG_1(self, args);
91866  }
91867  }
91868  }
91869  if (argc == 2) {
91870  int _v;
91871  void *vptr = 0;
91872  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, 0);
91873  _v = SWIG_CheckState(res);
91874  if (_v) {
91875  {
91876  int res = SWIG_AsVal_int(argv[1], NULL);
91877  _v = SWIG_CheckState(res);
91878  }
91879  if (_v) {
91880  return _wrap_CStdPtrArray_MaterialType_RemoveAt__SWIG_0(self, args);
91881  }
91882  }
91883  }
91884 
91885 fail:
91886  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_MaterialType_RemoveAt'.\n"
91887  " Possible C/C++ prototypes are:\n"
91888  " CStdPtrArray< MaterialType >::RemoveAt(int)\n"
91889  " CStdPtrArray< MaterialType >::RemoveAt(std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator)\n");
91890  return 0;
91891 }
91892 
91893 
91894 SWIGINTERN PyObject *_wrap_CStdPtrArray_MaterialType_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91895  PyObject *resultobj = 0;
91896  CStdPtrArray< MaterialType > *arg1 = (CStdPtrArray< MaterialType > *) 0 ;
91897  std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator arg2 ;
91898  void *argp1 = 0 ;
91899  int res1 = 0 ;
91900  swig::SwigPyIterator *iter2 = 0 ;
91901  int res2 ;
91902  PyObject * obj0 = 0 ;
91903  PyObject * obj1 = 0 ;
91904 
91905  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_MaterialType_erase",&obj0,&obj1)) SWIG_fail;
91906  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, 0 | 0 );
91907  if (!SWIG_IsOK(res1)) {
91908  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_MaterialType_erase" "', argument " "1"" of type '" "CStdPtrArray< MaterialType > *""'");
91909  }
91910  arg1 = reinterpret_cast< CStdPtrArray< MaterialType > * >(argp1);
91911  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
91912  if (!SWIG_IsOK(res2) || !iter2) {
91913  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_MaterialType_erase" "', argument " "2"" of type '" "std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator""'");
91914  } else {
91916  if (iter_t) {
91917  arg2 = iter_t->get_current();
91918  } else {
91919  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_MaterialType_erase" "', argument " "2"" of type '" "std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator""'");
91920  }
91921  }
91922  (arg1)->erase(arg2);
91923  resultobj = SWIG_Py_Void();
91924  return resultobj;
91925 fail:
91926  return NULL;
91927 }
91928 
91929 
91930 SWIGINTERN PyObject *_wrap_CStdPtrArray_MaterialType_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
91931  PyObject *resultobj = 0;
91932  CStdPtrArray< MaterialType > *arg1 = (CStdPtrArray< MaterialType > *) 0 ;
91933  std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator arg2 ;
91934  std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator arg3 ;
91935  void *argp1 = 0 ;
91936  int res1 = 0 ;
91937  swig::SwigPyIterator *iter2 = 0 ;
91938  int res2 ;
91939  swig::SwigPyIterator *iter3 = 0 ;
91940  int res3 ;
91941  PyObject * obj0 = 0 ;
91942  PyObject * obj1 = 0 ;
91943  PyObject * obj2 = 0 ;
91944 
91945  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_MaterialType_erase",&obj0,&obj1,&obj2)) SWIG_fail;
91946  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, 0 | 0 );
91947  if (!SWIG_IsOK(res1)) {
91948  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_MaterialType_erase" "', argument " "1"" of type '" "CStdPtrArray< MaterialType > *""'");
91949  }
91950  arg1 = reinterpret_cast< CStdPtrArray< MaterialType > * >(argp1);
91951  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
91952  if (!SWIG_IsOK(res2) || !iter2) {
91953  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_MaterialType_erase" "', argument " "2"" of type '" "std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator""'");
91954  } else {
91956  if (iter_t) {
91957  arg2 = iter_t->get_current();
91958  } else {
91959  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_MaterialType_erase" "', argument " "2"" of type '" "std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator""'");
91960  }
91961  }
91962  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
91963  if (!SWIG_IsOK(res3) || !iter3) {
91964  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_MaterialType_erase" "', argument " "3"" of type '" "std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator""'");
91965  } else {
91967  if (iter_t) {
91968  arg3 = iter_t->get_current();
91969  } else {
91970  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_MaterialType_erase" "', argument " "3"" of type '" "std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator""'");
91971  }
91972  }
91973  (arg1)->erase(arg2,arg3);
91974  resultobj = SWIG_Py_Void();
91975  return resultobj;
91976 fail:
91977  return NULL;
91978 }
91979 
91980 
91981 SWIGINTERN PyObject *_wrap_CStdPtrArray_MaterialType_erase(PyObject *self, PyObject *args) {
91982  int argc;
91983  PyObject *argv[4];
91984  int ii;
91985 
91986  if (!PyTuple_Check(args)) SWIG_fail;
91987  argc = args ? (int)PyObject_Length(args) : 0;
91988  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
91989  argv[ii] = PyTuple_GET_ITEM(args,ii);
91990  }
91991  if (argc == 2) {
91992  int _v;
91993  void *vptr = 0;
91994  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, 0);
91995  _v = SWIG_CheckState(res);
91996  if (_v) {
91997  swig::SwigPyIterator *iter = 0;
91998  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
91999  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator > *>(iter) != 0));
92000  if (_v) {
92001  return _wrap_CStdPtrArray_MaterialType_erase__SWIG_0(self, args);
92002  }
92003  }
92004  }
92005  if (argc == 3) {
92006  int _v;
92007  void *vptr = 0;
92008  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, 0);
92009  _v = SWIG_CheckState(res);
92010  if (_v) {
92011  swig::SwigPyIterator *iter = 0;
92012  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
92013  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator > *>(iter) != 0));
92014  if (_v) {
92015  swig::SwigPyIterator *iter = 0;
92016  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
92017  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator > *>(iter) != 0));
92018  if (_v) {
92019  return _wrap_CStdPtrArray_MaterialType_erase__SWIG_1(self, args);
92020  }
92021  }
92022  }
92023  }
92024 
92025 fail:
92026  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_MaterialType_erase'.\n"
92027  " Possible C/C++ prototypes are:\n"
92028  " CStdPtrArray< MaterialType >::erase(std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator)\n"
92029  " CStdPtrArray< MaterialType >::erase(std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator,std::vector< MaterialType *,std::allocator< MaterialType * > >::iterator)\n");
92030  return 0;
92031 }
92032 
92033 
92034 SWIGINTERN PyObject *_wrap_CStdPtrArray_MaterialType_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92035  PyObject *resultobj = 0;
92036  CStdPtrArray< MaterialType > *arg1 = (CStdPtrArray< MaterialType > *) 0 ;
92037  long arg2 ;
92038  void *argp1 = 0 ;
92039  int res1 = 0 ;
92040  long val2 ;
92041  int ecode2 = 0 ;
92042  PyObject * obj0 = 0 ;
92043  PyObject * obj1 = 0 ;
92044 
92045  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_MaterialType_SetSize",&obj0,&obj1)) SWIG_fail;
92046  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, 0 | 0 );
92047  if (!SWIG_IsOK(res1)) {
92048  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_MaterialType_SetSize" "', argument " "1"" of type '" "CStdPtrArray< MaterialType > *""'");
92049  }
92050  arg1 = reinterpret_cast< CStdPtrArray< MaterialType > * >(argp1);
92051  ecode2 = SWIG_AsVal_long(obj1, &val2);
92052  if (!SWIG_IsOK(ecode2)) {
92053  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_MaterialType_SetSize" "', argument " "2"" of type '" "long""'");
92054  }
92055  arg2 = static_cast< long >(val2);
92056  (arg1)->SetSize(arg2);
92057  resultobj = SWIG_Py_Void();
92058  return resultobj;
92059 fail:
92060  return NULL;
92061 }
92062 
92063 
92064 SWIGINTERN PyObject *_wrap_CStdPtrArray_MaterialType_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92065  PyObject *resultobj = 0;
92066  CStdPtrArray< MaterialType > *arg1 = (CStdPtrArray< MaterialType > *) 0 ;
92067  int arg2 ;
92068  MaterialType *arg3 = (MaterialType *) 0 ;
92069  void *argp1 = 0 ;
92070  int res1 = 0 ;
92071  int val2 ;
92072  int ecode2 = 0 ;
92073  void *argp3 = 0 ;
92074  int res3 = 0 ;
92075  PyObject * obj0 = 0 ;
92076  PyObject * obj1 = 0 ;
92077  PyObject * obj2 = 0 ;
92078 
92079  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_MaterialType_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
92080  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, 0 | 0 );
92081  if (!SWIG_IsOK(res1)) {
92082  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_MaterialType_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< MaterialType > *""'");
92083  }
92084  arg1 = reinterpret_cast< CStdPtrArray< MaterialType > * >(argp1);
92085  ecode2 = SWIG_AsVal_int(obj1, &val2);
92086  if (!SWIG_IsOK(ecode2)) {
92087  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_MaterialType_InsertAt" "', argument " "2"" of type '" "int""'");
92088  }
92089  arg2 = static_cast< int >(val2);
92090  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_MaterialType, 0 | 0 );
92091  if (!SWIG_IsOK(res3)) {
92092  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_MaterialType_InsertAt" "', argument " "3"" of type '" "MaterialType *""'");
92093  }
92094  arg3 = reinterpret_cast< MaterialType * >(argp3);
92095  (arg1)->InsertAt(arg2,arg3);
92096  resultobj = SWIG_Py_Void();
92097  return resultobj;
92098 fail:
92099  return NULL;
92100 }
92101 
92102 
92103 SWIGINTERN PyObject *_wrap_CStdPtrArray_MaterialType_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92104  PyObject *resultobj = 0;
92105  CStdPtrArray< MaterialType > *arg1 = (CStdPtrArray< MaterialType > *) 0 ;
92106  void *argp1 = 0 ;
92107  int res1 = 0 ;
92108  PyObject * obj0 = 0 ;
92109  int result;
92110 
92111  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_MaterialType_GetSize",&obj0)) SWIG_fail;
92112  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, 0 | 0 );
92113  if (!SWIG_IsOK(res1)) {
92114  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_MaterialType_GetSize" "', argument " "1"" of type '" "CStdPtrArray< MaterialType > *""'");
92115  }
92116  arg1 = reinterpret_cast< CStdPtrArray< MaterialType > * >(argp1);
92117  result = (int)(arg1)->GetSize();
92118  resultobj = SWIG_From_int(static_cast< int >(result));
92119  return resultobj;
92120 fail:
92121  return NULL;
92122 }
92123 
92124 
92125 SWIGINTERN PyObject *_wrap_CStdPtrArray_MaterialType_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92126  PyObject *resultobj = 0;
92127  CStdPtrArray< MaterialType > *arg1 = (CStdPtrArray< MaterialType > *) 0 ;
92128  void *argp1 = 0 ;
92129  int res1 = 0 ;
92130  PyObject * obj0 = 0 ;
92131 
92132  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_MaterialType_Clear",&obj0)) SWIG_fail;
92133  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, 0 | 0 );
92134  if (!SWIG_IsOK(res1)) {
92135  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_MaterialType_Clear" "', argument " "1"" of type '" "CStdPtrArray< MaterialType > *""'");
92136  }
92137  arg1 = reinterpret_cast< CStdPtrArray< MaterialType > * >(argp1);
92138  (arg1)->Clear();
92139  resultobj = SWIG_Py_Void();
92140  return resultobj;
92141 fail:
92142  return NULL;
92143 }
92144 
92145 
92146 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_MaterialType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92147  PyObject *resultobj = 0;
92148  CStdPtrArray< MaterialType > *result = 0 ;
92149 
92150  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_MaterialType")) SWIG_fail;
92151  {
92152  try {
92153  result = (CStdPtrArray< MaterialType > *)new CStdPtrArray< MaterialType >();
92154  }
92155  catch(CStdErrorInfo oError)
92156  {
92157  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
92158  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
92159  PyErr_SetString(PyExc_IndexError, strError.c_str());
92160  SWIG_fail;
92161  }
92162  catch(...)
92163  {
92164  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
92165  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
92166  SWIG_fail;
92167  }
92168  }
92169  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, SWIG_POINTER_NEW | 0 );
92170  return resultobj;
92171 fail:
92172  return NULL;
92173 }
92174 
92175 
92176 SWIGINTERN PyObject *CStdPtrArray_MaterialType_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92177  PyObject *obj;
92178  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
92179  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_MaterialType_t, SWIG_NewClientData(obj));
92180  return SWIG_Py_Void();
92181 }
92182 
92183 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_Adapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92184  PyObject *resultobj = 0;
92185  CStdPtrArray< Adapter > *arg1 = (CStdPtrArray< Adapter > *) 0 ;
92186  void *argp1 = 0 ;
92187  int res1 = 0 ;
92188  PyObject * obj0 = 0 ;
92189 
92190  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_Adapter",&obj0)) SWIG_fail;
92191  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Adapter_t, SWIG_POINTER_DISOWN | 0 );
92192  if (!SWIG_IsOK(res1)) {
92193  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_Adapter" "', argument " "1"" of type '" "CStdPtrArray< Adapter > *""'");
92194  }
92195  arg1 = reinterpret_cast< CStdPtrArray< Adapter > * >(argp1);
92196  delete arg1;
92197  resultobj = SWIG_Py_Void();
92198  return resultobj;
92199 fail:
92200  return NULL;
92201 }
92202 
92203 
92204 SWIGINTERN PyObject *_wrap_CStdPtrArray_Adapter_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92205  PyObject *resultobj = 0;
92206  CStdPtrArray< Adapter > *arg1 = (CStdPtrArray< Adapter > *) 0 ;
92207  Adapter *arg2 = (Adapter *) 0 ;
92208  void *argp1 = 0 ;
92209  int res1 = 0 ;
92210  void *argp2 = 0 ;
92211  int res2 = 0 ;
92212  PyObject * obj0 = 0 ;
92213  PyObject * obj1 = 0 ;
92214 
92215  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Adapter_Add",&obj0,&obj1)) SWIG_fail;
92216  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Adapter_t, 0 | 0 );
92217  if (!SWIG_IsOK(res1)) {
92218  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Adapter_Add" "', argument " "1"" of type '" "CStdPtrArray< Adapter > *""'");
92219  }
92220  arg1 = reinterpret_cast< CStdPtrArray< Adapter > * >(argp1);
92221  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Adapter, 0 | 0 );
92222  if (!SWIG_IsOK(res2)) {
92223  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_Adapter_Add" "', argument " "2"" of type '" "Adapter *""'");
92224  }
92225  arg2 = reinterpret_cast< Adapter * >(argp2);
92226  (arg1)->Add(arg2);
92227  resultobj = SWIG_Py_Void();
92228  return resultobj;
92229 fail:
92230  return NULL;
92231 }
92232 
92233 
92234 SWIGINTERN PyObject *_wrap_CStdPtrArray_Adapter_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92235  PyObject *resultobj = 0;
92236  CStdPtrArray< Adapter > *arg1 = (CStdPtrArray< Adapter > *) 0 ;
92237  void *argp1 = 0 ;
92238  int res1 = 0 ;
92239  PyObject * obj0 = 0 ;
92240 
92241  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Adapter_clear",&obj0)) SWIG_fail;
92242  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Adapter_t, 0 | 0 );
92243  if (!SWIG_IsOK(res1)) {
92244  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Adapter_clear" "', argument " "1"" of type '" "CStdPtrArray< Adapter > *""'");
92245  }
92246  arg1 = reinterpret_cast< CStdPtrArray< Adapter > * >(argp1);
92247  (arg1)->clear();
92248  resultobj = SWIG_Py_Void();
92249  return resultobj;
92250 fail:
92251  return NULL;
92252 }
92253 
92254 
92255 SWIGINTERN PyObject *_wrap_CStdPtrArray_Adapter_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92256  PyObject *resultobj = 0;
92257  CStdPtrArray< Adapter > *arg1 = (CStdPtrArray< Adapter > *) 0 ;
92258  void *argp1 = 0 ;
92259  int res1 = 0 ;
92260  PyObject * obj0 = 0 ;
92261 
92262  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Adapter_RemoveAll",&obj0)) SWIG_fail;
92263  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Adapter_t, 0 | 0 );
92264  if (!SWIG_IsOK(res1)) {
92265  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Adapter_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< Adapter > *""'");
92266  }
92267  arg1 = reinterpret_cast< CStdPtrArray< Adapter > * >(argp1);
92268  (arg1)->RemoveAll();
92269  resultobj = SWIG_Py_Void();
92270  return resultobj;
92271 fail:
92272  return NULL;
92273 }
92274 
92275 
92276 SWIGINTERN PyObject *_wrap_CStdPtrArray_Adapter_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92277  PyObject *resultobj = 0;
92278  CStdPtrArray< Adapter > *arg1 = (CStdPtrArray< Adapter > *) 0 ;
92279  int arg2 ;
92280  void *argp1 = 0 ;
92281  int res1 = 0 ;
92282  int val2 ;
92283  int ecode2 = 0 ;
92284  PyObject * obj0 = 0 ;
92285  PyObject * obj1 = 0 ;
92286 
92287  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Adapter_RemoveAt",&obj0,&obj1)) SWIG_fail;
92288  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Adapter_t, 0 | 0 );
92289  if (!SWIG_IsOK(res1)) {
92290  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Adapter_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< Adapter > *""'");
92291  }
92292  arg1 = reinterpret_cast< CStdPtrArray< Adapter > * >(argp1);
92293  ecode2 = SWIG_AsVal_int(obj1, &val2);
92294  if (!SWIG_IsOK(ecode2)) {
92295  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_Adapter_RemoveAt" "', argument " "2"" of type '" "int""'");
92296  }
92297  arg2 = static_cast< int >(val2);
92298  (arg1)->RemoveAt(arg2);
92299  resultobj = SWIG_Py_Void();
92300  return resultobj;
92301 fail:
92302  return NULL;
92303 }
92304 
92305 
92306 SWIGINTERN PyObject *_wrap_CStdPtrArray_Adapter_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92307  PyObject *resultobj = 0;
92308  CStdPtrArray< Adapter > *arg1 = (CStdPtrArray< Adapter > *) 0 ;
92309  std::vector< Adapter *,std::allocator< Adapter * > >::iterator arg2 ;
92310  void *argp1 = 0 ;
92311  int res1 = 0 ;
92312  swig::SwigPyIterator *iter2 = 0 ;
92313  int res2 ;
92314  PyObject * obj0 = 0 ;
92315  PyObject * obj1 = 0 ;
92316 
92317  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Adapter_RemoveAt",&obj0,&obj1)) SWIG_fail;
92318  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Adapter_t, 0 | 0 );
92319  if (!SWIG_IsOK(res1)) {
92320  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Adapter_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< Adapter > *""'");
92321  }
92322  arg1 = reinterpret_cast< CStdPtrArray< Adapter > * >(argp1);
92323  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
92324  if (!SWIG_IsOK(res2) || !iter2) {
92325  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Adapter_RemoveAt" "', argument " "2"" of type '" "std::vector< Adapter *,std::allocator< Adapter * > >::iterator""'");
92326  } else {
92328  if (iter_t) {
92329  arg2 = iter_t->get_current();
92330  } else {
92331  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Adapter_RemoveAt" "', argument " "2"" of type '" "std::vector< Adapter *,std::allocator< Adapter * > >::iterator""'");
92332  }
92333  }
92334  (arg1)->RemoveAt(arg2);
92335  resultobj = SWIG_Py_Void();
92336  return resultobj;
92337 fail:
92338  return NULL;
92339 }
92340 
92341 
92342 SWIGINTERN PyObject *_wrap_CStdPtrArray_Adapter_RemoveAt(PyObject *self, PyObject *args) {
92343  int argc;
92344  PyObject *argv[3];
92345  int ii;
92346 
92347  if (!PyTuple_Check(args)) SWIG_fail;
92348  argc = args ? (int)PyObject_Length(args) : 0;
92349  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
92350  argv[ii] = PyTuple_GET_ITEM(args,ii);
92351  }
92352  if (argc == 2) {
92353  int _v;
92354  void *vptr = 0;
92355  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Adapter_t, 0);
92356  _v = SWIG_CheckState(res);
92357  if (_v) {
92358  swig::SwigPyIterator *iter = 0;
92359  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
92360  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Adapter *,std::allocator< Adapter * > >::iterator > *>(iter) != 0));
92361  if (_v) {
92362  return _wrap_CStdPtrArray_Adapter_RemoveAt__SWIG_1(self, args);
92363  }
92364  }
92365  }
92366  if (argc == 2) {
92367  int _v;
92368  void *vptr = 0;
92369  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Adapter_t, 0);
92370  _v = SWIG_CheckState(res);
92371  if (_v) {
92372  {
92373  int res = SWIG_AsVal_int(argv[1], NULL);
92374  _v = SWIG_CheckState(res);
92375  }
92376  if (_v) {
92377  return _wrap_CStdPtrArray_Adapter_RemoveAt__SWIG_0(self, args);
92378  }
92379  }
92380  }
92381 
92382 fail:
92383  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_Adapter_RemoveAt'.\n"
92384  " Possible C/C++ prototypes are:\n"
92385  " CStdPtrArray< Adapter >::RemoveAt(int)\n"
92386  " CStdPtrArray< Adapter >::RemoveAt(std::vector< Adapter *,std::allocator< Adapter * > >::iterator)\n");
92387  return 0;
92388 }
92389 
92390 
92391 SWIGINTERN PyObject *_wrap_CStdPtrArray_Adapter_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92392  PyObject *resultobj = 0;
92393  CStdPtrArray< Adapter > *arg1 = (CStdPtrArray< Adapter > *) 0 ;
92394  std::vector< Adapter *,std::allocator< Adapter * > >::iterator arg2 ;
92395  void *argp1 = 0 ;
92396  int res1 = 0 ;
92397  swig::SwigPyIterator *iter2 = 0 ;
92398  int res2 ;
92399  PyObject * obj0 = 0 ;
92400  PyObject * obj1 = 0 ;
92401 
92402  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Adapter_erase",&obj0,&obj1)) SWIG_fail;
92403  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Adapter_t, 0 | 0 );
92404  if (!SWIG_IsOK(res1)) {
92405  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Adapter_erase" "', argument " "1"" of type '" "CStdPtrArray< Adapter > *""'");
92406  }
92407  arg1 = reinterpret_cast< CStdPtrArray< Adapter > * >(argp1);
92408  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
92409  if (!SWIG_IsOK(res2) || !iter2) {
92410  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Adapter_erase" "', argument " "2"" of type '" "std::vector< Adapter *,std::allocator< Adapter * > >::iterator""'");
92411  } else {
92413  if (iter_t) {
92414  arg2 = iter_t->get_current();
92415  } else {
92416  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Adapter_erase" "', argument " "2"" of type '" "std::vector< Adapter *,std::allocator< Adapter * > >::iterator""'");
92417  }
92418  }
92419  (arg1)->erase(arg2);
92420  resultobj = SWIG_Py_Void();
92421  return resultobj;
92422 fail:
92423  return NULL;
92424 }
92425 
92426 
92427 SWIGINTERN PyObject *_wrap_CStdPtrArray_Adapter_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92428  PyObject *resultobj = 0;
92429  CStdPtrArray< Adapter > *arg1 = (CStdPtrArray< Adapter > *) 0 ;
92430  std::vector< Adapter *,std::allocator< Adapter * > >::iterator arg2 ;
92431  std::vector< Adapter *,std::allocator< Adapter * > >::iterator arg3 ;
92432  void *argp1 = 0 ;
92433  int res1 = 0 ;
92434  swig::SwigPyIterator *iter2 = 0 ;
92435  int res2 ;
92436  swig::SwigPyIterator *iter3 = 0 ;
92437  int res3 ;
92438  PyObject * obj0 = 0 ;
92439  PyObject * obj1 = 0 ;
92440  PyObject * obj2 = 0 ;
92441 
92442  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_Adapter_erase",&obj0,&obj1,&obj2)) SWIG_fail;
92443  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Adapter_t, 0 | 0 );
92444  if (!SWIG_IsOK(res1)) {
92445  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Adapter_erase" "', argument " "1"" of type '" "CStdPtrArray< Adapter > *""'");
92446  }
92447  arg1 = reinterpret_cast< CStdPtrArray< Adapter > * >(argp1);
92448  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
92449  if (!SWIG_IsOK(res2) || !iter2) {
92450  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Adapter_erase" "', argument " "2"" of type '" "std::vector< Adapter *,std::allocator< Adapter * > >::iterator""'");
92451  } else {
92453  if (iter_t) {
92454  arg2 = iter_t->get_current();
92455  } else {
92456  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Adapter_erase" "', argument " "2"" of type '" "std::vector< Adapter *,std::allocator< Adapter * > >::iterator""'");
92457  }
92458  }
92459  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
92460  if (!SWIG_IsOK(res3) || !iter3) {
92461  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Adapter_erase" "', argument " "3"" of type '" "std::vector< Adapter *,std::allocator< Adapter * > >::iterator""'");
92462  } else {
92464  if (iter_t) {
92465  arg3 = iter_t->get_current();
92466  } else {
92467  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Adapter_erase" "', argument " "3"" of type '" "std::vector< Adapter *,std::allocator< Adapter * > >::iterator""'");
92468  }
92469  }
92470  (arg1)->erase(arg2,arg3);
92471  resultobj = SWIG_Py_Void();
92472  return resultobj;
92473 fail:
92474  return NULL;
92475 }
92476 
92477 
92478 SWIGINTERN PyObject *_wrap_CStdPtrArray_Adapter_erase(PyObject *self, PyObject *args) {
92479  int argc;
92480  PyObject *argv[4];
92481  int ii;
92482 
92483  if (!PyTuple_Check(args)) SWIG_fail;
92484  argc = args ? (int)PyObject_Length(args) : 0;
92485  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
92486  argv[ii] = PyTuple_GET_ITEM(args,ii);
92487  }
92488  if (argc == 2) {
92489  int _v;
92490  void *vptr = 0;
92491  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Adapter_t, 0);
92492  _v = SWIG_CheckState(res);
92493  if (_v) {
92494  swig::SwigPyIterator *iter = 0;
92495  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
92496  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Adapter *,std::allocator< Adapter * > >::iterator > *>(iter) != 0));
92497  if (_v) {
92498  return _wrap_CStdPtrArray_Adapter_erase__SWIG_0(self, args);
92499  }
92500  }
92501  }
92502  if (argc == 3) {
92503  int _v;
92504  void *vptr = 0;
92505  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Adapter_t, 0);
92506  _v = SWIG_CheckState(res);
92507  if (_v) {
92508  swig::SwigPyIterator *iter = 0;
92509  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
92510  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Adapter *,std::allocator< Adapter * > >::iterator > *>(iter) != 0));
92511  if (_v) {
92512  swig::SwigPyIterator *iter = 0;
92513  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
92514  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Adapter *,std::allocator< Adapter * > >::iterator > *>(iter) != 0));
92515  if (_v) {
92516  return _wrap_CStdPtrArray_Adapter_erase__SWIG_1(self, args);
92517  }
92518  }
92519  }
92520  }
92521 
92522 fail:
92523  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_Adapter_erase'.\n"
92524  " Possible C/C++ prototypes are:\n"
92525  " CStdPtrArray< Adapter >::erase(std::vector< Adapter *,std::allocator< Adapter * > >::iterator)\n"
92526  " CStdPtrArray< Adapter >::erase(std::vector< Adapter *,std::allocator< Adapter * > >::iterator,std::vector< Adapter *,std::allocator< Adapter * > >::iterator)\n");
92527  return 0;
92528 }
92529 
92530 
92531 SWIGINTERN PyObject *_wrap_CStdPtrArray_Adapter_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92532  PyObject *resultobj = 0;
92533  CStdPtrArray< Adapter > *arg1 = (CStdPtrArray< Adapter > *) 0 ;
92534  long arg2 ;
92535  void *argp1 = 0 ;
92536  int res1 = 0 ;
92537  long val2 ;
92538  int ecode2 = 0 ;
92539  PyObject * obj0 = 0 ;
92540  PyObject * obj1 = 0 ;
92541 
92542  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Adapter_SetSize",&obj0,&obj1)) SWIG_fail;
92543  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Adapter_t, 0 | 0 );
92544  if (!SWIG_IsOK(res1)) {
92545  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Adapter_SetSize" "', argument " "1"" of type '" "CStdPtrArray< Adapter > *""'");
92546  }
92547  arg1 = reinterpret_cast< CStdPtrArray< Adapter > * >(argp1);
92548  ecode2 = SWIG_AsVal_long(obj1, &val2);
92549  if (!SWIG_IsOK(ecode2)) {
92550  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_Adapter_SetSize" "', argument " "2"" of type '" "long""'");
92551  }
92552  arg2 = static_cast< long >(val2);
92553  (arg1)->SetSize(arg2);
92554  resultobj = SWIG_Py_Void();
92555  return resultobj;
92556 fail:
92557  return NULL;
92558 }
92559 
92560 
92561 SWIGINTERN PyObject *_wrap_CStdPtrArray_Adapter_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92562  PyObject *resultobj = 0;
92563  CStdPtrArray< Adapter > *arg1 = (CStdPtrArray< Adapter > *) 0 ;
92564  int arg2 ;
92565  Adapter *arg3 = (Adapter *) 0 ;
92566  void *argp1 = 0 ;
92567  int res1 = 0 ;
92568  int val2 ;
92569  int ecode2 = 0 ;
92570  void *argp3 = 0 ;
92571  int res3 = 0 ;
92572  PyObject * obj0 = 0 ;
92573  PyObject * obj1 = 0 ;
92574  PyObject * obj2 = 0 ;
92575 
92576  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_Adapter_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
92577  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Adapter_t, 0 | 0 );
92578  if (!SWIG_IsOK(res1)) {
92579  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Adapter_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< Adapter > *""'");
92580  }
92581  arg1 = reinterpret_cast< CStdPtrArray< Adapter > * >(argp1);
92582  ecode2 = SWIG_AsVal_int(obj1, &val2);
92583  if (!SWIG_IsOK(ecode2)) {
92584  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_Adapter_InsertAt" "', argument " "2"" of type '" "int""'");
92585  }
92586  arg2 = static_cast< int >(val2);
92587  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Adapter, 0 | 0 );
92588  if (!SWIG_IsOK(res3)) {
92589  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_Adapter_InsertAt" "', argument " "3"" of type '" "Adapter *""'");
92590  }
92591  arg3 = reinterpret_cast< Adapter * >(argp3);
92592  (arg1)->InsertAt(arg2,arg3);
92593  resultobj = SWIG_Py_Void();
92594  return resultobj;
92595 fail:
92596  return NULL;
92597 }
92598 
92599 
92600 SWIGINTERN PyObject *_wrap_CStdPtrArray_Adapter_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92601  PyObject *resultobj = 0;
92602  CStdPtrArray< Adapter > *arg1 = (CStdPtrArray< Adapter > *) 0 ;
92603  void *argp1 = 0 ;
92604  int res1 = 0 ;
92605  PyObject * obj0 = 0 ;
92606  int result;
92607 
92608  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Adapter_GetSize",&obj0)) SWIG_fail;
92609  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Adapter_t, 0 | 0 );
92610  if (!SWIG_IsOK(res1)) {
92611  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Adapter_GetSize" "', argument " "1"" of type '" "CStdPtrArray< Adapter > *""'");
92612  }
92613  arg1 = reinterpret_cast< CStdPtrArray< Adapter > * >(argp1);
92614  result = (int)(arg1)->GetSize();
92615  resultobj = SWIG_From_int(static_cast< int >(result));
92616  return resultobj;
92617 fail:
92618  return NULL;
92619 }
92620 
92621 
92622 SWIGINTERN PyObject *_wrap_CStdPtrArray_Adapter_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92623  PyObject *resultobj = 0;
92624  CStdPtrArray< Adapter > *arg1 = (CStdPtrArray< Adapter > *) 0 ;
92625  void *argp1 = 0 ;
92626  int res1 = 0 ;
92627  PyObject * obj0 = 0 ;
92628 
92629  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Adapter_Clear",&obj0)) SWIG_fail;
92630  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Adapter_t, 0 | 0 );
92631  if (!SWIG_IsOK(res1)) {
92632  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Adapter_Clear" "', argument " "1"" of type '" "CStdPtrArray< Adapter > *""'");
92633  }
92634  arg1 = reinterpret_cast< CStdPtrArray< Adapter > * >(argp1);
92635  (arg1)->Clear();
92636  resultobj = SWIG_Py_Void();
92637  return resultobj;
92638 fail:
92639  return NULL;
92640 }
92641 
92642 
92643 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_Adapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92644  PyObject *resultobj = 0;
92645  CStdPtrArray< Adapter > *result = 0 ;
92646 
92647  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_Adapter")) SWIG_fail;
92648  {
92649  try {
92650  result = (CStdPtrArray< Adapter > *)new CStdPtrArray< Adapter >();
92651  }
92652  catch(CStdErrorInfo oError)
92653  {
92654  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
92655  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
92656  PyErr_SetString(PyExc_IndexError, strError.c_str());
92657  SWIG_fail;
92658  }
92659  catch(...)
92660  {
92661  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
92662  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
92663  SWIG_fail;
92664  }
92665  }
92666  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_Adapter_t, SWIG_POINTER_NEW | 0 );
92667  return resultobj;
92668 fail:
92669  return NULL;
92670 }
92671 
92672 
92673 SWIGINTERN PyObject *CStdPtrArray_Adapter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92674  PyObject *obj;
92675  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
92676  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_Adapter_t, SWIG_NewClientData(obj));
92677  return SWIG_Py_Void();
92678 }
92679 
92680 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_RigidBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92681  PyObject *resultobj = 0;
92682  CStdPtrArray< RigidBody > *arg1 = (CStdPtrArray< RigidBody > *) 0 ;
92683  void *argp1 = 0 ;
92684  int res1 = 0 ;
92685  PyObject * obj0 = 0 ;
92686 
92687  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_RigidBody",&obj0)) SWIG_fail;
92688  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, SWIG_POINTER_DISOWN | 0 );
92689  if (!SWIG_IsOK(res1)) {
92690  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_RigidBody" "', argument " "1"" of type '" "CStdPtrArray< RigidBody > *""'");
92691  }
92692  arg1 = reinterpret_cast< CStdPtrArray< RigidBody > * >(argp1);
92693  delete arg1;
92694  resultobj = SWIG_Py_Void();
92695  return resultobj;
92696 fail:
92697  return NULL;
92698 }
92699 
92700 
92701 SWIGINTERN PyObject *_wrap_CStdPtrArray_RigidBody_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92702  PyObject *resultobj = 0;
92703  CStdPtrArray< RigidBody > *arg1 = (CStdPtrArray< RigidBody > *) 0 ;
92704  RigidBody *arg2 = (RigidBody *) 0 ;
92705  void *argp1 = 0 ;
92706  int res1 = 0 ;
92707  void *argp2 = 0 ;
92708  int res2 = 0 ;
92709  PyObject * obj0 = 0 ;
92710  PyObject * obj1 = 0 ;
92711 
92712  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_RigidBody_Add",&obj0,&obj1)) SWIG_fail;
92713  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, 0 | 0 );
92714  if (!SWIG_IsOK(res1)) {
92715  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RigidBody_Add" "', argument " "1"" of type '" "CStdPtrArray< RigidBody > *""'");
92716  }
92717  arg1 = reinterpret_cast< CStdPtrArray< RigidBody > * >(argp1);
92718  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RigidBody, 0 | 0 );
92719  if (!SWIG_IsOK(res2)) {
92720  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_RigidBody_Add" "', argument " "2"" of type '" "RigidBody *""'");
92721  }
92722  arg2 = reinterpret_cast< RigidBody * >(argp2);
92723  (arg1)->Add(arg2);
92724  resultobj = SWIG_Py_Void();
92725  return resultobj;
92726 fail:
92727  return NULL;
92728 }
92729 
92730 
92731 SWIGINTERN PyObject *_wrap_CStdPtrArray_RigidBody_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92732  PyObject *resultobj = 0;
92733  CStdPtrArray< RigidBody > *arg1 = (CStdPtrArray< RigidBody > *) 0 ;
92734  void *argp1 = 0 ;
92735  int res1 = 0 ;
92736  PyObject * obj0 = 0 ;
92737 
92738  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_RigidBody_clear",&obj0)) SWIG_fail;
92739  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, 0 | 0 );
92740  if (!SWIG_IsOK(res1)) {
92741  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RigidBody_clear" "', argument " "1"" of type '" "CStdPtrArray< RigidBody > *""'");
92742  }
92743  arg1 = reinterpret_cast< CStdPtrArray< RigidBody > * >(argp1);
92744  (arg1)->clear();
92745  resultobj = SWIG_Py_Void();
92746  return resultobj;
92747 fail:
92748  return NULL;
92749 }
92750 
92751 
92752 SWIGINTERN PyObject *_wrap_CStdPtrArray_RigidBody_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92753  PyObject *resultobj = 0;
92754  CStdPtrArray< RigidBody > *arg1 = (CStdPtrArray< RigidBody > *) 0 ;
92755  void *argp1 = 0 ;
92756  int res1 = 0 ;
92757  PyObject * obj0 = 0 ;
92758 
92759  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_RigidBody_RemoveAll",&obj0)) SWIG_fail;
92760  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, 0 | 0 );
92761  if (!SWIG_IsOK(res1)) {
92762  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RigidBody_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< RigidBody > *""'");
92763  }
92764  arg1 = reinterpret_cast< CStdPtrArray< RigidBody > * >(argp1);
92765  (arg1)->RemoveAll();
92766  resultobj = SWIG_Py_Void();
92767  return resultobj;
92768 fail:
92769  return NULL;
92770 }
92771 
92772 
92773 SWIGINTERN PyObject *_wrap_CStdPtrArray_RigidBody_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92774  PyObject *resultobj = 0;
92775  CStdPtrArray< RigidBody > *arg1 = (CStdPtrArray< RigidBody > *) 0 ;
92776  int arg2 ;
92777  void *argp1 = 0 ;
92778  int res1 = 0 ;
92779  int val2 ;
92780  int ecode2 = 0 ;
92781  PyObject * obj0 = 0 ;
92782  PyObject * obj1 = 0 ;
92783 
92784  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_RigidBody_RemoveAt",&obj0,&obj1)) SWIG_fail;
92785  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, 0 | 0 );
92786  if (!SWIG_IsOK(res1)) {
92787  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RigidBody_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< RigidBody > *""'");
92788  }
92789  arg1 = reinterpret_cast< CStdPtrArray< RigidBody > * >(argp1);
92790  ecode2 = SWIG_AsVal_int(obj1, &val2);
92791  if (!SWIG_IsOK(ecode2)) {
92792  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_RigidBody_RemoveAt" "', argument " "2"" of type '" "int""'");
92793  }
92794  arg2 = static_cast< int >(val2);
92795  (arg1)->RemoveAt(arg2);
92796  resultobj = SWIG_Py_Void();
92797  return resultobj;
92798 fail:
92799  return NULL;
92800 }
92801 
92802 
92803 SWIGINTERN PyObject *_wrap_CStdPtrArray_RigidBody_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92804  PyObject *resultobj = 0;
92805  CStdPtrArray< RigidBody > *arg1 = (CStdPtrArray< RigidBody > *) 0 ;
92806  std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator arg2 ;
92807  void *argp1 = 0 ;
92808  int res1 = 0 ;
92809  swig::SwigPyIterator *iter2 = 0 ;
92810  int res2 ;
92811  PyObject * obj0 = 0 ;
92812  PyObject * obj1 = 0 ;
92813 
92814  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_RigidBody_RemoveAt",&obj0,&obj1)) SWIG_fail;
92815  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, 0 | 0 );
92816  if (!SWIG_IsOK(res1)) {
92817  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RigidBody_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< RigidBody > *""'");
92818  }
92819  arg1 = reinterpret_cast< CStdPtrArray< RigidBody > * >(argp1);
92820  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
92821  if (!SWIG_IsOK(res2) || !iter2) {
92822  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RigidBody_RemoveAt" "', argument " "2"" of type '" "std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator""'");
92823  } else {
92825  if (iter_t) {
92826  arg2 = iter_t->get_current();
92827  } else {
92828  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RigidBody_RemoveAt" "', argument " "2"" of type '" "std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator""'");
92829  }
92830  }
92831  (arg1)->RemoveAt(arg2);
92832  resultobj = SWIG_Py_Void();
92833  return resultobj;
92834 fail:
92835  return NULL;
92836 }
92837 
92838 
92839 SWIGINTERN PyObject *_wrap_CStdPtrArray_RigidBody_RemoveAt(PyObject *self, PyObject *args) {
92840  int argc;
92841  PyObject *argv[3];
92842  int ii;
92843 
92844  if (!PyTuple_Check(args)) SWIG_fail;
92845  argc = args ? (int)PyObject_Length(args) : 0;
92846  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
92847  argv[ii] = PyTuple_GET_ITEM(args,ii);
92848  }
92849  if (argc == 2) {
92850  int _v;
92851  void *vptr = 0;
92852  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, 0);
92853  _v = SWIG_CheckState(res);
92854  if (_v) {
92855  swig::SwigPyIterator *iter = 0;
92856  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
92857  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator > *>(iter) != 0));
92858  if (_v) {
92859  return _wrap_CStdPtrArray_RigidBody_RemoveAt__SWIG_1(self, args);
92860  }
92861  }
92862  }
92863  if (argc == 2) {
92864  int _v;
92865  void *vptr = 0;
92866  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, 0);
92867  _v = SWIG_CheckState(res);
92868  if (_v) {
92869  {
92870  int res = SWIG_AsVal_int(argv[1], NULL);
92871  _v = SWIG_CheckState(res);
92872  }
92873  if (_v) {
92874  return _wrap_CStdPtrArray_RigidBody_RemoveAt__SWIG_0(self, args);
92875  }
92876  }
92877  }
92878 
92879 fail:
92880  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_RigidBody_RemoveAt'.\n"
92881  " Possible C/C++ prototypes are:\n"
92882  " CStdPtrArray< RigidBody >::RemoveAt(int)\n"
92883  " CStdPtrArray< RigidBody >::RemoveAt(std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator)\n");
92884  return 0;
92885 }
92886 
92887 
92888 SWIGINTERN PyObject *_wrap_CStdPtrArray_RigidBody_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92889  PyObject *resultobj = 0;
92890  CStdPtrArray< RigidBody > *arg1 = (CStdPtrArray< RigidBody > *) 0 ;
92891  std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator arg2 ;
92892  void *argp1 = 0 ;
92893  int res1 = 0 ;
92894  swig::SwigPyIterator *iter2 = 0 ;
92895  int res2 ;
92896  PyObject * obj0 = 0 ;
92897  PyObject * obj1 = 0 ;
92898 
92899  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_RigidBody_erase",&obj0,&obj1)) SWIG_fail;
92900  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, 0 | 0 );
92901  if (!SWIG_IsOK(res1)) {
92902  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RigidBody_erase" "', argument " "1"" of type '" "CStdPtrArray< RigidBody > *""'");
92903  }
92904  arg1 = reinterpret_cast< CStdPtrArray< RigidBody > * >(argp1);
92905  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
92906  if (!SWIG_IsOK(res2) || !iter2) {
92907  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RigidBody_erase" "', argument " "2"" of type '" "std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator""'");
92908  } else {
92910  if (iter_t) {
92911  arg2 = iter_t->get_current();
92912  } else {
92913  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RigidBody_erase" "', argument " "2"" of type '" "std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator""'");
92914  }
92915  }
92916  (arg1)->erase(arg2);
92917  resultobj = SWIG_Py_Void();
92918  return resultobj;
92919 fail:
92920  return NULL;
92921 }
92922 
92923 
92924 SWIGINTERN PyObject *_wrap_CStdPtrArray_RigidBody_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
92925  PyObject *resultobj = 0;
92926  CStdPtrArray< RigidBody > *arg1 = (CStdPtrArray< RigidBody > *) 0 ;
92927  std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator arg2 ;
92928  std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator arg3 ;
92929  void *argp1 = 0 ;
92930  int res1 = 0 ;
92931  swig::SwigPyIterator *iter2 = 0 ;
92932  int res2 ;
92933  swig::SwigPyIterator *iter3 = 0 ;
92934  int res3 ;
92935  PyObject * obj0 = 0 ;
92936  PyObject * obj1 = 0 ;
92937  PyObject * obj2 = 0 ;
92938 
92939  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_RigidBody_erase",&obj0,&obj1,&obj2)) SWIG_fail;
92940  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, 0 | 0 );
92941  if (!SWIG_IsOK(res1)) {
92942  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RigidBody_erase" "', argument " "1"" of type '" "CStdPtrArray< RigidBody > *""'");
92943  }
92944  arg1 = reinterpret_cast< CStdPtrArray< RigidBody > * >(argp1);
92945  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
92946  if (!SWIG_IsOK(res2) || !iter2) {
92947  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RigidBody_erase" "', argument " "2"" of type '" "std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator""'");
92948  } else {
92950  if (iter_t) {
92951  arg2 = iter_t->get_current();
92952  } else {
92953  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RigidBody_erase" "', argument " "2"" of type '" "std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator""'");
92954  }
92955  }
92956  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
92957  if (!SWIG_IsOK(res3) || !iter3) {
92958  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RigidBody_erase" "', argument " "3"" of type '" "std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator""'");
92959  } else {
92961  if (iter_t) {
92962  arg3 = iter_t->get_current();
92963  } else {
92964  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RigidBody_erase" "', argument " "3"" of type '" "std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator""'");
92965  }
92966  }
92967  (arg1)->erase(arg2,arg3);
92968  resultobj = SWIG_Py_Void();
92969  return resultobj;
92970 fail:
92971  return NULL;
92972 }
92973 
92974 
92975 SWIGINTERN PyObject *_wrap_CStdPtrArray_RigidBody_erase(PyObject *self, PyObject *args) {
92976  int argc;
92977  PyObject *argv[4];
92978  int ii;
92979 
92980  if (!PyTuple_Check(args)) SWIG_fail;
92981  argc = args ? (int)PyObject_Length(args) : 0;
92982  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
92983  argv[ii] = PyTuple_GET_ITEM(args,ii);
92984  }
92985  if (argc == 2) {
92986  int _v;
92987  void *vptr = 0;
92988  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, 0);
92989  _v = SWIG_CheckState(res);
92990  if (_v) {
92991  swig::SwigPyIterator *iter = 0;
92992  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
92993  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator > *>(iter) != 0));
92994  if (_v) {
92995  return _wrap_CStdPtrArray_RigidBody_erase__SWIG_0(self, args);
92996  }
92997  }
92998  }
92999  if (argc == 3) {
93000  int _v;
93001  void *vptr = 0;
93002  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, 0);
93003  _v = SWIG_CheckState(res);
93004  if (_v) {
93005  swig::SwigPyIterator *iter = 0;
93006  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
93007  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator > *>(iter) != 0));
93008  if (_v) {
93009  swig::SwigPyIterator *iter = 0;
93010  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
93011  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator > *>(iter) != 0));
93012  if (_v) {
93013  return _wrap_CStdPtrArray_RigidBody_erase__SWIG_1(self, args);
93014  }
93015  }
93016  }
93017  }
93018 
93019 fail:
93020  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_RigidBody_erase'.\n"
93021  " Possible C/C++ prototypes are:\n"
93022  " CStdPtrArray< RigidBody >::erase(std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator)\n"
93023  " CStdPtrArray< RigidBody >::erase(std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator,std::vector< RigidBody *,std::allocator< RigidBody * > >::iterator)\n");
93024  return 0;
93025 }
93026 
93027 
93028 SWIGINTERN PyObject *_wrap_CStdPtrArray_RigidBody_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93029  PyObject *resultobj = 0;
93030  CStdPtrArray< RigidBody > *arg1 = (CStdPtrArray< RigidBody > *) 0 ;
93031  long arg2 ;
93032  void *argp1 = 0 ;
93033  int res1 = 0 ;
93034  long val2 ;
93035  int ecode2 = 0 ;
93036  PyObject * obj0 = 0 ;
93037  PyObject * obj1 = 0 ;
93038 
93039  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_RigidBody_SetSize",&obj0,&obj1)) SWIG_fail;
93040  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, 0 | 0 );
93041  if (!SWIG_IsOK(res1)) {
93042  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RigidBody_SetSize" "', argument " "1"" of type '" "CStdPtrArray< RigidBody > *""'");
93043  }
93044  arg1 = reinterpret_cast< CStdPtrArray< RigidBody > * >(argp1);
93045  ecode2 = SWIG_AsVal_long(obj1, &val2);
93046  if (!SWIG_IsOK(ecode2)) {
93047  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_RigidBody_SetSize" "', argument " "2"" of type '" "long""'");
93048  }
93049  arg2 = static_cast< long >(val2);
93050  (arg1)->SetSize(arg2);
93051  resultobj = SWIG_Py_Void();
93052  return resultobj;
93053 fail:
93054  return NULL;
93055 }
93056 
93057 
93058 SWIGINTERN PyObject *_wrap_CStdPtrArray_RigidBody_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93059  PyObject *resultobj = 0;
93060  CStdPtrArray< RigidBody > *arg1 = (CStdPtrArray< RigidBody > *) 0 ;
93061  int arg2 ;
93062  RigidBody *arg3 = (RigidBody *) 0 ;
93063  void *argp1 = 0 ;
93064  int res1 = 0 ;
93065  int val2 ;
93066  int ecode2 = 0 ;
93067  void *argp3 = 0 ;
93068  int res3 = 0 ;
93069  PyObject * obj0 = 0 ;
93070  PyObject * obj1 = 0 ;
93071  PyObject * obj2 = 0 ;
93072 
93073  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_RigidBody_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
93074  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, 0 | 0 );
93075  if (!SWIG_IsOK(res1)) {
93076  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RigidBody_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< RigidBody > *""'");
93077  }
93078  arg1 = reinterpret_cast< CStdPtrArray< RigidBody > * >(argp1);
93079  ecode2 = SWIG_AsVal_int(obj1, &val2);
93080  if (!SWIG_IsOK(ecode2)) {
93081  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_RigidBody_InsertAt" "', argument " "2"" of type '" "int""'");
93082  }
93083  arg2 = static_cast< int >(val2);
93084  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RigidBody, 0 | 0 );
93085  if (!SWIG_IsOK(res3)) {
93086  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_RigidBody_InsertAt" "', argument " "3"" of type '" "RigidBody *""'");
93087  }
93088  arg3 = reinterpret_cast< RigidBody * >(argp3);
93089  (arg1)->InsertAt(arg2,arg3);
93090  resultobj = SWIG_Py_Void();
93091  return resultobj;
93092 fail:
93093  return NULL;
93094 }
93095 
93096 
93097 SWIGINTERN PyObject *_wrap_CStdPtrArray_RigidBody_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93098  PyObject *resultobj = 0;
93099  CStdPtrArray< RigidBody > *arg1 = (CStdPtrArray< RigidBody > *) 0 ;
93100  void *argp1 = 0 ;
93101  int res1 = 0 ;
93102  PyObject * obj0 = 0 ;
93103  int result;
93104 
93105  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_RigidBody_GetSize",&obj0)) SWIG_fail;
93106  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, 0 | 0 );
93107  if (!SWIG_IsOK(res1)) {
93108  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RigidBody_GetSize" "', argument " "1"" of type '" "CStdPtrArray< RigidBody > *""'");
93109  }
93110  arg1 = reinterpret_cast< CStdPtrArray< RigidBody > * >(argp1);
93111  result = (int)(arg1)->GetSize();
93112  resultobj = SWIG_From_int(static_cast< int >(result));
93113  return resultobj;
93114 fail:
93115  return NULL;
93116 }
93117 
93118 
93119 SWIGINTERN PyObject *_wrap_CStdPtrArray_RigidBody_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93120  PyObject *resultobj = 0;
93121  CStdPtrArray< RigidBody > *arg1 = (CStdPtrArray< RigidBody > *) 0 ;
93122  void *argp1 = 0 ;
93123  int res1 = 0 ;
93124  PyObject * obj0 = 0 ;
93125 
93126  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_RigidBody_Clear",&obj0)) SWIG_fail;
93127  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, 0 | 0 );
93128  if (!SWIG_IsOK(res1)) {
93129  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RigidBody_Clear" "', argument " "1"" of type '" "CStdPtrArray< RigidBody > *""'");
93130  }
93131  arg1 = reinterpret_cast< CStdPtrArray< RigidBody > * >(argp1);
93132  (arg1)->Clear();
93133  resultobj = SWIG_Py_Void();
93134  return resultobj;
93135 fail:
93136  return NULL;
93137 }
93138 
93139 
93140 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_RigidBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93141  PyObject *resultobj = 0;
93142  CStdPtrArray< RigidBody > *result = 0 ;
93143 
93144  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_RigidBody")) SWIG_fail;
93145  {
93146  try {
93147  result = (CStdPtrArray< RigidBody > *)new CStdPtrArray< RigidBody >();
93148  }
93149  catch(CStdErrorInfo oError)
93150  {
93151  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
93152  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
93153  PyErr_SetString(PyExc_IndexError, strError.c_str());
93154  SWIG_fail;
93155  }
93156  catch(...)
93157  {
93158  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
93159  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
93160  SWIG_fail;
93161  }
93162  }
93163  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, SWIG_POINTER_NEW | 0 );
93164  return resultobj;
93165 fail:
93166  return NULL;
93167 }
93168 
93169 
93170 SWIGINTERN PyObject *CStdPtrArray_RigidBody_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93171  PyObject *obj;
93172  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
93173  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_RigidBody_t, SWIG_NewClientData(obj));
93174  return SWIG_Py_Void();
93175 }
93176 
93177 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_RobotIOControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93178  PyObject *resultobj = 0;
93179  CStdPtrArray< RobotIOControl > *arg1 = (CStdPtrArray< RobotIOControl > *) 0 ;
93180  void *argp1 = 0 ;
93181  int res1 = 0 ;
93182  PyObject * obj0 = 0 ;
93183 
93184  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_RobotIOControl",&obj0)) SWIG_fail;
93185  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, SWIG_POINTER_DISOWN | 0 );
93186  if (!SWIG_IsOK(res1)) {
93187  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_RobotIOControl" "', argument " "1"" of type '" "CStdPtrArray< RobotIOControl > *""'");
93188  }
93189  arg1 = reinterpret_cast< CStdPtrArray< RobotIOControl > * >(argp1);
93190  delete arg1;
93191  resultobj = SWIG_Py_Void();
93192  return resultobj;
93193 fail:
93194  return NULL;
93195 }
93196 
93197 
93198 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotIOControl_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93199  PyObject *resultobj = 0;
93200  CStdPtrArray< RobotIOControl > *arg1 = (CStdPtrArray< RobotIOControl > *) 0 ;
93201  RobotIOControl *arg2 = (RobotIOControl *) 0 ;
93202  void *argp1 = 0 ;
93203  int res1 = 0 ;
93204  void *argp2 = 0 ;
93205  int res2 = 0 ;
93206  PyObject * obj0 = 0 ;
93207  PyObject * obj1 = 0 ;
93208 
93209  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_RobotIOControl_Add",&obj0,&obj1)) SWIG_fail;
93210  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0 | 0 );
93211  if (!SWIG_IsOK(res1)) {
93212  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotIOControl_Add" "', argument " "1"" of type '" "CStdPtrArray< RobotIOControl > *""'");
93213  }
93214  arg1 = reinterpret_cast< CStdPtrArray< RobotIOControl > * >(argp1);
93215  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RobotIOControl, 0 | 0 );
93216  if (!SWIG_IsOK(res2)) {
93217  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_RobotIOControl_Add" "', argument " "2"" of type '" "RobotIOControl *""'");
93218  }
93219  arg2 = reinterpret_cast< RobotIOControl * >(argp2);
93220  (arg1)->Add(arg2);
93221  resultobj = SWIG_Py_Void();
93222  return resultobj;
93223 fail:
93224  return NULL;
93225 }
93226 
93227 
93228 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotIOControl_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93229  PyObject *resultobj = 0;
93230  CStdPtrArray< RobotIOControl > *arg1 = (CStdPtrArray< RobotIOControl > *) 0 ;
93231  void *argp1 = 0 ;
93232  int res1 = 0 ;
93233  PyObject * obj0 = 0 ;
93234 
93235  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_RobotIOControl_clear",&obj0)) SWIG_fail;
93236  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0 | 0 );
93237  if (!SWIG_IsOK(res1)) {
93238  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotIOControl_clear" "', argument " "1"" of type '" "CStdPtrArray< RobotIOControl > *""'");
93239  }
93240  arg1 = reinterpret_cast< CStdPtrArray< RobotIOControl > * >(argp1);
93241  (arg1)->clear();
93242  resultobj = SWIG_Py_Void();
93243  return resultobj;
93244 fail:
93245  return NULL;
93246 }
93247 
93248 
93249 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotIOControl_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93250  PyObject *resultobj = 0;
93251  CStdPtrArray< RobotIOControl > *arg1 = (CStdPtrArray< RobotIOControl > *) 0 ;
93252  void *argp1 = 0 ;
93253  int res1 = 0 ;
93254  PyObject * obj0 = 0 ;
93255 
93256  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_RobotIOControl_RemoveAll",&obj0)) SWIG_fail;
93257  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0 | 0 );
93258  if (!SWIG_IsOK(res1)) {
93259  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotIOControl_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< RobotIOControl > *""'");
93260  }
93261  arg1 = reinterpret_cast< CStdPtrArray< RobotIOControl > * >(argp1);
93262  (arg1)->RemoveAll();
93263  resultobj = SWIG_Py_Void();
93264  return resultobj;
93265 fail:
93266  return NULL;
93267 }
93268 
93269 
93270 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotIOControl_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93271  PyObject *resultobj = 0;
93272  CStdPtrArray< RobotIOControl > *arg1 = (CStdPtrArray< RobotIOControl > *) 0 ;
93273  int arg2 ;
93274  void *argp1 = 0 ;
93275  int res1 = 0 ;
93276  int val2 ;
93277  int ecode2 = 0 ;
93278  PyObject * obj0 = 0 ;
93279  PyObject * obj1 = 0 ;
93280 
93281  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_RobotIOControl_RemoveAt",&obj0,&obj1)) SWIG_fail;
93282  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0 | 0 );
93283  if (!SWIG_IsOK(res1)) {
93284  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotIOControl_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< RobotIOControl > *""'");
93285  }
93286  arg1 = reinterpret_cast< CStdPtrArray< RobotIOControl > * >(argp1);
93287  ecode2 = SWIG_AsVal_int(obj1, &val2);
93288  if (!SWIG_IsOK(ecode2)) {
93289  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_RobotIOControl_RemoveAt" "', argument " "2"" of type '" "int""'");
93290  }
93291  arg2 = static_cast< int >(val2);
93292  (arg1)->RemoveAt(arg2);
93293  resultobj = SWIG_Py_Void();
93294  return resultobj;
93295 fail:
93296  return NULL;
93297 }
93298 
93299 
93300 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotIOControl_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93301  PyObject *resultobj = 0;
93302  CStdPtrArray< RobotIOControl > *arg1 = (CStdPtrArray< RobotIOControl > *) 0 ;
93303  std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator arg2 ;
93304  void *argp1 = 0 ;
93305  int res1 = 0 ;
93306  swig::SwigPyIterator *iter2 = 0 ;
93307  int res2 ;
93308  PyObject * obj0 = 0 ;
93309  PyObject * obj1 = 0 ;
93310 
93311  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_RobotIOControl_RemoveAt",&obj0,&obj1)) SWIG_fail;
93312  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0 | 0 );
93313  if (!SWIG_IsOK(res1)) {
93314  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotIOControl_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< RobotIOControl > *""'");
93315  }
93316  arg1 = reinterpret_cast< CStdPtrArray< RobotIOControl > * >(argp1);
93317  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
93318  if (!SWIG_IsOK(res2) || !iter2) {
93319  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotIOControl_RemoveAt" "', argument " "2"" of type '" "std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator""'");
93320  } else {
93322  if (iter_t) {
93323  arg2 = iter_t->get_current();
93324  } else {
93325  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotIOControl_RemoveAt" "', argument " "2"" of type '" "std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator""'");
93326  }
93327  }
93328  (arg1)->RemoveAt(arg2);
93329  resultobj = SWIG_Py_Void();
93330  return resultobj;
93331 fail:
93332  return NULL;
93333 }
93334 
93335 
93336 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotIOControl_RemoveAt(PyObject *self, PyObject *args) {
93337  int argc;
93338  PyObject *argv[3];
93339  int ii;
93340 
93341  if (!PyTuple_Check(args)) SWIG_fail;
93342  argc = args ? (int)PyObject_Length(args) : 0;
93343  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
93344  argv[ii] = PyTuple_GET_ITEM(args,ii);
93345  }
93346  if (argc == 2) {
93347  int _v;
93348  void *vptr = 0;
93349  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0);
93350  _v = SWIG_CheckState(res);
93351  if (_v) {
93352  swig::SwigPyIterator *iter = 0;
93353  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
93354  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator > *>(iter) != 0));
93355  if (_v) {
93356  return _wrap_CStdPtrArray_RobotIOControl_RemoveAt__SWIG_1(self, args);
93357  }
93358  }
93359  }
93360  if (argc == 2) {
93361  int _v;
93362  void *vptr = 0;
93363  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0);
93364  _v = SWIG_CheckState(res);
93365  if (_v) {
93366  {
93367  int res = SWIG_AsVal_int(argv[1], NULL);
93368  _v = SWIG_CheckState(res);
93369  }
93370  if (_v) {
93371  return _wrap_CStdPtrArray_RobotIOControl_RemoveAt__SWIG_0(self, args);
93372  }
93373  }
93374  }
93375 
93376 fail:
93377  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_RobotIOControl_RemoveAt'.\n"
93378  " Possible C/C++ prototypes are:\n"
93379  " CStdPtrArray< RobotIOControl >::RemoveAt(int)\n"
93380  " CStdPtrArray< RobotIOControl >::RemoveAt(std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator)\n");
93381  return 0;
93382 }
93383 
93384 
93385 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotIOControl_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93386  PyObject *resultobj = 0;
93387  CStdPtrArray< RobotIOControl > *arg1 = (CStdPtrArray< RobotIOControl > *) 0 ;
93388  std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator arg2 ;
93389  void *argp1 = 0 ;
93390  int res1 = 0 ;
93391  swig::SwigPyIterator *iter2 = 0 ;
93392  int res2 ;
93393  PyObject * obj0 = 0 ;
93394  PyObject * obj1 = 0 ;
93395 
93396  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_RobotIOControl_erase",&obj0,&obj1)) SWIG_fail;
93397  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0 | 0 );
93398  if (!SWIG_IsOK(res1)) {
93399  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotIOControl_erase" "', argument " "1"" of type '" "CStdPtrArray< RobotIOControl > *""'");
93400  }
93401  arg1 = reinterpret_cast< CStdPtrArray< RobotIOControl > * >(argp1);
93402  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
93403  if (!SWIG_IsOK(res2) || !iter2) {
93404  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotIOControl_erase" "', argument " "2"" of type '" "std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator""'");
93405  } else {
93407  if (iter_t) {
93408  arg2 = iter_t->get_current();
93409  } else {
93410  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotIOControl_erase" "', argument " "2"" of type '" "std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator""'");
93411  }
93412  }
93413  (arg1)->erase(arg2);
93414  resultobj = SWIG_Py_Void();
93415  return resultobj;
93416 fail:
93417  return NULL;
93418 }
93419 
93420 
93421 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotIOControl_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93422  PyObject *resultobj = 0;
93423  CStdPtrArray< RobotIOControl > *arg1 = (CStdPtrArray< RobotIOControl > *) 0 ;
93424  std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator arg2 ;
93425  std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator arg3 ;
93426  void *argp1 = 0 ;
93427  int res1 = 0 ;
93428  swig::SwigPyIterator *iter2 = 0 ;
93429  int res2 ;
93430  swig::SwigPyIterator *iter3 = 0 ;
93431  int res3 ;
93432  PyObject * obj0 = 0 ;
93433  PyObject * obj1 = 0 ;
93434  PyObject * obj2 = 0 ;
93435 
93436  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_RobotIOControl_erase",&obj0,&obj1,&obj2)) SWIG_fail;
93437  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0 | 0 );
93438  if (!SWIG_IsOK(res1)) {
93439  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotIOControl_erase" "', argument " "1"" of type '" "CStdPtrArray< RobotIOControl > *""'");
93440  }
93441  arg1 = reinterpret_cast< CStdPtrArray< RobotIOControl > * >(argp1);
93442  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
93443  if (!SWIG_IsOK(res2) || !iter2) {
93444  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotIOControl_erase" "', argument " "2"" of type '" "std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator""'");
93445  } else {
93447  if (iter_t) {
93448  arg2 = iter_t->get_current();
93449  } else {
93450  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotIOControl_erase" "', argument " "2"" of type '" "std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator""'");
93451  }
93452  }
93453  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
93454  if (!SWIG_IsOK(res3) || !iter3) {
93455  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotIOControl_erase" "', argument " "3"" of type '" "std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator""'");
93456  } else {
93458  if (iter_t) {
93459  arg3 = iter_t->get_current();
93460  } else {
93461  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotIOControl_erase" "', argument " "3"" of type '" "std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator""'");
93462  }
93463  }
93464  (arg1)->erase(arg2,arg3);
93465  resultobj = SWIG_Py_Void();
93466  return resultobj;
93467 fail:
93468  return NULL;
93469 }
93470 
93471 
93472 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotIOControl_erase(PyObject *self, PyObject *args) {
93473  int argc;
93474  PyObject *argv[4];
93475  int ii;
93476 
93477  if (!PyTuple_Check(args)) SWIG_fail;
93478  argc = args ? (int)PyObject_Length(args) : 0;
93479  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
93480  argv[ii] = PyTuple_GET_ITEM(args,ii);
93481  }
93482  if (argc == 2) {
93483  int _v;
93484  void *vptr = 0;
93485  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0);
93486  _v = SWIG_CheckState(res);
93487  if (_v) {
93488  swig::SwigPyIterator *iter = 0;
93489  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
93490  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator > *>(iter) != 0));
93491  if (_v) {
93492  return _wrap_CStdPtrArray_RobotIOControl_erase__SWIG_0(self, args);
93493  }
93494  }
93495  }
93496  if (argc == 3) {
93497  int _v;
93498  void *vptr = 0;
93499  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0);
93500  _v = SWIG_CheckState(res);
93501  if (_v) {
93502  swig::SwigPyIterator *iter = 0;
93503  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
93504  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator > *>(iter) != 0));
93505  if (_v) {
93506  swig::SwigPyIterator *iter = 0;
93507  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
93508  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator > *>(iter) != 0));
93509  if (_v) {
93510  return _wrap_CStdPtrArray_RobotIOControl_erase__SWIG_1(self, args);
93511  }
93512  }
93513  }
93514  }
93515 
93516 fail:
93517  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_RobotIOControl_erase'.\n"
93518  " Possible C/C++ prototypes are:\n"
93519  " CStdPtrArray< RobotIOControl >::erase(std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator)\n"
93520  " CStdPtrArray< RobotIOControl >::erase(std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator,std::vector< RobotIOControl *,std::allocator< RobotIOControl * > >::iterator)\n");
93521  return 0;
93522 }
93523 
93524 
93525 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotIOControl_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93526  PyObject *resultobj = 0;
93527  CStdPtrArray< RobotIOControl > *arg1 = (CStdPtrArray< RobotIOControl > *) 0 ;
93528  long arg2 ;
93529  void *argp1 = 0 ;
93530  int res1 = 0 ;
93531  long val2 ;
93532  int ecode2 = 0 ;
93533  PyObject * obj0 = 0 ;
93534  PyObject * obj1 = 0 ;
93535 
93536  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_RobotIOControl_SetSize",&obj0,&obj1)) SWIG_fail;
93537  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0 | 0 );
93538  if (!SWIG_IsOK(res1)) {
93539  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotIOControl_SetSize" "', argument " "1"" of type '" "CStdPtrArray< RobotIOControl > *""'");
93540  }
93541  arg1 = reinterpret_cast< CStdPtrArray< RobotIOControl > * >(argp1);
93542  ecode2 = SWIG_AsVal_long(obj1, &val2);
93543  if (!SWIG_IsOK(ecode2)) {
93544  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_RobotIOControl_SetSize" "', argument " "2"" of type '" "long""'");
93545  }
93546  arg2 = static_cast< long >(val2);
93547  (arg1)->SetSize(arg2);
93548  resultobj = SWIG_Py_Void();
93549  return resultobj;
93550 fail:
93551  return NULL;
93552 }
93553 
93554 
93555 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotIOControl_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93556  PyObject *resultobj = 0;
93557  CStdPtrArray< RobotIOControl > *arg1 = (CStdPtrArray< RobotIOControl > *) 0 ;
93558  int arg2 ;
93559  RobotIOControl *arg3 = (RobotIOControl *) 0 ;
93560  void *argp1 = 0 ;
93561  int res1 = 0 ;
93562  int val2 ;
93563  int ecode2 = 0 ;
93564  void *argp3 = 0 ;
93565  int res3 = 0 ;
93566  PyObject * obj0 = 0 ;
93567  PyObject * obj1 = 0 ;
93568  PyObject * obj2 = 0 ;
93569 
93570  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_RobotIOControl_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
93571  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0 | 0 );
93572  if (!SWIG_IsOK(res1)) {
93573  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotIOControl_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< RobotIOControl > *""'");
93574  }
93575  arg1 = reinterpret_cast< CStdPtrArray< RobotIOControl > * >(argp1);
93576  ecode2 = SWIG_AsVal_int(obj1, &val2);
93577  if (!SWIG_IsOK(ecode2)) {
93578  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_RobotIOControl_InsertAt" "', argument " "2"" of type '" "int""'");
93579  }
93580  arg2 = static_cast< int >(val2);
93581  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RobotIOControl, 0 | 0 );
93582  if (!SWIG_IsOK(res3)) {
93583  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_RobotIOControl_InsertAt" "', argument " "3"" of type '" "RobotIOControl *""'");
93584  }
93585  arg3 = reinterpret_cast< RobotIOControl * >(argp3);
93586  (arg1)->InsertAt(arg2,arg3);
93587  resultobj = SWIG_Py_Void();
93588  return resultobj;
93589 fail:
93590  return NULL;
93591 }
93592 
93593 
93594 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotIOControl_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93595  PyObject *resultobj = 0;
93596  CStdPtrArray< RobotIOControl > *arg1 = (CStdPtrArray< RobotIOControl > *) 0 ;
93597  void *argp1 = 0 ;
93598  int res1 = 0 ;
93599  PyObject * obj0 = 0 ;
93600  int result;
93601 
93602  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_RobotIOControl_GetSize",&obj0)) SWIG_fail;
93603  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0 | 0 );
93604  if (!SWIG_IsOK(res1)) {
93605  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotIOControl_GetSize" "', argument " "1"" of type '" "CStdPtrArray< RobotIOControl > *""'");
93606  }
93607  arg1 = reinterpret_cast< CStdPtrArray< RobotIOControl > * >(argp1);
93608  result = (int)(arg1)->GetSize();
93609  resultobj = SWIG_From_int(static_cast< int >(result));
93610  return resultobj;
93611 fail:
93612  return NULL;
93613 }
93614 
93615 
93616 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotIOControl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93617  PyObject *resultobj = 0;
93618  CStdPtrArray< RobotIOControl > *arg1 = (CStdPtrArray< RobotIOControl > *) 0 ;
93619  void *argp1 = 0 ;
93620  int res1 = 0 ;
93621  PyObject * obj0 = 0 ;
93622 
93623  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_RobotIOControl_Clear",&obj0)) SWIG_fail;
93624  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0 | 0 );
93625  if (!SWIG_IsOK(res1)) {
93626  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotIOControl_Clear" "', argument " "1"" of type '" "CStdPtrArray< RobotIOControl > *""'");
93627  }
93628  arg1 = reinterpret_cast< CStdPtrArray< RobotIOControl > * >(argp1);
93629  (arg1)->Clear();
93630  resultobj = SWIG_Py_Void();
93631  return resultobj;
93632 fail:
93633  return NULL;
93634 }
93635 
93636 
93637 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_RobotIOControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93638  PyObject *resultobj = 0;
93639  CStdPtrArray< RobotIOControl > *result = 0 ;
93640 
93641  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_RobotIOControl")) SWIG_fail;
93642  {
93643  try {
93644  result = (CStdPtrArray< RobotIOControl > *)new CStdPtrArray< RobotIOControl >();
93645  }
93646  catch(CStdErrorInfo oError)
93647  {
93648  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
93649  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
93650  PyErr_SetString(PyExc_IndexError, strError.c_str());
93651  SWIG_fail;
93652  }
93653  catch(...)
93654  {
93655  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
93656  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
93657  SWIG_fail;
93658  }
93659  }
93660  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, SWIG_POINTER_NEW | 0 );
93661  return resultobj;
93662 fail:
93663  return NULL;
93664 }
93665 
93666 
93667 SWIGINTERN PyObject *CStdPtrArray_RobotIOControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93668  PyObject *obj;
93669  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
93670  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, SWIG_NewClientData(obj));
93671  return SWIG_Py_Void();
93672 }
93673 
93674 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_RobotPartInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93675  PyObject *resultobj = 0;
93676  CStdPtrArray< RobotPartInterface > *arg1 = (CStdPtrArray< RobotPartInterface > *) 0 ;
93677  void *argp1 = 0 ;
93678  int res1 = 0 ;
93679  PyObject * obj0 = 0 ;
93680 
93681  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_RobotPartInterface",&obj0)) SWIG_fail;
93682  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, SWIG_POINTER_DISOWN | 0 );
93683  if (!SWIG_IsOK(res1)) {
93684  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_RobotPartInterface" "', argument " "1"" of type '" "CStdPtrArray< RobotPartInterface > *""'");
93685  }
93686  arg1 = reinterpret_cast< CStdPtrArray< RobotPartInterface > * >(argp1);
93687  delete arg1;
93688  resultobj = SWIG_Py_Void();
93689  return resultobj;
93690 fail:
93691  return NULL;
93692 }
93693 
93694 
93695 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotPartInterface_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93696  PyObject *resultobj = 0;
93697  CStdPtrArray< RobotPartInterface > *arg1 = (CStdPtrArray< RobotPartInterface > *) 0 ;
93698  RobotPartInterface *arg2 = (RobotPartInterface *) 0 ;
93699  void *argp1 = 0 ;
93700  int res1 = 0 ;
93701  void *argp2 = 0 ;
93702  int res2 = 0 ;
93703  PyObject * obj0 = 0 ;
93704  PyObject * obj1 = 0 ;
93705 
93706  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_RobotPartInterface_Add",&obj0,&obj1)) SWIG_fail;
93707  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0 | 0 );
93708  if (!SWIG_IsOK(res1)) {
93709  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotPartInterface_Add" "', argument " "1"" of type '" "CStdPtrArray< RobotPartInterface > *""'");
93710  }
93711  arg1 = reinterpret_cast< CStdPtrArray< RobotPartInterface > * >(argp1);
93712  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RobotPartInterface, 0 | 0 );
93713  if (!SWIG_IsOK(res2)) {
93714  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_RobotPartInterface_Add" "', argument " "2"" of type '" "RobotPartInterface *""'");
93715  }
93716  arg2 = reinterpret_cast< RobotPartInterface * >(argp2);
93717  (arg1)->Add(arg2);
93718  resultobj = SWIG_Py_Void();
93719  return resultobj;
93720 fail:
93721  return NULL;
93722 }
93723 
93724 
93725 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotPartInterface_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93726  PyObject *resultobj = 0;
93727  CStdPtrArray< RobotPartInterface > *arg1 = (CStdPtrArray< RobotPartInterface > *) 0 ;
93728  void *argp1 = 0 ;
93729  int res1 = 0 ;
93730  PyObject * obj0 = 0 ;
93731 
93732  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_RobotPartInterface_clear",&obj0)) SWIG_fail;
93733  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0 | 0 );
93734  if (!SWIG_IsOK(res1)) {
93735  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotPartInterface_clear" "', argument " "1"" of type '" "CStdPtrArray< RobotPartInterface > *""'");
93736  }
93737  arg1 = reinterpret_cast< CStdPtrArray< RobotPartInterface > * >(argp1);
93738  (arg1)->clear();
93739  resultobj = SWIG_Py_Void();
93740  return resultobj;
93741 fail:
93742  return NULL;
93743 }
93744 
93745 
93746 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotPartInterface_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93747  PyObject *resultobj = 0;
93748  CStdPtrArray< RobotPartInterface > *arg1 = (CStdPtrArray< RobotPartInterface > *) 0 ;
93749  void *argp1 = 0 ;
93750  int res1 = 0 ;
93751  PyObject * obj0 = 0 ;
93752 
93753  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_RobotPartInterface_RemoveAll",&obj0)) SWIG_fail;
93754  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0 | 0 );
93755  if (!SWIG_IsOK(res1)) {
93756  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotPartInterface_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< RobotPartInterface > *""'");
93757  }
93758  arg1 = reinterpret_cast< CStdPtrArray< RobotPartInterface > * >(argp1);
93759  (arg1)->RemoveAll();
93760  resultobj = SWIG_Py_Void();
93761  return resultobj;
93762 fail:
93763  return NULL;
93764 }
93765 
93766 
93767 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotPartInterface_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93768  PyObject *resultobj = 0;
93769  CStdPtrArray< RobotPartInterface > *arg1 = (CStdPtrArray< RobotPartInterface > *) 0 ;
93770  int arg2 ;
93771  void *argp1 = 0 ;
93772  int res1 = 0 ;
93773  int val2 ;
93774  int ecode2 = 0 ;
93775  PyObject * obj0 = 0 ;
93776  PyObject * obj1 = 0 ;
93777 
93778  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_RobotPartInterface_RemoveAt",&obj0,&obj1)) SWIG_fail;
93779  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0 | 0 );
93780  if (!SWIG_IsOK(res1)) {
93781  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotPartInterface_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< RobotPartInterface > *""'");
93782  }
93783  arg1 = reinterpret_cast< CStdPtrArray< RobotPartInterface > * >(argp1);
93784  ecode2 = SWIG_AsVal_int(obj1, &val2);
93785  if (!SWIG_IsOK(ecode2)) {
93786  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_RobotPartInterface_RemoveAt" "', argument " "2"" of type '" "int""'");
93787  }
93788  arg2 = static_cast< int >(val2);
93789  (arg1)->RemoveAt(arg2);
93790  resultobj = SWIG_Py_Void();
93791  return resultobj;
93792 fail:
93793  return NULL;
93794 }
93795 
93796 
93797 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotPartInterface_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93798  PyObject *resultobj = 0;
93799  CStdPtrArray< RobotPartInterface > *arg1 = (CStdPtrArray< RobotPartInterface > *) 0 ;
93800  std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator arg2 ;
93801  void *argp1 = 0 ;
93802  int res1 = 0 ;
93803  swig::SwigPyIterator *iter2 = 0 ;
93804  int res2 ;
93805  PyObject * obj0 = 0 ;
93806  PyObject * obj1 = 0 ;
93807 
93808  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_RobotPartInterface_RemoveAt",&obj0,&obj1)) SWIG_fail;
93809  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0 | 0 );
93810  if (!SWIG_IsOK(res1)) {
93811  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotPartInterface_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< RobotPartInterface > *""'");
93812  }
93813  arg1 = reinterpret_cast< CStdPtrArray< RobotPartInterface > * >(argp1);
93814  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
93815  if (!SWIG_IsOK(res2) || !iter2) {
93816  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotPartInterface_RemoveAt" "', argument " "2"" of type '" "std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator""'");
93817  } else {
93819  if (iter_t) {
93820  arg2 = iter_t->get_current();
93821  } else {
93822  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotPartInterface_RemoveAt" "', argument " "2"" of type '" "std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator""'");
93823  }
93824  }
93825  (arg1)->RemoveAt(arg2);
93826  resultobj = SWIG_Py_Void();
93827  return resultobj;
93828 fail:
93829  return NULL;
93830 }
93831 
93832 
93833 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotPartInterface_RemoveAt(PyObject *self, PyObject *args) {
93834  int argc;
93835  PyObject *argv[3];
93836  int ii;
93837 
93838  if (!PyTuple_Check(args)) SWIG_fail;
93839  argc = args ? (int)PyObject_Length(args) : 0;
93840  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
93841  argv[ii] = PyTuple_GET_ITEM(args,ii);
93842  }
93843  if (argc == 2) {
93844  int _v;
93845  void *vptr = 0;
93846  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0);
93847  _v = SWIG_CheckState(res);
93848  if (_v) {
93849  swig::SwigPyIterator *iter = 0;
93850  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
93851  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator > *>(iter) != 0));
93852  if (_v) {
93853  return _wrap_CStdPtrArray_RobotPartInterface_RemoveAt__SWIG_1(self, args);
93854  }
93855  }
93856  }
93857  if (argc == 2) {
93858  int _v;
93859  void *vptr = 0;
93860  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0);
93861  _v = SWIG_CheckState(res);
93862  if (_v) {
93863  {
93864  int res = SWIG_AsVal_int(argv[1], NULL);
93865  _v = SWIG_CheckState(res);
93866  }
93867  if (_v) {
93868  return _wrap_CStdPtrArray_RobotPartInterface_RemoveAt__SWIG_0(self, args);
93869  }
93870  }
93871  }
93872 
93873 fail:
93874  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_RobotPartInterface_RemoveAt'.\n"
93875  " Possible C/C++ prototypes are:\n"
93876  " CStdPtrArray< RobotPartInterface >::RemoveAt(int)\n"
93877  " CStdPtrArray< RobotPartInterface >::RemoveAt(std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator)\n");
93878  return 0;
93879 }
93880 
93881 
93882 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotPartInterface_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93883  PyObject *resultobj = 0;
93884  CStdPtrArray< RobotPartInterface > *arg1 = (CStdPtrArray< RobotPartInterface > *) 0 ;
93885  std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator arg2 ;
93886  void *argp1 = 0 ;
93887  int res1 = 0 ;
93888  swig::SwigPyIterator *iter2 = 0 ;
93889  int res2 ;
93890  PyObject * obj0 = 0 ;
93891  PyObject * obj1 = 0 ;
93892 
93893  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_RobotPartInterface_erase",&obj0,&obj1)) SWIG_fail;
93894  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0 | 0 );
93895  if (!SWIG_IsOK(res1)) {
93896  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotPartInterface_erase" "', argument " "1"" of type '" "CStdPtrArray< RobotPartInterface > *""'");
93897  }
93898  arg1 = reinterpret_cast< CStdPtrArray< RobotPartInterface > * >(argp1);
93899  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
93900  if (!SWIG_IsOK(res2) || !iter2) {
93901  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotPartInterface_erase" "', argument " "2"" of type '" "std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator""'");
93902  } else {
93904  if (iter_t) {
93905  arg2 = iter_t->get_current();
93906  } else {
93907  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotPartInterface_erase" "', argument " "2"" of type '" "std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator""'");
93908  }
93909  }
93910  (arg1)->erase(arg2);
93911  resultobj = SWIG_Py_Void();
93912  return resultobj;
93913 fail:
93914  return NULL;
93915 }
93916 
93917 
93918 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotPartInterface_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
93919  PyObject *resultobj = 0;
93920  CStdPtrArray< RobotPartInterface > *arg1 = (CStdPtrArray< RobotPartInterface > *) 0 ;
93921  std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator arg2 ;
93922  std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator arg3 ;
93923  void *argp1 = 0 ;
93924  int res1 = 0 ;
93925  swig::SwigPyIterator *iter2 = 0 ;
93926  int res2 ;
93927  swig::SwigPyIterator *iter3 = 0 ;
93928  int res3 ;
93929  PyObject * obj0 = 0 ;
93930  PyObject * obj1 = 0 ;
93931  PyObject * obj2 = 0 ;
93932 
93933  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_RobotPartInterface_erase",&obj0,&obj1,&obj2)) SWIG_fail;
93934  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0 | 0 );
93935  if (!SWIG_IsOK(res1)) {
93936  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotPartInterface_erase" "', argument " "1"" of type '" "CStdPtrArray< RobotPartInterface > *""'");
93937  }
93938  arg1 = reinterpret_cast< CStdPtrArray< RobotPartInterface > * >(argp1);
93939  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
93940  if (!SWIG_IsOK(res2) || !iter2) {
93941  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotPartInterface_erase" "', argument " "2"" of type '" "std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator""'");
93942  } else {
93944  if (iter_t) {
93945  arg2 = iter_t->get_current();
93946  } else {
93947  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotPartInterface_erase" "', argument " "2"" of type '" "std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator""'");
93948  }
93949  }
93950  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
93951  if (!SWIG_IsOK(res3) || !iter3) {
93952  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotPartInterface_erase" "', argument " "3"" of type '" "std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator""'");
93953  } else {
93955  if (iter_t) {
93956  arg3 = iter_t->get_current();
93957  } else {
93958  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_RobotPartInterface_erase" "', argument " "3"" of type '" "std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator""'");
93959  }
93960  }
93961  (arg1)->erase(arg2,arg3);
93962  resultobj = SWIG_Py_Void();
93963  return resultobj;
93964 fail:
93965  return NULL;
93966 }
93967 
93968 
93969 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotPartInterface_erase(PyObject *self, PyObject *args) {
93970  int argc;
93971  PyObject *argv[4];
93972  int ii;
93973 
93974  if (!PyTuple_Check(args)) SWIG_fail;
93975  argc = args ? (int)PyObject_Length(args) : 0;
93976  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
93977  argv[ii] = PyTuple_GET_ITEM(args,ii);
93978  }
93979  if (argc == 2) {
93980  int _v;
93981  void *vptr = 0;
93982  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0);
93983  _v = SWIG_CheckState(res);
93984  if (_v) {
93985  swig::SwigPyIterator *iter = 0;
93986  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
93987  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator > *>(iter) != 0));
93988  if (_v) {
93989  return _wrap_CStdPtrArray_RobotPartInterface_erase__SWIG_0(self, args);
93990  }
93991  }
93992  }
93993  if (argc == 3) {
93994  int _v;
93995  void *vptr = 0;
93996  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0);
93997  _v = SWIG_CheckState(res);
93998  if (_v) {
93999  swig::SwigPyIterator *iter = 0;
94000  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
94001  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator > *>(iter) != 0));
94002  if (_v) {
94003  swig::SwigPyIterator *iter = 0;
94004  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
94005  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator > *>(iter) != 0));
94006  if (_v) {
94007  return _wrap_CStdPtrArray_RobotPartInterface_erase__SWIG_1(self, args);
94008  }
94009  }
94010  }
94011  }
94012 
94013 fail:
94014  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_RobotPartInterface_erase'.\n"
94015  " Possible C/C++ prototypes are:\n"
94016  " CStdPtrArray< RobotPartInterface >::erase(std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator)\n"
94017  " CStdPtrArray< RobotPartInterface >::erase(std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator,std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > >::iterator)\n");
94018  return 0;
94019 }
94020 
94021 
94022 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotPartInterface_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94023  PyObject *resultobj = 0;
94024  CStdPtrArray< RobotPartInterface > *arg1 = (CStdPtrArray< RobotPartInterface > *) 0 ;
94025  long arg2 ;
94026  void *argp1 = 0 ;
94027  int res1 = 0 ;
94028  long val2 ;
94029  int ecode2 = 0 ;
94030  PyObject * obj0 = 0 ;
94031  PyObject * obj1 = 0 ;
94032 
94033  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_RobotPartInterface_SetSize",&obj0,&obj1)) SWIG_fail;
94034  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0 | 0 );
94035  if (!SWIG_IsOK(res1)) {
94036  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotPartInterface_SetSize" "', argument " "1"" of type '" "CStdPtrArray< RobotPartInterface > *""'");
94037  }
94038  arg1 = reinterpret_cast< CStdPtrArray< RobotPartInterface > * >(argp1);
94039  ecode2 = SWIG_AsVal_long(obj1, &val2);
94040  if (!SWIG_IsOK(ecode2)) {
94041  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_RobotPartInterface_SetSize" "', argument " "2"" of type '" "long""'");
94042  }
94043  arg2 = static_cast< long >(val2);
94044  (arg1)->SetSize(arg2);
94045  resultobj = SWIG_Py_Void();
94046  return resultobj;
94047 fail:
94048  return NULL;
94049 }
94050 
94051 
94052 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotPartInterface_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94053  PyObject *resultobj = 0;
94054  CStdPtrArray< RobotPartInterface > *arg1 = (CStdPtrArray< RobotPartInterface > *) 0 ;
94055  int arg2 ;
94056  RobotPartInterface *arg3 = (RobotPartInterface *) 0 ;
94057  void *argp1 = 0 ;
94058  int res1 = 0 ;
94059  int val2 ;
94060  int ecode2 = 0 ;
94061  void *argp3 = 0 ;
94062  int res3 = 0 ;
94063  PyObject * obj0 = 0 ;
94064  PyObject * obj1 = 0 ;
94065  PyObject * obj2 = 0 ;
94066 
94067  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_RobotPartInterface_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
94068  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0 | 0 );
94069  if (!SWIG_IsOK(res1)) {
94070  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotPartInterface_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< RobotPartInterface > *""'");
94071  }
94072  arg1 = reinterpret_cast< CStdPtrArray< RobotPartInterface > * >(argp1);
94073  ecode2 = SWIG_AsVal_int(obj1, &val2);
94074  if (!SWIG_IsOK(ecode2)) {
94075  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_RobotPartInterface_InsertAt" "', argument " "2"" of type '" "int""'");
94076  }
94077  arg2 = static_cast< int >(val2);
94078  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RobotPartInterface, 0 | 0 );
94079  if (!SWIG_IsOK(res3)) {
94080  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_RobotPartInterface_InsertAt" "', argument " "3"" of type '" "RobotPartInterface *""'");
94081  }
94082  arg3 = reinterpret_cast< RobotPartInterface * >(argp3);
94083  (arg1)->InsertAt(arg2,arg3);
94084  resultobj = SWIG_Py_Void();
94085  return resultobj;
94086 fail:
94087  return NULL;
94088 }
94089 
94090 
94091 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotPartInterface_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94092  PyObject *resultobj = 0;
94093  CStdPtrArray< RobotPartInterface > *arg1 = (CStdPtrArray< RobotPartInterface > *) 0 ;
94094  void *argp1 = 0 ;
94095  int res1 = 0 ;
94096  PyObject * obj0 = 0 ;
94097  int result;
94098 
94099  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_RobotPartInterface_GetSize",&obj0)) SWIG_fail;
94100  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0 | 0 );
94101  if (!SWIG_IsOK(res1)) {
94102  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotPartInterface_GetSize" "', argument " "1"" of type '" "CStdPtrArray< RobotPartInterface > *""'");
94103  }
94104  arg1 = reinterpret_cast< CStdPtrArray< RobotPartInterface > * >(argp1);
94105  result = (int)(arg1)->GetSize();
94106  resultobj = SWIG_From_int(static_cast< int >(result));
94107  return resultobj;
94108 fail:
94109  return NULL;
94110 }
94111 
94112 
94113 SWIGINTERN PyObject *_wrap_CStdPtrArray_RobotPartInterface_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94114  PyObject *resultobj = 0;
94115  CStdPtrArray< RobotPartInterface > *arg1 = (CStdPtrArray< RobotPartInterface > *) 0 ;
94116  void *argp1 = 0 ;
94117  int res1 = 0 ;
94118  PyObject * obj0 = 0 ;
94119 
94120  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_RobotPartInterface_Clear",&obj0)) SWIG_fail;
94121  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0 | 0 );
94122  if (!SWIG_IsOK(res1)) {
94123  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_RobotPartInterface_Clear" "', argument " "1"" of type '" "CStdPtrArray< RobotPartInterface > *""'");
94124  }
94125  arg1 = reinterpret_cast< CStdPtrArray< RobotPartInterface > * >(argp1);
94126  (arg1)->Clear();
94127  resultobj = SWIG_Py_Void();
94128  return resultobj;
94129 fail:
94130  return NULL;
94131 }
94132 
94133 
94134 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_RobotPartInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94135  PyObject *resultobj = 0;
94136  CStdPtrArray< RobotPartInterface > *result = 0 ;
94137 
94138  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_RobotPartInterface")) SWIG_fail;
94139  {
94140  try {
94141  result = (CStdPtrArray< RobotPartInterface > *)new CStdPtrArray< RobotPartInterface >();
94142  }
94143  catch(CStdErrorInfo oError)
94144  {
94145  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
94146  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
94147  PyErr_SetString(PyExc_IndexError, strError.c_str());
94148  SWIG_fail;
94149  }
94150  catch(...)
94151  {
94152  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
94153  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
94154  SWIG_fail;
94155  }
94156  }
94157  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, SWIG_POINTER_NEW | 0 );
94158  return resultobj;
94159 fail:
94160  return NULL;
94161 }
94162 
94163 
94164 SWIGINTERN PyObject *CStdPtrArray_RobotPartInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94165  PyObject *obj;
94166  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
94167  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, SWIG_NewClientData(obj));
94168  return SWIG_Py_Void();
94169 }
94170 
94171 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_SimulationWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94172  PyObject *resultobj = 0;
94173  CStdPtrArray< SimulationWindow > *arg1 = (CStdPtrArray< SimulationWindow > *) 0 ;
94174  void *argp1 = 0 ;
94175  int res1 = 0 ;
94176  PyObject * obj0 = 0 ;
94177 
94178  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_SimulationWindow",&obj0)) SWIG_fail;
94179  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, SWIG_POINTER_DISOWN | 0 );
94180  if (!SWIG_IsOK(res1)) {
94181  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_SimulationWindow" "', argument " "1"" of type '" "CStdPtrArray< SimulationWindow > *""'");
94182  }
94183  arg1 = reinterpret_cast< CStdPtrArray< SimulationWindow > * >(argp1);
94184  delete arg1;
94185  resultobj = SWIG_Py_Void();
94186  return resultobj;
94187 fail:
94188  return NULL;
94189 }
94190 
94191 
94192 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationWindow_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94193  PyObject *resultobj = 0;
94194  CStdPtrArray< SimulationWindow > *arg1 = (CStdPtrArray< SimulationWindow > *) 0 ;
94195  SimulationWindow *arg2 = (SimulationWindow *) 0 ;
94196  void *argp1 = 0 ;
94197  int res1 = 0 ;
94198  void *argp2 = 0 ;
94199  int res2 = 0 ;
94200  PyObject * obj0 = 0 ;
94201  PyObject * obj1 = 0 ;
94202 
94203  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_SimulationWindow_Add",&obj0,&obj1)) SWIG_fail;
94204  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, 0 | 0 );
94205  if (!SWIG_IsOK(res1)) {
94206  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationWindow_Add" "', argument " "1"" of type '" "CStdPtrArray< SimulationWindow > *""'");
94207  }
94208  arg1 = reinterpret_cast< CStdPtrArray< SimulationWindow > * >(argp1);
94209  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SimulationWindow, 0 | 0 );
94210  if (!SWIG_IsOK(res2)) {
94211  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_SimulationWindow_Add" "', argument " "2"" of type '" "SimulationWindow *""'");
94212  }
94213  arg2 = reinterpret_cast< SimulationWindow * >(argp2);
94214  (arg1)->Add(arg2);
94215  resultobj = SWIG_Py_Void();
94216  return resultobj;
94217 fail:
94218  return NULL;
94219 }
94220 
94221 
94222 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationWindow_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94223  PyObject *resultobj = 0;
94224  CStdPtrArray< SimulationWindow > *arg1 = (CStdPtrArray< SimulationWindow > *) 0 ;
94225  void *argp1 = 0 ;
94226  int res1 = 0 ;
94227  PyObject * obj0 = 0 ;
94228 
94229  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_SimulationWindow_clear",&obj0)) SWIG_fail;
94230  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, 0 | 0 );
94231  if (!SWIG_IsOK(res1)) {
94232  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationWindow_clear" "', argument " "1"" of type '" "CStdPtrArray< SimulationWindow > *""'");
94233  }
94234  arg1 = reinterpret_cast< CStdPtrArray< SimulationWindow > * >(argp1);
94235  (arg1)->clear();
94236  resultobj = SWIG_Py_Void();
94237  return resultobj;
94238 fail:
94239  return NULL;
94240 }
94241 
94242 
94243 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationWindow_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94244  PyObject *resultobj = 0;
94245  CStdPtrArray< SimulationWindow > *arg1 = (CStdPtrArray< SimulationWindow > *) 0 ;
94246  void *argp1 = 0 ;
94247  int res1 = 0 ;
94248  PyObject * obj0 = 0 ;
94249 
94250  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_SimulationWindow_RemoveAll",&obj0)) SWIG_fail;
94251  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, 0 | 0 );
94252  if (!SWIG_IsOK(res1)) {
94253  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationWindow_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< SimulationWindow > *""'");
94254  }
94255  arg1 = reinterpret_cast< CStdPtrArray< SimulationWindow > * >(argp1);
94256  (arg1)->RemoveAll();
94257  resultobj = SWIG_Py_Void();
94258  return resultobj;
94259 fail:
94260  return NULL;
94261 }
94262 
94263 
94264 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationWindow_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94265  PyObject *resultobj = 0;
94266  CStdPtrArray< SimulationWindow > *arg1 = (CStdPtrArray< SimulationWindow > *) 0 ;
94267  int arg2 ;
94268  void *argp1 = 0 ;
94269  int res1 = 0 ;
94270  int val2 ;
94271  int ecode2 = 0 ;
94272  PyObject * obj0 = 0 ;
94273  PyObject * obj1 = 0 ;
94274 
94275  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_SimulationWindow_RemoveAt",&obj0,&obj1)) SWIG_fail;
94276  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, 0 | 0 );
94277  if (!SWIG_IsOK(res1)) {
94278  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationWindow_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< SimulationWindow > *""'");
94279  }
94280  arg1 = reinterpret_cast< CStdPtrArray< SimulationWindow > * >(argp1);
94281  ecode2 = SWIG_AsVal_int(obj1, &val2);
94282  if (!SWIG_IsOK(ecode2)) {
94283  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_SimulationWindow_RemoveAt" "', argument " "2"" of type '" "int""'");
94284  }
94285  arg2 = static_cast< int >(val2);
94286  (arg1)->RemoveAt(arg2);
94287  resultobj = SWIG_Py_Void();
94288  return resultobj;
94289 fail:
94290  return NULL;
94291 }
94292 
94293 
94294 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationWindow_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94295  PyObject *resultobj = 0;
94296  CStdPtrArray< SimulationWindow > *arg1 = (CStdPtrArray< SimulationWindow > *) 0 ;
94297  std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator arg2 ;
94298  void *argp1 = 0 ;
94299  int res1 = 0 ;
94300  swig::SwigPyIterator *iter2 = 0 ;
94301  int res2 ;
94302  PyObject * obj0 = 0 ;
94303  PyObject * obj1 = 0 ;
94304 
94305  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_SimulationWindow_RemoveAt",&obj0,&obj1)) SWIG_fail;
94306  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, 0 | 0 );
94307  if (!SWIG_IsOK(res1)) {
94308  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationWindow_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< SimulationWindow > *""'");
94309  }
94310  arg1 = reinterpret_cast< CStdPtrArray< SimulationWindow > * >(argp1);
94311  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
94312  if (!SWIG_IsOK(res2) || !iter2) {
94313  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationWindow_RemoveAt" "', argument " "2"" of type '" "std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator""'");
94314  } else {
94316  if (iter_t) {
94317  arg2 = iter_t->get_current();
94318  } else {
94319  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationWindow_RemoveAt" "', argument " "2"" of type '" "std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator""'");
94320  }
94321  }
94322  (arg1)->RemoveAt(arg2);
94323  resultobj = SWIG_Py_Void();
94324  return resultobj;
94325 fail:
94326  return NULL;
94327 }
94328 
94329 
94330 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationWindow_RemoveAt(PyObject *self, PyObject *args) {
94331  int argc;
94332  PyObject *argv[3];
94333  int ii;
94334 
94335  if (!PyTuple_Check(args)) SWIG_fail;
94336  argc = args ? (int)PyObject_Length(args) : 0;
94337  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
94338  argv[ii] = PyTuple_GET_ITEM(args,ii);
94339  }
94340  if (argc == 2) {
94341  int _v;
94342  void *vptr = 0;
94343  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, 0);
94344  _v = SWIG_CheckState(res);
94345  if (_v) {
94346  swig::SwigPyIterator *iter = 0;
94347  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
94348  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator > *>(iter) != 0));
94349  if (_v) {
94350  return _wrap_CStdPtrArray_SimulationWindow_RemoveAt__SWIG_1(self, args);
94351  }
94352  }
94353  }
94354  if (argc == 2) {
94355  int _v;
94356  void *vptr = 0;
94357  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, 0);
94358  _v = SWIG_CheckState(res);
94359  if (_v) {
94360  {
94361  int res = SWIG_AsVal_int(argv[1], NULL);
94362  _v = SWIG_CheckState(res);
94363  }
94364  if (_v) {
94365  return _wrap_CStdPtrArray_SimulationWindow_RemoveAt__SWIG_0(self, args);
94366  }
94367  }
94368  }
94369 
94370 fail:
94371  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_SimulationWindow_RemoveAt'.\n"
94372  " Possible C/C++ prototypes are:\n"
94373  " CStdPtrArray< SimulationWindow >::RemoveAt(int)\n"
94374  " CStdPtrArray< SimulationWindow >::RemoveAt(std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator)\n");
94375  return 0;
94376 }
94377 
94378 
94379 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationWindow_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94380  PyObject *resultobj = 0;
94381  CStdPtrArray< SimulationWindow > *arg1 = (CStdPtrArray< SimulationWindow > *) 0 ;
94382  std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator arg2 ;
94383  void *argp1 = 0 ;
94384  int res1 = 0 ;
94385  swig::SwigPyIterator *iter2 = 0 ;
94386  int res2 ;
94387  PyObject * obj0 = 0 ;
94388  PyObject * obj1 = 0 ;
94389 
94390  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_SimulationWindow_erase",&obj0,&obj1)) SWIG_fail;
94391  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, 0 | 0 );
94392  if (!SWIG_IsOK(res1)) {
94393  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationWindow_erase" "', argument " "1"" of type '" "CStdPtrArray< SimulationWindow > *""'");
94394  }
94395  arg1 = reinterpret_cast< CStdPtrArray< SimulationWindow > * >(argp1);
94396  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
94397  if (!SWIG_IsOK(res2) || !iter2) {
94398  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationWindow_erase" "', argument " "2"" of type '" "std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator""'");
94399  } else {
94401  if (iter_t) {
94402  arg2 = iter_t->get_current();
94403  } else {
94404  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationWindow_erase" "', argument " "2"" of type '" "std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator""'");
94405  }
94406  }
94407  (arg1)->erase(arg2);
94408  resultobj = SWIG_Py_Void();
94409  return resultobj;
94410 fail:
94411  return NULL;
94412 }
94413 
94414 
94415 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationWindow_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94416  PyObject *resultobj = 0;
94417  CStdPtrArray< SimulationWindow > *arg1 = (CStdPtrArray< SimulationWindow > *) 0 ;
94418  std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator arg2 ;
94419  std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator arg3 ;
94420  void *argp1 = 0 ;
94421  int res1 = 0 ;
94422  swig::SwigPyIterator *iter2 = 0 ;
94423  int res2 ;
94424  swig::SwigPyIterator *iter3 = 0 ;
94425  int res3 ;
94426  PyObject * obj0 = 0 ;
94427  PyObject * obj1 = 0 ;
94428  PyObject * obj2 = 0 ;
94429 
94430  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_SimulationWindow_erase",&obj0,&obj1,&obj2)) SWIG_fail;
94431  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, 0 | 0 );
94432  if (!SWIG_IsOK(res1)) {
94433  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationWindow_erase" "', argument " "1"" of type '" "CStdPtrArray< SimulationWindow > *""'");
94434  }
94435  arg1 = reinterpret_cast< CStdPtrArray< SimulationWindow > * >(argp1);
94436  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
94437  if (!SWIG_IsOK(res2) || !iter2) {
94438  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationWindow_erase" "', argument " "2"" of type '" "std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator""'");
94439  } else {
94441  if (iter_t) {
94442  arg2 = iter_t->get_current();
94443  } else {
94444  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationWindow_erase" "', argument " "2"" of type '" "std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator""'");
94445  }
94446  }
94447  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
94448  if (!SWIG_IsOK(res3) || !iter3) {
94449  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationWindow_erase" "', argument " "3"" of type '" "std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator""'");
94450  } else {
94452  if (iter_t) {
94453  arg3 = iter_t->get_current();
94454  } else {
94455  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationWindow_erase" "', argument " "3"" of type '" "std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator""'");
94456  }
94457  }
94458  (arg1)->erase(arg2,arg3);
94459  resultobj = SWIG_Py_Void();
94460  return resultobj;
94461 fail:
94462  return NULL;
94463 }
94464 
94465 
94466 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationWindow_erase(PyObject *self, PyObject *args) {
94467  int argc;
94468  PyObject *argv[4];
94469  int ii;
94470 
94471  if (!PyTuple_Check(args)) SWIG_fail;
94472  argc = args ? (int)PyObject_Length(args) : 0;
94473  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
94474  argv[ii] = PyTuple_GET_ITEM(args,ii);
94475  }
94476  if (argc == 2) {
94477  int _v;
94478  void *vptr = 0;
94479  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, 0);
94480  _v = SWIG_CheckState(res);
94481  if (_v) {
94482  swig::SwigPyIterator *iter = 0;
94483  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
94484  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator > *>(iter) != 0));
94485  if (_v) {
94486  return _wrap_CStdPtrArray_SimulationWindow_erase__SWIG_0(self, args);
94487  }
94488  }
94489  }
94490  if (argc == 3) {
94491  int _v;
94492  void *vptr = 0;
94493  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, 0);
94494  _v = SWIG_CheckState(res);
94495  if (_v) {
94496  swig::SwigPyIterator *iter = 0;
94497  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
94498  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator > *>(iter) != 0));
94499  if (_v) {
94500  swig::SwigPyIterator *iter = 0;
94501  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
94502  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator > *>(iter) != 0));
94503  if (_v) {
94504  return _wrap_CStdPtrArray_SimulationWindow_erase__SWIG_1(self, args);
94505  }
94506  }
94507  }
94508  }
94509 
94510 fail:
94511  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_SimulationWindow_erase'.\n"
94512  " Possible C/C++ prototypes are:\n"
94513  " CStdPtrArray< SimulationWindow >::erase(std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator)\n"
94514  " CStdPtrArray< SimulationWindow >::erase(std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator,std::vector< SimulationWindow *,std::allocator< SimulationWindow * > >::iterator)\n");
94515  return 0;
94516 }
94517 
94518 
94519 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationWindow_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94520  PyObject *resultobj = 0;
94521  CStdPtrArray< SimulationWindow > *arg1 = (CStdPtrArray< SimulationWindow > *) 0 ;
94522  long arg2 ;
94523  void *argp1 = 0 ;
94524  int res1 = 0 ;
94525  long val2 ;
94526  int ecode2 = 0 ;
94527  PyObject * obj0 = 0 ;
94528  PyObject * obj1 = 0 ;
94529 
94530  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_SimulationWindow_SetSize",&obj0,&obj1)) SWIG_fail;
94531  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, 0 | 0 );
94532  if (!SWIG_IsOK(res1)) {
94533  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationWindow_SetSize" "', argument " "1"" of type '" "CStdPtrArray< SimulationWindow > *""'");
94534  }
94535  arg1 = reinterpret_cast< CStdPtrArray< SimulationWindow > * >(argp1);
94536  ecode2 = SWIG_AsVal_long(obj1, &val2);
94537  if (!SWIG_IsOK(ecode2)) {
94538  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_SimulationWindow_SetSize" "', argument " "2"" of type '" "long""'");
94539  }
94540  arg2 = static_cast< long >(val2);
94541  (arg1)->SetSize(arg2);
94542  resultobj = SWIG_Py_Void();
94543  return resultobj;
94544 fail:
94545  return NULL;
94546 }
94547 
94548 
94549 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationWindow_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94550  PyObject *resultobj = 0;
94551  CStdPtrArray< SimulationWindow > *arg1 = (CStdPtrArray< SimulationWindow > *) 0 ;
94552  int arg2 ;
94553  SimulationWindow *arg3 = (SimulationWindow *) 0 ;
94554  void *argp1 = 0 ;
94555  int res1 = 0 ;
94556  int val2 ;
94557  int ecode2 = 0 ;
94558  void *argp3 = 0 ;
94559  int res3 = 0 ;
94560  PyObject * obj0 = 0 ;
94561  PyObject * obj1 = 0 ;
94562  PyObject * obj2 = 0 ;
94563 
94564  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_SimulationWindow_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
94565  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, 0 | 0 );
94566  if (!SWIG_IsOK(res1)) {
94567  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationWindow_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< SimulationWindow > *""'");
94568  }
94569  arg1 = reinterpret_cast< CStdPtrArray< SimulationWindow > * >(argp1);
94570  ecode2 = SWIG_AsVal_int(obj1, &val2);
94571  if (!SWIG_IsOK(ecode2)) {
94572  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_SimulationWindow_InsertAt" "', argument " "2"" of type '" "int""'");
94573  }
94574  arg2 = static_cast< int >(val2);
94575  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SimulationWindow, 0 | 0 );
94576  if (!SWIG_IsOK(res3)) {
94577  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_SimulationWindow_InsertAt" "', argument " "3"" of type '" "SimulationWindow *""'");
94578  }
94579  arg3 = reinterpret_cast< SimulationWindow * >(argp3);
94580  (arg1)->InsertAt(arg2,arg3);
94581  resultobj = SWIG_Py_Void();
94582  return resultobj;
94583 fail:
94584  return NULL;
94585 }
94586 
94587 
94588 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationWindow_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94589  PyObject *resultobj = 0;
94590  CStdPtrArray< SimulationWindow > *arg1 = (CStdPtrArray< SimulationWindow > *) 0 ;
94591  void *argp1 = 0 ;
94592  int res1 = 0 ;
94593  PyObject * obj0 = 0 ;
94594  int result;
94595 
94596  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_SimulationWindow_GetSize",&obj0)) SWIG_fail;
94597  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, 0 | 0 );
94598  if (!SWIG_IsOK(res1)) {
94599  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationWindow_GetSize" "', argument " "1"" of type '" "CStdPtrArray< SimulationWindow > *""'");
94600  }
94601  arg1 = reinterpret_cast< CStdPtrArray< SimulationWindow > * >(argp1);
94602  result = (int)(arg1)->GetSize();
94603  resultobj = SWIG_From_int(static_cast< int >(result));
94604  return resultobj;
94605 fail:
94606  return NULL;
94607 }
94608 
94609 
94610 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationWindow_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94611  PyObject *resultobj = 0;
94612  CStdPtrArray< SimulationWindow > *arg1 = (CStdPtrArray< SimulationWindow > *) 0 ;
94613  void *argp1 = 0 ;
94614  int res1 = 0 ;
94615  PyObject * obj0 = 0 ;
94616 
94617  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_SimulationWindow_Clear",&obj0)) SWIG_fail;
94618  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, 0 | 0 );
94619  if (!SWIG_IsOK(res1)) {
94620  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationWindow_Clear" "', argument " "1"" of type '" "CStdPtrArray< SimulationWindow > *""'");
94621  }
94622  arg1 = reinterpret_cast< CStdPtrArray< SimulationWindow > * >(argp1);
94623  (arg1)->Clear();
94624  resultobj = SWIG_Py_Void();
94625  return resultobj;
94626 fail:
94627  return NULL;
94628 }
94629 
94630 
94631 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_SimulationWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94632  PyObject *resultobj = 0;
94633  CStdPtrArray< SimulationWindow > *result = 0 ;
94634 
94635  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_SimulationWindow")) SWIG_fail;
94636  {
94637  try {
94638  result = (CStdPtrArray< SimulationWindow > *)new CStdPtrArray< SimulationWindow >();
94639  }
94640  catch(CStdErrorInfo oError)
94641  {
94642  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
94643  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
94644  PyErr_SetString(PyExc_IndexError, strError.c_str());
94645  SWIG_fail;
94646  }
94647  catch(...)
94648  {
94649  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
94650  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
94651  SWIG_fail;
94652  }
94653  }
94654  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, SWIG_POINTER_NEW | 0 );
94655  return resultobj;
94656 fail:
94657  return NULL;
94658 }
94659 
94660 
94661 SWIGINTERN PyObject *CStdPtrArray_SimulationWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94662  PyObject *obj;
94663  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
94664  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t, SWIG_NewClientData(obj));
94665  return SWIG_Py_Void();
94666 }
94667 
94668 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_CollisionPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94669  PyObject *resultobj = 0;
94670  CStdPtrArray< CollisionPair > *arg1 = (CStdPtrArray< CollisionPair > *) 0 ;
94671  void *argp1 = 0 ;
94672  int res1 = 0 ;
94673  PyObject * obj0 = 0 ;
94674 
94675  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_CollisionPair",&obj0)) SWIG_fail;
94676  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, SWIG_POINTER_DISOWN | 0 );
94677  if (!SWIG_IsOK(res1)) {
94678  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_CollisionPair" "', argument " "1"" of type '" "CStdPtrArray< CollisionPair > *""'");
94679  }
94680  arg1 = reinterpret_cast< CStdPtrArray< CollisionPair > * >(argp1);
94681  delete arg1;
94682  resultobj = SWIG_Py_Void();
94683  return resultobj;
94684 fail:
94685  return NULL;
94686 }
94687 
94688 
94689 SWIGINTERN PyObject *_wrap_CStdPtrArray_CollisionPair_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94690  PyObject *resultobj = 0;
94691  CStdPtrArray< CollisionPair > *arg1 = (CStdPtrArray< CollisionPair > *) 0 ;
94692  CollisionPair *arg2 = (CollisionPair *) 0 ;
94693  void *argp1 = 0 ;
94694  int res1 = 0 ;
94695  void *argp2 = 0 ;
94696  int res2 = 0 ;
94697  PyObject * obj0 = 0 ;
94698  PyObject * obj1 = 0 ;
94699 
94700  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_CollisionPair_Add",&obj0,&obj1)) SWIG_fail;
94701  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0 | 0 );
94702  if (!SWIG_IsOK(res1)) {
94703  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CollisionPair_Add" "', argument " "1"" of type '" "CStdPtrArray< CollisionPair > *""'");
94704  }
94705  arg1 = reinterpret_cast< CStdPtrArray< CollisionPair > * >(argp1);
94706  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_CollisionPair, 0 | 0 );
94707  if (!SWIG_IsOK(res2)) {
94708  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_CollisionPair_Add" "', argument " "2"" of type '" "CollisionPair *""'");
94709  }
94710  arg2 = reinterpret_cast< CollisionPair * >(argp2);
94711  (arg1)->Add(arg2);
94712  resultobj = SWIG_Py_Void();
94713  return resultobj;
94714 fail:
94715  return NULL;
94716 }
94717 
94718 
94719 SWIGINTERN PyObject *_wrap_CStdPtrArray_CollisionPair_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94720  PyObject *resultobj = 0;
94721  CStdPtrArray< CollisionPair > *arg1 = (CStdPtrArray< CollisionPair > *) 0 ;
94722  void *argp1 = 0 ;
94723  int res1 = 0 ;
94724  PyObject * obj0 = 0 ;
94725 
94726  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_CollisionPair_clear",&obj0)) SWIG_fail;
94727  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0 | 0 );
94728  if (!SWIG_IsOK(res1)) {
94729  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CollisionPair_clear" "', argument " "1"" of type '" "CStdPtrArray< CollisionPair > *""'");
94730  }
94731  arg1 = reinterpret_cast< CStdPtrArray< CollisionPair > * >(argp1);
94732  (arg1)->clear();
94733  resultobj = SWIG_Py_Void();
94734  return resultobj;
94735 fail:
94736  return NULL;
94737 }
94738 
94739 
94740 SWIGINTERN PyObject *_wrap_CStdPtrArray_CollisionPair_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94741  PyObject *resultobj = 0;
94742  CStdPtrArray< CollisionPair > *arg1 = (CStdPtrArray< CollisionPair > *) 0 ;
94743  void *argp1 = 0 ;
94744  int res1 = 0 ;
94745  PyObject * obj0 = 0 ;
94746 
94747  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_CollisionPair_RemoveAll",&obj0)) SWIG_fail;
94748  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0 | 0 );
94749  if (!SWIG_IsOK(res1)) {
94750  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CollisionPair_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< CollisionPair > *""'");
94751  }
94752  arg1 = reinterpret_cast< CStdPtrArray< CollisionPair > * >(argp1);
94753  (arg1)->RemoveAll();
94754  resultobj = SWIG_Py_Void();
94755  return resultobj;
94756 fail:
94757  return NULL;
94758 }
94759 
94760 
94761 SWIGINTERN PyObject *_wrap_CStdPtrArray_CollisionPair_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94762  PyObject *resultobj = 0;
94763  CStdPtrArray< CollisionPair > *arg1 = (CStdPtrArray< CollisionPair > *) 0 ;
94764  int arg2 ;
94765  void *argp1 = 0 ;
94766  int res1 = 0 ;
94767  int val2 ;
94768  int ecode2 = 0 ;
94769  PyObject * obj0 = 0 ;
94770  PyObject * obj1 = 0 ;
94771 
94772  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_CollisionPair_RemoveAt",&obj0,&obj1)) SWIG_fail;
94773  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0 | 0 );
94774  if (!SWIG_IsOK(res1)) {
94775  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CollisionPair_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< CollisionPair > *""'");
94776  }
94777  arg1 = reinterpret_cast< CStdPtrArray< CollisionPair > * >(argp1);
94778  ecode2 = SWIG_AsVal_int(obj1, &val2);
94779  if (!SWIG_IsOK(ecode2)) {
94780  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_CollisionPair_RemoveAt" "', argument " "2"" of type '" "int""'");
94781  }
94782  arg2 = static_cast< int >(val2);
94783  (arg1)->RemoveAt(arg2);
94784  resultobj = SWIG_Py_Void();
94785  return resultobj;
94786 fail:
94787  return NULL;
94788 }
94789 
94790 
94791 SWIGINTERN PyObject *_wrap_CStdPtrArray_CollisionPair_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94792  PyObject *resultobj = 0;
94793  CStdPtrArray< CollisionPair > *arg1 = (CStdPtrArray< CollisionPair > *) 0 ;
94794  std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator arg2 ;
94795  void *argp1 = 0 ;
94796  int res1 = 0 ;
94797  swig::SwigPyIterator *iter2 = 0 ;
94798  int res2 ;
94799  PyObject * obj0 = 0 ;
94800  PyObject * obj1 = 0 ;
94801 
94802  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_CollisionPair_RemoveAt",&obj0,&obj1)) SWIG_fail;
94803  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0 | 0 );
94804  if (!SWIG_IsOK(res1)) {
94805  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CollisionPair_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< CollisionPair > *""'");
94806  }
94807  arg1 = reinterpret_cast< CStdPtrArray< CollisionPair > * >(argp1);
94808  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
94809  if (!SWIG_IsOK(res2) || !iter2) {
94810  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CollisionPair_RemoveAt" "', argument " "2"" of type '" "std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator""'");
94811  } else {
94813  if (iter_t) {
94814  arg2 = iter_t->get_current();
94815  } else {
94816  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CollisionPair_RemoveAt" "', argument " "2"" of type '" "std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator""'");
94817  }
94818  }
94819  (arg1)->RemoveAt(arg2);
94820  resultobj = SWIG_Py_Void();
94821  return resultobj;
94822 fail:
94823  return NULL;
94824 }
94825 
94826 
94827 SWIGINTERN PyObject *_wrap_CStdPtrArray_CollisionPair_RemoveAt(PyObject *self, PyObject *args) {
94828  int argc;
94829  PyObject *argv[3];
94830  int ii;
94831 
94832  if (!PyTuple_Check(args)) SWIG_fail;
94833  argc = args ? (int)PyObject_Length(args) : 0;
94834  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
94835  argv[ii] = PyTuple_GET_ITEM(args,ii);
94836  }
94837  if (argc == 2) {
94838  int _v;
94839  void *vptr = 0;
94840  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0);
94841  _v = SWIG_CheckState(res);
94842  if (_v) {
94843  swig::SwigPyIterator *iter = 0;
94844  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
94845  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator > *>(iter) != 0));
94846  if (_v) {
94847  return _wrap_CStdPtrArray_CollisionPair_RemoveAt__SWIG_1(self, args);
94848  }
94849  }
94850  }
94851  if (argc == 2) {
94852  int _v;
94853  void *vptr = 0;
94854  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0);
94855  _v = SWIG_CheckState(res);
94856  if (_v) {
94857  {
94858  int res = SWIG_AsVal_int(argv[1], NULL);
94859  _v = SWIG_CheckState(res);
94860  }
94861  if (_v) {
94862  return _wrap_CStdPtrArray_CollisionPair_RemoveAt__SWIG_0(self, args);
94863  }
94864  }
94865  }
94866 
94867 fail:
94868  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_CollisionPair_RemoveAt'.\n"
94869  " Possible C/C++ prototypes are:\n"
94870  " CStdPtrArray< CollisionPair >::RemoveAt(int)\n"
94871  " CStdPtrArray< CollisionPair >::RemoveAt(std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator)\n");
94872  return 0;
94873 }
94874 
94875 
94876 SWIGINTERN PyObject *_wrap_CStdPtrArray_CollisionPair_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94877  PyObject *resultobj = 0;
94878  CStdPtrArray< CollisionPair > *arg1 = (CStdPtrArray< CollisionPair > *) 0 ;
94879  std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator arg2 ;
94880  void *argp1 = 0 ;
94881  int res1 = 0 ;
94882  swig::SwigPyIterator *iter2 = 0 ;
94883  int res2 ;
94884  PyObject * obj0 = 0 ;
94885  PyObject * obj1 = 0 ;
94886 
94887  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_CollisionPair_erase",&obj0,&obj1)) SWIG_fail;
94888  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0 | 0 );
94889  if (!SWIG_IsOK(res1)) {
94890  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CollisionPair_erase" "', argument " "1"" of type '" "CStdPtrArray< CollisionPair > *""'");
94891  }
94892  arg1 = reinterpret_cast< CStdPtrArray< CollisionPair > * >(argp1);
94893  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
94894  if (!SWIG_IsOK(res2) || !iter2) {
94895  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CollisionPair_erase" "', argument " "2"" of type '" "std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator""'");
94896  } else {
94898  if (iter_t) {
94899  arg2 = iter_t->get_current();
94900  } else {
94901  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CollisionPair_erase" "', argument " "2"" of type '" "std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator""'");
94902  }
94903  }
94904  (arg1)->erase(arg2);
94905  resultobj = SWIG_Py_Void();
94906  return resultobj;
94907 fail:
94908  return NULL;
94909 }
94910 
94911 
94912 SWIGINTERN PyObject *_wrap_CStdPtrArray_CollisionPair_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
94913  PyObject *resultobj = 0;
94914  CStdPtrArray< CollisionPair > *arg1 = (CStdPtrArray< CollisionPair > *) 0 ;
94915  std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator arg2 ;
94916  std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator arg3 ;
94917  void *argp1 = 0 ;
94918  int res1 = 0 ;
94919  swig::SwigPyIterator *iter2 = 0 ;
94920  int res2 ;
94921  swig::SwigPyIterator *iter3 = 0 ;
94922  int res3 ;
94923  PyObject * obj0 = 0 ;
94924  PyObject * obj1 = 0 ;
94925  PyObject * obj2 = 0 ;
94926 
94927  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_CollisionPair_erase",&obj0,&obj1,&obj2)) SWIG_fail;
94928  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0 | 0 );
94929  if (!SWIG_IsOK(res1)) {
94930  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CollisionPair_erase" "', argument " "1"" of type '" "CStdPtrArray< CollisionPair > *""'");
94931  }
94932  arg1 = reinterpret_cast< CStdPtrArray< CollisionPair > * >(argp1);
94933  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
94934  if (!SWIG_IsOK(res2) || !iter2) {
94935  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CollisionPair_erase" "', argument " "2"" of type '" "std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator""'");
94936  } else {
94938  if (iter_t) {
94939  arg2 = iter_t->get_current();
94940  } else {
94941  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CollisionPair_erase" "', argument " "2"" of type '" "std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator""'");
94942  }
94943  }
94944  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
94945  if (!SWIG_IsOK(res3) || !iter3) {
94946  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CollisionPair_erase" "', argument " "3"" of type '" "std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator""'");
94947  } else {
94949  if (iter_t) {
94950  arg3 = iter_t->get_current();
94951  } else {
94952  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_CollisionPair_erase" "', argument " "3"" of type '" "std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator""'");
94953  }
94954  }
94955  (arg1)->erase(arg2,arg3);
94956  resultobj = SWIG_Py_Void();
94957  return resultobj;
94958 fail:
94959  return NULL;
94960 }
94961 
94962 
94963 SWIGINTERN PyObject *_wrap_CStdPtrArray_CollisionPair_erase(PyObject *self, PyObject *args) {
94964  int argc;
94965  PyObject *argv[4];
94966  int ii;
94967 
94968  if (!PyTuple_Check(args)) SWIG_fail;
94969  argc = args ? (int)PyObject_Length(args) : 0;
94970  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
94971  argv[ii] = PyTuple_GET_ITEM(args,ii);
94972  }
94973  if (argc == 2) {
94974  int _v;
94975  void *vptr = 0;
94976  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0);
94977  _v = SWIG_CheckState(res);
94978  if (_v) {
94979  swig::SwigPyIterator *iter = 0;
94980  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
94981  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator > *>(iter) != 0));
94982  if (_v) {
94983  return _wrap_CStdPtrArray_CollisionPair_erase__SWIG_0(self, args);
94984  }
94985  }
94986  }
94987  if (argc == 3) {
94988  int _v;
94989  void *vptr = 0;
94990  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0);
94991  _v = SWIG_CheckState(res);
94992  if (_v) {
94993  swig::SwigPyIterator *iter = 0;
94994  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
94995  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator > *>(iter) != 0));
94996  if (_v) {
94997  swig::SwigPyIterator *iter = 0;
94998  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
94999  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator > *>(iter) != 0));
95000  if (_v) {
95001  return _wrap_CStdPtrArray_CollisionPair_erase__SWIG_1(self, args);
95002  }
95003  }
95004  }
95005  }
95006 
95007 fail:
95008  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_CollisionPair_erase'.\n"
95009  " Possible C/C++ prototypes are:\n"
95010  " CStdPtrArray< CollisionPair >::erase(std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator)\n"
95011  " CStdPtrArray< CollisionPair >::erase(std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator,std::vector< CollisionPair *,std::allocator< CollisionPair * > >::iterator)\n");
95012  return 0;
95013 }
95014 
95015 
95016 SWIGINTERN PyObject *_wrap_CStdPtrArray_CollisionPair_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95017  PyObject *resultobj = 0;
95018  CStdPtrArray< CollisionPair > *arg1 = (CStdPtrArray< CollisionPair > *) 0 ;
95019  long arg2 ;
95020  void *argp1 = 0 ;
95021  int res1 = 0 ;
95022  long val2 ;
95023  int ecode2 = 0 ;
95024  PyObject * obj0 = 0 ;
95025  PyObject * obj1 = 0 ;
95026 
95027  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_CollisionPair_SetSize",&obj0,&obj1)) SWIG_fail;
95028  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0 | 0 );
95029  if (!SWIG_IsOK(res1)) {
95030  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CollisionPair_SetSize" "', argument " "1"" of type '" "CStdPtrArray< CollisionPair > *""'");
95031  }
95032  arg1 = reinterpret_cast< CStdPtrArray< CollisionPair > * >(argp1);
95033  ecode2 = SWIG_AsVal_long(obj1, &val2);
95034  if (!SWIG_IsOK(ecode2)) {
95035  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_CollisionPair_SetSize" "', argument " "2"" of type '" "long""'");
95036  }
95037  arg2 = static_cast< long >(val2);
95038  (arg1)->SetSize(arg2);
95039  resultobj = SWIG_Py_Void();
95040  return resultobj;
95041 fail:
95042  return NULL;
95043 }
95044 
95045 
95046 SWIGINTERN PyObject *_wrap_CStdPtrArray_CollisionPair_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95047  PyObject *resultobj = 0;
95048  CStdPtrArray< CollisionPair > *arg1 = (CStdPtrArray< CollisionPair > *) 0 ;
95049  int arg2 ;
95050  CollisionPair *arg3 = (CollisionPair *) 0 ;
95051  void *argp1 = 0 ;
95052  int res1 = 0 ;
95053  int val2 ;
95054  int ecode2 = 0 ;
95055  void *argp3 = 0 ;
95056  int res3 = 0 ;
95057  PyObject * obj0 = 0 ;
95058  PyObject * obj1 = 0 ;
95059  PyObject * obj2 = 0 ;
95060 
95061  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_CollisionPair_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
95062  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0 | 0 );
95063  if (!SWIG_IsOK(res1)) {
95064  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CollisionPair_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< CollisionPair > *""'");
95065  }
95066  arg1 = reinterpret_cast< CStdPtrArray< CollisionPair > * >(argp1);
95067  ecode2 = SWIG_AsVal_int(obj1, &val2);
95068  if (!SWIG_IsOK(ecode2)) {
95069  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_CollisionPair_InsertAt" "', argument " "2"" of type '" "int""'");
95070  }
95071  arg2 = static_cast< int >(val2);
95072  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_CollisionPair, 0 | 0 );
95073  if (!SWIG_IsOK(res3)) {
95074  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_CollisionPair_InsertAt" "', argument " "3"" of type '" "CollisionPair *""'");
95075  }
95076  arg3 = reinterpret_cast< CollisionPair * >(argp3);
95077  (arg1)->InsertAt(arg2,arg3);
95078  resultobj = SWIG_Py_Void();
95079  return resultobj;
95080 fail:
95081  return NULL;
95082 }
95083 
95084 
95085 SWIGINTERN PyObject *_wrap_CStdPtrArray_CollisionPair_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95086  PyObject *resultobj = 0;
95087  CStdPtrArray< CollisionPair > *arg1 = (CStdPtrArray< CollisionPair > *) 0 ;
95088  void *argp1 = 0 ;
95089  int res1 = 0 ;
95090  PyObject * obj0 = 0 ;
95091  int result;
95092 
95093  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_CollisionPair_GetSize",&obj0)) SWIG_fail;
95094  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0 | 0 );
95095  if (!SWIG_IsOK(res1)) {
95096  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CollisionPair_GetSize" "', argument " "1"" of type '" "CStdPtrArray< CollisionPair > *""'");
95097  }
95098  arg1 = reinterpret_cast< CStdPtrArray< CollisionPair > * >(argp1);
95099  result = (int)(arg1)->GetSize();
95100  resultobj = SWIG_From_int(static_cast< int >(result));
95101  return resultobj;
95102 fail:
95103  return NULL;
95104 }
95105 
95106 
95107 SWIGINTERN PyObject *_wrap_CStdPtrArray_CollisionPair_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95108  PyObject *resultobj = 0;
95109  CStdPtrArray< CollisionPair > *arg1 = (CStdPtrArray< CollisionPair > *) 0 ;
95110  void *argp1 = 0 ;
95111  int res1 = 0 ;
95112  PyObject * obj0 = 0 ;
95113 
95114  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_CollisionPair_Clear",&obj0)) SWIG_fail;
95115  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0 | 0 );
95116  if (!SWIG_IsOK(res1)) {
95117  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_CollisionPair_Clear" "', argument " "1"" of type '" "CStdPtrArray< CollisionPair > *""'");
95118  }
95119  arg1 = reinterpret_cast< CStdPtrArray< CollisionPair > * >(argp1);
95120  (arg1)->Clear();
95121  resultobj = SWIG_Py_Void();
95122  return resultobj;
95123 fail:
95124  return NULL;
95125 }
95126 
95127 
95128 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_CollisionPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95129  PyObject *resultobj = 0;
95130  CStdPtrArray< CollisionPair > *result = 0 ;
95131 
95132  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_CollisionPair")) SWIG_fail;
95133  {
95134  try {
95135  result = (CStdPtrArray< CollisionPair > *)new CStdPtrArray< CollisionPair >();
95136  }
95137  catch(CStdErrorInfo oError)
95138  {
95139  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
95140  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
95141  PyErr_SetString(PyExc_IndexError, strError.c_str());
95142  SWIG_fail;
95143  }
95144  catch(...)
95145  {
95146  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
95147  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
95148  SWIG_fail;
95149  }
95150  }
95151  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, SWIG_POINTER_NEW | 0 );
95152  return resultobj;
95153 fail:
95154  return NULL;
95155 }
95156 
95157 
95158 SWIGINTERN PyObject *CStdPtrArray_CollisionPair_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95159  PyObject *obj;
95160  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
95161  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, SWIG_NewClientData(obj));
95162  return SWIG_Py_Void();
95163 }
95164 
95165 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_SimulationThread(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95166  PyObject *resultobj = 0;
95167  CStdPtrArray< SimulationThread > *arg1 = (CStdPtrArray< SimulationThread > *) 0 ;
95168  void *argp1 = 0 ;
95169  int res1 = 0 ;
95170  PyObject * obj0 = 0 ;
95171 
95172  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_SimulationThread",&obj0)) SWIG_fail;
95173  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, SWIG_POINTER_DISOWN | 0 );
95174  if (!SWIG_IsOK(res1)) {
95175  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_SimulationThread" "', argument " "1"" of type '" "CStdPtrArray< SimulationThread > *""'");
95176  }
95177  arg1 = reinterpret_cast< CStdPtrArray< SimulationThread > * >(argp1);
95178  delete arg1;
95179  resultobj = SWIG_Py_Void();
95180  return resultobj;
95181 fail:
95182  return NULL;
95183 }
95184 
95185 
95186 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationThread_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95187  PyObject *resultobj = 0;
95188  CStdPtrArray< SimulationThread > *arg1 = (CStdPtrArray< SimulationThread > *) 0 ;
95189  SimulationThread *arg2 = (SimulationThread *) 0 ;
95190  void *argp1 = 0 ;
95191  int res1 = 0 ;
95192  void *argp2 = 0 ;
95193  int res2 = 0 ;
95194  PyObject * obj0 = 0 ;
95195  PyObject * obj1 = 0 ;
95196 
95197  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_SimulationThread_Add",&obj0,&obj1)) SWIG_fail;
95198  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, 0 | 0 );
95199  if (!SWIG_IsOK(res1)) {
95200  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationThread_Add" "', argument " "1"" of type '" "CStdPtrArray< SimulationThread > *""'");
95201  }
95202  arg1 = reinterpret_cast< CStdPtrArray< SimulationThread > * >(argp1);
95203  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SimulationThread, 0 | 0 );
95204  if (!SWIG_IsOK(res2)) {
95205  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_SimulationThread_Add" "', argument " "2"" of type '" "SimulationThread *""'");
95206  }
95207  arg2 = reinterpret_cast< SimulationThread * >(argp2);
95208  (arg1)->Add(arg2);
95209  resultobj = SWIG_Py_Void();
95210  return resultobj;
95211 fail:
95212  return NULL;
95213 }
95214 
95215 
95216 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationThread_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95217  PyObject *resultobj = 0;
95218  CStdPtrArray< SimulationThread > *arg1 = (CStdPtrArray< SimulationThread > *) 0 ;
95219  void *argp1 = 0 ;
95220  int res1 = 0 ;
95221  PyObject * obj0 = 0 ;
95222 
95223  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_SimulationThread_clear",&obj0)) SWIG_fail;
95224  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, 0 | 0 );
95225  if (!SWIG_IsOK(res1)) {
95226  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationThread_clear" "', argument " "1"" of type '" "CStdPtrArray< SimulationThread > *""'");
95227  }
95228  arg1 = reinterpret_cast< CStdPtrArray< SimulationThread > * >(argp1);
95229  (arg1)->clear();
95230  resultobj = SWIG_Py_Void();
95231  return resultobj;
95232 fail:
95233  return NULL;
95234 }
95235 
95236 
95237 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationThread_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95238  PyObject *resultobj = 0;
95239  CStdPtrArray< SimulationThread > *arg1 = (CStdPtrArray< SimulationThread > *) 0 ;
95240  void *argp1 = 0 ;
95241  int res1 = 0 ;
95242  PyObject * obj0 = 0 ;
95243 
95244  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_SimulationThread_RemoveAll",&obj0)) SWIG_fail;
95245  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, 0 | 0 );
95246  if (!SWIG_IsOK(res1)) {
95247  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationThread_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< SimulationThread > *""'");
95248  }
95249  arg1 = reinterpret_cast< CStdPtrArray< SimulationThread > * >(argp1);
95250  (arg1)->RemoveAll();
95251  resultobj = SWIG_Py_Void();
95252  return resultobj;
95253 fail:
95254  return NULL;
95255 }
95256 
95257 
95258 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationThread_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95259  PyObject *resultobj = 0;
95260  CStdPtrArray< SimulationThread > *arg1 = (CStdPtrArray< SimulationThread > *) 0 ;
95261  int arg2 ;
95262  void *argp1 = 0 ;
95263  int res1 = 0 ;
95264  int val2 ;
95265  int ecode2 = 0 ;
95266  PyObject * obj0 = 0 ;
95267  PyObject * obj1 = 0 ;
95268 
95269  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_SimulationThread_RemoveAt",&obj0,&obj1)) SWIG_fail;
95270  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, 0 | 0 );
95271  if (!SWIG_IsOK(res1)) {
95272  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationThread_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< SimulationThread > *""'");
95273  }
95274  arg1 = reinterpret_cast< CStdPtrArray< SimulationThread > * >(argp1);
95275  ecode2 = SWIG_AsVal_int(obj1, &val2);
95276  if (!SWIG_IsOK(ecode2)) {
95277  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_SimulationThread_RemoveAt" "', argument " "2"" of type '" "int""'");
95278  }
95279  arg2 = static_cast< int >(val2);
95280  (arg1)->RemoveAt(arg2);
95281  resultobj = SWIG_Py_Void();
95282  return resultobj;
95283 fail:
95284  return NULL;
95285 }
95286 
95287 
95288 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationThread_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95289  PyObject *resultobj = 0;
95290  CStdPtrArray< SimulationThread > *arg1 = (CStdPtrArray< SimulationThread > *) 0 ;
95291  std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator arg2 ;
95292  void *argp1 = 0 ;
95293  int res1 = 0 ;
95294  swig::SwigPyIterator *iter2 = 0 ;
95295  int res2 ;
95296  PyObject * obj0 = 0 ;
95297  PyObject * obj1 = 0 ;
95298 
95299  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_SimulationThread_RemoveAt",&obj0,&obj1)) SWIG_fail;
95300  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, 0 | 0 );
95301  if (!SWIG_IsOK(res1)) {
95302  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationThread_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< SimulationThread > *""'");
95303  }
95304  arg1 = reinterpret_cast< CStdPtrArray< SimulationThread > * >(argp1);
95305  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
95306  if (!SWIG_IsOK(res2) || !iter2) {
95307  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationThread_RemoveAt" "', argument " "2"" of type '" "std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator""'");
95308  } else {
95310  if (iter_t) {
95311  arg2 = iter_t->get_current();
95312  } else {
95313  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationThread_RemoveAt" "', argument " "2"" of type '" "std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator""'");
95314  }
95315  }
95316  (arg1)->RemoveAt(arg2);
95317  resultobj = SWIG_Py_Void();
95318  return resultobj;
95319 fail:
95320  return NULL;
95321 }
95322 
95323 
95324 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationThread_RemoveAt(PyObject *self, PyObject *args) {
95325  int argc;
95326  PyObject *argv[3];
95327  int ii;
95328 
95329  if (!PyTuple_Check(args)) SWIG_fail;
95330  argc = args ? (int)PyObject_Length(args) : 0;
95331  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
95332  argv[ii] = PyTuple_GET_ITEM(args,ii);
95333  }
95334  if (argc == 2) {
95335  int _v;
95336  void *vptr = 0;
95337  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, 0);
95338  _v = SWIG_CheckState(res);
95339  if (_v) {
95340  swig::SwigPyIterator *iter = 0;
95341  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
95342  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator > *>(iter) != 0));
95343  if (_v) {
95344  return _wrap_CStdPtrArray_SimulationThread_RemoveAt__SWIG_1(self, args);
95345  }
95346  }
95347  }
95348  if (argc == 2) {
95349  int _v;
95350  void *vptr = 0;
95351  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, 0);
95352  _v = SWIG_CheckState(res);
95353  if (_v) {
95354  {
95355  int res = SWIG_AsVal_int(argv[1], NULL);
95356  _v = SWIG_CheckState(res);
95357  }
95358  if (_v) {
95359  return _wrap_CStdPtrArray_SimulationThread_RemoveAt__SWIG_0(self, args);
95360  }
95361  }
95362  }
95363 
95364 fail:
95365  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_SimulationThread_RemoveAt'.\n"
95366  " Possible C/C++ prototypes are:\n"
95367  " CStdPtrArray< SimulationThread >::RemoveAt(int)\n"
95368  " CStdPtrArray< SimulationThread >::RemoveAt(std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator)\n");
95369  return 0;
95370 }
95371 
95372 
95373 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationThread_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95374  PyObject *resultobj = 0;
95375  CStdPtrArray< SimulationThread > *arg1 = (CStdPtrArray< SimulationThread > *) 0 ;
95376  std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator arg2 ;
95377  void *argp1 = 0 ;
95378  int res1 = 0 ;
95379  swig::SwigPyIterator *iter2 = 0 ;
95380  int res2 ;
95381  PyObject * obj0 = 0 ;
95382  PyObject * obj1 = 0 ;
95383 
95384  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_SimulationThread_erase",&obj0,&obj1)) SWIG_fail;
95385  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, 0 | 0 );
95386  if (!SWIG_IsOK(res1)) {
95387  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationThread_erase" "', argument " "1"" of type '" "CStdPtrArray< SimulationThread > *""'");
95388  }
95389  arg1 = reinterpret_cast< CStdPtrArray< SimulationThread > * >(argp1);
95390  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
95391  if (!SWIG_IsOK(res2) || !iter2) {
95392  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationThread_erase" "', argument " "2"" of type '" "std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator""'");
95393  } else {
95395  if (iter_t) {
95396  arg2 = iter_t->get_current();
95397  } else {
95398  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationThread_erase" "', argument " "2"" of type '" "std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator""'");
95399  }
95400  }
95401  (arg1)->erase(arg2);
95402  resultobj = SWIG_Py_Void();
95403  return resultobj;
95404 fail:
95405  return NULL;
95406 }
95407 
95408 
95409 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationThread_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95410  PyObject *resultobj = 0;
95411  CStdPtrArray< SimulationThread > *arg1 = (CStdPtrArray< SimulationThread > *) 0 ;
95412  std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator arg2 ;
95413  std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator arg3 ;
95414  void *argp1 = 0 ;
95415  int res1 = 0 ;
95416  swig::SwigPyIterator *iter2 = 0 ;
95417  int res2 ;
95418  swig::SwigPyIterator *iter3 = 0 ;
95419  int res3 ;
95420  PyObject * obj0 = 0 ;
95421  PyObject * obj1 = 0 ;
95422  PyObject * obj2 = 0 ;
95423 
95424  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_SimulationThread_erase",&obj0,&obj1,&obj2)) SWIG_fail;
95425  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, 0 | 0 );
95426  if (!SWIG_IsOK(res1)) {
95427  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationThread_erase" "', argument " "1"" of type '" "CStdPtrArray< SimulationThread > *""'");
95428  }
95429  arg1 = reinterpret_cast< CStdPtrArray< SimulationThread > * >(argp1);
95430  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
95431  if (!SWIG_IsOK(res2) || !iter2) {
95432  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationThread_erase" "', argument " "2"" of type '" "std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator""'");
95433  } else {
95435  if (iter_t) {
95436  arg2 = iter_t->get_current();
95437  } else {
95438  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationThread_erase" "', argument " "2"" of type '" "std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator""'");
95439  }
95440  }
95441  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
95442  if (!SWIG_IsOK(res3) || !iter3) {
95443  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationThread_erase" "', argument " "3"" of type '" "std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator""'");
95444  } else {
95446  if (iter_t) {
95447  arg3 = iter_t->get_current();
95448  } else {
95449  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_SimulationThread_erase" "', argument " "3"" of type '" "std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator""'");
95450  }
95451  }
95452  (arg1)->erase(arg2,arg3);
95453  resultobj = SWIG_Py_Void();
95454  return resultobj;
95455 fail:
95456  return NULL;
95457 }
95458 
95459 
95460 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationThread_erase(PyObject *self, PyObject *args) {
95461  int argc;
95462  PyObject *argv[4];
95463  int ii;
95464 
95465  if (!PyTuple_Check(args)) SWIG_fail;
95466  argc = args ? (int)PyObject_Length(args) : 0;
95467  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
95468  argv[ii] = PyTuple_GET_ITEM(args,ii);
95469  }
95470  if (argc == 2) {
95471  int _v;
95472  void *vptr = 0;
95473  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, 0);
95474  _v = SWIG_CheckState(res);
95475  if (_v) {
95476  swig::SwigPyIterator *iter = 0;
95477  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
95478  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator > *>(iter) != 0));
95479  if (_v) {
95480  return _wrap_CStdPtrArray_SimulationThread_erase__SWIG_0(self, args);
95481  }
95482  }
95483  }
95484  if (argc == 3) {
95485  int _v;
95486  void *vptr = 0;
95487  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, 0);
95488  _v = SWIG_CheckState(res);
95489  if (_v) {
95490  swig::SwigPyIterator *iter = 0;
95491  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
95492  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator > *>(iter) != 0));
95493  if (_v) {
95494  swig::SwigPyIterator *iter = 0;
95495  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
95496  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator > *>(iter) != 0));
95497  if (_v) {
95498  return _wrap_CStdPtrArray_SimulationThread_erase__SWIG_1(self, args);
95499  }
95500  }
95501  }
95502  }
95503 
95504 fail:
95505  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_SimulationThread_erase'.\n"
95506  " Possible C/C++ prototypes are:\n"
95507  " CStdPtrArray< SimulationThread >::erase(std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator)\n"
95508  " CStdPtrArray< SimulationThread >::erase(std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator,std::vector< SimulationThread *,std::allocator< SimulationThread * > >::iterator)\n");
95509  return 0;
95510 }
95511 
95512 
95513 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationThread_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95514  PyObject *resultobj = 0;
95515  CStdPtrArray< SimulationThread > *arg1 = (CStdPtrArray< SimulationThread > *) 0 ;
95516  long arg2 ;
95517  void *argp1 = 0 ;
95518  int res1 = 0 ;
95519  long val2 ;
95520  int ecode2 = 0 ;
95521  PyObject * obj0 = 0 ;
95522  PyObject * obj1 = 0 ;
95523 
95524  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_SimulationThread_SetSize",&obj0,&obj1)) SWIG_fail;
95525  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, 0 | 0 );
95526  if (!SWIG_IsOK(res1)) {
95527  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationThread_SetSize" "', argument " "1"" of type '" "CStdPtrArray< SimulationThread > *""'");
95528  }
95529  arg1 = reinterpret_cast< CStdPtrArray< SimulationThread > * >(argp1);
95530  ecode2 = SWIG_AsVal_long(obj1, &val2);
95531  if (!SWIG_IsOK(ecode2)) {
95532  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_SimulationThread_SetSize" "', argument " "2"" of type '" "long""'");
95533  }
95534  arg2 = static_cast< long >(val2);
95535  (arg1)->SetSize(arg2);
95536  resultobj = SWIG_Py_Void();
95537  return resultobj;
95538 fail:
95539  return NULL;
95540 }
95541 
95542 
95543 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationThread_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95544  PyObject *resultobj = 0;
95545  CStdPtrArray< SimulationThread > *arg1 = (CStdPtrArray< SimulationThread > *) 0 ;
95546  int arg2 ;
95547  SimulationThread *arg3 = (SimulationThread *) 0 ;
95548  void *argp1 = 0 ;
95549  int res1 = 0 ;
95550  int val2 ;
95551  int ecode2 = 0 ;
95552  void *argp3 = 0 ;
95553  int res3 = 0 ;
95554  PyObject * obj0 = 0 ;
95555  PyObject * obj1 = 0 ;
95556  PyObject * obj2 = 0 ;
95557 
95558  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_SimulationThread_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
95559  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, 0 | 0 );
95560  if (!SWIG_IsOK(res1)) {
95561  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationThread_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< SimulationThread > *""'");
95562  }
95563  arg1 = reinterpret_cast< CStdPtrArray< SimulationThread > * >(argp1);
95564  ecode2 = SWIG_AsVal_int(obj1, &val2);
95565  if (!SWIG_IsOK(ecode2)) {
95566  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_SimulationThread_InsertAt" "', argument " "2"" of type '" "int""'");
95567  }
95568  arg2 = static_cast< int >(val2);
95569  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_SimulationThread, 0 | 0 );
95570  if (!SWIG_IsOK(res3)) {
95571  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_SimulationThread_InsertAt" "', argument " "3"" of type '" "SimulationThread *""'");
95572  }
95573  arg3 = reinterpret_cast< SimulationThread * >(argp3);
95574  (arg1)->InsertAt(arg2,arg3);
95575  resultobj = SWIG_Py_Void();
95576  return resultobj;
95577 fail:
95578  return NULL;
95579 }
95580 
95581 
95582 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationThread_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95583  PyObject *resultobj = 0;
95584  CStdPtrArray< SimulationThread > *arg1 = (CStdPtrArray< SimulationThread > *) 0 ;
95585  void *argp1 = 0 ;
95586  int res1 = 0 ;
95587  PyObject * obj0 = 0 ;
95588  int result;
95589 
95590  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_SimulationThread_GetSize",&obj0)) SWIG_fail;
95591  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, 0 | 0 );
95592  if (!SWIG_IsOK(res1)) {
95593  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationThread_GetSize" "', argument " "1"" of type '" "CStdPtrArray< SimulationThread > *""'");
95594  }
95595  arg1 = reinterpret_cast< CStdPtrArray< SimulationThread > * >(argp1);
95596  result = (int)(arg1)->GetSize();
95597  resultobj = SWIG_From_int(static_cast< int >(result));
95598  return resultobj;
95599 fail:
95600  return NULL;
95601 }
95602 
95603 
95604 SWIGINTERN PyObject *_wrap_CStdPtrArray_SimulationThread_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95605  PyObject *resultobj = 0;
95606  CStdPtrArray< SimulationThread > *arg1 = (CStdPtrArray< SimulationThread > *) 0 ;
95607  void *argp1 = 0 ;
95608  int res1 = 0 ;
95609  PyObject * obj0 = 0 ;
95610 
95611  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_SimulationThread_Clear",&obj0)) SWIG_fail;
95612  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, 0 | 0 );
95613  if (!SWIG_IsOK(res1)) {
95614  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_SimulationThread_Clear" "', argument " "1"" of type '" "CStdPtrArray< SimulationThread > *""'");
95615  }
95616  arg1 = reinterpret_cast< CStdPtrArray< SimulationThread > * >(argp1);
95617  (arg1)->Clear();
95618  resultobj = SWIG_Py_Void();
95619  return resultobj;
95620 fail:
95621  return NULL;
95622 }
95623 
95624 
95625 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_SimulationThread(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95626  PyObject *resultobj = 0;
95627  CStdPtrArray< SimulationThread > *result = 0 ;
95628 
95629  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_SimulationThread")) SWIG_fail;
95630  {
95631  try {
95632  result = (CStdPtrArray< SimulationThread > *)new CStdPtrArray< SimulationThread >();
95633  }
95634  catch(CStdErrorInfo oError)
95635  {
95636  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
95637  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
95638  PyErr_SetString(PyExc_IndexError, strError.c_str());
95639  SWIG_fail;
95640  }
95641  catch(...)
95642  {
95643  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
95644  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
95645  SWIG_fail;
95646  }
95647  }
95648  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, SWIG_POINTER_NEW | 0 );
95649  return resultobj;
95650 fail:
95651  return NULL;
95652 }
95653 
95654 
95655 SWIGINTERN PyObject *CStdPtrArray_SimulationThread_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95656  PyObject *obj;
95657  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
95658  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t, SWIG_NewClientData(obj));
95659  return SWIG_Py_Void();
95660 }
95661 
95662 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_Synapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95663  PyObject *resultobj = 0;
95664  CStdPtrArray< Synapse > *arg1 = (CStdPtrArray< Synapse > *) 0 ;
95665  void *argp1 = 0 ;
95666  int res1 = 0 ;
95667  PyObject * obj0 = 0 ;
95668 
95669  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_Synapse",&obj0)) SWIG_fail;
95670  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Synapse_t, SWIG_POINTER_DISOWN | 0 );
95671  if (!SWIG_IsOK(res1)) {
95672  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_Synapse" "', argument " "1"" of type '" "CStdPtrArray< Synapse > *""'");
95673  }
95674  arg1 = reinterpret_cast< CStdPtrArray< Synapse > * >(argp1);
95675  delete arg1;
95676  resultobj = SWIG_Py_Void();
95677  return resultobj;
95678 fail:
95679  return NULL;
95680 }
95681 
95682 
95683 SWIGINTERN PyObject *_wrap_CStdPtrArray_Synapse_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95684  PyObject *resultobj = 0;
95685  CStdPtrArray< Synapse > *arg1 = (CStdPtrArray< Synapse > *) 0 ;
95686  Synapse *arg2 = (Synapse *) 0 ;
95687  void *argp1 = 0 ;
95688  int res1 = 0 ;
95689  void *argp2 = 0 ;
95690  int res2 = 0 ;
95691  PyObject * obj0 = 0 ;
95692  PyObject * obj1 = 0 ;
95693 
95694  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Synapse_Add",&obj0,&obj1)) SWIG_fail;
95695  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0 | 0 );
95696  if (!SWIG_IsOK(res1)) {
95697  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Synapse_Add" "', argument " "1"" of type '" "CStdPtrArray< Synapse > *""'");
95698  }
95699  arg1 = reinterpret_cast< CStdPtrArray< Synapse > * >(argp1);
95700  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Synapse, 0 | 0 );
95701  if (!SWIG_IsOK(res2)) {
95702  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_Synapse_Add" "', argument " "2"" of type '" "Synapse *""'");
95703  }
95704  arg2 = reinterpret_cast< Synapse * >(argp2);
95705  (arg1)->Add(arg2);
95706  resultobj = SWIG_Py_Void();
95707  return resultobj;
95708 fail:
95709  return NULL;
95710 }
95711 
95712 
95713 SWIGINTERN PyObject *_wrap_CStdPtrArray_Synapse_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95714  PyObject *resultobj = 0;
95715  CStdPtrArray< Synapse > *arg1 = (CStdPtrArray< Synapse > *) 0 ;
95716  void *argp1 = 0 ;
95717  int res1 = 0 ;
95718  PyObject * obj0 = 0 ;
95719 
95720  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Synapse_clear",&obj0)) SWIG_fail;
95721  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0 | 0 );
95722  if (!SWIG_IsOK(res1)) {
95723  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Synapse_clear" "', argument " "1"" of type '" "CStdPtrArray< Synapse > *""'");
95724  }
95725  arg1 = reinterpret_cast< CStdPtrArray< Synapse > * >(argp1);
95726  (arg1)->clear();
95727  resultobj = SWIG_Py_Void();
95728  return resultobj;
95729 fail:
95730  return NULL;
95731 }
95732 
95733 
95734 SWIGINTERN PyObject *_wrap_CStdPtrArray_Synapse_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95735  PyObject *resultobj = 0;
95736  CStdPtrArray< Synapse > *arg1 = (CStdPtrArray< Synapse > *) 0 ;
95737  void *argp1 = 0 ;
95738  int res1 = 0 ;
95739  PyObject * obj0 = 0 ;
95740 
95741  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Synapse_RemoveAll",&obj0)) SWIG_fail;
95742  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0 | 0 );
95743  if (!SWIG_IsOK(res1)) {
95744  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Synapse_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< Synapse > *""'");
95745  }
95746  arg1 = reinterpret_cast< CStdPtrArray< Synapse > * >(argp1);
95747  (arg1)->RemoveAll();
95748  resultobj = SWIG_Py_Void();
95749  return resultobj;
95750 fail:
95751  return NULL;
95752 }
95753 
95754 
95755 SWIGINTERN PyObject *_wrap_CStdPtrArray_Synapse_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95756  PyObject *resultobj = 0;
95757  CStdPtrArray< Synapse > *arg1 = (CStdPtrArray< Synapse > *) 0 ;
95758  int arg2 ;
95759  void *argp1 = 0 ;
95760  int res1 = 0 ;
95761  int val2 ;
95762  int ecode2 = 0 ;
95763  PyObject * obj0 = 0 ;
95764  PyObject * obj1 = 0 ;
95765 
95766  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Synapse_RemoveAt",&obj0,&obj1)) SWIG_fail;
95767  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0 | 0 );
95768  if (!SWIG_IsOK(res1)) {
95769  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Synapse_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< Synapse > *""'");
95770  }
95771  arg1 = reinterpret_cast< CStdPtrArray< Synapse > * >(argp1);
95772  ecode2 = SWIG_AsVal_int(obj1, &val2);
95773  if (!SWIG_IsOK(ecode2)) {
95774  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_Synapse_RemoveAt" "', argument " "2"" of type '" "int""'");
95775  }
95776  arg2 = static_cast< int >(val2);
95777  (arg1)->RemoveAt(arg2);
95778  resultobj = SWIG_Py_Void();
95779  return resultobj;
95780 fail:
95781  return NULL;
95782 }
95783 
95784 
95785 SWIGINTERN PyObject *_wrap_CStdPtrArray_Synapse_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95786  PyObject *resultobj = 0;
95787  CStdPtrArray< Synapse > *arg1 = (CStdPtrArray< Synapse > *) 0 ;
95788  std::vector< Synapse *,std::allocator< Synapse * > >::iterator arg2 ;
95789  void *argp1 = 0 ;
95790  int res1 = 0 ;
95791  swig::SwigPyIterator *iter2 = 0 ;
95792  int res2 ;
95793  PyObject * obj0 = 0 ;
95794  PyObject * obj1 = 0 ;
95795 
95796  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Synapse_RemoveAt",&obj0,&obj1)) SWIG_fail;
95797  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0 | 0 );
95798  if (!SWIG_IsOK(res1)) {
95799  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Synapse_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< Synapse > *""'");
95800  }
95801  arg1 = reinterpret_cast< CStdPtrArray< Synapse > * >(argp1);
95802  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
95803  if (!SWIG_IsOK(res2) || !iter2) {
95804  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Synapse_RemoveAt" "', argument " "2"" of type '" "std::vector< Synapse *,std::allocator< Synapse * > >::iterator""'");
95805  } else {
95807  if (iter_t) {
95808  arg2 = iter_t->get_current();
95809  } else {
95810  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Synapse_RemoveAt" "', argument " "2"" of type '" "std::vector< Synapse *,std::allocator< Synapse * > >::iterator""'");
95811  }
95812  }
95813  (arg1)->RemoveAt(arg2);
95814  resultobj = SWIG_Py_Void();
95815  return resultobj;
95816 fail:
95817  return NULL;
95818 }
95819 
95820 
95821 SWIGINTERN PyObject *_wrap_CStdPtrArray_Synapse_RemoveAt(PyObject *self, PyObject *args) {
95822  int argc;
95823  PyObject *argv[3];
95824  int ii;
95825 
95826  if (!PyTuple_Check(args)) SWIG_fail;
95827  argc = args ? (int)PyObject_Length(args) : 0;
95828  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
95829  argv[ii] = PyTuple_GET_ITEM(args,ii);
95830  }
95831  if (argc == 2) {
95832  int _v;
95833  void *vptr = 0;
95834  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0);
95835  _v = SWIG_CheckState(res);
95836  if (_v) {
95837  swig::SwigPyIterator *iter = 0;
95838  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
95839  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Synapse *,std::allocator< Synapse * > >::iterator > *>(iter) != 0));
95840  if (_v) {
95841  return _wrap_CStdPtrArray_Synapse_RemoveAt__SWIG_1(self, args);
95842  }
95843  }
95844  }
95845  if (argc == 2) {
95846  int _v;
95847  void *vptr = 0;
95848  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0);
95849  _v = SWIG_CheckState(res);
95850  if (_v) {
95851  {
95852  int res = SWIG_AsVal_int(argv[1], NULL);
95853  _v = SWIG_CheckState(res);
95854  }
95855  if (_v) {
95856  return _wrap_CStdPtrArray_Synapse_RemoveAt__SWIG_0(self, args);
95857  }
95858  }
95859  }
95860 
95861 fail:
95862  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_Synapse_RemoveAt'.\n"
95863  " Possible C/C++ prototypes are:\n"
95864  " CStdPtrArray< Synapse >::RemoveAt(int)\n"
95865  " CStdPtrArray< Synapse >::RemoveAt(std::vector< Synapse *,std::allocator< Synapse * > >::iterator)\n");
95866  return 0;
95867 }
95868 
95869 
95870 SWIGINTERN PyObject *_wrap_CStdPtrArray_Synapse_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95871  PyObject *resultobj = 0;
95872  CStdPtrArray< Synapse > *arg1 = (CStdPtrArray< Synapse > *) 0 ;
95873  std::vector< Synapse *,std::allocator< Synapse * > >::iterator arg2 ;
95874  void *argp1 = 0 ;
95875  int res1 = 0 ;
95876  swig::SwigPyIterator *iter2 = 0 ;
95877  int res2 ;
95878  PyObject * obj0 = 0 ;
95879  PyObject * obj1 = 0 ;
95880 
95881  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Synapse_erase",&obj0,&obj1)) SWIG_fail;
95882  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0 | 0 );
95883  if (!SWIG_IsOK(res1)) {
95884  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Synapse_erase" "', argument " "1"" of type '" "CStdPtrArray< Synapse > *""'");
95885  }
95886  arg1 = reinterpret_cast< CStdPtrArray< Synapse > * >(argp1);
95887  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
95888  if (!SWIG_IsOK(res2) || !iter2) {
95889  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Synapse_erase" "', argument " "2"" of type '" "std::vector< Synapse *,std::allocator< Synapse * > >::iterator""'");
95890  } else {
95892  if (iter_t) {
95893  arg2 = iter_t->get_current();
95894  } else {
95895  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Synapse_erase" "', argument " "2"" of type '" "std::vector< Synapse *,std::allocator< Synapse * > >::iterator""'");
95896  }
95897  }
95898  (arg1)->erase(arg2);
95899  resultobj = SWIG_Py_Void();
95900  return resultobj;
95901 fail:
95902  return NULL;
95903 }
95904 
95905 
95906 SWIGINTERN PyObject *_wrap_CStdPtrArray_Synapse_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
95907  PyObject *resultobj = 0;
95908  CStdPtrArray< Synapse > *arg1 = (CStdPtrArray< Synapse > *) 0 ;
95909  std::vector< Synapse *,std::allocator< Synapse * > >::iterator arg2 ;
95910  std::vector< Synapse *,std::allocator< Synapse * > >::iterator arg3 ;
95911  void *argp1 = 0 ;
95912  int res1 = 0 ;
95913  swig::SwigPyIterator *iter2 = 0 ;
95914  int res2 ;
95915  swig::SwigPyIterator *iter3 = 0 ;
95916  int res3 ;
95917  PyObject * obj0 = 0 ;
95918  PyObject * obj1 = 0 ;
95919  PyObject * obj2 = 0 ;
95920 
95921  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_Synapse_erase",&obj0,&obj1,&obj2)) SWIG_fail;
95922  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0 | 0 );
95923  if (!SWIG_IsOK(res1)) {
95924  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Synapse_erase" "', argument " "1"" of type '" "CStdPtrArray< Synapse > *""'");
95925  }
95926  arg1 = reinterpret_cast< CStdPtrArray< Synapse > * >(argp1);
95927  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
95928  if (!SWIG_IsOK(res2) || !iter2) {
95929  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Synapse_erase" "', argument " "2"" of type '" "std::vector< Synapse *,std::allocator< Synapse * > >::iterator""'");
95930  } else {
95932  if (iter_t) {
95933  arg2 = iter_t->get_current();
95934  } else {
95935  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Synapse_erase" "', argument " "2"" of type '" "std::vector< Synapse *,std::allocator< Synapse * > >::iterator""'");
95936  }
95937  }
95938  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
95939  if (!SWIG_IsOK(res3) || !iter3) {
95940  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Synapse_erase" "', argument " "3"" of type '" "std::vector< Synapse *,std::allocator< Synapse * > >::iterator""'");
95941  } else {
95943  if (iter_t) {
95944  arg3 = iter_t->get_current();
95945  } else {
95946  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Synapse_erase" "', argument " "3"" of type '" "std::vector< Synapse *,std::allocator< Synapse * > >::iterator""'");
95947  }
95948  }
95949  (arg1)->erase(arg2,arg3);
95950  resultobj = SWIG_Py_Void();
95951  return resultobj;
95952 fail:
95953  return NULL;
95954 }
95955 
95956 
95957 SWIGINTERN PyObject *_wrap_CStdPtrArray_Synapse_erase(PyObject *self, PyObject *args) {
95958  int argc;
95959  PyObject *argv[4];
95960  int ii;
95961 
95962  if (!PyTuple_Check(args)) SWIG_fail;
95963  argc = args ? (int)PyObject_Length(args) : 0;
95964  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
95965  argv[ii] = PyTuple_GET_ITEM(args,ii);
95966  }
95967  if (argc == 2) {
95968  int _v;
95969  void *vptr = 0;
95970  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0);
95971  _v = SWIG_CheckState(res);
95972  if (_v) {
95973  swig::SwigPyIterator *iter = 0;
95974  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
95975  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Synapse *,std::allocator< Synapse * > >::iterator > *>(iter) != 0));
95976  if (_v) {
95977  return _wrap_CStdPtrArray_Synapse_erase__SWIG_0(self, args);
95978  }
95979  }
95980  }
95981  if (argc == 3) {
95982  int _v;
95983  void *vptr = 0;
95984  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0);
95985  _v = SWIG_CheckState(res);
95986  if (_v) {
95987  swig::SwigPyIterator *iter = 0;
95988  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
95989  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Synapse *,std::allocator< Synapse * > >::iterator > *>(iter) != 0));
95990  if (_v) {
95991  swig::SwigPyIterator *iter = 0;
95992  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
95993  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Synapse *,std::allocator< Synapse * > >::iterator > *>(iter) != 0));
95994  if (_v) {
95995  return _wrap_CStdPtrArray_Synapse_erase__SWIG_1(self, args);
95996  }
95997  }
95998  }
95999  }
96000 
96001 fail:
96002  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_Synapse_erase'.\n"
96003  " Possible C/C++ prototypes are:\n"
96004  " CStdPtrArray< Synapse >::erase(std::vector< Synapse *,std::allocator< Synapse * > >::iterator)\n"
96005  " CStdPtrArray< Synapse >::erase(std::vector< Synapse *,std::allocator< Synapse * > >::iterator,std::vector< Synapse *,std::allocator< Synapse * > >::iterator)\n");
96006  return 0;
96007 }
96008 
96009 
96010 SWIGINTERN PyObject *_wrap_CStdPtrArray_Synapse_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96011  PyObject *resultobj = 0;
96012  CStdPtrArray< Synapse > *arg1 = (CStdPtrArray< Synapse > *) 0 ;
96013  long arg2 ;
96014  void *argp1 = 0 ;
96015  int res1 = 0 ;
96016  long val2 ;
96017  int ecode2 = 0 ;
96018  PyObject * obj0 = 0 ;
96019  PyObject * obj1 = 0 ;
96020 
96021  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Synapse_SetSize",&obj0,&obj1)) SWIG_fail;
96022  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0 | 0 );
96023  if (!SWIG_IsOK(res1)) {
96024  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Synapse_SetSize" "', argument " "1"" of type '" "CStdPtrArray< Synapse > *""'");
96025  }
96026  arg1 = reinterpret_cast< CStdPtrArray< Synapse > * >(argp1);
96027  ecode2 = SWIG_AsVal_long(obj1, &val2);
96028  if (!SWIG_IsOK(ecode2)) {
96029  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_Synapse_SetSize" "', argument " "2"" of type '" "long""'");
96030  }
96031  arg2 = static_cast< long >(val2);
96032  (arg1)->SetSize(arg2);
96033  resultobj = SWIG_Py_Void();
96034  return resultobj;
96035 fail:
96036  return NULL;
96037 }
96038 
96039 
96040 SWIGINTERN PyObject *_wrap_CStdPtrArray_Synapse_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96041  PyObject *resultobj = 0;
96042  CStdPtrArray< Synapse > *arg1 = (CStdPtrArray< Synapse > *) 0 ;
96043  int arg2 ;
96044  Synapse *arg3 = (Synapse *) 0 ;
96045  void *argp1 = 0 ;
96046  int res1 = 0 ;
96047  int val2 ;
96048  int ecode2 = 0 ;
96049  void *argp3 = 0 ;
96050  int res3 = 0 ;
96051  PyObject * obj0 = 0 ;
96052  PyObject * obj1 = 0 ;
96053  PyObject * obj2 = 0 ;
96054 
96055  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_Synapse_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
96056  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0 | 0 );
96057  if (!SWIG_IsOK(res1)) {
96058  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Synapse_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< Synapse > *""'");
96059  }
96060  arg1 = reinterpret_cast< CStdPtrArray< Synapse > * >(argp1);
96061  ecode2 = SWIG_AsVal_int(obj1, &val2);
96062  if (!SWIG_IsOK(ecode2)) {
96063  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_Synapse_InsertAt" "', argument " "2"" of type '" "int""'");
96064  }
96065  arg2 = static_cast< int >(val2);
96066  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Synapse, 0 | 0 );
96067  if (!SWIG_IsOK(res3)) {
96068  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_Synapse_InsertAt" "', argument " "3"" of type '" "Synapse *""'");
96069  }
96070  arg3 = reinterpret_cast< Synapse * >(argp3);
96071  (arg1)->InsertAt(arg2,arg3);
96072  resultobj = SWIG_Py_Void();
96073  return resultobj;
96074 fail:
96075  return NULL;
96076 }
96077 
96078 
96079 SWIGINTERN PyObject *_wrap_CStdPtrArray_Synapse_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96080  PyObject *resultobj = 0;
96081  CStdPtrArray< Synapse > *arg1 = (CStdPtrArray< Synapse > *) 0 ;
96082  void *argp1 = 0 ;
96083  int res1 = 0 ;
96084  PyObject * obj0 = 0 ;
96085  int result;
96086 
96087  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Synapse_GetSize",&obj0)) SWIG_fail;
96088  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0 | 0 );
96089  if (!SWIG_IsOK(res1)) {
96090  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Synapse_GetSize" "', argument " "1"" of type '" "CStdPtrArray< Synapse > *""'");
96091  }
96092  arg1 = reinterpret_cast< CStdPtrArray< Synapse > * >(argp1);
96093  result = (int)(arg1)->GetSize();
96094  resultobj = SWIG_From_int(static_cast< int >(result));
96095  return resultobj;
96096 fail:
96097  return NULL;
96098 }
96099 
96100 
96101 SWIGINTERN PyObject *_wrap_CStdPtrArray_Synapse_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96102  PyObject *resultobj = 0;
96103  CStdPtrArray< Synapse > *arg1 = (CStdPtrArray< Synapse > *) 0 ;
96104  void *argp1 = 0 ;
96105  int res1 = 0 ;
96106  PyObject * obj0 = 0 ;
96107 
96108  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Synapse_Clear",&obj0)) SWIG_fail;
96109  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0 | 0 );
96110  if (!SWIG_IsOK(res1)) {
96111  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Synapse_Clear" "', argument " "1"" of type '" "CStdPtrArray< Synapse > *""'");
96112  }
96113  arg1 = reinterpret_cast< CStdPtrArray< Synapse > * >(argp1);
96114  (arg1)->Clear();
96115  resultobj = SWIG_Py_Void();
96116  return resultobj;
96117 fail:
96118  return NULL;
96119 }
96120 
96121 
96122 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_Synapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96123  PyObject *resultobj = 0;
96124  CStdPtrArray< Synapse > *result = 0 ;
96125 
96126  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_Synapse")) SWIG_fail;
96127  {
96128  try {
96129  result = (CStdPtrArray< Synapse > *)new CStdPtrArray< Synapse >();
96130  }
96131  catch(CStdErrorInfo oError)
96132  {
96133  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
96134  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
96135  PyErr_SetString(PyExc_IndexError, strError.c_str());
96136  SWIG_fail;
96137  }
96138  catch(...)
96139  {
96140  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
96141  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
96142  SWIG_fail;
96143  }
96144  }
96145  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_Synapse_t, SWIG_POINTER_NEW | 0 );
96146  return resultobj;
96147 fail:
96148  return NULL;
96149 }
96150 
96151 
96152 SWIGINTERN PyObject *CStdPtrArray_Synapse_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96153  PyObject *obj;
96154  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
96155  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_Synapse_t, SWIG_NewClientData(obj));
96156  return SWIG_Py_Void();
96157 }
96158 
96159 SWIGINTERN PyObject *_wrap_delete_CStdPtrArray_Neuron(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96160  PyObject *resultobj = 0;
96161  CStdPtrArray< Neuron > *arg1 = (CStdPtrArray< Neuron > *) 0 ;
96162  void *argp1 = 0 ;
96163  int res1 = 0 ;
96164  PyObject * obj0 = 0 ;
96165 
96166  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrArray_Neuron",&obj0)) SWIG_fail;
96167  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Neuron_t, SWIG_POINTER_DISOWN | 0 );
96168  if (!SWIG_IsOK(res1)) {
96169  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrArray_Neuron" "', argument " "1"" of type '" "CStdPtrArray< Neuron > *""'");
96170  }
96171  arg1 = reinterpret_cast< CStdPtrArray< Neuron > * >(argp1);
96172  delete arg1;
96173  resultobj = SWIG_Py_Void();
96174  return resultobj;
96175 fail:
96176  return NULL;
96177 }
96178 
96179 
96180 SWIGINTERN PyObject *_wrap_CStdPtrArray_Neuron_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96181  PyObject *resultobj = 0;
96182  CStdPtrArray< Neuron > *arg1 = (CStdPtrArray< Neuron > *) 0 ;
96183  Neuron *arg2 = (Neuron *) 0 ;
96184  void *argp1 = 0 ;
96185  int res1 = 0 ;
96186  void *argp2 = 0 ;
96187  int res2 = 0 ;
96188  PyObject * obj0 = 0 ;
96189  PyObject * obj1 = 0 ;
96190 
96191  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Neuron_Add",&obj0,&obj1)) SWIG_fail;
96192  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Neuron_t, 0 | 0 );
96193  if (!SWIG_IsOK(res1)) {
96194  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Neuron_Add" "', argument " "1"" of type '" "CStdPtrArray< Neuron > *""'");
96195  }
96196  arg1 = reinterpret_cast< CStdPtrArray< Neuron > * >(argp1);
96197  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Neuron, 0 | 0 );
96198  if (!SWIG_IsOK(res2)) {
96199  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrArray_Neuron_Add" "', argument " "2"" of type '" "Neuron *""'");
96200  }
96201  arg2 = reinterpret_cast< Neuron * >(argp2);
96202  (arg1)->Add(arg2);
96203  resultobj = SWIG_Py_Void();
96204  return resultobj;
96205 fail:
96206  return NULL;
96207 }
96208 
96209 
96210 SWIGINTERN PyObject *_wrap_CStdPtrArray_Neuron_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96211  PyObject *resultobj = 0;
96212  CStdPtrArray< Neuron > *arg1 = (CStdPtrArray< Neuron > *) 0 ;
96213  void *argp1 = 0 ;
96214  int res1 = 0 ;
96215  PyObject * obj0 = 0 ;
96216 
96217  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Neuron_clear",&obj0)) SWIG_fail;
96218  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Neuron_t, 0 | 0 );
96219  if (!SWIG_IsOK(res1)) {
96220  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Neuron_clear" "', argument " "1"" of type '" "CStdPtrArray< Neuron > *""'");
96221  }
96222  arg1 = reinterpret_cast< CStdPtrArray< Neuron > * >(argp1);
96223  (arg1)->clear();
96224  resultobj = SWIG_Py_Void();
96225  return resultobj;
96226 fail:
96227  return NULL;
96228 }
96229 
96230 
96231 SWIGINTERN PyObject *_wrap_CStdPtrArray_Neuron_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96232  PyObject *resultobj = 0;
96233  CStdPtrArray< Neuron > *arg1 = (CStdPtrArray< Neuron > *) 0 ;
96234  void *argp1 = 0 ;
96235  int res1 = 0 ;
96236  PyObject * obj0 = 0 ;
96237 
96238  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Neuron_RemoveAll",&obj0)) SWIG_fail;
96239  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Neuron_t, 0 | 0 );
96240  if (!SWIG_IsOK(res1)) {
96241  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Neuron_RemoveAll" "', argument " "1"" of type '" "CStdPtrArray< Neuron > *""'");
96242  }
96243  arg1 = reinterpret_cast< CStdPtrArray< Neuron > * >(argp1);
96244  (arg1)->RemoveAll();
96245  resultobj = SWIG_Py_Void();
96246  return resultobj;
96247 fail:
96248  return NULL;
96249 }
96250 
96251 
96252 SWIGINTERN PyObject *_wrap_CStdPtrArray_Neuron_RemoveAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96253  PyObject *resultobj = 0;
96254  CStdPtrArray< Neuron > *arg1 = (CStdPtrArray< Neuron > *) 0 ;
96255  int arg2 ;
96256  void *argp1 = 0 ;
96257  int res1 = 0 ;
96258  int val2 ;
96259  int ecode2 = 0 ;
96260  PyObject * obj0 = 0 ;
96261  PyObject * obj1 = 0 ;
96262 
96263  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Neuron_RemoveAt",&obj0,&obj1)) SWIG_fail;
96264  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Neuron_t, 0 | 0 );
96265  if (!SWIG_IsOK(res1)) {
96266  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Neuron_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< Neuron > *""'");
96267  }
96268  arg1 = reinterpret_cast< CStdPtrArray< Neuron > * >(argp1);
96269  ecode2 = SWIG_AsVal_int(obj1, &val2);
96270  if (!SWIG_IsOK(ecode2)) {
96271  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_Neuron_RemoveAt" "', argument " "2"" of type '" "int""'");
96272  }
96273  arg2 = static_cast< int >(val2);
96274  (arg1)->RemoveAt(arg2);
96275  resultobj = SWIG_Py_Void();
96276  return resultobj;
96277 fail:
96278  return NULL;
96279 }
96280 
96281 
96282 SWIGINTERN PyObject *_wrap_CStdPtrArray_Neuron_RemoveAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96283  PyObject *resultobj = 0;
96284  CStdPtrArray< Neuron > *arg1 = (CStdPtrArray< Neuron > *) 0 ;
96285  std::vector< Neuron *,std::allocator< Neuron * > >::iterator arg2 ;
96286  void *argp1 = 0 ;
96287  int res1 = 0 ;
96288  swig::SwigPyIterator *iter2 = 0 ;
96289  int res2 ;
96290  PyObject * obj0 = 0 ;
96291  PyObject * obj1 = 0 ;
96292 
96293  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Neuron_RemoveAt",&obj0,&obj1)) SWIG_fail;
96294  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Neuron_t, 0 | 0 );
96295  if (!SWIG_IsOK(res1)) {
96296  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Neuron_RemoveAt" "', argument " "1"" of type '" "CStdPtrArray< Neuron > *""'");
96297  }
96298  arg1 = reinterpret_cast< CStdPtrArray< Neuron > * >(argp1);
96299  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
96300  if (!SWIG_IsOK(res2) || !iter2) {
96301  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Neuron_RemoveAt" "', argument " "2"" of type '" "std::vector< Neuron *,std::allocator< Neuron * > >::iterator""'");
96302  } else {
96304  if (iter_t) {
96305  arg2 = iter_t->get_current();
96306  } else {
96307  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Neuron_RemoveAt" "', argument " "2"" of type '" "std::vector< Neuron *,std::allocator< Neuron * > >::iterator""'");
96308  }
96309  }
96310  (arg1)->RemoveAt(arg2);
96311  resultobj = SWIG_Py_Void();
96312  return resultobj;
96313 fail:
96314  return NULL;
96315 }
96316 
96317 
96318 SWIGINTERN PyObject *_wrap_CStdPtrArray_Neuron_RemoveAt(PyObject *self, PyObject *args) {
96319  int argc;
96320  PyObject *argv[3];
96321  int ii;
96322 
96323  if (!PyTuple_Check(args)) SWIG_fail;
96324  argc = args ? (int)PyObject_Length(args) : 0;
96325  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
96326  argv[ii] = PyTuple_GET_ITEM(args,ii);
96327  }
96328  if (argc == 2) {
96329  int _v;
96330  void *vptr = 0;
96331  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Neuron_t, 0);
96332  _v = SWIG_CheckState(res);
96333  if (_v) {
96334  swig::SwigPyIterator *iter = 0;
96335  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
96336  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Neuron *,std::allocator< Neuron * > >::iterator > *>(iter) != 0));
96337  if (_v) {
96338  return _wrap_CStdPtrArray_Neuron_RemoveAt__SWIG_1(self, args);
96339  }
96340  }
96341  }
96342  if (argc == 2) {
96343  int _v;
96344  void *vptr = 0;
96345  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Neuron_t, 0);
96346  _v = SWIG_CheckState(res);
96347  if (_v) {
96348  {
96349  int res = SWIG_AsVal_int(argv[1], NULL);
96350  _v = SWIG_CheckState(res);
96351  }
96352  if (_v) {
96353  return _wrap_CStdPtrArray_Neuron_RemoveAt__SWIG_0(self, args);
96354  }
96355  }
96356  }
96357 
96358 fail:
96359  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_Neuron_RemoveAt'.\n"
96360  " Possible C/C++ prototypes are:\n"
96361  " CStdPtrArray< Neuron >::RemoveAt(int)\n"
96362  " CStdPtrArray< Neuron >::RemoveAt(std::vector< Neuron *,std::allocator< Neuron * > >::iterator)\n");
96363  return 0;
96364 }
96365 
96366 
96367 SWIGINTERN PyObject *_wrap_CStdPtrArray_Neuron_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96368  PyObject *resultobj = 0;
96369  CStdPtrArray< Neuron > *arg1 = (CStdPtrArray< Neuron > *) 0 ;
96370  std::vector< Neuron *,std::allocator< Neuron * > >::iterator arg2 ;
96371  void *argp1 = 0 ;
96372  int res1 = 0 ;
96373  swig::SwigPyIterator *iter2 = 0 ;
96374  int res2 ;
96375  PyObject * obj0 = 0 ;
96376  PyObject * obj1 = 0 ;
96377 
96378  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Neuron_erase",&obj0,&obj1)) SWIG_fail;
96379  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Neuron_t, 0 | 0 );
96380  if (!SWIG_IsOK(res1)) {
96381  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Neuron_erase" "', argument " "1"" of type '" "CStdPtrArray< Neuron > *""'");
96382  }
96383  arg1 = reinterpret_cast< CStdPtrArray< Neuron > * >(argp1);
96384  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
96385  if (!SWIG_IsOK(res2) || !iter2) {
96386  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Neuron_erase" "', argument " "2"" of type '" "std::vector< Neuron *,std::allocator< Neuron * > >::iterator""'");
96387  } else {
96389  if (iter_t) {
96390  arg2 = iter_t->get_current();
96391  } else {
96392  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Neuron_erase" "', argument " "2"" of type '" "std::vector< Neuron *,std::allocator< Neuron * > >::iterator""'");
96393  }
96394  }
96395  (arg1)->erase(arg2);
96396  resultobj = SWIG_Py_Void();
96397  return resultobj;
96398 fail:
96399  return NULL;
96400 }
96401 
96402 
96403 SWIGINTERN PyObject *_wrap_CStdPtrArray_Neuron_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96404  PyObject *resultobj = 0;
96405  CStdPtrArray< Neuron > *arg1 = (CStdPtrArray< Neuron > *) 0 ;
96406  std::vector< Neuron *,std::allocator< Neuron * > >::iterator arg2 ;
96407  std::vector< Neuron *,std::allocator< Neuron * > >::iterator arg3 ;
96408  void *argp1 = 0 ;
96409  int res1 = 0 ;
96410  swig::SwigPyIterator *iter2 = 0 ;
96411  int res2 ;
96412  swig::SwigPyIterator *iter3 = 0 ;
96413  int res3 ;
96414  PyObject * obj0 = 0 ;
96415  PyObject * obj1 = 0 ;
96416  PyObject * obj2 = 0 ;
96417 
96418  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_Neuron_erase",&obj0,&obj1,&obj2)) SWIG_fail;
96419  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Neuron_t, 0 | 0 );
96420  if (!SWIG_IsOK(res1)) {
96421  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Neuron_erase" "', argument " "1"" of type '" "CStdPtrArray< Neuron > *""'");
96422  }
96423  arg1 = reinterpret_cast< CStdPtrArray< Neuron > * >(argp1);
96424  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
96425  if (!SWIG_IsOK(res2) || !iter2) {
96426  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Neuron_erase" "', argument " "2"" of type '" "std::vector< Neuron *,std::allocator< Neuron * > >::iterator""'");
96427  } else {
96429  if (iter_t) {
96430  arg2 = iter_t->get_current();
96431  } else {
96432  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Neuron_erase" "', argument " "2"" of type '" "std::vector< Neuron *,std::allocator< Neuron * > >::iterator""'");
96433  }
96434  }
96435  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
96436  if (!SWIG_IsOK(res3) || !iter3) {
96437  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Neuron_erase" "', argument " "3"" of type '" "std::vector< Neuron *,std::allocator< Neuron * > >::iterator""'");
96438  } else {
96440  if (iter_t) {
96441  arg3 = iter_t->get_current();
96442  } else {
96443  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdPtrArray_Neuron_erase" "', argument " "3"" of type '" "std::vector< Neuron *,std::allocator< Neuron * > >::iterator""'");
96444  }
96445  }
96446  (arg1)->erase(arg2,arg3);
96447  resultobj = SWIG_Py_Void();
96448  return resultobj;
96449 fail:
96450  return NULL;
96451 }
96452 
96453 
96454 SWIGINTERN PyObject *_wrap_CStdPtrArray_Neuron_erase(PyObject *self, PyObject *args) {
96455  int argc;
96456  PyObject *argv[4];
96457  int ii;
96458 
96459  if (!PyTuple_Check(args)) SWIG_fail;
96460  argc = args ? (int)PyObject_Length(args) : 0;
96461  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
96462  argv[ii] = PyTuple_GET_ITEM(args,ii);
96463  }
96464  if (argc == 2) {
96465  int _v;
96466  void *vptr = 0;
96467  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Neuron_t, 0);
96468  _v = SWIG_CheckState(res);
96469  if (_v) {
96470  swig::SwigPyIterator *iter = 0;
96471  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
96472  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Neuron *,std::allocator< Neuron * > >::iterator > *>(iter) != 0));
96473  if (_v) {
96474  return _wrap_CStdPtrArray_Neuron_erase__SWIG_0(self, args);
96475  }
96476  }
96477  }
96478  if (argc == 3) {
96479  int _v;
96480  void *vptr = 0;
96481  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPtrArrayT_Neuron_t, 0);
96482  _v = SWIG_CheckState(res);
96483  if (_v) {
96484  swig::SwigPyIterator *iter = 0;
96485  int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
96486  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Neuron *,std::allocator< Neuron * > >::iterator > *>(iter) != 0));
96487  if (_v) {
96488  swig::SwigPyIterator *iter = 0;
96489  int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
96490  _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< Neuron *,std::allocator< Neuron * > >::iterator > *>(iter) != 0));
96491  if (_v) {
96492  return _wrap_CStdPtrArray_Neuron_erase__SWIG_1(self, args);
96493  }
96494  }
96495  }
96496  }
96497 
96498 fail:
96499  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPtrArray_Neuron_erase'.\n"
96500  " Possible C/C++ prototypes are:\n"
96501  " CStdPtrArray< Neuron >::erase(std::vector< Neuron *,std::allocator< Neuron * > >::iterator)\n"
96502  " CStdPtrArray< Neuron >::erase(std::vector< Neuron *,std::allocator< Neuron * > >::iterator,std::vector< Neuron *,std::allocator< Neuron * > >::iterator)\n");
96503  return 0;
96504 }
96505 
96506 
96507 SWIGINTERN PyObject *_wrap_CStdPtrArray_Neuron_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96508  PyObject *resultobj = 0;
96509  CStdPtrArray< Neuron > *arg1 = (CStdPtrArray< Neuron > *) 0 ;
96510  long arg2 ;
96511  void *argp1 = 0 ;
96512  int res1 = 0 ;
96513  long val2 ;
96514  int ecode2 = 0 ;
96515  PyObject * obj0 = 0 ;
96516  PyObject * obj1 = 0 ;
96517 
96518  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrArray_Neuron_SetSize",&obj0,&obj1)) SWIG_fail;
96519  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Neuron_t, 0 | 0 );
96520  if (!SWIG_IsOK(res1)) {
96521  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Neuron_SetSize" "', argument " "1"" of type '" "CStdPtrArray< Neuron > *""'");
96522  }
96523  arg1 = reinterpret_cast< CStdPtrArray< Neuron > * >(argp1);
96524  ecode2 = SWIG_AsVal_long(obj1, &val2);
96525  if (!SWIG_IsOK(ecode2)) {
96526  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_Neuron_SetSize" "', argument " "2"" of type '" "long""'");
96527  }
96528  arg2 = static_cast< long >(val2);
96529  (arg1)->SetSize(arg2);
96530  resultobj = SWIG_Py_Void();
96531  return resultobj;
96532 fail:
96533  return NULL;
96534 }
96535 
96536 
96537 SWIGINTERN PyObject *_wrap_CStdPtrArray_Neuron_InsertAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96538  PyObject *resultobj = 0;
96539  CStdPtrArray< Neuron > *arg1 = (CStdPtrArray< Neuron > *) 0 ;
96540  int arg2 ;
96541  Neuron *arg3 = (Neuron *) 0 ;
96542  void *argp1 = 0 ;
96543  int res1 = 0 ;
96544  int val2 ;
96545  int ecode2 = 0 ;
96546  void *argp3 = 0 ;
96547  int res3 = 0 ;
96548  PyObject * obj0 = 0 ;
96549  PyObject * obj1 = 0 ;
96550  PyObject * obj2 = 0 ;
96551 
96552  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrArray_Neuron_InsertAt",&obj0,&obj1,&obj2)) SWIG_fail;
96553  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Neuron_t, 0 | 0 );
96554  if (!SWIG_IsOK(res1)) {
96555  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Neuron_InsertAt" "', argument " "1"" of type '" "CStdPtrArray< Neuron > *""'");
96556  }
96557  arg1 = reinterpret_cast< CStdPtrArray< Neuron > * >(argp1);
96558  ecode2 = SWIG_AsVal_int(obj1, &val2);
96559  if (!SWIG_IsOK(ecode2)) {
96560  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPtrArray_Neuron_InsertAt" "', argument " "2"" of type '" "int""'");
96561  }
96562  arg2 = static_cast< int >(val2);
96563  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Neuron, 0 | 0 );
96564  if (!SWIG_IsOK(res3)) {
96565  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrArray_Neuron_InsertAt" "', argument " "3"" of type '" "Neuron *""'");
96566  }
96567  arg3 = reinterpret_cast< Neuron * >(argp3);
96568  (arg1)->InsertAt(arg2,arg3);
96569  resultobj = SWIG_Py_Void();
96570  return resultobj;
96571 fail:
96572  return NULL;
96573 }
96574 
96575 
96576 SWIGINTERN PyObject *_wrap_CStdPtrArray_Neuron_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96577  PyObject *resultobj = 0;
96578  CStdPtrArray< Neuron > *arg1 = (CStdPtrArray< Neuron > *) 0 ;
96579  void *argp1 = 0 ;
96580  int res1 = 0 ;
96581  PyObject * obj0 = 0 ;
96582  int result;
96583 
96584  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Neuron_GetSize",&obj0)) SWIG_fail;
96585  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Neuron_t, 0 | 0 );
96586  if (!SWIG_IsOK(res1)) {
96587  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Neuron_GetSize" "', argument " "1"" of type '" "CStdPtrArray< Neuron > *""'");
96588  }
96589  arg1 = reinterpret_cast< CStdPtrArray< Neuron > * >(argp1);
96590  result = (int)(arg1)->GetSize();
96591  resultobj = SWIG_From_int(static_cast< int >(result));
96592  return resultobj;
96593 fail:
96594  return NULL;
96595 }
96596 
96597 
96598 SWIGINTERN PyObject *_wrap_CStdPtrArray_Neuron_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96599  PyObject *resultobj = 0;
96600  CStdPtrArray< Neuron > *arg1 = (CStdPtrArray< Neuron > *) 0 ;
96601  void *argp1 = 0 ;
96602  int res1 = 0 ;
96603  PyObject * obj0 = 0 ;
96604 
96605  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrArray_Neuron_Clear",&obj0)) SWIG_fail;
96606  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrArrayT_Neuron_t, 0 | 0 );
96607  if (!SWIG_IsOK(res1)) {
96608  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrArray_Neuron_Clear" "', argument " "1"" of type '" "CStdPtrArray< Neuron > *""'");
96609  }
96610  arg1 = reinterpret_cast< CStdPtrArray< Neuron > * >(argp1);
96611  (arg1)->Clear();
96612  resultobj = SWIG_Py_Void();
96613  return resultobj;
96614 fail:
96615  return NULL;
96616 }
96617 
96618 
96619 SWIGINTERN PyObject *_wrap_new_CStdPtrArray_Neuron(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96620  PyObject *resultobj = 0;
96621  CStdPtrArray< Neuron > *result = 0 ;
96622 
96623  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrArray_Neuron")) SWIG_fail;
96624  {
96625  try {
96626  result = (CStdPtrArray< Neuron > *)new CStdPtrArray< Neuron >();
96627  }
96628  catch(CStdErrorInfo oError)
96629  {
96630  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
96631  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
96632  PyErr_SetString(PyExc_IndexError, strError.c_str());
96633  SWIG_fail;
96634  }
96635  catch(...)
96636  {
96637  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
96638  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
96639  SWIG_fail;
96640  }
96641  }
96642  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_Neuron_t, SWIG_POINTER_NEW | 0 );
96643  return resultobj;
96644 fail:
96645  return NULL;
96646 }
96647 
96648 
96649 SWIGINTERN PyObject *CStdPtrArray_Neuron_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96650  PyObject *obj;
96651  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
96652  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrArrayT_Neuron_t, SWIG_NewClientData(obj));
96653  return SWIG_Py_Void();
96654 }
96655 
96656 SWIGINTERN PyObject *_wrap_new_CStdCircularArray_float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96657  PyObject *resultobj = 0;
96658  CStdCircularArray< float > *result = 0 ;
96659 
96660  if (!PyArg_ParseTuple(args,(char *)":new_CStdCircularArray_float")) SWIG_fail;
96661  result = (CStdCircularArray< float > *)new CStdCircularArray< float >();
96662  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdCircularArrayT_float_t, SWIG_POINTER_NEW | 0 );
96663  return resultobj;
96664 fail:
96665  return NULL;
96666 }
96667 
96668 
96669 SWIGINTERN PyObject *_wrap_delete_CStdCircularArray_float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96670  PyObject *resultobj = 0;
96671  CStdCircularArray< float > *arg1 = (CStdCircularArray< float > *) 0 ;
96672  void *argp1 = 0 ;
96673  int res1 = 0 ;
96674  PyObject * obj0 = 0 ;
96675 
96676  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdCircularArray_float",&obj0)) SWIG_fail;
96677  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdCircularArrayT_float_t, SWIG_POINTER_DISOWN | 0 );
96678  if (!SWIG_IsOK(res1)) {
96679  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdCircularArray_float" "', argument " "1"" of type '" "CStdCircularArray< float > *""'");
96680  }
96681  arg1 = reinterpret_cast< CStdCircularArray< float > * >(argp1);
96682  delete arg1;
96683  resultobj = SWIG_Py_Void();
96684  return resultobj;
96685 fail:
96686  return NULL;
96687 }
96688 
96689 
96690 SWIGINTERN PyObject *_wrap_CStdCircularArray_float_CurrentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96691  PyObject *resultobj = 0;
96692  CStdCircularArray< float > *arg1 = (CStdCircularArray< float > *) 0 ;
96693  void *argp1 = 0 ;
96694  int res1 = 0 ;
96695  PyObject * obj0 = 0 ;
96696  int result;
96697 
96698  if (!PyArg_ParseTuple(args,(char *)"O:CStdCircularArray_float_CurrentPos",&obj0)) SWIG_fail;
96699  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdCircularArrayT_float_t, 0 | 0 );
96700  if (!SWIG_IsOK(res1)) {
96701  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdCircularArray_float_CurrentPos" "', argument " "1"" of type '" "CStdCircularArray< float > *""'");
96702  }
96703  arg1 = reinterpret_cast< CStdCircularArray< float > * >(argp1);
96704  result = (int)(arg1)->CurrentPos();
96705  resultobj = SWIG_From_int(static_cast< int >(result));
96706  return resultobj;
96707 fail:
96708  return NULL;
96709 }
96710 
96711 
96712 SWIGINTERN PyObject *_wrap_CStdCircularArray_float_GetHead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96713  PyObject *resultobj = 0;
96714  CStdCircularArray< float > *arg1 = (CStdCircularArray< float > *) 0 ;
96715  void *argp1 = 0 ;
96716  int res1 = 0 ;
96717  PyObject * obj0 = 0 ;
96718  float result;
96719 
96720  if (!PyArg_ParseTuple(args,(char *)"O:CStdCircularArray_float_GetHead",&obj0)) SWIG_fail;
96721  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdCircularArrayT_float_t, 0 | 0 );
96722  if (!SWIG_IsOK(res1)) {
96723  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdCircularArray_float_GetHead" "', argument " "1"" of type '" "CStdCircularArray< float > *""'");
96724  }
96725  arg1 = reinterpret_cast< CStdCircularArray< float > * >(argp1);
96726  result = (float)(arg1)->GetHead();
96727  resultobj = SWIG_From_float(static_cast< float >(result));
96728  return resultobj;
96729 fail:
96730  return NULL;
96731 }
96732 
96733 
96734 SWIGINTERN PyObject *_wrap_CStdCircularArray_float_AddEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96735  PyObject *resultobj = 0;
96736  CStdCircularArray< float > *arg1 = (CStdCircularArray< float > *) 0 ;
96737  float arg2 ;
96738  void *argp1 = 0 ;
96739  int res1 = 0 ;
96740  float val2 ;
96741  int ecode2 = 0 ;
96742  PyObject * obj0 = 0 ;
96743  PyObject * obj1 = 0 ;
96744 
96745  if (!PyArg_ParseTuple(args,(char *)"OO:CStdCircularArray_float_AddEnd",&obj0,&obj1)) SWIG_fail;
96746  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdCircularArrayT_float_t, 0 | 0 );
96747  if (!SWIG_IsOK(res1)) {
96748  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdCircularArray_float_AddEnd" "', argument " "1"" of type '" "CStdCircularArray< float > *""'");
96749  }
96750  arg1 = reinterpret_cast< CStdCircularArray< float > * >(argp1);
96751  ecode2 = SWIG_AsVal_float(obj1, &val2);
96752  if (!SWIG_IsOK(ecode2)) {
96753  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdCircularArray_float_AddEnd" "', argument " "2"" of type '" "float""'");
96754  }
96755  arg2 = static_cast< float >(val2);
96756  (arg1)->AddEnd(arg2);
96757  resultobj = SWIG_Py_Void();
96758  return resultobj;
96759 fail:
96760  return NULL;
96761 }
96762 
96763 
96764 SWIGINTERN PyObject *_wrap_CStdCircularArray_float_GetAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96765  PyObject *resultobj = 0;
96766  CStdCircularArray< float > *arg1 = (CStdCircularArray< float > *) 0 ;
96767  int arg2 ;
96768  void *argp1 = 0 ;
96769  int res1 = 0 ;
96770  int val2 ;
96771  int ecode2 = 0 ;
96772  PyObject * obj0 = 0 ;
96773  PyObject * obj1 = 0 ;
96774  float result;
96775 
96776  if (!PyArg_ParseTuple(args,(char *)"OO:CStdCircularArray_float_GetAt",&obj0,&obj1)) SWIG_fail;
96777  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdCircularArrayT_float_t, 0 | 0 );
96778  if (!SWIG_IsOK(res1)) {
96779  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdCircularArray_float_GetAt" "', argument " "1"" of type '" "CStdCircularArray< float > *""'");
96780  }
96781  arg1 = reinterpret_cast< CStdCircularArray< float > * >(argp1);
96782  ecode2 = SWIG_AsVal_int(obj1, &val2);
96783  if (!SWIG_IsOK(ecode2)) {
96784  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdCircularArray_float_GetAt" "', argument " "2"" of type '" "int""'");
96785  }
96786  arg2 = static_cast< int >(val2);
96787  result = (float)(arg1)->GetAt(arg2);
96788  resultobj = SWIG_From_float(static_cast< float >(result));
96789  return resultobj;
96790 fail:
96791  return NULL;
96792 }
96793 
96794 
96795 SWIGINTERN PyObject *_wrap_CStdCircularArray_float_Average(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96796  PyObject *resultobj = 0;
96797  CStdCircularArray< float > *arg1 = (CStdCircularArray< float > *) 0 ;
96798  void *argp1 = 0 ;
96799  int res1 = 0 ;
96800  PyObject * obj0 = 0 ;
96801  float result;
96802 
96803  if (!PyArg_ParseTuple(args,(char *)"O:CStdCircularArray_float_Average",&obj0)) SWIG_fail;
96804  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdCircularArrayT_float_t, 0 | 0 );
96805  if (!SWIG_IsOK(res1)) {
96806  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdCircularArray_float_Average" "', argument " "1"" of type '" "CStdCircularArray< float > *""'");
96807  }
96808  arg1 = reinterpret_cast< CStdCircularArray< float > * >(argp1);
96809  result = (float)(arg1)->Average();
96810  resultobj = SWIG_From_float(static_cast< float >(result));
96811  return resultobj;
96812 fail:
96813  return NULL;
96814 }
96815 
96816 
96817 SWIGINTERN PyObject *CStdCircularArray_float_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96818  PyObject *obj;
96819  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
96820  SWIG_TypeNewClientData(SWIGTYPE_p_CStdCircularArrayT_float_t, SWIG_NewClientData(obj));
96821  return SWIG_Py_Void();
96822 }
96823 
96824 SWIGINTERN PyObject *_wrap_delete_CStdStack_double(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96825  PyObject *resultobj = 0;
96826  CStdStack< double > *arg1 = (CStdStack< double > *) 0 ;
96827  void *argp1 = 0 ;
96828  int res1 = 0 ;
96829  PyObject * obj0 = 0 ;
96830 
96831  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdStack_double",&obj0)) SWIG_fail;
96832  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdStackT_double_t, SWIG_POINTER_DISOWN | 0 );
96833  if (!SWIG_IsOK(res1)) {
96834  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdStack_double" "', argument " "1"" of type '" "CStdStack< double > *""'");
96835  }
96836  arg1 = reinterpret_cast< CStdStack< double > * >(argp1);
96837  delete arg1;
96838  resultobj = SWIG_Py_Void();
96839  return resultobj;
96840 fail:
96841  return NULL;
96842 }
96843 
96844 
96845 SWIGINTERN PyObject *_wrap_CStdStack_double_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96846  PyObject *resultobj = 0;
96847  CStdStack< double > *arg1 = (CStdStack< double > *) 0 ;
96848  void *argp1 = 0 ;
96849  int res1 = 0 ;
96850  PyObject * obj0 = 0 ;
96851 
96852  if (!PyArg_ParseTuple(args,(char *)"O:CStdStack_double_RemoveAll",&obj0)) SWIG_fail;
96853  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdStackT_double_t, 0 | 0 );
96854  if (!SWIG_IsOK(res1)) {
96855  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdStack_double_RemoveAll" "', argument " "1"" of type '" "CStdStack< double > *""'");
96856  }
96857  arg1 = reinterpret_cast< CStdStack< double > * >(argp1);
96858  (arg1)->RemoveAll();
96859  resultobj = SWIG_Py_Void();
96860  return resultobj;
96861 fail:
96862  return NULL;
96863 }
96864 
96865 
96866 SWIGINTERN PyObject *_wrap_CStdStack_double_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96867  PyObject *resultobj = 0;
96868  CStdStack< double > *arg1 = (CStdStack< double > *) 0 ;
96869  void *argp1 = 0 ;
96870  int res1 = 0 ;
96871  PyObject * obj0 = 0 ;
96872 
96873  if (!PyArg_ParseTuple(args,(char *)"O:CStdStack_double_Clear",&obj0)) SWIG_fail;
96874  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdStackT_double_t, 0 | 0 );
96875  if (!SWIG_IsOK(res1)) {
96876  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdStack_double_Clear" "', argument " "1"" of type '" "CStdStack< double > *""'");
96877  }
96878  arg1 = reinterpret_cast< CStdStack< double > * >(argp1);
96879  (arg1)->Clear();
96880  resultobj = SWIG_Py_Void();
96881  return resultobj;
96882 fail:
96883  return NULL;
96884 }
96885 
96886 
96887 SWIGINTERN PyObject *_wrap_CStdStack_double_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96888  PyObject *resultobj = 0;
96889  CStdStack< double > *arg1 = (CStdStack< double > *) 0 ;
96890  void *argp1 = 0 ;
96891  int res1 = 0 ;
96892  PyObject * obj0 = 0 ;
96893 
96894  if (!PyArg_ParseTuple(args,(char *)"O:CStdStack_double_clear",&obj0)) SWIG_fail;
96895  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdStackT_double_t, 0 | 0 );
96896  if (!SWIG_IsOK(res1)) {
96897  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdStack_double_clear" "', argument " "1"" of type '" "CStdStack< double > *""'");
96898  }
96899  arg1 = reinterpret_cast< CStdStack< double > * >(argp1);
96900  (arg1)->clear();
96901  resultobj = SWIG_Py_Void();
96902  return resultobj;
96903 fail:
96904  return NULL;
96905 }
96906 
96907 
96908 SWIGINTERN PyObject *_wrap_CStdStack_double_Push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96909  PyObject *resultobj = 0;
96910  CStdStack< double > *arg1 = (CStdStack< double > *) 0 ;
96911  double arg2 ;
96912  void *argp1 = 0 ;
96913  int res1 = 0 ;
96914  double val2 ;
96915  int ecode2 = 0 ;
96916  PyObject * obj0 = 0 ;
96917  PyObject * obj1 = 0 ;
96918 
96919  if (!PyArg_ParseTuple(args,(char *)"OO:CStdStack_double_Push",&obj0,&obj1)) SWIG_fail;
96920  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdStackT_double_t, 0 | 0 );
96921  if (!SWIG_IsOK(res1)) {
96922  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdStack_double_Push" "', argument " "1"" of type '" "CStdStack< double > *""'");
96923  }
96924  arg1 = reinterpret_cast< CStdStack< double > * >(argp1);
96925  ecode2 = SWIG_AsVal_double(obj1, &val2);
96926  if (!SWIG_IsOK(ecode2)) {
96927  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdStack_double_Push" "', argument " "2"" of type '" "double""'");
96928  }
96929  arg2 = static_cast< double >(val2);
96930  (arg1)->Push(arg2);
96931  resultobj = SWIG_Py_Void();
96932  return resultobj;
96933 fail:
96934  return NULL;
96935 }
96936 
96937 
96938 SWIGINTERN PyObject *_wrap_CStdStack_double_Pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96939  PyObject *resultobj = 0;
96940  CStdStack< double > *arg1 = (CStdStack< double > *) 0 ;
96941  void *argp1 = 0 ;
96942  int res1 = 0 ;
96943  PyObject * obj0 = 0 ;
96944  double result;
96945 
96946  if (!PyArg_ParseTuple(args,(char *)"O:CStdStack_double_Pop",&obj0)) SWIG_fail;
96947  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdStackT_double_t, 0 | 0 );
96948  if (!SWIG_IsOK(res1)) {
96949  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdStack_double_Pop" "', argument " "1"" of type '" "CStdStack< double > *""'");
96950  }
96951  arg1 = reinterpret_cast< CStdStack< double > * >(argp1);
96952  result = (double)(arg1)->Pop();
96953  resultobj = SWIG_From_double(static_cast< double >(result));
96954  return resultobj;
96955 fail:
96956  return NULL;
96957 }
96958 
96959 
96960 SWIGINTERN PyObject *_wrap_CStdStack_double_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96961  PyObject *resultobj = 0;
96962  CStdStack< double > *arg1 = (CStdStack< double > *) 0 ;
96963  void *argp1 = 0 ;
96964  int res1 = 0 ;
96965  PyObject * obj0 = 0 ;
96966  double result;
96967 
96968  if (!PyArg_ParseTuple(args,(char *)"O:CStdStack_double_Top",&obj0)) SWIG_fail;
96969  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdStackT_double_t, 0 | 0 );
96970  if (!SWIG_IsOK(res1)) {
96971  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdStack_double_Top" "', argument " "1"" of type '" "CStdStack< double > *""'");
96972  }
96973  arg1 = reinterpret_cast< CStdStack< double > * >(argp1);
96974  result = (double)(arg1)->Top();
96975  resultobj = SWIG_From_double(static_cast< double >(result));
96976  return resultobj;
96977 fail:
96978  return NULL;
96979 }
96980 
96981 
96982 SWIGINTERN PyObject *_wrap_CStdStack_double_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
96983  PyObject *resultobj = 0;
96984  CStdStack< double > *arg1 = (CStdStack< double > *) 0 ;
96985  void *argp1 = 0 ;
96986  int res1 = 0 ;
96987  PyObject * obj0 = 0 ;
96988  int result;
96989 
96990  if (!PyArg_ParseTuple(args,(char *)"O:CStdStack_double_IsEmpty",&obj0)) SWIG_fail;
96991  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdStackT_double_t, 0 | 0 );
96992  if (!SWIG_IsOK(res1)) {
96993  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdStack_double_IsEmpty" "', argument " "1"" of type '" "CStdStack< double > *""'");
96994  }
96995  arg1 = reinterpret_cast< CStdStack< double > * >(argp1);
96996  result = (int)(arg1)->IsEmpty();
96997  resultobj = SWIG_From_int(static_cast< int >(result));
96998  return resultobj;
96999 fail:
97000  return NULL;
97001 }
97002 
97003 
97004 SWIGINTERN PyObject *_wrap_CStdStack_double_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97005  PyObject *resultobj = 0;
97006  CStdStack< double > *arg1 = (CStdStack< double > *) 0 ;
97007  void *argp1 = 0 ;
97008  int res1 = 0 ;
97009  PyObject * obj0 = 0 ;
97010  int result;
97011 
97012  if (!PyArg_ParseTuple(args,(char *)"O:CStdStack_double_GetSize",&obj0)) SWIG_fail;
97013  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdStackT_double_t, 0 | 0 );
97014  if (!SWIG_IsOK(res1)) {
97015  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdStack_double_GetSize" "', argument " "1"" of type '" "CStdStack< double > *""'");
97016  }
97017  arg1 = reinterpret_cast< CStdStack< double > * >(argp1);
97018  result = (int)(arg1)->GetSize();
97019  resultobj = SWIG_From_int(static_cast< int >(result));
97020  return resultobj;
97021 fail:
97022  return NULL;
97023 }
97024 
97025 
97026 SWIGINTERN PyObject *_wrap_CStdStack_double_Examine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97027  PyObject *resultobj = 0;
97028  CStdStack< double > *arg1 = (CStdStack< double > *) 0 ;
97029  void *argp1 = 0 ;
97030  int res1 = 0 ;
97031  PyObject * obj0 = 0 ;
97032  double result;
97033 
97034  if (!PyArg_ParseTuple(args,(char *)"O:CStdStack_double_Examine",&obj0)) SWIG_fail;
97035  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdStackT_double_t, 0 | 0 );
97036  if (!SWIG_IsOK(res1)) {
97037  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdStack_double_Examine" "', argument " "1"" of type '" "CStdStack< double > *""'");
97038  }
97039  arg1 = reinterpret_cast< CStdStack< double > * >(argp1);
97040  result = (double)(arg1)->Examine();
97041  resultobj = SWIG_From_double(static_cast< double >(result));
97042  return resultobj;
97043 fail:
97044  return NULL;
97045 }
97046 
97047 
97048 SWIGINTERN PyObject *_wrap_new_CStdStack_double(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97049  PyObject *resultobj = 0;
97050  CStdStack< double > *result = 0 ;
97051 
97052  if (!PyArg_ParseTuple(args,(char *)":new_CStdStack_double")) SWIG_fail;
97053  {
97054  try {
97055  result = (CStdStack< double > *)new CStdStack< double >();
97056  }
97057  catch(CStdErrorInfo oError)
97058  {
97059  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
97060  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
97061  PyErr_SetString(PyExc_IndexError, strError.c_str());
97062  SWIG_fail;
97063  }
97064  catch(...)
97065  {
97066  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
97067  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
97068  SWIG_fail;
97069  }
97070  }
97071  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdStackT_double_t, SWIG_POINTER_NEW | 0 );
97072  return resultobj;
97073 fail:
97074  return NULL;
97075 }
97076 
97077 
97078 SWIGINTERN PyObject *CStdStack_double_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97079  PyObject *obj;
97080  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
97081  SWIG_TypeNewClientData(SWIGTYPE_p_CStdStackT_double_t, SWIG_NewClientData(obj));
97082  return SWIG_Py_Void();
97083 }
97084 
97085 SWIGINTERN PyObject *_wrap_delete_CStdMap_string_DataColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97086  PyObject *resultobj = 0;
97087  CStdMap< std::string,DataColumn * > *arg1 = (CStdMap< std::string,DataColumn * > *) 0 ;
97088  void *argp1 = 0 ;
97089  int res1 = 0 ;
97090  PyObject * obj0 = 0 ;
97091 
97092  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdMap_string_DataColumn",&obj0)) SWIG_fail;
97093  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_DataColumn_p_t, SWIG_POINTER_DISOWN | 0 );
97094  if (!SWIG_IsOK(res1)) {
97095  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdMap_string_DataColumn" "', argument " "1"" of type '" "CStdMap< std::string,DataColumn * > *""'");
97096  }
97097  arg1 = reinterpret_cast< CStdMap< std::string,DataColumn * > * >(argp1);
97098  delete arg1;
97099  resultobj = SWIG_Py_Void();
97100  return resultobj;
97101 fail:
97102  return NULL;
97103 }
97104 
97105 
97106 SWIGINTERN PyObject *_wrap_CStdMap_string_DataColumn_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97107  PyObject *resultobj = 0;
97108  CStdMap< std::string,DataColumn * > *arg1 = (CStdMap< std::string,DataColumn * > *) 0 ;
97109  std::string arg2 ;
97110  DataColumn *arg3 = (DataColumn *) 0 ;
97111  void *argp1 = 0 ;
97112  int res1 = 0 ;
97113  void *argp3 = 0 ;
97114  int res3 = 0 ;
97115  PyObject * obj0 = 0 ;
97116  PyObject * obj1 = 0 ;
97117  PyObject * obj2 = 0 ;
97118 
97119  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdMap_string_DataColumn_Add",&obj0,&obj1,&obj2)) SWIG_fail;
97120  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_DataColumn_p_t, 0 | 0 );
97121  if (!SWIG_IsOK(res1)) {
97122  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_DataColumn_Add" "', argument " "1"" of type '" "CStdMap< std::string,DataColumn * > *""'");
97123  }
97124  arg1 = reinterpret_cast< CStdMap< std::string,DataColumn * > * >(argp1);
97125  {
97126  std::string *ptr = (std::string *)0;
97127  int res = SWIG_AsPtr_std_string(obj1, &ptr);
97128  if (!SWIG_IsOK(res) || !ptr) {
97129  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdMap_string_DataColumn_Add" "', argument " "2"" of type '" "std::string""'");
97130  }
97131  arg2 = *ptr;
97132  if (SWIG_IsNewObj(res)) delete ptr;
97133  }
97134  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_DataColumn, 0 | 0 );
97135  if (!SWIG_IsOK(res3)) {
97136  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdMap_string_DataColumn_Add" "', argument " "3"" of type '" "DataColumn *""'");
97137  }
97138  arg3 = reinterpret_cast< DataColumn * >(argp3);
97139  (arg1)->Add(arg2,arg3);
97140  resultobj = SWIG_Py_Void();
97141  return resultobj;
97142 fail:
97143  return NULL;
97144 }
97145 
97146 
97147 SWIGINTERN PyObject *_wrap_CStdMap_string_DataColumn_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97148  PyObject *resultobj = 0;
97149  CStdMap< std::string,DataColumn * > *arg1 = (CStdMap< std::string,DataColumn * > *) 0 ;
97150  void *argp1 = 0 ;
97151  int res1 = 0 ;
97152  PyObject * obj0 = 0 ;
97153 
97154  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_DataColumn_RemoveAll",&obj0)) SWIG_fail;
97155  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_DataColumn_p_t, 0 | 0 );
97156  if (!SWIG_IsOK(res1)) {
97157  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_DataColumn_RemoveAll" "', argument " "1"" of type '" "CStdMap< std::string,DataColumn * > *""'");
97158  }
97159  arg1 = reinterpret_cast< CStdMap< std::string,DataColumn * > * >(argp1);
97160  (arg1)->RemoveAll();
97161  resultobj = SWIG_Py_Void();
97162  return resultobj;
97163 fail:
97164  return NULL;
97165 }
97166 
97167 
97168 SWIGINTERN PyObject *_wrap_CStdMap_string_DataColumn_RemoveAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97169  PyObject *resultobj = 0;
97170  CStdMap< std::string,DataColumn * > *arg1 = (CStdMap< std::string,DataColumn * > *) 0 ;
97171  std::map< std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::iterator arg2 ;
97172  void *argp1 = 0 ;
97173  int res1 = 0 ;
97174  swig::SwigPyIterator *iter2 = 0 ;
97175  int res2 ;
97176  PyObject * obj0 = 0 ;
97177  PyObject * obj1 = 0 ;
97178 
97179  if (!PyArg_ParseTuple(args,(char *)"OO:CStdMap_string_DataColumn_RemoveAt",&obj0,&obj1)) SWIG_fail;
97180  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_DataColumn_p_t, 0 | 0 );
97181  if (!SWIG_IsOK(res1)) {
97182  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_DataColumn_RemoveAt" "', argument " "1"" of type '" "CStdMap< std::string,DataColumn * > *""'");
97183  }
97184  arg1 = reinterpret_cast< CStdMap< std::string,DataColumn * > * >(argp1);
97185  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
97186  if (!SWIG_IsOK(res2) || !iter2) {
97187  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdMap_string_DataColumn_RemoveAt" "', argument " "2"" of type '" "std::map< std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::iterator""'");
97188  } else {
97189  swig::SwigPyIterator_T<std::map< std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::iterator > *>(iter2);
97190  if (iter_t) {
97191  arg2 = iter_t->get_current();
97192  } else {
97193  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdMap_string_DataColumn_RemoveAt" "', argument " "2"" of type '" "std::map< std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > >::iterator""'");
97194  }
97195  }
97196  (arg1)->RemoveAt(arg2);
97197  resultobj = SWIG_Py_Void();
97198  return resultobj;
97199 fail:
97200  return NULL;
97201 }
97202 
97203 
97204 SWIGINTERN PyObject *_wrap_CStdMap_string_DataColumn_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97205  PyObject *resultobj = 0;
97206  CStdMap< std::string,DataColumn * > *arg1 = (CStdMap< std::string,DataColumn * > *) 0 ;
97207  std::string *arg2 = 0 ;
97208  void *argp1 = 0 ;
97209  int res1 = 0 ;
97210  int res2 = SWIG_OLDOBJ ;
97211  PyObject * obj0 = 0 ;
97212  PyObject * obj1 = 0 ;
97213 
97214  if (!PyArg_ParseTuple(args,(char *)"OO:CStdMap_string_DataColumn_Remove",&obj0,&obj1)) SWIG_fail;
97215  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_DataColumn_p_t, 0 | 0 );
97216  if (!SWIG_IsOK(res1)) {
97217  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_DataColumn_Remove" "', argument " "1"" of type '" "CStdMap< std::string,DataColumn * > *""'");
97218  }
97219  arg1 = reinterpret_cast< CStdMap< std::string,DataColumn * > * >(argp1);
97220  {
97221  std::string *ptr = (std::string *)0;
97222  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
97223  if (!SWIG_IsOK(res2)) {
97224  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdMap_string_DataColumn_Remove" "', argument " "2"" of type '" "std::string const &""'");
97225  }
97226  if (!ptr) {
97227  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdMap_string_DataColumn_Remove" "', argument " "2"" of type '" "std::string const &""'");
97228  }
97229  arg2 = ptr;
97230  }
97231  (arg1)->Remove((std::string const &)*arg2);
97232  resultobj = SWIG_Py_Void();
97233  if (SWIG_IsNewObj(res2)) delete arg2;
97234  return resultobj;
97235 fail:
97236  if (SWIG_IsNewObj(res2)) delete arg2;
97237  return NULL;
97238 }
97239 
97240 
97241 SWIGINTERN PyObject *_wrap_CStdMap_string_DataColumn_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97242  PyObject *resultobj = 0;
97243  CStdMap< std::string,DataColumn * > *arg1 = (CStdMap< std::string,DataColumn * > *) 0 ;
97244  void *argp1 = 0 ;
97245  int res1 = 0 ;
97246  PyObject * obj0 = 0 ;
97247  int result;
97248 
97249  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_DataColumn_GetSize",&obj0)) SWIG_fail;
97250  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_DataColumn_p_t, 0 | 0 );
97251  if (!SWIG_IsOK(res1)) {
97252  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_DataColumn_GetSize" "', argument " "1"" of type '" "CStdMap< std::string,DataColumn * > *""'");
97253  }
97254  arg1 = reinterpret_cast< CStdMap< std::string,DataColumn * > * >(argp1);
97255  result = (int)(arg1)->GetSize();
97256  resultobj = SWIG_From_int(static_cast< int >(result));
97257  return resultobj;
97258 fail:
97259  return NULL;
97260 }
97261 
97262 
97263 SWIGINTERN PyObject *_wrap_CStdMap_string_DataColumn_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97264  PyObject *resultobj = 0;
97265  CStdMap< std::string,DataColumn * > *arg1 = (CStdMap< std::string,DataColumn * > *) 0 ;
97266  void *argp1 = 0 ;
97267  int res1 = 0 ;
97268  PyObject * obj0 = 0 ;
97269 
97270  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_DataColumn_Clear",&obj0)) SWIG_fail;
97271  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_DataColumn_p_t, 0 | 0 );
97272  if (!SWIG_IsOK(res1)) {
97273  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_DataColumn_Clear" "', argument " "1"" of type '" "CStdMap< std::string,DataColumn * > *""'");
97274  }
97275  arg1 = reinterpret_cast< CStdMap< std::string,DataColumn * > * >(argp1);
97276  (arg1)->Clear();
97277  resultobj = SWIG_Py_Void();
97278  return resultobj;
97279 fail:
97280  return NULL;
97281 }
97282 
97283 
97284 SWIGINTERN PyObject *_wrap_new_CStdMap_string_DataColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97285  PyObject *resultobj = 0;
97286  CStdMap< std::string,DataColumn * > *result = 0 ;
97287 
97288  if (!PyArg_ParseTuple(args,(char *)":new_CStdMap_string_DataColumn")) SWIG_fail;
97289  {
97290  try {
97291  result = (CStdMap< std::string,DataColumn * > *)new CStdMap< std::string,DataColumn * >();
97292  }
97293  catch(CStdErrorInfo oError)
97294  {
97295  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
97296  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
97297  PyErr_SetString(PyExc_IndexError, strError.c_str());
97298  SWIG_fail;
97299  }
97300  catch(...)
97301  {
97302  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
97303  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
97304  SWIG_fail;
97305  }
97306  }
97307  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdMapT_std__string_DataColumn_p_t, SWIG_POINTER_NEW | 0 );
97308  return resultobj;
97309 fail:
97310  return NULL;
97311 }
97312 
97313 
97314 SWIGINTERN PyObject *CStdMap_string_DataColumn_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97315  PyObject *obj;
97316  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
97317  SWIG_TypeNewClientData(SWIGTYPE_p_CStdMapT_std__string_DataColumn_p_t, SWIG_NewClientData(obj));
97318  return SWIG_Py_Void();
97319 }
97320 
97321 SWIGINTERN PyObject *_wrap_delete_CStdMap_string_Odor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97322  PyObject *resultobj = 0;
97323  CStdMap< std::string,Odor * > *arg1 = (CStdMap< std::string,Odor * > *) 0 ;
97324  void *argp1 = 0 ;
97325  int res1 = 0 ;
97326  PyObject * obj0 = 0 ;
97327 
97328  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdMap_string_Odor",&obj0)) SWIG_fail;
97329  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Odor_p_t, SWIG_POINTER_DISOWN | 0 );
97330  if (!SWIG_IsOK(res1)) {
97331  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdMap_string_Odor" "', argument " "1"" of type '" "CStdMap< std::string,Odor * > *""'");
97332  }
97333  arg1 = reinterpret_cast< CStdMap< std::string,Odor * > * >(argp1);
97334  delete arg1;
97335  resultobj = SWIG_Py_Void();
97336  return resultobj;
97337 fail:
97338  return NULL;
97339 }
97340 
97341 
97342 SWIGINTERN PyObject *_wrap_CStdMap_string_Odor_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97343  PyObject *resultobj = 0;
97344  CStdMap< std::string,Odor * > *arg1 = (CStdMap< std::string,Odor * > *) 0 ;
97345  std::string arg2 ;
97346  Odor *arg3 = (Odor *) 0 ;
97347  void *argp1 = 0 ;
97348  int res1 = 0 ;
97349  void *argp3 = 0 ;
97350  int res3 = 0 ;
97351  PyObject * obj0 = 0 ;
97352  PyObject * obj1 = 0 ;
97353  PyObject * obj2 = 0 ;
97354 
97355  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdMap_string_Odor_Add",&obj0,&obj1,&obj2)) SWIG_fail;
97356  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Odor_p_t, 0 | 0 );
97357  if (!SWIG_IsOK(res1)) {
97358  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Odor_Add" "', argument " "1"" of type '" "CStdMap< std::string,Odor * > *""'");
97359  }
97360  arg1 = reinterpret_cast< CStdMap< std::string,Odor * > * >(argp1);
97361  {
97362  std::string *ptr = (std::string *)0;
97363  int res = SWIG_AsPtr_std_string(obj1, &ptr);
97364  if (!SWIG_IsOK(res) || !ptr) {
97365  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdMap_string_Odor_Add" "', argument " "2"" of type '" "std::string""'");
97366  }
97367  arg2 = *ptr;
97368  if (SWIG_IsNewObj(res)) delete ptr;
97369  }
97370  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Odor, 0 | 0 );
97371  if (!SWIG_IsOK(res3)) {
97372  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdMap_string_Odor_Add" "', argument " "3"" of type '" "Odor *""'");
97373  }
97374  arg3 = reinterpret_cast< Odor * >(argp3);
97375  (arg1)->Add(arg2,arg3);
97376  resultobj = SWIG_Py_Void();
97377  return resultobj;
97378 fail:
97379  return NULL;
97380 }
97381 
97382 
97383 SWIGINTERN PyObject *_wrap_CStdMap_string_Odor_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97384  PyObject *resultobj = 0;
97385  CStdMap< std::string,Odor * > *arg1 = (CStdMap< std::string,Odor * > *) 0 ;
97386  void *argp1 = 0 ;
97387  int res1 = 0 ;
97388  PyObject * obj0 = 0 ;
97389 
97390  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_Odor_RemoveAll",&obj0)) SWIG_fail;
97391  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Odor_p_t, 0 | 0 );
97392  if (!SWIG_IsOK(res1)) {
97393  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Odor_RemoveAll" "', argument " "1"" of type '" "CStdMap< std::string,Odor * > *""'");
97394  }
97395  arg1 = reinterpret_cast< CStdMap< std::string,Odor * > * >(argp1);
97396  (arg1)->RemoveAll();
97397  resultobj = SWIG_Py_Void();
97398  return resultobj;
97399 fail:
97400  return NULL;
97401 }
97402 
97403 
97404 SWIGINTERN PyObject *_wrap_CStdMap_string_Odor_RemoveAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97405  PyObject *resultobj = 0;
97406  CStdMap< std::string,Odor * > *arg1 = (CStdMap< std::string,Odor * > *) 0 ;
97407  std::map< std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::iterator arg2 ;
97408  void *argp1 = 0 ;
97409  int res1 = 0 ;
97410  swig::SwigPyIterator *iter2 = 0 ;
97411  int res2 ;
97412  PyObject * obj0 = 0 ;
97413  PyObject * obj1 = 0 ;
97414 
97415  if (!PyArg_ParseTuple(args,(char *)"OO:CStdMap_string_Odor_RemoveAt",&obj0,&obj1)) SWIG_fail;
97416  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Odor_p_t, 0 | 0 );
97417  if (!SWIG_IsOK(res1)) {
97418  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Odor_RemoveAt" "', argument " "1"" of type '" "CStdMap< std::string,Odor * > *""'");
97419  }
97420  arg1 = reinterpret_cast< CStdMap< std::string,Odor * > * >(argp1);
97421  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
97422  if (!SWIG_IsOK(res2) || !iter2) {
97423  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdMap_string_Odor_RemoveAt" "', argument " "2"" of type '" "std::map< std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::iterator""'");
97424  } else {
97425  swig::SwigPyIterator_T<std::map< std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::iterator > *>(iter2);
97426  if (iter_t) {
97427  arg2 = iter_t->get_current();
97428  } else {
97429  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdMap_string_Odor_RemoveAt" "', argument " "2"" of type '" "std::map< std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::iterator""'");
97430  }
97431  }
97432  (arg1)->RemoveAt(arg2);
97433  resultobj = SWIG_Py_Void();
97434  return resultobj;
97435 fail:
97436  return NULL;
97437 }
97438 
97439 
97440 SWIGINTERN PyObject *_wrap_CStdMap_string_Odor_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97441  PyObject *resultobj = 0;
97442  CStdMap< std::string,Odor * > *arg1 = (CStdMap< std::string,Odor * > *) 0 ;
97443  std::string *arg2 = 0 ;
97444  void *argp1 = 0 ;
97445  int res1 = 0 ;
97446  int res2 = SWIG_OLDOBJ ;
97447  PyObject * obj0 = 0 ;
97448  PyObject * obj1 = 0 ;
97449 
97450  if (!PyArg_ParseTuple(args,(char *)"OO:CStdMap_string_Odor_Remove",&obj0,&obj1)) SWIG_fail;
97451  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Odor_p_t, 0 | 0 );
97452  if (!SWIG_IsOK(res1)) {
97453  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Odor_Remove" "', argument " "1"" of type '" "CStdMap< std::string,Odor * > *""'");
97454  }
97455  arg1 = reinterpret_cast< CStdMap< std::string,Odor * > * >(argp1);
97456  {
97457  std::string *ptr = (std::string *)0;
97458  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
97459  if (!SWIG_IsOK(res2)) {
97460  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdMap_string_Odor_Remove" "', argument " "2"" of type '" "std::string const &""'");
97461  }
97462  if (!ptr) {
97463  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdMap_string_Odor_Remove" "', argument " "2"" of type '" "std::string const &""'");
97464  }
97465  arg2 = ptr;
97466  }
97467  (arg1)->Remove((std::string const &)*arg2);
97468  resultobj = SWIG_Py_Void();
97469  if (SWIG_IsNewObj(res2)) delete arg2;
97470  return resultobj;
97471 fail:
97472  if (SWIG_IsNewObj(res2)) delete arg2;
97473  return NULL;
97474 }
97475 
97476 
97477 SWIGINTERN PyObject *_wrap_CStdMap_string_Odor_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97478  PyObject *resultobj = 0;
97479  CStdMap< std::string,Odor * > *arg1 = (CStdMap< std::string,Odor * > *) 0 ;
97480  void *argp1 = 0 ;
97481  int res1 = 0 ;
97482  PyObject * obj0 = 0 ;
97483  int result;
97484 
97485  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_Odor_GetSize",&obj0)) SWIG_fail;
97486  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Odor_p_t, 0 | 0 );
97487  if (!SWIG_IsOK(res1)) {
97488  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Odor_GetSize" "', argument " "1"" of type '" "CStdMap< std::string,Odor * > *""'");
97489  }
97490  arg1 = reinterpret_cast< CStdMap< std::string,Odor * > * >(argp1);
97491  result = (int)(arg1)->GetSize();
97492  resultobj = SWIG_From_int(static_cast< int >(result));
97493  return resultobj;
97494 fail:
97495  return NULL;
97496 }
97497 
97498 
97499 SWIGINTERN PyObject *_wrap_CStdMap_string_Odor_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97500  PyObject *resultobj = 0;
97501  CStdMap< std::string,Odor * > *arg1 = (CStdMap< std::string,Odor * > *) 0 ;
97502  void *argp1 = 0 ;
97503  int res1 = 0 ;
97504  PyObject * obj0 = 0 ;
97505 
97506  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_Odor_Clear",&obj0)) SWIG_fail;
97507  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Odor_p_t, 0 | 0 );
97508  if (!SWIG_IsOK(res1)) {
97509  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Odor_Clear" "', argument " "1"" of type '" "CStdMap< std::string,Odor * > *""'");
97510  }
97511  arg1 = reinterpret_cast< CStdMap< std::string,Odor * > * >(argp1);
97512  (arg1)->Clear();
97513  resultobj = SWIG_Py_Void();
97514  return resultobj;
97515 fail:
97516  return NULL;
97517 }
97518 
97519 
97520 SWIGINTERN PyObject *_wrap_new_CStdMap_string_Odor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97521  PyObject *resultobj = 0;
97522  CStdMap< std::string,Odor * > *result = 0 ;
97523 
97524  if (!PyArg_ParseTuple(args,(char *)":new_CStdMap_string_Odor")) SWIG_fail;
97525  {
97526  try {
97527  result = (CStdMap< std::string,Odor * > *)new CStdMap< std::string,Odor * >();
97528  }
97529  catch(CStdErrorInfo oError)
97530  {
97531  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
97532  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
97533  PyErr_SetString(PyExc_IndexError, strError.c_str());
97534  SWIG_fail;
97535  }
97536  catch(...)
97537  {
97538  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
97539  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
97540  SWIG_fail;
97541  }
97542  }
97543  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdMapT_std__string_Odor_p_t, SWIG_POINTER_NEW | 0 );
97544  return resultobj;
97545 fail:
97546  return NULL;
97547 }
97548 
97549 
97550 SWIGINTERN PyObject *CStdMap_string_Odor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97551  PyObject *obj;
97552  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
97553  SWIG_TypeNewClientData(SWIGTYPE_p_CStdMapT_std__string_Odor_p_t, SWIG_NewClientData(obj));
97554  return SWIG_Py_Void();
97555 }
97556 
97557 SWIGINTERN PyObject *_wrap_delete_CStdMap_string_Structure(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97558  PyObject *resultobj = 0;
97559  CStdMap< std::string,Structure * > *arg1 = (CStdMap< std::string,Structure * > *) 0 ;
97560  void *argp1 = 0 ;
97561  int res1 = 0 ;
97562  PyObject * obj0 = 0 ;
97563 
97564  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdMap_string_Structure",&obj0)) SWIG_fail;
97565  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Structure_p_t, SWIG_POINTER_DISOWN | 0 );
97566  if (!SWIG_IsOK(res1)) {
97567  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdMap_string_Structure" "', argument " "1"" of type '" "CStdMap< std::string,Structure * > *""'");
97568  }
97569  arg1 = reinterpret_cast< CStdMap< std::string,Structure * > * >(argp1);
97570  delete arg1;
97571  resultobj = SWIG_Py_Void();
97572  return resultobj;
97573 fail:
97574  return NULL;
97575 }
97576 
97577 
97578 SWIGINTERN PyObject *_wrap_CStdMap_string_Structure_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97579  PyObject *resultobj = 0;
97580  CStdMap< std::string,Structure * > *arg1 = (CStdMap< std::string,Structure * > *) 0 ;
97581  std::string arg2 ;
97582  Structure *arg3 = (Structure *) 0 ;
97583  void *argp1 = 0 ;
97584  int res1 = 0 ;
97585  void *argp3 = 0 ;
97586  int res3 = 0 ;
97587  PyObject * obj0 = 0 ;
97588  PyObject * obj1 = 0 ;
97589  PyObject * obj2 = 0 ;
97590 
97591  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdMap_string_Structure_Add",&obj0,&obj1,&obj2)) SWIG_fail;
97592  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Structure_p_t, 0 | 0 );
97593  if (!SWIG_IsOK(res1)) {
97594  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Structure_Add" "', argument " "1"" of type '" "CStdMap< std::string,Structure * > *""'");
97595  }
97596  arg1 = reinterpret_cast< CStdMap< std::string,Structure * > * >(argp1);
97597  {
97598  std::string *ptr = (std::string *)0;
97599  int res = SWIG_AsPtr_std_string(obj1, &ptr);
97600  if (!SWIG_IsOK(res) || !ptr) {
97601  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdMap_string_Structure_Add" "', argument " "2"" of type '" "std::string""'");
97602  }
97603  arg2 = *ptr;
97604  if (SWIG_IsNewObj(res)) delete ptr;
97605  }
97606  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Structure, 0 | 0 );
97607  if (!SWIG_IsOK(res3)) {
97608  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdMap_string_Structure_Add" "', argument " "3"" of type '" "Structure *""'");
97609  }
97610  arg3 = reinterpret_cast< Structure * >(argp3);
97611  (arg1)->Add(arg2,arg3);
97612  resultobj = SWIG_Py_Void();
97613  return resultobj;
97614 fail:
97615  return NULL;
97616 }
97617 
97618 
97619 SWIGINTERN PyObject *_wrap_CStdMap_string_Structure_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97620  PyObject *resultobj = 0;
97621  CStdMap< std::string,Structure * > *arg1 = (CStdMap< std::string,Structure * > *) 0 ;
97622  void *argp1 = 0 ;
97623  int res1 = 0 ;
97624  PyObject * obj0 = 0 ;
97625 
97626  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_Structure_RemoveAll",&obj0)) SWIG_fail;
97627  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Structure_p_t, 0 | 0 );
97628  if (!SWIG_IsOK(res1)) {
97629  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Structure_RemoveAll" "', argument " "1"" of type '" "CStdMap< std::string,Structure * > *""'");
97630  }
97631  arg1 = reinterpret_cast< CStdMap< std::string,Structure * > * >(argp1);
97632  (arg1)->RemoveAll();
97633  resultobj = SWIG_Py_Void();
97634  return resultobj;
97635 fail:
97636  return NULL;
97637 }
97638 
97639 
97640 SWIGINTERN PyObject *_wrap_CStdMap_string_Structure_RemoveAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97641  PyObject *resultobj = 0;
97642  CStdMap< std::string,Structure * > *arg1 = (CStdMap< std::string,Structure * > *) 0 ;
97643  std::map< std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::iterator arg2 ;
97644  void *argp1 = 0 ;
97645  int res1 = 0 ;
97646  swig::SwigPyIterator *iter2 = 0 ;
97647  int res2 ;
97648  PyObject * obj0 = 0 ;
97649  PyObject * obj1 = 0 ;
97650 
97651  if (!PyArg_ParseTuple(args,(char *)"OO:CStdMap_string_Structure_RemoveAt",&obj0,&obj1)) SWIG_fail;
97652  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Structure_p_t, 0 | 0 );
97653  if (!SWIG_IsOK(res1)) {
97654  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Structure_RemoveAt" "', argument " "1"" of type '" "CStdMap< std::string,Structure * > *""'");
97655  }
97656  arg1 = reinterpret_cast< CStdMap< std::string,Structure * > * >(argp1);
97657  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
97658  if (!SWIG_IsOK(res2) || !iter2) {
97659  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdMap_string_Structure_RemoveAt" "', argument " "2"" of type '" "std::map< std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::iterator""'");
97660  } else {
97661  swig::SwigPyIterator_T<std::map< std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::iterator > *>(iter2);
97662  if (iter_t) {
97663  arg2 = iter_t->get_current();
97664  } else {
97665  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdMap_string_Structure_RemoveAt" "', argument " "2"" of type '" "std::map< std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::iterator""'");
97666  }
97667  }
97668  (arg1)->RemoveAt(arg2);
97669  resultobj = SWIG_Py_Void();
97670  return resultobj;
97671 fail:
97672  return NULL;
97673 }
97674 
97675 
97676 SWIGINTERN PyObject *_wrap_CStdMap_string_Structure_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97677  PyObject *resultobj = 0;
97678  CStdMap< std::string,Structure * > *arg1 = (CStdMap< std::string,Structure * > *) 0 ;
97679  std::string *arg2 = 0 ;
97680  void *argp1 = 0 ;
97681  int res1 = 0 ;
97682  int res2 = SWIG_OLDOBJ ;
97683  PyObject * obj0 = 0 ;
97684  PyObject * obj1 = 0 ;
97685 
97686  if (!PyArg_ParseTuple(args,(char *)"OO:CStdMap_string_Structure_Remove",&obj0,&obj1)) SWIG_fail;
97687  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Structure_p_t, 0 | 0 );
97688  if (!SWIG_IsOK(res1)) {
97689  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Structure_Remove" "', argument " "1"" of type '" "CStdMap< std::string,Structure * > *""'");
97690  }
97691  arg1 = reinterpret_cast< CStdMap< std::string,Structure * > * >(argp1);
97692  {
97693  std::string *ptr = (std::string *)0;
97694  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
97695  if (!SWIG_IsOK(res2)) {
97696  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdMap_string_Structure_Remove" "', argument " "2"" of type '" "std::string const &""'");
97697  }
97698  if (!ptr) {
97699  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdMap_string_Structure_Remove" "', argument " "2"" of type '" "std::string const &""'");
97700  }
97701  arg2 = ptr;
97702  }
97703  (arg1)->Remove((std::string const &)*arg2);
97704  resultobj = SWIG_Py_Void();
97705  if (SWIG_IsNewObj(res2)) delete arg2;
97706  return resultobj;
97707 fail:
97708  if (SWIG_IsNewObj(res2)) delete arg2;
97709  return NULL;
97710 }
97711 
97712 
97713 SWIGINTERN PyObject *_wrap_CStdMap_string_Structure_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97714  PyObject *resultobj = 0;
97715  CStdMap< std::string,Structure * > *arg1 = (CStdMap< std::string,Structure * > *) 0 ;
97716  void *argp1 = 0 ;
97717  int res1 = 0 ;
97718  PyObject * obj0 = 0 ;
97719  int result;
97720 
97721  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_Structure_GetSize",&obj0)) SWIG_fail;
97722  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Structure_p_t, 0 | 0 );
97723  if (!SWIG_IsOK(res1)) {
97724  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Structure_GetSize" "', argument " "1"" of type '" "CStdMap< std::string,Structure * > *""'");
97725  }
97726  arg1 = reinterpret_cast< CStdMap< std::string,Structure * > * >(argp1);
97727  result = (int)(arg1)->GetSize();
97728  resultobj = SWIG_From_int(static_cast< int >(result));
97729  return resultobj;
97730 fail:
97731  return NULL;
97732 }
97733 
97734 
97735 SWIGINTERN PyObject *_wrap_CStdMap_string_Structure_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97736  PyObject *resultobj = 0;
97737  CStdMap< std::string,Structure * > *arg1 = (CStdMap< std::string,Structure * > *) 0 ;
97738  void *argp1 = 0 ;
97739  int res1 = 0 ;
97740  PyObject * obj0 = 0 ;
97741 
97742  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_Structure_Clear",&obj0)) SWIG_fail;
97743  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Structure_p_t, 0 | 0 );
97744  if (!SWIG_IsOK(res1)) {
97745  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Structure_Clear" "', argument " "1"" of type '" "CStdMap< std::string,Structure * > *""'");
97746  }
97747  arg1 = reinterpret_cast< CStdMap< std::string,Structure * > * >(argp1);
97748  (arg1)->Clear();
97749  resultobj = SWIG_Py_Void();
97750  return resultobj;
97751 fail:
97752  return NULL;
97753 }
97754 
97755 
97756 SWIGINTERN PyObject *_wrap_new_CStdMap_string_Structure(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97757  PyObject *resultobj = 0;
97758  CStdMap< std::string,Structure * > *result = 0 ;
97759 
97760  if (!PyArg_ParseTuple(args,(char *)":new_CStdMap_string_Structure")) SWIG_fail;
97761  {
97762  try {
97763  result = (CStdMap< std::string,Structure * > *)new CStdMap< std::string,Structure * >();
97764  }
97765  catch(CStdErrorInfo oError)
97766  {
97767  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
97768  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
97769  PyErr_SetString(PyExc_IndexError, strError.c_str());
97770  SWIG_fail;
97771  }
97772  catch(...)
97773  {
97774  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
97775  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
97776  SWIG_fail;
97777  }
97778  }
97779  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdMapT_std__string_Structure_p_t, SWIG_POINTER_NEW | 0 );
97780  return resultobj;
97781 fail:
97782  return NULL;
97783 }
97784 
97785 
97786 SWIGINTERN PyObject *CStdMap_string_Structure_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97787  PyObject *obj;
97788  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
97789  SWIG_TypeNewClientData(SWIGTYPE_p_CStdMapT_std__string_Structure_p_t, SWIG_NewClientData(obj));
97790  return SWIG_Py_Void();
97791 }
97792 
97793 SWIGINTERN PyObject *_wrap_delete_CStdMap_string_IStdClassFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97794  PyObject *resultobj = 0;
97795  CStdMap< std::string,IStdClassFactory * > *arg1 = (CStdMap< std::string,IStdClassFactory * > *) 0 ;
97796  void *argp1 = 0 ;
97797  int res1 = 0 ;
97798  PyObject * obj0 = 0 ;
97799 
97800  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdMap_string_IStdClassFactory",&obj0)) SWIG_fail;
97801  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t, SWIG_POINTER_DISOWN | 0 );
97802  if (!SWIG_IsOK(res1)) {
97803  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdMap_string_IStdClassFactory" "', argument " "1"" of type '" "CStdMap< std::string,IStdClassFactory * > *""'");
97804  }
97805  arg1 = reinterpret_cast< CStdMap< std::string,IStdClassFactory * > * >(argp1);
97806  delete arg1;
97807  resultobj = SWIG_Py_Void();
97808  return resultobj;
97809 fail:
97810  return NULL;
97811 }
97812 
97813 
97814 SWIGINTERN PyObject *_wrap_CStdMap_string_IStdClassFactory_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97815  PyObject *resultobj = 0;
97816  CStdMap< std::string,IStdClassFactory * > *arg1 = (CStdMap< std::string,IStdClassFactory * > *) 0 ;
97817  std::string arg2 ;
97818  IStdClassFactory *arg3 = (IStdClassFactory *) 0 ;
97819  void *argp1 = 0 ;
97820  int res1 = 0 ;
97821  void *argp3 = 0 ;
97822  int res3 = 0 ;
97823  PyObject * obj0 = 0 ;
97824  PyObject * obj1 = 0 ;
97825  PyObject * obj2 = 0 ;
97826 
97827  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdMap_string_IStdClassFactory_Add",&obj0,&obj1,&obj2)) SWIG_fail;
97828  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t, 0 | 0 );
97829  if (!SWIG_IsOK(res1)) {
97830  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_IStdClassFactory_Add" "', argument " "1"" of type '" "CStdMap< std::string,IStdClassFactory * > *""'");
97831  }
97832  arg1 = reinterpret_cast< CStdMap< std::string,IStdClassFactory * > * >(argp1);
97833  {
97834  std::string *ptr = (std::string *)0;
97835  int res = SWIG_AsPtr_std_string(obj1, &ptr);
97836  if (!SWIG_IsOK(res) || !ptr) {
97837  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdMap_string_IStdClassFactory_Add" "', argument " "2"" of type '" "std::string""'");
97838  }
97839  arg2 = *ptr;
97840  if (SWIG_IsNewObj(res)) delete ptr;
97841  }
97842  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_StdUtils__IStdClassFactory, 0 | 0 );
97843  if (!SWIG_IsOK(res3)) {
97844  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdMap_string_IStdClassFactory_Add" "', argument " "3"" of type '" "IStdClassFactory *""'");
97845  }
97846  arg3 = reinterpret_cast< IStdClassFactory * >(argp3);
97847  (arg1)->Add(arg2,arg3);
97848  resultobj = SWIG_Py_Void();
97849  return resultobj;
97850 fail:
97851  return NULL;
97852 }
97853 
97854 
97855 SWIGINTERN PyObject *_wrap_CStdMap_string_IStdClassFactory_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97856  PyObject *resultobj = 0;
97857  CStdMap< std::string,IStdClassFactory * > *arg1 = (CStdMap< std::string,IStdClassFactory * > *) 0 ;
97858  void *argp1 = 0 ;
97859  int res1 = 0 ;
97860  PyObject * obj0 = 0 ;
97861 
97862  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_IStdClassFactory_RemoveAll",&obj0)) SWIG_fail;
97863  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t, 0 | 0 );
97864  if (!SWIG_IsOK(res1)) {
97865  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_IStdClassFactory_RemoveAll" "', argument " "1"" of type '" "CStdMap< std::string,IStdClassFactory * > *""'");
97866  }
97867  arg1 = reinterpret_cast< CStdMap< std::string,IStdClassFactory * > * >(argp1);
97868  (arg1)->RemoveAll();
97869  resultobj = SWIG_Py_Void();
97870  return resultobj;
97871 fail:
97872  return NULL;
97873 }
97874 
97875 
97876 SWIGINTERN PyObject *_wrap_CStdMap_string_IStdClassFactory_RemoveAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97877  PyObject *resultobj = 0;
97878  CStdMap< std::string,IStdClassFactory * > *arg1 = (CStdMap< std::string,IStdClassFactory * > *) 0 ;
97879  SwigValueWrapper< std::map< std::string,StdUtils::IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,StdUtils::IStdClassFactory * > > >::iterator > arg2 ;
97880  void *argp1 = 0 ;
97881  int res1 = 0 ;
97882  swig::SwigPyIterator *iter2 = 0 ;
97883  int res2 ;
97884  PyObject * obj0 = 0 ;
97885  PyObject * obj1 = 0 ;
97886 
97887  if (!PyArg_ParseTuple(args,(char *)"OO:CStdMap_string_IStdClassFactory_RemoveAt",&obj0,&obj1)) SWIG_fail;
97888  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t, 0 | 0 );
97889  if (!SWIG_IsOK(res1)) {
97890  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_IStdClassFactory_RemoveAt" "', argument " "1"" of type '" "CStdMap< std::string,IStdClassFactory * > *""'");
97891  }
97892  arg1 = reinterpret_cast< CStdMap< std::string,IStdClassFactory * > * >(argp1);
97893  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
97894  if (!SWIG_IsOK(res2) || !iter2) {
97895  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdMap_string_IStdClassFactory_RemoveAt" "', argument " "2"" of type '" "std::map< std::string,StdUtils::IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,StdUtils::IStdClassFactory * > > >::iterator""'");
97896  } else {
97897  swig::SwigPyIterator_T<std::map< std::string,StdUtils::IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,StdUtils::IStdClassFactory * > > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,StdUtils::IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,StdUtils::IStdClassFactory * > > >::iterator > *>(iter2);
97898  if (iter_t) {
97899  arg2 = iter_t->get_current();
97900  } else {
97901  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdMap_string_IStdClassFactory_RemoveAt" "', argument " "2"" of type '" "std::map< std::string,StdUtils::IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,StdUtils::IStdClassFactory * > > >::iterator""'");
97902  }
97903  }
97904  (arg1)->RemoveAt(arg2);
97905  resultobj = SWIG_Py_Void();
97906  return resultobj;
97907 fail:
97908  return NULL;
97909 }
97910 
97911 
97912 SWIGINTERN PyObject *_wrap_CStdMap_string_IStdClassFactory_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97913  PyObject *resultobj = 0;
97914  CStdMap< std::string,IStdClassFactory * > *arg1 = (CStdMap< std::string,IStdClassFactory * > *) 0 ;
97915  std::string *arg2 = 0 ;
97916  void *argp1 = 0 ;
97917  int res1 = 0 ;
97918  int res2 = SWIG_OLDOBJ ;
97919  PyObject * obj0 = 0 ;
97920  PyObject * obj1 = 0 ;
97921 
97922  if (!PyArg_ParseTuple(args,(char *)"OO:CStdMap_string_IStdClassFactory_Remove",&obj0,&obj1)) SWIG_fail;
97923  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t, 0 | 0 );
97924  if (!SWIG_IsOK(res1)) {
97925  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_IStdClassFactory_Remove" "', argument " "1"" of type '" "CStdMap< std::string,IStdClassFactory * > *""'");
97926  }
97927  arg1 = reinterpret_cast< CStdMap< std::string,IStdClassFactory * > * >(argp1);
97928  {
97929  std::string *ptr = (std::string *)0;
97930  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
97931  if (!SWIG_IsOK(res2)) {
97932  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdMap_string_IStdClassFactory_Remove" "', argument " "2"" of type '" "std::string const &""'");
97933  }
97934  if (!ptr) {
97935  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdMap_string_IStdClassFactory_Remove" "', argument " "2"" of type '" "std::string const &""'");
97936  }
97937  arg2 = ptr;
97938  }
97939  (arg1)->Remove((std::string const &)*arg2);
97940  resultobj = SWIG_Py_Void();
97941  if (SWIG_IsNewObj(res2)) delete arg2;
97942  return resultobj;
97943 fail:
97944  if (SWIG_IsNewObj(res2)) delete arg2;
97945  return NULL;
97946 }
97947 
97948 
97949 SWIGINTERN PyObject *_wrap_CStdMap_string_IStdClassFactory_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97950  PyObject *resultobj = 0;
97951  CStdMap< std::string,IStdClassFactory * > *arg1 = (CStdMap< std::string,IStdClassFactory * > *) 0 ;
97952  void *argp1 = 0 ;
97953  int res1 = 0 ;
97954  PyObject * obj0 = 0 ;
97955  int result;
97956 
97957  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_IStdClassFactory_GetSize",&obj0)) SWIG_fail;
97958  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t, 0 | 0 );
97959  if (!SWIG_IsOK(res1)) {
97960  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_IStdClassFactory_GetSize" "', argument " "1"" of type '" "CStdMap< std::string,IStdClassFactory * > *""'");
97961  }
97962  arg1 = reinterpret_cast< CStdMap< std::string,IStdClassFactory * > * >(argp1);
97963  result = (int)(arg1)->GetSize();
97964  resultobj = SWIG_From_int(static_cast< int >(result));
97965  return resultobj;
97966 fail:
97967  return NULL;
97968 }
97969 
97970 
97971 SWIGINTERN PyObject *_wrap_CStdMap_string_IStdClassFactory_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97972  PyObject *resultobj = 0;
97973  CStdMap< std::string,IStdClassFactory * > *arg1 = (CStdMap< std::string,IStdClassFactory * > *) 0 ;
97974  void *argp1 = 0 ;
97975  int res1 = 0 ;
97976  PyObject * obj0 = 0 ;
97977 
97978  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_IStdClassFactory_Clear",&obj0)) SWIG_fail;
97979  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t, 0 | 0 );
97980  if (!SWIG_IsOK(res1)) {
97981  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_IStdClassFactory_Clear" "', argument " "1"" of type '" "CStdMap< std::string,IStdClassFactory * > *""'");
97982  }
97983  arg1 = reinterpret_cast< CStdMap< std::string,IStdClassFactory * > * >(argp1);
97984  (arg1)->Clear();
97985  resultobj = SWIG_Py_Void();
97986  return resultobj;
97987 fail:
97988  return NULL;
97989 }
97990 
97991 
97992 SWIGINTERN PyObject *_wrap_new_CStdMap_string_IStdClassFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
97993  PyObject *resultobj = 0;
97994  CStdMap< std::string,IStdClassFactory * > *result = 0 ;
97995 
97996  if (!PyArg_ParseTuple(args,(char *)":new_CStdMap_string_IStdClassFactory")) SWIG_fail;
97997  {
97998  try {
97999  result = (CStdMap< std::string,IStdClassFactory * > *)new CStdMap< std::string,IStdClassFactory * >();
98000  }
98001  catch(CStdErrorInfo oError)
98002  {
98003  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
98004  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
98005  PyErr_SetString(PyExc_IndexError, strError.c_str());
98006  SWIG_fail;
98007  }
98008  catch(...)
98009  {
98010  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
98011  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
98012  SWIG_fail;
98013  }
98014  }
98015  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t, SWIG_POINTER_NEW | 0 );
98016  return resultobj;
98017 fail:
98018  return NULL;
98019 }
98020 
98021 
98022 SWIGINTERN PyObject *CStdMap_string_IStdClassFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98023  PyObject *obj;
98024  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
98025  SWIG_TypeNewClientData(SWIGTYPE_p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t, SWIG_NewClientData(obj));
98026  return SWIG_Py_Void();
98027 }
98028 
98029 SWIGINTERN PyObject *_wrap_delete_CStdMap_string_AnimatBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98030  PyObject *resultobj = 0;
98031  CStdMap< std::string,AnimatBase * > *arg1 = (CStdMap< std::string,AnimatBase * > *) 0 ;
98032  void *argp1 = 0 ;
98033  int res1 = 0 ;
98034  PyObject * obj0 = 0 ;
98035 
98036  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdMap_string_AnimatBase",&obj0)) SWIG_fail;
98037  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_AnimatBase_p_t, SWIG_POINTER_DISOWN | 0 );
98038  if (!SWIG_IsOK(res1)) {
98039  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdMap_string_AnimatBase" "', argument " "1"" of type '" "CStdMap< std::string,AnimatBase * > *""'");
98040  }
98041  arg1 = reinterpret_cast< CStdMap< std::string,AnimatBase * > * >(argp1);
98042  delete arg1;
98043  resultobj = SWIG_Py_Void();
98044  return resultobj;
98045 fail:
98046  return NULL;
98047 }
98048 
98049 
98050 SWIGINTERN PyObject *_wrap_CStdMap_string_AnimatBase_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98051  PyObject *resultobj = 0;
98052  CStdMap< std::string,AnimatBase * > *arg1 = (CStdMap< std::string,AnimatBase * > *) 0 ;
98053  std::string arg2 ;
98054  AnimatBase *arg3 = (AnimatBase *) 0 ;
98055  void *argp1 = 0 ;
98056  int res1 = 0 ;
98057  void *argp3 = 0 ;
98058  int res3 = 0 ;
98059  PyObject * obj0 = 0 ;
98060  PyObject * obj1 = 0 ;
98061  PyObject * obj2 = 0 ;
98062 
98063  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdMap_string_AnimatBase_Add",&obj0,&obj1,&obj2)) SWIG_fail;
98064  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_AnimatBase_p_t, 0 | 0 );
98065  if (!SWIG_IsOK(res1)) {
98066  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_AnimatBase_Add" "', argument " "1"" of type '" "CStdMap< std::string,AnimatBase * > *""'");
98067  }
98068  arg1 = reinterpret_cast< CStdMap< std::string,AnimatBase * > * >(argp1);
98069  {
98070  std::string *ptr = (std::string *)0;
98071  int res = SWIG_AsPtr_std_string(obj1, &ptr);
98072  if (!SWIG_IsOK(res) || !ptr) {
98073  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdMap_string_AnimatBase_Add" "', argument " "2"" of type '" "std::string""'");
98074  }
98075  arg2 = *ptr;
98076  if (SWIG_IsNewObj(res)) delete ptr;
98077  }
98078  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_AnimatBase, 0 | 0 );
98079  if (!SWIG_IsOK(res3)) {
98080  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdMap_string_AnimatBase_Add" "', argument " "3"" of type '" "AnimatBase *""'");
98081  }
98082  arg3 = reinterpret_cast< AnimatBase * >(argp3);
98083  (arg1)->Add(arg2,arg3);
98084  resultobj = SWIG_Py_Void();
98085  return resultobj;
98086 fail:
98087  return NULL;
98088 }
98089 
98090 
98091 SWIGINTERN PyObject *_wrap_CStdMap_string_AnimatBase_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98092  PyObject *resultobj = 0;
98093  CStdMap< std::string,AnimatBase * > *arg1 = (CStdMap< std::string,AnimatBase * > *) 0 ;
98094  void *argp1 = 0 ;
98095  int res1 = 0 ;
98096  PyObject * obj0 = 0 ;
98097 
98098  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_AnimatBase_RemoveAll",&obj0)) SWIG_fail;
98099  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_AnimatBase_p_t, 0 | 0 );
98100  if (!SWIG_IsOK(res1)) {
98101  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_AnimatBase_RemoveAll" "', argument " "1"" of type '" "CStdMap< std::string,AnimatBase * > *""'");
98102  }
98103  arg1 = reinterpret_cast< CStdMap< std::string,AnimatBase * > * >(argp1);
98104  (arg1)->RemoveAll();
98105  resultobj = SWIG_Py_Void();
98106  return resultobj;
98107 fail:
98108  return NULL;
98109 }
98110 
98111 
98112 SWIGINTERN PyObject *_wrap_CStdMap_string_AnimatBase_RemoveAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98113  PyObject *resultobj = 0;
98114  CStdMap< std::string,AnimatBase * > *arg1 = (CStdMap< std::string,AnimatBase * > *) 0 ;
98115  std::map< std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::iterator arg2 ;
98116  void *argp1 = 0 ;
98117  int res1 = 0 ;
98118  swig::SwigPyIterator *iter2 = 0 ;
98119  int res2 ;
98120  PyObject * obj0 = 0 ;
98121  PyObject * obj1 = 0 ;
98122 
98123  if (!PyArg_ParseTuple(args,(char *)"OO:CStdMap_string_AnimatBase_RemoveAt",&obj0,&obj1)) SWIG_fail;
98124  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_AnimatBase_p_t, 0 | 0 );
98125  if (!SWIG_IsOK(res1)) {
98126  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_AnimatBase_RemoveAt" "', argument " "1"" of type '" "CStdMap< std::string,AnimatBase * > *""'");
98127  }
98128  arg1 = reinterpret_cast< CStdMap< std::string,AnimatBase * > * >(argp1);
98129  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
98130  if (!SWIG_IsOK(res2) || !iter2) {
98131  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdMap_string_AnimatBase_RemoveAt" "', argument " "2"" of type '" "std::map< std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::iterator""'");
98132  } else {
98133  swig::SwigPyIterator_T<std::map< std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::iterator > *>(iter2);
98134  if (iter_t) {
98135  arg2 = iter_t->get_current();
98136  } else {
98137  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdMap_string_AnimatBase_RemoveAt" "', argument " "2"" of type '" "std::map< std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > >::iterator""'");
98138  }
98139  }
98140  (arg1)->RemoveAt(arg2);
98141  resultobj = SWIG_Py_Void();
98142  return resultobj;
98143 fail:
98144  return NULL;
98145 }
98146 
98147 
98148 SWIGINTERN PyObject *_wrap_CStdMap_string_AnimatBase_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98149  PyObject *resultobj = 0;
98150  CStdMap< std::string,AnimatBase * > *arg1 = (CStdMap< std::string,AnimatBase * > *) 0 ;
98151  std::string *arg2 = 0 ;
98152  void *argp1 = 0 ;
98153  int res1 = 0 ;
98154  int res2 = SWIG_OLDOBJ ;
98155  PyObject * obj0 = 0 ;
98156  PyObject * obj1 = 0 ;
98157 
98158  if (!PyArg_ParseTuple(args,(char *)"OO:CStdMap_string_AnimatBase_Remove",&obj0,&obj1)) SWIG_fail;
98159  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_AnimatBase_p_t, 0 | 0 );
98160  if (!SWIG_IsOK(res1)) {
98161  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_AnimatBase_Remove" "', argument " "1"" of type '" "CStdMap< std::string,AnimatBase * > *""'");
98162  }
98163  arg1 = reinterpret_cast< CStdMap< std::string,AnimatBase * > * >(argp1);
98164  {
98165  std::string *ptr = (std::string *)0;
98166  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
98167  if (!SWIG_IsOK(res2)) {
98168  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdMap_string_AnimatBase_Remove" "', argument " "2"" of type '" "std::string const &""'");
98169  }
98170  if (!ptr) {
98171  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdMap_string_AnimatBase_Remove" "', argument " "2"" of type '" "std::string const &""'");
98172  }
98173  arg2 = ptr;
98174  }
98175  (arg1)->Remove((std::string const &)*arg2);
98176  resultobj = SWIG_Py_Void();
98177  if (SWIG_IsNewObj(res2)) delete arg2;
98178  return resultobj;
98179 fail:
98180  if (SWIG_IsNewObj(res2)) delete arg2;
98181  return NULL;
98182 }
98183 
98184 
98185 SWIGINTERN PyObject *_wrap_CStdMap_string_AnimatBase_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98186  PyObject *resultobj = 0;
98187  CStdMap< std::string,AnimatBase * > *arg1 = (CStdMap< std::string,AnimatBase * > *) 0 ;
98188  void *argp1 = 0 ;
98189  int res1 = 0 ;
98190  PyObject * obj0 = 0 ;
98191  int result;
98192 
98193  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_AnimatBase_GetSize",&obj0)) SWIG_fail;
98194  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_AnimatBase_p_t, 0 | 0 );
98195  if (!SWIG_IsOK(res1)) {
98196  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_AnimatBase_GetSize" "', argument " "1"" of type '" "CStdMap< std::string,AnimatBase * > *""'");
98197  }
98198  arg1 = reinterpret_cast< CStdMap< std::string,AnimatBase * > * >(argp1);
98199  result = (int)(arg1)->GetSize();
98200  resultobj = SWIG_From_int(static_cast< int >(result));
98201  return resultobj;
98202 fail:
98203  return NULL;
98204 }
98205 
98206 
98207 SWIGINTERN PyObject *_wrap_CStdMap_string_AnimatBase_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98208  PyObject *resultobj = 0;
98209  CStdMap< std::string,AnimatBase * > *arg1 = (CStdMap< std::string,AnimatBase * > *) 0 ;
98210  void *argp1 = 0 ;
98211  int res1 = 0 ;
98212  PyObject * obj0 = 0 ;
98213 
98214  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_AnimatBase_Clear",&obj0)) SWIG_fail;
98215  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_AnimatBase_p_t, 0 | 0 );
98216  if (!SWIG_IsOK(res1)) {
98217  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_AnimatBase_Clear" "', argument " "1"" of type '" "CStdMap< std::string,AnimatBase * > *""'");
98218  }
98219  arg1 = reinterpret_cast< CStdMap< std::string,AnimatBase * > * >(argp1);
98220  (arg1)->Clear();
98221  resultobj = SWIG_Py_Void();
98222  return resultobj;
98223 fail:
98224  return NULL;
98225 }
98226 
98227 
98228 SWIGINTERN PyObject *_wrap_new_CStdMap_string_AnimatBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98229  PyObject *resultobj = 0;
98230  CStdMap< std::string,AnimatBase * > *result = 0 ;
98231 
98232  if (!PyArg_ParseTuple(args,(char *)":new_CStdMap_string_AnimatBase")) SWIG_fail;
98233  {
98234  try {
98235  result = (CStdMap< std::string,AnimatBase * > *)new CStdMap< std::string,AnimatBase * >();
98236  }
98237  catch(CStdErrorInfo oError)
98238  {
98239  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
98240  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
98241  PyErr_SetString(PyExc_IndexError, strError.c_str());
98242  SWIG_fail;
98243  }
98244  catch(...)
98245  {
98246  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
98247  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
98248  SWIG_fail;
98249  }
98250  }
98251  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdMapT_std__string_AnimatBase_p_t, SWIG_POINTER_NEW | 0 );
98252  return resultobj;
98253 fail:
98254  return NULL;
98255 }
98256 
98257 
98258 SWIGINTERN PyObject *CStdMap_string_AnimatBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98259  PyObject *obj;
98260  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
98261  SWIG_TypeNewClientData(SWIGTYPE_p_CStdMapT_std__string_AnimatBase_p_t, SWIG_NewClientData(obj));
98262  return SWIG_Py_Void();
98263 }
98264 
98265 SWIGINTERN PyObject *_wrap_delete_CStdMap_string_RigidBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98266  PyObject *resultobj = 0;
98267  CStdMap< std::string,RigidBody * > *arg1 = (CStdMap< std::string,RigidBody * > *) 0 ;
98268  void *argp1 = 0 ;
98269  int res1 = 0 ;
98270  PyObject * obj0 = 0 ;
98271 
98272  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdMap_string_RigidBody",&obj0)) SWIG_fail;
98273  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_RigidBody_p_t, SWIG_POINTER_DISOWN | 0 );
98274  if (!SWIG_IsOK(res1)) {
98275  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdMap_string_RigidBody" "', argument " "1"" of type '" "CStdMap< std::string,RigidBody * > *""'");
98276  }
98277  arg1 = reinterpret_cast< CStdMap< std::string,RigidBody * > * >(argp1);
98278  delete arg1;
98279  resultobj = SWIG_Py_Void();
98280  return resultobj;
98281 fail:
98282  return NULL;
98283 }
98284 
98285 
98286 SWIGINTERN PyObject *_wrap_CStdMap_string_RigidBody_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98287  PyObject *resultobj = 0;
98288  CStdMap< std::string,RigidBody * > *arg1 = (CStdMap< std::string,RigidBody * > *) 0 ;
98289  std::string arg2 ;
98290  RigidBody *arg3 = (RigidBody *) 0 ;
98291  void *argp1 = 0 ;
98292  int res1 = 0 ;
98293  void *argp3 = 0 ;
98294  int res3 = 0 ;
98295  PyObject * obj0 = 0 ;
98296  PyObject * obj1 = 0 ;
98297  PyObject * obj2 = 0 ;
98298 
98299  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdMap_string_RigidBody_Add",&obj0,&obj1,&obj2)) SWIG_fail;
98300  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_RigidBody_p_t, 0 | 0 );
98301  if (!SWIG_IsOK(res1)) {
98302  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_RigidBody_Add" "', argument " "1"" of type '" "CStdMap< std::string,RigidBody * > *""'");
98303  }
98304  arg1 = reinterpret_cast< CStdMap< std::string,RigidBody * > * >(argp1);
98305  {
98306  std::string *ptr = (std::string *)0;
98307  int res = SWIG_AsPtr_std_string(obj1, &ptr);
98308  if (!SWIG_IsOK(res) || !ptr) {
98309  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdMap_string_RigidBody_Add" "', argument " "2"" of type '" "std::string""'");
98310  }
98311  arg2 = *ptr;
98312  if (SWIG_IsNewObj(res)) delete ptr;
98313  }
98314  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_RigidBody, 0 | 0 );
98315  if (!SWIG_IsOK(res3)) {
98316  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdMap_string_RigidBody_Add" "', argument " "3"" of type '" "RigidBody *""'");
98317  }
98318  arg3 = reinterpret_cast< RigidBody * >(argp3);
98319  (arg1)->Add(arg2,arg3);
98320  resultobj = SWIG_Py_Void();
98321  return resultobj;
98322 fail:
98323  return NULL;
98324 }
98325 
98326 
98327 SWIGINTERN PyObject *_wrap_CStdMap_string_RigidBody_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98328  PyObject *resultobj = 0;
98329  CStdMap< std::string,RigidBody * > *arg1 = (CStdMap< std::string,RigidBody * > *) 0 ;
98330  void *argp1 = 0 ;
98331  int res1 = 0 ;
98332  PyObject * obj0 = 0 ;
98333 
98334  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_RigidBody_RemoveAll",&obj0)) SWIG_fail;
98335  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_RigidBody_p_t, 0 | 0 );
98336  if (!SWIG_IsOK(res1)) {
98337  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_RigidBody_RemoveAll" "', argument " "1"" of type '" "CStdMap< std::string,RigidBody * > *""'");
98338  }
98339  arg1 = reinterpret_cast< CStdMap< std::string,RigidBody * > * >(argp1);
98340  (arg1)->RemoveAll();
98341  resultobj = SWIG_Py_Void();
98342  return resultobj;
98343 fail:
98344  return NULL;
98345 }
98346 
98347 
98348 SWIGINTERN PyObject *_wrap_CStdMap_string_RigidBody_RemoveAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98349  PyObject *resultobj = 0;
98350  CStdMap< std::string,RigidBody * > *arg1 = (CStdMap< std::string,RigidBody * > *) 0 ;
98351  std::map< std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::iterator arg2 ;
98352  void *argp1 = 0 ;
98353  int res1 = 0 ;
98354  swig::SwigPyIterator *iter2 = 0 ;
98355  int res2 ;
98356  PyObject * obj0 = 0 ;
98357  PyObject * obj1 = 0 ;
98358 
98359  if (!PyArg_ParseTuple(args,(char *)"OO:CStdMap_string_RigidBody_RemoveAt",&obj0,&obj1)) SWIG_fail;
98360  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_RigidBody_p_t, 0 | 0 );
98361  if (!SWIG_IsOK(res1)) {
98362  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_RigidBody_RemoveAt" "', argument " "1"" of type '" "CStdMap< std::string,RigidBody * > *""'");
98363  }
98364  arg1 = reinterpret_cast< CStdMap< std::string,RigidBody * > * >(argp1);
98365  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
98366  if (!SWIG_IsOK(res2) || !iter2) {
98367  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdMap_string_RigidBody_RemoveAt" "', argument " "2"" of type '" "std::map< std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::iterator""'");
98368  } else {
98369  swig::SwigPyIterator_T<std::map< std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::iterator > *>(iter2);
98370  if (iter_t) {
98371  arg2 = iter_t->get_current();
98372  } else {
98373  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdMap_string_RigidBody_RemoveAt" "', argument " "2"" of type '" "std::map< std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > >::iterator""'");
98374  }
98375  }
98376  (arg1)->RemoveAt(arg2);
98377  resultobj = SWIG_Py_Void();
98378  return resultobj;
98379 fail:
98380  return NULL;
98381 }
98382 
98383 
98384 SWIGINTERN PyObject *_wrap_CStdMap_string_RigidBody_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98385  PyObject *resultobj = 0;
98386  CStdMap< std::string,RigidBody * > *arg1 = (CStdMap< std::string,RigidBody * > *) 0 ;
98387  std::string *arg2 = 0 ;
98388  void *argp1 = 0 ;
98389  int res1 = 0 ;
98390  int res2 = SWIG_OLDOBJ ;
98391  PyObject * obj0 = 0 ;
98392  PyObject * obj1 = 0 ;
98393 
98394  if (!PyArg_ParseTuple(args,(char *)"OO:CStdMap_string_RigidBody_Remove",&obj0,&obj1)) SWIG_fail;
98395  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_RigidBody_p_t, 0 | 0 );
98396  if (!SWIG_IsOK(res1)) {
98397  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_RigidBody_Remove" "', argument " "1"" of type '" "CStdMap< std::string,RigidBody * > *""'");
98398  }
98399  arg1 = reinterpret_cast< CStdMap< std::string,RigidBody * > * >(argp1);
98400  {
98401  std::string *ptr = (std::string *)0;
98402  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
98403  if (!SWIG_IsOK(res2)) {
98404  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdMap_string_RigidBody_Remove" "', argument " "2"" of type '" "std::string const &""'");
98405  }
98406  if (!ptr) {
98407  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdMap_string_RigidBody_Remove" "', argument " "2"" of type '" "std::string const &""'");
98408  }
98409  arg2 = ptr;
98410  }
98411  (arg1)->Remove((std::string const &)*arg2);
98412  resultobj = SWIG_Py_Void();
98413  if (SWIG_IsNewObj(res2)) delete arg2;
98414  return resultobj;
98415 fail:
98416  if (SWIG_IsNewObj(res2)) delete arg2;
98417  return NULL;
98418 }
98419 
98420 
98421 SWIGINTERN PyObject *_wrap_CStdMap_string_RigidBody_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98422  PyObject *resultobj = 0;
98423  CStdMap< std::string,RigidBody * > *arg1 = (CStdMap< std::string,RigidBody * > *) 0 ;
98424  void *argp1 = 0 ;
98425  int res1 = 0 ;
98426  PyObject * obj0 = 0 ;
98427  int result;
98428 
98429  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_RigidBody_GetSize",&obj0)) SWIG_fail;
98430  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_RigidBody_p_t, 0 | 0 );
98431  if (!SWIG_IsOK(res1)) {
98432  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_RigidBody_GetSize" "', argument " "1"" of type '" "CStdMap< std::string,RigidBody * > *""'");
98433  }
98434  arg1 = reinterpret_cast< CStdMap< std::string,RigidBody * > * >(argp1);
98435  result = (int)(arg1)->GetSize();
98436  resultobj = SWIG_From_int(static_cast< int >(result));
98437  return resultobj;
98438 fail:
98439  return NULL;
98440 }
98441 
98442 
98443 SWIGINTERN PyObject *_wrap_CStdMap_string_RigidBody_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98444  PyObject *resultobj = 0;
98445  CStdMap< std::string,RigidBody * > *arg1 = (CStdMap< std::string,RigidBody * > *) 0 ;
98446  void *argp1 = 0 ;
98447  int res1 = 0 ;
98448  PyObject * obj0 = 0 ;
98449 
98450  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_RigidBody_Clear",&obj0)) SWIG_fail;
98451  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_RigidBody_p_t, 0 | 0 );
98452  if (!SWIG_IsOK(res1)) {
98453  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_RigidBody_Clear" "', argument " "1"" of type '" "CStdMap< std::string,RigidBody * > *""'");
98454  }
98455  arg1 = reinterpret_cast< CStdMap< std::string,RigidBody * > * >(argp1);
98456  (arg1)->Clear();
98457  resultobj = SWIG_Py_Void();
98458  return resultobj;
98459 fail:
98460  return NULL;
98461 }
98462 
98463 
98464 SWIGINTERN PyObject *_wrap_new_CStdMap_string_RigidBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98465  PyObject *resultobj = 0;
98466  CStdMap< std::string,RigidBody * > *result = 0 ;
98467 
98468  if (!PyArg_ParseTuple(args,(char *)":new_CStdMap_string_RigidBody")) SWIG_fail;
98469  {
98470  try {
98471  result = (CStdMap< std::string,RigidBody * > *)new CStdMap< std::string,RigidBody * >();
98472  }
98473  catch(CStdErrorInfo oError)
98474  {
98475  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
98476  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
98477  PyErr_SetString(PyExc_IndexError, strError.c_str());
98478  SWIG_fail;
98479  }
98480  catch(...)
98481  {
98482  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
98483  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
98484  SWIG_fail;
98485  }
98486  }
98487  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdMapT_std__string_RigidBody_p_t, SWIG_POINTER_NEW | 0 );
98488  return resultobj;
98489 fail:
98490  return NULL;
98491 }
98492 
98493 
98494 SWIGINTERN PyObject *CStdMap_string_RigidBody_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98495  PyObject *obj;
98496  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
98497  SWIG_TypeNewClientData(SWIGTYPE_p_CStdMapT_std__string_RigidBody_p_t, SWIG_NewClientData(obj));
98498  return SWIG_Py_Void();
98499 }
98500 
98501 SWIGINTERN PyObject *_wrap_delete_CStdMap_string_Joint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98502  PyObject *resultobj = 0;
98503  CStdMap< std::string,Joint * > *arg1 = (CStdMap< std::string,Joint * > *) 0 ;
98504  void *argp1 = 0 ;
98505  int res1 = 0 ;
98506  PyObject * obj0 = 0 ;
98507 
98508  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdMap_string_Joint",&obj0)) SWIG_fail;
98509  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Joint_p_t, SWIG_POINTER_DISOWN | 0 );
98510  if (!SWIG_IsOK(res1)) {
98511  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdMap_string_Joint" "', argument " "1"" of type '" "CStdMap< std::string,Joint * > *""'");
98512  }
98513  arg1 = reinterpret_cast< CStdMap< std::string,Joint * > * >(argp1);
98514  delete arg1;
98515  resultobj = SWIG_Py_Void();
98516  return resultobj;
98517 fail:
98518  return NULL;
98519 }
98520 
98521 
98522 SWIGINTERN PyObject *_wrap_CStdMap_string_Joint_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98523  PyObject *resultobj = 0;
98524  CStdMap< std::string,Joint * > *arg1 = (CStdMap< std::string,Joint * > *) 0 ;
98525  std::string arg2 ;
98526  Joint *arg3 = (Joint *) 0 ;
98527  void *argp1 = 0 ;
98528  int res1 = 0 ;
98529  void *argp3 = 0 ;
98530  int res3 = 0 ;
98531  PyObject * obj0 = 0 ;
98532  PyObject * obj1 = 0 ;
98533  PyObject * obj2 = 0 ;
98534 
98535  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdMap_string_Joint_Add",&obj0,&obj1,&obj2)) SWIG_fail;
98536  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Joint_p_t, 0 | 0 );
98537  if (!SWIG_IsOK(res1)) {
98538  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Joint_Add" "', argument " "1"" of type '" "CStdMap< std::string,Joint * > *""'");
98539  }
98540  arg1 = reinterpret_cast< CStdMap< std::string,Joint * > * >(argp1);
98541  {
98542  std::string *ptr = (std::string *)0;
98543  int res = SWIG_AsPtr_std_string(obj1, &ptr);
98544  if (!SWIG_IsOK(res) || !ptr) {
98545  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdMap_string_Joint_Add" "', argument " "2"" of type '" "std::string""'");
98546  }
98547  arg2 = *ptr;
98548  if (SWIG_IsNewObj(res)) delete ptr;
98549  }
98550  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Joint, 0 | 0 );
98551  if (!SWIG_IsOK(res3)) {
98552  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdMap_string_Joint_Add" "', argument " "3"" of type '" "Joint *""'");
98553  }
98554  arg3 = reinterpret_cast< Joint * >(argp3);
98555  (arg1)->Add(arg2,arg3);
98556  resultobj = SWIG_Py_Void();
98557  return resultobj;
98558 fail:
98559  return NULL;
98560 }
98561 
98562 
98563 SWIGINTERN PyObject *_wrap_CStdMap_string_Joint_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98564  PyObject *resultobj = 0;
98565  CStdMap< std::string,Joint * > *arg1 = (CStdMap< std::string,Joint * > *) 0 ;
98566  void *argp1 = 0 ;
98567  int res1 = 0 ;
98568  PyObject * obj0 = 0 ;
98569 
98570  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_Joint_RemoveAll",&obj0)) SWIG_fail;
98571  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Joint_p_t, 0 | 0 );
98572  if (!SWIG_IsOK(res1)) {
98573  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Joint_RemoveAll" "', argument " "1"" of type '" "CStdMap< std::string,Joint * > *""'");
98574  }
98575  arg1 = reinterpret_cast< CStdMap< std::string,Joint * > * >(argp1);
98576  (arg1)->RemoveAll();
98577  resultobj = SWIG_Py_Void();
98578  return resultobj;
98579 fail:
98580  return NULL;
98581 }
98582 
98583 
98584 SWIGINTERN PyObject *_wrap_CStdMap_string_Joint_RemoveAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98585  PyObject *resultobj = 0;
98586  CStdMap< std::string,Joint * > *arg1 = (CStdMap< std::string,Joint * > *) 0 ;
98587  std::map< std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::iterator arg2 ;
98588  void *argp1 = 0 ;
98589  int res1 = 0 ;
98590  swig::SwigPyIterator *iter2 = 0 ;
98591  int res2 ;
98592  PyObject * obj0 = 0 ;
98593  PyObject * obj1 = 0 ;
98594 
98595  if (!PyArg_ParseTuple(args,(char *)"OO:CStdMap_string_Joint_RemoveAt",&obj0,&obj1)) SWIG_fail;
98596  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Joint_p_t, 0 | 0 );
98597  if (!SWIG_IsOK(res1)) {
98598  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Joint_RemoveAt" "', argument " "1"" of type '" "CStdMap< std::string,Joint * > *""'");
98599  }
98600  arg1 = reinterpret_cast< CStdMap< std::string,Joint * > * >(argp1);
98601  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
98602  if (!SWIG_IsOK(res2) || !iter2) {
98603  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdMap_string_Joint_RemoveAt" "', argument " "2"" of type '" "std::map< std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::iterator""'");
98604  } else {
98605  swig::SwigPyIterator_T<std::map< std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::map< std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::iterator > *>(iter2);
98606  if (iter_t) {
98607  arg2 = iter_t->get_current();
98608  } else {
98609  SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "CStdMap_string_Joint_RemoveAt" "', argument " "2"" of type '" "std::map< std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > >::iterator""'");
98610  }
98611  }
98612  (arg1)->RemoveAt(arg2);
98613  resultobj = SWIG_Py_Void();
98614  return resultobj;
98615 fail:
98616  return NULL;
98617 }
98618 
98619 
98620 SWIGINTERN PyObject *_wrap_CStdMap_string_Joint_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98621  PyObject *resultobj = 0;
98622  CStdMap< std::string,Joint * > *arg1 = (CStdMap< std::string,Joint * > *) 0 ;
98623  std::string *arg2 = 0 ;
98624  void *argp1 = 0 ;
98625  int res1 = 0 ;
98626  int res2 = SWIG_OLDOBJ ;
98627  PyObject * obj0 = 0 ;
98628  PyObject * obj1 = 0 ;
98629 
98630  if (!PyArg_ParseTuple(args,(char *)"OO:CStdMap_string_Joint_Remove",&obj0,&obj1)) SWIG_fail;
98631  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Joint_p_t, 0 | 0 );
98632  if (!SWIG_IsOK(res1)) {
98633  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Joint_Remove" "', argument " "1"" of type '" "CStdMap< std::string,Joint * > *""'");
98634  }
98635  arg1 = reinterpret_cast< CStdMap< std::string,Joint * > * >(argp1);
98636  {
98637  std::string *ptr = (std::string *)0;
98638  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
98639  if (!SWIG_IsOK(res2)) {
98640  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdMap_string_Joint_Remove" "', argument " "2"" of type '" "std::string const &""'");
98641  }
98642  if (!ptr) {
98643  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdMap_string_Joint_Remove" "', argument " "2"" of type '" "std::string const &""'");
98644  }
98645  arg2 = ptr;
98646  }
98647  (arg1)->Remove((std::string const &)*arg2);
98648  resultobj = SWIG_Py_Void();
98649  if (SWIG_IsNewObj(res2)) delete arg2;
98650  return resultobj;
98651 fail:
98652  if (SWIG_IsNewObj(res2)) delete arg2;
98653  return NULL;
98654 }
98655 
98656 
98657 SWIGINTERN PyObject *_wrap_CStdMap_string_Joint_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98658  PyObject *resultobj = 0;
98659  CStdMap< std::string,Joint * > *arg1 = (CStdMap< std::string,Joint * > *) 0 ;
98660  void *argp1 = 0 ;
98661  int res1 = 0 ;
98662  PyObject * obj0 = 0 ;
98663  int result;
98664 
98665  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_Joint_GetSize",&obj0)) SWIG_fail;
98666  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Joint_p_t, 0 | 0 );
98667  if (!SWIG_IsOK(res1)) {
98668  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Joint_GetSize" "', argument " "1"" of type '" "CStdMap< std::string,Joint * > *""'");
98669  }
98670  arg1 = reinterpret_cast< CStdMap< std::string,Joint * > * >(argp1);
98671  result = (int)(arg1)->GetSize();
98672  resultobj = SWIG_From_int(static_cast< int >(result));
98673  return resultobj;
98674 fail:
98675  return NULL;
98676 }
98677 
98678 
98679 SWIGINTERN PyObject *_wrap_CStdMap_string_Joint_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98680  PyObject *resultobj = 0;
98681  CStdMap< std::string,Joint * > *arg1 = (CStdMap< std::string,Joint * > *) 0 ;
98682  void *argp1 = 0 ;
98683  int res1 = 0 ;
98684  PyObject * obj0 = 0 ;
98685 
98686  if (!PyArg_ParseTuple(args,(char *)"O:CStdMap_string_Joint_Clear",&obj0)) SWIG_fail;
98687  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdMapT_std__string_Joint_p_t, 0 | 0 );
98688  if (!SWIG_IsOK(res1)) {
98689  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdMap_string_Joint_Clear" "', argument " "1"" of type '" "CStdMap< std::string,Joint * > *""'");
98690  }
98691  arg1 = reinterpret_cast< CStdMap< std::string,Joint * > * >(argp1);
98692  (arg1)->Clear();
98693  resultobj = SWIG_Py_Void();
98694  return resultobj;
98695 fail:
98696  return NULL;
98697 }
98698 
98699 
98700 SWIGINTERN PyObject *_wrap_new_CStdMap_string_Joint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98701  PyObject *resultobj = 0;
98702  CStdMap< std::string,Joint * > *result = 0 ;
98703 
98704  if (!PyArg_ParseTuple(args,(char *)":new_CStdMap_string_Joint")) SWIG_fail;
98705  {
98706  try {
98707  result = (CStdMap< std::string,Joint * > *)new CStdMap< std::string,Joint * >();
98708  }
98709  catch(CStdErrorInfo oError)
98710  {
98711  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
98712  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
98713  PyErr_SetString(PyExc_IndexError, strError.c_str());
98714  SWIG_fail;
98715  }
98716  catch(...)
98717  {
98718  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
98719  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
98720  SWIG_fail;
98721  }
98722  }
98723  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdMapT_std__string_Joint_p_t, SWIG_POINTER_NEW | 0 );
98724  return resultobj;
98725 fail:
98726  return NULL;
98727 }
98728 
98729 
98730 SWIGINTERN PyObject *CStdMap_string_Joint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98731  PyObject *obj;
98732  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
98733  SWIG_TypeNewClientData(SWIGTYPE_p_CStdMapT_std__string_Joint_p_t, SWIG_NewClientData(obj));
98734  return SWIG_Py_Void();
98735 }
98736 
98737 SWIGINTERN PyObject *_wrap_delete_CStdPtrMap_string_ActivatedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98738  PyObject *resultobj = 0;
98739  CStdPtrMap< std::string,ActivatedItem > *arg1 = (CStdPtrMap< std::string,ActivatedItem > *) 0 ;
98740  void *argp1 = 0 ;
98741  int res1 = 0 ;
98742  PyObject * obj0 = 0 ;
98743 
98744  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrMap_string_ActivatedItem",&obj0)) SWIG_fail;
98745  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_ActivatedItem_t, SWIG_POINTER_DISOWN | 0 );
98746  if (!SWIG_IsOK(res1)) {
98747  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrMap_string_ActivatedItem" "', argument " "1"" of type '" "CStdPtrMap< std::string,ActivatedItem > *""'");
98748  }
98749  arg1 = reinterpret_cast< CStdPtrMap< std::string,ActivatedItem > * >(argp1);
98750  delete arg1;
98751  resultobj = SWIG_Py_Void();
98752  return resultobj;
98753 fail:
98754  return NULL;
98755 }
98756 
98757 
98758 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_ActivatedItem_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98759  PyObject *resultobj = 0;
98760  CStdPtrMap< std::string,ActivatedItem > *arg1 = (CStdPtrMap< std::string,ActivatedItem > *) 0 ;
98761  std::string arg2 ;
98762  ActivatedItem *arg3 = (ActivatedItem *) 0 ;
98763  void *argp1 = 0 ;
98764  int res1 = 0 ;
98765  void *argp3 = 0 ;
98766  int res3 = 0 ;
98767  PyObject * obj0 = 0 ;
98768  PyObject * obj1 = 0 ;
98769  PyObject * obj2 = 0 ;
98770 
98771  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrMap_string_ActivatedItem_Add",&obj0,&obj1,&obj2)) SWIG_fail;
98772  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_ActivatedItem_t, 0 | 0 );
98773  if (!SWIG_IsOK(res1)) {
98774  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_ActivatedItem_Add" "', argument " "1"" of type '" "CStdPtrMap< std::string,ActivatedItem > *""'");
98775  }
98776  arg1 = reinterpret_cast< CStdPtrMap< std::string,ActivatedItem > * >(argp1);
98777  {
98778  std::string *ptr = (std::string *)0;
98779  int res = SWIG_AsPtr_std_string(obj1, &ptr);
98780  if (!SWIG_IsOK(res) || !ptr) {
98781  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdPtrMap_string_ActivatedItem_Add" "', argument " "2"" of type '" "std::string""'");
98782  }
98783  arg2 = *ptr;
98784  if (SWIG_IsNewObj(res)) delete ptr;
98785  }
98786  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ActivatedItem, 0 | 0 );
98787  if (!SWIG_IsOK(res3)) {
98788  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrMap_string_ActivatedItem_Add" "', argument " "3"" of type '" "ActivatedItem *""'");
98789  }
98790  arg3 = reinterpret_cast< ActivatedItem * >(argp3);
98791  (arg1)->Add(arg2,arg3);
98792  resultobj = SWIG_Py_Void();
98793  return resultobj;
98794 fail:
98795  return NULL;
98796 }
98797 
98798 
98799 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_ActivatedItem_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98800  PyObject *resultobj = 0;
98801  CStdPtrMap< std::string,ActivatedItem > *arg1 = (CStdPtrMap< std::string,ActivatedItem > *) 0 ;
98802  void *argp1 = 0 ;
98803  int res1 = 0 ;
98804  PyObject * obj0 = 0 ;
98805 
98806  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_ActivatedItem_RemoveAll",&obj0)) SWIG_fail;
98807  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_ActivatedItem_t, 0 | 0 );
98808  if (!SWIG_IsOK(res1)) {
98809  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_ActivatedItem_RemoveAll" "', argument " "1"" of type '" "CStdPtrMap< std::string,ActivatedItem > *""'");
98810  }
98811  arg1 = reinterpret_cast< CStdPtrMap< std::string,ActivatedItem > * >(argp1);
98812  (arg1)->RemoveAll();
98813  resultobj = SWIG_Py_Void();
98814  return resultobj;
98815 fail:
98816  return NULL;
98817 }
98818 
98819 
98820 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_ActivatedItem_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98821  PyObject *resultobj = 0;
98822  CStdPtrMap< std::string,ActivatedItem > *arg1 = (CStdPtrMap< std::string,ActivatedItem > *) 0 ;
98823  std::string *arg2 = 0 ;
98824  void *argp1 = 0 ;
98825  int res1 = 0 ;
98826  int res2 = SWIG_OLDOBJ ;
98827  PyObject * obj0 = 0 ;
98828  PyObject * obj1 = 0 ;
98829 
98830  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrMap_string_ActivatedItem_Remove",&obj0,&obj1)) SWIG_fail;
98831  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_ActivatedItem_t, 0 | 0 );
98832  if (!SWIG_IsOK(res1)) {
98833  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_ActivatedItem_Remove" "', argument " "1"" of type '" "CStdPtrMap< std::string,ActivatedItem > *""'");
98834  }
98835  arg1 = reinterpret_cast< CStdPtrMap< std::string,ActivatedItem > * >(argp1);
98836  {
98837  std::string *ptr = (std::string *)0;
98838  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
98839  if (!SWIG_IsOK(res2)) {
98840  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrMap_string_ActivatedItem_Remove" "', argument " "2"" of type '" "std::string const &""'");
98841  }
98842  if (!ptr) {
98843  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPtrMap_string_ActivatedItem_Remove" "', argument " "2"" of type '" "std::string const &""'");
98844  }
98845  arg2 = ptr;
98846  }
98847  (arg1)->Remove((std::string const &)*arg2);
98848  resultobj = SWIG_Py_Void();
98849  if (SWIG_IsNewObj(res2)) delete arg2;
98850  return resultobj;
98851 fail:
98852  if (SWIG_IsNewObj(res2)) delete arg2;
98853  return NULL;
98854 }
98855 
98856 
98857 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_ActivatedItem_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98858  PyObject *resultobj = 0;
98859  CStdPtrMap< std::string,ActivatedItem > *arg1 = (CStdPtrMap< std::string,ActivatedItem > *) 0 ;
98860  void *argp1 = 0 ;
98861  int res1 = 0 ;
98862  PyObject * obj0 = 0 ;
98863  int result;
98864 
98865  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_ActivatedItem_GetSize",&obj0)) SWIG_fail;
98866  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_ActivatedItem_t, 0 | 0 );
98867  if (!SWIG_IsOK(res1)) {
98868  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_ActivatedItem_GetSize" "', argument " "1"" of type '" "CStdPtrMap< std::string,ActivatedItem > *""'");
98869  }
98870  arg1 = reinterpret_cast< CStdPtrMap< std::string,ActivatedItem > * >(argp1);
98871  result = (int)(arg1)->GetSize();
98872  resultobj = SWIG_From_int(static_cast< int >(result));
98873  return resultobj;
98874 fail:
98875  return NULL;
98876 }
98877 
98878 
98879 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_ActivatedItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98880  PyObject *resultobj = 0;
98881  CStdPtrMap< std::string,ActivatedItem > *arg1 = (CStdPtrMap< std::string,ActivatedItem > *) 0 ;
98882  void *argp1 = 0 ;
98883  int res1 = 0 ;
98884  PyObject * obj0 = 0 ;
98885 
98886  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_ActivatedItem_Clear",&obj0)) SWIG_fail;
98887  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_ActivatedItem_t, 0 | 0 );
98888  if (!SWIG_IsOK(res1)) {
98889  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_ActivatedItem_Clear" "', argument " "1"" of type '" "CStdPtrMap< std::string,ActivatedItem > *""'");
98890  }
98891  arg1 = reinterpret_cast< CStdPtrMap< std::string,ActivatedItem > * >(argp1);
98892  (arg1)->Clear();
98893  resultobj = SWIG_Py_Void();
98894  return resultobj;
98895 fail:
98896  return NULL;
98897 }
98898 
98899 
98900 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_ActivatedItem_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98901  PyObject *resultobj = 0;
98902  CStdPtrMap< std::string,ActivatedItem > *arg1 = (CStdPtrMap< std::string,ActivatedItem > *) 0 ;
98903  void *argp1 = 0 ;
98904  int res1 = 0 ;
98905  PyObject * obj0 = 0 ;
98906 
98907  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_ActivatedItem_clear",&obj0)) SWIG_fail;
98908  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_ActivatedItem_t, 0 | 0 );
98909  if (!SWIG_IsOK(res1)) {
98910  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_ActivatedItem_clear" "', argument " "1"" of type '" "CStdPtrMap< std::string,ActivatedItem > *""'");
98911  }
98912  arg1 = reinterpret_cast< CStdPtrMap< std::string,ActivatedItem > * >(argp1);
98913  (arg1)->clear();
98914  resultobj = SWIG_Py_Void();
98915  return resultobj;
98916 fail:
98917  return NULL;
98918 }
98919 
98920 
98921 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_ActivatedItem_erase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98922  PyObject *resultobj = 0;
98923  CStdPtrMap< std::string,ActivatedItem > *arg1 = (CStdPtrMap< std::string,ActivatedItem > *) 0 ;
98924  std::string *arg2 = 0 ;
98925  void *argp1 = 0 ;
98926  int res1 = 0 ;
98927  int res2 = SWIG_OLDOBJ ;
98928  PyObject * obj0 = 0 ;
98929  PyObject * obj1 = 0 ;
98930  std::map< std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > >::size_type result;
98931 
98932  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrMap_string_ActivatedItem_erase",&obj0,&obj1)) SWIG_fail;
98933  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_ActivatedItem_t, 0 | 0 );
98934  if (!SWIG_IsOK(res1)) {
98935  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_ActivatedItem_erase" "', argument " "1"" of type '" "CStdPtrMap< std::string,ActivatedItem > *""'");
98936  }
98937  arg1 = reinterpret_cast< CStdPtrMap< std::string,ActivatedItem > * >(argp1);
98938  {
98939  std::string *ptr = (std::string *)0;
98940  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
98941  if (!SWIG_IsOK(res2)) {
98942  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrMap_string_ActivatedItem_erase" "', argument " "2"" of type '" "std::string const &""'");
98943  }
98944  if (!ptr) {
98945  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPtrMap_string_ActivatedItem_erase" "', argument " "2"" of type '" "std::string const &""'");
98946  }
98947  arg2 = ptr;
98948  }
98949  result = (arg1)->erase((std::string const &)*arg2);
98950  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
98951  if (SWIG_IsNewObj(res2)) delete arg2;
98952  return resultobj;
98953 fail:
98954  if (SWIG_IsNewObj(res2)) delete arg2;
98955  return NULL;
98956 }
98957 
98958 
98959 SWIGINTERN PyObject *_wrap_new_CStdPtrMap_string_ActivatedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98960  PyObject *resultobj = 0;
98961  CStdPtrMap< std::string,ActivatedItem > *result = 0 ;
98962 
98963  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrMap_string_ActivatedItem")) SWIG_fail;
98964  {
98965  try {
98966  result = (CStdPtrMap< std::string,ActivatedItem > *)new CStdPtrMap< std::string,ActivatedItem >();
98967  }
98968  catch(CStdErrorInfo oError)
98969  {
98970  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
98971  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
98972  PyErr_SetString(PyExc_IndexError, strError.c_str());
98973  SWIG_fail;
98974  }
98975  catch(...)
98976  {
98977  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
98978  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
98979  SWIG_fail;
98980  }
98981  }
98982  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrMapT_std__string_ActivatedItem_t, SWIG_POINTER_NEW | 0 );
98983  return resultobj;
98984 fail:
98985  return NULL;
98986 }
98987 
98988 
98989 SWIGINTERN PyObject *CStdPtrMap_string_ActivatedItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98990  PyObject *obj;
98991  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
98992  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrMapT_std__string_ActivatedItem_t, SWIG_NewClientData(obj));
98993  return SWIG_Py_Void();
98994 }
98995 
98996 SWIGINTERN PyObject *_wrap_delete_CStdPtrMap_string_NeuralModule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
98997  PyObject *resultobj = 0;
98998  CStdPtrMap< std::string,NeuralModule > *arg1 = (CStdPtrMap< std::string,NeuralModule > *) 0 ;
98999  void *argp1 = 0 ;
99000  int res1 = 0 ;
99001  PyObject * obj0 = 0 ;
99002 
99003  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrMap_string_NeuralModule",&obj0)) SWIG_fail;
99004  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_NeuralModule_t, SWIG_POINTER_DISOWN | 0 );
99005  if (!SWIG_IsOK(res1)) {
99006  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrMap_string_NeuralModule" "', argument " "1"" of type '" "CStdPtrMap< std::string,NeuralModule > *""'");
99007  }
99008  arg1 = reinterpret_cast< CStdPtrMap< std::string,NeuralModule > * >(argp1);
99009  delete arg1;
99010  resultobj = SWIG_Py_Void();
99011  return resultobj;
99012 fail:
99013  return NULL;
99014 }
99015 
99016 
99017 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_NeuralModule_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99018  PyObject *resultobj = 0;
99019  CStdPtrMap< std::string,NeuralModule > *arg1 = (CStdPtrMap< std::string,NeuralModule > *) 0 ;
99020  std::string arg2 ;
99021  NeuralModule *arg3 = (NeuralModule *) 0 ;
99022  void *argp1 = 0 ;
99023  int res1 = 0 ;
99024  void *argp3 = 0 ;
99025  int res3 = 0 ;
99026  PyObject * obj0 = 0 ;
99027  PyObject * obj1 = 0 ;
99028  PyObject * obj2 = 0 ;
99029 
99030  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrMap_string_NeuralModule_Add",&obj0,&obj1,&obj2)) SWIG_fail;
99031  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_NeuralModule_t, 0 | 0 );
99032  if (!SWIG_IsOK(res1)) {
99033  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_NeuralModule_Add" "', argument " "1"" of type '" "CStdPtrMap< std::string,NeuralModule > *""'");
99034  }
99035  arg1 = reinterpret_cast< CStdPtrMap< std::string,NeuralModule > * >(argp1);
99036  {
99037  std::string *ptr = (std::string *)0;
99038  int res = SWIG_AsPtr_std_string(obj1, &ptr);
99039  if (!SWIG_IsOK(res) || !ptr) {
99040  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdPtrMap_string_NeuralModule_Add" "', argument " "2"" of type '" "std::string""'");
99041  }
99042  arg2 = *ptr;
99043  if (SWIG_IsNewObj(res)) delete ptr;
99044  }
99045  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_NeuralModule, 0 | 0 );
99046  if (!SWIG_IsOK(res3)) {
99047  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrMap_string_NeuralModule_Add" "', argument " "3"" of type '" "NeuralModule *""'");
99048  }
99049  arg3 = reinterpret_cast< NeuralModule * >(argp3);
99050  (arg1)->Add(arg2,arg3);
99051  resultobj = SWIG_Py_Void();
99052  return resultobj;
99053 fail:
99054  return NULL;
99055 }
99056 
99057 
99058 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_NeuralModule_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99059  PyObject *resultobj = 0;
99060  CStdPtrMap< std::string,NeuralModule > *arg1 = (CStdPtrMap< std::string,NeuralModule > *) 0 ;
99061  void *argp1 = 0 ;
99062  int res1 = 0 ;
99063  PyObject * obj0 = 0 ;
99064 
99065  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_NeuralModule_RemoveAll",&obj0)) SWIG_fail;
99066  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_NeuralModule_t, 0 | 0 );
99067  if (!SWIG_IsOK(res1)) {
99068  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_NeuralModule_RemoveAll" "', argument " "1"" of type '" "CStdPtrMap< std::string,NeuralModule > *""'");
99069  }
99070  arg1 = reinterpret_cast< CStdPtrMap< std::string,NeuralModule > * >(argp1);
99071  (arg1)->RemoveAll();
99072  resultobj = SWIG_Py_Void();
99073  return resultobj;
99074 fail:
99075  return NULL;
99076 }
99077 
99078 
99079 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_NeuralModule_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99080  PyObject *resultobj = 0;
99081  CStdPtrMap< std::string,NeuralModule > *arg1 = (CStdPtrMap< std::string,NeuralModule > *) 0 ;
99082  std::string *arg2 = 0 ;
99083  void *argp1 = 0 ;
99084  int res1 = 0 ;
99085  int res2 = SWIG_OLDOBJ ;
99086  PyObject * obj0 = 0 ;
99087  PyObject * obj1 = 0 ;
99088 
99089  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrMap_string_NeuralModule_Remove",&obj0,&obj1)) SWIG_fail;
99090  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_NeuralModule_t, 0 | 0 );
99091  if (!SWIG_IsOK(res1)) {
99092  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_NeuralModule_Remove" "', argument " "1"" of type '" "CStdPtrMap< std::string,NeuralModule > *""'");
99093  }
99094  arg1 = reinterpret_cast< CStdPtrMap< std::string,NeuralModule > * >(argp1);
99095  {
99096  std::string *ptr = (std::string *)0;
99097  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
99098  if (!SWIG_IsOK(res2)) {
99099  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrMap_string_NeuralModule_Remove" "', argument " "2"" of type '" "std::string const &""'");
99100  }
99101  if (!ptr) {
99102  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPtrMap_string_NeuralModule_Remove" "', argument " "2"" of type '" "std::string const &""'");
99103  }
99104  arg2 = ptr;
99105  }
99106  (arg1)->Remove((std::string const &)*arg2);
99107  resultobj = SWIG_Py_Void();
99108  if (SWIG_IsNewObj(res2)) delete arg2;
99109  return resultobj;
99110 fail:
99111  if (SWIG_IsNewObj(res2)) delete arg2;
99112  return NULL;
99113 }
99114 
99115 
99116 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_NeuralModule_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99117  PyObject *resultobj = 0;
99118  CStdPtrMap< std::string,NeuralModule > *arg1 = (CStdPtrMap< std::string,NeuralModule > *) 0 ;
99119  void *argp1 = 0 ;
99120  int res1 = 0 ;
99121  PyObject * obj0 = 0 ;
99122  int result;
99123 
99124  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_NeuralModule_GetSize",&obj0)) SWIG_fail;
99125  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_NeuralModule_t, 0 | 0 );
99126  if (!SWIG_IsOK(res1)) {
99127  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_NeuralModule_GetSize" "', argument " "1"" of type '" "CStdPtrMap< std::string,NeuralModule > *""'");
99128  }
99129  arg1 = reinterpret_cast< CStdPtrMap< std::string,NeuralModule > * >(argp1);
99130  result = (int)(arg1)->GetSize();
99131  resultobj = SWIG_From_int(static_cast< int >(result));
99132  return resultobj;
99133 fail:
99134  return NULL;
99135 }
99136 
99137 
99138 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_NeuralModule_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99139  PyObject *resultobj = 0;
99140  CStdPtrMap< std::string,NeuralModule > *arg1 = (CStdPtrMap< std::string,NeuralModule > *) 0 ;
99141  void *argp1 = 0 ;
99142  int res1 = 0 ;
99143  PyObject * obj0 = 0 ;
99144 
99145  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_NeuralModule_Clear",&obj0)) SWIG_fail;
99146  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_NeuralModule_t, 0 | 0 );
99147  if (!SWIG_IsOK(res1)) {
99148  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_NeuralModule_Clear" "', argument " "1"" of type '" "CStdPtrMap< std::string,NeuralModule > *""'");
99149  }
99150  arg1 = reinterpret_cast< CStdPtrMap< std::string,NeuralModule > * >(argp1);
99151  (arg1)->Clear();
99152  resultobj = SWIG_Py_Void();
99153  return resultobj;
99154 fail:
99155  return NULL;
99156 }
99157 
99158 
99159 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_NeuralModule_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99160  PyObject *resultobj = 0;
99161  CStdPtrMap< std::string,NeuralModule > *arg1 = (CStdPtrMap< std::string,NeuralModule > *) 0 ;
99162  void *argp1 = 0 ;
99163  int res1 = 0 ;
99164  PyObject * obj0 = 0 ;
99165 
99166  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_NeuralModule_clear",&obj0)) SWIG_fail;
99167  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_NeuralModule_t, 0 | 0 );
99168  if (!SWIG_IsOK(res1)) {
99169  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_NeuralModule_clear" "', argument " "1"" of type '" "CStdPtrMap< std::string,NeuralModule > *""'");
99170  }
99171  arg1 = reinterpret_cast< CStdPtrMap< std::string,NeuralModule > * >(argp1);
99172  (arg1)->clear();
99173  resultobj = SWIG_Py_Void();
99174  return resultobj;
99175 fail:
99176  return NULL;
99177 }
99178 
99179 
99180 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_NeuralModule_erase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99181  PyObject *resultobj = 0;
99182  CStdPtrMap< std::string,NeuralModule > *arg1 = (CStdPtrMap< std::string,NeuralModule > *) 0 ;
99183  std::string *arg2 = 0 ;
99184  void *argp1 = 0 ;
99185  int res1 = 0 ;
99186  int res2 = SWIG_OLDOBJ ;
99187  PyObject * obj0 = 0 ;
99188  PyObject * obj1 = 0 ;
99189  std::map< std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > >::size_type result;
99190 
99191  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrMap_string_NeuralModule_erase",&obj0,&obj1)) SWIG_fail;
99192  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_NeuralModule_t, 0 | 0 );
99193  if (!SWIG_IsOK(res1)) {
99194  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_NeuralModule_erase" "', argument " "1"" of type '" "CStdPtrMap< std::string,NeuralModule > *""'");
99195  }
99196  arg1 = reinterpret_cast< CStdPtrMap< std::string,NeuralModule > * >(argp1);
99197  {
99198  std::string *ptr = (std::string *)0;
99199  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
99200  if (!SWIG_IsOK(res2)) {
99201  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrMap_string_NeuralModule_erase" "', argument " "2"" of type '" "std::string const &""'");
99202  }
99203  if (!ptr) {
99204  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPtrMap_string_NeuralModule_erase" "', argument " "2"" of type '" "std::string const &""'");
99205  }
99206  arg2 = ptr;
99207  }
99208  result = (arg1)->erase((std::string const &)*arg2);
99209  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
99210  if (SWIG_IsNewObj(res2)) delete arg2;
99211  return resultobj;
99212 fail:
99213  if (SWIG_IsNewObj(res2)) delete arg2;
99214  return NULL;
99215 }
99216 
99217 
99218 SWIGINTERN PyObject *_wrap_new_CStdPtrMap_string_NeuralModule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99219  PyObject *resultobj = 0;
99220  CStdPtrMap< std::string,NeuralModule > *result = 0 ;
99221 
99222  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrMap_string_NeuralModule")) SWIG_fail;
99223  {
99224  try {
99225  result = (CStdPtrMap< std::string,NeuralModule > *)new CStdPtrMap< std::string,NeuralModule >();
99226  }
99227  catch(CStdErrorInfo oError)
99228  {
99229  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
99230  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
99231  PyErr_SetString(PyExc_IndexError, strError.c_str());
99232  SWIG_fail;
99233  }
99234  catch(...)
99235  {
99236  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
99237  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
99238  SWIG_fail;
99239  }
99240  }
99241  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrMapT_std__string_NeuralModule_t, SWIG_POINTER_NEW | 0 );
99242  return resultobj;
99243 fail:
99244  return NULL;
99245 }
99246 
99247 
99248 SWIGINTERN PyObject *CStdPtrMap_string_NeuralModule_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99249  PyObject *obj;
99250  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
99251  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrMapT_std__string_NeuralModule_t, SWIG_NewClientData(obj));
99252  return SWIG_Py_Void();
99253 }
99254 
99255 SWIGINTERN PyObject *_wrap_delete_CStdPtrMap_string_Odor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99256  PyObject *resultobj = 0;
99257  CStdPtrMap< std::string,Odor > *arg1 = (CStdPtrMap< std::string,Odor > *) 0 ;
99258  void *argp1 = 0 ;
99259  int res1 = 0 ;
99260  PyObject * obj0 = 0 ;
99261 
99262  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrMap_string_Odor",&obj0)) SWIG_fail;
99263  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Odor_t, SWIG_POINTER_DISOWN | 0 );
99264  if (!SWIG_IsOK(res1)) {
99265  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrMap_string_Odor" "', argument " "1"" of type '" "CStdPtrMap< std::string,Odor > *""'");
99266  }
99267  arg1 = reinterpret_cast< CStdPtrMap< std::string,Odor > * >(argp1);
99268  delete arg1;
99269  resultobj = SWIG_Py_Void();
99270  return resultobj;
99271 fail:
99272  return NULL;
99273 }
99274 
99275 
99276 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Odor_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99277  PyObject *resultobj = 0;
99278  CStdPtrMap< std::string,Odor > *arg1 = (CStdPtrMap< std::string,Odor > *) 0 ;
99279  std::string arg2 ;
99280  Odor *arg3 = (Odor *) 0 ;
99281  void *argp1 = 0 ;
99282  int res1 = 0 ;
99283  void *argp3 = 0 ;
99284  int res3 = 0 ;
99285  PyObject * obj0 = 0 ;
99286  PyObject * obj1 = 0 ;
99287  PyObject * obj2 = 0 ;
99288 
99289  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrMap_string_Odor_Add",&obj0,&obj1,&obj2)) SWIG_fail;
99290  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Odor_t, 0 | 0 );
99291  if (!SWIG_IsOK(res1)) {
99292  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Odor_Add" "', argument " "1"" of type '" "CStdPtrMap< std::string,Odor > *""'");
99293  }
99294  arg1 = reinterpret_cast< CStdPtrMap< std::string,Odor > * >(argp1);
99295  {
99296  std::string *ptr = (std::string *)0;
99297  int res = SWIG_AsPtr_std_string(obj1, &ptr);
99298  if (!SWIG_IsOK(res) || !ptr) {
99299  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdPtrMap_string_Odor_Add" "', argument " "2"" of type '" "std::string""'");
99300  }
99301  arg2 = *ptr;
99302  if (SWIG_IsNewObj(res)) delete ptr;
99303  }
99304  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Odor, 0 | 0 );
99305  if (!SWIG_IsOK(res3)) {
99306  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrMap_string_Odor_Add" "', argument " "3"" of type '" "Odor *""'");
99307  }
99308  arg3 = reinterpret_cast< Odor * >(argp3);
99309  (arg1)->Add(arg2,arg3);
99310  resultobj = SWIG_Py_Void();
99311  return resultobj;
99312 fail:
99313  return NULL;
99314 }
99315 
99316 
99317 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Odor_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99318  PyObject *resultobj = 0;
99319  CStdPtrMap< std::string,Odor > *arg1 = (CStdPtrMap< std::string,Odor > *) 0 ;
99320  void *argp1 = 0 ;
99321  int res1 = 0 ;
99322  PyObject * obj0 = 0 ;
99323 
99324  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_Odor_RemoveAll",&obj0)) SWIG_fail;
99325  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Odor_t, 0 | 0 );
99326  if (!SWIG_IsOK(res1)) {
99327  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Odor_RemoveAll" "', argument " "1"" of type '" "CStdPtrMap< std::string,Odor > *""'");
99328  }
99329  arg1 = reinterpret_cast< CStdPtrMap< std::string,Odor > * >(argp1);
99330  (arg1)->RemoveAll();
99331  resultobj = SWIG_Py_Void();
99332  return resultobj;
99333 fail:
99334  return NULL;
99335 }
99336 
99337 
99338 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Odor_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99339  PyObject *resultobj = 0;
99340  CStdPtrMap< std::string,Odor > *arg1 = (CStdPtrMap< std::string,Odor > *) 0 ;
99341  std::string *arg2 = 0 ;
99342  void *argp1 = 0 ;
99343  int res1 = 0 ;
99344  int res2 = SWIG_OLDOBJ ;
99345  PyObject * obj0 = 0 ;
99346  PyObject * obj1 = 0 ;
99347 
99348  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrMap_string_Odor_Remove",&obj0,&obj1)) SWIG_fail;
99349  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Odor_t, 0 | 0 );
99350  if (!SWIG_IsOK(res1)) {
99351  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Odor_Remove" "', argument " "1"" of type '" "CStdPtrMap< std::string,Odor > *""'");
99352  }
99353  arg1 = reinterpret_cast< CStdPtrMap< std::string,Odor > * >(argp1);
99354  {
99355  std::string *ptr = (std::string *)0;
99356  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
99357  if (!SWIG_IsOK(res2)) {
99358  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrMap_string_Odor_Remove" "', argument " "2"" of type '" "std::string const &""'");
99359  }
99360  if (!ptr) {
99361  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPtrMap_string_Odor_Remove" "', argument " "2"" of type '" "std::string const &""'");
99362  }
99363  arg2 = ptr;
99364  }
99365  (arg1)->Remove((std::string const &)*arg2);
99366  resultobj = SWIG_Py_Void();
99367  if (SWIG_IsNewObj(res2)) delete arg2;
99368  return resultobj;
99369 fail:
99370  if (SWIG_IsNewObj(res2)) delete arg2;
99371  return NULL;
99372 }
99373 
99374 
99375 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Odor_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99376  PyObject *resultobj = 0;
99377  CStdPtrMap< std::string,Odor > *arg1 = (CStdPtrMap< std::string,Odor > *) 0 ;
99378  void *argp1 = 0 ;
99379  int res1 = 0 ;
99380  PyObject * obj0 = 0 ;
99381  int result;
99382 
99383  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_Odor_GetSize",&obj0)) SWIG_fail;
99384  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Odor_t, 0 | 0 );
99385  if (!SWIG_IsOK(res1)) {
99386  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Odor_GetSize" "', argument " "1"" of type '" "CStdPtrMap< std::string,Odor > *""'");
99387  }
99388  arg1 = reinterpret_cast< CStdPtrMap< std::string,Odor > * >(argp1);
99389  result = (int)(arg1)->GetSize();
99390  resultobj = SWIG_From_int(static_cast< int >(result));
99391  return resultobj;
99392 fail:
99393  return NULL;
99394 }
99395 
99396 
99397 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Odor_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99398  PyObject *resultobj = 0;
99399  CStdPtrMap< std::string,Odor > *arg1 = (CStdPtrMap< std::string,Odor > *) 0 ;
99400  void *argp1 = 0 ;
99401  int res1 = 0 ;
99402  PyObject * obj0 = 0 ;
99403 
99404  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_Odor_Clear",&obj0)) SWIG_fail;
99405  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Odor_t, 0 | 0 );
99406  if (!SWIG_IsOK(res1)) {
99407  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Odor_Clear" "', argument " "1"" of type '" "CStdPtrMap< std::string,Odor > *""'");
99408  }
99409  arg1 = reinterpret_cast< CStdPtrMap< std::string,Odor > * >(argp1);
99410  (arg1)->Clear();
99411  resultobj = SWIG_Py_Void();
99412  return resultobj;
99413 fail:
99414  return NULL;
99415 }
99416 
99417 
99418 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Odor_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99419  PyObject *resultobj = 0;
99420  CStdPtrMap< std::string,Odor > *arg1 = (CStdPtrMap< std::string,Odor > *) 0 ;
99421  void *argp1 = 0 ;
99422  int res1 = 0 ;
99423  PyObject * obj0 = 0 ;
99424 
99425  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_Odor_clear",&obj0)) SWIG_fail;
99426  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Odor_t, 0 | 0 );
99427  if (!SWIG_IsOK(res1)) {
99428  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Odor_clear" "', argument " "1"" of type '" "CStdPtrMap< std::string,Odor > *""'");
99429  }
99430  arg1 = reinterpret_cast< CStdPtrMap< std::string,Odor > * >(argp1);
99431  (arg1)->clear();
99432  resultobj = SWIG_Py_Void();
99433  return resultobj;
99434 fail:
99435  return NULL;
99436 }
99437 
99438 
99439 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Odor_erase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99440  PyObject *resultobj = 0;
99441  CStdPtrMap< std::string,Odor > *arg1 = (CStdPtrMap< std::string,Odor > *) 0 ;
99442  std::string *arg2 = 0 ;
99443  void *argp1 = 0 ;
99444  int res1 = 0 ;
99445  int res2 = SWIG_OLDOBJ ;
99446  PyObject * obj0 = 0 ;
99447  PyObject * obj1 = 0 ;
99448  std::map< std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > >::size_type result;
99449 
99450  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrMap_string_Odor_erase",&obj0,&obj1)) SWIG_fail;
99451  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Odor_t, 0 | 0 );
99452  if (!SWIG_IsOK(res1)) {
99453  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Odor_erase" "', argument " "1"" of type '" "CStdPtrMap< std::string,Odor > *""'");
99454  }
99455  arg1 = reinterpret_cast< CStdPtrMap< std::string,Odor > * >(argp1);
99456  {
99457  std::string *ptr = (std::string *)0;
99458  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
99459  if (!SWIG_IsOK(res2)) {
99460  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrMap_string_Odor_erase" "', argument " "2"" of type '" "std::string const &""'");
99461  }
99462  if (!ptr) {
99463  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPtrMap_string_Odor_erase" "', argument " "2"" of type '" "std::string const &""'");
99464  }
99465  arg2 = ptr;
99466  }
99467  result = (arg1)->erase((std::string const &)*arg2);
99468  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
99469  if (SWIG_IsNewObj(res2)) delete arg2;
99470  return resultobj;
99471 fail:
99472  if (SWIG_IsNewObj(res2)) delete arg2;
99473  return NULL;
99474 }
99475 
99476 
99477 SWIGINTERN PyObject *_wrap_new_CStdPtrMap_string_Odor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99478  PyObject *resultobj = 0;
99479  CStdPtrMap< std::string,Odor > *result = 0 ;
99480 
99481  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrMap_string_Odor")) SWIG_fail;
99482  {
99483  try {
99484  result = (CStdPtrMap< std::string,Odor > *)new CStdPtrMap< std::string,Odor >();
99485  }
99486  catch(CStdErrorInfo oError)
99487  {
99488  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
99489  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
99490  PyErr_SetString(PyExc_IndexError, strError.c_str());
99491  SWIG_fail;
99492  }
99493  catch(...)
99494  {
99495  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
99496  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
99497  SWIG_fail;
99498  }
99499  }
99500  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrMapT_std__string_Odor_t, SWIG_POINTER_NEW | 0 );
99501  return resultobj;
99502 fail:
99503  return NULL;
99504 }
99505 
99506 
99507 SWIGINTERN PyObject *CStdPtrMap_string_Odor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99508  PyObject *obj;
99509  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
99510  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrMapT_std__string_Odor_t, SWIG_NewClientData(obj));
99511  return SWIG_Py_Void();
99512 }
99513 
99514 SWIGINTERN PyObject *_wrap_delete_CStdPtrMap_string_OdorType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99515  PyObject *resultobj = 0;
99516  CStdPtrMap< std::string,OdorType > *arg1 = (CStdPtrMap< std::string,OdorType > *) 0 ;
99517  void *argp1 = 0 ;
99518  int res1 = 0 ;
99519  PyObject * obj0 = 0 ;
99520 
99521  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrMap_string_OdorType",&obj0)) SWIG_fail;
99522  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_OdorType_t, SWIG_POINTER_DISOWN | 0 );
99523  if (!SWIG_IsOK(res1)) {
99524  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrMap_string_OdorType" "', argument " "1"" of type '" "CStdPtrMap< std::string,OdorType > *""'");
99525  }
99526  arg1 = reinterpret_cast< CStdPtrMap< std::string,OdorType > * >(argp1);
99527  delete arg1;
99528  resultobj = SWIG_Py_Void();
99529  return resultobj;
99530 fail:
99531  return NULL;
99532 }
99533 
99534 
99535 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_OdorType_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99536  PyObject *resultobj = 0;
99537  CStdPtrMap< std::string,OdorType > *arg1 = (CStdPtrMap< std::string,OdorType > *) 0 ;
99538  std::string arg2 ;
99539  OdorType *arg3 = (OdorType *) 0 ;
99540  void *argp1 = 0 ;
99541  int res1 = 0 ;
99542  void *argp3 = 0 ;
99543  int res3 = 0 ;
99544  PyObject * obj0 = 0 ;
99545  PyObject * obj1 = 0 ;
99546  PyObject * obj2 = 0 ;
99547 
99548  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrMap_string_OdorType_Add",&obj0,&obj1,&obj2)) SWIG_fail;
99549  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_OdorType_t, 0 | 0 );
99550  if (!SWIG_IsOK(res1)) {
99551  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_OdorType_Add" "', argument " "1"" of type '" "CStdPtrMap< std::string,OdorType > *""'");
99552  }
99553  arg1 = reinterpret_cast< CStdPtrMap< std::string,OdorType > * >(argp1);
99554  {
99555  std::string *ptr = (std::string *)0;
99556  int res = SWIG_AsPtr_std_string(obj1, &ptr);
99557  if (!SWIG_IsOK(res) || !ptr) {
99558  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdPtrMap_string_OdorType_Add" "', argument " "2"" of type '" "std::string""'");
99559  }
99560  arg2 = *ptr;
99561  if (SWIG_IsNewObj(res)) delete ptr;
99562  }
99563  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_OdorType, 0 | 0 );
99564  if (!SWIG_IsOK(res3)) {
99565  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrMap_string_OdorType_Add" "', argument " "3"" of type '" "OdorType *""'");
99566  }
99567  arg3 = reinterpret_cast< OdorType * >(argp3);
99568  (arg1)->Add(arg2,arg3);
99569  resultobj = SWIG_Py_Void();
99570  return resultobj;
99571 fail:
99572  return NULL;
99573 }
99574 
99575 
99576 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_OdorType_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99577  PyObject *resultobj = 0;
99578  CStdPtrMap< std::string,OdorType > *arg1 = (CStdPtrMap< std::string,OdorType > *) 0 ;
99579  void *argp1 = 0 ;
99580  int res1 = 0 ;
99581  PyObject * obj0 = 0 ;
99582 
99583  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_OdorType_RemoveAll",&obj0)) SWIG_fail;
99584  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_OdorType_t, 0 | 0 );
99585  if (!SWIG_IsOK(res1)) {
99586  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_OdorType_RemoveAll" "', argument " "1"" of type '" "CStdPtrMap< std::string,OdorType > *""'");
99587  }
99588  arg1 = reinterpret_cast< CStdPtrMap< std::string,OdorType > * >(argp1);
99589  (arg1)->RemoveAll();
99590  resultobj = SWIG_Py_Void();
99591  return resultobj;
99592 fail:
99593  return NULL;
99594 }
99595 
99596 
99597 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_OdorType_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99598  PyObject *resultobj = 0;
99599  CStdPtrMap< std::string,OdorType > *arg1 = (CStdPtrMap< std::string,OdorType > *) 0 ;
99600  std::string *arg2 = 0 ;
99601  void *argp1 = 0 ;
99602  int res1 = 0 ;
99603  int res2 = SWIG_OLDOBJ ;
99604  PyObject * obj0 = 0 ;
99605  PyObject * obj1 = 0 ;
99606 
99607  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrMap_string_OdorType_Remove",&obj0,&obj1)) SWIG_fail;
99608  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_OdorType_t, 0 | 0 );
99609  if (!SWIG_IsOK(res1)) {
99610  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_OdorType_Remove" "', argument " "1"" of type '" "CStdPtrMap< std::string,OdorType > *""'");
99611  }
99612  arg1 = reinterpret_cast< CStdPtrMap< std::string,OdorType > * >(argp1);
99613  {
99614  std::string *ptr = (std::string *)0;
99615  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
99616  if (!SWIG_IsOK(res2)) {
99617  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrMap_string_OdorType_Remove" "', argument " "2"" of type '" "std::string const &""'");
99618  }
99619  if (!ptr) {
99620  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPtrMap_string_OdorType_Remove" "', argument " "2"" of type '" "std::string const &""'");
99621  }
99622  arg2 = ptr;
99623  }
99624  (arg1)->Remove((std::string const &)*arg2);
99625  resultobj = SWIG_Py_Void();
99626  if (SWIG_IsNewObj(res2)) delete arg2;
99627  return resultobj;
99628 fail:
99629  if (SWIG_IsNewObj(res2)) delete arg2;
99630  return NULL;
99631 }
99632 
99633 
99634 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_OdorType_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99635  PyObject *resultobj = 0;
99636  CStdPtrMap< std::string,OdorType > *arg1 = (CStdPtrMap< std::string,OdorType > *) 0 ;
99637  void *argp1 = 0 ;
99638  int res1 = 0 ;
99639  PyObject * obj0 = 0 ;
99640  int result;
99641 
99642  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_OdorType_GetSize",&obj0)) SWIG_fail;
99643  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_OdorType_t, 0 | 0 );
99644  if (!SWIG_IsOK(res1)) {
99645  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_OdorType_GetSize" "', argument " "1"" of type '" "CStdPtrMap< std::string,OdorType > *""'");
99646  }
99647  arg1 = reinterpret_cast< CStdPtrMap< std::string,OdorType > * >(argp1);
99648  result = (int)(arg1)->GetSize();
99649  resultobj = SWIG_From_int(static_cast< int >(result));
99650  return resultobj;
99651 fail:
99652  return NULL;
99653 }
99654 
99655 
99656 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_OdorType_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99657  PyObject *resultobj = 0;
99658  CStdPtrMap< std::string,OdorType > *arg1 = (CStdPtrMap< std::string,OdorType > *) 0 ;
99659  void *argp1 = 0 ;
99660  int res1 = 0 ;
99661  PyObject * obj0 = 0 ;
99662 
99663  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_OdorType_Clear",&obj0)) SWIG_fail;
99664  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_OdorType_t, 0 | 0 );
99665  if (!SWIG_IsOK(res1)) {
99666  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_OdorType_Clear" "', argument " "1"" of type '" "CStdPtrMap< std::string,OdorType > *""'");
99667  }
99668  arg1 = reinterpret_cast< CStdPtrMap< std::string,OdorType > * >(argp1);
99669  (arg1)->Clear();
99670  resultobj = SWIG_Py_Void();
99671  return resultobj;
99672 fail:
99673  return NULL;
99674 }
99675 
99676 
99677 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_OdorType_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99678  PyObject *resultobj = 0;
99679  CStdPtrMap< std::string,OdorType > *arg1 = (CStdPtrMap< std::string,OdorType > *) 0 ;
99680  void *argp1 = 0 ;
99681  int res1 = 0 ;
99682  PyObject * obj0 = 0 ;
99683 
99684  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_OdorType_clear",&obj0)) SWIG_fail;
99685  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_OdorType_t, 0 | 0 );
99686  if (!SWIG_IsOK(res1)) {
99687  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_OdorType_clear" "', argument " "1"" of type '" "CStdPtrMap< std::string,OdorType > *""'");
99688  }
99689  arg1 = reinterpret_cast< CStdPtrMap< std::string,OdorType > * >(argp1);
99690  (arg1)->clear();
99691  resultobj = SWIG_Py_Void();
99692  return resultobj;
99693 fail:
99694  return NULL;
99695 }
99696 
99697 
99698 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_OdorType_erase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99699  PyObject *resultobj = 0;
99700  CStdPtrMap< std::string,OdorType > *arg1 = (CStdPtrMap< std::string,OdorType > *) 0 ;
99701  std::string *arg2 = 0 ;
99702  void *argp1 = 0 ;
99703  int res1 = 0 ;
99704  int res2 = SWIG_OLDOBJ ;
99705  PyObject * obj0 = 0 ;
99706  PyObject * obj1 = 0 ;
99707  std::map< std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > >::size_type result;
99708 
99709  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrMap_string_OdorType_erase",&obj0,&obj1)) SWIG_fail;
99710  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_OdorType_t, 0 | 0 );
99711  if (!SWIG_IsOK(res1)) {
99712  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_OdorType_erase" "', argument " "1"" of type '" "CStdPtrMap< std::string,OdorType > *""'");
99713  }
99714  arg1 = reinterpret_cast< CStdPtrMap< std::string,OdorType > * >(argp1);
99715  {
99716  std::string *ptr = (std::string *)0;
99717  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
99718  if (!SWIG_IsOK(res2)) {
99719  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrMap_string_OdorType_erase" "', argument " "2"" of type '" "std::string const &""'");
99720  }
99721  if (!ptr) {
99722  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPtrMap_string_OdorType_erase" "', argument " "2"" of type '" "std::string const &""'");
99723  }
99724  arg2 = ptr;
99725  }
99726  result = (arg1)->erase((std::string const &)*arg2);
99727  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
99728  if (SWIG_IsNewObj(res2)) delete arg2;
99729  return resultobj;
99730 fail:
99731  if (SWIG_IsNewObj(res2)) delete arg2;
99732  return NULL;
99733 }
99734 
99735 
99736 SWIGINTERN PyObject *_wrap_new_CStdPtrMap_string_OdorType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99737  PyObject *resultobj = 0;
99738  CStdPtrMap< std::string,OdorType > *result = 0 ;
99739 
99740  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrMap_string_OdorType")) SWIG_fail;
99741  {
99742  try {
99743  result = (CStdPtrMap< std::string,OdorType > *)new CStdPtrMap< std::string,OdorType >();
99744  }
99745  catch(CStdErrorInfo oError)
99746  {
99747  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
99748  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
99749  PyErr_SetString(PyExc_IndexError, strError.c_str());
99750  SWIG_fail;
99751  }
99752  catch(...)
99753  {
99754  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
99755  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
99756  SWIG_fail;
99757  }
99758  }
99759  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrMapT_std__string_OdorType_t, SWIG_POINTER_NEW | 0 );
99760  return resultobj;
99761 fail:
99762  return NULL;
99763 }
99764 
99765 
99766 SWIGINTERN PyObject *CStdPtrMap_string_OdorType_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99767  PyObject *obj;
99768  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
99769  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrMapT_std__string_OdorType_t, SWIG_NewClientData(obj));
99770  return SWIG_Py_Void();
99771 }
99772 
99773 SWIGINTERN PyObject *_wrap_delete_CStdPtrMap_string_Organism(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99774  PyObject *resultobj = 0;
99775  CStdPtrMap< std::string,Organism > *arg1 = (CStdPtrMap< std::string,Organism > *) 0 ;
99776  void *argp1 = 0 ;
99777  int res1 = 0 ;
99778  PyObject * obj0 = 0 ;
99779 
99780  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrMap_string_Organism",&obj0)) SWIG_fail;
99781  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Organism_t, SWIG_POINTER_DISOWN | 0 );
99782  if (!SWIG_IsOK(res1)) {
99783  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrMap_string_Organism" "', argument " "1"" of type '" "CStdPtrMap< std::string,Organism > *""'");
99784  }
99785  arg1 = reinterpret_cast< CStdPtrMap< std::string,Organism > * >(argp1);
99786  delete arg1;
99787  resultobj = SWIG_Py_Void();
99788  return resultobj;
99789 fail:
99790  return NULL;
99791 }
99792 
99793 
99794 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Organism_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99795  PyObject *resultobj = 0;
99796  CStdPtrMap< std::string,Organism > *arg1 = (CStdPtrMap< std::string,Organism > *) 0 ;
99797  std::string arg2 ;
99798  Organism *arg3 = (Organism *) 0 ;
99799  void *argp1 = 0 ;
99800  int res1 = 0 ;
99801  void *argp3 = 0 ;
99802  int res3 = 0 ;
99803  PyObject * obj0 = 0 ;
99804  PyObject * obj1 = 0 ;
99805  PyObject * obj2 = 0 ;
99806 
99807  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrMap_string_Organism_Add",&obj0,&obj1,&obj2)) SWIG_fail;
99808  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Organism_t, 0 | 0 );
99809  if (!SWIG_IsOK(res1)) {
99810  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Organism_Add" "', argument " "1"" of type '" "CStdPtrMap< std::string,Organism > *""'");
99811  }
99812  arg1 = reinterpret_cast< CStdPtrMap< std::string,Organism > * >(argp1);
99813  {
99814  std::string *ptr = (std::string *)0;
99815  int res = SWIG_AsPtr_std_string(obj1, &ptr);
99816  if (!SWIG_IsOK(res) || !ptr) {
99817  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdPtrMap_string_Organism_Add" "', argument " "2"" of type '" "std::string""'");
99818  }
99819  arg2 = *ptr;
99820  if (SWIG_IsNewObj(res)) delete ptr;
99821  }
99822  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Organism, 0 | 0 );
99823  if (!SWIG_IsOK(res3)) {
99824  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrMap_string_Organism_Add" "', argument " "3"" of type '" "Organism *""'");
99825  }
99826  arg3 = reinterpret_cast< Organism * >(argp3);
99827  (arg1)->Add(arg2,arg3);
99828  resultobj = SWIG_Py_Void();
99829  return resultobj;
99830 fail:
99831  return NULL;
99832 }
99833 
99834 
99835 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Organism_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99836  PyObject *resultobj = 0;
99837  CStdPtrMap< std::string,Organism > *arg1 = (CStdPtrMap< std::string,Organism > *) 0 ;
99838  void *argp1 = 0 ;
99839  int res1 = 0 ;
99840  PyObject * obj0 = 0 ;
99841 
99842  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_Organism_RemoveAll",&obj0)) SWIG_fail;
99843  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Organism_t, 0 | 0 );
99844  if (!SWIG_IsOK(res1)) {
99845  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Organism_RemoveAll" "', argument " "1"" of type '" "CStdPtrMap< std::string,Organism > *""'");
99846  }
99847  arg1 = reinterpret_cast< CStdPtrMap< std::string,Organism > * >(argp1);
99848  (arg1)->RemoveAll();
99849  resultobj = SWIG_Py_Void();
99850  return resultobj;
99851 fail:
99852  return NULL;
99853 }
99854 
99855 
99856 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Organism_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99857  PyObject *resultobj = 0;
99858  CStdPtrMap< std::string,Organism > *arg1 = (CStdPtrMap< std::string,Organism > *) 0 ;
99859  std::string *arg2 = 0 ;
99860  void *argp1 = 0 ;
99861  int res1 = 0 ;
99862  int res2 = SWIG_OLDOBJ ;
99863  PyObject * obj0 = 0 ;
99864  PyObject * obj1 = 0 ;
99865 
99866  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrMap_string_Organism_Remove",&obj0,&obj1)) SWIG_fail;
99867  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Organism_t, 0 | 0 );
99868  if (!SWIG_IsOK(res1)) {
99869  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Organism_Remove" "', argument " "1"" of type '" "CStdPtrMap< std::string,Organism > *""'");
99870  }
99871  arg1 = reinterpret_cast< CStdPtrMap< std::string,Organism > * >(argp1);
99872  {
99873  std::string *ptr = (std::string *)0;
99874  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
99875  if (!SWIG_IsOK(res2)) {
99876  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrMap_string_Organism_Remove" "', argument " "2"" of type '" "std::string const &""'");
99877  }
99878  if (!ptr) {
99879  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPtrMap_string_Organism_Remove" "', argument " "2"" of type '" "std::string const &""'");
99880  }
99881  arg2 = ptr;
99882  }
99883  (arg1)->Remove((std::string const &)*arg2);
99884  resultobj = SWIG_Py_Void();
99885  if (SWIG_IsNewObj(res2)) delete arg2;
99886  return resultobj;
99887 fail:
99888  if (SWIG_IsNewObj(res2)) delete arg2;
99889  return NULL;
99890 }
99891 
99892 
99893 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Organism_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99894  PyObject *resultobj = 0;
99895  CStdPtrMap< std::string,Organism > *arg1 = (CStdPtrMap< std::string,Organism > *) 0 ;
99896  void *argp1 = 0 ;
99897  int res1 = 0 ;
99898  PyObject * obj0 = 0 ;
99899  int result;
99900 
99901  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_Organism_GetSize",&obj0)) SWIG_fail;
99902  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Organism_t, 0 | 0 );
99903  if (!SWIG_IsOK(res1)) {
99904  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Organism_GetSize" "', argument " "1"" of type '" "CStdPtrMap< std::string,Organism > *""'");
99905  }
99906  arg1 = reinterpret_cast< CStdPtrMap< std::string,Organism > * >(argp1);
99907  result = (int)(arg1)->GetSize();
99908  resultobj = SWIG_From_int(static_cast< int >(result));
99909  return resultobj;
99910 fail:
99911  return NULL;
99912 }
99913 
99914 
99915 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Organism_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99916  PyObject *resultobj = 0;
99917  CStdPtrMap< std::string,Organism > *arg1 = (CStdPtrMap< std::string,Organism > *) 0 ;
99918  void *argp1 = 0 ;
99919  int res1 = 0 ;
99920  PyObject * obj0 = 0 ;
99921 
99922  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_Organism_Clear",&obj0)) SWIG_fail;
99923  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Organism_t, 0 | 0 );
99924  if (!SWIG_IsOK(res1)) {
99925  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Organism_Clear" "', argument " "1"" of type '" "CStdPtrMap< std::string,Organism > *""'");
99926  }
99927  arg1 = reinterpret_cast< CStdPtrMap< std::string,Organism > * >(argp1);
99928  (arg1)->Clear();
99929  resultobj = SWIG_Py_Void();
99930  return resultobj;
99931 fail:
99932  return NULL;
99933 }
99934 
99935 
99936 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Organism_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99937  PyObject *resultobj = 0;
99938  CStdPtrMap< std::string,Organism > *arg1 = (CStdPtrMap< std::string,Organism > *) 0 ;
99939  void *argp1 = 0 ;
99940  int res1 = 0 ;
99941  PyObject * obj0 = 0 ;
99942 
99943  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_Organism_clear",&obj0)) SWIG_fail;
99944  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Organism_t, 0 | 0 );
99945  if (!SWIG_IsOK(res1)) {
99946  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Organism_clear" "', argument " "1"" of type '" "CStdPtrMap< std::string,Organism > *""'");
99947  }
99948  arg1 = reinterpret_cast< CStdPtrMap< std::string,Organism > * >(argp1);
99949  (arg1)->clear();
99950  resultobj = SWIG_Py_Void();
99951  return resultobj;
99952 fail:
99953  return NULL;
99954 }
99955 
99956 
99957 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Organism_erase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99958  PyObject *resultobj = 0;
99959  CStdPtrMap< std::string,Organism > *arg1 = (CStdPtrMap< std::string,Organism > *) 0 ;
99960  std::string *arg2 = 0 ;
99961  void *argp1 = 0 ;
99962  int res1 = 0 ;
99963  int res2 = SWIG_OLDOBJ ;
99964  PyObject * obj0 = 0 ;
99965  PyObject * obj1 = 0 ;
99966  std::map< std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > >::size_type result;
99967 
99968  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrMap_string_Organism_erase",&obj0,&obj1)) SWIG_fail;
99969  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Organism_t, 0 | 0 );
99970  if (!SWIG_IsOK(res1)) {
99971  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Organism_erase" "', argument " "1"" of type '" "CStdPtrMap< std::string,Organism > *""'");
99972  }
99973  arg1 = reinterpret_cast< CStdPtrMap< std::string,Organism > * >(argp1);
99974  {
99975  std::string *ptr = (std::string *)0;
99976  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
99977  if (!SWIG_IsOK(res2)) {
99978  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrMap_string_Organism_erase" "', argument " "2"" of type '" "std::string const &""'");
99979  }
99980  if (!ptr) {
99981  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPtrMap_string_Organism_erase" "', argument " "2"" of type '" "std::string const &""'");
99982  }
99983  arg2 = ptr;
99984  }
99985  result = (arg1)->erase((std::string const &)*arg2);
99986  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
99987  if (SWIG_IsNewObj(res2)) delete arg2;
99988  return resultobj;
99989 fail:
99990  if (SWIG_IsNewObj(res2)) delete arg2;
99991  return NULL;
99992 }
99993 
99994 
99995 SWIGINTERN PyObject *_wrap_new_CStdPtrMap_string_Organism(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
99996  PyObject *resultobj = 0;
99997  CStdPtrMap< std::string,Organism > *result = 0 ;
99998 
99999  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrMap_string_Organism")) SWIG_fail;
100000  {
100001  try {
100002  result = (CStdPtrMap< std::string,Organism > *)new CStdPtrMap< std::string,Organism >();
100003  }
100004  catch(CStdErrorInfo oError)
100005  {
100006  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
100007  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
100008  PyErr_SetString(PyExc_IndexError, strError.c_str());
100009  SWIG_fail;
100010  }
100011  catch(...)
100012  {
100013  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
100014  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
100015  SWIG_fail;
100016  }
100017  }
100018  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrMapT_std__string_Organism_t, SWIG_POINTER_NEW | 0 );
100019  return resultobj;
100020 fail:
100021  return NULL;
100022 }
100023 
100024 
100025 SWIGINTERN PyObject *CStdPtrMap_string_Organism_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100026  PyObject *obj;
100027  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
100028  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrMapT_std__string_Organism_t, SWIG_NewClientData(obj));
100029  return SWIG_Py_Void();
100030 }
100031 
100032 SWIGINTERN PyObject *_wrap_delete_CStdPtrMap_string_Structure(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100033  PyObject *resultobj = 0;
100034  CStdPtrMap< std::string,Structure > *arg1 = (CStdPtrMap< std::string,Structure > *) 0 ;
100035  void *argp1 = 0 ;
100036  int res1 = 0 ;
100037  PyObject * obj0 = 0 ;
100038 
100039  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPtrMap_string_Structure",&obj0)) SWIG_fail;
100040  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Structure_t, SWIG_POINTER_DISOWN | 0 );
100041  if (!SWIG_IsOK(res1)) {
100042  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPtrMap_string_Structure" "', argument " "1"" of type '" "CStdPtrMap< std::string,Structure > *""'");
100043  }
100044  arg1 = reinterpret_cast< CStdPtrMap< std::string,Structure > * >(argp1);
100045  delete arg1;
100046  resultobj = SWIG_Py_Void();
100047  return resultobj;
100048 fail:
100049  return NULL;
100050 }
100051 
100052 
100053 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Structure_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100054  PyObject *resultobj = 0;
100055  CStdPtrMap< std::string,Structure > *arg1 = (CStdPtrMap< std::string,Structure > *) 0 ;
100056  std::string arg2 ;
100057  Structure *arg3 = (Structure *) 0 ;
100058  void *argp1 = 0 ;
100059  int res1 = 0 ;
100060  void *argp3 = 0 ;
100061  int res3 = 0 ;
100062  PyObject * obj0 = 0 ;
100063  PyObject * obj1 = 0 ;
100064  PyObject * obj2 = 0 ;
100065 
100066  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPtrMap_string_Structure_Add",&obj0,&obj1,&obj2)) SWIG_fail;
100067  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Structure_t, 0 | 0 );
100068  if (!SWIG_IsOK(res1)) {
100069  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Structure_Add" "', argument " "1"" of type '" "CStdPtrMap< std::string,Structure > *""'");
100070  }
100071  arg1 = reinterpret_cast< CStdPtrMap< std::string,Structure > * >(argp1);
100072  {
100073  std::string *ptr = (std::string *)0;
100074  int res = SWIG_AsPtr_std_string(obj1, &ptr);
100075  if (!SWIG_IsOK(res) || !ptr) {
100076  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdPtrMap_string_Structure_Add" "', argument " "2"" of type '" "std::string""'");
100077  }
100078  arg2 = *ptr;
100079  if (SWIG_IsNewObj(res)) delete ptr;
100080  }
100081  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Structure, 0 | 0 );
100082  if (!SWIG_IsOK(res3)) {
100083  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CStdPtrMap_string_Structure_Add" "', argument " "3"" of type '" "Structure *""'");
100084  }
100085  arg3 = reinterpret_cast< Structure * >(argp3);
100086  (arg1)->Add(arg2,arg3);
100087  resultobj = SWIG_Py_Void();
100088  return resultobj;
100089 fail:
100090  return NULL;
100091 }
100092 
100093 
100094 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Structure_RemoveAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100095  PyObject *resultobj = 0;
100096  CStdPtrMap< std::string,Structure > *arg1 = (CStdPtrMap< std::string,Structure > *) 0 ;
100097  void *argp1 = 0 ;
100098  int res1 = 0 ;
100099  PyObject * obj0 = 0 ;
100100 
100101  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_Structure_RemoveAll",&obj0)) SWIG_fail;
100102  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Structure_t, 0 | 0 );
100103  if (!SWIG_IsOK(res1)) {
100104  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Structure_RemoveAll" "', argument " "1"" of type '" "CStdPtrMap< std::string,Structure > *""'");
100105  }
100106  arg1 = reinterpret_cast< CStdPtrMap< std::string,Structure > * >(argp1);
100107  (arg1)->RemoveAll();
100108  resultobj = SWIG_Py_Void();
100109  return resultobj;
100110 fail:
100111  return NULL;
100112 }
100113 
100114 
100115 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Structure_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100116  PyObject *resultobj = 0;
100117  CStdPtrMap< std::string,Structure > *arg1 = (CStdPtrMap< std::string,Structure > *) 0 ;
100118  std::string *arg2 = 0 ;
100119  void *argp1 = 0 ;
100120  int res1 = 0 ;
100121  int res2 = SWIG_OLDOBJ ;
100122  PyObject * obj0 = 0 ;
100123  PyObject * obj1 = 0 ;
100124 
100125  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrMap_string_Structure_Remove",&obj0,&obj1)) SWIG_fail;
100126  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Structure_t, 0 | 0 );
100127  if (!SWIG_IsOK(res1)) {
100128  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Structure_Remove" "', argument " "1"" of type '" "CStdPtrMap< std::string,Structure > *""'");
100129  }
100130  arg1 = reinterpret_cast< CStdPtrMap< std::string,Structure > * >(argp1);
100131  {
100132  std::string *ptr = (std::string *)0;
100133  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
100134  if (!SWIG_IsOK(res2)) {
100135  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrMap_string_Structure_Remove" "', argument " "2"" of type '" "std::string const &""'");
100136  }
100137  if (!ptr) {
100138  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPtrMap_string_Structure_Remove" "', argument " "2"" of type '" "std::string const &""'");
100139  }
100140  arg2 = ptr;
100141  }
100142  (arg1)->Remove((std::string const &)*arg2);
100143  resultobj = SWIG_Py_Void();
100144  if (SWIG_IsNewObj(res2)) delete arg2;
100145  return resultobj;
100146 fail:
100147  if (SWIG_IsNewObj(res2)) delete arg2;
100148  return NULL;
100149 }
100150 
100151 
100152 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Structure_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100153  PyObject *resultobj = 0;
100154  CStdPtrMap< std::string,Structure > *arg1 = (CStdPtrMap< std::string,Structure > *) 0 ;
100155  void *argp1 = 0 ;
100156  int res1 = 0 ;
100157  PyObject * obj0 = 0 ;
100158  int result;
100159 
100160  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_Structure_GetSize",&obj0)) SWIG_fail;
100161  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Structure_t, 0 | 0 );
100162  if (!SWIG_IsOK(res1)) {
100163  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Structure_GetSize" "', argument " "1"" of type '" "CStdPtrMap< std::string,Structure > *""'");
100164  }
100165  arg1 = reinterpret_cast< CStdPtrMap< std::string,Structure > * >(argp1);
100166  result = (int)(arg1)->GetSize();
100167  resultobj = SWIG_From_int(static_cast< int >(result));
100168  return resultobj;
100169 fail:
100170  return NULL;
100171 }
100172 
100173 
100174 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Structure_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100175  PyObject *resultobj = 0;
100176  CStdPtrMap< std::string,Structure > *arg1 = (CStdPtrMap< std::string,Structure > *) 0 ;
100177  void *argp1 = 0 ;
100178  int res1 = 0 ;
100179  PyObject * obj0 = 0 ;
100180 
100181  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_Structure_Clear",&obj0)) SWIG_fail;
100182  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Structure_t, 0 | 0 );
100183  if (!SWIG_IsOK(res1)) {
100184  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Structure_Clear" "', argument " "1"" of type '" "CStdPtrMap< std::string,Structure > *""'");
100185  }
100186  arg1 = reinterpret_cast< CStdPtrMap< std::string,Structure > * >(argp1);
100187  (arg1)->Clear();
100188  resultobj = SWIG_Py_Void();
100189  return resultobj;
100190 fail:
100191  return NULL;
100192 }
100193 
100194 
100195 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Structure_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100196  PyObject *resultobj = 0;
100197  CStdPtrMap< std::string,Structure > *arg1 = (CStdPtrMap< std::string,Structure > *) 0 ;
100198  void *argp1 = 0 ;
100199  int res1 = 0 ;
100200  PyObject * obj0 = 0 ;
100201 
100202  if (!PyArg_ParseTuple(args,(char *)"O:CStdPtrMap_string_Structure_clear",&obj0)) SWIG_fail;
100203  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Structure_t, 0 | 0 );
100204  if (!SWIG_IsOK(res1)) {
100205  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Structure_clear" "', argument " "1"" of type '" "CStdPtrMap< std::string,Structure > *""'");
100206  }
100207  arg1 = reinterpret_cast< CStdPtrMap< std::string,Structure > * >(argp1);
100208  (arg1)->clear();
100209  resultobj = SWIG_Py_Void();
100210  return resultobj;
100211 fail:
100212  return NULL;
100213 }
100214 
100215 
100216 SWIGINTERN PyObject *_wrap_CStdPtrMap_string_Structure_erase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100217  PyObject *resultobj = 0;
100218  CStdPtrMap< std::string,Structure > *arg1 = (CStdPtrMap< std::string,Structure > *) 0 ;
100219  std::string *arg2 = 0 ;
100220  void *argp1 = 0 ;
100221  int res1 = 0 ;
100222  int res2 = SWIG_OLDOBJ ;
100223  PyObject * obj0 = 0 ;
100224  PyObject * obj1 = 0 ;
100225  std::map< std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > >::size_type result;
100226 
100227  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPtrMap_string_Structure_erase",&obj0,&obj1)) SWIG_fail;
100228  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CStdPtrMapT_std__string_Structure_t, 0 | 0 );
100229  if (!SWIG_IsOK(res1)) {
100230  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPtrMap_string_Structure_erase" "', argument " "1"" of type '" "CStdPtrMap< std::string,Structure > *""'");
100231  }
100232  arg1 = reinterpret_cast< CStdPtrMap< std::string,Structure > * >(argp1);
100233  {
100234  std::string *ptr = (std::string *)0;
100235  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
100236  if (!SWIG_IsOK(res2)) {
100237  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdPtrMap_string_Structure_erase" "', argument " "2"" of type '" "std::string const &""'");
100238  }
100239  if (!ptr) {
100240  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdPtrMap_string_Structure_erase" "', argument " "2"" of type '" "std::string const &""'");
100241  }
100242  arg2 = ptr;
100243  }
100244  result = (arg1)->erase((std::string const &)*arg2);
100245  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
100246  if (SWIG_IsNewObj(res2)) delete arg2;
100247  return resultobj;
100248 fail:
100249  if (SWIG_IsNewObj(res2)) delete arg2;
100250  return NULL;
100251 }
100252 
100253 
100254 SWIGINTERN PyObject *_wrap_new_CStdPtrMap_string_Structure(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100255  PyObject *resultobj = 0;
100256  CStdPtrMap< std::string,Structure > *result = 0 ;
100257 
100258  if (!PyArg_ParseTuple(args,(char *)":new_CStdPtrMap_string_Structure")) SWIG_fail;
100259  {
100260  try {
100261  result = (CStdPtrMap< std::string,Structure > *)new CStdPtrMap< std::string,Structure >();
100262  }
100263  catch(CStdErrorInfo oError)
100264  {
100265  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
100266  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
100267  PyErr_SetString(PyExc_IndexError, strError.c_str());
100268  SWIG_fail;
100269  }
100270  catch(...)
100271  {
100272  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
100273  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
100274  SWIG_fail;
100275  }
100276  }
100277  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrMapT_std__string_Structure_t, SWIG_POINTER_NEW | 0 );
100278  return resultobj;
100279 fail:
100280  return NULL;
100281 }
100282 
100283 
100284 SWIGINTERN PyObject *CStdPtrMap_string_Structure_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100285  PyObject *obj;
100286  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
100287  SWIG_TypeNewClientData(SWIGTYPE_p_CStdPtrMapT_std__string_Structure_t, SWIG_NewClientData(obj));
100288  return SWIG_Py_Void();
100289 }
100290 
100291 SWIGINTERN PyObject *_wrap_new_CStdSerialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100292  PyObject *resultobj = 0;
100293  StdUtils::CStdSerialize *result = 0 ;
100294 
100295  if (!PyArg_ParseTuple(args,(char *)":new_CStdSerialize")) SWIG_fail;
100297  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdSerialize, SWIG_POINTER_NEW | 0 );
100298  return resultobj;
100299 fail:
100300  return NULL;
100301 }
100302 
100303 
100304 SWIGINTERN PyObject *_wrap_delete_CStdSerialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100305  PyObject *resultobj = 0;
100307  void *argp1 = 0 ;
100308  int res1 = 0 ;
100309  PyObject * obj0 = 0 ;
100310 
100311  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdSerialize",&obj0)) SWIG_fail;
100312  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdSerialize, SWIG_POINTER_DISOWN | 0 );
100313  if (!SWIG_IsOK(res1)) {
100314  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdSerialize" "', argument " "1"" of type '" "StdUtils::CStdSerialize *""'");
100315  }
100316  arg1 = reinterpret_cast< StdUtils::CStdSerialize * >(argp1);
100317  delete arg1;
100318  resultobj = SWIG_Py_Void();
100319  return resultobj;
100320 fail:
100321  return NULL;
100322 }
100323 
100324 
100325 SWIGINTERN PyObject *_wrap_CStdSerialize_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100326  PyObject *resultobj = 0;
100328  void *argp1 = 0 ;
100329  int res1 = 0 ;
100330  PyObject * obj0 = 0 ;
100331  StdUtils::CStdSerialize *result = 0 ;
100332 
100333  if (!PyArg_ParseTuple(args,(char *)"O:CStdSerialize_Clone",&obj0)) SWIG_fail;
100334  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
100335  if (!SWIG_IsOK(res1)) {
100336  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdSerialize_Clone" "', argument " "1"" of type '" "StdUtils::CStdSerialize *""'");
100337  }
100338  arg1 = reinterpret_cast< StdUtils::CStdSerialize * >(argp1);
100339  result = (StdUtils::CStdSerialize *)(arg1)->Clone();
100340  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
100341  return resultobj;
100342 fail:
100343  return NULL;
100344 }
100345 
100346 
100347 SWIGINTERN PyObject *_wrap_CStdSerialize_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100348  PyObject *resultobj = 0;
100351  void *argp1 = 0 ;
100352  int res1 = 0 ;
100353  void *argp2 = 0 ;
100354  int res2 = 0 ;
100355  PyObject * obj0 = 0 ;
100356  PyObject * obj1 = 0 ;
100357 
100358  if (!PyArg_ParseTuple(args,(char *)"OO:CStdSerialize_Copy",&obj0,&obj1)) SWIG_fail;
100359  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
100360  if (!SWIG_IsOK(res1)) {
100361  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdSerialize_Copy" "', argument " "1"" of type '" "StdUtils::CStdSerialize *""'");
100362  }
100363  arg1 = reinterpret_cast< StdUtils::CStdSerialize * >(argp1);
100364  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
100365  if (!SWIG_IsOK(res2)) {
100366  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdSerialize_Copy" "', argument " "2"" of type '" "StdUtils::CStdSerialize *""'");
100367  }
100368  arg2 = reinterpret_cast< StdUtils::CStdSerialize * >(argp2);
100369  (arg1)->Copy(arg2);
100370  resultobj = SWIG_Py_Void();
100371  return resultobj;
100372 fail:
100373  return NULL;
100374 }
100375 
100376 
100377 SWIGINTERN PyObject *_wrap_CStdSerialize_Trace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100378  PyObject *resultobj = 0;
100380  std::ostream *arg2 = 0 ;
100381  void *argp1 = 0 ;
100382  int res1 = 0 ;
100383  void *argp2 = 0 ;
100384  int res2 = 0 ;
100385  PyObject * obj0 = 0 ;
100386  PyObject * obj1 = 0 ;
100387 
100388  if (!PyArg_ParseTuple(args,(char *)"OO:CStdSerialize_Trace",&obj0,&obj1)) SWIG_fail;
100389  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
100390  if (!SWIG_IsOK(res1)) {
100391  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdSerialize_Trace" "', argument " "1"" of type '" "StdUtils::CStdSerialize *""'");
100392  }
100393  arg1 = reinterpret_cast< StdUtils::CStdSerialize * >(argp1);
100394  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__ostream, 0 );
100395  if (!SWIG_IsOK(res2)) {
100396  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdSerialize_Trace" "', argument " "2"" of type '" "std::ostream &""'");
100397  }
100398  if (!argp2) {
100399  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdSerialize_Trace" "', argument " "2"" of type '" "std::ostream &""'");
100400  }
100401  arg2 = reinterpret_cast< std::ostream * >(argp2);
100402  (arg1)->Trace(*arg2);
100403  resultobj = SWIG_Py_Void();
100404  return resultobj;
100405 fail:
100406  return NULL;
100407 }
100408 
100409 
100410 SWIGINTERN PyObject *_wrap_CStdSerialize_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100411  PyObject *resultobj = 0;
100413  CStdXml *arg2 = 0 ;
100414  void *argp1 = 0 ;
100415  int res1 = 0 ;
100416  void *argp2 = 0 ;
100417  int res2 = 0 ;
100418  PyObject * obj0 = 0 ;
100419  PyObject * obj1 = 0 ;
100420 
100421  if (!PyArg_ParseTuple(args,(char *)"OO:CStdSerialize_Load",&obj0,&obj1)) SWIG_fail;
100422  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
100423  if (!SWIG_IsOK(res1)) {
100424  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdSerialize_Load" "', argument " "1"" of type '" "StdUtils::CStdSerialize *""'");
100425  }
100426  arg1 = reinterpret_cast< StdUtils::CStdSerialize * >(argp1);
100427  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
100428  if (!SWIG_IsOK(res2)) {
100429  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdSerialize_Load" "', argument " "2"" of type '" "CStdXml &""'");
100430  }
100431  if (!argp2) {
100432  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdSerialize_Load" "', argument " "2"" of type '" "CStdXml &""'");
100433  }
100434  arg2 = reinterpret_cast< CStdXml * >(argp2);
100435  (arg1)->Load(*arg2);
100436  resultobj = SWIG_Py_Void();
100437  return resultobj;
100438 fail:
100439  return NULL;
100440 }
100441 
100442 
100443 SWIGINTERN PyObject *_wrap_CStdSerialize_Save(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100444  PyObject *resultobj = 0;
100446  CStdXml *arg2 = 0 ;
100447  void *argp1 = 0 ;
100448  int res1 = 0 ;
100449  void *argp2 = 0 ;
100450  int res2 = 0 ;
100451  PyObject * obj0 = 0 ;
100452  PyObject * obj1 = 0 ;
100453 
100454  if (!PyArg_ParseTuple(args,(char *)"OO:CStdSerialize_Save",&obj0,&obj1)) SWIG_fail;
100455  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
100456  if (!SWIG_IsOK(res1)) {
100457  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdSerialize_Save" "', argument " "1"" of type '" "StdUtils::CStdSerialize *""'");
100458  }
100459  arg1 = reinterpret_cast< StdUtils::CStdSerialize * >(argp1);
100460  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
100461  if (!SWIG_IsOK(res2)) {
100462  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdSerialize_Save" "', argument " "2"" of type '" "CStdXml &""'");
100463  }
100464  if (!argp2) {
100465  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdSerialize_Save" "', argument " "2"" of type '" "CStdXml &""'");
100466  }
100467  arg2 = reinterpret_cast< CStdXml * >(argp2);
100468  (arg1)->Save(*arg2);
100469  resultobj = SWIG_Py_Void();
100470  return resultobj;
100471 fail:
100472  return NULL;
100473 }
100474 
100475 
100476 SWIGINTERN PyObject *CStdSerialize_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100477  PyObject *obj;
100478  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
100479  SWIG_TypeNewClientData(SWIGTYPE_p_StdUtils__CStdSerialize, SWIG_NewClientData(obj));
100480  return SWIG_Py_Void();
100481 }
100482 
100483 SWIGINTERN PyObject *_wrap___lshift____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100484  PyObject *resultobj = 0;
100485  std::ostream *arg1 = 0 ;
100487  void *argp1 = 0 ;
100488  int res1 = 0 ;
100489  void *argp2 = 0 ;
100490  int res2 = 0 ;
100491  PyObject * obj0 = 0 ;
100492  PyObject * obj1 = 0 ;
100493  std::ostream *result = 0 ;
100494 
100495  if (!PyArg_ParseTuple(args,(char *)"OO:__lshift__",&obj0,&obj1)) SWIG_fail;
100496  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__ostream, 0 );
100497  if (!SWIG_IsOK(res1)) {
100498  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "__lshift__" "', argument " "1"" of type '" "std::ostream &""'");
100499  }
100500  if (!argp1) {
100501  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__lshift__" "', argument " "1"" of type '" "std::ostream &""'");
100502  }
100503  arg1 = reinterpret_cast< std::ostream * >(argp1);
100504  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
100505  if (!SWIG_IsOK(res2)) {
100506  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "__lshift__" "', argument " "2"" of type '" "StdUtils::CStdSerialize *""'");
100507  }
100508  arg2 = reinterpret_cast< StdUtils::CStdSerialize * >(argp2);
100509  result = (std::ostream *) &StdUtils::operator <<(*arg1,arg2);
100510  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__ostream, 0 | 0 );
100511  return resultobj;
100512 fail:
100513  return NULL;
100514 }
100515 
100516 
100517 SWIGINTERN PyObject *_wrap___lshift____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100518  PyObject *resultobj = 0;
100519  std::ostream *arg1 = 0 ;
100520  CStdPoint< int > arg2 ;
100521  void *argp1 = 0 ;
100522  int res1 = 0 ;
100523  void *argp2 ;
100524  int res2 = 0 ;
100525  PyObject * obj0 = 0 ;
100526  PyObject * obj1 = 0 ;
100527  std::ostream *result = 0 ;
100528 
100529  if (!PyArg_ParseTuple(args,(char *)"OO:__lshift__",&obj0,&obj1)) SWIG_fail;
100530  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__ostream, 0 );
100531  if (!SWIG_IsOK(res1)) {
100532  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "__lshift__" "', argument " "1"" of type '" "std::ostream &""'");
100533  }
100534  if (!argp1) {
100535  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__lshift__" "', argument " "1"" of type '" "std::ostream &""'");
100536  }
100537  arg1 = reinterpret_cast< std::ostream * >(argp1);
100538  {
100539  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_int_t, 0 | 0);
100540  if (!SWIG_IsOK(res2)) {
100541  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "__lshift__" "', argument " "2"" of type '" "CStdPoint< int >""'");
100542  }
100543  if (!argp2) {
100544  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__lshift__" "', argument " "2"" of type '" "CStdPoint< int >""'");
100545  } else {
100546  CStdPoint< int > * temp = reinterpret_cast< CStdPoint< int > * >(argp2);
100547  arg2 = *temp;
100548  if (SWIG_IsNewObj(res2)) delete temp;
100549  }
100550  }
100551  result = (std::ostream *) &StdUtils::operator <<(*arg1,arg2);
100552  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__ostream, 0 | 0 );
100553  return resultobj;
100554 fail:
100555  return NULL;
100556 }
100557 
100558 
100559 SWIGINTERN PyObject *_wrap___lshift____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100560  PyObject *resultobj = 0;
100561  std::ostream *arg1 = 0 ;
100562  CStdPoint< long > arg2 ;
100563  void *argp1 = 0 ;
100564  int res1 = 0 ;
100565  void *argp2 ;
100566  int res2 = 0 ;
100567  PyObject * obj0 = 0 ;
100568  PyObject * obj1 = 0 ;
100569  std::ostream *result = 0 ;
100570 
100571  if (!PyArg_ParseTuple(args,(char *)"OO:__lshift__",&obj0,&obj1)) SWIG_fail;
100572  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__ostream, 0 );
100573  if (!SWIG_IsOK(res1)) {
100574  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "__lshift__" "', argument " "1"" of type '" "std::ostream &""'");
100575  }
100576  if (!argp1) {
100577  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__lshift__" "', argument " "1"" of type '" "std::ostream &""'");
100578  }
100579  arg1 = reinterpret_cast< std::ostream * >(argp1);
100580  {
100581  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_long_t, 0 | 0);
100582  if (!SWIG_IsOK(res2)) {
100583  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "__lshift__" "', argument " "2"" of type '" "CStdPoint< long >""'");
100584  }
100585  if (!argp2) {
100586  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__lshift__" "', argument " "2"" of type '" "CStdPoint< long >""'");
100587  } else {
100588  CStdPoint< long > * temp = reinterpret_cast< CStdPoint< long > * >(argp2);
100589  arg2 = *temp;
100590  if (SWIG_IsNewObj(res2)) delete temp;
100591  }
100592  }
100593  result = (std::ostream *) &StdUtils::operator <<(*arg1,arg2);
100594  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__ostream, 0 | 0 );
100595  return resultobj;
100596 fail:
100597  return NULL;
100598 }
100599 
100600 
100601 SWIGINTERN PyObject *_wrap___lshift____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100602  PyObject *resultobj = 0;
100603  std::ostream *arg1 = 0 ;
100604  CStdPoint< float > arg2 ;
100605  void *argp1 = 0 ;
100606  int res1 = 0 ;
100607  void *argp2 ;
100608  int res2 = 0 ;
100609  PyObject * obj0 = 0 ;
100610  PyObject * obj1 = 0 ;
100611  std::ostream *result = 0 ;
100612 
100613  if (!PyArg_ParseTuple(args,(char *)"OO:__lshift__",&obj0,&obj1)) SWIG_fail;
100614  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__ostream, 0 );
100615  if (!SWIG_IsOK(res1)) {
100616  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "__lshift__" "', argument " "1"" of type '" "std::ostream &""'");
100617  }
100618  if (!argp1) {
100619  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__lshift__" "', argument " "1"" of type '" "std::ostream &""'");
100620  }
100621  arg1 = reinterpret_cast< std::ostream * >(argp1);
100622  {
100623  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
100624  if (!SWIG_IsOK(res2)) {
100625  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "__lshift__" "', argument " "2"" of type '" "CStdPoint< float >""'");
100626  }
100627  if (!argp2) {
100628  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__lshift__" "', argument " "2"" of type '" "CStdPoint< float >""'");
100629  } else {
100630  CStdPoint< float > * temp = reinterpret_cast< CStdPoint< float > * >(argp2);
100631  arg2 = *temp;
100632  if (SWIG_IsNewObj(res2)) delete temp;
100633  }
100634  }
100635  result = (std::ostream *) &StdUtils::operator <<(*arg1,arg2);
100636  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__ostream, 0 | 0 );
100637  return resultobj;
100638 fail:
100639  return NULL;
100640 }
100641 
100642 
100643 SWIGINTERN PyObject *_wrap___lshift____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100644  PyObject *resultobj = 0;
100645  std::ostream *arg1 = 0 ;
100646  CStdPoint< double > arg2 ;
100647  void *argp1 = 0 ;
100648  int res1 = 0 ;
100649  void *argp2 ;
100650  int res2 = 0 ;
100651  PyObject * obj0 = 0 ;
100652  PyObject * obj1 = 0 ;
100653  std::ostream *result = 0 ;
100654 
100655  if (!PyArg_ParseTuple(args,(char *)"OO:__lshift__",&obj0,&obj1)) SWIG_fail;
100656  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__ostream, 0 );
100657  if (!SWIG_IsOK(res1)) {
100658  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "__lshift__" "', argument " "1"" of type '" "std::ostream &""'");
100659  }
100660  if (!argp1) {
100661  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__lshift__" "', argument " "1"" of type '" "std::ostream &""'");
100662  }
100663  arg1 = reinterpret_cast< std::ostream * >(argp1);
100664  {
100665  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_double_t, 0 | 0);
100666  if (!SWIG_IsOK(res2)) {
100667  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "__lshift__" "', argument " "2"" of type '" "CStdPoint< double >""'");
100668  }
100669  if (!argp2) {
100670  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "__lshift__" "', argument " "2"" of type '" "CStdPoint< double >""'");
100671  } else {
100672  CStdPoint< double > * temp = reinterpret_cast< CStdPoint< double > * >(argp2);
100673  arg2 = *temp;
100674  if (SWIG_IsNewObj(res2)) delete temp;
100675  }
100676  }
100677  result = (std::ostream *) &StdUtils::operator <<(*arg1,arg2);
100678  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__ostream, 0 | 0 );
100679  return resultobj;
100680 fail:
100681  return NULL;
100682 }
100683 
100684 
100685 SWIGINTERN PyObject *_wrap___lshift__(PyObject *self, PyObject *args) {
100686  int argc;
100687  PyObject *argv[3];
100688  int ii;
100689 
100690  if (!PyTuple_Check(args)) SWIG_fail;
100691  argc = args ? (int)PyObject_Length(args) : 0;
100692  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
100693  argv[ii] = PyTuple_GET_ITEM(args,ii);
100694  }
100695  if (argc == 2) {
100696  int _v;
100697  void *vptr = 0;
100698  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__ostream, 0);
100699  _v = SWIG_CheckState(res);
100700  if (_v) {
100701  void *vptr = 0;
100702  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdSerialize, 0);
100703  _v = SWIG_CheckState(res);
100704  if (_v) {
100705  return _wrap___lshift____SWIG_0(self, args);
100706  }
100707  }
100708  }
100709  if (argc == 2) {
100710  int _v;
100711  void *vptr = 0;
100712  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__ostream, 0);
100713  _v = SWIG_CheckState(res);
100714  if (_v) {
100715  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_int_t, 0);
100716  _v = SWIG_CheckState(res);
100717  if (_v) {
100718  return _wrap___lshift____SWIG_1(self, args);
100719  }
100720  }
100721  }
100722  if (argc == 2) {
100723  int _v;
100724  void *vptr = 0;
100725  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__ostream, 0);
100726  _v = SWIG_CheckState(res);
100727  if (_v) {
100728  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_long_t, 0);
100729  _v = SWIG_CheckState(res);
100730  if (_v) {
100731  return _wrap___lshift____SWIG_2(self, args);
100732  }
100733  }
100734  }
100735  if (argc == 2) {
100736  int _v;
100737  void *vptr = 0;
100738  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__ostream, 0);
100739  _v = SWIG_CheckState(res);
100740  if (_v) {
100741  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_float_t, 0);
100742  _v = SWIG_CheckState(res);
100743  if (_v) {
100744  return _wrap___lshift____SWIG_3(self, args);
100745  }
100746  }
100747  }
100748  if (argc == 2) {
100749  int _v;
100750  void *vptr = 0;
100751  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__ostream, 0);
100752  _v = SWIG_CheckState(res);
100753  if (_v) {
100754  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_double_t, 0);
100755  _v = SWIG_CheckState(res);
100756  if (_v) {
100757  return _wrap___lshift____SWIG_4(self, args);
100758  }
100759  }
100760  }
100761 
100762 fail:
100763  Py_INCREF(Py_NotImplemented);
100764  return Py_NotImplemented;
100765 }
100766 
100767 
100768 SWIGINTERN PyObject *_wrap_Std_SavePoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100769  PyObject *resultobj = 0;
100770  CStdXml *arg1 = 0 ;
100771  std::string arg2 ;
100772  CStdPoint< int > *arg3 = 0 ;
100773  void *argp1 = 0 ;
100774  int res1 = 0 ;
100775  void *argp3 = 0 ;
100776  int res3 = 0 ;
100777  PyObject * obj0 = 0 ;
100778  PyObject * obj1 = 0 ;
100779  PyObject * obj2 = 0 ;
100780 
100781  if (!PyArg_ParseTuple(args,(char *)"OOO:Std_SavePoint",&obj0,&obj1,&obj2)) SWIG_fail;
100782  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
100783  if (!SWIG_IsOK(res1)) {
100784  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_SavePoint" "', argument " "1"" of type '" "CStdXml &""'");
100785  }
100786  if (!argp1) {
100787  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_SavePoint" "', argument " "1"" of type '" "CStdXml &""'");
100788  }
100789  arg1 = reinterpret_cast< CStdXml * >(argp1);
100790  {
100791  std::string *ptr = (std::string *)0;
100792  int res = SWIG_AsPtr_std_string(obj1, &ptr);
100793  if (!SWIG_IsOK(res) || !ptr) {
100794  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Std_SavePoint" "', argument " "2"" of type '" "std::string""'");
100795  }
100796  arg2 = *ptr;
100797  if (SWIG_IsNewObj(res)) delete ptr;
100798  }
100799  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_int_t, 0 );
100800  if (!SWIG_IsOK(res3)) {
100801  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_SavePoint" "', argument " "3"" of type '" "CStdPoint< int > &""'");
100802  }
100803  if (!argp3) {
100804  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_SavePoint" "', argument " "3"" of type '" "CStdPoint< int > &""'");
100805  }
100806  arg3 = reinterpret_cast< CStdPoint< int > * >(argp3);
100807  StdUtils::Std_SavePoint(*arg1,arg2,*arg3);
100808  resultobj = SWIG_Py_Void();
100809  return resultobj;
100810 fail:
100811  return NULL;
100812 }
100813 
100814 
100815 SWIGINTERN PyObject *_wrap_Std_SavePoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100816  PyObject *resultobj = 0;
100817  CStdXml *arg1 = 0 ;
100818  std::string arg2 ;
100819  CStdPoint< long > *arg3 = 0 ;
100820  void *argp1 = 0 ;
100821  int res1 = 0 ;
100822  void *argp3 = 0 ;
100823  int res3 = 0 ;
100824  PyObject * obj0 = 0 ;
100825  PyObject * obj1 = 0 ;
100826  PyObject * obj2 = 0 ;
100827 
100828  if (!PyArg_ParseTuple(args,(char *)"OOO:Std_SavePoint",&obj0,&obj1,&obj2)) SWIG_fail;
100829  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
100830  if (!SWIG_IsOK(res1)) {
100831  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_SavePoint" "', argument " "1"" of type '" "CStdXml &""'");
100832  }
100833  if (!argp1) {
100834  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_SavePoint" "', argument " "1"" of type '" "CStdXml &""'");
100835  }
100836  arg1 = reinterpret_cast< CStdXml * >(argp1);
100837  {
100838  std::string *ptr = (std::string *)0;
100839  int res = SWIG_AsPtr_std_string(obj1, &ptr);
100840  if (!SWIG_IsOK(res) || !ptr) {
100841  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Std_SavePoint" "', argument " "2"" of type '" "std::string""'");
100842  }
100843  arg2 = *ptr;
100844  if (SWIG_IsNewObj(res)) delete ptr;
100845  }
100846  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_long_t, 0 );
100847  if (!SWIG_IsOK(res3)) {
100848  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_SavePoint" "', argument " "3"" of type '" "CStdPoint< long > &""'");
100849  }
100850  if (!argp3) {
100851  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_SavePoint" "', argument " "3"" of type '" "CStdPoint< long > &""'");
100852  }
100853  arg3 = reinterpret_cast< CStdPoint< long > * >(argp3);
100854  StdUtils::Std_SavePoint(*arg1,arg2,*arg3);
100855  resultobj = SWIG_Py_Void();
100856  return resultobj;
100857 fail:
100858  return NULL;
100859 }
100860 
100861 
100862 SWIGINTERN PyObject *_wrap_Std_SavePoint__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100863  PyObject *resultobj = 0;
100864  CStdXml *arg1 = 0 ;
100865  std::string arg2 ;
100866  CStdPoint< float > *arg3 = 0 ;
100867  void *argp1 = 0 ;
100868  int res1 = 0 ;
100869  void *argp3 = 0 ;
100870  int res3 = 0 ;
100871  PyObject * obj0 = 0 ;
100872  PyObject * obj1 = 0 ;
100873  PyObject * obj2 = 0 ;
100874 
100875  if (!PyArg_ParseTuple(args,(char *)"OOO:Std_SavePoint",&obj0,&obj1,&obj2)) SWIG_fail;
100876  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
100877  if (!SWIG_IsOK(res1)) {
100878  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_SavePoint" "', argument " "1"" of type '" "CStdXml &""'");
100879  }
100880  if (!argp1) {
100881  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_SavePoint" "', argument " "1"" of type '" "CStdXml &""'");
100882  }
100883  arg1 = reinterpret_cast< CStdXml * >(argp1);
100884  {
100885  std::string *ptr = (std::string *)0;
100886  int res = SWIG_AsPtr_std_string(obj1, &ptr);
100887  if (!SWIG_IsOK(res) || !ptr) {
100888  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Std_SavePoint" "', argument " "2"" of type '" "std::string""'");
100889  }
100890  arg2 = *ptr;
100891  if (SWIG_IsNewObj(res)) delete ptr;
100892  }
100893  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_float_t, 0 );
100894  if (!SWIG_IsOK(res3)) {
100895  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_SavePoint" "', argument " "3"" of type '" "CStdPoint< float > &""'");
100896  }
100897  if (!argp3) {
100898  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_SavePoint" "', argument " "3"" of type '" "CStdPoint< float > &""'");
100899  }
100900  arg3 = reinterpret_cast< CStdPoint< float > * >(argp3);
100901  StdUtils::Std_SavePoint(*arg1,arg2,*arg3);
100902  resultobj = SWIG_Py_Void();
100903  return resultobj;
100904 fail:
100905  return NULL;
100906 }
100907 
100908 
100909 SWIGINTERN PyObject *_wrap_Std_SavePoint__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
100910  PyObject *resultobj = 0;
100911  CStdXml *arg1 = 0 ;
100912  std::string arg2 ;
100913  CStdPoint< double > *arg3 = 0 ;
100914  void *argp1 = 0 ;
100915  int res1 = 0 ;
100916  void *argp3 = 0 ;
100917  int res3 = 0 ;
100918  PyObject * obj0 = 0 ;
100919  PyObject * obj1 = 0 ;
100920  PyObject * obj2 = 0 ;
100921 
100922  if (!PyArg_ParseTuple(args,(char *)"OOO:Std_SavePoint",&obj0,&obj1,&obj2)) SWIG_fail;
100923  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
100924  if (!SWIG_IsOK(res1)) {
100925  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_SavePoint" "', argument " "1"" of type '" "CStdXml &""'");
100926  }
100927  if (!argp1) {
100928  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_SavePoint" "', argument " "1"" of type '" "CStdXml &""'");
100929  }
100930  arg1 = reinterpret_cast< CStdXml * >(argp1);
100931  {
100932  std::string *ptr = (std::string *)0;
100933  int res = SWIG_AsPtr_std_string(obj1, &ptr);
100934  if (!SWIG_IsOK(res) || !ptr) {
100935  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Std_SavePoint" "', argument " "2"" of type '" "std::string""'");
100936  }
100937  arg2 = *ptr;
100938  if (SWIG_IsNewObj(res)) delete ptr;
100939  }
100940  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_double_t, 0 );
100941  if (!SWIG_IsOK(res3)) {
100942  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_SavePoint" "', argument " "3"" of type '" "CStdPoint< double > &""'");
100943  }
100944  if (!argp3) {
100945  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_SavePoint" "', argument " "3"" of type '" "CStdPoint< double > &""'");
100946  }
100947  arg3 = reinterpret_cast< CStdPoint< double > * >(argp3);
100948  StdUtils::Std_SavePoint(*arg1,arg2,*arg3);
100949  resultobj = SWIG_Py_Void();
100950  return resultobj;
100951 fail:
100952  return NULL;
100953 }
100954 
100955 
100956 SWIGINTERN PyObject *_wrap_Std_SavePoint(PyObject *self, PyObject *args) {
100957  int argc;
100958  PyObject *argv[4];
100959  int ii;
100960 
100961  if (!PyTuple_Check(args)) SWIG_fail;
100962  argc = args ? (int)PyObject_Length(args) : 0;
100963  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
100964  argv[ii] = PyTuple_GET_ITEM(args,ii);
100965  }
100966  if (argc == 3) {
100967  int _v;
100968  void *vptr = 0;
100969  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
100970  _v = SWIG_CheckState(res);
100971  if (_v) {
100972  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
100973  _v = SWIG_CheckState(res);
100974  if (_v) {
100975  void *vptr = 0;
100976  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
100977  _v = SWIG_CheckState(res);
100978  if (_v) {
100979  return _wrap_Std_SavePoint__SWIG_0(self, args);
100980  }
100981  }
100982  }
100983  }
100984  if (argc == 3) {
100985  int _v;
100986  void *vptr = 0;
100987  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
100988  _v = SWIG_CheckState(res);
100989  if (_v) {
100990  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
100991  _v = SWIG_CheckState(res);
100992  if (_v) {
100993  void *vptr = 0;
100994  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
100995  _v = SWIG_CheckState(res);
100996  if (_v) {
100997  return _wrap_Std_SavePoint__SWIG_1(self, args);
100998  }
100999  }
101000  }
101001  }
101002  if (argc == 3) {
101003  int _v;
101004  void *vptr = 0;
101005  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
101006  _v = SWIG_CheckState(res);
101007  if (_v) {
101008  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
101009  _v = SWIG_CheckState(res);
101010  if (_v) {
101011  void *vptr = 0;
101012  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
101013  _v = SWIG_CheckState(res);
101014  if (_v) {
101015  return _wrap_Std_SavePoint__SWIG_2(self, args);
101016  }
101017  }
101018  }
101019  }
101020  if (argc == 3) {
101021  int _v;
101022  void *vptr = 0;
101023  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
101024  _v = SWIG_CheckState(res);
101025  if (_v) {
101026  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
101027  _v = SWIG_CheckState(res);
101028  if (_v) {
101029  void *vptr = 0;
101030  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
101031  _v = SWIG_CheckState(res);
101032  if (_v) {
101033  return _wrap_Std_SavePoint__SWIG_3(self, args);
101034  }
101035  }
101036  }
101037  }
101038 
101039 fail:
101040  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Std_SavePoint'.\n"
101041  " Possible C/C++ prototypes are:\n"
101042  " StdUtils::Std_SavePoint(CStdXml &,std::string,CStdPoint< int > &)\n"
101043  " StdUtils::Std_SavePoint(CStdXml &,std::string,CStdPoint< long > &)\n"
101044  " StdUtils::Std_SavePoint(CStdXml &,std::string,CStdPoint< float > &)\n"
101045  " StdUtils::Std_SavePoint(CStdXml &,std::string,CStdPoint< double > &)\n");
101046  return 0;
101047 }
101048 
101049 
101050 SWIGINTERN PyObject *_wrap_Std_LoadPoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
101051  PyObject *resultobj = 0;
101052  CStdXml *arg1 = 0 ;
101053  std::string arg2 ;
101054  CStdPoint< int > *arg3 = 0 ;
101055  bool arg4 ;
101056  void *argp1 = 0 ;
101057  int res1 = 0 ;
101058  void *argp3 = 0 ;
101059  int res3 = 0 ;
101060  bool val4 ;
101061  int ecode4 = 0 ;
101062  PyObject * obj0 = 0 ;
101063  PyObject * obj1 = 0 ;
101064  PyObject * obj2 = 0 ;
101065  PyObject * obj3 = 0 ;
101066  bool result;
101067 
101068  if (!PyArg_ParseTuple(args,(char *)"OOOO:Std_LoadPoint",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
101069  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
101070  if (!SWIG_IsOK(res1)) {
101071  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101072  }
101073  if (!argp1) {
101074  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101075  }
101076  arg1 = reinterpret_cast< CStdXml * >(argp1);
101077  {
101078  std::string *ptr = (std::string *)0;
101079  int res = SWIG_AsPtr_std_string(obj1, &ptr);
101080  if (!SWIG_IsOK(res) || !ptr) {
101081  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Std_LoadPoint" "', argument " "2"" of type '" "std::string""'");
101082  }
101083  arg2 = *ptr;
101084  if (SWIG_IsNewObj(res)) delete ptr;
101085  }
101086  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_int_t, 0 );
101087  if (!SWIG_IsOK(res3)) {
101088  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< int > &""'");
101089  }
101090  if (!argp3) {
101091  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< int > &""'");
101092  }
101093  arg3 = reinterpret_cast< CStdPoint< int > * >(argp3);
101094  ecode4 = SWIG_AsVal_bool(obj3, &val4);
101095  if (!SWIG_IsOK(ecode4)) {
101096  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Std_LoadPoint" "', argument " "4"" of type '" "bool""'");
101097  }
101098  arg4 = static_cast< bool >(val4);
101099  result = (bool)StdUtils::Std_LoadPoint(*arg1,arg2,*arg3,arg4);
101100  resultobj = SWIG_From_bool(static_cast< bool >(result));
101101  return resultobj;
101102 fail:
101103  return NULL;
101104 }
101105 
101106 
101107 SWIGINTERN PyObject *_wrap_Std_LoadPoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
101108  PyObject *resultobj = 0;
101109  CStdXml *arg1 = 0 ;
101110  std::string arg2 ;
101111  CStdPoint< int > *arg3 = 0 ;
101112  void *argp1 = 0 ;
101113  int res1 = 0 ;
101114  void *argp3 = 0 ;
101115  int res3 = 0 ;
101116  PyObject * obj0 = 0 ;
101117  PyObject * obj1 = 0 ;
101118  PyObject * obj2 = 0 ;
101119  bool result;
101120 
101121  if (!PyArg_ParseTuple(args,(char *)"OOO:Std_LoadPoint",&obj0,&obj1,&obj2)) SWIG_fail;
101122  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
101123  if (!SWIG_IsOK(res1)) {
101124  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101125  }
101126  if (!argp1) {
101127  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101128  }
101129  arg1 = reinterpret_cast< CStdXml * >(argp1);
101130  {
101131  std::string *ptr = (std::string *)0;
101132  int res = SWIG_AsPtr_std_string(obj1, &ptr);
101133  if (!SWIG_IsOK(res) || !ptr) {
101134  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Std_LoadPoint" "', argument " "2"" of type '" "std::string""'");
101135  }
101136  arg2 = *ptr;
101137  if (SWIG_IsNewObj(res)) delete ptr;
101138  }
101139  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_int_t, 0 );
101140  if (!SWIG_IsOK(res3)) {
101141  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< int > &""'");
101142  }
101143  if (!argp3) {
101144  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< int > &""'");
101145  }
101146  arg3 = reinterpret_cast< CStdPoint< int > * >(argp3);
101147  result = (bool)StdUtils::Std_LoadPoint(*arg1,arg2,*arg3);
101148  resultobj = SWIG_From_bool(static_cast< bool >(result));
101149  return resultobj;
101150 fail:
101151  return NULL;
101152 }
101153 
101154 
101155 SWIGINTERN PyObject *_wrap_Std_LoadPoint__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
101156  PyObject *resultobj = 0;
101157  CStdXml *arg1 = 0 ;
101158  std::string arg2 ;
101159  CStdPoint< long > *arg3 = 0 ;
101160  bool arg4 ;
101161  void *argp1 = 0 ;
101162  int res1 = 0 ;
101163  void *argp3 = 0 ;
101164  int res3 = 0 ;
101165  bool val4 ;
101166  int ecode4 = 0 ;
101167  PyObject * obj0 = 0 ;
101168  PyObject * obj1 = 0 ;
101169  PyObject * obj2 = 0 ;
101170  PyObject * obj3 = 0 ;
101171  bool result;
101172 
101173  if (!PyArg_ParseTuple(args,(char *)"OOOO:Std_LoadPoint",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
101174  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
101175  if (!SWIG_IsOK(res1)) {
101176  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101177  }
101178  if (!argp1) {
101179  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101180  }
101181  arg1 = reinterpret_cast< CStdXml * >(argp1);
101182  {
101183  std::string *ptr = (std::string *)0;
101184  int res = SWIG_AsPtr_std_string(obj1, &ptr);
101185  if (!SWIG_IsOK(res) || !ptr) {
101186  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Std_LoadPoint" "', argument " "2"" of type '" "std::string""'");
101187  }
101188  arg2 = *ptr;
101189  if (SWIG_IsNewObj(res)) delete ptr;
101190  }
101191  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_long_t, 0 );
101192  if (!SWIG_IsOK(res3)) {
101193  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< long > &""'");
101194  }
101195  if (!argp3) {
101196  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< long > &""'");
101197  }
101198  arg3 = reinterpret_cast< CStdPoint< long > * >(argp3);
101199  ecode4 = SWIG_AsVal_bool(obj3, &val4);
101200  if (!SWIG_IsOK(ecode4)) {
101201  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Std_LoadPoint" "', argument " "4"" of type '" "bool""'");
101202  }
101203  arg4 = static_cast< bool >(val4);
101204  result = (bool)StdUtils::Std_LoadPoint(*arg1,arg2,*arg3,arg4);
101205  resultobj = SWIG_From_bool(static_cast< bool >(result));
101206  return resultobj;
101207 fail:
101208  return NULL;
101209 }
101210 
101211 
101212 SWIGINTERN PyObject *_wrap_Std_LoadPoint__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
101213  PyObject *resultobj = 0;
101214  CStdXml *arg1 = 0 ;
101215  std::string arg2 ;
101216  CStdPoint< long > *arg3 = 0 ;
101217  void *argp1 = 0 ;
101218  int res1 = 0 ;
101219  void *argp3 = 0 ;
101220  int res3 = 0 ;
101221  PyObject * obj0 = 0 ;
101222  PyObject * obj1 = 0 ;
101223  PyObject * obj2 = 0 ;
101224  bool result;
101225 
101226  if (!PyArg_ParseTuple(args,(char *)"OOO:Std_LoadPoint",&obj0,&obj1,&obj2)) SWIG_fail;
101227  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
101228  if (!SWIG_IsOK(res1)) {
101229  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101230  }
101231  if (!argp1) {
101232  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101233  }
101234  arg1 = reinterpret_cast< CStdXml * >(argp1);
101235  {
101236  std::string *ptr = (std::string *)0;
101237  int res = SWIG_AsPtr_std_string(obj1, &ptr);
101238  if (!SWIG_IsOK(res) || !ptr) {
101239  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Std_LoadPoint" "', argument " "2"" of type '" "std::string""'");
101240  }
101241  arg2 = *ptr;
101242  if (SWIG_IsNewObj(res)) delete ptr;
101243  }
101244  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_long_t, 0 );
101245  if (!SWIG_IsOK(res3)) {
101246  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< long > &""'");
101247  }
101248  if (!argp3) {
101249  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< long > &""'");
101250  }
101251  arg3 = reinterpret_cast< CStdPoint< long > * >(argp3);
101252  result = (bool)StdUtils::Std_LoadPoint(*arg1,arg2,*arg3);
101253  resultobj = SWIG_From_bool(static_cast< bool >(result));
101254  return resultobj;
101255 fail:
101256  return NULL;
101257 }
101258 
101259 
101260 SWIGINTERN PyObject *_wrap_Std_LoadPoint__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
101261  PyObject *resultobj = 0;
101262  CStdXml *arg1 = 0 ;
101263  std::string arg2 ;
101264  CStdPoint< float > *arg3 = 0 ;
101265  bool arg4 ;
101266  void *argp1 = 0 ;
101267  int res1 = 0 ;
101268  void *argp3 = 0 ;
101269  int res3 = 0 ;
101270  bool val4 ;
101271  int ecode4 = 0 ;
101272  PyObject * obj0 = 0 ;
101273  PyObject * obj1 = 0 ;
101274  PyObject * obj2 = 0 ;
101275  PyObject * obj3 = 0 ;
101276  bool result;
101277 
101278  if (!PyArg_ParseTuple(args,(char *)"OOOO:Std_LoadPoint",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
101279  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
101280  if (!SWIG_IsOK(res1)) {
101281  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101282  }
101283  if (!argp1) {
101284  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101285  }
101286  arg1 = reinterpret_cast< CStdXml * >(argp1);
101287  {
101288  std::string *ptr = (std::string *)0;
101289  int res = SWIG_AsPtr_std_string(obj1, &ptr);
101290  if (!SWIG_IsOK(res) || !ptr) {
101291  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Std_LoadPoint" "', argument " "2"" of type '" "std::string""'");
101292  }
101293  arg2 = *ptr;
101294  if (SWIG_IsNewObj(res)) delete ptr;
101295  }
101296  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_float_t, 0 );
101297  if (!SWIG_IsOK(res3)) {
101298  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< float > &""'");
101299  }
101300  if (!argp3) {
101301  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< float > &""'");
101302  }
101303  arg3 = reinterpret_cast< CStdPoint< float > * >(argp3);
101304  ecode4 = SWIG_AsVal_bool(obj3, &val4);
101305  if (!SWIG_IsOK(ecode4)) {
101306  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Std_LoadPoint" "', argument " "4"" of type '" "bool""'");
101307  }
101308  arg4 = static_cast< bool >(val4);
101309  result = (bool)StdUtils::Std_LoadPoint(*arg1,arg2,*arg3,arg4);
101310  resultobj = SWIG_From_bool(static_cast< bool >(result));
101311  return resultobj;
101312 fail:
101313  return NULL;
101314 }
101315 
101316 
101317 SWIGINTERN PyObject *_wrap_Std_LoadPoint__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
101318  PyObject *resultobj = 0;
101319  CStdXml *arg1 = 0 ;
101320  std::string arg2 ;
101321  CStdPoint< float > *arg3 = 0 ;
101322  void *argp1 = 0 ;
101323  int res1 = 0 ;
101324  void *argp3 = 0 ;
101325  int res3 = 0 ;
101326  PyObject * obj0 = 0 ;
101327  PyObject * obj1 = 0 ;
101328  PyObject * obj2 = 0 ;
101329  bool result;
101330 
101331  if (!PyArg_ParseTuple(args,(char *)"OOO:Std_LoadPoint",&obj0,&obj1,&obj2)) SWIG_fail;
101332  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
101333  if (!SWIG_IsOK(res1)) {
101334  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101335  }
101336  if (!argp1) {
101337  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101338  }
101339  arg1 = reinterpret_cast< CStdXml * >(argp1);
101340  {
101341  std::string *ptr = (std::string *)0;
101342  int res = SWIG_AsPtr_std_string(obj1, &ptr);
101343  if (!SWIG_IsOK(res) || !ptr) {
101344  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Std_LoadPoint" "', argument " "2"" of type '" "std::string""'");
101345  }
101346  arg2 = *ptr;
101347  if (SWIG_IsNewObj(res)) delete ptr;
101348  }
101349  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_float_t, 0 );
101350  if (!SWIG_IsOK(res3)) {
101351  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< float > &""'");
101352  }
101353  if (!argp3) {
101354  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< float > &""'");
101355  }
101356  arg3 = reinterpret_cast< CStdPoint< float > * >(argp3);
101357  result = (bool)StdUtils::Std_LoadPoint(*arg1,arg2,*arg3);
101358  resultobj = SWIG_From_bool(static_cast< bool >(result));
101359  return resultobj;
101360 fail:
101361  return NULL;
101362 }
101363 
101364 
101365 SWIGINTERN PyObject *_wrap_Std_LoadPoint__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
101366  PyObject *resultobj = 0;
101367  CStdXml *arg1 = 0 ;
101368  std::string arg2 ;
101369  CStdPoint< double > *arg3 = 0 ;
101370  bool arg4 ;
101371  void *argp1 = 0 ;
101372  int res1 = 0 ;
101373  void *argp3 = 0 ;
101374  int res3 = 0 ;
101375  bool val4 ;
101376  int ecode4 = 0 ;
101377  PyObject * obj0 = 0 ;
101378  PyObject * obj1 = 0 ;
101379  PyObject * obj2 = 0 ;
101380  PyObject * obj3 = 0 ;
101381  bool result;
101382 
101383  if (!PyArg_ParseTuple(args,(char *)"OOOO:Std_LoadPoint",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
101384  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
101385  if (!SWIG_IsOK(res1)) {
101386  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101387  }
101388  if (!argp1) {
101389  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101390  }
101391  arg1 = reinterpret_cast< CStdXml * >(argp1);
101392  {
101393  std::string *ptr = (std::string *)0;
101394  int res = SWIG_AsPtr_std_string(obj1, &ptr);
101395  if (!SWIG_IsOK(res) || !ptr) {
101396  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Std_LoadPoint" "', argument " "2"" of type '" "std::string""'");
101397  }
101398  arg2 = *ptr;
101399  if (SWIG_IsNewObj(res)) delete ptr;
101400  }
101401  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_double_t, 0 );
101402  if (!SWIG_IsOK(res3)) {
101403  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< double > &""'");
101404  }
101405  if (!argp3) {
101406  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< double > &""'");
101407  }
101408  arg3 = reinterpret_cast< CStdPoint< double > * >(argp3);
101409  ecode4 = SWIG_AsVal_bool(obj3, &val4);
101410  if (!SWIG_IsOK(ecode4)) {
101411  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Std_LoadPoint" "', argument " "4"" of type '" "bool""'");
101412  }
101413  arg4 = static_cast< bool >(val4);
101414  result = (bool)StdUtils::Std_LoadPoint(*arg1,arg2,*arg3,arg4);
101415  resultobj = SWIG_From_bool(static_cast< bool >(result));
101416  return resultobj;
101417 fail:
101418  return NULL;
101419 }
101420 
101421 
101422 SWIGINTERN PyObject *_wrap_Std_LoadPoint__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
101423  PyObject *resultobj = 0;
101424  CStdXml *arg1 = 0 ;
101425  std::string arg2 ;
101426  CStdPoint< double > *arg3 = 0 ;
101427  void *argp1 = 0 ;
101428  int res1 = 0 ;
101429  void *argp3 = 0 ;
101430  int res3 = 0 ;
101431  PyObject * obj0 = 0 ;
101432  PyObject * obj1 = 0 ;
101433  PyObject * obj2 = 0 ;
101434  bool result;
101435 
101436  if (!PyArg_ParseTuple(args,(char *)"OOO:Std_LoadPoint",&obj0,&obj1,&obj2)) SWIG_fail;
101437  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
101438  if (!SWIG_IsOK(res1)) {
101439  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101440  }
101441  if (!argp1) {
101442  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101443  }
101444  arg1 = reinterpret_cast< CStdXml * >(argp1);
101445  {
101446  std::string *ptr = (std::string *)0;
101447  int res = SWIG_AsPtr_std_string(obj1, &ptr);
101448  if (!SWIG_IsOK(res) || !ptr) {
101449  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Std_LoadPoint" "', argument " "2"" of type '" "std::string""'");
101450  }
101451  arg2 = *ptr;
101452  if (SWIG_IsNewObj(res)) delete ptr;
101453  }
101454  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_double_t, 0 );
101455  if (!SWIG_IsOK(res3)) {
101456  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< double > &""'");
101457  }
101458  if (!argp3) {
101459  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< double > &""'");
101460  }
101461  arg3 = reinterpret_cast< CStdPoint< double > * >(argp3);
101462  result = (bool)StdUtils::Std_LoadPoint(*arg1,arg2,*arg3);
101463  resultobj = SWIG_From_bool(static_cast< bool >(result));
101464  return resultobj;
101465 fail:
101466  return NULL;
101467 }
101468 
101469 
101470 SWIGINTERN PyObject *_wrap_Std_LoadPoint__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
101471  PyObject *resultobj = 0;
101472  CStdXml *arg1 = 0 ;
101473  int arg2 ;
101474  CStdPoint< int > *arg3 = 0 ;
101475  void *argp1 = 0 ;
101476  int res1 = 0 ;
101477  int val2 ;
101478  int ecode2 = 0 ;
101479  void *argp3 = 0 ;
101480  int res3 = 0 ;
101481  PyObject * obj0 = 0 ;
101482  PyObject * obj1 = 0 ;
101483  PyObject * obj2 = 0 ;
101484 
101485  if (!PyArg_ParseTuple(args,(char *)"OOO:Std_LoadPoint",&obj0,&obj1,&obj2)) SWIG_fail;
101486  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
101487  if (!SWIG_IsOK(res1)) {
101488  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101489  }
101490  if (!argp1) {
101491  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101492  }
101493  arg1 = reinterpret_cast< CStdXml * >(argp1);
101494  ecode2 = SWIG_AsVal_int(obj1, &val2);
101495  if (!SWIG_IsOK(ecode2)) {
101496  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Std_LoadPoint" "', argument " "2"" of type '" "int""'");
101497  }
101498  arg2 = static_cast< int >(val2);
101499  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_int_t, 0 );
101500  if (!SWIG_IsOK(res3)) {
101501  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< int > &""'");
101502  }
101503  if (!argp3) {
101504  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< int > &""'");
101505  }
101506  arg3 = reinterpret_cast< CStdPoint< int > * >(argp3);
101507  StdUtils::Std_LoadPoint(*arg1,arg2,*arg3);
101508  resultobj = SWIG_Py_Void();
101509  return resultobj;
101510 fail:
101511  return NULL;
101512 }
101513 
101514 
101515 SWIGINTERN PyObject *_wrap_Std_LoadPoint__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
101516  PyObject *resultobj = 0;
101517  CStdXml *arg1 = 0 ;
101518  int arg2 ;
101519  CStdPoint< long > *arg3 = 0 ;
101520  void *argp1 = 0 ;
101521  int res1 = 0 ;
101522  int val2 ;
101523  int ecode2 = 0 ;
101524  void *argp3 = 0 ;
101525  int res3 = 0 ;
101526  PyObject * obj0 = 0 ;
101527  PyObject * obj1 = 0 ;
101528  PyObject * obj2 = 0 ;
101529 
101530  if (!PyArg_ParseTuple(args,(char *)"OOO:Std_LoadPoint",&obj0,&obj1,&obj2)) SWIG_fail;
101531  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
101532  if (!SWIG_IsOK(res1)) {
101533  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101534  }
101535  if (!argp1) {
101536  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101537  }
101538  arg1 = reinterpret_cast< CStdXml * >(argp1);
101539  ecode2 = SWIG_AsVal_int(obj1, &val2);
101540  if (!SWIG_IsOK(ecode2)) {
101541  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Std_LoadPoint" "', argument " "2"" of type '" "int""'");
101542  }
101543  arg2 = static_cast< int >(val2);
101544  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_long_t, 0 );
101545  if (!SWIG_IsOK(res3)) {
101546  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< long > &""'");
101547  }
101548  if (!argp3) {
101549  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< long > &""'");
101550  }
101551  arg3 = reinterpret_cast< CStdPoint< long > * >(argp3);
101552  StdUtils::Std_LoadPoint(*arg1,arg2,*arg3);
101553  resultobj = SWIG_Py_Void();
101554  return resultobj;
101555 fail:
101556  return NULL;
101557 }
101558 
101559 
101560 SWIGINTERN PyObject *_wrap_Std_LoadPoint__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
101561  PyObject *resultobj = 0;
101562  CStdXml *arg1 = 0 ;
101563  int arg2 ;
101564  CStdPoint< float > *arg3 = 0 ;
101565  void *argp1 = 0 ;
101566  int res1 = 0 ;
101567  int val2 ;
101568  int ecode2 = 0 ;
101569  void *argp3 = 0 ;
101570  int res3 = 0 ;
101571  PyObject * obj0 = 0 ;
101572  PyObject * obj1 = 0 ;
101573  PyObject * obj2 = 0 ;
101574 
101575  if (!PyArg_ParseTuple(args,(char *)"OOO:Std_LoadPoint",&obj0,&obj1,&obj2)) SWIG_fail;
101576  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
101577  if (!SWIG_IsOK(res1)) {
101578  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101579  }
101580  if (!argp1) {
101581  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101582  }
101583  arg1 = reinterpret_cast< CStdXml * >(argp1);
101584  ecode2 = SWIG_AsVal_int(obj1, &val2);
101585  if (!SWIG_IsOK(ecode2)) {
101586  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Std_LoadPoint" "', argument " "2"" of type '" "int""'");
101587  }
101588  arg2 = static_cast< int >(val2);
101589  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_float_t, 0 );
101590  if (!SWIG_IsOK(res3)) {
101591  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< float > &""'");
101592  }
101593  if (!argp3) {
101594  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< float > &""'");
101595  }
101596  arg3 = reinterpret_cast< CStdPoint< float > * >(argp3);
101597  StdUtils::Std_LoadPoint(*arg1,arg2,*arg3);
101598  resultobj = SWIG_Py_Void();
101599  return resultobj;
101600 fail:
101601  return NULL;
101602 }
101603 
101604 
101605 SWIGINTERN PyObject *_wrap_Std_LoadPoint__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
101606  PyObject *resultobj = 0;
101607  CStdXml *arg1 = 0 ;
101608  int arg2 ;
101609  CStdPoint< double > *arg3 = 0 ;
101610  void *argp1 = 0 ;
101611  int res1 = 0 ;
101612  int val2 ;
101613  int ecode2 = 0 ;
101614  void *argp3 = 0 ;
101615  int res3 = 0 ;
101616  PyObject * obj0 = 0 ;
101617  PyObject * obj1 = 0 ;
101618  PyObject * obj2 = 0 ;
101619 
101620  if (!PyArg_ParseTuple(args,(char *)"OOO:Std_LoadPoint",&obj0,&obj1,&obj2)) SWIG_fail;
101621  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CStdXml, 0 );
101622  if (!SWIG_IsOK(res1)) {
101623  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101624  }
101625  if (!argp1) {
101626  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "1"" of type '" "CStdXml &""'");
101627  }
101628  arg1 = reinterpret_cast< CStdXml * >(argp1);
101629  ecode2 = SWIG_AsVal_int(obj1, &val2);
101630  if (!SWIG_IsOK(ecode2)) {
101631  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Std_LoadPoint" "', argument " "2"" of type '" "int""'");
101632  }
101633  arg2 = static_cast< int >(val2);
101634  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_double_t, 0 );
101635  if (!SWIG_IsOK(res3)) {
101636  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< double > &""'");
101637  }
101638  if (!argp3) {
101639  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_LoadPoint" "', argument " "3"" of type '" "CStdPoint< double > &""'");
101640  }
101641  arg3 = reinterpret_cast< CStdPoint< double > * >(argp3);
101642  StdUtils::Std_LoadPoint(*arg1,arg2,*arg3);
101643  resultobj = SWIG_Py_Void();
101644  return resultobj;
101645 fail:
101646  return NULL;
101647 }
101648 
101649 
101650 SWIGINTERN PyObject *_wrap_Std_LoadPoint(PyObject *self, PyObject *args) {
101651  int argc;
101652  PyObject *argv[5];
101653  int ii;
101654 
101655  if (!PyTuple_Check(args)) SWIG_fail;
101656  argc = args ? (int)PyObject_Length(args) : 0;
101657  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
101658  argv[ii] = PyTuple_GET_ITEM(args,ii);
101659  }
101660  if (argc == 3) {
101661  int _v;
101662  void *vptr = 0;
101663  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
101664  _v = SWIG_CheckState(res);
101665  if (_v) {
101666  {
101667  int res = SWIG_AsVal_int(argv[1], NULL);
101668  _v = SWIG_CheckState(res);
101669  }
101670  if (_v) {
101671  void *vptr = 0;
101672  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
101673  _v = SWIG_CheckState(res);
101674  if (_v) {
101675  return _wrap_Std_LoadPoint__SWIG_8(self, args);
101676  }
101677  }
101678  }
101679  }
101680  if (argc == 3) {
101681  int _v;
101682  void *vptr = 0;
101683  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
101684  _v = SWIG_CheckState(res);
101685  if (_v) {
101686  {
101687  int res = SWIG_AsVal_int(argv[1], NULL);
101688  _v = SWIG_CheckState(res);
101689  }
101690  if (_v) {
101691  void *vptr = 0;
101692  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
101693  _v = SWIG_CheckState(res);
101694  if (_v) {
101695  return _wrap_Std_LoadPoint__SWIG_9(self, args);
101696  }
101697  }
101698  }
101699  }
101700  if (argc == 3) {
101701  int _v;
101702  void *vptr = 0;
101703  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
101704  _v = SWIG_CheckState(res);
101705  if (_v) {
101706  {
101707  int res = SWIG_AsVal_int(argv[1], NULL);
101708  _v = SWIG_CheckState(res);
101709  }
101710  if (_v) {
101711  void *vptr = 0;
101712  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
101713  _v = SWIG_CheckState(res);
101714  if (_v) {
101715  return _wrap_Std_LoadPoint__SWIG_10(self, args);
101716  }
101717  }
101718  }
101719  }
101720  if (argc == 3) {
101721  int _v;
101722  void *vptr = 0;
101723  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
101724  _v = SWIG_CheckState(res);
101725  if (_v) {
101726  {
101727  int res = SWIG_AsVal_int(argv[1], NULL);
101728  _v = SWIG_CheckState(res);
101729  }
101730  if (_v) {
101731  void *vptr = 0;
101732  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
101733  _v = SWIG_CheckState(res);
101734  if (_v) {
101735  return _wrap_Std_LoadPoint__SWIG_11(self, args);
101736  }
101737  }
101738  }
101739  }
101740  if (argc == 3) {
101741  int _v;
101742  void *vptr = 0;
101743  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
101744  _v = SWIG_CheckState(res);
101745  if (_v) {
101746  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
101747  _v = SWIG_CheckState(res);
101748  if (_v) {
101749  void *vptr = 0;
101750  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
101751  _v = SWIG_CheckState(res);
101752  if (_v) {
101753  return _wrap_Std_LoadPoint__SWIG_1(self, args);
101754  }
101755  }
101756  }
101757  }
101758  if (argc == 3) {
101759  int _v;
101760  void *vptr = 0;
101761  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
101762  _v = SWIG_CheckState(res);
101763  if (_v) {
101764  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
101765  _v = SWIG_CheckState(res);
101766  if (_v) {
101767  void *vptr = 0;
101768  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
101769  _v = SWIG_CheckState(res);
101770  if (_v) {
101771  return _wrap_Std_LoadPoint__SWIG_3(self, args);
101772  }
101773  }
101774  }
101775  }
101776  if (argc == 3) {
101777  int _v;
101778  void *vptr = 0;
101779  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
101780  _v = SWIG_CheckState(res);
101781  if (_v) {
101782  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
101783  _v = SWIG_CheckState(res);
101784  if (_v) {
101785  void *vptr = 0;
101786  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
101787  _v = SWIG_CheckState(res);
101788  if (_v) {
101789  return _wrap_Std_LoadPoint__SWIG_5(self, args);
101790  }
101791  }
101792  }
101793  }
101794  if (argc == 3) {
101795  int _v;
101796  void *vptr = 0;
101797  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
101798  _v = SWIG_CheckState(res);
101799  if (_v) {
101800  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
101801  _v = SWIG_CheckState(res);
101802  if (_v) {
101803  void *vptr = 0;
101804  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
101805  _v = SWIG_CheckState(res);
101806  if (_v) {
101807  return _wrap_Std_LoadPoint__SWIG_7(self, args);
101808  }
101809  }
101810  }
101811  }
101812  if (argc == 4) {
101813  int _v;
101814  void *vptr = 0;
101815  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
101816  _v = SWIG_CheckState(res);
101817  if (_v) {
101818  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
101819  _v = SWIG_CheckState(res);
101820  if (_v) {
101821  void *vptr = 0;
101822  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
101823  _v = SWIG_CheckState(res);
101824  if (_v) {
101825  {
101826  int res = SWIG_AsVal_bool(argv[3], NULL);
101827  _v = SWIG_CheckState(res);
101828  }
101829  if (_v) {
101830  return _wrap_Std_LoadPoint__SWIG_4(self, args);
101831  }
101832  }
101833  }
101834  }
101835  }
101836  if (argc == 4) {
101837  int _v;
101838  void *vptr = 0;
101839  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
101840  _v = SWIG_CheckState(res);
101841  if (_v) {
101842  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
101843  _v = SWIG_CheckState(res);
101844  if (_v) {
101845  void *vptr = 0;
101846  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
101847  _v = SWIG_CheckState(res);
101848  if (_v) {
101849  {
101850  int res = SWIG_AsVal_bool(argv[3], NULL);
101851  _v = SWIG_CheckState(res);
101852  }
101853  if (_v) {
101854  return _wrap_Std_LoadPoint__SWIG_2(self, args);
101855  }
101856  }
101857  }
101858  }
101859  }
101860  if (argc == 4) {
101861  int _v;
101862  void *vptr = 0;
101863  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
101864  _v = SWIG_CheckState(res);
101865  if (_v) {
101866  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
101867  _v = SWIG_CheckState(res);
101868  if (_v) {
101869  void *vptr = 0;
101870  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
101871  _v = SWIG_CheckState(res);
101872  if (_v) {
101873  {
101874  int res = SWIG_AsVal_bool(argv[3], NULL);
101875  _v = SWIG_CheckState(res);
101876  }
101877  if (_v) {
101878  return _wrap_Std_LoadPoint__SWIG_6(self, args);
101879  }
101880  }
101881  }
101882  }
101883  }
101884  if (argc == 4) {
101885  int _v;
101886  void *vptr = 0;
101887  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
101888  _v = SWIG_CheckState(res);
101889  if (_v) {
101890  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
101891  _v = SWIG_CheckState(res);
101892  if (_v) {
101893  void *vptr = 0;
101894  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
101895  _v = SWIG_CheckState(res);
101896  if (_v) {
101897  {
101898  int res = SWIG_AsVal_bool(argv[3], NULL);
101899  _v = SWIG_CheckState(res);
101900  }
101901  if (_v) {
101902  return _wrap_Std_LoadPoint__SWIG_0(self, args);
101903  }
101904  }
101905  }
101906  }
101907  }
101908 
101909 fail:
101910  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Std_LoadPoint'.\n"
101911  " Possible C/C++ prototypes are:\n"
101912  " StdUtils::Std_LoadPoint(CStdXml &,std::string,CStdPoint< int > &,bool)\n"
101913  " StdUtils::Std_LoadPoint(CStdXml &,std::string,CStdPoint< int > &)\n"
101914  " StdUtils::Std_LoadPoint(CStdXml &,std::string,CStdPoint< long > &,bool)\n"
101915  " StdUtils::Std_LoadPoint(CStdXml &,std::string,CStdPoint< long > &)\n"
101916  " StdUtils::Std_LoadPoint(CStdXml &,std::string,CStdPoint< float > &,bool)\n"
101917  " StdUtils::Std_LoadPoint(CStdXml &,std::string,CStdPoint< float > &)\n"
101918  " StdUtils::Std_LoadPoint(CStdXml &,std::string,CStdPoint< double > &,bool)\n"
101919  " StdUtils::Std_LoadPoint(CStdXml &,std::string,CStdPoint< double > &)\n"
101920  " StdUtils::Std_LoadPoint(CStdXml &,int,CStdPoint< int > &)\n"
101921  " StdUtils::Std_LoadPoint(CStdXml &,int,CStdPoint< long > &)\n"
101922  " StdUtils::Std_LoadPoint(CStdXml &,int,CStdPoint< float > &)\n"
101923  " StdUtils::Std_LoadPoint(CStdXml &,int,CStdPoint< double > &)\n");
101924  return 0;
101925 }
101926 
101927 
101928 SWIGINTERN PyObject *_wrap_Std_CalculateDistance__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
101929  PyObject *resultobj = 0;
101930  CStdPoint< int > *arg1 = 0 ;
101931  CStdPoint< int > *arg2 = 0 ;
101932  void *argp1 = 0 ;
101933  int res1 = 0 ;
101934  void *argp2 = 0 ;
101935  int res2 = 0 ;
101936  PyObject * obj0 = 0 ;
101937  PyObject * obj1 = 0 ;
101938  double result;
101939 
101940  if (!PyArg_ParseTuple(args,(char *)"OO:Std_CalculateDistance",&obj0,&obj1)) SWIG_fail;
101941  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_CStdPointT_int_t, 0 );
101942  if (!SWIG_IsOK(res1)) {
101943  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_CalculateDistance" "', argument " "1"" of type '" "CStdPoint< int > &""'");
101944  }
101945  if (!argp1) {
101946  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_CalculateDistance" "', argument " "1"" of type '" "CStdPoint< int > &""'");
101947  }
101948  arg1 = reinterpret_cast< CStdPoint< int > * >(argp1);
101949  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_int_t, 0 );
101950  if (!SWIG_IsOK(res2)) {
101951  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Std_CalculateDistance" "', argument " "2"" of type '" "CStdPoint< int > &""'");
101952  }
101953  if (!argp2) {
101954  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_CalculateDistance" "', argument " "2"" of type '" "CStdPoint< int > &""'");
101955  }
101956  arg2 = reinterpret_cast< CStdPoint< int > * >(argp2);
101957  result = (double)StdUtils::Std_CalculateDistance(*arg1,*arg2);
101958  resultobj = SWIG_From_double(static_cast< double >(result));
101959  return resultobj;
101960 fail:
101961  return NULL;
101962 }
101963 
101964 
101965 SWIGINTERN PyObject *_wrap_Std_CalculateDistance__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
101966  PyObject *resultobj = 0;
101967  CStdPoint< long > *arg1 = 0 ;
101968  CStdPoint< long > *arg2 = 0 ;
101969  void *argp1 = 0 ;
101970  int res1 = 0 ;
101971  void *argp2 = 0 ;
101972  int res2 = 0 ;
101973  PyObject * obj0 = 0 ;
101974  PyObject * obj1 = 0 ;
101975  double result;
101976 
101977  if (!PyArg_ParseTuple(args,(char *)"OO:Std_CalculateDistance",&obj0,&obj1)) SWIG_fail;
101978  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_CStdPointT_long_t, 0 );
101979  if (!SWIG_IsOK(res1)) {
101980  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_CalculateDistance" "', argument " "1"" of type '" "CStdPoint< long > &""'");
101981  }
101982  if (!argp1) {
101983  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_CalculateDistance" "', argument " "1"" of type '" "CStdPoint< long > &""'");
101984  }
101985  arg1 = reinterpret_cast< CStdPoint< long > * >(argp1);
101986  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_long_t, 0 );
101987  if (!SWIG_IsOK(res2)) {
101988  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Std_CalculateDistance" "', argument " "2"" of type '" "CStdPoint< long > &""'");
101989  }
101990  if (!argp2) {
101991  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_CalculateDistance" "', argument " "2"" of type '" "CStdPoint< long > &""'");
101992  }
101993  arg2 = reinterpret_cast< CStdPoint< long > * >(argp2);
101994  result = (double)StdUtils::Std_CalculateDistance(*arg1,*arg2);
101995  resultobj = SWIG_From_double(static_cast< double >(result));
101996  return resultobj;
101997 fail:
101998  return NULL;
101999 }
102000 
102001 
102002 SWIGINTERN PyObject *_wrap_Std_CalculateDistance__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102003  PyObject *resultobj = 0;
102004  CStdPoint< float > *arg1 = 0 ;
102005  CStdPoint< float > *arg2 = 0 ;
102006  void *argp1 = 0 ;
102007  int res1 = 0 ;
102008  void *argp2 = 0 ;
102009  int res2 = 0 ;
102010  PyObject * obj0 = 0 ;
102011  PyObject * obj1 = 0 ;
102012  double result;
102013 
102014  if (!PyArg_ParseTuple(args,(char *)"OO:Std_CalculateDistance",&obj0,&obj1)) SWIG_fail;
102015  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_CStdPointT_float_t, 0 );
102016  if (!SWIG_IsOK(res1)) {
102017  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_CalculateDistance" "', argument " "1"" of type '" "CStdPoint< float > &""'");
102018  }
102019  if (!argp1) {
102020  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_CalculateDistance" "', argument " "1"" of type '" "CStdPoint< float > &""'");
102021  }
102022  arg1 = reinterpret_cast< CStdPoint< float > * >(argp1);
102023  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
102024  if (!SWIG_IsOK(res2)) {
102025  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Std_CalculateDistance" "', argument " "2"" of type '" "CStdPoint< float > &""'");
102026  }
102027  if (!argp2) {
102028  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_CalculateDistance" "', argument " "2"" of type '" "CStdPoint< float > &""'");
102029  }
102030  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
102031  result = (double)StdUtils::Std_CalculateDistance(*arg1,*arg2);
102032  resultobj = SWIG_From_double(static_cast< double >(result));
102033  return resultobj;
102034 fail:
102035  return NULL;
102036 }
102037 
102038 
102039 SWIGINTERN PyObject *_wrap_Std_CalculateDistance__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102040  PyObject *resultobj = 0;
102041  CStdPoint< double > *arg1 = 0 ;
102042  CStdPoint< double > *arg2 = 0 ;
102043  void *argp1 = 0 ;
102044  int res1 = 0 ;
102045  void *argp2 = 0 ;
102046  int res2 = 0 ;
102047  PyObject * obj0 = 0 ;
102048  PyObject * obj1 = 0 ;
102049  double result;
102050 
102051  if (!PyArg_ParseTuple(args,(char *)"OO:Std_CalculateDistance",&obj0,&obj1)) SWIG_fail;
102052  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_CStdPointT_double_t, 0 );
102053  if (!SWIG_IsOK(res1)) {
102054  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Std_CalculateDistance" "', argument " "1"" of type '" "CStdPoint< double > &""'");
102055  }
102056  if (!argp1) {
102057  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_CalculateDistance" "', argument " "1"" of type '" "CStdPoint< double > &""'");
102058  }
102059  arg1 = reinterpret_cast< CStdPoint< double > * >(argp1);
102060  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_double_t, 0 );
102061  if (!SWIG_IsOK(res2)) {
102062  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Std_CalculateDistance" "', argument " "2"" of type '" "CStdPoint< double > &""'");
102063  }
102064  if (!argp2) {
102065  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Std_CalculateDistance" "', argument " "2"" of type '" "CStdPoint< double > &""'");
102066  }
102067  arg2 = reinterpret_cast< CStdPoint< double > * >(argp2);
102068  result = (double)StdUtils::Std_CalculateDistance(*arg1,*arg2);
102069  resultobj = SWIG_From_double(static_cast< double >(result));
102070  return resultobj;
102071 fail:
102072  return NULL;
102073 }
102074 
102075 
102076 SWIGINTERN PyObject *_wrap_Std_CalculateDistance__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102077  PyObject *resultobj = 0;
102078  float arg1 ;
102079  float arg2 ;
102080  float arg3 ;
102081  float arg4 ;
102082  float arg5 ;
102083  float arg6 ;
102084  float val1 ;
102085  int ecode1 = 0 ;
102086  float val2 ;
102087  int ecode2 = 0 ;
102088  float val3 ;
102089  int ecode3 = 0 ;
102090  float val4 ;
102091  int ecode4 = 0 ;
102092  float val5 ;
102093  int ecode5 = 0 ;
102094  float val6 ;
102095  int ecode6 = 0 ;
102096  PyObject * obj0 = 0 ;
102097  PyObject * obj1 = 0 ;
102098  PyObject * obj2 = 0 ;
102099  PyObject * obj3 = 0 ;
102100  PyObject * obj4 = 0 ;
102101  PyObject * obj5 = 0 ;
102102  double result;
102103 
102104  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:Std_CalculateDistance",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
102105  ecode1 = SWIG_AsVal_float(obj0, &val1);
102106  if (!SWIG_IsOK(ecode1)) {
102107  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Std_CalculateDistance" "', argument " "1"" of type '" "float""'");
102108  }
102109  arg1 = static_cast< float >(val1);
102110  ecode2 = SWIG_AsVal_float(obj1, &val2);
102111  if (!SWIG_IsOK(ecode2)) {
102112  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Std_CalculateDistance" "', argument " "2"" of type '" "float""'");
102113  }
102114  arg2 = static_cast< float >(val2);
102115  ecode3 = SWIG_AsVal_float(obj2, &val3);
102116  if (!SWIG_IsOK(ecode3)) {
102117  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Std_CalculateDistance" "', argument " "3"" of type '" "float""'");
102118  }
102119  arg3 = static_cast< float >(val3);
102120  ecode4 = SWIG_AsVal_float(obj3, &val4);
102121  if (!SWIG_IsOK(ecode4)) {
102122  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Std_CalculateDistance" "', argument " "4"" of type '" "float""'");
102123  }
102124  arg4 = static_cast< float >(val4);
102125  ecode5 = SWIG_AsVal_float(obj4, &val5);
102126  if (!SWIG_IsOK(ecode5)) {
102127  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Std_CalculateDistance" "', argument " "5"" of type '" "float""'");
102128  }
102129  arg5 = static_cast< float >(val5);
102130  ecode6 = SWIG_AsVal_float(obj5, &val6);
102131  if (!SWIG_IsOK(ecode6)) {
102132  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Std_CalculateDistance" "', argument " "6"" of type '" "float""'");
102133  }
102134  arg6 = static_cast< float >(val6);
102135  result = (double)StdUtils::Std_CalculateDistance(arg1,arg2,arg3,arg4,arg5,arg6);
102136  resultobj = SWIG_From_double(static_cast< double >(result));
102137  return resultobj;
102138 fail:
102139  return NULL;
102140 }
102141 
102142 
102143 SWIGINTERN PyObject *_wrap_Std_CalculateDistance(PyObject *self, PyObject *args) {
102144  int argc;
102145  PyObject *argv[7];
102146  int ii;
102147 
102148  if (!PyTuple_Check(args)) SWIG_fail;
102149  argc = args ? (int)PyObject_Length(args) : 0;
102150  for (ii = 0; (ii < 6) && (ii < argc); ii++) {
102151  argv[ii] = PyTuple_GET_ITEM(args,ii);
102152  }
102153  if (argc == 2) {
102154  int _v;
102155  void *vptr = 0;
102156  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
102157  _v = SWIG_CheckState(res);
102158  if (_v) {
102159  void *vptr = 0;
102160  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_int_t, 0);
102161  _v = SWIG_CheckState(res);
102162  if (_v) {
102163  return _wrap_Std_CalculateDistance__SWIG_0(self, args);
102164  }
102165  }
102166  }
102167  if (argc == 2) {
102168  int _v;
102169  void *vptr = 0;
102170  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
102171  _v = SWIG_CheckState(res);
102172  if (_v) {
102173  void *vptr = 0;
102174  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_long_t, 0);
102175  _v = SWIG_CheckState(res);
102176  if (_v) {
102177  return _wrap_Std_CalculateDistance__SWIG_1(self, args);
102178  }
102179  }
102180  }
102181  if (argc == 2) {
102182  int _v;
102183  void *vptr = 0;
102184  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
102185  _v = SWIG_CheckState(res);
102186  if (_v) {
102187  void *vptr = 0;
102188  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
102189  _v = SWIG_CheckState(res);
102190  if (_v) {
102191  return _wrap_Std_CalculateDistance__SWIG_2(self, args);
102192  }
102193  }
102194  }
102195  if (argc == 2) {
102196  int _v;
102197  void *vptr = 0;
102198  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
102199  _v = SWIG_CheckState(res);
102200  if (_v) {
102201  void *vptr = 0;
102202  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_double_t, 0);
102203  _v = SWIG_CheckState(res);
102204  if (_v) {
102205  return _wrap_Std_CalculateDistance__SWIG_3(self, args);
102206  }
102207  }
102208  }
102209  if (argc == 6) {
102210  int _v;
102211  {
102212  int res = SWIG_AsVal_float(argv[0], NULL);
102213  _v = SWIG_CheckState(res);
102214  }
102215  if (_v) {
102216  {
102217  int res = SWIG_AsVal_float(argv[1], NULL);
102218  _v = SWIG_CheckState(res);
102219  }
102220  if (_v) {
102221  {
102222  int res = SWIG_AsVal_float(argv[2], NULL);
102223  _v = SWIG_CheckState(res);
102224  }
102225  if (_v) {
102226  {
102227  int res = SWIG_AsVal_float(argv[3], NULL);
102228  _v = SWIG_CheckState(res);
102229  }
102230  if (_v) {
102231  {
102232  int res = SWIG_AsVal_float(argv[4], NULL);
102233  _v = SWIG_CheckState(res);
102234  }
102235  if (_v) {
102236  {
102237  int res = SWIG_AsVal_float(argv[5], NULL);
102238  _v = SWIG_CheckState(res);
102239  }
102240  if (_v) {
102241  return _wrap_Std_CalculateDistance__SWIG_4(self, args);
102242  }
102243  }
102244  }
102245  }
102246  }
102247  }
102248  }
102249 
102250 fail:
102251  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Std_CalculateDistance'.\n"
102252  " Possible C/C++ prototypes are:\n"
102253  " StdUtils::Std_CalculateDistance(CStdPoint< int > &,CStdPoint< int > &)\n"
102254  " StdUtils::Std_CalculateDistance(CStdPoint< long > &,CStdPoint< long > &)\n"
102255  " StdUtils::Std_CalculateDistance(CStdPoint< float > &,CStdPoint< float > &)\n"
102256  " StdUtils::Std_CalculateDistance(CStdPoint< double > &,CStdPoint< double > &)\n"
102257  " StdUtils::Std_CalculateDistance(float,float,float,float,float,float)\n");
102258  return 0;
102259 }
102260 
102261 
102262 SWIGINTERN PyObject *_wrap_new_CMarkupSTL__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102263  PyObject *resultobj = 0;
102264  StdUtils::CMarkupSTL *result = 0 ;
102265 
102266  if (!PyArg_ParseTuple(args,(char *)":new_CMarkupSTL")) SWIG_fail;
102267  result = (StdUtils::CMarkupSTL *)new StdUtils::CMarkupSTL();
102268  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CMarkupSTL, SWIG_POINTER_NEW | 0 );
102269  return resultobj;
102270 fail:
102271  return NULL;
102272 }
102273 
102274 
102275 SWIGINTERN PyObject *_wrap_new_CMarkupSTL__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102276  PyObject *resultobj = 0;
102277  char *arg1 = (char *) 0 ;
102278  int res1 ;
102279  char *buf1 = 0 ;
102280  int alloc1 = 0 ;
102281  PyObject * obj0 = 0 ;
102282  StdUtils::CMarkupSTL *result = 0 ;
102283 
102284  if (!PyArg_ParseTuple(args,(char *)"O:new_CMarkupSTL",&obj0)) SWIG_fail;
102285  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
102286  if (!SWIG_IsOK(res1)) {
102287  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CMarkupSTL" "', argument " "1"" of type '" "char const *""'");
102288  }
102289  arg1 = reinterpret_cast< char * >(buf1);
102290  result = (StdUtils::CMarkupSTL *)new StdUtils::CMarkupSTL((char const *)arg1);
102291  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CMarkupSTL, SWIG_POINTER_NEW | 0 );
102292  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
102293  return resultobj;
102294 fail:
102295  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
102296  return NULL;
102297 }
102298 
102299 
102300 SWIGINTERN PyObject *_wrap_new_CMarkupSTL__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102301  PyObject *resultobj = 0;
102302  StdUtils::CMarkupSTL *arg1 = 0 ;
102303  void *argp1 = 0 ;
102304  int res1 = 0 ;
102305  PyObject * obj0 = 0 ;
102306  StdUtils::CMarkupSTL *result = 0 ;
102307 
102308  if (!PyArg_ParseTuple(args,(char *)"O:new_CMarkupSTL",&obj0)) SWIG_fail;
102309  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0);
102310  if (!SWIG_IsOK(res1)) {
102311  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CMarkupSTL" "', argument " "1"" of type '" "StdUtils::CMarkupSTL const &""'");
102312  }
102313  if (!argp1) {
102314  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CMarkupSTL" "', argument " "1"" of type '" "StdUtils::CMarkupSTL const &""'");
102315  }
102316  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102317  result = (StdUtils::CMarkupSTL *)new StdUtils::CMarkupSTL((StdUtils::CMarkupSTL const &)*arg1);
102318  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CMarkupSTL, SWIG_POINTER_NEW | 0 );
102319  return resultobj;
102320 fail:
102321  return NULL;
102322 }
102323 
102324 
102325 SWIGINTERN PyObject *_wrap_new_CMarkupSTL(PyObject *self, PyObject *args) {
102326  int argc;
102327  PyObject *argv[2];
102328  int ii;
102329 
102330  if (!PyTuple_Check(args)) SWIG_fail;
102331  argc = args ? (int)PyObject_Length(args) : 0;
102332  for (ii = 0; (ii < 1) && (ii < argc); ii++) {
102333  argv[ii] = PyTuple_GET_ITEM(args,ii);
102334  }
102335  if (argc == 0) {
102336  return _wrap_new_CMarkupSTL__SWIG_0(self, args);
102337  }
102338  if (argc == 1) {
102339  int _v;
102340  int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
102341  _v = SWIG_CheckState(res);
102342  if (_v) {
102343  return _wrap_new_CMarkupSTL__SWIG_2(self, args);
102344  }
102345  }
102346  if (argc == 1) {
102347  int _v;
102348  int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
102349  _v = SWIG_CheckState(res);
102350  if (_v) {
102351  return _wrap_new_CMarkupSTL__SWIG_1(self, args);
102352  }
102353  }
102354 
102355 fail:
102356  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_CMarkupSTL'.\n"
102357  " Possible C/C++ prototypes are:\n"
102358  " StdUtils::CMarkupSTL::CMarkupSTL()\n"
102359  " StdUtils::CMarkupSTL::CMarkupSTL(char const *)\n"
102360  " StdUtils::CMarkupSTL::CMarkupSTL(StdUtils::CMarkupSTL const &)\n");
102361  return 0;
102362 }
102363 
102364 
102365 SWIGINTERN PyObject *_wrap_delete_CMarkupSTL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102366  PyObject *resultobj = 0;
102368  void *argp1 = 0 ;
102369  int res1 = 0 ;
102370  PyObject * obj0 = 0 ;
102371 
102372  if (!PyArg_ParseTuple(args,(char *)"O:delete_CMarkupSTL",&obj0)) SWIG_fail;
102373  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, SWIG_POINTER_DISOWN | 0 );
102374  if (!SWIG_IsOK(res1)) {
102375  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CMarkupSTL" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
102376  }
102377  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102378  delete arg1;
102379  resultobj = SWIG_Py_Void();
102380  return resultobj;
102381 fail:
102382  return NULL;
102383 }
102384 
102385 
102386 SWIGINTERN PyObject *_wrap_CMarkupSTL_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102387  PyObject *resultobj = 0;
102389  char *arg2 = (char *) 0 ;
102390  void *argp1 = 0 ;
102391  int res1 = 0 ;
102392  int res2 ;
102393  char *buf2 = 0 ;
102394  int alloc2 = 0 ;
102395  PyObject * obj0 = 0 ;
102396  PyObject * obj1 = 0 ;
102397  bool result;
102398 
102399  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_Load",&obj0,&obj1)) SWIG_fail;
102400  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102401  if (!SWIG_IsOK(res1)) {
102402  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_Load" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
102403  }
102404  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102405  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
102406  if (!SWIG_IsOK(res2)) {
102407  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_Load" "', argument " "2"" of type '" "char const *""'");
102408  }
102409  arg2 = reinterpret_cast< char * >(buf2);
102410  result = (bool)(arg1)->Load((char const *)arg2);
102411  resultobj = SWIG_From_bool(static_cast< bool >(result));
102412  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
102413  return resultobj;
102414 fail:
102415  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
102416  return NULL;
102417 }
102418 
102419 
102420 SWIGINTERN PyObject *_wrap_CMarkupSTL_SetDoc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102421  PyObject *resultobj = 0;
102423  char *arg2 = (char *) 0 ;
102424  void *argp1 = 0 ;
102425  int res1 = 0 ;
102426  int res2 ;
102427  char *buf2 = 0 ;
102428  int alloc2 = 0 ;
102429  PyObject * obj0 = 0 ;
102430  PyObject * obj1 = 0 ;
102431  bool result;
102432 
102433  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_SetDoc",&obj0,&obj1)) SWIG_fail;
102434  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102435  if (!SWIG_IsOK(res1)) {
102436  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_SetDoc" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
102437  }
102438  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102439  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
102440  if (!SWIG_IsOK(res2)) {
102441  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_SetDoc" "', argument " "2"" of type '" "char const *""'");
102442  }
102443  arg2 = reinterpret_cast< char * >(buf2);
102444  result = (bool)(arg1)->SetDoc((char const *)arg2);
102445  resultobj = SWIG_From_bool(static_cast< bool >(result));
102446  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
102447  return resultobj;
102448 fail:
102449  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
102450  return NULL;
102451 }
102452 
102453 
102454 SWIGINTERN PyObject *_wrap_CMarkupSTL_IsWellFormed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102455  PyObject *resultobj = 0;
102457  void *argp1 = 0 ;
102458  int res1 = 0 ;
102459  PyObject * obj0 = 0 ;
102460  bool result;
102461 
102462  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_IsWellFormed",&obj0)) SWIG_fail;
102463  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102464  if (!SWIG_IsOK(res1)) {
102465  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_IsWellFormed" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
102466  }
102467  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102468  result = (bool)(arg1)->IsWellFormed();
102469  resultobj = SWIG_From_bool(static_cast< bool >(result));
102470  return resultobj;
102471 fail:
102472  return NULL;
102473 }
102474 
102475 
102476 SWIGINTERN PyObject *_wrap_CMarkupSTL_FindElem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102477  PyObject *resultobj = 0;
102479  char *arg2 = (char *) 0 ;
102480  void *argp1 = 0 ;
102481  int res1 = 0 ;
102482  int res2 ;
102483  char *buf2 = 0 ;
102484  int alloc2 = 0 ;
102485  PyObject * obj0 = 0 ;
102486  PyObject * obj1 = 0 ;
102487  bool result;
102488 
102489  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_FindElem",&obj0,&obj1)) SWIG_fail;
102490  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102491  if (!SWIG_IsOK(res1)) {
102492  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_FindElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
102493  }
102494  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102495  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
102496  if (!SWIG_IsOK(res2)) {
102497  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_FindElem" "', argument " "2"" of type '" "char const *""'");
102498  }
102499  arg2 = reinterpret_cast< char * >(buf2);
102500  result = (bool)(arg1)->FindElem((char const *)arg2);
102501  resultobj = SWIG_From_bool(static_cast< bool >(result));
102502  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
102503  return resultobj;
102504 fail:
102505  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
102506  return NULL;
102507 }
102508 
102509 
102510 SWIGINTERN PyObject *_wrap_CMarkupSTL_FindElem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102511  PyObject *resultobj = 0;
102513  void *argp1 = 0 ;
102514  int res1 = 0 ;
102515  PyObject * obj0 = 0 ;
102516  bool result;
102517 
102518  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_FindElem",&obj0)) SWIG_fail;
102519  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102520  if (!SWIG_IsOK(res1)) {
102521  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_FindElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
102522  }
102523  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102524  result = (bool)(arg1)->FindElem();
102525  resultobj = SWIG_From_bool(static_cast< bool >(result));
102526  return resultobj;
102527 fail:
102528  return NULL;
102529 }
102530 
102531 
102532 SWIGINTERN PyObject *_wrap_CMarkupSTL_FindElem(PyObject *self, PyObject *args) {
102533  int argc;
102534  PyObject *argv[3];
102535  int ii;
102536 
102537  if (!PyTuple_Check(args)) SWIG_fail;
102538  argc = args ? (int)PyObject_Length(args) : 0;
102539  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
102540  argv[ii] = PyTuple_GET_ITEM(args,ii);
102541  }
102542  if (argc == 1) {
102543  int _v;
102544  void *vptr = 0;
102545  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
102546  _v = SWIG_CheckState(res);
102547  if (_v) {
102548  return _wrap_CMarkupSTL_FindElem__SWIG_1(self, args);
102549  }
102550  }
102551  if (argc == 2) {
102552  int _v;
102553  void *vptr = 0;
102554  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
102555  _v = SWIG_CheckState(res);
102556  if (_v) {
102557  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
102558  _v = SWIG_CheckState(res);
102559  if (_v) {
102560  return _wrap_CMarkupSTL_FindElem__SWIG_0(self, args);
102561  }
102562  }
102563  }
102564 
102565 fail:
102566  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CMarkupSTL_FindElem'.\n"
102567  " Possible C/C++ prototypes are:\n"
102568  " StdUtils::CMarkupSTL::FindElem(char const *)\n"
102569  " StdUtils::CMarkupSTL::FindElem()\n");
102570  return 0;
102571 }
102572 
102573 
102574 SWIGINTERN PyObject *_wrap_CMarkupSTL_FindChildElem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102575  PyObject *resultobj = 0;
102577  char *arg2 = (char *) 0 ;
102578  void *argp1 = 0 ;
102579  int res1 = 0 ;
102580  int res2 ;
102581  char *buf2 = 0 ;
102582  int alloc2 = 0 ;
102583  PyObject * obj0 = 0 ;
102584  PyObject * obj1 = 0 ;
102585  bool result;
102586 
102587  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_FindChildElem",&obj0,&obj1)) SWIG_fail;
102588  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102589  if (!SWIG_IsOK(res1)) {
102590  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_FindChildElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
102591  }
102592  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102593  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
102594  if (!SWIG_IsOK(res2)) {
102595  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_FindChildElem" "', argument " "2"" of type '" "char const *""'");
102596  }
102597  arg2 = reinterpret_cast< char * >(buf2);
102598  result = (bool)(arg1)->FindChildElem((char const *)arg2);
102599  resultobj = SWIG_From_bool(static_cast< bool >(result));
102600  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
102601  return resultobj;
102602 fail:
102603  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
102604  return NULL;
102605 }
102606 
102607 
102608 SWIGINTERN PyObject *_wrap_CMarkupSTL_FindChildElem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102609  PyObject *resultobj = 0;
102611  void *argp1 = 0 ;
102612  int res1 = 0 ;
102613  PyObject * obj0 = 0 ;
102614  bool result;
102615 
102616  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_FindChildElem",&obj0)) SWIG_fail;
102617  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102618  if (!SWIG_IsOK(res1)) {
102619  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_FindChildElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
102620  }
102621  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102622  result = (bool)(arg1)->FindChildElem();
102623  resultobj = SWIG_From_bool(static_cast< bool >(result));
102624  return resultobj;
102625 fail:
102626  return NULL;
102627 }
102628 
102629 
102630 SWIGINTERN PyObject *_wrap_CMarkupSTL_FindChildElem(PyObject *self, PyObject *args) {
102631  int argc;
102632  PyObject *argv[3];
102633  int ii;
102634 
102635  if (!PyTuple_Check(args)) SWIG_fail;
102636  argc = args ? (int)PyObject_Length(args) : 0;
102637  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
102638  argv[ii] = PyTuple_GET_ITEM(args,ii);
102639  }
102640  if (argc == 1) {
102641  int _v;
102642  void *vptr = 0;
102643  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
102644  _v = SWIG_CheckState(res);
102645  if (_v) {
102646  return _wrap_CMarkupSTL_FindChildElem__SWIG_1(self, args);
102647  }
102648  }
102649  if (argc == 2) {
102650  int _v;
102651  void *vptr = 0;
102652  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
102653  _v = SWIG_CheckState(res);
102654  if (_v) {
102655  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
102656  _v = SWIG_CheckState(res);
102657  if (_v) {
102658  return _wrap_CMarkupSTL_FindChildElem__SWIG_0(self, args);
102659  }
102660  }
102661  }
102662 
102663 fail:
102664  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CMarkupSTL_FindChildElem'.\n"
102665  " Possible C/C++ prototypes are:\n"
102666  " StdUtils::CMarkupSTL::FindChildElem(char const *)\n"
102667  " StdUtils::CMarkupSTL::FindChildElem()\n");
102668  return 0;
102669 }
102670 
102671 
102672 SWIGINTERN PyObject *_wrap_CMarkupSTL_IntoElem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102673  PyObject *resultobj = 0;
102675  void *argp1 = 0 ;
102676  int res1 = 0 ;
102677  PyObject * obj0 = 0 ;
102678  bool result;
102679 
102680  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_IntoElem",&obj0)) SWIG_fail;
102681  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102682  if (!SWIG_IsOK(res1)) {
102683  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_IntoElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
102684  }
102685  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102686  result = (bool)(arg1)->IntoElem();
102687  resultobj = SWIG_From_bool(static_cast< bool >(result));
102688  return resultobj;
102689 fail:
102690  return NULL;
102691 }
102692 
102693 
102694 SWIGINTERN PyObject *_wrap_CMarkupSTL_OutOfElem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102695  PyObject *resultobj = 0;
102697  void *argp1 = 0 ;
102698  int res1 = 0 ;
102699  PyObject * obj0 = 0 ;
102700  bool result;
102701 
102702  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_OutOfElem",&obj0)) SWIG_fail;
102703  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102704  if (!SWIG_IsOK(res1)) {
102705  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_OutOfElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
102706  }
102707  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102708  result = (bool)(arg1)->OutOfElem();
102709  resultobj = SWIG_From_bool(static_cast< bool >(result));
102710  return resultobj;
102711 fail:
102712  return NULL;
102713 }
102714 
102715 
102716 SWIGINTERN PyObject *_wrap_CMarkupSTL_ResetChildPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102717  PyObject *resultobj = 0;
102719  void *argp1 = 0 ;
102720  int res1 = 0 ;
102721  PyObject * obj0 = 0 ;
102722 
102723  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_ResetChildPos",&obj0)) SWIG_fail;
102724  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102725  if (!SWIG_IsOK(res1)) {
102726  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_ResetChildPos" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
102727  }
102728  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102729  (arg1)->ResetChildPos();
102730  resultobj = SWIG_Py_Void();
102731  return resultobj;
102732 fail:
102733  return NULL;
102734 }
102735 
102736 
102737 SWIGINTERN PyObject *_wrap_CMarkupSTL_ResetMainPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102738  PyObject *resultobj = 0;
102740  void *argp1 = 0 ;
102741  int res1 = 0 ;
102742  PyObject * obj0 = 0 ;
102743 
102744  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_ResetMainPos",&obj0)) SWIG_fail;
102745  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102746  if (!SWIG_IsOK(res1)) {
102747  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_ResetMainPos" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
102748  }
102749  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102750  (arg1)->ResetMainPos();
102751  resultobj = SWIG_Py_Void();
102752  return resultobj;
102753 fail:
102754  return NULL;
102755 }
102756 
102757 
102758 SWIGINTERN PyObject *_wrap_CMarkupSTL_ResetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102759  PyObject *resultobj = 0;
102761  void *argp1 = 0 ;
102762  int res1 = 0 ;
102763  PyObject * obj0 = 0 ;
102764 
102765  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_ResetPos",&obj0)) SWIG_fail;
102766  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102767  if (!SWIG_IsOK(res1)) {
102768  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_ResetPos" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
102769  }
102770  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102771  (arg1)->ResetPos();
102772  resultobj = SWIG_Py_Void();
102773  return resultobj;
102774 fail:
102775  return NULL;
102776 }
102777 
102778 
102779 SWIGINTERN PyObject *_wrap_CMarkupSTL_GetTagName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102780  PyObject *resultobj = 0;
102782  void *argp1 = 0 ;
102783  int res1 = 0 ;
102784  PyObject * obj0 = 0 ;
102785  std::string result;
102786 
102787  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_GetTagName",&obj0)) SWIG_fail;
102788  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102789  if (!SWIG_IsOK(res1)) {
102790  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_GetTagName" "', argument " "1"" of type '" "StdUtils::CMarkupSTL const *""'");
102791  }
102792  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102793  result = ((StdUtils::CMarkupSTL const *)arg1)->GetTagName();
102794  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
102795  return resultobj;
102796 fail:
102797  return NULL;
102798 }
102799 
102800 
102801 SWIGINTERN PyObject *_wrap_CMarkupSTL_GetChildTagName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102802  PyObject *resultobj = 0;
102804  void *argp1 = 0 ;
102805  int res1 = 0 ;
102806  PyObject * obj0 = 0 ;
102807  std::string result;
102808 
102809  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_GetChildTagName",&obj0)) SWIG_fail;
102810  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102811  if (!SWIG_IsOK(res1)) {
102812  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_GetChildTagName" "', argument " "1"" of type '" "StdUtils::CMarkupSTL const *""'");
102813  }
102814  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102815  result = ((StdUtils::CMarkupSTL const *)arg1)->GetChildTagName();
102816  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
102817  return resultobj;
102818 fail:
102819  return NULL;
102820 }
102821 
102822 
102823 SWIGINTERN PyObject *_wrap_CMarkupSTL_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102824  PyObject *resultobj = 0;
102826  void *argp1 = 0 ;
102827  int res1 = 0 ;
102828  PyObject * obj0 = 0 ;
102829  std::string result;
102830 
102831  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_GetData",&obj0)) SWIG_fail;
102832  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102833  if (!SWIG_IsOK(res1)) {
102834  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_GetData" "', argument " "1"" of type '" "StdUtils::CMarkupSTL const *""'");
102835  }
102836  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102837  result = ((StdUtils::CMarkupSTL const *)arg1)->GetData();
102838  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
102839  return resultobj;
102840 fail:
102841  return NULL;
102842 }
102843 
102844 
102845 SWIGINTERN PyObject *_wrap_CMarkupSTL_GetChildData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102846  PyObject *resultobj = 0;
102848  void *argp1 = 0 ;
102849  int res1 = 0 ;
102850  PyObject * obj0 = 0 ;
102851  std::string result;
102852 
102853  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_GetChildData",&obj0)) SWIG_fail;
102854  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102855  if (!SWIG_IsOK(res1)) {
102856  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_GetChildData" "', argument " "1"" of type '" "StdUtils::CMarkupSTL const *""'");
102857  }
102858  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102859  result = ((StdUtils::CMarkupSTL const *)arg1)->GetChildData();
102860  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
102861  return resultobj;
102862 fail:
102863  return NULL;
102864 }
102865 
102866 
102867 SWIGINTERN PyObject *_wrap_CMarkupSTL_GetAttrib(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102868  PyObject *resultobj = 0;
102870  char *arg2 = (char *) 0 ;
102871  void *argp1 = 0 ;
102872  int res1 = 0 ;
102873  int res2 ;
102874  char *buf2 = 0 ;
102875  int alloc2 = 0 ;
102876  PyObject * obj0 = 0 ;
102877  PyObject * obj1 = 0 ;
102878  std::string result;
102879 
102880  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_GetAttrib",&obj0,&obj1)) SWIG_fail;
102881  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102882  if (!SWIG_IsOK(res1)) {
102883  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_GetAttrib" "', argument " "1"" of type '" "StdUtils::CMarkupSTL const *""'");
102884  }
102885  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102886  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
102887  if (!SWIG_IsOK(res2)) {
102888  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_GetAttrib" "', argument " "2"" of type '" "char const *""'");
102889  }
102890  arg2 = reinterpret_cast< char * >(buf2);
102891  result = ((StdUtils::CMarkupSTL const *)arg1)->GetAttrib((char const *)arg2);
102892  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
102893  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
102894  return resultobj;
102895 fail:
102896  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
102897  return NULL;
102898 }
102899 
102900 
102901 SWIGINTERN PyObject *_wrap_CMarkupSTL_GetChildAttrib(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102902  PyObject *resultobj = 0;
102904  char *arg2 = (char *) 0 ;
102905  void *argp1 = 0 ;
102906  int res1 = 0 ;
102907  int res2 ;
102908  char *buf2 = 0 ;
102909  int alloc2 = 0 ;
102910  PyObject * obj0 = 0 ;
102911  PyObject * obj1 = 0 ;
102912  std::string result;
102913 
102914  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_GetChildAttrib",&obj0,&obj1)) SWIG_fail;
102915  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102916  if (!SWIG_IsOK(res1)) {
102917  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_GetChildAttrib" "', argument " "1"" of type '" "StdUtils::CMarkupSTL const *""'");
102918  }
102919  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102920  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
102921  if (!SWIG_IsOK(res2)) {
102922  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_GetChildAttrib" "', argument " "2"" of type '" "char const *""'");
102923  }
102924  arg2 = reinterpret_cast< char * >(buf2);
102925  result = ((StdUtils::CMarkupSTL const *)arg1)->GetChildAttrib((char const *)arg2);
102926  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
102927  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
102928  return resultobj;
102929 fail:
102930  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
102931  return NULL;
102932 }
102933 
102934 
102935 SWIGINTERN PyObject *_wrap_CMarkupSTL_GetAttribName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102936  PyObject *resultobj = 0;
102938  int arg2 ;
102939  void *argp1 = 0 ;
102940  int res1 = 0 ;
102941  int val2 ;
102942  int ecode2 = 0 ;
102943  PyObject * obj0 = 0 ;
102944  PyObject * obj1 = 0 ;
102945  std::string result;
102946 
102947  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_GetAttribName",&obj0,&obj1)) SWIG_fail;
102948  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102949  if (!SWIG_IsOK(res1)) {
102950  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_GetAttribName" "', argument " "1"" of type '" "StdUtils::CMarkupSTL const *""'");
102951  }
102952  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102953  ecode2 = SWIG_AsVal_int(obj1, &val2);
102954  if (!SWIG_IsOK(ecode2)) {
102955  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CMarkupSTL_GetAttribName" "', argument " "2"" of type '" "int""'");
102956  }
102957  arg2 = static_cast< int >(val2);
102958  result = ((StdUtils::CMarkupSTL const *)arg1)->GetAttribName(arg2);
102959  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
102960  return resultobj;
102961 fail:
102962  return NULL;
102963 }
102964 
102965 
102966 SWIGINTERN PyObject *_wrap_CMarkupSTL_SavePos__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
102967  PyObject *resultobj = 0;
102969  char *arg2 = (char *) 0 ;
102970  void *argp1 = 0 ;
102971  int res1 = 0 ;
102972  int res2 ;
102973  char *buf2 = 0 ;
102974  int alloc2 = 0 ;
102975  PyObject * obj0 = 0 ;
102976  PyObject * obj1 = 0 ;
102977  bool result;
102978 
102979  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_SavePos",&obj0,&obj1)) SWIG_fail;
102980  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
102981  if (!SWIG_IsOK(res1)) {
102982  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_SavePos" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
102983  }
102984  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
102985  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
102986  if (!SWIG_IsOK(res2)) {
102987  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_SavePos" "', argument " "2"" of type '" "char const *""'");
102988  }
102989  arg2 = reinterpret_cast< char * >(buf2);
102990  result = (bool)(arg1)->SavePos((char const *)arg2);
102991  resultobj = SWIG_From_bool(static_cast< bool >(result));
102992  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
102993  return resultobj;
102994 fail:
102995  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
102996  return NULL;
102997 }
102998 
102999 
103000 SWIGINTERN PyObject *_wrap_CMarkupSTL_SavePos__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103001  PyObject *resultobj = 0;
103003  void *argp1 = 0 ;
103004  int res1 = 0 ;
103005  PyObject * obj0 = 0 ;
103006  bool result;
103007 
103008  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_SavePos",&obj0)) SWIG_fail;
103009  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103010  if (!SWIG_IsOK(res1)) {
103011  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_SavePos" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
103012  }
103013  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103014  result = (bool)(arg1)->SavePos();
103015  resultobj = SWIG_From_bool(static_cast< bool >(result));
103016  return resultobj;
103017 fail:
103018  return NULL;
103019 }
103020 
103021 
103022 SWIGINTERN PyObject *_wrap_CMarkupSTL_SavePos(PyObject *self, PyObject *args) {
103023  int argc;
103024  PyObject *argv[3];
103025  int ii;
103026 
103027  if (!PyTuple_Check(args)) SWIG_fail;
103028  argc = args ? (int)PyObject_Length(args) : 0;
103029  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
103030  argv[ii] = PyTuple_GET_ITEM(args,ii);
103031  }
103032  if (argc == 1) {
103033  int _v;
103034  void *vptr = 0;
103035  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
103036  _v = SWIG_CheckState(res);
103037  if (_v) {
103038  return _wrap_CMarkupSTL_SavePos__SWIG_1(self, args);
103039  }
103040  }
103041  if (argc == 2) {
103042  int _v;
103043  void *vptr = 0;
103044  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
103045  _v = SWIG_CheckState(res);
103046  if (_v) {
103047  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
103048  _v = SWIG_CheckState(res);
103049  if (_v) {
103050  return _wrap_CMarkupSTL_SavePos__SWIG_0(self, args);
103051  }
103052  }
103053  }
103054 
103055 fail:
103056  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CMarkupSTL_SavePos'.\n"
103057  " Possible C/C++ prototypes are:\n"
103058  " StdUtils::CMarkupSTL::SavePos(char const *)\n"
103059  " StdUtils::CMarkupSTL::SavePos()\n");
103060  return 0;
103061 }
103062 
103063 
103064 SWIGINTERN PyObject *_wrap_CMarkupSTL_RestorePos__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103065  PyObject *resultobj = 0;
103067  char *arg2 = (char *) 0 ;
103068  void *argp1 = 0 ;
103069  int res1 = 0 ;
103070  int res2 ;
103071  char *buf2 = 0 ;
103072  int alloc2 = 0 ;
103073  PyObject * obj0 = 0 ;
103074  PyObject * obj1 = 0 ;
103075  bool result;
103076 
103077  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_RestorePos",&obj0,&obj1)) SWIG_fail;
103078  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103079  if (!SWIG_IsOK(res1)) {
103080  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_RestorePos" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
103081  }
103082  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103083  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
103084  if (!SWIG_IsOK(res2)) {
103085  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_RestorePos" "', argument " "2"" of type '" "char const *""'");
103086  }
103087  arg2 = reinterpret_cast< char * >(buf2);
103088  result = (bool)(arg1)->RestorePos((char const *)arg2);
103089  resultobj = SWIG_From_bool(static_cast< bool >(result));
103090  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103091  return resultobj;
103092 fail:
103093  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103094  return NULL;
103095 }
103096 
103097 
103098 SWIGINTERN PyObject *_wrap_CMarkupSTL_RestorePos__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103099  PyObject *resultobj = 0;
103101  void *argp1 = 0 ;
103102  int res1 = 0 ;
103103  PyObject * obj0 = 0 ;
103104  bool result;
103105 
103106  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_RestorePos",&obj0)) SWIG_fail;
103107  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103108  if (!SWIG_IsOK(res1)) {
103109  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_RestorePos" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
103110  }
103111  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103112  result = (bool)(arg1)->RestorePos();
103113  resultobj = SWIG_From_bool(static_cast< bool >(result));
103114  return resultobj;
103115 fail:
103116  return NULL;
103117 }
103118 
103119 
103120 SWIGINTERN PyObject *_wrap_CMarkupSTL_RestorePos(PyObject *self, PyObject *args) {
103121  int argc;
103122  PyObject *argv[3];
103123  int ii;
103124 
103125  if (!PyTuple_Check(args)) SWIG_fail;
103126  argc = args ? (int)PyObject_Length(args) : 0;
103127  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
103128  argv[ii] = PyTuple_GET_ITEM(args,ii);
103129  }
103130  if (argc == 1) {
103131  int _v;
103132  void *vptr = 0;
103133  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
103134  _v = SWIG_CheckState(res);
103135  if (_v) {
103136  return _wrap_CMarkupSTL_RestorePos__SWIG_1(self, args);
103137  }
103138  }
103139  if (argc == 2) {
103140  int _v;
103141  void *vptr = 0;
103142  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
103143  _v = SWIG_CheckState(res);
103144  if (_v) {
103145  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
103146  _v = SWIG_CheckState(res);
103147  if (_v) {
103148  return _wrap_CMarkupSTL_RestorePos__SWIG_0(self, args);
103149  }
103150  }
103151  }
103152 
103153 fail:
103154  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CMarkupSTL_RestorePos'.\n"
103155  " Possible C/C++ prototypes are:\n"
103156  " StdUtils::CMarkupSTL::RestorePos(char const *)\n"
103157  " StdUtils::CMarkupSTL::RestorePos()\n");
103158  return 0;
103159 }
103160 
103161 
103162 SWIGINTERN PyObject *_wrap_CMarkupSTL_GetOffsets(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103163  PyObject *resultobj = 0;
103165  int *arg2 = 0 ;
103166  int *arg3 = 0 ;
103167  void *argp1 = 0 ;
103168  int res1 = 0 ;
103169  void *argp2 = 0 ;
103170  int res2 = 0 ;
103171  void *argp3 = 0 ;
103172  int res3 = 0 ;
103173  PyObject * obj0 = 0 ;
103174  PyObject * obj1 = 0 ;
103175  PyObject * obj2 = 0 ;
103176  bool result;
103177 
103178  if (!PyArg_ParseTuple(args,(char *)"OOO:CMarkupSTL_GetOffsets",&obj0,&obj1,&obj2)) SWIG_fail;
103179  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103180  if (!SWIG_IsOK(res1)) {
103181  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_GetOffsets" "', argument " "1"" of type '" "StdUtils::CMarkupSTL const *""'");
103182  }
103183  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103184  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 );
103185  if (!SWIG_IsOK(res2)) {
103186  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_GetOffsets" "', argument " "2"" of type '" "int &""'");
103187  }
103188  if (!argp2) {
103189  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CMarkupSTL_GetOffsets" "', argument " "2"" of type '" "int &""'");
103190  }
103191  arg2 = reinterpret_cast< int * >(argp2);
103192  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 );
103193  if (!SWIG_IsOK(res3)) {
103194  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CMarkupSTL_GetOffsets" "', argument " "3"" of type '" "int &""'");
103195  }
103196  if (!argp3) {
103197  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CMarkupSTL_GetOffsets" "', argument " "3"" of type '" "int &""'");
103198  }
103199  arg3 = reinterpret_cast< int * >(argp3);
103200  result = (bool)((StdUtils::CMarkupSTL const *)arg1)->GetOffsets(*arg2,*arg3);
103201  resultobj = SWIG_From_bool(static_cast< bool >(result));
103202  return resultobj;
103203 fail:
103204  return NULL;
103205 }
103206 
103207 
103208 SWIGINTERN PyObject *_wrap_CMarkupSTL_GetError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103209  PyObject *resultobj = 0;
103211  void *argp1 = 0 ;
103212  int res1 = 0 ;
103213  PyObject * obj0 = 0 ;
103214  std::string result;
103215 
103216  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_GetError",&obj0)) SWIG_fail;
103217  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103218  if (!SWIG_IsOK(res1)) {
103219  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_GetError" "', argument " "1"" of type '" "StdUtils::CMarkupSTL const *""'");
103220  }
103221  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103222  result = ((StdUtils::CMarkupSTL const *)arg1)->GetError();
103223  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
103224  return resultobj;
103225 fail:
103226  return NULL;
103227 }
103228 
103229 
103230 SWIGINTERN PyObject *_wrap_CMarkupSTL_Save(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103231  PyObject *resultobj = 0;
103233  char *arg2 = (char *) 0 ;
103234  void *argp1 = 0 ;
103235  int res1 = 0 ;
103236  int res2 ;
103237  char *buf2 = 0 ;
103238  int alloc2 = 0 ;
103239  PyObject * obj0 = 0 ;
103240  PyObject * obj1 = 0 ;
103241  bool result;
103242 
103243  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_Save",&obj0,&obj1)) SWIG_fail;
103244  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103245  if (!SWIG_IsOK(res1)) {
103246  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_Save" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
103247  }
103248  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103249  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
103250  if (!SWIG_IsOK(res2)) {
103251  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_Save" "', argument " "2"" of type '" "char const *""'");
103252  }
103253  arg2 = reinterpret_cast< char * >(buf2);
103254  result = (bool)(arg1)->Save((char const *)arg2);
103255  resultobj = SWIG_From_bool(static_cast< bool >(result));
103256  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103257  return resultobj;
103258 fail:
103259  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103260  return NULL;
103261 }
103262 
103263 
103264 SWIGINTERN PyObject *_wrap_CMarkupSTL_GetDoc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103265  PyObject *resultobj = 0;
103267  void *argp1 = 0 ;
103268  int res1 = 0 ;
103269  PyObject * obj0 = 0 ;
103270  std::string result;
103271 
103272  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_GetDoc",&obj0)) SWIG_fail;
103273  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103274  if (!SWIG_IsOK(res1)) {
103275  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_GetDoc" "', argument " "1"" of type '" "StdUtils::CMarkupSTL const *""'");
103276  }
103277  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103278  result = ((StdUtils::CMarkupSTL const *)arg1)->GetDoc();
103279  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
103280  return resultobj;
103281 fail:
103282  return NULL;
103283 }
103284 
103285 
103286 SWIGINTERN PyObject *_wrap_CMarkupSTL_AddElem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103287  PyObject *resultobj = 0;
103289  char *arg2 = (char *) 0 ;
103290  char *arg3 = (char *) 0 ;
103291  void *argp1 = 0 ;
103292  int res1 = 0 ;
103293  int res2 ;
103294  char *buf2 = 0 ;
103295  int alloc2 = 0 ;
103296  int res3 ;
103297  char *buf3 = 0 ;
103298  int alloc3 = 0 ;
103299  PyObject * obj0 = 0 ;
103300  PyObject * obj1 = 0 ;
103301  PyObject * obj2 = 0 ;
103302  bool result;
103303 
103304  if (!PyArg_ParseTuple(args,(char *)"OOO:CMarkupSTL_AddElem",&obj0,&obj1,&obj2)) SWIG_fail;
103305  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103306  if (!SWIG_IsOK(res1)) {
103307  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_AddElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
103308  }
103309  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103310  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
103311  if (!SWIG_IsOK(res2)) {
103312  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_AddElem" "', argument " "2"" of type '" "char const *""'");
103313  }
103314  arg2 = reinterpret_cast< char * >(buf2);
103315  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
103316  if (!SWIG_IsOK(res3)) {
103317  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CMarkupSTL_AddElem" "', argument " "3"" of type '" "char const *""'");
103318  }
103319  arg3 = reinterpret_cast< char * >(buf3);
103320  result = (bool)(arg1)->AddElem((char const *)arg2,(char const *)arg3);
103321  resultobj = SWIG_From_bool(static_cast< bool >(result));
103322  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103323  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
103324  return resultobj;
103325 fail:
103326  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103327  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
103328  return NULL;
103329 }
103330 
103331 
103332 SWIGINTERN PyObject *_wrap_CMarkupSTL_AddElem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103333  PyObject *resultobj = 0;
103335  char *arg2 = (char *) 0 ;
103336  void *argp1 = 0 ;
103337  int res1 = 0 ;
103338  int res2 ;
103339  char *buf2 = 0 ;
103340  int alloc2 = 0 ;
103341  PyObject * obj0 = 0 ;
103342  PyObject * obj1 = 0 ;
103343  bool result;
103344 
103345  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_AddElem",&obj0,&obj1)) SWIG_fail;
103346  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103347  if (!SWIG_IsOK(res1)) {
103348  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_AddElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
103349  }
103350  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103351  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
103352  if (!SWIG_IsOK(res2)) {
103353  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_AddElem" "', argument " "2"" of type '" "char const *""'");
103354  }
103355  arg2 = reinterpret_cast< char * >(buf2);
103356  result = (bool)(arg1)->AddElem((char const *)arg2);
103357  resultobj = SWIG_From_bool(static_cast< bool >(result));
103358  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103359  return resultobj;
103360 fail:
103361  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103362  return NULL;
103363 }
103364 
103365 
103366 SWIGINTERN PyObject *_wrap_CMarkupSTL_AddElem(PyObject *self, PyObject *args) {
103367  int argc;
103368  PyObject *argv[4];
103369  int ii;
103370 
103371  if (!PyTuple_Check(args)) SWIG_fail;
103372  argc = args ? (int)PyObject_Length(args) : 0;
103373  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
103374  argv[ii] = PyTuple_GET_ITEM(args,ii);
103375  }
103376  if (argc == 2) {
103377  int _v;
103378  void *vptr = 0;
103379  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
103380  _v = SWIG_CheckState(res);
103381  if (_v) {
103382  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
103383  _v = SWIG_CheckState(res);
103384  if (_v) {
103385  return _wrap_CMarkupSTL_AddElem__SWIG_1(self, args);
103386  }
103387  }
103388  }
103389  if (argc == 3) {
103390  int _v;
103391  void *vptr = 0;
103392  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
103393  _v = SWIG_CheckState(res);
103394  if (_v) {
103395  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
103396  _v = SWIG_CheckState(res);
103397  if (_v) {
103398  int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
103399  _v = SWIG_CheckState(res);
103400  if (_v) {
103401  return _wrap_CMarkupSTL_AddElem__SWIG_0(self, args);
103402  }
103403  }
103404  }
103405  }
103406 
103407 fail:
103408  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CMarkupSTL_AddElem'.\n"
103409  " Possible C/C++ prototypes are:\n"
103410  " StdUtils::CMarkupSTL::AddElem(char const *,char const *)\n"
103411  " StdUtils::CMarkupSTL::AddElem(char const *)\n");
103412  return 0;
103413 }
103414 
103415 
103416 SWIGINTERN PyObject *_wrap_CMarkupSTL_InsertElem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103417  PyObject *resultobj = 0;
103419  char *arg2 = (char *) 0 ;
103420  char *arg3 = (char *) 0 ;
103421  void *argp1 = 0 ;
103422  int res1 = 0 ;
103423  int res2 ;
103424  char *buf2 = 0 ;
103425  int alloc2 = 0 ;
103426  int res3 ;
103427  char *buf3 = 0 ;
103428  int alloc3 = 0 ;
103429  PyObject * obj0 = 0 ;
103430  PyObject * obj1 = 0 ;
103431  PyObject * obj2 = 0 ;
103432  bool result;
103433 
103434  if (!PyArg_ParseTuple(args,(char *)"OOO:CMarkupSTL_InsertElem",&obj0,&obj1,&obj2)) SWIG_fail;
103435  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103436  if (!SWIG_IsOK(res1)) {
103437  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_InsertElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
103438  }
103439  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103440  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
103441  if (!SWIG_IsOK(res2)) {
103442  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_InsertElem" "', argument " "2"" of type '" "char const *""'");
103443  }
103444  arg2 = reinterpret_cast< char * >(buf2);
103445  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
103446  if (!SWIG_IsOK(res3)) {
103447  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CMarkupSTL_InsertElem" "', argument " "3"" of type '" "char const *""'");
103448  }
103449  arg3 = reinterpret_cast< char * >(buf3);
103450  result = (bool)(arg1)->InsertElem((char const *)arg2,(char const *)arg3);
103451  resultobj = SWIG_From_bool(static_cast< bool >(result));
103452  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103453  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
103454  return resultobj;
103455 fail:
103456  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103457  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
103458  return NULL;
103459 }
103460 
103461 
103462 SWIGINTERN PyObject *_wrap_CMarkupSTL_InsertElem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103463  PyObject *resultobj = 0;
103465  char *arg2 = (char *) 0 ;
103466  void *argp1 = 0 ;
103467  int res1 = 0 ;
103468  int res2 ;
103469  char *buf2 = 0 ;
103470  int alloc2 = 0 ;
103471  PyObject * obj0 = 0 ;
103472  PyObject * obj1 = 0 ;
103473  bool result;
103474 
103475  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_InsertElem",&obj0,&obj1)) SWIG_fail;
103476  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103477  if (!SWIG_IsOK(res1)) {
103478  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_InsertElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
103479  }
103480  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103481  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
103482  if (!SWIG_IsOK(res2)) {
103483  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_InsertElem" "', argument " "2"" of type '" "char const *""'");
103484  }
103485  arg2 = reinterpret_cast< char * >(buf2);
103486  result = (bool)(arg1)->InsertElem((char const *)arg2);
103487  resultobj = SWIG_From_bool(static_cast< bool >(result));
103488  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103489  return resultobj;
103490 fail:
103491  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103492  return NULL;
103493 }
103494 
103495 
103496 SWIGINTERN PyObject *_wrap_CMarkupSTL_InsertElem(PyObject *self, PyObject *args) {
103497  int argc;
103498  PyObject *argv[4];
103499  int ii;
103500 
103501  if (!PyTuple_Check(args)) SWIG_fail;
103502  argc = args ? (int)PyObject_Length(args) : 0;
103503  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
103504  argv[ii] = PyTuple_GET_ITEM(args,ii);
103505  }
103506  if (argc == 2) {
103507  int _v;
103508  void *vptr = 0;
103509  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
103510  _v = SWIG_CheckState(res);
103511  if (_v) {
103512  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
103513  _v = SWIG_CheckState(res);
103514  if (_v) {
103515  return _wrap_CMarkupSTL_InsertElem__SWIG_1(self, args);
103516  }
103517  }
103518  }
103519  if (argc == 3) {
103520  int _v;
103521  void *vptr = 0;
103522  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
103523  _v = SWIG_CheckState(res);
103524  if (_v) {
103525  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
103526  _v = SWIG_CheckState(res);
103527  if (_v) {
103528  int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
103529  _v = SWIG_CheckState(res);
103530  if (_v) {
103531  return _wrap_CMarkupSTL_InsertElem__SWIG_0(self, args);
103532  }
103533  }
103534  }
103535  }
103536 
103537 fail:
103538  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CMarkupSTL_InsertElem'.\n"
103539  " Possible C/C++ prototypes are:\n"
103540  " StdUtils::CMarkupSTL::InsertElem(char const *,char const *)\n"
103541  " StdUtils::CMarkupSTL::InsertElem(char const *)\n");
103542  return 0;
103543 }
103544 
103545 
103546 SWIGINTERN PyObject *_wrap_CMarkupSTL_AddChildElem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103547  PyObject *resultobj = 0;
103549  char *arg2 = (char *) 0 ;
103550  char *arg3 = (char *) 0 ;
103551  void *argp1 = 0 ;
103552  int res1 = 0 ;
103553  int res2 ;
103554  char *buf2 = 0 ;
103555  int alloc2 = 0 ;
103556  int res3 ;
103557  char *buf3 = 0 ;
103558  int alloc3 = 0 ;
103559  PyObject * obj0 = 0 ;
103560  PyObject * obj1 = 0 ;
103561  PyObject * obj2 = 0 ;
103562  bool result;
103563 
103564  if (!PyArg_ParseTuple(args,(char *)"OOO:CMarkupSTL_AddChildElem",&obj0,&obj1,&obj2)) SWIG_fail;
103565  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103566  if (!SWIG_IsOK(res1)) {
103567  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_AddChildElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
103568  }
103569  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103570  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
103571  if (!SWIG_IsOK(res2)) {
103572  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_AddChildElem" "', argument " "2"" of type '" "char const *""'");
103573  }
103574  arg2 = reinterpret_cast< char * >(buf2);
103575  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
103576  if (!SWIG_IsOK(res3)) {
103577  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CMarkupSTL_AddChildElem" "', argument " "3"" of type '" "char const *""'");
103578  }
103579  arg3 = reinterpret_cast< char * >(buf3);
103580  result = (bool)(arg1)->AddChildElem((char const *)arg2,(char const *)arg3);
103581  resultobj = SWIG_From_bool(static_cast< bool >(result));
103582  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103583  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
103584  return resultobj;
103585 fail:
103586  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103587  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
103588  return NULL;
103589 }
103590 
103591 
103592 SWIGINTERN PyObject *_wrap_CMarkupSTL_AddChildElem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103593  PyObject *resultobj = 0;
103595  char *arg2 = (char *) 0 ;
103596  void *argp1 = 0 ;
103597  int res1 = 0 ;
103598  int res2 ;
103599  char *buf2 = 0 ;
103600  int alloc2 = 0 ;
103601  PyObject * obj0 = 0 ;
103602  PyObject * obj1 = 0 ;
103603  bool result;
103604 
103605  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_AddChildElem",&obj0,&obj1)) SWIG_fail;
103606  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103607  if (!SWIG_IsOK(res1)) {
103608  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_AddChildElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
103609  }
103610  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103611  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
103612  if (!SWIG_IsOK(res2)) {
103613  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_AddChildElem" "', argument " "2"" of type '" "char const *""'");
103614  }
103615  arg2 = reinterpret_cast< char * >(buf2);
103616  result = (bool)(arg1)->AddChildElem((char const *)arg2);
103617  resultobj = SWIG_From_bool(static_cast< bool >(result));
103618  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103619  return resultobj;
103620 fail:
103621  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103622  return NULL;
103623 }
103624 
103625 
103626 SWIGINTERN PyObject *_wrap_CMarkupSTL_AddChildElem(PyObject *self, PyObject *args) {
103627  int argc;
103628  PyObject *argv[4];
103629  int ii;
103630 
103631  if (!PyTuple_Check(args)) SWIG_fail;
103632  argc = args ? (int)PyObject_Length(args) : 0;
103633  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
103634  argv[ii] = PyTuple_GET_ITEM(args,ii);
103635  }
103636  if (argc == 2) {
103637  int _v;
103638  void *vptr = 0;
103639  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
103640  _v = SWIG_CheckState(res);
103641  if (_v) {
103642  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
103643  _v = SWIG_CheckState(res);
103644  if (_v) {
103645  return _wrap_CMarkupSTL_AddChildElem__SWIG_1(self, args);
103646  }
103647  }
103648  }
103649  if (argc == 3) {
103650  int _v;
103651  void *vptr = 0;
103652  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
103653  _v = SWIG_CheckState(res);
103654  if (_v) {
103655  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
103656  _v = SWIG_CheckState(res);
103657  if (_v) {
103658  int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
103659  _v = SWIG_CheckState(res);
103660  if (_v) {
103661  return _wrap_CMarkupSTL_AddChildElem__SWIG_0(self, args);
103662  }
103663  }
103664  }
103665  }
103666 
103667 fail:
103668  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CMarkupSTL_AddChildElem'.\n"
103669  " Possible C/C++ prototypes are:\n"
103670  " StdUtils::CMarkupSTL::AddChildElem(char const *,char const *)\n"
103671  " StdUtils::CMarkupSTL::AddChildElem(char const *)\n");
103672  return 0;
103673 }
103674 
103675 
103676 SWIGINTERN PyObject *_wrap_CMarkupSTL_InsertChildElem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103677  PyObject *resultobj = 0;
103679  char *arg2 = (char *) 0 ;
103680  char *arg3 = (char *) 0 ;
103681  void *argp1 = 0 ;
103682  int res1 = 0 ;
103683  int res2 ;
103684  char *buf2 = 0 ;
103685  int alloc2 = 0 ;
103686  int res3 ;
103687  char *buf3 = 0 ;
103688  int alloc3 = 0 ;
103689  PyObject * obj0 = 0 ;
103690  PyObject * obj1 = 0 ;
103691  PyObject * obj2 = 0 ;
103692  bool result;
103693 
103694  if (!PyArg_ParseTuple(args,(char *)"OOO:CMarkupSTL_InsertChildElem",&obj0,&obj1,&obj2)) SWIG_fail;
103695  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103696  if (!SWIG_IsOK(res1)) {
103697  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_InsertChildElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
103698  }
103699  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103700  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
103701  if (!SWIG_IsOK(res2)) {
103702  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_InsertChildElem" "', argument " "2"" of type '" "char const *""'");
103703  }
103704  arg2 = reinterpret_cast< char * >(buf2);
103705  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
103706  if (!SWIG_IsOK(res3)) {
103707  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CMarkupSTL_InsertChildElem" "', argument " "3"" of type '" "char const *""'");
103708  }
103709  arg3 = reinterpret_cast< char * >(buf3);
103710  result = (bool)(arg1)->InsertChildElem((char const *)arg2,(char const *)arg3);
103711  resultobj = SWIG_From_bool(static_cast< bool >(result));
103712  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103713  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
103714  return resultobj;
103715 fail:
103716  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103717  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
103718  return NULL;
103719 }
103720 
103721 
103722 SWIGINTERN PyObject *_wrap_CMarkupSTL_InsertChildElem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103723  PyObject *resultobj = 0;
103725  char *arg2 = (char *) 0 ;
103726  void *argp1 = 0 ;
103727  int res1 = 0 ;
103728  int res2 ;
103729  char *buf2 = 0 ;
103730  int alloc2 = 0 ;
103731  PyObject * obj0 = 0 ;
103732  PyObject * obj1 = 0 ;
103733  bool result;
103734 
103735  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_InsertChildElem",&obj0,&obj1)) SWIG_fail;
103736  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103737  if (!SWIG_IsOK(res1)) {
103738  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_InsertChildElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
103739  }
103740  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103741  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
103742  if (!SWIG_IsOK(res2)) {
103743  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_InsertChildElem" "', argument " "2"" of type '" "char const *""'");
103744  }
103745  arg2 = reinterpret_cast< char * >(buf2);
103746  result = (bool)(arg1)->InsertChildElem((char const *)arg2);
103747  resultobj = SWIG_From_bool(static_cast< bool >(result));
103748  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103749  return resultobj;
103750 fail:
103751  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103752  return NULL;
103753 }
103754 
103755 
103756 SWIGINTERN PyObject *_wrap_CMarkupSTL_InsertChildElem(PyObject *self, PyObject *args) {
103757  int argc;
103758  PyObject *argv[4];
103759  int ii;
103760 
103761  if (!PyTuple_Check(args)) SWIG_fail;
103762  argc = args ? (int)PyObject_Length(args) : 0;
103763  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
103764  argv[ii] = PyTuple_GET_ITEM(args,ii);
103765  }
103766  if (argc == 2) {
103767  int _v;
103768  void *vptr = 0;
103769  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
103770  _v = SWIG_CheckState(res);
103771  if (_v) {
103772  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
103773  _v = SWIG_CheckState(res);
103774  if (_v) {
103775  return _wrap_CMarkupSTL_InsertChildElem__SWIG_1(self, args);
103776  }
103777  }
103778  }
103779  if (argc == 3) {
103780  int _v;
103781  void *vptr = 0;
103782  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
103783  _v = SWIG_CheckState(res);
103784  if (_v) {
103785  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
103786  _v = SWIG_CheckState(res);
103787  if (_v) {
103788  int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
103789  _v = SWIG_CheckState(res);
103790  if (_v) {
103791  return _wrap_CMarkupSTL_InsertChildElem__SWIG_0(self, args);
103792  }
103793  }
103794  }
103795  }
103796 
103797 fail:
103798  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CMarkupSTL_InsertChildElem'.\n"
103799  " Possible C/C++ prototypes are:\n"
103800  " StdUtils::CMarkupSTL::InsertChildElem(char const *,char const *)\n"
103801  " StdUtils::CMarkupSTL::InsertChildElem(char const *)\n");
103802  return 0;
103803 }
103804 
103805 
103806 SWIGINTERN PyObject *_wrap_CMarkupSTL_AddAttrib__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103807  PyObject *resultobj = 0;
103809  char *arg2 = (char *) 0 ;
103810  char *arg3 = (char *) 0 ;
103811  void *argp1 = 0 ;
103812  int res1 = 0 ;
103813  int res2 ;
103814  char *buf2 = 0 ;
103815  int alloc2 = 0 ;
103816  int res3 ;
103817  char *buf3 = 0 ;
103818  int alloc3 = 0 ;
103819  PyObject * obj0 = 0 ;
103820  PyObject * obj1 = 0 ;
103821  PyObject * obj2 = 0 ;
103822  bool result;
103823 
103824  if (!PyArg_ParseTuple(args,(char *)"OOO:CMarkupSTL_AddAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
103825  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103826  if (!SWIG_IsOK(res1)) {
103827  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_AddAttrib" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
103828  }
103829  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103830  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
103831  if (!SWIG_IsOK(res2)) {
103832  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_AddAttrib" "', argument " "2"" of type '" "char const *""'");
103833  }
103834  arg2 = reinterpret_cast< char * >(buf2);
103835  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
103836  if (!SWIG_IsOK(res3)) {
103837  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CMarkupSTL_AddAttrib" "', argument " "3"" of type '" "char const *""'");
103838  }
103839  arg3 = reinterpret_cast< char * >(buf3);
103840  result = (bool)(arg1)->AddAttrib((char const *)arg2,(char const *)arg3);
103841  resultobj = SWIG_From_bool(static_cast< bool >(result));
103842  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103843  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
103844  return resultobj;
103845 fail:
103846  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103847  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
103848  return NULL;
103849 }
103850 
103851 
103852 SWIGINTERN PyObject *_wrap_CMarkupSTL_AddChildAttrib__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103853  PyObject *resultobj = 0;
103855  char *arg2 = (char *) 0 ;
103856  char *arg3 = (char *) 0 ;
103857  void *argp1 = 0 ;
103858  int res1 = 0 ;
103859  int res2 ;
103860  char *buf2 = 0 ;
103861  int alloc2 = 0 ;
103862  int res3 ;
103863  char *buf3 = 0 ;
103864  int alloc3 = 0 ;
103865  PyObject * obj0 = 0 ;
103866  PyObject * obj1 = 0 ;
103867  PyObject * obj2 = 0 ;
103868  bool result;
103869 
103870  if (!PyArg_ParseTuple(args,(char *)"OOO:CMarkupSTL_AddChildAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
103871  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103872  if (!SWIG_IsOK(res1)) {
103873  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_AddChildAttrib" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
103874  }
103875  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103876  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
103877  if (!SWIG_IsOK(res2)) {
103878  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_AddChildAttrib" "', argument " "2"" of type '" "char const *""'");
103879  }
103880  arg2 = reinterpret_cast< char * >(buf2);
103881  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
103882  if (!SWIG_IsOK(res3)) {
103883  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CMarkupSTL_AddChildAttrib" "', argument " "3"" of type '" "char const *""'");
103884  }
103885  arg3 = reinterpret_cast< char * >(buf3);
103886  result = (bool)(arg1)->AddChildAttrib((char const *)arg2,(char const *)arg3);
103887  resultobj = SWIG_From_bool(static_cast< bool >(result));
103888  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103889  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
103890  return resultobj;
103891 fail:
103892  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103893  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
103894  return NULL;
103895 }
103896 
103897 
103898 SWIGINTERN PyObject *_wrap_CMarkupSTL_AddAttrib__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103899  PyObject *resultobj = 0;
103901  char *arg2 = (char *) 0 ;
103902  int arg3 ;
103903  void *argp1 = 0 ;
103904  int res1 = 0 ;
103905  int res2 ;
103906  char *buf2 = 0 ;
103907  int alloc2 = 0 ;
103908  int val3 ;
103909  int ecode3 = 0 ;
103910  PyObject * obj0 = 0 ;
103911  PyObject * obj1 = 0 ;
103912  PyObject * obj2 = 0 ;
103913  bool result;
103914 
103915  if (!PyArg_ParseTuple(args,(char *)"OOO:CMarkupSTL_AddAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
103916  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
103917  if (!SWIG_IsOK(res1)) {
103918  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_AddAttrib" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
103919  }
103920  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
103921  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
103922  if (!SWIG_IsOK(res2)) {
103923  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_AddAttrib" "', argument " "2"" of type '" "char const *""'");
103924  }
103925  arg2 = reinterpret_cast< char * >(buf2);
103926  ecode3 = SWIG_AsVal_int(obj2, &val3);
103927  if (!SWIG_IsOK(ecode3)) {
103928  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CMarkupSTL_AddAttrib" "', argument " "3"" of type '" "int""'");
103929  }
103930  arg3 = static_cast< int >(val3);
103931  result = (bool)(arg1)->AddAttrib((char const *)arg2,arg3);
103932  resultobj = SWIG_From_bool(static_cast< bool >(result));
103933  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103934  return resultobj;
103935 fail:
103936  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
103937  return NULL;
103938 }
103939 
103940 
103941 SWIGINTERN PyObject *_wrap_CMarkupSTL_AddAttrib(PyObject *self, PyObject *args) {
103942  int argc;
103943  PyObject *argv[4];
103944  int ii;
103945 
103946  if (!PyTuple_Check(args)) SWIG_fail;
103947  argc = args ? (int)PyObject_Length(args) : 0;
103948  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
103949  argv[ii] = PyTuple_GET_ITEM(args,ii);
103950  }
103951  if (argc == 3) {
103952  int _v;
103953  void *vptr = 0;
103954  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
103955  _v = SWIG_CheckState(res);
103956  if (_v) {
103957  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
103958  _v = SWIG_CheckState(res);
103959  if (_v) {
103960  {
103961  int res = SWIG_AsVal_int(argv[2], NULL);
103962  _v = SWIG_CheckState(res);
103963  }
103964  if (_v) {
103965  return _wrap_CMarkupSTL_AddAttrib__SWIG_1(self, args);
103966  }
103967  }
103968  }
103969  }
103970  if (argc == 3) {
103971  int _v;
103972  void *vptr = 0;
103973  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
103974  _v = SWIG_CheckState(res);
103975  if (_v) {
103976  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
103977  _v = SWIG_CheckState(res);
103978  if (_v) {
103979  int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
103980  _v = SWIG_CheckState(res);
103981  if (_v) {
103982  return _wrap_CMarkupSTL_AddAttrib__SWIG_0(self, args);
103983  }
103984  }
103985  }
103986  }
103987 
103988 fail:
103989  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CMarkupSTL_AddAttrib'.\n"
103990  " Possible C/C++ prototypes are:\n"
103991  " StdUtils::CMarkupSTL::AddAttrib(char const *,char const *)\n"
103992  " StdUtils::CMarkupSTL::AddAttrib(char const *,int)\n");
103993  return 0;
103994 }
103995 
103996 
103997 SWIGINTERN PyObject *_wrap_CMarkupSTL_AddChildAttrib__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
103998  PyObject *resultobj = 0;
104000  char *arg2 = (char *) 0 ;
104001  int arg3 ;
104002  void *argp1 = 0 ;
104003  int res1 = 0 ;
104004  int res2 ;
104005  char *buf2 = 0 ;
104006  int alloc2 = 0 ;
104007  int val3 ;
104008  int ecode3 = 0 ;
104009  PyObject * obj0 = 0 ;
104010  PyObject * obj1 = 0 ;
104011  PyObject * obj2 = 0 ;
104012  bool result;
104013 
104014  if (!PyArg_ParseTuple(args,(char *)"OOO:CMarkupSTL_AddChildAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
104015  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
104016  if (!SWIG_IsOK(res1)) {
104017  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_AddChildAttrib" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
104018  }
104019  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
104020  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
104021  if (!SWIG_IsOK(res2)) {
104022  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_AddChildAttrib" "', argument " "2"" of type '" "char const *""'");
104023  }
104024  arg2 = reinterpret_cast< char * >(buf2);
104025  ecode3 = SWIG_AsVal_int(obj2, &val3);
104026  if (!SWIG_IsOK(ecode3)) {
104027  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CMarkupSTL_AddChildAttrib" "', argument " "3"" of type '" "int""'");
104028  }
104029  arg3 = static_cast< int >(val3);
104030  result = (bool)(arg1)->AddChildAttrib((char const *)arg2,arg3);
104031  resultobj = SWIG_From_bool(static_cast< bool >(result));
104032  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104033  return resultobj;
104034 fail:
104035  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104036  return NULL;
104037 }
104038 
104039 
104040 SWIGINTERN PyObject *_wrap_CMarkupSTL_AddChildAttrib(PyObject *self, PyObject *args) {
104041  int argc;
104042  PyObject *argv[4];
104043  int ii;
104044 
104045  if (!PyTuple_Check(args)) SWIG_fail;
104046  argc = args ? (int)PyObject_Length(args) : 0;
104047  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
104048  argv[ii] = PyTuple_GET_ITEM(args,ii);
104049  }
104050  if (argc == 3) {
104051  int _v;
104052  void *vptr = 0;
104053  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
104054  _v = SWIG_CheckState(res);
104055  if (_v) {
104056  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
104057  _v = SWIG_CheckState(res);
104058  if (_v) {
104059  {
104060  int res = SWIG_AsVal_int(argv[2], NULL);
104061  _v = SWIG_CheckState(res);
104062  }
104063  if (_v) {
104064  return _wrap_CMarkupSTL_AddChildAttrib__SWIG_1(self, args);
104065  }
104066  }
104067  }
104068  }
104069  if (argc == 3) {
104070  int _v;
104071  void *vptr = 0;
104072  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
104073  _v = SWIG_CheckState(res);
104074  if (_v) {
104075  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
104076  _v = SWIG_CheckState(res);
104077  if (_v) {
104078  int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
104079  _v = SWIG_CheckState(res);
104080  if (_v) {
104081  return _wrap_CMarkupSTL_AddChildAttrib__SWIG_0(self, args);
104082  }
104083  }
104084  }
104085  }
104086 
104087 fail:
104088  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CMarkupSTL_AddChildAttrib'.\n"
104089  " Possible C/C++ prototypes are:\n"
104090  " StdUtils::CMarkupSTL::AddChildAttrib(char const *,char const *)\n"
104091  " StdUtils::CMarkupSTL::AddChildAttrib(char const *,int)\n");
104092  return 0;
104093 }
104094 
104095 
104096 SWIGINTERN PyObject *_wrap_CMarkupSTL_AddChildSubDoc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104097  PyObject *resultobj = 0;
104099  char *arg2 = (char *) 0 ;
104100  void *argp1 = 0 ;
104101  int res1 = 0 ;
104102  int res2 ;
104103  char *buf2 = 0 ;
104104  int alloc2 = 0 ;
104105  PyObject * obj0 = 0 ;
104106  PyObject * obj1 = 0 ;
104107  bool result;
104108 
104109  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_AddChildSubDoc",&obj0,&obj1)) SWIG_fail;
104110  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
104111  if (!SWIG_IsOK(res1)) {
104112  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_AddChildSubDoc" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
104113  }
104114  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
104115  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
104116  if (!SWIG_IsOK(res2)) {
104117  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_AddChildSubDoc" "', argument " "2"" of type '" "char const *""'");
104118  }
104119  arg2 = reinterpret_cast< char * >(buf2);
104120  result = (bool)(arg1)->AddChildSubDoc((char const *)arg2);
104121  resultobj = SWIG_From_bool(static_cast< bool >(result));
104122  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104123  return resultobj;
104124 fail:
104125  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104126  return NULL;
104127 }
104128 
104129 
104130 SWIGINTERN PyObject *_wrap_CMarkupSTL_InsertChildSubDoc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104131  PyObject *resultobj = 0;
104133  char *arg2 = (char *) 0 ;
104134  void *argp1 = 0 ;
104135  int res1 = 0 ;
104136  int res2 ;
104137  char *buf2 = 0 ;
104138  int alloc2 = 0 ;
104139  PyObject * obj0 = 0 ;
104140  PyObject * obj1 = 0 ;
104141  bool result;
104142 
104143  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_InsertChildSubDoc",&obj0,&obj1)) SWIG_fail;
104144  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
104145  if (!SWIG_IsOK(res1)) {
104146  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_InsertChildSubDoc" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
104147  }
104148  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
104149  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
104150  if (!SWIG_IsOK(res2)) {
104151  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_InsertChildSubDoc" "', argument " "2"" of type '" "char const *""'");
104152  }
104153  arg2 = reinterpret_cast< char * >(buf2);
104154  result = (bool)(arg1)->InsertChildSubDoc((char const *)arg2);
104155  resultobj = SWIG_From_bool(static_cast< bool >(result));
104156  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104157  return resultobj;
104158 fail:
104159  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104160  return NULL;
104161 }
104162 
104163 
104164 SWIGINTERN PyObject *_wrap_CMarkupSTL_GetChildSubDoc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104165  PyObject *resultobj = 0;
104167  void *argp1 = 0 ;
104168  int res1 = 0 ;
104169  PyObject * obj0 = 0 ;
104170  std::string result;
104171 
104172  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_GetChildSubDoc",&obj0)) SWIG_fail;
104173  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
104174  if (!SWIG_IsOK(res1)) {
104175  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_GetChildSubDoc" "', argument " "1"" of type '" "StdUtils::CMarkupSTL const *""'");
104176  }
104177  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
104178  result = ((StdUtils::CMarkupSTL const *)arg1)->GetChildSubDoc();
104179  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
104180  return resultobj;
104181 fail:
104182  return NULL;
104183 }
104184 
104185 
104186 SWIGINTERN PyObject *_wrap_CMarkupSTL_RemoveElem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104187  PyObject *resultobj = 0;
104189  void *argp1 = 0 ;
104190  int res1 = 0 ;
104191  PyObject * obj0 = 0 ;
104192  bool result;
104193 
104194  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_RemoveElem",&obj0)) SWIG_fail;
104195  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
104196  if (!SWIG_IsOK(res1)) {
104197  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_RemoveElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
104198  }
104199  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
104200  result = (bool)(arg1)->RemoveElem();
104201  resultobj = SWIG_From_bool(static_cast< bool >(result));
104202  return resultobj;
104203 fail:
104204  return NULL;
104205 }
104206 
104207 
104208 SWIGINTERN PyObject *_wrap_CMarkupSTL_RemoveChildElem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104209  PyObject *resultobj = 0;
104211  void *argp1 = 0 ;
104212  int res1 = 0 ;
104213  PyObject * obj0 = 0 ;
104214  bool result;
104215 
104216  if (!PyArg_ParseTuple(args,(char *)"O:CMarkupSTL_RemoveChildElem",&obj0)) SWIG_fail;
104217  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
104218  if (!SWIG_IsOK(res1)) {
104219  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_RemoveChildElem" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
104220  }
104221  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
104222  result = (bool)(arg1)->RemoveChildElem();
104223  resultobj = SWIG_From_bool(static_cast< bool >(result));
104224  return resultobj;
104225 fail:
104226  return NULL;
104227 }
104228 
104229 
104230 SWIGINTERN PyObject *_wrap_CMarkupSTL_SetAttrib__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104231  PyObject *resultobj = 0;
104233  char *arg2 = (char *) 0 ;
104234  char *arg3 = (char *) 0 ;
104235  void *argp1 = 0 ;
104236  int res1 = 0 ;
104237  int res2 ;
104238  char *buf2 = 0 ;
104239  int alloc2 = 0 ;
104240  int res3 ;
104241  char *buf3 = 0 ;
104242  int alloc3 = 0 ;
104243  PyObject * obj0 = 0 ;
104244  PyObject * obj1 = 0 ;
104245  PyObject * obj2 = 0 ;
104246  bool result;
104247 
104248  if (!PyArg_ParseTuple(args,(char *)"OOO:CMarkupSTL_SetAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
104249  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
104250  if (!SWIG_IsOK(res1)) {
104251  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_SetAttrib" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
104252  }
104253  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
104254  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
104255  if (!SWIG_IsOK(res2)) {
104256  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_SetAttrib" "', argument " "2"" of type '" "char const *""'");
104257  }
104258  arg2 = reinterpret_cast< char * >(buf2);
104259  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
104260  if (!SWIG_IsOK(res3)) {
104261  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CMarkupSTL_SetAttrib" "', argument " "3"" of type '" "char const *""'");
104262  }
104263  arg3 = reinterpret_cast< char * >(buf3);
104264  result = (bool)(arg1)->SetAttrib((char const *)arg2,(char const *)arg3);
104265  resultobj = SWIG_From_bool(static_cast< bool >(result));
104266  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104267  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
104268  return resultobj;
104269 fail:
104270  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104271  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
104272  return NULL;
104273 }
104274 
104275 
104276 SWIGINTERN PyObject *_wrap_CMarkupSTL_SetChildAttrib__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104277  PyObject *resultobj = 0;
104279  char *arg2 = (char *) 0 ;
104280  char *arg3 = (char *) 0 ;
104281  void *argp1 = 0 ;
104282  int res1 = 0 ;
104283  int res2 ;
104284  char *buf2 = 0 ;
104285  int alloc2 = 0 ;
104286  int res3 ;
104287  char *buf3 = 0 ;
104288  int alloc3 = 0 ;
104289  PyObject * obj0 = 0 ;
104290  PyObject * obj1 = 0 ;
104291  PyObject * obj2 = 0 ;
104292  bool result;
104293 
104294  if (!PyArg_ParseTuple(args,(char *)"OOO:CMarkupSTL_SetChildAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
104295  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
104296  if (!SWIG_IsOK(res1)) {
104297  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_SetChildAttrib" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
104298  }
104299  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
104300  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
104301  if (!SWIG_IsOK(res2)) {
104302  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_SetChildAttrib" "', argument " "2"" of type '" "char const *""'");
104303  }
104304  arg2 = reinterpret_cast< char * >(buf2);
104305  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
104306  if (!SWIG_IsOK(res3)) {
104307  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CMarkupSTL_SetChildAttrib" "', argument " "3"" of type '" "char const *""'");
104308  }
104309  arg3 = reinterpret_cast< char * >(buf3);
104310  result = (bool)(arg1)->SetChildAttrib((char const *)arg2,(char const *)arg3);
104311  resultobj = SWIG_From_bool(static_cast< bool >(result));
104312  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104313  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
104314  return resultobj;
104315 fail:
104316  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104317  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
104318  return NULL;
104319 }
104320 
104321 
104322 SWIGINTERN PyObject *_wrap_CMarkupSTL_SetAttrib__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104323  PyObject *resultobj = 0;
104325  char *arg2 = (char *) 0 ;
104326  int arg3 ;
104327  void *argp1 = 0 ;
104328  int res1 = 0 ;
104329  int res2 ;
104330  char *buf2 = 0 ;
104331  int alloc2 = 0 ;
104332  int val3 ;
104333  int ecode3 = 0 ;
104334  PyObject * obj0 = 0 ;
104335  PyObject * obj1 = 0 ;
104336  PyObject * obj2 = 0 ;
104337  bool result;
104338 
104339  if (!PyArg_ParseTuple(args,(char *)"OOO:CMarkupSTL_SetAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
104340  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
104341  if (!SWIG_IsOK(res1)) {
104342  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_SetAttrib" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
104343  }
104344  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
104345  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
104346  if (!SWIG_IsOK(res2)) {
104347  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_SetAttrib" "', argument " "2"" of type '" "char const *""'");
104348  }
104349  arg2 = reinterpret_cast< char * >(buf2);
104350  ecode3 = SWIG_AsVal_int(obj2, &val3);
104351  if (!SWIG_IsOK(ecode3)) {
104352  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CMarkupSTL_SetAttrib" "', argument " "3"" of type '" "int""'");
104353  }
104354  arg3 = static_cast< int >(val3);
104355  result = (bool)(arg1)->SetAttrib((char const *)arg2,arg3);
104356  resultobj = SWIG_From_bool(static_cast< bool >(result));
104357  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104358  return resultobj;
104359 fail:
104360  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104361  return NULL;
104362 }
104363 
104364 
104365 SWIGINTERN PyObject *_wrap_CMarkupSTL_SetAttrib(PyObject *self, PyObject *args) {
104366  int argc;
104367  PyObject *argv[4];
104368  int ii;
104369 
104370  if (!PyTuple_Check(args)) SWIG_fail;
104371  argc = args ? (int)PyObject_Length(args) : 0;
104372  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
104373  argv[ii] = PyTuple_GET_ITEM(args,ii);
104374  }
104375  if (argc == 3) {
104376  int _v;
104377  void *vptr = 0;
104378  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
104379  _v = SWIG_CheckState(res);
104380  if (_v) {
104381  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
104382  _v = SWIG_CheckState(res);
104383  if (_v) {
104384  {
104385  int res = SWIG_AsVal_int(argv[2], NULL);
104386  _v = SWIG_CheckState(res);
104387  }
104388  if (_v) {
104389  return _wrap_CMarkupSTL_SetAttrib__SWIG_1(self, args);
104390  }
104391  }
104392  }
104393  }
104394  if (argc == 3) {
104395  int _v;
104396  void *vptr = 0;
104397  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
104398  _v = SWIG_CheckState(res);
104399  if (_v) {
104400  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
104401  _v = SWIG_CheckState(res);
104402  if (_v) {
104403  int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
104404  _v = SWIG_CheckState(res);
104405  if (_v) {
104406  return _wrap_CMarkupSTL_SetAttrib__SWIG_0(self, args);
104407  }
104408  }
104409  }
104410  }
104411 
104412 fail:
104413  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CMarkupSTL_SetAttrib'.\n"
104414  " Possible C/C++ prototypes are:\n"
104415  " StdUtils::CMarkupSTL::SetAttrib(char const *,char const *)\n"
104416  " StdUtils::CMarkupSTL::SetAttrib(char const *,int)\n");
104417  return 0;
104418 }
104419 
104420 
104421 SWIGINTERN PyObject *_wrap_CMarkupSTL_SetChildAttrib__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104422  PyObject *resultobj = 0;
104424  char *arg2 = (char *) 0 ;
104425  int arg3 ;
104426  void *argp1 = 0 ;
104427  int res1 = 0 ;
104428  int res2 ;
104429  char *buf2 = 0 ;
104430  int alloc2 = 0 ;
104431  int val3 ;
104432  int ecode3 = 0 ;
104433  PyObject * obj0 = 0 ;
104434  PyObject * obj1 = 0 ;
104435  PyObject * obj2 = 0 ;
104436  bool result;
104437 
104438  if (!PyArg_ParseTuple(args,(char *)"OOO:CMarkupSTL_SetChildAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
104439  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
104440  if (!SWIG_IsOK(res1)) {
104441  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_SetChildAttrib" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
104442  }
104443  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
104444  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
104445  if (!SWIG_IsOK(res2)) {
104446  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_SetChildAttrib" "', argument " "2"" of type '" "char const *""'");
104447  }
104448  arg2 = reinterpret_cast< char * >(buf2);
104449  ecode3 = SWIG_AsVal_int(obj2, &val3);
104450  if (!SWIG_IsOK(ecode3)) {
104451  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CMarkupSTL_SetChildAttrib" "', argument " "3"" of type '" "int""'");
104452  }
104453  arg3 = static_cast< int >(val3);
104454  result = (bool)(arg1)->SetChildAttrib((char const *)arg2,arg3);
104455  resultobj = SWIG_From_bool(static_cast< bool >(result));
104456  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104457  return resultobj;
104458 fail:
104459  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104460  return NULL;
104461 }
104462 
104463 
104464 SWIGINTERN PyObject *_wrap_CMarkupSTL_SetChildAttrib(PyObject *self, PyObject *args) {
104465  int argc;
104466  PyObject *argv[4];
104467  int ii;
104468 
104469  if (!PyTuple_Check(args)) SWIG_fail;
104470  argc = args ? (int)PyObject_Length(args) : 0;
104471  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
104472  argv[ii] = PyTuple_GET_ITEM(args,ii);
104473  }
104474  if (argc == 3) {
104475  int _v;
104476  void *vptr = 0;
104477  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
104478  _v = SWIG_CheckState(res);
104479  if (_v) {
104480  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
104481  _v = SWIG_CheckState(res);
104482  if (_v) {
104483  {
104484  int res = SWIG_AsVal_int(argv[2], NULL);
104485  _v = SWIG_CheckState(res);
104486  }
104487  if (_v) {
104488  return _wrap_CMarkupSTL_SetChildAttrib__SWIG_1(self, args);
104489  }
104490  }
104491  }
104492  }
104493  if (argc == 3) {
104494  int _v;
104495  void *vptr = 0;
104496  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
104497  _v = SWIG_CheckState(res);
104498  if (_v) {
104499  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
104500  _v = SWIG_CheckState(res);
104501  if (_v) {
104502  int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
104503  _v = SWIG_CheckState(res);
104504  if (_v) {
104505  return _wrap_CMarkupSTL_SetChildAttrib__SWIG_0(self, args);
104506  }
104507  }
104508  }
104509  }
104510 
104511 fail:
104512  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CMarkupSTL_SetChildAttrib'.\n"
104513  " Possible C/C++ prototypes are:\n"
104514  " StdUtils::CMarkupSTL::SetChildAttrib(char const *,char const *)\n"
104515  " StdUtils::CMarkupSTL::SetChildAttrib(char const *,int)\n");
104516  return 0;
104517 }
104518 
104519 
104520 SWIGINTERN PyObject *_wrap_CMarkupSTL_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104521  PyObject *resultobj = 0;
104523  char *arg2 = (char *) 0 ;
104524  int arg3 ;
104525  void *argp1 = 0 ;
104526  int res1 = 0 ;
104527  int res2 ;
104528  char *buf2 = 0 ;
104529  int alloc2 = 0 ;
104530  int val3 ;
104531  int ecode3 = 0 ;
104532  PyObject * obj0 = 0 ;
104533  PyObject * obj1 = 0 ;
104534  PyObject * obj2 = 0 ;
104535  bool result;
104536 
104537  if (!PyArg_ParseTuple(args,(char *)"OOO:CMarkupSTL_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
104538  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
104539  if (!SWIG_IsOK(res1)) {
104540  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_SetData" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
104541  }
104542  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
104543  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
104544  if (!SWIG_IsOK(res2)) {
104545  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_SetData" "', argument " "2"" of type '" "char const *""'");
104546  }
104547  arg2 = reinterpret_cast< char * >(buf2);
104548  ecode3 = SWIG_AsVal_int(obj2, &val3);
104549  if (!SWIG_IsOK(ecode3)) {
104550  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CMarkupSTL_SetData" "', argument " "3"" of type '" "int""'");
104551  }
104552  arg3 = static_cast< int >(val3);
104553  result = (bool)(arg1)->SetData((char const *)arg2,arg3);
104554  resultobj = SWIG_From_bool(static_cast< bool >(result));
104555  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104556  return resultobj;
104557 fail:
104558  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104559  return NULL;
104560 }
104561 
104562 
104563 SWIGINTERN PyObject *_wrap_CMarkupSTL_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104564  PyObject *resultobj = 0;
104566  char *arg2 = (char *) 0 ;
104567  void *argp1 = 0 ;
104568  int res1 = 0 ;
104569  int res2 ;
104570  char *buf2 = 0 ;
104571  int alloc2 = 0 ;
104572  PyObject * obj0 = 0 ;
104573  PyObject * obj1 = 0 ;
104574  bool result;
104575 
104576  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_SetData",&obj0,&obj1)) SWIG_fail;
104577  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
104578  if (!SWIG_IsOK(res1)) {
104579  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_SetData" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
104580  }
104581  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
104582  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
104583  if (!SWIG_IsOK(res2)) {
104584  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_SetData" "', argument " "2"" of type '" "char const *""'");
104585  }
104586  arg2 = reinterpret_cast< char * >(buf2);
104587  result = (bool)(arg1)->SetData((char const *)arg2);
104588  resultobj = SWIG_From_bool(static_cast< bool >(result));
104589  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104590  return resultobj;
104591 fail:
104592  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104593  return NULL;
104594 }
104595 
104596 
104597 SWIGINTERN PyObject *_wrap_CMarkupSTL_SetData(PyObject *self, PyObject *args) {
104598  int argc;
104599  PyObject *argv[4];
104600  int ii;
104601 
104602  if (!PyTuple_Check(args)) SWIG_fail;
104603  argc = args ? (int)PyObject_Length(args) : 0;
104604  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
104605  argv[ii] = PyTuple_GET_ITEM(args,ii);
104606  }
104607  if (argc == 2) {
104608  int _v;
104609  void *vptr = 0;
104610  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
104611  _v = SWIG_CheckState(res);
104612  if (_v) {
104613  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
104614  _v = SWIG_CheckState(res);
104615  if (_v) {
104616  return _wrap_CMarkupSTL_SetData__SWIG_1(self, args);
104617  }
104618  }
104619  }
104620  if (argc == 3) {
104621  int _v;
104622  void *vptr = 0;
104623  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
104624  _v = SWIG_CheckState(res);
104625  if (_v) {
104626  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
104627  _v = SWIG_CheckState(res);
104628  if (_v) {
104629  {
104630  int res = SWIG_AsVal_int(argv[2], NULL);
104631  _v = SWIG_CheckState(res);
104632  }
104633  if (_v) {
104634  return _wrap_CMarkupSTL_SetData__SWIG_0(self, args);
104635  }
104636  }
104637  }
104638  }
104639 
104640 fail:
104641  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CMarkupSTL_SetData'.\n"
104642  " Possible C/C++ prototypes are:\n"
104643  " StdUtils::CMarkupSTL::SetData(char const *,int)\n"
104644  " StdUtils::CMarkupSTL::SetData(char const *)\n");
104645  return 0;
104646 }
104647 
104648 
104649 SWIGINTERN PyObject *_wrap_CMarkupSTL_SetChildData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104650  PyObject *resultobj = 0;
104652  char *arg2 = (char *) 0 ;
104653  int arg3 ;
104654  void *argp1 = 0 ;
104655  int res1 = 0 ;
104656  int res2 ;
104657  char *buf2 = 0 ;
104658  int alloc2 = 0 ;
104659  int val3 ;
104660  int ecode3 = 0 ;
104661  PyObject * obj0 = 0 ;
104662  PyObject * obj1 = 0 ;
104663  PyObject * obj2 = 0 ;
104664  bool result;
104665 
104666  if (!PyArg_ParseTuple(args,(char *)"OOO:CMarkupSTL_SetChildData",&obj0,&obj1,&obj2)) SWIG_fail;
104667  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
104668  if (!SWIG_IsOK(res1)) {
104669  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_SetChildData" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
104670  }
104671  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
104672  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
104673  if (!SWIG_IsOK(res2)) {
104674  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_SetChildData" "', argument " "2"" of type '" "char const *""'");
104675  }
104676  arg2 = reinterpret_cast< char * >(buf2);
104677  ecode3 = SWIG_AsVal_int(obj2, &val3);
104678  if (!SWIG_IsOK(ecode3)) {
104679  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CMarkupSTL_SetChildData" "', argument " "3"" of type '" "int""'");
104680  }
104681  arg3 = static_cast< int >(val3);
104682  result = (bool)(arg1)->SetChildData((char const *)arg2,arg3);
104683  resultobj = SWIG_From_bool(static_cast< bool >(result));
104684  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104685  return resultobj;
104686 fail:
104687  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104688  return NULL;
104689 }
104690 
104691 
104692 SWIGINTERN PyObject *_wrap_CMarkupSTL_SetChildData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104693  PyObject *resultobj = 0;
104695  char *arg2 = (char *) 0 ;
104696  void *argp1 = 0 ;
104697  int res1 = 0 ;
104698  int res2 ;
104699  char *buf2 = 0 ;
104700  int alloc2 = 0 ;
104701  PyObject * obj0 = 0 ;
104702  PyObject * obj1 = 0 ;
104703  bool result;
104704 
104705  if (!PyArg_ParseTuple(args,(char *)"OO:CMarkupSTL_SetChildData",&obj0,&obj1)) SWIG_fail;
104706  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CMarkupSTL, 0 | 0 );
104707  if (!SWIG_IsOK(res1)) {
104708  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CMarkupSTL_SetChildData" "', argument " "1"" of type '" "StdUtils::CMarkupSTL *""'");
104709  }
104710  arg1 = reinterpret_cast< StdUtils::CMarkupSTL * >(argp1);
104711  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
104712  if (!SWIG_IsOK(res2)) {
104713  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CMarkupSTL_SetChildData" "', argument " "2"" of type '" "char const *""'");
104714  }
104715  arg2 = reinterpret_cast< char * >(buf2);
104716  result = (bool)(arg1)->SetChildData((char const *)arg2);
104717  resultobj = SWIG_From_bool(static_cast< bool >(result));
104718  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104719  return resultobj;
104720 fail:
104721  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
104722  return NULL;
104723 }
104724 
104725 
104726 SWIGINTERN PyObject *_wrap_CMarkupSTL_SetChildData(PyObject *self, PyObject *args) {
104727  int argc;
104728  PyObject *argv[4];
104729  int ii;
104730 
104731  if (!PyTuple_Check(args)) SWIG_fail;
104732  argc = args ? (int)PyObject_Length(args) : 0;
104733  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
104734  argv[ii] = PyTuple_GET_ITEM(args,ii);
104735  }
104736  if (argc == 2) {
104737  int _v;
104738  void *vptr = 0;
104739  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
104740  _v = SWIG_CheckState(res);
104741  if (_v) {
104742  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
104743  _v = SWIG_CheckState(res);
104744  if (_v) {
104745  return _wrap_CMarkupSTL_SetChildData__SWIG_1(self, args);
104746  }
104747  }
104748  }
104749  if (argc == 3) {
104750  int _v;
104751  void *vptr = 0;
104752  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CMarkupSTL, 0);
104753  _v = SWIG_CheckState(res);
104754  if (_v) {
104755  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
104756  _v = SWIG_CheckState(res);
104757  if (_v) {
104758  {
104759  int res = SWIG_AsVal_int(argv[2], NULL);
104760  _v = SWIG_CheckState(res);
104761  }
104762  if (_v) {
104763  return _wrap_CMarkupSTL_SetChildData__SWIG_0(self, args);
104764  }
104765  }
104766  }
104767  }
104768 
104769 fail:
104770  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CMarkupSTL_SetChildData'.\n"
104771  " Possible C/C++ prototypes are:\n"
104772  " StdUtils::CMarkupSTL::SetChildData(char const *,int)\n"
104773  " StdUtils::CMarkupSTL::SetChildData(char const *)\n");
104774  return 0;
104775 }
104776 
104777 
104778 SWIGINTERN PyObject *CMarkupSTL_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104779  PyObject *obj;
104780  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
104781  SWIG_TypeNewClientData(SWIGTYPE_p_StdUtils__CMarkupSTL, SWIG_NewClientData(obj));
104782  return SWIG_Py_Void();
104783 }
104784 
104785 SWIGINTERN PyObject *_wrap_new_CStdXml(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104786  PyObject *resultobj = 0;
104787  StdUtils::CStdXml *result = 0 ;
104788 
104789  if (!PyArg_ParseTuple(args,(char *)":new_CStdXml")) SWIG_fail;
104790  result = (StdUtils::CStdXml *)new StdUtils::CStdXml();
104791  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdXml, SWIG_POINTER_NEW | 0 );
104792  return resultobj;
104793 fail:
104794  return NULL;
104795 }
104796 
104797 
104798 SWIGINTERN PyObject *_wrap_delete_CStdXml(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104799  PyObject *resultobj = 0;
104800  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
104801  void *argp1 = 0 ;
104802  int res1 = 0 ;
104803  PyObject * obj0 = 0 ;
104804 
104805  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdXml",&obj0)) SWIG_fail;
104806  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, SWIG_POINTER_DISOWN | 0 );
104807  if (!SWIG_IsOK(res1)) {
104808  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdXml" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
104809  }
104810  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
104811  delete arg1;
104812  resultobj = SWIG_Py_Void();
104813  return resultobj;
104814 fail:
104815  return NULL;
104816 }
104817 
104818 
104819 SWIGINTERN PyObject *_wrap_CStdXml_Serialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104820  PyObject *resultobj = 0;
104821  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
104822  void *argp1 = 0 ;
104823  int res1 = 0 ;
104824  PyObject * obj0 = 0 ;
104825  std::string result;
104826 
104827  if (!PyArg_ParseTuple(args,(char *)"O:CStdXml_Serialize",&obj0)) SWIG_fail;
104828  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
104829  if (!SWIG_IsOK(res1)) {
104830  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_Serialize" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
104831  }
104832  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
104833  result = (arg1)->Serialize();
104834  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
104835  return resultobj;
104836 fail:
104837  return NULL;
104838 }
104839 
104840 
104841 SWIGINTERN PyObject *_wrap_CStdXml_Deserialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104842  PyObject *resultobj = 0;
104843  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
104844  std::string *arg2 = 0 ;
104845  void *argp1 = 0 ;
104846  int res1 = 0 ;
104847  void *argp2 = 0 ;
104848  int res2 = 0 ;
104849  PyObject * obj0 = 0 ;
104850  PyObject * obj1 = 0 ;
104851 
104852  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_Deserialize",&obj0,&obj1)) SWIG_fail;
104853  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
104854  if (!SWIG_IsOK(res1)) {
104855  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_Deserialize" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
104856  }
104857  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
104858  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__string, 0 );
104859  if (!SWIG_IsOK(res2)) {
104860  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdXml_Deserialize" "', argument " "2"" of type '" "std::string &""'");
104861  }
104862  if (!argp2) {
104863  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdXml_Deserialize" "', argument " "2"" of type '" "std::string &""'");
104864  }
104865  arg2 = reinterpret_cast< std::string * >(argp2);
104866  (arg1)->Deserialize(*arg2);
104867  resultobj = SWIG_Py_Void();
104868  return resultobj;
104869 fail:
104870  return NULL;
104871 }
104872 
104873 
104874 SWIGINTERN PyObject *_wrap_CStdXml_IntoElem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104875  PyObject *resultobj = 0;
104876  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
104877  void *argp1 = 0 ;
104878  int res1 = 0 ;
104879  PyObject * obj0 = 0 ;
104880  bool result;
104881 
104882  if (!PyArg_ParseTuple(args,(char *)"O:CStdXml_IntoElem",&obj0)) SWIG_fail;
104883  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
104884  if (!SWIG_IsOK(res1)) {
104885  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_IntoElem" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
104886  }
104887  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
104888  result = (bool)(arg1)->IntoElem();
104889  resultobj = SWIG_From_bool(static_cast< bool >(result));
104890  return resultobj;
104891 fail:
104892  return NULL;
104893 }
104894 
104895 
104896 SWIGINTERN PyObject *_wrap_CStdXml_OutOfElem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104897  PyObject *resultobj = 0;
104898  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
104899  void *argp1 = 0 ;
104900  int res1 = 0 ;
104901  PyObject * obj0 = 0 ;
104902  bool result;
104903 
104904  if (!PyArg_ParseTuple(args,(char *)"O:CStdXml_OutOfElem",&obj0)) SWIG_fail;
104905  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
104906  if (!SWIG_IsOK(res1)) {
104907  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_OutOfElem" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
104908  }
104909  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
104910  result = (bool)(arg1)->OutOfElem();
104911  resultobj = SWIG_From_bool(static_cast< bool >(result));
104912  return resultobj;
104913 fail:
104914  return NULL;
104915 }
104916 
104917 
104918 SWIGINTERN PyObject *_wrap_CStdXml_FullTagPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104919  PyObject *resultobj = 0;
104920  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
104921  bool arg2 ;
104922  void *argp1 = 0 ;
104923  int res1 = 0 ;
104924  bool val2 ;
104925  int ecode2 = 0 ;
104926  PyObject * obj0 = 0 ;
104927  PyObject * obj1 = 0 ;
104928  std::string result;
104929 
104930  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_FullTagPath",&obj0,&obj1)) SWIG_fail;
104931  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
104932  if (!SWIG_IsOK(res1)) {
104933  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_FullTagPath" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
104934  }
104935  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
104936  ecode2 = SWIG_AsVal_bool(obj1, &val2);
104937  if (!SWIG_IsOK(ecode2)) {
104938  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdXml_FullTagPath" "', argument " "2"" of type '" "bool""'");
104939  }
104940  arg2 = static_cast< bool >(val2);
104941  result = (arg1)->FullTagPath(arg2);
104942  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
104943  return resultobj;
104944 fail:
104945  return NULL;
104946 }
104947 
104948 
104949 SWIGINTERN PyObject *_wrap_CStdXml_FullTagPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
104950  PyObject *resultobj = 0;
104951  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
104952  void *argp1 = 0 ;
104953  int res1 = 0 ;
104954  PyObject * obj0 = 0 ;
104955  std::string result;
104956 
104957  if (!PyArg_ParseTuple(args,(char *)"O:CStdXml_FullTagPath",&obj0)) SWIG_fail;
104958  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
104959  if (!SWIG_IsOK(res1)) {
104960  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_FullTagPath" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
104961  }
104962  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
104963  result = (arg1)->FullTagPath();
104964  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
104965  return resultobj;
104966 fail:
104967  return NULL;
104968 }
104969 
104970 
104971 SWIGINTERN PyObject *_wrap_CStdXml_FullTagPath(PyObject *self, PyObject *args) {
104972  int argc;
104973  PyObject *argv[3];
104974  int ii;
104975 
104976  if (!PyTuple_Check(args)) SWIG_fail;
104977  argc = args ? (int)PyObject_Length(args) : 0;
104978  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
104979  argv[ii] = PyTuple_GET_ITEM(args,ii);
104980  }
104981  if (argc == 1) {
104982  int _v;
104983  void *vptr = 0;
104984  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
104985  _v = SWIG_CheckState(res);
104986  if (_v) {
104987  return _wrap_CStdXml_FullTagPath__SWIG_1(self, args);
104988  }
104989  }
104990  if (argc == 2) {
104991  int _v;
104992  void *vptr = 0;
104993  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
104994  _v = SWIG_CheckState(res);
104995  if (_v) {
104996  {
104997  int res = SWIG_AsVal_bool(argv[1], NULL);
104998  _v = SWIG_CheckState(res);
104999  }
105000  if (_v) {
105001  return _wrap_CStdXml_FullTagPath__SWIG_0(self, args);
105002  }
105003  }
105004  }
105005 
105006 fail:
105007  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_FullTagPath'.\n"
105008  " Possible C/C++ prototypes are:\n"
105009  " StdUtils::CStdXml::FullTagPath(bool)\n"
105010  " StdUtils::CStdXml::FullTagPath()\n");
105011  return 0;
105012 }
105013 
105014 
105015 SWIGINTERN PyObject *_wrap_CStdXml_NumberOfChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105016  PyObject *resultobj = 0;
105017  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105018  void *argp1 = 0 ;
105019  int res1 = 0 ;
105020  PyObject * obj0 = 0 ;
105021  int result;
105022 
105023  if (!PyArg_ParseTuple(args,(char *)"O:CStdXml_NumberOfChildren",&obj0)) SWIG_fail;
105024  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105025  if (!SWIG_IsOK(res1)) {
105026  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_NumberOfChildren" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105027  }
105028  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105029  result = (int)(arg1)->NumberOfChildren();
105030  resultobj = SWIG_From_int(static_cast< int >(result));
105031  return resultobj;
105032 fail:
105033  return NULL;
105034 }
105035 
105036 
105037 SWIGINTERN PyObject *_wrap_CStdXml_FindElement__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105038  PyObject *resultobj = 0;
105039  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105040  std::string arg2 ;
105041  bool arg3 ;
105042  void *argp1 = 0 ;
105043  int res1 = 0 ;
105044  bool val3 ;
105045  int ecode3 = 0 ;
105046  PyObject * obj0 = 0 ;
105047  PyObject * obj1 = 0 ;
105048  PyObject * obj2 = 0 ;
105049  bool result;
105050 
105051  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_FindElement",&obj0,&obj1,&obj2)) SWIG_fail;
105052  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105053  if (!SWIG_IsOK(res1)) {
105054  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_FindElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105055  }
105056  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105057  {
105058  std::string *ptr = (std::string *)0;
105059  int res = SWIG_AsPtr_std_string(obj1, &ptr);
105060  if (!SWIG_IsOK(res) || !ptr) {
105061  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_FindElement" "', argument " "2"" of type '" "std::string""'");
105062  }
105063  arg2 = *ptr;
105064  if (SWIG_IsNewObj(res)) delete ptr;
105065  }
105066  ecode3 = SWIG_AsVal_bool(obj2, &val3);
105067  if (!SWIG_IsOK(ecode3)) {
105068  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_FindElement" "', argument " "3"" of type '" "bool""'");
105069  }
105070  arg3 = static_cast< bool >(val3);
105071  result = (bool)(arg1)->FindElement(arg2,arg3);
105072  resultobj = SWIG_From_bool(static_cast< bool >(result));
105073  return resultobj;
105074 fail:
105075  return NULL;
105076 }
105077 
105078 
105079 SWIGINTERN PyObject *_wrap_CStdXml_FindElement__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105080  PyObject *resultobj = 0;
105081  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105082  std::string arg2 ;
105083  void *argp1 = 0 ;
105084  int res1 = 0 ;
105085  PyObject * obj0 = 0 ;
105086  PyObject * obj1 = 0 ;
105087  bool result;
105088 
105089  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_FindElement",&obj0,&obj1)) SWIG_fail;
105090  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105091  if (!SWIG_IsOK(res1)) {
105092  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_FindElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105093  }
105094  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105095  {
105096  std::string *ptr = (std::string *)0;
105097  int res = SWIG_AsPtr_std_string(obj1, &ptr);
105098  if (!SWIG_IsOK(res) || !ptr) {
105099  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_FindElement" "', argument " "2"" of type '" "std::string""'");
105100  }
105101  arg2 = *ptr;
105102  if (SWIG_IsNewObj(res)) delete ptr;
105103  }
105104  result = (bool)(arg1)->FindElement(arg2);
105105  resultobj = SWIG_From_bool(static_cast< bool >(result));
105106  return resultobj;
105107 fail:
105108  return NULL;
105109 }
105110 
105111 
105112 SWIGINTERN PyObject *_wrap_CStdXml_FindElement(PyObject *self, PyObject *args) {
105113  int argc;
105114  PyObject *argv[4];
105115  int ii;
105116 
105117  if (!PyTuple_Check(args)) SWIG_fail;
105118  argc = args ? (int)PyObject_Length(args) : 0;
105119  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
105120  argv[ii] = PyTuple_GET_ITEM(args,ii);
105121  }
105122  if (argc == 2) {
105123  int _v;
105124  void *vptr = 0;
105125  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105126  _v = SWIG_CheckState(res);
105127  if (_v) {
105128  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
105129  _v = SWIG_CheckState(res);
105130  if (_v) {
105131  return _wrap_CStdXml_FindElement__SWIG_1(self, args);
105132  }
105133  }
105134  }
105135  if (argc == 3) {
105136  int _v;
105137  void *vptr = 0;
105138  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105139  _v = SWIG_CheckState(res);
105140  if (_v) {
105141  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
105142  _v = SWIG_CheckState(res);
105143  if (_v) {
105144  {
105145  int res = SWIG_AsVal_bool(argv[2], NULL);
105146  _v = SWIG_CheckState(res);
105147  }
105148  if (_v) {
105149  return _wrap_CStdXml_FindElement__SWIG_0(self, args);
105150  }
105151  }
105152  }
105153  }
105154 
105155 fail:
105156  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_FindElement'.\n"
105157  " Possible C/C++ prototypes are:\n"
105158  " StdUtils::CStdXml::FindElement(std::string,bool)\n"
105159  " StdUtils::CStdXml::FindElement(std::string)\n");
105160  return 0;
105161 }
105162 
105163 
105164 SWIGINTERN PyObject *_wrap_CStdXml_FindChildByIndex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105165  PyObject *resultobj = 0;
105166  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105167  int arg2 ;
105168  bool arg3 ;
105169  void *argp1 = 0 ;
105170  int res1 = 0 ;
105171  int val2 ;
105172  int ecode2 = 0 ;
105173  bool val3 ;
105174  int ecode3 = 0 ;
105175  PyObject * obj0 = 0 ;
105176  PyObject * obj1 = 0 ;
105177  PyObject * obj2 = 0 ;
105178  bool result;
105179 
105180  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_FindChildByIndex",&obj0,&obj1,&obj2)) SWIG_fail;
105181  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105182  if (!SWIG_IsOK(res1)) {
105183  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_FindChildByIndex" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105184  }
105185  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105186  ecode2 = SWIG_AsVal_int(obj1, &val2);
105187  if (!SWIG_IsOK(ecode2)) {
105188  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdXml_FindChildByIndex" "', argument " "2"" of type '" "int""'");
105189  }
105190  arg2 = static_cast< int >(val2);
105191  ecode3 = SWIG_AsVal_bool(obj2, &val3);
105192  if (!SWIG_IsOK(ecode3)) {
105193  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_FindChildByIndex" "', argument " "3"" of type '" "bool""'");
105194  }
105195  arg3 = static_cast< bool >(val3);
105196  result = (bool)(arg1)->FindChildByIndex(arg2,arg3);
105197  resultobj = SWIG_From_bool(static_cast< bool >(result));
105198  return resultobj;
105199 fail:
105200  return NULL;
105201 }
105202 
105203 
105204 SWIGINTERN PyObject *_wrap_CStdXml_FindChildByIndex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105205  PyObject *resultobj = 0;
105206  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105207  int arg2 ;
105208  void *argp1 = 0 ;
105209  int res1 = 0 ;
105210  int val2 ;
105211  int ecode2 = 0 ;
105212  PyObject * obj0 = 0 ;
105213  PyObject * obj1 = 0 ;
105214  bool result;
105215 
105216  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_FindChildByIndex",&obj0,&obj1)) SWIG_fail;
105217  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105218  if (!SWIG_IsOK(res1)) {
105219  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_FindChildByIndex" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105220  }
105221  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105222  ecode2 = SWIG_AsVal_int(obj1, &val2);
105223  if (!SWIG_IsOK(ecode2)) {
105224  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdXml_FindChildByIndex" "', argument " "2"" of type '" "int""'");
105225  }
105226  arg2 = static_cast< int >(val2);
105227  result = (bool)(arg1)->FindChildByIndex(arg2);
105228  resultobj = SWIG_From_bool(static_cast< bool >(result));
105229  return resultobj;
105230 fail:
105231  return NULL;
105232 }
105233 
105234 
105235 SWIGINTERN PyObject *_wrap_CStdXml_FindChildByIndex(PyObject *self, PyObject *args) {
105236  int argc;
105237  PyObject *argv[4];
105238  int ii;
105239 
105240  if (!PyTuple_Check(args)) SWIG_fail;
105241  argc = args ? (int)PyObject_Length(args) : 0;
105242  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
105243  argv[ii] = PyTuple_GET_ITEM(args,ii);
105244  }
105245  if (argc == 2) {
105246  int _v;
105247  void *vptr = 0;
105248  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105249  _v = SWIG_CheckState(res);
105250  if (_v) {
105251  {
105252  int res = SWIG_AsVal_int(argv[1], NULL);
105253  _v = SWIG_CheckState(res);
105254  }
105255  if (_v) {
105256  return _wrap_CStdXml_FindChildByIndex__SWIG_1(self, args);
105257  }
105258  }
105259  }
105260  if (argc == 3) {
105261  int _v;
105262  void *vptr = 0;
105263  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105264  _v = SWIG_CheckState(res);
105265  if (_v) {
105266  {
105267  int res = SWIG_AsVal_int(argv[1], NULL);
105268  _v = SWIG_CheckState(res);
105269  }
105270  if (_v) {
105271  {
105272  int res = SWIG_AsVal_bool(argv[2], NULL);
105273  _v = SWIG_CheckState(res);
105274  }
105275  if (_v) {
105276  return _wrap_CStdXml_FindChildByIndex__SWIG_0(self, args);
105277  }
105278  }
105279  }
105280  }
105281 
105282 fail:
105283  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_FindChildByIndex'.\n"
105284  " Possible C/C++ prototypes are:\n"
105285  " StdUtils::CStdXml::FindChildByIndex(int,bool)\n"
105286  " StdUtils::CStdXml::FindChildByIndex(int)\n");
105287  return 0;
105288 }
105289 
105290 
105291 SWIGINTERN PyObject *_wrap_CStdXml_FindChildElement__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105292  PyObject *resultobj = 0;
105293  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105294  std::string arg2 ;
105295  bool arg3 ;
105296  void *argp1 = 0 ;
105297  int res1 = 0 ;
105298  bool val3 ;
105299  int ecode3 = 0 ;
105300  PyObject * obj0 = 0 ;
105301  PyObject * obj1 = 0 ;
105302  PyObject * obj2 = 0 ;
105303  bool result;
105304 
105305  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_FindChildElement",&obj0,&obj1,&obj2)) SWIG_fail;
105306  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105307  if (!SWIG_IsOK(res1)) {
105308  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_FindChildElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105309  }
105310  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105311  {
105312  std::string *ptr = (std::string *)0;
105313  int res = SWIG_AsPtr_std_string(obj1, &ptr);
105314  if (!SWIG_IsOK(res) || !ptr) {
105315  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_FindChildElement" "', argument " "2"" of type '" "std::string""'");
105316  }
105317  arg2 = *ptr;
105318  if (SWIG_IsNewObj(res)) delete ptr;
105319  }
105320  ecode3 = SWIG_AsVal_bool(obj2, &val3);
105321  if (!SWIG_IsOK(ecode3)) {
105322  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_FindChildElement" "', argument " "3"" of type '" "bool""'");
105323  }
105324  arg3 = static_cast< bool >(val3);
105325  result = (bool)(arg1)->FindChildElement(arg2,arg3);
105326  resultobj = SWIG_From_bool(static_cast< bool >(result));
105327  return resultobj;
105328 fail:
105329  return NULL;
105330 }
105331 
105332 
105333 SWIGINTERN PyObject *_wrap_CStdXml_FindChildElement__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105334  PyObject *resultobj = 0;
105335  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105336  std::string arg2 ;
105337  void *argp1 = 0 ;
105338  int res1 = 0 ;
105339  PyObject * obj0 = 0 ;
105340  PyObject * obj1 = 0 ;
105341  bool result;
105342 
105343  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_FindChildElement",&obj0,&obj1)) SWIG_fail;
105344  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105345  if (!SWIG_IsOK(res1)) {
105346  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_FindChildElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105347  }
105348  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105349  {
105350  std::string *ptr = (std::string *)0;
105351  int res = SWIG_AsPtr_std_string(obj1, &ptr);
105352  if (!SWIG_IsOK(res) || !ptr) {
105353  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_FindChildElement" "', argument " "2"" of type '" "std::string""'");
105354  }
105355  arg2 = *ptr;
105356  if (SWIG_IsNewObj(res)) delete ptr;
105357  }
105358  result = (bool)(arg1)->FindChildElement(arg2);
105359  resultobj = SWIG_From_bool(static_cast< bool >(result));
105360  return resultobj;
105361 fail:
105362  return NULL;
105363 }
105364 
105365 
105366 SWIGINTERN PyObject *_wrap_CStdXml_FindChildElement(PyObject *self, PyObject *args) {
105367  int argc;
105368  PyObject *argv[4];
105369  int ii;
105370 
105371  if (!PyTuple_Check(args)) SWIG_fail;
105372  argc = args ? (int)PyObject_Length(args) : 0;
105373  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
105374  argv[ii] = PyTuple_GET_ITEM(args,ii);
105375  }
105376  if (argc == 2) {
105377  int _v;
105378  void *vptr = 0;
105379  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105380  _v = SWIG_CheckState(res);
105381  if (_v) {
105382  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
105383  _v = SWIG_CheckState(res);
105384  if (_v) {
105385  return _wrap_CStdXml_FindChildElement__SWIG_1(self, args);
105386  }
105387  }
105388  }
105389  if (argc == 3) {
105390  int _v;
105391  void *vptr = 0;
105392  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105393  _v = SWIG_CheckState(res);
105394  if (_v) {
105395  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
105396  _v = SWIG_CheckState(res);
105397  if (_v) {
105398  {
105399  int res = SWIG_AsVal_bool(argv[2], NULL);
105400  _v = SWIG_CheckState(res);
105401  }
105402  if (_v) {
105403  return _wrap_CStdXml_FindChildElement__SWIG_0(self, args);
105404  }
105405  }
105406  }
105407  }
105408 
105409 fail:
105410  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_FindChildElement'.\n"
105411  " Possible C/C++ prototypes are:\n"
105412  " StdUtils::CStdXml::FindChildElement(std::string,bool)\n"
105413  " StdUtils::CStdXml::FindChildElement(std::string)\n");
105414  return 0;
105415 }
105416 
105417 
105418 SWIGINTERN PyObject *_wrap_CStdXml_IntoChildElement__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105419  PyObject *resultobj = 0;
105420  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105421  std::string arg2 ;
105422  bool arg3 ;
105423  void *argp1 = 0 ;
105424  int res1 = 0 ;
105425  bool val3 ;
105426  int ecode3 = 0 ;
105427  PyObject * obj0 = 0 ;
105428  PyObject * obj1 = 0 ;
105429  PyObject * obj2 = 0 ;
105430  bool result;
105431 
105432  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_IntoChildElement",&obj0,&obj1,&obj2)) SWIG_fail;
105433  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105434  if (!SWIG_IsOK(res1)) {
105435  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_IntoChildElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105436  }
105437  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105438  {
105439  std::string *ptr = (std::string *)0;
105440  int res = SWIG_AsPtr_std_string(obj1, &ptr);
105441  if (!SWIG_IsOK(res) || !ptr) {
105442  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_IntoChildElement" "', argument " "2"" of type '" "std::string""'");
105443  }
105444  arg2 = *ptr;
105445  if (SWIG_IsNewObj(res)) delete ptr;
105446  }
105447  ecode3 = SWIG_AsVal_bool(obj2, &val3);
105448  if (!SWIG_IsOK(ecode3)) {
105449  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_IntoChildElement" "', argument " "3"" of type '" "bool""'");
105450  }
105451  arg3 = static_cast< bool >(val3);
105452  result = (bool)(arg1)->IntoChildElement(arg2,arg3);
105453  resultobj = SWIG_From_bool(static_cast< bool >(result));
105454  return resultobj;
105455 fail:
105456  return NULL;
105457 }
105458 
105459 
105460 SWIGINTERN PyObject *_wrap_CStdXml_IntoChildElement__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105461  PyObject *resultobj = 0;
105462  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105463  std::string arg2 ;
105464  void *argp1 = 0 ;
105465  int res1 = 0 ;
105466  PyObject * obj0 = 0 ;
105467  PyObject * obj1 = 0 ;
105468  bool result;
105469 
105470  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_IntoChildElement",&obj0,&obj1)) SWIG_fail;
105471  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105472  if (!SWIG_IsOK(res1)) {
105473  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_IntoChildElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105474  }
105475  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105476  {
105477  std::string *ptr = (std::string *)0;
105478  int res = SWIG_AsPtr_std_string(obj1, &ptr);
105479  if (!SWIG_IsOK(res) || !ptr) {
105480  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_IntoChildElement" "', argument " "2"" of type '" "std::string""'");
105481  }
105482  arg2 = *ptr;
105483  if (SWIG_IsNewObj(res)) delete ptr;
105484  }
105485  result = (bool)(arg1)->IntoChildElement(arg2);
105486  resultobj = SWIG_From_bool(static_cast< bool >(result));
105487  return resultobj;
105488 fail:
105489  return NULL;
105490 }
105491 
105492 
105493 SWIGINTERN PyObject *_wrap_CStdXml_IntoChildElement(PyObject *self, PyObject *args) {
105494  int argc;
105495  PyObject *argv[4];
105496  int ii;
105497 
105498  if (!PyTuple_Check(args)) SWIG_fail;
105499  argc = args ? (int)PyObject_Length(args) : 0;
105500  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
105501  argv[ii] = PyTuple_GET_ITEM(args,ii);
105502  }
105503  if (argc == 2) {
105504  int _v;
105505  void *vptr = 0;
105506  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105507  _v = SWIG_CheckState(res);
105508  if (_v) {
105509  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
105510  _v = SWIG_CheckState(res);
105511  if (_v) {
105512  return _wrap_CStdXml_IntoChildElement__SWIG_1(self, args);
105513  }
105514  }
105515  }
105516  if (argc == 3) {
105517  int _v;
105518  void *vptr = 0;
105519  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105520  _v = SWIG_CheckState(res);
105521  if (_v) {
105522  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
105523  _v = SWIG_CheckState(res);
105524  if (_v) {
105525  {
105526  int res = SWIG_AsVal_bool(argv[2], NULL);
105527  _v = SWIG_CheckState(res);
105528  }
105529  if (_v) {
105530  return _wrap_CStdXml_IntoChildElement__SWIG_0(self, args);
105531  }
105532  }
105533  }
105534  }
105535 
105536 fail:
105537  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_IntoChildElement'.\n"
105538  " Possible C/C++ prototypes are:\n"
105539  " StdUtils::CStdXml::IntoChildElement(std::string,bool)\n"
105540  " StdUtils::CStdXml::IntoChildElement(std::string)\n");
105541  return 0;
105542 }
105543 
105544 
105545 SWIGINTERN PyObject *_wrap_CStdXml_GetChildString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105546  PyObject *resultobj = 0;
105547  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105548  std::string arg2 ;
105549  void *argp1 = 0 ;
105550  int res1 = 0 ;
105551  PyObject * obj0 = 0 ;
105552  PyObject * obj1 = 0 ;
105553  std::string result;
105554 
105555  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetChildString",&obj0,&obj1)) SWIG_fail;
105556  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105557  if (!SWIG_IsOK(res1)) {
105558  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildString" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105559  }
105560  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105561  {
105562  std::string *ptr = (std::string *)0;
105563  int res = SWIG_AsPtr_std_string(obj1, &ptr);
105564  if (!SWIG_IsOK(res) || !ptr) {
105565  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildString" "', argument " "2"" of type '" "std::string""'");
105566  }
105567  arg2 = *ptr;
105568  if (SWIG_IsNewObj(res)) delete ptr;
105569  }
105570  result = (arg1)->GetChildString(arg2);
105571  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
105572  return resultobj;
105573 fail:
105574  return NULL;
105575 }
105576 
105577 
105578 SWIGINTERN PyObject *_wrap_CStdXml_GetChildString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105579  PyObject *resultobj = 0;
105580  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105581  std::string arg2 ;
105582  std::string arg3 ;
105583  void *argp1 = 0 ;
105584  int res1 = 0 ;
105585  PyObject * obj0 = 0 ;
105586  PyObject * obj1 = 0 ;
105587  PyObject * obj2 = 0 ;
105588  std::string result;
105589 
105590  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetChildString",&obj0,&obj1,&obj2)) SWIG_fail;
105591  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105592  if (!SWIG_IsOK(res1)) {
105593  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildString" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105594  }
105595  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105596  {
105597  std::string *ptr = (std::string *)0;
105598  int res = SWIG_AsPtr_std_string(obj1, &ptr);
105599  if (!SWIG_IsOK(res) || !ptr) {
105600  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildString" "', argument " "2"" of type '" "std::string""'");
105601  }
105602  arg2 = *ptr;
105603  if (SWIG_IsNewObj(res)) delete ptr;
105604  }
105605  {
105606  std::string *ptr = (std::string *)0;
105607  int res = SWIG_AsPtr_std_string(obj2, &ptr);
105608  if (!SWIG_IsOK(res) || !ptr) {
105609  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildString" "', argument " "3"" of type '" "std::string""'");
105610  }
105611  arg3 = *ptr;
105612  if (SWIG_IsNewObj(res)) delete ptr;
105613  }
105614  result = (arg1)->GetChildString(arg2,arg3);
105615  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
105616  return resultobj;
105617 fail:
105618  return NULL;
105619 }
105620 
105621 
105622 SWIGINTERN PyObject *_wrap_CStdXml_GetChildString__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105623  PyObject *resultobj = 0;
105624  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105625  void *argp1 = 0 ;
105626  int res1 = 0 ;
105627  PyObject * obj0 = 0 ;
105628  std::string result;
105629 
105630  if (!PyArg_ParseTuple(args,(char *)"O:CStdXml_GetChildString",&obj0)) SWIG_fail;
105631  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105632  if (!SWIG_IsOK(res1)) {
105633  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildString" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105634  }
105635  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105636  result = (arg1)->GetChildString();
105637  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
105638  return resultobj;
105639 fail:
105640  return NULL;
105641 }
105642 
105643 
105644 SWIGINTERN PyObject *_wrap_CStdXml_GetChildString(PyObject *self, PyObject *args) {
105645  int argc;
105646  PyObject *argv[4];
105647  int ii;
105648 
105649  if (!PyTuple_Check(args)) SWIG_fail;
105650  argc = args ? (int)PyObject_Length(args) : 0;
105651  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
105652  argv[ii] = PyTuple_GET_ITEM(args,ii);
105653  }
105654  if (argc == 1) {
105655  int _v;
105656  void *vptr = 0;
105657  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105658  _v = SWIG_CheckState(res);
105659  if (_v) {
105660  return _wrap_CStdXml_GetChildString__SWIG_2(self, args);
105661  }
105662  }
105663  if (argc == 2) {
105664  int _v;
105665  void *vptr = 0;
105666  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105667  _v = SWIG_CheckState(res);
105668  if (_v) {
105669  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
105670  _v = SWIG_CheckState(res);
105671  if (_v) {
105672  return _wrap_CStdXml_GetChildString__SWIG_0(self, args);
105673  }
105674  }
105675  }
105676  if (argc == 3) {
105677  int _v;
105678  void *vptr = 0;
105679  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105680  _v = SWIG_CheckState(res);
105681  if (_v) {
105682  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
105683  _v = SWIG_CheckState(res);
105684  if (_v) {
105685  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
105686  _v = SWIG_CheckState(res);
105687  if (_v) {
105688  return _wrap_CStdXml_GetChildString__SWIG_1(self, args);
105689  }
105690  }
105691  }
105692  }
105693 
105694 fail:
105695  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetChildString'.\n"
105696  " Possible C/C++ prototypes are:\n"
105697  " StdUtils::CStdXml::GetChildString(std::string)\n"
105698  " StdUtils::CStdXml::GetChildString(std::string,std::string)\n"
105699  " StdUtils::CStdXml::GetChildString()\n");
105700  return 0;
105701 }
105702 
105703 
105704 SWIGINTERN PyObject *_wrap_CStdXml_GetChildLong__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105705  PyObject *resultobj = 0;
105706  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105707  std::string arg2 ;
105708  void *argp1 = 0 ;
105709  int res1 = 0 ;
105710  PyObject * obj0 = 0 ;
105711  PyObject * obj1 = 0 ;
105712  long result;
105713 
105714  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetChildLong",&obj0,&obj1)) SWIG_fail;
105715  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105716  if (!SWIG_IsOK(res1)) {
105717  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildLong" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105718  }
105719  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105720  {
105721  std::string *ptr = (std::string *)0;
105722  int res = SWIG_AsPtr_std_string(obj1, &ptr);
105723  if (!SWIG_IsOK(res) || !ptr) {
105724  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildLong" "', argument " "2"" of type '" "std::string""'");
105725  }
105726  arg2 = *ptr;
105727  if (SWIG_IsNewObj(res)) delete ptr;
105728  }
105729  result = (long)(arg1)->GetChildLong(arg2);
105730  resultobj = SWIG_From_long(static_cast< long >(result));
105731  return resultobj;
105732 fail:
105733  return NULL;
105734 }
105735 
105736 
105737 SWIGINTERN PyObject *_wrap_CStdXml_GetChildLong__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105738  PyObject *resultobj = 0;
105739  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105740  std::string arg2 ;
105741  long arg3 ;
105742  void *argp1 = 0 ;
105743  int res1 = 0 ;
105744  long val3 ;
105745  int ecode3 = 0 ;
105746  PyObject * obj0 = 0 ;
105747  PyObject * obj1 = 0 ;
105748  PyObject * obj2 = 0 ;
105749  long result;
105750 
105751  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetChildLong",&obj0,&obj1,&obj2)) SWIG_fail;
105752  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105753  if (!SWIG_IsOK(res1)) {
105754  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildLong" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105755  }
105756  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105757  {
105758  std::string *ptr = (std::string *)0;
105759  int res = SWIG_AsPtr_std_string(obj1, &ptr);
105760  if (!SWIG_IsOK(res) || !ptr) {
105761  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildLong" "', argument " "2"" of type '" "std::string""'");
105762  }
105763  arg2 = *ptr;
105764  if (SWIG_IsNewObj(res)) delete ptr;
105765  }
105766  ecode3 = SWIG_AsVal_long(obj2, &val3);
105767  if (!SWIG_IsOK(ecode3)) {
105768  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildLong" "', argument " "3"" of type '" "long""'");
105769  }
105770  arg3 = static_cast< long >(val3);
105771  result = (long)(arg1)->GetChildLong(arg2,arg3);
105772  resultobj = SWIG_From_long(static_cast< long >(result));
105773  return resultobj;
105774 fail:
105775  return NULL;
105776 }
105777 
105778 
105779 SWIGINTERN PyObject *_wrap_CStdXml_GetChildLong__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105780  PyObject *resultobj = 0;
105781  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105782  void *argp1 = 0 ;
105783  int res1 = 0 ;
105784  PyObject * obj0 = 0 ;
105785  long result;
105786 
105787  if (!PyArg_ParseTuple(args,(char *)"O:CStdXml_GetChildLong",&obj0)) SWIG_fail;
105788  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105789  if (!SWIG_IsOK(res1)) {
105790  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildLong" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105791  }
105792  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105793  result = (long)(arg1)->GetChildLong();
105794  resultobj = SWIG_From_long(static_cast< long >(result));
105795  return resultobj;
105796 fail:
105797  return NULL;
105798 }
105799 
105800 
105801 SWIGINTERN PyObject *_wrap_CStdXml_GetChildLong(PyObject *self, PyObject *args) {
105802  int argc;
105803  PyObject *argv[4];
105804  int ii;
105805 
105806  if (!PyTuple_Check(args)) SWIG_fail;
105807  argc = args ? (int)PyObject_Length(args) : 0;
105808  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
105809  argv[ii] = PyTuple_GET_ITEM(args,ii);
105810  }
105811  if (argc == 1) {
105812  int _v;
105813  void *vptr = 0;
105814  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105815  _v = SWIG_CheckState(res);
105816  if (_v) {
105817  return _wrap_CStdXml_GetChildLong__SWIG_2(self, args);
105818  }
105819  }
105820  if (argc == 2) {
105821  int _v;
105822  void *vptr = 0;
105823  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105824  _v = SWIG_CheckState(res);
105825  if (_v) {
105826  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
105827  _v = SWIG_CheckState(res);
105828  if (_v) {
105829  return _wrap_CStdXml_GetChildLong__SWIG_0(self, args);
105830  }
105831  }
105832  }
105833  if (argc == 3) {
105834  int _v;
105835  void *vptr = 0;
105836  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105837  _v = SWIG_CheckState(res);
105838  if (_v) {
105839  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
105840  _v = SWIG_CheckState(res);
105841  if (_v) {
105842  {
105843  int res = SWIG_AsVal_long(argv[2], NULL);
105844  _v = SWIG_CheckState(res);
105845  }
105846  if (_v) {
105847  return _wrap_CStdXml_GetChildLong__SWIG_1(self, args);
105848  }
105849  }
105850  }
105851  }
105852 
105853 fail:
105854  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetChildLong'.\n"
105855  " Possible C/C++ prototypes are:\n"
105856  " StdUtils::CStdXml::GetChildLong(std::string)\n"
105857  " StdUtils::CStdXml::GetChildLong(std::string,long)\n"
105858  " StdUtils::CStdXml::GetChildLong()\n");
105859  return 0;
105860 }
105861 
105862 
105863 SWIGINTERN PyObject *_wrap_CStdXml_GetChildInt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105864  PyObject *resultobj = 0;
105865  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105866  std::string arg2 ;
105867  void *argp1 = 0 ;
105868  int res1 = 0 ;
105869  PyObject * obj0 = 0 ;
105870  PyObject * obj1 = 0 ;
105871  int result;
105872 
105873  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetChildInt",&obj0,&obj1)) SWIG_fail;
105874  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105875  if (!SWIG_IsOK(res1)) {
105876  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildInt" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105877  }
105878  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105879  {
105880  std::string *ptr = (std::string *)0;
105881  int res = SWIG_AsPtr_std_string(obj1, &ptr);
105882  if (!SWIG_IsOK(res) || !ptr) {
105883  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildInt" "', argument " "2"" of type '" "std::string""'");
105884  }
105885  arg2 = *ptr;
105886  if (SWIG_IsNewObj(res)) delete ptr;
105887  }
105888  result = (int)(arg1)->GetChildInt(arg2);
105889  resultobj = SWIG_From_int(static_cast< int >(result));
105890  return resultobj;
105891 fail:
105892  return NULL;
105893 }
105894 
105895 
105896 SWIGINTERN PyObject *_wrap_CStdXml_GetChildInt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105897  PyObject *resultobj = 0;
105898  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105899  std::string arg2 ;
105900  int arg3 ;
105901  void *argp1 = 0 ;
105902  int res1 = 0 ;
105903  int val3 ;
105904  int ecode3 = 0 ;
105905  PyObject * obj0 = 0 ;
105906  PyObject * obj1 = 0 ;
105907  PyObject * obj2 = 0 ;
105908  int result;
105909 
105910  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetChildInt",&obj0,&obj1,&obj2)) SWIG_fail;
105911  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105912  if (!SWIG_IsOK(res1)) {
105913  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildInt" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105914  }
105915  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105916  {
105917  std::string *ptr = (std::string *)0;
105918  int res = SWIG_AsPtr_std_string(obj1, &ptr);
105919  if (!SWIG_IsOK(res) || !ptr) {
105920  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildInt" "', argument " "2"" of type '" "std::string""'");
105921  }
105922  arg2 = *ptr;
105923  if (SWIG_IsNewObj(res)) delete ptr;
105924  }
105925  ecode3 = SWIG_AsVal_int(obj2, &val3);
105926  if (!SWIG_IsOK(ecode3)) {
105927  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildInt" "', argument " "3"" of type '" "int""'");
105928  }
105929  arg3 = static_cast< int >(val3);
105930  result = (int)(arg1)->GetChildInt(arg2,arg3);
105931  resultobj = SWIG_From_int(static_cast< int >(result));
105932  return resultobj;
105933 fail:
105934  return NULL;
105935 }
105936 
105937 
105938 SWIGINTERN PyObject *_wrap_CStdXml_GetChildInt__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
105939  PyObject *resultobj = 0;
105940  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
105941  void *argp1 = 0 ;
105942  int res1 = 0 ;
105943  PyObject * obj0 = 0 ;
105944  int result;
105945 
105946  if (!PyArg_ParseTuple(args,(char *)"O:CStdXml_GetChildInt",&obj0)) SWIG_fail;
105947  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
105948  if (!SWIG_IsOK(res1)) {
105949  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildInt" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
105950  }
105951  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
105952  result = (int)(arg1)->GetChildInt();
105953  resultobj = SWIG_From_int(static_cast< int >(result));
105954  return resultobj;
105955 fail:
105956  return NULL;
105957 }
105958 
105959 
105960 SWIGINTERN PyObject *_wrap_CStdXml_GetChildInt(PyObject *self, PyObject *args) {
105961  int argc;
105962  PyObject *argv[4];
105963  int ii;
105964 
105965  if (!PyTuple_Check(args)) SWIG_fail;
105966  argc = args ? (int)PyObject_Length(args) : 0;
105967  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
105968  argv[ii] = PyTuple_GET_ITEM(args,ii);
105969  }
105970  if (argc == 1) {
105971  int _v;
105972  void *vptr = 0;
105973  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105974  _v = SWIG_CheckState(res);
105975  if (_v) {
105976  return _wrap_CStdXml_GetChildInt__SWIG_2(self, args);
105977  }
105978  }
105979  if (argc == 2) {
105980  int _v;
105981  void *vptr = 0;
105982  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105983  _v = SWIG_CheckState(res);
105984  if (_v) {
105985  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
105986  _v = SWIG_CheckState(res);
105987  if (_v) {
105988  return _wrap_CStdXml_GetChildInt__SWIG_0(self, args);
105989  }
105990  }
105991  }
105992  if (argc == 3) {
105993  int _v;
105994  void *vptr = 0;
105995  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
105996  _v = SWIG_CheckState(res);
105997  if (_v) {
105998  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
105999  _v = SWIG_CheckState(res);
106000  if (_v) {
106001  {
106002  int res = SWIG_AsVal_int(argv[2], NULL);
106003  _v = SWIG_CheckState(res);
106004  }
106005  if (_v) {
106006  return _wrap_CStdXml_GetChildInt__SWIG_1(self, args);
106007  }
106008  }
106009  }
106010  }
106011 
106012 fail:
106013  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetChildInt'.\n"
106014  " Possible C/C++ prototypes are:\n"
106015  " StdUtils::CStdXml::GetChildInt(std::string)\n"
106016  " StdUtils::CStdXml::GetChildInt(std::string,int)\n"
106017  " StdUtils::CStdXml::GetChildInt()\n");
106018  return 0;
106019 }
106020 
106021 
106022 SWIGINTERN PyObject *_wrap_CStdXml_GetChildDouble__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106023  PyObject *resultobj = 0;
106024  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106025  std::string arg2 ;
106026  void *argp1 = 0 ;
106027  int res1 = 0 ;
106028  PyObject * obj0 = 0 ;
106029  PyObject * obj1 = 0 ;
106030  double result;
106031 
106032  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetChildDouble",&obj0,&obj1)) SWIG_fail;
106033  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106034  if (!SWIG_IsOK(res1)) {
106035  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildDouble" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106036  }
106037  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106038  {
106039  std::string *ptr = (std::string *)0;
106040  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106041  if (!SWIG_IsOK(res) || !ptr) {
106042  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildDouble" "', argument " "2"" of type '" "std::string""'");
106043  }
106044  arg2 = *ptr;
106045  if (SWIG_IsNewObj(res)) delete ptr;
106046  }
106047  result = (double)(arg1)->GetChildDouble(arg2);
106048  resultobj = SWIG_From_double(static_cast< double >(result));
106049  return resultobj;
106050 fail:
106051  return NULL;
106052 }
106053 
106054 
106055 SWIGINTERN PyObject *_wrap_CStdXml_GetChildDouble__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106056  PyObject *resultobj = 0;
106057  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106058  std::string arg2 ;
106059  double arg3 ;
106060  void *argp1 = 0 ;
106061  int res1 = 0 ;
106062  double val3 ;
106063  int ecode3 = 0 ;
106064  PyObject * obj0 = 0 ;
106065  PyObject * obj1 = 0 ;
106066  PyObject * obj2 = 0 ;
106067  double result;
106068 
106069  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetChildDouble",&obj0,&obj1,&obj2)) SWIG_fail;
106070  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106071  if (!SWIG_IsOK(res1)) {
106072  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildDouble" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106073  }
106074  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106075  {
106076  std::string *ptr = (std::string *)0;
106077  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106078  if (!SWIG_IsOK(res) || !ptr) {
106079  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildDouble" "', argument " "2"" of type '" "std::string""'");
106080  }
106081  arg2 = *ptr;
106082  if (SWIG_IsNewObj(res)) delete ptr;
106083  }
106084  ecode3 = SWIG_AsVal_double(obj2, &val3);
106085  if (!SWIG_IsOK(ecode3)) {
106086  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildDouble" "', argument " "3"" of type '" "double""'");
106087  }
106088  arg3 = static_cast< double >(val3);
106089  result = (double)(arg1)->GetChildDouble(arg2,arg3);
106090  resultobj = SWIG_From_double(static_cast< double >(result));
106091  return resultobj;
106092 fail:
106093  return NULL;
106094 }
106095 
106096 
106097 SWIGINTERN PyObject *_wrap_CStdXml_GetChildDouble__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106098  PyObject *resultobj = 0;
106099  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106100  void *argp1 = 0 ;
106101  int res1 = 0 ;
106102  PyObject * obj0 = 0 ;
106103  double result;
106104 
106105  if (!PyArg_ParseTuple(args,(char *)"O:CStdXml_GetChildDouble",&obj0)) SWIG_fail;
106106  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106107  if (!SWIG_IsOK(res1)) {
106108  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildDouble" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106109  }
106110  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106111  result = (double)(arg1)->GetChildDouble();
106112  resultobj = SWIG_From_double(static_cast< double >(result));
106113  return resultobj;
106114 fail:
106115  return NULL;
106116 }
106117 
106118 
106119 SWIGINTERN PyObject *_wrap_CStdXml_GetChildDouble(PyObject *self, PyObject *args) {
106120  int argc;
106121  PyObject *argv[4];
106122  int ii;
106123 
106124  if (!PyTuple_Check(args)) SWIG_fail;
106125  argc = args ? (int)PyObject_Length(args) : 0;
106126  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
106127  argv[ii] = PyTuple_GET_ITEM(args,ii);
106128  }
106129  if (argc == 1) {
106130  int _v;
106131  void *vptr = 0;
106132  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
106133  _v = SWIG_CheckState(res);
106134  if (_v) {
106135  return _wrap_CStdXml_GetChildDouble__SWIG_2(self, args);
106136  }
106137  }
106138  if (argc == 2) {
106139  int _v;
106140  void *vptr = 0;
106141  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
106142  _v = SWIG_CheckState(res);
106143  if (_v) {
106144  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
106145  _v = SWIG_CheckState(res);
106146  if (_v) {
106147  return _wrap_CStdXml_GetChildDouble__SWIG_0(self, args);
106148  }
106149  }
106150  }
106151  if (argc == 3) {
106152  int _v;
106153  void *vptr = 0;
106154  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
106155  _v = SWIG_CheckState(res);
106156  if (_v) {
106157  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
106158  _v = SWIG_CheckState(res);
106159  if (_v) {
106160  {
106161  int res = SWIG_AsVal_double(argv[2], NULL);
106162  _v = SWIG_CheckState(res);
106163  }
106164  if (_v) {
106165  return _wrap_CStdXml_GetChildDouble__SWIG_1(self, args);
106166  }
106167  }
106168  }
106169  }
106170 
106171 fail:
106172  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetChildDouble'.\n"
106173  " Possible C/C++ prototypes are:\n"
106174  " StdUtils::CStdXml::GetChildDouble(std::string)\n"
106175  " StdUtils::CStdXml::GetChildDouble(std::string,double)\n"
106176  " StdUtils::CStdXml::GetChildDouble()\n");
106177  return 0;
106178 }
106179 
106180 
106181 SWIGINTERN PyObject *_wrap_CStdXml_GetChildFloat__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106182  PyObject *resultobj = 0;
106183  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106184  std::string arg2 ;
106185  void *argp1 = 0 ;
106186  int res1 = 0 ;
106187  PyObject * obj0 = 0 ;
106188  PyObject * obj1 = 0 ;
106189  float result;
106190 
106191  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetChildFloat",&obj0,&obj1)) SWIG_fail;
106192  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106193  if (!SWIG_IsOK(res1)) {
106194  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildFloat" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106195  }
106196  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106197  {
106198  std::string *ptr = (std::string *)0;
106199  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106200  if (!SWIG_IsOK(res) || !ptr) {
106201  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildFloat" "', argument " "2"" of type '" "std::string""'");
106202  }
106203  arg2 = *ptr;
106204  if (SWIG_IsNewObj(res)) delete ptr;
106205  }
106206  result = (float)(arg1)->GetChildFloat(arg2);
106207  resultobj = SWIG_From_float(static_cast< float >(result));
106208  return resultobj;
106209 fail:
106210  return NULL;
106211 }
106212 
106213 
106214 SWIGINTERN PyObject *_wrap_CStdXml_GetChildFloat__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106215  PyObject *resultobj = 0;
106216  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106217  std::string arg2 ;
106218  float arg3 ;
106219  void *argp1 = 0 ;
106220  int res1 = 0 ;
106221  float val3 ;
106222  int ecode3 = 0 ;
106223  PyObject * obj0 = 0 ;
106224  PyObject * obj1 = 0 ;
106225  PyObject * obj2 = 0 ;
106226  float result;
106227 
106228  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetChildFloat",&obj0,&obj1,&obj2)) SWIG_fail;
106229  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106230  if (!SWIG_IsOK(res1)) {
106231  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildFloat" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106232  }
106233  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106234  {
106235  std::string *ptr = (std::string *)0;
106236  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106237  if (!SWIG_IsOK(res) || !ptr) {
106238  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildFloat" "', argument " "2"" of type '" "std::string""'");
106239  }
106240  arg2 = *ptr;
106241  if (SWIG_IsNewObj(res)) delete ptr;
106242  }
106243  ecode3 = SWIG_AsVal_float(obj2, &val3);
106244  if (!SWIG_IsOK(ecode3)) {
106245  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildFloat" "', argument " "3"" of type '" "float""'");
106246  }
106247  arg3 = static_cast< float >(val3);
106248  result = (float)(arg1)->GetChildFloat(arg2,arg3);
106249  resultobj = SWIG_From_float(static_cast< float >(result));
106250  return resultobj;
106251 fail:
106252  return NULL;
106253 }
106254 
106255 
106256 SWIGINTERN PyObject *_wrap_CStdXml_GetChildFloat__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106257  PyObject *resultobj = 0;
106258  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106259  void *argp1 = 0 ;
106260  int res1 = 0 ;
106261  PyObject * obj0 = 0 ;
106262  float result;
106263 
106264  if (!PyArg_ParseTuple(args,(char *)"O:CStdXml_GetChildFloat",&obj0)) SWIG_fail;
106265  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106266  if (!SWIG_IsOK(res1)) {
106267  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildFloat" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106268  }
106269  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106270  result = (float)(arg1)->GetChildFloat();
106271  resultobj = SWIG_From_float(static_cast< float >(result));
106272  return resultobj;
106273 fail:
106274  return NULL;
106275 }
106276 
106277 
106278 SWIGINTERN PyObject *_wrap_CStdXml_GetChildFloat(PyObject *self, PyObject *args) {
106279  int argc;
106280  PyObject *argv[4];
106281  int ii;
106282 
106283  if (!PyTuple_Check(args)) SWIG_fail;
106284  argc = args ? (int)PyObject_Length(args) : 0;
106285  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
106286  argv[ii] = PyTuple_GET_ITEM(args,ii);
106287  }
106288  if (argc == 1) {
106289  int _v;
106290  void *vptr = 0;
106291  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
106292  _v = SWIG_CheckState(res);
106293  if (_v) {
106294  return _wrap_CStdXml_GetChildFloat__SWIG_2(self, args);
106295  }
106296  }
106297  if (argc == 2) {
106298  int _v;
106299  void *vptr = 0;
106300  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
106301  _v = SWIG_CheckState(res);
106302  if (_v) {
106303  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
106304  _v = SWIG_CheckState(res);
106305  if (_v) {
106306  return _wrap_CStdXml_GetChildFloat__SWIG_0(self, args);
106307  }
106308  }
106309  }
106310  if (argc == 3) {
106311  int _v;
106312  void *vptr = 0;
106313  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
106314  _v = SWIG_CheckState(res);
106315  if (_v) {
106316  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
106317  _v = SWIG_CheckState(res);
106318  if (_v) {
106319  {
106320  int res = SWIG_AsVal_float(argv[2], NULL);
106321  _v = SWIG_CheckState(res);
106322  }
106323  if (_v) {
106324  return _wrap_CStdXml_GetChildFloat__SWIG_1(self, args);
106325  }
106326  }
106327  }
106328  }
106329 
106330 fail:
106331  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetChildFloat'.\n"
106332  " Possible C/C++ prototypes are:\n"
106333  " StdUtils::CStdXml::GetChildFloat(std::string)\n"
106334  " StdUtils::CStdXml::GetChildFloat(std::string,float)\n"
106335  " StdUtils::CStdXml::GetChildFloat()\n");
106336  return 0;
106337 }
106338 
106339 
106340 SWIGINTERN PyObject *_wrap_CStdXml_GetChildBool__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106341  PyObject *resultobj = 0;
106342  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106343  std::string arg2 ;
106344  void *argp1 = 0 ;
106345  int res1 = 0 ;
106346  PyObject * obj0 = 0 ;
106347  PyObject * obj1 = 0 ;
106348  bool result;
106349 
106350  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetChildBool",&obj0,&obj1)) SWIG_fail;
106351  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106352  if (!SWIG_IsOK(res1)) {
106353  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildBool" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106354  }
106355  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106356  {
106357  std::string *ptr = (std::string *)0;
106358  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106359  if (!SWIG_IsOK(res) || !ptr) {
106360  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildBool" "', argument " "2"" of type '" "std::string""'");
106361  }
106362  arg2 = *ptr;
106363  if (SWIG_IsNewObj(res)) delete ptr;
106364  }
106365  result = (bool)(arg1)->GetChildBool(arg2);
106366  resultobj = SWIG_From_bool(static_cast< bool >(result));
106367  return resultobj;
106368 fail:
106369  return NULL;
106370 }
106371 
106372 
106373 SWIGINTERN PyObject *_wrap_CStdXml_GetChildBool__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106374  PyObject *resultobj = 0;
106375  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106376  std::string arg2 ;
106377  bool arg3 ;
106378  void *argp1 = 0 ;
106379  int res1 = 0 ;
106380  bool val3 ;
106381  int ecode3 = 0 ;
106382  PyObject * obj0 = 0 ;
106383  PyObject * obj1 = 0 ;
106384  PyObject * obj2 = 0 ;
106385  bool result;
106386 
106387  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetChildBool",&obj0,&obj1,&obj2)) SWIG_fail;
106388  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106389  if (!SWIG_IsOK(res1)) {
106390  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildBool" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106391  }
106392  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106393  {
106394  std::string *ptr = (std::string *)0;
106395  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106396  if (!SWIG_IsOK(res) || !ptr) {
106397  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildBool" "', argument " "2"" of type '" "std::string""'");
106398  }
106399  arg2 = *ptr;
106400  if (SWIG_IsNewObj(res)) delete ptr;
106401  }
106402  ecode3 = SWIG_AsVal_bool(obj2, &val3);
106403  if (!SWIG_IsOK(ecode3)) {
106404  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildBool" "', argument " "3"" of type '" "bool""'");
106405  }
106406  arg3 = static_cast< bool >(val3);
106407  result = (bool)(arg1)->GetChildBool(arg2,arg3);
106408  resultobj = SWIG_From_bool(static_cast< bool >(result));
106409  return resultobj;
106410 fail:
106411  return NULL;
106412 }
106413 
106414 
106415 SWIGINTERN PyObject *_wrap_CStdXml_GetChildBool__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106416  PyObject *resultobj = 0;
106417  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106418  void *argp1 = 0 ;
106419  int res1 = 0 ;
106420  PyObject * obj0 = 0 ;
106421  bool result;
106422 
106423  if (!PyArg_ParseTuple(args,(char *)"O:CStdXml_GetChildBool",&obj0)) SWIG_fail;
106424  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106425  if (!SWIG_IsOK(res1)) {
106426  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildBool" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106427  }
106428  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106429  result = (bool)(arg1)->GetChildBool();
106430  resultobj = SWIG_From_bool(static_cast< bool >(result));
106431  return resultobj;
106432 fail:
106433  return NULL;
106434 }
106435 
106436 
106437 SWIGINTERN PyObject *_wrap_CStdXml_GetChildBool(PyObject *self, PyObject *args) {
106438  int argc;
106439  PyObject *argv[4];
106440  int ii;
106441 
106442  if (!PyTuple_Check(args)) SWIG_fail;
106443  argc = args ? (int)PyObject_Length(args) : 0;
106444  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
106445  argv[ii] = PyTuple_GET_ITEM(args,ii);
106446  }
106447  if (argc == 1) {
106448  int _v;
106449  void *vptr = 0;
106450  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
106451  _v = SWIG_CheckState(res);
106452  if (_v) {
106453  return _wrap_CStdXml_GetChildBool__SWIG_2(self, args);
106454  }
106455  }
106456  if (argc == 2) {
106457  int _v;
106458  void *vptr = 0;
106459  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
106460  _v = SWIG_CheckState(res);
106461  if (_v) {
106462  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
106463  _v = SWIG_CheckState(res);
106464  if (_v) {
106465  return _wrap_CStdXml_GetChildBool__SWIG_0(self, args);
106466  }
106467  }
106468  }
106469  if (argc == 3) {
106470  int _v;
106471  void *vptr = 0;
106472  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
106473  _v = SWIG_CheckState(res);
106474  if (_v) {
106475  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
106476  _v = SWIG_CheckState(res);
106477  if (_v) {
106478  {
106479  int res = SWIG_AsVal_bool(argv[2], NULL);
106480  _v = SWIG_CheckState(res);
106481  }
106482  if (_v) {
106483  return _wrap_CStdXml_GetChildBool__SWIG_1(self, args);
106484  }
106485  }
106486  }
106487  }
106488 
106489 fail:
106490  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetChildBool'.\n"
106491  " Possible C/C++ prototypes are:\n"
106492  " StdUtils::CStdXml::GetChildBool(std::string)\n"
106493  " StdUtils::CStdXml::GetChildBool(std::string,bool)\n"
106494  " StdUtils::CStdXml::GetChildBool()\n");
106495  return 0;
106496 }
106497 
106498 
106499 SWIGINTERN PyObject *_wrap_CStdXml_AddElement__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106500  PyObject *resultobj = 0;
106501  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106502  std::string arg2 ;
106503  std::string arg3 ;
106504  void *argp1 = 0 ;
106505  int res1 = 0 ;
106506  PyObject * obj0 = 0 ;
106507  PyObject * obj1 = 0 ;
106508  PyObject * obj2 = 0 ;
106509 
106510  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_AddElement",&obj0,&obj1,&obj2)) SWIG_fail;
106511  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106512  if (!SWIG_IsOK(res1)) {
106513  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_AddElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106514  }
106515  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106516  {
106517  std::string *ptr = (std::string *)0;
106518  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106519  if (!SWIG_IsOK(res) || !ptr) {
106520  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_AddElement" "', argument " "2"" of type '" "std::string""'");
106521  }
106522  arg2 = *ptr;
106523  if (SWIG_IsNewObj(res)) delete ptr;
106524  }
106525  {
106526  std::string *ptr = (std::string *)0;
106527  int res = SWIG_AsPtr_std_string(obj2, &ptr);
106528  if (!SWIG_IsOK(res) || !ptr) {
106529  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_AddElement" "', argument " "3"" of type '" "std::string""'");
106530  }
106531  arg3 = *ptr;
106532  if (SWIG_IsNewObj(res)) delete ptr;
106533  }
106534  (arg1)->AddElement(arg2,arg3);
106535  resultobj = SWIG_Py_Void();
106536  return resultobj;
106537 fail:
106538  return NULL;
106539 }
106540 
106541 
106542 SWIGINTERN PyObject *_wrap_CStdXml_AddElement__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106543  PyObject *resultobj = 0;
106544  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106545  std::string arg2 ;
106546  void *argp1 = 0 ;
106547  int res1 = 0 ;
106548  PyObject * obj0 = 0 ;
106549  PyObject * obj1 = 0 ;
106550 
106551  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_AddElement",&obj0,&obj1)) SWIG_fail;
106552  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106553  if (!SWIG_IsOK(res1)) {
106554  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_AddElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106555  }
106556  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106557  {
106558  std::string *ptr = (std::string *)0;
106559  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106560  if (!SWIG_IsOK(res) || !ptr) {
106561  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_AddElement" "', argument " "2"" of type '" "std::string""'");
106562  }
106563  arg2 = *ptr;
106564  if (SWIG_IsNewObj(res)) delete ptr;
106565  }
106566  (arg1)->AddElement(arg2);
106567  resultobj = SWIG_Py_Void();
106568  return resultobj;
106569 fail:
106570  return NULL;
106571 }
106572 
106573 
106574 SWIGINTERN PyObject *_wrap_CStdXml_AddElement(PyObject *self, PyObject *args) {
106575  int argc;
106576  PyObject *argv[4];
106577  int ii;
106578 
106579  if (!PyTuple_Check(args)) SWIG_fail;
106580  argc = args ? (int)PyObject_Length(args) : 0;
106581  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
106582  argv[ii] = PyTuple_GET_ITEM(args,ii);
106583  }
106584  if (argc == 2) {
106585  int _v;
106586  void *vptr = 0;
106587  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
106588  _v = SWIG_CheckState(res);
106589  if (_v) {
106590  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
106591  _v = SWIG_CheckState(res);
106592  if (_v) {
106593  return _wrap_CStdXml_AddElement__SWIG_1(self, args);
106594  }
106595  }
106596  }
106597  if (argc == 3) {
106598  int _v;
106599  void *vptr = 0;
106600  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
106601  _v = SWIG_CheckState(res);
106602  if (_v) {
106603  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
106604  _v = SWIG_CheckState(res);
106605  if (_v) {
106606  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
106607  _v = SWIG_CheckState(res);
106608  if (_v) {
106609  return _wrap_CStdXml_AddElement__SWIG_0(self, args);
106610  }
106611  }
106612  }
106613  }
106614 
106615 fail:
106616  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_AddElement'.\n"
106617  " Possible C/C++ prototypes are:\n"
106618  " StdUtils::CStdXml::AddElement(std::string,std::string)\n"
106619  " StdUtils::CStdXml::AddElement(std::string)\n");
106620  return 0;
106621 }
106622 
106623 
106624 SWIGINTERN PyObject *_wrap_CStdXml_AddChildElement__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106625  PyObject *resultobj = 0;
106626  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106627  std::string arg2 ;
106628  void *argp1 = 0 ;
106629  int res1 = 0 ;
106630  PyObject * obj0 = 0 ;
106631  PyObject * obj1 = 0 ;
106632 
106633  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_AddChildElement",&obj0,&obj1)) SWIG_fail;
106634  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106635  if (!SWIG_IsOK(res1)) {
106636  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_AddChildElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106637  }
106638  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106639  {
106640  std::string *ptr = (std::string *)0;
106641  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106642  if (!SWIG_IsOK(res) || !ptr) {
106643  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_AddChildElement" "', argument " "2"" of type '" "std::string""'");
106644  }
106645  arg2 = *ptr;
106646  if (SWIG_IsNewObj(res)) delete ptr;
106647  }
106648  (arg1)->AddChildElement(arg2);
106649  resultobj = SWIG_Py_Void();
106650  return resultobj;
106651 fail:
106652  return NULL;
106653 }
106654 
106655 
106656 SWIGINTERN PyObject *_wrap_CStdXml_AddChildElement__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106657  PyObject *resultobj = 0;
106658  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106659  std::string arg2 ;
106660  std::string arg3 ;
106661  void *argp1 = 0 ;
106662  int res1 = 0 ;
106663  PyObject * obj0 = 0 ;
106664  PyObject * obj1 = 0 ;
106665  PyObject * obj2 = 0 ;
106666 
106667  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_AddChildElement",&obj0,&obj1,&obj2)) SWIG_fail;
106668  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106669  if (!SWIG_IsOK(res1)) {
106670  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_AddChildElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106671  }
106672  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106673  {
106674  std::string *ptr = (std::string *)0;
106675  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106676  if (!SWIG_IsOK(res) || !ptr) {
106677  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_AddChildElement" "', argument " "2"" of type '" "std::string""'");
106678  }
106679  arg2 = *ptr;
106680  if (SWIG_IsNewObj(res)) delete ptr;
106681  }
106682  {
106683  std::string *ptr = (std::string *)0;
106684  int res = SWIG_AsPtr_std_string(obj2, &ptr);
106685  if (!SWIG_IsOK(res) || !ptr) {
106686  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_AddChildElement" "', argument " "3"" of type '" "std::string""'");
106687  }
106688  arg3 = *ptr;
106689  if (SWIG_IsNewObj(res)) delete ptr;
106690  }
106691  (arg1)->AddChildElement(arg2,arg3);
106692  resultobj = SWIG_Py_Void();
106693  return resultobj;
106694 fail:
106695  return NULL;
106696 }
106697 
106698 
106699 SWIGINTERN PyObject *_wrap_CStdXml_AddChildElement__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106700  PyObject *resultobj = 0;
106701  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106702  std::string arg2 ;
106703  char arg3 ;
106704  void *argp1 = 0 ;
106705  int res1 = 0 ;
106706  char val3 ;
106707  int ecode3 = 0 ;
106708  PyObject * obj0 = 0 ;
106709  PyObject * obj1 = 0 ;
106710  PyObject * obj2 = 0 ;
106711 
106712  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_AddChildElement",&obj0,&obj1,&obj2)) SWIG_fail;
106713  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106714  if (!SWIG_IsOK(res1)) {
106715  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_AddChildElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106716  }
106717  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106718  {
106719  std::string *ptr = (std::string *)0;
106720  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106721  if (!SWIG_IsOK(res) || !ptr) {
106722  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_AddChildElement" "', argument " "2"" of type '" "std::string""'");
106723  }
106724  arg2 = *ptr;
106725  if (SWIG_IsNewObj(res)) delete ptr;
106726  }
106727  ecode3 = SWIG_AsVal_char(obj2, &val3);
106728  if (!SWIG_IsOK(ecode3)) {
106729  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_AddChildElement" "', argument " "3"" of type '" "char""'");
106730  }
106731  arg3 = static_cast< char >(val3);
106732  (arg1)->AddChildElement(arg2,arg3);
106733  resultobj = SWIG_Py_Void();
106734  return resultobj;
106735 fail:
106736  return NULL;
106737 }
106738 
106739 
106740 SWIGINTERN PyObject *_wrap_CStdXml_AddChildElement__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106741  PyObject *resultobj = 0;
106742  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106743  std::string arg2 ;
106744  unsigned char arg3 ;
106745  void *argp1 = 0 ;
106746  int res1 = 0 ;
106747  unsigned char val3 ;
106748  int ecode3 = 0 ;
106749  PyObject * obj0 = 0 ;
106750  PyObject * obj1 = 0 ;
106751  PyObject * obj2 = 0 ;
106752 
106753  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_AddChildElement",&obj0,&obj1,&obj2)) SWIG_fail;
106754  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106755  if (!SWIG_IsOK(res1)) {
106756  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_AddChildElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106757  }
106758  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106759  {
106760  std::string *ptr = (std::string *)0;
106761  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106762  if (!SWIG_IsOK(res) || !ptr) {
106763  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_AddChildElement" "', argument " "2"" of type '" "std::string""'");
106764  }
106765  arg2 = *ptr;
106766  if (SWIG_IsNewObj(res)) delete ptr;
106767  }
106768  ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3);
106769  if (!SWIG_IsOK(ecode3)) {
106770  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_AddChildElement" "', argument " "3"" of type '" "unsigned char""'");
106771  }
106772  arg3 = static_cast< unsigned char >(val3);
106773  (arg1)->AddChildElement(arg2,arg3);
106774  resultobj = SWIG_Py_Void();
106775  return resultobj;
106776 fail:
106777  return NULL;
106778 }
106779 
106780 
106781 SWIGINTERN PyObject *_wrap_CStdXml_AddChildElement__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106782  PyObject *resultobj = 0;
106783  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106784  std::string arg2 ;
106785  long arg3 ;
106786  void *argp1 = 0 ;
106787  int res1 = 0 ;
106788  long val3 ;
106789  int ecode3 = 0 ;
106790  PyObject * obj0 = 0 ;
106791  PyObject * obj1 = 0 ;
106792  PyObject * obj2 = 0 ;
106793 
106794  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_AddChildElement",&obj0,&obj1,&obj2)) SWIG_fail;
106795  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106796  if (!SWIG_IsOK(res1)) {
106797  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_AddChildElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106798  }
106799  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106800  {
106801  std::string *ptr = (std::string *)0;
106802  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106803  if (!SWIG_IsOK(res) || !ptr) {
106804  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_AddChildElement" "', argument " "2"" of type '" "std::string""'");
106805  }
106806  arg2 = *ptr;
106807  if (SWIG_IsNewObj(res)) delete ptr;
106808  }
106809  ecode3 = SWIG_AsVal_long(obj2, &val3);
106810  if (!SWIG_IsOK(ecode3)) {
106811  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_AddChildElement" "', argument " "3"" of type '" "long""'");
106812  }
106813  arg3 = static_cast< long >(val3);
106814  (arg1)->AddChildElement(arg2,arg3);
106815  resultobj = SWIG_Py_Void();
106816  return resultobj;
106817 fail:
106818  return NULL;
106819 }
106820 
106821 
106822 SWIGINTERN PyObject *_wrap_CStdXml_AddChildElement__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106823  PyObject *resultobj = 0;
106824  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106825  std::string arg2 ;
106826  int arg3 ;
106827  void *argp1 = 0 ;
106828  int res1 = 0 ;
106829  int val3 ;
106830  int ecode3 = 0 ;
106831  PyObject * obj0 = 0 ;
106832  PyObject * obj1 = 0 ;
106833  PyObject * obj2 = 0 ;
106834 
106835  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_AddChildElement",&obj0,&obj1,&obj2)) SWIG_fail;
106836  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106837  if (!SWIG_IsOK(res1)) {
106838  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_AddChildElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106839  }
106840  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106841  {
106842  std::string *ptr = (std::string *)0;
106843  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106844  if (!SWIG_IsOK(res) || !ptr) {
106845  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_AddChildElement" "', argument " "2"" of type '" "std::string""'");
106846  }
106847  arg2 = *ptr;
106848  if (SWIG_IsNewObj(res)) delete ptr;
106849  }
106850  ecode3 = SWIG_AsVal_int(obj2, &val3);
106851  if (!SWIG_IsOK(ecode3)) {
106852  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_AddChildElement" "', argument " "3"" of type '" "int""'");
106853  }
106854  arg3 = static_cast< int >(val3);
106855  (arg1)->AddChildElement(arg2,arg3);
106856  resultobj = SWIG_Py_Void();
106857  return resultobj;
106858 fail:
106859  return NULL;
106860 }
106861 
106862 
106863 SWIGINTERN PyObject *_wrap_CStdXml_AddChildElement__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106864  PyObject *resultobj = 0;
106865  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106866  std::string arg2 ;
106867  double arg3 ;
106868  void *argp1 = 0 ;
106869  int res1 = 0 ;
106870  double val3 ;
106871  int ecode3 = 0 ;
106872  PyObject * obj0 = 0 ;
106873  PyObject * obj1 = 0 ;
106874  PyObject * obj2 = 0 ;
106875 
106876  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_AddChildElement",&obj0,&obj1,&obj2)) SWIG_fail;
106877  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106878  if (!SWIG_IsOK(res1)) {
106879  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_AddChildElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106880  }
106881  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106882  {
106883  std::string *ptr = (std::string *)0;
106884  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106885  if (!SWIG_IsOK(res) || !ptr) {
106886  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_AddChildElement" "', argument " "2"" of type '" "std::string""'");
106887  }
106888  arg2 = *ptr;
106889  if (SWIG_IsNewObj(res)) delete ptr;
106890  }
106891  ecode3 = SWIG_AsVal_double(obj2, &val3);
106892  if (!SWIG_IsOK(ecode3)) {
106893  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_AddChildElement" "', argument " "3"" of type '" "double""'");
106894  }
106895  arg3 = static_cast< double >(val3);
106896  (arg1)->AddChildElement(arg2,arg3);
106897  resultobj = SWIG_Py_Void();
106898  return resultobj;
106899 fail:
106900  return NULL;
106901 }
106902 
106903 
106904 SWIGINTERN PyObject *_wrap_CStdXml_AddChildElement__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106905  PyObject *resultobj = 0;
106906  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106907  std::string arg2 ;
106908  float arg3 ;
106909  void *argp1 = 0 ;
106910  int res1 = 0 ;
106911  float val3 ;
106912  int ecode3 = 0 ;
106913  PyObject * obj0 = 0 ;
106914  PyObject * obj1 = 0 ;
106915  PyObject * obj2 = 0 ;
106916 
106917  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_AddChildElement",&obj0,&obj1,&obj2)) SWIG_fail;
106918  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106919  if (!SWIG_IsOK(res1)) {
106920  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_AddChildElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106921  }
106922  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106923  {
106924  std::string *ptr = (std::string *)0;
106925  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106926  if (!SWIG_IsOK(res) || !ptr) {
106927  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_AddChildElement" "', argument " "2"" of type '" "std::string""'");
106928  }
106929  arg2 = *ptr;
106930  if (SWIG_IsNewObj(res)) delete ptr;
106931  }
106932  ecode3 = SWIG_AsVal_float(obj2, &val3);
106933  if (!SWIG_IsOK(ecode3)) {
106934  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_AddChildElement" "', argument " "3"" of type '" "float""'");
106935  }
106936  arg3 = static_cast< float >(val3);
106937  (arg1)->AddChildElement(arg2,arg3);
106938  resultobj = SWIG_Py_Void();
106939  return resultobj;
106940 fail:
106941  return NULL;
106942 }
106943 
106944 
106945 SWIGINTERN PyObject *_wrap_CStdXml_AddChildElement__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
106946  PyObject *resultobj = 0;
106947  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
106948  std::string arg2 ;
106949  bool arg3 ;
106950  void *argp1 = 0 ;
106951  int res1 = 0 ;
106952  bool val3 ;
106953  int ecode3 = 0 ;
106954  PyObject * obj0 = 0 ;
106955  PyObject * obj1 = 0 ;
106956  PyObject * obj2 = 0 ;
106957 
106958  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_AddChildElement",&obj0,&obj1,&obj2)) SWIG_fail;
106959  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
106960  if (!SWIG_IsOK(res1)) {
106961  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_AddChildElement" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
106962  }
106963  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
106964  {
106965  std::string *ptr = (std::string *)0;
106966  int res = SWIG_AsPtr_std_string(obj1, &ptr);
106967  if (!SWIG_IsOK(res) || !ptr) {
106968  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_AddChildElement" "', argument " "2"" of type '" "std::string""'");
106969  }
106970  arg2 = *ptr;
106971  if (SWIG_IsNewObj(res)) delete ptr;
106972  }
106973  ecode3 = SWIG_AsVal_bool(obj2, &val3);
106974  if (!SWIG_IsOK(ecode3)) {
106975  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_AddChildElement" "', argument " "3"" of type '" "bool""'");
106976  }
106977  arg3 = static_cast< bool >(val3);
106978  (arg1)->AddChildElement(arg2,arg3);
106979  resultobj = SWIG_Py_Void();
106980  return resultobj;
106981 fail:
106982  return NULL;
106983 }
106984 
106985 
106986 SWIGINTERN PyObject *_wrap_CStdXml_AddChildElement(PyObject *self, PyObject *args) {
106987  int argc;
106988  PyObject *argv[4];
106989  int ii;
106990 
106991  if (!PyTuple_Check(args)) SWIG_fail;
106992  argc = args ? (int)PyObject_Length(args) : 0;
106993  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
106994  argv[ii] = PyTuple_GET_ITEM(args,ii);
106995  }
106996  if (argc == 2) {
106997  int _v;
106998  void *vptr = 0;
106999  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107000  _v = SWIG_CheckState(res);
107001  if (_v) {
107002  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107003  _v = SWIG_CheckState(res);
107004  if (_v) {
107005  return _wrap_CStdXml_AddChildElement__SWIG_0(self, args);
107006  }
107007  }
107008  }
107009  if (argc == 3) {
107010  int _v;
107011  void *vptr = 0;
107012  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107013  _v = SWIG_CheckState(res);
107014  if (_v) {
107015  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107016  _v = SWIG_CheckState(res);
107017  if (_v) {
107018  {
107019  int res = SWIG_AsVal_bool(argv[2], NULL);
107020  _v = SWIG_CheckState(res);
107021  }
107022  if (_v) {
107023  return _wrap_CStdXml_AddChildElement__SWIG_8(self, args);
107024  }
107025  }
107026  }
107027  }
107028  if (argc == 3) {
107029  int _v;
107030  void *vptr = 0;
107031  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107032  _v = SWIG_CheckState(res);
107033  if (_v) {
107034  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107035  _v = SWIG_CheckState(res);
107036  if (_v) {
107037  {
107038  int res = SWIG_AsVal_unsigned_SS_char(argv[2], NULL);
107039  _v = SWIG_CheckState(res);
107040  }
107041  if (_v) {
107042  return _wrap_CStdXml_AddChildElement__SWIG_3(self, args);
107043  }
107044  }
107045  }
107046  }
107047  if (argc == 3) {
107048  int _v;
107049  void *vptr = 0;
107050  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107051  _v = SWIG_CheckState(res);
107052  if (_v) {
107053  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107054  _v = SWIG_CheckState(res);
107055  if (_v) {
107056  {
107057  int res = SWIG_AsVal_int(argv[2], NULL);
107058  _v = SWIG_CheckState(res);
107059  }
107060  if (_v) {
107061  return _wrap_CStdXml_AddChildElement__SWIG_5(self, args);
107062  }
107063  }
107064  }
107065  }
107066  if (argc == 3) {
107067  int _v;
107068  void *vptr = 0;
107069  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107070  _v = SWIG_CheckState(res);
107071  if (_v) {
107072  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107073  _v = SWIG_CheckState(res);
107074  if (_v) {
107075  {
107076  int res = SWIG_AsVal_long(argv[2], NULL);
107077  _v = SWIG_CheckState(res);
107078  }
107079  if (_v) {
107080  return _wrap_CStdXml_AddChildElement__SWIG_4(self, args);
107081  }
107082  }
107083  }
107084  }
107085  if (argc == 3) {
107086  int _v;
107087  void *vptr = 0;
107088  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107089  _v = SWIG_CheckState(res);
107090  if (_v) {
107091  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107092  _v = SWIG_CheckState(res);
107093  if (_v) {
107094  {
107095  int res = SWIG_AsVal_float(argv[2], NULL);
107096  _v = SWIG_CheckState(res);
107097  }
107098  if (_v) {
107099  return _wrap_CStdXml_AddChildElement__SWIG_7(self, args);
107100  }
107101  }
107102  }
107103  }
107104  if (argc == 3) {
107105  int _v;
107106  void *vptr = 0;
107107  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107108  _v = SWIG_CheckState(res);
107109  if (_v) {
107110  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107111  _v = SWIG_CheckState(res);
107112  if (_v) {
107113  {
107114  int res = SWIG_AsVal_double(argv[2], NULL);
107115  _v = SWIG_CheckState(res);
107116  }
107117  if (_v) {
107118  return _wrap_CStdXml_AddChildElement__SWIG_6(self, args);
107119  }
107120  }
107121  }
107122  }
107123  if (argc == 3) {
107124  int _v;
107125  void *vptr = 0;
107126  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107127  _v = SWIG_CheckState(res);
107128  if (_v) {
107129  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107130  _v = SWIG_CheckState(res);
107131  if (_v) {
107132  {
107133  int res = SWIG_AsVal_char(argv[2], NULL);
107134  _v = SWIG_CheckState(res);
107135  }
107136  if (_v) {
107137  return _wrap_CStdXml_AddChildElement__SWIG_2(self, args);
107138  }
107139  }
107140  }
107141  }
107142  if (argc == 3) {
107143  int _v;
107144  void *vptr = 0;
107145  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107146  _v = SWIG_CheckState(res);
107147  if (_v) {
107148  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107149  _v = SWIG_CheckState(res);
107150  if (_v) {
107151  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
107152  _v = SWIG_CheckState(res);
107153  if (_v) {
107154  return _wrap_CStdXml_AddChildElement__SWIG_1(self, args);
107155  }
107156  }
107157  }
107158  }
107159 
107160 fail:
107161  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_AddChildElement'.\n"
107162  " Possible C/C++ prototypes are:\n"
107163  " StdUtils::CStdXml::AddChildElement(std::string)\n"
107164  " StdUtils::CStdXml::AddChildElement(std::string,std::string)\n"
107165  " StdUtils::CStdXml::AddChildElement(std::string,char)\n"
107166  " StdUtils::CStdXml::AddChildElement(std::string,unsigned char)\n"
107167  " StdUtils::CStdXml::AddChildElement(std::string,long)\n"
107168  " StdUtils::CStdXml::AddChildElement(std::string,int)\n"
107169  " StdUtils::CStdXml::AddChildElement(std::string,double)\n"
107170  " StdUtils::CStdXml::AddChildElement(std::string,float)\n"
107171  " StdUtils::CStdXml::AddChildElement(std::string,bool)\n");
107172  return 0;
107173 }
107174 
107175 
107176 SWIGINTERN PyObject *_wrap_CStdXml_AddChildCData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
107177  PyObject *resultobj = 0;
107178  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
107179  std::string arg2 ;
107180  std::string arg3 ;
107181  void *argp1 = 0 ;
107182  int res1 = 0 ;
107183  PyObject * obj0 = 0 ;
107184  PyObject * obj1 = 0 ;
107185  PyObject * obj2 = 0 ;
107186 
107187  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_AddChildCData",&obj0,&obj1,&obj2)) SWIG_fail;
107188  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
107189  if (!SWIG_IsOK(res1)) {
107190  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_AddChildCData" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
107191  }
107192  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
107193  {
107194  std::string *ptr = (std::string *)0;
107195  int res = SWIG_AsPtr_std_string(obj1, &ptr);
107196  if (!SWIG_IsOK(res) || !ptr) {
107197  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_AddChildCData" "', argument " "2"" of type '" "std::string""'");
107198  }
107199  arg2 = *ptr;
107200  if (SWIG_IsNewObj(res)) delete ptr;
107201  }
107202  {
107203  std::string *ptr = (std::string *)0;
107204  int res = SWIG_AsPtr_std_string(obj2, &ptr);
107205  if (!SWIG_IsOK(res) || !ptr) {
107206  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_AddChildCData" "', argument " "3"" of type '" "std::string""'");
107207  }
107208  arg3 = *ptr;
107209  if (SWIG_IsNewObj(res)) delete ptr;
107210  }
107211  (arg1)->AddChildCData(arg2,arg3);
107212  resultobj = SWIG_Py_Void();
107213  return resultobj;
107214 fail:
107215  return NULL;
107216 }
107217 
107218 
107219 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
107220  PyObject *resultobj = 0;
107221  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
107222  std::string arg2 ;
107223  bool arg3 ;
107224  bool arg4 ;
107225  std::string arg5 ;
107226  void *argp1 = 0 ;
107227  int res1 = 0 ;
107228  bool val3 ;
107229  int ecode3 = 0 ;
107230  bool val4 ;
107231  int ecode4 = 0 ;
107232  PyObject * obj0 = 0 ;
107233  PyObject * obj1 = 0 ;
107234  PyObject * obj2 = 0 ;
107235  PyObject * obj3 = 0 ;
107236  PyObject * obj4 = 0 ;
107237  std::string result;
107238 
107239  if (!PyArg_ParseTuple(args,(char *)"OOOOO:CStdXml_GetAttribString",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
107240  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
107241  if (!SWIG_IsOK(res1)) {
107242  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribString" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
107243  }
107244  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
107245  {
107246  std::string *ptr = (std::string *)0;
107247  int res = SWIG_AsPtr_std_string(obj1, &ptr);
107248  if (!SWIG_IsOK(res) || !ptr) {
107249  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribString" "', argument " "2"" of type '" "std::string""'");
107250  }
107251  arg2 = *ptr;
107252  if (SWIG_IsNewObj(res)) delete ptr;
107253  }
107254  ecode3 = SWIG_AsVal_bool(obj2, &val3);
107255  if (!SWIG_IsOK(ecode3)) {
107256  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetAttribString" "', argument " "3"" of type '" "bool""'");
107257  }
107258  arg3 = static_cast< bool >(val3);
107259  ecode4 = SWIG_AsVal_bool(obj3, &val4);
107260  if (!SWIG_IsOK(ecode4)) {
107261  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdXml_GetAttribString" "', argument " "4"" of type '" "bool""'");
107262  }
107263  arg4 = static_cast< bool >(val4);
107264  {
107265  std::string *ptr = (std::string *)0;
107266  int res = SWIG_AsPtr_std_string(obj4, &ptr);
107267  if (!SWIG_IsOK(res) || !ptr) {
107268  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribString" "', argument " "5"" of type '" "std::string""'");
107269  }
107270  arg5 = *ptr;
107271  if (SWIG_IsNewObj(res)) delete ptr;
107272  }
107273  result = (arg1)->GetAttribString(arg2,arg3,arg4,arg5);
107274  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
107275  return resultobj;
107276 fail:
107277  return NULL;
107278 }
107279 
107280 
107281 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
107282  PyObject *resultobj = 0;
107283  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
107284  std::string arg2 ;
107285  bool arg3 ;
107286  bool arg4 ;
107287  void *argp1 = 0 ;
107288  int res1 = 0 ;
107289  bool val3 ;
107290  int ecode3 = 0 ;
107291  bool val4 ;
107292  int ecode4 = 0 ;
107293  PyObject * obj0 = 0 ;
107294  PyObject * obj1 = 0 ;
107295  PyObject * obj2 = 0 ;
107296  PyObject * obj3 = 0 ;
107297  std::string result;
107298 
107299  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdXml_GetAttribString",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
107300  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
107301  if (!SWIG_IsOK(res1)) {
107302  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribString" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
107303  }
107304  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
107305  {
107306  std::string *ptr = (std::string *)0;
107307  int res = SWIG_AsPtr_std_string(obj1, &ptr);
107308  if (!SWIG_IsOK(res) || !ptr) {
107309  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribString" "', argument " "2"" of type '" "std::string""'");
107310  }
107311  arg2 = *ptr;
107312  if (SWIG_IsNewObj(res)) delete ptr;
107313  }
107314  ecode3 = SWIG_AsVal_bool(obj2, &val3);
107315  if (!SWIG_IsOK(ecode3)) {
107316  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetAttribString" "', argument " "3"" of type '" "bool""'");
107317  }
107318  arg3 = static_cast< bool >(val3);
107319  ecode4 = SWIG_AsVal_bool(obj3, &val4);
107320  if (!SWIG_IsOK(ecode4)) {
107321  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdXml_GetAttribString" "', argument " "4"" of type '" "bool""'");
107322  }
107323  arg4 = static_cast< bool >(val4);
107324  result = (arg1)->GetAttribString(arg2,arg3,arg4);
107325  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
107326  return resultobj;
107327 fail:
107328  return NULL;
107329 }
107330 
107331 
107332 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribString__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
107333  PyObject *resultobj = 0;
107334  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
107335  std::string arg2 ;
107336  bool arg3 ;
107337  void *argp1 = 0 ;
107338  int res1 = 0 ;
107339  bool val3 ;
107340  int ecode3 = 0 ;
107341  PyObject * obj0 = 0 ;
107342  PyObject * obj1 = 0 ;
107343  PyObject * obj2 = 0 ;
107344  std::string result;
107345 
107346  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetAttribString",&obj0,&obj1,&obj2)) SWIG_fail;
107347  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
107348  if (!SWIG_IsOK(res1)) {
107349  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribString" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
107350  }
107351  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
107352  {
107353  std::string *ptr = (std::string *)0;
107354  int res = SWIG_AsPtr_std_string(obj1, &ptr);
107355  if (!SWIG_IsOK(res) || !ptr) {
107356  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribString" "', argument " "2"" of type '" "std::string""'");
107357  }
107358  arg2 = *ptr;
107359  if (SWIG_IsNewObj(res)) delete ptr;
107360  }
107361  ecode3 = SWIG_AsVal_bool(obj2, &val3);
107362  if (!SWIG_IsOK(ecode3)) {
107363  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetAttribString" "', argument " "3"" of type '" "bool""'");
107364  }
107365  arg3 = static_cast< bool >(val3);
107366  result = (arg1)->GetAttribString(arg2,arg3);
107367  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
107368  return resultobj;
107369 fail:
107370  return NULL;
107371 }
107372 
107373 
107374 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribString__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
107375  PyObject *resultobj = 0;
107376  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
107377  std::string arg2 ;
107378  void *argp1 = 0 ;
107379  int res1 = 0 ;
107380  PyObject * obj0 = 0 ;
107381  PyObject * obj1 = 0 ;
107382  std::string result;
107383 
107384  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetAttribString",&obj0,&obj1)) SWIG_fail;
107385  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
107386  if (!SWIG_IsOK(res1)) {
107387  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribString" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
107388  }
107389  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
107390  {
107391  std::string *ptr = (std::string *)0;
107392  int res = SWIG_AsPtr_std_string(obj1, &ptr);
107393  if (!SWIG_IsOK(res) || !ptr) {
107394  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribString" "', argument " "2"" of type '" "std::string""'");
107395  }
107396  arg2 = *ptr;
107397  if (SWIG_IsNewObj(res)) delete ptr;
107398  }
107399  result = (arg1)->GetAttribString(arg2);
107400  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
107401  return resultobj;
107402 fail:
107403  return NULL;
107404 }
107405 
107406 
107407 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribString(PyObject *self, PyObject *args) {
107408  int argc;
107409  PyObject *argv[6];
107410  int ii;
107411 
107412  if (!PyTuple_Check(args)) SWIG_fail;
107413  argc = args ? (int)PyObject_Length(args) : 0;
107414  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
107415  argv[ii] = PyTuple_GET_ITEM(args,ii);
107416  }
107417  if (argc == 2) {
107418  int _v;
107419  void *vptr = 0;
107420  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107421  _v = SWIG_CheckState(res);
107422  if (_v) {
107423  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107424  _v = SWIG_CheckState(res);
107425  if (_v) {
107426  return _wrap_CStdXml_GetAttribString__SWIG_3(self, args);
107427  }
107428  }
107429  }
107430  if (argc == 3) {
107431  int _v;
107432  void *vptr = 0;
107433  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107434  _v = SWIG_CheckState(res);
107435  if (_v) {
107436  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107437  _v = SWIG_CheckState(res);
107438  if (_v) {
107439  {
107440  int res = SWIG_AsVal_bool(argv[2], NULL);
107441  _v = SWIG_CheckState(res);
107442  }
107443  if (_v) {
107444  return _wrap_CStdXml_GetAttribString__SWIG_2(self, args);
107445  }
107446  }
107447  }
107448  }
107449  if (argc == 4) {
107450  int _v;
107451  void *vptr = 0;
107452  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107453  _v = SWIG_CheckState(res);
107454  if (_v) {
107455  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107456  _v = SWIG_CheckState(res);
107457  if (_v) {
107458  {
107459  int res = SWIG_AsVal_bool(argv[2], NULL);
107460  _v = SWIG_CheckState(res);
107461  }
107462  if (_v) {
107463  {
107464  int res = SWIG_AsVal_bool(argv[3], NULL);
107465  _v = SWIG_CheckState(res);
107466  }
107467  if (_v) {
107468  return _wrap_CStdXml_GetAttribString__SWIG_1(self, args);
107469  }
107470  }
107471  }
107472  }
107473  }
107474  if (argc == 5) {
107475  int _v;
107476  void *vptr = 0;
107477  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107478  _v = SWIG_CheckState(res);
107479  if (_v) {
107480  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107481  _v = SWIG_CheckState(res);
107482  if (_v) {
107483  {
107484  int res = SWIG_AsVal_bool(argv[2], NULL);
107485  _v = SWIG_CheckState(res);
107486  }
107487  if (_v) {
107488  {
107489  int res = SWIG_AsVal_bool(argv[3], NULL);
107490  _v = SWIG_CheckState(res);
107491  }
107492  if (_v) {
107493  int res = SWIG_AsPtr_std_string(argv[4], (std::string**)(0));
107494  _v = SWIG_CheckState(res);
107495  if (_v) {
107496  return _wrap_CStdXml_GetAttribString__SWIG_0(self, args);
107497  }
107498  }
107499  }
107500  }
107501  }
107502  }
107503 
107504 fail:
107505  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetAttribString'.\n"
107506  " Possible C/C++ prototypes are:\n"
107507  " StdUtils::CStdXml::GetAttribString(std::string,bool,bool,std::string)\n"
107508  " StdUtils::CStdXml::GetAttribString(std::string,bool,bool)\n"
107509  " StdUtils::CStdXml::GetAttribString(std::string,bool)\n"
107510  " StdUtils::CStdXml::GetAttribString(std::string)\n");
107511  return 0;
107512 }
107513 
107514 
107515 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribLong__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
107516  PyObject *resultobj = 0;
107517  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
107518  std::string arg2 ;
107519  bool arg3 ;
107520  long arg4 ;
107521  void *argp1 = 0 ;
107522  int res1 = 0 ;
107523  bool val3 ;
107524  int ecode3 = 0 ;
107525  long val4 ;
107526  int ecode4 = 0 ;
107527  PyObject * obj0 = 0 ;
107528  PyObject * obj1 = 0 ;
107529  PyObject * obj2 = 0 ;
107530  PyObject * obj3 = 0 ;
107531  long result;
107532 
107533  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdXml_GetAttribLong",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
107534  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
107535  if (!SWIG_IsOK(res1)) {
107536  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribLong" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
107537  }
107538  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
107539  {
107540  std::string *ptr = (std::string *)0;
107541  int res = SWIG_AsPtr_std_string(obj1, &ptr);
107542  if (!SWIG_IsOK(res) || !ptr) {
107543  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribLong" "', argument " "2"" of type '" "std::string""'");
107544  }
107545  arg2 = *ptr;
107546  if (SWIG_IsNewObj(res)) delete ptr;
107547  }
107548  ecode3 = SWIG_AsVal_bool(obj2, &val3);
107549  if (!SWIG_IsOK(ecode3)) {
107550  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetAttribLong" "', argument " "3"" of type '" "bool""'");
107551  }
107552  arg3 = static_cast< bool >(val3);
107553  ecode4 = SWIG_AsVal_long(obj3, &val4);
107554  if (!SWIG_IsOK(ecode4)) {
107555  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdXml_GetAttribLong" "', argument " "4"" of type '" "long""'");
107556  }
107557  arg4 = static_cast< long >(val4);
107558  result = (long)(arg1)->GetAttribLong(arg2,arg3,arg4);
107559  resultobj = SWIG_From_long(static_cast< long >(result));
107560  return resultobj;
107561 fail:
107562  return NULL;
107563 }
107564 
107565 
107566 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribLong__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
107567  PyObject *resultobj = 0;
107568  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
107569  std::string arg2 ;
107570  bool arg3 ;
107571  void *argp1 = 0 ;
107572  int res1 = 0 ;
107573  bool val3 ;
107574  int ecode3 = 0 ;
107575  PyObject * obj0 = 0 ;
107576  PyObject * obj1 = 0 ;
107577  PyObject * obj2 = 0 ;
107578  long result;
107579 
107580  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetAttribLong",&obj0,&obj1,&obj2)) SWIG_fail;
107581  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
107582  if (!SWIG_IsOK(res1)) {
107583  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribLong" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
107584  }
107585  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
107586  {
107587  std::string *ptr = (std::string *)0;
107588  int res = SWIG_AsPtr_std_string(obj1, &ptr);
107589  if (!SWIG_IsOK(res) || !ptr) {
107590  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribLong" "', argument " "2"" of type '" "std::string""'");
107591  }
107592  arg2 = *ptr;
107593  if (SWIG_IsNewObj(res)) delete ptr;
107594  }
107595  ecode3 = SWIG_AsVal_bool(obj2, &val3);
107596  if (!SWIG_IsOK(ecode3)) {
107597  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetAttribLong" "', argument " "3"" of type '" "bool""'");
107598  }
107599  arg3 = static_cast< bool >(val3);
107600  result = (long)(arg1)->GetAttribLong(arg2,arg3);
107601  resultobj = SWIG_From_long(static_cast< long >(result));
107602  return resultobj;
107603 fail:
107604  return NULL;
107605 }
107606 
107607 
107608 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribLong__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
107609  PyObject *resultobj = 0;
107610  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
107611  std::string arg2 ;
107612  void *argp1 = 0 ;
107613  int res1 = 0 ;
107614  PyObject * obj0 = 0 ;
107615  PyObject * obj1 = 0 ;
107616  long result;
107617 
107618  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetAttribLong",&obj0,&obj1)) SWIG_fail;
107619  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
107620  if (!SWIG_IsOK(res1)) {
107621  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribLong" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
107622  }
107623  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
107624  {
107625  std::string *ptr = (std::string *)0;
107626  int res = SWIG_AsPtr_std_string(obj1, &ptr);
107627  if (!SWIG_IsOK(res) || !ptr) {
107628  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribLong" "', argument " "2"" of type '" "std::string""'");
107629  }
107630  arg2 = *ptr;
107631  if (SWIG_IsNewObj(res)) delete ptr;
107632  }
107633  result = (long)(arg1)->GetAttribLong(arg2);
107634  resultobj = SWIG_From_long(static_cast< long >(result));
107635  return resultobj;
107636 fail:
107637  return NULL;
107638 }
107639 
107640 
107641 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribLong(PyObject *self, PyObject *args) {
107642  int argc;
107643  PyObject *argv[5];
107644  int ii;
107645 
107646  if (!PyTuple_Check(args)) SWIG_fail;
107647  argc = args ? (int)PyObject_Length(args) : 0;
107648  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
107649  argv[ii] = PyTuple_GET_ITEM(args,ii);
107650  }
107651  if (argc == 2) {
107652  int _v;
107653  void *vptr = 0;
107654  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107655  _v = SWIG_CheckState(res);
107656  if (_v) {
107657  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107658  _v = SWIG_CheckState(res);
107659  if (_v) {
107660  return _wrap_CStdXml_GetAttribLong__SWIG_2(self, args);
107661  }
107662  }
107663  }
107664  if (argc == 3) {
107665  int _v;
107666  void *vptr = 0;
107667  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107668  _v = SWIG_CheckState(res);
107669  if (_v) {
107670  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107671  _v = SWIG_CheckState(res);
107672  if (_v) {
107673  {
107674  int res = SWIG_AsVal_bool(argv[2], NULL);
107675  _v = SWIG_CheckState(res);
107676  }
107677  if (_v) {
107678  return _wrap_CStdXml_GetAttribLong__SWIG_1(self, args);
107679  }
107680  }
107681  }
107682  }
107683  if (argc == 4) {
107684  int _v;
107685  void *vptr = 0;
107686  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107687  _v = SWIG_CheckState(res);
107688  if (_v) {
107689  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107690  _v = SWIG_CheckState(res);
107691  if (_v) {
107692  {
107693  int res = SWIG_AsVal_bool(argv[2], NULL);
107694  _v = SWIG_CheckState(res);
107695  }
107696  if (_v) {
107697  {
107698  int res = SWIG_AsVal_long(argv[3], NULL);
107699  _v = SWIG_CheckState(res);
107700  }
107701  if (_v) {
107702  return _wrap_CStdXml_GetAttribLong__SWIG_0(self, args);
107703  }
107704  }
107705  }
107706  }
107707  }
107708 
107709 fail:
107710  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetAttribLong'.\n"
107711  " Possible C/C++ prototypes are:\n"
107712  " StdUtils::CStdXml::GetAttribLong(std::string,bool,long)\n"
107713  " StdUtils::CStdXml::GetAttribLong(std::string,bool)\n"
107714  " StdUtils::CStdXml::GetAttribLong(std::string)\n");
107715  return 0;
107716 }
107717 
107718 
107719 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribInt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
107720  PyObject *resultobj = 0;
107721  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
107722  std::string arg2 ;
107723  bool arg3 ;
107724  int arg4 ;
107725  void *argp1 = 0 ;
107726  int res1 = 0 ;
107727  bool val3 ;
107728  int ecode3 = 0 ;
107729  int val4 ;
107730  int ecode4 = 0 ;
107731  PyObject * obj0 = 0 ;
107732  PyObject * obj1 = 0 ;
107733  PyObject * obj2 = 0 ;
107734  PyObject * obj3 = 0 ;
107735  int result;
107736 
107737  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdXml_GetAttribInt",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
107738  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
107739  if (!SWIG_IsOK(res1)) {
107740  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribInt" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
107741  }
107742  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
107743  {
107744  std::string *ptr = (std::string *)0;
107745  int res = SWIG_AsPtr_std_string(obj1, &ptr);
107746  if (!SWIG_IsOK(res) || !ptr) {
107747  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribInt" "', argument " "2"" of type '" "std::string""'");
107748  }
107749  arg2 = *ptr;
107750  if (SWIG_IsNewObj(res)) delete ptr;
107751  }
107752  ecode3 = SWIG_AsVal_bool(obj2, &val3);
107753  if (!SWIG_IsOK(ecode3)) {
107754  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetAttribInt" "', argument " "3"" of type '" "bool""'");
107755  }
107756  arg3 = static_cast< bool >(val3);
107757  ecode4 = SWIG_AsVal_int(obj3, &val4);
107758  if (!SWIG_IsOK(ecode4)) {
107759  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdXml_GetAttribInt" "', argument " "4"" of type '" "int""'");
107760  }
107761  arg4 = static_cast< int >(val4);
107762  result = (int)(arg1)->GetAttribInt(arg2,arg3,arg4);
107763  resultobj = SWIG_From_int(static_cast< int >(result));
107764  return resultobj;
107765 fail:
107766  return NULL;
107767 }
107768 
107769 
107770 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribInt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
107771  PyObject *resultobj = 0;
107772  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
107773  std::string arg2 ;
107774  bool arg3 ;
107775  void *argp1 = 0 ;
107776  int res1 = 0 ;
107777  bool val3 ;
107778  int ecode3 = 0 ;
107779  PyObject * obj0 = 0 ;
107780  PyObject * obj1 = 0 ;
107781  PyObject * obj2 = 0 ;
107782  int result;
107783 
107784  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetAttribInt",&obj0,&obj1,&obj2)) SWIG_fail;
107785  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
107786  if (!SWIG_IsOK(res1)) {
107787  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribInt" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
107788  }
107789  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
107790  {
107791  std::string *ptr = (std::string *)0;
107792  int res = SWIG_AsPtr_std_string(obj1, &ptr);
107793  if (!SWIG_IsOK(res) || !ptr) {
107794  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribInt" "', argument " "2"" of type '" "std::string""'");
107795  }
107796  arg2 = *ptr;
107797  if (SWIG_IsNewObj(res)) delete ptr;
107798  }
107799  ecode3 = SWIG_AsVal_bool(obj2, &val3);
107800  if (!SWIG_IsOK(ecode3)) {
107801  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetAttribInt" "', argument " "3"" of type '" "bool""'");
107802  }
107803  arg3 = static_cast< bool >(val3);
107804  result = (int)(arg1)->GetAttribInt(arg2,arg3);
107805  resultobj = SWIG_From_int(static_cast< int >(result));
107806  return resultobj;
107807 fail:
107808  return NULL;
107809 }
107810 
107811 
107812 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribInt__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
107813  PyObject *resultobj = 0;
107814  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
107815  std::string arg2 ;
107816  void *argp1 = 0 ;
107817  int res1 = 0 ;
107818  PyObject * obj0 = 0 ;
107819  PyObject * obj1 = 0 ;
107820  int result;
107821 
107822  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetAttribInt",&obj0,&obj1)) SWIG_fail;
107823  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
107824  if (!SWIG_IsOK(res1)) {
107825  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribInt" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
107826  }
107827  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
107828  {
107829  std::string *ptr = (std::string *)0;
107830  int res = SWIG_AsPtr_std_string(obj1, &ptr);
107831  if (!SWIG_IsOK(res) || !ptr) {
107832  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribInt" "', argument " "2"" of type '" "std::string""'");
107833  }
107834  arg2 = *ptr;
107835  if (SWIG_IsNewObj(res)) delete ptr;
107836  }
107837  result = (int)(arg1)->GetAttribInt(arg2);
107838  resultobj = SWIG_From_int(static_cast< int >(result));
107839  return resultobj;
107840 fail:
107841  return NULL;
107842 }
107843 
107844 
107845 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribInt(PyObject *self, PyObject *args) {
107846  int argc;
107847  PyObject *argv[5];
107848  int ii;
107849 
107850  if (!PyTuple_Check(args)) SWIG_fail;
107851  argc = args ? (int)PyObject_Length(args) : 0;
107852  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
107853  argv[ii] = PyTuple_GET_ITEM(args,ii);
107854  }
107855  if (argc == 2) {
107856  int _v;
107857  void *vptr = 0;
107858  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107859  _v = SWIG_CheckState(res);
107860  if (_v) {
107861  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107862  _v = SWIG_CheckState(res);
107863  if (_v) {
107864  return _wrap_CStdXml_GetAttribInt__SWIG_2(self, args);
107865  }
107866  }
107867  }
107868  if (argc == 3) {
107869  int _v;
107870  void *vptr = 0;
107871  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107872  _v = SWIG_CheckState(res);
107873  if (_v) {
107874  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107875  _v = SWIG_CheckState(res);
107876  if (_v) {
107877  {
107878  int res = SWIG_AsVal_bool(argv[2], NULL);
107879  _v = SWIG_CheckState(res);
107880  }
107881  if (_v) {
107882  return _wrap_CStdXml_GetAttribInt__SWIG_1(self, args);
107883  }
107884  }
107885  }
107886  }
107887  if (argc == 4) {
107888  int _v;
107889  void *vptr = 0;
107890  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
107891  _v = SWIG_CheckState(res);
107892  if (_v) {
107893  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
107894  _v = SWIG_CheckState(res);
107895  if (_v) {
107896  {
107897  int res = SWIG_AsVal_bool(argv[2], NULL);
107898  _v = SWIG_CheckState(res);
107899  }
107900  if (_v) {
107901  {
107902  int res = SWIG_AsVal_int(argv[3], NULL);
107903  _v = SWIG_CheckState(res);
107904  }
107905  if (_v) {
107906  return _wrap_CStdXml_GetAttribInt__SWIG_0(self, args);
107907  }
107908  }
107909  }
107910  }
107911  }
107912 
107913 fail:
107914  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetAttribInt'.\n"
107915  " Possible C/C++ prototypes are:\n"
107916  " StdUtils::CStdXml::GetAttribInt(std::string,bool,int)\n"
107917  " StdUtils::CStdXml::GetAttribInt(std::string,bool)\n"
107918  " StdUtils::CStdXml::GetAttribInt(std::string)\n");
107919  return 0;
107920 }
107921 
107922 
107923 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribDouble__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
107924  PyObject *resultobj = 0;
107925  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
107926  std::string arg2 ;
107927  bool arg3 ;
107928  double arg4 ;
107929  void *argp1 = 0 ;
107930  int res1 = 0 ;
107931  bool val3 ;
107932  int ecode3 = 0 ;
107933  double val4 ;
107934  int ecode4 = 0 ;
107935  PyObject * obj0 = 0 ;
107936  PyObject * obj1 = 0 ;
107937  PyObject * obj2 = 0 ;
107938  PyObject * obj3 = 0 ;
107939  double result;
107940 
107941  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdXml_GetAttribDouble",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
107942  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
107943  if (!SWIG_IsOK(res1)) {
107944  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribDouble" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
107945  }
107946  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
107947  {
107948  std::string *ptr = (std::string *)0;
107949  int res = SWIG_AsPtr_std_string(obj1, &ptr);
107950  if (!SWIG_IsOK(res) || !ptr) {
107951  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribDouble" "', argument " "2"" of type '" "std::string""'");
107952  }
107953  arg2 = *ptr;
107954  if (SWIG_IsNewObj(res)) delete ptr;
107955  }
107956  ecode3 = SWIG_AsVal_bool(obj2, &val3);
107957  if (!SWIG_IsOK(ecode3)) {
107958  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetAttribDouble" "', argument " "3"" of type '" "bool""'");
107959  }
107960  arg3 = static_cast< bool >(val3);
107961  ecode4 = SWIG_AsVal_double(obj3, &val4);
107962  if (!SWIG_IsOK(ecode4)) {
107963  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdXml_GetAttribDouble" "', argument " "4"" of type '" "double""'");
107964  }
107965  arg4 = static_cast< double >(val4);
107966  result = (double)(arg1)->GetAttribDouble(arg2,arg3,arg4);
107967  resultobj = SWIG_From_double(static_cast< double >(result));
107968  return resultobj;
107969 fail:
107970  return NULL;
107971 }
107972 
107973 
107974 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribDouble__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
107975  PyObject *resultobj = 0;
107976  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
107977  std::string arg2 ;
107978  bool arg3 ;
107979  void *argp1 = 0 ;
107980  int res1 = 0 ;
107981  bool val3 ;
107982  int ecode3 = 0 ;
107983  PyObject * obj0 = 0 ;
107984  PyObject * obj1 = 0 ;
107985  PyObject * obj2 = 0 ;
107986  double result;
107987 
107988  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetAttribDouble",&obj0,&obj1,&obj2)) SWIG_fail;
107989  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
107990  if (!SWIG_IsOK(res1)) {
107991  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribDouble" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
107992  }
107993  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
107994  {
107995  std::string *ptr = (std::string *)0;
107996  int res = SWIG_AsPtr_std_string(obj1, &ptr);
107997  if (!SWIG_IsOK(res) || !ptr) {
107998  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribDouble" "', argument " "2"" of type '" "std::string""'");
107999  }
108000  arg2 = *ptr;
108001  if (SWIG_IsNewObj(res)) delete ptr;
108002  }
108003  ecode3 = SWIG_AsVal_bool(obj2, &val3);
108004  if (!SWIG_IsOK(ecode3)) {
108005  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetAttribDouble" "', argument " "3"" of type '" "bool""'");
108006  }
108007  arg3 = static_cast< bool >(val3);
108008  result = (double)(arg1)->GetAttribDouble(arg2,arg3);
108009  resultobj = SWIG_From_double(static_cast< double >(result));
108010  return resultobj;
108011 fail:
108012  return NULL;
108013 }
108014 
108015 
108016 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribDouble__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
108017  PyObject *resultobj = 0;
108018  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
108019  std::string arg2 ;
108020  void *argp1 = 0 ;
108021  int res1 = 0 ;
108022  PyObject * obj0 = 0 ;
108023  PyObject * obj1 = 0 ;
108024  double result;
108025 
108026  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetAttribDouble",&obj0,&obj1)) SWIG_fail;
108027  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
108028  if (!SWIG_IsOK(res1)) {
108029  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribDouble" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
108030  }
108031  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
108032  {
108033  std::string *ptr = (std::string *)0;
108034  int res = SWIG_AsPtr_std_string(obj1, &ptr);
108035  if (!SWIG_IsOK(res) || !ptr) {
108036  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribDouble" "', argument " "2"" of type '" "std::string""'");
108037  }
108038  arg2 = *ptr;
108039  if (SWIG_IsNewObj(res)) delete ptr;
108040  }
108041  result = (double)(arg1)->GetAttribDouble(arg2);
108042  resultobj = SWIG_From_double(static_cast< double >(result));
108043  return resultobj;
108044 fail:
108045  return NULL;
108046 }
108047 
108048 
108049 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribDouble(PyObject *self, PyObject *args) {
108050  int argc;
108051  PyObject *argv[5];
108052  int ii;
108053 
108054  if (!PyTuple_Check(args)) SWIG_fail;
108055  argc = args ? (int)PyObject_Length(args) : 0;
108056  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
108057  argv[ii] = PyTuple_GET_ITEM(args,ii);
108058  }
108059  if (argc == 2) {
108060  int _v;
108061  void *vptr = 0;
108062  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108063  _v = SWIG_CheckState(res);
108064  if (_v) {
108065  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108066  _v = SWIG_CheckState(res);
108067  if (_v) {
108068  return _wrap_CStdXml_GetAttribDouble__SWIG_2(self, args);
108069  }
108070  }
108071  }
108072  if (argc == 3) {
108073  int _v;
108074  void *vptr = 0;
108075  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108076  _v = SWIG_CheckState(res);
108077  if (_v) {
108078  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108079  _v = SWIG_CheckState(res);
108080  if (_v) {
108081  {
108082  int res = SWIG_AsVal_bool(argv[2], NULL);
108083  _v = SWIG_CheckState(res);
108084  }
108085  if (_v) {
108086  return _wrap_CStdXml_GetAttribDouble__SWIG_1(self, args);
108087  }
108088  }
108089  }
108090  }
108091  if (argc == 4) {
108092  int _v;
108093  void *vptr = 0;
108094  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108095  _v = SWIG_CheckState(res);
108096  if (_v) {
108097  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108098  _v = SWIG_CheckState(res);
108099  if (_v) {
108100  {
108101  int res = SWIG_AsVal_bool(argv[2], NULL);
108102  _v = SWIG_CheckState(res);
108103  }
108104  if (_v) {
108105  {
108106  int res = SWIG_AsVal_double(argv[3], NULL);
108107  _v = SWIG_CheckState(res);
108108  }
108109  if (_v) {
108110  return _wrap_CStdXml_GetAttribDouble__SWIG_0(self, args);
108111  }
108112  }
108113  }
108114  }
108115  }
108116 
108117 fail:
108118  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetAttribDouble'.\n"
108119  " Possible C/C++ prototypes are:\n"
108120  " StdUtils::CStdXml::GetAttribDouble(std::string,bool,double)\n"
108121  " StdUtils::CStdXml::GetAttribDouble(std::string,bool)\n"
108122  " StdUtils::CStdXml::GetAttribDouble(std::string)\n");
108123  return 0;
108124 }
108125 
108126 
108127 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribFloat__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
108128  PyObject *resultobj = 0;
108129  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
108130  std::string arg2 ;
108131  bool arg3 ;
108132  float arg4 ;
108133  void *argp1 = 0 ;
108134  int res1 = 0 ;
108135  bool val3 ;
108136  int ecode3 = 0 ;
108137  float val4 ;
108138  int ecode4 = 0 ;
108139  PyObject * obj0 = 0 ;
108140  PyObject * obj1 = 0 ;
108141  PyObject * obj2 = 0 ;
108142  PyObject * obj3 = 0 ;
108143  float result;
108144 
108145  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdXml_GetAttribFloat",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
108146  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
108147  if (!SWIG_IsOK(res1)) {
108148  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribFloat" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
108149  }
108150  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
108151  {
108152  std::string *ptr = (std::string *)0;
108153  int res = SWIG_AsPtr_std_string(obj1, &ptr);
108154  if (!SWIG_IsOK(res) || !ptr) {
108155  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribFloat" "', argument " "2"" of type '" "std::string""'");
108156  }
108157  arg2 = *ptr;
108158  if (SWIG_IsNewObj(res)) delete ptr;
108159  }
108160  ecode3 = SWIG_AsVal_bool(obj2, &val3);
108161  if (!SWIG_IsOK(ecode3)) {
108162  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetAttribFloat" "', argument " "3"" of type '" "bool""'");
108163  }
108164  arg3 = static_cast< bool >(val3);
108165  ecode4 = SWIG_AsVal_float(obj3, &val4);
108166  if (!SWIG_IsOK(ecode4)) {
108167  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdXml_GetAttribFloat" "', argument " "4"" of type '" "float""'");
108168  }
108169  arg4 = static_cast< float >(val4);
108170  result = (float)(arg1)->GetAttribFloat(arg2,arg3,arg4);
108171  resultobj = SWIG_From_float(static_cast< float >(result));
108172  return resultobj;
108173 fail:
108174  return NULL;
108175 }
108176 
108177 
108178 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribFloat__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
108179  PyObject *resultobj = 0;
108180  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
108181  std::string arg2 ;
108182  bool arg3 ;
108183  void *argp1 = 0 ;
108184  int res1 = 0 ;
108185  bool val3 ;
108186  int ecode3 = 0 ;
108187  PyObject * obj0 = 0 ;
108188  PyObject * obj1 = 0 ;
108189  PyObject * obj2 = 0 ;
108190  float result;
108191 
108192  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetAttribFloat",&obj0,&obj1,&obj2)) SWIG_fail;
108193  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
108194  if (!SWIG_IsOK(res1)) {
108195  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribFloat" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
108196  }
108197  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
108198  {
108199  std::string *ptr = (std::string *)0;
108200  int res = SWIG_AsPtr_std_string(obj1, &ptr);
108201  if (!SWIG_IsOK(res) || !ptr) {
108202  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribFloat" "', argument " "2"" of type '" "std::string""'");
108203  }
108204  arg2 = *ptr;
108205  if (SWIG_IsNewObj(res)) delete ptr;
108206  }
108207  ecode3 = SWIG_AsVal_bool(obj2, &val3);
108208  if (!SWIG_IsOK(ecode3)) {
108209  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetAttribFloat" "', argument " "3"" of type '" "bool""'");
108210  }
108211  arg3 = static_cast< bool >(val3);
108212  result = (float)(arg1)->GetAttribFloat(arg2,arg3);
108213  resultobj = SWIG_From_float(static_cast< float >(result));
108214  return resultobj;
108215 fail:
108216  return NULL;
108217 }
108218 
108219 
108220 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribFloat__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
108221  PyObject *resultobj = 0;
108222  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
108223  std::string arg2 ;
108224  void *argp1 = 0 ;
108225  int res1 = 0 ;
108226  PyObject * obj0 = 0 ;
108227  PyObject * obj1 = 0 ;
108228  float result;
108229 
108230  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetAttribFloat",&obj0,&obj1)) SWIG_fail;
108231  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
108232  if (!SWIG_IsOK(res1)) {
108233  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribFloat" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
108234  }
108235  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
108236  {
108237  std::string *ptr = (std::string *)0;
108238  int res = SWIG_AsPtr_std_string(obj1, &ptr);
108239  if (!SWIG_IsOK(res) || !ptr) {
108240  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribFloat" "', argument " "2"" of type '" "std::string""'");
108241  }
108242  arg2 = *ptr;
108243  if (SWIG_IsNewObj(res)) delete ptr;
108244  }
108245  result = (float)(arg1)->GetAttribFloat(arg2);
108246  resultobj = SWIG_From_float(static_cast< float >(result));
108247  return resultobj;
108248 fail:
108249  return NULL;
108250 }
108251 
108252 
108253 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribFloat(PyObject *self, PyObject *args) {
108254  int argc;
108255  PyObject *argv[5];
108256  int ii;
108257 
108258  if (!PyTuple_Check(args)) SWIG_fail;
108259  argc = args ? (int)PyObject_Length(args) : 0;
108260  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
108261  argv[ii] = PyTuple_GET_ITEM(args,ii);
108262  }
108263  if (argc == 2) {
108264  int _v;
108265  void *vptr = 0;
108266  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108267  _v = SWIG_CheckState(res);
108268  if (_v) {
108269  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108270  _v = SWIG_CheckState(res);
108271  if (_v) {
108272  return _wrap_CStdXml_GetAttribFloat__SWIG_2(self, args);
108273  }
108274  }
108275  }
108276  if (argc == 3) {
108277  int _v;
108278  void *vptr = 0;
108279  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108280  _v = SWIG_CheckState(res);
108281  if (_v) {
108282  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108283  _v = SWIG_CheckState(res);
108284  if (_v) {
108285  {
108286  int res = SWIG_AsVal_bool(argv[2], NULL);
108287  _v = SWIG_CheckState(res);
108288  }
108289  if (_v) {
108290  return _wrap_CStdXml_GetAttribFloat__SWIG_1(self, args);
108291  }
108292  }
108293  }
108294  }
108295  if (argc == 4) {
108296  int _v;
108297  void *vptr = 0;
108298  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108299  _v = SWIG_CheckState(res);
108300  if (_v) {
108301  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108302  _v = SWIG_CheckState(res);
108303  if (_v) {
108304  {
108305  int res = SWIG_AsVal_bool(argv[2], NULL);
108306  _v = SWIG_CheckState(res);
108307  }
108308  if (_v) {
108309  {
108310  int res = SWIG_AsVal_float(argv[3], NULL);
108311  _v = SWIG_CheckState(res);
108312  }
108313  if (_v) {
108314  return _wrap_CStdXml_GetAttribFloat__SWIG_0(self, args);
108315  }
108316  }
108317  }
108318  }
108319  }
108320 
108321 fail:
108322  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetAttribFloat'.\n"
108323  " Possible C/C++ prototypes are:\n"
108324  " StdUtils::CStdXml::GetAttribFloat(std::string,bool,float)\n"
108325  " StdUtils::CStdXml::GetAttribFloat(std::string,bool)\n"
108326  " StdUtils::CStdXml::GetAttribFloat(std::string)\n");
108327  return 0;
108328 }
108329 
108330 
108331 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribBool__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
108332  PyObject *resultobj = 0;
108333  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
108334  std::string arg2 ;
108335  bool arg3 ;
108336  bool arg4 ;
108337  void *argp1 = 0 ;
108338  int res1 = 0 ;
108339  bool val3 ;
108340  int ecode3 = 0 ;
108341  bool val4 ;
108342  int ecode4 = 0 ;
108343  PyObject * obj0 = 0 ;
108344  PyObject * obj1 = 0 ;
108345  PyObject * obj2 = 0 ;
108346  PyObject * obj3 = 0 ;
108347  bool result;
108348 
108349  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdXml_GetAttribBool",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
108350  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
108351  if (!SWIG_IsOK(res1)) {
108352  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribBool" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
108353  }
108354  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
108355  {
108356  std::string *ptr = (std::string *)0;
108357  int res = SWIG_AsPtr_std_string(obj1, &ptr);
108358  if (!SWIG_IsOK(res) || !ptr) {
108359  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribBool" "', argument " "2"" of type '" "std::string""'");
108360  }
108361  arg2 = *ptr;
108362  if (SWIG_IsNewObj(res)) delete ptr;
108363  }
108364  ecode3 = SWIG_AsVal_bool(obj2, &val3);
108365  if (!SWIG_IsOK(ecode3)) {
108366  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetAttribBool" "', argument " "3"" of type '" "bool""'");
108367  }
108368  arg3 = static_cast< bool >(val3);
108369  ecode4 = SWIG_AsVal_bool(obj3, &val4);
108370  if (!SWIG_IsOK(ecode4)) {
108371  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdXml_GetAttribBool" "', argument " "4"" of type '" "bool""'");
108372  }
108373  arg4 = static_cast< bool >(val4);
108374  result = (bool)(arg1)->GetAttribBool(arg2,arg3,arg4);
108375  resultobj = SWIG_From_bool(static_cast< bool >(result));
108376  return resultobj;
108377 fail:
108378  return NULL;
108379 }
108380 
108381 
108382 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribBool__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
108383  PyObject *resultobj = 0;
108384  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
108385  std::string arg2 ;
108386  bool arg3 ;
108387  void *argp1 = 0 ;
108388  int res1 = 0 ;
108389  bool val3 ;
108390  int ecode3 = 0 ;
108391  PyObject * obj0 = 0 ;
108392  PyObject * obj1 = 0 ;
108393  PyObject * obj2 = 0 ;
108394  bool result;
108395 
108396  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetAttribBool",&obj0,&obj1,&obj2)) SWIG_fail;
108397  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
108398  if (!SWIG_IsOK(res1)) {
108399  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribBool" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
108400  }
108401  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
108402  {
108403  std::string *ptr = (std::string *)0;
108404  int res = SWIG_AsPtr_std_string(obj1, &ptr);
108405  if (!SWIG_IsOK(res) || !ptr) {
108406  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribBool" "', argument " "2"" of type '" "std::string""'");
108407  }
108408  arg2 = *ptr;
108409  if (SWIG_IsNewObj(res)) delete ptr;
108410  }
108411  ecode3 = SWIG_AsVal_bool(obj2, &val3);
108412  if (!SWIG_IsOK(ecode3)) {
108413  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetAttribBool" "', argument " "3"" of type '" "bool""'");
108414  }
108415  arg3 = static_cast< bool >(val3);
108416  result = (bool)(arg1)->GetAttribBool(arg2,arg3);
108417  resultobj = SWIG_From_bool(static_cast< bool >(result));
108418  return resultobj;
108419 fail:
108420  return NULL;
108421 }
108422 
108423 
108424 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribBool__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
108425  PyObject *resultobj = 0;
108426  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
108427  std::string arg2 ;
108428  void *argp1 = 0 ;
108429  int res1 = 0 ;
108430  PyObject * obj0 = 0 ;
108431  PyObject * obj1 = 0 ;
108432  bool result;
108433 
108434  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetAttribBool",&obj0,&obj1)) SWIG_fail;
108435  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
108436  if (!SWIG_IsOK(res1)) {
108437  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetAttribBool" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
108438  }
108439  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
108440  {
108441  std::string *ptr = (std::string *)0;
108442  int res = SWIG_AsPtr_std_string(obj1, &ptr);
108443  if (!SWIG_IsOK(res) || !ptr) {
108444  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetAttribBool" "', argument " "2"" of type '" "std::string""'");
108445  }
108446  arg2 = *ptr;
108447  if (SWIG_IsNewObj(res)) delete ptr;
108448  }
108449  result = (bool)(arg1)->GetAttribBool(arg2);
108450  resultobj = SWIG_From_bool(static_cast< bool >(result));
108451  return resultobj;
108452 fail:
108453  return NULL;
108454 }
108455 
108456 
108457 SWIGINTERN PyObject *_wrap_CStdXml_GetAttribBool(PyObject *self, PyObject *args) {
108458  int argc;
108459  PyObject *argv[5];
108460  int ii;
108461 
108462  if (!PyTuple_Check(args)) SWIG_fail;
108463  argc = args ? (int)PyObject_Length(args) : 0;
108464  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
108465  argv[ii] = PyTuple_GET_ITEM(args,ii);
108466  }
108467  if (argc == 2) {
108468  int _v;
108469  void *vptr = 0;
108470  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108471  _v = SWIG_CheckState(res);
108472  if (_v) {
108473  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108474  _v = SWIG_CheckState(res);
108475  if (_v) {
108476  return _wrap_CStdXml_GetAttribBool__SWIG_2(self, args);
108477  }
108478  }
108479  }
108480  if (argc == 3) {
108481  int _v;
108482  void *vptr = 0;
108483  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108484  _v = SWIG_CheckState(res);
108485  if (_v) {
108486  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108487  _v = SWIG_CheckState(res);
108488  if (_v) {
108489  {
108490  int res = SWIG_AsVal_bool(argv[2], NULL);
108491  _v = SWIG_CheckState(res);
108492  }
108493  if (_v) {
108494  return _wrap_CStdXml_GetAttribBool__SWIG_1(self, args);
108495  }
108496  }
108497  }
108498  }
108499  if (argc == 4) {
108500  int _v;
108501  void *vptr = 0;
108502  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108503  _v = SWIG_CheckState(res);
108504  if (_v) {
108505  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108506  _v = SWIG_CheckState(res);
108507  if (_v) {
108508  {
108509  int res = SWIG_AsVal_bool(argv[2], NULL);
108510  _v = SWIG_CheckState(res);
108511  }
108512  if (_v) {
108513  {
108514  int res = SWIG_AsVal_bool(argv[3], NULL);
108515  _v = SWIG_CheckState(res);
108516  }
108517  if (_v) {
108518  return _wrap_CStdXml_GetAttribBool__SWIG_0(self, args);
108519  }
108520  }
108521  }
108522  }
108523  }
108524 
108525 fail:
108526  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetAttribBool'.\n"
108527  " Possible C/C++ prototypes are:\n"
108528  " StdUtils::CStdXml::GetAttribBool(std::string,bool,bool)\n"
108529  " StdUtils::CStdXml::GetAttribBool(std::string,bool)\n"
108530  " StdUtils::CStdXml::GetAttribBool(std::string)\n");
108531  return 0;
108532 }
108533 
108534 
108535 SWIGINTERN PyObject *_wrap_CStdXml_SetAttrib__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
108536  PyObject *resultobj = 0;
108537  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
108538  std::string arg2 ;
108539  std::string arg3 ;
108540  void *argp1 = 0 ;
108541  int res1 = 0 ;
108542  PyObject * obj0 = 0 ;
108543  PyObject * obj1 = 0 ;
108544  PyObject * obj2 = 0 ;
108545 
108546  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
108547  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
108548  if (!SWIG_IsOK(res1)) {
108549  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
108550  }
108551  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
108552  {
108553  std::string *ptr = (std::string *)0;
108554  int res = SWIG_AsPtr_std_string(obj1, &ptr);
108555  if (!SWIG_IsOK(res) || !ptr) {
108556  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetAttrib" "', argument " "2"" of type '" "std::string""'");
108557  }
108558  arg2 = *ptr;
108559  if (SWIG_IsNewObj(res)) delete ptr;
108560  }
108561  {
108562  std::string *ptr = (std::string *)0;
108563  int res = SWIG_AsPtr_std_string(obj2, &ptr);
108564  if (!SWIG_IsOK(res) || !ptr) {
108565  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetAttrib" "', argument " "3"" of type '" "std::string""'");
108566  }
108567  arg3 = *ptr;
108568  if (SWIG_IsNewObj(res)) delete ptr;
108569  }
108570  (arg1)->SetAttrib(arg2,arg3);
108571  resultobj = SWIG_Py_Void();
108572  return resultobj;
108573 fail:
108574  return NULL;
108575 }
108576 
108577 
108578 SWIGINTERN PyObject *_wrap_CStdXml_SetAttrib__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
108579  PyObject *resultobj = 0;
108580  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
108581  std::string arg2 ;
108582  char arg3 ;
108583  void *argp1 = 0 ;
108584  int res1 = 0 ;
108585  char val3 ;
108586  int ecode3 = 0 ;
108587  PyObject * obj0 = 0 ;
108588  PyObject * obj1 = 0 ;
108589  PyObject * obj2 = 0 ;
108590 
108591  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
108592  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
108593  if (!SWIG_IsOK(res1)) {
108594  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
108595  }
108596  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
108597  {
108598  std::string *ptr = (std::string *)0;
108599  int res = SWIG_AsPtr_std_string(obj1, &ptr);
108600  if (!SWIG_IsOK(res) || !ptr) {
108601  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetAttrib" "', argument " "2"" of type '" "std::string""'");
108602  }
108603  arg2 = *ptr;
108604  if (SWIG_IsNewObj(res)) delete ptr;
108605  }
108606  ecode3 = SWIG_AsVal_char(obj2, &val3);
108607  if (!SWIG_IsOK(ecode3)) {
108608  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_SetAttrib" "', argument " "3"" of type '" "char""'");
108609  }
108610  arg3 = static_cast< char >(val3);
108611  (arg1)->SetAttrib(arg2,arg3);
108612  resultobj = SWIG_Py_Void();
108613  return resultobj;
108614 fail:
108615  return NULL;
108616 }
108617 
108618 
108619 SWIGINTERN PyObject *_wrap_CStdXml_SetAttrib__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
108620  PyObject *resultobj = 0;
108621  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
108622  std::string arg2 ;
108623  unsigned char arg3 ;
108624  void *argp1 = 0 ;
108625  int res1 = 0 ;
108626  unsigned char val3 ;
108627  int ecode3 = 0 ;
108628  PyObject * obj0 = 0 ;
108629  PyObject * obj1 = 0 ;
108630  PyObject * obj2 = 0 ;
108631 
108632  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
108633  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
108634  if (!SWIG_IsOK(res1)) {
108635  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
108636  }
108637  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
108638  {
108639  std::string *ptr = (std::string *)0;
108640  int res = SWIG_AsPtr_std_string(obj1, &ptr);
108641  if (!SWIG_IsOK(res) || !ptr) {
108642  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetAttrib" "', argument " "2"" of type '" "std::string""'");
108643  }
108644  arg2 = *ptr;
108645  if (SWIG_IsNewObj(res)) delete ptr;
108646  }
108647  ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3);
108648  if (!SWIG_IsOK(ecode3)) {
108649  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_SetAttrib" "', argument " "3"" of type '" "unsigned char""'");
108650  }
108651  arg3 = static_cast< unsigned char >(val3);
108652  (arg1)->SetAttrib(arg2,arg3);
108653  resultobj = SWIG_Py_Void();
108654  return resultobj;
108655 fail:
108656  return NULL;
108657 }
108658 
108659 
108660 SWIGINTERN PyObject *_wrap_CStdXml_SetAttrib__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
108661  PyObject *resultobj = 0;
108662  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
108663  std::string arg2 ;
108664  long arg3 ;
108665  void *argp1 = 0 ;
108666  int res1 = 0 ;
108667  long val3 ;
108668  int ecode3 = 0 ;
108669  PyObject * obj0 = 0 ;
108670  PyObject * obj1 = 0 ;
108671  PyObject * obj2 = 0 ;
108672 
108673  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
108674  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
108675  if (!SWIG_IsOK(res1)) {
108676  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
108677  }
108678  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
108679  {
108680  std::string *ptr = (std::string *)0;
108681  int res = SWIG_AsPtr_std_string(obj1, &ptr);
108682  if (!SWIG_IsOK(res) || !ptr) {
108683  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetAttrib" "', argument " "2"" of type '" "std::string""'");
108684  }
108685  arg2 = *ptr;
108686  if (SWIG_IsNewObj(res)) delete ptr;
108687  }
108688  ecode3 = SWIG_AsVal_long(obj2, &val3);
108689  if (!SWIG_IsOK(ecode3)) {
108690  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_SetAttrib" "', argument " "3"" of type '" "long""'");
108691  }
108692  arg3 = static_cast< long >(val3);
108693  (arg1)->SetAttrib(arg2,arg3);
108694  resultobj = SWIG_Py_Void();
108695  return resultobj;
108696 fail:
108697  return NULL;
108698 }
108699 
108700 
108701 SWIGINTERN PyObject *_wrap_CStdXml_SetAttrib__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
108702  PyObject *resultobj = 0;
108703  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
108704  std::string arg2 ;
108705  int arg3 ;
108706  void *argp1 = 0 ;
108707  int res1 = 0 ;
108708  int val3 ;
108709  int ecode3 = 0 ;
108710  PyObject * obj0 = 0 ;
108711  PyObject * obj1 = 0 ;
108712  PyObject * obj2 = 0 ;
108713 
108714  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
108715  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
108716  if (!SWIG_IsOK(res1)) {
108717  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
108718  }
108719  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
108720  {
108721  std::string *ptr = (std::string *)0;
108722  int res = SWIG_AsPtr_std_string(obj1, &ptr);
108723  if (!SWIG_IsOK(res) || !ptr) {
108724  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetAttrib" "', argument " "2"" of type '" "std::string""'");
108725  }
108726  arg2 = *ptr;
108727  if (SWIG_IsNewObj(res)) delete ptr;
108728  }
108729  ecode3 = SWIG_AsVal_int(obj2, &val3);
108730  if (!SWIG_IsOK(ecode3)) {
108731  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_SetAttrib" "', argument " "3"" of type '" "int""'");
108732  }
108733  arg3 = static_cast< int >(val3);
108734  (arg1)->SetAttrib(arg2,arg3);
108735  resultobj = SWIG_Py_Void();
108736  return resultobj;
108737 fail:
108738  return NULL;
108739 }
108740 
108741 
108742 SWIGINTERN PyObject *_wrap_CStdXml_SetAttrib__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
108743  PyObject *resultobj = 0;
108744  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
108745  std::string arg2 ;
108746  double arg3 ;
108747  void *argp1 = 0 ;
108748  int res1 = 0 ;
108749  double val3 ;
108750  int ecode3 = 0 ;
108751  PyObject * obj0 = 0 ;
108752  PyObject * obj1 = 0 ;
108753  PyObject * obj2 = 0 ;
108754 
108755  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
108756  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
108757  if (!SWIG_IsOK(res1)) {
108758  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
108759  }
108760  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
108761  {
108762  std::string *ptr = (std::string *)0;
108763  int res = SWIG_AsPtr_std_string(obj1, &ptr);
108764  if (!SWIG_IsOK(res) || !ptr) {
108765  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetAttrib" "', argument " "2"" of type '" "std::string""'");
108766  }
108767  arg2 = *ptr;
108768  if (SWIG_IsNewObj(res)) delete ptr;
108769  }
108770  ecode3 = SWIG_AsVal_double(obj2, &val3);
108771  if (!SWIG_IsOK(ecode3)) {
108772  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_SetAttrib" "', argument " "3"" of type '" "double""'");
108773  }
108774  arg3 = static_cast< double >(val3);
108775  (arg1)->SetAttrib(arg2,arg3);
108776  resultobj = SWIG_Py_Void();
108777  return resultobj;
108778 fail:
108779  return NULL;
108780 }
108781 
108782 
108783 SWIGINTERN PyObject *_wrap_CStdXml_SetAttrib__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
108784  PyObject *resultobj = 0;
108785  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
108786  std::string arg2 ;
108787  float arg3 ;
108788  void *argp1 = 0 ;
108789  int res1 = 0 ;
108790  float val3 ;
108791  int ecode3 = 0 ;
108792  PyObject * obj0 = 0 ;
108793  PyObject * obj1 = 0 ;
108794  PyObject * obj2 = 0 ;
108795 
108796  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
108797  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
108798  if (!SWIG_IsOK(res1)) {
108799  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
108800  }
108801  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
108802  {
108803  std::string *ptr = (std::string *)0;
108804  int res = SWIG_AsPtr_std_string(obj1, &ptr);
108805  if (!SWIG_IsOK(res) || !ptr) {
108806  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetAttrib" "', argument " "2"" of type '" "std::string""'");
108807  }
108808  arg2 = *ptr;
108809  if (SWIG_IsNewObj(res)) delete ptr;
108810  }
108811  ecode3 = SWIG_AsVal_float(obj2, &val3);
108812  if (!SWIG_IsOK(ecode3)) {
108813  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_SetAttrib" "', argument " "3"" of type '" "float""'");
108814  }
108815  arg3 = static_cast< float >(val3);
108816  (arg1)->SetAttrib(arg2,arg3);
108817  resultobj = SWIG_Py_Void();
108818  return resultobj;
108819 fail:
108820  return NULL;
108821 }
108822 
108823 
108824 SWIGINTERN PyObject *_wrap_CStdXml_SetAttrib__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
108825  PyObject *resultobj = 0;
108826  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
108827  std::string arg2 ;
108828  bool arg3 ;
108829  void *argp1 = 0 ;
108830  int res1 = 0 ;
108831  bool val3 ;
108832  int ecode3 = 0 ;
108833  PyObject * obj0 = 0 ;
108834  PyObject * obj1 = 0 ;
108835  PyObject * obj2 = 0 ;
108836 
108837  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
108838  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
108839  if (!SWIG_IsOK(res1)) {
108840  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
108841  }
108842  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
108843  {
108844  std::string *ptr = (std::string *)0;
108845  int res = SWIG_AsPtr_std_string(obj1, &ptr);
108846  if (!SWIG_IsOK(res) || !ptr) {
108847  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetAttrib" "', argument " "2"" of type '" "std::string""'");
108848  }
108849  arg2 = *ptr;
108850  if (SWIG_IsNewObj(res)) delete ptr;
108851  }
108852  ecode3 = SWIG_AsVal_bool(obj2, &val3);
108853  if (!SWIG_IsOK(ecode3)) {
108854  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_SetAttrib" "', argument " "3"" of type '" "bool""'");
108855  }
108856  arg3 = static_cast< bool >(val3);
108857  (arg1)->SetAttrib(arg2,arg3);
108858  resultobj = SWIG_Py_Void();
108859  return resultobj;
108860 fail:
108861  return NULL;
108862 }
108863 
108864 
108865 SWIGINTERN PyObject *_wrap_CStdXml_SetAttrib(PyObject *self, PyObject *args) {
108866  int argc;
108867  PyObject *argv[4];
108868  int ii;
108869 
108870  if (!PyTuple_Check(args)) SWIG_fail;
108871  argc = args ? (int)PyObject_Length(args) : 0;
108872  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
108873  argv[ii] = PyTuple_GET_ITEM(args,ii);
108874  }
108875  if (argc == 3) {
108876  int _v;
108877  void *vptr = 0;
108878  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108879  _v = SWIG_CheckState(res);
108880  if (_v) {
108881  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108882  _v = SWIG_CheckState(res);
108883  if (_v) {
108884  {
108885  int res = SWIG_AsVal_bool(argv[2], NULL);
108886  _v = SWIG_CheckState(res);
108887  }
108888  if (_v) {
108889  return _wrap_CStdXml_SetAttrib__SWIG_7(self, args);
108890  }
108891  }
108892  }
108893  }
108894  if (argc == 3) {
108895  int _v;
108896  void *vptr = 0;
108897  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108898  _v = SWIG_CheckState(res);
108899  if (_v) {
108900  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108901  _v = SWIG_CheckState(res);
108902  if (_v) {
108903  {
108904  int res = SWIG_AsVal_unsigned_SS_char(argv[2], NULL);
108905  _v = SWIG_CheckState(res);
108906  }
108907  if (_v) {
108908  return _wrap_CStdXml_SetAttrib__SWIG_2(self, args);
108909  }
108910  }
108911  }
108912  }
108913  if (argc == 3) {
108914  int _v;
108915  void *vptr = 0;
108916  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108917  _v = SWIG_CheckState(res);
108918  if (_v) {
108919  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108920  _v = SWIG_CheckState(res);
108921  if (_v) {
108922  {
108923  int res = SWIG_AsVal_int(argv[2], NULL);
108924  _v = SWIG_CheckState(res);
108925  }
108926  if (_v) {
108927  return _wrap_CStdXml_SetAttrib__SWIG_4(self, args);
108928  }
108929  }
108930  }
108931  }
108932  if (argc == 3) {
108933  int _v;
108934  void *vptr = 0;
108935  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108936  _v = SWIG_CheckState(res);
108937  if (_v) {
108938  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108939  _v = SWIG_CheckState(res);
108940  if (_v) {
108941  {
108942  int res = SWIG_AsVal_long(argv[2], NULL);
108943  _v = SWIG_CheckState(res);
108944  }
108945  if (_v) {
108946  return _wrap_CStdXml_SetAttrib__SWIG_3(self, args);
108947  }
108948  }
108949  }
108950  }
108951  if (argc == 3) {
108952  int _v;
108953  void *vptr = 0;
108954  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108955  _v = SWIG_CheckState(res);
108956  if (_v) {
108957  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108958  _v = SWIG_CheckState(res);
108959  if (_v) {
108960  {
108961  int res = SWIG_AsVal_float(argv[2], NULL);
108962  _v = SWIG_CheckState(res);
108963  }
108964  if (_v) {
108965  return _wrap_CStdXml_SetAttrib__SWIG_6(self, args);
108966  }
108967  }
108968  }
108969  }
108970  if (argc == 3) {
108971  int _v;
108972  void *vptr = 0;
108973  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108974  _v = SWIG_CheckState(res);
108975  if (_v) {
108976  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108977  _v = SWIG_CheckState(res);
108978  if (_v) {
108979  {
108980  int res = SWIG_AsVal_double(argv[2], NULL);
108981  _v = SWIG_CheckState(res);
108982  }
108983  if (_v) {
108984  return _wrap_CStdXml_SetAttrib__SWIG_5(self, args);
108985  }
108986  }
108987  }
108988  }
108989  if (argc == 3) {
108990  int _v;
108991  void *vptr = 0;
108992  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
108993  _v = SWIG_CheckState(res);
108994  if (_v) {
108995  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
108996  _v = SWIG_CheckState(res);
108997  if (_v) {
108998  {
108999  int res = SWIG_AsVal_char(argv[2], NULL);
109000  _v = SWIG_CheckState(res);
109001  }
109002  if (_v) {
109003  return _wrap_CStdXml_SetAttrib__SWIG_1(self, args);
109004  }
109005  }
109006  }
109007  }
109008  if (argc == 3) {
109009  int _v;
109010  void *vptr = 0;
109011  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
109012  _v = SWIG_CheckState(res);
109013  if (_v) {
109014  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
109015  _v = SWIG_CheckState(res);
109016  if (_v) {
109017  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
109018  _v = SWIG_CheckState(res);
109019  if (_v) {
109020  return _wrap_CStdXml_SetAttrib__SWIG_0(self, args);
109021  }
109022  }
109023  }
109024  }
109025 
109026 fail:
109027  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_SetAttrib'.\n"
109028  " Possible C/C++ prototypes are:\n"
109029  " StdUtils::CStdXml::SetAttrib(std::string,std::string)\n"
109030  " StdUtils::CStdXml::SetAttrib(std::string,char)\n"
109031  " StdUtils::CStdXml::SetAttrib(std::string,unsigned char)\n"
109032  " StdUtils::CStdXml::SetAttrib(std::string,long)\n"
109033  " StdUtils::CStdXml::SetAttrib(std::string,int)\n"
109034  " StdUtils::CStdXml::SetAttrib(std::string,double)\n"
109035  " StdUtils::CStdXml::SetAttrib(std::string,float)\n"
109036  " StdUtils::CStdXml::SetAttrib(std::string,bool)\n");
109037  return 0;
109038 }
109039 
109040 
109041 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
109042  PyObject *resultobj = 0;
109043  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
109044  std::string arg2 ;
109045  bool arg3 ;
109046  bool arg4 ;
109047  std::string arg5 ;
109048  void *argp1 = 0 ;
109049  int res1 = 0 ;
109050  bool val3 ;
109051  int ecode3 = 0 ;
109052  bool val4 ;
109053  int ecode4 = 0 ;
109054  PyObject * obj0 = 0 ;
109055  PyObject * obj1 = 0 ;
109056  PyObject * obj2 = 0 ;
109057  PyObject * obj3 = 0 ;
109058  PyObject * obj4 = 0 ;
109059  std::string result;
109060 
109061  if (!PyArg_ParseTuple(args,(char *)"OOOOO:CStdXml_GetChildAttribString",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
109062  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
109063  if (!SWIG_IsOK(res1)) {
109064  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribString" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
109065  }
109066  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
109067  {
109068  std::string *ptr = (std::string *)0;
109069  int res = SWIG_AsPtr_std_string(obj1, &ptr);
109070  if (!SWIG_IsOK(res) || !ptr) {
109071  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribString" "', argument " "2"" of type '" "std::string""'");
109072  }
109073  arg2 = *ptr;
109074  if (SWIG_IsNewObj(res)) delete ptr;
109075  }
109076  ecode3 = SWIG_AsVal_bool(obj2, &val3);
109077  if (!SWIG_IsOK(ecode3)) {
109078  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildAttribString" "', argument " "3"" of type '" "bool""'");
109079  }
109080  arg3 = static_cast< bool >(val3);
109081  ecode4 = SWIG_AsVal_bool(obj3, &val4);
109082  if (!SWIG_IsOK(ecode4)) {
109083  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdXml_GetChildAttribString" "', argument " "4"" of type '" "bool""'");
109084  }
109085  arg4 = static_cast< bool >(val4);
109086  {
109087  std::string *ptr = (std::string *)0;
109088  int res = SWIG_AsPtr_std_string(obj4, &ptr);
109089  if (!SWIG_IsOK(res) || !ptr) {
109090  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribString" "', argument " "5"" of type '" "std::string""'");
109091  }
109092  arg5 = *ptr;
109093  if (SWIG_IsNewObj(res)) delete ptr;
109094  }
109095  result = (arg1)->GetChildAttribString(arg2,arg3,arg4,arg5);
109096  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
109097  return resultobj;
109098 fail:
109099  return NULL;
109100 }
109101 
109102 
109103 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
109104  PyObject *resultobj = 0;
109105  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
109106  std::string arg2 ;
109107  bool arg3 ;
109108  bool arg4 ;
109109  void *argp1 = 0 ;
109110  int res1 = 0 ;
109111  bool val3 ;
109112  int ecode3 = 0 ;
109113  bool val4 ;
109114  int ecode4 = 0 ;
109115  PyObject * obj0 = 0 ;
109116  PyObject * obj1 = 0 ;
109117  PyObject * obj2 = 0 ;
109118  PyObject * obj3 = 0 ;
109119  std::string result;
109120 
109121  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdXml_GetChildAttribString",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
109122  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
109123  if (!SWIG_IsOK(res1)) {
109124  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribString" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
109125  }
109126  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
109127  {
109128  std::string *ptr = (std::string *)0;
109129  int res = SWIG_AsPtr_std_string(obj1, &ptr);
109130  if (!SWIG_IsOK(res) || !ptr) {
109131  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribString" "', argument " "2"" of type '" "std::string""'");
109132  }
109133  arg2 = *ptr;
109134  if (SWIG_IsNewObj(res)) delete ptr;
109135  }
109136  ecode3 = SWIG_AsVal_bool(obj2, &val3);
109137  if (!SWIG_IsOK(ecode3)) {
109138  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildAttribString" "', argument " "3"" of type '" "bool""'");
109139  }
109140  arg3 = static_cast< bool >(val3);
109141  ecode4 = SWIG_AsVal_bool(obj3, &val4);
109142  if (!SWIG_IsOK(ecode4)) {
109143  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdXml_GetChildAttribString" "', argument " "4"" of type '" "bool""'");
109144  }
109145  arg4 = static_cast< bool >(val4);
109146  result = (arg1)->GetChildAttribString(arg2,arg3,arg4);
109147  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
109148  return resultobj;
109149 fail:
109150  return NULL;
109151 }
109152 
109153 
109154 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribString__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
109155  PyObject *resultobj = 0;
109156  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
109157  std::string arg2 ;
109158  bool arg3 ;
109159  void *argp1 = 0 ;
109160  int res1 = 0 ;
109161  bool val3 ;
109162  int ecode3 = 0 ;
109163  PyObject * obj0 = 0 ;
109164  PyObject * obj1 = 0 ;
109165  PyObject * obj2 = 0 ;
109166  std::string result;
109167 
109168  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetChildAttribString",&obj0,&obj1,&obj2)) SWIG_fail;
109169  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
109170  if (!SWIG_IsOK(res1)) {
109171  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribString" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
109172  }
109173  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
109174  {
109175  std::string *ptr = (std::string *)0;
109176  int res = SWIG_AsPtr_std_string(obj1, &ptr);
109177  if (!SWIG_IsOK(res) || !ptr) {
109178  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribString" "', argument " "2"" of type '" "std::string""'");
109179  }
109180  arg2 = *ptr;
109181  if (SWIG_IsNewObj(res)) delete ptr;
109182  }
109183  ecode3 = SWIG_AsVal_bool(obj2, &val3);
109184  if (!SWIG_IsOK(ecode3)) {
109185  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildAttribString" "', argument " "3"" of type '" "bool""'");
109186  }
109187  arg3 = static_cast< bool >(val3);
109188  result = (arg1)->GetChildAttribString(arg2,arg3);
109189  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
109190  return resultobj;
109191 fail:
109192  return NULL;
109193 }
109194 
109195 
109196 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribString__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
109197  PyObject *resultobj = 0;
109198  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
109199  std::string arg2 ;
109200  void *argp1 = 0 ;
109201  int res1 = 0 ;
109202  PyObject * obj0 = 0 ;
109203  PyObject * obj1 = 0 ;
109204  std::string result;
109205 
109206  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetChildAttribString",&obj0,&obj1)) SWIG_fail;
109207  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
109208  if (!SWIG_IsOK(res1)) {
109209  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribString" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
109210  }
109211  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
109212  {
109213  std::string *ptr = (std::string *)0;
109214  int res = SWIG_AsPtr_std_string(obj1, &ptr);
109215  if (!SWIG_IsOK(res) || !ptr) {
109216  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribString" "', argument " "2"" of type '" "std::string""'");
109217  }
109218  arg2 = *ptr;
109219  if (SWIG_IsNewObj(res)) delete ptr;
109220  }
109221  result = (arg1)->GetChildAttribString(arg2);
109222  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
109223  return resultobj;
109224 fail:
109225  return NULL;
109226 }
109227 
109228 
109229 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribString(PyObject *self, PyObject *args) {
109230  int argc;
109231  PyObject *argv[6];
109232  int ii;
109233 
109234  if (!PyTuple_Check(args)) SWIG_fail;
109235  argc = args ? (int)PyObject_Length(args) : 0;
109236  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
109237  argv[ii] = PyTuple_GET_ITEM(args,ii);
109238  }
109239  if (argc == 2) {
109240  int _v;
109241  void *vptr = 0;
109242  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
109243  _v = SWIG_CheckState(res);
109244  if (_v) {
109245  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
109246  _v = SWIG_CheckState(res);
109247  if (_v) {
109248  return _wrap_CStdXml_GetChildAttribString__SWIG_3(self, args);
109249  }
109250  }
109251  }
109252  if (argc == 3) {
109253  int _v;
109254  void *vptr = 0;
109255  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
109256  _v = SWIG_CheckState(res);
109257  if (_v) {
109258  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
109259  _v = SWIG_CheckState(res);
109260  if (_v) {
109261  {
109262  int res = SWIG_AsVal_bool(argv[2], NULL);
109263  _v = SWIG_CheckState(res);
109264  }
109265  if (_v) {
109266  return _wrap_CStdXml_GetChildAttribString__SWIG_2(self, args);
109267  }
109268  }
109269  }
109270  }
109271  if (argc == 4) {
109272  int _v;
109273  void *vptr = 0;
109274  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
109275  _v = SWIG_CheckState(res);
109276  if (_v) {
109277  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
109278  _v = SWIG_CheckState(res);
109279  if (_v) {
109280  {
109281  int res = SWIG_AsVal_bool(argv[2], NULL);
109282  _v = SWIG_CheckState(res);
109283  }
109284  if (_v) {
109285  {
109286  int res = SWIG_AsVal_bool(argv[3], NULL);
109287  _v = SWIG_CheckState(res);
109288  }
109289  if (_v) {
109290  return _wrap_CStdXml_GetChildAttribString__SWIG_1(self, args);
109291  }
109292  }
109293  }
109294  }
109295  }
109296  if (argc == 5) {
109297  int _v;
109298  void *vptr = 0;
109299  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
109300  _v = SWIG_CheckState(res);
109301  if (_v) {
109302  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
109303  _v = SWIG_CheckState(res);
109304  if (_v) {
109305  {
109306  int res = SWIG_AsVal_bool(argv[2], NULL);
109307  _v = SWIG_CheckState(res);
109308  }
109309  if (_v) {
109310  {
109311  int res = SWIG_AsVal_bool(argv[3], NULL);
109312  _v = SWIG_CheckState(res);
109313  }
109314  if (_v) {
109315  int res = SWIG_AsPtr_std_string(argv[4], (std::string**)(0));
109316  _v = SWIG_CheckState(res);
109317  if (_v) {
109318  return _wrap_CStdXml_GetChildAttribString__SWIG_0(self, args);
109319  }
109320  }
109321  }
109322  }
109323  }
109324  }
109325 
109326 fail:
109327  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetChildAttribString'.\n"
109328  " Possible C/C++ prototypes are:\n"
109329  " StdUtils::CStdXml::GetChildAttribString(std::string,bool,bool,std::string)\n"
109330  " StdUtils::CStdXml::GetChildAttribString(std::string,bool,bool)\n"
109331  " StdUtils::CStdXml::GetChildAttribString(std::string,bool)\n"
109332  " StdUtils::CStdXml::GetChildAttribString(std::string)\n");
109333  return 0;
109334 }
109335 
109336 
109337 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribLong__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
109338  PyObject *resultobj = 0;
109339  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
109340  std::string arg2 ;
109341  bool arg3 ;
109342  long arg4 ;
109343  void *argp1 = 0 ;
109344  int res1 = 0 ;
109345  bool val3 ;
109346  int ecode3 = 0 ;
109347  long val4 ;
109348  int ecode4 = 0 ;
109349  PyObject * obj0 = 0 ;
109350  PyObject * obj1 = 0 ;
109351  PyObject * obj2 = 0 ;
109352  PyObject * obj3 = 0 ;
109353  long result;
109354 
109355  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdXml_GetChildAttribLong",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
109356  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
109357  if (!SWIG_IsOK(res1)) {
109358  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribLong" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
109359  }
109360  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
109361  {
109362  std::string *ptr = (std::string *)0;
109363  int res = SWIG_AsPtr_std_string(obj1, &ptr);
109364  if (!SWIG_IsOK(res) || !ptr) {
109365  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribLong" "', argument " "2"" of type '" "std::string""'");
109366  }
109367  arg2 = *ptr;
109368  if (SWIG_IsNewObj(res)) delete ptr;
109369  }
109370  ecode3 = SWIG_AsVal_bool(obj2, &val3);
109371  if (!SWIG_IsOK(ecode3)) {
109372  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildAttribLong" "', argument " "3"" of type '" "bool""'");
109373  }
109374  arg3 = static_cast< bool >(val3);
109375  ecode4 = SWIG_AsVal_long(obj3, &val4);
109376  if (!SWIG_IsOK(ecode4)) {
109377  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdXml_GetChildAttribLong" "', argument " "4"" of type '" "long""'");
109378  }
109379  arg4 = static_cast< long >(val4);
109380  result = (long)(arg1)->GetChildAttribLong(arg2,arg3,arg4);
109381  resultobj = SWIG_From_long(static_cast< long >(result));
109382  return resultobj;
109383 fail:
109384  return NULL;
109385 }
109386 
109387 
109388 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribLong__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
109389  PyObject *resultobj = 0;
109390  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
109391  std::string arg2 ;
109392  bool arg3 ;
109393  void *argp1 = 0 ;
109394  int res1 = 0 ;
109395  bool val3 ;
109396  int ecode3 = 0 ;
109397  PyObject * obj0 = 0 ;
109398  PyObject * obj1 = 0 ;
109399  PyObject * obj2 = 0 ;
109400  long result;
109401 
109402  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetChildAttribLong",&obj0,&obj1,&obj2)) SWIG_fail;
109403  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
109404  if (!SWIG_IsOK(res1)) {
109405  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribLong" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
109406  }
109407  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
109408  {
109409  std::string *ptr = (std::string *)0;
109410  int res = SWIG_AsPtr_std_string(obj1, &ptr);
109411  if (!SWIG_IsOK(res) || !ptr) {
109412  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribLong" "', argument " "2"" of type '" "std::string""'");
109413  }
109414  arg2 = *ptr;
109415  if (SWIG_IsNewObj(res)) delete ptr;
109416  }
109417  ecode3 = SWIG_AsVal_bool(obj2, &val3);
109418  if (!SWIG_IsOK(ecode3)) {
109419  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildAttribLong" "', argument " "3"" of type '" "bool""'");
109420  }
109421  arg3 = static_cast< bool >(val3);
109422  result = (long)(arg1)->GetChildAttribLong(arg2,arg3);
109423  resultobj = SWIG_From_long(static_cast< long >(result));
109424  return resultobj;
109425 fail:
109426  return NULL;
109427 }
109428 
109429 
109430 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribLong__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
109431  PyObject *resultobj = 0;
109432  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
109433  std::string arg2 ;
109434  void *argp1 = 0 ;
109435  int res1 = 0 ;
109436  PyObject * obj0 = 0 ;
109437  PyObject * obj1 = 0 ;
109438  long result;
109439 
109440  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetChildAttribLong",&obj0,&obj1)) SWIG_fail;
109441  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
109442  if (!SWIG_IsOK(res1)) {
109443  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribLong" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
109444  }
109445  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
109446  {
109447  std::string *ptr = (std::string *)0;
109448  int res = SWIG_AsPtr_std_string(obj1, &ptr);
109449  if (!SWIG_IsOK(res) || !ptr) {
109450  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribLong" "', argument " "2"" of type '" "std::string""'");
109451  }
109452  arg2 = *ptr;
109453  if (SWIG_IsNewObj(res)) delete ptr;
109454  }
109455  result = (long)(arg1)->GetChildAttribLong(arg2);
109456  resultobj = SWIG_From_long(static_cast< long >(result));
109457  return resultobj;
109458 fail:
109459  return NULL;
109460 }
109461 
109462 
109463 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribLong(PyObject *self, PyObject *args) {
109464  int argc;
109465  PyObject *argv[5];
109466  int ii;
109467 
109468  if (!PyTuple_Check(args)) SWIG_fail;
109469  argc = args ? (int)PyObject_Length(args) : 0;
109470  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
109471  argv[ii] = PyTuple_GET_ITEM(args,ii);
109472  }
109473  if (argc == 2) {
109474  int _v;
109475  void *vptr = 0;
109476  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
109477  _v = SWIG_CheckState(res);
109478  if (_v) {
109479  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
109480  _v = SWIG_CheckState(res);
109481  if (_v) {
109482  return _wrap_CStdXml_GetChildAttribLong__SWIG_2(self, args);
109483  }
109484  }
109485  }
109486  if (argc == 3) {
109487  int _v;
109488  void *vptr = 0;
109489  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
109490  _v = SWIG_CheckState(res);
109491  if (_v) {
109492  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
109493  _v = SWIG_CheckState(res);
109494  if (_v) {
109495  {
109496  int res = SWIG_AsVal_bool(argv[2], NULL);
109497  _v = SWIG_CheckState(res);
109498  }
109499  if (_v) {
109500  return _wrap_CStdXml_GetChildAttribLong__SWIG_1(self, args);
109501  }
109502  }
109503  }
109504  }
109505  if (argc == 4) {
109506  int _v;
109507  void *vptr = 0;
109508  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
109509  _v = SWIG_CheckState(res);
109510  if (_v) {
109511  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
109512  _v = SWIG_CheckState(res);
109513  if (_v) {
109514  {
109515  int res = SWIG_AsVal_bool(argv[2], NULL);
109516  _v = SWIG_CheckState(res);
109517  }
109518  if (_v) {
109519  {
109520  int res = SWIG_AsVal_long(argv[3], NULL);
109521  _v = SWIG_CheckState(res);
109522  }
109523  if (_v) {
109524  return _wrap_CStdXml_GetChildAttribLong__SWIG_0(self, args);
109525  }
109526  }
109527  }
109528  }
109529  }
109530 
109531 fail:
109532  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetChildAttribLong'.\n"
109533  " Possible C/C++ prototypes are:\n"
109534  " StdUtils::CStdXml::GetChildAttribLong(std::string,bool,long)\n"
109535  " StdUtils::CStdXml::GetChildAttribLong(std::string,bool)\n"
109536  " StdUtils::CStdXml::GetChildAttribLong(std::string)\n");
109537  return 0;
109538 }
109539 
109540 
109541 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribInt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
109542  PyObject *resultobj = 0;
109543  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
109544  std::string arg2 ;
109545  bool arg3 ;
109546  int arg4 ;
109547  void *argp1 = 0 ;
109548  int res1 = 0 ;
109549  bool val3 ;
109550  int ecode3 = 0 ;
109551  int val4 ;
109552  int ecode4 = 0 ;
109553  PyObject * obj0 = 0 ;
109554  PyObject * obj1 = 0 ;
109555  PyObject * obj2 = 0 ;
109556  PyObject * obj3 = 0 ;
109557  int result;
109558 
109559  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdXml_GetChildAttribInt",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
109560  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
109561  if (!SWIG_IsOK(res1)) {
109562  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribInt" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
109563  }
109564  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
109565  {
109566  std::string *ptr = (std::string *)0;
109567  int res = SWIG_AsPtr_std_string(obj1, &ptr);
109568  if (!SWIG_IsOK(res) || !ptr) {
109569  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribInt" "', argument " "2"" of type '" "std::string""'");
109570  }
109571  arg2 = *ptr;
109572  if (SWIG_IsNewObj(res)) delete ptr;
109573  }
109574  ecode3 = SWIG_AsVal_bool(obj2, &val3);
109575  if (!SWIG_IsOK(ecode3)) {
109576  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildAttribInt" "', argument " "3"" of type '" "bool""'");
109577  }
109578  arg3 = static_cast< bool >(val3);
109579  ecode4 = SWIG_AsVal_int(obj3, &val4);
109580  if (!SWIG_IsOK(ecode4)) {
109581  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdXml_GetChildAttribInt" "', argument " "4"" of type '" "int""'");
109582  }
109583  arg4 = static_cast< int >(val4);
109584  result = (int)(arg1)->GetChildAttribInt(arg2,arg3,arg4);
109585  resultobj = SWIG_From_int(static_cast< int >(result));
109586  return resultobj;
109587 fail:
109588  return NULL;
109589 }
109590 
109591 
109592 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribInt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
109593  PyObject *resultobj = 0;
109594  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
109595  std::string arg2 ;
109596  bool arg3 ;
109597  void *argp1 = 0 ;
109598  int res1 = 0 ;
109599  bool val3 ;
109600  int ecode3 = 0 ;
109601  PyObject * obj0 = 0 ;
109602  PyObject * obj1 = 0 ;
109603  PyObject * obj2 = 0 ;
109604  int result;
109605 
109606  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetChildAttribInt",&obj0,&obj1,&obj2)) SWIG_fail;
109607  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
109608  if (!SWIG_IsOK(res1)) {
109609  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribInt" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
109610  }
109611  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
109612  {
109613  std::string *ptr = (std::string *)0;
109614  int res = SWIG_AsPtr_std_string(obj1, &ptr);
109615  if (!SWIG_IsOK(res) || !ptr) {
109616  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribInt" "', argument " "2"" of type '" "std::string""'");
109617  }
109618  arg2 = *ptr;
109619  if (SWIG_IsNewObj(res)) delete ptr;
109620  }
109621  ecode3 = SWIG_AsVal_bool(obj2, &val3);
109622  if (!SWIG_IsOK(ecode3)) {
109623  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildAttribInt" "', argument " "3"" of type '" "bool""'");
109624  }
109625  arg3 = static_cast< bool >(val3);
109626  result = (int)(arg1)->GetChildAttribInt(arg2,arg3);
109627  resultobj = SWIG_From_int(static_cast< int >(result));
109628  return resultobj;
109629 fail:
109630  return NULL;
109631 }
109632 
109633 
109634 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribInt__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
109635  PyObject *resultobj = 0;
109636  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
109637  std::string arg2 ;
109638  void *argp1 = 0 ;
109639  int res1 = 0 ;
109640  PyObject * obj0 = 0 ;
109641  PyObject * obj1 = 0 ;
109642  int result;
109643 
109644  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetChildAttribInt",&obj0,&obj1)) SWIG_fail;
109645  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
109646  if (!SWIG_IsOK(res1)) {
109647  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribInt" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
109648  }
109649  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
109650  {
109651  std::string *ptr = (std::string *)0;
109652  int res = SWIG_AsPtr_std_string(obj1, &ptr);
109653  if (!SWIG_IsOK(res) || !ptr) {
109654  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribInt" "', argument " "2"" of type '" "std::string""'");
109655  }
109656  arg2 = *ptr;
109657  if (SWIG_IsNewObj(res)) delete ptr;
109658  }
109659  result = (int)(arg1)->GetChildAttribInt(arg2);
109660  resultobj = SWIG_From_int(static_cast< int >(result));
109661  return resultobj;
109662 fail:
109663  return NULL;
109664 }
109665 
109666 
109667 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribInt(PyObject *self, PyObject *args) {
109668  int argc;
109669  PyObject *argv[5];
109670  int ii;
109671 
109672  if (!PyTuple_Check(args)) SWIG_fail;
109673  argc = args ? (int)PyObject_Length(args) : 0;
109674  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
109675  argv[ii] = PyTuple_GET_ITEM(args,ii);
109676  }
109677  if (argc == 2) {
109678  int _v;
109679  void *vptr = 0;
109680  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
109681  _v = SWIG_CheckState(res);
109682  if (_v) {
109683  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
109684  _v = SWIG_CheckState(res);
109685  if (_v) {
109686  return _wrap_CStdXml_GetChildAttribInt__SWIG_2(self, args);
109687  }
109688  }
109689  }
109690  if (argc == 3) {
109691  int _v;
109692  void *vptr = 0;
109693  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
109694  _v = SWIG_CheckState(res);
109695  if (_v) {
109696  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
109697  _v = SWIG_CheckState(res);
109698  if (_v) {
109699  {
109700  int res = SWIG_AsVal_bool(argv[2], NULL);
109701  _v = SWIG_CheckState(res);
109702  }
109703  if (_v) {
109704  return _wrap_CStdXml_GetChildAttribInt__SWIG_1(self, args);
109705  }
109706  }
109707  }
109708  }
109709  if (argc == 4) {
109710  int _v;
109711  void *vptr = 0;
109712  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
109713  _v = SWIG_CheckState(res);
109714  if (_v) {
109715  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
109716  _v = SWIG_CheckState(res);
109717  if (_v) {
109718  {
109719  int res = SWIG_AsVal_bool(argv[2], NULL);
109720  _v = SWIG_CheckState(res);
109721  }
109722  if (_v) {
109723  {
109724  int res = SWIG_AsVal_int(argv[3], NULL);
109725  _v = SWIG_CheckState(res);
109726  }
109727  if (_v) {
109728  return _wrap_CStdXml_GetChildAttribInt__SWIG_0(self, args);
109729  }
109730  }
109731  }
109732  }
109733  }
109734 
109735 fail:
109736  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetChildAttribInt'.\n"
109737  " Possible C/C++ prototypes are:\n"
109738  " StdUtils::CStdXml::GetChildAttribInt(std::string,bool,int)\n"
109739  " StdUtils::CStdXml::GetChildAttribInt(std::string,bool)\n"
109740  " StdUtils::CStdXml::GetChildAttribInt(std::string)\n");
109741  return 0;
109742 }
109743 
109744 
109745 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribDouble__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
109746  PyObject *resultobj = 0;
109747  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
109748  std::string arg2 ;
109749  bool arg3 ;
109750  double arg4 ;
109751  void *argp1 = 0 ;
109752  int res1 = 0 ;
109753  bool val3 ;
109754  int ecode3 = 0 ;
109755  double val4 ;
109756  int ecode4 = 0 ;
109757  PyObject * obj0 = 0 ;
109758  PyObject * obj1 = 0 ;
109759  PyObject * obj2 = 0 ;
109760  PyObject * obj3 = 0 ;
109761  double result;
109762 
109763  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdXml_GetChildAttribDouble",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
109764  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
109765  if (!SWIG_IsOK(res1)) {
109766  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribDouble" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
109767  }
109768  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
109769  {
109770  std::string *ptr = (std::string *)0;
109771  int res = SWIG_AsPtr_std_string(obj1, &ptr);
109772  if (!SWIG_IsOK(res) || !ptr) {
109773  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribDouble" "', argument " "2"" of type '" "std::string""'");
109774  }
109775  arg2 = *ptr;
109776  if (SWIG_IsNewObj(res)) delete ptr;
109777  }
109778  ecode3 = SWIG_AsVal_bool(obj2, &val3);
109779  if (!SWIG_IsOK(ecode3)) {
109780  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildAttribDouble" "', argument " "3"" of type '" "bool""'");
109781  }
109782  arg3 = static_cast< bool >(val3);
109783  ecode4 = SWIG_AsVal_double(obj3, &val4);
109784  if (!SWIG_IsOK(ecode4)) {
109785  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdXml_GetChildAttribDouble" "', argument " "4"" of type '" "double""'");
109786  }
109787  arg4 = static_cast< double >(val4);
109788  result = (double)(arg1)->GetChildAttribDouble(arg2,arg3,arg4);
109789  resultobj = SWIG_From_double(static_cast< double >(result));
109790  return resultobj;
109791 fail:
109792  return NULL;
109793 }
109794 
109795 
109796 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribDouble__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
109797  PyObject *resultobj = 0;
109798  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
109799  std::string arg2 ;
109800  bool arg3 ;
109801  void *argp1 = 0 ;
109802  int res1 = 0 ;
109803  bool val3 ;
109804  int ecode3 = 0 ;
109805  PyObject * obj0 = 0 ;
109806  PyObject * obj1 = 0 ;
109807  PyObject * obj2 = 0 ;
109808  double result;
109809 
109810  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetChildAttribDouble",&obj0,&obj1,&obj2)) SWIG_fail;
109811  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
109812  if (!SWIG_IsOK(res1)) {
109813  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribDouble" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
109814  }
109815  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
109816  {
109817  std::string *ptr = (std::string *)0;
109818  int res = SWIG_AsPtr_std_string(obj1, &ptr);
109819  if (!SWIG_IsOK(res) || !ptr) {
109820  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribDouble" "', argument " "2"" of type '" "std::string""'");
109821  }
109822  arg2 = *ptr;
109823  if (SWIG_IsNewObj(res)) delete ptr;
109824  }
109825  ecode3 = SWIG_AsVal_bool(obj2, &val3);
109826  if (!SWIG_IsOK(ecode3)) {
109827  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildAttribDouble" "', argument " "3"" of type '" "bool""'");
109828  }
109829  arg3 = static_cast< bool >(val3);
109830  result = (double)(arg1)->GetChildAttribDouble(arg2,arg3);
109831  resultobj = SWIG_From_double(static_cast< double >(result));
109832  return resultobj;
109833 fail:
109834  return NULL;
109835 }
109836 
109837 
109838 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribDouble__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
109839  PyObject *resultobj = 0;
109840  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
109841  std::string arg2 ;
109842  void *argp1 = 0 ;
109843  int res1 = 0 ;
109844  PyObject * obj0 = 0 ;
109845  PyObject * obj1 = 0 ;
109846  double result;
109847 
109848  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetChildAttribDouble",&obj0,&obj1)) SWIG_fail;
109849  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
109850  if (!SWIG_IsOK(res1)) {
109851  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribDouble" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
109852  }
109853  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
109854  {
109855  std::string *ptr = (std::string *)0;
109856  int res = SWIG_AsPtr_std_string(obj1, &ptr);
109857  if (!SWIG_IsOK(res) || !ptr) {
109858  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribDouble" "', argument " "2"" of type '" "std::string""'");
109859  }
109860  arg2 = *ptr;
109861  if (SWIG_IsNewObj(res)) delete ptr;
109862  }
109863  result = (double)(arg1)->GetChildAttribDouble(arg2);
109864  resultobj = SWIG_From_double(static_cast< double >(result));
109865  return resultobj;
109866 fail:
109867  return NULL;
109868 }
109869 
109870 
109871 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribDouble(PyObject *self, PyObject *args) {
109872  int argc;
109873  PyObject *argv[5];
109874  int ii;
109875 
109876  if (!PyTuple_Check(args)) SWIG_fail;
109877  argc = args ? (int)PyObject_Length(args) : 0;
109878  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
109879  argv[ii] = PyTuple_GET_ITEM(args,ii);
109880  }
109881  if (argc == 2) {
109882  int _v;
109883  void *vptr = 0;
109884  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
109885  _v = SWIG_CheckState(res);
109886  if (_v) {
109887  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
109888  _v = SWIG_CheckState(res);
109889  if (_v) {
109890  return _wrap_CStdXml_GetChildAttribDouble__SWIG_2(self, args);
109891  }
109892  }
109893  }
109894  if (argc == 3) {
109895  int _v;
109896  void *vptr = 0;
109897  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
109898  _v = SWIG_CheckState(res);
109899  if (_v) {
109900  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
109901  _v = SWIG_CheckState(res);
109902  if (_v) {
109903  {
109904  int res = SWIG_AsVal_bool(argv[2], NULL);
109905  _v = SWIG_CheckState(res);
109906  }
109907  if (_v) {
109908  return _wrap_CStdXml_GetChildAttribDouble__SWIG_1(self, args);
109909  }
109910  }
109911  }
109912  }
109913  if (argc == 4) {
109914  int _v;
109915  void *vptr = 0;
109916  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
109917  _v = SWIG_CheckState(res);
109918  if (_v) {
109919  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
109920  _v = SWIG_CheckState(res);
109921  if (_v) {
109922  {
109923  int res = SWIG_AsVal_bool(argv[2], NULL);
109924  _v = SWIG_CheckState(res);
109925  }
109926  if (_v) {
109927  {
109928  int res = SWIG_AsVal_double(argv[3], NULL);
109929  _v = SWIG_CheckState(res);
109930  }
109931  if (_v) {
109932  return _wrap_CStdXml_GetChildAttribDouble__SWIG_0(self, args);
109933  }
109934  }
109935  }
109936  }
109937  }
109938 
109939 fail:
109940  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetChildAttribDouble'.\n"
109941  " Possible C/C++ prototypes are:\n"
109942  " StdUtils::CStdXml::GetChildAttribDouble(std::string,bool,double)\n"
109943  " StdUtils::CStdXml::GetChildAttribDouble(std::string,bool)\n"
109944  " StdUtils::CStdXml::GetChildAttribDouble(std::string)\n");
109945  return 0;
109946 }
109947 
109948 
109949 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribFloat__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
109950  PyObject *resultobj = 0;
109951  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
109952  std::string arg2 ;
109953  bool arg3 ;
109954  float arg4 ;
109955  void *argp1 = 0 ;
109956  int res1 = 0 ;
109957  bool val3 ;
109958  int ecode3 = 0 ;
109959  float val4 ;
109960  int ecode4 = 0 ;
109961  PyObject * obj0 = 0 ;
109962  PyObject * obj1 = 0 ;
109963  PyObject * obj2 = 0 ;
109964  PyObject * obj3 = 0 ;
109965  float result;
109966 
109967  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdXml_GetChildAttribFloat",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
109968  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
109969  if (!SWIG_IsOK(res1)) {
109970  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribFloat" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
109971  }
109972  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
109973  {
109974  std::string *ptr = (std::string *)0;
109975  int res = SWIG_AsPtr_std_string(obj1, &ptr);
109976  if (!SWIG_IsOK(res) || !ptr) {
109977  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribFloat" "', argument " "2"" of type '" "std::string""'");
109978  }
109979  arg2 = *ptr;
109980  if (SWIG_IsNewObj(res)) delete ptr;
109981  }
109982  ecode3 = SWIG_AsVal_bool(obj2, &val3);
109983  if (!SWIG_IsOK(ecode3)) {
109984  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildAttribFloat" "', argument " "3"" of type '" "bool""'");
109985  }
109986  arg3 = static_cast< bool >(val3);
109987  ecode4 = SWIG_AsVal_float(obj3, &val4);
109988  if (!SWIG_IsOK(ecode4)) {
109989  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdXml_GetChildAttribFloat" "', argument " "4"" of type '" "float""'");
109990  }
109991  arg4 = static_cast< float >(val4);
109992  result = (float)(arg1)->GetChildAttribFloat(arg2,arg3,arg4);
109993  resultobj = SWIG_From_float(static_cast< float >(result));
109994  return resultobj;
109995 fail:
109996  return NULL;
109997 }
109998 
109999 
110000 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribFloat__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110001  PyObject *resultobj = 0;
110002  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110003  std::string arg2 ;
110004  bool arg3 ;
110005  void *argp1 = 0 ;
110006  int res1 = 0 ;
110007  bool val3 ;
110008  int ecode3 = 0 ;
110009  PyObject * obj0 = 0 ;
110010  PyObject * obj1 = 0 ;
110011  PyObject * obj2 = 0 ;
110012  float result;
110013 
110014  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetChildAttribFloat",&obj0,&obj1,&obj2)) SWIG_fail;
110015  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110016  if (!SWIG_IsOK(res1)) {
110017  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribFloat" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110018  }
110019  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110020  {
110021  std::string *ptr = (std::string *)0;
110022  int res = SWIG_AsPtr_std_string(obj1, &ptr);
110023  if (!SWIG_IsOK(res) || !ptr) {
110024  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribFloat" "', argument " "2"" of type '" "std::string""'");
110025  }
110026  arg2 = *ptr;
110027  if (SWIG_IsNewObj(res)) delete ptr;
110028  }
110029  ecode3 = SWIG_AsVal_bool(obj2, &val3);
110030  if (!SWIG_IsOK(ecode3)) {
110031  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildAttribFloat" "', argument " "3"" of type '" "bool""'");
110032  }
110033  arg3 = static_cast< bool >(val3);
110034  result = (float)(arg1)->GetChildAttribFloat(arg2,arg3);
110035  resultobj = SWIG_From_float(static_cast< float >(result));
110036  return resultobj;
110037 fail:
110038  return NULL;
110039 }
110040 
110041 
110042 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribFloat__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110043  PyObject *resultobj = 0;
110044  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110045  std::string arg2 ;
110046  void *argp1 = 0 ;
110047  int res1 = 0 ;
110048  PyObject * obj0 = 0 ;
110049  PyObject * obj1 = 0 ;
110050  float result;
110051 
110052  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetChildAttribFloat",&obj0,&obj1)) SWIG_fail;
110053  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110054  if (!SWIG_IsOK(res1)) {
110055  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribFloat" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110056  }
110057  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110058  {
110059  std::string *ptr = (std::string *)0;
110060  int res = SWIG_AsPtr_std_string(obj1, &ptr);
110061  if (!SWIG_IsOK(res) || !ptr) {
110062  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribFloat" "', argument " "2"" of type '" "std::string""'");
110063  }
110064  arg2 = *ptr;
110065  if (SWIG_IsNewObj(res)) delete ptr;
110066  }
110067  result = (float)(arg1)->GetChildAttribFloat(arg2);
110068  resultobj = SWIG_From_float(static_cast< float >(result));
110069  return resultobj;
110070 fail:
110071  return NULL;
110072 }
110073 
110074 
110075 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribFloat(PyObject *self, PyObject *args) {
110076  int argc;
110077  PyObject *argv[5];
110078  int ii;
110079 
110080  if (!PyTuple_Check(args)) SWIG_fail;
110081  argc = args ? (int)PyObject_Length(args) : 0;
110082  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
110083  argv[ii] = PyTuple_GET_ITEM(args,ii);
110084  }
110085  if (argc == 2) {
110086  int _v;
110087  void *vptr = 0;
110088  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
110089  _v = SWIG_CheckState(res);
110090  if (_v) {
110091  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
110092  _v = SWIG_CheckState(res);
110093  if (_v) {
110094  return _wrap_CStdXml_GetChildAttribFloat__SWIG_2(self, args);
110095  }
110096  }
110097  }
110098  if (argc == 3) {
110099  int _v;
110100  void *vptr = 0;
110101  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
110102  _v = SWIG_CheckState(res);
110103  if (_v) {
110104  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
110105  _v = SWIG_CheckState(res);
110106  if (_v) {
110107  {
110108  int res = SWIG_AsVal_bool(argv[2], NULL);
110109  _v = SWIG_CheckState(res);
110110  }
110111  if (_v) {
110112  return _wrap_CStdXml_GetChildAttribFloat__SWIG_1(self, args);
110113  }
110114  }
110115  }
110116  }
110117  if (argc == 4) {
110118  int _v;
110119  void *vptr = 0;
110120  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
110121  _v = SWIG_CheckState(res);
110122  if (_v) {
110123  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
110124  _v = SWIG_CheckState(res);
110125  if (_v) {
110126  {
110127  int res = SWIG_AsVal_bool(argv[2], NULL);
110128  _v = SWIG_CheckState(res);
110129  }
110130  if (_v) {
110131  {
110132  int res = SWIG_AsVal_float(argv[3], NULL);
110133  _v = SWIG_CheckState(res);
110134  }
110135  if (_v) {
110136  return _wrap_CStdXml_GetChildAttribFloat__SWIG_0(self, args);
110137  }
110138  }
110139  }
110140  }
110141  }
110142 
110143 fail:
110144  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetChildAttribFloat'.\n"
110145  " Possible C/C++ prototypes are:\n"
110146  " StdUtils::CStdXml::GetChildAttribFloat(std::string,bool,float)\n"
110147  " StdUtils::CStdXml::GetChildAttribFloat(std::string,bool)\n"
110148  " StdUtils::CStdXml::GetChildAttribFloat(std::string)\n");
110149  return 0;
110150 }
110151 
110152 
110153 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribBool__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110154  PyObject *resultobj = 0;
110155  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110156  std::string arg2 ;
110157  bool arg3 ;
110158  bool arg4 ;
110159  void *argp1 = 0 ;
110160  int res1 = 0 ;
110161  bool val3 ;
110162  int ecode3 = 0 ;
110163  bool val4 ;
110164  int ecode4 = 0 ;
110165  PyObject * obj0 = 0 ;
110166  PyObject * obj1 = 0 ;
110167  PyObject * obj2 = 0 ;
110168  PyObject * obj3 = 0 ;
110169  bool result;
110170 
110171  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdXml_GetChildAttribBool",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
110172  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110173  if (!SWIG_IsOK(res1)) {
110174  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribBool" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110175  }
110176  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110177  {
110178  std::string *ptr = (std::string *)0;
110179  int res = SWIG_AsPtr_std_string(obj1, &ptr);
110180  if (!SWIG_IsOK(res) || !ptr) {
110181  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribBool" "', argument " "2"" of type '" "std::string""'");
110182  }
110183  arg2 = *ptr;
110184  if (SWIG_IsNewObj(res)) delete ptr;
110185  }
110186  ecode3 = SWIG_AsVal_bool(obj2, &val3);
110187  if (!SWIG_IsOK(ecode3)) {
110188  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildAttribBool" "', argument " "3"" of type '" "bool""'");
110189  }
110190  arg3 = static_cast< bool >(val3);
110191  ecode4 = SWIG_AsVal_bool(obj3, &val4);
110192  if (!SWIG_IsOK(ecode4)) {
110193  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdXml_GetChildAttribBool" "', argument " "4"" of type '" "bool""'");
110194  }
110195  arg4 = static_cast< bool >(val4);
110196  result = (bool)(arg1)->GetChildAttribBool(arg2,arg3,arg4);
110197  resultobj = SWIG_From_bool(static_cast< bool >(result));
110198  return resultobj;
110199 fail:
110200  return NULL;
110201 }
110202 
110203 
110204 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribBool__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110205  PyObject *resultobj = 0;
110206  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110207  std::string arg2 ;
110208  bool arg3 ;
110209  void *argp1 = 0 ;
110210  int res1 = 0 ;
110211  bool val3 ;
110212  int ecode3 = 0 ;
110213  PyObject * obj0 = 0 ;
110214  PyObject * obj1 = 0 ;
110215  PyObject * obj2 = 0 ;
110216  bool result;
110217 
110218  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_GetChildAttribBool",&obj0,&obj1,&obj2)) SWIG_fail;
110219  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110220  if (!SWIG_IsOK(res1)) {
110221  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribBool" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110222  }
110223  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110224  {
110225  std::string *ptr = (std::string *)0;
110226  int res = SWIG_AsPtr_std_string(obj1, &ptr);
110227  if (!SWIG_IsOK(res) || !ptr) {
110228  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribBool" "', argument " "2"" of type '" "std::string""'");
110229  }
110230  arg2 = *ptr;
110231  if (SWIG_IsNewObj(res)) delete ptr;
110232  }
110233  ecode3 = SWIG_AsVal_bool(obj2, &val3);
110234  if (!SWIG_IsOK(ecode3)) {
110235  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_GetChildAttribBool" "', argument " "3"" of type '" "bool""'");
110236  }
110237  arg3 = static_cast< bool >(val3);
110238  result = (bool)(arg1)->GetChildAttribBool(arg2,arg3);
110239  resultobj = SWIG_From_bool(static_cast< bool >(result));
110240  return resultobj;
110241 fail:
110242  return NULL;
110243 }
110244 
110245 
110246 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribBool__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110247  PyObject *resultobj = 0;
110248  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110249  std::string arg2 ;
110250  void *argp1 = 0 ;
110251  int res1 = 0 ;
110252  PyObject * obj0 = 0 ;
110253  PyObject * obj1 = 0 ;
110254  bool result;
110255 
110256  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_GetChildAttribBool",&obj0,&obj1)) SWIG_fail;
110257  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110258  if (!SWIG_IsOK(res1)) {
110259  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildAttribBool" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110260  }
110261  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110262  {
110263  std::string *ptr = (std::string *)0;
110264  int res = SWIG_AsPtr_std_string(obj1, &ptr);
110265  if (!SWIG_IsOK(res) || !ptr) {
110266  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_GetChildAttribBool" "', argument " "2"" of type '" "std::string""'");
110267  }
110268  arg2 = *ptr;
110269  if (SWIG_IsNewObj(res)) delete ptr;
110270  }
110271  result = (bool)(arg1)->GetChildAttribBool(arg2);
110272  resultobj = SWIG_From_bool(static_cast< bool >(result));
110273  return resultobj;
110274 fail:
110275  return NULL;
110276 }
110277 
110278 
110279 SWIGINTERN PyObject *_wrap_CStdXml_GetChildAttribBool(PyObject *self, PyObject *args) {
110280  int argc;
110281  PyObject *argv[5];
110282  int ii;
110283 
110284  if (!PyTuple_Check(args)) SWIG_fail;
110285  argc = args ? (int)PyObject_Length(args) : 0;
110286  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
110287  argv[ii] = PyTuple_GET_ITEM(args,ii);
110288  }
110289  if (argc == 2) {
110290  int _v;
110291  void *vptr = 0;
110292  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
110293  _v = SWIG_CheckState(res);
110294  if (_v) {
110295  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
110296  _v = SWIG_CheckState(res);
110297  if (_v) {
110298  return _wrap_CStdXml_GetChildAttribBool__SWIG_2(self, args);
110299  }
110300  }
110301  }
110302  if (argc == 3) {
110303  int _v;
110304  void *vptr = 0;
110305  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
110306  _v = SWIG_CheckState(res);
110307  if (_v) {
110308  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
110309  _v = SWIG_CheckState(res);
110310  if (_v) {
110311  {
110312  int res = SWIG_AsVal_bool(argv[2], NULL);
110313  _v = SWIG_CheckState(res);
110314  }
110315  if (_v) {
110316  return _wrap_CStdXml_GetChildAttribBool__SWIG_1(self, args);
110317  }
110318  }
110319  }
110320  }
110321  if (argc == 4) {
110322  int _v;
110323  void *vptr = 0;
110324  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
110325  _v = SWIG_CheckState(res);
110326  if (_v) {
110327  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
110328  _v = SWIG_CheckState(res);
110329  if (_v) {
110330  {
110331  int res = SWIG_AsVal_bool(argv[2], NULL);
110332  _v = SWIG_CheckState(res);
110333  }
110334  if (_v) {
110335  {
110336  int res = SWIG_AsVal_bool(argv[3], NULL);
110337  _v = SWIG_CheckState(res);
110338  }
110339  if (_v) {
110340  return _wrap_CStdXml_GetChildAttribBool__SWIG_0(self, args);
110341  }
110342  }
110343  }
110344  }
110345  }
110346 
110347 fail:
110348  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_GetChildAttribBool'.\n"
110349  " Possible C/C++ prototypes are:\n"
110350  " StdUtils::CStdXml::GetChildAttribBool(std::string,bool,bool)\n"
110351  " StdUtils::CStdXml::GetChildAttribBool(std::string,bool)\n"
110352  " StdUtils::CStdXml::GetChildAttribBool(std::string)\n");
110353  return 0;
110354 }
110355 
110356 
110357 SWIGINTERN PyObject *_wrap_CStdXml_SetChildAttrib__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110358  PyObject *resultobj = 0;
110359  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110360  std::string arg2 ;
110361  std::string arg3 ;
110362  void *argp1 = 0 ;
110363  int res1 = 0 ;
110364  PyObject * obj0 = 0 ;
110365  PyObject * obj1 = 0 ;
110366  PyObject * obj2 = 0 ;
110367 
110368  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetChildAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
110369  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110370  if (!SWIG_IsOK(res1)) {
110371  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetChildAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110372  }
110373  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110374  {
110375  std::string *ptr = (std::string *)0;
110376  int res = SWIG_AsPtr_std_string(obj1, &ptr);
110377  if (!SWIG_IsOK(res) || !ptr) {
110378  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetChildAttrib" "', argument " "2"" of type '" "std::string""'");
110379  }
110380  arg2 = *ptr;
110381  if (SWIG_IsNewObj(res)) delete ptr;
110382  }
110383  {
110384  std::string *ptr = (std::string *)0;
110385  int res = SWIG_AsPtr_std_string(obj2, &ptr);
110386  if (!SWIG_IsOK(res) || !ptr) {
110387  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetChildAttrib" "', argument " "3"" of type '" "std::string""'");
110388  }
110389  arg3 = *ptr;
110390  if (SWIG_IsNewObj(res)) delete ptr;
110391  }
110392  (arg1)->SetChildAttrib(arg2,arg3);
110393  resultobj = SWIG_Py_Void();
110394  return resultobj;
110395 fail:
110396  return NULL;
110397 }
110398 
110399 
110400 SWIGINTERN PyObject *_wrap_CStdXml_SetChildAttrib__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110401  PyObject *resultobj = 0;
110402  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110403  std::string arg2 ;
110404  char arg3 ;
110405  void *argp1 = 0 ;
110406  int res1 = 0 ;
110407  char val3 ;
110408  int ecode3 = 0 ;
110409  PyObject * obj0 = 0 ;
110410  PyObject * obj1 = 0 ;
110411  PyObject * obj2 = 0 ;
110412 
110413  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetChildAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
110414  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110415  if (!SWIG_IsOK(res1)) {
110416  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetChildAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110417  }
110418  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110419  {
110420  std::string *ptr = (std::string *)0;
110421  int res = SWIG_AsPtr_std_string(obj1, &ptr);
110422  if (!SWIG_IsOK(res) || !ptr) {
110423  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetChildAttrib" "', argument " "2"" of type '" "std::string""'");
110424  }
110425  arg2 = *ptr;
110426  if (SWIG_IsNewObj(res)) delete ptr;
110427  }
110428  ecode3 = SWIG_AsVal_char(obj2, &val3);
110429  if (!SWIG_IsOK(ecode3)) {
110430  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_SetChildAttrib" "', argument " "3"" of type '" "char""'");
110431  }
110432  arg3 = static_cast< char >(val3);
110433  (arg1)->SetChildAttrib(arg2,arg3);
110434  resultobj = SWIG_Py_Void();
110435  return resultobj;
110436 fail:
110437  return NULL;
110438 }
110439 
110440 
110441 SWIGINTERN PyObject *_wrap_CStdXml_SetChildAttrib__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110442  PyObject *resultobj = 0;
110443  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110444  std::string arg2 ;
110445  unsigned char arg3 ;
110446  void *argp1 = 0 ;
110447  int res1 = 0 ;
110448  unsigned char val3 ;
110449  int ecode3 = 0 ;
110450  PyObject * obj0 = 0 ;
110451  PyObject * obj1 = 0 ;
110452  PyObject * obj2 = 0 ;
110453 
110454  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetChildAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
110455  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110456  if (!SWIG_IsOK(res1)) {
110457  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetChildAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110458  }
110459  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110460  {
110461  std::string *ptr = (std::string *)0;
110462  int res = SWIG_AsPtr_std_string(obj1, &ptr);
110463  if (!SWIG_IsOK(res) || !ptr) {
110464  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetChildAttrib" "', argument " "2"" of type '" "std::string""'");
110465  }
110466  arg2 = *ptr;
110467  if (SWIG_IsNewObj(res)) delete ptr;
110468  }
110469  ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3);
110470  if (!SWIG_IsOK(ecode3)) {
110471  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_SetChildAttrib" "', argument " "3"" of type '" "unsigned char""'");
110472  }
110473  arg3 = static_cast< unsigned char >(val3);
110474  (arg1)->SetChildAttrib(arg2,arg3);
110475  resultobj = SWIG_Py_Void();
110476  return resultobj;
110477 fail:
110478  return NULL;
110479 }
110480 
110481 
110482 SWIGINTERN PyObject *_wrap_CStdXml_SetChildAttrib__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110483  PyObject *resultobj = 0;
110484  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110485  std::string arg2 ;
110486  long arg3 ;
110487  void *argp1 = 0 ;
110488  int res1 = 0 ;
110489  long val3 ;
110490  int ecode3 = 0 ;
110491  PyObject * obj0 = 0 ;
110492  PyObject * obj1 = 0 ;
110493  PyObject * obj2 = 0 ;
110494 
110495  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetChildAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
110496  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110497  if (!SWIG_IsOK(res1)) {
110498  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetChildAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110499  }
110500  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110501  {
110502  std::string *ptr = (std::string *)0;
110503  int res = SWIG_AsPtr_std_string(obj1, &ptr);
110504  if (!SWIG_IsOK(res) || !ptr) {
110505  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetChildAttrib" "', argument " "2"" of type '" "std::string""'");
110506  }
110507  arg2 = *ptr;
110508  if (SWIG_IsNewObj(res)) delete ptr;
110509  }
110510  ecode3 = SWIG_AsVal_long(obj2, &val3);
110511  if (!SWIG_IsOK(ecode3)) {
110512  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_SetChildAttrib" "', argument " "3"" of type '" "long""'");
110513  }
110514  arg3 = static_cast< long >(val3);
110515  (arg1)->SetChildAttrib(arg2,arg3);
110516  resultobj = SWIG_Py_Void();
110517  return resultobj;
110518 fail:
110519  return NULL;
110520 }
110521 
110522 
110523 SWIGINTERN PyObject *_wrap_CStdXml_SetChildAttrib__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110524  PyObject *resultobj = 0;
110525  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110526  std::string arg2 ;
110527  int arg3 ;
110528  void *argp1 = 0 ;
110529  int res1 = 0 ;
110530  int val3 ;
110531  int ecode3 = 0 ;
110532  PyObject * obj0 = 0 ;
110533  PyObject * obj1 = 0 ;
110534  PyObject * obj2 = 0 ;
110535 
110536  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetChildAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
110537  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110538  if (!SWIG_IsOK(res1)) {
110539  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetChildAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110540  }
110541  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110542  {
110543  std::string *ptr = (std::string *)0;
110544  int res = SWIG_AsPtr_std_string(obj1, &ptr);
110545  if (!SWIG_IsOK(res) || !ptr) {
110546  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetChildAttrib" "', argument " "2"" of type '" "std::string""'");
110547  }
110548  arg2 = *ptr;
110549  if (SWIG_IsNewObj(res)) delete ptr;
110550  }
110551  ecode3 = SWIG_AsVal_int(obj2, &val3);
110552  if (!SWIG_IsOK(ecode3)) {
110553  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_SetChildAttrib" "', argument " "3"" of type '" "int""'");
110554  }
110555  arg3 = static_cast< int >(val3);
110556  (arg1)->SetChildAttrib(arg2,arg3);
110557  resultobj = SWIG_Py_Void();
110558  return resultobj;
110559 fail:
110560  return NULL;
110561 }
110562 
110563 
110564 SWIGINTERN PyObject *_wrap_CStdXml_SetChildAttrib__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110565  PyObject *resultobj = 0;
110566  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110567  std::string arg2 ;
110568  double arg3 ;
110569  void *argp1 = 0 ;
110570  int res1 = 0 ;
110571  double val3 ;
110572  int ecode3 = 0 ;
110573  PyObject * obj0 = 0 ;
110574  PyObject * obj1 = 0 ;
110575  PyObject * obj2 = 0 ;
110576 
110577  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetChildAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
110578  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110579  if (!SWIG_IsOK(res1)) {
110580  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetChildAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110581  }
110582  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110583  {
110584  std::string *ptr = (std::string *)0;
110585  int res = SWIG_AsPtr_std_string(obj1, &ptr);
110586  if (!SWIG_IsOK(res) || !ptr) {
110587  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetChildAttrib" "', argument " "2"" of type '" "std::string""'");
110588  }
110589  arg2 = *ptr;
110590  if (SWIG_IsNewObj(res)) delete ptr;
110591  }
110592  ecode3 = SWIG_AsVal_double(obj2, &val3);
110593  if (!SWIG_IsOK(ecode3)) {
110594  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_SetChildAttrib" "', argument " "3"" of type '" "double""'");
110595  }
110596  arg3 = static_cast< double >(val3);
110597  (arg1)->SetChildAttrib(arg2,arg3);
110598  resultobj = SWIG_Py_Void();
110599  return resultobj;
110600 fail:
110601  return NULL;
110602 }
110603 
110604 
110605 SWIGINTERN PyObject *_wrap_CStdXml_SetChildAttrib__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110606  PyObject *resultobj = 0;
110607  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110608  std::string arg2 ;
110609  float arg3 ;
110610  void *argp1 = 0 ;
110611  int res1 = 0 ;
110612  float val3 ;
110613  int ecode3 = 0 ;
110614  PyObject * obj0 = 0 ;
110615  PyObject * obj1 = 0 ;
110616  PyObject * obj2 = 0 ;
110617 
110618  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetChildAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
110619  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110620  if (!SWIG_IsOK(res1)) {
110621  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetChildAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110622  }
110623  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110624  {
110625  std::string *ptr = (std::string *)0;
110626  int res = SWIG_AsPtr_std_string(obj1, &ptr);
110627  if (!SWIG_IsOK(res) || !ptr) {
110628  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetChildAttrib" "', argument " "2"" of type '" "std::string""'");
110629  }
110630  arg2 = *ptr;
110631  if (SWIG_IsNewObj(res)) delete ptr;
110632  }
110633  ecode3 = SWIG_AsVal_float(obj2, &val3);
110634  if (!SWIG_IsOK(ecode3)) {
110635  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_SetChildAttrib" "', argument " "3"" of type '" "float""'");
110636  }
110637  arg3 = static_cast< float >(val3);
110638  (arg1)->SetChildAttrib(arg2,arg3);
110639  resultobj = SWIG_Py_Void();
110640  return resultobj;
110641 fail:
110642  return NULL;
110643 }
110644 
110645 
110646 SWIGINTERN PyObject *_wrap_CStdXml_SetChildAttrib__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110647  PyObject *resultobj = 0;
110648  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110649  std::string arg2 ;
110650  bool arg3 ;
110651  void *argp1 = 0 ;
110652  int res1 = 0 ;
110653  bool val3 ;
110654  int ecode3 = 0 ;
110655  PyObject * obj0 = 0 ;
110656  PyObject * obj1 = 0 ;
110657  PyObject * obj2 = 0 ;
110658 
110659  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdXml_SetChildAttrib",&obj0,&obj1,&obj2)) SWIG_fail;
110660  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110661  if (!SWIG_IsOK(res1)) {
110662  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_SetChildAttrib" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110663  }
110664  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110665  {
110666  std::string *ptr = (std::string *)0;
110667  int res = SWIG_AsPtr_std_string(obj1, &ptr);
110668  if (!SWIG_IsOK(res) || !ptr) {
110669  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_SetChildAttrib" "', argument " "2"" of type '" "std::string""'");
110670  }
110671  arg2 = *ptr;
110672  if (SWIG_IsNewObj(res)) delete ptr;
110673  }
110674  ecode3 = SWIG_AsVal_bool(obj2, &val3);
110675  if (!SWIG_IsOK(ecode3)) {
110676  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdXml_SetChildAttrib" "', argument " "3"" of type '" "bool""'");
110677  }
110678  arg3 = static_cast< bool >(val3);
110679  (arg1)->SetChildAttrib(arg2,arg3);
110680  resultobj = SWIG_Py_Void();
110681  return resultobj;
110682 fail:
110683  return NULL;
110684 }
110685 
110686 
110687 SWIGINTERN PyObject *_wrap_CStdXml_SetChildAttrib(PyObject *self, PyObject *args) {
110688  int argc;
110689  PyObject *argv[4];
110690  int ii;
110691 
110692  if (!PyTuple_Check(args)) SWIG_fail;
110693  argc = args ? (int)PyObject_Length(args) : 0;
110694  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
110695  argv[ii] = PyTuple_GET_ITEM(args,ii);
110696  }
110697  if (argc == 3) {
110698  int _v;
110699  void *vptr = 0;
110700  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
110701  _v = SWIG_CheckState(res);
110702  if (_v) {
110703  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
110704  _v = SWIG_CheckState(res);
110705  if (_v) {
110706  {
110707  int res = SWIG_AsVal_bool(argv[2], NULL);
110708  _v = SWIG_CheckState(res);
110709  }
110710  if (_v) {
110711  return _wrap_CStdXml_SetChildAttrib__SWIG_7(self, args);
110712  }
110713  }
110714  }
110715  }
110716  if (argc == 3) {
110717  int _v;
110718  void *vptr = 0;
110719  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
110720  _v = SWIG_CheckState(res);
110721  if (_v) {
110722  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
110723  _v = SWIG_CheckState(res);
110724  if (_v) {
110725  {
110726  int res = SWIG_AsVal_unsigned_SS_char(argv[2], NULL);
110727  _v = SWIG_CheckState(res);
110728  }
110729  if (_v) {
110730  return _wrap_CStdXml_SetChildAttrib__SWIG_2(self, args);
110731  }
110732  }
110733  }
110734  }
110735  if (argc == 3) {
110736  int _v;
110737  void *vptr = 0;
110738  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
110739  _v = SWIG_CheckState(res);
110740  if (_v) {
110741  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
110742  _v = SWIG_CheckState(res);
110743  if (_v) {
110744  {
110745  int res = SWIG_AsVal_int(argv[2], NULL);
110746  _v = SWIG_CheckState(res);
110747  }
110748  if (_v) {
110749  return _wrap_CStdXml_SetChildAttrib__SWIG_4(self, args);
110750  }
110751  }
110752  }
110753  }
110754  if (argc == 3) {
110755  int _v;
110756  void *vptr = 0;
110757  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
110758  _v = SWIG_CheckState(res);
110759  if (_v) {
110760  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
110761  _v = SWIG_CheckState(res);
110762  if (_v) {
110763  {
110764  int res = SWIG_AsVal_long(argv[2], NULL);
110765  _v = SWIG_CheckState(res);
110766  }
110767  if (_v) {
110768  return _wrap_CStdXml_SetChildAttrib__SWIG_3(self, args);
110769  }
110770  }
110771  }
110772  }
110773  if (argc == 3) {
110774  int _v;
110775  void *vptr = 0;
110776  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
110777  _v = SWIG_CheckState(res);
110778  if (_v) {
110779  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
110780  _v = SWIG_CheckState(res);
110781  if (_v) {
110782  {
110783  int res = SWIG_AsVal_float(argv[2], NULL);
110784  _v = SWIG_CheckState(res);
110785  }
110786  if (_v) {
110787  return _wrap_CStdXml_SetChildAttrib__SWIG_6(self, args);
110788  }
110789  }
110790  }
110791  }
110792  if (argc == 3) {
110793  int _v;
110794  void *vptr = 0;
110795  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
110796  _v = SWIG_CheckState(res);
110797  if (_v) {
110798  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
110799  _v = SWIG_CheckState(res);
110800  if (_v) {
110801  {
110802  int res = SWIG_AsVal_double(argv[2], NULL);
110803  _v = SWIG_CheckState(res);
110804  }
110805  if (_v) {
110806  return _wrap_CStdXml_SetChildAttrib__SWIG_5(self, args);
110807  }
110808  }
110809  }
110810  }
110811  if (argc == 3) {
110812  int _v;
110813  void *vptr = 0;
110814  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
110815  _v = SWIG_CheckState(res);
110816  if (_v) {
110817  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
110818  _v = SWIG_CheckState(res);
110819  if (_v) {
110820  {
110821  int res = SWIG_AsVal_char(argv[2], NULL);
110822  _v = SWIG_CheckState(res);
110823  }
110824  if (_v) {
110825  return _wrap_CStdXml_SetChildAttrib__SWIG_1(self, args);
110826  }
110827  }
110828  }
110829  }
110830  if (argc == 3) {
110831  int _v;
110832  void *vptr = 0;
110833  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
110834  _v = SWIG_CheckState(res);
110835  if (_v) {
110836  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
110837  _v = SWIG_CheckState(res);
110838  if (_v) {
110839  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
110840  _v = SWIG_CheckState(res);
110841  if (_v) {
110842  return _wrap_CStdXml_SetChildAttrib__SWIG_0(self, args);
110843  }
110844  }
110845  }
110846  }
110847 
110848 fail:
110849  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdXml_SetChildAttrib'.\n"
110850  " Possible C/C++ prototypes are:\n"
110851  " StdUtils::CStdXml::SetChildAttrib(std::string,std::string)\n"
110852  " StdUtils::CStdXml::SetChildAttrib(std::string,char)\n"
110853  " StdUtils::CStdXml::SetChildAttrib(std::string,unsigned char)\n"
110854  " StdUtils::CStdXml::SetChildAttrib(std::string,long)\n"
110855  " StdUtils::CStdXml::SetChildAttrib(std::string,int)\n"
110856  " StdUtils::CStdXml::SetChildAttrib(std::string,double)\n"
110857  " StdUtils::CStdXml::SetChildAttrib(std::string,float)\n"
110858  " StdUtils::CStdXml::SetChildAttrib(std::string,bool)\n");
110859  return 0;
110860 }
110861 
110862 
110863 SWIGINTERN PyObject *_wrap_CStdXml_AddChildDoc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110864  PyObject *resultobj = 0;
110865  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110866  std::string *arg2 = 0 ;
110867  void *argp1 = 0 ;
110868  int res1 = 0 ;
110869  void *argp2 = 0 ;
110870  int res2 = 0 ;
110871  PyObject * obj0 = 0 ;
110872  PyObject * obj1 = 0 ;
110873 
110874  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_AddChildDoc",&obj0,&obj1)) SWIG_fail;
110875  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110876  if (!SWIG_IsOK(res1)) {
110877  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_AddChildDoc" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110878  }
110879  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110880  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__string, 0 );
110881  if (!SWIG_IsOK(res2)) {
110882  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdXml_AddChildDoc" "', argument " "2"" of type '" "std::string &""'");
110883  }
110884  if (!argp2) {
110885  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdXml_AddChildDoc" "', argument " "2"" of type '" "std::string &""'");
110886  }
110887  arg2 = reinterpret_cast< std::string * >(argp2);
110888  (arg1)->AddChildDoc(*arg2);
110889  resultobj = SWIG_Py_Void();
110890  return resultobj;
110891 fail:
110892  return NULL;
110893 }
110894 
110895 
110896 SWIGINTERN PyObject *_wrap_CStdXml_GetChildDoc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110897  PyObject *resultobj = 0;
110898  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110899  void *argp1 = 0 ;
110900  int res1 = 0 ;
110901  PyObject * obj0 = 0 ;
110902  std::string result;
110903 
110904  if (!PyArg_ParseTuple(args,(char *)"O:CStdXml_GetChildDoc",&obj0)) SWIG_fail;
110905  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110906  if (!SWIG_IsOK(res1)) {
110907  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetChildDoc" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110908  }
110909  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110910  result = (arg1)->GetChildDoc();
110911  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
110912  return resultobj;
110913 fail:
110914  return NULL;
110915 }
110916 
110917 
110918 SWIGINTERN PyObject *_wrap_CStdXml_GetParentTagName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110919  PyObject *resultobj = 0;
110920  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110921  void *argp1 = 0 ;
110922  int res1 = 0 ;
110923  PyObject * obj0 = 0 ;
110924  std::string result;
110925 
110926  if (!PyArg_ParseTuple(args,(char *)"O:CStdXml_GetParentTagName",&obj0)) SWIG_fail;
110927  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110928  if (!SWIG_IsOK(res1)) {
110929  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_GetParentTagName" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110930  }
110931  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110932  result = (arg1)->GetParentTagName();
110933  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
110934  return resultobj;
110935 fail:
110936  return NULL;
110937 }
110938 
110939 
110940 SWIGINTERN PyObject *_wrap_CStdXml_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110941  PyObject *resultobj = 0;
110942  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110943  std::string arg2 ;
110944  void *argp1 = 0 ;
110945  int res1 = 0 ;
110946  PyObject * obj0 = 0 ;
110947  PyObject * obj1 = 0 ;
110948 
110949  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_Load",&obj0,&obj1)) SWIG_fail;
110950  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110951  if (!SWIG_IsOK(res1)) {
110952  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_Load" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110953  }
110954  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110955  {
110956  std::string *ptr = (std::string *)0;
110957  int res = SWIG_AsPtr_std_string(obj1, &ptr);
110958  if (!SWIG_IsOK(res) || !ptr) {
110959  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_Load" "', argument " "2"" of type '" "std::string""'");
110960  }
110961  arg2 = *ptr;
110962  if (SWIG_IsNewObj(res)) delete ptr;
110963  }
110964  (arg1)->Load(arg2);
110965  resultobj = SWIG_Py_Void();
110966  return resultobj;
110967 fail:
110968  return NULL;
110969 }
110970 
110971 
110972 SWIGINTERN PyObject *_wrap_CStdXml_Save(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
110973  PyObject *resultobj = 0;
110974  StdUtils::CStdXml *arg1 = (StdUtils::CStdXml *) 0 ;
110975  std::string arg2 ;
110976  void *argp1 = 0 ;
110977  int res1 = 0 ;
110978  PyObject * obj0 = 0 ;
110979  PyObject * obj1 = 0 ;
110980 
110981  if (!PyArg_ParseTuple(args,(char *)"OO:CStdXml_Save",&obj0,&obj1)) SWIG_fail;
110982  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdXml, 0 | 0 );
110983  if (!SWIG_IsOK(res1)) {
110984  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdXml_Save" "', argument " "1"" of type '" "StdUtils::CStdXml *""'");
110985  }
110986  arg1 = reinterpret_cast< StdUtils::CStdXml * >(argp1);
110987  {
110988  std::string *ptr = (std::string *)0;
110989  int res = SWIG_AsPtr_std_string(obj1, &ptr);
110990  if (!SWIG_IsOK(res) || !ptr) {
110991  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdXml_Save" "', argument " "2"" of type '" "std::string""'");
110992  }
110993  arg2 = *ptr;
110994  if (SWIG_IsNewObj(res)) delete ptr;
110995  }
110996  (arg1)->Save(arg2);
110997  resultobj = SWIG_Py_Void();
110998  return resultobj;
110999 fail:
111000  return NULL;
111001 }
111002 
111003 
111004 SWIGINTERN PyObject *CStdXml_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111005  PyObject *obj;
111006  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
111007  SWIG_TypeNewClientData(SWIGTYPE_p_StdUtils__CStdXml, SWIG_NewClientData(obj));
111008  return SWIG_Py_Void();
111009 }
111010 
111011 SWIGINTERN PyObject *_wrap_CStdFont_m_strName_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111012  PyObject *resultobj = 0;
111013  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111014  std::string *arg2 = 0 ;
111015  void *argp1 = 0 ;
111016  int res1 = 0 ;
111017  int res2 = SWIG_OLDOBJ ;
111018  PyObject * obj0 = 0 ;
111019  PyObject * obj1 = 0 ;
111020 
111021  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFont_m_strName_set",&obj0,&obj1)) SWIG_fail;
111022  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111023  if (!SWIG_IsOK(res1)) {
111024  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_m_strName_set" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111025  }
111026  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111027  {
111028  std::string *ptr = (std::string *)0;
111029  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
111030  if (!SWIG_IsOK(res2)) {
111031  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFont_m_strName_set" "', argument " "2"" of type '" "std::string const &""'");
111032  }
111033  if (!ptr) {
111034  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFont_m_strName_set" "', argument " "2"" of type '" "std::string const &""'");
111035  }
111036  arg2 = ptr;
111037  }
111038  if (arg1) (arg1)->m_strName = *arg2;
111039  resultobj = SWIG_Py_Void();
111040  if (SWIG_IsNewObj(res2)) delete arg2;
111041  return resultobj;
111042 fail:
111043  if (SWIG_IsNewObj(res2)) delete arg2;
111044  return NULL;
111045 }
111046 
111047 
111048 SWIGINTERN PyObject *_wrap_CStdFont_m_strName_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111049  PyObject *resultobj = 0;
111050  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111051  void *argp1 = 0 ;
111052  int res1 = 0 ;
111053  PyObject * obj0 = 0 ;
111054  std::string *result = 0 ;
111055 
111056  if (!PyArg_ParseTuple(args,(char *)"O:CStdFont_m_strName_get",&obj0)) SWIG_fail;
111057  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111058  if (!SWIG_IsOK(res1)) {
111059  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_m_strName_get" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111060  }
111061  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111062  result = (std::string *) & ((arg1)->m_strName);
111063  resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
111064  return resultobj;
111065 fail:
111066  return NULL;
111067 }
111068 
111069 
111070 SWIGINTERN PyObject *_wrap_CStdFont_m_fltSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111071  PyObject *resultobj = 0;
111072  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111073  float arg2 ;
111074  void *argp1 = 0 ;
111075  int res1 = 0 ;
111076  float val2 ;
111077  int ecode2 = 0 ;
111078  PyObject * obj0 = 0 ;
111079  PyObject * obj1 = 0 ;
111080 
111081  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFont_m_fltSize_set",&obj0,&obj1)) SWIG_fail;
111082  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111083  if (!SWIG_IsOK(res1)) {
111084  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_m_fltSize_set" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111085  }
111086  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111087  ecode2 = SWIG_AsVal_float(obj1, &val2);
111088  if (!SWIG_IsOK(ecode2)) {
111089  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFont_m_fltSize_set" "', argument " "2"" of type '" "float""'");
111090  }
111091  arg2 = static_cast< float >(val2);
111092  if (arg1) (arg1)->m_fltSize = arg2;
111093  resultobj = SWIG_Py_Void();
111094  return resultobj;
111095 fail:
111096  return NULL;
111097 }
111098 
111099 
111100 SWIGINTERN PyObject *_wrap_CStdFont_m_fltSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111101  PyObject *resultobj = 0;
111102  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111103  void *argp1 = 0 ;
111104  int res1 = 0 ;
111105  PyObject * obj0 = 0 ;
111106  float result;
111107 
111108  if (!PyArg_ParseTuple(args,(char *)"O:CStdFont_m_fltSize_get",&obj0)) SWIG_fail;
111109  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111110  if (!SWIG_IsOK(res1)) {
111111  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_m_fltSize_get" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111112  }
111113  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111114  result = (float) ((arg1)->m_fltSize);
111115  resultobj = SWIG_From_float(static_cast< float >(result));
111116  return resultobj;
111117 fail:
111118  return NULL;
111119 }
111120 
111121 
111122 SWIGINTERN PyObject *_wrap_CStdFont_m_fltWeight_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111123  PyObject *resultobj = 0;
111124  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111125  float arg2 ;
111126  void *argp1 = 0 ;
111127  int res1 = 0 ;
111128  float val2 ;
111129  int ecode2 = 0 ;
111130  PyObject * obj0 = 0 ;
111131  PyObject * obj1 = 0 ;
111132 
111133  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFont_m_fltWeight_set",&obj0,&obj1)) SWIG_fail;
111134  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111135  if (!SWIG_IsOK(res1)) {
111136  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_m_fltWeight_set" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111137  }
111138  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111139  ecode2 = SWIG_AsVal_float(obj1, &val2);
111140  if (!SWIG_IsOK(ecode2)) {
111141  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFont_m_fltWeight_set" "', argument " "2"" of type '" "float""'");
111142  }
111143  arg2 = static_cast< float >(val2);
111144  if (arg1) (arg1)->m_fltWeight = arg2;
111145  resultobj = SWIG_Py_Void();
111146  return resultobj;
111147 fail:
111148  return NULL;
111149 }
111150 
111151 
111152 SWIGINTERN PyObject *_wrap_CStdFont_m_fltWeight_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111153  PyObject *resultobj = 0;
111154  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111155  void *argp1 = 0 ;
111156  int res1 = 0 ;
111157  PyObject * obj0 = 0 ;
111158  float result;
111159 
111160  if (!PyArg_ParseTuple(args,(char *)"O:CStdFont_m_fltWeight_get",&obj0)) SWIG_fail;
111161  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111162  if (!SWIG_IsOK(res1)) {
111163  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_m_fltWeight_get" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111164  }
111165  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111166  result = (float) ((arg1)->m_fltWeight);
111167  resultobj = SWIG_From_float(static_cast< float >(result));
111168  return resultobj;
111169 fail:
111170  return NULL;
111171 }
111172 
111173 
111174 SWIGINTERN PyObject *_wrap_CStdFont_m_bBold_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111175  PyObject *resultobj = 0;
111176  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111177  bool arg2 ;
111178  void *argp1 = 0 ;
111179  int res1 = 0 ;
111180  bool val2 ;
111181  int ecode2 = 0 ;
111182  PyObject * obj0 = 0 ;
111183  PyObject * obj1 = 0 ;
111184 
111185  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFont_m_bBold_set",&obj0,&obj1)) SWIG_fail;
111186  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111187  if (!SWIG_IsOK(res1)) {
111188  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_m_bBold_set" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111189  }
111190  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111191  ecode2 = SWIG_AsVal_bool(obj1, &val2);
111192  if (!SWIG_IsOK(ecode2)) {
111193  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFont_m_bBold_set" "', argument " "2"" of type '" "bool""'");
111194  }
111195  arg2 = static_cast< bool >(val2);
111196  if (arg1) (arg1)->m_bBold = arg2;
111197  resultobj = SWIG_Py_Void();
111198  return resultobj;
111199 fail:
111200  return NULL;
111201 }
111202 
111203 
111204 SWIGINTERN PyObject *_wrap_CStdFont_m_bBold_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111205  PyObject *resultobj = 0;
111206  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111207  void *argp1 = 0 ;
111208  int res1 = 0 ;
111209  PyObject * obj0 = 0 ;
111210  bool result;
111211 
111212  if (!PyArg_ParseTuple(args,(char *)"O:CStdFont_m_bBold_get",&obj0)) SWIG_fail;
111213  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111214  if (!SWIG_IsOK(res1)) {
111215  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_m_bBold_get" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111216  }
111217  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111218  result = (bool) ((arg1)->m_bBold);
111219  resultobj = SWIG_From_bool(static_cast< bool >(result));
111220  return resultobj;
111221 fail:
111222  return NULL;
111223 }
111224 
111225 
111226 SWIGINTERN PyObject *_wrap_CStdFont_m_bItalic_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111227  PyObject *resultobj = 0;
111228  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111229  bool arg2 ;
111230  void *argp1 = 0 ;
111231  int res1 = 0 ;
111232  bool val2 ;
111233  int ecode2 = 0 ;
111234  PyObject * obj0 = 0 ;
111235  PyObject * obj1 = 0 ;
111236 
111237  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFont_m_bItalic_set",&obj0,&obj1)) SWIG_fail;
111238  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111239  if (!SWIG_IsOK(res1)) {
111240  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_m_bItalic_set" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111241  }
111242  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111243  ecode2 = SWIG_AsVal_bool(obj1, &val2);
111244  if (!SWIG_IsOK(ecode2)) {
111245  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFont_m_bItalic_set" "', argument " "2"" of type '" "bool""'");
111246  }
111247  arg2 = static_cast< bool >(val2);
111248  if (arg1) (arg1)->m_bItalic = arg2;
111249  resultobj = SWIG_Py_Void();
111250  return resultobj;
111251 fail:
111252  return NULL;
111253 }
111254 
111255 
111256 SWIGINTERN PyObject *_wrap_CStdFont_m_bItalic_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111257  PyObject *resultobj = 0;
111258  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111259  void *argp1 = 0 ;
111260  int res1 = 0 ;
111261  PyObject * obj0 = 0 ;
111262  bool result;
111263 
111264  if (!PyArg_ParseTuple(args,(char *)"O:CStdFont_m_bItalic_get",&obj0)) SWIG_fail;
111265  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111266  if (!SWIG_IsOK(res1)) {
111267  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_m_bItalic_get" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111268  }
111269  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111270  result = (bool) ((arg1)->m_bItalic);
111271  resultobj = SWIG_From_bool(static_cast< bool >(result));
111272  return resultobj;
111273 fail:
111274  return NULL;
111275 }
111276 
111277 
111278 SWIGINTERN PyObject *_wrap_CStdFont_m_bStrikethrough_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111279  PyObject *resultobj = 0;
111280  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111281  bool arg2 ;
111282  void *argp1 = 0 ;
111283  int res1 = 0 ;
111284  bool val2 ;
111285  int ecode2 = 0 ;
111286  PyObject * obj0 = 0 ;
111287  PyObject * obj1 = 0 ;
111288 
111289  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFont_m_bStrikethrough_set",&obj0,&obj1)) SWIG_fail;
111290  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111291  if (!SWIG_IsOK(res1)) {
111292  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_m_bStrikethrough_set" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111293  }
111294  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111295  ecode2 = SWIG_AsVal_bool(obj1, &val2);
111296  if (!SWIG_IsOK(ecode2)) {
111297  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFont_m_bStrikethrough_set" "', argument " "2"" of type '" "bool""'");
111298  }
111299  arg2 = static_cast< bool >(val2);
111300  if (arg1) (arg1)->m_bStrikethrough = arg2;
111301  resultobj = SWIG_Py_Void();
111302  return resultobj;
111303 fail:
111304  return NULL;
111305 }
111306 
111307 
111308 SWIGINTERN PyObject *_wrap_CStdFont_m_bStrikethrough_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111309  PyObject *resultobj = 0;
111310  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111311  void *argp1 = 0 ;
111312  int res1 = 0 ;
111313  PyObject * obj0 = 0 ;
111314  bool result;
111315 
111316  if (!PyArg_ParseTuple(args,(char *)"O:CStdFont_m_bStrikethrough_get",&obj0)) SWIG_fail;
111317  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111318  if (!SWIG_IsOK(res1)) {
111319  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_m_bStrikethrough_get" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111320  }
111321  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111322  result = (bool) ((arg1)->m_bStrikethrough);
111323  resultobj = SWIG_From_bool(static_cast< bool >(result));
111324  return resultobj;
111325 fail:
111326  return NULL;
111327 }
111328 
111329 
111330 SWIGINTERN PyObject *_wrap_CStdFont_m_bUnderline_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111331  PyObject *resultobj = 0;
111332  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111333  bool arg2 ;
111334  void *argp1 = 0 ;
111335  int res1 = 0 ;
111336  bool val2 ;
111337  int ecode2 = 0 ;
111338  PyObject * obj0 = 0 ;
111339  PyObject * obj1 = 0 ;
111340 
111341  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFont_m_bUnderline_set",&obj0,&obj1)) SWIG_fail;
111342  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111343  if (!SWIG_IsOK(res1)) {
111344  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_m_bUnderline_set" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111345  }
111346  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111347  ecode2 = SWIG_AsVal_bool(obj1, &val2);
111348  if (!SWIG_IsOK(ecode2)) {
111349  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFont_m_bUnderline_set" "', argument " "2"" of type '" "bool""'");
111350  }
111351  arg2 = static_cast< bool >(val2);
111352  if (arg1) (arg1)->m_bUnderline = arg2;
111353  resultobj = SWIG_Py_Void();
111354  return resultobj;
111355 fail:
111356  return NULL;
111357 }
111358 
111359 
111360 SWIGINTERN PyObject *_wrap_CStdFont_m_bUnderline_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111361  PyObject *resultobj = 0;
111362  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111363  void *argp1 = 0 ;
111364  int res1 = 0 ;
111365  PyObject * obj0 = 0 ;
111366  bool result;
111367 
111368  if (!PyArg_ParseTuple(args,(char *)"O:CStdFont_m_bUnderline_get",&obj0)) SWIG_fail;
111369  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111370  if (!SWIG_IsOK(res1)) {
111371  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_m_bUnderline_get" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111372  }
111373  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111374  result = (bool) ((arg1)->m_bUnderline);
111375  resultobj = SWIG_From_bool(static_cast< bool >(result));
111376  return resultobj;
111377 fail:
111378  return NULL;
111379 }
111380 
111381 
111382 SWIGINTERN PyObject *_wrap_new_CStdFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111383  PyObject *resultobj = 0;
111384  StdUtils::CStdFont *result = 0 ;
111385 
111386  if (!PyArg_ParseTuple(args,(char *)":new_CStdFont")) SWIG_fail;
111387  result = (StdUtils::CStdFont *)new StdUtils::CStdFont();
111388  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdFont, SWIG_POINTER_NEW | 0 );
111389  return resultobj;
111390 fail:
111391  return NULL;
111392 }
111393 
111394 
111395 SWIGINTERN PyObject *_wrap_delete_CStdFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111396  PyObject *resultobj = 0;
111397  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111398  void *argp1 = 0 ;
111399  int res1 = 0 ;
111400  PyObject * obj0 = 0 ;
111401 
111402  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdFont",&obj0)) SWIG_fail;
111403  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, SWIG_POINTER_DISOWN | 0 );
111404  if (!SWIG_IsOK(res1)) {
111405  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdFont" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111406  }
111407  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111408  delete arg1;
111409  resultobj = SWIG_Py_Void();
111410  return resultobj;
111411 fail:
111412  return NULL;
111413 }
111414 
111415 
111416 SWIGINTERN PyObject *_wrap_CStdFont_Load__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111417  PyObject *resultobj = 0;
111418  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111419  StdUtils::CStdXml *arg2 = 0 ;
111420  std::string arg3 ;
111421  bool arg4 ;
111422  void *argp1 = 0 ;
111423  int res1 = 0 ;
111424  void *argp2 = 0 ;
111425  int res2 = 0 ;
111426  bool val4 ;
111427  int ecode4 = 0 ;
111428  PyObject * obj0 = 0 ;
111429  PyObject * obj1 = 0 ;
111430  PyObject * obj2 = 0 ;
111431  PyObject * obj3 = 0 ;
111432 
111433  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdFont_Load",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
111434  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111435  if (!SWIG_IsOK(res1)) {
111436  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_Load" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111437  }
111438  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111439  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
111440  if (!SWIG_IsOK(res2)) {
111441  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFont_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
111442  }
111443  if (!argp2) {
111444  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFont_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
111445  }
111446  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
111447  {
111448  std::string *ptr = (std::string *)0;
111449  int res = SWIG_AsPtr_std_string(obj2, &ptr);
111450  if (!SWIG_IsOK(res) || !ptr) {
111451  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdFont_Load" "', argument " "3"" of type '" "std::string""'");
111452  }
111453  arg3 = *ptr;
111454  if (SWIG_IsNewObj(res)) delete ptr;
111455  }
111456  ecode4 = SWIG_AsVal_bool(obj3, &val4);
111457  if (!SWIG_IsOK(ecode4)) {
111458  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdFont_Load" "', argument " "4"" of type '" "bool""'");
111459  }
111460  arg4 = static_cast< bool >(val4);
111461  (arg1)->Load(*arg2,arg3,arg4);
111462  resultobj = SWIG_Py_Void();
111463  return resultobj;
111464 fail:
111465  return NULL;
111466 }
111467 
111468 
111469 SWIGINTERN PyObject *_wrap_CStdFont_Load__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111470  PyObject *resultobj = 0;
111471  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111472  StdUtils::CStdXml *arg2 = 0 ;
111473  std::string arg3 ;
111474  void *argp1 = 0 ;
111475  int res1 = 0 ;
111476  void *argp2 = 0 ;
111477  int res2 = 0 ;
111478  PyObject * obj0 = 0 ;
111479  PyObject * obj1 = 0 ;
111480  PyObject * obj2 = 0 ;
111481 
111482  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdFont_Load",&obj0,&obj1,&obj2)) SWIG_fail;
111483  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111484  if (!SWIG_IsOK(res1)) {
111485  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_Load" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111486  }
111487  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111488  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
111489  if (!SWIG_IsOK(res2)) {
111490  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFont_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
111491  }
111492  if (!argp2) {
111493  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFont_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
111494  }
111495  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
111496  {
111497  std::string *ptr = (std::string *)0;
111498  int res = SWIG_AsPtr_std_string(obj2, &ptr);
111499  if (!SWIG_IsOK(res) || !ptr) {
111500  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdFont_Load" "', argument " "3"" of type '" "std::string""'");
111501  }
111502  arg3 = *ptr;
111503  if (SWIG_IsNewObj(res)) delete ptr;
111504  }
111505  (arg1)->Load(*arg2,arg3);
111506  resultobj = SWIG_Py_Void();
111507  return resultobj;
111508 fail:
111509  return NULL;
111510 }
111511 
111512 
111513 SWIGINTERN PyObject *_wrap_CStdFont_Load(PyObject *self, PyObject *args) {
111514  int argc;
111515  PyObject *argv[5];
111516  int ii;
111517 
111518  if (!PyTuple_Check(args)) SWIG_fail;
111519  argc = args ? (int)PyObject_Length(args) : 0;
111520  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
111521  argv[ii] = PyTuple_GET_ITEM(args,ii);
111522  }
111523  if (argc == 3) {
111524  int _v;
111525  void *vptr = 0;
111526  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFont, 0);
111527  _v = SWIG_CheckState(res);
111528  if (_v) {
111529  void *vptr = 0;
111530  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
111531  _v = SWIG_CheckState(res);
111532  if (_v) {
111533  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
111534  _v = SWIG_CheckState(res);
111535  if (_v) {
111536  return _wrap_CStdFont_Load__SWIG_1(self, args);
111537  }
111538  }
111539  }
111540  }
111541  if (argc == 4) {
111542  int _v;
111543  void *vptr = 0;
111544  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFont, 0);
111545  _v = SWIG_CheckState(res);
111546  if (_v) {
111547  void *vptr = 0;
111548  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
111549  _v = SWIG_CheckState(res);
111550  if (_v) {
111551  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
111552  _v = SWIG_CheckState(res);
111553  if (_v) {
111554  {
111555  int res = SWIG_AsVal_bool(argv[3], NULL);
111556  _v = SWIG_CheckState(res);
111557  }
111558  if (_v) {
111559  return _wrap_CStdFont_Load__SWIG_0(self, args);
111560  }
111561  }
111562  }
111563  }
111564  }
111565 
111566 fail:
111567  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdFont_Load'.\n"
111568  " Possible C/C++ prototypes are:\n"
111569  " StdUtils::CStdFont::Load(StdUtils::CStdXml &,std::string,bool)\n"
111570  " StdUtils::CStdFont::Load(StdUtils::CStdXml &,std::string)\n");
111571  return 0;
111572 }
111573 
111574 
111575 SWIGINTERN PyObject *_wrap_CStdFont_Save(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111576  PyObject *resultobj = 0;
111577  StdUtils::CStdFont *arg1 = (StdUtils::CStdFont *) 0 ;
111578  StdUtils::CStdXml *arg2 = 0 ;
111579  std::string arg3 ;
111580  void *argp1 = 0 ;
111581  int res1 = 0 ;
111582  void *argp2 = 0 ;
111583  int res2 = 0 ;
111584  PyObject * obj0 = 0 ;
111585  PyObject * obj1 = 0 ;
111586  PyObject * obj2 = 0 ;
111587 
111588  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdFont_Save",&obj0,&obj1,&obj2)) SWIG_fail;
111589  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFont, 0 | 0 );
111590  if (!SWIG_IsOK(res1)) {
111591  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFont_Save" "', argument " "1"" of type '" "StdUtils::CStdFont *""'");
111592  }
111593  arg1 = reinterpret_cast< StdUtils::CStdFont * >(argp1);
111594  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
111595  if (!SWIG_IsOK(res2)) {
111596  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFont_Save" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
111597  }
111598  if (!argp2) {
111599  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFont_Save" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
111600  }
111601  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
111602  {
111603  std::string *ptr = (std::string *)0;
111604  int res = SWIG_AsPtr_std_string(obj2, &ptr);
111605  if (!SWIG_IsOK(res) || !ptr) {
111606  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdFont_Save" "', argument " "3"" of type '" "std::string""'");
111607  }
111608  arg3 = *ptr;
111609  if (SWIG_IsNewObj(res)) delete ptr;
111610  }
111611  (arg1)->Save(*arg2,arg3);
111612  resultobj = SWIG_Py_Void();
111613  return resultobj;
111614 fail:
111615  return NULL;
111616 }
111617 
111618 
111619 SWIGINTERN PyObject *CStdFont_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111620  PyObject *obj;
111621  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
111622  SWIG_TypeNewClientData(SWIGTYPE_p_StdUtils__CStdFont, SWIG_NewClientData(obj));
111623  return SWIG_Py_Void();
111624 }
111625 
111626 SWIGINTERN PyObject *_wrap_CStdVariable_m_strVariable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111627  PyObject *resultobj = 0;
111629  std::string *arg2 = 0 ;
111630  void *argp1 = 0 ;
111631  int res1 = 0 ;
111632  int res2 = SWIG_OLDOBJ ;
111633  PyObject * obj0 = 0 ;
111634  PyObject * obj1 = 0 ;
111635 
111636  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariable_m_strVariable_set",&obj0,&obj1)) SWIG_fail;
111637  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
111638  if (!SWIG_IsOK(res1)) {
111639  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariable_m_strVariable_set" "', argument " "1"" of type '" "StdUtils::CStdVariable *""'");
111640  }
111641  arg1 = reinterpret_cast< StdUtils::CStdVariable * >(argp1);
111642  {
111643  std::string *ptr = (std::string *)0;
111644  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
111645  if (!SWIG_IsOK(res2)) {
111646  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariable_m_strVariable_set" "', argument " "2"" of type '" "std::string const &""'");
111647  }
111648  if (!ptr) {
111649  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdVariable_m_strVariable_set" "', argument " "2"" of type '" "std::string const &""'");
111650  }
111651  arg2 = ptr;
111652  }
111653  if (arg1) (arg1)->m_strVariable = *arg2;
111654  resultobj = SWIG_Py_Void();
111655  if (SWIG_IsNewObj(res2)) delete arg2;
111656  return resultobj;
111657 fail:
111658  if (SWIG_IsNewObj(res2)) delete arg2;
111659  return NULL;
111660 }
111661 
111662 
111663 SWIGINTERN PyObject *_wrap_CStdVariable_m_strVariable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111664  PyObject *resultobj = 0;
111666  void *argp1 = 0 ;
111667  int res1 = 0 ;
111668  PyObject * obj0 = 0 ;
111669  std::string *result = 0 ;
111670 
111671  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariable_m_strVariable_get",&obj0)) SWIG_fail;
111672  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
111673  if (!SWIG_IsOK(res1)) {
111674  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariable_m_strVariable_get" "', argument " "1"" of type '" "StdUtils::CStdVariable *""'");
111675  }
111676  arg1 = reinterpret_cast< StdUtils::CStdVariable * >(argp1);
111677  result = (std::string *) & ((arg1)->m_strVariable);
111678  resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
111679  return resultobj;
111680 fail:
111681  return NULL;
111682 }
111683 
111684 
111685 SWIGINTERN PyObject *_wrap_CStdVariable_m_dblValue_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111686  PyObject *resultobj = 0;
111688  double arg2 ;
111689  void *argp1 = 0 ;
111690  int res1 = 0 ;
111691  double val2 ;
111692  int ecode2 = 0 ;
111693  PyObject * obj0 = 0 ;
111694  PyObject * obj1 = 0 ;
111695 
111696  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariable_m_dblValue_set",&obj0,&obj1)) SWIG_fail;
111697  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
111698  if (!SWIG_IsOK(res1)) {
111699  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariable_m_dblValue_set" "', argument " "1"" of type '" "StdUtils::CStdVariable *""'");
111700  }
111701  arg1 = reinterpret_cast< StdUtils::CStdVariable * >(argp1);
111702  ecode2 = SWIG_AsVal_double(obj1, &val2);
111703  if (!SWIG_IsOK(ecode2)) {
111704  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariable_m_dblValue_set" "', argument " "2"" of type '" "double""'");
111705  }
111706  arg2 = static_cast< double >(val2);
111707  if (arg1) (arg1)->m_dblValue = arg2;
111708  resultobj = SWIG_Py_Void();
111709  return resultobj;
111710 fail:
111711  return NULL;
111712 }
111713 
111714 
111715 SWIGINTERN PyObject *_wrap_CStdVariable_m_dblValue_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111716  PyObject *resultobj = 0;
111718  void *argp1 = 0 ;
111719  int res1 = 0 ;
111720  PyObject * obj0 = 0 ;
111721  double result;
111722 
111723  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariable_m_dblValue_get",&obj0)) SWIG_fail;
111724  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariable, 0 | 0 );
111725  if (!SWIG_IsOK(res1)) {
111726  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariable_m_dblValue_get" "', argument " "1"" of type '" "StdUtils::CStdVariable *""'");
111727  }
111728  arg1 = reinterpret_cast< StdUtils::CStdVariable * >(argp1);
111729  result = (double) ((arg1)->m_dblValue);
111730  resultobj = SWIG_From_double(static_cast< double >(result));
111731  return resultobj;
111732 fail:
111733  return NULL;
111734 }
111735 
111736 
111737 SWIGINTERN PyObject *_wrap_new_CStdVariable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111738  PyObject *resultobj = 0;
111739  StdUtils::CStdVariable *result = 0 ;
111740 
111741  if (!PyArg_ParseTuple(args,(char *)":new_CStdVariable")) SWIG_fail;
111743  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdVariable, SWIG_POINTER_NEW | 0 );
111744  return resultobj;
111745 fail:
111746  return NULL;
111747 }
111748 
111749 
111750 SWIGINTERN PyObject *_wrap_delete_CStdVariable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111751  PyObject *resultobj = 0;
111753  void *argp1 = 0 ;
111754  int res1 = 0 ;
111755  PyObject * obj0 = 0 ;
111756 
111757  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdVariable",&obj0)) SWIG_fail;
111758  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariable, SWIG_POINTER_DISOWN | 0 );
111759  if (!SWIG_IsOK(res1)) {
111760  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdVariable" "', argument " "1"" of type '" "StdUtils::CStdVariable *""'");
111761  }
111762  arg1 = reinterpret_cast< StdUtils::CStdVariable * >(argp1);
111763  delete arg1;
111764  resultobj = SWIG_Py_Void();
111765  return resultobj;
111766 fail:
111767  return NULL;
111768 }
111769 
111770 
111771 SWIGINTERN PyObject *CStdVariable_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111772  PyObject *obj;
111773  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
111774  SWIG_TypeNewClientData(SWIGTYPE_p_StdUtils__CStdVariable, SWIG_NewClientData(obj));
111775  return SWIG_Py_Void();
111776 }
111777 
111778 SWIGINTERN PyObject *_wrap_new_CStdPostFixEval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111779  PyObject *resultobj = 0;
111780  StdUtils::CStdPostFixEval *result = 0 ;
111781 
111782  if (!PyArg_ParseTuple(args,(char *)":new_CStdPostFixEval")) SWIG_fail;
111784  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdPostFixEval, SWIG_POINTER_NEW | 0 );
111785  return resultobj;
111786 fail:
111787  return NULL;
111788 }
111789 
111790 
111791 SWIGINTERN PyObject *_wrap_delete_CStdPostFixEval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111792  PyObject *resultobj = 0;
111794  void *argp1 = 0 ;
111795  int res1 = 0 ;
111796  PyObject * obj0 = 0 ;
111797 
111798  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPostFixEval",&obj0)) SWIG_fail;
111799  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPostFixEval, SWIG_POINTER_DISOWN | 0 );
111800  if (!SWIG_IsOK(res1)) {
111801  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPostFixEval" "', argument " "1"" of type '" "StdUtils::CStdPostFixEval *""'");
111802  }
111803  arg1 = reinterpret_cast< StdUtils::CStdPostFixEval * >(argp1);
111804  delete arg1;
111805  resultobj = SWIG_Py_Void();
111806  return resultobj;
111807 fail:
111808  return NULL;
111809 }
111810 
111811 
111812 SWIGINTERN PyObject *_wrap_CStdPostFixEval_AddVariable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111813  PyObject *resultobj = 0;
111815  std::string arg2 ;
111816  void *argp1 = 0 ;
111817  int res1 = 0 ;
111818  PyObject * obj0 = 0 ;
111819  PyObject * obj1 = 0 ;
111820 
111821  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPostFixEval_AddVariable",&obj0,&obj1)) SWIG_fail;
111822  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPostFixEval, 0 | 0 );
111823  if (!SWIG_IsOK(res1)) {
111824  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPostFixEval_AddVariable" "', argument " "1"" of type '" "StdUtils::CStdPostFixEval *""'");
111825  }
111826  arg1 = reinterpret_cast< StdUtils::CStdPostFixEval * >(argp1);
111827  {
111828  std::string *ptr = (std::string *)0;
111829  int res = SWIG_AsPtr_std_string(obj1, &ptr);
111830  if (!SWIG_IsOK(res) || !ptr) {
111831  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdPostFixEval_AddVariable" "', argument " "2"" of type '" "std::string""'");
111832  }
111833  arg2 = *ptr;
111834  if (SWIG_IsNewObj(res)) delete ptr;
111835  }
111836  (arg1)->AddVariable(arg2);
111837  resultobj = SWIG_Py_Void();
111838  return resultobj;
111839 fail:
111840  return NULL;
111841 }
111842 
111843 
111844 SWIGINTERN PyObject *_wrap_CStdPostFixEval_SetVariable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111845  PyObject *resultobj = 0;
111847  std::string arg2 ;
111848  double arg3 ;
111849  void *argp1 = 0 ;
111850  int res1 = 0 ;
111851  double val3 ;
111852  int ecode3 = 0 ;
111853  PyObject * obj0 = 0 ;
111854  PyObject * obj1 = 0 ;
111855  PyObject * obj2 = 0 ;
111856 
111857  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPostFixEval_SetVariable",&obj0,&obj1,&obj2)) SWIG_fail;
111858  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPostFixEval, 0 | 0 );
111859  if (!SWIG_IsOK(res1)) {
111860  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPostFixEval_SetVariable" "', argument " "1"" of type '" "StdUtils::CStdPostFixEval *""'");
111861  }
111862  arg1 = reinterpret_cast< StdUtils::CStdPostFixEval * >(argp1);
111863  {
111864  std::string *ptr = (std::string *)0;
111865  int res = SWIG_AsPtr_std_string(obj1, &ptr);
111866  if (!SWIG_IsOK(res) || !ptr) {
111867  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdPostFixEval_SetVariable" "', argument " "2"" of type '" "std::string""'");
111868  }
111869  arg2 = *ptr;
111870  if (SWIG_IsNewObj(res)) delete ptr;
111871  }
111872  ecode3 = SWIG_AsVal_double(obj2, &val3);
111873  if (!SWIG_IsOK(ecode3)) {
111874  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdPostFixEval_SetVariable" "', argument " "3"" of type '" "double""'");
111875  }
111876  arg3 = static_cast< double >(val3);
111877  (arg1)->SetVariable(arg2,arg3);
111878  resultobj = SWIG_Py_Void();
111879  return resultobj;
111880 fail:
111881  return NULL;
111882 }
111883 
111884 
111885 SWIGINTERN PyObject *_wrap_CStdPostFixEval_Solution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111886  PyObject *resultobj = 0;
111888  void *argp1 = 0 ;
111889  int res1 = 0 ;
111890  PyObject * obj0 = 0 ;
111891  double result;
111892 
111893  if (!PyArg_ParseTuple(args,(char *)"O:CStdPostFixEval_Solution",&obj0)) SWIG_fail;
111894  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPostFixEval, 0 | 0 );
111895  if (!SWIG_IsOK(res1)) {
111896  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPostFixEval_Solution" "', argument " "1"" of type '" "StdUtils::CStdPostFixEval *""'");
111897  }
111898  arg1 = reinterpret_cast< StdUtils::CStdPostFixEval * >(argp1);
111899  result = (double)(arg1)->Solution();
111900  resultobj = SWIG_From_double(static_cast< double >(result));
111901  return resultobj;
111902 fail:
111903  return NULL;
111904 }
111905 
111906 
111907 SWIGINTERN PyObject *_wrap_CStdPostFixEval_Equation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111908  PyObject *resultobj = 0;
111910  std::string arg2 ;
111911  void *argp1 = 0 ;
111912  int res1 = 0 ;
111913  PyObject * obj0 = 0 ;
111914  PyObject * obj1 = 0 ;
111915 
111916  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPostFixEval_Equation",&obj0,&obj1)) SWIG_fail;
111917  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPostFixEval, 0 | 0 );
111918  if (!SWIG_IsOK(res1)) {
111919  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPostFixEval_Equation" "', argument " "1"" of type '" "StdUtils::CStdPostFixEval *""'");
111920  }
111921  arg1 = reinterpret_cast< StdUtils::CStdPostFixEval * >(argp1);
111922  {
111923  std::string *ptr = (std::string *)0;
111924  int res = SWIG_AsPtr_std_string(obj1, &ptr);
111925  if (!SWIG_IsOK(res) || !ptr) {
111926  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdPostFixEval_Equation" "', argument " "2"" of type '" "std::string""'");
111927  }
111928  arg2 = *ptr;
111929  if (SWIG_IsNewObj(res)) delete ptr;
111930  }
111931  (arg1)->Equation(arg2);
111932  resultobj = SWIG_Py_Void();
111933  return resultobj;
111934 fail:
111935  return NULL;
111936 }
111937 
111938 
111939 SWIGINTERN PyObject *_wrap_CStdPostFixEval_Equation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
111940  PyObject *resultobj = 0;
111942  void *argp1 = 0 ;
111943  int res1 = 0 ;
111944  PyObject * obj0 = 0 ;
111945  std::string result;
111946 
111947  if (!PyArg_ParseTuple(args,(char *)"O:CStdPostFixEval_Equation",&obj0)) SWIG_fail;
111948  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPostFixEval, 0 | 0 );
111949  if (!SWIG_IsOK(res1)) {
111950  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPostFixEval_Equation" "', argument " "1"" of type '" "StdUtils::CStdPostFixEval *""'");
111951  }
111952  arg1 = reinterpret_cast< StdUtils::CStdPostFixEval * >(argp1);
111953  result = (arg1)->Equation();
111954  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
111955  return resultobj;
111956 fail:
111957  return NULL;
111958 }
111959 
111960 
111961 SWIGINTERN PyObject *_wrap_CStdPostFixEval_Equation(PyObject *self, PyObject *args) {
111962  int argc;
111963  PyObject *argv[3];
111964  int ii;
111965 
111966  if (!PyTuple_Check(args)) SWIG_fail;
111967  argc = args ? (int)PyObject_Length(args) : 0;
111968  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
111969  argv[ii] = PyTuple_GET_ITEM(args,ii);
111970  }
111971  if (argc == 1) {
111972  int _v;
111973  void *vptr = 0;
111974  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPostFixEval, 0);
111975  _v = SWIG_CheckState(res);
111976  if (_v) {
111977  return _wrap_CStdPostFixEval_Equation__SWIG_1(self, args);
111978  }
111979  }
111980  if (argc == 2) {
111981  int _v;
111982  void *vptr = 0;
111983  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPostFixEval, 0);
111984  _v = SWIG_CheckState(res);
111985  if (_v) {
111986  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
111987  _v = SWIG_CheckState(res);
111988  if (_v) {
111989  return _wrap_CStdPostFixEval_Equation__SWIG_0(self, args);
111990  }
111991  }
111992  }
111993 
111994 fail:
111995  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPostFixEval_Equation'.\n"
111996  " Possible C/C++ prototypes are:\n"
111997  " StdUtils::CStdPostFixEval::Equation(std::string)\n"
111998  " StdUtils::CStdPostFixEval::Equation()\n");
111999  return 0;
112000 }
112001 
112002 
112003 SWIGINTERN PyObject *_wrap_CStdPostFixEval_Solve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112004  PyObject *resultobj = 0;
112006  void *argp1 = 0 ;
112007  int res1 = 0 ;
112008  PyObject * obj0 = 0 ;
112009  double result;
112010 
112011  if (!PyArg_ParseTuple(args,(char *)"O:CStdPostFixEval_Solve",&obj0)) SWIG_fail;
112012  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPostFixEval, 0 | 0 );
112013  if (!SWIG_IsOK(res1)) {
112014  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPostFixEval_Solve" "', argument " "1"" of type '" "StdUtils::CStdPostFixEval *""'");
112015  }
112016  arg1 = reinterpret_cast< StdUtils::CStdPostFixEval * >(argp1);
112017  result = (double)(arg1)->Solve();
112018  resultobj = SWIG_From_double(static_cast< double >(result));
112019  return resultobj;
112020 fail:
112021  return NULL;
112022 }
112023 
112024 
112025 SWIGINTERN PyObject *CStdPostFixEval_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112026  PyObject *obj;
112027  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
112028  SWIG_TypeNewClientData(SWIGTYPE_p_StdUtils__CStdPostFixEval, SWIG_NewClientData(obj));
112029  return SWIG_Py_Void();
112030 }
112031 
112032 SWIGINTERN PyObject *StdVtEmpty_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112033  PyObject *module;
112034  PyObject *d;
112035  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
112036  d = PyModule_GetDict(module);
112037  if (!d) return NULL;
112038  SWIG_Python_SetConstant(d, "StdVtEmpty",SWIG_From_int(static_cast< int >(StdUtils::StdVtEmpty)));
112039  return SWIG_Py_Void();
112040 }
112041 
112042 
112043 SWIGINTERN PyObject *StdVtShort_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112044  PyObject *module;
112045  PyObject *d;
112046  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
112047  d = PyModule_GetDict(module);
112048  if (!d) return NULL;
112049  SWIG_Python_SetConstant(d, "StdVtShort",SWIG_From_int(static_cast< int >(StdUtils::StdVtShort)));
112050  return SWIG_Py_Void();
112051 }
112052 
112053 
112054 SWIGINTERN PyObject *StdVtLong_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112055  PyObject *module;
112056  PyObject *d;
112057  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
112058  d = PyModule_GetDict(module);
112059  if (!d) return NULL;
112060  SWIG_Python_SetConstant(d, "StdVtLong",SWIG_From_int(static_cast< int >(StdUtils::StdVtLong)));
112061  return SWIG_Py_Void();
112062 }
112063 
112064 
112065 SWIGINTERN PyObject *StdVtFloat_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112066  PyObject *module;
112067  PyObject *d;
112068  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
112069  d = PyModule_GetDict(module);
112070  if (!d) return NULL;
112071  SWIG_Python_SetConstant(d, "StdVtFloat",SWIG_From_int(static_cast< int >(StdUtils::StdVtFloat)));
112072  return SWIG_Py_Void();
112073 }
112074 
112075 
112076 SWIGINTERN PyObject *StdVtDouble_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112077  PyObject *module;
112078  PyObject *d;
112079  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
112080  d = PyModule_GetDict(module);
112081  if (!d) return NULL;
112082  SWIG_Python_SetConstant(d, "StdVtDouble",SWIG_From_int(static_cast< int >(StdUtils::StdVtDouble)));
112083  return SWIG_Py_Void();
112084 }
112085 
112086 
112087 SWIGINTERN PyObject *StdVtBool_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112088  PyObject *module;
112089  PyObject *d;
112090  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
112091  d = PyModule_GetDict(module);
112092  if (!d) return NULL;
112093  SWIG_Python_SetConstant(d, "StdVtBool",SWIG_From_int(static_cast< int >(StdUtils::StdVtBool)));
112094  return SWIG_Py_Void();
112095 }
112096 
112097 
112098 SWIGINTERN PyObject *StdVtChar_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112099  PyObject *module;
112100  PyObject *d;
112101  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
112102  d = PyModule_GetDict(module);
112103  if (!d) return NULL;
112104  SWIG_Python_SetConstant(d, "StdVtChar",SWIG_From_int(static_cast< int >(StdUtils::StdVtChar)));
112105  return SWIG_Py_Void();
112106 }
112107 
112108 
112109 SWIGINTERN PyObject *StdVtUChar_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112110  PyObject *module;
112111  PyObject *d;
112112  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
112113  d = PyModule_GetDict(module);
112114  if (!d) return NULL;
112115  SWIG_Python_SetConstant(d, "StdVtUChar",SWIG_From_int(static_cast< int >(StdUtils::StdVtUChar)));
112116  return SWIG_Py_Void();
112117 }
112118 
112119 
112120 SWIGINTERN PyObject *StdVtUShort_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112121  PyObject *module;
112122  PyObject *d;
112123  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
112124  d = PyModule_GetDict(module);
112125  if (!d) return NULL;
112126  SWIG_Python_SetConstant(d, "StdVtUShort",SWIG_From_int(static_cast< int >(StdUtils::StdVtUShort)));
112127  return SWIG_Py_Void();
112128 }
112129 
112130 
112131 SWIGINTERN PyObject *StdVtULong_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112132  PyObject *module;
112133  PyObject *d;
112134  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
112135  d = PyModule_GetDict(module);
112136  if (!d) return NULL;
112137  SWIG_Python_SetConstant(d, "StdVtULong",SWIG_From_int(static_cast< int >(StdUtils::StdVtULong)));
112138  return SWIG_Py_Void();
112139 }
112140 
112141 
112142 SWIGINTERN PyObject *StdVtInt_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112143  PyObject *module;
112144  PyObject *d;
112145  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
112146  d = PyModule_GetDict(module);
112147  if (!d) return NULL;
112148  SWIG_Python_SetConstant(d, "StdVtInt",SWIG_From_int(static_cast< int >(StdUtils::StdVtInt)));
112149  return SWIG_Py_Void();
112150 }
112151 
112152 
112153 SWIGINTERN PyObject *StdVtUInt_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112154  PyObject *module;
112155  PyObject *d;
112156  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
112157  d = PyModule_GetDict(module);
112158  if (!d) return NULL;
112159  SWIG_Python_SetConstant(d, "StdVtUInt",SWIG_From_int(static_cast< int >(StdUtils::StdVtUInt)));
112160  return SWIG_Py_Void();
112161 }
112162 
112163 
112164 SWIGINTERN PyObject *StdVtString_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112165  PyObject *module;
112166  PyObject *d;
112167  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
112168  d = PyModule_GetDict(module);
112169  if (!d) return NULL;
112170  SWIG_Python_SetConstant(d, "StdVtString",SWIG_From_int(static_cast< int >(StdUtils::StdVtString)));
112171  return SWIG_Py_Void();
112172 }
112173 
112174 
112175 SWIGINTERN PyObject *_wrap_new_CStdVariant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112176  PyObject *resultobj = 0;
112177  StdUtils::CStdVariant *result = 0 ;
112178 
112179  if (!PyArg_ParseTuple(args,(char *)":new_CStdVariant")) SWIG_fail;
112180  result = (StdUtils::CStdVariant *)new StdUtils::CStdVariant();
112181  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdVariant, SWIG_POINTER_NEW | 0 );
112182  return resultobj;
112183 fail:
112184  return NULL;
112185 }
112186 
112187 
112188 SWIGINTERN PyObject *_wrap_delete_CStdVariant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112189  PyObject *resultobj = 0;
112191  void *argp1 = 0 ;
112192  int res1 = 0 ;
112193  PyObject * obj0 = 0 ;
112194 
112195  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdVariant",&obj0)) SWIG_fail;
112196  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, SWIG_POINTER_DISOWN | 0 );
112197  if (!SWIG_IsOK(res1)) {
112198  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdVariant" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112199  }
112200  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112201  delete arg1;
112202  resultobj = SWIG_Py_Void();
112203  return resultobj;
112204 fail:
112205  return NULL;
112206 }
112207 
112208 
112209 SWIGINTERN PyObject *_wrap_CStdVariant_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112210  PyObject *resultobj = 0;
112212  void *argp1 = 0 ;
112213  int res1 = 0 ;
112214  PyObject * obj0 = 0 ;
112215 
112216  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_Reset",&obj0)) SWIG_fail;
112217  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112218  if (!SWIG_IsOK(res1)) {
112219  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_Reset" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112220  }
112221  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112222  (arg1)->Reset();
112223  resultobj = SWIG_Py_Void();
112224  return resultobj;
112225 fail:
112226  return NULL;
112227 }
112228 
112229 
112230 SWIGINTERN PyObject *_wrap_CStdVariant_VariantType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112231  PyObject *resultobj = 0;
112233  void *argp1 = 0 ;
112234  int res1 = 0 ;
112235  PyObject * obj0 = 0 ;
112236  int result;
112237 
112238  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_VariantType",&obj0)) SWIG_fail;
112239  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112240  if (!SWIG_IsOK(res1)) {
112241  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_VariantType" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112242  }
112243  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112244  result = (int)(arg1)->VariantType();
112245  resultobj = SWIG_From_int(static_cast< int >(result));
112246  return resultobj;
112247 fail:
112248  return NULL;
112249 }
112250 
112251 
112252 SWIGINTERN PyObject *_wrap_CStdVariant_VariantTypeName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112253  PyObject *resultobj = 0;
112255  void *argp1 = 0 ;
112256  int res1 = 0 ;
112257  PyObject * obj0 = 0 ;
112258  std::string result;
112259 
112260  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_VariantTypeName",&obj0)) SWIG_fail;
112261  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112262  if (!SWIG_IsOK(res1)) {
112263  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_VariantTypeName" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112264  }
112265  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112266  result = (arg1)->VariantTypeName();
112267  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
112268  return resultobj;
112269 fail:
112270  return NULL;
112271 }
112272 
112273 
112274 SWIGINTERN PyObject *_wrap_CStdVariant_GetShort__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112275  PyObject *resultobj = 0;
112277  bool arg2 ;
112278  void *argp1 = 0 ;
112279  int res1 = 0 ;
112280  bool val2 ;
112281  int ecode2 = 0 ;
112282  PyObject * obj0 = 0 ;
112283  PyObject * obj1 = 0 ;
112284  short result;
112285 
112286  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_GetShort",&obj0,&obj1)) SWIG_fail;
112287  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112288  if (!SWIG_IsOK(res1)) {
112289  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetShort" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112290  }
112291  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112292  ecode2 = SWIG_AsVal_bool(obj1, &val2);
112293  if (!SWIG_IsOK(ecode2)) {
112294  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_GetShort" "', argument " "2"" of type '" "bool""'");
112295  }
112296  arg2 = static_cast< bool >(val2);
112297  result = (short)(arg1)->GetShort(arg2);
112298  resultobj = SWIG_From_short(static_cast< short >(result));
112299  return resultobj;
112300 fail:
112301  return NULL;
112302 }
112303 
112304 
112305 SWIGINTERN PyObject *_wrap_CStdVariant_GetShort__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112306  PyObject *resultobj = 0;
112308  void *argp1 = 0 ;
112309  int res1 = 0 ;
112310  PyObject * obj0 = 0 ;
112311  short result;
112312 
112313  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetShort",&obj0)) SWIG_fail;
112314  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112315  if (!SWIG_IsOK(res1)) {
112316  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetShort" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112317  }
112318  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112319  result = (short)(arg1)->GetShort();
112320  resultobj = SWIG_From_short(static_cast< short >(result));
112321  return resultobj;
112322 fail:
112323  return NULL;
112324 }
112325 
112326 
112327 SWIGINTERN PyObject *_wrap_CStdVariant_GetShort(PyObject *self, PyObject *args) {
112328  int argc;
112329  PyObject *argv[3];
112330  int ii;
112331 
112332  if (!PyTuple_Check(args)) SWIG_fail;
112333  argc = args ? (int)PyObject_Length(args) : 0;
112334  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
112335  argv[ii] = PyTuple_GET_ITEM(args,ii);
112336  }
112337  if (argc == 1) {
112338  int _v;
112339  void *vptr = 0;
112340  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
112341  _v = SWIG_CheckState(res);
112342  if (_v) {
112343  return _wrap_CStdVariant_GetShort__SWIG_1(self, args);
112344  }
112345  }
112346  if (argc == 2) {
112347  int _v;
112348  void *vptr = 0;
112349  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
112350  _v = SWIG_CheckState(res);
112351  if (_v) {
112352  {
112353  int res = SWIG_AsVal_bool(argv[1], NULL);
112354  _v = SWIG_CheckState(res);
112355  }
112356  if (_v) {
112357  return _wrap_CStdVariant_GetShort__SWIG_0(self, args);
112358  }
112359  }
112360  }
112361 
112362 fail:
112363  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdVariant_GetShort'.\n"
112364  " Possible C/C++ prototypes are:\n"
112365  " StdUtils::CStdVariant::GetShort(bool)\n"
112366  " StdUtils::CStdVariant::GetShort()\n");
112367  return 0;
112368 }
112369 
112370 
112371 SWIGINTERN PyObject *_wrap_CStdVariant_GetShortPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112372  PyObject *resultobj = 0;
112374  void *argp1 = 0 ;
112375  int res1 = 0 ;
112376  PyObject * obj0 = 0 ;
112377  short *result = 0 ;
112378 
112379  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetShortPtr",&obj0)) SWIG_fail;
112380  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112381  if (!SWIG_IsOK(res1)) {
112382  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetShortPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112383  }
112384  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112385  result = (short *)(arg1)->GetShortPtr();
112386  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 );
112387  return resultobj;
112388 fail:
112389  return NULL;
112390 }
112391 
112392 
112393 SWIGINTERN PyObject *_wrap_CStdVariant_SetValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112394  PyObject *resultobj = 0;
112396  short arg2 ;
112397  void *argp1 = 0 ;
112398  int res1 = 0 ;
112399  short val2 ;
112400  int ecode2 = 0 ;
112401  PyObject * obj0 = 0 ;
112402  PyObject * obj1 = 0 ;
112403 
112404  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetValue",&obj0,&obj1)) SWIG_fail;
112405  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112406  if (!SWIG_IsOK(res1)) {
112407  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetValue" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112408  }
112409  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112410  ecode2 = SWIG_AsVal_short(obj1, &val2);
112411  if (!SWIG_IsOK(ecode2)) {
112412  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_SetValue" "', argument " "2"" of type '" "short""'");
112413  }
112414  arg2 = static_cast< short >(val2);
112415  (arg1)->SetValue(arg2);
112416  resultobj = SWIG_Py_Void();
112417  return resultobj;
112418 fail:
112419  return NULL;
112420 }
112421 
112422 
112423 SWIGINTERN PyObject *_wrap_CStdVariant_SetPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112424  PyObject *resultobj = 0;
112426  short *arg2 = (short *) 0 ;
112427  void *argp1 = 0 ;
112428  int res1 = 0 ;
112429  void *argp2 = 0 ;
112430  int res2 = 0 ;
112431  PyObject * obj0 = 0 ;
112432  PyObject * obj1 = 0 ;
112433 
112434  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetPtr",&obj0,&obj1)) SWIG_fail;
112435  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112436  if (!SWIG_IsOK(res1)) {
112437  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112438  }
112439  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112440  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 | 0 );
112441  if (!SWIG_IsOK(res2)) {
112442  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_SetPtr" "', argument " "2"" of type '" "short *""'");
112443  }
112444  arg2 = reinterpret_cast< short * >(argp2);
112445  (arg1)->SetPtr(arg2);
112446  resultobj = SWIG_Py_Void();
112447  return resultobj;
112448 fail:
112449  return NULL;
112450 }
112451 
112452 
112453 SWIGINTERN PyObject *_wrap_CStdVariant_GetLong__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112454  PyObject *resultobj = 0;
112456  bool arg2 ;
112457  void *argp1 = 0 ;
112458  int res1 = 0 ;
112459  bool val2 ;
112460  int ecode2 = 0 ;
112461  PyObject * obj0 = 0 ;
112462  PyObject * obj1 = 0 ;
112463  long result;
112464 
112465  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_GetLong",&obj0,&obj1)) SWIG_fail;
112466  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112467  if (!SWIG_IsOK(res1)) {
112468  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetLong" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112469  }
112470  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112471  ecode2 = SWIG_AsVal_bool(obj1, &val2);
112472  if (!SWIG_IsOK(ecode2)) {
112473  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_GetLong" "', argument " "2"" of type '" "bool""'");
112474  }
112475  arg2 = static_cast< bool >(val2);
112476  result = (long)(arg1)->GetLong(arg2);
112477  resultobj = SWIG_From_long(static_cast< long >(result));
112478  return resultobj;
112479 fail:
112480  return NULL;
112481 }
112482 
112483 
112484 SWIGINTERN PyObject *_wrap_CStdVariant_GetLong__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112485  PyObject *resultobj = 0;
112487  void *argp1 = 0 ;
112488  int res1 = 0 ;
112489  PyObject * obj0 = 0 ;
112490  long result;
112491 
112492  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetLong",&obj0)) SWIG_fail;
112493  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112494  if (!SWIG_IsOK(res1)) {
112495  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetLong" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112496  }
112497  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112498  result = (long)(arg1)->GetLong();
112499  resultobj = SWIG_From_long(static_cast< long >(result));
112500  return resultobj;
112501 fail:
112502  return NULL;
112503 }
112504 
112505 
112506 SWIGINTERN PyObject *_wrap_CStdVariant_GetLong(PyObject *self, PyObject *args) {
112507  int argc;
112508  PyObject *argv[3];
112509  int ii;
112510 
112511  if (!PyTuple_Check(args)) SWIG_fail;
112512  argc = args ? (int)PyObject_Length(args) : 0;
112513  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
112514  argv[ii] = PyTuple_GET_ITEM(args,ii);
112515  }
112516  if (argc == 1) {
112517  int _v;
112518  void *vptr = 0;
112519  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
112520  _v = SWIG_CheckState(res);
112521  if (_v) {
112522  return _wrap_CStdVariant_GetLong__SWIG_1(self, args);
112523  }
112524  }
112525  if (argc == 2) {
112526  int _v;
112527  void *vptr = 0;
112528  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
112529  _v = SWIG_CheckState(res);
112530  if (_v) {
112531  {
112532  int res = SWIG_AsVal_bool(argv[1], NULL);
112533  _v = SWIG_CheckState(res);
112534  }
112535  if (_v) {
112536  return _wrap_CStdVariant_GetLong__SWIG_0(self, args);
112537  }
112538  }
112539  }
112540 
112541 fail:
112542  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdVariant_GetLong'.\n"
112543  " Possible C/C++ prototypes are:\n"
112544  " StdUtils::CStdVariant::GetLong(bool)\n"
112545  " StdUtils::CStdVariant::GetLong()\n");
112546  return 0;
112547 }
112548 
112549 
112550 SWIGINTERN PyObject *_wrap_CStdVariant_GetLongPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112551  PyObject *resultobj = 0;
112553  void *argp1 = 0 ;
112554  int res1 = 0 ;
112555  PyObject * obj0 = 0 ;
112556  long *result = 0 ;
112557 
112558  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetLongPtr",&obj0)) SWIG_fail;
112559  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112560  if (!SWIG_IsOK(res1)) {
112561  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetLongPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112562  }
112563  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112564  result = (long *)(arg1)->GetLongPtr();
112565  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long, 0 | 0 );
112566  return resultobj;
112567 fail:
112568  return NULL;
112569 }
112570 
112571 
112572 SWIGINTERN PyObject *_wrap_CStdVariant_SetValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112573  PyObject *resultobj = 0;
112575  long arg2 ;
112576  void *argp1 = 0 ;
112577  int res1 = 0 ;
112578  long val2 ;
112579  int ecode2 = 0 ;
112580  PyObject * obj0 = 0 ;
112581  PyObject * obj1 = 0 ;
112582 
112583  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetValue",&obj0,&obj1)) SWIG_fail;
112584  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112585  if (!SWIG_IsOK(res1)) {
112586  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetValue" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112587  }
112588  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112589  ecode2 = SWIG_AsVal_long(obj1, &val2);
112590  if (!SWIG_IsOK(ecode2)) {
112591  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_SetValue" "', argument " "2"" of type '" "long""'");
112592  }
112593  arg2 = static_cast< long >(val2);
112594  (arg1)->SetValue(arg2);
112595  resultobj = SWIG_Py_Void();
112596  return resultobj;
112597 fail:
112598  return NULL;
112599 }
112600 
112601 
112602 SWIGINTERN PyObject *_wrap_CStdVariant_SetPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112603  PyObject *resultobj = 0;
112605  long *arg2 = (long *) 0 ;
112606  void *argp1 = 0 ;
112607  int res1 = 0 ;
112608  void *argp2 = 0 ;
112609  int res2 = 0 ;
112610  PyObject * obj0 = 0 ;
112611  PyObject * obj1 = 0 ;
112612 
112613  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetPtr",&obj0,&obj1)) SWIG_fail;
112614  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112615  if (!SWIG_IsOK(res1)) {
112616  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112617  }
112618  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112619  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_long, 0 | 0 );
112620  if (!SWIG_IsOK(res2)) {
112621  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_SetPtr" "', argument " "2"" of type '" "long *""'");
112622  }
112623  arg2 = reinterpret_cast< long * >(argp2);
112624  (arg1)->SetPtr(arg2);
112625  resultobj = SWIG_Py_Void();
112626  return resultobj;
112627 fail:
112628  return NULL;
112629 }
112630 
112631 
112632 SWIGINTERN PyObject *_wrap_CStdVariant_GetFloat__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112633  PyObject *resultobj = 0;
112635  bool arg2 ;
112636  void *argp1 = 0 ;
112637  int res1 = 0 ;
112638  bool val2 ;
112639  int ecode2 = 0 ;
112640  PyObject * obj0 = 0 ;
112641  PyObject * obj1 = 0 ;
112642  float result;
112643 
112644  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_GetFloat",&obj0,&obj1)) SWIG_fail;
112645  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112646  if (!SWIG_IsOK(res1)) {
112647  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetFloat" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112648  }
112649  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112650  ecode2 = SWIG_AsVal_bool(obj1, &val2);
112651  if (!SWIG_IsOK(ecode2)) {
112652  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_GetFloat" "', argument " "2"" of type '" "bool""'");
112653  }
112654  arg2 = static_cast< bool >(val2);
112655  result = (float)(arg1)->GetFloat(arg2);
112656  resultobj = SWIG_From_float(static_cast< float >(result));
112657  return resultobj;
112658 fail:
112659  return NULL;
112660 }
112661 
112662 
112663 SWIGINTERN PyObject *_wrap_CStdVariant_GetFloat__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112664  PyObject *resultobj = 0;
112666  void *argp1 = 0 ;
112667  int res1 = 0 ;
112668  PyObject * obj0 = 0 ;
112669  float result;
112670 
112671  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetFloat",&obj0)) SWIG_fail;
112672  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112673  if (!SWIG_IsOK(res1)) {
112674  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetFloat" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112675  }
112676  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112677  result = (float)(arg1)->GetFloat();
112678  resultobj = SWIG_From_float(static_cast< float >(result));
112679  return resultobj;
112680 fail:
112681  return NULL;
112682 }
112683 
112684 
112685 SWIGINTERN PyObject *_wrap_CStdVariant_GetFloat(PyObject *self, PyObject *args) {
112686  int argc;
112687  PyObject *argv[3];
112688  int ii;
112689 
112690  if (!PyTuple_Check(args)) SWIG_fail;
112691  argc = args ? (int)PyObject_Length(args) : 0;
112692  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
112693  argv[ii] = PyTuple_GET_ITEM(args,ii);
112694  }
112695  if (argc == 1) {
112696  int _v;
112697  void *vptr = 0;
112698  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
112699  _v = SWIG_CheckState(res);
112700  if (_v) {
112701  return _wrap_CStdVariant_GetFloat__SWIG_1(self, args);
112702  }
112703  }
112704  if (argc == 2) {
112705  int _v;
112706  void *vptr = 0;
112707  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
112708  _v = SWIG_CheckState(res);
112709  if (_v) {
112710  {
112711  int res = SWIG_AsVal_bool(argv[1], NULL);
112712  _v = SWIG_CheckState(res);
112713  }
112714  if (_v) {
112715  return _wrap_CStdVariant_GetFloat__SWIG_0(self, args);
112716  }
112717  }
112718  }
112719 
112720 fail:
112721  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdVariant_GetFloat'.\n"
112722  " Possible C/C++ prototypes are:\n"
112723  " StdUtils::CStdVariant::GetFloat(bool)\n"
112724  " StdUtils::CStdVariant::GetFloat()\n");
112725  return 0;
112726 }
112727 
112728 
112729 SWIGINTERN PyObject *_wrap_CStdVariant_GetFloatPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112730  PyObject *resultobj = 0;
112732  void *argp1 = 0 ;
112733  int res1 = 0 ;
112734  PyObject * obj0 = 0 ;
112735  float *result = 0 ;
112736 
112737  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetFloatPtr",&obj0)) SWIG_fail;
112738  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112739  if (!SWIG_IsOK(res1)) {
112740  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetFloatPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112741  }
112742  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112743  result = (float *)(arg1)->GetFloatPtr();
112744  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
112745  return resultobj;
112746 fail:
112747  return NULL;
112748 }
112749 
112750 
112751 SWIGINTERN PyObject *_wrap_CStdVariant_SetValue__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112752  PyObject *resultobj = 0;
112754  float arg2 ;
112755  void *argp1 = 0 ;
112756  int res1 = 0 ;
112757  float val2 ;
112758  int ecode2 = 0 ;
112759  PyObject * obj0 = 0 ;
112760  PyObject * obj1 = 0 ;
112761 
112762  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetValue",&obj0,&obj1)) SWIG_fail;
112763  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112764  if (!SWIG_IsOK(res1)) {
112765  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetValue" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112766  }
112767  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112768  ecode2 = SWIG_AsVal_float(obj1, &val2);
112769  if (!SWIG_IsOK(ecode2)) {
112770  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_SetValue" "', argument " "2"" of type '" "float""'");
112771  }
112772  arg2 = static_cast< float >(val2);
112773  (arg1)->SetValue(arg2);
112774  resultobj = SWIG_Py_Void();
112775  return resultobj;
112776 fail:
112777  return NULL;
112778 }
112779 
112780 
112781 SWIGINTERN PyObject *_wrap_CStdVariant_SetPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112782  PyObject *resultobj = 0;
112784  float *arg2 = (float *) 0 ;
112785  void *argp1 = 0 ;
112786  int res1 = 0 ;
112787  void *argp2 = 0 ;
112788  int res2 = 0 ;
112789  PyObject * obj0 = 0 ;
112790  PyObject * obj1 = 0 ;
112791 
112792  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetPtr",&obj0,&obj1)) SWIG_fail;
112793  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112794  if (!SWIG_IsOK(res1)) {
112795  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112796  }
112797  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112798  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 );
112799  if (!SWIG_IsOK(res2)) {
112800  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_SetPtr" "', argument " "2"" of type '" "float *""'");
112801  }
112802  arg2 = reinterpret_cast< float * >(argp2);
112803  (arg1)->SetPtr(arg2);
112804  resultobj = SWIG_Py_Void();
112805  return resultobj;
112806 fail:
112807  return NULL;
112808 }
112809 
112810 
112811 SWIGINTERN PyObject *_wrap_CStdVariant_GetDouble__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112812  PyObject *resultobj = 0;
112814  bool arg2 ;
112815  void *argp1 = 0 ;
112816  int res1 = 0 ;
112817  bool val2 ;
112818  int ecode2 = 0 ;
112819  PyObject * obj0 = 0 ;
112820  PyObject * obj1 = 0 ;
112821  double result;
112822 
112823  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_GetDouble",&obj0,&obj1)) SWIG_fail;
112824  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112825  if (!SWIG_IsOK(res1)) {
112826  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetDouble" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112827  }
112828  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112829  ecode2 = SWIG_AsVal_bool(obj1, &val2);
112830  if (!SWIG_IsOK(ecode2)) {
112831  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_GetDouble" "', argument " "2"" of type '" "bool""'");
112832  }
112833  arg2 = static_cast< bool >(val2);
112834  result = (double)(arg1)->GetDouble(arg2);
112835  resultobj = SWIG_From_double(static_cast< double >(result));
112836  return resultobj;
112837 fail:
112838  return NULL;
112839 }
112840 
112841 
112842 SWIGINTERN PyObject *_wrap_CStdVariant_GetDouble__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112843  PyObject *resultobj = 0;
112845  void *argp1 = 0 ;
112846  int res1 = 0 ;
112847  PyObject * obj0 = 0 ;
112848  double result;
112849 
112850  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetDouble",&obj0)) SWIG_fail;
112851  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112852  if (!SWIG_IsOK(res1)) {
112853  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetDouble" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112854  }
112855  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112856  result = (double)(arg1)->GetDouble();
112857  resultobj = SWIG_From_double(static_cast< double >(result));
112858  return resultobj;
112859 fail:
112860  return NULL;
112861 }
112862 
112863 
112864 SWIGINTERN PyObject *_wrap_CStdVariant_GetDouble(PyObject *self, PyObject *args) {
112865  int argc;
112866  PyObject *argv[3];
112867  int ii;
112868 
112869  if (!PyTuple_Check(args)) SWIG_fail;
112870  argc = args ? (int)PyObject_Length(args) : 0;
112871  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
112872  argv[ii] = PyTuple_GET_ITEM(args,ii);
112873  }
112874  if (argc == 1) {
112875  int _v;
112876  void *vptr = 0;
112877  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
112878  _v = SWIG_CheckState(res);
112879  if (_v) {
112880  return _wrap_CStdVariant_GetDouble__SWIG_1(self, args);
112881  }
112882  }
112883  if (argc == 2) {
112884  int _v;
112885  void *vptr = 0;
112886  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
112887  _v = SWIG_CheckState(res);
112888  if (_v) {
112889  {
112890  int res = SWIG_AsVal_bool(argv[1], NULL);
112891  _v = SWIG_CheckState(res);
112892  }
112893  if (_v) {
112894  return _wrap_CStdVariant_GetDouble__SWIG_0(self, args);
112895  }
112896  }
112897  }
112898 
112899 fail:
112900  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdVariant_GetDouble'.\n"
112901  " Possible C/C++ prototypes are:\n"
112902  " StdUtils::CStdVariant::GetDouble(bool)\n"
112903  " StdUtils::CStdVariant::GetDouble()\n");
112904  return 0;
112905 }
112906 
112907 
112908 SWIGINTERN PyObject *_wrap_CStdVariant_GetDoublePtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112909  PyObject *resultobj = 0;
112911  void *argp1 = 0 ;
112912  int res1 = 0 ;
112913  PyObject * obj0 = 0 ;
112914  double *result = 0 ;
112915 
112916  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetDoublePtr",&obj0)) SWIG_fail;
112917  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112918  if (!SWIG_IsOK(res1)) {
112919  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetDoublePtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112920  }
112921  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112922  result = (double *)(arg1)->GetDoublePtr();
112923  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
112924  return resultobj;
112925 fail:
112926  return NULL;
112927 }
112928 
112929 
112930 SWIGINTERN PyObject *_wrap_CStdVariant_SetValue__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112931  PyObject *resultobj = 0;
112933  double arg2 ;
112934  void *argp1 = 0 ;
112935  int res1 = 0 ;
112936  double val2 ;
112937  int ecode2 = 0 ;
112938  PyObject * obj0 = 0 ;
112939  PyObject * obj1 = 0 ;
112940 
112941  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetValue",&obj0,&obj1)) SWIG_fail;
112942  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112943  if (!SWIG_IsOK(res1)) {
112944  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetValue" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112945  }
112946  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112947  ecode2 = SWIG_AsVal_double(obj1, &val2);
112948  if (!SWIG_IsOK(ecode2)) {
112949  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_SetValue" "', argument " "2"" of type '" "double""'");
112950  }
112951  arg2 = static_cast< double >(val2);
112952  (arg1)->SetValue(arg2);
112953  resultobj = SWIG_Py_Void();
112954  return resultobj;
112955 fail:
112956  return NULL;
112957 }
112958 
112959 
112960 SWIGINTERN PyObject *_wrap_CStdVariant_SetPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112961  PyObject *resultobj = 0;
112963  double *arg2 = (double *) 0 ;
112964  void *argp1 = 0 ;
112965  int res1 = 0 ;
112966  void *argp2 = 0 ;
112967  int res2 = 0 ;
112968  PyObject * obj0 = 0 ;
112969  PyObject * obj1 = 0 ;
112970 
112971  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetPtr",&obj0,&obj1)) SWIG_fail;
112972  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
112973  if (!SWIG_IsOK(res1)) {
112974  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
112975  }
112976  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
112977  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 );
112978  if (!SWIG_IsOK(res2)) {
112979  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_SetPtr" "', argument " "2"" of type '" "double *""'");
112980  }
112981  arg2 = reinterpret_cast< double * >(argp2);
112982  (arg1)->SetPtr(arg2);
112983  resultobj = SWIG_Py_Void();
112984  return resultobj;
112985 fail:
112986  return NULL;
112987 }
112988 
112989 
112990 SWIGINTERN PyObject *_wrap_CStdVariant_GetBool__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
112991  PyObject *resultobj = 0;
112993  bool arg2 ;
112994  void *argp1 = 0 ;
112995  int res1 = 0 ;
112996  bool val2 ;
112997  int ecode2 = 0 ;
112998  PyObject * obj0 = 0 ;
112999  PyObject * obj1 = 0 ;
113000  bool result;
113001 
113002  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_GetBool",&obj0,&obj1)) SWIG_fail;
113003  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113004  if (!SWIG_IsOK(res1)) {
113005  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetBool" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113006  }
113007  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113008  ecode2 = SWIG_AsVal_bool(obj1, &val2);
113009  if (!SWIG_IsOK(ecode2)) {
113010  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_GetBool" "', argument " "2"" of type '" "bool""'");
113011  }
113012  arg2 = static_cast< bool >(val2);
113013  result = (bool)(arg1)->GetBool(arg2);
113014  resultobj = SWIG_From_bool(static_cast< bool >(result));
113015  return resultobj;
113016 fail:
113017  return NULL;
113018 }
113019 
113020 
113021 SWIGINTERN PyObject *_wrap_CStdVariant_GetBool__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113022  PyObject *resultobj = 0;
113024  void *argp1 = 0 ;
113025  int res1 = 0 ;
113026  PyObject * obj0 = 0 ;
113027  bool result;
113028 
113029  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetBool",&obj0)) SWIG_fail;
113030  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113031  if (!SWIG_IsOK(res1)) {
113032  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetBool" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113033  }
113034  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113035  result = (bool)(arg1)->GetBool();
113036  resultobj = SWIG_From_bool(static_cast< bool >(result));
113037  return resultobj;
113038 fail:
113039  return NULL;
113040 }
113041 
113042 
113043 SWIGINTERN PyObject *_wrap_CStdVariant_GetBool(PyObject *self, PyObject *args) {
113044  int argc;
113045  PyObject *argv[3];
113046  int ii;
113047 
113048  if (!PyTuple_Check(args)) SWIG_fail;
113049  argc = args ? (int)PyObject_Length(args) : 0;
113050  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
113051  argv[ii] = PyTuple_GET_ITEM(args,ii);
113052  }
113053  if (argc == 1) {
113054  int _v;
113055  void *vptr = 0;
113056  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
113057  _v = SWIG_CheckState(res);
113058  if (_v) {
113059  return _wrap_CStdVariant_GetBool__SWIG_1(self, args);
113060  }
113061  }
113062  if (argc == 2) {
113063  int _v;
113064  void *vptr = 0;
113065  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
113066  _v = SWIG_CheckState(res);
113067  if (_v) {
113068  {
113069  int res = SWIG_AsVal_bool(argv[1], NULL);
113070  _v = SWIG_CheckState(res);
113071  }
113072  if (_v) {
113073  return _wrap_CStdVariant_GetBool__SWIG_0(self, args);
113074  }
113075  }
113076  }
113077 
113078 fail:
113079  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdVariant_GetBool'.\n"
113080  " Possible C/C++ prototypes are:\n"
113081  " StdUtils::CStdVariant::GetBool(bool)\n"
113082  " StdUtils::CStdVariant::GetBool()\n");
113083  return 0;
113084 }
113085 
113086 
113087 SWIGINTERN PyObject *_wrap_CStdVariant_GetBoolPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113088  PyObject *resultobj = 0;
113090  void *argp1 = 0 ;
113091  int res1 = 0 ;
113092  PyObject * obj0 = 0 ;
113093  bool *result = 0 ;
113094 
113095  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetBoolPtr",&obj0)) SWIG_fail;
113096  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113097  if (!SWIG_IsOK(res1)) {
113098  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetBoolPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113099  }
113100  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113101  result = (bool *)(arg1)->GetBoolPtr();
113102  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bool, 0 | 0 );
113103  return resultobj;
113104 fail:
113105  return NULL;
113106 }
113107 
113108 
113109 SWIGINTERN PyObject *_wrap_CStdVariant_SetValue__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113110  PyObject *resultobj = 0;
113112  bool arg2 ;
113113  void *argp1 = 0 ;
113114  int res1 = 0 ;
113115  bool val2 ;
113116  int ecode2 = 0 ;
113117  PyObject * obj0 = 0 ;
113118  PyObject * obj1 = 0 ;
113119 
113120  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetValue",&obj0,&obj1)) SWIG_fail;
113121  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113122  if (!SWIG_IsOK(res1)) {
113123  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetValue" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113124  }
113125  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113126  ecode2 = SWIG_AsVal_bool(obj1, &val2);
113127  if (!SWIG_IsOK(ecode2)) {
113128  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_SetValue" "', argument " "2"" of type '" "bool""'");
113129  }
113130  arg2 = static_cast< bool >(val2);
113131  (arg1)->SetValue(arg2);
113132  resultobj = SWIG_Py_Void();
113133  return resultobj;
113134 fail:
113135  return NULL;
113136 }
113137 
113138 
113139 SWIGINTERN PyObject *_wrap_CStdVariant_SetPtr__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113140  PyObject *resultobj = 0;
113142  bool *arg2 = (bool *) 0 ;
113143  void *argp1 = 0 ;
113144  int res1 = 0 ;
113145  void *argp2 = 0 ;
113146  int res2 = 0 ;
113147  PyObject * obj0 = 0 ;
113148  PyObject * obj1 = 0 ;
113149 
113150  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetPtr",&obj0,&obj1)) SWIG_fail;
113151  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113152  if (!SWIG_IsOK(res1)) {
113153  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113154  }
113155  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113156  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_bool, 0 | 0 );
113157  if (!SWIG_IsOK(res2)) {
113158  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_SetPtr" "', argument " "2"" of type '" "bool *""'");
113159  }
113160  arg2 = reinterpret_cast< bool * >(argp2);
113161  (arg1)->SetPtr(arg2);
113162  resultobj = SWIG_Py_Void();
113163  return resultobj;
113164 fail:
113165  return NULL;
113166 }
113167 
113168 
113169 SWIGINTERN PyObject *_wrap_CStdVariant_GetChar__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113170  PyObject *resultobj = 0;
113172  bool arg2 ;
113173  void *argp1 = 0 ;
113174  int res1 = 0 ;
113175  bool val2 ;
113176  int ecode2 = 0 ;
113177  PyObject * obj0 = 0 ;
113178  PyObject * obj1 = 0 ;
113179  char result;
113180 
113181  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_GetChar",&obj0,&obj1)) SWIG_fail;
113182  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113183  if (!SWIG_IsOK(res1)) {
113184  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetChar" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113185  }
113186  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113187  ecode2 = SWIG_AsVal_bool(obj1, &val2);
113188  if (!SWIG_IsOK(ecode2)) {
113189  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_GetChar" "', argument " "2"" of type '" "bool""'");
113190  }
113191  arg2 = static_cast< bool >(val2);
113192  result = (char)(arg1)->GetChar(arg2);
113193  resultobj = SWIG_From_char(static_cast< char >(result));
113194  return resultobj;
113195 fail:
113196  return NULL;
113197 }
113198 
113199 
113200 SWIGINTERN PyObject *_wrap_CStdVariant_GetChar__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113201  PyObject *resultobj = 0;
113203  void *argp1 = 0 ;
113204  int res1 = 0 ;
113205  PyObject * obj0 = 0 ;
113206  char result;
113207 
113208  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetChar",&obj0)) SWIG_fail;
113209  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113210  if (!SWIG_IsOK(res1)) {
113211  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetChar" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113212  }
113213  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113214  result = (char)(arg1)->GetChar();
113215  resultobj = SWIG_From_char(static_cast< char >(result));
113216  return resultobj;
113217 fail:
113218  return NULL;
113219 }
113220 
113221 
113222 SWIGINTERN PyObject *_wrap_CStdVariant_GetChar(PyObject *self, PyObject *args) {
113223  int argc;
113224  PyObject *argv[3];
113225  int ii;
113226 
113227  if (!PyTuple_Check(args)) SWIG_fail;
113228  argc = args ? (int)PyObject_Length(args) : 0;
113229  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
113230  argv[ii] = PyTuple_GET_ITEM(args,ii);
113231  }
113232  if (argc == 1) {
113233  int _v;
113234  void *vptr = 0;
113235  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
113236  _v = SWIG_CheckState(res);
113237  if (_v) {
113238  return _wrap_CStdVariant_GetChar__SWIG_1(self, args);
113239  }
113240  }
113241  if (argc == 2) {
113242  int _v;
113243  void *vptr = 0;
113244  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
113245  _v = SWIG_CheckState(res);
113246  if (_v) {
113247  {
113248  int res = SWIG_AsVal_bool(argv[1], NULL);
113249  _v = SWIG_CheckState(res);
113250  }
113251  if (_v) {
113252  return _wrap_CStdVariant_GetChar__SWIG_0(self, args);
113253  }
113254  }
113255  }
113256 
113257 fail:
113258  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdVariant_GetChar'.\n"
113259  " Possible C/C++ prototypes are:\n"
113260  " StdUtils::CStdVariant::GetChar(bool)\n"
113261  " StdUtils::CStdVariant::GetChar()\n");
113262  return 0;
113263 }
113264 
113265 
113266 SWIGINTERN PyObject *_wrap_CStdVariant_GetCharPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113267  PyObject *resultobj = 0;
113269  void *argp1 = 0 ;
113270  int res1 = 0 ;
113271  PyObject * obj0 = 0 ;
113272  char *result = 0 ;
113273 
113274  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetCharPtr",&obj0)) SWIG_fail;
113275  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113276  if (!SWIG_IsOK(res1)) {
113277  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetCharPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113278  }
113279  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113280  result = (char *)(arg1)->GetCharPtr();
113281  resultobj = SWIG_FromCharPtr((const char *)result);
113282  return resultobj;
113283 fail:
113284  return NULL;
113285 }
113286 
113287 
113288 SWIGINTERN PyObject *_wrap_CStdVariant_SetValue__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113289  PyObject *resultobj = 0;
113291  char arg2 ;
113292  void *argp1 = 0 ;
113293  int res1 = 0 ;
113294  char val2 ;
113295  int ecode2 = 0 ;
113296  PyObject * obj0 = 0 ;
113297  PyObject * obj1 = 0 ;
113298 
113299  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetValue",&obj0,&obj1)) SWIG_fail;
113300  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113301  if (!SWIG_IsOK(res1)) {
113302  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetValue" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113303  }
113304  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113305  ecode2 = SWIG_AsVal_char(obj1, &val2);
113306  if (!SWIG_IsOK(ecode2)) {
113307  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_SetValue" "', argument " "2"" of type '" "char""'");
113308  }
113309  arg2 = static_cast< char >(val2);
113310  (arg1)->SetValue(arg2);
113311  resultobj = SWIG_Py_Void();
113312  return resultobj;
113313 fail:
113314  return NULL;
113315 }
113316 
113317 
113318 SWIGINTERN PyObject *_wrap_CStdVariant_SetPtr__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113319  PyObject *resultobj = 0;
113321  char *arg2 = (char *) 0 ;
113322  void *argp1 = 0 ;
113323  int res1 = 0 ;
113324  int res2 ;
113325  char *buf2 = 0 ;
113326  int alloc2 = 0 ;
113327  PyObject * obj0 = 0 ;
113328  PyObject * obj1 = 0 ;
113329 
113330  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetPtr",&obj0,&obj1)) SWIG_fail;
113331  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113332  if (!SWIG_IsOK(res1)) {
113333  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113334  }
113335  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113336  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
113337  if (!SWIG_IsOK(res2)) {
113338  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_SetPtr" "', argument " "2"" of type '" "char *""'");
113339  }
113340  arg2 = reinterpret_cast< char * >(buf2);
113341  (arg1)->SetPtr(arg2);
113342  resultobj = SWIG_Py_Void();
113343  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
113344  return resultobj;
113345 fail:
113346  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
113347  return NULL;
113348 }
113349 
113350 
113351 SWIGINTERN PyObject *_wrap_CStdVariant_GetUChar__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113352  PyObject *resultobj = 0;
113354  bool arg2 ;
113355  void *argp1 = 0 ;
113356  int res1 = 0 ;
113357  bool val2 ;
113358  int ecode2 = 0 ;
113359  PyObject * obj0 = 0 ;
113360  PyObject * obj1 = 0 ;
113361  unsigned char result;
113362 
113363  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_GetUChar",&obj0,&obj1)) SWIG_fail;
113364  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113365  if (!SWIG_IsOK(res1)) {
113366  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetUChar" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113367  }
113368  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113369  ecode2 = SWIG_AsVal_bool(obj1, &val2);
113370  if (!SWIG_IsOK(ecode2)) {
113371  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_GetUChar" "', argument " "2"" of type '" "bool""'");
113372  }
113373  arg2 = static_cast< bool >(val2);
113374  result = (unsigned char)(arg1)->GetUChar(arg2);
113375  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
113376  return resultobj;
113377 fail:
113378  return NULL;
113379 }
113380 
113381 
113382 SWIGINTERN PyObject *_wrap_CStdVariant_GetUChar__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113383  PyObject *resultobj = 0;
113385  void *argp1 = 0 ;
113386  int res1 = 0 ;
113387  PyObject * obj0 = 0 ;
113388  unsigned char result;
113389 
113390  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetUChar",&obj0)) SWIG_fail;
113391  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113392  if (!SWIG_IsOK(res1)) {
113393  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetUChar" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113394  }
113395  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113396  result = (unsigned char)(arg1)->GetUChar();
113397  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
113398  return resultobj;
113399 fail:
113400  return NULL;
113401 }
113402 
113403 
113404 SWIGINTERN PyObject *_wrap_CStdVariant_GetUChar(PyObject *self, PyObject *args) {
113405  int argc;
113406  PyObject *argv[3];
113407  int ii;
113408 
113409  if (!PyTuple_Check(args)) SWIG_fail;
113410  argc = args ? (int)PyObject_Length(args) : 0;
113411  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
113412  argv[ii] = PyTuple_GET_ITEM(args,ii);
113413  }
113414  if (argc == 1) {
113415  int _v;
113416  void *vptr = 0;
113417  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
113418  _v = SWIG_CheckState(res);
113419  if (_v) {
113420  return _wrap_CStdVariant_GetUChar__SWIG_1(self, args);
113421  }
113422  }
113423  if (argc == 2) {
113424  int _v;
113425  void *vptr = 0;
113426  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
113427  _v = SWIG_CheckState(res);
113428  if (_v) {
113429  {
113430  int res = SWIG_AsVal_bool(argv[1], NULL);
113431  _v = SWIG_CheckState(res);
113432  }
113433  if (_v) {
113434  return _wrap_CStdVariant_GetUChar__SWIG_0(self, args);
113435  }
113436  }
113437  }
113438 
113439 fail:
113440  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdVariant_GetUChar'.\n"
113441  " Possible C/C++ prototypes are:\n"
113442  " StdUtils::CStdVariant::GetUChar(bool)\n"
113443  " StdUtils::CStdVariant::GetUChar()\n");
113444  return 0;
113445 }
113446 
113447 
113448 SWIGINTERN PyObject *_wrap_CStdVariant_GetUCharPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113449  PyObject *resultobj = 0;
113451  void *argp1 = 0 ;
113452  int res1 = 0 ;
113453  PyObject * obj0 = 0 ;
113454  unsigned char *result = 0 ;
113455 
113456  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetUCharPtr",&obj0)) SWIG_fail;
113457  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113458  if (!SWIG_IsOK(res1)) {
113459  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetUCharPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113460  }
113461  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113462  result = (unsigned char *)(arg1)->GetUCharPtr();
113463  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 );
113464  return resultobj;
113465 fail:
113466  return NULL;
113467 }
113468 
113469 
113470 SWIGINTERN PyObject *_wrap_CStdVariant_SetValue__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113471  PyObject *resultobj = 0;
113473  unsigned char arg2 ;
113474  void *argp1 = 0 ;
113475  int res1 = 0 ;
113476  unsigned char val2 ;
113477  int ecode2 = 0 ;
113478  PyObject * obj0 = 0 ;
113479  PyObject * obj1 = 0 ;
113480 
113481  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetValue",&obj0,&obj1)) SWIG_fail;
113482  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113483  if (!SWIG_IsOK(res1)) {
113484  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetValue" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113485  }
113486  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113487  ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
113488  if (!SWIG_IsOK(ecode2)) {
113489  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_SetValue" "', argument " "2"" of type '" "unsigned char""'");
113490  }
113491  arg2 = static_cast< unsigned char >(val2);
113492  (arg1)->SetValue(arg2);
113493  resultobj = SWIG_Py_Void();
113494  return resultobj;
113495 fail:
113496  return NULL;
113497 }
113498 
113499 
113500 SWIGINTERN PyObject *_wrap_CStdVariant_SetPtr__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113501  PyObject *resultobj = 0;
113503  unsigned char *arg2 = (unsigned char *) 0 ;
113504  void *argp1 = 0 ;
113505  int res1 = 0 ;
113506  void *argp2 = 0 ;
113507  int res2 = 0 ;
113508  PyObject * obj0 = 0 ;
113509  PyObject * obj1 = 0 ;
113510 
113511  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetPtr",&obj0,&obj1)) SWIG_fail;
113512  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113513  if (!SWIG_IsOK(res1)) {
113514  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113515  }
113516  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113517  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 );
113518  if (!SWIG_IsOK(res2)) {
113519  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_SetPtr" "', argument " "2"" of type '" "unsigned char *""'");
113520  }
113521  arg2 = reinterpret_cast< unsigned char * >(argp2);
113522  (arg1)->SetPtr(arg2);
113523  resultobj = SWIG_Py_Void();
113524  return resultobj;
113525 fail:
113526  return NULL;
113527 }
113528 
113529 
113530 SWIGINTERN PyObject *_wrap_CStdVariant_GetUShort__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113531  PyObject *resultobj = 0;
113533  bool arg2 ;
113534  void *argp1 = 0 ;
113535  int res1 = 0 ;
113536  bool val2 ;
113537  int ecode2 = 0 ;
113538  PyObject * obj0 = 0 ;
113539  PyObject * obj1 = 0 ;
113540  unsigned short result;
113541 
113542  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_GetUShort",&obj0,&obj1)) SWIG_fail;
113543  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113544  if (!SWIG_IsOK(res1)) {
113545  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetUShort" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113546  }
113547  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113548  ecode2 = SWIG_AsVal_bool(obj1, &val2);
113549  if (!SWIG_IsOK(ecode2)) {
113550  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_GetUShort" "', argument " "2"" of type '" "bool""'");
113551  }
113552  arg2 = static_cast< bool >(val2);
113553  result = (unsigned short)(arg1)->GetUShort(arg2);
113554  resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result));
113555  return resultobj;
113556 fail:
113557  return NULL;
113558 }
113559 
113560 
113561 SWIGINTERN PyObject *_wrap_CStdVariant_GetUShort__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113562  PyObject *resultobj = 0;
113564  void *argp1 = 0 ;
113565  int res1 = 0 ;
113566  PyObject * obj0 = 0 ;
113567  unsigned short result;
113568 
113569  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetUShort",&obj0)) SWIG_fail;
113570  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113571  if (!SWIG_IsOK(res1)) {
113572  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetUShort" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113573  }
113574  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113575  result = (unsigned short)(arg1)->GetUShort();
113576  resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result));
113577  return resultobj;
113578 fail:
113579  return NULL;
113580 }
113581 
113582 
113583 SWIGINTERN PyObject *_wrap_CStdVariant_GetUShort(PyObject *self, PyObject *args) {
113584  int argc;
113585  PyObject *argv[3];
113586  int ii;
113587 
113588  if (!PyTuple_Check(args)) SWIG_fail;
113589  argc = args ? (int)PyObject_Length(args) : 0;
113590  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
113591  argv[ii] = PyTuple_GET_ITEM(args,ii);
113592  }
113593  if (argc == 1) {
113594  int _v;
113595  void *vptr = 0;
113596  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
113597  _v = SWIG_CheckState(res);
113598  if (_v) {
113599  return _wrap_CStdVariant_GetUShort__SWIG_1(self, args);
113600  }
113601  }
113602  if (argc == 2) {
113603  int _v;
113604  void *vptr = 0;
113605  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
113606  _v = SWIG_CheckState(res);
113607  if (_v) {
113608  {
113609  int res = SWIG_AsVal_bool(argv[1], NULL);
113610  _v = SWIG_CheckState(res);
113611  }
113612  if (_v) {
113613  return _wrap_CStdVariant_GetUShort__SWIG_0(self, args);
113614  }
113615  }
113616  }
113617 
113618 fail:
113619  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdVariant_GetUShort'.\n"
113620  " Possible C/C++ prototypes are:\n"
113621  " StdUtils::CStdVariant::GetUShort(bool)\n"
113622  " StdUtils::CStdVariant::GetUShort()\n");
113623  return 0;
113624 }
113625 
113626 
113627 SWIGINTERN PyObject *_wrap_CStdVariant_GetUShortPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113628  PyObject *resultobj = 0;
113630  void *argp1 = 0 ;
113631  int res1 = 0 ;
113632  PyObject * obj0 = 0 ;
113633  unsigned short *result = 0 ;
113634 
113635  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetUShortPtr",&obj0)) SWIG_fail;
113636  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113637  if (!SWIG_IsOK(res1)) {
113638  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetUShortPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113639  }
113640  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113641  result = (unsigned short *)(arg1)->GetUShortPtr();
113642  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_short, 0 | 0 );
113643  return resultobj;
113644 fail:
113645  return NULL;
113646 }
113647 
113648 
113649 SWIGINTERN PyObject *_wrap_CStdVariant_SetValue__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113650  PyObject *resultobj = 0;
113652  unsigned short arg2 ;
113653  void *argp1 = 0 ;
113654  int res1 = 0 ;
113655  unsigned short val2 ;
113656  int ecode2 = 0 ;
113657  PyObject * obj0 = 0 ;
113658  PyObject * obj1 = 0 ;
113659 
113660  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetValue",&obj0,&obj1)) SWIG_fail;
113661  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113662  if (!SWIG_IsOK(res1)) {
113663  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetValue" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113664  }
113665  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113666  ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2);
113667  if (!SWIG_IsOK(ecode2)) {
113668  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_SetValue" "', argument " "2"" of type '" "unsigned short""'");
113669  }
113670  arg2 = static_cast< unsigned short >(val2);
113671  (arg1)->SetValue(arg2);
113672  resultobj = SWIG_Py_Void();
113673  return resultobj;
113674 fail:
113675  return NULL;
113676 }
113677 
113678 
113679 SWIGINTERN PyObject *_wrap_CStdVariant_SetPtr__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113680  PyObject *resultobj = 0;
113682  unsigned short *arg2 = (unsigned short *) 0 ;
113683  void *argp1 = 0 ;
113684  int res1 = 0 ;
113685  void *argp2 = 0 ;
113686  int res2 = 0 ;
113687  PyObject * obj0 = 0 ;
113688  PyObject * obj1 = 0 ;
113689 
113690  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetPtr",&obj0,&obj1)) SWIG_fail;
113691  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113692  if (!SWIG_IsOK(res1)) {
113693  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113694  }
113695  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113696  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_short, 0 | 0 );
113697  if (!SWIG_IsOK(res2)) {
113698  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_SetPtr" "', argument " "2"" of type '" "unsigned short *""'");
113699  }
113700  arg2 = reinterpret_cast< unsigned short * >(argp2);
113701  (arg1)->SetPtr(arg2);
113702  resultobj = SWIG_Py_Void();
113703  return resultobj;
113704 fail:
113705  return NULL;
113706 }
113707 
113708 
113709 SWIGINTERN PyObject *_wrap_CStdVariant_GetULong__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113710  PyObject *resultobj = 0;
113712  bool arg2 ;
113713  void *argp1 = 0 ;
113714  int res1 = 0 ;
113715  bool val2 ;
113716  int ecode2 = 0 ;
113717  PyObject * obj0 = 0 ;
113718  PyObject * obj1 = 0 ;
113719  unsigned long result;
113720 
113721  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_GetULong",&obj0,&obj1)) SWIG_fail;
113722  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113723  if (!SWIG_IsOK(res1)) {
113724  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetULong" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113725  }
113726  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113727  ecode2 = SWIG_AsVal_bool(obj1, &val2);
113728  if (!SWIG_IsOK(ecode2)) {
113729  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_GetULong" "', argument " "2"" of type '" "bool""'");
113730  }
113731  arg2 = static_cast< bool >(val2);
113732  result = (unsigned long)(arg1)->GetULong(arg2);
113733  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
113734  return resultobj;
113735 fail:
113736  return NULL;
113737 }
113738 
113739 
113740 SWIGINTERN PyObject *_wrap_CStdVariant_GetULong__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113741  PyObject *resultobj = 0;
113743  void *argp1 = 0 ;
113744  int res1 = 0 ;
113745  PyObject * obj0 = 0 ;
113746  unsigned long result;
113747 
113748  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetULong",&obj0)) SWIG_fail;
113749  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113750  if (!SWIG_IsOK(res1)) {
113751  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetULong" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113752  }
113753  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113754  result = (unsigned long)(arg1)->GetULong();
113755  resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
113756  return resultobj;
113757 fail:
113758  return NULL;
113759 }
113760 
113761 
113762 SWIGINTERN PyObject *_wrap_CStdVariant_GetULong(PyObject *self, PyObject *args) {
113763  int argc;
113764  PyObject *argv[3];
113765  int ii;
113766 
113767  if (!PyTuple_Check(args)) SWIG_fail;
113768  argc = args ? (int)PyObject_Length(args) : 0;
113769  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
113770  argv[ii] = PyTuple_GET_ITEM(args,ii);
113771  }
113772  if (argc == 1) {
113773  int _v;
113774  void *vptr = 0;
113775  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
113776  _v = SWIG_CheckState(res);
113777  if (_v) {
113778  return _wrap_CStdVariant_GetULong__SWIG_1(self, args);
113779  }
113780  }
113781  if (argc == 2) {
113782  int _v;
113783  void *vptr = 0;
113784  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
113785  _v = SWIG_CheckState(res);
113786  if (_v) {
113787  {
113788  int res = SWIG_AsVal_bool(argv[1], NULL);
113789  _v = SWIG_CheckState(res);
113790  }
113791  if (_v) {
113792  return _wrap_CStdVariant_GetULong__SWIG_0(self, args);
113793  }
113794  }
113795  }
113796 
113797 fail:
113798  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdVariant_GetULong'.\n"
113799  " Possible C/C++ prototypes are:\n"
113800  " StdUtils::CStdVariant::GetULong(bool)\n"
113801  " StdUtils::CStdVariant::GetULong()\n");
113802  return 0;
113803 }
113804 
113805 
113806 SWIGINTERN PyObject *_wrap_CStdVariant_GetULongPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113807  PyObject *resultobj = 0;
113809  void *argp1 = 0 ;
113810  int res1 = 0 ;
113811  PyObject * obj0 = 0 ;
113812  unsigned long *result = 0 ;
113813 
113814  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetULongPtr",&obj0)) SWIG_fail;
113815  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113816  if (!SWIG_IsOK(res1)) {
113817  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetULongPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113818  }
113819  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113820  result = (unsigned long *)(arg1)->GetULongPtr();
113821  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long, 0 | 0 );
113822  return resultobj;
113823 fail:
113824  return NULL;
113825 }
113826 
113827 
113828 SWIGINTERN PyObject *_wrap_CStdVariant_SetValue__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113829  PyObject *resultobj = 0;
113831  unsigned long arg2 ;
113832  void *argp1 = 0 ;
113833  int res1 = 0 ;
113834  unsigned long val2 ;
113835  int ecode2 = 0 ;
113836  PyObject * obj0 = 0 ;
113837  PyObject * obj1 = 0 ;
113838 
113839  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetValue",&obj0,&obj1)) SWIG_fail;
113840  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113841  if (!SWIG_IsOK(res1)) {
113842  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetValue" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113843  }
113844  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113845  ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
113846  if (!SWIG_IsOK(ecode2)) {
113847  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_SetValue" "', argument " "2"" of type '" "unsigned long""'");
113848  }
113849  arg2 = static_cast< unsigned long >(val2);
113850  (arg1)->SetValue(arg2);
113851  resultobj = SWIG_Py_Void();
113852  return resultobj;
113853 fail:
113854  return NULL;
113855 }
113856 
113857 
113858 SWIGINTERN PyObject *_wrap_CStdVariant_SetPtr__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113859  PyObject *resultobj = 0;
113861  unsigned long *arg2 = (unsigned long *) 0 ;
113862  void *argp1 = 0 ;
113863  int res1 = 0 ;
113864  void *argp2 = 0 ;
113865  int res2 = 0 ;
113866  PyObject * obj0 = 0 ;
113867  PyObject * obj1 = 0 ;
113868 
113869  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetPtr",&obj0,&obj1)) SWIG_fail;
113870  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113871  if (!SWIG_IsOK(res1)) {
113872  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113873  }
113874  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113875  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_long, 0 | 0 );
113876  if (!SWIG_IsOK(res2)) {
113877  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_SetPtr" "', argument " "2"" of type '" "unsigned long *""'");
113878  }
113879  arg2 = reinterpret_cast< unsigned long * >(argp2);
113880  (arg1)->SetPtr(arg2);
113881  resultobj = SWIG_Py_Void();
113882  return resultobj;
113883 fail:
113884  return NULL;
113885 }
113886 
113887 
113888 SWIGINTERN PyObject *_wrap_CStdVariant_GetInt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113889  PyObject *resultobj = 0;
113891  bool arg2 ;
113892  void *argp1 = 0 ;
113893  int res1 = 0 ;
113894  bool val2 ;
113895  int ecode2 = 0 ;
113896  PyObject * obj0 = 0 ;
113897  PyObject * obj1 = 0 ;
113898  int result;
113899 
113900  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_GetInt",&obj0,&obj1)) SWIG_fail;
113901  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113902  if (!SWIG_IsOK(res1)) {
113903  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetInt" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113904  }
113905  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113906  ecode2 = SWIG_AsVal_bool(obj1, &val2);
113907  if (!SWIG_IsOK(ecode2)) {
113908  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_GetInt" "', argument " "2"" of type '" "bool""'");
113909  }
113910  arg2 = static_cast< bool >(val2);
113911  result = (int)(arg1)->GetInt(arg2);
113912  resultobj = SWIG_From_int(static_cast< int >(result));
113913  return resultobj;
113914 fail:
113915  return NULL;
113916 }
113917 
113918 
113919 SWIGINTERN PyObject *_wrap_CStdVariant_GetInt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113920  PyObject *resultobj = 0;
113922  void *argp1 = 0 ;
113923  int res1 = 0 ;
113924  PyObject * obj0 = 0 ;
113925  int result;
113926 
113927  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetInt",&obj0)) SWIG_fail;
113928  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113929  if (!SWIG_IsOK(res1)) {
113930  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetInt" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113931  }
113932  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113933  result = (int)(arg1)->GetInt();
113934  resultobj = SWIG_From_int(static_cast< int >(result));
113935  return resultobj;
113936 fail:
113937  return NULL;
113938 }
113939 
113940 
113941 SWIGINTERN PyObject *_wrap_CStdVariant_GetInt(PyObject *self, PyObject *args) {
113942  int argc;
113943  PyObject *argv[3];
113944  int ii;
113945 
113946  if (!PyTuple_Check(args)) SWIG_fail;
113947  argc = args ? (int)PyObject_Length(args) : 0;
113948  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
113949  argv[ii] = PyTuple_GET_ITEM(args,ii);
113950  }
113951  if (argc == 1) {
113952  int _v;
113953  void *vptr = 0;
113954  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
113955  _v = SWIG_CheckState(res);
113956  if (_v) {
113957  return _wrap_CStdVariant_GetInt__SWIG_1(self, args);
113958  }
113959  }
113960  if (argc == 2) {
113961  int _v;
113962  void *vptr = 0;
113963  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
113964  _v = SWIG_CheckState(res);
113965  if (_v) {
113966  {
113967  int res = SWIG_AsVal_bool(argv[1], NULL);
113968  _v = SWIG_CheckState(res);
113969  }
113970  if (_v) {
113971  return _wrap_CStdVariant_GetInt__SWIG_0(self, args);
113972  }
113973  }
113974  }
113975 
113976 fail:
113977  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdVariant_GetInt'.\n"
113978  " Possible C/C++ prototypes are:\n"
113979  " StdUtils::CStdVariant::GetInt(bool)\n"
113980  " StdUtils::CStdVariant::GetInt()\n");
113981  return 0;
113982 }
113983 
113984 
113985 SWIGINTERN PyObject *_wrap_CStdVariant_GetIntPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
113986  PyObject *resultobj = 0;
113988  void *argp1 = 0 ;
113989  int res1 = 0 ;
113990  PyObject * obj0 = 0 ;
113991  int *result = 0 ;
113992 
113993  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetIntPtr",&obj0)) SWIG_fail;
113994  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
113995  if (!SWIG_IsOK(res1)) {
113996  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetIntPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
113997  }
113998  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
113999  result = (int *)(arg1)->GetIntPtr();
114000  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
114001  return resultobj;
114002 fail:
114003  return NULL;
114004 }
114005 
114006 
114007 SWIGINTERN PyObject *_wrap_CStdVariant_SetValue__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114008  PyObject *resultobj = 0;
114010  int arg2 ;
114011  void *argp1 = 0 ;
114012  int res1 = 0 ;
114013  int val2 ;
114014  int ecode2 = 0 ;
114015  PyObject * obj0 = 0 ;
114016  PyObject * obj1 = 0 ;
114017 
114018  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetValue",&obj0,&obj1)) SWIG_fail;
114019  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114020  if (!SWIG_IsOK(res1)) {
114021  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetValue" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114022  }
114023  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114024  ecode2 = SWIG_AsVal_int(obj1, &val2);
114025  if (!SWIG_IsOK(ecode2)) {
114026  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_SetValue" "', argument " "2"" of type '" "int""'");
114027  }
114028  arg2 = static_cast< int >(val2);
114029  (arg1)->SetValue(arg2);
114030  resultobj = SWIG_Py_Void();
114031  return resultobj;
114032 fail:
114033  return NULL;
114034 }
114035 
114036 
114037 SWIGINTERN PyObject *_wrap_CStdVariant_SetPtr__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114038  PyObject *resultobj = 0;
114040  int *arg2 = (int *) 0 ;
114041  void *argp1 = 0 ;
114042  int res1 = 0 ;
114043  void *argp2 = 0 ;
114044  int res2 = 0 ;
114045  PyObject * obj0 = 0 ;
114046  PyObject * obj1 = 0 ;
114047 
114048  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetPtr",&obj0,&obj1)) SWIG_fail;
114049  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114050  if (!SWIG_IsOK(res1)) {
114051  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114052  }
114053  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114054  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
114055  if (!SWIG_IsOK(res2)) {
114056  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_SetPtr" "', argument " "2"" of type '" "int *""'");
114057  }
114058  arg2 = reinterpret_cast< int * >(argp2);
114059  (arg1)->SetPtr(arg2);
114060  resultobj = SWIG_Py_Void();
114061  return resultobj;
114062 fail:
114063  return NULL;
114064 }
114065 
114066 
114067 SWIGINTERN PyObject *_wrap_CStdVariant_GetUInt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114068  PyObject *resultobj = 0;
114070  bool arg2 ;
114071  void *argp1 = 0 ;
114072  int res1 = 0 ;
114073  bool val2 ;
114074  int ecode2 = 0 ;
114075  PyObject * obj0 = 0 ;
114076  PyObject * obj1 = 0 ;
114077  unsigned int result;
114078 
114079  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_GetUInt",&obj0,&obj1)) SWIG_fail;
114080  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114081  if (!SWIG_IsOK(res1)) {
114082  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetUInt" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114083  }
114084  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114085  ecode2 = SWIG_AsVal_bool(obj1, &val2);
114086  if (!SWIG_IsOK(ecode2)) {
114087  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_GetUInt" "', argument " "2"" of type '" "bool""'");
114088  }
114089  arg2 = static_cast< bool >(val2);
114090  result = (unsigned int)(arg1)->GetUInt(arg2);
114091  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
114092  return resultobj;
114093 fail:
114094  return NULL;
114095 }
114096 
114097 
114098 SWIGINTERN PyObject *_wrap_CStdVariant_GetUInt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114099  PyObject *resultobj = 0;
114101  void *argp1 = 0 ;
114102  int res1 = 0 ;
114103  PyObject * obj0 = 0 ;
114104  unsigned int result;
114105 
114106  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetUInt",&obj0)) SWIG_fail;
114107  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114108  if (!SWIG_IsOK(res1)) {
114109  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetUInt" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114110  }
114111  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114112  result = (unsigned int)(arg1)->GetUInt();
114113  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
114114  return resultobj;
114115 fail:
114116  return NULL;
114117 }
114118 
114119 
114120 SWIGINTERN PyObject *_wrap_CStdVariant_GetUInt(PyObject *self, PyObject *args) {
114121  int argc;
114122  PyObject *argv[3];
114123  int ii;
114124 
114125  if (!PyTuple_Check(args)) SWIG_fail;
114126  argc = args ? (int)PyObject_Length(args) : 0;
114127  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
114128  argv[ii] = PyTuple_GET_ITEM(args,ii);
114129  }
114130  if (argc == 1) {
114131  int _v;
114132  void *vptr = 0;
114133  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114134  _v = SWIG_CheckState(res);
114135  if (_v) {
114136  return _wrap_CStdVariant_GetUInt__SWIG_1(self, args);
114137  }
114138  }
114139  if (argc == 2) {
114140  int _v;
114141  void *vptr = 0;
114142  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114143  _v = SWIG_CheckState(res);
114144  if (_v) {
114145  {
114146  int res = SWIG_AsVal_bool(argv[1], NULL);
114147  _v = SWIG_CheckState(res);
114148  }
114149  if (_v) {
114150  return _wrap_CStdVariant_GetUInt__SWIG_0(self, args);
114151  }
114152  }
114153  }
114154 
114155 fail:
114156  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdVariant_GetUInt'.\n"
114157  " Possible C/C++ prototypes are:\n"
114158  " StdUtils::CStdVariant::GetUInt(bool)\n"
114159  " StdUtils::CStdVariant::GetUInt()\n");
114160  return 0;
114161 }
114162 
114163 
114164 SWIGINTERN PyObject *_wrap_CStdVariant_GetUIntPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114165  PyObject *resultobj = 0;
114167  void *argp1 = 0 ;
114168  int res1 = 0 ;
114169  PyObject * obj0 = 0 ;
114170  unsigned int *result = 0 ;
114171 
114172  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetUIntPtr",&obj0)) SWIG_fail;
114173  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114174  if (!SWIG_IsOK(res1)) {
114175  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetUIntPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114176  }
114177  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114178  result = (unsigned int *)(arg1)->GetUIntPtr();
114179  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 | 0 );
114180  return resultobj;
114181 fail:
114182  return NULL;
114183 }
114184 
114185 
114186 SWIGINTERN PyObject *_wrap_CStdVariant_SetValue__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114187  PyObject *resultobj = 0;
114189  unsigned int arg2 ;
114190  void *argp1 = 0 ;
114191  int res1 = 0 ;
114192  unsigned int val2 ;
114193  int ecode2 = 0 ;
114194  PyObject * obj0 = 0 ;
114195  PyObject * obj1 = 0 ;
114196 
114197  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetValue",&obj0,&obj1)) SWIG_fail;
114198  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114199  if (!SWIG_IsOK(res1)) {
114200  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetValue" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114201  }
114202  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114203  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
114204  if (!SWIG_IsOK(ecode2)) {
114205  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_SetValue" "', argument " "2"" of type '" "unsigned int""'");
114206  }
114207  arg2 = static_cast< unsigned int >(val2);
114208  (arg1)->SetValue(arg2);
114209  resultobj = SWIG_Py_Void();
114210  return resultobj;
114211 fail:
114212  return NULL;
114213 }
114214 
114215 
114216 SWIGINTERN PyObject *_wrap_CStdVariant_SetPtr__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114217  PyObject *resultobj = 0;
114219  unsigned int *arg2 = (unsigned int *) 0 ;
114220  void *argp1 = 0 ;
114221  int res1 = 0 ;
114222  void *argp2 = 0 ;
114223  int res2 = 0 ;
114224  PyObject * obj0 = 0 ;
114225  PyObject * obj1 = 0 ;
114226 
114227  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetPtr",&obj0,&obj1)) SWIG_fail;
114228  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114229  if (!SWIG_IsOK(res1)) {
114230  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114231  }
114232  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114233  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_int, 0 | 0 );
114234  if (!SWIG_IsOK(res2)) {
114235  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_SetPtr" "', argument " "2"" of type '" "unsigned int *""'");
114236  }
114237  arg2 = reinterpret_cast< unsigned int * >(argp2);
114238  (arg1)->SetPtr(arg2);
114239  resultobj = SWIG_Py_Void();
114240  return resultobj;
114241 fail:
114242  return NULL;
114243 }
114244 
114245 
114246 SWIGINTERN PyObject *_wrap_CStdVariant_GetString__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114247  PyObject *resultobj = 0;
114249  bool arg2 ;
114250  void *argp1 = 0 ;
114251  int res1 = 0 ;
114252  bool val2 ;
114253  int ecode2 = 0 ;
114254  PyObject * obj0 = 0 ;
114255  PyObject * obj1 = 0 ;
114256  std::string result;
114257 
114258  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_GetString",&obj0,&obj1)) SWIG_fail;
114259  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114260  if (!SWIG_IsOK(res1)) {
114261  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetString" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114262  }
114263  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114264  ecode2 = SWIG_AsVal_bool(obj1, &val2);
114265  if (!SWIG_IsOK(ecode2)) {
114266  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdVariant_GetString" "', argument " "2"" of type '" "bool""'");
114267  }
114268  arg2 = static_cast< bool >(val2);
114269  result = (arg1)->GetString(arg2);
114270  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
114271  return resultobj;
114272 fail:
114273  return NULL;
114274 }
114275 
114276 
114277 SWIGINTERN PyObject *_wrap_CStdVariant_GetString__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114278  PyObject *resultobj = 0;
114280  void *argp1 = 0 ;
114281  int res1 = 0 ;
114282  PyObject * obj0 = 0 ;
114283  std::string result;
114284 
114285  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetString",&obj0)) SWIG_fail;
114286  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114287  if (!SWIG_IsOK(res1)) {
114288  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetString" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114289  }
114290  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114291  result = (arg1)->GetString();
114292  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
114293  return resultobj;
114294 fail:
114295  return NULL;
114296 }
114297 
114298 
114299 SWIGINTERN PyObject *_wrap_CStdVariant_GetString(PyObject *self, PyObject *args) {
114300  int argc;
114301  PyObject *argv[3];
114302  int ii;
114303 
114304  if (!PyTuple_Check(args)) SWIG_fail;
114305  argc = args ? (int)PyObject_Length(args) : 0;
114306  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
114307  argv[ii] = PyTuple_GET_ITEM(args,ii);
114308  }
114309  if (argc == 1) {
114310  int _v;
114311  void *vptr = 0;
114312  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114313  _v = SWIG_CheckState(res);
114314  if (_v) {
114315  return _wrap_CStdVariant_GetString__SWIG_1(self, args);
114316  }
114317  }
114318  if (argc == 2) {
114319  int _v;
114320  void *vptr = 0;
114321  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114322  _v = SWIG_CheckState(res);
114323  if (_v) {
114324  {
114325  int res = SWIG_AsVal_bool(argv[1], NULL);
114326  _v = SWIG_CheckState(res);
114327  }
114328  if (_v) {
114329  return _wrap_CStdVariant_GetString__SWIG_0(self, args);
114330  }
114331  }
114332  }
114333 
114334 fail:
114335  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdVariant_GetString'.\n"
114336  " Possible C/C++ prototypes are:\n"
114337  " StdUtils::CStdVariant::GetString(bool)\n"
114338  " StdUtils::CStdVariant::GetString()\n");
114339  return 0;
114340 }
114341 
114342 
114343 SWIGINTERN PyObject *_wrap_CStdVariant_GetNumericString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114344  PyObject *resultobj = 0;
114346  void *argp1 = 0 ;
114347  int res1 = 0 ;
114348  PyObject * obj0 = 0 ;
114349  std::string result;
114350 
114351  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetNumericString",&obj0)) SWIG_fail;
114352  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114353  if (!SWIG_IsOK(res1)) {
114354  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetNumericString" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114355  }
114356  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114357  result = (arg1)->GetNumericString();
114358  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
114359  return resultobj;
114360 fail:
114361  return NULL;
114362 }
114363 
114364 
114365 SWIGINTERN PyObject *_wrap_CStdVariant_GetStringPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114366  PyObject *resultobj = 0;
114368  void *argp1 = 0 ;
114369  int res1 = 0 ;
114370  PyObject * obj0 = 0 ;
114371  std::string *result = 0 ;
114372 
114373  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_GetStringPtr",&obj0)) SWIG_fail;
114374  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114375  if (!SWIG_IsOK(res1)) {
114376  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_GetStringPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114377  }
114378  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114379  result = (std::string *)(arg1)->GetStringPtr();
114380  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__string, 0 | 0 );
114381  return resultobj;
114382 fail:
114383  return NULL;
114384 }
114385 
114386 
114387 SWIGINTERN PyObject *_wrap_CStdVariant_SetValue__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114388  PyObject *resultobj = 0;
114390  std::string arg2 ;
114391  void *argp1 = 0 ;
114392  int res1 = 0 ;
114393  PyObject * obj0 = 0 ;
114394  PyObject * obj1 = 0 ;
114395 
114396  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetValue",&obj0,&obj1)) SWIG_fail;
114397  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114398  if (!SWIG_IsOK(res1)) {
114399  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetValue" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114400  }
114401  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114402  {
114403  std::string *ptr = (std::string *)0;
114404  int res = SWIG_AsPtr_std_string(obj1, &ptr);
114405  if (!SWIG_IsOK(res) || !ptr) {
114406  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdVariant_SetValue" "', argument " "2"" of type '" "std::string""'");
114407  }
114408  arg2 = *ptr;
114409  if (SWIG_IsNewObj(res)) delete ptr;
114410  }
114411  (arg1)->SetValue(arg2);
114412  resultobj = SWIG_Py_Void();
114413  return resultobj;
114414 fail:
114415  return NULL;
114416 }
114417 
114418 
114419 SWIGINTERN PyObject *_wrap_CStdVariant_SetValue(PyObject *self, PyObject *args) {
114420  int argc;
114421  PyObject *argv[3];
114422  int ii;
114423 
114424  if (!PyTuple_Check(args)) SWIG_fail;
114425  argc = args ? (int)PyObject_Length(args) : 0;
114426  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
114427  argv[ii] = PyTuple_GET_ITEM(args,ii);
114428  }
114429  if (argc == 2) {
114430  int _v;
114431  void *vptr = 0;
114432  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114433  _v = SWIG_CheckState(res);
114434  if (_v) {
114435  {
114436  int res = SWIG_AsVal_bool(argv[1], NULL);
114437  _v = SWIG_CheckState(res);
114438  }
114439  if (_v) {
114440  return _wrap_CStdVariant_SetValue__SWIG_4(self, args);
114441  }
114442  }
114443  }
114444  if (argc == 2) {
114445  int _v;
114446  void *vptr = 0;
114447  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114448  _v = SWIG_CheckState(res);
114449  if (_v) {
114450  {
114451  int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL);
114452  _v = SWIG_CheckState(res);
114453  }
114454  if (_v) {
114455  return _wrap_CStdVariant_SetValue__SWIG_6(self, args);
114456  }
114457  }
114458  }
114459  if (argc == 2) {
114460  int _v;
114461  void *vptr = 0;
114462  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114463  _v = SWIG_CheckState(res);
114464  if (_v) {
114465  {
114466  int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL);
114467  _v = SWIG_CheckState(res);
114468  }
114469  if (_v) {
114470  return _wrap_CStdVariant_SetValue__SWIG_7(self, args);
114471  }
114472  }
114473  }
114474  if (argc == 2) {
114475  int _v;
114476  void *vptr = 0;
114477  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114478  _v = SWIG_CheckState(res);
114479  if (_v) {
114480  {
114481  int res = SWIG_AsVal_short(argv[1], NULL);
114482  _v = SWIG_CheckState(res);
114483  }
114484  if (_v) {
114485  return _wrap_CStdVariant_SetValue__SWIG_0(self, args);
114486  }
114487  }
114488  }
114489  if (argc == 2) {
114490  int _v;
114491  void *vptr = 0;
114492  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114493  _v = SWIG_CheckState(res);
114494  if (_v) {
114495  {
114496  int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
114497  _v = SWIG_CheckState(res);
114498  }
114499  if (_v) {
114500  return _wrap_CStdVariant_SetValue__SWIG_10(self, args);
114501  }
114502  }
114503  }
114504  if (argc == 2) {
114505  int _v;
114506  void *vptr = 0;
114507  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114508  _v = SWIG_CheckState(res);
114509  if (_v) {
114510  {
114511  int res = SWIG_AsVal_int(argv[1], NULL);
114512  _v = SWIG_CheckState(res);
114513  }
114514  if (_v) {
114515  return _wrap_CStdVariant_SetValue__SWIG_9(self, args);
114516  }
114517  }
114518  }
114519  if (argc == 2) {
114520  int _v;
114521  void *vptr = 0;
114522  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114523  _v = SWIG_CheckState(res);
114524  if (_v) {
114525  {
114526  int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
114527  _v = SWIG_CheckState(res);
114528  }
114529  if (_v) {
114530  return _wrap_CStdVariant_SetValue__SWIG_8(self, args);
114531  }
114532  }
114533  }
114534  if (argc == 2) {
114535  int _v;
114536  void *vptr = 0;
114537  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114538  _v = SWIG_CheckState(res);
114539  if (_v) {
114540  {
114541  int res = SWIG_AsVal_long(argv[1], NULL);
114542  _v = SWIG_CheckState(res);
114543  }
114544  if (_v) {
114545  return _wrap_CStdVariant_SetValue__SWIG_1(self, args);
114546  }
114547  }
114548  }
114549  if (argc == 2) {
114550  int _v;
114551  void *vptr = 0;
114552  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114553  _v = SWIG_CheckState(res);
114554  if (_v) {
114555  {
114556  int res = SWIG_AsVal_float(argv[1], NULL);
114557  _v = SWIG_CheckState(res);
114558  }
114559  if (_v) {
114560  return _wrap_CStdVariant_SetValue__SWIG_2(self, args);
114561  }
114562  }
114563  }
114564  if (argc == 2) {
114565  int _v;
114566  void *vptr = 0;
114567  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114568  _v = SWIG_CheckState(res);
114569  if (_v) {
114570  {
114571  int res = SWIG_AsVal_double(argv[1], NULL);
114572  _v = SWIG_CheckState(res);
114573  }
114574  if (_v) {
114575  return _wrap_CStdVariant_SetValue__SWIG_3(self, args);
114576  }
114577  }
114578  }
114579  if (argc == 2) {
114580  int _v;
114581  void *vptr = 0;
114582  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114583  _v = SWIG_CheckState(res);
114584  if (_v) {
114585  {
114586  int res = SWIG_AsVal_char(argv[1], NULL);
114587  _v = SWIG_CheckState(res);
114588  }
114589  if (_v) {
114590  return _wrap_CStdVariant_SetValue__SWIG_5(self, args);
114591  }
114592  }
114593  }
114594  if (argc == 2) {
114595  int _v;
114596  void *vptr = 0;
114597  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114598  _v = SWIG_CheckState(res);
114599  if (_v) {
114600  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
114601  _v = SWIG_CheckState(res);
114602  if (_v) {
114603  return _wrap_CStdVariant_SetValue__SWIG_11(self, args);
114604  }
114605  }
114606  }
114607 
114608 fail:
114609  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdVariant_SetValue'.\n"
114610  " Possible C/C++ prototypes are:\n"
114611  " StdUtils::CStdVariant::SetValue(short)\n"
114612  " StdUtils::CStdVariant::SetValue(long)\n"
114613  " StdUtils::CStdVariant::SetValue(float)\n"
114614  " StdUtils::CStdVariant::SetValue(double)\n"
114615  " StdUtils::CStdVariant::SetValue(bool)\n"
114616  " StdUtils::CStdVariant::SetValue(char)\n"
114617  " StdUtils::CStdVariant::SetValue(unsigned char)\n"
114618  " StdUtils::CStdVariant::SetValue(unsigned short)\n"
114619  " StdUtils::CStdVariant::SetValue(unsigned long)\n"
114620  " StdUtils::CStdVariant::SetValue(int)\n"
114621  " StdUtils::CStdVariant::SetValue(unsigned int)\n"
114622  " StdUtils::CStdVariant::SetValue(std::string)\n");
114623  return 0;
114624 }
114625 
114626 
114627 SWIGINTERN PyObject *_wrap_CStdVariant_SetPtr__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114628  PyObject *resultobj = 0;
114630  std::string *arg2 = (std::string *) 0 ;
114631  void *argp1 = 0 ;
114632  int res1 = 0 ;
114633  void *argp2 = 0 ;
114634  int res2 = 0 ;
114635  PyObject * obj0 = 0 ;
114636  PyObject * obj1 = 0 ;
114637 
114638  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_SetPtr",&obj0,&obj1)) SWIG_fail;
114639  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114640  if (!SWIG_IsOK(res1)) {
114641  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_SetPtr" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114642  }
114643  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114644  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_std__string, 0 | 0 );
114645  if (!SWIG_IsOK(res2)) {
114646  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_SetPtr" "', argument " "2"" of type '" "std::string *""'");
114647  }
114648  arg2 = reinterpret_cast< std::string * >(argp2);
114649  (arg1)->SetPtr(arg2);
114650  resultobj = SWIG_Py_Void();
114651  return resultobj;
114652 fail:
114653  return NULL;
114654 }
114655 
114656 
114657 SWIGINTERN PyObject *_wrap_CStdVariant_SetPtr(PyObject *self, PyObject *args) {
114658  int argc;
114659  PyObject *argv[3];
114660  int ii;
114661 
114662  if (!PyTuple_Check(args)) SWIG_fail;
114663  argc = args ? (int)PyObject_Length(args) : 0;
114664  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
114665  argv[ii] = PyTuple_GET_ITEM(args,ii);
114666  }
114667  if (argc == 2) {
114668  int _v;
114669  void *vptr = 0;
114670  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114671  _v = SWIG_CheckState(res);
114672  if (_v) {
114673  void *vptr = 0;
114674  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0);
114675  _v = SWIG_CheckState(res);
114676  if (_v) {
114677  return _wrap_CStdVariant_SetPtr__SWIG_0(self, args);
114678  }
114679  }
114680  }
114681  if (argc == 2) {
114682  int _v;
114683  void *vptr = 0;
114684  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114685  _v = SWIG_CheckState(res);
114686  if (_v) {
114687  void *vptr = 0;
114688  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_long, 0);
114689  _v = SWIG_CheckState(res);
114690  if (_v) {
114691  return _wrap_CStdVariant_SetPtr__SWIG_1(self, args);
114692  }
114693  }
114694  }
114695  if (argc == 2) {
114696  int _v;
114697  void *vptr = 0;
114698  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114699  _v = SWIG_CheckState(res);
114700  if (_v) {
114701  void *vptr = 0;
114702  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0);
114703  _v = SWIG_CheckState(res);
114704  if (_v) {
114705  return _wrap_CStdVariant_SetPtr__SWIG_2(self, args);
114706  }
114707  }
114708  }
114709  if (argc == 2) {
114710  int _v;
114711  void *vptr = 0;
114712  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114713  _v = SWIG_CheckState(res);
114714  if (_v) {
114715  void *vptr = 0;
114716  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0);
114717  _v = SWIG_CheckState(res);
114718  if (_v) {
114719  return _wrap_CStdVariant_SetPtr__SWIG_3(self, args);
114720  }
114721  }
114722  }
114723  if (argc == 2) {
114724  int _v;
114725  void *vptr = 0;
114726  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114727  _v = SWIG_CheckState(res);
114728  if (_v) {
114729  void *vptr = 0;
114730  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_bool, 0);
114731  _v = SWIG_CheckState(res);
114732  if (_v) {
114733  return _wrap_CStdVariant_SetPtr__SWIG_4(self, args);
114734  }
114735  }
114736  }
114737  if (argc == 2) {
114738  int _v;
114739  void *vptr = 0;
114740  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114741  _v = SWIG_CheckState(res);
114742  if (_v) {
114743  void *vptr = 0;
114744  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0);
114745  _v = SWIG_CheckState(res);
114746  if (_v) {
114747  return _wrap_CStdVariant_SetPtr__SWIG_6(self, args);
114748  }
114749  }
114750  }
114751  if (argc == 2) {
114752  int _v;
114753  void *vptr = 0;
114754  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114755  _v = SWIG_CheckState(res);
114756  if (_v) {
114757  void *vptr = 0;
114758  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_short, 0);
114759  _v = SWIG_CheckState(res);
114760  if (_v) {
114761  return _wrap_CStdVariant_SetPtr__SWIG_7(self, args);
114762  }
114763  }
114764  }
114765  if (argc == 2) {
114766  int _v;
114767  void *vptr = 0;
114768  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114769  _v = SWIG_CheckState(res);
114770  if (_v) {
114771  void *vptr = 0;
114772  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long, 0);
114773  _v = SWIG_CheckState(res);
114774  if (_v) {
114775  return _wrap_CStdVariant_SetPtr__SWIG_8(self, args);
114776  }
114777  }
114778  }
114779  if (argc == 2) {
114780  int _v;
114781  void *vptr = 0;
114782  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114783  _v = SWIG_CheckState(res);
114784  if (_v) {
114785  void *vptr = 0;
114786  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
114787  _v = SWIG_CheckState(res);
114788  if (_v) {
114789  return _wrap_CStdVariant_SetPtr__SWIG_9(self, args);
114790  }
114791  }
114792  }
114793  if (argc == 2) {
114794  int _v;
114795  void *vptr = 0;
114796  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114797  _v = SWIG_CheckState(res);
114798  if (_v) {
114799  void *vptr = 0;
114800  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_int, 0);
114801  _v = SWIG_CheckState(res);
114802  if (_v) {
114803  return _wrap_CStdVariant_SetPtr__SWIG_10(self, args);
114804  }
114805  }
114806  }
114807  if (argc == 2) {
114808  int _v;
114809  void *vptr = 0;
114810  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114811  _v = SWIG_CheckState(res);
114812  if (_v) {
114813  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
114814  _v = SWIG_CheckState(res);
114815  if (_v) {
114816  return _wrap_CStdVariant_SetPtr__SWIG_11(self, args);
114817  }
114818  }
114819  }
114820  if (argc == 2) {
114821  int _v;
114822  void *vptr = 0;
114823  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdVariant, 0);
114824  _v = SWIG_CheckState(res);
114825  if (_v) {
114826  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
114827  _v = SWIG_CheckState(res);
114828  if (_v) {
114829  return _wrap_CStdVariant_SetPtr__SWIG_5(self, args);
114830  }
114831  }
114832  }
114833 
114834 fail:
114835  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdVariant_SetPtr'.\n"
114836  " Possible C/C++ prototypes are:\n"
114837  " StdUtils::CStdVariant::SetPtr(short *)\n"
114838  " StdUtils::CStdVariant::SetPtr(long *)\n"
114839  " StdUtils::CStdVariant::SetPtr(float *)\n"
114840  " StdUtils::CStdVariant::SetPtr(double *)\n"
114841  " StdUtils::CStdVariant::SetPtr(bool *)\n"
114842  " StdUtils::CStdVariant::SetPtr(char *)\n"
114843  " StdUtils::CStdVariant::SetPtr(unsigned char *)\n"
114844  " StdUtils::CStdVariant::SetPtr(unsigned short *)\n"
114845  " StdUtils::CStdVariant::SetPtr(unsigned long *)\n"
114846  " StdUtils::CStdVariant::SetPtr(int *)\n"
114847  " StdUtils::CStdVariant::SetPtr(unsigned int *)\n"
114848  " StdUtils::CStdVariant::SetPtr(std::string *)\n");
114849  return 0;
114850 }
114851 
114852 
114853 SWIGINTERN PyObject *_wrap_CStdVariant_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114854  PyObject *resultobj = 0;
114856  StdUtils::CStdVariant *arg2 = 0 ;
114857  void *argp1 = 0 ;
114858  int res1 = 0 ;
114859  void *argp2 = 0 ;
114860  int res2 = 0 ;
114861  PyObject * obj0 = 0 ;
114862  PyObject * obj1 = 0 ;
114863 
114864  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_Copy",&obj0,&obj1)) SWIG_fail;
114865  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114866  if (!SWIG_IsOK(res1)) {
114867  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_Copy" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114868  }
114869  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114870  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdVariant, 0 );
114871  if (!SWIG_IsOK(res2)) {
114872  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_Copy" "', argument " "2"" of type '" "StdUtils::CStdVariant &""'");
114873  }
114874  if (!argp2) {
114875  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdVariant_Copy" "', argument " "2"" of type '" "StdUtils::CStdVariant &""'");
114876  }
114877  arg2 = reinterpret_cast< StdUtils::CStdVariant * >(argp2);
114878  (arg1)->Copy(*arg2);
114879  resultobj = SWIG_Py_Void();
114880  return resultobj;
114881 fail:
114882  return NULL;
114883 }
114884 
114885 
114886 SWIGINTERN PyObject *_wrap_CStdVariant_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114887  PyObject *resultobj = 0;
114889  void *argp1 = 0 ;
114890  int res1 = 0 ;
114891  PyObject * obj0 = 0 ;
114892  StdUtils::CStdSerialize *result = 0 ;
114893 
114894  if (!PyArg_ParseTuple(args,(char *)"O:CStdVariant_Clone",&obj0)) SWIG_fail;
114895  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114896  if (!SWIG_IsOK(res1)) {
114897  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_Clone" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114898  }
114899  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114900  result = (StdUtils::CStdSerialize *)(arg1)->Clone();
114901  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
114902  return resultobj;
114903 fail:
114904  return NULL;
114905 }
114906 
114907 
114908 SWIGINTERN PyObject *_wrap_CStdVariant_Trace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114909  PyObject *resultobj = 0;
114911  std::ostream *arg2 = 0 ;
114912  void *argp1 = 0 ;
114913  int res1 = 0 ;
114914  void *argp2 = 0 ;
114915  int res2 = 0 ;
114916  PyObject * obj0 = 0 ;
114917  PyObject * obj1 = 0 ;
114918 
114919  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_Trace",&obj0,&obj1)) SWIG_fail;
114920  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114921  if (!SWIG_IsOK(res1)) {
114922  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_Trace" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114923  }
114924  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114925  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__ostream, 0 );
114926  if (!SWIG_IsOK(res2)) {
114927  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_Trace" "', argument " "2"" of type '" "std::ostream &""'");
114928  }
114929  if (!argp2) {
114930  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdVariant_Trace" "', argument " "2"" of type '" "std::ostream &""'");
114931  }
114932  arg2 = reinterpret_cast< std::ostream * >(argp2);
114933  (arg1)->Trace(*arg2);
114934  resultobj = SWIG_Py_Void();
114935  return resultobj;
114936 fail:
114937  return NULL;
114938 }
114939 
114940 
114941 SWIGINTERN PyObject *_wrap_CStdVariant_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114942  PyObject *resultobj = 0;
114944  StdUtils::CStdXml *arg2 = 0 ;
114945  void *argp1 = 0 ;
114946  int res1 = 0 ;
114947  void *argp2 = 0 ;
114948  int res2 = 0 ;
114949  PyObject * obj0 = 0 ;
114950  PyObject * obj1 = 0 ;
114951 
114952  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_Load",&obj0,&obj1)) SWIG_fail;
114953  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114954  if (!SWIG_IsOK(res1)) {
114955  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_Load" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114956  }
114957  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114958  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
114959  if (!SWIG_IsOK(res2)) {
114960  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
114961  }
114962  if (!argp2) {
114963  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdVariant_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
114964  }
114965  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
114966  (arg1)->Load(*arg2);
114967  resultobj = SWIG_Py_Void();
114968  return resultobj;
114969 fail:
114970  return NULL;
114971 }
114972 
114973 
114974 SWIGINTERN PyObject *_wrap_CStdVariant_Save(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
114975  PyObject *resultobj = 0;
114977  StdUtils::CStdXml *arg2 = 0 ;
114978  void *argp1 = 0 ;
114979  int res1 = 0 ;
114980  void *argp2 = 0 ;
114981  int res2 = 0 ;
114982  PyObject * obj0 = 0 ;
114983  PyObject * obj1 = 0 ;
114984 
114985  if (!PyArg_ParseTuple(args,(char *)"OO:CStdVariant_Save",&obj0,&obj1)) SWIG_fail;
114986  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdVariant, 0 | 0 );
114987  if (!SWIG_IsOK(res1)) {
114988  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdVariant_Save" "', argument " "1"" of type '" "StdUtils::CStdVariant *""'");
114989  }
114990  arg1 = reinterpret_cast< StdUtils::CStdVariant * >(argp1);
114991  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
114992  if (!SWIG_IsOK(res2)) {
114993  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdVariant_Save" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
114994  }
114995  if (!argp2) {
114996  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdVariant_Save" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
114997  }
114998  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
114999  (arg1)->Save(*arg2);
115000  resultobj = SWIG_Py_Void();
115001  return resultobj;
115002 fail:
115003  return NULL;
115004 }
115005 
115006 
115007 SWIGINTERN PyObject *CStdVariant_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115008  PyObject *obj;
115009  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
115010  SWIG_TypeNewClientData(SWIGTYPE_p_StdUtils__CStdVariant, SWIG_NewClientData(obj));
115011  return SWIG_Py_Void();
115012 }
115013 
115014 SWIGINTERN PyObject *_wrap_delete_IStdClassFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115015  PyObject *resultobj = 0;
115017  void *argp1 = 0 ;
115018  int res1 = 0 ;
115019  PyObject * obj0 = 0 ;
115020 
115021  if (!PyArg_ParseTuple(args,(char *)"O:delete_IStdClassFactory",&obj0)) SWIG_fail;
115022  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__IStdClassFactory, SWIG_POINTER_DISOWN | 0 );
115023  if (!SWIG_IsOK(res1)) {
115024  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IStdClassFactory" "', argument " "1"" of type '" "StdUtils::IStdClassFactory *""'");
115025  }
115026  arg1 = reinterpret_cast< StdUtils::IStdClassFactory * >(argp1);
115027  delete arg1;
115028  resultobj = SWIG_Py_Void();
115029  return resultobj;
115030 fail:
115031  return NULL;
115032 }
115033 
115034 
115035 SWIGINTERN PyObject *_wrap_IStdClassFactory_CreateObject__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115036  PyObject *resultobj = 0;
115038  std::string arg2 ;
115039  std::string arg3 ;
115040  bool arg4 ;
115041  void *argp1 = 0 ;
115042  int res1 = 0 ;
115043  bool val4 ;
115044  int ecode4 = 0 ;
115045  PyObject * obj0 = 0 ;
115046  PyObject * obj1 = 0 ;
115047  PyObject * obj2 = 0 ;
115048  PyObject * obj3 = 0 ;
115049  StdUtils::CStdSerialize *result = 0 ;
115050 
115051  if (!PyArg_ParseTuple(args,(char *)"OOOO:IStdClassFactory_CreateObject",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
115052  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__IStdClassFactory, 0 | 0 );
115053  if (!SWIG_IsOK(res1)) {
115054  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IStdClassFactory_CreateObject" "', argument " "1"" of type '" "StdUtils::IStdClassFactory *""'");
115055  }
115056  arg1 = reinterpret_cast< StdUtils::IStdClassFactory * >(argp1);
115057  {
115058  std::string *ptr = (std::string *)0;
115059  int res = SWIG_AsPtr_std_string(obj1, &ptr);
115060  if (!SWIG_IsOK(res) || !ptr) {
115061  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "IStdClassFactory_CreateObject" "', argument " "2"" of type '" "std::string""'");
115062  }
115063  arg2 = *ptr;
115064  if (SWIG_IsNewObj(res)) delete ptr;
115065  }
115066  {
115067  std::string *ptr = (std::string *)0;
115068  int res = SWIG_AsPtr_std_string(obj2, &ptr);
115069  if (!SWIG_IsOK(res) || !ptr) {
115070  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "IStdClassFactory_CreateObject" "', argument " "3"" of type '" "std::string""'");
115071  }
115072  arg3 = *ptr;
115073  if (SWIG_IsNewObj(res)) delete ptr;
115074  }
115075  ecode4 = SWIG_AsVal_bool(obj3, &val4);
115076  if (!SWIG_IsOK(ecode4)) {
115077  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IStdClassFactory_CreateObject" "', argument " "4"" of type '" "bool""'");
115078  }
115079  arg4 = static_cast< bool >(val4);
115080  result = (StdUtils::CStdSerialize *)(arg1)->CreateObject(arg2,arg3,arg4);
115081  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
115082  return resultobj;
115083 fail:
115084  return NULL;
115085 }
115086 
115087 
115088 SWIGINTERN PyObject *_wrap_IStdClassFactory_CreateObject__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115089  PyObject *resultobj = 0;
115091  std::string arg2 ;
115092  std::string arg3 ;
115093  void *argp1 = 0 ;
115094  int res1 = 0 ;
115095  PyObject * obj0 = 0 ;
115096  PyObject * obj1 = 0 ;
115097  PyObject * obj2 = 0 ;
115098  StdUtils::CStdSerialize *result = 0 ;
115099 
115100  if (!PyArg_ParseTuple(args,(char *)"OOO:IStdClassFactory_CreateObject",&obj0,&obj1,&obj2)) SWIG_fail;
115101  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__IStdClassFactory, 0 | 0 );
115102  if (!SWIG_IsOK(res1)) {
115103  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IStdClassFactory_CreateObject" "', argument " "1"" of type '" "StdUtils::IStdClassFactory *""'");
115104  }
115105  arg1 = reinterpret_cast< StdUtils::IStdClassFactory * >(argp1);
115106  {
115107  std::string *ptr = (std::string *)0;
115108  int res = SWIG_AsPtr_std_string(obj1, &ptr);
115109  if (!SWIG_IsOK(res) || !ptr) {
115110  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "IStdClassFactory_CreateObject" "', argument " "2"" of type '" "std::string""'");
115111  }
115112  arg2 = *ptr;
115113  if (SWIG_IsNewObj(res)) delete ptr;
115114  }
115115  {
115116  std::string *ptr = (std::string *)0;
115117  int res = SWIG_AsPtr_std_string(obj2, &ptr);
115118  if (!SWIG_IsOK(res) || !ptr) {
115119  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "IStdClassFactory_CreateObject" "', argument " "3"" of type '" "std::string""'");
115120  }
115121  arg3 = *ptr;
115122  if (SWIG_IsNewObj(res)) delete ptr;
115123  }
115124  result = (StdUtils::CStdSerialize *)(arg1)->CreateObject(arg2,arg3);
115125  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
115126  return resultobj;
115127 fail:
115128  return NULL;
115129 }
115130 
115131 
115132 SWIGINTERN PyObject *_wrap_IStdClassFactory_CreateObject(PyObject *self, PyObject *args) {
115133  int argc;
115134  PyObject *argv[5];
115135  int ii;
115136 
115137  if (!PyTuple_Check(args)) SWIG_fail;
115138  argc = args ? (int)PyObject_Length(args) : 0;
115139  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
115140  argv[ii] = PyTuple_GET_ITEM(args,ii);
115141  }
115142  if (argc == 3) {
115143  int _v;
115144  void *vptr = 0;
115145  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__IStdClassFactory, 0);
115146  _v = SWIG_CheckState(res);
115147  if (_v) {
115148  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
115149  _v = SWIG_CheckState(res);
115150  if (_v) {
115151  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
115152  _v = SWIG_CheckState(res);
115153  if (_v) {
115154  return _wrap_IStdClassFactory_CreateObject__SWIG_1(self, args);
115155  }
115156  }
115157  }
115158  }
115159  if (argc == 4) {
115160  int _v;
115161  void *vptr = 0;
115162  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__IStdClassFactory, 0);
115163  _v = SWIG_CheckState(res);
115164  if (_v) {
115165  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
115166  _v = SWIG_CheckState(res);
115167  if (_v) {
115168  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
115169  _v = SWIG_CheckState(res);
115170  if (_v) {
115171  {
115172  int res = SWIG_AsVal_bool(argv[3], NULL);
115173  _v = SWIG_CheckState(res);
115174  }
115175  if (_v) {
115176  return _wrap_IStdClassFactory_CreateObject__SWIG_0(self, args);
115177  }
115178  }
115179  }
115180  }
115181  }
115182 
115183 fail:
115184  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'IStdClassFactory_CreateObject'.\n"
115185  " Possible C/C++ prototypes are:\n"
115186  " StdUtils::IStdClassFactory::CreateObject(std::string,std::string,bool)\n"
115187  " StdUtils::IStdClassFactory::CreateObject(std::string,std::string)\n");
115188  return 0;
115189 }
115190 
115191 
115192 SWIGINTERN PyObject *_wrap_IStdClassFactory_LoadModule__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115193  PyObject *resultobj = 0;
115194  std::string arg1 ;
115195  bool arg2 ;
115196  bool val2 ;
115197  int ecode2 = 0 ;
115198  PyObject * obj0 = 0 ;
115199  PyObject * obj1 = 0 ;
115200  StdUtils::IStdClassFactory *result = 0 ;
115201 
115202  if (!PyArg_ParseTuple(args,(char *)"OO:IStdClassFactory_LoadModule",&obj0,&obj1)) SWIG_fail;
115203  {
115204  std::string *ptr = (std::string *)0;
115205  int res = SWIG_AsPtr_std_string(obj0, &ptr);
115206  if (!SWIG_IsOK(res) || !ptr) {
115207  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "IStdClassFactory_LoadModule" "', argument " "1"" of type '" "std::string""'");
115208  }
115209  arg1 = *ptr;
115210  if (SWIG_IsNewObj(res)) delete ptr;
115211  }
115212  ecode2 = SWIG_AsVal_bool(obj1, &val2);
115213  if (!SWIG_IsOK(ecode2)) {
115214  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IStdClassFactory_LoadModule" "', argument " "2"" of type '" "bool""'");
115215  }
115216  arg2 = static_cast< bool >(val2);
115218  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__IStdClassFactory, 0 | 0 );
115219  return resultobj;
115220 fail:
115221  return NULL;
115222 }
115223 
115224 
115225 SWIGINTERN PyObject *_wrap_IStdClassFactory_LoadModule__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115226  PyObject *resultobj = 0;
115227  std::string arg1 ;
115228  PyObject * obj0 = 0 ;
115229  StdUtils::IStdClassFactory *result = 0 ;
115230 
115231  if (!PyArg_ParseTuple(args,(char *)"O:IStdClassFactory_LoadModule",&obj0)) SWIG_fail;
115232  {
115233  std::string *ptr = (std::string *)0;
115234  int res = SWIG_AsPtr_std_string(obj0, &ptr);
115235  if (!SWIG_IsOK(res) || !ptr) {
115236  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "IStdClassFactory_LoadModule" "', argument " "1"" of type '" "std::string""'");
115237  }
115238  arg1 = *ptr;
115239  if (SWIG_IsNewObj(res)) delete ptr;
115240  }
115242  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__IStdClassFactory, 0 | 0 );
115243  return resultobj;
115244 fail:
115245  return NULL;
115246 }
115247 
115248 
115249 SWIGINTERN PyObject *_wrap_IStdClassFactory_LoadModule(PyObject *self, PyObject *args) {
115250  int argc;
115251  PyObject *argv[3];
115252  int ii;
115253 
115254  if (!PyTuple_Check(args)) SWIG_fail;
115255  argc = args ? (int)PyObject_Length(args) : 0;
115256  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
115257  argv[ii] = PyTuple_GET_ITEM(args,ii);
115258  }
115259  if (argc == 1) {
115260  int _v;
115261  int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
115262  _v = SWIG_CheckState(res);
115263  if (_v) {
115264  return _wrap_IStdClassFactory_LoadModule__SWIG_1(self, args);
115265  }
115266  }
115267  if (argc == 2) {
115268  int _v;
115269  int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
115270  _v = SWIG_CheckState(res);
115271  if (_v) {
115272  {
115273  int res = SWIG_AsVal_bool(argv[1], NULL);
115274  _v = SWIG_CheckState(res);
115275  }
115276  if (_v) {
115277  return _wrap_IStdClassFactory_LoadModule__SWIG_0(self, args);
115278  }
115279  }
115280  }
115281 
115282 fail:
115283  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'IStdClassFactory_LoadModule'.\n"
115284  " Possible C/C++ prototypes are:\n"
115285  " StdUtils::IStdClassFactory::LoadModule(std::string,bool)\n"
115286  " StdUtils::IStdClassFactory::LoadModule(std::string)\n");
115287  return 0;
115288 }
115289 
115290 
115291 SWIGINTERN PyObject *IStdClassFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115292  PyObject *obj;
115293  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
115294  SWIG_TypeNewClientData(SWIGTYPE_p_StdUtils__IStdClassFactory, SWIG_NewClientData(obj));
115295  return SWIG_Py_Void();
115296 }
115297 
115298 SWIGINTERN PyObject *_wrap_new_CStdLookupTable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115299  PyObject *resultobj = 0;
115300  StdUtils::CStdLookupTable *result = 0 ;
115301 
115302  if (!PyArg_ParseTuple(args,(char *)":new_CStdLookupTable")) SWIG_fail;
115304  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdLookupTable, SWIG_POINTER_NEW | 0 );
115305  return resultobj;
115306 fail:
115307  return NULL;
115308 }
115309 
115310 
115311 SWIGINTERN PyObject *_wrap_delete_CStdLookupTable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115312  PyObject *resultobj = 0;
115314  void *argp1 = 0 ;
115315  int res1 = 0 ;
115316  PyObject * obj0 = 0 ;
115317 
115318  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdLookupTable",&obj0)) SWIG_fail;
115319  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, SWIG_POINTER_DISOWN | 0 );
115320  if (!SWIG_IsOK(res1)) {
115321  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdLookupTable" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115322  }
115323  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115324  delete arg1;
115325  resultobj = SWIG_Py_Void();
115326  return resultobj;
115327 fail:
115328  return NULL;
115329 }
115330 
115331 
115332 SWIGINTERN PyObject *_wrap_CStdLookupTable_InitialPointCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115333  PyObject *resultobj = 0;
115335  void *argp1 = 0 ;
115336  int res1 = 0 ;
115337  PyObject * obj0 = 0 ;
115338  int result;
115339 
115340  if (!PyArg_ParseTuple(args,(char *)"O:CStdLookupTable_InitialPointCount",&obj0)) SWIG_fail;
115341  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115342  if (!SWIG_IsOK(res1)) {
115343  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_InitialPointCount" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115344  }
115345  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115346  result = (int)(arg1)->InitialPointCount();
115347  resultobj = SWIG_From_int(static_cast< int >(result));
115348  return resultobj;
115349 fail:
115350  return NULL;
115351 }
115352 
115353 
115354 SWIGINTERN PyObject *_wrap_CStdLookupTable_InitialPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115355  PyObject *resultobj = 0;
115357  int arg2 ;
115358  void *argp1 = 0 ;
115359  int res1 = 0 ;
115360  int val2 ;
115361  int ecode2 = 0 ;
115362  PyObject * obj0 = 0 ;
115363  PyObject * obj1 = 0 ;
115364  CStdPoint< double > result;
115365 
115366  if (!PyArg_ParseTuple(args,(char *)"OO:CStdLookupTable_InitialPoint",&obj0,&obj1)) SWIG_fail;
115367  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115368  if (!SWIG_IsOK(res1)) {
115369  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_InitialPoint" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115370  }
115371  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115372  ecode2 = SWIG_AsVal_int(obj1, &val2);
115373  if (!SWIG_IsOK(ecode2)) {
115374  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdLookupTable_InitialPoint" "', argument " "2"" of type '" "int""'");
115375  }
115376  arg2 = static_cast< int >(val2);
115377  result = (arg1)->InitialPoint(arg2);
115378  resultobj = SWIG_NewPointerObj((new CStdPoint< double >(static_cast< const CStdPoint< double >& >(result))), SWIGTYPE_p_CStdPointT_double_t, SWIG_POINTER_OWN | 0 );
115379  return resultobj;
115380 fail:
115381  return NULL;
115382 }
115383 
115384 
115385 SWIGINTERN PyObject *_wrap_CStdLookupTable_TableSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115386  PyObject *resultobj = 0;
115388  void *argp1 = 0 ;
115389  int res1 = 0 ;
115390  PyObject * obj0 = 0 ;
115391  int result;
115392 
115393  if (!PyArg_ParseTuple(args,(char *)"O:CStdLookupTable_TableSize",&obj0)) SWIG_fail;
115394  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115395  if (!SWIG_IsOK(res1)) {
115396  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_TableSize" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115397  }
115398  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115399  result = (int)(arg1)->TableSize();
115400  resultobj = SWIG_From_int(static_cast< int >(result));
115401  return resultobj;
115402 fail:
115403  return NULL;
115404 }
115405 
115406 
115407 SWIGINTERN PyObject *_wrap_CStdLookupTable_Delta(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115408  PyObject *resultobj = 0;
115410  void *argp1 = 0 ;
115411  int res1 = 0 ;
115412  PyObject * obj0 = 0 ;
115413  double result;
115414 
115415  if (!PyArg_ParseTuple(args,(char *)"O:CStdLookupTable_Delta",&obj0)) SWIG_fail;
115416  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115417  if (!SWIG_IsOK(res1)) {
115418  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_Delta" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115419  }
115420  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115421  result = (double)(arg1)->Delta();
115422  resultobj = SWIG_From_double(static_cast< double >(result));
115423  return resultobj;
115424 fail:
115425  return NULL;
115426 }
115427 
115428 
115429 SWIGINTERN PyObject *_wrap_CStdLookupTable_StartX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115430  PyObject *resultobj = 0;
115432  void *argp1 = 0 ;
115433  int res1 = 0 ;
115434  PyObject * obj0 = 0 ;
115435  double result;
115436 
115437  if (!PyArg_ParseTuple(args,(char *)"O:CStdLookupTable_StartX",&obj0)) SWIG_fail;
115438  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115439  if (!SWIG_IsOK(res1)) {
115440  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_StartX" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115441  }
115442  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115443  result = (double)(arg1)->StartX();
115444  resultobj = SWIG_From_double(static_cast< double >(result));
115445  return resultobj;
115446 fail:
115447  return NULL;
115448 }
115449 
115450 
115451 SWIGINTERN PyObject *_wrap_CStdLookupTable_EndX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115452  PyObject *resultobj = 0;
115454  void *argp1 = 0 ;
115455  int res1 = 0 ;
115456  PyObject * obj0 = 0 ;
115457  double result;
115458 
115459  if (!PyArg_ParseTuple(args,(char *)"O:CStdLookupTable_EndX",&obj0)) SWIG_fail;
115460  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115461  if (!SWIG_IsOK(res1)) {
115462  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_EndX" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115463  }
115464  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115465  result = (double)(arg1)->EndX();
115466  resultobj = SWIG_From_double(static_cast< double >(result));
115467  return resultobj;
115468 fail:
115469  return NULL;
115470 }
115471 
115472 
115473 SWIGINTERN PyObject *_wrap_CStdLookupTable_UseLowLimitValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115474  PyObject *resultobj = 0;
115476  void *argp1 = 0 ;
115477  int res1 = 0 ;
115478  PyObject * obj0 = 0 ;
115479  bool result;
115480 
115481  if (!PyArg_ParseTuple(args,(char *)"O:CStdLookupTable_UseLowLimitValue",&obj0)) SWIG_fail;
115482  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115483  if (!SWIG_IsOK(res1)) {
115484  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_UseLowLimitValue" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115485  }
115486  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115487  result = (bool)(arg1)->UseLowLimitValue();
115488  resultobj = SWIG_From_bool(static_cast< bool >(result));
115489  return resultobj;
115490 fail:
115491  return NULL;
115492 }
115493 
115494 
115495 SWIGINTERN PyObject *_wrap_CStdLookupTable_UseLowLimitValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115496  PyObject *resultobj = 0;
115498  bool arg2 ;
115499  void *argp1 = 0 ;
115500  int res1 = 0 ;
115501  bool val2 ;
115502  int ecode2 = 0 ;
115503  PyObject * obj0 = 0 ;
115504  PyObject * obj1 = 0 ;
115505 
115506  if (!PyArg_ParseTuple(args,(char *)"OO:CStdLookupTable_UseLowLimitValue",&obj0,&obj1)) SWIG_fail;
115507  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115508  if (!SWIG_IsOK(res1)) {
115509  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_UseLowLimitValue" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115510  }
115511  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115512  ecode2 = SWIG_AsVal_bool(obj1, &val2);
115513  if (!SWIG_IsOK(ecode2)) {
115514  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdLookupTable_UseLowLimitValue" "', argument " "2"" of type '" "bool""'");
115515  }
115516  arg2 = static_cast< bool >(val2);
115517  (arg1)->UseLowLimitValue(arg2);
115518  resultobj = SWIG_Py_Void();
115519  return resultobj;
115520 fail:
115521  return NULL;
115522 }
115523 
115524 
115525 SWIGINTERN PyObject *_wrap_CStdLookupTable_UseLowLimitValue(PyObject *self, PyObject *args) {
115526  int argc;
115527  PyObject *argv[3];
115528  int ii;
115529 
115530  if (!PyTuple_Check(args)) SWIG_fail;
115531  argc = args ? (int)PyObject_Length(args) : 0;
115532  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
115533  argv[ii] = PyTuple_GET_ITEM(args,ii);
115534  }
115535  if (argc == 1) {
115536  int _v;
115537  void *vptr = 0;
115538  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdLookupTable, 0);
115539  _v = SWIG_CheckState(res);
115540  if (_v) {
115541  return _wrap_CStdLookupTable_UseLowLimitValue__SWIG_0(self, args);
115542  }
115543  }
115544  if (argc == 2) {
115545  int _v;
115546  void *vptr = 0;
115547  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdLookupTable, 0);
115548  _v = SWIG_CheckState(res);
115549  if (_v) {
115550  {
115551  int res = SWIG_AsVal_bool(argv[1], NULL);
115552  _v = SWIG_CheckState(res);
115553  }
115554  if (_v) {
115555  return _wrap_CStdLookupTable_UseLowLimitValue__SWIG_1(self, args);
115556  }
115557  }
115558  }
115559 
115560 fail:
115561  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdLookupTable_UseLowLimitValue'.\n"
115562  " Possible C/C++ prototypes are:\n"
115563  " StdUtils::CStdLookupTable::UseLowLimitValue()\n"
115564  " StdUtils::CStdLookupTable::UseLowLimitValue(bool)\n");
115565  return 0;
115566 }
115567 
115568 
115569 SWIGINTERN PyObject *_wrap_CStdLookupTable_UseHighLimitValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115570  PyObject *resultobj = 0;
115572  void *argp1 = 0 ;
115573  int res1 = 0 ;
115574  PyObject * obj0 = 0 ;
115575  bool result;
115576 
115577  if (!PyArg_ParseTuple(args,(char *)"O:CStdLookupTable_UseHighLimitValue",&obj0)) SWIG_fail;
115578  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115579  if (!SWIG_IsOK(res1)) {
115580  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_UseHighLimitValue" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115581  }
115582  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115583  result = (bool)(arg1)->UseHighLimitValue();
115584  resultobj = SWIG_From_bool(static_cast< bool >(result));
115585  return resultobj;
115586 fail:
115587  return NULL;
115588 }
115589 
115590 
115591 SWIGINTERN PyObject *_wrap_CStdLookupTable_UseHighLimitValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115592  PyObject *resultobj = 0;
115594  bool arg2 ;
115595  void *argp1 = 0 ;
115596  int res1 = 0 ;
115597  bool val2 ;
115598  int ecode2 = 0 ;
115599  PyObject * obj0 = 0 ;
115600  PyObject * obj1 = 0 ;
115601 
115602  if (!PyArg_ParseTuple(args,(char *)"OO:CStdLookupTable_UseHighLimitValue",&obj0,&obj1)) SWIG_fail;
115603  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115604  if (!SWIG_IsOK(res1)) {
115605  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_UseHighLimitValue" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115606  }
115607  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115608  ecode2 = SWIG_AsVal_bool(obj1, &val2);
115609  if (!SWIG_IsOK(ecode2)) {
115610  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdLookupTable_UseHighLimitValue" "', argument " "2"" of type '" "bool""'");
115611  }
115612  arg2 = static_cast< bool >(val2);
115613  (arg1)->UseHighLimitValue(arg2);
115614  resultobj = SWIG_Py_Void();
115615  return resultobj;
115616 fail:
115617  return NULL;
115618 }
115619 
115620 
115621 SWIGINTERN PyObject *_wrap_CStdLookupTable_UseHighLimitValue(PyObject *self, PyObject *args) {
115622  int argc;
115623  PyObject *argv[3];
115624  int ii;
115625 
115626  if (!PyTuple_Check(args)) SWIG_fail;
115627  argc = args ? (int)PyObject_Length(args) : 0;
115628  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
115629  argv[ii] = PyTuple_GET_ITEM(args,ii);
115630  }
115631  if (argc == 1) {
115632  int _v;
115633  void *vptr = 0;
115634  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdLookupTable, 0);
115635  _v = SWIG_CheckState(res);
115636  if (_v) {
115637  return _wrap_CStdLookupTable_UseHighLimitValue__SWIG_0(self, args);
115638  }
115639  }
115640  if (argc == 2) {
115641  int _v;
115642  void *vptr = 0;
115643  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdLookupTable, 0);
115644  _v = SWIG_CheckState(res);
115645  if (_v) {
115646  {
115647  int res = SWIG_AsVal_bool(argv[1], NULL);
115648  _v = SWIG_CheckState(res);
115649  }
115650  if (_v) {
115651  return _wrap_CStdLookupTable_UseHighLimitValue__SWIG_1(self, args);
115652  }
115653  }
115654  }
115655 
115656 fail:
115657  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdLookupTable_UseHighLimitValue'.\n"
115658  " Possible C/C++ prototypes are:\n"
115659  " StdUtils::CStdLookupTable::UseHighLimitValue()\n"
115660  " StdUtils::CStdLookupTable::UseHighLimitValue(bool)\n");
115661  return 0;
115662 }
115663 
115664 
115665 SWIGINTERN PyObject *_wrap_CStdLookupTable_LowLimitValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115666  PyObject *resultobj = 0;
115668  void *argp1 = 0 ;
115669  int res1 = 0 ;
115670  PyObject * obj0 = 0 ;
115671  double result;
115672 
115673  if (!PyArg_ParseTuple(args,(char *)"O:CStdLookupTable_LowLimitValue",&obj0)) SWIG_fail;
115674  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115675  if (!SWIG_IsOK(res1)) {
115676  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_LowLimitValue" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115677  }
115678  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115679  result = (double)(arg1)->LowLimitValue();
115680  resultobj = SWIG_From_double(static_cast< double >(result));
115681  return resultobj;
115682 fail:
115683  return NULL;
115684 }
115685 
115686 
115687 SWIGINTERN PyObject *_wrap_CStdLookupTable_LowLimitValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115688  PyObject *resultobj = 0;
115690  double arg2 ;
115691  void *argp1 = 0 ;
115692  int res1 = 0 ;
115693  double val2 ;
115694  int ecode2 = 0 ;
115695  PyObject * obj0 = 0 ;
115696  PyObject * obj1 = 0 ;
115697 
115698  if (!PyArg_ParseTuple(args,(char *)"OO:CStdLookupTable_LowLimitValue",&obj0,&obj1)) SWIG_fail;
115699  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115700  if (!SWIG_IsOK(res1)) {
115701  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_LowLimitValue" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115702  }
115703  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115704  ecode2 = SWIG_AsVal_double(obj1, &val2);
115705  if (!SWIG_IsOK(ecode2)) {
115706  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdLookupTable_LowLimitValue" "', argument " "2"" of type '" "double""'");
115707  }
115708  arg2 = static_cast< double >(val2);
115709  (arg1)->LowLimitValue(arg2);
115710  resultobj = SWIG_Py_Void();
115711  return resultobj;
115712 fail:
115713  return NULL;
115714 }
115715 
115716 
115717 SWIGINTERN PyObject *_wrap_CStdLookupTable_LowLimitValue(PyObject *self, PyObject *args) {
115718  int argc;
115719  PyObject *argv[3];
115720  int ii;
115721 
115722  if (!PyTuple_Check(args)) SWIG_fail;
115723  argc = args ? (int)PyObject_Length(args) : 0;
115724  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
115725  argv[ii] = PyTuple_GET_ITEM(args,ii);
115726  }
115727  if (argc == 1) {
115728  int _v;
115729  void *vptr = 0;
115730  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdLookupTable, 0);
115731  _v = SWIG_CheckState(res);
115732  if (_v) {
115733  return _wrap_CStdLookupTable_LowLimitValue__SWIG_0(self, args);
115734  }
115735  }
115736  if (argc == 2) {
115737  int _v;
115738  void *vptr = 0;
115739  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdLookupTable, 0);
115740  _v = SWIG_CheckState(res);
115741  if (_v) {
115742  {
115743  int res = SWIG_AsVal_double(argv[1], NULL);
115744  _v = SWIG_CheckState(res);
115745  }
115746  if (_v) {
115747  return _wrap_CStdLookupTable_LowLimitValue__SWIG_1(self, args);
115748  }
115749  }
115750  }
115751 
115752 fail:
115753  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdLookupTable_LowLimitValue'.\n"
115754  " Possible C/C++ prototypes are:\n"
115755  " StdUtils::CStdLookupTable::LowLimitValue()\n"
115756  " StdUtils::CStdLookupTable::LowLimitValue(double)\n");
115757  return 0;
115758 }
115759 
115760 
115761 SWIGINTERN PyObject *_wrap_CStdLookupTable_HighLimitValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115762  PyObject *resultobj = 0;
115764  void *argp1 = 0 ;
115765  int res1 = 0 ;
115766  PyObject * obj0 = 0 ;
115767  double result;
115768 
115769  if (!PyArg_ParseTuple(args,(char *)"O:CStdLookupTable_HighLimitValue",&obj0)) SWIG_fail;
115770  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115771  if (!SWIG_IsOK(res1)) {
115772  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_HighLimitValue" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115773  }
115774  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115775  result = (double)(arg1)->HighLimitValue();
115776  resultobj = SWIG_From_double(static_cast< double >(result));
115777  return resultobj;
115778 fail:
115779  return NULL;
115780 }
115781 
115782 
115783 SWIGINTERN PyObject *_wrap_CStdLookupTable_HighLimitValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115784  PyObject *resultobj = 0;
115786  double arg2 ;
115787  void *argp1 = 0 ;
115788  int res1 = 0 ;
115789  double val2 ;
115790  int ecode2 = 0 ;
115791  PyObject * obj0 = 0 ;
115792  PyObject * obj1 = 0 ;
115793 
115794  if (!PyArg_ParseTuple(args,(char *)"OO:CStdLookupTable_HighLimitValue",&obj0,&obj1)) SWIG_fail;
115795  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115796  if (!SWIG_IsOK(res1)) {
115797  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_HighLimitValue" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115798  }
115799  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115800  ecode2 = SWIG_AsVal_double(obj1, &val2);
115801  if (!SWIG_IsOK(ecode2)) {
115802  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdLookupTable_HighLimitValue" "', argument " "2"" of type '" "double""'");
115803  }
115804  arg2 = static_cast< double >(val2);
115805  (arg1)->HighLimitValue(arg2);
115806  resultobj = SWIG_Py_Void();
115807  return resultobj;
115808 fail:
115809  return NULL;
115810 }
115811 
115812 
115813 SWIGINTERN PyObject *_wrap_CStdLookupTable_HighLimitValue(PyObject *self, PyObject *args) {
115814  int argc;
115815  PyObject *argv[3];
115816  int ii;
115817 
115818  if (!PyTuple_Check(args)) SWIG_fail;
115819  argc = args ? (int)PyObject_Length(args) : 0;
115820  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
115821  argv[ii] = PyTuple_GET_ITEM(args,ii);
115822  }
115823  if (argc == 1) {
115824  int _v;
115825  void *vptr = 0;
115826  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdLookupTable, 0);
115827  _v = SWIG_CheckState(res);
115828  if (_v) {
115829  return _wrap_CStdLookupTable_HighLimitValue__SWIG_0(self, args);
115830  }
115831  }
115832  if (argc == 2) {
115833  int _v;
115834  void *vptr = 0;
115835  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdLookupTable, 0);
115836  _v = SWIG_CheckState(res);
115837  if (_v) {
115838  {
115839  int res = SWIG_AsVal_double(argv[1], NULL);
115840  _v = SWIG_CheckState(res);
115841  }
115842  if (_v) {
115843  return _wrap_CStdLookupTable_HighLimitValue__SWIG_1(self, args);
115844  }
115845  }
115846  }
115847 
115848 fail:
115849  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdLookupTable_HighLimitValue'.\n"
115850  " Possible C/C++ prototypes are:\n"
115851  " StdUtils::CStdLookupTable::HighLimitValue()\n"
115852  " StdUtils::CStdLookupTable::HighLimitValue(double)\n");
115853  return 0;
115854 }
115855 
115856 
115857 SWIGINTERN PyObject *_wrap_CStdLookupTable_AddPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115858  PyObject *resultobj = 0;
115860  double arg2 ;
115861  double arg3 ;
115862  void *argp1 = 0 ;
115863  int res1 = 0 ;
115864  double val2 ;
115865  int ecode2 = 0 ;
115866  double val3 ;
115867  int ecode3 = 0 ;
115868  PyObject * obj0 = 0 ;
115869  PyObject * obj1 = 0 ;
115870  PyObject * obj2 = 0 ;
115871 
115872  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdLookupTable_AddPoint",&obj0,&obj1,&obj2)) SWIG_fail;
115873  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115874  if (!SWIG_IsOK(res1)) {
115875  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_AddPoint" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115876  }
115877  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115878  ecode2 = SWIG_AsVal_double(obj1, &val2);
115879  if (!SWIG_IsOK(ecode2)) {
115880  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdLookupTable_AddPoint" "', argument " "2"" of type '" "double""'");
115881  }
115882  arg2 = static_cast< double >(val2);
115883  ecode3 = SWIG_AsVal_double(obj2, &val3);
115884  if (!SWIG_IsOK(ecode3)) {
115885  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdLookupTable_AddPoint" "', argument " "3"" of type '" "double""'");
115886  }
115887  arg3 = static_cast< double >(val3);
115888  (arg1)->AddPoint(arg2,arg3);
115889  resultobj = SWIG_Py_Void();
115890  return resultobj;
115891 fail:
115892  return NULL;
115893 }
115894 
115895 
115896 SWIGINTERN PyObject *_wrap_CStdLookupTable_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115897  PyObject *resultobj = 0;
115899  void *argp1 = 0 ;
115900  int res1 = 0 ;
115901  PyObject * obj0 = 0 ;
115902 
115903  if (!PyArg_ParseTuple(args,(char *)"O:CStdLookupTable_Initialize",&obj0)) SWIG_fail;
115904  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115905  if (!SWIG_IsOK(res1)) {
115906  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_Initialize" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115907  }
115908  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115909  (arg1)->Initialize();
115910  resultobj = SWIG_Py_Void();
115911  return resultobj;
115912 fail:
115913  return NULL;
115914 }
115915 
115916 
115917 SWIGINTERN PyObject *_wrap_CStdLookupTable_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115918  PyObject *resultobj = 0;
115920  void *argp1 = 0 ;
115921  int res1 = 0 ;
115922  PyObject * obj0 = 0 ;
115923 
115924  if (!PyArg_ParseTuple(args,(char *)"O:CStdLookupTable_Clear",&obj0)) SWIG_fail;
115925  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115926  if (!SWIG_IsOK(res1)) {
115927  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_Clear" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115928  }
115929  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115930  (arg1)->Clear();
115931  resultobj = SWIG_Py_Void();
115932  return resultobj;
115933 fail:
115934  return NULL;
115935 }
115936 
115937 
115938 SWIGINTERN PyObject *_wrap_CStdLookupTable_Evaluate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115939  PyObject *resultobj = 0;
115941  double arg2 ;
115942  void *argp1 = 0 ;
115943  int res1 = 0 ;
115944  double val2 ;
115945  int ecode2 = 0 ;
115946  PyObject * obj0 = 0 ;
115947  PyObject * obj1 = 0 ;
115948  double result;
115949 
115950  if (!PyArg_ParseTuple(args,(char *)"OO:CStdLookupTable_Evaluate",&obj0,&obj1)) SWIG_fail;
115951  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115952  if (!SWIG_IsOK(res1)) {
115953  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_Evaluate" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115954  }
115955  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115956  ecode2 = SWIG_AsVal_double(obj1, &val2);
115957  if (!SWIG_IsOK(ecode2)) {
115958  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdLookupTable_Evaluate" "', argument " "2"" of type '" "double""'");
115959  }
115960  arg2 = static_cast< double >(val2);
115961  result = (double)(arg1)->Evaluate(arg2);
115962  resultobj = SWIG_From_double(static_cast< double >(result));
115963  return resultobj;
115964 fail:
115965  return NULL;
115966 }
115967 
115968 
115969 SWIGINTERN PyObject *_wrap_CStdLookupTable_Load__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
115970  PyObject *resultobj = 0;
115972  StdUtils::CStdXml *arg2 = 0 ;
115973  std::string arg3 ;
115974  bool arg4 ;
115975  void *argp1 = 0 ;
115976  int res1 = 0 ;
115977  void *argp2 = 0 ;
115978  int res2 = 0 ;
115979  bool val4 ;
115980  int ecode4 = 0 ;
115981  PyObject * obj0 = 0 ;
115982  PyObject * obj1 = 0 ;
115983  PyObject * obj2 = 0 ;
115984  PyObject * obj3 = 0 ;
115985 
115986  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdLookupTable_Load",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
115987  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
115988  if (!SWIG_IsOK(res1)) {
115989  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_Load" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
115990  }
115991  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
115992  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
115993  if (!SWIG_IsOK(res2)) {
115994  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdLookupTable_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
115995  }
115996  if (!argp2) {
115997  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdLookupTable_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
115998  }
115999  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
116000  {
116001  std::string *ptr = (std::string *)0;
116002  int res = SWIG_AsPtr_std_string(obj2, &ptr);
116003  if (!SWIG_IsOK(res) || !ptr) {
116004  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdLookupTable_Load" "', argument " "3"" of type '" "std::string""'");
116005  }
116006  arg3 = *ptr;
116007  if (SWIG_IsNewObj(res)) delete ptr;
116008  }
116009  ecode4 = SWIG_AsVal_bool(obj3, &val4);
116010  if (!SWIG_IsOK(ecode4)) {
116011  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdLookupTable_Load" "', argument " "4"" of type '" "bool""'");
116012  }
116013  arg4 = static_cast< bool >(val4);
116014  (arg1)->Load(*arg2,arg3,arg4);
116015  resultobj = SWIG_Py_Void();
116016  return resultobj;
116017 fail:
116018  return NULL;
116019 }
116020 
116021 
116022 SWIGINTERN PyObject *_wrap_CStdLookupTable_Load__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116023  PyObject *resultobj = 0;
116025  StdUtils::CStdXml *arg2 = 0 ;
116026  std::string arg3 ;
116027  void *argp1 = 0 ;
116028  int res1 = 0 ;
116029  void *argp2 = 0 ;
116030  int res2 = 0 ;
116031  PyObject * obj0 = 0 ;
116032  PyObject * obj1 = 0 ;
116033  PyObject * obj2 = 0 ;
116034 
116035  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdLookupTable_Load",&obj0,&obj1,&obj2)) SWIG_fail;
116036  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
116037  if (!SWIG_IsOK(res1)) {
116038  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_Load" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
116039  }
116040  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
116041  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
116042  if (!SWIG_IsOK(res2)) {
116043  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdLookupTable_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
116044  }
116045  if (!argp2) {
116046  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdLookupTable_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
116047  }
116048  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
116049  {
116050  std::string *ptr = (std::string *)0;
116051  int res = SWIG_AsPtr_std_string(obj2, &ptr);
116052  if (!SWIG_IsOK(res) || !ptr) {
116053  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdLookupTable_Load" "', argument " "3"" of type '" "std::string""'");
116054  }
116055  arg3 = *ptr;
116056  if (SWIG_IsNewObj(res)) delete ptr;
116057  }
116058  (arg1)->Load(*arg2,arg3);
116059  resultobj = SWIG_Py_Void();
116060  return resultobj;
116061 fail:
116062  return NULL;
116063 }
116064 
116065 
116066 SWIGINTERN PyObject *_wrap_CStdLookupTable_Load(PyObject *self, PyObject *args) {
116067  int argc;
116068  PyObject *argv[5];
116069  int ii;
116070 
116071  if (!PyTuple_Check(args)) SWIG_fail;
116072  argc = args ? (int)PyObject_Length(args) : 0;
116073  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
116074  argv[ii] = PyTuple_GET_ITEM(args,ii);
116075  }
116076  if (argc == 3) {
116077  int _v;
116078  void *vptr = 0;
116079  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdLookupTable, 0);
116080  _v = SWIG_CheckState(res);
116081  if (_v) {
116082  void *vptr = 0;
116083  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
116084  _v = SWIG_CheckState(res);
116085  if (_v) {
116086  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
116087  _v = SWIG_CheckState(res);
116088  if (_v) {
116089  return _wrap_CStdLookupTable_Load__SWIG_1(self, args);
116090  }
116091  }
116092  }
116093  }
116094  if (argc == 4) {
116095  int _v;
116096  void *vptr = 0;
116097  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdLookupTable, 0);
116098  _v = SWIG_CheckState(res);
116099  if (_v) {
116100  void *vptr = 0;
116101  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
116102  _v = SWIG_CheckState(res);
116103  if (_v) {
116104  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
116105  _v = SWIG_CheckState(res);
116106  if (_v) {
116107  {
116108  int res = SWIG_AsVal_bool(argv[3], NULL);
116109  _v = SWIG_CheckState(res);
116110  }
116111  if (_v) {
116112  return _wrap_CStdLookupTable_Load__SWIG_0(self, args);
116113  }
116114  }
116115  }
116116  }
116117  }
116118 
116119 fail:
116120  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdLookupTable_Load'.\n"
116121  " Possible C/C++ prototypes are:\n"
116122  " StdUtils::CStdLookupTable::Load(StdUtils::CStdXml &,std::string,bool)\n"
116123  " StdUtils::CStdLookupTable::Load(StdUtils::CStdXml &,std::string)\n");
116124  return 0;
116125 }
116126 
116127 
116128 SWIGINTERN PyObject *_wrap_CStdLookupTable_Save(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116129  PyObject *resultobj = 0;
116131  StdUtils::CStdXml *arg2 = 0 ;
116132  std::string arg3 ;
116133  void *argp1 = 0 ;
116134  int res1 = 0 ;
116135  void *argp2 = 0 ;
116136  int res2 = 0 ;
116137  PyObject * obj0 = 0 ;
116138  PyObject * obj1 = 0 ;
116139  PyObject * obj2 = 0 ;
116140 
116141  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdLookupTable_Save",&obj0,&obj1,&obj2)) SWIG_fail;
116142  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdLookupTable, 0 | 0 );
116143  if (!SWIG_IsOK(res1)) {
116144  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdLookupTable_Save" "', argument " "1"" of type '" "StdUtils::CStdLookupTable *""'");
116145  }
116146  arg1 = reinterpret_cast< StdUtils::CStdLookupTable * >(argp1);
116147  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
116148  if (!SWIG_IsOK(res2)) {
116149  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdLookupTable_Save" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
116150  }
116151  if (!argp2) {
116152  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdLookupTable_Save" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
116153  }
116154  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
116155  {
116156  std::string *ptr = (std::string *)0;
116157  int res = SWIG_AsPtr_std_string(obj2, &ptr);
116158  if (!SWIG_IsOK(res) || !ptr) {
116159  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdLookupTable_Save" "', argument " "3"" of type '" "std::string""'");
116160  }
116161  arg3 = *ptr;
116162  if (SWIG_IsNewObj(res)) delete ptr;
116163  }
116164  (arg1)->Save(*arg2,arg3);
116165  resultobj = SWIG_Py_Void();
116166  return resultobj;
116167 fail:
116168  return NULL;
116169 }
116170 
116171 
116172 SWIGINTERN PyObject *CStdLookupTable_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116173  PyObject *obj;
116174  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
116175  SWIG_TypeNewClientData(SWIGTYPE_p_StdUtils__CStdLookupTable, SWIG_NewClientData(obj));
116176  return SWIG_Py_Void();
116177 }
116178 
116179 SWIGINTERN PyObject *_wrap_new_CStdFixed__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116180  PyObject *resultobj = 0;
116181  StdUtils::CStdFixed *result = 0 ;
116182 
116183  if (!PyArg_ParseTuple(args,(char *)":new_CStdFixed")) SWIG_fail;
116184  result = (StdUtils::CStdFixed *)new StdUtils::CStdFixed();
116185  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_NEW | 0 );
116186  return resultobj;
116187 fail:
116188  return NULL;
116189 }
116190 
116191 
116192 SWIGINTERN PyObject *_wrap_new_CStdFixed__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116193  PyObject *resultobj = 0;
116194  int arg1 ;
116195  int arg2 ;
116196  int arg3 ;
116197  int arg4 ;
116198  int val1 ;
116199  int ecode1 = 0 ;
116200  int val2 ;
116201  int ecode2 = 0 ;
116202  int val3 ;
116203  int ecode3 = 0 ;
116204  int val4 ;
116205  int ecode4 = 0 ;
116206  PyObject * obj0 = 0 ;
116207  PyObject * obj1 = 0 ;
116208  PyObject * obj2 = 0 ;
116209  PyObject * obj3 = 0 ;
116210  StdUtils::CStdFixed *result = 0 ;
116211 
116212  if (!PyArg_ParseTuple(args,(char *)"OOOO:new_CStdFixed",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
116213  ecode1 = SWIG_AsVal_int(obj0, &val1);
116214  if (!SWIG_IsOK(ecode1)) {
116215  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdFixed" "', argument " "1"" of type '" "int""'");
116216  }
116217  arg1 = static_cast< int >(val1);
116218  ecode2 = SWIG_AsVal_int(obj1, &val2);
116219  if (!SWIG_IsOK(ecode2)) {
116220  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CStdFixed" "', argument " "2"" of type '" "int""'");
116221  }
116222  arg2 = static_cast< int >(val2);
116223  ecode3 = SWIG_AsVal_int(obj2, &val3);
116224  if (!SWIG_IsOK(ecode3)) {
116225  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CStdFixed" "', argument " "3"" of type '" "int""'");
116226  }
116227  arg3 = static_cast< int >(val3);
116228  ecode4 = SWIG_AsVal_int(obj3, &val4);
116229  if (!SWIG_IsOK(ecode4)) {
116230  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CStdFixed" "', argument " "4"" of type '" "int""'");
116231  }
116232  arg4 = static_cast< int >(val4);
116233  result = (StdUtils::CStdFixed *)new StdUtils::CStdFixed(arg1,arg2,arg3,arg4);
116234  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_NEW | 0 );
116235  return resultobj;
116236 fail:
116237  return NULL;
116238 }
116239 
116240 
116241 SWIGINTERN PyObject *_wrap_new_CStdFixed__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116242  PyObject *resultobj = 0;
116243  int arg1 ;
116244  int arg2 ;
116245  int arg3 ;
116246  int val1 ;
116247  int ecode1 = 0 ;
116248  int val2 ;
116249  int ecode2 = 0 ;
116250  int val3 ;
116251  int ecode3 = 0 ;
116252  PyObject * obj0 = 0 ;
116253  PyObject * obj1 = 0 ;
116254  PyObject * obj2 = 0 ;
116255  StdUtils::CStdFixed *result = 0 ;
116256 
116257  if (!PyArg_ParseTuple(args,(char *)"OOO:new_CStdFixed",&obj0,&obj1,&obj2)) SWIG_fail;
116258  ecode1 = SWIG_AsVal_int(obj0, &val1);
116259  if (!SWIG_IsOK(ecode1)) {
116260  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdFixed" "', argument " "1"" of type '" "int""'");
116261  }
116262  arg1 = static_cast< int >(val1);
116263  ecode2 = SWIG_AsVal_int(obj1, &val2);
116264  if (!SWIG_IsOK(ecode2)) {
116265  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CStdFixed" "', argument " "2"" of type '" "int""'");
116266  }
116267  arg2 = static_cast< int >(val2);
116268  ecode3 = SWIG_AsVal_int(obj2, &val3);
116269  if (!SWIG_IsOK(ecode3)) {
116270  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CStdFixed" "', argument " "3"" of type '" "int""'");
116271  }
116272  arg3 = static_cast< int >(val3);
116273  result = (StdUtils::CStdFixed *)new StdUtils::CStdFixed(arg1,arg2,arg3);
116274  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_NEW | 0 );
116275  return resultobj;
116276 fail:
116277  return NULL;
116278 }
116279 
116280 
116281 SWIGINTERN PyObject *_wrap_new_CStdFixed__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116282  PyObject *resultobj = 0;
116283  int arg1 ;
116284  int arg2 ;
116285  int val1 ;
116286  int ecode1 = 0 ;
116287  int val2 ;
116288  int ecode2 = 0 ;
116289  PyObject * obj0 = 0 ;
116290  PyObject * obj1 = 0 ;
116291  StdUtils::CStdFixed *result = 0 ;
116292 
116293  if (!PyArg_ParseTuple(args,(char *)"OO:new_CStdFixed",&obj0,&obj1)) SWIG_fail;
116294  ecode1 = SWIG_AsVal_int(obj0, &val1);
116295  if (!SWIG_IsOK(ecode1)) {
116296  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdFixed" "', argument " "1"" of type '" "int""'");
116297  }
116298  arg1 = static_cast< int >(val1);
116299  ecode2 = SWIG_AsVal_int(obj1, &val2);
116300  if (!SWIG_IsOK(ecode2)) {
116301  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CStdFixed" "', argument " "2"" of type '" "int""'");
116302  }
116303  arg2 = static_cast< int >(val2);
116304  result = (StdUtils::CStdFixed *)new StdUtils::CStdFixed(arg1,arg2);
116305  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_NEW | 0 );
116306  return resultobj;
116307 fail:
116308  return NULL;
116309 }
116310 
116311 
116312 SWIGINTERN PyObject *_wrap_new_CStdFixed__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116313  PyObject *resultobj = 0;
116314  int arg1 ;
116315  int arg2 ;
116316  double arg3 ;
116317  int arg4 ;
116318  int arg5 ;
116319  int val1 ;
116320  int ecode1 = 0 ;
116321  int val2 ;
116322  int ecode2 = 0 ;
116323  double val3 ;
116324  int ecode3 = 0 ;
116325  int val4 ;
116326  int ecode4 = 0 ;
116327  int val5 ;
116328  int ecode5 = 0 ;
116329  PyObject * obj0 = 0 ;
116330  PyObject * obj1 = 0 ;
116331  PyObject * obj2 = 0 ;
116332  PyObject * obj3 = 0 ;
116333  PyObject * obj4 = 0 ;
116334  StdUtils::CStdFixed *result = 0 ;
116335 
116336  if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_CStdFixed",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
116337  ecode1 = SWIG_AsVal_int(obj0, &val1);
116338  if (!SWIG_IsOK(ecode1)) {
116339  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdFixed" "', argument " "1"" of type '" "int""'");
116340  }
116341  arg1 = static_cast< int >(val1);
116342  ecode2 = SWIG_AsVal_int(obj1, &val2);
116343  if (!SWIG_IsOK(ecode2)) {
116344  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CStdFixed" "', argument " "2"" of type '" "int""'");
116345  }
116346  arg2 = static_cast< int >(val2);
116347  ecode3 = SWIG_AsVal_double(obj2, &val3);
116348  if (!SWIG_IsOK(ecode3)) {
116349  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CStdFixed" "', argument " "3"" of type '" "double""'");
116350  }
116351  arg3 = static_cast< double >(val3);
116352  ecode4 = SWIG_AsVal_int(obj3, &val4);
116353  if (!SWIG_IsOK(ecode4)) {
116354  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CStdFixed" "', argument " "4"" of type '" "int""'");
116355  }
116356  arg4 = static_cast< int >(val4);
116357  ecode5 = SWIG_AsVal_int(obj4, &val5);
116358  if (!SWIG_IsOK(ecode5)) {
116359  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_CStdFixed" "', argument " "5"" of type '" "int""'");
116360  }
116361  arg5 = static_cast< int >(val5);
116362  result = (StdUtils::CStdFixed *)new StdUtils::CStdFixed(arg1,arg2,arg3,arg4,arg5);
116363  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_NEW | 0 );
116364  return resultobj;
116365 fail:
116366  return NULL;
116367 }
116368 
116369 
116370 SWIGINTERN PyObject *_wrap_new_CStdFixed__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116371  PyObject *resultobj = 0;
116372  int arg1 ;
116373  int arg2 ;
116374  double arg3 ;
116375  int arg4 ;
116376  int val1 ;
116377  int ecode1 = 0 ;
116378  int val2 ;
116379  int ecode2 = 0 ;
116380  double val3 ;
116381  int ecode3 = 0 ;
116382  int val4 ;
116383  int ecode4 = 0 ;
116384  PyObject * obj0 = 0 ;
116385  PyObject * obj1 = 0 ;
116386  PyObject * obj2 = 0 ;
116387  PyObject * obj3 = 0 ;
116388  StdUtils::CStdFixed *result = 0 ;
116389 
116390  if (!PyArg_ParseTuple(args,(char *)"OOOO:new_CStdFixed",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
116391  ecode1 = SWIG_AsVal_int(obj0, &val1);
116392  if (!SWIG_IsOK(ecode1)) {
116393  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdFixed" "', argument " "1"" of type '" "int""'");
116394  }
116395  arg1 = static_cast< int >(val1);
116396  ecode2 = SWIG_AsVal_int(obj1, &val2);
116397  if (!SWIG_IsOK(ecode2)) {
116398  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CStdFixed" "', argument " "2"" of type '" "int""'");
116399  }
116400  arg2 = static_cast< int >(val2);
116401  ecode3 = SWIG_AsVal_double(obj2, &val3);
116402  if (!SWIG_IsOK(ecode3)) {
116403  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CStdFixed" "', argument " "3"" of type '" "double""'");
116404  }
116405  arg3 = static_cast< double >(val3);
116406  ecode4 = SWIG_AsVal_int(obj3, &val4);
116407  if (!SWIG_IsOK(ecode4)) {
116408  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CStdFixed" "', argument " "4"" of type '" "int""'");
116409  }
116410  arg4 = static_cast< int >(val4);
116411  result = (StdUtils::CStdFixed *)new StdUtils::CStdFixed(arg1,arg2,arg3,arg4);
116412  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_NEW | 0 );
116413  return resultobj;
116414 fail:
116415  return NULL;
116416 }
116417 
116418 
116419 SWIGINTERN PyObject *_wrap_new_CStdFixed__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116420  PyObject *resultobj = 0;
116421  int arg1 ;
116422  int arg2 ;
116423  double arg3 ;
116424  int val1 ;
116425  int ecode1 = 0 ;
116426  int val2 ;
116427  int ecode2 = 0 ;
116428  double val3 ;
116429  int ecode3 = 0 ;
116430  PyObject * obj0 = 0 ;
116431  PyObject * obj1 = 0 ;
116432  PyObject * obj2 = 0 ;
116433  StdUtils::CStdFixed *result = 0 ;
116434 
116435  if (!PyArg_ParseTuple(args,(char *)"OOO:new_CStdFixed",&obj0,&obj1,&obj2)) SWIG_fail;
116436  ecode1 = SWIG_AsVal_int(obj0, &val1);
116437  if (!SWIG_IsOK(ecode1)) {
116438  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdFixed" "', argument " "1"" of type '" "int""'");
116439  }
116440  arg1 = static_cast< int >(val1);
116441  ecode2 = SWIG_AsVal_int(obj1, &val2);
116442  if (!SWIG_IsOK(ecode2)) {
116443  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CStdFixed" "', argument " "2"" of type '" "int""'");
116444  }
116445  arg2 = static_cast< int >(val2);
116446  ecode3 = SWIG_AsVal_double(obj2, &val3);
116447  if (!SWIG_IsOK(ecode3)) {
116448  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CStdFixed" "', argument " "3"" of type '" "double""'");
116449  }
116450  arg3 = static_cast< double >(val3);
116451  result = (StdUtils::CStdFixed *)new StdUtils::CStdFixed(arg1,arg2,arg3);
116452  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_NEW | 0 );
116453  return resultobj;
116454 fail:
116455  return NULL;
116456 }
116457 
116458 
116459 SWIGINTERN PyObject *_wrap_new_CStdFixed__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116460  PyObject *resultobj = 0;
116461  int arg1 ;
116462  int arg2 ;
116463  long arg3 ;
116464  int arg4 ;
116465  int arg5 ;
116466  int val1 ;
116467  int ecode1 = 0 ;
116468  int val2 ;
116469  int ecode2 = 0 ;
116470  long val3 ;
116471  int ecode3 = 0 ;
116472  int val4 ;
116473  int ecode4 = 0 ;
116474  int val5 ;
116475  int ecode5 = 0 ;
116476  PyObject * obj0 = 0 ;
116477  PyObject * obj1 = 0 ;
116478  PyObject * obj2 = 0 ;
116479  PyObject * obj3 = 0 ;
116480  PyObject * obj4 = 0 ;
116481  StdUtils::CStdFixed *result = 0 ;
116482 
116483  if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_CStdFixed",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
116484  ecode1 = SWIG_AsVal_int(obj0, &val1);
116485  if (!SWIG_IsOK(ecode1)) {
116486  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdFixed" "', argument " "1"" of type '" "int""'");
116487  }
116488  arg1 = static_cast< int >(val1);
116489  ecode2 = SWIG_AsVal_int(obj1, &val2);
116490  if (!SWIG_IsOK(ecode2)) {
116491  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CStdFixed" "', argument " "2"" of type '" "int""'");
116492  }
116493  arg2 = static_cast< int >(val2);
116494  ecode3 = SWIG_AsVal_long(obj2, &val3);
116495  if (!SWIG_IsOK(ecode3)) {
116496  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CStdFixed" "', argument " "3"" of type '" "long""'");
116497  }
116498  arg3 = static_cast< long >(val3);
116499  ecode4 = SWIG_AsVal_int(obj3, &val4);
116500  if (!SWIG_IsOK(ecode4)) {
116501  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CStdFixed" "', argument " "4"" of type '" "int""'");
116502  }
116503  arg4 = static_cast< int >(val4);
116504  ecode5 = SWIG_AsVal_int(obj4, &val5);
116505  if (!SWIG_IsOK(ecode5)) {
116506  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_CStdFixed" "', argument " "5"" of type '" "int""'");
116507  }
116508  arg5 = static_cast< int >(val5);
116509  result = (StdUtils::CStdFixed *)new StdUtils::CStdFixed(arg1,arg2,arg3,arg4,arg5);
116510  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_NEW | 0 );
116511  return resultobj;
116512 fail:
116513  return NULL;
116514 }
116515 
116516 
116517 SWIGINTERN PyObject *_wrap_new_CStdFixed__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116518  PyObject *resultobj = 0;
116519  int arg1 ;
116520  int arg2 ;
116521  long arg3 ;
116522  int arg4 ;
116523  int val1 ;
116524  int ecode1 = 0 ;
116525  int val2 ;
116526  int ecode2 = 0 ;
116527  long val3 ;
116528  int ecode3 = 0 ;
116529  int val4 ;
116530  int ecode4 = 0 ;
116531  PyObject * obj0 = 0 ;
116532  PyObject * obj1 = 0 ;
116533  PyObject * obj2 = 0 ;
116534  PyObject * obj3 = 0 ;
116535  StdUtils::CStdFixed *result = 0 ;
116536 
116537  if (!PyArg_ParseTuple(args,(char *)"OOOO:new_CStdFixed",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
116538  ecode1 = SWIG_AsVal_int(obj0, &val1);
116539  if (!SWIG_IsOK(ecode1)) {
116540  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdFixed" "', argument " "1"" of type '" "int""'");
116541  }
116542  arg1 = static_cast< int >(val1);
116543  ecode2 = SWIG_AsVal_int(obj1, &val2);
116544  if (!SWIG_IsOK(ecode2)) {
116545  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CStdFixed" "', argument " "2"" of type '" "int""'");
116546  }
116547  arg2 = static_cast< int >(val2);
116548  ecode3 = SWIG_AsVal_long(obj2, &val3);
116549  if (!SWIG_IsOK(ecode3)) {
116550  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CStdFixed" "', argument " "3"" of type '" "long""'");
116551  }
116552  arg3 = static_cast< long >(val3);
116553  ecode4 = SWIG_AsVal_int(obj3, &val4);
116554  if (!SWIG_IsOK(ecode4)) {
116555  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CStdFixed" "', argument " "4"" of type '" "int""'");
116556  }
116557  arg4 = static_cast< int >(val4);
116558  result = (StdUtils::CStdFixed *)new StdUtils::CStdFixed(arg1,arg2,arg3,arg4);
116559  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_NEW | 0 );
116560  return resultobj;
116561 fail:
116562  return NULL;
116563 }
116564 
116565 
116566 SWIGINTERN PyObject *_wrap_new_CStdFixed__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116567  PyObject *resultobj = 0;
116568  int arg1 ;
116569  int arg2 ;
116570  long arg3 ;
116571  int val1 ;
116572  int ecode1 = 0 ;
116573  int val2 ;
116574  int ecode2 = 0 ;
116575  long val3 ;
116576  int ecode3 = 0 ;
116577  PyObject * obj0 = 0 ;
116578  PyObject * obj1 = 0 ;
116579  PyObject * obj2 = 0 ;
116580  StdUtils::CStdFixed *result = 0 ;
116581 
116582  if (!PyArg_ParseTuple(args,(char *)"OOO:new_CStdFixed",&obj0,&obj1,&obj2)) SWIG_fail;
116583  ecode1 = SWIG_AsVal_int(obj0, &val1);
116584  if (!SWIG_IsOK(ecode1)) {
116585  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdFixed" "', argument " "1"" of type '" "int""'");
116586  }
116587  arg1 = static_cast< int >(val1);
116588  ecode2 = SWIG_AsVal_int(obj1, &val2);
116589  if (!SWIG_IsOK(ecode2)) {
116590  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CStdFixed" "', argument " "2"" of type '" "int""'");
116591  }
116592  arg2 = static_cast< int >(val2);
116593  ecode3 = SWIG_AsVal_long(obj2, &val3);
116594  if (!SWIG_IsOK(ecode3)) {
116595  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CStdFixed" "', argument " "3"" of type '" "long""'");
116596  }
116597  arg3 = static_cast< long >(val3);
116598  result = (StdUtils::CStdFixed *)new StdUtils::CStdFixed(arg1,arg2,arg3);
116599  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_NEW | 0 );
116600  return resultobj;
116601 fail:
116602  return NULL;
116603 }
116604 
116605 
116606 SWIGINTERN PyObject *_wrap_new_CStdFixed(PyObject *self, PyObject *args) {
116607  int argc;
116608  PyObject *argv[6];
116609  int ii;
116610 
116611  if (!PyTuple_Check(args)) SWIG_fail;
116612  argc = args ? (int)PyObject_Length(args) : 0;
116613  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
116614  argv[ii] = PyTuple_GET_ITEM(args,ii);
116615  }
116616  if (argc == 0) {
116617  return _wrap_new_CStdFixed__SWIG_0(self, args);
116618  }
116619  if (argc == 2) {
116620  int _v;
116621  {
116622  int res = SWIG_AsVal_int(argv[0], NULL);
116623  _v = SWIG_CheckState(res);
116624  }
116625  if (_v) {
116626  {
116627  int res = SWIG_AsVal_int(argv[1], NULL);
116628  _v = SWIG_CheckState(res);
116629  }
116630  if (_v) {
116631  return _wrap_new_CStdFixed__SWIG_3(self, args);
116632  }
116633  }
116634  }
116635  if (argc == 3) {
116636  int _v;
116637  {
116638  int res = SWIG_AsVal_int(argv[0], NULL);
116639  _v = SWIG_CheckState(res);
116640  }
116641  if (_v) {
116642  {
116643  int res = SWIG_AsVal_int(argv[1], NULL);
116644  _v = SWIG_CheckState(res);
116645  }
116646  if (_v) {
116647  {
116648  int res = SWIG_AsVal_int(argv[2], NULL);
116649  _v = SWIG_CheckState(res);
116650  }
116651  if (_v) {
116652  return _wrap_new_CStdFixed__SWIG_2(self, args);
116653  }
116654  }
116655  }
116656  }
116657  if (argc == 3) {
116658  int _v;
116659  {
116660  int res = SWIG_AsVal_int(argv[0], NULL);
116661  _v = SWIG_CheckState(res);
116662  }
116663  if (_v) {
116664  {
116665  int res = SWIG_AsVal_int(argv[1], NULL);
116666  _v = SWIG_CheckState(res);
116667  }
116668  if (_v) {
116669  {
116670  int res = SWIG_AsVal_long(argv[2], NULL);
116671  _v = SWIG_CheckState(res);
116672  }
116673  if (_v) {
116674  return _wrap_new_CStdFixed__SWIG_9(self, args);
116675  }
116676  }
116677  }
116678  }
116679  if (argc == 3) {
116680  int _v;
116681  {
116682  int res = SWIG_AsVal_int(argv[0], NULL);
116683  _v = SWIG_CheckState(res);
116684  }
116685  if (_v) {
116686  {
116687  int res = SWIG_AsVal_int(argv[1], NULL);
116688  _v = SWIG_CheckState(res);
116689  }
116690  if (_v) {
116691  {
116692  int res = SWIG_AsVal_double(argv[2], NULL);
116693  _v = SWIG_CheckState(res);
116694  }
116695  if (_v) {
116696  return _wrap_new_CStdFixed__SWIG_6(self, args);
116697  }
116698  }
116699  }
116700  }
116701  if (argc == 4) {
116702  int _v;
116703  {
116704  int res = SWIG_AsVal_int(argv[0], NULL);
116705  _v = SWIG_CheckState(res);
116706  }
116707  if (_v) {
116708  {
116709  int res = SWIG_AsVal_int(argv[1], NULL);
116710  _v = SWIG_CheckState(res);
116711  }
116712  if (_v) {
116713  {
116714  int res = SWIG_AsVal_int(argv[2], NULL);
116715  _v = SWIG_CheckState(res);
116716  }
116717  if (_v) {
116718  {
116719  int res = SWIG_AsVal_int(argv[3], NULL);
116720  _v = SWIG_CheckState(res);
116721  }
116722  if (_v) {
116723  return _wrap_new_CStdFixed__SWIG_1(self, args);
116724  }
116725  }
116726  }
116727  }
116728  }
116729  if (argc == 4) {
116730  int _v;
116731  {
116732  int res = SWIG_AsVal_int(argv[0], NULL);
116733  _v = SWIG_CheckState(res);
116734  }
116735  if (_v) {
116736  {
116737  int res = SWIG_AsVal_int(argv[1], NULL);
116738  _v = SWIG_CheckState(res);
116739  }
116740  if (_v) {
116741  {
116742  int res = SWIG_AsVal_long(argv[2], NULL);
116743  _v = SWIG_CheckState(res);
116744  }
116745  if (_v) {
116746  {
116747  int res = SWIG_AsVal_int(argv[3], NULL);
116748  _v = SWIG_CheckState(res);
116749  }
116750  if (_v) {
116751  return _wrap_new_CStdFixed__SWIG_8(self, args);
116752  }
116753  }
116754  }
116755  }
116756  }
116757  if (argc == 4) {
116758  int _v;
116759  {
116760  int res = SWIG_AsVal_int(argv[0], NULL);
116761  _v = SWIG_CheckState(res);
116762  }
116763  if (_v) {
116764  {
116765  int res = SWIG_AsVal_int(argv[1], NULL);
116766  _v = SWIG_CheckState(res);
116767  }
116768  if (_v) {
116769  {
116770  int res = SWIG_AsVal_double(argv[2], NULL);
116771  _v = SWIG_CheckState(res);
116772  }
116773  if (_v) {
116774  {
116775  int res = SWIG_AsVal_int(argv[3], NULL);
116776  _v = SWIG_CheckState(res);
116777  }
116778  if (_v) {
116779  return _wrap_new_CStdFixed__SWIG_5(self, args);
116780  }
116781  }
116782  }
116783  }
116784  }
116785  if (argc == 5) {
116786  int _v;
116787  {
116788  int res = SWIG_AsVal_int(argv[0], NULL);
116789  _v = SWIG_CheckState(res);
116790  }
116791  if (_v) {
116792  {
116793  int res = SWIG_AsVal_int(argv[1], NULL);
116794  _v = SWIG_CheckState(res);
116795  }
116796  if (_v) {
116797  {
116798  int res = SWIG_AsVal_long(argv[2], NULL);
116799  _v = SWIG_CheckState(res);
116800  }
116801  if (_v) {
116802  {
116803  int res = SWIG_AsVal_int(argv[3], NULL);
116804  _v = SWIG_CheckState(res);
116805  }
116806  if (_v) {
116807  {
116808  int res = SWIG_AsVal_int(argv[4], NULL);
116809  _v = SWIG_CheckState(res);
116810  }
116811  if (_v) {
116812  return _wrap_new_CStdFixed__SWIG_7(self, args);
116813  }
116814  }
116815  }
116816  }
116817  }
116818  }
116819  if (argc == 5) {
116820  int _v;
116821  {
116822  int res = SWIG_AsVal_int(argv[0], NULL);
116823  _v = SWIG_CheckState(res);
116824  }
116825  if (_v) {
116826  {
116827  int res = SWIG_AsVal_int(argv[1], NULL);
116828  _v = SWIG_CheckState(res);
116829  }
116830  if (_v) {
116831  {
116832  int res = SWIG_AsVal_double(argv[2], NULL);
116833  _v = SWIG_CheckState(res);
116834  }
116835  if (_v) {
116836  {
116837  int res = SWIG_AsVal_int(argv[3], NULL);
116838  _v = SWIG_CheckState(res);
116839  }
116840  if (_v) {
116841  {
116842  int res = SWIG_AsVal_int(argv[4], NULL);
116843  _v = SWIG_CheckState(res);
116844  }
116845  if (_v) {
116846  return _wrap_new_CStdFixed__SWIG_4(self, args);
116847  }
116848  }
116849  }
116850  }
116851  }
116852  }
116853 
116854 fail:
116855  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_CStdFixed'.\n"
116856  " Possible C/C++ prototypes are:\n"
116857  " StdUtils::CStdFixed::CStdFixed()\n"
116858  " StdUtils::CStdFixed::CStdFixed(int,int,int,int)\n"
116859  " StdUtils::CStdFixed::CStdFixed(int,int,int)\n"
116860  " StdUtils::CStdFixed::CStdFixed(int,int)\n"
116861  " StdUtils::CStdFixed::CStdFixed(int,int,double,int,int)\n"
116862  " StdUtils::CStdFixed::CStdFixed(int,int,double,int)\n"
116863  " StdUtils::CStdFixed::CStdFixed(int,int,double)\n"
116864  " StdUtils::CStdFixed::CStdFixed(int,int,long,int,int)\n"
116865  " StdUtils::CStdFixed::CStdFixed(int,int,long,int)\n"
116866  " StdUtils::CStdFixed::CStdFixed(int,int,long)\n");
116867  return 0;
116868 }
116869 
116870 
116871 SWIGINTERN PyObject *_wrap_delete_CStdFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116872  PyObject *resultobj = 0;
116873  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
116874  void *argp1 = 0 ;
116875  int res1 = 0 ;
116876  PyObject * obj0 = 0 ;
116877 
116878  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdFixed",&obj0)) SWIG_fail;
116879  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
116880  if (!SWIG_IsOK(res1)) {
116881  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdFixed" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
116882  }
116883  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
116884  delete arg1;
116885  resultobj = SWIG_Py_Void();
116886  return resultobj;
116887 fail:
116888  return NULL;
116889 }
116890 
116891 
116892 SWIGINTERN PyObject *_wrap_CStdFixed_M(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116893  PyObject *resultobj = 0;
116894  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
116895  void *argp1 = 0 ;
116896  int res1 = 0 ;
116897  PyObject * obj0 = 0 ;
116898  int result;
116899 
116900  if (!PyArg_ParseTuple(args,(char *)"O:CStdFixed_M",&obj0)) SWIG_fail;
116901  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
116902  if (!SWIG_IsOK(res1)) {
116903  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed_M" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
116904  }
116905  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
116906  result = (int)(arg1)->M();
116907  resultobj = SWIG_From_int(static_cast< int >(result));
116908  return resultobj;
116909 fail:
116910  return NULL;
116911 }
116912 
116913 
116914 SWIGINTERN PyObject *_wrap_CStdFixed_N(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116915  PyObject *resultobj = 0;
116916  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
116917  void *argp1 = 0 ;
116918  int res1 = 0 ;
116919  PyObject * obj0 = 0 ;
116920  int result;
116921 
116922  if (!PyArg_ParseTuple(args,(char *)"O:CStdFixed_N",&obj0)) SWIG_fail;
116923  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
116924  if (!SWIG_IsOK(res1)) {
116925  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed_N" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
116926  }
116927  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
116928  result = (int)(arg1)->N();
116929  resultobj = SWIG_From_int(static_cast< int >(result));
116930  return resultobj;
116931 fail:
116932  return NULL;
116933 }
116934 
116935 
116936 SWIGINTERN PyObject *_wrap_CStdFixed_MultM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116937  PyObject *resultobj = 0;
116938  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
116939  void *argp1 = 0 ;
116940  int res1 = 0 ;
116941  PyObject * obj0 = 0 ;
116942  int result;
116943 
116944  if (!PyArg_ParseTuple(args,(char *)"O:CStdFixed_MultM",&obj0)) SWIG_fail;
116945  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
116946  if (!SWIG_IsOK(res1)) {
116947  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed_MultM" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
116948  }
116949  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
116950  result = (int)(arg1)->MultM();
116951  resultobj = SWIG_From_int(static_cast< int >(result));
116952  return resultobj;
116953 fail:
116954  return NULL;
116955 }
116956 
116957 
116958 SWIGINTERN PyObject *_wrap_CStdFixed_MultN(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116959  PyObject *resultobj = 0;
116960  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
116961  void *argp1 = 0 ;
116962  int res1 = 0 ;
116963  PyObject * obj0 = 0 ;
116964  int result;
116965 
116966  if (!PyArg_ParseTuple(args,(char *)"O:CStdFixed_MultN",&obj0)) SWIG_fail;
116967  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
116968  if (!SWIG_IsOK(res1)) {
116969  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed_MultN" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
116970  }
116971  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
116972  result = (int)(arg1)->MultN();
116973  resultobj = SWIG_From_int(static_cast< int >(result));
116974  return resultobj;
116975 fail:
116976  return NULL;
116977 }
116978 
116979 
116980 SWIGINTERN PyObject *_wrap_CStdFixed_FixedVal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
116981  PyObject *resultobj = 0;
116982  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
116983  void *argp1 = 0 ;
116984  int res1 = 0 ;
116985  PyObject * obj0 = 0 ;
116986  long result;
116987 
116988  if (!PyArg_ParseTuple(args,(char *)"O:CStdFixed_FixedVal",&obj0)) SWIG_fail;
116989  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
116990  if (!SWIG_IsOK(res1)) {
116991  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed_FixedVal" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
116992  }
116993  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
116994  result = (long)(arg1)->FixedVal();
116995  resultobj = SWIG_From_long(static_cast< long >(result));
116996  return resultobj;
116997 fail:
116998  return NULL;
116999 }
117000 
117001 
117002 SWIGINTERN PyObject *_wrap_CStdFixed_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117003  PyObject *resultobj = 0;
117004  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117005  long arg2 ;
117006  void *argp1 = 0 ;
117007  int res1 = 0 ;
117008  long val2 ;
117009  int ecode2 = 0 ;
117010  PyObject * obj0 = 0 ;
117011  PyObject * obj1 = 0 ;
117012 
117013  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed_Fixed",&obj0,&obj1)) SWIG_fail;
117014  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117015  if (!SWIG_IsOK(res1)) {
117016  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed_Fixed" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117017  }
117018  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117019  ecode2 = SWIG_AsVal_long(obj1, &val2);
117020  if (!SWIG_IsOK(ecode2)) {
117021  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed_Fixed" "', argument " "2"" of type '" "long""'");
117022  }
117023  arg2 = static_cast< long >(val2);
117024  (arg1)->Fixed(arg2);
117025  resultobj = SWIG_Py_Void();
117026  return resultobj;
117027 fail:
117028  return NULL;
117029 }
117030 
117031 
117032 SWIGINTERN PyObject *_wrap_CStdFixed_GetFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117033  PyObject *resultobj = 0;
117034  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117035  void *argp1 = 0 ;
117036  int res1 = 0 ;
117037  PyObject * obj0 = 0 ;
117038  float result;
117039 
117040  if (!PyArg_ParseTuple(args,(char *)"O:CStdFixed_GetFloat",&obj0)) SWIG_fail;
117041  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117042  if (!SWIG_IsOK(res1)) {
117043  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed_GetFloat" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117044  }
117045  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117046  result = (float)(arg1)->GetFloat();
117047  resultobj = SWIG_From_float(static_cast< float >(result));
117048  return resultobj;
117049 fail:
117050  return NULL;
117051 }
117052 
117053 
117054 SWIGINTERN PyObject *_wrap_CStdFixed_GetFloatPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117055  PyObject *resultobj = 0;
117056  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117057  void *argp1 = 0 ;
117058  int res1 = 0 ;
117059  PyObject * obj0 = 0 ;
117060  float *result = 0 ;
117061 
117062  if (!PyArg_ParseTuple(args,(char *)"O:CStdFixed_GetFloatPtr",&obj0)) SWIG_fail;
117063  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117064  if (!SWIG_IsOK(res1)) {
117065  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed_GetFloatPtr" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117066  }
117067  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117068  result = (float *)(arg1)->GetFloatPtr();
117069  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
117070  return resultobj;
117071 fail:
117072  return NULL;
117073 }
117074 
117075 
117076 SWIGINTERN PyObject *_wrap_CStdFixed_GetDouble(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117077  PyObject *resultobj = 0;
117078  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117079  void *argp1 = 0 ;
117080  int res1 = 0 ;
117081  PyObject * obj0 = 0 ;
117082  double result;
117083 
117084  if (!PyArg_ParseTuple(args,(char *)"O:CStdFixed_GetDouble",&obj0)) SWIG_fail;
117085  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117086  if (!SWIG_IsOK(res1)) {
117087  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed_GetDouble" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117088  }
117089  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117090  result = (double)(arg1)->GetDouble();
117091  resultobj = SWIG_From_double(static_cast< double >(result));
117092  return resultobj;
117093 fail:
117094  return NULL;
117095 }
117096 
117097 
117098 SWIGINTERN PyObject *_wrap_CStdFixed_GetDoublePtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117099  PyObject *resultobj = 0;
117100  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117101  void *argp1 = 0 ;
117102  int res1 = 0 ;
117103  PyObject * obj0 = 0 ;
117104  double *result = 0 ;
117105 
117106  if (!PyArg_ParseTuple(args,(char *)"O:CStdFixed_GetDoublePtr",&obj0)) SWIG_fail;
117107  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117108  if (!SWIG_IsOK(res1)) {
117109  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed_GetDoublePtr" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117110  }
117111  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117112  result = (double *)(arg1)->GetDoublePtr();
117113  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
117114  return resultobj;
117115 fail:
117116  return NULL;
117117 }
117118 
117119 
117120 SWIGINTERN PyObject *_wrap_CStdFixed_GetLongPtr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117121  PyObject *resultobj = 0;
117122  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117123  void *argp1 = 0 ;
117124  int res1 = 0 ;
117125  PyObject * obj0 = 0 ;
117126  long *result = 0 ;
117127 
117128  if (!PyArg_ParseTuple(args,(char *)"O:CStdFixed_GetLongPtr",&obj0)) SWIG_fail;
117129  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117130  if (!SWIG_IsOK(res1)) {
117131  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed_GetLongPtr" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117132  }
117133  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117134  result = (long *)(arg1)->GetLongPtr();
117135  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long, 0 | 0 );
117136  return resultobj;
117137 fail:
117138  return NULL;
117139 }
117140 
117141 
117142 SWIGINTERN PyObject *_wrap_CStdFixed_Configure__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117143  PyObject *resultobj = 0;
117144  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117145  int arg2 ;
117146  int arg3 ;
117147  int arg4 ;
117148  int arg5 ;
117149  void *argp1 = 0 ;
117150  int res1 = 0 ;
117151  int val2 ;
117152  int ecode2 = 0 ;
117153  int val3 ;
117154  int ecode3 = 0 ;
117155  int val4 ;
117156  int ecode4 = 0 ;
117157  int val5 ;
117158  int ecode5 = 0 ;
117159  PyObject * obj0 = 0 ;
117160  PyObject * obj1 = 0 ;
117161  PyObject * obj2 = 0 ;
117162  PyObject * obj3 = 0 ;
117163  PyObject * obj4 = 0 ;
117164 
117165  if (!PyArg_ParseTuple(args,(char *)"OOOOO:CStdFixed_Configure",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
117166  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117167  if (!SWIG_IsOK(res1)) {
117168  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed_Configure" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117169  }
117170  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117171  ecode2 = SWIG_AsVal_int(obj1, &val2);
117172  if (!SWIG_IsOK(ecode2)) {
117173  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed_Configure" "', argument " "2"" of type '" "int""'");
117174  }
117175  arg2 = static_cast< int >(val2);
117176  ecode3 = SWIG_AsVal_int(obj2, &val3);
117177  if (!SWIG_IsOK(ecode3)) {
117178  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdFixed_Configure" "', argument " "3"" of type '" "int""'");
117179  }
117180  arg3 = static_cast< int >(val3);
117181  ecode4 = SWIG_AsVal_int(obj3, &val4);
117182  if (!SWIG_IsOK(ecode4)) {
117183  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdFixed_Configure" "', argument " "4"" of type '" "int""'");
117184  }
117185  arg4 = static_cast< int >(val4);
117186  ecode5 = SWIG_AsVal_int(obj4, &val5);
117187  if (!SWIG_IsOK(ecode5)) {
117188  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CStdFixed_Configure" "', argument " "5"" of type '" "int""'");
117189  }
117190  arg5 = static_cast< int >(val5);
117191  (arg1)->Configure(arg2,arg3,arg4,arg5);
117192  resultobj = SWIG_Py_Void();
117193  return resultobj;
117194 fail:
117195  return NULL;
117196 }
117197 
117198 
117199 SWIGINTERN PyObject *_wrap_CStdFixed_Configure__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117200  PyObject *resultobj = 0;
117201  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117202  int arg2 ;
117203  int arg3 ;
117204  int arg4 ;
117205  void *argp1 = 0 ;
117206  int res1 = 0 ;
117207  int val2 ;
117208  int ecode2 = 0 ;
117209  int val3 ;
117210  int ecode3 = 0 ;
117211  int val4 ;
117212  int ecode4 = 0 ;
117213  PyObject * obj0 = 0 ;
117214  PyObject * obj1 = 0 ;
117215  PyObject * obj2 = 0 ;
117216  PyObject * obj3 = 0 ;
117217 
117218  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdFixed_Configure",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
117219  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117220  if (!SWIG_IsOK(res1)) {
117221  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed_Configure" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117222  }
117223  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117224  ecode2 = SWIG_AsVal_int(obj1, &val2);
117225  if (!SWIG_IsOK(ecode2)) {
117226  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed_Configure" "', argument " "2"" of type '" "int""'");
117227  }
117228  arg2 = static_cast< int >(val2);
117229  ecode3 = SWIG_AsVal_int(obj2, &val3);
117230  if (!SWIG_IsOK(ecode3)) {
117231  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdFixed_Configure" "', argument " "3"" of type '" "int""'");
117232  }
117233  arg3 = static_cast< int >(val3);
117234  ecode4 = SWIG_AsVal_int(obj3, &val4);
117235  if (!SWIG_IsOK(ecode4)) {
117236  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdFixed_Configure" "', argument " "4"" of type '" "int""'");
117237  }
117238  arg4 = static_cast< int >(val4);
117239  (arg1)->Configure(arg2,arg3,arg4);
117240  resultobj = SWIG_Py_Void();
117241  return resultobj;
117242 fail:
117243  return NULL;
117244 }
117245 
117246 
117247 SWIGINTERN PyObject *_wrap_CStdFixed_Configure__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117248  PyObject *resultobj = 0;
117249  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117250  int arg2 ;
117251  int arg3 ;
117252  void *argp1 = 0 ;
117253  int res1 = 0 ;
117254  int val2 ;
117255  int ecode2 = 0 ;
117256  int val3 ;
117257  int ecode3 = 0 ;
117258  PyObject * obj0 = 0 ;
117259  PyObject * obj1 = 0 ;
117260  PyObject * obj2 = 0 ;
117261 
117262  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdFixed_Configure",&obj0,&obj1,&obj2)) SWIG_fail;
117263  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117264  if (!SWIG_IsOK(res1)) {
117265  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed_Configure" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117266  }
117267  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117268  ecode2 = SWIG_AsVal_int(obj1, &val2);
117269  if (!SWIG_IsOK(ecode2)) {
117270  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed_Configure" "', argument " "2"" of type '" "int""'");
117271  }
117272  arg2 = static_cast< int >(val2);
117273  ecode3 = SWIG_AsVal_int(obj2, &val3);
117274  if (!SWIG_IsOK(ecode3)) {
117275  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdFixed_Configure" "', argument " "3"" of type '" "int""'");
117276  }
117277  arg3 = static_cast< int >(val3);
117278  (arg1)->Configure(arg2,arg3);
117279  resultobj = SWIG_Py_Void();
117280  return resultobj;
117281 fail:
117282  return NULL;
117283 }
117284 
117285 
117286 SWIGINTERN PyObject *_wrap_CStdFixed_Configure(PyObject *self, PyObject *args) {
117287  int argc;
117288  PyObject *argv[6];
117289  int ii;
117290 
117291  if (!PyTuple_Check(args)) SWIG_fail;
117292  argc = args ? (int)PyObject_Length(args) : 0;
117293  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
117294  argv[ii] = PyTuple_GET_ITEM(args,ii);
117295  }
117296  if (argc == 3) {
117297  int _v;
117298  void *vptr = 0;
117299  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
117300  _v = SWIG_CheckState(res);
117301  if (_v) {
117302  {
117303  int res = SWIG_AsVal_int(argv[1], NULL);
117304  _v = SWIG_CheckState(res);
117305  }
117306  if (_v) {
117307  {
117308  int res = SWIG_AsVal_int(argv[2], NULL);
117309  _v = SWIG_CheckState(res);
117310  }
117311  if (_v) {
117312  return _wrap_CStdFixed_Configure__SWIG_2(self, args);
117313  }
117314  }
117315  }
117316  }
117317  if (argc == 4) {
117318  int _v;
117319  void *vptr = 0;
117320  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
117321  _v = SWIG_CheckState(res);
117322  if (_v) {
117323  {
117324  int res = SWIG_AsVal_int(argv[1], NULL);
117325  _v = SWIG_CheckState(res);
117326  }
117327  if (_v) {
117328  {
117329  int res = SWIG_AsVal_int(argv[2], NULL);
117330  _v = SWIG_CheckState(res);
117331  }
117332  if (_v) {
117333  {
117334  int res = SWIG_AsVal_int(argv[3], NULL);
117335  _v = SWIG_CheckState(res);
117336  }
117337  if (_v) {
117338  return _wrap_CStdFixed_Configure__SWIG_1(self, args);
117339  }
117340  }
117341  }
117342  }
117343  }
117344  if (argc == 5) {
117345  int _v;
117346  void *vptr = 0;
117347  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
117348  _v = SWIG_CheckState(res);
117349  if (_v) {
117350  {
117351  int res = SWIG_AsVal_int(argv[1], NULL);
117352  _v = SWIG_CheckState(res);
117353  }
117354  if (_v) {
117355  {
117356  int res = SWIG_AsVal_int(argv[2], NULL);
117357  _v = SWIG_CheckState(res);
117358  }
117359  if (_v) {
117360  {
117361  int res = SWIG_AsVal_int(argv[3], NULL);
117362  _v = SWIG_CheckState(res);
117363  }
117364  if (_v) {
117365  {
117366  int res = SWIG_AsVal_int(argv[4], NULL);
117367  _v = SWIG_CheckState(res);
117368  }
117369  if (_v) {
117370  return _wrap_CStdFixed_Configure__SWIG_0(self, args);
117371  }
117372  }
117373  }
117374  }
117375  }
117376  }
117377 
117378 fail:
117379  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdFixed_Configure'.\n"
117380  " Possible C/C++ prototypes are:\n"
117381  " StdUtils::CStdFixed::Configure(int,int,int,int)\n"
117382  " StdUtils::CStdFixed::Configure(int,int,int)\n"
117383  " StdUtils::CStdFixed::Configure(int,int)\n");
117384  return 0;
117385 }
117386 
117387 
117388 SWIGINTERN PyObject *_wrap_CStdFixed___add____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117389  PyObject *resultobj = 0;
117390  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117391  float arg2 ;
117392  void *argp1 = 0 ;
117393  int res1 = 0 ;
117394  float val2 ;
117395  int ecode2 = 0 ;
117396  PyObject * obj0 = 0 ;
117397  PyObject * obj1 = 0 ;
117398  StdUtils::CStdFixed result;
117399 
117400  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___add__",&obj0,&obj1)) SWIG_fail;
117401  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117402  if (!SWIG_IsOK(res1)) {
117403  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___add__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117404  }
117405  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117406  ecode2 = SWIG_AsVal_float(obj1, &val2);
117407  if (!SWIG_IsOK(ecode2)) {
117408  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___add__" "', argument " "2"" of type '" "float""'");
117409  }
117410  arg2 = static_cast< float >(val2);
117411  result = (arg1)->operator +(arg2);
117412  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
117413  return resultobj;
117414 fail:
117415  return NULL;
117416 }
117417 
117418 
117419 SWIGINTERN PyObject *_wrap_CStdFixed___add____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117420  PyObject *resultobj = 0;
117421  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117422  double arg2 ;
117423  void *argp1 = 0 ;
117424  int res1 = 0 ;
117425  double val2 ;
117426  int ecode2 = 0 ;
117427  PyObject * obj0 = 0 ;
117428  PyObject * obj1 = 0 ;
117429  StdUtils::CStdFixed result;
117430 
117431  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___add__",&obj0,&obj1)) SWIG_fail;
117432  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117433  if (!SWIG_IsOK(res1)) {
117434  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___add__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117435  }
117436  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117437  ecode2 = SWIG_AsVal_double(obj1, &val2);
117438  if (!SWIG_IsOK(ecode2)) {
117439  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___add__" "', argument " "2"" of type '" "double""'");
117440  }
117441  arg2 = static_cast< double >(val2);
117442  result = (arg1)->operator +(arg2);
117443  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
117444  return resultobj;
117445 fail:
117446  return NULL;
117447 }
117448 
117449 
117450 SWIGINTERN PyObject *_wrap_CStdFixed___add____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117451  PyObject *resultobj = 0;
117452  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117453  int arg2 ;
117454  void *argp1 = 0 ;
117455  int res1 = 0 ;
117456  int val2 ;
117457  int ecode2 = 0 ;
117458  PyObject * obj0 = 0 ;
117459  PyObject * obj1 = 0 ;
117460  StdUtils::CStdFixed result;
117461 
117462  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___add__",&obj0,&obj1)) SWIG_fail;
117463  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117464  if (!SWIG_IsOK(res1)) {
117465  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___add__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117466  }
117467  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117468  ecode2 = SWIG_AsVal_int(obj1, &val2);
117469  if (!SWIG_IsOK(ecode2)) {
117470  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___add__" "', argument " "2"" of type '" "int""'");
117471  }
117472  arg2 = static_cast< int >(val2);
117473  result = (arg1)->operator +(arg2);
117474  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
117475  return resultobj;
117476 fail:
117477  return NULL;
117478 }
117479 
117480 
117481 SWIGINTERN PyObject *_wrap_CStdFixed___add____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117482  PyObject *resultobj = 0;
117483  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117484  long arg2 ;
117485  void *argp1 = 0 ;
117486  int res1 = 0 ;
117487  long val2 ;
117488  int ecode2 = 0 ;
117489  PyObject * obj0 = 0 ;
117490  PyObject * obj1 = 0 ;
117491  StdUtils::CStdFixed result;
117492 
117493  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___add__",&obj0,&obj1)) SWIG_fail;
117494  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117495  if (!SWIG_IsOK(res1)) {
117496  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___add__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117497  }
117498  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117499  ecode2 = SWIG_AsVal_long(obj1, &val2);
117500  if (!SWIG_IsOK(ecode2)) {
117501  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___add__" "', argument " "2"" of type '" "long""'");
117502  }
117503  arg2 = static_cast< long >(val2);
117504  result = (arg1)->operator +(arg2);
117505  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
117506  return resultobj;
117507 fail:
117508  return NULL;
117509 }
117510 
117511 
117512 SWIGINTERN PyObject *_wrap_CStdFixed___add____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117513  PyObject *resultobj = 0;
117514  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117515  StdUtils::CStdFixed *arg2 = 0 ;
117516  void *argp1 = 0 ;
117517  int res1 = 0 ;
117518  void *argp2 = 0 ;
117519  int res2 = 0 ;
117520  PyObject * obj0 = 0 ;
117521  PyObject * obj1 = 0 ;
117522  StdUtils::CStdFixed result;
117523 
117524  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___add__",&obj0,&obj1)) SWIG_fail;
117525  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117526  if (!SWIG_IsOK(res1)) {
117527  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___add__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117528  }
117529  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117530  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0);
117531  if (!SWIG_IsOK(res2)) {
117532  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFixed___add__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
117533  }
117534  if (!argp2) {
117535  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFixed___add__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
117536  }
117537  arg2 = reinterpret_cast< StdUtils::CStdFixed * >(argp2);
117538  result = (arg1)->operator +((StdUtils::CStdFixed const &)*arg2);
117539  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
117540  return resultobj;
117541 fail:
117542  return NULL;
117543 }
117544 
117545 
117546 SWIGINTERN PyObject *_wrap_CStdFixed___add__(PyObject *self, PyObject *args) {
117547  int argc;
117548  PyObject *argv[3];
117549  int ii;
117550 
117551  if (!PyTuple_Check(args)) SWIG_fail;
117552  argc = args ? (int)PyObject_Length(args) : 0;
117553  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
117554  argv[ii] = PyTuple_GET_ITEM(args,ii);
117555  }
117556  if (argc == 2) {
117557  int _v;
117558  void *vptr = 0;
117559  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
117560  _v = SWIG_CheckState(res);
117561  if (_v) {
117562  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_StdUtils__CStdFixed, 0);
117563  _v = SWIG_CheckState(res);
117564  if (_v) {
117565  return _wrap_CStdFixed___add____SWIG_4(self, args);
117566  }
117567  }
117568  }
117569  if (argc == 2) {
117570  int _v;
117571  void *vptr = 0;
117572  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
117573  _v = SWIG_CheckState(res);
117574  if (_v) {
117575  {
117576  int res = SWIG_AsVal_int(argv[1], NULL);
117577  _v = SWIG_CheckState(res);
117578  }
117579  if (_v) {
117580  return _wrap_CStdFixed___add____SWIG_2(self, args);
117581  }
117582  }
117583  }
117584  if (argc == 2) {
117585  int _v;
117586  void *vptr = 0;
117587  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
117588  _v = SWIG_CheckState(res);
117589  if (_v) {
117590  {
117591  int res = SWIG_AsVal_long(argv[1], NULL);
117592  _v = SWIG_CheckState(res);
117593  }
117594  if (_v) {
117595  return _wrap_CStdFixed___add____SWIG_3(self, args);
117596  }
117597  }
117598  }
117599  if (argc == 2) {
117600  int _v;
117601  void *vptr = 0;
117602  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
117603  _v = SWIG_CheckState(res);
117604  if (_v) {
117605  {
117606  int res = SWIG_AsVal_float(argv[1], NULL);
117607  _v = SWIG_CheckState(res);
117608  }
117609  if (_v) {
117610  return _wrap_CStdFixed___add____SWIG_0(self, args);
117611  }
117612  }
117613  }
117614  if (argc == 2) {
117615  int _v;
117616  void *vptr = 0;
117617  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
117618  _v = SWIG_CheckState(res);
117619  if (_v) {
117620  {
117621  int res = SWIG_AsVal_double(argv[1], NULL);
117622  _v = SWIG_CheckState(res);
117623  }
117624  if (_v) {
117625  return _wrap_CStdFixed___add____SWIG_1(self, args);
117626  }
117627  }
117628  }
117629 
117630 fail:
117631  Py_INCREF(Py_NotImplemented);
117632  return Py_NotImplemented;
117633 }
117634 
117635 
117636 SWIGINTERN PyObject *_wrap_CStdFixed___iadd____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117637  PyObject *resultobj = 0;
117638  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117639  float arg2 ;
117640  void *argp1 = 0 ;
117641  int res1 = 0 ;
117642  float val2 ;
117643  int ecode2 = 0 ;
117644  PyObject * obj0 = 0 ;
117645  PyObject * obj1 = 0 ;
117646  StdUtils::CStdFixed result;
117647 
117648  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___iadd__",&obj0,&obj1)) SWIG_fail;
117649  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
117650  if (!SWIG_IsOK(res1)) {
117651  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___iadd__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117652  }
117653  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117654  ecode2 = SWIG_AsVal_float(obj1, &val2);
117655  if (!SWIG_IsOK(ecode2)) {
117656  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___iadd__" "', argument " "2"" of type '" "float""'");
117657  }
117658  arg2 = static_cast< float >(val2);
117659  result = (arg1)->operator +=(arg2);
117660  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
117661  return resultobj;
117662 fail:
117663  return NULL;
117664 }
117665 
117666 
117667 SWIGINTERN PyObject *_wrap_CStdFixed___iadd____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117668  PyObject *resultobj = 0;
117669  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117670  double arg2 ;
117671  void *argp1 = 0 ;
117672  int res1 = 0 ;
117673  double val2 ;
117674  int ecode2 = 0 ;
117675  PyObject * obj0 = 0 ;
117676  PyObject * obj1 = 0 ;
117677  StdUtils::CStdFixed result;
117678 
117679  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___iadd__",&obj0,&obj1)) SWIG_fail;
117680  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
117681  if (!SWIG_IsOK(res1)) {
117682  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___iadd__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117683  }
117684  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117685  ecode2 = SWIG_AsVal_double(obj1, &val2);
117686  if (!SWIG_IsOK(ecode2)) {
117687  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___iadd__" "', argument " "2"" of type '" "double""'");
117688  }
117689  arg2 = static_cast< double >(val2);
117690  result = (arg1)->operator +=(arg2);
117691  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
117692  return resultobj;
117693 fail:
117694  return NULL;
117695 }
117696 
117697 
117698 SWIGINTERN PyObject *_wrap_CStdFixed___iadd____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117699  PyObject *resultobj = 0;
117700  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117701  int arg2 ;
117702  void *argp1 = 0 ;
117703  int res1 = 0 ;
117704  int val2 ;
117705  int ecode2 = 0 ;
117706  PyObject * obj0 = 0 ;
117707  PyObject * obj1 = 0 ;
117708  StdUtils::CStdFixed result;
117709 
117710  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___iadd__",&obj0,&obj1)) SWIG_fail;
117711  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
117712  if (!SWIG_IsOK(res1)) {
117713  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___iadd__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117714  }
117715  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117716  ecode2 = SWIG_AsVal_int(obj1, &val2);
117717  if (!SWIG_IsOK(ecode2)) {
117718  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___iadd__" "', argument " "2"" of type '" "int""'");
117719  }
117720  arg2 = static_cast< int >(val2);
117721  result = (arg1)->operator +=(arg2);
117722  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
117723  return resultobj;
117724 fail:
117725  return NULL;
117726 }
117727 
117728 
117729 SWIGINTERN PyObject *_wrap_CStdFixed___iadd____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117730  PyObject *resultobj = 0;
117731  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117732  long arg2 ;
117733  void *argp1 = 0 ;
117734  int res1 = 0 ;
117735  long val2 ;
117736  int ecode2 = 0 ;
117737  PyObject * obj0 = 0 ;
117738  PyObject * obj1 = 0 ;
117739  StdUtils::CStdFixed result;
117740 
117741  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___iadd__",&obj0,&obj1)) SWIG_fail;
117742  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
117743  if (!SWIG_IsOK(res1)) {
117744  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___iadd__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117745  }
117746  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117747  ecode2 = SWIG_AsVal_long(obj1, &val2);
117748  if (!SWIG_IsOK(ecode2)) {
117749  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___iadd__" "', argument " "2"" of type '" "long""'");
117750  }
117751  arg2 = static_cast< long >(val2);
117752  result = (arg1)->operator +=(arg2);
117753  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
117754  return resultobj;
117755 fail:
117756  return NULL;
117757 }
117758 
117759 
117760 SWIGINTERN PyObject *_wrap_CStdFixed___iadd____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117761  PyObject *resultobj = 0;
117762  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117763  StdUtils::CStdFixed *arg2 = 0 ;
117764  void *argp1 = 0 ;
117765  int res1 = 0 ;
117766  void *argp2 = 0 ;
117767  int res2 = 0 ;
117768  PyObject * obj0 = 0 ;
117769  PyObject * obj1 = 0 ;
117770  StdUtils::CStdFixed result;
117771 
117772  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___iadd__",&obj0,&obj1)) SWIG_fail;
117773  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
117774  if (!SWIG_IsOK(res1)) {
117775  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___iadd__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117776  }
117777  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117778  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0);
117779  if (!SWIG_IsOK(res2)) {
117780  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFixed___iadd__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
117781  }
117782  if (!argp2) {
117783  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFixed___iadd__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
117784  }
117785  arg2 = reinterpret_cast< StdUtils::CStdFixed * >(argp2);
117786  result = (arg1)->operator +=((StdUtils::CStdFixed const &)*arg2);
117787  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
117788  return resultobj;
117789 fail:
117790  return NULL;
117791 }
117792 
117793 
117794 SWIGINTERN PyObject *_wrap_CStdFixed___iadd__(PyObject *self, PyObject *args) {
117795  int argc;
117796  PyObject *argv[3];
117797  int ii;
117798 
117799  if (!PyTuple_Check(args)) SWIG_fail;
117800  argc = args ? (int)PyObject_Length(args) : 0;
117801  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
117802  argv[ii] = PyTuple_GET_ITEM(args,ii);
117803  }
117804  if (argc == 2) {
117805  int _v;
117806  void *vptr = 0;
117807  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
117808  _v = SWIG_CheckState(res);
117809  if (_v) {
117810  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_StdUtils__CStdFixed, 0);
117811  _v = SWIG_CheckState(res);
117812  if (_v) {
117813  return _wrap_CStdFixed___iadd____SWIG_4(self, args);
117814  }
117815  }
117816  }
117817  if (argc == 2) {
117818  int _v;
117819  void *vptr = 0;
117820  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
117821  _v = SWIG_CheckState(res);
117822  if (_v) {
117823  {
117824  int res = SWIG_AsVal_int(argv[1], NULL);
117825  _v = SWIG_CheckState(res);
117826  }
117827  if (_v) {
117828  return _wrap_CStdFixed___iadd____SWIG_2(self, args);
117829  }
117830  }
117831  }
117832  if (argc == 2) {
117833  int _v;
117834  void *vptr = 0;
117835  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
117836  _v = SWIG_CheckState(res);
117837  if (_v) {
117838  {
117839  int res = SWIG_AsVal_long(argv[1], NULL);
117840  _v = SWIG_CheckState(res);
117841  }
117842  if (_v) {
117843  return _wrap_CStdFixed___iadd____SWIG_3(self, args);
117844  }
117845  }
117846  }
117847  if (argc == 2) {
117848  int _v;
117849  void *vptr = 0;
117850  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
117851  _v = SWIG_CheckState(res);
117852  if (_v) {
117853  {
117854  int res = SWIG_AsVal_float(argv[1], NULL);
117855  _v = SWIG_CheckState(res);
117856  }
117857  if (_v) {
117858  return _wrap_CStdFixed___iadd____SWIG_0(self, args);
117859  }
117860  }
117861  }
117862  if (argc == 2) {
117863  int _v;
117864  void *vptr = 0;
117865  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
117866  _v = SWIG_CheckState(res);
117867  if (_v) {
117868  {
117869  int res = SWIG_AsVal_double(argv[1], NULL);
117870  _v = SWIG_CheckState(res);
117871  }
117872  if (_v) {
117873  return _wrap_CStdFixed___iadd____SWIG_1(self, args);
117874  }
117875  }
117876  }
117877 
117878 fail:
117879  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdFixed___iadd__'.\n"
117880  " Possible C/C++ prototypes are:\n"
117881  " StdUtils::CStdFixed::operator +=(float const)\n"
117882  " StdUtils::CStdFixed::operator +=(double const)\n"
117883  " StdUtils::CStdFixed::operator +=(int const)\n"
117884  " StdUtils::CStdFixed::operator +=(long const)\n"
117885  " StdUtils::CStdFixed::operator +=(StdUtils::CStdFixed const &)\n");
117886  return 0;
117887 }
117888 
117889 
117890 SWIGINTERN PyObject *_wrap_CStdFixed___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117891  PyObject *resultobj = 0;
117892  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117893  float arg2 ;
117894  void *argp1 = 0 ;
117895  int res1 = 0 ;
117896  float val2 ;
117897  int ecode2 = 0 ;
117898  PyObject * obj0 = 0 ;
117899  PyObject * obj1 = 0 ;
117900  StdUtils::CStdFixed result;
117901 
117902  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___sub__",&obj0,&obj1)) SWIG_fail;
117903  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117904  if (!SWIG_IsOK(res1)) {
117905  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___sub__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117906  }
117907  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117908  ecode2 = SWIG_AsVal_float(obj1, &val2);
117909  if (!SWIG_IsOK(ecode2)) {
117910  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___sub__" "', argument " "2"" of type '" "float""'");
117911  }
117912  arg2 = static_cast< float >(val2);
117913  result = (arg1)->operator -(arg2);
117914  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
117915  return resultobj;
117916 fail:
117917  return NULL;
117918 }
117919 
117920 
117921 SWIGINTERN PyObject *_wrap_CStdFixed___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117922  PyObject *resultobj = 0;
117923  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117924  double arg2 ;
117925  void *argp1 = 0 ;
117926  int res1 = 0 ;
117927  double val2 ;
117928  int ecode2 = 0 ;
117929  PyObject * obj0 = 0 ;
117930  PyObject * obj1 = 0 ;
117931  StdUtils::CStdFixed result;
117932 
117933  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___sub__",&obj0,&obj1)) SWIG_fail;
117934  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117935  if (!SWIG_IsOK(res1)) {
117936  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___sub__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117937  }
117938  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117939  ecode2 = SWIG_AsVal_double(obj1, &val2);
117940  if (!SWIG_IsOK(ecode2)) {
117941  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___sub__" "', argument " "2"" of type '" "double""'");
117942  }
117943  arg2 = static_cast< double >(val2);
117944  result = (arg1)->operator -(arg2);
117945  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
117946  return resultobj;
117947 fail:
117948  return NULL;
117949 }
117950 
117951 
117952 SWIGINTERN PyObject *_wrap_CStdFixed___sub____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117953  PyObject *resultobj = 0;
117954  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117955  int arg2 ;
117956  void *argp1 = 0 ;
117957  int res1 = 0 ;
117958  int val2 ;
117959  int ecode2 = 0 ;
117960  PyObject * obj0 = 0 ;
117961  PyObject * obj1 = 0 ;
117962  StdUtils::CStdFixed result;
117963 
117964  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___sub__",&obj0,&obj1)) SWIG_fail;
117965  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117966  if (!SWIG_IsOK(res1)) {
117967  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___sub__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117968  }
117969  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
117970  ecode2 = SWIG_AsVal_int(obj1, &val2);
117971  if (!SWIG_IsOK(ecode2)) {
117972  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___sub__" "', argument " "2"" of type '" "int""'");
117973  }
117974  arg2 = static_cast< int >(val2);
117975  result = (arg1)->operator -(arg2);
117976  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
117977  return resultobj;
117978 fail:
117979  return NULL;
117980 }
117981 
117982 
117983 SWIGINTERN PyObject *_wrap_CStdFixed___sub____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
117984  PyObject *resultobj = 0;
117985  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
117986  long arg2 ;
117987  void *argp1 = 0 ;
117988  int res1 = 0 ;
117989  long val2 ;
117990  int ecode2 = 0 ;
117991  PyObject * obj0 = 0 ;
117992  PyObject * obj1 = 0 ;
117993  StdUtils::CStdFixed result;
117994 
117995  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___sub__",&obj0,&obj1)) SWIG_fail;
117996  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
117997  if (!SWIG_IsOK(res1)) {
117998  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___sub__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
117999  }
118000  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118001  ecode2 = SWIG_AsVal_long(obj1, &val2);
118002  if (!SWIG_IsOK(ecode2)) {
118003  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___sub__" "', argument " "2"" of type '" "long""'");
118004  }
118005  arg2 = static_cast< long >(val2);
118006  result = (arg1)->operator -(arg2);
118007  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118008  return resultobj;
118009 fail:
118010  return NULL;
118011 }
118012 
118013 
118014 SWIGINTERN PyObject *_wrap_CStdFixed___sub____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118015  PyObject *resultobj = 0;
118016  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118017  StdUtils::CStdFixed *arg2 = 0 ;
118018  void *argp1 = 0 ;
118019  int res1 = 0 ;
118020  void *argp2 = 0 ;
118021  int res2 = 0 ;
118022  PyObject * obj0 = 0 ;
118023  PyObject * obj1 = 0 ;
118024  StdUtils::CStdFixed result;
118025 
118026  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___sub__",&obj0,&obj1)) SWIG_fail;
118027  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
118028  if (!SWIG_IsOK(res1)) {
118029  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___sub__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118030  }
118031  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118032  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0);
118033  if (!SWIG_IsOK(res2)) {
118034  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFixed___sub__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
118035  }
118036  if (!argp2) {
118037  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFixed___sub__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
118038  }
118039  arg2 = reinterpret_cast< StdUtils::CStdFixed * >(argp2);
118040  result = (arg1)->operator -((StdUtils::CStdFixed const &)*arg2);
118041  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118042  return resultobj;
118043 fail:
118044  return NULL;
118045 }
118046 
118047 
118048 SWIGINTERN PyObject *_wrap_CStdFixed___sub__(PyObject *self, PyObject *args) {
118049  int argc;
118050  PyObject *argv[3];
118051  int ii;
118052 
118053  if (!PyTuple_Check(args)) SWIG_fail;
118054  argc = args ? (int)PyObject_Length(args) : 0;
118055  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
118056  argv[ii] = PyTuple_GET_ITEM(args,ii);
118057  }
118058  if (argc == 2) {
118059  int _v;
118060  void *vptr = 0;
118061  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118062  _v = SWIG_CheckState(res);
118063  if (_v) {
118064  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118065  _v = SWIG_CheckState(res);
118066  if (_v) {
118067  return _wrap_CStdFixed___sub____SWIG_4(self, args);
118068  }
118069  }
118070  }
118071  if (argc == 2) {
118072  int _v;
118073  void *vptr = 0;
118074  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118075  _v = SWIG_CheckState(res);
118076  if (_v) {
118077  {
118078  int res = SWIG_AsVal_int(argv[1], NULL);
118079  _v = SWIG_CheckState(res);
118080  }
118081  if (_v) {
118082  return _wrap_CStdFixed___sub____SWIG_2(self, args);
118083  }
118084  }
118085  }
118086  if (argc == 2) {
118087  int _v;
118088  void *vptr = 0;
118089  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118090  _v = SWIG_CheckState(res);
118091  if (_v) {
118092  {
118093  int res = SWIG_AsVal_long(argv[1], NULL);
118094  _v = SWIG_CheckState(res);
118095  }
118096  if (_v) {
118097  return _wrap_CStdFixed___sub____SWIG_3(self, args);
118098  }
118099  }
118100  }
118101  if (argc == 2) {
118102  int _v;
118103  void *vptr = 0;
118104  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118105  _v = SWIG_CheckState(res);
118106  if (_v) {
118107  {
118108  int res = SWIG_AsVal_float(argv[1], NULL);
118109  _v = SWIG_CheckState(res);
118110  }
118111  if (_v) {
118112  return _wrap_CStdFixed___sub____SWIG_0(self, args);
118113  }
118114  }
118115  }
118116  if (argc == 2) {
118117  int _v;
118118  void *vptr = 0;
118119  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118120  _v = SWIG_CheckState(res);
118121  if (_v) {
118122  {
118123  int res = SWIG_AsVal_double(argv[1], NULL);
118124  _v = SWIG_CheckState(res);
118125  }
118126  if (_v) {
118127  return _wrap_CStdFixed___sub____SWIG_1(self, args);
118128  }
118129  }
118130  }
118131 
118132 fail:
118133  Py_INCREF(Py_NotImplemented);
118134  return Py_NotImplemented;
118135 }
118136 
118137 
118138 SWIGINTERN PyObject *_wrap_CStdFixed___isub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118139  PyObject *resultobj = 0;
118140  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118141  float arg2 ;
118142  void *argp1 = 0 ;
118143  int res1 = 0 ;
118144  float val2 ;
118145  int ecode2 = 0 ;
118146  PyObject * obj0 = 0 ;
118147  PyObject * obj1 = 0 ;
118148  StdUtils::CStdFixed result;
118149 
118150  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___isub__",&obj0,&obj1)) SWIG_fail;
118151  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
118152  if (!SWIG_IsOK(res1)) {
118153  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___isub__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118154  }
118155  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118156  ecode2 = SWIG_AsVal_float(obj1, &val2);
118157  if (!SWIG_IsOK(ecode2)) {
118158  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___isub__" "', argument " "2"" of type '" "float""'");
118159  }
118160  arg2 = static_cast< float >(val2);
118161  result = (arg1)->operator -=(arg2);
118162  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118163  return resultobj;
118164 fail:
118165  return NULL;
118166 }
118167 
118168 
118169 SWIGINTERN PyObject *_wrap_CStdFixed___isub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118170  PyObject *resultobj = 0;
118171  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118172  double arg2 ;
118173  void *argp1 = 0 ;
118174  int res1 = 0 ;
118175  double val2 ;
118176  int ecode2 = 0 ;
118177  PyObject * obj0 = 0 ;
118178  PyObject * obj1 = 0 ;
118179  StdUtils::CStdFixed result;
118180 
118181  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___isub__",&obj0,&obj1)) SWIG_fail;
118182  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
118183  if (!SWIG_IsOK(res1)) {
118184  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___isub__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118185  }
118186  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118187  ecode2 = SWIG_AsVal_double(obj1, &val2);
118188  if (!SWIG_IsOK(ecode2)) {
118189  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___isub__" "', argument " "2"" of type '" "double""'");
118190  }
118191  arg2 = static_cast< double >(val2);
118192  result = (arg1)->operator -=(arg2);
118193  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118194  return resultobj;
118195 fail:
118196  return NULL;
118197 }
118198 
118199 
118200 SWIGINTERN PyObject *_wrap_CStdFixed___isub____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118201  PyObject *resultobj = 0;
118202  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118203  int arg2 ;
118204  void *argp1 = 0 ;
118205  int res1 = 0 ;
118206  int val2 ;
118207  int ecode2 = 0 ;
118208  PyObject * obj0 = 0 ;
118209  PyObject * obj1 = 0 ;
118210  StdUtils::CStdFixed result;
118211 
118212  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___isub__",&obj0,&obj1)) SWIG_fail;
118213  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
118214  if (!SWIG_IsOK(res1)) {
118215  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___isub__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118216  }
118217  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118218  ecode2 = SWIG_AsVal_int(obj1, &val2);
118219  if (!SWIG_IsOK(ecode2)) {
118220  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___isub__" "', argument " "2"" of type '" "int""'");
118221  }
118222  arg2 = static_cast< int >(val2);
118223  result = (arg1)->operator -=(arg2);
118224  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118225  return resultobj;
118226 fail:
118227  return NULL;
118228 }
118229 
118230 
118231 SWIGINTERN PyObject *_wrap_CStdFixed___isub____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118232  PyObject *resultobj = 0;
118233  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118234  long arg2 ;
118235  void *argp1 = 0 ;
118236  int res1 = 0 ;
118237  long val2 ;
118238  int ecode2 = 0 ;
118239  PyObject * obj0 = 0 ;
118240  PyObject * obj1 = 0 ;
118241  StdUtils::CStdFixed result;
118242 
118243  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___isub__",&obj0,&obj1)) SWIG_fail;
118244  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
118245  if (!SWIG_IsOK(res1)) {
118246  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___isub__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118247  }
118248  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118249  ecode2 = SWIG_AsVal_long(obj1, &val2);
118250  if (!SWIG_IsOK(ecode2)) {
118251  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___isub__" "', argument " "2"" of type '" "long""'");
118252  }
118253  arg2 = static_cast< long >(val2);
118254  result = (arg1)->operator -=(arg2);
118255  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118256  return resultobj;
118257 fail:
118258  return NULL;
118259 }
118260 
118261 
118262 SWIGINTERN PyObject *_wrap_CStdFixed___isub____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118263  PyObject *resultobj = 0;
118264  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118265  StdUtils::CStdFixed *arg2 = 0 ;
118266  void *argp1 = 0 ;
118267  int res1 = 0 ;
118268  void *argp2 = 0 ;
118269  int res2 = 0 ;
118270  PyObject * obj0 = 0 ;
118271  PyObject * obj1 = 0 ;
118272  StdUtils::CStdFixed result;
118273 
118274  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___isub__",&obj0,&obj1)) SWIG_fail;
118275  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
118276  if (!SWIG_IsOK(res1)) {
118277  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___isub__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118278  }
118279  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118280  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0);
118281  if (!SWIG_IsOK(res2)) {
118282  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFixed___isub__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
118283  }
118284  if (!argp2) {
118285  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFixed___isub__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
118286  }
118287  arg2 = reinterpret_cast< StdUtils::CStdFixed * >(argp2);
118288  result = (arg1)->operator -=((StdUtils::CStdFixed const &)*arg2);
118289  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118290  return resultobj;
118291 fail:
118292  return NULL;
118293 }
118294 
118295 
118296 SWIGINTERN PyObject *_wrap_CStdFixed___isub__(PyObject *self, PyObject *args) {
118297  int argc;
118298  PyObject *argv[3];
118299  int ii;
118300 
118301  if (!PyTuple_Check(args)) SWIG_fail;
118302  argc = args ? (int)PyObject_Length(args) : 0;
118303  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
118304  argv[ii] = PyTuple_GET_ITEM(args,ii);
118305  }
118306  if (argc == 2) {
118307  int _v;
118308  void *vptr = 0;
118309  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118310  _v = SWIG_CheckState(res);
118311  if (_v) {
118312  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118313  _v = SWIG_CheckState(res);
118314  if (_v) {
118315  return _wrap_CStdFixed___isub____SWIG_4(self, args);
118316  }
118317  }
118318  }
118319  if (argc == 2) {
118320  int _v;
118321  void *vptr = 0;
118322  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118323  _v = SWIG_CheckState(res);
118324  if (_v) {
118325  {
118326  int res = SWIG_AsVal_int(argv[1], NULL);
118327  _v = SWIG_CheckState(res);
118328  }
118329  if (_v) {
118330  return _wrap_CStdFixed___isub____SWIG_2(self, args);
118331  }
118332  }
118333  }
118334  if (argc == 2) {
118335  int _v;
118336  void *vptr = 0;
118337  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118338  _v = SWIG_CheckState(res);
118339  if (_v) {
118340  {
118341  int res = SWIG_AsVal_long(argv[1], NULL);
118342  _v = SWIG_CheckState(res);
118343  }
118344  if (_v) {
118345  return _wrap_CStdFixed___isub____SWIG_3(self, args);
118346  }
118347  }
118348  }
118349  if (argc == 2) {
118350  int _v;
118351  void *vptr = 0;
118352  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118353  _v = SWIG_CheckState(res);
118354  if (_v) {
118355  {
118356  int res = SWIG_AsVal_float(argv[1], NULL);
118357  _v = SWIG_CheckState(res);
118358  }
118359  if (_v) {
118360  return _wrap_CStdFixed___isub____SWIG_0(self, args);
118361  }
118362  }
118363  }
118364  if (argc == 2) {
118365  int _v;
118366  void *vptr = 0;
118367  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118368  _v = SWIG_CheckState(res);
118369  if (_v) {
118370  {
118371  int res = SWIG_AsVal_double(argv[1], NULL);
118372  _v = SWIG_CheckState(res);
118373  }
118374  if (_v) {
118375  return _wrap_CStdFixed___isub____SWIG_1(self, args);
118376  }
118377  }
118378  }
118379 
118380 fail:
118381  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdFixed___isub__'.\n"
118382  " Possible C/C++ prototypes are:\n"
118383  " StdUtils::CStdFixed::operator -=(float const)\n"
118384  " StdUtils::CStdFixed::operator -=(double const)\n"
118385  " StdUtils::CStdFixed::operator -=(int const)\n"
118386  " StdUtils::CStdFixed::operator -=(long const)\n"
118387  " StdUtils::CStdFixed::operator -=(StdUtils::CStdFixed const &)\n");
118388  return 0;
118389 }
118390 
118391 
118392 SWIGINTERN PyObject *_wrap_CStdFixed___mul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118393  PyObject *resultobj = 0;
118394  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118395  float arg2 ;
118396  void *argp1 = 0 ;
118397  int res1 = 0 ;
118398  float val2 ;
118399  int ecode2 = 0 ;
118400  PyObject * obj0 = 0 ;
118401  PyObject * obj1 = 0 ;
118402  StdUtils::CStdFixed result;
118403 
118404  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___mul__",&obj0,&obj1)) SWIG_fail;
118405  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
118406  if (!SWIG_IsOK(res1)) {
118407  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___mul__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118408  }
118409  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118410  ecode2 = SWIG_AsVal_float(obj1, &val2);
118411  if (!SWIG_IsOK(ecode2)) {
118412  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___mul__" "', argument " "2"" of type '" "float""'");
118413  }
118414  arg2 = static_cast< float >(val2);
118415  result = (arg1)->operator *(arg2);
118416  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118417  return resultobj;
118418 fail:
118419  return NULL;
118420 }
118421 
118422 
118423 SWIGINTERN PyObject *_wrap_CStdFixed___mul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118424  PyObject *resultobj = 0;
118425  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118426  double arg2 ;
118427  void *argp1 = 0 ;
118428  int res1 = 0 ;
118429  double val2 ;
118430  int ecode2 = 0 ;
118431  PyObject * obj0 = 0 ;
118432  PyObject * obj1 = 0 ;
118433  StdUtils::CStdFixed result;
118434 
118435  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___mul__",&obj0,&obj1)) SWIG_fail;
118436  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
118437  if (!SWIG_IsOK(res1)) {
118438  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___mul__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118439  }
118440  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118441  ecode2 = SWIG_AsVal_double(obj1, &val2);
118442  if (!SWIG_IsOK(ecode2)) {
118443  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___mul__" "', argument " "2"" of type '" "double""'");
118444  }
118445  arg2 = static_cast< double >(val2);
118446  result = (arg1)->operator *(arg2);
118447  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118448  return resultobj;
118449 fail:
118450  return NULL;
118451 }
118452 
118453 
118454 SWIGINTERN PyObject *_wrap_CStdFixed___mul____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118455  PyObject *resultobj = 0;
118456  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118457  int arg2 ;
118458  void *argp1 = 0 ;
118459  int res1 = 0 ;
118460  int val2 ;
118461  int ecode2 = 0 ;
118462  PyObject * obj0 = 0 ;
118463  PyObject * obj1 = 0 ;
118464  StdUtils::CStdFixed result;
118465 
118466  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___mul__",&obj0,&obj1)) SWIG_fail;
118467  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
118468  if (!SWIG_IsOK(res1)) {
118469  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___mul__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118470  }
118471  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118472  ecode2 = SWIG_AsVal_int(obj1, &val2);
118473  if (!SWIG_IsOK(ecode2)) {
118474  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___mul__" "', argument " "2"" of type '" "int""'");
118475  }
118476  arg2 = static_cast< int >(val2);
118477  result = (arg1)->operator *(arg2);
118478  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118479  return resultobj;
118480 fail:
118481  return NULL;
118482 }
118483 
118484 
118485 SWIGINTERN PyObject *_wrap_CStdFixed___mul____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118486  PyObject *resultobj = 0;
118487  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118488  long arg2 ;
118489  void *argp1 = 0 ;
118490  int res1 = 0 ;
118491  long val2 ;
118492  int ecode2 = 0 ;
118493  PyObject * obj0 = 0 ;
118494  PyObject * obj1 = 0 ;
118495  StdUtils::CStdFixed result;
118496 
118497  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___mul__",&obj0,&obj1)) SWIG_fail;
118498  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
118499  if (!SWIG_IsOK(res1)) {
118500  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___mul__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118501  }
118502  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118503  ecode2 = SWIG_AsVal_long(obj1, &val2);
118504  if (!SWIG_IsOK(ecode2)) {
118505  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___mul__" "', argument " "2"" of type '" "long""'");
118506  }
118507  arg2 = static_cast< long >(val2);
118508  result = (arg1)->operator *(arg2);
118509  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118510  return resultobj;
118511 fail:
118512  return NULL;
118513 }
118514 
118515 
118516 SWIGINTERN PyObject *_wrap_CStdFixed___mul____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118517  PyObject *resultobj = 0;
118518  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118519  StdUtils::CStdFixed *arg2 = 0 ;
118520  void *argp1 = 0 ;
118521  int res1 = 0 ;
118522  void *argp2 = 0 ;
118523  int res2 = 0 ;
118524  PyObject * obj0 = 0 ;
118525  PyObject * obj1 = 0 ;
118526  StdUtils::CStdFixed result;
118527 
118528  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___mul__",&obj0,&obj1)) SWIG_fail;
118529  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
118530  if (!SWIG_IsOK(res1)) {
118531  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___mul__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118532  }
118533  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118534  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0);
118535  if (!SWIG_IsOK(res2)) {
118536  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFixed___mul__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
118537  }
118538  if (!argp2) {
118539  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFixed___mul__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
118540  }
118541  arg2 = reinterpret_cast< StdUtils::CStdFixed * >(argp2);
118542  result = (arg1)->operator *((StdUtils::CStdFixed const &)*arg2);
118543  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118544  return resultobj;
118545 fail:
118546  return NULL;
118547 }
118548 
118549 
118550 SWIGINTERN PyObject *_wrap_CStdFixed___mul__(PyObject *self, PyObject *args) {
118551  int argc;
118552  PyObject *argv[3];
118553  int ii;
118554 
118555  if (!PyTuple_Check(args)) SWIG_fail;
118556  argc = args ? (int)PyObject_Length(args) : 0;
118557  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
118558  argv[ii] = PyTuple_GET_ITEM(args,ii);
118559  }
118560  if (argc == 2) {
118561  int _v;
118562  void *vptr = 0;
118563  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118564  _v = SWIG_CheckState(res);
118565  if (_v) {
118566  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118567  _v = SWIG_CheckState(res);
118568  if (_v) {
118569  return _wrap_CStdFixed___mul____SWIG_4(self, args);
118570  }
118571  }
118572  }
118573  if (argc == 2) {
118574  int _v;
118575  void *vptr = 0;
118576  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118577  _v = SWIG_CheckState(res);
118578  if (_v) {
118579  {
118580  int res = SWIG_AsVal_int(argv[1], NULL);
118581  _v = SWIG_CheckState(res);
118582  }
118583  if (_v) {
118584  return _wrap_CStdFixed___mul____SWIG_2(self, args);
118585  }
118586  }
118587  }
118588  if (argc == 2) {
118589  int _v;
118590  void *vptr = 0;
118591  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118592  _v = SWIG_CheckState(res);
118593  if (_v) {
118594  {
118595  int res = SWIG_AsVal_long(argv[1], NULL);
118596  _v = SWIG_CheckState(res);
118597  }
118598  if (_v) {
118599  return _wrap_CStdFixed___mul____SWIG_3(self, args);
118600  }
118601  }
118602  }
118603  if (argc == 2) {
118604  int _v;
118605  void *vptr = 0;
118606  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118607  _v = SWIG_CheckState(res);
118608  if (_v) {
118609  {
118610  int res = SWIG_AsVal_float(argv[1], NULL);
118611  _v = SWIG_CheckState(res);
118612  }
118613  if (_v) {
118614  return _wrap_CStdFixed___mul____SWIG_0(self, args);
118615  }
118616  }
118617  }
118618  if (argc == 2) {
118619  int _v;
118620  void *vptr = 0;
118621  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118622  _v = SWIG_CheckState(res);
118623  if (_v) {
118624  {
118625  int res = SWIG_AsVal_double(argv[1], NULL);
118626  _v = SWIG_CheckState(res);
118627  }
118628  if (_v) {
118629  return _wrap_CStdFixed___mul____SWIG_1(self, args);
118630  }
118631  }
118632  }
118633 
118634 fail:
118635  Py_INCREF(Py_NotImplemented);
118636  return Py_NotImplemented;
118637 }
118638 
118639 
118640 SWIGINTERN PyObject *_wrap_CStdFixed___imul____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118641  PyObject *resultobj = 0;
118642  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118643  float arg2 ;
118644  void *argp1 = 0 ;
118645  int res1 = 0 ;
118646  float val2 ;
118647  int ecode2 = 0 ;
118648  PyObject * obj0 = 0 ;
118649  PyObject * obj1 = 0 ;
118650  StdUtils::CStdFixed result;
118651 
118652  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___imul__",&obj0,&obj1)) SWIG_fail;
118653  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
118654  if (!SWIG_IsOK(res1)) {
118655  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___imul__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118656  }
118657  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118658  ecode2 = SWIG_AsVal_float(obj1, &val2);
118659  if (!SWIG_IsOK(ecode2)) {
118660  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___imul__" "', argument " "2"" of type '" "float""'");
118661  }
118662  arg2 = static_cast< float >(val2);
118663  result = (arg1)->operator *=(arg2);
118664  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118665  return resultobj;
118666 fail:
118667  return NULL;
118668 }
118669 
118670 
118671 SWIGINTERN PyObject *_wrap_CStdFixed___imul____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118672  PyObject *resultobj = 0;
118673  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118674  double arg2 ;
118675  void *argp1 = 0 ;
118676  int res1 = 0 ;
118677  double val2 ;
118678  int ecode2 = 0 ;
118679  PyObject * obj0 = 0 ;
118680  PyObject * obj1 = 0 ;
118681  StdUtils::CStdFixed result;
118682 
118683  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___imul__",&obj0,&obj1)) SWIG_fail;
118684  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
118685  if (!SWIG_IsOK(res1)) {
118686  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___imul__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118687  }
118688  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118689  ecode2 = SWIG_AsVal_double(obj1, &val2);
118690  if (!SWIG_IsOK(ecode2)) {
118691  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___imul__" "', argument " "2"" of type '" "double""'");
118692  }
118693  arg2 = static_cast< double >(val2);
118694  result = (arg1)->operator *=(arg2);
118695  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118696  return resultobj;
118697 fail:
118698  return NULL;
118699 }
118700 
118701 
118702 SWIGINTERN PyObject *_wrap_CStdFixed___imul____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118703  PyObject *resultobj = 0;
118704  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118705  int arg2 ;
118706  void *argp1 = 0 ;
118707  int res1 = 0 ;
118708  int val2 ;
118709  int ecode2 = 0 ;
118710  PyObject * obj0 = 0 ;
118711  PyObject * obj1 = 0 ;
118712  StdUtils::CStdFixed result;
118713 
118714  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___imul__",&obj0,&obj1)) SWIG_fail;
118715  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
118716  if (!SWIG_IsOK(res1)) {
118717  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___imul__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118718  }
118719  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118720  ecode2 = SWIG_AsVal_int(obj1, &val2);
118721  if (!SWIG_IsOK(ecode2)) {
118722  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___imul__" "', argument " "2"" of type '" "int""'");
118723  }
118724  arg2 = static_cast< int >(val2);
118725  result = (arg1)->operator *=(arg2);
118726  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118727  return resultobj;
118728 fail:
118729  return NULL;
118730 }
118731 
118732 
118733 SWIGINTERN PyObject *_wrap_CStdFixed___imul____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118734  PyObject *resultobj = 0;
118735  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118736  long arg2 ;
118737  void *argp1 = 0 ;
118738  int res1 = 0 ;
118739  long val2 ;
118740  int ecode2 = 0 ;
118741  PyObject * obj0 = 0 ;
118742  PyObject * obj1 = 0 ;
118743  StdUtils::CStdFixed result;
118744 
118745  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___imul__",&obj0,&obj1)) SWIG_fail;
118746  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
118747  if (!SWIG_IsOK(res1)) {
118748  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___imul__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118749  }
118750  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118751  ecode2 = SWIG_AsVal_long(obj1, &val2);
118752  if (!SWIG_IsOK(ecode2)) {
118753  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___imul__" "', argument " "2"" of type '" "long""'");
118754  }
118755  arg2 = static_cast< long >(val2);
118756  result = (arg1)->operator *=(arg2);
118757  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118758  return resultobj;
118759 fail:
118760  return NULL;
118761 }
118762 
118763 
118764 SWIGINTERN PyObject *_wrap_CStdFixed___imul____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118765  PyObject *resultobj = 0;
118766  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118767  StdUtils::CStdFixed *arg2 = 0 ;
118768  void *argp1 = 0 ;
118769  int res1 = 0 ;
118770  void *argp2 = 0 ;
118771  int res2 = 0 ;
118772  PyObject * obj0 = 0 ;
118773  PyObject * obj1 = 0 ;
118774  StdUtils::CStdFixed result;
118775 
118776  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___imul__",&obj0,&obj1)) SWIG_fail;
118777  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
118778  if (!SWIG_IsOK(res1)) {
118779  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___imul__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118780  }
118781  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118782  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0);
118783  if (!SWIG_IsOK(res2)) {
118784  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFixed___imul__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
118785  }
118786  if (!argp2) {
118787  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFixed___imul__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
118788  }
118789  arg2 = reinterpret_cast< StdUtils::CStdFixed * >(argp2);
118790  result = (arg1)->operator *=((StdUtils::CStdFixed const &)*arg2);
118791  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118792  return resultobj;
118793 fail:
118794  return NULL;
118795 }
118796 
118797 
118798 SWIGINTERN PyObject *_wrap_CStdFixed___imul__(PyObject *self, PyObject *args) {
118799  int argc;
118800  PyObject *argv[3];
118801  int ii;
118802 
118803  if (!PyTuple_Check(args)) SWIG_fail;
118804  argc = args ? (int)PyObject_Length(args) : 0;
118805  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
118806  argv[ii] = PyTuple_GET_ITEM(args,ii);
118807  }
118808  if (argc == 2) {
118809  int _v;
118810  void *vptr = 0;
118811  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118812  _v = SWIG_CheckState(res);
118813  if (_v) {
118814  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118815  _v = SWIG_CheckState(res);
118816  if (_v) {
118817  return _wrap_CStdFixed___imul____SWIG_4(self, args);
118818  }
118819  }
118820  }
118821  if (argc == 2) {
118822  int _v;
118823  void *vptr = 0;
118824  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118825  _v = SWIG_CheckState(res);
118826  if (_v) {
118827  {
118828  int res = SWIG_AsVal_int(argv[1], NULL);
118829  _v = SWIG_CheckState(res);
118830  }
118831  if (_v) {
118832  return _wrap_CStdFixed___imul____SWIG_2(self, args);
118833  }
118834  }
118835  }
118836  if (argc == 2) {
118837  int _v;
118838  void *vptr = 0;
118839  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118840  _v = SWIG_CheckState(res);
118841  if (_v) {
118842  {
118843  int res = SWIG_AsVal_long(argv[1], NULL);
118844  _v = SWIG_CheckState(res);
118845  }
118846  if (_v) {
118847  return _wrap_CStdFixed___imul____SWIG_3(self, args);
118848  }
118849  }
118850  }
118851  if (argc == 2) {
118852  int _v;
118853  void *vptr = 0;
118854  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118855  _v = SWIG_CheckState(res);
118856  if (_v) {
118857  {
118858  int res = SWIG_AsVal_float(argv[1], NULL);
118859  _v = SWIG_CheckState(res);
118860  }
118861  if (_v) {
118862  return _wrap_CStdFixed___imul____SWIG_0(self, args);
118863  }
118864  }
118865  }
118866  if (argc == 2) {
118867  int _v;
118868  void *vptr = 0;
118869  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
118870  _v = SWIG_CheckState(res);
118871  if (_v) {
118872  {
118873  int res = SWIG_AsVal_double(argv[1], NULL);
118874  _v = SWIG_CheckState(res);
118875  }
118876  if (_v) {
118877  return _wrap_CStdFixed___imul____SWIG_1(self, args);
118878  }
118879  }
118880  }
118881 
118882 fail:
118883  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdFixed___imul__'.\n"
118884  " Possible C/C++ prototypes are:\n"
118885  " StdUtils::CStdFixed::operator *=(float const)\n"
118886  " StdUtils::CStdFixed::operator *=(double const)\n"
118887  " StdUtils::CStdFixed::operator *=(int const)\n"
118888  " StdUtils::CStdFixed::operator *=(long const)\n"
118889  " StdUtils::CStdFixed::operator *=(StdUtils::CStdFixed const &)\n");
118890  return 0;
118891 }
118892 
118893 
118894 SWIGINTERN PyObject *_wrap_CStdFixed___div____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118895  PyObject *resultobj = 0;
118896  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118897  float arg2 ;
118898  void *argp1 = 0 ;
118899  int res1 = 0 ;
118900  float val2 ;
118901  int ecode2 = 0 ;
118902  PyObject * obj0 = 0 ;
118903  PyObject * obj1 = 0 ;
118904  StdUtils::CStdFixed result;
118905 
118906  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___div__",&obj0,&obj1)) SWIG_fail;
118907  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
118908  if (!SWIG_IsOK(res1)) {
118909  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___div__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118910  }
118911  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118912  ecode2 = SWIG_AsVal_float(obj1, &val2);
118913  if (!SWIG_IsOK(ecode2)) {
118914  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___div__" "', argument " "2"" of type '" "float""'");
118915  }
118916  arg2 = static_cast< float >(val2);
118917  result = (arg1)->operator /(arg2);
118918  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118919  return resultobj;
118920 fail:
118921  return NULL;
118922 }
118923 
118924 
118925 SWIGINTERN PyObject *_wrap_CStdFixed___div____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118926  PyObject *resultobj = 0;
118927  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118928  double arg2 ;
118929  void *argp1 = 0 ;
118930  int res1 = 0 ;
118931  double val2 ;
118932  int ecode2 = 0 ;
118933  PyObject * obj0 = 0 ;
118934  PyObject * obj1 = 0 ;
118935  StdUtils::CStdFixed result;
118936 
118937  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___div__",&obj0,&obj1)) SWIG_fail;
118938  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
118939  if (!SWIG_IsOK(res1)) {
118940  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___div__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118941  }
118942  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118943  ecode2 = SWIG_AsVal_double(obj1, &val2);
118944  if (!SWIG_IsOK(ecode2)) {
118945  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___div__" "', argument " "2"" of type '" "double""'");
118946  }
118947  arg2 = static_cast< double >(val2);
118948  result = (arg1)->operator /(arg2);
118949  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118950  return resultobj;
118951 fail:
118952  return NULL;
118953 }
118954 
118955 
118956 SWIGINTERN PyObject *_wrap_CStdFixed___div____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118957  PyObject *resultobj = 0;
118958  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118959  int arg2 ;
118960  void *argp1 = 0 ;
118961  int res1 = 0 ;
118962  int val2 ;
118963  int ecode2 = 0 ;
118964  PyObject * obj0 = 0 ;
118965  PyObject * obj1 = 0 ;
118966  StdUtils::CStdFixed result;
118967 
118968  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___div__",&obj0,&obj1)) SWIG_fail;
118969  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
118970  if (!SWIG_IsOK(res1)) {
118971  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___div__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
118972  }
118973  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
118974  ecode2 = SWIG_AsVal_int(obj1, &val2);
118975  if (!SWIG_IsOK(ecode2)) {
118976  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___div__" "', argument " "2"" of type '" "int""'");
118977  }
118978  arg2 = static_cast< int >(val2);
118979  result = (arg1)->operator /(arg2);
118980  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
118981  return resultobj;
118982 fail:
118983  return NULL;
118984 }
118985 
118986 
118987 SWIGINTERN PyObject *_wrap_CStdFixed___div____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
118988  PyObject *resultobj = 0;
118989  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
118990  long arg2 ;
118991  void *argp1 = 0 ;
118992  int res1 = 0 ;
118993  long val2 ;
118994  int ecode2 = 0 ;
118995  PyObject * obj0 = 0 ;
118996  PyObject * obj1 = 0 ;
118997  StdUtils::CStdFixed result;
118998 
118999  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___div__",&obj0,&obj1)) SWIG_fail;
119000  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
119001  if (!SWIG_IsOK(res1)) {
119002  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___div__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119003  }
119004  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119005  ecode2 = SWIG_AsVal_long(obj1, &val2);
119006  if (!SWIG_IsOK(ecode2)) {
119007  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___div__" "', argument " "2"" of type '" "long""'");
119008  }
119009  arg2 = static_cast< long >(val2);
119010  result = (arg1)->operator /(arg2);
119011  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
119012  return resultobj;
119013 fail:
119014  return NULL;
119015 }
119016 
119017 
119018 SWIGINTERN PyObject *_wrap_CStdFixed___div____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119019  PyObject *resultobj = 0;
119020  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119021  StdUtils::CStdFixed *arg2 = 0 ;
119022  void *argp1 = 0 ;
119023  int res1 = 0 ;
119024  void *argp2 = 0 ;
119025  int res2 = 0 ;
119026  PyObject * obj0 = 0 ;
119027  PyObject * obj1 = 0 ;
119028  StdUtils::CStdFixed result;
119029 
119030  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___div__",&obj0,&obj1)) SWIG_fail;
119031  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
119032  if (!SWIG_IsOK(res1)) {
119033  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___div__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119034  }
119035  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119036  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0);
119037  if (!SWIG_IsOK(res2)) {
119038  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFixed___div__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
119039  }
119040  if (!argp2) {
119041  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFixed___div__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
119042  }
119043  arg2 = reinterpret_cast< StdUtils::CStdFixed * >(argp2);
119044  result = (arg1)->operator /((StdUtils::CStdFixed const &)*arg2);
119045  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
119046  return resultobj;
119047 fail:
119048  return NULL;
119049 }
119050 
119051 
119052 SWIGINTERN PyObject *_wrap_CStdFixed___div__(PyObject *self, PyObject *args) {
119053  int argc;
119054  PyObject *argv[3];
119055  int ii;
119056 
119057  if (!PyTuple_Check(args)) SWIG_fail;
119058  argc = args ? (int)PyObject_Length(args) : 0;
119059  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
119060  argv[ii] = PyTuple_GET_ITEM(args,ii);
119061  }
119062  if (argc == 2) {
119063  int _v;
119064  void *vptr = 0;
119065  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119066  _v = SWIG_CheckState(res);
119067  if (_v) {
119068  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119069  _v = SWIG_CheckState(res);
119070  if (_v) {
119071  return _wrap_CStdFixed___div____SWIG_4(self, args);
119072  }
119073  }
119074  }
119075  if (argc == 2) {
119076  int _v;
119077  void *vptr = 0;
119078  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119079  _v = SWIG_CheckState(res);
119080  if (_v) {
119081  {
119082  int res = SWIG_AsVal_int(argv[1], NULL);
119083  _v = SWIG_CheckState(res);
119084  }
119085  if (_v) {
119086  return _wrap_CStdFixed___div____SWIG_2(self, args);
119087  }
119088  }
119089  }
119090  if (argc == 2) {
119091  int _v;
119092  void *vptr = 0;
119093  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119094  _v = SWIG_CheckState(res);
119095  if (_v) {
119096  {
119097  int res = SWIG_AsVal_long(argv[1], NULL);
119098  _v = SWIG_CheckState(res);
119099  }
119100  if (_v) {
119101  return _wrap_CStdFixed___div____SWIG_3(self, args);
119102  }
119103  }
119104  }
119105  if (argc == 2) {
119106  int _v;
119107  void *vptr = 0;
119108  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119109  _v = SWIG_CheckState(res);
119110  if (_v) {
119111  {
119112  int res = SWIG_AsVal_float(argv[1], NULL);
119113  _v = SWIG_CheckState(res);
119114  }
119115  if (_v) {
119116  return _wrap_CStdFixed___div____SWIG_0(self, args);
119117  }
119118  }
119119  }
119120  if (argc == 2) {
119121  int _v;
119122  void *vptr = 0;
119123  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119124  _v = SWIG_CheckState(res);
119125  if (_v) {
119126  {
119127  int res = SWIG_AsVal_double(argv[1], NULL);
119128  _v = SWIG_CheckState(res);
119129  }
119130  if (_v) {
119131  return _wrap_CStdFixed___div____SWIG_1(self, args);
119132  }
119133  }
119134  }
119135 
119136 fail:
119137  Py_INCREF(Py_NotImplemented);
119138  return Py_NotImplemented;
119139 }
119140 
119141 
119142 SWIGINTERN PyObject *_wrap_CStdFixed___idiv____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119143  PyObject *resultobj = 0;
119144  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119145  float arg2 ;
119146  void *argp1 = 0 ;
119147  int res1 = 0 ;
119148  float val2 ;
119149  int ecode2 = 0 ;
119150  PyObject * obj0 = 0 ;
119151  PyObject * obj1 = 0 ;
119152  StdUtils::CStdFixed result;
119153 
119154  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___idiv__",&obj0,&obj1)) SWIG_fail;
119155  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
119156  if (!SWIG_IsOK(res1)) {
119157  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___idiv__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119158  }
119159  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119160  ecode2 = SWIG_AsVal_float(obj1, &val2);
119161  if (!SWIG_IsOK(ecode2)) {
119162  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___idiv__" "', argument " "2"" of type '" "float""'");
119163  }
119164  arg2 = static_cast< float >(val2);
119165  result = (arg1)->operator /=(arg2);
119166  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
119167  return resultobj;
119168 fail:
119169  return NULL;
119170 }
119171 
119172 
119173 SWIGINTERN PyObject *_wrap_CStdFixed___idiv____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119174  PyObject *resultobj = 0;
119175  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119176  double arg2 ;
119177  void *argp1 = 0 ;
119178  int res1 = 0 ;
119179  double val2 ;
119180  int ecode2 = 0 ;
119181  PyObject * obj0 = 0 ;
119182  PyObject * obj1 = 0 ;
119183  StdUtils::CStdFixed result;
119184 
119185  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___idiv__",&obj0,&obj1)) SWIG_fail;
119186  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
119187  if (!SWIG_IsOK(res1)) {
119188  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___idiv__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119189  }
119190  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119191  ecode2 = SWIG_AsVal_double(obj1, &val2);
119192  if (!SWIG_IsOK(ecode2)) {
119193  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___idiv__" "', argument " "2"" of type '" "double""'");
119194  }
119195  arg2 = static_cast< double >(val2);
119196  result = (arg1)->operator /=(arg2);
119197  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
119198  return resultobj;
119199 fail:
119200  return NULL;
119201 }
119202 
119203 
119204 SWIGINTERN PyObject *_wrap_CStdFixed___idiv____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119205  PyObject *resultobj = 0;
119206  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119207  int arg2 ;
119208  void *argp1 = 0 ;
119209  int res1 = 0 ;
119210  int val2 ;
119211  int ecode2 = 0 ;
119212  PyObject * obj0 = 0 ;
119213  PyObject * obj1 = 0 ;
119214  StdUtils::CStdFixed result;
119215 
119216  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___idiv__",&obj0,&obj1)) SWIG_fail;
119217  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
119218  if (!SWIG_IsOK(res1)) {
119219  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___idiv__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119220  }
119221  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119222  ecode2 = SWIG_AsVal_int(obj1, &val2);
119223  if (!SWIG_IsOK(ecode2)) {
119224  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___idiv__" "', argument " "2"" of type '" "int""'");
119225  }
119226  arg2 = static_cast< int >(val2);
119227  result = (arg1)->operator /=(arg2);
119228  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
119229  return resultobj;
119230 fail:
119231  return NULL;
119232 }
119233 
119234 
119235 SWIGINTERN PyObject *_wrap_CStdFixed___idiv____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119236  PyObject *resultobj = 0;
119237  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119238  long arg2 ;
119239  void *argp1 = 0 ;
119240  int res1 = 0 ;
119241  long val2 ;
119242  int ecode2 = 0 ;
119243  PyObject * obj0 = 0 ;
119244  PyObject * obj1 = 0 ;
119245  StdUtils::CStdFixed result;
119246 
119247  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___idiv__",&obj0,&obj1)) SWIG_fail;
119248  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
119249  if (!SWIG_IsOK(res1)) {
119250  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___idiv__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119251  }
119252  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119253  ecode2 = SWIG_AsVal_long(obj1, &val2);
119254  if (!SWIG_IsOK(ecode2)) {
119255  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___idiv__" "', argument " "2"" of type '" "long""'");
119256  }
119257  arg2 = static_cast< long >(val2);
119258  result = (arg1)->operator /=(arg2);
119259  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
119260  return resultobj;
119261 fail:
119262  return NULL;
119263 }
119264 
119265 
119266 SWIGINTERN PyObject *_wrap_CStdFixed___idiv____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119267  PyObject *resultobj = 0;
119268  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119269  StdUtils::CStdFixed *arg2 = 0 ;
119270  void *argp1 = 0 ;
119271  int res1 = 0 ;
119272  void *argp2 = 0 ;
119273  int res2 = 0 ;
119274  PyObject * obj0 = 0 ;
119275  PyObject * obj1 = 0 ;
119276  StdUtils::CStdFixed result;
119277 
119278  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___idiv__",&obj0,&obj1)) SWIG_fail;
119279  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_DISOWN | 0 );
119280  if (!SWIG_IsOK(res1)) {
119281  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___idiv__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119282  }
119283  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119284  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0);
119285  if (!SWIG_IsOK(res2)) {
119286  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFixed___idiv__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
119287  }
119288  if (!argp2) {
119289  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFixed___idiv__" "', argument " "2"" of type '" "StdUtils::CStdFixed const &""'");
119290  }
119291  arg2 = reinterpret_cast< StdUtils::CStdFixed * >(argp2);
119292  result = (arg1)->operator /=((StdUtils::CStdFixed const &)*arg2);
119293  resultobj = SWIG_NewPointerObj((new StdUtils::CStdFixed(static_cast< const StdUtils::CStdFixed& >(result))), SWIGTYPE_p_StdUtils__CStdFixed, SWIG_POINTER_OWN | 0 );
119294  return resultobj;
119295 fail:
119296  return NULL;
119297 }
119298 
119299 
119300 SWIGINTERN PyObject *_wrap_CStdFixed___idiv__(PyObject *self, PyObject *args) {
119301  int argc;
119302  PyObject *argv[3];
119303  int ii;
119304 
119305  if (!PyTuple_Check(args)) SWIG_fail;
119306  argc = args ? (int)PyObject_Length(args) : 0;
119307  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
119308  argv[ii] = PyTuple_GET_ITEM(args,ii);
119309  }
119310  if (argc == 2) {
119311  int _v;
119312  void *vptr = 0;
119313  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119314  _v = SWIG_CheckState(res);
119315  if (_v) {
119316  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119317  _v = SWIG_CheckState(res);
119318  if (_v) {
119319  return _wrap_CStdFixed___idiv____SWIG_4(self, args);
119320  }
119321  }
119322  }
119323  if (argc == 2) {
119324  int _v;
119325  void *vptr = 0;
119326  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119327  _v = SWIG_CheckState(res);
119328  if (_v) {
119329  {
119330  int res = SWIG_AsVal_int(argv[1], NULL);
119331  _v = SWIG_CheckState(res);
119332  }
119333  if (_v) {
119334  return _wrap_CStdFixed___idiv____SWIG_2(self, args);
119335  }
119336  }
119337  }
119338  if (argc == 2) {
119339  int _v;
119340  void *vptr = 0;
119341  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119342  _v = SWIG_CheckState(res);
119343  if (_v) {
119344  {
119345  int res = SWIG_AsVal_long(argv[1], NULL);
119346  _v = SWIG_CheckState(res);
119347  }
119348  if (_v) {
119349  return _wrap_CStdFixed___idiv____SWIG_3(self, args);
119350  }
119351  }
119352  }
119353  if (argc == 2) {
119354  int _v;
119355  void *vptr = 0;
119356  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119357  _v = SWIG_CheckState(res);
119358  if (_v) {
119359  {
119360  int res = SWIG_AsVal_float(argv[1], NULL);
119361  _v = SWIG_CheckState(res);
119362  }
119363  if (_v) {
119364  return _wrap_CStdFixed___idiv____SWIG_0(self, args);
119365  }
119366  }
119367  }
119368  if (argc == 2) {
119369  int _v;
119370  void *vptr = 0;
119371  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119372  _v = SWIG_CheckState(res);
119373  if (_v) {
119374  {
119375  int res = SWIG_AsVal_double(argv[1], NULL);
119376  _v = SWIG_CheckState(res);
119377  }
119378  if (_v) {
119379  return _wrap_CStdFixed___idiv____SWIG_1(self, args);
119380  }
119381  }
119382  }
119383 
119384 fail:
119385  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdFixed___idiv__'.\n"
119386  " Possible C/C++ prototypes are:\n"
119387  " StdUtils::CStdFixed::operator /=(float const)\n"
119388  " StdUtils::CStdFixed::operator /=(double const)\n"
119389  " StdUtils::CStdFixed::operator /=(int const)\n"
119390  " StdUtils::CStdFixed::operator /=(long const)\n"
119391  " StdUtils::CStdFixed::operator /=(StdUtils::CStdFixed const &)\n");
119392  return 0;
119393 }
119394 
119395 
119396 SWIGINTERN PyObject *_wrap_CStdFixed___eq____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119397  PyObject *resultobj = 0;
119398  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119399  float arg2 ;
119400  void *argp1 = 0 ;
119401  int res1 = 0 ;
119402  float val2 ;
119403  int ecode2 = 0 ;
119404  PyObject * obj0 = 0 ;
119405  PyObject * obj1 = 0 ;
119406  bool result;
119407 
119408  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___eq__",&obj0,&obj1)) SWIG_fail;
119409  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
119410  if (!SWIG_IsOK(res1)) {
119411  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___eq__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119412  }
119413  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119414  ecode2 = SWIG_AsVal_float(obj1, &val2);
119415  if (!SWIG_IsOK(ecode2)) {
119416  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___eq__" "', argument " "2"" of type '" "float""'");
119417  }
119418  arg2 = static_cast< float >(val2);
119419  result = (bool)(arg1)->operator ==(arg2);
119420  resultobj = SWIG_From_bool(static_cast< bool >(result));
119421  return resultobj;
119422 fail:
119423  return NULL;
119424 }
119425 
119426 
119427 SWIGINTERN PyObject *_wrap_CStdFixed___eq____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119428  PyObject *resultobj = 0;
119429  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119430  double arg2 ;
119431  void *argp1 = 0 ;
119432  int res1 = 0 ;
119433  double val2 ;
119434  int ecode2 = 0 ;
119435  PyObject * obj0 = 0 ;
119436  PyObject * obj1 = 0 ;
119437  bool result;
119438 
119439  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___eq__",&obj0,&obj1)) SWIG_fail;
119440  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
119441  if (!SWIG_IsOK(res1)) {
119442  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___eq__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119443  }
119444  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119445  ecode2 = SWIG_AsVal_double(obj1, &val2);
119446  if (!SWIG_IsOK(ecode2)) {
119447  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___eq__" "', argument " "2"" of type '" "double""'");
119448  }
119449  arg2 = static_cast< double >(val2);
119450  result = (bool)(arg1)->operator ==(arg2);
119451  resultobj = SWIG_From_bool(static_cast< bool >(result));
119452  return resultobj;
119453 fail:
119454  return NULL;
119455 }
119456 
119457 
119458 SWIGINTERN PyObject *_wrap_CStdFixed___eq____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119459  PyObject *resultobj = 0;
119460  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119461  int arg2 ;
119462  void *argp1 = 0 ;
119463  int res1 = 0 ;
119464  int val2 ;
119465  int ecode2 = 0 ;
119466  PyObject * obj0 = 0 ;
119467  PyObject * obj1 = 0 ;
119468  bool result;
119469 
119470  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___eq__",&obj0,&obj1)) SWIG_fail;
119471  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
119472  if (!SWIG_IsOK(res1)) {
119473  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___eq__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119474  }
119475  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119476  ecode2 = SWIG_AsVal_int(obj1, &val2);
119477  if (!SWIG_IsOK(ecode2)) {
119478  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___eq__" "', argument " "2"" of type '" "int""'");
119479  }
119480  arg2 = static_cast< int >(val2);
119481  result = (bool)(arg1)->operator ==(arg2);
119482  resultobj = SWIG_From_bool(static_cast< bool >(result));
119483  return resultobj;
119484 fail:
119485  return NULL;
119486 }
119487 
119488 
119489 SWIGINTERN PyObject *_wrap_CStdFixed___eq____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119490  PyObject *resultobj = 0;
119491  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119492  long arg2 ;
119493  void *argp1 = 0 ;
119494  int res1 = 0 ;
119495  long val2 ;
119496  int ecode2 = 0 ;
119497  PyObject * obj0 = 0 ;
119498  PyObject * obj1 = 0 ;
119499  bool result;
119500 
119501  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___eq__",&obj0,&obj1)) SWIG_fail;
119502  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
119503  if (!SWIG_IsOK(res1)) {
119504  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___eq__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119505  }
119506  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119507  ecode2 = SWIG_AsVal_long(obj1, &val2);
119508  if (!SWIG_IsOK(ecode2)) {
119509  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___eq__" "', argument " "2"" of type '" "long""'");
119510  }
119511  arg2 = static_cast< long >(val2);
119512  result = (bool)(arg1)->operator ==(arg2);
119513  resultobj = SWIG_From_bool(static_cast< bool >(result));
119514  return resultobj;
119515 fail:
119516  return NULL;
119517 }
119518 
119519 
119520 SWIGINTERN PyObject *_wrap_CStdFixed___eq____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119521  PyObject *resultobj = 0;
119522  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119523  StdUtils::CStdFixed *arg2 = 0 ;
119524  void *argp1 = 0 ;
119525  int res1 = 0 ;
119526  void *argp2 = 0 ;
119527  int res2 = 0 ;
119528  PyObject * obj0 = 0 ;
119529  PyObject * obj1 = 0 ;
119530  bool result;
119531 
119532  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___eq__",&obj0,&obj1)) SWIG_fail;
119533  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
119534  if (!SWIG_IsOK(res1)) {
119535  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___eq__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119536  }
119537  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119538  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdFixed, 0 );
119539  if (!SWIG_IsOK(res2)) {
119540  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFixed___eq__" "', argument " "2"" of type '" "StdUtils::CStdFixed &""'");
119541  }
119542  if (!argp2) {
119543  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFixed___eq__" "', argument " "2"" of type '" "StdUtils::CStdFixed &""'");
119544  }
119545  arg2 = reinterpret_cast< StdUtils::CStdFixed * >(argp2);
119546  result = (bool)(arg1)->operator ==(*arg2);
119547  resultobj = SWIG_From_bool(static_cast< bool >(result));
119548  return resultobj;
119549 fail:
119550  return NULL;
119551 }
119552 
119553 
119554 SWIGINTERN PyObject *_wrap_CStdFixed___eq__(PyObject *self, PyObject *args) {
119555  int argc;
119556  PyObject *argv[3];
119557  int ii;
119558 
119559  if (!PyTuple_Check(args)) SWIG_fail;
119560  argc = args ? (int)PyObject_Length(args) : 0;
119561  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
119562  argv[ii] = PyTuple_GET_ITEM(args,ii);
119563  }
119564  if (argc == 2) {
119565  int _v;
119566  void *vptr = 0;
119567  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119568  _v = SWIG_CheckState(res);
119569  if (_v) {
119570  void *vptr = 0;
119571  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119572  _v = SWIG_CheckState(res);
119573  if (_v) {
119574  return _wrap_CStdFixed___eq____SWIG_4(self, args);
119575  }
119576  }
119577  }
119578  if (argc == 2) {
119579  int _v;
119580  void *vptr = 0;
119581  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119582  _v = SWIG_CheckState(res);
119583  if (_v) {
119584  {
119585  int res = SWIG_AsVal_int(argv[1], NULL);
119586  _v = SWIG_CheckState(res);
119587  }
119588  if (_v) {
119589  return _wrap_CStdFixed___eq____SWIG_2(self, args);
119590  }
119591  }
119592  }
119593  if (argc == 2) {
119594  int _v;
119595  void *vptr = 0;
119596  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119597  _v = SWIG_CheckState(res);
119598  if (_v) {
119599  {
119600  int res = SWIG_AsVal_long(argv[1], NULL);
119601  _v = SWIG_CheckState(res);
119602  }
119603  if (_v) {
119604  return _wrap_CStdFixed___eq____SWIG_3(self, args);
119605  }
119606  }
119607  }
119608  if (argc == 2) {
119609  int _v;
119610  void *vptr = 0;
119611  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119612  _v = SWIG_CheckState(res);
119613  if (_v) {
119614  {
119615  int res = SWIG_AsVal_float(argv[1], NULL);
119616  _v = SWIG_CheckState(res);
119617  }
119618  if (_v) {
119619  return _wrap_CStdFixed___eq____SWIG_0(self, args);
119620  }
119621  }
119622  }
119623  if (argc == 2) {
119624  int _v;
119625  void *vptr = 0;
119626  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119627  _v = SWIG_CheckState(res);
119628  if (_v) {
119629  {
119630  int res = SWIG_AsVal_double(argv[1], NULL);
119631  _v = SWIG_CheckState(res);
119632  }
119633  if (_v) {
119634  return _wrap_CStdFixed___eq____SWIG_1(self, args);
119635  }
119636  }
119637  }
119638 
119639 fail:
119640  Py_INCREF(Py_NotImplemented);
119641  return Py_NotImplemented;
119642 }
119643 
119644 
119645 SWIGINTERN PyObject *_wrap_CStdFixed___lt____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119646  PyObject *resultobj = 0;
119647  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119648  float arg2 ;
119649  void *argp1 = 0 ;
119650  int res1 = 0 ;
119651  float val2 ;
119652  int ecode2 = 0 ;
119653  PyObject * obj0 = 0 ;
119654  PyObject * obj1 = 0 ;
119655  bool result;
119656 
119657  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___lt__",&obj0,&obj1)) SWIG_fail;
119658  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
119659  if (!SWIG_IsOK(res1)) {
119660  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___lt__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119661  }
119662  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119663  ecode2 = SWIG_AsVal_float(obj1, &val2);
119664  if (!SWIG_IsOK(ecode2)) {
119665  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___lt__" "', argument " "2"" of type '" "float""'");
119666  }
119667  arg2 = static_cast< float >(val2);
119668  result = (bool)(arg1)->operator <(arg2);
119669  resultobj = SWIG_From_bool(static_cast< bool >(result));
119670  return resultobj;
119671 fail:
119672  return NULL;
119673 }
119674 
119675 
119676 SWIGINTERN PyObject *_wrap_CStdFixed___lt____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119677  PyObject *resultobj = 0;
119678  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119679  double arg2 ;
119680  void *argp1 = 0 ;
119681  int res1 = 0 ;
119682  double val2 ;
119683  int ecode2 = 0 ;
119684  PyObject * obj0 = 0 ;
119685  PyObject * obj1 = 0 ;
119686  bool result;
119687 
119688  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___lt__",&obj0,&obj1)) SWIG_fail;
119689  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
119690  if (!SWIG_IsOK(res1)) {
119691  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___lt__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119692  }
119693  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119694  ecode2 = SWIG_AsVal_double(obj1, &val2);
119695  if (!SWIG_IsOK(ecode2)) {
119696  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___lt__" "', argument " "2"" of type '" "double""'");
119697  }
119698  arg2 = static_cast< double >(val2);
119699  result = (bool)(arg1)->operator <(arg2);
119700  resultobj = SWIG_From_bool(static_cast< bool >(result));
119701  return resultobj;
119702 fail:
119703  return NULL;
119704 }
119705 
119706 
119707 SWIGINTERN PyObject *_wrap_CStdFixed___lt____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119708  PyObject *resultobj = 0;
119709  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119710  int arg2 ;
119711  void *argp1 = 0 ;
119712  int res1 = 0 ;
119713  int val2 ;
119714  int ecode2 = 0 ;
119715  PyObject * obj0 = 0 ;
119716  PyObject * obj1 = 0 ;
119717  bool result;
119718 
119719  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___lt__",&obj0,&obj1)) SWIG_fail;
119720  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
119721  if (!SWIG_IsOK(res1)) {
119722  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___lt__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119723  }
119724  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119725  ecode2 = SWIG_AsVal_int(obj1, &val2);
119726  if (!SWIG_IsOK(ecode2)) {
119727  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___lt__" "', argument " "2"" of type '" "int""'");
119728  }
119729  arg2 = static_cast< int >(val2);
119730  result = (bool)(arg1)->operator <(arg2);
119731  resultobj = SWIG_From_bool(static_cast< bool >(result));
119732  return resultobj;
119733 fail:
119734  return NULL;
119735 }
119736 
119737 
119738 SWIGINTERN PyObject *_wrap_CStdFixed___lt____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119739  PyObject *resultobj = 0;
119740  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119741  long arg2 ;
119742  void *argp1 = 0 ;
119743  int res1 = 0 ;
119744  long val2 ;
119745  int ecode2 = 0 ;
119746  PyObject * obj0 = 0 ;
119747  PyObject * obj1 = 0 ;
119748  bool result;
119749 
119750  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___lt__",&obj0,&obj1)) SWIG_fail;
119751  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
119752  if (!SWIG_IsOK(res1)) {
119753  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___lt__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119754  }
119755  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119756  ecode2 = SWIG_AsVal_long(obj1, &val2);
119757  if (!SWIG_IsOK(ecode2)) {
119758  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___lt__" "', argument " "2"" of type '" "long""'");
119759  }
119760  arg2 = static_cast< long >(val2);
119761  result = (bool)(arg1)->operator <(arg2);
119762  resultobj = SWIG_From_bool(static_cast< bool >(result));
119763  return resultobj;
119764 fail:
119765  return NULL;
119766 }
119767 
119768 
119769 SWIGINTERN PyObject *_wrap_CStdFixed___lt____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119770  PyObject *resultobj = 0;
119771  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119772  StdUtils::CStdFixed *arg2 = 0 ;
119773  void *argp1 = 0 ;
119774  int res1 = 0 ;
119775  void *argp2 = 0 ;
119776  int res2 = 0 ;
119777  PyObject * obj0 = 0 ;
119778  PyObject * obj1 = 0 ;
119779  bool result;
119780 
119781  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___lt__",&obj0,&obj1)) SWIG_fail;
119782  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
119783  if (!SWIG_IsOK(res1)) {
119784  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___lt__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119785  }
119786  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119787  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdFixed, 0 );
119788  if (!SWIG_IsOK(res2)) {
119789  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFixed___lt__" "', argument " "2"" of type '" "StdUtils::CStdFixed &""'");
119790  }
119791  if (!argp2) {
119792  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFixed___lt__" "', argument " "2"" of type '" "StdUtils::CStdFixed &""'");
119793  }
119794  arg2 = reinterpret_cast< StdUtils::CStdFixed * >(argp2);
119795  result = (bool)(arg1)->operator <(*arg2);
119796  resultobj = SWIG_From_bool(static_cast< bool >(result));
119797  return resultobj;
119798 fail:
119799  return NULL;
119800 }
119801 
119802 
119803 SWIGINTERN PyObject *_wrap_CStdFixed___lt__(PyObject *self, PyObject *args) {
119804  int argc;
119805  PyObject *argv[3];
119806  int ii;
119807 
119808  if (!PyTuple_Check(args)) SWIG_fail;
119809  argc = args ? (int)PyObject_Length(args) : 0;
119810  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
119811  argv[ii] = PyTuple_GET_ITEM(args,ii);
119812  }
119813  if (argc == 2) {
119814  int _v;
119815  void *vptr = 0;
119816  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119817  _v = SWIG_CheckState(res);
119818  if (_v) {
119819  void *vptr = 0;
119820  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119821  _v = SWIG_CheckState(res);
119822  if (_v) {
119823  return _wrap_CStdFixed___lt____SWIG_4(self, args);
119824  }
119825  }
119826  }
119827  if (argc == 2) {
119828  int _v;
119829  void *vptr = 0;
119830  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119831  _v = SWIG_CheckState(res);
119832  if (_v) {
119833  {
119834  int res = SWIG_AsVal_int(argv[1], NULL);
119835  _v = SWIG_CheckState(res);
119836  }
119837  if (_v) {
119838  return _wrap_CStdFixed___lt____SWIG_2(self, args);
119839  }
119840  }
119841  }
119842  if (argc == 2) {
119843  int _v;
119844  void *vptr = 0;
119845  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119846  _v = SWIG_CheckState(res);
119847  if (_v) {
119848  {
119849  int res = SWIG_AsVal_long(argv[1], NULL);
119850  _v = SWIG_CheckState(res);
119851  }
119852  if (_v) {
119853  return _wrap_CStdFixed___lt____SWIG_3(self, args);
119854  }
119855  }
119856  }
119857  if (argc == 2) {
119858  int _v;
119859  void *vptr = 0;
119860  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119861  _v = SWIG_CheckState(res);
119862  if (_v) {
119863  {
119864  int res = SWIG_AsVal_float(argv[1], NULL);
119865  _v = SWIG_CheckState(res);
119866  }
119867  if (_v) {
119868  return _wrap_CStdFixed___lt____SWIG_0(self, args);
119869  }
119870  }
119871  }
119872  if (argc == 2) {
119873  int _v;
119874  void *vptr = 0;
119875  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
119876  _v = SWIG_CheckState(res);
119877  if (_v) {
119878  {
119879  int res = SWIG_AsVal_double(argv[1], NULL);
119880  _v = SWIG_CheckState(res);
119881  }
119882  if (_v) {
119883  return _wrap_CStdFixed___lt____SWIG_1(self, args);
119884  }
119885  }
119886  }
119887 
119888 fail:
119889  Py_INCREF(Py_NotImplemented);
119890  return Py_NotImplemented;
119891 }
119892 
119893 
119894 SWIGINTERN PyObject *_wrap_CStdFixed___le____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119895  PyObject *resultobj = 0;
119896  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119897  float arg2 ;
119898  void *argp1 = 0 ;
119899  int res1 = 0 ;
119900  float val2 ;
119901  int ecode2 = 0 ;
119902  PyObject * obj0 = 0 ;
119903  PyObject * obj1 = 0 ;
119904  bool result;
119905 
119906  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___le__",&obj0,&obj1)) SWIG_fail;
119907  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
119908  if (!SWIG_IsOK(res1)) {
119909  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___le__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119910  }
119911  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119912  ecode2 = SWIG_AsVal_float(obj1, &val2);
119913  if (!SWIG_IsOK(ecode2)) {
119914  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___le__" "', argument " "2"" of type '" "float""'");
119915  }
119916  arg2 = static_cast< float >(val2);
119917  result = (bool)(arg1)->operator <=(arg2);
119918  resultobj = SWIG_From_bool(static_cast< bool >(result));
119919  return resultobj;
119920 fail:
119921  return NULL;
119922 }
119923 
119924 
119925 SWIGINTERN PyObject *_wrap_CStdFixed___le____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119926  PyObject *resultobj = 0;
119927  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119928  double arg2 ;
119929  void *argp1 = 0 ;
119930  int res1 = 0 ;
119931  double val2 ;
119932  int ecode2 = 0 ;
119933  PyObject * obj0 = 0 ;
119934  PyObject * obj1 = 0 ;
119935  bool result;
119936 
119937  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___le__",&obj0,&obj1)) SWIG_fail;
119938  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
119939  if (!SWIG_IsOK(res1)) {
119940  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___le__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119941  }
119942  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119943  ecode2 = SWIG_AsVal_double(obj1, &val2);
119944  if (!SWIG_IsOK(ecode2)) {
119945  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___le__" "', argument " "2"" of type '" "double""'");
119946  }
119947  arg2 = static_cast< double >(val2);
119948  result = (bool)(arg1)->operator <=(arg2);
119949  resultobj = SWIG_From_bool(static_cast< bool >(result));
119950  return resultobj;
119951 fail:
119952  return NULL;
119953 }
119954 
119955 
119956 SWIGINTERN PyObject *_wrap_CStdFixed___le____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119957  PyObject *resultobj = 0;
119958  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119959  int arg2 ;
119960  void *argp1 = 0 ;
119961  int res1 = 0 ;
119962  int val2 ;
119963  int ecode2 = 0 ;
119964  PyObject * obj0 = 0 ;
119965  PyObject * obj1 = 0 ;
119966  bool result;
119967 
119968  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___le__",&obj0,&obj1)) SWIG_fail;
119969  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
119970  if (!SWIG_IsOK(res1)) {
119971  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___le__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
119972  }
119973  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
119974  ecode2 = SWIG_AsVal_int(obj1, &val2);
119975  if (!SWIG_IsOK(ecode2)) {
119976  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___le__" "', argument " "2"" of type '" "int""'");
119977  }
119978  arg2 = static_cast< int >(val2);
119979  result = (bool)(arg1)->operator <=(arg2);
119980  resultobj = SWIG_From_bool(static_cast< bool >(result));
119981  return resultobj;
119982 fail:
119983  return NULL;
119984 }
119985 
119986 
119987 SWIGINTERN PyObject *_wrap_CStdFixed___le____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
119988  PyObject *resultobj = 0;
119989  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
119990  long arg2 ;
119991  void *argp1 = 0 ;
119992  int res1 = 0 ;
119993  long val2 ;
119994  int ecode2 = 0 ;
119995  PyObject * obj0 = 0 ;
119996  PyObject * obj1 = 0 ;
119997  bool result;
119998 
119999  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___le__",&obj0,&obj1)) SWIG_fail;
120000  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120001  if (!SWIG_IsOK(res1)) {
120002  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___le__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120003  }
120004  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120005  ecode2 = SWIG_AsVal_long(obj1, &val2);
120006  if (!SWIG_IsOK(ecode2)) {
120007  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___le__" "', argument " "2"" of type '" "long""'");
120008  }
120009  arg2 = static_cast< long >(val2);
120010  result = (bool)(arg1)->operator <=(arg2);
120011  resultobj = SWIG_From_bool(static_cast< bool >(result));
120012  return resultobj;
120013 fail:
120014  return NULL;
120015 }
120016 
120017 
120018 SWIGINTERN PyObject *_wrap_CStdFixed___le____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120019  PyObject *resultobj = 0;
120020  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120021  StdUtils::CStdFixed *arg2 = 0 ;
120022  void *argp1 = 0 ;
120023  int res1 = 0 ;
120024  void *argp2 = 0 ;
120025  int res2 = 0 ;
120026  PyObject * obj0 = 0 ;
120027  PyObject * obj1 = 0 ;
120028  bool result;
120029 
120030  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___le__",&obj0,&obj1)) SWIG_fail;
120031  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120032  if (!SWIG_IsOK(res1)) {
120033  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___le__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120034  }
120035  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120036  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdFixed, 0 );
120037  if (!SWIG_IsOK(res2)) {
120038  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFixed___le__" "', argument " "2"" of type '" "StdUtils::CStdFixed &""'");
120039  }
120040  if (!argp2) {
120041  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFixed___le__" "', argument " "2"" of type '" "StdUtils::CStdFixed &""'");
120042  }
120043  arg2 = reinterpret_cast< StdUtils::CStdFixed * >(argp2);
120044  result = (bool)(arg1)->operator <=(*arg2);
120045  resultobj = SWIG_From_bool(static_cast< bool >(result));
120046  return resultobj;
120047 fail:
120048  return NULL;
120049 }
120050 
120051 
120052 SWIGINTERN PyObject *_wrap_CStdFixed___le__(PyObject *self, PyObject *args) {
120053  int argc;
120054  PyObject *argv[3];
120055  int ii;
120056 
120057  if (!PyTuple_Check(args)) SWIG_fail;
120058  argc = args ? (int)PyObject_Length(args) : 0;
120059  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
120060  argv[ii] = PyTuple_GET_ITEM(args,ii);
120061  }
120062  if (argc == 2) {
120063  int _v;
120064  void *vptr = 0;
120065  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120066  _v = SWIG_CheckState(res);
120067  if (_v) {
120068  void *vptr = 0;
120069  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120070  _v = SWIG_CheckState(res);
120071  if (_v) {
120072  return _wrap_CStdFixed___le____SWIG_4(self, args);
120073  }
120074  }
120075  }
120076  if (argc == 2) {
120077  int _v;
120078  void *vptr = 0;
120079  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120080  _v = SWIG_CheckState(res);
120081  if (_v) {
120082  {
120083  int res = SWIG_AsVal_int(argv[1], NULL);
120084  _v = SWIG_CheckState(res);
120085  }
120086  if (_v) {
120087  return _wrap_CStdFixed___le____SWIG_2(self, args);
120088  }
120089  }
120090  }
120091  if (argc == 2) {
120092  int _v;
120093  void *vptr = 0;
120094  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120095  _v = SWIG_CheckState(res);
120096  if (_v) {
120097  {
120098  int res = SWIG_AsVal_long(argv[1], NULL);
120099  _v = SWIG_CheckState(res);
120100  }
120101  if (_v) {
120102  return _wrap_CStdFixed___le____SWIG_3(self, args);
120103  }
120104  }
120105  }
120106  if (argc == 2) {
120107  int _v;
120108  void *vptr = 0;
120109  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120110  _v = SWIG_CheckState(res);
120111  if (_v) {
120112  {
120113  int res = SWIG_AsVal_float(argv[1], NULL);
120114  _v = SWIG_CheckState(res);
120115  }
120116  if (_v) {
120117  return _wrap_CStdFixed___le____SWIG_0(self, args);
120118  }
120119  }
120120  }
120121  if (argc == 2) {
120122  int _v;
120123  void *vptr = 0;
120124  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120125  _v = SWIG_CheckState(res);
120126  if (_v) {
120127  {
120128  int res = SWIG_AsVal_double(argv[1], NULL);
120129  _v = SWIG_CheckState(res);
120130  }
120131  if (_v) {
120132  return _wrap_CStdFixed___le____SWIG_1(self, args);
120133  }
120134  }
120135  }
120136 
120137 fail:
120138  Py_INCREF(Py_NotImplemented);
120139  return Py_NotImplemented;
120140 }
120141 
120142 
120143 SWIGINTERN PyObject *_wrap_CStdFixed___gt____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120144  PyObject *resultobj = 0;
120145  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120146  float arg2 ;
120147  void *argp1 = 0 ;
120148  int res1 = 0 ;
120149  float val2 ;
120150  int ecode2 = 0 ;
120151  PyObject * obj0 = 0 ;
120152  PyObject * obj1 = 0 ;
120153  bool result;
120154 
120155  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___gt__",&obj0,&obj1)) SWIG_fail;
120156  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120157  if (!SWIG_IsOK(res1)) {
120158  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___gt__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120159  }
120160  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120161  ecode2 = SWIG_AsVal_float(obj1, &val2);
120162  if (!SWIG_IsOK(ecode2)) {
120163  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___gt__" "', argument " "2"" of type '" "float""'");
120164  }
120165  arg2 = static_cast< float >(val2);
120166  result = (bool)(arg1)->operator >(arg2);
120167  resultobj = SWIG_From_bool(static_cast< bool >(result));
120168  return resultobj;
120169 fail:
120170  return NULL;
120171 }
120172 
120173 
120174 SWIGINTERN PyObject *_wrap_CStdFixed___gt____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120175  PyObject *resultobj = 0;
120176  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120177  double arg2 ;
120178  void *argp1 = 0 ;
120179  int res1 = 0 ;
120180  double val2 ;
120181  int ecode2 = 0 ;
120182  PyObject * obj0 = 0 ;
120183  PyObject * obj1 = 0 ;
120184  bool result;
120185 
120186  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___gt__",&obj0,&obj1)) SWIG_fail;
120187  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120188  if (!SWIG_IsOK(res1)) {
120189  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___gt__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120190  }
120191  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120192  ecode2 = SWIG_AsVal_double(obj1, &val2);
120193  if (!SWIG_IsOK(ecode2)) {
120194  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___gt__" "', argument " "2"" of type '" "double""'");
120195  }
120196  arg2 = static_cast< double >(val2);
120197  result = (bool)(arg1)->operator >(arg2);
120198  resultobj = SWIG_From_bool(static_cast< bool >(result));
120199  return resultobj;
120200 fail:
120201  return NULL;
120202 }
120203 
120204 
120205 SWIGINTERN PyObject *_wrap_CStdFixed___gt____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120206  PyObject *resultobj = 0;
120207  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120208  int arg2 ;
120209  void *argp1 = 0 ;
120210  int res1 = 0 ;
120211  int val2 ;
120212  int ecode2 = 0 ;
120213  PyObject * obj0 = 0 ;
120214  PyObject * obj1 = 0 ;
120215  bool result;
120216 
120217  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___gt__",&obj0,&obj1)) SWIG_fail;
120218  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120219  if (!SWIG_IsOK(res1)) {
120220  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___gt__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120221  }
120222  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120223  ecode2 = SWIG_AsVal_int(obj1, &val2);
120224  if (!SWIG_IsOK(ecode2)) {
120225  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___gt__" "', argument " "2"" of type '" "int""'");
120226  }
120227  arg2 = static_cast< int >(val2);
120228  result = (bool)(arg1)->operator >(arg2);
120229  resultobj = SWIG_From_bool(static_cast< bool >(result));
120230  return resultobj;
120231 fail:
120232  return NULL;
120233 }
120234 
120235 
120236 SWIGINTERN PyObject *_wrap_CStdFixed___gt____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120237  PyObject *resultobj = 0;
120238  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120239  long arg2 ;
120240  void *argp1 = 0 ;
120241  int res1 = 0 ;
120242  long val2 ;
120243  int ecode2 = 0 ;
120244  PyObject * obj0 = 0 ;
120245  PyObject * obj1 = 0 ;
120246  bool result;
120247 
120248  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___gt__",&obj0,&obj1)) SWIG_fail;
120249  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120250  if (!SWIG_IsOK(res1)) {
120251  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___gt__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120252  }
120253  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120254  ecode2 = SWIG_AsVal_long(obj1, &val2);
120255  if (!SWIG_IsOK(ecode2)) {
120256  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___gt__" "', argument " "2"" of type '" "long""'");
120257  }
120258  arg2 = static_cast< long >(val2);
120259  result = (bool)(arg1)->operator >(arg2);
120260  resultobj = SWIG_From_bool(static_cast< bool >(result));
120261  return resultobj;
120262 fail:
120263  return NULL;
120264 }
120265 
120266 
120267 SWIGINTERN PyObject *_wrap_CStdFixed___gt____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120268  PyObject *resultobj = 0;
120269  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120270  StdUtils::CStdFixed *arg2 = 0 ;
120271  void *argp1 = 0 ;
120272  int res1 = 0 ;
120273  void *argp2 = 0 ;
120274  int res2 = 0 ;
120275  PyObject * obj0 = 0 ;
120276  PyObject * obj1 = 0 ;
120277  bool result;
120278 
120279  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___gt__",&obj0,&obj1)) SWIG_fail;
120280  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120281  if (!SWIG_IsOK(res1)) {
120282  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___gt__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120283  }
120284  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120285  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdFixed, 0 );
120286  if (!SWIG_IsOK(res2)) {
120287  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFixed___gt__" "', argument " "2"" of type '" "StdUtils::CStdFixed &""'");
120288  }
120289  if (!argp2) {
120290  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFixed___gt__" "', argument " "2"" of type '" "StdUtils::CStdFixed &""'");
120291  }
120292  arg2 = reinterpret_cast< StdUtils::CStdFixed * >(argp2);
120293  result = (bool)(arg1)->operator >(*arg2);
120294  resultobj = SWIG_From_bool(static_cast< bool >(result));
120295  return resultobj;
120296 fail:
120297  return NULL;
120298 }
120299 
120300 
120301 SWIGINTERN PyObject *_wrap_CStdFixed___gt__(PyObject *self, PyObject *args) {
120302  int argc;
120303  PyObject *argv[3];
120304  int ii;
120305 
120306  if (!PyTuple_Check(args)) SWIG_fail;
120307  argc = args ? (int)PyObject_Length(args) : 0;
120308  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
120309  argv[ii] = PyTuple_GET_ITEM(args,ii);
120310  }
120311  if (argc == 2) {
120312  int _v;
120313  void *vptr = 0;
120314  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120315  _v = SWIG_CheckState(res);
120316  if (_v) {
120317  void *vptr = 0;
120318  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120319  _v = SWIG_CheckState(res);
120320  if (_v) {
120321  return _wrap_CStdFixed___gt____SWIG_4(self, args);
120322  }
120323  }
120324  }
120325  if (argc == 2) {
120326  int _v;
120327  void *vptr = 0;
120328  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120329  _v = SWIG_CheckState(res);
120330  if (_v) {
120331  {
120332  int res = SWIG_AsVal_int(argv[1], NULL);
120333  _v = SWIG_CheckState(res);
120334  }
120335  if (_v) {
120336  return _wrap_CStdFixed___gt____SWIG_2(self, args);
120337  }
120338  }
120339  }
120340  if (argc == 2) {
120341  int _v;
120342  void *vptr = 0;
120343  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120344  _v = SWIG_CheckState(res);
120345  if (_v) {
120346  {
120347  int res = SWIG_AsVal_long(argv[1], NULL);
120348  _v = SWIG_CheckState(res);
120349  }
120350  if (_v) {
120351  return _wrap_CStdFixed___gt____SWIG_3(self, args);
120352  }
120353  }
120354  }
120355  if (argc == 2) {
120356  int _v;
120357  void *vptr = 0;
120358  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120359  _v = SWIG_CheckState(res);
120360  if (_v) {
120361  {
120362  int res = SWIG_AsVal_float(argv[1], NULL);
120363  _v = SWIG_CheckState(res);
120364  }
120365  if (_v) {
120366  return _wrap_CStdFixed___gt____SWIG_0(self, args);
120367  }
120368  }
120369  }
120370  if (argc == 2) {
120371  int _v;
120372  void *vptr = 0;
120373  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120374  _v = SWIG_CheckState(res);
120375  if (_v) {
120376  {
120377  int res = SWIG_AsVal_double(argv[1], NULL);
120378  _v = SWIG_CheckState(res);
120379  }
120380  if (_v) {
120381  return _wrap_CStdFixed___gt____SWIG_1(self, args);
120382  }
120383  }
120384  }
120385 
120386 fail:
120387  Py_INCREF(Py_NotImplemented);
120388  return Py_NotImplemented;
120389 }
120390 
120391 
120392 SWIGINTERN PyObject *_wrap_CStdFixed___ge____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120393  PyObject *resultobj = 0;
120394  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120395  float arg2 ;
120396  void *argp1 = 0 ;
120397  int res1 = 0 ;
120398  float val2 ;
120399  int ecode2 = 0 ;
120400  PyObject * obj0 = 0 ;
120401  PyObject * obj1 = 0 ;
120402  bool result;
120403 
120404  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___ge__",&obj0,&obj1)) SWIG_fail;
120405  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120406  if (!SWIG_IsOK(res1)) {
120407  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___ge__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120408  }
120409  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120410  ecode2 = SWIG_AsVal_float(obj1, &val2);
120411  if (!SWIG_IsOK(ecode2)) {
120412  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___ge__" "', argument " "2"" of type '" "float""'");
120413  }
120414  arg2 = static_cast< float >(val2);
120415  result = (bool)(arg1)->operator >=(arg2);
120416  resultobj = SWIG_From_bool(static_cast< bool >(result));
120417  return resultobj;
120418 fail:
120419  return NULL;
120420 }
120421 
120422 
120423 SWIGINTERN PyObject *_wrap_CStdFixed___ge____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120424  PyObject *resultobj = 0;
120425  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120426  double arg2 ;
120427  void *argp1 = 0 ;
120428  int res1 = 0 ;
120429  double val2 ;
120430  int ecode2 = 0 ;
120431  PyObject * obj0 = 0 ;
120432  PyObject * obj1 = 0 ;
120433  bool result;
120434 
120435  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___ge__",&obj0,&obj1)) SWIG_fail;
120436  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120437  if (!SWIG_IsOK(res1)) {
120438  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___ge__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120439  }
120440  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120441  ecode2 = SWIG_AsVal_double(obj1, &val2);
120442  if (!SWIG_IsOK(ecode2)) {
120443  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___ge__" "', argument " "2"" of type '" "double""'");
120444  }
120445  arg2 = static_cast< double >(val2);
120446  result = (bool)(arg1)->operator >=(arg2);
120447  resultobj = SWIG_From_bool(static_cast< bool >(result));
120448  return resultobj;
120449 fail:
120450  return NULL;
120451 }
120452 
120453 
120454 SWIGINTERN PyObject *_wrap_CStdFixed___ge____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120455  PyObject *resultobj = 0;
120456  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120457  int arg2 ;
120458  void *argp1 = 0 ;
120459  int res1 = 0 ;
120460  int val2 ;
120461  int ecode2 = 0 ;
120462  PyObject * obj0 = 0 ;
120463  PyObject * obj1 = 0 ;
120464  bool result;
120465 
120466  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___ge__",&obj0,&obj1)) SWIG_fail;
120467  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120468  if (!SWIG_IsOK(res1)) {
120469  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___ge__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120470  }
120471  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120472  ecode2 = SWIG_AsVal_int(obj1, &val2);
120473  if (!SWIG_IsOK(ecode2)) {
120474  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___ge__" "', argument " "2"" of type '" "int""'");
120475  }
120476  arg2 = static_cast< int >(val2);
120477  result = (bool)(arg1)->operator >=(arg2);
120478  resultobj = SWIG_From_bool(static_cast< bool >(result));
120479  return resultobj;
120480 fail:
120481  return NULL;
120482 }
120483 
120484 
120485 SWIGINTERN PyObject *_wrap_CStdFixed___ge____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120486  PyObject *resultobj = 0;
120487  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120488  long arg2 ;
120489  void *argp1 = 0 ;
120490  int res1 = 0 ;
120491  long val2 ;
120492  int ecode2 = 0 ;
120493  PyObject * obj0 = 0 ;
120494  PyObject * obj1 = 0 ;
120495  bool result;
120496 
120497  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___ge__",&obj0,&obj1)) SWIG_fail;
120498  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120499  if (!SWIG_IsOK(res1)) {
120500  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___ge__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120501  }
120502  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120503  ecode2 = SWIG_AsVal_long(obj1, &val2);
120504  if (!SWIG_IsOK(ecode2)) {
120505  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___ge__" "', argument " "2"" of type '" "long""'");
120506  }
120507  arg2 = static_cast< long >(val2);
120508  result = (bool)(arg1)->operator >=(arg2);
120509  resultobj = SWIG_From_bool(static_cast< bool >(result));
120510  return resultobj;
120511 fail:
120512  return NULL;
120513 }
120514 
120515 
120516 SWIGINTERN PyObject *_wrap_CStdFixed___ge____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120517  PyObject *resultobj = 0;
120518  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120519  StdUtils::CStdFixed *arg2 = 0 ;
120520  void *argp1 = 0 ;
120521  int res1 = 0 ;
120522  void *argp2 = 0 ;
120523  int res2 = 0 ;
120524  PyObject * obj0 = 0 ;
120525  PyObject * obj1 = 0 ;
120526  bool result;
120527 
120528  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___ge__",&obj0,&obj1)) SWIG_fail;
120529  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120530  if (!SWIG_IsOK(res1)) {
120531  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___ge__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120532  }
120533  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120534  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdFixed, 0 );
120535  if (!SWIG_IsOK(res2)) {
120536  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFixed___ge__" "', argument " "2"" of type '" "StdUtils::CStdFixed &""'");
120537  }
120538  if (!argp2) {
120539  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFixed___ge__" "', argument " "2"" of type '" "StdUtils::CStdFixed &""'");
120540  }
120541  arg2 = reinterpret_cast< StdUtils::CStdFixed * >(argp2);
120542  result = (bool)(arg1)->operator >=(*arg2);
120543  resultobj = SWIG_From_bool(static_cast< bool >(result));
120544  return resultobj;
120545 fail:
120546  return NULL;
120547 }
120548 
120549 
120550 SWIGINTERN PyObject *_wrap_CStdFixed___ge__(PyObject *self, PyObject *args) {
120551  int argc;
120552  PyObject *argv[3];
120553  int ii;
120554 
120555  if (!PyTuple_Check(args)) SWIG_fail;
120556  argc = args ? (int)PyObject_Length(args) : 0;
120557  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
120558  argv[ii] = PyTuple_GET_ITEM(args,ii);
120559  }
120560  if (argc == 2) {
120561  int _v;
120562  void *vptr = 0;
120563  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120564  _v = SWIG_CheckState(res);
120565  if (_v) {
120566  void *vptr = 0;
120567  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120568  _v = SWIG_CheckState(res);
120569  if (_v) {
120570  return _wrap_CStdFixed___ge____SWIG_4(self, args);
120571  }
120572  }
120573  }
120574  if (argc == 2) {
120575  int _v;
120576  void *vptr = 0;
120577  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120578  _v = SWIG_CheckState(res);
120579  if (_v) {
120580  {
120581  int res = SWIG_AsVal_int(argv[1], NULL);
120582  _v = SWIG_CheckState(res);
120583  }
120584  if (_v) {
120585  return _wrap_CStdFixed___ge____SWIG_2(self, args);
120586  }
120587  }
120588  }
120589  if (argc == 2) {
120590  int _v;
120591  void *vptr = 0;
120592  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120593  _v = SWIG_CheckState(res);
120594  if (_v) {
120595  {
120596  int res = SWIG_AsVal_long(argv[1], NULL);
120597  _v = SWIG_CheckState(res);
120598  }
120599  if (_v) {
120600  return _wrap_CStdFixed___ge____SWIG_3(self, args);
120601  }
120602  }
120603  }
120604  if (argc == 2) {
120605  int _v;
120606  void *vptr = 0;
120607  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120608  _v = SWIG_CheckState(res);
120609  if (_v) {
120610  {
120611  int res = SWIG_AsVal_float(argv[1], NULL);
120612  _v = SWIG_CheckState(res);
120613  }
120614  if (_v) {
120615  return _wrap_CStdFixed___ge____SWIG_0(self, args);
120616  }
120617  }
120618  }
120619  if (argc == 2) {
120620  int _v;
120621  void *vptr = 0;
120622  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120623  _v = SWIG_CheckState(res);
120624  if (_v) {
120625  {
120626  int res = SWIG_AsVal_double(argv[1], NULL);
120627  _v = SWIG_CheckState(res);
120628  }
120629  if (_v) {
120630  return _wrap_CStdFixed___ge____SWIG_1(self, args);
120631  }
120632  }
120633  }
120634 
120635 fail:
120636  Py_INCREF(Py_NotImplemented);
120637  return Py_NotImplemented;
120638 }
120639 
120640 
120641 SWIGINTERN PyObject *_wrap_CStdFixed___ne____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120642  PyObject *resultobj = 0;
120643  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120644  float arg2 ;
120645  void *argp1 = 0 ;
120646  int res1 = 0 ;
120647  float val2 ;
120648  int ecode2 = 0 ;
120649  PyObject * obj0 = 0 ;
120650  PyObject * obj1 = 0 ;
120651  bool result;
120652 
120653  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___ne__",&obj0,&obj1)) SWIG_fail;
120654  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120655  if (!SWIG_IsOK(res1)) {
120656  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___ne__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120657  }
120658  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120659  ecode2 = SWIG_AsVal_float(obj1, &val2);
120660  if (!SWIG_IsOK(ecode2)) {
120661  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___ne__" "', argument " "2"" of type '" "float""'");
120662  }
120663  arg2 = static_cast< float >(val2);
120664  result = (bool)(arg1)->operator !=(arg2);
120665  resultobj = SWIG_From_bool(static_cast< bool >(result));
120666  return resultobj;
120667 fail:
120668  return NULL;
120669 }
120670 
120671 
120672 SWIGINTERN PyObject *_wrap_CStdFixed___ne____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120673  PyObject *resultobj = 0;
120674  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120675  double arg2 ;
120676  void *argp1 = 0 ;
120677  int res1 = 0 ;
120678  double val2 ;
120679  int ecode2 = 0 ;
120680  PyObject * obj0 = 0 ;
120681  PyObject * obj1 = 0 ;
120682  bool result;
120683 
120684  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___ne__",&obj0,&obj1)) SWIG_fail;
120685  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120686  if (!SWIG_IsOK(res1)) {
120687  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___ne__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120688  }
120689  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120690  ecode2 = SWIG_AsVal_double(obj1, &val2);
120691  if (!SWIG_IsOK(ecode2)) {
120692  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___ne__" "', argument " "2"" of type '" "double""'");
120693  }
120694  arg2 = static_cast< double >(val2);
120695  result = (bool)(arg1)->operator !=(arg2);
120696  resultobj = SWIG_From_bool(static_cast< bool >(result));
120697  return resultobj;
120698 fail:
120699  return NULL;
120700 }
120701 
120702 
120703 SWIGINTERN PyObject *_wrap_CStdFixed___ne____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120704  PyObject *resultobj = 0;
120705  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120706  int arg2 ;
120707  void *argp1 = 0 ;
120708  int res1 = 0 ;
120709  int val2 ;
120710  int ecode2 = 0 ;
120711  PyObject * obj0 = 0 ;
120712  PyObject * obj1 = 0 ;
120713  bool result;
120714 
120715  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___ne__",&obj0,&obj1)) SWIG_fail;
120716  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120717  if (!SWIG_IsOK(res1)) {
120718  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___ne__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120719  }
120720  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120721  ecode2 = SWIG_AsVal_int(obj1, &val2);
120722  if (!SWIG_IsOK(ecode2)) {
120723  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___ne__" "', argument " "2"" of type '" "int""'");
120724  }
120725  arg2 = static_cast< int >(val2);
120726  result = (bool)(arg1)->operator !=(arg2);
120727  resultobj = SWIG_From_bool(static_cast< bool >(result));
120728  return resultobj;
120729 fail:
120730  return NULL;
120731 }
120732 
120733 
120734 SWIGINTERN PyObject *_wrap_CStdFixed___ne____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120735  PyObject *resultobj = 0;
120736  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120737  long arg2 ;
120738  void *argp1 = 0 ;
120739  int res1 = 0 ;
120740  long val2 ;
120741  int ecode2 = 0 ;
120742  PyObject * obj0 = 0 ;
120743  PyObject * obj1 = 0 ;
120744  bool result;
120745 
120746  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___ne__",&obj0,&obj1)) SWIG_fail;
120747  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120748  if (!SWIG_IsOK(res1)) {
120749  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___ne__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120750  }
120751  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120752  ecode2 = SWIG_AsVal_long(obj1, &val2);
120753  if (!SWIG_IsOK(ecode2)) {
120754  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdFixed___ne__" "', argument " "2"" of type '" "long""'");
120755  }
120756  arg2 = static_cast< long >(val2);
120757  result = (bool)(arg1)->operator !=(arg2);
120758  resultobj = SWIG_From_bool(static_cast< bool >(result));
120759  return resultobj;
120760 fail:
120761  return NULL;
120762 }
120763 
120764 
120765 SWIGINTERN PyObject *_wrap_CStdFixed___ne____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120766  PyObject *resultobj = 0;
120767  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120768  StdUtils::CStdFixed *arg2 = 0 ;
120769  void *argp1 = 0 ;
120770  int res1 = 0 ;
120771  void *argp2 = 0 ;
120772  int res2 = 0 ;
120773  PyObject * obj0 = 0 ;
120774  PyObject * obj1 = 0 ;
120775  bool result;
120776 
120777  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___ne__",&obj0,&obj1)) SWIG_fail;
120778  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120779  if (!SWIG_IsOK(res1)) {
120780  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___ne__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120781  }
120782  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120783  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdFixed, 0 );
120784  if (!SWIG_IsOK(res2)) {
120785  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFixed___ne__" "', argument " "2"" of type '" "StdUtils::CStdFixed &""'");
120786  }
120787  if (!argp2) {
120788  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFixed___ne__" "', argument " "2"" of type '" "StdUtils::CStdFixed &""'");
120789  }
120790  arg2 = reinterpret_cast< StdUtils::CStdFixed * >(argp2);
120791  result = (bool)(arg1)->operator !=(*arg2);
120792  resultobj = SWIG_From_bool(static_cast< bool >(result));
120793  return resultobj;
120794 fail:
120795  return NULL;
120796 }
120797 
120798 
120799 SWIGINTERN PyObject *_wrap_CStdFixed___ne__(PyObject *self, PyObject *args) {
120800  int argc;
120801  PyObject *argv[3];
120802  int ii;
120803 
120804  if (!PyTuple_Check(args)) SWIG_fail;
120805  argc = args ? (int)PyObject_Length(args) : 0;
120806  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
120807  argv[ii] = PyTuple_GET_ITEM(args,ii);
120808  }
120809  if (argc == 2) {
120810  int _v;
120811  void *vptr = 0;
120812  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120813  _v = SWIG_CheckState(res);
120814  if (_v) {
120815  void *vptr = 0;
120816  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120817  _v = SWIG_CheckState(res);
120818  if (_v) {
120819  return _wrap_CStdFixed___ne____SWIG_4(self, args);
120820  }
120821  }
120822  }
120823  if (argc == 2) {
120824  int _v;
120825  void *vptr = 0;
120826  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120827  _v = SWIG_CheckState(res);
120828  if (_v) {
120829  {
120830  int res = SWIG_AsVal_int(argv[1], NULL);
120831  _v = SWIG_CheckState(res);
120832  }
120833  if (_v) {
120834  return _wrap_CStdFixed___ne____SWIG_2(self, args);
120835  }
120836  }
120837  }
120838  if (argc == 2) {
120839  int _v;
120840  void *vptr = 0;
120841  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120842  _v = SWIG_CheckState(res);
120843  if (_v) {
120844  {
120845  int res = SWIG_AsVal_long(argv[1], NULL);
120846  _v = SWIG_CheckState(res);
120847  }
120848  if (_v) {
120849  return _wrap_CStdFixed___ne____SWIG_3(self, args);
120850  }
120851  }
120852  }
120853  if (argc == 2) {
120854  int _v;
120855  void *vptr = 0;
120856  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120857  _v = SWIG_CheckState(res);
120858  if (_v) {
120859  {
120860  int res = SWIG_AsVal_float(argv[1], NULL);
120861  _v = SWIG_CheckState(res);
120862  }
120863  if (_v) {
120864  return _wrap_CStdFixed___ne____SWIG_0(self, args);
120865  }
120866  }
120867  }
120868  if (argc == 2) {
120869  int _v;
120870  void *vptr = 0;
120871  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdFixed, 0);
120872  _v = SWIG_CheckState(res);
120873  if (_v) {
120874  {
120875  int res = SWIG_AsVal_double(argv[1], NULL);
120876  _v = SWIG_CheckState(res);
120877  }
120878  if (_v) {
120879  return _wrap_CStdFixed___ne____SWIG_1(self, args);
120880  }
120881  }
120882  }
120883 
120884 fail:
120885  Py_INCREF(Py_NotImplemented);
120886  return Py_NotImplemented;
120887 }
120888 
120889 
120890 SWIGINTERN PyObject *_wrap_CStdFixed___lshift__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120891  PyObject *resultobj = 0;
120892  StdUtils::CStdFixed *arg1 = (StdUtils::CStdFixed *) 0 ;
120893  std::ostream *arg2 = 0 ;
120894  void *argp1 = 0 ;
120895  int res1 = 0 ;
120896  void *argp2 = 0 ;
120897  int res2 = 0 ;
120898  PyObject * obj0 = 0 ;
120899  PyObject * obj1 = 0 ;
120900  std::ostream *result = 0 ;
120901 
120902  if (!PyArg_ParseTuple(args,(char *)"OO:CStdFixed___lshift__",&obj0,&obj1)) SWIG_fail;
120903  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdFixed, 0 | 0 );
120904  if (!SWIG_IsOK(res1)) {
120905  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdFixed___lshift__" "', argument " "1"" of type '" "StdUtils::CStdFixed *""'");
120906  }
120907  arg1 = reinterpret_cast< StdUtils::CStdFixed * >(argp1);
120908  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__ostream, 0 );
120909  if (!SWIG_IsOK(res2)) {
120910  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdFixed___lshift__" "', argument " "2"" of type '" "std::ostream &""'");
120911  }
120912  if (!argp2) {
120913  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdFixed___lshift__" "', argument " "2"" of type '" "std::ostream &""'");
120914  }
120915  arg2 = reinterpret_cast< std::ostream * >(argp2);
120916  result = (std::ostream *) &(arg1)->operator <<(*arg2);
120917  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__ostream, 0 | 0 );
120918  return resultobj;
120919 fail:
120920  return NULL;
120921 }
120922 
120923 
120924 SWIGINTERN PyObject *CStdFixed_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120925  PyObject *obj;
120926  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
120927  SWIG_TypeNewClientData(SWIGTYPE_p_StdUtils__CStdFixed, SWIG_NewClientData(obj));
120928  return SWIG_Py_Void();
120929 }
120930 
120931 SWIGINTERN PyObject *_wrap_new_CStdColor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120932  PyObject *resultobj = 0;
120933  StdUtils::CStdColor *result = 0 ;
120934 
120935  if (!PyArg_ParseTuple(args,(char *)":new_CStdColor")) SWIG_fail;
120936  result = (StdUtils::CStdColor *)new StdUtils::CStdColor();
120937  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_NEW | 0 );
120938  return resultobj;
120939 fail:
120940  return NULL;
120941 }
120942 
120943 
120944 SWIGINTERN PyObject *_wrap_new_CStdColor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120945  PyObject *resultobj = 0;
120946  float arg1 ;
120947  float val1 ;
120948  int ecode1 = 0 ;
120949  PyObject * obj0 = 0 ;
120950  StdUtils::CStdColor *result = 0 ;
120951 
120952  if (!PyArg_ParseTuple(args,(char *)"O:new_CStdColor",&obj0)) SWIG_fail;
120953  ecode1 = SWIG_AsVal_float(obj0, &val1);
120954  if (!SWIG_IsOK(ecode1)) {
120955  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdColor" "', argument " "1"" of type '" "float""'");
120956  }
120957  arg1 = static_cast< float >(val1);
120958  result = (StdUtils::CStdColor *)new StdUtils::CStdColor(arg1);
120959  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_NEW | 0 );
120960  return resultobj;
120961 fail:
120962  return NULL;
120963 }
120964 
120965 
120966 SWIGINTERN PyObject *_wrap_new_CStdColor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
120967  PyObject *resultobj = 0;
120968  float arg1 ;
120969  float arg2 ;
120970  float arg3 ;
120971  float arg4 ;
120972  float arg5 ;
120973  float val1 ;
120974  int ecode1 = 0 ;
120975  float val2 ;
120976  int ecode2 = 0 ;
120977  float val3 ;
120978  int ecode3 = 0 ;
120979  float val4 ;
120980  int ecode4 = 0 ;
120981  float val5 ;
120982  int ecode5 = 0 ;
120983  PyObject * obj0 = 0 ;
120984  PyObject * obj1 = 0 ;
120985  PyObject * obj2 = 0 ;
120986  PyObject * obj3 = 0 ;
120987  PyObject * obj4 = 0 ;
120988  StdUtils::CStdColor *result = 0 ;
120989 
120990  if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_CStdColor",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
120991  ecode1 = SWIG_AsVal_float(obj0, &val1);
120992  if (!SWIG_IsOK(ecode1)) {
120993  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdColor" "', argument " "1"" of type '" "float""'");
120994  }
120995  arg1 = static_cast< float >(val1);
120996  ecode2 = SWIG_AsVal_float(obj1, &val2);
120997  if (!SWIG_IsOK(ecode2)) {
120998  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CStdColor" "', argument " "2"" of type '" "float""'");
120999  }
121000  arg2 = static_cast< float >(val2);
121001  ecode3 = SWIG_AsVal_float(obj2, &val3);
121002  if (!SWIG_IsOK(ecode3)) {
121003  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CStdColor" "', argument " "3"" of type '" "float""'");
121004  }
121005  arg3 = static_cast< float >(val3);
121006  ecode4 = SWIG_AsVal_float(obj3, &val4);
121007  if (!SWIG_IsOK(ecode4)) {
121008  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CStdColor" "', argument " "4"" of type '" "float""'");
121009  }
121010  arg4 = static_cast< float >(val4);
121011  ecode5 = SWIG_AsVal_float(obj4, &val5);
121012  if (!SWIG_IsOK(ecode5)) {
121013  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_CStdColor" "', argument " "5"" of type '" "float""'");
121014  }
121015  arg5 = static_cast< float >(val5);
121016  result = (StdUtils::CStdColor *)new StdUtils::CStdColor(arg1,arg2,arg3,arg4,arg5);
121017  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_NEW | 0 );
121018  return resultobj;
121019 fail:
121020  return NULL;
121021 }
121022 
121023 
121024 SWIGINTERN PyObject *_wrap_new_CStdColor(PyObject *self, PyObject *args) {
121025  int argc;
121026  PyObject *argv[6];
121027  int ii;
121028 
121029  if (!PyTuple_Check(args)) SWIG_fail;
121030  argc = args ? (int)PyObject_Length(args) : 0;
121031  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
121032  argv[ii] = PyTuple_GET_ITEM(args,ii);
121033  }
121034  if (argc == 0) {
121035  return _wrap_new_CStdColor__SWIG_0(self, args);
121036  }
121037  if (argc == 1) {
121038  int _v;
121039  {
121040  int res = SWIG_AsVal_float(argv[0], NULL);
121041  _v = SWIG_CheckState(res);
121042  }
121043  if (_v) {
121044  return _wrap_new_CStdColor__SWIG_1(self, args);
121045  }
121046  }
121047  if (argc == 5) {
121048  int _v;
121049  {
121050  int res = SWIG_AsVal_float(argv[0], NULL);
121051  _v = SWIG_CheckState(res);
121052  }
121053  if (_v) {
121054  {
121055  int res = SWIG_AsVal_float(argv[1], NULL);
121056  _v = SWIG_CheckState(res);
121057  }
121058  if (_v) {
121059  {
121060  int res = SWIG_AsVal_float(argv[2], NULL);
121061  _v = SWIG_CheckState(res);
121062  }
121063  if (_v) {
121064  {
121065  int res = SWIG_AsVal_float(argv[3], NULL);
121066  _v = SWIG_CheckState(res);
121067  }
121068  if (_v) {
121069  {
121070  int res = SWIG_AsVal_float(argv[4], NULL);
121071  _v = SWIG_CheckState(res);
121072  }
121073  if (_v) {
121074  return _wrap_new_CStdColor__SWIG_2(self, args);
121075  }
121076  }
121077  }
121078  }
121079  }
121080  }
121081 
121082 fail:
121083  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_CStdColor'.\n"
121084  " Possible C/C++ prototypes are:\n"
121085  " StdUtils::CStdColor::CStdColor()\n"
121086  " StdUtils::CStdColor::CStdColor(float)\n"
121087  " StdUtils::CStdColor::CStdColor(float,float,float,float,float)\n");
121088  return 0;
121089 }
121090 
121091 
121092 SWIGINTERN PyObject *_wrap_CStdColor_r__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121093  PyObject *resultobj = 0;
121094  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121095  float arg2 ;
121096  bool arg3 ;
121097  void *argp1 = 0 ;
121098  int res1 = 0 ;
121099  float val2 ;
121100  int ecode2 = 0 ;
121101  bool val3 ;
121102  int ecode3 = 0 ;
121103  PyObject * obj0 = 0 ;
121104  PyObject * obj1 = 0 ;
121105  PyObject * obj2 = 0 ;
121106 
121107  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdColor_r",&obj0,&obj1,&obj2)) SWIG_fail;
121108  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121109  if (!SWIG_IsOK(res1)) {
121110  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_r" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121111  }
121112  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121113  ecode2 = SWIG_AsVal_float(obj1, &val2);
121114  if (!SWIG_IsOK(ecode2)) {
121115  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor_r" "', argument " "2"" of type '" "float""'");
121116  }
121117  arg2 = static_cast< float >(val2);
121118  ecode3 = SWIG_AsVal_bool(obj2, &val3);
121119  if (!SWIG_IsOK(ecode3)) {
121120  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdColor_r" "', argument " "3"" of type '" "bool""'");
121121  }
121122  arg3 = static_cast< bool >(val3);
121123  (arg1)->r(arg2,arg3);
121124  resultobj = SWIG_Py_Void();
121125  return resultobj;
121126 fail:
121127  return NULL;
121128 }
121129 
121130 
121131 SWIGINTERN PyObject *_wrap_CStdColor_r__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121132  PyObject *resultobj = 0;
121133  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121134  float arg2 ;
121135  void *argp1 = 0 ;
121136  int res1 = 0 ;
121137  float val2 ;
121138  int ecode2 = 0 ;
121139  PyObject * obj0 = 0 ;
121140  PyObject * obj1 = 0 ;
121141 
121142  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor_r",&obj0,&obj1)) SWIG_fail;
121143  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121144  if (!SWIG_IsOK(res1)) {
121145  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_r" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121146  }
121147  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121148  ecode2 = SWIG_AsVal_float(obj1, &val2);
121149  if (!SWIG_IsOK(ecode2)) {
121150  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor_r" "', argument " "2"" of type '" "float""'");
121151  }
121152  arg2 = static_cast< float >(val2);
121153  (arg1)->r(arg2);
121154  resultobj = SWIG_Py_Void();
121155  return resultobj;
121156 fail:
121157  return NULL;
121158 }
121159 
121160 
121161 SWIGINTERN PyObject *_wrap_CStdColor_r__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121162  PyObject *resultobj = 0;
121163  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121164  void *argp1 = 0 ;
121165  int res1 = 0 ;
121166  PyObject * obj0 = 0 ;
121167  float result;
121168 
121169  if (!PyArg_ParseTuple(args,(char *)"O:CStdColor_r",&obj0)) SWIG_fail;
121170  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121171  if (!SWIG_IsOK(res1)) {
121172  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_r" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121173  }
121174  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121175  result = (float)(arg1)->r();
121176  resultobj = SWIG_From_float(static_cast< float >(result));
121177  return resultobj;
121178 fail:
121179  return NULL;
121180 }
121181 
121182 
121183 SWIGINTERN PyObject *_wrap_CStdColor_r(PyObject *self, PyObject *args) {
121184  int argc;
121185  PyObject *argv[4];
121186  int ii;
121187 
121188  if (!PyTuple_Check(args)) SWIG_fail;
121189  argc = args ? (int)PyObject_Length(args) : 0;
121190  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
121191  argv[ii] = PyTuple_GET_ITEM(args,ii);
121192  }
121193  if (argc == 1) {
121194  int _v;
121195  void *vptr = 0;
121196  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
121197  _v = SWIG_CheckState(res);
121198  if (_v) {
121199  return _wrap_CStdColor_r__SWIG_2(self, args);
121200  }
121201  }
121202  if (argc == 2) {
121203  int _v;
121204  void *vptr = 0;
121205  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
121206  _v = SWIG_CheckState(res);
121207  if (_v) {
121208  {
121209  int res = SWIG_AsVal_float(argv[1], NULL);
121210  _v = SWIG_CheckState(res);
121211  }
121212  if (_v) {
121213  return _wrap_CStdColor_r__SWIG_1(self, args);
121214  }
121215  }
121216  }
121217  if (argc == 3) {
121218  int _v;
121219  void *vptr = 0;
121220  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
121221  _v = SWIG_CheckState(res);
121222  if (_v) {
121223  {
121224  int res = SWIG_AsVal_float(argv[1], NULL);
121225  _v = SWIG_CheckState(res);
121226  }
121227  if (_v) {
121228  {
121229  int res = SWIG_AsVal_bool(argv[2], NULL);
121230  _v = SWIG_CheckState(res);
121231  }
121232  if (_v) {
121233  return _wrap_CStdColor_r__SWIG_0(self, args);
121234  }
121235  }
121236  }
121237  }
121238 
121239 fail:
121240  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdColor_r'.\n"
121241  " Possible C/C++ prototypes are:\n"
121242  " StdUtils::CStdColor::r(float,bool)\n"
121243  " StdUtils::CStdColor::r(float)\n"
121244  " StdUtils::CStdColor::r()\n");
121245  return 0;
121246 }
121247 
121248 
121249 SWIGINTERN PyObject *_wrap_CStdColor_g__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121250  PyObject *resultobj = 0;
121251  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121252  float arg2 ;
121253  bool arg3 ;
121254  void *argp1 = 0 ;
121255  int res1 = 0 ;
121256  float val2 ;
121257  int ecode2 = 0 ;
121258  bool val3 ;
121259  int ecode3 = 0 ;
121260  PyObject * obj0 = 0 ;
121261  PyObject * obj1 = 0 ;
121262  PyObject * obj2 = 0 ;
121263 
121264  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdColor_g",&obj0,&obj1,&obj2)) SWIG_fail;
121265  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121266  if (!SWIG_IsOK(res1)) {
121267  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_g" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121268  }
121269  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121270  ecode2 = SWIG_AsVal_float(obj1, &val2);
121271  if (!SWIG_IsOK(ecode2)) {
121272  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor_g" "', argument " "2"" of type '" "float""'");
121273  }
121274  arg2 = static_cast< float >(val2);
121275  ecode3 = SWIG_AsVal_bool(obj2, &val3);
121276  if (!SWIG_IsOK(ecode3)) {
121277  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdColor_g" "', argument " "3"" of type '" "bool""'");
121278  }
121279  arg3 = static_cast< bool >(val3);
121280  (arg1)->g(arg2,arg3);
121281  resultobj = SWIG_Py_Void();
121282  return resultobj;
121283 fail:
121284  return NULL;
121285 }
121286 
121287 
121288 SWIGINTERN PyObject *_wrap_CStdColor_g__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121289  PyObject *resultobj = 0;
121290  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121291  float arg2 ;
121292  void *argp1 = 0 ;
121293  int res1 = 0 ;
121294  float val2 ;
121295  int ecode2 = 0 ;
121296  PyObject * obj0 = 0 ;
121297  PyObject * obj1 = 0 ;
121298 
121299  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor_g",&obj0,&obj1)) SWIG_fail;
121300  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121301  if (!SWIG_IsOK(res1)) {
121302  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_g" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121303  }
121304  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121305  ecode2 = SWIG_AsVal_float(obj1, &val2);
121306  if (!SWIG_IsOK(ecode2)) {
121307  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor_g" "', argument " "2"" of type '" "float""'");
121308  }
121309  arg2 = static_cast< float >(val2);
121310  (arg1)->g(arg2);
121311  resultobj = SWIG_Py_Void();
121312  return resultobj;
121313 fail:
121314  return NULL;
121315 }
121316 
121317 
121318 SWIGINTERN PyObject *_wrap_CStdColor_g__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121319  PyObject *resultobj = 0;
121320  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121321  void *argp1 = 0 ;
121322  int res1 = 0 ;
121323  PyObject * obj0 = 0 ;
121324  float result;
121325 
121326  if (!PyArg_ParseTuple(args,(char *)"O:CStdColor_g",&obj0)) SWIG_fail;
121327  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121328  if (!SWIG_IsOK(res1)) {
121329  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_g" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121330  }
121331  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121332  result = (float)(arg1)->g();
121333  resultobj = SWIG_From_float(static_cast< float >(result));
121334  return resultobj;
121335 fail:
121336  return NULL;
121337 }
121338 
121339 
121340 SWIGINTERN PyObject *_wrap_CStdColor_g(PyObject *self, PyObject *args) {
121341  int argc;
121342  PyObject *argv[4];
121343  int ii;
121344 
121345  if (!PyTuple_Check(args)) SWIG_fail;
121346  argc = args ? (int)PyObject_Length(args) : 0;
121347  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
121348  argv[ii] = PyTuple_GET_ITEM(args,ii);
121349  }
121350  if (argc == 1) {
121351  int _v;
121352  void *vptr = 0;
121353  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
121354  _v = SWIG_CheckState(res);
121355  if (_v) {
121356  return _wrap_CStdColor_g__SWIG_2(self, args);
121357  }
121358  }
121359  if (argc == 2) {
121360  int _v;
121361  void *vptr = 0;
121362  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
121363  _v = SWIG_CheckState(res);
121364  if (_v) {
121365  {
121366  int res = SWIG_AsVal_float(argv[1], NULL);
121367  _v = SWIG_CheckState(res);
121368  }
121369  if (_v) {
121370  return _wrap_CStdColor_g__SWIG_1(self, args);
121371  }
121372  }
121373  }
121374  if (argc == 3) {
121375  int _v;
121376  void *vptr = 0;
121377  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
121378  _v = SWIG_CheckState(res);
121379  if (_v) {
121380  {
121381  int res = SWIG_AsVal_float(argv[1], NULL);
121382  _v = SWIG_CheckState(res);
121383  }
121384  if (_v) {
121385  {
121386  int res = SWIG_AsVal_bool(argv[2], NULL);
121387  _v = SWIG_CheckState(res);
121388  }
121389  if (_v) {
121390  return _wrap_CStdColor_g__SWIG_0(self, args);
121391  }
121392  }
121393  }
121394  }
121395 
121396 fail:
121397  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdColor_g'.\n"
121398  " Possible C/C++ prototypes are:\n"
121399  " StdUtils::CStdColor::g(float,bool)\n"
121400  " StdUtils::CStdColor::g(float)\n"
121401  " StdUtils::CStdColor::g()\n");
121402  return 0;
121403 }
121404 
121405 
121406 SWIGINTERN PyObject *_wrap_CStdColor_b__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121407  PyObject *resultobj = 0;
121408  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121409  float arg2 ;
121410  bool arg3 ;
121411  void *argp1 = 0 ;
121412  int res1 = 0 ;
121413  float val2 ;
121414  int ecode2 = 0 ;
121415  bool val3 ;
121416  int ecode3 = 0 ;
121417  PyObject * obj0 = 0 ;
121418  PyObject * obj1 = 0 ;
121419  PyObject * obj2 = 0 ;
121420 
121421  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdColor_b",&obj0,&obj1,&obj2)) SWIG_fail;
121422  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121423  if (!SWIG_IsOK(res1)) {
121424  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_b" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121425  }
121426  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121427  ecode2 = SWIG_AsVal_float(obj1, &val2);
121428  if (!SWIG_IsOK(ecode2)) {
121429  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor_b" "', argument " "2"" of type '" "float""'");
121430  }
121431  arg2 = static_cast< float >(val2);
121432  ecode3 = SWIG_AsVal_bool(obj2, &val3);
121433  if (!SWIG_IsOK(ecode3)) {
121434  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdColor_b" "', argument " "3"" of type '" "bool""'");
121435  }
121436  arg3 = static_cast< bool >(val3);
121437  (arg1)->b(arg2,arg3);
121438  resultobj = SWIG_Py_Void();
121439  return resultobj;
121440 fail:
121441  return NULL;
121442 }
121443 
121444 
121445 SWIGINTERN PyObject *_wrap_CStdColor_b__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121446  PyObject *resultobj = 0;
121447  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121448  float arg2 ;
121449  void *argp1 = 0 ;
121450  int res1 = 0 ;
121451  float val2 ;
121452  int ecode2 = 0 ;
121453  PyObject * obj0 = 0 ;
121454  PyObject * obj1 = 0 ;
121455 
121456  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor_b",&obj0,&obj1)) SWIG_fail;
121457  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121458  if (!SWIG_IsOK(res1)) {
121459  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_b" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121460  }
121461  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121462  ecode2 = SWIG_AsVal_float(obj1, &val2);
121463  if (!SWIG_IsOK(ecode2)) {
121464  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor_b" "', argument " "2"" of type '" "float""'");
121465  }
121466  arg2 = static_cast< float >(val2);
121467  (arg1)->b(arg2);
121468  resultobj = SWIG_Py_Void();
121469  return resultobj;
121470 fail:
121471  return NULL;
121472 }
121473 
121474 
121475 SWIGINTERN PyObject *_wrap_CStdColor_b__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121476  PyObject *resultobj = 0;
121477  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121478  void *argp1 = 0 ;
121479  int res1 = 0 ;
121480  PyObject * obj0 = 0 ;
121481  float result;
121482 
121483  if (!PyArg_ParseTuple(args,(char *)"O:CStdColor_b",&obj0)) SWIG_fail;
121484  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121485  if (!SWIG_IsOK(res1)) {
121486  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_b" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121487  }
121488  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121489  result = (float)(arg1)->b();
121490  resultobj = SWIG_From_float(static_cast< float >(result));
121491  return resultobj;
121492 fail:
121493  return NULL;
121494 }
121495 
121496 
121497 SWIGINTERN PyObject *_wrap_CStdColor_b(PyObject *self, PyObject *args) {
121498  int argc;
121499  PyObject *argv[4];
121500  int ii;
121501 
121502  if (!PyTuple_Check(args)) SWIG_fail;
121503  argc = args ? (int)PyObject_Length(args) : 0;
121504  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
121505  argv[ii] = PyTuple_GET_ITEM(args,ii);
121506  }
121507  if (argc == 1) {
121508  int _v;
121509  void *vptr = 0;
121510  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
121511  _v = SWIG_CheckState(res);
121512  if (_v) {
121513  return _wrap_CStdColor_b__SWIG_2(self, args);
121514  }
121515  }
121516  if (argc == 2) {
121517  int _v;
121518  void *vptr = 0;
121519  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
121520  _v = SWIG_CheckState(res);
121521  if (_v) {
121522  {
121523  int res = SWIG_AsVal_float(argv[1], NULL);
121524  _v = SWIG_CheckState(res);
121525  }
121526  if (_v) {
121527  return _wrap_CStdColor_b__SWIG_1(self, args);
121528  }
121529  }
121530  }
121531  if (argc == 3) {
121532  int _v;
121533  void *vptr = 0;
121534  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
121535  _v = SWIG_CheckState(res);
121536  if (_v) {
121537  {
121538  int res = SWIG_AsVal_float(argv[1], NULL);
121539  _v = SWIG_CheckState(res);
121540  }
121541  if (_v) {
121542  {
121543  int res = SWIG_AsVal_bool(argv[2], NULL);
121544  _v = SWIG_CheckState(res);
121545  }
121546  if (_v) {
121547  return _wrap_CStdColor_b__SWIG_0(self, args);
121548  }
121549  }
121550  }
121551  }
121552 
121553 fail:
121554  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdColor_b'.\n"
121555  " Possible C/C++ prototypes are:\n"
121556  " StdUtils::CStdColor::b(float,bool)\n"
121557  " StdUtils::CStdColor::b(float)\n"
121558  " StdUtils::CStdColor::b()\n");
121559  return 0;
121560 }
121561 
121562 
121563 SWIGINTERN PyObject *_wrap_CStdColor_a__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121564  PyObject *resultobj = 0;
121565  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121566  float arg2 ;
121567  bool arg3 ;
121568  void *argp1 = 0 ;
121569  int res1 = 0 ;
121570  float val2 ;
121571  int ecode2 = 0 ;
121572  bool val3 ;
121573  int ecode3 = 0 ;
121574  PyObject * obj0 = 0 ;
121575  PyObject * obj1 = 0 ;
121576  PyObject * obj2 = 0 ;
121577 
121578  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdColor_a",&obj0,&obj1,&obj2)) SWIG_fail;
121579  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121580  if (!SWIG_IsOK(res1)) {
121581  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_a" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121582  }
121583  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121584  ecode2 = SWIG_AsVal_float(obj1, &val2);
121585  if (!SWIG_IsOK(ecode2)) {
121586  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor_a" "', argument " "2"" of type '" "float""'");
121587  }
121588  arg2 = static_cast< float >(val2);
121589  ecode3 = SWIG_AsVal_bool(obj2, &val3);
121590  if (!SWIG_IsOK(ecode3)) {
121591  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdColor_a" "', argument " "3"" of type '" "bool""'");
121592  }
121593  arg3 = static_cast< bool >(val3);
121594  (arg1)->a(arg2,arg3);
121595  resultobj = SWIG_Py_Void();
121596  return resultobj;
121597 fail:
121598  return NULL;
121599 }
121600 
121601 
121602 SWIGINTERN PyObject *_wrap_CStdColor_a__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121603  PyObject *resultobj = 0;
121604  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121605  float arg2 ;
121606  void *argp1 = 0 ;
121607  int res1 = 0 ;
121608  float val2 ;
121609  int ecode2 = 0 ;
121610  PyObject * obj0 = 0 ;
121611  PyObject * obj1 = 0 ;
121612 
121613  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor_a",&obj0,&obj1)) SWIG_fail;
121614  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121615  if (!SWIG_IsOK(res1)) {
121616  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_a" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121617  }
121618  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121619  ecode2 = SWIG_AsVal_float(obj1, &val2);
121620  if (!SWIG_IsOK(ecode2)) {
121621  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor_a" "', argument " "2"" of type '" "float""'");
121622  }
121623  arg2 = static_cast< float >(val2);
121624  (arg1)->a(arg2);
121625  resultobj = SWIG_Py_Void();
121626  return resultobj;
121627 fail:
121628  return NULL;
121629 }
121630 
121631 
121632 SWIGINTERN PyObject *_wrap_CStdColor_a__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121633  PyObject *resultobj = 0;
121634  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121635  void *argp1 = 0 ;
121636  int res1 = 0 ;
121637  PyObject * obj0 = 0 ;
121638  float result;
121639 
121640  if (!PyArg_ParseTuple(args,(char *)"O:CStdColor_a",&obj0)) SWIG_fail;
121641  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121642  if (!SWIG_IsOK(res1)) {
121643  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_a" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121644  }
121645  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121646  result = (float)(arg1)->a();
121647  resultobj = SWIG_From_float(static_cast< float >(result));
121648  return resultobj;
121649 fail:
121650  return NULL;
121651 }
121652 
121653 
121654 SWIGINTERN PyObject *_wrap_CStdColor_a(PyObject *self, PyObject *args) {
121655  int argc;
121656  PyObject *argv[4];
121657  int ii;
121658 
121659  if (!PyTuple_Check(args)) SWIG_fail;
121660  argc = args ? (int)PyObject_Length(args) : 0;
121661  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
121662  argv[ii] = PyTuple_GET_ITEM(args,ii);
121663  }
121664  if (argc == 1) {
121665  int _v;
121666  void *vptr = 0;
121667  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
121668  _v = SWIG_CheckState(res);
121669  if (_v) {
121670  return _wrap_CStdColor_a__SWIG_2(self, args);
121671  }
121672  }
121673  if (argc == 2) {
121674  int _v;
121675  void *vptr = 0;
121676  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
121677  _v = SWIG_CheckState(res);
121678  if (_v) {
121679  {
121680  int res = SWIG_AsVal_float(argv[1], NULL);
121681  _v = SWIG_CheckState(res);
121682  }
121683  if (_v) {
121684  return _wrap_CStdColor_a__SWIG_1(self, args);
121685  }
121686  }
121687  }
121688  if (argc == 3) {
121689  int _v;
121690  void *vptr = 0;
121691  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
121692  _v = SWIG_CheckState(res);
121693  if (_v) {
121694  {
121695  int res = SWIG_AsVal_float(argv[1], NULL);
121696  _v = SWIG_CheckState(res);
121697  }
121698  if (_v) {
121699  {
121700  int res = SWIG_AsVal_bool(argv[2], NULL);
121701  _v = SWIG_CheckState(res);
121702  }
121703  if (_v) {
121704  return _wrap_CStdColor_a__SWIG_0(self, args);
121705  }
121706  }
121707  }
121708  }
121709 
121710 fail:
121711  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdColor_a'.\n"
121712  " Possible C/C++ prototypes are:\n"
121713  " StdUtils::CStdColor::a(float,bool)\n"
121714  " StdUtils::CStdColor::a(float)\n"
121715  " StdUtils::CStdColor::a()\n");
121716  return 0;
121717 }
121718 
121719 
121720 SWIGINTERN PyObject *_wrap_CStdColor_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121721  PyObject *resultobj = 0;
121722  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121723  float arg2 ;
121724  float arg3 ;
121725  float arg4 ;
121726  float arg5 ;
121727  void *argp1 = 0 ;
121728  int res1 = 0 ;
121729  float val2 ;
121730  int ecode2 = 0 ;
121731  float val3 ;
121732  int ecode3 = 0 ;
121733  float val4 ;
121734  int ecode4 = 0 ;
121735  float val5 ;
121736  int ecode5 = 0 ;
121737  PyObject * obj0 = 0 ;
121738  PyObject * obj1 = 0 ;
121739  PyObject * obj2 = 0 ;
121740  PyObject * obj3 = 0 ;
121741  PyObject * obj4 = 0 ;
121742 
121743  if (!PyArg_ParseTuple(args,(char *)"OOOOO:CStdColor_Set",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
121744  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121745  if (!SWIG_IsOK(res1)) {
121746  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_Set" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121747  }
121748  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121749  ecode2 = SWIG_AsVal_float(obj1, &val2);
121750  if (!SWIG_IsOK(ecode2)) {
121751  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor_Set" "', argument " "2"" of type '" "float""'");
121752  }
121753  arg2 = static_cast< float >(val2);
121754  ecode3 = SWIG_AsVal_float(obj2, &val3);
121755  if (!SWIG_IsOK(ecode3)) {
121756  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdColor_Set" "', argument " "3"" of type '" "float""'");
121757  }
121758  arg3 = static_cast< float >(val3);
121759  ecode4 = SWIG_AsVal_float(obj3, &val4);
121760  if (!SWIG_IsOK(ecode4)) {
121761  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdColor_Set" "', argument " "4"" of type '" "float""'");
121762  }
121763  arg4 = static_cast< float >(val4);
121764  ecode5 = SWIG_AsVal_float(obj4, &val5);
121765  if (!SWIG_IsOK(ecode5)) {
121766  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CStdColor_Set" "', argument " "5"" of type '" "float""'");
121767  }
121768  arg5 = static_cast< float >(val5);
121769  (arg1)->Set(arg2,arg3,arg4,arg5);
121770  resultobj = SWIG_Py_Void();
121771  return resultobj;
121772 fail:
121773  return NULL;
121774 }
121775 
121776 
121777 SWIGINTERN PyObject *_wrap_CStdColor___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121778  PyObject *resultobj = 0;
121779  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121780  StdUtils::CStdColor *arg2 = 0 ;
121781  void *argp1 = 0 ;
121782  int res1 = 0 ;
121783  void *argp2 = 0 ;
121784  int res2 = 0 ;
121785  PyObject * obj0 = 0 ;
121786  PyObject * obj1 = 0 ;
121787  bool result;
121788 
121789  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor___eq__",&obj0,&obj1)) SWIG_fail;
121790  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121791  if (!SWIG_IsOK(res1)) {
121792  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor___eq__" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121793  }
121794  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121795  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdColor, 0 | 0);
121796  if (!SWIG_IsOK(res2)) {
121797  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdColor___eq__" "', argument " "2"" of type '" "StdUtils::CStdColor const &""'");
121798  }
121799  if (!argp2) {
121800  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdColor___eq__" "', argument " "2"" of type '" "StdUtils::CStdColor const &""'");
121801  }
121802  arg2 = reinterpret_cast< StdUtils::CStdColor * >(argp2);
121803  result = (bool)(arg1)->operator ==((StdUtils::CStdColor const &)*arg2);
121804  resultobj = SWIG_From_bool(static_cast< bool >(result));
121805  return resultobj;
121806 fail:
121807  return NULL;
121808 }
121809 
121810 
121811 SWIGINTERN PyObject *_wrap_CStdColor___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121812  PyObject *resultobj = 0;
121813  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121814  StdUtils::CStdColor *arg2 = 0 ;
121815  void *argp1 = 0 ;
121816  int res1 = 0 ;
121817  void *argp2 = 0 ;
121818  int res2 = 0 ;
121819  PyObject * obj0 = 0 ;
121820  PyObject * obj1 = 0 ;
121821  bool result;
121822 
121823  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor___ne__",&obj0,&obj1)) SWIG_fail;
121824  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121825  if (!SWIG_IsOK(res1)) {
121826  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor___ne__" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121827  }
121828  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121829  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdColor, 0 | 0);
121830  if (!SWIG_IsOK(res2)) {
121831  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdColor___ne__" "', argument " "2"" of type '" "StdUtils::CStdColor const &""'");
121832  }
121833  if (!argp2) {
121834  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdColor___ne__" "', argument " "2"" of type '" "StdUtils::CStdColor const &""'");
121835  }
121836  arg2 = reinterpret_cast< StdUtils::CStdColor * >(argp2);
121837  result = (bool)(arg1)->operator !=((StdUtils::CStdColor const &)*arg2);
121838  resultobj = SWIG_From_bool(static_cast< bool >(result));
121839  return resultobj;
121840 fail:
121841  return NULL;
121842 }
121843 
121844 
121845 SWIGINTERN PyObject *_wrap_CStdColor___iadd____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121846  PyObject *resultobj = 0;
121847  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121848  StdUtils::CStdColor *arg2 = 0 ;
121849  void *argp1 = 0 ;
121850  int res1 = 0 ;
121851  void *argp2 = 0 ;
121852  int res2 = 0 ;
121853  PyObject * obj0 = 0 ;
121854  PyObject * obj1 = 0 ;
121855 
121856  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor___iadd__",&obj0,&obj1)) SWIG_fail;
121857  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_DISOWN | 0 );
121858  if (!SWIG_IsOK(res1)) {
121859  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor___iadd__" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121860  }
121861  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121862  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdColor, 0 | 0);
121863  if (!SWIG_IsOK(res2)) {
121864  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdColor___iadd__" "', argument " "2"" of type '" "StdUtils::CStdColor const &""'");
121865  }
121866  if (!argp2) {
121867  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdColor___iadd__" "', argument " "2"" of type '" "StdUtils::CStdColor const &""'");
121868  }
121869  arg2 = reinterpret_cast< StdUtils::CStdColor * >(argp2);
121870  (arg1)->operator +=((StdUtils::CStdColor const &)*arg2);
121871  resultobj = SWIG_Py_Void();
121872  return resultobj;
121873 fail:
121874  return NULL;
121875 }
121876 
121877 
121878 SWIGINTERN PyObject *_wrap_CStdColor___isub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121879  PyObject *resultobj = 0;
121880  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121881  StdUtils::CStdColor *arg2 = 0 ;
121882  void *argp1 = 0 ;
121883  int res1 = 0 ;
121884  void *argp2 = 0 ;
121885  int res2 = 0 ;
121886  PyObject * obj0 = 0 ;
121887  PyObject * obj1 = 0 ;
121888 
121889  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor___isub__",&obj0,&obj1)) SWIG_fail;
121890  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_DISOWN | 0 );
121891  if (!SWIG_IsOK(res1)) {
121892  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor___isub__" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121893  }
121894  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121895  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdColor, 0 | 0);
121896  if (!SWIG_IsOK(res2)) {
121897  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdColor___isub__" "', argument " "2"" of type '" "StdUtils::CStdColor const &""'");
121898  }
121899  if (!argp2) {
121900  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdColor___isub__" "', argument " "2"" of type '" "StdUtils::CStdColor const &""'");
121901  }
121902  arg2 = reinterpret_cast< StdUtils::CStdColor * >(argp2);
121903  (arg1)->operator -=((StdUtils::CStdColor const &)*arg2);
121904  resultobj = SWIG_Py_Void();
121905  return resultobj;
121906 fail:
121907  return NULL;
121908 }
121909 
121910 
121911 SWIGINTERN PyObject *_wrap_CStdColor___add____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121912  PyObject *resultobj = 0;
121913  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121914  StdUtils::CStdColor *arg2 = 0 ;
121915  void *argp1 = 0 ;
121916  int res1 = 0 ;
121917  void *argp2 = 0 ;
121918  int res2 = 0 ;
121919  PyObject * obj0 = 0 ;
121920  PyObject * obj1 = 0 ;
121921  StdUtils::CStdColor result;
121922 
121923  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor___add__",&obj0,&obj1)) SWIG_fail;
121924  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121925  if (!SWIG_IsOK(res1)) {
121926  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor___add__" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121927  }
121928  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121929  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdColor, 0 | 0);
121930  if (!SWIG_IsOK(res2)) {
121931  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdColor___add__" "', argument " "2"" of type '" "StdUtils::CStdColor const &""'");
121932  }
121933  if (!argp2) {
121934  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdColor___add__" "', argument " "2"" of type '" "StdUtils::CStdColor const &""'");
121935  }
121936  arg2 = reinterpret_cast< StdUtils::CStdColor * >(argp2);
121937  result = (arg1)->operator +((StdUtils::CStdColor const &)*arg2);
121938  resultobj = SWIG_NewPointerObj((new StdUtils::CStdColor(static_cast< const StdUtils::CStdColor& >(result))), SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_OWN | 0 );
121939  return resultobj;
121940 fail:
121941  return NULL;
121942 }
121943 
121944 
121945 SWIGINTERN PyObject *_wrap_CStdColor___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121946  PyObject *resultobj = 0;
121947  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121948  StdUtils::CStdColor *arg2 = 0 ;
121949  void *argp1 = 0 ;
121950  int res1 = 0 ;
121951  void *argp2 = 0 ;
121952  int res2 = 0 ;
121953  PyObject * obj0 = 0 ;
121954  PyObject * obj1 = 0 ;
121955  StdUtils::CStdColor result;
121956 
121957  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor___sub__",&obj0,&obj1)) SWIG_fail;
121958  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
121959  if (!SWIG_IsOK(res1)) {
121960  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor___sub__" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121961  }
121962  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121963  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdColor, 0 | 0);
121964  if (!SWIG_IsOK(res2)) {
121965  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdColor___sub__" "', argument " "2"" of type '" "StdUtils::CStdColor const &""'");
121966  }
121967  if (!argp2) {
121968  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdColor___sub__" "', argument " "2"" of type '" "StdUtils::CStdColor const &""'");
121969  }
121970  arg2 = reinterpret_cast< StdUtils::CStdColor * >(argp2);
121971  result = (arg1)->operator -((StdUtils::CStdColor const &)*arg2);
121972  resultobj = SWIG_NewPointerObj((new StdUtils::CStdColor(static_cast< const StdUtils::CStdColor& >(result))), SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_OWN | 0 );
121973  return resultobj;
121974 fail:
121975  return NULL;
121976 }
121977 
121978 
121979 SWIGINTERN PyObject *_wrap_CStdColor___iadd____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
121980  PyObject *resultobj = 0;
121981  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
121982  float arg2 ;
121983  void *argp1 = 0 ;
121984  int res1 = 0 ;
121985  float val2 ;
121986  int ecode2 = 0 ;
121987  PyObject * obj0 = 0 ;
121988  PyObject * obj1 = 0 ;
121989 
121990  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor___iadd__",&obj0,&obj1)) SWIG_fail;
121991  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_DISOWN | 0 );
121992  if (!SWIG_IsOK(res1)) {
121993  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor___iadd__" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
121994  }
121995  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
121996  ecode2 = SWIG_AsVal_float(obj1, &val2);
121997  if (!SWIG_IsOK(ecode2)) {
121998  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor___iadd__" "', argument " "2"" of type '" "float""'");
121999  }
122000  arg2 = static_cast< float >(val2);
122001  (arg1)->operator +=(arg2);
122002  resultobj = SWIG_Py_Void();
122003  return resultobj;
122004 fail:
122005  return NULL;
122006 }
122007 
122008 
122009 SWIGINTERN PyObject *_wrap_CStdColor___iadd__(PyObject *self, PyObject *args) {
122010  int argc;
122011  PyObject *argv[3];
122012  int ii;
122013 
122014  if (!PyTuple_Check(args)) SWIG_fail;
122015  argc = args ? (int)PyObject_Length(args) : 0;
122016  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
122017  argv[ii] = PyTuple_GET_ITEM(args,ii);
122018  }
122019  if (argc == 2) {
122020  int _v;
122021  void *vptr = 0;
122022  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
122023  _v = SWIG_CheckState(res);
122024  if (_v) {
122025  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_StdUtils__CStdColor, 0);
122026  _v = SWIG_CheckState(res);
122027  if (_v) {
122028  return _wrap_CStdColor___iadd____SWIG_0(self, args);
122029  }
122030  }
122031  }
122032  if (argc == 2) {
122033  int _v;
122034  void *vptr = 0;
122035  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
122036  _v = SWIG_CheckState(res);
122037  if (_v) {
122038  {
122039  int res = SWIG_AsVal_float(argv[1], NULL);
122040  _v = SWIG_CheckState(res);
122041  }
122042  if (_v) {
122043  return _wrap_CStdColor___iadd____SWIG_1(self, args);
122044  }
122045  }
122046  }
122047 
122048 fail:
122049  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdColor___iadd__'.\n"
122050  " Possible C/C++ prototypes are:\n"
122051  " StdUtils::CStdColor::operator +=(StdUtils::CStdColor const &)\n"
122052  " StdUtils::CStdColor::operator +=(float const)\n");
122053  return 0;
122054 }
122055 
122056 
122057 SWIGINTERN PyObject *_wrap_CStdColor___isub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122058  PyObject *resultobj = 0;
122059  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122060  float arg2 ;
122061  void *argp1 = 0 ;
122062  int res1 = 0 ;
122063  float val2 ;
122064  int ecode2 = 0 ;
122065  PyObject * obj0 = 0 ;
122066  PyObject * obj1 = 0 ;
122067 
122068  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor___isub__",&obj0,&obj1)) SWIG_fail;
122069  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_DISOWN | 0 );
122070  if (!SWIG_IsOK(res1)) {
122071  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor___isub__" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122072  }
122073  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122074  ecode2 = SWIG_AsVal_float(obj1, &val2);
122075  if (!SWIG_IsOK(ecode2)) {
122076  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor___isub__" "', argument " "2"" of type '" "float""'");
122077  }
122078  arg2 = static_cast< float >(val2);
122079  (arg1)->operator -=(arg2);
122080  resultobj = SWIG_Py_Void();
122081  return resultobj;
122082 fail:
122083  return NULL;
122084 }
122085 
122086 
122087 SWIGINTERN PyObject *_wrap_CStdColor___isub__(PyObject *self, PyObject *args) {
122088  int argc;
122089  PyObject *argv[3];
122090  int ii;
122091 
122092  if (!PyTuple_Check(args)) SWIG_fail;
122093  argc = args ? (int)PyObject_Length(args) : 0;
122094  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
122095  argv[ii] = PyTuple_GET_ITEM(args,ii);
122096  }
122097  if (argc == 2) {
122098  int _v;
122099  void *vptr = 0;
122100  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
122101  _v = SWIG_CheckState(res);
122102  if (_v) {
122103  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_StdUtils__CStdColor, 0);
122104  _v = SWIG_CheckState(res);
122105  if (_v) {
122106  return _wrap_CStdColor___isub____SWIG_0(self, args);
122107  }
122108  }
122109  }
122110  if (argc == 2) {
122111  int _v;
122112  void *vptr = 0;
122113  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
122114  _v = SWIG_CheckState(res);
122115  if (_v) {
122116  {
122117  int res = SWIG_AsVal_float(argv[1], NULL);
122118  _v = SWIG_CheckState(res);
122119  }
122120  if (_v) {
122121  return _wrap_CStdColor___isub____SWIG_1(self, args);
122122  }
122123  }
122124  }
122125 
122126 fail:
122127  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdColor___isub__'.\n"
122128  " Possible C/C++ prototypes are:\n"
122129  " StdUtils::CStdColor::operator -=(StdUtils::CStdColor const &)\n"
122130  " StdUtils::CStdColor::operator -=(float const)\n");
122131  return 0;
122132 }
122133 
122134 
122135 SWIGINTERN PyObject *_wrap_CStdColor___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122136  PyObject *resultobj = 0;
122137  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122138  float arg2 ;
122139  void *argp1 = 0 ;
122140  int res1 = 0 ;
122141  float val2 ;
122142  int ecode2 = 0 ;
122143  PyObject * obj0 = 0 ;
122144  PyObject * obj1 = 0 ;
122145 
122146  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor___imul__",&obj0,&obj1)) SWIG_fail;
122147  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_DISOWN | 0 );
122148  if (!SWIG_IsOK(res1)) {
122149  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor___imul__" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122150  }
122151  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122152  ecode2 = SWIG_AsVal_float(obj1, &val2);
122153  if (!SWIG_IsOK(ecode2)) {
122154  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor___imul__" "', argument " "2"" of type '" "float""'");
122155  }
122156  arg2 = static_cast< float >(val2);
122157  (arg1)->operator *=(arg2);
122158  resultobj = SWIG_Py_Void();
122159  return resultobj;
122160 fail:
122161  return NULL;
122162 }
122163 
122164 
122165 SWIGINTERN PyObject *_wrap_CStdColor___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122166  PyObject *resultobj = 0;
122167  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122168  float arg2 ;
122169  void *argp1 = 0 ;
122170  int res1 = 0 ;
122171  float val2 ;
122172  int ecode2 = 0 ;
122173  PyObject * obj0 = 0 ;
122174  PyObject * obj1 = 0 ;
122175 
122176  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor___idiv__",&obj0,&obj1)) SWIG_fail;
122177  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_DISOWN | 0 );
122178  if (!SWIG_IsOK(res1)) {
122179  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor___idiv__" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122180  }
122181  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122182  ecode2 = SWIG_AsVal_float(obj1, &val2);
122183  if (!SWIG_IsOK(ecode2)) {
122184  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor___idiv__" "', argument " "2"" of type '" "float""'");
122185  }
122186  arg2 = static_cast< float >(val2);
122187  (arg1)->operator /=(arg2);
122188  resultobj = SWIG_Py_Void();
122189  return resultobj;
122190 fail:
122191  return NULL;
122192 }
122193 
122194 
122195 SWIGINTERN PyObject *_wrap_CStdColor___add____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122196  PyObject *resultobj = 0;
122197  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122198  float arg2 ;
122199  void *argp1 = 0 ;
122200  int res1 = 0 ;
122201  float val2 ;
122202  int ecode2 = 0 ;
122203  PyObject * obj0 = 0 ;
122204  PyObject * obj1 = 0 ;
122205  StdUtils::CStdColor result;
122206 
122207  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor___add__",&obj0,&obj1)) SWIG_fail;
122208  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
122209  if (!SWIG_IsOK(res1)) {
122210  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor___add__" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122211  }
122212  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122213  ecode2 = SWIG_AsVal_float(obj1, &val2);
122214  if (!SWIG_IsOK(ecode2)) {
122215  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor___add__" "', argument " "2"" of type '" "float""'");
122216  }
122217  arg2 = static_cast< float >(val2);
122218  result = (arg1)->operator +(arg2);
122219  resultobj = SWIG_NewPointerObj((new StdUtils::CStdColor(static_cast< const StdUtils::CStdColor& >(result))), SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_OWN | 0 );
122220  return resultobj;
122221 fail:
122222  return NULL;
122223 }
122224 
122225 
122226 SWIGINTERN PyObject *_wrap_CStdColor___add__(PyObject *self, PyObject *args) {
122227  int argc;
122228  PyObject *argv[3];
122229  int ii;
122230 
122231  if (!PyTuple_Check(args)) SWIG_fail;
122232  argc = args ? (int)PyObject_Length(args) : 0;
122233  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
122234  argv[ii] = PyTuple_GET_ITEM(args,ii);
122235  }
122236  if (argc == 2) {
122237  int _v;
122238  void *vptr = 0;
122239  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
122240  _v = SWIG_CheckState(res);
122241  if (_v) {
122242  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_StdUtils__CStdColor, 0);
122243  _v = SWIG_CheckState(res);
122244  if (_v) {
122245  return _wrap_CStdColor___add____SWIG_0(self, args);
122246  }
122247  }
122248  }
122249  if (argc == 2) {
122250  int _v;
122251  void *vptr = 0;
122252  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
122253  _v = SWIG_CheckState(res);
122254  if (_v) {
122255  {
122256  int res = SWIG_AsVal_float(argv[1], NULL);
122257  _v = SWIG_CheckState(res);
122258  }
122259  if (_v) {
122260  return _wrap_CStdColor___add____SWIG_1(self, args);
122261  }
122262  }
122263  }
122264 
122265 fail:
122266  Py_INCREF(Py_NotImplemented);
122267  return Py_NotImplemented;
122268 }
122269 
122270 
122271 SWIGINTERN PyObject *_wrap_CStdColor___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122272  PyObject *resultobj = 0;
122273  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122274  float arg2 ;
122275  void *argp1 = 0 ;
122276  int res1 = 0 ;
122277  float val2 ;
122278  int ecode2 = 0 ;
122279  PyObject * obj0 = 0 ;
122280  PyObject * obj1 = 0 ;
122281  StdUtils::CStdColor result;
122282 
122283  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor___sub__",&obj0,&obj1)) SWIG_fail;
122284  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
122285  if (!SWIG_IsOK(res1)) {
122286  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor___sub__" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122287  }
122288  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122289  ecode2 = SWIG_AsVal_float(obj1, &val2);
122290  if (!SWIG_IsOK(ecode2)) {
122291  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor___sub__" "', argument " "2"" of type '" "float""'");
122292  }
122293  arg2 = static_cast< float >(val2);
122294  result = (arg1)->operator -(arg2);
122295  resultobj = SWIG_NewPointerObj((new StdUtils::CStdColor(static_cast< const StdUtils::CStdColor& >(result))), SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_OWN | 0 );
122296  return resultobj;
122297 fail:
122298  return NULL;
122299 }
122300 
122301 
122302 SWIGINTERN PyObject *_wrap_CStdColor___sub__(PyObject *self, PyObject *args) {
122303  int argc;
122304  PyObject *argv[3];
122305  int ii;
122306 
122307  if (!PyTuple_Check(args)) SWIG_fail;
122308  argc = args ? (int)PyObject_Length(args) : 0;
122309  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
122310  argv[ii] = PyTuple_GET_ITEM(args,ii);
122311  }
122312  if (argc == 2) {
122313  int _v;
122314  void *vptr = 0;
122315  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
122316  _v = SWIG_CheckState(res);
122317  if (_v) {
122318  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_StdUtils__CStdColor, 0);
122319  _v = SWIG_CheckState(res);
122320  if (_v) {
122321  return _wrap_CStdColor___sub____SWIG_0(self, args);
122322  }
122323  }
122324  }
122325  if (argc == 2) {
122326  int _v;
122327  void *vptr = 0;
122328  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
122329  _v = SWIG_CheckState(res);
122330  if (_v) {
122331  {
122332  int res = SWIG_AsVal_float(argv[1], NULL);
122333  _v = SWIG_CheckState(res);
122334  }
122335  if (_v) {
122336  return _wrap_CStdColor___sub____SWIG_1(self, args);
122337  }
122338  }
122339  }
122340 
122341 fail:
122342  Py_INCREF(Py_NotImplemented);
122343  return Py_NotImplemented;
122344 }
122345 
122346 
122347 SWIGINTERN PyObject *_wrap_CStdColor___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122348  PyObject *resultobj = 0;
122349  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122350  float arg2 ;
122351  void *argp1 = 0 ;
122352  int res1 = 0 ;
122353  float val2 ;
122354  int ecode2 = 0 ;
122355  PyObject * obj0 = 0 ;
122356  PyObject * obj1 = 0 ;
122357  StdUtils::CStdColor result;
122358 
122359  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor___mul__",&obj0,&obj1)) SWIG_fail;
122360  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
122361  if (!SWIG_IsOK(res1)) {
122362  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor___mul__" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122363  }
122364  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122365  ecode2 = SWIG_AsVal_float(obj1, &val2);
122366  if (!SWIG_IsOK(ecode2)) {
122367  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor___mul__" "', argument " "2"" of type '" "float""'");
122368  }
122369  arg2 = static_cast< float >(val2);
122370  result = (arg1)->operator *(arg2);
122371  resultobj = SWIG_NewPointerObj((new StdUtils::CStdColor(static_cast< const StdUtils::CStdColor& >(result))), SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_OWN | 0 );
122372  return resultobj;
122373 fail:
122374  return NULL;
122375 }
122376 
122377 
122378 SWIGINTERN PyObject *_wrap_CStdColor___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122379  PyObject *resultobj = 0;
122380  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122381  float arg2 ;
122382  void *argp1 = 0 ;
122383  int res1 = 0 ;
122384  float val2 ;
122385  int ecode2 = 0 ;
122386  PyObject * obj0 = 0 ;
122387  PyObject * obj1 = 0 ;
122388  StdUtils::CStdColor result;
122389 
122390  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor___div__",&obj0,&obj1)) SWIG_fail;
122391  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
122392  if (!SWIG_IsOK(res1)) {
122393  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor___div__" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122394  }
122395  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122396  ecode2 = SWIG_AsVal_float(obj1, &val2);
122397  if (!SWIG_IsOK(ecode2)) {
122398  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor___div__" "', argument " "2"" of type '" "float""'");
122399  }
122400  arg2 = static_cast< float >(val2);
122401  result = (arg1)->operator /(arg2);
122402  resultobj = SWIG_NewPointerObj((new StdUtils::CStdColor(static_cast< const StdUtils::CStdColor& >(result))), SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_OWN | 0 );
122403  return resultobj;
122404 fail:
122405  return NULL;
122406 }
122407 
122408 
122409 SWIGINTERN PyObject *_wrap_CStdColor_Magnitude(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122410  PyObject *resultobj = 0;
122411  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122412  void *argp1 = 0 ;
122413  int res1 = 0 ;
122414  PyObject * obj0 = 0 ;
122415  double result;
122416 
122417  if (!PyArg_ParseTuple(args,(char *)"O:CStdColor_Magnitude",&obj0)) SWIG_fail;
122418  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
122419  if (!SWIG_IsOK(res1)) {
122420  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_Magnitude" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122421  }
122422  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122423  result = (double)(arg1)->Magnitude();
122424  resultobj = SWIG_From_double(static_cast< double >(result));
122425  return resultobj;
122426 fail:
122427  return NULL;
122428 }
122429 
122430 
122431 SWIGINTERN PyObject *_wrap_CStdColor_Normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122432  PyObject *resultobj = 0;
122433  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122434  void *argp1 = 0 ;
122435  int res1 = 0 ;
122436  PyObject * obj0 = 0 ;
122437 
122438  if (!PyArg_ParseTuple(args,(char *)"O:CStdColor_Normalize",&obj0)) SWIG_fail;
122439  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
122440  if (!SWIG_IsOK(res1)) {
122441  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_Normalize" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122442  }
122443  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122444  (arg1)->Normalize();
122445  resultobj = SWIG_Py_Void();
122446  return resultobj;
122447 fail:
122448  return NULL;
122449 }
122450 
122451 
122452 SWIGINTERN PyObject *_wrap_CStdColor_ClearNearZero__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122453  PyObject *resultobj = 0;
122454  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122455  float arg2 ;
122456  void *argp1 = 0 ;
122457  int res1 = 0 ;
122458  float val2 ;
122459  int ecode2 = 0 ;
122460  PyObject * obj0 = 0 ;
122461  PyObject * obj1 = 0 ;
122462 
122463  if (!PyArg_ParseTuple(args,(char *)"OO:CStdColor_ClearNearZero",&obj0,&obj1)) SWIG_fail;
122464  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
122465  if (!SWIG_IsOK(res1)) {
122466  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_ClearNearZero" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122467  }
122468  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122469  ecode2 = SWIG_AsVal_float(obj1, &val2);
122470  if (!SWIG_IsOK(ecode2)) {
122471  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdColor_ClearNearZero" "', argument " "2"" of type '" "float""'");
122472  }
122473  arg2 = static_cast< float >(val2);
122474  (arg1)->ClearNearZero(arg2);
122475  resultobj = SWIG_Py_Void();
122476  return resultobj;
122477 fail:
122478  return NULL;
122479 }
122480 
122481 
122482 SWIGINTERN PyObject *_wrap_CStdColor_ClearNearZero__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122483  PyObject *resultobj = 0;
122484  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122485  void *argp1 = 0 ;
122486  int res1 = 0 ;
122487  PyObject * obj0 = 0 ;
122488 
122489  if (!PyArg_ParseTuple(args,(char *)"O:CStdColor_ClearNearZero",&obj0)) SWIG_fail;
122490  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
122491  if (!SWIG_IsOK(res1)) {
122492  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_ClearNearZero" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122493  }
122494  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122495  (arg1)->ClearNearZero();
122496  resultobj = SWIG_Py_Void();
122497  return resultobj;
122498 fail:
122499  return NULL;
122500 }
122501 
122502 
122503 SWIGINTERN PyObject *_wrap_CStdColor_ClearNearZero(PyObject *self, PyObject *args) {
122504  int argc;
122505  PyObject *argv[3];
122506  int ii;
122507 
122508  if (!PyTuple_Check(args)) SWIG_fail;
122509  argc = args ? (int)PyObject_Length(args) : 0;
122510  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
122511  argv[ii] = PyTuple_GET_ITEM(args,ii);
122512  }
122513  if (argc == 1) {
122514  int _v;
122515  void *vptr = 0;
122516  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
122517  _v = SWIG_CheckState(res);
122518  if (_v) {
122519  return _wrap_CStdColor_ClearNearZero__SWIG_1(self, args);
122520  }
122521  }
122522  if (argc == 2) {
122523  int _v;
122524  void *vptr = 0;
122525  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
122526  _v = SWIG_CheckState(res);
122527  if (_v) {
122528  {
122529  int res = SWIG_AsVal_float(argv[1], NULL);
122530  _v = SWIG_CheckState(res);
122531  }
122532  if (_v) {
122533  return _wrap_CStdColor_ClearNearZero__SWIG_0(self, args);
122534  }
122535  }
122536  }
122537 
122538 fail:
122539  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdColor_ClearNearZero'.\n"
122540  " Possible C/C++ prototypes are:\n"
122541  " StdUtils::CStdColor::ClearNearZero(float)\n"
122542  " StdUtils::CStdColor::ClearNearZero()\n");
122543  return 0;
122544 }
122545 
122546 
122547 SWIGINTERN PyObject *_wrap_CStdColor_Load__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122548  PyObject *resultobj = 0;
122549  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122550  StdUtils::CStdXml *arg2 = 0 ;
122551  std::string arg3 ;
122552  bool arg4 ;
122553  void *argp1 = 0 ;
122554  int res1 = 0 ;
122555  void *argp2 = 0 ;
122556  int res2 = 0 ;
122557  bool val4 ;
122558  int ecode4 = 0 ;
122559  PyObject * obj0 = 0 ;
122560  PyObject * obj1 = 0 ;
122561  PyObject * obj2 = 0 ;
122562  PyObject * obj3 = 0 ;
122563 
122564  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdColor_Load",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
122565  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
122566  if (!SWIG_IsOK(res1)) {
122567  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_Load" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122568  }
122569  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122570  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
122571  if (!SWIG_IsOK(res2)) {
122572  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdColor_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
122573  }
122574  if (!argp2) {
122575  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdColor_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
122576  }
122577  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
122578  {
122579  std::string *ptr = (std::string *)0;
122580  int res = SWIG_AsPtr_std_string(obj2, &ptr);
122581  if (!SWIG_IsOK(res) || !ptr) {
122582  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdColor_Load" "', argument " "3"" of type '" "std::string""'");
122583  }
122584  arg3 = *ptr;
122585  if (SWIG_IsNewObj(res)) delete ptr;
122586  }
122587  ecode4 = SWIG_AsVal_bool(obj3, &val4);
122588  if (!SWIG_IsOK(ecode4)) {
122589  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdColor_Load" "', argument " "4"" of type '" "bool""'");
122590  }
122591  arg4 = static_cast< bool >(val4);
122592  (arg1)->Load(*arg2,arg3,arg4);
122593  resultobj = SWIG_Py_Void();
122594  return resultobj;
122595 fail:
122596  return NULL;
122597 }
122598 
122599 
122600 SWIGINTERN PyObject *_wrap_CStdColor_Load__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122601  PyObject *resultobj = 0;
122602  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122603  StdUtils::CStdXml *arg2 = 0 ;
122604  std::string arg3 ;
122605  void *argp1 = 0 ;
122606  int res1 = 0 ;
122607  void *argp2 = 0 ;
122608  int res2 = 0 ;
122609  PyObject * obj0 = 0 ;
122610  PyObject * obj1 = 0 ;
122611  PyObject * obj2 = 0 ;
122612 
122613  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdColor_Load",&obj0,&obj1,&obj2)) SWIG_fail;
122614  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
122615  if (!SWIG_IsOK(res1)) {
122616  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_Load" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122617  }
122618  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122619  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
122620  if (!SWIG_IsOK(res2)) {
122621  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CStdColor_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
122622  }
122623  if (!argp2) {
122624  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CStdColor_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
122625  }
122626  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
122627  {
122628  std::string *ptr = (std::string *)0;
122629  int res = SWIG_AsPtr_std_string(obj2, &ptr);
122630  if (!SWIG_IsOK(res) || !ptr) {
122631  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdColor_Load" "', argument " "3"" of type '" "std::string""'");
122632  }
122633  arg3 = *ptr;
122634  if (SWIG_IsNewObj(res)) delete ptr;
122635  }
122636  (arg1)->Load(*arg2,arg3);
122637  resultobj = SWIG_Py_Void();
122638  return resultobj;
122639 fail:
122640  return NULL;
122641 }
122642 
122643 
122644 SWIGINTERN PyObject *_wrap_CStdColor_Load__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122645  PyObject *resultobj = 0;
122646  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122647  std::string arg2 ;
122648  std::string arg3 ;
122649  bool arg4 ;
122650  void *argp1 = 0 ;
122651  int res1 = 0 ;
122652  bool val4 ;
122653  int ecode4 = 0 ;
122654  PyObject * obj0 = 0 ;
122655  PyObject * obj1 = 0 ;
122656  PyObject * obj2 = 0 ;
122657  PyObject * obj3 = 0 ;
122658 
122659  if (!PyArg_ParseTuple(args,(char *)"OOOO:CStdColor_Load",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
122660  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
122661  if (!SWIG_IsOK(res1)) {
122662  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_Load" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122663  }
122664  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122665  {
122666  std::string *ptr = (std::string *)0;
122667  int res = SWIG_AsPtr_std_string(obj1, &ptr);
122668  if (!SWIG_IsOK(res) || !ptr) {
122669  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdColor_Load" "', argument " "2"" of type '" "std::string""'");
122670  }
122671  arg2 = *ptr;
122672  if (SWIG_IsNewObj(res)) delete ptr;
122673  }
122674  {
122675  std::string *ptr = (std::string *)0;
122676  int res = SWIG_AsPtr_std_string(obj2, &ptr);
122677  if (!SWIG_IsOK(res) || !ptr) {
122678  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdColor_Load" "', argument " "3"" of type '" "std::string""'");
122679  }
122680  arg3 = *ptr;
122681  if (SWIG_IsNewObj(res)) delete ptr;
122682  }
122683  ecode4 = SWIG_AsVal_bool(obj3, &val4);
122684  if (!SWIG_IsOK(ecode4)) {
122685  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CStdColor_Load" "', argument " "4"" of type '" "bool""'");
122686  }
122687  arg4 = static_cast< bool >(val4);
122688  (arg1)->Load(arg2,arg3,arg4);
122689  resultobj = SWIG_Py_Void();
122690  return resultobj;
122691 fail:
122692  return NULL;
122693 }
122694 
122695 
122696 SWIGINTERN PyObject *_wrap_CStdColor_Load__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122697  PyObject *resultobj = 0;
122698  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122699  std::string arg2 ;
122700  std::string arg3 ;
122701  void *argp1 = 0 ;
122702  int res1 = 0 ;
122703  PyObject * obj0 = 0 ;
122704  PyObject * obj1 = 0 ;
122705  PyObject * obj2 = 0 ;
122706 
122707  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdColor_Load",&obj0,&obj1,&obj2)) SWIG_fail;
122708  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
122709  if (!SWIG_IsOK(res1)) {
122710  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdColor_Load" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122711  }
122712  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122713  {
122714  std::string *ptr = (std::string *)0;
122715  int res = SWIG_AsPtr_std_string(obj1, &ptr);
122716  if (!SWIG_IsOK(res) || !ptr) {
122717  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdColor_Load" "', argument " "2"" of type '" "std::string""'");
122718  }
122719  arg2 = *ptr;
122720  if (SWIG_IsNewObj(res)) delete ptr;
122721  }
122722  {
122723  std::string *ptr = (std::string *)0;
122724  int res = SWIG_AsPtr_std_string(obj2, &ptr);
122725  if (!SWIG_IsOK(res) || !ptr) {
122726  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CStdColor_Load" "', argument " "3"" of type '" "std::string""'");
122727  }
122728  arg3 = *ptr;
122729  if (SWIG_IsNewObj(res)) delete ptr;
122730  }
122731  (arg1)->Load(arg2,arg3);
122732  resultobj = SWIG_Py_Void();
122733  return resultobj;
122734 fail:
122735  return NULL;
122736 }
122737 
122738 
122739 SWIGINTERN PyObject *_wrap_CStdColor_Load(PyObject *self, PyObject *args) {
122740  int argc;
122741  PyObject *argv[5];
122742  int ii;
122743 
122744  if (!PyTuple_Check(args)) SWIG_fail;
122745  argc = args ? (int)PyObject_Length(args) : 0;
122746  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
122747  argv[ii] = PyTuple_GET_ITEM(args,ii);
122748  }
122749  if (argc == 3) {
122750  int _v;
122751  void *vptr = 0;
122752  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
122753  _v = SWIG_CheckState(res);
122754  if (_v) {
122755  void *vptr = 0;
122756  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
122757  _v = SWIG_CheckState(res);
122758  if (_v) {
122759  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
122760  _v = SWIG_CheckState(res);
122761  if (_v) {
122762  return _wrap_CStdColor_Load__SWIG_1(self, args);
122763  }
122764  }
122765  }
122766  }
122767  if (argc == 3) {
122768  int _v;
122769  void *vptr = 0;
122770  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
122771  _v = SWIG_CheckState(res);
122772  if (_v) {
122773  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
122774  _v = SWIG_CheckState(res);
122775  if (_v) {
122776  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
122777  _v = SWIG_CheckState(res);
122778  if (_v) {
122779  return _wrap_CStdColor_Load__SWIG_3(self, args);
122780  }
122781  }
122782  }
122783  }
122784  if (argc == 4) {
122785  int _v;
122786  void *vptr = 0;
122787  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
122788  _v = SWIG_CheckState(res);
122789  if (_v) {
122790  void *vptr = 0;
122791  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
122792  _v = SWIG_CheckState(res);
122793  if (_v) {
122794  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
122795  _v = SWIG_CheckState(res);
122796  if (_v) {
122797  {
122798  int res = SWIG_AsVal_bool(argv[3], NULL);
122799  _v = SWIG_CheckState(res);
122800  }
122801  if (_v) {
122802  return _wrap_CStdColor_Load__SWIG_0(self, args);
122803  }
122804  }
122805  }
122806  }
122807  }
122808  if (argc == 4) {
122809  int _v;
122810  void *vptr = 0;
122811  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
122812  _v = SWIG_CheckState(res);
122813  if (_v) {
122814  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
122815  _v = SWIG_CheckState(res);
122816  if (_v) {
122817  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
122818  _v = SWIG_CheckState(res);
122819  if (_v) {
122820  {
122821  int res = SWIG_AsVal_bool(argv[3], NULL);
122822  _v = SWIG_CheckState(res);
122823  }
122824  if (_v) {
122825  return _wrap_CStdColor_Load__SWIG_2(self, args);
122826  }
122827  }
122828  }
122829  }
122830  }
122831 
122832 fail:
122833  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdColor_Load'.\n"
122834  " Possible C/C++ prototypes are:\n"
122835  " StdUtils::CStdColor::Load(StdUtils::CStdXml &,std::string,bool)\n"
122836  " StdUtils::CStdColor::Load(StdUtils::CStdXml &,std::string)\n"
122837  " StdUtils::CStdColor::Load(std::string,std::string,bool)\n"
122838  " StdUtils::CStdColor::Load(std::string,std::string)\n");
122839  return 0;
122840 }
122841 
122842 
122843 SWIGINTERN PyObject *_wrap_delete_CStdColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122844  PyObject *resultobj = 0;
122845  StdUtils::CStdColor *arg1 = (StdUtils::CStdColor *) 0 ;
122846  void *argp1 = 0 ;
122847  int res1 = 0 ;
122848  PyObject * obj0 = 0 ;
122849 
122850  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdColor",&obj0)) SWIG_fail;
122851  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdColor, SWIG_POINTER_DISOWN | 0 );
122852  if (!SWIG_IsOK(res1)) {
122853  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdColor" "', argument " "1"" of type '" "StdUtils::CStdColor *""'");
122854  }
122855  arg1 = reinterpret_cast< StdUtils::CStdColor * >(argp1);
122856  {
122857  try {
122858  delete arg1;
122859  }
122860  catch(CStdErrorInfo oError)
122861  {
122862  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
122863  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
122864  PyErr_SetString(PyExc_IndexError, strError.c_str());
122865  SWIG_fail;
122866  }
122867  catch(...)
122868  {
122869  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
122870  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
122871  SWIG_fail;
122872  }
122873  }
122874  resultobj = SWIG_Py_Void();
122875  return resultobj;
122876 fail:
122877  return NULL;
122878 }
122879 
122880 
122881 SWIGINTERN PyObject *CStdColor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122882  PyObject *obj;
122883  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
122884  SWIG_TypeNewClientData(SWIGTYPE_p_StdUtils__CStdColor, SWIG_NewClientData(obj));
122885  return SWIG_Py_Void();
122886 }
122887 
122888 SWIGINTERN PyObject *_wrap_delete_CStdCriticalSection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122889  PyObject *resultobj = 0;
122891  void *argp1 = 0 ;
122892  int res1 = 0 ;
122893  PyObject * obj0 = 0 ;
122894 
122895  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdCriticalSection",&obj0)) SWIG_fail;
122896  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdCriticalSection, SWIG_POINTER_DISOWN | 0 );
122897  if (!SWIG_IsOK(res1)) {
122898  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdCriticalSection" "', argument " "1"" of type '" "StdUtils::CStdCriticalSection *""'");
122899  }
122900  arg1 = reinterpret_cast< StdUtils::CStdCriticalSection * >(argp1);
122901  delete arg1;
122902  resultobj = SWIG_Py_Void();
122903  return resultobj;
122904 fail:
122905  return NULL;
122906 }
122907 
122908 
122909 SWIGINTERN PyObject *_wrap_CStdCriticalSection_TryEnter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122910  PyObject *resultobj = 0;
122912  void *argp1 = 0 ;
122913  int res1 = 0 ;
122914  PyObject * obj0 = 0 ;
122915  bool result;
122916 
122917  if (!PyArg_ParseTuple(args,(char *)"O:CStdCriticalSection_TryEnter",&obj0)) SWIG_fail;
122918  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdCriticalSection, 0 | 0 );
122919  if (!SWIG_IsOK(res1)) {
122920  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdCriticalSection_TryEnter" "', argument " "1"" of type '" "StdUtils::CStdCriticalSection *""'");
122921  }
122922  arg1 = reinterpret_cast< StdUtils::CStdCriticalSection * >(argp1);
122923  result = (bool)(arg1)->TryEnter();
122924  resultobj = SWIG_From_bool(static_cast< bool >(result));
122925  return resultobj;
122926 fail:
122927  return NULL;
122928 }
122929 
122930 
122931 SWIGINTERN PyObject *_wrap_CStdCriticalSection_Leave(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122932  PyObject *resultobj = 0;
122934  void *argp1 = 0 ;
122935  int res1 = 0 ;
122936  PyObject * obj0 = 0 ;
122937  bool result;
122938 
122939  if (!PyArg_ParseTuple(args,(char *)"O:CStdCriticalSection_Leave",&obj0)) SWIG_fail;
122940  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdCriticalSection, 0 | 0 );
122941  if (!SWIG_IsOK(res1)) {
122942  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdCriticalSection_Leave" "', argument " "1"" of type '" "StdUtils::CStdCriticalSection *""'");
122943  }
122944  arg1 = reinterpret_cast< StdUtils::CStdCriticalSection * >(argp1);
122945  result = (bool)(arg1)->Leave();
122946  resultobj = SWIG_From_bool(static_cast< bool >(result));
122947  return resultobj;
122948 fail:
122949  return NULL;
122950 }
122951 
122952 
122953 SWIGINTERN PyObject *CStdCriticalSection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122954  PyObject *obj;
122955  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
122956  SWIG_TypeNewClientData(SWIGTYPE_p_StdUtils__CStdCriticalSection, SWIG_NewClientData(obj));
122957  return SWIG_Py_Void();
122958 }
122959 
122960 SWIGINTERN PyObject *_wrap_Std_GetCriticalSection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122961  PyObject *resultobj = 0;
122962  StdUtils::CStdCriticalSection *result = 0 ;
122963 
122964  if (!PyArg_ParseTuple(args,(char *)":Std_GetCriticalSection")) SWIG_fail;
122965  result = (StdUtils::CStdCriticalSection *)StdUtils::Std_GetCriticalSection();
122966  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdCriticalSection, 0 | 0 );
122967  return resultobj;
122968 fail:
122969  return NULL;
122970 }
122971 
122972 
122973 SWIGINTERN PyObject *_wrap_new_CStdPID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122974  PyObject *resultobj = 0;
122975  StdUtils::CStdPID *result = 0 ;
122976 
122977  if (!PyArg_ParseTuple(args,(char *)":new_CStdPID")) SWIG_fail;
122978  result = (StdUtils::CStdPID *)new StdUtils::CStdPID();
122979  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdPID, SWIG_POINTER_NEW | 0 );
122980  return resultobj;
122981 fail:
122982  return NULL;
122983 }
122984 
122985 
122986 SWIGINTERN PyObject *_wrap_new_CStdPID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
122987  PyObject *resultobj = 0;
122988  float arg1 ;
122989  float arg2 ;
122990  float arg3 ;
122991  float arg4 ;
122992  bool arg5 ;
122993  bool arg6 ;
122994  bool arg7 ;
122995  float arg8 ;
122996  float arg9 ;
122997  float arg10 ;
122998  float arg11 ;
122999  float val1 ;
123000  int ecode1 = 0 ;
123001  float val2 ;
123002  int ecode2 = 0 ;
123003  float val3 ;
123004  int ecode3 = 0 ;
123005  float val4 ;
123006  int ecode4 = 0 ;
123007  bool val5 ;
123008  int ecode5 = 0 ;
123009  bool val6 ;
123010  int ecode6 = 0 ;
123011  bool val7 ;
123012  int ecode7 = 0 ;
123013  float val8 ;
123014  int ecode8 = 0 ;
123015  float val9 ;
123016  int ecode9 = 0 ;
123017  float val10 ;
123018  int ecode10 = 0 ;
123019  float val11 ;
123020  int ecode11 = 0 ;
123021  PyObject * obj0 = 0 ;
123022  PyObject * obj1 = 0 ;
123023  PyObject * obj2 = 0 ;
123024  PyObject * obj3 = 0 ;
123025  PyObject * obj4 = 0 ;
123026  PyObject * obj5 = 0 ;
123027  PyObject * obj6 = 0 ;
123028  PyObject * obj7 = 0 ;
123029  PyObject * obj8 = 0 ;
123030  PyObject * obj9 = 0 ;
123031  PyObject * obj10 = 0 ;
123032  StdUtils::CStdPID *result = 0 ;
123033 
123034  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOOO:new_CStdPID",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
123035  ecode1 = SWIG_AsVal_float(obj0, &val1);
123036  if (!SWIG_IsOK(ecode1)) {
123037  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CStdPID" "', argument " "1"" of type '" "float""'");
123038  }
123039  arg1 = static_cast< float >(val1);
123040  ecode2 = SWIG_AsVal_float(obj1, &val2);
123041  if (!SWIG_IsOK(ecode2)) {
123042  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CStdPID" "', argument " "2"" of type '" "float""'");
123043  }
123044  arg2 = static_cast< float >(val2);
123045  ecode3 = SWIG_AsVal_float(obj2, &val3);
123046  if (!SWIG_IsOK(ecode3)) {
123047  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CStdPID" "', argument " "3"" of type '" "float""'");
123048  }
123049  arg3 = static_cast< float >(val3);
123050  ecode4 = SWIG_AsVal_float(obj3, &val4);
123051  if (!SWIG_IsOK(ecode4)) {
123052  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CStdPID" "', argument " "4"" of type '" "float""'");
123053  }
123054  arg4 = static_cast< float >(val4);
123055  ecode5 = SWIG_AsVal_bool(obj4, &val5);
123056  if (!SWIG_IsOK(ecode5)) {
123057  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_CStdPID" "', argument " "5"" of type '" "bool""'");
123058  }
123059  arg5 = static_cast< bool >(val5);
123060  ecode6 = SWIG_AsVal_bool(obj5, &val6);
123061  if (!SWIG_IsOK(ecode6)) {
123062  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CStdPID" "', argument " "6"" of type '" "bool""'");
123063  }
123064  arg6 = static_cast< bool >(val6);
123065  ecode7 = SWIG_AsVal_bool(obj6, &val7);
123066  if (!SWIG_IsOK(ecode7)) {
123067  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_CStdPID" "', argument " "7"" of type '" "bool""'");
123068  }
123069  arg7 = static_cast< bool >(val7);
123070  ecode8 = SWIG_AsVal_float(obj7, &val8);
123071  if (!SWIG_IsOK(ecode8)) {
123072  SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_CStdPID" "', argument " "8"" of type '" "float""'");
123073  }
123074  arg8 = static_cast< float >(val8);
123075  ecode9 = SWIG_AsVal_float(obj8, &val9);
123076  if (!SWIG_IsOK(ecode9)) {
123077  SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_CStdPID" "', argument " "9"" of type '" "float""'");
123078  }
123079  arg9 = static_cast< float >(val9);
123080  ecode10 = SWIG_AsVal_float(obj9, &val10);
123081  if (!SWIG_IsOK(ecode10)) {
123082  SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "new_CStdPID" "', argument " "10"" of type '" "float""'");
123083  }
123084  arg10 = static_cast< float >(val10);
123085  ecode11 = SWIG_AsVal_float(obj10, &val11);
123086  if (!SWIG_IsOK(ecode11)) {
123087  SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_CStdPID" "', argument " "11"" of type '" "float""'");
123088  }
123089  arg11 = static_cast< float >(val11);
123090  result = (StdUtils::CStdPID *)new StdUtils::CStdPID(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
123091  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdPID, SWIG_POINTER_NEW | 0 );
123092  return resultobj;
123093 fail:
123094  return NULL;
123095 }
123096 
123097 
123098 SWIGINTERN PyObject *_wrap_new_CStdPID(PyObject *self, PyObject *args) {
123099  int argc;
123100  PyObject *argv[12];
123101  int ii;
123102 
123103  if (!PyTuple_Check(args)) SWIG_fail;
123104  argc = args ? (int)PyObject_Length(args) : 0;
123105  for (ii = 0; (ii < 11) && (ii < argc); ii++) {
123106  argv[ii] = PyTuple_GET_ITEM(args,ii);
123107  }
123108  if (argc == 0) {
123109  return _wrap_new_CStdPID__SWIG_0(self, args);
123110  }
123111  if (argc == 11) {
123112  int _v;
123113  {
123114  int res = SWIG_AsVal_float(argv[0], NULL);
123115  _v = SWIG_CheckState(res);
123116  }
123117  if (_v) {
123118  {
123119  int res = SWIG_AsVal_float(argv[1], NULL);
123120  _v = SWIG_CheckState(res);
123121  }
123122  if (_v) {
123123  {
123124  int res = SWIG_AsVal_float(argv[2], NULL);
123125  _v = SWIG_CheckState(res);
123126  }
123127  if (_v) {
123128  {
123129  int res = SWIG_AsVal_float(argv[3], NULL);
123130  _v = SWIG_CheckState(res);
123131  }
123132  if (_v) {
123133  {
123134  int res = SWIG_AsVal_bool(argv[4], NULL);
123135  _v = SWIG_CheckState(res);
123136  }
123137  if (_v) {
123138  {
123139  int res = SWIG_AsVal_bool(argv[5], NULL);
123140  _v = SWIG_CheckState(res);
123141  }
123142  if (_v) {
123143  {
123144  int res = SWIG_AsVal_bool(argv[6], NULL);
123145  _v = SWIG_CheckState(res);
123146  }
123147  if (_v) {
123148  {
123149  int res = SWIG_AsVal_float(argv[7], NULL);
123150  _v = SWIG_CheckState(res);
123151  }
123152  if (_v) {
123153  {
123154  int res = SWIG_AsVal_float(argv[8], NULL);
123155  _v = SWIG_CheckState(res);
123156  }
123157  if (_v) {
123158  {
123159  int res = SWIG_AsVal_float(argv[9], NULL);
123160  _v = SWIG_CheckState(res);
123161  }
123162  if (_v) {
123163  {
123164  int res = SWIG_AsVal_float(argv[10], NULL);
123165  _v = SWIG_CheckState(res);
123166  }
123167  if (_v) {
123168  return _wrap_new_CStdPID__SWIG_1(self, args);
123169  }
123170  }
123171  }
123172  }
123173  }
123174  }
123175  }
123176  }
123177  }
123178  }
123179  }
123180  }
123181 
123182 fail:
123183  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_CStdPID'.\n"
123184  " Possible C/C++ prototypes are:\n"
123185  " StdUtils::CStdPID::CStdPID()\n"
123186  " StdUtils::CStdPID::CStdPID(float,float,float,float,bool,bool,bool,float,float,float,float)\n");
123187  return 0;
123188 }
123189 
123190 
123191 SWIGINTERN PyObject *_wrap_delete_CStdPID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123192  PyObject *resultobj = 0;
123193  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123194  void *argp1 = 0 ;
123195  int res1 = 0 ;
123196  PyObject * obj0 = 0 ;
123197 
123198  if (!PyArg_ParseTuple(args,(char *)"O:delete_CStdPID",&obj0)) SWIG_fail;
123199  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, SWIG_POINTER_DISOWN | 0 );
123200  if (!SWIG_IsOK(res1)) {
123201  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CStdPID" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123202  }
123203  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123204  delete arg1;
123205  resultobj = SWIG_Py_Void();
123206  return resultobj;
123207 fail:
123208  return NULL;
123209 }
123210 
123211 
123212 SWIGINTERN PyObject *_wrap_CStdPID_Error(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123213  PyObject *resultobj = 0;
123214  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123215  void *argp1 = 0 ;
123216  int res1 = 0 ;
123217  PyObject * obj0 = 0 ;
123218  float result;
123219 
123220  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_Error",&obj0)) SWIG_fail;
123221  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123222  if (!SWIG_IsOK(res1)) {
123223  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_Error" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123224  }
123225  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123226  result = (float)(arg1)->Error();
123227  resultobj = SWIG_From_float(static_cast< float >(result));
123228  return resultobj;
123229 fail:
123230  return NULL;
123231 }
123232 
123233 
123234 SWIGINTERN PyObject *_wrap_CStdPID_ErrorChange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123235  PyObject *resultobj = 0;
123236  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123237  void *argp1 = 0 ;
123238  int res1 = 0 ;
123239  PyObject * obj0 = 0 ;
123240  float result;
123241 
123242  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_ErrorChange",&obj0)) SWIG_fail;
123243  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123244  if (!SWIG_IsOK(res1)) {
123245  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_ErrorChange" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123246  }
123247  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123248  result = (float)(arg1)->ErrorChange();
123249  resultobj = SWIG_From_float(static_cast< float >(result));
123250  return resultobj;
123251 fail:
123252  return NULL;
123253 }
123254 
123255 
123256 SWIGINTERN PyObject *_wrap_CStdPID_Setpoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123257  PyObject *resultobj = 0;
123258  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123259  float arg2 ;
123260  void *argp1 = 0 ;
123261  int res1 = 0 ;
123262  float val2 ;
123263  int ecode2 = 0 ;
123264  PyObject * obj0 = 0 ;
123265  PyObject * obj1 = 0 ;
123266 
123267  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPID_Setpoint",&obj0,&obj1)) SWIG_fail;
123268  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123269  if (!SWIG_IsOK(res1)) {
123270  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_Setpoint" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123271  }
123272  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123273  ecode2 = SWIG_AsVal_float(obj1, &val2);
123274  if (!SWIG_IsOK(ecode2)) {
123275  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPID_Setpoint" "', argument " "2"" of type '" "float""'");
123276  }
123277  arg2 = static_cast< float >(val2);
123278  (arg1)->Setpoint(arg2);
123279  resultobj = SWIG_Py_Void();
123280  return resultobj;
123281 fail:
123282  return NULL;
123283 }
123284 
123285 
123286 SWIGINTERN PyObject *_wrap_CStdPID_Setpoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123287  PyObject *resultobj = 0;
123288  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123289  void *argp1 = 0 ;
123290  int res1 = 0 ;
123291  PyObject * obj0 = 0 ;
123292  float result;
123293 
123294  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_Setpoint",&obj0)) SWIG_fail;
123295  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123296  if (!SWIG_IsOK(res1)) {
123297  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_Setpoint" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123298  }
123299  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123300  result = (float)(arg1)->Setpoint();
123301  resultobj = SWIG_From_float(static_cast< float >(result));
123302  return resultobj;
123303 fail:
123304  return NULL;
123305 }
123306 
123307 
123308 SWIGINTERN PyObject *_wrap_CStdPID_Setpoint(PyObject *self, PyObject *args) {
123309  int argc;
123310  PyObject *argv[3];
123311  int ii;
123312 
123313  if (!PyTuple_Check(args)) SWIG_fail;
123314  argc = args ? (int)PyObject_Length(args) : 0;
123315  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
123316  argv[ii] = PyTuple_GET_ITEM(args,ii);
123317  }
123318  if (argc == 1) {
123319  int _v;
123320  void *vptr = 0;
123321  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
123322  _v = SWIG_CheckState(res);
123323  if (_v) {
123324  return _wrap_CStdPID_Setpoint__SWIG_1(self, args);
123325  }
123326  }
123327  if (argc == 2) {
123328  int _v;
123329  void *vptr = 0;
123330  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
123331  _v = SWIG_CheckState(res);
123332  if (_v) {
123333  {
123334  int res = SWIG_AsVal_float(argv[1], NULL);
123335  _v = SWIG_CheckState(res);
123336  }
123337  if (_v) {
123338  return _wrap_CStdPID_Setpoint__SWIG_0(self, args);
123339  }
123340  }
123341  }
123342 
123343 fail:
123344  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPID_Setpoint'.\n"
123345  " Possible C/C++ prototypes are:\n"
123346  " StdUtils::CStdPID::Setpoint(float)\n"
123347  " StdUtils::CStdPID::Setpoint()\n");
123348  return 0;
123349 }
123350 
123351 
123352 SWIGINTERN PyObject *_wrap_CStdPID_Gain__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123353  PyObject *resultobj = 0;
123354  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123355  float arg2 ;
123356  void *argp1 = 0 ;
123357  int res1 = 0 ;
123358  float val2 ;
123359  int ecode2 = 0 ;
123360  PyObject * obj0 = 0 ;
123361  PyObject * obj1 = 0 ;
123362 
123363  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPID_Gain",&obj0,&obj1)) SWIG_fail;
123364  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123365  if (!SWIG_IsOK(res1)) {
123366  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_Gain" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123367  }
123368  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123369  ecode2 = SWIG_AsVal_float(obj1, &val2);
123370  if (!SWIG_IsOK(ecode2)) {
123371  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPID_Gain" "', argument " "2"" of type '" "float""'");
123372  }
123373  arg2 = static_cast< float >(val2);
123374  (arg1)->Gain(arg2);
123375  resultobj = SWIG_Py_Void();
123376  return resultobj;
123377 fail:
123378  return NULL;
123379 }
123380 
123381 
123382 SWIGINTERN PyObject *_wrap_CStdPID_Gain__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123383  PyObject *resultobj = 0;
123384  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123385  void *argp1 = 0 ;
123386  int res1 = 0 ;
123387  PyObject * obj0 = 0 ;
123388  float result;
123389 
123390  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_Gain",&obj0)) SWIG_fail;
123391  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123392  if (!SWIG_IsOK(res1)) {
123393  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_Gain" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123394  }
123395  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123396  result = (float)(arg1)->Gain();
123397  resultobj = SWIG_From_float(static_cast< float >(result));
123398  return resultobj;
123399 fail:
123400  return NULL;
123401 }
123402 
123403 
123404 SWIGINTERN PyObject *_wrap_CStdPID_Gain(PyObject *self, PyObject *args) {
123405  int argc;
123406  PyObject *argv[3];
123407  int ii;
123408 
123409  if (!PyTuple_Check(args)) SWIG_fail;
123410  argc = args ? (int)PyObject_Length(args) : 0;
123411  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
123412  argv[ii] = PyTuple_GET_ITEM(args,ii);
123413  }
123414  if (argc == 1) {
123415  int _v;
123416  void *vptr = 0;
123417  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
123418  _v = SWIG_CheckState(res);
123419  if (_v) {
123420  return _wrap_CStdPID_Gain__SWIG_1(self, args);
123421  }
123422  }
123423  if (argc == 2) {
123424  int _v;
123425  void *vptr = 0;
123426  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
123427  _v = SWIG_CheckState(res);
123428  if (_v) {
123429  {
123430  int res = SWIG_AsVal_float(argv[1], NULL);
123431  _v = SWIG_CheckState(res);
123432  }
123433  if (_v) {
123434  return _wrap_CStdPID_Gain__SWIG_0(self, args);
123435  }
123436  }
123437  }
123438 
123439 fail:
123440  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPID_Gain'.\n"
123441  " Possible C/C++ prototypes are:\n"
123442  " StdUtils::CStdPID::Gain(float)\n"
123443  " StdUtils::CStdPID::Gain()\n");
123444  return 0;
123445 }
123446 
123447 
123448 SWIGINTERN PyObject *_wrap_CStdPID_IntegralAct__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123449  PyObject *resultobj = 0;
123450  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123451  float arg2 ;
123452  void *argp1 = 0 ;
123453  int res1 = 0 ;
123454  float val2 ;
123455  int ecode2 = 0 ;
123456  PyObject * obj0 = 0 ;
123457  PyObject * obj1 = 0 ;
123458 
123459  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPID_IntegralAct",&obj0,&obj1)) SWIG_fail;
123460  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123461  if (!SWIG_IsOK(res1)) {
123462  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_IntegralAct" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123463  }
123464  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123465  ecode2 = SWIG_AsVal_float(obj1, &val2);
123466  if (!SWIG_IsOK(ecode2)) {
123467  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPID_IntegralAct" "', argument " "2"" of type '" "float""'");
123468  }
123469  arg2 = static_cast< float >(val2);
123470  (arg1)->IntegralAct(arg2);
123471  resultobj = SWIG_Py_Void();
123472  return resultobj;
123473 fail:
123474  return NULL;
123475 }
123476 
123477 
123478 SWIGINTERN PyObject *_wrap_CStdPID_IntegralAct__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123479  PyObject *resultobj = 0;
123480  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123481  void *argp1 = 0 ;
123482  int res1 = 0 ;
123483  PyObject * obj0 = 0 ;
123484  float result;
123485 
123486  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_IntegralAct",&obj0)) SWIG_fail;
123487  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123488  if (!SWIG_IsOK(res1)) {
123489  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_IntegralAct" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123490  }
123491  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123492  result = (float)(arg1)->IntegralAct();
123493  resultobj = SWIG_From_float(static_cast< float >(result));
123494  return resultobj;
123495 fail:
123496  return NULL;
123497 }
123498 
123499 
123500 SWIGINTERN PyObject *_wrap_CStdPID_IntegralAct(PyObject *self, PyObject *args) {
123501  int argc;
123502  PyObject *argv[3];
123503  int ii;
123504 
123505  if (!PyTuple_Check(args)) SWIG_fail;
123506  argc = args ? (int)PyObject_Length(args) : 0;
123507  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
123508  argv[ii] = PyTuple_GET_ITEM(args,ii);
123509  }
123510  if (argc == 1) {
123511  int _v;
123512  void *vptr = 0;
123513  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
123514  _v = SWIG_CheckState(res);
123515  if (_v) {
123516  return _wrap_CStdPID_IntegralAct__SWIG_1(self, args);
123517  }
123518  }
123519  if (argc == 2) {
123520  int _v;
123521  void *vptr = 0;
123522  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
123523  _v = SWIG_CheckState(res);
123524  if (_v) {
123525  {
123526  int res = SWIG_AsVal_float(argv[1], NULL);
123527  _v = SWIG_CheckState(res);
123528  }
123529  if (_v) {
123530  return _wrap_CStdPID_IntegralAct__SWIG_0(self, args);
123531  }
123532  }
123533  }
123534 
123535 fail:
123536  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPID_IntegralAct'.\n"
123537  " Possible C/C++ prototypes are:\n"
123538  " StdUtils::CStdPID::IntegralAct(float)\n"
123539  " StdUtils::CStdPID::IntegralAct()\n");
123540  return 0;
123541 }
123542 
123543 
123544 SWIGINTERN PyObject *_wrap_CStdPID_DerivativeAct__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123545  PyObject *resultobj = 0;
123546  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123547  float arg2 ;
123548  void *argp1 = 0 ;
123549  int res1 = 0 ;
123550  float val2 ;
123551  int ecode2 = 0 ;
123552  PyObject * obj0 = 0 ;
123553  PyObject * obj1 = 0 ;
123554 
123555  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPID_DerivativeAct",&obj0,&obj1)) SWIG_fail;
123556  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123557  if (!SWIG_IsOK(res1)) {
123558  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_DerivativeAct" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123559  }
123560  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123561  ecode2 = SWIG_AsVal_float(obj1, &val2);
123562  if (!SWIG_IsOK(ecode2)) {
123563  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPID_DerivativeAct" "', argument " "2"" of type '" "float""'");
123564  }
123565  arg2 = static_cast< float >(val2);
123566  (arg1)->DerivativeAct(arg2);
123567  resultobj = SWIG_Py_Void();
123568  return resultobj;
123569 fail:
123570  return NULL;
123571 }
123572 
123573 
123574 SWIGINTERN PyObject *_wrap_CStdPID_DerivativeAct__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123575  PyObject *resultobj = 0;
123576  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123577  void *argp1 = 0 ;
123578  int res1 = 0 ;
123579  PyObject * obj0 = 0 ;
123580  float result;
123581 
123582  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_DerivativeAct",&obj0)) SWIG_fail;
123583  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123584  if (!SWIG_IsOK(res1)) {
123585  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_DerivativeAct" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123586  }
123587  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123588  result = (float)(arg1)->DerivativeAct();
123589  resultobj = SWIG_From_float(static_cast< float >(result));
123590  return resultobj;
123591 fail:
123592  return NULL;
123593 }
123594 
123595 
123596 SWIGINTERN PyObject *_wrap_CStdPID_DerivativeAct(PyObject *self, PyObject *args) {
123597  int argc;
123598  PyObject *argv[3];
123599  int ii;
123600 
123601  if (!PyTuple_Check(args)) SWIG_fail;
123602  argc = args ? (int)PyObject_Length(args) : 0;
123603  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
123604  argv[ii] = PyTuple_GET_ITEM(args,ii);
123605  }
123606  if (argc == 1) {
123607  int _v;
123608  void *vptr = 0;
123609  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
123610  _v = SWIG_CheckState(res);
123611  if (_v) {
123612  return _wrap_CStdPID_DerivativeAct__SWIG_1(self, args);
123613  }
123614  }
123615  if (argc == 2) {
123616  int _v;
123617  void *vptr = 0;
123618  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
123619  _v = SWIG_CheckState(res);
123620  if (_v) {
123621  {
123622  int res = SWIG_AsVal_float(argv[1], NULL);
123623  _v = SWIG_CheckState(res);
123624  }
123625  if (_v) {
123626  return _wrap_CStdPID_DerivativeAct__SWIG_0(self, args);
123627  }
123628  }
123629  }
123630 
123631 fail:
123632  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPID_DerivativeAct'.\n"
123633  " Possible C/C++ prototypes are:\n"
123634  " StdUtils::CStdPID::DerivativeAct(float)\n"
123635  " StdUtils::CStdPID::DerivativeAct()\n");
123636  return 0;
123637 }
123638 
123639 
123640 SWIGINTERN PyObject *_wrap_CStdPID_Proportional(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123641  PyObject *resultobj = 0;
123642  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123643  void *argp1 = 0 ;
123644  int res1 = 0 ;
123645  PyObject * obj0 = 0 ;
123646  float result;
123647 
123648  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_Proportional",&obj0)) SWIG_fail;
123649  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123650  if (!SWIG_IsOK(res1)) {
123651  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_Proportional" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123652  }
123653  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123654  result = (float)(arg1)->Proportional();
123655  resultobj = SWIG_From_float(static_cast< float >(result));
123656  return resultobj;
123657 fail:
123658  return NULL;
123659 }
123660 
123661 
123662 SWIGINTERN PyObject *_wrap_CStdPID_Integral(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123663  PyObject *resultobj = 0;
123664  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123665  void *argp1 = 0 ;
123666  int res1 = 0 ;
123667  PyObject * obj0 = 0 ;
123668  float result;
123669 
123670  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_Integral",&obj0)) SWIG_fail;
123671  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123672  if (!SWIG_IsOK(res1)) {
123673  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_Integral" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123674  }
123675  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123676  result = (float)(arg1)->Integral();
123677  resultobj = SWIG_From_float(static_cast< float >(result));
123678  return resultobj;
123679 fail:
123680  return NULL;
123681 }
123682 
123683 
123684 SWIGINTERN PyObject *_wrap_CStdPID_OldIntegral(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123685  PyObject *resultobj = 0;
123686  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123687  void *argp1 = 0 ;
123688  int res1 = 0 ;
123689  PyObject * obj0 = 0 ;
123690  float result;
123691 
123692  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_OldIntegral",&obj0)) SWIG_fail;
123693  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123694  if (!SWIG_IsOK(res1)) {
123695  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_OldIntegral" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123696  }
123697  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123698  result = (float)(arg1)->OldIntegral();
123699  resultobj = SWIG_From_float(static_cast< float >(result));
123700  return resultobj;
123701 fail:
123702  return NULL;
123703 }
123704 
123705 
123706 SWIGINTERN PyObject *_wrap_CStdPID_Derivative(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123707  PyObject *resultobj = 0;
123708  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123709  void *argp1 = 0 ;
123710  int res1 = 0 ;
123711  PyObject * obj0 = 0 ;
123712  float result;
123713 
123714  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_Derivative",&obj0)) SWIG_fail;
123715  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123716  if (!SWIG_IsOK(res1)) {
123717  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_Derivative" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123718  }
123719  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123720  result = (float)(arg1)->Derivative();
123721  resultobj = SWIG_From_float(static_cast< float >(result));
123722  return resultobj;
123723 fail:
123724  return NULL;
123725 }
123726 
123727 
123728 SWIGINTERN PyObject *_wrap_CStdPID_Output(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123729  PyObject *resultobj = 0;
123730  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123731  void *argp1 = 0 ;
123732  int res1 = 0 ;
123733  PyObject * obj0 = 0 ;
123734  float result;
123735 
123736  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_Output",&obj0)) SWIG_fail;
123737  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123738  if (!SWIG_IsOK(res1)) {
123739  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_Output" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123740  }
123741  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123742  result = (float)(arg1)->Output();
123743  resultobj = SWIG_From_float(static_cast< float >(result));
123744  return resultobj;
123745 fail:
123746  return NULL;
123747 }
123748 
123749 
123750 SWIGINTERN PyObject *_wrap_CStdPID_OldOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123751  PyObject *resultobj = 0;
123752  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123753  void *argp1 = 0 ;
123754  int res1 = 0 ;
123755  PyObject * obj0 = 0 ;
123756  float result;
123757 
123758  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_OldOutput",&obj0)) SWIG_fail;
123759  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123760  if (!SWIG_IsOK(res1)) {
123761  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_OldOutput" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123762  }
123763  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123764  result = (float)(arg1)->OldOutput();
123765  resultobj = SWIG_From_float(static_cast< float >(result));
123766  return resultobj;
123767 fail:
123768  return NULL;
123769 }
123770 
123771 
123772 SWIGINTERN PyObject *_wrap_CStdPID_ComplexError__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123773  PyObject *resultobj = 0;
123774  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123775  bool arg2 ;
123776  void *argp1 = 0 ;
123777  int res1 = 0 ;
123778  bool val2 ;
123779  int ecode2 = 0 ;
123780  PyObject * obj0 = 0 ;
123781  PyObject * obj1 = 0 ;
123782 
123783  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPID_ComplexError",&obj0,&obj1)) SWIG_fail;
123784  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123785  if (!SWIG_IsOK(res1)) {
123786  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_ComplexError" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123787  }
123788  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123789  ecode2 = SWIG_AsVal_bool(obj1, &val2);
123790  if (!SWIG_IsOK(ecode2)) {
123791  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPID_ComplexError" "', argument " "2"" of type '" "bool""'");
123792  }
123793  arg2 = static_cast< bool >(val2);
123794  (arg1)->ComplexError(arg2);
123795  resultobj = SWIG_Py_Void();
123796  return resultobj;
123797 fail:
123798  return NULL;
123799 }
123800 
123801 
123802 SWIGINTERN PyObject *_wrap_CStdPID_ComplexError__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123803  PyObject *resultobj = 0;
123804  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123805  void *argp1 = 0 ;
123806  int res1 = 0 ;
123807  PyObject * obj0 = 0 ;
123808  bool result;
123809 
123810  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_ComplexError",&obj0)) SWIG_fail;
123811  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123812  if (!SWIG_IsOK(res1)) {
123813  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_ComplexError" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123814  }
123815  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123816  result = (bool)(arg1)->ComplexError();
123817  resultobj = SWIG_From_bool(static_cast< bool >(result));
123818  return resultobj;
123819 fail:
123820  return NULL;
123821 }
123822 
123823 
123824 SWIGINTERN PyObject *_wrap_CStdPID_ComplexError(PyObject *self, PyObject *args) {
123825  int argc;
123826  PyObject *argv[3];
123827  int ii;
123828 
123829  if (!PyTuple_Check(args)) SWIG_fail;
123830  argc = args ? (int)PyObject_Length(args) : 0;
123831  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
123832  argv[ii] = PyTuple_GET_ITEM(args,ii);
123833  }
123834  if (argc == 1) {
123835  int _v;
123836  void *vptr = 0;
123837  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
123838  _v = SWIG_CheckState(res);
123839  if (_v) {
123840  return _wrap_CStdPID_ComplexError__SWIG_1(self, args);
123841  }
123842  }
123843  if (argc == 2) {
123844  int _v;
123845  void *vptr = 0;
123846  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
123847  _v = SWIG_CheckState(res);
123848  if (_v) {
123849  {
123850  int res = SWIG_AsVal_bool(argv[1], NULL);
123851  _v = SWIG_CheckState(res);
123852  }
123853  if (_v) {
123854  return _wrap_CStdPID_ComplexError__SWIG_0(self, args);
123855  }
123856  }
123857  }
123858 
123859 fail:
123860  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPID_ComplexError'.\n"
123861  " Possible C/C++ prototypes are:\n"
123862  " StdUtils::CStdPID::ComplexError(bool)\n"
123863  " StdUtils::CStdPID::ComplexError()\n");
123864  return 0;
123865 }
123866 
123867 
123868 SWIGINTERN PyObject *_wrap_CStdPID_AntiResetWindup__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123869  PyObject *resultobj = 0;
123870  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123871  bool arg2 ;
123872  void *argp1 = 0 ;
123873  int res1 = 0 ;
123874  bool val2 ;
123875  int ecode2 = 0 ;
123876  PyObject * obj0 = 0 ;
123877  PyObject * obj1 = 0 ;
123878 
123879  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPID_AntiResetWindup",&obj0,&obj1)) SWIG_fail;
123880  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123881  if (!SWIG_IsOK(res1)) {
123882  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_AntiResetWindup" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123883  }
123884  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123885  ecode2 = SWIG_AsVal_bool(obj1, &val2);
123886  if (!SWIG_IsOK(ecode2)) {
123887  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPID_AntiResetWindup" "', argument " "2"" of type '" "bool""'");
123888  }
123889  arg2 = static_cast< bool >(val2);
123890  (arg1)->AntiResetWindup(arg2);
123891  resultobj = SWIG_Py_Void();
123892  return resultobj;
123893 fail:
123894  return NULL;
123895 }
123896 
123897 
123898 SWIGINTERN PyObject *_wrap_CStdPID_AntiResetWindup__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123899  PyObject *resultobj = 0;
123900  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123901  void *argp1 = 0 ;
123902  int res1 = 0 ;
123903  PyObject * obj0 = 0 ;
123904  bool result;
123905 
123906  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_AntiResetWindup",&obj0)) SWIG_fail;
123907  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123908  if (!SWIG_IsOK(res1)) {
123909  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_AntiResetWindup" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123910  }
123911  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123912  result = (bool)(arg1)->AntiResetWindup();
123913  resultobj = SWIG_From_bool(static_cast< bool >(result));
123914  return resultobj;
123915 fail:
123916  return NULL;
123917 }
123918 
123919 
123920 SWIGINTERN PyObject *_wrap_CStdPID_AntiResetWindup(PyObject *self, PyObject *args) {
123921  int argc;
123922  PyObject *argv[3];
123923  int ii;
123924 
123925  if (!PyTuple_Check(args)) SWIG_fail;
123926  argc = args ? (int)PyObject_Length(args) : 0;
123927  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
123928  argv[ii] = PyTuple_GET_ITEM(args,ii);
123929  }
123930  if (argc == 1) {
123931  int _v;
123932  void *vptr = 0;
123933  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
123934  _v = SWIG_CheckState(res);
123935  if (_v) {
123936  return _wrap_CStdPID_AntiResetWindup__SWIG_1(self, args);
123937  }
123938  }
123939  if (argc == 2) {
123940  int _v;
123941  void *vptr = 0;
123942  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
123943  _v = SWIG_CheckState(res);
123944  if (_v) {
123945  {
123946  int res = SWIG_AsVal_bool(argv[1], NULL);
123947  _v = SWIG_CheckState(res);
123948  }
123949  if (_v) {
123950  return _wrap_CStdPID_AntiResetWindup__SWIG_0(self, args);
123951  }
123952  }
123953  }
123954 
123955 fail:
123956  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPID_AntiResetWindup'.\n"
123957  " Possible C/C++ prototypes are:\n"
123958  " StdUtils::CStdPID::AntiResetWindup(bool)\n"
123959  " StdUtils::CStdPID::AntiResetWindup()\n");
123960  return 0;
123961 }
123962 
123963 
123964 SWIGINTERN PyObject *_wrap_CStdPID_RampLimit__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123965  PyObject *resultobj = 0;
123966  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123967  bool arg2 ;
123968  void *argp1 = 0 ;
123969  int res1 = 0 ;
123970  bool val2 ;
123971  int ecode2 = 0 ;
123972  PyObject * obj0 = 0 ;
123973  PyObject * obj1 = 0 ;
123974 
123975  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPID_RampLimit",&obj0,&obj1)) SWIG_fail;
123976  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
123977  if (!SWIG_IsOK(res1)) {
123978  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_RampLimit" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
123979  }
123980  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
123981  ecode2 = SWIG_AsVal_bool(obj1, &val2);
123982  if (!SWIG_IsOK(ecode2)) {
123983  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPID_RampLimit" "', argument " "2"" of type '" "bool""'");
123984  }
123985  arg2 = static_cast< bool >(val2);
123986  (arg1)->RampLimit(arg2);
123987  resultobj = SWIG_Py_Void();
123988  return resultobj;
123989 fail:
123990  return NULL;
123991 }
123992 
123993 
123994 SWIGINTERN PyObject *_wrap_CStdPID_RampLimit__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
123995  PyObject *resultobj = 0;
123996  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
123997  void *argp1 = 0 ;
123998  int res1 = 0 ;
123999  PyObject * obj0 = 0 ;
124000  bool result;
124001 
124002  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_RampLimit",&obj0)) SWIG_fail;
124003  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
124004  if (!SWIG_IsOK(res1)) {
124005  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_RampLimit" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
124006  }
124007  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
124008  result = (bool)(arg1)->RampLimit();
124009  resultobj = SWIG_From_bool(static_cast< bool >(result));
124010  return resultobj;
124011 fail:
124012  return NULL;
124013 }
124014 
124015 
124016 SWIGINTERN PyObject *_wrap_CStdPID_RampLimit(PyObject *self, PyObject *args) {
124017  int argc;
124018  PyObject *argv[3];
124019  int ii;
124020 
124021  if (!PyTuple_Check(args)) SWIG_fail;
124022  argc = args ? (int)PyObject_Length(args) : 0;
124023  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
124024  argv[ii] = PyTuple_GET_ITEM(args,ii);
124025  }
124026  if (argc == 1) {
124027  int _v;
124028  void *vptr = 0;
124029  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
124030  _v = SWIG_CheckState(res);
124031  if (_v) {
124032  return _wrap_CStdPID_RampLimit__SWIG_1(self, args);
124033  }
124034  }
124035  if (argc == 2) {
124036  int _v;
124037  void *vptr = 0;
124038  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
124039  _v = SWIG_CheckState(res);
124040  if (_v) {
124041  {
124042  int res = SWIG_AsVal_bool(argv[1], NULL);
124043  _v = SWIG_CheckState(res);
124044  }
124045  if (_v) {
124046  return _wrap_CStdPID_RampLimit__SWIG_0(self, args);
124047  }
124048  }
124049  }
124050 
124051 fail:
124052  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPID_RampLimit'.\n"
124053  " Possible C/C++ prototypes are:\n"
124054  " StdUtils::CStdPID::RampLimit(bool)\n"
124055  " StdUtils::CStdPID::RampLimit()\n");
124056  return 0;
124057 }
124058 
124059 
124060 SWIGINTERN PyObject *_wrap_CStdPID_RangeMax__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124061  PyObject *resultobj = 0;
124062  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
124063  float arg2 ;
124064  void *argp1 = 0 ;
124065  int res1 = 0 ;
124066  float val2 ;
124067  int ecode2 = 0 ;
124068  PyObject * obj0 = 0 ;
124069  PyObject * obj1 = 0 ;
124070 
124071  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPID_RangeMax",&obj0,&obj1)) SWIG_fail;
124072  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
124073  if (!SWIG_IsOK(res1)) {
124074  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_RangeMax" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
124075  }
124076  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
124077  ecode2 = SWIG_AsVal_float(obj1, &val2);
124078  if (!SWIG_IsOK(ecode2)) {
124079  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPID_RangeMax" "', argument " "2"" of type '" "float""'");
124080  }
124081  arg2 = static_cast< float >(val2);
124082  (arg1)->RangeMax(arg2);
124083  resultobj = SWIG_Py_Void();
124084  return resultobj;
124085 fail:
124086  return NULL;
124087 }
124088 
124089 
124090 SWIGINTERN PyObject *_wrap_CStdPID_RangeMax__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124091  PyObject *resultobj = 0;
124092  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
124093  void *argp1 = 0 ;
124094  int res1 = 0 ;
124095  PyObject * obj0 = 0 ;
124096  float result;
124097 
124098  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_RangeMax",&obj0)) SWIG_fail;
124099  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
124100  if (!SWIG_IsOK(res1)) {
124101  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_RangeMax" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
124102  }
124103  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
124104  result = (float)(arg1)->RangeMax();
124105  resultobj = SWIG_From_float(static_cast< float >(result));
124106  return resultobj;
124107 fail:
124108  return NULL;
124109 }
124110 
124111 
124112 SWIGINTERN PyObject *_wrap_CStdPID_RangeMax(PyObject *self, PyObject *args) {
124113  int argc;
124114  PyObject *argv[3];
124115  int ii;
124116 
124117  if (!PyTuple_Check(args)) SWIG_fail;
124118  argc = args ? (int)PyObject_Length(args) : 0;
124119  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
124120  argv[ii] = PyTuple_GET_ITEM(args,ii);
124121  }
124122  if (argc == 1) {
124123  int _v;
124124  void *vptr = 0;
124125  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
124126  _v = SWIG_CheckState(res);
124127  if (_v) {
124128  return _wrap_CStdPID_RangeMax__SWIG_1(self, args);
124129  }
124130  }
124131  if (argc == 2) {
124132  int _v;
124133  void *vptr = 0;
124134  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
124135  _v = SWIG_CheckState(res);
124136  if (_v) {
124137  {
124138  int res = SWIG_AsVal_float(argv[1], NULL);
124139  _v = SWIG_CheckState(res);
124140  }
124141  if (_v) {
124142  return _wrap_CStdPID_RangeMax__SWIG_0(self, args);
124143  }
124144  }
124145  }
124146 
124147 fail:
124148  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPID_RangeMax'.\n"
124149  " Possible C/C++ prototypes are:\n"
124150  " StdUtils::CStdPID::RangeMax(float)\n"
124151  " StdUtils::CStdPID::RangeMax()\n");
124152  return 0;
124153 }
124154 
124155 
124156 SWIGINTERN PyObject *_wrap_CStdPID_RangeMin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124157  PyObject *resultobj = 0;
124158  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
124159  float arg2 ;
124160  void *argp1 = 0 ;
124161  int res1 = 0 ;
124162  float val2 ;
124163  int ecode2 = 0 ;
124164  PyObject * obj0 = 0 ;
124165  PyObject * obj1 = 0 ;
124166 
124167  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPID_RangeMin",&obj0,&obj1)) SWIG_fail;
124168  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
124169  if (!SWIG_IsOK(res1)) {
124170  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_RangeMin" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
124171  }
124172  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
124173  ecode2 = SWIG_AsVal_float(obj1, &val2);
124174  if (!SWIG_IsOK(ecode2)) {
124175  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPID_RangeMin" "', argument " "2"" of type '" "float""'");
124176  }
124177  arg2 = static_cast< float >(val2);
124178  (arg1)->RangeMin(arg2);
124179  resultobj = SWIG_Py_Void();
124180  return resultobj;
124181 fail:
124182  return NULL;
124183 }
124184 
124185 
124186 SWIGINTERN PyObject *_wrap_CStdPID_RangeMin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124187  PyObject *resultobj = 0;
124188  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
124189  void *argp1 = 0 ;
124190  int res1 = 0 ;
124191  PyObject * obj0 = 0 ;
124192  float result;
124193 
124194  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_RangeMin",&obj0)) SWIG_fail;
124195  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
124196  if (!SWIG_IsOK(res1)) {
124197  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_RangeMin" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
124198  }
124199  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
124200  result = (float)(arg1)->RangeMin();
124201  resultobj = SWIG_From_float(static_cast< float >(result));
124202  return resultobj;
124203 fail:
124204  return NULL;
124205 }
124206 
124207 
124208 SWIGINTERN PyObject *_wrap_CStdPID_RangeMin(PyObject *self, PyObject *args) {
124209  int argc;
124210  PyObject *argv[3];
124211  int ii;
124212 
124213  if (!PyTuple_Check(args)) SWIG_fail;
124214  argc = args ? (int)PyObject_Length(args) : 0;
124215  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
124216  argv[ii] = PyTuple_GET_ITEM(args,ii);
124217  }
124218  if (argc == 1) {
124219  int _v;
124220  void *vptr = 0;
124221  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
124222  _v = SWIG_CheckState(res);
124223  if (_v) {
124224  return _wrap_CStdPID_RangeMin__SWIG_1(self, args);
124225  }
124226  }
124227  if (argc == 2) {
124228  int _v;
124229  void *vptr = 0;
124230  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
124231  _v = SWIG_CheckState(res);
124232  if (_v) {
124233  {
124234  int res = SWIG_AsVal_float(argv[1], NULL);
124235  _v = SWIG_CheckState(res);
124236  }
124237  if (_v) {
124238  return _wrap_CStdPID_RangeMin__SWIG_0(self, args);
124239  }
124240  }
124241  }
124242 
124243 fail:
124244  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPID_RangeMin'.\n"
124245  " Possible C/C++ prototypes are:\n"
124246  " StdUtils::CStdPID::RangeMin(float)\n"
124247  " StdUtils::CStdPID::RangeMin()\n");
124248  return 0;
124249 }
124250 
124251 
124252 SWIGINTERN PyObject *_wrap_CStdPID_Range(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124253  PyObject *resultobj = 0;
124254  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
124255  void *argp1 = 0 ;
124256  int res1 = 0 ;
124257  PyObject * obj0 = 0 ;
124258  float result;
124259 
124260  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_Range",&obj0)) SWIG_fail;
124261  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
124262  if (!SWIG_IsOK(res1)) {
124263  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_Range" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
124264  }
124265  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
124266  result = (float)(arg1)->Range();
124267  resultobj = SWIG_From_float(static_cast< float >(result));
124268  return resultobj;
124269 fail:
124270  return NULL;
124271 }
124272 
124273 
124274 SWIGINTERN PyObject *_wrap_CStdPID_ARWBound__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124275  PyObject *resultobj = 0;
124276  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
124277  float arg2 ;
124278  void *argp1 = 0 ;
124279  int res1 = 0 ;
124280  float val2 ;
124281  int ecode2 = 0 ;
124282  PyObject * obj0 = 0 ;
124283  PyObject * obj1 = 0 ;
124284 
124285  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPID_ARWBound",&obj0,&obj1)) SWIG_fail;
124286  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
124287  if (!SWIG_IsOK(res1)) {
124288  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_ARWBound" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
124289  }
124290  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
124291  ecode2 = SWIG_AsVal_float(obj1, &val2);
124292  if (!SWIG_IsOK(ecode2)) {
124293  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPID_ARWBound" "', argument " "2"" of type '" "float""'");
124294  }
124295  arg2 = static_cast< float >(val2);
124296  (arg1)->ARWBound(arg2);
124297  resultobj = SWIG_Py_Void();
124298  return resultobj;
124299 fail:
124300  return NULL;
124301 }
124302 
124303 
124304 SWIGINTERN PyObject *_wrap_CStdPID_ARWBound__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124305  PyObject *resultobj = 0;
124306  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
124307  void *argp1 = 0 ;
124308  int res1 = 0 ;
124309  PyObject * obj0 = 0 ;
124310  float result;
124311 
124312  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_ARWBound",&obj0)) SWIG_fail;
124313  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
124314  if (!SWIG_IsOK(res1)) {
124315  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_ARWBound" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
124316  }
124317  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
124318  result = (float)(arg1)->ARWBound();
124319  resultobj = SWIG_From_float(static_cast< float >(result));
124320  return resultobj;
124321 fail:
124322  return NULL;
124323 }
124324 
124325 
124326 SWIGINTERN PyObject *_wrap_CStdPID_ARWBound(PyObject *self, PyObject *args) {
124327  int argc;
124328  PyObject *argv[3];
124329  int ii;
124330 
124331  if (!PyTuple_Check(args)) SWIG_fail;
124332  argc = args ? (int)PyObject_Length(args) : 0;
124333  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
124334  argv[ii] = PyTuple_GET_ITEM(args,ii);
124335  }
124336  if (argc == 1) {
124337  int _v;
124338  void *vptr = 0;
124339  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
124340  _v = SWIG_CheckState(res);
124341  if (_v) {
124342  return _wrap_CStdPID_ARWBound__SWIG_1(self, args);
124343  }
124344  }
124345  if (argc == 2) {
124346  int _v;
124347  void *vptr = 0;
124348  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
124349  _v = SWIG_CheckState(res);
124350  if (_v) {
124351  {
124352  int res = SWIG_AsVal_float(argv[1], NULL);
124353  _v = SWIG_CheckState(res);
124354  }
124355  if (_v) {
124356  return _wrap_CStdPID_ARWBound__SWIG_0(self, args);
124357  }
124358  }
124359  }
124360 
124361 fail:
124362  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPID_ARWBound'.\n"
124363  " Possible C/C++ prototypes are:\n"
124364  " StdUtils::CStdPID::ARWBound(float)\n"
124365  " StdUtils::CStdPID::ARWBound()\n");
124366  return 0;
124367 }
124368 
124369 
124370 SWIGINTERN PyObject *_wrap_CStdPID_RampGradient__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124371  PyObject *resultobj = 0;
124372  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
124373  float arg2 ;
124374  void *argp1 = 0 ;
124375  int res1 = 0 ;
124376  float val2 ;
124377  int ecode2 = 0 ;
124378  PyObject * obj0 = 0 ;
124379  PyObject * obj1 = 0 ;
124380 
124381  if (!PyArg_ParseTuple(args,(char *)"OO:CStdPID_RampGradient",&obj0,&obj1)) SWIG_fail;
124382  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
124383  if (!SWIG_IsOK(res1)) {
124384  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_RampGradient" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
124385  }
124386  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
124387  ecode2 = SWIG_AsVal_float(obj1, &val2);
124388  if (!SWIG_IsOK(ecode2)) {
124389  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPID_RampGradient" "', argument " "2"" of type '" "float""'");
124390  }
124391  arg2 = static_cast< float >(val2);
124392  (arg1)->RampGradient(arg2);
124393  resultobj = SWIG_Py_Void();
124394  return resultobj;
124395 fail:
124396  return NULL;
124397 }
124398 
124399 
124400 SWIGINTERN PyObject *_wrap_CStdPID_RampGradient__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124401  PyObject *resultobj = 0;
124402  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
124403  void *argp1 = 0 ;
124404  int res1 = 0 ;
124405  PyObject * obj0 = 0 ;
124406  float result;
124407 
124408  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_RampGradient",&obj0)) SWIG_fail;
124409  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
124410  if (!SWIG_IsOK(res1)) {
124411  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_RampGradient" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
124412  }
124413  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
124414  result = (float)(arg1)->RampGradient();
124415  resultobj = SWIG_From_float(static_cast< float >(result));
124416  return resultobj;
124417 fail:
124418  return NULL;
124419 }
124420 
124421 
124422 SWIGINTERN PyObject *_wrap_CStdPID_RampGradient(PyObject *self, PyObject *args) {
124423  int argc;
124424  PyObject *argv[3];
124425  int ii;
124426 
124427  if (!PyTuple_Check(args)) SWIG_fail;
124428  argc = args ? (int)PyObject_Length(args) : 0;
124429  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
124430  argv[ii] = PyTuple_GET_ITEM(args,ii);
124431  }
124432  if (argc == 1) {
124433  int _v;
124434  void *vptr = 0;
124435  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
124436  _v = SWIG_CheckState(res);
124437  if (_v) {
124438  return _wrap_CStdPID_RampGradient__SWIG_1(self, args);
124439  }
124440  }
124441  if (argc == 2) {
124442  int _v;
124443  void *vptr = 0;
124444  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_StdUtils__CStdPID, 0);
124445  _v = SWIG_CheckState(res);
124446  if (_v) {
124447  {
124448  int res = SWIG_AsVal_float(argv[1], NULL);
124449  _v = SWIG_CheckState(res);
124450  }
124451  if (_v) {
124452  return _wrap_CStdPID_RampGradient__SWIG_0(self, args);
124453  }
124454  }
124455  }
124456 
124457 fail:
124458  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CStdPID_RampGradient'.\n"
124459  " Possible C/C++ prototypes are:\n"
124460  " StdUtils::CStdPID::RampGradient(float)\n"
124461  " StdUtils::CStdPID::RampGradient()\n");
124462  return 0;
124463 }
124464 
124465 
124466 SWIGINTERN PyObject *_wrap_CStdPID_ResetVars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124467  PyObject *resultobj = 0;
124468  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
124469  void *argp1 = 0 ;
124470  int res1 = 0 ;
124471  PyObject * obj0 = 0 ;
124472 
124473  if (!PyArg_ParseTuple(args,(char *)"O:CStdPID_ResetVars",&obj0)) SWIG_fail;
124474  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
124475  if (!SWIG_IsOK(res1)) {
124476  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_ResetVars" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
124477  }
124478  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
124479  (arg1)->ResetVars();
124480  resultobj = SWIG_Py_Void();
124481  return resultobj;
124482 fail:
124483  return NULL;
124484 }
124485 
124486 
124487 SWIGINTERN PyObject *_wrap_CStdPID_Calculate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124488  PyObject *resultobj = 0;
124489  StdUtils::CStdPID *arg1 = (StdUtils::CStdPID *) 0 ;
124490  float arg2 ;
124491  float arg3 ;
124492  void *argp1 = 0 ;
124493  int res1 = 0 ;
124494  float val2 ;
124495  int ecode2 = 0 ;
124496  float val3 ;
124497  int ecode3 = 0 ;
124498  PyObject * obj0 = 0 ;
124499  PyObject * obj1 = 0 ;
124500  PyObject * obj2 = 0 ;
124501  float result;
124502 
124503  if (!PyArg_ParseTuple(args,(char *)"OOO:CStdPID_Calculate",&obj0,&obj1,&obj2)) SWIG_fail;
124504  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
124505  if (!SWIG_IsOK(res1)) {
124506  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CStdPID_Calculate" "', argument " "1"" of type '" "StdUtils::CStdPID *""'");
124507  }
124508  arg1 = reinterpret_cast< StdUtils::CStdPID * >(argp1);
124509  ecode2 = SWIG_AsVal_float(obj1, &val2);
124510  if (!SWIG_IsOK(ecode2)) {
124511  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CStdPID_Calculate" "', argument " "2"" of type '" "float""'");
124512  }
124513  arg2 = static_cast< float >(val2);
124514  ecode3 = SWIG_AsVal_float(obj2, &val3);
124515  if (!SWIG_IsOK(ecode3)) {
124516  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CStdPID_Calculate" "', argument " "3"" of type '" "float""'");
124517  }
124518  arg3 = static_cast< float >(val3);
124519  result = (float)(arg1)->Calculate(arg2,arg3);
124520  resultobj = SWIG_From_float(static_cast< float >(result));
124521  return resultobj;
124522 fail:
124523  return NULL;
124524 }
124525 
124526 
124527 SWIGINTERN PyObject *CStdPID_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124528  PyObject *obj;
124529  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
124530  SWIG_TypeNewClientData(SWIGTYPE_p_StdUtils__CStdPID, SWIG_NewClientData(obj));
124531  return SWIG_Py_Void();
124532 }
124533 
124534 SWIGINTERN PyObject *_wrap_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124535  PyObject *resultobj = 0;
124536  std::string arg1 ;
124537  std::string arg2 ;
124538  PyObject * obj0 = 0 ;
124539  PyObject * obj1 = 0 ;
124540  std::string result;
124541 
124542  if (!PyArg_ParseTuple(args,(char *)"OO:GetFilePath",&obj0,&obj1)) SWIG_fail;
124543  {
124544  std::string *ptr = (std::string *)0;
124545  int res = SWIG_AsPtr_std_string(obj0, &ptr);
124546  if (!SWIG_IsOK(res) || !ptr) {
124547  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "GetFilePath" "', argument " "1"" of type '" "std::string""'");
124548  }
124549  arg1 = *ptr;
124550  if (SWIG_IsNewObj(res)) delete ptr;
124551  }
124552  {
124553  std::string *ptr = (std::string *)0;
124554  int res = SWIG_AsPtr_std_string(obj1, &ptr);
124555  if (!SWIG_IsOK(res) || !ptr) {
124556  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "GetFilePath" "', argument " "2"" of type '" "std::string""'");
124557  }
124558  arg2 = *ptr;
124559  if (SWIG_IsNewObj(res)) delete ptr;
124560  }
124561  {
124562  try {
124563  result = AnimatSim::GetFilePath(arg1,arg2);
124564  }
124565  catch(CStdErrorInfo oError)
124566  {
124567  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124568  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
124569  PyErr_SetString(PyExc_IndexError, strError.c_str());
124570  SWIG_fail;
124571  }
124572  catch(...)
124573  {
124574  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124575  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
124576  SWIG_fail;
124577  }
124578  }
124579  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
124580  return resultobj;
124581 fail:
124582  return NULL;
124583 }
124584 
124585 
124586 SWIGINTERN PyObject *_wrap_delete_IMovableItemCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124587  PyObject *resultobj = 0;
124589  void *argp1 = 0 ;
124590  int res1 = 0 ;
124591  PyObject * obj0 = 0 ;
124592 
124593  if (!PyArg_ParseTuple(args,(char *)"O:delete_IMovableItemCallback",&obj0)) SWIG_fail;
124594  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__IMovableItemCallback, SWIG_POINTER_DISOWN | 0 );
124595  if (!SWIG_IsOK(res1)) {
124596  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IMovableItemCallback" "', argument " "1"" of type '" "AnimatSim::IMovableItemCallback *""'");
124597  }
124598  arg1 = reinterpret_cast< AnimatSim::IMovableItemCallback * >(argp1);
124599  {
124600  try {
124601  delete arg1;
124602  }
124603  catch(CStdErrorInfo oError)
124604  {
124605  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124606  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
124607  PyErr_SetString(PyExc_IndexError, strError.c_str());
124608  SWIG_fail;
124609  }
124610  catch(...)
124611  {
124612  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124613  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
124614  SWIG_fail;
124615  }
124616  }
124617  resultobj = SWIG_Py_Void();
124618  return resultobj;
124619 fail:
124620  return NULL;
124621 }
124622 
124623 
124624 SWIGINTERN PyObject *_wrap_IMovableItemCallback_PositionChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124625  PyObject *resultobj = 0;
124627  void *argp1 = 0 ;
124628  int res1 = 0 ;
124629  PyObject * obj0 = 0 ;
124630 
124631  if (!PyArg_ParseTuple(args,(char *)"O:IMovableItemCallback_PositionChanged",&obj0)) SWIG_fail;
124632  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__IMovableItemCallback, 0 | 0 );
124633  if (!SWIG_IsOK(res1)) {
124634  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IMovableItemCallback_PositionChanged" "', argument " "1"" of type '" "AnimatSim::IMovableItemCallback *""'");
124635  }
124636  arg1 = reinterpret_cast< AnimatSim::IMovableItemCallback * >(argp1);
124637  {
124638  try {
124639  (arg1)->PositionChanged();
124640  }
124641  catch(CStdErrorInfo oError)
124642  {
124643  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124644  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
124645  PyErr_SetString(PyExc_IndexError, strError.c_str());
124646  SWIG_fail;
124647  }
124648  catch(...)
124649  {
124650  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124651  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
124652  SWIG_fail;
124653  }
124654  }
124655  resultobj = SWIG_Py_Void();
124656  return resultobj;
124657 fail:
124658  return NULL;
124659 }
124660 
124661 
124662 SWIGINTERN PyObject *_wrap_IMovableItemCallback_RotationChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124663  PyObject *resultobj = 0;
124665  void *argp1 = 0 ;
124666  int res1 = 0 ;
124667  PyObject * obj0 = 0 ;
124668 
124669  if (!PyArg_ParseTuple(args,(char *)"O:IMovableItemCallback_RotationChanged",&obj0)) SWIG_fail;
124670  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__IMovableItemCallback, 0 | 0 );
124671  if (!SWIG_IsOK(res1)) {
124672  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IMovableItemCallback_RotationChanged" "', argument " "1"" of type '" "AnimatSim::IMovableItemCallback *""'");
124673  }
124674  arg1 = reinterpret_cast< AnimatSim::IMovableItemCallback * >(argp1);
124675  {
124676  try {
124677  (arg1)->RotationChanged();
124678  }
124679  catch(CStdErrorInfo oError)
124680  {
124681  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124682  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
124683  PyErr_SetString(PyExc_IndexError, strError.c_str());
124684  SWIG_fail;
124685  }
124686  catch(...)
124687  {
124688  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124689  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
124690  SWIG_fail;
124691  }
124692  }
124693  resultobj = SWIG_Py_Void();
124694  return resultobj;
124695 fail:
124696  return NULL;
124697 }
124698 
124699 
124700 SWIGINTERN PyObject *_wrap_IMovableItemCallback_SizeChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124701  PyObject *resultobj = 0;
124703  void *argp1 = 0 ;
124704  int res1 = 0 ;
124705  PyObject * obj0 = 0 ;
124706 
124707  if (!PyArg_ParseTuple(args,(char *)"O:IMovableItemCallback_SizeChanged",&obj0)) SWIG_fail;
124708  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__IMovableItemCallback, 0 | 0 );
124709  if (!SWIG_IsOK(res1)) {
124710  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IMovableItemCallback_SizeChanged" "', argument " "1"" of type '" "AnimatSim::IMovableItemCallback *""'");
124711  }
124712  arg1 = reinterpret_cast< AnimatSim::IMovableItemCallback * >(argp1);
124713  {
124714  try {
124715  (arg1)->SizeChanged();
124716  }
124717  catch(CStdErrorInfo oError)
124718  {
124719  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124720  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
124721  PyErr_SetString(PyExc_IndexError, strError.c_str());
124722  SWIG_fail;
124723  }
124724  catch(...)
124725  {
124726  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124727  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
124728  SWIG_fail;
124729  }
124730  }
124731  resultobj = SWIG_Py_Void();
124732  return resultobj;
124733 fail:
124734  return NULL;
124735 }
124736 
124737 
124738 SWIGINTERN PyObject *_wrap_IMovableItemCallback_SelectionChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124739  PyObject *resultobj = 0;
124741  bool arg2 ;
124742  bool arg3 ;
124743  void *argp1 = 0 ;
124744  int res1 = 0 ;
124745  bool val2 ;
124746  int ecode2 = 0 ;
124747  bool val3 ;
124748  int ecode3 = 0 ;
124749  PyObject * obj0 = 0 ;
124750  PyObject * obj1 = 0 ;
124751  PyObject * obj2 = 0 ;
124752 
124753  if (!PyArg_ParseTuple(args,(char *)"OOO:IMovableItemCallback_SelectionChanged",&obj0,&obj1,&obj2)) SWIG_fail;
124754  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__IMovableItemCallback, 0 | 0 );
124755  if (!SWIG_IsOK(res1)) {
124756  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IMovableItemCallback_SelectionChanged" "', argument " "1"" of type '" "AnimatSim::IMovableItemCallback *""'");
124757  }
124758  arg1 = reinterpret_cast< AnimatSim::IMovableItemCallback * >(argp1);
124759  ecode2 = SWIG_AsVal_bool(obj1, &val2);
124760  if (!SWIG_IsOK(ecode2)) {
124761  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IMovableItemCallback_SelectionChanged" "', argument " "2"" of type '" "bool""'");
124762  }
124763  arg2 = static_cast< bool >(val2);
124764  ecode3 = SWIG_AsVal_bool(obj2, &val3);
124765  if (!SWIG_IsOK(ecode3)) {
124766  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IMovableItemCallback_SelectionChanged" "', argument " "3"" of type '" "bool""'");
124767  }
124768  arg3 = static_cast< bool >(val3);
124769  {
124770  try {
124771  (arg1)->SelectionChanged(arg2,arg3);
124772  }
124773  catch(CStdErrorInfo oError)
124774  {
124775  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124776  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
124777  PyErr_SetString(PyExc_IndexError, strError.c_str());
124778  SWIG_fail;
124779  }
124780  catch(...)
124781  {
124782  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124783  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
124784  SWIG_fail;
124785  }
124786  }
124787  resultobj = SWIG_Py_Void();
124788  return resultobj;
124789 fail:
124790  return NULL;
124791 }
124792 
124793 
124794 SWIGINTERN PyObject *_wrap_IMovableItemCallback_AddBodyClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124795  PyObject *resultobj = 0;
124797  float arg2 ;
124798  float arg3 ;
124799  float arg4 ;
124800  float arg5 ;
124801  float arg6 ;
124802  float arg7 ;
124803  void *argp1 = 0 ;
124804  int res1 = 0 ;
124805  float val2 ;
124806  int ecode2 = 0 ;
124807  float val3 ;
124808  int ecode3 = 0 ;
124809  float val4 ;
124810  int ecode4 = 0 ;
124811  float val5 ;
124812  int ecode5 = 0 ;
124813  float val6 ;
124814  int ecode6 = 0 ;
124815  float val7 ;
124816  int ecode7 = 0 ;
124817  PyObject * obj0 = 0 ;
124818  PyObject * obj1 = 0 ;
124819  PyObject * obj2 = 0 ;
124820  PyObject * obj3 = 0 ;
124821  PyObject * obj4 = 0 ;
124822  PyObject * obj5 = 0 ;
124823  PyObject * obj6 = 0 ;
124824 
124825  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:IMovableItemCallback_AddBodyClicked",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
124826  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__IMovableItemCallback, 0 | 0 );
124827  if (!SWIG_IsOK(res1)) {
124828  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IMovableItemCallback_AddBodyClicked" "', argument " "1"" of type '" "AnimatSim::IMovableItemCallback *""'");
124829  }
124830  arg1 = reinterpret_cast< AnimatSim::IMovableItemCallback * >(argp1);
124831  ecode2 = SWIG_AsVal_float(obj1, &val2);
124832  if (!SWIG_IsOK(ecode2)) {
124833  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IMovableItemCallback_AddBodyClicked" "', argument " "2"" of type '" "float""'");
124834  }
124835  arg2 = static_cast< float >(val2);
124836  ecode3 = SWIG_AsVal_float(obj2, &val3);
124837  if (!SWIG_IsOK(ecode3)) {
124838  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IMovableItemCallback_AddBodyClicked" "', argument " "3"" of type '" "float""'");
124839  }
124840  arg3 = static_cast< float >(val3);
124841  ecode4 = SWIG_AsVal_float(obj3, &val4);
124842  if (!SWIG_IsOK(ecode4)) {
124843  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IMovableItemCallback_AddBodyClicked" "', argument " "4"" of type '" "float""'");
124844  }
124845  arg4 = static_cast< float >(val4);
124846  ecode5 = SWIG_AsVal_float(obj4, &val5);
124847  if (!SWIG_IsOK(ecode5)) {
124848  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "IMovableItemCallback_AddBodyClicked" "', argument " "5"" of type '" "float""'");
124849  }
124850  arg5 = static_cast< float >(val5);
124851  ecode6 = SWIG_AsVal_float(obj5, &val6);
124852  if (!SWIG_IsOK(ecode6)) {
124853  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "IMovableItemCallback_AddBodyClicked" "', argument " "6"" of type '" "float""'");
124854  }
124855  arg6 = static_cast< float >(val6);
124856  ecode7 = SWIG_AsVal_float(obj6, &val7);
124857  if (!SWIG_IsOK(ecode7)) {
124858  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "IMovableItemCallback_AddBodyClicked" "', argument " "7"" of type '" "float""'");
124859  }
124860  arg7 = static_cast< float >(val7);
124861  {
124862  try {
124863  (arg1)->AddBodyClicked(arg2,arg3,arg4,arg5,arg6,arg7);
124864  }
124865  catch(CStdErrorInfo oError)
124866  {
124867  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124868  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
124869  PyErr_SetString(PyExc_IndexError, strError.c_str());
124870  SWIG_fail;
124871  }
124872  catch(...)
124873  {
124874  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124875  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
124876  SWIG_fail;
124877  }
124878  }
124879  resultobj = SWIG_Py_Void();
124880  return resultobj;
124881 fail:
124882  return NULL;
124883 }
124884 
124885 
124886 SWIGINTERN PyObject *_wrap_IMovableItemCallback_SelectedVertexChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124887  PyObject *resultobj = 0;
124889  float arg2 ;
124890  float arg3 ;
124891  float arg4 ;
124892  void *argp1 = 0 ;
124893  int res1 = 0 ;
124894  float val2 ;
124895  int ecode2 = 0 ;
124896  float val3 ;
124897  int ecode3 = 0 ;
124898  float val4 ;
124899  int ecode4 = 0 ;
124900  PyObject * obj0 = 0 ;
124901  PyObject * obj1 = 0 ;
124902  PyObject * obj2 = 0 ;
124903  PyObject * obj3 = 0 ;
124904 
124905  if (!PyArg_ParseTuple(args,(char *)"OOOO:IMovableItemCallback_SelectedVertexChanged",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
124906  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__IMovableItemCallback, 0 | 0 );
124907  if (!SWIG_IsOK(res1)) {
124908  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IMovableItemCallback_SelectedVertexChanged" "', argument " "1"" of type '" "AnimatSim::IMovableItemCallback *""'");
124909  }
124910  arg1 = reinterpret_cast< AnimatSim::IMovableItemCallback * >(argp1);
124911  ecode2 = SWIG_AsVal_float(obj1, &val2);
124912  if (!SWIG_IsOK(ecode2)) {
124913  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IMovableItemCallback_SelectedVertexChanged" "', argument " "2"" of type '" "float""'");
124914  }
124915  arg2 = static_cast< float >(val2);
124916  ecode3 = SWIG_AsVal_float(obj2, &val3);
124917  if (!SWIG_IsOK(ecode3)) {
124918  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IMovableItemCallback_SelectedVertexChanged" "', argument " "3"" of type '" "float""'");
124919  }
124920  arg3 = static_cast< float >(val3);
124921  ecode4 = SWIG_AsVal_float(obj3, &val4);
124922  if (!SWIG_IsOK(ecode4)) {
124923  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IMovableItemCallback_SelectedVertexChanged" "', argument " "4"" of type '" "float""'");
124924  }
124925  arg4 = static_cast< float >(val4);
124926  {
124927  try {
124928  (arg1)->SelectedVertexChanged(arg2,arg3,arg4);
124929  }
124930  catch(CStdErrorInfo oError)
124931  {
124932  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124933  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
124934  PyErr_SetString(PyExc_IndexError, strError.c_str());
124935  SWIG_fail;
124936  }
124937  catch(...)
124938  {
124939  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124940  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
124941  SWIG_fail;
124942  }
124943  }
124944  resultobj = SWIG_Py_Void();
124945  return resultobj;
124946 fail:
124947  return NULL;
124948 }
124949 
124950 
124951 SWIGINTERN PyObject *IMovableItemCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124952  PyObject *obj;
124953  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
124954  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__IMovableItemCallback, SWIG_NewClientData(obj));
124955  return SWIG_Py_Void();
124956 }
124957 
124958 SWIGINTERN PyObject *_wrap_delete_IMotorizedJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124959  PyObject *resultobj = 0;
124961  void *argp1 = 0 ;
124962  int res1 = 0 ;
124963  PyObject * obj0 = 0 ;
124964 
124965  if (!PyArg_ParseTuple(args,(char *)"O:delete_IMotorizedJoint",&obj0)) SWIG_fail;
124966  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IMotorizedJoint, SWIG_POINTER_DISOWN | 0 );
124967  if (!SWIG_IsOK(res1)) {
124968  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IMotorizedJoint" "', argument " "1"" of type '" "AnimatSim::Environment::IMotorizedJoint *""'");
124969  }
124970  arg1 = reinterpret_cast< AnimatSim::Environment::IMotorizedJoint * >(argp1);
124971  {
124972  try {
124973  delete arg1;
124974  }
124975  catch(CStdErrorInfo oError)
124976  {
124977  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124978  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
124979  PyErr_SetString(PyExc_IndexError, strError.c_str());
124980  SWIG_fail;
124981  }
124982  catch(...)
124983  {
124984  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
124985  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
124986  SWIG_fail;
124987  }
124988  }
124989  resultobj = SWIG_Py_Void();
124990  return resultobj;
124991 fail:
124992  return NULL;
124993 }
124994 
124995 
124996 SWIGINTERN PyObject *_wrap_IMotorizedJoint_Physics_SetVelocityToDesired(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
124997  PyObject *resultobj = 0;
124999  void *argp1 = 0 ;
125000  int res1 = 0 ;
125001  PyObject * obj0 = 0 ;
125002 
125003  if (!PyArg_ParseTuple(args,(char *)"O:IMotorizedJoint_Physics_SetVelocityToDesired",&obj0)) SWIG_fail;
125004  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IMotorizedJoint, 0 | 0 );
125005  if (!SWIG_IsOK(res1)) {
125006  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IMotorizedJoint_Physics_SetVelocityToDesired" "', argument " "1"" of type '" "AnimatSim::Environment::IMotorizedJoint *""'");
125007  }
125008  arg1 = reinterpret_cast< AnimatSim::Environment::IMotorizedJoint * >(argp1);
125009  {
125010  try {
125011  (arg1)->Physics_SetVelocityToDesired();
125012  }
125013  catch(CStdErrorInfo oError)
125014  {
125015  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125016  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125017  PyErr_SetString(PyExc_IndexError, strError.c_str());
125018  SWIG_fail;
125019  }
125020  catch(...)
125021  {
125022  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125023  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125024  SWIG_fail;
125025  }
125026  }
125027  resultobj = SWIG_Py_Void();
125028  return resultobj;
125029 fail:
125030  return NULL;
125031 }
125032 
125033 
125034 SWIGINTERN PyObject *_wrap_IMotorizedJoint_Physics_EnableLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125035  PyObject *resultobj = 0;
125037  bool arg2 ;
125038  float arg3 ;
125039  float arg4 ;
125040  void *argp1 = 0 ;
125041  int res1 = 0 ;
125042  bool val2 ;
125043  int ecode2 = 0 ;
125044  float val3 ;
125045  int ecode3 = 0 ;
125046  float val4 ;
125047  int ecode4 = 0 ;
125048  PyObject * obj0 = 0 ;
125049  PyObject * obj1 = 0 ;
125050  PyObject * obj2 = 0 ;
125051  PyObject * obj3 = 0 ;
125052 
125053  if (!PyArg_ParseTuple(args,(char *)"OOOO:IMotorizedJoint_Physics_EnableLock",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
125054  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IMotorizedJoint, 0 | 0 );
125055  if (!SWIG_IsOK(res1)) {
125056  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IMotorizedJoint_Physics_EnableLock" "', argument " "1"" of type '" "AnimatSim::Environment::IMotorizedJoint *""'");
125057  }
125058  arg1 = reinterpret_cast< AnimatSim::Environment::IMotorizedJoint * >(argp1);
125059  ecode2 = SWIG_AsVal_bool(obj1, &val2);
125060  if (!SWIG_IsOK(ecode2)) {
125061  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IMotorizedJoint_Physics_EnableLock" "', argument " "2"" of type '" "bool""'");
125062  }
125063  arg2 = static_cast< bool >(val2);
125064  ecode3 = SWIG_AsVal_float(obj2, &val3);
125065  if (!SWIG_IsOK(ecode3)) {
125066  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IMotorizedJoint_Physics_EnableLock" "', argument " "3"" of type '" "float""'");
125067  }
125068  arg3 = static_cast< float >(val3);
125069  ecode4 = SWIG_AsVal_float(obj3, &val4);
125070  if (!SWIG_IsOK(ecode4)) {
125071  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IMotorizedJoint_Physics_EnableLock" "', argument " "4"" of type '" "float""'");
125072  }
125073  arg4 = static_cast< float >(val4);
125074  {
125075  try {
125076  (arg1)->Physics_EnableLock(arg2,arg3,arg4);
125077  }
125078  catch(CStdErrorInfo oError)
125079  {
125080  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125081  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125082  PyErr_SetString(PyExc_IndexError, strError.c_str());
125083  SWIG_fail;
125084  }
125085  catch(...)
125086  {
125087  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125088  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125089  SWIG_fail;
125090  }
125091  }
125092  resultobj = SWIG_Py_Void();
125093  return resultobj;
125094 fail:
125095  return NULL;
125096 }
125097 
125098 
125099 SWIGINTERN PyObject *_wrap_IMotorizedJoint_Physics_EnableMotor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125100  PyObject *resultobj = 0;
125102  bool arg2 ;
125103  float arg3 ;
125104  float arg4 ;
125105  bool arg5 ;
125106  void *argp1 = 0 ;
125107  int res1 = 0 ;
125108  bool val2 ;
125109  int ecode2 = 0 ;
125110  float val3 ;
125111  int ecode3 = 0 ;
125112  float val4 ;
125113  int ecode4 = 0 ;
125114  bool val5 ;
125115  int ecode5 = 0 ;
125116  PyObject * obj0 = 0 ;
125117  PyObject * obj1 = 0 ;
125118  PyObject * obj2 = 0 ;
125119  PyObject * obj3 = 0 ;
125120  PyObject * obj4 = 0 ;
125121 
125122  if (!PyArg_ParseTuple(args,(char *)"OOOOO:IMotorizedJoint_Physics_EnableMotor",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
125123  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IMotorizedJoint, 0 | 0 );
125124  if (!SWIG_IsOK(res1)) {
125125  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IMotorizedJoint_Physics_EnableMotor" "', argument " "1"" of type '" "AnimatSim::Environment::IMotorizedJoint *""'");
125126  }
125127  arg1 = reinterpret_cast< AnimatSim::Environment::IMotorizedJoint * >(argp1);
125128  ecode2 = SWIG_AsVal_bool(obj1, &val2);
125129  if (!SWIG_IsOK(ecode2)) {
125130  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IMotorizedJoint_Physics_EnableMotor" "', argument " "2"" of type '" "bool""'");
125131  }
125132  arg2 = static_cast< bool >(val2);
125133  ecode3 = SWIG_AsVal_float(obj2, &val3);
125134  if (!SWIG_IsOK(ecode3)) {
125135  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IMotorizedJoint_Physics_EnableMotor" "', argument " "3"" of type '" "float""'");
125136  }
125137  arg3 = static_cast< float >(val3);
125138  ecode4 = SWIG_AsVal_float(obj3, &val4);
125139  if (!SWIG_IsOK(ecode4)) {
125140  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IMotorizedJoint_Physics_EnableMotor" "', argument " "4"" of type '" "float""'");
125141  }
125142  arg4 = static_cast< float >(val4);
125143  ecode5 = SWIG_AsVal_bool(obj4, &val5);
125144  if (!SWIG_IsOK(ecode5)) {
125145  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "IMotorizedJoint_Physics_EnableMotor" "', argument " "5"" of type '" "bool""'");
125146  }
125147  arg5 = static_cast< bool >(val5);
125148  {
125149  try {
125150  (arg1)->Physics_EnableMotor(arg2,arg3,arg4,arg5);
125151  }
125152  catch(CStdErrorInfo oError)
125153  {
125154  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125155  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125156  PyErr_SetString(PyExc_IndexError, strError.c_str());
125157  SWIG_fail;
125158  }
125159  catch(...)
125160  {
125161  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125162  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125163  SWIG_fail;
125164  }
125165  }
125166  resultobj = SWIG_Py_Void();
125167  return resultobj;
125168 fail:
125169  return NULL;
125170 }
125171 
125172 
125173 SWIGINTERN PyObject *_wrap_IMotorizedJoint_Physics_MaxForce(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125174  PyObject *resultobj = 0;
125176  float arg2 ;
125177  void *argp1 = 0 ;
125178  int res1 = 0 ;
125179  float val2 ;
125180  int ecode2 = 0 ;
125181  PyObject * obj0 = 0 ;
125182  PyObject * obj1 = 0 ;
125183 
125184  if (!PyArg_ParseTuple(args,(char *)"OO:IMotorizedJoint_Physics_MaxForce",&obj0,&obj1)) SWIG_fail;
125185  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IMotorizedJoint, 0 | 0 );
125186  if (!SWIG_IsOK(res1)) {
125187  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IMotorizedJoint_Physics_MaxForce" "', argument " "1"" of type '" "AnimatSim::Environment::IMotorizedJoint *""'");
125188  }
125189  arg1 = reinterpret_cast< AnimatSim::Environment::IMotorizedJoint * >(argp1);
125190  ecode2 = SWIG_AsVal_float(obj1, &val2);
125191  if (!SWIG_IsOK(ecode2)) {
125192  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IMotorizedJoint_Physics_MaxForce" "', argument " "2"" of type '" "float""'");
125193  }
125194  arg2 = static_cast< float >(val2);
125195  {
125196  try {
125197  (arg1)->Physics_MaxForce(arg2);
125198  }
125199  catch(CStdErrorInfo oError)
125200  {
125201  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125202  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125203  PyErr_SetString(PyExc_IndexError, strError.c_str());
125204  SWIG_fail;
125205  }
125206  catch(...)
125207  {
125208  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125209  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125210  SWIG_fail;
125211  }
125212  }
125213  resultobj = SWIG_Py_Void();
125214  return resultobj;
125215 fail:
125216  return NULL;
125217 }
125218 
125219 
125220 SWIGINTERN PyObject *IMotorizedJoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125221  PyObject *obj;
125222  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
125223  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__IMotorizedJoint, SWIG_NewClientData(obj));
125224  return SWIG_Py_Void();
125225 }
125226 
125227 SWIGINTERN PyObject *_wrap_delete_ISimGUICallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125228  PyObject *resultobj = 0;
125230  void *argp1 = 0 ;
125231  int res1 = 0 ;
125232  PyObject * obj0 = 0 ;
125233 
125234  if (!PyArg_ParseTuple(args,(char *)"O:delete_ISimGUICallback",&obj0)) SWIG_fail;
125235  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ISimGUICallback, SWIG_POINTER_DISOWN | 0 );
125236  if (!SWIG_IsOK(res1)) {
125237  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ISimGUICallback" "', argument " "1"" of type '" "AnimatSim::ISimGUICallback *""'");
125238  }
125239  arg1 = reinterpret_cast< AnimatSim::ISimGUICallback * >(argp1);
125240  {
125241  try {
125242  delete arg1;
125243  }
125244  catch(CStdErrorInfo oError)
125245  {
125246  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125247  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125248  PyErr_SetString(PyExc_IndexError, strError.c_str());
125249  SWIG_fail;
125250  }
125251  catch(...)
125252  {
125253  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125254  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125255  SWIG_fail;
125256  }
125257  }
125258  resultobj = SWIG_Py_Void();
125259  return resultobj;
125260 fail:
125261  return NULL;
125262 }
125263 
125264 
125265 SWIGINTERN PyObject *_wrap_ISimGUICallback_NeedToStopSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125266  PyObject *resultobj = 0;
125268  void *argp1 = 0 ;
125269  int res1 = 0 ;
125270  PyObject * obj0 = 0 ;
125271 
125272  if (!PyArg_ParseTuple(args,(char *)"O:ISimGUICallback_NeedToStopSimulation",&obj0)) SWIG_fail;
125273  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ISimGUICallback, 0 | 0 );
125274  if (!SWIG_IsOK(res1)) {
125275  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ISimGUICallback_NeedToStopSimulation" "', argument " "1"" of type '" "AnimatSim::ISimGUICallback *""'");
125276  }
125277  arg1 = reinterpret_cast< AnimatSim::ISimGUICallback * >(argp1);
125278  {
125279  try {
125280  (arg1)->NeedToStopSimulation();
125281  }
125282  catch(CStdErrorInfo oError)
125283  {
125284  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125285  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125286  PyErr_SetString(PyExc_IndexError, strError.c_str());
125287  SWIG_fail;
125288  }
125289  catch(...)
125290  {
125291  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125292  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125293  SWIG_fail;
125294  }
125295  }
125296  resultobj = SWIG_Py_Void();
125297  return resultobj;
125298 fail:
125299  return NULL;
125300 }
125301 
125302 
125303 SWIGINTERN PyObject *_wrap_ISimGUICallback_HandleNonCriticalError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125304  PyObject *resultobj = 0;
125306  std::string arg2 ;
125307  void *argp1 = 0 ;
125308  int res1 = 0 ;
125309  PyObject * obj0 = 0 ;
125310  PyObject * obj1 = 0 ;
125311 
125312  if (!PyArg_ParseTuple(args,(char *)"OO:ISimGUICallback_HandleNonCriticalError",&obj0,&obj1)) SWIG_fail;
125313  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ISimGUICallback, 0 | 0 );
125314  if (!SWIG_IsOK(res1)) {
125315  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ISimGUICallback_HandleNonCriticalError" "', argument " "1"" of type '" "AnimatSim::ISimGUICallback *""'");
125316  }
125317  arg1 = reinterpret_cast< AnimatSim::ISimGUICallback * >(argp1);
125318  {
125319  std::string *ptr = (std::string *)0;
125320  int res = SWIG_AsPtr_std_string(obj1, &ptr);
125321  if (!SWIG_IsOK(res) || !ptr) {
125322  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ISimGUICallback_HandleNonCriticalError" "', argument " "2"" of type '" "std::string""'");
125323  }
125324  arg2 = *ptr;
125325  if (SWIG_IsNewObj(res)) delete ptr;
125326  }
125327  {
125328  try {
125329  (arg1)->HandleNonCriticalError(arg2);
125330  }
125331  catch(CStdErrorInfo oError)
125332  {
125333  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125334  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125335  PyErr_SetString(PyExc_IndexError, strError.c_str());
125336  SWIG_fail;
125337  }
125338  catch(...)
125339  {
125340  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125341  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125342  SWIG_fail;
125343  }
125344  }
125345  resultobj = SWIG_Py_Void();
125346  return resultobj;
125347 fail:
125348  return NULL;
125349 }
125350 
125351 
125352 SWIGINTERN PyObject *_wrap_ISimGUICallback_HandleCriticalError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125353  PyObject *resultobj = 0;
125355  std::string arg2 ;
125356  void *argp1 = 0 ;
125357  int res1 = 0 ;
125358  PyObject * obj0 = 0 ;
125359  PyObject * obj1 = 0 ;
125360 
125361  if (!PyArg_ParseTuple(args,(char *)"OO:ISimGUICallback_HandleCriticalError",&obj0,&obj1)) SWIG_fail;
125362  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ISimGUICallback, 0 | 0 );
125363  if (!SWIG_IsOK(res1)) {
125364  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ISimGUICallback_HandleCriticalError" "', argument " "1"" of type '" "AnimatSim::ISimGUICallback *""'");
125365  }
125366  arg1 = reinterpret_cast< AnimatSim::ISimGUICallback * >(argp1);
125367  {
125368  std::string *ptr = (std::string *)0;
125369  int res = SWIG_AsPtr_std_string(obj1, &ptr);
125370  if (!SWIG_IsOK(res) || !ptr) {
125371  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ISimGUICallback_HandleCriticalError" "', argument " "2"" of type '" "std::string""'");
125372  }
125373  arg2 = *ptr;
125374  if (SWIG_IsNewObj(res)) delete ptr;
125375  }
125376  {
125377  try {
125378  (arg1)->HandleCriticalError(arg2);
125379  }
125380  catch(CStdErrorInfo oError)
125381  {
125382  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125383  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125384  PyErr_SetString(PyExc_IndexError, strError.c_str());
125385  SWIG_fail;
125386  }
125387  catch(...)
125388  {
125389  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125390  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125391  SWIG_fail;
125392  }
125393  }
125394  resultobj = SWIG_Py_Void();
125395  return resultobj;
125396 fail:
125397  return NULL;
125398 }
125399 
125400 
125401 SWIGINTERN PyObject *ISimGUICallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125402  PyObject *obj;
125403  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
125404  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__ISimGUICallback, SWIG_NewClientData(obj));
125405  return SWIG_Py_Void();
125406 }
125407 
125408 SWIGINTERN PyObject *_wrap_new_AnimatBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125409  PyObject *resultobj = 0;
125410  AnimatSim::AnimatBase *result = 0 ;
125411 
125412  if (!PyArg_ParseTuple(args,(char *)":new_AnimatBase")) SWIG_fail;
125413  {
125414  try {
125415  result = (AnimatSim::AnimatBase *)new AnimatSim::AnimatBase();
125416  }
125417  catch(CStdErrorInfo oError)
125418  {
125419  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125420  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125421  PyErr_SetString(PyExc_IndexError, strError.c_str());
125422  SWIG_fail;
125423  }
125424  catch(...)
125425  {
125426  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125427  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125428  SWIG_fail;
125429  }
125430  }
125431  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__AnimatBase, SWIG_POINTER_NEW | 0 );
125432  return resultobj;
125433 fail:
125434  return NULL;
125435 }
125436 
125437 
125438 SWIGINTERN PyObject *_wrap_delete_AnimatBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125439  PyObject *resultobj = 0;
125441  void *argp1 = 0 ;
125442  int res1 = 0 ;
125443  PyObject * obj0 = 0 ;
125444 
125445  if (!PyArg_ParseTuple(args,(char *)"O:delete_AnimatBase",&obj0)) SWIG_fail;
125446  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, SWIG_POINTER_DISOWN | 0 );
125447  if (!SWIG_IsOK(res1)) {
125448  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AnimatBase" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
125449  }
125450  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
125451  {
125452  try {
125453  delete arg1;
125454  }
125455  catch(CStdErrorInfo oError)
125456  {
125457  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125458  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125459  PyErr_SetString(PyExc_IndexError, strError.c_str());
125460  SWIG_fail;
125461  }
125462  catch(...)
125463  {
125464  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125465  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125466  SWIG_fail;
125467  }
125468  }
125469  resultobj = SWIG_Py_Void();
125470  return resultobj;
125471 fail:
125472  return NULL;
125473 }
125474 
125475 
125476 SWIGINTERN PyObject *_wrap_AnimatBase_GetSimulator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125477  PyObject *resultobj = 0;
125479  void *argp1 = 0 ;
125480  int res1 = 0 ;
125481  PyObject * obj0 = 0 ;
125482  Simulator *result = 0 ;
125483 
125484  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_GetSimulator",&obj0)) SWIG_fail;
125485  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
125486  if (!SWIG_IsOK(res1)) {
125487  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_GetSimulator" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
125488  }
125489  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
125490  {
125491  try {
125492  result = (Simulator *)(arg1)->GetSimulator();
125493  }
125494  catch(CStdErrorInfo oError)
125495  {
125496  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125497  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125498  PyErr_SetString(PyExc_IndexError, strError.c_str());
125499  SWIG_fail;
125500  }
125501  catch(...)
125502  {
125503  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125504  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125505  SWIG_fail;
125506  }
125507  }
125508  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Simulator, 0 | 0 );
125509  return resultobj;
125510 fail:
125511  return NULL;
125512 }
125513 
125514 
125515 SWIGINTERN PyObject *_wrap_AnimatBase_GetStructure(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125516  PyObject *resultobj = 0;
125518  void *argp1 = 0 ;
125519  int res1 = 0 ;
125520  PyObject * obj0 = 0 ;
125521  Structure *result = 0 ;
125522 
125523  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_GetStructure",&obj0)) SWIG_fail;
125524  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
125525  if (!SWIG_IsOK(res1)) {
125526  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_GetStructure" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
125527  }
125528  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
125529  {
125530  try {
125531  result = (Structure *)(arg1)->GetStructure();
125532  }
125533  catch(CStdErrorInfo oError)
125534  {
125535  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125536  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125537  PyErr_SetString(PyExc_IndexError, strError.c_str());
125538  SWIG_fail;
125539  }
125540  catch(...)
125541  {
125542  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125543  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125544  SWIG_fail;
125545  }
125546  }
125547  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Structure, 0 | 0 );
125548  return resultobj;
125549 fail:
125550  return NULL;
125551 }
125552 
125553 
125554 SWIGINTERN PyObject *_wrap_AnimatBase_GetNeuralModule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125555  PyObject *resultobj = 0;
125557  void *argp1 = 0 ;
125558  int res1 = 0 ;
125559  PyObject * obj0 = 0 ;
125560  NeuralModule *result = 0 ;
125561 
125562  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_GetNeuralModule",&obj0)) SWIG_fail;
125563  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
125564  if (!SWIG_IsOK(res1)) {
125565  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_GetNeuralModule" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
125566  }
125567  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
125568  {
125569  try {
125570  result = (NeuralModule *)(arg1)->GetNeuralModule();
125571  }
125572  catch(CStdErrorInfo oError)
125573  {
125574  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125575  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125576  PyErr_SetString(PyExc_IndexError, strError.c_str());
125577  SWIG_fail;
125578  }
125579  catch(...)
125580  {
125581  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125582  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125583  SWIG_fail;
125584  }
125585  }
125586  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_NeuralModule, 0 | 0 );
125587  return resultobj;
125588 fail:
125589  return NULL;
125590 }
125591 
125592 
125593 SWIGINTERN PyObject *_wrap_AnimatBase_GetNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125594  PyObject *resultobj = 0;
125596  void *argp1 = 0 ;
125597  int res1 = 0 ;
125598  PyObject * obj0 = 0 ;
125599  Node *result = 0 ;
125600 
125601  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_GetNode",&obj0)) SWIG_fail;
125602  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
125603  if (!SWIG_IsOK(res1)) {
125604  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_GetNode" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
125605  }
125606  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
125607  {
125608  try {
125609  result = (Node *)(arg1)->GetNode();
125610  }
125611  catch(CStdErrorInfo oError)
125612  {
125613  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125614  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125615  PyErr_SetString(PyExc_IndexError, strError.c_str());
125616  SWIG_fail;
125617  }
125618  catch(...)
125619  {
125620  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125621  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125622  SWIG_fail;
125623  }
125624  }
125625  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Node, 0 | 0 );
125626  return resultobj;
125627 fail:
125628  return NULL;
125629 }
125630 
125631 
125632 SWIGINTERN PyObject *_wrap_AnimatBase_Enabled__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125633  PyObject *resultobj = 0;
125635  bool arg2 ;
125636  void *argp1 = 0 ;
125637  int res1 = 0 ;
125638  bool val2 ;
125639  int ecode2 = 0 ;
125640  PyObject * obj0 = 0 ;
125641  PyObject * obj1 = 0 ;
125642 
125643  if (!PyArg_ParseTuple(args,(char *)"OO:AnimatBase_Enabled",&obj0,&obj1)) SWIG_fail;
125644  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
125645  if (!SWIG_IsOK(res1)) {
125646  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_Enabled" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
125647  }
125648  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
125649  ecode2 = SWIG_AsVal_bool(obj1, &val2);
125650  if (!SWIG_IsOK(ecode2)) {
125651  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AnimatBase_Enabled" "', argument " "2"" of type '" "bool""'");
125652  }
125653  arg2 = static_cast< bool >(val2);
125654  {
125655  try {
125656  (arg1)->Enabled(arg2);
125657  }
125658  catch(CStdErrorInfo oError)
125659  {
125660  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125661  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125662  PyErr_SetString(PyExc_IndexError, strError.c_str());
125663  SWIG_fail;
125664  }
125665  catch(...)
125666  {
125667  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125668  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125669  SWIG_fail;
125670  }
125671  }
125672  resultobj = SWIG_Py_Void();
125673  return resultobj;
125674 fail:
125675  return NULL;
125676 }
125677 
125678 
125679 SWIGINTERN PyObject *_wrap_AnimatBase_Enabled__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125680  PyObject *resultobj = 0;
125682  void *argp1 = 0 ;
125683  int res1 = 0 ;
125684  PyObject * obj0 = 0 ;
125685  bool result;
125686 
125687  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_Enabled",&obj0)) SWIG_fail;
125688  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
125689  if (!SWIG_IsOK(res1)) {
125690  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_Enabled" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
125691  }
125692  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
125693  {
125694  try {
125695  result = (bool)(arg1)->Enabled();
125696  }
125697  catch(CStdErrorInfo oError)
125698  {
125699  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125700  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125701  PyErr_SetString(PyExc_IndexError, strError.c_str());
125702  SWIG_fail;
125703  }
125704  catch(...)
125705  {
125706  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125707  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125708  SWIG_fail;
125709  }
125710  }
125711  resultobj = SWIG_From_bool(static_cast< bool >(result));
125712  return resultobj;
125713 fail:
125714  return NULL;
125715 }
125716 
125717 
125718 SWIGINTERN PyObject *_wrap_AnimatBase_Enabled(PyObject *self, PyObject *args) {
125719  int argc;
125720  PyObject *argv[3];
125721  int ii;
125722 
125723  if (!PyTuple_Check(args)) SWIG_fail;
125724  argc = args ? (int)PyObject_Length(args) : 0;
125725  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
125726  argv[ii] = PyTuple_GET_ITEM(args,ii);
125727  }
125728  if (argc == 1) {
125729  int _v;
125730  void *vptr = 0;
125731  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
125732  _v = SWIG_CheckState(res);
125733  if (_v) {
125734  return _wrap_AnimatBase_Enabled__SWIG_1(self, args);
125735  }
125736  }
125737  if (argc == 2) {
125738  int _v;
125739  void *vptr = 0;
125740  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
125741  _v = SWIG_CheckState(res);
125742  if (_v) {
125743  {
125744  int res = SWIG_AsVal_bool(argv[1], NULL);
125745  _v = SWIG_CheckState(res);
125746  }
125747  if (_v) {
125748  return _wrap_AnimatBase_Enabled__SWIG_0(self, args);
125749  }
125750  }
125751  }
125752 
125753 fail:
125754  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'AnimatBase_Enabled'.\n"
125755  " Possible C/C++ prototypes are:\n"
125756  " AnimatSim::AnimatBase::Enabled(bool)\n"
125757  " AnimatSim::AnimatBase::Enabled()\n");
125758  return 0;
125759 }
125760 
125761 
125762 SWIGINTERN PyObject *_wrap_AnimatBase_ID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125763  PyObject *resultobj = 0;
125765  void *argp1 = 0 ;
125766  int res1 = 0 ;
125767  PyObject * obj0 = 0 ;
125768  std::string result;
125769 
125770  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_ID",&obj0)) SWIG_fail;
125771  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
125772  if (!SWIG_IsOK(res1)) {
125773  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_ID" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
125774  }
125775  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
125776  {
125777  try {
125778  result = (arg1)->ID();
125779  }
125780  catch(CStdErrorInfo oError)
125781  {
125782  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125783  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125784  PyErr_SetString(PyExc_IndexError, strError.c_str());
125785  SWIG_fail;
125786  }
125787  catch(...)
125788  {
125789  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125790  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125791  SWIG_fail;
125792  }
125793  }
125794  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
125795  return resultobj;
125796 fail:
125797  return NULL;
125798 }
125799 
125800 
125801 SWIGINTERN PyObject *_wrap_AnimatBase_ID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125802  PyObject *resultobj = 0;
125804  std::string arg2 ;
125805  void *argp1 = 0 ;
125806  int res1 = 0 ;
125807  PyObject * obj0 = 0 ;
125808  PyObject * obj1 = 0 ;
125809 
125810  if (!PyArg_ParseTuple(args,(char *)"OO:AnimatBase_ID",&obj0,&obj1)) SWIG_fail;
125811  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
125812  if (!SWIG_IsOK(res1)) {
125813  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_ID" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
125814  }
125815  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
125816  {
125817  std::string *ptr = (std::string *)0;
125818  int res = SWIG_AsPtr_std_string(obj1, &ptr);
125819  if (!SWIG_IsOK(res) || !ptr) {
125820  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "AnimatBase_ID" "', argument " "2"" of type '" "std::string""'");
125821  }
125822  arg2 = *ptr;
125823  if (SWIG_IsNewObj(res)) delete ptr;
125824  }
125825  {
125826  try {
125827  (arg1)->ID(arg2);
125828  }
125829  catch(CStdErrorInfo oError)
125830  {
125831  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125832  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125833  PyErr_SetString(PyExc_IndexError, strError.c_str());
125834  SWIG_fail;
125835  }
125836  catch(...)
125837  {
125838  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125839  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125840  SWIG_fail;
125841  }
125842  }
125843  resultobj = SWIG_Py_Void();
125844  return resultobj;
125845 fail:
125846  return NULL;
125847 }
125848 
125849 
125850 SWIGINTERN PyObject *_wrap_AnimatBase_ID(PyObject *self, PyObject *args) {
125851  int argc;
125852  PyObject *argv[3];
125853  int ii;
125854 
125855  if (!PyTuple_Check(args)) SWIG_fail;
125856  argc = args ? (int)PyObject_Length(args) : 0;
125857  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
125858  argv[ii] = PyTuple_GET_ITEM(args,ii);
125859  }
125860  if (argc == 1) {
125861  int _v;
125862  void *vptr = 0;
125863  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
125864  _v = SWIG_CheckState(res);
125865  if (_v) {
125866  return _wrap_AnimatBase_ID__SWIG_0(self, args);
125867  }
125868  }
125869  if (argc == 2) {
125870  int _v;
125871  void *vptr = 0;
125872  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
125873  _v = SWIG_CheckState(res);
125874  if (_v) {
125875  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
125876  _v = SWIG_CheckState(res);
125877  if (_v) {
125878  return _wrap_AnimatBase_ID__SWIG_1(self, args);
125879  }
125880  }
125881  }
125882 
125883 fail:
125884  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'AnimatBase_ID'.\n"
125885  " Possible C/C++ prototypes are:\n"
125886  " AnimatSim::AnimatBase::ID()\n"
125887  " AnimatSim::AnimatBase::ID(std::string)\n");
125888  return 0;
125889 }
125890 
125891 
125892 SWIGINTERN PyObject *_wrap_AnimatBase_Name__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125893  PyObject *resultobj = 0;
125895  void *argp1 = 0 ;
125896  int res1 = 0 ;
125897  PyObject * obj0 = 0 ;
125898  std::string result;
125899 
125900  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_Name",&obj0)) SWIG_fail;
125901  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
125902  if (!SWIG_IsOK(res1)) {
125903  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_Name" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
125904  }
125905  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
125906  {
125907  try {
125908  result = (arg1)->Name();
125909  }
125910  catch(CStdErrorInfo oError)
125911  {
125912  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125913  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125914  PyErr_SetString(PyExc_IndexError, strError.c_str());
125915  SWIG_fail;
125916  }
125917  catch(...)
125918  {
125919  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125920  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125921  SWIG_fail;
125922  }
125923  }
125924  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
125925  return resultobj;
125926 fail:
125927  return NULL;
125928 }
125929 
125930 
125931 SWIGINTERN PyObject *_wrap_AnimatBase_Name__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
125932  PyObject *resultobj = 0;
125934  std::string arg2 ;
125935  void *argp1 = 0 ;
125936  int res1 = 0 ;
125937  PyObject * obj0 = 0 ;
125938  PyObject * obj1 = 0 ;
125939 
125940  if (!PyArg_ParseTuple(args,(char *)"OO:AnimatBase_Name",&obj0,&obj1)) SWIG_fail;
125941  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
125942  if (!SWIG_IsOK(res1)) {
125943  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_Name" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
125944  }
125945  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
125946  {
125947  std::string *ptr = (std::string *)0;
125948  int res = SWIG_AsPtr_std_string(obj1, &ptr);
125949  if (!SWIG_IsOK(res) || !ptr) {
125950  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "AnimatBase_Name" "', argument " "2"" of type '" "std::string""'");
125951  }
125952  arg2 = *ptr;
125953  if (SWIG_IsNewObj(res)) delete ptr;
125954  }
125955  {
125956  try {
125957  (arg1)->Name(arg2);
125958  }
125959  catch(CStdErrorInfo oError)
125960  {
125961  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125962  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
125963  PyErr_SetString(PyExc_IndexError, strError.c_str());
125964  SWIG_fail;
125965  }
125966  catch(...)
125967  {
125968  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
125969  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
125970  SWIG_fail;
125971  }
125972  }
125973  resultobj = SWIG_Py_Void();
125974  return resultobj;
125975 fail:
125976  return NULL;
125977 }
125978 
125979 
125980 SWIGINTERN PyObject *_wrap_AnimatBase_Name(PyObject *self, PyObject *args) {
125981  int argc;
125982  PyObject *argv[3];
125983  int ii;
125984 
125985  if (!PyTuple_Check(args)) SWIG_fail;
125986  argc = args ? (int)PyObject_Length(args) : 0;
125987  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
125988  argv[ii] = PyTuple_GET_ITEM(args,ii);
125989  }
125990  if (argc == 1) {
125991  int _v;
125992  void *vptr = 0;
125993  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
125994  _v = SWIG_CheckState(res);
125995  if (_v) {
125996  return _wrap_AnimatBase_Name__SWIG_0(self, args);
125997  }
125998  }
125999  if (argc == 2) {
126000  int _v;
126001  void *vptr = 0;
126002  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
126003  _v = SWIG_CheckState(res);
126004  if (_v) {
126005  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
126006  _v = SWIG_CheckState(res);
126007  if (_v) {
126008  return _wrap_AnimatBase_Name__SWIG_1(self, args);
126009  }
126010  }
126011  }
126012 
126013 fail:
126014  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'AnimatBase_Name'.\n"
126015  " Possible C/C++ prototypes are:\n"
126016  " AnimatSim::AnimatBase::Name()\n"
126017  " AnimatSim::AnimatBase::Name(std::string)\n");
126018  return 0;
126019 }
126020 
126021 
126022 SWIGINTERN PyObject *_wrap_AnimatBase_Type__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
126023  PyObject *resultobj = 0;
126025  void *argp1 = 0 ;
126026  int res1 = 0 ;
126027  PyObject * obj0 = 0 ;
126028  std::string result;
126029 
126030  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_Type",&obj0)) SWIG_fail;
126031  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
126032  if (!SWIG_IsOK(res1)) {
126033  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_Type" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
126034  }
126035  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
126036  {
126037  try {
126038  result = (arg1)->Type();
126039  }
126040  catch(CStdErrorInfo oError)
126041  {
126042  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126043  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
126044  PyErr_SetString(PyExc_IndexError, strError.c_str());
126045  SWIG_fail;
126046  }
126047  catch(...)
126048  {
126049  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126050  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
126051  SWIG_fail;
126052  }
126053  }
126054  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
126055  return resultobj;
126056 fail:
126057  return NULL;
126058 }
126059 
126060 
126061 SWIGINTERN PyObject *_wrap_AnimatBase_Type__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
126062  PyObject *resultobj = 0;
126064  std::string arg2 ;
126065  void *argp1 = 0 ;
126066  int res1 = 0 ;
126067  PyObject * obj0 = 0 ;
126068  PyObject * obj1 = 0 ;
126069 
126070  if (!PyArg_ParseTuple(args,(char *)"OO:AnimatBase_Type",&obj0,&obj1)) SWIG_fail;
126071  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
126072  if (!SWIG_IsOK(res1)) {
126073  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_Type" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
126074  }
126075  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
126076  {
126077  std::string *ptr = (std::string *)0;
126078  int res = SWIG_AsPtr_std_string(obj1, &ptr);
126079  if (!SWIG_IsOK(res) || !ptr) {
126080  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "AnimatBase_Type" "', argument " "2"" of type '" "std::string""'");
126081  }
126082  arg2 = *ptr;
126083  if (SWIG_IsNewObj(res)) delete ptr;
126084  }
126085  {
126086  try {
126087  (arg1)->Type(arg2);
126088  }
126089  catch(CStdErrorInfo oError)
126090  {
126091  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126092  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
126093  PyErr_SetString(PyExc_IndexError, strError.c_str());
126094  SWIG_fail;
126095  }
126096  catch(...)
126097  {
126098  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126099  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
126100  SWIG_fail;
126101  }
126102  }
126103  resultobj = SWIG_Py_Void();
126104  return resultobj;
126105 fail:
126106  return NULL;
126107 }
126108 
126109 
126110 SWIGINTERN PyObject *_wrap_AnimatBase_Type(PyObject *self, PyObject *args) {
126111  int argc;
126112  PyObject *argv[3];
126113  int ii;
126114 
126115  if (!PyTuple_Check(args)) SWIG_fail;
126116  argc = args ? (int)PyObject_Length(args) : 0;
126117  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
126118  argv[ii] = PyTuple_GET_ITEM(args,ii);
126119  }
126120  if (argc == 1) {
126121  int _v;
126122  void *vptr = 0;
126123  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
126124  _v = SWIG_CheckState(res);
126125  if (_v) {
126126  return _wrap_AnimatBase_Type__SWIG_0(self, args);
126127  }
126128  }
126129  if (argc == 2) {
126130  int _v;
126131  void *vptr = 0;
126132  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
126133  _v = SWIG_CheckState(res);
126134  if (_v) {
126135  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
126136  _v = SWIG_CheckState(res);
126137  if (_v) {
126138  return _wrap_AnimatBase_Type__SWIG_1(self, args);
126139  }
126140  }
126141  }
126142 
126143 fail:
126144  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'AnimatBase_Type'.\n"
126145  " Possible C/C++ prototypes are:\n"
126146  " AnimatSim::AnimatBase::Type()\n"
126147  " AnimatSim::AnimatBase::Type(std::string)\n");
126148  return 0;
126149 }
126150 
126151 
126152 SWIGINTERN PyObject *_wrap_AnimatBase_Selected__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
126153  PyObject *resultobj = 0;
126155  void *argp1 = 0 ;
126156  int res1 = 0 ;
126157  PyObject * obj0 = 0 ;
126158  bool result;
126159 
126160  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_Selected",&obj0)) SWIG_fail;
126161  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
126162  if (!SWIG_IsOK(res1)) {
126163  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_Selected" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
126164  }
126165  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
126166  {
126167  try {
126168  result = (bool)(arg1)->Selected();
126169  }
126170  catch(CStdErrorInfo oError)
126171  {
126172  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126173  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
126174  PyErr_SetString(PyExc_IndexError, strError.c_str());
126175  SWIG_fail;
126176  }
126177  catch(...)
126178  {
126179  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126180  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
126181  SWIG_fail;
126182  }
126183  }
126184  resultobj = SWIG_From_bool(static_cast< bool >(result));
126185  return resultobj;
126186 fail:
126187  return NULL;
126188 }
126189 
126190 
126191 SWIGINTERN PyObject *_wrap_AnimatBase_Selected__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
126192  PyObject *resultobj = 0;
126194  bool arg2 ;
126195  bool arg3 ;
126196  void *argp1 = 0 ;
126197  int res1 = 0 ;
126198  bool val2 ;
126199  int ecode2 = 0 ;
126200  bool val3 ;
126201  int ecode3 = 0 ;
126202  PyObject * obj0 = 0 ;
126203  PyObject * obj1 = 0 ;
126204  PyObject * obj2 = 0 ;
126205 
126206  if (!PyArg_ParseTuple(args,(char *)"OOO:AnimatBase_Selected",&obj0,&obj1,&obj2)) SWIG_fail;
126207  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
126208  if (!SWIG_IsOK(res1)) {
126209  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_Selected" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
126210  }
126211  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
126212  ecode2 = SWIG_AsVal_bool(obj1, &val2);
126213  if (!SWIG_IsOK(ecode2)) {
126214  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AnimatBase_Selected" "', argument " "2"" of type '" "bool""'");
126215  }
126216  arg2 = static_cast< bool >(val2);
126217  ecode3 = SWIG_AsVal_bool(obj2, &val3);
126218  if (!SWIG_IsOK(ecode3)) {
126219  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AnimatBase_Selected" "', argument " "3"" of type '" "bool""'");
126220  }
126221  arg3 = static_cast< bool >(val3);
126222  {
126223  try {
126224  (arg1)->Selected(arg2,arg3);
126225  }
126226  catch(CStdErrorInfo oError)
126227  {
126228  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126229  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
126230  PyErr_SetString(PyExc_IndexError, strError.c_str());
126231  SWIG_fail;
126232  }
126233  catch(...)
126234  {
126235  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126236  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
126237  SWIG_fail;
126238  }
126239  }
126240  resultobj = SWIG_Py_Void();
126241  return resultobj;
126242 fail:
126243  return NULL;
126244 }
126245 
126246 
126247 SWIGINTERN PyObject *_wrap_AnimatBase_Selected(PyObject *self, PyObject *args) {
126248  int argc;
126249  PyObject *argv[4];
126250  int ii;
126251 
126252  if (!PyTuple_Check(args)) SWIG_fail;
126253  argc = args ? (int)PyObject_Length(args) : 0;
126254  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
126255  argv[ii] = PyTuple_GET_ITEM(args,ii);
126256  }
126257  if (argc == 1) {
126258  int _v;
126259  void *vptr = 0;
126260  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
126261  _v = SWIG_CheckState(res);
126262  if (_v) {
126263  return _wrap_AnimatBase_Selected__SWIG_0(self, args);
126264  }
126265  }
126266  if (argc == 3) {
126267  int _v;
126268  void *vptr = 0;
126269  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
126270  _v = SWIG_CheckState(res);
126271  if (_v) {
126272  {
126273  int res = SWIG_AsVal_bool(argv[1], NULL);
126274  _v = SWIG_CheckState(res);
126275  }
126276  if (_v) {
126277  {
126278  int res = SWIG_AsVal_bool(argv[2], NULL);
126279  _v = SWIG_CheckState(res);
126280  }
126281  if (_v) {
126282  return _wrap_AnimatBase_Selected__SWIG_1(self, args);
126283  }
126284  }
126285  }
126286  }
126287 
126288 fail:
126289  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'AnimatBase_Selected'.\n"
126290  " Possible C/C++ prototypes are:\n"
126291  " AnimatSim::AnimatBase::Selected()\n"
126292  " AnimatSim::AnimatBase::Selected(bool,bool)\n");
126293  return 0;
126294 }
126295 
126296 
126297 SWIGINTERN PyObject *_wrap_AnimatBase_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
126298  PyObject *resultobj = 0;
126300  CStdSerialize *arg2 = (CStdSerialize *) 0 ;
126301  void *argp1 = 0 ;
126302  int res1 = 0 ;
126303  void *argp2 = 0 ;
126304  int res2 = 0 ;
126305  PyObject * obj0 = 0 ;
126306  PyObject * obj1 = 0 ;
126307 
126308  if (!PyArg_ParseTuple(args,(char *)"OO:AnimatBase_Copy",&obj0,&obj1)) SWIG_fail;
126309  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
126310  if (!SWIG_IsOK(res1)) {
126311  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_Copy" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
126312  }
126313  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
126314  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
126315  if (!SWIG_IsOK(res2)) {
126316  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_Copy" "', argument " "2"" of type '" "CStdSerialize *""'");
126317  }
126318  arg2 = reinterpret_cast< CStdSerialize * >(argp2);
126319  {
126320  try {
126321  (arg1)->Copy(arg2);
126322  }
126323  catch(CStdErrorInfo oError)
126324  {
126325  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126326  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
126327  PyErr_SetString(PyExc_IndexError, strError.c_str());
126328  SWIG_fail;
126329  }
126330  catch(...)
126331  {
126332  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126333  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
126334  SWIG_fail;
126335  }
126336  }
126337  resultobj = SWIG_Py_Void();
126338  return resultobj;
126339 fail:
126340  return NULL;
126341 }
126342 
126343 
126344 SWIGINTERN PyObject *_wrap_AnimatBase_SetSystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
126345  PyObject *resultobj = 0;
126347  Simulator *arg2 = (Simulator *) 0 ;
126348  Structure *arg3 = (Structure *) 0 ;
126349  NeuralModule *arg4 = (NeuralModule *) 0 ;
126350  Node *arg5 = (Node *) 0 ;
126351  bool arg6 ;
126352  void *argp1 = 0 ;
126353  int res1 = 0 ;
126354  void *argp2 = 0 ;
126355  int res2 = 0 ;
126356  void *argp3 = 0 ;
126357  int res3 = 0 ;
126358  void *argp4 = 0 ;
126359  int res4 = 0 ;
126360  void *argp5 = 0 ;
126361  int res5 = 0 ;
126362  bool val6 ;
126363  int ecode6 = 0 ;
126364  PyObject * obj0 = 0 ;
126365  PyObject * obj1 = 0 ;
126366  PyObject * obj2 = 0 ;
126367  PyObject * obj3 = 0 ;
126368  PyObject * obj4 = 0 ;
126369  PyObject * obj5 = 0 ;
126370 
126371  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:AnimatBase_SetSystemPointers",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
126372  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
126373  if (!SWIG_IsOK(res1)) {
126374  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_SetSystemPointers" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
126375  }
126376  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
126377  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Simulator, 0 | 0 );
126378  if (!SWIG_IsOK(res2)) {
126379  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_SetSystemPointers" "', argument " "2"" of type '" "Simulator *""'");
126380  }
126381  arg2 = reinterpret_cast< Simulator * >(argp2);
126382  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Structure, 0 | 0 );
126383  if (!SWIG_IsOK(res3)) {
126384  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AnimatBase_SetSystemPointers" "', argument " "3"" of type '" "Structure *""'");
126385  }
126386  arg3 = reinterpret_cast< Structure * >(argp3);
126387  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_NeuralModule, 0 | 0 );
126388  if (!SWIG_IsOK(res4)) {
126389  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AnimatBase_SetSystemPointers" "', argument " "4"" of type '" "NeuralModule *""'");
126390  }
126391  arg4 = reinterpret_cast< NeuralModule * >(argp4);
126392  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_Node, 0 | 0 );
126393  if (!SWIG_IsOK(res5)) {
126394  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AnimatBase_SetSystemPointers" "', argument " "5"" of type '" "Node *""'");
126395  }
126396  arg5 = reinterpret_cast< Node * >(argp5);
126397  ecode6 = SWIG_AsVal_bool(obj5, &val6);
126398  if (!SWIG_IsOK(ecode6)) {
126399  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AnimatBase_SetSystemPointers" "', argument " "6"" of type '" "bool""'");
126400  }
126401  arg6 = static_cast< bool >(val6);
126402  {
126403  try {
126404  (arg1)->SetSystemPointers(arg2,arg3,arg4,arg5,arg6);
126405  }
126406  catch(CStdErrorInfo oError)
126407  {
126408  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126409  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
126410  PyErr_SetString(PyExc_IndexError, strError.c_str());
126411  SWIG_fail;
126412  }
126413  catch(...)
126414  {
126415  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126416  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
126417  SWIG_fail;
126418  }
126419  }
126420  resultobj = SWIG_Py_Void();
126421  return resultobj;
126422 fail:
126423  return NULL;
126424 }
126425 
126426 
126427 SWIGINTERN PyObject *_wrap_AnimatBase_VerifySystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
126428  PyObject *resultobj = 0;
126430  void *argp1 = 0 ;
126431  int res1 = 0 ;
126432  PyObject * obj0 = 0 ;
126433 
126434  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_VerifySystemPointers",&obj0)) SWIG_fail;
126435  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
126436  if (!SWIG_IsOK(res1)) {
126437  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_VerifySystemPointers" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
126438  }
126439  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
126440  {
126441  try {
126442  (arg1)->VerifySystemPointers();
126443  }
126444  catch(CStdErrorInfo oError)
126445  {
126446  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126447  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
126448  PyErr_SetString(PyExc_IndexError, strError.c_str());
126449  SWIG_fail;
126450  }
126451  catch(...)
126452  {
126453  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126454  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
126455  SWIG_fail;
126456  }
126457  }
126458  resultobj = SWIG_Py_Void();
126459  return resultobj;
126460 fail:
126461  return NULL;
126462 }
126463 
126464 
126465 SWIGINTERN PyObject *_wrap_AnimatBase_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
126466  PyObject *resultobj = 0;
126468  std::string *arg2 = 0 ;
126469  void *argp1 = 0 ;
126470  int res1 = 0 ;
126471  int res2 = SWIG_OLDOBJ ;
126472  PyObject * obj0 = 0 ;
126473  PyObject * obj1 = 0 ;
126474  float *result = 0 ;
126475 
126476  if (!PyArg_ParseTuple(args,(char *)"OO:AnimatBase_GetDataPointer",&obj0,&obj1)) SWIG_fail;
126477  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
126478  if (!SWIG_IsOK(res1)) {
126479  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
126480  }
126481  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
126482  {
126483  std::string *ptr = (std::string *)0;
126484  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
126485  if (!SWIG_IsOK(res2)) {
126486  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
126487  }
126488  if (!ptr) {
126489  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
126490  }
126491  arg2 = ptr;
126492  }
126493  {
126494  try {
126495  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
126496  }
126497  catch(CStdErrorInfo oError)
126498  {
126499  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126500  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
126501  PyErr_SetString(PyExc_IndexError, strError.c_str());
126502  SWIG_fail;
126503  }
126504  catch(...)
126505  {
126506  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126507  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
126508  SWIG_fail;
126509  }
126510  }
126511  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
126512  if (SWIG_IsNewObj(res2)) delete arg2;
126513  return resultobj;
126514 fail:
126515  if (SWIG_IsNewObj(res2)) delete arg2;
126516  return NULL;
126517 }
126518 
126519 
126520 SWIGINTERN PyObject *_wrap_AnimatBase_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
126521  PyObject *resultobj = 0;
126523  std::string *arg2 = 0 ;
126524  std::string *arg3 = 0 ;
126525  bool arg4 ;
126526  void *argp1 = 0 ;
126527  int res1 = 0 ;
126528  int res2 = SWIG_OLDOBJ ;
126529  int res3 = SWIG_OLDOBJ ;
126530  bool val4 ;
126531  int ecode4 = 0 ;
126532  PyObject * obj0 = 0 ;
126533  PyObject * obj1 = 0 ;
126534  PyObject * obj2 = 0 ;
126535  PyObject * obj3 = 0 ;
126536  bool result;
126537 
126538  if (!PyArg_ParseTuple(args,(char *)"OOOO:AnimatBase_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
126539  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
126540  if (!SWIG_IsOK(res1)) {
126541  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_SetData" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
126542  }
126543  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
126544  {
126545  std::string *ptr = (std::string *)0;
126546  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
126547  if (!SWIG_IsOK(res2)) {
126548  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
126549  }
126550  if (!ptr) {
126551  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
126552  }
126553  arg2 = ptr;
126554  }
126555  {
126556  std::string *ptr = (std::string *)0;
126557  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
126558  if (!SWIG_IsOK(res3)) {
126559  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AnimatBase_SetData" "', argument " "3"" of type '" "std::string const &""'");
126560  }
126561  if (!ptr) {
126562  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_SetData" "', argument " "3"" of type '" "std::string const &""'");
126563  }
126564  arg3 = ptr;
126565  }
126566  ecode4 = SWIG_AsVal_bool(obj3, &val4);
126567  if (!SWIG_IsOK(ecode4)) {
126568  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AnimatBase_SetData" "', argument " "4"" of type '" "bool""'");
126569  }
126570  arg4 = static_cast< bool >(val4);
126571  {
126572  try {
126573  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
126574  }
126575  catch(CStdErrorInfo oError)
126576  {
126577  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126578  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
126579  PyErr_SetString(PyExc_IndexError, strError.c_str());
126580  SWIG_fail;
126581  }
126582  catch(...)
126583  {
126584  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126585  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
126586  SWIG_fail;
126587  }
126588  }
126589  resultobj = SWIG_From_bool(static_cast< bool >(result));
126590  if (SWIG_IsNewObj(res2)) delete arg2;
126591  if (SWIG_IsNewObj(res3)) delete arg3;
126592  return resultobj;
126593 fail:
126594  if (SWIG_IsNewObj(res2)) delete arg2;
126595  if (SWIG_IsNewObj(res3)) delete arg3;
126596  return NULL;
126597 }
126598 
126599 
126600 SWIGINTERN PyObject *_wrap_AnimatBase_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
126601  PyObject *resultobj = 0;
126603  std::string *arg2 = 0 ;
126604  std::string *arg3 = 0 ;
126605  void *argp1 = 0 ;
126606  int res1 = 0 ;
126607  int res2 = SWIG_OLDOBJ ;
126608  int res3 = SWIG_OLDOBJ ;
126609  PyObject * obj0 = 0 ;
126610  PyObject * obj1 = 0 ;
126611  PyObject * obj2 = 0 ;
126612  bool result;
126613 
126614  if (!PyArg_ParseTuple(args,(char *)"OOO:AnimatBase_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
126615  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
126616  if (!SWIG_IsOK(res1)) {
126617  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_SetData" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
126618  }
126619  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
126620  {
126621  std::string *ptr = (std::string *)0;
126622  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
126623  if (!SWIG_IsOK(res2)) {
126624  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
126625  }
126626  if (!ptr) {
126627  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
126628  }
126629  arg2 = ptr;
126630  }
126631  {
126632  std::string *ptr = (std::string *)0;
126633  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
126634  if (!SWIG_IsOK(res3)) {
126635  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AnimatBase_SetData" "', argument " "3"" of type '" "std::string const &""'");
126636  }
126637  if (!ptr) {
126638  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_SetData" "', argument " "3"" of type '" "std::string const &""'");
126639  }
126640  arg3 = ptr;
126641  }
126642  {
126643  try {
126644  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
126645  }
126646  catch(CStdErrorInfo oError)
126647  {
126648  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126649  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
126650  PyErr_SetString(PyExc_IndexError, strError.c_str());
126651  SWIG_fail;
126652  }
126653  catch(...)
126654  {
126655  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126656  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
126657  SWIG_fail;
126658  }
126659  }
126660  resultobj = SWIG_From_bool(static_cast< bool >(result));
126661  if (SWIG_IsNewObj(res2)) delete arg2;
126662  if (SWIG_IsNewObj(res3)) delete arg3;
126663  return resultobj;
126664 fail:
126665  if (SWIG_IsNewObj(res2)) delete arg2;
126666  if (SWIG_IsNewObj(res3)) delete arg3;
126667  return NULL;
126668 }
126669 
126670 
126671 SWIGINTERN PyObject *_wrap_AnimatBase_SetData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
126672  PyObject *resultobj = 0;
126674  std::string *arg2 = 0 ;
126675  float arg3 ;
126676  bool arg4 ;
126677  void *argp1 = 0 ;
126678  int res1 = 0 ;
126679  int res2 = SWIG_OLDOBJ ;
126680  float val3 ;
126681  int ecode3 = 0 ;
126682  bool val4 ;
126683  int ecode4 = 0 ;
126684  PyObject * obj0 = 0 ;
126685  PyObject * obj1 = 0 ;
126686  PyObject * obj2 = 0 ;
126687  PyObject * obj3 = 0 ;
126688  bool result;
126689 
126690  if (!PyArg_ParseTuple(args,(char *)"OOOO:AnimatBase_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
126691  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
126692  if (!SWIG_IsOK(res1)) {
126693  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_SetData" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
126694  }
126695  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
126696  {
126697  std::string *ptr = (std::string *)0;
126698  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
126699  if (!SWIG_IsOK(res2)) {
126700  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
126701  }
126702  if (!ptr) {
126703  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
126704  }
126705  arg2 = ptr;
126706  }
126707  ecode3 = SWIG_AsVal_float(obj2, &val3);
126708  if (!SWIG_IsOK(ecode3)) {
126709  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AnimatBase_SetData" "', argument " "3"" of type '" "float""'");
126710  }
126711  arg3 = static_cast< float >(val3);
126712  ecode4 = SWIG_AsVal_bool(obj3, &val4);
126713  if (!SWIG_IsOK(ecode4)) {
126714  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AnimatBase_SetData" "', argument " "4"" of type '" "bool""'");
126715  }
126716  arg4 = static_cast< bool >(val4);
126717  {
126718  try {
126719  result = (bool)(arg1)->SetData((std::string const &)*arg2,arg3,arg4);
126720  }
126721  catch(CStdErrorInfo oError)
126722  {
126723  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126724  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
126725  PyErr_SetString(PyExc_IndexError, strError.c_str());
126726  SWIG_fail;
126727  }
126728  catch(...)
126729  {
126730  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126731  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
126732  SWIG_fail;
126733  }
126734  }
126735  resultobj = SWIG_From_bool(static_cast< bool >(result));
126736  if (SWIG_IsNewObj(res2)) delete arg2;
126737  return resultobj;
126738 fail:
126739  if (SWIG_IsNewObj(res2)) delete arg2;
126740  return NULL;
126741 }
126742 
126743 
126744 SWIGINTERN PyObject *_wrap_AnimatBase_SetData__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
126745  PyObject *resultobj = 0;
126747  std::string *arg2 = 0 ;
126748  float arg3 ;
126749  void *argp1 = 0 ;
126750  int res1 = 0 ;
126751  int res2 = SWIG_OLDOBJ ;
126752  float val3 ;
126753  int ecode3 = 0 ;
126754  PyObject * obj0 = 0 ;
126755  PyObject * obj1 = 0 ;
126756  PyObject * obj2 = 0 ;
126757  bool result;
126758 
126759  if (!PyArg_ParseTuple(args,(char *)"OOO:AnimatBase_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
126760  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
126761  if (!SWIG_IsOK(res1)) {
126762  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_SetData" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
126763  }
126764  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
126765  {
126766  std::string *ptr = (std::string *)0;
126767  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
126768  if (!SWIG_IsOK(res2)) {
126769  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
126770  }
126771  if (!ptr) {
126772  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
126773  }
126774  arg2 = ptr;
126775  }
126776  ecode3 = SWIG_AsVal_float(obj2, &val3);
126777  if (!SWIG_IsOK(ecode3)) {
126778  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AnimatBase_SetData" "', argument " "3"" of type '" "float""'");
126779  }
126780  arg3 = static_cast< float >(val3);
126781  {
126782  try {
126783  result = (bool)(arg1)->SetData((std::string const &)*arg2,arg3);
126784  }
126785  catch(CStdErrorInfo oError)
126786  {
126787  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126788  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
126789  PyErr_SetString(PyExc_IndexError, strError.c_str());
126790  SWIG_fail;
126791  }
126792  catch(...)
126793  {
126794  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126795  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
126796  SWIG_fail;
126797  }
126798  }
126799  resultobj = SWIG_From_bool(static_cast< bool >(result));
126800  if (SWIG_IsNewObj(res2)) delete arg2;
126801  return resultobj;
126802 fail:
126803  if (SWIG_IsNewObj(res2)) delete arg2;
126804  return NULL;
126805 }
126806 
126807 
126808 SWIGINTERN PyObject *_wrap_AnimatBase_SetData__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
126809  PyObject *resultobj = 0;
126811  std::string *arg2 = 0 ;
126812  long arg3 ;
126813  bool arg4 ;
126814  void *argp1 = 0 ;
126815  int res1 = 0 ;
126816  int res2 = SWIG_OLDOBJ ;
126817  long val3 ;
126818  int ecode3 = 0 ;
126819  bool val4 ;
126820  int ecode4 = 0 ;
126821  PyObject * obj0 = 0 ;
126822  PyObject * obj1 = 0 ;
126823  PyObject * obj2 = 0 ;
126824  PyObject * obj3 = 0 ;
126825  bool result;
126826 
126827  if (!PyArg_ParseTuple(args,(char *)"OOOO:AnimatBase_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
126828  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
126829  if (!SWIG_IsOK(res1)) {
126830  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_SetData" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
126831  }
126832  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
126833  {
126834  std::string *ptr = (std::string *)0;
126835  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
126836  if (!SWIG_IsOK(res2)) {
126837  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
126838  }
126839  if (!ptr) {
126840  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
126841  }
126842  arg2 = ptr;
126843  }
126844  ecode3 = SWIG_AsVal_long(obj2, &val3);
126845  if (!SWIG_IsOK(ecode3)) {
126846  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AnimatBase_SetData" "', argument " "3"" of type '" "long""'");
126847  }
126848  arg3 = static_cast< long >(val3);
126849  ecode4 = SWIG_AsVal_bool(obj3, &val4);
126850  if (!SWIG_IsOK(ecode4)) {
126851  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AnimatBase_SetData" "', argument " "4"" of type '" "bool""'");
126852  }
126853  arg4 = static_cast< bool >(val4);
126854  {
126855  try {
126856  result = (bool)(arg1)->SetData((std::string const &)*arg2,arg3,arg4);
126857  }
126858  catch(CStdErrorInfo oError)
126859  {
126860  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126861  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
126862  PyErr_SetString(PyExc_IndexError, strError.c_str());
126863  SWIG_fail;
126864  }
126865  catch(...)
126866  {
126867  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126868  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
126869  SWIG_fail;
126870  }
126871  }
126872  resultobj = SWIG_From_bool(static_cast< bool >(result));
126873  if (SWIG_IsNewObj(res2)) delete arg2;
126874  return resultobj;
126875 fail:
126876  if (SWIG_IsNewObj(res2)) delete arg2;
126877  return NULL;
126878 }
126879 
126880 
126881 SWIGINTERN PyObject *_wrap_AnimatBase_SetData__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
126882  PyObject *resultobj = 0;
126884  std::string *arg2 = 0 ;
126885  long arg3 ;
126886  void *argp1 = 0 ;
126887  int res1 = 0 ;
126888  int res2 = SWIG_OLDOBJ ;
126889  long val3 ;
126890  int ecode3 = 0 ;
126891  PyObject * obj0 = 0 ;
126892  PyObject * obj1 = 0 ;
126893  PyObject * obj2 = 0 ;
126894  bool result;
126895 
126896  if (!PyArg_ParseTuple(args,(char *)"OOO:AnimatBase_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
126897  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
126898  if (!SWIG_IsOK(res1)) {
126899  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_SetData" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
126900  }
126901  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
126902  {
126903  std::string *ptr = (std::string *)0;
126904  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
126905  if (!SWIG_IsOK(res2)) {
126906  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
126907  }
126908  if (!ptr) {
126909  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
126910  }
126911  arg2 = ptr;
126912  }
126913  ecode3 = SWIG_AsVal_long(obj2, &val3);
126914  if (!SWIG_IsOK(ecode3)) {
126915  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AnimatBase_SetData" "', argument " "3"" of type '" "long""'");
126916  }
126917  arg3 = static_cast< long >(val3);
126918  {
126919  try {
126920  result = (bool)(arg1)->SetData((std::string const &)*arg2,arg3);
126921  }
126922  catch(CStdErrorInfo oError)
126923  {
126924  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126925  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
126926  PyErr_SetString(PyExc_IndexError, strError.c_str());
126927  SWIG_fail;
126928  }
126929  catch(...)
126930  {
126931  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
126932  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
126933  SWIG_fail;
126934  }
126935  }
126936  resultobj = SWIG_From_bool(static_cast< bool >(result));
126937  if (SWIG_IsNewObj(res2)) delete arg2;
126938  return resultobj;
126939 fail:
126940  if (SWIG_IsNewObj(res2)) delete arg2;
126941  return NULL;
126942 }
126943 
126944 
126945 SWIGINTERN PyObject *_wrap_AnimatBase_SetData(PyObject *self, PyObject *args) {
126946  int argc;
126947  PyObject *argv[5];
126948  int ii;
126949 
126950  if (!PyTuple_Check(args)) SWIG_fail;
126951  argc = args ? (int)PyObject_Length(args) : 0;
126952  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
126953  argv[ii] = PyTuple_GET_ITEM(args,ii);
126954  }
126955  if (argc == 3) {
126956  int _v;
126957  void *vptr = 0;
126958  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
126959  _v = SWIG_CheckState(res);
126960  if (_v) {
126961  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
126962  _v = SWIG_CheckState(res);
126963  if (_v) {
126964  {
126965  int res = SWIG_AsVal_long(argv[2], NULL);
126966  _v = SWIG_CheckState(res);
126967  }
126968  if (_v) {
126969  return _wrap_AnimatBase_SetData__SWIG_5(self, args);
126970  }
126971  }
126972  }
126973  }
126974  if (argc == 3) {
126975  int _v;
126976  void *vptr = 0;
126977  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
126978  _v = SWIG_CheckState(res);
126979  if (_v) {
126980  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
126981  _v = SWIG_CheckState(res);
126982  if (_v) {
126983  {
126984  int res = SWIG_AsVal_float(argv[2], NULL);
126985  _v = SWIG_CheckState(res);
126986  }
126987  if (_v) {
126988  return _wrap_AnimatBase_SetData__SWIG_3(self, args);
126989  }
126990  }
126991  }
126992  }
126993  if (argc == 3) {
126994  int _v;
126995  void *vptr = 0;
126996  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
126997  _v = SWIG_CheckState(res);
126998  if (_v) {
126999  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
127000  _v = SWIG_CheckState(res);
127001  if (_v) {
127002  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
127003  _v = SWIG_CheckState(res);
127004  if (_v) {
127005  return _wrap_AnimatBase_SetData__SWIG_1(self, args);
127006  }
127007  }
127008  }
127009  }
127010  if (argc == 4) {
127011  int _v;
127012  void *vptr = 0;
127013  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
127014  _v = SWIG_CheckState(res);
127015  if (_v) {
127016  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
127017  _v = SWIG_CheckState(res);
127018  if (_v) {
127019  {
127020  int res = SWIG_AsVal_long(argv[2], NULL);
127021  _v = SWIG_CheckState(res);
127022  }
127023  if (_v) {
127024  {
127025  int res = SWIG_AsVal_bool(argv[3], NULL);
127026  _v = SWIG_CheckState(res);
127027  }
127028  if (_v) {
127029  return _wrap_AnimatBase_SetData__SWIG_4(self, args);
127030  }
127031  }
127032  }
127033  }
127034  }
127035  if (argc == 4) {
127036  int _v;
127037  void *vptr = 0;
127038  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
127039  _v = SWIG_CheckState(res);
127040  if (_v) {
127041  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
127042  _v = SWIG_CheckState(res);
127043  if (_v) {
127044  {
127045  int res = SWIG_AsVal_float(argv[2], NULL);
127046  _v = SWIG_CheckState(res);
127047  }
127048  if (_v) {
127049  {
127050  int res = SWIG_AsVal_bool(argv[3], NULL);
127051  _v = SWIG_CheckState(res);
127052  }
127053  if (_v) {
127054  return _wrap_AnimatBase_SetData__SWIG_2(self, args);
127055  }
127056  }
127057  }
127058  }
127059  }
127060  if (argc == 4) {
127061  int _v;
127062  void *vptr = 0;
127063  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
127064  _v = SWIG_CheckState(res);
127065  if (_v) {
127066  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
127067  _v = SWIG_CheckState(res);
127068  if (_v) {
127069  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
127070  _v = SWIG_CheckState(res);
127071  if (_v) {
127072  {
127073  int res = SWIG_AsVal_bool(argv[3], NULL);
127074  _v = SWIG_CheckState(res);
127075  }
127076  if (_v) {
127077  return _wrap_AnimatBase_SetData__SWIG_0(self, args);
127078  }
127079  }
127080  }
127081  }
127082  }
127083 
127084 fail:
127085  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'AnimatBase_SetData'.\n"
127086  " Possible C/C++ prototypes are:\n"
127087  " AnimatSim::AnimatBase::SetData(std::string const &,std::string const &,bool)\n"
127088  " AnimatSim::AnimatBase::SetData(std::string const &,std::string const &)\n"
127089  " AnimatSim::AnimatBase::SetData(std::string const &,float const,bool)\n"
127090  " AnimatSim::AnimatBase::SetData(std::string const &,float const)\n"
127091  " AnimatSim::AnimatBase::SetData(std::string const &,long const,bool)\n"
127092  " AnimatSim::AnimatBase::SetData(std::string const &,long const)\n");
127093  return 0;
127094 }
127095 
127096 
127097 SWIGINTERN PyObject *_wrap_AnimatBase_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
127098  PyObject *resultobj = 0;
127100  CStdPtrArray< TypeProperty > *arg2 = 0 ;
127101  void *argp1 = 0 ;
127102  int res1 = 0 ;
127103  void *argp2 = 0 ;
127104  int res2 = 0 ;
127105  PyObject * obj0 = 0 ;
127106  PyObject * obj1 = 0 ;
127107 
127108  if (!PyArg_ParseTuple(args,(char *)"OO:AnimatBase_QueryProperties",&obj0,&obj1)) SWIG_fail;
127109  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
127110  if (!SWIG_IsOK(res1)) {
127111  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_QueryProperties" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
127112  }
127113  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
127114  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
127115  if (!SWIG_IsOK(res2)) {
127116  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
127117  }
127118  if (!argp2) {
127119  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
127120  }
127121  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
127122  {
127123  try {
127124  (arg1)->QueryProperties(*arg2);
127125  }
127126  catch(CStdErrorInfo oError)
127127  {
127128  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127129  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
127130  PyErr_SetString(PyExc_IndexError, strError.c_str());
127131  SWIG_fail;
127132  }
127133  catch(...)
127134  {
127135  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127136  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
127137  SWIG_fail;
127138  }
127139  }
127140  resultobj = SWIG_Py_Void();
127141  return resultobj;
127142 fail:
127143  return NULL;
127144 }
127145 
127146 
127147 SWIGINTERN PyObject *_wrap_AnimatBase_HasProperty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
127148  PyObject *resultobj = 0;
127150  std::string *arg2 = 0 ;
127151  void *argp1 = 0 ;
127152  int res1 = 0 ;
127153  int res2 = SWIG_OLDOBJ ;
127154  PyObject * obj0 = 0 ;
127155  PyObject * obj1 = 0 ;
127156  bool result;
127157 
127158  if (!PyArg_ParseTuple(args,(char *)"OO:AnimatBase_HasProperty",&obj0,&obj1)) SWIG_fail;
127159  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
127160  if (!SWIG_IsOK(res1)) {
127161  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_HasProperty" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
127162  }
127163  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
127164  {
127165  std::string *ptr = (std::string *)0;
127166  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
127167  if (!SWIG_IsOK(res2)) {
127168  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_HasProperty" "', argument " "2"" of type '" "std::string const &""'");
127169  }
127170  if (!ptr) {
127171  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_HasProperty" "', argument " "2"" of type '" "std::string const &""'");
127172  }
127173  arg2 = ptr;
127174  }
127175  {
127176  try {
127177  result = (bool)(arg1)->HasProperty((std::string const &)*arg2);
127178  }
127179  catch(CStdErrorInfo oError)
127180  {
127181  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127182  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
127183  PyErr_SetString(PyExc_IndexError, strError.c_str());
127184  SWIG_fail;
127185  }
127186  catch(...)
127187  {
127188  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127189  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
127190  SWIG_fail;
127191  }
127192  }
127193  resultobj = SWIG_From_bool(static_cast< bool >(result));
127194  if (SWIG_IsNewObj(res2)) delete arg2;
127195  return resultobj;
127196 fail:
127197  if (SWIG_IsNewObj(res2)) delete arg2;
127198  return NULL;
127199 }
127200 
127201 
127202 SWIGINTERN PyObject *_wrap_AnimatBase_PropertyType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
127203  PyObject *resultobj = 0;
127205  std::string *arg2 = 0 ;
127206  void *argp1 = 0 ;
127207  int res1 = 0 ;
127208  int res2 = SWIG_OLDOBJ ;
127209  PyObject * obj0 = 0 ;
127210  PyObject * obj1 = 0 ;
127211  AnimatPropertyType result;
127212 
127213  if (!PyArg_ParseTuple(args,(char *)"OO:AnimatBase_PropertyType",&obj0,&obj1)) SWIG_fail;
127214  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
127215  if (!SWIG_IsOK(res1)) {
127216  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_PropertyType" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
127217  }
127218  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
127219  {
127220  std::string *ptr = (std::string *)0;
127221  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
127222  if (!SWIG_IsOK(res2)) {
127223  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_PropertyType" "', argument " "2"" of type '" "std::string const &""'");
127224  }
127225  if (!ptr) {
127226  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_PropertyType" "', argument " "2"" of type '" "std::string const &""'");
127227  }
127228  arg2 = ptr;
127229  }
127230  {
127231  try {
127232  result = (arg1)->PropertyType((std::string const &)*arg2);
127233  }
127234  catch(CStdErrorInfo oError)
127235  {
127236  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127237  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
127238  PyErr_SetString(PyExc_IndexError, strError.c_str());
127239  SWIG_fail;
127240  }
127241  catch(...)
127242  {
127243  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127244  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
127245  SWIG_fail;
127246  }
127247  }
127248  resultobj = SWIG_NewPointerObj((new AnimatPropertyType(static_cast< const AnimatPropertyType& >(result))), SWIGTYPE_p_AnimatPropertyType, SWIG_POINTER_OWN | 0 );
127249  if (SWIG_IsNewObj(res2)) delete arg2;
127250  return resultobj;
127251 fail:
127252  if (SWIG_IsNewObj(res2)) delete arg2;
127253  return NULL;
127254 }
127255 
127256 
127257 SWIGINTERN PyObject *_wrap_AnimatBase_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
127258  PyObject *resultobj = 0;
127260  std::string *arg2 = 0 ;
127261  std::string *arg3 = 0 ;
127262  bool arg4 ;
127263  bool arg5 ;
127264  void *argp1 = 0 ;
127265  int res1 = 0 ;
127266  int res2 = SWIG_OLDOBJ ;
127267  int res3 = SWIG_OLDOBJ ;
127268  bool val4 ;
127269  int ecode4 = 0 ;
127270  bool val5 ;
127271  int ecode5 = 0 ;
127272  PyObject * obj0 = 0 ;
127273  PyObject * obj1 = 0 ;
127274  PyObject * obj2 = 0 ;
127275  PyObject * obj3 = 0 ;
127276  PyObject * obj4 = 0 ;
127277  bool result;
127278 
127279  if (!PyArg_ParseTuple(args,(char *)"OOOOO:AnimatBase_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
127280  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
127281  if (!SWIG_IsOK(res1)) {
127282  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_AddItem" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
127283  }
127284  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
127285  {
127286  std::string *ptr = (std::string *)0;
127287  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
127288  if (!SWIG_IsOK(res2)) {
127289  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_AddItem" "', argument " "2"" of type '" "std::string const &""'");
127290  }
127291  if (!ptr) {
127292  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_AddItem" "', argument " "2"" of type '" "std::string const &""'");
127293  }
127294  arg2 = ptr;
127295  }
127296  {
127297  std::string *ptr = (std::string *)0;
127298  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
127299  if (!SWIG_IsOK(res3)) {
127300  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AnimatBase_AddItem" "', argument " "3"" of type '" "std::string const &""'");
127301  }
127302  if (!ptr) {
127303  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_AddItem" "', argument " "3"" of type '" "std::string const &""'");
127304  }
127305  arg3 = ptr;
127306  }
127307  ecode4 = SWIG_AsVal_bool(obj3, &val4);
127308  if (!SWIG_IsOK(ecode4)) {
127309  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AnimatBase_AddItem" "', argument " "4"" of type '" "bool""'");
127310  }
127311  arg4 = static_cast< bool >(val4);
127312  ecode5 = SWIG_AsVal_bool(obj4, &val5);
127313  if (!SWIG_IsOK(ecode5)) {
127314  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AnimatBase_AddItem" "', argument " "5"" of type '" "bool""'");
127315  }
127316  arg5 = static_cast< bool >(val5);
127317  {
127318  try {
127319  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
127320  }
127321  catch(CStdErrorInfo oError)
127322  {
127323  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127324  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
127325  PyErr_SetString(PyExc_IndexError, strError.c_str());
127326  SWIG_fail;
127327  }
127328  catch(...)
127329  {
127330  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127331  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
127332  SWIG_fail;
127333  }
127334  }
127335  resultobj = SWIG_From_bool(static_cast< bool >(result));
127336  if (SWIG_IsNewObj(res2)) delete arg2;
127337  if (SWIG_IsNewObj(res3)) delete arg3;
127338  return resultobj;
127339 fail:
127340  if (SWIG_IsNewObj(res2)) delete arg2;
127341  if (SWIG_IsNewObj(res3)) delete arg3;
127342  return NULL;
127343 }
127344 
127345 
127346 SWIGINTERN PyObject *_wrap_AnimatBase_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
127347  PyObject *resultobj = 0;
127349  std::string *arg2 = 0 ;
127350  std::string *arg3 = 0 ;
127351  bool arg4 ;
127352  void *argp1 = 0 ;
127353  int res1 = 0 ;
127354  int res2 = SWIG_OLDOBJ ;
127355  int res3 = SWIG_OLDOBJ ;
127356  bool val4 ;
127357  int ecode4 = 0 ;
127358  PyObject * obj0 = 0 ;
127359  PyObject * obj1 = 0 ;
127360  PyObject * obj2 = 0 ;
127361  PyObject * obj3 = 0 ;
127362  bool result;
127363 
127364  if (!PyArg_ParseTuple(args,(char *)"OOOO:AnimatBase_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
127365  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
127366  if (!SWIG_IsOK(res1)) {
127367  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_AddItem" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
127368  }
127369  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
127370  {
127371  std::string *ptr = (std::string *)0;
127372  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
127373  if (!SWIG_IsOK(res2)) {
127374  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_AddItem" "', argument " "2"" of type '" "std::string const &""'");
127375  }
127376  if (!ptr) {
127377  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_AddItem" "', argument " "2"" of type '" "std::string const &""'");
127378  }
127379  arg2 = ptr;
127380  }
127381  {
127382  std::string *ptr = (std::string *)0;
127383  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
127384  if (!SWIG_IsOK(res3)) {
127385  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AnimatBase_AddItem" "', argument " "3"" of type '" "std::string const &""'");
127386  }
127387  if (!ptr) {
127388  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_AddItem" "', argument " "3"" of type '" "std::string const &""'");
127389  }
127390  arg3 = ptr;
127391  }
127392  ecode4 = SWIG_AsVal_bool(obj3, &val4);
127393  if (!SWIG_IsOK(ecode4)) {
127394  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AnimatBase_AddItem" "', argument " "4"" of type '" "bool""'");
127395  }
127396  arg4 = static_cast< bool >(val4);
127397  {
127398  try {
127399  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
127400  }
127401  catch(CStdErrorInfo oError)
127402  {
127403  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127404  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
127405  PyErr_SetString(PyExc_IndexError, strError.c_str());
127406  SWIG_fail;
127407  }
127408  catch(...)
127409  {
127410  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127411  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
127412  SWIG_fail;
127413  }
127414  }
127415  resultobj = SWIG_From_bool(static_cast< bool >(result));
127416  if (SWIG_IsNewObj(res2)) delete arg2;
127417  if (SWIG_IsNewObj(res3)) delete arg3;
127418  return resultobj;
127419 fail:
127420  if (SWIG_IsNewObj(res2)) delete arg2;
127421  if (SWIG_IsNewObj(res3)) delete arg3;
127422  return NULL;
127423 }
127424 
127425 
127426 SWIGINTERN PyObject *_wrap_AnimatBase_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
127427  PyObject *resultobj = 0;
127429  std::string *arg2 = 0 ;
127430  std::string *arg3 = 0 ;
127431  void *argp1 = 0 ;
127432  int res1 = 0 ;
127433  int res2 = SWIG_OLDOBJ ;
127434  int res3 = SWIG_OLDOBJ ;
127435  PyObject * obj0 = 0 ;
127436  PyObject * obj1 = 0 ;
127437  PyObject * obj2 = 0 ;
127438  bool result;
127439 
127440  if (!PyArg_ParseTuple(args,(char *)"OOO:AnimatBase_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
127441  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
127442  if (!SWIG_IsOK(res1)) {
127443  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_AddItem" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
127444  }
127445  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
127446  {
127447  std::string *ptr = (std::string *)0;
127448  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
127449  if (!SWIG_IsOK(res2)) {
127450  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_AddItem" "', argument " "2"" of type '" "std::string const &""'");
127451  }
127452  if (!ptr) {
127453  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_AddItem" "', argument " "2"" of type '" "std::string const &""'");
127454  }
127455  arg2 = ptr;
127456  }
127457  {
127458  std::string *ptr = (std::string *)0;
127459  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
127460  if (!SWIG_IsOK(res3)) {
127461  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AnimatBase_AddItem" "', argument " "3"" of type '" "std::string const &""'");
127462  }
127463  if (!ptr) {
127464  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_AddItem" "', argument " "3"" of type '" "std::string const &""'");
127465  }
127466  arg3 = ptr;
127467  }
127468  {
127469  try {
127470  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
127471  }
127472  catch(CStdErrorInfo oError)
127473  {
127474  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127475  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
127476  PyErr_SetString(PyExc_IndexError, strError.c_str());
127477  SWIG_fail;
127478  }
127479  catch(...)
127480  {
127481  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127482  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
127483  SWIG_fail;
127484  }
127485  }
127486  resultobj = SWIG_From_bool(static_cast< bool >(result));
127487  if (SWIG_IsNewObj(res2)) delete arg2;
127488  if (SWIG_IsNewObj(res3)) delete arg3;
127489  return resultobj;
127490 fail:
127491  if (SWIG_IsNewObj(res2)) delete arg2;
127492  if (SWIG_IsNewObj(res3)) delete arg3;
127493  return NULL;
127494 }
127495 
127496 
127497 SWIGINTERN PyObject *_wrap_AnimatBase_AddItem(PyObject *self, PyObject *args) {
127498  int argc;
127499  PyObject *argv[6];
127500  int ii;
127501 
127502  if (!PyTuple_Check(args)) SWIG_fail;
127503  argc = args ? (int)PyObject_Length(args) : 0;
127504  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
127505  argv[ii] = PyTuple_GET_ITEM(args,ii);
127506  }
127507  if (argc == 3) {
127508  int _v;
127509  void *vptr = 0;
127510  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
127511  _v = SWIG_CheckState(res);
127512  if (_v) {
127513  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
127514  _v = SWIG_CheckState(res);
127515  if (_v) {
127516  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
127517  _v = SWIG_CheckState(res);
127518  if (_v) {
127519  return _wrap_AnimatBase_AddItem__SWIG_2(self, args);
127520  }
127521  }
127522  }
127523  }
127524  if (argc == 4) {
127525  int _v;
127526  void *vptr = 0;
127527  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
127528  _v = SWIG_CheckState(res);
127529  if (_v) {
127530  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
127531  _v = SWIG_CheckState(res);
127532  if (_v) {
127533  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
127534  _v = SWIG_CheckState(res);
127535  if (_v) {
127536  {
127537  int res = SWIG_AsVal_bool(argv[3], NULL);
127538  _v = SWIG_CheckState(res);
127539  }
127540  if (_v) {
127541  return _wrap_AnimatBase_AddItem__SWIG_1(self, args);
127542  }
127543  }
127544  }
127545  }
127546  }
127547  if (argc == 5) {
127548  int _v;
127549  void *vptr = 0;
127550  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
127551  _v = SWIG_CheckState(res);
127552  if (_v) {
127553  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
127554  _v = SWIG_CheckState(res);
127555  if (_v) {
127556  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
127557  _v = SWIG_CheckState(res);
127558  if (_v) {
127559  {
127560  int res = SWIG_AsVal_bool(argv[3], NULL);
127561  _v = SWIG_CheckState(res);
127562  }
127563  if (_v) {
127564  {
127565  int res = SWIG_AsVal_bool(argv[4], NULL);
127566  _v = SWIG_CheckState(res);
127567  }
127568  if (_v) {
127569  return _wrap_AnimatBase_AddItem__SWIG_0(self, args);
127570  }
127571  }
127572  }
127573  }
127574  }
127575  }
127576 
127577 fail:
127578  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'AnimatBase_AddItem'.\n"
127579  " Possible C/C++ prototypes are:\n"
127580  " AnimatSim::AnimatBase::AddItem(std::string const &,std::string const &,bool,bool)\n"
127581  " AnimatSim::AnimatBase::AddItem(std::string const &,std::string const &,bool)\n"
127582  " AnimatSim::AnimatBase::AddItem(std::string const &,std::string const &)\n");
127583  return 0;
127584 }
127585 
127586 
127587 SWIGINTERN PyObject *_wrap_AnimatBase_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
127588  PyObject *resultobj = 0;
127590  std::string *arg2 = 0 ;
127591  std::string *arg3 = 0 ;
127592  bool arg4 ;
127593  void *argp1 = 0 ;
127594  int res1 = 0 ;
127595  int res2 = SWIG_OLDOBJ ;
127596  int res3 = SWIG_OLDOBJ ;
127597  bool val4 ;
127598  int ecode4 = 0 ;
127599  PyObject * obj0 = 0 ;
127600  PyObject * obj1 = 0 ;
127601  PyObject * obj2 = 0 ;
127602  PyObject * obj3 = 0 ;
127603  bool result;
127604 
127605  if (!PyArg_ParseTuple(args,(char *)"OOOO:AnimatBase_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
127606  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
127607  if (!SWIG_IsOK(res1)) {
127608  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_RemoveItem" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
127609  }
127610  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
127611  {
127612  std::string *ptr = (std::string *)0;
127613  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
127614  if (!SWIG_IsOK(res2)) {
127615  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
127616  }
127617  if (!ptr) {
127618  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
127619  }
127620  arg2 = ptr;
127621  }
127622  {
127623  std::string *ptr = (std::string *)0;
127624  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
127625  if (!SWIG_IsOK(res3)) {
127626  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AnimatBase_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
127627  }
127628  if (!ptr) {
127629  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
127630  }
127631  arg3 = ptr;
127632  }
127633  ecode4 = SWIG_AsVal_bool(obj3, &val4);
127634  if (!SWIG_IsOK(ecode4)) {
127635  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AnimatBase_RemoveItem" "', argument " "4"" of type '" "bool""'");
127636  }
127637  arg4 = static_cast< bool >(val4);
127638  {
127639  try {
127640  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
127641  }
127642  catch(CStdErrorInfo oError)
127643  {
127644  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127645  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
127646  PyErr_SetString(PyExc_IndexError, strError.c_str());
127647  SWIG_fail;
127648  }
127649  catch(...)
127650  {
127651  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127652  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
127653  SWIG_fail;
127654  }
127655  }
127656  resultobj = SWIG_From_bool(static_cast< bool >(result));
127657  if (SWIG_IsNewObj(res2)) delete arg2;
127658  if (SWIG_IsNewObj(res3)) delete arg3;
127659  return resultobj;
127660 fail:
127661  if (SWIG_IsNewObj(res2)) delete arg2;
127662  if (SWIG_IsNewObj(res3)) delete arg3;
127663  return NULL;
127664 }
127665 
127666 
127667 SWIGINTERN PyObject *_wrap_AnimatBase_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
127668  PyObject *resultobj = 0;
127670  std::string *arg2 = 0 ;
127671  std::string *arg3 = 0 ;
127672  void *argp1 = 0 ;
127673  int res1 = 0 ;
127674  int res2 = SWIG_OLDOBJ ;
127675  int res3 = SWIG_OLDOBJ ;
127676  PyObject * obj0 = 0 ;
127677  PyObject * obj1 = 0 ;
127678  PyObject * obj2 = 0 ;
127679  bool result;
127680 
127681  if (!PyArg_ParseTuple(args,(char *)"OOO:AnimatBase_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
127682  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
127683  if (!SWIG_IsOK(res1)) {
127684  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_RemoveItem" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
127685  }
127686  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
127687  {
127688  std::string *ptr = (std::string *)0;
127689  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
127690  if (!SWIG_IsOK(res2)) {
127691  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
127692  }
127693  if (!ptr) {
127694  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
127695  }
127696  arg2 = ptr;
127697  }
127698  {
127699  std::string *ptr = (std::string *)0;
127700  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
127701  if (!SWIG_IsOK(res3)) {
127702  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AnimatBase_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
127703  }
127704  if (!ptr) {
127705  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
127706  }
127707  arg3 = ptr;
127708  }
127709  {
127710  try {
127711  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
127712  }
127713  catch(CStdErrorInfo oError)
127714  {
127715  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127716  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
127717  PyErr_SetString(PyExc_IndexError, strError.c_str());
127718  SWIG_fail;
127719  }
127720  catch(...)
127721  {
127722  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127723  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
127724  SWIG_fail;
127725  }
127726  }
127727  resultobj = SWIG_From_bool(static_cast< bool >(result));
127728  if (SWIG_IsNewObj(res2)) delete arg2;
127729  if (SWIG_IsNewObj(res3)) delete arg3;
127730  return resultobj;
127731 fail:
127732  if (SWIG_IsNewObj(res2)) delete arg2;
127733  if (SWIG_IsNewObj(res3)) delete arg3;
127734  return NULL;
127735 }
127736 
127737 
127738 SWIGINTERN PyObject *_wrap_AnimatBase_RemoveItem(PyObject *self, PyObject *args) {
127739  int argc;
127740  PyObject *argv[5];
127741  int ii;
127742 
127743  if (!PyTuple_Check(args)) SWIG_fail;
127744  argc = args ? (int)PyObject_Length(args) : 0;
127745  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
127746  argv[ii] = PyTuple_GET_ITEM(args,ii);
127747  }
127748  if (argc == 3) {
127749  int _v;
127750  void *vptr = 0;
127751  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
127752  _v = SWIG_CheckState(res);
127753  if (_v) {
127754  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
127755  _v = SWIG_CheckState(res);
127756  if (_v) {
127757  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
127758  _v = SWIG_CheckState(res);
127759  if (_v) {
127760  return _wrap_AnimatBase_RemoveItem__SWIG_1(self, args);
127761  }
127762  }
127763  }
127764  }
127765  if (argc == 4) {
127766  int _v;
127767  void *vptr = 0;
127768  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
127769  _v = SWIG_CheckState(res);
127770  if (_v) {
127771  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
127772  _v = SWIG_CheckState(res);
127773  if (_v) {
127774  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
127775  _v = SWIG_CheckState(res);
127776  if (_v) {
127777  {
127778  int res = SWIG_AsVal_bool(argv[3], NULL);
127779  _v = SWIG_CheckState(res);
127780  }
127781  if (_v) {
127782  return _wrap_AnimatBase_RemoveItem__SWIG_0(self, args);
127783  }
127784  }
127785  }
127786  }
127787  }
127788 
127789 fail:
127790  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'AnimatBase_RemoveItem'.\n"
127791  " Possible C/C++ prototypes are:\n"
127792  " AnimatSim::AnimatBase::RemoveItem(std::string const &,std::string const &,bool)\n"
127793  " AnimatSim::AnimatBase::RemoveItem(std::string const &,std::string const &)\n");
127794  return 0;
127795 }
127796 
127797 
127798 SWIGINTERN PyObject *_wrap_AnimatBase_RigidBodyAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
127799  PyObject *resultobj = 0;
127801  std::string arg2 ;
127802  void *argp1 = 0 ;
127803  int res1 = 0 ;
127804  PyObject * obj0 = 0 ;
127805  PyObject * obj1 = 0 ;
127806 
127807  if (!PyArg_ParseTuple(args,(char *)"OO:AnimatBase_RigidBodyAdded",&obj0,&obj1)) SWIG_fail;
127808  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
127809  if (!SWIG_IsOK(res1)) {
127810  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_RigidBodyAdded" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
127811  }
127812  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
127813  {
127814  std::string *ptr = (std::string *)0;
127815  int res = SWIG_AsPtr_std_string(obj1, &ptr);
127816  if (!SWIG_IsOK(res) || !ptr) {
127817  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "AnimatBase_RigidBodyAdded" "', argument " "2"" of type '" "std::string""'");
127818  }
127819  arg2 = *ptr;
127820  if (SWIG_IsNewObj(res)) delete ptr;
127821  }
127822  {
127823  try {
127824  (arg1)->RigidBodyAdded(arg2);
127825  }
127826  catch(CStdErrorInfo oError)
127827  {
127828  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127829  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
127830  PyErr_SetString(PyExc_IndexError, strError.c_str());
127831  SWIG_fail;
127832  }
127833  catch(...)
127834  {
127835  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127836  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
127837  SWIG_fail;
127838  }
127839  }
127840  resultobj = SWIG_Py_Void();
127841  return resultobj;
127842 fail:
127843  return NULL;
127844 }
127845 
127846 
127847 SWIGINTERN PyObject *_wrap_AnimatBase_RigidBodyRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
127848  PyObject *resultobj = 0;
127850  std::string arg2 ;
127851  void *argp1 = 0 ;
127852  int res1 = 0 ;
127853  PyObject * obj0 = 0 ;
127854  PyObject * obj1 = 0 ;
127855 
127856  if (!PyArg_ParseTuple(args,(char *)"OO:AnimatBase_RigidBodyRemoved",&obj0,&obj1)) SWIG_fail;
127857  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
127858  if (!SWIG_IsOK(res1)) {
127859  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_RigidBodyRemoved" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
127860  }
127861  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
127862  {
127863  std::string *ptr = (std::string *)0;
127864  int res = SWIG_AsPtr_std_string(obj1, &ptr);
127865  if (!SWIG_IsOK(res) || !ptr) {
127866  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "AnimatBase_RigidBodyRemoved" "', argument " "2"" of type '" "std::string""'");
127867  }
127868  arg2 = *ptr;
127869  if (SWIG_IsNewObj(res)) delete ptr;
127870  }
127871  {
127872  try {
127873  (arg1)->RigidBodyRemoved(arg2);
127874  }
127875  catch(CStdErrorInfo oError)
127876  {
127877  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127878  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
127879  PyErr_SetString(PyExc_IndexError, strError.c_str());
127880  SWIG_fail;
127881  }
127882  catch(...)
127883  {
127884  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127885  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
127886  SWIG_fail;
127887  }
127888  }
127889  resultobj = SWIG_Py_Void();
127890  return resultobj;
127891 fail:
127892  return NULL;
127893 }
127894 
127895 
127896 SWIGINTERN PyObject *_wrap_AnimatBase_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
127897  PyObject *resultobj = 0;
127899  void *argp1 = 0 ;
127900  int res1 = 0 ;
127901  PyObject * obj0 = 0 ;
127902 
127903  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_Reset",&obj0)) SWIG_fail;
127904  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
127905  if (!SWIG_IsOK(res1)) {
127906  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_Reset" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
127907  }
127908  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
127909  {
127910  try {
127911  (arg1)->Reset();
127912  }
127913  catch(CStdErrorInfo oError)
127914  {
127915  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127916  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
127917  PyErr_SetString(PyExc_IndexError, strError.c_str());
127918  SWIG_fail;
127919  }
127920  catch(...)
127921  {
127922  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127923  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
127924  SWIG_fail;
127925  }
127926  }
127927  resultobj = SWIG_Py_Void();
127928  return resultobj;
127929 fail:
127930  return NULL;
127931 }
127932 
127933 
127934 SWIGINTERN PyObject *_wrap_AnimatBase_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
127935  PyObject *resultobj = 0;
127937  void *argp1 = 0 ;
127938  int res1 = 0 ;
127939  PyObject * obj0 = 0 ;
127940 
127941  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_Initialize",&obj0)) SWIG_fail;
127942  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
127943  if (!SWIG_IsOK(res1)) {
127944  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_Initialize" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
127945  }
127946  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
127947  {
127948  try {
127949  (arg1)->Initialize();
127950  }
127951  catch(CStdErrorInfo oError)
127952  {
127953  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127954  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
127955  PyErr_SetString(PyExc_IndexError, strError.c_str());
127956  SWIG_fail;
127957  }
127958  catch(...)
127959  {
127960  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127961  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
127962  SWIG_fail;
127963  }
127964  }
127965  resultobj = SWIG_Py_Void();
127966  return resultobj;
127967 fail:
127968  return NULL;
127969 }
127970 
127971 
127972 SWIGINTERN PyObject *_wrap_AnimatBase_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
127973  PyObject *resultobj = 0;
127975  void *argp1 = 0 ;
127976  int res1 = 0 ;
127977  PyObject * obj0 = 0 ;
127978 
127979  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_ResetSimulation",&obj0)) SWIG_fail;
127980  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
127981  if (!SWIG_IsOK(res1)) {
127982  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
127983  }
127984  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
127985  {
127986  try {
127987  (arg1)->ResetSimulation();
127988  }
127989  catch(CStdErrorInfo oError)
127990  {
127991  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127992  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
127993  PyErr_SetString(PyExc_IndexError, strError.c_str());
127994  SWIG_fail;
127995  }
127996  catch(...)
127997  {
127998  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
127999  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128000  SWIG_fail;
128001  }
128002  }
128003  resultobj = SWIG_Py_Void();
128004  return resultobj;
128005 fail:
128006  return NULL;
128007 }
128008 
128009 
128010 SWIGINTERN PyObject *_wrap_AnimatBase_AfterResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128011  PyObject *resultobj = 0;
128013  void *argp1 = 0 ;
128014  int res1 = 0 ;
128015  PyObject * obj0 = 0 ;
128016 
128017  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_AfterResetSimulation",&obj0)) SWIG_fail;
128018  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
128019  if (!SWIG_IsOK(res1)) {
128020  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_AfterResetSimulation" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
128021  }
128022  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
128023  {
128024  try {
128025  (arg1)->AfterResetSimulation();
128026  }
128027  catch(CStdErrorInfo oError)
128028  {
128029  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128030  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128031  PyErr_SetString(PyExc_IndexError, strError.c_str());
128032  SWIG_fail;
128033  }
128034  catch(...)
128035  {
128036  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128037  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128038  SWIG_fail;
128039  }
128040  }
128041  resultobj = SWIG_Py_Void();
128042  return resultobj;
128043 fail:
128044  return NULL;
128045 }
128046 
128047 
128048 SWIGINTERN PyObject *_wrap_AnimatBase_ReInitialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128049  PyObject *resultobj = 0;
128051  void *argp1 = 0 ;
128052  int res1 = 0 ;
128053  PyObject * obj0 = 0 ;
128054 
128055  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_ReInitialize",&obj0)) SWIG_fail;
128056  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
128057  if (!SWIG_IsOK(res1)) {
128058  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_ReInitialize" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
128059  }
128060  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
128061  {
128062  try {
128063  (arg1)->ReInitialize();
128064  }
128065  catch(CStdErrorInfo oError)
128066  {
128067  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128068  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128069  PyErr_SetString(PyExc_IndexError, strError.c_str());
128070  SWIG_fail;
128071  }
128072  catch(...)
128073  {
128074  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128075  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128076  SWIG_fail;
128077  }
128078  }
128079  resultobj = SWIG_Py_Void();
128080  return resultobj;
128081 fail:
128082  return NULL;
128083 }
128084 
128085 
128086 SWIGINTERN PyObject *_wrap_AnimatBase_Kill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128087  PyObject *resultobj = 0;
128089  bool arg2 ;
128090  void *argp1 = 0 ;
128091  int res1 = 0 ;
128092  bool val2 ;
128093  int ecode2 = 0 ;
128094  PyObject * obj0 = 0 ;
128095  PyObject * obj1 = 0 ;
128096 
128097  if (!PyArg_ParseTuple(args,(char *)"OO:AnimatBase_Kill",&obj0,&obj1)) SWIG_fail;
128098  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
128099  if (!SWIG_IsOK(res1)) {
128100  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_Kill" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
128101  }
128102  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
128103  ecode2 = SWIG_AsVal_bool(obj1, &val2);
128104  if (!SWIG_IsOK(ecode2)) {
128105  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AnimatBase_Kill" "', argument " "2"" of type '" "bool""'");
128106  }
128107  arg2 = static_cast< bool >(val2);
128108  {
128109  try {
128110  (arg1)->Kill(arg2);
128111  }
128112  catch(CStdErrorInfo oError)
128113  {
128114  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128115  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128116  PyErr_SetString(PyExc_IndexError, strError.c_str());
128117  SWIG_fail;
128118  }
128119  catch(...)
128120  {
128121  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128122  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128123  SWIG_fail;
128124  }
128125  }
128126  resultobj = SWIG_Py_Void();
128127  return resultobj;
128128 fail:
128129  return NULL;
128130 }
128131 
128132 
128133 SWIGINTERN PyObject *_wrap_AnimatBase_Kill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128134  PyObject *resultobj = 0;
128136  void *argp1 = 0 ;
128137  int res1 = 0 ;
128138  PyObject * obj0 = 0 ;
128139 
128140  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_Kill",&obj0)) SWIG_fail;
128141  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
128142  if (!SWIG_IsOK(res1)) {
128143  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_Kill" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
128144  }
128145  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
128146  {
128147  try {
128148  (arg1)->Kill();
128149  }
128150  catch(CStdErrorInfo oError)
128151  {
128152  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128153  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128154  PyErr_SetString(PyExc_IndexError, strError.c_str());
128155  SWIG_fail;
128156  }
128157  catch(...)
128158  {
128159  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128160  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128161  SWIG_fail;
128162  }
128163  }
128164  resultobj = SWIG_Py_Void();
128165  return resultobj;
128166 fail:
128167  return NULL;
128168 }
128169 
128170 
128171 SWIGINTERN PyObject *_wrap_AnimatBase_Kill(PyObject *self, PyObject *args) {
128172  int argc;
128173  PyObject *argv[3];
128174  int ii;
128175 
128176  if (!PyTuple_Check(args)) SWIG_fail;
128177  argc = args ? (int)PyObject_Length(args) : 0;
128178  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
128179  argv[ii] = PyTuple_GET_ITEM(args,ii);
128180  }
128181  if (argc == 1) {
128182  int _v;
128183  void *vptr = 0;
128184  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
128185  _v = SWIG_CheckState(res);
128186  if (_v) {
128187  return _wrap_AnimatBase_Kill__SWIG_1(self, args);
128188  }
128189  }
128190  if (argc == 2) {
128191  int _v;
128192  void *vptr = 0;
128193  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__AnimatBase, 0);
128194  _v = SWIG_CheckState(res);
128195  if (_v) {
128196  {
128197  int res = SWIG_AsVal_bool(argv[1], NULL);
128198  _v = SWIG_CheckState(res);
128199  }
128200  if (_v) {
128201  return _wrap_AnimatBase_Kill__SWIG_0(self, args);
128202  }
128203  }
128204  }
128205 
128206 fail:
128207  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'AnimatBase_Kill'.\n"
128208  " Possible C/C++ prototypes are:\n"
128209  " AnimatSim::AnimatBase::Kill(bool)\n"
128210  " AnimatSim::AnimatBase::Kill()\n");
128211  return 0;
128212 }
128213 
128214 
128215 SWIGINTERN PyObject *_wrap_AnimatBase_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128216  PyObject *resultobj = 0;
128218  void *argp1 = 0 ;
128219  int res1 = 0 ;
128220  PyObject * obj0 = 0 ;
128221 
128222  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_StepSimulation",&obj0)) SWIG_fail;
128223  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
128224  if (!SWIG_IsOK(res1)) {
128225  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_StepSimulation" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
128226  }
128227  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
128228  {
128229  try {
128230  (arg1)->StepSimulation();
128231  }
128232  catch(CStdErrorInfo oError)
128233  {
128234  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128235  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128236  PyErr_SetString(PyExc_IndexError, strError.c_str());
128237  SWIG_fail;
128238  }
128239  catch(...)
128240  {
128241  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128242  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128243  SWIG_fail;
128244  }
128245  }
128246  resultobj = SWIG_Py_Void();
128247  return resultobj;
128248 fail:
128249  return NULL;
128250 }
128251 
128252 
128253 SWIGINTERN PyObject *_wrap_AnimatBase_SimStarting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128254  PyObject *resultobj = 0;
128256  void *argp1 = 0 ;
128257  int res1 = 0 ;
128258  PyObject * obj0 = 0 ;
128259 
128260  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_SimStarting",&obj0)) SWIG_fail;
128261  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
128262  if (!SWIG_IsOK(res1)) {
128263  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_SimStarting" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
128264  }
128265  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
128266  {
128267  try {
128268  (arg1)->SimStarting();
128269  }
128270  catch(CStdErrorInfo oError)
128271  {
128272  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128273  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128274  PyErr_SetString(PyExc_IndexError, strError.c_str());
128275  SWIG_fail;
128276  }
128277  catch(...)
128278  {
128279  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128280  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128281  SWIG_fail;
128282  }
128283  }
128284  resultobj = SWIG_Py_Void();
128285  return resultobj;
128286 fail:
128287  return NULL;
128288 }
128289 
128290 
128291 SWIGINTERN PyObject *_wrap_AnimatBase_SimPausing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128292  PyObject *resultobj = 0;
128294  void *argp1 = 0 ;
128295  int res1 = 0 ;
128296  PyObject * obj0 = 0 ;
128297 
128298  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_SimPausing",&obj0)) SWIG_fail;
128299  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
128300  if (!SWIG_IsOK(res1)) {
128301  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_SimPausing" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
128302  }
128303  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
128304  {
128305  try {
128306  (arg1)->SimPausing();
128307  }
128308  catch(CStdErrorInfo oError)
128309  {
128310  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128311  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128312  PyErr_SetString(PyExc_IndexError, strError.c_str());
128313  SWIG_fail;
128314  }
128315  catch(...)
128316  {
128317  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128318  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128319  SWIG_fail;
128320  }
128321  }
128322  resultobj = SWIG_Py_Void();
128323  return resultobj;
128324 fail:
128325  return NULL;
128326 }
128327 
128328 
128329 SWIGINTERN PyObject *_wrap_AnimatBase_SimStopping(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128330  PyObject *resultobj = 0;
128332  void *argp1 = 0 ;
128333  int res1 = 0 ;
128334  PyObject * obj0 = 0 ;
128335 
128336  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_SimStopping",&obj0)) SWIG_fail;
128337  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
128338  if (!SWIG_IsOK(res1)) {
128339  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_SimStopping" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
128340  }
128341  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
128342  {
128343  try {
128344  (arg1)->SimStopping();
128345  }
128346  catch(CStdErrorInfo oError)
128347  {
128348  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128349  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128350  PyErr_SetString(PyExc_IndexError, strError.c_str());
128351  SWIG_fail;
128352  }
128353  catch(...)
128354  {
128355  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128356  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128357  SWIG_fail;
128358  }
128359  }
128360  resultobj = SWIG_Py_Void();
128361  return resultobj;
128362 fail:
128363  return NULL;
128364 }
128365 
128366 
128367 SWIGINTERN PyObject *_wrap_AnimatBase_TimeStepModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128368  PyObject *resultobj = 0;
128370  void *argp1 = 0 ;
128371  int res1 = 0 ;
128372  PyObject * obj0 = 0 ;
128373 
128374  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_TimeStepModified",&obj0)) SWIG_fail;
128375  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
128376  if (!SWIG_IsOK(res1)) {
128377  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_TimeStepModified" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
128378  }
128379  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
128380  {
128381  try {
128382  (arg1)->TimeStepModified();
128383  }
128384  catch(CStdErrorInfo oError)
128385  {
128386  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128387  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128388  PyErr_SetString(PyExc_IndexError, strError.c_str());
128389  SWIG_fail;
128390  }
128391  catch(...)
128392  {
128393  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128394  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128395  SWIG_fail;
128396  }
128397  }
128398  resultobj = SWIG_Py_Void();
128399  return resultobj;
128400 fail:
128401  return NULL;
128402 }
128403 
128404 
128405 SWIGINTERN PyObject *_wrap_AnimatBase_CalculateSnapshotByteSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128406  PyObject *resultobj = 0;
128408  void *argp1 = 0 ;
128409  int res1 = 0 ;
128410  PyObject * obj0 = 0 ;
128411  long result;
128412 
128413  if (!PyArg_ParseTuple(args,(char *)"O:AnimatBase_CalculateSnapshotByteSize",&obj0)) SWIG_fail;
128414  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
128415  if (!SWIG_IsOK(res1)) {
128416  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_CalculateSnapshotByteSize" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
128417  }
128418  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
128419  {
128420  try {
128421  result = (long)(arg1)->CalculateSnapshotByteSize();
128422  }
128423  catch(CStdErrorInfo oError)
128424  {
128425  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128426  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128427  PyErr_SetString(PyExc_IndexError, strError.c_str());
128428  SWIG_fail;
128429  }
128430  catch(...)
128431  {
128432  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128433  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128434  SWIG_fail;
128435  }
128436  }
128437  resultobj = SWIG_From_long(static_cast< long >(result));
128438  return resultobj;
128439 fail:
128440  return NULL;
128441 }
128442 
128443 
128444 SWIGINTERN PyObject *_wrap_AnimatBase_SaveKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128445  PyObject *resultobj = 0;
128447  byte *arg2 = (byte *) 0 ;
128448  long *arg3 = 0 ;
128449  void *argp1 = 0 ;
128450  int res1 = 0 ;
128451  void *argp2 = 0 ;
128452  int res2 = 0 ;
128453  void *argp3 = 0 ;
128454  int res3 = 0 ;
128455  PyObject * obj0 = 0 ;
128456  PyObject * obj1 = 0 ;
128457  PyObject * obj2 = 0 ;
128458 
128459  if (!PyArg_ParseTuple(args,(char *)"OOO:AnimatBase_SaveKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
128460  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
128461  if (!SWIG_IsOK(res1)) {
128462  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_SaveKeyFrameSnapshot" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
128463  }
128464  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
128465  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
128466  if (!SWIG_IsOK(res2)) {
128467  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_SaveKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
128468  }
128469  arg2 = reinterpret_cast< byte * >(argp2);
128470  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
128471  if (!SWIG_IsOK(res3)) {
128472  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AnimatBase_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
128473  }
128474  if (!argp3) {
128475  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
128476  }
128477  arg3 = reinterpret_cast< long * >(argp3);
128478  {
128479  try {
128480  (arg1)->SaveKeyFrameSnapshot(arg2,*arg3);
128481  }
128482  catch(CStdErrorInfo oError)
128483  {
128484  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128485  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128486  PyErr_SetString(PyExc_IndexError, strError.c_str());
128487  SWIG_fail;
128488  }
128489  catch(...)
128490  {
128491  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128492  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128493  SWIG_fail;
128494  }
128495  }
128496  resultobj = SWIG_Py_Void();
128497  return resultobj;
128498 fail:
128499  return NULL;
128500 }
128501 
128502 
128503 SWIGINTERN PyObject *_wrap_AnimatBase_LoadKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128504  PyObject *resultobj = 0;
128506  byte *arg2 = (byte *) 0 ;
128507  long *arg3 = 0 ;
128508  void *argp1 = 0 ;
128509  int res1 = 0 ;
128510  void *argp2 = 0 ;
128511  int res2 = 0 ;
128512  void *argp3 = 0 ;
128513  int res3 = 0 ;
128514  PyObject * obj0 = 0 ;
128515  PyObject * obj1 = 0 ;
128516  PyObject * obj2 = 0 ;
128517 
128518  if (!PyArg_ParseTuple(args,(char *)"OOO:AnimatBase_LoadKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
128519  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
128520  if (!SWIG_IsOK(res1)) {
128521  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_LoadKeyFrameSnapshot" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
128522  }
128523  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
128524  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
128525  if (!SWIG_IsOK(res2)) {
128526  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_LoadKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
128527  }
128528  arg2 = reinterpret_cast< byte * >(argp2);
128529  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
128530  if (!SWIG_IsOK(res3)) {
128531  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AnimatBase_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
128532  }
128533  if (!argp3) {
128534  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
128535  }
128536  arg3 = reinterpret_cast< long * >(argp3);
128537  {
128538  try {
128539  (arg1)->LoadKeyFrameSnapshot(arg2,*arg3);
128540  }
128541  catch(CStdErrorInfo oError)
128542  {
128543  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128544  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128545  PyErr_SetString(PyExc_IndexError, strError.c_str());
128546  SWIG_fail;
128547  }
128548  catch(...)
128549  {
128550  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128551  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128552  SWIG_fail;
128553  }
128554  }
128555  resultobj = SWIG_Py_Void();
128556  return resultobj;
128557 fail:
128558  return NULL;
128559 }
128560 
128561 
128562 SWIGINTERN PyObject *_wrap_AnimatBase_VisualSelectionModeChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128563  PyObject *resultobj = 0;
128565  int arg2 ;
128566  void *argp1 = 0 ;
128567  int res1 = 0 ;
128568  int val2 ;
128569  int ecode2 = 0 ;
128570  PyObject * obj0 = 0 ;
128571  PyObject * obj1 = 0 ;
128572 
128573  if (!PyArg_ParseTuple(args,(char *)"OO:AnimatBase_VisualSelectionModeChanged",&obj0,&obj1)) SWIG_fail;
128574  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
128575  if (!SWIG_IsOK(res1)) {
128576  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_VisualSelectionModeChanged" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
128577  }
128578  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
128579  ecode2 = SWIG_AsVal_int(obj1, &val2);
128580  if (!SWIG_IsOK(ecode2)) {
128581  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AnimatBase_VisualSelectionModeChanged" "', argument " "2"" of type '" "int""'");
128582  }
128583  arg2 = static_cast< int >(val2);
128584  {
128585  try {
128586  (arg1)->VisualSelectionModeChanged(arg2);
128587  }
128588  catch(CStdErrorInfo oError)
128589  {
128590  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128591  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128592  PyErr_SetString(PyExc_IndexError, strError.c_str());
128593  SWIG_fail;
128594  }
128595  catch(...)
128596  {
128597  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128598  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128599  SWIG_fail;
128600  }
128601  }
128602  resultobj = SWIG_Py_Void();
128603  return resultobj;
128604 fail:
128605  return NULL;
128606 }
128607 
128608 
128609 SWIGINTERN PyObject *_wrap_AnimatBase_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128610  PyObject *resultobj = 0;
128612  StdUtils::CStdXml *arg2 = 0 ;
128613  void *argp1 = 0 ;
128614  int res1 = 0 ;
128615  void *argp2 = 0 ;
128616  int res2 = 0 ;
128617  PyObject * obj0 = 0 ;
128618  PyObject * obj1 = 0 ;
128619 
128620  if (!PyArg_ParseTuple(args,(char *)"OO:AnimatBase_Load",&obj0,&obj1)) SWIG_fail;
128621  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
128622  if (!SWIG_IsOK(res1)) {
128623  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnimatBase_Load" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
128624  }
128625  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
128626  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
128627  if (!SWIG_IsOK(res2)) {
128628  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnimatBase_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
128629  }
128630  if (!argp2) {
128631  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnimatBase_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
128632  }
128633  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
128634  {
128635  try {
128636  (arg1)->Load(*arg2);
128637  }
128638  catch(CStdErrorInfo oError)
128639  {
128640  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128641  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128642  PyErr_SetString(PyExc_IndexError, strError.c_str());
128643  SWIG_fail;
128644  }
128645  catch(...)
128646  {
128647  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128648  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128649  SWIG_fail;
128650  }
128651  }
128652  resultobj = SWIG_Py_Void();
128653  return resultobj;
128654 fail:
128655  return NULL;
128656 }
128657 
128658 
128659 SWIGINTERN PyObject *AnimatBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128660  PyObject *obj;
128661  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
128662  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__AnimatBase, SWIG_NewClientData(obj));
128663  return SWIG_Py_Void();
128664 }
128665 
128666 SWIGINTERN PyObject *_wrap_new_DelayLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128667  PyObject *resultobj = 0;
128668  AnimatSim::DelayLine *result = 0 ;
128669 
128670  if (!PyArg_ParseTuple(args,(char *)":new_DelayLine")) SWIG_fail;
128671  {
128672  try {
128673  result = (AnimatSim::DelayLine *)new AnimatSim::DelayLine();
128674  }
128675  catch(CStdErrorInfo oError)
128676  {
128677  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128678  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128679  PyErr_SetString(PyExc_IndexError, strError.c_str());
128680  SWIG_fail;
128681  }
128682  catch(...)
128683  {
128684  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128685  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128686  SWIG_fail;
128687  }
128688  }
128689  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__DelayLine, SWIG_POINTER_NEW | 0 );
128690  return resultobj;
128691 fail:
128692  return NULL;
128693 }
128694 
128695 
128696 SWIGINTERN PyObject *_wrap_delete_DelayLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128697  PyObject *resultobj = 0;
128699  void *argp1 = 0 ;
128700  int res1 = 0 ;
128701  PyObject * obj0 = 0 ;
128702 
128703  if (!PyArg_ParseTuple(args,(char *)"O:delete_DelayLine",&obj0)) SWIG_fail;
128704  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__DelayLine, SWIG_POINTER_DISOWN | 0 );
128705  if (!SWIG_IsOK(res1)) {
128706  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DelayLine" "', argument " "1"" of type '" "AnimatSim::DelayLine *""'");
128707  }
128708  arg1 = reinterpret_cast< AnimatSim::DelayLine * >(argp1);
128709  {
128710  try {
128711  delete arg1;
128712  }
128713  catch(CStdErrorInfo oError)
128714  {
128715  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128716  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128717  PyErr_SetString(PyExc_IndexError, strError.c_str());
128718  SWIG_fail;
128719  }
128720  catch(...)
128721  {
128722  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128723  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128724  SWIG_fail;
128725  }
128726  }
128727  resultobj = SWIG_Py_Void();
128728  return resultobj;
128729 fail:
128730  return NULL;
128731 }
128732 
128733 
128734 SWIGINTERN PyObject *_wrap_DelayLine_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128735  PyObject *resultobj = 0;
128737  float arg2 ;
128738  float arg3 ;
128739  void *argp1 = 0 ;
128740  int res1 = 0 ;
128741  float val2 ;
128742  int ecode2 = 0 ;
128743  float val3 ;
128744  int ecode3 = 0 ;
128745  PyObject * obj0 = 0 ;
128746  PyObject * obj1 = 0 ;
128747  PyObject * obj2 = 0 ;
128748 
128749  if (!PyArg_ParseTuple(args,(char *)"OOO:DelayLine_Initialize",&obj0,&obj1,&obj2)) SWIG_fail;
128750  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__DelayLine, 0 | 0 );
128751  if (!SWIG_IsOK(res1)) {
128752  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DelayLine_Initialize" "', argument " "1"" of type '" "AnimatSim::DelayLine *""'");
128753  }
128754  arg1 = reinterpret_cast< AnimatSim::DelayLine * >(argp1);
128755  ecode2 = SWIG_AsVal_float(obj1, &val2);
128756  if (!SWIG_IsOK(ecode2)) {
128757  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DelayLine_Initialize" "', argument " "2"" of type '" "float""'");
128758  }
128759  arg2 = static_cast< float >(val2);
128760  ecode3 = SWIG_AsVal_float(obj2, &val3);
128761  if (!SWIG_IsOK(ecode3)) {
128762  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DelayLine_Initialize" "', argument " "3"" of type '" "float""'");
128763  }
128764  arg3 = static_cast< float >(val3);
128765  {
128766  try {
128767  (arg1)->Initialize(arg2,arg3);
128768  }
128769  catch(CStdErrorInfo oError)
128770  {
128771  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128772  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128773  PyErr_SetString(PyExc_IndexError, strError.c_str());
128774  SWIG_fail;
128775  }
128776  catch(...)
128777  {
128778  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128779  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128780  SWIG_fail;
128781  }
128782  }
128783  resultobj = SWIG_Py_Void();
128784  return resultobj;
128785 fail:
128786  return NULL;
128787 }
128788 
128789 
128790 SWIGINTERN PyObject *_wrap_DelayLine_AddValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128791  PyObject *resultobj = 0;
128793  float arg2 ;
128794  void *argp1 = 0 ;
128795  int res1 = 0 ;
128796  float val2 ;
128797  int ecode2 = 0 ;
128798  PyObject * obj0 = 0 ;
128799  PyObject * obj1 = 0 ;
128800 
128801  if (!PyArg_ParseTuple(args,(char *)"OO:DelayLine_AddValue",&obj0,&obj1)) SWIG_fail;
128802  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__DelayLine, 0 | 0 );
128803  if (!SWIG_IsOK(res1)) {
128804  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DelayLine_AddValue" "', argument " "1"" of type '" "AnimatSim::DelayLine *""'");
128805  }
128806  arg1 = reinterpret_cast< AnimatSim::DelayLine * >(argp1);
128807  ecode2 = SWIG_AsVal_float(obj1, &val2);
128808  if (!SWIG_IsOK(ecode2)) {
128809  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DelayLine_AddValue" "', argument " "2"" of type '" "float""'");
128810  }
128811  arg2 = static_cast< float >(val2);
128812  {
128813  try {
128814  (arg1)->AddValue(arg2);
128815  }
128816  catch(CStdErrorInfo oError)
128817  {
128818  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128819  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128820  PyErr_SetString(PyExc_IndexError, strError.c_str());
128821  SWIG_fail;
128822  }
128823  catch(...)
128824  {
128825  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128826  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128827  SWIG_fail;
128828  }
128829  }
128830  resultobj = SWIG_Py_Void();
128831  return resultobj;
128832 fail:
128833  return NULL;
128834 }
128835 
128836 
128837 SWIGINTERN PyObject *_wrap_DelayLine_ReadValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128838  PyObject *resultobj = 0;
128840  void *argp1 = 0 ;
128841  int res1 = 0 ;
128842  PyObject * obj0 = 0 ;
128843  float result;
128844 
128845  if (!PyArg_ParseTuple(args,(char *)"O:DelayLine_ReadValue",&obj0)) SWIG_fail;
128846  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__DelayLine, 0 | 0 );
128847  if (!SWIG_IsOK(res1)) {
128848  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DelayLine_ReadValue" "', argument " "1"" of type '" "AnimatSim::DelayLine *""'");
128849  }
128850  arg1 = reinterpret_cast< AnimatSim::DelayLine * >(argp1);
128851  {
128852  try {
128853  result = (float)(arg1)->ReadValue();
128854  }
128855  catch(CStdErrorInfo oError)
128856  {
128857  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128858  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128859  PyErr_SetString(PyExc_IndexError, strError.c_str());
128860  SWIG_fail;
128861  }
128862  catch(...)
128863  {
128864  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128865  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128866  SWIG_fail;
128867  }
128868  }
128869  resultobj = SWIG_From_float(static_cast< float >(result));
128870  return resultobj;
128871 fail:
128872  return NULL;
128873 }
128874 
128875 
128876 SWIGINTERN PyObject *DelayLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128877  PyObject *obj;
128878  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
128879  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__DelayLine, SWIG_NewClientData(obj));
128880  return SWIG_Py_Void();
128881 }
128882 
128883 SWIGINTERN PyObject *_wrap_delete_Gain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128884  PyObject *resultobj = 0;
128886  void *argp1 = 0 ;
128887  int res1 = 0 ;
128888  PyObject * obj0 = 0 ;
128889 
128890  if (!PyArg_ParseTuple(args,(char *)"O:delete_Gain",&obj0)) SWIG_fail;
128891  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, SWIG_POINTER_DISOWN | 0 );
128892  if (!SWIG_IsOK(res1)) {
128893  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Gain" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
128894  }
128895  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
128896  {
128897  try {
128898  delete arg1;
128899  }
128900  catch(CStdErrorInfo oError)
128901  {
128902  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128903  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128904  PyErr_SetString(PyExc_IndexError, strError.c_str());
128905  SWIG_fail;
128906  }
128907  catch(...)
128908  {
128909  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128910  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128911  SWIG_fail;
128912  }
128913  }
128914  resultobj = SWIG_Py_Void();
128915  return resultobj;
128916 fail:
128917  return NULL;
128918 }
128919 
128920 
128921 SWIGINTERN PyObject *_wrap_Gain_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128922  PyObject *resultobj = 0;
128924  void *argp1 = 0 ;
128925  int res1 = 0 ;
128926  PyObject * obj0 = 0 ;
128927  AnimatSim::Gains::Gain *result = 0 ;
128928 
128929  if (!PyArg_ParseTuple(args,(char *)"O:Gain_CastToDerived",&obj0)) SWIG_fail;
128930  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
128931  if (!SWIG_IsOK(res1)) {
128932  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
128933  }
128934  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
128935  {
128936  try {
128937  result = (AnimatSim::Gains::Gain *)AnimatSim::Gains::Gain::CastToDerived(arg1);
128938  }
128939  catch(CStdErrorInfo oError)
128940  {
128941  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128942  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128943  PyErr_SetString(PyExc_IndexError, strError.c_str());
128944  SWIG_fail;
128945  }
128946  catch(...)
128947  {
128948  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128949  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128950  SWIG_fail;
128951  }
128952  }
128953  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
128954  return resultobj;
128955 fail:
128956  return NULL;
128957 }
128958 
128959 
128960 SWIGINTERN PyObject *_wrap_Gain_UseLimits__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
128961  PyObject *resultobj = 0;
128963  void *argp1 = 0 ;
128964  int res1 = 0 ;
128965  PyObject * obj0 = 0 ;
128966  bool result;
128967 
128968  if (!PyArg_ParseTuple(args,(char *)"O:Gain_UseLimits",&obj0)) SWIG_fail;
128969  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
128970  if (!SWIG_IsOK(res1)) {
128971  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_UseLimits" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
128972  }
128973  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
128974  {
128975  try {
128976  result = (bool)(arg1)->UseLimits();
128977  }
128978  catch(CStdErrorInfo oError)
128979  {
128980  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128981  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
128982  PyErr_SetString(PyExc_IndexError, strError.c_str());
128983  SWIG_fail;
128984  }
128985  catch(...)
128986  {
128987  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
128988  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
128989  SWIG_fail;
128990  }
128991  }
128992  resultobj = SWIG_From_bool(static_cast< bool >(result));
128993  return resultobj;
128994 fail:
128995  return NULL;
128996 }
128997 
128998 
128999 SWIGINTERN PyObject *_wrap_Gain_UseLimits__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
129000  PyObject *resultobj = 0;
129002  bool arg2 ;
129003  void *argp1 = 0 ;
129004  int res1 = 0 ;
129005  bool val2 ;
129006  int ecode2 = 0 ;
129007  PyObject * obj0 = 0 ;
129008  PyObject * obj1 = 0 ;
129009 
129010  if (!PyArg_ParseTuple(args,(char *)"OO:Gain_UseLimits",&obj0,&obj1)) SWIG_fail;
129011  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
129012  if (!SWIG_IsOK(res1)) {
129013  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_UseLimits" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
129014  }
129015  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
129016  ecode2 = SWIG_AsVal_bool(obj1, &val2);
129017  if (!SWIG_IsOK(ecode2)) {
129018  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gain_UseLimits" "', argument " "2"" of type '" "bool""'");
129019  }
129020  arg2 = static_cast< bool >(val2);
129021  {
129022  try {
129023  (arg1)->UseLimits(arg2);
129024  }
129025  catch(CStdErrorInfo oError)
129026  {
129027  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129028  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
129029  PyErr_SetString(PyExc_IndexError, strError.c_str());
129030  SWIG_fail;
129031  }
129032  catch(...)
129033  {
129034  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129035  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
129036  SWIG_fail;
129037  }
129038  }
129039  resultobj = SWIG_Py_Void();
129040  return resultobj;
129041 fail:
129042  return NULL;
129043 }
129044 
129045 
129046 SWIGINTERN PyObject *_wrap_Gain_UseLimits(PyObject *self, PyObject *args) {
129047  int argc;
129048  PyObject *argv[3];
129049  int ii;
129050 
129051  if (!PyTuple_Check(args)) SWIG_fail;
129052  argc = args ? (int)PyObject_Length(args) : 0;
129053  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
129054  argv[ii] = PyTuple_GET_ITEM(args,ii);
129055  }
129056  if (argc == 1) {
129057  int _v;
129058  void *vptr = 0;
129059  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
129060  _v = SWIG_CheckState(res);
129061  if (_v) {
129062  return _wrap_Gain_UseLimits__SWIG_0(self, args);
129063  }
129064  }
129065  if (argc == 2) {
129066  int _v;
129067  void *vptr = 0;
129068  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
129069  _v = SWIG_CheckState(res);
129070  if (_v) {
129071  {
129072  int res = SWIG_AsVal_bool(argv[1], NULL);
129073  _v = SWIG_CheckState(res);
129074  }
129075  if (_v) {
129076  return _wrap_Gain_UseLimits__SWIG_1(self, args);
129077  }
129078  }
129079  }
129080 
129081 fail:
129082  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Gain_UseLimits'.\n"
129083  " Possible C/C++ prototypes are:\n"
129084  " AnimatSim::Gains::Gain::UseLimits()\n"
129085  " AnimatSim::Gains::Gain::UseLimits(bool)\n");
129086  return 0;
129087 }
129088 
129089 
129090 SWIGINTERN PyObject *_wrap_Gain_LowerLimit__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
129091  PyObject *resultobj = 0;
129093  void *argp1 = 0 ;
129094  int res1 = 0 ;
129095  PyObject * obj0 = 0 ;
129096  float result;
129097 
129098  if (!PyArg_ParseTuple(args,(char *)"O:Gain_LowerLimit",&obj0)) SWIG_fail;
129099  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
129100  if (!SWIG_IsOK(res1)) {
129101  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_LowerLimit" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
129102  }
129103  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
129104  {
129105  try {
129106  result = (float)(arg1)->LowerLimit();
129107  }
129108  catch(CStdErrorInfo oError)
129109  {
129110  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129111  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
129112  PyErr_SetString(PyExc_IndexError, strError.c_str());
129113  SWIG_fail;
129114  }
129115  catch(...)
129116  {
129117  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129118  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
129119  SWIG_fail;
129120  }
129121  }
129122  resultobj = SWIG_From_float(static_cast< float >(result));
129123  return resultobj;
129124 fail:
129125  return NULL;
129126 }
129127 
129128 
129129 SWIGINTERN PyObject *_wrap_Gain_LowerLimit__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
129130  PyObject *resultobj = 0;
129132  float arg2 ;
129133  void *argp1 = 0 ;
129134  int res1 = 0 ;
129135  float val2 ;
129136  int ecode2 = 0 ;
129137  PyObject * obj0 = 0 ;
129138  PyObject * obj1 = 0 ;
129139 
129140  if (!PyArg_ParseTuple(args,(char *)"OO:Gain_LowerLimit",&obj0,&obj1)) SWIG_fail;
129141  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
129142  if (!SWIG_IsOK(res1)) {
129143  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_LowerLimit" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
129144  }
129145  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
129146  ecode2 = SWIG_AsVal_float(obj1, &val2);
129147  if (!SWIG_IsOK(ecode2)) {
129148  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gain_LowerLimit" "', argument " "2"" of type '" "float""'");
129149  }
129150  arg2 = static_cast< float >(val2);
129151  {
129152  try {
129153  (arg1)->LowerLimit(arg2);
129154  }
129155  catch(CStdErrorInfo oError)
129156  {
129157  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129158  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
129159  PyErr_SetString(PyExc_IndexError, strError.c_str());
129160  SWIG_fail;
129161  }
129162  catch(...)
129163  {
129164  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129165  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
129166  SWIG_fail;
129167  }
129168  }
129169  resultobj = SWIG_Py_Void();
129170  return resultobj;
129171 fail:
129172  return NULL;
129173 }
129174 
129175 
129176 SWIGINTERN PyObject *_wrap_Gain_LowerLimit(PyObject *self, PyObject *args) {
129177  int argc;
129178  PyObject *argv[3];
129179  int ii;
129180 
129181  if (!PyTuple_Check(args)) SWIG_fail;
129182  argc = args ? (int)PyObject_Length(args) : 0;
129183  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
129184  argv[ii] = PyTuple_GET_ITEM(args,ii);
129185  }
129186  if (argc == 1) {
129187  int _v;
129188  void *vptr = 0;
129189  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
129190  _v = SWIG_CheckState(res);
129191  if (_v) {
129192  return _wrap_Gain_LowerLimit__SWIG_0(self, args);
129193  }
129194  }
129195  if (argc == 2) {
129196  int _v;
129197  void *vptr = 0;
129198  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
129199  _v = SWIG_CheckState(res);
129200  if (_v) {
129201  {
129202  int res = SWIG_AsVal_float(argv[1], NULL);
129203  _v = SWIG_CheckState(res);
129204  }
129205  if (_v) {
129206  return _wrap_Gain_LowerLimit__SWIG_1(self, args);
129207  }
129208  }
129209  }
129210 
129211 fail:
129212  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Gain_LowerLimit'.\n"
129213  " Possible C/C++ prototypes are:\n"
129214  " AnimatSim::Gains::Gain::LowerLimit()\n"
129215  " AnimatSim::Gains::Gain::LowerLimit(float)\n");
129216  return 0;
129217 }
129218 
129219 
129220 SWIGINTERN PyObject *_wrap_Gain_UpperLimit__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
129221  PyObject *resultobj = 0;
129223  void *argp1 = 0 ;
129224  int res1 = 0 ;
129225  PyObject * obj0 = 0 ;
129226  float result;
129227 
129228  if (!PyArg_ParseTuple(args,(char *)"O:Gain_UpperLimit",&obj0)) SWIG_fail;
129229  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
129230  if (!SWIG_IsOK(res1)) {
129231  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_UpperLimit" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
129232  }
129233  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
129234  {
129235  try {
129236  result = (float)(arg1)->UpperLimit();
129237  }
129238  catch(CStdErrorInfo oError)
129239  {
129240  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129241  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
129242  PyErr_SetString(PyExc_IndexError, strError.c_str());
129243  SWIG_fail;
129244  }
129245  catch(...)
129246  {
129247  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129248  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
129249  SWIG_fail;
129250  }
129251  }
129252  resultobj = SWIG_From_float(static_cast< float >(result));
129253  return resultobj;
129254 fail:
129255  return NULL;
129256 }
129257 
129258 
129259 SWIGINTERN PyObject *_wrap_Gain_UpperLimit__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
129260  PyObject *resultobj = 0;
129262  float arg2 ;
129263  void *argp1 = 0 ;
129264  int res1 = 0 ;
129265  float val2 ;
129266  int ecode2 = 0 ;
129267  PyObject * obj0 = 0 ;
129268  PyObject * obj1 = 0 ;
129269 
129270  if (!PyArg_ParseTuple(args,(char *)"OO:Gain_UpperLimit",&obj0,&obj1)) SWIG_fail;
129271  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
129272  if (!SWIG_IsOK(res1)) {
129273  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_UpperLimit" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
129274  }
129275  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
129276  ecode2 = SWIG_AsVal_float(obj1, &val2);
129277  if (!SWIG_IsOK(ecode2)) {
129278  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gain_UpperLimit" "', argument " "2"" of type '" "float""'");
129279  }
129280  arg2 = static_cast< float >(val2);
129281  {
129282  try {
129283  (arg1)->UpperLimit(arg2);
129284  }
129285  catch(CStdErrorInfo oError)
129286  {
129287  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129288  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
129289  PyErr_SetString(PyExc_IndexError, strError.c_str());
129290  SWIG_fail;
129291  }
129292  catch(...)
129293  {
129294  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129295  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
129296  SWIG_fail;
129297  }
129298  }
129299  resultobj = SWIG_Py_Void();
129300  return resultobj;
129301 fail:
129302  return NULL;
129303 }
129304 
129305 
129306 SWIGINTERN PyObject *_wrap_Gain_UpperLimit(PyObject *self, PyObject *args) {
129307  int argc;
129308  PyObject *argv[3];
129309  int ii;
129310 
129311  if (!PyTuple_Check(args)) SWIG_fail;
129312  argc = args ? (int)PyObject_Length(args) : 0;
129313  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
129314  argv[ii] = PyTuple_GET_ITEM(args,ii);
129315  }
129316  if (argc == 1) {
129317  int _v;
129318  void *vptr = 0;
129319  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
129320  _v = SWIG_CheckState(res);
129321  if (_v) {
129322  return _wrap_Gain_UpperLimit__SWIG_0(self, args);
129323  }
129324  }
129325  if (argc == 2) {
129326  int _v;
129327  void *vptr = 0;
129328  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
129329  _v = SWIG_CheckState(res);
129330  if (_v) {
129331  {
129332  int res = SWIG_AsVal_float(argv[1], NULL);
129333  _v = SWIG_CheckState(res);
129334  }
129335  if (_v) {
129336  return _wrap_Gain_UpperLimit__SWIG_1(self, args);
129337  }
129338  }
129339  }
129340 
129341 fail:
129342  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Gain_UpperLimit'.\n"
129343  " Possible C/C++ prototypes are:\n"
129344  " AnimatSim::Gains::Gain::UpperLimit()\n"
129345  " AnimatSim::Gains::Gain::UpperLimit(float)\n");
129346  return 0;
129347 }
129348 
129349 
129350 SWIGINTERN PyObject *_wrap_Gain_LowerOutput__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
129351  PyObject *resultobj = 0;
129353  void *argp1 = 0 ;
129354  int res1 = 0 ;
129355  PyObject * obj0 = 0 ;
129356  float result;
129357 
129358  if (!PyArg_ParseTuple(args,(char *)"O:Gain_LowerOutput",&obj0)) SWIG_fail;
129359  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
129360  if (!SWIG_IsOK(res1)) {
129361  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_LowerOutput" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
129362  }
129363  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
129364  {
129365  try {
129366  result = (float)(arg1)->LowerOutput();
129367  }
129368  catch(CStdErrorInfo oError)
129369  {
129370  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129371  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
129372  PyErr_SetString(PyExc_IndexError, strError.c_str());
129373  SWIG_fail;
129374  }
129375  catch(...)
129376  {
129377  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129378  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
129379  SWIG_fail;
129380  }
129381  }
129382  resultobj = SWIG_From_float(static_cast< float >(result));
129383  return resultobj;
129384 fail:
129385  return NULL;
129386 }
129387 
129388 
129389 SWIGINTERN PyObject *_wrap_Gain_LowerOutput__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
129390  PyObject *resultobj = 0;
129392  float arg2 ;
129393  void *argp1 = 0 ;
129394  int res1 = 0 ;
129395  float val2 ;
129396  int ecode2 = 0 ;
129397  PyObject * obj0 = 0 ;
129398  PyObject * obj1 = 0 ;
129399 
129400  if (!PyArg_ParseTuple(args,(char *)"OO:Gain_LowerOutput",&obj0,&obj1)) SWIG_fail;
129401  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
129402  if (!SWIG_IsOK(res1)) {
129403  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_LowerOutput" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
129404  }
129405  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
129406  ecode2 = SWIG_AsVal_float(obj1, &val2);
129407  if (!SWIG_IsOK(ecode2)) {
129408  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gain_LowerOutput" "', argument " "2"" of type '" "float""'");
129409  }
129410  arg2 = static_cast< float >(val2);
129411  {
129412  try {
129413  (arg1)->LowerOutput(arg2);
129414  }
129415  catch(CStdErrorInfo oError)
129416  {
129417  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129418  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
129419  PyErr_SetString(PyExc_IndexError, strError.c_str());
129420  SWIG_fail;
129421  }
129422  catch(...)
129423  {
129424  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129425  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
129426  SWIG_fail;
129427  }
129428  }
129429  resultobj = SWIG_Py_Void();
129430  return resultobj;
129431 fail:
129432  return NULL;
129433 }
129434 
129435 
129436 SWIGINTERN PyObject *_wrap_Gain_LowerOutput(PyObject *self, PyObject *args) {
129437  int argc;
129438  PyObject *argv[3];
129439  int ii;
129440 
129441  if (!PyTuple_Check(args)) SWIG_fail;
129442  argc = args ? (int)PyObject_Length(args) : 0;
129443  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
129444  argv[ii] = PyTuple_GET_ITEM(args,ii);
129445  }
129446  if (argc == 1) {
129447  int _v;
129448  void *vptr = 0;
129449  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
129450  _v = SWIG_CheckState(res);
129451  if (_v) {
129452  return _wrap_Gain_LowerOutput__SWIG_0(self, args);
129453  }
129454  }
129455  if (argc == 2) {
129456  int _v;
129457  void *vptr = 0;
129458  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
129459  _v = SWIG_CheckState(res);
129460  if (_v) {
129461  {
129462  int res = SWIG_AsVal_float(argv[1], NULL);
129463  _v = SWIG_CheckState(res);
129464  }
129465  if (_v) {
129466  return _wrap_Gain_LowerOutput__SWIG_1(self, args);
129467  }
129468  }
129469  }
129470 
129471 fail:
129472  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Gain_LowerOutput'.\n"
129473  " Possible C/C++ prototypes are:\n"
129474  " AnimatSim::Gains::Gain::LowerOutput()\n"
129475  " AnimatSim::Gains::Gain::LowerOutput(float)\n");
129476  return 0;
129477 }
129478 
129479 
129480 SWIGINTERN PyObject *_wrap_Gain_UpperOutput__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
129481  PyObject *resultobj = 0;
129483  void *argp1 = 0 ;
129484  int res1 = 0 ;
129485  PyObject * obj0 = 0 ;
129486  float result;
129487 
129488  if (!PyArg_ParseTuple(args,(char *)"O:Gain_UpperOutput",&obj0)) SWIG_fail;
129489  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
129490  if (!SWIG_IsOK(res1)) {
129491  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_UpperOutput" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
129492  }
129493  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
129494  {
129495  try {
129496  result = (float)(arg1)->UpperOutput();
129497  }
129498  catch(CStdErrorInfo oError)
129499  {
129500  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129501  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
129502  PyErr_SetString(PyExc_IndexError, strError.c_str());
129503  SWIG_fail;
129504  }
129505  catch(...)
129506  {
129507  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129508  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
129509  SWIG_fail;
129510  }
129511  }
129512  resultobj = SWIG_From_float(static_cast< float >(result));
129513  return resultobj;
129514 fail:
129515  return NULL;
129516 }
129517 
129518 
129519 SWIGINTERN PyObject *_wrap_Gain_UpperOutput__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
129520  PyObject *resultobj = 0;
129522  float arg2 ;
129523  void *argp1 = 0 ;
129524  int res1 = 0 ;
129525  float val2 ;
129526  int ecode2 = 0 ;
129527  PyObject * obj0 = 0 ;
129528  PyObject * obj1 = 0 ;
129529 
129530  if (!PyArg_ParseTuple(args,(char *)"OO:Gain_UpperOutput",&obj0,&obj1)) SWIG_fail;
129531  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
129532  if (!SWIG_IsOK(res1)) {
129533  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_UpperOutput" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
129534  }
129535  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
129536  ecode2 = SWIG_AsVal_float(obj1, &val2);
129537  if (!SWIG_IsOK(ecode2)) {
129538  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gain_UpperOutput" "', argument " "2"" of type '" "float""'");
129539  }
129540  arg2 = static_cast< float >(val2);
129541  {
129542  try {
129543  (arg1)->UpperOutput(arg2);
129544  }
129545  catch(CStdErrorInfo oError)
129546  {
129547  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129548  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
129549  PyErr_SetString(PyExc_IndexError, strError.c_str());
129550  SWIG_fail;
129551  }
129552  catch(...)
129553  {
129554  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129555  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
129556  SWIG_fail;
129557  }
129558  }
129559  resultobj = SWIG_Py_Void();
129560  return resultobj;
129561 fail:
129562  return NULL;
129563 }
129564 
129565 
129566 SWIGINTERN PyObject *_wrap_Gain_UpperOutput(PyObject *self, PyObject *args) {
129567  int argc;
129568  PyObject *argv[3];
129569  int ii;
129570 
129571  if (!PyTuple_Check(args)) SWIG_fail;
129572  argc = args ? (int)PyObject_Length(args) : 0;
129573  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
129574  argv[ii] = PyTuple_GET_ITEM(args,ii);
129575  }
129576  if (argc == 1) {
129577  int _v;
129578  void *vptr = 0;
129579  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
129580  _v = SWIG_CheckState(res);
129581  if (_v) {
129582  return _wrap_Gain_UpperOutput__SWIG_0(self, args);
129583  }
129584  }
129585  if (argc == 2) {
129586  int _v;
129587  void *vptr = 0;
129588  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
129589  _v = SWIG_CheckState(res);
129590  if (_v) {
129591  {
129592  int res = SWIG_AsVal_float(argv[1], NULL);
129593  _v = SWIG_CheckState(res);
129594  }
129595  if (_v) {
129596  return _wrap_Gain_UpperOutput__SWIG_1(self, args);
129597  }
129598  }
129599  }
129600 
129601 fail:
129602  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Gain_UpperOutput'.\n"
129603  " Possible C/C++ prototypes are:\n"
129604  " AnimatSim::Gains::Gain::UpperOutput()\n"
129605  " AnimatSim::Gains::Gain::UpperOutput(float)\n");
129606  return 0;
129607 }
129608 
129609 
129610 SWIGINTERN PyObject *_wrap_Gain_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
129611  PyObject *resultobj = 0;
129613  CStdSerialize *arg2 = (CStdSerialize *) 0 ;
129614  void *argp1 = 0 ;
129615  int res1 = 0 ;
129616  void *argp2 = 0 ;
129617  int res2 = 0 ;
129618  PyObject * obj0 = 0 ;
129619  PyObject * obj1 = 0 ;
129620 
129621  if (!PyArg_ParseTuple(args,(char *)"OO:Gain_Copy",&obj0,&obj1)) SWIG_fail;
129622  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
129623  if (!SWIG_IsOK(res1)) {
129624  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_Copy" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
129625  }
129626  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
129627  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
129628  if (!SWIG_IsOK(res2)) {
129629  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gain_Copy" "', argument " "2"" of type '" "CStdSerialize *""'");
129630  }
129631  arg2 = reinterpret_cast< CStdSerialize * >(argp2);
129632  {
129633  try {
129634  (arg1)->Copy(arg2);
129635  }
129636  catch(CStdErrorInfo oError)
129637  {
129638  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129639  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
129640  PyErr_SetString(PyExc_IndexError, strError.c_str());
129641  SWIG_fail;
129642  }
129643  catch(...)
129644  {
129645  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129646  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
129647  SWIG_fail;
129648  }
129649  }
129650  resultobj = SWIG_Py_Void();
129651  return resultobj;
129652 fail:
129653  return NULL;
129654 }
129655 
129656 
129657 SWIGINTERN PyObject *_wrap_Gain_CalculateGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
129658  PyObject *resultobj = 0;
129660  float arg2 ;
129661  void *argp1 = 0 ;
129662  int res1 = 0 ;
129663  float val2 ;
129664  int ecode2 = 0 ;
129665  PyObject * obj0 = 0 ;
129666  PyObject * obj1 = 0 ;
129667  float result;
129668 
129669  if (!PyArg_ParseTuple(args,(char *)"OO:Gain_CalculateGain",&obj0,&obj1)) SWIG_fail;
129670  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
129671  if (!SWIG_IsOK(res1)) {
129672  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_CalculateGain" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
129673  }
129674  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
129675  ecode2 = SWIG_AsVal_float(obj1, &val2);
129676  if (!SWIG_IsOK(ecode2)) {
129677  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gain_CalculateGain" "', argument " "2"" of type '" "float""'");
129678  }
129679  arg2 = static_cast< float >(val2);
129680  {
129681  try {
129682  result = (float)(arg1)->CalculateGain(arg2);
129683  }
129684  catch(CStdErrorInfo oError)
129685  {
129686  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129687  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
129688  PyErr_SetString(PyExc_IndexError, strError.c_str());
129689  SWIG_fail;
129690  }
129691  catch(...)
129692  {
129693  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129694  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
129695  SWIG_fail;
129696  }
129697  }
129698  resultobj = SWIG_From_float(static_cast< float >(result));
129699  return resultobj;
129700 fail:
129701  return NULL;
129702 }
129703 
129704 
129705 SWIGINTERN PyObject *_wrap_Gain_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
129706  PyObject *resultobj = 0;
129708  std::string *arg2 = 0 ;
129709  std::string *arg3 = 0 ;
129710  bool arg4 ;
129711  void *argp1 = 0 ;
129712  int res1 = 0 ;
129713  int res2 = SWIG_OLDOBJ ;
129714  int res3 = SWIG_OLDOBJ ;
129715  bool val4 ;
129716  int ecode4 = 0 ;
129717  PyObject * obj0 = 0 ;
129718  PyObject * obj1 = 0 ;
129719  PyObject * obj2 = 0 ;
129720  PyObject * obj3 = 0 ;
129721  bool result;
129722 
129723  if (!PyArg_ParseTuple(args,(char *)"OOOO:Gain_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
129724  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
129725  if (!SWIG_IsOK(res1)) {
129726  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_SetData" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
129727  }
129728  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
129729  {
129730  std::string *ptr = (std::string *)0;
129731  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
129732  if (!SWIG_IsOK(res2)) {
129733  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gain_SetData" "', argument " "2"" of type '" "std::string const &""'");
129734  }
129735  if (!ptr) {
129736  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gain_SetData" "', argument " "2"" of type '" "std::string const &""'");
129737  }
129738  arg2 = ptr;
129739  }
129740  {
129741  std::string *ptr = (std::string *)0;
129742  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
129743  if (!SWIG_IsOK(res3)) {
129744  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Gain_SetData" "', argument " "3"" of type '" "std::string const &""'");
129745  }
129746  if (!ptr) {
129747  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gain_SetData" "', argument " "3"" of type '" "std::string const &""'");
129748  }
129749  arg3 = ptr;
129750  }
129751  ecode4 = SWIG_AsVal_bool(obj3, &val4);
129752  if (!SWIG_IsOK(ecode4)) {
129753  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gain_SetData" "', argument " "4"" of type '" "bool""'");
129754  }
129755  arg4 = static_cast< bool >(val4);
129756  {
129757  try {
129758  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
129759  }
129760  catch(CStdErrorInfo oError)
129761  {
129762  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129763  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
129764  PyErr_SetString(PyExc_IndexError, strError.c_str());
129765  SWIG_fail;
129766  }
129767  catch(...)
129768  {
129769  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129770  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
129771  SWIG_fail;
129772  }
129773  }
129774  resultobj = SWIG_From_bool(static_cast< bool >(result));
129775  if (SWIG_IsNewObj(res2)) delete arg2;
129776  if (SWIG_IsNewObj(res3)) delete arg3;
129777  return resultobj;
129778 fail:
129779  if (SWIG_IsNewObj(res2)) delete arg2;
129780  if (SWIG_IsNewObj(res3)) delete arg3;
129781  return NULL;
129782 }
129783 
129784 
129785 SWIGINTERN PyObject *_wrap_Gain_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
129786  PyObject *resultobj = 0;
129788  std::string *arg2 = 0 ;
129789  std::string *arg3 = 0 ;
129790  void *argp1 = 0 ;
129791  int res1 = 0 ;
129792  int res2 = SWIG_OLDOBJ ;
129793  int res3 = SWIG_OLDOBJ ;
129794  PyObject * obj0 = 0 ;
129795  PyObject * obj1 = 0 ;
129796  PyObject * obj2 = 0 ;
129797  bool result;
129798 
129799  if (!PyArg_ParseTuple(args,(char *)"OOO:Gain_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
129800  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
129801  if (!SWIG_IsOK(res1)) {
129802  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_SetData" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
129803  }
129804  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
129805  {
129806  std::string *ptr = (std::string *)0;
129807  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
129808  if (!SWIG_IsOK(res2)) {
129809  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gain_SetData" "', argument " "2"" of type '" "std::string const &""'");
129810  }
129811  if (!ptr) {
129812  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gain_SetData" "', argument " "2"" of type '" "std::string const &""'");
129813  }
129814  arg2 = ptr;
129815  }
129816  {
129817  std::string *ptr = (std::string *)0;
129818  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
129819  if (!SWIG_IsOK(res3)) {
129820  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Gain_SetData" "', argument " "3"" of type '" "std::string const &""'");
129821  }
129822  if (!ptr) {
129823  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gain_SetData" "', argument " "3"" of type '" "std::string const &""'");
129824  }
129825  arg3 = ptr;
129826  }
129827  {
129828  try {
129829  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
129830  }
129831  catch(CStdErrorInfo oError)
129832  {
129833  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129834  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
129835  PyErr_SetString(PyExc_IndexError, strError.c_str());
129836  SWIG_fail;
129837  }
129838  catch(...)
129839  {
129840  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129841  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
129842  SWIG_fail;
129843  }
129844  }
129845  resultobj = SWIG_From_bool(static_cast< bool >(result));
129846  if (SWIG_IsNewObj(res2)) delete arg2;
129847  if (SWIG_IsNewObj(res3)) delete arg3;
129848  return resultobj;
129849 fail:
129850  if (SWIG_IsNewObj(res2)) delete arg2;
129851  if (SWIG_IsNewObj(res3)) delete arg3;
129852  return NULL;
129853 }
129854 
129855 
129856 SWIGINTERN PyObject *_wrap_Gain_SetData(PyObject *self, PyObject *args) {
129857  int argc;
129858  PyObject *argv[5];
129859  int ii;
129860 
129861  if (!PyTuple_Check(args)) SWIG_fail;
129862  argc = args ? (int)PyObject_Length(args) : 0;
129863  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
129864  argv[ii] = PyTuple_GET_ITEM(args,ii);
129865  }
129866  if (argc == 3) {
129867  int _v;
129868  void *vptr = 0;
129869  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
129870  _v = SWIG_CheckState(res);
129871  if (_v) {
129872  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
129873  _v = SWIG_CheckState(res);
129874  if (_v) {
129875  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
129876  _v = SWIG_CheckState(res);
129877  if (_v) {
129878  return _wrap_Gain_SetData__SWIG_1(self, args);
129879  }
129880  }
129881  }
129882  }
129883  if (argc == 4) {
129884  int _v;
129885  void *vptr = 0;
129886  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
129887  _v = SWIG_CheckState(res);
129888  if (_v) {
129889  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
129890  _v = SWIG_CheckState(res);
129891  if (_v) {
129892  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
129893  _v = SWIG_CheckState(res);
129894  if (_v) {
129895  {
129896  int res = SWIG_AsVal_bool(argv[3], NULL);
129897  _v = SWIG_CheckState(res);
129898  }
129899  if (_v) {
129900  return _wrap_Gain_SetData__SWIG_0(self, args);
129901  }
129902  }
129903  }
129904  }
129905  }
129906 
129907 fail:
129908  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Gain_SetData'.\n"
129909  " Possible C/C++ prototypes are:\n"
129910  " AnimatSim::Gains::Gain::SetData(std::string const &,std::string const &,bool)\n"
129911  " AnimatSim::Gains::Gain::SetData(std::string const &,std::string const &)\n");
129912  return 0;
129913 }
129914 
129915 
129916 SWIGINTERN PyObject *_wrap_Gain_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
129917  PyObject *resultobj = 0;
129919  CStdPtrArray< TypeProperty > *arg2 = 0 ;
129920  void *argp1 = 0 ;
129921  int res1 = 0 ;
129922  void *argp2 = 0 ;
129923  int res2 = 0 ;
129924  PyObject * obj0 = 0 ;
129925  PyObject * obj1 = 0 ;
129926 
129927  if (!PyArg_ParseTuple(args,(char *)"OO:Gain_QueryProperties",&obj0,&obj1)) SWIG_fail;
129928  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
129929  if (!SWIG_IsOK(res1)) {
129930  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
129931  }
129932  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
129933  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
129934  if (!SWIG_IsOK(res2)) {
129935  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gain_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
129936  }
129937  if (!argp2) {
129938  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gain_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
129939  }
129940  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
129941  {
129942  try {
129943  (arg1)->QueryProperties(*arg2);
129944  }
129945  catch(CStdErrorInfo oError)
129946  {
129947  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129948  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
129949  PyErr_SetString(PyExc_IndexError, strError.c_str());
129950  SWIG_fail;
129951  }
129952  catch(...)
129953  {
129954  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129955  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
129956  SWIG_fail;
129957  }
129958  }
129959  resultobj = SWIG_Py_Void();
129960  return resultobj;
129961 fail:
129962  return NULL;
129963 }
129964 
129965 
129966 SWIGINTERN PyObject *_wrap_Gain_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
129967  PyObject *resultobj = 0;
129969  CStdXml *arg2 = 0 ;
129970  void *argp1 = 0 ;
129971  int res1 = 0 ;
129972  void *argp2 = 0 ;
129973  int res2 = 0 ;
129974  PyObject * obj0 = 0 ;
129975  PyObject * obj1 = 0 ;
129976 
129977  if (!PyArg_ParseTuple(args,(char *)"OO:Gain_Load",&obj0,&obj1)) SWIG_fail;
129978  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
129979  if (!SWIG_IsOK(res1)) {
129980  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gain_Load" "', argument " "1"" of type '" "AnimatSim::Gains::Gain *""'");
129981  }
129982  arg1 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp1);
129983  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
129984  if (!SWIG_IsOK(res2)) {
129985  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gain_Load" "', argument " "2"" of type '" "CStdXml &""'");
129986  }
129987  if (!argp2) {
129988  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gain_Load" "', argument " "2"" of type '" "CStdXml &""'");
129989  }
129990  arg2 = reinterpret_cast< CStdXml * >(argp2);
129991  {
129992  try {
129993  (arg1)->Load(*arg2);
129994  }
129995  catch(CStdErrorInfo oError)
129996  {
129997  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
129998  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
129999  PyErr_SetString(PyExc_IndexError, strError.c_str());
130000  SWIG_fail;
130001  }
130002  catch(...)
130003  {
130004  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130005  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130006  SWIG_fail;
130007  }
130008  }
130009  resultobj = SWIG_Py_Void();
130010  return resultobj;
130011 fail:
130012  return NULL;
130013 }
130014 
130015 
130016 SWIGINTERN PyObject *Gain_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130017  PyObject *obj;
130018  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
130019  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Gains__Gain, SWIG_NewClientData(obj));
130020  return SWIG_Py_Void();
130021 }
130022 
130023 SWIGINTERN PyObject *_wrap_LoadGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130024  PyObject *resultobj = 0;
130025  Simulator *arg1 = (Simulator *) 0 ;
130026  std::string arg2 ;
130027  CStdXml *arg3 = 0 ;
130028  void *argp1 = 0 ;
130029  int res1 = 0 ;
130030  void *argp3 = 0 ;
130031  int res3 = 0 ;
130032  PyObject * obj0 = 0 ;
130033  PyObject * obj1 = 0 ;
130034  PyObject * obj2 = 0 ;
130035  AnimatSim::Gains::Gain *result = 0 ;
130036 
130037  if (!PyArg_ParseTuple(args,(char *)"OOO:LoadGain",&obj0,&obj1,&obj2)) SWIG_fail;
130038  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Simulator, 0 | 0 );
130039  if (!SWIG_IsOK(res1)) {
130040  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LoadGain" "', argument " "1"" of type '" "Simulator *""'");
130041  }
130042  arg1 = reinterpret_cast< Simulator * >(argp1);
130043  {
130044  std::string *ptr = (std::string *)0;
130045  int res = SWIG_AsPtr_std_string(obj1, &ptr);
130046  if (!SWIG_IsOK(res) || !ptr) {
130047  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "LoadGain" "', argument " "2"" of type '" "std::string""'");
130048  }
130049  arg2 = *ptr;
130050  if (SWIG_IsNewObj(res)) delete ptr;
130051  }
130052  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_StdUtils__CStdXml, 0 );
130053  if (!SWIG_IsOK(res3)) {
130054  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LoadGain" "', argument " "3"" of type '" "CStdXml &""'");
130055  }
130056  if (!argp3) {
130057  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LoadGain" "', argument " "3"" of type '" "CStdXml &""'");
130058  }
130059  arg3 = reinterpret_cast< CStdXml * >(argp3);
130060  {
130061  try {
130062  result = (AnimatSim::Gains::Gain *)AnimatSim::Gains::LoadGain(arg1,arg2,*arg3);
130063  }
130064  catch(CStdErrorInfo oError)
130065  {
130066  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130067  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130068  PyErr_SetString(PyExc_IndexError, strError.c_str());
130069  SWIG_fail;
130070  }
130071  catch(...)
130072  {
130073  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130074  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130075  SWIG_fail;
130076  }
130077  }
130078  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
130079  return resultobj;
130080 fail:
130081  return NULL;
130082 }
130083 
130084 
130085 SWIGINTERN PyObject *_wrap_new_BellGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130086  PyObject *resultobj = 0;
130087  AnimatSim::Gains::BellGain *result = 0 ;
130088 
130089  if (!PyArg_ParseTuple(args,(char *)":new_BellGain")) SWIG_fail;
130090  {
130091  try {
130093  }
130094  catch(CStdErrorInfo oError)
130095  {
130096  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130097  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130098  PyErr_SetString(PyExc_IndexError, strError.c_str());
130099  SWIG_fail;
130100  }
130101  catch(...)
130102  {
130103  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130104  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130105  SWIG_fail;
130106  }
130107  }
130108  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__BellGain, SWIG_POINTER_NEW | 0 );
130109  return resultobj;
130110 fail:
130111  return NULL;
130112 }
130113 
130114 
130115 SWIGINTERN PyObject *_wrap_delete_BellGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130116  PyObject *resultobj = 0;
130118  void *argp1 = 0 ;
130119  int res1 = 0 ;
130120  PyObject * obj0 = 0 ;
130121 
130122  if (!PyArg_ParseTuple(args,(char *)"O:delete_BellGain",&obj0)) SWIG_fail;
130123  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, SWIG_POINTER_DISOWN | 0 );
130124  if (!SWIG_IsOK(res1)) {
130125  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BellGain" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
130126  }
130127  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
130128  {
130129  try {
130130  delete arg1;
130131  }
130132  catch(CStdErrorInfo oError)
130133  {
130134  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130135  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130136  PyErr_SetString(PyExc_IndexError, strError.c_str());
130137  SWIG_fail;
130138  }
130139  catch(...)
130140  {
130141  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130142  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130143  SWIG_fail;
130144  }
130145  }
130146  resultobj = SWIG_Py_Void();
130147  return resultobj;
130148 fail:
130149  return NULL;
130150 }
130151 
130152 
130153 SWIGINTERN PyObject *_wrap_BellGain_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130154  PyObject *resultobj = 0;
130156  void *argp1 = 0 ;
130157  int res1 = 0 ;
130158  PyObject * obj0 = 0 ;
130159  AnimatSim::Gains::BellGain *result = 0 ;
130160 
130161  if (!PyArg_ParseTuple(args,(char *)"O:BellGain_CastToDerived",&obj0)) SWIG_fail;
130162  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
130163  if (!SWIG_IsOK(res1)) {
130164  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
130165  }
130166  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
130167  {
130168  try {
130169  result = (AnimatSim::Gains::BellGain *)AnimatSim::Gains::BellGain::CastToDerived(arg1);
130170  }
130171  catch(CStdErrorInfo oError)
130172  {
130173  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130174  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130175  PyErr_SetString(PyExc_IndexError, strError.c_str());
130176  SWIG_fail;
130177  }
130178  catch(...)
130179  {
130180  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130181  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130182  SWIG_fail;
130183  }
130184  }
130185  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
130186  return resultobj;
130187 fail:
130188  return NULL;
130189 }
130190 
130191 
130192 SWIGINTERN PyObject *_wrap_BellGain_A__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130193  PyObject *resultobj = 0;
130195  void *argp1 = 0 ;
130196  int res1 = 0 ;
130197  PyObject * obj0 = 0 ;
130198  float result;
130199 
130200  if (!PyArg_ParseTuple(args,(char *)"O:BellGain_A",&obj0)) SWIG_fail;
130201  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
130202  if (!SWIG_IsOK(res1)) {
130203  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_A" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
130204  }
130205  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
130206  {
130207  try {
130208  result = (float)(arg1)->A();
130209  }
130210  catch(CStdErrorInfo oError)
130211  {
130212  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130213  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130214  PyErr_SetString(PyExc_IndexError, strError.c_str());
130215  SWIG_fail;
130216  }
130217  catch(...)
130218  {
130219  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130220  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130221  SWIG_fail;
130222  }
130223  }
130224  resultobj = SWIG_From_float(static_cast< float >(result));
130225  return resultobj;
130226 fail:
130227  return NULL;
130228 }
130229 
130230 
130231 SWIGINTERN PyObject *_wrap_BellGain_A__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130232  PyObject *resultobj = 0;
130234  float arg2 ;
130235  void *argp1 = 0 ;
130236  int res1 = 0 ;
130237  float val2 ;
130238  int ecode2 = 0 ;
130239  PyObject * obj0 = 0 ;
130240  PyObject * obj1 = 0 ;
130241 
130242  if (!PyArg_ParseTuple(args,(char *)"OO:BellGain_A",&obj0,&obj1)) SWIG_fail;
130243  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
130244  if (!SWIG_IsOK(res1)) {
130245  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_A" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
130246  }
130247  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
130248  ecode2 = SWIG_AsVal_float(obj1, &val2);
130249  if (!SWIG_IsOK(ecode2)) {
130250  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BellGain_A" "', argument " "2"" of type '" "float""'");
130251  }
130252  arg2 = static_cast< float >(val2);
130253  {
130254  try {
130255  (arg1)->A(arg2);
130256  }
130257  catch(CStdErrorInfo oError)
130258  {
130259  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130260  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130261  PyErr_SetString(PyExc_IndexError, strError.c_str());
130262  SWIG_fail;
130263  }
130264  catch(...)
130265  {
130266  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130267  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130268  SWIG_fail;
130269  }
130270  }
130271  resultobj = SWIG_Py_Void();
130272  return resultobj;
130273 fail:
130274  return NULL;
130275 }
130276 
130277 
130278 SWIGINTERN PyObject *_wrap_BellGain_A(PyObject *self, PyObject *args) {
130279  int argc;
130280  PyObject *argv[3];
130281  int ii;
130282 
130283  if (!PyTuple_Check(args)) SWIG_fail;
130284  argc = args ? (int)PyObject_Length(args) : 0;
130285  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
130286  argv[ii] = PyTuple_GET_ITEM(args,ii);
130287  }
130288  if (argc == 1) {
130289  int _v;
130290  void *vptr = 0;
130291  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__BellGain, 0);
130292  _v = SWIG_CheckState(res);
130293  if (_v) {
130294  return _wrap_BellGain_A__SWIG_0(self, args);
130295  }
130296  }
130297  if (argc == 2) {
130298  int _v;
130299  void *vptr = 0;
130300  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__BellGain, 0);
130301  _v = SWIG_CheckState(res);
130302  if (_v) {
130303  {
130304  int res = SWIG_AsVal_float(argv[1], NULL);
130305  _v = SWIG_CheckState(res);
130306  }
130307  if (_v) {
130308  return _wrap_BellGain_A__SWIG_1(self, args);
130309  }
130310  }
130311  }
130312 
130313 fail:
130314  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BellGain_A'.\n"
130315  " Possible C/C++ prototypes are:\n"
130316  " AnimatSim::Gains::BellGain::A()\n"
130317  " AnimatSim::Gains::BellGain::A(float)\n");
130318  return 0;
130319 }
130320 
130321 
130322 SWIGINTERN PyObject *_wrap_BellGain_B__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130323  PyObject *resultobj = 0;
130325  void *argp1 = 0 ;
130326  int res1 = 0 ;
130327  PyObject * obj0 = 0 ;
130328  float result;
130329 
130330  if (!PyArg_ParseTuple(args,(char *)"O:BellGain_B",&obj0)) SWIG_fail;
130331  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
130332  if (!SWIG_IsOK(res1)) {
130333  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_B" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
130334  }
130335  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
130336  {
130337  try {
130338  result = (float)(arg1)->B();
130339  }
130340  catch(CStdErrorInfo oError)
130341  {
130342  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130343  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130344  PyErr_SetString(PyExc_IndexError, strError.c_str());
130345  SWIG_fail;
130346  }
130347  catch(...)
130348  {
130349  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130350  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130351  SWIG_fail;
130352  }
130353  }
130354  resultobj = SWIG_From_float(static_cast< float >(result));
130355  return resultobj;
130356 fail:
130357  return NULL;
130358 }
130359 
130360 
130361 SWIGINTERN PyObject *_wrap_BellGain_B__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130362  PyObject *resultobj = 0;
130364  float arg2 ;
130365  void *argp1 = 0 ;
130366  int res1 = 0 ;
130367  float val2 ;
130368  int ecode2 = 0 ;
130369  PyObject * obj0 = 0 ;
130370  PyObject * obj1 = 0 ;
130371 
130372  if (!PyArg_ParseTuple(args,(char *)"OO:BellGain_B",&obj0,&obj1)) SWIG_fail;
130373  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
130374  if (!SWIG_IsOK(res1)) {
130375  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_B" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
130376  }
130377  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
130378  ecode2 = SWIG_AsVal_float(obj1, &val2);
130379  if (!SWIG_IsOK(ecode2)) {
130380  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BellGain_B" "', argument " "2"" of type '" "float""'");
130381  }
130382  arg2 = static_cast< float >(val2);
130383  {
130384  try {
130385  (arg1)->B(arg2);
130386  }
130387  catch(CStdErrorInfo oError)
130388  {
130389  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130390  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130391  PyErr_SetString(PyExc_IndexError, strError.c_str());
130392  SWIG_fail;
130393  }
130394  catch(...)
130395  {
130396  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130397  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130398  SWIG_fail;
130399  }
130400  }
130401  resultobj = SWIG_Py_Void();
130402  return resultobj;
130403 fail:
130404  return NULL;
130405 }
130406 
130407 
130408 SWIGINTERN PyObject *_wrap_BellGain_B(PyObject *self, PyObject *args) {
130409  int argc;
130410  PyObject *argv[3];
130411  int ii;
130412 
130413  if (!PyTuple_Check(args)) SWIG_fail;
130414  argc = args ? (int)PyObject_Length(args) : 0;
130415  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
130416  argv[ii] = PyTuple_GET_ITEM(args,ii);
130417  }
130418  if (argc == 1) {
130419  int _v;
130420  void *vptr = 0;
130421  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__BellGain, 0);
130422  _v = SWIG_CheckState(res);
130423  if (_v) {
130424  return _wrap_BellGain_B__SWIG_0(self, args);
130425  }
130426  }
130427  if (argc == 2) {
130428  int _v;
130429  void *vptr = 0;
130430  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__BellGain, 0);
130431  _v = SWIG_CheckState(res);
130432  if (_v) {
130433  {
130434  int res = SWIG_AsVal_float(argv[1], NULL);
130435  _v = SWIG_CheckState(res);
130436  }
130437  if (_v) {
130438  return _wrap_BellGain_B__SWIG_1(self, args);
130439  }
130440  }
130441  }
130442 
130443 fail:
130444  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BellGain_B'.\n"
130445  " Possible C/C++ prototypes are:\n"
130446  " AnimatSim::Gains::BellGain::B()\n"
130447  " AnimatSim::Gains::BellGain::B(float)\n");
130448  return 0;
130449 }
130450 
130451 
130452 SWIGINTERN PyObject *_wrap_BellGain_C__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130453  PyObject *resultobj = 0;
130455  void *argp1 = 0 ;
130456  int res1 = 0 ;
130457  PyObject * obj0 = 0 ;
130458  float result;
130459 
130460  if (!PyArg_ParseTuple(args,(char *)"O:BellGain_C",&obj0)) SWIG_fail;
130461  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
130462  if (!SWIG_IsOK(res1)) {
130463  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_C" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
130464  }
130465  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
130466  {
130467  try {
130468  result = (float)(arg1)->C();
130469  }
130470  catch(CStdErrorInfo oError)
130471  {
130472  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130473  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130474  PyErr_SetString(PyExc_IndexError, strError.c_str());
130475  SWIG_fail;
130476  }
130477  catch(...)
130478  {
130479  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130480  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130481  SWIG_fail;
130482  }
130483  }
130484  resultobj = SWIG_From_float(static_cast< float >(result));
130485  return resultobj;
130486 fail:
130487  return NULL;
130488 }
130489 
130490 
130491 SWIGINTERN PyObject *_wrap_BellGain_C__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130492  PyObject *resultobj = 0;
130494  float arg2 ;
130495  void *argp1 = 0 ;
130496  int res1 = 0 ;
130497  float val2 ;
130498  int ecode2 = 0 ;
130499  PyObject * obj0 = 0 ;
130500  PyObject * obj1 = 0 ;
130501 
130502  if (!PyArg_ParseTuple(args,(char *)"OO:BellGain_C",&obj0,&obj1)) SWIG_fail;
130503  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
130504  if (!SWIG_IsOK(res1)) {
130505  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_C" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
130506  }
130507  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
130508  ecode2 = SWIG_AsVal_float(obj1, &val2);
130509  if (!SWIG_IsOK(ecode2)) {
130510  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BellGain_C" "', argument " "2"" of type '" "float""'");
130511  }
130512  arg2 = static_cast< float >(val2);
130513  {
130514  try {
130515  (arg1)->C(arg2);
130516  }
130517  catch(CStdErrorInfo oError)
130518  {
130519  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130520  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130521  PyErr_SetString(PyExc_IndexError, strError.c_str());
130522  SWIG_fail;
130523  }
130524  catch(...)
130525  {
130526  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130527  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130528  SWIG_fail;
130529  }
130530  }
130531  resultobj = SWIG_Py_Void();
130532  return resultobj;
130533 fail:
130534  return NULL;
130535 }
130536 
130537 
130538 SWIGINTERN PyObject *_wrap_BellGain_C(PyObject *self, PyObject *args) {
130539  int argc;
130540  PyObject *argv[3];
130541  int ii;
130542 
130543  if (!PyTuple_Check(args)) SWIG_fail;
130544  argc = args ? (int)PyObject_Length(args) : 0;
130545  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
130546  argv[ii] = PyTuple_GET_ITEM(args,ii);
130547  }
130548  if (argc == 1) {
130549  int _v;
130550  void *vptr = 0;
130551  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__BellGain, 0);
130552  _v = SWIG_CheckState(res);
130553  if (_v) {
130554  return _wrap_BellGain_C__SWIG_0(self, args);
130555  }
130556  }
130557  if (argc == 2) {
130558  int _v;
130559  void *vptr = 0;
130560  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__BellGain, 0);
130561  _v = SWIG_CheckState(res);
130562  if (_v) {
130563  {
130564  int res = SWIG_AsVal_float(argv[1], NULL);
130565  _v = SWIG_CheckState(res);
130566  }
130567  if (_v) {
130568  return _wrap_BellGain_C__SWIG_1(self, args);
130569  }
130570  }
130571  }
130572 
130573 fail:
130574  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BellGain_C'.\n"
130575  " Possible C/C++ prototypes are:\n"
130576  " AnimatSim::Gains::BellGain::C()\n"
130577  " AnimatSim::Gains::BellGain::C(float)\n");
130578  return 0;
130579 }
130580 
130581 
130582 SWIGINTERN PyObject *_wrap_BellGain_D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130583  PyObject *resultobj = 0;
130585  void *argp1 = 0 ;
130586  int res1 = 0 ;
130587  PyObject * obj0 = 0 ;
130588  float result;
130589 
130590  if (!PyArg_ParseTuple(args,(char *)"O:BellGain_D",&obj0)) SWIG_fail;
130591  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
130592  if (!SWIG_IsOK(res1)) {
130593  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_D" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
130594  }
130595  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
130596  {
130597  try {
130598  result = (float)(arg1)->D();
130599  }
130600  catch(CStdErrorInfo oError)
130601  {
130602  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130603  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130604  PyErr_SetString(PyExc_IndexError, strError.c_str());
130605  SWIG_fail;
130606  }
130607  catch(...)
130608  {
130609  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130610  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130611  SWIG_fail;
130612  }
130613  }
130614  resultobj = SWIG_From_float(static_cast< float >(result));
130615  return resultobj;
130616 fail:
130617  return NULL;
130618 }
130619 
130620 
130621 SWIGINTERN PyObject *_wrap_BellGain_D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130622  PyObject *resultobj = 0;
130624  float arg2 ;
130625  void *argp1 = 0 ;
130626  int res1 = 0 ;
130627  float val2 ;
130628  int ecode2 = 0 ;
130629  PyObject * obj0 = 0 ;
130630  PyObject * obj1 = 0 ;
130631 
130632  if (!PyArg_ParseTuple(args,(char *)"OO:BellGain_D",&obj0,&obj1)) SWIG_fail;
130633  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
130634  if (!SWIG_IsOK(res1)) {
130635  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_D" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
130636  }
130637  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
130638  ecode2 = SWIG_AsVal_float(obj1, &val2);
130639  if (!SWIG_IsOK(ecode2)) {
130640  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BellGain_D" "', argument " "2"" of type '" "float""'");
130641  }
130642  arg2 = static_cast< float >(val2);
130643  {
130644  try {
130645  (arg1)->D(arg2);
130646  }
130647  catch(CStdErrorInfo oError)
130648  {
130649  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130650  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130651  PyErr_SetString(PyExc_IndexError, strError.c_str());
130652  SWIG_fail;
130653  }
130654  catch(...)
130655  {
130656  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130657  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130658  SWIG_fail;
130659  }
130660  }
130661  resultobj = SWIG_Py_Void();
130662  return resultobj;
130663 fail:
130664  return NULL;
130665 }
130666 
130667 
130668 SWIGINTERN PyObject *_wrap_BellGain_D(PyObject *self, PyObject *args) {
130669  int argc;
130670  PyObject *argv[3];
130671  int ii;
130672 
130673  if (!PyTuple_Check(args)) SWIG_fail;
130674  argc = args ? (int)PyObject_Length(args) : 0;
130675  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
130676  argv[ii] = PyTuple_GET_ITEM(args,ii);
130677  }
130678  if (argc == 1) {
130679  int _v;
130680  void *vptr = 0;
130681  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__BellGain, 0);
130682  _v = SWIG_CheckState(res);
130683  if (_v) {
130684  return _wrap_BellGain_D__SWIG_0(self, args);
130685  }
130686  }
130687  if (argc == 2) {
130688  int _v;
130689  void *vptr = 0;
130690  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__BellGain, 0);
130691  _v = SWIG_CheckState(res);
130692  if (_v) {
130693  {
130694  int res = SWIG_AsVal_float(argv[1], NULL);
130695  _v = SWIG_CheckState(res);
130696  }
130697  if (_v) {
130698  return _wrap_BellGain_D__SWIG_1(self, args);
130699  }
130700  }
130701  }
130702 
130703 fail:
130704  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BellGain_D'.\n"
130705  " Possible C/C++ prototypes are:\n"
130706  " AnimatSim::Gains::BellGain::D()\n"
130707  " AnimatSim::Gains::BellGain::D(float)\n");
130708  return 0;
130709 }
130710 
130711 
130712 SWIGINTERN PyObject *_wrap_BellGain_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130713  PyObject *resultobj = 0;
130715  CStdSerialize *arg2 = (CStdSerialize *) 0 ;
130716  void *argp1 = 0 ;
130717  int res1 = 0 ;
130718  void *argp2 = 0 ;
130719  int res2 = 0 ;
130720  PyObject * obj0 = 0 ;
130721  PyObject * obj1 = 0 ;
130722 
130723  if (!PyArg_ParseTuple(args,(char *)"OO:BellGain_Copy",&obj0,&obj1)) SWIG_fail;
130724  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
130725  if (!SWIG_IsOK(res1)) {
130726  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_Copy" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
130727  }
130728  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
130729  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
130730  if (!SWIG_IsOK(res2)) {
130731  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BellGain_Copy" "', argument " "2"" of type '" "CStdSerialize *""'");
130732  }
130733  arg2 = reinterpret_cast< CStdSerialize * >(argp2);
130734  {
130735  try {
130736  (arg1)->Copy(arg2);
130737  }
130738  catch(CStdErrorInfo oError)
130739  {
130740  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130741  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130742  PyErr_SetString(PyExc_IndexError, strError.c_str());
130743  SWIG_fail;
130744  }
130745  catch(...)
130746  {
130747  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130748  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130749  SWIG_fail;
130750  }
130751  }
130752  resultobj = SWIG_Py_Void();
130753  return resultobj;
130754 fail:
130755  return NULL;
130756 }
130757 
130758 
130759 SWIGINTERN PyObject *_wrap_BellGain_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130760  PyObject *resultobj = 0;
130762  void *argp1 = 0 ;
130763  int res1 = 0 ;
130764  PyObject * obj0 = 0 ;
130765  CStdSerialize *result = 0 ;
130766 
130767  if (!PyArg_ParseTuple(args,(char *)"O:BellGain_Clone",&obj0)) SWIG_fail;
130768  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
130769  if (!SWIG_IsOK(res1)) {
130770  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_Clone" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
130771  }
130772  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
130773  {
130774  try {
130775  result = (CStdSerialize *)(arg1)->Clone();
130776  }
130777  catch(CStdErrorInfo oError)
130778  {
130779  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130780  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130781  PyErr_SetString(PyExc_IndexError, strError.c_str());
130782  SWIG_fail;
130783  }
130784  catch(...)
130785  {
130786  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130787  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130788  SWIG_fail;
130789  }
130790  }
130791  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
130792  return resultobj;
130793 fail:
130794  return NULL;
130795 }
130796 
130797 
130798 SWIGINTERN PyObject *_wrap_BellGain_CalculateGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130799  PyObject *resultobj = 0;
130801  float arg2 ;
130802  void *argp1 = 0 ;
130803  int res1 = 0 ;
130804  float val2 ;
130805  int ecode2 = 0 ;
130806  PyObject * obj0 = 0 ;
130807  PyObject * obj1 = 0 ;
130808  float result;
130809 
130810  if (!PyArg_ParseTuple(args,(char *)"OO:BellGain_CalculateGain",&obj0,&obj1)) SWIG_fail;
130811  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
130812  if (!SWIG_IsOK(res1)) {
130813  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_CalculateGain" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
130814  }
130815  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
130816  ecode2 = SWIG_AsVal_float(obj1, &val2);
130817  if (!SWIG_IsOK(ecode2)) {
130818  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BellGain_CalculateGain" "', argument " "2"" of type '" "float""'");
130819  }
130820  arg2 = static_cast< float >(val2);
130821  {
130822  try {
130823  result = (float)(arg1)->CalculateGain(arg2);
130824  }
130825  catch(CStdErrorInfo oError)
130826  {
130827  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130828  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130829  PyErr_SetString(PyExc_IndexError, strError.c_str());
130830  SWIG_fail;
130831  }
130832  catch(...)
130833  {
130834  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130835  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130836  SWIG_fail;
130837  }
130838  }
130839  resultobj = SWIG_From_float(static_cast< float >(result));
130840  return resultobj;
130841 fail:
130842  return NULL;
130843 }
130844 
130845 
130846 SWIGINTERN PyObject *_wrap_BellGain_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130847  PyObject *resultobj = 0;
130849  std::string *arg2 = 0 ;
130850  std::string *arg3 = 0 ;
130851  bool arg4 ;
130852  void *argp1 = 0 ;
130853  int res1 = 0 ;
130854  int res2 = SWIG_OLDOBJ ;
130855  int res3 = SWIG_OLDOBJ ;
130856  bool val4 ;
130857  int ecode4 = 0 ;
130858  PyObject * obj0 = 0 ;
130859  PyObject * obj1 = 0 ;
130860  PyObject * obj2 = 0 ;
130861  PyObject * obj3 = 0 ;
130862  bool result;
130863 
130864  if (!PyArg_ParseTuple(args,(char *)"OOOO:BellGain_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
130865  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
130866  if (!SWIG_IsOK(res1)) {
130867  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_SetData" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
130868  }
130869  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
130870  {
130871  std::string *ptr = (std::string *)0;
130872  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
130873  if (!SWIG_IsOK(res2)) {
130874  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BellGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
130875  }
130876  if (!ptr) {
130877  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BellGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
130878  }
130879  arg2 = ptr;
130880  }
130881  {
130882  std::string *ptr = (std::string *)0;
130883  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
130884  if (!SWIG_IsOK(res3)) {
130885  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BellGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
130886  }
130887  if (!ptr) {
130888  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BellGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
130889  }
130890  arg3 = ptr;
130891  }
130892  ecode4 = SWIG_AsVal_bool(obj3, &val4);
130893  if (!SWIG_IsOK(ecode4)) {
130894  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BellGain_SetData" "', argument " "4"" of type '" "bool""'");
130895  }
130896  arg4 = static_cast< bool >(val4);
130897  {
130898  try {
130899  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
130900  }
130901  catch(CStdErrorInfo oError)
130902  {
130903  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130904  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130905  PyErr_SetString(PyExc_IndexError, strError.c_str());
130906  SWIG_fail;
130907  }
130908  catch(...)
130909  {
130910  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130911  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130912  SWIG_fail;
130913  }
130914  }
130915  resultobj = SWIG_From_bool(static_cast< bool >(result));
130916  if (SWIG_IsNewObj(res2)) delete arg2;
130917  if (SWIG_IsNewObj(res3)) delete arg3;
130918  return resultobj;
130919 fail:
130920  if (SWIG_IsNewObj(res2)) delete arg2;
130921  if (SWIG_IsNewObj(res3)) delete arg3;
130922  return NULL;
130923 }
130924 
130925 
130926 SWIGINTERN PyObject *_wrap_BellGain_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
130927  PyObject *resultobj = 0;
130929  std::string *arg2 = 0 ;
130930  std::string *arg3 = 0 ;
130931  void *argp1 = 0 ;
130932  int res1 = 0 ;
130933  int res2 = SWIG_OLDOBJ ;
130934  int res3 = SWIG_OLDOBJ ;
130935  PyObject * obj0 = 0 ;
130936  PyObject * obj1 = 0 ;
130937  PyObject * obj2 = 0 ;
130938  bool result;
130939 
130940  if (!PyArg_ParseTuple(args,(char *)"OOO:BellGain_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
130941  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
130942  if (!SWIG_IsOK(res1)) {
130943  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_SetData" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
130944  }
130945  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
130946  {
130947  std::string *ptr = (std::string *)0;
130948  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
130949  if (!SWIG_IsOK(res2)) {
130950  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BellGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
130951  }
130952  if (!ptr) {
130953  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BellGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
130954  }
130955  arg2 = ptr;
130956  }
130957  {
130958  std::string *ptr = (std::string *)0;
130959  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
130960  if (!SWIG_IsOK(res3)) {
130961  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BellGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
130962  }
130963  if (!ptr) {
130964  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BellGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
130965  }
130966  arg3 = ptr;
130967  }
130968  {
130969  try {
130970  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
130971  }
130972  catch(CStdErrorInfo oError)
130973  {
130974  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130975  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
130976  PyErr_SetString(PyExc_IndexError, strError.c_str());
130977  SWIG_fail;
130978  }
130979  catch(...)
130980  {
130981  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
130982  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
130983  SWIG_fail;
130984  }
130985  }
130986  resultobj = SWIG_From_bool(static_cast< bool >(result));
130987  if (SWIG_IsNewObj(res2)) delete arg2;
130988  if (SWIG_IsNewObj(res3)) delete arg3;
130989  return resultobj;
130990 fail:
130991  if (SWIG_IsNewObj(res2)) delete arg2;
130992  if (SWIG_IsNewObj(res3)) delete arg3;
130993  return NULL;
130994 }
130995 
130996 
130997 SWIGINTERN PyObject *_wrap_BellGain_SetData(PyObject *self, PyObject *args) {
130998  int argc;
130999  PyObject *argv[5];
131000  int ii;
131001 
131002  if (!PyTuple_Check(args)) SWIG_fail;
131003  argc = args ? (int)PyObject_Length(args) : 0;
131004  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
131005  argv[ii] = PyTuple_GET_ITEM(args,ii);
131006  }
131007  if (argc == 3) {
131008  int _v;
131009  void *vptr = 0;
131010  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__BellGain, 0);
131011  _v = SWIG_CheckState(res);
131012  if (_v) {
131013  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
131014  _v = SWIG_CheckState(res);
131015  if (_v) {
131016  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
131017  _v = SWIG_CheckState(res);
131018  if (_v) {
131019  return _wrap_BellGain_SetData__SWIG_1(self, args);
131020  }
131021  }
131022  }
131023  }
131024  if (argc == 4) {
131025  int _v;
131026  void *vptr = 0;
131027  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__BellGain, 0);
131028  _v = SWIG_CheckState(res);
131029  if (_v) {
131030  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
131031  _v = SWIG_CheckState(res);
131032  if (_v) {
131033  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
131034  _v = SWIG_CheckState(res);
131035  if (_v) {
131036  {
131037  int res = SWIG_AsVal_bool(argv[3], NULL);
131038  _v = SWIG_CheckState(res);
131039  }
131040  if (_v) {
131041  return _wrap_BellGain_SetData__SWIG_0(self, args);
131042  }
131043  }
131044  }
131045  }
131046  }
131047 
131048 fail:
131049  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BellGain_SetData'.\n"
131050  " Possible C/C++ prototypes are:\n"
131051  " AnimatSim::Gains::BellGain::SetData(std::string const &,std::string const &,bool)\n"
131052  " AnimatSim::Gains::BellGain::SetData(std::string const &,std::string const &)\n");
131053  return 0;
131054 }
131055 
131056 
131057 SWIGINTERN PyObject *_wrap_BellGain_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131058  PyObject *resultobj = 0;
131060  CStdPtrArray< TypeProperty > *arg2 = 0 ;
131061  void *argp1 = 0 ;
131062  int res1 = 0 ;
131063  void *argp2 = 0 ;
131064  int res2 = 0 ;
131065  PyObject * obj0 = 0 ;
131066  PyObject * obj1 = 0 ;
131067 
131068  if (!PyArg_ParseTuple(args,(char *)"OO:BellGain_QueryProperties",&obj0,&obj1)) SWIG_fail;
131069  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
131070  if (!SWIG_IsOK(res1)) {
131071  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
131072  }
131073  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
131074  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
131075  if (!SWIG_IsOK(res2)) {
131076  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BellGain_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
131077  }
131078  if (!argp2) {
131079  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BellGain_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
131080  }
131081  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
131082  {
131083  try {
131084  (arg1)->QueryProperties(*arg2);
131085  }
131086  catch(CStdErrorInfo oError)
131087  {
131088  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131089  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131090  PyErr_SetString(PyExc_IndexError, strError.c_str());
131091  SWIG_fail;
131092  }
131093  catch(...)
131094  {
131095  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131096  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131097  SWIG_fail;
131098  }
131099  }
131100  resultobj = SWIG_Py_Void();
131101  return resultobj;
131102 fail:
131103  return NULL;
131104 }
131105 
131106 
131107 SWIGINTERN PyObject *_wrap_BellGain_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131108  PyObject *resultobj = 0;
131110  CStdXml *arg2 = 0 ;
131111  void *argp1 = 0 ;
131112  int res1 = 0 ;
131113  void *argp2 = 0 ;
131114  int res2 = 0 ;
131115  PyObject * obj0 = 0 ;
131116  PyObject * obj1 = 0 ;
131117 
131118  if (!PyArg_ParseTuple(args,(char *)"OO:BellGain_Load",&obj0,&obj1)) SWIG_fail;
131119  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__BellGain, 0 | 0 );
131120  if (!SWIG_IsOK(res1)) {
131121  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BellGain_Load" "', argument " "1"" of type '" "AnimatSim::Gains::BellGain *""'");
131122  }
131123  arg1 = reinterpret_cast< AnimatSim::Gains::BellGain * >(argp1);
131124  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
131125  if (!SWIG_IsOK(res2)) {
131126  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BellGain_Load" "', argument " "2"" of type '" "CStdXml &""'");
131127  }
131128  if (!argp2) {
131129  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BellGain_Load" "', argument " "2"" of type '" "CStdXml &""'");
131130  }
131131  arg2 = reinterpret_cast< CStdXml * >(argp2);
131132  {
131133  try {
131134  (arg1)->Load(*arg2);
131135  }
131136  catch(CStdErrorInfo oError)
131137  {
131138  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131139  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131140  PyErr_SetString(PyExc_IndexError, strError.c_str());
131141  SWIG_fail;
131142  }
131143  catch(...)
131144  {
131145  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131146  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131147  SWIG_fail;
131148  }
131149  }
131150  resultobj = SWIG_Py_Void();
131151  return resultobj;
131152 fail:
131153  return NULL;
131154 }
131155 
131156 
131157 SWIGINTERN PyObject *BellGain_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131158  PyObject *obj;
131159  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
131160  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Gains__BellGain, SWIG_NewClientData(obj));
131161  return SWIG_Py_Void();
131162 }
131163 
131164 SWIGINTERN PyObject *_wrap_new_EquationGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131165  PyObject *resultobj = 0;
131166  AnimatSim::Gains::EquationGain *result = 0 ;
131167 
131168  if (!PyArg_ParseTuple(args,(char *)":new_EquationGain")) SWIG_fail;
131169  {
131170  try {
131172  }
131173  catch(CStdErrorInfo oError)
131174  {
131175  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131176  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131177  PyErr_SetString(PyExc_IndexError, strError.c_str());
131178  SWIG_fail;
131179  }
131180  catch(...)
131181  {
131182  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131183  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131184  SWIG_fail;
131185  }
131186  }
131187  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__EquationGain, SWIG_POINTER_NEW | 0 );
131188  return resultobj;
131189 fail:
131190  return NULL;
131191 }
131192 
131193 
131194 SWIGINTERN PyObject *_wrap_delete_EquationGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131195  PyObject *resultobj = 0;
131197  void *argp1 = 0 ;
131198  int res1 = 0 ;
131199  PyObject * obj0 = 0 ;
131200 
131201  if (!PyArg_ParseTuple(args,(char *)"O:delete_EquationGain",&obj0)) SWIG_fail;
131202  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__EquationGain, SWIG_POINTER_DISOWN | 0 );
131203  if (!SWIG_IsOK(res1)) {
131204  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_EquationGain" "', argument " "1"" of type '" "AnimatSim::Gains::EquationGain *""'");
131205  }
131206  arg1 = reinterpret_cast< AnimatSim::Gains::EquationGain * >(argp1);
131207  {
131208  try {
131209  delete arg1;
131210  }
131211  catch(CStdErrorInfo oError)
131212  {
131213  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131214  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131215  PyErr_SetString(PyExc_IndexError, strError.c_str());
131216  SWIG_fail;
131217  }
131218  catch(...)
131219  {
131220  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131221  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131222  SWIG_fail;
131223  }
131224  }
131225  resultobj = SWIG_Py_Void();
131226  return resultobj;
131227 fail:
131228  return NULL;
131229 }
131230 
131231 
131232 SWIGINTERN PyObject *_wrap_EquationGain_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131233  PyObject *resultobj = 0;
131235  void *argp1 = 0 ;
131236  int res1 = 0 ;
131237  PyObject * obj0 = 0 ;
131238  AnimatSim::Gains::EquationGain *result = 0 ;
131239 
131240  if (!PyArg_ParseTuple(args,(char *)"O:EquationGain_CastToDerived",&obj0)) SWIG_fail;
131241  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
131242  if (!SWIG_IsOK(res1)) {
131243  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EquationGain_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
131244  }
131245  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
131246  {
131247  try {
131248  result = (AnimatSim::Gains::EquationGain *)AnimatSim::Gains::EquationGain::CastToDerived(arg1);
131249  }
131250  catch(CStdErrorInfo oError)
131251  {
131252  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131253  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131254  PyErr_SetString(PyExc_IndexError, strError.c_str());
131255  SWIG_fail;
131256  }
131257  catch(...)
131258  {
131259  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131260  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131261  SWIG_fail;
131262  }
131263  }
131264  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__EquationGain, 0 | 0 );
131265  return resultobj;
131266 fail:
131267  return NULL;
131268 }
131269 
131270 
131271 SWIGINTERN PyObject *_wrap_EquationGain_GainEquation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131272  PyObject *resultobj = 0;
131274  void *argp1 = 0 ;
131275  int res1 = 0 ;
131276  PyObject * obj0 = 0 ;
131277  std::string result;
131278 
131279  if (!PyArg_ParseTuple(args,(char *)"O:EquationGain_GainEquation",&obj0)) SWIG_fail;
131280  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__EquationGain, 0 | 0 );
131281  if (!SWIG_IsOK(res1)) {
131282  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EquationGain_GainEquation" "', argument " "1"" of type '" "AnimatSim::Gains::EquationGain *""'");
131283  }
131284  arg1 = reinterpret_cast< AnimatSim::Gains::EquationGain * >(argp1);
131285  {
131286  try {
131287  result = (arg1)->GainEquation();
131288  }
131289  catch(CStdErrorInfo oError)
131290  {
131291  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131292  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131293  PyErr_SetString(PyExc_IndexError, strError.c_str());
131294  SWIG_fail;
131295  }
131296  catch(...)
131297  {
131298  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131299  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131300  SWIG_fail;
131301  }
131302  }
131303  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
131304  return resultobj;
131305 fail:
131306  return NULL;
131307 }
131308 
131309 
131310 SWIGINTERN PyObject *_wrap_EquationGain_GainEquation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131311  PyObject *resultobj = 0;
131313  std::string arg2 ;
131314  void *argp1 = 0 ;
131315  int res1 = 0 ;
131316  PyObject * obj0 = 0 ;
131317  PyObject * obj1 = 0 ;
131318 
131319  if (!PyArg_ParseTuple(args,(char *)"OO:EquationGain_GainEquation",&obj0,&obj1)) SWIG_fail;
131320  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__EquationGain, 0 | 0 );
131321  if (!SWIG_IsOK(res1)) {
131322  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EquationGain_GainEquation" "', argument " "1"" of type '" "AnimatSim::Gains::EquationGain *""'");
131323  }
131324  arg1 = reinterpret_cast< AnimatSim::Gains::EquationGain * >(argp1);
131325  {
131326  std::string *ptr = (std::string *)0;
131327  int res = SWIG_AsPtr_std_string(obj1, &ptr);
131328  if (!SWIG_IsOK(res) || !ptr) {
131329  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "EquationGain_GainEquation" "', argument " "2"" of type '" "std::string""'");
131330  }
131331  arg2 = *ptr;
131332  if (SWIG_IsNewObj(res)) delete ptr;
131333  }
131334  {
131335  try {
131336  (arg1)->GainEquation(arg2);
131337  }
131338  catch(CStdErrorInfo oError)
131339  {
131340  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131341  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131342  PyErr_SetString(PyExc_IndexError, strError.c_str());
131343  SWIG_fail;
131344  }
131345  catch(...)
131346  {
131347  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131348  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131349  SWIG_fail;
131350  }
131351  }
131352  resultobj = SWIG_Py_Void();
131353  return resultobj;
131354 fail:
131355  return NULL;
131356 }
131357 
131358 
131359 SWIGINTERN PyObject *_wrap_EquationGain_GainEquation(PyObject *self, PyObject *args) {
131360  int argc;
131361  PyObject *argv[3];
131362  int ii;
131363 
131364  if (!PyTuple_Check(args)) SWIG_fail;
131365  argc = args ? (int)PyObject_Length(args) : 0;
131366  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
131367  argv[ii] = PyTuple_GET_ITEM(args,ii);
131368  }
131369  if (argc == 1) {
131370  int _v;
131371  void *vptr = 0;
131372  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__EquationGain, 0);
131373  _v = SWIG_CheckState(res);
131374  if (_v) {
131375  return _wrap_EquationGain_GainEquation__SWIG_0(self, args);
131376  }
131377  }
131378  if (argc == 2) {
131379  int _v;
131380  void *vptr = 0;
131381  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__EquationGain, 0);
131382  _v = SWIG_CheckState(res);
131383  if (_v) {
131384  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
131385  _v = SWIG_CheckState(res);
131386  if (_v) {
131387  return _wrap_EquationGain_GainEquation__SWIG_1(self, args);
131388  }
131389  }
131390  }
131391 
131392 fail:
131393  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'EquationGain_GainEquation'.\n"
131394  " Possible C/C++ prototypes are:\n"
131395  " AnimatSim::Gains::EquationGain::GainEquation()\n"
131396  " AnimatSim::Gains::EquationGain::GainEquation(std::string)\n");
131397  return 0;
131398 }
131399 
131400 
131401 SWIGINTERN PyObject *_wrap_EquationGain_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131402  PyObject *resultobj = 0;
131404  CStdSerialize *arg2 = (CStdSerialize *) 0 ;
131405  void *argp1 = 0 ;
131406  int res1 = 0 ;
131407  void *argp2 = 0 ;
131408  int res2 = 0 ;
131409  PyObject * obj0 = 0 ;
131410  PyObject * obj1 = 0 ;
131411 
131412  if (!PyArg_ParseTuple(args,(char *)"OO:EquationGain_Copy",&obj0,&obj1)) SWIG_fail;
131413  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__EquationGain, 0 | 0 );
131414  if (!SWIG_IsOK(res1)) {
131415  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EquationGain_Copy" "', argument " "1"" of type '" "AnimatSim::Gains::EquationGain *""'");
131416  }
131417  arg1 = reinterpret_cast< AnimatSim::Gains::EquationGain * >(argp1);
131418  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
131419  if (!SWIG_IsOK(res2)) {
131420  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EquationGain_Copy" "', argument " "2"" of type '" "CStdSerialize *""'");
131421  }
131422  arg2 = reinterpret_cast< CStdSerialize * >(argp2);
131423  {
131424  try {
131425  (arg1)->Copy(arg2);
131426  }
131427  catch(CStdErrorInfo oError)
131428  {
131429  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131430  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131431  PyErr_SetString(PyExc_IndexError, strError.c_str());
131432  SWIG_fail;
131433  }
131434  catch(...)
131435  {
131436  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131437  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131438  SWIG_fail;
131439  }
131440  }
131441  resultobj = SWIG_Py_Void();
131442  return resultobj;
131443 fail:
131444  return NULL;
131445 }
131446 
131447 
131448 SWIGINTERN PyObject *_wrap_EquationGain_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131449  PyObject *resultobj = 0;
131451  void *argp1 = 0 ;
131452  int res1 = 0 ;
131453  PyObject * obj0 = 0 ;
131454  CStdSerialize *result = 0 ;
131455 
131456  if (!PyArg_ParseTuple(args,(char *)"O:EquationGain_Clone",&obj0)) SWIG_fail;
131457  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__EquationGain, 0 | 0 );
131458  if (!SWIG_IsOK(res1)) {
131459  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EquationGain_Clone" "', argument " "1"" of type '" "AnimatSim::Gains::EquationGain *""'");
131460  }
131461  arg1 = reinterpret_cast< AnimatSim::Gains::EquationGain * >(argp1);
131462  {
131463  try {
131464  result = (CStdSerialize *)(arg1)->Clone();
131465  }
131466  catch(CStdErrorInfo oError)
131467  {
131468  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131469  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131470  PyErr_SetString(PyExc_IndexError, strError.c_str());
131471  SWIG_fail;
131472  }
131473  catch(...)
131474  {
131475  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131476  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131477  SWIG_fail;
131478  }
131479  }
131480  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
131481  return resultobj;
131482 fail:
131483  return NULL;
131484 }
131485 
131486 
131487 SWIGINTERN PyObject *_wrap_EquationGain_CalculateGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131488  PyObject *resultobj = 0;
131490  float arg2 ;
131491  void *argp1 = 0 ;
131492  int res1 = 0 ;
131493  float val2 ;
131494  int ecode2 = 0 ;
131495  PyObject * obj0 = 0 ;
131496  PyObject * obj1 = 0 ;
131497  float result;
131498 
131499  if (!PyArg_ParseTuple(args,(char *)"OO:EquationGain_CalculateGain",&obj0,&obj1)) SWIG_fail;
131500  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__EquationGain, 0 | 0 );
131501  if (!SWIG_IsOK(res1)) {
131502  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EquationGain_CalculateGain" "', argument " "1"" of type '" "AnimatSim::Gains::EquationGain *""'");
131503  }
131504  arg1 = reinterpret_cast< AnimatSim::Gains::EquationGain * >(argp1);
131505  ecode2 = SWIG_AsVal_float(obj1, &val2);
131506  if (!SWIG_IsOK(ecode2)) {
131507  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "EquationGain_CalculateGain" "', argument " "2"" of type '" "float""'");
131508  }
131509  arg2 = static_cast< float >(val2);
131510  {
131511  try {
131512  result = (float)(arg1)->CalculateGain(arg2);
131513  }
131514  catch(CStdErrorInfo oError)
131515  {
131516  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131517  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131518  PyErr_SetString(PyExc_IndexError, strError.c_str());
131519  SWIG_fail;
131520  }
131521  catch(...)
131522  {
131523  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131524  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131525  SWIG_fail;
131526  }
131527  }
131528  resultobj = SWIG_From_float(static_cast< float >(result));
131529  return resultobj;
131530 fail:
131531  return NULL;
131532 }
131533 
131534 
131535 SWIGINTERN PyObject *_wrap_EquationGain_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131536  PyObject *resultobj = 0;
131538  std::string *arg2 = 0 ;
131539  std::string *arg3 = 0 ;
131540  bool arg4 ;
131541  void *argp1 = 0 ;
131542  int res1 = 0 ;
131543  int res2 = SWIG_OLDOBJ ;
131544  int res3 = SWIG_OLDOBJ ;
131545  bool val4 ;
131546  int ecode4 = 0 ;
131547  PyObject * obj0 = 0 ;
131548  PyObject * obj1 = 0 ;
131549  PyObject * obj2 = 0 ;
131550  PyObject * obj3 = 0 ;
131551  bool result;
131552 
131553  if (!PyArg_ParseTuple(args,(char *)"OOOO:EquationGain_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
131554  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__EquationGain, 0 | 0 );
131555  if (!SWIG_IsOK(res1)) {
131556  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EquationGain_SetData" "', argument " "1"" of type '" "AnimatSim::Gains::EquationGain *""'");
131557  }
131558  arg1 = reinterpret_cast< AnimatSim::Gains::EquationGain * >(argp1);
131559  {
131560  std::string *ptr = (std::string *)0;
131561  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
131562  if (!SWIG_IsOK(res2)) {
131563  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EquationGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
131564  }
131565  if (!ptr) {
131566  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EquationGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
131567  }
131568  arg2 = ptr;
131569  }
131570  {
131571  std::string *ptr = (std::string *)0;
131572  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
131573  if (!SWIG_IsOK(res3)) {
131574  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "EquationGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
131575  }
131576  if (!ptr) {
131577  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EquationGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
131578  }
131579  arg3 = ptr;
131580  }
131581  ecode4 = SWIG_AsVal_bool(obj3, &val4);
131582  if (!SWIG_IsOK(ecode4)) {
131583  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "EquationGain_SetData" "', argument " "4"" of type '" "bool""'");
131584  }
131585  arg4 = static_cast< bool >(val4);
131586  {
131587  try {
131588  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
131589  }
131590  catch(CStdErrorInfo oError)
131591  {
131592  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131593  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131594  PyErr_SetString(PyExc_IndexError, strError.c_str());
131595  SWIG_fail;
131596  }
131597  catch(...)
131598  {
131599  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131600  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131601  SWIG_fail;
131602  }
131603  }
131604  resultobj = SWIG_From_bool(static_cast< bool >(result));
131605  if (SWIG_IsNewObj(res2)) delete arg2;
131606  if (SWIG_IsNewObj(res3)) delete arg3;
131607  return resultobj;
131608 fail:
131609  if (SWIG_IsNewObj(res2)) delete arg2;
131610  if (SWIG_IsNewObj(res3)) delete arg3;
131611  return NULL;
131612 }
131613 
131614 
131615 SWIGINTERN PyObject *_wrap_EquationGain_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131616  PyObject *resultobj = 0;
131618  std::string *arg2 = 0 ;
131619  std::string *arg3 = 0 ;
131620  void *argp1 = 0 ;
131621  int res1 = 0 ;
131622  int res2 = SWIG_OLDOBJ ;
131623  int res3 = SWIG_OLDOBJ ;
131624  PyObject * obj0 = 0 ;
131625  PyObject * obj1 = 0 ;
131626  PyObject * obj2 = 0 ;
131627  bool result;
131628 
131629  if (!PyArg_ParseTuple(args,(char *)"OOO:EquationGain_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
131630  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__EquationGain, 0 | 0 );
131631  if (!SWIG_IsOK(res1)) {
131632  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EquationGain_SetData" "', argument " "1"" of type '" "AnimatSim::Gains::EquationGain *""'");
131633  }
131634  arg1 = reinterpret_cast< AnimatSim::Gains::EquationGain * >(argp1);
131635  {
131636  std::string *ptr = (std::string *)0;
131637  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
131638  if (!SWIG_IsOK(res2)) {
131639  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EquationGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
131640  }
131641  if (!ptr) {
131642  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EquationGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
131643  }
131644  arg2 = ptr;
131645  }
131646  {
131647  std::string *ptr = (std::string *)0;
131648  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
131649  if (!SWIG_IsOK(res3)) {
131650  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "EquationGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
131651  }
131652  if (!ptr) {
131653  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EquationGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
131654  }
131655  arg3 = ptr;
131656  }
131657  {
131658  try {
131659  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
131660  }
131661  catch(CStdErrorInfo oError)
131662  {
131663  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131664  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131665  PyErr_SetString(PyExc_IndexError, strError.c_str());
131666  SWIG_fail;
131667  }
131668  catch(...)
131669  {
131670  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131671  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131672  SWIG_fail;
131673  }
131674  }
131675  resultobj = SWIG_From_bool(static_cast< bool >(result));
131676  if (SWIG_IsNewObj(res2)) delete arg2;
131677  if (SWIG_IsNewObj(res3)) delete arg3;
131678  return resultobj;
131679 fail:
131680  if (SWIG_IsNewObj(res2)) delete arg2;
131681  if (SWIG_IsNewObj(res3)) delete arg3;
131682  return NULL;
131683 }
131684 
131685 
131686 SWIGINTERN PyObject *_wrap_EquationGain_SetData(PyObject *self, PyObject *args) {
131687  int argc;
131688  PyObject *argv[5];
131689  int ii;
131690 
131691  if (!PyTuple_Check(args)) SWIG_fail;
131692  argc = args ? (int)PyObject_Length(args) : 0;
131693  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
131694  argv[ii] = PyTuple_GET_ITEM(args,ii);
131695  }
131696  if (argc == 3) {
131697  int _v;
131698  void *vptr = 0;
131699  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__EquationGain, 0);
131700  _v = SWIG_CheckState(res);
131701  if (_v) {
131702  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
131703  _v = SWIG_CheckState(res);
131704  if (_v) {
131705  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
131706  _v = SWIG_CheckState(res);
131707  if (_v) {
131708  return _wrap_EquationGain_SetData__SWIG_1(self, args);
131709  }
131710  }
131711  }
131712  }
131713  if (argc == 4) {
131714  int _v;
131715  void *vptr = 0;
131716  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__EquationGain, 0);
131717  _v = SWIG_CheckState(res);
131718  if (_v) {
131719  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
131720  _v = SWIG_CheckState(res);
131721  if (_v) {
131722  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
131723  _v = SWIG_CheckState(res);
131724  if (_v) {
131725  {
131726  int res = SWIG_AsVal_bool(argv[3], NULL);
131727  _v = SWIG_CheckState(res);
131728  }
131729  if (_v) {
131730  return _wrap_EquationGain_SetData__SWIG_0(self, args);
131731  }
131732  }
131733  }
131734  }
131735  }
131736 
131737 fail:
131738  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'EquationGain_SetData'.\n"
131739  " Possible C/C++ prototypes are:\n"
131740  " AnimatSim::Gains::EquationGain::SetData(std::string const &,std::string const &,bool)\n"
131741  " AnimatSim::Gains::EquationGain::SetData(std::string const &,std::string const &)\n");
131742  return 0;
131743 }
131744 
131745 
131746 SWIGINTERN PyObject *_wrap_EquationGain_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131747  PyObject *resultobj = 0;
131749  CStdPtrArray< TypeProperty > *arg2 = 0 ;
131750  void *argp1 = 0 ;
131751  int res1 = 0 ;
131752  void *argp2 = 0 ;
131753  int res2 = 0 ;
131754  PyObject * obj0 = 0 ;
131755  PyObject * obj1 = 0 ;
131756 
131757  if (!PyArg_ParseTuple(args,(char *)"OO:EquationGain_QueryProperties",&obj0,&obj1)) SWIG_fail;
131758  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__EquationGain, 0 | 0 );
131759  if (!SWIG_IsOK(res1)) {
131760  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EquationGain_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Gains::EquationGain *""'");
131761  }
131762  arg1 = reinterpret_cast< AnimatSim::Gains::EquationGain * >(argp1);
131763  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
131764  if (!SWIG_IsOK(res2)) {
131765  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EquationGain_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
131766  }
131767  if (!argp2) {
131768  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EquationGain_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
131769  }
131770  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
131771  {
131772  try {
131773  (arg1)->QueryProperties(*arg2);
131774  }
131775  catch(CStdErrorInfo oError)
131776  {
131777  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131778  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131779  PyErr_SetString(PyExc_IndexError, strError.c_str());
131780  SWIG_fail;
131781  }
131782  catch(...)
131783  {
131784  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131785  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131786  SWIG_fail;
131787  }
131788  }
131789  resultobj = SWIG_Py_Void();
131790  return resultobj;
131791 fail:
131792  return NULL;
131793 }
131794 
131795 
131796 SWIGINTERN PyObject *_wrap_EquationGain_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131797  PyObject *resultobj = 0;
131799  CStdXml *arg2 = 0 ;
131800  void *argp1 = 0 ;
131801  int res1 = 0 ;
131802  void *argp2 = 0 ;
131803  int res2 = 0 ;
131804  PyObject * obj0 = 0 ;
131805  PyObject * obj1 = 0 ;
131806 
131807  if (!PyArg_ParseTuple(args,(char *)"OO:EquationGain_Load",&obj0,&obj1)) SWIG_fail;
131808  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__EquationGain, 0 | 0 );
131809  if (!SWIG_IsOK(res1)) {
131810  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EquationGain_Load" "', argument " "1"" of type '" "AnimatSim::Gains::EquationGain *""'");
131811  }
131812  arg1 = reinterpret_cast< AnimatSim::Gains::EquationGain * >(argp1);
131813  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
131814  if (!SWIG_IsOK(res2)) {
131815  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EquationGain_Load" "', argument " "2"" of type '" "CStdXml &""'");
131816  }
131817  if (!argp2) {
131818  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EquationGain_Load" "', argument " "2"" of type '" "CStdXml &""'");
131819  }
131820  arg2 = reinterpret_cast< CStdXml * >(argp2);
131821  {
131822  try {
131823  (arg1)->Load(*arg2);
131824  }
131825  catch(CStdErrorInfo oError)
131826  {
131827  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131828  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131829  PyErr_SetString(PyExc_IndexError, strError.c_str());
131830  SWIG_fail;
131831  }
131832  catch(...)
131833  {
131834  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131835  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131836  SWIG_fail;
131837  }
131838  }
131839  resultobj = SWIG_Py_Void();
131840  return resultobj;
131841 fail:
131842  return NULL;
131843 }
131844 
131845 
131846 SWIGINTERN PyObject *EquationGain_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131847  PyObject *obj;
131848  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
131849  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Gains__EquationGain, SWIG_NewClientData(obj));
131850  return SWIG_Py_Void();
131851 }
131852 
131853 SWIGINTERN PyObject *_wrap_new_PolynomialGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131854  PyObject *resultobj = 0;
131855  AnimatSim::Gains::PolynomialGain *result = 0 ;
131856 
131857  if (!PyArg_ParseTuple(args,(char *)":new_PolynomialGain")) SWIG_fail;
131858  {
131859  try {
131861  }
131862  catch(CStdErrorInfo oError)
131863  {
131864  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131865  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131866  PyErr_SetString(PyExc_IndexError, strError.c_str());
131867  SWIG_fail;
131868  }
131869  catch(...)
131870  {
131871  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131872  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131873  SWIG_fail;
131874  }
131875  }
131876  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, SWIG_POINTER_NEW | 0 );
131877  return resultobj;
131878 fail:
131879  return NULL;
131880 }
131881 
131882 
131883 SWIGINTERN PyObject *_wrap_delete_PolynomialGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131884  PyObject *resultobj = 0;
131886  void *argp1 = 0 ;
131887  int res1 = 0 ;
131888  PyObject * obj0 = 0 ;
131889 
131890  if (!PyArg_ParseTuple(args,(char *)"O:delete_PolynomialGain",&obj0)) SWIG_fail;
131891  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, SWIG_POINTER_DISOWN | 0 );
131892  if (!SWIG_IsOK(res1)) {
131893  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PolynomialGain" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
131894  }
131895  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
131896  {
131897  try {
131898  delete arg1;
131899  }
131900  catch(CStdErrorInfo oError)
131901  {
131902  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131903  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131904  PyErr_SetString(PyExc_IndexError, strError.c_str());
131905  SWIG_fail;
131906  }
131907  catch(...)
131908  {
131909  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131910  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131911  SWIG_fail;
131912  }
131913  }
131914  resultobj = SWIG_Py_Void();
131915  return resultobj;
131916 fail:
131917  return NULL;
131918 }
131919 
131920 
131921 SWIGINTERN PyObject *_wrap_PolynomialGain_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131922  PyObject *resultobj = 0;
131924  void *argp1 = 0 ;
131925  int res1 = 0 ;
131926  PyObject * obj0 = 0 ;
131927  AnimatSim::Gains::PolynomialGain *result = 0 ;
131928 
131929  if (!PyArg_ParseTuple(args,(char *)"O:PolynomialGain_CastToDerived",&obj0)) SWIG_fail;
131930  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
131931  if (!SWIG_IsOK(res1)) {
131932  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
131933  }
131934  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
131935  {
131936  try {
131937  result = (AnimatSim::Gains::PolynomialGain *)AnimatSim::Gains::PolynomialGain::CastToDerived(arg1);
131938  }
131939  catch(CStdErrorInfo oError)
131940  {
131941  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131942  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131943  PyErr_SetString(PyExc_IndexError, strError.c_str());
131944  SWIG_fail;
131945  }
131946  catch(...)
131947  {
131948  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131949  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131950  SWIG_fail;
131951  }
131952  }
131953  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
131954  return resultobj;
131955 fail:
131956  return NULL;
131957 }
131958 
131959 
131960 SWIGINTERN PyObject *_wrap_PolynomialGain_A__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
131961  PyObject *resultobj = 0;
131963  void *argp1 = 0 ;
131964  int res1 = 0 ;
131965  PyObject * obj0 = 0 ;
131966  float result;
131967 
131968  if (!PyArg_ParseTuple(args,(char *)"O:PolynomialGain_A",&obj0)) SWIG_fail;
131969  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
131970  if (!SWIG_IsOK(res1)) {
131971  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_A" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
131972  }
131973  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
131974  {
131975  try {
131976  result = (float)(arg1)->A();
131977  }
131978  catch(CStdErrorInfo oError)
131979  {
131980  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131981  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
131982  PyErr_SetString(PyExc_IndexError, strError.c_str());
131983  SWIG_fail;
131984  }
131985  catch(...)
131986  {
131987  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
131988  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
131989  SWIG_fail;
131990  }
131991  }
131992  resultobj = SWIG_From_float(static_cast< float >(result));
131993  return resultobj;
131994 fail:
131995  return NULL;
131996 }
131997 
131998 
131999 SWIGINTERN PyObject *_wrap_PolynomialGain_A__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132000  PyObject *resultobj = 0;
132002  float arg2 ;
132003  void *argp1 = 0 ;
132004  int res1 = 0 ;
132005  float val2 ;
132006  int ecode2 = 0 ;
132007  PyObject * obj0 = 0 ;
132008  PyObject * obj1 = 0 ;
132009 
132010  if (!PyArg_ParseTuple(args,(char *)"OO:PolynomialGain_A",&obj0,&obj1)) SWIG_fail;
132011  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
132012  if (!SWIG_IsOK(res1)) {
132013  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_A" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
132014  }
132015  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
132016  ecode2 = SWIG_AsVal_float(obj1, &val2);
132017  if (!SWIG_IsOK(ecode2)) {
132018  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PolynomialGain_A" "', argument " "2"" of type '" "float""'");
132019  }
132020  arg2 = static_cast< float >(val2);
132021  {
132022  try {
132023  (arg1)->A(arg2);
132024  }
132025  catch(CStdErrorInfo oError)
132026  {
132027  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132028  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132029  PyErr_SetString(PyExc_IndexError, strError.c_str());
132030  SWIG_fail;
132031  }
132032  catch(...)
132033  {
132034  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132035  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132036  SWIG_fail;
132037  }
132038  }
132039  resultobj = SWIG_Py_Void();
132040  return resultobj;
132041 fail:
132042  return NULL;
132043 }
132044 
132045 
132046 SWIGINTERN PyObject *_wrap_PolynomialGain_A(PyObject *self, PyObject *args) {
132047  int argc;
132048  PyObject *argv[3];
132049  int ii;
132050 
132051  if (!PyTuple_Check(args)) SWIG_fail;
132052  argc = args ? (int)PyObject_Length(args) : 0;
132053  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
132054  argv[ii] = PyTuple_GET_ITEM(args,ii);
132055  }
132056  if (argc == 1) {
132057  int _v;
132058  void *vptr = 0;
132059  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0);
132060  _v = SWIG_CheckState(res);
132061  if (_v) {
132062  return _wrap_PolynomialGain_A__SWIG_0(self, args);
132063  }
132064  }
132065  if (argc == 2) {
132066  int _v;
132067  void *vptr = 0;
132068  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0);
132069  _v = SWIG_CheckState(res);
132070  if (_v) {
132071  {
132072  int res = SWIG_AsVal_float(argv[1], NULL);
132073  _v = SWIG_CheckState(res);
132074  }
132075  if (_v) {
132076  return _wrap_PolynomialGain_A__SWIG_1(self, args);
132077  }
132078  }
132079  }
132080 
132081 fail:
132082  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PolynomialGain_A'.\n"
132083  " Possible C/C++ prototypes are:\n"
132084  " AnimatSim::Gains::PolynomialGain::A()\n"
132085  " AnimatSim::Gains::PolynomialGain::A(float)\n");
132086  return 0;
132087 }
132088 
132089 
132090 SWIGINTERN PyObject *_wrap_PolynomialGain_B__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132091  PyObject *resultobj = 0;
132093  void *argp1 = 0 ;
132094  int res1 = 0 ;
132095  PyObject * obj0 = 0 ;
132096  float result;
132097 
132098  if (!PyArg_ParseTuple(args,(char *)"O:PolynomialGain_B",&obj0)) SWIG_fail;
132099  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
132100  if (!SWIG_IsOK(res1)) {
132101  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_B" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
132102  }
132103  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
132104  {
132105  try {
132106  result = (float)(arg1)->B();
132107  }
132108  catch(CStdErrorInfo oError)
132109  {
132110  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132111  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132112  PyErr_SetString(PyExc_IndexError, strError.c_str());
132113  SWIG_fail;
132114  }
132115  catch(...)
132116  {
132117  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132118  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132119  SWIG_fail;
132120  }
132121  }
132122  resultobj = SWIG_From_float(static_cast< float >(result));
132123  return resultobj;
132124 fail:
132125  return NULL;
132126 }
132127 
132128 
132129 SWIGINTERN PyObject *_wrap_PolynomialGain_B__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132130  PyObject *resultobj = 0;
132132  float arg2 ;
132133  void *argp1 = 0 ;
132134  int res1 = 0 ;
132135  float val2 ;
132136  int ecode2 = 0 ;
132137  PyObject * obj0 = 0 ;
132138  PyObject * obj1 = 0 ;
132139 
132140  if (!PyArg_ParseTuple(args,(char *)"OO:PolynomialGain_B",&obj0,&obj1)) SWIG_fail;
132141  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
132142  if (!SWIG_IsOK(res1)) {
132143  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_B" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
132144  }
132145  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
132146  ecode2 = SWIG_AsVal_float(obj1, &val2);
132147  if (!SWIG_IsOK(ecode2)) {
132148  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PolynomialGain_B" "', argument " "2"" of type '" "float""'");
132149  }
132150  arg2 = static_cast< float >(val2);
132151  {
132152  try {
132153  (arg1)->B(arg2);
132154  }
132155  catch(CStdErrorInfo oError)
132156  {
132157  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132158  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132159  PyErr_SetString(PyExc_IndexError, strError.c_str());
132160  SWIG_fail;
132161  }
132162  catch(...)
132163  {
132164  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132165  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132166  SWIG_fail;
132167  }
132168  }
132169  resultobj = SWIG_Py_Void();
132170  return resultobj;
132171 fail:
132172  return NULL;
132173 }
132174 
132175 
132176 SWIGINTERN PyObject *_wrap_PolynomialGain_B(PyObject *self, PyObject *args) {
132177  int argc;
132178  PyObject *argv[3];
132179  int ii;
132180 
132181  if (!PyTuple_Check(args)) SWIG_fail;
132182  argc = args ? (int)PyObject_Length(args) : 0;
132183  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
132184  argv[ii] = PyTuple_GET_ITEM(args,ii);
132185  }
132186  if (argc == 1) {
132187  int _v;
132188  void *vptr = 0;
132189  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0);
132190  _v = SWIG_CheckState(res);
132191  if (_v) {
132192  return _wrap_PolynomialGain_B__SWIG_0(self, args);
132193  }
132194  }
132195  if (argc == 2) {
132196  int _v;
132197  void *vptr = 0;
132198  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0);
132199  _v = SWIG_CheckState(res);
132200  if (_v) {
132201  {
132202  int res = SWIG_AsVal_float(argv[1], NULL);
132203  _v = SWIG_CheckState(res);
132204  }
132205  if (_v) {
132206  return _wrap_PolynomialGain_B__SWIG_1(self, args);
132207  }
132208  }
132209  }
132210 
132211 fail:
132212  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PolynomialGain_B'.\n"
132213  " Possible C/C++ prototypes are:\n"
132214  " AnimatSim::Gains::PolynomialGain::B()\n"
132215  " AnimatSim::Gains::PolynomialGain::B(float)\n");
132216  return 0;
132217 }
132218 
132219 
132220 SWIGINTERN PyObject *_wrap_PolynomialGain_C__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132221  PyObject *resultobj = 0;
132223  void *argp1 = 0 ;
132224  int res1 = 0 ;
132225  PyObject * obj0 = 0 ;
132226  float result;
132227 
132228  if (!PyArg_ParseTuple(args,(char *)"O:PolynomialGain_C",&obj0)) SWIG_fail;
132229  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
132230  if (!SWIG_IsOK(res1)) {
132231  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_C" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
132232  }
132233  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
132234  {
132235  try {
132236  result = (float)(arg1)->C();
132237  }
132238  catch(CStdErrorInfo oError)
132239  {
132240  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132241  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132242  PyErr_SetString(PyExc_IndexError, strError.c_str());
132243  SWIG_fail;
132244  }
132245  catch(...)
132246  {
132247  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132248  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132249  SWIG_fail;
132250  }
132251  }
132252  resultobj = SWIG_From_float(static_cast< float >(result));
132253  return resultobj;
132254 fail:
132255  return NULL;
132256 }
132257 
132258 
132259 SWIGINTERN PyObject *_wrap_PolynomialGain_C__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132260  PyObject *resultobj = 0;
132262  float arg2 ;
132263  void *argp1 = 0 ;
132264  int res1 = 0 ;
132265  float val2 ;
132266  int ecode2 = 0 ;
132267  PyObject * obj0 = 0 ;
132268  PyObject * obj1 = 0 ;
132269 
132270  if (!PyArg_ParseTuple(args,(char *)"OO:PolynomialGain_C",&obj0,&obj1)) SWIG_fail;
132271  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
132272  if (!SWIG_IsOK(res1)) {
132273  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_C" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
132274  }
132275  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
132276  ecode2 = SWIG_AsVal_float(obj1, &val2);
132277  if (!SWIG_IsOK(ecode2)) {
132278  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PolynomialGain_C" "', argument " "2"" of type '" "float""'");
132279  }
132280  arg2 = static_cast< float >(val2);
132281  {
132282  try {
132283  (arg1)->C(arg2);
132284  }
132285  catch(CStdErrorInfo oError)
132286  {
132287  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132288  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132289  PyErr_SetString(PyExc_IndexError, strError.c_str());
132290  SWIG_fail;
132291  }
132292  catch(...)
132293  {
132294  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132295  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132296  SWIG_fail;
132297  }
132298  }
132299  resultobj = SWIG_Py_Void();
132300  return resultobj;
132301 fail:
132302  return NULL;
132303 }
132304 
132305 
132306 SWIGINTERN PyObject *_wrap_PolynomialGain_C(PyObject *self, PyObject *args) {
132307  int argc;
132308  PyObject *argv[3];
132309  int ii;
132310 
132311  if (!PyTuple_Check(args)) SWIG_fail;
132312  argc = args ? (int)PyObject_Length(args) : 0;
132313  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
132314  argv[ii] = PyTuple_GET_ITEM(args,ii);
132315  }
132316  if (argc == 1) {
132317  int _v;
132318  void *vptr = 0;
132319  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0);
132320  _v = SWIG_CheckState(res);
132321  if (_v) {
132322  return _wrap_PolynomialGain_C__SWIG_0(self, args);
132323  }
132324  }
132325  if (argc == 2) {
132326  int _v;
132327  void *vptr = 0;
132328  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0);
132329  _v = SWIG_CheckState(res);
132330  if (_v) {
132331  {
132332  int res = SWIG_AsVal_float(argv[1], NULL);
132333  _v = SWIG_CheckState(res);
132334  }
132335  if (_v) {
132336  return _wrap_PolynomialGain_C__SWIG_1(self, args);
132337  }
132338  }
132339  }
132340 
132341 fail:
132342  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PolynomialGain_C'.\n"
132343  " Possible C/C++ prototypes are:\n"
132344  " AnimatSim::Gains::PolynomialGain::C()\n"
132345  " AnimatSim::Gains::PolynomialGain::C(float)\n");
132346  return 0;
132347 }
132348 
132349 
132350 SWIGINTERN PyObject *_wrap_PolynomialGain_D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132351  PyObject *resultobj = 0;
132353  void *argp1 = 0 ;
132354  int res1 = 0 ;
132355  PyObject * obj0 = 0 ;
132356  float result;
132357 
132358  if (!PyArg_ParseTuple(args,(char *)"O:PolynomialGain_D",&obj0)) SWIG_fail;
132359  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
132360  if (!SWIG_IsOK(res1)) {
132361  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_D" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
132362  }
132363  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
132364  {
132365  try {
132366  result = (float)(arg1)->D();
132367  }
132368  catch(CStdErrorInfo oError)
132369  {
132370  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132371  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132372  PyErr_SetString(PyExc_IndexError, strError.c_str());
132373  SWIG_fail;
132374  }
132375  catch(...)
132376  {
132377  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132378  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132379  SWIG_fail;
132380  }
132381  }
132382  resultobj = SWIG_From_float(static_cast< float >(result));
132383  return resultobj;
132384 fail:
132385  return NULL;
132386 }
132387 
132388 
132389 SWIGINTERN PyObject *_wrap_PolynomialGain_D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132390  PyObject *resultobj = 0;
132392  float arg2 ;
132393  void *argp1 = 0 ;
132394  int res1 = 0 ;
132395  float val2 ;
132396  int ecode2 = 0 ;
132397  PyObject * obj0 = 0 ;
132398  PyObject * obj1 = 0 ;
132399 
132400  if (!PyArg_ParseTuple(args,(char *)"OO:PolynomialGain_D",&obj0,&obj1)) SWIG_fail;
132401  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
132402  if (!SWIG_IsOK(res1)) {
132403  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_D" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
132404  }
132405  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
132406  ecode2 = SWIG_AsVal_float(obj1, &val2);
132407  if (!SWIG_IsOK(ecode2)) {
132408  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PolynomialGain_D" "', argument " "2"" of type '" "float""'");
132409  }
132410  arg2 = static_cast< float >(val2);
132411  {
132412  try {
132413  (arg1)->D(arg2);
132414  }
132415  catch(CStdErrorInfo oError)
132416  {
132417  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132418  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132419  PyErr_SetString(PyExc_IndexError, strError.c_str());
132420  SWIG_fail;
132421  }
132422  catch(...)
132423  {
132424  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132425  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132426  SWIG_fail;
132427  }
132428  }
132429  resultobj = SWIG_Py_Void();
132430  return resultobj;
132431 fail:
132432  return NULL;
132433 }
132434 
132435 
132436 SWIGINTERN PyObject *_wrap_PolynomialGain_D(PyObject *self, PyObject *args) {
132437  int argc;
132438  PyObject *argv[3];
132439  int ii;
132440 
132441  if (!PyTuple_Check(args)) SWIG_fail;
132442  argc = args ? (int)PyObject_Length(args) : 0;
132443  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
132444  argv[ii] = PyTuple_GET_ITEM(args,ii);
132445  }
132446  if (argc == 1) {
132447  int _v;
132448  void *vptr = 0;
132449  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0);
132450  _v = SWIG_CheckState(res);
132451  if (_v) {
132452  return _wrap_PolynomialGain_D__SWIG_0(self, args);
132453  }
132454  }
132455  if (argc == 2) {
132456  int _v;
132457  void *vptr = 0;
132458  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0);
132459  _v = SWIG_CheckState(res);
132460  if (_v) {
132461  {
132462  int res = SWIG_AsVal_float(argv[1], NULL);
132463  _v = SWIG_CheckState(res);
132464  }
132465  if (_v) {
132466  return _wrap_PolynomialGain_D__SWIG_1(self, args);
132467  }
132468  }
132469  }
132470 
132471 fail:
132472  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PolynomialGain_D'.\n"
132473  " Possible C/C++ prototypes are:\n"
132474  " AnimatSim::Gains::PolynomialGain::D()\n"
132475  " AnimatSim::Gains::PolynomialGain::D(float)\n");
132476  return 0;
132477 }
132478 
132479 
132480 SWIGINTERN PyObject *_wrap_PolynomialGain_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132481  PyObject *resultobj = 0;
132483  CStdSerialize *arg2 = (CStdSerialize *) 0 ;
132484  void *argp1 = 0 ;
132485  int res1 = 0 ;
132486  void *argp2 = 0 ;
132487  int res2 = 0 ;
132488  PyObject * obj0 = 0 ;
132489  PyObject * obj1 = 0 ;
132490 
132491  if (!PyArg_ParseTuple(args,(char *)"OO:PolynomialGain_Copy",&obj0,&obj1)) SWIG_fail;
132492  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
132493  if (!SWIG_IsOK(res1)) {
132494  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_Copy" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
132495  }
132496  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
132497  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
132498  if (!SWIG_IsOK(res2)) {
132499  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PolynomialGain_Copy" "', argument " "2"" of type '" "CStdSerialize *""'");
132500  }
132501  arg2 = reinterpret_cast< CStdSerialize * >(argp2);
132502  {
132503  try {
132504  (arg1)->Copy(arg2);
132505  }
132506  catch(CStdErrorInfo oError)
132507  {
132508  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132509  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132510  PyErr_SetString(PyExc_IndexError, strError.c_str());
132511  SWIG_fail;
132512  }
132513  catch(...)
132514  {
132515  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132516  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132517  SWIG_fail;
132518  }
132519  }
132520  resultobj = SWIG_Py_Void();
132521  return resultobj;
132522 fail:
132523  return NULL;
132524 }
132525 
132526 
132527 SWIGINTERN PyObject *_wrap_PolynomialGain_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132528  PyObject *resultobj = 0;
132530  void *argp1 = 0 ;
132531  int res1 = 0 ;
132532  PyObject * obj0 = 0 ;
132533  CStdSerialize *result = 0 ;
132534 
132535  if (!PyArg_ParseTuple(args,(char *)"O:PolynomialGain_Clone",&obj0)) SWIG_fail;
132536  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
132537  if (!SWIG_IsOK(res1)) {
132538  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_Clone" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
132539  }
132540  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
132541  {
132542  try {
132543  result = (CStdSerialize *)(arg1)->Clone();
132544  }
132545  catch(CStdErrorInfo oError)
132546  {
132547  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132548  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132549  PyErr_SetString(PyExc_IndexError, strError.c_str());
132550  SWIG_fail;
132551  }
132552  catch(...)
132553  {
132554  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132555  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132556  SWIG_fail;
132557  }
132558  }
132559  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
132560  return resultobj;
132561 fail:
132562  return NULL;
132563 }
132564 
132565 
132566 SWIGINTERN PyObject *_wrap_PolynomialGain_CalculateGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132567  PyObject *resultobj = 0;
132569  float arg2 ;
132570  void *argp1 = 0 ;
132571  int res1 = 0 ;
132572  float val2 ;
132573  int ecode2 = 0 ;
132574  PyObject * obj0 = 0 ;
132575  PyObject * obj1 = 0 ;
132576  float result;
132577 
132578  if (!PyArg_ParseTuple(args,(char *)"OO:PolynomialGain_CalculateGain",&obj0,&obj1)) SWIG_fail;
132579  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
132580  if (!SWIG_IsOK(res1)) {
132581  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_CalculateGain" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
132582  }
132583  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
132584  ecode2 = SWIG_AsVal_float(obj1, &val2);
132585  if (!SWIG_IsOK(ecode2)) {
132586  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PolynomialGain_CalculateGain" "', argument " "2"" of type '" "float""'");
132587  }
132588  arg2 = static_cast< float >(val2);
132589  {
132590  try {
132591  result = (float)(arg1)->CalculateGain(arg2);
132592  }
132593  catch(CStdErrorInfo oError)
132594  {
132595  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132596  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132597  PyErr_SetString(PyExc_IndexError, strError.c_str());
132598  SWIG_fail;
132599  }
132600  catch(...)
132601  {
132602  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132603  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132604  SWIG_fail;
132605  }
132606  }
132607  resultobj = SWIG_From_float(static_cast< float >(result));
132608  return resultobj;
132609 fail:
132610  return NULL;
132611 }
132612 
132613 
132614 SWIGINTERN PyObject *_wrap_PolynomialGain_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132615  PyObject *resultobj = 0;
132617  std::string *arg2 = 0 ;
132618  std::string *arg3 = 0 ;
132619  bool arg4 ;
132620  void *argp1 = 0 ;
132621  int res1 = 0 ;
132622  int res2 = SWIG_OLDOBJ ;
132623  int res3 = SWIG_OLDOBJ ;
132624  bool val4 ;
132625  int ecode4 = 0 ;
132626  PyObject * obj0 = 0 ;
132627  PyObject * obj1 = 0 ;
132628  PyObject * obj2 = 0 ;
132629  PyObject * obj3 = 0 ;
132630  bool result;
132631 
132632  if (!PyArg_ParseTuple(args,(char *)"OOOO:PolynomialGain_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
132633  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
132634  if (!SWIG_IsOK(res1)) {
132635  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_SetData" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
132636  }
132637  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
132638  {
132639  std::string *ptr = (std::string *)0;
132640  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
132641  if (!SWIG_IsOK(res2)) {
132642  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PolynomialGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
132643  }
132644  if (!ptr) {
132645  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PolynomialGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
132646  }
132647  arg2 = ptr;
132648  }
132649  {
132650  std::string *ptr = (std::string *)0;
132651  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
132652  if (!SWIG_IsOK(res3)) {
132653  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PolynomialGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
132654  }
132655  if (!ptr) {
132656  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PolynomialGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
132657  }
132658  arg3 = ptr;
132659  }
132660  ecode4 = SWIG_AsVal_bool(obj3, &val4);
132661  if (!SWIG_IsOK(ecode4)) {
132662  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PolynomialGain_SetData" "', argument " "4"" of type '" "bool""'");
132663  }
132664  arg4 = static_cast< bool >(val4);
132665  {
132666  try {
132667  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
132668  }
132669  catch(CStdErrorInfo oError)
132670  {
132671  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132672  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132673  PyErr_SetString(PyExc_IndexError, strError.c_str());
132674  SWIG_fail;
132675  }
132676  catch(...)
132677  {
132678  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132679  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132680  SWIG_fail;
132681  }
132682  }
132683  resultobj = SWIG_From_bool(static_cast< bool >(result));
132684  if (SWIG_IsNewObj(res2)) delete arg2;
132685  if (SWIG_IsNewObj(res3)) delete arg3;
132686  return resultobj;
132687 fail:
132688  if (SWIG_IsNewObj(res2)) delete arg2;
132689  if (SWIG_IsNewObj(res3)) delete arg3;
132690  return NULL;
132691 }
132692 
132693 
132694 SWIGINTERN PyObject *_wrap_PolynomialGain_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132695  PyObject *resultobj = 0;
132697  std::string *arg2 = 0 ;
132698  std::string *arg3 = 0 ;
132699  void *argp1 = 0 ;
132700  int res1 = 0 ;
132701  int res2 = SWIG_OLDOBJ ;
132702  int res3 = SWIG_OLDOBJ ;
132703  PyObject * obj0 = 0 ;
132704  PyObject * obj1 = 0 ;
132705  PyObject * obj2 = 0 ;
132706  bool result;
132707 
132708  if (!PyArg_ParseTuple(args,(char *)"OOO:PolynomialGain_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
132709  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
132710  if (!SWIG_IsOK(res1)) {
132711  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_SetData" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
132712  }
132713  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
132714  {
132715  std::string *ptr = (std::string *)0;
132716  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
132717  if (!SWIG_IsOK(res2)) {
132718  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PolynomialGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
132719  }
132720  if (!ptr) {
132721  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PolynomialGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
132722  }
132723  arg2 = ptr;
132724  }
132725  {
132726  std::string *ptr = (std::string *)0;
132727  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
132728  if (!SWIG_IsOK(res3)) {
132729  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PolynomialGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
132730  }
132731  if (!ptr) {
132732  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PolynomialGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
132733  }
132734  arg3 = ptr;
132735  }
132736  {
132737  try {
132738  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
132739  }
132740  catch(CStdErrorInfo oError)
132741  {
132742  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132743  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132744  PyErr_SetString(PyExc_IndexError, strError.c_str());
132745  SWIG_fail;
132746  }
132747  catch(...)
132748  {
132749  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132750  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132751  SWIG_fail;
132752  }
132753  }
132754  resultobj = SWIG_From_bool(static_cast< bool >(result));
132755  if (SWIG_IsNewObj(res2)) delete arg2;
132756  if (SWIG_IsNewObj(res3)) delete arg3;
132757  return resultobj;
132758 fail:
132759  if (SWIG_IsNewObj(res2)) delete arg2;
132760  if (SWIG_IsNewObj(res3)) delete arg3;
132761  return NULL;
132762 }
132763 
132764 
132765 SWIGINTERN PyObject *_wrap_PolynomialGain_SetData(PyObject *self, PyObject *args) {
132766  int argc;
132767  PyObject *argv[5];
132768  int ii;
132769 
132770  if (!PyTuple_Check(args)) SWIG_fail;
132771  argc = args ? (int)PyObject_Length(args) : 0;
132772  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
132773  argv[ii] = PyTuple_GET_ITEM(args,ii);
132774  }
132775  if (argc == 3) {
132776  int _v;
132777  void *vptr = 0;
132778  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0);
132779  _v = SWIG_CheckState(res);
132780  if (_v) {
132781  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
132782  _v = SWIG_CheckState(res);
132783  if (_v) {
132784  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
132785  _v = SWIG_CheckState(res);
132786  if (_v) {
132787  return _wrap_PolynomialGain_SetData__SWIG_1(self, args);
132788  }
132789  }
132790  }
132791  }
132792  if (argc == 4) {
132793  int _v;
132794  void *vptr = 0;
132795  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0);
132796  _v = SWIG_CheckState(res);
132797  if (_v) {
132798  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
132799  _v = SWIG_CheckState(res);
132800  if (_v) {
132801  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
132802  _v = SWIG_CheckState(res);
132803  if (_v) {
132804  {
132805  int res = SWIG_AsVal_bool(argv[3], NULL);
132806  _v = SWIG_CheckState(res);
132807  }
132808  if (_v) {
132809  return _wrap_PolynomialGain_SetData__SWIG_0(self, args);
132810  }
132811  }
132812  }
132813  }
132814  }
132815 
132816 fail:
132817  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PolynomialGain_SetData'.\n"
132818  " Possible C/C++ prototypes are:\n"
132819  " AnimatSim::Gains::PolynomialGain::SetData(std::string const &,std::string const &,bool)\n"
132820  " AnimatSim::Gains::PolynomialGain::SetData(std::string const &,std::string const &)\n");
132821  return 0;
132822 }
132823 
132824 
132825 SWIGINTERN PyObject *_wrap_PolynomialGain_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132826  PyObject *resultobj = 0;
132828  CStdPtrArray< TypeProperty > *arg2 = 0 ;
132829  void *argp1 = 0 ;
132830  int res1 = 0 ;
132831  void *argp2 = 0 ;
132832  int res2 = 0 ;
132833  PyObject * obj0 = 0 ;
132834  PyObject * obj1 = 0 ;
132835 
132836  if (!PyArg_ParseTuple(args,(char *)"OO:PolynomialGain_QueryProperties",&obj0,&obj1)) SWIG_fail;
132837  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
132838  if (!SWIG_IsOK(res1)) {
132839  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
132840  }
132841  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
132842  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
132843  if (!SWIG_IsOK(res2)) {
132844  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PolynomialGain_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
132845  }
132846  if (!argp2) {
132847  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PolynomialGain_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
132848  }
132849  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
132850  {
132851  try {
132852  (arg1)->QueryProperties(*arg2);
132853  }
132854  catch(CStdErrorInfo oError)
132855  {
132856  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132857  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132858  PyErr_SetString(PyExc_IndexError, strError.c_str());
132859  SWIG_fail;
132860  }
132861  catch(...)
132862  {
132863  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132864  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132865  SWIG_fail;
132866  }
132867  }
132868  resultobj = SWIG_Py_Void();
132869  return resultobj;
132870 fail:
132871  return NULL;
132872 }
132873 
132874 
132875 SWIGINTERN PyObject *_wrap_PolynomialGain_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132876  PyObject *resultobj = 0;
132878  CStdXml *arg2 = 0 ;
132879  void *argp1 = 0 ;
132880  int res1 = 0 ;
132881  void *argp2 = 0 ;
132882  int res2 = 0 ;
132883  PyObject * obj0 = 0 ;
132884  PyObject * obj1 = 0 ;
132885 
132886  if (!PyArg_ParseTuple(args,(char *)"OO:PolynomialGain_Load",&obj0,&obj1)) SWIG_fail;
132887  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, 0 | 0 );
132888  if (!SWIG_IsOK(res1)) {
132889  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolynomialGain_Load" "', argument " "1"" of type '" "AnimatSim::Gains::PolynomialGain *""'");
132890  }
132891  arg1 = reinterpret_cast< AnimatSim::Gains::PolynomialGain * >(argp1);
132892  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
132893  if (!SWIG_IsOK(res2)) {
132894  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PolynomialGain_Load" "', argument " "2"" of type '" "CStdXml &""'");
132895  }
132896  if (!argp2) {
132897  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PolynomialGain_Load" "', argument " "2"" of type '" "CStdXml &""'");
132898  }
132899  arg2 = reinterpret_cast< CStdXml * >(argp2);
132900  {
132901  try {
132902  (arg1)->Load(*arg2);
132903  }
132904  catch(CStdErrorInfo oError)
132905  {
132906  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132907  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132908  PyErr_SetString(PyExc_IndexError, strError.c_str());
132909  SWIG_fail;
132910  }
132911  catch(...)
132912  {
132913  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132914  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132915  SWIG_fail;
132916  }
132917  }
132918  resultobj = SWIG_Py_Void();
132919  return resultobj;
132920 fail:
132921  return NULL;
132922 }
132923 
132924 
132925 SWIGINTERN PyObject *PolynomialGain_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132926  PyObject *obj;
132927  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
132928  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Gains__PolynomialGain, SWIG_NewClientData(obj));
132929  return SWIG_Py_Void();
132930 }
132931 
132932 SWIGINTERN PyObject *_wrap_new_SigmoidGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132933  PyObject *resultobj = 0;
132934  AnimatSim::Gains::SigmoidGain *result = 0 ;
132935 
132936  if (!PyArg_ParseTuple(args,(char *)":new_SigmoidGain")) SWIG_fail;
132937  {
132938  try {
132940  }
132941  catch(CStdErrorInfo oError)
132942  {
132943  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132944  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132945  PyErr_SetString(PyExc_IndexError, strError.c_str());
132946  SWIG_fail;
132947  }
132948  catch(...)
132949  {
132950  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132951  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132952  SWIG_fail;
132953  }
132954  }
132955  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, SWIG_POINTER_NEW | 0 );
132956  return resultobj;
132957 fail:
132958  return NULL;
132959 }
132960 
132961 
132962 SWIGINTERN PyObject *_wrap_delete_SigmoidGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
132963  PyObject *resultobj = 0;
132965  void *argp1 = 0 ;
132966  int res1 = 0 ;
132967  PyObject * obj0 = 0 ;
132968 
132969  if (!PyArg_ParseTuple(args,(char *)"O:delete_SigmoidGain",&obj0)) SWIG_fail;
132970  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, SWIG_POINTER_DISOWN | 0 );
132971  if (!SWIG_IsOK(res1)) {
132972  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SigmoidGain" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
132973  }
132974  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
132975  {
132976  try {
132977  delete arg1;
132978  }
132979  catch(CStdErrorInfo oError)
132980  {
132981  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132982  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
132983  PyErr_SetString(PyExc_IndexError, strError.c_str());
132984  SWIG_fail;
132985  }
132986  catch(...)
132987  {
132988  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
132989  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
132990  SWIG_fail;
132991  }
132992  }
132993  resultobj = SWIG_Py_Void();
132994  return resultobj;
132995 fail:
132996  return NULL;
132997 }
132998 
132999 
133000 SWIGINTERN PyObject *_wrap_SigmoidGain_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133001  PyObject *resultobj = 0;
133003  void *argp1 = 0 ;
133004  int res1 = 0 ;
133005  PyObject * obj0 = 0 ;
133006  AnimatSim::Gains::SigmoidGain *result = 0 ;
133007 
133008  if (!PyArg_ParseTuple(args,(char *)"O:SigmoidGain_CastToDerived",&obj0)) SWIG_fail;
133009  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
133010  if (!SWIG_IsOK(res1)) {
133011  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
133012  }
133013  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
133014  {
133015  try {
133016  result = (AnimatSim::Gains::SigmoidGain *)AnimatSim::Gains::SigmoidGain::CastToDerived(arg1);
133017  }
133018  catch(CStdErrorInfo oError)
133019  {
133020  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133021  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133022  PyErr_SetString(PyExc_IndexError, strError.c_str());
133023  SWIG_fail;
133024  }
133025  catch(...)
133026  {
133027  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133028  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133029  SWIG_fail;
133030  }
133031  }
133032  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133033  return resultobj;
133034 fail:
133035  return NULL;
133036 }
133037 
133038 
133039 SWIGINTERN PyObject *_wrap_SigmoidGain_A__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133040  PyObject *resultobj = 0;
133042  void *argp1 = 0 ;
133043  int res1 = 0 ;
133044  PyObject * obj0 = 0 ;
133045  float result;
133046 
133047  if (!PyArg_ParseTuple(args,(char *)"O:SigmoidGain_A",&obj0)) SWIG_fail;
133048  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133049  if (!SWIG_IsOK(res1)) {
133050  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_A" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
133051  }
133052  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
133053  {
133054  try {
133055  result = (float)(arg1)->A();
133056  }
133057  catch(CStdErrorInfo oError)
133058  {
133059  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133060  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133061  PyErr_SetString(PyExc_IndexError, strError.c_str());
133062  SWIG_fail;
133063  }
133064  catch(...)
133065  {
133066  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133067  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133068  SWIG_fail;
133069  }
133070  }
133071  resultobj = SWIG_From_float(static_cast< float >(result));
133072  return resultobj;
133073 fail:
133074  return NULL;
133075 }
133076 
133077 
133078 SWIGINTERN PyObject *_wrap_SigmoidGain_A__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133079  PyObject *resultobj = 0;
133081  float arg2 ;
133082  void *argp1 = 0 ;
133083  int res1 = 0 ;
133084  float val2 ;
133085  int ecode2 = 0 ;
133086  PyObject * obj0 = 0 ;
133087  PyObject * obj1 = 0 ;
133088 
133089  if (!PyArg_ParseTuple(args,(char *)"OO:SigmoidGain_A",&obj0,&obj1)) SWIG_fail;
133090  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133091  if (!SWIG_IsOK(res1)) {
133092  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_A" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
133093  }
133094  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
133095  ecode2 = SWIG_AsVal_float(obj1, &val2);
133096  if (!SWIG_IsOK(ecode2)) {
133097  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SigmoidGain_A" "', argument " "2"" of type '" "float""'");
133098  }
133099  arg2 = static_cast< float >(val2);
133100  {
133101  try {
133102  (arg1)->A(arg2);
133103  }
133104  catch(CStdErrorInfo oError)
133105  {
133106  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133107  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133108  PyErr_SetString(PyExc_IndexError, strError.c_str());
133109  SWIG_fail;
133110  }
133111  catch(...)
133112  {
133113  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133114  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133115  SWIG_fail;
133116  }
133117  }
133118  resultobj = SWIG_Py_Void();
133119  return resultobj;
133120 fail:
133121  return NULL;
133122 }
133123 
133124 
133125 SWIGINTERN PyObject *_wrap_SigmoidGain_A(PyObject *self, PyObject *args) {
133126  int argc;
133127  PyObject *argv[3];
133128  int ii;
133129 
133130  if (!PyTuple_Check(args)) SWIG_fail;
133131  argc = args ? (int)PyObject_Length(args) : 0;
133132  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
133133  argv[ii] = PyTuple_GET_ITEM(args,ii);
133134  }
133135  if (argc == 1) {
133136  int _v;
133137  void *vptr = 0;
133138  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0);
133139  _v = SWIG_CheckState(res);
133140  if (_v) {
133141  return _wrap_SigmoidGain_A__SWIG_0(self, args);
133142  }
133143  }
133144  if (argc == 2) {
133145  int _v;
133146  void *vptr = 0;
133147  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0);
133148  _v = SWIG_CheckState(res);
133149  if (_v) {
133150  {
133151  int res = SWIG_AsVal_float(argv[1], NULL);
133152  _v = SWIG_CheckState(res);
133153  }
133154  if (_v) {
133155  return _wrap_SigmoidGain_A__SWIG_1(self, args);
133156  }
133157  }
133158  }
133159 
133160 fail:
133161  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SigmoidGain_A'.\n"
133162  " Possible C/C++ prototypes are:\n"
133163  " AnimatSim::Gains::SigmoidGain::A()\n"
133164  " AnimatSim::Gains::SigmoidGain::A(float)\n");
133165  return 0;
133166 }
133167 
133168 
133169 SWIGINTERN PyObject *_wrap_SigmoidGain_B__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133170  PyObject *resultobj = 0;
133172  void *argp1 = 0 ;
133173  int res1 = 0 ;
133174  PyObject * obj0 = 0 ;
133175  float result;
133176 
133177  if (!PyArg_ParseTuple(args,(char *)"O:SigmoidGain_B",&obj0)) SWIG_fail;
133178  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133179  if (!SWIG_IsOK(res1)) {
133180  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_B" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
133181  }
133182  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
133183  {
133184  try {
133185  result = (float)(arg1)->B();
133186  }
133187  catch(CStdErrorInfo oError)
133188  {
133189  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133190  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133191  PyErr_SetString(PyExc_IndexError, strError.c_str());
133192  SWIG_fail;
133193  }
133194  catch(...)
133195  {
133196  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133197  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133198  SWIG_fail;
133199  }
133200  }
133201  resultobj = SWIG_From_float(static_cast< float >(result));
133202  return resultobj;
133203 fail:
133204  return NULL;
133205 }
133206 
133207 
133208 SWIGINTERN PyObject *_wrap_SigmoidGain_B__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133209  PyObject *resultobj = 0;
133211  float arg2 ;
133212  void *argp1 = 0 ;
133213  int res1 = 0 ;
133214  float val2 ;
133215  int ecode2 = 0 ;
133216  PyObject * obj0 = 0 ;
133217  PyObject * obj1 = 0 ;
133218 
133219  if (!PyArg_ParseTuple(args,(char *)"OO:SigmoidGain_B",&obj0,&obj1)) SWIG_fail;
133220  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133221  if (!SWIG_IsOK(res1)) {
133222  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_B" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
133223  }
133224  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
133225  ecode2 = SWIG_AsVal_float(obj1, &val2);
133226  if (!SWIG_IsOK(ecode2)) {
133227  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SigmoidGain_B" "', argument " "2"" of type '" "float""'");
133228  }
133229  arg2 = static_cast< float >(val2);
133230  {
133231  try {
133232  (arg1)->B(arg2);
133233  }
133234  catch(CStdErrorInfo oError)
133235  {
133236  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133237  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133238  PyErr_SetString(PyExc_IndexError, strError.c_str());
133239  SWIG_fail;
133240  }
133241  catch(...)
133242  {
133243  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133244  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133245  SWIG_fail;
133246  }
133247  }
133248  resultobj = SWIG_Py_Void();
133249  return resultobj;
133250 fail:
133251  return NULL;
133252 }
133253 
133254 
133255 SWIGINTERN PyObject *_wrap_SigmoidGain_B(PyObject *self, PyObject *args) {
133256  int argc;
133257  PyObject *argv[3];
133258  int ii;
133259 
133260  if (!PyTuple_Check(args)) SWIG_fail;
133261  argc = args ? (int)PyObject_Length(args) : 0;
133262  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
133263  argv[ii] = PyTuple_GET_ITEM(args,ii);
133264  }
133265  if (argc == 1) {
133266  int _v;
133267  void *vptr = 0;
133268  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0);
133269  _v = SWIG_CheckState(res);
133270  if (_v) {
133271  return _wrap_SigmoidGain_B__SWIG_0(self, args);
133272  }
133273  }
133274  if (argc == 2) {
133275  int _v;
133276  void *vptr = 0;
133277  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0);
133278  _v = SWIG_CheckState(res);
133279  if (_v) {
133280  {
133281  int res = SWIG_AsVal_float(argv[1], NULL);
133282  _v = SWIG_CheckState(res);
133283  }
133284  if (_v) {
133285  return _wrap_SigmoidGain_B__SWIG_1(self, args);
133286  }
133287  }
133288  }
133289 
133290 fail:
133291  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SigmoidGain_B'.\n"
133292  " Possible C/C++ prototypes are:\n"
133293  " AnimatSim::Gains::SigmoidGain::B()\n"
133294  " AnimatSim::Gains::SigmoidGain::B(float)\n");
133295  return 0;
133296 }
133297 
133298 
133299 SWIGINTERN PyObject *_wrap_SigmoidGain_C__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133300  PyObject *resultobj = 0;
133302  void *argp1 = 0 ;
133303  int res1 = 0 ;
133304  PyObject * obj0 = 0 ;
133305  float result;
133306 
133307  if (!PyArg_ParseTuple(args,(char *)"O:SigmoidGain_C",&obj0)) SWIG_fail;
133308  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133309  if (!SWIG_IsOK(res1)) {
133310  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_C" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
133311  }
133312  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
133313  {
133314  try {
133315  result = (float)(arg1)->C();
133316  }
133317  catch(CStdErrorInfo oError)
133318  {
133319  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133320  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133321  PyErr_SetString(PyExc_IndexError, strError.c_str());
133322  SWIG_fail;
133323  }
133324  catch(...)
133325  {
133326  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133327  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133328  SWIG_fail;
133329  }
133330  }
133331  resultobj = SWIG_From_float(static_cast< float >(result));
133332  return resultobj;
133333 fail:
133334  return NULL;
133335 }
133336 
133337 
133338 SWIGINTERN PyObject *_wrap_SigmoidGain_C__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133339  PyObject *resultobj = 0;
133341  float arg2 ;
133342  void *argp1 = 0 ;
133343  int res1 = 0 ;
133344  float val2 ;
133345  int ecode2 = 0 ;
133346  PyObject * obj0 = 0 ;
133347  PyObject * obj1 = 0 ;
133348 
133349  if (!PyArg_ParseTuple(args,(char *)"OO:SigmoidGain_C",&obj0,&obj1)) SWIG_fail;
133350  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133351  if (!SWIG_IsOK(res1)) {
133352  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_C" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
133353  }
133354  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
133355  ecode2 = SWIG_AsVal_float(obj1, &val2);
133356  if (!SWIG_IsOK(ecode2)) {
133357  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SigmoidGain_C" "', argument " "2"" of type '" "float""'");
133358  }
133359  arg2 = static_cast< float >(val2);
133360  {
133361  try {
133362  (arg1)->C(arg2);
133363  }
133364  catch(CStdErrorInfo oError)
133365  {
133366  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133367  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133368  PyErr_SetString(PyExc_IndexError, strError.c_str());
133369  SWIG_fail;
133370  }
133371  catch(...)
133372  {
133373  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133374  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133375  SWIG_fail;
133376  }
133377  }
133378  resultobj = SWIG_Py_Void();
133379  return resultobj;
133380 fail:
133381  return NULL;
133382 }
133383 
133384 
133385 SWIGINTERN PyObject *_wrap_SigmoidGain_C(PyObject *self, PyObject *args) {
133386  int argc;
133387  PyObject *argv[3];
133388  int ii;
133389 
133390  if (!PyTuple_Check(args)) SWIG_fail;
133391  argc = args ? (int)PyObject_Length(args) : 0;
133392  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
133393  argv[ii] = PyTuple_GET_ITEM(args,ii);
133394  }
133395  if (argc == 1) {
133396  int _v;
133397  void *vptr = 0;
133398  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0);
133399  _v = SWIG_CheckState(res);
133400  if (_v) {
133401  return _wrap_SigmoidGain_C__SWIG_0(self, args);
133402  }
133403  }
133404  if (argc == 2) {
133405  int _v;
133406  void *vptr = 0;
133407  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0);
133408  _v = SWIG_CheckState(res);
133409  if (_v) {
133410  {
133411  int res = SWIG_AsVal_float(argv[1], NULL);
133412  _v = SWIG_CheckState(res);
133413  }
133414  if (_v) {
133415  return _wrap_SigmoidGain_C__SWIG_1(self, args);
133416  }
133417  }
133418  }
133419 
133420 fail:
133421  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SigmoidGain_C'.\n"
133422  " Possible C/C++ prototypes are:\n"
133423  " AnimatSim::Gains::SigmoidGain::C()\n"
133424  " AnimatSim::Gains::SigmoidGain::C(float)\n");
133425  return 0;
133426 }
133427 
133428 
133429 SWIGINTERN PyObject *_wrap_SigmoidGain_D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133430  PyObject *resultobj = 0;
133432  void *argp1 = 0 ;
133433  int res1 = 0 ;
133434  PyObject * obj0 = 0 ;
133435  float result;
133436 
133437  if (!PyArg_ParseTuple(args,(char *)"O:SigmoidGain_D",&obj0)) SWIG_fail;
133438  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133439  if (!SWIG_IsOK(res1)) {
133440  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_D" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
133441  }
133442  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
133443  {
133444  try {
133445  result = (float)(arg1)->D();
133446  }
133447  catch(CStdErrorInfo oError)
133448  {
133449  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133450  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133451  PyErr_SetString(PyExc_IndexError, strError.c_str());
133452  SWIG_fail;
133453  }
133454  catch(...)
133455  {
133456  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133457  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133458  SWIG_fail;
133459  }
133460  }
133461  resultobj = SWIG_From_float(static_cast< float >(result));
133462  return resultobj;
133463 fail:
133464  return NULL;
133465 }
133466 
133467 
133468 SWIGINTERN PyObject *_wrap_SigmoidGain_D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133469  PyObject *resultobj = 0;
133471  float arg2 ;
133472  void *argp1 = 0 ;
133473  int res1 = 0 ;
133474  float val2 ;
133475  int ecode2 = 0 ;
133476  PyObject * obj0 = 0 ;
133477  PyObject * obj1 = 0 ;
133478 
133479  if (!PyArg_ParseTuple(args,(char *)"OO:SigmoidGain_D",&obj0,&obj1)) SWIG_fail;
133480  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133481  if (!SWIG_IsOK(res1)) {
133482  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_D" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
133483  }
133484  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
133485  ecode2 = SWIG_AsVal_float(obj1, &val2);
133486  if (!SWIG_IsOK(ecode2)) {
133487  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SigmoidGain_D" "', argument " "2"" of type '" "float""'");
133488  }
133489  arg2 = static_cast< float >(val2);
133490  {
133491  try {
133492  (arg1)->D(arg2);
133493  }
133494  catch(CStdErrorInfo oError)
133495  {
133496  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133497  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133498  PyErr_SetString(PyExc_IndexError, strError.c_str());
133499  SWIG_fail;
133500  }
133501  catch(...)
133502  {
133503  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133504  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133505  SWIG_fail;
133506  }
133507  }
133508  resultobj = SWIG_Py_Void();
133509  return resultobj;
133510 fail:
133511  return NULL;
133512 }
133513 
133514 
133515 SWIGINTERN PyObject *_wrap_SigmoidGain_D(PyObject *self, PyObject *args) {
133516  int argc;
133517  PyObject *argv[3];
133518  int ii;
133519 
133520  if (!PyTuple_Check(args)) SWIG_fail;
133521  argc = args ? (int)PyObject_Length(args) : 0;
133522  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
133523  argv[ii] = PyTuple_GET_ITEM(args,ii);
133524  }
133525  if (argc == 1) {
133526  int _v;
133527  void *vptr = 0;
133528  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0);
133529  _v = SWIG_CheckState(res);
133530  if (_v) {
133531  return _wrap_SigmoidGain_D__SWIG_0(self, args);
133532  }
133533  }
133534  if (argc == 2) {
133535  int _v;
133536  void *vptr = 0;
133537  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0);
133538  _v = SWIG_CheckState(res);
133539  if (_v) {
133540  {
133541  int res = SWIG_AsVal_float(argv[1], NULL);
133542  _v = SWIG_CheckState(res);
133543  }
133544  if (_v) {
133545  return _wrap_SigmoidGain_D__SWIG_1(self, args);
133546  }
133547  }
133548  }
133549 
133550 fail:
133551  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SigmoidGain_D'.\n"
133552  " Possible C/C++ prototypes are:\n"
133553  " AnimatSim::Gains::SigmoidGain::D()\n"
133554  " AnimatSim::Gains::SigmoidGain::D(float)\n");
133555  return 0;
133556 }
133557 
133558 
133559 SWIGINTERN PyObject *_wrap_SigmoidGain_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133560  PyObject *resultobj = 0;
133562  CStdSerialize *arg2 = (CStdSerialize *) 0 ;
133563  void *argp1 = 0 ;
133564  int res1 = 0 ;
133565  void *argp2 = 0 ;
133566  int res2 = 0 ;
133567  PyObject * obj0 = 0 ;
133568  PyObject * obj1 = 0 ;
133569 
133570  if (!PyArg_ParseTuple(args,(char *)"OO:SigmoidGain_Copy",&obj0,&obj1)) SWIG_fail;
133571  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133572  if (!SWIG_IsOK(res1)) {
133573  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_Copy" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
133574  }
133575  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
133576  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
133577  if (!SWIG_IsOK(res2)) {
133578  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SigmoidGain_Copy" "', argument " "2"" of type '" "CStdSerialize *""'");
133579  }
133580  arg2 = reinterpret_cast< CStdSerialize * >(argp2);
133581  {
133582  try {
133583  (arg1)->Copy(arg2);
133584  }
133585  catch(CStdErrorInfo oError)
133586  {
133587  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133588  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133589  PyErr_SetString(PyExc_IndexError, strError.c_str());
133590  SWIG_fail;
133591  }
133592  catch(...)
133593  {
133594  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133595  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133596  SWIG_fail;
133597  }
133598  }
133599  resultobj = SWIG_Py_Void();
133600  return resultobj;
133601 fail:
133602  return NULL;
133603 }
133604 
133605 
133606 SWIGINTERN PyObject *_wrap_SigmoidGain_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133607  PyObject *resultobj = 0;
133609  void *argp1 = 0 ;
133610  int res1 = 0 ;
133611  PyObject * obj0 = 0 ;
133612  CStdSerialize *result = 0 ;
133613 
133614  if (!PyArg_ParseTuple(args,(char *)"O:SigmoidGain_Clone",&obj0)) SWIG_fail;
133615  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133616  if (!SWIG_IsOK(res1)) {
133617  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_Clone" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
133618  }
133619  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
133620  {
133621  try {
133622  result = (CStdSerialize *)(arg1)->Clone();
133623  }
133624  catch(CStdErrorInfo oError)
133625  {
133626  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133627  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133628  PyErr_SetString(PyExc_IndexError, strError.c_str());
133629  SWIG_fail;
133630  }
133631  catch(...)
133632  {
133633  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133634  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133635  SWIG_fail;
133636  }
133637  }
133638  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
133639  return resultobj;
133640 fail:
133641  return NULL;
133642 }
133643 
133644 
133645 SWIGINTERN PyObject *_wrap_SigmoidGain_CalculateGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133646  PyObject *resultobj = 0;
133648  float arg2 ;
133649  void *argp1 = 0 ;
133650  int res1 = 0 ;
133651  float val2 ;
133652  int ecode2 = 0 ;
133653  PyObject * obj0 = 0 ;
133654  PyObject * obj1 = 0 ;
133655  float result;
133656 
133657  if (!PyArg_ParseTuple(args,(char *)"OO:SigmoidGain_CalculateGain",&obj0,&obj1)) SWIG_fail;
133658  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133659  if (!SWIG_IsOK(res1)) {
133660  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_CalculateGain" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
133661  }
133662  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
133663  ecode2 = SWIG_AsVal_float(obj1, &val2);
133664  if (!SWIG_IsOK(ecode2)) {
133665  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SigmoidGain_CalculateGain" "', argument " "2"" of type '" "float""'");
133666  }
133667  arg2 = static_cast< float >(val2);
133668  {
133669  try {
133670  result = (float)(arg1)->CalculateGain(arg2);
133671  }
133672  catch(CStdErrorInfo oError)
133673  {
133674  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133675  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133676  PyErr_SetString(PyExc_IndexError, strError.c_str());
133677  SWIG_fail;
133678  }
133679  catch(...)
133680  {
133681  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133682  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133683  SWIG_fail;
133684  }
133685  }
133686  resultobj = SWIG_From_float(static_cast< float >(result));
133687  return resultobj;
133688 fail:
133689  return NULL;
133690 }
133691 
133692 
133693 SWIGINTERN PyObject *_wrap_SigmoidGain_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133694  PyObject *resultobj = 0;
133696  std::string *arg2 = 0 ;
133697  std::string *arg3 = 0 ;
133698  bool arg4 ;
133699  void *argp1 = 0 ;
133700  int res1 = 0 ;
133701  int res2 = SWIG_OLDOBJ ;
133702  int res3 = SWIG_OLDOBJ ;
133703  bool val4 ;
133704  int ecode4 = 0 ;
133705  PyObject * obj0 = 0 ;
133706  PyObject * obj1 = 0 ;
133707  PyObject * obj2 = 0 ;
133708  PyObject * obj3 = 0 ;
133709  bool result;
133710 
133711  if (!PyArg_ParseTuple(args,(char *)"OOOO:SigmoidGain_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
133712  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133713  if (!SWIG_IsOK(res1)) {
133714  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_SetData" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
133715  }
133716  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
133717  {
133718  std::string *ptr = (std::string *)0;
133719  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
133720  if (!SWIG_IsOK(res2)) {
133721  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SigmoidGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
133722  }
133723  if (!ptr) {
133724  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SigmoidGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
133725  }
133726  arg2 = ptr;
133727  }
133728  {
133729  std::string *ptr = (std::string *)0;
133730  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
133731  if (!SWIG_IsOK(res3)) {
133732  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SigmoidGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
133733  }
133734  if (!ptr) {
133735  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SigmoidGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
133736  }
133737  arg3 = ptr;
133738  }
133739  ecode4 = SWIG_AsVal_bool(obj3, &val4);
133740  if (!SWIG_IsOK(ecode4)) {
133741  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SigmoidGain_SetData" "', argument " "4"" of type '" "bool""'");
133742  }
133743  arg4 = static_cast< bool >(val4);
133744  {
133745  try {
133746  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
133747  }
133748  catch(CStdErrorInfo oError)
133749  {
133750  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133751  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133752  PyErr_SetString(PyExc_IndexError, strError.c_str());
133753  SWIG_fail;
133754  }
133755  catch(...)
133756  {
133757  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133758  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133759  SWIG_fail;
133760  }
133761  }
133762  resultobj = SWIG_From_bool(static_cast< bool >(result));
133763  if (SWIG_IsNewObj(res2)) delete arg2;
133764  if (SWIG_IsNewObj(res3)) delete arg3;
133765  return resultobj;
133766 fail:
133767  if (SWIG_IsNewObj(res2)) delete arg2;
133768  if (SWIG_IsNewObj(res3)) delete arg3;
133769  return NULL;
133770 }
133771 
133772 
133773 SWIGINTERN PyObject *_wrap_SigmoidGain_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133774  PyObject *resultobj = 0;
133776  std::string *arg2 = 0 ;
133777  std::string *arg3 = 0 ;
133778  void *argp1 = 0 ;
133779  int res1 = 0 ;
133780  int res2 = SWIG_OLDOBJ ;
133781  int res3 = SWIG_OLDOBJ ;
133782  PyObject * obj0 = 0 ;
133783  PyObject * obj1 = 0 ;
133784  PyObject * obj2 = 0 ;
133785  bool result;
133786 
133787  if (!PyArg_ParseTuple(args,(char *)"OOO:SigmoidGain_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
133788  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133789  if (!SWIG_IsOK(res1)) {
133790  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_SetData" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
133791  }
133792  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
133793  {
133794  std::string *ptr = (std::string *)0;
133795  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
133796  if (!SWIG_IsOK(res2)) {
133797  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SigmoidGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
133798  }
133799  if (!ptr) {
133800  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SigmoidGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
133801  }
133802  arg2 = ptr;
133803  }
133804  {
133805  std::string *ptr = (std::string *)0;
133806  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
133807  if (!SWIG_IsOK(res3)) {
133808  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SigmoidGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
133809  }
133810  if (!ptr) {
133811  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SigmoidGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
133812  }
133813  arg3 = ptr;
133814  }
133815  {
133816  try {
133817  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
133818  }
133819  catch(CStdErrorInfo oError)
133820  {
133821  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133822  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133823  PyErr_SetString(PyExc_IndexError, strError.c_str());
133824  SWIG_fail;
133825  }
133826  catch(...)
133827  {
133828  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133829  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133830  SWIG_fail;
133831  }
133832  }
133833  resultobj = SWIG_From_bool(static_cast< bool >(result));
133834  if (SWIG_IsNewObj(res2)) delete arg2;
133835  if (SWIG_IsNewObj(res3)) delete arg3;
133836  return resultobj;
133837 fail:
133838  if (SWIG_IsNewObj(res2)) delete arg2;
133839  if (SWIG_IsNewObj(res3)) delete arg3;
133840  return NULL;
133841 }
133842 
133843 
133844 SWIGINTERN PyObject *_wrap_SigmoidGain_SetData(PyObject *self, PyObject *args) {
133845  int argc;
133846  PyObject *argv[5];
133847  int ii;
133848 
133849  if (!PyTuple_Check(args)) SWIG_fail;
133850  argc = args ? (int)PyObject_Length(args) : 0;
133851  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
133852  argv[ii] = PyTuple_GET_ITEM(args,ii);
133853  }
133854  if (argc == 3) {
133855  int _v;
133856  void *vptr = 0;
133857  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0);
133858  _v = SWIG_CheckState(res);
133859  if (_v) {
133860  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
133861  _v = SWIG_CheckState(res);
133862  if (_v) {
133863  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
133864  _v = SWIG_CheckState(res);
133865  if (_v) {
133866  return _wrap_SigmoidGain_SetData__SWIG_1(self, args);
133867  }
133868  }
133869  }
133870  }
133871  if (argc == 4) {
133872  int _v;
133873  void *vptr = 0;
133874  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0);
133875  _v = SWIG_CheckState(res);
133876  if (_v) {
133877  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
133878  _v = SWIG_CheckState(res);
133879  if (_v) {
133880  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
133881  _v = SWIG_CheckState(res);
133882  if (_v) {
133883  {
133884  int res = SWIG_AsVal_bool(argv[3], NULL);
133885  _v = SWIG_CheckState(res);
133886  }
133887  if (_v) {
133888  return _wrap_SigmoidGain_SetData__SWIG_0(self, args);
133889  }
133890  }
133891  }
133892  }
133893  }
133894 
133895 fail:
133896  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SigmoidGain_SetData'.\n"
133897  " Possible C/C++ prototypes are:\n"
133898  " AnimatSim::Gains::SigmoidGain::SetData(std::string const &,std::string const &,bool)\n"
133899  " AnimatSim::Gains::SigmoidGain::SetData(std::string const &,std::string const &)\n");
133900  return 0;
133901 }
133902 
133903 
133904 SWIGINTERN PyObject *_wrap_SigmoidGain_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133905  PyObject *resultobj = 0;
133907  CStdPtrArray< TypeProperty > *arg2 = 0 ;
133908  void *argp1 = 0 ;
133909  int res1 = 0 ;
133910  void *argp2 = 0 ;
133911  int res2 = 0 ;
133912  PyObject * obj0 = 0 ;
133913  PyObject * obj1 = 0 ;
133914 
133915  if (!PyArg_ParseTuple(args,(char *)"OO:SigmoidGain_QueryProperties",&obj0,&obj1)) SWIG_fail;
133916  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133917  if (!SWIG_IsOK(res1)) {
133918  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
133919  }
133920  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
133921  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
133922  if (!SWIG_IsOK(res2)) {
133923  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SigmoidGain_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
133924  }
133925  if (!argp2) {
133926  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SigmoidGain_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
133927  }
133928  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
133929  {
133930  try {
133931  (arg1)->QueryProperties(*arg2);
133932  }
133933  catch(CStdErrorInfo oError)
133934  {
133935  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133936  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133937  PyErr_SetString(PyExc_IndexError, strError.c_str());
133938  SWIG_fail;
133939  }
133940  catch(...)
133941  {
133942  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133943  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133944  SWIG_fail;
133945  }
133946  }
133947  resultobj = SWIG_Py_Void();
133948  return resultobj;
133949 fail:
133950  return NULL;
133951 }
133952 
133953 
133954 SWIGINTERN PyObject *_wrap_SigmoidGain_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
133955  PyObject *resultobj = 0;
133957  CStdXml *arg2 = 0 ;
133958  void *argp1 = 0 ;
133959  int res1 = 0 ;
133960  void *argp2 = 0 ;
133961  int res2 = 0 ;
133962  PyObject * obj0 = 0 ;
133963  PyObject * obj1 = 0 ;
133964 
133965  if (!PyArg_ParseTuple(args,(char *)"OO:SigmoidGain_Load",&obj0,&obj1)) SWIG_fail;
133966  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, 0 | 0 );
133967  if (!SWIG_IsOK(res1)) {
133968  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SigmoidGain_Load" "', argument " "1"" of type '" "AnimatSim::Gains::SigmoidGain *""'");
133969  }
133970  arg1 = reinterpret_cast< AnimatSim::Gains::SigmoidGain * >(argp1);
133971  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
133972  if (!SWIG_IsOK(res2)) {
133973  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SigmoidGain_Load" "', argument " "2"" of type '" "CStdXml &""'");
133974  }
133975  if (!argp2) {
133976  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SigmoidGain_Load" "', argument " "2"" of type '" "CStdXml &""'");
133977  }
133978  arg2 = reinterpret_cast< CStdXml * >(argp2);
133979  {
133980  try {
133981  (arg1)->Load(*arg2);
133982  }
133983  catch(CStdErrorInfo oError)
133984  {
133985  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133986  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
133987  PyErr_SetString(PyExc_IndexError, strError.c_str());
133988  SWIG_fail;
133989  }
133990  catch(...)
133991  {
133992  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
133993  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
133994  SWIG_fail;
133995  }
133996  }
133997  resultobj = SWIG_Py_Void();
133998  return resultobj;
133999 fail:
134000  return NULL;
134001 }
134002 
134003 
134004 SWIGINTERN PyObject *SigmoidGain_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134005  PyObject *obj;
134006  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
134007  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Gains__SigmoidGain, SWIG_NewClientData(obj));
134008  return SWIG_Py_Void();
134009 }
134010 
134011 SWIGINTERN PyObject *_wrap_new_LengthTensionGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134012  PyObject *resultobj = 0;
134014 
134015  if (!PyArg_ParseTuple(args,(char *)":new_LengthTensionGain")) SWIG_fail;
134016  {
134017  try {
134019  }
134020  catch(CStdErrorInfo oError)
134021  {
134022  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134023  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134024  PyErr_SetString(PyExc_IndexError, strError.c_str());
134025  SWIG_fail;
134026  }
134027  catch(...)
134028  {
134029  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134030  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134031  SWIG_fail;
134032  }
134033  }
134034  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, SWIG_POINTER_NEW | 0 );
134035  return resultobj;
134036 fail:
134037  return NULL;
134038 }
134039 
134040 
134041 SWIGINTERN PyObject *_wrap_delete_LengthTensionGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134042  PyObject *resultobj = 0;
134044  void *argp1 = 0 ;
134045  int res1 = 0 ;
134046  PyObject * obj0 = 0 ;
134047 
134048  if (!PyArg_ParseTuple(args,(char *)"O:delete_LengthTensionGain",&obj0)) SWIG_fail;
134049  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, SWIG_POINTER_DISOWN | 0 );
134050  if (!SWIG_IsOK(res1)) {
134051  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LengthTensionGain" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134052  }
134053  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134054  {
134055  try {
134056  delete arg1;
134057  }
134058  catch(CStdErrorInfo oError)
134059  {
134060  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134061  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134062  PyErr_SetString(PyExc_IndexError, strError.c_str());
134063  SWIG_fail;
134064  }
134065  catch(...)
134066  {
134067  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134068  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134069  SWIG_fail;
134070  }
134071  }
134072  resultobj = SWIG_Py_Void();
134073  return resultobj;
134074 fail:
134075  return NULL;
134076 }
134077 
134078 
134079 SWIGINTERN PyObject *_wrap_LengthTensionGain_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134080  PyObject *resultobj = 0;
134082  void *argp1 = 0 ;
134083  int res1 = 0 ;
134084  PyObject * obj0 = 0 ;
134086 
134087  if (!PyArg_ParseTuple(args,(char *)"O:LengthTensionGain_CastToDerived",&obj0)) SWIG_fail;
134088  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
134089  if (!SWIG_IsOK(res1)) {
134090  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
134091  }
134092  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
134093  {
134094  try {
134095  result = (AnimatSim::Gains::LengthTensionGain *)AnimatSim::Gains::LengthTensionGain::CastToDerived(arg1);
134096  }
134097  catch(CStdErrorInfo oError)
134098  {
134099  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134100  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134101  PyErr_SetString(PyExc_IndexError, strError.c_str());
134102  SWIG_fail;
134103  }
134104  catch(...)
134105  {
134106  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134107  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134108  SWIG_fail;
134109  }
134110  }
134111  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134112  return resultobj;
134113 fail:
134114  return NULL;
134115 }
134116 
134117 
134118 SWIGINTERN PyObject *_wrap_LengthTensionGain_RestingLength__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134119  PyObject *resultobj = 0;
134121  void *argp1 = 0 ;
134122  int res1 = 0 ;
134123  PyObject * obj0 = 0 ;
134124  float result;
134125 
134126  if (!PyArg_ParseTuple(args,(char *)"O:LengthTensionGain_RestingLength",&obj0)) SWIG_fail;
134127  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134128  if (!SWIG_IsOK(res1)) {
134129  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_RestingLength" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134130  }
134131  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134132  {
134133  try {
134134  result = (float)(arg1)->RestingLength();
134135  }
134136  catch(CStdErrorInfo oError)
134137  {
134138  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134139  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134140  PyErr_SetString(PyExc_IndexError, strError.c_str());
134141  SWIG_fail;
134142  }
134143  catch(...)
134144  {
134145  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134146  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134147  SWIG_fail;
134148  }
134149  }
134150  resultobj = SWIG_From_float(static_cast< float >(result));
134151  return resultobj;
134152 fail:
134153  return NULL;
134154 }
134155 
134156 
134157 SWIGINTERN PyObject *_wrap_LengthTensionGain_RestingLength__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134158  PyObject *resultobj = 0;
134160  float arg2 ;
134161  void *argp1 = 0 ;
134162  int res1 = 0 ;
134163  float val2 ;
134164  int ecode2 = 0 ;
134165  PyObject * obj0 = 0 ;
134166  PyObject * obj1 = 0 ;
134167 
134168  if (!PyArg_ParseTuple(args,(char *)"OO:LengthTensionGain_RestingLength",&obj0,&obj1)) SWIG_fail;
134169  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134170  if (!SWIG_IsOK(res1)) {
134171  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_RestingLength" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134172  }
134173  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134174  ecode2 = SWIG_AsVal_float(obj1, &val2);
134175  if (!SWIG_IsOK(ecode2)) {
134176  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LengthTensionGain_RestingLength" "', argument " "2"" of type '" "float""'");
134177  }
134178  arg2 = static_cast< float >(val2);
134179  {
134180  try {
134181  (arg1)->RestingLength(arg2);
134182  }
134183  catch(CStdErrorInfo oError)
134184  {
134185  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134186  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134187  PyErr_SetString(PyExc_IndexError, strError.c_str());
134188  SWIG_fail;
134189  }
134190  catch(...)
134191  {
134192  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134193  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134194  SWIG_fail;
134195  }
134196  }
134197  resultobj = SWIG_Py_Void();
134198  return resultobj;
134199 fail:
134200  return NULL;
134201 }
134202 
134203 
134204 SWIGINTERN PyObject *_wrap_LengthTensionGain_RestingLength(PyObject *self, PyObject *args) {
134205  int argc;
134206  PyObject *argv[3];
134207  int ii;
134208 
134209  if (!PyTuple_Check(args)) SWIG_fail;
134210  argc = args ? (int)PyObject_Length(args) : 0;
134211  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
134212  argv[ii] = PyTuple_GET_ITEM(args,ii);
134213  }
134214  if (argc == 1) {
134215  int _v;
134216  void *vptr = 0;
134217  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0);
134218  _v = SWIG_CheckState(res);
134219  if (_v) {
134220  return _wrap_LengthTensionGain_RestingLength__SWIG_0(self, args);
134221  }
134222  }
134223  if (argc == 2) {
134224  int _v;
134225  void *vptr = 0;
134226  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0);
134227  _v = SWIG_CheckState(res);
134228  if (_v) {
134229  {
134230  int res = SWIG_AsVal_float(argv[1], NULL);
134231  _v = SWIG_CheckState(res);
134232  }
134233  if (_v) {
134234  return _wrap_LengthTensionGain_RestingLength__SWIG_1(self, args);
134235  }
134236  }
134237  }
134238 
134239 fail:
134240  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LengthTensionGain_RestingLength'.\n"
134241  " Possible C/C++ prototypes are:\n"
134242  " AnimatSim::Gains::LengthTensionGain::RestingLength()\n"
134243  " AnimatSim::Gains::LengthTensionGain::RestingLength(float)\n");
134244  return 0;
134245 }
134246 
134247 
134248 SWIGINTERN PyObject *_wrap_LengthTensionGain_TLwidth__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134249  PyObject *resultobj = 0;
134251  void *argp1 = 0 ;
134252  int res1 = 0 ;
134253  PyObject * obj0 = 0 ;
134254  float result;
134255 
134256  if (!PyArg_ParseTuple(args,(char *)"O:LengthTensionGain_TLwidth",&obj0)) SWIG_fail;
134257  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134258  if (!SWIG_IsOK(res1)) {
134259  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_TLwidth" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134260  }
134261  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134262  {
134263  try {
134264  result = (float)(arg1)->TLwidth();
134265  }
134266  catch(CStdErrorInfo oError)
134267  {
134268  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134269  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134270  PyErr_SetString(PyExc_IndexError, strError.c_str());
134271  SWIG_fail;
134272  }
134273  catch(...)
134274  {
134275  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134276  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134277  SWIG_fail;
134278  }
134279  }
134280  resultobj = SWIG_From_float(static_cast< float >(result));
134281  return resultobj;
134282 fail:
134283  return NULL;
134284 }
134285 
134286 
134287 SWIGINTERN PyObject *_wrap_LengthTensionGain_TLwidth__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134288  PyObject *resultobj = 0;
134290  float arg2 ;
134291  void *argp1 = 0 ;
134292  int res1 = 0 ;
134293  float val2 ;
134294  int ecode2 = 0 ;
134295  PyObject * obj0 = 0 ;
134296  PyObject * obj1 = 0 ;
134297 
134298  if (!PyArg_ParseTuple(args,(char *)"OO:LengthTensionGain_TLwidth",&obj0,&obj1)) SWIG_fail;
134299  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134300  if (!SWIG_IsOK(res1)) {
134301  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_TLwidth" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134302  }
134303  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134304  ecode2 = SWIG_AsVal_float(obj1, &val2);
134305  if (!SWIG_IsOK(ecode2)) {
134306  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LengthTensionGain_TLwidth" "', argument " "2"" of type '" "float""'");
134307  }
134308  arg2 = static_cast< float >(val2);
134309  {
134310  try {
134311  (arg1)->TLwidth(arg2);
134312  }
134313  catch(CStdErrorInfo oError)
134314  {
134315  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134316  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134317  PyErr_SetString(PyExc_IndexError, strError.c_str());
134318  SWIG_fail;
134319  }
134320  catch(...)
134321  {
134322  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134323  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134324  SWIG_fail;
134325  }
134326  }
134327  resultobj = SWIG_Py_Void();
134328  return resultobj;
134329 fail:
134330  return NULL;
134331 }
134332 
134333 
134334 SWIGINTERN PyObject *_wrap_LengthTensionGain_TLwidth(PyObject *self, PyObject *args) {
134335  int argc;
134336  PyObject *argv[3];
134337  int ii;
134338 
134339  if (!PyTuple_Check(args)) SWIG_fail;
134340  argc = args ? (int)PyObject_Length(args) : 0;
134341  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
134342  argv[ii] = PyTuple_GET_ITEM(args,ii);
134343  }
134344  if (argc == 1) {
134345  int _v;
134346  void *vptr = 0;
134347  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0);
134348  _v = SWIG_CheckState(res);
134349  if (_v) {
134350  return _wrap_LengthTensionGain_TLwidth__SWIG_0(self, args);
134351  }
134352  }
134353  if (argc == 2) {
134354  int _v;
134355  void *vptr = 0;
134356  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0);
134357  _v = SWIG_CheckState(res);
134358  if (_v) {
134359  {
134360  int res = SWIG_AsVal_float(argv[1], NULL);
134361  _v = SWIG_CheckState(res);
134362  }
134363  if (_v) {
134364  return _wrap_LengthTensionGain_TLwidth__SWIG_1(self, args);
134365  }
134366  }
134367  }
134368 
134369 fail:
134370  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LengthTensionGain_TLwidth'.\n"
134371  " Possible C/C++ prototypes are:\n"
134372  " AnimatSim::Gains::LengthTensionGain::TLwidth()\n"
134373  " AnimatSim::Gains::LengthTensionGain::TLwidth(float)\n");
134374  return 0;
134375 }
134376 
134377 
134378 SWIGINTERN PyObject *_wrap_LengthTensionGain_TLc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134379  PyObject *resultobj = 0;
134381  void *argp1 = 0 ;
134382  int res1 = 0 ;
134383  PyObject * obj0 = 0 ;
134384  float result;
134385 
134386  if (!PyArg_ParseTuple(args,(char *)"O:LengthTensionGain_TLc",&obj0)) SWIG_fail;
134387  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134388  if (!SWIG_IsOK(res1)) {
134389  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_TLc" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134390  }
134391  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134392  {
134393  try {
134394  result = (float)(arg1)->TLc();
134395  }
134396  catch(CStdErrorInfo oError)
134397  {
134398  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134399  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134400  PyErr_SetString(PyExc_IndexError, strError.c_str());
134401  SWIG_fail;
134402  }
134403  catch(...)
134404  {
134405  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134406  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134407  SWIG_fail;
134408  }
134409  }
134410  resultobj = SWIG_From_float(static_cast< float >(result));
134411  return resultobj;
134412 fail:
134413  return NULL;
134414 }
134415 
134416 
134417 SWIGINTERN PyObject *_wrap_LengthTensionGain_PeLengthPercentage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134418  PyObject *resultobj = 0;
134420  void *argp1 = 0 ;
134421  int res1 = 0 ;
134422  PyObject * obj0 = 0 ;
134423  float result;
134424 
134425  if (!PyArg_ParseTuple(args,(char *)"O:LengthTensionGain_PeLengthPercentage",&obj0)) SWIG_fail;
134426  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134427  if (!SWIG_IsOK(res1)) {
134428  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_PeLengthPercentage" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134429  }
134430  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134431  {
134432  try {
134433  result = (float)(arg1)->PeLengthPercentage();
134434  }
134435  catch(CStdErrorInfo oError)
134436  {
134437  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134438  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134439  PyErr_SetString(PyExc_IndexError, strError.c_str());
134440  SWIG_fail;
134441  }
134442  catch(...)
134443  {
134444  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134445  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134446  SWIG_fail;
134447  }
134448  }
134449  resultobj = SWIG_From_float(static_cast< float >(result));
134450  return resultobj;
134451 fail:
134452  return NULL;
134453 }
134454 
134455 
134456 SWIGINTERN PyObject *_wrap_LengthTensionGain_PeLengthPercentage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134457  PyObject *resultobj = 0;
134459  float arg2 ;
134460  void *argp1 = 0 ;
134461  int res1 = 0 ;
134462  float val2 ;
134463  int ecode2 = 0 ;
134464  PyObject * obj0 = 0 ;
134465  PyObject * obj1 = 0 ;
134466 
134467  if (!PyArg_ParseTuple(args,(char *)"OO:LengthTensionGain_PeLengthPercentage",&obj0,&obj1)) SWIG_fail;
134468  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134469  if (!SWIG_IsOK(res1)) {
134470  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_PeLengthPercentage" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134471  }
134472  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134473  ecode2 = SWIG_AsVal_float(obj1, &val2);
134474  if (!SWIG_IsOK(ecode2)) {
134475  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LengthTensionGain_PeLengthPercentage" "', argument " "2"" of type '" "float""'");
134476  }
134477  arg2 = static_cast< float >(val2);
134478  {
134479  try {
134480  (arg1)->PeLengthPercentage(arg2);
134481  }
134482  catch(CStdErrorInfo oError)
134483  {
134484  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134485  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134486  PyErr_SetString(PyExc_IndexError, strError.c_str());
134487  SWIG_fail;
134488  }
134489  catch(...)
134490  {
134491  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134492  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134493  SWIG_fail;
134494  }
134495  }
134496  resultobj = SWIG_Py_Void();
134497  return resultobj;
134498 fail:
134499  return NULL;
134500 }
134501 
134502 
134503 SWIGINTERN PyObject *_wrap_LengthTensionGain_PeLengthPercentage(PyObject *self, PyObject *args) {
134504  int argc;
134505  PyObject *argv[3];
134506  int ii;
134507 
134508  if (!PyTuple_Check(args)) SWIG_fail;
134509  argc = args ? (int)PyObject_Length(args) : 0;
134510  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
134511  argv[ii] = PyTuple_GET_ITEM(args,ii);
134512  }
134513  if (argc == 1) {
134514  int _v;
134515  void *vptr = 0;
134516  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0);
134517  _v = SWIG_CheckState(res);
134518  if (_v) {
134519  return _wrap_LengthTensionGain_PeLengthPercentage__SWIG_0(self, args);
134520  }
134521  }
134522  if (argc == 2) {
134523  int _v;
134524  void *vptr = 0;
134525  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0);
134526  _v = SWIG_CheckState(res);
134527  if (_v) {
134528  {
134529  int res = SWIG_AsVal_float(argv[1], NULL);
134530  _v = SWIG_CheckState(res);
134531  }
134532  if (_v) {
134533  return _wrap_LengthTensionGain_PeLengthPercentage__SWIG_1(self, args);
134534  }
134535  }
134536  }
134537 
134538 fail:
134539  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LengthTensionGain_PeLengthPercentage'.\n"
134540  " Possible C/C++ prototypes are:\n"
134541  " AnimatSim::Gains::LengthTensionGain::PeLengthPercentage()\n"
134542  " AnimatSim::Gains::LengthTensionGain::PeLengthPercentage(float)\n");
134543  return 0;
134544 }
134545 
134546 
134547 SWIGINTERN PyObject *_wrap_LengthTensionGain_MinPeLengthPercentage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134548  PyObject *resultobj = 0;
134550  void *argp1 = 0 ;
134551  int res1 = 0 ;
134552  PyObject * obj0 = 0 ;
134553  float result;
134554 
134555  if (!PyArg_ParseTuple(args,(char *)"O:LengthTensionGain_MinPeLengthPercentage",&obj0)) SWIG_fail;
134556  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134557  if (!SWIG_IsOK(res1)) {
134558  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_MinPeLengthPercentage" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134559  }
134560  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134561  {
134562  try {
134563  result = (float)(arg1)->MinPeLengthPercentage();
134564  }
134565  catch(CStdErrorInfo oError)
134566  {
134567  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134568  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134569  PyErr_SetString(PyExc_IndexError, strError.c_str());
134570  SWIG_fail;
134571  }
134572  catch(...)
134573  {
134574  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134575  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134576  SWIG_fail;
134577  }
134578  }
134579  resultobj = SWIG_From_float(static_cast< float >(result));
134580  return resultobj;
134581 fail:
134582  return NULL;
134583 }
134584 
134585 
134586 SWIGINTERN PyObject *_wrap_LengthTensionGain_MinPeLengthPercentage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134587  PyObject *resultobj = 0;
134589  float arg2 ;
134590  void *argp1 = 0 ;
134591  int res1 = 0 ;
134592  float val2 ;
134593  int ecode2 = 0 ;
134594  PyObject * obj0 = 0 ;
134595  PyObject * obj1 = 0 ;
134596 
134597  if (!PyArg_ParseTuple(args,(char *)"OO:LengthTensionGain_MinPeLengthPercentage",&obj0,&obj1)) SWIG_fail;
134598  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134599  if (!SWIG_IsOK(res1)) {
134600  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_MinPeLengthPercentage" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134601  }
134602  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134603  ecode2 = SWIG_AsVal_float(obj1, &val2);
134604  if (!SWIG_IsOK(ecode2)) {
134605  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LengthTensionGain_MinPeLengthPercentage" "', argument " "2"" of type '" "float""'");
134606  }
134607  arg2 = static_cast< float >(val2);
134608  {
134609  try {
134610  (arg1)->MinPeLengthPercentage(arg2);
134611  }
134612  catch(CStdErrorInfo oError)
134613  {
134614  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134615  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134616  PyErr_SetString(PyExc_IndexError, strError.c_str());
134617  SWIG_fail;
134618  }
134619  catch(...)
134620  {
134621  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134622  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134623  SWIG_fail;
134624  }
134625  }
134626  resultobj = SWIG_Py_Void();
134627  return resultobj;
134628 fail:
134629  return NULL;
134630 }
134631 
134632 
134633 SWIGINTERN PyObject *_wrap_LengthTensionGain_MinPeLengthPercentage(PyObject *self, PyObject *args) {
134634  int argc;
134635  PyObject *argv[3];
134636  int ii;
134637 
134638  if (!PyTuple_Check(args)) SWIG_fail;
134639  argc = args ? (int)PyObject_Length(args) : 0;
134640  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
134641  argv[ii] = PyTuple_GET_ITEM(args,ii);
134642  }
134643  if (argc == 1) {
134644  int _v;
134645  void *vptr = 0;
134646  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0);
134647  _v = SWIG_CheckState(res);
134648  if (_v) {
134649  return _wrap_LengthTensionGain_MinPeLengthPercentage__SWIG_0(self, args);
134650  }
134651  }
134652  if (argc == 2) {
134653  int _v;
134654  void *vptr = 0;
134655  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0);
134656  _v = SWIG_CheckState(res);
134657  if (_v) {
134658  {
134659  int res = SWIG_AsVal_float(argv[1], NULL);
134660  _v = SWIG_CheckState(res);
134661  }
134662  if (_v) {
134663  return _wrap_LengthTensionGain_MinPeLengthPercentage__SWIG_1(self, args);
134664  }
134665  }
134666  }
134667 
134668 fail:
134669  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LengthTensionGain_MinPeLengthPercentage'.\n"
134670  " Possible C/C++ prototypes are:\n"
134671  " AnimatSim::Gains::LengthTensionGain::MinPeLengthPercentage()\n"
134672  " AnimatSim::Gains::LengthTensionGain::MinPeLengthPercentage(float)\n");
134673  return 0;
134674 }
134675 
134676 
134677 SWIGINTERN PyObject *_wrap_LengthTensionGain_SeRestLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134678  PyObject *resultobj = 0;
134680  void *argp1 = 0 ;
134681  int res1 = 0 ;
134682  PyObject * obj0 = 0 ;
134683  float result;
134684 
134685  if (!PyArg_ParseTuple(args,(char *)"O:LengthTensionGain_SeRestLength",&obj0)) SWIG_fail;
134686  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134687  if (!SWIG_IsOK(res1)) {
134688  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_SeRestLength" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134689  }
134690  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134691  {
134692  try {
134693  result = (float)(arg1)->SeRestLength();
134694  }
134695  catch(CStdErrorInfo oError)
134696  {
134697  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134698  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134699  PyErr_SetString(PyExc_IndexError, strError.c_str());
134700  SWIG_fail;
134701  }
134702  catch(...)
134703  {
134704  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134705  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134706  SWIG_fail;
134707  }
134708  }
134709  resultobj = SWIG_From_float(static_cast< float >(result));
134710  return resultobj;
134711 fail:
134712  return NULL;
134713 }
134714 
134715 
134716 SWIGINTERN PyObject *_wrap_LengthTensionGain_MinPeLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134717  PyObject *resultobj = 0;
134719  void *argp1 = 0 ;
134720  int res1 = 0 ;
134721  PyObject * obj0 = 0 ;
134722  float result;
134723 
134724  if (!PyArg_ParseTuple(args,(char *)"O:LengthTensionGain_MinPeLength",&obj0)) SWIG_fail;
134725  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134726  if (!SWIG_IsOK(res1)) {
134727  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_MinPeLength" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134728  }
134729  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134730  {
134731  try {
134732  result = (float)(arg1)->MinPeLength();
134733  }
134734  catch(CStdErrorInfo oError)
134735  {
134736  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134737  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134738  PyErr_SetString(PyExc_IndexError, strError.c_str());
134739  SWIG_fail;
134740  }
134741  catch(...)
134742  {
134743  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134744  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134745  SWIG_fail;
134746  }
134747  }
134748  resultobj = SWIG_From_float(static_cast< float >(result));
134749  return resultobj;
134750 fail:
134751  return NULL;
134752 }
134753 
134754 
134755 SWIGINTERN PyObject *_wrap_LengthTensionGain_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134756  PyObject *resultobj = 0;
134758  CStdSerialize *arg2 = (CStdSerialize *) 0 ;
134759  void *argp1 = 0 ;
134760  int res1 = 0 ;
134761  void *argp2 = 0 ;
134762  int res2 = 0 ;
134763  PyObject * obj0 = 0 ;
134764  PyObject * obj1 = 0 ;
134765 
134766  if (!PyArg_ParseTuple(args,(char *)"OO:LengthTensionGain_Copy",&obj0,&obj1)) SWIG_fail;
134767  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134768  if (!SWIG_IsOK(res1)) {
134769  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_Copy" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134770  }
134771  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134772  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
134773  if (!SWIG_IsOK(res2)) {
134774  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LengthTensionGain_Copy" "', argument " "2"" of type '" "CStdSerialize *""'");
134775  }
134776  arg2 = reinterpret_cast< CStdSerialize * >(argp2);
134777  {
134778  try {
134779  (arg1)->Copy(arg2);
134780  }
134781  catch(CStdErrorInfo oError)
134782  {
134783  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134784  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134785  PyErr_SetString(PyExc_IndexError, strError.c_str());
134786  SWIG_fail;
134787  }
134788  catch(...)
134789  {
134790  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134791  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134792  SWIG_fail;
134793  }
134794  }
134795  resultobj = SWIG_Py_Void();
134796  return resultobj;
134797 fail:
134798  return NULL;
134799 }
134800 
134801 
134802 SWIGINTERN PyObject *_wrap_LengthTensionGain_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134803  PyObject *resultobj = 0;
134805  void *argp1 = 0 ;
134806  int res1 = 0 ;
134807  PyObject * obj0 = 0 ;
134808  CStdSerialize *result = 0 ;
134809 
134810  if (!PyArg_ParseTuple(args,(char *)"O:LengthTensionGain_Clone",&obj0)) SWIG_fail;
134811  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134812  if (!SWIG_IsOK(res1)) {
134813  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_Clone" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134814  }
134815  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134816  {
134817  try {
134818  result = (CStdSerialize *)(arg1)->Clone();
134819  }
134820  catch(CStdErrorInfo oError)
134821  {
134822  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134823  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134824  PyErr_SetString(PyExc_IndexError, strError.c_str());
134825  SWIG_fail;
134826  }
134827  catch(...)
134828  {
134829  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134830  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134831  SWIG_fail;
134832  }
134833  }
134834  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
134835  return resultobj;
134836 fail:
134837  return NULL;
134838 }
134839 
134840 
134841 SWIGINTERN PyObject *_wrap_LengthTensionGain_CalculateGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134842  PyObject *resultobj = 0;
134844  float arg2 ;
134845  void *argp1 = 0 ;
134846  int res1 = 0 ;
134847  float val2 ;
134848  int ecode2 = 0 ;
134849  PyObject * obj0 = 0 ;
134850  PyObject * obj1 = 0 ;
134851  float result;
134852 
134853  if (!PyArg_ParseTuple(args,(char *)"OO:LengthTensionGain_CalculateGain",&obj0,&obj1)) SWIG_fail;
134854  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134855  if (!SWIG_IsOK(res1)) {
134856  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_CalculateGain" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134857  }
134858  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134859  ecode2 = SWIG_AsVal_float(obj1, &val2);
134860  if (!SWIG_IsOK(ecode2)) {
134861  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LengthTensionGain_CalculateGain" "', argument " "2"" of type '" "float""'");
134862  }
134863  arg2 = static_cast< float >(val2);
134864  {
134865  try {
134866  result = (float)(arg1)->CalculateGain(arg2);
134867  }
134868  catch(CStdErrorInfo oError)
134869  {
134870  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134871  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134872  PyErr_SetString(PyExc_IndexError, strError.c_str());
134873  SWIG_fail;
134874  }
134875  catch(...)
134876  {
134877  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134878  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134879  SWIG_fail;
134880  }
134881  }
134882  resultobj = SWIG_From_float(static_cast< float >(result));
134883  return resultobj;
134884 fail:
134885  return NULL;
134886 }
134887 
134888 
134889 SWIGINTERN PyObject *_wrap_LengthTensionGain_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134890  PyObject *resultobj = 0;
134892  std::string *arg2 = 0 ;
134893  std::string *arg3 = 0 ;
134894  bool arg4 ;
134895  void *argp1 = 0 ;
134896  int res1 = 0 ;
134897  int res2 = SWIG_OLDOBJ ;
134898  int res3 = SWIG_OLDOBJ ;
134899  bool val4 ;
134900  int ecode4 = 0 ;
134901  PyObject * obj0 = 0 ;
134902  PyObject * obj1 = 0 ;
134903  PyObject * obj2 = 0 ;
134904  PyObject * obj3 = 0 ;
134905  bool result;
134906 
134907  if (!PyArg_ParseTuple(args,(char *)"OOOO:LengthTensionGain_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
134908  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134909  if (!SWIG_IsOK(res1)) {
134910  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_SetData" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134911  }
134912  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134913  {
134914  std::string *ptr = (std::string *)0;
134915  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
134916  if (!SWIG_IsOK(res2)) {
134917  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LengthTensionGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
134918  }
134919  if (!ptr) {
134920  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LengthTensionGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
134921  }
134922  arg2 = ptr;
134923  }
134924  {
134925  std::string *ptr = (std::string *)0;
134926  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
134927  if (!SWIG_IsOK(res3)) {
134928  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LengthTensionGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
134929  }
134930  if (!ptr) {
134931  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LengthTensionGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
134932  }
134933  arg3 = ptr;
134934  }
134935  ecode4 = SWIG_AsVal_bool(obj3, &val4);
134936  if (!SWIG_IsOK(ecode4)) {
134937  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LengthTensionGain_SetData" "', argument " "4"" of type '" "bool""'");
134938  }
134939  arg4 = static_cast< bool >(val4);
134940  {
134941  try {
134942  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
134943  }
134944  catch(CStdErrorInfo oError)
134945  {
134946  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134947  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
134948  PyErr_SetString(PyExc_IndexError, strError.c_str());
134949  SWIG_fail;
134950  }
134951  catch(...)
134952  {
134953  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
134954  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
134955  SWIG_fail;
134956  }
134957  }
134958  resultobj = SWIG_From_bool(static_cast< bool >(result));
134959  if (SWIG_IsNewObj(res2)) delete arg2;
134960  if (SWIG_IsNewObj(res3)) delete arg3;
134961  return resultobj;
134962 fail:
134963  if (SWIG_IsNewObj(res2)) delete arg2;
134964  if (SWIG_IsNewObj(res3)) delete arg3;
134965  return NULL;
134966 }
134967 
134968 
134969 SWIGINTERN PyObject *_wrap_LengthTensionGain_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
134970  PyObject *resultobj = 0;
134972  std::string *arg2 = 0 ;
134973  std::string *arg3 = 0 ;
134974  void *argp1 = 0 ;
134975  int res1 = 0 ;
134976  int res2 = SWIG_OLDOBJ ;
134977  int res3 = SWIG_OLDOBJ ;
134978  PyObject * obj0 = 0 ;
134979  PyObject * obj1 = 0 ;
134980  PyObject * obj2 = 0 ;
134981  bool result;
134982 
134983  if (!PyArg_ParseTuple(args,(char *)"OOO:LengthTensionGain_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
134984  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
134985  if (!SWIG_IsOK(res1)) {
134986  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_SetData" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
134987  }
134988  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
134989  {
134990  std::string *ptr = (std::string *)0;
134991  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
134992  if (!SWIG_IsOK(res2)) {
134993  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LengthTensionGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
134994  }
134995  if (!ptr) {
134996  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LengthTensionGain_SetData" "', argument " "2"" of type '" "std::string const &""'");
134997  }
134998  arg2 = ptr;
134999  }
135000  {
135001  std::string *ptr = (std::string *)0;
135002  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
135003  if (!SWIG_IsOK(res3)) {
135004  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LengthTensionGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
135005  }
135006  if (!ptr) {
135007  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LengthTensionGain_SetData" "', argument " "3"" of type '" "std::string const &""'");
135008  }
135009  arg3 = ptr;
135010  }
135011  {
135012  try {
135013  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
135014  }
135015  catch(CStdErrorInfo oError)
135016  {
135017  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135018  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135019  PyErr_SetString(PyExc_IndexError, strError.c_str());
135020  SWIG_fail;
135021  }
135022  catch(...)
135023  {
135024  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135025  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135026  SWIG_fail;
135027  }
135028  }
135029  resultobj = SWIG_From_bool(static_cast< bool >(result));
135030  if (SWIG_IsNewObj(res2)) delete arg2;
135031  if (SWIG_IsNewObj(res3)) delete arg3;
135032  return resultobj;
135033 fail:
135034  if (SWIG_IsNewObj(res2)) delete arg2;
135035  if (SWIG_IsNewObj(res3)) delete arg3;
135036  return NULL;
135037 }
135038 
135039 
135040 SWIGINTERN PyObject *_wrap_LengthTensionGain_SetData(PyObject *self, PyObject *args) {
135041  int argc;
135042  PyObject *argv[5];
135043  int ii;
135044 
135045  if (!PyTuple_Check(args)) SWIG_fail;
135046  argc = args ? (int)PyObject_Length(args) : 0;
135047  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
135048  argv[ii] = PyTuple_GET_ITEM(args,ii);
135049  }
135050  if (argc == 3) {
135051  int _v;
135052  void *vptr = 0;
135053  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0);
135054  _v = SWIG_CheckState(res);
135055  if (_v) {
135056  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
135057  _v = SWIG_CheckState(res);
135058  if (_v) {
135059  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
135060  _v = SWIG_CheckState(res);
135061  if (_v) {
135062  return _wrap_LengthTensionGain_SetData__SWIG_1(self, args);
135063  }
135064  }
135065  }
135066  }
135067  if (argc == 4) {
135068  int _v;
135069  void *vptr = 0;
135070  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0);
135071  _v = SWIG_CheckState(res);
135072  if (_v) {
135073  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
135074  _v = SWIG_CheckState(res);
135075  if (_v) {
135076  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
135077  _v = SWIG_CheckState(res);
135078  if (_v) {
135079  {
135080  int res = SWIG_AsVal_bool(argv[3], NULL);
135081  _v = SWIG_CheckState(res);
135082  }
135083  if (_v) {
135084  return _wrap_LengthTensionGain_SetData__SWIG_0(self, args);
135085  }
135086  }
135087  }
135088  }
135089  }
135090 
135091 fail:
135092  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LengthTensionGain_SetData'.\n"
135093  " Possible C/C++ prototypes are:\n"
135094  " AnimatSim::Gains::LengthTensionGain::SetData(std::string const &,std::string const &,bool)\n"
135095  " AnimatSim::Gains::LengthTensionGain::SetData(std::string const &,std::string const &)\n");
135096  return 0;
135097 }
135098 
135099 
135100 SWIGINTERN PyObject *_wrap_LengthTensionGain_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135101  PyObject *resultobj = 0;
135103  CStdPtrArray< TypeProperty > *arg2 = 0 ;
135104  void *argp1 = 0 ;
135105  int res1 = 0 ;
135106  void *argp2 = 0 ;
135107  int res2 = 0 ;
135108  PyObject * obj0 = 0 ;
135109  PyObject * obj1 = 0 ;
135110 
135111  if (!PyArg_ParseTuple(args,(char *)"OO:LengthTensionGain_QueryProperties",&obj0,&obj1)) SWIG_fail;
135112  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
135113  if (!SWIG_IsOK(res1)) {
135114  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
135115  }
135116  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
135117  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
135118  if (!SWIG_IsOK(res2)) {
135119  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LengthTensionGain_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
135120  }
135121  if (!argp2) {
135122  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LengthTensionGain_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
135123  }
135124  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
135125  {
135126  try {
135127  (arg1)->QueryProperties(*arg2);
135128  }
135129  catch(CStdErrorInfo oError)
135130  {
135131  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135132  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135133  PyErr_SetString(PyExc_IndexError, strError.c_str());
135134  SWIG_fail;
135135  }
135136  catch(...)
135137  {
135138  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135139  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135140  SWIG_fail;
135141  }
135142  }
135143  resultobj = SWIG_Py_Void();
135144  return resultobj;
135145 fail:
135146  return NULL;
135147 }
135148 
135149 
135150 SWIGINTERN PyObject *_wrap_LengthTensionGain_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135151  PyObject *resultobj = 0;
135153  CStdXml *arg2 = 0 ;
135154  void *argp1 = 0 ;
135155  int res1 = 0 ;
135156  void *argp2 = 0 ;
135157  int res2 = 0 ;
135158  PyObject * obj0 = 0 ;
135159  PyObject * obj1 = 0 ;
135160 
135161  if (!PyArg_ParseTuple(args,(char *)"OO:LengthTensionGain_Load",&obj0,&obj1)) SWIG_fail;
135162  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, 0 | 0 );
135163  if (!SWIG_IsOK(res1)) {
135164  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LengthTensionGain_Load" "', argument " "1"" of type '" "AnimatSim::Gains::LengthTensionGain *""'");
135165  }
135166  arg1 = reinterpret_cast< AnimatSim::Gains::LengthTensionGain * >(argp1);
135167  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
135168  if (!SWIG_IsOK(res2)) {
135169  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LengthTensionGain_Load" "', argument " "2"" of type '" "CStdXml &""'");
135170  }
135171  if (!argp2) {
135172  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LengthTensionGain_Load" "', argument " "2"" of type '" "CStdXml &""'");
135173  }
135174  arg2 = reinterpret_cast< CStdXml * >(argp2);
135175  {
135176  try {
135177  (arg1)->Load(*arg2);
135178  }
135179  catch(CStdErrorInfo oError)
135180  {
135181  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135182  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135183  PyErr_SetString(PyExc_IndexError, strError.c_str());
135184  SWIG_fail;
135185  }
135186  catch(...)
135187  {
135188  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135189  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135190  SWIG_fail;
135191  }
135192  }
135193  resultobj = SWIG_Py_Void();
135194  return resultobj;
135195 fail:
135196  return NULL;
135197 }
135198 
135199 
135200 SWIGINTERN PyObject *LengthTensionGain_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135201  PyObject *obj;
135202  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
135203  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain, SWIG_NewClientData(obj));
135204  return SWIG_Py_Void();
135205 }
135206 
135207 SWIGINTERN PyObject *_wrap_delete_Node(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135208  PyObject *resultobj = 0;
135209  AnimatSim::Node *arg1 = (AnimatSim::Node *) 0 ;
135210  void *argp1 = 0 ;
135211  int res1 = 0 ;
135212  PyObject * obj0 = 0 ;
135213 
135214  if (!PyArg_ParseTuple(args,(char *)"O:delete_Node",&obj0)) SWIG_fail;
135215  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Node, SWIG_POINTER_DISOWN | 0 );
135216  if (!SWIG_IsOK(res1)) {
135217  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Node" "', argument " "1"" of type '" "AnimatSim::Node *""'");
135218  }
135219  arg1 = reinterpret_cast< AnimatSim::Node * >(argp1);
135220  {
135221  try {
135222  delete arg1;
135223  }
135224  catch(CStdErrorInfo oError)
135225  {
135226  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135227  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135228  PyErr_SetString(PyExc_IndexError, strError.c_str());
135229  SWIG_fail;
135230  }
135231  catch(...)
135232  {
135233  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135234  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135235  SWIG_fail;
135236  }
135237  }
135238  resultobj = SWIG_Py_Void();
135239  return resultobj;
135240 fail:
135241  return NULL;
135242 }
135243 
135244 
135245 SWIGINTERN PyObject *_wrap_Node_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135246  PyObject *resultobj = 0;
135248  void *argp1 = 0 ;
135249  int res1 = 0 ;
135250  PyObject * obj0 = 0 ;
135251  AnimatSim::Node *result = 0 ;
135252 
135253  if (!PyArg_ParseTuple(args,(char *)"O:Node_CastToDerived",&obj0)) SWIG_fail;
135254  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
135255  if (!SWIG_IsOK(res1)) {
135256  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
135257  }
135258  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
135259  {
135260  try {
135261  result = (AnimatSim::Node *)AnimatSim::Node::CastToDerived(arg1);
135262  }
135263  catch(CStdErrorInfo oError)
135264  {
135265  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135266  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135267  PyErr_SetString(PyExc_IndexError, strError.c_str());
135268  SWIG_fail;
135269  }
135270  catch(...)
135271  {
135272  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135273  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135274  SWIG_fail;
135275  }
135276  }
135277  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
135278  return resultobj;
135279 fail:
135280  return NULL;
135281 }
135282 
135283 
135284 SWIGINTERN PyObject *_wrap_Node_Enabled__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135285  PyObject *resultobj = 0;
135286  AnimatSim::Node *arg1 = (AnimatSim::Node *) 0 ;
135287  void *argp1 = 0 ;
135288  int res1 = 0 ;
135289  PyObject * obj0 = 0 ;
135290  bool result;
135291 
135292  if (!PyArg_ParseTuple(args,(char *)"O:Node_Enabled",&obj0)) SWIG_fail;
135293  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
135294  if (!SWIG_IsOK(res1)) {
135295  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_Enabled" "', argument " "1"" of type '" "AnimatSim::Node *""'");
135296  }
135297  arg1 = reinterpret_cast< AnimatSim::Node * >(argp1);
135298  {
135299  try {
135300  result = (bool)(arg1)->Enabled();
135301  }
135302  catch(CStdErrorInfo oError)
135303  {
135304  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135305  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135306  PyErr_SetString(PyExc_IndexError, strError.c_str());
135307  SWIG_fail;
135308  }
135309  catch(...)
135310  {
135311  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135312  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135313  SWIG_fail;
135314  }
135315  }
135316  resultobj = SWIG_From_bool(static_cast< bool >(result));
135317  return resultobj;
135318 fail:
135319  return NULL;
135320 }
135321 
135322 
135323 SWIGINTERN PyObject *_wrap_Node_Enabled__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135324  PyObject *resultobj = 0;
135325  AnimatSim::Node *arg1 = (AnimatSim::Node *) 0 ;
135326  bool arg2 ;
135327  void *argp1 = 0 ;
135328  int res1 = 0 ;
135329  bool val2 ;
135330  int ecode2 = 0 ;
135331  PyObject * obj0 = 0 ;
135332  PyObject * obj1 = 0 ;
135333 
135334  if (!PyArg_ParseTuple(args,(char *)"OO:Node_Enabled",&obj0,&obj1)) SWIG_fail;
135335  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
135336  if (!SWIG_IsOK(res1)) {
135337  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_Enabled" "', argument " "1"" of type '" "AnimatSim::Node *""'");
135338  }
135339  arg1 = reinterpret_cast< AnimatSim::Node * >(argp1);
135340  ecode2 = SWIG_AsVal_bool(obj1, &val2);
135341  if (!SWIG_IsOK(ecode2)) {
135342  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Node_Enabled" "', argument " "2"" of type '" "bool""'");
135343  }
135344  arg2 = static_cast< bool >(val2);
135345  {
135346  try {
135347  (arg1)->Enabled(arg2);
135348  }
135349  catch(CStdErrorInfo oError)
135350  {
135351  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135352  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135353  PyErr_SetString(PyExc_IndexError, strError.c_str());
135354  SWIG_fail;
135355  }
135356  catch(...)
135357  {
135358  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135359  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135360  SWIG_fail;
135361  }
135362  }
135363  resultobj = SWIG_Py_Void();
135364  return resultobj;
135365 fail:
135366  return NULL;
135367 }
135368 
135369 
135370 SWIGINTERN PyObject *_wrap_Node_Enabled(PyObject *self, PyObject *args) {
135371  int argc;
135372  PyObject *argv[3];
135373  int ii;
135374 
135375  if (!PyTuple_Check(args)) SWIG_fail;
135376  argc = args ? (int)PyObject_Length(args) : 0;
135377  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
135378  argv[ii] = PyTuple_GET_ITEM(args,ii);
135379  }
135380  if (argc == 1) {
135381  int _v;
135382  void *vptr = 0;
135383  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Node, 0);
135384  _v = SWIG_CheckState(res);
135385  if (_v) {
135386  return _wrap_Node_Enabled__SWIG_0(self, args);
135387  }
135388  }
135389  if (argc == 2) {
135390  int _v;
135391  void *vptr = 0;
135392  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Node, 0);
135393  _v = SWIG_CheckState(res);
135394  if (_v) {
135395  {
135396  int res = SWIG_AsVal_bool(argv[1], NULL);
135397  _v = SWIG_CheckState(res);
135398  }
135399  if (_v) {
135400  return _wrap_Node_Enabled__SWIG_1(self, args);
135401  }
135402  }
135403  }
135404 
135405 fail:
135406  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Node_Enabled'.\n"
135407  " Possible C/C++ prototypes are:\n"
135408  " AnimatSim::Node::Enabled()\n"
135409  " AnimatSim::Node::Enabled(bool)\n");
135410  return 0;
135411 }
135412 
135413 
135414 SWIGINTERN PyObject *_wrap_Node_Kill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135415  PyObject *resultobj = 0;
135416  AnimatSim::Node *arg1 = (AnimatSim::Node *) 0 ;
135417  bool arg2 ;
135418  void *argp1 = 0 ;
135419  int res1 = 0 ;
135420  bool val2 ;
135421  int ecode2 = 0 ;
135422  PyObject * obj0 = 0 ;
135423  PyObject * obj1 = 0 ;
135424 
135425  if (!PyArg_ParseTuple(args,(char *)"OO:Node_Kill",&obj0,&obj1)) SWIG_fail;
135426  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
135427  if (!SWIG_IsOK(res1)) {
135428  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_Kill" "', argument " "1"" of type '" "AnimatSim::Node *""'");
135429  }
135430  arg1 = reinterpret_cast< AnimatSim::Node * >(argp1);
135431  ecode2 = SWIG_AsVal_bool(obj1, &val2);
135432  if (!SWIG_IsOK(ecode2)) {
135433  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Node_Kill" "', argument " "2"" of type '" "bool""'");
135434  }
135435  arg2 = static_cast< bool >(val2);
135436  {
135437  try {
135438  (arg1)->Kill(arg2);
135439  }
135440  catch(CStdErrorInfo oError)
135441  {
135442  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135443  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135444  PyErr_SetString(PyExc_IndexError, strError.c_str());
135445  SWIG_fail;
135446  }
135447  catch(...)
135448  {
135449  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135450  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135451  SWIG_fail;
135452  }
135453  }
135454  resultobj = SWIG_Py_Void();
135455  return resultobj;
135456 fail:
135457  return NULL;
135458 }
135459 
135460 
135461 SWIGINTERN PyObject *_wrap_Node_Kill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135462  PyObject *resultobj = 0;
135463  AnimatSim::Node *arg1 = (AnimatSim::Node *) 0 ;
135464  void *argp1 = 0 ;
135465  int res1 = 0 ;
135466  PyObject * obj0 = 0 ;
135467 
135468  if (!PyArg_ParseTuple(args,(char *)"O:Node_Kill",&obj0)) SWIG_fail;
135469  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
135470  if (!SWIG_IsOK(res1)) {
135471  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_Kill" "', argument " "1"" of type '" "AnimatSim::Node *""'");
135472  }
135473  arg1 = reinterpret_cast< AnimatSim::Node * >(argp1);
135474  {
135475  try {
135476  (arg1)->Kill();
135477  }
135478  catch(CStdErrorInfo oError)
135479  {
135480  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135481  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135482  PyErr_SetString(PyExc_IndexError, strError.c_str());
135483  SWIG_fail;
135484  }
135485  catch(...)
135486  {
135487  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135488  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135489  SWIG_fail;
135490  }
135491  }
135492  resultobj = SWIG_Py_Void();
135493  return resultobj;
135494 fail:
135495  return NULL;
135496 }
135497 
135498 
135499 SWIGINTERN PyObject *_wrap_Node_Kill(PyObject *self, PyObject *args) {
135500  int argc;
135501  PyObject *argv[3];
135502  int ii;
135503 
135504  if (!PyTuple_Check(args)) SWIG_fail;
135505  argc = args ? (int)PyObject_Length(args) : 0;
135506  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
135507  argv[ii] = PyTuple_GET_ITEM(args,ii);
135508  }
135509  if (argc == 1) {
135510  int _v;
135511  void *vptr = 0;
135512  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Node, 0);
135513  _v = SWIG_CheckState(res);
135514  if (_v) {
135515  return _wrap_Node_Kill__SWIG_1(self, args);
135516  }
135517  }
135518  if (argc == 2) {
135519  int _v;
135520  void *vptr = 0;
135521  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Node, 0);
135522  _v = SWIG_CheckState(res);
135523  if (_v) {
135524  {
135525  int res = SWIG_AsVal_bool(argv[1], NULL);
135526  _v = SWIG_CheckState(res);
135527  }
135528  if (_v) {
135529  return _wrap_Node_Kill__SWIG_0(self, args);
135530  }
135531  }
135532  }
135533 
135534 fail:
135535  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Node_Kill'.\n"
135536  " Possible C/C++ prototypes are:\n"
135537  " AnimatSim::Node::Kill(bool)\n"
135538  " AnimatSim::Node::Kill()\n");
135539  return 0;
135540 }
135541 
135542 
135543 SWIGINTERN PyObject *_wrap_Node_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135544  PyObject *resultobj = 0;
135545  AnimatSim::Node *arg1 = (AnimatSim::Node *) 0 ;
135546  CStdSerialize *arg2 = (CStdSerialize *) 0 ;
135547  void *argp1 = 0 ;
135548  int res1 = 0 ;
135549  void *argp2 = 0 ;
135550  int res2 = 0 ;
135551  PyObject * obj0 = 0 ;
135552  PyObject * obj1 = 0 ;
135553 
135554  if (!PyArg_ParseTuple(args,(char *)"OO:Node_Copy",&obj0,&obj1)) SWIG_fail;
135555  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
135556  if (!SWIG_IsOK(res1)) {
135557  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_Copy" "', argument " "1"" of type '" "AnimatSim::Node *""'");
135558  }
135559  arg1 = reinterpret_cast< AnimatSim::Node * >(argp1);
135560  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
135561  if (!SWIG_IsOK(res2)) {
135562  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Node_Copy" "', argument " "2"" of type '" "CStdSerialize *""'");
135563  }
135564  arg2 = reinterpret_cast< CStdSerialize * >(argp2);
135565  {
135566  try {
135567  (arg1)->Copy(arg2);
135568  }
135569  catch(CStdErrorInfo oError)
135570  {
135571  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135572  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135573  PyErr_SetString(PyExc_IndexError, strError.c_str());
135574  SWIG_fail;
135575  }
135576  catch(...)
135577  {
135578  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135579  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135580  SWIG_fail;
135581  }
135582  }
135583  resultobj = SWIG_Py_Void();
135584  return resultobj;
135585 fail:
135586  return NULL;
135587 }
135588 
135589 
135590 SWIGINTERN PyObject *_wrap_Node_AddExternalNodeInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135591  PyObject *resultobj = 0;
135592  AnimatSim::Node *arg1 = (AnimatSim::Node *) 0 ;
135593  int arg2 ;
135594  float arg3 ;
135595  void *argp1 = 0 ;
135596  int res1 = 0 ;
135597  int val2 ;
135598  int ecode2 = 0 ;
135599  float val3 ;
135600  int ecode3 = 0 ;
135601  PyObject * obj0 = 0 ;
135602  PyObject * obj1 = 0 ;
135603  PyObject * obj2 = 0 ;
135604 
135605  if (!PyArg_ParseTuple(args,(char *)"OOO:Node_AddExternalNodeInput",&obj0,&obj1,&obj2)) SWIG_fail;
135606  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
135607  if (!SWIG_IsOK(res1)) {
135608  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_AddExternalNodeInput" "', argument " "1"" of type '" "AnimatSim::Node *""'");
135609  }
135610  arg1 = reinterpret_cast< AnimatSim::Node * >(argp1);
135611  ecode2 = SWIG_AsVal_int(obj1, &val2);
135612  if (!SWIG_IsOK(ecode2)) {
135613  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Node_AddExternalNodeInput" "', argument " "2"" of type '" "int""'");
135614  }
135615  arg2 = static_cast< int >(val2);
135616  ecode3 = SWIG_AsVal_float(obj2, &val3);
135617  if (!SWIG_IsOK(ecode3)) {
135618  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Node_AddExternalNodeInput" "', argument " "3"" of type '" "float""'");
135619  }
135620  arg3 = static_cast< float >(val3);
135621  {
135622  try {
135623  (arg1)->AddExternalNodeInput(arg2,arg3);
135624  }
135625  catch(CStdErrorInfo oError)
135626  {
135627  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135628  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135629  PyErr_SetString(PyExc_IndexError, strError.c_str());
135630  SWIG_fail;
135631  }
135632  catch(...)
135633  {
135634  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135635  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135636  SWIG_fail;
135637  }
135638  }
135639  resultobj = SWIG_Py_Void();
135640  return resultobj;
135641 fail:
135642  return NULL;
135643 }
135644 
135645 
135646 SWIGINTERN PyObject *_wrap_Node_GetTargetDataTypeIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135647  PyObject *resultobj = 0;
135648  AnimatSim::Node *arg1 = (AnimatSim::Node *) 0 ;
135649  std::string *arg2 = 0 ;
135650  void *argp1 = 0 ;
135651  int res1 = 0 ;
135652  int res2 = SWIG_OLDOBJ ;
135653  PyObject * obj0 = 0 ;
135654  PyObject * obj1 = 0 ;
135655  int result;
135656 
135657  if (!PyArg_ParseTuple(args,(char *)"OO:Node_GetTargetDataTypeIndex",&obj0,&obj1)) SWIG_fail;
135658  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
135659  if (!SWIG_IsOK(res1)) {
135660  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_GetTargetDataTypeIndex" "', argument " "1"" of type '" "AnimatSim::Node *""'");
135661  }
135662  arg1 = reinterpret_cast< AnimatSim::Node * >(argp1);
135663  {
135664  std::string *ptr = (std::string *)0;
135665  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
135666  if (!SWIG_IsOK(res2)) {
135667  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Node_GetTargetDataTypeIndex" "', argument " "2"" of type '" "std::string const &""'");
135668  }
135669  if (!ptr) {
135670  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Node_GetTargetDataTypeIndex" "', argument " "2"" of type '" "std::string const &""'");
135671  }
135672  arg2 = ptr;
135673  }
135674  {
135675  try {
135676  result = (int)(arg1)->GetTargetDataTypeIndex((std::string const &)*arg2);
135677  }
135678  catch(CStdErrorInfo oError)
135679  {
135680  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135681  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135682  PyErr_SetString(PyExc_IndexError, strError.c_str());
135683  SWIG_fail;
135684  }
135685  catch(...)
135686  {
135687  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135688  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135689  SWIG_fail;
135690  }
135691  }
135692  resultobj = SWIG_From_int(static_cast< int >(result));
135693  if (SWIG_IsNewObj(res2)) delete arg2;
135694  return resultobj;
135695 fail:
135696  if (SWIG_IsNewObj(res2)) delete arg2;
135697  return NULL;
135698 }
135699 
135700 
135701 SWIGINTERN PyObject *_wrap_Node_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135702  PyObject *resultobj = 0;
135703  AnimatSim::Node *arg1 = (AnimatSim::Node *) 0 ;
135704  void *argp1 = 0 ;
135705  int res1 = 0 ;
135706  PyObject * obj0 = 0 ;
135707 
135708  if (!PyArg_ParseTuple(args,(char *)"O:Node_ResetSimulation",&obj0)) SWIG_fail;
135709  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
135710  if (!SWIG_IsOK(res1)) {
135711  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Node *""'");
135712  }
135713  arg1 = reinterpret_cast< AnimatSim::Node * >(argp1);
135714  {
135715  try {
135716  (arg1)->ResetSimulation();
135717  }
135718  catch(CStdErrorInfo oError)
135719  {
135720  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135721  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135722  PyErr_SetString(PyExc_IndexError, strError.c_str());
135723  SWIG_fail;
135724  }
135725  catch(...)
135726  {
135727  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135728  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135729  SWIG_fail;
135730  }
135731  }
135732  resultobj = SWIG_Py_Void();
135733  return resultobj;
135734 fail:
135735  return NULL;
135736 }
135737 
135738 
135739 SWIGINTERN PyObject *_wrap_Node_SetSystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135740  PyObject *resultobj = 0;
135741  AnimatSim::Node *arg1 = (AnimatSim::Node *) 0 ;
135742  Simulator *arg2 = (Simulator *) 0 ;
135743  Structure *arg3 = (Structure *) 0 ;
135744  NeuralModule *arg4 = (NeuralModule *) 0 ;
135745  AnimatSim::Node *arg5 = (AnimatSim::Node *) 0 ;
135746  bool arg6 ;
135747  void *argp1 = 0 ;
135748  int res1 = 0 ;
135749  void *argp2 = 0 ;
135750  int res2 = 0 ;
135751  void *argp3 = 0 ;
135752  int res3 = 0 ;
135753  void *argp4 = 0 ;
135754  int res4 = 0 ;
135755  void *argp5 = 0 ;
135756  int res5 = 0 ;
135757  bool val6 ;
135758  int ecode6 = 0 ;
135759  PyObject * obj0 = 0 ;
135760  PyObject * obj1 = 0 ;
135761  PyObject * obj2 = 0 ;
135762  PyObject * obj3 = 0 ;
135763  PyObject * obj4 = 0 ;
135764  PyObject * obj5 = 0 ;
135765 
135766  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:Node_SetSystemPointers",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
135767  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
135768  if (!SWIG_IsOK(res1)) {
135769  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_SetSystemPointers" "', argument " "1"" of type '" "AnimatSim::Node *""'");
135770  }
135771  arg1 = reinterpret_cast< AnimatSim::Node * >(argp1);
135772  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Simulator, 0 | 0 );
135773  if (!SWIG_IsOK(res2)) {
135774  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Node_SetSystemPointers" "', argument " "2"" of type '" "Simulator *""'");
135775  }
135776  arg2 = reinterpret_cast< Simulator * >(argp2);
135777  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Structure, 0 | 0 );
135778  if (!SWIG_IsOK(res3)) {
135779  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Node_SetSystemPointers" "', argument " "3"" of type '" "Structure *""'");
135780  }
135781  arg3 = reinterpret_cast< Structure * >(argp3);
135782  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_NeuralModule, 0 | 0 );
135783  if (!SWIG_IsOK(res4)) {
135784  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Node_SetSystemPointers" "', argument " "4"" of type '" "NeuralModule *""'");
135785  }
135786  arg4 = reinterpret_cast< NeuralModule * >(argp4);
135787  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
135788  if (!SWIG_IsOK(res5)) {
135789  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Node_SetSystemPointers" "', argument " "5"" of type '" "AnimatSim::Node *""'");
135790  }
135791  arg5 = reinterpret_cast< AnimatSim::Node * >(argp5);
135792  ecode6 = SWIG_AsVal_bool(obj5, &val6);
135793  if (!SWIG_IsOK(ecode6)) {
135794  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Node_SetSystemPointers" "', argument " "6"" of type '" "bool""'");
135795  }
135796  arg6 = static_cast< bool >(val6);
135797  {
135798  try {
135799  (arg1)->SetSystemPointers(arg2,arg3,arg4,arg5,arg6);
135800  }
135801  catch(CStdErrorInfo oError)
135802  {
135803  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135804  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135805  PyErr_SetString(PyExc_IndexError, strError.c_str());
135806  SWIG_fail;
135807  }
135808  catch(...)
135809  {
135810  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135811  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135812  SWIG_fail;
135813  }
135814  }
135815  resultobj = SWIG_Py_Void();
135816  return resultobj;
135817 fail:
135818  return NULL;
135819 }
135820 
135821 
135822 SWIGINTERN PyObject *_wrap_Node_VerifySystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135823  PyObject *resultobj = 0;
135824  AnimatSim::Node *arg1 = (AnimatSim::Node *) 0 ;
135825  void *argp1 = 0 ;
135826  int res1 = 0 ;
135827  PyObject * obj0 = 0 ;
135828 
135829  if (!PyArg_ParseTuple(args,(char *)"O:Node_VerifySystemPointers",&obj0)) SWIG_fail;
135830  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
135831  if (!SWIG_IsOK(res1)) {
135832  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_VerifySystemPointers" "', argument " "1"" of type '" "AnimatSim::Node *""'");
135833  }
135834  arg1 = reinterpret_cast< AnimatSim::Node * >(argp1);
135835  {
135836  try {
135837  (arg1)->VerifySystemPointers();
135838  }
135839  catch(CStdErrorInfo oError)
135840  {
135841  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135842  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135843  PyErr_SetString(PyExc_IndexError, strError.c_str());
135844  SWIG_fail;
135845  }
135846  catch(...)
135847  {
135848  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135849  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135850  SWIG_fail;
135851  }
135852  }
135853  resultobj = SWIG_Py_Void();
135854  return resultobj;
135855 fail:
135856  return NULL;
135857 }
135858 
135859 
135860 SWIGINTERN PyObject *_wrap_Node_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135861  PyObject *resultobj = 0;
135862  AnimatSim::Node *arg1 = (AnimatSim::Node *) 0 ;
135863  std::string *arg2 = 0 ;
135864  std::string *arg3 = 0 ;
135865  bool arg4 ;
135866  void *argp1 = 0 ;
135867  int res1 = 0 ;
135868  int res2 = SWIG_OLDOBJ ;
135869  int res3 = SWIG_OLDOBJ ;
135870  bool val4 ;
135871  int ecode4 = 0 ;
135872  PyObject * obj0 = 0 ;
135873  PyObject * obj1 = 0 ;
135874  PyObject * obj2 = 0 ;
135875  PyObject * obj3 = 0 ;
135876  bool result;
135877 
135878  if (!PyArg_ParseTuple(args,(char *)"OOOO:Node_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
135879  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
135880  if (!SWIG_IsOK(res1)) {
135881  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_SetData" "', argument " "1"" of type '" "AnimatSim::Node *""'");
135882  }
135883  arg1 = reinterpret_cast< AnimatSim::Node * >(argp1);
135884  {
135885  std::string *ptr = (std::string *)0;
135886  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
135887  if (!SWIG_IsOK(res2)) {
135888  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Node_SetData" "', argument " "2"" of type '" "std::string const &""'");
135889  }
135890  if (!ptr) {
135891  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Node_SetData" "', argument " "2"" of type '" "std::string const &""'");
135892  }
135893  arg2 = ptr;
135894  }
135895  {
135896  std::string *ptr = (std::string *)0;
135897  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
135898  if (!SWIG_IsOK(res3)) {
135899  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Node_SetData" "', argument " "3"" of type '" "std::string const &""'");
135900  }
135901  if (!ptr) {
135902  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Node_SetData" "', argument " "3"" of type '" "std::string const &""'");
135903  }
135904  arg3 = ptr;
135905  }
135906  ecode4 = SWIG_AsVal_bool(obj3, &val4);
135907  if (!SWIG_IsOK(ecode4)) {
135908  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Node_SetData" "', argument " "4"" of type '" "bool""'");
135909  }
135910  arg4 = static_cast< bool >(val4);
135911  {
135912  try {
135913  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
135914  }
135915  catch(CStdErrorInfo oError)
135916  {
135917  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135918  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135919  PyErr_SetString(PyExc_IndexError, strError.c_str());
135920  SWIG_fail;
135921  }
135922  catch(...)
135923  {
135924  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135925  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135926  SWIG_fail;
135927  }
135928  }
135929  resultobj = SWIG_From_bool(static_cast< bool >(result));
135930  if (SWIG_IsNewObj(res2)) delete arg2;
135931  if (SWIG_IsNewObj(res3)) delete arg3;
135932  return resultobj;
135933 fail:
135934  if (SWIG_IsNewObj(res2)) delete arg2;
135935  if (SWIG_IsNewObj(res3)) delete arg3;
135936  return NULL;
135937 }
135938 
135939 
135940 SWIGINTERN PyObject *_wrap_Node_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
135941  PyObject *resultobj = 0;
135942  AnimatSim::Node *arg1 = (AnimatSim::Node *) 0 ;
135943  std::string *arg2 = 0 ;
135944  std::string *arg3 = 0 ;
135945  void *argp1 = 0 ;
135946  int res1 = 0 ;
135947  int res2 = SWIG_OLDOBJ ;
135948  int res3 = SWIG_OLDOBJ ;
135949  PyObject * obj0 = 0 ;
135950  PyObject * obj1 = 0 ;
135951  PyObject * obj2 = 0 ;
135952  bool result;
135953 
135954  if (!PyArg_ParseTuple(args,(char *)"OOO:Node_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
135955  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
135956  if (!SWIG_IsOK(res1)) {
135957  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_SetData" "', argument " "1"" of type '" "AnimatSim::Node *""'");
135958  }
135959  arg1 = reinterpret_cast< AnimatSim::Node * >(argp1);
135960  {
135961  std::string *ptr = (std::string *)0;
135962  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
135963  if (!SWIG_IsOK(res2)) {
135964  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Node_SetData" "', argument " "2"" of type '" "std::string const &""'");
135965  }
135966  if (!ptr) {
135967  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Node_SetData" "', argument " "2"" of type '" "std::string const &""'");
135968  }
135969  arg2 = ptr;
135970  }
135971  {
135972  std::string *ptr = (std::string *)0;
135973  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
135974  if (!SWIG_IsOK(res3)) {
135975  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Node_SetData" "', argument " "3"" of type '" "std::string const &""'");
135976  }
135977  if (!ptr) {
135978  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Node_SetData" "', argument " "3"" of type '" "std::string const &""'");
135979  }
135980  arg3 = ptr;
135981  }
135982  {
135983  try {
135984  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
135985  }
135986  catch(CStdErrorInfo oError)
135987  {
135988  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135989  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
135990  PyErr_SetString(PyExc_IndexError, strError.c_str());
135991  SWIG_fail;
135992  }
135993  catch(...)
135994  {
135995  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
135996  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
135997  SWIG_fail;
135998  }
135999  }
136000  resultobj = SWIG_From_bool(static_cast< bool >(result));
136001  if (SWIG_IsNewObj(res2)) delete arg2;
136002  if (SWIG_IsNewObj(res3)) delete arg3;
136003  return resultobj;
136004 fail:
136005  if (SWIG_IsNewObj(res2)) delete arg2;
136006  if (SWIG_IsNewObj(res3)) delete arg3;
136007  return NULL;
136008 }
136009 
136010 
136011 SWIGINTERN PyObject *_wrap_Node_SetData(PyObject *self, PyObject *args) {
136012  int argc;
136013  PyObject *argv[5];
136014  int ii;
136015 
136016  if (!PyTuple_Check(args)) SWIG_fail;
136017  argc = args ? (int)PyObject_Length(args) : 0;
136018  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
136019  argv[ii] = PyTuple_GET_ITEM(args,ii);
136020  }
136021  if (argc == 3) {
136022  int _v;
136023  void *vptr = 0;
136024  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Node, 0);
136025  _v = SWIG_CheckState(res);
136026  if (_v) {
136027  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
136028  _v = SWIG_CheckState(res);
136029  if (_v) {
136030  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
136031  _v = SWIG_CheckState(res);
136032  if (_v) {
136033  return _wrap_Node_SetData__SWIG_1(self, args);
136034  }
136035  }
136036  }
136037  }
136038  if (argc == 4) {
136039  int _v;
136040  void *vptr = 0;
136041  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Node, 0);
136042  _v = SWIG_CheckState(res);
136043  if (_v) {
136044  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
136045  _v = SWIG_CheckState(res);
136046  if (_v) {
136047  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
136048  _v = SWIG_CheckState(res);
136049  if (_v) {
136050  {
136051  int res = SWIG_AsVal_bool(argv[3], NULL);
136052  _v = SWIG_CheckState(res);
136053  }
136054  if (_v) {
136055  return _wrap_Node_SetData__SWIG_0(self, args);
136056  }
136057  }
136058  }
136059  }
136060  }
136061 
136062 fail:
136063  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Node_SetData'.\n"
136064  " Possible C/C++ prototypes are:\n"
136065  " AnimatSim::Node::SetData(std::string const &,std::string const &,bool)\n"
136066  " AnimatSim::Node::SetData(std::string const &,std::string const &)\n");
136067  return 0;
136068 }
136069 
136070 
136071 SWIGINTERN PyObject *_wrap_Node_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136072  PyObject *resultobj = 0;
136073  AnimatSim::Node *arg1 = (AnimatSim::Node *) 0 ;
136074  CStdPtrArray< TypeProperty > *arg2 = 0 ;
136075  void *argp1 = 0 ;
136076  int res1 = 0 ;
136077  void *argp2 = 0 ;
136078  int res2 = 0 ;
136079  PyObject * obj0 = 0 ;
136080  PyObject * obj1 = 0 ;
136081 
136082  if (!PyArg_ParseTuple(args,(char *)"OO:Node_QueryProperties",&obj0,&obj1)) SWIG_fail;
136083  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
136084  if (!SWIG_IsOK(res1)) {
136085  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Node *""'");
136086  }
136087  arg1 = reinterpret_cast< AnimatSim::Node * >(argp1);
136088  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
136089  if (!SWIG_IsOK(res2)) {
136090  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Node_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
136091  }
136092  if (!argp2) {
136093  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Node_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
136094  }
136095  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
136096  {
136097  try {
136098  (arg1)->QueryProperties(*arg2);
136099  }
136100  catch(CStdErrorInfo oError)
136101  {
136102  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136103  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136104  PyErr_SetString(PyExc_IndexError, strError.c_str());
136105  SWIG_fail;
136106  }
136107  catch(...)
136108  {
136109  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136110  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136111  SWIG_fail;
136112  }
136113  }
136114  resultobj = SWIG_Py_Void();
136115  return resultobj;
136116 fail:
136117  return NULL;
136118 }
136119 
136120 
136121 SWIGINTERN PyObject *Node_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136122  PyObject *obj;
136123  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
136124  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Node, SWIG_NewClientData(obj));
136125  return SWIG_Py_Void();
136126 }
136127 
136128 SWIGINTERN PyObject *_wrap_new_Link(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136129  PyObject *resultobj = 0;
136130  AnimatSim::Link *result = 0 ;
136131 
136132  if (!PyArg_ParseTuple(args,(char *)":new_Link")) SWIG_fail;
136133  {
136134  try {
136135  result = (AnimatSim::Link *)new AnimatSim::Link();
136136  }
136137  catch(CStdErrorInfo oError)
136138  {
136139  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136140  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136141  PyErr_SetString(PyExc_IndexError, strError.c_str());
136142  SWIG_fail;
136143  }
136144  catch(...)
136145  {
136146  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136147  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136148  SWIG_fail;
136149  }
136150  }
136151  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Link, SWIG_POINTER_NEW | 0 );
136152  return resultobj;
136153 fail:
136154  return NULL;
136155 }
136156 
136157 
136158 SWIGINTERN PyObject *_wrap_delete_Link(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136159  PyObject *resultobj = 0;
136160  AnimatSim::Link *arg1 = (AnimatSim::Link *) 0 ;
136161  void *argp1 = 0 ;
136162  int res1 = 0 ;
136163  PyObject * obj0 = 0 ;
136164 
136165  if (!PyArg_ParseTuple(args,(char *)"O:delete_Link",&obj0)) SWIG_fail;
136166  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Link, SWIG_POINTER_DISOWN | 0 );
136167  if (!SWIG_IsOK(res1)) {
136168  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Link" "', argument " "1"" of type '" "AnimatSim::Link *""'");
136169  }
136170  arg1 = reinterpret_cast< AnimatSim::Link * >(argp1);
136171  {
136172  try {
136173  delete arg1;
136174  }
136175  catch(CStdErrorInfo oError)
136176  {
136177  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136178  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136179  PyErr_SetString(PyExc_IndexError, strError.c_str());
136180  SWIG_fail;
136181  }
136182  catch(...)
136183  {
136184  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136185  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136186  SWIG_fail;
136187  }
136188  }
136189  resultobj = SWIG_Py_Void();
136190  return resultobj;
136191 fail:
136192  return NULL;
136193 }
136194 
136195 
136196 SWIGINTERN PyObject *_wrap_Link_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136197  PyObject *resultobj = 0;
136199  void *argp1 = 0 ;
136200  int res1 = 0 ;
136201  PyObject * obj0 = 0 ;
136202  AnimatSim::Link *result = 0 ;
136203 
136204  if (!PyArg_ParseTuple(args,(char *)"O:Link_CastToDerived",&obj0)) SWIG_fail;
136205  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
136206  if (!SWIG_IsOK(res1)) {
136207  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Link_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
136208  }
136209  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
136210  {
136211  try {
136212  result = (AnimatSim::Link *)AnimatSim::Link::CastToDerived(arg1);
136213  }
136214  catch(CStdErrorInfo oError)
136215  {
136216  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136217  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136218  PyErr_SetString(PyExc_IndexError, strError.c_str());
136219  SWIG_fail;
136220  }
136221  catch(...)
136222  {
136223  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136224  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136225  SWIG_fail;
136226  }
136227  }
136228  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Link, 0 | 0 );
136229  return resultobj;
136230 fail:
136231  return NULL;
136232 }
136233 
136234 
136235 SWIGINTERN PyObject *_wrap_Link_Enabled__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136236  PyObject *resultobj = 0;
136237  AnimatSim::Link *arg1 = (AnimatSim::Link *) 0 ;
136238  void *argp1 = 0 ;
136239  int res1 = 0 ;
136240  PyObject * obj0 = 0 ;
136241  bool result;
136242 
136243  if (!PyArg_ParseTuple(args,(char *)"O:Link_Enabled",&obj0)) SWIG_fail;
136244  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Link, 0 | 0 );
136245  if (!SWIG_IsOK(res1)) {
136246  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Link_Enabled" "', argument " "1"" of type '" "AnimatSim::Link *""'");
136247  }
136248  arg1 = reinterpret_cast< AnimatSim::Link * >(argp1);
136249  {
136250  try {
136251  result = (bool)(arg1)->Enabled();
136252  }
136253  catch(CStdErrorInfo oError)
136254  {
136255  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136256  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136257  PyErr_SetString(PyExc_IndexError, strError.c_str());
136258  SWIG_fail;
136259  }
136260  catch(...)
136261  {
136262  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136263  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136264  SWIG_fail;
136265  }
136266  }
136267  resultobj = SWIG_From_bool(static_cast< bool >(result));
136268  return resultobj;
136269 fail:
136270  return NULL;
136271 }
136272 
136273 
136274 SWIGINTERN PyObject *_wrap_Link_Enabled__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136275  PyObject *resultobj = 0;
136276  AnimatSim::Link *arg1 = (AnimatSim::Link *) 0 ;
136277  bool arg2 ;
136278  void *argp1 = 0 ;
136279  int res1 = 0 ;
136280  bool val2 ;
136281  int ecode2 = 0 ;
136282  PyObject * obj0 = 0 ;
136283  PyObject * obj1 = 0 ;
136284 
136285  if (!PyArg_ParseTuple(args,(char *)"OO:Link_Enabled",&obj0,&obj1)) SWIG_fail;
136286  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Link, 0 | 0 );
136287  if (!SWIG_IsOK(res1)) {
136288  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Link_Enabled" "', argument " "1"" of type '" "AnimatSim::Link *""'");
136289  }
136290  arg1 = reinterpret_cast< AnimatSim::Link * >(argp1);
136291  ecode2 = SWIG_AsVal_bool(obj1, &val2);
136292  if (!SWIG_IsOK(ecode2)) {
136293  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Link_Enabled" "', argument " "2"" of type '" "bool""'");
136294  }
136295  arg2 = static_cast< bool >(val2);
136296  {
136297  try {
136298  (arg1)->Enabled(arg2);
136299  }
136300  catch(CStdErrorInfo oError)
136301  {
136302  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136303  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136304  PyErr_SetString(PyExc_IndexError, strError.c_str());
136305  SWIG_fail;
136306  }
136307  catch(...)
136308  {
136309  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136310  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136311  SWIG_fail;
136312  }
136313  }
136314  resultobj = SWIG_Py_Void();
136315  return resultobj;
136316 fail:
136317  return NULL;
136318 }
136319 
136320 
136321 SWIGINTERN PyObject *_wrap_Link_Enabled(PyObject *self, PyObject *args) {
136322  int argc;
136323  PyObject *argv[3];
136324  int ii;
136325 
136326  if (!PyTuple_Check(args)) SWIG_fail;
136327  argc = args ? (int)PyObject_Length(args) : 0;
136328  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
136329  argv[ii] = PyTuple_GET_ITEM(args,ii);
136330  }
136331  if (argc == 1) {
136332  int _v;
136333  void *vptr = 0;
136334  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Link, 0);
136335  _v = SWIG_CheckState(res);
136336  if (_v) {
136337  return _wrap_Link_Enabled__SWIG_0(self, args);
136338  }
136339  }
136340  if (argc == 2) {
136341  int _v;
136342  void *vptr = 0;
136343  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Link, 0);
136344  _v = SWIG_CheckState(res);
136345  if (_v) {
136346  {
136347  int res = SWIG_AsVal_bool(argv[1], NULL);
136348  _v = SWIG_CheckState(res);
136349  }
136350  if (_v) {
136351  return _wrap_Link_Enabled__SWIG_1(self, args);
136352  }
136353  }
136354  }
136355 
136356 fail:
136357  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Link_Enabled'.\n"
136358  " Possible C/C++ prototypes are:\n"
136359  " AnimatSim::Link::Enabled()\n"
136360  " AnimatSim::Link::Enabled(bool)\n");
136361  return 0;
136362 }
136363 
136364 
136365 SWIGINTERN PyObject *_wrap_Link_SetSystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136366  PyObject *resultobj = 0;
136367  AnimatSim::Link *arg1 = (AnimatSim::Link *) 0 ;
136368  Simulator *arg2 = (Simulator *) 0 ;
136369  Structure *arg3 = (Structure *) 0 ;
136370  NeuralModule *arg4 = (NeuralModule *) 0 ;
136371  AnimatSim::Node *arg5 = (AnimatSim::Node *) 0 ;
136372  bool arg6 ;
136373  void *argp1 = 0 ;
136374  int res1 = 0 ;
136375  void *argp2 = 0 ;
136376  int res2 = 0 ;
136377  void *argp3 = 0 ;
136378  int res3 = 0 ;
136379  void *argp4 = 0 ;
136380  int res4 = 0 ;
136381  void *argp5 = 0 ;
136382  int res5 = 0 ;
136383  bool val6 ;
136384  int ecode6 = 0 ;
136385  PyObject * obj0 = 0 ;
136386  PyObject * obj1 = 0 ;
136387  PyObject * obj2 = 0 ;
136388  PyObject * obj3 = 0 ;
136389  PyObject * obj4 = 0 ;
136390  PyObject * obj5 = 0 ;
136391 
136392  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:Link_SetSystemPointers",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
136393  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Link, 0 | 0 );
136394  if (!SWIG_IsOK(res1)) {
136395  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Link_SetSystemPointers" "', argument " "1"" of type '" "AnimatSim::Link *""'");
136396  }
136397  arg1 = reinterpret_cast< AnimatSim::Link * >(argp1);
136398  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Simulator, 0 | 0 );
136399  if (!SWIG_IsOK(res2)) {
136400  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Link_SetSystemPointers" "', argument " "2"" of type '" "Simulator *""'");
136401  }
136402  arg2 = reinterpret_cast< Simulator * >(argp2);
136403  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Structure, 0 | 0 );
136404  if (!SWIG_IsOK(res3)) {
136405  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Link_SetSystemPointers" "', argument " "3"" of type '" "Structure *""'");
136406  }
136407  arg3 = reinterpret_cast< Structure * >(argp3);
136408  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_NeuralModule, 0 | 0 );
136409  if (!SWIG_IsOK(res4)) {
136410  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Link_SetSystemPointers" "', argument " "4"" of type '" "NeuralModule *""'");
136411  }
136412  arg4 = reinterpret_cast< NeuralModule * >(argp4);
136413  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
136414  if (!SWIG_IsOK(res5)) {
136415  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Link_SetSystemPointers" "', argument " "5"" of type '" "AnimatSim::Node *""'");
136416  }
136417  arg5 = reinterpret_cast< AnimatSim::Node * >(argp5);
136418  ecode6 = SWIG_AsVal_bool(obj5, &val6);
136419  if (!SWIG_IsOK(ecode6)) {
136420  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Link_SetSystemPointers" "', argument " "6"" of type '" "bool""'");
136421  }
136422  arg6 = static_cast< bool >(val6);
136423  {
136424  try {
136425  (arg1)->SetSystemPointers(arg2,arg3,arg4,arg5,arg6);
136426  }
136427  catch(CStdErrorInfo oError)
136428  {
136429  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136430  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136431  PyErr_SetString(PyExc_IndexError, strError.c_str());
136432  SWIG_fail;
136433  }
136434  catch(...)
136435  {
136436  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136437  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136438  SWIG_fail;
136439  }
136440  }
136441  resultobj = SWIG_Py_Void();
136442  return resultobj;
136443 fail:
136444  return NULL;
136445 }
136446 
136447 
136448 SWIGINTERN PyObject *_wrap_Link_VerifySystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136449  PyObject *resultobj = 0;
136450  AnimatSim::Link *arg1 = (AnimatSim::Link *) 0 ;
136451  void *argp1 = 0 ;
136452  int res1 = 0 ;
136453  PyObject * obj0 = 0 ;
136454 
136455  if (!PyArg_ParseTuple(args,(char *)"O:Link_VerifySystemPointers",&obj0)) SWIG_fail;
136456  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Link, 0 | 0 );
136457  if (!SWIG_IsOK(res1)) {
136458  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Link_VerifySystemPointers" "', argument " "1"" of type '" "AnimatSim::Link *""'");
136459  }
136460  arg1 = reinterpret_cast< AnimatSim::Link * >(argp1);
136461  {
136462  try {
136463  (arg1)->VerifySystemPointers();
136464  }
136465  catch(CStdErrorInfo oError)
136466  {
136467  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136468  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136469  PyErr_SetString(PyExc_IndexError, strError.c_str());
136470  SWIG_fail;
136471  }
136472  catch(...)
136473  {
136474  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136475  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136476  SWIG_fail;
136477  }
136478  }
136479  resultobj = SWIG_Py_Void();
136480  return resultobj;
136481 fail:
136482  return NULL;
136483 }
136484 
136485 
136486 SWIGINTERN PyObject *_wrap_Link_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136487  PyObject *resultobj = 0;
136488  AnimatSim::Link *arg1 = (AnimatSim::Link *) 0 ;
136489  std::string *arg2 = 0 ;
136490  std::string *arg3 = 0 ;
136491  bool arg4 ;
136492  void *argp1 = 0 ;
136493  int res1 = 0 ;
136494  int res2 = SWIG_OLDOBJ ;
136495  int res3 = SWIG_OLDOBJ ;
136496  bool val4 ;
136497  int ecode4 = 0 ;
136498  PyObject * obj0 = 0 ;
136499  PyObject * obj1 = 0 ;
136500  PyObject * obj2 = 0 ;
136501  PyObject * obj3 = 0 ;
136502  bool result;
136503 
136504  if (!PyArg_ParseTuple(args,(char *)"OOOO:Link_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
136505  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Link, 0 | 0 );
136506  if (!SWIG_IsOK(res1)) {
136507  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Link_SetData" "', argument " "1"" of type '" "AnimatSim::Link *""'");
136508  }
136509  arg1 = reinterpret_cast< AnimatSim::Link * >(argp1);
136510  {
136511  std::string *ptr = (std::string *)0;
136512  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
136513  if (!SWIG_IsOK(res2)) {
136514  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Link_SetData" "', argument " "2"" of type '" "std::string const &""'");
136515  }
136516  if (!ptr) {
136517  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Link_SetData" "', argument " "2"" of type '" "std::string const &""'");
136518  }
136519  arg2 = ptr;
136520  }
136521  {
136522  std::string *ptr = (std::string *)0;
136523  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
136524  if (!SWIG_IsOK(res3)) {
136525  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Link_SetData" "', argument " "3"" of type '" "std::string const &""'");
136526  }
136527  if (!ptr) {
136528  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Link_SetData" "', argument " "3"" of type '" "std::string const &""'");
136529  }
136530  arg3 = ptr;
136531  }
136532  ecode4 = SWIG_AsVal_bool(obj3, &val4);
136533  if (!SWIG_IsOK(ecode4)) {
136534  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Link_SetData" "', argument " "4"" of type '" "bool""'");
136535  }
136536  arg4 = static_cast< bool >(val4);
136537  {
136538  try {
136539  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
136540  }
136541  catch(CStdErrorInfo oError)
136542  {
136543  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136544  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136545  PyErr_SetString(PyExc_IndexError, strError.c_str());
136546  SWIG_fail;
136547  }
136548  catch(...)
136549  {
136550  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136551  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136552  SWIG_fail;
136553  }
136554  }
136555  resultobj = SWIG_From_bool(static_cast< bool >(result));
136556  if (SWIG_IsNewObj(res2)) delete arg2;
136557  if (SWIG_IsNewObj(res3)) delete arg3;
136558  return resultobj;
136559 fail:
136560  if (SWIG_IsNewObj(res2)) delete arg2;
136561  if (SWIG_IsNewObj(res3)) delete arg3;
136562  return NULL;
136563 }
136564 
136565 
136566 SWIGINTERN PyObject *_wrap_Link_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136567  PyObject *resultobj = 0;
136568  AnimatSim::Link *arg1 = (AnimatSim::Link *) 0 ;
136569  std::string *arg2 = 0 ;
136570  std::string *arg3 = 0 ;
136571  void *argp1 = 0 ;
136572  int res1 = 0 ;
136573  int res2 = SWIG_OLDOBJ ;
136574  int res3 = SWIG_OLDOBJ ;
136575  PyObject * obj0 = 0 ;
136576  PyObject * obj1 = 0 ;
136577  PyObject * obj2 = 0 ;
136578  bool result;
136579 
136580  if (!PyArg_ParseTuple(args,(char *)"OOO:Link_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
136581  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Link, 0 | 0 );
136582  if (!SWIG_IsOK(res1)) {
136583  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Link_SetData" "', argument " "1"" of type '" "AnimatSim::Link *""'");
136584  }
136585  arg1 = reinterpret_cast< AnimatSim::Link * >(argp1);
136586  {
136587  std::string *ptr = (std::string *)0;
136588  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
136589  if (!SWIG_IsOK(res2)) {
136590  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Link_SetData" "', argument " "2"" of type '" "std::string const &""'");
136591  }
136592  if (!ptr) {
136593  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Link_SetData" "', argument " "2"" of type '" "std::string const &""'");
136594  }
136595  arg2 = ptr;
136596  }
136597  {
136598  std::string *ptr = (std::string *)0;
136599  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
136600  if (!SWIG_IsOK(res3)) {
136601  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Link_SetData" "', argument " "3"" of type '" "std::string const &""'");
136602  }
136603  if (!ptr) {
136604  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Link_SetData" "', argument " "3"" of type '" "std::string const &""'");
136605  }
136606  arg3 = ptr;
136607  }
136608  {
136609  try {
136610  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
136611  }
136612  catch(CStdErrorInfo oError)
136613  {
136614  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136615  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136616  PyErr_SetString(PyExc_IndexError, strError.c_str());
136617  SWIG_fail;
136618  }
136619  catch(...)
136620  {
136621  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136622  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136623  SWIG_fail;
136624  }
136625  }
136626  resultobj = SWIG_From_bool(static_cast< bool >(result));
136627  if (SWIG_IsNewObj(res2)) delete arg2;
136628  if (SWIG_IsNewObj(res3)) delete arg3;
136629  return resultobj;
136630 fail:
136631  if (SWIG_IsNewObj(res2)) delete arg2;
136632  if (SWIG_IsNewObj(res3)) delete arg3;
136633  return NULL;
136634 }
136635 
136636 
136637 SWIGINTERN PyObject *_wrap_Link_SetData(PyObject *self, PyObject *args) {
136638  int argc;
136639  PyObject *argv[5];
136640  int ii;
136641 
136642  if (!PyTuple_Check(args)) SWIG_fail;
136643  argc = args ? (int)PyObject_Length(args) : 0;
136644  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
136645  argv[ii] = PyTuple_GET_ITEM(args,ii);
136646  }
136647  if (argc == 3) {
136648  int _v;
136649  void *vptr = 0;
136650  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Link, 0);
136651  _v = SWIG_CheckState(res);
136652  if (_v) {
136653  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
136654  _v = SWIG_CheckState(res);
136655  if (_v) {
136656  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
136657  _v = SWIG_CheckState(res);
136658  if (_v) {
136659  return _wrap_Link_SetData__SWIG_1(self, args);
136660  }
136661  }
136662  }
136663  }
136664  if (argc == 4) {
136665  int _v;
136666  void *vptr = 0;
136667  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Link, 0);
136668  _v = SWIG_CheckState(res);
136669  if (_v) {
136670  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
136671  _v = SWIG_CheckState(res);
136672  if (_v) {
136673  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
136674  _v = SWIG_CheckState(res);
136675  if (_v) {
136676  {
136677  int res = SWIG_AsVal_bool(argv[3], NULL);
136678  _v = SWIG_CheckState(res);
136679  }
136680  if (_v) {
136681  return _wrap_Link_SetData__SWIG_0(self, args);
136682  }
136683  }
136684  }
136685  }
136686  }
136687 
136688 fail:
136689  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Link_SetData'.\n"
136690  " Possible C/C++ prototypes are:\n"
136691  " AnimatSim::Link::SetData(std::string const &,std::string const &,bool)\n"
136692  " AnimatSim::Link::SetData(std::string const &,std::string const &)\n");
136693  return 0;
136694 }
136695 
136696 
136697 SWIGINTERN PyObject *_wrap_Link_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136698  PyObject *resultobj = 0;
136699  AnimatSim::Link *arg1 = (AnimatSim::Link *) 0 ;
136700  CStdPtrArray< TypeProperty > *arg2 = 0 ;
136701  void *argp1 = 0 ;
136702  int res1 = 0 ;
136703  void *argp2 = 0 ;
136704  int res2 = 0 ;
136705  PyObject * obj0 = 0 ;
136706  PyObject * obj1 = 0 ;
136707 
136708  if (!PyArg_ParseTuple(args,(char *)"OO:Link_QueryProperties",&obj0,&obj1)) SWIG_fail;
136709  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Link, 0 | 0 );
136710  if (!SWIG_IsOK(res1)) {
136711  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Link_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Link *""'");
136712  }
136713  arg1 = reinterpret_cast< AnimatSim::Link * >(argp1);
136714  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
136715  if (!SWIG_IsOK(res2)) {
136716  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Link_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
136717  }
136718  if (!argp2) {
136719  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Link_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
136720  }
136721  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
136722  {
136723  try {
136724  (arg1)->QueryProperties(*arg2);
136725  }
136726  catch(CStdErrorInfo oError)
136727  {
136728  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136729  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136730  PyErr_SetString(PyExc_IndexError, strError.c_str());
136731  SWIG_fail;
136732  }
136733  catch(...)
136734  {
136735  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136736  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136737  SWIG_fail;
136738  }
136739  }
136740  resultobj = SWIG_Py_Void();
136741  return resultobj;
136742 fail:
136743  return NULL;
136744 }
136745 
136746 
136747 SWIGINTERN PyObject *Link_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136748  PyObject *obj;
136749  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
136750  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Link, SWIG_NewClientData(obj));
136751  return SWIG_Py_Void();
136752 }
136753 
136754 SWIGINTERN PyObject *_wrap_delete_IPhysicsMovableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136755  PyObject *resultobj = 0;
136757  void *argp1 = 0 ;
136758  int res1 = 0 ;
136759  PyObject * obj0 = 0 ;
136760 
136761  if (!PyArg_ParseTuple(args,(char *)"O:delete_IPhysicsMovableItem",&obj0)) SWIG_fail;
136762  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, SWIG_POINTER_DISOWN | 0 );
136763  if (!SWIG_IsOK(res1)) {
136764  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IPhysicsMovableItem" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
136765  }
136766  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
136767  {
136768  try {
136769  delete arg1;
136770  }
136771  catch(CStdErrorInfo oError)
136772  {
136773  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136774  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136775  PyErr_SetString(PyExc_IndexError, strError.c_str());
136776  SWIG_fail;
136777  }
136778  catch(...)
136779  {
136780  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136781  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136782  SWIG_fail;
136783  }
136784  }
136785  resultobj = SWIG_Py_Void();
136786  return resultobj;
136787 fail:
136788  return NULL;
136789 }
136790 
136791 
136792 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_SetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136793  PyObject *resultobj = 0;
136795  bool arg2 ;
136796  void *argp1 = 0 ;
136797  int res1 = 0 ;
136798  bool val2 ;
136799  int ecode2 = 0 ;
136800  PyObject * obj0 = 0 ;
136801  PyObject * obj1 = 0 ;
136802 
136803  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsMovableItem_SetVisible",&obj0,&obj1)) SWIG_fail;
136804  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
136805  if (!SWIG_IsOK(res1)) {
136806  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_SetVisible" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
136807  }
136808  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
136809  ecode2 = SWIG_AsVal_bool(obj1, &val2);
136810  if (!SWIG_IsOK(ecode2)) {
136811  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsMovableItem_SetVisible" "', argument " "2"" of type '" "bool""'");
136812  }
136813  arg2 = static_cast< bool >(val2);
136814  {
136815  try {
136816  (arg1)->SetVisible(arg2);
136817  }
136818  catch(CStdErrorInfo oError)
136819  {
136820  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136821  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136822  PyErr_SetString(PyExc_IndexError, strError.c_str());
136823  SWIG_fail;
136824  }
136825  catch(...)
136826  {
136827  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136828  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136829  SWIG_fail;
136830  }
136831  }
136832  resultobj = SWIG_Py_Void();
136833  return resultobj;
136834 fail:
136835  return NULL;
136836 }
136837 
136838 
136839 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_SetAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136840  PyObject *resultobj = 0;
136842  void *argp1 = 0 ;
136843  int res1 = 0 ;
136844  PyObject * obj0 = 0 ;
136845 
136846  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_SetAlpha",&obj0)) SWIG_fail;
136847  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
136848  if (!SWIG_IsOK(res1)) {
136849  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_SetAlpha" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
136850  }
136851  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
136852  {
136853  try {
136854  (arg1)->SetAlpha();
136855  }
136856  catch(CStdErrorInfo oError)
136857  {
136858  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136859  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136860  PyErr_SetString(PyExc_IndexError, strError.c_str());
136861  SWIG_fail;
136862  }
136863  catch(...)
136864  {
136865  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136866  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136867  SWIG_fail;
136868  }
136869  }
136870  resultobj = SWIG_Py_Void();
136871  return resultobj;
136872 fail:
136873  return NULL;
136874 }
136875 
136876 
136877 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136878  PyObject *resultobj = 0;
136881  void *argp1 = 0 ;
136882  int res1 = 0 ;
136883  void *argp2 = 0 ;
136884  int res2 = 0 ;
136885  PyObject * obj0 = 0 ;
136886  PyObject * obj1 = 0 ;
136887 
136888  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsMovableItem_Physics_SetParent",&obj0,&obj1)) SWIG_fail;
136889  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
136890  if (!SWIG_IsOK(res1)) {
136891  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_SetParent" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
136892  }
136893  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
136894  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
136895  if (!SWIG_IsOK(res2)) {
136896  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IPhysicsMovableItem_Physics_SetParent" "', argument " "2"" of type '" "AnimatSim::Environment::MovableItem *""'");
136897  }
136898  arg2 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp2);
136899  {
136900  try {
136901  (arg1)->Physics_SetParent(arg2);
136902  }
136903  catch(CStdErrorInfo oError)
136904  {
136905  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136906  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136907  PyErr_SetString(PyExc_IndexError, strError.c_str());
136908  SWIG_fail;
136909  }
136910  catch(...)
136911  {
136912  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136913  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136914  SWIG_fail;
136915  }
136916  }
136917  resultobj = SWIG_Py_Void();
136918  return resultobj;
136919 fail:
136920  return NULL;
136921 }
136922 
136923 
136924 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_SetChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136925  PyObject *resultobj = 0;
136928  void *argp1 = 0 ;
136929  int res1 = 0 ;
136930  void *argp2 = 0 ;
136931  int res2 = 0 ;
136932  PyObject * obj0 = 0 ;
136933  PyObject * obj1 = 0 ;
136934 
136935  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsMovableItem_Physics_SetChild",&obj0,&obj1)) SWIG_fail;
136936  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
136937  if (!SWIG_IsOK(res1)) {
136938  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_SetChild" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
136939  }
136940  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
136941  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
136942  if (!SWIG_IsOK(res2)) {
136943  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IPhysicsMovableItem_Physics_SetChild" "', argument " "2"" of type '" "AnimatSim::Environment::MovableItem *""'");
136944  }
136945  arg2 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp2);
136946  {
136947  try {
136948  (arg1)->Physics_SetChild(arg2);
136949  }
136950  catch(CStdErrorInfo oError)
136951  {
136952  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136953  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136954  PyErr_SetString(PyExc_IndexError, strError.c_str());
136955  SWIG_fail;
136956  }
136957  catch(...)
136958  {
136959  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136960  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136961  SWIG_fail;
136962  }
136963  }
136964  resultobj = SWIG_Py_Void();
136965  return resultobj;
136966 fail:
136967  return NULL;
136968 }
136969 
136970 
136971 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_UpdateMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
136972  PyObject *resultobj = 0;
136974  void *argp1 = 0 ;
136975  int res1 = 0 ;
136976  PyObject * obj0 = 0 ;
136977 
136978  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_Physics_UpdateMatrix",&obj0)) SWIG_fail;
136979  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
136980  if (!SWIG_IsOK(res1)) {
136981  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_UpdateMatrix" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
136982  }
136983  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
136984  {
136985  try {
136986  (arg1)->Physics_UpdateMatrix();
136987  }
136988  catch(CStdErrorInfo oError)
136989  {
136990  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136991  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
136992  PyErr_SetString(PyExc_IndexError, strError.c_str());
136993  SWIG_fail;
136994  }
136995  catch(...)
136996  {
136997  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
136998  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
136999  SWIG_fail;
137000  }
137001  }
137002  resultobj = SWIG_Py_Void();
137003  return resultobj;
137004 fail:
137005  return NULL;
137006 }
137007 
137008 
137009 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_ResetGraphicsAndPhysics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137010  PyObject *resultobj = 0;
137012  void *argp1 = 0 ;
137013  int res1 = 0 ;
137014  PyObject * obj0 = 0 ;
137015 
137016  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_Physics_ResetGraphicsAndPhysics",&obj0)) SWIG_fail;
137017  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137018  if (!SWIG_IsOK(res1)) {
137019  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_ResetGraphicsAndPhysics" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137020  }
137021  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137022  {
137023  try {
137024  (arg1)->Physics_ResetGraphicsAndPhysics();
137025  }
137026  catch(CStdErrorInfo oError)
137027  {
137028  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137029  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137030  PyErr_SetString(PyExc_IndexError, strError.c_str());
137031  SWIG_fail;
137032  }
137033  catch(...)
137034  {
137035  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137036  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137037  SWIG_fail;
137038  }
137039  }
137040  resultobj = SWIG_Py_Void();
137041  return resultobj;
137042 fail:
137043  return NULL;
137044 }
137045 
137046 
137047 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_PositionChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137048  PyObject *resultobj = 0;
137050  void *argp1 = 0 ;
137051  int res1 = 0 ;
137052  PyObject * obj0 = 0 ;
137053 
137054  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_Physics_PositionChanged",&obj0)) SWIG_fail;
137055  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137056  if (!SWIG_IsOK(res1)) {
137057  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_PositionChanged" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137058  }
137059  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137060  {
137061  try {
137062  (arg1)->Physics_PositionChanged();
137063  }
137064  catch(CStdErrorInfo oError)
137065  {
137066  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137067  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137068  PyErr_SetString(PyExc_IndexError, strError.c_str());
137069  SWIG_fail;
137070  }
137071  catch(...)
137072  {
137073  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137074  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137075  SWIG_fail;
137076  }
137077  }
137078  resultobj = SWIG_Py_Void();
137079  return resultobj;
137080 fail:
137081  return NULL;
137082 }
137083 
137084 
137085 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_RotationChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137086  PyObject *resultobj = 0;
137088  void *argp1 = 0 ;
137089  int res1 = 0 ;
137090  PyObject * obj0 = 0 ;
137091 
137092  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_Physics_RotationChanged",&obj0)) SWIG_fail;
137093  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137094  if (!SWIG_IsOK(res1)) {
137095  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_RotationChanged" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137096  }
137097  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137098  {
137099  try {
137100  (arg1)->Physics_RotationChanged();
137101  }
137102  catch(CStdErrorInfo oError)
137103  {
137104  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137105  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137106  PyErr_SetString(PyExc_IndexError, strError.c_str());
137107  SWIG_fail;
137108  }
137109  catch(...)
137110  {
137111  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137112  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137113  SWIG_fail;
137114  }
137115  }
137116  resultobj = SWIG_Py_Void();
137117  return resultobj;
137118 fail:
137119  return NULL;
137120 }
137121 
137122 
137123 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_UpdateAbsolutePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137124  PyObject *resultobj = 0;
137126  void *argp1 = 0 ;
137127  int res1 = 0 ;
137128  PyObject * obj0 = 0 ;
137129 
137130  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_Physics_UpdateAbsolutePosition",&obj0)) SWIG_fail;
137131  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137132  if (!SWIG_IsOK(res1)) {
137133  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_UpdateAbsolutePosition" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137134  }
137135  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137136  {
137137  try {
137138  (arg1)->Physics_UpdateAbsolutePosition();
137139  }
137140  catch(CStdErrorInfo oError)
137141  {
137142  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137143  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137144  PyErr_SetString(PyExc_IndexError, strError.c_str());
137145  SWIG_fail;
137146  }
137147  catch(...)
137148  {
137149  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137150  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137151  SWIG_fail;
137152  }
137153  }
137154  resultobj = SWIG_Py_Void();
137155  return resultobj;
137156 fail:
137157  return NULL;
137158 }
137159 
137160 
137161 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_CollectData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137162  PyObject *resultobj = 0;
137164  void *argp1 = 0 ;
137165  int res1 = 0 ;
137166  PyObject * obj0 = 0 ;
137167 
137168  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_Physics_CollectData",&obj0)) SWIG_fail;
137169  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137170  if (!SWIG_IsOK(res1)) {
137171  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_CollectData" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137172  }
137173  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137174  {
137175  try {
137176  (arg1)->Physics_CollectData();
137177  }
137178  catch(CStdErrorInfo oError)
137179  {
137180  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137181  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137182  PyErr_SetString(PyExc_IndexError, strError.c_str());
137183  SWIG_fail;
137184  }
137185  catch(...)
137186  {
137187  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137188  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137189  SWIG_fail;
137190  }
137191  }
137192  resultobj = SWIG_Py_Void();
137193  return resultobj;
137194 fail:
137195  return NULL;
137196 }
137197 
137198 
137199 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_CollectExtraData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137200  PyObject *resultobj = 0;
137202  void *argp1 = 0 ;
137203  int res1 = 0 ;
137204  PyObject * obj0 = 0 ;
137205 
137206  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_Physics_CollectExtraData",&obj0)) SWIG_fail;
137207  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137208  if (!SWIG_IsOK(res1)) {
137209  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_CollectExtraData" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137210  }
137211  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137212  {
137213  try {
137214  (arg1)->Physics_CollectExtraData();
137215  }
137216  catch(CStdErrorInfo oError)
137217  {
137218  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137219  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137220  PyErr_SetString(PyExc_IndexError, strError.c_str());
137221  SWIG_fail;
137222  }
137223  catch(...)
137224  {
137225  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137226  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137227  SWIG_fail;
137228  }
137229  }
137230  resultobj = SWIG_Py_Void();
137231  return resultobj;
137232 fail:
137233  return NULL;
137234 }
137235 
137236 
137237 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137238  PyObject *resultobj = 0;
137240  void *argp1 = 0 ;
137241  int res1 = 0 ;
137242  PyObject * obj0 = 0 ;
137243 
137244  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_Physics_ResetSimulation",&obj0)) SWIG_fail;
137245  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137246  if (!SWIG_IsOK(res1)) {
137247  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137248  }
137249  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137250  {
137251  try {
137252  (arg1)->Physics_ResetSimulation();
137253  }
137254  catch(CStdErrorInfo oError)
137255  {
137256  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137257  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137258  PyErr_SetString(PyExc_IndexError, strError.c_str());
137259  SWIG_fail;
137260  }
137261  catch(...)
137262  {
137263  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137264  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137265  SWIG_fail;
137266  }
137267  }
137268  resultobj = SWIG_Py_Void();
137269  return resultobj;
137270 fail:
137271  return NULL;
137272 }
137273 
137274 
137275 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_AfterResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137276  PyObject *resultobj = 0;
137278  void *argp1 = 0 ;
137279  int res1 = 0 ;
137280  PyObject * obj0 = 0 ;
137281 
137282  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_Physics_AfterResetSimulation",&obj0)) SWIG_fail;
137283  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137284  if (!SWIG_IsOK(res1)) {
137285  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_AfterResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137286  }
137287  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137288  {
137289  try {
137290  (arg1)->Physics_AfterResetSimulation();
137291  }
137292  catch(CStdErrorInfo oError)
137293  {
137294  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137295  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137296  PyErr_SetString(PyExc_IndexError, strError.c_str());
137297  SWIG_fail;
137298  }
137299  catch(...)
137300  {
137301  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137302  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137303  SWIG_fail;
137304  }
137305  }
137306  resultobj = SWIG_Py_Void();
137307  return resultobj;
137308 fail:
137309  return NULL;
137310 }
137311 
137312 
137313 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137314  PyObject *resultobj = 0;
137316  std::string *arg2 = 0 ;
137317  void *argp1 = 0 ;
137318  int res1 = 0 ;
137319  int res2 = SWIG_OLDOBJ ;
137320  PyObject * obj0 = 0 ;
137321  PyObject * obj1 = 0 ;
137322  float *result = 0 ;
137323 
137324  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsMovableItem_Physics_GetDataPointer",&obj0,&obj1)) SWIG_fail;
137325  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137326  if (!SWIG_IsOK(res1)) {
137327  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137328  }
137329  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137330  {
137331  std::string *ptr = (std::string *)0;
137332  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
137333  if (!SWIG_IsOK(res2)) {
137334  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IPhysicsMovableItem_Physics_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
137335  }
137336  if (!ptr) {
137337  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IPhysicsMovableItem_Physics_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
137338  }
137339  arg2 = ptr;
137340  }
137341  {
137342  try {
137343  result = (float *)(arg1)->Physics_GetDataPointer((std::string const &)*arg2);
137344  }
137345  catch(CStdErrorInfo oError)
137346  {
137347  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137348  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137349  PyErr_SetString(PyExc_IndexError, strError.c_str());
137350  SWIG_fail;
137351  }
137352  catch(...)
137353  {
137354  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137355  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137356  SWIG_fail;
137357  }
137358  }
137359  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
137360  if (SWIG_IsNewObj(res2)) delete arg2;
137361  return resultobj;
137362 fail:
137363  if (SWIG_IsNewObj(res2)) delete arg2;
137364  return NULL;
137365 }
137366 
137367 
137368 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_Selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137369  PyObject *resultobj = 0;
137371  bool arg2 ;
137372  bool arg3 ;
137373  void *argp1 = 0 ;
137374  int res1 = 0 ;
137375  bool val2 ;
137376  int ecode2 = 0 ;
137377  bool val3 ;
137378  int ecode3 = 0 ;
137379  PyObject * obj0 = 0 ;
137380  PyObject * obj1 = 0 ;
137381  PyObject * obj2 = 0 ;
137382 
137383  if (!PyArg_ParseTuple(args,(char *)"OOO:IPhysicsMovableItem_Physics_Selected",&obj0,&obj1,&obj2)) SWIG_fail;
137384  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137385  if (!SWIG_IsOK(res1)) {
137386  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_Selected" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137387  }
137388  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137389  ecode2 = SWIG_AsVal_bool(obj1, &val2);
137390  if (!SWIG_IsOK(ecode2)) {
137391  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsMovableItem_Physics_Selected" "', argument " "2"" of type '" "bool""'");
137392  }
137393  arg2 = static_cast< bool >(val2);
137394  ecode3 = SWIG_AsVal_bool(obj2, &val3);
137395  if (!SWIG_IsOK(ecode3)) {
137396  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IPhysicsMovableItem_Physics_Selected" "', argument " "3"" of type '" "bool""'");
137397  }
137398  arg3 = static_cast< bool >(val3);
137399  {
137400  try {
137401  (arg1)->Physics_Selected(arg2,arg3);
137402  }
137403  catch(CStdErrorInfo oError)
137404  {
137405  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137406  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137407  PyErr_SetString(PyExc_IndexError, strError.c_str());
137408  SWIG_fail;
137409  }
137410  catch(...)
137411  {
137412  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137413  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137414  SWIG_fail;
137415  }
137416  }
137417  resultobj = SWIG_Py_Void();
137418  return resultobj;
137419 fail:
137420  return NULL;
137421 }
137422 
137423 
137424 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_GetBoundingRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137425  PyObject *resultobj = 0;
137427  void *argp1 = 0 ;
137428  int res1 = 0 ;
137429  PyObject * obj0 = 0 ;
137430  float result;
137431 
137432  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_Physics_GetBoundingRadius",&obj0)) SWIG_fail;
137433  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137434  if (!SWIG_IsOK(res1)) {
137435  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_GetBoundingRadius" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137436  }
137437  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137438  {
137439  try {
137440  result = (float)(arg1)->Physics_GetBoundingRadius();
137441  }
137442  catch(CStdErrorInfo oError)
137443  {
137444  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137445  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137446  PyErr_SetString(PyExc_IndexError, strError.c_str());
137447  SWIG_fail;
137448  }
137449  catch(...)
137450  {
137451  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137452  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137453  SWIG_fail;
137454  }
137455  }
137456  resultobj = SWIG_From_float(static_cast< float >(result));
137457  return resultobj;
137458 fail:
137459  return NULL;
137460 }
137461 
137462 
137463 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_GetBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137464  PyObject *resultobj = 0;
137466  void *argp1 = 0 ;
137467  int res1 = 0 ;
137468  PyObject * obj0 = 0 ;
137469  BoundingBox result;
137470 
137471  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_Physics_GetBoundingBox",&obj0)) SWIG_fail;
137472  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137473  if (!SWIG_IsOK(res1)) {
137474  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_GetBoundingBox" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137475  }
137476  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137477  {
137478  try {
137479  result = (arg1)->Physics_GetBoundingBox();
137480  }
137481  catch(CStdErrorInfo oError)
137482  {
137483  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137484  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137485  PyErr_SetString(PyExc_IndexError, strError.c_str());
137486  SWIG_fail;
137487  }
137488  catch(...)
137489  {
137490  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137491  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137492  SWIG_fail;
137493  }
137494  }
137495  resultobj = SWIG_NewPointerObj((new BoundingBox(static_cast< const BoundingBox& >(result))), SWIGTYPE_p_BoundingBox, SWIG_POINTER_OWN | 0 );
137496  return resultobj;
137497 fail:
137498  return NULL;
137499 }
137500 
137501 
137502 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137503  PyObject *resultobj = 0;
137505  void *argp1 = 0 ;
137506  int res1 = 0 ;
137507  PyObject * obj0 = 0 ;
137508 
137509  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_Physics_SetColor",&obj0)) SWIG_fail;
137510  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137511  if (!SWIG_IsOK(res1)) {
137512  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_SetColor" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137513  }
137514  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137515  {
137516  try {
137517  (arg1)->Physics_SetColor();
137518  }
137519  catch(CStdErrorInfo oError)
137520  {
137521  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137522  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137523  PyErr_SetString(PyExc_IndexError, strError.c_str());
137524  SWIG_fail;
137525  }
137526  catch(...)
137527  {
137528  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137529  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137530  SWIG_fail;
137531  }
137532  }
137533  resultobj = SWIG_Py_Void();
137534  return resultobj;
137535 fail:
137536  return NULL;
137537 }
137538 
137539 
137540 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_TextureChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137541  PyObject *resultobj = 0;
137543  void *argp1 = 0 ;
137544  int res1 = 0 ;
137545  PyObject * obj0 = 0 ;
137546 
137547  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_Physics_TextureChanged",&obj0)) SWIG_fail;
137548  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137549  if (!SWIG_IsOK(res1)) {
137550  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_TextureChanged" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137551  }
137552  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137553  {
137554  try {
137555  (arg1)->Physics_TextureChanged();
137556  }
137557  catch(CStdErrorInfo oError)
137558  {
137559  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137560  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137561  PyErr_SetString(PyExc_IndexError, strError.c_str());
137562  SWIG_fail;
137563  }
137564  catch(...)
137565  {
137566  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137567  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137568  SWIG_fail;
137569  }
137570  }
137571  resultobj = SWIG_Py_Void();
137572  return resultobj;
137573 fail:
137574  return NULL;
137575 }
137576 
137577 
137578 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_OrientNewPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137579  PyObject *resultobj = 0;
137581  float arg2 ;
137582  float arg3 ;
137583  float arg4 ;
137584  float arg5 ;
137585  float arg6 ;
137586  float arg7 ;
137587  void *argp1 = 0 ;
137588  int res1 = 0 ;
137589  float val2 ;
137590  int ecode2 = 0 ;
137591  float val3 ;
137592  int ecode3 = 0 ;
137593  float val4 ;
137594  int ecode4 = 0 ;
137595  float val5 ;
137596  int ecode5 = 0 ;
137597  float val6 ;
137598  int ecode6 = 0 ;
137599  float val7 ;
137600  int ecode7 = 0 ;
137601  PyObject * obj0 = 0 ;
137602  PyObject * obj1 = 0 ;
137603  PyObject * obj2 = 0 ;
137604  PyObject * obj3 = 0 ;
137605  PyObject * obj4 = 0 ;
137606  PyObject * obj5 = 0 ;
137607  PyObject * obj6 = 0 ;
137608 
137609  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:IPhysicsMovableItem_Physics_OrientNewPart",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
137610  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137611  if (!SWIG_IsOK(res1)) {
137612  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_OrientNewPart" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137613  }
137614  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137615  ecode2 = SWIG_AsVal_float(obj1, &val2);
137616  if (!SWIG_IsOK(ecode2)) {
137617  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsMovableItem_Physics_OrientNewPart" "', argument " "2"" of type '" "float""'");
137618  }
137619  arg2 = static_cast< float >(val2);
137620  ecode3 = SWIG_AsVal_float(obj2, &val3);
137621  if (!SWIG_IsOK(ecode3)) {
137622  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IPhysicsMovableItem_Physics_OrientNewPart" "', argument " "3"" of type '" "float""'");
137623  }
137624  arg3 = static_cast< float >(val3);
137625  ecode4 = SWIG_AsVal_float(obj3, &val4);
137626  if (!SWIG_IsOK(ecode4)) {
137627  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IPhysicsMovableItem_Physics_OrientNewPart" "', argument " "4"" of type '" "float""'");
137628  }
137629  arg4 = static_cast< float >(val4);
137630  ecode5 = SWIG_AsVal_float(obj4, &val5);
137631  if (!SWIG_IsOK(ecode5)) {
137632  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "IPhysicsMovableItem_Physics_OrientNewPart" "', argument " "5"" of type '" "float""'");
137633  }
137634  arg5 = static_cast< float >(val5);
137635  ecode6 = SWIG_AsVal_float(obj5, &val6);
137636  if (!SWIG_IsOK(ecode6)) {
137637  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "IPhysicsMovableItem_Physics_OrientNewPart" "', argument " "6"" of type '" "float""'");
137638  }
137639  arg6 = static_cast< float >(val6);
137640  ecode7 = SWIG_AsVal_float(obj6, &val7);
137641  if (!SWIG_IsOK(ecode7)) {
137642  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "IPhysicsMovableItem_Physics_OrientNewPart" "', argument " "7"" of type '" "float""'");
137643  }
137644  arg7 = static_cast< float >(val7);
137645  {
137646  try {
137647  (arg1)->Physics_OrientNewPart(arg2,arg3,arg4,arg5,arg6,arg7);
137648  }
137649  catch(CStdErrorInfo oError)
137650  {
137651  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137652  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137653  PyErr_SetString(PyExc_IndexError, strError.c_str());
137654  SWIG_fail;
137655  }
137656  catch(...)
137657  {
137658  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137659  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137660  SWIG_fail;
137661  }
137662  }
137663  resultobj = SWIG_Py_Void();
137664  return resultobj;
137665 fail:
137666  return NULL;
137667 }
137668 
137669 
137670 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_SelectedVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137671  PyObject *resultobj = 0;
137673  float arg2 ;
137674  float arg3 ;
137675  float arg4 ;
137676  void *argp1 = 0 ;
137677  int res1 = 0 ;
137678  float val2 ;
137679  int ecode2 = 0 ;
137680  float val3 ;
137681  int ecode3 = 0 ;
137682  float val4 ;
137683  int ecode4 = 0 ;
137684  PyObject * obj0 = 0 ;
137685  PyObject * obj1 = 0 ;
137686  PyObject * obj2 = 0 ;
137687  PyObject * obj3 = 0 ;
137688 
137689  if (!PyArg_ParseTuple(args,(char *)"OOOO:IPhysicsMovableItem_Physics_SelectedVertex",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
137690  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137691  if (!SWIG_IsOK(res1)) {
137692  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_SelectedVertex" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137693  }
137694  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137695  ecode2 = SWIG_AsVal_float(obj1, &val2);
137696  if (!SWIG_IsOK(ecode2)) {
137697  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsMovableItem_Physics_SelectedVertex" "', argument " "2"" of type '" "float""'");
137698  }
137699  arg2 = static_cast< float >(val2);
137700  ecode3 = SWIG_AsVal_float(obj2, &val3);
137701  if (!SWIG_IsOK(ecode3)) {
137702  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IPhysicsMovableItem_Physics_SelectedVertex" "', argument " "3"" of type '" "float""'");
137703  }
137704  arg3 = static_cast< float >(val3);
137705  ecode4 = SWIG_AsVal_float(obj3, &val4);
137706  if (!SWIG_IsOK(ecode4)) {
137707  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IPhysicsMovableItem_Physics_SelectedVertex" "', argument " "4"" of type '" "float""'");
137708  }
137709  arg4 = static_cast< float >(val4);
137710  {
137711  try {
137712  (arg1)->Physics_SelectedVertex(arg2,arg3,arg4);
137713  }
137714  catch(CStdErrorInfo oError)
137715  {
137716  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137717  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137718  PyErr_SetString(PyExc_IndexError, strError.c_str());
137719  SWIG_fail;
137720  }
137721  catch(...)
137722  {
137723  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137724  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137725  SWIG_fail;
137726  }
137727  }
137728  resultobj = SWIG_Py_Void();
137729  return resultobj;
137730 fail:
137731  return NULL;
137732 }
137733 
137734 
137735 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_CalculateLocalPosForWorldPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137736  PyObject *resultobj = 0;
137738  float arg2 ;
137739  float arg3 ;
137740  float arg4 ;
137741  CStdPoint< float > *arg5 = 0 ;
137742  void *argp1 = 0 ;
137743  int res1 = 0 ;
137744  float val2 ;
137745  int ecode2 = 0 ;
137746  float val3 ;
137747  int ecode3 = 0 ;
137748  float val4 ;
137749  int ecode4 = 0 ;
137750  void *argp5 = 0 ;
137751  int res5 = 0 ;
137752  PyObject * obj0 = 0 ;
137753  PyObject * obj1 = 0 ;
137754  PyObject * obj2 = 0 ;
137755  PyObject * obj3 = 0 ;
137756  PyObject * obj4 = 0 ;
137757  bool result;
137758 
137759  if (!PyArg_ParseTuple(args,(char *)"OOOOO:IPhysicsMovableItem_Physics_CalculateLocalPosForWorldPos",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
137760  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137761  if (!SWIG_IsOK(res1)) {
137762  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_CalculateLocalPosForWorldPos" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137763  }
137764  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137765  ecode2 = SWIG_AsVal_float(obj1, &val2);
137766  if (!SWIG_IsOK(ecode2)) {
137767  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsMovableItem_Physics_CalculateLocalPosForWorldPos" "', argument " "2"" of type '" "float""'");
137768  }
137769  arg2 = static_cast< float >(val2);
137770  ecode3 = SWIG_AsVal_float(obj2, &val3);
137771  if (!SWIG_IsOK(ecode3)) {
137772  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IPhysicsMovableItem_Physics_CalculateLocalPosForWorldPos" "', argument " "3"" of type '" "float""'");
137773  }
137774  arg3 = static_cast< float >(val3);
137775  ecode4 = SWIG_AsVal_float(obj3, &val4);
137776  if (!SWIG_IsOK(ecode4)) {
137777  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IPhysicsMovableItem_Physics_CalculateLocalPosForWorldPos" "', argument " "4"" of type '" "float""'");
137778  }
137779  arg4 = static_cast< float >(val4);
137780  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_CStdPointT_float_t, 0 );
137781  if (!SWIG_IsOK(res5)) {
137782  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "IPhysicsMovableItem_Physics_CalculateLocalPosForWorldPos" "', argument " "5"" of type '" "CStdPoint< float > &""'");
137783  }
137784  if (!argp5) {
137785  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IPhysicsMovableItem_Physics_CalculateLocalPosForWorldPos" "', argument " "5"" of type '" "CStdPoint< float > &""'");
137786  }
137787  arg5 = reinterpret_cast< CStdPoint< float > * >(argp5);
137788  {
137789  try {
137790  result = (bool)(arg1)->Physics_CalculateLocalPosForWorldPos(arg2,arg3,arg4,*arg5);
137791  }
137792  catch(CStdErrorInfo oError)
137793  {
137794  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137795  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137796  PyErr_SetString(PyExc_IndexError, strError.c_str());
137797  SWIG_fail;
137798  }
137799  catch(...)
137800  {
137801  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137802  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137803  SWIG_fail;
137804  }
137805  }
137806  resultobj = SWIG_From_bool(static_cast< bool >(result));
137807  return resultobj;
137808 fail:
137809  return NULL;
137810 }
137811 
137812 
137813 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_Resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137814  PyObject *resultobj = 0;
137816  void *argp1 = 0 ;
137817  int res1 = 0 ;
137818  PyObject * obj0 = 0 ;
137819 
137820  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_Physics_Resize",&obj0)) SWIG_fail;
137821  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137822  if (!SWIG_IsOK(res1)) {
137823  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_Resize" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137824  }
137825  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137826  {
137827  try {
137828  (arg1)->Physics_Resize();
137829  }
137830  catch(CStdErrorInfo oError)
137831  {
137832  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137833  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137834  PyErr_SetString(PyExc_IndexError, strError.c_str());
137835  SWIG_fail;
137836  }
137837  catch(...)
137838  {
137839  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137840  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137841  SWIG_fail;
137842  }
137843  }
137844  resultobj = SWIG_Py_Void();
137845  return resultobj;
137846 fail:
137847  return NULL;
137848 }
137849 
137850 
137851 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_LoadLocalTransformMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137852  PyObject *resultobj = 0;
137854  CStdXml *arg2 = 0 ;
137855  void *argp1 = 0 ;
137856  int res1 = 0 ;
137857  void *argp2 = 0 ;
137858  int res2 = 0 ;
137859  PyObject * obj0 = 0 ;
137860  PyObject * obj1 = 0 ;
137861 
137862  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsMovableItem_Physics_LoadLocalTransformMatrix",&obj0,&obj1)) SWIG_fail;
137863  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137864  if (!SWIG_IsOK(res1)) {
137865  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_LoadLocalTransformMatrix" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137866  }
137867  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137868  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
137869  if (!SWIG_IsOK(res2)) {
137870  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IPhysicsMovableItem_Physics_LoadLocalTransformMatrix" "', argument " "2"" of type '" "CStdXml &""'");
137871  }
137872  if (!argp2) {
137873  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IPhysicsMovableItem_Physics_LoadLocalTransformMatrix" "', argument " "2"" of type '" "CStdXml &""'");
137874  }
137875  arg2 = reinterpret_cast< CStdXml * >(argp2);
137876  {
137877  try {
137878  (arg1)->Physics_LoadLocalTransformMatrix(*arg2);
137879  }
137880  catch(CStdErrorInfo oError)
137881  {
137882  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137883  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137884  PyErr_SetString(PyExc_IndexError, strError.c_str());
137885  SWIG_fail;
137886  }
137887  catch(...)
137888  {
137889  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137890  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137891  SWIG_fail;
137892  }
137893  }
137894  resultobj = SWIG_Py_Void();
137895  return resultobj;
137896 fail:
137897  return NULL;
137898 }
137899 
137900 
137901 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_SaveLocalTransformMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137902  PyObject *resultobj = 0;
137904  CStdXml *arg2 = 0 ;
137905  void *argp1 = 0 ;
137906  int res1 = 0 ;
137907  void *argp2 = 0 ;
137908  int res2 = 0 ;
137909  PyObject * obj0 = 0 ;
137910  PyObject * obj1 = 0 ;
137911 
137912  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsMovableItem_Physics_SaveLocalTransformMatrix",&obj0,&obj1)) SWIG_fail;
137913  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137914  if (!SWIG_IsOK(res1)) {
137915  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_SaveLocalTransformMatrix" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137916  }
137917  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137918  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
137919  if (!SWIG_IsOK(res2)) {
137920  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IPhysicsMovableItem_Physics_SaveLocalTransformMatrix" "', argument " "2"" of type '" "CStdXml &""'");
137921  }
137922  if (!argp2) {
137923  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IPhysicsMovableItem_Physics_SaveLocalTransformMatrix" "', argument " "2"" of type '" "CStdXml &""'");
137924  }
137925  arg2 = reinterpret_cast< CStdXml * >(argp2);
137926  {
137927  try {
137928  (arg1)->Physics_SaveLocalTransformMatrix(*arg2);
137929  }
137930  catch(CStdErrorInfo oError)
137931  {
137932  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137933  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137934  PyErr_SetString(PyExc_IndexError, strError.c_str());
137935  SWIG_fail;
137936  }
137937  catch(...)
137938  {
137939  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137940  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137941  SWIG_fail;
137942  }
137943  }
137944  resultobj = SWIG_Py_Void();
137945  return resultobj;
137946 fail:
137947  return NULL;
137948 }
137949 
137950 
137951 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_GetLocalTransformMatrixString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137952  PyObject *resultobj = 0;
137954  void *argp1 = 0 ;
137955  int res1 = 0 ;
137956  PyObject * obj0 = 0 ;
137957  std::string result;
137958 
137959  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsMovableItem_Physics_GetLocalTransformMatrixString",&obj0)) SWIG_fail;
137960  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
137961  if (!SWIG_IsOK(res1)) {
137962  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_GetLocalTransformMatrixString" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
137963  }
137964  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
137965  {
137966  try {
137967  result = (arg1)->Physics_GetLocalTransformMatrixString();
137968  }
137969  catch(CStdErrorInfo oError)
137970  {
137971  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137972  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
137973  PyErr_SetString(PyExc_IndexError, strError.c_str());
137974  SWIG_fail;
137975  }
137976  catch(...)
137977  {
137978  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
137979  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
137980  SWIG_fail;
137981  }
137982  }
137983  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
137984  return resultobj;
137985 fail:
137986  return NULL;
137987 }
137988 
137989 
137990 SWIGINTERN PyObject *_wrap_IPhysicsMovableItem_Physics_ResizeDragHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
137991  PyObject *resultobj = 0;
137993  float arg2 ;
137994  void *argp1 = 0 ;
137995  int res1 = 0 ;
137996  float val2 ;
137997  int ecode2 = 0 ;
137998  PyObject * obj0 = 0 ;
137999  PyObject * obj1 = 0 ;
138000 
138001  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsMovableItem_Physics_ResizeDragHandler",&obj0,&obj1)) SWIG_fail;
138002  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
138003  if (!SWIG_IsOK(res1)) {
138004  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsMovableItem_Physics_ResizeDragHandler" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
138005  }
138006  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp1);
138007  ecode2 = SWIG_AsVal_float(obj1, &val2);
138008  if (!SWIG_IsOK(ecode2)) {
138009  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsMovableItem_Physics_ResizeDragHandler" "', argument " "2"" of type '" "float""'");
138010  }
138011  arg2 = static_cast< float >(val2);
138012  {
138013  try {
138014  (arg1)->Physics_ResizeDragHandler(arg2);
138015  }
138016  catch(CStdErrorInfo oError)
138017  {
138018  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138019  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138020  PyErr_SetString(PyExc_IndexError, strError.c_str());
138021  SWIG_fail;
138022  }
138023  catch(...)
138024  {
138025  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138026  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138027  SWIG_fail;
138028  }
138029  }
138030  resultobj = SWIG_Py_Void();
138031  return resultobj;
138032 fail:
138033  return NULL;
138034 }
138035 
138036 
138037 SWIGINTERN PyObject *IPhysicsMovableItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138038  PyObject *obj;
138039  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
138040  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, SWIG_NewClientData(obj));
138041  return SWIG_Py_Void();
138042 }
138043 
138044 SWIGINTERN PyObject *_wrap_delete_IPhysicsBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138045  PyObject *resultobj = 0;
138047  void *argp1 = 0 ;
138048  int res1 = 0 ;
138049  PyObject * obj0 = 0 ;
138050 
138051  if (!PyArg_ParseTuple(args,(char *)"O:delete_IPhysicsBody",&obj0)) SWIG_fail;
138052  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, SWIG_POINTER_DISOWN | 0 );
138053  if (!SWIG_IsOK(res1)) {
138054  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IPhysicsBody" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138055  }
138056  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138057  {
138058  try {
138059  delete arg1;
138060  }
138061  catch(CStdErrorInfo oError)
138062  {
138063  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138064  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138065  PyErr_SetString(PyExc_IndexError, strError.c_str());
138066  SWIG_fail;
138067  }
138068  catch(...)
138069  {
138070  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138071  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138072  SWIG_fail;
138073  }
138074  }
138075  resultobj = SWIG_Py_Void();
138076  return resultobj;
138077 fail:
138078  return NULL;
138079 }
138080 
138081 
138082 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_IsDefined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138083  PyObject *resultobj = 0;
138085  void *argp1 = 0 ;
138086  int res1 = 0 ;
138087  PyObject * obj0 = 0 ;
138088  bool result;
138089 
138090  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsBody_Physics_IsDefined",&obj0)) SWIG_fail;
138091  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138092  if (!SWIG_IsOK(res1)) {
138093  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_IsDefined" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138094  }
138095  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138096  {
138097  try {
138098  result = (bool)(arg1)->Physics_IsDefined();
138099  }
138100  catch(CStdErrorInfo oError)
138101  {
138102  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138103  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138104  PyErr_SetString(PyExc_IndexError, strError.c_str());
138105  SWIG_fail;
138106  }
138107  catch(...)
138108  {
138109  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138110  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138111  SWIG_fail;
138112  }
138113  }
138114  resultobj = SWIG_From_bool(static_cast< bool >(result));
138115  return resultobj;
138116 fail:
138117  return NULL;
138118 }
138119 
138120 
138121 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_IsGeometryDefined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138122  PyObject *resultobj = 0;
138124  void *argp1 = 0 ;
138125  int res1 = 0 ;
138126  PyObject * obj0 = 0 ;
138127  bool result;
138128 
138129  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsBody_Physics_IsGeometryDefined",&obj0)) SWIG_fail;
138130  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138131  if (!SWIG_IsOK(res1)) {
138132  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_IsGeometryDefined" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138133  }
138134  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138135  {
138136  try {
138137  result = (bool)(arg1)->Physics_IsGeometryDefined();
138138  }
138139  catch(CStdErrorInfo oError)
138140  {
138141  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138142  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138143  PyErr_SetString(PyExc_IndexError, strError.c_str());
138144  SWIG_fail;
138145  }
138146  catch(...)
138147  {
138148  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138149  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138150  SWIG_fail;
138151  }
138152  }
138153  resultobj = SWIG_From_bool(static_cast< bool >(result));
138154  return resultobj;
138155 fail:
138156  return NULL;
138157 }
138158 
138159 
138160 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_SetFreeze(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138161  PyObject *resultobj = 0;
138163  bool arg2 ;
138164  void *argp1 = 0 ;
138165  int res1 = 0 ;
138166  bool val2 ;
138167  int ecode2 = 0 ;
138168  PyObject * obj0 = 0 ;
138169  PyObject * obj1 = 0 ;
138170 
138171  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsBody_Physics_SetFreeze",&obj0,&obj1)) SWIG_fail;
138172  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138173  if (!SWIG_IsOK(res1)) {
138174  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_SetFreeze" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138175  }
138176  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138177  ecode2 = SWIG_AsVal_bool(obj1, &val2);
138178  if (!SWIG_IsOK(ecode2)) {
138179  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsBody_Physics_SetFreeze" "', argument " "2"" of type '" "bool""'");
138180  }
138181  arg2 = static_cast< bool >(val2);
138182  {
138183  try {
138184  (arg1)->Physics_SetFreeze(arg2);
138185  }
138186  catch(CStdErrorInfo oError)
138187  {
138188  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138189  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138190  PyErr_SetString(PyExc_IndexError, strError.c_str());
138191  SWIG_fail;
138192  }
138193  catch(...)
138194  {
138195  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138196  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138197  SWIG_fail;
138198  }
138199  }
138200  resultobj = SWIG_Py_Void();
138201  return resultobj;
138202 fail:
138203  return NULL;
138204 }
138205 
138206 
138207 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_SetDensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138208  PyObject *resultobj = 0;
138210  float arg2 ;
138211  void *argp1 = 0 ;
138212  int res1 = 0 ;
138213  float val2 ;
138214  int ecode2 = 0 ;
138215  PyObject * obj0 = 0 ;
138216  PyObject * obj1 = 0 ;
138217 
138218  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsBody_Physics_SetDensity",&obj0,&obj1)) SWIG_fail;
138219  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138220  if (!SWIG_IsOK(res1)) {
138221  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_SetDensity" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138222  }
138223  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138224  ecode2 = SWIG_AsVal_float(obj1, &val2);
138225  if (!SWIG_IsOK(ecode2)) {
138226  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsBody_Physics_SetDensity" "', argument " "2"" of type '" "float""'");
138227  }
138228  arg2 = static_cast< float >(val2);
138229  {
138230  try {
138231  (arg1)->Physics_SetDensity(arg2);
138232  }
138233  catch(CStdErrorInfo oError)
138234  {
138235  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138236  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138237  PyErr_SetString(PyExc_IndexError, strError.c_str());
138238  SWIG_fail;
138239  }
138240  catch(...)
138241  {
138242  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138243  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138244  SWIG_fail;
138245  }
138246  }
138247  resultobj = SWIG_Py_Void();
138248  return resultobj;
138249 fail:
138250  return NULL;
138251 }
138252 
138253 
138254 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_GetDensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138255  PyObject *resultobj = 0;
138257  void *argp1 = 0 ;
138258  int res1 = 0 ;
138259  PyObject * obj0 = 0 ;
138260  float result;
138261 
138262  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsBody_Physics_GetDensity",&obj0)) SWIG_fail;
138263  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138264  if (!SWIG_IsOK(res1)) {
138265  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_GetDensity" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138266  }
138267  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138268  {
138269  try {
138270  result = (float)(arg1)->Physics_GetDensity();
138271  }
138272  catch(CStdErrorInfo oError)
138273  {
138274  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138275  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138276  PyErr_SetString(PyExc_IndexError, strError.c_str());
138277  SWIG_fail;
138278  }
138279  catch(...)
138280  {
138281  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138282  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138283  SWIG_fail;
138284  }
138285  }
138286  resultobj = SWIG_From_float(static_cast< float >(result));
138287  return resultobj;
138288 fail:
138289  return NULL;
138290 }
138291 
138292 
138293 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_SetMass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138294  PyObject *resultobj = 0;
138296  float arg2 ;
138297  void *argp1 = 0 ;
138298  int res1 = 0 ;
138299  float val2 ;
138300  int ecode2 = 0 ;
138301  PyObject * obj0 = 0 ;
138302  PyObject * obj1 = 0 ;
138303 
138304  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsBody_Physics_SetMass",&obj0,&obj1)) SWIG_fail;
138305  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138306  if (!SWIG_IsOK(res1)) {
138307  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_SetMass" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138308  }
138309  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138310  ecode2 = SWIG_AsVal_float(obj1, &val2);
138311  if (!SWIG_IsOK(ecode2)) {
138312  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsBody_Physics_SetMass" "', argument " "2"" of type '" "float""'");
138313  }
138314  arg2 = static_cast< float >(val2);
138315  {
138316  try {
138317  (arg1)->Physics_SetMass(arg2);
138318  }
138319  catch(CStdErrorInfo oError)
138320  {
138321  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138322  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138323  PyErr_SetString(PyExc_IndexError, strError.c_str());
138324  SWIG_fail;
138325  }
138326  catch(...)
138327  {
138328  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138329  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138330  SWIG_fail;
138331  }
138332  }
138333  resultobj = SWIG_Py_Void();
138334  return resultobj;
138335 fail:
138336  return NULL;
138337 }
138338 
138339 
138340 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_GetMass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138341  PyObject *resultobj = 0;
138343  void *argp1 = 0 ;
138344  int res1 = 0 ;
138345  PyObject * obj0 = 0 ;
138346  float result;
138347 
138348  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsBody_Physics_GetMass",&obj0)) SWIG_fail;
138349  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138350  if (!SWIG_IsOK(res1)) {
138351  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_GetMass" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138352  }
138353  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138354  {
138355  try {
138356  result = (float)(arg1)->Physics_GetMass();
138357  }
138358  catch(CStdErrorInfo oError)
138359  {
138360  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138361  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138362  PyErr_SetString(PyExc_IndexError, strError.c_str());
138363  SWIG_fail;
138364  }
138365  catch(...)
138366  {
138367  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138368  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138369  SWIG_fail;
138370  }
138371  }
138372  resultobj = SWIG_From_float(static_cast< float >(result));
138373  return resultobj;
138374 fail:
138375  return NULL;
138376 }
138377 
138378 
138379 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_SetMaterialID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138380  PyObject *resultobj = 0;
138382  std::string arg2 ;
138383  void *argp1 = 0 ;
138384  int res1 = 0 ;
138385  PyObject * obj0 = 0 ;
138386  PyObject * obj1 = 0 ;
138387 
138388  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsBody_Physics_SetMaterialID",&obj0,&obj1)) SWIG_fail;
138389  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138390  if (!SWIG_IsOK(res1)) {
138391  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_SetMaterialID" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138392  }
138393  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138394  {
138395  std::string *ptr = (std::string *)0;
138396  int res = SWIG_AsPtr_std_string(obj1, &ptr);
138397  if (!SWIG_IsOK(res) || !ptr) {
138398  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "IPhysicsBody_Physics_SetMaterialID" "', argument " "2"" of type '" "std::string""'");
138399  }
138400  arg2 = *ptr;
138401  if (SWIG_IsNewObj(res)) delete ptr;
138402  }
138403  {
138404  try {
138405  (arg1)->Physics_SetMaterialID(arg2);
138406  }
138407  catch(CStdErrorInfo oError)
138408  {
138409  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138410  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138411  PyErr_SetString(PyExc_IndexError, strError.c_str());
138412  SWIG_fail;
138413  }
138414  catch(...)
138415  {
138416  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138417  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138418  SWIG_fail;
138419  }
138420  }
138421  resultobj = SWIG_Py_Void();
138422  return resultobj;
138423 fail:
138424  return NULL;
138425 }
138426 
138427 
138428 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_SetVelocityDamping(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138429  PyObject *resultobj = 0;
138431  float arg2 ;
138432  float arg3 ;
138433  void *argp1 = 0 ;
138434  int res1 = 0 ;
138435  float val2 ;
138436  int ecode2 = 0 ;
138437  float val3 ;
138438  int ecode3 = 0 ;
138439  PyObject * obj0 = 0 ;
138440  PyObject * obj1 = 0 ;
138441  PyObject * obj2 = 0 ;
138442 
138443  if (!PyArg_ParseTuple(args,(char *)"OOO:IPhysicsBody_Physics_SetVelocityDamping",&obj0,&obj1,&obj2)) SWIG_fail;
138444  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138445  if (!SWIG_IsOK(res1)) {
138446  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_SetVelocityDamping" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138447  }
138448  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138449  ecode2 = SWIG_AsVal_float(obj1, &val2);
138450  if (!SWIG_IsOK(ecode2)) {
138451  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsBody_Physics_SetVelocityDamping" "', argument " "2"" of type '" "float""'");
138452  }
138453  arg2 = static_cast< float >(val2);
138454  ecode3 = SWIG_AsVal_float(obj2, &val3);
138455  if (!SWIG_IsOK(ecode3)) {
138456  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IPhysicsBody_Physics_SetVelocityDamping" "', argument " "3"" of type '" "float""'");
138457  }
138458  arg3 = static_cast< float >(val3);
138459  {
138460  try {
138461  (arg1)->Physics_SetVelocityDamping(arg2,arg3);
138462  }
138463  catch(CStdErrorInfo oError)
138464  {
138465  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138466  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138467  PyErr_SetString(PyExc_IndexError, strError.c_str());
138468  SWIG_fail;
138469  }
138470  catch(...)
138471  {
138472  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138473  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138474  SWIG_fail;
138475  }
138476  }
138477  resultobj = SWIG_Py_Void();
138478  return resultobj;
138479 fail:
138480  return NULL;
138481 }
138482 
138483 
138484 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_SetCenterOfMass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138485  PyObject *resultobj = 0;
138487  float arg2 ;
138488  float arg3 ;
138489  float arg4 ;
138490  void *argp1 = 0 ;
138491  int res1 = 0 ;
138492  float val2 ;
138493  int ecode2 = 0 ;
138494  float val3 ;
138495  int ecode3 = 0 ;
138496  float val4 ;
138497  int ecode4 = 0 ;
138498  PyObject * obj0 = 0 ;
138499  PyObject * obj1 = 0 ;
138500  PyObject * obj2 = 0 ;
138501  PyObject * obj3 = 0 ;
138502 
138503  if (!PyArg_ParseTuple(args,(char *)"OOOO:IPhysicsBody_Physics_SetCenterOfMass",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
138504  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138505  if (!SWIG_IsOK(res1)) {
138506  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_SetCenterOfMass" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138507  }
138508  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138509  ecode2 = SWIG_AsVal_float(obj1, &val2);
138510  if (!SWIG_IsOK(ecode2)) {
138511  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsBody_Physics_SetCenterOfMass" "', argument " "2"" of type '" "float""'");
138512  }
138513  arg2 = static_cast< float >(val2);
138514  ecode3 = SWIG_AsVal_float(obj2, &val3);
138515  if (!SWIG_IsOK(ecode3)) {
138516  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IPhysicsBody_Physics_SetCenterOfMass" "', argument " "3"" of type '" "float""'");
138517  }
138518  arg3 = static_cast< float >(val3);
138519  ecode4 = SWIG_AsVal_float(obj3, &val4);
138520  if (!SWIG_IsOK(ecode4)) {
138521  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IPhysicsBody_Physics_SetCenterOfMass" "', argument " "4"" of type '" "float""'");
138522  }
138523  arg4 = static_cast< float >(val4);
138524  {
138525  try {
138526  (arg1)->Physics_SetCenterOfMass(arg2,arg3,arg4);
138527  }
138528  catch(CStdErrorInfo oError)
138529  {
138530  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138531  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138532  PyErr_SetString(PyExc_IndexError, strError.c_str());
138533  SWIG_fail;
138534  }
138535  catch(...)
138536  {
138537  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138538  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138539  SWIG_fail;
138540  }
138541  }
138542  resultobj = SWIG_Py_Void();
138543  return resultobj;
138544 fail:
138545  return NULL;
138546 }
138547 
138548 
138549 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_UpdateNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138550  PyObject *resultobj = 0;
138552  void *argp1 = 0 ;
138553  int res1 = 0 ;
138554  PyObject * obj0 = 0 ;
138555 
138556  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsBody_Physics_UpdateNode",&obj0)) SWIG_fail;
138557  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138558  if (!SWIG_IsOK(res1)) {
138559  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_UpdateNode" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138560  }
138561  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138562  {
138563  try {
138564  (arg1)->Physics_UpdateNode();
138565  }
138566  catch(CStdErrorInfo oError)
138567  {
138568  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138569  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138570  PyErr_SetString(PyExc_IndexError, strError.c_str());
138571  SWIG_fail;
138572  }
138573  catch(...)
138574  {
138575  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138576  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138577  SWIG_fail;
138578  }
138579  }
138580  resultobj = SWIG_Py_Void();
138581  return resultobj;
138582 fail:
138583  return NULL;
138584 }
138585 
138586 
138587 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_EnableCollision(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138588  PyObject *resultobj = 0;
138590  RigidBody *arg2 = (RigidBody *) 0 ;
138591  void *argp1 = 0 ;
138592  int res1 = 0 ;
138593  void *argp2 = 0 ;
138594  int res2 = 0 ;
138595  PyObject * obj0 = 0 ;
138596  PyObject * obj1 = 0 ;
138597 
138598  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsBody_Physics_EnableCollision",&obj0,&obj1)) SWIG_fail;
138599  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138600  if (!SWIG_IsOK(res1)) {
138601  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_EnableCollision" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138602  }
138603  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138604  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RigidBody, 0 | 0 );
138605  if (!SWIG_IsOK(res2)) {
138606  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IPhysicsBody_Physics_EnableCollision" "', argument " "2"" of type '" "RigidBody *""'");
138607  }
138608  arg2 = reinterpret_cast< RigidBody * >(argp2);
138609  {
138610  try {
138611  (arg1)->Physics_EnableCollision(arg2);
138612  }
138613  catch(CStdErrorInfo oError)
138614  {
138615  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138616  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138617  PyErr_SetString(PyExc_IndexError, strError.c_str());
138618  SWIG_fail;
138619  }
138620  catch(...)
138621  {
138622  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138623  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138624  SWIG_fail;
138625  }
138626  }
138627  resultobj = SWIG_Py_Void();
138628  return resultobj;
138629 fail:
138630  return NULL;
138631 }
138632 
138633 
138634 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_DisableCollision(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138635  PyObject *resultobj = 0;
138637  RigidBody *arg2 = (RigidBody *) 0 ;
138638  void *argp1 = 0 ;
138639  int res1 = 0 ;
138640  void *argp2 = 0 ;
138641  int res2 = 0 ;
138642  PyObject * obj0 = 0 ;
138643  PyObject * obj1 = 0 ;
138644 
138645  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsBody_Physics_DisableCollision",&obj0,&obj1)) SWIG_fail;
138646  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138647  if (!SWIG_IsOK(res1)) {
138648  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_DisableCollision" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138649  }
138650  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138651  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RigidBody, 0 | 0 );
138652  if (!SWIG_IsOK(res2)) {
138653  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IPhysicsBody_Physics_DisableCollision" "', argument " "2"" of type '" "RigidBody *""'");
138654  }
138655  arg2 = reinterpret_cast< RigidBody * >(argp2);
138656  {
138657  try {
138658  (arg1)->Physics_DisableCollision(arg2);
138659  }
138660  catch(CStdErrorInfo oError)
138661  {
138662  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138663  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138664  PyErr_SetString(PyExc_IndexError, strError.c_str());
138665  SWIG_fail;
138666  }
138667  catch(...)
138668  {
138669  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138670  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138671  SWIG_fail;
138672  }
138673  }
138674  resultobj = SWIG_Py_Void();
138675  return resultobj;
138676 fail:
138677  return NULL;
138678 }
138679 
138680 
138681 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_AddBodyForceAtLocalPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138682  PyObject *resultobj = 0;
138684  float arg2 ;
138685  float arg3 ;
138686  float arg4 ;
138687  float arg5 ;
138688  float arg6 ;
138689  float arg7 ;
138690  bool arg8 ;
138691  void *argp1 = 0 ;
138692  int res1 = 0 ;
138693  float val2 ;
138694  int ecode2 = 0 ;
138695  float val3 ;
138696  int ecode3 = 0 ;
138697  float val4 ;
138698  int ecode4 = 0 ;
138699  float val5 ;
138700  int ecode5 = 0 ;
138701  float val6 ;
138702  int ecode6 = 0 ;
138703  float val7 ;
138704  int ecode7 = 0 ;
138705  bool val8 ;
138706  int ecode8 = 0 ;
138707  PyObject * obj0 = 0 ;
138708  PyObject * obj1 = 0 ;
138709  PyObject * obj2 = 0 ;
138710  PyObject * obj3 = 0 ;
138711  PyObject * obj4 = 0 ;
138712  PyObject * obj5 = 0 ;
138713  PyObject * obj6 = 0 ;
138714  PyObject * obj7 = 0 ;
138715 
138716  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:IPhysicsBody_Physics_AddBodyForceAtLocalPos",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
138717  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138718  if (!SWIG_IsOK(res1)) {
138719  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_AddBodyForceAtLocalPos" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138720  }
138721  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138722  ecode2 = SWIG_AsVal_float(obj1, &val2);
138723  if (!SWIG_IsOK(ecode2)) {
138724  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsBody_Physics_AddBodyForceAtLocalPos" "', argument " "2"" of type '" "float""'");
138725  }
138726  arg2 = static_cast< float >(val2);
138727  ecode3 = SWIG_AsVal_float(obj2, &val3);
138728  if (!SWIG_IsOK(ecode3)) {
138729  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IPhysicsBody_Physics_AddBodyForceAtLocalPos" "', argument " "3"" of type '" "float""'");
138730  }
138731  arg3 = static_cast< float >(val3);
138732  ecode4 = SWIG_AsVal_float(obj3, &val4);
138733  if (!SWIG_IsOK(ecode4)) {
138734  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IPhysicsBody_Physics_AddBodyForceAtLocalPos" "', argument " "4"" of type '" "float""'");
138735  }
138736  arg4 = static_cast< float >(val4);
138737  ecode5 = SWIG_AsVal_float(obj4, &val5);
138738  if (!SWIG_IsOK(ecode5)) {
138739  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "IPhysicsBody_Physics_AddBodyForceAtLocalPos" "', argument " "5"" of type '" "float""'");
138740  }
138741  arg5 = static_cast< float >(val5);
138742  ecode6 = SWIG_AsVal_float(obj5, &val6);
138743  if (!SWIG_IsOK(ecode6)) {
138744  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "IPhysicsBody_Physics_AddBodyForceAtLocalPos" "', argument " "6"" of type '" "float""'");
138745  }
138746  arg6 = static_cast< float >(val6);
138747  ecode7 = SWIG_AsVal_float(obj6, &val7);
138748  if (!SWIG_IsOK(ecode7)) {
138749  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "IPhysicsBody_Physics_AddBodyForceAtLocalPos" "', argument " "7"" of type '" "float""'");
138750  }
138751  arg7 = static_cast< float >(val7);
138752  ecode8 = SWIG_AsVal_bool(obj7, &val8);
138753  if (!SWIG_IsOK(ecode8)) {
138754  SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "IPhysicsBody_Physics_AddBodyForceAtLocalPos" "', argument " "8"" of type '" "bool""'");
138755  }
138756  arg8 = static_cast< bool >(val8);
138757  {
138758  try {
138759  (arg1)->Physics_AddBodyForceAtLocalPos(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
138760  }
138761  catch(CStdErrorInfo oError)
138762  {
138763  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138764  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138765  PyErr_SetString(PyExc_IndexError, strError.c_str());
138766  SWIG_fail;
138767  }
138768  catch(...)
138769  {
138770  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138771  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138772  SWIG_fail;
138773  }
138774  }
138775  resultobj = SWIG_Py_Void();
138776  return resultobj;
138777 fail:
138778  return NULL;
138779 }
138780 
138781 
138782 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_AddBodyForceAtWorldPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138783  PyObject *resultobj = 0;
138785  float arg2 ;
138786  float arg3 ;
138787  float arg4 ;
138788  float arg5 ;
138789  float arg6 ;
138790  float arg7 ;
138791  bool arg8 ;
138792  void *argp1 = 0 ;
138793  int res1 = 0 ;
138794  float val2 ;
138795  int ecode2 = 0 ;
138796  float val3 ;
138797  int ecode3 = 0 ;
138798  float val4 ;
138799  int ecode4 = 0 ;
138800  float val5 ;
138801  int ecode5 = 0 ;
138802  float val6 ;
138803  int ecode6 = 0 ;
138804  float val7 ;
138805  int ecode7 = 0 ;
138806  bool val8 ;
138807  int ecode8 = 0 ;
138808  PyObject * obj0 = 0 ;
138809  PyObject * obj1 = 0 ;
138810  PyObject * obj2 = 0 ;
138811  PyObject * obj3 = 0 ;
138812  PyObject * obj4 = 0 ;
138813  PyObject * obj5 = 0 ;
138814  PyObject * obj6 = 0 ;
138815  PyObject * obj7 = 0 ;
138816 
138817  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:IPhysicsBody_Physics_AddBodyForceAtWorldPos",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
138818  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138819  if (!SWIG_IsOK(res1)) {
138820  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_AddBodyForceAtWorldPos" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138821  }
138822  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138823  ecode2 = SWIG_AsVal_float(obj1, &val2);
138824  if (!SWIG_IsOK(ecode2)) {
138825  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsBody_Physics_AddBodyForceAtWorldPos" "', argument " "2"" of type '" "float""'");
138826  }
138827  arg2 = static_cast< float >(val2);
138828  ecode3 = SWIG_AsVal_float(obj2, &val3);
138829  if (!SWIG_IsOK(ecode3)) {
138830  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IPhysicsBody_Physics_AddBodyForceAtWorldPos" "', argument " "3"" of type '" "float""'");
138831  }
138832  arg3 = static_cast< float >(val3);
138833  ecode4 = SWIG_AsVal_float(obj3, &val4);
138834  if (!SWIG_IsOK(ecode4)) {
138835  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IPhysicsBody_Physics_AddBodyForceAtWorldPos" "', argument " "4"" of type '" "float""'");
138836  }
138837  arg4 = static_cast< float >(val4);
138838  ecode5 = SWIG_AsVal_float(obj4, &val5);
138839  if (!SWIG_IsOK(ecode5)) {
138840  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "IPhysicsBody_Physics_AddBodyForceAtWorldPos" "', argument " "5"" of type '" "float""'");
138841  }
138842  arg5 = static_cast< float >(val5);
138843  ecode6 = SWIG_AsVal_float(obj5, &val6);
138844  if (!SWIG_IsOK(ecode6)) {
138845  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "IPhysicsBody_Physics_AddBodyForceAtWorldPos" "', argument " "6"" of type '" "float""'");
138846  }
138847  arg6 = static_cast< float >(val6);
138848  ecode7 = SWIG_AsVal_float(obj6, &val7);
138849  if (!SWIG_IsOK(ecode7)) {
138850  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "IPhysicsBody_Physics_AddBodyForceAtWorldPos" "', argument " "7"" of type '" "float""'");
138851  }
138852  arg7 = static_cast< float >(val7);
138853  ecode8 = SWIG_AsVal_bool(obj7, &val8);
138854  if (!SWIG_IsOK(ecode8)) {
138855  SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "IPhysicsBody_Physics_AddBodyForceAtWorldPos" "', argument " "8"" of type '" "bool""'");
138856  }
138857  arg8 = static_cast< bool >(val8);
138858  {
138859  try {
138860  (arg1)->Physics_AddBodyForceAtWorldPos(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
138861  }
138862  catch(CStdErrorInfo oError)
138863  {
138864  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138865  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138866  PyErr_SetString(PyExc_IndexError, strError.c_str());
138867  SWIG_fail;
138868  }
138869  catch(...)
138870  {
138871  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138872  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138873  SWIG_fail;
138874  }
138875  }
138876  resultobj = SWIG_Py_Void();
138877  return resultobj;
138878 fail:
138879  return NULL;
138880 }
138881 
138882 
138883 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_AddBodyTorque(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138884  PyObject *resultobj = 0;
138886  float arg2 ;
138887  float arg3 ;
138888  float arg4 ;
138889  bool arg5 ;
138890  void *argp1 = 0 ;
138891  int res1 = 0 ;
138892  float val2 ;
138893  int ecode2 = 0 ;
138894  float val3 ;
138895  int ecode3 = 0 ;
138896  float val4 ;
138897  int ecode4 = 0 ;
138898  bool val5 ;
138899  int ecode5 = 0 ;
138900  PyObject * obj0 = 0 ;
138901  PyObject * obj1 = 0 ;
138902  PyObject * obj2 = 0 ;
138903  PyObject * obj3 = 0 ;
138904  PyObject * obj4 = 0 ;
138905 
138906  if (!PyArg_ParseTuple(args,(char *)"OOOOO:IPhysicsBody_Physics_AddBodyTorque",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
138907  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138908  if (!SWIG_IsOK(res1)) {
138909  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_AddBodyTorque" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138910  }
138911  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138912  ecode2 = SWIG_AsVal_float(obj1, &val2);
138913  if (!SWIG_IsOK(ecode2)) {
138914  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsBody_Physics_AddBodyTorque" "', argument " "2"" of type '" "float""'");
138915  }
138916  arg2 = static_cast< float >(val2);
138917  ecode3 = SWIG_AsVal_float(obj2, &val3);
138918  if (!SWIG_IsOK(ecode3)) {
138919  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IPhysicsBody_Physics_AddBodyTorque" "', argument " "3"" of type '" "float""'");
138920  }
138921  arg3 = static_cast< float >(val3);
138922  ecode4 = SWIG_AsVal_float(obj3, &val4);
138923  if (!SWIG_IsOK(ecode4)) {
138924  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IPhysicsBody_Physics_AddBodyTorque" "', argument " "4"" of type '" "float""'");
138925  }
138926  arg4 = static_cast< float >(val4);
138927  ecode5 = SWIG_AsVal_bool(obj4, &val5);
138928  if (!SWIG_IsOK(ecode5)) {
138929  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "IPhysicsBody_Physics_AddBodyTorque" "', argument " "5"" of type '" "bool""'");
138930  }
138931  arg5 = static_cast< bool >(val5);
138932  {
138933  try {
138934  (arg1)->Physics_AddBodyTorque(arg2,arg3,arg4,arg5);
138935  }
138936  catch(CStdErrorInfo oError)
138937  {
138938  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138939  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
138940  PyErr_SetString(PyExc_IndexError, strError.c_str());
138941  SWIG_fail;
138942  }
138943  catch(...)
138944  {
138945  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
138946  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
138947  SWIG_fail;
138948  }
138949  }
138950  resultobj = SWIG_Py_Void();
138951  return resultobj;
138952 fail:
138953  return NULL;
138954 }
138955 
138956 
138957 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_GetVelocityAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
138958  PyObject *resultobj = 0;
138960  float arg2 ;
138961  float arg3 ;
138962  float arg4 ;
138963  void *argp1 = 0 ;
138964  int res1 = 0 ;
138965  float val2 ;
138966  int ecode2 = 0 ;
138967  float val3 ;
138968  int ecode3 = 0 ;
138969  float val4 ;
138970  int ecode4 = 0 ;
138971  PyObject * obj0 = 0 ;
138972  PyObject * obj1 = 0 ;
138973  PyObject * obj2 = 0 ;
138974  PyObject * obj3 = 0 ;
138975  CStdPoint< float > result;
138976 
138977  if (!PyArg_ParseTuple(args,(char *)"OOOO:IPhysicsBody_Physics_GetVelocityAtPoint",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
138978  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
138979  if (!SWIG_IsOK(res1)) {
138980  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_GetVelocityAtPoint" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
138981  }
138982  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
138983  ecode2 = SWIG_AsVal_float(obj1, &val2);
138984  if (!SWIG_IsOK(ecode2)) {
138985  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsBody_Physics_GetVelocityAtPoint" "', argument " "2"" of type '" "float""'");
138986  }
138987  arg2 = static_cast< float >(val2);
138988  ecode3 = SWIG_AsVal_float(obj2, &val3);
138989  if (!SWIG_IsOK(ecode3)) {
138990  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IPhysicsBody_Physics_GetVelocityAtPoint" "', argument " "3"" of type '" "float""'");
138991  }
138992  arg3 = static_cast< float >(val3);
138993  ecode4 = SWIG_AsVal_float(obj3, &val4);
138994  if (!SWIG_IsOK(ecode4)) {
138995  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IPhysicsBody_Physics_GetVelocityAtPoint" "', argument " "4"" of type '" "float""'");
138996  }
138997  arg4 = static_cast< float >(val4);
138998  {
138999  try {
139000  result = (arg1)->Physics_GetVelocityAtPoint(arg2,arg3,arg4);
139001  }
139002  catch(CStdErrorInfo oError)
139003  {
139004  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139005  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139006  PyErr_SetString(PyExc_IndexError, strError.c_str());
139007  SWIG_fail;
139008  }
139009  catch(...)
139010  {
139011  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139012  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139013  SWIG_fail;
139014  }
139015  }
139016  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
139017  return resultobj;
139018 fail:
139019  return NULL;
139020 }
139021 
139022 
139023 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_ResizeSelectedReceptiveFieldVertex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139024  PyObject *resultobj = 0;
139026  void *argp1 = 0 ;
139027  int res1 = 0 ;
139028  PyObject * obj0 = 0 ;
139029 
139030  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsBody_Physics_ResizeSelectedReceptiveFieldVertex",&obj0)) SWIG_fail;
139031  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
139032  if (!SWIG_IsOK(res1)) {
139033  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_ResizeSelectedReceptiveFieldVertex" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
139034  }
139035  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
139036  {
139037  try {
139038  (arg1)->Physics_ResizeSelectedReceptiveFieldVertex();
139039  }
139040  catch(CStdErrorInfo oError)
139041  {
139042  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139043  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139044  PyErr_SetString(PyExc_IndexError, strError.c_str());
139045  SWIG_fail;
139046  }
139047  catch(...)
139048  {
139049  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139050  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139051  SWIG_fail;
139052  }
139053  }
139054  resultobj = SWIG_Py_Void();
139055  return resultobj;
139056 fail:
139057  return NULL;
139058 }
139059 
139060 
139061 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_FluidDataChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139062  PyObject *resultobj = 0;
139064  void *argp1 = 0 ;
139065  int res1 = 0 ;
139066  PyObject * obj0 = 0 ;
139067 
139068  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsBody_Physics_FluidDataChanged",&obj0)) SWIG_fail;
139069  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
139070  if (!SWIG_IsOK(res1)) {
139071  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_FluidDataChanged" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
139072  }
139073  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
139074  {
139075  try {
139076  (arg1)->Physics_FluidDataChanged();
139077  }
139078  catch(CStdErrorInfo oError)
139079  {
139080  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139081  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139082  PyErr_SetString(PyExc_IndexError, strError.c_str());
139083  SWIG_fail;
139084  }
139085  catch(...)
139086  {
139087  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139088  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139089  SWIG_fail;
139090  }
139091  }
139092  resultobj = SWIG_Py_Void();
139093  return resultobj;
139094 fail:
139095  return NULL;
139096 }
139097 
139098 
139099 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_HasCollisionGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139100  PyObject *resultobj = 0;
139102  void *argp1 = 0 ;
139103  int res1 = 0 ;
139104  PyObject * obj0 = 0 ;
139105  bool result;
139106 
139107  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsBody_Physics_HasCollisionGeometry",&obj0)) SWIG_fail;
139108  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
139109  if (!SWIG_IsOK(res1)) {
139110  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_HasCollisionGeometry" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
139111  }
139112  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
139113  {
139114  try {
139115  result = (bool)(arg1)->Physics_HasCollisionGeometry();
139116  }
139117  catch(CStdErrorInfo oError)
139118  {
139119  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139120  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139121  PyErr_SetString(PyExc_IndexError, strError.c_str());
139122  SWIG_fail;
139123  }
139124  catch(...)
139125  {
139126  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139127  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139128  SWIG_fail;
139129  }
139130  }
139131  resultobj = SWIG_From_bool(static_cast< bool >(result));
139132  return resultobj;
139133 fail:
139134  return NULL;
139135 }
139136 
139137 
139138 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_WakeDynamics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139139  PyObject *resultobj = 0;
139141  void *argp1 = 0 ;
139142  int res1 = 0 ;
139143  PyObject * obj0 = 0 ;
139144 
139145  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsBody_Physics_WakeDynamics",&obj0)) SWIG_fail;
139146  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
139147  if (!SWIG_IsOK(res1)) {
139148  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_WakeDynamics" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
139149  }
139150  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
139151  {
139152  try {
139153  (arg1)->Physics_WakeDynamics();
139154  }
139155  catch(CStdErrorInfo oError)
139156  {
139157  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139158  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139159  PyErr_SetString(PyExc_IndexError, strError.c_str());
139160  SWIG_fail;
139161  }
139162  catch(...)
139163  {
139164  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139165  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139166  SWIG_fail;
139167  }
139168  }
139169  resultobj = SWIG_Py_Void();
139170  return resultobj;
139171 fail:
139172  return NULL;
139173 }
139174 
139175 
139176 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_ContactSensorAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139177  PyObject *resultobj = 0;
139179  ContactSensor *arg2 = (ContactSensor *) 0 ;
139180  void *argp1 = 0 ;
139181  int res1 = 0 ;
139182  void *argp2 = 0 ;
139183  int res2 = 0 ;
139184  PyObject * obj0 = 0 ;
139185  PyObject * obj1 = 0 ;
139186 
139187  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsBody_Physics_ContactSensorAdded",&obj0,&obj1)) SWIG_fail;
139188  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
139189  if (!SWIG_IsOK(res1)) {
139190  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_ContactSensorAdded" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
139191  }
139192  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
139193  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ContactSensor, 0 | 0 );
139194  if (!SWIG_IsOK(res2)) {
139195  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IPhysicsBody_Physics_ContactSensorAdded" "', argument " "2"" of type '" "ContactSensor *""'");
139196  }
139197  arg2 = reinterpret_cast< ContactSensor * >(argp2);
139198  {
139199  try {
139200  (arg1)->Physics_ContactSensorAdded(arg2);
139201  }
139202  catch(CStdErrorInfo oError)
139203  {
139204  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139205  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139206  PyErr_SetString(PyExc_IndexError, strError.c_str());
139207  SWIG_fail;
139208  }
139209  catch(...)
139210  {
139211  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139212  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139213  SWIG_fail;
139214  }
139215  }
139216  resultobj = SWIG_Py_Void();
139217  return resultobj;
139218 fail:
139219  return NULL;
139220 }
139221 
139222 
139223 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_ContactSensorRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139224  PyObject *resultobj = 0;
139226  void *argp1 = 0 ;
139227  int res1 = 0 ;
139228  PyObject * obj0 = 0 ;
139229 
139230  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsBody_Physics_ContactSensorRemoved",&obj0)) SWIG_fail;
139231  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
139232  if (!SWIG_IsOK(res1)) {
139233  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_ContactSensorRemoved" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
139234  }
139235  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
139236  {
139237  try {
139238  (arg1)->Physics_ContactSensorRemoved();
139239  }
139240  catch(CStdErrorInfo oError)
139241  {
139242  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139243  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139244  PyErr_SetString(PyExc_IndexError, strError.c_str());
139245  SWIG_fail;
139246  }
139247  catch(...)
139248  {
139249  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139250  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139251  SWIG_fail;
139252  }
139253  }
139254  resultobj = SWIG_Py_Void();
139255  return resultobj;
139256 fail:
139257  return NULL;
139258 }
139259 
139260 
139261 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_StepHydrodynamicSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139262  PyObject *resultobj = 0;
139264  void *argp1 = 0 ;
139265  int res1 = 0 ;
139266  PyObject * obj0 = 0 ;
139267 
139268  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsBody_Physics_StepHydrodynamicSimulation",&obj0)) SWIG_fail;
139269  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
139270  if (!SWIG_IsOK(res1)) {
139271  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_StepHydrodynamicSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
139272  }
139273  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
139274  {
139275  try {
139276  (arg1)->Physics_StepHydrodynamicSimulation();
139277  }
139278  catch(CStdErrorInfo oError)
139279  {
139280  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139281  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139282  PyErr_SetString(PyExc_IndexError, strError.c_str());
139283  SWIG_fail;
139284  }
139285  catch(...)
139286  {
139287  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139288  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139289  SWIG_fail;
139290  }
139291  }
139292  resultobj = SWIG_Py_Void();
139293  return resultobj;
139294 fail:
139295  return NULL;
139296 }
139297 
139298 
139299 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_ChildBodyAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139300  PyObject *resultobj = 0;
139302  RigidBody *arg2 = (RigidBody *) 0 ;
139303  void *argp1 = 0 ;
139304  int res1 = 0 ;
139305  void *argp2 = 0 ;
139306  int res2 = 0 ;
139307  PyObject * obj0 = 0 ;
139308  PyObject * obj1 = 0 ;
139309 
139310  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsBody_Physics_ChildBodyAdded",&obj0,&obj1)) SWIG_fail;
139311  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
139312  if (!SWIG_IsOK(res1)) {
139313  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_ChildBodyAdded" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
139314  }
139315  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
139316  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RigidBody, 0 | 0 );
139317  if (!SWIG_IsOK(res2)) {
139318  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IPhysicsBody_Physics_ChildBodyAdded" "', argument " "2"" of type '" "RigidBody *""'");
139319  }
139320  arg2 = reinterpret_cast< RigidBody * >(argp2);
139321  {
139322  try {
139323  (arg1)->Physics_ChildBodyAdded(arg2);
139324  }
139325  catch(CStdErrorInfo oError)
139326  {
139327  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139328  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139329  PyErr_SetString(PyExc_IndexError, strError.c_str());
139330  SWIG_fail;
139331  }
139332  catch(...)
139333  {
139334  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139335  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139336  SWIG_fail;
139337  }
139338  }
139339  resultobj = SWIG_Py_Void();
139340  return resultobj;
139341 fail:
139342  return NULL;
139343 }
139344 
139345 
139346 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_ChildBodyRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139347  PyObject *resultobj = 0;
139349  bool arg2 ;
139350  void *argp1 = 0 ;
139351  int res1 = 0 ;
139352  bool val2 ;
139353  int ecode2 = 0 ;
139354  PyObject * obj0 = 0 ;
139355  PyObject * obj1 = 0 ;
139356 
139357  if (!PyArg_ParseTuple(args,(char *)"OO:IPhysicsBody_Physics_ChildBodyRemoved",&obj0,&obj1)) SWIG_fail;
139358  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
139359  if (!SWIG_IsOK(res1)) {
139360  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_ChildBodyRemoved" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
139361  }
139362  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
139363  ecode2 = SWIG_AsVal_bool(obj1, &val2);
139364  if (!SWIG_IsOK(ecode2)) {
139365  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IPhysicsBody_Physics_ChildBodyRemoved" "', argument " "2"" of type '" "bool""'");
139366  }
139367  arg2 = static_cast< bool >(val2);
139368  {
139369  try {
139370  (arg1)->Physics_ChildBodyRemoved(arg2);
139371  }
139372  catch(CStdErrorInfo oError)
139373  {
139374  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139375  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139376  PyErr_SetString(PyExc_IndexError, strError.c_str());
139377  SWIG_fail;
139378  }
139379  catch(...)
139380  {
139381  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139382  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139383  SWIG_fail;
139384  }
139385  }
139386  resultobj = SWIG_Py_Void();
139387  return resultobj;
139388 fail:
139389  return NULL;
139390 }
139391 
139392 
139393 SWIGINTERN PyObject *_wrap_IPhysicsBody_Physics_DeleteStickyLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139394  PyObject *resultobj = 0;
139396  void *argp1 = 0 ;
139397  int res1 = 0 ;
139398  PyObject * obj0 = 0 ;
139399 
139400  if (!PyArg_ParseTuple(args,(char *)"O:IPhysicsBody_Physics_DeleteStickyLock",&obj0)) SWIG_fail;
139401  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
139402  if (!SWIG_IsOK(res1)) {
139403  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IPhysicsBody_Physics_DeleteStickyLock" "', argument " "1"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
139404  }
139405  arg1 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp1);
139406  {
139407  try {
139408  (arg1)->Physics_DeleteStickyLock();
139409  }
139410  catch(CStdErrorInfo oError)
139411  {
139412  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139413  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139414  PyErr_SetString(PyExc_IndexError, strError.c_str());
139415  SWIG_fail;
139416  }
139417  catch(...)
139418  {
139419  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139420  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139421  SWIG_fail;
139422  }
139423  }
139424  resultobj = SWIG_Py_Void();
139425  return resultobj;
139426 fail:
139427  return NULL;
139428 }
139429 
139430 
139431 SWIGINTERN PyObject *IPhysicsBody_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139432  PyObject *obj;
139433  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
139434  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, SWIG_NewClientData(obj));
139435  return SWIG_Py_Void();
139436 }
139437 
139438 SWIGINTERN PyObject *_wrap_BoundingBox_Min_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139439  PyObject *resultobj = 0;
139441  CStdPoint< float > *arg2 = (CStdPoint< float > *) 0 ;
139442  void *argp1 = 0 ;
139443  int res1 = 0 ;
139444  void *argp2 = 0 ;
139445  int res2 = 0 ;
139446  PyObject * obj0 = 0 ;
139447  PyObject * obj1 = 0 ;
139448 
139449  if (!PyArg_ParseTuple(args,(char *)"OO:BoundingBox_Min_set",&obj0,&obj1)) SWIG_fail;
139450  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__BoundingBox, 0 | 0 );
139451  if (!SWIG_IsOK(res1)) {
139452  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BoundingBox_Min_set" "', argument " "1"" of type '" "AnimatSim::BoundingBox *""'");
139453  }
139454  arg1 = reinterpret_cast< AnimatSim::BoundingBox * >(argp1);
139455  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
139456  if (!SWIG_IsOK(res2)) {
139457  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BoundingBox_Min_set" "', argument " "2"" of type '" "CStdPoint< float > *""'");
139458  }
139459  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
139460  if (arg1) (arg1)->Min = *arg2;
139461  resultobj = SWIG_Py_Void();
139462  return resultobj;
139463 fail:
139464  return NULL;
139465 }
139466 
139467 
139468 SWIGINTERN PyObject *_wrap_BoundingBox_Min_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139469  PyObject *resultobj = 0;
139471  void *argp1 = 0 ;
139472  int res1 = 0 ;
139473  PyObject * obj0 = 0 ;
139474  CStdPoint< float > *result = 0 ;
139475 
139476  if (!PyArg_ParseTuple(args,(char *)"O:BoundingBox_Min_get",&obj0)) SWIG_fail;
139477  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__BoundingBox, 0 | 0 );
139478  if (!SWIG_IsOK(res1)) {
139479  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BoundingBox_Min_get" "', argument " "1"" of type '" "AnimatSim::BoundingBox *""'");
139480  }
139481  arg1 = reinterpret_cast< AnimatSim::BoundingBox * >(argp1);
139482  result = (CStdPoint< float > *)& ((arg1)->Min);
139483  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
139484  return resultobj;
139485 fail:
139486  return NULL;
139487 }
139488 
139489 
139490 SWIGINTERN PyObject *_wrap_BoundingBox_Max_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139491  PyObject *resultobj = 0;
139493  CStdPoint< float > *arg2 = (CStdPoint< float > *) 0 ;
139494  void *argp1 = 0 ;
139495  int res1 = 0 ;
139496  void *argp2 = 0 ;
139497  int res2 = 0 ;
139498  PyObject * obj0 = 0 ;
139499  PyObject * obj1 = 0 ;
139500 
139501  if (!PyArg_ParseTuple(args,(char *)"OO:BoundingBox_Max_set",&obj0,&obj1)) SWIG_fail;
139502  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__BoundingBox, 0 | 0 );
139503  if (!SWIG_IsOK(res1)) {
139504  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BoundingBox_Max_set" "', argument " "1"" of type '" "AnimatSim::BoundingBox *""'");
139505  }
139506  arg1 = reinterpret_cast< AnimatSim::BoundingBox * >(argp1);
139507  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
139508  if (!SWIG_IsOK(res2)) {
139509  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BoundingBox_Max_set" "', argument " "2"" of type '" "CStdPoint< float > *""'");
139510  }
139511  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
139512  if (arg1) (arg1)->Max = *arg2;
139513  resultobj = SWIG_Py_Void();
139514  return resultobj;
139515 fail:
139516  return NULL;
139517 }
139518 
139519 
139520 SWIGINTERN PyObject *_wrap_BoundingBox_Max_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139521  PyObject *resultobj = 0;
139523  void *argp1 = 0 ;
139524  int res1 = 0 ;
139525  PyObject * obj0 = 0 ;
139526  CStdPoint< float > *result = 0 ;
139527 
139528  if (!PyArg_ParseTuple(args,(char *)"O:BoundingBox_Max_get",&obj0)) SWIG_fail;
139529  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__BoundingBox, 0 | 0 );
139530  if (!SWIG_IsOK(res1)) {
139531  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BoundingBox_Max_get" "', argument " "1"" of type '" "AnimatSim::BoundingBox *""'");
139532  }
139533  arg1 = reinterpret_cast< AnimatSim::BoundingBox * >(argp1);
139534  result = (CStdPoint< float > *)& ((arg1)->Max);
139535  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPointT_float_t, 0 | 0 );
139536  return resultobj;
139537 fail:
139538  return NULL;
139539 }
139540 
139541 
139542 SWIGINTERN PyObject *_wrap_new_BoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139543  PyObject *resultobj = 0;
139544  AnimatSim::BoundingBox *result = 0 ;
139545 
139546  if (!PyArg_ParseTuple(args,(char *)":new_BoundingBox")) SWIG_fail;
139547  {
139548  try {
139550  }
139551  catch(CStdErrorInfo oError)
139552  {
139553  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139554  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139555  PyErr_SetString(PyExc_IndexError, strError.c_str());
139556  SWIG_fail;
139557  }
139558  catch(...)
139559  {
139560  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139561  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139562  SWIG_fail;
139563  }
139564  }
139565  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__BoundingBox, SWIG_POINTER_NEW | 0 );
139566  return resultobj;
139567 fail:
139568  return NULL;
139569 }
139570 
139571 
139572 SWIGINTERN PyObject *_wrap_delete_BoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139573  PyObject *resultobj = 0;
139575  void *argp1 = 0 ;
139576  int res1 = 0 ;
139577  PyObject * obj0 = 0 ;
139578 
139579  if (!PyArg_ParseTuple(args,(char *)"O:delete_BoundingBox",&obj0)) SWIG_fail;
139580  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__BoundingBox, SWIG_POINTER_DISOWN | 0 );
139581  if (!SWIG_IsOK(res1)) {
139582  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BoundingBox" "', argument " "1"" of type '" "AnimatSim::BoundingBox *""'");
139583  }
139584  arg1 = reinterpret_cast< AnimatSim::BoundingBox * >(argp1);
139585  {
139586  try {
139587  delete arg1;
139588  }
139589  catch(CStdErrorInfo oError)
139590  {
139591  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139592  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139593  PyErr_SetString(PyExc_IndexError, strError.c_str());
139594  SWIG_fail;
139595  }
139596  catch(...)
139597  {
139598  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139599  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139600  SWIG_fail;
139601  }
139602  }
139603  resultobj = SWIG_Py_Void();
139604  return resultobj;
139605 fail:
139606  return NULL;
139607 }
139608 
139609 
139610 SWIGINTERN PyObject *_wrap_BoundingBox_Set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139611  PyObject *resultobj = 0;
139613  CStdPoint< float > *arg2 = 0 ;
139614  CStdPoint< float > *arg3 = 0 ;
139615  void *argp1 = 0 ;
139616  int res1 = 0 ;
139617  void *argp2 = 0 ;
139618  int res2 = 0 ;
139619  void *argp3 = 0 ;
139620  int res3 = 0 ;
139621  PyObject * obj0 = 0 ;
139622  PyObject * obj1 = 0 ;
139623  PyObject * obj2 = 0 ;
139624 
139625  if (!PyArg_ParseTuple(args,(char *)"OOO:BoundingBox_Set",&obj0,&obj1,&obj2)) SWIG_fail;
139626  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__BoundingBox, 0 | 0 );
139627  if (!SWIG_IsOK(res1)) {
139628  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BoundingBox_Set" "', argument " "1"" of type '" "AnimatSim::BoundingBox *""'");
139629  }
139630  arg1 = reinterpret_cast< AnimatSim::BoundingBox * >(argp1);
139631  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
139632  if (!SWIG_IsOK(res2)) {
139633  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BoundingBox_Set" "', argument " "2"" of type '" "CStdPoint< float > &""'");
139634  }
139635  if (!argp2) {
139636  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BoundingBox_Set" "', argument " "2"" of type '" "CStdPoint< float > &""'");
139637  }
139638  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
139639  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_float_t, 0 );
139640  if (!SWIG_IsOK(res3)) {
139641  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BoundingBox_Set" "', argument " "3"" of type '" "CStdPoint< float > &""'");
139642  }
139643  if (!argp3) {
139644  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BoundingBox_Set" "', argument " "3"" of type '" "CStdPoint< float > &""'");
139645  }
139646  arg3 = reinterpret_cast< CStdPoint< float > * >(argp3);
139647  {
139648  try {
139649  (arg1)->Set(*arg2,*arg3);
139650  }
139651  catch(CStdErrorInfo oError)
139652  {
139653  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139654  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139655  PyErr_SetString(PyExc_IndexError, strError.c_str());
139656  SWIG_fail;
139657  }
139658  catch(...)
139659  {
139660  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139661  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139662  SWIG_fail;
139663  }
139664  }
139665  resultobj = SWIG_Py_Void();
139666  return resultobj;
139667 fail:
139668  return NULL;
139669 }
139670 
139671 
139672 SWIGINTERN PyObject *_wrap_BoundingBox_Set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139673  PyObject *resultobj = 0;
139675  float arg2 ;
139676  float arg3 ;
139677  float arg4 ;
139678  float arg5 ;
139679  float arg6 ;
139680  float arg7 ;
139681  void *argp1 = 0 ;
139682  int res1 = 0 ;
139683  float val2 ;
139684  int ecode2 = 0 ;
139685  float val3 ;
139686  int ecode3 = 0 ;
139687  float val4 ;
139688  int ecode4 = 0 ;
139689  float val5 ;
139690  int ecode5 = 0 ;
139691  float val6 ;
139692  int ecode6 = 0 ;
139693  float val7 ;
139694  int ecode7 = 0 ;
139695  PyObject * obj0 = 0 ;
139696  PyObject * obj1 = 0 ;
139697  PyObject * obj2 = 0 ;
139698  PyObject * obj3 = 0 ;
139699  PyObject * obj4 = 0 ;
139700  PyObject * obj5 = 0 ;
139701  PyObject * obj6 = 0 ;
139702 
139703  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:BoundingBox_Set",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
139704  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__BoundingBox, 0 | 0 );
139705  if (!SWIG_IsOK(res1)) {
139706  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BoundingBox_Set" "', argument " "1"" of type '" "AnimatSim::BoundingBox *""'");
139707  }
139708  arg1 = reinterpret_cast< AnimatSim::BoundingBox * >(argp1);
139709  ecode2 = SWIG_AsVal_float(obj1, &val2);
139710  if (!SWIG_IsOK(ecode2)) {
139711  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BoundingBox_Set" "', argument " "2"" of type '" "float""'");
139712  }
139713  arg2 = static_cast< float >(val2);
139714  ecode3 = SWIG_AsVal_float(obj2, &val3);
139715  if (!SWIG_IsOK(ecode3)) {
139716  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BoundingBox_Set" "', argument " "3"" of type '" "float""'");
139717  }
139718  arg3 = static_cast< float >(val3);
139719  ecode4 = SWIG_AsVal_float(obj3, &val4);
139720  if (!SWIG_IsOK(ecode4)) {
139721  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BoundingBox_Set" "', argument " "4"" of type '" "float""'");
139722  }
139723  arg4 = static_cast< float >(val4);
139724  ecode5 = SWIG_AsVal_float(obj4, &val5);
139725  if (!SWIG_IsOK(ecode5)) {
139726  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BoundingBox_Set" "', argument " "5"" of type '" "float""'");
139727  }
139728  arg5 = static_cast< float >(val5);
139729  ecode6 = SWIG_AsVal_float(obj5, &val6);
139730  if (!SWIG_IsOK(ecode6)) {
139731  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BoundingBox_Set" "', argument " "6"" of type '" "float""'");
139732  }
139733  arg6 = static_cast< float >(val6);
139734  ecode7 = SWIG_AsVal_float(obj6, &val7);
139735  if (!SWIG_IsOK(ecode7)) {
139736  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BoundingBox_Set" "', argument " "7"" of type '" "float""'");
139737  }
139738  arg7 = static_cast< float >(val7);
139739  {
139740  try {
139741  (arg1)->Set(arg2,arg3,arg4,arg5,arg6,arg7);
139742  }
139743  catch(CStdErrorInfo oError)
139744  {
139745  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139746  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139747  PyErr_SetString(PyExc_IndexError, strError.c_str());
139748  SWIG_fail;
139749  }
139750  catch(...)
139751  {
139752  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139753  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139754  SWIG_fail;
139755  }
139756  }
139757  resultobj = SWIG_Py_Void();
139758  return resultobj;
139759 fail:
139760  return NULL;
139761 }
139762 
139763 
139764 SWIGINTERN PyObject *_wrap_BoundingBox_Set(PyObject *self, PyObject *args) {
139765  int argc;
139766  PyObject *argv[8];
139767  int ii;
139768 
139769  if (!PyTuple_Check(args)) SWIG_fail;
139770  argc = args ? (int)PyObject_Length(args) : 0;
139771  for (ii = 0; (ii < 7) && (ii < argc); ii++) {
139772  argv[ii] = PyTuple_GET_ITEM(args,ii);
139773  }
139774  if (argc == 3) {
139775  int _v;
139776  void *vptr = 0;
139777  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__BoundingBox, 0);
139778  _v = SWIG_CheckState(res);
139779  if (_v) {
139780  void *vptr = 0;
139781  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
139782  _v = SWIG_CheckState(res);
139783  if (_v) {
139784  void *vptr = 0;
139785  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
139786  _v = SWIG_CheckState(res);
139787  if (_v) {
139788  return _wrap_BoundingBox_Set__SWIG_0(self, args);
139789  }
139790  }
139791  }
139792  }
139793  if (argc == 7) {
139794  int _v;
139795  void *vptr = 0;
139796  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__BoundingBox, 0);
139797  _v = SWIG_CheckState(res);
139798  if (_v) {
139799  {
139800  int res = SWIG_AsVal_float(argv[1], NULL);
139801  _v = SWIG_CheckState(res);
139802  }
139803  if (_v) {
139804  {
139805  int res = SWIG_AsVal_float(argv[2], NULL);
139806  _v = SWIG_CheckState(res);
139807  }
139808  if (_v) {
139809  {
139810  int res = SWIG_AsVal_float(argv[3], NULL);
139811  _v = SWIG_CheckState(res);
139812  }
139813  if (_v) {
139814  {
139815  int res = SWIG_AsVal_float(argv[4], NULL);
139816  _v = SWIG_CheckState(res);
139817  }
139818  if (_v) {
139819  {
139820  int res = SWIG_AsVal_float(argv[5], NULL);
139821  _v = SWIG_CheckState(res);
139822  }
139823  if (_v) {
139824  {
139825  int res = SWIG_AsVal_float(argv[6], NULL);
139826  _v = SWIG_CheckState(res);
139827  }
139828  if (_v) {
139829  return _wrap_BoundingBox_Set__SWIG_1(self, args);
139830  }
139831  }
139832  }
139833  }
139834  }
139835  }
139836  }
139837  }
139838 
139839 fail:
139840  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BoundingBox_Set'.\n"
139841  " Possible C/C++ prototypes are:\n"
139842  " AnimatSim::BoundingBox::Set(CStdPoint< float > &,CStdPoint< float > &)\n"
139843  " AnimatSim::BoundingBox::Set(float,float,float,float,float,float)\n");
139844  return 0;
139845 }
139846 
139847 
139848 SWIGINTERN PyObject *_wrap_BoundingBox_Length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139849  PyObject *resultobj = 0;
139851  void *argp1 = 0 ;
139852  int res1 = 0 ;
139853  PyObject * obj0 = 0 ;
139854  float result;
139855 
139856  if (!PyArg_ParseTuple(args,(char *)"O:BoundingBox_Length",&obj0)) SWIG_fail;
139857  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__BoundingBox, 0 | 0 );
139858  if (!SWIG_IsOK(res1)) {
139859  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BoundingBox_Length" "', argument " "1"" of type '" "AnimatSim::BoundingBox *""'");
139860  }
139861  arg1 = reinterpret_cast< AnimatSim::BoundingBox * >(argp1);
139862  {
139863  try {
139864  result = (float)(arg1)->Length();
139865  }
139866  catch(CStdErrorInfo oError)
139867  {
139868  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139869  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139870  PyErr_SetString(PyExc_IndexError, strError.c_str());
139871  SWIG_fail;
139872  }
139873  catch(...)
139874  {
139875  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139876  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139877  SWIG_fail;
139878  }
139879  }
139880  resultobj = SWIG_From_float(static_cast< float >(result));
139881  return resultobj;
139882 fail:
139883  return NULL;
139884 }
139885 
139886 
139887 SWIGINTERN PyObject *_wrap_BoundingBox_Width(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139888  PyObject *resultobj = 0;
139890  void *argp1 = 0 ;
139891  int res1 = 0 ;
139892  PyObject * obj0 = 0 ;
139893  float result;
139894 
139895  if (!PyArg_ParseTuple(args,(char *)"O:BoundingBox_Width",&obj0)) SWIG_fail;
139896  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__BoundingBox, 0 | 0 );
139897  if (!SWIG_IsOK(res1)) {
139898  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BoundingBox_Width" "', argument " "1"" of type '" "AnimatSim::BoundingBox *""'");
139899  }
139900  arg1 = reinterpret_cast< AnimatSim::BoundingBox * >(argp1);
139901  {
139902  try {
139903  result = (float)(arg1)->Width();
139904  }
139905  catch(CStdErrorInfo oError)
139906  {
139907  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139908  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139909  PyErr_SetString(PyExc_IndexError, strError.c_str());
139910  SWIG_fail;
139911  }
139912  catch(...)
139913  {
139914  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139915  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139916  SWIG_fail;
139917  }
139918  }
139919  resultobj = SWIG_From_float(static_cast< float >(result));
139920  return resultobj;
139921 fail:
139922  return NULL;
139923 }
139924 
139925 
139926 SWIGINTERN PyObject *_wrap_BoundingBox_Height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139927  PyObject *resultobj = 0;
139929  void *argp1 = 0 ;
139930  int res1 = 0 ;
139931  PyObject * obj0 = 0 ;
139932  float result;
139933 
139934  if (!PyArg_ParseTuple(args,(char *)"O:BoundingBox_Height",&obj0)) SWIG_fail;
139935  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__BoundingBox, 0 | 0 );
139936  if (!SWIG_IsOK(res1)) {
139937  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BoundingBox_Height" "', argument " "1"" of type '" "AnimatSim::BoundingBox *""'");
139938  }
139939  arg1 = reinterpret_cast< AnimatSim::BoundingBox * >(argp1);
139940  {
139941  try {
139942  result = (float)(arg1)->Height();
139943  }
139944  catch(CStdErrorInfo oError)
139945  {
139946  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139947  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139948  PyErr_SetString(PyExc_IndexError, strError.c_str());
139949  SWIG_fail;
139950  }
139951  catch(...)
139952  {
139953  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139954  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
139955  SWIG_fail;
139956  }
139957  }
139958  resultobj = SWIG_From_float(static_cast< float >(result));
139959  return resultobj;
139960 fail:
139961  return NULL;
139962 }
139963 
139964 
139965 SWIGINTERN PyObject *_wrap_BoundingBox_GetDimensionSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
139966  PyObject *resultobj = 0;
139968  int arg2 ;
139969  void *argp1 = 0 ;
139970  int res1 = 0 ;
139971  int val2 ;
139972  int ecode2 = 0 ;
139973  PyObject * obj0 = 0 ;
139974  PyObject * obj1 = 0 ;
139975  float result;
139976 
139977  if (!PyArg_ParseTuple(args,(char *)"OO:BoundingBox_GetDimensionSize",&obj0,&obj1)) SWIG_fail;
139978  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__BoundingBox, 0 | 0 );
139979  if (!SWIG_IsOK(res1)) {
139980  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BoundingBox_GetDimensionSize" "', argument " "1"" of type '" "AnimatSim::BoundingBox *""'");
139981  }
139982  arg1 = reinterpret_cast< AnimatSim::BoundingBox * >(argp1);
139983  ecode2 = SWIG_AsVal_int(obj1, &val2);
139984  if (!SWIG_IsOK(ecode2)) {
139985  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BoundingBox_GetDimensionSize" "', argument " "2"" of type '" "int""'");
139986  }
139987  arg2 = static_cast< int >(val2);
139988  {
139989  try {
139990  result = (float)(arg1)->GetDimensionSize(arg2);
139991  }
139992  catch(CStdErrorInfo oError)
139993  {
139994  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
139995  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
139996  PyErr_SetString(PyExc_IndexError, strError.c_str());
139997  SWIG_fail;
139998  }
139999  catch(...)
140000  {
140001  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140002  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140003  SWIG_fail;
140004  }
140005  }
140006  resultobj = SWIG_From_float(static_cast< float >(result));
140007  return resultobj;
140008 fail:
140009  return NULL;
140010 }
140011 
140012 
140013 SWIGINTERN PyObject *_wrap_BoundingBox_MaxDimension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140014  PyObject *resultobj = 0;
140016  void *argp1 = 0 ;
140017  int res1 = 0 ;
140018  PyObject * obj0 = 0 ;
140019  float result;
140020 
140021  if (!PyArg_ParseTuple(args,(char *)"O:BoundingBox_MaxDimension",&obj0)) SWIG_fail;
140022  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__BoundingBox, 0 | 0 );
140023  if (!SWIG_IsOK(res1)) {
140024  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BoundingBox_MaxDimension" "', argument " "1"" of type '" "AnimatSim::BoundingBox *""'");
140025  }
140026  arg1 = reinterpret_cast< AnimatSim::BoundingBox * >(argp1);
140027  {
140028  try {
140029  result = (float)(arg1)->MaxDimension();
140030  }
140031  catch(CStdErrorInfo oError)
140032  {
140033  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140034  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140035  PyErr_SetString(PyExc_IndexError, strError.c_str());
140036  SWIG_fail;
140037  }
140038  catch(...)
140039  {
140040  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140041  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140042  SWIG_fail;
140043  }
140044  }
140045  resultobj = SWIG_From_float(static_cast< float >(result));
140046  return resultobj;
140047 fail:
140048  return NULL;
140049 }
140050 
140051 
140052 SWIGINTERN PyObject *BoundingBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140053  PyObject *obj;
140054  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
140055  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__BoundingBox, SWIG_NewClientData(obj));
140056  return SWIG_Py_Void();
140057 }
140058 
140059 SWIGINTERN PyObject *_wrap_new_MovableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140060  PyObject *resultobj = 0;
140062 
140063  if (!PyArg_ParseTuple(args,(char *)":new_MovableItem")) SWIG_fail;
140064  {
140065  try {
140067  }
140068  catch(CStdErrorInfo oError)
140069  {
140070  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140071  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140072  PyErr_SetString(PyExc_IndexError, strError.c_str());
140073  SWIG_fail;
140074  }
140075  catch(...)
140076  {
140077  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140078  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140079  SWIG_fail;
140080  }
140081  }
140082  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__MovableItem, SWIG_POINTER_NEW | 0 );
140083  return resultobj;
140084 fail:
140085  return NULL;
140086 }
140087 
140088 
140089 SWIGINTERN PyObject *_wrap_delete_MovableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140090  PyObject *resultobj = 0;
140092  void *argp1 = 0 ;
140093  int res1 = 0 ;
140094  PyObject * obj0 = 0 ;
140095 
140096  if (!PyArg_ParseTuple(args,(char *)"O:delete_MovableItem",&obj0)) SWIG_fail;
140097  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, SWIG_POINTER_DISOWN | 0 );
140098  if (!SWIG_IsOK(res1)) {
140099  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MovableItem" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
140100  }
140101  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
140102  {
140103  try {
140104  delete arg1;
140105  }
140106  catch(CStdErrorInfo oError)
140107  {
140108  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140109  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140110  PyErr_SetString(PyExc_IndexError, strError.c_str());
140111  SWIG_fail;
140112  }
140113  catch(...)
140114  {
140115  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140116  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140117  SWIG_fail;
140118  }
140119  }
140120  resultobj = SWIG_Py_Void();
140121  return resultobj;
140122 fail:
140123  return NULL;
140124 }
140125 
140126 
140127 SWIGINTERN PyObject *_wrap_MovableItem_Parent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140128  PyObject *resultobj = 0;
140130  void *argp1 = 0 ;
140131  int res1 = 0 ;
140132  PyObject * obj0 = 0 ;
140133  RigidBody *result = 0 ;
140134 
140135  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_Parent",&obj0)) SWIG_fail;
140136  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
140137  if (!SWIG_IsOK(res1)) {
140138  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Parent" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
140139  }
140140  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
140141  {
140142  try {
140143  result = (RigidBody *)(arg1)->Parent();
140144  }
140145  catch(CStdErrorInfo oError)
140146  {
140147  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140148  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140149  PyErr_SetString(PyExc_IndexError, strError.c_str());
140150  SWIG_fail;
140151  }
140152  catch(...)
140153  {
140154  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140155  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140156  SWIG_fail;
140157  }
140158  }
140159  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RigidBody, 0 | 0 );
140160  return resultobj;
140161 fail:
140162  return NULL;
140163 }
140164 
140165 
140166 SWIGINTERN PyObject *_wrap_MovableItem_Parent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140167  PyObject *resultobj = 0;
140169  RigidBody *arg2 = (RigidBody *) 0 ;
140170  void *argp1 = 0 ;
140171  int res1 = 0 ;
140172  void *argp2 = 0 ;
140173  int res2 = 0 ;
140174  PyObject * obj0 = 0 ;
140175  PyObject * obj1 = 0 ;
140176 
140177  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Parent",&obj0,&obj1)) SWIG_fail;
140178  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
140179  if (!SWIG_IsOK(res1)) {
140180  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Parent" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
140181  }
140182  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
140183  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RigidBody, 0 | 0 );
140184  if (!SWIG_IsOK(res2)) {
140185  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Parent" "', argument " "2"" of type '" "RigidBody *""'");
140186  }
140187  arg2 = reinterpret_cast< RigidBody * >(argp2);
140188  {
140189  try {
140190  (arg1)->Parent(arg2);
140191  }
140192  catch(CStdErrorInfo oError)
140193  {
140194  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140195  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140196  PyErr_SetString(PyExc_IndexError, strError.c_str());
140197  SWIG_fail;
140198  }
140199  catch(...)
140200  {
140201  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140202  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140203  SWIG_fail;
140204  }
140205  }
140206  resultobj = SWIG_Py_Void();
140207  return resultobj;
140208 fail:
140209  return NULL;
140210 }
140211 
140212 
140213 SWIGINTERN PyObject *_wrap_MovableItem_Parent(PyObject *self, PyObject *args) {
140214  int argc;
140215  PyObject *argv[3];
140216  int ii;
140217 
140218  if (!PyTuple_Check(args)) SWIG_fail;
140219  argc = args ? (int)PyObject_Length(args) : 0;
140220  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
140221  argv[ii] = PyTuple_GET_ITEM(args,ii);
140222  }
140223  if (argc == 1) {
140224  int _v;
140225  void *vptr = 0;
140226  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
140227  _v = SWIG_CheckState(res);
140228  if (_v) {
140229  return _wrap_MovableItem_Parent__SWIG_0(self, args);
140230  }
140231  }
140232  if (argc == 2) {
140233  int _v;
140234  void *vptr = 0;
140235  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
140236  _v = SWIG_CheckState(res);
140237  if (_v) {
140238  void *vptr = 0;
140239  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_RigidBody, 0);
140240  _v = SWIG_CheckState(res);
140241  if (_v) {
140242  return _wrap_MovableItem_Parent__SWIG_1(self, args);
140243  }
140244  }
140245  }
140246 
140247 fail:
140248  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_Parent'.\n"
140249  " Possible C/C++ prototypes are:\n"
140250  " AnimatSim::Environment::MovableItem::Parent()\n"
140251  " AnimatSim::Environment::MovableItem::Parent(RigidBody *)\n");
140252  return 0;
140253 }
140254 
140255 
140256 SWIGINTERN PyObject *_wrap_MovableItem_VisualSelectionType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140257  PyObject *resultobj = 0;
140259  void *argp1 = 0 ;
140260  int res1 = 0 ;
140261  PyObject * obj0 = 0 ;
140262  int result;
140263 
140264  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_VisualSelectionType",&obj0)) SWIG_fail;
140265  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
140266  if (!SWIG_IsOK(res1)) {
140267  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_VisualSelectionType" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
140268  }
140269  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
140270  {
140271  try {
140272  result = (int)(arg1)->VisualSelectionType();
140273  }
140274  catch(CStdErrorInfo oError)
140275  {
140276  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140277  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140278  PyErr_SetString(PyExc_IndexError, strError.c_str());
140279  SWIG_fail;
140280  }
140281  catch(...)
140282  {
140283  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140284  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140285  SWIG_fail;
140286  }
140287  }
140288  resultobj = SWIG_From_int(static_cast< int >(result));
140289  return resultobj;
140290 fail:
140291  return NULL;
140292 }
140293 
140294 
140295 SWIGINTERN PyObject *_wrap_MovableItem_AllowMouseManipulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140296  PyObject *resultobj = 0;
140298  void *argp1 = 0 ;
140299  int res1 = 0 ;
140300  PyObject * obj0 = 0 ;
140301  bool result;
140302 
140303  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_AllowMouseManipulation",&obj0)) SWIG_fail;
140304  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
140305  if (!SWIG_IsOK(res1)) {
140306  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_AllowMouseManipulation" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
140307  }
140308  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
140309  {
140310  try {
140311  result = (bool)(arg1)->AllowMouseManipulation();
140312  }
140313  catch(CStdErrorInfo oError)
140314  {
140315  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140316  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140317  PyErr_SetString(PyExc_IndexError, strError.c_str());
140318  SWIG_fail;
140319  }
140320  catch(...)
140321  {
140322  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140323  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140324  SWIG_fail;
140325  }
140326  }
140327  resultobj = SWIG_From_bool(static_cast< bool >(result));
140328  return resultobj;
140329 fail:
140330  return NULL;
140331 }
140332 
140333 
140334 SWIGINTERN PyObject *_wrap_MovableItem_Position__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140335  PyObject *resultobj = 0;
140337  void *argp1 = 0 ;
140338  int res1 = 0 ;
140339  PyObject * obj0 = 0 ;
140340  CStdPoint< float > result;
140341 
140342  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_Position",&obj0)) SWIG_fail;
140343  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
140344  if (!SWIG_IsOK(res1)) {
140345  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Position" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
140346  }
140347  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
140348  {
140349  try {
140350  result = (arg1)->Position();
140351  }
140352  catch(CStdErrorInfo oError)
140353  {
140354  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140355  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140356  PyErr_SetString(PyExc_IndexError, strError.c_str());
140357  SWIG_fail;
140358  }
140359  catch(...)
140360  {
140361  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140362  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140363  SWIG_fail;
140364  }
140365  }
140366  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
140367  return resultobj;
140368 fail:
140369  return NULL;
140370 }
140371 
140372 
140373 SWIGINTERN PyObject *_wrap_MovableItem_Position__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140374  PyObject *resultobj = 0;
140376  CStdPoint< float > *arg2 = 0 ;
140377  bool arg3 ;
140378  bool arg4 ;
140379  bool arg5 ;
140380  void *argp1 = 0 ;
140381  int res1 = 0 ;
140382  void *argp2 = 0 ;
140383  int res2 = 0 ;
140384  bool val3 ;
140385  int ecode3 = 0 ;
140386  bool val4 ;
140387  int ecode4 = 0 ;
140388  bool val5 ;
140389  int ecode5 = 0 ;
140390  PyObject * obj0 = 0 ;
140391  PyObject * obj1 = 0 ;
140392  PyObject * obj2 = 0 ;
140393  PyObject * obj3 = 0 ;
140394  PyObject * obj4 = 0 ;
140395 
140396  if (!PyArg_ParseTuple(args,(char *)"OOOOO:MovableItem_Position",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
140397  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
140398  if (!SWIG_IsOK(res1)) {
140399  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Position" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
140400  }
140401  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
140402  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
140403  if (!SWIG_IsOK(res2)) {
140404  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
140405  }
140406  if (!argp2) {
140407  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
140408  }
140409  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
140410  ecode3 = SWIG_AsVal_bool(obj2, &val3);
140411  if (!SWIG_IsOK(ecode3)) {
140412  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Position" "', argument " "3"" of type '" "bool""'");
140413  }
140414  arg3 = static_cast< bool >(val3);
140415  ecode4 = SWIG_AsVal_bool(obj3, &val4);
140416  if (!SWIG_IsOK(ecode4)) {
140417  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_Position" "', argument " "4"" of type '" "bool""'");
140418  }
140419  arg4 = static_cast< bool >(val4);
140420  ecode5 = SWIG_AsVal_bool(obj4, &val5);
140421  if (!SWIG_IsOK(ecode5)) {
140422  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "MovableItem_Position" "', argument " "5"" of type '" "bool""'");
140423  }
140424  arg5 = static_cast< bool >(val5);
140425  {
140426  try {
140427  (arg1)->Position(*arg2,arg3,arg4,arg5);
140428  }
140429  catch(CStdErrorInfo oError)
140430  {
140431  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140432  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140433  PyErr_SetString(PyExc_IndexError, strError.c_str());
140434  SWIG_fail;
140435  }
140436  catch(...)
140437  {
140438  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140439  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140440  SWIG_fail;
140441  }
140442  }
140443  resultobj = SWIG_Py_Void();
140444  return resultobj;
140445 fail:
140446  return NULL;
140447 }
140448 
140449 
140450 SWIGINTERN PyObject *_wrap_MovableItem_Position__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140451  PyObject *resultobj = 0;
140453  CStdPoint< float > *arg2 = 0 ;
140454  bool arg3 ;
140455  bool arg4 ;
140456  void *argp1 = 0 ;
140457  int res1 = 0 ;
140458  void *argp2 = 0 ;
140459  int res2 = 0 ;
140460  bool val3 ;
140461  int ecode3 = 0 ;
140462  bool val4 ;
140463  int ecode4 = 0 ;
140464  PyObject * obj0 = 0 ;
140465  PyObject * obj1 = 0 ;
140466  PyObject * obj2 = 0 ;
140467  PyObject * obj3 = 0 ;
140468 
140469  if (!PyArg_ParseTuple(args,(char *)"OOOO:MovableItem_Position",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
140470  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
140471  if (!SWIG_IsOK(res1)) {
140472  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Position" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
140473  }
140474  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
140475  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
140476  if (!SWIG_IsOK(res2)) {
140477  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
140478  }
140479  if (!argp2) {
140480  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
140481  }
140482  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
140483  ecode3 = SWIG_AsVal_bool(obj2, &val3);
140484  if (!SWIG_IsOK(ecode3)) {
140485  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Position" "', argument " "3"" of type '" "bool""'");
140486  }
140487  arg3 = static_cast< bool >(val3);
140488  ecode4 = SWIG_AsVal_bool(obj3, &val4);
140489  if (!SWIG_IsOK(ecode4)) {
140490  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_Position" "', argument " "4"" of type '" "bool""'");
140491  }
140492  arg4 = static_cast< bool >(val4);
140493  {
140494  try {
140495  (arg1)->Position(*arg2,arg3,arg4);
140496  }
140497  catch(CStdErrorInfo oError)
140498  {
140499  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140500  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140501  PyErr_SetString(PyExc_IndexError, strError.c_str());
140502  SWIG_fail;
140503  }
140504  catch(...)
140505  {
140506  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140507  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140508  SWIG_fail;
140509  }
140510  }
140511  resultobj = SWIG_Py_Void();
140512  return resultobj;
140513 fail:
140514  return NULL;
140515 }
140516 
140517 
140518 SWIGINTERN PyObject *_wrap_MovableItem_Position__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140519  PyObject *resultobj = 0;
140521  CStdPoint< float > *arg2 = 0 ;
140522  bool arg3 ;
140523  void *argp1 = 0 ;
140524  int res1 = 0 ;
140525  void *argp2 = 0 ;
140526  int res2 = 0 ;
140527  bool val3 ;
140528  int ecode3 = 0 ;
140529  PyObject * obj0 = 0 ;
140530  PyObject * obj1 = 0 ;
140531  PyObject * obj2 = 0 ;
140532 
140533  if (!PyArg_ParseTuple(args,(char *)"OOO:MovableItem_Position",&obj0,&obj1,&obj2)) SWIG_fail;
140534  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
140535  if (!SWIG_IsOK(res1)) {
140536  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Position" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
140537  }
140538  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
140539  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
140540  if (!SWIG_IsOK(res2)) {
140541  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
140542  }
140543  if (!argp2) {
140544  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
140545  }
140546  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
140547  ecode3 = SWIG_AsVal_bool(obj2, &val3);
140548  if (!SWIG_IsOK(ecode3)) {
140549  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Position" "', argument " "3"" of type '" "bool""'");
140550  }
140551  arg3 = static_cast< bool >(val3);
140552  {
140553  try {
140554  (arg1)->Position(*arg2,arg3);
140555  }
140556  catch(CStdErrorInfo oError)
140557  {
140558  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140559  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140560  PyErr_SetString(PyExc_IndexError, strError.c_str());
140561  SWIG_fail;
140562  }
140563  catch(...)
140564  {
140565  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140566  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140567  SWIG_fail;
140568  }
140569  }
140570  resultobj = SWIG_Py_Void();
140571  return resultobj;
140572 fail:
140573  return NULL;
140574 }
140575 
140576 
140577 SWIGINTERN PyObject *_wrap_MovableItem_Position__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140578  PyObject *resultobj = 0;
140580  CStdPoint< float > *arg2 = 0 ;
140581  void *argp1 = 0 ;
140582  int res1 = 0 ;
140583  void *argp2 = 0 ;
140584  int res2 = 0 ;
140585  PyObject * obj0 = 0 ;
140586  PyObject * obj1 = 0 ;
140587 
140588  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Position",&obj0,&obj1)) SWIG_fail;
140589  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
140590  if (!SWIG_IsOK(res1)) {
140591  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Position" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
140592  }
140593  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
140594  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
140595  if (!SWIG_IsOK(res2)) {
140596  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
140597  }
140598  if (!argp2) {
140599  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
140600  }
140601  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
140602  {
140603  try {
140604  (arg1)->Position(*arg2);
140605  }
140606  catch(CStdErrorInfo oError)
140607  {
140608  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140609  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140610  PyErr_SetString(PyExc_IndexError, strError.c_str());
140611  SWIG_fail;
140612  }
140613  catch(...)
140614  {
140615  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140616  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140617  SWIG_fail;
140618  }
140619  }
140620  resultobj = SWIG_Py_Void();
140621  return resultobj;
140622 fail:
140623  return NULL;
140624 }
140625 
140626 
140627 SWIGINTERN PyObject *_wrap_MovableItem_Position__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140628  PyObject *resultobj = 0;
140630  float arg2 ;
140631  float arg3 ;
140632  float arg4 ;
140633  bool arg5 ;
140634  bool arg6 ;
140635  bool arg7 ;
140636  void *argp1 = 0 ;
140637  int res1 = 0 ;
140638  float val2 ;
140639  int ecode2 = 0 ;
140640  float val3 ;
140641  int ecode3 = 0 ;
140642  float val4 ;
140643  int ecode4 = 0 ;
140644  bool val5 ;
140645  int ecode5 = 0 ;
140646  bool val6 ;
140647  int ecode6 = 0 ;
140648  bool val7 ;
140649  int ecode7 = 0 ;
140650  PyObject * obj0 = 0 ;
140651  PyObject * obj1 = 0 ;
140652  PyObject * obj2 = 0 ;
140653  PyObject * obj3 = 0 ;
140654  PyObject * obj4 = 0 ;
140655  PyObject * obj5 = 0 ;
140656  PyObject * obj6 = 0 ;
140657 
140658  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:MovableItem_Position",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
140659  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
140660  if (!SWIG_IsOK(res1)) {
140661  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Position" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
140662  }
140663  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
140664  ecode2 = SWIG_AsVal_float(obj1, &val2);
140665  if (!SWIG_IsOK(ecode2)) {
140666  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_Position" "', argument " "2"" of type '" "float""'");
140667  }
140668  arg2 = static_cast< float >(val2);
140669  ecode3 = SWIG_AsVal_float(obj2, &val3);
140670  if (!SWIG_IsOK(ecode3)) {
140671  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Position" "', argument " "3"" of type '" "float""'");
140672  }
140673  arg3 = static_cast< float >(val3);
140674  ecode4 = SWIG_AsVal_float(obj3, &val4);
140675  if (!SWIG_IsOK(ecode4)) {
140676  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_Position" "', argument " "4"" of type '" "float""'");
140677  }
140678  arg4 = static_cast< float >(val4);
140679  ecode5 = SWIG_AsVal_bool(obj4, &val5);
140680  if (!SWIG_IsOK(ecode5)) {
140681  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "MovableItem_Position" "', argument " "5"" of type '" "bool""'");
140682  }
140683  arg5 = static_cast< bool >(val5);
140684  ecode6 = SWIG_AsVal_bool(obj5, &val6);
140685  if (!SWIG_IsOK(ecode6)) {
140686  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "MovableItem_Position" "', argument " "6"" of type '" "bool""'");
140687  }
140688  arg6 = static_cast< bool >(val6);
140689  ecode7 = SWIG_AsVal_bool(obj6, &val7);
140690  if (!SWIG_IsOK(ecode7)) {
140691  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MovableItem_Position" "', argument " "7"" of type '" "bool""'");
140692  }
140693  arg7 = static_cast< bool >(val7);
140694  {
140695  try {
140696  (arg1)->Position(arg2,arg3,arg4,arg5,arg6,arg7);
140697  }
140698  catch(CStdErrorInfo oError)
140699  {
140700  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140701  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140702  PyErr_SetString(PyExc_IndexError, strError.c_str());
140703  SWIG_fail;
140704  }
140705  catch(...)
140706  {
140707  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140708  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140709  SWIG_fail;
140710  }
140711  }
140712  resultobj = SWIG_Py_Void();
140713  return resultobj;
140714 fail:
140715  return NULL;
140716 }
140717 
140718 
140719 SWIGINTERN PyObject *_wrap_MovableItem_Position__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140720  PyObject *resultobj = 0;
140722  float arg2 ;
140723  float arg3 ;
140724  float arg4 ;
140725  bool arg5 ;
140726  bool arg6 ;
140727  void *argp1 = 0 ;
140728  int res1 = 0 ;
140729  float val2 ;
140730  int ecode2 = 0 ;
140731  float val3 ;
140732  int ecode3 = 0 ;
140733  float val4 ;
140734  int ecode4 = 0 ;
140735  bool val5 ;
140736  int ecode5 = 0 ;
140737  bool val6 ;
140738  int ecode6 = 0 ;
140739  PyObject * obj0 = 0 ;
140740  PyObject * obj1 = 0 ;
140741  PyObject * obj2 = 0 ;
140742  PyObject * obj3 = 0 ;
140743  PyObject * obj4 = 0 ;
140744  PyObject * obj5 = 0 ;
140745 
140746  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:MovableItem_Position",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
140747  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
140748  if (!SWIG_IsOK(res1)) {
140749  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Position" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
140750  }
140751  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
140752  ecode2 = SWIG_AsVal_float(obj1, &val2);
140753  if (!SWIG_IsOK(ecode2)) {
140754  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_Position" "', argument " "2"" of type '" "float""'");
140755  }
140756  arg2 = static_cast< float >(val2);
140757  ecode3 = SWIG_AsVal_float(obj2, &val3);
140758  if (!SWIG_IsOK(ecode3)) {
140759  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Position" "', argument " "3"" of type '" "float""'");
140760  }
140761  arg3 = static_cast< float >(val3);
140762  ecode4 = SWIG_AsVal_float(obj3, &val4);
140763  if (!SWIG_IsOK(ecode4)) {
140764  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_Position" "', argument " "4"" of type '" "float""'");
140765  }
140766  arg4 = static_cast< float >(val4);
140767  ecode5 = SWIG_AsVal_bool(obj4, &val5);
140768  if (!SWIG_IsOK(ecode5)) {
140769  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "MovableItem_Position" "', argument " "5"" of type '" "bool""'");
140770  }
140771  arg5 = static_cast< bool >(val5);
140772  ecode6 = SWIG_AsVal_bool(obj5, &val6);
140773  if (!SWIG_IsOK(ecode6)) {
140774  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "MovableItem_Position" "', argument " "6"" of type '" "bool""'");
140775  }
140776  arg6 = static_cast< bool >(val6);
140777  {
140778  try {
140779  (arg1)->Position(arg2,arg3,arg4,arg5,arg6);
140780  }
140781  catch(CStdErrorInfo oError)
140782  {
140783  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140784  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140785  PyErr_SetString(PyExc_IndexError, strError.c_str());
140786  SWIG_fail;
140787  }
140788  catch(...)
140789  {
140790  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140791  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140792  SWIG_fail;
140793  }
140794  }
140795  resultobj = SWIG_Py_Void();
140796  return resultobj;
140797 fail:
140798  return NULL;
140799 }
140800 
140801 
140802 SWIGINTERN PyObject *_wrap_MovableItem_Position__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140803  PyObject *resultobj = 0;
140805  float arg2 ;
140806  float arg3 ;
140807  float arg4 ;
140808  bool arg5 ;
140809  void *argp1 = 0 ;
140810  int res1 = 0 ;
140811  float val2 ;
140812  int ecode2 = 0 ;
140813  float val3 ;
140814  int ecode3 = 0 ;
140815  float val4 ;
140816  int ecode4 = 0 ;
140817  bool val5 ;
140818  int ecode5 = 0 ;
140819  PyObject * obj0 = 0 ;
140820  PyObject * obj1 = 0 ;
140821  PyObject * obj2 = 0 ;
140822  PyObject * obj3 = 0 ;
140823  PyObject * obj4 = 0 ;
140824 
140825  if (!PyArg_ParseTuple(args,(char *)"OOOOO:MovableItem_Position",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
140826  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
140827  if (!SWIG_IsOK(res1)) {
140828  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Position" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
140829  }
140830  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
140831  ecode2 = SWIG_AsVal_float(obj1, &val2);
140832  if (!SWIG_IsOK(ecode2)) {
140833  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_Position" "', argument " "2"" of type '" "float""'");
140834  }
140835  arg2 = static_cast< float >(val2);
140836  ecode3 = SWIG_AsVal_float(obj2, &val3);
140837  if (!SWIG_IsOK(ecode3)) {
140838  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Position" "', argument " "3"" of type '" "float""'");
140839  }
140840  arg3 = static_cast< float >(val3);
140841  ecode4 = SWIG_AsVal_float(obj3, &val4);
140842  if (!SWIG_IsOK(ecode4)) {
140843  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_Position" "', argument " "4"" of type '" "float""'");
140844  }
140845  arg4 = static_cast< float >(val4);
140846  ecode5 = SWIG_AsVal_bool(obj4, &val5);
140847  if (!SWIG_IsOK(ecode5)) {
140848  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "MovableItem_Position" "', argument " "5"" of type '" "bool""'");
140849  }
140850  arg5 = static_cast< bool >(val5);
140851  {
140852  try {
140853  (arg1)->Position(arg2,arg3,arg4,arg5);
140854  }
140855  catch(CStdErrorInfo oError)
140856  {
140857  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140858  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140859  PyErr_SetString(PyExc_IndexError, strError.c_str());
140860  SWIG_fail;
140861  }
140862  catch(...)
140863  {
140864  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140865  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140866  SWIG_fail;
140867  }
140868  }
140869  resultobj = SWIG_Py_Void();
140870  return resultobj;
140871 fail:
140872  return NULL;
140873 }
140874 
140875 
140876 SWIGINTERN PyObject *_wrap_MovableItem_Position__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140877  PyObject *resultobj = 0;
140879  float arg2 ;
140880  float arg3 ;
140881  float arg4 ;
140882  void *argp1 = 0 ;
140883  int res1 = 0 ;
140884  float val2 ;
140885  int ecode2 = 0 ;
140886  float val3 ;
140887  int ecode3 = 0 ;
140888  float val4 ;
140889  int ecode4 = 0 ;
140890  PyObject * obj0 = 0 ;
140891  PyObject * obj1 = 0 ;
140892  PyObject * obj2 = 0 ;
140893  PyObject * obj3 = 0 ;
140894 
140895  if (!PyArg_ParseTuple(args,(char *)"OOOO:MovableItem_Position",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
140896  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
140897  if (!SWIG_IsOK(res1)) {
140898  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Position" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
140899  }
140900  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
140901  ecode2 = SWIG_AsVal_float(obj1, &val2);
140902  if (!SWIG_IsOK(ecode2)) {
140903  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_Position" "', argument " "2"" of type '" "float""'");
140904  }
140905  arg2 = static_cast< float >(val2);
140906  ecode3 = SWIG_AsVal_float(obj2, &val3);
140907  if (!SWIG_IsOK(ecode3)) {
140908  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Position" "', argument " "3"" of type '" "float""'");
140909  }
140910  arg3 = static_cast< float >(val3);
140911  ecode4 = SWIG_AsVal_float(obj3, &val4);
140912  if (!SWIG_IsOK(ecode4)) {
140913  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_Position" "', argument " "4"" of type '" "float""'");
140914  }
140915  arg4 = static_cast< float >(val4);
140916  {
140917  try {
140918  (arg1)->Position(arg2,arg3,arg4);
140919  }
140920  catch(CStdErrorInfo oError)
140921  {
140922  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140923  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
140924  PyErr_SetString(PyExc_IndexError, strError.c_str());
140925  SWIG_fail;
140926  }
140927  catch(...)
140928  {
140929  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140930  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
140931  SWIG_fail;
140932  }
140933  }
140934  resultobj = SWIG_Py_Void();
140935  return resultobj;
140936 fail:
140937  return NULL;
140938 }
140939 
140940 
140941 SWIGINTERN PyObject *_wrap_MovableItem_Position__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
140942  PyObject *resultobj = 0;
140944  std::string arg2 ;
140945  bool arg3 ;
140946  bool arg4 ;
140947  bool arg5 ;
140948  void *argp1 = 0 ;
140949  int res1 = 0 ;
140950  bool val3 ;
140951  int ecode3 = 0 ;
140952  bool val4 ;
140953  int ecode4 = 0 ;
140954  bool val5 ;
140955  int ecode5 = 0 ;
140956  PyObject * obj0 = 0 ;
140957  PyObject * obj1 = 0 ;
140958  PyObject * obj2 = 0 ;
140959  PyObject * obj3 = 0 ;
140960  PyObject * obj4 = 0 ;
140961 
140962  if (!PyArg_ParseTuple(args,(char *)"OOOOO:MovableItem_Position",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
140963  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
140964  if (!SWIG_IsOK(res1)) {
140965  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Position" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
140966  }
140967  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
140968  {
140969  std::string *ptr = (std::string *)0;
140970  int res = SWIG_AsPtr_std_string(obj1, &ptr);
140971  if (!SWIG_IsOK(res) || !ptr) {
140972  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MovableItem_Position" "', argument " "2"" of type '" "std::string""'");
140973  }
140974  arg2 = *ptr;
140975  if (SWIG_IsNewObj(res)) delete ptr;
140976  }
140977  ecode3 = SWIG_AsVal_bool(obj2, &val3);
140978  if (!SWIG_IsOK(ecode3)) {
140979  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Position" "', argument " "3"" of type '" "bool""'");
140980  }
140981  arg3 = static_cast< bool >(val3);
140982  ecode4 = SWIG_AsVal_bool(obj3, &val4);
140983  if (!SWIG_IsOK(ecode4)) {
140984  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_Position" "', argument " "4"" of type '" "bool""'");
140985  }
140986  arg4 = static_cast< bool >(val4);
140987  ecode5 = SWIG_AsVal_bool(obj4, &val5);
140988  if (!SWIG_IsOK(ecode5)) {
140989  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "MovableItem_Position" "', argument " "5"" of type '" "bool""'");
140990  }
140991  arg5 = static_cast< bool >(val5);
140992  {
140993  try {
140994  (arg1)->Position(arg2,arg3,arg4,arg5);
140995  }
140996  catch(CStdErrorInfo oError)
140997  {
140998  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
140999  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
141000  PyErr_SetString(PyExc_IndexError, strError.c_str());
141001  SWIG_fail;
141002  }
141003  catch(...)
141004  {
141005  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141006  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
141007  SWIG_fail;
141008  }
141009  }
141010  resultobj = SWIG_Py_Void();
141011  return resultobj;
141012 fail:
141013  return NULL;
141014 }
141015 
141016 
141017 SWIGINTERN PyObject *_wrap_MovableItem_Position__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
141018  PyObject *resultobj = 0;
141020  std::string arg2 ;
141021  bool arg3 ;
141022  bool arg4 ;
141023  void *argp1 = 0 ;
141024  int res1 = 0 ;
141025  bool val3 ;
141026  int ecode3 = 0 ;
141027  bool val4 ;
141028  int ecode4 = 0 ;
141029  PyObject * obj0 = 0 ;
141030  PyObject * obj1 = 0 ;
141031  PyObject * obj2 = 0 ;
141032  PyObject * obj3 = 0 ;
141033 
141034  if (!PyArg_ParseTuple(args,(char *)"OOOO:MovableItem_Position",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
141035  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
141036  if (!SWIG_IsOK(res1)) {
141037  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Position" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
141038  }
141039  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
141040  {
141041  std::string *ptr = (std::string *)0;
141042  int res = SWIG_AsPtr_std_string(obj1, &ptr);
141043  if (!SWIG_IsOK(res) || !ptr) {
141044  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MovableItem_Position" "', argument " "2"" of type '" "std::string""'");
141045  }
141046  arg2 = *ptr;
141047  if (SWIG_IsNewObj(res)) delete ptr;
141048  }
141049  ecode3 = SWIG_AsVal_bool(obj2, &val3);
141050  if (!SWIG_IsOK(ecode3)) {
141051  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Position" "', argument " "3"" of type '" "bool""'");
141052  }
141053  arg3 = static_cast< bool >(val3);
141054  ecode4 = SWIG_AsVal_bool(obj3, &val4);
141055  if (!SWIG_IsOK(ecode4)) {
141056  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_Position" "', argument " "4"" of type '" "bool""'");
141057  }
141058  arg4 = static_cast< bool >(val4);
141059  {
141060  try {
141061  (arg1)->Position(arg2,arg3,arg4);
141062  }
141063  catch(CStdErrorInfo oError)
141064  {
141065  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141066  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
141067  PyErr_SetString(PyExc_IndexError, strError.c_str());
141068  SWIG_fail;
141069  }
141070  catch(...)
141071  {
141072  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141073  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
141074  SWIG_fail;
141075  }
141076  }
141077  resultobj = SWIG_Py_Void();
141078  return resultobj;
141079 fail:
141080  return NULL;
141081 }
141082 
141083 
141084 SWIGINTERN PyObject *_wrap_MovableItem_Position__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
141085  PyObject *resultobj = 0;
141087  std::string arg2 ;
141088  bool arg3 ;
141089  void *argp1 = 0 ;
141090  int res1 = 0 ;
141091  bool val3 ;
141092  int ecode3 = 0 ;
141093  PyObject * obj0 = 0 ;
141094  PyObject * obj1 = 0 ;
141095  PyObject * obj2 = 0 ;
141096 
141097  if (!PyArg_ParseTuple(args,(char *)"OOO:MovableItem_Position",&obj0,&obj1,&obj2)) SWIG_fail;
141098  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
141099  if (!SWIG_IsOK(res1)) {
141100  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Position" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
141101  }
141102  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
141103  {
141104  std::string *ptr = (std::string *)0;
141105  int res = SWIG_AsPtr_std_string(obj1, &ptr);
141106  if (!SWIG_IsOK(res) || !ptr) {
141107  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MovableItem_Position" "', argument " "2"" of type '" "std::string""'");
141108  }
141109  arg2 = *ptr;
141110  if (SWIG_IsNewObj(res)) delete ptr;
141111  }
141112  ecode3 = SWIG_AsVal_bool(obj2, &val3);
141113  if (!SWIG_IsOK(ecode3)) {
141114  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Position" "', argument " "3"" of type '" "bool""'");
141115  }
141116  arg3 = static_cast< bool >(val3);
141117  {
141118  try {
141119  (arg1)->Position(arg2,arg3);
141120  }
141121  catch(CStdErrorInfo oError)
141122  {
141123  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141124  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
141125  PyErr_SetString(PyExc_IndexError, strError.c_str());
141126  SWIG_fail;
141127  }
141128  catch(...)
141129  {
141130  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141131  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
141132  SWIG_fail;
141133  }
141134  }
141135  resultobj = SWIG_Py_Void();
141136  return resultobj;
141137 fail:
141138  return NULL;
141139 }
141140 
141141 
141142 SWIGINTERN PyObject *_wrap_MovableItem_Position__SWIG_12(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
141143  PyObject *resultobj = 0;
141145  std::string arg2 ;
141146  void *argp1 = 0 ;
141147  int res1 = 0 ;
141148  PyObject * obj0 = 0 ;
141149  PyObject * obj1 = 0 ;
141150 
141151  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Position",&obj0,&obj1)) SWIG_fail;
141152  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
141153  if (!SWIG_IsOK(res1)) {
141154  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Position" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
141155  }
141156  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
141157  {
141158  std::string *ptr = (std::string *)0;
141159  int res = SWIG_AsPtr_std_string(obj1, &ptr);
141160  if (!SWIG_IsOK(res) || !ptr) {
141161  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MovableItem_Position" "', argument " "2"" of type '" "std::string""'");
141162  }
141163  arg2 = *ptr;
141164  if (SWIG_IsNewObj(res)) delete ptr;
141165  }
141166  {
141167  try {
141168  (arg1)->Position(arg2);
141169  }
141170  catch(CStdErrorInfo oError)
141171  {
141172  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141173  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
141174  PyErr_SetString(PyExc_IndexError, strError.c_str());
141175  SWIG_fail;
141176  }
141177  catch(...)
141178  {
141179  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141180  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
141181  SWIG_fail;
141182  }
141183  }
141184  resultobj = SWIG_Py_Void();
141185  return resultobj;
141186 fail:
141187  return NULL;
141188 }
141189 
141190 
141191 SWIGINTERN PyObject *_wrap_MovableItem_Position(PyObject *self, PyObject *args) {
141192  int argc;
141193  PyObject *argv[8];
141194  int ii;
141195 
141196  if (!PyTuple_Check(args)) SWIG_fail;
141197  argc = args ? (int)PyObject_Length(args) : 0;
141198  for (ii = 0; (ii < 7) && (ii < argc); ii++) {
141199  argv[ii] = PyTuple_GET_ITEM(args,ii);
141200  }
141201  if (argc == 1) {
141202  int _v;
141203  void *vptr = 0;
141204  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141205  _v = SWIG_CheckState(res);
141206  if (_v) {
141207  return _wrap_MovableItem_Position__SWIG_0(self, args);
141208  }
141209  }
141210  if (argc == 2) {
141211  int _v;
141212  void *vptr = 0;
141213  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141214  _v = SWIG_CheckState(res);
141215  if (_v) {
141216  void *vptr = 0;
141217  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
141218  _v = SWIG_CheckState(res);
141219  if (_v) {
141220  return _wrap_MovableItem_Position__SWIG_4(self, args);
141221  }
141222  }
141223  }
141224  if (argc == 2) {
141225  int _v;
141226  void *vptr = 0;
141227  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141228  _v = SWIG_CheckState(res);
141229  if (_v) {
141230  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
141231  _v = SWIG_CheckState(res);
141232  if (_v) {
141233  return _wrap_MovableItem_Position__SWIG_12(self, args);
141234  }
141235  }
141236  }
141237  if (argc == 3) {
141238  int _v;
141239  void *vptr = 0;
141240  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141241  _v = SWIG_CheckState(res);
141242  if (_v) {
141243  void *vptr = 0;
141244  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
141245  _v = SWIG_CheckState(res);
141246  if (_v) {
141247  {
141248  int res = SWIG_AsVal_bool(argv[2], NULL);
141249  _v = SWIG_CheckState(res);
141250  }
141251  if (_v) {
141252  return _wrap_MovableItem_Position__SWIG_3(self, args);
141253  }
141254  }
141255  }
141256  }
141257  if (argc == 3) {
141258  int _v;
141259  void *vptr = 0;
141260  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141261  _v = SWIG_CheckState(res);
141262  if (_v) {
141263  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
141264  _v = SWIG_CheckState(res);
141265  if (_v) {
141266  {
141267  int res = SWIG_AsVal_bool(argv[2], NULL);
141268  _v = SWIG_CheckState(res);
141269  }
141270  if (_v) {
141271  return _wrap_MovableItem_Position__SWIG_11(self, args);
141272  }
141273  }
141274  }
141275  }
141276  if (argc == 4) {
141277  int _v;
141278  void *vptr = 0;
141279  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141280  _v = SWIG_CheckState(res);
141281  if (_v) {
141282  void *vptr = 0;
141283  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
141284  _v = SWIG_CheckState(res);
141285  if (_v) {
141286  {
141287  int res = SWIG_AsVal_bool(argv[2], NULL);
141288  _v = SWIG_CheckState(res);
141289  }
141290  if (_v) {
141291  {
141292  int res = SWIG_AsVal_bool(argv[3], NULL);
141293  _v = SWIG_CheckState(res);
141294  }
141295  if (_v) {
141296  return _wrap_MovableItem_Position__SWIG_2(self, args);
141297  }
141298  }
141299  }
141300  }
141301  }
141302  if (argc == 4) {
141303  int _v;
141304  void *vptr = 0;
141305  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141306  _v = SWIG_CheckState(res);
141307  if (_v) {
141308  {
141309  int res = SWIG_AsVal_float(argv[1], NULL);
141310  _v = SWIG_CheckState(res);
141311  }
141312  if (_v) {
141313  {
141314  int res = SWIG_AsVal_float(argv[2], NULL);
141315  _v = SWIG_CheckState(res);
141316  }
141317  if (_v) {
141318  {
141319  int res = SWIG_AsVal_float(argv[3], NULL);
141320  _v = SWIG_CheckState(res);
141321  }
141322  if (_v) {
141323  return _wrap_MovableItem_Position__SWIG_8(self, args);
141324  }
141325  }
141326  }
141327  }
141328  }
141329  if (argc == 4) {
141330  int _v;
141331  void *vptr = 0;
141332  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141333  _v = SWIG_CheckState(res);
141334  if (_v) {
141335  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
141336  _v = SWIG_CheckState(res);
141337  if (_v) {
141338  {
141339  int res = SWIG_AsVal_bool(argv[2], NULL);
141340  _v = SWIG_CheckState(res);
141341  }
141342  if (_v) {
141343  {
141344  int res = SWIG_AsVal_bool(argv[3], NULL);
141345  _v = SWIG_CheckState(res);
141346  }
141347  if (_v) {
141348  return _wrap_MovableItem_Position__SWIG_10(self, args);
141349  }
141350  }
141351  }
141352  }
141353  }
141354  if (argc == 5) {
141355  int _v;
141356  void *vptr = 0;
141357  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141358  _v = SWIG_CheckState(res);
141359  if (_v) {
141360  void *vptr = 0;
141361  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
141362  _v = SWIG_CheckState(res);
141363  if (_v) {
141364  {
141365  int res = SWIG_AsVal_bool(argv[2], NULL);
141366  _v = SWIG_CheckState(res);
141367  }
141368  if (_v) {
141369  {
141370  int res = SWIG_AsVal_bool(argv[3], NULL);
141371  _v = SWIG_CheckState(res);
141372  }
141373  if (_v) {
141374  {
141375  int res = SWIG_AsVal_bool(argv[4], NULL);
141376  _v = SWIG_CheckState(res);
141377  }
141378  if (_v) {
141379  return _wrap_MovableItem_Position__SWIG_1(self, args);
141380  }
141381  }
141382  }
141383  }
141384  }
141385  }
141386  if (argc == 5) {
141387  int _v;
141388  void *vptr = 0;
141389  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141390  _v = SWIG_CheckState(res);
141391  if (_v) {
141392  {
141393  int res = SWIG_AsVal_float(argv[1], NULL);
141394  _v = SWIG_CheckState(res);
141395  }
141396  if (_v) {
141397  {
141398  int res = SWIG_AsVal_float(argv[2], NULL);
141399  _v = SWIG_CheckState(res);
141400  }
141401  if (_v) {
141402  {
141403  int res = SWIG_AsVal_float(argv[3], NULL);
141404  _v = SWIG_CheckState(res);
141405  }
141406  if (_v) {
141407  {
141408  int res = SWIG_AsVal_bool(argv[4], NULL);
141409  _v = SWIG_CheckState(res);
141410  }
141411  if (_v) {
141412  return _wrap_MovableItem_Position__SWIG_7(self, args);
141413  }
141414  }
141415  }
141416  }
141417  }
141418  }
141419  if (argc == 5) {
141420  int _v;
141421  void *vptr = 0;
141422  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141423  _v = SWIG_CheckState(res);
141424  if (_v) {
141425  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
141426  _v = SWIG_CheckState(res);
141427  if (_v) {
141428  {
141429  int res = SWIG_AsVal_bool(argv[2], NULL);
141430  _v = SWIG_CheckState(res);
141431  }
141432  if (_v) {
141433  {
141434  int res = SWIG_AsVal_bool(argv[3], NULL);
141435  _v = SWIG_CheckState(res);
141436  }
141437  if (_v) {
141438  {
141439  int res = SWIG_AsVal_bool(argv[4], NULL);
141440  _v = SWIG_CheckState(res);
141441  }
141442  if (_v) {
141443  return _wrap_MovableItem_Position__SWIG_9(self, args);
141444  }
141445  }
141446  }
141447  }
141448  }
141449  }
141450  if (argc == 6) {
141451  int _v;
141452  void *vptr = 0;
141453  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141454  _v = SWIG_CheckState(res);
141455  if (_v) {
141456  {
141457  int res = SWIG_AsVal_float(argv[1], NULL);
141458  _v = SWIG_CheckState(res);
141459  }
141460  if (_v) {
141461  {
141462  int res = SWIG_AsVal_float(argv[2], NULL);
141463  _v = SWIG_CheckState(res);
141464  }
141465  if (_v) {
141466  {
141467  int res = SWIG_AsVal_float(argv[3], NULL);
141468  _v = SWIG_CheckState(res);
141469  }
141470  if (_v) {
141471  {
141472  int res = SWIG_AsVal_bool(argv[4], NULL);
141473  _v = SWIG_CheckState(res);
141474  }
141475  if (_v) {
141476  {
141477  int res = SWIG_AsVal_bool(argv[5], NULL);
141478  _v = SWIG_CheckState(res);
141479  }
141480  if (_v) {
141481  return _wrap_MovableItem_Position__SWIG_6(self, args);
141482  }
141483  }
141484  }
141485  }
141486  }
141487  }
141488  }
141489  if (argc == 7) {
141490  int _v;
141491  void *vptr = 0;
141492  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141493  _v = SWIG_CheckState(res);
141494  if (_v) {
141495  {
141496  int res = SWIG_AsVal_float(argv[1], NULL);
141497  _v = SWIG_CheckState(res);
141498  }
141499  if (_v) {
141500  {
141501  int res = SWIG_AsVal_float(argv[2], NULL);
141502  _v = SWIG_CheckState(res);
141503  }
141504  if (_v) {
141505  {
141506  int res = SWIG_AsVal_float(argv[3], NULL);
141507  _v = SWIG_CheckState(res);
141508  }
141509  if (_v) {
141510  {
141511  int res = SWIG_AsVal_bool(argv[4], NULL);
141512  _v = SWIG_CheckState(res);
141513  }
141514  if (_v) {
141515  {
141516  int res = SWIG_AsVal_bool(argv[5], NULL);
141517  _v = SWIG_CheckState(res);
141518  }
141519  if (_v) {
141520  {
141521  int res = SWIG_AsVal_bool(argv[6], NULL);
141522  _v = SWIG_CheckState(res);
141523  }
141524  if (_v) {
141525  return _wrap_MovableItem_Position__SWIG_5(self, args);
141526  }
141527  }
141528  }
141529  }
141530  }
141531  }
141532  }
141533  }
141534 
141535 fail:
141536  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_Position'.\n"
141537  " Possible C/C++ prototypes are:\n"
141538  " AnimatSim::Environment::MovableItem::Position()\n"
141539  " AnimatSim::Environment::MovableItem::Position(CStdPoint< float > &,bool,bool,bool)\n"
141540  " AnimatSim::Environment::MovableItem::Position(CStdPoint< float > &,bool,bool)\n"
141541  " AnimatSim::Environment::MovableItem::Position(CStdPoint< float > &,bool)\n"
141542  " AnimatSim::Environment::MovableItem::Position(CStdPoint< float > &)\n"
141543  " AnimatSim::Environment::MovableItem::Position(float,float,float,bool,bool,bool)\n"
141544  " AnimatSim::Environment::MovableItem::Position(float,float,float,bool,bool)\n"
141545  " AnimatSim::Environment::MovableItem::Position(float,float,float,bool)\n"
141546  " AnimatSim::Environment::MovableItem::Position(float,float,float)\n"
141547  " AnimatSim::Environment::MovableItem::Position(std::string,bool,bool,bool)\n"
141548  " AnimatSim::Environment::MovableItem::Position(std::string,bool,bool)\n"
141549  " AnimatSim::Environment::MovableItem::Position(std::string,bool)\n"
141550  " AnimatSim::Environment::MovableItem::Position(std::string)\n");
141551  return 0;
141552 }
141553 
141554 
141555 SWIGINTERN PyObject *_wrap_MovableItem_AbsolutePosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
141556  PyObject *resultobj = 0;
141558  void *argp1 = 0 ;
141559  int res1 = 0 ;
141560  PyObject * obj0 = 0 ;
141561  CStdPoint< float > result;
141562 
141563  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_AbsolutePosition",&obj0)) SWIG_fail;
141564  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
141565  if (!SWIG_IsOK(res1)) {
141566  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_AbsolutePosition" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
141567  }
141568  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
141569  {
141570  try {
141571  result = (arg1)->AbsolutePosition();
141572  }
141573  catch(CStdErrorInfo oError)
141574  {
141575  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141576  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
141577  PyErr_SetString(PyExc_IndexError, strError.c_str());
141578  SWIG_fail;
141579  }
141580  catch(...)
141581  {
141582  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141583  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
141584  SWIG_fail;
141585  }
141586  }
141587  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
141588  return resultobj;
141589 fail:
141590  return NULL;
141591 }
141592 
141593 
141594 SWIGINTERN PyObject *_wrap_MovableItem_AbsolutePosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
141595  PyObject *resultobj = 0;
141597  CStdPoint< float > *arg2 = 0 ;
141598  void *argp1 = 0 ;
141599  int res1 = 0 ;
141600  void *argp2 = 0 ;
141601  int res2 = 0 ;
141602  PyObject * obj0 = 0 ;
141603  PyObject * obj1 = 0 ;
141604 
141605  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_AbsolutePosition",&obj0,&obj1)) SWIG_fail;
141606  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
141607  if (!SWIG_IsOK(res1)) {
141608  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_AbsolutePosition" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
141609  }
141610  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
141611  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
141612  if (!SWIG_IsOK(res2)) {
141613  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_AbsolutePosition" "', argument " "2"" of type '" "CStdPoint< float > &""'");
141614  }
141615  if (!argp2) {
141616  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_AbsolutePosition" "', argument " "2"" of type '" "CStdPoint< float > &""'");
141617  }
141618  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
141619  {
141620  try {
141621  (arg1)->AbsolutePosition(*arg2);
141622  }
141623  catch(CStdErrorInfo oError)
141624  {
141625  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141626  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
141627  PyErr_SetString(PyExc_IndexError, strError.c_str());
141628  SWIG_fail;
141629  }
141630  catch(...)
141631  {
141632  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141633  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
141634  SWIG_fail;
141635  }
141636  }
141637  resultobj = SWIG_Py_Void();
141638  return resultobj;
141639 fail:
141640  return NULL;
141641 }
141642 
141643 
141644 SWIGINTERN PyObject *_wrap_MovableItem_AbsolutePosition__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
141645  PyObject *resultobj = 0;
141647  float arg2 ;
141648  float arg3 ;
141649  float arg4 ;
141650  void *argp1 = 0 ;
141651  int res1 = 0 ;
141652  float val2 ;
141653  int ecode2 = 0 ;
141654  float val3 ;
141655  int ecode3 = 0 ;
141656  float val4 ;
141657  int ecode4 = 0 ;
141658  PyObject * obj0 = 0 ;
141659  PyObject * obj1 = 0 ;
141660  PyObject * obj2 = 0 ;
141661  PyObject * obj3 = 0 ;
141662 
141663  if (!PyArg_ParseTuple(args,(char *)"OOOO:MovableItem_AbsolutePosition",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
141664  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
141665  if (!SWIG_IsOK(res1)) {
141666  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_AbsolutePosition" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
141667  }
141668  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
141669  ecode2 = SWIG_AsVal_float(obj1, &val2);
141670  if (!SWIG_IsOK(ecode2)) {
141671  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_AbsolutePosition" "', argument " "2"" of type '" "float""'");
141672  }
141673  arg2 = static_cast< float >(val2);
141674  ecode3 = SWIG_AsVal_float(obj2, &val3);
141675  if (!SWIG_IsOK(ecode3)) {
141676  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_AbsolutePosition" "', argument " "3"" of type '" "float""'");
141677  }
141678  arg3 = static_cast< float >(val3);
141679  ecode4 = SWIG_AsVal_float(obj3, &val4);
141680  if (!SWIG_IsOK(ecode4)) {
141681  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_AbsolutePosition" "', argument " "4"" of type '" "float""'");
141682  }
141683  arg4 = static_cast< float >(val4);
141684  {
141685  try {
141686  (arg1)->AbsolutePosition(arg2,arg3,arg4);
141687  }
141688  catch(CStdErrorInfo oError)
141689  {
141690  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141691  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
141692  PyErr_SetString(PyExc_IndexError, strError.c_str());
141693  SWIG_fail;
141694  }
141695  catch(...)
141696  {
141697  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141698  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
141699  SWIG_fail;
141700  }
141701  }
141702  resultobj = SWIG_Py_Void();
141703  return resultobj;
141704 fail:
141705  return NULL;
141706 }
141707 
141708 
141709 SWIGINTERN PyObject *_wrap_MovableItem_AbsolutePosition(PyObject *self, PyObject *args) {
141710  int argc;
141711  PyObject *argv[5];
141712  int ii;
141713 
141714  if (!PyTuple_Check(args)) SWIG_fail;
141715  argc = args ? (int)PyObject_Length(args) : 0;
141716  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
141717  argv[ii] = PyTuple_GET_ITEM(args,ii);
141718  }
141719  if (argc == 1) {
141720  int _v;
141721  void *vptr = 0;
141722  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141723  _v = SWIG_CheckState(res);
141724  if (_v) {
141725  return _wrap_MovableItem_AbsolutePosition__SWIG_0(self, args);
141726  }
141727  }
141728  if (argc == 2) {
141729  int _v;
141730  void *vptr = 0;
141731  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141732  _v = SWIG_CheckState(res);
141733  if (_v) {
141734  void *vptr = 0;
141735  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
141736  _v = SWIG_CheckState(res);
141737  if (_v) {
141738  return _wrap_MovableItem_AbsolutePosition__SWIG_1(self, args);
141739  }
141740  }
141741  }
141742  if (argc == 4) {
141743  int _v;
141744  void *vptr = 0;
141745  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141746  _v = SWIG_CheckState(res);
141747  if (_v) {
141748  {
141749  int res = SWIG_AsVal_float(argv[1], NULL);
141750  _v = SWIG_CheckState(res);
141751  }
141752  if (_v) {
141753  {
141754  int res = SWIG_AsVal_float(argv[2], NULL);
141755  _v = SWIG_CheckState(res);
141756  }
141757  if (_v) {
141758  {
141759  int res = SWIG_AsVal_float(argv[3], NULL);
141760  _v = SWIG_CheckState(res);
141761  }
141762  if (_v) {
141763  return _wrap_MovableItem_AbsolutePosition__SWIG_2(self, args);
141764  }
141765  }
141766  }
141767  }
141768  }
141769 
141770 fail:
141771  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_AbsolutePosition'.\n"
141772  " Possible C/C++ prototypes are:\n"
141773  " AnimatSim::Environment::MovableItem::AbsolutePosition()\n"
141774  " AnimatSim::Environment::MovableItem::AbsolutePosition(CStdPoint< float > &)\n"
141775  " AnimatSim::Environment::MovableItem::AbsolutePosition(float,float,float)\n");
141776  return 0;
141777 }
141778 
141779 
141780 SWIGINTERN PyObject *_wrap_MovableItem_ReportPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
141781  PyObject *resultobj = 0;
141783  void *argp1 = 0 ;
141784  int res1 = 0 ;
141785  PyObject * obj0 = 0 ;
141786  CStdPoint< float > result;
141787 
141788  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_ReportPosition",&obj0)) SWIG_fail;
141789  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
141790  if (!SWIG_IsOK(res1)) {
141791  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_ReportPosition" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
141792  }
141793  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
141794  {
141795  try {
141796  result = (arg1)->ReportPosition();
141797  }
141798  catch(CStdErrorInfo oError)
141799  {
141800  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141801  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
141802  PyErr_SetString(PyExc_IndexError, strError.c_str());
141803  SWIG_fail;
141804  }
141805  catch(...)
141806  {
141807  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141808  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
141809  SWIG_fail;
141810  }
141811  }
141812  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
141813  return resultobj;
141814 fail:
141815  return NULL;
141816 }
141817 
141818 
141819 SWIGINTERN PyObject *_wrap_MovableItem_ReportPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
141820  PyObject *resultobj = 0;
141822  CStdPoint< float > *arg2 = 0 ;
141823  void *argp1 = 0 ;
141824  int res1 = 0 ;
141825  void *argp2 = 0 ;
141826  int res2 = 0 ;
141827  PyObject * obj0 = 0 ;
141828  PyObject * obj1 = 0 ;
141829 
141830  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_ReportPosition",&obj0,&obj1)) SWIG_fail;
141831  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
141832  if (!SWIG_IsOK(res1)) {
141833  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_ReportPosition" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
141834  }
141835  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
141836  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
141837  if (!SWIG_IsOK(res2)) {
141838  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_ReportPosition" "', argument " "2"" of type '" "CStdPoint< float > &""'");
141839  }
141840  if (!argp2) {
141841  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_ReportPosition" "', argument " "2"" of type '" "CStdPoint< float > &""'");
141842  }
141843  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
141844  {
141845  try {
141846  (arg1)->ReportPosition(*arg2);
141847  }
141848  catch(CStdErrorInfo oError)
141849  {
141850  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141851  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
141852  PyErr_SetString(PyExc_IndexError, strError.c_str());
141853  SWIG_fail;
141854  }
141855  catch(...)
141856  {
141857  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141858  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
141859  SWIG_fail;
141860  }
141861  }
141862  resultobj = SWIG_Py_Void();
141863  return resultobj;
141864 fail:
141865  return NULL;
141866 }
141867 
141868 
141869 SWIGINTERN PyObject *_wrap_MovableItem_ReportPosition__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
141870  PyObject *resultobj = 0;
141872  float arg2 ;
141873  float arg3 ;
141874  float arg4 ;
141875  void *argp1 = 0 ;
141876  int res1 = 0 ;
141877  float val2 ;
141878  int ecode2 = 0 ;
141879  float val3 ;
141880  int ecode3 = 0 ;
141881  float val4 ;
141882  int ecode4 = 0 ;
141883  PyObject * obj0 = 0 ;
141884  PyObject * obj1 = 0 ;
141885  PyObject * obj2 = 0 ;
141886  PyObject * obj3 = 0 ;
141887 
141888  if (!PyArg_ParseTuple(args,(char *)"OOOO:MovableItem_ReportPosition",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
141889  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
141890  if (!SWIG_IsOK(res1)) {
141891  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_ReportPosition" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
141892  }
141893  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
141894  ecode2 = SWIG_AsVal_float(obj1, &val2);
141895  if (!SWIG_IsOK(ecode2)) {
141896  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_ReportPosition" "', argument " "2"" of type '" "float""'");
141897  }
141898  arg2 = static_cast< float >(val2);
141899  ecode3 = SWIG_AsVal_float(obj2, &val3);
141900  if (!SWIG_IsOK(ecode3)) {
141901  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_ReportPosition" "', argument " "3"" of type '" "float""'");
141902  }
141903  arg3 = static_cast< float >(val3);
141904  ecode4 = SWIG_AsVal_float(obj3, &val4);
141905  if (!SWIG_IsOK(ecode4)) {
141906  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_ReportPosition" "', argument " "4"" of type '" "float""'");
141907  }
141908  arg4 = static_cast< float >(val4);
141909  {
141910  try {
141911  (arg1)->ReportPosition(arg2,arg3,arg4);
141912  }
141913  catch(CStdErrorInfo oError)
141914  {
141915  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141916  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
141917  PyErr_SetString(PyExc_IndexError, strError.c_str());
141918  SWIG_fail;
141919  }
141920  catch(...)
141921  {
141922  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
141923  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
141924  SWIG_fail;
141925  }
141926  }
141927  resultobj = SWIG_Py_Void();
141928  return resultobj;
141929 fail:
141930  return NULL;
141931 }
141932 
141933 
141934 SWIGINTERN PyObject *_wrap_MovableItem_ReportPosition(PyObject *self, PyObject *args) {
141935  int argc;
141936  PyObject *argv[5];
141937  int ii;
141938 
141939  if (!PyTuple_Check(args)) SWIG_fail;
141940  argc = args ? (int)PyObject_Length(args) : 0;
141941  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
141942  argv[ii] = PyTuple_GET_ITEM(args,ii);
141943  }
141944  if (argc == 1) {
141945  int _v;
141946  void *vptr = 0;
141947  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141948  _v = SWIG_CheckState(res);
141949  if (_v) {
141950  return _wrap_MovableItem_ReportPosition__SWIG_0(self, args);
141951  }
141952  }
141953  if (argc == 2) {
141954  int _v;
141955  void *vptr = 0;
141956  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141957  _v = SWIG_CheckState(res);
141958  if (_v) {
141959  void *vptr = 0;
141960  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
141961  _v = SWIG_CheckState(res);
141962  if (_v) {
141963  return _wrap_MovableItem_ReportPosition__SWIG_1(self, args);
141964  }
141965  }
141966  }
141967  if (argc == 4) {
141968  int _v;
141969  void *vptr = 0;
141970  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
141971  _v = SWIG_CheckState(res);
141972  if (_v) {
141973  {
141974  int res = SWIG_AsVal_float(argv[1], NULL);
141975  _v = SWIG_CheckState(res);
141976  }
141977  if (_v) {
141978  {
141979  int res = SWIG_AsVal_float(argv[2], NULL);
141980  _v = SWIG_CheckState(res);
141981  }
141982  if (_v) {
141983  {
141984  int res = SWIG_AsVal_float(argv[3], NULL);
141985  _v = SWIG_CheckState(res);
141986  }
141987  if (_v) {
141988  return _wrap_MovableItem_ReportPosition__SWIG_2(self, args);
141989  }
141990  }
141991  }
141992  }
141993  }
141994 
141995 fail:
141996  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_ReportPosition'.\n"
141997  " Possible C/C++ prototypes are:\n"
141998  " AnimatSim::Environment::MovableItem::ReportPosition()\n"
141999  " AnimatSim::Environment::MovableItem::ReportPosition(CStdPoint< float > &)\n"
142000  " AnimatSim::Environment::MovableItem::ReportPosition(float,float,float)\n");
142001  return 0;
142002 }
142003 
142004 
142005 SWIGINTERN PyObject *_wrap_MovableItem_ReportWorldPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
142006  PyObject *resultobj = 0;
142008  void *argp1 = 0 ;
142009  int res1 = 0 ;
142010  PyObject * obj0 = 0 ;
142011  CStdPoint< float > result;
142012 
142013  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_ReportWorldPosition",&obj0)) SWIG_fail;
142014  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
142015  if (!SWIG_IsOK(res1)) {
142016  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_ReportWorldPosition" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
142017  }
142018  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
142019  {
142020  try {
142021  result = (arg1)->ReportWorldPosition();
142022  }
142023  catch(CStdErrorInfo oError)
142024  {
142025  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142026  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
142027  PyErr_SetString(PyExc_IndexError, strError.c_str());
142028  SWIG_fail;
142029  }
142030  catch(...)
142031  {
142032  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142033  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
142034  SWIG_fail;
142035  }
142036  }
142037  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
142038  return resultobj;
142039 fail:
142040  return NULL;
142041 }
142042 
142043 
142044 SWIGINTERN PyObject *_wrap_MovableItem_ReportWorldPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
142045  PyObject *resultobj = 0;
142047  CStdPoint< float > *arg2 = 0 ;
142048  void *argp1 = 0 ;
142049  int res1 = 0 ;
142050  void *argp2 = 0 ;
142051  int res2 = 0 ;
142052  PyObject * obj0 = 0 ;
142053  PyObject * obj1 = 0 ;
142054 
142055  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_ReportWorldPosition",&obj0,&obj1)) SWIG_fail;
142056  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
142057  if (!SWIG_IsOK(res1)) {
142058  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_ReportWorldPosition" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
142059  }
142060  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
142061  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
142062  if (!SWIG_IsOK(res2)) {
142063  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_ReportWorldPosition" "', argument " "2"" of type '" "CStdPoint< float > &""'");
142064  }
142065  if (!argp2) {
142066  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_ReportWorldPosition" "', argument " "2"" of type '" "CStdPoint< float > &""'");
142067  }
142068  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
142069  {
142070  try {
142071  (arg1)->ReportWorldPosition(*arg2);
142072  }
142073  catch(CStdErrorInfo oError)
142074  {
142075  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142076  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
142077  PyErr_SetString(PyExc_IndexError, strError.c_str());
142078  SWIG_fail;
142079  }
142080  catch(...)
142081  {
142082  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142083  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
142084  SWIG_fail;
142085  }
142086  }
142087  resultobj = SWIG_Py_Void();
142088  return resultobj;
142089 fail:
142090  return NULL;
142091 }
142092 
142093 
142094 SWIGINTERN PyObject *_wrap_MovableItem_ReportWorldPosition__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
142095  PyObject *resultobj = 0;
142097  float arg2 ;
142098  float arg3 ;
142099  float arg4 ;
142100  void *argp1 = 0 ;
142101  int res1 = 0 ;
142102  float val2 ;
142103  int ecode2 = 0 ;
142104  float val3 ;
142105  int ecode3 = 0 ;
142106  float val4 ;
142107  int ecode4 = 0 ;
142108  PyObject * obj0 = 0 ;
142109  PyObject * obj1 = 0 ;
142110  PyObject * obj2 = 0 ;
142111  PyObject * obj3 = 0 ;
142112 
142113  if (!PyArg_ParseTuple(args,(char *)"OOOO:MovableItem_ReportWorldPosition",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
142114  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
142115  if (!SWIG_IsOK(res1)) {
142116  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_ReportWorldPosition" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
142117  }
142118  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
142119  ecode2 = SWIG_AsVal_float(obj1, &val2);
142120  if (!SWIG_IsOK(ecode2)) {
142121  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_ReportWorldPosition" "', argument " "2"" of type '" "float""'");
142122  }
142123  arg2 = static_cast< float >(val2);
142124  ecode3 = SWIG_AsVal_float(obj2, &val3);
142125  if (!SWIG_IsOK(ecode3)) {
142126  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_ReportWorldPosition" "', argument " "3"" of type '" "float""'");
142127  }
142128  arg3 = static_cast< float >(val3);
142129  ecode4 = SWIG_AsVal_float(obj3, &val4);
142130  if (!SWIG_IsOK(ecode4)) {
142131  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_ReportWorldPosition" "', argument " "4"" of type '" "float""'");
142132  }
142133  arg4 = static_cast< float >(val4);
142134  {
142135  try {
142136  (arg1)->ReportWorldPosition(arg2,arg3,arg4);
142137  }
142138  catch(CStdErrorInfo oError)
142139  {
142140  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142141  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
142142  PyErr_SetString(PyExc_IndexError, strError.c_str());
142143  SWIG_fail;
142144  }
142145  catch(...)
142146  {
142147  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142148  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
142149  SWIG_fail;
142150  }
142151  }
142152  resultobj = SWIG_Py_Void();
142153  return resultobj;
142154 fail:
142155  return NULL;
142156 }
142157 
142158 
142159 SWIGINTERN PyObject *_wrap_MovableItem_ReportWorldPosition(PyObject *self, PyObject *args) {
142160  int argc;
142161  PyObject *argv[5];
142162  int ii;
142163 
142164  if (!PyTuple_Check(args)) SWIG_fail;
142165  argc = args ? (int)PyObject_Length(args) : 0;
142166  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
142167  argv[ii] = PyTuple_GET_ITEM(args,ii);
142168  }
142169  if (argc == 1) {
142170  int _v;
142171  void *vptr = 0;
142172  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
142173  _v = SWIG_CheckState(res);
142174  if (_v) {
142175  return _wrap_MovableItem_ReportWorldPosition__SWIG_0(self, args);
142176  }
142177  }
142178  if (argc == 2) {
142179  int _v;
142180  void *vptr = 0;
142181  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
142182  _v = SWIG_CheckState(res);
142183  if (_v) {
142184  void *vptr = 0;
142185  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
142186  _v = SWIG_CheckState(res);
142187  if (_v) {
142188  return _wrap_MovableItem_ReportWorldPosition__SWIG_1(self, args);
142189  }
142190  }
142191  }
142192  if (argc == 4) {
142193  int _v;
142194  void *vptr = 0;
142195  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
142196  _v = SWIG_CheckState(res);
142197  if (_v) {
142198  {
142199  int res = SWIG_AsVal_float(argv[1], NULL);
142200  _v = SWIG_CheckState(res);
142201  }
142202  if (_v) {
142203  {
142204  int res = SWIG_AsVal_float(argv[2], NULL);
142205  _v = SWIG_CheckState(res);
142206  }
142207  if (_v) {
142208  {
142209  int res = SWIG_AsVal_float(argv[3], NULL);
142210  _v = SWIG_CheckState(res);
142211  }
142212  if (_v) {
142213  return _wrap_MovableItem_ReportWorldPosition__SWIG_2(self, args);
142214  }
142215  }
142216  }
142217  }
142218  }
142219 
142220 fail:
142221  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_ReportWorldPosition'.\n"
142222  " Possible C/C++ prototypes are:\n"
142223  " AnimatSim::Environment::MovableItem::ReportWorldPosition()\n"
142224  " AnimatSim::Environment::MovableItem::ReportWorldPosition(CStdPoint< float > &)\n"
142225  " AnimatSim::Environment::MovableItem::ReportWorldPosition(float,float,float)\n");
142226  return 0;
142227 }
142228 
142229 
142230 SWIGINTERN PyObject *_wrap_MovableItem_UpdateAbsolutePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
142231  PyObject *resultobj = 0;
142233  void *argp1 = 0 ;
142234  int res1 = 0 ;
142235  PyObject * obj0 = 0 ;
142236  CStdPoint< float > result;
142237 
142238  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_UpdateAbsolutePosition",&obj0)) SWIG_fail;
142239  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
142240  if (!SWIG_IsOK(res1)) {
142241  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_UpdateAbsolutePosition" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
142242  }
142243  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
142244  {
142245  try {
142246  result = (arg1)->UpdateAbsolutePosition();
142247  }
142248  catch(CStdErrorInfo oError)
142249  {
142250  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142251  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
142252  PyErr_SetString(PyExc_IndexError, strError.c_str());
142253  SWIG_fail;
142254  }
142255  catch(...)
142256  {
142257  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142258  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
142259  SWIG_fail;
142260  }
142261  }
142262  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
142263  return resultobj;
142264 fail:
142265  return NULL;
142266 }
142267 
142268 
142269 SWIGINTERN PyObject *_wrap_MovableItem_GetCurrentPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
142270  PyObject *resultobj = 0;
142272  void *argp1 = 0 ;
142273  int res1 = 0 ;
142274  PyObject * obj0 = 0 ;
142275  CStdPoint< float > result;
142276 
142277  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_GetCurrentPosition",&obj0)) SWIG_fail;
142278  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
142279  if (!SWIG_IsOK(res1)) {
142280  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_GetCurrentPosition" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
142281  }
142282  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
142283  {
142284  try {
142285  result = (arg1)->GetCurrentPosition();
142286  }
142287  catch(CStdErrorInfo oError)
142288  {
142289  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142290  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
142291  PyErr_SetString(PyExc_IndexError, strError.c_str());
142292  SWIG_fail;
142293  }
142294  catch(...)
142295  {
142296  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142297  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
142298  SWIG_fail;
142299  }
142300  }
142301  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
142302  return resultobj;
142303 fail:
142304  return NULL;
142305 }
142306 
142307 
142308 SWIGINTERN PyObject *_wrap_MovableItem_Rotation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
142309  PyObject *resultobj = 0;
142311  void *argp1 = 0 ;
142312  int res1 = 0 ;
142313  PyObject * obj0 = 0 ;
142314  CStdPoint< float > result;
142315 
142316  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_Rotation",&obj0)) SWIG_fail;
142317  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
142318  if (!SWIG_IsOK(res1)) {
142319  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Rotation" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
142320  }
142321  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
142322  {
142323  try {
142324  result = (arg1)->Rotation();
142325  }
142326  catch(CStdErrorInfo oError)
142327  {
142328  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142329  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
142330  PyErr_SetString(PyExc_IndexError, strError.c_str());
142331  SWIG_fail;
142332  }
142333  catch(...)
142334  {
142335  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142336  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
142337  SWIG_fail;
142338  }
142339  }
142340  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
142341  return resultobj;
142342 fail:
142343  return NULL;
142344 }
142345 
142346 
142347 SWIGINTERN PyObject *_wrap_MovableItem_Rotation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
142348  PyObject *resultobj = 0;
142350  CStdPoint< float > *arg2 = 0 ;
142351  bool arg3 ;
142352  bool arg4 ;
142353  void *argp1 = 0 ;
142354  int res1 = 0 ;
142355  void *argp2 = 0 ;
142356  int res2 = 0 ;
142357  bool val3 ;
142358  int ecode3 = 0 ;
142359  bool val4 ;
142360  int ecode4 = 0 ;
142361  PyObject * obj0 = 0 ;
142362  PyObject * obj1 = 0 ;
142363  PyObject * obj2 = 0 ;
142364  PyObject * obj3 = 0 ;
142365 
142366  if (!PyArg_ParseTuple(args,(char *)"OOOO:MovableItem_Rotation",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
142367  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
142368  if (!SWIG_IsOK(res1)) {
142369  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Rotation" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
142370  }
142371  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
142372  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
142373  if (!SWIG_IsOK(res2)) {
142374  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Rotation" "', argument " "2"" of type '" "CStdPoint< float > &""'");
142375  }
142376  if (!argp2) {
142377  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_Rotation" "', argument " "2"" of type '" "CStdPoint< float > &""'");
142378  }
142379  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
142380  ecode3 = SWIG_AsVal_bool(obj2, &val3);
142381  if (!SWIG_IsOK(ecode3)) {
142382  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Rotation" "', argument " "3"" of type '" "bool""'");
142383  }
142384  arg3 = static_cast< bool >(val3);
142385  ecode4 = SWIG_AsVal_bool(obj3, &val4);
142386  if (!SWIG_IsOK(ecode4)) {
142387  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_Rotation" "', argument " "4"" of type '" "bool""'");
142388  }
142389  arg4 = static_cast< bool >(val4);
142390  {
142391  try {
142392  (arg1)->Rotation(*arg2,arg3,arg4);
142393  }
142394  catch(CStdErrorInfo oError)
142395  {
142396  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142397  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
142398  PyErr_SetString(PyExc_IndexError, strError.c_str());
142399  SWIG_fail;
142400  }
142401  catch(...)
142402  {
142403  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142404  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
142405  SWIG_fail;
142406  }
142407  }
142408  resultobj = SWIG_Py_Void();
142409  return resultobj;
142410 fail:
142411  return NULL;
142412 }
142413 
142414 
142415 SWIGINTERN PyObject *_wrap_MovableItem_Rotation__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
142416  PyObject *resultobj = 0;
142418  CStdPoint< float > *arg2 = 0 ;
142419  bool arg3 ;
142420  void *argp1 = 0 ;
142421  int res1 = 0 ;
142422  void *argp2 = 0 ;
142423  int res2 = 0 ;
142424  bool val3 ;
142425  int ecode3 = 0 ;
142426  PyObject * obj0 = 0 ;
142427  PyObject * obj1 = 0 ;
142428  PyObject * obj2 = 0 ;
142429 
142430  if (!PyArg_ParseTuple(args,(char *)"OOO:MovableItem_Rotation",&obj0,&obj1,&obj2)) SWIG_fail;
142431  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
142432  if (!SWIG_IsOK(res1)) {
142433  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Rotation" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
142434  }
142435  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
142436  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
142437  if (!SWIG_IsOK(res2)) {
142438  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Rotation" "', argument " "2"" of type '" "CStdPoint< float > &""'");
142439  }
142440  if (!argp2) {
142441  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_Rotation" "', argument " "2"" of type '" "CStdPoint< float > &""'");
142442  }
142443  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
142444  ecode3 = SWIG_AsVal_bool(obj2, &val3);
142445  if (!SWIG_IsOK(ecode3)) {
142446  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Rotation" "', argument " "3"" of type '" "bool""'");
142447  }
142448  arg3 = static_cast< bool >(val3);
142449  {
142450  try {
142451  (arg1)->Rotation(*arg2,arg3);
142452  }
142453  catch(CStdErrorInfo oError)
142454  {
142455  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142456  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
142457  PyErr_SetString(PyExc_IndexError, strError.c_str());
142458  SWIG_fail;
142459  }
142460  catch(...)
142461  {
142462  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142463  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
142464  SWIG_fail;
142465  }
142466  }
142467  resultobj = SWIG_Py_Void();
142468  return resultobj;
142469 fail:
142470  return NULL;
142471 }
142472 
142473 
142474 SWIGINTERN PyObject *_wrap_MovableItem_Rotation__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
142475  PyObject *resultobj = 0;
142477  CStdPoint< float > *arg2 = 0 ;
142478  void *argp1 = 0 ;
142479  int res1 = 0 ;
142480  void *argp2 = 0 ;
142481  int res2 = 0 ;
142482  PyObject * obj0 = 0 ;
142483  PyObject * obj1 = 0 ;
142484 
142485  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Rotation",&obj0,&obj1)) SWIG_fail;
142486  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
142487  if (!SWIG_IsOK(res1)) {
142488  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Rotation" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
142489  }
142490  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
142491  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
142492  if (!SWIG_IsOK(res2)) {
142493  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Rotation" "', argument " "2"" of type '" "CStdPoint< float > &""'");
142494  }
142495  if (!argp2) {
142496  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_Rotation" "', argument " "2"" of type '" "CStdPoint< float > &""'");
142497  }
142498  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
142499  {
142500  try {
142501  (arg1)->Rotation(*arg2);
142502  }
142503  catch(CStdErrorInfo oError)
142504  {
142505  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142506  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
142507  PyErr_SetString(PyExc_IndexError, strError.c_str());
142508  SWIG_fail;
142509  }
142510  catch(...)
142511  {
142512  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142513  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
142514  SWIG_fail;
142515  }
142516  }
142517  resultobj = SWIG_Py_Void();
142518  return resultobj;
142519 fail:
142520  return NULL;
142521 }
142522 
142523 
142524 SWIGINTERN PyObject *_wrap_MovableItem_Rotation__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
142525  PyObject *resultobj = 0;
142527  float arg2 ;
142528  float arg3 ;
142529  float arg4 ;
142530  bool arg5 ;
142531  bool arg6 ;
142532  void *argp1 = 0 ;
142533  int res1 = 0 ;
142534  float val2 ;
142535  int ecode2 = 0 ;
142536  float val3 ;
142537  int ecode3 = 0 ;
142538  float val4 ;
142539  int ecode4 = 0 ;
142540  bool val5 ;
142541  int ecode5 = 0 ;
142542  bool val6 ;
142543  int ecode6 = 0 ;
142544  PyObject * obj0 = 0 ;
142545  PyObject * obj1 = 0 ;
142546  PyObject * obj2 = 0 ;
142547  PyObject * obj3 = 0 ;
142548  PyObject * obj4 = 0 ;
142549  PyObject * obj5 = 0 ;
142550 
142551  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:MovableItem_Rotation",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
142552  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
142553  if (!SWIG_IsOK(res1)) {
142554  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Rotation" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
142555  }
142556  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
142557  ecode2 = SWIG_AsVal_float(obj1, &val2);
142558  if (!SWIG_IsOK(ecode2)) {
142559  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_Rotation" "', argument " "2"" of type '" "float""'");
142560  }
142561  arg2 = static_cast< float >(val2);
142562  ecode3 = SWIG_AsVal_float(obj2, &val3);
142563  if (!SWIG_IsOK(ecode3)) {
142564  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Rotation" "', argument " "3"" of type '" "float""'");
142565  }
142566  arg3 = static_cast< float >(val3);
142567  ecode4 = SWIG_AsVal_float(obj3, &val4);
142568  if (!SWIG_IsOK(ecode4)) {
142569  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_Rotation" "', argument " "4"" of type '" "float""'");
142570  }
142571  arg4 = static_cast< float >(val4);
142572  ecode5 = SWIG_AsVal_bool(obj4, &val5);
142573  if (!SWIG_IsOK(ecode5)) {
142574  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "MovableItem_Rotation" "', argument " "5"" of type '" "bool""'");
142575  }
142576  arg5 = static_cast< bool >(val5);
142577  ecode6 = SWIG_AsVal_bool(obj5, &val6);
142578  if (!SWIG_IsOK(ecode6)) {
142579  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "MovableItem_Rotation" "', argument " "6"" of type '" "bool""'");
142580  }
142581  arg6 = static_cast< bool >(val6);
142582  {
142583  try {
142584  (arg1)->Rotation(arg2,arg3,arg4,arg5,arg6);
142585  }
142586  catch(CStdErrorInfo oError)
142587  {
142588  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142589  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
142590  PyErr_SetString(PyExc_IndexError, strError.c_str());
142591  SWIG_fail;
142592  }
142593  catch(...)
142594  {
142595  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142596  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
142597  SWIG_fail;
142598  }
142599  }
142600  resultobj = SWIG_Py_Void();
142601  return resultobj;
142602 fail:
142603  return NULL;
142604 }
142605 
142606 
142607 SWIGINTERN PyObject *_wrap_MovableItem_Rotation__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
142608  PyObject *resultobj = 0;
142610  float arg2 ;
142611  float arg3 ;
142612  float arg4 ;
142613  bool arg5 ;
142614  void *argp1 = 0 ;
142615  int res1 = 0 ;
142616  float val2 ;
142617  int ecode2 = 0 ;
142618  float val3 ;
142619  int ecode3 = 0 ;
142620  float val4 ;
142621  int ecode4 = 0 ;
142622  bool val5 ;
142623  int ecode5 = 0 ;
142624  PyObject * obj0 = 0 ;
142625  PyObject * obj1 = 0 ;
142626  PyObject * obj2 = 0 ;
142627  PyObject * obj3 = 0 ;
142628  PyObject * obj4 = 0 ;
142629 
142630  if (!PyArg_ParseTuple(args,(char *)"OOOOO:MovableItem_Rotation",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
142631  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
142632  if (!SWIG_IsOK(res1)) {
142633  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Rotation" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
142634  }
142635  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
142636  ecode2 = SWIG_AsVal_float(obj1, &val2);
142637  if (!SWIG_IsOK(ecode2)) {
142638  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_Rotation" "', argument " "2"" of type '" "float""'");
142639  }
142640  arg2 = static_cast< float >(val2);
142641  ecode3 = SWIG_AsVal_float(obj2, &val3);
142642  if (!SWIG_IsOK(ecode3)) {
142643  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Rotation" "', argument " "3"" of type '" "float""'");
142644  }
142645  arg3 = static_cast< float >(val3);
142646  ecode4 = SWIG_AsVal_float(obj3, &val4);
142647  if (!SWIG_IsOK(ecode4)) {
142648  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_Rotation" "', argument " "4"" of type '" "float""'");
142649  }
142650  arg4 = static_cast< float >(val4);
142651  ecode5 = SWIG_AsVal_bool(obj4, &val5);
142652  if (!SWIG_IsOK(ecode5)) {
142653  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "MovableItem_Rotation" "', argument " "5"" of type '" "bool""'");
142654  }
142655  arg5 = static_cast< bool >(val5);
142656  {
142657  try {
142658  (arg1)->Rotation(arg2,arg3,arg4,arg5);
142659  }
142660  catch(CStdErrorInfo oError)
142661  {
142662  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142663  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
142664  PyErr_SetString(PyExc_IndexError, strError.c_str());
142665  SWIG_fail;
142666  }
142667  catch(...)
142668  {
142669  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142670  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
142671  SWIG_fail;
142672  }
142673  }
142674  resultobj = SWIG_Py_Void();
142675  return resultobj;
142676 fail:
142677  return NULL;
142678 }
142679 
142680 
142681 SWIGINTERN PyObject *_wrap_MovableItem_Rotation__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
142682  PyObject *resultobj = 0;
142684  float arg2 ;
142685  float arg3 ;
142686  float arg4 ;
142687  void *argp1 = 0 ;
142688  int res1 = 0 ;
142689  float val2 ;
142690  int ecode2 = 0 ;
142691  float val3 ;
142692  int ecode3 = 0 ;
142693  float val4 ;
142694  int ecode4 = 0 ;
142695  PyObject * obj0 = 0 ;
142696  PyObject * obj1 = 0 ;
142697  PyObject * obj2 = 0 ;
142698  PyObject * obj3 = 0 ;
142699 
142700  if (!PyArg_ParseTuple(args,(char *)"OOOO:MovableItem_Rotation",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
142701  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
142702  if (!SWIG_IsOK(res1)) {
142703  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Rotation" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
142704  }
142705  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
142706  ecode2 = SWIG_AsVal_float(obj1, &val2);
142707  if (!SWIG_IsOK(ecode2)) {
142708  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_Rotation" "', argument " "2"" of type '" "float""'");
142709  }
142710  arg2 = static_cast< float >(val2);
142711  ecode3 = SWIG_AsVal_float(obj2, &val3);
142712  if (!SWIG_IsOK(ecode3)) {
142713  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Rotation" "', argument " "3"" of type '" "float""'");
142714  }
142715  arg3 = static_cast< float >(val3);
142716  ecode4 = SWIG_AsVal_float(obj3, &val4);
142717  if (!SWIG_IsOK(ecode4)) {
142718  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_Rotation" "', argument " "4"" of type '" "float""'");
142719  }
142720  arg4 = static_cast< float >(val4);
142721  {
142722  try {
142723  (arg1)->Rotation(arg2,arg3,arg4);
142724  }
142725  catch(CStdErrorInfo oError)
142726  {
142727  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142728  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
142729  PyErr_SetString(PyExc_IndexError, strError.c_str());
142730  SWIG_fail;
142731  }
142732  catch(...)
142733  {
142734  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142735  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
142736  SWIG_fail;
142737  }
142738  }
142739  resultobj = SWIG_Py_Void();
142740  return resultobj;
142741 fail:
142742  return NULL;
142743 }
142744 
142745 
142746 SWIGINTERN PyObject *_wrap_MovableItem_Rotation__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
142747  PyObject *resultobj = 0;
142749  std::string arg2 ;
142750  bool arg3 ;
142751  bool arg4 ;
142752  void *argp1 = 0 ;
142753  int res1 = 0 ;
142754  bool val3 ;
142755  int ecode3 = 0 ;
142756  bool val4 ;
142757  int ecode4 = 0 ;
142758  PyObject * obj0 = 0 ;
142759  PyObject * obj1 = 0 ;
142760  PyObject * obj2 = 0 ;
142761  PyObject * obj3 = 0 ;
142762 
142763  if (!PyArg_ParseTuple(args,(char *)"OOOO:MovableItem_Rotation",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
142764  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
142765  if (!SWIG_IsOK(res1)) {
142766  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Rotation" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
142767  }
142768  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
142769  {
142770  std::string *ptr = (std::string *)0;
142771  int res = SWIG_AsPtr_std_string(obj1, &ptr);
142772  if (!SWIG_IsOK(res) || !ptr) {
142773  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MovableItem_Rotation" "', argument " "2"" of type '" "std::string""'");
142774  }
142775  arg2 = *ptr;
142776  if (SWIG_IsNewObj(res)) delete ptr;
142777  }
142778  ecode3 = SWIG_AsVal_bool(obj2, &val3);
142779  if (!SWIG_IsOK(ecode3)) {
142780  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Rotation" "', argument " "3"" of type '" "bool""'");
142781  }
142782  arg3 = static_cast< bool >(val3);
142783  ecode4 = SWIG_AsVal_bool(obj3, &val4);
142784  if (!SWIG_IsOK(ecode4)) {
142785  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_Rotation" "', argument " "4"" of type '" "bool""'");
142786  }
142787  arg4 = static_cast< bool >(val4);
142788  {
142789  try {
142790  (arg1)->Rotation(arg2,arg3,arg4);
142791  }
142792  catch(CStdErrorInfo oError)
142793  {
142794  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142795  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
142796  PyErr_SetString(PyExc_IndexError, strError.c_str());
142797  SWIG_fail;
142798  }
142799  catch(...)
142800  {
142801  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142802  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
142803  SWIG_fail;
142804  }
142805  }
142806  resultobj = SWIG_Py_Void();
142807  return resultobj;
142808 fail:
142809  return NULL;
142810 }
142811 
142812 
142813 SWIGINTERN PyObject *_wrap_MovableItem_Rotation__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
142814  PyObject *resultobj = 0;
142816  std::string arg2 ;
142817  bool arg3 ;
142818  void *argp1 = 0 ;
142819  int res1 = 0 ;
142820  bool val3 ;
142821  int ecode3 = 0 ;
142822  PyObject * obj0 = 0 ;
142823  PyObject * obj1 = 0 ;
142824  PyObject * obj2 = 0 ;
142825 
142826  if (!PyArg_ParseTuple(args,(char *)"OOO:MovableItem_Rotation",&obj0,&obj1,&obj2)) SWIG_fail;
142827  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
142828  if (!SWIG_IsOK(res1)) {
142829  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Rotation" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
142830  }
142831  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
142832  {
142833  std::string *ptr = (std::string *)0;
142834  int res = SWIG_AsPtr_std_string(obj1, &ptr);
142835  if (!SWIG_IsOK(res) || !ptr) {
142836  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MovableItem_Rotation" "', argument " "2"" of type '" "std::string""'");
142837  }
142838  arg2 = *ptr;
142839  if (SWIG_IsNewObj(res)) delete ptr;
142840  }
142841  ecode3 = SWIG_AsVal_bool(obj2, &val3);
142842  if (!SWIG_IsOK(ecode3)) {
142843  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Rotation" "', argument " "3"" of type '" "bool""'");
142844  }
142845  arg3 = static_cast< bool >(val3);
142846  {
142847  try {
142848  (arg1)->Rotation(arg2,arg3);
142849  }
142850  catch(CStdErrorInfo oError)
142851  {
142852  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142853  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
142854  PyErr_SetString(PyExc_IndexError, strError.c_str());
142855  SWIG_fail;
142856  }
142857  catch(...)
142858  {
142859  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142860  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
142861  SWIG_fail;
142862  }
142863  }
142864  resultobj = SWIG_Py_Void();
142865  return resultobj;
142866 fail:
142867  return NULL;
142868 }
142869 
142870 
142871 SWIGINTERN PyObject *_wrap_MovableItem_Rotation__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
142872  PyObject *resultobj = 0;
142874  std::string arg2 ;
142875  void *argp1 = 0 ;
142876  int res1 = 0 ;
142877  PyObject * obj0 = 0 ;
142878  PyObject * obj1 = 0 ;
142879 
142880  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Rotation",&obj0,&obj1)) SWIG_fail;
142881  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
142882  if (!SWIG_IsOK(res1)) {
142883  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Rotation" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
142884  }
142885  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
142886  {
142887  std::string *ptr = (std::string *)0;
142888  int res = SWIG_AsPtr_std_string(obj1, &ptr);
142889  if (!SWIG_IsOK(res) || !ptr) {
142890  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MovableItem_Rotation" "', argument " "2"" of type '" "std::string""'");
142891  }
142892  arg2 = *ptr;
142893  if (SWIG_IsNewObj(res)) delete ptr;
142894  }
142895  {
142896  try {
142897  (arg1)->Rotation(arg2);
142898  }
142899  catch(CStdErrorInfo oError)
142900  {
142901  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142902  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
142903  PyErr_SetString(PyExc_IndexError, strError.c_str());
142904  SWIG_fail;
142905  }
142906  catch(...)
142907  {
142908  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
142909  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
142910  SWIG_fail;
142911  }
142912  }
142913  resultobj = SWIG_Py_Void();
142914  return resultobj;
142915 fail:
142916  return NULL;
142917 }
142918 
142919 
142920 SWIGINTERN PyObject *_wrap_MovableItem_Rotation(PyObject *self, PyObject *args) {
142921  int argc;
142922  PyObject *argv[7];
142923  int ii;
142924 
142925  if (!PyTuple_Check(args)) SWIG_fail;
142926  argc = args ? (int)PyObject_Length(args) : 0;
142927  for (ii = 0; (ii < 6) && (ii < argc); ii++) {
142928  argv[ii] = PyTuple_GET_ITEM(args,ii);
142929  }
142930  if (argc == 1) {
142931  int _v;
142932  void *vptr = 0;
142933  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
142934  _v = SWIG_CheckState(res);
142935  if (_v) {
142936  return _wrap_MovableItem_Rotation__SWIG_0(self, args);
142937  }
142938  }
142939  if (argc == 2) {
142940  int _v;
142941  void *vptr = 0;
142942  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
142943  _v = SWIG_CheckState(res);
142944  if (_v) {
142945  void *vptr = 0;
142946  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
142947  _v = SWIG_CheckState(res);
142948  if (_v) {
142949  return _wrap_MovableItem_Rotation__SWIG_3(self, args);
142950  }
142951  }
142952  }
142953  if (argc == 2) {
142954  int _v;
142955  void *vptr = 0;
142956  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
142957  _v = SWIG_CheckState(res);
142958  if (_v) {
142959  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
142960  _v = SWIG_CheckState(res);
142961  if (_v) {
142962  return _wrap_MovableItem_Rotation__SWIG_9(self, args);
142963  }
142964  }
142965  }
142966  if (argc == 3) {
142967  int _v;
142968  void *vptr = 0;
142969  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
142970  _v = SWIG_CheckState(res);
142971  if (_v) {
142972  void *vptr = 0;
142973  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
142974  _v = SWIG_CheckState(res);
142975  if (_v) {
142976  {
142977  int res = SWIG_AsVal_bool(argv[2], NULL);
142978  _v = SWIG_CheckState(res);
142979  }
142980  if (_v) {
142981  return _wrap_MovableItem_Rotation__SWIG_2(self, args);
142982  }
142983  }
142984  }
142985  }
142986  if (argc == 3) {
142987  int _v;
142988  void *vptr = 0;
142989  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
142990  _v = SWIG_CheckState(res);
142991  if (_v) {
142992  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
142993  _v = SWIG_CheckState(res);
142994  if (_v) {
142995  {
142996  int res = SWIG_AsVal_bool(argv[2], NULL);
142997  _v = SWIG_CheckState(res);
142998  }
142999  if (_v) {
143000  return _wrap_MovableItem_Rotation__SWIG_8(self, args);
143001  }
143002  }
143003  }
143004  }
143005  if (argc == 4) {
143006  int _v;
143007  void *vptr = 0;
143008  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143009  _v = SWIG_CheckState(res);
143010  if (_v) {
143011  void *vptr = 0;
143012  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
143013  _v = SWIG_CheckState(res);
143014  if (_v) {
143015  {
143016  int res = SWIG_AsVal_bool(argv[2], NULL);
143017  _v = SWIG_CheckState(res);
143018  }
143019  if (_v) {
143020  {
143021  int res = SWIG_AsVal_bool(argv[3], NULL);
143022  _v = SWIG_CheckState(res);
143023  }
143024  if (_v) {
143025  return _wrap_MovableItem_Rotation__SWIG_1(self, args);
143026  }
143027  }
143028  }
143029  }
143030  }
143031  if (argc == 4) {
143032  int _v;
143033  void *vptr = 0;
143034  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143035  _v = SWIG_CheckState(res);
143036  if (_v) {
143037  {
143038  int res = SWIG_AsVal_float(argv[1], NULL);
143039  _v = SWIG_CheckState(res);
143040  }
143041  if (_v) {
143042  {
143043  int res = SWIG_AsVal_float(argv[2], NULL);
143044  _v = SWIG_CheckState(res);
143045  }
143046  if (_v) {
143047  {
143048  int res = SWIG_AsVal_float(argv[3], NULL);
143049  _v = SWIG_CheckState(res);
143050  }
143051  if (_v) {
143052  return _wrap_MovableItem_Rotation__SWIG_6(self, args);
143053  }
143054  }
143055  }
143056  }
143057  }
143058  if (argc == 4) {
143059  int _v;
143060  void *vptr = 0;
143061  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143062  _v = SWIG_CheckState(res);
143063  if (_v) {
143064  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
143065  _v = SWIG_CheckState(res);
143066  if (_v) {
143067  {
143068  int res = SWIG_AsVal_bool(argv[2], NULL);
143069  _v = SWIG_CheckState(res);
143070  }
143071  if (_v) {
143072  {
143073  int res = SWIG_AsVal_bool(argv[3], NULL);
143074  _v = SWIG_CheckState(res);
143075  }
143076  if (_v) {
143077  return _wrap_MovableItem_Rotation__SWIG_7(self, args);
143078  }
143079  }
143080  }
143081  }
143082  }
143083  if (argc == 5) {
143084  int _v;
143085  void *vptr = 0;
143086  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143087  _v = SWIG_CheckState(res);
143088  if (_v) {
143089  {
143090  int res = SWIG_AsVal_float(argv[1], NULL);
143091  _v = SWIG_CheckState(res);
143092  }
143093  if (_v) {
143094  {
143095  int res = SWIG_AsVal_float(argv[2], NULL);
143096  _v = SWIG_CheckState(res);
143097  }
143098  if (_v) {
143099  {
143100  int res = SWIG_AsVal_float(argv[3], NULL);
143101  _v = SWIG_CheckState(res);
143102  }
143103  if (_v) {
143104  {
143105  int res = SWIG_AsVal_bool(argv[4], NULL);
143106  _v = SWIG_CheckState(res);
143107  }
143108  if (_v) {
143109  return _wrap_MovableItem_Rotation__SWIG_5(self, args);
143110  }
143111  }
143112  }
143113  }
143114  }
143115  }
143116  if (argc == 6) {
143117  int _v;
143118  void *vptr = 0;
143119  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143120  _v = SWIG_CheckState(res);
143121  if (_v) {
143122  {
143123  int res = SWIG_AsVal_float(argv[1], NULL);
143124  _v = SWIG_CheckState(res);
143125  }
143126  if (_v) {
143127  {
143128  int res = SWIG_AsVal_float(argv[2], NULL);
143129  _v = SWIG_CheckState(res);
143130  }
143131  if (_v) {
143132  {
143133  int res = SWIG_AsVal_float(argv[3], NULL);
143134  _v = SWIG_CheckState(res);
143135  }
143136  if (_v) {
143137  {
143138  int res = SWIG_AsVal_bool(argv[4], NULL);
143139  _v = SWIG_CheckState(res);
143140  }
143141  if (_v) {
143142  {
143143  int res = SWIG_AsVal_bool(argv[5], NULL);
143144  _v = SWIG_CheckState(res);
143145  }
143146  if (_v) {
143147  return _wrap_MovableItem_Rotation__SWIG_4(self, args);
143148  }
143149  }
143150  }
143151  }
143152  }
143153  }
143154  }
143155 
143156 fail:
143157  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_Rotation'.\n"
143158  " Possible C/C++ prototypes are:\n"
143159  " AnimatSim::Environment::MovableItem::Rotation()\n"
143160  " AnimatSim::Environment::MovableItem::Rotation(CStdPoint< float > &,bool,bool)\n"
143161  " AnimatSim::Environment::MovableItem::Rotation(CStdPoint< float > &,bool)\n"
143162  " AnimatSim::Environment::MovableItem::Rotation(CStdPoint< float > &)\n"
143163  " AnimatSim::Environment::MovableItem::Rotation(float,float,float,bool,bool)\n"
143164  " AnimatSim::Environment::MovableItem::Rotation(float,float,float,bool)\n"
143165  " AnimatSim::Environment::MovableItem::Rotation(float,float,float)\n"
143166  " AnimatSim::Environment::MovableItem::Rotation(std::string,bool,bool)\n"
143167  " AnimatSim::Environment::MovableItem::Rotation(std::string,bool)\n"
143168  " AnimatSim::Environment::MovableItem::Rotation(std::string)\n");
143169  return 0;
143170 }
143171 
143172 
143173 SWIGINTERN PyObject *_wrap_MovableItem_ReportRotation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
143174  PyObject *resultobj = 0;
143176  void *argp1 = 0 ;
143177  int res1 = 0 ;
143178  PyObject * obj0 = 0 ;
143179  CStdPoint< float > result;
143180 
143181  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_ReportRotation",&obj0)) SWIG_fail;
143182  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
143183  if (!SWIG_IsOK(res1)) {
143184  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_ReportRotation" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
143185  }
143186  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
143187  {
143188  try {
143189  result = (arg1)->ReportRotation();
143190  }
143191  catch(CStdErrorInfo oError)
143192  {
143193  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143194  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
143195  PyErr_SetString(PyExc_IndexError, strError.c_str());
143196  SWIG_fail;
143197  }
143198  catch(...)
143199  {
143200  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143201  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
143202  SWIG_fail;
143203  }
143204  }
143205  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
143206  return resultobj;
143207 fail:
143208  return NULL;
143209 }
143210 
143211 
143212 SWIGINTERN PyObject *_wrap_MovableItem_ReportRotation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
143213  PyObject *resultobj = 0;
143215  CStdPoint< float > *arg2 = 0 ;
143216  void *argp1 = 0 ;
143217  int res1 = 0 ;
143218  void *argp2 = 0 ;
143219  int res2 = 0 ;
143220  PyObject * obj0 = 0 ;
143221  PyObject * obj1 = 0 ;
143222 
143223  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_ReportRotation",&obj0,&obj1)) SWIG_fail;
143224  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
143225  if (!SWIG_IsOK(res1)) {
143226  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_ReportRotation" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
143227  }
143228  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
143229  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
143230  if (!SWIG_IsOK(res2)) {
143231  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_ReportRotation" "', argument " "2"" of type '" "CStdPoint< float > &""'");
143232  }
143233  if (!argp2) {
143234  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_ReportRotation" "', argument " "2"" of type '" "CStdPoint< float > &""'");
143235  }
143236  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
143237  {
143238  try {
143239  (arg1)->ReportRotation(*arg2);
143240  }
143241  catch(CStdErrorInfo oError)
143242  {
143243  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143244  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
143245  PyErr_SetString(PyExc_IndexError, strError.c_str());
143246  SWIG_fail;
143247  }
143248  catch(...)
143249  {
143250  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143251  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
143252  SWIG_fail;
143253  }
143254  }
143255  resultobj = SWIG_Py_Void();
143256  return resultobj;
143257 fail:
143258  return NULL;
143259 }
143260 
143261 
143262 SWIGINTERN PyObject *_wrap_MovableItem_ReportRotation__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
143263  PyObject *resultobj = 0;
143265  float arg2 ;
143266  float arg3 ;
143267  float arg4 ;
143268  void *argp1 = 0 ;
143269  int res1 = 0 ;
143270  float val2 ;
143271  int ecode2 = 0 ;
143272  float val3 ;
143273  int ecode3 = 0 ;
143274  float val4 ;
143275  int ecode4 = 0 ;
143276  PyObject * obj0 = 0 ;
143277  PyObject * obj1 = 0 ;
143278  PyObject * obj2 = 0 ;
143279  PyObject * obj3 = 0 ;
143280 
143281  if (!PyArg_ParseTuple(args,(char *)"OOOO:MovableItem_ReportRotation",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
143282  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
143283  if (!SWIG_IsOK(res1)) {
143284  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_ReportRotation" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
143285  }
143286  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
143287  ecode2 = SWIG_AsVal_float(obj1, &val2);
143288  if (!SWIG_IsOK(ecode2)) {
143289  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_ReportRotation" "', argument " "2"" of type '" "float""'");
143290  }
143291  arg2 = static_cast< float >(val2);
143292  ecode3 = SWIG_AsVal_float(obj2, &val3);
143293  if (!SWIG_IsOK(ecode3)) {
143294  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_ReportRotation" "', argument " "3"" of type '" "float""'");
143295  }
143296  arg3 = static_cast< float >(val3);
143297  ecode4 = SWIG_AsVal_float(obj3, &val4);
143298  if (!SWIG_IsOK(ecode4)) {
143299  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_ReportRotation" "', argument " "4"" of type '" "float""'");
143300  }
143301  arg4 = static_cast< float >(val4);
143302  {
143303  try {
143304  (arg1)->ReportRotation(arg2,arg3,arg4);
143305  }
143306  catch(CStdErrorInfo oError)
143307  {
143308  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143309  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
143310  PyErr_SetString(PyExc_IndexError, strError.c_str());
143311  SWIG_fail;
143312  }
143313  catch(...)
143314  {
143315  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143316  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
143317  SWIG_fail;
143318  }
143319  }
143320  resultobj = SWIG_Py_Void();
143321  return resultobj;
143322 fail:
143323  return NULL;
143324 }
143325 
143326 
143327 SWIGINTERN PyObject *_wrap_MovableItem_ReportRotation(PyObject *self, PyObject *args) {
143328  int argc;
143329  PyObject *argv[5];
143330  int ii;
143331 
143332  if (!PyTuple_Check(args)) SWIG_fail;
143333  argc = args ? (int)PyObject_Length(args) : 0;
143334  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
143335  argv[ii] = PyTuple_GET_ITEM(args,ii);
143336  }
143337  if (argc == 1) {
143338  int _v;
143339  void *vptr = 0;
143340  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143341  _v = SWIG_CheckState(res);
143342  if (_v) {
143343  return _wrap_MovableItem_ReportRotation__SWIG_0(self, args);
143344  }
143345  }
143346  if (argc == 2) {
143347  int _v;
143348  void *vptr = 0;
143349  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143350  _v = SWIG_CheckState(res);
143351  if (_v) {
143352  void *vptr = 0;
143353  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
143354  _v = SWIG_CheckState(res);
143355  if (_v) {
143356  return _wrap_MovableItem_ReportRotation__SWIG_1(self, args);
143357  }
143358  }
143359  }
143360  if (argc == 4) {
143361  int _v;
143362  void *vptr = 0;
143363  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143364  _v = SWIG_CheckState(res);
143365  if (_v) {
143366  {
143367  int res = SWIG_AsVal_float(argv[1], NULL);
143368  _v = SWIG_CheckState(res);
143369  }
143370  if (_v) {
143371  {
143372  int res = SWIG_AsVal_float(argv[2], NULL);
143373  _v = SWIG_CheckState(res);
143374  }
143375  if (_v) {
143376  {
143377  int res = SWIG_AsVal_float(argv[3], NULL);
143378  _v = SWIG_CheckState(res);
143379  }
143380  if (_v) {
143381  return _wrap_MovableItem_ReportRotation__SWIG_2(self, args);
143382  }
143383  }
143384  }
143385  }
143386  }
143387 
143388 fail:
143389  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_ReportRotation'.\n"
143390  " Possible C/C++ prototypes are:\n"
143391  " AnimatSim::Environment::MovableItem::ReportRotation()\n"
143392  " AnimatSim::Environment::MovableItem::ReportRotation(CStdPoint< float > &)\n"
143393  " AnimatSim::Environment::MovableItem::ReportRotation(float,float,float)\n");
143394  return 0;
143395 }
143396 
143397 
143398 SWIGINTERN PyObject *_wrap_MovableItem_LocalTransformationMatrixString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
143399  PyObject *resultobj = 0;
143401  void *argp1 = 0 ;
143402  int res1 = 0 ;
143403  PyObject * obj0 = 0 ;
143404  std::string result;
143405 
143406  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_LocalTransformationMatrixString",&obj0)) SWIG_fail;
143407  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
143408  if (!SWIG_IsOK(res1)) {
143409  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_LocalTransformationMatrixString" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
143410  }
143411  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
143412  {
143413  try {
143414  result = (arg1)->LocalTransformationMatrixString();
143415  }
143416  catch(CStdErrorInfo oError)
143417  {
143418  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143419  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
143420  PyErr_SetString(PyExc_IndexError, strError.c_str());
143421  SWIG_fail;
143422  }
143423  catch(...)
143424  {
143425  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143426  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
143427  SWIG_fail;
143428  }
143429  }
143430  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
143431  return resultobj;
143432 fail:
143433  return NULL;
143434 }
143435 
143436 
143437 SWIGINTERN PyObject *_wrap_MovableItem_IsVisible__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
143438  PyObject *resultobj = 0;
143440  void *argp1 = 0 ;
143441  int res1 = 0 ;
143442  PyObject * obj0 = 0 ;
143443  bool result;
143444 
143445  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_IsVisible",&obj0)) SWIG_fail;
143446  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
143447  if (!SWIG_IsOK(res1)) {
143448  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_IsVisible" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
143449  }
143450  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
143451  {
143452  try {
143453  result = (bool)(arg1)->IsVisible();
143454  }
143455  catch(CStdErrorInfo oError)
143456  {
143457  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143458  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
143459  PyErr_SetString(PyExc_IndexError, strError.c_str());
143460  SWIG_fail;
143461  }
143462  catch(...)
143463  {
143464  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143465  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
143466  SWIG_fail;
143467  }
143468  }
143469  resultobj = SWIG_From_bool(static_cast< bool >(result));
143470  return resultobj;
143471 fail:
143472  return NULL;
143473 }
143474 
143475 
143476 SWIGINTERN PyObject *_wrap_MovableItem_IsVisible__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
143477  PyObject *resultobj = 0;
143479  bool arg2 ;
143480  void *argp1 = 0 ;
143481  int res1 = 0 ;
143482  bool val2 ;
143483  int ecode2 = 0 ;
143484  PyObject * obj0 = 0 ;
143485  PyObject * obj1 = 0 ;
143486 
143487  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_IsVisible",&obj0,&obj1)) SWIG_fail;
143488  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
143489  if (!SWIG_IsOK(res1)) {
143490  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_IsVisible" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
143491  }
143492  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
143493  ecode2 = SWIG_AsVal_bool(obj1, &val2);
143494  if (!SWIG_IsOK(ecode2)) {
143495  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_IsVisible" "', argument " "2"" of type '" "bool""'");
143496  }
143497  arg2 = static_cast< bool >(val2);
143498  {
143499  try {
143500  (arg1)->IsVisible(arg2);
143501  }
143502  catch(CStdErrorInfo oError)
143503  {
143504  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143505  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
143506  PyErr_SetString(PyExc_IndexError, strError.c_str());
143507  SWIG_fail;
143508  }
143509  catch(...)
143510  {
143511  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143512  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
143513  SWIG_fail;
143514  }
143515  }
143516  resultobj = SWIG_Py_Void();
143517  return resultobj;
143518 fail:
143519  return NULL;
143520 }
143521 
143522 
143523 SWIGINTERN PyObject *_wrap_MovableItem_IsVisible(PyObject *self, PyObject *args) {
143524  int argc;
143525  PyObject *argv[3];
143526  int ii;
143527 
143528  if (!PyTuple_Check(args)) SWIG_fail;
143529  argc = args ? (int)PyObject_Length(args) : 0;
143530  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
143531  argv[ii] = PyTuple_GET_ITEM(args,ii);
143532  }
143533  if (argc == 1) {
143534  int _v;
143535  void *vptr = 0;
143536  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143537  _v = SWIG_CheckState(res);
143538  if (_v) {
143539  return _wrap_MovableItem_IsVisible__SWIG_0(self, args);
143540  }
143541  }
143542  if (argc == 2) {
143543  int _v;
143544  void *vptr = 0;
143545  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143546  _v = SWIG_CheckState(res);
143547  if (_v) {
143548  {
143549  int res = SWIG_AsVal_bool(argv[1], NULL);
143550  _v = SWIG_CheckState(res);
143551  }
143552  if (_v) {
143553  return _wrap_MovableItem_IsVisible__SWIG_1(self, args);
143554  }
143555  }
143556  }
143557 
143558 fail:
143559  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_IsVisible'.\n"
143560  " Possible C/C++ prototypes are:\n"
143561  " AnimatSim::Environment::MovableItem::IsVisible()\n"
143562  " AnimatSim::Environment::MovableItem::IsVisible(bool)\n");
143563  return 0;
143564 }
143565 
143566 
143567 SWIGINTERN PyObject *_wrap_MovableItem_GraphicsAlpha__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
143568  PyObject *resultobj = 0;
143570  void *argp1 = 0 ;
143571  int res1 = 0 ;
143572  PyObject * obj0 = 0 ;
143573  float result;
143574 
143575  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_GraphicsAlpha",&obj0)) SWIG_fail;
143576  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
143577  if (!SWIG_IsOK(res1)) {
143578  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_GraphicsAlpha" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
143579  }
143580  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
143581  {
143582  try {
143583  result = (float)(arg1)->GraphicsAlpha();
143584  }
143585  catch(CStdErrorInfo oError)
143586  {
143587  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143588  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
143589  PyErr_SetString(PyExc_IndexError, strError.c_str());
143590  SWIG_fail;
143591  }
143592  catch(...)
143593  {
143594  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143595  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
143596  SWIG_fail;
143597  }
143598  }
143599  resultobj = SWIG_From_float(static_cast< float >(result));
143600  return resultobj;
143601 fail:
143602  return NULL;
143603 }
143604 
143605 
143606 SWIGINTERN PyObject *_wrap_MovableItem_GraphicsAlpha__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
143607  PyObject *resultobj = 0;
143609  float arg2 ;
143610  void *argp1 = 0 ;
143611  int res1 = 0 ;
143612  float val2 ;
143613  int ecode2 = 0 ;
143614  PyObject * obj0 = 0 ;
143615  PyObject * obj1 = 0 ;
143616 
143617  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_GraphicsAlpha",&obj0,&obj1)) SWIG_fail;
143618  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
143619  if (!SWIG_IsOK(res1)) {
143620  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_GraphicsAlpha" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
143621  }
143622  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
143623  ecode2 = SWIG_AsVal_float(obj1, &val2);
143624  if (!SWIG_IsOK(ecode2)) {
143625  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_GraphicsAlpha" "', argument " "2"" of type '" "float""'");
143626  }
143627  arg2 = static_cast< float >(val2);
143628  {
143629  try {
143630  (arg1)->GraphicsAlpha(arg2);
143631  }
143632  catch(CStdErrorInfo oError)
143633  {
143634  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143635  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
143636  PyErr_SetString(PyExc_IndexError, strError.c_str());
143637  SWIG_fail;
143638  }
143639  catch(...)
143640  {
143641  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143642  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
143643  SWIG_fail;
143644  }
143645  }
143646  resultobj = SWIG_Py_Void();
143647  return resultobj;
143648 fail:
143649  return NULL;
143650 }
143651 
143652 
143653 SWIGINTERN PyObject *_wrap_MovableItem_GraphicsAlpha(PyObject *self, PyObject *args) {
143654  int argc;
143655  PyObject *argv[3];
143656  int ii;
143657 
143658  if (!PyTuple_Check(args)) SWIG_fail;
143659  argc = args ? (int)PyObject_Length(args) : 0;
143660  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
143661  argv[ii] = PyTuple_GET_ITEM(args,ii);
143662  }
143663  if (argc == 1) {
143664  int _v;
143665  void *vptr = 0;
143666  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143667  _v = SWIG_CheckState(res);
143668  if (_v) {
143669  return _wrap_MovableItem_GraphicsAlpha__SWIG_0(self, args);
143670  }
143671  }
143672  if (argc == 2) {
143673  int _v;
143674  void *vptr = 0;
143675  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143676  _v = SWIG_CheckState(res);
143677  if (_v) {
143678  {
143679  int res = SWIG_AsVal_float(argv[1], NULL);
143680  _v = SWIG_CheckState(res);
143681  }
143682  if (_v) {
143683  return _wrap_MovableItem_GraphicsAlpha__SWIG_1(self, args);
143684  }
143685  }
143686  }
143687 
143688 fail:
143689  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_GraphicsAlpha'.\n"
143690  " Possible C/C++ prototypes are:\n"
143691  " AnimatSim::Environment::MovableItem::GraphicsAlpha()\n"
143692  " AnimatSim::Environment::MovableItem::GraphicsAlpha(float)\n");
143693  return 0;
143694 }
143695 
143696 
143697 SWIGINTERN PyObject *_wrap_MovableItem_CollisionsAlpha__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
143698  PyObject *resultobj = 0;
143700  void *argp1 = 0 ;
143701  int res1 = 0 ;
143702  PyObject * obj0 = 0 ;
143703  float result;
143704 
143705  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_CollisionsAlpha",&obj0)) SWIG_fail;
143706  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
143707  if (!SWIG_IsOK(res1)) {
143708  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_CollisionsAlpha" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
143709  }
143710  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
143711  {
143712  try {
143713  result = (float)(arg1)->CollisionsAlpha();
143714  }
143715  catch(CStdErrorInfo oError)
143716  {
143717  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143718  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
143719  PyErr_SetString(PyExc_IndexError, strError.c_str());
143720  SWIG_fail;
143721  }
143722  catch(...)
143723  {
143724  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143725  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
143726  SWIG_fail;
143727  }
143728  }
143729  resultobj = SWIG_From_float(static_cast< float >(result));
143730  return resultobj;
143731 fail:
143732  return NULL;
143733 }
143734 
143735 
143736 SWIGINTERN PyObject *_wrap_MovableItem_CollisionsAlpha__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
143737  PyObject *resultobj = 0;
143739  float arg2 ;
143740  void *argp1 = 0 ;
143741  int res1 = 0 ;
143742  float val2 ;
143743  int ecode2 = 0 ;
143744  PyObject * obj0 = 0 ;
143745  PyObject * obj1 = 0 ;
143746 
143747  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_CollisionsAlpha",&obj0,&obj1)) SWIG_fail;
143748  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
143749  if (!SWIG_IsOK(res1)) {
143750  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_CollisionsAlpha" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
143751  }
143752  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
143753  ecode2 = SWIG_AsVal_float(obj1, &val2);
143754  if (!SWIG_IsOK(ecode2)) {
143755  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_CollisionsAlpha" "', argument " "2"" of type '" "float""'");
143756  }
143757  arg2 = static_cast< float >(val2);
143758  {
143759  try {
143760  (arg1)->CollisionsAlpha(arg2);
143761  }
143762  catch(CStdErrorInfo oError)
143763  {
143764  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143765  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
143766  PyErr_SetString(PyExc_IndexError, strError.c_str());
143767  SWIG_fail;
143768  }
143769  catch(...)
143770  {
143771  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143772  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
143773  SWIG_fail;
143774  }
143775  }
143776  resultobj = SWIG_Py_Void();
143777  return resultobj;
143778 fail:
143779  return NULL;
143780 }
143781 
143782 
143783 SWIGINTERN PyObject *_wrap_MovableItem_CollisionsAlpha(PyObject *self, PyObject *args) {
143784  int argc;
143785  PyObject *argv[3];
143786  int ii;
143787 
143788  if (!PyTuple_Check(args)) SWIG_fail;
143789  argc = args ? (int)PyObject_Length(args) : 0;
143790  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
143791  argv[ii] = PyTuple_GET_ITEM(args,ii);
143792  }
143793  if (argc == 1) {
143794  int _v;
143795  void *vptr = 0;
143796  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143797  _v = SWIG_CheckState(res);
143798  if (_v) {
143799  return _wrap_MovableItem_CollisionsAlpha__SWIG_0(self, args);
143800  }
143801  }
143802  if (argc == 2) {
143803  int _v;
143804  void *vptr = 0;
143805  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143806  _v = SWIG_CheckState(res);
143807  if (_v) {
143808  {
143809  int res = SWIG_AsVal_float(argv[1], NULL);
143810  _v = SWIG_CheckState(res);
143811  }
143812  if (_v) {
143813  return _wrap_MovableItem_CollisionsAlpha__SWIG_1(self, args);
143814  }
143815  }
143816  }
143817 
143818 fail:
143819  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_CollisionsAlpha'.\n"
143820  " Possible C/C++ prototypes are:\n"
143821  " AnimatSim::Environment::MovableItem::CollisionsAlpha()\n"
143822  " AnimatSim::Environment::MovableItem::CollisionsAlpha(float)\n");
143823  return 0;
143824 }
143825 
143826 
143827 SWIGINTERN PyObject *_wrap_MovableItem_JointsAlpha__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
143828  PyObject *resultobj = 0;
143830  void *argp1 = 0 ;
143831  int res1 = 0 ;
143832  PyObject * obj0 = 0 ;
143833  float result;
143834 
143835  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_JointsAlpha",&obj0)) SWIG_fail;
143836  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
143837  if (!SWIG_IsOK(res1)) {
143838  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_JointsAlpha" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
143839  }
143840  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
143841  {
143842  try {
143843  result = (float)(arg1)->JointsAlpha();
143844  }
143845  catch(CStdErrorInfo oError)
143846  {
143847  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143848  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
143849  PyErr_SetString(PyExc_IndexError, strError.c_str());
143850  SWIG_fail;
143851  }
143852  catch(...)
143853  {
143854  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143855  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
143856  SWIG_fail;
143857  }
143858  }
143859  resultobj = SWIG_From_float(static_cast< float >(result));
143860  return resultobj;
143861 fail:
143862  return NULL;
143863 }
143864 
143865 
143866 SWIGINTERN PyObject *_wrap_MovableItem_JointsAlpha__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
143867  PyObject *resultobj = 0;
143869  float arg2 ;
143870  void *argp1 = 0 ;
143871  int res1 = 0 ;
143872  float val2 ;
143873  int ecode2 = 0 ;
143874  PyObject * obj0 = 0 ;
143875  PyObject * obj1 = 0 ;
143876 
143877  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_JointsAlpha",&obj0,&obj1)) SWIG_fail;
143878  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
143879  if (!SWIG_IsOK(res1)) {
143880  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_JointsAlpha" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
143881  }
143882  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
143883  ecode2 = SWIG_AsVal_float(obj1, &val2);
143884  if (!SWIG_IsOK(ecode2)) {
143885  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_JointsAlpha" "', argument " "2"" of type '" "float""'");
143886  }
143887  arg2 = static_cast< float >(val2);
143888  {
143889  try {
143890  (arg1)->JointsAlpha(arg2);
143891  }
143892  catch(CStdErrorInfo oError)
143893  {
143894  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143895  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
143896  PyErr_SetString(PyExc_IndexError, strError.c_str());
143897  SWIG_fail;
143898  }
143899  catch(...)
143900  {
143901  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143902  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
143903  SWIG_fail;
143904  }
143905  }
143906  resultobj = SWIG_Py_Void();
143907  return resultobj;
143908 fail:
143909  return NULL;
143910 }
143911 
143912 
143913 SWIGINTERN PyObject *_wrap_MovableItem_JointsAlpha(PyObject *self, PyObject *args) {
143914  int argc;
143915  PyObject *argv[3];
143916  int ii;
143917 
143918  if (!PyTuple_Check(args)) SWIG_fail;
143919  argc = args ? (int)PyObject_Length(args) : 0;
143920  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
143921  argv[ii] = PyTuple_GET_ITEM(args,ii);
143922  }
143923  if (argc == 1) {
143924  int _v;
143925  void *vptr = 0;
143926  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143927  _v = SWIG_CheckState(res);
143928  if (_v) {
143929  return _wrap_MovableItem_JointsAlpha__SWIG_0(self, args);
143930  }
143931  }
143932  if (argc == 2) {
143933  int _v;
143934  void *vptr = 0;
143935  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
143936  _v = SWIG_CheckState(res);
143937  if (_v) {
143938  {
143939  int res = SWIG_AsVal_float(argv[1], NULL);
143940  _v = SWIG_CheckState(res);
143941  }
143942  if (_v) {
143943  return _wrap_MovableItem_JointsAlpha__SWIG_1(self, args);
143944  }
143945  }
143946  }
143947 
143948 fail:
143949  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_JointsAlpha'.\n"
143950  " Possible C/C++ prototypes are:\n"
143951  " AnimatSim::Environment::MovableItem::JointsAlpha()\n"
143952  " AnimatSim::Environment::MovableItem::JointsAlpha(float)\n");
143953  return 0;
143954 }
143955 
143956 
143957 SWIGINTERN PyObject *_wrap_MovableItem_ReceptiveFieldsAlpha__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
143958  PyObject *resultobj = 0;
143960  void *argp1 = 0 ;
143961  int res1 = 0 ;
143962  PyObject * obj0 = 0 ;
143963  float result;
143964 
143965  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_ReceptiveFieldsAlpha",&obj0)) SWIG_fail;
143966  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
143967  if (!SWIG_IsOK(res1)) {
143968  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_ReceptiveFieldsAlpha" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
143969  }
143970  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
143971  {
143972  try {
143973  result = (float)(arg1)->ReceptiveFieldsAlpha();
143974  }
143975  catch(CStdErrorInfo oError)
143976  {
143977  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143978  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
143979  PyErr_SetString(PyExc_IndexError, strError.c_str());
143980  SWIG_fail;
143981  }
143982  catch(...)
143983  {
143984  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
143985  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
143986  SWIG_fail;
143987  }
143988  }
143989  resultobj = SWIG_From_float(static_cast< float >(result));
143990  return resultobj;
143991 fail:
143992  return NULL;
143993 }
143994 
143995 
143996 SWIGINTERN PyObject *_wrap_MovableItem_ReceptiveFieldsAlpha__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
143997  PyObject *resultobj = 0;
143999  float arg2 ;
144000  void *argp1 = 0 ;
144001  int res1 = 0 ;
144002  float val2 ;
144003  int ecode2 = 0 ;
144004  PyObject * obj0 = 0 ;
144005  PyObject * obj1 = 0 ;
144006 
144007  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_ReceptiveFieldsAlpha",&obj0,&obj1)) SWIG_fail;
144008  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144009  if (!SWIG_IsOK(res1)) {
144010  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_ReceptiveFieldsAlpha" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144011  }
144012  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144013  ecode2 = SWIG_AsVal_float(obj1, &val2);
144014  if (!SWIG_IsOK(ecode2)) {
144015  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_ReceptiveFieldsAlpha" "', argument " "2"" of type '" "float""'");
144016  }
144017  arg2 = static_cast< float >(val2);
144018  {
144019  try {
144020  (arg1)->ReceptiveFieldsAlpha(arg2);
144021  }
144022  catch(CStdErrorInfo oError)
144023  {
144024  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144025  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144026  PyErr_SetString(PyExc_IndexError, strError.c_str());
144027  SWIG_fail;
144028  }
144029  catch(...)
144030  {
144031  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144032  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144033  SWIG_fail;
144034  }
144035  }
144036  resultobj = SWIG_Py_Void();
144037  return resultobj;
144038 fail:
144039  return NULL;
144040 }
144041 
144042 
144043 SWIGINTERN PyObject *_wrap_MovableItem_ReceptiveFieldsAlpha(PyObject *self, PyObject *args) {
144044  int argc;
144045  PyObject *argv[3];
144046  int ii;
144047 
144048  if (!PyTuple_Check(args)) SWIG_fail;
144049  argc = args ? (int)PyObject_Length(args) : 0;
144050  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
144051  argv[ii] = PyTuple_GET_ITEM(args,ii);
144052  }
144053  if (argc == 1) {
144054  int _v;
144055  void *vptr = 0;
144056  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
144057  _v = SWIG_CheckState(res);
144058  if (_v) {
144059  return _wrap_MovableItem_ReceptiveFieldsAlpha__SWIG_0(self, args);
144060  }
144061  }
144062  if (argc == 2) {
144063  int _v;
144064  void *vptr = 0;
144065  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
144066  _v = SWIG_CheckState(res);
144067  if (_v) {
144068  {
144069  int res = SWIG_AsVal_float(argv[1], NULL);
144070  _v = SWIG_CheckState(res);
144071  }
144072  if (_v) {
144073  return _wrap_MovableItem_ReceptiveFieldsAlpha__SWIG_1(self, args);
144074  }
144075  }
144076  }
144077 
144078 fail:
144079  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_ReceptiveFieldsAlpha'.\n"
144080  " Possible C/C++ prototypes are:\n"
144081  " AnimatSim::Environment::MovableItem::ReceptiveFieldsAlpha()\n"
144082  " AnimatSim::Environment::MovableItem::ReceptiveFieldsAlpha(float)\n");
144083  return 0;
144084 }
144085 
144086 
144087 SWIGINTERN PyObject *_wrap_MovableItem_SimulationAlpha__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144088  PyObject *resultobj = 0;
144090  void *argp1 = 0 ;
144091  int res1 = 0 ;
144092  PyObject * obj0 = 0 ;
144093  float result;
144094 
144095  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_SimulationAlpha",&obj0)) SWIG_fail;
144096  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144097  if (!SWIG_IsOK(res1)) {
144098  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_SimulationAlpha" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144099  }
144100  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144101  {
144102  try {
144103  result = (float)(arg1)->SimulationAlpha();
144104  }
144105  catch(CStdErrorInfo oError)
144106  {
144107  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144108  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144109  PyErr_SetString(PyExc_IndexError, strError.c_str());
144110  SWIG_fail;
144111  }
144112  catch(...)
144113  {
144114  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144115  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144116  SWIG_fail;
144117  }
144118  }
144119  resultobj = SWIG_From_float(static_cast< float >(result));
144120  return resultobj;
144121 fail:
144122  return NULL;
144123 }
144124 
144125 
144126 SWIGINTERN PyObject *_wrap_MovableItem_SimulationAlpha__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144127  PyObject *resultobj = 0;
144129  float arg2 ;
144130  void *argp1 = 0 ;
144131  int res1 = 0 ;
144132  float val2 ;
144133  int ecode2 = 0 ;
144134  PyObject * obj0 = 0 ;
144135  PyObject * obj1 = 0 ;
144136 
144137  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_SimulationAlpha",&obj0,&obj1)) SWIG_fail;
144138  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144139  if (!SWIG_IsOK(res1)) {
144140  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_SimulationAlpha" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144141  }
144142  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144143  ecode2 = SWIG_AsVal_float(obj1, &val2);
144144  if (!SWIG_IsOK(ecode2)) {
144145  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_SimulationAlpha" "', argument " "2"" of type '" "float""'");
144146  }
144147  arg2 = static_cast< float >(val2);
144148  {
144149  try {
144150  (arg1)->SimulationAlpha(arg2);
144151  }
144152  catch(CStdErrorInfo oError)
144153  {
144154  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144155  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144156  PyErr_SetString(PyExc_IndexError, strError.c_str());
144157  SWIG_fail;
144158  }
144159  catch(...)
144160  {
144161  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144162  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144163  SWIG_fail;
144164  }
144165  }
144166  resultobj = SWIG_Py_Void();
144167  return resultobj;
144168 fail:
144169  return NULL;
144170 }
144171 
144172 
144173 SWIGINTERN PyObject *_wrap_MovableItem_SimulationAlpha(PyObject *self, PyObject *args) {
144174  int argc;
144175  PyObject *argv[3];
144176  int ii;
144177 
144178  if (!PyTuple_Check(args)) SWIG_fail;
144179  argc = args ? (int)PyObject_Length(args) : 0;
144180  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
144181  argv[ii] = PyTuple_GET_ITEM(args,ii);
144182  }
144183  if (argc == 1) {
144184  int _v;
144185  void *vptr = 0;
144186  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
144187  _v = SWIG_CheckState(res);
144188  if (_v) {
144189  return _wrap_MovableItem_SimulationAlpha__SWIG_0(self, args);
144190  }
144191  }
144192  if (argc == 2) {
144193  int _v;
144194  void *vptr = 0;
144195  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
144196  _v = SWIG_CheckState(res);
144197  if (_v) {
144198  {
144199  int res = SWIG_AsVal_float(argv[1], NULL);
144200  _v = SWIG_CheckState(res);
144201  }
144202  if (_v) {
144203  return _wrap_MovableItem_SimulationAlpha__SWIG_1(self, args);
144204  }
144205  }
144206  }
144207 
144208 fail:
144209  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_SimulationAlpha'.\n"
144210  " Possible C/C++ prototypes are:\n"
144211  " AnimatSim::Environment::MovableItem::SimulationAlpha()\n"
144212  " AnimatSim::Environment::MovableItem::SimulationAlpha(float)\n");
144213  return 0;
144214 }
144215 
144216 
144217 SWIGINTERN PyObject *_wrap_MovableItem_Alpha__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144218  PyObject *resultobj = 0;
144220  void *argp1 = 0 ;
144221  int res1 = 0 ;
144222  PyObject * obj0 = 0 ;
144223  float result;
144224 
144225  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_Alpha",&obj0)) SWIG_fail;
144226  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144227  if (!SWIG_IsOK(res1)) {
144228  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Alpha" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144229  }
144230  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144231  {
144232  try {
144233  result = (float)(arg1)->Alpha();
144234  }
144235  catch(CStdErrorInfo oError)
144236  {
144237  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144238  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144239  PyErr_SetString(PyExc_IndexError, strError.c_str());
144240  SWIG_fail;
144241  }
144242  catch(...)
144243  {
144244  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144245  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144246  SWIG_fail;
144247  }
144248  }
144249  resultobj = SWIG_From_float(static_cast< float >(result));
144250  return resultobj;
144251 fail:
144252  return NULL;
144253 }
144254 
144255 
144256 SWIGINTERN PyObject *_wrap_MovableItem_Alpha__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144257  PyObject *resultobj = 0;
144259  float arg2 ;
144260  void *argp1 = 0 ;
144261  int res1 = 0 ;
144262  float val2 ;
144263  int ecode2 = 0 ;
144264  PyObject * obj0 = 0 ;
144265  PyObject * obj1 = 0 ;
144266 
144267  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Alpha",&obj0,&obj1)) SWIG_fail;
144268  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144269  if (!SWIG_IsOK(res1)) {
144270  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Alpha" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144271  }
144272  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144273  ecode2 = SWIG_AsVal_float(obj1, &val2);
144274  if (!SWIG_IsOK(ecode2)) {
144275  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_Alpha" "', argument " "2"" of type '" "float""'");
144276  }
144277  arg2 = static_cast< float >(val2);
144278  {
144279  try {
144280  (arg1)->Alpha(arg2);
144281  }
144282  catch(CStdErrorInfo oError)
144283  {
144284  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144285  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144286  PyErr_SetString(PyExc_IndexError, strError.c_str());
144287  SWIG_fail;
144288  }
144289  catch(...)
144290  {
144291  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144292  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144293  SWIG_fail;
144294  }
144295  }
144296  resultobj = SWIG_Py_Void();
144297  return resultobj;
144298 fail:
144299  return NULL;
144300 }
144301 
144302 
144303 SWIGINTERN PyObject *_wrap_MovableItem_Alpha(PyObject *self, PyObject *args) {
144304  int argc;
144305  PyObject *argv[3];
144306  int ii;
144307 
144308  if (!PyTuple_Check(args)) SWIG_fail;
144309  argc = args ? (int)PyObject_Length(args) : 0;
144310  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
144311  argv[ii] = PyTuple_GET_ITEM(args,ii);
144312  }
144313  if (argc == 1) {
144314  int _v;
144315  void *vptr = 0;
144316  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
144317  _v = SWIG_CheckState(res);
144318  if (_v) {
144319  return _wrap_MovableItem_Alpha__SWIG_0(self, args);
144320  }
144321  }
144322  if (argc == 2) {
144323  int _v;
144324  void *vptr = 0;
144325  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
144326  _v = SWIG_CheckState(res);
144327  if (_v) {
144328  {
144329  int res = SWIG_AsVal_float(argv[1], NULL);
144330  _v = SWIG_CheckState(res);
144331  }
144332  if (_v) {
144333  return _wrap_MovableItem_Alpha__SWIG_1(self, args);
144334  }
144335  }
144336  }
144337 
144338 fail:
144339  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_Alpha'.\n"
144340  " Possible C/C++ prototypes are:\n"
144341  " AnimatSim::Environment::MovableItem::Alpha()\n"
144342  " AnimatSim::Environment::MovableItem::Alpha(float)\n");
144343  return 0;
144344 }
144345 
144346 
144347 SWIGINTERN PyObject *_wrap_MovableItem_Ambient__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144348  PyObject *resultobj = 0;
144350  void *argp1 = 0 ;
144351  int res1 = 0 ;
144352  PyObject * obj0 = 0 ;
144353  CStdColor *result = 0 ;
144354 
144355  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_Ambient",&obj0)) SWIG_fail;
144356  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144357  if (!SWIG_IsOK(res1)) {
144358  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Ambient" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144359  }
144360  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144361  {
144362  try {
144363  result = (CStdColor *)(arg1)->Ambient();
144364  }
144365  catch(CStdErrorInfo oError)
144366  {
144367  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144368  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144369  PyErr_SetString(PyExc_IndexError, strError.c_str());
144370  SWIG_fail;
144371  }
144372  catch(...)
144373  {
144374  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144375  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144376  SWIG_fail;
144377  }
144378  }
144379  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
144380  return resultobj;
144381 fail:
144382  return NULL;
144383 }
144384 
144385 
144386 SWIGINTERN PyObject *_wrap_MovableItem_Ambient__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144387  PyObject *resultobj = 0;
144389  CStdColor *arg2 = 0 ;
144390  void *argp1 = 0 ;
144391  int res1 = 0 ;
144392  void *argp2 = 0 ;
144393  int res2 = 0 ;
144394  PyObject * obj0 = 0 ;
144395  PyObject * obj1 = 0 ;
144396 
144397  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Ambient",&obj0,&obj1)) SWIG_fail;
144398  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144399  if (!SWIG_IsOK(res1)) {
144400  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Ambient" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144401  }
144402  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144403  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdColor, 0 );
144404  if (!SWIG_IsOK(res2)) {
144405  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Ambient" "', argument " "2"" of type '" "CStdColor &""'");
144406  }
144407  if (!argp2) {
144408  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_Ambient" "', argument " "2"" of type '" "CStdColor &""'");
144409  }
144410  arg2 = reinterpret_cast< CStdColor * >(argp2);
144411  {
144412  try {
144413  (arg1)->Ambient(*arg2);
144414  }
144415  catch(CStdErrorInfo oError)
144416  {
144417  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144418  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144419  PyErr_SetString(PyExc_IndexError, strError.c_str());
144420  SWIG_fail;
144421  }
144422  catch(...)
144423  {
144424  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144425  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144426  SWIG_fail;
144427  }
144428  }
144429  resultobj = SWIG_Py_Void();
144430  return resultobj;
144431 fail:
144432  return NULL;
144433 }
144434 
144435 
144436 SWIGINTERN PyObject *_wrap_MovableItem_Ambient__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144437  PyObject *resultobj = 0;
144439  float *arg2 = (float *) 0 ;
144440  void *argp1 = 0 ;
144441  int res1 = 0 ;
144442  void *argp2 = 0 ;
144443  int res2 = 0 ;
144444  PyObject * obj0 = 0 ;
144445  PyObject * obj1 = 0 ;
144446 
144447  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Ambient",&obj0,&obj1)) SWIG_fail;
144448  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144449  if (!SWIG_IsOK(res1)) {
144450  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Ambient" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144451  }
144452  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144453  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 );
144454  if (!SWIG_IsOK(res2)) {
144455  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Ambient" "', argument " "2"" of type '" "float *""'");
144456  }
144457  arg2 = reinterpret_cast< float * >(argp2);
144458  {
144459  try {
144460  (arg1)->Ambient(arg2);
144461  }
144462  catch(CStdErrorInfo oError)
144463  {
144464  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144465  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144466  PyErr_SetString(PyExc_IndexError, strError.c_str());
144467  SWIG_fail;
144468  }
144469  catch(...)
144470  {
144471  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144472  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144473  SWIG_fail;
144474  }
144475  }
144476  resultobj = SWIG_Py_Void();
144477  return resultobj;
144478 fail:
144479  return NULL;
144480 }
144481 
144482 
144483 SWIGINTERN PyObject *_wrap_MovableItem_Ambient__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144484  PyObject *resultobj = 0;
144486  std::string arg2 ;
144487  void *argp1 = 0 ;
144488  int res1 = 0 ;
144489  PyObject * obj0 = 0 ;
144490  PyObject * obj1 = 0 ;
144491 
144492  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Ambient",&obj0,&obj1)) SWIG_fail;
144493  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144494  if (!SWIG_IsOK(res1)) {
144495  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Ambient" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144496  }
144497  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144498  {
144499  std::string *ptr = (std::string *)0;
144500  int res = SWIG_AsPtr_std_string(obj1, &ptr);
144501  if (!SWIG_IsOK(res) || !ptr) {
144502  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MovableItem_Ambient" "', argument " "2"" of type '" "std::string""'");
144503  }
144504  arg2 = *ptr;
144505  if (SWIG_IsNewObj(res)) delete ptr;
144506  }
144507  {
144508  try {
144509  (arg1)->Ambient(arg2);
144510  }
144511  catch(CStdErrorInfo oError)
144512  {
144513  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144514  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144515  PyErr_SetString(PyExc_IndexError, strError.c_str());
144516  SWIG_fail;
144517  }
144518  catch(...)
144519  {
144520  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144521  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144522  SWIG_fail;
144523  }
144524  }
144525  resultobj = SWIG_Py_Void();
144526  return resultobj;
144527 fail:
144528  return NULL;
144529 }
144530 
144531 
144532 SWIGINTERN PyObject *_wrap_MovableItem_Ambient(PyObject *self, PyObject *args) {
144533  int argc;
144534  PyObject *argv[3];
144535  int ii;
144536 
144537  if (!PyTuple_Check(args)) SWIG_fail;
144538  argc = args ? (int)PyObject_Length(args) : 0;
144539  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
144540  argv[ii] = PyTuple_GET_ITEM(args,ii);
144541  }
144542  if (argc == 1) {
144543  int _v;
144544  void *vptr = 0;
144545  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
144546  _v = SWIG_CheckState(res);
144547  if (_v) {
144548  return _wrap_MovableItem_Ambient__SWIG_0(self, args);
144549  }
144550  }
144551  if (argc == 2) {
144552  int _v;
144553  void *vptr = 0;
144554  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
144555  _v = SWIG_CheckState(res);
144556  if (_v) {
144557  void *vptr = 0;
144558  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
144559  _v = SWIG_CheckState(res);
144560  if (_v) {
144561  return _wrap_MovableItem_Ambient__SWIG_1(self, args);
144562  }
144563  }
144564  }
144565  if (argc == 2) {
144566  int _v;
144567  void *vptr = 0;
144568  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
144569  _v = SWIG_CheckState(res);
144570  if (_v) {
144571  void *vptr = 0;
144572  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0);
144573  _v = SWIG_CheckState(res);
144574  if (_v) {
144575  return _wrap_MovableItem_Ambient__SWIG_2(self, args);
144576  }
144577  }
144578  }
144579  if (argc == 2) {
144580  int _v;
144581  void *vptr = 0;
144582  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
144583  _v = SWIG_CheckState(res);
144584  if (_v) {
144585  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
144586  _v = SWIG_CheckState(res);
144587  if (_v) {
144588  return _wrap_MovableItem_Ambient__SWIG_3(self, args);
144589  }
144590  }
144591  }
144592 
144593 fail:
144594  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_Ambient'.\n"
144595  " Possible C/C++ prototypes are:\n"
144596  " AnimatSim::Environment::MovableItem::Ambient()\n"
144597  " AnimatSim::Environment::MovableItem::Ambient(CStdColor &)\n"
144598  " AnimatSim::Environment::MovableItem::Ambient(float *)\n"
144599  " AnimatSim::Environment::MovableItem::Ambient(std::string)\n");
144600  return 0;
144601 }
144602 
144603 
144604 SWIGINTERN PyObject *_wrap_MovableItem_Diffuse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144605  PyObject *resultobj = 0;
144607  void *argp1 = 0 ;
144608  int res1 = 0 ;
144609  PyObject * obj0 = 0 ;
144610  CStdColor *result = 0 ;
144611 
144612  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_Diffuse",&obj0)) SWIG_fail;
144613  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144614  if (!SWIG_IsOK(res1)) {
144615  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Diffuse" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144616  }
144617  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144618  {
144619  try {
144620  result = (CStdColor *)(arg1)->Diffuse();
144621  }
144622  catch(CStdErrorInfo oError)
144623  {
144624  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144625  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144626  PyErr_SetString(PyExc_IndexError, strError.c_str());
144627  SWIG_fail;
144628  }
144629  catch(...)
144630  {
144631  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144632  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144633  SWIG_fail;
144634  }
144635  }
144636  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
144637  return resultobj;
144638 fail:
144639  return NULL;
144640 }
144641 
144642 
144643 SWIGINTERN PyObject *_wrap_MovableItem_Diffuse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144644  PyObject *resultobj = 0;
144646  CStdColor *arg2 = 0 ;
144647  void *argp1 = 0 ;
144648  int res1 = 0 ;
144649  void *argp2 = 0 ;
144650  int res2 = 0 ;
144651  PyObject * obj0 = 0 ;
144652  PyObject * obj1 = 0 ;
144653 
144654  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Diffuse",&obj0,&obj1)) SWIG_fail;
144655  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144656  if (!SWIG_IsOK(res1)) {
144657  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Diffuse" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144658  }
144659  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144660  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdColor, 0 );
144661  if (!SWIG_IsOK(res2)) {
144662  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Diffuse" "', argument " "2"" of type '" "CStdColor &""'");
144663  }
144664  if (!argp2) {
144665  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_Diffuse" "', argument " "2"" of type '" "CStdColor &""'");
144666  }
144667  arg2 = reinterpret_cast< CStdColor * >(argp2);
144668  {
144669  try {
144670  (arg1)->Diffuse(*arg2);
144671  }
144672  catch(CStdErrorInfo oError)
144673  {
144674  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144675  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144676  PyErr_SetString(PyExc_IndexError, strError.c_str());
144677  SWIG_fail;
144678  }
144679  catch(...)
144680  {
144681  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144682  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144683  SWIG_fail;
144684  }
144685  }
144686  resultobj = SWIG_Py_Void();
144687  return resultobj;
144688 fail:
144689  return NULL;
144690 }
144691 
144692 
144693 SWIGINTERN PyObject *_wrap_MovableItem_Diffuse__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144694  PyObject *resultobj = 0;
144696  float *arg2 = (float *) 0 ;
144697  void *argp1 = 0 ;
144698  int res1 = 0 ;
144699  void *argp2 = 0 ;
144700  int res2 = 0 ;
144701  PyObject * obj0 = 0 ;
144702  PyObject * obj1 = 0 ;
144703 
144704  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Diffuse",&obj0,&obj1)) SWIG_fail;
144705  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144706  if (!SWIG_IsOK(res1)) {
144707  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Diffuse" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144708  }
144709  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144710  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 );
144711  if (!SWIG_IsOK(res2)) {
144712  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Diffuse" "', argument " "2"" of type '" "float *""'");
144713  }
144714  arg2 = reinterpret_cast< float * >(argp2);
144715  {
144716  try {
144717  (arg1)->Diffuse(arg2);
144718  }
144719  catch(CStdErrorInfo oError)
144720  {
144721  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144722  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144723  PyErr_SetString(PyExc_IndexError, strError.c_str());
144724  SWIG_fail;
144725  }
144726  catch(...)
144727  {
144728  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144729  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144730  SWIG_fail;
144731  }
144732  }
144733  resultobj = SWIG_Py_Void();
144734  return resultobj;
144735 fail:
144736  return NULL;
144737 }
144738 
144739 
144740 SWIGINTERN PyObject *_wrap_MovableItem_Diffuse__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144741  PyObject *resultobj = 0;
144743  std::string arg2 ;
144744  void *argp1 = 0 ;
144745  int res1 = 0 ;
144746  PyObject * obj0 = 0 ;
144747  PyObject * obj1 = 0 ;
144748 
144749  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Diffuse",&obj0,&obj1)) SWIG_fail;
144750  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144751  if (!SWIG_IsOK(res1)) {
144752  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Diffuse" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144753  }
144754  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144755  {
144756  std::string *ptr = (std::string *)0;
144757  int res = SWIG_AsPtr_std_string(obj1, &ptr);
144758  if (!SWIG_IsOK(res) || !ptr) {
144759  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MovableItem_Diffuse" "', argument " "2"" of type '" "std::string""'");
144760  }
144761  arg2 = *ptr;
144762  if (SWIG_IsNewObj(res)) delete ptr;
144763  }
144764  {
144765  try {
144766  (arg1)->Diffuse(arg2);
144767  }
144768  catch(CStdErrorInfo oError)
144769  {
144770  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144771  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144772  PyErr_SetString(PyExc_IndexError, strError.c_str());
144773  SWIG_fail;
144774  }
144775  catch(...)
144776  {
144777  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144778  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144779  SWIG_fail;
144780  }
144781  }
144782  resultobj = SWIG_Py_Void();
144783  return resultobj;
144784 fail:
144785  return NULL;
144786 }
144787 
144788 
144789 SWIGINTERN PyObject *_wrap_MovableItem_Diffuse(PyObject *self, PyObject *args) {
144790  int argc;
144791  PyObject *argv[3];
144792  int ii;
144793 
144794  if (!PyTuple_Check(args)) SWIG_fail;
144795  argc = args ? (int)PyObject_Length(args) : 0;
144796  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
144797  argv[ii] = PyTuple_GET_ITEM(args,ii);
144798  }
144799  if (argc == 1) {
144800  int _v;
144801  void *vptr = 0;
144802  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
144803  _v = SWIG_CheckState(res);
144804  if (_v) {
144805  return _wrap_MovableItem_Diffuse__SWIG_0(self, args);
144806  }
144807  }
144808  if (argc == 2) {
144809  int _v;
144810  void *vptr = 0;
144811  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
144812  _v = SWIG_CheckState(res);
144813  if (_v) {
144814  void *vptr = 0;
144815  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
144816  _v = SWIG_CheckState(res);
144817  if (_v) {
144818  return _wrap_MovableItem_Diffuse__SWIG_1(self, args);
144819  }
144820  }
144821  }
144822  if (argc == 2) {
144823  int _v;
144824  void *vptr = 0;
144825  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
144826  _v = SWIG_CheckState(res);
144827  if (_v) {
144828  void *vptr = 0;
144829  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0);
144830  _v = SWIG_CheckState(res);
144831  if (_v) {
144832  return _wrap_MovableItem_Diffuse__SWIG_2(self, args);
144833  }
144834  }
144835  }
144836  if (argc == 2) {
144837  int _v;
144838  void *vptr = 0;
144839  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
144840  _v = SWIG_CheckState(res);
144841  if (_v) {
144842  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
144843  _v = SWIG_CheckState(res);
144844  if (_v) {
144845  return _wrap_MovableItem_Diffuse__SWIG_3(self, args);
144846  }
144847  }
144848  }
144849 
144850 fail:
144851  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_Diffuse'.\n"
144852  " Possible C/C++ prototypes are:\n"
144853  " AnimatSim::Environment::MovableItem::Diffuse()\n"
144854  " AnimatSim::Environment::MovableItem::Diffuse(CStdColor &)\n"
144855  " AnimatSim::Environment::MovableItem::Diffuse(float *)\n"
144856  " AnimatSim::Environment::MovableItem::Diffuse(std::string)\n");
144857  return 0;
144858 }
144859 
144860 
144861 SWIGINTERN PyObject *_wrap_MovableItem_Specular__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144862  PyObject *resultobj = 0;
144864  void *argp1 = 0 ;
144865  int res1 = 0 ;
144866  PyObject * obj0 = 0 ;
144867  CStdColor *result = 0 ;
144868 
144869  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_Specular",&obj0)) SWIG_fail;
144870  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144871  if (!SWIG_IsOK(res1)) {
144872  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Specular" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144873  }
144874  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144875  {
144876  try {
144877  result = (CStdColor *)(arg1)->Specular();
144878  }
144879  catch(CStdErrorInfo oError)
144880  {
144881  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144882  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144883  PyErr_SetString(PyExc_IndexError, strError.c_str());
144884  SWIG_fail;
144885  }
144886  catch(...)
144887  {
144888  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144889  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144890  SWIG_fail;
144891  }
144892  }
144893  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
144894  return resultobj;
144895 fail:
144896  return NULL;
144897 }
144898 
144899 
144900 SWIGINTERN PyObject *_wrap_MovableItem_Specular__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144901  PyObject *resultobj = 0;
144903  CStdColor *arg2 = 0 ;
144904  void *argp1 = 0 ;
144905  int res1 = 0 ;
144906  void *argp2 = 0 ;
144907  int res2 = 0 ;
144908  PyObject * obj0 = 0 ;
144909  PyObject * obj1 = 0 ;
144910 
144911  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Specular",&obj0,&obj1)) SWIG_fail;
144912  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144913  if (!SWIG_IsOK(res1)) {
144914  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Specular" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144915  }
144916  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144917  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdColor, 0 );
144918  if (!SWIG_IsOK(res2)) {
144919  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Specular" "', argument " "2"" of type '" "CStdColor &""'");
144920  }
144921  if (!argp2) {
144922  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_Specular" "', argument " "2"" of type '" "CStdColor &""'");
144923  }
144924  arg2 = reinterpret_cast< CStdColor * >(argp2);
144925  {
144926  try {
144927  (arg1)->Specular(*arg2);
144928  }
144929  catch(CStdErrorInfo oError)
144930  {
144931  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144932  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144933  PyErr_SetString(PyExc_IndexError, strError.c_str());
144934  SWIG_fail;
144935  }
144936  catch(...)
144937  {
144938  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144939  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144940  SWIG_fail;
144941  }
144942  }
144943  resultobj = SWIG_Py_Void();
144944  return resultobj;
144945 fail:
144946  return NULL;
144947 }
144948 
144949 
144950 SWIGINTERN PyObject *_wrap_MovableItem_Specular__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144951  PyObject *resultobj = 0;
144953  float *arg2 = (float *) 0 ;
144954  void *argp1 = 0 ;
144955  int res1 = 0 ;
144956  void *argp2 = 0 ;
144957  int res2 = 0 ;
144958  PyObject * obj0 = 0 ;
144959  PyObject * obj1 = 0 ;
144960 
144961  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Specular",&obj0,&obj1)) SWIG_fail;
144962  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
144963  if (!SWIG_IsOK(res1)) {
144964  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Specular" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
144965  }
144966  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
144967  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 );
144968  if (!SWIG_IsOK(res2)) {
144969  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Specular" "', argument " "2"" of type '" "float *""'");
144970  }
144971  arg2 = reinterpret_cast< float * >(argp2);
144972  {
144973  try {
144974  (arg1)->Specular(arg2);
144975  }
144976  catch(CStdErrorInfo oError)
144977  {
144978  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144979  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
144980  PyErr_SetString(PyExc_IndexError, strError.c_str());
144981  SWIG_fail;
144982  }
144983  catch(...)
144984  {
144985  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
144986  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
144987  SWIG_fail;
144988  }
144989  }
144990  resultobj = SWIG_Py_Void();
144991  return resultobj;
144992 fail:
144993  return NULL;
144994 }
144995 
144996 
144997 SWIGINTERN PyObject *_wrap_MovableItem_Specular__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
144998  PyObject *resultobj = 0;
145000  std::string arg2 ;
145001  void *argp1 = 0 ;
145002  int res1 = 0 ;
145003  PyObject * obj0 = 0 ;
145004  PyObject * obj1 = 0 ;
145005 
145006  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Specular",&obj0,&obj1)) SWIG_fail;
145007  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
145008  if (!SWIG_IsOK(res1)) {
145009  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Specular" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
145010  }
145011  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
145012  {
145013  std::string *ptr = (std::string *)0;
145014  int res = SWIG_AsPtr_std_string(obj1, &ptr);
145015  if (!SWIG_IsOK(res) || !ptr) {
145016  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MovableItem_Specular" "', argument " "2"" of type '" "std::string""'");
145017  }
145018  arg2 = *ptr;
145019  if (SWIG_IsNewObj(res)) delete ptr;
145020  }
145021  {
145022  try {
145023  (arg1)->Specular(arg2);
145024  }
145025  catch(CStdErrorInfo oError)
145026  {
145027  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145028  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
145029  PyErr_SetString(PyExc_IndexError, strError.c_str());
145030  SWIG_fail;
145031  }
145032  catch(...)
145033  {
145034  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145035  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
145036  SWIG_fail;
145037  }
145038  }
145039  resultobj = SWIG_Py_Void();
145040  return resultobj;
145041 fail:
145042  return NULL;
145043 }
145044 
145045 
145046 SWIGINTERN PyObject *_wrap_MovableItem_Specular(PyObject *self, PyObject *args) {
145047  int argc;
145048  PyObject *argv[3];
145049  int ii;
145050 
145051  if (!PyTuple_Check(args)) SWIG_fail;
145052  argc = args ? (int)PyObject_Length(args) : 0;
145053  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
145054  argv[ii] = PyTuple_GET_ITEM(args,ii);
145055  }
145056  if (argc == 1) {
145057  int _v;
145058  void *vptr = 0;
145059  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
145060  _v = SWIG_CheckState(res);
145061  if (_v) {
145062  return _wrap_MovableItem_Specular__SWIG_0(self, args);
145063  }
145064  }
145065  if (argc == 2) {
145066  int _v;
145067  void *vptr = 0;
145068  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
145069  _v = SWIG_CheckState(res);
145070  if (_v) {
145071  void *vptr = 0;
145072  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
145073  _v = SWIG_CheckState(res);
145074  if (_v) {
145075  return _wrap_MovableItem_Specular__SWIG_1(self, args);
145076  }
145077  }
145078  }
145079  if (argc == 2) {
145080  int _v;
145081  void *vptr = 0;
145082  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
145083  _v = SWIG_CheckState(res);
145084  if (_v) {
145085  void *vptr = 0;
145086  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0);
145087  _v = SWIG_CheckState(res);
145088  if (_v) {
145089  return _wrap_MovableItem_Specular__SWIG_2(self, args);
145090  }
145091  }
145092  }
145093  if (argc == 2) {
145094  int _v;
145095  void *vptr = 0;
145096  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
145097  _v = SWIG_CheckState(res);
145098  if (_v) {
145099  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
145100  _v = SWIG_CheckState(res);
145101  if (_v) {
145102  return _wrap_MovableItem_Specular__SWIG_3(self, args);
145103  }
145104  }
145105  }
145106 
145107 fail:
145108  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_Specular'.\n"
145109  " Possible C/C++ prototypes are:\n"
145110  " AnimatSim::Environment::MovableItem::Specular()\n"
145111  " AnimatSim::Environment::MovableItem::Specular(CStdColor &)\n"
145112  " AnimatSim::Environment::MovableItem::Specular(float *)\n"
145113  " AnimatSim::Environment::MovableItem::Specular(std::string)\n");
145114  return 0;
145115 }
145116 
145117 
145118 SWIGINTERN PyObject *_wrap_MovableItem_Shininess__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
145119  PyObject *resultobj = 0;
145121  void *argp1 = 0 ;
145122  int res1 = 0 ;
145123  PyObject * obj0 = 0 ;
145124  float result;
145125 
145126  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_Shininess",&obj0)) SWIG_fail;
145127  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
145128  if (!SWIG_IsOK(res1)) {
145129  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Shininess" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
145130  }
145131  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
145132  {
145133  try {
145134  result = (float)(arg1)->Shininess();
145135  }
145136  catch(CStdErrorInfo oError)
145137  {
145138  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145139  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
145140  PyErr_SetString(PyExc_IndexError, strError.c_str());
145141  SWIG_fail;
145142  }
145143  catch(...)
145144  {
145145  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145146  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
145147  SWIG_fail;
145148  }
145149  }
145150  resultobj = SWIG_From_float(static_cast< float >(result));
145151  return resultobj;
145152 fail:
145153  return NULL;
145154 }
145155 
145156 
145157 SWIGINTERN PyObject *_wrap_MovableItem_Shininess__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
145158  PyObject *resultobj = 0;
145160  float arg2 ;
145161  void *argp1 = 0 ;
145162  int res1 = 0 ;
145163  float val2 ;
145164  int ecode2 = 0 ;
145165  PyObject * obj0 = 0 ;
145166  PyObject * obj1 = 0 ;
145167 
145168  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Shininess",&obj0,&obj1)) SWIG_fail;
145169  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
145170  if (!SWIG_IsOK(res1)) {
145171  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Shininess" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
145172  }
145173  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
145174  ecode2 = SWIG_AsVal_float(obj1, &val2);
145175  if (!SWIG_IsOK(ecode2)) {
145176  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_Shininess" "', argument " "2"" of type '" "float""'");
145177  }
145178  arg2 = static_cast< float >(val2);
145179  {
145180  try {
145181  (arg1)->Shininess(arg2);
145182  }
145183  catch(CStdErrorInfo oError)
145184  {
145185  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145186  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
145187  PyErr_SetString(PyExc_IndexError, strError.c_str());
145188  SWIG_fail;
145189  }
145190  catch(...)
145191  {
145192  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145193  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
145194  SWIG_fail;
145195  }
145196  }
145197  resultobj = SWIG_Py_Void();
145198  return resultobj;
145199 fail:
145200  return NULL;
145201 }
145202 
145203 
145204 SWIGINTERN PyObject *_wrap_MovableItem_Shininess(PyObject *self, PyObject *args) {
145205  int argc;
145206  PyObject *argv[3];
145207  int ii;
145208 
145209  if (!PyTuple_Check(args)) SWIG_fail;
145210  argc = args ? (int)PyObject_Length(args) : 0;
145211  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
145212  argv[ii] = PyTuple_GET_ITEM(args,ii);
145213  }
145214  if (argc == 1) {
145215  int _v;
145216  void *vptr = 0;
145217  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
145218  _v = SWIG_CheckState(res);
145219  if (_v) {
145220  return _wrap_MovableItem_Shininess__SWIG_0(self, args);
145221  }
145222  }
145223  if (argc == 2) {
145224  int _v;
145225  void *vptr = 0;
145226  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
145227  _v = SWIG_CheckState(res);
145228  if (_v) {
145229  {
145230  int res = SWIG_AsVal_float(argv[1], NULL);
145231  _v = SWIG_CheckState(res);
145232  }
145233  if (_v) {
145234  return _wrap_MovableItem_Shininess__SWIG_1(self, args);
145235  }
145236  }
145237  }
145238 
145239 fail:
145240  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_Shininess'.\n"
145241  " Possible C/C++ prototypes are:\n"
145242  " AnimatSim::Environment::MovableItem::Shininess()\n"
145243  " AnimatSim::Environment::MovableItem::Shininess(float)\n");
145244  return 0;
145245 }
145246 
145247 
145248 SWIGINTERN PyObject *_wrap_MovableItem_Texture__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
145249  PyObject *resultobj = 0;
145251  void *argp1 = 0 ;
145252  int res1 = 0 ;
145253  PyObject * obj0 = 0 ;
145254  std::string result;
145255 
145256  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_Texture",&obj0)) SWIG_fail;
145257  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
145258  if (!SWIG_IsOK(res1)) {
145259  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Texture" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
145260  }
145261  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
145262  {
145263  try {
145264  result = (arg1)->Texture();
145265  }
145266  catch(CStdErrorInfo oError)
145267  {
145268  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145269  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
145270  PyErr_SetString(PyExc_IndexError, strError.c_str());
145271  SWIG_fail;
145272  }
145273  catch(...)
145274  {
145275  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145276  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
145277  SWIG_fail;
145278  }
145279  }
145280  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
145281  return resultobj;
145282 fail:
145283  return NULL;
145284 }
145285 
145286 
145287 SWIGINTERN PyObject *_wrap_MovableItem_Texture__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
145288  PyObject *resultobj = 0;
145290  std::string arg2 ;
145291  void *argp1 = 0 ;
145292  int res1 = 0 ;
145293  PyObject * obj0 = 0 ;
145294  PyObject * obj1 = 0 ;
145295 
145296  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Texture",&obj0,&obj1)) SWIG_fail;
145297  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
145298  if (!SWIG_IsOK(res1)) {
145299  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Texture" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
145300  }
145301  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
145302  {
145303  std::string *ptr = (std::string *)0;
145304  int res = SWIG_AsPtr_std_string(obj1, &ptr);
145305  if (!SWIG_IsOK(res) || !ptr) {
145306  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MovableItem_Texture" "', argument " "2"" of type '" "std::string""'");
145307  }
145308  arg2 = *ptr;
145309  if (SWIG_IsNewObj(res)) delete ptr;
145310  }
145311  {
145312  try {
145313  (arg1)->Texture(arg2);
145314  }
145315  catch(CStdErrorInfo oError)
145316  {
145317  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145318  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
145319  PyErr_SetString(PyExc_IndexError, strError.c_str());
145320  SWIG_fail;
145321  }
145322  catch(...)
145323  {
145324  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145325  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
145326  SWIG_fail;
145327  }
145328  }
145329  resultobj = SWIG_Py_Void();
145330  return resultobj;
145331 fail:
145332  return NULL;
145333 }
145334 
145335 
145336 SWIGINTERN PyObject *_wrap_MovableItem_Texture(PyObject *self, PyObject *args) {
145337  int argc;
145338  PyObject *argv[3];
145339  int ii;
145340 
145341  if (!PyTuple_Check(args)) SWIG_fail;
145342  argc = args ? (int)PyObject_Length(args) : 0;
145343  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
145344  argv[ii] = PyTuple_GET_ITEM(args,ii);
145345  }
145346  if (argc == 1) {
145347  int _v;
145348  void *vptr = 0;
145349  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
145350  _v = SWIG_CheckState(res);
145351  if (_v) {
145352  return _wrap_MovableItem_Texture__SWIG_0(self, args);
145353  }
145354  }
145355  if (argc == 2) {
145356  int _v;
145357  void *vptr = 0;
145358  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
145359  _v = SWIG_CheckState(res);
145360  if (_v) {
145361  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
145362  _v = SWIG_CheckState(res);
145363  if (_v) {
145364  return _wrap_MovableItem_Texture__SWIG_1(self, args);
145365  }
145366  }
145367  }
145368 
145369 fail:
145370  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_Texture'.\n"
145371  " Possible C/C++ prototypes are:\n"
145372  " AnimatSim::Environment::MovableItem::Texture()\n"
145373  " AnimatSim::Environment::MovableItem::Texture(std::string)\n");
145374  return 0;
145375 }
145376 
145377 
145378 SWIGINTERN PyObject *_wrap_MovableItem_SelectedVertex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
145379  PyObject *resultobj = 0;
145381  void *argp1 = 0 ;
145382  int res1 = 0 ;
145383  PyObject * obj0 = 0 ;
145384  CStdPoint< float > result;
145385 
145386  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_SelectedVertex",&obj0)) SWIG_fail;
145387  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
145388  if (!SWIG_IsOK(res1)) {
145389  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_SelectedVertex" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
145390  }
145391  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
145392  {
145393  try {
145394  result = (arg1)->SelectedVertex();
145395  }
145396  catch(CStdErrorInfo oError)
145397  {
145398  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145399  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
145400  PyErr_SetString(PyExc_IndexError, strError.c_str());
145401  SWIG_fail;
145402  }
145403  catch(...)
145404  {
145405  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145406  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
145407  SWIG_fail;
145408  }
145409  }
145410  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
145411  return resultobj;
145412 fail:
145413  return NULL;
145414 }
145415 
145416 
145417 SWIGINTERN PyObject *_wrap_MovableItem_SelectedVertex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
145418  PyObject *resultobj = 0;
145420  CStdPoint< float > *arg2 = 0 ;
145421  bool arg3 ;
145422  bool arg4 ;
145423  void *argp1 = 0 ;
145424  int res1 = 0 ;
145425  void *argp2 = 0 ;
145426  int res2 = 0 ;
145427  bool val3 ;
145428  int ecode3 = 0 ;
145429  bool val4 ;
145430  int ecode4 = 0 ;
145431  PyObject * obj0 = 0 ;
145432  PyObject * obj1 = 0 ;
145433  PyObject * obj2 = 0 ;
145434  PyObject * obj3 = 0 ;
145435 
145436  if (!PyArg_ParseTuple(args,(char *)"OOOO:MovableItem_SelectedVertex",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
145437  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
145438  if (!SWIG_IsOK(res1)) {
145439  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_SelectedVertex" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
145440  }
145441  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
145442  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
145443  if (!SWIG_IsOK(res2)) {
145444  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_SelectedVertex" "', argument " "2"" of type '" "CStdPoint< float > &""'");
145445  }
145446  if (!argp2) {
145447  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_SelectedVertex" "', argument " "2"" of type '" "CStdPoint< float > &""'");
145448  }
145449  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
145450  ecode3 = SWIG_AsVal_bool(obj2, &val3);
145451  if (!SWIG_IsOK(ecode3)) {
145452  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_SelectedVertex" "', argument " "3"" of type '" "bool""'");
145453  }
145454  arg3 = static_cast< bool >(val3);
145455  ecode4 = SWIG_AsVal_bool(obj3, &val4);
145456  if (!SWIG_IsOK(ecode4)) {
145457  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_SelectedVertex" "', argument " "4"" of type '" "bool""'");
145458  }
145459  arg4 = static_cast< bool >(val4);
145460  {
145461  try {
145462  (arg1)->SelectedVertex(*arg2,arg3,arg4);
145463  }
145464  catch(CStdErrorInfo oError)
145465  {
145466  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145467  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
145468  PyErr_SetString(PyExc_IndexError, strError.c_str());
145469  SWIG_fail;
145470  }
145471  catch(...)
145472  {
145473  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145474  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
145475  SWIG_fail;
145476  }
145477  }
145478  resultobj = SWIG_Py_Void();
145479  return resultobj;
145480 fail:
145481  return NULL;
145482 }
145483 
145484 
145485 SWIGINTERN PyObject *_wrap_MovableItem_SelectedVertex__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
145486  PyObject *resultobj = 0;
145488  CStdPoint< float > *arg2 = 0 ;
145489  bool arg3 ;
145490  void *argp1 = 0 ;
145491  int res1 = 0 ;
145492  void *argp2 = 0 ;
145493  int res2 = 0 ;
145494  bool val3 ;
145495  int ecode3 = 0 ;
145496  PyObject * obj0 = 0 ;
145497  PyObject * obj1 = 0 ;
145498  PyObject * obj2 = 0 ;
145499 
145500  if (!PyArg_ParseTuple(args,(char *)"OOO:MovableItem_SelectedVertex",&obj0,&obj1,&obj2)) SWIG_fail;
145501  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
145502  if (!SWIG_IsOK(res1)) {
145503  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_SelectedVertex" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
145504  }
145505  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
145506  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
145507  if (!SWIG_IsOK(res2)) {
145508  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_SelectedVertex" "', argument " "2"" of type '" "CStdPoint< float > &""'");
145509  }
145510  if (!argp2) {
145511  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_SelectedVertex" "', argument " "2"" of type '" "CStdPoint< float > &""'");
145512  }
145513  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
145514  ecode3 = SWIG_AsVal_bool(obj2, &val3);
145515  if (!SWIG_IsOK(ecode3)) {
145516  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_SelectedVertex" "', argument " "3"" of type '" "bool""'");
145517  }
145518  arg3 = static_cast< bool >(val3);
145519  {
145520  try {
145521  (arg1)->SelectedVertex(*arg2,arg3);
145522  }
145523  catch(CStdErrorInfo oError)
145524  {
145525  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145526  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
145527  PyErr_SetString(PyExc_IndexError, strError.c_str());
145528  SWIG_fail;
145529  }
145530  catch(...)
145531  {
145532  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145533  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
145534  SWIG_fail;
145535  }
145536  }
145537  resultobj = SWIG_Py_Void();
145538  return resultobj;
145539 fail:
145540  return NULL;
145541 }
145542 
145543 
145544 SWIGINTERN PyObject *_wrap_MovableItem_SelectedVertex__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
145545  PyObject *resultobj = 0;
145547  CStdPoint< float > *arg2 = 0 ;
145548  void *argp1 = 0 ;
145549  int res1 = 0 ;
145550  void *argp2 = 0 ;
145551  int res2 = 0 ;
145552  PyObject * obj0 = 0 ;
145553  PyObject * obj1 = 0 ;
145554 
145555  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_SelectedVertex",&obj0,&obj1)) SWIG_fail;
145556  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
145557  if (!SWIG_IsOK(res1)) {
145558  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_SelectedVertex" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
145559  }
145560  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
145561  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
145562  if (!SWIG_IsOK(res2)) {
145563  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_SelectedVertex" "', argument " "2"" of type '" "CStdPoint< float > &""'");
145564  }
145565  if (!argp2) {
145566  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_SelectedVertex" "', argument " "2"" of type '" "CStdPoint< float > &""'");
145567  }
145568  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
145569  {
145570  try {
145571  (arg1)->SelectedVertex(*arg2);
145572  }
145573  catch(CStdErrorInfo oError)
145574  {
145575  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145576  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
145577  PyErr_SetString(PyExc_IndexError, strError.c_str());
145578  SWIG_fail;
145579  }
145580  catch(...)
145581  {
145582  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145583  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
145584  SWIG_fail;
145585  }
145586  }
145587  resultobj = SWIG_Py_Void();
145588  return resultobj;
145589 fail:
145590  return NULL;
145591 }
145592 
145593 
145594 SWIGINTERN PyObject *_wrap_MovableItem_SelectedVertex__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
145595  PyObject *resultobj = 0;
145597  float arg2 ;
145598  float arg3 ;
145599  float arg4 ;
145600  bool arg5 ;
145601  bool arg6 ;
145602  void *argp1 = 0 ;
145603  int res1 = 0 ;
145604  float val2 ;
145605  int ecode2 = 0 ;
145606  float val3 ;
145607  int ecode3 = 0 ;
145608  float val4 ;
145609  int ecode4 = 0 ;
145610  bool val5 ;
145611  int ecode5 = 0 ;
145612  bool val6 ;
145613  int ecode6 = 0 ;
145614  PyObject * obj0 = 0 ;
145615  PyObject * obj1 = 0 ;
145616  PyObject * obj2 = 0 ;
145617  PyObject * obj3 = 0 ;
145618  PyObject * obj4 = 0 ;
145619  PyObject * obj5 = 0 ;
145620 
145621  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:MovableItem_SelectedVertex",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
145622  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
145623  if (!SWIG_IsOK(res1)) {
145624  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_SelectedVertex" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
145625  }
145626  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
145627  ecode2 = SWIG_AsVal_float(obj1, &val2);
145628  if (!SWIG_IsOK(ecode2)) {
145629  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_SelectedVertex" "', argument " "2"" of type '" "float""'");
145630  }
145631  arg2 = static_cast< float >(val2);
145632  ecode3 = SWIG_AsVal_float(obj2, &val3);
145633  if (!SWIG_IsOK(ecode3)) {
145634  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_SelectedVertex" "', argument " "3"" of type '" "float""'");
145635  }
145636  arg3 = static_cast< float >(val3);
145637  ecode4 = SWIG_AsVal_float(obj3, &val4);
145638  if (!SWIG_IsOK(ecode4)) {
145639  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_SelectedVertex" "', argument " "4"" of type '" "float""'");
145640  }
145641  arg4 = static_cast< float >(val4);
145642  ecode5 = SWIG_AsVal_bool(obj4, &val5);
145643  if (!SWIG_IsOK(ecode5)) {
145644  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "MovableItem_SelectedVertex" "', argument " "5"" of type '" "bool""'");
145645  }
145646  arg5 = static_cast< bool >(val5);
145647  ecode6 = SWIG_AsVal_bool(obj5, &val6);
145648  if (!SWIG_IsOK(ecode6)) {
145649  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "MovableItem_SelectedVertex" "', argument " "6"" of type '" "bool""'");
145650  }
145651  arg6 = static_cast< bool >(val6);
145652  {
145653  try {
145654  (arg1)->SelectedVertex(arg2,arg3,arg4,arg5,arg6);
145655  }
145656  catch(CStdErrorInfo oError)
145657  {
145658  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145659  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
145660  PyErr_SetString(PyExc_IndexError, strError.c_str());
145661  SWIG_fail;
145662  }
145663  catch(...)
145664  {
145665  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145666  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
145667  SWIG_fail;
145668  }
145669  }
145670  resultobj = SWIG_Py_Void();
145671  return resultobj;
145672 fail:
145673  return NULL;
145674 }
145675 
145676 
145677 SWIGINTERN PyObject *_wrap_MovableItem_SelectedVertex__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
145678  PyObject *resultobj = 0;
145680  float arg2 ;
145681  float arg3 ;
145682  float arg4 ;
145683  bool arg5 ;
145684  void *argp1 = 0 ;
145685  int res1 = 0 ;
145686  float val2 ;
145687  int ecode2 = 0 ;
145688  float val3 ;
145689  int ecode3 = 0 ;
145690  float val4 ;
145691  int ecode4 = 0 ;
145692  bool val5 ;
145693  int ecode5 = 0 ;
145694  PyObject * obj0 = 0 ;
145695  PyObject * obj1 = 0 ;
145696  PyObject * obj2 = 0 ;
145697  PyObject * obj3 = 0 ;
145698  PyObject * obj4 = 0 ;
145699 
145700  if (!PyArg_ParseTuple(args,(char *)"OOOOO:MovableItem_SelectedVertex",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
145701  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
145702  if (!SWIG_IsOK(res1)) {
145703  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_SelectedVertex" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
145704  }
145705  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
145706  ecode2 = SWIG_AsVal_float(obj1, &val2);
145707  if (!SWIG_IsOK(ecode2)) {
145708  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_SelectedVertex" "', argument " "2"" of type '" "float""'");
145709  }
145710  arg2 = static_cast< float >(val2);
145711  ecode3 = SWIG_AsVal_float(obj2, &val3);
145712  if (!SWIG_IsOK(ecode3)) {
145713  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_SelectedVertex" "', argument " "3"" of type '" "float""'");
145714  }
145715  arg3 = static_cast< float >(val3);
145716  ecode4 = SWIG_AsVal_float(obj3, &val4);
145717  if (!SWIG_IsOK(ecode4)) {
145718  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_SelectedVertex" "', argument " "4"" of type '" "float""'");
145719  }
145720  arg4 = static_cast< float >(val4);
145721  ecode5 = SWIG_AsVal_bool(obj4, &val5);
145722  if (!SWIG_IsOK(ecode5)) {
145723  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "MovableItem_SelectedVertex" "', argument " "5"" of type '" "bool""'");
145724  }
145725  arg5 = static_cast< bool >(val5);
145726  {
145727  try {
145728  (arg1)->SelectedVertex(arg2,arg3,arg4,arg5);
145729  }
145730  catch(CStdErrorInfo oError)
145731  {
145732  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145733  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
145734  PyErr_SetString(PyExc_IndexError, strError.c_str());
145735  SWIG_fail;
145736  }
145737  catch(...)
145738  {
145739  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145740  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
145741  SWIG_fail;
145742  }
145743  }
145744  resultobj = SWIG_Py_Void();
145745  return resultobj;
145746 fail:
145747  return NULL;
145748 }
145749 
145750 
145751 SWIGINTERN PyObject *_wrap_MovableItem_SelectedVertex__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
145752  PyObject *resultobj = 0;
145754  float arg2 ;
145755  float arg3 ;
145756  float arg4 ;
145757  void *argp1 = 0 ;
145758  int res1 = 0 ;
145759  float val2 ;
145760  int ecode2 = 0 ;
145761  float val3 ;
145762  int ecode3 = 0 ;
145763  float val4 ;
145764  int ecode4 = 0 ;
145765  PyObject * obj0 = 0 ;
145766  PyObject * obj1 = 0 ;
145767  PyObject * obj2 = 0 ;
145768  PyObject * obj3 = 0 ;
145769 
145770  if (!PyArg_ParseTuple(args,(char *)"OOOO:MovableItem_SelectedVertex",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
145771  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
145772  if (!SWIG_IsOK(res1)) {
145773  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_SelectedVertex" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
145774  }
145775  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
145776  ecode2 = SWIG_AsVal_float(obj1, &val2);
145777  if (!SWIG_IsOK(ecode2)) {
145778  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_SelectedVertex" "', argument " "2"" of type '" "float""'");
145779  }
145780  arg2 = static_cast< float >(val2);
145781  ecode3 = SWIG_AsVal_float(obj2, &val3);
145782  if (!SWIG_IsOK(ecode3)) {
145783  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_SelectedVertex" "', argument " "3"" of type '" "float""'");
145784  }
145785  arg3 = static_cast< float >(val3);
145786  ecode4 = SWIG_AsVal_float(obj3, &val4);
145787  if (!SWIG_IsOK(ecode4)) {
145788  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_SelectedVertex" "', argument " "4"" of type '" "float""'");
145789  }
145790  arg4 = static_cast< float >(val4);
145791  {
145792  try {
145793  (arg1)->SelectedVertex(arg2,arg3,arg4);
145794  }
145795  catch(CStdErrorInfo oError)
145796  {
145797  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145798  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
145799  PyErr_SetString(PyExc_IndexError, strError.c_str());
145800  SWIG_fail;
145801  }
145802  catch(...)
145803  {
145804  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
145805  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
145806  SWIG_fail;
145807  }
145808  }
145809  resultobj = SWIG_Py_Void();
145810  return resultobj;
145811 fail:
145812  return NULL;
145813 }
145814 
145815 
145816 SWIGINTERN PyObject *_wrap_MovableItem_SelectedVertex(PyObject *self, PyObject *args) {
145817  int argc;
145818  PyObject *argv[7];
145819  int ii;
145820 
145821  if (!PyTuple_Check(args)) SWIG_fail;
145822  argc = args ? (int)PyObject_Length(args) : 0;
145823  for (ii = 0; (ii < 6) && (ii < argc); ii++) {
145824  argv[ii] = PyTuple_GET_ITEM(args,ii);
145825  }
145826  if (argc == 1) {
145827  int _v;
145828  void *vptr = 0;
145829  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
145830  _v = SWIG_CheckState(res);
145831  if (_v) {
145832  return _wrap_MovableItem_SelectedVertex__SWIG_0(self, args);
145833  }
145834  }
145835  if (argc == 2) {
145836  int _v;
145837  void *vptr = 0;
145838  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
145839  _v = SWIG_CheckState(res);
145840  if (_v) {
145841  void *vptr = 0;
145842  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
145843  _v = SWIG_CheckState(res);
145844  if (_v) {
145845  return _wrap_MovableItem_SelectedVertex__SWIG_3(self, args);
145846  }
145847  }
145848  }
145849  if (argc == 3) {
145850  int _v;
145851  void *vptr = 0;
145852  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
145853  _v = SWIG_CheckState(res);
145854  if (_v) {
145855  void *vptr = 0;
145856  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
145857  _v = SWIG_CheckState(res);
145858  if (_v) {
145859  {
145860  int res = SWIG_AsVal_bool(argv[2], NULL);
145861  _v = SWIG_CheckState(res);
145862  }
145863  if (_v) {
145864  return _wrap_MovableItem_SelectedVertex__SWIG_2(self, args);
145865  }
145866  }
145867  }
145868  }
145869  if (argc == 4) {
145870  int _v;
145871  void *vptr = 0;
145872  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
145873  _v = SWIG_CheckState(res);
145874  if (_v) {
145875  void *vptr = 0;
145876  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
145877  _v = SWIG_CheckState(res);
145878  if (_v) {
145879  {
145880  int res = SWIG_AsVal_bool(argv[2], NULL);
145881  _v = SWIG_CheckState(res);
145882  }
145883  if (_v) {
145884  {
145885  int res = SWIG_AsVal_bool(argv[3], NULL);
145886  _v = SWIG_CheckState(res);
145887  }
145888  if (_v) {
145889  return _wrap_MovableItem_SelectedVertex__SWIG_1(self, args);
145890  }
145891  }
145892  }
145893  }
145894  }
145895  if (argc == 4) {
145896  int _v;
145897  void *vptr = 0;
145898  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
145899  _v = SWIG_CheckState(res);
145900  if (_v) {
145901  {
145902  int res = SWIG_AsVal_float(argv[1], NULL);
145903  _v = SWIG_CheckState(res);
145904  }
145905  if (_v) {
145906  {
145907  int res = SWIG_AsVal_float(argv[2], NULL);
145908  _v = SWIG_CheckState(res);
145909  }
145910  if (_v) {
145911  {
145912  int res = SWIG_AsVal_float(argv[3], NULL);
145913  _v = SWIG_CheckState(res);
145914  }
145915  if (_v) {
145916  return _wrap_MovableItem_SelectedVertex__SWIG_6(self, args);
145917  }
145918  }
145919  }
145920  }
145921  }
145922  if (argc == 5) {
145923  int _v;
145924  void *vptr = 0;
145925  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
145926  _v = SWIG_CheckState(res);
145927  if (_v) {
145928  {
145929  int res = SWIG_AsVal_float(argv[1], NULL);
145930  _v = SWIG_CheckState(res);
145931  }
145932  if (_v) {
145933  {
145934  int res = SWIG_AsVal_float(argv[2], NULL);
145935  _v = SWIG_CheckState(res);
145936  }
145937  if (_v) {
145938  {
145939  int res = SWIG_AsVal_float(argv[3], NULL);
145940  _v = SWIG_CheckState(res);
145941  }
145942  if (_v) {
145943  {
145944  int res = SWIG_AsVal_bool(argv[4], NULL);
145945  _v = SWIG_CheckState(res);
145946  }
145947  if (_v) {
145948  return _wrap_MovableItem_SelectedVertex__SWIG_5(self, args);
145949  }
145950  }
145951  }
145952  }
145953  }
145954  }
145955  if (argc == 6) {
145956  int _v;
145957  void *vptr = 0;
145958  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
145959  _v = SWIG_CheckState(res);
145960  if (_v) {
145961  {
145962  int res = SWIG_AsVal_float(argv[1], NULL);
145963  _v = SWIG_CheckState(res);
145964  }
145965  if (_v) {
145966  {
145967  int res = SWIG_AsVal_float(argv[2], NULL);
145968  _v = SWIG_CheckState(res);
145969  }
145970  if (_v) {
145971  {
145972  int res = SWIG_AsVal_float(argv[3], NULL);
145973  _v = SWIG_CheckState(res);
145974  }
145975  if (_v) {
145976  {
145977  int res = SWIG_AsVal_bool(argv[4], NULL);
145978  _v = SWIG_CheckState(res);
145979  }
145980  if (_v) {
145981  {
145982  int res = SWIG_AsVal_bool(argv[5], NULL);
145983  _v = SWIG_CheckState(res);
145984  }
145985  if (_v) {
145986  return _wrap_MovableItem_SelectedVertex__SWIG_4(self, args);
145987  }
145988  }
145989  }
145990  }
145991  }
145992  }
145993  }
145994 
145995 fail:
145996  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_SelectedVertex'.\n"
145997  " Possible C/C++ prototypes are:\n"
145998  " AnimatSim::Environment::MovableItem::SelectedVertex()\n"
145999  " AnimatSim::Environment::MovableItem::SelectedVertex(CStdPoint< float > &,bool,bool)\n"
146000  " AnimatSim::Environment::MovableItem::SelectedVertex(CStdPoint< float > &,bool)\n"
146001  " AnimatSim::Environment::MovableItem::SelectedVertex(CStdPoint< float > &)\n"
146002  " AnimatSim::Environment::MovableItem::SelectedVertex(float,float,float,bool,bool)\n"
146003  " AnimatSim::Environment::MovableItem::SelectedVertex(float,float,float,bool)\n"
146004  " AnimatSim::Environment::MovableItem::SelectedVertex(float,float,float)\n");
146005  return 0;
146006 }
146007 
146008 
146009 SWIGINTERN PyObject *_wrap_MovableItem_Callback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146010  PyObject *resultobj = 0;
146012  void *argp1 = 0 ;
146013  int res1 = 0 ;
146014  PyObject * obj0 = 0 ;
146015  AnimatSim::IMovableItemCallback *result = 0 ;
146016 
146017  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_Callback",&obj0)) SWIG_fail;
146018  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146019  if (!SWIG_IsOK(res1)) {
146020  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Callback" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146021  }
146022  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146023  {
146024  try {
146025  result = (AnimatSim::IMovableItemCallback *)(arg1)->Callback();
146026  }
146027  catch(CStdErrorInfo oError)
146028  {
146029  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146030  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146031  PyErr_SetString(PyExc_IndexError, strError.c_str());
146032  SWIG_fail;
146033  }
146034  catch(...)
146035  {
146036  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146037  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146038  SWIG_fail;
146039  }
146040  }
146041  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__IMovableItemCallback, 0 | 0 );
146042  return resultobj;
146043 fail:
146044  return NULL;
146045 }
146046 
146047 
146048 SWIGINTERN PyObject *_wrap_MovableItem_Callback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146049  PyObject *resultobj = 0;
146052  void *argp1 = 0 ;
146053  int res1 = 0 ;
146054  void *argp2 = 0 ;
146055  int res2 = 0 ;
146056  PyObject * obj0 = 0 ;
146057  PyObject * obj1 = 0 ;
146058 
146059  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Callback",&obj0,&obj1)) SWIG_fail;
146060  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146061  if (!SWIG_IsOK(res1)) {
146062  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Callback" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146063  }
146064  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146065  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__IMovableItemCallback, 0 | 0 );
146066  if (!SWIG_IsOK(res2)) {
146067  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Callback" "', argument " "2"" of type '" "AnimatSim::IMovableItemCallback *""'");
146068  }
146069  arg2 = reinterpret_cast< AnimatSim::IMovableItemCallback * >(argp2);
146070  {
146071  try {
146072  (arg1)->Callback(arg2);
146073  }
146074  catch(CStdErrorInfo oError)
146075  {
146076  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146077  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146078  PyErr_SetString(PyExc_IndexError, strError.c_str());
146079  SWIG_fail;
146080  }
146081  catch(...)
146082  {
146083  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146084  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146085  SWIG_fail;
146086  }
146087  }
146088  resultobj = SWIG_Py_Void();
146089  return resultobj;
146090 fail:
146091  return NULL;
146092 }
146093 
146094 
146095 SWIGINTERN PyObject *_wrap_MovableItem_Callback(PyObject *self, PyObject *args) {
146096  int argc;
146097  PyObject *argv[3];
146098  int ii;
146099 
146100  if (!PyTuple_Check(args)) SWIG_fail;
146101  argc = args ? (int)PyObject_Length(args) : 0;
146102  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
146103  argv[ii] = PyTuple_GET_ITEM(args,ii);
146104  }
146105  if (argc == 1) {
146106  int _v;
146107  void *vptr = 0;
146108  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
146109  _v = SWIG_CheckState(res);
146110  if (_v) {
146111  return _wrap_MovableItem_Callback__SWIG_0(self, args);
146112  }
146113  }
146114  if (argc == 2) {
146115  int _v;
146116  void *vptr = 0;
146117  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
146118  _v = SWIG_CheckState(res);
146119  if (_v) {
146120  void *vptr = 0;
146121  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__IMovableItemCallback, 0);
146122  _v = SWIG_CheckState(res);
146123  if (_v) {
146124  return _wrap_MovableItem_Callback__SWIG_1(self, args);
146125  }
146126  }
146127  }
146128 
146129 fail:
146130  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_Callback'.\n"
146131  " Possible C/C++ prototypes are:\n"
146132  " AnimatSim::Environment::MovableItem::Callback()\n"
146133  " AnimatSim::Environment::MovableItem::Callback(AnimatSim::IMovableItemCallback *)\n");
146134  return 0;
146135 }
146136 
146137 
146138 SWIGINTERN PyObject *_wrap_MovableItem_PhysicsMovableItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146139  PyObject *resultobj = 0;
146141  void *argp1 = 0 ;
146142  int res1 = 0 ;
146143  PyObject * obj0 = 0 ;
146145 
146146  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_PhysicsMovableItem",&obj0)) SWIG_fail;
146147  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146148  if (!SWIG_IsOK(res1)) {
146149  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_PhysicsMovableItem" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146150  }
146151  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146152  {
146153  try {
146154  result = (AnimatSim::Environment::IPhysicsMovableItem *)(arg1)->PhysicsMovableItem();
146155  }
146156  catch(CStdErrorInfo oError)
146157  {
146158  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146159  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146160  PyErr_SetString(PyExc_IndexError, strError.c_str());
146161  SWIG_fail;
146162  }
146163  catch(...)
146164  {
146165  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146166  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146167  SWIG_fail;
146168  }
146169  }
146170  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
146171  return resultobj;
146172 fail:
146173  return NULL;
146174 }
146175 
146176 
146177 SWIGINTERN PyObject *_wrap_MovableItem_PhysicsMovableItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146178  PyObject *resultobj = 0;
146181  void *argp1 = 0 ;
146182  int res1 = 0 ;
146183  void *argp2 = 0 ;
146184  int res2 = 0 ;
146185  PyObject * obj0 = 0 ;
146186  PyObject * obj1 = 0 ;
146187 
146188  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_PhysicsMovableItem",&obj0,&obj1)) SWIG_fail;
146189  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146190  if (!SWIG_IsOK(res1)) {
146191  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_PhysicsMovableItem" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146192  }
146193  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146194  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0 | 0 );
146195  if (!SWIG_IsOK(res2)) {
146196  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_PhysicsMovableItem" "', argument " "2"" of type '" "AnimatSim::Environment::IPhysicsMovableItem *""'");
146197  }
146198  arg2 = reinterpret_cast< AnimatSim::Environment::IPhysicsMovableItem * >(argp2);
146199  {
146200  try {
146201  (arg1)->PhysicsMovableItem(arg2);
146202  }
146203  catch(CStdErrorInfo oError)
146204  {
146205  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146206  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146207  PyErr_SetString(PyExc_IndexError, strError.c_str());
146208  SWIG_fail;
146209  }
146210  catch(...)
146211  {
146212  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146213  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146214  SWIG_fail;
146215  }
146216  }
146217  resultobj = SWIG_Py_Void();
146218  return resultobj;
146219 fail:
146220  return NULL;
146221 }
146222 
146223 
146224 SWIGINTERN PyObject *_wrap_MovableItem_PhysicsMovableItem(PyObject *self, PyObject *args) {
146225  int argc;
146226  PyObject *argv[3];
146227  int ii;
146228 
146229  if (!PyTuple_Check(args)) SWIG_fail;
146230  argc = args ? (int)PyObject_Length(args) : 0;
146231  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
146232  argv[ii] = PyTuple_GET_ITEM(args,ii);
146233  }
146234  if (argc == 1) {
146235  int _v;
146236  void *vptr = 0;
146237  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
146238  _v = SWIG_CheckState(res);
146239  if (_v) {
146240  return _wrap_MovableItem_PhysicsMovableItem__SWIG_0(self, args);
146241  }
146242  }
146243  if (argc == 2) {
146244  int _v;
146245  void *vptr = 0;
146246  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
146247  _v = SWIG_CheckState(res);
146248  if (_v) {
146249  void *vptr = 0;
146250  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem, 0);
146251  _v = SWIG_CheckState(res);
146252  if (_v) {
146253  return _wrap_MovableItem_PhysicsMovableItem__SWIG_1(self, args);
146254  }
146255  }
146256  }
146257 
146258 fail:
146259  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_PhysicsMovableItem'.\n"
146260  " Possible C/C++ prototypes are:\n"
146261  " AnimatSim::Environment::MovableItem::PhysicsMovableItem()\n"
146262  " AnimatSim::Environment::MovableItem::PhysicsMovableItem(AnimatSim::Environment::IPhysicsMovableItem *)\n");
146263  return 0;
146264 }
146265 
146266 
146267 SWIGINTERN PyObject *_wrap_MovableItem_GetBoundingRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146268  PyObject *resultobj = 0;
146270  void *argp1 = 0 ;
146271  int res1 = 0 ;
146272  PyObject * obj0 = 0 ;
146273  float result;
146274 
146275  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_GetBoundingRadius",&obj0)) SWIG_fail;
146276  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146277  if (!SWIG_IsOK(res1)) {
146278  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_GetBoundingRadius" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146279  }
146280  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146281  {
146282  try {
146283  result = (float)(arg1)->GetBoundingRadius();
146284  }
146285  catch(CStdErrorInfo oError)
146286  {
146287  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146288  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146289  PyErr_SetString(PyExc_IndexError, strError.c_str());
146290  SWIG_fail;
146291  }
146292  catch(...)
146293  {
146294  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146295  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146296  SWIG_fail;
146297  }
146298  }
146299  resultobj = SWIG_From_float(static_cast< float >(result));
146300  return resultobj;
146301 fail:
146302  return NULL;
146303 }
146304 
146305 
146306 SWIGINTERN PyObject *_wrap_MovableItem_GetBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146307  PyObject *resultobj = 0;
146309  void *argp1 = 0 ;
146310  int res1 = 0 ;
146311  PyObject * obj0 = 0 ;
146312  AnimatSim::BoundingBox result;
146313 
146314  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_GetBoundingBox",&obj0)) SWIG_fail;
146315  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146316  if (!SWIG_IsOK(res1)) {
146317  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_GetBoundingBox" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146318  }
146319  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146320  {
146321  try {
146322  result = (arg1)->GetBoundingBox();
146323  }
146324  catch(CStdErrorInfo oError)
146325  {
146326  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146327  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146328  PyErr_SetString(PyExc_IndexError, strError.c_str());
146329  SWIG_fail;
146330  }
146331  catch(...)
146332  {
146333  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146334  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146335  SWIG_fail;
146336  }
146337  }
146338  resultobj = SWIG_NewPointerObj((new AnimatSim::BoundingBox(static_cast< const AnimatSim::BoundingBox& >(result))), SWIGTYPE_p_AnimatSim__BoundingBox, SWIG_POINTER_OWN | 0 );
146339  return resultobj;
146340 fail:
146341  return NULL;
146342 }
146343 
146344 
146345 SWIGINTERN PyObject *_wrap_MovableItem_SetBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146346  PyObject *resultobj = 0;
146348  int arg2 ;
146349  float arg3 ;
146350  void *argp1 = 0 ;
146351  int res1 = 0 ;
146352  int val2 ;
146353  int ecode2 = 0 ;
146354  float val3 ;
146355  int ecode3 = 0 ;
146356  PyObject * obj0 = 0 ;
146357  PyObject * obj1 = 0 ;
146358  PyObject * obj2 = 0 ;
146359 
146360  if (!PyArg_ParseTuple(args,(char *)"OOO:MovableItem_SetBoundingBox",&obj0,&obj1,&obj2)) SWIG_fail;
146361  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146362  if (!SWIG_IsOK(res1)) {
146363  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_SetBoundingBox" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146364  }
146365  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146366  ecode2 = SWIG_AsVal_int(obj1, &val2);
146367  if (!SWIG_IsOK(ecode2)) {
146368  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_SetBoundingBox" "', argument " "2"" of type '" "int""'");
146369  }
146370  arg2 = static_cast< int >(val2);
146371  ecode3 = SWIG_AsVal_float(obj2, &val3);
146372  if (!SWIG_IsOK(ecode3)) {
146373  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_SetBoundingBox" "', argument " "3"" of type '" "float""'");
146374  }
146375  arg3 = static_cast< float >(val3);
146376  {
146377  try {
146378  (arg1)->SetBoundingBox(arg2,arg3);
146379  }
146380  catch(CStdErrorInfo oError)
146381  {
146382  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146383  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146384  PyErr_SetString(PyExc_IndexError, strError.c_str());
146385  SWIG_fail;
146386  }
146387  catch(...)
146388  {
146389  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146390  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146391  SWIG_fail;
146392  }
146393  }
146394  resultobj = SWIG_Py_Void();
146395  return resultobj;
146396 fail:
146397  return NULL;
146398 }
146399 
146400 
146401 SWIGINTERN PyObject *_wrap_MovableItem_AllowTranslateDragX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146402  PyObject *resultobj = 0;
146404  void *argp1 = 0 ;
146405  int res1 = 0 ;
146406  PyObject * obj0 = 0 ;
146407  bool result;
146408 
146409  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_AllowTranslateDragX",&obj0)) SWIG_fail;
146410  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146411  if (!SWIG_IsOK(res1)) {
146412  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_AllowTranslateDragX" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146413  }
146414  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146415  {
146416  try {
146417  result = (bool)(arg1)->AllowTranslateDragX();
146418  }
146419  catch(CStdErrorInfo oError)
146420  {
146421  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146422  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146423  PyErr_SetString(PyExc_IndexError, strError.c_str());
146424  SWIG_fail;
146425  }
146426  catch(...)
146427  {
146428  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146429  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146430  SWIG_fail;
146431  }
146432  }
146433  resultobj = SWIG_From_bool(static_cast< bool >(result));
146434  return resultobj;
146435 fail:
146436  return NULL;
146437 }
146438 
146439 
146440 SWIGINTERN PyObject *_wrap_MovableItem_AllowTranslateDragY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146441  PyObject *resultobj = 0;
146443  void *argp1 = 0 ;
146444  int res1 = 0 ;
146445  PyObject * obj0 = 0 ;
146446  bool result;
146447 
146448  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_AllowTranslateDragY",&obj0)) SWIG_fail;
146449  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146450  if (!SWIG_IsOK(res1)) {
146451  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_AllowTranslateDragY" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146452  }
146453  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146454  {
146455  try {
146456  result = (bool)(arg1)->AllowTranslateDragY();
146457  }
146458  catch(CStdErrorInfo oError)
146459  {
146460  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146461  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146462  PyErr_SetString(PyExc_IndexError, strError.c_str());
146463  SWIG_fail;
146464  }
146465  catch(...)
146466  {
146467  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146468  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146469  SWIG_fail;
146470  }
146471  }
146472  resultobj = SWIG_From_bool(static_cast< bool >(result));
146473  return resultobj;
146474 fail:
146475  return NULL;
146476 }
146477 
146478 
146479 SWIGINTERN PyObject *_wrap_MovableItem_AllowTranslateDragZ(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146480  PyObject *resultobj = 0;
146482  void *argp1 = 0 ;
146483  int res1 = 0 ;
146484  PyObject * obj0 = 0 ;
146485  bool result;
146486 
146487  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_AllowTranslateDragZ",&obj0)) SWIG_fail;
146488  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146489  if (!SWIG_IsOK(res1)) {
146490  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_AllowTranslateDragZ" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146491  }
146492  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146493  {
146494  try {
146495  result = (bool)(arg1)->AllowTranslateDragZ();
146496  }
146497  catch(CStdErrorInfo oError)
146498  {
146499  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146500  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146501  PyErr_SetString(PyExc_IndexError, strError.c_str());
146502  SWIG_fail;
146503  }
146504  catch(...)
146505  {
146506  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146507  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146508  SWIG_fail;
146509  }
146510  }
146511  resultobj = SWIG_From_bool(static_cast< bool >(result));
146512  return resultobj;
146513 fail:
146514  return NULL;
146515 }
146516 
146517 
146518 SWIGINTERN PyObject *_wrap_MovableItem_AllowRotateDragX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146519  PyObject *resultobj = 0;
146521  void *argp1 = 0 ;
146522  int res1 = 0 ;
146523  PyObject * obj0 = 0 ;
146524  bool result;
146525 
146526  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_AllowRotateDragX",&obj0)) SWIG_fail;
146527  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146528  if (!SWIG_IsOK(res1)) {
146529  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_AllowRotateDragX" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146530  }
146531  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146532  {
146533  try {
146534  result = (bool)(arg1)->AllowRotateDragX();
146535  }
146536  catch(CStdErrorInfo oError)
146537  {
146538  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146539  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146540  PyErr_SetString(PyExc_IndexError, strError.c_str());
146541  SWIG_fail;
146542  }
146543  catch(...)
146544  {
146545  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146546  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146547  SWIG_fail;
146548  }
146549  }
146550  resultobj = SWIG_From_bool(static_cast< bool >(result));
146551  return resultobj;
146552 fail:
146553  return NULL;
146554 }
146555 
146556 
146557 SWIGINTERN PyObject *_wrap_MovableItem_AllowRotateDragY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146558  PyObject *resultobj = 0;
146560  void *argp1 = 0 ;
146561  int res1 = 0 ;
146562  PyObject * obj0 = 0 ;
146563  bool result;
146564 
146565  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_AllowRotateDragY",&obj0)) SWIG_fail;
146566  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146567  if (!SWIG_IsOK(res1)) {
146568  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_AllowRotateDragY" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146569  }
146570  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146571  {
146572  try {
146573  result = (bool)(arg1)->AllowRotateDragY();
146574  }
146575  catch(CStdErrorInfo oError)
146576  {
146577  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146578  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146579  PyErr_SetString(PyExc_IndexError, strError.c_str());
146580  SWIG_fail;
146581  }
146582  catch(...)
146583  {
146584  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146585  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146586  SWIG_fail;
146587  }
146588  }
146589  resultobj = SWIG_From_bool(static_cast< bool >(result));
146590  return resultobj;
146591 fail:
146592  return NULL;
146593 }
146594 
146595 
146596 SWIGINTERN PyObject *_wrap_MovableItem_AllowRotateDragZ(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146597  PyObject *resultobj = 0;
146599  void *argp1 = 0 ;
146600  int res1 = 0 ;
146601  PyObject * obj0 = 0 ;
146602  bool result;
146603 
146604  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_AllowRotateDragZ",&obj0)) SWIG_fail;
146605  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146606  if (!SWIG_IsOK(res1)) {
146607  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_AllowRotateDragZ" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146608  }
146609  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146610  {
146611  try {
146612  result = (bool)(arg1)->AllowRotateDragZ();
146613  }
146614  catch(CStdErrorInfo oError)
146615  {
146616  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146617  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146618  PyErr_SetString(PyExc_IndexError, strError.c_str());
146619  SWIG_fail;
146620  }
146621  catch(...)
146622  {
146623  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146624  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146625  SWIG_fail;
146626  }
146627  }
146628  resultobj = SWIG_From_bool(static_cast< bool >(result));
146629  return resultobj;
146630 fail:
146631  return NULL;
146632 }
146633 
146634 
146635 SWIGINTERN PyObject *_wrap_MovableItem_UserDefinedDraggerRadius__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146636  PyObject *resultobj = 0;
146638  float arg2 ;
146639  void *argp1 = 0 ;
146640  int res1 = 0 ;
146641  float val2 ;
146642  int ecode2 = 0 ;
146643  PyObject * obj0 = 0 ;
146644  PyObject * obj1 = 0 ;
146645 
146646  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_UserDefinedDraggerRadius",&obj0,&obj1)) SWIG_fail;
146647  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146648  if (!SWIG_IsOK(res1)) {
146649  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_UserDefinedDraggerRadius" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146650  }
146651  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146652  ecode2 = SWIG_AsVal_float(obj1, &val2);
146653  if (!SWIG_IsOK(ecode2)) {
146654  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_UserDefinedDraggerRadius" "', argument " "2"" of type '" "float""'");
146655  }
146656  arg2 = static_cast< float >(val2);
146657  {
146658  try {
146659  (arg1)->UserDefinedDraggerRadius(arg2);
146660  }
146661  catch(CStdErrorInfo oError)
146662  {
146663  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146664  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146665  PyErr_SetString(PyExc_IndexError, strError.c_str());
146666  SWIG_fail;
146667  }
146668  catch(...)
146669  {
146670  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146671  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146672  SWIG_fail;
146673  }
146674  }
146675  resultobj = SWIG_Py_Void();
146676  return resultobj;
146677 fail:
146678  return NULL;
146679 }
146680 
146681 
146682 SWIGINTERN PyObject *_wrap_MovableItem_UserDefinedDraggerRadius__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146683  PyObject *resultobj = 0;
146685  void *argp1 = 0 ;
146686  int res1 = 0 ;
146687  PyObject * obj0 = 0 ;
146688  float result;
146689 
146690  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_UserDefinedDraggerRadius",&obj0)) SWIG_fail;
146691  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146692  if (!SWIG_IsOK(res1)) {
146693  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_UserDefinedDraggerRadius" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146694  }
146695  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146696  {
146697  try {
146698  result = (float)(arg1)->UserDefinedDraggerRadius();
146699  }
146700  catch(CStdErrorInfo oError)
146701  {
146702  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146703  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146704  PyErr_SetString(PyExc_IndexError, strError.c_str());
146705  SWIG_fail;
146706  }
146707  catch(...)
146708  {
146709  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146710  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146711  SWIG_fail;
146712  }
146713  }
146714  resultobj = SWIG_From_float(static_cast< float >(result));
146715  return resultobj;
146716 fail:
146717  return NULL;
146718 }
146719 
146720 
146721 SWIGINTERN PyObject *_wrap_MovableItem_UserDefinedDraggerRadius(PyObject *self, PyObject *args) {
146722  int argc;
146723  PyObject *argv[3];
146724  int ii;
146725 
146726  if (!PyTuple_Check(args)) SWIG_fail;
146727  argc = args ? (int)PyObject_Length(args) : 0;
146728  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
146729  argv[ii] = PyTuple_GET_ITEM(args,ii);
146730  }
146731  if (argc == 1) {
146732  int _v;
146733  void *vptr = 0;
146734  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
146735  _v = SWIG_CheckState(res);
146736  if (_v) {
146737  return _wrap_MovableItem_UserDefinedDraggerRadius__SWIG_1(self, args);
146738  }
146739  }
146740  if (argc == 2) {
146741  int _v;
146742  void *vptr = 0;
146743  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
146744  _v = SWIG_CheckState(res);
146745  if (_v) {
146746  {
146747  int res = SWIG_AsVal_float(argv[1], NULL);
146748  _v = SWIG_CheckState(res);
146749  }
146750  if (_v) {
146751  return _wrap_MovableItem_UserDefinedDraggerRadius__SWIG_0(self, args);
146752  }
146753  }
146754  }
146755 
146756 fail:
146757  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_UserDefinedDraggerRadius'.\n"
146758  " Possible C/C++ prototypes are:\n"
146759  " AnimatSim::Environment::MovableItem::UserDefinedDraggerRadius(float)\n"
146760  " AnimatSim::Environment::MovableItem::UserDefinedDraggerRadius()\n");
146761  return 0;
146762 }
146763 
146764 
146765 SWIGINTERN PyObject *_wrap_MovableItem_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146766  PyObject *resultobj = 0;
146768  void *argp1 = 0 ;
146769  int res1 = 0 ;
146770  PyObject * obj0 = 0 ;
146771  bool result;
146772 
146773  if (!PyArg_ParseTuple(args,(char *)"O:MovableItem_IsSelected",&obj0)) SWIG_fail;
146774  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146775  if (!SWIG_IsOK(res1)) {
146776  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_IsSelected" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146777  }
146778  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146779  {
146780  try {
146781  result = (bool)(arg1)->IsSelected();
146782  }
146783  catch(CStdErrorInfo oError)
146784  {
146785  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146786  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146787  PyErr_SetString(PyExc_IndexError, strError.c_str());
146788  SWIG_fail;
146789  }
146790  catch(...)
146791  {
146792  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146793  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146794  SWIG_fail;
146795  }
146796  }
146797  resultobj = SWIG_From_bool(static_cast< bool >(result));
146798  return resultobj;
146799 fail:
146800  return NULL;
146801 }
146802 
146803 
146804 SWIGINTERN PyObject *_wrap_MovableItem_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146805  PyObject *resultobj = 0;
146807  std::string *arg2 = 0 ;
146808  void *argp1 = 0 ;
146809  int res1 = 0 ;
146810  int res2 = SWIG_OLDOBJ ;
146811  PyObject * obj0 = 0 ;
146812  PyObject * obj1 = 0 ;
146813  float *result = 0 ;
146814 
146815  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_GetDataPointer",&obj0,&obj1)) SWIG_fail;
146816  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146817  if (!SWIG_IsOK(res1)) {
146818  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146819  }
146820  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146821  {
146822  std::string *ptr = (std::string *)0;
146823  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
146824  if (!SWIG_IsOK(res2)) {
146825  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
146826  }
146827  if (!ptr) {
146828  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
146829  }
146830  arg2 = ptr;
146831  }
146832  {
146833  try {
146834  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
146835  }
146836  catch(CStdErrorInfo oError)
146837  {
146838  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146839  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146840  PyErr_SetString(PyExc_IndexError, strError.c_str());
146841  SWIG_fail;
146842  }
146843  catch(...)
146844  {
146845  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146846  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146847  SWIG_fail;
146848  }
146849  }
146850  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
146851  if (SWIG_IsNewObj(res2)) delete arg2;
146852  return resultobj;
146853 fail:
146854  if (SWIG_IsNewObj(res2)) delete arg2;
146855  return NULL;
146856 }
146857 
146858 
146859 SWIGINTERN PyObject *_wrap_MovableItem_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146860  PyObject *resultobj = 0;
146862  std::string *arg2 = 0 ;
146863  std::string *arg3 = 0 ;
146864  bool arg4 ;
146865  void *argp1 = 0 ;
146866  int res1 = 0 ;
146867  int res2 = SWIG_OLDOBJ ;
146868  int res3 = SWIG_OLDOBJ ;
146869  bool val4 ;
146870  int ecode4 = 0 ;
146871  PyObject * obj0 = 0 ;
146872  PyObject * obj1 = 0 ;
146873  PyObject * obj2 = 0 ;
146874  PyObject * obj3 = 0 ;
146875  bool result;
146876 
146877  if (!PyArg_ParseTuple(args,(char *)"OOOO:MovableItem_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
146878  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146879  if (!SWIG_IsOK(res1)) {
146880  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146881  }
146882  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146883  {
146884  std::string *ptr = (std::string *)0;
146885  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
146886  if (!SWIG_IsOK(res2)) {
146887  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_SetData" "', argument " "2"" of type '" "std::string const &""'");
146888  }
146889  if (!ptr) {
146890  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_SetData" "', argument " "2"" of type '" "std::string const &""'");
146891  }
146892  arg2 = ptr;
146893  }
146894  {
146895  std::string *ptr = (std::string *)0;
146896  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
146897  if (!SWIG_IsOK(res3)) {
146898  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MovableItem_SetData" "', argument " "3"" of type '" "std::string const &""'");
146899  }
146900  if (!ptr) {
146901  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_SetData" "', argument " "3"" of type '" "std::string const &""'");
146902  }
146903  arg3 = ptr;
146904  }
146905  ecode4 = SWIG_AsVal_bool(obj3, &val4);
146906  if (!SWIG_IsOK(ecode4)) {
146907  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_SetData" "', argument " "4"" of type '" "bool""'");
146908  }
146909  arg4 = static_cast< bool >(val4);
146910  {
146911  try {
146912  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
146913  }
146914  catch(CStdErrorInfo oError)
146915  {
146916  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146917  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146918  PyErr_SetString(PyExc_IndexError, strError.c_str());
146919  SWIG_fail;
146920  }
146921  catch(...)
146922  {
146923  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146924  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146925  SWIG_fail;
146926  }
146927  }
146928  resultobj = SWIG_From_bool(static_cast< bool >(result));
146929  if (SWIG_IsNewObj(res2)) delete arg2;
146930  if (SWIG_IsNewObj(res3)) delete arg3;
146931  return resultobj;
146932 fail:
146933  if (SWIG_IsNewObj(res2)) delete arg2;
146934  if (SWIG_IsNewObj(res3)) delete arg3;
146935  return NULL;
146936 }
146937 
146938 
146939 SWIGINTERN PyObject *_wrap_MovableItem_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
146940  PyObject *resultobj = 0;
146942  std::string *arg2 = 0 ;
146943  std::string *arg3 = 0 ;
146944  void *argp1 = 0 ;
146945  int res1 = 0 ;
146946  int res2 = SWIG_OLDOBJ ;
146947  int res3 = SWIG_OLDOBJ ;
146948  PyObject * obj0 = 0 ;
146949  PyObject * obj1 = 0 ;
146950  PyObject * obj2 = 0 ;
146951  bool result;
146952 
146953  if (!PyArg_ParseTuple(args,(char *)"OOO:MovableItem_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
146954  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
146955  if (!SWIG_IsOK(res1)) {
146956  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
146957  }
146958  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
146959  {
146960  std::string *ptr = (std::string *)0;
146961  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
146962  if (!SWIG_IsOK(res2)) {
146963  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_SetData" "', argument " "2"" of type '" "std::string const &""'");
146964  }
146965  if (!ptr) {
146966  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_SetData" "', argument " "2"" of type '" "std::string const &""'");
146967  }
146968  arg2 = ptr;
146969  }
146970  {
146971  std::string *ptr = (std::string *)0;
146972  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
146973  if (!SWIG_IsOK(res3)) {
146974  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MovableItem_SetData" "', argument " "3"" of type '" "std::string const &""'");
146975  }
146976  if (!ptr) {
146977  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_SetData" "', argument " "3"" of type '" "std::string const &""'");
146978  }
146979  arg3 = ptr;
146980  }
146981  {
146982  try {
146983  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
146984  }
146985  catch(CStdErrorInfo oError)
146986  {
146987  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146988  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
146989  PyErr_SetString(PyExc_IndexError, strError.c_str());
146990  SWIG_fail;
146991  }
146992  catch(...)
146993  {
146994  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
146995  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
146996  SWIG_fail;
146997  }
146998  }
146999  resultobj = SWIG_From_bool(static_cast< bool >(result));
147000  if (SWIG_IsNewObj(res2)) delete arg2;
147001  if (SWIG_IsNewObj(res3)) delete arg3;
147002  return resultobj;
147003 fail:
147004  if (SWIG_IsNewObj(res2)) delete arg2;
147005  if (SWIG_IsNewObj(res3)) delete arg3;
147006  return NULL;
147007 }
147008 
147009 
147010 SWIGINTERN PyObject *_wrap_MovableItem_SetData(PyObject *self, PyObject *args) {
147011  int argc;
147012  PyObject *argv[5];
147013  int ii;
147014 
147015  if (!PyTuple_Check(args)) SWIG_fail;
147016  argc = args ? (int)PyObject_Length(args) : 0;
147017  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
147018  argv[ii] = PyTuple_GET_ITEM(args,ii);
147019  }
147020  if (argc == 3) {
147021  int _v;
147022  void *vptr = 0;
147023  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
147024  _v = SWIG_CheckState(res);
147025  if (_v) {
147026  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
147027  _v = SWIG_CheckState(res);
147028  if (_v) {
147029  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
147030  _v = SWIG_CheckState(res);
147031  if (_v) {
147032  return _wrap_MovableItem_SetData__SWIG_1(self, args);
147033  }
147034  }
147035  }
147036  }
147037  if (argc == 4) {
147038  int _v;
147039  void *vptr = 0;
147040  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0);
147041  _v = SWIG_CheckState(res);
147042  if (_v) {
147043  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
147044  _v = SWIG_CheckState(res);
147045  if (_v) {
147046  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
147047  _v = SWIG_CheckState(res);
147048  if (_v) {
147049  {
147050  int res = SWIG_AsVal_bool(argv[3], NULL);
147051  _v = SWIG_CheckState(res);
147052  }
147053  if (_v) {
147054  return _wrap_MovableItem_SetData__SWIG_0(self, args);
147055  }
147056  }
147057  }
147058  }
147059  }
147060 
147061 fail:
147062  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MovableItem_SetData'.\n"
147063  " Possible C/C++ prototypes are:\n"
147064  " AnimatSim::Environment::MovableItem::SetData(std::string const &,std::string const &,bool)\n"
147065  " AnimatSim::Environment::MovableItem::SetData(std::string const &,std::string const &)\n");
147066  return 0;
147067 }
147068 
147069 
147070 SWIGINTERN PyObject *_wrap_MovableItem_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147071  PyObject *resultobj = 0;
147073  CStdPtrArray< TypeProperty > *arg2 = 0 ;
147074  void *argp1 = 0 ;
147075  int res1 = 0 ;
147076  void *argp2 = 0 ;
147077  int res2 = 0 ;
147078  PyObject * obj0 = 0 ;
147079  PyObject * obj1 = 0 ;
147080 
147081  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_QueryProperties",&obj0,&obj1)) SWIG_fail;
147082  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
147083  if (!SWIG_IsOK(res1)) {
147084  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
147085  }
147086  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
147087  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
147088  if (!SWIG_IsOK(res2)) {
147089  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
147090  }
147091  if (!argp2) {
147092  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
147093  }
147094  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
147095  {
147096  try {
147097  (arg1)->QueryProperties(*arg2);
147098  }
147099  catch(CStdErrorInfo oError)
147100  {
147101  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147102  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147103  PyErr_SetString(PyExc_IndexError, strError.c_str());
147104  SWIG_fail;
147105  }
147106  catch(...)
147107  {
147108  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147109  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147110  SWIG_fail;
147111  }
147112  }
147113  resultobj = SWIG_Py_Void();
147114  return resultobj;
147115 fail:
147116  return NULL;
147117 }
147118 
147119 
147120 SWIGINTERN PyObject *_wrap_MovableItem_AddBodyClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147121  PyObject *resultobj = 0;
147123  float arg2 ;
147124  float arg3 ;
147125  float arg4 ;
147126  float arg5 ;
147127  float arg6 ;
147128  float arg7 ;
147129  void *argp1 = 0 ;
147130  int res1 = 0 ;
147131  float val2 ;
147132  int ecode2 = 0 ;
147133  float val3 ;
147134  int ecode3 = 0 ;
147135  float val4 ;
147136  int ecode4 = 0 ;
147137  float val5 ;
147138  int ecode5 = 0 ;
147139  float val6 ;
147140  int ecode6 = 0 ;
147141  float val7 ;
147142  int ecode7 = 0 ;
147143  PyObject * obj0 = 0 ;
147144  PyObject * obj1 = 0 ;
147145  PyObject * obj2 = 0 ;
147146  PyObject * obj3 = 0 ;
147147  PyObject * obj4 = 0 ;
147148  PyObject * obj5 = 0 ;
147149  PyObject * obj6 = 0 ;
147150 
147151  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:MovableItem_AddBodyClicked",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
147152  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
147153  if (!SWIG_IsOK(res1)) {
147154  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_AddBodyClicked" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
147155  }
147156  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
147157  ecode2 = SWIG_AsVal_float(obj1, &val2);
147158  if (!SWIG_IsOK(ecode2)) {
147159  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_AddBodyClicked" "', argument " "2"" of type '" "float""'");
147160  }
147161  arg2 = static_cast< float >(val2);
147162  ecode3 = SWIG_AsVal_float(obj2, &val3);
147163  if (!SWIG_IsOK(ecode3)) {
147164  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_AddBodyClicked" "', argument " "3"" of type '" "float""'");
147165  }
147166  arg3 = static_cast< float >(val3);
147167  ecode4 = SWIG_AsVal_float(obj3, &val4);
147168  if (!SWIG_IsOK(ecode4)) {
147169  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_AddBodyClicked" "', argument " "4"" of type '" "float""'");
147170  }
147171  arg4 = static_cast< float >(val4);
147172  ecode5 = SWIG_AsVal_float(obj4, &val5);
147173  if (!SWIG_IsOK(ecode5)) {
147174  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "MovableItem_AddBodyClicked" "', argument " "5"" of type '" "float""'");
147175  }
147176  arg5 = static_cast< float >(val5);
147177  ecode6 = SWIG_AsVal_float(obj5, &val6);
147178  if (!SWIG_IsOK(ecode6)) {
147179  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "MovableItem_AddBodyClicked" "', argument " "6"" of type '" "float""'");
147180  }
147181  arg6 = static_cast< float >(val6);
147182  ecode7 = SWIG_AsVal_float(obj6, &val7);
147183  if (!SWIG_IsOK(ecode7)) {
147184  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MovableItem_AddBodyClicked" "', argument " "7"" of type '" "float""'");
147185  }
147186  arg7 = static_cast< float >(val7);
147187  {
147188  try {
147189  (arg1)->AddBodyClicked(arg2,arg3,arg4,arg5,arg6,arg7);
147190  }
147191  catch(CStdErrorInfo oError)
147192  {
147193  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147194  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147195  PyErr_SetString(PyExc_IndexError, strError.c_str());
147196  SWIG_fail;
147197  }
147198  catch(...)
147199  {
147200  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147201  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147202  SWIG_fail;
147203  }
147204  }
147205  resultobj = SWIG_Py_Void();
147206  return resultobj;
147207 fail:
147208  return NULL;
147209 }
147210 
147211 
147212 SWIGINTERN PyObject *_wrap_MovableItem_Selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147213  PyObject *resultobj = 0;
147215  bool arg2 ;
147216  bool arg3 ;
147217  void *argp1 = 0 ;
147218  int res1 = 0 ;
147219  bool val2 ;
147220  int ecode2 = 0 ;
147221  bool val3 ;
147222  int ecode3 = 0 ;
147223  PyObject * obj0 = 0 ;
147224  PyObject * obj1 = 0 ;
147225  PyObject * obj2 = 0 ;
147226 
147227  if (!PyArg_ParseTuple(args,(char *)"OOO:MovableItem_Selected",&obj0,&obj1,&obj2)) SWIG_fail;
147228  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
147229  if (!SWIG_IsOK(res1)) {
147230  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Selected" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
147231  }
147232  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
147233  ecode2 = SWIG_AsVal_bool(obj1, &val2);
147234  if (!SWIG_IsOK(ecode2)) {
147235  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_Selected" "', argument " "2"" of type '" "bool""'");
147236  }
147237  arg2 = static_cast< bool >(val2);
147238  ecode3 = SWIG_AsVal_bool(obj2, &val3);
147239  if (!SWIG_IsOK(ecode3)) {
147240  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_Selected" "', argument " "3"" of type '" "bool""'");
147241  }
147242  arg3 = static_cast< bool >(val3);
147243  {
147244  try {
147245  (arg1)->Selected(arg2,arg3);
147246  }
147247  catch(CStdErrorInfo oError)
147248  {
147249  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147250  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147251  PyErr_SetString(PyExc_IndexError, strError.c_str());
147252  SWIG_fail;
147253  }
147254  catch(...)
147255  {
147256  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147257  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147258  SWIG_fail;
147259  }
147260  }
147261  resultobj = SWIG_Py_Void();
147262  return resultobj;
147263 fail:
147264  return NULL;
147265 }
147266 
147267 
147268 SWIGINTERN PyObject *_wrap_MovableItem_VisualSelectionModeChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147269  PyObject *resultobj = 0;
147271  int arg2 ;
147272  void *argp1 = 0 ;
147273  int res1 = 0 ;
147274  int val2 ;
147275  int ecode2 = 0 ;
147276  PyObject * obj0 = 0 ;
147277  PyObject * obj1 = 0 ;
147278 
147279  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_VisualSelectionModeChanged",&obj0,&obj1)) SWIG_fail;
147280  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
147281  if (!SWIG_IsOK(res1)) {
147282  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_VisualSelectionModeChanged" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
147283  }
147284  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
147285  ecode2 = SWIG_AsVal_int(obj1, &val2);
147286  if (!SWIG_IsOK(ecode2)) {
147287  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_VisualSelectionModeChanged" "', argument " "2"" of type '" "int""'");
147288  }
147289  arg2 = static_cast< int >(val2);
147290  {
147291  try {
147292  (arg1)->VisualSelectionModeChanged(arg2);
147293  }
147294  catch(CStdErrorInfo oError)
147295  {
147296  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147297  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147298  PyErr_SetString(PyExc_IndexError, strError.c_str());
147299  SWIG_fail;
147300  }
147301  catch(...)
147302  {
147303  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147304  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147305  SWIG_fail;
147306  }
147307  }
147308  resultobj = SWIG_Py_Void();
147309  return resultobj;
147310 fail:
147311  return NULL;
147312 }
147313 
147314 
147315 SWIGINTERN PyObject *_wrap_MovableItem_OrientNewPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147316  PyObject *resultobj = 0;
147318  float arg2 ;
147319  float arg3 ;
147320  float arg4 ;
147321  float arg5 ;
147322  float arg6 ;
147323  float arg7 ;
147324  void *argp1 = 0 ;
147325  int res1 = 0 ;
147326  float val2 ;
147327  int ecode2 = 0 ;
147328  float val3 ;
147329  int ecode3 = 0 ;
147330  float val4 ;
147331  int ecode4 = 0 ;
147332  float val5 ;
147333  int ecode5 = 0 ;
147334  float val6 ;
147335  int ecode6 = 0 ;
147336  float val7 ;
147337  int ecode7 = 0 ;
147338  PyObject * obj0 = 0 ;
147339  PyObject * obj1 = 0 ;
147340  PyObject * obj2 = 0 ;
147341  PyObject * obj3 = 0 ;
147342  PyObject * obj4 = 0 ;
147343  PyObject * obj5 = 0 ;
147344  PyObject * obj6 = 0 ;
147345 
147346  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:MovableItem_OrientNewPart",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
147347  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
147348  if (!SWIG_IsOK(res1)) {
147349  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_OrientNewPart" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
147350  }
147351  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
147352  ecode2 = SWIG_AsVal_float(obj1, &val2);
147353  if (!SWIG_IsOK(ecode2)) {
147354  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_OrientNewPart" "', argument " "2"" of type '" "float""'");
147355  }
147356  arg2 = static_cast< float >(val2);
147357  ecode3 = SWIG_AsVal_float(obj2, &val3);
147358  if (!SWIG_IsOK(ecode3)) {
147359  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_OrientNewPart" "', argument " "3"" of type '" "float""'");
147360  }
147361  arg3 = static_cast< float >(val3);
147362  ecode4 = SWIG_AsVal_float(obj3, &val4);
147363  if (!SWIG_IsOK(ecode4)) {
147364  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_OrientNewPart" "', argument " "4"" of type '" "float""'");
147365  }
147366  arg4 = static_cast< float >(val4);
147367  ecode5 = SWIG_AsVal_float(obj4, &val5);
147368  if (!SWIG_IsOK(ecode5)) {
147369  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "MovableItem_OrientNewPart" "', argument " "5"" of type '" "float""'");
147370  }
147371  arg5 = static_cast< float >(val5);
147372  ecode6 = SWIG_AsVal_float(obj5, &val6);
147373  if (!SWIG_IsOK(ecode6)) {
147374  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "MovableItem_OrientNewPart" "', argument " "6"" of type '" "float""'");
147375  }
147376  arg6 = static_cast< float >(val6);
147377  ecode7 = SWIG_AsVal_float(obj6, &val7);
147378  if (!SWIG_IsOK(ecode7)) {
147379  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MovableItem_OrientNewPart" "', argument " "7"" of type '" "float""'");
147380  }
147381  arg7 = static_cast< float >(val7);
147382  {
147383  try {
147384  (arg1)->OrientNewPart(arg2,arg3,arg4,arg5,arg6,arg7);
147385  }
147386  catch(CStdErrorInfo oError)
147387  {
147388  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147389  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147390  PyErr_SetString(PyExc_IndexError, strError.c_str());
147391  SWIG_fail;
147392  }
147393  catch(...)
147394  {
147395  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147396  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147397  SWIG_fail;
147398  }
147399  }
147400  resultobj = SWIG_Py_Void();
147401  return resultobj;
147402 fail:
147403  return NULL;
147404 }
147405 
147406 
147407 SWIGINTERN PyObject *_wrap_MovableItem_CalculateLocalPosForWorldPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147408  PyObject *resultobj = 0;
147410  float arg2 ;
147411  float arg3 ;
147412  float arg4 ;
147413  CStdPoint< float > *arg5 = 0 ;
147414  void *argp1 = 0 ;
147415  int res1 = 0 ;
147416  float val2 ;
147417  int ecode2 = 0 ;
147418  float val3 ;
147419  int ecode3 = 0 ;
147420  float val4 ;
147421  int ecode4 = 0 ;
147422  void *argp5 = 0 ;
147423  int res5 = 0 ;
147424  PyObject * obj0 = 0 ;
147425  PyObject * obj1 = 0 ;
147426  PyObject * obj2 = 0 ;
147427  PyObject * obj3 = 0 ;
147428  PyObject * obj4 = 0 ;
147429  bool result;
147430 
147431  if (!PyArg_ParseTuple(args,(char *)"OOOOO:MovableItem_CalculateLocalPosForWorldPos",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
147432  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
147433  if (!SWIG_IsOK(res1)) {
147434  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_CalculateLocalPosForWorldPos" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
147435  }
147436  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
147437  ecode2 = SWIG_AsVal_float(obj1, &val2);
147438  if (!SWIG_IsOK(ecode2)) {
147439  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MovableItem_CalculateLocalPosForWorldPos" "', argument " "2"" of type '" "float""'");
147440  }
147441  arg2 = static_cast< float >(val2);
147442  ecode3 = SWIG_AsVal_float(obj2, &val3);
147443  if (!SWIG_IsOK(ecode3)) {
147444  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MovableItem_CalculateLocalPosForWorldPos" "', argument " "3"" of type '" "float""'");
147445  }
147446  arg3 = static_cast< float >(val3);
147447  ecode4 = SWIG_AsVal_float(obj3, &val4);
147448  if (!SWIG_IsOK(ecode4)) {
147449  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MovableItem_CalculateLocalPosForWorldPos" "', argument " "4"" of type '" "float""'");
147450  }
147451  arg4 = static_cast< float >(val4);
147452  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_CStdPointT_float_t, 0 );
147453  if (!SWIG_IsOK(res5)) {
147454  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "MovableItem_CalculateLocalPosForWorldPos" "', argument " "5"" of type '" "CStdPoint< float > &""'");
147455  }
147456  if (!argp5) {
147457  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_CalculateLocalPosForWorldPos" "', argument " "5"" of type '" "CStdPoint< float > &""'");
147458  }
147459  arg5 = reinterpret_cast< CStdPoint< float > * >(argp5);
147460  {
147461  try {
147462  result = (bool)(arg1)->CalculateLocalPosForWorldPos(arg2,arg3,arg4,*arg5);
147463  }
147464  catch(CStdErrorInfo oError)
147465  {
147466  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147467  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147468  PyErr_SetString(PyExc_IndexError, strError.c_str());
147469  SWIG_fail;
147470  }
147471  catch(...)
147472  {
147473  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147474  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147475  SWIG_fail;
147476  }
147477  }
147478  resultobj = SWIG_From_bool(static_cast< bool >(result));
147479  return resultobj;
147480 fail:
147481  return NULL;
147482 }
147483 
147484 
147485 SWIGINTERN PyObject *_wrap_MovableItem_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147486  PyObject *resultobj = 0;
147488  CStdXml *arg2 = 0 ;
147489  void *argp1 = 0 ;
147490  int res1 = 0 ;
147491  void *argp2 = 0 ;
147492  int res2 = 0 ;
147493  PyObject * obj0 = 0 ;
147494  PyObject * obj1 = 0 ;
147495 
147496  if (!PyArg_ParseTuple(args,(char *)"OO:MovableItem_Load",&obj0,&obj1)) SWIG_fail;
147497  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MovableItem, 0 | 0 );
147498  if (!SWIG_IsOK(res1)) {
147499  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MovableItem_Load" "', argument " "1"" of type '" "AnimatSim::Environment::MovableItem *""'");
147500  }
147501  arg1 = reinterpret_cast< AnimatSim::Environment::MovableItem * >(argp1);
147502  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
147503  if (!SWIG_IsOK(res2)) {
147504  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MovableItem_Load" "', argument " "2"" of type '" "CStdXml &""'");
147505  }
147506  if (!argp2) {
147507  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MovableItem_Load" "', argument " "2"" of type '" "CStdXml &""'");
147508  }
147509  arg2 = reinterpret_cast< CStdXml * >(argp2);
147510  {
147511  try {
147512  (arg1)->Load(*arg2);
147513  }
147514  catch(CStdErrorInfo oError)
147515  {
147516  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147517  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147518  PyErr_SetString(PyExc_IndexError, strError.c_str());
147519  SWIG_fail;
147520  }
147521  catch(...)
147522  {
147523  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147524  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147525  SWIG_fail;
147526  }
147527  }
147528  resultobj = SWIG_Py_Void();
147529  return resultobj;
147530 fail:
147531  return NULL;
147532 }
147533 
147534 
147535 SWIGINTERN PyObject *MovableItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147536  PyObject *obj;
147537  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
147538  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__MovableItem, SWIG_NewClientData(obj));
147539  return SWIG_Py_Void();
147540 }
147541 
147542 SWIGINTERN PyObject *_wrap_delete_BodyPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147543  PyObject *resultobj = 0;
147545  void *argp1 = 0 ;
147546  int res1 = 0 ;
147547  PyObject * obj0 = 0 ;
147548 
147549  if (!PyArg_ParseTuple(args,(char *)"O:delete_BodyPart",&obj0)) SWIG_fail;
147550  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, SWIG_POINTER_DISOWN | 0 );
147551  if (!SWIG_IsOK(res1)) {
147552  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BodyPart" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
147553  }
147554  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
147555  {
147556  try {
147557  delete arg1;
147558  }
147559  catch(CStdErrorInfo oError)
147560  {
147561  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147562  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147563  PyErr_SetString(PyExc_IndexError, strError.c_str());
147564  SWIG_fail;
147565  }
147566  catch(...)
147567  {
147568  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147569  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147570  SWIG_fail;
147571  }
147572  }
147573  resultobj = SWIG_Py_Void();
147574  return resultobj;
147575 fail:
147576  return NULL;
147577 }
147578 
147579 
147580 SWIGINTERN PyObject *_wrap_BodyPart_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147581  PyObject *resultobj = 0;
147583  void *argp1 = 0 ;
147584  int res1 = 0 ;
147585  PyObject * obj0 = 0 ;
147586  AnimatSim::Environment::BodyPart *result = 0 ;
147587 
147588  if (!PyArg_ParseTuple(args,(char *)"O:BodyPart_CastToDerived",&obj0)) SWIG_fail;
147589  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
147590  if (!SWIG_IsOK(res1)) {
147591  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
147592  }
147593  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
147594  {
147595  try {
147596  result = (AnimatSim::Environment::BodyPart *)AnimatSim::Environment::BodyPart::CastToDerived(arg1);
147597  }
147598  catch(CStdErrorInfo oError)
147599  {
147600  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147601  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147602  PyErr_SetString(PyExc_IndexError, strError.c_str());
147603  SWIG_fail;
147604  }
147605  catch(...)
147606  {
147607  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147608  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147609  SWIG_fail;
147610  }
147611  }
147612  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
147613  return resultobj;
147614 fail:
147615  return NULL;
147616 }
147617 
147618 
147619 SWIGINTERN PyObject *_wrap_BodyPart_PhysicsBody__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147620  PyObject *resultobj = 0;
147622  void *argp1 = 0 ;
147623  int res1 = 0 ;
147624  PyObject * obj0 = 0 ;
147626 
147627  if (!PyArg_ParseTuple(args,(char *)"O:BodyPart_PhysicsBody",&obj0)) SWIG_fail;
147628  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
147629  if (!SWIG_IsOK(res1)) {
147630  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_PhysicsBody" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
147631  }
147632  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
147633  {
147634  try {
147635  result = (AnimatSim::Environment::IPhysicsBody *)(arg1)->PhysicsBody();
147636  }
147637  catch(CStdErrorInfo oError)
147638  {
147639  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147640  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147641  PyErr_SetString(PyExc_IndexError, strError.c_str());
147642  SWIG_fail;
147643  }
147644  catch(...)
147645  {
147646  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147647  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147648  SWIG_fail;
147649  }
147650  }
147651  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
147652  return resultobj;
147653 fail:
147654  return NULL;
147655 }
147656 
147657 
147658 SWIGINTERN PyObject *_wrap_BodyPart_PhysicsBody__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147659  PyObject *resultobj = 0;
147662  void *argp1 = 0 ;
147663  int res1 = 0 ;
147664  void *argp2 = 0 ;
147665  int res2 = 0 ;
147666  PyObject * obj0 = 0 ;
147667  PyObject * obj1 = 0 ;
147668 
147669  if (!PyArg_ParseTuple(args,(char *)"OO:BodyPart_PhysicsBody",&obj0,&obj1)) SWIG_fail;
147670  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
147671  if (!SWIG_IsOK(res1)) {
147672  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_PhysicsBody" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
147673  }
147674  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
147675  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0 | 0 );
147676  if (!SWIG_IsOK(res2)) {
147677  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BodyPart_PhysicsBody" "', argument " "2"" of type '" "AnimatSim::Environment::IPhysicsBody *""'");
147678  }
147679  arg2 = reinterpret_cast< AnimatSim::Environment::IPhysicsBody * >(argp2);
147680  {
147681  try {
147682  (arg1)->PhysicsBody(arg2);
147683  }
147684  catch(CStdErrorInfo oError)
147685  {
147686  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147687  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147688  PyErr_SetString(PyExc_IndexError, strError.c_str());
147689  SWIG_fail;
147690  }
147691  catch(...)
147692  {
147693  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147694  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147695  SWIG_fail;
147696  }
147697  }
147698  resultobj = SWIG_Py_Void();
147699  return resultobj;
147700 fail:
147701  return NULL;
147702 }
147703 
147704 
147705 SWIGINTERN PyObject *_wrap_BodyPart_PhysicsBody(PyObject *self, PyObject *args) {
147706  int argc;
147707  PyObject *argv[3];
147708  int ii;
147709 
147710  if (!PyTuple_Check(args)) SWIG_fail;
147711  argc = args ? (int)PyObject_Length(args) : 0;
147712  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
147713  argv[ii] = PyTuple_GET_ITEM(args,ii);
147714  }
147715  if (argc == 1) {
147716  int _v;
147717  void *vptr = 0;
147718  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0);
147719  _v = SWIG_CheckState(res);
147720  if (_v) {
147721  return _wrap_BodyPart_PhysicsBody__SWIG_0(self, args);
147722  }
147723  }
147724  if (argc == 2) {
147725  int _v;
147726  void *vptr = 0;
147727  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0);
147728  _v = SWIG_CheckState(res);
147729  if (_v) {
147730  void *vptr = 0;
147731  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody, 0);
147732  _v = SWIG_CheckState(res);
147733  if (_v) {
147734  return _wrap_BodyPart_PhysicsBody__SWIG_1(self, args);
147735  }
147736  }
147737  }
147738 
147739 fail:
147740  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BodyPart_PhysicsBody'.\n"
147741  " Possible C/C++ prototypes are:\n"
147742  " AnimatSim::Environment::BodyPart::PhysicsBody()\n"
147743  " AnimatSim::Environment::BodyPart::PhysicsBody(AnimatSim::Environment::IPhysicsBody *)\n");
147744  return 0;
147745 }
147746 
147747 
147748 SWIGINTERN PyObject *_wrap_BodyPart_GetRobotPartInterfaces(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147749  PyObject *resultobj = 0;
147751  void *argp1 = 0 ;
147752  int res1 = 0 ;
147753  PyObject * obj0 = 0 ;
147754  CStdArray< RobotPartInterface * > *result = 0 ;
147755 
147756  if (!PyArg_ParseTuple(args,(char *)"O:BodyPart_GetRobotPartInterfaces",&obj0)) SWIG_fail;
147757  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
147758  if (!SWIG_IsOK(res1)) {
147759  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_GetRobotPartInterfaces" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
147760  }
147761  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
147762  {
147763  try {
147764  result = (CStdArray< RobotPartInterface * > *)(arg1)->GetRobotPartInterfaces();
147765  }
147766  catch(CStdErrorInfo oError)
147767  {
147768  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147769  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147770  PyErr_SetString(PyExc_IndexError, strError.c_str());
147771  SWIG_fail;
147772  }
147773  catch(...)
147774  {
147775  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147776  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147777  SWIG_fail;
147778  }
147779  }
147780  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdArrayT_RobotPartInterface_p_t, 0 | 0 );
147781  return resultobj;
147782 fail:
147783  return NULL;
147784 }
147785 
147786 
147787 SWIGINTERN PyObject *_wrap_BodyPart_AddRobotPartInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147788  PyObject *resultobj = 0;
147790  RobotPartInterface *arg2 = (RobotPartInterface *) 0 ;
147791  void *argp1 = 0 ;
147792  int res1 = 0 ;
147793  void *argp2 = 0 ;
147794  int res2 = 0 ;
147795  PyObject * obj0 = 0 ;
147796  PyObject * obj1 = 0 ;
147797 
147798  if (!PyArg_ParseTuple(args,(char *)"OO:BodyPart_AddRobotPartInterface",&obj0,&obj1)) SWIG_fail;
147799  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
147800  if (!SWIG_IsOK(res1)) {
147801  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_AddRobotPartInterface" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
147802  }
147803  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
147804  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RobotPartInterface, 0 | 0 );
147805  if (!SWIG_IsOK(res2)) {
147806  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BodyPart_AddRobotPartInterface" "', argument " "2"" of type '" "RobotPartInterface *""'");
147807  }
147808  arg2 = reinterpret_cast< RobotPartInterface * >(argp2);
147809  {
147810  try {
147811  (arg1)->AddRobotPartInterface(arg2);
147812  }
147813  catch(CStdErrorInfo oError)
147814  {
147815  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147816  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147817  PyErr_SetString(PyExc_IndexError, strError.c_str());
147818  SWIG_fail;
147819  }
147820  catch(...)
147821  {
147822  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147823  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147824  SWIG_fail;
147825  }
147826  }
147827  resultobj = SWIG_Py_Void();
147828  return resultobj;
147829 fail:
147830  return NULL;
147831 }
147832 
147833 
147834 SWIGINTERN PyObject *_wrap_BodyPart_RemoveRobotPartInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147835  PyObject *resultobj = 0;
147837  RobotPartInterface *arg2 = (RobotPartInterface *) 0 ;
147838  void *argp1 = 0 ;
147839  int res1 = 0 ;
147840  void *argp2 = 0 ;
147841  int res2 = 0 ;
147842  PyObject * obj0 = 0 ;
147843  PyObject * obj1 = 0 ;
147844 
147845  if (!PyArg_ParseTuple(args,(char *)"OO:BodyPart_RemoveRobotPartInterface",&obj0,&obj1)) SWIG_fail;
147846  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
147847  if (!SWIG_IsOK(res1)) {
147848  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_RemoveRobotPartInterface" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
147849  }
147850  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
147851  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RobotPartInterface, 0 | 0 );
147852  if (!SWIG_IsOK(res2)) {
147853  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BodyPart_RemoveRobotPartInterface" "', argument " "2"" of type '" "RobotPartInterface *""'");
147854  }
147855  arg2 = reinterpret_cast< RobotPartInterface * >(argp2);
147856  {
147857  try {
147858  (arg1)->RemoveRobotPartInterface(arg2);
147859  }
147860  catch(CStdErrorInfo oError)
147861  {
147862  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147863  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147864  PyErr_SetString(PyExc_IndexError, strError.c_str());
147865  SWIG_fail;
147866  }
147867  catch(...)
147868  {
147869  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147870  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147871  SWIG_fail;
147872  }
147873  }
147874  resultobj = SWIG_Py_Void();
147875  return resultobj;
147876 fail:
147877  return NULL;
147878 }
147879 
147880 
147881 SWIGINTERN PyObject *_wrap_BodyPart_FindRobotPartListIndex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147882  PyObject *resultobj = 0;
147884  std::string arg2 ;
147885  bool arg3 ;
147886  void *argp1 = 0 ;
147887  int res1 = 0 ;
147888  bool val3 ;
147889  int ecode3 = 0 ;
147890  PyObject * obj0 = 0 ;
147891  PyObject * obj1 = 0 ;
147892  PyObject * obj2 = 0 ;
147893  int result;
147894 
147895  if (!PyArg_ParseTuple(args,(char *)"OOO:BodyPart_FindRobotPartListIndex",&obj0,&obj1,&obj2)) SWIG_fail;
147896  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
147897  if (!SWIG_IsOK(res1)) {
147898  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_FindRobotPartListIndex" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
147899  }
147900  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
147901  {
147902  std::string *ptr = (std::string *)0;
147903  int res = SWIG_AsPtr_std_string(obj1, &ptr);
147904  if (!SWIG_IsOK(res) || !ptr) {
147905  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "BodyPart_FindRobotPartListIndex" "', argument " "2"" of type '" "std::string""'");
147906  }
147907  arg2 = *ptr;
147908  if (SWIG_IsNewObj(res)) delete ptr;
147909  }
147910  ecode3 = SWIG_AsVal_bool(obj2, &val3);
147911  if (!SWIG_IsOK(ecode3)) {
147912  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BodyPart_FindRobotPartListIndex" "', argument " "3"" of type '" "bool""'");
147913  }
147914  arg3 = static_cast< bool >(val3);
147915  {
147916  try {
147917  result = (int)(arg1)->FindRobotPartListIndex(arg2,arg3);
147918  }
147919  catch(CStdErrorInfo oError)
147920  {
147921  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147922  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147923  PyErr_SetString(PyExc_IndexError, strError.c_str());
147924  SWIG_fail;
147925  }
147926  catch(...)
147927  {
147928  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147929  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147930  SWIG_fail;
147931  }
147932  }
147933  resultobj = SWIG_From_int(static_cast< int >(result));
147934  return resultobj;
147935 fail:
147936  return NULL;
147937 }
147938 
147939 
147940 SWIGINTERN PyObject *_wrap_BodyPart_FindRobotPartListIndex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
147941  PyObject *resultobj = 0;
147943  std::string arg2 ;
147944  void *argp1 = 0 ;
147945  int res1 = 0 ;
147946  PyObject * obj0 = 0 ;
147947  PyObject * obj1 = 0 ;
147948  int result;
147949 
147950  if (!PyArg_ParseTuple(args,(char *)"OO:BodyPart_FindRobotPartListIndex",&obj0,&obj1)) SWIG_fail;
147951  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
147952  if (!SWIG_IsOK(res1)) {
147953  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_FindRobotPartListIndex" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
147954  }
147955  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
147956  {
147957  std::string *ptr = (std::string *)0;
147958  int res = SWIG_AsPtr_std_string(obj1, &ptr);
147959  if (!SWIG_IsOK(res) || !ptr) {
147960  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "BodyPart_FindRobotPartListIndex" "', argument " "2"" of type '" "std::string""'");
147961  }
147962  arg2 = *ptr;
147963  if (SWIG_IsNewObj(res)) delete ptr;
147964  }
147965  {
147966  try {
147967  result = (int)(arg1)->FindRobotPartListIndex(arg2);
147968  }
147969  catch(CStdErrorInfo oError)
147970  {
147971  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147972  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
147973  PyErr_SetString(PyExc_IndexError, strError.c_str());
147974  SWIG_fail;
147975  }
147976  catch(...)
147977  {
147978  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
147979  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
147980  SWIG_fail;
147981  }
147982  }
147983  resultobj = SWIG_From_int(static_cast< int >(result));
147984  return resultobj;
147985 fail:
147986  return NULL;
147987 }
147988 
147989 
147990 SWIGINTERN PyObject *_wrap_BodyPart_FindRobotPartListIndex(PyObject *self, PyObject *args) {
147991  int argc;
147992  PyObject *argv[4];
147993  int ii;
147994 
147995  if (!PyTuple_Check(args)) SWIG_fail;
147996  argc = args ? (int)PyObject_Length(args) : 0;
147997  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
147998  argv[ii] = PyTuple_GET_ITEM(args,ii);
147999  }
148000  if (argc == 2) {
148001  int _v;
148002  void *vptr = 0;
148003  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0);
148004  _v = SWIG_CheckState(res);
148005  if (_v) {
148006  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
148007  _v = SWIG_CheckState(res);
148008  if (_v) {
148009  return _wrap_BodyPart_FindRobotPartListIndex__SWIG_1(self, args);
148010  }
148011  }
148012  }
148013  if (argc == 3) {
148014  int _v;
148015  void *vptr = 0;
148016  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0);
148017  _v = SWIG_CheckState(res);
148018  if (_v) {
148019  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
148020  _v = SWIG_CheckState(res);
148021  if (_v) {
148022  {
148023  int res = SWIG_AsVal_bool(argv[2], NULL);
148024  _v = SWIG_CheckState(res);
148025  }
148026  if (_v) {
148027  return _wrap_BodyPart_FindRobotPartListIndex__SWIG_0(self, args);
148028  }
148029  }
148030  }
148031  }
148032 
148033 fail:
148034  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BodyPart_FindRobotPartListIndex'.\n"
148035  " Possible C/C++ prototypes are:\n"
148036  " AnimatSim::Environment::BodyPart::FindRobotPartListIndex(std::string,bool)\n"
148037  " AnimatSim::Environment::BodyPart::FindRobotPartListIndex(std::string)\n");
148038  return 0;
148039 }
148040 
148041 
148042 SWIGINTERN PyObject *_wrap_BodyPart_SynchWithRobot__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148043  PyObject *resultobj = 0;
148045  void *argp1 = 0 ;
148046  int res1 = 0 ;
148047  PyObject * obj0 = 0 ;
148048  bool result;
148049 
148050  if (!PyArg_ParseTuple(args,(char *)"O:BodyPart_SynchWithRobot",&obj0)) SWIG_fail;
148051  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148052  if (!SWIG_IsOK(res1)) {
148053  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_SynchWithRobot" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148054  }
148055  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148056  {
148057  try {
148058  result = (bool)(arg1)->SynchWithRobot();
148059  }
148060  catch(CStdErrorInfo oError)
148061  {
148062  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148063  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148064  PyErr_SetString(PyExc_IndexError, strError.c_str());
148065  SWIG_fail;
148066  }
148067  catch(...)
148068  {
148069  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148070  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148071  SWIG_fail;
148072  }
148073  }
148074  resultobj = SWIG_From_bool(static_cast< bool >(result));
148075  return resultobj;
148076 fail:
148077  return NULL;
148078 }
148079 
148080 
148081 SWIGINTERN PyObject *_wrap_BodyPart_SynchWithRobot__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148082  PyObject *resultobj = 0;
148084  bool arg2 ;
148085  void *argp1 = 0 ;
148086  int res1 = 0 ;
148087  bool val2 ;
148088  int ecode2 = 0 ;
148089  PyObject * obj0 = 0 ;
148090  PyObject * obj1 = 0 ;
148091 
148092  if (!PyArg_ParseTuple(args,(char *)"OO:BodyPart_SynchWithRobot",&obj0,&obj1)) SWIG_fail;
148093  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148094  if (!SWIG_IsOK(res1)) {
148095  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_SynchWithRobot" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148096  }
148097  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148098  ecode2 = SWIG_AsVal_bool(obj1, &val2);
148099  if (!SWIG_IsOK(ecode2)) {
148100  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BodyPart_SynchWithRobot" "', argument " "2"" of type '" "bool""'");
148101  }
148102  arg2 = static_cast< bool >(val2);
148103  {
148104  try {
148105  (arg1)->SynchWithRobot(arg2);
148106  }
148107  catch(CStdErrorInfo oError)
148108  {
148109  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148110  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148111  PyErr_SetString(PyExc_IndexError, strError.c_str());
148112  SWIG_fail;
148113  }
148114  catch(...)
148115  {
148116  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148117  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148118  SWIG_fail;
148119  }
148120  }
148121  resultobj = SWIG_Py_Void();
148122  return resultobj;
148123 fail:
148124  return NULL;
148125 }
148126 
148127 
148128 SWIGINTERN PyObject *_wrap_BodyPart_SynchWithRobot(PyObject *self, PyObject *args) {
148129  int argc;
148130  PyObject *argv[3];
148131  int ii;
148132 
148133  if (!PyTuple_Check(args)) SWIG_fail;
148134  argc = args ? (int)PyObject_Length(args) : 0;
148135  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
148136  argv[ii] = PyTuple_GET_ITEM(args,ii);
148137  }
148138  if (argc == 1) {
148139  int _v;
148140  void *vptr = 0;
148141  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0);
148142  _v = SWIG_CheckState(res);
148143  if (_v) {
148144  return _wrap_BodyPart_SynchWithRobot__SWIG_0(self, args);
148145  }
148146  }
148147  if (argc == 2) {
148148  int _v;
148149  void *vptr = 0;
148150  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0);
148151  _v = SWIG_CheckState(res);
148152  if (_v) {
148153  {
148154  int res = SWIG_AsVal_bool(argv[1], NULL);
148155  _v = SWIG_CheckState(res);
148156  }
148157  if (_v) {
148158  return _wrap_BodyPart_SynchWithRobot__SWIG_1(self, args);
148159  }
148160  }
148161  }
148162 
148163 fail:
148164  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BodyPart_SynchWithRobot'.\n"
148165  " Possible C/C++ prototypes are:\n"
148166  " AnimatSim::Environment::BodyPart::SynchWithRobot()\n"
148167  " AnimatSim::Environment::BodyPart::SynchWithRobot(bool)\n");
148168  return 0;
148169 }
148170 
148171 
148172 SWIGINTERN PyObject *_wrap_BodyPart_SynchUpdateInterval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148173  PyObject *resultobj = 0;
148175  void *argp1 = 0 ;
148176  int res1 = 0 ;
148177  PyObject * obj0 = 0 ;
148178  float result;
148179 
148180  if (!PyArg_ParseTuple(args,(char *)"O:BodyPart_SynchUpdateInterval",&obj0)) SWIG_fail;
148181  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148182  if (!SWIG_IsOK(res1)) {
148183  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_SynchUpdateInterval" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148184  }
148185  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148186  {
148187  try {
148188  result = (float)(arg1)->SynchUpdateInterval();
148189  }
148190  catch(CStdErrorInfo oError)
148191  {
148192  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148193  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148194  PyErr_SetString(PyExc_IndexError, strError.c_str());
148195  SWIG_fail;
148196  }
148197  catch(...)
148198  {
148199  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148200  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148201  SWIG_fail;
148202  }
148203  }
148204  resultobj = SWIG_From_float(static_cast< float >(result));
148205  return resultobj;
148206 fail:
148207  return NULL;
148208 }
148209 
148210 
148211 SWIGINTERN PyObject *_wrap_BodyPart_SynchUpdateInterval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148212  PyObject *resultobj = 0;
148214  float arg2 ;
148215  void *argp1 = 0 ;
148216  int res1 = 0 ;
148217  float val2 ;
148218  int ecode2 = 0 ;
148219  PyObject * obj0 = 0 ;
148220  PyObject * obj1 = 0 ;
148221 
148222  if (!PyArg_ParseTuple(args,(char *)"OO:BodyPart_SynchUpdateInterval",&obj0,&obj1)) SWIG_fail;
148223  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148224  if (!SWIG_IsOK(res1)) {
148225  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_SynchUpdateInterval" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148226  }
148227  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148228  ecode2 = SWIG_AsVal_float(obj1, &val2);
148229  if (!SWIG_IsOK(ecode2)) {
148230  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BodyPart_SynchUpdateInterval" "', argument " "2"" of type '" "float""'");
148231  }
148232  arg2 = static_cast< float >(val2);
148233  {
148234  try {
148235  (arg1)->SynchUpdateInterval(arg2);
148236  }
148237  catch(CStdErrorInfo oError)
148238  {
148239  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148240  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148241  PyErr_SetString(PyExc_IndexError, strError.c_str());
148242  SWIG_fail;
148243  }
148244  catch(...)
148245  {
148246  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148247  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148248  SWIG_fail;
148249  }
148250  }
148251  resultobj = SWIG_Py_Void();
148252  return resultobj;
148253 fail:
148254  return NULL;
148255 }
148256 
148257 
148258 SWIGINTERN PyObject *_wrap_BodyPart_SynchUpdateInterval(PyObject *self, PyObject *args) {
148259  int argc;
148260  PyObject *argv[3];
148261  int ii;
148262 
148263  if (!PyTuple_Check(args)) SWIG_fail;
148264  argc = args ? (int)PyObject_Length(args) : 0;
148265  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
148266  argv[ii] = PyTuple_GET_ITEM(args,ii);
148267  }
148268  if (argc == 1) {
148269  int _v;
148270  void *vptr = 0;
148271  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0);
148272  _v = SWIG_CheckState(res);
148273  if (_v) {
148274  return _wrap_BodyPart_SynchUpdateInterval__SWIG_0(self, args);
148275  }
148276  }
148277  if (argc == 2) {
148278  int _v;
148279  void *vptr = 0;
148280  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0);
148281  _v = SWIG_CheckState(res);
148282  if (_v) {
148283  {
148284  int res = SWIG_AsVal_float(argv[1], NULL);
148285  _v = SWIG_CheckState(res);
148286  }
148287  if (_v) {
148288  return _wrap_BodyPart_SynchUpdateInterval__SWIG_1(self, args);
148289  }
148290  }
148291  }
148292 
148293 fail:
148294  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BodyPart_SynchUpdateInterval'.\n"
148295  " Possible C/C++ prototypes are:\n"
148296  " AnimatSim::Environment::BodyPart::SynchUpdateInterval()\n"
148297  " AnimatSim::Environment::BodyPart::SynchUpdateInterval(float)\n");
148298  return 0;
148299 }
148300 
148301 
148302 SWIGINTERN PyObject *_wrap_BodyPart_Resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148303  PyObject *resultobj = 0;
148305  void *argp1 = 0 ;
148306  int res1 = 0 ;
148307  PyObject * obj0 = 0 ;
148308 
148309  if (!PyArg_ParseTuple(args,(char *)"O:BodyPart_Resize",&obj0)) SWIG_fail;
148310  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148311  if (!SWIG_IsOK(res1)) {
148312  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_Resize" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148313  }
148314  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148315  {
148316  try {
148317  (arg1)->Resize();
148318  }
148319  catch(CStdErrorInfo oError)
148320  {
148321  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148322  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148323  PyErr_SetString(PyExc_IndexError, strError.c_str());
148324  SWIG_fail;
148325  }
148326  catch(...)
148327  {
148328  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148329  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148330  SWIG_fail;
148331  }
148332  }
148333  resultobj = SWIG_Py_Void();
148334  return resultobj;
148335 fail:
148336  return NULL;
148337 }
148338 
148339 
148340 SWIGINTERN PyObject *_wrap_BodyPart_SetSystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148341  PyObject *resultobj = 0;
148343  Simulator *arg2 = (Simulator *) 0 ;
148344  Structure *arg3 = (Structure *) 0 ;
148345  NeuralModule *arg4 = (NeuralModule *) 0 ;
148346  AnimatSim::Node *arg5 = (AnimatSim::Node *) 0 ;
148347  bool arg6 ;
148348  void *argp1 = 0 ;
148349  int res1 = 0 ;
148350  void *argp2 = 0 ;
148351  int res2 = 0 ;
148352  void *argp3 = 0 ;
148353  int res3 = 0 ;
148354  void *argp4 = 0 ;
148355  int res4 = 0 ;
148356  void *argp5 = 0 ;
148357  int res5 = 0 ;
148358  bool val6 ;
148359  int ecode6 = 0 ;
148360  PyObject * obj0 = 0 ;
148361  PyObject * obj1 = 0 ;
148362  PyObject * obj2 = 0 ;
148363  PyObject * obj3 = 0 ;
148364  PyObject * obj4 = 0 ;
148365  PyObject * obj5 = 0 ;
148366 
148367  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:BodyPart_SetSystemPointers",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
148368  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148369  if (!SWIG_IsOK(res1)) {
148370  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_SetSystemPointers" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148371  }
148372  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148373  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Simulator, 0 | 0 );
148374  if (!SWIG_IsOK(res2)) {
148375  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BodyPart_SetSystemPointers" "', argument " "2"" of type '" "Simulator *""'");
148376  }
148377  arg2 = reinterpret_cast< Simulator * >(argp2);
148378  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Structure, 0 | 0 );
148379  if (!SWIG_IsOK(res3)) {
148380  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BodyPart_SetSystemPointers" "', argument " "3"" of type '" "Structure *""'");
148381  }
148382  arg3 = reinterpret_cast< Structure * >(argp3);
148383  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_NeuralModule, 0 | 0 );
148384  if (!SWIG_IsOK(res4)) {
148385  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BodyPart_SetSystemPointers" "', argument " "4"" of type '" "NeuralModule *""'");
148386  }
148387  arg4 = reinterpret_cast< NeuralModule * >(argp4);
148388  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
148389  if (!SWIG_IsOK(res5)) {
148390  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "BodyPart_SetSystemPointers" "', argument " "5"" of type '" "AnimatSim::Node *""'");
148391  }
148392  arg5 = reinterpret_cast< AnimatSim::Node * >(argp5);
148393  ecode6 = SWIG_AsVal_bool(obj5, &val6);
148394  if (!SWIG_IsOK(ecode6)) {
148395  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BodyPart_SetSystemPointers" "', argument " "6"" of type '" "bool""'");
148396  }
148397  arg6 = static_cast< bool >(val6);
148398  {
148399  try {
148400  (arg1)->SetSystemPointers(arg2,arg3,arg4,arg5,arg6);
148401  }
148402  catch(CStdErrorInfo oError)
148403  {
148404  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148405  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148406  PyErr_SetString(PyExc_IndexError, strError.c_str());
148407  SWIG_fail;
148408  }
148409  catch(...)
148410  {
148411  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148412  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148413  SWIG_fail;
148414  }
148415  }
148416  resultobj = SWIG_Py_Void();
148417  return resultobj;
148418 fail:
148419  return NULL;
148420 }
148421 
148422 
148423 SWIGINTERN PyObject *_wrap_BodyPart_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148424  PyObject *resultobj = 0;
148426  std::string *arg2 = 0 ;
148427  void *argp1 = 0 ;
148428  int res1 = 0 ;
148429  int res2 = SWIG_OLDOBJ ;
148430  PyObject * obj0 = 0 ;
148431  PyObject * obj1 = 0 ;
148432  float *result = 0 ;
148433 
148434  if (!PyArg_ParseTuple(args,(char *)"OO:BodyPart_GetDataPointer",&obj0,&obj1)) SWIG_fail;
148435  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148436  if (!SWIG_IsOK(res1)) {
148437  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148438  }
148439  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148440  {
148441  std::string *ptr = (std::string *)0;
148442  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
148443  if (!SWIG_IsOK(res2)) {
148444  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BodyPart_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
148445  }
148446  if (!ptr) {
148447  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BodyPart_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
148448  }
148449  arg2 = ptr;
148450  }
148451  {
148452  try {
148453  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
148454  }
148455  catch(CStdErrorInfo oError)
148456  {
148457  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148458  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148459  PyErr_SetString(PyExc_IndexError, strError.c_str());
148460  SWIG_fail;
148461  }
148462  catch(...)
148463  {
148464  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148465  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148466  SWIG_fail;
148467  }
148468  }
148469  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
148470  if (SWIG_IsNewObj(res2)) delete arg2;
148471  return resultobj;
148472 fail:
148473  if (SWIG_IsNewObj(res2)) delete arg2;
148474  return NULL;
148475 }
148476 
148477 
148478 SWIGINTERN PyObject *_wrap_BodyPart_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148479  PyObject *resultobj = 0;
148481  std::string *arg2 = 0 ;
148482  std::string *arg3 = 0 ;
148483  bool arg4 ;
148484  void *argp1 = 0 ;
148485  int res1 = 0 ;
148486  int res2 = SWIG_OLDOBJ ;
148487  int res3 = SWIG_OLDOBJ ;
148488  bool val4 ;
148489  int ecode4 = 0 ;
148490  PyObject * obj0 = 0 ;
148491  PyObject * obj1 = 0 ;
148492  PyObject * obj2 = 0 ;
148493  PyObject * obj3 = 0 ;
148494  bool result;
148495 
148496  if (!PyArg_ParseTuple(args,(char *)"OOOO:BodyPart_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
148497  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148498  if (!SWIG_IsOK(res1)) {
148499  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148500  }
148501  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148502  {
148503  std::string *ptr = (std::string *)0;
148504  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
148505  if (!SWIG_IsOK(res2)) {
148506  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BodyPart_SetData" "', argument " "2"" of type '" "std::string const &""'");
148507  }
148508  if (!ptr) {
148509  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BodyPart_SetData" "', argument " "2"" of type '" "std::string const &""'");
148510  }
148511  arg2 = ptr;
148512  }
148513  {
148514  std::string *ptr = (std::string *)0;
148515  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
148516  if (!SWIG_IsOK(res3)) {
148517  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BodyPart_SetData" "', argument " "3"" of type '" "std::string const &""'");
148518  }
148519  if (!ptr) {
148520  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BodyPart_SetData" "', argument " "3"" of type '" "std::string const &""'");
148521  }
148522  arg3 = ptr;
148523  }
148524  ecode4 = SWIG_AsVal_bool(obj3, &val4);
148525  if (!SWIG_IsOK(ecode4)) {
148526  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BodyPart_SetData" "', argument " "4"" of type '" "bool""'");
148527  }
148528  arg4 = static_cast< bool >(val4);
148529  {
148530  try {
148531  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
148532  }
148533  catch(CStdErrorInfo oError)
148534  {
148535  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148536  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148537  PyErr_SetString(PyExc_IndexError, strError.c_str());
148538  SWIG_fail;
148539  }
148540  catch(...)
148541  {
148542  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148543  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148544  SWIG_fail;
148545  }
148546  }
148547  resultobj = SWIG_From_bool(static_cast< bool >(result));
148548  if (SWIG_IsNewObj(res2)) delete arg2;
148549  if (SWIG_IsNewObj(res3)) delete arg3;
148550  return resultobj;
148551 fail:
148552  if (SWIG_IsNewObj(res2)) delete arg2;
148553  if (SWIG_IsNewObj(res3)) delete arg3;
148554  return NULL;
148555 }
148556 
148557 
148558 SWIGINTERN PyObject *_wrap_BodyPart_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148559  PyObject *resultobj = 0;
148561  std::string *arg2 = 0 ;
148562  std::string *arg3 = 0 ;
148563  void *argp1 = 0 ;
148564  int res1 = 0 ;
148565  int res2 = SWIG_OLDOBJ ;
148566  int res3 = SWIG_OLDOBJ ;
148567  PyObject * obj0 = 0 ;
148568  PyObject * obj1 = 0 ;
148569  PyObject * obj2 = 0 ;
148570  bool result;
148571 
148572  if (!PyArg_ParseTuple(args,(char *)"OOO:BodyPart_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
148573  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148574  if (!SWIG_IsOK(res1)) {
148575  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148576  }
148577  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148578  {
148579  std::string *ptr = (std::string *)0;
148580  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
148581  if (!SWIG_IsOK(res2)) {
148582  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BodyPart_SetData" "', argument " "2"" of type '" "std::string const &""'");
148583  }
148584  if (!ptr) {
148585  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BodyPart_SetData" "', argument " "2"" of type '" "std::string const &""'");
148586  }
148587  arg2 = ptr;
148588  }
148589  {
148590  std::string *ptr = (std::string *)0;
148591  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
148592  if (!SWIG_IsOK(res3)) {
148593  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BodyPart_SetData" "', argument " "3"" of type '" "std::string const &""'");
148594  }
148595  if (!ptr) {
148596  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BodyPart_SetData" "', argument " "3"" of type '" "std::string const &""'");
148597  }
148598  arg3 = ptr;
148599  }
148600  {
148601  try {
148602  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
148603  }
148604  catch(CStdErrorInfo oError)
148605  {
148606  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148607  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148608  PyErr_SetString(PyExc_IndexError, strError.c_str());
148609  SWIG_fail;
148610  }
148611  catch(...)
148612  {
148613  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148614  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148615  SWIG_fail;
148616  }
148617  }
148618  resultobj = SWIG_From_bool(static_cast< bool >(result));
148619  if (SWIG_IsNewObj(res2)) delete arg2;
148620  if (SWIG_IsNewObj(res3)) delete arg3;
148621  return resultobj;
148622 fail:
148623  if (SWIG_IsNewObj(res2)) delete arg2;
148624  if (SWIG_IsNewObj(res3)) delete arg3;
148625  return NULL;
148626 }
148627 
148628 
148629 SWIGINTERN PyObject *_wrap_BodyPart_SetData(PyObject *self, PyObject *args) {
148630  int argc;
148631  PyObject *argv[5];
148632  int ii;
148633 
148634  if (!PyTuple_Check(args)) SWIG_fail;
148635  argc = args ? (int)PyObject_Length(args) : 0;
148636  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
148637  argv[ii] = PyTuple_GET_ITEM(args,ii);
148638  }
148639  if (argc == 3) {
148640  int _v;
148641  void *vptr = 0;
148642  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0);
148643  _v = SWIG_CheckState(res);
148644  if (_v) {
148645  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
148646  _v = SWIG_CheckState(res);
148647  if (_v) {
148648  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
148649  _v = SWIG_CheckState(res);
148650  if (_v) {
148651  return _wrap_BodyPart_SetData__SWIG_1(self, args);
148652  }
148653  }
148654  }
148655  }
148656  if (argc == 4) {
148657  int _v;
148658  void *vptr = 0;
148659  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0);
148660  _v = SWIG_CheckState(res);
148661  if (_v) {
148662  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
148663  _v = SWIG_CheckState(res);
148664  if (_v) {
148665  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
148666  _v = SWIG_CheckState(res);
148667  if (_v) {
148668  {
148669  int res = SWIG_AsVal_bool(argv[3], NULL);
148670  _v = SWIG_CheckState(res);
148671  }
148672  if (_v) {
148673  return _wrap_BodyPart_SetData__SWIG_0(self, args);
148674  }
148675  }
148676  }
148677  }
148678  }
148679 
148680 fail:
148681  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BodyPart_SetData'.\n"
148682  " Possible C/C++ prototypes are:\n"
148683  " AnimatSim::Environment::BodyPart::SetData(std::string const &,std::string const &,bool)\n"
148684  " AnimatSim::Environment::BodyPart::SetData(std::string const &,std::string const &)\n");
148685  return 0;
148686 }
148687 
148688 
148689 SWIGINTERN PyObject *_wrap_BodyPart_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148690  PyObject *resultobj = 0;
148692  CStdPtrArray< TypeProperty > *arg2 = 0 ;
148693  void *argp1 = 0 ;
148694  int res1 = 0 ;
148695  void *argp2 = 0 ;
148696  int res2 = 0 ;
148697  PyObject * obj0 = 0 ;
148698  PyObject * obj1 = 0 ;
148699 
148700  if (!PyArg_ParseTuple(args,(char *)"OO:BodyPart_QueryProperties",&obj0,&obj1)) SWIG_fail;
148701  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148702  if (!SWIG_IsOK(res1)) {
148703  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148704  }
148705  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148706  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
148707  if (!SWIG_IsOK(res2)) {
148708  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BodyPart_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
148709  }
148710  if (!argp2) {
148711  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BodyPart_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
148712  }
148713  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
148714  {
148715  try {
148716  (arg1)->QueryProperties(*arg2);
148717  }
148718  catch(CStdErrorInfo oError)
148719  {
148720  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148721  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148722  PyErr_SetString(PyExc_IndexError, strError.c_str());
148723  SWIG_fail;
148724  }
148725  catch(...)
148726  {
148727  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148728  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148729  SWIG_fail;
148730  }
148731  }
148732  resultobj = SWIG_Py_Void();
148733  return resultobj;
148734 fail:
148735  return NULL;
148736 }
148737 
148738 
148739 SWIGINTERN PyObject *_wrap_BodyPart_UpdateExtraData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148740  PyObject *resultobj = 0;
148742  void *argp1 = 0 ;
148743  int res1 = 0 ;
148744  PyObject * obj0 = 0 ;
148745 
148746  if (!PyArg_ParseTuple(args,(char *)"O:BodyPart_UpdateExtraData",&obj0)) SWIG_fail;
148747  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148748  if (!SWIG_IsOK(res1)) {
148749  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_UpdateExtraData" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148750  }
148751  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148752  {
148753  try {
148754  (arg1)->UpdateExtraData();
148755  }
148756  catch(CStdErrorInfo oError)
148757  {
148758  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148759  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148760  PyErr_SetString(PyExc_IndexError, strError.c_str());
148761  SWIG_fail;
148762  }
148763  catch(...)
148764  {
148765  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148766  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148767  SWIG_fail;
148768  }
148769  }
148770  resultobj = SWIG_Py_Void();
148771  return resultobj;
148772 fail:
148773  return NULL;
148774 }
148775 
148776 
148777 SWIGINTERN PyObject *_wrap_BodyPart_NeedsRobotSynch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148778  PyObject *resultobj = 0;
148780  void *argp1 = 0 ;
148781  int res1 = 0 ;
148782  PyObject * obj0 = 0 ;
148783  bool result;
148784 
148785  if (!PyArg_ParseTuple(args,(char *)"O:BodyPart_NeedsRobotSynch",&obj0)) SWIG_fail;
148786  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148787  if (!SWIG_IsOK(res1)) {
148788  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_NeedsRobotSynch" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148789  }
148790  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148791  {
148792  try {
148793  result = (bool)(arg1)->NeedsRobotSynch();
148794  }
148795  catch(CStdErrorInfo oError)
148796  {
148797  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148798  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148799  PyErr_SetString(PyExc_IndexError, strError.c_str());
148800  SWIG_fail;
148801  }
148802  catch(...)
148803  {
148804  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148805  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148806  SWIG_fail;
148807  }
148808  }
148809  resultobj = SWIG_From_bool(static_cast< bool >(result));
148810  return resultobj;
148811 fail:
148812  return NULL;
148813 }
148814 
148815 
148816 SWIGINTERN PyObject *_wrap_BodyPart_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148817  PyObject *resultobj = 0;
148819  void *argp1 = 0 ;
148820  int res1 = 0 ;
148821  PyObject * obj0 = 0 ;
148822 
148823  if (!PyArg_ParseTuple(args,(char *)"O:BodyPart_Initialize",&obj0)) SWIG_fail;
148824  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148825  if (!SWIG_IsOK(res1)) {
148826  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_Initialize" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148827  }
148828  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148829  {
148830  try {
148831  (arg1)->Initialize();
148832  }
148833  catch(CStdErrorInfo oError)
148834  {
148835  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148836  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148837  PyErr_SetString(PyExc_IndexError, strError.c_str());
148838  SWIG_fail;
148839  }
148840  catch(...)
148841  {
148842  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148843  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148844  SWIG_fail;
148845  }
148846  }
148847  resultobj = SWIG_Py_Void();
148848  return resultobj;
148849 fail:
148850  return NULL;
148851 }
148852 
148853 
148854 SWIGINTERN PyObject *_wrap_BodyPart_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148855  PyObject *resultobj = 0;
148857  void *argp1 = 0 ;
148858  int res1 = 0 ;
148859  PyObject * obj0 = 0 ;
148860 
148861  if (!PyArg_ParseTuple(args,(char *)"O:BodyPart_ResetSimulation",&obj0)) SWIG_fail;
148862  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148863  if (!SWIG_IsOK(res1)) {
148864  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148865  }
148866  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148867  {
148868  try {
148869  (arg1)->ResetSimulation();
148870  }
148871  catch(CStdErrorInfo oError)
148872  {
148873  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148874  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148875  PyErr_SetString(PyExc_IndexError, strError.c_str());
148876  SWIG_fail;
148877  }
148878  catch(...)
148879  {
148880  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148881  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148882  SWIG_fail;
148883  }
148884  }
148885  resultobj = SWIG_Py_Void();
148886  return resultobj;
148887 fail:
148888  return NULL;
148889 }
148890 
148891 
148892 SWIGINTERN PyObject *_wrap_BodyPart_TimeStepModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148893  PyObject *resultobj = 0;
148895  void *argp1 = 0 ;
148896  int res1 = 0 ;
148897  PyObject * obj0 = 0 ;
148898 
148899  if (!PyArg_ParseTuple(args,(char *)"O:BodyPart_TimeStepModified",&obj0)) SWIG_fail;
148900  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148901  if (!SWIG_IsOK(res1)) {
148902  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_TimeStepModified" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148903  }
148904  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148905  {
148906  try {
148907  (arg1)->TimeStepModified();
148908  }
148909  catch(CStdErrorInfo oError)
148910  {
148911  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148912  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148913  PyErr_SetString(PyExc_IndexError, strError.c_str());
148914  SWIG_fail;
148915  }
148916  catch(...)
148917  {
148918  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148919  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148920  SWIG_fail;
148921  }
148922  }
148923  resultobj = SWIG_Py_Void();
148924  return resultobj;
148925 fail:
148926  return NULL;
148927 }
148928 
148929 
148930 SWIGINTERN PyObject *_wrap_BodyPart_Selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148931  PyObject *resultobj = 0;
148933  bool arg2 ;
148934  bool arg3 ;
148935  void *argp1 = 0 ;
148936  int res1 = 0 ;
148937  bool val2 ;
148938  int ecode2 = 0 ;
148939  bool val3 ;
148940  int ecode3 = 0 ;
148941  PyObject * obj0 = 0 ;
148942  PyObject * obj1 = 0 ;
148943  PyObject * obj2 = 0 ;
148944 
148945  if (!PyArg_ParseTuple(args,(char *)"OOO:BodyPart_Selected",&obj0,&obj1,&obj2)) SWIG_fail;
148946  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
148947  if (!SWIG_IsOK(res1)) {
148948  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_Selected" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
148949  }
148950  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
148951  ecode2 = SWIG_AsVal_bool(obj1, &val2);
148952  if (!SWIG_IsOK(ecode2)) {
148953  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BodyPart_Selected" "', argument " "2"" of type '" "bool""'");
148954  }
148955  arg2 = static_cast< bool >(val2);
148956  ecode3 = SWIG_AsVal_bool(obj2, &val3);
148957  if (!SWIG_IsOK(ecode3)) {
148958  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BodyPart_Selected" "', argument " "3"" of type '" "bool""'");
148959  }
148960  arg3 = static_cast< bool >(val3);
148961  {
148962  try {
148963  (arg1)->Selected(arg2,arg3);
148964  }
148965  catch(CStdErrorInfo oError)
148966  {
148967  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148968  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
148969  PyErr_SetString(PyExc_IndexError, strError.c_str());
148970  SWIG_fail;
148971  }
148972  catch(...)
148973  {
148974  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
148975  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
148976  SWIG_fail;
148977  }
148978  }
148979  resultobj = SWIG_Py_Void();
148980  return resultobj;
148981 fail:
148982  return NULL;
148983 }
148984 
148985 
148986 SWIGINTERN PyObject *_wrap_BodyPart_AddBodyClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
148987  PyObject *resultobj = 0;
148989  float arg2 ;
148990  float arg3 ;
148991  float arg4 ;
148992  float arg5 ;
148993  float arg6 ;
148994  float arg7 ;
148995  void *argp1 = 0 ;
148996  int res1 = 0 ;
148997  float val2 ;
148998  int ecode2 = 0 ;
148999  float val3 ;
149000  int ecode3 = 0 ;
149001  float val4 ;
149002  int ecode4 = 0 ;
149003  float val5 ;
149004  int ecode5 = 0 ;
149005  float val6 ;
149006  int ecode6 = 0 ;
149007  float val7 ;
149008  int ecode7 = 0 ;
149009  PyObject * obj0 = 0 ;
149010  PyObject * obj1 = 0 ;
149011  PyObject * obj2 = 0 ;
149012  PyObject * obj3 = 0 ;
149013  PyObject * obj4 = 0 ;
149014  PyObject * obj5 = 0 ;
149015  PyObject * obj6 = 0 ;
149016 
149017  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:BodyPart_AddBodyClicked",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
149018  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
149019  if (!SWIG_IsOK(res1)) {
149020  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_AddBodyClicked" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
149021  }
149022  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
149023  ecode2 = SWIG_AsVal_float(obj1, &val2);
149024  if (!SWIG_IsOK(ecode2)) {
149025  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BodyPart_AddBodyClicked" "', argument " "2"" of type '" "float""'");
149026  }
149027  arg2 = static_cast< float >(val2);
149028  ecode3 = SWIG_AsVal_float(obj2, &val3);
149029  if (!SWIG_IsOK(ecode3)) {
149030  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BodyPart_AddBodyClicked" "', argument " "3"" of type '" "float""'");
149031  }
149032  arg3 = static_cast< float >(val3);
149033  ecode4 = SWIG_AsVal_float(obj3, &val4);
149034  if (!SWIG_IsOK(ecode4)) {
149035  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BodyPart_AddBodyClicked" "', argument " "4"" of type '" "float""'");
149036  }
149037  arg4 = static_cast< float >(val4);
149038  ecode5 = SWIG_AsVal_float(obj4, &val5);
149039  if (!SWIG_IsOK(ecode5)) {
149040  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BodyPart_AddBodyClicked" "', argument " "5"" of type '" "float""'");
149041  }
149042  arg5 = static_cast< float >(val5);
149043  ecode6 = SWIG_AsVal_float(obj5, &val6);
149044  if (!SWIG_IsOK(ecode6)) {
149045  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BodyPart_AddBodyClicked" "', argument " "6"" of type '" "float""'");
149046  }
149047  arg6 = static_cast< float >(val6);
149048  ecode7 = SWIG_AsVal_float(obj6, &val7);
149049  if (!SWIG_IsOK(ecode7)) {
149050  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BodyPart_AddBodyClicked" "', argument " "7"" of type '" "float""'");
149051  }
149052  arg7 = static_cast< float >(val7);
149053  {
149054  try {
149055  (arg1)->AddBodyClicked(arg2,arg3,arg4,arg5,arg6,arg7);
149056  }
149057  catch(CStdErrorInfo oError)
149058  {
149059  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149060  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149061  PyErr_SetString(PyExc_IndexError, strError.c_str());
149062  SWIG_fail;
149063  }
149064  catch(...)
149065  {
149066  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149067  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149068  SWIG_fail;
149069  }
149070  }
149071  resultobj = SWIG_Py_Void();
149072  return resultobj;
149073 fail:
149074  return NULL;
149075 }
149076 
149077 
149078 SWIGINTERN PyObject *_wrap_BodyPart_VisualSelectionModeChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149079  PyObject *resultobj = 0;
149081  int arg2 ;
149082  void *argp1 = 0 ;
149083  int res1 = 0 ;
149084  int val2 ;
149085  int ecode2 = 0 ;
149086  PyObject * obj0 = 0 ;
149087  PyObject * obj1 = 0 ;
149088 
149089  if (!PyArg_ParseTuple(args,(char *)"OO:BodyPart_VisualSelectionModeChanged",&obj0,&obj1)) SWIG_fail;
149090  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
149091  if (!SWIG_IsOK(res1)) {
149092  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_VisualSelectionModeChanged" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
149093  }
149094  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
149095  ecode2 = SWIG_AsVal_int(obj1, &val2);
149096  if (!SWIG_IsOK(ecode2)) {
149097  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BodyPart_VisualSelectionModeChanged" "', argument " "2"" of type '" "int""'");
149098  }
149099  arg2 = static_cast< int >(val2);
149100  {
149101  try {
149102  (arg1)->VisualSelectionModeChanged(arg2);
149103  }
149104  catch(CStdErrorInfo oError)
149105  {
149106  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149107  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149108  PyErr_SetString(PyExc_IndexError, strError.c_str());
149109  SWIG_fail;
149110  }
149111  catch(...)
149112  {
149113  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149114  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149115  SWIG_fail;
149116  }
149117  }
149118  resultobj = SWIG_Py_Void();
149119  return resultobj;
149120 fail:
149121  return NULL;
149122 }
149123 
149124 
149125 SWIGINTERN PyObject *_wrap_BodyPart_UpdatePhysicsPosFromGraphics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149126  PyObject *resultobj = 0;
149128  void *argp1 = 0 ;
149129  int res1 = 0 ;
149130  PyObject * obj0 = 0 ;
149131 
149132  if (!PyArg_ParseTuple(args,(char *)"O:BodyPart_UpdatePhysicsPosFromGraphics",&obj0)) SWIG_fail;
149133  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
149134  if (!SWIG_IsOK(res1)) {
149135  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_UpdatePhysicsPosFromGraphics" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
149136  }
149137  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
149138  {
149139  try {
149140  (arg1)->UpdatePhysicsPosFromGraphics();
149141  }
149142  catch(CStdErrorInfo oError)
149143  {
149144  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149145  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149146  PyErr_SetString(PyExc_IndexError, strError.c_str());
149147  SWIG_fail;
149148  }
149149  catch(...)
149150  {
149151  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149152  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149153  SWIG_fail;
149154  }
149155  }
149156  resultobj = SWIG_Py_Void();
149157  return resultobj;
149158 fail:
149159  return NULL;
149160 }
149161 
149162 
149163 SWIGINTERN PyObject *_wrap_BodyPart_WakeDynamics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149164  PyObject *resultobj = 0;
149166  void *argp1 = 0 ;
149167  int res1 = 0 ;
149168  PyObject * obj0 = 0 ;
149169 
149170  if (!PyArg_ParseTuple(args,(char *)"O:BodyPart_WakeDynamics",&obj0)) SWIG_fail;
149171  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
149172  if (!SWIG_IsOK(res1)) {
149173  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_WakeDynamics" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
149174  }
149175  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
149176  {
149177  try {
149178  (arg1)->WakeDynamics();
149179  }
149180  catch(CStdErrorInfo oError)
149181  {
149182  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149183  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149184  PyErr_SetString(PyExc_IndexError, strError.c_str());
149185  SWIG_fail;
149186  }
149187  catch(...)
149188  {
149189  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149190  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149191  SWIG_fail;
149192  }
149193  }
149194  resultobj = SWIG_Py_Void();
149195  return resultobj;
149196 fail:
149197  return NULL;
149198 }
149199 
149200 
149201 SWIGINTERN PyObject *_wrap_BodyPart_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149202  PyObject *resultobj = 0;
149204  CStdXml *arg2 = 0 ;
149205  void *argp1 = 0 ;
149206  int res1 = 0 ;
149207  void *argp2 = 0 ;
149208  int res2 = 0 ;
149209  PyObject * obj0 = 0 ;
149210  PyObject * obj1 = 0 ;
149211 
149212  if (!PyArg_ParseTuple(args,(char *)"OO:BodyPart_Load",&obj0,&obj1)) SWIG_fail;
149213  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__BodyPart, 0 | 0 );
149214  if (!SWIG_IsOK(res1)) {
149215  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BodyPart_Load" "', argument " "1"" of type '" "AnimatSim::Environment::BodyPart *""'");
149216  }
149217  arg1 = reinterpret_cast< AnimatSim::Environment::BodyPart * >(argp1);
149218  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
149219  if (!SWIG_IsOK(res2)) {
149220  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BodyPart_Load" "', argument " "2"" of type '" "CStdXml &""'");
149221  }
149222  if (!argp2) {
149223  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BodyPart_Load" "', argument " "2"" of type '" "CStdXml &""'");
149224  }
149225  arg2 = reinterpret_cast< CStdXml * >(argp2);
149226  {
149227  try {
149228  (arg1)->Load(*arg2);
149229  }
149230  catch(CStdErrorInfo oError)
149231  {
149232  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149233  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149234  PyErr_SetString(PyExc_IndexError, strError.c_str());
149235  SWIG_fail;
149236  }
149237  catch(...)
149238  {
149239  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149240  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149241  SWIG_fail;
149242  }
149243  }
149244  resultobj = SWIG_Py_Void();
149245  return resultobj;
149246 fail:
149247  return NULL;
149248 }
149249 
149250 
149251 SWIGINTERN PyObject *BodyPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149252  PyObject *obj;
149253  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
149254  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__BodyPart, SWIG_NewClientData(obj));
149255  return SWIG_Py_Void();
149256 }
149257 
149258 SWIGINTERN PyObject *_wrap_new_ReceptiveFieldPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149259  PyObject *resultobj = 0;
149261 
149262  if (!PyArg_ParseTuple(args,(char *)":new_ReceptiveFieldPair")) SWIG_fail;
149263  {
149264  try {
149266  }
149267  catch(CStdErrorInfo oError)
149268  {
149269  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149270  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149271  PyErr_SetString(PyExc_IndexError, strError.c_str());
149272  SWIG_fail;
149273  }
149274  catch(...)
149275  {
149276  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149277  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149278  SWIG_fail;
149279  }
149280  }
149281  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, SWIG_POINTER_NEW | 0 );
149282  return resultobj;
149283 fail:
149284  return NULL;
149285 }
149286 
149287 
149288 SWIGINTERN PyObject *_wrap_delete_ReceptiveFieldPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149289  PyObject *resultobj = 0;
149291  void *argp1 = 0 ;
149292  int res1 = 0 ;
149293  PyObject * obj0 = 0 ;
149294 
149295  if (!PyArg_ParseTuple(args,(char *)"O:delete_ReceptiveFieldPair",&obj0)) SWIG_fail;
149296  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, SWIG_POINTER_DISOWN | 0 );
149297  if (!SWIG_IsOK(res1)) {
149298  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ReceptiveFieldPair" "', argument " "1"" of type '" "AnimatSim::Environment::ReceptiveFieldPair *""'");
149299  }
149300  arg1 = reinterpret_cast< AnimatSim::Environment::ReceptiveFieldPair * >(argp1);
149301  {
149302  try {
149303  delete arg1;
149304  }
149305  catch(CStdErrorInfo oError)
149306  {
149307  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149308  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149309  PyErr_SetString(PyExc_IndexError, strError.c_str());
149310  SWIG_fail;
149311  }
149312  catch(...)
149313  {
149314  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149315  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149316  SWIG_fail;
149317  }
149318  }
149319  resultobj = SWIG_Py_Void();
149320  return resultobj;
149321 fail:
149322  return NULL;
149323 }
149324 
149325 
149326 SWIGINTERN PyObject *_wrap_ReceptiveFieldPair_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149327  PyObject *resultobj = 0;
149329  void *argp1 = 0 ;
149330  int res1 = 0 ;
149331  PyObject * obj0 = 0 ;
149333 
149334  if (!PyArg_ParseTuple(args,(char *)"O:ReceptiveFieldPair_CastToDerived",&obj0)) SWIG_fail;
149335  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
149336  if (!SWIG_IsOK(res1)) {
149337  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ReceptiveFieldPair_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
149338  }
149339  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
149340  {
149341  try {
149342  result = (AnimatSim::Environment::ReceptiveFieldPair *)AnimatSim::Environment::ReceptiveFieldPair::CastToDerived(arg1);
149343  }
149344  catch(CStdErrorInfo oError)
149345  {
149346  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149347  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149348  PyErr_SetString(PyExc_IndexError, strError.c_str());
149349  SWIG_fail;
149350  }
149351  catch(...)
149352  {
149353  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149354  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149355  SWIG_fail;
149356  }
149357  }
149358  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, 0 | 0 );
149359  return resultobj;
149360 fail:
149361  return NULL;
149362 }
149363 
149364 
149365 SWIGINTERN PyObject *_wrap_ReceptiveFieldPair_FieldID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149366  PyObject *resultobj = 0;
149368  std::string arg2 ;
149369  void *argp1 = 0 ;
149370  int res1 = 0 ;
149371  PyObject * obj0 = 0 ;
149372  PyObject * obj1 = 0 ;
149373 
149374  if (!PyArg_ParseTuple(args,(char *)"OO:ReceptiveFieldPair_FieldID",&obj0,&obj1)) SWIG_fail;
149375  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, 0 | 0 );
149376  if (!SWIG_IsOK(res1)) {
149377  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ReceptiveFieldPair_FieldID" "', argument " "1"" of type '" "AnimatSim::Environment::ReceptiveFieldPair *""'");
149378  }
149379  arg1 = reinterpret_cast< AnimatSim::Environment::ReceptiveFieldPair * >(argp1);
149380  {
149381  std::string *ptr = (std::string *)0;
149382  int res = SWIG_AsPtr_std_string(obj1, &ptr);
149383  if (!SWIG_IsOK(res) || !ptr) {
149384  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ReceptiveFieldPair_FieldID" "', argument " "2"" of type '" "std::string""'");
149385  }
149386  arg2 = *ptr;
149387  if (SWIG_IsNewObj(res)) delete ptr;
149388  }
149389  {
149390  try {
149391  (arg1)->FieldID(arg2);
149392  }
149393  catch(CStdErrorInfo oError)
149394  {
149395  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149396  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149397  PyErr_SetString(PyExc_IndexError, strError.c_str());
149398  SWIG_fail;
149399  }
149400  catch(...)
149401  {
149402  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149403  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149404  SWIG_fail;
149405  }
149406  }
149407  resultobj = SWIG_Py_Void();
149408  return resultobj;
149409 fail:
149410  return NULL;
149411 }
149412 
149413 
149414 SWIGINTERN PyObject *_wrap_ReceptiveFieldPair_FieldID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149415  PyObject *resultobj = 0;
149417  void *argp1 = 0 ;
149418  int res1 = 0 ;
149419  PyObject * obj0 = 0 ;
149420  std::string result;
149421 
149422  if (!PyArg_ParseTuple(args,(char *)"O:ReceptiveFieldPair_FieldID",&obj0)) SWIG_fail;
149423  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, 0 | 0 );
149424  if (!SWIG_IsOK(res1)) {
149425  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ReceptiveFieldPair_FieldID" "', argument " "1"" of type '" "AnimatSim::Environment::ReceptiveFieldPair *""'");
149426  }
149427  arg1 = reinterpret_cast< AnimatSim::Environment::ReceptiveFieldPair * >(argp1);
149428  {
149429  try {
149430  result = (arg1)->FieldID();
149431  }
149432  catch(CStdErrorInfo oError)
149433  {
149434  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149435  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149436  PyErr_SetString(PyExc_IndexError, strError.c_str());
149437  SWIG_fail;
149438  }
149439  catch(...)
149440  {
149441  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149442  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149443  SWIG_fail;
149444  }
149445  }
149446  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
149447  return resultobj;
149448 fail:
149449  return NULL;
149450 }
149451 
149452 
149453 SWIGINTERN PyObject *_wrap_ReceptiveFieldPair_FieldID(PyObject *self, PyObject *args) {
149454  int argc;
149455  PyObject *argv[3];
149456  int ii;
149457 
149458  if (!PyTuple_Check(args)) SWIG_fail;
149459  argc = args ? (int)PyObject_Length(args) : 0;
149460  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
149461  argv[ii] = PyTuple_GET_ITEM(args,ii);
149462  }
149463  if (argc == 1) {
149464  int _v;
149465  void *vptr = 0;
149466  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, 0);
149467  _v = SWIG_CheckState(res);
149468  if (_v) {
149469  return _wrap_ReceptiveFieldPair_FieldID__SWIG_1(self, args);
149470  }
149471  }
149472  if (argc == 2) {
149473  int _v;
149474  void *vptr = 0;
149475  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, 0);
149476  _v = SWIG_CheckState(res);
149477  if (_v) {
149478  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
149479  _v = SWIG_CheckState(res);
149480  if (_v) {
149481  return _wrap_ReceptiveFieldPair_FieldID__SWIG_0(self, args);
149482  }
149483  }
149484  }
149485 
149486 fail:
149487  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ReceptiveFieldPair_FieldID'.\n"
149488  " Possible C/C++ prototypes are:\n"
149489  " AnimatSim::Environment::ReceptiveFieldPair::FieldID(std::string)\n"
149490  " AnimatSim::Environment::ReceptiveFieldPair::FieldID()\n");
149491  return 0;
149492 }
149493 
149494 
149495 SWIGINTERN PyObject *_wrap_ReceptiveFieldPair_TargetNodeID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149496  PyObject *resultobj = 0;
149498  std::string arg2 ;
149499  void *argp1 = 0 ;
149500  int res1 = 0 ;
149501  PyObject * obj0 = 0 ;
149502  PyObject * obj1 = 0 ;
149503 
149504  if (!PyArg_ParseTuple(args,(char *)"OO:ReceptiveFieldPair_TargetNodeID",&obj0,&obj1)) SWIG_fail;
149505  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, 0 | 0 );
149506  if (!SWIG_IsOK(res1)) {
149507  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ReceptiveFieldPair_TargetNodeID" "', argument " "1"" of type '" "AnimatSim::Environment::ReceptiveFieldPair *""'");
149508  }
149509  arg1 = reinterpret_cast< AnimatSim::Environment::ReceptiveFieldPair * >(argp1);
149510  {
149511  std::string *ptr = (std::string *)0;
149512  int res = SWIG_AsPtr_std_string(obj1, &ptr);
149513  if (!SWIG_IsOK(res) || !ptr) {
149514  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ReceptiveFieldPair_TargetNodeID" "', argument " "2"" of type '" "std::string""'");
149515  }
149516  arg2 = *ptr;
149517  if (SWIG_IsNewObj(res)) delete ptr;
149518  }
149519  {
149520  try {
149521  (arg1)->TargetNodeID(arg2);
149522  }
149523  catch(CStdErrorInfo oError)
149524  {
149525  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149526  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149527  PyErr_SetString(PyExc_IndexError, strError.c_str());
149528  SWIG_fail;
149529  }
149530  catch(...)
149531  {
149532  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149533  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149534  SWIG_fail;
149535  }
149536  }
149537  resultobj = SWIG_Py_Void();
149538  return resultobj;
149539 fail:
149540  return NULL;
149541 }
149542 
149543 
149544 SWIGINTERN PyObject *_wrap_ReceptiveFieldPair_TargetNodeID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149545  PyObject *resultobj = 0;
149547  void *argp1 = 0 ;
149548  int res1 = 0 ;
149549  PyObject * obj0 = 0 ;
149550  std::string result;
149551 
149552  if (!PyArg_ParseTuple(args,(char *)"O:ReceptiveFieldPair_TargetNodeID",&obj0)) SWIG_fail;
149553  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, 0 | 0 );
149554  if (!SWIG_IsOK(res1)) {
149555  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ReceptiveFieldPair_TargetNodeID" "', argument " "1"" of type '" "AnimatSim::Environment::ReceptiveFieldPair *""'");
149556  }
149557  arg1 = reinterpret_cast< AnimatSim::Environment::ReceptiveFieldPair * >(argp1);
149558  {
149559  try {
149560  result = (arg1)->TargetNodeID();
149561  }
149562  catch(CStdErrorInfo oError)
149563  {
149564  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149565  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149566  PyErr_SetString(PyExc_IndexError, strError.c_str());
149567  SWIG_fail;
149568  }
149569  catch(...)
149570  {
149571  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149572  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149573  SWIG_fail;
149574  }
149575  }
149576  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
149577  return resultobj;
149578 fail:
149579  return NULL;
149580 }
149581 
149582 
149583 SWIGINTERN PyObject *_wrap_ReceptiveFieldPair_TargetNodeID(PyObject *self, PyObject *args) {
149584  int argc;
149585  PyObject *argv[3];
149586  int ii;
149587 
149588  if (!PyTuple_Check(args)) SWIG_fail;
149589  argc = args ? (int)PyObject_Length(args) : 0;
149590  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
149591  argv[ii] = PyTuple_GET_ITEM(args,ii);
149592  }
149593  if (argc == 1) {
149594  int _v;
149595  void *vptr = 0;
149596  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, 0);
149597  _v = SWIG_CheckState(res);
149598  if (_v) {
149599  return _wrap_ReceptiveFieldPair_TargetNodeID__SWIG_1(self, args);
149600  }
149601  }
149602  if (argc == 2) {
149603  int _v;
149604  void *vptr = 0;
149605  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, 0);
149606  _v = SWIG_CheckState(res);
149607  if (_v) {
149608  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
149609  _v = SWIG_CheckState(res);
149610  if (_v) {
149611  return _wrap_ReceptiveFieldPair_TargetNodeID__SWIG_0(self, args);
149612  }
149613  }
149614  }
149615 
149616 fail:
149617  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ReceptiveFieldPair_TargetNodeID'.\n"
149618  " Possible C/C++ prototypes are:\n"
149619  " AnimatSim::Environment::ReceptiveFieldPair::TargetNodeID(std::string)\n"
149620  " AnimatSim::Environment::ReceptiveFieldPair::TargetNodeID()\n");
149621  return 0;
149622 }
149623 
149624 
149625 SWIGINTERN PyObject *_wrap_ReceptiveFieldPair_Field(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149626  PyObject *resultobj = 0;
149628  void *argp1 = 0 ;
149629  int res1 = 0 ;
149630  PyObject * obj0 = 0 ;
149631  ReceptiveField *result = 0 ;
149632 
149633  if (!PyArg_ParseTuple(args,(char *)"O:ReceptiveFieldPair_Field",&obj0)) SWIG_fail;
149634  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, 0 | 0 );
149635  if (!SWIG_IsOK(res1)) {
149636  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ReceptiveFieldPair_Field" "', argument " "1"" of type '" "AnimatSim::Environment::ReceptiveFieldPair *""'");
149637  }
149638  arg1 = reinterpret_cast< AnimatSim::Environment::ReceptiveFieldPair * >(argp1);
149639  {
149640  try {
149641  result = (ReceptiveField *)(arg1)->Field();
149642  }
149643  catch(CStdErrorInfo oError)
149644  {
149645  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149646  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149647  PyErr_SetString(PyExc_IndexError, strError.c_str());
149648  SWIG_fail;
149649  }
149650  catch(...)
149651  {
149652  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149653  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149654  SWIG_fail;
149655  }
149656  }
149657  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ReceptiveField, 0 | 0 );
149658  return resultobj;
149659 fail:
149660  return NULL;
149661 }
149662 
149663 
149664 SWIGINTERN PyObject *_wrap_ReceptiveFieldPair_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149665  PyObject *resultobj = 0;
149667  void *argp1 = 0 ;
149668  int res1 = 0 ;
149669  PyObject * obj0 = 0 ;
149670 
149671  if (!PyArg_ParseTuple(args,(char *)"O:ReceptiveFieldPair_Initialize",&obj0)) SWIG_fail;
149672  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, 0 | 0 );
149673  if (!SWIG_IsOK(res1)) {
149674  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ReceptiveFieldPair_Initialize" "', argument " "1"" of type '" "AnimatSim::Environment::ReceptiveFieldPair *""'");
149675  }
149676  arg1 = reinterpret_cast< AnimatSim::Environment::ReceptiveFieldPair * >(argp1);
149677  {
149678  try {
149679  (arg1)->Initialize();
149680  }
149681  catch(CStdErrorInfo oError)
149682  {
149683  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149684  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149685  PyErr_SetString(PyExc_IndexError, strError.c_str());
149686  SWIG_fail;
149687  }
149688  catch(...)
149689  {
149690  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149691  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149692  SWIG_fail;
149693  }
149694  }
149695  resultobj = SWIG_Py_Void();
149696  return resultobj;
149697 fail:
149698  return NULL;
149699 }
149700 
149701 
149702 SWIGINTERN PyObject *_wrap_ReceptiveFieldPair_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149703  PyObject *resultobj = 0;
149705  void *argp1 = 0 ;
149706  int res1 = 0 ;
149707  PyObject * obj0 = 0 ;
149708 
149709  if (!PyArg_ParseTuple(args,(char *)"O:ReceptiveFieldPair_StepSimulation",&obj0)) SWIG_fail;
149710  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, 0 | 0 );
149711  if (!SWIG_IsOK(res1)) {
149712  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ReceptiveFieldPair_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::ReceptiveFieldPair *""'");
149713  }
149714  arg1 = reinterpret_cast< AnimatSim::Environment::ReceptiveFieldPair * >(argp1);
149715  {
149716  try {
149717  (arg1)->StepSimulation();
149718  }
149719  catch(CStdErrorInfo oError)
149720  {
149721  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149722  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149723  PyErr_SetString(PyExc_IndexError, strError.c_str());
149724  SWIG_fail;
149725  }
149726  catch(...)
149727  {
149728  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149729  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149730  SWIG_fail;
149731  }
149732  }
149733  resultobj = SWIG_Py_Void();
149734  return resultobj;
149735 fail:
149736  return NULL;
149737 }
149738 
149739 
149740 SWIGINTERN PyObject *_wrap_ReceptiveFieldPair_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149741  PyObject *resultobj = 0;
149743  CStdXml *arg2 = 0 ;
149744  void *argp1 = 0 ;
149745  int res1 = 0 ;
149746  void *argp2 = 0 ;
149747  int res2 = 0 ;
149748  PyObject * obj0 = 0 ;
149749  PyObject * obj1 = 0 ;
149750 
149751  if (!PyArg_ParseTuple(args,(char *)"OO:ReceptiveFieldPair_Load",&obj0,&obj1)) SWIG_fail;
149752  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, 0 | 0 );
149753  if (!SWIG_IsOK(res1)) {
149754  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ReceptiveFieldPair_Load" "', argument " "1"" of type '" "AnimatSim::Environment::ReceptiveFieldPair *""'");
149755  }
149756  arg1 = reinterpret_cast< AnimatSim::Environment::ReceptiveFieldPair * >(argp1);
149757  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
149758  if (!SWIG_IsOK(res2)) {
149759  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ReceptiveFieldPair_Load" "', argument " "2"" of type '" "CStdXml &""'");
149760  }
149761  if (!argp2) {
149762  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ReceptiveFieldPair_Load" "', argument " "2"" of type '" "CStdXml &""'");
149763  }
149764  arg2 = reinterpret_cast< CStdXml * >(argp2);
149765  {
149766  try {
149767  (arg1)->Load(*arg2);
149768  }
149769  catch(CStdErrorInfo oError)
149770  {
149771  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149772  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149773  PyErr_SetString(PyExc_IndexError, strError.c_str());
149774  SWIG_fail;
149775  }
149776  catch(...)
149777  {
149778  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149779  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149780  SWIG_fail;
149781  }
149782  }
149783  resultobj = SWIG_Py_Void();
149784  return resultobj;
149785 fail:
149786  return NULL;
149787 }
149788 
149789 
149790 SWIGINTERN PyObject *ReceptiveFieldPair_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149791  PyObject *obj;
149792  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
149793  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair, SWIG_NewClientData(obj));
149794  return SWIG_Py_Void();
149795 }
149796 
149797 SWIGINTERN PyObject *NoDelayBuffer_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149798  PyObject *module;
149799  PyObject *d;
149800  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
149801  d = PyModule_GetDict(module);
149802  if (!d) return NULL;
149803  SWIG_Python_SetConstant(d, "NoDelayBuffer",SWIG_From_int(static_cast< int >(AnimatSim::Adapters::NoDelayBuffer)));
149804  return SWIG_Py_Void();
149805 }
149806 
149807 
149808 SWIGINTERN PyObject *DelayBufferInSimOnly_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149809  PyObject *module;
149810  PyObject *d;
149811  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
149812  d = PyModule_GetDict(module);
149813  if (!d) return NULL;
149814  SWIG_Python_SetConstant(d, "DelayBufferInSimOnly",SWIG_From_int(static_cast< int >(AnimatSim::Adapters::DelayBufferInSimOnly)));
149815  return SWIG_Py_Void();
149816 }
149817 
149818 
149819 SWIGINTERN PyObject *DelayBufferAlwaysOn_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149820  PyObject *module;
149821  PyObject *d;
149822  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
149823  d = PyModule_GetDict(module);
149824  if (!d) return NULL;
149825  SWIG_Python_SetConstant(d, "DelayBufferAlwaysOn",SWIG_From_int(static_cast< int >(AnimatSim::Adapters::DelayBufferAlwaysOn)));
149826  return SWIG_Py_Void();
149827 }
149828 
149829 
149830 SWIGINTERN PyObject *_wrap_new_Adapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149831  PyObject *resultobj = 0;
149832  AnimatSim::Adapters::Adapter *result = 0 ;
149833 
149834  if (!PyArg_ParseTuple(args,(char *)":new_Adapter")) SWIG_fail;
149835  {
149836  try {
149838  }
149839  catch(CStdErrorInfo oError)
149840  {
149841  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149842  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149843  PyErr_SetString(PyExc_IndexError, strError.c_str());
149844  SWIG_fail;
149845  }
149846  catch(...)
149847  {
149848  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149849  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149850  SWIG_fail;
149851  }
149852  }
149853  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Adapters__Adapter, SWIG_POINTER_NEW | 0 );
149854  return resultobj;
149855 fail:
149856  return NULL;
149857 }
149858 
149859 
149860 SWIGINTERN PyObject *_wrap_delete_Adapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149861  PyObject *resultobj = 0;
149863  void *argp1 = 0 ;
149864  int res1 = 0 ;
149865  PyObject * obj0 = 0 ;
149866 
149867  if (!PyArg_ParseTuple(args,(char *)"O:delete_Adapter",&obj0)) SWIG_fail;
149868  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, SWIG_POINTER_DISOWN | 0 );
149869  if (!SWIG_IsOK(res1)) {
149870  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Adapter" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
149871  }
149872  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
149873  {
149874  try {
149875  delete arg1;
149876  }
149877  catch(CStdErrorInfo oError)
149878  {
149879  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149880  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149881  PyErr_SetString(PyExc_IndexError, strError.c_str());
149882  SWIG_fail;
149883  }
149884  catch(...)
149885  {
149886  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149887  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149888  SWIG_fail;
149889  }
149890  }
149891  resultobj = SWIG_Py_Void();
149892  return resultobj;
149893 fail:
149894  return NULL;
149895 }
149896 
149897 
149898 SWIGINTERN PyObject *_wrap_Adapter_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149899  PyObject *resultobj = 0;
149901  void *argp1 = 0 ;
149902  int res1 = 0 ;
149903  PyObject * obj0 = 0 ;
149904  AnimatSim::Adapters::Adapter *result = 0 ;
149905 
149906  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_CastToDerived",&obj0)) SWIG_fail;
149907  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
149908  if (!SWIG_IsOK(res1)) {
149909  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
149910  }
149911  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
149912  {
149913  try {
149914  result = (AnimatSim::Adapters::Adapter *)AnimatSim::Adapters::Adapter::CastToDerived(arg1);
149915  }
149916  catch(CStdErrorInfo oError)
149917  {
149918  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149919  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149920  PyErr_SetString(PyExc_IndexError, strError.c_str());
149921  SWIG_fail;
149922  }
149923  catch(...)
149924  {
149925  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149926  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149927  SWIG_fail;
149928  }
149929  }
149930  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
149931  return resultobj;
149932 fail:
149933  return NULL;
149934 }
149935 
149936 
149937 SWIGINTERN PyObject *_wrap_Adapter_SourceModule__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149938  PyObject *resultobj = 0;
149940  void *argp1 = 0 ;
149941  int res1 = 0 ;
149942  PyObject * obj0 = 0 ;
149943  std::string result;
149944 
149945  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_SourceModule",&obj0)) SWIG_fail;
149946  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
149947  if (!SWIG_IsOK(res1)) {
149948  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SourceModule" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
149949  }
149950  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
149951  {
149952  try {
149953  result = (arg1)->SourceModule();
149954  }
149955  catch(CStdErrorInfo oError)
149956  {
149957  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149958  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
149959  PyErr_SetString(PyExc_IndexError, strError.c_str());
149960  SWIG_fail;
149961  }
149962  catch(...)
149963  {
149964  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
149965  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
149966  SWIG_fail;
149967  }
149968  }
149969  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
149970  return resultobj;
149971 fail:
149972  return NULL;
149973 }
149974 
149975 
149976 SWIGINTERN PyObject *_wrap_Adapter_SourceModule__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
149977  PyObject *resultobj = 0;
149979  std::string arg2 ;
149980  void *argp1 = 0 ;
149981  int res1 = 0 ;
149982  PyObject * obj0 = 0 ;
149983  PyObject * obj1 = 0 ;
149984 
149985  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_SourceModule",&obj0,&obj1)) SWIG_fail;
149986  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
149987  if (!SWIG_IsOK(res1)) {
149988  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SourceModule" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
149989  }
149990  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
149991  {
149992  std::string *ptr = (std::string *)0;
149993  int res = SWIG_AsPtr_std_string(obj1, &ptr);
149994  if (!SWIG_IsOK(res) || !ptr) {
149995  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Adapter_SourceModule" "', argument " "2"" of type '" "std::string""'");
149996  }
149997  arg2 = *ptr;
149998  if (SWIG_IsNewObj(res)) delete ptr;
149999  }
150000  {
150001  try {
150002  (arg1)->SourceModule(arg2);
150003  }
150004  catch(CStdErrorInfo oError)
150005  {
150006  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150007  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150008  PyErr_SetString(PyExc_IndexError, strError.c_str());
150009  SWIG_fail;
150010  }
150011  catch(...)
150012  {
150013  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150014  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150015  SWIG_fail;
150016  }
150017  }
150018  resultobj = SWIG_Py_Void();
150019  return resultobj;
150020 fail:
150021  return NULL;
150022 }
150023 
150024 
150025 SWIGINTERN PyObject *_wrap_Adapter_SourceModule(PyObject *self, PyObject *args) {
150026  int argc;
150027  PyObject *argv[3];
150028  int ii;
150029 
150030  if (!PyTuple_Check(args)) SWIG_fail;
150031  argc = args ? (int)PyObject_Length(args) : 0;
150032  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
150033  argv[ii] = PyTuple_GET_ITEM(args,ii);
150034  }
150035  if (argc == 1) {
150036  int _v;
150037  void *vptr = 0;
150038  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
150039  _v = SWIG_CheckState(res);
150040  if (_v) {
150041  return _wrap_Adapter_SourceModule__SWIG_0(self, args);
150042  }
150043  }
150044  if (argc == 2) {
150045  int _v;
150046  void *vptr = 0;
150047  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
150048  _v = SWIG_CheckState(res);
150049  if (_v) {
150050  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
150051  _v = SWIG_CheckState(res);
150052  if (_v) {
150053  return _wrap_Adapter_SourceModule__SWIG_1(self, args);
150054  }
150055  }
150056  }
150057 
150058 fail:
150059  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Adapter_SourceModule'.\n"
150060  " Possible C/C++ prototypes are:\n"
150061  " AnimatSim::Adapters::Adapter::SourceModule()\n"
150062  " AnimatSim::Adapters::Adapter::SourceModule(std::string)\n");
150063  return 0;
150064 }
150065 
150066 
150067 SWIGINTERN PyObject *_wrap_Adapter_SourceID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150068  PyObject *resultobj = 0;
150070  void *argp1 = 0 ;
150071  int res1 = 0 ;
150072  PyObject * obj0 = 0 ;
150073  std::string result;
150074 
150075  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_SourceID",&obj0)) SWIG_fail;
150076  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150077  if (!SWIG_IsOK(res1)) {
150078  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SourceID" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150079  }
150080  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150081  {
150082  try {
150083  result = (arg1)->SourceID();
150084  }
150085  catch(CStdErrorInfo oError)
150086  {
150087  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150088  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150089  PyErr_SetString(PyExc_IndexError, strError.c_str());
150090  SWIG_fail;
150091  }
150092  catch(...)
150093  {
150094  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150095  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150096  SWIG_fail;
150097  }
150098  }
150099  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
150100  return resultobj;
150101 fail:
150102  return NULL;
150103 }
150104 
150105 
150106 SWIGINTERN PyObject *_wrap_Adapter_SourceID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150107  PyObject *resultobj = 0;
150109  std::string arg2 ;
150110  void *argp1 = 0 ;
150111  int res1 = 0 ;
150112  PyObject * obj0 = 0 ;
150113  PyObject * obj1 = 0 ;
150114 
150115  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_SourceID",&obj0,&obj1)) SWIG_fail;
150116  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150117  if (!SWIG_IsOK(res1)) {
150118  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SourceID" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150119  }
150120  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150121  {
150122  std::string *ptr = (std::string *)0;
150123  int res = SWIG_AsPtr_std_string(obj1, &ptr);
150124  if (!SWIG_IsOK(res) || !ptr) {
150125  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Adapter_SourceID" "', argument " "2"" of type '" "std::string""'");
150126  }
150127  arg2 = *ptr;
150128  if (SWIG_IsNewObj(res)) delete ptr;
150129  }
150130  {
150131  try {
150132  (arg1)->SourceID(arg2);
150133  }
150134  catch(CStdErrorInfo oError)
150135  {
150136  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150137  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150138  PyErr_SetString(PyExc_IndexError, strError.c_str());
150139  SWIG_fail;
150140  }
150141  catch(...)
150142  {
150143  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150144  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150145  SWIG_fail;
150146  }
150147  }
150148  resultobj = SWIG_Py_Void();
150149  return resultobj;
150150 fail:
150151  return NULL;
150152 }
150153 
150154 
150155 SWIGINTERN PyObject *_wrap_Adapter_SourceID(PyObject *self, PyObject *args) {
150156  int argc;
150157  PyObject *argv[3];
150158  int ii;
150159 
150160  if (!PyTuple_Check(args)) SWIG_fail;
150161  argc = args ? (int)PyObject_Length(args) : 0;
150162  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
150163  argv[ii] = PyTuple_GET_ITEM(args,ii);
150164  }
150165  if (argc == 1) {
150166  int _v;
150167  void *vptr = 0;
150168  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
150169  _v = SWIG_CheckState(res);
150170  if (_v) {
150171  return _wrap_Adapter_SourceID__SWIG_0(self, args);
150172  }
150173  }
150174  if (argc == 2) {
150175  int _v;
150176  void *vptr = 0;
150177  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
150178  _v = SWIG_CheckState(res);
150179  if (_v) {
150180  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
150181  _v = SWIG_CheckState(res);
150182  if (_v) {
150183  return _wrap_Adapter_SourceID__SWIG_1(self, args);
150184  }
150185  }
150186  }
150187 
150188 fail:
150189  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Adapter_SourceID'.\n"
150190  " Possible C/C++ prototypes are:\n"
150191  " AnimatSim::Adapters::Adapter::SourceID()\n"
150192  " AnimatSim::Adapters::Adapter::SourceID(std::string)\n");
150193  return 0;
150194 }
150195 
150196 
150197 SWIGINTERN PyObject *_wrap_Adapter_SourceDataType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150198  PyObject *resultobj = 0;
150200  void *argp1 = 0 ;
150201  int res1 = 0 ;
150202  PyObject * obj0 = 0 ;
150203  std::string result;
150204 
150205  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_SourceDataType",&obj0)) SWIG_fail;
150206  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150207  if (!SWIG_IsOK(res1)) {
150208  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SourceDataType" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150209  }
150210  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150211  {
150212  try {
150213  result = (arg1)->SourceDataType();
150214  }
150215  catch(CStdErrorInfo oError)
150216  {
150217  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150218  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150219  PyErr_SetString(PyExc_IndexError, strError.c_str());
150220  SWIG_fail;
150221  }
150222  catch(...)
150223  {
150224  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150225  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150226  SWIG_fail;
150227  }
150228  }
150229  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
150230  return resultobj;
150231 fail:
150232  return NULL;
150233 }
150234 
150235 
150236 SWIGINTERN PyObject *_wrap_Adapter_SourceDataType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150237  PyObject *resultobj = 0;
150239  std::string arg2 ;
150240  void *argp1 = 0 ;
150241  int res1 = 0 ;
150242  PyObject * obj0 = 0 ;
150243  PyObject * obj1 = 0 ;
150244 
150245  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_SourceDataType",&obj0,&obj1)) SWIG_fail;
150246  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150247  if (!SWIG_IsOK(res1)) {
150248  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SourceDataType" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150249  }
150250  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150251  {
150252  std::string *ptr = (std::string *)0;
150253  int res = SWIG_AsPtr_std_string(obj1, &ptr);
150254  if (!SWIG_IsOK(res) || !ptr) {
150255  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Adapter_SourceDataType" "', argument " "2"" of type '" "std::string""'");
150256  }
150257  arg2 = *ptr;
150258  if (SWIG_IsNewObj(res)) delete ptr;
150259  }
150260  {
150261  try {
150262  (arg1)->SourceDataType(arg2);
150263  }
150264  catch(CStdErrorInfo oError)
150265  {
150266  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150267  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150268  PyErr_SetString(PyExc_IndexError, strError.c_str());
150269  SWIG_fail;
150270  }
150271  catch(...)
150272  {
150273  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150274  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150275  SWIG_fail;
150276  }
150277  }
150278  resultobj = SWIG_Py_Void();
150279  return resultobj;
150280 fail:
150281  return NULL;
150282 }
150283 
150284 
150285 SWIGINTERN PyObject *_wrap_Adapter_SourceDataType(PyObject *self, PyObject *args) {
150286  int argc;
150287  PyObject *argv[3];
150288  int ii;
150289 
150290  if (!PyTuple_Check(args)) SWIG_fail;
150291  argc = args ? (int)PyObject_Length(args) : 0;
150292  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
150293  argv[ii] = PyTuple_GET_ITEM(args,ii);
150294  }
150295  if (argc == 1) {
150296  int _v;
150297  void *vptr = 0;
150298  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
150299  _v = SWIG_CheckState(res);
150300  if (_v) {
150301  return _wrap_Adapter_SourceDataType__SWIG_0(self, args);
150302  }
150303  }
150304  if (argc == 2) {
150305  int _v;
150306  void *vptr = 0;
150307  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
150308  _v = SWIG_CheckState(res);
150309  if (_v) {
150310  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
150311  _v = SWIG_CheckState(res);
150312  if (_v) {
150313  return _wrap_Adapter_SourceDataType__SWIG_1(self, args);
150314  }
150315  }
150316  }
150317 
150318 fail:
150319  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Adapter_SourceDataType'.\n"
150320  " Possible C/C++ prototypes are:\n"
150321  " AnimatSim::Adapters::Adapter::SourceDataType()\n"
150322  " AnimatSim::Adapters::Adapter::SourceDataType(std::string)\n");
150323  return 0;
150324 }
150325 
150326 
150327 SWIGINTERN PyObject *_wrap_Adapter_SourceNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150328  PyObject *resultobj = 0;
150330  void *argp1 = 0 ;
150331  int res1 = 0 ;
150332  PyObject * obj0 = 0 ;
150333  AnimatSim::Node *result = 0 ;
150334 
150335  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_SourceNode",&obj0)) SWIG_fail;
150336  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150337  if (!SWIG_IsOK(res1)) {
150338  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SourceNode" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150339  }
150340  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150341  {
150342  try {
150343  result = (AnimatSim::Node *)(arg1)->SourceNode();
150344  }
150345  catch(CStdErrorInfo oError)
150346  {
150347  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150348  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150349  PyErr_SetString(PyExc_IndexError, strError.c_str());
150350  SWIG_fail;
150351  }
150352  catch(...)
150353  {
150354  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150355  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150356  SWIG_fail;
150357  }
150358  }
150359  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
150360  return resultobj;
150361 fail:
150362  return NULL;
150363 }
150364 
150365 
150366 SWIGINTERN PyObject *_wrap_Adapter_TargetModule__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150367  PyObject *resultobj = 0;
150369  void *argp1 = 0 ;
150370  int res1 = 0 ;
150371  PyObject * obj0 = 0 ;
150372  std::string result;
150373 
150374  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_TargetModule",&obj0)) SWIG_fail;
150375  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150376  if (!SWIG_IsOK(res1)) {
150377  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_TargetModule" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150378  }
150379  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150380  {
150381  try {
150382  result = (arg1)->TargetModule();
150383  }
150384  catch(CStdErrorInfo oError)
150385  {
150386  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150387  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150388  PyErr_SetString(PyExc_IndexError, strError.c_str());
150389  SWIG_fail;
150390  }
150391  catch(...)
150392  {
150393  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150394  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150395  SWIG_fail;
150396  }
150397  }
150398  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
150399  return resultobj;
150400 fail:
150401  return NULL;
150402 }
150403 
150404 
150405 SWIGINTERN PyObject *_wrap_Adapter_TargetModule__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150406  PyObject *resultobj = 0;
150408  std::string arg2 ;
150409  void *argp1 = 0 ;
150410  int res1 = 0 ;
150411  PyObject * obj0 = 0 ;
150412  PyObject * obj1 = 0 ;
150413 
150414  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_TargetModule",&obj0,&obj1)) SWIG_fail;
150415  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150416  if (!SWIG_IsOK(res1)) {
150417  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_TargetModule" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150418  }
150419  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150420  {
150421  std::string *ptr = (std::string *)0;
150422  int res = SWIG_AsPtr_std_string(obj1, &ptr);
150423  if (!SWIG_IsOK(res) || !ptr) {
150424  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Adapter_TargetModule" "', argument " "2"" of type '" "std::string""'");
150425  }
150426  arg2 = *ptr;
150427  if (SWIG_IsNewObj(res)) delete ptr;
150428  }
150429  {
150430  try {
150431  (arg1)->TargetModule(arg2);
150432  }
150433  catch(CStdErrorInfo oError)
150434  {
150435  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150436  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150437  PyErr_SetString(PyExc_IndexError, strError.c_str());
150438  SWIG_fail;
150439  }
150440  catch(...)
150441  {
150442  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150443  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150444  SWIG_fail;
150445  }
150446  }
150447  resultobj = SWIG_Py_Void();
150448  return resultobj;
150449 fail:
150450  return NULL;
150451 }
150452 
150453 
150454 SWIGINTERN PyObject *_wrap_Adapter_TargetModule(PyObject *self, PyObject *args) {
150455  int argc;
150456  PyObject *argv[3];
150457  int ii;
150458 
150459  if (!PyTuple_Check(args)) SWIG_fail;
150460  argc = args ? (int)PyObject_Length(args) : 0;
150461  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
150462  argv[ii] = PyTuple_GET_ITEM(args,ii);
150463  }
150464  if (argc == 1) {
150465  int _v;
150466  void *vptr = 0;
150467  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
150468  _v = SWIG_CheckState(res);
150469  if (_v) {
150470  return _wrap_Adapter_TargetModule__SWIG_0(self, args);
150471  }
150472  }
150473  if (argc == 2) {
150474  int _v;
150475  void *vptr = 0;
150476  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
150477  _v = SWIG_CheckState(res);
150478  if (_v) {
150479  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
150480  _v = SWIG_CheckState(res);
150481  if (_v) {
150482  return _wrap_Adapter_TargetModule__SWIG_1(self, args);
150483  }
150484  }
150485  }
150486 
150487 fail:
150488  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Adapter_TargetModule'.\n"
150489  " Possible C/C++ prototypes are:\n"
150490  " AnimatSim::Adapters::Adapter::TargetModule()\n"
150491  " AnimatSim::Adapters::Adapter::TargetModule(std::string)\n");
150492  return 0;
150493 }
150494 
150495 
150496 SWIGINTERN PyObject *_wrap_Adapter_TargetID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150497  PyObject *resultobj = 0;
150499  void *argp1 = 0 ;
150500  int res1 = 0 ;
150501  PyObject * obj0 = 0 ;
150502  std::string result;
150503 
150504  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_TargetID",&obj0)) SWIG_fail;
150505  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150506  if (!SWIG_IsOK(res1)) {
150507  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_TargetID" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150508  }
150509  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150510  {
150511  try {
150512  result = (arg1)->TargetID();
150513  }
150514  catch(CStdErrorInfo oError)
150515  {
150516  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150517  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150518  PyErr_SetString(PyExc_IndexError, strError.c_str());
150519  SWIG_fail;
150520  }
150521  catch(...)
150522  {
150523  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150524  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150525  SWIG_fail;
150526  }
150527  }
150528  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
150529  return resultobj;
150530 fail:
150531  return NULL;
150532 }
150533 
150534 
150535 SWIGINTERN PyObject *_wrap_Adapter_TargetID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150536  PyObject *resultobj = 0;
150538  std::string arg2 ;
150539  void *argp1 = 0 ;
150540  int res1 = 0 ;
150541  PyObject * obj0 = 0 ;
150542  PyObject * obj1 = 0 ;
150543 
150544  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_TargetID",&obj0,&obj1)) SWIG_fail;
150545  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150546  if (!SWIG_IsOK(res1)) {
150547  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_TargetID" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150548  }
150549  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150550  {
150551  std::string *ptr = (std::string *)0;
150552  int res = SWIG_AsPtr_std_string(obj1, &ptr);
150553  if (!SWIG_IsOK(res) || !ptr) {
150554  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Adapter_TargetID" "', argument " "2"" of type '" "std::string""'");
150555  }
150556  arg2 = *ptr;
150557  if (SWIG_IsNewObj(res)) delete ptr;
150558  }
150559  {
150560  try {
150561  (arg1)->TargetID(arg2);
150562  }
150563  catch(CStdErrorInfo oError)
150564  {
150565  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150566  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150567  PyErr_SetString(PyExc_IndexError, strError.c_str());
150568  SWIG_fail;
150569  }
150570  catch(...)
150571  {
150572  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150573  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150574  SWIG_fail;
150575  }
150576  }
150577  resultobj = SWIG_Py_Void();
150578  return resultobj;
150579 fail:
150580  return NULL;
150581 }
150582 
150583 
150584 SWIGINTERN PyObject *_wrap_Adapter_TargetID(PyObject *self, PyObject *args) {
150585  int argc;
150586  PyObject *argv[3];
150587  int ii;
150588 
150589  if (!PyTuple_Check(args)) SWIG_fail;
150590  argc = args ? (int)PyObject_Length(args) : 0;
150591  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
150592  argv[ii] = PyTuple_GET_ITEM(args,ii);
150593  }
150594  if (argc == 1) {
150595  int _v;
150596  void *vptr = 0;
150597  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
150598  _v = SWIG_CheckState(res);
150599  if (_v) {
150600  return _wrap_Adapter_TargetID__SWIG_0(self, args);
150601  }
150602  }
150603  if (argc == 2) {
150604  int _v;
150605  void *vptr = 0;
150606  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
150607  _v = SWIG_CheckState(res);
150608  if (_v) {
150609  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
150610  _v = SWIG_CheckState(res);
150611  if (_v) {
150612  return _wrap_Adapter_TargetID__SWIG_1(self, args);
150613  }
150614  }
150615  }
150616 
150617 fail:
150618  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Adapter_TargetID'.\n"
150619  " Possible C/C++ prototypes are:\n"
150620  " AnimatSim::Adapters::Adapter::TargetID()\n"
150621  " AnimatSim::Adapters::Adapter::TargetID(std::string)\n");
150622  return 0;
150623 }
150624 
150625 
150626 SWIGINTERN PyObject *_wrap_Adapter_TargetDataType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150627  PyObject *resultobj = 0;
150629  void *argp1 = 0 ;
150630  int res1 = 0 ;
150631  PyObject * obj0 = 0 ;
150632  std::string result;
150633 
150634  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_TargetDataType",&obj0)) SWIG_fail;
150635  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150636  if (!SWIG_IsOK(res1)) {
150637  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_TargetDataType" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150638  }
150639  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150640  {
150641  try {
150642  result = (arg1)->TargetDataType();
150643  }
150644  catch(CStdErrorInfo oError)
150645  {
150646  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150647  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150648  PyErr_SetString(PyExc_IndexError, strError.c_str());
150649  SWIG_fail;
150650  }
150651  catch(...)
150652  {
150653  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150654  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150655  SWIG_fail;
150656  }
150657  }
150658  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
150659  return resultobj;
150660 fail:
150661  return NULL;
150662 }
150663 
150664 
150665 SWIGINTERN PyObject *_wrap_Adapter_TargetDataType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150666  PyObject *resultobj = 0;
150668  std::string arg2 ;
150669  void *argp1 = 0 ;
150670  int res1 = 0 ;
150671  PyObject * obj0 = 0 ;
150672  PyObject * obj1 = 0 ;
150673 
150674  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_TargetDataType",&obj0,&obj1)) SWIG_fail;
150675  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150676  if (!SWIG_IsOK(res1)) {
150677  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_TargetDataType" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150678  }
150679  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150680  {
150681  std::string *ptr = (std::string *)0;
150682  int res = SWIG_AsPtr_std_string(obj1, &ptr);
150683  if (!SWIG_IsOK(res) || !ptr) {
150684  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Adapter_TargetDataType" "', argument " "2"" of type '" "std::string""'");
150685  }
150686  arg2 = *ptr;
150687  if (SWIG_IsNewObj(res)) delete ptr;
150688  }
150689  {
150690  try {
150691  (arg1)->TargetDataType(arg2);
150692  }
150693  catch(CStdErrorInfo oError)
150694  {
150695  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150696  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150697  PyErr_SetString(PyExc_IndexError, strError.c_str());
150698  SWIG_fail;
150699  }
150700  catch(...)
150701  {
150702  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150703  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150704  SWIG_fail;
150705  }
150706  }
150707  resultobj = SWIG_Py_Void();
150708  return resultobj;
150709 fail:
150710  return NULL;
150711 }
150712 
150713 
150714 SWIGINTERN PyObject *_wrap_Adapter_TargetDataType(PyObject *self, PyObject *args) {
150715  int argc;
150716  PyObject *argv[3];
150717  int ii;
150718 
150719  if (!PyTuple_Check(args)) SWIG_fail;
150720  argc = args ? (int)PyObject_Length(args) : 0;
150721  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
150722  argv[ii] = PyTuple_GET_ITEM(args,ii);
150723  }
150724  if (argc == 1) {
150725  int _v;
150726  void *vptr = 0;
150727  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
150728  _v = SWIG_CheckState(res);
150729  if (_v) {
150730  return _wrap_Adapter_TargetDataType__SWIG_0(self, args);
150731  }
150732  }
150733  if (argc == 2) {
150734  int _v;
150735  void *vptr = 0;
150736  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
150737  _v = SWIG_CheckState(res);
150738  if (_v) {
150739  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
150740  _v = SWIG_CheckState(res);
150741  if (_v) {
150742  return _wrap_Adapter_TargetDataType__SWIG_1(self, args);
150743  }
150744  }
150745  }
150746 
150747 fail:
150748  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Adapter_TargetDataType'.\n"
150749  " Possible C/C++ prototypes are:\n"
150750  " AnimatSim::Adapters::Adapter::TargetDataType()\n"
150751  " AnimatSim::Adapters::Adapter::TargetDataType(std::string)\n");
150752  return 0;
150753 }
150754 
150755 
150756 SWIGINTERN PyObject *_wrap_Adapter_TargetNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150757  PyObject *resultobj = 0;
150759  void *argp1 = 0 ;
150760  int res1 = 0 ;
150761  PyObject * obj0 = 0 ;
150762  AnimatSim::Node *result = 0 ;
150763 
150764  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_TargetNode",&obj0)) SWIG_fail;
150765  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150766  if (!SWIG_IsOK(res1)) {
150767  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_TargetNode" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150768  }
150769  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150770  {
150771  try {
150772  result = (AnimatSim::Node *)(arg1)->TargetNode();
150773  }
150774  catch(CStdErrorInfo oError)
150775  {
150776  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150777  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150778  PyErr_SetString(PyExc_IndexError, strError.c_str());
150779  SWIG_fail;
150780  }
150781  catch(...)
150782  {
150783  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150784  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150785  SWIG_fail;
150786  }
150787  }
150788  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
150789  return resultobj;
150790 fail:
150791  return NULL;
150792 }
150793 
150794 
150795 SWIGINTERN PyObject *_wrap_Adapter_GetGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150796  PyObject *resultobj = 0;
150798  void *argp1 = 0 ;
150799  int res1 = 0 ;
150800  PyObject * obj0 = 0 ;
150801  Gain *result = 0 ;
150802 
150803  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_GetGain",&obj0)) SWIG_fail;
150804  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150805  if (!SWIG_IsOK(res1)) {
150806  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_GetGain" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150807  }
150808  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150809  {
150810  try {
150811  result = (Gain *)(arg1)->GetGain();
150812  }
150813  catch(CStdErrorInfo oError)
150814  {
150815  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150816  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150817  PyErr_SetString(PyExc_IndexError, strError.c_str());
150818  SWIG_fail;
150819  }
150820  catch(...)
150821  {
150822  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150823  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150824  SWIG_fail;
150825  }
150826  }
150827  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gain, 0 | 0 );
150828  return resultobj;
150829 fail:
150830  return NULL;
150831 }
150832 
150833 
150834 SWIGINTERN PyObject *_wrap_Adapter_SetGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150835  PyObject *resultobj = 0;
150837  Gain *arg2 = (Gain *) 0 ;
150838  void *argp1 = 0 ;
150839  int res1 = 0 ;
150840  void *argp2 = 0 ;
150841  int res2 = 0 ;
150842  PyObject * obj0 = 0 ;
150843  PyObject * obj1 = 0 ;
150844 
150845  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_SetGain",&obj0,&obj1)) SWIG_fail;
150846  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150847  if (!SWIG_IsOK(res1)) {
150848  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SetGain" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150849  }
150850  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150851  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gain, 0 | 0 );
150852  if (!SWIG_IsOK(res2)) {
150853  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Adapter_SetGain" "', argument " "2"" of type '" "Gain *""'");
150854  }
150855  arg2 = reinterpret_cast< Gain * >(argp2);
150856  {
150857  try {
150858  (arg1)->SetGain(arg2);
150859  }
150860  catch(CStdErrorInfo oError)
150861  {
150862  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150863  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150864  PyErr_SetString(PyExc_IndexError, strError.c_str());
150865  SWIG_fail;
150866  }
150867  catch(...)
150868  {
150869  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150870  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150871  SWIG_fail;
150872  }
150873  }
150874  resultobj = SWIG_Py_Void();
150875  return resultobj;
150876 fail:
150877  return NULL;
150878 }
150879 
150880 
150881 SWIGINTERN PyObject *_wrap_Adapter_ConnectedToPhysics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150882  PyObject *resultobj = 0;
150884  void *argp1 = 0 ;
150885  int res1 = 0 ;
150886  PyObject * obj0 = 0 ;
150887  bool result;
150888 
150889  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_ConnectedToPhysics",&obj0)) SWIG_fail;
150890  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150891  if (!SWIG_IsOK(res1)) {
150892  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_ConnectedToPhysics" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150893  }
150894  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150895  {
150896  try {
150897  result = (bool)(arg1)->ConnectedToPhysics();
150898  }
150899  catch(CStdErrorInfo oError)
150900  {
150901  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150902  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150903  PyErr_SetString(PyExc_IndexError, strError.c_str());
150904  SWIG_fail;
150905  }
150906  catch(...)
150907  {
150908  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150909  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150910  SWIG_fail;
150911  }
150912  }
150913  resultobj = SWIG_From_bool(static_cast< bool >(result));
150914  return resultobj;
150915 fail:
150916  return NULL;
150917 }
150918 
150919 
150920 SWIGINTERN PyObject *_wrap_Adapter_DelayBufferMode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150921  PyObject *resultobj = 0;
150923  void *argp1 = 0 ;
150924  int res1 = 0 ;
150925  PyObject * obj0 = 0 ;
150927 
150928  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_DelayBufferMode",&obj0)) SWIG_fail;
150929  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150930  if (!SWIG_IsOK(res1)) {
150931  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_DelayBufferMode" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150932  }
150933  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150934  {
150935  try {
150937  }
150938  catch(CStdErrorInfo oError)
150939  {
150940  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150941  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150942  PyErr_SetString(PyExc_IndexError, strError.c_str());
150943  SWIG_fail;
150944  }
150945  catch(...)
150946  {
150947  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150948  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150949  SWIG_fail;
150950  }
150951  }
150952  resultobj = SWIG_From_int(static_cast< int >(result));
150953  return resultobj;
150954 fail:
150955  return NULL;
150956 }
150957 
150958 
150959 SWIGINTERN PyObject *_wrap_Adapter_DelayBufferMode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
150960  PyObject *resultobj = 0;
150963  void *argp1 = 0 ;
150964  int res1 = 0 ;
150965  int val2 ;
150966  int ecode2 = 0 ;
150967  PyObject * obj0 = 0 ;
150968  PyObject * obj1 = 0 ;
150969 
150970  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_DelayBufferMode",&obj0,&obj1)) SWIG_fail;
150971  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
150972  if (!SWIG_IsOK(res1)) {
150973  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_DelayBufferMode" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
150974  }
150975  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
150976  ecode2 = SWIG_AsVal_int(obj1, &val2);
150977  if (!SWIG_IsOK(ecode2)) {
150978  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Adapter_DelayBufferMode" "', argument " "2"" of type '" "AnimatSim::Adapters::eDelayBufferMode""'");
150979  }
150980  arg2 = static_cast< AnimatSim::Adapters::eDelayBufferMode >(val2);
150981  {
150982  try {
150983  (arg1)->DelayBufferMode(arg2);
150984  }
150985  catch(CStdErrorInfo oError)
150986  {
150987  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150988  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
150989  PyErr_SetString(PyExc_IndexError, strError.c_str());
150990  SWIG_fail;
150991  }
150992  catch(...)
150993  {
150994  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
150995  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
150996  SWIG_fail;
150997  }
150998  }
150999  resultobj = SWIG_Py_Void();
151000  return resultobj;
151001 fail:
151002  return NULL;
151003 }
151004 
151005 
151006 SWIGINTERN PyObject *_wrap_Adapter_DelayBufferMode(PyObject *self, PyObject *args) {
151007  int argc;
151008  PyObject *argv[3];
151009  int ii;
151010 
151011  if (!PyTuple_Check(args)) SWIG_fail;
151012  argc = args ? (int)PyObject_Length(args) : 0;
151013  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
151014  argv[ii] = PyTuple_GET_ITEM(args,ii);
151015  }
151016  if (argc == 1) {
151017  int _v;
151018  void *vptr = 0;
151019  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
151020  _v = SWIG_CheckState(res);
151021  if (_v) {
151022  return _wrap_Adapter_DelayBufferMode__SWIG_0(self, args);
151023  }
151024  }
151025  if (argc == 2) {
151026  int _v;
151027  void *vptr = 0;
151028  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
151029  _v = SWIG_CheckState(res);
151030  if (_v) {
151031  {
151032  int res = SWIG_AsVal_int(argv[1], NULL);
151033  _v = SWIG_CheckState(res);
151034  }
151035  if (_v) {
151036  return _wrap_Adapter_DelayBufferMode__SWIG_1(self, args);
151037  }
151038  }
151039  }
151040 
151041 fail:
151042  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Adapter_DelayBufferMode'.\n"
151043  " Possible C/C++ prototypes are:\n"
151044  " AnimatSim::Adapters::Adapter::DelayBufferMode()\n"
151045  " AnimatSim::Adapters::Adapter::DelayBufferMode(AnimatSim::Adapters::eDelayBufferMode)\n");
151046  return 0;
151047 }
151048 
151049 
151050 SWIGINTERN PyObject *_wrap_Adapter_DelayBufferInterval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151051  PyObject *resultobj = 0;
151053  void *argp1 = 0 ;
151054  int res1 = 0 ;
151055  PyObject * obj0 = 0 ;
151056  float result;
151057 
151058  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_DelayBufferInterval",&obj0)) SWIG_fail;
151059  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151060  if (!SWIG_IsOK(res1)) {
151061  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_DelayBufferInterval" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151062  }
151063  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151064  {
151065  try {
151066  result = (float)(arg1)->DelayBufferInterval();
151067  }
151068  catch(CStdErrorInfo oError)
151069  {
151070  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151071  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151072  PyErr_SetString(PyExc_IndexError, strError.c_str());
151073  SWIG_fail;
151074  }
151075  catch(...)
151076  {
151077  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151078  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151079  SWIG_fail;
151080  }
151081  }
151082  resultobj = SWIG_From_float(static_cast< float >(result));
151083  return resultobj;
151084 fail:
151085  return NULL;
151086 }
151087 
151088 
151089 SWIGINTERN PyObject *_wrap_Adapter_DelayBufferInterval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151090  PyObject *resultobj = 0;
151092  float arg2 ;
151093  void *argp1 = 0 ;
151094  int res1 = 0 ;
151095  float val2 ;
151096  int ecode2 = 0 ;
151097  PyObject * obj0 = 0 ;
151098  PyObject * obj1 = 0 ;
151099 
151100  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_DelayBufferInterval",&obj0,&obj1)) SWIG_fail;
151101  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151102  if (!SWIG_IsOK(res1)) {
151103  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_DelayBufferInterval" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151104  }
151105  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151106  ecode2 = SWIG_AsVal_float(obj1, &val2);
151107  if (!SWIG_IsOK(ecode2)) {
151108  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Adapter_DelayBufferInterval" "', argument " "2"" of type '" "float""'");
151109  }
151110  arg2 = static_cast< float >(val2);
151111  {
151112  try {
151113  (arg1)->DelayBufferInterval(arg2);
151114  }
151115  catch(CStdErrorInfo oError)
151116  {
151117  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151118  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151119  PyErr_SetString(PyExc_IndexError, strError.c_str());
151120  SWIG_fail;
151121  }
151122  catch(...)
151123  {
151124  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151125  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151126  SWIG_fail;
151127  }
151128  }
151129  resultobj = SWIG_Py_Void();
151130  return resultobj;
151131 fail:
151132  return NULL;
151133 }
151134 
151135 
151136 SWIGINTERN PyObject *_wrap_Adapter_DelayBufferInterval(PyObject *self, PyObject *args) {
151137  int argc;
151138  PyObject *argv[3];
151139  int ii;
151140 
151141  if (!PyTuple_Check(args)) SWIG_fail;
151142  argc = args ? (int)PyObject_Length(args) : 0;
151143  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
151144  argv[ii] = PyTuple_GET_ITEM(args,ii);
151145  }
151146  if (argc == 1) {
151147  int _v;
151148  void *vptr = 0;
151149  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
151150  _v = SWIG_CheckState(res);
151151  if (_v) {
151152  return _wrap_Adapter_DelayBufferInterval__SWIG_0(self, args);
151153  }
151154  }
151155  if (argc == 2) {
151156  int _v;
151157  void *vptr = 0;
151158  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
151159  _v = SWIG_CheckState(res);
151160  if (_v) {
151161  {
151162  int res = SWIG_AsVal_float(argv[1], NULL);
151163  _v = SWIG_CheckState(res);
151164  }
151165  if (_v) {
151166  return _wrap_Adapter_DelayBufferInterval__SWIG_1(self, args);
151167  }
151168  }
151169  }
151170 
151171 fail:
151172  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Adapter_DelayBufferInterval'.\n"
151173  " Possible C/C++ prototypes are:\n"
151174  " AnimatSim::Adapters::Adapter::DelayBufferInterval()\n"
151175  " AnimatSim::Adapters::Adapter::DelayBufferInterval(float)\n");
151176  return 0;
151177 }
151178 
151179 
151180 SWIGINTERN PyObject *_wrap_Adapter_DetachAdaptersFromSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151181  PyObject *resultobj = 0;
151183  void *argp1 = 0 ;
151184  int res1 = 0 ;
151185  PyObject * obj0 = 0 ;
151186 
151187  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_DetachAdaptersFromSimulation",&obj0)) SWIG_fail;
151188  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151189  if (!SWIG_IsOK(res1)) {
151190  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_DetachAdaptersFromSimulation" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151191  }
151192  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151193  {
151194  try {
151195  (arg1)->DetachAdaptersFromSimulation();
151196  }
151197  catch(CStdErrorInfo oError)
151198  {
151199  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151200  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151201  PyErr_SetString(PyExc_IndexError, strError.c_str());
151202  SWIG_fail;
151203  }
151204  catch(...)
151205  {
151206  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151207  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151208  SWIG_fail;
151209  }
151210  }
151211  resultobj = SWIG_Py_Void();
151212  return resultobj;
151213 fail:
151214  return NULL;
151215 }
151216 
151217 
151218 SWIGINTERN PyObject *_wrap_Adapter_RobotIOScale__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151219  PyObject *resultobj = 0;
151221  void *argp1 = 0 ;
151222  int res1 = 0 ;
151223  PyObject * obj0 = 0 ;
151224  float result;
151225 
151226  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_RobotIOScale",&obj0)) SWIG_fail;
151227  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151228  if (!SWIG_IsOK(res1)) {
151229  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_RobotIOScale" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151230  }
151231  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151232  {
151233  try {
151234  result = (float)(arg1)->RobotIOScale();
151235  }
151236  catch(CStdErrorInfo oError)
151237  {
151238  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151239  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151240  PyErr_SetString(PyExc_IndexError, strError.c_str());
151241  SWIG_fail;
151242  }
151243  catch(...)
151244  {
151245  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151246  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151247  SWIG_fail;
151248  }
151249  }
151250  resultobj = SWIG_From_float(static_cast< float >(result));
151251  return resultobj;
151252 fail:
151253  return NULL;
151254 }
151255 
151256 
151257 SWIGINTERN PyObject *_wrap_Adapter_RobotIOScale__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151258  PyObject *resultobj = 0;
151260  float arg2 ;
151261  void *argp1 = 0 ;
151262  int res1 = 0 ;
151263  float val2 ;
151264  int ecode2 = 0 ;
151265  PyObject * obj0 = 0 ;
151266  PyObject * obj1 = 0 ;
151267 
151268  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_RobotIOScale",&obj0,&obj1)) SWIG_fail;
151269  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151270  if (!SWIG_IsOK(res1)) {
151271  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_RobotIOScale" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151272  }
151273  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151274  ecode2 = SWIG_AsVal_float(obj1, &val2);
151275  if (!SWIG_IsOK(ecode2)) {
151276  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Adapter_RobotIOScale" "', argument " "2"" of type '" "float""'");
151277  }
151278  arg2 = static_cast< float >(val2);
151279  {
151280  try {
151281  (arg1)->RobotIOScale(arg2);
151282  }
151283  catch(CStdErrorInfo oError)
151284  {
151285  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151286  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151287  PyErr_SetString(PyExc_IndexError, strError.c_str());
151288  SWIG_fail;
151289  }
151290  catch(...)
151291  {
151292  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151293  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151294  SWIG_fail;
151295  }
151296  }
151297  resultobj = SWIG_Py_Void();
151298  return resultobj;
151299 fail:
151300  return NULL;
151301 }
151302 
151303 
151304 SWIGINTERN PyObject *_wrap_Adapter_RobotIOScale(PyObject *self, PyObject *args) {
151305  int argc;
151306  PyObject *argv[3];
151307  int ii;
151308 
151309  if (!PyTuple_Check(args)) SWIG_fail;
151310  argc = args ? (int)PyObject_Length(args) : 0;
151311  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
151312  argv[ii] = PyTuple_GET_ITEM(args,ii);
151313  }
151314  if (argc == 1) {
151315  int _v;
151316  void *vptr = 0;
151317  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
151318  _v = SWIG_CheckState(res);
151319  if (_v) {
151320  return _wrap_Adapter_RobotIOScale__SWIG_0(self, args);
151321  }
151322  }
151323  if (argc == 2) {
151324  int _v;
151325  void *vptr = 0;
151326  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
151327  _v = SWIG_CheckState(res);
151328  if (_v) {
151329  {
151330  int res = SWIG_AsVal_float(argv[1], NULL);
151331  _v = SWIG_CheckState(res);
151332  }
151333  if (_v) {
151334  return _wrap_Adapter_RobotIOScale__SWIG_1(self, args);
151335  }
151336  }
151337  }
151338 
151339 fail:
151340  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Adapter_RobotIOScale'.\n"
151341  " Possible C/C++ prototypes are:\n"
151342  " AnimatSim::Adapters::Adapter::RobotIOScale()\n"
151343  " AnimatSim::Adapters::Adapter::RobotIOScale(float)\n");
151344  return 0;
151345 }
151346 
151347 
151348 SWIGINTERN PyObject *_wrap_Adapter_SynchWithRobot__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151349  PyObject *resultobj = 0;
151351  void *argp1 = 0 ;
151352  int res1 = 0 ;
151353  PyObject * obj0 = 0 ;
151354  bool result;
151355 
151356  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_SynchWithRobot",&obj0)) SWIG_fail;
151357  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151358  if (!SWIG_IsOK(res1)) {
151359  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SynchWithRobot" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151360  }
151361  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151362  {
151363  try {
151364  result = (bool)(arg1)->SynchWithRobot();
151365  }
151366  catch(CStdErrorInfo oError)
151367  {
151368  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151369  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151370  PyErr_SetString(PyExc_IndexError, strError.c_str());
151371  SWIG_fail;
151372  }
151373  catch(...)
151374  {
151375  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151376  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151377  SWIG_fail;
151378  }
151379  }
151380  resultobj = SWIG_From_bool(static_cast< bool >(result));
151381  return resultobj;
151382 fail:
151383  return NULL;
151384 }
151385 
151386 
151387 SWIGINTERN PyObject *_wrap_Adapter_SynchWithRobot__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151388  PyObject *resultobj = 0;
151390  bool arg2 ;
151391  void *argp1 = 0 ;
151392  int res1 = 0 ;
151393  bool val2 ;
151394  int ecode2 = 0 ;
151395  PyObject * obj0 = 0 ;
151396  PyObject * obj1 = 0 ;
151397 
151398  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_SynchWithRobot",&obj0,&obj1)) SWIG_fail;
151399  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151400  if (!SWIG_IsOK(res1)) {
151401  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SynchWithRobot" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151402  }
151403  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151404  ecode2 = SWIG_AsVal_bool(obj1, &val2);
151405  if (!SWIG_IsOK(ecode2)) {
151406  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Adapter_SynchWithRobot" "', argument " "2"" of type '" "bool""'");
151407  }
151408  arg2 = static_cast< bool >(val2);
151409  {
151410  try {
151411  (arg1)->SynchWithRobot(arg2);
151412  }
151413  catch(CStdErrorInfo oError)
151414  {
151415  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151416  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151417  PyErr_SetString(PyExc_IndexError, strError.c_str());
151418  SWIG_fail;
151419  }
151420  catch(...)
151421  {
151422  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151423  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151424  SWIG_fail;
151425  }
151426  }
151427  resultobj = SWIG_Py_Void();
151428  return resultobj;
151429 fail:
151430  return NULL;
151431 }
151432 
151433 
151434 SWIGINTERN PyObject *_wrap_Adapter_SynchWithRobot(PyObject *self, PyObject *args) {
151435  int argc;
151436  PyObject *argv[3];
151437  int ii;
151438 
151439  if (!PyTuple_Check(args)) SWIG_fail;
151440  argc = args ? (int)PyObject_Length(args) : 0;
151441  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
151442  argv[ii] = PyTuple_GET_ITEM(args,ii);
151443  }
151444  if (argc == 1) {
151445  int _v;
151446  void *vptr = 0;
151447  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
151448  _v = SWIG_CheckState(res);
151449  if (_v) {
151450  return _wrap_Adapter_SynchWithRobot__SWIG_0(self, args);
151451  }
151452  }
151453  if (argc == 2) {
151454  int _v;
151455  void *vptr = 0;
151456  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
151457  _v = SWIG_CheckState(res);
151458  if (_v) {
151459  {
151460  int res = SWIG_AsVal_bool(argv[1], NULL);
151461  _v = SWIG_CheckState(res);
151462  }
151463  if (_v) {
151464  return _wrap_Adapter_SynchWithRobot__SWIG_1(self, args);
151465  }
151466  }
151467  }
151468 
151469 fail:
151470  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Adapter_SynchWithRobot'.\n"
151471  " Possible C/C++ prototypes are:\n"
151472  " AnimatSim::Adapters::Adapter::SynchWithRobot()\n"
151473  " AnimatSim::Adapters::Adapter::SynchWithRobot(bool)\n");
151474  return 0;
151475 }
151476 
151477 
151478 SWIGINTERN PyObject *_wrap_Adapter_SynchUpdateInterval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151479  PyObject *resultobj = 0;
151481  void *argp1 = 0 ;
151482  int res1 = 0 ;
151483  PyObject * obj0 = 0 ;
151484  float result;
151485 
151486  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_SynchUpdateInterval",&obj0)) SWIG_fail;
151487  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151488  if (!SWIG_IsOK(res1)) {
151489  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SynchUpdateInterval" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151490  }
151491  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151492  {
151493  try {
151494  result = (float)(arg1)->SynchUpdateInterval();
151495  }
151496  catch(CStdErrorInfo oError)
151497  {
151498  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151499  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151500  PyErr_SetString(PyExc_IndexError, strError.c_str());
151501  SWIG_fail;
151502  }
151503  catch(...)
151504  {
151505  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151506  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151507  SWIG_fail;
151508  }
151509  }
151510  resultobj = SWIG_From_float(static_cast< float >(result));
151511  return resultobj;
151512 fail:
151513  return NULL;
151514 }
151515 
151516 
151517 SWIGINTERN PyObject *_wrap_Adapter_SynchUpdateInterval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151518  PyObject *resultobj = 0;
151520  float arg2 ;
151521  void *argp1 = 0 ;
151522  int res1 = 0 ;
151523  float val2 ;
151524  int ecode2 = 0 ;
151525  PyObject * obj0 = 0 ;
151526  PyObject * obj1 = 0 ;
151527 
151528  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_SynchUpdateInterval",&obj0,&obj1)) SWIG_fail;
151529  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151530  if (!SWIG_IsOK(res1)) {
151531  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SynchUpdateInterval" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151532  }
151533  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151534  ecode2 = SWIG_AsVal_float(obj1, &val2);
151535  if (!SWIG_IsOK(ecode2)) {
151536  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Adapter_SynchUpdateInterval" "', argument " "2"" of type '" "float""'");
151537  }
151538  arg2 = static_cast< float >(val2);
151539  {
151540  try {
151541  (arg1)->SynchUpdateInterval(arg2);
151542  }
151543  catch(CStdErrorInfo oError)
151544  {
151545  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151546  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151547  PyErr_SetString(PyExc_IndexError, strError.c_str());
151548  SWIG_fail;
151549  }
151550  catch(...)
151551  {
151552  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151553  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151554  SWIG_fail;
151555  }
151556  }
151557  resultobj = SWIG_Py_Void();
151558  return resultobj;
151559 fail:
151560  return NULL;
151561 }
151562 
151563 
151564 SWIGINTERN PyObject *_wrap_Adapter_SynchUpdateInterval(PyObject *self, PyObject *args) {
151565  int argc;
151566  PyObject *argv[3];
151567  int ii;
151568 
151569  if (!PyTuple_Check(args)) SWIG_fail;
151570  argc = args ? (int)PyObject_Length(args) : 0;
151571  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
151572  argv[ii] = PyTuple_GET_ITEM(args,ii);
151573  }
151574  if (argc == 1) {
151575  int _v;
151576  void *vptr = 0;
151577  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
151578  _v = SWIG_CheckState(res);
151579  if (_v) {
151580  return _wrap_Adapter_SynchUpdateInterval__SWIG_0(self, args);
151581  }
151582  }
151583  if (argc == 2) {
151584  int _v;
151585  void *vptr = 0;
151586  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
151587  _v = SWIG_CheckState(res);
151588  if (_v) {
151589  {
151590  int res = SWIG_AsVal_float(argv[1], NULL);
151591  _v = SWIG_CheckState(res);
151592  }
151593  if (_v) {
151594  return _wrap_Adapter_SynchUpdateInterval__SWIG_1(self, args);
151595  }
151596  }
151597  }
151598 
151599 fail:
151600  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Adapter_SynchUpdateInterval'.\n"
151601  " Possible C/C++ prototypes are:\n"
151602  " AnimatSim::Adapters::Adapter::SynchUpdateInterval()\n"
151603  " AnimatSim::Adapters::Adapter::SynchUpdateInterval(float)\n");
151604  return 0;
151605 }
151606 
151607 
151608 SWIGINTERN PyObject *_wrap_Adapter_SynchUpdateStartInterval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151609  PyObject *resultobj = 0;
151611  void *argp1 = 0 ;
151612  int res1 = 0 ;
151613  PyObject * obj0 = 0 ;
151614  float result;
151615 
151616  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_SynchUpdateStartInterval",&obj0)) SWIG_fail;
151617  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151618  if (!SWIG_IsOK(res1)) {
151619  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SynchUpdateStartInterval" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151620  }
151621  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151622  {
151623  try {
151624  result = (float)(arg1)->SynchUpdateStartInterval();
151625  }
151626  catch(CStdErrorInfo oError)
151627  {
151628  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151629  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151630  PyErr_SetString(PyExc_IndexError, strError.c_str());
151631  SWIG_fail;
151632  }
151633  catch(...)
151634  {
151635  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151636  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151637  SWIG_fail;
151638  }
151639  }
151640  resultobj = SWIG_From_float(static_cast< float >(result));
151641  return resultobj;
151642 fail:
151643  return NULL;
151644 }
151645 
151646 
151647 SWIGINTERN PyObject *_wrap_Adapter_SynchUpdateStartInterval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151648  PyObject *resultobj = 0;
151650  float arg2 ;
151651  void *argp1 = 0 ;
151652  int res1 = 0 ;
151653  float val2 ;
151654  int ecode2 = 0 ;
151655  PyObject * obj0 = 0 ;
151656  PyObject * obj1 = 0 ;
151657 
151658  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_SynchUpdateStartInterval",&obj0,&obj1)) SWIG_fail;
151659  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151660  if (!SWIG_IsOK(res1)) {
151661  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SynchUpdateStartInterval" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151662  }
151663  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151664  ecode2 = SWIG_AsVal_float(obj1, &val2);
151665  if (!SWIG_IsOK(ecode2)) {
151666  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Adapter_SynchUpdateStartInterval" "', argument " "2"" of type '" "float""'");
151667  }
151668  arg2 = static_cast< float >(val2);
151669  {
151670  try {
151671  (arg1)->SynchUpdateStartInterval(arg2);
151672  }
151673  catch(CStdErrorInfo oError)
151674  {
151675  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151676  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151677  PyErr_SetString(PyExc_IndexError, strError.c_str());
151678  SWIG_fail;
151679  }
151680  catch(...)
151681  {
151682  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151683  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151684  SWIG_fail;
151685  }
151686  }
151687  resultobj = SWIG_Py_Void();
151688  return resultobj;
151689 fail:
151690  return NULL;
151691 }
151692 
151693 
151694 SWIGINTERN PyObject *_wrap_Adapter_SynchUpdateStartInterval(PyObject *self, PyObject *args) {
151695  int argc;
151696  PyObject *argv[3];
151697  int ii;
151698 
151699  if (!PyTuple_Check(args)) SWIG_fail;
151700  argc = args ? (int)PyObject_Length(args) : 0;
151701  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
151702  argv[ii] = PyTuple_GET_ITEM(args,ii);
151703  }
151704  if (argc == 1) {
151705  int _v;
151706  void *vptr = 0;
151707  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
151708  _v = SWIG_CheckState(res);
151709  if (_v) {
151710  return _wrap_Adapter_SynchUpdateStartInterval__SWIG_0(self, args);
151711  }
151712  }
151713  if (argc == 2) {
151714  int _v;
151715  void *vptr = 0;
151716  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
151717  _v = SWIG_CheckState(res);
151718  if (_v) {
151719  {
151720  int res = SWIG_AsVal_float(argv[1], NULL);
151721  _v = SWIG_CheckState(res);
151722  }
151723  if (_v) {
151724  return _wrap_Adapter_SynchUpdateStartInterval__SWIG_1(self, args);
151725  }
151726  }
151727  }
151728 
151729 fail:
151730  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Adapter_SynchUpdateStartInterval'.\n"
151731  " Possible C/C++ prototypes are:\n"
151732  " AnimatSim::Adapters::Adapter::SynchUpdateStartInterval()\n"
151733  " AnimatSim::Adapters::Adapter::SynchUpdateStartInterval(float)\n");
151734  return 0;
151735 }
151736 
151737 
151738 SWIGINTERN PyObject *_wrap_Adapter_InitIODisableDuration__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151739  PyObject *resultobj = 0;
151741  void *argp1 = 0 ;
151742  int res1 = 0 ;
151743  PyObject * obj0 = 0 ;
151744  float result;
151745 
151746  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_InitIODisableDuration",&obj0)) SWIG_fail;
151747  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151748  if (!SWIG_IsOK(res1)) {
151749  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_InitIODisableDuration" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151750  }
151751  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151752  {
151753  try {
151754  result = (float)(arg1)->InitIODisableDuration();
151755  }
151756  catch(CStdErrorInfo oError)
151757  {
151758  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151759  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151760  PyErr_SetString(PyExc_IndexError, strError.c_str());
151761  SWIG_fail;
151762  }
151763  catch(...)
151764  {
151765  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151766  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151767  SWIG_fail;
151768  }
151769  }
151770  resultobj = SWIG_From_float(static_cast< float >(result));
151771  return resultobj;
151772 fail:
151773  return NULL;
151774 }
151775 
151776 
151777 SWIGINTERN PyObject *_wrap_Adapter_InitIODisableDuration__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151778  PyObject *resultobj = 0;
151780  float arg2 ;
151781  void *argp1 = 0 ;
151782  int res1 = 0 ;
151783  float val2 ;
151784  int ecode2 = 0 ;
151785  PyObject * obj0 = 0 ;
151786  PyObject * obj1 = 0 ;
151787 
151788  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_InitIODisableDuration",&obj0,&obj1)) SWIG_fail;
151789  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151790  if (!SWIG_IsOK(res1)) {
151791  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_InitIODisableDuration" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151792  }
151793  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151794  ecode2 = SWIG_AsVal_float(obj1, &val2);
151795  if (!SWIG_IsOK(ecode2)) {
151796  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Adapter_InitIODisableDuration" "', argument " "2"" of type '" "float""'");
151797  }
151798  arg2 = static_cast< float >(val2);
151799  {
151800  try {
151801  (arg1)->InitIODisableDuration(arg2);
151802  }
151803  catch(CStdErrorInfo oError)
151804  {
151805  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151806  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151807  PyErr_SetString(PyExc_IndexError, strError.c_str());
151808  SWIG_fail;
151809  }
151810  catch(...)
151811  {
151812  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151813  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151814  SWIG_fail;
151815  }
151816  }
151817  resultobj = SWIG_Py_Void();
151818  return resultobj;
151819 fail:
151820  return NULL;
151821 }
151822 
151823 
151824 SWIGINTERN PyObject *_wrap_Adapter_InitIODisableDuration(PyObject *self, PyObject *args) {
151825  int argc;
151826  PyObject *argv[3];
151827  int ii;
151828 
151829  if (!PyTuple_Check(args)) SWIG_fail;
151830  argc = args ? (int)PyObject_Length(args) : 0;
151831  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
151832  argv[ii] = PyTuple_GET_ITEM(args,ii);
151833  }
151834  if (argc == 1) {
151835  int _v;
151836  void *vptr = 0;
151837  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
151838  _v = SWIG_CheckState(res);
151839  if (_v) {
151840  return _wrap_Adapter_InitIODisableDuration__SWIG_0(self, args);
151841  }
151842  }
151843  if (argc == 2) {
151844  int _v;
151845  void *vptr = 0;
151846  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
151847  _v = SWIG_CheckState(res);
151848  if (_v) {
151849  {
151850  int res = SWIG_AsVal_float(argv[1], NULL);
151851  _v = SWIG_CheckState(res);
151852  }
151853  if (_v) {
151854  return _wrap_Adapter_InitIODisableDuration__SWIG_1(self, args);
151855  }
151856  }
151857  }
151858 
151859 fail:
151860  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Adapter_InitIODisableDuration'.\n"
151861  " Possible C/C++ prototypes are:\n"
151862  " AnimatSim::Adapters::Adapter::InitIODisableDuration()\n"
151863  " AnimatSim::Adapters::Adapter::InitIODisableDuration(float)\n");
151864  return 0;
151865 }
151866 
151867 
151868 SWIGINTERN PyObject *_wrap_Adapter_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151869  PyObject *resultobj = 0;
151871  void *argp1 = 0 ;
151872  int res1 = 0 ;
151873  PyObject * obj0 = 0 ;
151874 
151875  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_Initialize",&obj0)) SWIG_fail;
151876  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151877  if (!SWIG_IsOK(res1)) {
151878  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_Initialize" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151879  }
151880  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151881  {
151882  try {
151883  (arg1)->Initialize();
151884  }
151885  catch(CStdErrorInfo oError)
151886  {
151887  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151888  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151889  PyErr_SetString(PyExc_IndexError, strError.c_str());
151890  SWIG_fail;
151891  }
151892  catch(...)
151893  {
151894  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151895  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151896  SWIG_fail;
151897  }
151898  }
151899  resultobj = SWIG_Py_Void();
151900  return resultobj;
151901 fail:
151902  return NULL;
151903 }
151904 
151905 
151906 SWIGINTERN PyObject *_wrap_Adapter_TimeStepModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151907  PyObject *resultobj = 0;
151909  void *argp1 = 0 ;
151910  int res1 = 0 ;
151911  PyObject * obj0 = 0 ;
151912 
151913  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_TimeStepModified",&obj0)) SWIG_fail;
151914  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151915  if (!SWIG_IsOK(res1)) {
151916  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_TimeStepModified" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151917  }
151918  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151919  {
151920  try {
151921  (arg1)->TimeStepModified();
151922  }
151923  catch(CStdErrorInfo oError)
151924  {
151925  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151926  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151927  PyErr_SetString(PyExc_IndexError, strError.c_str());
151928  SWIG_fail;
151929  }
151930  catch(...)
151931  {
151932  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151933  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151934  SWIG_fail;
151935  }
151936  }
151937  resultobj = SWIG_Py_Void();
151938  return resultobj;
151939 fail:
151940  return NULL;
151941 }
151942 
151943 
151944 SWIGINTERN PyObject *_wrap_Adapter_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151945  PyObject *resultobj = 0;
151947  void *argp1 = 0 ;
151948  int res1 = 0 ;
151949  PyObject * obj0 = 0 ;
151950 
151951  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_ResetSimulation",&obj0)) SWIG_fail;
151952  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151953  if (!SWIG_IsOK(res1)) {
151954  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
151955  }
151956  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
151957  {
151958  try {
151959  (arg1)->ResetSimulation();
151960  }
151961  catch(CStdErrorInfo oError)
151962  {
151963  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151964  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
151965  PyErr_SetString(PyExc_IndexError, strError.c_str());
151966  SWIG_fail;
151967  }
151968  catch(...)
151969  {
151970  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
151971  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
151972  SWIG_fail;
151973  }
151974  }
151975  resultobj = SWIG_Py_Void();
151976  return resultobj;
151977 fail:
151978  return NULL;
151979 }
151980 
151981 
151982 SWIGINTERN PyObject *_wrap_Adapter_AddExternalNodeInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
151983  PyObject *resultobj = 0;
151985  int arg2 ;
151986  float arg3 ;
151987  void *argp1 = 0 ;
151988  int res1 = 0 ;
151989  int val2 ;
151990  int ecode2 = 0 ;
151991  float val3 ;
151992  int ecode3 = 0 ;
151993  PyObject * obj0 = 0 ;
151994  PyObject * obj1 = 0 ;
151995  PyObject * obj2 = 0 ;
151996 
151997  if (!PyArg_ParseTuple(args,(char *)"OOO:Adapter_AddExternalNodeInput",&obj0,&obj1,&obj2)) SWIG_fail;
151998  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
151999  if (!SWIG_IsOK(res1)) {
152000  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_AddExternalNodeInput" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
152001  }
152002  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
152003  ecode2 = SWIG_AsVal_int(obj1, &val2);
152004  if (!SWIG_IsOK(ecode2)) {
152005  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Adapter_AddExternalNodeInput" "', argument " "2"" of type '" "int""'");
152006  }
152007  arg2 = static_cast< int >(val2);
152008  ecode3 = SWIG_AsVal_float(obj2, &val3);
152009  if (!SWIG_IsOK(ecode3)) {
152010  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Adapter_AddExternalNodeInput" "', argument " "3"" of type '" "float""'");
152011  }
152012  arg3 = static_cast< float >(val3);
152013  {
152014  try {
152015  (arg1)->AddExternalNodeInput(arg2,arg3);
152016  }
152017  catch(CStdErrorInfo oError)
152018  {
152019  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152020  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152021  PyErr_SetString(PyExc_IndexError, strError.c_str());
152022  SWIG_fail;
152023  }
152024  catch(...)
152025  {
152026  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152027  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152028  SWIG_fail;
152029  }
152030  }
152031  resultobj = SWIG_Py_Void();
152032  return resultobj;
152033 fail:
152034  return NULL;
152035 }
152036 
152037 
152038 SWIGINTERN PyObject *_wrap_Adapter_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152039  PyObject *resultobj = 0;
152041  std::string *arg2 = 0 ;
152042  std::string *arg3 = 0 ;
152043  bool arg4 ;
152044  void *argp1 = 0 ;
152045  int res1 = 0 ;
152046  int res2 = SWIG_OLDOBJ ;
152047  int res3 = SWIG_OLDOBJ ;
152048  bool val4 ;
152049  int ecode4 = 0 ;
152050  PyObject * obj0 = 0 ;
152051  PyObject * obj1 = 0 ;
152052  PyObject * obj2 = 0 ;
152053  PyObject * obj3 = 0 ;
152054  bool result;
152055 
152056  if (!PyArg_ParseTuple(args,(char *)"OOOO:Adapter_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
152057  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
152058  if (!SWIG_IsOK(res1)) {
152059  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SetData" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
152060  }
152061  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
152062  {
152063  std::string *ptr = (std::string *)0;
152064  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
152065  if (!SWIG_IsOK(res2)) {
152066  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Adapter_SetData" "', argument " "2"" of type '" "std::string const &""'");
152067  }
152068  if (!ptr) {
152069  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Adapter_SetData" "', argument " "2"" of type '" "std::string const &""'");
152070  }
152071  arg2 = ptr;
152072  }
152073  {
152074  std::string *ptr = (std::string *)0;
152075  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
152076  if (!SWIG_IsOK(res3)) {
152077  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Adapter_SetData" "', argument " "3"" of type '" "std::string const &""'");
152078  }
152079  if (!ptr) {
152080  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Adapter_SetData" "', argument " "3"" of type '" "std::string const &""'");
152081  }
152082  arg3 = ptr;
152083  }
152084  ecode4 = SWIG_AsVal_bool(obj3, &val4);
152085  if (!SWIG_IsOK(ecode4)) {
152086  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Adapter_SetData" "', argument " "4"" of type '" "bool""'");
152087  }
152088  arg4 = static_cast< bool >(val4);
152089  {
152090  try {
152091  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
152092  }
152093  catch(CStdErrorInfo oError)
152094  {
152095  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152096  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152097  PyErr_SetString(PyExc_IndexError, strError.c_str());
152098  SWIG_fail;
152099  }
152100  catch(...)
152101  {
152102  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152103  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152104  SWIG_fail;
152105  }
152106  }
152107  resultobj = SWIG_From_bool(static_cast< bool >(result));
152108  if (SWIG_IsNewObj(res2)) delete arg2;
152109  if (SWIG_IsNewObj(res3)) delete arg3;
152110  return resultobj;
152111 fail:
152112  if (SWIG_IsNewObj(res2)) delete arg2;
152113  if (SWIG_IsNewObj(res3)) delete arg3;
152114  return NULL;
152115 }
152116 
152117 
152118 SWIGINTERN PyObject *_wrap_Adapter_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152119  PyObject *resultobj = 0;
152121  std::string *arg2 = 0 ;
152122  std::string *arg3 = 0 ;
152123  void *argp1 = 0 ;
152124  int res1 = 0 ;
152125  int res2 = SWIG_OLDOBJ ;
152126  int res3 = SWIG_OLDOBJ ;
152127  PyObject * obj0 = 0 ;
152128  PyObject * obj1 = 0 ;
152129  PyObject * obj2 = 0 ;
152130  bool result;
152131 
152132  if (!PyArg_ParseTuple(args,(char *)"OOO:Adapter_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
152133  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
152134  if (!SWIG_IsOK(res1)) {
152135  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_SetData" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
152136  }
152137  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
152138  {
152139  std::string *ptr = (std::string *)0;
152140  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
152141  if (!SWIG_IsOK(res2)) {
152142  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Adapter_SetData" "', argument " "2"" of type '" "std::string const &""'");
152143  }
152144  if (!ptr) {
152145  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Adapter_SetData" "', argument " "2"" of type '" "std::string const &""'");
152146  }
152147  arg2 = ptr;
152148  }
152149  {
152150  std::string *ptr = (std::string *)0;
152151  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
152152  if (!SWIG_IsOK(res3)) {
152153  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Adapter_SetData" "', argument " "3"" of type '" "std::string const &""'");
152154  }
152155  if (!ptr) {
152156  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Adapter_SetData" "', argument " "3"" of type '" "std::string const &""'");
152157  }
152158  arg3 = ptr;
152159  }
152160  {
152161  try {
152162  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
152163  }
152164  catch(CStdErrorInfo oError)
152165  {
152166  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152167  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152168  PyErr_SetString(PyExc_IndexError, strError.c_str());
152169  SWIG_fail;
152170  }
152171  catch(...)
152172  {
152173  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152174  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152175  SWIG_fail;
152176  }
152177  }
152178  resultobj = SWIG_From_bool(static_cast< bool >(result));
152179  if (SWIG_IsNewObj(res2)) delete arg2;
152180  if (SWIG_IsNewObj(res3)) delete arg3;
152181  return resultobj;
152182 fail:
152183  if (SWIG_IsNewObj(res2)) delete arg2;
152184  if (SWIG_IsNewObj(res3)) delete arg3;
152185  return NULL;
152186 }
152187 
152188 
152189 SWIGINTERN PyObject *_wrap_Adapter_SetData(PyObject *self, PyObject *args) {
152190  int argc;
152191  PyObject *argv[5];
152192  int ii;
152193 
152194  if (!PyTuple_Check(args)) SWIG_fail;
152195  argc = args ? (int)PyObject_Length(args) : 0;
152196  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
152197  argv[ii] = PyTuple_GET_ITEM(args,ii);
152198  }
152199  if (argc == 3) {
152200  int _v;
152201  void *vptr = 0;
152202  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
152203  _v = SWIG_CheckState(res);
152204  if (_v) {
152205  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
152206  _v = SWIG_CheckState(res);
152207  if (_v) {
152208  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
152209  _v = SWIG_CheckState(res);
152210  if (_v) {
152211  return _wrap_Adapter_SetData__SWIG_1(self, args);
152212  }
152213  }
152214  }
152215  }
152216  if (argc == 4) {
152217  int _v;
152218  void *vptr = 0;
152219  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0);
152220  _v = SWIG_CheckState(res);
152221  if (_v) {
152222  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
152223  _v = SWIG_CheckState(res);
152224  if (_v) {
152225  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
152226  _v = SWIG_CheckState(res);
152227  if (_v) {
152228  {
152229  int res = SWIG_AsVal_bool(argv[3], NULL);
152230  _v = SWIG_CheckState(res);
152231  }
152232  if (_v) {
152233  return _wrap_Adapter_SetData__SWIG_0(self, args);
152234  }
152235  }
152236  }
152237  }
152238  }
152239 
152240 fail:
152241  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Adapter_SetData'.\n"
152242  " Possible C/C++ prototypes are:\n"
152243  " AnimatSim::Adapters::Adapter::SetData(std::string const &,std::string const &,bool)\n"
152244  " AnimatSim::Adapters::Adapter::SetData(std::string const &,std::string const &)\n");
152245  return 0;
152246 }
152247 
152248 
152249 SWIGINTERN PyObject *_wrap_Adapter_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152250  PyObject *resultobj = 0;
152252  CStdPtrArray< TypeProperty > *arg2 = 0 ;
152253  void *argp1 = 0 ;
152254  int res1 = 0 ;
152255  void *argp2 = 0 ;
152256  int res2 = 0 ;
152257  PyObject * obj0 = 0 ;
152258  PyObject * obj1 = 0 ;
152259 
152260  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_QueryProperties",&obj0,&obj1)) SWIG_fail;
152261  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
152262  if (!SWIG_IsOK(res1)) {
152263  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
152264  }
152265  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
152266  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
152267  if (!SWIG_IsOK(res2)) {
152268  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Adapter_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
152269  }
152270  if (!argp2) {
152271  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Adapter_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
152272  }
152273  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
152274  {
152275  try {
152276  (arg1)->QueryProperties(*arg2);
152277  }
152278  catch(CStdErrorInfo oError)
152279  {
152280  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152281  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152282  PyErr_SetString(PyExc_IndexError, strError.c_str());
152283  SWIG_fail;
152284  }
152285  catch(...)
152286  {
152287  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152288  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152289  SWIG_fail;
152290  }
152291  }
152292  resultobj = SWIG_Py_Void();
152293  return resultobj;
152294 fail:
152295  return NULL;
152296 }
152297 
152298 
152299 SWIGINTERN PyObject *_wrap_Adapter_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152300  PyObject *resultobj = 0;
152302  std::string *arg2 = 0 ;
152303  void *argp1 = 0 ;
152304  int res1 = 0 ;
152305  int res2 = SWIG_OLDOBJ ;
152306  PyObject * obj0 = 0 ;
152307  PyObject * obj1 = 0 ;
152308  float *result = 0 ;
152309 
152310  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_GetDataPointer",&obj0,&obj1)) SWIG_fail;
152311  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
152312  if (!SWIG_IsOK(res1)) {
152313  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
152314  }
152315  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
152316  {
152317  std::string *ptr = (std::string *)0;
152318  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
152319  if (!SWIG_IsOK(res2)) {
152320  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Adapter_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
152321  }
152322  if (!ptr) {
152323  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Adapter_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
152324  }
152325  arg2 = ptr;
152326  }
152327  {
152328  try {
152329  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
152330  }
152331  catch(CStdErrorInfo oError)
152332  {
152333  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152334  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152335  PyErr_SetString(PyExc_IndexError, strError.c_str());
152336  SWIG_fail;
152337  }
152338  catch(...)
152339  {
152340  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152341  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152342  SWIG_fail;
152343  }
152344  }
152345  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
152346  if (SWIG_IsNewObj(res2)) delete arg2;
152347  return resultobj;
152348 fail:
152349  if (SWIG_IsNewObj(res2)) delete arg2;
152350  return NULL;
152351 }
152352 
152353 
152354 SWIGINTERN PyObject *_wrap_Adapter_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152355  PyObject *resultobj = 0;
152357  void *argp1 = 0 ;
152358  int res1 = 0 ;
152359  PyObject * obj0 = 0 ;
152360 
152361  if (!PyArg_ParseTuple(args,(char *)"O:Adapter_StepSimulation",&obj0)) SWIG_fail;
152362  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
152363  if (!SWIG_IsOK(res1)) {
152364  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
152365  }
152366  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
152367  {
152368  try {
152369  (arg1)->StepSimulation();
152370  }
152371  catch(CStdErrorInfo oError)
152372  {
152373  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152374  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152375  PyErr_SetString(PyExc_IndexError, strError.c_str());
152376  SWIG_fail;
152377  }
152378  catch(...)
152379  {
152380  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152381  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152382  SWIG_fail;
152383  }
152384  }
152385  resultobj = SWIG_Py_Void();
152386  return resultobj;
152387 fail:
152388  return NULL;
152389 }
152390 
152391 
152392 SWIGINTERN PyObject *_wrap_Adapter_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152393  PyObject *resultobj = 0;
152395  CStdXml *arg2 = 0 ;
152396  void *argp1 = 0 ;
152397  int res1 = 0 ;
152398  void *argp2 = 0 ;
152399  int res2 = 0 ;
152400  PyObject * obj0 = 0 ;
152401  PyObject * obj1 = 0 ;
152402 
152403  if (!PyArg_ParseTuple(args,(char *)"OO:Adapter_Load",&obj0,&obj1)) SWIG_fail;
152404  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__Adapter, 0 | 0 );
152405  if (!SWIG_IsOK(res1)) {
152406  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Adapter_Load" "', argument " "1"" of type '" "AnimatSim::Adapters::Adapter *""'");
152407  }
152408  arg1 = reinterpret_cast< AnimatSim::Adapters::Adapter * >(argp1);
152409  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
152410  if (!SWIG_IsOK(res2)) {
152411  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Adapter_Load" "', argument " "2"" of type '" "CStdXml &""'");
152412  }
152413  if (!argp2) {
152414  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Adapter_Load" "', argument " "2"" of type '" "CStdXml &""'");
152415  }
152416  arg2 = reinterpret_cast< CStdXml * >(argp2);
152417  {
152418  try {
152419  (arg1)->Load(*arg2);
152420  }
152421  catch(CStdErrorInfo oError)
152422  {
152423  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152424  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152425  PyErr_SetString(PyExc_IndexError, strError.c_str());
152426  SWIG_fail;
152427  }
152428  catch(...)
152429  {
152430  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152431  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152432  SWIG_fail;
152433  }
152434  }
152435  resultobj = SWIG_Py_Void();
152436  return resultobj;
152437 fail:
152438  return NULL;
152439 }
152440 
152441 
152442 SWIGINTERN PyObject *Adapter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152443  PyObject *obj;
152444  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
152445  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Adapters__Adapter, SWIG_NewClientData(obj));
152446  return SWIG_Py_Void();
152447 }
152448 
152449 SWIGINTERN PyObject *_wrap_new_PropertyControlAdapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152450  PyObject *resultobj = 0;
152452 
152453  if (!PyArg_ParseTuple(args,(char *)":new_PropertyControlAdapter")) SWIG_fail;
152454  {
152455  try {
152457  }
152458  catch(CStdErrorInfo oError)
152459  {
152460  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152461  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152462  PyErr_SetString(PyExc_IndexError, strError.c_str());
152463  SWIG_fail;
152464  }
152465  catch(...)
152466  {
152467  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152468  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152469  SWIG_fail;
152470  }
152471  }
152472  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, SWIG_POINTER_NEW | 0 );
152473  return resultobj;
152474 fail:
152475  return NULL;
152476 }
152477 
152478 
152479 SWIGINTERN PyObject *_wrap_delete_PropertyControlAdapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152480  PyObject *resultobj = 0;
152482  void *argp1 = 0 ;
152483  int res1 = 0 ;
152484  PyObject * obj0 = 0 ;
152485 
152486  if (!PyArg_ParseTuple(args,(char *)"O:delete_PropertyControlAdapter",&obj0)) SWIG_fail;
152487  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, SWIG_POINTER_DISOWN | 0 );
152488  if (!SWIG_IsOK(res1)) {
152489  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PropertyControlAdapter" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
152490  }
152491  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
152492  {
152493  try {
152494  delete arg1;
152495  }
152496  catch(CStdErrorInfo oError)
152497  {
152498  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152499  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152500  PyErr_SetString(PyExc_IndexError, strError.c_str());
152501  SWIG_fail;
152502  }
152503  catch(...)
152504  {
152505  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152506  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152507  SWIG_fail;
152508  }
152509  }
152510  resultobj = SWIG_Py_Void();
152511  return resultobj;
152512 fail:
152513  return NULL;
152514 }
152515 
152516 
152517 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152518  PyObject *resultobj = 0;
152520  void *argp1 = 0 ;
152521  int res1 = 0 ;
152522  PyObject * obj0 = 0 ;
152524 
152525  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlAdapter_CastToDerived",&obj0)) SWIG_fail;
152526  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
152527  if (!SWIG_IsOK(res1)) {
152528  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
152529  }
152530  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
152531  {
152532  try {
152533  result = (AnimatSim::Adapters::PropertyControlAdapter *)AnimatSim::Adapters::PropertyControlAdapter::CastToDerived(arg1);
152534  }
152535  catch(CStdErrorInfo oError)
152536  {
152537  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152538  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152539  PyErr_SetString(PyExc_IndexError, strError.c_str());
152540  SWIG_fail;
152541  }
152542  catch(...)
152543  {
152544  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152545  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152546  SWIG_fail;
152547  }
152548  }
152549  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
152550  return resultobj;
152551 fail:
152552  return NULL;
152553 }
152554 
152555 
152556 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_TargetObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152557  PyObject *resultobj = 0;
152559  void *argp1 = 0 ;
152560  int res1 = 0 ;
152561  PyObject * obj0 = 0 ;
152562  AnimatSim::AnimatBase *result = 0 ;
152563 
152564  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlAdapter_TargetObject",&obj0)) SWIG_fail;
152565  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
152566  if (!SWIG_IsOK(res1)) {
152567  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_TargetObject" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
152568  }
152569  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
152570  {
152571  try {
152572  result = (AnimatSim::AnimatBase *)(arg1)->TargetObject();
152573  }
152574  catch(CStdErrorInfo oError)
152575  {
152576  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152577  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152578  PyErr_SetString(PyExc_IndexError, strError.c_str());
152579  SWIG_fail;
152580  }
152581  catch(...)
152582  {
152583  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152584  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152585  SWIG_fail;
152586  }
152587  }
152588  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
152589  return resultobj;
152590 fail:
152591  return NULL;
152592 }
152593 
152594 
152595 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_TargetID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152596  PyObject *resultobj = 0;
152598  std::string arg2 ;
152599  void *argp1 = 0 ;
152600  int res1 = 0 ;
152601  PyObject * obj0 = 0 ;
152602  PyObject * obj1 = 0 ;
152603 
152604  if (!PyArg_ParseTuple(args,(char *)"OO:PropertyControlAdapter_TargetID",&obj0,&obj1)) SWIG_fail;
152605  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
152606  if (!SWIG_IsOK(res1)) {
152607  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_TargetID" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
152608  }
152609  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
152610  {
152611  std::string *ptr = (std::string *)0;
152612  int res = SWIG_AsPtr_std_string(obj1, &ptr);
152613  if (!SWIG_IsOK(res) || !ptr) {
152614  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "PropertyControlAdapter_TargetID" "', argument " "2"" of type '" "std::string""'");
152615  }
152616  arg2 = *ptr;
152617  if (SWIG_IsNewObj(res)) delete ptr;
152618  }
152619  {
152620  try {
152621  (arg1)->TargetID(arg2);
152622  }
152623  catch(CStdErrorInfo oError)
152624  {
152625  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152626  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152627  PyErr_SetString(PyExc_IndexError, strError.c_str());
152628  SWIG_fail;
152629  }
152630  catch(...)
152631  {
152632  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152633  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152634  SWIG_fail;
152635  }
152636  }
152637  resultobj = SWIG_Py_Void();
152638  return resultobj;
152639 fail:
152640  return NULL;
152641 }
152642 
152643 
152644 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_PropertyName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152645  PyObject *resultobj = 0;
152647  std::string arg2 ;
152648  void *argp1 = 0 ;
152649  int res1 = 0 ;
152650  PyObject * obj0 = 0 ;
152651  PyObject * obj1 = 0 ;
152652 
152653  if (!PyArg_ParseTuple(args,(char *)"OO:PropertyControlAdapter_PropertyName",&obj0,&obj1)) SWIG_fail;
152654  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
152655  if (!SWIG_IsOK(res1)) {
152656  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_PropertyName" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
152657  }
152658  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
152659  {
152660  std::string *ptr = (std::string *)0;
152661  int res = SWIG_AsPtr_std_string(obj1, &ptr);
152662  if (!SWIG_IsOK(res) || !ptr) {
152663  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "PropertyControlAdapter_PropertyName" "', argument " "2"" of type '" "std::string""'");
152664  }
152665  arg2 = *ptr;
152666  if (SWIG_IsNewObj(res)) delete ptr;
152667  }
152668  {
152669  try {
152670  (arg1)->PropertyName(arg2);
152671  }
152672  catch(CStdErrorInfo oError)
152673  {
152674  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152675  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152676  PyErr_SetString(PyExc_IndexError, strError.c_str());
152677  SWIG_fail;
152678  }
152679  catch(...)
152680  {
152681  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152682  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152683  SWIG_fail;
152684  }
152685  }
152686  resultobj = SWIG_Py_Void();
152687  return resultobj;
152688 fail:
152689  return NULL;
152690 }
152691 
152692 
152693 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_PropertyName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152694  PyObject *resultobj = 0;
152696  void *argp1 = 0 ;
152697  int res1 = 0 ;
152698  PyObject * obj0 = 0 ;
152699  std::string result;
152700 
152701  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlAdapter_PropertyName",&obj0)) SWIG_fail;
152702  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
152703  if (!SWIG_IsOK(res1)) {
152704  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_PropertyName" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
152705  }
152706  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
152707  {
152708  try {
152709  result = (arg1)->PropertyName();
152710  }
152711  catch(CStdErrorInfo oError)
152712  {
152713  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152714  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152715  PyErr_SetString(PyExc_IndexError, strError.c_str());
152716  SWIG_fail;
152717  }
152718  catch(...)
152719  {
152720  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152721  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152722  SWIG_fail;
152723  }
152724  }
152725  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
152726  return resultobj;
152727 fail:
152728  return NULL;
152729 }
152730 
152731 
152732 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_PropertyName(PyObject *self, PyObject *args) {
152733  int argc;
152734  PyObject *argv[3];
152735  int ii;
152736 
152737  if (!PyTuple_Check(args)) SWIG_fail;
152738  argc = args ? (int)PyObject_Length(args) : 0;
152739  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
152740  argv[ii] = PyTuple_GET_ITEM(args,ii);
152741  }
152742  if (argc == 1) {
152743  int _v;
152744  void *vptr = 0;
152745  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0);
152746  _v = SWIG_CheckState(res);
152747  if (_v) {
152748  return _wrap_PropertyControlAdapter_PropertyName__SWIG_1(self, args);
152749  }
152750  }
152751  if (argc == 2) {
152752  int _v;
152753  void *vptr = 0;
152754  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0);
152755  _v = SWIG_CheckState(res);
152756  if (_v) {
152757  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
152758  _v = SWIG_CheckState(res);
152759  if (_v) {
152760  return _wrap_PropertyControlAdapter_PropertyName__SWIG_0(self, args);
152761  }
152762  }
152763  }
152764 
152765 fail:
152766  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PropertyControlAdapter_PropertyName'.\n"
152767  " Possible C/C++ prototypes are:\n"
152768  " AnimatSim::Adapters::PropertyControlAdapter::PropertyName(std::string)\n"
152769  " AnimatSim::Adapters::PropertyControlAdapter::PropertyName()\n");
152770  return 0;
152771 }
152772 
152773 
152774 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_SetThreshold__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152775  PyObject *resultobj = 0;
152777  float arg2 ;
152778  void *argp1 = 0 ;
152779  int res1 = 0 ;
152780  float val2 ;
152781  int ecode2 = 0 ;
152782  PyObject * obj0 = 0 ;
152783  PyObject * obj1 = 0 ;
152784 
152785  if (!PyArg_ParseTuple(args,(char *)"OO:PropertyControlAdapter_SetThreshold",&obj0,&obj1)) SWIG_fail;
152786  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
152787  if (!SWIG_IsOK(res1)) {
152788  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_SetThreshold" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
152789  }
152790  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
152791  ecode2 = SWIG_AsVal_float(obj1, &val2);
152792  if (!SWIG_IsOK(ecode2)) {
152793  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PropertyControlAdapter_SetThreshold" "', argument " "2"" of type '" "float""'");
152794  }
152795  arg2 = static_cast< float >(val2);
152796  {
152797  try {
152798  (arg1)->SetThreshold(arg2);
152799  }
152800  catch(CStdErrorInfo oError)
152801  {
152802  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152803  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152804  PyErr_SetString(PyExc_IndexError, strError.c_str());
152805  SWIG_fail;
152806  }
152807  catch(...)
152808  {
152809  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152810  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152811  SWIG_fail;
152812  }
152813  }
152814  resultobj = SWIG_Py_Void();
152815  return resultobj;
152816 fail:
152817  return NULL;
152818 }
152819 
152820 
152821 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_SetThreshold__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152822  PyObject *resultobj = 0;
152824  void *argp1 = 0 ;
152825  int res1 = 0 ;
152826  PyObject * obj0 = 0 ;
152827  float result;
152828 
152829  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlAdapter_SetThreshold",&obj0)) SWIG_fail;
152830  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
152831  if (!SWIG_IsOK(res1)) {
152832  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_SetThreshold" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
152833  }
152834  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
152835  {
152836  try {
152837  result = (float)(arg1)->SetThreshold();
152838  }
152839  catch(CStdErrorInfo oError)
152840  {
152841  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152842  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152843  PyErr_SetString(PyExc_IndexError, strError.c_str());
152844  SWIG_fail;
152845  }
152846  catch(...)
152847  {
152848  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152849  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152850  SWIG_fail;
152851  }
152852  }
152853  resultobj = SWIG_From_float(static_cast< float >(result));
152854  return resultobj;
152855 fail:
152856  return NULL;
152857 }
152858 
152859 
152860 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_SetThreshold(PyObject *self, PyObject *args) {
152861  int argc;
152862  PyObject *argv[3];
152863  int ii;
152864 
152865  if (!PyTuple_Check(args)) SWIG_fail;
152866  argc = args ? (int)PyObject_Length(args) : 0;
152867  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
152868  argv[ii] = PyTuple_GET_ITEM(args,ii);
152869  }
152870  if (argc == 1) {
152871  int _v;
152872  void *vptr = 0;
152873  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0);
152874  _v = SWIG_CheckState(res);
152875  if (_v) {
152876  return _wrap_PropertyControlAdapter_SetThreshold__SWIG_1(self, args);
152877  }
152878  }
152879  if (argc == 2) {
152880  int _v;
152881  void *vptr = 0;
152882  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0);
152883  _v = SWIG_CheckState(res);
152884  if (_v) {
152885  {
152886  int res = SWIG_AsVal_float(argv[1], NULL);
152887  _v = SWIG_CheckState(res);
152888  }
152889  if (_v) {
152890  return _wrap_PropertyControlAdapter_SetThreshold__SWIG_0(self, args);
152891  }
152892  }
152893  }
152894 
152895 fail:
152896  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PropertyControlAdapter_SetThreshold'.\n"
152897  " Possible C/C++ prototypes are:\n"
152898  " AnimatSim::Adapters::PropertyControlAdapter::SetThreshold(float)\n"
152899  " AnimatSim::Adapters::PropertyControlAdapter::SetThreshold()\n");
152900  return 0;
152901 }
152902 
152903 
152904 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_InitialValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152905  PyObject *resultobj = 0;
152907  float arg2 ;
152908  void *argp1 = 0 ;
152909  int res1 = 0 ;
152910  float val2 ;
152911  int ecode2 = 0 ;
152912  PyObject * obj0 = 0 ;
152913  PyObject * obj1 = 0 ;
152914 
152915  if (!PyArg_ParseTuple(args,(char *)"OO:PropertyControlAdapter_InitialValue",&obj0,&obj1)) SWIG_fail;
152916  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
152917  if (!SWIG_IsOK(res1)) {
152918  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_InitialValue" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
152919  }
152920  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
152921  ecode2 = SWIG_AsVal_float(obj1, &val2);
152922  if (!SWIG_IsOK(ecode2)) {
152923  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PropertyControlAdapter_InitialValue" "', argument " "2"" of type '" "float""'");
152924  }
152925  arg2 = static_cast< float >(val2);
152926  {
152927  try {
152928  (arg1)->InitialValue(arg2);
152929  }
152930  catch(CStdErrorInfo oError)
152931  {
152932  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152933  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152934  PyErr_SetString(PyExc_IndexError, strError.c_str());
152935  SWIG_fail;
152936  }
152937  catch(...)
152938  {
152939  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152940  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152941  SWIG_fail;
152942  }
152943  }
152944  resultobj = SWIG_Py_Void();
152945  return resultobj;
152946 fail:
152947  return NULL;
152948 }
152949 
152950 
152951 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_InitialValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
152952  PyObject *resultobj = 0;
152954  void *argp1 = 0 ;
152955  int res1 = 0 ;
152956  PyObject * obj0 = 0 ;
152957  float result;
152958 
152959  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlAdapter_InitialValue",&obj0)) SWIG_fail;
152960  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
152961  if (!SWIG_IsOK(res1)) {
152962  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_InitialValue" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
152963  }
152964  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
152965  {
152966  try {
152967  result = (float)(arg1)->InitialValue();
152968  }
152969  catch(CStdErrorInfo oError)
152970  {
152971  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152972  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
152973  PyErr_SetString(PyExc_IndexError, strError.c_str());
152974  SWIG_fail;
152975  }
152976  catch(...)
152977  {
152978  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
152979  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
152980  SWIG_fail;
152981  }
152982  }
152983  resultobj = SWIG_From_float(static_cast< float >(result));
152984  return resultobj;
152985 fail:
152986  return NULL;
152987 }
152988 
152989 
152990 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_InitialValue(PyObject *self, PyObject *args) {
152991  int argc;
152992  PyObject *argv[3];
152993  int ii;
152994 
152995  if (!PyTuple_Check(args)) SWIG_fail;
152996  argc = args ? (int)PyObject_Length(args) : 0;
152997  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
152998  argv[ii] = PyTuple_GET_ITEM(args,ii);
152999  }
153000  if (argc == 1) {
153001  int _v;
153002  void *vptr = 0;
153003  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0);
153004  _v = SWIG_CheckState(res);
153005  if (_v) {
153006  return _wrap_PropertyControlAdapter_InitialValue__SWIG_1(self, args);
153007  }
153008  }
153009  if (argc == 2) {
153010  int _v;
153011  void *vptr = 0;
153012  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0);
153013  _v = SWIG_CheckState(res);
153014  if (_v) {
153015  {
153016  int res = SWIG_AsVal_float(argv[1], NULL);
153017  _v = SWIG_CheckState(res);
153018  }
153019  if (_v) {
153020  return _wrap_PropertyControlAdapter_InitialValue__SWIG_0(self, args);
153021  }
153022  }
153023  }
153024 
153025 fail:
153026  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PropertyControlAdapter_InitialValue'.\n"
153027  " Possible C/C++ prototypes are:\n"
153028  " AnimatSim::Adapters::PropertyControlAdapter::InitialValue(float)\n"
153029  " AnimatSim::Adapters::PropertyControlAdapter::InitialValue()\n");
153030  return 0;
153031 }
153032 
153033 
153034 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_FinalValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153035  PyObject *resultobj = 0;
153037  float arg2 ;
153038  void *argp1 = 0 ;
153039  int res1 = 0 ;
153040  float val2 ;
153041  int ecode2 = 0 ;
153042  PyObject * obj0 = 0 ;
153043  PyObject * obj1 = 0 ;
153044 
153045  if (!PyArg_ParseTuple(args,(char *)"OO:PropertyControlAdapter_FinalValue",&obj0,&obj1)) SWIG_fail;
153046  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
153047  if (!SWIG_IsOK(res1)) {
153048  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_FinalValue" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
153049  }
153050  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
153051  ecode2 = SWIG_AsVal_float(obj1, &val2);
153052  if (!SWIG_IsOK(ecode2)) {
153053  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PropertyControlAdapter_FinalValue" "', argument " "2"" of type '" "float""'");
153054  }
153055  arg2 = static_cast< float >(val2);
153056  {
153057  try {
153058  (arg1)->FinalValue(arg2);
153059  }
153060  catch(CStdErrorInfo oError)
153061  {
153062  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153063  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153064  PyErr_SetString(PyExc_IndexError, strError.c_str());
153065  SWIG_fail;
153066  }
153067  catch(...)
153068  {
153069  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153070  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153071  SWIG_fail;
153072  }
153073  }
153074  resultobj = SWIG_Py_Void();
153075  return resultobj;
153076 fail:
153077  return NULL;
153078 }
153079 
153080 
153081 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_FinalValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153082  PyObject *resultobj = 0;
153084  void *argp1 = 0 ;
153085  int res1 = 0 ;
153086  PyObject * obj0 = 0 ;
153087  float result;
153088 
153089  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlAdapter_FinalValue",&obj0)) SWIG_fail;
153090  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
153091  if (!SWIG_IsOK(res1)) {
153092  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_FinalValue" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
153093  }
153094  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
153095  {
153096  try {
153097  result = (float)(arg1)->FinalValue();
153098  }
153099  catch(CStdErrorInfo oError)
153100  {
153101  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153102  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153103  PyErr_SetString(PyExc_IndexError, strError.c_str());
153104  SWIG_fail;
153105  }
153106  catch(...)
153107  {
153108  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153109  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153110  SWIG_fail;
153111  }
153112  }
153113  resultobj = SWIG_From_float(static_cast< float >(result));
153114  return resultobj;
153115 fail:
153116  return NULL;
153117 }
153118 
153119 
153120 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_FinalValue(PyObject *self, PyObject *args) {
153121  int argc;
153122  PyObject *argv[3];
153123  int ii;
153124 
153125  if (!PyTuple_Check(args)) SWIG_fail;
153126  argc = args ? (int)PyObject_Length(args) : 0;
153127  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
153128  argv[ii] = PyTuple_GET_ITEM(args,ii);
153129  }
153130  if (argc == 1) {
153131  int _v;
153132  void *vptr = 0;
153133  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0);
153134  _v = SWIG_CheckState(res);
153135  if (_v) {
153136  return _wrap_PropertyControlAdapter_FinalValue__SWIG_1(self, args);
153137  }
153138  }
153139  if (argc == 2) {
153140  int _v;
153141  void *vptr = 0;
153142  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0);
153143  _v = SWIG_CheckState(res);
153144  if (_v) {
153145  {
153146  int res = SWIG_AsVal_float(argv[1], NULL);
153147  _v = SWIG_CheckState(res);
153148  }
153149  if (_v) {
153150  return _wrap_PropertyControlAdapter_FinalValue__SWIG_0(self, args);
153151  }
153152  }
153153  }
153154 
153155 fail:
153156  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PropertyControlAdapter_FinalValue'.\n"
153157  " Possible C/C++ prototypes are:\n"
153158  " AnimatSim::Adapters::PropertyControlAdapter::FinalValue(float)\n"
153159  " AnimatSim::Adapters::PropertyControlAdapter::FinalValue()\n");
153160  return 0;
153161 }
153162 
153163 
153164 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153165  PyObject *resultobj = 0;
153167  void *argp1 = 0 ;
153168  int res1 = 0 ;
153169  PyObject * obj0 = 0 ;
153170 
153171  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlAdapter_Initialize",&obj0)) SWIG_fail;
153172  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
153173  if (!SWIG_IsOK(res1)) {
153174  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_Initialize" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
153175  }
153176  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
153177  {
153178  try {
153179  (arg1)->Initialize();
153180  }
153181  catch(CStdErrorInfo oError)
153182  {
153183  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153184  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153185  PyErr_SetString(PyExc_IndexError, strError.c_str());
153186  SWIG_fail;
153187  }
153188  catch(...)
153189  {
153190  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153191  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153192  SWIG_fail;
153193  }
153194  }
153195  resultobj = SWIG_Py_Void();
153196  return resultobj;
153197 fail:
153198  return NULL;
153199 }
153200 
153201 
153202 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153203  PyObject *resultobj = 0;
153205  void *argp1 = 0 ;
153206  int res1 = 0 ;
153207  PyObject * obj0 = 0 ;
153208 
153209  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlAdapter_ResetSimulation",&obj0)) SWIG_fail;
153210  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
153211  if (!SWIG_IsOK(res1)) {
153212  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
153213  }
153214  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
153215  {
153216  try {
153217  (arg1)->ResetSimulation();
153218  }
153219  catch(CStdErrorInfo oError)
153220  {
153221  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153222  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153223  PyErr_SetString(PyExc_IndexError, strError.c_str());
153224  SWIG_fail;
153225  }
153226  catch(...)
153227  {
153228  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153229  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153230  SWIG_fail;
153231  }
153232  }
153233  resultobj = SWIG_Py_Void();
153234  return resultobj;
153235 fail:
153236  return NULL;
153237 }
153238 
153239 
153240 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_SimStarting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153241  PyObject *resultobj = 0;
153243  void *argp1 = 0 ;
153244  int res1 = 0 ;
153245  PyObject * obj0 = 0 ;
153246 
153247  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlAdapter_SimStarting",&obj0)) SWIG_fail;
153248  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
153249  if (!SWIG_IsOK(res1)) {
153250  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_SimStarting" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
153251  }
153252  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
153253  {
153254  try {
153255  (arg1)->SimStarting();
153256  }
153257  catch(CStdErrorInfo oError)
153258  {
153259  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153260  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153261  PyErr_SetString(PyExc_IndexError, strError.c_str());
153262  SWIG_fail;
153263  }
153264  catch(...)
153265  {
153266  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153267  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153268  SWIG_fail;
153269  }
153270  }
153271  resultobj = SWIG_Py_Void();
153272  return resultobj;
153273 fail:
153274  return NULL;
153275 }
153276 
153277 
153278 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153279  PyObject *resultobj = 0;
153281  std::string *arg2 = 0 ;
153282  std::string *arg3 = 0 ;
153283  bool arg4 ;
153284  void *argp1 = 0 ;
153285  int res1 = 0 ;
153286  int res2 = SWIG_OLDOBJ ;
153287  int res3 = SWIG_OLDOBJ ;
153288  bool val4 ;
153289  int ecode4 = 0 ;
153290  PyObject * obj0 = 0 ;
153291  PyObject * obj1 = 0 ;
153292  PyObject * obj2 = 0 ;
153293  PyObject * obj3 = 0 ;
153294  bool result;
153295 
153296  if (!PyArg_ParseTuple(args,(char *)"OOOO:PropertyControlAdapter_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
153297  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
153298  if (!SWIG_IsOK(res1)) {
153299  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_SetData" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
153300  }
153301  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
153302  {
153303  std::string *ptr = (std::string *)0;
153304  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
153305  if (!SWIG_IsOK(res2)) {
153306  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PropertyControlAdapter_SetData" "', argument " "2"" of type '" "std::string const &""'");
153307  }
153308  if (!ptr) {
153309  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PropertyControlAdapter_SetData" "', argument " "2"" of type '" "std::string const &""'");
153310  }
153311  arg2 = ptr;
153312  }
153313  {
153314  std::string *ptr = (std::string *)0;
153315  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
153316  if (!SWIG_IsOK(res3)) {
153317  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PropertyControlAdapter_SetData" "', argument " "3"" of type '" "std::string const &""'");
153318  }
153319  if (!ptr) {
153320  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PropertyControlAdapter_SetData" "', argument " "3"" of type '" "std::string const &""'");
153321  }
153322  arg3 = ptr;
153323  }
153324  ecode4 = SWIG_AsVal_bool(obj3, &val4);
153325  if (!SWIG_IsOK(ecode4)) {
153326  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PropertyControlAdapter_SetData" "', argument " "4"" of type '" "bool""'");
153327  }
153328  arg4 = static_cast< bool >(val4);
153329  {
153330  try {
153331  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
153332  }
153333  catch(CStdErrorInfo oError)
153334  {
153335  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153336  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153337  PyErr_SetString(PyExc_IndexError, strError.c_str());
153338  SWIG_fail;
153339  }
153340  catch(...)
153341  {
153342  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153343  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153344  SWIG_fail;
153345  }
153346  }
153347  resultobj = SWIG_From_bool(static_cast< bool >(result));
153348  if (SWIG_IsNewObj(res2)) delete arg2;
153349  if (SWIG_IsNewObj(res3)) delete arg3;
153350  return resultobj;
153351 fail:
153352  if (SWIG_IsNewObj(res2)) delete arg2;
153353  if (SWIG_IsNewObj(res3)) delete arg3;
153354  return NULL;
153355 }
153356 
153357 
153358 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153359  PyObject *resultobj = 0;
153361  std::string *arg2 = 0 ;
153362  std::string *arg3 = 0 ;
153363  void *argp1 = 0 ;
153364  int res1 = 0 ;
153365  int res2 = SWIG_OLDOBJ ;
153366  int res3 = SWIG_OLDOBJ ;
153367  PyObject * obj0 = 0 ;
153368  PyObject * obj1 = 0 ;
153369  PyObject * obj2 = 0 ;
153370  bool result;
153371 
153372  if (!PyArg_ParseTuple(args,(char *)"OOO:PropertyControlAdapter_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
153373  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
153374  if (!SWIG_IsOK(res1)) {
153375  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_SetData" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
153376  }
153377  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
153378  {
153379  std::string *ptr = (std::string *)0;
153380  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
153381  if (!SWIG_IsOK(res2)) {
153382  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PropertyControlAdapter_SetData" "', argument " "2"" of type '" "std::string const &""'");
153383  }
153384  if (!ptr) {
153385  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PropertyControlAdapter_SetData" "', argument " "2"" of type '" "std::string const &""'");
153386  }
153387  arg2 = ptr;
153388  }
153389  {
153390  std::string *ptr = (std::string *)0;
153391  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
153392  if (!SWIG_IsOK(res3)) {
153393  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PropertyControlAdapter_SetData" "', argument " "3"" of type '" "std::string const &""'");
153394  }
153395  if (!ptr) {
153396  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PropertyControlAdapter_SetData" "', argument " "3"" of type '" "std::string const &""'");
153397  }
153398  arg3 = ptr;
153399  }
153400  {
153401  try {
153402  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
153403  }
153404  catch(CStdErrorInfo oError)
153405  {
153406  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153407  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153408  PyErr_SetString(PyExc_IndexError, strError.c_str());
153409  SWIG_fail;
153410  }
153411  catch(...)
153412  {
153413  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153414  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153415  SWIG_fail;
153416  }
153417  }
153418  resultobj = SWIG_From_bool(static_cast< bool >(result));
153419  if (SWIG_IsNewObj(res2)) delete arg2;
153420  if (SWIG_IsNewObj(res3)) delete arg3;
153421  return resultobj;
153422 fail:
153423  if (SWIG_IsNewObj(res2)) delete arg2;
153424  if (SWIG_IsNewObj(res3)) delete arg3;
153425  return NULL;
153426 }
153427 
153428 
153429 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_SetData(PyObject *self, PyObject *args) {
153430  int argc;
153431  PyObject *argv[5];
153432  int ii;
153433 
153434  if (!PyTuple_Check(args)) SWIG_fail;
153435  argc = args ? (int)PyObject_Length(args) : 0;
153436  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
153437  argv[ii] = PyTuple_GET_ITEM(args,ii);
153438  }
153439  if (argc == 3) {
153440  int _v;
153441  void *vptr = 0;
153442  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0);
153443  _v = SWIG_CheckState(res);
153444  if (_v) {
153445  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
153446  _v = SWIG_CheckState(res);
153447  if (_v) {
153448  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
153449  _v = SWIG_CheckState(res);
153450  if (_v) {
153451  return _wrap_PropertyControlAdapter_SetData__SWIG_1(self, args);
153452  }
153453  }
153454  }
153455  }
153456  if (argc == 4) {
153457  int _v;
153458  void *vptr = 0;
153459  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0);
153460  _v = SWIG_CheckState(res);
153461  if (_v) {
153462  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
153463  _v = SWIG_CheckState(res);
153464  if (_v) {
153465  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
153466  _v = SWIG_CheckState(res);
153467  if (_v) {
153468  {
153469  int res = SWIG_AsVal_bool(argv[3], NULL);
153470  _v = SWIG_CheckState(res);
153471  }
153472  if (_v) {
153473  return _wrap_PropertyControlAdapter_SetData__SWIG_0(self, args);
153474  }
153475  }
153476  }
153477  }
153478  }
153479 
153480 fail:
153481  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PropertyControlAdapter_SetData'.\n"
153482  " Possible C/C++ prototypes are:\n"
153483  " AnimatSim::Adapters::PropertyControlAdapter::SetData(std::string const &,std::string const &,bool)\n"
153484  " AnimatSim::Adapters::PropertyControlAdapter::SetData(std::string const &,std::string const &)\n");
153485  return 0;
153486 }
153487 
153488 
153489 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153490  PyObject *resultobj = 0;
153492  CStdPtrArray< TypeProperty > *arg2 = 0 ;
153493  void *argp1 = 0 ;
153494  int res1 = 0 ;
153495  void *argp2 = 0 ;
153496  int res2 = 0 ;
153497  PyObject * obj0 = 0 ;
153498  PyObject * obj1 = 0 ;
153499 
153500  if (!PyArg_ParseTuple(args,(char *)"OO:PropertyControlAdapter_QueryProperties",&obj0,&obj1)) SWIG_fail;
153501  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
153502  if (!SWIG_IsOK(res1)) {
153503  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
153504  }
153505  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
153506  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
153507  if (!SWIG_IsOK(res2)) {
153508  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PropertyControlAdapter_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
153509  }
153510  if (!argp2) {
153511  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PropertyControlAdapter_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
153512  }
153513  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
153514  {
153515  try {
153516  (arg1)->QueryProperties(*arg2);
153517  }
153518  catch(CStdErrorInfo oError)
153519  {
153520  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153521  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153522  PyErr_SetString(PyExc_IndexError, strError.c_str());
153523  SWIG_fail;
153524  }
153525  catch(...)
153526  {
153527  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153528  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153529  SWIG_fail;
153530  }
153531  }
153532  resultobj = SWIG_Py_Void();
153533  return resultobj;
153534 fail:
153535  return NULL;
153536 }
153537 
153538 
153539 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153540  PyObject *resultobj = 0;
153542  void *argp1 = 0 ;
153543  int res1 = 0 ;
153544  PyObject * obj0 = 0 ;
153545 
153546  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlAdapter_StepSimulation",&obj0)) SWIG_fail;
153547  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
153548  if (!SWIG_IsOK(res1)) {
153549  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
153550  }
153551  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
153552  {
153553  try {
153554  (arg1)->StepSimulation();
153555  }
153556  catch(CStdErrorInfo oError)
153557  {
153558  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153559  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153560  PyErr_SetString(PyExc_IndexError, strError.c_str());
153561  SWIG_fail;
153562  }
153563  catch(...)
153564  {
153565  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153566  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153567  SWIG_fail;
153568  }
153569  }
153570  resultobj = SWIG_Py_Void();
153571  return resultobj;
153572 fail:
153573  return NULL;
153574 }
153575 
153576 
153577 SWIGINTERN PyObject *_wrap_PropertyControlAdapter_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153578  PyObject *resultobj = 0;
153580  CStdXml *arg2 = 0 ;
153581  void *argp1 = 0 ;
153582  int res1 = 0 ;
153583  void *argp2 = 0 ;
153584  int res2 = 0 ;
153585  PyObject * obj0 = 0 ;
153586  PyObject * obj1 = 0 ;
153587 
153588  if (!PyArg_ParseTuple(args,(char *)"OO:PropertyControlAdapter_Load",&obj0,&obj1)) SWIG_fail;
153589  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, 0 | 0 );
153590  if (!SWIG_IsOK(res1)) {
153591  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlAdapter_Load" "', argument " "1"" of type '" "AnimatSim::Adapters::PropertyControlAdapter *""'");
153592  }
153593  arg1 = reinterpret_cast< AnimatSim::Adapters::PropertyControlAdapter * >(argp1);
153594  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
153595  if (!SWIG_IsOK(res2)) {
153596  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PropertyControlAdapter_Load" "', argument " "2"" of type '" "CStdXml &""'");
153597  }
153598  if (!argp2) {
153599  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PropertyControlAdapter_Load" "', argument " "2"" of type '" "CStdXml &""'");
153600  }
153601  arg2 = reinterpret_cast< CStdXml * >(argp2);
153602  {
153603  try {
153604  (arg1)->Load(*arg2);
153605  }
153606  catch(CStdErrorInfo oError)
153607  {
153608  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153609  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153610  PyErr_SetString(PyExc_IndexError, strError.c_str());
153611  SWIG_fail;
153612  }
153613  catch(...)
153614  {
153615  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153616  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153617  SWIG_fail;
153618  }
153619  }
153620  resultobj = SWIG_Py_Void();
153621  return resultobj;
153622 fail:
153623  return NULL;
153624 }
153625 
153626 
153627 SWIGINTERN PyObject *PropertyControlAdapter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153628  PyObject *obj;
153629  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
153630  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter, SWIG_NewClientData(obj));
153631  return SWIG_Py_Void();
153632 }
153633 
153634 SWIGINTERN PyObject *_wrap_new_ContactAdapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153635  PyObject *resultobj = 0;
153637 
153638  if (!PyArg_ParseTuple(args,(char *)":new_ContactAdapter")) SWIG_fail;
153639  {
153640  try {
153642  }
153643  catch(CStdErrorInfo oError)
153644  {
153645  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153646  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153647  PyErr_SetString(PyExc_IndexError, strError.c_str());
153648  SWIG_fail;
153649  }
153650  catch(...)
153651  {
153652  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153653  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153654  SWIG_fail;
153655  }
153656  }
153657  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, SWIG_POINTER_NEW | 0 );
153658  return resultobj;
153659 fail:
153660  return NULL;
153661 }
153662 
153663 
153664 SWIGINTERN PyObject *_wrap_delete_ContactAdapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153665  PyObject *resultobj = 0;
153667  void *argp1 = 0 ;
153668  int res1 = 0 ;
153669  PyObject * obj0 = 0 ;
153670 
153671  if (!PyArg_ParseTuple(args,(char *)"O:delete_ContactAdapter",&obj0)) SWIG_fail;
153672  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, SWIG_POINTER_DISOWN | 0 );
153673  if (!SWIG_IsOK(res1)) {
153674  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContactAdapter" "', argument " "1"" of type '" "AnimatSim::Adapters::ContactAdapter *""'");
153675  }
153676  arg1 = reinterpret_cast< AnimatSim::Adapters::ContactAdapter * >(argp1);
153677  {
153678  try {
153679  delete arg1;
153680  }
153681  catch(CStdErrorInfo oError)
153682  {
153683  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153684  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153685  PyErr_SetString(PyExc_IndexError, strError.c_str());
153686  SWIG_fail;
153687  }
153688  catch(...)
153689  {
153690  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153691  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153692  SWIG_fail;
153693  }
153694  }
153695  resultobj = SWIG_Py_Void();
153696  return resultobj;
153697 fail:
153698  return NULL;
153699 }
153700 
153701 
153702 SWIGINTERN PyObject *_wrap_ContactAdapter_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153703  PyObject *resultobj = 0;
153705  void *argp1 = 0 ;
153706  int res1 = 0 ;
153707  PyObject * obj0 = 0 ;
153709 
153710  if (!PyArg_ParseTuple(args,(char *)"O:ContactAdapter_CastToDerived",&obj0)) SWIG_fail;
153711  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
153712  if (!SWIG_IsOK(res1)) {
153713  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactAdapter_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
153714  }
153715  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
153716  {
153717  try {
153718  result = (AnimatSim::Adapters::ContactAdapter *)AnimatSim::Adapters::ContactAdapter::CastToDerived(arg1);
153719  }
153720  catch(CStdErrorInfo oError)
153721  {
153722  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153723  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153724  PyErr_SetString(PyExc_IndexError, strError.c_str());
153725  SWIG_fail;
153726  }
153727  catch(...)
153728  {
153729  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153730  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153731  SWIG_fail;
153732  }
153733  }
153734  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0 | 0 );
153735  return resultobj;
153736 fail:
153737  return NULL;
153738 }
153739 
153740 
153741 SWIGINTERN PyObject *_wrap_ContactAdapter_SourceBodyID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153742  PyObject *resultobj = 0;
153744  void *argp1 = 0 ;
153745  int res1 = 0 ;
153746  PyObject * obj0 = 0 ;
153747  std::string result;
153748 
153749  if (!PyArg_ParseTuple(args,(char *)"O:ContactAdapter_SourceBodyID",&obj0)) SWIG_fail;
153750  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0 | 0 );
153751  if (!SWIG_IsOK(res1)) {
153752  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactAdapter_SourceBodyID" "', argument " "1"" of type '" "AnimatSim::Adapters::ContactAdapter *""'");
153753  }
153754  arg1 = reinterpret_cast< AnimatSim::Adapters::ContactAdapter * >(argp1);
153755  {
153756  try {
153757  result = (arg1)->SourceBodyID();
153758  }
153759  catch(CStdErrorInfo oError)
153760  {
153761  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153762  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153763  PyErr_SetString(PyExc_IndexError, strError.c_str());
153764  SWIG_fail;
153765  }
153766  catch(...)
153767  {
153768  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153769  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153770  SWIG_fail;
153771  }
153772  }
153773  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
153774  return resultobj;
153775 fail:
153776  return NULL;
153777 }
153778 
153779 
153780 SWIGINTERN PyObject *_wrap_ContactAdapter_SourceBodyID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153781  PyObject *resultobj = 0;
153783  std::string arg2 ;
153784  void *argp1 = 0 ;
153785  int res1 = 0 ;
153786  PyObject * obj0 = 0 ;
153787  PyObject * obj1 = 0 ;
153788 
153789  if (!PyArg_ParseTuple(args,(char *)"OO:ContactAdapter_SourceBodyID",&obj0,&obj1)) SWIG_fail;
153790  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0 | 0 );
153791  if (!SWIG_IsOK(res1)) {
153792  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactAdapter_SourceBodyID" "', argument " "1"" of type '" "AnimatSim::Adapters::ContactAdapter *""'");
153793  }
153794  arg1 = reinterpret_cast< AnimatSim::Adapters::ContactAdapter * >(argp1);
153795  {
153796  std::string *ptr = (std::string *)0;
153797  int res = SWIG_AsPtr_std_string(obj1, &ptr);
153798  if (!SWIG_IsOK(res) || !ptr) {
153799  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ContactAdapter_SourceBodyID" "', argument " "2"" of type '" "std::string""'");
153800  }
153801  arg2 = *ptr;
153802  if (SWIG_IsNewObj(res)) delete ptr;
153803  }
153804  {
153805  try {
153806  (arg1)->SourceBodyID(arg2);
153807  }
153808  catch(CStdErrorInfo oError)
153809  {
153810  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153811  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153812  PyErr_SetString(PyExc_IndexError, strError.c_str());
153813  SWIG_fail;
153814  }
153815  catch(...)
153816  {
153817  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153818  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153819  SWIG_fail;
153820  }
153821  }
153822  resultobj = SWIG_Py_Void();
153823  return resultobj;
153824 fail:
153825  return NULL;
153826 }
153827 
153828 
153829 SWIGINTERN PyObject *_wrap_ContactAdapter_SourceBodyID(PyObject *self, PyObject *args) {
153830  int argc;
153831  PyObject *argv[3];
153832  int ii;
153833 
153834  if (!PyTuple_Check(args)) SWIG_fail;
153835  argc = args ? (int)PyObject_Length(args) : 0;
153836  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
153837  argv[ii] = PyTuple_GET_ITEM(args,ii);
153838  }
153839  if (argc == 1) {
153840  int _v;
153841  void *vptr = 0;
153842  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0);
153843  _v = SWIG_CheckState(res);
153844  if (_v) {
153845  return _wrap_ContactAdapter_SourceBodyID__SWIG_0(self, args);
153846  }
153847  }
153848  if (argc == 2) {
153849  int _v;
153850  void *vptr = 0;
153851  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0);
153852  _v = SWIG_CheckState(res);
153853  if (_v) {
153854  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
153855  _v = SWIG_CheckState(res);
153856  if (_v) {
153857  return _wrap_ContactAdapter_SourceBodyID__SWIG_1(self, args);
153858  }
153859  }
153860  }
153861 
153862 fail:
153863  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ContactAdapter_SourceBodyID'.\n"
153864  " Possible C/C++ prototypes are:\n"
153865  " AnimatSim::Adapters::ContactAdapter::SourceBodyID()\n"
153866  " AnimatSim::Adapters::ContactAdapter::SourceBodyID(std::string)\n");
153867  return 0;
153868 }
153869 
153870 
153871 SWIGINTERN PyObject *_wrap_ContactAdapter_SourceModule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153872  PyObject *resultobj = 0;
153874  void *argp1 = 0 ;
153875  int res1 = 0 ;
153876  PyObject * obj0 = 0 ;
153877  std::string result;
153878 
153879  if (!PyArg_ParseTuple(args,(char *)"O:ContactAdapter_SourceModule",&obj0)) SWIG_fail;
153880  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0 | 0 );
153881  if (!SWIG_IsOK(res1)) {
153882  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactAdapter_SourceModule" "', argument " "1"" of type '" "AnimatSim::Adapters::ContactAdapter *""'");
153883  }
153884  arg1 = reinterpret_cast< AnimatSim::Adapters::ContactAdapter * >(argp1);
153885  {
153886  try {
153887  result = (arg1)->SourceModule();
153888  }
153889  catch(CStdErrorInfo oError)
153890  {
153891  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153892  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153893  PyErr_SetString(PyExc_IndexError, strError.c_str());
153894  SWIG_fail;
153895  }
153896  catch(...)
153897  {
153898  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153899  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153900  SWIG_fail;
153901  }
153902  }
153903  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
153904  return resultobj;
153905 fail:
153906  return NULL;
153907 }
153908 
153909 
153910 SWIGINTERN PyObject *_wrap_ContactAdapter_TargetModule__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153911  PyObject *resultobj = 0;
153913  void *argp1 = 0 ;
153914  int res1 = 0 ;
153915  PyObject * obj0 = 0 ;
153916  std::string result;
153917 
153918  if (!PyArg_ParseTuple(args,(char *)"O:ContactAdapter_TargetModule",&obj0)) SWIG_fail;
153919  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0 | 0 );
153920  if (!SWIG_IsOK(res1)) {
153921  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactAdapter_TargetModule" "', argument " "1"" of type '" "AnimatSim::Adapters::ContactAdapter *""'");
153922  }
153923  arg1 = reinterpret_cast< AnimatSim::Adapters::ContactAdapter * >(argp1);
153924  {
153925  try {
153926  result = (arg1)->TargetModule();
153927  }
153928  catch(CStdErrorInfo oError)
153929  {
153930  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153931  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153932  PyErr_SetString(PyExc_IndexError, strError.c_str());
153933  SWIG_fail;
153934  }
153935  catch(...)
153936  {
153937  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153938  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153939  SWIG_fail;
153940  }
153941  }
153942  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
153943  return resultobj;
153944 fail:
153945  return NULL;
153946 }
153947 
153948 
153949 SWIGINTERN PyObject *_wrap_ContactAdapter_TargetModule__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
153950  PyObject *resultobj = 0;
153952  std::string arg2 ;
153953  void *argp1 = 0 ;
153954  int res1 = 0 ;
153955  PyObject * obj0 = 0 ;
153956  PyObject * obj1 = 0 ;
153957 
153958  if (!PyArg_ParseTuple(args,(char *)"OO:ContactAdapter_TargetModule",&obj0,&obj1)) SWIG_fail;
153959  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0 | 0 );
153960  if (!SWIG_IsOK(res1)) {
153961  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactAdapter_TargetModule" "', argument " "1"" of type '" "AnimatSim::Adapters::ContactAdapter *""'");
153962  }
153963  arg1 = reinterpret_cast< AnimatSim::Adapters::ContactAdapter * >(argp1);
153964  {
153965  std::string *ptr = (std::string *)0;
153966  int res = SWIG_AsPtr_std_string(obj1, &ptr);
153967  if (!SWIG_IsOK(res) || !ptr) {
153968  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ContactAdapter_TargetModule" "', argument " "2"" of type '" "std::string""'");
153969  }
153970  arg2 = *ptr;
153971  if (SWIG_IsNewObj(res)) delete ptr;
153972  }
153973  {
153974  try {
153975  (arg1)->TargetModule(arg2);
153976  }
153977  catch(CStdErrorInfo oError)
153978  {
153979  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153980  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
153981  PyErr_SetString(PyExc_IndexError, strError.c_str());
153982  SWIG_fail;
153983  }
153984  catch(...)
153985  {
153986  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
153987  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
153988  SWIG_fail;
153989  }
153990  }
153991  resultobj = SWIG_Py_Void();
153992  return resultobj;
153993 fail:
153994  return NULL;
153995 }
153996 
153997 
153998 SWIGINTERN PyObject *_wrap_ContactAdapter_TargetModule(PyObject *self, PyObject *args) {
153999  int argc;
154000  PyObject *argv[3];
154001  int ii;
154002 
154003  if (!PyTuple_Check(args)) SWIG_fail;
154004  argc = args ? (int)PyObject_Length(args) : 0;
154005  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
154006  argv[ii] = PyTuple_GET_ITEM(args,ii);
154007  }
154008  if (argc == 1) {
154009  int _v;
154010  void *vptr = 0;
154011  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0);
154012  _v = SWIG_CheckState(res);
154013  if (_v) {
154014  return _wrap_ContactAdapter_TargetModule__SWIG_0(self, args);
154015  }
154016  }
154017  if (argc == 2) {
154018  int _v;
154019  void *vptr = 0;
154020  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0);
154021  _v = SWIG_CheckState(res);
154022  if (_v) {
154023  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
154024  _v = SWIG_CheckState(res);
154025  if (_v) {
154026  return _wrap_ContactAdapter_TargetModule__SWIG_1(self, args);
154027  }
154028  }
154029  }
154030 
154031 fail:
154032  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ContactAdapter_TargetModule'.\n"
154033  " Possible C/C++ prototypes are:\n"
154034  " AnimatSim::Adapters::ContactAdapter::TargetModule()\n"
154035  " AnimatSim::Adapters::ContactAdapter::TargetModule(std::string)\n");
154036  return 0;
154037 }
154038 
154039 
154040 SWIGINTERN PyObject *_wrap_ContactAdapter_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
154041  PyObject *resultobj = 0;
154043  std::string *arg2 = 0 ;
154044  std::string *arg3 = 0 ;
154045  bool arg4 ;
154046  bool arg5 ;
154047  void *argp1 = 0 ;
154048  int res1 = 0 ;
154049  int res2 = SWIG_OLDOBJ ;
154050  int res3 = SWIG_OLDOBJ ;
154051  bool val4 ;
154052  int ecode4 = 0 ;
154053  bool val5 ;
154054  int ecode5 = 0 ;
154055  PyObject * obj0 = 0 ;
154056  PyObject * obj1 = 0 ;
154057  PyObject * obj2 = 0 ;
154058  PyObject * obj3 = 0 ;
154059  PyObject * obj4 = 0 ;
154060  bool result;
154061 
154062  if (!PyArg_ParseTuple(args,(char *)"OOOOO:ContactAdapter_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
154063  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0 | 0 );
154064  if (!SWIG_IsOK(res1)) {
154065  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactAdapter_AddItem" "', argument " "1"" of type '" "AnimatSim::Adapters::ContactAdapter *""'");
154066  }
154067  arg1 = reinterpret_cast< AnimatSim::Adapters::ContactAdapter * >(argp1);
154068  {
154069  std::string *ptr = (std::string *)0;
154070  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
154071  if (!SWIG_IsOK(res2)) {
154072  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContactAdapter_AddItem" "', argument " "2"" of type '" "std::string const &""'");
154073  }
154074  if (!ptr) {
154075  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactAdapter_AddItem" "', argument " "2"" of type '" "std::string const &""'");
154076  }
154077  arg2 = ptr;
154078  }
154079  {
154080  std::string *ptr = (std::string *)0;
154081  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
154082  if (!SWIG_IsOK(res3)) {
154083  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ContactAdapter_AddItem" "', argument " "3"" of type '" "std::string const &""'");
154084  }
154085  if (!ptr) {
154086  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactAdapter_AddItem" "', argument " "3"" of type '" "std::string const &""'");
154087  }
154088  arg3 = ptr;
154089  }
154090  ecode4 = SWIG_AsVal_bool(obj3, &val4);
154091  if (!SWIG_IsOK(ecode4)) {
154092  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ContactAdapter_AddItem" "', argument " "4"" of type '" "bool""'");
154093  }
154094  arg4 = static_cast< bool >(val4);
154095  ecode5 = SWIG_AsVal_bool(obj4, &val5);
154096  if (!SWIG_IsOK(ecode5)) {
154097  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ContactAdapter_AddItem" "', argument " "5"" of type '" "bool""'");
154098  }
154099  arg5 = static_cast< bool >(val5);
154100  {
154101  try {
154102  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
154103  }
154104  catch(CStdErrorInfo oError)
154105  {
154106  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154107  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
154108  PyErr_SetString(PyExc_IndexError, strError.c_str());
154109  SWIG_fail;
154110  }
154111  catch(...)
154112  {
154113  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154114  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
154115  SWIG_fail;
154116  }
154117  }
154118  resultobj = SWIG_From_bool(static_cast< bool >(result));
154119  if (SWIG_IsNewObj(res2)) delete arg2;
154120  if (SWIG_IsNewObj(res3)) delete arg3;
154121  return resultobj;
154122 fail:
154123  if (SWIG_IsNewObj(res2)) delete arg2;
154124  if (SWIG_IsNewObj(res3)) delete arg3;
154125  return NULL;
154126 }
154127 
154128 
154129 SWIGINTERN PyObject *_wrap_ContactAdapter_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
154130  PyObject *resultobj = 0;
154132  std::string *arg2 = 0 ;
154133  std::string *arg3 = 0 ;
154134  bool arg4 ;
154135  void *argp1 = 0 ;
154136  int res1 = 0 ;
154137  int res2 = SWIG_OLDOBJ ;
154138  int res3 = SWIG_OLDOBJ ;
154139  bool val4 ;
154140  int ecode4 = 0 ;
154141  PyObject * obj0 = 0 ;
154142  PyObject * obj1 = 0 ;
154143  PyObject * obj2 = 0 ;
154144  PyObject * obj3 = 0 ;
154145  bool result;
154146 
154147  if (!PyArg_ParseTuple(args,(char *)"OOOO:ContactAdapter_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
154148  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0 | 0 );
154149  if (!SWIG_IsOK(res1)) {
154150  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactAdapter_AddItem" "', argument " "1"" of type '" "AnimatSim::Adapters::ContactAdapter *""'");
154151  }
154152  arg1 = reinterpret_cast< AnimatSim::Adapters::ContactAdapter * >(argp1);
154153  {
154154  std::string *ptr = (std::string *)0;
154155  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
154156  if (!SWIG_IsOK(res2)) {
154157  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContactAdapter_AddItem" "', argument " "2"" of type '" "std::string const &""'");
154158  }
154159  if (!ptr) {
154160  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactAdapter_AddItem" "', argument " "2"" of type '" "std::string const &""'");
154161  }
154162  arg2 = ptr;
154163  }
154164  {
154165  std::string *ptr = (std::string *)0;
154166  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
154167  if (!SWIG_IsOK(res3)) {
154168  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ContactAdapter_AddItem" "', argument " "3"" of type '" "std::string const &""'");
154169  }
154170  if (!ptr) {
154171  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactAdapter_AddItem" "', argument " "3"" of type '" "std::string const &""'");
154172  }
154173  arg3 = ptr;
154174  }
154175  ecode4 = SWIG_AsVal_bool(obj3, &val4);
154176  if (!SWIG_IsOK(ecode4)) {
154177  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ContactAdapter_AddItem" "', argument " "4"" of type '" "bool""'");
154178  }
154179  arg4 = static_cast< bool >(val4);
154180  {
154181  try {
154182  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
154183  }
154184  catch(CStdErrorInfo oError)
154185  {
154186  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154187  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
154188  PyErr_SetString(PyExc_IndexError, strError.c_str());
154189  SWIG_fail;
154190  }
154191  catch(...)
154192  {
154193  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154194  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
154195  SWIG_fail;
154196  }
154197  }
154198  resultobj = SWIG_From_bool(static_cast< bool >(result));
154199  if (SWIG_IsNewObj(res2)) delete arg2;
154200  if (SWIG_IsNewObj(res3)) delete arg3;
154201  return resultobj;
154202 fail:
154203  if (SWIG_IsNewObj(res2)) delete arg2;
154204  if (SWIG_IsNewObj(res3)) delete arg3;
154205  return NULL;
154206 }
154207 
154208 
154209 SWIGINTERN PyObject *_wrap_ContactAdapter_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
154210  PyObject *resultobj = 0;
154212  std::string *arg2 = 0 ;
154213  std::string *arg3 = 0 ;
154214  void *argp1 = 0 ;
154215  int res1 = 0 ;
154216  int res2 = SWIG_OLDOBJ ;
154217  int res3 = SWIG_OLDOBJ ;
154218  PyObject * obj0 = 0 ;
154219  PyObject * obj1 = 0 ;
154220  PyObject * obj2 = 0 ;
154221  bool result;
154222 
154223  if (!PyArg_ParseTuple(args,(char *)"OOO:ContactAdapter_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
154224  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0 | 0 );
154225  if (!SWIG_IsOK(res1)) {
154226  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactAdapter_AddItem" "', argument " "1"" of type '" "AnimatSim::Adapters::ContactAdapter *""'");
154227  }
154228  arg1 = reinterpret_cast< AnimatSim::Adapters::ContactAdapter * >(argp1);
154229  {
154230  std::string *ptr = (std::string *)0;
154231  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
154232  if (!SWIG_IsOK(res2)) {
154233  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContactAdapter_AddItem" "', argument " "2"" of type '" "std::string const &""'");
154234  }
154235  if (!ptr) {
154236  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactAdapter_AddItem" "', argument " "2"" of type '" "std::string const &""'");
154237  }
154238  arg2 = ptr;
154239  }
154240  {
154241  std::string *ptr = (std::string *)0;
154242  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
154243  if (!SWIG_IsOK(res3)) {
154244  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ContactAdapter_AddItem" "', argument " "3"" of type '" "std::string const &""'");
154245  }
154246  if (!ptr) {
154247  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactAdapter_AddItem" "', argument " "3"" of type '" "std::string const &""'");
154248  }
154249  arg3 = ptr;
154250  }
154251  {
154252  try {
154253  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
154254  }
154255  catch(CStdErrorInfo oError)
154256  {
154257  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154258  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
154259  PyErr_SetString(PyExc_IndexError, strError.c_str());
154260  SWIG_fail;
154261  }
154262  catch(...)
154263  {
154264  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154265  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
154266  SWIG_fail;
154267  }
154268  }
154269  resultobj = SWIG_From_bool(static_cast< bool >(result));
154270  if (SWIG_IsNewObj(res2)) delete arg2;
154271  if (SWIG_IsNewObj(res3)) delete arg3;
154272  return resultobj;
154273 fail:
154274  if (SWIG_IsNewObj(res2)) delete arg2;
154275  if (SWIG_IsNewObj(res3)) delete arg3;
154276  return NULL;
154277 }
154278 
154279 
154280 SWIGINTERN PyObject *_wrap_ContactAdapter_AddItem(PyObject *self, PyObject *args) {
154281  int argc;
154282  PyObject *argv[6];
154283  int ii;
154284 
154285  if (!PyTuple_Check(args)) SWIG_fail;
154286  argc = args ? (int)PyObject_Length(args) : 0;
154287  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
154288  argv[ii] = PyTuple_GET_ITEM(args,ii);
154289  }
154290  if (argc == 3) {
154291  int _v;
154292  void *vptr = 0;
154293  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0);
154294  _v = SWIG_CheckState(res);
154295  if (_v) {
154296  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
154297  _v = SWIG_CheckState(res);
154298  if (_v) {
154299  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
154300  _v = SWIG_CheckState(res);
154301  if (_v) {
154302  return _wrap_ContactAdapter_AddItem__SWIG_2(self, args);
154303  }
154304  }
154305  }
154306  }
154307  if (argc == 4) {
154308  int _v;
154309  void *vptr = 0;
154310  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0);
154311  _v = SWIG_CheckState(res);
154312  if (_v) {
154313  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
154314  _v = SWIG_CheckState(res);
154315  if (_v) {
154316  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
154317  _v = SWIG_CheckState(res);
154318  if (_v) {
154319  {
154320  int res = SWIG_AsVal_bool(argv[3], NULL);
154321  _v = SWIG_CheckState(res);
154322  }
154323  if (_v) {
154324  return _wrap_ContactAdapter_AddItem__SWIG_1(self, args);
154325  }
154326  }
154327  }
154328  }
154329  }
154330  if (argc == 5) {
154331  int _v;
154332  void *vptr = 0;
154333  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0);
154334  _v = SWIG_CheckState(res);
154335  if (_v) {
154336  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
154337  _v = SWIG_CheckState(res);
154338  if (_v) {
154339  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
154340  _v = SWIG_CheckState(res);
154341  if (_v) {
154342  {
154343  int res = SWIG_AsVal_bool(argv[3], NULL);
154344  _v = SWIG_CheckState(res);
154345  }
154346  if (_v) {
154347  {
154348  int res = SWIG_AsVal_bool(argv[4], NULL);
154349  _v = SWIG_CheckState(res);
154350  }
154351  if (_v) {
154352  return _wrap_ContactAdapter_AddItem__SWIG_0(self, args);
154353  }
154354  }
154355  }
154356  }
154357  }
154358  }
154359 
154360 fail:
154361  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ContactAdapter_AddItem'.\n"
154362  " Possible C/C++ prototypes are:\n"
154363  " AnimatSim::Adapters::ContactAdapter::AddItem(std::string const &,std::string const &,bool,bool)\n"
154364  " AnimatSim::Adapters::ContactAdapter::AddItem(std::string const &,std::string const &,bool)\n"
154365  " AnimatSim::Adapters::ContactAdapter::AddItem(std::string const &,std::string const &)\n");
154366  return 0;
154367 }
154368 
154369 
154370 SWIGINTERN PyObject *_wrap_ContactAdapter_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
154371  PyObject *resultobj = 0;
154373  std::string *arg2 = 0 ;
154374  std::string *arg3 = 0 ;
154375  bool arg4 ;
154376  void *argp1 = 0 ;
154377  int res1 = 0 ;
154378  int res2 = SWIG_OLDOBJ ;
154379  int res3 = SWIG_OLDOBJ ;
154380  bool val4 ;
154381  int ecode4 = 0 ;
154382  PyObject * obj0 = 0 ;
154383  PyObject * obj1 = 0 ;
154384  PyObject * obj2 = 0 ;
154385  PyObject * obj3 = 0 ;
154386  bool result;
154387 
154388  if (!PyArg_ParseTuple(args,(char *)"OOOO:ContactAdapter_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
154389  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0 | 0 );
154390  if (!SWIG_IsOK(res1)) {
154391  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactAdapter_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Adapters::ContactAdapter *""'");
154392  }
154393  arg1 = reinterpret_cast< AnimatSim::Adapters::ContactAdapter * >(argp1);
154394  {
154395  std::string *ptr = (std::string *)0;
154396  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
154397  if (!SWIG_IsOK(res2)) {
154398  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContactAdapter_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
154399  }
154400  if (!ptr) {
154401  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactAdapter_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
154402  }
154403  arg2 = ptr;
154404  }
154405  {
154406  std::string *ptr = (std::string *)0;
154407  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
154408  if (!SWIG_IsOK(res3)) {
154409  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ContactAdapter_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
154410  }
154411  if (!ptr) {
154412  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactAdapter_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
154413  }
154414  arg3 = ptr;
154415  }
154416  ecode4 = SWIG_AsVal_bool(obj3, &val4);
154417  if (!SWIG_IsOK(ecode4)) {
154418  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ContactAdapter_RemoveItem" "', argument " "4"" of type '" "bool""'");
154419  }
154420  arg4 = static_cast< bool >(val4);
154421  {
154422  try {
154423  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
154424  }
154425  catch(CStdErrorInfo oError)
154426  {
154427  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154428  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
154429  PyErr_SetString(PyExc_IndexError, strError.c_str());
154430  SWIG_fail;
154431  }
154432  catch(...)
154433  {
154434  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154435  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
154436  SWIG_fail;
154437  }
154438  }
154439  resultobj = SWIG_From_bool(static_cast< bool >(result));
154440  if (SWIG_IsNewObj(res2)) delete arg2;
154441  if (SWIG_IsNewObj(res3)) delete arg3;
154442  return resultobj;
154443 fail:
154444  if (SWIG_IsNewObj(res2)) delete arg2;
154445  if (SWIG_IsNewObj(res3)) delete arg3;
154446  return NULL;
154447 }
154448 
154449 
154450 SWIGINTERN PyObject *_wrap_ContactAdapter_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
154451  PyObject *resultobj = 0;
154453  std::string *arg2 = 0 ;
154454  std::string *arg3 = 0 ;
154455  void *argp1 = 0 ;
154456  int res1 = 0 ;
154457  int res2 = SWIG_OLDOBJ ;
154458  int res3 = SWIG_OLDOBJ ;
154459  PyObject * obj0 = 0 ;
154460  PyObject * obj1 = 0 ;
154461  PyObject * obj2 = 0 ;
154462  bool result;
154463 
154464  if (!PyArg_ParseTuple(args,(char *)"OOO:ContactAdapter_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
154465  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0 | 0 );
154466  if (!SWIG_IsOK(res1)) {
154467  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactAdapter_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Adapters::ContactAdapter *""'");
154468  }
154469  arg1 = reinterpret_cast< AnimatSim::Adapters::ContactAdapter * >(argp1);
154470  {
154471  std::string *ptr = (std::string *)0;
154472  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
154473  if (!SWIG_IsOK(res2)) {
154474  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContactAdapter_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
154475  }
154476  if (!ptr) {
154477  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactAdapter_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
154478  }
154479  arg2 = ptr;
154480  }
154481  {
154482  std::string *ptr = (std::string *)0;
154483  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
154484  if (!SWIG_IsOK(res3)) {
154485  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ContactAdapter_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
154486  }
154487  if (!ptr) {
154488  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactAdapter_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
154489  }
154490  arg3 = ptr;
154491  }
154492  {
154493  try {
154494  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
154495  }
154496  catch(CStdErrorInfo oError)
154497  {
154498  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154499  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
154500  PyErr_SetString(PyExc_IndexError, strError.c_str());
154501  SWIG_fail;
154502  }
154503  catch(...)
154504  {
154505  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154506  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
154507  SWIG_fail;
154508  }
154509  }
154510  resultobj = SWIG_From_bool(static_cast< bool >(result));
154511  if (SWIG_IsNewObj(res2)) delete arg2;
154512  if (SWIG_IsNewObj(res3)) delete arg3;
154513  return resultobj;
154514 fail:
154515  if (SWIG_IsNewObj(res2)) delete arg2;
154516  if (SWIG_IsNewObj(res3)) delete arg3;
154517  return NULL;
154518 }
154519 
154520 
154521 SWIGINTERN PyObject *_wrap_ContactAdapter_RemoveItem(PyObject *self, PyObject *args) {
154522  int argc;
154523  PyObject *argv[5];
154524  int ii;
154525 
154526  if (!PyTuple_Check(args)) SWIG_fail;
154527  argc = args ? (int)PyObject_Length(args) : 0;
154528  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
154529  argv[ii] = PyTuple_GET_ITEM(args,ii);
154530  }
154531  if (argc == 3) {
154532  int _v;
154533  void *vptr = 0;
154534  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0);
154535  _v = SWIG_CheckState(res);
154536  if (_v) {
154537  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
154538  _v = SWIG_CheckState(res);
154539  if (_v) {
154540  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
154541  _v = SWIG_CheckState(res);
154542  if (_v) {
154543  return _wrap_ContactAdapter_RemoveItem__SWIG_1(self, args);
154544  }
154545  }
154546  }
154547  }
154548  if (argc == 4) {
154549  int _v;
154550  void *vptr = 0;
154551  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0);
154552  _v = SWIG_CheckState(res);
154553  if (_v) {
154554  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
154555  _v = SWIG_CheckState(res);
154556  if (_v) {
154557  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
154558  _v = SWIG_CheckState(res);
154559  if (_v) {
154560  {
154561  int res = SWIG_AsVal_bool(argv[3], NULL);
154562  _v = SWIG_CheckState(res);
154563  }
154564  if (_v) {
154565  return _wrap_ContactAdapter_RemoveItem__SWIG_0(self, args);
154566  }
154567  }
154568  }
154569  }
154570  }
154571 
154572 fail:
154573  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ContactAdapter_RemoveItem'.\n"
154574  " Possible C/C++ prototypes are:\n"
154575  " AnimatSim::Adapters::ContactAdapter::RemoveItem(std::string const &,std::string const &,bool)\n"
154576  " AnimatSim::Adapters::ContactAdapter::RemoveItem(std::string const &,std::string const &)\n");
154577  return 0;
154578 }
154579 
154580 
154581 SWIGINTERN PyObject *_wrap_ContactAdapter_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
154582  PyObject *resultobj = 0;
154584  void *argp1 = 0 ;
154585  int res1 = 0 ;
154586  PyObject * obj0 = 0 ;
154587 
154588  if (!PyArg_ParseTuple(args,(char *)"O:ContactAdapter_Initialize",&obj0)) SWIG_fail;
154589  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0 | 0 );
154590  if (!SWIG_IsOK(res1)) {
154591  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactAdapter_Initialize" "', argument " "1"" of type '" "AnimatSim::Adapters::ContactAdapter *""'");
154592  }
154593  arg1 = reinterpret_cast< AnimatSim::Adapters::ContactAdapter * >(argp1);
154594  {
154595  try {
154596  (arg1)->Initialize();
154597  }
154598  catch(CStdErrorInfo oError)
154599  {
154600  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154601  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
154602  PyErr_SetString(PyExc_IndexError, strError.c_str());
154603  SWIG_fail;
154604  }
154605  catch(...)
154606  {
154607  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154608  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
154609  SWIG_fail;
154610  }
154611  }
154612  resultobj = SWIG_Py_Void();
154613  return resultobj;
154614 fail:
154615  return NULL;
154616 }
154617 
154618 
154619 SWIGINTERN PyObject *_wrap_ContactAdapter_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
154620  PyObject *resultobj = 0;
154622  void *argp1 = 0 ;
154623  int res1 = 0 ;
154624  PyObject * obj0 = 0 ;
154625 
154626  if (!PyArg_ParseTuple(args,(char *)"O:ContactAdapter_StepSimulation",&obj0)) SWIG_fail;
154627  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0 | 0 );
154628  if (!SWIG_IsOK(res1)) {
154629  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactAdapter_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Adapters::ContactAdapter *""'");
154630  }
154631  arg1 = reinterpret_cast< AnimatSim::Adapters::ContactAdapter * >(argp1);
154632  {
154633  try {
154634  (arg1)->StepSimulation();
154635  }
154636  catch(CStdErrorInfo oError)
154637  {
154638  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154639  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
154640  PyErr_SetString(PyExc_IndexError, strError.c_str());
154641  SWIG_fail;
154642  }
154643  catch(...)
154644  {
154645  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154646  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
154647  SWIG_fail;
154648  }
154649  }
154650  resultobj = SWIG_Py_Void();
154651  return resultobj;
154652 fail:
154653  return NULL;
154654 }
154655 
154656 
154657 SWIGINTERN PyObject *_wrap_ContactAdapter_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
154658  PyObject *resultobj = 0;
154660  CStdXml *arg2 = 0 ;
154661  void *argp1 = 0 ;
154662  int res1 = 0 ;
154663  void *argp2 = 0 ;
154664  int res2 = 0 ;
154665  PyObject * obj0 = 0 ;
154666  PyObject * obj1 = 0 ;
154667 
154668  if (!PyArg_ParseTuple(args,(char *)"OO:ContactAdapter_Load",&obj0,&obj1)) SWIG_fail;
154669  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, 0 | 0 );
154670  if (!SWIG_IsOK(res1)) {
154671  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactAdapter_Load" "', argument " "1"" of type '" "AnimatSim::Adapters::ContactAdapter *""'");
154672  }
154673  arg1 = reinterpret_cast< AnimatSim::Adapters::ContactAdapter * >(argp1);
154674  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
154675  if (!SWIG_IsOK(res2)) {
154676  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContactAdapter_Load" "', argument " "2"" of type '" "CStdXml &""'");
154677  }
154678  if (!argp2) {
154679  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactAdapter_Load" "', argument " "2"" of type '" "CStdXml &""'");
154680  }
154681  arg2 = reinterpret_cast< CStdXml * >(argp2);
154682  {
154683  try {
154684  (arg1)->Load(*arg2);
154685  }
154686  catch(CStdErrorInfo oError)
154687  {
154688  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154689  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
154690  PyErr_SetString(PyExc_IndexError, strError.c_str());
154691  SWIG_fail;
154692  }
154693  catch(...)
154694  {
154695  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154696  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
154697  SWIG_fail;
154698  }
154699  }
154700  resultobj = SWIG_Py_Void();
154701  return resultobj;
154702 fail:
154703  return NULL;
154704 }
154705 
154706 
154707 SWIGINTERN PyObject *ContactAdapter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
154708  PyObject *obj;
154709  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
154710  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter, SWIG_NewClientData(obj));
154711  return SWIG_Py_Void();
154712 }
154713 
154714 SWIGINTERN PyObject *_wrap_delete_ConstraintLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
154715  PyObject *resultobj = 0;
154717  void *argp1 = 0 ;
154718  int res1 = 0 ;
154719  PyObject * obj0 = 0 ;
154720 
154721  if (!PyArg_ParseTuple(args,(char *)"O:delete_ConstraintLimit",&obj0)) SWIG_fail;
154722  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, SWIG_POINTER_DISOWN | 0 );
154723  if (!SWIG_IsOK(res1)) {
154724  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ConstraintLimit" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
154725  }
154726  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
154727  {
154728  try {
154729  delete arg1;
154730  }
154731  catch(CStdErrorInfo oError)
154732  {
154733  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154734  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
154735  PyErr_SetString(PyExc_IndexError, strError.c_str());
154736  SWIG_fail;
154737  }
154738  catch(...)
154739  {
154740  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154741  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
154742  SWIG_fail;
154743  }
154744  }
154745  resultobj = SWIG_Py_Void();
154746  return resultobj;
154747 fail:
154748  return NULL;
154749 }
154750 
154751 
154752 SWIGINTERN PyObject *_wrap_ConstraintLimit_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
154753  PyObject *resultobj = 0;
154755  void *argp1 = 0 ;
154756  int res1 = 0 ;
154757  PyObject * obj0 = 0 ;
154759 
154760  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintLimit_CastToDerived",&obj0)) SWIG_fail;
154761  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
154762  if (!SWIG_IsOK(res1)) {
154763  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
154764  }
154765  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
154766  {
154767  try {
154768  result = (AnimatSim::Environment::ConstraintLimit *)AnimatSim::Environment::ConstraintLimit::CastToDerived(arg1);
154769  }
154770  catch(CStdErrorInfo oError)
154771  {
154772  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154773  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
154774  PyErr_SetString(PyExc_IndexError, strError.c_str());
154775  SWIG_fail;
154776  }
154777  catch(...)
154778  {
154779  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154780  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
154781  SWIG_fail;
154782  }
154783  }
154784  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
154785  return resultobj;
154786 fail:
154787  return NULL;
154788 }
154789 
154790 
154791 SWIGINTERN PyObject *_wrap_ConstraintLimit_LimitPos__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
154792  PyObject *resultobj = 0;
154794  void *argp1 = 0 ;
154795  int res1 = 0 ;
154796  PyObject * obj0 = 0 ;
154797  float result;
154798 
154799  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintLimit_LimitPos",&obj0)) SWIG_fail;
154800  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
154801  if (!SWIG_IsOK(res1)) {
154802  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_LimitPos" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
154803  }
154804  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
154805  {
154806  try {
154807  result = (float)(arg1)->LimitPos();
154808  }
154809  catch(CStdErrorInfo oError)
154810  {
154811  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154812  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
154813  PyErr_SetString(PyExc_IndexError, strError.c_str());
154814  SWIG_fail;
154815  }
154816  catch(...)
154817  {
154818  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154819  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
154820  SWIG_fail;
154821  }
154822  }
154823  resultobj = SWIG_From_float(static_cast< float >(result));
154824  return resultobj;
154825 fail:
154826  return NULL;
154827 }
154828 
154829 
154830 SWIGINTERN PyObject *_wrap_ConstraintLimit_LimitPos__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
154831  PyObject *resultobj = 0;
154833  float arg2 ;
154834  bool arg3 ;
154835  bool arg4 ;
154836  void *argp1 = 0 ;
154837  int res1 = 0 ;
154838  float val2 ;
154839  int ecode2 = 0 ;
154840  bool val3 ;
154841  int ecode3 = 0 ;
154842  bool val4 ;
154843  int ecode4 = 0 ;
154844  PyObject * obj0 = 0 ;
154845  PyObject * obj1 = 0 ;
154846  PyObject * obj2 = 0 ;
154847  PyObject * obj3 = 0 ;
154848 
154849  if (!PyArg_ParseTuple(args,(char *)"OOOO:ConstraintLimit_LimitPos",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
154850  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
154851  if (!SWIG_IsOK(res1)) {
154852  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_LimitPos" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
154853  }
154854  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
154855  ecode2 = SWIG_AsVal_float(obj1, &val2);
154856  if (!SWIG_IsOK(ecode2)) {
154857  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintLimit_LimitPos" "', argument " "2"" of type '" "float""'");
154858  }
154859  arg2 = static_cast< float >(val2);
154860  ecode3 = SWIG_AsVal_bool(obj2, &val3);
154861  if (!SWIG_IsOK(ecode3)) {
154862  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ConstraintLimit_LimitPos" "', argument " "3"" of type '" "bool""'");
154863  }
154864  arg3 = static_cast< bool >(val3);
154865  ecode4 = SWIG_AsVal_bool(obj3, &val4);
154866  if (!SWIG_IsOK(ecode4)) {
154867  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ConstraintLimit_LimitPos" "', argument " "4"" of type '" "bool""'");
154868  }
154869  arg4 = static_cast< bool >(val4);
154870  {
154871  try {
154872  (arg1)->LimitPos(arg2,arg3,arg4);
154873  }
154874  catch(CStdErrorInfo oError)
154875  {
154876  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154877  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
154878  PyErr_SetString(PyExc_IndexError, strError.c_str());
154879  SWIG_fail;
154880  }
154881  catch(...)
154882  {
154883  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154884  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
154885  SWIG_fail;
154886  }
154887  }
154888  resultobj = SWIG_Py_Void();
154889  return resultobj;
154890 fail:
154891  return NULL;
154892 }
154893 
154894 
154895 SWIGINTERN PyObject *_wrap_ConstraintLimit_LimitPos__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
154896  PyObject *resultobj = 0;
154898  float arg2 ;
154899  bool arg3 ;
154900  void *argp1 = 0 ;
154901  int res1 = 0 ;
154902  float val2 ;
154903  int ecode2 = 0 ;
154904  bool val3 ;
154905  int ecode3 = 0 ;
154906  PyObject * obj0 = 0 ;
154907  PyObject * obj1 = 0 ;
154908  PyObject * obj2 = 0 ;
154909 
154910  if (!PyArg_ParseTuple(args,(char *)"OOO:ConstraintLimit_LimitPos",&obj0,&obj1,&obj2)) SWIG_fail;
154911  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
154912  if (!SWIG_IsOK(res1)) {
154913  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_LimitPos" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
154914  }
154915  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
154916  ecode2 = SWIG_AsVal_float(obj1, &val2);
154917  if (!SWIG_IsOK(ecode2)) {
154918  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintLimit_LimitPos" "', argument " "2"" of type '" "float""'");
154919  }
154920  arg2 = static_cast< float >(val2);
154921  ecode3 = SWIG_AsVal_bool(obj2, &val3);
154922  if (!SWIG_IsOK(ecode3)) {
154923  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ConstraintLimit_LimitPos" "', argument " "3"" of type '" "bool""'");
154924  }
154925  arg3 = static_cast< bool >(val3);
154926  {
154927  try {
154928  (arg1)->LimitPos(arg2,arg3);
154929  }
154930  catch(CStdErrorInfo oError)
154931  {
154932  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154933  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
154934  PyErr_SetString(PyExc_IndexError, strError.c_str());
154935  SWIG_fail;
154936  }
154937  catch(...)
154938  {
154939  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154940  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
154941  SWIG_fail;
154942  }
154943  }
154944  resultobj = SWIG_Py_Void();
154945  return resultobj;
154946 fail:
154947  return NULL;
154948 }
154949 
154950 
154951 SWIGINTERN PyObject *_wrap_ConstraintLimit_LimitPos__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
154952  PyObject *resultobj = 0;
154954  float arg2 ;
154955  void *argp1 = 0 ;
154956  int res1 = 0 ;
154957  float val2 ;
154958  int ecode2 = 0 ;
154959  PyObject * obj0 = 0 ;
154960  PyObject * obj1 = 0 ;
154961 
154962  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintLimit_LimitPos",&obj0,&obj1)) SWIG_fail;
154963  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
154964  if (!SWIG_IsOK(res1)) {
154965  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_LimitPos" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
154966  }
154967  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
154968  ecode2 = SWIG_AsVal_float(obj1, &val2);
154969  if (!SWIG_IsOK(ecode2)) {
154970  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintLimit_LimitPos" "', argument " "2"" of type '" "float""'");
154971  }
154972  arg2 = static_cast< float >(val2);
154973  {
154974  try {
154975  (arg1)->LimitPos(arg2);
154976  }
154977  catch(CStdErrorInfo oError)
154978  {
154979  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154980  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
154981  PyErr_SetString(PyExc_IndexError, strError.c_str());
154982  SWIG_fail;
154983  }
154984  catch(...)
154985  {
154986  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
154987  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
154988  SWIG_fail;
154989  }
154990  }
154991  resultobj = SWIG_Py_Void();
154992  return resultobj;
154993 fail:
154994  return NULL;
154995 }
154996 
154997 
154998 SWIGINTERN PyObject *_wrap_ConstraintLimit_LimitPos(PyObject *self, PyObject *args) {
154999  int argc;
155000  PyObject *argv[5];
155001  int ii;
155002 
155003  if (!PyTuple_Check(args)) SWIG_fail;
155004  argc = args ? (int)PyObject_Length(args) : 0;
155005  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
155006  argv[ii] = PyTuple_GET_ITEM(args,ii);
155007  }
155008  if (argc == 1) {
155009  int _v;
155010  void *vptr = 0;
155011  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
155012  _v = SWIG_CheckState(res);
155013  if (_v) {
155014  return _wrap_ConstraintLimit_LimitPos__SWIG_0(self, args);
155015  }
155016  }
155017  if (argc == 2) {
155018  int _v;
155019  void *vptr = 0;
155020  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
155021  _v = SWIG_CheckState(res);
155022  if (_v) {
155023  {
155024  int res = SWIG_AsVal_float(argv[1], NULL);
155025  _v = SWIG_CheckState(res);
155026  }
155027  if (_v) {
155028  return _wrap_ConstraintLimit_LimitPos__SWIG_3(self, args);
155029  }
155030  }
155031  }
155032  if (argc == 3) {
155033  int _v;
155034  void *vptr = 0;
155035  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
155036  _v = SWIG_CheckState(res);
155037  if (_v) {
155038  {
155039  int res = SWIG_AsVal_float(argv[1], NULL);
155040  _v = SWIG_CheckState(res);
155041  }
155042  if (_v) {
155043  {
155044  int res = SWIG_AsVal_bool(argv[2], NULL);
155045  _v = SWIG_CheckState(res);
155046  }
155047  if (_v) {
155048  return _wrap_ConstraintLimit_LimitPos__SWIG_2(self, args);
155049  }
155050  }
155051  }
155052  }
155053  if (argc == 4) {
155054  int _v;
155055  void *vptr = 0;
155056  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
155057  _v = SWIG_CheckState(res);
155058  if (_v) {
155059  {
155060  int res = SWIG_AsVal_float(argv[1], NULL);
155061  _v = SWIG_CheckState(res);
155062  }
155063  if (_v) {
155064  {
155065  int res = SWIG_AsVal_bool(argv[2], NULL);
155066  _v = SWIG_CheckState(res);
155067  }
155068  if (_v) {
155069  {
155070  int res = SWIG_AsVal_bool(argv[3], NULL);
155071  _v = SWIG_CheckState(res);
155072  }
155073  if (_v) {
155074  return _wrap_ConstraintLimit_LimitPos__SWIG_1(self, args);
155075  }
155076  }
155077  }
155078  }
155079  }
155080 
155081 fail:
155082  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintLimit_LimitPos'.\n"
155083  " Possible C/C++ prototypes are:\n"
155084  " AnimatSim::Environment::ConstraintLimit::LimitPos()\n"
155085  " AnimatSim::Environment::ConstraintLimit::LimitPos(float,bool,bool)\n"
155086  " AnimatSim::Environment::ConstraintLimit::LimitPos(float,bool)\n"
155087  " AnimatSim::Environment::ConstraintLimit::LimitPos(float)\n");
155088  return 0;
155089 }
155090 
155091 
155092 SWIGINTERN PyObject *_wrap_ConstraintLimit_SetLimitPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
155093  PyObject *resultobj = 0;
155095  void *argp1 = 0 ;
155096  int res1 = 0 ;
155097  PyObject * obj0 = 0 ;
155098 
155099  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintLimit_SetLimitPos",&obj0)) SWIG_fail;
155100  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
155101  if (!SWIG_IsOK(res1)) {
155102  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_SetLimitPos" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
155103  }
155104  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
155105  {
155106  try {
155107  (arg1)->SetLimitPos();
155108  }
155109  catch(CStdErrorInfo oError)
155110  {
155111  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155112  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
155113  PyErr_SetString(PyExc_IndexError, strError.c_str());
155114  SWIG_fail;
155115  }
155116  catch(...)
155117  {
155118  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155119  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
155120  SWIG_fail;
155121  }
155122  }
155123  resultobj = SWIG_Py_Void();
155124  return resultobj;
155125 fail:
155126  return NULL;
155127 }
155128 
155129 
155130 SWIGINTERN PyObject *_wrap_ConstraintLimit_Damping__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
155131  PyObject *resultobj = 0;
155133  void *argp1 = 0 ;
155134  int res1 = 0 ;
155135  PyObject * obj0 = 0 ;
155136  float result;
155137 
155138  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintLimit_Damping",&obj0)) SWIG_fail;
155139  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
155140  if (!SWIG_IsOK(res1)) {
155141  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_Damping" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
155142  }
155143  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
155144  {
155145  try {
155146  result = (float)(arg1)->Damping();
155147  }
155148  catch(CStdErrorInfo oError)
155149  {
155150  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155151  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
155152  PyErr_SetString(PyExc_IndexError, strError.c_str());
155153  SWIG_fail;
155154  }
155155  catch(...)
155156  {
155157  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155158  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
155159  SWIG_fail;
155160  }
155161  }
155162  resultobj = SWIG_From_float(static_cast< float >(result));
155163  return resultobj;
155164 fail:
155165  return NULL;
155166 }
155167 
155168 
155169 SWIGINTERN PyObject *_wrap_ConstraintLimit_Damping__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
155170  PyObject *resultobj = 0;
155172  float arg2 ;
155173  bool arg3 ;
155174  void *argp1 = 0 ;
155175  int res1 = 0 ;
155176  float val2 ;
155177  int ecode2 = 0 ;
155178  bool val3 ;
155179  int ecode3 = 0 ;
155180  PyObject * obj0 = 0 ;
155181  PyObject * obj1 = 0 ;
155182  PyObject * obj2 = 0 ;
155183 
155184  if (!PyArg_ParseTuple(args,(char *)"OOO:ConstraintLimit_Damping",&obj0,&obj1,&obj2)) SWIG_fail;
155185  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
155186  if (!SWIG_IsOK(res1)) {
155187  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_Damping" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
155188  }
155189  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
155190  ecode2 = SWIG_AsVal_float(obj1, &val2);
155191  if (!SWIG_IsOK(ecode2)) {
155192  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintLimit_Damping" "', argument " "2"" of type '" "float""'");
155193  }
155194  arg2 = static_cast< float >(val2);
155195  ecode3 = SWIG_AsVal_bool(obj2, &val3);
155196  if (!SWIG_IsOK(ecode3)) {
155197  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ConstraintLimit_Damping" "', argument " "3"" of type '" "bool""'");
155198  }
155199  arg3 = static_cast< bool >(val3);
155200  {
155201  try {
155202  (arg1)->Damping(arg2,arg3);
155203  }
155204  catch(CStdErrorInfo oError)
155205  {
155206  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155207  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
155208  PyErr_SetString(PyExc_IndexError, strError.c_str());
155209  SWIG_fail;
155210  }
155211  catch(...)
155212  {
155213  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155214  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
155215  SWIG_fail;
155216  }
155217  }
155218  resultobj = SWIG_Py_Void();
155219  return resultobj;
155220 fail:
155221  return NULL;
155222 }
155223 
155224 
155225 SWIGINTERN PyObject *_wrap_ConstraintLimit_Damping__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
155226  PyObject *resultobj = 0;
155228  float arg2 ;
155229  void *argp1 = 0 ;
155230  int res1 = 0 ;
155231  float val2 ;
155232  int ecode2 = 0 ;
155233  PyObject * obj0 = 0 ;
155234  PyObject * obj1 = 0 ;
155235 
155236  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintLimit_Damping",&obj0,&obj1)) SWIG_fail;
155237  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
155238  if (!SWIG_IsOK(res1)) {
155239  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_Damping" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
155240  }
155241  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
155242  ecode2 = SWIG_AsVal_float(obj1, &val2);
155243  if (!SWIG_IsOK(ecode2)) {
155244  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintLimit_Damping" "', argument " "2"" of type '" "float""'");
155245  }
155246  arg2 = static_cast< float >(val2);
155247  {
155248  try {
155249  (arg1)->Damping(arg2);
155250  }
155251  catch(CStdErrorInfo oError)
155252  {
155253  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155254  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
155255  PyErr_SetString(PyExc_IndexError, strError.c_str());
155256  SWIG_fail;
155257  }
155258  catch(...)
155259  {
155260  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155261  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
155262  SWIG_fail;
155263  }
155264  }
155265  resultobj = SWIG_Py_Void();
155266  return resultobj;
155267 fail:
155268  return NULL;
155269 }
155270 
155271 
155272 SWIGINTERN PyObject *_wrap_ConstraintLimit_Damping(PyObject *self, PyObject *args) {
155273  int argc;
155274  PyObject *argv[4];
155275  int ii;
155276 
155277  if (!PyTuple_Check(args)) SWIG_fail;
155278  argc = args ? (int)PyObject_Length(args) : 0;
155279  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
155280  argv[ii] = PyTuple_GET_ITEM(args,ii);
155281  }
155282  if (argc == 1) {
155283  int _v;
155284  void *vptr = 0;
155285  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
155286  _v = SWIG_CheckState(res);
155287  if (_v) {
155288  return _wrap_ConstraintLimit_Damping__SWIG_0(self, args);
155289  }
155290  }
155291  if (argc == 2) {
155292  int _v;
155293  void *vptr = 0;
155294  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
155295  _v = SWIG_CheckState(res);
155296  if (_v) {
155297  {
155298  int res = SWIG_AsVal_float(argv[1], NULL);
155299  _v = SWIG_CheckState(res);
155300  }
155301  if (_v) {
155302  return _wrap_ConstraintLimit_Damping__SWIG_2(self, args);
155303  }
155304  }
155305  }
155306  if (argc == 3) {
155307  int _v;
155308  void *vptr = 0;
155309  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
155310  _v = SWIG_CheckState(res);
155311  if (_v) {
155312  {
155313  int res = SWIG_AsVal_float(argv[1], NULL);
155314  _v = SWIG_CheckState(res);
155315  }
155316  if (_v) {
155317  {
155318  int res = SWIG_AsVal_bool(argv[2], NULL);
155319  _v = SWIG_CheckState(res);
155320  }
155321  if (_v) {
155322  return _wrap_ConstraintLimit_Damping__SWIG_1(self, args);
155323  }
155324  }
155325  }
155326  }
155327 
155328 fail:
155329  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintLimit_Damping'.\n"
155330  " Possible C/C++ prototypes are:\n"
155331  " AnimatSim::Environment::ConstraintLimit::Damping()\n"
155332  " AnimatSim::Environment::ConstraintLimit::Damping(float,bool)\n"
155333  " AnimatSim::Environment::ConstraintLimit::Damping(float)\n");
155334  return 0;
155335 }
155336 
155337 
155338 SWIGINTERN PyObject *_wrap_ConstraintLimit_Restitution__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
155339  PyObject *resultobj = 0;
155341  void *argp1 = 0 ;
155342  int res1 = 0 ;
155343  PyObject * obj0 = 0 ;
155344  float result;
155345 
155346  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintLimit_Restitution",&obj0)) SWIG_fail;
155347  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
155348  if (!SWIG_IsOK(res1)) {
155349  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_Restitution" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
155350  }
155351  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
155352  {
155353  try {
155354  result = (float)(arg1)->Restitution();
155355  }
155356  catch(CStdErrorInfo oError)
155357  {
155358  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155359  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
155360  PyErr_SetString(PyExc_IndexError, strError.c_str());
155361  SWIG_fail;
155362  }
155363  catch(...)
155364  {
155365  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155366  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
155367  SWIG_fail;
155368  }
155369  }
155370  resultobj = SWIG_From_float(static_cast< float >(result));
155371  return resultobj;
155372 fail:
155373  return NULL;
155374 }
155375 
155376 
155377 SWIGINTERN PyObject *_wrap_ConstraintLimit_Restitution__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
155378  PyObject *resultobj = 0;
155380  float arg2 ;
155381  void *argp1 = 0 ;
155382  int res1 = 0 ;
155383  float val2 ;
155384  int ecode2 = 0 ;
155385  PyObject * obj0 = 0 ;
155386  PyObject * obj1 = 0 ;
155387 
155388  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintLimit_Restitution",&obj0,&obj1)) SWIG_fail;
155389  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
155390  if (!SWIG_IsOK(res1)) {
155391  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_Restitution" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
155392  }
155393  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
155394  ecode2 = SWIG_AsVal_float(obj1, &val2);
155395  if (!SWIG_IsOK(ecode2)) {
155396  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintLimit_Restitution" "', argument " "2"" of type '" "float""'");
155397  }
155398  arg2 = static_cast< float >(val2);
155399  {
155400  try {
155401  (arg1)->Restitution(arg2);
155402  }
155403  catch(CStdErrorInfo oError)
155404  {
155405  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155406  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
155407  PyErr_SetString(PyExc_IndexError, strError.c_str());
155408  SWIG_fail;
155409  }
155410  catch(...)
155411  {
155412  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155413  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
155414  SWIG_fail;
155415  }
155416  }
155417  resultobj = SWIG_Py_Void();
155418  return resultobj;
155419 fail:
155420  return NULL;
155421 }
155422 
155423 
155424 SWIGINTERN PyObject *_wrap_ConstraintLimit_Restitution(PyObject *self, PyObject *args) {
155425  int argc;
155426  PyObject *argv[3];
155427  int ii;
155428 
155429  if (!PyTuple_Check(args)) SWIG_fail;
155430  argc = args ? (int)PyObject_Length(args) : 0;
155431  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
155432  argv[ii] = PyTuple_GET_ITEM(args,ii);
155433  }
155434  if (argc == 1) {
155435  int _v;
155436  void *vptr = 0;
155437  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
155438  _v = SWIG_CheckState(res);
155439  if (_v) {
155440  return _wrap_ConstraintLimit_Restitution__SWIG_0(self, args);
155441  }
155442  }
155443  if (argc == 2) {
155444  int _v;
155445  void *vptr = 0;
155446  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
155447  _v = SWIG_CheckState(res);
155448  if (_v) {
155449  {
155450  int res = SWIG_AsVal_float(argv[1], NULL);
155451  _v = SWIG_CheckState(res);
155452  }
155453  if (_v) {
155454  return _wrap_ConstraintLimit_Restitution__SWIG_1(self, args);
155455  }
155456  }
155457  }
155458 
155459 fail:
155460  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintLimit_Restitution'.\n"
155461  " Possible C/C++ prototypes are:\n"
155462  " AnimatSim::Environment::ConstraintLimit::Restitution()\n"
155463  " AnimatSim::Environment::ConstraintLimit::Restitution(float)\n");
155464  return 0;
155465 }
155466 
155467 
155468 SWIGINTERN PyObject *_wrap_ConstraintLimit_Stiffness__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
155469  PyObject *resultobj = 0;
155471  void *argp1 = 0 ;
155472  int res1 = 0 ;
155473  PyObject * obj0 = 0 ;
155474  float result;
155475 
155476  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintLimit_Stiffness",&obj0)) SWIG_fail;
155477  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
155478  if (!SWIG_IsOK(res1)) {
155479  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_Stiffness" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
155480  }
155481  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
155482  {
155483  try {
155484  result = (float)(arg1)->Stiffness();
155485  }
155486  catch(CStdErrorInfo oError)
155487  {
155488  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155489  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
155490  PyErr_SetString(PyExc_IndexError, strError.c_str());
155491  SWIG_fail;
155492  }
155493  catch(...)
155494  {
155495  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155496  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
155497  SWIG_fail;
155498  }
155499  }
155500  resultobj = SWIG_From_float(static_cast< float >(result));
155501  return resultobj;
155502 fail:
155503  return NULL;
155504 }
155505 
155506 
155507 SWIGINTERN PyObject *_wrap_ConstraintLimit_Stiffness__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
155508  PyObject *resultobj = 0;
155510  float arg2 ;
155511  bool arg3 ;
155512  void *argp1 = 0 ;
155513  int res1 = 0 ;
155514  float val2 ;
155515  int ecode2 = 0 ;
155516  bool val3 ;
155517  int ecode3 = 0 ;
155518  PyObject * obj0 = 0 ;
155519  PyObject * obj1 = 0 ;
155520  PyObject * obj2 = 0 ;
155521 
155522  if (!PyArg_ParseTuple(args,(char *)"OOO:ConstraintLimit_Stiffness",&obj0,&obj1,&obj2)) SWIG_fail;
155523  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
155524  if (!SWIG_IsOK(res1)) {
155525  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_Stiffness" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
155526  }
155527  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
155528  ecode2 = SWIG_AsVal_float(obj1, &val2);
155529  if (!SWIG_IsOK(ecode2)) {
155530  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintLimit_Stiffness" "', argument " "2"" of type '" "float""'");
155531  }
155532  arg2 = static_cast< float >(val2);
155533  ecode3 = SWIG_AsVal_bool(obj2, &val3);
155534  if (!SWIG_IsOK(ecode3)) {
155535  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ConstraintLimit_Stiffness" "', argument " "3"" of type '" "bool""'");
155536  }
155537  arg3 = static_cast< bool >(val3);
155538  {
155539  try {
155540  (arg1)->Stiffness(arg2,arg3);
155541  }
155542  catch(CStdErrorInfo oError)
155543  {
155544  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155545  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
155546  PyErr_SetString(PyExc_IndexError, strError.c_str());
155547  SWIG_fail;
155548  }
155549  catch(...)
155550  {
155551  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155552  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
155553  SWIG_fail;
155554  }
155555  }
155556  resultobj = SWIG_Py_Void();
155557  return resultobj;
155558 fail:
155559  return NULL;
155560 }
155561 
155562 
155563 SWIGINTERN PyObject *_wrap_ConstraintLimit_Stiffness__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
155564  PyObject *resultobj = 0;
155566  float arg2 ;
155567  void *argp1 = 0 ;
155568  int res1 = 0 ;
155569  float val2 ;
155570  int ecode2 = 0 ;
155571  PyObject * obj0 = 0 ;
155572  PyObject * obj1 = 0 ;
155573 
155574  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintLimit_Stiffness",&obj0,&obj1)) SWIG_fail;
155575  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
155576  if (!SWIG_IsOK(res1)) {
155577  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_Stiffness" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
155578  }
155579  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
155580  ecode2 = SWIG_AsVal_float(obj1, &val2);
155581  if (!SWIG_IsOK(ecode2)) {
155582  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintLimit_Stiffness" "', argument " "2"" of type '" "float""'");
155583  }
155584  arg2 = static_cast< float >(val2);
155585  {
155586  try {
155587  (arg1)->Stiffness(arg2);
155588  }
155589  catch(CStdErrorInfo oError)
155590  {
155591  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155592  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
155593  PyErr_SetString(PyExc_IndexError, strError.c_str());
155594  SWIG_fail;
155595  }
155596  catch(...)
155597  {
155598  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155599  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
155600  SWIG_fail;
155601  }
155602  }
155603  resultobj = SWIG_Py_Void();
155604  return resultobj;
155605 fail:
155606  return NULL;
155607 }
155608 
155609 
155610 SWIGINTERN PyObject *_wrap_ConstraintLimit_Stiffness(PyObject *self, PyObject *args) {
155611  int argc;
155612  PyObject *argv[4];
155613  int ii;
155614 
155615  if (!PyTuple_Check(args)) SWIG_fail;
155616  argc = args ? (int)PyObject_Length(args) : 0;
155617  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
155618  argv[ii] = PyTuple_GET_ITEM(args,ii);
155619  }
155620  if (argc == 1) {
155621  int _v;
155622  void *vptr = 0;
155623  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
155624  _v = SWIG_CheckState(res);
155625  if (_v) {
155626  return _wrap_ConstraintLimit_Stiffness__SWIG_0(self, args);
155627  }
155628  }
155629  if (argc == 2) {
155630  int _v;
155631  void *vptr = 0;
155632  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
155633  _v = SWIG_CheckState(res);
155634  if (_v) {
155635  {
155636  int res = SWIG_AsVal_float(argv[1], NULL);
155637  _v = SWIG_CheckState(res);
155638  }
155639  if (_v) {
155640  return _wrap_ConstraintLimit_Stiffness__SWIG_2(self, args);
155641  }
155642  }
155643  }
155644  if (argc == 3) {
155645  int _v;
155646  void *vptr = 0;
155647  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
155648  _v = SWIG_CheckState(res);
155649  if (_v) {
155650  {
155651  int res = SWIG_AsVal_float(argv[1], NULL);
155652  _v = SWIG_CheckState(res);
155653  }
155654  if (_v) {
155655  {
155656  int res = SWIG_AsVal_bool(argv[2], NULL);
155657  _v = SWIG_CheckState(res);
155658  }
155659  if (_v) {
155660  return _wrap_ConstraintLimit_Stiffness__SWIG_1(self, args);
155661  }
155662  }
155663  }
155664  }
155665 
155666 fail:
155667  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintLimit_Stiffness'.\n"
155668  " Possible C/C++ prototypes are:\n"
155669  " AnimatSim::Environment::ConstraintLimit::Stiffness()\n"
155670  " AnimatSim::Environment::ConstraintLimit::Stiffness(float,bool)\n"
155671  " AnimatSim::Environment::ConstraintLimit::Stiffness(float)\n");
155672  return 0;
155673 }
155674 
155675 
155676 SWIGINTERN PyObject *_wrap_ConstraintLimit_Color__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
155677  PyObject *resultobj = 0;
155679  float arg2 ;
155680  float arg3 ;
155681  float arg4 ;
155682  float arg5 ;
155683  void *argp1 = 0 ;
155684  int res1 = 0 ;
155685  float val2 ;
155686  int ecode2 = 0 ;
155687  float val3 ;
155688  int ecode3 = 0 ;
155689  float val4 ;
155690  int ecode4 = 0 ;
155691  float val5 ;
155692  int ecode5 = 0 ;
155693  PyObject * obj0 = 0 ;
155694  PyObject * obj1 = 0 ;
155695  PyObject * obj2 = 0 ;
155696  PyObject * obj3 = 0 ;
155697  PyObject * obj4 = 0 ;
155698 
155699  if (!PyArg_ParseTuple(args,(char *)"OOOOO:ConstraintLimit_Color",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
155700  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
155701  if (!SWIG_IsOK(res1)) {
155702  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_Color" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
155703  }
155704  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
155705  ecode2 = SWIG_AsVal_float(obj1, &val2);
155706  if (!SWIG_IsOK(ecode2)) {
155707  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintLimit_Color" "', argument " "2"" of type '" "float""'");
155708  }
155709  arg2 = static_cast< float >(val2);
155710  ecode3 = SWIG_AsVal_float(obj2, &val3);
155711  if (!SWIG_IsOK(ecode3)) {
155712  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ConstraintLimit_Color" "', argument " "3"" of type '" "float""'");
155713  }
155714  arg3 = static_cast< float >(val3);
155715  ecode4 = SWIG_AsVal_float(obj3, &val4);
155716  if (!SWIG_IsOK(ecode4)) {
155717  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ConstraintLimit_Color" "', argument " "4"" of type '" "float""'");
155718  }
155719  arg4 = static_cast< float >(val4);
155720  ecode5 = SWIG_AsVal_float(obj4, &val5);
155721  if (!SWIG_IsOK(ecode5)) {
155722  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ConstraintLimit_Color" "', argument " "5"" of type '" "float""'");
155723  }
155724  arg5 = static_cast< float >(val5);
155725  {
155726  try {
155727  (arg1)->Color(arg2,arg3,arg4,arg5);
155728  }
155729  catch(CStdErrorInfo oError)
155730  {
155731  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155732  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
155733  PyErr_SetString(PyExc_IndexError, strError.c_str());
155734  SWIG_fail;
155735  }
155736  catch(...)
155737  {
155738  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155739  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
155740  SWIG_fail;
155741  }
155742  }
155743  resultobj = SWIG_Py_Void();
155744  return resultobj;
155745 fail:
155746  return NULL;
155747 }
155748 
155749 
155750 SWIGINTERN PyObject *_wrap_ConstraintLimit_Color__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
155751  PyObject *resultobj = 0;
155753  void *argp1 = 0 ;
155754  int res1 = 0 ;
155755  PyObject * obj0 = 0 ;
155756  CStdColor *result = 0 ;
155757 
155758  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintLimit_Color",&obj0)) SWIG_fail;
155759  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
155760  if (!SWIG_IsOK(res1)) {
155761  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_Color" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
155762  }
155763  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
155764  {
155765  try {
155766  result = (CStdColor *)(arg1)->Color();
155767  }
155768  catch(CStdErrorInfo oError)
155769  {
155770  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155771  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
155772  PyErr_SetString(PyExc_IndexError, strError.c_str());
155773  SWIG_fail;
155774  }
155775  catch(...)
155776  {
155777  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155778  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
155779  SWIG_fail;
155780  }
155781  }
155782  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
155783  return resultobj;
155784 fail:
155785  return NULL;
155786 }
155787 
155788 
155789 SWIGINTERN PyObject *_wrap_ConstraintLimit_Color__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
155790  PyObject *resultobj = 0;
155792  std::string arg2 ;
155793  void *argp1 = 0 ;
155794  int res1 = 0 ;
155795  PyObject * obj0 = 0 ;
155796  PyObject * obj1 = 0 ;
155797 
155798  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintLimit_Color",&obj0,&obj1)) SWIG_fail;
155799  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
155800  if (!SWIG_IsOK(res1)) {
155801  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_Color" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
155802  }
155803  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
155804  {
155805  std::string *ptr = (std::string *)0;
155806  int res = SWIG_AsPtr_std_string(obj1, &ptr);
155807  if (!SWIG_IsOK(res) || !ptr) {
155808  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ConstraintLimit_Color" "', argument " "2"" of type '" "std::string""'");
155809  }
155810  arg2 = *ptr;
155811  if (SWIG_IsNewObj(res)) delete ptr;
155812  }
155813  {
155814  try {
155815  (arg1)->Color(arg2);
155816  }
155817  catch(CStdErrorInfo oError)
155818  {
155819  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155820  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
155821  PyErr_SetString(PyExc_IndexError, strError.c_str());
155822  SWIG_fail;
155823  }
155824  catch(...)
155825  {
155826  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155827  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
155828  SWIG_fail;
155829  }
155830  }
155831  resultobj = SWIG_Py_Void();
155832  return resultobj;
155833 fail:
155834  return NULL;
155835 }
155836 
155837 
155838 SWIGINTERN PyObject *_wrap_ConstraintLimit_Color(PyObject *self, PyObject *args) {
155839  int argc;
155840  PyObject *argv[6];
155841  int ii;
155842 
155843  if (!PyTuple_Check(args)) SWIG_fail;
155844  argc = args ? (int)PyObject_Length(args) : 0;
155845  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
155846  argv[ii] = PyTuple_GET_ITEM(args,ii);
155847  }
155848  if (argc == 1) {
155849  int _v;
155850  void *vptr = 0;
155851  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
155852  _v = SWIG_CheckState(res);
155853  if (_v) {
155854  return _wrap_ConstraintLimit_Color__SWIG_1(self, args);
155855  }
155856  }
155857  if (argc == 2) {
155858  int _v;
155859  void *vptr = 0;
155860  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
155861  _v = SWIG_CheckState(res);
155862  if (_v) {
155863  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
155864  _v = SWIG_CheckState(res);
155865  if (_v) {
155866  return _wrap_ConstraintLimit_Color__SWIG_2(self, args);
155867  }
155868  }
155869  }
155870  if (argc == 5) {
155871  int _v;
155872  void *vptr = 0;
155873  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
155874  _v = SWIG_CheckState(res);
155875  if (_v) {
155876  {
155877  int res = SWIG_AsVal_float(argv[1], NULL);
155878  _v = SWIG_CheckState(res);
155879  }
155880  if (_v) {
155881  {
155882  int res = SWIG_AsVal_float(argv[2], NULL);
155883  _v = SWIG_CheckState(res);
155884  }
155885  if (_v) {
155886  {
155887  int res = SWIG_AsVal_float(argv[3], NULL);
155888  _v = SWIG_CheckState(res);
155889  }
155890  if (_v) {
155891  {
155892  int res = SWIG_AsVal_float(argv[4], NULL);
155893  _v = SWIG_CheckState(res);
155894  }
155895  if (_v) {
155896  return _wrap_ConstraintLimit_Color__SWIG_0(self, args);
155897  }
155898  }
155899  }
155900  }
155901  }
155902  }
155903 
155904 fail:
155905  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintLimit_Color'.\n"
155906  " Possible C/C++ prototypes are:\n"
155907  " AnimatSim::Environment::ConstraintLimit::Color(float,float,float,float)\n"
155908  " AnimatSim::Environment::ConstraintLimit::Color()\n"
155909  " AnimatSim::Environment::ConstraintLimit::Color(std::string)\n");
155910  return 0;
155911 }
155912 
155913 
155914 SWIGINTERN PyObject *_wrap_ConstraintLimit_Alpha__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
155915  PyObject *resultobj = 0;
155917  float arg2 ;
155918  void *argp1 = 0 ;
155919  int res1 = 0 ;
155920  float val2 ;
155921  int ecode2 = 0 ;
155922  PyObject * obj0 = 0 ;
155923  PyObject * obj1 = 0 ;
155924 
155925  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintLimit_Alpha",&obj0,&obj1)) SWIG_fail;
155926  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
155927  if (!SWIG_IsOK(res1)) {
155928  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_Alpha" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
155929  }
155930  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
155931  ecode2 = SWIG_AsVal_float(obj1, &val2);
155932  if (!SWIG_IsOK(ecode2)) {
155933  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintLimit_Alpha" "', argument " "2"" of type '" "float""'");
155934  }
155935  arg2 = static_cast< float >(val2);
155936  {
155937  try {
155938  (arg1)->Alpha(arg2);
155939  }
155940  catch(CStdErrorInfo oError)
155941  {
155942  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155943  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
155944  PyErr_SetString(PyExc_IndexError, strError.c_str());
155945  SWIG_fail;
155946  }
155947  catch(...)
155948  {
155949  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155950  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
155951  SWIG_fail;
155952  }
155953  }
155954  resultobj = SWIG_Py_Void();
155955  return resultobj;
155956 fail:
155957  return NULL;
155958 }
155959 
155960 
155961 SWIGINTERN PyObject *_wrap_ConstraintLimit_Alpha__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
155962  PyObject *resultobj = 0;
155964  void *argp1 = 0 ;
155965  int res1 = 0 ;
155966  PyObject * obj0 = 0 ;
155967  float result;
155968 
155969  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintLimit_Alpha",&obj0)) SWIG_fail;
155970  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
155971  if (!SWIG_IsOK(res1)) {
155972  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_Alpha" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
155973  }
155974  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
155975  {
155976  try {
155977  result = (float)(arg1)->Alpha();
155978  }
155979  catch(CStdErrorInfo oError)
155980  {
155981  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155982  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
155983  PyErr_SetString(PyExc_IndexError, strError.c_str());
155984  SWIG_fail;
155985  }
155986  catch(...)
155987  {
155988  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
155989  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
155990  SWIG_fail;
155991  }
155992  }
155993  resultobj = SWIG_From_float(static_cast< float >(result));
155994  return resultobj;
155995 fail:
155996  return NULL;
155997 }
155998 
155999 
156000 SWIGINTERN PyObject *_wrap_ConstraintLimit_Alpha(PyObject *self, PyObject *args) {
156001  int argc;
156002  PyObject *argv[3];
156003  int ii;
156004 
156005  if (!PyTuple_Check(args)) SWIG_fail;
156006  argc = args ? (int)PyObject_Length(args) : 0;
156007  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
156008  argv[ii] = PyTuple_GET_ITEM(args,ii);
156009  }
156010  if (argc == 1) {
156011  int _v;
156012  void *vptr = 0;
156013  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
156014  _v = SWIG_CheckState(res);
156015  if (_v) {
156016  return _wrap_ConstraintLimit_Alpha__SWIG_1(self, args);
156017  }
156018  }
156019  if (argc == 2) {
156020  int _v;
156021  void *vptr = 0;
156022  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
156023  _v = SWIG_CheckState(res);
156024  if (_v) {
156025  {
156026  int res = SWIG_AsVal_float(argv[1], NULL);
156027  _v = SWIG_CheckState(res);
156028  }
156029  if (_v) {
156030  return _wrap_ConstraintLimit_Alpha__SWIG_0(self, args);
156031  }
156032  }
156033  }
156034 
156035 fail:
156036  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintLimit_Alpha'.\n"
156037  " Possible C/C++ prototypes are:\n"
156038  " AnimatSim::Environment::ConstraintLimit::Alpha(float)\n"
156039  " AnimatSim::Environment::ConstraintLimit::Alpha()\n");
156040  return 0;
156041 }
156042 
156043 
156044 SWIGINTERN PyObject *_wrap_ConstraintLimit_IsLowerLimit__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
156045  PyObject *resultobj = 0;
156047  bool arg2 ;
156048  void *argp1 = 0 ;
156049  int res1 = 0 ;
156050  bool val2 ;
156051  int ecode2 = 0 ;
156052  PyObject * obj0 = 0 ;
156053  PyObject * obj1 = 0 ;
156054 
156055  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintLimit_IsLowerLimit",&obj0,&obj1)) SWIG_fail;
156056  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
156057  if (!SWIG_IsOK(res1)) {
156058  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_IsLowerLimit" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
156059  }
156060  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
156061  ecode2 = SWIG_AsVal_bool(obj1, &val2);
156062  if (!SWIG_IsOK(ecode2)) {
156063  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintLimit_IsLowerLimit" "', argument " "2"" of type '" "bool""'");
156064  }
156065  arg2 = static_cast< bool >(val2);
156066  {
156067  try {
156068  (arg1)->IsLowerLimit(arg2);
156069  }
156070  catch(CStdErrorInfo oError)
156071  {
156072  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156073  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
156074  PyErr_SetString(PyExc_IndexError, strError.c_str());
156075  SWIG_fail;
156076  }
156077  catch(...)
156078  {
156079  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156080  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
156081  SWIG_fail;
156082  }
156083  }
156084  resultobj = SWIG_Py_Void();
156085  return resultobj;
156086 fail:
156087  return NULL;
156088 }
156089 
156090 
156091 SWIGINTERN PyObject *_wrap_ConstraintLimit_IsLowerLimit__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
156092  PyObject *resultobj = 0;
156094  void *argp1 = 0 ;
156095  int res1 = 0 ;
156096  PyObject * obj0 = 0 ;
156097  bool result;
156098 
156099  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintLimit_IsLowerLimit",&obj0)) SWIG_fail;
156100  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
156101  if (!SWIG_IsOK(res1)) {
156102  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_IsLowerLimit" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
156103  }
156104  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
156105  {
156106  try {
156107  result = (bool)(arg1)->IsLowerLimit();
156108  }
156109  catch(CStdErrorInfo oError)
156110  {
156111  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156112  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
156113  PyErr_SetString(PyExc_IndexError, strError.c_str());
156114  SWIG_fail;
156115  }
156116  catch(...)
156117  {
156118  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156119  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
156120  SWIG_fail;
156121  }
156122  }
156123  resultobj = SWIG_From_bool(static_cast< bool >(result));
156124  return resultobj;
156125 fail:
156126  return NULL;
156127 }
156128 
156129 
156130 SWIGINTERN PyObject *_wrap_ConstraintLimit_IsLowerLimit(PyObject *self, PyObject *args) {
156131  int argc;
156132  PyObject *argv[3];
156133  int ii;
156134 
156135  if (!PyTuple_Check(args)) SWIG_fail;
156136  argc = args ? (int)PyObject_Length(args) : 0;
156137  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
156138  argv[ii] = PyTuple_GET_ITEM(args,ii);
156139  }
156140  if (argc == 1) {
156141  int _v;
156142  void *vptr = 0;
156143  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
156144  _v = SWIG_CheckState(res);
156145  if (_v) {
156146  return _wrap_ConstraintLimit_IsLowerLimit__SWIG_1(self, args);
156147  }
156148  }
156149  if (argc == 2) {
156150  int _v;
156151  void *vptr = 0;
156152  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
156153  _v = SWIG_CheckState(res);
156154  if (_v) {
156155  {
156156  int res = SWIG_AsVal_bool(argv[1], NULL);
156157  _v = SWIG_CheckState(res);
156158  }
156159  if (_v) {
156160  return _wrap_ConstraintLimit_IsLowerLimit__SWIG_0(self, args);
156161  }
156162  }
156163  }
156164 
156165 fail:
156166  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintLimit_IsLowerLimit'.\n"
156167  " Possible C/C++ prototypes are:\n"
156168  " AnimatSim::Environment::ConstraintLimit::IsLowerLimit(bool)\n"
156169  " AnimatSim::Environment::ConstraintLimit::IsLowerLimit()\n");
156170  return 0;
156171 }
156172 
156173 
156174 SWIGINTERN PyObject *_wrap_ConstraintLimit_IsShowPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
156175  PyObject *resultobj = 0;
156177  bool arg2 ;
156178  void *argp1 = 0 ;
156179  int res1 = 0 ;
156180  bool val2 ;
156181  int ecode2 = 0 ;
156182  PyObject * obj0 = 0 ;
156183  PyObject * obj1 = 0 ;
156184 
156185  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintLimit_IsShowPosition",&obj0,&obj1)) SWIG_fail;
156186  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
156187  if (!SWIG_IsOK(res1)) {
156188  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_IsShowPosition" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
156189  }
156190  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
156191  ecode2 = SWIG_AsVal_bool(obj1, &val2);
156192  if (!SWIG_IsOK(ecode2)) {
156193  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintLimit_IsShowPosition" "', argument " "2"" of type '" "bool""'");
156194  }
156195  arg2 = static_cast< bool >(val2);
156196  {
156197  try {
156198  (arg1)->IsShowPosition(arg2);
156199  }
156200  catch(CStdErrorInfo oError)
156201  {
156202  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156203  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
156204  PyErr_SetString(PyExc_IndexError, strError.c_str());
156205  SWIG_fail;
156206  }
156207  catch(...)
156208  {
156209  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156210  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
156211  SWIG_fail;
156212  }
156213  }
156214  resultobj = SWIG_Py_Void();
156215  return resultobj;
156216 fail:
156217  return NULL;
156218 }
156219 
156220 
156221 SWIGINTERN PyObject *_wrap_ConstraintLimit_IsShowPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
156222  PyObject *resultobj = 0;
156224  void *argp1 = 0 ;
156225  int res1 = 0 ;
156226  PyObject * obj0 = 0 ;
156227  bool result;
156228 
156229  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintLimit_IsShowPosition",&obj0)) SWIG_fail;
156230  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
156231  if (!SWIG_IsOK(res1)) {
156232  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_IsShowPosition" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
156233  }
156234  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
156235  {
156236  try {
156237  result = (bool)(arg1)->IsShowPosition();
156238  }
156239  catch(CStdErrorInfo oError)
156240  {
156241  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156242  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
156243  PyErr_SetString(PyExc_IndexError, strError.c_str());
156244  SWIG_fail;
156245  }
156246  catch(...)
156247  {
156248  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156249  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
156250  SWIG_fail;
156251  }
156252  }
156253  resultobj = SWIG_From_bool(static_cast< bool >(result));
156254  return resultobj;
156255 fail:
156256  return NULL;
156257 }
156258 
156259 
156260 SWIGINTERN PyObject *_wrap_ConstraintLimit_IsShowPosition(PyObject *self, PyObject *args) {
156261  int argc;
156262  PyObject *argv[3];
156263  int ii;
156264 
156265  if (!PyTuple_Check(args)) SWIG_fail;
156266  argc = args ? (int)PyObject_Length(args) : 0;
156267  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
156268  argv[ii] = PyTuple_GET_ITEM(args,ii);
156269  }
156270  if (argc == 1) {
156271  int _v;
156272  void *vptr = 0;
156273  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
156274  _v = SWIG_CheckState(res);
156275  if (_v) {
156276  return _wrap_ConstraintLimit_IsShowPosition__SWIG_1(self, args);
156277  }
156278  }
156279  if (argc == 2) {
156280  int _v;
156281  void *vptr = 0;
156282  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
156283  _v = SWIG_CheckState(res);
156284  if (_v) {
156285  {
156286  int res = SWIG_AsVal_bool(argv[1], NULL);
156287  _v = SWIG_CheckState(res);
156288  }
156289  if (_v) {
156290  return _wrap_ConstraintLimit_IsShowPosition__SWIG_0(self, args);
156291  }
156292  }
156293  }
156294 
156295 fail:
156296  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintLimit_IsShowPosition'.\n"
156297  " Possible C/C++ prototypes are:\n"
156298  " AnimatSim::Environment::ConstraintLimit::IsShowPosition(bool)\n"
156299  " AnimatSim::Environment::ConstraintLimit::IsShowPosition()\n");
156300  return 0;
156301 }
156302 
156303 
156304 SWIGINTERN PyObject *_wrap_ConstraintLimit_SetSystemPointers__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
156305  PyObject *resultobj = 0;
156307  Simulator *arg2 = (Simulator *) 0 ;
156308  Structure *arg3 = (Structure *) 0 ;
156309  NeuralModule *arg4 = (NeuralModule *) 0 ;
156310  AnimatSim::Node *arg5 = (AnimatSim::Node *) 0 ;
156311  float arg6 ;
156312  bool arg7 ;
156313  void *argp1 = 0 ;
156314  int res1 = 0 ;
156315  void *argp2 = 0 ;
156316  int res2 = 0 ;
156317  void *argp3 = 0 ;
156318  int res3 = 0 ;
156319  void *argp4 = 0 ;
156320  int res4 = 0 ;
156321  void *argp5 = 0 ;
156322  int res5 = 0 ;
156323  float val6 ;
156324  int ecode6 = 0 ;
156325  bool val7 ;
156326  int ecode7 = 0 ;
156327  PyObject * obj0 = 0 ;
156328  PyObject * obj1 = 0 ;
156329  PyObject * obj2 = 0 ;
156330  PyObject * obj3 = 0 ;
156331  PyObject * obj4 = 0 ;
156332  PyObject * obj5 = 0 ;
156333  PyObject * obj6 = 0 ;
156334 
156335  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:ConstraintLimit_SetSystemPointers",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
156336  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
156337  if (!SWIG_IsOK(res1)) {
156338  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_SetSystemPointers" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
156339  }
156340  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
156341  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Simulator, 0 | 0 );
156342  if (!SWIG_IsOK(res2)) {
156343  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConstraintLimit_SetSystemPointers" "', argument " "2"" of type '" "Simulator *""'");
156344  }
156345  arg2 = reinterpret_cast< Simulator * >(argp2);
156346  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Structure, 0 | 0 );
156347  if (!SWIG_IsOK(res3)) {
156348  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstraintLimit_SetSystemPointers" "', argument " "3"" of type '" "Structure *""'");
156349  }
156350  arg3 = reinterpret_cast< Structure * >(argp3);
156351  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_NeuralModule, 0 | 0 );
156352  if (!SWIG_IsOK(res4)) {
156353  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ConstraintLimit_SetSystemPointers" "', argument " "4"" of type '" "NeuralModule *""'");
156354  }
156355  arg4 = reinterpret_cast< NeuralModule * >(argp4);
156356  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
156357  if (!SWIG_IsOK(res5)) {
156358  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ConstraintLimit_SetSystemPointers" "', argument " "5"" of type '" "AnimatSim::Node *""'");
156359  }
156360  arg5 = reinterpret_cast< AnimatSim::Node * >(argp5);
156361  ecode6 = SWIG_AsVal_float(obj5, &val6);
156362  if (!SWIG_IsOK(ecode6)) {
156363  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ConstraintLimit_SetSystemPointers" "', argument " "6"" of type '" "float""'");
156364  }
156365  arg6 = static_cast< float >(val6);
156366  ecode7 = SWIG_AsVal_bool(obj6, &val7);
156367  if (!SWIG_IsOK(ecode7)) {
156368  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ConstraintLimit_SetSystemPointers" "', argument " "7"" of type '" "bool""'");
156369  }
156370  arg7 = static_cast< bool >(val7);
156371  {
156372  try {
156373  (arg1)->SetSystemPointers(arg2,arg3,arg4,arg5,arg6,arg7);
156374  }
156375  catch(CStdErrorInfo oError)
156376  {
156377  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156378  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
156379  PyErr_SetString(PyExc_IndexError, strError.c_str());
156380  SWIG_fail;
156381  }
156382  catch(...)
156383  {
156384  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156385  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
156386  SWIG_fail;
156387  }
156388  }
156389  resultobj = SWIG_Py_Void();
156390  return resultobj;
156391 fail:
156392  return NULL;
156393 }
156394 
156395 
156396 SWIGINTERN PyObject *_wrap_ConstraintLimit_SetSystemPointers__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
156397  PyObject *resultobj = 0;
156399  Simulator *arg2 = (Simulator *) 0 ;
156400  Structure *arg3 = (Structure *) 0 ;
156401  NeuralModule *arg4 = (NeuralModule *) 0 ;
156402  AnimatSim::Node *arg5 = (AnimatSim::Node *) 0 ;
156403  bool arg6 ;
156404  void *argp1 = 0 ;
156405  int res1 = 0 ;
156406  void *argp2 = 0 ;
156407  int res2 = 0 ;
156408  void *argp3 = 0 ;
156409  int res3 = 0 ;
156410  void *argp4 = 0 ;
156411  int res4 = 0 ;
156412  void *argp5 = 0 ;
156413  int res5 = 0 ;
156414  bool val6 ;
156415  int ecode6 = 0 ;
156416  PyObject * obj0 = 0 ;
156417  PyObject * obj1 = 0 ;
156418  PyObject * obj2 = 0 ;
156419  PyObject * obj3 = 0 ;
156420  PyObject * obj4 = 0 ;
156421  PyObject * obj5 = 0 ;
156422 
156423  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:ConstraintLimit_SetSystemPointers",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
156424  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
156425  if (!SWIG_IsOK(res1)) {
156426  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_SetSystemPointers" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
156427  }
156428  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
156429  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Simulator, 0 | 0 );
156430  if (!SWIG_IsOK(res2)) {
156431  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConstraintLimit_SetSystemPointers" "', argument " "2"" of type '" "Simulator *""'");
156432  }
156433  arg2 = reinterpret_cast< Simulator * >(argp2);
156434  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Structure, 0 | 0 );
156435  if (!SWIG_IsOK(res3)) {
156436  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstraintLimit_SetSystemPointers" "', argument " "3"" of type '" "Structure *""'");
156437  }
156438  arg3 = reinterpret_cast< Structure * >(argp3);
156439  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_NeuralModule, 0 | 0 );
156440  if (!SWIG_IsOK(res4)) {
156441  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ConstraintLimit_SetSystemPointers" "', argument " "4"" of type '" "NeuralModule *""'");
156442  }
156443  arg4 = reinterpret_cast< NeuralModule * >(argp4);
156444  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
156445  if (!SWIG_IsOK(res5)) {
156446  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ConstraintLimit_SetSystemPointers" "', argument " "5"" of type '" "AnimatSim::Node *""'");
156447  }
156448  arg5 = reinterpret_cast< AnimatSim::Node * >(argp5);
156449  ecode6 = SWIG_AsVal_bool(obj5, &val6);
156450  if (!SWIG_IsOK(ecode6)) {
156451  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ConstraintLimit_SetSystemPointers" "', argument " "6"" of type '" "bool""'");
156452  }
156453  arg6 = static_cast< bool >(val6);
156454  {
156455  try {
156456  (arg1)->SetSystemPointers(arg2,arg3,arg4,arg5,arg6);
156457  }
156458  catch(CStdErrorInfo oError)
156459  {
156460  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156461  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
156462  PyErr_SetString(PyExc_IndexError, strError.c_str());
156463  SWIG_fail;
156464  }
156465  catch(...)
156466  {
156467  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156468  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
156469  SWIG_fail;
156470  }
156471  }
156472  resultobj = SWIG_Py_Void();
156473  return resultobj;
156474 fail:
156475  return NULL;
156476 }
156477 
156478 
156479 SWIGINTERN PyObject *_wrap_ConstraintLimit_SetSystemPointers(PyObject *self, PyObject *args) {
156480  int argc;
156481  PyObject *argv[8];
156482  int ii;
156483 
156484  if (!PyTuple_Check(args)) SWIG_fail;
156485  argc = args ? (int)PyObject_Length(args) : 0;
156486  for (ii = 0; (ii < 7) && (ii < argc); ii++) {
156487  argv[ii] = PyTuple_GET_ITEM(args,ii);
156488  }
156489  if (argc == 6) {
156490  int _v;
156491  void *vptr = 0;
156492  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
156493  _v = SWIG_CheckState(res);
156494  if (_v) {
156495  void *vptr = 0;
156496  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Simulator, 0);
156497  _v = SWIG_CheckState(res);
156498  if (_v) {
156499  void *vptr = 0;
156500  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Structure, 0);
156501  _v = SWIG_CheckState(res);
156502  if (_v) {
156503  void *vptr = 0;
156504  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_NeuralModule, 0);
156505  _v = SWIG_CheckState(res);
156506  if (_v) {
156507  void *vptr = 0;
156508  int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_AnimatSim__Node, 0);
156509  _v = SWIG_CheckState(res);
156510  if (_v) {
156511  {
156512  int res = SWIG_AsVal_bool(argv[5], NULL);
156513  _v = SWIG_CheckState(res);
156514  }
156515  if (_v) {
156516  return _wrap_ConstraintLimit_SetSystemPointers__SWIG_1(self, args);
156517  }
156518  }
156519  }
156520  }
156521  }
156522  }
156523  }
156524  if (argc == 7) {
156525  int _v;
156526  void *vptr = 0;
156527  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
156528  _v = SWIG_CheckState(res);
156529  if (_v) {
156530  void *vptr = 0;
156531  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Simulator, 0);
156532  _v = SWIG_CheckState(res);
156533  if (_v) {
156534  void *vptr = 0;
156535  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_Structure, 0);
156536  _v = SWIG_CheckState(res);
156537  if (_v) {
156538  void *vptr = 0;
156539  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_NeuralModule, 0);
156540  _v = SWIG_CheckState(res);
156541  if (_v) {
156542  void *vptr = 0;
156543  int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_AnimatSim__Node, 0);
156544  _v = SWIG_CheckState(res);
156545  if (_v) {
156546  {
156547  int res = SWIG_AsVal_float(argv[5], NULL);
156548  _v = SWIG_CheckState(res);
156549  }
156550  if (_v) {
156551  {
156552  int res = SWIG_AsVal_bool(argv[6], NULL);
156553  _v = SWIG_CheckState(res);
156554  }
156555  if (_v) {
156556  return _wrap_ConstraintLimit_SetSystemPointers__SWIG_0(self, args);
156557  }
156558  }
156559  }
156560  }
156561  }
156562  }
156563  }
156564  }
156565 
156566 fail:
156567  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintLimit_SetSystemPointers'.\n"
156568  " Possible C/C++ prototypes are:\n"
156569  " AnimatSim::Environment::ConstraintLimit::SetSystemPointers(Simulator *,Structure *,NeuralModule *,AnimatSim::Node *,float,bool)\n"
156570  " AnimatSim::Environment::ConstraintLimit::SetSystemPointers(Simulator *,Structure *,NeuralModule *,AnimatSim::Node *,bool)\n");
156571  return 0;
156572 }
156573 
156574 
156575 SWIGINTERN PyObject *_wrap_ConstraintLimit_VerifySystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
156576  PyObject *resultobj = 0;
156578  void *argp1 = 0 ;
156579  int res1 = 0 ;
156580  PyObject * obj0 = 0 ;
156581 
156582  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintLimit_VerifySystemPointers",&obj0)) SWIG_fail;
156583  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
156584  if (!SWIG_IsOK(res1)) {
156585  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_VerifySystemPointers" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
156586  }
156587  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
156588  {
156589  try {
156590  (arg1)->VerifySystemPointers();
156591  }
156592  catch(CStdErrorInfo oError)
156593  {
156594  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156595  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
156596  PyErr_SetString(PyExc_IndexError, strError.c_str());
156597  SWIG_fail;
156598  }
156599  catch(...)
156600  {
156601  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156602  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
156603  SWIG_fail;
156604  }
156605  }
156606  resultobj = SWIG_Py_Void();
156607  return resultobj;
156608 fail:
156609  return NULL;
156610 }
156611 
156612 
156613 SWIGINTERN PyObject *_wrap_ConstraintLimit_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
156614  PyObject *resultobj = 0;
156616  std::string *arg2 = 0 ;
156617  void *argp1 = 0 ;
156618  int res1 = 0 ;
156619  int res2 = SWIG_OLDOBJ ;
156620  PyObject * obj0 = 0 ;
156621  PyObject * obj1 = 0 ;
156622  float *result = 0 ;
156623 
156624  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintLimit_GetDataPointer",&obj0,&obj1)) SWIG_fail;
156625  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
156626  if (!SWIG_IsOK(res1)) {
156627  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
156628  }
156629  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
156630  {
156631  std::string *ptr = (std::string *)0;
156632  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
156633  if (!SWIG_IsOK(res2)) {
156634  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConstraintLimit_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
156635  }
156636  if (!ptr) {
156637  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintLimit_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
156638  }
156639  arg2 = ptr;
156640  }
156641  {
156642  try {
156643  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
156644  }
156645  catch(CStdErrorInfo oError)
156646  {
156647  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156648  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
156649  PyErr_SetString(PyExc_IndexError, strError.c_str());
156650  SWIG_fail;
156651  }
156652  catch(...)
156653  {
156654  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156655  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
156656  SWIG_fail;
156657  }
156658  }
156659  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
156660  if (SWIG_IsNewObj(res2)) delete arg2;
156661  return resultobj;
156662 fail:
156663  if (SWIG_IsNewObj(res2)) delete arg2;
156664  return NULL;
156665 }
156666 
156667 
156668 SWIGINTERN PyObject *_wrap_ConstraintLimit_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
156669  PyObject *resultobj = 0;
156671  std::string *arg2 = 0 ;
156672  std::string *arg3 = 0 ;
156673  bool arg4 ;
156674  void *argp1 = 0 ;
156675  int res1 = 0 ;
156676  int res2 = SWIG_OLDOBJ ;
156677  int res3 = SWIG_OLDOBJ ;
156678  bool val4 ;
156679  int ecode4 = 0 ;
156680  PyObject * obj0 = 0 ;
156681  PyObject * obj1 = 0 ;
156682  PyObject * obj2 = 0 ;
156683  PyObject * obj3 = 0 ;
156684  bool result;
156685 
156686  if (!PyArg_ParseTuple(args,(char *)"OOOO:ConstraintLimit_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
156687  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
156688  if (!SWIG_IsOK(res1)) {
156689  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
156690  }
156691  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
156692  {
156693  std::string *ptr = (std::string *)0;
156694  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
156695  if (!SWIG_IsOK(res2)) {
156696  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConstraintLimit_SetData" "', argument " "2"" of type '" "std::string const &""'");
156697  }
156698  if (!ptr) {
156699  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintLimit_SetData" "', argument " "2"" of type '" "std::string const &""'");
156700  }
156701  arg2 = ptr;
156702  }
156703  {
156704  std::string *ptr = (std::string *)0;
156705  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
156706  if (!SWIG_IsOK(res3)) {
156707  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstraintLimit_SetData" "', argument " "3"" of type '" "std::string const &""'");
156708  }
156709  if (!ptr) {
156710  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintLimit_SetData" "', argument " "3"" of type '" "std::string const &""'");
156711  }
156712  arg3 = ptr;
156713  }
156714  ecode4 = SWIG_AsVal_bool(obj3, &val4);
156715  if (!SWIG_IsOK(ecode4)) {
156716  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ConstraintLimit_SetData" "', argument " "4"" of type '" "bool""'");
156717  }
156718  arg4 = static_cast< bool >(val4);
156719  {
156720  try {
156721  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
156722  }
156723  catch(CStdErrorInfo oError)
156724  {
156725  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156726  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
156727  PyErr_SetString(PyExc_IndexError, strError.c_str());
156728  SWIG_fail;
156729  }
156730  catch(...)
156731  {
156732  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156733  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
156734  SWIG_fail;
156735  }
156736  }
156737  resultobj = SWIG_From_bool(static_cast< bool >(result));
156738  if (SWIG_IsNewObj(res2)) delete arg2;
156739  if (SWIG_IsNewObj(res3)) delete arg3;
156740  return resultobj;
156741 fail:
156742  if (SWIG_IsNewObj(res2)) delete arg2;
156743  if (SWIG_IsNewObj(res3)) delete arg3;
156744  return NULL;
156745 }
156746 
156747 
156748 SWIGINTERN PyObject *_wrap_ConstraintLimit_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
156749  PyObject *resultobj = 0;
156751  std::string *arg2 = 0 ;
156752  std::string *arg3 = 0 ;
156753  void *argp1 = 0 ;
156754  int res1 = 0 ;
156755  int res2 = SWIG_OLDOBJ ;
156756  int res3 = SWIG_OLDOBJ ;
156757  PyObject * obj0 = 0 ;
156758  PyObject * obj1 = 0 ;
156759  PyObject * obj2 = 0 ;
156760  bool result;
156761 
156762  if (!PyArg_ParseTuple(args,(char *)"OOO:ConstraintLimit_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
156763  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
156764  if (!SWIG_IsOK(res1)) {
156765  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
156766  }
156767  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
156768  {
156769  std::string *ptr = (std::string *)0;
156770  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
156771  if (!SWIG_IsOK(res2)) {
156772  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConstraintLimit_SetData" "', argument " "2"" of type '" "std::string const &""'");
156773  }
156774  if (!ptr) {
156775  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintLimit_SetData" "', argument " "2"" of type '" "std::string const &""'");
156776  }
156777  arg2 = ptr;
156778  }
156779  {
156780  std::string *ptr = (std::string *)0;
156781  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
156782  if (!SWIG_IsOK(res3)) {
156783  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstraintLimit_SetData" "', argument " "3"" of type '" "std::string const &""'");
156784  }
156785  if (!ptr) {
156786  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintLimit_SetData" "', argument " "3"" of type '" "std::string const &""'");
156787  }
156788  arg3 = ptr;
156789  }
156790  {
156791  try {
156792  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
156793  }
156794  catch(CStdErrorInfo oError)
156795  {
156796  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156797  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
156798  PyErr_SetString(PyExc_IndexError, strError.c_str());
156799  SWIG_fail;
156800  }
156801  catch(...)
156802  {
156803  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156804  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
156805  SWIG_fail;
156806  }
156807  }
156808  resultobj = SWIG_From_bool(static_cast< bool >(result));
156809  if (SWIG_IsNewObj(res2)) delete arg2;
156810  if (SWIG_IsNewObj(res3)) delete arg3;
156811  return resultobj;
156812 fail:
156813  if (SWIG_IsNewObj(res2)) delete arg2;
156814  if (SWIG_IsNewObj(res3)) delete arg3;
156815  return NULL;
156816 }
156817 
156818 
156819 SWIGINTERN PyObject *_wrap_ConstraintLimit_SetData(PyObject *self, PyObject *args) {
156820  int argc;
156821  PyObject *argv[5];
156822  int ii;
156823 
156824  if (!PyTuple_Check(args)) SWIG_fail;
156825  argc = args ? (int)PyObject_Length(args) : 0;
156826  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
156827  argv[ii] = PyTuple_GET_ITEM(args,ii);
156828  }
156829  if (argc == 3) {
156830  int _v;
156831  void *vptr = 0;
156832  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
156833  _v = SWIG_CheckState(res);
156834  if (_v) {
156835  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
156836  _v = SWIG_CheckState(res);
156837  if (_v) {
156838  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
156839  _v = SWIG_CheckState(res);
156840  if (_v) {
156841  return _wrap_ConstraintLimit_SetData__SWIG_1(self, args);
156842  }
156843  }
156844  }
156845  }
156846  if (argc == 4) {
156847  int _v;
156848  void *vptr = 0;
156849  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0);
156850  _v = SWIG_CheckState(res);
156851  if (_v) {
156852  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
156853  _v = SWIG_CheckState(res);
156854  if (_v) {
156855  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
156856  _v = SWIG_CheckState(res);
156857  if (_v) {
156858  {
156859  int res = SWIG_AsVal_bool(argv[3], NULL);
156860  _v = SWIG_CheckState(res);
156861  }
156862  if (_v) {
156863  return _wrap_ConstraintLimit_SetData__SWIG_0(self, args);
156864  }
156865  }
156866  }
156867  }
156868  }
156869 
156870 fail:
156871  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintLimit_SetData'.\n"
156872  " Possible C/C++ prototypes are:\n"
156873  " AnimatSim::Environment::ConstraintLimit::SetData(std::string const &,std::string const &,bool)\n"
156874  " AnimatSim::Environment::ConstraintLimit::SetData(std::string const &,std::string const &)\n");
156875  return 0;
156876 }
156877 
156878 
156879 SWIGINTERN PyObject *_wrap_ConstraintLimit_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
156880  PyObject *resultobj = 0;
156882  CStdPtrArray< TypeProperty > *arg2 = 0 ;
156883  void *argp1 = 0 ;
156884  int res1 = 0 ;
156885  void *argp2 = 0 ;
156886  int res2 = 0 ;
156887  PyObject * obj0 = 0 ;
156888  PyObject * obj1 = 0 ;
156889 
156890  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintLimit_QueryProperties",&obj0,&obj1)) SWIG_fail;
156891  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
156892  if (!SWIG_IsOK(res1)) {
156893  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
156894  }
156895  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
156896  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
156897  if (!SWIG_IsOK(res2)) {
156898  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConstraintLimit_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
156899  }
156900  if (!argp2) {
156901  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintLimit_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
156902  }
156903  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
156904  {
156905  try {
156906  (arg1)->QueryProperties(*arg2);
156907  }
156908  catch(CStdErrorInfo oError)
156909  {
156910  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156911  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
156912  PyErr_SetString(PyExc_IndexError, strError.c_str());
156913  SWIG_fail;
156914  }
156915  catch(...)
156916  {
156917  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156918  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
156919  SWIG_fail;
156920  }
156921  }
156922  resultobj = SWIG_Py_Void();
156923  return resultobj;
156924 fail:
156925  return NULL;
156926 }
156927 
156928 
156929 SWIGINTERN PyObject *_wrap_ConstraintLimit_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
156930  PyObject *resultobj = 0;
156932  CStdXml *arg2 = 0 ;
156933  std::string arg3 ;
156934  void *argp1 = 0 ;
156935  int res1 = 0 ;
156936  void *argp2 = 0 ;
156937  int res2 = 0 ;
156938  PyObject * obj0 = 0 ;
156939  PyObject * obj1 = 0 ;
156940  PyObject * obj2 = 0 ;
156941 
156942  if (!PyArg_ParseTuple(args,(char *)"OOO:ConstraintLimit_Load",&obj0,&obj1,&obj2)) SWIG_fail;
156943  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
156944  if (!SWIG_IsOK(res1)) {
156945  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_Load" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
156946  }
156947  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
156948  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
156949  if (!SWIG_IsOK(res2)) {
156950  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConstraintLimit_Load" "', argument " "2"" of type '" "CStdXml &""'");
156951  }
156952  if (!argp2) {
156953  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintLimit_Load" "', argument " "2"" of type '" "CStdXml &""'");
156954  }
156955  arg2 = reinterpret_cast< CStdXml * >(argp2);
156956  {
156957  std::string *ptr = (std::string *)0;
156958  int res = SWIG_AsPtr_std_string(obj2, &ptr);
156959  if (!SWIG_IsOK(res) || !ptr) {
156960  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ConstraintLimit_Load" "', argument " "3"" of type '" "std::string""'");
156961  }
156962  arg3 = *ptr;
156963  if (SWIG_IsNewObj(res)) delete ptr;
156964  }
156965  {
156966  try {
156967  (arg1)->Load(*arg2,arg3);
156968  }
156969  catch(CStdErrorInfo oError)
156970  {
156971  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156972  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
156973  PyErr_SetString(PyExc_IndexError, strError.c_str());
156974  SWIG_fail;
156975  }
156976  catch(...)
156977  {
156978  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
156979  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
156980  SWIG_fail;
156981  }
156982  }
156983  resultobj = SWIG_Py_Void();
156984  return resultobj;
156985 fail:
156986  return NULL;
156987 }
156988 
156989 
156990 SWIGINTERN PyObject *_wrap_ConstraintLimit_SetupGraphics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
156991  PyObject *resultobj = 0;
156993  void *argp1 = 0 ;
156994  int res1 = 0 ;
156995  PyObject * obj0 = 0 ;
156996 
156997  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintLimit_SetupGraphics",&obj0)) SWIG_fail;
156998  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
156999  if (!SWIG_IsOK(res1)) {
157000  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_SetupGraphics" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
157001  }
157002  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
157003  {
157004  try {
157005  (arg1)->SetupGraphics();
157006  }
157007  catch(CStdErrorInfo oError)
157008  {
157009  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157010  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157011  PyErr_SetString(PyExc_IndexError, strError.c_str());
157012  SWIG_fail;
157013  }
157014  catch(...)
157015  {
157016  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157017  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157018  SWIG_fail;
157019  }
157020  }
157021  resultobj = SWIG_Py_Void();
157022  return resultobj;
157023 fail:
157024  return NULL;
157025 }
157026 
157027 
157028 SWIGINTERN PyObject *_wrap_ConstraintLimit_DeleteGraphics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157029  PyObject *resultobj = 0;
157031  void *argp1 = 0 ;
157032  int res1 = 0 ;
157033  PyObject * obj0 = 0 ;
157034 
157035  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintLimit_DeleteGraphics",&obj0)) SWIG_fail;
157036  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
157037  if (!SWIG_IsOK(res1)) {
157038  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintLimit_DeleteGraphics" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintLimit *""'");
157039  }
157040  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintLimit * >(argp1);
157041  {
157042  try {
157043  (arg1)->DeleteGraphics();
157044  }
157045  catch(CStdErrorInfo oError)
157046  {
157047  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157048  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157049  PyErr_SetString(PyExc_IndexError, strError.c_str());
157050  SWIG_fail;
157051  }
157052  catch(...)
157053  {
157054  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157055  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157056  SWIG_fail;
157057  }
157058  }
157059  resultobj = SWIG_Py_Void();
157060  return resultobj;
157061 fail:
157062  return NULL;
157063 }
157064 
157065 
157066 SWIGINTERN PyObject *ConstraintLimit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157067  PyObject *obj;
157068  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
157069  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, SWIG_NewClientData(obj));
157070  return SWIG_Py_Void();
157071 }
157072 
157073 SWIGINTERN PyObject *_wrap_delete_ConstraintRelaxation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157074  PyObject *resultobj = 0;
157076  void *argp1 = 0 ;
157077  int res1 = 0 ;
157078  PyObject * obj0 = 0 ;
157079 
157080  if (!PyArg_ParseTuple(args,(char *)"O:delete_ConstraintRelaxation",&obj0)) SWIG_fail;
157081  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, SWIG_POINTER_DISOWN | 0 );
157082  if (!SWIG_IsOK(res1)) {
157083  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ConstraintRelaxation" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
157084  }
157085  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
157086  {
157087  try {
157088  delete arg1;
157089  }
157090  catch(CStdErrorInfo oError)
157091  {
157092  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157093  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157094  PyErr_SetString(PyExc_IndexError, strError.c_str());
157095  SWIG_fail;
157096  }
157097  catch(...)
157098  {
157099  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157100  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157101  SWIG_fail;
157102  }
157103  }
157104  resultobj = SWIG_Py_Void();
157105  return resultobj;
157106 fail:
157107  return NULL;
157108 }
157109 
157110 
157111 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157112  PyObject *resultobj = 0;
157114  void *argp1 = 0 ;
157115  int res1 = 0 ;
157116  PyObject * obj0 = 0 ;
157118 
157119  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintRelaxation_CastToDerived",&obj0)) SWIG_fail;
157120  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
157121  if (!SWIG_IsOK(res1)) {
157122  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
157123  }
157124  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
157125  {
157126  try {
157127  result = (AnimatSim::Environment::ConstraintRelaxation *)AnimatSim::Environment::ConstraintRelaxation::CastToDerived(arg1);
157128  }
157129  catch(CStdErrorInfo oError)
157130  {
157131  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157132  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157133  PyErr_SetString(PyExc_IndexError, strError.c_str());
157134  SWIG_fail;
157135  }
157136  catch(...)
157137  {
157138  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157139  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157140  SWIG_fail;
157141  }
157142  }
157143  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
157144  return resultobj;
157145 fail:
157146  return NULL;
157147 }
157148 
157149 
157150 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_CoordinateID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157151  PyObject *resultobj = 0;
157153  void *argp1 = 0 ;
157154  int res1 = 0 ;
157155  PyObject * obj0 = 0 ;
157156  int result;
157157 
157158  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintRelaxation_CoordinateID",&obj0)) SWIG_fail;
157159  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
157160  if (!SWIG_IsOK(res1)) {
157161  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_CoordinateID" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
157162  }
157163  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
157164  {
157165  try {
157166  result = (int)(arg1)->CoordinateID();
157167  }
157168  catch(CStdErrorInfo oError)
157169  {
157170  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157171  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157172  PyErr_SetString(PyExc_IndexError, strError.c_str());
157173  SWIG_fail;
157174  }
157175  catch(...)
157176  {
157177  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157178  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157179  SWIG_fail;
157180  }
157181  }
157182  resultobj = SWIG_From_int(static_cast< int >(result));
157183  return resultobj;
157184 fail:
157185  return NULL;
157186 }
157187 
157188 
157189 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_CoordinateID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157190  PyObject *resultobj = 0;
157192  int arg2 ;
157193  void *argp1 = 0 ;
157194  int res1 = 0 ;
157195  int val2 ;
157196  int ecode2 = 0 ;
157197  PyObject * obj0 = 0 ;
157198  PyObject * obj1 = 0 ;
157199 
157200  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintRelaxation_CoordinateID",&obj0,&obj1)) SWIG_fail;
157201  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
157202  if (!SWIG_IsOK(res1)) {
157203  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_CoordinateID" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
157204  }
157205  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
157206  ecode2 = SWIG_AsVal_int(obj1, &val2);
157207  if (!SWIG_IsOK(ecode2)) {
157208  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintRelaxation_CoordinateID" "', argument " "2"" of type '" "int""'");
157209  }
157210  arg2 = static_cast< int >(val2);
157211  {
157212  try {
157213  (arg1)->CoordinateID(arg2);
157214  }
157215  catch(CStdErrorInfo oError)
157216  {
157217  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157218  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157219  PyErr_SetString(PyExc_IndexError, strError.c_str());
157220  SWIG_fail;
157221  }
157222  catch(...)
157223  {
157224  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157225  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157226  SWIG_fail;
157227  }
157228  }
157229  resultobj = SWIG_Py_Void();
157230  return resultobj;
157231 fail:
157232  return NULL;
157233 }
157234 
157235 
157236 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_CoordinateID(PyObject *self, PyObject *args) {
157237  int argc;
157238  PyObject *argv[3];
157239  int ii;
157240 
157241  if (!PyTuple_Check(args)) SWIG_fail;
157242  argc = args ? (int)PyObject_Length(args) : 0;
157243  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
157244  argv[ii] = PyTuple_GET_ITEM(args,ii);
157245  }
157246  if (argc == 1) {
157247  int _v;
157248  void *vptr = 0;
157249  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
157250  _v = SWIG_CheckState(res);
157251  if (_v) {
157252  return _wrap_ConstraintRelaxation_CoordinateID__SWIG_0(self, args);
157253  }
157254  }
157255  if (argc == 2) {
157256  int _v;
157257  void *vptr = 0;
157258  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
157259  _v = SWIG_CheckState(res);
157260  if (_v) {
157261  {
157262  int res = SWIG_AsVal_int(argv[1], NULL);
157263  _v = SWIG_CheckState(res);
157264  }
157265  if (_v) {
157266  return _wrap_ConstraintRelaxation_CoordinateID__SWIG_1(self, args);
157267  }
157268  }
157269  }
157270 
157271 fail:
157272  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintRelaxation_CoordinateID'.\n"
157273  " Possible C/C++ prototypes are:\n"
157274  " AnimatSim::Environment::ConstraintRelaxation::CoordinateID()\n"
157275  " AnimatSim::Environment::ConstraintRelaxation::CoordinateID(int)\n");
157276  return 0;
157277 }
157278 
157279 
157280 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_Enabled__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157281  PyObject *resultobj = 0;
157283  void *argp1 = 0 ;
157284  int res1 = 0 ;
157285  PyObject * obj0 = 0 ;
157286  bool result;
157287 
157288  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintRelaxation_Enabled",&obj0)) SWIG_fail;
157289  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
157290  if (!SWIG_IsOK(res1)) {
157291  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_Enabled" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
157292  }
157293  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
157294  {
157295  try {
157296  result = (bool)(arg1)->Enabled();
157297  }
157298  catch(CStdErrorInfo oError)
157299  {
157300  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157301  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157302  PyErr_SetString(PyExc_IndexError, strError.c_str());
157303  SWIG_fail;
157304  }
157305  catch(...)
157306  {
157307  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157308  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157309  SWIG_fail;
157310  }
157311  }
157312  resultobj = SWIG_From_bool(static_cast< bool >(result));
157313  return resultobj;
157314 fail:
157315  return NULL;
157316 }
157317 
157318 
157319 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_Enabled__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157320  PyObject *resultobj = 0;
157322  bool arg2 ;
157323  void *argp1 = 0 ;
157324  int res1 = 0 ;
157325  bool val2 ;
157326  int ecode2 = 0 ;
157327  PyObject * obj0 = 0 ;
157328  PyObject * obj1 = 0 ;
157329 
157330  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintRelaxation_Enabled",&obj0,&obj1)) SWIG_fail;
157331  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
157332  if (!SWIG_IsOK(res1)) {
157333  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_Enabled" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
157334  }
157335  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
157336  ecode2 = SWIG_AsVal_bool(obj1, &val2);
157337  if (!SWIG_IsOK(ecode2)) {
157338  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintRelaxation_Enabled" "', argument " "2"" of type '" "bool""'");
157339  }
157340  arg2 = static_cast< bool >(val2);
157341  {
157342  try {
157343  (arg1)->Enabled(arg2);
157344  }
157345  catch(CStdErrorInfo oError)
157346  {
157347  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157348  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157349  PyErr_SetString(PyExc_IndexError, strError.c_str());
157350  SWIG_fail;
157351  }
157352  catch(...)
157353  {
157354  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157355  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157356  SWIG_fail;
157357  }
157358  }
157359  resultobj = SWIG_Py_Void();
157360  return resultobj;
157361 fail:
157362  return NULL;
157363 }
157364 
157365 
157366 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_Enabled(PyObject *self, PyObject *args) {
157367  int argc;
157368  PyObject *argv[3];
157369  int ii;
157370 
157371  if (!PyTuple_Check(args)) SWIG_fail;
157372  argc = args ? (int)PyObject_Length(args) : 0;
157373  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
157374  argv[ii] = PyTuple_GET_ITEM(args,ii);
157375  }
157376  if (argc == 1) {
157377  int _v;
157378  void *vptr = 0;
157379  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
157380  _v = SWIG_CheckState(res);
157381  if (_v) {
157382  return _wrap_ConstraintRelaxation_Enabled__SWIG_0(self, args);
157383  }
157384  }
157385  if (argc == 2) {
157386  int _v;
157387  void *vptr = 0;
157388  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
157389  _v = SWIG_CheckState(res);
157390  if (_v) {
157391  {
157392  int res = SWIG_AsVal_bool(argv[1], NULL);
157393  _v = SWIG_CheckState(res);
157394  }
157395  if (_v) {
157396  return _wrap_ConstraintRelaxation_Enabled__SWIG_1(self, args);
157397  }
157398  }
157399  }
157400 
157401 fail:
157402  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintRelaxation_Enabled'.\n"
157403  " Possible C/C++ prototypes are:\n"
157404  " AnimatSim::Environment::ConstraintRelaxation::Enabled()\n"
157405  " AnimatSim::Environment::ConstraintRelaxation::Enabled(bool)\n");
157406  return 0;
157407 }
157408 
157409 
157410 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_Stiffness__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157411  PyObject *resultobj = 0;
157413  void *argp1 = 0 ;
157414  int res1 = 0 ;
157415  PyObject * obj0 = 0 ;
157416  float result;
157417 
157418  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintRelaxation_Stiffness",&obj0)) SWIG_fail;
157419  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
157420  if (!SWIG_IsOK(res1)) {
157421  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_Stiffness" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
157422  }
157423  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
157424  {
157425  try {
157426  result = (float)(arg1)->Stiffness();
157427  }
157428  catch(CStdErrorInfo oError)
157429  {
157430  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157431  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157432  PyErr_SetString(PyExc_IndexError, strError.c_str());
157433  SWIG_fail;
157434  }
157435  catch(...)
157436  {
157437  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157438  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157439  SWIG_fail;
157440  }
157441  }
157442  resultobj = SWIG_From_float(static_cast< float >(result));
157443  return resultobj;
157444 fail:
157445  return NULL;
157446 }
157447 
157448 
157449 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_Stiffness__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157450  PyObject *resultobj = 0;
157452  float arg2 ;
157453  bool arg3 ;
157454  void *argp1 = 0 ;
157455  int res1 = 0 ;
157456  float val2 ;
157457  int ecode2 = 0 ;
157458  bool val3 ;
157459  int ecode3 = 0 ;
157460  PyObject * obj0 = 0 ;
157461  PyObject * obj1 = 0 ;
157462  PyObject * obj2 = 0 ;
157463 
157464  if (!PyArg_ParseTuple(args,(char *)"OOO:ConstraintRelaxation_Stiffness",&obj0,&obj1,&obj2)) SWIG_fail;
157465  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
157466  if (!SWIG_IsOK(res1)) {
157467  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_Stiffness" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
157468  }
157469  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
157470  ecode2 = SWIG_AsVal_float(obj1, &val2);
157471  if (!SWIG_IsOK(ecode2)) {
157472  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintRelaxation_Stiffness" "', argument " "2"" of type '" "float""'");
157473  }
157474  arg2 = static_cast< float >(val2);
157475  ecode3 = SWIG_AsVal_bool(obj2, &val3);
157476  if (!SWIG_IsOK(ecode3)) {
157477  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ConstraintRelaxation_Stiffness" "', argument " "3"" of type '" "bool""'");
157478  }
157479  arg3 = static_cast< bool >(val3);
157480  {
157481  try {
157482  (arg1)->Stiffness(arg2,arg3);
157483  }
157484  catch(CStdErrorInfo oError)
157485  {
157486  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157487  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157488  PyErr_SetString(PyExc_IndexError, strError.c_str());
157489  SWIG_fail;
157490  }
157491  catch(...)
157492  {
157493  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157494  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157495  SWIG_fail;
157496  }
157497  }
157498  resultobj = SWIG_Py_Void();
157499  return resultobj;
157500 fail:
157501  return NULL;
157502 }
157503 
157504 
157505 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_Stiffness__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157506  PyObject *resultobj = 0;
157508  float arg2 ;
157509  void *argp1 = 0 ;
157510  int res1 = 0 ;
157511  float val2 ;
157512  int ecode2 = 0 ;
157513  PyObject * obj0 = 0 ;
157514  PyObject * obj1 = 0 ;
157515 
157516  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintRelaxation_Stiffness",&obj0,&obj1)) SWIG_fail;
157517  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
157518  if (!SWIG_IsOK(res1)) {
157519  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_Stiffness" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
157520  }
157521  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
157522  ecode2 = SWIG_AsVal_float(obj1, &val2);
157523  if (!SWIG_IsOK(ecode2)) {
157524  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintRelaxation_Stiffness" "', argument " "2"" of type '" "float""'");
157525  }
157526  arg2 = static_cast< float >(val2);
157527  {
157528  try {
157529  (arg1)->Stiffness(arg2);
157530  }
157531  catch(CStdErrorInfo oError)
157532  {
157533  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157534  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157535  PyErr_SetString(PyExc_IndexError, strError.c_str());
157536  SWIG_fail;
157537  }
157538  catch(...)
157539  {
157540  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157541  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157542  SWIG_fail;
157543  }
157544  }
157545  resultobj = SWIG_Py_Void();
157546  return resultobj;
157547 fail:
157548  return NULL;
157549 }
157550 
157551 
157552 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_Stiffness(PyObject *self, PyObject *args) {
157553  int argc;
157554  PyObject *argv[4];
157555  int ii;
157556 
157557  if (!PyTuple_Check(args)) SWIG_fail;
157558  argc = args ? (int)PyObject_Length(args) : 0;
157559  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
157560  argv[ii] = PyTuple_GET_ITEM(args,ii);
157561  }
157562  if (argc == 1) {
157563  int _v;
157564  void *vptr = 0;
157565  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
157566  _v = SWIG_CheckState(res);
157567  if (_v) {
157568  return _wrap_ConstraintRelaxation_Stiffness__SWIG_0(self, args);
157569  }
157570  }
157571  if (argc == 2) {
157572  int _v;
157573  void *vptr = 0;
157574  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
157575  _v = SWIG_CheckState(res);
157576  if (_v) {
157577  {
157578  int res = SWIG_AsVal_float(argv[1], NULL);
157579  _v = SWIG_CheckState(res);
157580  }
157581  if (_v) {
157582  return _wrap_ConstraintRelaxation_Stiffness__SWIG_2(self, args);
157583  }
157584  }
157585  }
157586  if (argc == 3) {
157587  int _v;
157588  void *vptr = 0;
157589  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
157590  _v = SWIG_CheckState(res);
157591  if (_v) {
157592  {
157593  int res = SWIG_AsVal_float(argv[1], NULL);
157594  _v = SWIG_CheckState(res);
157595  }
157596  if (_v) {
157597  {
157598  int res = SWIG_AsVal_bool(argv[2], NULL);
157599  _v = SWIG_CheckState(res);
157600  }
157601  if (_v) {
157602  return _wrap_ConstraintRelaxation_Stiffness__SWIG_1(self, args);
157603  }
157604  }
157605  }
157606  }
157607 
157608 fail:
157609  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintRelaxation_Stiffness'.\n"
157610  " Possible C/C++ prototypes are:\n"
157611  " AnimatSim::Environment::ConstraintRelaxation::Stiffness()\n"
157612  " AnimatSim::Environment::ConstraintRelaxation::Stiffness(float,bool)\n"
157613  " AnimatSim::Environment::ConstraintRelaxation::Stiffness(float)\n");
157614  return 0;
157615 }
157616 
157617 
157618 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_Damping__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157619  PyObject *resultobj = 0;
157621  void *argp1 = 0 ;
157622  int res1 = 0 ;
157623  PyObject * obj0 = 0 ;
157624  float result;
157625 
157626  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintRelaxation_Damping",&obj0)) SWIG_fail;
157627  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
157628  if (!SWIG_IsOK(res1)) {
157629  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_Damping" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
157630  }
157631  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
157632  {
157633  try {
157634  result = (float)(arg1)->Damping();
157635  }
157636  catch(CStdErrorInfo oError)
157637  {
157638  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157639  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157640  PyErr_SetString(PyExc_IndexError, strError.c_str());
157641  SWIG_fail;
157642  }
157643  catch(...)
157644  {
157645  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157646  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157647  SWIG_fail;
157648  }
157649  }
157650  resultobj = SWIG_From_float(static_cast< float >(result));
157651  return resultobj;
157652 fail:
157653  return NULL;
157654 }
157655 
157656 
157657 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_Damping__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157658  PyObject *resultobj = 0;
157660  float arg2 ;
157661  bool arg3 ;
157662  void *argp1 = 0 ;
157663  int res1 = 0 ;
157664  float val2 ;
157665  int ecode2 = 0 ;
157666  bool val3 ;
157667  int ecode3 = 0 ;
157668  PyObject * obj0 = 0 ;
157669  PyObject * obj1 = 0 ;
157670  PyObject * obj2 = 0 ;
157671 
157672  if (!PyArg_ParseTuple(args,(char *)"OOO:ConstraintRelaxation_Damping",&obj0,&obj1,&obj2)) SWIG_fail;
157673  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
157674  if (!SWIG_IsOK(res1)) {
157675  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_Damping" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
157676  }
157677  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
157678  ecode2 = SWIG_AsVal_float(obj1, &val2);
157679  if (!SWIG_IsOK(ecode2)) {
157680  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintRelaxation_Damping" "', argument " "2"" of type '" "float""'");
157681  }
157682  arg2 = static_cast< float >(val2);
157683  ecode3 = SWIG_AsVal_bool(obj2, &val3);
157684  if (!SWIG_IsOK(ecode3)) {
157685  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ConstraintRelaxation_Damping" "', argument " "3"" of type '" "bool""'");
157686  }
157687  arg3 = static_cast< bool >(val3);
157688  {
157689  try {
157690  (arg1)->Damping(arg2,arg3);
157691  }
157692  catch(CStdErrorInfo oError)
157693  {
157694  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157695  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157696  PyErr_SetString(PyExc_IndexError, strError.c_str());
157697  SWIG_fail;
157698  }
157699  catch(...)
157700  {
157701  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157702  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157703  SWIG_fail;
157704  }
157705  }
157706  resultobj = SWIG_Py_Void();
157707  return resultobj;
157708 fail:
157709  return NULL;
157710 }
157711 
157712 
157713 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_Damping__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157714  PyObject *resultobj = 0;
157716  float arg2 ;
157717  void *argp1 = 0 ;
157718  int res1 = 0 ;
157719  float val2 ;
157720  int ecode2 = 0 ;
157721  PyObject * obj0 = 0 ;
157722  PyObject * obj1 = 0 ;
157723 
157724  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintRelaxation_Damping",&obj0,&obj1)) SWIG_fail;
157725  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
157726  if (!SWIG_IsOK(res1)) {
157727  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_Damping" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
157728  }
157729  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
157730  ecode2 = SWIG_AsVal_float(obj1, &val2);
157731  if (!SWIG_IsOK(ecode2)) {
157732  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintRelaxation_Damping" "', argument " "2"" of type '" "float""'");
157733  }
157734  arg2 = static_cast< float >(val2);
157735  {
157736  try {
157737  (arg1)->Damping(arg2);
157738  }
157739  catch(CStdErrorInfo oError)
157740  {
157741  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157742  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157743  PyErr_SetString(PyExc_IndexError, strError.c_str());
157744  SWIG_fail;
157745  }
157746  catch(...)
157747  {
157748  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157749  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157750  SWIG_fail;
157751  }
157752  }
157753  resultobj = SWIG_Py_Void();
157754  return resultobj;
157755 fail:
157756  return NULL;
157757 }
157758 
157759 
157760 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_Damping(PyObject *self, PyObject *args) {
157761  int argc;
157762  PyObject *argv[4];
157763  int ii;
157764 
157765  if (!PyTuple_Check(args)) SWIG_fail;
157766  argc = args ? (int)PyObject_Length(args) : 0;
157767  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
157768  argv[ii] = PyTuple_GET_ITEM(args,ii);
157769  }
157770  if (argc == 1) {
157771  int _v;
157772  void *vptr = 0;
157773  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
157774  _v = SWIG_CheckState(res);
157775  if (_v) {
157776  return _wrap_ConstraintRelaxation_Damping__SWIG_0(self, args);
157777  }
157778  }
157779  if (argc == 2) {
157780  int _v;
157781  void *vptr = 0;
157782  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
157783  _v = SWIG_CheckState(res);
157784  if (_v) {
157785  {
157786  int res = SWIG_AsVal_float(argv[1], NULL);
157787  _v = SWIG_CheckState(res);
157788  }
157789  if (_v) {
157790  return _wrap_ConstraintRelaxation_Damping__SWIG_2(self, args);
157791  }
157792  }
157793  }
157794  if (argc == 3) {
157795  int _v;
157796  void *vptr = 0;
157797  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
157798  _v = SWIG_CheckState(res);
157799  if (_v) {
157800  {
157801  int res = SWIG_AsVal_float(argv[1], NULL);
157802  _v = SWIG_CheckState(res);
157803  }
157804  if (_v) {
157805  {
157806  int res = SWIG_AsVal_bool(argv[2], NULL);
157807  _v = SWIG_CheckState(res);
157808  }
157809  if (_v) {
157810  return _wrap_ConstraintRelaxation_Damping__SWIG_1(self, args);
157811  }
157812  }
157813  }
157814  }
157815 
157816 fail:
157817  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintRelaxation_Damping'.\n"
157818  " Possible C/C++ prototypes are:\n"
157819  " AnimatSim::Environment::ConstraintRelaxation::Damping()\n"
157820  " AnimatSim::Environment::ConstraintRelaxation::Damping(float,bool)\n"
157821  " AnimatSim::Environment::ConstraintRelaxation::Damping(float)\n");
157822  return 0;
157823 }
157824 
157825 
157826 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_CreateDefaultUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157827  PyObject *resultobj = 0;
157829  void *argp1 = 0 ;
157830  int res1 = 0 ;
157831  PyObject * obj0 = 0 ;
157832 
157833  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintRelaxation_CreateDefaultUnits",&obj0)) SWIG_fail;
157834  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
157835  if (!SWIG_IsOK(res1)) {
157836  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_CreateDefaultUnits" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
157837  }
157838  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
157839  {
157840  try {
157841  (arg1)->CreateDefaultUnits();
157842  }
157843  catch(CStdErrorInfo oError)
157844  {
157845  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157846  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157847  PyErr_SetString(PyExc_IndexError, strError.c_str());
157848  SWIG_fail;
157849  }
157850  catch(...)
157851  {
157852  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157853  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157854  SWIG_fail;
157855  }
157856  }
157857  resultobj = SWIG_Py_Void();
157858  return resultobj;
157859 fail:
157860  return NULL;
157861 }
157862 
157863 
157864 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157865  PyObject *resultobj = 0;
157867  std::string *arg2 = 0 ;
157868  std::string *arg3 = 0 ;
157869  bool arg4 ;
157870  void *argp1 = 0 ;
157871  int res1 = 0 ;
157872  int res2 = SWIG_OLDOBJ ;
157873  int res3 = SWIG_OLDOBJ ;
157874  bool val4 ;
157875  int ecode4 = 0 ;
157876  PyObject * obj0 = 0 ;
157877  PyObject * obj1 = 0 ;
157878  PyObject * obj2 = 0 ;
157879  PyObject * obj3 = 0 ;
157880  bool result;
157881 
157882  if (!PyArg_ParseTuple(args,(char *)"OOOO:ConstraintRelaxation_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
157883  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
157884  if (!SWIG_IsOK(res1)) {
157885  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
157886  }
157887  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
157888  {
157889  std::string *ptr = (std::string *)0;
157890  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
157891  if (!SWIG_IsOK(res2)) {
157892  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConstraintRelaxation_SetData" "', argument " "2"" of type '" "std::string const &""'");
157893  }
157894  if (!ptr) {
157895  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintRelaxation_SetData" "', argument " "2"" of type '" "std::string const &""'");
157896  }
157897  arg2 = ptr;
157898  }
157899  {
157900  std::string *ptr = (std::string *)0;
157901  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
157902  if (!SWIG_IsOK(res3)) {
157903  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstraintRelaxation_SetData" "', argument " "3"" of type '" "std::string const &""'");
157904  }
157905  if (!ptr) {
157906  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintRelaxation_SetData" "', argument " "3"" of type '" "std::string const &""'");
157907  }
157908  arg3 = ptr;
157909  }
157910  ecode4 = SWIG_AsVal_bool(obj3, &val4);
157911  if (!SWIG_IsOK(ecode4)) {
157912  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ConstraintRelaxation_SetData" "', argument " "4"" of type '" "bool""'");
157913  }
157914  arg4 = static_cast< bool >(val4);
157915  {
157916  try {
157917  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
157918  }
157919  catch(CStdErrorInfo oError)
157920  {
157921  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157922  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157923  PyErr_SetString(PyExc_IndexError, strError.c_str());
157924  SWIG_fail;
157925  }
157926  catch(...)
157927  {
157928  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157929  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
157930  SWIG_fail;
157931  }
157932  }
157933  resultobj = SWIG_From_bool(static_cast< bool >(result));
157934  if (SWIG_IsNewObj(res2)) delete arg2;
157935  if (SWIG_IsNewObj(res3)) delete arg3;
157936  return resultobj;
157937 fail:
157938  if (SWIG_IsNewObj(res2)) delete arg2;
157939  if (SWIG_IsNewObj(res3)) delete arg3;
157940  return NULL;
157941 }
157942 
157943 
157944 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
157945  PyObject *resultobj = 0;
157947  std::string *arg2 = 0 ;
157948  std::string *arg3 = 0 ;
157949  void *argp1 = 0 ;
157950  int res1 = 0 ;
157951  int res2 = SWIG_OLDOBJ ;
157952  int res3 = SWIG_OLDOBJ ;
157953  PyObject * obj0 = 0 ;
157954  PyObject * obj1 = 0 ;
157955  PyObject * obj2 = 0 ;
157956  bool result;
157957 
157958  if (!PyArg_ParseTuple(args,(char *)"OOO:ConstraintRelaxation_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
157959  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
157960  if (!SWIG_IsOK(res1)) {
157961  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
157962  }
157963  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
157964  {
157965  std::string *ptr = (std::string *)0;
157966  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
157967  if (!SWIG_IsOK(res2)) {
157968  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConstraintRelaxation_SetData" "', argument " "2"" of type '" "std::string const &""'");
157969  }
157970  if (!ptr) {
157971  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintRelaxation_SetData" "', argument " "2"" of type '" "std::string const &""'");
157972  }
157973  arg2 = ptr;
157974  }
157975  {
157976  std::string *ptr = (std::string *)0;
157977  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
157978  if (!SWIG_IsOK(res3)) {
157979  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstraintRelaxation_SetData" "', argument " "3"" of type '" "std::string const &""'");
157980  }
157981  if (!ptr) {
157982  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintRelaxation_SetData" "', argument " "3"" of type '" "std::string const &""'");
157983  }
157984  arg3 = ptr;
157985  }
157986  {
157987  try {
157988  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
157989  }
157990  catch(CStdErrorInfo oError)
157991  {
157992  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
157993  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
157994  PyErr_SetString(PyExc_IndexError, strError.c_str());
157995  SWIG_fail;
157996  }
157997  catch(...)
157998  {
157999  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158000  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158001  SWIG_fail;
158002  }
158003  }
158004  resultobj = SWIG_From_bool(static_cast< bool >(result));
158005  if (SWIG_IsNewObj(res2)) delete arg2;
158006  if (SWIG_IsNewObj(res3)) delete arg3;
158007  return resultobj;
158008 fail:
158009  if (SWIG_IsNewObj(res2)) delete arg2;
158010  if (SWIG_IsNewObj(res3)) delete arg3;
158011  return NULL;
158012 }
158013 
158014 
158015 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_SetData(PyObject *self, PyObject *args) {
158016  int argc;
158017  PyObject *argv[5];
158018  int ii;
158019 
158020  if (!PyTuple_Check(args)) SWIG_fail;
158021  argc = args ? (int)PyObject_Length(args) : 0;
158022  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
158023  argv[ii] = PyTuple_GET_ITEM(args,ii);
158024  }
158025  if (argc == 3) {
158026  int _v;
158027  void *vptr = 0;
158028  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
158029  _v = SWIG_CheckState(res);
158030  if (_v) {
158031  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
158032  _v = SWIG_CheckState(res);
158033  if (_v) {
158034  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
158035  _v = SWIG_CheckState(res);
158036  if (_v) {
158037  return _wrap_ConstraintRelaxation_SetData__SWIG_1(self, args);
158038  }
158039  }
158040  }
158041  }
158042  if (argc == 4) {
158043  int _v;
158044  void *vptr = 0;
158045  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
158046  _v = SWIG_CheckState(res);
158047  if (_v) {
158048  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
158049  _v = SWIG_CheckState(res);
158050  if (_v) {
158051  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
158052  _v = SWIG_CheckState(res);
158053  if (_v) {
158054  {
158055  int res = SWIG_AsVal_bool(argv[3], NULL);
158056  _v = SWIG_CheckState(res);
158057  }
158058  if (_v) {
158059  return _wrap_ConstraintRelaxation_SetData__SWIG_0(self, args);
158060  }
158061  }
158062  }
158063  }
158064  }
158065 
158066 fail:
158067  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintRelaxation_SetData'.\n"
158068  " Possible C/C++ prototypes are:\n"
158069  " AnimatSim::Environment::ConstraintRelaxation::SetData(std::string const &,std::string const &,bool)\n"
158070  " AnimatSim::Environment::ConstraintRelaxation::SetData(std::string const &,std::string const &)\n");
158071  return 0;
158072 }
158073 
158074 
158075 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158076  PyObject *resultobj = 0;
158078  CStdPtrArray< TypeProperty > *arg2 = 0 ;
158079  void *argp1 = 0 ;
158080  int res1 = 0 ;
158081  void *argp2 = 0 ;
158082  int res2 = 0 ;
158083  PyObject * obj0 = 0 ;
158084  PyObject * obj1 = 0 ;
158085 
158086  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintRelaxation_QueryProperties",&obj0,&obj1)) SWIG_fail;
158087  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
158088  if (!SWIG_IsOK(res1)) {
158089  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
158090  }
158091  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
158092  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
158093  if (!SWIG_IsOK(res2)) {
158094  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConstraintRelaxation_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
158095  }
158096  if (!argp2) {
158097  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintRelaxation_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
158098  }
158099  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
158100  {
158101  try {
158102  (arg1)->QueryProperties(*arg2);
158103  }
158104  catch(CStdErrorInfo oError)
158105  {
158106  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158107  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
158108  PyErr_SetString(PyExc_IndexError, strError.c_str());
158109  SWIG_fail;
158110  }
158111  catch(...)
158112  {
158113  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158114  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158115  SWIG_fail;
158116  }
158117  }
158118  resultobj = SWIG_Py_Void();
158119  return resultobj;
158120 fail:
158121  return NULL;
158122 }
158123 
158124 
158125 SWIGINTERN PyObject *_wrap_ConstraintRelaxation_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158126  PyObject *resultobj = 0;
158128  CStdXml *arg2 = 0 ;
158129  void *argp1 = 0 ;
158130  int res1 = 0 ;
158131  void *argp2 = 0 ;
158132  int res2 = 0 ;
158133  PyObject * obj0 = 0 ;
158134  PyObject * obj1 = 0 ;
158135 
158136  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintRelaxation_Load",&obj0,&obj1)) SWIG_fail;
158137  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
158138  if (!SWIG_IsOK(res1)) {
158139  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintRelaxation_Load" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
158140  }
158141  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp1);
158142  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
158143  if (!SWIG_IsOK(res2)) {
158144  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConstraintRelaxation_Load" "', argument " "2"" of type '" "CStdXml &""'");
158145  }
158146  if (!argp2) {
158147  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintRelaxation_Load" "', argument " "2"" of type '" "CStdXml &""'");
158148  }
158149  arg2 = reinterpret_cast< CStdXml * >(argp2);
158150  {
158151  try {
158152  (arg1)->Load(*arg2);
158153  }
158154  catch(CStdErrorInfo oError)
158155  {
158156  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158157  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
158158  PyErr_SetString(PyExc_IndexError, strError.c_str());
158159  SWIG_fail;
158160  }
158161  catch(...)
158162  {
158163  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158164  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158165  SWIG_fail;
158166  }
158167  }
158168  resultobj = SWIG_Py_Void();
158169  return resultobj;
158170 fail:
158171  return NULL;
158172 }
158173 
158174 
158175 SWIGINTERN PyObject *ConstraintRelaxation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158176  PyObject *obj;
158177  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
158178  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, SWIG_NewClientData(obj));
158179  return SWIG_Py_Void();
158180 }
158181 
158182 SWIGINTERN PyObject *_wrap_delete_ConstraintFriction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158183  PyObject *resultobj = 0;
158185  void *argp1 = 0 ;
158186  int res1 = 0 ;
158187  PyObject * obj0 = 0 ;
158188 
158189  if (!PyArg_ParseTuple(args,(char *)"O:delete_ConstraintFriction",&obj0)) SWIG_fail;
158190  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, SWIG_POINTER_DISOWN | 0 );
158191  if (!SWIG_IsOK(res1)) {
158192  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ConstraintFriction" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
158193  }
158194  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
158195  {
158196  try {
158197  delete arg1;
158198  }
158199  catch(CStdErrorInfo oError)
158200  {
158201  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158202  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
158203  PyErr_SetString(PyExc_IndexError, strError.c_str());
158204  SWIG_fail;
158205  }
158206  catch(...)
158207  {
158208  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158209  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158210  SWIG_fail;
158211  }
158212  }
158213  resultobj = SWIG_Py_Void();
158214  return resultobj;
158215 fail:
158216  return NULL;
158217 }
158218 
158219 
158220 SWIGINTERN PyObject *_wrap_ConstraintFriction_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158221  PyObject *resultobj = 0;
158223  void *argp1 = 0 ;
158224  int res1 = 0 ;
158225  PyObject * obj0 = 0 ;
158227 
158228  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintFriction_CastToDerived",&obj0)) SWIG_fail;
158229  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
158230  if (!SWIG_IsOK(res1)) {
158231  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
158232  }
158233  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
158234  {
158235  try {
158236  result = (AnimatSim::Environment::ConstraintFriction *)AnimatSim::Environment::ConstraintFriction::CastToDerived(arg1);
158237  }
158238  catch(CStdErrorInfo oError)
158239  {
158240  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158241  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
158242  PyErr_SetString(PyExc_IndexError, strError.c_str());
158243  SWIG_fail;
158244  }
158245  catch(...)
158246  {
158247  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158248  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158249  SWIG_fail;
158250  }
158251  }
158252  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
158253  return resultobj;
158254 fail:
158255  return NULL;
158256 }
158257 
158258 
158259 SWIGINTERN PyObject *_wrap_ConstraintFriction_Enabled__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158260  PyObject *resultobj = 0;
158262  void *argp1 = 0 ;
158263  int res1 = 0 ;
158264  PyObject * obj0 = 0 ;
158265  bool result;
158266 
158267  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintFriction_Enabled",&obj0)) SWIG_fail;
158268  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
158269  if (!SWIG_IsOK(res1)) {
158270  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_Enabled" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
158271  }
158272  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
158273  {
158274  try {
158275  result = (bool)(arg1)->Enabled();
158276  }
158277  catch(CStdErrorInfo oError)
158278  {
158279  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158280  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
158281  PyErr_SetString(PyExc_IndexError, strError.c_str());
158282  SWIG_fail;
158283  }
158284  catch(...)
158285  {
158286  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158287  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158288  SWIG_fail;
158289  }
158290  }
158291  resultobj = SWIG_From_bool(static_cast< bool >(result));
158292  return resultobj;
158293 fail:
158294  return NULL;
158295 }
158296 
158297 
158298 SWIGINTERN PyObject *_wrap_ConstraintFriction_Enabled__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158299  PyObject *resultobj = 0;
158301  bool arg2 ;
158302  void *argp1 = 0 ;
158303  int res1 = 0 ;
158304  bool val2 ;
158305  int ecode2 = 0 ;
158306  PyObject * obj0 = 0 ;
158307  PyObject * obj1 = 0 ;
158308 
158309  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintFriction_Enabled",&obj0,&obj1)) SWIG_fail;
158310  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
158311  if (!SWIG_IsOK(res1)) {
158312  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_Enabled" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
158313  }
158314  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
158315  ecode2 = SWIG_AsVal_bool(obj1, &val2);
158316  if (!SWIG_IsOK(ecode2)) {
158317  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintFriction_Enabled" "', argument " "2"" of type '" "bool""'");
158318  }
158319  arg2 = static_cast< bool >(val2);
158320  {
158321  try {
158322  (arg1)->Enabled(arg2);
158323  }
158324  catch(CStdErrorInfo oError)
158325  {
158326  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158327  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
158328  PyErr_SetString(PyExc_IndexError, strError.c_str());
158329  SWIG_fail;
158330  }
158331  catch(...)
158332  {
158333  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158334  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158335  SWIG_fail;
158336  }
158337  }
158338  resultobj = SWIG_Py_Void();
158339  return resultobj;
158340 fail:
158341  return NULL;
158342 }
158343 
158344 
158345 SWIGINTERN PyObject *_wrap_ConstraintFriction_Enabled(PyObject *self, PyObject *args) {
158346  int argc;
158347  PyObject *argv[3];
158348  int ii;
158349 
158350  if (!PyTuple_Check(args)) SWIG_fail;
158351  argc = args ? (int)PyObject_Length(args) : 0;
158352  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
158353  argv[ii] = PyTuple_GET_ITEM(args,ii);
158354  }
158355  if (argc == 1) {
158356  int _v;
158357  void *vptr = 0;
158358  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
158359  _v = SWIG_CheckState(res);
158360  if (_v) {
158361  return _wrap_ConstraintFriction_Enabled__SWIG_0(self, args);
158362  }
158363  }
158364  if (argc == 2) {
158365  int _v;
158366  void *vptr = 0;
158367  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
158368  _v = SWIG_CheckState(res);
158369  if (_v) {
158370  {
158371  int res = SWIG_AsVal_bool(argv[1], NULL);
158372  _v = SWIG_CheckState(res);
158373  }
158374  if (_v) {
158375  return _wrap_ConstraintFriction_Enabled__SWIG_1(self, args);
158376  }
158377  }
158378  }
158379 
158380 fail:
158381  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintFriction_Enabled'.\n"
158382  " Possible C/C++ prototypes are:\n"
158383  " AnimatSim::Environment::ConstraintFriction::Enabled()\n"
158384  " AnimatSim::Environment::ConstraintFriction::Enabled(bool)\n");
158385  return 0;
158386 }
158387 
158388 
158389 SWIGINTERN PyObject *_wrap_ConstraintFriction_Coefficient__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158390  PyObject *resultobj = 0;
158392  void *argp1 = 0 ;
158393  int res1 = 0 ;
158394  PyObject * obj0 = 0 ;
158395  float result;
158396 
158397  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintFriction_Coefficient",&obj0)) SWIG_fail;
158398  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
158399  if (!SWIG_IsOK(res1)) {
158400  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_Coefficient" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
158401  }
158402  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
158403  {
158404  try {
158405  result = (float)(arg1)->Coefficient();
158406  }
158407  catch(CStdErrorInfo oError)
158408  {
158409  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158410  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
158411  PyErr_SetString(PyExc_IndexError, strError.c_str());
158412  SWIG_fail;
158413  }
158414  catch(...)
158415  {
158416  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158417  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158418  SWIG_fail;
158419  }
158420  }
158421  resultobj = SWIG_From_float(static_cast< float >(result));
158422  return resultobj;
158423 fail:
158424  return NULL;
158425 }
158426 
158427 
158428 SWIGINTERN PyObject *_wrap_ConstraintFriction_Coefficient__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158429  PyObject *resultobj = 0;
158431  float arg2 ;
158432  void *argp1 = 0 ;
158433  int res1 = 0 ;
158434  float val2 ;
158435  int ecode2 = 0 ;
158436  PyObject * obj0 = 0 ;
158437  PyObject * obj1 = 0 ;
158438 
158439  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintFriction_Coefficient",&obj0,&obj1)) SWIG_fail;
158440  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
158441  if (!SWIG_IsOK(res1)) {
158442  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_Coefficient" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
158443  }
158444  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
158445  ecode2 = SWIG_AsVal_float(obj1, &val2);
158446  if (!SWIG_IsOK(ecode2)) {
158447  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintFriction_Coefficient" "', argument " "2"" of type '" "float""'");
158448  }
158449  arg2 = static_cast< float >(val2);
158450  {
158451  try {
158452  (arg1)->Coefficient(arg2);
158453  }
158454  catch(CStdErrorInfo oError)
158455  {
158456  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158457  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
158458  PyErr_SetString(PyExc_IndexError, strError.c_str());
158459  SWIG_fail;
158460  }
158461  catch(...)
158462  {
158463  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158464  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158465  SWIG_fail;
158466  }
158467  }
158468  resultobj = SWIG_Py_Void();
158469  return resultobj;
158470 fail:
158471  return NULL;
158472 }
158473 
158474 
158475 SWIGINTERN PyObject *_wrap_ConstraintFriction_Coefficient(PyObject *self, PyObject *args) {
158476  int argc;
158477  PyObject *argv[3];
158478  int ii;
158479 
158480  if (!PyTuple_Check(args)) SWIG_fail;
158481  argc = args ? (int)PyObject_Length(args) : 0;
158482  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
158483  argv[ii] = PyTuple_GET_ITEM(args,ii);
158484  }
158485  if (argc == 1) {
158486  int _v;
158487  void *vptr = 0;
158488  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
158489  _v = SWIG_CheckState(res);
158490  if (_v) {
158491  return _wrap_ConstraintFriction_Coefficient__SWIG_0(self, args);
158492  }
158493  }
158494  if (argc == 2) {
158495  int _v;
158496  void *vptr = 0;
158497  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
158498  _v = SWIG_CheckState(res);
158499  if (_v) {
158500  {
158501  int res = SWIG_AsVal_float(argv[1], NULL);
158502  _v = SWIG_CheckState(res);
158503  }
158504  if (_v) {
158505  return _wrap_ConstraintFriction_Coefficient__SWIG_1(self, args);
158506  }
158507  }
158508  }
158509 
158510 fail:
158511  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintFriction_Coefficient'.\n"
158512  " Possible C/C++ prototypes are:\n"
158513  " AnimatSim::Environment::ConstraintFriction::Coefficient()\n"
158514  " AnimatSim::Environment::ConstraintFriction::Coefficient(float)\n");
158515  return 0;
158516 }
158517 
158518 
158519 SWIGINTERN PyObject *_wrap_ConstraintFriction_MaxForce__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158520  PyObject *resultobj = 0;
158522  void *argp1 = 0 ;
158523  int res1 = 0 ;
158524  PyObject * obj0 = 0 ;
158525  float result;
158526 
158527  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintFriction_MaxForce",&obj0)) SWIG_fail;
158528  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
158529  if (!SWIG_IsOK(res1)) {
158530  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_MaxForce" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
158531  }
158532  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
158533  {
158534  try {
158535  result = (float)(arg1)->MaxForce();
158536  }
158537  catch(CStdErrorInfo oError)
158538  {
158539  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158540  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
158541  PyErr_SetString(PyExc_IndexError, strError.c_str());
158542  SWIG_fail;
158543  }
158544  catch(...)
158545  {
158546  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158547  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158548  SWIG_fail;
158549  }
158550  }
158551  resultobj = SWIG_From_float(static_cast< float >(result));
158552  return resultobj;
158553 fail:
158554  return NULL;
158555 }
158556 
158557 
158558 SWIGINTERN PyObject *_wrap_ConstraintFriction_MaxForce__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158559  PyObject *resultobj = 0;
158561  float arg2 ;
158562  bool arg3 ;
158563  void *argp1 = 0 ;
158564  int res1 = 0 ;
158565  float val2 ;
158566  int ecode2 = 0 ;
158567  bool val3 ;
158568  int ecode3 = 0 ;
158569  PyObject * obj0 = 0 ;
158570  PyObject * obj1 = 0 ;
158571  PyObject * obj2 = 0 ;
158572 
158573  if (!PyArg_ParseTuple(args,(char *)"OOO:ConstraintFriction_MaxForce",&obj0,&obj1,&obj2)) SWIG_fail;
158574  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
158575  if (!SWIG_IsOK(res1)) {
158576  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_MaxForce" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
158577  }
158578  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
158579  ecode2 = SWIG_AsVal_float(obj1, &val2);
158580  if (!SWIG_IsOK(ecode2)) {
158581  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintFriction_MaxForce" "', argument " "2"" of type '" "float""'");
158582  }
158583  arg2 = static_cast< float >(val2);
158584  ecode3 = SWIG_AsVal_bool(obj2, &val3);
158585  if (!SWIG_IsOK(ecode3)) {
158586  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ConstraintFriction_MaxForce" "', argument " "3"" of type '" "bool""'");
158587  }
158588  arg3 = static_cast< bool >(val3);
158589  {
158590  try {
158591  (arg1)->MaxForce(arg2,arg3);
158592  }
158593  catch(CStdErrorInfo oError)
158594  {
158595  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158596  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
158597  PyErr_SetString(PyExc_IndexError, strError.c_str());
158598  SWIG_fail;
158599  }
158600  catch(...)
158601  {
158602  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158603  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158604  SWIG_fail;
158605  }
158606  }
158607  resultobj = SWIG_Py_Void();
158608  return resultobj;
158609 fail:
158610  return NULL;
158611 }
158612 
158613 
158614 SWIGINTERN PyObject *_wrap_ConstraintFriction_MaxForce__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158615  PyObject *resultobj = 0;
158617  float arg2 ;
158618  void *argp1 = 0 ;
158619  int res1 = 0 ;
158620  float val2 ;
158621  int ecode2 = 0 ;
158622  PyObject * obj0 = 0 ;
158623  PyObject * obj1 = 0 ;
158624 
158625  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintFriction_MaxForce",&obj0,&obj1)) SWIG_fail;
158626  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
158627  if (!SWIG_IsOK(res1)) {
158628  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_MaxForce" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
158629  }
158630  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
158631  ecode2 = SWIG_AsVal_float(obj1, &val2);
158632  if (!SWIG_IsOK(ecode2)) {
158633  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintFriction_MaxForce" "', argument " "2"" of type '" "float""'");
158634  }
158635  arg2 = static_cast< float >(val2);
158636  {
158637  try {
158638  (arg1)->MaxForce(arg2);
158639  }
158640  catch(CStdErrorInfo oError)
158641  {
158642  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158643  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
158644  PyErr_SetString(PyExc_IndexError, strError.c_str());
158645  SWIG_fail;
158646  }
158647  catch(...)
158648  {
158649  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158650  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158651  SWIG_fail;
158652  }
158653  }
158654  resultobj = SWIG_Py_Void();
158655  return resultobj;
158656 fail:
158657  return NULL;
158658 }
158659 
158660 
158661 SWIGINTERN PyObject *_wrap_ConstraintFriction_MaxForce(PyObject *self, PyObject *args) {
158662  int argc;
158663  PyObject *argv[4];
158664  int ii;
158665 
158666  if (!PyTuple_Check(args)) SWIG_fail;
158667  argc = args ? (int)PyObject_Length(args) : 0;
158668  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
158669  argv[ii] = PyTuple_GET_ITEM(args,ii);
158670  }
158671  if (argc == 1) {
158672  int _v;
158673  void *vptr = 0;
158674  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
158675  _v = SWIG_CheckState(res);
158676  if (_v) {
158677  return _wrap_ConstraintFriction_MaxForce__SWIG_0(self, args);
158678  }
158679  }
158680  if (argc == 2) {
158681  int _v;
158682  void *vptr = 0;
158683  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
158684  _v = SWIG_CheckState(res);
158685  if (_v) {
158686  {
158687  int res = SWIG_AsVal_float(argv[1], NULL);
158688  _v = SWIG_CheckState(res);
158689  }
158690  if (_v) {
158691  return _wrap_ConstraintFriction_MaxForce__SWIG_2(self, args);
158692  }
158693  }
158694  }
158695  if (argc == 3) {
158696  int _v;
158697  void *vptr = 0;
158698  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
158699  _v = SWIG_CheckState(res);
158700  if (_v) {
158701  {
158702  int res = SWIG_AsVal_float(argv[1], NULL);
158703  _v = SWIG_CheckState(res);
158704  }
158705  if (_v) {
158706  {
158707  int res = SWIG_AsVal_bool(argv[2], NULL);
158708  _v = SWIG_CheckState(res);
158709  }
158710  if (_v) {
158711  return _wrap_ConstraintFriction_MaxForce__SWIG_1(self, args);
158712  }
158713  }
158714  }
158715  }
158716 
158717 fail:
158718  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintFriction_MaxForce'.\n"
158719  " Possible C/C++ prototypes are:\n"
158720  " AnimatSim::Environment::ConstraintFriction::MaxForce()\n"
158721  " AnimatSim::Environment::ConstraintFriction::MaxForce(float,bool)\n"
158722  " AnimatSim::Environment::ConstraintFriction::MaxForce(float)\n");
158723  return 0;
158724 }
158725 
158726 
158727 SWIGINTERN PyObject *_wrap_ConstraintFriction_Loss__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158728  PyObject *resultobj = 0;
158730  void *argp1 = 0 ;
158731  int res1 = 0 ;
158732  PyObject * obj0 = 0 ;
158733  float result;
158734 
158735  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintFriction_Loss",&obj0)) SWIG_fail;
158736  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
158737  if (!SWIG_IsOK(res1)) {
158738  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_Loss" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
158739  }
158740  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
158741  {
158742  try {
158743  result = (float)(arg1)->Loss();
158744  }
158745  catch(CStdErrorInfo oError)
158746  {
158747  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158748  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
158749  PyErr_SetString(PyExc_IndexError, strError.c_str());
158750  SWIG_fail;
158751  }
158752  catch(...)
158753  {
158754  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158755  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158756  SWIG_fail;
158757  }
158758  }
158759  resultobj = SWIG_From_float(static_cast< float >(result));
158760  return resultobj;
158761 fail:
158762  return NULL;
158763 }
158764 
158765 
158766 SWIGINTERN PyObject *_wrap_ConstraintFriction_Loss__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158767  PyObject *resultobj = 0;
158769  float arg2 ;
158770  bool arg3 ;
158771  void *argp1 = 0 ;
158772  int res1 = 0 ;
158773  float val2 ;
158774  int ecode2 = 0 ;
158775  bool val3 ;
158776  int ecode3 = 0 ;
158777  PyObject * obj0 = 0 ;
158778  PyObject * obj1 = 0 ;
158779  PyObject * obj2 = 0 ;
158780 
158781  if (!PyArg_ParseTuple(args,(char *)"OOO:ConstraintFriction_Loss",&obj0,&obj1,&obj2)) SWIG_fail;
158782  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
158783  if (!SWIG_IsOK(res1)) {
158784  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_Loss" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
158785  }
158786  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
158787  ecode2 = SWIG_AsVal_float(obj1, &val2);
158788  if (!SWIG_IsOK(ecode2)) {
158789  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintFriction_Loss" "', argument " "2"" of type '" "float""'");
158790  }
158791  arg2 = static_cast< float >(val2);
158792  ecode3 = SWIG_AsVal_bool(obj2, &val3);
158793  if (!SWIG_IsOK(ecode3)) {
158794  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ConstraintFriction_Loss" "', argument " "3"" of type '" "bool""'");
158795  }
158796  arg3 = static_cast< bool >(val3);
158797  {
158798  try {
158799  (arg1)->Loss(arg2,arg3);
158800  }
158801  catch(CStdErrorInfo oError)
158802  {
158803  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158804  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
158805  PyErr_SetString(PyExc_IndexError, strError.c_str());
158806  SWIG_fail;
158807  }
158808  catch(...)
158809  {
158810  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158811  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158812  SWIG_fail;
158813  }
158814  }
158815  resultobj = SWIG_Py_Void();
158816  return resultobj;
158817 fail:
158818  return NULL;
158819 }
158820 
158821 
158822 SWIGINTERN PyObject *_wrap_ConstraintFriction_Loss__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158823  PyObject *resultobj = 0;
158825  float arg2 ;
158826  void *argp1 = 0 ;
158827  int res1 = 0 ;
158828  float val2 ;
158829  int ecode2 = 0 ;
158830  PyObject * obj0 = 0 ;
158831  PyObject * obj1 = 0 ;
158832 
158833  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintFriction_Loss",&obj0,&obj1)) SWIG_fail;
158834  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
158835  if (!SWIG_IsOK(res1)) {
158836  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_Loss" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
158837  }
158838  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
158839  ecode2 = SWIG_AsVal_float(obj1, &val2);
158840  if (!SWIG_IsOK(ecode2)) {
158841  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintFriction_Loss" "', argument " "2"" of type '" "float""'");
158842  }
158843  arg2 = static_cast< float >(val2);
158844  {
158845  try {
158846  (arg1)->Loss(arg2);
158847  }
158848  catch(CStdErrorInfo oError)
158849  {
158850  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158851  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
158852  PyErr_SetString(PyExc_IndexError, strError.c_str());
158853  SWIG_fail;
158854  }
158855  catch(...)
158856  {
158857  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158858  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158859  SWIG_fail;
158860  }
158861  }
158862  resultobj = SWIG_Py_Void();
158863  return resultobj;
158864 fail:
158865  return NULL;
158866 }
158867 
158868 
158869 SWIGINTERN PyObject *_wrap_ConstraintFriction_Loss(PyObject *self, PyObject *args) {
158870  int argc;
158871  PyObject *argv[4];
158872  int ii;
158873 
158874  if (!PyTuple_Check(args)) SWIG_fail;
158875  argc = args ? (int)PyObject_Length(args) : 0;
158876  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
158877  argv[ii] = PyTuple_GET_ITEM(args,ii);
158878  }
158879  if (argc == 1) {
158880  int _v;
158881  void *vptr = 0;
158882  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
158883  _v = SWIG_CheckState(res);
158884  if (_v) {
158885  return _wrap_ConstraintFriction_Loss__SWIG_0(self, args);
158886  }
158887  }
158888  if (argc == 2) {
158889  int _v;
158890  void *vptr = 0;
158891  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
158892  _v = SWIG_CheckState(res);
158893  if (_v) {
158894  {
158895  int res = SWIG_AsVal_float(argv[1], NULL);
158896  _v = SWIG_CheckState(res);
158897  }
158898  if (_v) {
158899  return _wrap_ConstraintFriction_Loss__SWIG_2(self, args);
158900  }
158901  }
158902  }
158903  if (argc == 3) {
158904  int _v;
158905  void *vptr = 0;
158906  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
158907  _v = SWIG_CheckState(res);
158908  if (_v) {
158909  {
158910  int res = SWIG_AsVal_float(argv[1], NULL);
158911  _v = SWIG_CheckState(res);
158912  }
158913  if (_v) {
158914  {
158915  int res = SWIG_AsVal_bool(argv[2], NULL);
158916  _v = SWIG_CheckState(res);
158917  }
158918  if (_v) {
158919  return _wrap_ConstraintFriction_Loss__SWIG_1(self, args);
158920  }
158921  }
158922  }
158923  }
158924 
158925 fail:
158926  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintFriction_Loss'.\n"
158927  " Possible C/C++ prototypes are:\n"
158928  " AnimatSim::Environment::ConstraintFriction::Loss()\n"
158929  " AnimatSim::Environment::ConstraintFriction::Loss(float,bool)\n"
158930  " AnimatSim::Environment::ConstraintFriction::Loss(float)\n");
158931  return 0;
158932 }
158933 
158934 
158935 SWIGINTERN PyObject *_wrap_ConstraintFriction_Proportional__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158936  PyObject *resultobj = 0;
158938  void *argp1 = 0 ;
158939  int res1 = 0 ;
158940  PyObject * obj0 = 0 ;
158941  bool result;
158942 
158943  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintFriction_Proportional",&obj0)) SWIG_fail;
158944  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
158945  if (!SWIG_IsOK(res1)) {
158946  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_Proportional" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
158947  }
158948  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
158949  {
158950  try {
158951  result = (bool)(arg1)->Proportional();
158952  }
158953  catch(CStdErrorInfo oError)
158954  {
158955  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158956  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
158957  PyErr_SetString(PyExc_IndexError, strError.c_str());
158958  SWIG_fail;
158959  }
158960  catch(...)
158961  {
158962  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
158963  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
158964  SWIG_fail;
158965  }
158966  }
158967  resultobj = SWIG_From_bool(static_cast< bool >(result));
158968  return resultobj;
158969 fail:
158970  return NULL;
158971 }
158972 
158973 
158974 SWIGINTERN PyObject *_wrap_ConstraintFriction_Proportional__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
158975  PyObject *resultobj = 0;
158977  bool arg2 ;
158978  void *argp1 = 0 ;
158979  int res1 = 0 ;
158980  bool val2 ;
158981  int ecode2 = 0 ;
158982  PyObject * obj0 = 0 ;
158983  PyObject * obj1 = 0 ;
158984 
158985  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintFriction_Proportional",&obj0,&obj1)) SWIG_fail;
158986  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
158987  if (!SWIG_IsOK(res1)) {
158988  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_Proportional" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
158989  }
158990  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
158991  ecode2 = SWIG_AsVal_bool(obj1, &val2);
158992  if (!SWIG_IsOK(ecode2)) {
158993  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintFriction_Proportional" "', argument " "2"" of type '" "bool""'");
158994  }
158995  arg2 = static_cast< bool >(val2);
158996  {
158997  try {
158998  (arg1)->Proportional(arg2);
158999  }
159000  catch(CStdErrorInfo oError)
159001  {
159002  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159003  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159004  PyErr_SetString(PyExc_IndexError, strError.c_str());
159005  SWIG_fail;
159006  }
159007  catch(...)
159008  {
159009  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159010  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159011  SWIG_fail;
159012  }
159013  }
159014  resultobj = SWIG_Py_Void();
159015  return resultobj;
159016 fail:
159017  return NULL;
159018 }
159019 
159020 
159021 SWIGINTERN PyObject *_wrap_ConstraintFriction_Proportional(PyObject *self, PyObject *args) {
159022  int argc;
159023  PyObject *argv[3];
159024  int ii;
159025 
159026  if (!PyTuple_Check(args)) SWIG_fail;
159027  argc = args ? (int)PyObject_Length(args) : 0;
159028  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
159029  argv[ii] = PyTuple_GET_ITEM(args,ii);
159030  }
159031  if (argc == 1) {
159032  int _v;
159033  void *vptr = 0;
159034  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
159035  _v = SWIG_CheckState(res);
159036  if (_v) {
159037  return _wrap_ConstraintFriction_Proportional__SWIG_0(self, args);
159038  }
159039  }
159040  if (argc == 2) {
159041  int _v;
159042  void *vptr = 0;
159043  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
159044  _v = SWIG_CheckState(res);
159045  if (_v) {
159046  {
159047  int res = SWIG_AsVal_bool(argv[1], NULL);
159048  _v = SWIG_CheckState(res);
159049  }
159050  if (_v) {
159051  return _wrap_ConstraintFriction_Proportional__SWIG_1(self, args);
159052  }
159053  }
159054  }
159055 
159056 fail:
159057  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintFriction_Proportional'.\n"
159058  " Possible C/C++ prototypes are:\n"
159059  " AnimatSim::Environment::ConstraintFriction::Proportional()\n"
159060  " AnimatSim::Environment::ConstraintFriction::Proportional(bool)\n");
159061  return 0;
159062 }
159063 
159064 
159065 SWIGINTERN PyObject *_wrap_ConstraintFriction_StaticFrictionScale__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159066  PyObject *resultobj = 0;
159068  void *argp1 = 0 ;
159069  int res1 = 0 ;
159070  PyObject * obj0 = 0 ;
159071  float result;
159072 
159073  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintFriction_StaticFrictionScale",&obj0)) SWIG_fail;
159074  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
159075  if (!SWIG_IsOK(res1)) {
159076  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_StaticFrictionScale" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
159077  }
159078  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
159079  {
159080  try {
159081  result = (float)(arg1)->StaticFrictionScale();
159082  }
159083  catch(CStdErrorInfo oError)
159084  {
159085  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159086  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159087  PyErr_SetString(PyExc_IndexError, strError.c_str());
159088  SWIG_fail;
159089  }
159090  catch(...)
159091  {
159092  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159093  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159094  SWIG_fail;
159095  }
159096  }
159097  resultobj = SWIG_From_float(static_cast< float >(result));
159098  return resultobj;
159099 fail:
159100  return NULL;
159101 }
159102 
159103 
159104 SWIGINTERN PyObject *_wrap_ConstraintFriction_StaticFrictionScale__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159105  PyObject *resultobj = 0;
159107  float arg2 ;
159108  void *argp1 = 0 ;
159109  int res1 = 0 ;
159110  float val2 ;
159111  int ecode2 = 0 ;
159112  PyObject * obj0 = 0 ;
159113  PyObject * obj1 = 0 ;
159114 
159115  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintFriction_StaticFrictionScale",&obj0,&obj1)) SWIG_fail;
159116  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
159117  if (!SWIG_IsOK(res1)) {
159118  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_StaticFrictionScale" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
159119  }
159120  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
159121  ecode2 = SWIG_AsVal_float(obj1, &val2);
159122  if (!SWIG_IsOK(ecode2)) {
159123  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstraintFriction_StaticFrictionScale" "', argument " "2"" of type '" "float""'");
159124  }
159125  arg2 = static_cast< float >(val2);
159126  {
159127  try {
159128  (arg1)->StaticFrictionScale(arg2);
159129  }
159130  catch(CStdErrorInfo oError)
159131  {
159132  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159133  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159134  PyErr_SetString(PyExc_IndexError, strError.c_str());
159135  SWIG_fail;
159136  }
159137  catch(...)
159138  {
159139  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159140  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159141  SWIG_fail;
159142  }
159143  }
159144  resultobj = SWIG_Py_Void();
159145  return resultobj;
159146 fail:
159147  return NULL;
159148 }
159149 
159150 
159151 SWIGINTERN PyObject *_wrap_ConstraintFriction_StaticFrictionScale(PyObject *self, PyObject *args) {
159152  int argc;
159153  PyObject *argv[3];
159154  int ii;
159155 
159156  if (!PyTuple_Check(args)) SWIG_fail;
159157  argc = args ? (int)PyObject_Length(args) : 0;
159158  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
159159  argv[ii] = PyTuple_GET_ITEM(args,ii);
159160  }
159161  if (argc == 1) {
159162  int _v;
159163  void *vptr = 0;
159164  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
159165  _v = SWIG_CheckState(res);
159166  if (_v) {
159167  return _wrap_ConstraintFriction_StaticFrictionScale__SWIG_0(self, args);
159168  }
159169  }
159170  if (argc == 2) {
159171  int _v;
159172  void *vptr = 0;
159173  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
159174  _v = SWIG_CheckState(res);
159175  if (_v) {
159176  {
159177  int res = SWIG_AsVal_float(argv[1], NULL);
159178  _v = SWIG_CheckState(res);
159179  }
159180  if (_v) {
159181  return _wrap_ConstraintFriction_StaticFrictionScale__SWIG_1(self, args);
159182  }
159183  }
159184  }
159185 
159186 fail:
159187  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintFriction_StaticFrictionScale'.\n"
159188  " Possible C/C++ prototypes are:\n"
159189  " AnimatSim::Environment::ConstraintFriction::StaticFrictionScale()\n"
159190  " AnimatSim::Environment::ConstraintFriction::StaticFrictionScale(float)\n");
159191  return 0;
159192 }
159193 
159194 
159195 SWIGINTERN PyObject *_wrap_ConstraintFriction_CreateDefaultUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159196  PyObject *resultobj = 0;
159198  void *argp1 = 0 ;
159199  int res1 = 0 ;
159200  PyObject * obj0 = 0 ;
159201 
159202  if (!PyArg_ParseTuple(args,(char *)"O:ConstraintFriction_CreateDefaultUnits",&obj0)) SWIG_fail;
159203  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
159204  if (!SWIG_IsOK(res1)) {
159205  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_CreateDefaultUnits" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
159206  }
159207  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
159208  {
159209  try {
159210  (arg1)->CreateDefaultUnits();
159211  }
159212  catch(CStdErrorInfo oError)
159213  {
159214  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159215  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159216  PyErr_SetString(PyExc_IndexError, strError.c_str());
159217  SWIG_fail;
159218  }
159219  catch(...)
159220  {
159221  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159222  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159223  SWIG_fail;
159224  }
159225  }
159226  resultobj = SWIG_Py_Void();
159227  return resultobj;
159228 fail:
159229  return NULL;
159230 }
159231 
159232 
159233 SWIGINTERN PyObject *_wrap_ConstraintFriction_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159234  PyObject *resultobj = 0;
159236  std::string *arg2 = 0 ;
159237  std::string *arg3 = 0 ;
159238  bool arg4 ;
159239  void *argp1 = 0 ;
159240  int res1 = 0 ;
159241  int res2 = SWIG_OLDOBJ ;
159242  int res3 = SWIG_OLDOBJ ;
159243  bool val4 ;
159244  int ecode4 = 0 ;
159245  PyObject * obj0 = 0 ;
159246  PyObject * obj1 = 0 ;
159247  PyObject * obj2 = 0 ;
159248  PyObject * obj3 = 0 ;
159249  bool result;
159250 
159251  if (!PyArg_ParseTuple(args,(char *)"OOOO:ConstraintFriction_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
159252  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
159253  if (!SWIG_IsOK(res1)) {
159254  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
159255  }
159256  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
159257  {
159258  std::string *ptr = (std::string *)0;
159259  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
159260  if (!SWIG_IsOK(res2)) {
159261  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConstraintFriction_SetData" "', argument " "2"" of type '" "std::string const &""'");
159262  }
159263  if (!ptr) {
159264  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintFriction_SetData" "', argument " "2"" of type '" "std::string const &""'");
159265  }
159266  arg2 = ptr;
159267  }
159268  {
159269  std::string *ptr = (std::string *)0;
159270  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
159271  if (!SWIG_IsOK(res3)) {
159272  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstraintFriction_SetData" "', argument " "3"" of type '" "std::string const &""'");
159273  }
159274  if (!ptr) {
159275  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintFriction_SetData" "', argument " "3"" of type '" "std::string const &""'");
159276  }
159277  arg3 = ptr;
159278  }
159279  ecode4 = SWIG_AsVal_bool(obj3, &val4);
159280  if (!SWIG_IsOK(ecode4)) {
159281  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ConstraintFriction_SetData" "', argument " "4"" of type '" "bool""'");
159282  }
159283  arg4 = static_cast< bool >(val4);
159284  {
159285  try {
159286  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
159287  }
159288  catch(CStdErrorInfo oError)
159289  {
159290  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159291  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159292  PyErr_SetString(PyExc_IndexError, strError.c_str());
159293  SWIG_fail;
159294  }
159295  catch(...)
159296  {
159297  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159298  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159299  SWIG_fail;
159300  }
159301  }
159302  resultobj = SWIG_From_bool(static_cast< bool >(result));
159303  if (SWIG_IsNewObj(res2)) delete arg2;
159304  if (SWIG_IsNewObj(res3)) delete arg3;
159305  return resultobj;
159306 fail:
159307  if (SWIG_IsNewObj(res2)) delete arg2;
159308  if (SWIG_IsNewObj(res3)) delete arg3;
159309  return NULL;
159310 }
159311 
159312 
159313 SWIGINTERN PyObject *_wrap_ConstraintFriction_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159314  PyObject *resultobj = 0;
159316  std::string *arg2 = 0 ;
159317  std::string *arg3 = 0 ;
159318  void *argp1 = 0 ;
159319  int res1 = 0 ;
159320  int res2 = SWIG_OLDOBJ ;
159321  int res3 = SWIG_OLDOBJ ;
159322  PyObject * obj0 = 0 ;
159323  PyObject * obj1 = 0 ;
159324  PyObject * obj2 = 0 ;
159325  bool result;
159326 
159327  if (!PyArg_ParseTuple(args,(char *)"OOO:ConstraintFriction_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
159328  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
159329  if (!SWIG_IsOK(res1)) {
159330  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
159331  }
159332  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
159333  {
159334  std::string *ptr = (std::string *)0;
159335  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
159336  if (!SWIG_IsOK(res2)) {
159337  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConstraintFriction_SetData" "', argument " "2"" of type '" "std::string const &""'");
159338  }
159339  if (!ptr) {
159340  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintFriction_SetData" "', argument " "2"" of type '" "std::string const &""'");
159341  }
159342  arg2 = ptr;
159343  }
159344  {
159345  std::string *ptr = (std::string *)0;
159346  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
159347  if (!SWIG_IsOK(res3)) {
159348  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstraintFriction_SetData" "', argument " "3"" of type '" "std::string const &""'");
159349  }
159350  if (!ptr) {
159351  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintFriction_SetData" "', argument " "3"" of type '" "std::string const &""'");
159352  }
159353  arg3 = ptr;
159354  }
159355  {
159356  try {
159357  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
159358  }
159359  catch(CStdErrorInfo oError)
159360  {
159361  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159362  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159363  PyErr_SetString(PyExc_IndexError, strError.c_str());
159364  SWIG_fail;
159365  }
159366  catch(...)
159367  {
159368  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159369  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159370  SWIG_fail;
159371  }
159372  }
159373  resultobj = SWIG_From_bool(static_cast< bool >(result));
159374  if (SWIG_IsNewObj(res2)) delete arg2;
159375  if (SWIG_IsNewObj(res3)) delete arg3;
159376  return resultobj;
159377 fail:
159378  if (SWIG_IsNewObj(res2)) delete arg2;
159379  if (SWIG_IsNewObj(res3)) delete arg3;
159380  return NULL;
159381 }
159382 
159383 
159384 SWIGINTERN PyObject *_wrap_ConstraintFriction_SetData(PyObject *self, PyObject *args) {
159385  int argc;
159386  PyObject *argv[5];
159387  int ii;
159388 
159389  if (!PyTuple_Check(args)) SWIG_fail;
159390  argc = args ? (int)PyObject_Length(args) : 0;
159391  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
159392  argv[ii] = PyTuple_GET_ITEM(args,ii);
159393  }
159394  if (argc == 3) {
159395  int _v;
159396  void *vptr = 0;
159397  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
159398  _v = SWIG_CheckState(res);
159399  if (_v) {
159400  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
159401  _v = SWIG_CheckState(res);
159402  if (_v) {
159403  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
159404  _v = SWIG_CheckState(res);
159405  if (_v) {
159406  return _wrap_ConstraintFriction_SetData__SWIG_1(self, args);
159407  }
159408  }
159409  }
159410  }
159411  if (argc == 4) {
159412  int _v;
159413  void *vptr = 0;
159414  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
159415  _v = SWIG_CheckState(res);
159416  if (_v) {
159417  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
159418  _v = SWIG_CheckState(res);
159419  if (_v) {
159420  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
159421  _v = SWIG_CheckState(res);
159422  if (_v) {
159423  {
159424  int res = SWIG_AsVal_bool(argv[3], NULL);
159425  _v = SWIG_CheckState(res);
159426  }
159427  if (_v) {
159428  return _wrap_ConstraintFriction_SetData__SWIG_0(self, args);
159429  }
159430  }
159431  }
159432  }
159433  }
159434 
159435 fail:
159436  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ConstraintFriction_SetData'.\n"
159437  " Possible C/C++ prototypes are:\n"
159438  " AnimatSim::Environment::ConstraintFriction::SetData(std::string const &,std::string const &,bool)\n"
159439  " AnimatSim::Environment::ConstraintFriction::SetData(std::string const &,std::string const &)\n");
159440  return 0;
159441 }
159442 
159443 
159444 SWIGINTERN PyObject *_wrap_ConstraintFriction_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159445  PyObject *resultobj = 0;
159447  CStdPtrArray< TypeProperty > *arg2 = 0 ;
159448  void *argp1 = 0 ;
159449  int res1 = 0 ;
159450  void *argp2 = 0 ;
159451  int res2 = 0 ;
159452  PyObject * obj0 = 0 ;
159453  PyObject * obj1 = 0 ;
159454 
159455  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintFriction_QueryProperties",&obj0,&obj1)) SWIG_fail;
159456  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
159457  if (!SWIG_IsOK(res1)) {
159458  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
159459  }
159460  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
159461  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
159462  if (!SWIG_IsOK(res2)) {
159463  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConstraintFriction_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
159464  }
159465  if (!argp2) {
159466  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintFriction_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
159467  }
159468  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
159469  {
159470  try {
159471  (arg1)->QueryProperties(*arg2);
159472  }
159473  catch(CStdErrorInfo oError)
159474  {
159475  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159476  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159477  PyErr_SetString(PyExc_IndexError, strError.c_str());
159478  SWIG_fail;
159479  }
159480  catch(...)
159481  {
159482  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159483  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159484  SWIG_fail;
159485  }
159486  }
159487  resultobj = SWIG_Py_Void();
159488  return resultobj;
159489 fail:
159490  return NULL;
159491 }
159492 
159493 
159494 SWIGINTERN PyObject *_wrap_ConstraintFriction_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159495  PyObject *resultobj = 0;
159497  CStdXml *arg2 = 0 ;
159498  void *argp1 = 0 ;
159499  int res1 = 0 ;
159500  void *argp2 = 0 ;
159501  int res2 = 0 ;
159502  PyObject * obj0 = 0 ;
159503  PyObject * obj1 = 0 ;
159504 
159505  if (!PyArg_ParseTuple(args,(char *)"OO:ConstraintFriction_Load",&obj0,&obj1)) SWIG_fail;
159506  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
159507  if (!SWIG_IsOK(res1)) {
159508  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstraintFriction_Load" "', argument " "1"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
159509  }
159510  arg1 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp1);
159511  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
159512  if (!SWIG_IsOK(res2)) {
159513  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConstraintFriction_Load" "', argument " "2"" of type '" "CStdXml &""'");
159514  }
159515  if (!argp2) {
159516  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstraintFriction_Load" "', argument " "2"" of type '" "CStdXml &""'");
159517  }
159518  arg2 = reinterpret_cast< CStdXml * >(argp2);
159519  {
159520  try {
159521  (arg1)->Load(*arg2);
159522  }
159523  catch(CStdErrorInfo oError)
159524  {
159525  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159526  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159527  PyErr_SetString(PyExc_IndexError, strError.c_str());
159528  SWIG_fail;
159529  }
159530  catch(...)
159531  {
159532  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159533  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159534  SWIG_fail;
159535  }
159536  }
159537  resultobj = SWIG_Py_Void();
159538  return resultobj;
159539 fail:
159540  return NULL;
159541 }
159542 
159543 
159544 SWIGINTERN PyObject *ConstraintFriction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159545  PyObject *obj;
159546  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
159547  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, SWIG_NewClientData(obj));
159548  return SWIG_Py_Void();
159549 }
159550 
159551 SWIGINTERN PyObject *_wrap_new_Joint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159552  PyObject *resultobj = 0;
159553  AnimatSim::Environment::Joint *result = 0 ;
159554 
159555  if (!PyArg_ParseTuple(args,(char *)":new_Joint")) SWIG_fail;
159556  {
159557  try {
159559  }
159560  catch(CStdErrorInfo oError)
159561  {
159562  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159563  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159564  PyErr_SetString(PyExc_IndexError, strError.c_str());
159565  SWIG_fail;
159566  }
159567  catch(...)
159568  {
159569  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159570  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159571  SWIG_fail;
159572  }
159573  }
159574  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Joint, SWIG_POINTER_NEW | 0 );
159575  return resultobj;
159576 fail:
159577  return NULL;
159578 }
159579 
159580 
159581 SWIGINTERN PyObject *_wrap_delete_Joint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159582  PyObject *resultobj = 0;
159584  void *argp1 = 0 ;
159585  int res1 = 0 ;
159586  PyObject * obj0 = 0 ;
159587 
159588  if (!PyArg_ParseTuple(args,(char *)"O:delete_Joint",&obj0)) SWIG_fail;
159589  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, SWIG_POINTER_DISOWN | 0 );
159590  if (!SWIG_IsOK(res1)) {
159591  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Joint" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
159592  }
159593  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
159594  {
159595  try {
159596  delete arg1;
159597  }
159598  catch(CStdErrorInfo oError)
159599  {
159600  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159601  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159602  PyErr_SetString(PyExc_IndexError, strError.c_str());
159603  SWIG_fail;
159604  }
159605  catch(...)
159606  {
159607  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159608  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159609  SWIG_fail;
159610  }
159611  }
159612  resultobj = SWIG_Py_Void();
159613  return resultobj;
159614 fail:
159615  return NULL;
159616 }
159617 
159618 
159619 SWIGINTERN PyObject *_wrap_Joint_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159620  PyObject *resultobj = 0;
159622  void *argp1 = 0 ;
159623  int res1 = 0 ;
159624  PyObject * obj0 = 0 ;
159625  AnimatSim::Environment::Joint *result = 0 ;
159626 
159627  if (!PyArg_ParseTuple(args,(char *)"O:Joint_CastToDerived",&obj0)) SWIG_fail;
159628  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
159629  if (!SWIG_IsOK(res1)) {
159630  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
159631  }
159632  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
159633  {
159634  try {
159635  result = (AnimatSim::Environment::Joint *)AnimatSim::Environment::Joint::CastToDerived(arg1);
159636  }
159637  catch(CStdErrorInfo oError)
159638  {
159639  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159640  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159641  PyErr_SetString(PyExc_IndexError, strError.c_str());
159642  SWIG_fail;
159643  }
159644  catch(...)
159645  {
159646  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159647  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159648  SWIG_fail;
159649  }
159650  }
159651  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
159652  return resultobj;
159653 fail:
159654  return NULL;
159655 }
159656 
159657 
159658 SWIGINTERN PyObject *_wrap_Joint_UsesRadians(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159659  PyObject *resultobj = 0;
159661  void *argp1 = 0 ;
159662  int res1 = 0 ;
159663  PyObject * obj0 = 0 ;
159664  bool result;
159665 
159666  if (!PyArg_ParseTuple(args,(char *)"O:Joint_UsesRadians",&obj0)) SWIG_fail;
159667  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
159668  if (!SWIG_IsOK(res1)) {
159669  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_UsesRadians" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
159670  }
159671  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
159672  {
159673  try {
159674  result = (bool)(arg1)->UsesRadians();
159675  }
159676  catch(CStdErrorInfo oError)
159677  {
159678  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159679  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159680  PyErr_SetString(PyExc_IndexError, strError.c_str());
159681  SWIG_fail;
159682  }
159683  catch(...)
159684  {
159685  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159686  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159687  SWIG_fail;
159688  }
159689  }
159690  resultobj = SWIG_From_bool(static_cast< bool >(result));
159691  return resultobj;
159692 fail:
159693  return NULL;
159694 }
159695 
159696 
159697 SWIGINTERN PyObject *_wrap_Joint_Size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159698  PyObject *resultobj = 0;
159700  void *argp1 = 0 ;
159701  int res1 = 0 ;
159702  PyObject * obj0 = 0 ;
159703  float result;
159704 
159705  if (!PyArg_ParseTuple(args,(char *)"O:Joint_Size",&obj0)) SWIG_fail;
159706  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
159707  if (!SWIG_IsOK(res1)) {
159708  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Size" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
159709  }
159710  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
159711  {
159712  try {
159713  result = (float)(arg1)->Size();
159714  }
159715  catch(CStdErrorInfo oError)
159716  {
159717  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159718  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159719  PyErr_SetString(PyExc_IndexError, strError.c_str());
159720  SWIG_fail;
159721  }
159722  catch(...)
159723  {
159724  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159725  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159726  SWIG_fail;
159727  }
159728  }
159729  resultobj = SWIG_From_float(static_cast< float >(result));
159730  return resultobj;
159731 fail:
159732  return NULL;
159733 }
159734 
159735 
159736 SWIGINTERN PyObject *_wrap_Joint_Size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159737  PyObject *resultobj = 0;
159739  float arg2 ;
159740  bool arg3 ;
159741  void *argp1 = 0 ;
159742  int res1 = 0 ;
159743  float val2 ;
159744  int ecode2 = 0 ;
159745  bool val3 ;
159746  int ecode3 = 0 ;
159747  PyObject * obj0 = 0 ;
159748  PyObject * obj1 = 0 ;
159749  PyObject * obj2 = 0 ;
159750 
159751  if (!PyArg_ParseTuple(args,(char *)"OOO:Joint_Size",&obj0,&obj1,&obj2)) SWIG_fail;
159752  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
159753  if (!SWIG_IsOK(res1)) {
159754  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Size" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
159755  }
159756  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
159757  ecode2 = SWIG_AsVal_float(obj1, &val2);
159758  if (!SWIG_IsOK(ecode2)) {
159759  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Joint_Size" "', argument " "2"" of type '" "float""'");
159760  }
159761  arg2 = static_cast< float >(val2);
159762  ecode3 = SWIG_AsVal_bool(obj2, &val3);
159763  if (!SWIG_IsOK(ecode3)) {
159764  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Joint_Size" "', argument " "3"" of type '" "bool""'");
159765  }
159766  arg3 = static_cast< bool >(val3);
159767  {
159768  try {
159769  (arg1)->Size(arg2,arg3);
159770  }
159771  catch(CStdErrorInfo oError)
159772  {
159773  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159774  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159775  PyErr_SetString(PyExc_IndexError, strError.c_str());
159776  SWIG_fail;
159777  }
159778  catch(...)
159779  {
159780  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159781  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159782  SWIG_fail;
159783  }
159784  }
159785  resultobj = SWIG_Py_Void();
159786  return resultobj;
159787 fail:
159788  return NULL;
159789 }
159790 
159791 
159792 SWIGINTERN PyObject *_wrap_Joint_Size__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159793  PyObject *resultobj = 0;
159795  float arg2 ;
159796  void *argp1 = 0 ;
159797  int res1 = 0 ;
159798  float val2 ;
159799  int ecode2 = 0 ;
159800  PyObject * obj0 = 0 ;
159801  PyObject * obj1 = 0 ;
159802 
159803  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Size",&obj0,&obj1)) SWIG_fail;
159804  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
159805  if (!SWIG_IsOK(res1)) {
159806  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Size" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
159807  }
159808  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
159809  ecode2 = SWIG_AsVal_float(obj1, &val2);
159810  if (!SWIG_IsOK(ecode2)) {
159811  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Joint_Size" "', argument " "2"" of type '" "float""'");
159812  }
159813  arg2 = static_cast< float >(val2);
159814  {
159815  try {
159816  (arg1)->Size(arg2);
159817  }
159818  catch(CStdErrorInfo oError)
159819  {
159820  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159821  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159822  PyErr_SetString(PyExc_IndexError, strError.c_str());
159823  SWIG_fail;
159824  }
159825  catch(...)
159826  {
159827  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159828  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159829  SWIG_fail;
159830  }
159831  }
159832  resultobj = SWIG_Py_Void();
159833  return resultobj;
159834 fail:
159835  return NULL;
159836 }
159837 
159838 
159839 SWIGINTERN PyObject *_wrap_Joint_Size(PyObject *self, PyObject *args) {
159840  int argc;
159841  PyObject *argv[4];
159842  int ii;
159843 
159844  if (!PyTuple_Check(args)) SWIG_fail;
159845  argc = args ? (int)PyObject_Length(args) : 0;
159846  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
159847  argv[ii] = PyTuple_GET_ITEM(args,ii);
159848  }
159849  if (argc == 1) {
159850  int _v;
159851  void *vptr = 0;
159852  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
159853  _v = SWIG_CheckState(res);
159854  if (_v) {
159855  return _wrap_Joint_Size__SWIG_0(self, args);
159856  }
159857  }
159858  if (argc == 2) {
159859  int _v;
159860  void *vptr = 0;
159861  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
159862  _v = SWIG_CheckState(res);
159863  if (_v) {
159864  {
159865  int res = SWIG_AsVal_float(argv[1], NULL);
159866  _v = SWIG_CheckState(res);
159867  }
159868  if (_v) {
159869  return _wrap_Joint_Size__SWIG_2(self, args);
159870  }
159871  }
159872  }
159873  if (argc == 3) {
159874  int _v;
159875  void *vptr = 0;
159876  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
159877  _v = SWIG_CheckState(res);
159878  if (_v) {
159879  {
159880  int res = SWIG_AsVal_float(argv[1], NULL);
159881  _v = SWIG_CheckState(res);
159882  }
159883  if (_v) {
159884  {
159885  int res = SWIG_AsVal_bool(argv[2], NULL);
159886  _v = SWIG_CheckState(res);
159887  }
159888  if (_v) {
159889  return _wrap_Joint_Size__SWIG_1(self, args);
159890  }
159891  }
159892  }
159893  }
159894 
159895 fail:
159896  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Joint_Size'.\n"
159897  " Possible C/C++ prototypes are:\n"
159898  " AnimatSim::Environment::Joint::Size()\n"
159899  " AnimatSim::Environment::Joint::Size(float,bool)\n"
159900  " AnimatSim::Environment::Joint::Size(float)\n");
159901  return 0;
159902 }
159903 
159904 
159905 SWIGINTERN PyObject *_wrap_Joint_EnableLimits__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159906  PyObject *resultobj = 0;
159908  void *argp1 = 0 ;
159909  int res1 = 0 ;
159910  PyObject * obj0 = 0 ;
159911  bool result;
159912 
159913  if (!PyArg_ParseTuple(args,(char *)"O:Joint_EnableLimits",&obj0)) SWIG_fail;
159914  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
159915  if (!SWIG_IsOK(res1)) {
159916  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_EnableLimits" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
159917  }
159918  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
159919  {
159920  try {
159921  result = (bool)(arg1)->EnableLimits();
159922  }
159923  catch(CStdErrorInfo oError)
159924  {
159925  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159926  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159927  PyErr_SetString(PyExc_IndexError, strError.c_str());
159928  SWIG_fail;
159929  }
159930  catch(...)
159931  {
159932  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159933  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159934  SWIG_fail;
159935  }
159936  }
159937  resultobj = SWIG_From_bool(static_cast< bool >(result));
159938  return resultobj;
159939 fail:
159940  return NULL;
159941 }
159942 
159943 
159944 SWIGINTERN PyObject *_wrap_Joint_EnableLimits__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
159945  PyObject *resultobj = 0;
159947  bool arg2 ;
159948  void *argp1 = 0 ;
159949  int res1 = 0 ;
159950  bool val2 ;
159951  int ecode2 = 0 ;
159952  PyObject * obj0 = 0 ;
159953  PyObject * obj1 = 0 ;
159954 
159955  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_EnableLimits",&obj0,&obj1)) SWIG_fail;
159956  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
159957  if (!SWIG_IsOK(res1)) {
159958  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_EnableLimits" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
159959  }
159960  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
159961  ecode2 = SWIG_AsVal_bool(obj1, &val2);
159962  if (!SWIG_IsOK(ecode2)) {
159963  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Joint_EnableLimits" "', argument " "2"" of type '" "bool""'");
159964  }
159965  arg2 = static_cast< bool >(val2);
159966  {
159967  try {
159968  (arg1)->EnableLimits(arg2);
159969  }
159970  catch(CStdErrorInfo oError)
159971  {
159972  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159973  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
159974  PyErr_SetString(PyExc_IndexError, strError.c_str());
159975  SWIG_fail;
159976  }
159977  catch(...)
159978  {
159979  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
159980  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
159981  SWIG_fail;
159982  }
159983  }
159984  resultobj = SWIG_Py_Void();
159985  return resultobj;
159986 fail:
159987  return NULL;
159988 }
159989 
159990 
159991 SWIGINTERN PyObject *_wrap_Joint_EnableLimits(PyObject *self, PyObject *args) {
159992  int argc;
159993  PyObject *argv[3];
159994  int ii;
159995 
159996  if (!PyTuple_Check(args)) SWIG_fail;
159997  argc = args ? (int)PyObject_Length(args) : 0;
159998  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
159999  argv[ii] = PyTuple_GET_ITEM(args,ii);
160000  }
160001  if (argc == 1) {
160002  int _v;
160003  void *vptr = 0;
160004  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160005  _v = SWIG_CheckState(res);
160006  if (_v) {
160007  return _wrap_Joint_EnableLimits__SWIG_0(self, args);
160008  }
160009  }
160010  if (argc == 2) {
160011  int _v;
160012  void *vptr = 0;
160013  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160014  _v = SWIG_CheckState(res);
160015  if (_v) {
160016  {
160017  int res = SWIG_AsVal_bool(argv[1], NULL);
160018  _v = SWIG_CheckState(res);
160019  }
160020  if (_v) {
160021  return _wrap_Joint_EnableLimits__SWIG_1(self, args);
160022  }
160023  }
160024  }
160025 
160026 fail:
160027  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Joint_EnableLimits'.\n"
160028  " Possible C/C++ prototypes are:\n"
160029  " AnimatSim::Environment::Joint::EnableLimits()\n"
160030  " AnimatSim::Environment::Joint::EnableLimits(bool)\n");
160031  return 0;
160032 }
160033 
160034 
160035 SWIGINTERN PyObject *_wrap_Joint_Relaxation1__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160036  PyObject *resultobj = 0;
160038  void *argp1 = 0 ;
160039  int res1 = 0 ;
160040  PyObject * obj0 = 0 ;
160042 
160043  if (!PyArg_ParseTuple(args,(char *)"O:Joint_Relaxation1",&obj0)) SWIG_fail;
160044  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
160045  if (!SWIG_IsOK(res1)) {
160046  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation1" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
160047  }
160048  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
160049  {
160050  try {
160051  result = (AnimatSim::Environment::ConstraintRelaxation *)(arg1)->Relaxation1();
160052  }
160053  catch(CStdErrorInfo oError)
160054  {
160055  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160056  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
160057  PyErr_SetString(PyExc_IndexError, strError.c_str());
160058  SWIG_fail;
160059  }
160060  catch(...)
160061  {
160062  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160063  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
160064  SWIG_fail;
160065  }
160066  }
160067  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
160068  return resultobj;
160069 fail:
160070  return NULL;
160071 }
160072 
160073 
160074 SWIGINTERN PyObject *_wrap_Joint_Relaxation1__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160075  PyObject *resultobj = 0;
160078  void *argp1 = 0 ;
160079  int res1 = 0 ;
160080  void *argp2 = 0 ;
160081  int res2 = 0 ;
160082  PyObject * obj0 = 0 ;
160083  PyObject * obj1 = 0 ;
160084 
160085  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Relaxation1",&obj0,&obj1)) SWIG_fail;
160086  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
160087  if (!SWIG_IsOK(res1)) {
160088  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation1" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
160089  }
160090  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
160091  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
160092  if (!SWIG_IsOK(res2)) {
160093  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Joint_Relaxation1" "', argument " "2"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
160094  }
160095  arg2 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp2);
160096  {
160097  try {
160098  (arg1)->Relaxation1(arg2);
160099  }
160100  catch(CStdErrorInfo oError)
160101  {
160102  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160103  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
160104  PyErr_SetString(PyExc_IndexError, strError.c_str());
160105  SWIG_fail;
160106  }
160107  catch(...)
160108  {
160109  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160110  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
160111  SWIG_fail;
160112  }
160113  }
160114  resultobj = SWIG_Py_Void();
160115  return resultobj;
160116 fail:
160117  return NULL;
160118 }
160119 
160120 
160121 SWIGINTERN PyObject *_wrap_Joint_Relaxation1__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160122  PyObject *resultobj = 0;
160124  std::string arg2 ;
160125  void *argp1 = 0 ;
160126  int res1 = 0 ;
160127  PyObject * obj0 = 0 ;
160128  PyObject * obj1 = 0 ;
160129 
160130  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Relaxation1",&obj0,&obj1)) SWIG_fail;
160131  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
160132  if (!SWIG_IsOK(res1)) {
160133  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation1" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
160134  }
160135  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
160136  {
160137  std::string *ptr = (std::string *)0;
160138  int res = SWIG_AsPtr_std_string(obj1, &ptr);
160139  if (!SWIG_IsOK(res) || !ptr) {
160140  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Joint_Relaxation1" "', argument " "2"" of type '" "std::string""'");
160141  }
160142  arg2 = *ptr;
160143  if (SWIG_IsNewObj(res)) delete ptr;
160144  }
160145  {
160146  try {
160147  (arg1)->Relaxation1(arg2);
160148  }
160149  catch(CStdErrorInfo oError)
160150  {
160151  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160152  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
160153  PyErr_SetString(PyExc_IndexError, strError.c_str());
160154  SWIG_fail;
160155  }
160156  catch(...)
160157  {
160158  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160159  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
160160  SWIG_fail;
160161  }
160162  }
160163  resultobj = SWIG_Py_Void();
160164  return resultobj;
160165 fail:
160166  return NULL;
160167 }
160168 
160169 
160170 SWIGINTERN PyObject *_wrap_Joint_Relaxation1(PyObject *self, PyObject *args) {
160171  int argc;
160172  PyObject *argv[3];
160173  int ii;
160174 
160175  if (!PyTuple_Check(args)) SWIG_fail;
160176  argc = args ? (int)PyObject_Length(args) : 0;
160177  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
160178  argv[ii] = PyTuple_GET_ITEM(args,ii);
160179  }
160180  if (argc == 1) {
160181  int _v;
160182  void *vptr = 0;
160183  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160184  _v = SWIG_CheckState(res);
160185  if (_v) {
160186  return _wrap_Joint_Relaxation1__SWIG_0(self, args);
160187  }
160188  }
160189  if (argc == 2) {
160190  int _v;
160191  void *vptr = 0;
160192  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160193  _v = SWIG_CheckState(res);
160194  if (_v) {
160195  void *vptr = 0;
160196  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
160197  _v = SWIG_CheckState(res);
160198  if (_v) {
160199  return _wrap_Joint_Relaxation1__SWIG_1(self, args);
160200  }
160201  }
160202  }
160203  if (argc == 2) {
160204  int _v;
160205  void *vptr = 0;
160206  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160207  _v = SWIG_CheckState(res);
160208  if (_v) {
160209  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
160210  _v = SWIG_CheckState(res);
160211  if (_v) {
160212  return _wrap_Joint_Relaxation1__SWIG_2(self, args);
160213  }
160214  }
160215  }
160216 
160217 fail:
160218  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Joint_Relaxation1'.\n"
160219  " Possible C/C++ prototypes are:\n"
160220  " AnimatSim::Environment::Joint::Relaxation1()\n"
160221  " AnimatSim::Environment::Joint::Relaxation1(AnimatSim::Environment::ConstraintRelaxation *)\n"
160222  " AnimatSim::Environment::Joint::Relaxation1(std::string)\n");
160223  return 0;
160224 }
160225 
160226 
160227 SWIGINTERN PyObject *_wrap_Joint_Relaxation2__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160228  PyObject *resultobj = 0;
160230  void *argp1 = 0 ;
160231  int res1 = 0 ;
160232  PyObject * obj0 = 0 ;
160234 
160235  if (!PyArg_ParseTuple(args,(char *)"O:Joint_Relaxation2",&obj0)) SWIG_fail;
160236  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
160237  if (!SWIG_IsOK(res1)) {
160238  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation2" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
160239  }
160240  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
160241  {
160242  try {
160243  result = (AnimatSim::Environment::ConstraintRelaxation *)(arg1)->Relaxation2();
160244  }
160245  catch(CStdErrorInfo oError)
160246  {
160247  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160248  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
160249  PyErr_SetString(PyExc_IndexError, strError.c_str());
160250  SWIG_fail;
160251  }
160252  catch(...)
160253  {
160254  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160255  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
160256  SWIG_fail;
160257  }
160258  }
160259  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
160260  return resultobj;
160261 fail:
160262  return NULL;
160263 }
160264 
160265 
160266 SWIGINTERN PyObject *_wrap_Joint_Relaxation2__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160267  PyObject *resultobj = 0;
160270  void *argp1 = 0 ;
160271  int res1 = 0 ;
160272  void *argp2 = 0 ;
160273  int res2 = 0 ;
160274  PyObject * obj0 = 0 ;
160275  PyObject * obj1 = 0 ;
160276 
160277  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Relaxation2",&obj0,&obj1)) SWIG_fail;
160278  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
160279  if (!SWIG_IsOK(res1)) {
160280  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation2" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
160281  }
160282  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
160283  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
160284  if (!SWIG_IsOK(res2)) {
160285  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Joint_Relaxation2" "', argument " "2"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
160286  }
160287  arg2 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp2);
160288  {
160289  try {
160290  (arg1)->Relaxation2(arg2);
160291  }
160292  catch(CStdErrorInfo oError)
160293  {
160294  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160295  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
160296  PyErr_SetString(PyExc_IndexError, strError.c_str());
160297  SWIG_fail;
160298  }
160299  catch(...)
160300  {
160301  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160302  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
160303  SWIG_fail;
160304  }
160305  }
160306  resultobj = SWIG_Py_Void();
160307  return resultobj;
160308 fail:
160309  return NULL;
160310 }
160311 
160312 
160313 SWIGINTERN PyObject *_wrap_Joint_Relaxation2__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160314  PyObject *resultobj = 0;
160316  std::string arg2 ;
160317  void *argp1 = 0 ;
160318  int res1 = 0 ;
160319  PyObject * obj0 = 0 ;
160320  PyObject * obj1 = 0 ;
160321 
160322  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Relaxation2",&obj0,&obj1)) SWIG_fail;
160323  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
160324  if (!SWIG_IsOK(res1)) {
160325  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation2" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
160326  }
160327  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
160328  {
160329  std::string *ptr = (std::string *)0;
160330  int res = SWIG_AsPtr_std_string(obj1, &ptr);
160331  if (!SWIG_IsOK(res) || !ptr) {
160332  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Joint_Relaxation2" "', argument " "2"" of type '" "std::string""'");
160333  }
160334  arg2 = *ptr;
160335  if (SWIG_IsNewObj(res)) delete ptr;
160336  }
160337  {
160338  try {
160339  (arg1)->Relaxation2(arg2);
160340  }
160341  catch(CStdErrorInfo oError)
160342  {
160343  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160344  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
160345  PyErr_SetString(PyExc_IndexError, strError.c_str());
160346  SWIG_fail;
160347  }
160348  catch(...)
160349  {
160350  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160351  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
160352  SWIG_fail;
160353  }
160354  }
160355  resultobj = SWIG_Py_Void();
160356  return resultobj;
160357 fail:
160358  return NULL;
160359 }
160360 
160361 
160362 SWIGINTERN PyObject *_wrap_Joint_Relaxation2(PyObject *self, PyObject *args) {
160363  int argc;
160364  PyObject *argv[3];
160365  int ii;
160366 
160367  if (!PyTuple_Check(args)) SWIG_fail;
160368  argc = args ? (int)PyObject_Length(args) : 0;
160369  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
160370  argv[ii] = PyTuple_GET_ITEM(args,ii);
160371  }
160372  if (argc == 1) {
160373  int _v;
160374  void *vptr = 0;
160375  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160376  _v = SWIG_CheckState(res);
160377  if (_v) {
160378  return _wrap_Joint_Relaxation2__SWIG_0(self, args);
160379  }
160380  }
160381  if (argc == 2) {
160382  int _v;
160383  void *vptr = 0;
160384  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160385  _v = SWIG_CheckState(res);
160386  if (_v) {
160387  void *vptr = 0;
160388  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
160389  _v = SWIG_CheckState(res);
160390  if (_v) {
160391  return _wrap_Joint_Relaxation2__SWIG_1(self, args);
160392  }
160393  }
160394  }
160395  if (argc == 2) {
160396  int _v;
160397  void *vptr = 0;
160398  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160399  _v = SWIG_CheckState(res);
160400  if (_v) {
160401  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
160402  _v = SWIG_CheckState(res);
160403  if (_v) {
160404  return _wrap_Joint_Relaxation2__SWIG_2(self, args);
160405  }
160406  }
160407  }
160408 
160409 fail:
160410  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Joint_Relaxation2'.\n"
160411  " Possible C/C++ prototypes are:\n"
160412  " AnimatSim::Environment::Joint::Relaxation2()\n"
160413  " AnimatSim::Environment::Joint::Relaxation2(AnimatSim::Environment::ConstraintRelaxation *)\n"
160414  " AnimatSim::Environment::Joint::Relaxation2(std::string)\n");
160415  return 0;
160416 }
160417 
160418 
160419 SWIGINTERN PyObject *_wrap_Joint_Relaxation3__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160420  PyObject *resultobj = 0;
160422  void *argp1 = 0 ;
160423  int res1 = 0 ;
160424  PyObject * obj0 = 0 ;
160426 
160427  if (!PyArg_ParseTuple(args,(char *)"O:Joint_Relaxation3",&obj0)) SWIG_fail;
160428  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
160429  if (!SWIG_IsOK(res1)) {
160430  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation3" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
160431  }
160432  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
160433  {
160434  try {
160435  result = (AnimatSim::Environment::ConstraintRelaxation *)(arg1)->Relaxation3();
160436  }
160437  catch(CStdErrorInfo oError)
160438  {
160439  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160440  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
160441  PyErr_SetString(PyExc_IndexError, strError.c_str());
160442  SWIG_fail;
160443  }
160444  catch(...)
160445  {
160446  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160447  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
160448  SWIG_fail;
160449  }
160450  }
160451  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
160452  return resultobj;
160453 fail:
160454  return NULL;
160455 }
160456 
160457 
160458 SWIGINTERN PyObject *_wrap_Joint_Relaxation3__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160459  PyObject *resultobj = 0;
160462  void *argp1 = 0 ;
160463  int res1 = 0 ;
160464  void *argp2 = 0 ;
160465  int res2 = 0 ;
160466  PyObject * obj0 = 0 ;
160467  PyObject * obj1 = 0 ;
160468 
160469  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Relaxation3",&obj0,&obj1)) SWIG_fail;
160470  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
160471  if (!SWIG_IsOK(res1)) {
160472  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation3" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
160473  }
160474  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
160475  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
160476  if (!SWIG_IsOK(res2)) {
160477  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Joint_Relaxation3" "', argument " "2"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
160478  }
160479  arg2 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp2);
160480  {
160481  try {
160482  (arg1)->Relaxation3(arg2);
160483  }
160484  catch(CStdErrorInfo oError)
160485  {
160486  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160487  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
160488  PyErr_SetString(PyExc_IndexError, strError.c_str());
160489  SWIG_fail;
160490  }
160491  catch(...)
160492  {
160493  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160494  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
160495  SWIG_fail;
160496  }
160497  }
160498  resultobj = SWIG_Py_Void();
160499  return resultobj;
160500 fail:
160501  return NULL;
160502 }
160503 
160504 
160505 SWIGINTERN PyObject *_wrap_Joint_Relaxation3__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160506  PyObject *resultobj = 0;
160508  std::string arg2 ;
160509  void *argp1 = 0 ;
160510  int res1 = 0 ;
160511  PyObject * obj0 = 0 ;
160512  PyObject * obj1 = 0 ;
160513 
160514  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Relaxation3",&obj0,&obj1)) SWIG_fail;
160515  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
160516  if (!SWIG_IsOK(res1)) {
160517  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation3" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
160518  }
160519  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
160520  {
160521  std::string *ptr = (std::string *)0;
160522  int res = SWIG_AsPtr_std_string(obj1, &ptr);
160523  if (!SWIG_IsOK(res) || !ptr) {
160524  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Joint_Relaxation3" "', argument " "2"" of type '" "std::string""'");
160525  }
160526  arg2 = *ptr;
160527  if (SWIG_IsNewObj(res)) delete ptr;
160528  }
160529  {
160530  try {
160531  (arg1)->Relaxation3(arg2);
160532  }
160533  catch(CStdErrorInfo oError)
160534  {
160535  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160536  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
160537  PyErr_SetString(PyExc_IndexError, strError.c_str());
160538  SWIG_fail;
160539  }
160540  catch(...)
160541  {
160542  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160543  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
160544  SWIG_fail;
160545  }
160546  }
160547  resultobj = SWIG_Py_Void();
160548  return resultobj;
160549 fail:
160550  return NULL;
160551 }
160552 
160553 
160554 SWIGINTERN PyObject *_wrap_Joint_Relaxation3(PyObject *self, PyObject *args) {
160555  int argc;
160556  PyObject *argv[3];
160557  int ii;
160558 
160559  if (!PyTuple_Check(args)) SWIG_fail;
160560  argc = args ? (int)PyObject_Length(args) : 0;
160561  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
160562  argv[ii] = PyTuple_GET_ITEM(args,ii);
160563  }
160564  if (argc == 1) {
160565  int _v;
160566  void *vptr = 0;
160567  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160568  _v = SWIG_CheckState(res);
160569  if (_v) {
160570  return _wrap_Joint_Relaxation3__SWIG_0(self, args);
160571  }
160572  }
160573  if (argc == 2) {
160574  int _v;
160575  void *vptr = 0;
160576  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160577  _v = SWIG_CheckState(res);
160578  if (_v) {
160579  void *vptr = 0;
160580  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
160581  _v = SWIG_CheckState(res);
160582  if (_v) {
160583  return _wrap_Joint_Relaxation3__SWIG_1(self, args);
160584  }
160585  }
160586  }
160587  if (argc == 2) {
160588  int _v;
160589  void *vptr = 0;
160590  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160591  _v = SWIG_CheckState(res);
160592  if (_v) {
160593  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
160594  _v = SWIG_CheckState(res);
160595  if (_v) {
160596  return _wrap_Joint_Relaxation3__SWIG_2(self, args);
160597  }
160598  }
160599  }
160600 
160601 fail:
160602  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Joint_Relaxation3'.\n"
160603  " Possible C/C++ prototypes are:\n"
160604  " AnimatSim::Environment::Joint::Relaxation3()\n"
160605  " AnimatSim::Environment::Joint::Relaxation3(AnimatSim::Environment::ConstraintRelaxation *)\n"
160606  " AnimatSim::Environment::Joint::Relaxation3(std::string)\n");
160607  return 0;
160608 }
160609 
160610 
160611 SWIGINTERN PyObject *_wrap_Joint_Relaxation4__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160612  PyObject *resultobj = 0;
160614  void *argp1 = 0 ;
160615  int res1 = 0 ;
160616  PyObject * obj0 = 0 ;
160618 
160619  if (!PyArg_ParseTuple(args,(char *)"O:Joint_Relaxation4",&obj0)) SWIG_fail;
160620  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
160621  if (!SWIG_IsOK(res1)) {
160622  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation4" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
160623  }
160624  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
160625  {
160626  try {
160627  result = (AnimatSim::Environment::ConstraintRelaxation *)(arg1)->Relaxation4();
160628  }
160629  catch(CStdErrorInfo oError)
160630  {
160631  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160632  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
160633  PyErr_SetString(PyExc_IndexError, strError.c_str());
160634  SWIG_fail;
160635  }
160636  catch(...)
160637  {
160638  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160639  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
160640  SWIG_fail;
160641  }
160642  }
160643  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
160644  return resultobj;
160645 fail:
160646  return NULL;
160647 }
160648 
160649 
160650 SWIGINTERN PyObject *_wrap_Joint_Relaxation4__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160651  PyObject *resultobj = 0;
160654  void *argp1 = 0 ;
160655  int res1 = 0 ;
160656  void *argp2 = 0 ;
160657  int res2 = 0 ;
160658  PyObject * obj0 = 0 ;
160659  PyObject * obj1 = 0 ;
160660 
160661  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Relaxation4",&obj0,&obj1)) SWIG_fail;
160662  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
160663  if (!SWIG_IsOK(res1)) {
160664  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation4" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
160665  }
160666  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
160667  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
160668  if (!SWIG_IsOK(res2)) {
160669  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Joint_Relaxation4" "', argument " "2"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
160670  }
160671  arg2 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp2);
160672  {
160673  try {
160674  (arg1)->Relaxation4(arg2);
160675  }
160676  catch(CStdErrorInfo oError)
160677  {
160678  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160679  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
160680  PyErr_SetString(PyExc_IndexError, strError.c_str());
160681  SWIG_fail;
160682  }
160683  catch(...)
160684  {
160685  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160686  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
160687  SWIG_fail;
160688  }
160689  }
160690  resultobj = SWIG_Py_Void();
160691  return resultobj;
160692 fail:
160693  return NULL;
160694 }
160695 
160696 
160697 SWIGINTERN PyObject *_wrap_Joint_Relaxation4__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160698  PyObject *resultobj = 0;
160700  std::string arg2 ;
160701  void *argp1 = 0 ;
160702  int res1 = 0 ;
160703  PyObject * obj0 = 0 ;
160704  PyObject * obj1 = 0 ;
160705 
160706  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Relaxation4",&obj0,&obj1)) SWIG_fail;
160707  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
160708  if (!SWIG_IsOK(res1)) {
160709  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation4" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
160710  }
160711  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
160712  {
160713  std::string *ptr = (std::string *)0;
160714  int res = SWIG_AsPtr_std_string(obj1, &ptr);
160715  if (!SWIG_IsOK(res) || !ptr) {
160716  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Joint_Relaxation4" "', argument " "2"" of type '" "std::string""'");
160717  }
160718  arg2 = *ptr;
160719  if (SWIG_IsNewObj(res)) delete ptr;
160720  }
160721  {
160722  try {
160723  (arg1)->Relaxation4(arg2);
160724  }
160725  catch(CStdErrorInfo oError)
160726  {
160727  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160728  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
160729  PyErr_SetString(PyExc_IndexError, strError.c_str());
160730  SWIG_fail;
160731  }
160732  catch(...)
160733  {
160734  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160735  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
160736  SWIG_fail;
160737  }
160738  }
160739  resultobj = SWIG_Py_Void();
160740  return resultobj;
160741 fail:
160742  return NULL;
160743 }
160744 
160745 
160746 SWIGINTERN PyObject *_wrap_Joint_Relaxation4(PyObject *self, PyObject *args) {
160747  int argc;
160748  PyObject *argv[3];
160749  int ii;
160750 
160751  if (!PyTuple_Check(args)) SWIG_fail;
160752  argc = args ? (int)PyObject_Length(args) : 0;
160753  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
160754  argv[ii] = PyTuple_GET_ITEM(args,ii);
160755  }
160756  if (argc == 1) {
160757  int _v;
160758  void *vptr = 0;
160759  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160760  _v = SWIG_CheckState(res);
160761  if (_v) {
160762  return _wrap_Joint_Relaxation4__SWIG_0(self, args);
160763  }
160764  }
160765  if (argc == 2) {
160766  int _v;
160767  void *vptr = 0;
160768  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160769  _v = SWIG_CheckState(res);
160770  if (_v) {
160771  void *vptr = 0;
160772  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
160773  _v = SWIG_CheckState(res);
160774  if (_v) {
160775  return _wrap_Joint_Relaxation4__SWIG_1(self, args);
160776  }
160777  }
160778  }
160779  if (argc == 2) {
160780  int _v;
160781  void *vptr = 0;
160782  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160783  _v = SWIG_CheckState(res);
160784  if (_v) {
160785  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
160786  _v = SWIG_CheckState(res);
160787  if (_v) {
160788  return _wrap_Joint_Relaxation4__SWIG_2(self, args);
160789  }
160790  }
160791  }
160792 
160793 fail:
160794  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Joint_Relaxation4'.\n"
160795  " Possible C/C++ prototypes are:\n"
160796  " AnimatSim::Environment::Joint::Relaxation4()\n"
160797  " AnimatSim::Environment::Joint::Relaxation4(AnimatSim::Environment::ConstraintRelaxation *)\n"
160798  " AnimatSim::Environment::Joint::Relaxation4(std::string)\n");
160799  return 0;
160800 }
160801 
160802 
160803 SWIGINTERN PyObject *_wrap_Joint_Relaxation5__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160804  PyObject *resultobj = 0;
160806  void *argp1 = 0 ;
160807  int res1 = 0 ;
160808  PyObject * obj0 = 0 ;
160810 
160811  if (!PyArg_ParseTuple(args,(char *)"O:Joint_Relaxation5",&obj0)) SWIG_fail;
160812  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
160813  if (!SWIG_IsOK(res1)) {
160814  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation5" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
160815  }
160816  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
160817  {
160818  try {
160819  result = (AnimatSim::Environment::ConstraintRelaxation *)(arg1)->Relaxation5();
160820  }
160821  catch(CStdErrorInfo oError)
160822  {
160823  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160824  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
160825  PyErr_SetString(PyExc_IndexError, strError.c_str());
160826  SWIG_fail;
160827  }
160828  catch(...)
160829  {
160830  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160831  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
160832  SWIG_fail;
160833  }
160834  }
160835  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
160836  return resultobj;
160837 fail:
160838  return NULL;
160839 }
160840 
160841 
160842 SWIGINTERN PyObject *_wrap_Joint_Relaxation5__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160843  PyObject *resultobj = 0;
160846  void *argp1 = 0 ;
160847  int res1 = 0 ;
160848  void *argp2 = 0 ;
160849  int res2 = 0 ;
160850  PyObject * obj0 = 0 ;
160851  PyObject * obj1 = 0 ;
160852 
160853  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Relaxation5",&obj0,&obj1)) SWIG_fail;
160854  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
160855  if (!SWIG_IsOK(res1)) {
160856  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation5" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
160857  }
160858  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
160859  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
160860  if (!SWIG_IsOK(res2)) {
160861  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Joint_Relaxation5" "', argument " "2"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
160862  }
160863  arg2 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp2);
160864  {
160865  try {
160866  (arg1)->Relaxation5(arg2);
160867  }
160868  catch(CStdErrorInfo oError)
160869  {
160870  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160871  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
160872  PyErr_SetString(PyExc_IndexError, strError.c_str());
160873  SWIG_fail;
160874  }
160875  catch(...)
160876  {
160877  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160878  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
160879  SWIG_fail;
160880  }
160881  }
160882  resultobj = SWIG_Py_Void();
160883  return resultobj;
160884 fail:
160885  return NULL;
160886 }
160887 
160888 
160889 SWIGINTERN PyObject *_wrap_Joint_Relaxation5__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160890  PyObject *resultobj = 0;
160892  std::string arg2 ;
160893  void *argp1 = 0 ;
160894  int res1 = 0 ;
160895  PyObject * obj0 = 0 ;
160896  PyObject * obj1 = 0 ;
160897 
160898  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Relaxation5",&obj0,&obj1)) SWIG_fail;
160899  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
160900  if (!SWIG_IsOK(res1)) {
160901  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation5" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
160902  }
160903  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
160904  {
160905  std::string *ptr = (std::string *)0;
160906  int res = SWIG_AsPtr_std_string(obj1, &ptr);
160907  if (!SWIG_IsOK(res) || !ptr) {
160908  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Joint_Relaxation5" "', argument " "2"" of type '" "std::string""'");
160909  }
160910  arg2 = *ptr;
160911  if (SWIG_IsNewObj(res)) delete ptr;
160912  }
160913  {
160914  try {
160915  (arg1)->Relaxation5(arg2);
160916  }
160917  catch(CStdErrorInfo oError)
160918  {
160919  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160920  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
160921  PyErr_SetString(PyExc_IndexError, strError.c_str());
160922  SWIG_fail;
160923  }
160924  catch(...)
160925  {
160926  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
160927  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
160928  SWIG_fail;
160929  }
160930  }
160931  resultobj = SWIG_Py_Void();
160932  return resultobj;
160933 fail:
160934  return NULL;
160935 }
160936 
160937 
160938 SWIGINTERN PyObject *_wrap_Joint_Relaxation5(PyObject *self, PyObject *args) {
160939  int argc;
160940  PyObject *argv[3];
160941  int ii;
160942 
160943  if (!PyTuple_Check(args)) SWIG_fail;
160944  argc = args ? (int)PyObject_Length(args) : 0;
160945  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
160946  argv[ii] = PyTuple_GET_ITEM(args,ii);
160947  }
160948  if (argc == 1) {
160949  int _v;
160950  void *vptr = 0;
160951  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160952  _v = SWIG_CheckState(res);
160953  if (_v) {
160954  return _wrap_Joint_Relaxation5__SWIG_0(self, args);
160955  }
160956  }
160957  if (argc == 2) {
160958  int _v;
160959  void *vptr = 0;
160960  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160961  _v = SWIG_CheckState(res);
160962  if (_v) {
160963  void *vptr = 0;
160964  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
160965  _v = SWIG_CheckState(res);
160966  if (_v) {
160967  return _wrap_Joint_Relaxation5__SWIG_1(self, args);
160968  }
160969  }
160970  }
160971  if (argc == 2) {
160972  int _v;
160973  void *vptr = 0;
160974  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
160975  _v = SWIG_CheckState(res);
160976  if (_v) {
160977  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
160978  _v = SWIG_CheckState(res);
160979  if (_v) {
160980  return _wrap_Joint_Relaxation5__SWIG_2(self, args);
160981  }
160982  }
160983  }
160984 
160985 fail:
160986  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Joint_Relaxation5'.\n"
160987  " Possible C/C++ prototypes are:\n"
160988  " AnimatSim::Environment::Joint::Relaxation5()\n"
160989  " AnimatSim::Environment::Joint::Relaxation5(AnimatSim::Environment::ConstraintRelaxation *)\n"
160990  " AnimatSim::Environment::Joint::Relaxation5(std::string)\n");
160991  return 0;
160992 }
160993 
160994 
160995 SWIGINTERN PyObject *_wrap_Joint_Relaxation6__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
160996  PyObject *resultobj = 0;
160998  void *argp1 = 0 ;
160999  int res1 = 0 ;
161000  PyObject * obj0 = 0 ;
161002 
161003  if (!PyArg_ParseTuple(args,(char *)"O:Joint_Relaxation6",&obj0)) SWIG_fail;
161004  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161005  if (!SWIG_IsOK(res1)) {
161006  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation6" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161007  }
161008  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161009  {
161010  try {
161011  result = (AnimatSim::Environment::ConstraintRelaxation *)(arg1)->Relaxation6();
161012  }
161013  catch(CStdErrorInfo oError)
161014  {
161015  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161016  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161017  PyErr_SetString(PyExc_IndexError, strError.c_str());
161018  SWIG_fail;
161019  }
161020  catch(...)
161021  {
161022  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161023  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161024  SWIG_fail;
161025  }
161026  }
161027  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
161028  return resultobj;
161029 fail:
161030  return NULL;
161031 }
161032 
161033 
161034 SWIGINTERN PyObject *_wrap_Joint_Relaxation6__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161035  PyObject *resultobj = 0;
161038  void *argp1 = 0 ;
161039  int res1 = 0 ;
161040  void *argp2 = 0 ;
161041  int res2 = 0 ;
161042  PyObject * obj0 = 0 ;
161043  PyObject * obj1 = 0 ;
161044 
161045  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Relaxation6",&obj0,&obj1)) SWIG_fail;
161046  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161047  if (!SWIG_IsOK(res1)) {
161048  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation6" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161049  }
161050  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161051  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0 | 0 );
161052  if (!SWIG_IsOK(res2)) {
161053  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Joint_Relaxation6" "', argument " "2"" of type '" "AnimatSim::Environment::ConstraintRelaxation *""'");
161054  }
161055  arg2 = reinterpret_cast< AnimatSim::Environment::ConstraintRelaxation * >(argp2);
161056  {
161057  try {
161058  (arg1)->Relaxation6(arg2);
161059  }
161060  catch(CStdErrorInfo oError)
161061  {
161062  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161063  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161064  PyErr_SetString(PyExc_IndexError, strError.c_str());
161065  SWIG_fail;
161066  }
161067  catch(...)
161068  {
161069  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161070  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161071  SWIG_fail;
161072  }
161073  }
161074  resultobj = SWIG_Py_Void();
161075  return resultobj;
161076 fail:
161077  return NULL;
161078 }
161079 
161080 
161081 SWIGINTERN PyObject *_wrap_Joint_Relaxation6__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161082  PyObject *resultobj = 0;
161084  std::string arg2 ;
161085  void *argp1 = 0 ;
161086  int res1 = 0 ;
161087  PyObject * obj0 = 0 ;
161088  PyObject * obj1 = 0 ;
161089 
161090  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Relaxation6",&obj0,&obj1)) SWIG_fail;
161091  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161092  if (!SWIG_IsOK(res1)) {
161093  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Relaxation6" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161094  }
161095  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161096  {
161097  std::string *ptr = (std::string *)0;
161098  int res = SWIG_AsPtr_std_string(obj1, &ptr);
161099  if (!SWIG_IsOK(res) || !ptr) {
161100  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Joint_Relaxation6" "', argument " "2"" of type '" "std::string""'");
161101  }
161102  arg2 = *ptr;
161103  if (SWIG_IsNewObj(res)) delete ptr;
161104  }
161105  {
161106  try {
161107  (arg1)->Relaxation6(arg2);
161108  }
161109  catch(CStdErrorInfo oError)
161110  {
161111  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161112  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161113  PyErr_SetString(PyExc_IndexError, strError.c_str());
161114  SWIG_fail;
161115  }
161116  catch(...)
161117  {
161118  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161119  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161120  SWIG_fail;
161121  }
161122  }
161123  resultobj = SWIG_Py_Void();
161124  return resultobj;
161125 fail:
161126  return NULL;
161127 }
161128 
161129 
161130 SWIGINTERN PyObject *_wrap_Joint_Relaxation6(PyObject *self, PyObject *args) {
161131  int argc;
161132  PyObject *argv[3];
161133  int ii;
161134 
161135  if (!PyTuple_Check(args)) SWIG_fail;
161136  argc = args ? (int)PyObject_Length(args) : 0;
161137  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
161138  argv[ii] = PyTuple_GET_ITEM(args,ii);
161139  }
161140  if (argc == 1) {
161141  int _v;
161142  void *vptr = 0;
161143  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
161144  _v = SWIG_CheckState(res);
161145  if (_v) {
161146  return _wrap_Joint_Relaxation6__SWIG_0(self, args);
161147  }
161148  }
161149  if (argc == 2) {
161150  int _v;
161151  void *vptr = 0;
161152  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
161153  _v = SWIG_CheckState(res);
161154  if (_v) {
161155  void *vptr = 0;
161156  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation, 0);
161157  _v = SWIG_CheckState(res);
161158  if (_v) {
161159  return _wrap_Joint_Relaxation6__SWIG_1(self, args);
161160  }
161161  }
161162  }
161163  if (argc == 2) {
161164  int _v;
161165  void *vptr = 0;
161166  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
161167  _v = SWIG_CheckState(res);
161168  if (_v) {
161169  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
161170  _v = SWIG_CheckState(res);
161171  if (_v) {
161172  return _wrap_Joint_Relaxation6__SWIG_2(self, args);
161173  }
161174  }
161175  }
161176 
161177 fail:
161178  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Joint_Relaxation6'.\n"
161179  " Possible C/C++ prototypes are:\n"
161180  " AnimatSim::Environment::Joint::Relaxation6()\n"
161181  " AnimatSim::Environment::Joint::Relaxation6(AnimatSim::Environment::ConstraintRelaxation *)\n"
161182  " AnimatSim::Environment::Joint::Relaxation6(std::string)\n");
161183  return 0;
161184 }
161185 
161186 
161187 SWIGINTERN PyObject *_wrap_Joint_Friction__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161188  PyObject *resultobj = 0;
161190  void *argp1 = 0 ;
161191  int res1 = 0 ;
161192  PyObject * obj0 = 0 ;
161194 
161195  if (!PyArg_ParseTuple(args,(char *)"O:Joint_Friction",&obj0)) SWIG_fail;
161196  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161197  if (!SWIG_IsOK(res1)) {
161198  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Friction" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161199  }
161200  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161201  {
161202  try {
161203  result = (AnimatSim::Environment::ConstraintFriction *)(arg1)->Friction();
161204  }
161205  catch(CStdErrorInfo oError)
161206  {
161207  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161208  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161209  PyErr_SetString(PyExc_IndexError, strError.c_str());
161210  SWIG_fail;
161211  }
161212  catch(...)
161213  {
161214  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161215  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161216  SWIG_fail;
161217  }
161218  }
161219  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
161220  return resultobj;
161221 fail:
161222  return NULL;
161223 }
161224 
161225 
161226 SWIGINTERN PyObject *_wrap_Joint_Friction__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161227  PyObject *resultobj = 0;
161230  void *argp1 = 0 ;
161231  int res1 = 0 ;
161232  void *argp2 = 0 ;
161233  int res2 = 0 ;
161234  PyObject * obj0 = 0 ;
161235  PyObject * obj1 = 0 ;
161236 
161237  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Friction",&obj0,&obj1)) SWIG_fail;
161238  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161239  if (!SWIG_IsOK(res1)) {
161240  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Friction" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161241  }
161242  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161243  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0 | 0 );
161244  if (!SWIG_IsOK(res2)) {
161245  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Joint_Friction" "', argument " "2"" of type '" "AnimatSim::Environment::ConstraintFriction *""'");
161246  }
161247  arg2 = reinterpret_cast< AnimatSim::Environment::ConstraintFriction * >(argp2);
161248  {
161249  try {
161250  (arg1)->Friction(arg2);
161251  }
161252  catch(CStdErrorInfo oError)
161253  {
161254  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161255  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161256  PyErr_SetString(PyExc_IndexError, strError.c_str());
161257  SWIG_fail;
161258  }
161259  catch(...)
161260  {
161261  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161262  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161263  SWIG_fail;
161264  }
161265  }
161266  resultobj = SWIG_Py_Void();
161267  return resultobj;
161268 fail:
161269  return NULL;
161270 }
161271 
161272 
161273 SWIGINTERN PyObject *_wrap_Joint_Friction__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161274  PyObject *resultobj = 0;
161276  std::string arg2 ;
161277  void *argp1 = 0 ;
161278  int res1 = 0 ;
161279  PyObject * obj0 = 0 ;
161280  PyObject * obj1 = 0 ;
161281 
161282  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Friction",&obj0,&obj1)) SWIG_fail;
161283  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161284  if (!SWIG_IsOK(res1)) {
161285  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Friction" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161286  }
161287  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161288  {
161289  std::string *ptr = (std::string *)0;
161290  int res = SWIG_AsPtr_std_string(obj1, &ptr);
161291  if (!SWIG_IsOK(res) || !ptr) {
161292  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Joint_Friction" "', argument " "2"" of type '" "std::string""'");
161293  }
161294  arg2 = *ptr;
161295  if (SWIG_IsNewObj(res)) delete ptr;
161296  }
161297  {
161298  try {
161299  (arg1)->Friction(arg2);
161300  }
161301  catch(CStdErrorInfo oError)
161302  {
161303  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161304  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161305  PyErr_SetString(PyExc_IndexError, strError.c_str());
161306  SWIG_fail;
161307  }
161308  catch(...)
161309  {
161310  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161311  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161312  SWIG_fail;
161313  }
161314  }
161315  resultobj = SWIG_Py_Void();
161316  return resultobj;
161317 fail:
161318  return NULL;
161319 }
161320 
161321 
161322 SWIGINTERN PyObject *_wrap_Joint_Friction(PyObject *self, PyObject *args) {
161323  int argc;
161324  PyObject *argv[3];
161325  int ii;
161326 
161327  if (!PyTuple_Check(args)) SWIG_fail;
161328  argc = args ? (int)PyObject_Length(args) : 0;
161329  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
161330  argv[ii] = PyTuple_GET_ITEM(args,ii);
161331  }
161332  if (argc == 1) {
161333  int _v;
161334  void *vptr = 0;
161335  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
161336  _v = SWIG_CheckState(res);
161337  if (_v) {
161338  return _wrap_Joint_Friction__SWIG_0(self, args);
161339  }
161340  }
161341  if (argc == 2) {
161342  int _v;
161343  void *vptr = 0;
161344  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
161345  _v = SWIG_CheckState(res);
161346  if (_v) {
161347  void *vptr = 0;
161348  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction, 0);
161349  _v = SWIG_CheckState(res);
161350  if (_v) {
161351  return _wrap_Joint_Friction__SWIG_1(self, args);
161352  }
161353  }
161354  }
161355  if (argc == 2) {
161356  int _v;
161357  void *vptr = 0;
161358  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
161359  _v = SWIG_CheckState(res);
161360  if (_v) {
161361  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
161362  _v = SWIG_CheckState(res);
161363  if (_v) {
161364  return _wrap_Joint_Friction__SWIG_2(self, args);
161365  }
161366  }
161367  }
161368 
161369 fail:
161370  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Joint_Friction'.\n"
161371  " Possible C/C++ prototypes are:\n"
161372  " AnimatSim::Environment::Joint::Friction()\n"
161373  " AnimatSim::Environment::Joint::Friction(AnimatSim::Environment::ConstraintFriction *)\n"
161374  " AnimatSim::Environment::Joint::Friction(std::string)\n");
161375  return 0;
161376 }
161377 
161378 
161379 SWIGINTERN PyObject *_wrap_Joint_GetPositionWithinLimits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161380  PyObject *resultobj = 0;
161382  float arg2 ;
161383  void *argp1 = 0 ;
161384  int res1 = 0 ;
161385  float val2 ;
161386  int ecode2 = 0 ;
161387  PyObject * obj0 = 0 ;
161388  PyObject * obj1 = 0 ;
161389  float result;
161390 
161391  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_GetPositionWithinLimits",&obj0,&obj1)) SWIG_fail;
161392  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161393  if (!SWIG_IsOK(res1)) {
161394  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_GetPositionWithinLimits" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161395  }
161396  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161397  ecode2 = SWIG_AsVal_float(obj1, &val2);
161398  if (!SWIG_IsOK(ecode2)) {
161399  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Joint_GetPositionWithinLimits" "', argument " "2"" of type '" "float""'");
161400  }
161401  arg2 = static_cast< float >(val2);
161402  {
161403  try {
161404  result = (float)(arg1)->GetPositionWithinLimits(arg2);
161405  }
161406  catch(CStdErrorInfo oError)
161407  {
161408  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161409  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161410  PyErr_SetString(PyExc_IndexError, strError.c_str());
161411  SWIG_fail;
161412  }
161413  catch(...)
161414  {
161415  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161416  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161417  SWIG_fail;
161418  }
161419  }
161420  resultobj = SWIG_From_float(static_cast< float >(result));
161421  return resultobj;
161422 fail:
161423  return NULL;
161424 }
161425 
161426 
161427 SWIGINTERN PyObject *_wrap_Joint_GetLimitRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161428  PyObject *resultobj = 0;
161430  void *argp1 = 0 ;
161431  int res1 = 0 ;
161432  PyObject * obj0 = 0 ;
161433  float result;
161434 
161435  if (!PyArg_ParseTuple(args,(char *)"O:Joint_GetLimitRange",&obj0)) SWIG_fail;
161436  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161437  if (!SWIG_IsOK(res1)) {
161438  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_GetLimitRange" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161439  }
161440  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161441  {
161442  try {
161443  result = (float)(arg1)->GetLimitRange();
161444  }
161445  catch(CStdErrorInfo oError)
161446  {
161447  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161448  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161449  PyErr_SetString(PyExc_IndexError, strError.c_str());
161450  SWIG_fail;
161451  }
161452  catch(...)
161453  {
161454  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161455  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161456  SWIG_fail;
161457  }
161458  }
161459  resultobj = SWIG_From_float(static_cast< float >(result));
161460  return resultobj;
161461 fail:
161462  return NULL;
161463 }
161464 
161465 
161466 SWIGINTERN PyObject *_wrap_Joint_VisualSelectionType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161467  PyObject *resultobj = 0;
161469  void *argp1 = 0 ;
161470  int res1 = 0 ;
161471  PyObject * obj0 = 0 ;
161472  int result;
161473 
161474  if (!PyArg_ParseTuple(args,(char *)"O:Joint_VisualSelectionType",&obj0)) SWIG_fail;
161475  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161476  if (!SWIG_IsOK(res1)) {
161477  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_VisualSelectionType" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161478  }
161479  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161480  {
161481  try {
161482  result = (int)(arg1)->VisualSelectionType();
161483  }
161484  catch(CStdErrorInfo oError)
161485  {
161486  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161487  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161488  PyErr_SetString(PyExc_IndexError, strError.c_str());
161489  SWIG_fail;
161490  }
161491  catch(...)
161492  {
161493  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161494  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161495  SWIG_fail;
161496  }
161497  }
161498  resultobj = SWIG_From_int(static_cast< int >(result));
161499  return resultobj;
161500 fail:
161501  return NULL;
161502 }
161503 
161504 
161505 SWIGINTERN PyObject *_wrap_Joint_Child__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161506  PyObject *resultobj = 0;
161508  void *argp1 = 0 ;
161509  int res1 = 0 ;
161510  PyObject * obj0 = 0 ;
161511  RigidBody *result = 0 ;
161512 
161513  if (!PyArg_ParseTuple(args,(char *)"O:Joint_Child",&obj0)) SWIG_fail;
161514  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161515  if (!SWIG_IsOK(res1)) {
161516  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Child" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161517  }
161518  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161519  {
161520  try {
161521  result = (RigidBody *)(arg1)->Child();
161522  }
161523  catch(CStdErrorInfo oError)
161524  {
161525  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161526  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161527  PyErr_SetString(PyExc_IndexError, strError.c_str());
161528  SWIG_fail;
161529  }
161530  catch(...)
161531  {
161532  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161533  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161534  SWIG_fail;
161535  }
161536  }
161537  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RigidBody, 0 | 0 );
161538  return resultobj;
161539 fail:
161540  return NULL;
161541 }
161542 
161543 
161544 SWIGINTERN PyObject *_wrap_Joint_Child__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161545  PyObject *resultobj = 0;
161547  RigidBody *arg2 = (RigidBody *) 0 ;
161548  void *argp1 = 0 ;
161549  int res1 = 0 ;
161550  void *argp2 = 0 ;
161551  int res2 = 0 ;
161552  PyObject * obj0 = 0 ;
161553  PyObject * obj1 = 0 ;
161554 
161555  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Child",&obj0,&obj1)) SWIG_fail;
161556  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161557  if (!SWIG_IsOK(res1)) {
161558  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Child" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161559  }
161560  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161561  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RigidBody, 0 | 0 );
161562  if (!SWIG_IsOK(res2)) {
161563  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Joint_Child" "', argument " "2"" of type '" "RigidBody *""'");
161564  }
161565  arg2 = reinterpret_cast< RigidBody * >(argp2);
161566  {
161567  try {
161568  (arg1)->Child(arg2);
161569  }
161570  catch(CStdErrorInfo oError)
161571  {
161572  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161573  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161574  PyErr_SetString(PyExc_IndexError, strError.c_str());
161575  SWIG_fail;
161576  }
161577  catch(...)
161578  {
161579  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161580  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161581  SWIG_fail;
161582  }
161583  }
161584  resultobj = SWIG_Py_Void();
161585  return resultobj;
161586 fail:
161587  return NULL;
161588 }
161589 
161590 
161591 SWIGINTERN PyObject *_wrap_Joint_Child(PyObject *self, PyObject *args) {
161592  int argc;
161593  PyObject *argv[3];
161594  int ii;
161595 
161596  if (!PyTuple_Check(args)) SWIG_fail;
161597  argc = args ? (int)PyObject_Length(args) : 0;
161598  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
161599  argv[ii] = PyTuple_GET_ITEM(args,ii);
161600  }
161601  if (argc == 1) {
161602  int _v;
161603  void *vptr = 0;
161604  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
161605  _v = SWIG_CheckState(res);
161606  if (_v) {
161607  return _wrap_Joint_Child__SWIG_0(self, args);
161608  }
161609  }
161610  if (argc == 2) {
161611  int _v;
161612  void *vptr = 0;
161613  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
161614  _v = SWIG_CheckState(res);
161615  if (_v) {
161616  void *vptr = 0;
161617  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_RigidBody, 0);
161618  _v = SWIG_CheckState(res);
161619  if (_v) {
161620  return _wrap_Joint_Child__SWIG_1(self, args);
161621  }
161622  }
161623  }
161624 
161625 fail:
161626  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Joint_Child'.\n"
161627  " Possible C/C++ prototypes are:\n"
161628  " AnimatSim::Environment::Joint::Child()\n"
161629  " AnimatSim::Environment::Joint::Child(RigidBody *)\n");
161630  return 0;
161631 }
161632 
161633 
161634 SWIGINTERN PyObject *_wrap_Joint_JointPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161635  PyObject *resultobj = 0;
161637  void *argp1 = 0 ;
161638  int res1 = 0 ;
161639  PyObject * obj0 = 0 ;
161640  float result;
161641 
161642  if (!PyArg_ParseTuple(args,(char *)"O:Joint_JointPosition",&obj0)) SWIG_fail;
161643  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161644  if (!SWIG_IsOK(res1)) {
161645  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_JointPosition" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161646  }
161647  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161648  {
161649  try {
161650  result = (float)(arg1)->JointPosition();
161651  }
161652  catch(CStdErrorInfo oError)
161653  {
161654  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161655  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161656  PyErr_SetString(PyExc_IndexError, strError.c_str());
161657  SWIG_fail;
161658  }
161659  catch(...)
161660  {
161661  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161662  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161663  SWIG_fail;
161664  }
161665  }
161666  resultobj = SWIG_From_float(static_cast< float >(result));
161667  return resultobj;
161668 fail:
161669  return NULL;
161670 }
161671 
161672 
161673 SWIGINTERN PyObject *_wrap_Joint_JointPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161674  PyObject *resultobj = 0;
161676  float arg2 ;
161677  void *argp1 = 0 ;
161678  int res1 = 0 ;
161679  float val2 ;
161680  int ecode2 = 0 ;
161681  PyObject * obj0 = 0 ;
161682  PyObject * obj1 = 0 ;
161683 
161684  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_JointPosition",&obj0,&obj1)) SWIG_fail;
161685  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161686  if (!SWIG_IsOK(res1)) {
161687  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_JointPosition" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161688  }
161689  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161690  ecode2 = SWIG_AsVal_float(obj1, &val2);
161691  if (!SWIG_IsOK(ecode2)) {
161692  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Joint_JointPosition" "', argument " "2"" of type '" "float""'");
161693  }
161694  arg2 = static_cast< float >(val2);
161695  {
161696  try {
161697  (arg1)->JointPosition(arg2);
161698  }
161699  catch(CStdErrorInfo oError)
161700  {
161701  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161702  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161703  PyErr_SetString(PyExc_IndexError, strError.c_str());
161704  SWIG_fail;
161705  }
161706  catch(...)
161707  {
161708  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161709  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161710  SWIG_fail;
161711  }
161712  }
161713  resultobj = SWIG_Py_Void();
161714  return resultobj;
161715 fail:
161716  return NULL;
161717 }
161718 
161719 
161720 SWIGINTERN PyObject *_wrap_Joint_JointPosition(PyObject *self, PyObject *args) {
161721  int argc;
161722  PyObject *argv[3];
161723  int ii;
161724 
161725  if (!PyTuple_Check(args)) SWIG_fail;
161726  argc = args ? (int)PyObject_Length(args) : 0;
161727  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
161728  argv[ii] = PyTuple_GET_ITEM(args,ii);
161729  }
161730  if (argc == 1) {
161731  int _v;
161732  void *vptr = 0;
161733  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
161734  _v = SWIG_CheckState(res);
161735  if (_v) {
161736  return _wrap_Joint_JointPosition__SWIG_0(self, args);
161737  }
161738  }
161739  if (argc == 2) {
161740  int _v;
161741  void *vptr = 0;
161742  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
161743  _v = SWIG_CheckState(res);
161744  if (_v) {
161745  {
161746  int res = SWIG_AsVal_float(argv[1], NULL);
161747  _v = SWIG_CheckState(res);
161748  }
161749  if (_v) {
161750  return _wrap_Joint_JointPosition__SWIG_1(self, args);
161751  }
161752  }
161753  }
161754 
161755 fail:
161756  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Joint_JointPosition'.\n"
161757  " Possible C/C++ prototypes are:\n"
161758  " AnimatSim::Environment::Joint::JointPosition()\n"
161759  " AnimatSim::Environment::Joint::JointPosition(float)\n");
161760  return 0;
161761 }
161762 
161763 
161764 SWIGINTERN PyObject *_wrap_Joint_JointVelocity__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161765  PyObject *resultobj = 0;
161767  void *argp1 = 0 ;
161768  int res1 = 0 ;
161769  PyObject * obj0 = 0 ;
161770  float result;
161771 
161772  if (!PyArg_ParseTuple(args,(char *)"O:Joint_JointVelocity",&obj0)) SWIG_fail;
161773  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161774  if (!SWIG_IsOK(res1)) {
161775  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_JointVelocity" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161776  }
161777  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161778  {
161779  try {
161780  result = (float)(arg1)->JointVelocity();
161781  }
161782  catch(CStdErrorInfo oError)
161783  {
161784  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161785  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161786  PyErr_SetString(PyExc_IndexError, strError.c_str());
161787  SWIG_fail;
161788  }
161789  catch(...)
161790  {
161791  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161792  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161793  SWIG_fail;
161794  }
161795  }
161796  resultobj = SWIG_From_float(static_cast< float >(result));
161797  return resultobj;
161798 fail:
161799  return NULL;
161800 }
161801 
161802 
161803 SWIGINTERN PyObject *_wrap_Joint_JointVelocity__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161804  PyObject *resultobj = 0;
161806  float arg2 ;
161807  void *argp1 = 0 ;
161808  int res1 = 0 ;
161809  float val2 ;
161810  int ecode2 = 0 ;
161811  PyObject * obj0 = 0 ;
161812  PyObject * obj1 = 0 ;
161813 
161814  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_JointVelocity",&obj0,&obj1)) SWIG_fail;
161815  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161816  if (!SWIG_IsOK(res1)) {
161817  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_JointVelocity" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161818  }
161819  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161820  ecode2 = SWIG_AsVal_float(obj1, &val2);
161821  if (!SWIG_IsOK(ecode2)) {
161822  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Joint_JointVelocity" "', argument " "2"" of type '" "float""'");
161823  }
161824  arg2 = static_cast< float >(val2);
161825  {
161826  try {
161827  (arg1)->JointVelocity(arg2);
161828  }
161829  catch(CStdErrorInfo oError)
161830  {
161831  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161832  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161833  PyErr_SetString(PyExc_IndexError, strError.c_str());
161834  SWIG_fail;
161835  }
161836  catch(...)
161837  {
161838  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161839  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161840  SWIG_fail;
161841  }
161842  }
161843  resultobj = SWIG_Py_Void();
161844  return resultobj;
161845 fail:
161846  return NULL;
161847 }
161848 
161849 
161850 SWIGINTERN PyObject *_wrap_Joint_JointVelocity(PyObject *self, PyObject *args) {
161851  int argc;
161852  PyObject *argv[3];
161853  int ii;
161854 
161855  if (!PyTuple_Check(args)) SWIG_fail;
161856  argc = args ? (int)PyObject_Length(args) : 0;
161857  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
161858  argv[ii] = PyTuple_GET_ITEM(args,ii);
161859  }
161860  if (argc == 1) {
161861  int _v;
161862  void *vptr = 0;
161863  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
161864  _v = SWIG_CheckState(res);
161865  if (_v) {
161866  return _wrap_Joint_JointVelocity__SWIG_0(self, args);
161867  }
161868  }
161869  if (argc == 2) {
161870  int _v;
161871  void *vptr = 0;
161872  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
161873  _v = SWIG_CheckState(res);
161874  if (_v) {
161875  {
161876  int res = SWIG_AsVal_float(argv[1], NULL);
161877  _v = SWIG_CheckState(res);
161878  }
161879  if (_v) {
161880  return _wrap_Joint_JointVelocity__SWIG_1(self, args);
161881  }
161882  }
161883  }
161884 
161885 fail:
161886  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Joint_JointVelocity'.\n"
161887  " Possible C/C++ prototypes are:\n"
161888  " AnimatSim::Environment::Joint::JointVelocity()\n"
161889  " AnimatSim::Environment::Joint::JointVelocity(float)\n");
161890  return 0;
161891 }
161892 
161893 
161894 SWIGINTERN PyObject *_wrap_Joint_JointForce__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161895  PyObject *resultobj = 0;
161897  void *argp1 = 0 ;
161898  int res1 = 0 ;
161899  PyObject * obj0 = 0 ;
161900  float result;
161901 
161902  if (!PyArg_ParseTuple(args,(char *)"O:Joint_JointForce",&obj0)) SWIG_fail;
161903  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161904  if (!SWIG_IsOK(res1)) {
161905  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_JointForce" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161906  }
161907  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161908  {
161909  try {
161910  result = (float)(arg1)->JointForce();
161911  }
161912  catch(CStdErrorInfo oError)
161913  {
161914  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161915  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161916  PyErr_SetString(PyExc_IndexError, strError.c_str());
161917  SWIG_fail;
161918  }
161919  catch(...)
161920  {
161921  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161922  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161923  SWIG_fail;
161924  }
161925  }
161926  resultobj = SWIG_From_float(static_cast< float >(result));
161927  return resultobj;
161928 fail:
161929  return NULL;
161930 }
161931 
161932 
161933 SWIGINTERN PyObject *_wrap_Joint_JointForce__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
161934  PyObject *resultobj = 0;
161936  float arg2 ;
161937  void *argp1 = 0 ;
161938  int res1 = 0 ;
161939  float val2 ;
161940  int ecode2 = 0 ;
161941  PyObject * obj0 = 0 ;
161942  PyObject * obj1 = 0 ;
161943 
161944  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_JointForce",&obj0,&obj1)) SWIG_fail;
161945  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
161946  if (!SWIG_IsOK(res1)) {
161947  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_JointForce" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
161948  }
161949  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
161950  ecode2 = SWIG_AsVal_float(obj1, &val2);
161951  if (!SWIG_IsOK(ecode2)) {
161952  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Joint_JointForce" "', argument " "2"" of type '" "float""'");
161953  }
161954  arg2 = static_cast< float >(val2);
161955  {
161956  try {
161957  (arg1)->JointForce(arg2);
161958  }
161959  catch(CStdErrorInfo oError)
161960  {
161961  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161962  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
161963  PyErr_SetString(PyExc_IndexError, strError.c_str());
161964  SWIG_fail;
161965  }
161966  catch(...)
161967  {
161968  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
161969  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
161970  SWIG_fail;
161971  }
161972  }
161973  resultobj = SWIG_Py_Void();
161974  return resultobj;
161975 fail:
161976  return NULL;
161977 }
161978 
161979 
161980 SWIGINTERN PyObject *_wrap_Joint_JointForce(PyObject *self, PyObject *args) {
161981  int argc;
161982  PyObject *argv[3];
161983  int ii;
161984 
161985  if (!PyTuple_Check(args)) SWIG_fail;
161986  argc = args ? (int)PyObject_Length(args) : 0;
161987  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
161988  argv[ii] = PyTuple_GET_ITEM(args,ii);
161989  }
161990  if (argc == 1) {
161991  int _v;
161992  void *vptr = 0;
161993  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
161994  _v = SWIG_CheckState(res);
161995  if (_v) {
161996  return _wrap_Joint_JointForce__SWIG_0(self, args);
161997  }
161998  }
161999  if (argc == 2) {
162000  int _v;
162001  void *vptr = 0;
162002  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
162003  _v = SWIG_CheckState(res);
162004  if (_v) {
162005  {
162006  int res = SWIG_AsVal_float(argv[1], NULL);
162007  _v = SWIG_CheckState(res);
162008  }
162009  if (_v) {
162010  return _wrap_Joint_JointForce__SWIG_1(self, args);
162011  }
162012  }
162013  }
162014 
162015 fail:
162016  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Joint_JointForce'.\n"
162017  " Possible C/C++ prototypes are:\n"
162018  " AnimatSim::Environment::Joint::JointForce()\n"
162019  " AnimatSim::Environment::Joint::JointForce(float)\n");
162020  return 0;
162021 }
162022 
162023 
162024 SWIGINTERN PyObject *_wrap_Joint_WakeDynamics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162025  PyObject *resultobj = 0;
162027  void *argp1 = 0 ;
162028  int res1 = 0 ;
162029  PyObject * obj0 = 0 ;
162030 
162031  if (!PyArg_ParseTuple(args,(char *)"O:Joint_WakeDynamics",&obj0)) SWIG_fail;
162032  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
162033  if (!SWIG_IsOK(res1)) {
162034  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_WakeDynamics" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
162035  }
162036  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
162037  {
162038  try {
162039  (arg1)->WakeDynamics();
162040  }
162041  catch(CStdErrorInfo oError)
162042  {
162043  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162044  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162045  PyErr_SetString(PyExc_IndexError, strError.c_str());
162046  SWIG_fail;
162047  }
162048  catch(...)
162049  {
162050  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162051  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162052  SWIG_fail;
162053  }
162054  }
162055  resultobj = SWIG_Py_Void();
162056  return resultobj;
162057 fail:
162058  return NULL;
162059 }
162060 
162061 
162062 SWIGINTERN PyObject *_wrap_Joint_CreateJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162063  PyObject *resultobj = 0;
162065  void *argp1 = 0 ;
162066  int res1 = 0 ;
162067  PyObject * obj0 = 0 ;
162068 
162069  if (!PyArg_ParseTuple(args,(char *)"O:Joint_CreateJoint",&obj0)) SWIG_fail;
162070  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
162071  if (!SWIG_IsOK(res1)) {
162072  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_CreateJoint" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
162073  }
162074  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
162075  {
162076  try {
162077  (arg1)->CreateJoint();
162078  }
162079  catch(CStdErrorInfo oError)
162080  {
162081  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162082  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162083  PyErr_SetString(PyExc_IndexError, strError.c_str());
162084  SWIG_fail;
162085  }
162086  catch(...)
162087  {
162088  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162089  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162090  SWIG_fail;
162091  }
162092  }
162093  resultobj = SWIG_Py_Void();
162094  return resultobj;
162095 fail:
162096  return NULL;
162097 }
162098 
162099 
162100 SWIGINTERN PyObject *_wrap_Joint_UpdatePhysicsPosFromGraphics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162101  PyObject *resultobj = 0;
162103  void *argp1 = 0 ;
162104  int res1 = 0 ;
162105  PyObject * obj0 = 0 ;
162106 
162107  if (!PyArg_ParseTuple(args,(char *)"O:Joint_UpdatePhysicsPosFromGraphics",&obj0)) SWIG_fail;
162108  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
162109  if (!SWIG_IsOK(res1)) {
162110  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_UpdatePhysicsPosFromGraphics" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
162111  }
162112  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
162113  {
162114  try {
162115  (arg1)->UpdatePhysicsPosFromGraphics();
162116  }
162117  catch(CStdErrorInfo oError)
162118  {
162119  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162120  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162121  PyErr_SetString(PyExc_IndexError, strError.c_str());
162122  SWIG_fail;
162123  }
162124  catch(...)
162125  {
162126  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162127  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162128  SWIG_fail;
162129  }
162130  }
162131  resultobj = SWIG_Py_Void();
162132  return resultobj;
162133 fail:
162134  return NULL;
162135 }
162136 
162137 
162138 SWIGINTERN PyObject *_wrap_Joint_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162139  PyObject *resultobj = 0;
162141  void *argp1 = 0 ;
162142  int res1 = 0 ;
162143  PyObject * obj0 = 0 ;
162144 
162145  if (!PyArg_ParseTuple(args,(char *)"O:Joint_Initialize",&obj0)) SWIG_fail;
162146  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
162147  if (!SWIG_IsOK(res1)) {
162148  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Initialize" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
162149  }
162150  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
162151  {
162152  try {
162153  (arg1)->Initialize();
162154  }
162155  catch(CStdErrorInfo oError)
162156  {
162157  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162158  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162159  PyErr_SetString(PyExc_IndexError, strError.c_str());
162160  SWIG_fail;
162161  }
162162  catch(...)
162163  {
162164  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162165  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162166  SWIG_fail;
162167  }
162168  }
162169  resultobj = SWIG_Py_Void();
162170  return resultobj;
162171 fail:
162172  return NULL;
162173 }
162174 
162175 
162176 SWIGINTERN PyObject *_wrap_Joint_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162177  PyObject *resultobj = 0;
162179  std::string *arg2 = 0 ;
162180  void *argp1 = 0 ;
162181  int res1 = 0 ;
162182  int res2 = SWIG_OLDOBJ ;
162183  PyObject * obj0 = 0 ;
162184  PyObject * obj1 = 0 ;
162185  float *result = 0 ;
162186 
162187  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_GetDataPointer",&obj0,&obj1)) SWIG_fail;
162188  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
162189  if (!SWIG_IsOK(res1)) {
162190  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
162191  }
162192  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
162193  {
162194  std::string *ptr = (std::string *)0;
162195  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
162196  if (!SWIG_IsOK(res2)) {
162197  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Joint_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
162198  }
162199  if (!ptr) {
162200  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Joint_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
162201  }
162202  arg2 = ptr;
162203  }
162204  {
162205  try {
162206  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
162207  }
162208  catch(CStdErrorInfo oError)
162209  {
162210  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162211  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162212  PyErr_SetString(PyExc_IndexError, strError.c_str());
162213  SWIG_fail;
162214  }
162215  catch(...)
162216  {
162217  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162218  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162219  SWIG_fail;
162220  }
162221  }
162222  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
162223  if (SWIG_IsNewObj(res2)) delete arg2;
162224  return resultobj;
162225 fail:
162226  if (SWIG_IsNewObj(res2)) delete arg2;
162227  return NULL;
162228 }
162229 
162230 
162231 SWIGINTERN PyObject *_wrap_Joint_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162232  PyObject *resultobj = 0;
162234  std::string *arg2 = 0 ;
162235  std::string *arg3 = 0 ;
162236  bool arg4 ;
162237  void *argp1 = 0 ;
162238  int res1 = 0 ;
162239  int res2 = SWIG_OLDOBJ ;
162240  int res3 = SWIG_OLDOBJ ;
162241  bool val4 ;
162242  int ecode4 = 0 ;
162243  PyObject * obj0 = 0 ;
162244  PyObject * obj1 = 0 ;
162245  PyObject * obj2 = 0 ;
162246  PyObject * obj3 = 0 ;
162247  bool result;
162248 
162249  if (!PyArg_ParseTuple(args,(char *)"OOOO:Joint_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
162250  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
162251  if (!SWIG_IsOK(res1)) {
162252  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
162253  }
162254  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
162255  {
162256  std::string *ptr = (std::string *)0;
162257  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
162258  if (!SWIG_IsOK(res2)) {
162259  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Joint_SetData" "', argument " "2"" of type '" "std::string const &""'");
162260  }
162261  if (!ptr) {
162262  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Joint_SetData" "', argument " "2"" of type '" "std::string const &""'");
162263  }
162264  arg2 = ptr;
162265  }
162266  {
162267  std::string *ptr = (std::string *)0;
162268  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
162269  if (!SWIG_IsOK(res3)) {
162270  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Joint_SetData" "', argument " "3"" of type '" "std::string const &""'");
162271  }
162272  if (!ptr) {
162273  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Joint_SetData" "', argument " "3"" of type '" "std::string const &""'");
162274  }
162275  arg3 = ptr;
162276  }
162277  ecode4 = SWIG_AsVal_bool(obj3, &val4);
162278  if (!SWIG_IsOK(ecode4)) {
162279  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Joint_SetData" "', argument " "4"" of type '" "bool""'");
162280  }
162281  arg4 = static_cast< bool >(val4);
162282  {
162283  try {
162284  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
162285  }
162286  catch(CStdErrorInfo oError)
162287  {
162288  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162289  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162290  PyErr_SetString(PyExc_IndexError, strError.c_str());
162291  SWIG_fail;
162292  }
162293  catch(...)
162294  {
162295  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162296  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162297  SWIG_fail;
162298  }
162299  }
162300  resultobj = SWIG_From_bool(static_cast< bool >(result));
162301  if (SWIG_IsNewObj(res2)) delete arg2;
162302  if (SWIG_IsNewObj(res3)) delete arg3;
162303  return resultobj;
162304 fail:
162305  if (SWIG_IsNewObj(res2)) delete arg2;
162306  if (SWIG_IsNewObj(res3)) delete arg3;
162307  return NULL;
162308 }
162309 
162310 
162311 SWIGINTERN PyObject *_wrap_Joint_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162312  PyObject *resultobj = 0;
162314  std::string *arg2 = 0 ;
162315  std::string *arg3 = 0 ;
162316  void *argp1 = 0 ;
162317  int res1 = 0 ;
162318  int res2 = SWIG_OLDOBJ ;
162319  int res3 = SWIG_OLDOBJ ;
162320  PyObject * obj0 = 0 ;
162321  PyObject * obj1 = 0 ;
162322  PyObject * obj2 = 0 ;
162323  bool result;
162324 
162325  if (!PyArg_ParseTuple(args,(char *)"OOO:Joint_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
162326  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
162327  if (!SWIG_IsOK(res1)) {
162328  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
162329  }
162330  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
162331  {
162332  std::string *ptr = (std::string *)0;
162333  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
162334  if (!SWIG_IsOK(res2)) {
162335  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Joint_SetData" "', argument " "2"" of type '" "std::string const &""'");
162336  }
162337  if (!ptr) {
162338  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Joint_SetData" "', argument " "2"" of type '" "std::string const &""'");
162339  }
162340  arg2 = ptr;
162341  }
162342  {
162343  std::string *ptr = (std::string *)0;
162344  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
162345  if (!SWIG_IsOK(res3)) {
162346  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Joint_SetData" "', argument " "3"" of type '" "std::string const &""'");
162347  }
162348  if (!ptr) {
162349  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Joint_SetData" "', argument " "3"" of type '" "std::string const &""'");
162350  }
162351  arg3 = ptr;
162352  }
162353  {
162354  try {
162355  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
162356  }
162357  catch(CStdErrorInfo oError)
162358  {
162359  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162360  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162361  PyErr_SetString(PyExc_IndexError, strError.c_str());
162362  SWIG_fail;
162363  }
162364  catch(...)
162365  {
162366  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162367  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162368  SWIG_fail;
162369  }
162370  }
162371  resultobj = SWIG_From_bool(static_cast< bool >(result));
162372  if (SWIG_IsNewObj(res2)) delete arg2;
162373  if (SWIG_IsNewObj(res3)) delete arg3;
162374  return resultobj;
162375 fail:
162376  if (SWIG_IsNewObj(res2)) delete arg2;
162377  if (SWIG_IsNewObj(res3)) delete arg3;
162378  return NULL;
162379 }
162380 
162381 
162382 SWIGINTERN PyObject *_wrap_Joint_SetData(PyObject *self, PyObject *args) {
162383  int argc;
162384  PyObject *argv[5];
162385  int ii;
162386 
162387  if (!PyTuple_Check(args)) SWIG_fail;
162388  argc = args ? (int)PyObject_Length(args) : 0;
162389  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
162390  argv[ii] = PyTuple_GET_ITEM(args,ii);
162391  }
162392  if (argc == 3) {
162393  int _v;
162394  void *vptr = 0;
162395  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
162396  _v = SWIG_CheckState(res);
162397  if (_v) {
162398  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
162399  _v = SWIG_CheckState(res);
162400  if (_v) {
162401  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
162402  _v = SWIG_CheckState(res);
162403  if (_v) {
162404  return _wrap_Joint_SetData__SWIG_1(self, args);
162405  }
162406  }
162407  }
162408  }
162409  if (argc == 4) {
162410  int _v;
162411  void *vptr = 0;
162412  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
162413  _v = SWIG_CheckState(res);
162414  if (_v) {
162415  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
162416  _v = SWIG_CheckState(res);
162417  if (_v) {
162418  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
162419  _v = SWIG_CheckState(res);
162420  if (_v) {
162421  {
162422  int res = SWIG_AsVal_bool(argv[3], NULL);
162423  _v = SWIG_CheckState(res);
162424  }
162425  if (_v) {
162426  return _wrap_Joint_SetData__SWIG_0(self, args);
162427  }
162428  }
162429  }
162430  }
162431  }
162432 
162433 fail:
162434  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Joint_SetData'.\n"
162435  " Possible C/C++ prototypes are:\n"
162436  " AnimatSim::Environment::Joint::SetData(std::string const &,std::string const &,bool)\n"
162437  " AnimatSim::Environment::Joint::SetData(std::string const &,std::string const &)\n");
162438  return 0;
162439 }
162440 
162441 
162442 SWIGINTERN PyObject *_wrap_Joint_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162443  PyObject *resultobj = 0;
162445  CStdPtrArray< TypeProperty > *arg2 = 0 ;
162446  void *argp1 = 0 ;
162447  int res1 = 0 ;
162448  void *argp2 = 0 ;
162449  int res2 = 0 ;
162450  PyObject * obj0 = 0 ;
162451  PyObject * obj1 = 0 ;
162452 
162453  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_QueryProperties",&obj0,&obj1)) SWIG_fail;
162454  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
162455  if (!SWIG_IsOK(res1)) {
162456  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
162457  }
162458  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
162459  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
162460  if (!SWIG_IsOK(res2)) {
162461  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Joint_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
162462  }
162463  if (!argp2) {
162464  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Joint_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
162465  }
162466  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
162467  {
162468  try {
162469  (arg1)->QueryProperties(*arg2);
162470  }
162471  catch(CStdErrorInfo oError)
162472  {
162473  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162474  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162475  PyErr_SetString(PyExc_IndexError, strError.c_str());
162476  SWIG_fail;
162477  }
162478  catch(...)
162479  {
162480  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162481  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162482  SWIG_fail;
162483  }
162484  }
162485  resultobj = SWIG_Py_Void();
162486  return resultobj;
162487 fail:
162488  return NULL;
162489 }
162490 
162491 
162492 SWIGINTERN PyObject *_wrap_Joint_AddExternalNodeInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162493  PyObject *resultobj = 0;
162495  int arg2 ;
162496  float arg3 ;
162497  void *argp1 = 0 ;
162498  int res1 = 0 ;
162499  int val2 ;
162500  int ecode2 = 0 ;
162501  float val3 ;
162502  int ecode3 = 0 ;
162503  PyObject * obj0 = 0 ;
162504  PyObject * obj1 = 0 ;
162505  PyObject * obj2 = 0 ;
162506 
162507  if (!PyArg_ParseTuple(args,(char *)"OOO:Joint_AddExternalNodeInput",&obj0,&obj1,&obj2)) SWIG_fail;
162508  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
162509  if (!SWIG_IsOK(res1)) {
162510  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_AddExternalNodeInput" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
162511  }
162512  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
162513  ecode2 = SWIG_AsVal_int(obj1, &val2);
162514  if (!SWIG_IsOK(ecode2)) {
162515  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Joint_AddExternalNodeInput" "', argument " "2"" of type '" "int""'");
162516  }
162517  arg2 = static_cast< int >(val2);
162518  ecode3 = SWIG_AsVal_float(obj2, &val3);
162519  if (!SWIG_IsOK(ecode3)) {
162520  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Joint_AddExternalNodeInput" "', argument " "3"" of type '" "float""'");
162521  }
162522  arg3 = static_cast< float >(val3);
162523  {
162524  try {
162525  (arg1)->AddExternalNodeInput(arg2,arg3);
162526  }
162527  catch(CStdErrorInfo oError)
162528  {
162529  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162530  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162531  PyErr_SetString(PyExc_IndexError, strError.c_str());
162532  SWIG_fail;
162533  }
162534  catch(...)
162535  {
162536  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162537  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162538  SWIG_fail;
162539  }
162540  }
162541  resultobj = SWIG_Py_Void();
162542  return resultobj;
162543 fail:
162544  return NULL;
162545 }
162546 
162547 
162548 SWIGINTERN PyObject *_wrap_Joint_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162549  PyObject *resultobj = 0;
162551  void *argp1 = 0 ;
162552  int res1 = 0 ;
162553  PyObject * obj0 = 0 ;
162554 
162555  if (!PyArg_ParseTuple(args,(char *)"O:Joint_ResetSimulation",&obj0)) SWIG_fail;
162556  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
162557  if (!SWIG_IsOK(res1)) {
162558  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
162559  }
162560  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
162561  {
162562  try {
162563  (arg1)->ResetSimulation();
162564  }
162565  catch(CStdErrorInfo oError)
162566  {
162567  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162568  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162569  PyErr_SetString(PyExc_IndexError, strError.c_str());
162570  SWIG_fail;
162571  }
162572  catch(...)
162573  {
162574  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162575  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162576  SWIG_fail;
162577  }
162578  }
162579  resultobj = SWIG_Py_Void();
162580  return resultobj;
162581 fail:
162582  return NULL;
162583 }
162584 
162585 
162586 SWIGINTERN PyObject *_wrap_Joint_AfterResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162587  PyObject *resultobj = 0;
162589  void *argp1 = 0 ;
162590  int res1 = 0 ;
162591  PyObject * obj0 = 0 ;
162592 
162593  if (!PyArg_ParseTuple(args,(char *)"O:Joint_AfterResetSimulation",&obj0)) SWIG_fail;
162594  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
162595  if (!SWIG_IsOK(res1)) {
162596  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_AfterResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
162597  }
162598  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
162599  {
162600  try {
162601  (arg1)->AfterResetSimulation();
162602  }
162603  catch(CStdErrorInfo oError)
162604  {
162605  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162606  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162607  PyErr_SetString(PyExc_IndexError, strError.c_str());
162608  SWIG_fail;
162609  }
162610  catch(...)
162611  {
162612  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162613  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162614  SWIG_fail;
162615  }
162616  }
162617  resultobj = SWIG_Py_Void();
162618  return resultobj;
162619 fail:
162620  return NULL;
162621 }
162622 
162623 
162624 SWIGINTERN PyObject *_wrap_Joint_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162625  PyObject *resultobj = 0;
162627  void *argp1 = 0 ;
162628  int res1 = 0 ;
162629  PyObject * obj0 = 0 ;
162630 
162631  if (!PyArg_ParseTuple(args,(char *)"O:Joint_StepSimulation",&obj0)) SWIG_fail;
162632  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
162633  if (!SWIG_IsOK(res1)) {
162634  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
162635  }
162636  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
162637  {
162638  try {
162639  (arg1)->StepSimulation();
162640  }
162641  catch(CStdErrorInfo oError)
162642  {
162643  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162644  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162645  PyErr_SetString(PyExc_IndexError, strError.c_str());
162646  SWIG_fail;
162647  }
162648  catch(...)
162649  {
162650  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162651  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162652  SWIG_fail;
162653  }
162654  }
162655  resultobj = SWIG_Py_Void();
162656  return resultobj;
162657 fail:
162658  return NULL;
162659 }
162660 
162661 
162662 SWIGINTERN PyObject *_wrap_Joint_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162663  PyObject *resultobj = 0;
162665  CStdXml *arg2 = 0 ;
162666  void *argp1 = 0 ;
162667  int res1 = 0 ;
162668  void *argp2 = 0 ;
162669  int res2 = 0 ;
162670  PyObject * obj0 = 0 ;
162671  PyObject * obj1 = 0 ;
162672 
162673  if (!PyArg_ParseTuple(args,(char *)"OO:Joint_Load",&obj0,&obj1)) SWIG_fail;
162674  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
162675  if (!SWIG_IsOK(res1)) {
162676  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Joint_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Joint *""'");
162677  }
162678  arg1 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp1);
162679  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
162680  if (!SWIG_IsOK(res2)) {
162681  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Joint_Load" "', argument " "2"" of type '" "CStdXml &""'");
162682  }
162683  if (!argp2) {
162684  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Joint_Load" "', argument " "2"" of type '" "CStdXml &""'");
162685  }
162686  arg2 = reinterpret_cast< CStdXml * >(argp2);
162687  {
162688  try {
162689  (arg1)->Load(*arg2);
162690  }
162691  catch(CStdErrorInfo oError)
162692  {
162693  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162694  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162695  PyErr_SetString(PyExc_IndexError, strError.c_str());
162696  SWIG_fail;
162697  }
162698  catch(...)
162699  {
162700  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162701  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162702  SWIG_fail;
162703  }
162704  }
162705  resultobj = SWIG_Py_Void();
162706  return resultobj;
162707 fail:
162708  return NULL;
162709 }
162710 
162711 
162712 SWIGINTERN PyObject *Joint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162713  PyObject *obj;
162714  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
162715  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Joint, SWIG_NewClientData(obj));
162716  return SWIG_Py_Void();
162717 }
162718 
162719 SWIGINTERN PyObject *VelocityControl_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162720  PyObject *module;
162721  PyObject *d;
162722  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
162723  d = PyModule_GetDict(module);
162724  if (!d) return NULL;
162725  SWIG_Python_SetConstant(d, "VelocityControl",SWIG_From_int(static_cast< int >(AnimatSim::Environment::VelocityControl)));
162726  return SWIG_Py_Void();
162727 }
162728 
162729 
162730 SWIGINTERN PyObject *PositionControl_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162731  PyObject *module;
162732  PyObject *d;
162733  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
162734  d = PyModule_GetDict(module);
162735  if (!d) return NULL;
162736  SWIG_Python_SetConstant(d, "PositionControl",SWIG_From_int(static_cast< int >(AnimatSim::Environment::PositionControl)));
162737  return SWIG_Py_Void();
162738 }
162739 
162740 
162741 SWIGINTERN PyObject *PositionVelocityControl_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162742  PyObject *module;
162743  PyObject *d;
162744  if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
162745  d = PyModule_GetDict(module);
162746  if (!d) return NULL;
162747  SWIG_Python_SetConstant(d, "PositionVelocityControl",SWIG_From_int(static_cast< int >(AnimatSim::Environment::PositionVelocityControl)));
162748  return SWIG_Py_Void();
162749 }
162750 
162751 
162752 SWIGINTERN PyObject *_wrap_new_MotorizedJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162753  PyObject *resultobj = 0;
162755 
162756  if (!PyArg_ParseTuple(args,(char *)":new_MotorizedJoint")) SWIG_fail;
162757  {
162758  try {
162760  }
162761  catch(CStdErrorInfo oError)
162762  {
162763  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162764  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162765  PyErr_SetString(PyExc_IndexError, strError.c_str());
162766  SWIG_fail;
162767  }
162768  catch(...)
162769  {
162770  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162771  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162772  SWIG_fail;
162773  }
162774  }
162775  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, SWIG_POINTER_NEW | 0 );
162776  return resultobj;
162777 fail:
162778  return NULL;
162779 }
162780 
162781 
162782 SWIGINTERN PyObject *_wrap_delete_MotorizedJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162783  PyObject *resultobj = 0;
162785  void *argp1 = 0 ;
162786  int res1 = 0 ;
162787  PyObject * obj0 = 0 ;
162788 
162789  if (!PyArg_ParseTuple(args,(char *)"O:delete_MotorizedJoint",&obj0)) SWIG_fail;
162790  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, SWIG_POINTER_DISOWN | 0 );
162791  if (!SWIG_IsOK(res1)) {
162792  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MotorizedJoint" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
162793  }
162794  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
162795  {
162796  try {
162797  delete arg1;
162798  }
162799  catch(CStdErrorInfo oError)
162800  {
162801  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162802  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162803  PyErr_SetString(PyExc_IndexError, strError.c_str());
162804  SWIG_fail;
162805  }
162806  catch(...)
162807  {
162808  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162809  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162810  SWIG_fail;
162811  }
162812  }
162813  resultobj = SWIG_Py_Void();
162814  return resultobj;
162815 fail:
162816  return NULL;
162817 }
162818 
162819 
162820 SWIGINTERN PyObject *_wrap_MotorizedJoint_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162821  PyObject *resultobj = 0;
162823  void *argp1 = 0 ;
162824  int res1 = 0 ;
162825  PyObject * obj0 = 0 ;
162827 
162828  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_CastToDerived",&obj0)) SWIG_fail;
162829  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
162830  if (!SWIG_IsOK(res1)) {
162831  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
162832  }
162833  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
162834  {
162835  try {
162836  result = (AnimatSim::Environment::MotorizedJoint *)AnimatSim::Environment::MotorizedJoint::CastToDerived(arg1);
162837  }
162838  catch(CStdErrorInfo oError)
162839  {
162840  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162841  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162842  PyErr_SetString(PyExc_IndexError, strError.c_str());
162843  SWIG_fail;
162844  }
162845  catch(...)
162846  {
162847  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162848  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162849  SWIG_fail;
162850  }
162851  }
162852  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
162853  return resultobj;
162854 fail:
162855  return NULL;
162856 }
162857 
162858 
162859 SWIGINTERN PyObject *_wrap_MotorizedJoint_PhysicsMotorJoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162860  PyObject *resultobj = 0;
162862  void *argp1 = 0 ;
162863  int res1 = 0 ;
162864  PyObject * obj0 = 0 ;
162866 
162867  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_PhysicsMotorJoint",&obj0)) SWIG_fail;
162868  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
162869  if (!SWIG_IsOK(res1)) {
162870  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_PhysicsMotorJoint" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
162871  }
162872  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
162873  {
162874  try {
162875  result = (AnimatSim::Environment::IMotorizedJoint *)(arg1)->PhysicsMotorJoint();
162876  }
162877  catch(CStdErrorInfo oError)
162878  {
162879  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162880  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162881  PyErr_SetString(PyExc_IndexError, strError.c_str());
162882  SWIG_fail;
162883  }
162884  catch(...)
162885  {
162886  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162887  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162888  SWIG_fail;
162889  }
162890  }
162891  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__IMotorizedJoint, 0 | 0 );
162892  return resultobj;
162893 fail:
162894  return NULL;
162895 }
162896 
162897 
162898 SWIGINTERN PyObject *_wrap_MotorizedJoint_PhysicsMotorJoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162899  PyObject *resultobj = 0;
162902  void *argp1 = 0 ;
162903  int res1 = 0 ;
162904  void *argp2 = 0 ;
162905  int res2 = 0 ;
162906  PyObject * obj0 = 0 ;
162907  PyObject * obj1 = 0 ;
162908 
162909  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_PhysicsMotorJoint",&obj0,&obj1)) SWIG_fail;
162910  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
162911  if (!SWIG_IsOK(res1)) {
162912  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_PhysicsMotorJoint" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
162913  }
162914  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
162915  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__IMotorizedJoint, 0 | 0 );
162916  if (!SWIG_IsOK(res2)) {
162917  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_PhysicsMotorJoint" "', argument " "2"" of type '" "AnimatSim::Environment::IMotorizedJoint *""'");
162918  }
162919  arg2 = reinterpret_cast< AnimatSim::Environment::IMotorizedJoint * >(argp2);
162920  {
162921  try {
162922  (arg1)->PhysicsMotorJoint(arg2);
162923  }
162924  catch(CStdErrorInfo oError)
162925  {
162926  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162927  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
162928  PyErr_SetString(PyExc_IndexError, strError.c_str());
162929  SWIG_fail;
162930  }
162931  catch(...)
162932  {
162933  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
162934  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
162935  SWIG_fail;
162936  }
162937  }
162938  resultobj = SWIG_Py_Void();
162939  return resultobj;
162940 fail:
162941  return NULL;
162942 }
162943 
162944 
162945 SWIGINTERN PyObject *_wrap_MotorizedJoint_PhysicsMotorJoint(PyObject *self, PyObject *args) {
162946  int argc;
162947  PyObject *argv[3];
162948  int ii;
162949 
162950  if (!PyTuple_Check(args)) SWIG_fail;
162951  argc = args ? (int)PyObject_Length(args) : 0;
162952  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
162953  argv[ii] = PyTuple_GET_ITEM(args,ii);
162954  }
162955  if (argc == 1) {
162956  int _v;
162957  void *vptr = 0;
162958  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
162959  _v = SWIG_CheckState(res);
162960  if (_v) {
162961  return _wrap_MotorizedJoint_PhysicsMotorJoint__SWIG_0(self, args);
162962  }
162963  }
162964  if (argc == 2) {
162965  int _v;
162966  void *vptr = 0;
162967  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
162968  _v = SWIG_CheckState(res);
162969  if (_v) {
162970  void *vptr = 0;
162971  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Environment__IMotorizedJoint, 0);
162972  _v = SWIG_CheckState(res);
162973  if (_v) {
162974  return _wrap_MotorizedJoint_PhysicsMotorJoint__SWIG_1(self, args);
162975  }
162976  }
162977  }
162978 
162979 fail:
162980  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_PhysicsMotorJoint'.\n"
162981  " Possible C/C++ prototypes are:\n"
162982  " AnimatSim::Environment::MotorizedJoint::PhysicsMotorJoint()\n"
162983  " AnimatSim::Environment::MotorizedJoint::PhysicsMotorJoint(AnimatSim::Environment::IMotorizedJoint *)\n");
162984  return 0;
162985 }
162986 
162987 
162988 SWIGINTERN PyObject *_wrap_MotorizedJoint_EnableMotor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
162989  PyObject *resultobj = 0;
162991  void *argp1 = 0 ;
162992  int res1 = 0 ;
162993  PyObject * obj0 = 0 ;
162994  bool result;
162995 
162996  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_EnableMotor",&obj0)) SWIG_fail;
162997  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
162998  if (!SWIG_IsOK(res1)) {
162999  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_EnableMotor" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163000  }
163001  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163002  {
163003  try {
163004  result = (bool)(arg1)->EnableMotor();
163005  }
163006  catch(CStdErrorInfo oError)
163007  {
163008  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163009  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163010  PyErr_SetString(PyExc_IndexError, strError.c_str());
163011  SWIG_fail;
163012  }
163013  catch(...)
163014  {
163015  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163016  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163017  SWIG_fail;
163018  }
163019  }
163020  resultobj = SWIG_From_bool(static_cast< bool >(result));
163021  return resultobj;
163022 fail:
163023  return NULL;
163024 }
163025 
163026 
163027 SWIGINTERN PyObject *_wrap_MotorizedJoint_EnableMotor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
163028  PyObject *resultobj = 0;
163030  bool arg2 ;
163031  void *argp1 = 0 ;
163032  int res1 = 0 ;
163033  bool val2 ;
163034  int ecode2 = 0 ;
163035  PyObject * obj0 = 0 ;
163036  PyObject * obj1 = 0 ;
163037 
163038  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_EnableMotor",&obj0,&obj1)) SWIG_fail;
163039  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
163040  if (!SWIG_IsOK(res1)) {
163041  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_EnableMotor" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163042  }
163043  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163044  ecode2 = SWIG_AsVal_bool(obj1, &val2);
163045  if (!SWIG_IsOK(ecode2)) {
163046  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_EnableMotor" "', argument " "2"" of type '" "bool""'");
163047  }
163048  arg2 = static_cast< bool >(val2);
163049  {
163050  try {
163051  (arg1)->EnableMotor(arg2);
163052  }
163053  catch(CStdErrorInfo oError)
163054  {
163055  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163056  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163057  PyErr_SetString(PyExc_IndexError, strError.c_str());
163058  SWIG_fail;
163059  }
163060  catch(...)
163061  {
163062  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163063  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163064  SWIG_fail;
163065  }
163066  }
163067  resultobj = SWIG_Py_Void();
163068  return resultobj;
163069 fail:
163070  return NULL;
163071 }
163072 
163073 
163074 SWIGINTERN PyObject *_wrap_MotorizedJoint_EnableMotor(PyObject *self, PyObject *args) {
163075  int argc;
163076  PyObject *argv[3];
163077  int ii;
163078 
163079  if (!PyTuple_Check(args)) SWIG_fail;
163080  argc = args ? (int)PyObject_Length(args) : 0;
163081  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
163082  argv[ii] = PyTuple_GET_ITEM(args,ii);
163083  }
163084  if (argc == 1) {
163085  int _v;
163086  void *vptr = 0;
163087  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
163088  _v = SWIG_CheckState(res);
163089  if (_v) {
163090  return _wrap_MotorizedJoint_EnableMotor__SWIG_0(self, args);
163091  }
163092  }
163093  if (argc == 2) {
163094  int _v;
163095  void *vptr = 0;
163096  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
163097  _v = SWIG_CheckState(res);
163098  if (_v) {
163099  {
163100  int res = SWIG_AsVal_bool(argv[1], NULL);
163101  _v = SWIG_CheckState(res);
163102  }
163103  if (_v) {
163104  return _wrap_MotorizedJoint_EnableMotor__SWIG_1(self, args);
163105  }
163106  }
163107  }
163108 
163109 fail:
163110  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_EnableMotor'.\n"
163111  " Possible C/C++ prototypes are:\n"
163112  " AnimatSim::Environment::MotorizedJoint::EnableMotor()\n"
163113  " AnimatSim::Environment::MotorizedJoint::EnableMotor(bool)\n");
163114  return 0;
163115 }
163116 
163117 
163118 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
163119  PyObject *resultobj = 0;
163122  void *argp1 = 0 ;
163123  int res1 = 0 ;
163124  int val2 ;
163125  int ecode2 = 0 ;
163126  PyObject * obj0 = 0 ;
163127  PyObject * obj1 = 0 ;
163128 
163129  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorType",&obj0,&obj1)) SWIG_fail;
163130  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
163131  if (!SWIG_IsOK(res1)) {
163132  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorType" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163133  }
163134  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163135  ecode2 = SWIG_AsVal_int(obj1, &val2);
163136  if (!SWIG_IsOK(ecode2)) {
163137  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_MotorType" "', argument " "2"" of type '" "AnimatSim::Environment::eJointMotorType""'");
163138  }
163139  arg2 = static_cast< AnimatSim::Environment::eJointMotorType >(val2);
163140  {
163141  try {
163142  (arg1)->MotorType(arg2);
163143  }
163144  catch(CStdErrorInfo oError)
163145  {
163146  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163147  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163148  PyErr_SetString(PyExc_IndexError, strError.c_str());
163149  SWIG_fail;
163150  }
163151  catch(...)
163152  {
163153  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163154  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163155  SWIG_fail;
163156  }
163157  }
163158  resultobj = SWIG_Py_Void();
163159  return resultobj;
163160 fail:
163161  return NULL;
163162 }
163163 
163164 
163165 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
163166  PyObject *resultobj = 0;
163168  void *argp1 = 0 ;
163169  int res1 = 0 ;
163170  PyObject * obj0 = 0 ;
163172 
163173  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorType",&obj0)) SWIG_fail;
163174  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
163175  if (!SWIG_IsOK(res1)) {
163176  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorType" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163177  }
163178  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163179  {
163180  try {
163182  }
163183  catch(CStdErrorInfo oError)
163184  {
163185  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163186  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163187  PyErr_SetString(PyExc_IndexError, strError.c_str());
163188  SWIG_fail;
163189  }
163190  catch(...)
163191  {
163192  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163193  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163194  SWIG_fail;
163195  }
163196  }
163197  resultobj = SWIG_From_int(static_cast< int >(result));
163198  return resultobj;
163199 fail:
163200  return NULL;
163201 }
163202 
163203 
163204 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorType(PyObject *self, PyObject *args) {
163205  int argc;
163206  PyObject *argv[3];
163207  int ii;
163208 
163209  if (!PyTuple_Check(args)) SWIG_fail;
163210  argc = args ? (int)PyObject_Length(args) : 0;
163211  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
163212  argv[ii] = PyTuple_GET_ITEM(args,ii);
163213  }
163214  if (argc == 1) {
163215  int _v;
163216  void *vptr = 0;
163217  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
163218  _v = SWIG_CheckState(res);
163219  if (_v) {
163220  return _wrap_MotorizedJoint_MotorType__SWIG_1(self, args);
163221  }
163222  }
163223  if (argc == 2) {
163224  int _v;
163225  void *vptr = 0;
163226  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
163227  _v = SWIG_CheckState(res);
163228  if (_v) {
163229  {
163230  int res = SWIG_AsVal_int(argv[1], NULL);
163231  _v = SWIG_CheckState(res);
163232  }
163233  if (_v) {
163234  return _wrap_MotorizedJoint_MotorType__SWIG_0(self, args);
163235  }
163236  }
163237  }
163238 
163239 fail:
163240  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorType'.\n"
163241  " Possible C/C++ prototypes are:\n"
163242  " AnimatSim::Environment::MotorizedJoint::MotorType(AnimatSim::Environment::eJointMotorType)\n"
163243  " AnimatSim::Environment::MotorizedJoint::MotorType()\n");
163244  return 0;
163245 }
163246 
163247 
163248 SWIGINTERN PyObject *_wrap_MotorizedJoint_ServoGain__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
163249  PyObject *resultobj = 0;
163251  float arg2 ;
163252  void *argp1 = 0 ;
163253  int res1 = 0 ;
163254  float val2 ;
163255  int ecode2 = 0 ;
163256  PyObject * obj0 = 0 ;
163257  PyObject * obj1 = 0 ;
163258 
163259  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_ServoGain",&obj0,&obj1)) SWIG_fail;
163260  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
163261  if (!SWIG_IsOK(res1)) {
163262  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_ServoGain" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163263  }
163264  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163265  ecode2 = SWIG_AsVal_float(obj1, &val2);
163266  if (!SWIG_IsOK(ecode2)) {
163267  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_ServoGain" "', argument " "2"" of type '" "float""'");
163268  }
163269  arg2 = static_cast< float >(val2);
163270  {
163271  try {
163272  (arg1)->ServoGain(arg2);
163273  }
163274  catch(CStdErrorInfo oError)
163275  {
163276  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163277  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163278  PyErr_SetString(PyExc_IndexError, strError.c_str());
163279  SWIG_fail;
163280  }
163281  catch(...)
163282  {
163283  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163284  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163285  SWIG_fail;
163286  }
163287  }
163288  resultobj = SWIG_Py_Void();
163289  return resultobj;
163290 fail:
163291  return NULL;
163292 }
163293 
163294 
163295 SWIGINTERN PyObject *_wrap_MotorizedJoint_ServoGain__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
163296  PyObject *resultobj = 0;
163298  void *argp1 = 0 ;
163299  int res1 = 0 ;
163300  PyObject * obj0 = 0 ;
163301  float result;
163302 
163303  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_ServoGain",&obj0)) SWIG_fail;
163304  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
163305  if (!SWIG_IsOK(res1)) {
163306  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_ServoGain" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163307  }
163308  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163309  {
163310  try {
163311  result = (float)(arg1)->ServoGain();
163312  }
163313  catch(CStdErrorInfo oError)
163314  {
163315  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163316  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163317  PyErr_SetString(PyExc_IndexError, strError.c_str());
163318  SWIG_fail;
163319  }
163320  catch(...)
163321  {
163322  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163323  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163324  SWIG_fail;
163325  }
163326  }
163327  resultobj = SWIG_From_float(static_cast< float >(result));
163328  return resultobj;
163329 fail:
163330  return NULL;
163331 }
163332 
163333 
163334 SWIGINTERN PyObject *_wrap_MotorizedJoint_ServoGain(PyObject *self, PyObject *args) {
163335  int argc;
163336  PyObject *argv[3];
163337  int ii;
163338 
163339  if (!PyTuple_Check(args)) SWIG_fail;
163340  argc = args ? (int)PyObject_Length(args) : 0;
163341  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
163342  argv[ii] = PyTuple_GET_ITEM(args,ii);
163343  }
163344  if (argc == 1) {
163345  int _v;
163346  void *vptr = 0;
163347  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
163348  _v = SWIG_CheckState(res);
163349  if (_v) {
163350  return _wrap_MotorizedJoint_ServoGain__SWIG_1(self, args);
163351  }
163352  }
163353  if (argc == 2) {
163354  int _v;
163355  void *vptr = 0;
163356  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
163357  _v = SWIG_CheckState(res);
163358  if (_v) {
163359  {
163360  int res = SWIG_AsVal_float(argv[1], NULL);
163361  _v = SWIG_CheckState(res);
163362  }
163363  if (_v) {
163364  return _wrap_MotorizedJoint_ServoGain__SWIG_0(self, args);
163365  }
163366  }
163367  }
163368 
163369 fail:
163370  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_ServoGain'.\n"
163371  " Possible C/C++ prototypes are:\n"
163372  " AnimatSim::Environment::MotorizedJoint::ServoGain(float)\n"
163373  " AnimatSim::Environment::MotorizedJoint::ServoGain()\n");
163374  return 0;
163375 }
163376 
163377 
163378 SWIGINTERN PyObject *_wrap_MotorizedJoint_MaxForce__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
163379  PyObject *resultobj = 0;
163381  float arg2 ;
163382  bool arg3 ;
163383  void *argp1 = 0 ;
163384  int res1 = 0 ;
163385  float val2 ;
163386  int ecode2 = 0 ;
163387  bool val3 ;
163388  int ecode3 = 0 ;
163389  PyObject * obj0 = 0 ;
163390  PyObject * obj1 = 0 ;
163391  PyObject * obj2 = 0 ;
163392 
163393  if (!PyArg_ParseTuple(args,(char *)"OOO:MotorizedJoint_MaxForce",&obj0,&obj1,&obj2)) SWIG_fail;
163394  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
163395  if (!SWIG_IsOK(res1)) {
163396  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MaxForce" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163397  }
163398  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163399  ecode2 = SWIG_AsVal_float(obj1, &val2);
163400  if (!SWIG_IsOK(ecode2)) {
163401  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_MaxForce" "', argument " "2"" of type '" "float""'");
163402  }
163403  arg2 = static_cast< float >(val2);
163404  ecode3 = SWIG_AsVal_bool(obj2, &val3);
163405  if (!SWIG_IsOK(ecode3)) {
163406  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MotorizedJoint_MaxForce" "', argument " "3"" of type '" "bool""'");
163407  }
163408  arg3 = static_cast< bool >(val3);
163409  {
163410  try {
163411  (arg1)->MaxForce(arg2,arg3);
163412  }
163413  catch(CStdErrorInfo oError)
163414  {
163415  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163416  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163417  PyErr_SetString(PyExc_IndexError, strError.c_str());
163418  SWIG_fail;
163419  }
163420  catch(...)
163421  {
163422  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163423  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163424  SWIG_fail;
163425  }
163426  }
163427  resultobj = SWIG_Py_Void();
163428  return resultobj;
163429 fail:
163430  return NULL;
163431 }
163432 
163433 
163434 SWIGINTERN PyObject *_wrap_MotorizedJoint_MaxForce__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
163435  PyObject *resultobj = 0;
163437  float arg2 ;
163438  void *argp1 = 0 ;
163439  int res1 = 0 ;
163440  float val2 ;
163441  int ecode2 = 0 ;
163442  PyObject * obj0 = 0 ;
163443  PyObject * obj1 = 0 ;
163444 
163445  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MaxForce",&obj0,&obj1)) SWIG_fail;
163446  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
163447  if (!SWIG_IsOK(res1)) {
163448  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MaxForce" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163449  }
163450  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163451  ecode2 = SWIG_AsVal_float(obj1, &val2);
163452  if (!SWIG_IsOK(ecode2)) {
163453  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_MaxForce" "', argument " "2"" of type '" "float""'");
163454  }
163455  arg2 = static_cast< float >(val2);
163456  {
163457  try {
163458  (arg1)->MaxForce(arg2);
163459  }
163460  catch(CStdErrorInfo oError)
163461  {
163462  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163463  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163464  PyErr_SetString(PyExc_IndexError, strError.c_str());
163465  SWIG_fail;
163466  }
163467  catch(...)
163468  {
163469  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163470  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163471  SWIG_fail;
163472  }
163473  }
163474  resultobj = SWIG_Py_Void();
163475  return resultobj;
163476 fail:
163477  return NULL;
163478 }
163479 
163480 
163481 SWIGINTERN PyObject *_wrap_MotorizedJoint_MaxForce__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
163482  PyObject *resultobj = 0;
163484  void *argp1 = 0 ;
163485  int res1 = 0 ;
163486  PyObject * obj0 = 0 ;
163487  float result;
163488 
163489  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MaxForce",&obj0)) SWIG_fail;
163490  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
163491  if (!SWIG_IsOK(res1)) {
163492  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MaxForce" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163493  }
163494  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163495  {
163496  try {
163497  result = (float)(arg1)->MaxForce();
163498  }
163499  catch(CStdErrorInfo oError)
163500  {
163501  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163502  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163503  PyErr_SetString(PyExc_IndexError, strError.c_str());
163504  SWIG_fail;
163505  }
163506  catch(...)
163507  {
163508  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163509  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163510  SWIG_fail;
163511  }
163512  }
163513  resultobj = SWIG_From_float(static_cast< float >(result));
163514  return resultobj;
163515 fail:
163516  return NULL;
163517 }
163518 
163519 
163520 SWIGINTERN PyObject *_wrap_MotorizedJoint_MaxForce(PyObject *self, PyObject *args) {
163521  int argc;
163522  PyObject *argv[4];
163523  int ii;
163524 
163525  if (!PyTuple_Check(args)) SWIG_fail;
163526  argc = args ? (int)PyObject_Length(args) : 0;
163527  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
163528  argv[ii] = PyTuple_GET_ITEM(args,ii);
163529  }
163530  if (argc == 1) {
163531  int _v;
163532  void *vptr = 0;
163533  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
163534  _v = SWIG_CheckState(res);
163535  if (_v) {
163536  return _wrap_MotorizedJoint_MaxForce__SWIG_2(self, args);
163537  }
163538  }
163539  if (argc == 2) {
163540  int _v;
163541  void *vptr = 0;
163542  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
163543  _v = SWIG_CheckState(res);
163544  if (_v) {
163545  {
163546  int res = SWIG_AsVal_float(argv[1], NULL);
163547  _v = SWIG_CheckState(res);
163548  }
163549  if (_v) {
163550  return _wrap_MotorizedJoint_MaxForce__SWIG_1(self, args);
163551  }
163552  }
163553  }
163554  if (argc == 3) {
163555  int _v;
163556  void *vptr = 0;
163557  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
163558  _v = SWIG_CheckState(res);
163559  if (_v) {
163560  {
163561  int res = SWIG_AsVal_float(argv[1], NULL);
163562  _v = SWIG_CheckState(res);
163563  }
163564  if (_v) {
163565  {
163566  int res = SWIG_AsVal_bool(argv[2], NULL);
163567  _v = SWIG_CheckState(res);
163568  }
163569  if (_v) {
163570  return _wrap_MotorizedJoint_MaxForce__SWIG_0(self, args);
163571  }
163572  }
163573  }
163574  }
163575 
163576 fail:
163577  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MaxForce'.\n"
163578  " Possible C/C++ prototypes are:\n"
163579  " AnimatSim::Environment::MotorizedJoint::MaxForce(float,bool)\n"
163580  " AnimatSim::Environment::MotorizedJoint::MaxForce(float)\n"
163581  " AnimatSim::Environment::MotorizedJoint::MaxForce()\n");
163582  return 0;
163583 }
163584 
163585 
163586 SWIGINTERN PyObject *_wrap_MotorizedJoint_MaxForceNotScaled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
163587  PyObject *resultobj = 0;
163589  void *argp1 = 0 ;
163590  int res1 = 0 ;
163591  PyObject * obj0 = 0 ;
163592  float result;
163593 
163594  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MaxForceNotScaled",&obj0)) SWIG_fail;
163595  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
163596  if (!SWIG_IsOK(res1)) {
163597  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MaxForceNotScaled" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163598  }
163599  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163600  {
163601  try {
163602  result = (float)(arg1)->MaxForceNotScaled();
163603  }
163604  catch(CStdErrorInfo oError)
163605  {
163606  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163607  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163608  PyErr_SetString(PyExc_IndexError, strError.c_str());
163609  SWIG_fail;
163610  }
163611  catch(...)
163612  {
163613  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163614  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163615  SWIG_fail;
163616  }
163617  }
163618  resultobj = SWIG_From_float(static_cast< float >(result));
163619  return resultobj;
163620 fail:
163621  return NULL;
163622 }
163623 
163624 
163625 SWIGINTERN PyObject *_wrap_MotorizedJoint_MaxVelocity__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
163626  PyObject *resultobj = 0;
163628  void *argp1 = 0 ;
163629  int res1 = 0 ;
163630  PyObject * obj0 = 0 ;
163631  float result;
163632 
163633  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MaxVelocity",&obj0)) SWIG_fail;
163634  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
163635  if (!SWIG_IsOK(res1)) {
163636  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MaxVelocity" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163637  }
163638  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163639  {
163640  try {
163641  result = (float)(arg1)->MaxVelocity();
163642  }
163643  catch(CStdErrorInfo oError)
163644  {
163645  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163646  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163647  PyErr_SetString(PyExc_IndexError, strError.c_str());
163648  SWIG_fail;
163649  }
163650  catch(...)
163651  {
163652  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163653  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163654  SWIG_fail;
163655  }
163656  }
163657  resultobj = SWIG_From_float(static_cast< float >(result));
163658  return resultobj;
163659 fail:
163660  return NULL;
163661 }
163662 
163663 
163664 SWIGINTERN PyObject *_wrap_MotorizedJoint_MaxVelocity__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
163665  PyObject *resultobj = 0;
163667  float arg2 ;
163668  bool arg3 ;
163669  void *argp1 = 0 ;
163670  int res1 = 0 ;
163671  float val2 ;
163672  int ecode2 = 0 ;
163673  bool val3 ;
163674  int ecode3 = 0 ;
163675  PyObject * obj0 = 0 ;
163676  PyObject * obj1 = 0 ;
163677  PyObject * obj2 = 0 ;
163678 
163679  if (!PyArg_ParseTuple(args,(char *)"OOO:MotorizedJoint_MaxVelocity",&obj0,&obj1,&obj2)) SWIG_fail;
163680  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
163681  if (!SWIG_IsOK(res1)) {
163682  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MaxVelocity" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163683  }
163684  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163685  ecode2 = SWIG_AsVal_float(obj1, &val2);
163686  if (!SWIG_IsOK(ecode2)) {
163687  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_MaxVelocity" "', argument " "2"" of type '" "float""'");
163688  }
163689  arg2 = static_cast< float >(val2);
163690  ecode3 = SWIG_AsVal_bool(obj2, &val3);
163691  if (!SWIG_IsOK(ecode3)) {
163692  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MotorizedJoint_MaxVelocity" "', argument " "3"" of type '" "bool""'");
163693  }
163694  arg3 = static_cast< bool >(val3);
163695  {
163696  try {
163697  (arg1)->MaxVelocity(arg2,arg3);
163698  }
163699  catch(CStdErrorInfo oError)
163700  {
163701  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163702  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163703  PyErr_SetString(PyExc_IndexError, strError.c_str());
163704  SWIG_fail;
163705  }
163706  catch(...)
163707  {
163708  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163709  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163710  SWIG_fail;
163711  }
163712  }
163713  resultobj = SWIG_Py_Void();
163714  return resultobj;
163715 fail:
163716  return NULL;
163717 }
163718 
163719 
163720 SWIGINTERN PyObject *_wrap_MotorizedJoint_MaxVelocity__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
163721  PyObject *resultobj = 0;
163723  float arg2 ;
163724  void *argp1 = 0 ;
163725  int res1 = 0 ;
163726  float val2 ;
163727  int ecode2 = 0 ;
163728  PyObject * obj0 = 0 ;
163729  PyObject * obj1 = 0 ;
163730 
163731  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MaxVelocity",&obj0,&obj1)) SWIG_fail;
163732  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
163733  if (!SWIG_IsOK(res1)) {
163734  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MaxVelocity" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163735  }
163736  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163737  ecode2 = SWIG_AsVal_float(obj1, &val2);
163738  if (!SWIG_IsOK(ecode2)) {
163739  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_MaxVelocity" "', argument " "2"" of type '" "float""'");
163740  }
163741  arg2 = static_cast< float >(val2);
163742  {
163743  try {
163744  (arg1)->MaxVelocity(arg2);
163745  }
163746  catch(CStdErrorInfo oError)
163747  {
163748  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163749  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163750  PyErr_SetString(PyExc_IndexError, strError.c_str());
163751  SWIG_fail;
163752  }
163753  catch(...)
163754  {
163755  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163756  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163757  SWIG_fail;
163758  }
163759  }
163760  resultobj = SWIG_Py_Void();
163761  return resultobj;
163762 fail:
163763  return NULL;
163764 }
163765 
163766 
163767 SWIGINTERN PyObject *_wrap_MotorizedJoint_MaxVelocity(PyObject *self, PyObject *args) {
163768  int argc;
163769  PyObject *argv[4];
163770  int ii;
163771 
163772  if (!PyTuple_Check(args)) SWIG_fail;
163773  argc = args ? (int)PyObject_Length(args) : 0;
163774  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
163775  argv[ii] = PyTuple_GET_ITEM(args,ii);
163776  }
163777  if (argc == 1) {
163778  int _v;
163779  void *vptr = 0;
163780  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
163781  _v = SWIG_CheckState(res);
163782  if (_v) {
163783  return _wrap_MotorizedJoint_MaxVelocity__SWIG_0(self, args);
163784  }
163785  }
163786  if (argc == 2) {
163787  int _v;
163788  void *vptr = 0;
163789  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
163790  _v = SWIG_CheckState(res);
163791  if (_v) {
163792  {
163793  int res = SWIG_AsVal_float(argv[1], NULL);
163794  _v = SWIG_CheckState(res);
163795  }
163796  if (_v) {
163797  return _wrap_MotorizedJoint_MaxVelocity__SWIG_2(self, args);
163798  }
163799  }
163800  }
163801  if (argc == 3) {
163802  int _v;
163803  void *vptr = 0;
163804  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
163805  _v = SWIG_CheckState(res);
163806  if (_v) {
163807  {
163808  int res = SWIG_AsVal_float(argv[1], NULL);
163809  _v = SWIG_CheckState(res);
163810  }
163811  if (_v) {
163812  {
163813  int res = SWIG_AsVal_bool(argv[2], NULL);
163814  _v = SWIG_CheckState(res);
163815  }
163816  if (_v) {
163817  return _wrap_MotorizedJoint_MaxVelocity__SWIG_1(self, args);
163818  }
163819  }
163820  }
163821  }
163822 
163823 fail:
163824  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MaxVelocity'.\n"
163825  " Possible C/C++ prototypes are:\n"
163826  " AnimatSim::Environment::MotorizedJoint::MaxVelocity()\n"
163827  " AnimatSim::Environment::MotorizedJoint::MaxVelocity(float,bool)\n"
163828  " AnimatSim::Environment::MotorizedJoint::MaxVelocity(float)\n");
163829  return 0;
163830 }
163831 
163832 
163833 SWIGINTERN PyObject *_wrap_MotorizedJoint_DesiredPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
163834  PyObject *resultobj = 0;
163836  void *argp1 = 0 ;
163837  int res1 = 0 ;
163838  PyObject * obj0 = 0 ;
163839  float result;
163840 
163841  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_DesiredPosition",&obj0)) SWIG_fail;
163842  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
163843  if (!SWIG_IsOK(res1)) {
163844  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_DesiredPosition" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163845  }
163846  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163847  {
163848  try {
163849  result = (float)(arg1)->DesiredPosition();
163850  }
163851  catch(CStdErrorInfo oError)
163852  {
163853  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163854  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163855  PyErr_SetString(PyExc_IndexError, strError.c_str());
163856  SWIG_fail;
163857  }
163858  catch(...)
163859  {
163860  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163861  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163862  SWIG_fail;
163863  }
163864  }
163865  resultobj = SWIG_From_float(static_cast< float >(result));
163866  return resultobj;
163867 fail:
163868  return NULL;
163869 }
163870 
163871 
163872 SWIGINTERN PyObject *_wrap_MotorizedJoint_DesiredPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
163873  PyObject *resultobj = 0;
163875  float arg2 ;
163876  void *argp1 = 0 ;
163877  int res1 = 0 ;
163878  float val2 ;
163879  int ecode2 = 0 ;
163880  PyObject * obj0 = 0 ;
163881  PyObject * obj1 = 0 ;
163882 
163883  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_DesiredPosition",&obj0,&obj1)) SWIG_fail;
163884  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
163885  if (!SWIG_IsOK(res1)) {
163886  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_DesiredPosition" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163887  }
163888  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163889  ecode2 = SWIG_AsVal_float(obj1, &val2);
163890  if (!SWIG_IsOK(ecode2)) {
163891  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_DesiredPosition" "', argument " "2"" of type '" "float""'");
163892  }
163893  arg2 = static_cast< float >(val2);
163894  {
163895  try {
163896  (arg1)->DesiredPosition(arg2);
163897  }
163898  catch(CStdErrorInfo oError)
163899  {
163900  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163901  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163902  PyErr_SetString(PyExc_IndexError, strError.c_str());
163903  SWIG_fail;
163904  }
163905  catch(...)
163906  {
163907  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163908  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163909  SWIG_fail;
163910  }
163911  }
163912  resultobj = SWIG_Py_Void();
163913  return resultobj;
163914 fail:
163915  return NULL;
163916 }
163917 
163918 
163919 SWIGINTERN PyObject *_wrap_MotorizedJoint_DesiredPosition(PyObject *self, PyObject *args) {
163920  int argc;
163921  PyObject *argv[3];
163922  int ii;
163923 
163924  if (!PyTuple_Check(args)) SWIG_fail;
163925  argc = args ? (int)PyObject_Length(args) : 0;
163926  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
163927  argv[ii] = PyTuple_GET_ITEM(args,ii);
163928  }
163929  if (argc == 1) {
163930  int _v;
163931  void *vptr = 0;
163932  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
163933  _v = SWIG_CheckState(res);
163934  if (_v) {
163935  return _wrap_MotorizedJoint_DesiredPosition__SWIG_0(self, args);
163936  }
163937  }
163938  if (argc == 2) {
163939  int _v;
163940  void *vptr = 0;
163941  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
163942  _v = SWIG_CheckState(res);
163943  if (_v) {
163944  {
163945  int res = SWIG_AsVal_float(argv[1], NULL);
163946  _v = SWIG_CheckState(res);
163947  }
163948  if (_v) {
163949  return _wrap_MotorizedJoint_DesiredPosition__SWIG_1(self, args);
163950  }
163951  }
163952  }
163953 
163954 fail:
163955  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_DesiredPosition'.\n"
163956  " Possible C/C++ prototypes are:\n"
163957  " AnimatSim::Environment::MotorizedJoint::DesiredPosition()\n"
163958  " AnimatSim::Environment::MotorizedJoint::DesiredPosition(float)\n");
163959  return 0;
163960 }
163961 
163962 
163963 SWIGINTERN PyObject *_wrap_MotorizedJoint_SetPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
163964  PyObject *resultobj = 0;
163966  void *argp1 = 0 ;
163967  int res1 = 0 ;
163968  PyObject * obj0 = 0 ;
163969  float result;
163970 
163971  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_SetPosition",&obj0)) SWIG_fail;
163972  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
163973  if (!SWIG_IsOK(res1)) {
163974  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_SetPosition" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
163975  }
163976  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
163977  {
163978  try {
163979  result = (float)(arg1)->SetPosition();
163980  }
163981  catch(CStdErrorInfo oError)
163982  {
163983  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163984  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
163985  PyErr_SetString(PyExc_IndexError, strError.c_str());
163986  SWIG_fail;
163987  }
163988  catch(...)
163989  {
163990  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
163991  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
163992  SWIG_fail;
163993  }
163994  }
163995  resultobj = SWIG_From_float(static_cast< float >(result));
163996  return resultobj;
163997 fail:
163998  return NULL;
163999 }
164000 
164001 
164002 SWIGINTERN PyObject *_wrap_MotorizedJoint_SetPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
164003  PyObject *resultobj = 0;
164005  float arg2 ;
164006  void *argp1 = 0 ;
164007  int res1 = 0 ;
164008  float val2 ;
164009  int ecode2 = 0 ;
164010  PyObject * obj0 = 0 ;
164011  PyObject * obj1 = 0 ;
164012 
164013  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_SetPosition",&obj0,&obj1)) SWIG_fail;
164014  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
164015  if (!SWIG_IsOK(res1)) {
164016  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_SetPosition" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
164017  }
164018  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
164019  ecode2 = SWIG_AsVal_float(obj1, &val2);
164020  if (!SWIG_IsOK(ecode2)) {
164021  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_SetPosition" "', argument " "2"" of type '" "float""'");
164022  }
164023  arg2 = static_cast< float >(val2);
164024  {
164025  try {
164026  (arg1)->SetPosition(arg2);
164027  }
164028  catch(CStdErrorInfo oError)
164029  {
164030  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164031  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
164032  PyErr_SetString(PyExc_IndexError, strError.c_str());
164033  SWIG_fail;
164034  }
164035  catch(...)
164036  {
164037  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164038  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
164039  SWIG_fail;
164040  }
164041  }
164042  resultobj = SWIG_Py_Void();
164043  return resultobj;
164044 fail:
164045  return NULL;
164046 }
164047 
164048 
164049 SWIGINTERN PyObject *_wrap_MotorizedJoint_SetPosition(PyObject *self, PyObject *args) {
164050  int argc;
164051  PyObject *argv[3];
164052  int ii;
164053 
164054  if (!PyTuple_Check(args)) SWIG_fail;
164055  argc = args ? (int)PyObject_Length(args) : 0;
164056  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
164057  argv[ii] = PyTuple_GET_ITEM(args,ii);
164058  }
164059  if (argc == 1) {
164060  int _v;
164061  void *vptr = 0;
164062  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164063  _v = SWIG_CheckState(res);
164064  if (_v) {
164065  return _wrap_MotorizedJoint_SetPosition__SWIG_0(self, args);
164066  }
164067  }
164068  if (argc == 2) {
164069  int _v;
164070  void *vptr = 0;
164071  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164072  _v = SWIG_CheckState(res);
164073  if (_v) {
164074  {
164075  int res = SWIG_AsVal_float(argv[1], NULL);
164076  _v = SWIG_CheckState(res);
164077  }
164078  if (_v) {
164079  return _wrap_MotorizedJoint_SetPosition__SWIG_1(self, args);
164080  }
164081  }
164082  }
164083 
164084 fail:
164085  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_SetPosition'.\n"
164086  " Possible C/C++ prototypes are:\n"
164087  " AnimatSim::Environment::MotorizedJoint::SetPosition()\n"
164088  " AnimatSim::Environment::MotorizedJoint::SetPosition(float)\n");
164089  return 0;
164090 }
164091 
164092 
164093 SWIGINTERN PyObject *_wrap_MotorizedJoint_PrevSetPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
164094  PyObject *resultobj = 0;
164096  void *argp1 = 0 ;
164097  int res1 = 0 ;
164098  PyObject * obj0 = 0 ;
164099  float result;
164100 
164101  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_PrevSetPosition",&obj0)) SWIG_fail;
164102  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
164103  if (!SWIG_IsOK(res1)) {
164104  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_PrevSetPosition" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
164105  }
164106  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
164107  {
164108  try {
164109  result = (float)(arg1)->PrevSetPosition();
164110  }
164111  catch(CStdErrorInfo oError)
164112  {
164113  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164114  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
164115  PyErr_SetString(PyExc_IndexError, strError.c_str());
164116  SWIG_fail;
164117  }
164118  catch(...)
164119  {
164120  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164121  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
164122  SWIG_fail;
164123  }
164124  }
164125  resultobj = SWIG_From_float(static_cast< float >(result));
164126  return resultobj;
164127 fail:
164128  return NULL;
164129 }
164130 
164131 
164132 SWIGINTERN PyObject *_wrap_MotorizedJoint_PrevSetPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
164133  PyObject *resultobj = 0;
164135  float arg2 ;
164136  void *argp1 = 0 ;
164137  int res1 = 0 ;
164138  float val2 ;
164139  int ecode2 = 0 ;
164140  PyObject * obj0 = 0 ;
164141  PyObject * obj1 = 0 ;
164142 
164143  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_PrevSetPosition",&obj0,&obj1)) SWIG_fail;
164144  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
164145  if (!SWIG_IsOK(res1)) {
164146  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_PrevSetPosition" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
164147  }
164148  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
164149  ecode2 = SWIG_AsVal_float(obj1, &val2);
164150  if (!SWIG_IsOK(ecode2)) {
164151  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_PrevSetPosition" "', argument " "2"" of type '" "float""'");
164152  }
164153  arg2 = static_cast< float >(val2);
164154  {
164155  try {
164156  (arg1)->PrevSetPosition(arg2);
164157  }
164158  catch(CStdErrorInfo oError)
164159  {
164160  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164161  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
164162  PyErr_SetString(PyExc_IndexError, strError.c_str());
164163  SWIG_fail;
164164  }
164165  catch(...)
164166  {
164167  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164168  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
164169  SWIG_fail;
164170  }
164171  }
164172  resultobj = SWIG_Py_Void();
164173  return resultobj;
164174 fail:
164175  return NULL;
164176 }
164177 
164178 
164179 SWIGINTERN PyObject *_wrap_MotorizedJoint_PrevSetPosition(PyObject *self, PyObject *args) {
164180  int argc;
164181  PyObject *argv[3];
164182  int ii;
164183 
164184  if (!PyTuple_Check(args)) SWIG_fail;
164185  argc = args ? (int)PyObject_Length(args) : 0;
164186  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
164187  argv[ii] = PyTuple_GET_ITEM(args,ii);
164188  }
164189  if (argc == 1) {
164190  int _v;
164191  void *vptr = 0;
164192  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164193  _v = SWIG_CheckState(res);
164194  if (_v) {
164195  return _wrap_MotorizedJoint_PrevSetPosition__SWIG_0(self, args);
164196  }
164197  }
164198  if (argc == 2) {
164199  int _v;
164200  void *vptr = 0;
164201  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164202  _v = SWIG_CheckState(res);
164203  if (_v) {
164204  {
164205  int res = SWIG_AsVal_float(argv[1], NULL);
164206  _v = SWIG_CheckState(res);
164207  }
164208  if (_v) {
164209  return _wrap_MotorizedJoint_PrevSetPosition__SWIG_1(self, args);
164210  }
164211  }
164212  }
164213 
164214 fail:
164215  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_PrevSetPosition'.\n"
164216  " Possible C/C++ prototypes are:\n"
164217  " AnimatSim::Environment::MotorizedJoint::PrevSetPosition()\n"
164218  " AnimatSim::Environment::MotorizedJoint::PrevSetPosition(float)\n");
164219  return 0;
164220 }
164221 
164222 
164223 SWIGINTERN PyObject *_wrap_MotorizedJoint_ReachedSetPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
164224  PyObject *resultobj = 0;
164226  void *argp1 = 0 ;
164227  int res1 = 0 ;
164228  PyObject * obj0 = 0 ;
164229  bool result;
164230 
164231  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_ReachedSetPosition",&obj0)) SWIG_fail;
164232  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
164233  if (!SWIG_IsOK(res1)) {
164234  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_ReachedSetPosition" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
164235  }
164236  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
164237  {
164238  try {
164239  result = (bool)(arg1)->ReachedSetPosition();
164240  }
164241  catch(CStdErrorInfo oError)
164242  {
164243  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164244  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
164245  PyErr_SetString(PyExc_IndexError, strError.c_str());
164246  SWIG_fail;
164247  }
164248  catch(...)
164249  {
164250  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164251  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
164252  SWIG_fail;
164253  }
164254  }
164255  resultobj = SWIG_From_bool(static_cast< bool >(result));
164256  return resultobj;
164257 fail:
164258  return NULL;
164259 }
164260 
164261 
164262 SWIGINTERN PyObject *_wrap_MotorizedJoint_ReachedSetPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
164263  PyObject *resultobj = 0;
164265  bool arg2 ;
164266  void *argp1 = 0 ;
164267  int res1 = 0 ;
164268  bool val2 ;
164269  int ecode2 = 0 ;
164270  PyObject * obj0 = 0 ;
164271  PyObject * obj1 = 0 ;
164272 
164273  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_ReachedSetPosition",&obj0,&obj1)) SWIG_fail;
164274  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
164275  if (!SWIG_IsOK(res1)) {
164276  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_ReachedSetPosition" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
164277  }
164278  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
164279  ecode2 = SWIG_AsVal_bool(obj1, &val2);
164280  if (!SWIG_IsOK(ecode2)) {
164281  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_ReachedSetPosition" "', argument " "2"" of type '" "bool""'");
164282  }
164283  arg2 = static_cast< bool >(val2);
164284  {
164285  try {
164286  (arg1)->ReachedSetPosition(arg2);
164287  }
164288  catch(CStdErrorInfo oError)
164289  {
164290  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164291  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
164292  PyErr_SetString(PyExc_IndexError, strError.c_str());
164293  SWIG_fail;
164294  }
164295  catch(...)
164296  {
164297  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164298  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
164299  SWIG_fail;
164300  }
164301  }
164302  resultobj = SWIG_Py_Void();
164303  return resultobj;
164304 fail:
164305  return NULL;
164306 }
164307 
164308 
164309 SWIGINTERN PyObject *_wrap_MotorizedJoint_ReachedSetPosition(PyObject *self, PyObject *args) {
164310  int argc;
164311  PyObject *argv[3];
164312  int ii;
164313 
164314  if (!PyTuple_Check(args)) SWIG_fail;
164315  argc = args ? (int)PyObject_Length(args) : 0;
164316  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
164317  argv[ii] = PyTuple_GET_ITEM(args,ii);
164318  }
164319  if (argc == 1) {
164320  int _v;
164321  void *vptr = 0;
164322  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164323  _v = SWIG_CheckState(res);
164324  if (_v) {
164325  return _wrap_MotorizedJoint_ReachedSetPosition__SWIG_0(self, args);
164326  }
164327  }
164328  if (argc == 2) {
164329  int _v;
164330  void *vptr = 0;
164331  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164332  _v = SWIG_CheckState(res);
164333  if (_v) {
164334  {
164335  int res = SWIG_AsVal_bool(argv[1], NULL);
164336  _v = SWIG_CheckState(res);
164337  }
164338  if (_v) {
164339  return _wrap_MotorizedJoint_ReachedSetPosition__SWIG_1(self, args);
164340  }
164341  }
164342  }
164343 
164344 fail:
164345  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_ReachedSetPosition'.\n"
164346  " Possible C/C++ prototypes are:\n"
164347  " AnimatSim::Environment::MotorizedJoint::ReachedSetPosition()\n"
164348  " AnimatSim::Environment::MotorizedJoint::ReachedSetPosition(bool)\n");
164349  return 0;
164350 }
164351 
164352 
164353 SWIGINTERN PyObject *_wrap_MotorizedJoint_DesiredVelocity__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
164354  PyObject *resultobj = 0;
164356  void *argp1 = 0 ;
164357  int res1 = 0 ;
164358  PyObject * obj0 = 0 ;
164359  float result;
164360 
164361  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_DesiredVelocity",&obj0)) SWIG_fail;
164362  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
164363  if (!SWIG_IsOK(res1)) {
164364  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_DesiredVelocity" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
164365  }
164366  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
164367  {
164368  try {
164369  result = (float)(arg1)->DesiredVelocity();
164370  }
164371  catch(CStdErrorInfo oError)
164372  {
164373  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164374  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
164375  PyErr_SetString(PyExc_IndexError, strError.c_str());
164376  SWIG_fail;
164377  }
164378  catch(...)
164379  {
164380  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164381  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
164382  SWIG_fail;
164383  }
164384  }
164385  resultobj = SWIG_From_float(static_cast< float >(result));
164386  return resultobj;
164387 fail:
164388  return NULL;
164389 }
164390 
164391 
164392 SWIGINTERN PyObject *_wrap_MotorizedJoint_DesiredVelocity__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
164393  PyObject *resultobj = 0;
164395  float arg2 ;
164396  void *argp1 = 0 ;
164397  int res1 = 0 ;
164398  float val2 ;
164399  int ecode2 = 0 ;
164400  PyObject * obj0 = 0 ;
164401  PyObject * obj1 = 0 ;
164402 
164403  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_DesiredVelocity",&obj0,&obj1)) SWIG_fail;
164404  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
164405  if (!SWIG_IsOK(res1)) {
164406  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_DesiredVelocity" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
164407  }
164408  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
164409  ecode2 = SWIG_AsVal_float(obj1, &val2);
164410  if (!SWIG_IsOK(ecode2)) {
164411  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_DesiredVelocity" "', argument " "2"" of type '" "float""'");
164412  }
164413  arg2 = static_cast< float >(val2);
164414  {
164415  try {
164416  (arg1)->DesiredVelocity(arg2);
164417  }
164418  catch(CStdErrorInfo oError)
164419  {
164420  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164421  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
164422  PyErr_SetString(PyExc_IndexError, strError.c_str());
164423  SWIG_fail;
164424  }
164425  catch(...)
164426  {
164427  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164428  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
164429  SWIG_fail;
164430  }
164431  }
164432  resultobj = SWIG_Py_Void();
164433  return resultobj;
164434 fail:
164435  return NULL;
164436 }
164437 
164438 
164439 SWIGINTERN PyObject *_wrap_MotorizedJoint_DesiredVelocity(PyObject *self, PyObject *args) {
164440  int argc;
164441  PyObject *argv[3];
164442  int ii;
164443 
164444  if (!PyTuple_Check(args)) SWIG_fail;
164445  argc = args ? (int)PyObject_Length(args) : 0;
164446  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
164447  argv[ii] = PyTuple_GET_ITEM(args,ii);
164448  }
164449  if (argc == 1) {
164450  int _v;
164451  void *vptr = 0;
164452  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164453  _v = SWIG_CheckState(res);
164454  if (_v) {
164455  return _wrap_MotorizedJoint_DesiredVelocity__SWIG_0(self, args);
164456  }
164457  }
164458  if (argc == 2) {
164459  int _v;
164460  void *vptr = 0;
164461  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164462  _v = SWIG_CheckState(res);
164463  if (_v) {
164464  {
164465  int res = SWIG_AsVal_float(argv[1], NULL);
164466  _v = SWIG_CheckState(res);
164467  }
164468  if (_v) {
164469  return _wrap_MotorizedJoint_DesiredVelocity__SWIG_1(self, args);
164470  }
164471  }
164472  }
164473 
164474 fail:
164475  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_DesiredVelocity'.\n"
164476  " Possible C/C++ prototypes are:\n"
164477  " AnimatSim::Environment::MotorizedJoint::DesiredVelocity()\n"
164478  " AnimatSim::Environment::MotorizedJoint::DesiredVelocity(float)\n");
164479  return 0;
164480 }
164481 
164482 
164483 SWIGINTERN PyObject *_wrap_MotorizedJoint_SetVelocity__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
164484  PyObject *resultobj = 0;
164486  void *argp1 = 0 ;
164487  int res1 = 0 ;
164488  PyObject * obj0 = 0 ;
164489  float result;
164490 
164491  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_SetVelocity",&obj0)) SWIG_fail;
164492  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
164493  if (!SWIG_IsOK(res1)) {
164494  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_SetVelocity" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
164495  }
164496  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
164497  {
164498  try {
164499  result = (float)(arg1)->SetVelocity();
164500  }
164501  catch(CStdErrorInfo oError)
164502  {
164503  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164504  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
164505  PyErr_SetString(PyExc_IndexError, strError.c_str());
164506  SWIG_fail;
164507  }
164508  catch(...)
164509  {
164510  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164511  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
164512  SWIG_fail;
164513  }
164514  }
164515  resultobj = SWIG_From_float(static_cast< float >(result));
164516  return resultobj;
164517 fail:
164518  return NULL;
164519 }
164520 
164521 
164522 SWIGINTERN PyObject *_wrap_MotorizedJoint_SetVelocity__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
164523  PyObject *resultobj = 0;
164525  float arg2 ;
164526  void *argp1 = 0 ;
164527  int res1 = 0 ;
164528  float val2 ;
164529  int ecode2 = 0 ;
164530  PyObject * obj0 = 0 ;
164531  PyObject * obj1 = 0 ;
164532 
164533  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_SetVelocity",&obj0,&obj1)) SWIG_fail;
164534  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
164535  if (!SWIG_IsOK(res1)) {
164536  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_SetVelocity" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
164537  }
164538  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
164539  ecode2 = SWIG_AsVal_float(obj1, &val2);
164540  if (!SWIG_IsOK(ecode2)) {
164541  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_SetVelocity" "', argument " "2"" of type '" "float""'");
164542  }
164543  arg2 = static_cast< float >(val2);
164544  {
164545  try {
164546  (arg1)->SetVelocity(arg2);
164547  }
164548  catch(CStdErrorInfo oError)
164549  {
164550  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164551  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
164552  PyErr_SetString(PyExc_IndexError, strError.c_str());
164553  SWIG_fail;
164554  }
164555  catch(...)
164556  {
164557  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164558  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
164559  SWIG_fail;
164560  }
164561  }
164562  resultobj = SWIG_Py_Void();
164563  return resultobj;
164564 fail:
164565  return NULL;
164566 }
164567 
164568 
164569 SWIGINTERN PyObject *_wrap_MotorizedJoint_SetVelocity(PyObject *self, PyObject *args) {
164570  int argc;
164571  PyObject *argv[3];
164572  int ii;
164573 
164574  if (!PyTuple_Check(args)) SWIG_fail;
164575  argc = args ? (int)PyObject_Length(args) : 0;
164576  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
164577  argv[ii] = PyTuple_GET_ITEM(args,ii);
164578  }
164579  if (argc == 1) {
164580  int _v;
164581  void *vptr = 0;
164582  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164583  _v = SWIG_CheckState(res);
164584  if (_v) {
164585  return _wrap_MotorizedJoint_SetVelocity__SWIG_0(self, args);
164586  }
164587  }
164588  if (argc == 2) {
164589  int _v;
164590  void *vptr = 0;
164591  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164592  _v = SWIG_CheckState(res);
164593  if (_v) {
164594  {
164595  int res = SWIG_AsVal_float(argv[1], NULL);
164596  _v = SWIG_CheckState(res);
164597  }
164598  if (_v) {
164599  return _wrap_MotorizedJoint_SetVelocity__SWIG_1(self, args);
164600  }
164601  }
164602  }
164603 
164604 fail:
164605  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_SetVelocity'.\n"
164606  " Possible C/C++ prototypes are:\n"
164607  " AnimatSim::Environment::MotorizedJoint::SetVelocity()\n"
164608  " AnimatSim::Environment::MotorizedJoint::SetVelocity(float)\n");
164609  return 0;
164610 }
164611 
164612 
164613 SWIGINTERN PyObject *_wrap_MotorizedJoint_PrevSetVelocity__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
164614  PyObject *resultobj = 0;
164616  void *argp1 = 0 ;
164617  int res1 = 0 ;
164618  PyObject * obj0 = 0 ;
164619  float result;
164620 
164621  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_PrevSetVelocity",&obj0)) SWIG_fail;
164622  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
164623  if (!SWIG_IsOK(res1)) {
164624  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_PrevSetVelocity" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
164625  }
164626  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
164627  {
164628  try {
164629  result = (float)(arg1)->PrevSetVelocity();
164630  }
164631  catch(CStdErrorInfo oError)
164632  {
164633  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164634  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
164635  PyErr_SetString(PyExc_IndexError, strError.c_str());
164636  SWIG_fail;
164637  }
164638  catch(...)
164639  {
164640  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164641  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
164642  SWIG_fail;
164643  }
164644  }
164645  resultobj = SWIG_From_float(static_cast< float >(result));
164646  return resultobj;
164647 fail:
164648  return NULL;
164649 }
164650 
164651 
164652 SWIGINTERN PyObject *_wrap_MotorizedJoint_PrevSetVelocity__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
164653  PyObject *resultobj = 0;
164655  float arg2 ;
164656  void *argp1 = 0 ;
164657  int res1 = 0 ;
164658  float val2 ;
164659  int ecode2 = 0 ;
164660  PyObject * obj0 = 0 ;
164661  PyObject * obj1 = 0 ;
164662 
164663  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_PrevSetVelocity",&obj0,&obj1)) SWIG_fail;
164664  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
164665  if (!SWIG_IsOK(res1)) {
164666  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_PrevSetVelocity" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
164667  }
164668  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
164669  ecode2 = SWIG_AsVal_float(obj1, &val2);
164670  if (!SWIG_IsOK(ecode2)) {
164671  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_PrevSetVelocity" "', argument " "2"" of type '" "float""'");
164672  }
164673  arg2 = static_cast< float >(val2);
164674  {
164675  try {
164676  (arg1)->PrevSetVelocity(arg2);
164677  }
164678  catch(CStdErrorInfo oError)
164679  {
164680  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164681  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
164682  PyErr_SetString(PyExc_IndexError, strError.c_str());
164683  SWIG_fail;
164684  }
164685  catch(...)
164686  {
164687  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164688  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
164689  SWIG_fail;
164690  }
164691  }
164692  resultobj = SWIG_Py_Void();
164693  return resultobj;
164694 fail:
164695  return NULL;
164696 }
164697 
164698 
164699 SWIGINTERN PyObject *_wrap_MotorizedJoint_PrevSetVelocity(PyObject *self, PyObject *args) {
164700  int argc;
164701  PyObject *argv[3];
164702  int ii;
164703 
164704  if (!PyTuple_Check(args)) SWIG_fail;
164705  argc = args ? (int)PyObject_Length(args) : 0;
164706  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
164707  argv[ii] = PyTuple_GET_ITEM(args,ii);
164708  }
164709  if (argc == 1) {
164710  int _v;
164711  void *vptr = 0;
164712  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164713  _v = SWIG_CheckState(res);
164714  if (_v) {
164715  return _wrap_MotorizedJoint_PrevSetVelocity__SWIG_0(self, args);
164716  }
164717  }
164718  if (argc == 2) {
164719  int _v;
164720  void *vptr = 0;
164721  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164722  _v = SWIG_CheckState(res);
164723  if (_v) {
164724  {
164725  int res = SWIG_AsVal_float(argv[1], NULL);
164726  _v = SWIG_CheckState(res);
164727  }
164728  if (_v) {
164729  return _wrap_MotorizedJoint_PrevSetVelocity__SWIG_1(self, args);
164730  }
164731  }
164732  }
164733 
164734 fail:
164735  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_PrevSetVelocity'.\n"
164736  " Possible C/C++ prototypes are:\n"
164737  " AnimatSim::Environment::MotorizedJoint::PrevSetVelocity()\n"
164738  " AnimatSim::Environment::MotorizedJoint::PrevSetVelocity(float)\n");
164739  return 0;
164740 }
164741 
164742 
164743 SWIGINTERN PyObject *_wrap_MotorizedJoint_PrevVelocity__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
164744  PyObject *resultobj = 0;
164746  void *argp1 = 0 ;
164747  int res1 = 0 ;
164748  PyObject * obj0 = 0 ;
164749  float result;
164750 
164751  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_PrevVelocity",&obj0)) SWIG_fail;
164752  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
164753  if (!SWIG_IsOK(res1)) {
164754  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_PrevVelocity" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
164755  }
164756  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
164757  {
164758  try {
164759  result = (float)(arg1)->PrevVelocity();
164760  }
164761  catch(CStdErrorInfo oError)
164762  {
164763  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164764  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
164765  PyErr_SetString(PyExc_IndexError, strError.c_str());
164766  SWIG_fail;
164767  }
164768  catch(...)
164769  {
164770  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164771  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
164772  SWIG_fail;
164773  }
164774  }
164775  resultobj = SWIG_From_float(static_cast< float >(result));
164776  return resultobj;
164777 fail:
164778  return NULL;
164779 }
164780 
164781 
164782 SWIGINTERN PyObject *_wrap_MotorizedJoint_PrevVelocity__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
164783  PyObject *resultobj = 0;
164785  float arg2 ;
164786  void *argp1 = 0 ;
164787  int res1 = 0 ;
164788  float val2 ;
164789  int ecode2 = 0 ;
164790  PyObject * obj0 = 0 ;
164791  PyObject * obj1 = 0 ;
164792 
164793  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_PrevVelocity",&obj0,&obj1)) SWIG_fail;
164794  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
164795  if (!SWIG_IsOK(res1)) {
164796  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_PrevVelocity" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
164797  }
164798  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
164799  ecode2 = SWIG_AsVal_float(obj1, &val2);
164800  if (!SWIG_IsOK(ecode2)) {
164801  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_PrevVelocity" "', argument " "2"" of type '" "float""'");
164802  }
164803  arg2 = static_cast< float >(val2);
164804  {
164805  try {
164806  (arg1)->PrevVelocity(arg2);
164807  }
164808  catch(CStdErrorInfo oError)
164809  {
164810  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164811  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
164812  PyErr_SetString(PyExc_IndexError, strError.c_str());
164813  SWIG_fail;
164814  }
164815  catch(...)
164816  {
164817  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164818  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
164819  SWIG_fail;
164820  }
164821  }
164822  resultobj = SWIG_Py_Void();
164823  return resultobj;
164824 fail:
164825  return NULL;
164826 }
164827 
164828 
164829 SWIGINTERN PyObject *_wrap_MotorizedJoint_PrevVelocity(PyObject *self, PyObject *args) {
164830  int argc;
164831  PyObject *argv[3];
164832  int ii;
164833 
164834  if (!PyTuple_Check(args)) SWIG_fail;
164835  argc = args ? (int)PyObject_Length(args) : 0;
164836  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
164837  argv[ii] = PyTuple_GET_ITEM(args,ii);
164838  }
164839  if (argc == 1) {
164840  int _v;
164841  void *vptr = 0;
164842  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164843  _v = SWIG_CheckState(res);
164844  if (_v) {
164845  return _wrap_MotorizedJoint_PrevVelocity__SWIG_0(self, args);
164846  }
164847  }
164848  if (argc == 2) {
164849  int _v;
164850  void *vptr = 0;
164851  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164852  _v = SWIG_CheckState(res);
164853  if (_v) {
164854  {
164855  int res = SWIG_AsVal_float(argv[1], NULL);
164856  _v = SWIG_CheckState(res);
164857  }
164858  if (_v) {
164859  return _wrap_MotorizedJoint_PrevVelocity__SWIG_1(self, args);
164860  }
164861  }
164862  }
164863 
164864 fail:
164865  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_PrevVelocity'.\n"
164866  " Possible C/C++ prototypes are:\n"
164867  " AnimatSim::Environment::MotorizedJoint::PrevVelocity()\n"
164868  " AnimatSim::Environment::MotorizedJoint::PrevVelocity(float)\n");
164869  return 0;
164870 }
164871 
164872 
164873 SWIGINTERN PyObject *_wrap_MotorizedJoint_AssistCountdown__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
164874  PyObject *resultobj = 0;
164876  void *argp1 = 0 ;
164877  int res1 = 0 ;
164878  PyObject * obj0 = 0 ;
164879  int result;
164880 
164881  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_AssistCountdown",&obj0)) SWIG_fail;
164882  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
164883  if (!SWIG_IsOK(res1)) {
164884  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_AssistCountdown" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
164885  }
164886  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
164887  {
164888  try {
164889  result = (int)(arg1)->AssistCountdown();
164890  }
164891  catch(CStdErrorInfo oError)
164892  {
164893  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164894  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
164895  PyErr_SetString(PyExc_IndexError, strError.c_str());
164896  SWIG_fail;
164897  }
164898  catch(...)
164899  {
164900  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164901  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
164902  SWIG_fail;
164903  }
164904  }
164905  resultobj = SWIG_From_int(static_cast< int >(result));
164906  return resultobj;
164907 fail:
164908  return NULL;
164909 }
164910 
164911 
164912 SWIGINTERN PyObject *_wrap_MotorizedJoint_AssistCountdown__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
164913  PyObject *resultobj = 0;
164915  int arg2 ;
164916  void *argp1 = 0 ;
164917  int res1 = 0 ;
164918  int val2 ;
164919  int ecode2 = 0 ;
164920  PyObject * obj0 = 0 ;
164921  PyObject * obj1 = 0 ;
164922 
164923  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_AssistCountdown",&obj0,&obj1)) SWIG_fail;
164924  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
164925  if (!SWIG_IsOK(res1)) {
164926  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_AssistCountdown" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
164927  }
164928  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
164929  ecode2 = SWIG_AsVal_int(obj1, &val2);
164930  if (!SWIG_IsOK(ecode2)) {
164931  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_AssistCountdown" "', argument " "2"" of type '" "int""'");
164932  }
164933  arg2 = static_cast< int >(val2);
164934  {
164935  try {
164936  (arg1)->AssistCountdown(arg2);
164937  }
164938  catch(CStdErrorInfo oError)
164939  {
164940  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164941  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
164942  PyErr_SetString(PyExc_IndexError, strError.c_str());
164943  SWIG_fail;
164944  }
164945  catch(...)
164946  {
164947  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
164948  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
164949  SWIG_fail;
164950  }
164951  }
164952  resultobj = SWIG_Py_Void();
164953  return resultobj;
164954 fail:
164955  return NULL;
164956 }
164957 
164958 
164959 SWIGINTERN PyObject *_wrap_MotorizedJoint_AssistCountdown(PyObject *self, PyObject *args) {
164960  int argc;
164961  PyObject *argv[3];
164962  int ii;
164963 
164964  if (!PyTuple_Check(args)) SWIG_fail;
164965  argc = args ? (int)PyObject_Length(args) : 0;
164966  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
164967  argv[ii] = PyTuple_GET_ITEM(args,ii);
164968  }
164969  if (argc == 1) {
164970  int _v;
164971  void *vptr = 0;
164972  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164973  _v = SWIG_CheckState(res);
164974  if (_v) {
164975  return _wrap_MotorizedJoint_AssistCountdown__SWIG_0(self, args);
164976  }
164977  }
164978  if (argc == 2) {
164979  int _v;
164980  void *vptr = 0;
164981  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
164982  _v = SWIG_CheckState(res);
164983  if (_v) {
164984  {
164985  int res = SWIG_AsVal_int(argv[1], NULL);
164986  _v = SWIG_CheckState(res);
164987  }
164988  if (_v) {
164989  return _wrap_MotorizedJoint_AssistCountdown__SWIG_1(self, args);
164990  }
164991  }
164992  }
164993 
164994 fail:
164995  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_AssistCountdown'.\n"
164996  " Possible C/C++ prototypes are:\n"
164997  " AnimatSim::Environment::MotorizedJoint::AssistCountdown()\n"
164998  " AnimatSim::Environment::MotorizedJoint::AssistCountdown(int)\n");
164999  return 0;
165000 }
165001 
165002 
165003 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorForceToA__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165004  PyObject *resultobj = 0;
165006  void *argp1 = 0 ;
165007  int res1 = 0 ;
165008  PyObject * obj0 = 0 ;
165009  CStdPoint< float > result;
165010 
165011  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorForceToA",&obj0)) SWIG_fail;
165012  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165013  if (!SWIG_IsOK(res1)) {
165014  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorForceToA" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165015  }
165016  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165017  {
165018  try {
165019  result = (arg1)->MotorForceToA();
165020  }
165021  catch(CStdErrorInfo oError)
165022  {
165023  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165024  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165025  PyErr_SetString(PyExc_IndexError, strError.c_str());
165026  SWIG_fail;
165027  }
165028  catch(...)
165029  {
165030  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165031  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
165032  SWIG_fail;
165033  }
165034  }
165035  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
165036  return resultobj;
165037 fail:
165038  return NULL;
165039 }
165040 
165041 
165042 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorForceToA__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165043  PyObject *resultobj = 0;
165045  CStdPoint< float > *arg2 = 0 ;
165046  void *argp1 = 0 ;
165047  int res1 = 0 ;
165048  void *argp2 = 0 ;
165049  int res2 = 0 ;
165050  PyObject * obj0 = 0 ;
165051  PyObject * obj1 = 0 ;
165052 
165053  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorForceToA",&obj0,&obj1)) SWIG_fail;
165054  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165055  if (!SWIG_IsOK(res1)) {
165056  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorForceToA" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165057  }
165058  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165059  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
165060  if (!SWIG_IsOK(res2)) {
165061  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_MotorForceToA" "', argument " "2"" of type '" "CStdPoint< float > &""'");
165062  }
165063  if (!argp2) {
165064  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_MotorForceToA" "', argument " "2"" of type '" "CStdPoint< float > &""'");
165065  }
165066  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
165067  {
165068  try {
165069  (arg1)->MotorForceToA(*arg2);
165070  }
165071  catch(CStdErrorInfo oError)
165072  {
165073  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165074  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165075  PyErr_SetString(PyExc_IndexError, strError.c_str());
165076  SWIG_fail;
165077  }
165078  catch(...)
165079  {
165080  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165081  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
165082  SWIG_fail;
165083  }
165084  }
165085  resultobj = SWIG_Py_Void();
165086  return resultobj;
165087 fail:
165088  return NULL;
165089 }
165090 
165091 
165092 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorForceToA(PyObject *self, PyObject *args) {
165093  int argc;
165094  PyObject *argv[3];
165095  int ii;
165096 
165097  if (!PyTuple_Check(args)) SWIG_fail;
165098  argc = args ? (int)PyObject_Length(args) : 0;
165099  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
165100  argv[ii] = PyTuple_GET_ITEM(args,ii);
165101  }
165102  if (argc == 1) {
165103  int _v;
165104  void *vptr = 0;
165105  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
165106  _v = SWIG_CheckState(res);
165107  if (_v) {
165108  return _wrap_MotorizedJoint_MotorForceToA__SWIG_0(self, args);
165109  }
165110  }
165111  if (argc == 2) {
165112  int _v;
165113  void *vptr = 0;
165114  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
165115  _v = SWIG_CheckState(res);
165116  if (_v) {
165117  void *vptr = 0;
165118  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
165119  _v = SWIG_CheckState(res);
165120  if (_v) {
165121  return _wrap_MotorizedJoint_MotorForceToA__SWIG_1(self, args);
165122  }
165123  }
165124  }
165125 
165126 fail:
165127  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorForceToA'.\n"
165128  " Possible C/C++ prototypes are:\n"
165129  " AnimatSim::Environment::MotorizedJoint::MotorForceToA()\n"
165130  " AnimatSim::Environment::MotorizedJoint::MotorForceToA(CStdPoint< float > &)\n");
165131  return 0;
165132 }
165133 
165134 
165135 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorForceToAMagnitude__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165136  PyObject *resultobj = 0;
165138  void *argp1 = 0 ;
165139  int res1 = 0 ;
165140  PyObject * obj0 = 0 ;
165141  float result;
165142 
165143  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorForceToAMagnitude",&obj0)) SWIG_fail;
165144  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165145  if (!SWIG_IsOK(res1)) {
165146  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorForceToAMagnitude" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165147  }
165148  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165149  {
165150  try {
165151  result = (float)(arg1)->MotorForceToAMagnitude();
165152  }
165153  catch(CStdErrorInfo oError)
165154  {
165155  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165156  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165157  PyErr_SetString(PyExc_IndexError, strError.c_str());
165158  SWIG_fail;
165159  }
165160  catch(...)
165161  {
165162  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165163  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
165164  SWIG_fail;
165165  }
165166  }
165167  resultobj = SWIG_From_float(static_cast< float >(result));
165168  return resultobj;
165169 fail:
165170  return NULL;
165171 }
165172 
165173 
165174 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorForceToAMagnitude__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165175  PyObject *resultobj = 0;
165177  float arg2 ;
165178  void *argp1 = 0 ;
165179  int res1 = 0 ;
165180  float val2 ;
165181  int ecode2 = 0 ;
165182  PyObject * obj0 = 0 ;
165183  PyObject * obj1 = 0 ;
165184 
165185  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorForceToAMagnitude",&obj0,&obj1)) SWIG_fail;
165186  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165187  if (!SWIG_IsOK(res1)) {
165188  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorForceToAMagnitude" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165189  }
165190  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165191  ecode2 = SWIG_AsVal_float(obj1, &val2);
165192  if (!SWIG_IsOK(ecode2)) {
165193  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_MotorForceToAMagnitude" "', argument " "2"" of type '" "float""'");
165194  }
165195  arg2 = static_cast< float >(val2);
165196  {
165197  try {
165198  (arg1)->MotorForceToAMagnitude(arg2);
165199  }
165200  catch(CStdErrorInfo oError)
165201  {
165202  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165203  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165204  PyErr_SetString(PyExc_IndexError, strError.c_str());
165205  SWIG_fail;
165206  }
165207  catch(...)
165208  {
165209  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165210  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
165211  SWIG_fail;
165212  }
165213  }
165214  resultobj = SWIG_Py_Void();
165215  return resultobj;
165216 fail:
165217  return NULL;
165218 }
165219 
165220 
165221 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorForceToAMagnitude(PyObject *self, PyObject *args) {
165222  int argc;
165223  PyObject *argv[3];
165224  int ii;
165225 
165226  if (!PyTuple_Check(args)) SWIG_fail;
165227  argc = args ? (int)PyObject_Length(args) : 0;
165228  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
165229  argv[ii] = PyTuple_GET_ITEM(args,ii);
165230  }
165231  if (argc == 1) {
165232  int _v;
165233  void *vptr = 0;
165234  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
165235  _v = SWIG_CheckState(res);
165236  if (_v) {
165237  return _wrap_MotorizedJoint_MotorForceToAMagnitude__SWIG_0(self, args);
165238  }
165239  }
165240  if (argc == 2) {
165241  int _v;
165242  void *vptr = 0;
165243  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
165244  _v = SWIG_CheckState(res);
165245  if (_v) {
165246  {
165247  int res = SWIG_AsVal_float(argv[1], NULL);
165248  _v = SWIG_CheckState(res);
165249  }
165250  if (_v) {
165251  return _wrap_MotorizedJoint_MotorForceToAMagnitude__SWIG_1(self, args);
165252  }
165253  }
165254  }
165255 
165256 fail:
165257  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorForceToAMagnitude'.\n"
165258  " Possible C/C++ prototypes are:\n"
165259  " AnimatSim::Environment::MotorizedJoint::MotorForceToAMagnitude()\n"
165260  " AnimatSim::Environment::MotorizedJoint::MotorForceToAMagnitude(float)\n");
165261  return 0;
165262 }
165263 
165264 
165265 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistForceToA__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165266  PyObject *resultobj = 0;
165268  void *argp1 = 0 ;
165269  int res1 = 0 ;
165270  PyObject * obj0 = 0 ;
165271  CStdPoint< float > result;
165272 
165273  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorAssistForceToA",&obj0)) SWIG_fail;
165274  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165275  if (!SWIG_IsOK(res1)) {
165276  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistForceToA" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165277  }
165278  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165279  {
165280  try {
165281  result = (arg1)->MotorAssistForceToA();
165282  }
165283  catch(CStdErrorInfo oError)
165284  {
165285  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165286  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165287  PyErr_SetString(PyExc_IndexError, strError.c_str());
165288  SWIG_fail;
165289  }
165290  catch(...)
165291  {
165292  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165293  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
165294  SWIG_fail;
165295  }
165296  }
165297  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
165298  return resultobj;
165299 fail:
165300  return NULL;
165301 }
165302 
165303 
165304 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistForceToA__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165305  PyObject *resultobj = 0;
165307  CStdPoint< float > *arg2 = 0 ;
165308  void *argp1 = 0 ;
165309  int res1 = 0 ;
165310  void *argp2 = 0 ;
165311  int res2 = 0 ;
165312  PyObject * obj0 = 0 ;
165313  PyObject * obj1 = 0 ;
165314 
165315  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorAssistForceToA",&obj0,&obj1)) SWIG_fail;
165316  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165317  if (!SWIG_IsOK(res1)) {
165318  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistForceToA" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165319  }
165320  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165321  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
165322  if (!SWIG_IsOK(res2)) {
165323  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_MotorAssistForceToA" "', argument " "2"" of type '" "CStdPoint< float > &""'");
165324  }
165325  if (!argp2) {
165326  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_MotorAssistForceToA" "', argument " "2"" of type '" "CStdPoint< float > &""'");
165327  }
165328  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
165329  {
165330  try {
165331  (arg1)->MotorAssistForceToA(*arg2);
165332  }
165333  catch(CStdErrorInfo oError)
165334  {
165335  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165336  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165337  PyErr_SetString(PyExc_IndexError, strError.c_str());
165338  SWIG_fail;
165339  }
165340  catch(...)
165341  {
165342  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165343  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
165344  SWIG_fail;
165345  }
165346  }
165347  resultobj = SWIG_Py_Void();
165348  return resultobj;
165349 fail:
165350  return NULL;
165351 }
165352 
165353 
165354 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistForceToA(PyObject *self, PyObject *args) {
165355  int argc;
165356  PyObject *argv[3];
165357  int ii;
165358 
165359  if (!PyTuple_Check(args)) SWIG_fail;
165360  argc = args ? (int)PyObject_Length(args) : 0;
165361  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
165362  argv[ii] = PyTuple_GET_ITEM(args,ii);
165363  }
165364  if (argc == 1) {
165365  int _v;
165366  void *vptr = 0;
165367  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
165368  _v = SWIG_CheckState(res);
165369  if (_v) {
165370  return _wrap_MotorizedJoint_MotorAssistForceToA__SWIG_0(self, args);
165371  }
165372  }
165373  if (argc == 2) {
165374  int _v;
165375  void *vptr = 0;
165376  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
165377  _v = SWIG_CheckState(res);
165378  if (_v) {
165379  void *vptr = 0;
165380  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
165381  _v = SWIG_CheckState(res);
165382  if (_v) {
165383  return _wrap_MotorizedJoint_MotorAssistForceToA__SWIG_1(self, args);
165384  }
165385  }
165386  }
165387 
165388 fail:
165389  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorAssistForceToA'.\n"
165390  " Possible C/C++ prototypes are:\n"
165391  " AnimatSim::Environment::MotorizedJoint::MotorAssistForceToA()\n"
165392  " AnimatSim::Environment::MotorizedJoint::MotorAssistForceToA(CStdPoint< float > &)\n");
165393  return 0;
165394 }
165395 
165396 
165397 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistForceToAReport__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165398  PyObject *resultobj = 0;
165400  void *argp1 = 0 ;
165401  int res1 = 0 ;
165402  PyObject * obj0 = 0 ;
165403  CStdPoint< float > result;
165404 
165405  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorAssistForceToAReport",&obj0)) SWIG_fail;
165406  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165407  if (!SWIG_IsOK(res1)) {
165408  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistForceToAReport" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165409  }
165410  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165411  {
165412  try {
165413  result = (arg1)->MotorAssistForceToAReport();
165414  }
165415  catch(CStdErrorInfo oError)
165416  {
165417  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165418  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165419  PyErr_SetString(PyExc_IndexError, strError.c_str());
165420  SWIG_fail;
165421  }
165422  catch(...)
165423  {
165424  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165425  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
165426  SWIG_fail;
165427  }
165428  }
165429  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
165430  return resultobj;
165431 fail:
165432  return NULL;
165433 }
165434 
165435 
165436 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistForceToAReport__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165437  PyObject *resultobj = 0;
165439  CStdPoint< float > *arg2 = 0 ;
165440  void *argp1 = 0 ;
165441  int res1 = 0 ;
165442  void *argp2 = 0 ;
165443  int res2 = 0 ;
165444  PyObject * obj0 = 0 ;
165445  PyObject * obj1 = 0 ;
165446 
165447  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorAssistForceToAReport",&obj0,&obj1)) SWIG_fail;
165448  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165449  if (!SWIG_IsOK(res1)) {
165450  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistForceToAReport" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165451  }
165452  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165453  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
165454  if (!SWIG_IsOK(res2)) {
165455  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_MotorAssistForceToAReport" "', argument " "2"" of type '" "CStdPoint< float > &""'");
165456  }
165457  if (!argp2) {
165458  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_MotorAssistForceToAReport" "', argument " "2"" of type '" "CStdPoint< float > &""'");
165459  }
165460  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
165461  {
165462  try {
165463  (arg1)->MotorAssistForceToAReport(*arg2);
165464  }
165465  catch(CStdErrorInfo oError)
165466  {
165467  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165468  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165469  PyErr_SetString(PyExc_IndexError, strError.c_str());
165470  SWIG_fail;
165471  }
165472  catch(...)
165473  {
165474  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165475  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
165476  SWIG_fail;
165477  }
165478  }
165479  resultobj = SWIG_Py_Void();
165480  return resultobj;
165481 fail:
165482  return NULL;
165483 }
165484 
165485 
165486 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistForceToAReport(PyObject *self, PyObject *args) {
165487  int argc;
165488  PyObject *argv[3];
165489  int ii;
165490 
165491  if (!PyTuple_Check(args)) SWIG_fail;
165492  argc = args ? (int)PyObject_Length(args) : 0;
165493  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
165494  argv[ii] = PyTuple_GET_ITEM(args,ii);
165495  }
165496  if (argc == 1) {
165497  int _v;
165498  void *vptr = 0;
165499  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
165500  _v = SWIG_CheckState(res);
165501  if (_v) {
165502  return _wrap_MotorizedJoint_MotorAssistForceToAReport__SWIG_0(self, args);
165503  }
165504  }
165505  if (argc == 2) {
165506  int _v;
165507  void *vptr = 0;
165508  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
165509  _v = SWIG_CheckState(res);
165510  if (_v) {
165511  void *vptr = 0;
165512  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
165513  _v = SWIG_CheckState(res);
165514  if (_v) {
165515  return _wrap_MotorizedJoint_MotorAssistForceToAReport__SWIG_1(self, args);
165516  }
165517  }
165518  }
165519 
165520 fail:
165521  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorAssistForceToAReport'.\n"
165522  " Possible C/C++ prototypes are:\n"
165523  " AnimatSim::Environment::MotorizedJoint::MotorAssistForceToAReport()\n"
165524  " AnimatSim::Environment::MotorizedJoint::MotorAssistForceToAReport(CStdPoint< float > &)\n");
165525  return 0;
165526 }
165527 
165528 
165529 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorForceToB__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165530  PyObject *resultobj = 0;
165532  void *argp1 = 0 ;
165533  int res1 = 0 ;
165534  PyObject * obj0 = 0 ;
165535  CStdPoint< float > result;
165536 
165537  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorForceToB",&obj0)) SWIG_fail;
165538  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165539  if (!SWIG_IsOK(res1)) {
165540  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorForceToB" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165541  }
165542  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165543  {
165544  try {
165545  result = (arg1)->MotorForceToB();
165546  }
165547  catch(CStdErrorInfo oError)
165548  {
165549  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165550  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165551  PyErr_SetString(PyExc_IndexError, strError.c_str());
165552  SWIG_fail;
165553  }
165554  catch(...)
165555  {
165556  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165557  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
165558  SWIG_fail;
165559  }
165560  }
165561  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
165562  return resultobj;
165563 fail:
165564  return NULL;
165565 }
165566 
165567 
165568 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorForceToB__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165569  PyObject *resultobj = 0;
165571  CStdPoint< float > *arg2 = 0 ;
165572  void *argp1 = 0 ;
165573  int res1 = 0 ;
165574  void *argp2 = 0 ;
165575  int res2 = 0 ;
165576  PyObject * obj0 = 0 ;
165577  PyObject * obj1 = 0 ;
165578 
165579  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorForceToB",&obj0,&obj1)) SWIG_fail;
165580  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165581  if (!SWIG_IsOK(res1)) {
165582  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorForceToB" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165583  }
165584  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165585  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
165586  if (!SWIG_IsOK(res2)) {
165587  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_MotorForceToB" "', argument " "2"" of type '" "CStdPoint< float > &""'");
165588  }
165589  if (!argp2) {
165590  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_MotorForceToB" "', argument " "2"" of type '" "CStdPoint< float > &""'");
165591  }
165592  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
165593  {
165594  try {
165595  (arg1)->MotorForceToB(*arg2);
165596  }
165597  catch(CStdErrorInfo oError)
165598  {
165599  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165600  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165601  PyErr_SetString(PyExc_IndexError, strError.c_str());
165602  SWIG_fail;
165603  }
165604  catch(...)
165605  {
165606  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165607  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
165608  SWIG_fail;
165609  }
165610  }
165611  resultobj = SWIG_Py_Void();
165612  return resultobj;
165613 fail:
165614  return NULL;
165615 }
165616 
165617 
165618 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorForceToB(PyObject *self, PyObject *args) {
165619  int argc;
165620  PyObject *argv[3];
165621  int ii;
165622 
165623  if (!PyTuple_Check(args)) SWIG_fail;
165624  argc = args ? (int)PyObject_Length(args) : 0;
165625  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
165626  argv[ii] = PyTuple_GET_ITEM(args,ii);
165627  }
165628  if (argc == 1) {
165629  int _v;
165630  void *vptr = 0;
165631  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
165632  _v = SWIG_CheckState(res);
165633  if (_v) {
165634  return _wrap_MotorizedJoint_MotorForceToB__SWIG_0(self, args);
165635  }
165636  }
165637  if (argc == 2) {
165638  int _v;
165639  void *vptr = 0;
165640  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
165641  _v = SWIG_CheckState(res);
165642  if (_v) {
165643  void *vptr = 0;
165644  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
165645  _v = SWIG_CheckState(res);
165646  if (_v) {
165647  return _wrap_MotorizedJoint_MotorForceToB__SWIG_1(self, args);
165648  }
165649  }
165650  }
165651 
165652 fail:
165653  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorForceToB'.\n"
165654  " Possible C/C++ prototypes are:\n"
165655  " AnimatSim::Environment::MotorizedJoint::MotorForceToB()\n"
165656  " AnimatSim::Environment::MotorizedJoint::MotorForceToB(CStdPoint< float > &)\n");
165657  return 0;
165658 }
165659 
165660 
165661 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorForceToBMagnitude__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165662  PyObject *resultobj = 0;
165664  void *argp1 = 0 ;
165665  int res1 = 0 ;
165666  PyObject * obj0 = 0 ;
165667  float result;
165668 
165669  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorForceToBMagnitude",&obj0)) SWIG_fail;
165670  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165671  if (!SWIG_IsOK(res1)) {
165672  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorForceToBMagnitude" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165673  }
165674  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165675  {
165676  try {
165677  result = (float)(arg1)->MotorForceToBMagnitude();
165678  }
165679  catch(CStdErrorInfo oError)
165680  {
165681  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165682  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165683  PyErr_SetString(PyExc_IndexError, strError.c_str());
165684  SWIG_fail;
165685  }
165686  catch(...)
165687  {
165688  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165689  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
165690  SWIG_fail;
165691  }
165692  }
165693  resultobj = SWIG_From_float(static_cast< float >(result));
165694  return resultobj;
165695 fail:
165696  return NULL;
165697 }
165698 
165699 
165700 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorForceToBMagnitude__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165701  PyObject *resultobj = 0;
165703  float arg2 ;
165704  void *argp1 = 0 ;
165705  int res1 = 0 ;
165706  float val2 ;
165707  int ecode2 = 0 ;
165708  PyObject * obj0 = 0 ;
165709  PyObject * obj1 = 0 ;
165710 
165711  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorForceToBMagnitude",&obj0,&obj1)) SWIG_fail;
165712  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165713  if (!SWIG_IsOK(res1)) {
165714  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorForceToBMagnitude" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165715  }
165716  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165717  ecode2 = SWIG_AsVal_float(obj1, &val2);
165718  if (!SWIG_IsOK(ecode2)) {
165719  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_MotorForceToBMagnitude" "', argument " "2"" of type '" "float""'");
165720  }
165721  arg2 = static_cast< float >(val2);
165722  {
165723  try {
165724  (arg1)->MotorForceToBMagnitude(arg2);
165725  }
165726  catch(CStdErrorInfo oError)
165727  {
165728  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165729  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165730  PyErr_SetString(PyExc_IndexError, strError.c_str());
165731  SWIG_fail;
165732  }
165733  catch(...)
165734  {
165735  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165736  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
165737  SWIG_fail;
165738  }
165739  }
165740  resultobj = SWIG_Py_Void();
165741  return resultobj;
165742 fail:
165743  return NULL;
165744 }
165745 
165746 
165747 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorForceToBMagnitude(PyObject *self, PyObject *args) {
165748  int argc;
165749  PyObject *argv[3];
165750  int ii;
165751 
165752  if (!PyTuple_Check(args)) SWIG_fail;
165753  argc = args ? (int)PyObject_Length(args) : 0;
165754  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
165755  argv[ii] = PyTuple_GET_ITEM(args,ii);
165756  }
165757  if (argc == 1) {
165758  int _v;
165759  void *vptr = 0;
165760  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
165761  _v = SWIG_CheckState(res);
165762  if (_v) {
165763  return _wrap_MotorizedJoint_MotorForceToBMagnitude__SWIG_0(self, args);
165764  }
165765  }
165766  if (argc == 2) {
165767  int _v;
165768  void *vptr = 0;
165769  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
165770  _v = SWIG_CheckState(res);
165771  if (_v) {
165772  {
165773  int res = SWIG_AsVal_float(argv[1], NULL);
165774  _v = SWIG_CheckState(res);
165775  }
165776  if (_v) {
165777  return _wrap_MotorizedJoint_MotorForceToBMagnitude__SWIG_1(self, args);
165778  }
165779  }
165780  }
165781 
165782 fail:
165783  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorForceToBMagnitude'.\n"
165784  " Possible C/C++ prototypes are:\n"
165785  " AnimatSim::Environment::MotorizedJoint::MotorForceToBMagnitude()\n"
165786  " AnimatSim::Environment::MotorizedJoint::MotorForceToBMagnitude(float)\n");
165787  return 0;
165788 }
165789 
165790 
165791 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistForceToB__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165792  PyObject *resultobj = 0;
165794  void *argp1 = 0 ;
165795  int res1 = 0 ;
165796  PyObject * obj0 = 0 ;
165797  CStdPoint< float > result;
165798 
165799  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorAssistForceToB",&obj0)) SWIG_fail;
165800  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165801  if (!SWIG_IsOK(res1)) {
165802  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistForceToB" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165803  }
165804  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165805  {
165806  try {
165807  result = (arg1)->MotorAssistForceToB();
165808  }
165809  catch(CStdErrorInfo oError)
165810  {
165811  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165812  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165813  PyErr_SetString(PyExc_IndexError, strError.c_str());
165814  SWIG_fail;
165815  }
165816  catch(...)
165817  {
165818  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165819  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
165820  SWIG_fail;
165821  }
165822  }
165823  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
165824  return resultobj;
165825 fail:
165826  return NULL;
165827 }
165828 
165829 
165830 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistForceToB__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165831  PyObject *resultobj = 0;
165833  CStdPoint< float > *arg2 = 0 ;
165834  void *argp1 = 0 ;
165835  int res1 = 0 ;
165836  void *argp2 = 0 ;
165837  int res2 = 0 ;
165838  PyObject * obj0 = 0 ;
165839  PyObject * obj1 = 0 ;
165840 
165841  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorAssistForceToB",&obj0,&obj1)) SWIG_fail;
165842  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165843  if (!SWIG_IsOK(res1)) {
165844  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistForceToB" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165845  }
165846  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165847  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
165848  if (!SWIG_IsOK(res2)) {
165849  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_MotorAssistForceToB" "', argument " "2"" of type '" "CStdPoint< float > &""'");
165850  }
165851  if (!argp2) {
165852  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_MotorAssistForceToB" "', argument " "2"" of type '" "CStdPoint< float > &""'");
165853  }
165854  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
165855  {
165856  try {
165857  (arg1)->MotorAssistForceToB(*arg2);
165858  }
165859  catch(CStdErrorInfo oError)
165860  {
165861  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165862  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165863  PyErr_SetString(PyExc_IndexError, strError.c_str());
165864  SWIG_fail;
165865  }
165866  catch(...)
165867  {
165868  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165869  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
165870  SWIG_fail;
165871  }
165872  }
165873  resultobj = SWIG_Py_Void();
165874  return resultobj;
165875 fail:
165876  return NULL;
165877 }
165878 
165879 
165880 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistForceToB(PyObject *self, PyObject *args) {
165881  int argc;
165882  PyObject *argv[3];
165883  int ii;
165884 
165885  if (!PyTuple_Check(args)) SWIG_fail;
165886  argc = args ? (int)PyObject_Length(args) : 0;
165887  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
165888  argv[ii] = PyTuple_GET_ITEM(args,ii);
165889  }
165890  if (argc == 1) {
165891  int _v;
165892  void *vptr = 0;
165893  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
165894  _v = SWIG_CheckState(res);
165895  if (_v) {
165896  return _wrap_MotorizedJoint_MotorAssistForceToB__SWIG_0(self, args);
165897  }
165898  }
165899  if (argc == 2) {
165900  int _v;
165901  void *vptr = 0;
165902  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
165903  _v = SWIG_CheckState(res);
165904  if (_v) {
165905  void *vptr = 0;
165906  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
165907  _v = SWIG_CheckState(res);
165908  if (_v) {
165909  return _wrap_MotorizedJoint_MotorAssistForceToB__SWIG_1(self, args);
165910  }
165911  }
165912  }
165913 
165914 fail:
165915  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorAssistForceToB'.\n"
165916  " Possible C/C++ prototypes are:\n"
165917  " AnimatSim::Environment::MotorizedJoint::MotorAssistForceToB()\n"
165918  " AnimatSim::Environment::MotorizedJoint::MotorAssistForceToB(CStdPoint< float > &)\n");
165919  return 0;
165920 }
165921 
165922 
165923 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistForceToBReport__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165924  PyObject *resultobj = 0;
165926  void *argp1 = 0 ;
165927  int res1 = 0 ;
165928  PyObject * obj0 = 0 ;
165929  CStdPoint< float > result;
165930 
165931  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorAssistForceToBReport",&obj0)) SWIG_fail;
165932  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165933  if (!SWIG_IsOK(res1)) {
165934  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistForceToBReport" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165935  }
165936  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165937  {
165938  try {
165939  result = (arg1)->MotorAssistForceToBReport();
165940  }
165941  catch(CStdErrorInfo oError)
165942  {
165943  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165944  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165945  PyErr_SetString(PyExc_IndexError, strError.c_str());
165946  SWIG_fail;
165947  }
165948  catch(...)
165949  {
165950  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165951  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
165952  SWIG_fail;
165953  }
165954  }
165955  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
165956  return resultobj;
165957 fail:
165958  return NULL;
165959 }
165960 
165961 
165962 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistForceToBReport__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
165963  PyObject *resultobj = 0;
165965  CStdPoint< float > *arg2 = 0 ;
165966  void *argp1 = 0 ;
165967  int res1 = 0 ;
165968  void *argp2 = 0 ;
165969  int res2 = 0 ;
165970  PyObject * obj0 = 0 ;
165971  PyObject * obj1 = 0 ;
165972 
165973  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorAssistForceToBReport",&obj0,&obj1)) SWIG_fail;
165974  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
165975  if (!SWIG_IsOK(res1)) {
165976  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistForceToBReport" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
165977  }
165978  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
165979  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
165980  if (!SWIG_IsOK(res2)) {
165981  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_MotorAssistForceToBReport" "', argument " "2"" of type '" "CStdPoint< float > &""'");
165982  }
165983  if (!argp2) {
165984  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_MotorAssistForceToBReport" "', argument " "2"" of type '" "CStdPoint< float > &""'");
165985  }
165986  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
165987  {
165988  try {
165989  (arg1)->MotorAssistForceToBReport(*arg2);
165990  }
165991  catch(CStdErrorInfo oError)
165992  {
165993  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
165994  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
165995  PyErr_SetString(PyExc_IndexError, strError.c_str());
165996  SWIG_fail;
165997  }
165998  catch(...)
165999  {
166000  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166001  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
166002  SWIG_fail;
166003  }
166004  }
166005  resultobj = SWIG_Py_Void();
166006  return resultobj;
166007 fail:
166008  return NULL;
166009 }
166010 
166011 
166012 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistForceToBReport(PyObject *self, PyObject *args) {
166013  int argc;
166014  PyObject *argv[3];
166015  int ii;
166016 
166017  if (!PyTuple_Check(args)) SWIG_fail;
166018  argc = args ? (int)PyObject_Length(args) : 0;
166019  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
166020  argv[ii] = PyTuple_GET_ITEM(args,ii);
166021  }
166022  if (argc == 1) {
166023  int _v;
166024  void *vptr = 0;
166025  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166026  _v = SWIG_CheckState(res);
166027  if (_v) {
166028  return _wrap_MotorizedJoint_MotorAssistForceToBReport__SWIG_0(self, args);
166029  }
166030  }
166031  if (argc == 2) {
166032  int _v;
166033  void *vptr = 0;
166034  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166035  _v = SWIG_CheckState(res);
166036  if (_v) {
166037  void *vptr = 0;
166038  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
166039  _v = SWIG_CheckState(res);
166040  if (_v) {
166041  return _wrap_MotorizedJoint_MotorAssistForceToBReport__SWIG_1(self, args);
166042  }
166043  }
166044  }
166045 
166046 fail:
166047  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorAssistForceToBReport'.\n"
166048  " Possible C/C++ prototypes are:\n"
166049  " AnimatSim::Environment::MotorizedJoint::MotorAssistForceToBReport()\n"
166050  " AnimatSim::Environment::MotorizedJoint::MotorAssistForceToBReport(CStdPoint< float > &)\n");
166051  return 0;
166052 }
166053 
166054 
166055 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorTorqueToA__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
166056  PyObject *resultobj = 0;
166058  void *argp1 = 0 ;
166059  int res1 = 0 ;
166060  PyObject * obj0 = 0 ;
166061  CStdPoint< float > result;
166062 
166063  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorTorqueToA",&obj0)) SWIG_fail;
166064  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
166065  if (!SWIG_IsOK(res1)) {
166066  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorTorqueToA" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
166067  }
166068  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
166069  {
166070  try {
166071  result = (arg1)->MotorTorqueToA();
166072  }
166073  catch(CStdErrorInfo oError)
166074  {
166075  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166076  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
166077  PyErr_SetString(PyExc_IndexError, strError.c_str());
166078  SWIG_fail;
166079  }
166080  catch(...)
166081  {
166082  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166083  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
166084  SWIG_fail;
166085  }
166086  }
166087  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
166088  return resultobj;
166089 fail:
166090  return NULL;
166091 }
166092 
166093 
166094 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorTorqueToA__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
166095  PyObject *resultobj = 0;
166097  CStdPoint< float > *arg2 = 0 ;
166098  void *argp1 = 0 ;
166099  int res1 = 0 ;
166100  void *argp2 = 0 ;
166101  int res2 = 0 ;
166102  PyObject * obj0 = 0 ;
166103  PyObject * obj1 = 0 ;
166104 
166105  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorTorqueToA",&obj0,&obj1)) SWIG_fail;
166106  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
166107  if (!SWIG_IsOK(res1)) {
166108  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorTorqueToA" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
166109  }
166110  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
166111  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
166112  if (!SWIG_IsOK(res2)) {
166113  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_MotorTorqueToA" "', argument " "2"" of type '" "CStdPoint< float > &""'");
166114  }
166115  if (!argp2) {
166116  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_MotorTorqueToA" "', argument " "2"" of type '" "CStdPoint< float > &""'");
166117  }
166118  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
166119  {
166120  try {
166121  (arg1)->MotorTorqueToA(*arg2);
166122  }
166123  catch(CStdErrorInfo oError)
166124  {
166125  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166126  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
166127  PyErr_SetString(PyExc_IndexError, strError.c_str());
166128  SWIG_fail;
166129  }
166130  catch(...)
166131  {
166132  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166133  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
166134  SWIG_fail;
166135  }
166136  }
166137  resultobj = SWIG_Py_Void();
166138  return resultobj;
166139 fail:
166140  return NULL;
166141 }
166142 
166143 
166144 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorTorqueToA(PyObject *self, PyObject *args) {
166145  int argc;
166146  PyObject *argv[3];
166147  int ii;
166148 
166149  if (!PyTuple_Check(args)) SWIG_fail;
166150  argc = args ? (int)PyObject_Length(args) : 0;
166151  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
166152  argv[ii] = PyTuple_GET_ITEM(args,ii);
166153  }
166154  if (argc == 1) {
166155  int _v;
166156  void *vptr = 0;
166157  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166158  _v = SWIG_CheckState(res);
166159  if (_v) {
166160  return _wrap_MotorizedJoint_MotorTorqueToA__SWIG_0(self, args);
166161  }
166162  }
166163  if (argc == 2) {
166164  int _v;
166165  void *vptr = 0;
166166  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166167  _v = SWIG_CheckState(res);
166168  if (_v) {
166169  void *vptr = 0;
166170  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
166171  _v = SWIG_CheckState(res);
166172  if (_v) {
166173  return _wrap_MotorizedJoint_MotorTorqueToA__SWIG_1(self, args);
166174  }
166175  }
166176  }
166177 
166178 fail:
166179  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorTorqueToA'.\n"
166180  " Possible C/C++ prototypes are:\n"
166181  " AnimatSim::Environment::MotorizedJoint::MotorTorqueToA()\n"
166182  " AnimatSim::Environment::MotorizedJoint::MotorTorqueToA(CStdPoint< float > &)\n");
166183  return 0;
166184 }
166185 
166186 
166187 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorTorqueToAMagnitude__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
166188  PyObject *resultobj = 0;
166190  void *argp1 = 0 ;
166191  int res1 = 0 ;
166192  PyObject * obj0 = 0 ;
166193  float result;
166194 
166195  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorTorqueToAMagnitude",&obj0)) SWIG_fail;
166196  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
166197  if (!SWIG_IsOK(res1)) {
166198  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorTorqueToAMagnitude" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
166199  }
166200  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
166201  {
166202  try {
166203  result = (float)(arg1)->MotorTorqueToAMagnitude();
166204  }
166205  catch(CStdErrorInfo oError)
166206  {
166207  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166208  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
166209  PyErr_SetString(PyExc_IndexError, strError.c_str());
166210  SWIG_fail;
166211  }
166212  catch(...)
166213  {
166214  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166215  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
166216  SWIG_fail;
166217  }
166218  }
166219  resultobj = SWIG_From_float(static_cast< float >(result));
166220  return resultobj;
166221 fail:
166222  return NULL;
166223 }
166224 
166225 
166226 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorTorqueToAMagnitude__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
166227  PyObject *resultobj = 0;
166229  float arg2 ;
166230  void *argp1 = 0 ;
166231  int res1 = 0 ;
166232  float val2 ;
166233  int ecode2 = 0 ;
166234  PyObject * obj0 = 0 ;
166235  PyObject * obj1 = 0 ;
166236 
166237  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorTorqueToAMagnitude",&obj0,&obj1)) SWIG_fail;
166238  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
166239  if (!SWIG_IsOK(res1)) {
166240  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorTorqueToAMagnitude" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
166241  }
166242  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
166243  ecode2 = SWIG_AsVal_float(obj1, &val2);
166244  if (!SWIG_IsOK(ecode2)) {
166245  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_MotorTorqueToAMagnitude" "', argument " "2"" of type '" "float""'");
166246  }
166247  arg2 = static_cast< float >(val2);
166248  {
166249  try {
166250  (arg1)->MotorTorqueToAMagnitude(arg2);
166251  }
166252  catch(CStdErrorInfo oError)
166253  {
166254  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166255  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
166256  PyErr_SetString(PyExc_IndexError, strError.c_str());
166257  SWIG_fail;
166258  }
166259  catch(...)
166260  {
166261  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166262  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
166263  SWIG_fail;
166264  }
166265  }
166266  resultobj = SWIG_Py_Void();
166267  return resultobj;
166268 fail:
166269  return NULL;
166270 }
166271 
166272 
166273 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorTorqueToAMagnitude(PyObject *self, PyObject *args) {
166274  int argc;
166275  PyObject *argv[3];
166276  int ii;
166277 
166278  if (!PyTuple_Check(args)) SWIG_fail;
166279  argc = args ? (int)PyObject_Length(args) : 0;
166280  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
166281  argv[ii] = PyTuple_GET_ITEM(args,ii);
166282  }
166283  if (argc == 1) {
166284  int _v;
166285  void *vptr = 0;
166286  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166287  _v = SWIG_CheckState(res);
166288  if (_v) {
166289  return _wrap_MotorizedJoint_MotorTorqueToAMagnitude__SWIG_0(self, args);
166290  }
166291  }
166292  if (argc == 2) {
166293  int _v;
166294  void *vptr = 0;
166295  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166296  _v = SWIG_CheckState(res);
166297  if (_v) {
166298  {
166299  int res = SWIG_AsVal_float(argv[1], NULL);
166300  _v = SWIG_CheckState(res);
166301  }
166302  if (_v) {
166303  return _wrap_MotorizedJoint_MotorTorqueToAMagnitude__SWIG_1(self, args);
166304  }
166305  }
166306  }
166307 
166308 fail:
166309  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorTorqueToAMagnitude'.\n"
166310  " Possible C/C++ prototypes are:\n"
166311  " AnimatSim::Environment::MotorizedJoint::MotorTorqueToAMagnitude()\n"
166312  " AnimatSim::Environment::MotorizedJoint::MotorTorqueToAMagnitude(float)\n");
166313  return 0;
166314 }
166315 
166316 
166317 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistTorqueToA__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
166318  PyObject *resultobj = 0;
166320  void *argp1 = 0 ;
166321  int res1 = 0 ;
166322  PyObject * obj0 = 0 ;
166323  CStdPoint< float > result;
166324 
166325  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorAssistTorqueToA",&obj0)) SWIG_fail;
166326  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
166327  if (!SWIG_IsOK(res1)) {
166328  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistTorqueToA" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
166329  }
166330  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
166331  {
166332  try {
166333  result = (arg1)->MotorAssistTorqueToA();
166334  }
166335  catch(CStdErrorInfo oError)
166336  {
166337  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166338  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
166339  PyErr_SetString(PyExc_IndexError, strError.c_str());
166340  SWIG_fail;
166341  }
166342  catch(...)
166343  {
166344  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166345  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
166346  SWIG_fail;
166347  }
166348  }
166349  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
166350  return resultobj;
166351 fail:
166352  return NULL;
166353 }
166354 
166355 
166356 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistTorqueToA__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
166357  PyObject *resultobj = 0;
166359  CStdPoint< float > *arg2 = 0 ;
166360  void *argp1 = 0 ;
166361  int res1 = 0 ;
166362  void *argp2 = 0 ;
166363  int res2 = 0 ;
166364  PyObject * obj0 = 0 ;
166365  PyObject * obj1 = 0 ;
166366 
166367  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorAssistTorqueToA",&obj0,&obj1)) SWIG_fail;
166368  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
166369  if (!SWIG_IsOK(res1)) {
166370  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistTorqueToA" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
166371  }
166372  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
166373  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
166374  if (!SWIG_IsOK(res2)) {
166375  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_MotorAssistTorqueToA" "', argument " "2"" of type '" "CStdPoint< float > &""'");
166376  }
166377  if (!argp2) {
166378  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_MotorAssistTorqueToA" "', argument " "2"" of type '" "CStdPoint< float > &""'");
166379  }
166380  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
166381  {
166382  try {
166383  (arg1)->MotorAssistTorqueToA(*arg2);
166384  }
166385  catch(CStdErrorInfo oError)
166386  {
166387  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166388  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
166389  PyErr_SetString(PyExc_IndexError, strError.c_str());
166390  SWIG_fail;
166391  }
166392  catch(...)
166393  {
166394  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166395  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
166396  SWIG_fail;
166397  }
166398  }
166399  resultobj = SWIG_Py_Void();
166400  return resultobj;
166401 fail:
166402  return NULL;
166403 }
166404 
166405 
166406 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistTorqueToA(PyObject *self, PyObject *args) {
166407  int argc;
166408  PyObject *argv[3];
166409  int ii;
166410 
166411  if (!PyTuple_Check(args)) SWIG_fail;
166412  argc = args ? (int)PyObject_Length(args) : 0;
166413  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
166414  argv[ii] = PyTuple_GET_ITEM(args,ii);
166415  }
166416  if (argc == 1) {
166417  int _v;
166418  void *vptr = 0;
166419  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166420  _v = SWIG_CheckState(res);
166421  if (_v) {
166422  return _wrap_MotorizedJoint_MotorAssistTorqueToA__SWIG_0(self, args);
166423  }
166424  }
166425  if (argc == 2) {
166426  int _v;
166427  void *vptr = 0;
166428  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166429  _v = SWIG_CheckState(res);
166430  if (_v) {
166431  void *vptr = 0;
166432  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
166433  _v = SWIG_CheckState(res);
166434  if (_v) {
166435  return _wrap_MotorizedJoint_MotorAssistTorqueToA__SWIG_1(self, args);
166436  }
166437  }
166438  }
166439 
166440 fail:
166441  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorAssistTorqueToA'.\n"
166442  " Possible C/C++ prototypes are:\n"
166443  " AnimatSim::Environment::MotorizedJoint::MotorAssistTorqueToA()\n"
166444  " AnimatSim::Environment::MotorizedJoint::MotorAssistTorqueToA(CStdPoint< float > &)\n");
166445  return 0;
166446 }
166447 
166448 
166449 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistTorqueToAReport__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
166450  PyObject *resultobj = 0;
166452  void *argp1 = 0 ;
166453  int res1 = 0 ;
166454  PyObject * obj0 = 0 ;
166455  CStdPoint< float > result;
166456 
166457  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorAssistTorqueToAReport",&obj0)) SWIG_fail;
166458  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
166459  if (!SWIG_IsOK(res1)) {
166460  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistTorqueToAReport" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
166461  }
166462  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
166463  {
166464  try {
166465  result = (arg1)->MotorAssistTorqueToAReport();
166466  }
166467  catch(CStdErrorInfo oError)
166468  {
166469  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166470  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
166471  PyErr_SetString(PyExc_IndexError, strError.c_str());
166472  SWIG_fail;
166473  }
166474  catch(...)
166475  {
166476  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166477  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
166478  SWIG_fail;
166479  }
166480  }
166481  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
166482  return resultobj;
166483 fail:
166484  return NULL;
166485 }
166486 
166487 
166488 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistTorqueToAReport__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
166489  PyObject *resultobj = 0;
166491  CStdPoint< float > *arg2 = 0 ;
166492  void *argp1 = 0 ;
166493  int res1 = 0 ;
166494  void *argp2 = 0 ;
166495  int res2 = 0 ;
166496  PyObject * obj0 = 0 ;
166497  PyObject * obj1 = 0 ;
166498 
166499  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorAssistTorqueToAReport",&obj0,&obj1)) SWIG_fail;
166500  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
166501  if (!SWIG_IsOK(res1)) {
166502  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistTorqueToAReport" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
166503  }
166504  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
166505  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
166506  if (!SWIG_IsOK(res2)) {
166507  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_MotorAssistTorqueToAReport" "', argument " "2"" of type '" "CStdPoint< float > &""'");
166508  }
166509  if (!argp2) {
166510  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_MotorAssistTorqueToAReport" "', argument " "2"" of type '" "CStdPoint< float > &""'");
166511  }
166512  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
166513  {
166514  try {
166515  (arg1)->MotorAssistTorqueToAReport(*arg2);
166516  }
166517  catch(CStdErrorInfo oError)
166518  {
166519  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166520  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
166521  PyErr_SetString(PyExc_IndexError, strError.c_str());
166522  SWIG_fail;
166523  }
166524  catch(...)
166525  {
166526  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166527  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
166528  SWIG_fail;
166529  }
166530  }
166531  resultobj = SWIG_Py_Void();
166532  return resultobj;
166533 fail:
166534  return NULL;
166535 }
166536 
166537 
166538 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistTorqueToAReport(PyObject *self, PyObject *args) {
166539  int argc;
166540  PyObject *argv[3];
166541  int ii;
166542 
166543  if (!PyTuple_Check(args)) SWIG_fail;
166544  argc = args ? (int)PyObject_Length(args) : 0;
166545  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
166546  argv[ii] = PyTuple_GET_ITEM(args,ii);
166547  }
166548  if (argc == 1) {
166549  int _v;
166550  void *vptr = 0;
166551  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166552  _v = SWIG_CheckState(res);
166553  if (_v) {
166554  return _wrap_MotorizedJoint_MotorAssistTorqueToAReport__SWIG_0(self, args);
166555  }
166556  }
166557  if (argc == 2) {
166558  int _v;
166559  void *vptr = 0;
166560  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166561  _v = SWIG_CheckState(res);
166562  if (_v) {
166563  void *vptr = 0;
166564  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
166565  _v = SWIG_CheckState(res);
166566  if (_v) {
166567  return _wrap_MotorizedJoint_MotorAssistTorqueToAReport__SWIG_1(self, args);
166568  }
166569  }
166570  }
166571 
166572 fail:
166573  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorAssistTorqueToAReport'.\n"
166574  " Possible C/C++ prototypes are:\n"
166575  " AnimatSim::Environment::MotorizedJoint::MotorAssistTorqueToAReport()\n"
166576  " AnimatSim::Environment::MotorizedJoint::MotorAssistTorqueToAReport(CStdPoint< float > &)\n");
166577  return 0;
166578 }
166579 
166580 
166581 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorTorqueToB__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
166582  PyObject *resultobj = 0;
166584  void *argp1 = 0 ;
166585  int res1 = 0 ;
166586  PyObject * obj0 = 0 ;
166587  CStdPoint< float > result;
166588 
166589  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorTorqueToB",&obj0)) SWIG_fail;
166590  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
166591  if (!SWIG_IsOK(res1)) {
166592  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorTorqueToB" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
166593  }
166594  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
166595  {
166596  try {
166597  result = (arg1)->MotorTorqueToB();
166598  }
166599  catch(CStdErrorInfo oError)
166600  {
166601  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166602  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
166603  PyErr_SetString(PyExc_IndexError, strError.c_str());
166604  SWIG_fail;
166605  }
166606  catch(...)
166607  {
166608  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166609  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
166610  SWIG_fail;
166611  }
166612  }
166613  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
166614  return resultobj;
166615 fail:
166616  return NULL;
166617 }
166618 
166619 
166620 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorTorqueToB__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
166621  PyObject *resultobj = 0;
166623  CStdPoint< float > *arg2 = 0 ;
166624  void *argp1 = 0 ;
166625  int res1 = 0 ;
166626  void *argp2 = 0 ;
166627  int res2 = 0 ;
166628  PyObject * obj0 = 0 ;
166629  PyObject * obj1 = 0 ;
166630 
166631  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorTorqueToB",&obj0,&obj1)) SWIG_fail;
166632  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
166633  if (!SWIG_IsOK(res1)) {
166634  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorTorqueToB" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
166635  }
166636  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
166637  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
166638  if (!SWIG_IsOK(res2)) {
166639  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_MotorTorqueToB" "', argument " "2"" of type '" "CStdPoint< float > &""'");
166640  }
166641  if (!argp2) {
166642  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_MotorTorqueToB" "', argument " "2"" of type '" "CStdPoint< float > &""'");
166643  }
166644  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
166645  {
166646  try {
166647  (arg1)->MotorTorqueToB(*arg2);
166648  }
166649  catch(CStdErrorInfo oError)
166650  {
166651  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166652  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
166653  PyErr_SetString(PyExc_IndexError, strError.c_str());
166654  SWIG_fail;
166655  }
166656  catch(...)
166657  {
166658  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166659  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
166660  SWIG_fail;
166661  }
166662  }
166663  resultobj = SWIG_Py_Void();
166664  return resultobj;
166665 fail:
166666  return NULL;
166667 }
166668 
166669 
166670 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorTorqueToB(PyObject *self, PyObject *args) {
166671  int argc;
166672  PyObject *argv[3];
166673  int ii;
166674 
166675  if (!PyTuple_Check(args)) SWIG_fail;
166676  argc = args ? (int)PyObject_Length(args) : 0;
166677  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
166678  argv[ii] = PyTuple_GET_ITEM(args,ii);
166679  }
166680  if (argc == 1) {
166681  int _v;
166682  void *vptr = 0;
166683  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166684  _v = SWIG_CheckState(res);
166685  if (_v) {
166686  return _wrap_MotorizedJoint_MotorTorqueToB__SWIG_0(self, args);
166687  }
166688  }
166689  if (argc == 2) {
166690  int _v;
166691  void *vptr = 0;
166692  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166693  _v = SWIG_CheckState(res);
166694  if (_v) {
166695  void *vptr = 0;
166696  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
166697  _v = SWIG_CheckState(res);
166698  if (_v) {
166699  return _wrap_MotorizedJoint_MotorTorqueToB__SWIG_1(self, args);
166700  }
166701  }
166702  }
166703 
166704 fail:
166705  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorTorqueToB'.\n"
166706  " Possible C/C++ prototypes are:\n"
166707  " AnimatSim::Environment::MotorizedJoint::MotorTorqueToB()\n"
166708  " AnimatSim::Environment::MotorizedJoint::MotorTorqueToB(CStdPoint< float > &)\n");
166709  return 0;
166710 }
166711 
166712 
166713 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorTorqueToBMagnitude__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
166714  PyObject *resultobj = 0;
166716  void *argp1 = 0 ;
166717  int res1 = 0 ;
166718  PyObject * obj0 = 0 ;
166719  float result;
166720 
166721  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorTorqueToBMagnitude",&obj0)) SWIG_fail;
166722  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
166723  if (!SWIG_IsOK(res1)) {
166724  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorTorqueToBMagnitude" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
166725  }
166726  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
166727  {
166728  try {
166729  result = (float)(arg1)->MotorTorqueToBMagnitude();
166730  }
166731  catch(CStdErrorInfo oError)
166732  {
166733  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166734  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
166735  PyErr_SetString(PyExc_IndexError, strError.c_str());
166736  SWIG_fail;
166737  }
166738  catch(...)
166739  {
166740  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166741  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
166742  SWIG_fail;
166743  }
166744  }
166745  resultobj = SWIG_From_float(static_cast< float >(result));
166746  return resultobj;
166747 fail:
166748  return NULL;
166749 }
166750 
166751 
166752 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorTorqueToBMagnitude__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
166753  PyObject *resultobj = 0;
166755  float arg2 ;
166756  void *argp1 = 0 ;
166757  int res1 = 0 ;
166758  float val2 ;
166759  int ecode2 = 0 ;
166760  PyObject * obj0 = 0 ;
166761  PyObject * obj1 = 0 ;
166762 
166763  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorTorqueToBMagnitude",&obj0,&obj1)) SWIG_fail;
166764  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
166765  if (!SWIG_IsOK(res1)) {
166766  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorTorqueToBMagnitude" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
166767  }
166768  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
166769  ecode2 = SWIG_AsVal_float(obj1, &val2);
166770  if (!SWIG_IsOK(ecode2)) {
166771  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_MotorTorqueToBMagnitude" "', argument " "2"" of type '" "float""'");
166772  }
166773  arg2 = static_cast< float >(val2);
166774  {
166775  try {
166776  (arg1)->MotorTorqueToBMagnitude(arg2);
166777  }
166778  catch(CStdErrorInfo oError)
166779  {
166780  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166781  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
166782  PyErr_SetString(PyExc_IndexError, strError.c_str());
166783  SWIG_fail;
166784  }
166785  catch(...)
166786  {
166787  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166788  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
166789  SWIG_fail;
166790  }
166791  }
166792  resultobj = SWIG_Py_Void();
166793  return resultobj;
166794 fail:
166795  return NULL;
166796 }
166797 
166798 
166799 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorTorqueToBMagnitude(PyObject *self, PyObject *args) {
166800  int argc;
166801  PyObject *argv[3];
166802  int ii;
166803 
166804  if (!PyTuple_Check(args)) SWIG_fail;
166805  argc = args ? (int)PyObject_Length(args) : 0;
166806  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
166807  argv[ii] = PyTuple_GET_ITEM(args,ii);
166808  }
166809  if (argc == 1) {
166810  int _v;
166811  void *vptr = 0;
166812  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166813  _v = SWIG_CheckState(res);
166814  if (_v) {
166815  return _wrap_MotorizedJoint_MotorTorqueToBMagnitude__SWIG_0(self, args);
166816  }
166817  }
166818  if (argc == 2) {
166819  int _v;
166820  void *vptr = 0;
166821  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166822  _v = SWIG_CheckState(res);
166823  if (_v) {
166824  {
166825  int res = SWIG_AsVal_float(argv[1], NULL);
166826  _v = SWIG_CheckState(res);
166827  }
166828  if (_v) {
166829  return _wrap_MotorizedJoint_MotorTorqueToBMagnitude__SWIG_1(self, args);
166830  }
166831  }
166832  }
166833 
166834 fail:
166835  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorTorqueToBMagnitude'.\n"
166836  " Possible C/C++ prototypes are:\n"
166837  " AnimatSim::Environment::MotorizedJoint::MotorTorqueToBMagnitude()\n"
166838  " AnimatSim::Environment::MotorizedJoint::MotorTorqueToBMagnitude(float)\n");
166839  return 0;
166840 }
166841 
166842 
166843 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistTorqueToB__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
166844  PyObject *resultobj = 0;
166846  void *argp1 = 0 ;
166847  int res1 = 0 ;
166848  PyObject * obj0 = 0 ;
166849  CStdPoint< float > result;
166850 
166851  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorAssistTorqueToB",&obj0)) SWIG_fail;
166852  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
166853  if (!SWIG_IsOK(res1)) {
166854  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistTorqueToB" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
166855  }
166856  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
166857  {
166858  try {
166859  result = (arg1)->MotorAssistTorqueToB();
166860  }
166861  catch(CStdErrorInfo oError)
166862  {
166863  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166864  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
166865  PyErr_SetString(PyExc_IndexError, strError.c_str());
166866  SWIG_fail;
166867  }
166868  catch(...)
166869  {
166870  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166871  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
166872  SWIG_fail;
166873  }
166874  }
166875  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
166876  return resultobj;
166877 fail:
166878  return NULL;
166879 }
166880 
166881 
166882 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistTorqueToB__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
166883  PyObject *resultobj = 0;
166885  CStdPoint< float > *arg2 = 0 ;
166886  void *argp1 = 0 ;
166887  int res1 = 0 ;
166888  void *argp2 = 0 ;
166889  int res2 = 0 ;
166890  PyObject * obj0 = 0 ;
166891  PyObject * obj1 = 0 ;
166892 
166893  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorAssistTorqueToB",&obj0,&obj1)) SWIG_fail;
166894  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
166895  if (!SWIG_IsOK(res1)) {
166896  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistTorqueToB" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
166897  }
166898  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
166899  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
166900  if (!SWIG_IsOK(res2)) {
166901  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_MotorAssistTorqueToB" "', argument " "2"" of type '" "CStdPoint< float > &""'");
166902  }
166903  if (!argp2) {
166904  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_MotorAssistTorqueToB" "', argument " "2"" of type '" "CStdPoint< float > &""'");
166905  }
166906  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
166907  {
166908  try {
166909  (arg1)->MotorAssistTorqueToB(*arg2);
166910  }
166911  catch(CStdErrorInfo oError)
166912  {
166913  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166914  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
166915  PyErr_SetString(PyExc_IndexError, strError.c_str());
166916  SWIG_fail;
166917  }
166918  catch(...)
166919  {
166920  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166921  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
166922  SWIG_fail;
166923  }
166924  }
166925  resultobj = SWIG_Py_Void();
166926  return resultobj;
166927 fail:
166928  return NULL;
166929 }
166930 
166931 
166932 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistTorqueToB(PyObject *self, PyObject *args) {
166933  int argc;
166934  PyObject *argv[3];
166935  int ii;
166936 
166937  if (!PyTuple_Check(args)) SWIG_fail;
166938  argc = args ? (int)PyObject_Length(args) : 0;
166939  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
166940  argv[ii] = PyTuple_GET_ITEM(args,ii);
166941  }
166942  if (argc == 1) {
166943  int _v;
166944  void *vptr = 0;
166945  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166946  _v = SWIG_CheckState(res);
166947  if (_v) {
166948  return _wrap_MotorizedJoint_MotorAssistTorqueToB__SWIG_0(self, args);
166949  }
166950  }
166951  if (argc == 2) {
166952  int _v;
166953  void *vptr = 0;
166954  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
166955  _v = SWIG_CheckState(res);
166956  if (_v) {
166957  void *vptr = 0;
166958  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
166959  _v = SWIG_CheckState(res);
166960  if (_v) {
166961  return _wrap_MotorizedJoint_MotorAssistTorqueToB__SWIG_1(self, args);
166962  }
166963  }
166964  }
166965 
166966 fail:
166967  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorAssistTorqueToB'.\n"
166968  " Possible C/C++ prototypes are:\n"
166969  " AnimatSim::Environment::MotorizedJoint::MotorAssistTorqueToB()\n"
166970  " AnimatSim::Environment::MotorizedJoint::MotorAssistTorqueToB(CStdPoint< float > &)\n");
166971  return 0;
166972 }
166973 
166974 
166975 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistTorqueToBReport__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
166976  PyObject *resultobj = 0;
166978  void *argp1 = 0 ;
166979  int res1 = 0 ;
166980  PyObject * obj0 = 0 ;
166981  CStdPoint< float > result;
166982 
166983  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_MotorAssistTorqueToBReport",&obj0)) SWIG_fail;
166984  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
166985  if (!SWIG_IsOK(res1)) {
166986  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistTorqueToBReport" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
166987  }
166988  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
166989  {
166990  try {
166991  result = (arg1)->MotorAssistTorqueToBReport();
166992  }
166993  catch(CStdErrorInfo oError)
166994  {
166995  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
166996  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
166997  PyErr_SetString(PyExc_IndexError, strError.c_str());
166998  SWIG_fail;
166999  }
167000  catch(...)
167001  {
167002  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167003  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167004  SWIG_fail;
167005  }
167006  }
167007  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
167008  return resultobj;
167009 fail:
167010  return NULL;
167011 }
167012 
167013 
167014 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistTorqueToBReport__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167015  PyObject *resultobj = 0;
167017  CStdPoint< float > *arg2 = 0 ;
167018  void *argp1 = 0 ;
167019  int res1 = 0 ;
167020  void *argp2 = 0 ;
167021  int res2 = 0 ;
167022  PyObject * obj0 = 0 ;
167023  PyObject * obj1 = 0 ;
167024 
167025  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorAssistTorqueToBReport",&obj0,&obj1)) SWIG_fail;
167026  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167027  if (!SWIG_IsOK(res1)) {
167028  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorAssistTorqueToBReport" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167029  }
167030  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167031  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
167032  if (!SWIG_IsOK(res2)) {
167033  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_MotorAssistTorqueToBReport" "', argument " "2"" of type '" "CStdPoint< float > &""'");
167034  }
167035  if (!argp2) {
167036  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_MotorAssistTorqueToBReport" "', argument " "2"" of type '" "CStdPoint< float > &""'");
167037  }
167038  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
167039  {
167040  try {
167041  (arg1)->MotorAssistTorqueToBReport(*arg2);
167042  }
167043  catch(CStdErrorInfo oError)
167044  {
167045  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167046  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167047  PyErr_SetString(PyExc_IndexError, strError.c_str());
167048  SWIG_fail;
167049  }
167050  catch(...)
167051  {
167052  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167053  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167054  SWIG_fail;
167055  }
167056  }
167057  resultobj = SWIG_Py_Void();
167058  return resultobj;
167059 fail:
167060  return NULL;
167061 }
167062 
167063 
167064 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorAssistTorqueToBReport(PyObject *self, PyObject *args) {
167065  int argc;
167066  PyObject *argv[3];
167067  int ii;
167068 
167069  if (!PyTuple_Check(args)) SWIG_fail;
167070  argc = args ? (int)PyObject_Length(args) : 0;
167071  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
167072  argv[ii] = PyTuple_GET_ITEM(args,ii);
167073  }
167074  if (argc == 1) {
167075  int _v;
167076  void *vptr = 0;
167077  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
167078  _v = SWIG_CheckState(res);
167079  if (_v) {
167080  return _wrap_MotorizedJoint_MotorAssistTorqueToBReport__SWIG_0(self, args);
167081  }
167082  }
167083  if (argc == 2) {
167084  int _v;
167085  void *vptr = 0;
167086  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
167087  _v = SWIG_CheckState(res);
167088  if (_v) {
167089  void *vptr = 0;
167090  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
167091  _v = SWIG_CheckState(res);
167092  if (_v) {
167093  return _wrap_MotorizedJoint_MotorAssistTorqueToBReport__SWIG_1(self, args);
167094  }
167095  }
167096  }
167097 
167098 fail:
167099  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_MotorAssistTorqueToBReport'.\n"
167100  " Possible C/C++ prototypes are:\n"
167101  " AnimatSim::Environment::MotorizedJoint::MotorAssistTorqueToBReport()\n"
167102  " AnimatSim::Environment::MotorizedJoint::MotorAssistTorqueToBReport(CStdPoint< float > &)\n");
167103  return 0;
167104 }
167105 
167106 
167107 SWIGINTERN PyObject *_wrap_MotorizedJoint_AssistPid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167108  PyObject *resultobj = 0;
167110  void *argp1 = 0 ;
167111  int res1 = 0 ;
167112  PyObject * obj0 = 0 ;
167113  CStdPID *result = 0 ;
167114 
167115  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_AssistPid",&obj0)) SWIG_fail;
167116  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167117  if (!SWIG_IsOK(res1)) {
167118  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_AssistPid" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167119  }
167120  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167121  {
167122  try {
167123  result = (CStdPID *)(arg1)->AssistPid();
167124  }
167125  catch(CStdErrorInfo oError)
167126  {
167127  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167128  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167129  PyErr_SetString(PyExc_IndexError, strError.c_str());
167130  SWIG_fail;
167131  }
167132  catch(...)
167133  {
167134  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167135  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167136  SWIG_fail;
167137  }
167138  }
167139  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdPID, 0 | 0 );
167140  return resultobj;
167141 fail:
167142  return NULL;
167143 }
167144 
167145 
167146 SWIGINTERN PyObject *_wrap_MotorizedJoint_Temperature__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167147  PyObject *resultobj = 0;
167149  void *argp1 = 0 ;
167150  int res1 = 0 ;
167151  PyObject * obj0 = 0 ;
167152  float result;
167153 
167154  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_Temperature",&obj0)) SWIG_fail;
167155  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167156  if (!SWIG_IsOK(res1)) {
167157  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_Temperature" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167158  }
167159  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167160  {
167161  try {
167162  result = (float)(arg1)->Temperature();
167163  }
167164  catch(CStdErrorInfo oError)
167165  {
167166  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167167  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167168  PyErr_SetString(PyExc_IndexError, strError.c_str());
167169  SWIG_fail;
167170  }
167171  catch(...)
167172  {
167173  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167174  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167175  SWIG_fail;
167176  }
167177  }
167178  resultobj = SWIG_From_float(static_cast< float >(result));
167179  return resultobj;
167180 fail:
167181  return NULL;
167182 }
167183 
167184 
167185 SWIGINTERN PyObject *_wrap_MotorizedJoint_Temperature__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167186  PyObject *resultobj = 0;
167188  float arg2 ;
167189  void *argp1 = 0 ;
167190  int res1 = 0 ;
167191  float val2 ;
167192  int ecode2 = 0 ;
167193  PyObject * obj0 = 0 ;
167194  PyObject * obj1 = 0 ;
167195 
167196  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_Temperature",&obj0,&obj1)) SWIG_fail;
167197  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167198  if (!SWIG_IsOK(res1)) {
167199  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_Temperature" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167200  }
167201  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167202  ecode2 = SWIG_AsVal_float(obj1, &val2);
167203  if (!SWIG_IsOK(ecode2)) {
167204  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_Temperature" "', argument " "2"" of type '" "float""'");
167205  }
167206  arg2 = static_cast< float >(val2);
167207  {
167208  try {
167209  (arg1)->Temperature(arg2);
167210  }
167211  catch(CStdErrorInfo oError)
167212  {
167213  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167214  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167215  PyErr_SetString(PyExc_IndexError, strError.c_str());
167216  SWIG_fail;
167217  }
167218  catch(...)
167219  {
167220  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167221  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167222  SWIG_fail;
167223  }
167224  }
167225  resultobj = SWIG_Py_Void();
167226  return resultobj;
167227 fail:
167228  return NULL;
167229 }
167230 
167231 
167232 SWIGINTERN PyObject *_wrap_MotorizedJoint_Temperature(PyObject *self, PyObject *args) {
167233  int argc;
167234  PyObject *argv[3];
167235  int ii;
167236 
167237  if (!PyTuple_Check(args)) SWIG_fail;
167238  argc = args ? (int)PyObject_Length(args) : 0;
167239  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
167240  argv[ii] = PyTuple_GET_ITEM(args,ii);
167241  }
167242  if (argc == 1) {
167243  int _v;
167244  void *vptr = 0;
167245  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
167246  _v = SWIG_CheckState(res);
167247  if (_v) {
167248  return _wrap_MotorizedJoint_Temperature__SWIG_0(self, args);
167249  }
167250  }
167251  if (argc == 2) {
167252  int _v;
167253  void *vptr = 0;
167254  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
167255  _v = SWIG_CheckState(res);
167256  if (_v) {
167257  {
167258  int res = SWIG_AsVal_float(argv[1], NULL);
167259  _v = SWIG_CheckState(res);
167260  }
167261  if (_v) {
167262  return _wrap_MotorizedJoint_Temperature__SWIG_1(self, args);
167263  }
167264  }
167265  }
167266 
167267 fail:
167268  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_Temperature'.\n"
167269  " Possible C/C++ prototypes are:\n"
167270  " AnimatSim::Environment::MotorizedJoint::Temperature()\n"
167271  " AnimatSim::Environment::MotorizedJoint::Temperature(float)\n");
167272  return 0;
167273 }
167274 
167275 
167276 SWIGINTERN PyObject *_wrap_MotorizedJoint_Voltage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167277  PyObject *resultobj = 0;
167279  void *argp1 = 0 ;
167280  int res1 = 0 ;
167281  PyObject * obj0 = 0 ;
167282  float result;
167283 
167284  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_Voltage",&obj0)) SWIG_fail;
167285  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167286  if (!SWIG_IsOK(res1)) {
167287  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_Voltage" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167288  }
167289  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167290  {
167291  try {
167292  result = (float)(arg1)->Voltage();
167293  }
167294  catch(CStdErrorInfo oError)
167295  {
167296  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167297  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167298  PyErr_SetString(PyExc_IndexError, strError.c_str());
167299  SWIG_fail;
167300  }
167301  catch(...)
167302  {
167303  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167304  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167305  SWIG_fail;
167306  }
167307  }
167308  resultobj = SWIG_From_float(static_cast< float >(result));
167309  return resultobj;
167310 fail:
167311  return NULL;
167312 }
167313 
167314 
167315 SWIGINTERN PyObject *_wrap_MotorizedJoint_Voltage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167316  PyObject *resultobj = 0;
167318  float arg2 ;
167319  void *argp1 = 0 ;
167320  int res1 = 0 ;
167321  float val2 ;
167322  int ecode2 = 0 ;
167323  PyObject * obj0 = 0 ;
167324  PyObject * obj1 = 0 ;
167325 
167326  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_Voltage",&obj0,&obj1)) SWIG_fail;
167327  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167328  if (!SWIG_IsOK(res1)) {
167329  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_Voltage" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167330  }
167331  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167332  ecode2 = SWIG_AsVal_float(obj1, &val2);
167333  if (!SWIG_IsOK(ecode2)) {
167334  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_Voltage" "', argument " "2"" of type '" "float""'");
167335  }
167336  arg2 = static_cast< float >(val2);
167337  {
167338  try {
167339  (arg1)->Voltage(arg2);
167340  }
167341  catch(CStdErrorInfo oError)
167342  {
167343  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167344  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167345  PyErr_SetString(PyExc_IndexError, strError.c_str());
167346  SWIG_fail;
167347  }
167348  catch(...)
167349  {
167350  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167351  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167352  SWIG_fail;
167353  }
167354  }
167355  resultobj = SWIG_Py_Void();
167356  return resultobj;
167357 fail:
167358  return NULL;
167359 }
167360 
167361 
167362 SWIGINTERN PyObject *_wrap_MotorizedJoint_Voltage(PyObject *self, PyObject *args) {
167363  int argc;
167364  PyObject *argv[3];
167365  int ii;
167366 
167367  if (!PyTuple_Check(args)) SWIG_fail;
167368  argc = args ? (int)PyObject_Length(args) : 0;
167369  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
167370  argv[ii] = PyTuple_GET_ITEM(args,ii);
167371  }
167372  if (argc == 1) {
167373  int _v;
167374  void *vptr = 0;
167375  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
167376  _v = SWIG_CheckState(res);
167377  if (_v) {
167378  return _wrap_MotorizedJoint_Voltage__SWIG_0(self, args);
167379  }
167380  }
167381  if (argc == 2) {
167382  int _v;
167383  void *vptr = 0;
167384  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
167385  _v = SWIG_CheckState(res);
167386  if (_v) {
167387  {
167388  int res = SWIG_AsVal_float(argv[1], NULL);
167389  _v = SWIG_CheckState(res);
167390  }
167391  if (_v) {
167392  return _wrap_MotorizedJoint_Voltage__SWIG_1(self, args);
167393  }
167394  }
167395  }
167396 
167397 fail:
167398  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_Voltage'.\n"
167399  " Possible C/C++ prototypes are:\n"
167400  " AnimatSim::Environment::MotorizedJoint::Voltage()\n"
167401  " AnimatSim::Environment::MotorizedJoint::Voltage(float)\n");
167402  return 0;
167403 }
167404 
167405 
167406 SWIGINTERN PyObject *_wrap_MotorizedJoint_MotorInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167407  PyObject *resultobj = 0;
167409  float arg2 ;
167410  void *argp1 = 0 ;
167411  int res1 = 0 ;
167412  float val2 ;
167413  int ecode2 = 0 ;
167414  PyObject * obj0 = 0 ;
167415  PyObject * obj1 = 0 ;
167416 
167417  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_MotorInput",&obj0,&obj1)) SWIG_fail;
167418  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167419  if (!SWIG_IsOK(res1)) {
167420  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_MotorInput" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167421  }
167422  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167423  ecode2 = SWIG_AsVal_float(obj1, &val2);
167424  if (!SWIG_IsOK(ecode2)) {
167425  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_MotorInput" "', argument " "2"" of type '" "float""'");
167426  }
167427  arg2 = static_cast< float >(val2);
167428  {
167429  try {
167430  (arg1)->MotorInput(arg2);
167431  }
167432  catch(CStdErrorInfo oError)
167433  {
167434  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167435  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167436  PyErr_SetString(PyExc_IndexError, strError.c_str());
167437  SWIG_fail;
167438  }
167439  catch(...)
167440  {
167441  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167442  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167443  SWIG_fail;
167444  }
167445  }
167446  resultobj = SWIG_Py_Void();
167447  return resultobj;
167448 fail:
167449  return NULL;
167450 }
167451 
167452 
167453 SWIGINTERN PyObject *_wrap_MotorizedJoint_RobotMotorControl__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167454  PyObject *resultobj = 0;
167456  RobotPartInterface *arg2 = (RobotPartInterface *) 0 ;
167457  void *argp1 = 0 ;
167458  int res1 = 0 ;
167459  void *argp2 = 0 ;
167460  int res2 = 0 ;
167461  PyObject * obj0 = 0 ;
167462  PyObject * obj1 = 0 ;
167463 
167464  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_RobotMotorControl",&obj0,&obj1)) SWIG_fail;
167465  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167466  if (!SWIG_IsOK(res1)) {
167467  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_RobotMotorControl" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167468  }
167469  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167470  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RobotPartInterface, 0 | 0 );
167471  if (!SWIG_IsOK(res2)) {
167472  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_RobotMotorControl" "', argument " "2"" of type '" "RobotPartInterface *""'");
167473  }
167474  arg2 = reinterpret_cast< RobotPartInterface * >(argp2);
167475  {
167476  try {
167477  (arg1)->RobotMotorControl(arg2);
167478  }
167479  catch(CStdErrorInfo oError)
167480  {
167481  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167482  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167483  PyErr_SetString(PyExc_IndexError, strError.c_str());
167484  SWIG_fail;
167485  }
167486  catch(...)
167487  {
167488  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167489  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167490  SWIG_fail;
167491  }
167492  }
167493  resultobj = SWIG_Py_Void();
167494  return resultobj;
167495 fail:
167496  return NULL;
167497 }
167498 
167499 
167500 SWIGINTERN PyObject *_wrap_MotorizedJoint_RobotMotorControl__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167501  PyObject *resultobj = 0;
167503  void *argp1 = 0 ;
167504  int res1 = 0 ;
167505  PyObject * obj0 = 0 ;
167506  RobotPartInterface *result = 0 ;
167507 
167508  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_RobotMotorControl",&obj0)) SWIG_fail;
167509  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167510  if (!SWIG_IsOK(res1)) {
167511  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_RobotMotorControl" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167512  }
167513  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167514  {
167515  try {
167516  result = (RobotPartInterface *)(arg1)->RobotMotorControl();
167517  }
167518  catch(CStdErrorInfo oError)
167519  {
167520  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167521  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167522  PyErr_SetString(PyExc_IndexError, strError.c_str());
167523  SWIG_fail;
167524  }
167525  catch(...)
167526  {
167527  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167528  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167529  SWIG_fail;
167530  }
167531  }
167532  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RobotPartInterface, 0 | 0 );
167533  return resultobj;
167534 fail:
167535  return NULL;
167536 }
167537 
167538 
167539 SWIGINTERN PyObject *_wrap_MotorizedJoint_RobotMotorControl(PyObject *self, PyObject *args) {
167540  int argc;
167541  PyObject *argv[3];
167542  int ii;
167543 
167544  if (!PyTuple_Check(args)) SWIG_fail;
167545  argc = args ? (int)PyObject_Length(args) : 0;
167546  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
167547  argv[ii] = PyTuple_GET_ITEM(args,ii);
167548  }
167549  if (argc == 1) {
167550  int _v;
167551  void *vptr = 0;
167552  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
167553  _v = SWIG_CheckState(res);
167554  if (_v) {
167555  return _wrap_MotorizedJoint_RobotMotorControl__SWIG_1(self, args);
167556  }
167557  }
167558  if (argc == 2) {
167559  int _v;
167560  void *vptr = 0;
167561  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
167562  _v = SWIG_CheckState(res);
167563  if (_v) {
167564  void *vptr = 0;
167565  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_RobotPartInterface, 0);
167566  _v = SWIG_CheckState(res);
167567  if (_v) {
167568  return _wrap_MotorizedJoint_RobotMotorControl__SWIG_0(self, args);
167569  }
167570  }
167571  }
167572 
167573 fail:
167574  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_RobotMotorControl'.\n"
167575  " Possible C/C++ prototypes are:\n"
167576  " AnimatSim::Environment::MotorizedJoint::RobotMotorControl(RobotPartInterface *)\n"
167577  " AnimatSim::Environment::MotorizedJoint::RobotMotorControl()\n");
167578  return 0;
167579 }
167580 
167581 
167582 SWIGINTERN PyObject *_wrap_MotorizedJoint_SetVelocityToDesired(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167583  PyObject *resultobj = 0;
167585  void *argp1 = 0 ;
167586  int res1 = 0 ;
167587  PyObject * obj0 = 0 ;
167588 
167589  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_SetVelocityToDesired",&obj0)) SWIG_fail;
167590  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167591  if (!SWIG_IsOK(res1)) {
167592  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_SetVelocityToDesired" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167593  }
167594  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167595  {
167596  try {
167597  (arg1)->SetVelocityToDesired();
167598  }
167599  catch(CStdErrorInfo oError)
167600  {
167601  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167602  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167603  PyErr_SetString(PyExc_IndexError, strError.c_str());
167604  SWIG_fail;
167605  }
167606  catch(...)
167607  {
167608  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167609  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167610  SWIG_fail;
167611  }
167612  }
167613  resultobj = SWIG_Py_Void();
167614  return resultobj;
167615 fail:
167616  return NULL;
167617 }
167618 
167619 
167620 SWIGINTERN PyObject *_wrap_MotorizedJoint_EnableLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167621  PyObject *resultobj = 0;
167623  bool arg2 ;
167624  float arg3 ;
167625  float arg4 ;
167626  void *argp1 = 0 ;
167627  int res1 = 0 ;
167628  bool val2 ;
167629  int ecode2 = 0 ;
167630  float val3 ;
167631  int ecode3 = 0 ;
167632  float val4 ;
167633  int ecode4 = 0 ;
167634  PyObject * obj0 = 0 ;
167635  PyObject * obj1 = 0 ;
167636  PyObject * obj2 = 0 ;
167637  PyObject * obj3 = 0 ;
167638 
167639  if (!PyArg_ParseTuple(args,(char *)"OOOO:MotorizedJoint_EnableLock",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
167640  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167641  if (!SWIG_IsOK(res1)) {
167642  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_EnableLock" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167643  }
167644  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167645  ecode2 = SWIG_AsVal_bool(obj1, &val2);
167646  if (!SWIG_IsOK(ecode2)) {
167647  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorizedJoint_EnableLock" "', argument " "2"" of type '" "bool""'");
167648  }
167649  arg2 = static_cast< bool >(val2);
167650  ecode3 = SWIG_AsVal_float(obj2, &val3);
167651  if (!SWIG_IsOK(ecode3)) {
167652  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MotorizedJoint_EnableLock" "', argument " "3"" of type '" "float""'");
167653  }
167654  arg3 = static_cast< float >(val3);
167655  ecode4 = SWIG_AsVal_float(obj3, &val4);
167656  if (!SWIG_IsOK(ecode4)) {
167657  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MotorizedJoint_EnableLock" "', argument " "4"" of type '" "float""'");
167658  }
167659  arg4 = static_cast< float >(val4);
167660  {
167661  try {
167662  (arg1)->EnableLock(arg2,arg3,arg4);
167663  }
167664  catch(CStdErrorInfo oError)
167665  {
167666  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167667  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167668  PyErr_SetString(PyExc_IndexError, strError.c_str());
167669  SWIG_fail;
167670  }
167671  catch(...)
167672  {
167673  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167674  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167675  SWIG_fail;
167676  }
167677  }
167678  resultobj = SWIG_Py_Void();
167679  return resultobj;
167680 fail:
167681  return NULL;
167682 }
167683 
167684 
167685 SWIGINTERN PyObject *_wrap_MotorizedJoint_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167686  PyObject *resultobj = 0;
167688  void *argp1 = 0 ;
167689  int res1 = 0 ;
167690  PyObject * obj0 = 0 ;
167691 
167692  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_Initialize",&obj0)) SWIG_fail;
167693  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167694  if (!SWIG_IsOK(res1)) {
167695  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_Initialize" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167696  }
167697  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167698  {
167699  try {
167700  (arg1)->Initialize();
167701  }
167702  catch(CStdErrorInfo oError)
167703  {
167704  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167705  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167706  PyErr_SetString(PyExc_IndexError, strError.c_str());
167707  SWIG_fail;
167708  }
167709  catch(...)
167710  {
167711  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167712  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167713  SWIG_fail;
167714  }
167715  }
167716  resultobj = SWIG_Py_Void();
167717  return resultobj;
167718 fail:
167719  return NULL;
167720 }
167721 
167722 
167723 SWIGINTERN PyObject *_wrap_MotorizedJoint_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167724  PyObject *resultobj = 0;
167726  void *argp1 = 0 ;
167727  int res1 = 0 ;
167728  PyObject * obj0 = 0 ;
167729 
167730  if (!PyArg_ParseTuple(args,(char *)"O:MotorizedJoint_ResetSimulation",&obj0)) SWIG_fail;
167731  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167732  if (!SWIG_IsOK(res1)) {
167733  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167734  }
167735  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167736  {
167737  try {
167738  (arg1)->ResetSimulation();
167739  }
167740  catch(CStdErrorInfo oError)
167741  {
167742  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167743  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167744  PyErr_SetString(PyExc_IndexError, strError.c_str());
167745  SWIG_fail;
167746  }
167747  catch(...)
167748  {
167749  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167750  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167751  SWIG_fail;
167752  }
167753  }
167754  resultobj = SWIG_Py_Void();
167755  return resultobj;
167756 fail:
167757  return NULL;
167758 }
167759 
167760 
167761 SWIGINTERN PyObject *_wrap_MotorizedJoint_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167762  PyObject *resultobj = 0;
167764  std::string *arg2 = 0 ;
167765  void *argp1 = 0 ;
167766  int res1 = 0 ;
167767  int res2 = SWIG_OLDOBJ ;
167768  PyObject * obj0 = 0 ;
167769  PyObject * obj1 = 0 ;
167770  float *result = 0 ;
167771 
167772  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_GetDataPointer",&obj0,&obj1)) SWIG_fail;
167773  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167774  if (!SWIG_IsOK(res1)) {
167775  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167776  }
167777  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167778  {
167779  std::string *ptr = (std::string *)0;
167780  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
167781  if (!SWIG_IsOK(res2)) {
167782  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
167783  }
167784  if (!ptr) {
167785  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
167786  }
167787  arg2 = ptr;
167788  }
167789  {
167790  try {
167791  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
167792  }
167793  catch(CStdErrorInfo oError)
167794  {
167795  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167796  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167797  PyErr_SetString(PyExc_IndexError, strError.c_str());
167798  SWIG_fail;
167799  }
167800  catch(...)
167801  {
167802  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167803  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167804  SWIG_fail;
167805  }
167806  }
167807  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
167808  if (SWIG_IsNewObj(res2)) delete arg2;
167809  return resultobj;
167810 fail:
167811  if (SWIG_IsNewObj(res2)) delete arg2;
167812  return NULL;
167813 }
167814 
167815 
167816 SWIGINTERN PyObject *_wrap_MotorizedJoint_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167817  PyObject *resultobj = 0;
167819  std::string *arg2 = 0 ;
167820  std::string *arg3 = 0 ;
167821  bool arg4 ;
167822  void *argp1 = 0 ;
167823  int res1 = 0 ;
167824  int res2 = SWIG_OLDOBJ ;
167825  int res3 = SWIG_OLDOBJ ;
167826  bool val4 ;
167827  int ecode4 = 0 ;
167828  PyObject * obj0 = 0 ;
167829  PyObject * obj1 = 0 ;
167830  PyObject * obj2 = 0 ;
167831  PyObject * obj3 = 0 ;
167832  bool result;
167833 
167834  if (!PyArg_ParseTuple(args,(char *)"OOOO:MotorizedJoint_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
167835  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167836  if (!SWIG_IsOK(res1)) {
167837  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167838  }
167839  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167840  {
167841  std::string *ptr = (std::string *)0;
167842  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
167843  if (!SWIG_IsOK(res2)) {
167844  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_SetData" "', argument " "2"" of type '" "std::string const &""'");
167845  }
167846  if (!ptr) {
167847  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_SetData" "', argument " "2"" of type '" "std::string const &""'");
167848  }
167849  arg2 = ptr;
167850  }
167851  {
167852  std::string *ptr = (std::string *)0;
167853  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
167854  if (!SWIG_IsOK(res3)) {
167855  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MotorizedJoint_SetData" "', argument " "3"" of type '" "std::string const &""'");
167856  }
167857  if (!ptr) {
167858  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_SetData" "', argument " "3"" of type '" "std::string const &""'");
167859  }
167860  arg3 = ptr;
167861  }
167862  ecode4 = SWIG_AsVal_bool(obj3, &val4);
167863  if (!SWIG_IsOK(ecode4)) {
167864  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MotorizedJoint_SetData" "', argument " "4"" of type '" "bool""'");
167865  }
167866  arg4 = static_cast< bool >(val4);
167867  {
167868  try {
167869  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
167870  }
167871  catch(CStdErrorInfo oError)
167872  {
167873  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167874  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167875  PyErr_SetString(PyExc_IndexError, strError.c_str());
167876  SWIG_fail;
167877  }
167878  catch(...)
167879  {
167880  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167881  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167882  SWIG_fail;
167883  }
167884  }
167885  resultobj = SWIG_From_bool(static_cast< bool >(result));
167886  if (SWIG_IsNewObj(res2)) delete arg2;
167887  if (SWIG_IsNewObj(res3)) delete arg3;
167888  return resultobj;
167889 fail:
167890  if (SWIG_IsNewObj(res2)) delete arg2;
167891  if (SWIG_IsNewObj(res3)) delete arg3;
167892  return NULL;
167893 }
167894 
167895 
167896 SWIGINTERN PyObject *_wrap_MotorizedJoint_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
167897  PyObject *resultobj = 0;
167899  std::string *arg2 = 0 ;
167900  std::string *arg3 = 0 ;
167901  void *argp1 = 0 ;
167902  int res1 = 0 ;
167903  int res2 = SWIG_OLDOBJ ;
167904  int res3 = SWIG_OLDOBJ ;
167905  PyObject * obj0 = 0 ;
167906  PyObject * obj1 = 0 ;
167907  PyObject * obj2 = 0 ;
167908  bool result;
167909 
167910  if (!PyArg_ParseTuple(args,(char *)"OOO:MotorizedJoint_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
167911  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
167912  if (!SWIG_IsOK(res1)) {
167913  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
167914  }
167915  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
167916  {
167917  std::string *ptr = (std::string *)0;
167918  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
167919  if (!SWIG_IsOK(res2)) {
167920  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_SetData" "', argument " "2"" of type '" "std::string const &""'");
167921  }
167922  if (!ptr) {
167923  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_SetData" "', argument " "2"" of type '" "std::string const &""'");
167924  }
167925  arg2 = ptr;
167926  }
167927  {
167928  std::string *ptr = (std::string *)0;
167929  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
167930  if (!SWIG_IsOK(res3)) {
167931  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MotorizedJoint_SetData" "', argument " "3"" of type '" "std::string const &""'");
167932  }
167933  if (!ptr) {
167934  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_SetData" "', argument " "3"" of type '" "std::string const &""'");
167935  }
167936  arg3 = ptr;
167937  }
167938  {
167939  try {
167940  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
167941  }
167942  catch(CStdErrorInfo oError)
167943  {
167944  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167945  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
167946  PyErr_SetString(PyExc_IndexError, strError.c_str());
167947  SWIG_fail;
167948  }
167949  catch(...)
167950  {
167951  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
167952  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
167953  SWIG_fail;
167954  }
167955  }
167956  resultobj = SWIG_From_bool(static_cast< bool >(result));
167957  if (SWIG_IsNewObj(res2)) delete arg2;
167958  if (SWIG_IsNewObj(res3)) delete arg3;
167959  return resultobj;
167960 fail:
167961  if (SWIG_IsNewObj(res2)) delete arg2;
167962  if (SWIG_IsNewObj(res3)) delete arg3;
167963  return NULL;
167964 }
167965 
167966 
167967 SWIGINTERN PyObject *_wrap_MotorizedJoint_SetData(PyObject *self, PyObject *args) {
167968  int argc;
167969  PyObject *argv[5];
167970  int ii;
167971 
167972  if (!PyTuple_Check(args)) SWIG_fail;
167973  argc = args ? (int)PyObject_Length(args) : 0;
167974  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
167975  argv[ii] = PyTuple_GET_ITEM(args,ii);
167976  }
167977  if (argc == 3) {
167978  int _v;
167979  void *vptr = 0;
167980  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
167981  _v = SWIG_CheckState(res);
167982  if (_v) {
167983  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
167984  _v = SWIG_CheckState(res);
167985  if (_v) {
167986  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
167987  _v = SWIG_CheckState(res);
167988  if (_v) {
167989  return _wrap_MotorizedJoint_SetData__SWIG_1(self, args);
167990  }
167991  }
167992  }
167993  }
167994  if (argc == 4) {
167995  int _v;
167996  void *vptr = 0;
167997  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0);
167998  _v = SWIG_CheckState(res);
167999  if (_v) {
168000  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
168001  _v = SWIG_CheckState(res);
168002  if (_v) {
168003  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
168004  _v = SWIG_CheckState(res);
168005  if (_v) {
168006  {
168007  int res = SWIG_AsVal_bool(argv[3], NULL);
168008  _v = SWIG_CheckState(res);
168009  }
168010  if (_v) {
168011  return _wrap_MotorizedJoint_SetData__SWIG_0(self, args);
168012  }
168013  }
168014  }
168015  }
168016  }
168017 
168018 fail:
168019  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorizedJoint_SetData'.\n"
168020  " Possible C/C++ prototypes are:\n"
168021  " AnimatSim::Environment::MotorizedJoint::SetData(std::string const &,std::string const &,bool)\n"
168022  " AnimatSim::Environment::MotorizedJoint::SetData(std::string const &,std::string const &)\n");
168023  return 0;
168024 }
168025 
168026 
168027 SWIGINTERN PyObject *_wrap_MotorizedJoint_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168028  PyObject *resultobj = 0;
168030  CStdPtrArray< TypeProperty > *arg2 = 0 ;
168031  void *argp1 = 0 ;
168032  int res1 = 0 ;
168033  void *argp2 = 0 ;
168034  int res2 = 0 ;
168035  PyObject * obj0 = 0 ;
168036  PyObject * obj1 = 0 ;
168037 
168038  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_QueryProperties",&obj0,&obj1)) SWIG_fail;
168039  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
168040  if (!SWIG_IsOK(res1)) {
168041  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
168042  }
168043  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
168044  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
168045  if (!SWIG_IsOK(res2)) {
168046  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
168047  }
168048  if (!argp2) {
168049  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
168050  }
168051  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
168052  {
168053  try {
168054  (arg1)->QueryProperties(*arg2);
168055  }
168056  catch(CStdErrorInfo oError)
168057  {
168058  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168059  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168060  PyErr_SetString(PyExc_IndexError, strError.c_str());
168061  SWIG_fail;
168062  }
168063  catch(...)
168064  {
168065  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168066  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168067  SWIG_fail;
168068  }
168069  }
168070  resultobj = SWIG_Py_Void();
168071  return resultobj;
168072 fail:
168073  return NULL;
168074 }
168075 
168076 
168077 SWIGINTERN PyObject *_wrap_MotorizedJoint_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168078  PyObject *resultobj = 0;
168080  CStdXml *arg2 = 0 ;
168081  void *argp1 = 0 ;
168082  int res1 = 0 ;
168083  void *argp2 = 0 ;
168084  int res2 = 0 ;
168085  PyObject * obj0 = 0 ;
168086  PyObject * obj1 = 0 ;
168087 
168088  if (!PyArg_ParseTuple(args,(char *)"OO:MotorizedJoint_Load",&obj0,&obj1)) SWIG_fail;
168089  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, 0 | 0 );
168090  if (!SWIG_IsOK(res1)) {
168091  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorizedJoint_Load" "', argument " "1"" of type '" "AnimatSim::Environment::MotorizedJoint *""'");
168092  }
168093  arg1 = reinterpret_cast< AnimatSim::Environment::MotorizedJoint * >(argp1);
168094  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
168095  if (!SWIG_IsOK(res2)) {
168096  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorizedJoint_Load" "', argument " "2"" of type '" "CStdXml &""'");
168097  }
168098  if (!argp2) {
168099  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorizedJoint_Load" "', argument " "2"" of type '" "CStdXml &""'");
168100  }
168101  arg2 = reinterpret_cast< CStdXml * >(argp2);
168102  {
168103  try {
168104  (arg1)->Load(*arg2);
168105  }
168106  catch(CStdErrorInfo oError)
168107  {
168108  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168109  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168110  PyErr_SetString(PyExc_IndexError, strError.c_str());
168111  SWIG_fail;
168112  }
168113  catch(...)
168114  {
168115  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168116  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168117  SWIG_fail;
168118  }
168119  }
168120  resultobj = SWIG_Py_Void();
168121  return resultobj;
168122 fail:
168123  return NULL;
168124 }
168125 
168126 
168127 SWIGINTERN PyObject *MotorizedJoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168128  PyObject *obj;
168129  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
168130  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint, SWIG_NewClientData(obj));
168131  return SWIG_Py_Void();
168132 }
168133 
168134 SWIGINTERN PyObject *_wrap_new_BallSocket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168135  PyObject *resultobj = 0;
168137 
168138  if (!PyArg_ParseTuple(args,(char *)":new_BallSocket")) SWIG_fail;
168139  {
168140  try {
168142  }
168143  catch(CStdErrorInfo oError)
168144  {
168145  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168146  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168147  PyErr_SetString(PyExc_IndexError, strError.c_str());
168148  SWIG_fail;
168149  }
168150  catch(...)
168151  {
168152  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168153  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168154  SWIG_fail;
168155  }
168156  }
168157  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Joints__BallSocket, SWIG_POINTER_NEW | 0 );
168158  return resultobj;
168159 fail:
168160  return NULL;
168161 }
168162 
168163 
168164 SWIGINTERN PyObject *_wrap_delete_BallSocket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168165  PyObject *resultobj = 0;
168167  void *argp1 = 0 ;
168168  int res1 = 0 ;
168169  PyObject * obj0 = 0 ;
168170 
168171  if (!PyArg_ParseTuple(args,(char *)"O:delete_BallSocket",&obj0)) SWIG_fail;
168172  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__BallSocket, SWIG_POINTER_DISOWN | 0 );
168173  if (!SWIG_IsOK(res1)) {
168174  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BallSocket" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::BallSocket *""'");
168175  }
168176  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::BallSocket * >(argp1);
168177  {
168178  try {
168179  delete arg1;
168180  }
168181  catch(CStdErrorInfo oError)
168182  {
168183  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168184  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168185  PyErr_SetString(PyExc_IndexError, strError.c_str());
168186  SWIG_fail;
168187  }
168188  catch(...)
168189  {
168190  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168191  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168192  SWIG_fail;
168193  }
168194  }
168195  resultobj = SWIG_Py_Void();
168196  return resultobj;
168197 fail:
168198  return NULL;
168199 }
168200 
168201 
168202 SWIGINTERN PyObject *_wrap_BallSocket_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168203  PyObject *resultobj = 0;
168205  void *argp1 = 0 ;
168206  int res1 = 0 ;
168207  PyObject * obj0 = 0 ;
168209 
168210  if (!PyArg_ParseTuple(args,(char *)"O:BallSocket_CastToDerived",&obj0)) SWIG_fail;
168211  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
168212  if (!SWIG_IsOK(res1)) {
168213  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BallSocket_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
168214  }
168215  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
168216  {
168217  try {
168218  result = (AnimatSim::Environment::Joints::BallSocket *)AnimatSim::Environment::Joints::BallSocket::CastToDerived(arg1);
168219  }
168220  catch(CStdErrorInfo oError)
168221  {
168222  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168223  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168224  PyErr_SetString(PyExc_IndexError, strError.c_str());
168225  SWIG_fail;
168226  }
168227  catch(...)
168228  {
168229  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168230  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168231  SWIG_fail;
168232  }
168233  }
168234  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Joints__BallSocket, 0 | 0 );
168235  return resultobj;
168236 fail:
168237  return NULL;
168238 }
168239 
168240 
168241 SWIGINTERN PyObject *_wrap_BallSocket_CylinderRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168242  PyObject *resultobj = 0;
168244  void *argp1 = 0 ;
168245  int res1 = 0 ;
168246  PyObject * obj0 = 0 ;
168247  float result;
168248 
168249  if (!PyArg_ParseTuple(args,(char *)"O:BallSocket_CylinderRadius",&obj0)) SWIG_fail;
168250  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__BallSocket, 0 | 0 );
168251  if (!SWIG_IsOK(res1)) {
168252  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BallSocket_CylinderRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::BallSocket *""'");
168253  }
168254  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::BallSocket * >(argp1);
168255  {
168256  try {
168257  result = (float)(arg1)->CylinderRadius();
168258  }
168259  catch(CStdErrorInfo oError)
168260  {
168261  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168262  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168263  PyErr_SetString(PyExc_IndexError, strError.c_str());
168264  SWIG_fail;
168265  }
168266  catch(...)
168267  {
168268  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168269  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168270  SWIG_fail;
168271  }
168272  }
168273  resultobj = SWIG_From_float(static_cast< float >(result));
168274  return resultobj;
168275 fail:
168276  return NULL;
168277 }
168278 
168279 
168280 SWIGINTERN PyObject *_wrap_BallSocket_CylinderHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168281  PyObject *resultobj = 0;
168283  void *argp1 = 0 ;
168284  int res1 = 0 ;
168285  PyObject * obj0 = 0 ;
168286  float result;
168287 
168288  if (!PyArg_ParseTuple(args,(char *)"O:BallSocket_CylinderHeight",&obj0)) SWIG_fail;
168289  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__BallSocket, 0 | 0 );
168290  if (!SWIG_IsOK(res1)) {
168291  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BallSocket_CylinderHeight" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::BallSocket *""'");
168292  }
168293  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::BallSocket * >(argp1);
168294  {
168295  try {
168296  result = (float)(arg1)->CylinderHeight();
168297  }
168298  catch(CStdErrorInfo oError)
168299  {
168300  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168301  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168302  PyErr_SetString(PyExc_IndexError, strError.c_str());
168303  SWIG_fail;
168304  }
168305  catch(...)
168306  {
168307  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168308  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168309  SWIG_fail;
168310  }
168311  }
168312  resultobj = SWIG_From_float(static_cast< float >(result));
168313  return resultobj;
168314 fail:
168315  return NULL;
168316 }
168317 
168318 
168319 SWIGINTERN PyObject *_wrap_BallSocket_BallRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168320  PyObject *resultobj = 0;
168322  void *argp1 = 0 ;
168323  int res1 = 0 ;
168324  PyObject * obj0 = 0 ;
168325  float result;
168326 
168327  if (!PyArg_ParseTuple(args,(char *)"O:BallSocket_BallRadius",&obj0)) SWIG_fail;
168328  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__BallSocket, 0 | 0 );
168329  if (!SWIG_IsOK(res1)) {
168330  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BallSocket_BallRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::BallSocket *""'");
168331  }
168332  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::BallSocket * >(argp1);
168333  {
168334  try {
168335  result = (float)(arg1)->BallRadius();
168336  }
168337  catch(CStdErrorInfo oError)
168338  {
168339  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168340  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168341  PyErr_SetString(PyExc_IndexError, strError.c_str());
168342  SWIG_fail;
168343  }
168344  catch(...)
168345  {
168346  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168347  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168348  SWIG_fail;
168349  }
168350  }
168351  resultobj = SWIG_From_float(static_cast< float >(result));
168352  return resultobj;
168353 fail:
168354  return NULL;
168355 }
168356 
168357 
168358 SWIGINTERN PyObject *_wrap_BallSocket_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168359  PyObject *resultobj = 0;
168361  CStdXml *arg2 = 0 ;
168362  void *argp1 = 0 ;
168363  int res1 = 0 ;
168364  void *argp2 = 0 ;
168365  int res2 = 0 ;
168366  PyObject * obj0 = 0 ;
168367  PyObject * obj1 = 0 ;
168368 
168369  if (!PyArg_ParseTuple(args,(char *)"OO:BallSocket_Load",&obj0,&obj1)) SWIG_fail;
168370  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__BallSocket, 0 | 0 );
168371  if (!SWIG_IsOK(res1)) {
168372  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BallSocket_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::BallSocket *""'");
168373  }
168374  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::BallSocket * >(argp1);
168375  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
168376  if (!SWIG_IsOK(res2)) {
168377  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BallSocket_Load" "', argument " "2"" of type '" "CStdXml &""'");
168378  }
168379  if (!argp2) {
168380  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BallSocket_Load" "', argument " "2"" of type '" "CStdXml &""'");
168381  }
168382  arg2 = reinterpret_cast< CStdXml * >(argp2);
168383  {
168384  try {
168385  (arg1)->Load(*arg2);
168386  }
168387  catch(CStdErrorInfo oError)
168388  {
168389  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168390  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168391  PyErr_SetString(PyExc_IndexError, strError.c_str());
168392  SWIG_fail;
168393  }
168394  catch(...)
168395  {
168396  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168397  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168398  SWIG_fail;
168399  }
168400  }
168401  resultobj = SWIG_Py_Void();
168402  return resultobj;
168403 fail:
168404  return NULL;
168405 }
168406 
168407 
168408 SWIGINTERN PyObject *BallSocket_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168409  PyObject *obj;
168410  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
168411  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Joints__BallSocket, SWIG_NewClientData(obj));
168412  return SWIG_Py_Void();
168413 }
168414 
168415 SWIGINTERN PyObject *_wrap_new_Hinge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168416  PyObject *resultobj = 0;
168418 
168419  if (!PyArg_ParseTuple(args,(char *)":new_Hinge")) SWIG_fail;
168420  {
168421  try {
168423  }
168424  catch(CStdErrorInfo oError)
168425  {
168426  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168427  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168428  PyErr_SetString(PyExc_IndexError, strError.c_str());
168429  SWIG_fail;
168430  }
168431  catch(...)
168432  {
168433  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168434  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168435  SWIG_fail;
168436  }
168437  }
168438  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, SWIG_POINTER_NEW | 0 );
168439  return resultobj;
168440 fail:
168441  return NULL;
168442 }
168443 
168444 
168445 SWIGINTERN PyObject *_wrap_delete_Hinge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168446  PyObject *resultobj = 0;
168448  void *argp1 = 0 ;
168449  int res1 = 0 ;
168450  PyObject * obj0 = 0 ;
168451 
168452  if (!PyArg_ParseTuple(args,(char *)"O:delete_Hinge",&obj0)) SWIG_fail;
168453  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, SWIG_POINTER_DISOWN | 0 );
168454  if (!SWIG_IsOK(res1)) {
168455  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Hinge" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
168456  }
168457  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
168458  {
168459  try {
168460  delete arg1;
168461  }
168462  catch(CStdErrorInfo oError)
168463  {
168464  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168465  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168466  PyErr_SetString(PyExc_IndexError, strError.c_str());
168467  SWIG_fail;
168468  }
168469  catch(...)
168470  {
168471  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168472  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168473  SWIG_fail;
168474  }
168475  }
168476  resultobj = SWIG_Py_Void();
168477  return resultobj;
168478 fail:
168479  return NULL;
168480 }
168481 
168482 
168483 SWIGINTERN PyObject *_wrap_Hinge_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168484  PyObject *resultobj = 0;
168486  void *argp1 = 0 ;
168487  int res1 = 0 ;
168488  PyObject * obj0 = 0 ;
168490 
168491  if (!PyArg_ParseTuple(args,(char *)"O:Hinge_CastToDerived",&obj0)) SWIG_fail;
168492  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
168493  if (!SWIG_IsOK(res1)) {
168494  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
168495  }
168496  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
168497  {
168498  try {
168499  result = (AnimatSim::Environment::Joints::Hinge *)AnimatSim::Environment::Joints::Hinge::CastToDerived(arg1);
168500  }
168501  catch(CStdErrorInfo oError)
168502  {
168503  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168504  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168505  PyErr_SetString(PyExc_IndexError, strError.c_str());
168506  SWIG_fail;
168507  }
168508  catch(...)
168509  {
168510  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168511  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168512  SWIG_fail;
168513  }
168514  }
168515  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
168516  return resultobj;
168517 fail:
168518  return NULL;
168519 }
168520 
168521 
168522 SWIGINTERN PyObject *_wrap_Hinge_CylinderRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168523  PyObject *resultobj = 0;
168525  void *argp1 = 0 ;
168526  int res1 = 0 ;
168527  PyObject * obj0 = 0 ;
168528  float result;
168529 
168530  if (!PyArg_ParseTuple(args,(char *)"O:Hinge_CylinderRadius",&obj0)) SWIG_fail;
168531  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
168532  if (!SWIG_IsOK(res1)) {
168533  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_CylinderRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
168534  }
168535  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
168536  {
168537  try {
168538  result = (float)(arg1)->CylinderRadius();
168539  }
168540  catch(CStdErrorInfo oError)
168541  {
168542  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168543  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168544  PyErr_SetString(PyExc_IndexError, strError.c_str());
168545  SWIG_fail;
168546  }
168547  catch(...)
168548  {
168549  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168550  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168551  SWIG_fail;
168552  }
168553  }
168554  resultobj = SWIG_From_float(static_cast< float >(result));
168555  return resultobj;
168556 fail:
168557  return NULL;
168558 }
168559 
168560 
168561 SWIGINTERN PyObject *_wrap_Hinge_CylinderHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168562  PyObject *resultobj = 0;
168564  void *argp1 = 0 ;
168565  int res1 = 0 ;
168566  PyObject * obj0 = 0 ;
168567  float result;
168568 
168569  if (!PyArg_ParseTuple(args,(char *)"O:Hinge_CylinderHeight",&obj0)) SWIG_fail;
168570  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
168571  if (!SWIG_IsOK(res1)) {
168572  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_CylinderHeight" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
168573  }
168574  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
168575  {
168576  try {
168577  result = (float)(arg1)->CylinderHeight();
168578  }
168579  catch(CStdErrorInfo oError)
168580  {
168581  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168582  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168583  PyErr_SetString(PyExc_IndexError, strError.c_str());
168584  SWIG_fail;
168585  }
168586  catch(...)
168587  {
168588  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168589  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168590  SWIG_fail;
168591  }
168592  }
168593  resultobj = SWIG_From_float(static_cast< float >(result));
168594  return resultobj;
168595 fail:
168596  return NULL;
168597 }
168598 
168599 
168600 SWIGINTERN PyObject *_wrap_Hinge_FlapWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168601  PyObject *resultobj = 0;
168603  void *argp1 = 0 ;
168604  int res1 = 0 ;
168605  PyObject * obj0 = 0 ;
168606  float result;
168607 
168608  if (!PyArg_ParseTuple(args,(char *)"O:Hinge_FlapWidth",&obj0)) SWIG_fail;
168609  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
168610  if (!SWIG_IsOK(res1)) {
168611  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_FlapWidth" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
168612  }
168613  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
168614  {
168615  try {
168616  result = (float)(arg1)->FlapWidth();
168617  }
168618  catch(CStdErrorInfo oError)
168619  {
168620  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168621  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168622  PyErr_SetString(PyExc_IndexError, strError.c_str());
168623  SWIG_fail;
168624  }
168625  catch(...)
168626  {
168627  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168628  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168629  SWIG_fail;
168630  }
168631  }
168632  resultobj = SWIG_From_float(static_cast< float >(result));
168633  return resultobj;
168634 fail:
168635  return NULL;
168636 }
168637 
168638 
168639 SWIGINTERN PyObject *_wrap_Hinge_Enabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168640  PyObject *resultobj = 0;
168642  bool arg2 ;
168643  void *argp1 = 0 ;
168644  int res1 = 0 ;
168645  bool val2 ;
168646  int ecode2 = 0 ;
168647  PyObject * obj0 = 0 ;
168648  PyObject * obj1 = 0 ;
168649 
168650  if (!PyArg_ParseTuple(args,(char *)"OO:Hinge_Enabled",&obj0,&obj1)) SWIG_fail;
168651  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
168652  if (!SWIG_IsOK(res1)) {
168653  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_Enabled" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
168654  }
168655  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
168656  ecode2 = SWIG_AsVal_bool(obj1, &val2);
168657  if (!SWIG_IsOK(ecode2)) {
168658  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Hinge_Enabled" "', argument " "2"" of type '" "bool""'");
168659  }
168660  arg2 = static_cast< bool >(val2);
168661  {
168662  try {
168663  (arg1)->Enabled(arg2);
168664  }
168665  catch(CStdErrorInfo oError)
168666  {
168667  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168668  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168669  PyErr_SetString(PyExc_IndexError, strError.c_str());
168670  SWIG_fail;
168671  }
168672  catch(...)
168673  {
168674  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168675  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168676  SWIG_fail;
168677  }
168678  }
168679  resultobj = SWIG_Py_Void();
168680  return resultobj;
168681 fail:
168682  return NULL;
168683 }
168684 
168685 
168686 SWIGINTERN PyObject *_wrap_Hinge_UpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168687  PyObject *resultobj = 0;
168689  void *argp1 = 0 ;
168690  int res1 = 0 ;
168691  PyObject * obj0 = 0 ;
168693 
168694  if (!PyArg_ParseTuple(args,(char *)"O:Hinge_UpperLimit",&obj0)) SWIG_fail;
168695  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
168696  if (!SWIG_IsOK(res1)) {
168697  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_UpperLimit" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
168698  }
168699  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
168700  {
168701  try {
168702  result = (AnimatSim::Environment::ConstraintLimit *)(arg1)->UpperLimit();
168703  }
168704  catch(CStdErrorInfo oError)
168705  {
168706  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168707  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168708  PyErr_SetString(PyExc_IndexError, strError.c_str());
168709  SWIG_fail;
168710  }
168711  catch(...)
168712  {
168713  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168714  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168715  SWIG_fail;
168716  }
168717  }
168718  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
168719  return resultobj;
168720 fail:
168721  return NULL;
168722 }
168723 
168724 
168725 SWIGINTERN PyObject *_wrap_Hinge_LowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168726  PyObject *resultobj = 0;
168728  void *argp1 = 0 ;
168729  int res1 = 0 ;
168730  PyObject * obj0 = 0 ;
168732 
168733  if (!PyArg_ParseTuple(args,(char *)"O:Hinge_LowerLimit",&obj0)) SWIG_fail;
168734  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
168735  if (!SWIG_IsOK(res1)) {
168736  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_LowerLimit" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
168737  }
168738  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
168739  {
168740  try {
168741  result = (AnimatSim::Environment::ConstraintLimit *)(arg1)->LowerLimit();
168742  }
168743  catch(CStdErrorInfo oError)
168744  {
168745  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168746  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168747  PyErr_SetString(PyExc_IndexError, strError.c_str());
168748  SWIG_fail;
168749  }
168750  catch(...)
168751  {
168752  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168753  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168754  SWIG_fail;
168755  }
168756  }
168757  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
168758  return resultobj;
168759 fail:
168760  return NULL;
168761 }
168762 
168763 
168764 SWIGINTERN PyObject *_wrap_Hinge_GetPositionWithinLimits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168765  PyObject *resultobj = 0;
168767  float arg2 ;
168768  void *argp1 = 0 ;
168769  int res1 = 0 ;
168770  float val2 ;
168771  int ecode2 = 0 ;
168772  PyObject * obj0 = 0 ;
168773  PyObject * obj1 = 0 ;
168774  float result;
168775 
168776  if (!PyArg_ParseTuple(args,(char *)"OO:Hinge_GetPositionWithinLimits",&obj0,&obj1)) SWIG_fail;
168777  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
168778  if (!SWIG_IsOK(res1)) {
168779  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_GetPositionWithinLimits" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
168780  }
168781  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
168782  ecode2 = SWIG_AsVal_float(obj1, &val2);
168783  if (!SWIG_IsOK(ecode2)) {
168784  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Hinge_GetPositionWithinLimits" "', argument " "2"" of type '" "float""'");
168785  }
168786  arg2 = static_cast< float >(val2);
168787  {
168788  try {
168789  result = (float)(arg1)->GetPositionWithinLimits(arg2);
168790  }
168791  catch(CStdErrorInfo oError)
168792  {
168793  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168794  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168795  PyErr_SetString(PyExc_IndexError, strError.c_str());
168796  SWIG_fail;
168797  }
168798  catch(...)
168799  {
168800  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168801  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168802  SWIG_fail;
168803  }
168804  }
168805  resultobj = SWIG_From_float(static_cast< float >(result));
168806  return resultobj;
168807 fail:
168808  return NULL;
168809 }
168810 
168811 
168812 SWIGINTERN PyObject *_wrap_Hinge_GetLimitRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168813  PyObject *resultobj = 0;
168815  void *argp1 = 0 ;
168816  int res1 = 0 ;
168817  PyObject * obj0 = 0 ;
168818  float result;
168819 
168820  if (!PyArg_ParseTuple(args,(char *)"O:Hinge_GetLimitRange",&obj0)) SWIG_fail;
168821  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
168822  if (!SWIG_IsOK(res1)) {
168823  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_GetLimitRange" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
168824  }
168825  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
168826  {
168827  try {
168828  result = (float)(arg1)->GetLimitRange();
168829  }
168830  catch(CStdErrorInfo oError)
168831  {
168832  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168833  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168834  PyErr_SetString(PyExc_IndexError, strError.c_str());
168835  SWIG_fail;
168836  }
168837  catch(...)
168838  {
168839  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168840  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168841  SWIG_fail;
168842  }
168843  }
168844  resultobj = SWIG_From_float(static_cast< float >(result));
168845  return resultobj;
168846 fail:
168847  return NULL;
168848 }
168849 
168850 
168851 SWIGINTERN PyObject *_wrap_Hinge_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168852  PyObject *resultobj = 0;
168854  std::string *arg2 = 0 ;
168855  std::string *arg3 = 0 ;
168856  bool arg4 ;
168857  void *argp1 = 0 ;
168858  int res1 = 0 ;
168859  int res2 = SWIG_OLDOBJ ;
168860  int res3 = SWIG_OLDOBJ ;
168861  bool val4 ;
168862  int ecode4 = 0 ;
168863  PyObject * obj0 = 0 ;
168864  PyObject * obj1 = 0 ;
168865  PyObject * obj2 = 0 ;
168866  PyObject * obj3 = 0 ;
168867  bool result;
168868 
168869  if (!PyArg_ParseTuple(args,(char *)"OOOO:Hinge_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
168870  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
168871  if (!SWIG_IsOK(res1)) {
168872  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
168873  }
168874  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
168875  {
168876  std::string *ptr = (std::string *)0;
168877  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
168878  if (!SWIG_IsOK(res2)) {
168879  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Hinge_SetData" "', argument " "2"" of type '" "std::string const &""'");
168880  }
168881  if (!ptr) {
168882  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Hinge_SetData" "', argument " "2"" of type '" "std::string const &""'");
168883  }
168884  arg2 = ptr;
168885  }
168886  {
168887  std::string *ptr = (std::string *)0;
168888  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
168889  if (!SWIG_IsOK(res3)) {
168890  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Hinge_SetData" "', argument " "3"" of type '" "std::string const &""'");
168891  }
168892  if (!ptr) {
168893  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Hinge_SetData" "', argument " "3"" of type '" "std::string const &""'");
168894  }
168895  arg3 = ptr;
168896  }
168897  ecode4 = SWIG_AsVal_bool(obj3, &val4);
168898  if (!SWIG_IsOK(ecode4)) {
168899  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Hinge_SetData" "', argument " "4"" of type '" "bool""'");
168900  }
168901  arg4 = static_cast< bool >(val4);
168902  {
168903  try {
168904  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
168905  }
168906  catch(CStdErrorInfo oError)
168907  {
168908  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168909  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168910  PyErr_SetString(PyExc_IndexError, strError.c_str());
168911  SWIG_fail;
168912  }
168913  catch(...)
168914  {
168915  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168916  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168917  SWIG_fail;
168918  }
168919  }
168920  resultobj = SWIG_From_bool(static_cast< bool >(result));
168921  if (SWIG_IsNewObj(res2)) delete arg2;
168922  if (SWIG_IsNewObj(res3)) delete arg3;
168923  return resultobj;
168924 fail:
168925  if (SWIG_IsNewObj(res2)) delete arg2;
168926  if (SWIG_IsNewObj(res3)) delete arg3;
168927  return NULL;
168928 }
168929 
168930 
168931 SWIGINTERN PyObject *_wrap_Hinge_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
168932  PyObject *resultobj = 0;
168934  std::string *arg2 = 0 ;
168935  std::string *arg3 = 0 ;
168936  void *argp1 = 0 ;
168937  int res1 = 0 ;
168938  int res2 = SWIG_OLDOBJ ;
168939  int res3 = SWIG_OLDOBJ ;
168940  PyObject * obj0 = 0 ;
168941  PyObject * obj1 = 0 ;
168942  PyObject * obj2 = 0 ;
168943  bool result;
168944 
168945  if (!PyArg_ParseTuple(args,(char *)"OOO:Hinge_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
168946  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
168947  if (!SWIG_IsOK(res1)) {
168948  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
168949  }
168950  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
168951  {
168952  std::string *ptr = (std::string *)0;
168953  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
168954  if (!SWIG_IsOK(res2)) {
168955  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Hinge_SetData" "', argument " "2"" of type '" "std::string const &""'");
168956  }
168957  if (!ptr) {
168958  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Hinge_SetData" "', argument " "2"" of type '" "std::string const &""'");
168959  }
168960  arg2 = ptr;
168961  }
168962  {
168963  std::string *ptr = (std::string *)0;
168964  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
168965  if (!SWIG_IsOK(res3)) {
168966  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Hinge_SetData" "', argument " "3"" of type '" "std::string const &""'");
168967  }
168968  if (!ptr) {
168969  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Hinge_SetData" "', argument " "3"" of type '" "std::string const &""'");
168970  }
168971  arg3 = ptr;
168972  }
168973  {
168974  try {
168975  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
168976  }
168977  catch(CStdErrorInfo oError)
168978  {
168979  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168980  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
168981  PyErr_SetString(PyExc_IndexError, strError.c_str());
168982  SWIG_fail;
168983  }
168984  catch(...)
168985  {
168986  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
168987  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
168988  SWIG_fail;
168989  }
168990  }
168991  resultobj = SWIG_From_bool(static_cast< bool >(result));
168992  if (SWIG_IsNewObj(res2)) delete arg2;
168993  if (SWIG_IsNewObj(res3)) delete arg3;
168994  return resultobj;
168995 fail:
168996  if (SWIG_IsNewObj(res2)) delete arg2;
168997  if (SWIG_IsNewObj(res3)) delete arg3;
168998  return NULL;
168999 }
169000 
169001 
169002 SWIGINTERN PyObject *_wrap_Hinge_SetData(PyObject *self, PyObject *args) {
169003  int argc;
169004  PyObject *argv[5];
169005  int ii;
169006 
169007  if (!PyTuple_Check(args)) SWIG_fail;
169008  argc = args ? (int)PyObject_Length(args) : 0;
169009  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
169010  argv[ii] = PyTuple_GET_ITEM(args,ii);
169011  }
169012  if (argc == 3) {
169013  int _v;
169014  void *vptr = 0;
169015  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0);
169016  _v = SWIG_CheckState(res);
169017  if (_v) {
169018  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
169019  _v = SWIG_CheckState(res);
169020  if (_v) {
169021  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
169022  _v = SWIG_CheckState(res);
169023  if (_v) {
169024  return _wrap_Hinge_SetData__SWIG_1(self, args);
169025  }
169026  }
169027  }
169028  }
169029  if (argc == 4) {
169030  int _v;
169031  void *vptr = 0;
169032  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0);
169033  _v = SWIG_CheckState(res);
169034  if (_v) {
169035  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
169036  _v = SWIG_CheckState(res);
169037  if (_v) {
169038  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
169039  _v = SWIG_CheckState(res);
169040  if (_v) {
169041  {
169042  int res = SWIG_AsVal_bool(argv[3], NULL);
169043  _v = SWIG_CheckState(res);
169044  }
169045  if (_v) {
169046  return _wrap_Hinge_SetData__SWIG_0(self, args);
169047  }
169048  }
169049  }
169050  }
169051  }
169052 
169053 fail:
169054  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Hinge_SetData'.\n"
169055  " Possible C/C++ prototypes are:\n"
169056  " AnimatSim::Environment::Joints::Hinge::SetData(std::string const &,std::string const &,bool)\n"
169057  " AnimatSim::Environment::Joints::Hinge::SetData(std::string const &,std::string const &)\n");
169058  return 0;
169059 }
169060 
169061 
169062 SWIGINTERN PyObject *_wrap_Hinge_AddExternalNodeInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169063  PyObject *resultobj = 0;
169065  int arg2 ;
169066  float arg3 ;
169067  void *argp1 = 0 ;
169068  int res1 = 0 ;
169069  int val2 ;
169070  int ecode2 = 0 ;
169071  float val3 ;
169072  int ecode3 = 0 ;
169073  PyObject * obj0 = 0 ;
169074  PyObject * obj1 = 0 ;
169075  PyObject * obj2 = 0 ;
169076 
169077  if (!PyArg_ParseTuple(args,(char *)"OOO:Hinge_AddExternalNodeInput",&obj0,&obj1,&obj2)) SWIG_fail;
169078  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
169079  if (!SWIG_IsOK(res1)) {
169080  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_AddExternalNodeInput" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
169081  }
169082  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
169083  ecode2 = SWIG_AsVal_int(obj1, &val2);
169084  if (!SWIG_IsOK(ecode2)) {
169085  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Hinge_AddExternalNodeInput" "', argument " "2"" of type '" "int""'");
169086  }
169087  arg2 = static_cast< int >(val2);
169088  ecode3 = SWIG_AsVal_float(obj2, &val3);
169089  if (!SWIG_IsOK(ecode3)) {
169090  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Hinge_AddExternalNodeInput" "', argument " "3"" of type '" "float""'");
169091  }
169092  arg3 = static_cast< float >(val3);
169093  {
169094  try {
169095  (arg1)->AddExternalNodeInput(arg2,arg3);
169096  }
169097  catch(CStdErrorInfo oError)
169098  {
169099  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169100  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169101  PyErr_SetString(PyExc_IndexError, strError.c_str());
169102  SWIG_fail;
169103  }
169104  catch(...)
169105  {
169106  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169107  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169108  SWIG_fail;
169109  }
169110  }
169111  resultobj = SWIG_Py_Void();
169112  return resultobj;
169113 fail:
169114  return NULL;
169115 }
169116 
169117 
169118 SWIGINTERN PyObject *_wrap_Hinge_GetTargetDataTypeIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169119  PyObject *resultobj = 0;
169121  std::string *arg2 = 0 ;
169122  void *argp1 = 0 ;
169123  int res1 = 0 ;
169124  int res2 = SWIG_OLDOBJ ;
169125  PyObject * obj0 = 0 ;
169126  PyObject * obj1 = 0 ;
169127  int result;
169128 
169129  if (!PyArg_ParseTuple(args,(char *)"OO:Hinge_GetTargetDataTypeIndex",&obj0,&obj1)) SWIG_fail;
169130  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
169131  if (!SWIG_IsOK(res1)) {
169132  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_GetTargetDataTypeIndex" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
169133  }
169134  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
169135  {
169136  std::string *ptr = (std::string *)0;
169137  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
169138  if (!SWIG_IsOK(res2)) {
169139  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Hinge_GetTargetDataTypeIndex" "', argument " "2"" of type '" "std::string const &""'");
169140  }
169141  if (!ptr) {
169142  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Hinge_GetTargetDataTypeIndex" "', argument " "2"" of type '" "std::string const &""'");
169143  }
169144  arg2 = ptr;
169145  }
169146  {
169147  try {
169148  result = (int)(arg1)->GetTargetDataTypeIndex((std::string const &)*arg2);
169149  }
169150  catch(CStdErrorInfo oError)
169151  {
169152  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169153  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169154  PyErr_SetString(PyExc_IndexError, strError.c_str());
169155  SWIG_fail;
169156  }
169157  catch(...)
169158  {
169159  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169160  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169161  SWIG_fail;
169162  }
169163  }
169164  resultobj = SWIG_From_int(static_cast< int >(result));
169165  if (SWIG_IsNewObj(res2)) delete arg2;
169166  return resultobj;
169167 fail:
169168  if (SWIG_IsNewObj(res2)) delete arg2;
169169  return NULL;
169170 }
169171 
169172 
169173 SWIGINTERN PyObject *_wrap_Hinge_UpdateData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169174  PyObject *resultobj = 0;
169176  void *argp1 = 0 ;
169177  int res1 = 0 ;
169178  PyObject * obj0 = 0 ;
169179 
169180  if (!PyArg_ParseTuple(args,(char *)"O:Hinge_UpdateData",&obj0)) SWIG_fail;
169181  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
169182  if (!SWIG_IsOK(res1)) {
169183  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_UpdateData" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
169184  }
169185  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
169186  {
169187  try {
169188  (arg1)->UpdateData();
169189  }
169190  catch(CStdErrorInfo oError)
169191  {
169192  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169193  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169194  PyErr_SetString(PyExc_IndexError, strError.c_str());
169195  SWIG_fail;
169196  }
169197  catch(...)
169198  {
169199  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169200  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169201  SWIG_fail;
169202  }
169203  }
169204  resultobj = SWIG_Py_Void();
169205  return resultobj;
169206 fail:
169207  return NULL;
169208 }
169209 
169210 
169211 SWIGINTERN PyObject *_wrap_Hinge_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169212  PyObject *resultobj = 0;
169214  void *argp1 = 0 ;
169215  int res1 = 0 ;
169216  PyObject * obj0 = 0 ;
169217 
169218  if (!PyArg_ParseTuple(args,(char *)"O:Hinge_ResetSimulation",&obj0)) SWIG_fail;
169219  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
169220  if (!SWIG_IsOK(res1)) {
169221  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
169222  }
169223  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
169224  {
169225  try {
169226  (arg1)->ResetSimulation();
169227  }
169228  catch(CStdErrorInfo oError)
169229  {
169230  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169231  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169232  PyErr_SetString(PyExc_IndexError, strError.c_str());
169233  SWIG_fail;
169234  }
169235  catch(...)
169236  {
169237  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169238  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169239  SWIG_fail;
169240  }
169241  }
169242  resultobj = SWIG_Py_Void();
169243  return resultobj;
169244 fail:
169245  return NULL;
169246 }
169247 
169248 
169249 SWIGINTERN PyObject *_wrap_Hinge_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169250  PyObject *resultobj = 0;
169252  CStdXml *arg2 = 0 ;
169253  void *argp1 = 0 ;
169254  int res1 = 0 ;
169255  void *argp2 = 0 ;
169256  int res2 = 0 ;
169257  PyObject * obj0 = 0 ;
169258  PyObject * obj1 = 0 ;
169259 
169260  if (!PyArg_ParseTuple(args,(char *)"OO:Hinge_Load",&obj0,&obj1)) SWIG_fail;
169261  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, 0 | 0 );
169262  if (!SWIG_IsOK(res1)) {
169263  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hinge_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Hinge *""'");
169264  }
169265  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Hinge * >(argp1);
169266  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
169267  if (!SWIG_IsOK(res2)) {
169268  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Hinge_Load" "', argument " "2"" of type '" "CStdXml &""'");
169269  }
169270  if (!argp2) {
169271  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Hinge_Load" "', argument " "2"" of type '" "CStdXml &""'");
169272  }
169273  arg2 = reinterpret_cast< CStdXml * >(argp2);
169274  {
169275  try {
169276  (arg1)->Load(*arg2);
169277  }
169278  catch(CStdErrorInfo oError)
169279  {
169280  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169281  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169282  PyErr_SetString(PyExc_IndexError, strError.c_str());
169283  SWIG_fail;
169284  }
169285  catch(...)
169286  {
169287  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169288  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169289  SWIG_fail;
169290  }
169291  }
169292  resultobj = SWIG_Py_Void();
169293  return resultobj;
169294 fail:
169295  return NULL;
169296 }
169297 
169298 
169299 SWIGINTERN PyObject *Hinge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169300  PyObject *obj;
169301  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
169302  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge, SWIG_NewClientData(obj));
169303  return SWIG_Py_Void();
169304 }
169305 
169306 SWIGINTERN PyObject *_wrap_new_Prismatic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169307  PyObject *resultobj = 0;
169309 
169310  if (!PyArg_ParseTuple(args,(char *)":new_Prismatic")) SWIG_fail;
169311  {
169312  try {
169314  }
169315  catch(CStdErrorInfo oError)
169316  {
169317  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169318  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169319  PyErr_SetString(PyExc_IndexError, strError.c_str());
169320  SWIG_fail;
169321  }
169322  catch(...)
169323  {
169324  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169325  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169326  SWIG_fail;
169327  }
169328  }
169329  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, SWIG_POINTER_NEW | 0 );
169330  return resultobj;
169331 fail:
169332  return NULL;
169333 }
169334 
169335 
169336 SWIGINTERN PyObject *_wrap_delete_Prismatic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169337  PyObject *resultobj = 0;
169339  void *argp1 = 0 ;
169340  int res1 = 0 ;
169341  PyObject * obj0 = 0 ;
169342 
169343  if (!PyArg_ParseTuple(args,(char *)"O:delete_Prismatic",&obj0)) SWIG_fail;
169344  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, SWIG_POINTER_DISOWN | 0 );
169345  if (!SWIG_IsOK(res1)) {
169346  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Prismatic" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Prismatic *""'");
169347  }
169348  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Prismatic * >(argp1);
169349  {
169350  try {
169351  delete arg1;
169352  }
169353  catch(CStdErrorInfo oError)
169354  {
169355  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169356  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169357  PyErr_SetString(PyExc_IndexError, strError.c_str());
169358  SWIG_fail;
169359  }
169360  catch(...)
169361  {
169362  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169363  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169364  SWIG_fail;
169365  }
169366  }
169367  resultobj = SWIG_Py_Void();
169368  return resultobj;
169369 fail:
169370  return NULL;
169371 }
169372 
169373 
169374 SWIGINTERN PyObject *_wrap_Prismatic_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169375  PyObject *resultobj = 0;
169377  void *argp1 = 0 ;
169378  int res1 = 0 ;
169379  PyObject * obj0 = 0 ;
169381 
169382  if (!PyArg_ParseTuple(args,(char *)"O:Prismatic_CastToDerived",&obj0)) SWIG_fail;
169383  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
169384  if (!SWIG_IsOK(res1)) {
169385  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Prismatic_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
169386  }
169387  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
169388  {
169389  try {
169390  result = (AnimatSim::Environment::Joints::Prismatic *)AnimatSim::Environment::Joints::Prismatic::CastToDerived(arg1);
169391  }
169392  catch(CStdErrorInfo oError)
169393  {
169394  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169395  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169396  PyErr_SetString(PyExc_IndexError, strError.c_str());
169397  SWIG_fail;
169398  }
169399  catch(...)
169400  {
169401  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169402  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169403  SWIG_fail;
169404  }
169405  }
169406  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0 | 0 );
169407  return resultobj;
169408 fail:
169409  return NULL;
169410 }
169411 
169412 
169413 SWIGINTERN PyObject *_wrap_Prismatic_CylinderRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169414  PyObject *resultobj = 0;
169416  void *argp1 = 0 ;
169417  int res1 = 0 ;
169418  PyObject * obj0 = 0 ;
169419  float result;
169420 
169421  if (!PyArg_ParseTuple(args,(char *)"O:Prismatic_CylinderRadius",&obj0)) SWIG_fail;
169422  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0 | 0 );
169423  if (!SWIG_IsOK(res1)) {
169424  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Prismatic_CylinderRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Prismatic *""'");
169425  }
169426  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Prismatic * >(argp1);
169427  {
169428  try {
169429  result = (float)(arg1)->CylinderRadius();
169430  }
169431  catch(CStdErrorInfo oError)
169432  {
169433  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169434  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169435  PyErr_SetString(PyExc_IndexError, strError.c_str());
169436  SWIG_fail;
169437  }
169438  catch(...)
169439  {
169440  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169441  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169442  SWIG_fail;
169443  }
169444  }
169445  resultobj = SWIG_From_float(static_cast< float >(result));
169446  return resultobj;
169447 fail:
169448  return NULL;
169449 }
169450 
169451 
169452 SWIGINTERN PyObject *_wrap_Prismatic_BoxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169453  PyObject *resultobj = 0;
169455  void *argp1 = 0 ;
169456  int res1 = 0 ;
169457  PyObject * obj0 = 0 ;
169458  float result;
169459 
169460  if (!PyArg_ParseTuple(args,(char *)"O:Prismatic_BoxSize",&obj0)) SWIG_fail;
169461  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0 | 0 );
169462  if (!SWIG_IsOK(res1)) {
169463  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Prismatic_BoxSize" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Prismatic *""'");
169464  }
169465  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Prismatic * >(argp1);
169466  {
169467  try {
169468  result = (float)(arg1)->BoxSize();
169469  }
169470  catch(CStdErrorInfo oError)
169471  {
169472  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169473  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169474  PyErr_SetString(PyExc_IndexError, strError.c_str());
169475  SWIG_fail;
169476  }
169477  catch(...)
169478  {
169479  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169480  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169481  SWIG_fail;
169482  }
169483  }
169484  resultobj = SWIG_From_float(static_cast< float >(result));
169485  return resultobj;
169486 fail:
169487  return NULL;
169488 }
169489 
169490 
169491 SWIGINTERN PyObject *_wrap_Prismatic_Enabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169492  PyObject *resultobj = 0;
169494  bool arg2 ;
169495  void *argp1 = 0 ;
169496  int res1 = 0 ;
169497  bool val2 ;
169498  int ecode2 = 0 ;
169499  PyObject * obj0 = 0 ;
169500  PyObject * obj1 = 0 ;
169501 
169502  if (!PyArg_ParseTuple(args,(char *)"OO:Prismatic_Enabled",&obj0,&obj1)) SWIG_fail;
169503  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0 | 0 );
169504  if (!SWIG_IsOK(res1)) {
169505  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Prismatic_Enabled" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Prismatic *""'");
169506  }
169507  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Prismatic * >(argp1);
169508  ecode2 = SWIG_AsVal_bool(obj1, &val2);
169509  if (!SWIG_IsOK(ecode2)) {
169510  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Prismatic_Enabled" "', argument " "2"" of type '" "bool""'");
169511  }
169512  arg2 = static_cast< bool >(val2);
169513  {
169514  try {
169515  (arg1)->Enabled(arg2);
169516  }
169517  catch(CStdErrorInfo oError)
169518  {
169519  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169520  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169521  PyErr_SetString(PyExc_IndexError, strError.c_str());
169522  SWIG_fail;
169523  }
169524  catch(...)
169525  {
169526  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169527  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169528  SWIG_fail;
169529  }
169530  }
169531  resultobj = SWIG_Py_Void();
169532  return resultobj;
169533 fail:
169534  return NULL;
169535 }
169536 
169537 
169538 SWIGINTERN PyObject *_wrap_Prismatic_UpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169539  PyObject *resultobj = 0;
169541  void *argp1 = 0 ;
169542  int res1 = 0 ;
169543  PyObject * obj0 = 0 ;
169545 
169546  if (!PyArg_ParseTuple(args,(char *)"O:Prismatic_UpperLimit",&obj0)) SWIG_fail;
169547  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0 | 0 );
169548  if (!SWIG_IsOK(res1)) {
169549  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Prismatic_UpperLimit" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Prismatic *""'");
169550  }
169551  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Prismatic * >(argp1);
169552  {
169553  try {
169554  result = (AnimatSim::Environment::ConstraintLimit *)(arg1)->UpperLimit();
169555  }
169556  catch(CStdErrorInfo oError)
169557  {
169558  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169559  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169560  PyErr_SetString(PyExc_IndexError, strError.c_str());
169561  SWIG_fail;
169562  }
169563  catch(...)
169564  {
169565  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169566  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169567  SWIG_fail;
169568  }
169569  }
169570  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
169571  return resultobj;
169572 fail:
169573  return NULL;
169574 }
169575 
169576 
169577 SWIGINTERN PyObject *_wrap_Prismatic_LowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169578  PyObject *resultobj = 0;
169580  void *argp1 = 0 ;
169581  int res1 = 0 ;
169582  PyObject * obj0 = 0 ;
169584 
169585  if (!PyArg_ParseTuple(args,(char *)"O:Prismatic_LowerLimit",&obj0)) SWIG_fail;
169586  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0 | 0 );
169587  if (!SWIG_IsOK(res1)) {
169588  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Prismatic_LowerLimit" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Prismatic *""'");
169589  }
169590  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Prismatic * >(argp1);
169591  {
169592  try {
169593  result = (AnimatSim::Environment::ConstraintLimit *)(arg1)->LowerLimit();
169594  }
169595  catch(CStdErrorInfo oError)
169596  {
169597  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169598  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169599  PyErr_SetString(PyExc_IndexError, strError.c_str());
169600  SWIG_fail;
169601  }
169602  catch(...)
169603  {
169604  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169605  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169606  SWIG_fail;
169607  }
169608  }
169609  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit, 0 | 0 );
169610  return resultobj;
169611 fail:
169612  return NULL;
169613 }
169614 
169615 
169616 SWIGINTERN PyObject *_wrap_Prismatic_GetPositionWithinLimits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169617  PyObject *resultobj = 0;
169619  float arg2 ;
169620  void *argp1 = 0 ;
169621  int res1 = 0 ;
169622  float val2 ;
169623  int ecode2 = 0 ;
169624  PyObject * obj0 = 0 ;
169625  PyObject * obj1 = 0 ;
169626  float result;
169627 
169628  if (!PyArg_ParseTuple(args,(char *)"OO:Prismatic_GetPositionWithinLimits",&obj0,&obj1)) SWIG_fail;
169629  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0 | 0 );
169630  if (!SWIG_IsOK(res1)) {
169631  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Prismatic_GetPositionWithinLimits" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Prismatic *""'");
169632  }
169633  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Prismatic * >(argp1);
169634  ecode2 = SWIG_AsVal_float(obj1, &val2);
169635  if (!SWIG_IsOK(ecode2)) {
169636  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Prismatic_GetPositionWithinLimits" "', argument " "2"" of type '" "float""'");
169637  }
169638  arg2 = static_cast< float >(val2);
169639  {
169640  try {
169641  result = (float)(arg1)->GetPositionWithinLimits(arg2);
169642  }
169643  catch(CStdErrorInfo oError)
169644  {
169645  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169646  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169647  PyErr_SetString(PyExc_IndexError, strError.c_str());
169648  SWIG_fail;
169649  }
169650  catch(...)
169651  {
169652  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169653  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169654  SWIG_fail;
169655  }
169656  }
169657  resultobj = SWIG_From_float(static_cast< float >(result));
169658  return resultobj;
169659 fail:
169660  return NULL;
169661 }
169662 
169663 
169664 SWIGINTERN PyObject *_wrap_Prismatic_GetLimitRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169665  PyObject *resultobj = 0;
169667  void *argp1 = 0 ;
169668  int res1 = 0 ;
169669  PyObject * obj0 = 0 ;
169670  float result;
169671 
169672  if (!PyArg_ParseTuple(args,(char *)"O:Prismatic_GetLimitRange",&obj0)) SWIG_fail;
169673  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0 | 0 );
169674  if (!SWIG_IsOK(res1)) {
169675  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Prismatic_GetLimitRange" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Prismatic *""'");
169676  }
169677  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Prismatic * >(argp1);
169678  {
169679  try {
169680  result = (float)(arg1)->GetLimitRange();
169681  }
169682  catch(CStdErrorInfo oError)
169683  {
169684  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169685  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169686  PyErr_SetString(PyExc_IndexError, strError.c_str());
169687  SWIG_fail;
169688  }
169689  catch(...)
169690  {
169691  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169692  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169693  SWIG_fail;
169694  }
169695  }
169696  resultobj = SWIG_From_float(static_cast< float >(result));
169697  return resultobj;
169698 fail:
169699  return NULL;
169700 }
169701 
169702 
169703 SWIGINTERN PyObject *_wrap_Prismatic_UsesRadians(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169704  PyObject *resultobj = 0;
169706  void *argp1 = 0 ;
169707  int res1 = 0 ;
169708  PyObject * obj0 = 0 ;
169709  bool result;
169710 
169711  if (!PyArg_ParseTuple(args,(char *)"O:Prismatic_UsesRadians",&obj0)) SWIG_fail;
169712  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0 | 0 );
169713  if (!SWIG_IsOK(res1)) {
169714  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Prismatic_UsesRadians" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Prismatic *""'");
169715  }
169716  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Prismatic * >(argp1);
169717  {
169718  try {
169719  result = (bool)(arg1)->UsesRadians();
169720  }
169721  catch(CStdErrorInfo oError)
169722  {
169723  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169724  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169725  PyErr_SetString(PyExc_IndexError, strError.c_str());
169726  SWIG_fail;
169727  }
169728  catch(...)
169729  {
169730  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169731  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169732  SWIG_fail;
169733  }
169734  }
169735  resultobj = SWIG_From_bool(static_cast< bool >(result));
169736  return resultobj;
169737 fail:
169738  return NULL;
169739 }
169740 
169741 
169742 SWIGINTERN PyObject *_wrap_Prismatic_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169743  PyObject *resultobj = 0;
169745  std::string *arg2 = 0 ;
169746  std::string *arg3 = 0 ;
169747  bool arg4 ;
169748  void *argp1 = 0 ;
169749  int res1 = 0 ;
169750  int res2 = SWIG_OLDOBJ ;
169751  int res3 = SWIG_OLDOBJ ;
169752  bool val4 ;
169753  int ecode4 = 0 ;
169754  PyObject * obj0 = 0 ;
169755  PyObject * obj1 = 0 ;
169756  PyObject * obj2 = 0 ;
169757  PyObject * obj3 = 0 ;
169758  bool result;
169759 
169760  if (!PyArg_ParseTuple(args,(char *)"OOOO:Prismatic_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
169761  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0 | 0 );
169762  if (!SWIG_IsOK(res1)) {
169763  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Prismatic_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Prismatic *""'");
169764  }
169765  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Prismatic * >(argp1);
169766  {
169767  std::string *ptr = (std::string *)0;
169768  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
169769  if (!SWIG_IsOK(res2)) {
169770  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Prismatic_SetData" "', argument " "2"" of type '" "std::string const &""'");
169771  }
169772  if (!ptr) {
169773  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Prismatic_SetData" "', argument " "2"" of type '" "std::string const &""'");
169774  }
169775  arg2 = ptr;
169776  }
169777  {
169778  std::string *ptr = (std::string *)0;
169779  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
169780  if (!SWIG_IsOK(res3)) {
169781  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Prismatic_SetData" "', argument " "3"" of type '" "std::string const &""'");
169782  }
169783  if (!ptr) {
169784  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Prismatic_SetData" "', argument " "3"" of type '" "std::string const &""'");
169785  }
169786  arg3 = ptr;
169787  }
169788  ecode4 = SWIG_AsVal_bool(obj3, &val4);
169789  if (!SWIG_IsOK(ecode4)) {
169790  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Prismatic_SetData" "', argument " "4"" of type '" "bool""'");
169791  }
169792  arg4 = static_cast< bool >(val4);
169793  {
169794  try {
169795  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
169796  }
169797  catch(CStdErrorInfo oError)
169798  {
169799  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169800  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169801  PyErr_SetString(PyExc_IndexError, strError.c_str());
169802  SWIG_fail;
169803  }
169804  catch(...)
169805  {
169806  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169807  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169808  SWIG_fail;
169809  }
169810  }
169811  resultobj = SWIG_From_bool(static_cast< bool >(result));
169812  if (SWIG_IsNewObj(res2)) delete arg2;
169813  if (SWIG_IsNewObj(res3)) delete arg3;
169814  return resultobj;
169815 fail:
169816  if (SWIG_IsNewObj(res2)) delete arg2;
169817  if (SWIG_IsNewObj(res3)) delete arg3;
169818  return NULL;
169819 }
169820 
169821 
169822 SWIGINTERN PyObject *_wrap_Prismatic_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169823  PyObject *resultobj = 0;
169825  std::string *arg2 = 0 ;
169826  std::string *arg3 = 0 ;
169827  void *argp1 = 0 ;
169828  int res1 = 0 ;
169829  int res2 = SWIG_OLDOBJ ;
169830  int res3 = SWIG_OLDOBJ ;
169831  PyObject * obj0 = 0 ;
169832  PyObject * obj1 = 0 ;
169833  PyObject * obj2 = 0 ;
169834  bool result;
169835 
169836  if (!PyArg_ParseTuple(args,(char *)"OOO:Prismatic_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
169837  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0 | 0 );
169838  if (!SWIG_IsOK(res1)) {
169839  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Prismatic_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Prismatic *""'");
169840  }
169841  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Prismatic * >(argp1);
169842  {
169843  std::string *ptr = (std::string *)0;
169844  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
169845  if (!SWIG_IsOK(res2)) {
169846  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Prismatic_SetData" "', argument " "2"" of type '" "std::string const &""'");
169847  }
169848  if (!ptr) {
169849  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Prismatic_SetData" "', argument " "2"" of type '" "std::string const &""'");
169850  }
169851  arg2 = ptr;
169852  }
169853  {
169854  std::string *ptr = (std::string *)0;
169855  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
169856  if (!SWIG_IsOK(res3)) {
169857  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Prismatic_SetData" "', argument " "3"" of type '" "std::string const &""'");
169858  }
169859  if (!ptr) {
169860  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Prismatic_SetData" "', argument " "3"" of type '" "std::string const &""'");
169861  }
169862  arg3 = ptr;
169863  }
169864  {
169865  try {
169866  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
169867  }
169868  catch(CStdErrorInfo oError)
169869  {
169870  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169871  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169872  PyErr_SetString(PyExc_IndexError, strError.c_str());
169873  SWIG_fail;
169874  }
169875  catch(...)
169876  {
169877  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169878  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169879  SWIG_fail;
169880  }
169881  }
169882  resultobj = SWIG_From_bool(static_cast< bool >(result));
169883  if (SWIG_IsNewObj(res2)) delete arg2;
169884  if (SWIG_IsNewObj(res3)) delete arg3;
169885  return resultobj;
169886 fail:
169887  if (SWIG_IsNewObj(res2)) delete arg2;
169888  if (SWIG_IsNewObj(res3)) delete arg3;
169889  return NULL;
169890 }
169891 
169892 
169893 SWIGINTERN PyObject *_wrap_Prismatic_SetData(PyObject *self, PyObject *args) {
169894  int argc;
169895  PyObject *argv[5];
169896  int ii;
169897 
169898  if (!PyTuple_Check(args)) SWIG_fail;
169899  argc = args ? (int)PyObject_Length(args) : 0;
169900  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
169901  argv[ii] = PyTuple_GET_ITEM(args,ii);
169902  }
169903  if (argc == 3) {
169904  int _v;
169905  void *vptr = 0;
169906  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0);
169907  _v = SWIG_CheckState(res);
169908  if (_v) {
169909  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
169910  _v = SWIG_CheckState(res);
169911  if (_v) {
169912  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
169913  _v = SWIG_CheckState(res);
169914  if (_v) {
169915  return _wrap_Prismatic_SetData__SWIG_1(self, args);
169916  }
169917  }
169918  }
169919  }
169920  if (argc == 4) {
169921  int _v;
169922  void *vptr = 0;
169923  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0);
169924  _v = SWIG_CheckState(res);
169925  if (_v) {
169926  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
169927  _v = SWIG_CheckState(res);
169928  if (_v) {
169929  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
169930  _v = SWIG_CheckState(res);
169931  if (_v) {
169932  {
169933  int res = SWIG_AsVal_bool(argv[3], NULL);
169934  _v = SWIG_CheckState(res);
169935  }
169936  if (_v) {
169937  return _wrap_Prismatic_SetData__SWIG_0(self, args);
169938  }
169939  }
169940  }
169941  }
169942  }
169943 
169944 fail:
169945  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Prismatic_SetData'.\n"
169946  " Possible C/C++ prototypes are:\n"
169947  " AnimatSim::Environment::Joints::Prismatic::SetData(std::string const &,std::string const &,bool)\n"
169948  " AnimatSim::Environment::Joints::Prismatic::SetData(std::string const &,std::string const &)\n");
169949  return 0;
169950 }
169951 
169952 
169953 SWIGINTERN PyObject *_wrap_Prismatic_AddExternalNodeInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
169954  PyObject *resultobj = 0;
169956  int arg2 ;
169957  float arg3 ;
169958  void *argp1 = 0 ;
169959  int res1 = 0 ;
169960  int val2 ;
169961  int ecode2 = 0 ;
169962  float val3 ;
169963  int ecode3 = 0 ;
169964  PyObject * obj0 = 0 ;
169965  PyObject * obj1 = 0 ;
169966  PyObject * obj2 = 0 ;
169967 
169968  if (!PyArg_ParseTuple(args,(char *)"OOO:Prismatic_AddExternalNodeInput",&obj0,&obj1,&obj2)) SWIG_fail;
169969  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0 | 0 );
169970  if (!SWIG_IsOK(res1)) {
169971  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Prismatic_AddExternalNodeInput" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Prismatic *""'");
169972  }
169973  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Prismatic * >(argp1);
169974  ecode2 = SWIG_AsVal_int(obj1, &val2);
169975  if (!SWIG_IsOK(ecode2)) {
169976  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Prismatic_AddExternalNodeInput" "', argument " "2"" of type '" "int""'");
169977  }
169978  arg2 = static_cast< int >(val2);
169979  ecode3 = SWIG_AsVal_float(obj2, &val3);
169980  if (!SWIG_IsOK(ecode3)) {
169981  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Prismatic_AddExternalNodeInput" "', argument " "3"" of type '" "float""'");
169982  }
169983  arg3 = static_cast< float >(val3);
169984  {
169985  try {
169986  (arg1)->AddExternalNodeInput(arg2,arg3);
169987  }
169988  catch(CStdErrorInfo oError)
169989  {
169990  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169991  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
169992  PyErr_SetString(PyExc_IndexError, strError.c_str());
169993  SWIG_fail;
169994  }
169995  catch(...)
169996  {
169997  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
169998  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
169999  SWIG_fail;
170000  }
170001  }
170002  resultobj = SWIG_Py_Void();
170003  return resultobj;
170004 fail:
170005  return NULL;
170006 }
170007 
170008 
170009 SWIGINTERN PyObject *_wrap_Prismatic_GetTargetDataTypeIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170010  PyObject *resultobj = 0;
170012  std::string *arg2 = 0 ;
170013  void *argp1 = 0 ;
170014  int res1 = 0 ;
170015  int res2 = SWIG_OLDOBJ ;
170016  PyObject * obj0 = 0 ;
170017  PyObject * obj1 = 0 ;
170018  int result;
170019 
170020  if (!PyArg_ParseTuple(args,(char *)"OO:Prismatic_GetTargetDataTypeIndex",&obj0,&obj1)) SWIG_fail;
170021  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0 | 0 );
170022  if (!SWIG_IsOK(res1)) {
170023  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Prismatic_GetTargetDataTypeIndex" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Prismatic *""'");
170024  }
170025  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Prismatic * >(argp1);
170026  {
170027  std::string *ptr = (std::string *)0;
170028  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
170029  if (!SWIG_IsOK(res2)) {
170030  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Prismatic_GetTargetDataTypeIndex" "', argument " "2"" of type '" "std::string const &""'");
170031  }
170032  if (!ptr) {
170033  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Prismatic_GetTargetDataTypeIndex" "', argument " "2"" of type '" "std::string const &""'");
170034  }
170035  arg2 = ptr;
170036  }
170037  {
170038  try {
170039  result = (int)(arg1)->GetTargetDataTypeIndex((std::string const &)*arg2);
170040  }
170041  catch(CStdErrorInfo oError)
170042  {
170043  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170044  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170045  PyErr_SetString(PyExc_IndexError, strError.c_str());
170046  SWIG_fail;
170047  }
170048  catch(...)
170049  {
170050  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170051  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170052  SWIG_fail;
170053  }
170054  }
170055  resultobj = SWIG_From_int(static_cast< int >(result));
170056  if (SWIG_IsNewObj(res2)) delete arg2;
170057  return resultobj;
170058 fail:
170059  if (SWIG_IsNewObj(res2)) delete arg2;
170060  return NULL;
170061 }
170062 
170063 
170064 SWIGINTERN PyObject *_wrap_Prismatic_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170065  PyObject *resultobj = 0;
170067  CStdXml *arg2 = 0 ;
170068  void *argp1 = 0 ;
170069  int res1 = 0 ;
170070  void *argp2 = 0 ;
170071  int res2 = 0 ;
170072  PyObject * obj0 = 0 ;
170073  PyObject * obj1 = 0 ;
170074 
170075  if (!PyArg_ParseTuple(args,(char *)"OO:Prismatic_Load",&obj0,&obj1)) SWIG_fail;
170076  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, 0 | 0 );
170077  if (!SWIG_IsOK(res1)) {
170078  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Prismatic_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::Prismatic *""'");
170079  }
170080  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::Prismatic * >(argp1);
170081  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
170082  if (!SWIG_IsOK(res2)) {
170083  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Prismatic_Load" "', argument " "2"" of type '" "CStdXml &""'");
170084  }
170085  if (!argp2) {
170086  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Prismatic_Load" "', argument " "2"" of type '" "CStdXml &""'");
170087  }
170088  arg2 = reinterpret_cast< CStdXml * >(argp2);
170089  {
170090  try {
170091  (arg1)->Load(*arg2);
170092  }
170093  catch(CStdErrorInfo oError)
170094  {
170095  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170096  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170097  PyErr_SetString(PyExc_IndexError, strError.c_str());
170098  SWIG_fail;
170099  }
170100  catch(...)
170101  {
170102  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170103  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170104  SWIG_fail;
170105  }
170106  }
170107  resultobj = SWIG_Py_Void();
170108  return resultobj;
170109 fail:
170110  return NULL;
170111 }
170112 
170113 
170114 SWIGINTERN PyObject *Prismatic_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170115  PyObject *obj;
170116  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
170117  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic, SWIG_NewClientData(obj));
170118  return SWIG_Py_Void();
170119 }
170120 
170121 SWIGINTERN PyObject *_wrap_new_LinearJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170122  PyObject *resultobj = 0;
170124 
170125  if (!PyArg_ParseTuple(args,(char *)":new_LinearJoint")) SWIG_fail;
170126  {
170127  try {
170129  }
170130  catch(CStdErrorInfo oError)
170131  {
170132  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170133  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170134  PyErr_SetString(PyExc_IndexError, strError.c_str());
170135  SWIG_fail;
170136  }
170137  catch(...)
170138  {
170139  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170140  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170141  SWIG_fail;
170142  }
170143  }
170144  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, SWIG_POINTER_NEW | 0 );
170145  return resultobj;
170146 fail:
170147  return NULL;
170148 }
170149 
170150 
170151 SWIGINTERN PyObject *_wrap_delete_LinearJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170152  PyObject *resultobj = 0;
170154  void *argp1 = 0 ;
170155  int res1 = 0 ;
170156  PyObject * obj0 = 0 ;
170157 
170158  if (!PyArg_ParseTuple(args,(char *)"O:delete_LinearJoint",&obj0)) SWIG_fail;
170159  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, SWIG_POINTER_DISOWN | 0 );
170160  if (!SWIG_IsOK(res1)) {
170161  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LinearJoint" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::LinearJoint *""'");
170162  }
170163  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::LinearJoint * >(argp1);
170164  {
170165  try {
170166  delete arg1;
170167  }
170168  catch(CStdErrorInfo oError)
170169  {
170170  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170171  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170172  PyErr_SetString(PyExc_IndexError, strError.c_str());
170173  SWIG_fail;
170174  }
170175  catch(...)
170176  {
170177  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170178  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170179  SWIG_fail;
170180  }
170181  }
170182  resultobj = SWIG_Py_Void();
170183  return resultobj;
170184 fail:
170185  return NULL;
170186 }
170187 
170188 
170189 SWIGINTERN PyObject *_wrap_LinearJoint_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170190  PyObject *resultobj = 0;
170192  void *argp1 = 0 ;
170193  int res1 = 0 ;
170194  PyObject * obj0 = 0 ;
170196 
170197  if (!PyArg_ParseTuple(args,(char *)"O:LinearJoint_CastToDerived",&obj0)) SWIG_fail;
170198  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
170199  if (!SWIG_IsOK(res1)) {
170200  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearJoint_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
170201  }
170202  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
170203  {
170204  try {
170205  result = (AnimatSim::Environment::Joints::LinearJoint *)AnimatSim::Environment::Joints::LinearJoint::CastToDerived(arg1);
170206  }
170207  catch(CStdErrorInfo oError)
170208  {
170209  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170210  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170211  PyErr_SetString(PyExc_IndexError, strError.c_str());
170212  SWIG_fail;
170213  }
170214  catch(...)
170215  {
170216  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170217  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170218  SWIG_fail;
170219  }
170220  }
170221  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0 | 0 );
170222  return resultobj;
170223 fail:
170224  return NULL;
170225 }
170226 
170227 
170228 SWIGINTERN PyObject *_wrap_LinearJoint_LinearType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170229  PyObject *resultobj = 0;
170231  std::string arg2 ;
170232  void *argp1 = 0 ;
170233  int res1 = 0 ;
170234  PyObject * obj0 = 0 ;
170235  PyObject * obj1 = 0 ;
170236 
170237  if (!PyArg_ParseTuple(args,(char *)"OO:LinearJoint_LinearType",&obj0,&obj1)) SWIG_fail;
170238  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0 | 0 );
170239  if (!SWIG_IsOK(res1)) {
170240  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearJoint_LinearType" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::LinearJoint *""'");
170241  }
170242  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::LinearJoint * >(argp1);
170243  {
170244  std::string *ptr = (std::string *)0;
170245  int res = SWIG_AsPtr_std_string(obj1, &ptr);
170246  if (!SWIG_IsOK(res) || !ptr) {
170247  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "LinearJoint_LinearType" "', argument " "2"" of type '" "std::string""'");
170248  }
170249  arg2 = *ptr;
170250  if (SWIG_IsNewObj(res)) delete ptr;
170251  }
170252  {
170253  try {
170254  (arg1)->LinearType(arg2);
170255  }
170256  catch(CStdErrorInfo oError)
170257  {
170258  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170259  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170260  PyErr_SetString(PyExc_IndexError, strError.c_str());
170261  SWIG_fail;
170262  }
170263  catch(...)
170264  {
170265  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170266  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170267  SWIG_fail;
170268  }
170269  }
170270  resultobj = SWIG_Py_Void();
170271  return resultobj;
170272 fail:
170273  return NULL;
170274 }
170275 
170276 
170277 SWIGINTERN PyObject *_wrap_LinearJoint_LinearType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170278  PyObject *resultobj = 0;
170280  int arg2 ;
170281  void *argp1 = 0 ;
170282  int res1 = 0 ;
170283  int val2 ;
170284  int ecode2 = 0 ;
170285  PyObject * obj0 = 0 ;
170286  PyObject * obj1 = 0 ;
170287 
170288  if (!PyArg_ParseTuple(args,(char *)"OO:LinearJoint_LinearType",&obj0,&obj1)) SWIG_fail;
170289  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0 | 0 );
170290  if (!SWIG_IsOK(res1)) {
170291  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearJoint_LinearType" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::LinearJoint *""'");
170292  }
170293  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::LinearJoint * >(argp1);
170294  ecode2 = SWIG_AsVal_int(obj1, &val2);
170295  if (!SWIG_IsOK(ecode2)) {
170296  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LinearJoint_LinearType" "', argument " "2"" of type '" "int""'");
170297  }
170298  arg2 = static_cast< int >(val2);
170299  {
170300  try {
170301  (arg1)->LinearType(arg2);
170302  }
170303  catch(CStdErrorInfo oError)
170304  {
170305  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170306  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170307  PyErr_SetString(PyExc_IndexError, strError.c_str());
170308  SWIG_fail;
170309  }
170310  catch(...)
170311  {
170312  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170313  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170314  SWIG_fail;
170315  }
170316  }
170317  resultobj = SWIG_Py_Void();
170318  return resultobj;
170319 fail:
170320  return NULL;
170321 }
170322 
170323 
170324 SWIGINTERN PyObject *_wrap_LinearJoint_LinearType__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170325  PyObject *resultobj = 0;
170327  void *argp1 = 0 ;
170328  int res1 = 0 ;
170329  PyObject * obj0 = 0 ;
170330  int result;
170331 
170332  if (!PyArg_ParseTuple(args,(char *)"O:LinearJoint_LinearType",&obj0)) SWIG_fail;
170333  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0 | 0 );
170334  if (!SWIG_IsOK(res1)) {
170335  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearJoint_LinearType" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::LinearJoint *""'");
170336  }
170337  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::LinearJoint * >(argp1);
170338  {
170339  try {
170340  result = (int)(arg1)->LinearType();
170341  }
170342  catch(CStdErrorInfo oError)
170343  {
170344  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170345  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170346  PyErr_SetString(PyExc_IndexError, strError.c_str());
170347  SWIG_fail;
170348  }
170349  catch(...)
170350  {
170351  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170352  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170353  SWIG_fail;
170354  }
170355  }
170356  resultobj = SWIG_From_int(static_cast< int >(result));
170357  return resultobj;
170358 fail:
170359  return NULL;
170360 }
170361 
170362 
170363 SWIGINTERN PyObject *_wrap_LinearJoint_LinearType(PyObject *self, PyObject *args) {
170364  int argc;
170365  PyObject *argv[3];
170366  int ii;
170367 
170368  if (!PyTuple_Check(args)) SWIG_fail;
170369  argc = args ? (int)PyObject_Length(args) : 0;
170370  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
170371  argv[ii] = PyTuple_GET_ITEM(args,ii);
170372  }
170373  if (argc == 1) {
170374  int _v;
170375  void *vptr = 0;
170376  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0);
170377  _v = SWIG_CheckState(res);
170378  if (_v) {
170379  return _wrap_LinearJoint_LinearType__SWIG_2(self, args);
170380  }
170381  }
170382  if (argc == 2) {
170383  int _v;
170384  void *vptr = 0;
170385  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0);
170386  _v = SWIG_CheckState(res);
170387  if (_v) {
170388  {
170389  int res = SWIG_AsVal_int(argv[1], NULL);
170390  _v = SWIG_CheckState(res);
170391  }
170392  if (_v) {
170393  return _wrap_LinearJoint_LinearType__SWIG_1(self, args);
170394  }
170395  }
170396  }
170397  if (argc == 2) {
170398  int _v;
170399  void *vptr = 0;
170400  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0);
170401  _v = SWIG_CheckState(res);
170402  if (_v) {
170403  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
170404  _v = SWIG_CheckState(res);
170405  if (_v) {
170406  return _wrap_LinearJoint_LinearType__SWIG_0(self, args);
170407  }
170408  }
170409  }
170410 
170411 fail:
170412  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LinearJoint_LinearType'.\n"
170413  " Possible C/C++ prototypes are:\n"
170414  " AnimatSim::Environment::Joints::LinearJoint::LinearType(std::string)\n"
170415  " AnimatSim::Environment::Joints::LinearJoint::LinearType(int)\n"
170416  " AnimatSim::Environment::Joints::LinearJoint::LinearType()\n");
170417  return 0;
170418 }
170419 
170420 
170421 SWIGINTERN PyObject *_wrap_LinearJoint_PlaneWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170422  PyObject *resultobj = 0;
170424  void *argp1 = 0 ;
170425  int res1 = 0 ;
170426  PyObject * obj0 = 0 ;
170427  float result;
170428 
170429  if (!PyArg_ParseTuple(args,(char *)"O:LinearJoint_PlaneWidth",&obj0)) SWIG_fail;
170430  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0 | 0 );
170431  if (!SWIG_IsOK(res1)) {
170432  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearJoint_PlaneWidth" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::LinearJoint *""'");
170433  }
170434  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::LinearJoint * >(argp1);
170435  {
170436  try {
170437  result = (float)(arg1)->PlaneWidth();
170438  }
170439  catch(CStdErrorInfo oError)
170440  {
170441  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170442  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170443  PyErr_SetString(PyExc_IndexError, strError.c_str());
170444  SWIG_fail;
170445  }
170446  catch(...)
170447  {
170448  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170449  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170450  SWIG_fail;
170451  }
170452  }
170453  resultobj = SWIG_From_float(static_cast< float >(result));
170454  return resultobj;
170455 fail:
170456  return NULL;
170457 }
170458 
170459 
170460 SWIGINTERN PyObject *_wrap_LinearJoint_PlaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170461  PyObject *resultobj = 0;
170463  void *argp1 = 0 ;
170464  int res1 = 0 ;
170465  PyObject * obj0 = 0 ;
170466  float result;
170467 
170468  if (!PyArg_ParseTuple(args,(char *)"O:LinearJoint_PlaneSize",&obj0)) SWIG_fail;
170469  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0 | 0 );
170470  if (!SWIG_IsOK(res1)) {
170471  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearJoint_PlaneSize" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::LinearJoint *""'");
170472  }
170473  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::LinearJoint * >(argp1);
170474  {
170475  try {
170476  result = (float)(arg1)->PlaneSize();
170477  }
170478  catch(CStdErrorInfo oError)
170479  {
170480  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170481  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170482  PyErr_SetString(PyExc_IndexError, strError.c_str());
170483  SWIG_fail;
170484  }
170485  catch(...)
170486  {
170487  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170488  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170489  SWIG_fail;
170490  }
170491  }
170492  resultobj = SWIG_From_float(static_cast< float >(result));
170493  return resultobj;
170494 fail:
170495  return NULL;
170496 }
170497 
170498 
170499 SWIGINTERN PyObject *_wrap_LinearJoint_CylinderRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170500  PyObject *resultobj = 0;
170502  void *argp1 = 0 ;
170503  int res1 = 0 ;
170504  PyObject * obj0 = 0 ;
170505  float result;
170506 
170507  if (!PyArg_ParseTuple(args,(char *)"O:LinearJoint_CylinderRadius",&obj0)) SWIG_fail;
170508  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0 | 0 );
170509  if (!SWIG_IsOK(res1)) {
170510  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearJoint_CylinderRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::LinearJoint *""'");
170511  }
170512  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::LinearJoint * >(argp1);
170513  {
170514  try {
170515  result = (float)(arg1)->CylinderRadius();
170516  }
170517  catch(CStdErrorInfo oError)
170518  {
170519  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170520  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170521  PyErr_SetString(PyExc_IndexError, strError.c_str());
170522  SWIG_fail;
170523  }
170524  catch(...)
170525  {
170526  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170527  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170528  SWIG_fail;
170529  }
170530  }
170531  resultobj = SWIG_From_float(static_cast< float >(result));
170532  return resultobj;
170533 fail:
170534  return NULL;
170535 }
170536 
170537 
170538 SWIGINTERN PyObject *_wrap_LinearJoint_CylinderHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170539  PyObject *resultobj = 0;
170541  void *argp1 = 0 ;
170542  int res1 = 0 ;
170543  PyObject * obj0 = 0 ;
170544  float result;
170545 
170546  if (!PyArg_ParseTuple(args,(char *)"O:LinearJoint_CylinderHeight",&obj0)) SWIG_fail;
170547  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0 | 0 );
170548  if (!SWIG_IsOK(res1)) {
170549  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearJoint_CylinderHeight" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::LinearJoint *""'");
170550  }
170551  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::LinearJoint * >(argp1);
170552  {
170553  try {
170554  result = (float)(arg1)->CylinderHeight();
170555  }
170556  catch(CStdErrorInfo oError)
170557  {
170558  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170559  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170560  PyErr_SetString(PyExc_IndexError, strError.c_str());
170561  SWIG_fail;
170562  }
170563  catch(...)
170564  {
170565  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170566  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170567  SWIG_fail;
170568  }
170569  }
170570  resultobj = SWIG_From_float(static_cast< float >(result));
170571  return resultobj;
170572 fail:
170573  return NULL;
170574 }
170575 
170576 
170577 SWIGINTERN PyObject *_wrap_LinearJoint_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170578  PyObject *resultobj = 0;
170580  std::string *arg2 = 0 ;
170581  std::string *arg3 = 0 ;
170582  bool arg4 ;
170583  void *argp1 = 0 ;
170584  int res1 = 0 ;
170585  int res2 = SWIG_OLDOBJ ;
170586  int res3 = SWIG_OLDOBJ ;
170587  bool val4 ;
170588  int ecode4 = 0 ;
170589  PyObject * obj0 = 0 ;
170590  PyObject * obj1 = 0 ;
170591  PyObject * obj2 = 0 ;
170592  PyObject * obj3 = 0 ;
170593  bool result;
170594 
170595  if (!PyArg_ParseTuple(args,(char *)"OOOO:LinearJoint_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
170596  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0 | 0 );
170597  if (!SWIG_IsOK(res1)) {
170598  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearJoint_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::LinearJoint *""'");
170599  }
170600  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::LinearJoint * >(argp1);
170601  {
170602  std::string *ptr = (std::string *)0;
170603  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
170604  if (!SWIG_IsOK(res2)) {
170605  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinearJoint_SetData" "', argument " "2"" of type '" "std::string const &""'");
170606  }
170607  if (!ptr) {
170608  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearJoint_SetData" "', argument " "2"" of type '" "std::string const &""'");
170609  }
170610  arg2 = ptr;
170611  }
170612  {
170613  std::string *ptr = (std::string *)0;
170614  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
170615  if (!SWIG_IsOK(res3)) {
170616  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LinearJoint_SetData" "', argument " "3"" of type '" "std::string const &""'");
170617  }
170618  if (!ptr) {
170619  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearJoint_SetData" "', argument " "3"" of type '" "std::string const &""'");
170620  }
170621  arg3 = ptr;
170622  }
170623  ecode4 = SWIG_AsVal_bool(obj3, &val4);
170624  if (!SWIG_IsOK(ecode4)) {
170625  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LinearJoint_SetData" "', argument " "4"" of type '" "bool""'");
170626  }
170627  arg4 = static_cast< bool >(val4);
170628  {
170629  try {
170630  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
170631  }
170632  catch(CStdErrorInfo oError)
170633  {
170634  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170635  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170636  PyErr_SetString(PyExc_IndexError, strError.c_str());
170637  SWIG_fail;
170638  }
170639  catch(...)
170640  {
170641  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170642  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170643  SWIG_fail;
170644  }
170645  }
170646  resultobj = SWIG_From_bool(static_cast< bool >(result));
170647  if (SWIG_IsNewObj(res2)) delete arg2;
170648  if (SWIG_IsNewObj(res3)) delete arg3;
170649  return resultobj;
170650 fail:
170651  if (SWIG_IsNewObj(res2)) delete arg2;
170652  if (SWIG_IsNewObj(res3)) delete arg3;
170653  return NULL;
170654 }
170655 
170656 
170657 SWIGINTERN PyObject *_wrap_LinearJoint_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170658  PyObject *resultobj = 0;
170660  std::string *arg2 = 0 ;
170661  std::string *arg3 = 0 ;
170662  void *argp1 = 0 ;
170663  int res1 = 0 ;
170664  int res2 = SWIG_OLDOBJ ;
170665  int res3 = SWIG_OLDOBJ ;
170666  PyObject * obj0 = 0 ;
170667  PyObject * obj1 = 0 ;
170668  PyObject * obj2 = 0 ;
170669  bool result;
170670 
170671  if (!PyArg_ParseTuple(args,(char *)"OOO:LinearJoint_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
170672  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0 | 0 );
170673  if (!SWIG_IsOK(res1)) {
170674  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearJoint_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::LinearJoint *""'");
170675  }
170676  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::LinearJoint * >(argp1);
170677  {
170678  std::string *ptr = (std::string *)0;
170679  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
170680  if (!SWIG_IsOK(res2)) {
170681  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinearJoint_SetData" "', argument " "2"" of type '" "std::string const &""'");
170682  }
170683  if (!ptr) {
170684  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearJoint_SetData" "', argument " "2"" of type '" "std::string const &""'");
170685  }
170686  arg2 = ptr;
170687  }
170688  {
170689  std::string *ptr = (std::string *)0;
170690  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
170691  if (!SWIG_IsOK(res3)) {
170692  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LinearJoint_SetData" "', argument " "3"" of type '" "std::string const &""'");
170693  }
170694  if (!ptr) {
170695  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearJoint_SetData" "', argument " "3"" of type '" "std::string const &""'");
170696  }
170697  arg3 = ptr;
170698  }
170699  {
170700  try {
170701  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
170702  }
170703  catch(CStdErrorInfo oError)
170704  {
170705  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170706  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170707  PyErr_SetString(PyExc_IndexError, strError.c_str());
170708  SWIG_fail;
170709  }
170710  catch(...)
170711  {
170712  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170713  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170714  SWIG_fail;
170715  }
170716  }
170717  resultobj = SWIG_From_bool(static_cast< bool >(result));
170718  if (SWIG_IsNewObj(res2)) delete arg2;
170719  if (SWIG_IsNewObj(res3)) delete arg3;
170720  return resultobj;
170721 fail:
170722  if (SWIG_IsNewObj(res2)) delete arg2;
170723  if (SWIG_IsNewObj(res3)) delete arg3;
170724  return NULL;
170725 }
170726 
170727 
170728 SWIGINTERN PyObject *_wrap_LinearJoint_SetData(PyObject *self, PyObject *args) {
170729  int argc;
170730  PyObject *argv[5];
170731  int ii;
170732 
170733  if (!PyTuple_Check(args)) SWIG_fail;
170734  argc = args ? (int)PyObject_Length(args) : 0;
170735  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
170736  argv[ii] = PyTuple_GET_ITEM(args,ii);
170737  }
170738  if (argc == 3) {
170739  int _v;
170740  void *vptr = 0;
170741  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0);
170742  _v = SWIG_CheckState(res);
170743  if (_v) {
170744  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
170745  _v = SWIG_CheckState(res);
170746  if (_v) {
170747  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
170748  _v = SWIG_CheckState(res);
170749  if (_v) {
170750  return _wrap_LinearJoint_SetData__SWIG_1(self, args);
170751  }
170752  }
170753  }
170754  }
170755  if (argc == 4) {
170756  int _v;
170757  void *vptr = 0;
170758  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0);
170759  _v = SWIG_CheckState(res);
170760  if (_v) {
170761  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
170762  _v = SWIG_CheckState(res);
170763  if (_v) {
170764  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
170765  _v = SWIG_CheckState(res);
170766  if (_v) {
170767  {
170768  int res = SWIG_AsVal_bool(argv[3], NULL);
170769  _v = SWIG_CheckState(res);
170770  }
170771  if (_v) {
170772  return _wrap_LinearJoint_SetData__SWIG_0(self, args);
170773  }
170774  }
170775  }
170776  }
170777  }
170778 
170779 fail:
170780  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LinearJoint_SetData'.\n"
170781  " Possible C/C++ prototypes are:\n"
170782  " AnimatSim::Environment::Joints::LinearJoint::SetData(std::string const &,std::string const &,bool)\n"
170783  " AnimatSim::Environment::Joints::LinearJoint::SetData(std::string const &,std::string const &)\n");
170784  return 0;
170785 }
170786 
170787 
170788 SWIGINTERN PyObject *_wrap_LinearJoint_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170789  PyObject *resultobj = 0;
170791  CStdPtrArray< TypeProperty > *arg2 = 0 ;
170792  void *argp1 = 0 ;
170793  int res1 = 0 ;
170794  void *argp2 = 0 ;
170795  int res2 = 0 ;
170796  PyObject * obj0 = 0 ;
170797  PyObject * obj1 = 0 ;
170798 
170799  if (!PyArg_ParseTuple(args,(char *)"OO:LinearJoint_QueryProperties",&obj0,&obj1)) SWIG_fail;
170800  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0 | 0 );
170801  if (!SWIG_IsOK(res1)) {
170802  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearJoint_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::LinearJoint *""'");
170803  }
170804  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::LinearJoint * >(argp1);
170805  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
170806  if (!SWIG_IsOK(res2)) {
170807  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinearJoint_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
170808  }
170809  if (!argp2) {
170810  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearJoint_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
170811  }
170812  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
170813  {
170814  try {
170815  (arg1)->QueryProperties(*arg2);
170816  }
170817  catch(CStdErrorInfo oError)
170818  {
170819  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170820  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170821  PyErr_SetString(PyExc_IndexError, strError.c_str());
170822  SWIG_fail;
170823  }
170824  catch(...)
170825  {
170826  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170827  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170828  SWIG_fail;
170829  }
170830  }
170831  resultobj = SWIG_Py_Void();
170832  return resultobj;
170833 fail:
170834  return NULL;
170835 }
170836 
170837 
170838 SWIGINTERN PyObject *_wrap_LinearJoint_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170839  PyObject *resultobj = 0;
170841  CStdXml *arg2 = 0 ;
170842  void *argp1 = 0 ;
170843  int res1 = 0 ;
170844  void *argp2 = 0 ;
170845  int res2 = 0 ;
170846  PyObject * obj0 = 0 ;
170847  PyObject * obj1 = 0 ;
170848 
170849  if (!PyArg_ParseTuple(args,(char *)"OO:LinearJoint_Load",&obj0,&obj1)) SWIG_fail;
170850  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, 0 | 0 );
170851  if (!SWIG_IsOK(res1)) {
170852  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearJoint_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::LinearJoint *""'");
170853  }
170854  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::LinearJoint * >(argp1);
170855  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
170856  if (!SWIG_IsOK(res2)) {
170857  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinearJoint_Load" "', argument " "2"" of type '" "CStdXml &""'");
170858  }
170859  if (!argp2) {
170860  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearJoint_Load" "', argument " "2"" of type '" "CStdXml &""'");
170861  }
170862  arg2 = reinterpret_cast< CStdXml * >(argp2);
170863  {
170864  try {
170865  (arg1)->Load(*arg2);
170866  }
170867  catch(CStdErrorInfo oError)
170868  {
170869  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170870  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170871  PyErr_SetString(PyExc_IndexError, strError.c_str());
170872  SWIG_fail;
170873  }
170874  catch(...)
170875  {
170876  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170877  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170878  SWIG_fail;
170879  }
170880  }
170881  resultobj = SWIG_Py_Void();
170882  return resultobj;
170883 fail:
170884  return NULL;
170885 }
170886 
170887 
170888 SWIGINTERN PyObject *LinearJoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170889  PyObject *obj;
170890  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
170891  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint, SWIG_NewClientData(obj));
170892  return SWIG_Py_Void();
170893 }
170894 
170895 SWIGINTERN PyObject *_wrap_new_RPRO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170896  PyObject *resultobj = 0;
170898 
170899  if (!PyArg_ParseTuple(args,(char *)":new_RPRO")) SWIG_fail;
170900  {
170901  try {
170903  }
170904  catch(CStdErrorInfo oError)
170905  {
170906  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170907  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170908  PyErr_SetString(PyExc_IndexError, strError.c_str());
170909  SWIG_fail;
170910  }
170911  catch(...)
170912  {
170913  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170914  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170915  SWIG_fail;
170916  }
170917  }
170918  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Joints__RPRO, SWIG_POINTER_NEW | 0 );
170919  return resultobj;
170920 fail:
170921  return NULL;
170922 }
170923 
170924 
170925 SWIGINTERN PyObject *_wrap_delete_RPRO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170926  PyObject *resultobj = 0;
170928  void *argp1 = 0 ;
170929  int res1 = 0 ;
170930  PyObject * obj0 = 0 ;
170931 
170932  if (!PyArg_ParseTuple(args,(char *)"O:delete_RPRO",&obj0)) SWIG_fail;
170933  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__RPRO, SWIG_POINTER_DISOWN | 0 );
170934  if (!SWIG_IsOK(res1)) {
170935  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RPRO" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::RPRO *""'");
170936  }
170937  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::RPRO * >(argp1);
170938  {
170939  try {
170940  delete arg1;
170941  }
170942  catch(CStdErrorInfo oError)
170943  {
170944  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170945  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170946  PyErr_SetString(PyExc_IndexError, strError.c_str());
170947  SWIG_fail;
170948  }
170949  catch(...)
170950  {
170951  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170952  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170953  SWIG_fail;
170954  }
170955  }
170956  resultobj = SWIG_Py_Void();
170957  return resultobj;
170958 fail:
170959  return NULL;
170960 }
170961 
170962 
170963 SWIGINTERN PyObject *_wrap_RPRO_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
170964  PyObject *resultobj = 0;
170966  void *argp1 = 0 ;
170967  int res1 = 0 ;
170968  PyObject * obj0 = 0 ;
170970 
170971  if (!PyArg_ParseTuple(args,(char *)"O:RPRO_CastToDerived",&obj0)) SWIG_fail;
170972  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
170973  if (!SWIG_IsOK(res1)) {
170974  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RPRO_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
170975  }
170976  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
170977  {
170978  try {
170979  result = (AnimatSim::Environment::Joints::RPRO *)AnimatSim::Environment::Joints::RPRO::CastToDerived(arg1);
170980  }
170981  catch(CStdErrorInfo oError)
170982  {
170983  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170984  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
170985  PyErr_SetString(PyExc_IndexError, strError.c_str());
170986  SWIG_fail;
170987  }
170988  catch(...)
170989  {
170990  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
170991  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
170992  SWIG_fail;
170993  }
170994  }
170995  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Joints__RPRO, 0 | 0 );
170996  return resultobj;
170997 fail:
170998  return NULL;
170999 }
171000 
171001 
171002 SWIGINTERN PyObject *_wrap_RPRO_CylinderRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171003  PyObject *resultobj = 0;
171005  void *argp1 = 0 ;
171006  int res1 = 0 ;
171007  PyObject * obj0 = 0 ;
171008  float result;
171009 
171010  if (!PyArg_ParseTuple(args,(char *)"O:RPRO_CylinderRadius",&obj0)) SWIG_fail;
171011  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__RPRO, 0 | 0 );
171012  if (!SWIG_IsOK(res1)) {
171013  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RPRO_CylinderRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::RPRO *""'");
171014  }
171015  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::RPRO * >(argp1);
171016  {
171017  try {
171018  result = (float)(arg1)->CylinderRadius();
171019  }
171020  catch(CStdErrorInfo oError)
171021  {
171022  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171023  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171024  PyErr_SetString(PyExc_IndexError, strError.c_str());
171025  SWIG_fail;
171026  }
171027  catch(...)
171028  {
171029  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171030  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171031  SWIG_fail;
171032  }
171033  }
171034  resultobj = SWIG_From_float(static_cast< float >(result));
171035  return resultobj;
171036 fail:
171037  return NULL;
171038 }
171039 
171040 
171041 SWIGINTERN PyObject *_wrap_RPRO_CylinderHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171042  PyObject *resultobj = 0;
171044  void *argp1 = 0 ;
171045  int res1 = 0 ;
171046  PyObject * obj0 = 0 ;
171047  float result;
171048 
171049  if (!PyArg_ParseTuple(args,(char *)"O:RPRO_CylinderHeight",&obj0)) SWIG_fail;
171050  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__RPRO, 0 | 0 );
171051  if (!SWIG_IsOK(res1)) {
171052  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RPRO_CylinderHeight" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::RPRO *""'");
171053  }
171054  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::RPRO * >(argp1);
171055  {
171056  try {
171057  result = (float)(arg1)->CylinderHeight();
171058  }
171059  catch(CStdErrorInfo oError)
171060  {
171061  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171062  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171063  PyErr_SetString(PyExc_IndexError, strError.c_str());
171064  SWIG_fail;
171065  }
171066  catch(...)
171067  {
171068  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171069  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171070  SWIG_fail;
171071  }
171072  }
171073  resultobj = SWIG_From_float(static_cast< float >(result));
171074  return resultobj;
171075 fail:
171076  return NULL;
171077 }
171078 
171079 
171080 SWIGINTERN PyObject *_wrap_RPRO_BallRadius(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171081  PyObject *resultobj = 0;
171083  void *argp1 = 0 ;
171084  int res1 = 0 ;
171085  PyObject * obj0 = 0 ;
171086  float result;
171087 
171088  if (!PyArg_ParseTuple(args,(char *)"O:RPRO_BallRadius",&obj0)) SWIG_fail;
171089  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__RPRO, 0 | 0 );
171090  if (!SWIG_IsOK(res1)) {
171091  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RPRO_BallRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::RPRO *""'");
171092  }
171093  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::RPRO * >(argp1);
171094  {
171095  try {
171096  result = (float)(arg1)->BallRadius();
171097  }
171098  catch(CStdErrorInfo oError)
171099  {
171100  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171101  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171102  PyErr_SetString(PyExc_IndexError, strError.c_str());
171103  SWIG_fail;
171104  }
171105  catch(...)
171106  {
171107  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171108  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171109  SWIG_fail;
171110  }
171111  }
171112  resultobj = SWIG_From_float(static_cast< float >(result));
171113  return resultobj;
171114 fail:
171115  return NULL;
171116 }
171117 
171118 
171119 SWIGINTERN PyObject *_wrap_RPRO_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171120  PyObject *resultobj = 0;
171122  CStdXml *arg2 = 0 ;
171123  void *argp1 = 0 ;
171124  int res1 = 0 ;
171125  void *argp2 = 0 ;
171126  int res2 = 0 ;
171127  PyObject * obj0 = 0 ;
171128  PyObject * obj1 = 0 ;
171129 
171130  if (!PyArg_ParseTuple(args,(char *)"OO:RPRO_Load",&obj0,&obj1)) SWIG_fail;
171131  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Joints__RPRO, 0 | 0 );
171132  if (!SWIG_IsOK(res1)) {
171133  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RPRO_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Joints::RPRO *""'");
171134  }
171135  arg1 = reinterpret_cast< AnimatSim::Environment::Joints::RPRO * >(argp1);
171136  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
171137  if (!SWIG_IsOK(res2)) {
171138  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RPRO_Load" "', argument " "2"" of type '" "CStdXml &""'");
171139  }
171140  if (!argp2) {
171141  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RPRO_Load" "', argument " "2"" of type '" "CStdXml &""'");
171142  }
171143  arg2 = reinterpret_cast< CStdXml * >(argp2);
171144  {
171145  try {
171146  (arg1)->Load(*arg2);
171147  }
171148  catch(CStdErrorInfo oError)
171149  {
171150  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171151  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171152  PyErr_SetString(PyExc_IndexError, strError.c_str());
171153  SWIG_fail;
171154  }
171155  catch(...)
171156  {
171157  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171158  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171159  SWIG_fail;
171160  }
171161  }
171162  resultobj = SWIG_Py_Void();
171163  return resultobj;
171164 fail:
171165  return NULL;
171166 }
171167 
171168 
171169 SWIGINTERN PyObject *RPRO_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171170  PyObject *obj;
171171  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
171172  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Joints__RPRO, SWIG_NewClientData(obj));
171173  return SWIG_Py_Void();
171174 }
171175 
171176 SWIGINTERN PyObject *_wrap_new_ContactSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171177  PyObject *resultobj = 0;
171179 
171180  if (!PyArg_ParseTuple(args,(char *)":new_ContactSensor")) SWIG_fail;
171181  {
171182  try {
171184  }
171185  catch(CStdErrorInfo oError)
171186  {
171187  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171188  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171189  PyErr_SetString(PyExc_IndexError, strError.c_str());
171190  SWIG_fail;
171191  }
171192  catch(...)
171193  {
171194  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171195  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171196  SWIG_fail;
171197  }
171198  }
171199  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ContactSensor, SWIG_POINTER_NEW | 0 );
171200  return resultobj;
171201 fail:
171202  return NULL;
171203 }
171204 
171205 
171206 SWIGINTERN PyObject *_wrap_delete_ContactSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171207  PyObject *resultobj = 0;
171209  void *argp1 = 0 ;
171210  int res1 = 0 ;
171211  PyObject * obj0 = 0 ;
171212 
171213  if (!PyArg_ParseTuple(args,(char *)"O:delete_ContactSensor",&obj0)) SWIG_fail;
171214  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ContactSensor, SWIG_POINTER_DISOWN | 0 );
171215  if (!SWIG_IsOK(res1)) {
171216  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContactSensor" "', argument " "1"" of type '" "AnimatSim::Environment::ContactSensor *""'");
171217  }
171218  arg1 = reinterpret_cast< AnimatSim::Environment::ContactSensor * >(argp1);
171219  {
171220  try {
171221  delete arg1;
171222  }
171223  catch(CStdErrorInfo oError)
171224  {
171225  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171226  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171227  PyErr_SetString(PyExc_IndexError, strError.c_str());
171228  SWIG_fail;
171229  }
171230  catch(...)
171231  {
171232  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171233  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171234  SWIG_fail;
171235  }
171236  }
171237  resultobj = SWIG_Py_Void();
171238  return resultobj;
171239 fail:
171240  return NULL;
171241 }
171242 
171243 
171244 SWIGINTERN PyObject *_wrap_ContactSensor_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171245  PyObject *resultobj = 0;
171247  void *argp1 = 0 ;
171248  int res1 = 0 ;
171249  PyObject * obj0 = 0 ;
171251 
171252  if (!PyArg_ParseTuple(args,(char *)"O:ContactSensor_CastToDerived",&obj0)) SWIG_fail;
171253  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
171254  if (!SWIG_IsOK(res1)) {
171255  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactSensor_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
171256  }
171257  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
171258  {
171259  try {
171260  result = (AnimatSim::Environment::ContactSensor *)AnimatSim::Environment::ContactSensor::CastToDerived(arg1);
171261  }
171262  catch(CStdErrorInfo oError)
171263  {
171264  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171265  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171266  PyErr_SetString(PyExc_IndexError, strError.c_str());
171267  SWIG_fail;
171268  }
171269  catch(...)
171270  {
171271  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171272  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171273  SWIG_fail;
171274  }
171275  }
171276  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
171277  return resultobj;
171278 fail:
171279  return NULL;
171280 }
171281 
171282 
171283 SWIGINTERN PyObject *_wrap_ContactSensor_FieldGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171284  PyObject *resultobj = 0;
171286  void *argp1 = 0 ;
171287  int res1 = 0 ;
171288  PyObject * obj0 = 0 ;
171289  Gain *result = 0 ;
171290 
171291  if (!PyArg_ParseTuple(args,(char *)"O:ContactSensor_FieldGain",&obj0)) SWIG_fail;
171292  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
171293  if (!SWIG_IsOK(res1)) {
171294  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactSensor_FieldGain" "', argument " "1"" of type '" "AnimatSim::Environment::ContactSensor *""'");
171295  }
171296  arg1 = reinterpret_cast< AnimatSim::Environment::ContactSensor * >(argp1);
171297  {
171298  try {
171299  result = (Gain *)(arg1)->FieldGain();
171300  }
171301  catch(CStdErrorInfo oError)
171302  {
171303  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171304  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171305  PyErr_SetString(PyExc_IndexError, strError.c_str());
171306  SWIG_fail;
171307  }
171308  catch(...)
171309  {
171310  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171311  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171312  SWIG_fail;
171313  }
171314  }
171315  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gain, 0 | 0 );
171316  return resultobj;
171317 fail:
171318  return NULL;
171319 }
171320 
171321 
171322 SWIGINTERN PyObject *_wrap_ContactSensor_CurrentGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171323  PyObject *resultobj = 0;
171325  void *argp1 = 0 ;
171326  int res1 = 0 ;
171327  PyObject * obj0 = 0 ;
171328  Gain *result = 0 ;
171329 
171330  if (!PyArg_ParseTuple(args,(char *)"O:ContactSensor_CurrentGain",&obj0)) SWIG_fail;
171331  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
171332  if (!SWIG_IsOK(res1)) {
171333  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactSensor_CurrentGain" "', argument " "1"" of type '" "AnimatSim::Environment::ContactSensor *""'");
171334  }
171335  arg1 = reinterpret_cast< AnimatSim::Environment::ContactSensor * >(argp1);
171336  {
171337  try {
171338  result = (Gain *)(arg1)->CurrentGain();
171339  }
171340  catch(CStdErrorInfo oError)
171341  {
171342  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171343  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171344  PyErr_SetString(PyExc_IndexError, strError.c_str());
171345  SWIG_fail;
171346  }
171347  catch(...)
171348  {
171349  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171350  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171351  SWIG_fail;
171352  }
171353  }
171354  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gain, 0 | 0 );
171355  return resultobj;
171356 fail:
171357  return NULL;
171358 }
171359 
171360 
171361 SWIGINTERN PyObject *_wrap_ContactSensor_GetReceptiveField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171362  PyObject *resultobj = 0;
171364  int arg2 ;
171365  void *argp1 = 0 ;
171366  int res1 = 0 ;
171367  int val2 ;
171368  int ecode2 = 0 ;
171369  PyObject * obj0 = 0 ;
171370  PyObject * obj1 = 0 ;
171371  ReceptiveField *result = 0 ;
171372 
171373  if (!PyArg_ParseTuple(args,(char *)"OO:ContactSensor_GetReceptiveField",&obj0,&obj1)) SWIG_fail;
171374  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
171375  if (!SWIG_IsOK(res1)) {
171376  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactSensor_GetReceptiveField" "', argument " "1"" of type '" "AnimatSim::Environment::ContactSensor *""'");
171377  }
171378  arg1 = reinterpret_cast< AnimatSim::Environment::ContactSensor * >(argp1);
171379  ecode2 = SWIG_AsVal_int(obj1, &val2);
171380  if (!SWIG_IsOK(ecode2)) {
171381  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ContactSensor_GetReceptiveField" "', argument " "2"" of type '" "int""'");
171382  }
171383  arg2 = static_cast< int >(val2);
171384  {
171385  try {
171386  result = (ReceptiveField *)(arg1)->GetReceptiveField(arg2);
171387  }
171388  catch(CStdErrorInfo oError)
171389  {
171390  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171391  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171392  PyErr_SetString(PyExc_IndexError, strError.c_str());
171393  SWIG_fail;
171394  }
171395  catch(...)
171396  {
171397  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171398  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171399  SWIG_fail;
171400  }
171401  }
171402  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ReceptiveField, 0 | 0 );
171403  return resultobj;
171404 fail:
171405  return NULL;
171406 }
171407 
171408 
171409 SWIGINTERN PyObject *_wrap_ContactSensor_FindReceptiveField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171410  PyObject *resultobj = 0;
171412  float arg2 ;
171413  float arg3 ;
171414  float arg4 ;
171415  int *arg5 = 0 ;
171416  void *argp1 = 0 ;
171417  int res1 = 0 ;
171418  float val2 ;
171419  int ecode2 = 0 ;
171420  float val3 ;
171421  int ecode3 = 0 ;
171422  float val4 ;
171423  int ecode4 = 0 ;
171424  void *argp5 = 0 ;
171425  int res5 = 0 ;
171426  PyObject * obj0 = 0 ;
171427  PyObject * obj1 = 0 ;
171428  PyObject * obj2 = 0 ;
171429  PyObject * obj3 = 0 ;
171430  PyObject * obj4 = 0 ;
171431  bool result;
171432 
171433  if (!PyArg_ParseTuple(args,(char *)"OOOOO:ContactSensor_FindReceptiveField",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
171434  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
171435  if (!SWIG_IsOK(res1)) {
171436  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactSensor_FindReceptiveField" "', argument " "1"" of type '" "AnimatSim::Environment::ContactSensor *""'");
171437  }
171438  arg1 = reinterpret_cast< AnimatSim::Environment::ContactSensor * >(argp1);
171439  ecode2 = SWIG_AsVal_float(obj1, &val2);
171440  if (!SWIG_IsOK(ecode2)) {
171441  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ContactSensor_FindReceptiveField" "', argument " "2"" of type '" "float""'");
171442  }
171443  arg2 = static_cast< float >(val2);
171444  ecode3 = SWIG_AsVal_float(obj2, &val3);
171445  if (!SWIG_IsOK(ecode3)) {
171446  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ContactSensor_FindReceptiveField" "', argument " "3"" of type '" "float""'");
171447  }
171448  arg3 = static_cast< float >(val3);
171449  ecode4 = SWIG_AsVal_float(obj3, &val4);
171450  if (!SWIG_IsOK(ecode4)) {
171451  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ContactSensor_FindReceptiveField" "', argument " "4"" of type '" "float""'");
171452  }
171453  arg4 = static_cast< float >(val4);
171454  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 );
171455  if (!SWIG_IsOK(res5)) {
171456  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ContactSensor_FindReceptiveField" "', argument " "5"" of type '" "int &""'");
171457  }
171458  if (!argp5) {
171459  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactSensor_FindReceptiveField" "', argument " "5"" of type '" "int &""'");
171460  }
171461  arg5 = reinterpret_cast< int * >(argp5);
171462  {
171463  try {
171464  result = (bool)(arg1)->FindReceptiveField(arg2,arg3,arg4,*arg5);
171465  }
171466  catch(CStdErrorInfo oError)
171467  {
171468  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171469  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171470  PyErr_SetString(PyExc_IndexError, strError.c_str());
171471  SWIG_fail;
171472  }
171473  catch(...)
171474  {
171475  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171476  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171477  SWIG_fail;
171478  }
171479  }
171480  resultobj = SWIG_From_bool(static_cast< bool >(result));
171481  return resultobj;
171482 fail:
171483  return NULL;
171484 }
171485 
171486 
171487 SWIGINTERN PyObject *_wrap_ContactSensor_FindClosestReceptiveField(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171488  PyObject *resultobj = 0;
171490  float arg2 ;
171491  float arg3 ;
171492  float arg4 ;
171493  void *argp1 = 0 ;
171494  int res1 = 0 ;
171495  float val2 ;
171496  int ecode2 = 0 ;
171497  float val3 ;
171498  int ecode3 = 0 ;
171499  float val4 ;
171500  int ecode4 = 0 ;
171501  PyObject * obj0 = 0 ;
171502  PyObject * obj1 = 0 ;
171503  PyObject * obj2 = 0 ;
171504  PyObject * obj3 = 0 ;
171505  int result;
171506 
171507  if (!PyArg_ParseTuple(args,(char *)"OOOO:ContactSensor_FindClosestReceptiveField",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
171508  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
171509  if (!SWIG_IsOK(res1)) {
171510  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactSensor_FindClosestReceptiveField" "', argument " "1"" of type '" "AnimatSim::Environment::ContactSensor *""'");
171511  }
171512  arg1 = reinterpret_cast< AnimatSim::Environment::ContactSensor * >(argp1);
171513  ecode2 = SWIG_AsVal_float(obj1, &val2);
171514  if (!SWIG_IsOK(ecode2)) {
171515  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ContactSensor_FindClosestReceptiveField" "', argument " "2"" of type '" "float""'");
171516  }
171517  arg2 = static_cast< float >(val2);
171518  ecode3 = SWIG_AsVal_float(obj2, &val3);
171519  if (!SWIG_IsOK(ecode3)) {
171520  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ContactSensor_FindClosestReceptiveField" "', argument " "3"" of type '" "float""'");
171521  }
171522  arg3 = static_cast< float >(val3);
171523  ecode4 = SWIG_AsVal_float(obj3, &val4);
171524  if (!SWIG_IsOK(ecode4)) {
171525  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ContactSensor_FindClosestReceptiveField" "', argument " "4"" of type '" "float""'");
171526  }
171527  arg4 = static_cast< float >(val4);
171528  {
171529  try {
171530  result = (int)(arg1)->FindClosestReceptiveField(arg2,arg3,arg4);
171531  }
171532  catch(CStdErrorInfo oError)
171533  {
171534  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171535  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171536  PyErr_SetString(PyExc_IndexError, strError.c_str());
171537  SWIG_fail;
171538  }
171539  catch(...)
171540  {
171541  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171542  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171543  SWIG_fail;
171544  }
171545  }
171546  resultobj = SWIG_From_int(static_cast< int >(result));
171547  return resultobj;
171548 fail:
171549  return NULL;
171550 }
171551 
171552 
171553 SWIGINTERN PyObject *_wrap_ContactSensor_FinishedAddingVertices(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171554  PyObject *resultobj = 0;
171556  void *argp1 = 0 ;
171557  int res1 = 0 ;
171558  PyObject * obj0 = 0 ;
171559 
171560  if (!PyArg_ParseTuple(args,(char *)"O:ContactSensor_FinishedAddingVertices",&obj0)) SWIG_fail;
171561  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
171562  if (!SWIG_IsOK(res1)) {
171563  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactSensor_FinishedAddingVertices" "', argument " "1"" of type '" "AnimatSim::Environment::ContactSensor *""'");
171564  }
171565  arg1 = reinterpret_cast< AnimatSim::Environment::ContactSensor * >(argp1);
171566  {
171567  try {
171568  (arg1)->FinishedAddingVertices();
171569  }
171570  catch(CStdErrorInfo oError)
171571  {
171572  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171573  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171574  PyErr_SetString(PyExc_IndexError, strError.c_str());
171575  SWIG_fail;
171576  }
171577  catch(...)
171578  {
171579  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171580  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171581  SWIG_fail;
171582  }
171583  }
171584  resultobj = SWIG_Py_Void();
171585  return resultobj;
171586 fail:
171587  return NULL;
171588 }
171589 
171590 
171591 SWIGINTERN PyObject *_wrap_ContactSensor_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171592  PyObject *resultobj = 0;
171594  std::string *arg2 = 0 ;
171595  std::string *arg3 = 0 ;
171596  bool arg4 ;
171597  bool arg5 ;
171598  void *argp1 = 0 ;
171599  int res1 = 0 ;
171600  int res2 = SWIG_OLDOBJ ;
171601  int res3 = SWIG_OLDOBJ ;
171602  bool val4 ;
171603  int ecode4 = 0 ;
171604  bool val5 ;
171605  int ecode5 = 0 ;
171606  PyObject * obj0 = 0 ;
171607  PyObject * obj1 = 0 ;
171608  PyObject * obj2 = 0 ;
171609  PyObject * obj3 = 0 ;
171610  PyObject * obj4 = 0 ;
171611  bool result;
171612 
171613  if (!PyArg_ParseTuple(args,(char *)"OOOOO:ContactSensor_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
171614  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
171615  if (!SWIG_IsOK(res1)) {
171616  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactSensor_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::ContactSensor *""'");
171617  }
171618  arg1 = reinterpret_cast< AnimatSim::Environment::ContactSensor * >(argp1);
171619  {
171620  std::string *ptr = (std::string *)0;
171621  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
171622  if (!SWIG_IsOK(res2)) {
171623  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContactSensor_AddItem" "', argument " "2"" of type '" "std::string const &""'");
171624  }
171625  if (!ptr) {
171626  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactSensor_AddItem" "', argument " "2"" of type '" "std::string const &""'");
171627  }
171628  arg2 = ptr;
171629  }
171630  {
171631  std::string *ptr = (std::string *)0;
171632  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
171633  if (!SWIG_IsOK(res3)) {
171634  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ContactSensor_AddItem" "', argument " "3"" of type '" "std::string const &""'");
171635  }
171636  if (!ptr) {
171637  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactSensor_AddItem" "', argument " "3"" of type '" "std::string const &""'");
171638  }
171639  arg3 = ptr;
171640  }
171641  ecode4 = SWIG_AsVal_bool(obj3, &val4);
171642  if (!SWIG_IsOK(ecode4)) {
171643  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ContactSensor_AddItem" "', argument " "4"" of type '" "bool""'");
171644  }
171645  arg4 = static_cast< bool >(val4);
171646  ecode5 = SWIG_AsVal_bool(obj4, &val5);
171647  if (!SWIG_IsOK(ecode5)) {
171648  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ContactSensor_AddItem" "', argument " "5"" of type '" "bool""'");
171649  }
171650  arg5 = static_cast< bool >(val5);
171651  {
171652  try {
171653  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
171654  }
171655  catch(CStdErrorInfo oError)
171656  {
171657  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171658  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171659  PyErr_SetString(PyExc_IndexError, strError.c_str());
171660  SWIG_fail;
171661  }
171662  catch(...)
171663  {
171664  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171665  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171666  SWIG_fail;
171667  }
171668  }
171669  resultobj = SWIG_From_bool(static_cast< bool >(result));
171670  if (SWIG_IsNewObj(res2)) delete arg2;
171671  if (SWIG_IsNewObj(res3)) delete arg3;
171672  return resultobj;
171673 fail:
171674  if (SWIG_IsNewObj(res2)) delete arg2;
171675  if (SWIG_IsNewObj(res3)) delete arg3;
171676  return NULL;
171677 }
171678 
171679 
171680 SWIGINTERN PyObject *_wrap_ContactSensor_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171681  PyObject *resultobj = 0;
171683  std::string *arg2 = 0 ;
171684  std::string *arg3 = 0 ;
171685  bool arg4 ;
171686  void *argp1 = 0 ;
171687  int res1 = 0 ;
171688  int res2 = SWIG_OLDOBJ ;
171689  int res3 = SWIG_OLDOBJ ;
171690  bool val4 ;
171691  int ecode4 = 0 ;
171692  PyObject * obj0 = 0 ;
171693  PyObject * obj1 = 0 ;
171694  PyObject * obj2 = 0 ;
171695  PyObject * obj3 = 0 ;
171696  bool result;
171697 
171698  if (!PyArg_ParseTuple(args,(char *)"OOOO:ContactSensor_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
171699  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
171700  if (!SWIG_IsOK(res1)) {
171701  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactSensor_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::ContactSensor *""'");
171702  }
171703  arg1 = reinterpret_cast< AnimatSim::Environment::ContactSensor * >(argp1);
171704  {
171705  std::string *ptr = (std::string *)0;
171706  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
171707  if (!SWIG_IsOK(res2)) {
171708  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContactSensor_AddItem" "', argument " "2"" of type '" "std::string const &""'");
171709  }
171710  if (!ptr) {
171711  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactSensor_AddItem" "', argument " "2"" of type '" "std::string const &""'");
171712  }
171713  arg2 = ptr;
171714  }
171715  {
171716  std::string *ptr = (std::string *)0;
171717  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
171718  if (!SWIG_IsOK(res3)) {
171719  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ContactSensor_AddItem" "', argument " "3"" of type '" "std::string const &""'");
171720  }
171721  if (!ptr) {
171722  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactSensor_AddItem" "', argument " "3"" of type '" "std::string const &""'");
171723  }
171724  arg3 = ptr;
171725  }
171726  ecode4 = SWIG_AsVal_bool(obj3, &val4);
171727  if (!SWIG_IsOK(ecode4)) {
171728  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ContactSensor_AddItem" "', argument " "4"" of type '" "bool""'");
171729  }
171730  arg4 = static_cast< bool >(val4);
171731  {
171732  try {
171733  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
171734  }
171735  catch(CStdErrorInfo oError)
171736  {
171737  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171738  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171739  PyErr_SetString(PyExc_IndexError, strError.c_str());
171740  SWIG_fail;
171741  }
171742  catch(...)
171743  {
171744  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171745  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171746  SWIG_fail;
171747  }
171748  }
171749  resultobj = SWIG_From_bool(static_cast< bool >(result));
171750  if (SWIG_IsNewObj(res2)) delete arg2;
171751  if (SWIG_IsNewObj(res3)) delete arg3;
171752  return resultobj;
171753 fail:
171754  if (SWIG_IsNewObj(res2)) delete arg2;
171755  if (SWIG_IsNewObj(res3)) delete arg3;
171756  return NULL;
171757 }
171758 
171759 
171760 SWIGINTERN PyObject *_wrap_ContactSensor_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171761  PyObject *resultobj = 0;
171763  std::string *arg2 = 0 ;
171764  std::string *arg3 = 0 ;
171765  void *argp1 = 0 ;
171766  int res1 = 0 ;
171767  int res2 = SWIG_OLDOBJ ;
171768  int res3 = SWIG_OLDOBJ ;
171769  PyObject * obj0 = 0 ;
171770  PyObject * obj1 = 0 ;
171771  PyObject * obj2 = 0 ;
171772  bool result;
171773 
171774  if (!PyArg_ParseTuple(args,(char *)"OOO:ContactSensor_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
171775  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
171776  if (!SWIG_IsOK(res1)) {
171777  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactSensor_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::ContactSensor *""'");
171778  }
171779  arg1 = reinterpret_cast< AnimatSim::Environment::ContactSensor * >(argp1);
171780  {
171781  std::string *ptr = (std::string *)0;
171782  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
171783  if (!SWIG_IsOK(res2)) {
171784  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContactSensor_AddItem" "', argument " "2"" of type '" "std::string const &""'");
171785  }
171786  if (!ptr) {
171787  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactSensor_AddItem" "', argument " "2"" of type '" "std::string const &""'");
171788  }
171789  arg2 = ptr;
171790  }
171791  {
171792  std::string *ptr = (std::string *)0;
171793  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
171794  if (!SWIG_IsOK(res3)) {
171795  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ContactSensor_AddItem" "', argument " "3"" of type '" "std::string const &""'");
171796  }
171797  if (!ptr) {
171798  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactSensor_AddItem" "', argument " "3"" of type '" "std::string const &""'");
171799  }
171800  arg3 = ptr;
171801  }
171802  {
171803  try {
171804  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
171805  }
171806  catch(CStdErrorInfo oError)
171807  {
171808  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171809  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171810  PyErr_SetString(PyExc_IndexError, strError.c_str());
171811  SWIG_fail;
171812  }
171813  catch(...)
171814  {
171815  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171816  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171817  SWIG_fail;
171818  }
171819  }
171820  resultobj = SWIG_From_bool(static_cast< bool >(result));
171821  if (SWIG_IsNewObj(res2)) delete arg2;
171822  if (SWIG_IsNewObj(res3)) delete arg3;
171823  return resultobj;
171824 fail:
171825  if (SWIG_IsNewObj(res2)) delete arg2;
171826  if (SWIG_IsNewObj(res3)) delete arg3;
171827  return NULL;
171828 }
171829 
171830 
171831 SWIGINTERN PyObject *_wrap_ContactSensor_AddItem(PyObject *self, PyObject *args) {
171832  int argc;
171833  PyObject *argv[6];
171834  int ii;
171835 
171836  if (!PyTuple_Check(args)) SWIG_fail;
171837  argc = args ? (int)PyObject_Length(args) : 0;
171838  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
171839  argv[ii] = PyTuple_GET_ITEM(args,ii);
171840  }
171841  if (argc == 3) {
171842  int _v;
171843  void *vptr = 0;
171844  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0);
171845  _v = SWIG_CheckState(res);
171846  if (_v) {
171847  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
171848  _v = SWIG_CheckState(res);
171849  if (_v) {
171850  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
171851  _v = SWIG_CheckState(res);
171852  if (_v) {
171853  return _wrap_ContactSensor_AddItem__SWIG_2(self, args);
171854  }
171855  }
171856  }
171857  }
171858  if (argc == 4) {
171859  int _v;
171860  void *vptr = 0;
171861  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0);
171862  _v = SWIG_CheckState(res);
171863  if (_v) {
171864  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
171865  _v = SWIG_CheckState(res);
171866  if (_v) {
171867  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
171868  _v = SWIG_CheckState(res);
171869  if (_v) {
171870  {
171871  int res = SWIG_AsVal_bool(argv[3], NULL);
171872  _v = SWIG_CheckState(res);
171873  }
171874  if (_v) {
171875  return _wrap_ContactSensor_AddItem__SWIG_1(self, args);
171876  }
171877  }
171878  }
171879  }
171880  }
171881  if (argc == 5) {
171882  int _v;
171883  void *vptr = 0;
171884  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0);
171885  _v = SWIG_CheckState(res);
171886  if (_v) {
171887  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
171888  _v = SWIG_CheckState(res);
171889  if (_v) {
171890  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
171891  _v = SWIG_CheckState(res);
171892  if (_v) {
171893  {
171894  int res = SWIG_AsVal_bool(argv[3], NULL);
171895  _v = SWIG_CheckState(res);
171896  }
171897  if (_v) {
171898  {
171899  int res = SWIG_AsVal_bool(argv[4], NULL);
171900  _v = SWIG_CheckState(res);
171901  }
171902  if (_v) {
171903  return _wrap_ContactSensor_AddItem__SWIG_0(self, args);
171904  }
171905  }
171906  }
171907  }
171908  }
171909  }
171910 
171911 fail:
171912  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ContactSensor_AddItem'.\n"
171913  " Possible C/C++ prototypes are:\n"
171914  " AnimatSim::Environment::ContactSensor::AddItem(std::string const &,std::string const &,bool,bool)\n"
171915  " AnimatSim::Environment::ContactSensor::AddItem(std::string const &,std::string const &,bool)\n"
171916  " AnimatSim::Environment::ContactSensor::AddItem(std::string const &,std::string const &)\n");
171917  return 0;
171918 }
171919 
171920 
171921 SWIGINTERN PyObject *_wrap_ContactSensor_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
171922  PyObject *resultobj = 0;
171924  std::string *arg2 = 0 ;
171925  std::string *arg3 = 0 ;
171926  bool arg4 ;
171927  void *argp1 = 0 ;
171928  int res1 = 0 ;
171929  int res2 = SWIG_OLDOBJ ;
171930  int res3 = SWIG_OLDOBJ ;
171931  bool val4 ;
171932  int ecode4 = 0 ;
171933  PyObject * obj0 = 0 ;
171934  PyObject * obj1 = 0 ;
171935  PyObject * obj2 = 0 ;
171936  PyObject * obj3 = 0 ;
171937  bool result;
171938 
171939  if (!PyArg_ParseTuple(args,(char *)"OOOO:ContactSensor_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
171940  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
171941  if (!SWIG_IsOK(res1)) {
171942  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactSensor_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Environment::ContactSensor *""'");
171943  }
171944  arg1 = reinterpret_cast< AnimatSim::Environment::ContactSensor * >(argp1);
171945  {
171946  std::string *ptr = (std::string *)0;
171947  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
171948  if (!SWIG_IsOK(res2)) {
171949  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContactSensor_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
171950  }
171951  if (!ptr) {
171952  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactSensor_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
171953  }
171954  arg2 = ptr;
171955  }
171956  {
171957  std::string *ptr = (std::string *)0;
171958  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
171959  if (!SWIG_IsOK(res3)) {
171960  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ContactSensor_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
171961  }
171962  if (!ptr) {
171963  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactSensor_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
171964  }
171965  arg3 = ptr;
171966  }
171967  ecode4 = SWIG_AsVal_bool(obj3, &val4);
171968  if (!SWIG_IsOK(ecode4)) {
171969  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ContactSensor_RemoveItem" "', argument " "4"" of type '" "bool""'");
171970  }
171971  arg4 = static_cast< bool >(val4);
171972  {
171973  try {
171974  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
171975  }
171976  catch(CStdErrorInfo oError)
171977  {
171978  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171979  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
171980  PyErr_SetString(PyExc_IndexError, strError.c_str());
171981  SWIG_fail;
171982  }
171983  catch(...)
171984  {
171985  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
171986  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
171987  SWIG_fail;
171988  }
171989  }
171990  resultobj = SWIG_From_bool(static_cast< bool >(result));
171991  if (SWIG_IsNewObj(res2)) delete arg2;
171992  if (SWIG_IsNewObj(res3)) delete arg3;
171993  return resultobj;
171994 fail:
171995  if (SWIG_IsNewObj(res2)) delete arg2;
171996  if (SWIG_IsNewObj(res3)) delete arg3;
171997  return NULL;
171998 }
171999 
172000 
172001 SWIGINTERN PyObject *_wrap_ContactSensor_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172002  PyObject *resultobj = 0;
172004  std::string *arg2 = 0 ;
172005  std::string *arg3 = 0 ;
172006  void *argp1 = 0 ;
172007  int res1 = 0 ;
172008  int res2 = SWIG_OLDOBJ ;
172009  int res3 = SWIG_OLDOBJ ;
172010  PyObject * obj0 = 0 ;
172011  PyObject * obj1 = 0 ;
172012  PyObject * obj2 = 0 ;
172013  bool result;
172014 
172015  if (!PyArg_ParseTuple(args,(char *)"OOO:ContactSensor_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
172016  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
172017  if (!SWIG_IsOK(res1)) {
172018  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactSensor_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Environment::ContactSensor *""'");
172019  }
172020  arg1 = reinterpret_cast< AnimatSim::Environment::ContactSensor * >(argp1);
172021  {
172022  std::string *ptr = (std::string *)0;
172023  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
172024  if (!SWIG_IsOK(res2)) {
172025  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContactSensor_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
172026  }
172027  if (!ptr) {
172028  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactSensor_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
172029  }
172030  arg2 = ptr;
172031  }
172032  {
172033  std::string *ptr = (std::string *)0;
172034  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
172035  if (!SWIG_IsOK(res3)) {
172036  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ContactSensor_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
172037  }
172038  if (!ptr) {
172039  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactSensor_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
172040  }
172041  arg3 = ptr;
172042  }
172043  {
172044  try {
172045  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
172046  }
172047  catch(CStdErrorInfo oError)
172048  {
172049  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172050  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172051  PyErr_SetString(PyExc_IndexError, strError.c_str());
172052  SWIG_fail;
172053  }
172054  catch(...)
172055  {
172056  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172057  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172058  SWIG_fail;
172059  }
172060  }
172061  resultobj = SWIG_From_bool(static_cast< bool >(result));
172062  if (SWIG_IsNewObj(res2)) delete arg2;
172063  if (SWIG_IsNewObj(res3)) delete arg3;
172064  return resultobj;
172065 fail:
172066  if (SWIG_IsNewObj(res2)) delete arg2;
172067  if (SWIG_IsNewObj(res3)) delete arg3;
172068  return NULL;
172069 }
172070 
172071 
172072 SWIGINTERN PyObject *_wrap_ContactSensor_RemoveItem(PyObject *self, PyObject *args) {
172073  int argc;
172074  PyObject *argv[5];
172075  int ii;
172076 
172077  if (!PyTuple_Check(args)) SWIG_fail;
172078  argc = args ? (int)PyObject_Length(args) : 0;
172079  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
172080  argv[ii] = PyTuple_GET_ITEM(args,ii);
172081  }
172082  if (argc == 3) {
172083  int _v;
172084  void *vptr = 0;
172085  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0);
172086  _v = SWIG_CheckState(res);
172087  if (_v) {
172088  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
172089  _v = SWIG_CheckState(res);
172090  if (_v) {
172091  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
172092  _v = SWIG_CheckState(res);
172093  if (_v) {
172094  return _wrap_ContactSensor_RemoveItem__SWIG_1(self, args);
172095  }
172096  }
172097  }
172098  }
172099  if (argc == 4) {
172100  int _v;
172101  void *vptr = 0;
172102  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0);
172103  _v = SWIG_CheckState(res);
172104  if (_v) {
172105  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
172106  _v = SWIG_CheckState(res);
172107  if (_v) {
172108  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
172109  _v = SWIG_CheckState(res);
172110  if (_v) {
172111  {
172112  int res = SWIG_AsVal_bool(argv[3], NULL);
172113  _v = SWIG_CheckState(res);
172114  }
172115  if (_v) {
172116  return _wrap_ContactSensor_RemoveItem__SWIG_0(self, args);
172117  }
172118  }
172119  }
172120  }
172121  }
172122 
172123 fail:
172124  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ContactSensor_RemoveItem'.\n"
172125  " Possible C/C++ prototypes are:\n"
172126  " AnimatSim::Environment::ContactSensor::RemoveItem(std::string const &,std::string const &,bool)\n"
172127  " AnimatSim::Environment::ContactSensor::RemoveItem(std::string const &,std::string const &)\n");
172128  return 0;
172129 }
172130 
172131 
172132 SWIGINTERN PyObject *_wrap_ContactSensor_ClearCurrents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172133  PyObject *resultobj = 0;
172135  void *argp1 = 0 ;
172136  int res1 = 0 ;
172137  PyObject * obj0 = 0 ;
172138 
172139  if (!PyArg_ParseTuple(args,(char *)"O:ContactSensor_ClearCurrents",&obj0)) SWIG_fail;
172140  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
172141  if (!SWIG_IsOK(res1)) {
172142  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactSensor_ClearCurrents" "', argument " "1"" of type '" "AnimatSim::Environment::ContactSensor *""'");
172143  }
172144  arg1 = reinterpret_cast< AnimatSim::Environment::ContactSensor * >(argp1);
172145  {
172146  try {
172147  (arg1)->ClearCurrents();
172148  }
172149  catch(CStdErrorInfo oError)
172150  {
172151  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172152  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172153  PyErr_SetString(PyExc_IndexError, strError.c_str());
172154  SWIG_fail;
172155  }
172156  catch(...)
172157  {
172158  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172159  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172160  SWIG_fail;
172161  }
172162  }
172163  resultobj = SWIG_Py_Void();
172164  return resultobj;
172165 fail:
172166  return NULL;
172167 }
172168 
172169 
172170 SWIGINTERN PyObject *_wrap_ContactSensor_ProcessContact(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172171  PyObject *resultobj = 0;
172173  float *arg2 ;
172174  float arg3 ;
172175  void *argp1 = 0 ;
172176  int res1 = 0 ;
172177  void *argp2 = 0 ;
172178  int res2 = 0 ;
172179  float val3 ;
172180  int ecode3 = 0 ;
172181  PyObject * obj0 = 0 ;
172182  PyObject * obj1 = 0 ;
172183  PyObject * obj2 = 0 ;
172184 
172185  if (!PyArg_ParseTuple(args,(char *)"OOO:ContactSensor_ProcessContact",&obj0,&obj1,&obj2)) SWIG_fail;
172186  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
172187  if (!SWIG_IsOK(res1)) {
172188  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactSensor_ProcessContact" "', argument " "1"" of type '" "AnimatSim::Environment::ContactSensor *""'");
172189  }
172190  arg1 = reinterpret_cast< AnimatSim::Environment::ContactSensor * >(argp1);
172191  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 );
172192  if (!SWIG_IsOK(res2)) {
172193  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContactSensor_ProcessContact" "', argument " "2"" of type '" "float [3]""'");
172194  }
172195  arg2 = reinterpret_cast< float * >(argp2);
172196  ecode3 = SWIG_AsVal_float(obj2, &val3);
172197  if (!SWIG_IsOK(ecode3)) {
172198  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ContactSensor_ProcessContact" "', argument " "3"" of type '" "float""'");
172199  }
172200  arg3 = static_cast< float >(val3);
172201  {
172202  try {
172203  (arg1)->ProcessContact(arg2,arg3);
172204  }
172205  catch(CStdErrorInfo oError)
172206  {
172207  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172208  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172209  PyErr_SetString(PyExc_IndexError, strError.c_str());
172210  SWIG_fail;
172211  }
172212  catch(...)
172213  {
172214  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172215  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172216  SWIG_fail;
172217  }
172218  }
172219  resultobj = SWIG_Py_Void();
172220  return resultobj;
172221 fail:
172222  return NULL;
172223 }
172224 
172225 
172226 SWIGINTERN PyObject *_wrap_ContactSensor_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172227  PyObject *resultobj = 0;
172229  CStdXml *arg2 = 0 ;
172230  void *argp1 = 0 ;
172231  int res1 = 0 ;
172232  void *argp2 = 0 ;
172233  int res2 = 0 ;
172234  PyObject * obj0 = 0 ;
172235  PyObject * obj1 = 0 ;
172236 
172237  if (!PyArg_ParseTuple(args,(char *)"OO:ContactSensor_Load",&obj0,&obj1)) SWIG_fail;
172238  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
172239  if (!SWIG_IsOK(res1)) {
172240  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContactSensor_Load" "', argument " "1"" of type '" "AnimatSim::Environment::ContactSensor *""'");
172241  }
172242  arg1 = reinterpret_cast< AnimatSim::Environment::ContactSensor * >(argp1);
172243  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
172244  if (!SWIG_IsOK(res2)) {
172245  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContactSensor_Load" "', argument " "2"" of type '" "CStdXml &""'");
172246  }
172247  if (!argp2) {
172248  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ContactSensor_Load" "', argument " "2"" of type '" "CStdXml &""'");
172249  }
172250  arg2 = reinterpret_cast< CStdXml * >(argp2);
172251  {
172252  try {
172253  (arg1)->Load(*arg2);
172254  }
172255  catch(CStdErrorInfo oError)
172256  {
172257  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172258  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172259  PyErr_SetString(PyExc_IndexError, strError.c_str());
172260  SWIG_fail;
172261  }
172262  catch(...)
172263  {
172264  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172265  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172266  SWIG_fail;
172267  }
172268  }
172269  resultobj = SWIG_Py_Void();
172270  return resultobj;
172271 fail:
172272  return NULL;
172273 }
172274 
172275 
172276 SWIGINTERN PyObject *ContactSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172277  PyObject *obj;
172278  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
172279  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__ContactSensor, SWIG_NewClientData(obj));
172280  return SWIG_Py_Void();
172281 }
172282 
172283 SWIGINTERN PyObject *_wrap_new_Odor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172284  PyObject *resultobj = 0;
172285  RigidBody *arg1 = (RigidBody *) 0 ;
172286  void *argp1 = 0 ;
172287  int res1 = 0 ;
172288  PyObject * obj0 = 0 ;
172289  AnimatSim::Environment::Odor *result = 0 ;
172290 
172291  if (!PyArg_ParseTuple(args,(char *)"O:new_Odor",&obj0)) SWIG_fail;
172292  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RigidBody, 0 | 0 );
172293  if (!SWIG_IsOK(res1)) {
172294  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Odor" "', argument " "1"" of type '" "RigidBody *""'");
172295  }
172296  arg1 = reinterpret_cast< RigidBody * >(argp1);
172297  {
172298  try {
172300  }
172301  catch(CStdErrorInfo oError)
172302  {
172303  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172304  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172305  PyErr_SetString(PyExc_IndexError, strError.c_str());
172306  SWIG_fail;
172307  }
172308  catch(...)
172309  {
172310  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172311  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172312  SWIG_fail;
172313  }
172314  }
172315  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Odor, SWIG_POINTER_NEW | 0 );
172316  return resultobj;
172317 fail:
172318  return NULL;
172319 }
172320 
172321 
172322 SWIGINTERN PyObject *_wrap_delete_Odor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172323  PyObject *resultobj = 0;
172325  void *argp1 = 0 ;
172326  int res1 = 0 ;
172327  PyObject * obj0 = 0 ;
172328 
172329  if (!PyArg_ParseTuple(args,(char *)"O:delete_Odor",&obj0)) SWIG_fail;
172330  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Odor, SWIG_POINTER_DISOWN | 0 );
172331  if (!SWIG_IsOK(res1)) {
172332  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Odor" "', argument " "1"" of type '" "AnimatSim::Environment::Odor *""'");
172333  }
172334  arg1 = reinterpret_cast< AnimatSim::Environment::Odor * >(argp1);
172335  {
172336  try {
172337  delete arg1;
172338  }
172339  catch(CStdErrorInfo oError)
172340  {
172341  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172342  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172343  PyErr_SetString(PyExc_IndexError, strError.c_str());
172344  SWIG_fail;
172345  }
172346  catch(...)
172347  {
172348  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172349  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172350  SWIG_fail;
172351  }
172352  }
172353  resultobj = SWIG_Py_Void();
172354  return resultobj;
172355 fail:
172356  return NULL;
172357 }
172358 
172359 
172360 SWIGINTERN PyObject *_wrap_Odor_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172361  PyObject *resultobj = 0;
172363  void *argp1 = 0 ;
172364  int res1 = 0 ;
172365  PyObject * obj0 = 0 ;
172366  AnimatSim::Environment::Odor *result = 0 ;
172367 
172368  if (!PyArg_ParseTuple(args,(char *)"O:Odor_CastToDerived",&obj0)) SWIG_fail;
172369  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
172370  if (!SWIG_IsOK(res1)) {
172371  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Odor_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
172372  }
172373  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
172374  {
172375  try {
172376  result = (AnimatSim::Environment::Odor *)AnimatSim::Environment::Odor::CastToDerived(arg1);
172377  }
172378  catch(CStdErrorInfo oError)
172379  {
172380  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172381  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172382  PyErr_SetString(PyExc_IndexError, strError.c_str());
172383  SWIG_fail;
172384  }
172385  catch(...)
172386  {
172387  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172388  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172389  SWIG_fail;
172390  }
172391  }
172392  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
172393  return resultobj;
172394 fail:
172395  return NULL;
172396 }
172397 
172398 
172399 SWIGINTERN PyObject *_wrap_Odor_Enabled__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172400  PyObject *resultobj = 0;
172402  bool arg2 ;
172403  void *argp1 = 0 ;
172404  int res1 = 0 ;
172405  bool val2 ;
172406  int ecode2 = 0 ;
172407  PyObject * obj0 = 0 ;
172408  PyObject * obj1 = 0 ;
172409 
172410  if (!PyArg_ParseTuple(args,(char *)"OO:Odor_Enabled",&obj0,&obj1)) SWIG_fail;
172411  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
172412  if (!SWIG_IsOK(res1)) {
172413  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Odor_Enabled" "', argument " "1"" of type '" "AnimatSim::Environment::Odor *""'");
172414  }
172415  arg1 = reinterpret_cast< AnimatSim::Environment::Odor * >(argp1);
172416  ecode2 = SWIG_AsVal_bool(obj1, &val2);
172417  if (!SWIG_IsOK(ecode2)) {
172418  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Odor_Enabled" "', argument " "2"" of type '" "bool""'");
172419  }
172420  arg2 = static_cast< bool >(val2);
172421  {
172422  try {
172423  (arg1)->Enabled(arg2);
172424  }
172425  catch(CStdErrorInfo oError)
172426  {
172427  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172428  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172429  PyErr_SetString(PyExc_IndexError, strError.c_str());
172430  SWIG_fail;
172431  }
172432  catch(...)
172433  {
172434  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172435  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172436  SWIG_fail;
172437  }
172438  }
172439  resultobj = SWIG_Py_Void();
172440  return resultobj;
172441 fail:
172442  return NULL;
172443 }
172444 
172445 
172446 SWIGINTERN PyObject *_wrap_Odor_Enabled__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172447  PyObject *resultobj = 0;
172449  void *argp1 = 0 ;
172450  int res1 = 0 ;
172451  PyObject * obj0 = 0 ;
172452  bool result;
172453 
172454  if (!PyArg_ParseTuple(args,(char *)"O:Odor_Enabled",&obj0)) SWIG_fail;
172455  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
172456  if (!SWIG_IsOK(res1)) {
172457  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Odor_Enabled" "', argument " "1"" of type '" "AnimatSim::Environment::Odor *""'");
172458  }
172459  arg1 = reinterpret_cast< AnimatSim::Environment::Odor * >(argp1);
172460  {
172461  try {
172462  result = (bool)(arg1)->Enabled();
172463  }
172464  catch(CStdErrorInfo oError)
172465  {
172466  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172467  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172468  PyErr_SetString(PyExc_IndexError, strError.c_str());
172469  SWIG_fail;
172470  }
172471  catch(...)
172472  {
172473  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172474  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172475  SWIG_fail;
172476  }
172477  }
172478  resultobj = SWIG_From_bool(static_cast< bool >(result));
172479  return resultobj;
172480 fail:
172481  return NULL;
172482 }
172483 
172484 
172485 SWIGINTERN PyObject *_wrap_Odor_Enabled(PyObject *self, PyObject *args) {
172486  int argc;
172487  PyObject *argv[3];
172488  int ii;
172489 
172490  if (!PyTuple_Check(args)) SWIG_fail;
172491  argc = args ? (int)PyObject_Length(args) : 0;
172492  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
172493  argv[ii] = PyTuple_GET_ITEM(args,ii);
172494  }
172495  if (argc == 1) {
172496  int _v;
172497  void *vptr = 0;
172498  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Odor, 0);
172499  _v = SWIG_CheckState(res);
172500  if (_v) {
172501  return _wrap_Odor_Enabled__SWIG_1(self, args);
172502  }
172503  }
172504  if (argc == 2) {
172505  int _v;
172506  void *vptr = 0;
172507  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Odor, 0);
172508  _v = SWIG_CheckState(res);
172509  if (_v) {
172510  {
172511  int res = SWIG_AsVal_bool(argv[1], NULL);
172512  _v = SWIG_CheckState(res);
172513  }
172514  if (_v) {
172515  return _wrap_Odor_Enabled__SWIG_0(self, args);
172516  }
172517  }
172518  }
172519 
172520 fail:
172521  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Odor_Enabled'.\n"
172522  " Possible C/C++ prototypes are:\n"
172523  " AnimatSim::Environment::Odor::Enabled(bool)\n"
172524  " AnimatSim::Environment::Odor::Enabled()\n");
172525  return 0;
172526 }
172527 
172528 
172529 SWIGINTERN PyObject *_wrap_Odor_SetOdorType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172530  PyObject *resultobj = 0;
172532  std::string arg2 ;
172533  void *argp1 = 0 ;
172534  int res1 = 0 ;
172535  PyObject * obj0 = 0 ;
172536  PyObject * obj1 = 0 ;
172537 
172538  if (!PyArg_ParseTuple(args,(char *)"OO:Odor_SetOdorType",&obj0,&obj1)) SWIG_fail;
172539  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
172540  if (!SWIG_IsOK(res1)) {
172541  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Odor_SetOdorType" "', argument " "1"" of type '" "AnimatSim::Environment::Odor *""'");
172542  }
172543  arg1 = reinterpret_cast< AnimatSim::Environment::Odor * >(argp1);
172544  {
172545  std::string *ptr = (std::string *)0;
172546  int res = SWIG_AsPtr_std_string(obj1, &ptr);
172547  if (!SWIG_IsOK(res) || !ptr) {
172548  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Odor_SetOdorType" "', argument " "2"" of type '" "std::string""'");
172549  }
172550  arg2 = *ptr;
172551  if (SWIG_IsNewObj(res)) delete ptr;
172552  }
172553  {
172554  try {
172555  (arg1)->SetOdorType(arg2);
172556  }
172557  catch(CStdErrorInfo oError)
172558  {
172559  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172560  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172561  PyErr_SetString(PyExc_IndexError, strError.c_str());
172562  SWIG_fail;
172563  }
172564  catch(...)
172565  {
172566  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172567  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172568  SWIG_fail;
172569  }
172570  }
172571  resultobj = SWIG_Py_Void();
172572  return resultobj;
172573 fail:
172574  return NULL;
172575 }
172576 
172577 
172578 SWIGINTERN PyObject *_wrap_Odor_GetOdorType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172579  PyObject *resultobj = 0;
172581  void *argp1 = 0 ;
172582  int res1 = 0 ;
172583  PyObject * obj0 = 0 ;
172584  OdorType *result = 0 ;
172585 
172586  if (!PyArg_ParseTuple(args,(char *)"O:Odor_GetOdorType",&obj0)) SWIG_fail;
172587  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
172588  if (!SWIG_IsOK(res1)) {
172589  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Odor_GetOdorType" "', argument " "1"" of type '" "AnimatSim::Environment::Odor *""'");
172590  }
172591  arg1 = reinterpret_cast< AnimatSim::Environment::Odor * >(argp1);
172592  {
172593  try {
172594  result = (OdorType *)(arg1)->GetOdorType();
172595  }
172596  catch(CStdErrorInfo oError)
172597  {
172598  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172599  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172600  PyErr_SetString(PyExc_IndexError, strError.c_str());
172601  SWIG_fail;
172602  }
172603  catch(...)
172604  {
172605  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172606  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172607  SWIG_fail;
172608  }
172609  }
172610  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OdorType, 0 | 0 );
172611  return resultobj;
172612 fail:
172613  return NULL;
172614 }
172615 
172616 
172617 SWIGINTERN PyObject *_wrap_Odor_Quantity__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172618  PyObject *resultobj = 0;
172620  void *argp1 = 0 ;
172621  int res1 = 0 ;
172622  PyObject * obj0 = 0 ;
172623  float result;
172624 
172625  if (!PyArg_ParseTuple(args,(char *)"O:Odor_Quantity",&obj0)) SWIG_fail;
172626  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
172627  if (!SWIG_IsOK(res1)) {
172628  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Odor_Quantity" "', argument " "1"" of type '" "AnimatSim::Environment::Odor *""'");
172629  }
172630  arg1 = reinterpret_cast< AnimatSim::Environment::Odor * >(argp1);
172631  {
172632  try {
172633  result = (float)(arg1)->Quantity();
172634  }
172635  catch(CStdErrorInfo oError)
172636  {
172637  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172638  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172639  PyErr_SetString(PyExc_IndexError, strError.c_str());
172640  SWIG_fail;
172641  }
172642  catch(...)
172643  {
172644  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172645  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172646  SWIG_fail;
172647  }
172648  }
172649  resultobj = SWIG_From_float(static_cast< float >(result));
172650  return resultobj;
172651 fail:
172652  return NULL;
172653 }
172654 
172655 
172656 SWIGINTERN PyObject *_wrap_Odor_Quantity__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172657  PyObject *resultobj = 0;
172659  float arg2 ;
172660  void *argp1 = 0 ;
172661  int res1 = 0 ;
172662  float val2 ;
172663  int ecode2 = 0 ;
172664  PyObject * obj0 = 0 ;
172665  PyObject * obj1 = 0 ;
172666 
172667  if (!PyArg_ParseTuple(args,(char *)"OO:Odor_Quantity",&obj0,&obj1)) SWIG_fail;
172668  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
172669  if (!SWIG_IsOK(res1)) {
172670  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Odor_Quantity" "', argument " "1"" of type '" "AnimatSim::Environment::Odor *""'");
172671  }
172672  arg1 = reinterpret_cast< AnimatSim::Environment::Odor * >(argp1);
172673  ecode2 = SWIG_AsVal_float(obj1, &val2);
172674  if (!SWIG_IsOK(ecode2)) {
172675  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Odor_Quantity" "', argument " "2"" of type '" "float""'");
172676  }
172677  arg2 = static_cast< float >(val2);
172678  {
172679  try {
172680  (arg1)->Quantity(arg2);
172681  }
172682  catch(CStdErrorInfo oError)
172683  {
172684  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172685  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172686  PyErr_SetString(PyExc_IndexError, strError.c_str());
172687  SWIG_fail;
172688  }
172689  catch(...)
172690  {
172691  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172692  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172693  SWIG_fail;
172694  }
172695  }
172696  resultobj = SWIG_Py_Void();
172697  return resultobj;
172698 fail:
172699  return NULL;
172700 }
172701 
172702 
172703 SWIGINTERN PyObject *_wrap_Odor_Quantity(PyObject *self, PyObject *args) {
172704  int argc;
172705  PyObject *argv[3];
172706  int ii;
172707 
172708  if (!PyTuple_Check(args)) SWIG_fail;
172709  argc = args ? (int)PyObject_Length(args) : 0;
172710  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
172711  argv[ii] = PyTuple_GET_ITEM(args,ii);
172712  }
172713  if (argc == 1) {
172714  int _v;
172715  void *vptr = 0;
172716  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Odor, 0);
172717  _v = SWIG_CheckState(res);
172718  if (_v) {
172719  return _wrap_Odor_Quantity__SWIG_0(self, args);
172720  }
172721  }
172722  if (argc == 2) {
172723  int _v;
172724  void *vptr = 0;
172725  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Odor, 0);
172726  _v = SWIG_CheckState(res);
172727  if (_v) {
172728  {
172729  int res = SWIG_AsVal_float(argv[1], NULL);
172730  _v = SWIG_CheckState(res);
172731  }
172732  if (_v) {
172733  return _wrap_Odor_Quantity__SWIG_1(self, args);
172734  }
172735  }
172736  }
172737 
172738 fail:
172739  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Odor_Quantity'.\n"
172740  " Possible C/C++ prototypes are:\n"
172741  " AnimatSim::Environment::Odor::Quantity()\n"
172742  " AnimatSim::Environment::Odor::Quantity(float)\n");
172743  return 0;
172744 }
172745 
172746 
172747 SWIGINTERN PyObject *_wrap_Odor_UseFoodQuantity__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172748  PyObject *resultobj = 0;
172750  void *argp1 = 0 ;
172751  int res1 = 0 ;
172752  PyObject * obj0 = 0 ;
172753  bool result;
172754 
172755  if (!PyArg_ParseTuple(args,(char *)"O:Odor_UseFoodQuantity",&obj0)) SWIG_fail;
172756  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
172757  if (!SWIG_IsOK(res1)) {
172758  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Odor_UseFoodQuantity" "', argument " "1"" of type '" "AnimatSim::Environment::Odor *""'");
172759  }
172760  arg1 = reinterpret_cast< AnimatSim::Environment::Odor * >(argp1);
172761  {
172762  try {
172763  result = (bool)(arg1)->UseFoodQuantity();
172764  }
172765  catch(CStdErrorInfo oError)
172766  {
172767  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172768  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172769  PyErr_SetString(PyExc_IndexError, strError.c_str());
172770  SWIG_fail;
172771  }
172772  catch(...)
172773  {
172774  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172775  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172776  SWIG_fail;
172777  }
172778  }
172779  resultobj = SWIG_From_bool(static_cast< bool >(result));
172780  return resultobj;
172781 fail:
172782  return NULL;
172783 }
172784 
172785 
172786 SWIGINTERN PyObject *_wrap_Odor_UseFoodQuantity__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172787  PyObject *resultobj = 0;
172789  bool arg2 ;
172790  void *argp1 = 0 ;
172791  int res1 = 0 ;
172792  bool val2 ;
172793  int ecode2 = 0 ;
172794  PyObject * obj0 = 0 ;
172795  PyObject * obj1 = 0 ;
172796 
172797  if (!PyArg_ParseTuple(args,(char *)"OO:Odor_UseFoodQuantity",&obj0,&obj1)) SWIG_fail;
172798  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
172799  if (!SWIG_IsOK(res1)) {
172800  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Odor_UseFoodQuantity" "', argument " "1"" of type '" "AnimatSim::Environment::Odor *""'");
172801  }
172802  arg1 = reinterpret_cast< AnimatSim::Environment::Odor * >(argp1);
172803  ecode2 = SWIG_AsVal_bool(obj1, &val2);
172804  if (!SWIG_IsOK(ecode2)) {
172805  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Odor_UseFoodQuantity" "', argument " "2"" of type '" "bool""'");
172806  }
172807  arg2 = static_cast< bool >(val2);
172808  {
172809  try {
172810  (arg1)->UseFoodQuantity(arg2);
172811  }
172812  catch(CStdErrorInfo oError)
172813  {
172814  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172815  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172816  PyErr_SetString(PyExc_IndexError, strError.c_str());
172817  SWIG_fail;
172818  }
172819  catch(...)
172820  {
172821  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172822  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172823  SWIG_fail;
172824  }
172825  }
172826  resultobj = SWIG_Py_Void();
172827  return resultobj;
172828 fail:
172829  return NULL;
172830 }
172831 
172832 
172833 SWIGINTERN PyObject *_wrap_Odor_UseFoodQuantity(PyObject *self, PyObject *args) {
172834  int argc;
172835  PyObject *argv[3];
172836  int ii;
172837 
172838  if (!PyTuple_Check(args)) SWIG_fail;
172839  argc = args ? (int)PyObject_Length(args) : 0;
172840  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
172841  argv[ii] = PyTuple_GET_ITEM(args,ii);
172842  }
172843  if (argc == 1) {
172844  int _v;
172845  void *vptr = 0;
172846  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Odor, 0);
172847  _v = SWIG_CheckState(res);
172848  if (_v) {
172849  return _wrap_Odor_UseFoodQuantity__SWIG_0(self, args);
172850  }
172851  }
172852  if (argc == 2) {
172853  int _v;
172854  void *vptr = 0;
172855  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Odor, 0);
172856  _v = SWIG_CheckState(res);
172857  if (_v) {
172858  {
172859  int res = SWIG_AsVal_bool(argv[1], NULL);
172860  _v = SWIG_CheckState(res);
172861  }
172862  if (_v) {
172863  return _wrap_Odor_UseFoodQuantity__SWIG_1(self, args);
172864  }
172865  }
172866  }
172867 
172868 fail:
172869  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Odor_UseFoodQuantity'.\n"
172870  " Possible C/C++ prototypes are:\n"
172871  " AnimatSim::Environment::Odor::UseFoodQuantity()\n"
172872  " AnimatSim::Environment::Odor::UseFoodQuantity(bool)\n");
172873  return 0;
172874 }
172875 
172876 
172877 SWIGINTERN PyObject *_wrap_Odor_CalculateOdorValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172878  PyObject *resultobj = 0;
172880  OdorType *arg2 = (OdorType *) 0 ;
172881  CStdPoint< float > *arg3 = 0 ;
172882  void *argp1 = 0 ;
172883  int res1 = 0 ;
172884  void *argp2 = 0 ;
172885  int res2 = 0 ;
172886  void *argp3 = 0 ;
172887  int res3 = 0 ;
172888  PyObject * obj0 = 0 ;
172889  PyObject * obj1 = 0 ;
172890  PyObject * obj2 = 0 ;
172891  float result;
172892 
172893  if (!PyArg_ParseTuple(args,(char *)"OOO:Odor_CalculateOdorValue",&obj0,&obj1,&obj2)) SWIG_fail;
172894  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
172895  if (!SWIG_IsOK(res1)) {
172896  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Odor_CalculateOdorValue" "', argument " "1"" of type '" "AnimatSim::Environment::Odor *""'");
172897  }
172898  arg1 = reinterpret_cast< AnimatSim::Environment::Odor * >(argp1);
172899  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_OdorType, 0 | 0 );
172900  if (!SWIG_IsOK(res2)) {
172901  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Odor_CalculateOdorValue" "', argument " "2"" of type '" "OdorType *""'");
172902  }
172903  arg2 = reinterpret_cast< OdorType * >(argp2);
172904  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_float_t, 0 );
172905  if (!SWIG_IsOK(res3)) {
172906  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Odor_CalculateOdorValue" "', argument " "3"" of type '" "CStdPoint< float > &""'");
172907  }
172908  if (!argp3) {
172909  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Odor_CalculateOdorValue" "', argument " "3"" of type '" "CStdPoint< float > &""'");
172910  }
172911  arg3 = reinterpret_cast< CStdPoint< float > * >(argp3);
172912  {
172913  try {
172914  result = (float)(arg1)->CalculateOdorValue(arg2,*arg3);
172915  }
172916  catch(CStdErrorInfo oError)
172917  {
172918  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172919  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172920  PyErr_SetString(PyExc_IndexError, strError.c_str());
172921  SWIG_fail;
172922  }
172923  catch(...)
172924  {
172925  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172926  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
172927  SWIG_fail;
172928  }
172929  }
172930  resultobj = SWIG_From_float(static_cast< float >(result));
172931  return resultobj;
172932 fail:
172933  return NULL;
172934 }
172935 
172936 
172937 SWIGINTERN PyObject *_wrap_Odor_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
172938  PyObject *resultobj = 0;
172940  std::string *arg2 = 0 ;
172941  std::string *arg3 = 0 ;
172942  bool arg4 ;
172943  void *argp1 = 0 ;
172944  int res1 = 0 ;
172945  int res2 = SWIG_OLDOBJ ;
172946  int res3 = SWIG_OLDOBJ ;
172947  bool val4 ;
172948  int ecode4 = 0 ;
172949  PyObject * obj0 = 0 ;
172950  PyObject * obj1 = 0 ;
172951  PyObject * obj2 = 0 ;
172952  PyObject * obj3 = 0 ;
172953  bool result;
172954 
172955  if (!PyArg_ParseTuple(args,(char *)"OOOO:Odor_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
172956  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
172957  if (!SWIG_IsOK(res1)) {
172958  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Odor_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Odor *""'");
172959  }
172960  arg1 = reinterpret_cast< AnimatSim::Environment::Odor * >(argp1);
172961  {
172962  std::string *ptr = (std::string *)0;
172963  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
172964  if (!SWIG_IsOK(res2)) {
172965  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Odor_SetData" "', argument " "2"" of type '" "std::string const &""'");
172966  }
172967  if (!ptr) {
172968  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Odor_SetData" "', argument " "2"" of type '" "std::string const &""'");
172969  }
172970  arg2 = ptr;
172971  }
172972  {
172973  std::string *ptr = (std::string *)0;
172974  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
172975  if (!SWIG_IsOK(res3)) {
172976  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Odor_SetData" "', argument " "3"" of type '" "std::string const &""'");
172977  }
172978  if (!ptr) {
172979  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Odor_SetData" "', argument " "3"" of type '" "std::string const &""'");
172980  }
172981  arg3 = ptr;
172982  }
172983  ecode4 = SWIG_AsVal_bool(obj3, &val4);
172984  if (!SWIG_IsOK(ecode4)) {
172985  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Odor_SetData" "', argument " "4"" of type '" "bool""'");
172986  }
172987  arg4 = static_cast< bool >(val4);
172988  {
172989  try {
172990  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
172991  }
172992  catch(CStdErrorInfo oError)
172993  {
172994  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
172995  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
172996  PyErr_SetString(PyExc_IndexError, strError.c_str());
172997  SWIG_fail;
172998  }
172999  catch(...)
173000  {
173001  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173002  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173003  SWIG_fail;
173004  }
173005  }
173006  resultobj = SWIG_From_bool(static_cast< bool >(result));
173007  if (SWIG_IsNewObj(res2)) delete arg2;
173008  if (SWIG_IsNewObj(res3)) delete arg3;
173009  return resultobj;
173010 fail:
173011  if (SWIG_IsNewObj(res2)) delete arg2;
173012  if (SWIG_IsNewObj(res3)) delete arg3;
173013  return NULL;
173014 }
173015 
173016 
173017 SWIGINTERN PyObject *_wrap_Odor_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173018  PyObject *resultobj = 0;
173020  std::string *arg2 = 0 ;
173021  std::string *arg3 = 0 ;
173022  void *argp1 = 0 ;
173023  int res1 = 0 ;
173024  int res2 = SWIG_OLDOBJ ;
173025  int res3 = SWIG_OLDOBJ ;
173026  PyObject * obj0 = 0 ;
173027  PyObject * obj1 = 0 ;
173028  PyObject * obj2 = 0 ;
173029  bool result;
173030 
173031  if (!PyArg_ParseTuple(args,(char *)"OOO:Odor_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
173032  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
173033  if (!SWIG_IsOK(res1)) {
173034  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Odor_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Odor *""'");
173035  }
173036  arg1 = reinterpret_cast< AnimatSim::Environment::Odor * >(argp1);
173037  {
173038  std::string *ptr = (std::string *)0;
173039  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
173040  if (!SWIG_IsOK(res2)) {
173041  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Odor_SetData" "', argument " "2"" of type '" "std::string const &""'");
173042  }
173043  if (!ptr) {
173044  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Odor_SetData" "', argument " "2"" of type '" "std::string const &""'");
173045  }
173046  arg2 = ptr;
173047  }
173048  {
173049  std::string *ptr = (std::string *)0;
173050  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
173051  if (!SWIG_IsOK(res3)) {
173052  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Odor_SetData" "', argument " "3"" of type '" "std::string const &""'");
173053  }
173054  if (!ptr) {
173055  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Odor_SetData" "', argument " "3"" of type '" "std::string const &""'");
173056  }
173057  arg3 = ptr;
173058  }
173059  {
173060  try {
173061  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
173062  }
173063  catch(CStdErrorInfo oError)
173064  {
173065  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173066  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
173067  PyErr_SetString(PyExc_IndexError, strError.c_str());
173068  SWIG_fail;
173069  }
173070  catch(...)
173071  {
173072  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173073  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173074  SWIG_fail;
173075  }
173076  }
173077  resultobj = SWIG_From_bool(static_cast< bool >(result));
173078  if (SWIG_IsNewObj(res2)) delete arg2;
173079  if (SWIG_IsNewObj(res3)) delete arg3;
173080  return resultobj;
173081 fail:
173082  if (SWIG_IsNewObj(res2)) delete arg2;
173083  if (SWIG_IsNewObj(res3)) delete arg3;
173084  return NULL;
173085 }
173086 
173087 
173088 SWIGINTERN PyObject *_wrap_Odor_SetData(PyObject *self, PyObject *args) {
173089  int argc;
173090  PyObject *argv[5];
173091  int ii;
173092 
173093  if (!PyTuple_Check(args)) SWIG_fail;
173094  argc = args ? (int)PyObject_Length(args) : 0;
173095  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
173096  argv[ii] = PyTuple_GET_ITEM(args,ii);
173097  }
173098  if (argc == 3) {
173099  int _v;
173100  void *vptr = 0;
173101  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Odor, 0);
173102  _v = SWIG_CheckState(res);
173103  if (_v) {
173104  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
173105  _v = SWIG_CheckState(res);
173106  if (_v) {
173107  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
173108  _v = SWIG_CheckState(res);
173109  if (_v) {
173110  return _wrap_Odor_SetData__SWIG_1(self, args);
173111  }
173112  }
173113  }
173114  }
173115  if (argc == 4) {
173116  int _v;
173117  void *vptr = 0;
173118  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Odor, 0);
173119  _v = SWIG_CheckState(res);
173120  if (_v) {
173121  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
173122  _v = SWIG_CheckState(res);
173123  if (_v) {
173124  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
173125  _v = SWIG_CheckState(res);
173126  if (_v) {
173127  {
173128  int res = SWIG_AsVal_bool(argv[3], NULL);
173129  _v = SWIG_CheckState(res);
173130  }
173131  if (_v) {
173132  return _wrap_Odor_SetData__SWIG_0(self, args);
173133  }
173134  }
173135  }
173136  }
173137  }
173138 
173139 fail:
173140  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Odor_SetData'.\n"
173141  " Possible C/C++ prototypes are:\n"
173142  " AnimatSim::Environment::Odor::SetData(std::string const &,std::string const &,bool)\n"
173143  " AnimatSim::Environment::Odor::SetData(std::string const &,std::string const &)\n");
173144  return 0;
173145 }
173146 
173147 
173148 SWIGINTERN PyObject *_wrap_Odor_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173149  PyObject *resultobj = 0;
173151  CStdPtrArray< TypeProperty > *arg2 = 0 ;
173152  void *argp1 = 0 ;
173153  int res1 = 0 ;
173154  void *argp2 = 0 ;
173155  int res2 = 0 ;
173156  PyObject * obj0 = 0 ;
173157  PyObject * obj1 = 0 ;
173158 
173159  if (!PyArg_ParseTuple(args,(char *)"OO:Odor_QueryProperties",&obj0,&obj1)) SWIG_fail;
173160  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
173161  if (!SWIG_IsOK(res1)) {
173162  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Odor_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Odor *""'");
173163  }
173164  arg1 = reinterpret_cast< AnimatSim::Environment::Odor * >(argp1);
173165  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
173166  if (!SWIG_IsOK(res2)) {
173167  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Odor_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
173168  }
173169  if (!argp2) {
173170  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Odor_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
173171  }
173172  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
173173  {
173174  try {
173175  (arg1)->QueryProperties(*arg2);
173176  }
173177  catch(CStdErrorInfo oError)
173178  {
173179  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173180  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
173181  PyErr_SetString(PyExc_IndexError, strError.c_str());
173182  SWIG_fail;
173183  }
173184  catch(...)
173185  {
173186  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173187  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173188  SWIG_fail;
173189  }
173190  }
173191  resultobj = SWIG_Py_Void();
173192  return resultobj;
173193 fail:
173194  return NULL;
173195 }
173196 
173197 
173198 SWIGINTERN PyObject *_wrap_Odor_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173199  PyObject *resultobj = 0;
173201  CStdXml *arg2 = 0 ;
173202  void *argp1 = 0 ;
173203  int res1 = 0 ;
173204  void *argp2 = 0 ;
173205  int res2 = 0 ;
173206  PyObject * obj0 = 0 ;
173207  PyObject * obj1 = 0 ;
173208 
173209  if (!PyArg_ParseTuple(args,(char *)"OO:Odor_Load",&obj0,&obj1)) SWIG_fail;
173210  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
173211  if (!SWIG_IsOK(res1)) {
173212  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Odor_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Odor *""'");
173213  }
173214  arg1 = reinterpret_cast< AnimatSim::Environment::Odor * >(argp1);
173215  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
173216  if (!SWIG_IsOK(res2)) {
173217  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Odor_Load" "', argument " "2"" of type '" "CStdXml &""'");
173218  }
173219  if (!argp2) {
173220  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Odor_Load" "', argument " "2"" of type '" "CStdXml &""'");
173221  }
173222  arg2 = reinterpret_cast< CStdXml * >(argp2);
173223  {
173224  try {
173225  (arg1)->Load(*arg2);
173226  }
173227  catch(CStdErrorInfo oError)
173228  {
173229  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173230  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
173231  PyErr_SetString(PyExc_IndexError, strError.c_str());
173232  SWIG_fail;
173233  }
173234  catch(...)
173235  {
173236  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173237  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173238  SWIG_fail;
173239  }
173240  }
173241  resultobj = SWIG_Py_Void();
173242  return resultobj;
173243 fail:
173244  return NULL;
173245 }
173246 
173247 
173248 SWIGINTERN PyObject *Odor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173249  PyObject *obj;
173250  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
173251  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Odor, SWIG_NewClientData(obj));
173252  return SWIG_Py_Void();
173253 }
173254 
173255 SWIGINTERN PyObject *_wrap_new_OdorType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173256  PyObject *resultobj = 0;
173257  AnimatSim::Environment::OdorType *result = 0 ;
173258 
173259  if (!PyArg_ParseTuple(args,(char *)":new_OdorType")) SWIG_fail;
173260  {
173261  try {
173263  }
173264  catch(CStdErrorInfo oError)
173265  {
173266  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173267  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
173268  PyErr_SetString(PyExc_IndexError, strError.c_str());
173269  SWIG_fail;
173270  }
173271  catch(...)
173272  {
173273  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173274  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173275  SWIG_fail;
173276  }
173277  }
173278  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__OdorType, SWIG_POINTER_NEW | 0 );
173279  return resultobj;
173280 fail:
173281  return NULL;
173282 }
173283 
173284 
173285 SWIGINTERN PyObject *_wrap_delete_OdorType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173286  PyObject *resultobj = 0;
173288  void *argp1 = 0 ;
173289  int res1 = 0 ;
173290  PyObject * obj0 = 0 ;
173291 
173292  if (!PyArg_ParseTuple(args,(char *)"O:delete_OdorType",&obj0)) SWIG_fail;
173293  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__OdorType, SWIG_POINTER_DISOWN | 0 );
173294  if (!SWIG_IsOK(res1)) {
173295  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OdorType" "', argument " "1"" of type '" "AnimatSim::Environment::OdorType *""'");
173296  }
173297  arg1 = reinterpret_cast< AnimatSim::Environment::OdorType * >(argp1);
173298  {
173299  try {
173300  delete arg1;
173301  }
173302  catch(CStdErrorInfo oError)
173303  {
173304  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173305  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
173306  PyErr_SetString(PyExc_IndexError, strError.c_str());
173307  SWIG_fail;
173308  }
173309  catch(...)
173310  {
173311  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173312  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173313  SWIG_fail;
173314  }
173315  }
173316  resultobj = SWIG_Py_Void();
173317  return resultobj;
173318 fail:
173319  return NULL;
173320 }
173321 
173322 
173323 SWIGINTERN PyObject *_wrap_OdorType_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173324  PyObject *resultobj = 0;
173326  void *argp1 = 0 ;
173327  int res1 = 0 ;
173328  PyObject * obj0 = 0 ;
173329  AnimatSim::Environment::OdorType *result = 0 ;
173330 
173331  if (!PyArg_ParseTuple(args,(char *)"O:OdorType_CastToDerived",&obj0)) SWIG_fail;
173332  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
173333  if (!SWIG_IsOK(res1)) {
173334  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorType_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
173335  }
173336  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
173337  {
173338  try {
173339  result = (AnimatSim::Environment::OdorType *)AnimatSim::Environment::OdorType::CastToDerived(arg1);
173340  }
173341  catch(CStdErrorInfo oError)
173342  {
173343  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173344  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
173345  PyErr_SetString(PyExc_IndexError, strError.c_str());
173346  SWIG_fail;
173347  }
173348  catch(...)
173349  {
173350  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173351  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173352  SWIG_fail;
173353  }
173354  }
173355  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__OdorType, 0 | 0 );
173356  return resultobj;
173357 fail:
173358  return NULL;
173359 }
173360 
173361 
173362 SWIGINTERN PyObject *_wrap_OdorType_DiffusionConstant__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173363  PyObject *resultobj = 0;
173365  void *argp1 = 0 ;
173366  int res1 = 0 ;
173367  PyObject * obj0 = 0 ;
173368  float result;
173369 
173370  if (!PyArg_ParseTuple(args,(char *)"O:OdorType_DiffusionConstant",&obj0)) SWIG_fail;
173371  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__OdorType, 0 | 0 );
173372  if (!SWIG_IsOK(res1)) {
173373  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorType_DiffusionConstant" "', argument " "1"" of type '" "AnimatSim::Environment::OdorType *""'");
173374  }
173375  arg1 = reinterpret_cast< AnimatSim::Environment::OdorType * >(argp1);
173376  {
173377  try {
173378  result = (float)(arg1)->DiffusionConstant();
173379  }
173380  catch(CStdErrorInfo oError)
173381  {
173382  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173383  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
173384  PyErr_SetString(PyExc_IndexError, strError.c_str());
173385  SWIG_fail;
173386  }
173387  catch(...)
173388  {
173389  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173390  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173391  SWIG_fail;
173392  }
173393  }
173394  resultobj = SWIG_From_float(static_cast< float >(result));
173395  return resultobj;
173396 fail:
173397  return NULL;
173398 }
173399 
173400 
173401 SWIGINTERN PyObject *_wrap_OdorType_DiffusionConstant__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173402  PyObject *resultobj = 0;
173404  float arg2 ;
173405  bool arg3 ;
173406  void *argp1 = 0 ;
173407  int res1 = 0 ;
173408  float val2 ;
173409  int ecode2 = 0 ;
173410  bool val3 ;
173411  int ecode3 = 0 ;
173412  PyObject * obj0 = 0 ;
173413  PyObject * obj1 = 0 ;
173414  PyObject * obj2 = 0 ;
173415 
173416  if (!PyArg_ParseTuple(args,(char *)"OOO:OdorType_DiffusionConstant",&obj0,&obj1,&obj2)) SWIG_fail;
173417  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__OdorType, 0 | 0 );
173418  if (!SWIG_IsOK(res1)) {
173419  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorType_DiffusionConstant" "', argument " "1"" of type '" "AnimatSim::Environment::OdorType *""'");
173420  }
173421  arg1 = reinterpret_cast< AnimatSim::Environment::OdorType * >(argp1);
173422  ecode2 = SWIG_AsVal_float(obj1, &val2);
173423  if (!SWIG_IsOK(ecode2)) {
173424  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OdorType_DiffusionConstant" "', argument " "2"" of type '" "float""'");
173425  }
173426  arg2 = static_cast< float >(val2);
173427  ecode3 = SWIG_AsVal_bool(obj2, &val3);
173428  if (!SWIG_IsOK(ecode3)) {
173429  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OdorType_DiffusionConstant" "', argument " "3"" of type '" "bool""'");
173430  }
173431  arg3 = static_cast< bool >(val3);
173432  {
173433  try {
173434  (arg1)->DiffusionConstant(arg2,arg3);
173435  }
173436  catch(CStdErrorInfo oError)
173437  {
173438  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173439  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
173440  PyErr_SetString(PyExc_IndexError, strError.c_str());
173441  SWIG_fail;
173442  }
173443  catch(...)
173444  {
173445  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173446  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173447  SWIG_fail;
173448  }
173449  }
173450  resultobj = SWIG_Py_Void();
173451  return resultobj;
173452 fail:
173453  return NULL;
173454 }
173455 
173456 
173457 SWIGINTERN PyObject *_wrap_OdorType_DiffusionConstant__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173458  PyObject *resultobj = 0;
173460  float arg2 ;
173461  void *argp1 = 0 ;
173462  int res1 = 0 ;
173463  float val2 ;
173464  int ecode2 = 0 ;
173465  PyObject * obj0 = 0 ;
173466  PyObject * obj1 = 0 ;
173467 
173468  if (!PyArg_ParseTuple(args,(char *)"OO:OdorType_DiffusionConstant",&obj0,&obj1)) SWIG_fail;
173469  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__OdorType, 0 | 0 );
173470  if (!SWIG_IsOK(res1)) {
173471  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorType_DiffusionConstant" "', argument " "1"" of type '" "AnimatSim::Environment::OdorType *""'");
173472  }
173473  arg1 = reinterpret_cast< AnimatSim::Environment::OdorType * >(argp1);
173474  ecode2 = SWIG_AsVal_float(obj1, &val2);
173475  if (!SWIG_IsOK(ecode2)) {
173476  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OdorType_DiffusionConstant" "', argument " "2"" of type '" "float""'");
173477  }
173478  arg2 = static_cast< float >(val2);
173479  {
173480  try {
173481  (arg1)->DiffusionConstant(arg2);
173482  }
173483  catch(CStdErrorInfo oError)
173484  {
173485  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173486  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
173487  PyErr_SetString(PyExc_IndexError, strError.c_str());
173488  SWIG_fail;
173489  }
173490  catch(...)
173491  {
173492  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173493  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173494  SWIG_fail;
173495  }
173496  }
173497  resultobj = SWIG_Py_Void();
173498  return resultobj;
173499 fail:
173500  return NULL;
173501 }
173502 
173503 
173504 SWIGINTERN PyObject *_wrap_OdorType_DiffusionConstant(PyObject *self, PyObject *args) {
173505  int argc;
173506  PyObject *argv[4];
173507  int ii;
173508 
173509  if (!PyTuple_Check(args)) SWIG_fail;
173510  argc = args ? (int)PyObject_Length(args) : 0;
173511  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
173512  argv[ii] = PyTuple_GET_ITEM(args,ii);
173513  }
173514  if (argc == 1) {
173515  int _v;
173516  void *vptr = 0;
173517  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__OdorType, 0);
173518  _v = SWIG_CheckState(res);
173519  if (_v) {
173520  return _wrap_OdorType_DiffusionConstant__SWIG_0(self, args);
173521  }
173522  }
173523  if (argc == 2) {
173524  int _v;
173525  void *vptr = 0;
173526  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__OdorType, 0);
173527  _v = SWIG_CheckState(res);
173528  if (_v) {
173529  {
173530  int res = SWIG_AsVal_float(argv[1], NULL);
173531  _v = SWIG_CheckState(res);
173532  }
173533  if (_v) {
173534  return _wrap_OdorType_DiffusionConstant__SWIG_2(self, args);
173535  }
173536  }
173537  }
173538  if (argc == 3) {
173539  int _v;
173540  void *vptr = 0;
173541  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__OdorType, 0);
173542  _v = SWIG_CheckState(res);
173543  if (_v) {
173544  {
173545  int res = SWIG_AsVal_float(argv[1], NULL);
173546  _v = SWIG_CheckState(res);
173547  }
173548  if (_v) {
173549  {
173550  int res = SWIG_AsVal_bool(argv[2], NULL);
173551  _v = SWIG_CheckState(res);
173552  }
173553  if (_v) {
173554  return _wrap_OdorType_DiffusionConstant__SWIG_1(self, args);
173555  }
173556  }
173557  }
173558  }
173559 
173560 fail:
173561  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'OdorType_DiffusionConstant'.\n"
173562  " Possible C/C++ prototypes are:\n"
173563  " AnimatSim::Environment::OdorType::DiffusionConstant()\n"
173564  " AnimatSim::Environment::OdorType::DiffusionConstant(float,bool)\n"
173565  " AnimatSim::Environment::OdorType::DiffusionConstant(float)\n");
173566  return 0;
173567 }
173568 
173569 
173570 SWIGINTERN PyObject *_wrap_OdorType_FindOdorSource__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173571  PyObject *resultobj = 0;
173573  std::string arg2 ;
173574  bool arg3 ;
173575  void *argp1 = 0 ;
173576  int res1 = 0 ;
173577  bool val3 ;
173578  int ecode3 = 0 ;
173579  PyObject * obj0 = 0 ;
173580  PyObject * obj1 = 0 ;
173581  PyObject * obj2 = 0 ;
173582  AnimatSim::Environment::Odor *result = 0 ;
173583 
173584  if (!PyArg_ParseTuple(args,(char *)"OOO:OdorType_FindOdorSource",&obj0,&obj1,&obj2)) SWIG_fail;
173585  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__OdorType, 0 | 0 );
173586  if (!SWIG_IsOK(res1)) {
173587  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorType_FindOdorSource" "', argument " "1"" of type '" "AnimatSim::Environment::OdorType *""'");
173588  }
173589  arg1 = reinterpret_cast< AnimatSim::Environment::OdorType * >(argp1);
173590  {
173591  std::string *ptr = (std::string *)0;
173592  int res = SWIG_AsPtr_std_string(obj1, &ptr);
173593  if (!SWIG_IsOK(res) || !ptr) {
173594  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OdorType_FindOdorSource" "', argument " "2"" of type '" "std::string""'");
173595  }
173596  arg2 = *ptr;
173597  if (SWIG_IsNewObj(res)) delete ptr;
173598  }
173599  ecode3 = SWIG_AsVal_bool(obj2, &val3);
173600  if (!SWIG_IsOK(ecode3)) {
173601  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "OdorType_FindOdorSource" "', argument " "3"" of type '" "bool""'");
173602  }
173603  arg3 = static_cast< bool >(val3);
173604  {
173605  try {
173606  result = (AnimatSim::Environment::Odor *)(arg1)->FindOdorSource(arg2,arg3);
173607  }
173608  catch(CStdErrorInfo oError)
173609  {
173610  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173611  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
173612  PyErr_SetString(PyExc_IndexError, strError.c_str());
173613  SWIG_fail;
173614  }
173615  catch(...)
173616  {
173617  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173618  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173619  SWIG_fail;
173620  }
173621  }
173622  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
173623  return resultobj;
173624 fail:
173625  return NULL;
173626 }
173627 
173628 
173629 SWIGINTERN PyObject *_wrap_OdorType_FindOdorSource__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173630  PyObject *resultobj = 0;
173632  std::string arg2 ;
173633  void *argp1 = 0 ;
173634  int res1 = 0 ;
173635  PyObject * obj0 = 0 ;
173636  PyObject * obj1 = 0 ;
173637  AnimatSim::Environment::Odor *result = 0 ;
173638 
173639  if (!PyArg_ParseTuple(args,(char *)"OO:OdorType_FindOdorSource",&obj0,&obj1)) SWIG_fail;
173640  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__OdorType, 0 | 0 );
173641  if (!SWIG_IsOK(res1)) {
173642  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorType_FindOdorSource" "', argument " "1"" of type '" "AnimatSim::Environment::OdorType *""'");
173643  }
173644  arg1 = reinterpret_cast< AnimatSim::Environment::OdorType * >(argp1);
173645  {
173646  std::string *ptr = (std::string *)0;
173647  int res = SWIG_AsPtr_std_string(obj1, &ptr);
173648  if (!SWIG_IsOK(res) || !ptr) {
173649  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OdorType_FindOdorSource" "', argument " "2"" of type '" "std::string""'");
173650  }
173651  arg2 = *ptr;
173652  if (SWIG_IsNewObj(res)) delete ptr;
173653  }
173654  {
173655  try {
173656  result = (AnimatSim::Environment::Odor *)(arg1)->FindOdorSource(arg2);
173657  }
173658  catch(CStdErrorInfo oError)
173659  {
173660  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173661  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
173662  PyErr_SetString(PyExc_IndexError, strError.c_str());
173663  SWIG_fail;
173664  }
173665  catch(...)
173666  {
173667  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173668  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173669  SWIG_fail;
173670  }
173671  }
173672  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
173673  return resultobj;
173674 fail:
173675  return NULL;
173676 }
173677 
173678 
173679 SWIGINTERN PyObject *_wrap_OdorType_FindOdorSource(PyObject *self, PyObject *args) {
173680  int argc;
173681  PyObject *argv[4];
173682  int ii;
173683 
173684  if (!PyTuple_Check(args)) SWIG_fail;
173685  argc = args ? (int)PyObject_Length(args) : 0;
173686  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
173687  argv[ii] = PyTuple_GET_ITEM(args,ii);
173688  }
173689  if (argc == 2) {
173690  int _v;
173691  void *vptr = 0;
173692  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__OdorType, 0);
173693  _v = SWIG_CheckState(res);
173694  if (_v) {
173695  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
173696  _v = SWIG_CheckState(res);
173697  if (_v) {
173698  return _wrap_OdorType_FindOdorSource__SWIG_1(self, args);
173699  }
173700  }
173701  }
173702  if (argc == 3) {
173703  int _v;
173704  void *vptr = 0;
173705  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__OdorType, 0);
173706  _v = SWIG_CheckState(res);
173707  if (_v) {
173708  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
173709  _v = SWIG_CheckState(res);
173710  if (_v) {
173711  {
173712  int res = SWIG_AsVal_bool(argv[2], NULL);
173713  _v = SWIG_CheckState(res);
173714  }
173715  if (_v) {
173716  return _wrap_OdorType_FindOdorSource__SWIG_0(self, args);
173717  }
173718  }
173719  }
173720  }
173721 
173722 fail:
173723  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'OdorType_FindOdorSource'.\n"
173724  " Possible C/C++ prototypes are:\n"
173725  " AnimatSim::Environment::OdorType::FindOdorSource(std::string,bool)\n"
173726  " AnimatSim::Environment::OdorType::FindOdorSource(std::string)\n");
173727  return 0;
173728 }
173729 
173730 
173731 SWIGINTERN PyObject *_wrap_OdorType_AddOdorSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173732  PyObject *resultobj = 0;
173735  void *argp1 = 0 ;
173736  int res1 = 0 ;
173737  void *argp2 = 0 ;
173738  int res2 = 0 ;
173739  PyObject * obj0 = 0 ;
173740  PyObject * obj1 = 0 ;
173741 
173742  if (!PyArg_ParseTuple(args,(char *)"OO:OdorType_AddOdorSource",&obj0,&obj1)) SWIG_fail;
173743  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__OdorType, 0 | 0 );
173744  if (!SWIG_IsOK(res1)) {
173745  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorType_AddOdorSource" "', argument " "1"" of type '" "AnimatSim::Environment::OdorType *""'");
173746  }
173747  arg1 = reinterpret_cast< AnimatSim::Environment::OdorType * >(argp1);
173748  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__Odor, 0 | 0 );
173749  if (!SWIG_IsOK(res2)) {
173750  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OdorType_AddOdorSource" "', argument " "2"" of type '" "AnimatSim::Environment::Odor *""'");
173751  }
173752  arg2 = reinterpret_cast< AnimatSim::Environment::Odor * >(argp2);
173753  {
173754  try {
173755  (arg1)->AddOdorSource(arg2);
173756  }
173757  catch(CStdErrorInfo oError)
173758  {
173759  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173760  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
173761  PyErr_SetString(PyExc_IndexError, strError.c_str());
173762  SWIG_fail;
173763  }
173764  catch(...)
173765  {
173766  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173767  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173768  SWIG_fail;
173769  }
173770  }
173771  resultobj = SWIG_Py_Void();
173772  return resultobj;
173773 fail:
173774  return NULL;
173775 }
173776 
173777 
173778 SWIGINTERN PyObject *_wrap_OdorType_CalculateOdorValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173779  PyObject *resultobj = 0;
173781  CStdPoint< float > *arg2 = 0 ;
173782  void *argp1 = 0 ;
173783  int res1 = 0 ;
173784  void *argp2 = 0 ;
173785  int res2 = 0 ;
173786  PyObject * obj0 = 0 ;
173787  PyObject * obj1 = 0 ;
173788  float result;
173789 
173790  if (!PyArg_ParseTuple(args,(char *)"OO:OdorType_CalculateOdorValue",&obj0,&obj1)) SWIG_fail;
173791  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__OdorType, 0 | 0 );
173792  if (!SWIG_IsOK(res1)) {
173793  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorType_CalculateOdorValue" "', argument " "1"" of type '" "AnimatSim::Environment::OdorType *""'");
173794  }
173795  arg1 = reinterpret_cast< AnimatSim::Environment::OdorType * >(argp1);
173796  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
173797  if (!SWIG_IsOK(res2)) {
173798  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OdorType_CalculateOdorValue" "', argument " "2"" of type '" "CStdPoint< float > &""'");
173799  }
173800  if (!argp2) {
173801  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OdorType_CalculateOdorValue" "', argument " "2"" of type '" "CStdPoint< float > &""'");
173802  }
173803  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
173804  {
173805  try {
173806  result = (float)(arg1)->CalculateOdorValue(*arg2);
173807  }
173808  catch(CStdErrorInfo oError)
173809  {
173810  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173811  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
173812  PyErr_SetString(PyExc_IndexError, strError.c_str());
173813  SWIG_fail;
173814  }
173815  catch(...)
173816  {
173817  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173818  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173819  SWIG_fail;
173820  }
173821  }
173822  resultobj = SWIG_From_float(static_cast< float >(result));
173823  return resultobj;
173824 fail:
173825  return NULL;
173826 }
173827 
173828 
173829 SWIGINTERN PyObject *_wrap_OdorType_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173830  PyObject *resultobj = 0;
173832  std::string *arg2 = 0 ;
173833  std::string *arg3 = 0 ;
173834  bool arg4 ;
173835  void *argp1 = 0 ;
173836  int res1 = 0 ;
173837  int res2 = SWIG_OLDOBJ ;
173838  int res3 = SWIG_OLDOBJ ;
173839  bool val4 ;
173840  int ecode4 = 0 ;
173841  PyObject * obj0 = 0 ;
173842  PyObject * obj1 = 0 ;
173843  PyObject * obj2 = 0 ;
173844  PyObject * obj3 = 0 ;
173845  bool result;
173846 
173847  if (!PyArg_ParseTuple(args,(char *)"OOOO:OdorType_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
173848  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__OdorType, 0 | 0 );
173849  if (!SWIG_IsOK(res1)) {
173850  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorType_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::OdorType *""'");
173851  }
173852  arg1 = reinterpret_cast< AnimatSim::Environment::OdorType * >(argp1);
173853  {
173854  std::string *ptr = (std::string *)0;
173855  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
173856  if (!SWIG_IsOK(res2)) {
173857  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OdorType_SetData" "', argument " "2"" of type '" "std::string const &""'");
173858  }
173859  if (!ptr) {
173860  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OdorType_SetData" "', argument " "2"" of type '" "std::string const &""'");
173861  }
173862  arg2 = ptr;
173863  }
173864  {
173865  std::string *ptr = (std::string *)0;
173866  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
173867  if (!SWIG_IsOK(res3)) {
173868  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OdorType_SetData" "', argument " "3"" of type '" "std::string const &""'");
173869  }
173870  if (!ptr) {
173871  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OdorType_SetData" "', argument " "3"" of type '" "std::string const &""'");
173872  }
173873  arg3 = ptr;
173874  }
173875  ecode4 = SWIG_AsVal_bool(obj3, &val4);
173876  if (!SWIG_IsOK(ecode4)) {
173877  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OdorType_SetData" "', argument " "4"" of type '" "bool""'");
173878  }
173879  arg4 = static_cast< bool >(val4);
173880  {
173881  try {
173882  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
173883  }
173884  catch(CStdErrorInfo oError)
173885  {
173886  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173887  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
173888  PyErr_SetString(PyExc_IndexError, strError.c_str());
173889  SWIG_fail;
173890  }
173891  catch(...)
173892  {
173893  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173894  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173895  SWIG_fail;
173896  }
173897  }
173898  resultobj = SWIG_From_bool(static_cast< bool >(result));
173899  if (SWIG_IsNewObj(res2)) delete arg2;
173900  if (SWIG_IsNewObj(res3)) delete arg3;
173901  return resultobj;
173902 fail:
173903  if (SWIG_IsNewObj(res2)) delete arg2;
173904  if (SWIG_IsNewObj(res3)) delete arg3;
173905  return NULL;
173906 }
173907 
173908 
173909 SWIGINTERN PyObject *_wrap_OdorType_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
173910  PyObject *resultobj = 0;
173912  std::string *arg2 = 0 ;
173913  std::string *arg3 = 0 ;
173914  void *argp1 = 0 ;
173915  int res1 = 0 ;
173916  int res2 = SWIG_OLDOBJ ;
173917  int res3 = SWIG_OLDOBJ ;
173918  PyObject * obj0 = 0 ;
173919  PyObject * obj1 = 0 ;
173920  PyObject * obj2 = 0 ;
173921  bool result;
173922 
173923  if (!PyArg_ParseTuple(args,(char *)"OOO:OdorType_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
173924  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__OdorType, 0 | 0 );
173925  if (!SWIG_IsOK(res1)) {
173926  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorType_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::OdorType *""'");
173927  }
173928  arg1 = reinterpret_cast< AnimatSim::Environment::OdorType * >(argp1);
173929  {
173930  std::string *ptr = (std::string *)0;
173931  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
173932  if (!SWIG_IsOK(res2)) {
173933  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OdorType_SetData" "', argument " "2"" of type '" "std::string const &""'");
173934  }
173935  if (!ptr) {
173936  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OdorType_SetData" "', argument " "2"" of type '" "std::string const &""'");
173937  }
173938  arg2 = ptr;
173939  }
173940  {
173941  std::string *ptr = (std::string *)0;
173942  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
173943  if (!SWIG_IsOK(res3)) {
173944  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OdorType_SetData" "', argument " "3"" of type '" "std::string const &""'");
173945  }
173946  if (!ptr) {
173947  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OdorType_SetData" "', argument " "3"" of type '" "std::string const &""'");
173948  }
173949  arg3 = ptr;
173950  }
173951  {
173952  try {
173953  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
173954  }
173955  catch(CStdErrorInfo oError)
173956  {
173957  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173958  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
173959  PyErr_SetString(PyExc_IndexError, strError.c_str());
173960  SWIG_fail;
173961  }
173962  catch(...)
173963  {
173964  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
173965  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
173966  SWIG_fail;
173967  }
173968  }
173969  resultobj = SWIG_From_bool(static_cast< bool >(result));
173970  if (SWIG_IsNewObj(res2)) delete arg2;
173971  if (SWIG_IsNewObj(res3)) delete arg3;
173972  return resultobj;
173973 fail:
173974  if (SWIG_IsNewObj(res2)) delete arg2;
173975  if (SWIG_IsNewObj(res3)) delete arg3;
173976  return NULL;
173977 }
173978 
173979 
173980 SWIGINTERN PyObject *_wrap_OdorType_SetData(PyObject *self, PyObject *args) {
173981  int argc;
173982  PyObject *argv[5];
173983  int ii;
173984 
173985  if (!PyTuple_Check(args)) SWIG_fail;
173986  argc = args ? (int)PyObject_Length(args) : 0;
173987  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
173988  argv[ii] = PyTuple_GET_ITEM(args,ii);
173989  }
173990  if (argc == 3) {
173991  int _v;
173992  void *vptr = 0;
173993  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__OdorType, 0);
173994  _v = SWIG_CheckState(res);
173995  if (_v) {
173996  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
173997  _v = SWIG_CheckState(res);
173998  if (_v) {
173999  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
174000  _v = SWIG_CheckState(res);
174001  if (_v) {
174002  return _wrap_OdorType_SetData__SWIG_1(self, args);
174003  }
174004  }
174005  }
174006  }
174007  if (argc == 4) {
174008  int _v;
174009  void *vptr = 0;
174010  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__OdorType, 0);
174011  _v = SWIG_CheckState(res);
174012  if (_v) {
174013  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
174014  _v = SWIG_CheckState(res);
174015  if (_v) {
174016  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
174017  _v = SWIG_CheckState(res);
174018  if (_v) {
174019  {
174020  int res = SWIG_AsVal_bool(argv[3], NULL);
174021  _v = SWIG_CheckState(res);
174022  }
174023  if (_v) {
174024  return _wrap_OdorType_SetData__SWIG_0(self, args);
174025  }
174026  }
174027  }
174028  }
174029  }
174030 
174031 fail:
174032  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'OdorType_SetData'.\n"
174033  " Possible C/C++ prototypes are:\n"
174034  " AnimatSim::Environment::OdorType::SetData(std::string const &,std::string const &,bool)\n"
174035  " AnimatSim::Environment::OdorType::SetData(std::string const &,std::string const &)\n");
174036  return 0;
174037 }
174038 
174039 
174040 SWIGINTERN PyObject *_wrap_OdorType_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174041  PyObject *resultobj = 0;
174043  CStdPtrArray< TypeProperty > *arg2 = 0 ;
174044  void *argp1 = 0 ;
174045  int res1 = 0 ;
174046  void *argp2 = 0 ;
174047  int res2 = 0 ;
174048  PyObject * obj0 = 0 ;
174049  PyObject * obj1 = 0 ;
174050 
174051  if (!PyArg_ParseTuple(args,(char *)"OO:OdorType_QueryProperties",&obj0,&obj1)) SWIG_fail;
174052  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__OdorType, 0 | 0 );
174053  if (!SWIG_IsOK(res1)) {
174054  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorType_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::OdorType *""'");
174055  }
174056  arg1 = reinterpret_cast< AnimatSim::Environment::OdorType * >(argp1);
174057  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
174058  if (!SWIG_IsOK(res2)) {
174059  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OdorType_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
174060  }
174061  if (!argp2) {
174062  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OdorType_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
174063  }
174064  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
174065  {
174066  try {
174067  (arg1)->QueryProperties(*arg2);
174068  }
174069  catch(CStdErrorInfo oError)
174070  {
174071  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174072  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174073  PyErr_SetString(PyExc_IndexError, strError.c_str());
174074  SWIG_fail;
174075  }
174076  catch(...)
174077  {
174078  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174079  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174080  SWIG_fail;
174081  }
174082  }
174083  resultobj = SWIG_Py_Void();
174084  return resultobj;
174085 fail:
174086  return NULL;
174087 }
174088 
174089 
174090 SWIGINTERN PyObject *_wrap_OdorType_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174091  PyObject *resultobj = 0;
174093  CStdXml *arg2 = 0 ;
174094  void *argp1 = 0 ;
174095  int res1 = 0 ;
174096  void *argp2 = 0 ;
174097  int res2 = 0 ;
174098  PyObject * obj0 = 0 ;
174099  PyObject * obj1 = 0 ;
174100 
174101  if (!PyArg_ParseTuple(args,(char *)"OO:OdorType_Load",&obj0,&obj1)) SWIG_fail;
174102  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__OdorType, 0 | 0 );
174103  if (!SWIG_IsOK(res1)) {
174104  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorType_Load" "', argument " "1"" of type '" "AnimatSim::Environment::OdorType *""'");
174105  }
174106  arg1 = reinterpret_cast< AnimatSim::Environment::OdorType * >(argp1);
174107  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
174108  if (!SWIG_IsOK(res2)) {
174109  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OdorType_Load" "', argument " "2"" of type '" "CStdXml &""'");
174110  }
174111  if (!argp2) {
174112  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OdorType_Load" "', argument " "2"" of type '" "CStdXml &""'");
174113  }
174114  arg2 = reinterpret_cast< CStdXml * >(argp2);
174115  {
174116  try {
174117  (arg1)->Load(*arg2);
174118  }
174119  catch(CStdErrorInfo oError)
174120  {
174121  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174122  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174123  PyErr_SetString(PyExc_IndexError, strError.c_str());
174124  SWIG_fail;
174125  }
174126  catch(...)
174127  {
174128  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174129  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174130  SWIG_fail;
174131  }
174132  }
174133  resultobj = SWIG_Py_Void();
174134  return resultobj;
174135 fail:
174136  return NULL;
174137 }
174138 
174139 
174140 SWIGINTERN PyObject *OdorType_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174141  PyObject *obj;
174142  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
174143  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__OdorType, SWIG_NewClientData(obj));
174144  return SWIG_Py_Void();
174145 }
174146 
174147 SWIGINTERN PyObject *_wrap_new_RigidBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174148  PyObject *resultobj = 0;
174149  AnimatSim::Environment::RigidBody *result = 0 ;
174150 
174151  if (!PyArg_ParseTuple(args,(char *)":new_RigidBody")) SWIG_fail;
174152  {
174153  try {
174155  }
174156  catch(CStdErrorInfo oError)
174157  {
174158  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174159  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174160  PyErr_SetString(PyExc_IndexError, strError.c_str());
174161  SWIG_fail;
174162  }
174163  catch(...)
174164  {
174165  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174166  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174167  SWIG_fail;
174168  }
174169  }
174170  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__RigidBody, SWIG_POINTER_NEW | 0 );
174171  return resultobj;
174172 fail:
174173  return NULL;
174174 }
174175 
174176 
174177 SWIGINTERN PyObject *_wrap_delete_RigidBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174178  PyObject *resultobj = 0;
174180  void *argp1 = 0 ;
174181  int res1 = 0 ;
174182  PyObject * obj0 = 0 ;
174183 
174184  if (!PyArg_ParseTuple(args,(char *)"O:delete_RigidBody",&obj0)) SWIG_fail;
174185  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, SWIG_POINTER_DISOWN | 0 );
174186  if (!SWIG_IsOK(res1)) {
174187  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RigidBody" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
174188  }
174189  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
174190  {
174191  try {
174192  delete arg1;
174193  }
174194  catch(CStdErrorInfo oError)
174195  {
174196  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174197  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174198  PyErr_SetString(PyExc_IndexError, strError.c_str());
174199  SWIG_fail;
174200  }
174201  catch(...)
174202  {
174203  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174204  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174205  SWIG_fail;
174206  }
174207  }
174208  resultobj = SWIG_Py_Void();
174209  return resultobj;
174210 fail:
174211  return NULL;
174212 }
174213 
174214 
174215 SWIGINTERN PyObject *_wrap_RigidBody_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174216  PyObject *resultobj = 0;
174218  void *argp1 = 0 ;
174219  int res1 = 0 ;
174220  PyObject * obj0 = 0 ;
174221  AnimatSim::Environment::RigidBody *result = 0 ;
174222 
174223  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_CastToDerived",&obj0)) SWIG_fail;
174224  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
174225  if (!SWIG_IsOK(res1)) {
174226  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
174227  }
174228  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
174229  {
174230  try {
174231  result = (AnimatSim::Environment::RigidBody *)AnimatSim::Environment::RigidBody::CastToDerived(arg1);
174232  }
174233  catch(CStdErrorInfo oError)
174234  {
174235  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174236  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174237  PyErr_SetString(PyExc_IndexError, strError.c_str());
174238  SWIG_fail;
174239  }
174240  catch(...)
174241  {
174242  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174243  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174244  SWIG_fail;
174245  }
174246  }
174247  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
174248  return resultobj;
174249 fail:
174250  return NULL;
174251 }
174252 
174253 
174254 SWIGINTERN PyObject *_wrap_RigidBody_Position__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174255  PyObject *resultobj = 0;
174257  void *argp1 = 0 ;
174258  int res1 = 0 ;
174259  PyObject * obj0 = 0 ;
174260  CStdPoint< float > result;
174261 
174262  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_Position",&obj0)) SWIG_fail;
174263  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
174264  if (!SWIG_IsOK(res1)) {
174265  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Position" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
174266  }
174267  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
174268  {
174269  try {
174270  result = (arg1)->Position();
174271  }
174272  catch(CStdErrorInfo oError)
174273  {
174274  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174275  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174276  PyErr_SetString(PyExc_IndexError, strError.c_str());
174277  SWIG_fail;
174278  }
174279  catch(...)
174280  {
174281  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174282  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174283  SWIG_fail;
174284  }
174285  }
174286  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
174287  return resultobj;
174288 fail:
174289  return NULL;
174290 }
174291 
174292 
174293 SWIGINTERN PyObject *_wrap_RigidBody_Position__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174294  PyObject *resultobj = 0;
174296  CStdPoint< float > *arg2 = 0 ;
174297  bool arg3 ;
174298  bool arg4 ;
174299  bool arg5 ;
174300  void *argp1 = 0 ;
174301  int res1 = 0 ;
174302  void *argp2 = 0 ;
174303  int res2 = 0 ;
174304  bool val3 ;
174305  int ecode3 = 0 ;
174306  bool val4 ;
174307  int ecode4 = 0 ;
174308  bool val5 ;
174309  int ecode5 = 0 ;
174310  PyObject * obj0 = 0 ;
174311  PyObject * obj1 = 0 ;
174312  PyObject * obj2 = 0 ;
174313  PyObject * obj3 = 0 ;
174314  PyObject * obj4 = 0 ;
174315 
174316  if (!PyArg_ParseTuple(args,(char *)"OOOOO:RigidBody_Position",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
174317  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
174318  if (!SWIG_IsOK(res1)) {
174319  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Position" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
174320  }
174321  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
174322  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
174323  if (!SWIG_IsOK(res2)) {
174324  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
174325  }
174326  if (!argp2) {
174327  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
174328  }
174329  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
174330  ecode3 = SWIG_AsVal_bool(obj2, &val3);
174331  if (!SWIG_IsOK(ecode3)) {
174332  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_Position" "', argument " "3"" of type '" "bool""'");
174333  }
174334  arg3 = static_cast< bool >(val3);
174335  ecode4 = SWIG_AsVal_bool(obj3, &val4);
174336  if (!SWIG_IsOK(ecode4)) {
174337  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_Position" "', argument " "4"" of type '" "bool""'");
174338  }
174339  arg4 = static_cast< bool >(val4);
174340  ecode5 = SWIG_AsVal_bool(obj4, &val5);
174341  if (!SWIG_IsOK(ecode5)) {
174342  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RigidBody_Position" "', argument " "5"" of type '" "bool""'");
174343  }
174344  arg5 = static_cast< bool >(val5);
174345  {
174346  try {
174347  (arg1)->Position(*arg2,arg3,arg4,arg5);
174348  }
174349  catch(CStdErrorInfo oError)
174350  {
174351  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174352  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174353  PyErr_SetString(PyExc_IndexError, strError.c_str());
174354  SWIG_fail;
174355  }
174356  catch(...)
174357  {
174358  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174359  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174360  SWIG_fail;
174361  }
174362  }
174363  resultobj = SWIG_Py_Void();
174364  return resultobj;
174365 fail:
174366  return NULL;
174367 }
174368 
174369 
174370 SWIGINTERN PyObject *_wrap_RigidBody_Position__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174371  PyObject *resultobj = 0;
174373  CStdPoint< float > *arg2 = 0 ;
174374  bool arg3 ;
174375  bool arg4 ;
174376  void *argp1 = 0 ;
174377  int res1 = 0 ;
174378  void *argp2 = 0 ;
174379  int res2 = 0 ;
174380  bool val3 ;
174381  int ecode3 = 0 ;
174382  bool val4 ;
174383  int ecode4 = 0 ;
174384  PyObject * obj0 = 0 ;
174385  PyObject * obj1 = 0 ;
174386  PyObject * obj2 = 0 ;
174387  PyObject * obj3 = 0 ;
174388 
174389  if (!PyArg_ParseTuple(args,(char *)"OOOO:RigidBody_Position",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
174390  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
174391  if (!SWIG_IsOK(res1)) {
174392  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Position" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
174393  }
174394  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
174395  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
174396  if (!SWIG_IsOK(res2)) {
174397  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
174398  }
174399  if (!argp2) {
174400  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
174401  }
174402  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
174403  ecode3 = SWIG_AsVal_bool(obj2, &val3);
174404  if (!SWIG_IsOK(ecode3)) {
174405  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_Position" "', argument " "3"" of type '" "bool""'");
174406  }
174407  arg3 = static_cast< bool >(val3);
174408  ecode4 = SWIG_AsVal_bool(obj3, &val4);
174409  if (!SWIG_IsOK(ecode4)) {
174410  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_Position" "', argument " "4"" of type '" "bool""'");
174411  }
174412  arg4 = static_cast< bool >(val4);
174413  {
174414  try {
174415  (arg1)->Position(*arg2,arg3,arg4);
174416  }
174417  catch(CStdErrorInfo oError)
174418  {
174419  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174420  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174421  PyErr_SetString(PyExc_IndexError, strError.c_str());
174422  SWIG_fail;
174423  }
174424  catch(...)
174425  {
174426  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174427  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174428  SWIG_fail;
174429  }
174430  }
174431  resultobj = SWIG_Py_Void();
174432  return resultobj;
174433 fail:
174434  return NULL;
174435 }
174436 
174437 
174438 SWIGINTERN PyObject *_wrap_RigidBody_Position__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174439  PyObject *resultobj = 0;
174441  CStdPoint< float > *arg2 = 0 ;
174442  bool arg3 ;
174443  void *argp1 = 0 ;
174444  int res1 = 0 ;
174445  void *argp2 = 0 ;
174446  int res2 = 0 ;
174447  bool val3 ;
174448  int ecode3 = 0 ;
174449  PyObject * obj0 = 0 ;
174450  PyObject * obj1 = 0 ;
174451  PyObject * obj2 = 0 ;
174452 
174453  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_Position",&obj0,&obj1,&obj2)) SWIG_fail;
174454  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
174455  if (!SWIG_IsOK(res1)) {
174456  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Position" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
174457  }
174458  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
174459  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
174460  if (!SWIG_IsOK(res2)) {
174461  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
174462  }
174463  if (!argp2) {
174464  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
174465  }
174466  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
174467  ecode3 = SWIG_AsVal_bool(obj2, &val3);
174468  if (!SWIG_IsOK(ecode3)) {
174469  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_Position" "', argument " "3"" of type '" "bool""'");
174470  }
174471  arg3 = static_cast< bool >(val3);
174472  {
174473  try {
174474  (arg1)->Position(*arg2,arg3);
174475  }
174476  catch(CStdErrorInfo oError)
174477  {
174478  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174479  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174480  PyErr_SetString(PyExc_IndexError, strError.c_str());
174481  SWIG_fail;
174482  }
174483  catch(...)
174484  {
174485  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174486  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174487  SWIG_fail;
174488  }
174489  }
174490  resultobj = SWIG_Py_Void();
174491  return resultobj;
174492 fail:
174493  return NULL;
174494 }
174495 
174496 
174497 SWIGINTERN PyObject *_wrap_RigidBody_Position__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174498  PyObject *resultobj = 0;
174500  CStdPoint< float > *arg2 = 0 ;
174501  void *argp1 = 0 ;
174502  int res1 = 0 ;
174503  void *argp2 = 0 ;
174504  int res2 = 0 ;
174505  PyObject * obj0 = 0 ;
174506  PyObject * obj1 = 0 ;
174507 
174508  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_Position",&obj0,&obj1)) SWIG_fail;
174509  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
174510  if (!SWIG_IsOK(res1)) {
174511  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Position" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
174512  }
174513  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
174514  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
174515  if (!SWIG_IsOK(res2)) {
174516  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
174517  }
174518  if (!argp2) {
174519  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
174520  }
174521  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
174522  {
174523  try {
174524  (arg1)->Position(*arg2);
174525  }
174526  catch(CStdErrorInfo oError)
174527  {
174528  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174529  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174530  PyErr_SetString(PyExc_IndexError, strError.c_str());
174531  SWIG_fail;
174532  }
174533  catch(...)
174534  {
174535  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174536  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174537  SWIG_fail;
174538  }
174539  }
174540  resultobj = SWIG_Py_Void();
174541  return resultobj;
174542 fail:
174543  return NULL;
174544 }
174545 
174546 
174547 SWIGINTERN PyObject *_wrap_RigidBody_Position(PyObject *self, PyObject *args) {
174548  int argc;
174549  PyObject *argv[6];
174550  int ii;
174551 
174552  if (!PyTuple_Check(args)) SWIG_fail;
174553  argc = args ? (int)PyObject_Length(args) : 0;
174554  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
174555  argv[ii] = PyTuple_GET_ITEM(args,ii);
174556  }
174557  if (argc == 1) {
174558  int _v;
174559  void *vptr = 0;
174560  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
174561  _v = SWIG_CheckState(res);
174562  if (_v) {
174563  return _wrap_RigidBody_Position__SWIG_0(self, args);
174564  }
174565  }
174566  if (argc == 2) {
174567  int _v;
174568  void *vptr = 0;
174569  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
174570  _v = SWIG_CheckState(res);
174571  if (_v) {
174572  void *vptr = 0;
174573  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
174574  _v = SWIG_CheckState(res);
174575  if (_v) {
174576  return _wrap_RigidBody_Position__SWIG_4(self, args);
174577  }
174578  }
174579  }
174580  if (argc == 3) {
174581  int _v;
174582  void *vptr = 0;
174583  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
174584  _v = SWIG_CheckState(res);
174585  if (_v) {
174586  void *vptr = 0;
174587  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
174588  _v = SWIG_CheckState(res);
174589  if (_v) {
174590  {
174591  int res = SWIG_AsVal_bool(argv[2], NULL);
174592  _v = SWIG_CheckState(res);
174593  }
174594  if (_v) {
174595  return _wrap_RigidBody_Position__SWIG_3(self, args);
174596  }
174597  }
174598  }
174599  }
174600  if (argc == 4) {
174601  int _v;
174602  void *vptr = 0;
174603  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
174604  _v = SWIG_CheckState(res);
174605  if (_v) {
174606  void *vptr = 0;
174607  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
174608  _v = SWIG_CheckState(res);
174609  if (_v) {
174610  {
174611  int res = SWIG_AsVal_bool(argv[2], NULL);
174612  _v = SWIG_CheckState(res);
174613  }
174614  if (_v) {
174615  {
174616  int res = SWIG_AsVal_bool(argv[3], NULL);
174617  _v = SWIG_CheckState(res);
174618  }
174619  if (_v) {
174620  return _wrap_RigidBody_Position__SWIG_2(self, args);
174621  }
174622  }
174623  }
174624  }
174625  }
174626  if (argc == 5) {
174627  int _v;
174628  void *vptr = 0;
174629  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
174630  _v = SWIG_CheckState(res);
174631  if (_v) {
174632  void *vptr = 0;
174633  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
174634  _v = SWIG_CheckState(res);
174635  if (_v) {
174636  {
174637  int res = SWIG_AsVal_bool(argv[2], NULL);
174638  _v = SWIG_CheckState(res);
174639  }
174640  if (_v) {
174641  {
174642  int res = SWIG_AsVal_bool(argv[3], NULL);
174643  _v = SWIG_CheckState(res);
174644  }
174645  if (_v) {
174646  {
174647  int res = SWIG_AsVal_bool(argv[4], NULL);
174648  _v = SWIG_CheckState(res);
174649  }
174650  if (_v) {
174651  return _wrap_RigidBody_Position__SWIG_1(self, args);
174652  }
174653  }
174654  }
174655  }
174656  }
174657  }
174658 
174659 fail:
174660  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_Position'.\n"
174661  " Possible C/C++ prototypes are:\n"
174662  " AnimatSim::Environment::RigidBody::Position()\n"
174663  " AnimatSim::Environment::RigidBody::Position(CStdPoint< float > &,bool,bool,bool)\n"
174664  " AnimatSim::Environment::RigidBody::Position(CStdPoint< float > &,bool,bool)\n"
174665  " AnimatSim::Environment::RigidBody::Position(CStdPoint< float > &,bool)\n"
174666  " AnimatSim::Environment::RigidBody::Position(CStdPoint< float > &)\n");
174667  return 0;
174668 }
174669 
174670 
174671 SWIGINTERN PyObject *_wrap_RigidBody_VisualSelectionType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174672  PyObject *resultobj = 0;
174674  void *argp1 = 0 ;
174675  int res1 = 0 ;
174676  PyObject * obj0 = 0 ;
174677  int result;
174678 
174679  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_VisualSelectionType",&obj0)) SWIG_fail;
174680  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
174681  if (!SWIG_IsOK(res1)) {
174682  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_VisualSelectionType" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
174683  }
174684  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
174685  {
174686  try {
174687  result = (int)(arg1)->VisualSelectionType();
174688  }
174689  catch(CStdErrorInfo oError)
174690  {
174691  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174692  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174693  PyErr_SetString(PyExc_IndexError, strError.c_str());
174694  SWIG_fail;
174695  }
174696  catch(...)
174697  {
174698  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174699  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174700  SWIG_fail;
174701  }
174702  }
174703  resultobj = SWIG_From_int(static_cast< int >(result));
174704  return resultobj;
174705 fail:
174706  return NULL;
174707 }
174708 
174709 
174710 SWIGINTERN PyObject *_wrap_RigidBody_CenterOfMass__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174711  PyObject *resultobj = 0;
174713  void *argp1 = 0 ;
174714  int res1 = 0 ;
174715  PyObject * obj0 = 0 ;
174716  CStdPoint< float > result;
174717 
174718  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_CenterOfMass",&obj0)) SWIG_fail;
174719  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
174720  if (!SWIG_IsOK(res1)) {
174721  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_CenterOfMass" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
174722  }
174723  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
174724  {
174725  try {
174726  result = (arg1)->CenterOfMass();
174727  }
174728  catch(CStdErrorInfo oError)
174729  {
174730  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174731  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174732  PyErr_SetString(PyExc_IndexError, strError.c_str());
174733  SWIG_fail;
174734  }
174735  catch(...)
174736  {
174737  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174738  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174739  SWIG_fail;
174740  }
174741  }
174742  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
174743  return resultobj;
174744 fail:
174745  return NULL;
174746 }
174747 
174748 
174749 SWIGINTERN PyObject *_wrap_RigidBody_CenterOfMassWithStaticChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174750  PyObject *resultobj = 0;
174752  void *argp1 = 0 ;
174753  int res1 = 0 ;
174754  PyObject * obj0 = 0 ;
174755  CStdPoint< float > result;
174756 
174757  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_CenterOfMassWithStaticChildren",&obj0)) SWIG_fail;
174758  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
174759  if (!SWIG_IsOK(res1)) {
174760  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_CenterOfMassWithStaticChildren" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
174761  }
174762  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
174763  {
174764  try {
174765  result = (arg1)->CenterOfMassWithStaticChildren();
174766  }
174767  catch(CStdErrorInfo oError)
174768  {
174769  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174770  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174771  PyErr_SetString(PyExc_IndexError, strError.c_str());
174772  SWIG_fail;
174773  }
174774  catch(...)
174775  {
174776  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174777  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174778  SWIG_fail;
174779  }
174780  }
174781  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
174782  return resultobj;
174783 fail:
174784  return NULL;
174785 }
174786 
174787 
174788 SWIGINTERN PyObject *_wrap_RigidBody_CenterOfMass__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174789  PyObject *resultobj = 0;
174791  CStdPoint< float > *arg2 = 0 ;
174792  bool arg3 ;
174793  void *argp1 = 0 ;
174794  int res1 = 0 ;
174795  void *argp2 = 0 ;
174796  int res2 = 0 ;
174797  bool val3 ;
174798  int ecode3 = 0 ;
174799  PyObject * obj0 = 0 ;
174800  PyObject * obj1 = 0 ;
174801  PyObject * obj2 = 0 ;
174802 
174803  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_CenterOfMass",&obj0,&obj1,&obj2)) SWIG_fail;
174804  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
174805  if (!SWIG_IsOK(res1)) {
174806  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_CenterOfMass" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
174807  }
174808  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
174809  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
174810  if (!SWIG_IsOK(res2)) {
174811  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_CenterOfMass" "', argument " "2"" of type '" "CStdPoint< float > &""'");
174812  }
174813  if (!argp2) {
174814  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_CenterOfMass" "', argument " "2"" of type '" "CStdPoint< float > &""'");
174815  }
174816  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
174817  ecode3 = SWIG_AsVal_bool(obj2, &val3);
174818  if (!SWIG_IsOK(ecode3)) {
174819  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_CenterOfMass" "', argument " "3"" of type '" "bool""'");
174820  }
174821  arg3 = static_cast< bool >(val3);
174822  {
174823  try {
174824  (arg1)->CenterOfMass(*arg2,arg3);
174825  }
174826  catch(CStdErrorInfo oError)
174827  {
174828  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174829  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174830  PyErr_SetString(PyExc_IndexError, strError.c_str());
174831  SWIG_fail;
174832  }
174833  catch(...)
174834  {
174835  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174836  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174837  SWIG_fail;
174838  }
174839  }
174840  resultobj = SWIG_Py_Void();
174841  return resultobj;
174842 fail:
174843  return NULL;
174844 }
174845 
174846 
174847 SWIGINTERN PyObject *_wrap_RigidBody_CenterOfMass__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174848  PyObject *resultobj = 0;
174850  CStdPoint< float > *arg2 = 0 ;
174851  void *argp1 = 0 ;
174852  int res1 = 0 ;
174853  void *argp2 = 0 ;
174854  int res2 = 0 ;
174855  PyObject * obj0 = 0 ;
174856  PyObject * obj1 = 0 ;
174857 
174858  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_CenterOfMass",&obj0,&obj1)) SWIG_fail;
174859  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
174860  if (!SWIG_IsOK(res1)) {
174861  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_CenterOfMass" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
174862  }
174863  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
174864  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
174865  if (!SWIG_IsOK(res2)) {
174866  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_CenterOfMass" "', argument " "2"" of type '" "CStdPoint< float > &""'");
174867  }
174868  if (!argp2) {
174869  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_CenterOfMass" "', argument " "2"" of type '" "CStdPoint< float > &""'");
174870  }
174871  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
174872  {
174873  try {
174874  (arg1)->CenterOfMass(*arg2);
174875  }
174876  catch(CStdErrorInfo oError)
174877  {
174878  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174879  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174880  PyErr_SetString(PyExc_IndexError, strError.c_str());
174881  SWIG_fail;
174882  }
174883  catch(...)
174884  {
174885  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174886  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174887  SWIG_fail;
174888  }
174889  }
174890  resultobj = SWIG_Py_Void();
174891  return resultobj;
174892 fail:
174893  return NULL;
174894 }
174895 
174896 
174897 SWIGINTERN PyObject *_wrap_RigidBody_CenterOfMass__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174898  PyObject *resultobj = 0;
174900  float arg2 ;
174901  float arg3 ;
174902  float arg4 ;
174903  bool arg5 ;
174904  void *argp1 = 0 ;
174905  int res1 = 0 ;
174906  float val2 ;
174907  int ecode2 = 0 ;
174908  float val3 ;
174909  int ecode3 = 0 ;
174910  float val4 ;
174911  int ecode4 = 0 ;
174912  bool val5 ;
174913  int ecode5 = 0 ;
174914  PyObject * obj0 = 0 ;
174915  PyObject * obj1 = 0 ;
174916  PyObject * obj2 = 0 ;
174917  PyObject * obj3 = 0 ;
174918  PyObject * obj4 = 0 ;
174919 
174920  if (!PyArg_ParseTuple(args,(char *)"OOOOO:RigidBody_CenterOfMass",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
174921  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
174922  if (!SWIG_IsOK(res1)) {
174923  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_CenterOfMass" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
174924  }
174925  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
174926  ecode2 = SWIG_AsVal_float(obj1, &val2);
174927  if (!SWIG_IsOK(ecode2)) {
174928  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_CenterOfMass" "', argument " "2"" of type '" "float""'");
174929  }
174930  arg2 = static_cast< float >(val2);
174931  ecode3 = SWIG_AsVal_float(obj2, &val3);
174932  if (!SWIG_IsOK(ecode3)) {
174933  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_CenterOfMass" "', argument " "3"" of type '" "float""'");
174934  }
174935  arg3 = static_cast< float >(val3);
174936  ecode4 = SWIG_AsVal_float(obj3, &val4);
174937  if (!SWIG_IsOK(ecode4)) {
174938  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_CenterOfMass" "', argument " "4"" of type '" "float""'");
174939  }
174940  arg4 = static_cast< float >(val4);
174941  ecode5 = SWIG_AsVal_bool(obj4, &val5);
174942  if (!SWIG_IsOK(ecode5)) {
174943  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RigidBody_CenterOfMass" "', argument " "5"" of type '" "bool""'");
174944  }
174945  arg5 = static_cast< bool >(val5);
174946  {
174947  try {
174948  (arg1)->CenterOfMass(arg2,arg3,arg4,arg5);
174949  }
174950  catch(CStdErrorInfo oError)
174951  {
174952  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174953  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
174954  PyErr_SetString(PyExc_IndexError, strError.c_str());
174955  SWIG_fail;
174956  }
174957  catch(...)
174958  {
174959  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
174960  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
174961  SWIG_fail;
174962  }
174963  }
174964  resultobj = SWIG_Py_Void();
174965  return resultobj;
174966 fail:
174967  return NULL;
174968 }
174969 
174970 
174971 SWIGINTERN PyObject *_wrap_RigidBody_CenterOfMass__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
174972  PyObject *resultobj = 0;
174974  float arg2 ;
174975  float arg3 ;
174976  float arg4 ;
174977  void *argp1 = 0 ;
174978  int res1 = 0 ;
174979  float val2 ;
174980  int ecode2 = 0 ;
174981  float val3 ;
174982  int ecode3 = 0 ;
174983  float val4 ;
174984  int ecode4 = 0 ;
174985  PyObject * obj0 = 0 ;
174986  PyObject * obj1 = 0 ;
174987  PyObject * obj2 = 0 ;
174988  PyObject * obj3 = 0 ;
174989 
174990  if (!PyArg_ParseTuple(args,(char *)"OOOO:RigidBody_CenterOfMass",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
174991  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
174992  if (!SWIG_IsOK(res1)) {
174993  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_CenterOfMass" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
174994  }
174995  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
174996  ecode2 = SWIG_AsVal_float(obj1, &val2);
174997  if (!SWIG_IsOK(ecode2)) {
174998  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_CenterOfMass" "', argument " "2"" of type '" "float""'");
174999  }
175000  arg2 = static_cast< float >(val2);
175001  ecode3 = SWIG_AsVal_float(obj2, &val3);
175002  if (!SWIG_IsOK(ecode3)) {
175003  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_CenterOfMass" "', argument " "3"" of type '" "float""'");
175004  }
175005  arg3 = static_cast< float >(val3);
175006  ecode4 = SWIG_AsVal_float(obj3, &val4);
175007  if (!SWIG_IsOK(ecode4)) {
175008  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_CenterOfMass" "', argument " "4"" of type '" "float""'");
175009  }
175010  arg4 = static_cast< float >(val4);
175011  {
175012  try {
175013  (arg1)->CenterOfMass(arg2,arg3,arg4);
175014  }
175015  catch(CStdErrorInfo oError)
175016  {
175017  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175018  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
175019  PyErr_SetString(PyExc_IndexError, strError.c_str());
175020  SWIG_fail;
175021  }
175022  catch(...)
175023  {
175024  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175025  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
175026  SWIG_fail;
175027  }
175028  }
175029  resultobj = SWIG_Py_Void();
175030  return resultobj;
175031 fail:
175032  return NULL;
175033 }
175034 
175035 
175036 SWIGINTERN PyObject *_wrap_RigidBody_CenterOfMass__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
175037  PyObject *resultobj = 0;
175039  std::string arg2 ;
175040  bool arg3 ;
175041  void *argp1 = 0 ;
175042  int res1 = 0 ;
175043  bool val3 ;
175044  int ecode3 = 0 ;
175045  PyObject * obj0 = 0 ;
175046  PyObject * obj1 = 0 ;
175047  PyObject * obj2 = 0 ;
175048 
175049  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_CenterOfMass",&obj0,&obj1,&obj2)) SWIG_fail;
175050  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
175051  if (!SWIG_IsOK(res1)) {
175052  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_CenterOfMass" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
175053  }
175054  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
175055  {
175056  std::string *ptr = (std::string *)0;
175057  int res = SWIG_AsPtr_std_string(obj1, &ptr);
175058  if (!SWIG_IsOK(res) || !ptr) {
175059  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RigidBody_CenterOfMass" "', argument " "2"" of type '" "std::string""'");
175060  }
175061  arg2 = *ptr;
175062  if (SWIG_IsNewObj(res)) delete ptr;
175063  }
175064  ecode3 = SWIG_AsVal_bool(obj2, &val3);
175065  if (!SWIG_IsOK(ecode3)) {
175066  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_CenterOfMass" "', argument " "3"" of type '" "bool""'");
175067  }
175068  arg3 = static_cast< bool >(val3);
175069  {
175070  try {
175071  (arg1)->CenterOfMass(arg2,arg3);
175072  }
175073  catch(CStdErrorInfo oError)
175074  {
175075  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175076  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
175077  PyErr_SetString(PyExc_IndexError, strError.c_str());
175078  SWIG_fail;
175079  }
175080  catch(...)
175081  {
175082  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175083  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
175084  SWIG_fail;
175085  }
175086  }
175087  resultobj = SWIG_Py_Void();
175088  return resultobj;
175089 fail:
175090  return NULL;
175091 }
175092 
175093 
175094 SWIGINTERN PyObject *_wrap_RigidBody_CenterOfMass__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
175095  PyObject *resultobj = 0;
175097  std::string arg2 ;
175098  void *argp1 = 0 ;
175099  int res1 = 0 ;
175100  PyObject * obj0 = 0 ;
175101  PyObject * obj1 = 0 ;
175102 
175103  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_CenterOfMass",&obj0,&obj1)) SWIG_fail;
175104  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
175105  if (!SWIG_IsOK(res1)) {
175106  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_CenterOfMass" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
175107  }
175108  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
175109  {
175110  std::string *ptr = (std::string *)0;
175111  int res = SWIG_AsPtr_std_string(obj1, &ptr);
175112  if (!SWIG_IsOK(res) || !ptr) {
175113  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RigidBody_CenterOfMass" "', argument " "2"" of type '" "std::string""'");
175114  }
175115  arg2 = *ptr;
175116  if (SWIG_IsNewObj(res)) delete ptr;
175117  }
175118  {
175119  try {
175120  (arg1)->CenterOfMass(arg2);
175121  }
175122  catch(CStdErrorInfo oError)
175123  {
175124  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175125  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
175126  PyErr_SetString(PyExc_IndexError, strError.c_str());
175127  SWIG_fail;
175128  }
175129  catch(...)
175130  {
175131  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175132  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
175133  SWIG_fail;
175134  }
175135  }
175136  resultobj = SWIG_Py_Void();
175137  return resultobj;
175138 fail:
175139  return NULL;
175140 }
175141 
175142 
175143 SWIGINTERN PyObject *_wrap_RigidBody_CenterOfMass(PyObject *self, PyObject *args) {
175144  int argc;
175145  PyObject *argv[6];
175146  int ii;
175147 
175148  if (!PyTuple_Check(args)) SWIG_fail;
175149  argc = args ? (int)PyObject_Length(args) : 0;
175150  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
175151  argv[ii] = PyTuple_GET_ITEM(args,ii);
175152  }
175153  if (argc == 1) {
175154  int _v;
175155  void *vptr = 0;
175156  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
175157  _v = SWIG_CheckState(res);
175158  if (_v) {
175159  return _wrap_RigidBody_CenterOfMass__SWIG_1(self, args);
175160  }
175161  }
175162  if (argc == 2) {
175163  int _v;
175164  void *vptr = 0;
175165  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
175166  _v = SWIG_CheckState(res);
175167  if (_v) {
175168  void *vptr = 0;
175169  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
175170  _v = SWIG_CheckState(res);
175171  if (_v) {
175172  return _wrap_RigidBody_CenterOfMass__SWIG_3(self, args);
175173  }
175174  }
175175  }
175176  if (argc == 2) {
175177  int _v;
175178  void *vptr = 0;
175179  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
175180  _v = SWIG_CheckState(res);
175181  if (_v) {
175182  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
175183  _v = SWIG_CheckState(res);
175184  if (_v) {
175185  return _wrap_RigidBody_CenterOfMass__SWIG_7(self, args);
175186  }
175187  }
175188  }
175189  if (argc == 3) {
175190  int _v;
175191  void *vptr = 0;
175192  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
175193  _v = SWIG_CheckState(res);
175194  if (_v) {
175195  void *vptr = 0;
175196  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
175197  _v = SWIG_CheckState(res);
175198  if (_v) {
175199  {
175200  int res = SWIG_AsVal_bool(argv[2], NULL);
175201  _v = SWIG_CheckState(res);
175202  }
175203  if (_v) {
175204  return _wrap_RigidBody_CenterOfMass__SWIG_2(self, args);
175205  }
175206  }
175207  }
175208  }
175209  if (argc == 3) {
175210  int _v;
175211  void *vptr = 0;
175212  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
175213  _v = SWIG_CheckState(res);
175214  if (_v) {
175215  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
175216  _v = SWIG_CheckState(res);
175217  if (_v) {
175218  {
175219  int res = SWIG_AsVal_bool(argv[2], NULL);
175220  _v = SWIG_CheckState(res);
175221  }
175222  if (_v) {
175223  return _wrap_RigidBody_CenterOfMass__SWIG_6(self, args);
175224  }
175225  }
175226  }
175227  }
175228  if (argc == 4) {
175229  int _v;
175230  void *vptr = 0;
175231  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
175232  _v = SWIG_CheckState(res);
175233  if (_v) {
175234  {
175235  int res = SWIG_AsVal_float(argv[1], NULL);
175236  _v = SWIG_CheckState(res);
175237  }
175238  if (_v) {
175239  {
175240  int res = SWIG_AsVal_float(argv[2], NULL);
175241  _v = SWIG_CheckState(res);
175242  }
175243  if (_v) {
175244  {
175245  int res = SWIG_AsVal_float(argv[3], NULL);
175246  _v = SWIG_CheckState(res);
175247  }
175248  if (_v) {
175249  return _wrap_RigidBody_CenterOfMass__SWIG_5(self, args);
175250  }
175251  }
175252  }
175253  }
175254  }
175255  if (argc == 5) {
175256  int _v;
175257  void *vptr = 0;
175258  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
175259  _v = SWIG_CheckState(res);
175260  if (_v) {
175261  {
175262  int res = SWIG_AsVal_float(argv[1], NULL);
175263  _v = SWIG_CheckState(res);
175264  }
175265  if (_v) {
175266  {
175267  int res = SWIG_AsVal_float(argv[2], NULL);
175268  _v = SWIG_CheckState(res);
175269  }
175270  if (_v) {
175271  {
175272  int res = SWIG_AsVal_float(argv[3], NULL);
175273  _v = SWIG_CheckState(res);
175274  }
175275  if (_v) {
175276  {
175277  int res = SWIG_AsVal_bool(argv[4], NULL);
175278  _v = SWIG_CheckState(res);
175279  }
175280  if (_v) {
175281  return _wrap_RigidBody_CenterOfMass__SWIG_4(self, args);
175282  }
175283  }
175284  }
175285  }
175286  }
175287  }
175288 
175289 fail:
175290  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_CenterOfMass'.\n"
175291  " Possible C/C++ prototypes are:\n"
175292  " AnimatSim::Environment::RigidBody::CenterOfMass()\n"
175293  " AnimatSim::Environment::RigidBody::CenterOfMass(CStdPoint< float > &,bool)\n"
175294  " AnimatSim::Environment::RigidBody::CenterOfMass(CStdPoint< float > &)\n"
175295  " AnimatSim::Environment::RigidBody::CenterOfMass(float,float,float,bool)\n"
175296  " AnimatSim::Environment::RigidBody::CenterOfMass(float,float,float)\n"
175297  " AnimatSim::Environment::RigidBody::CenterOfMass(std::string,bool)\n"
175298  " AnimatSim::Environment::RigidBody::CenterOfMass(std::string)\n");
175299  return 0;
175300 }
175301 
175302 
175303 SWIGINTERN PyObject *_wrap_RigidBody_ChildParts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
175304  PyObject *resultobj = 0;
175306  void *argp1 = 0 ;
175307  int res1 = 0 ;
175308  PyObject * obj0 = 0 ;
175309  CStdPtrArray< AnimatSim::Environment::RigidBody > *result = 0 ;
175310 
175311  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_ChildParts",&obj0)) SWIG_fail;
175312  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
175313  if (!SWIG_IsOK(res1)) {
175314  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_ChildParts" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
175315  }
175316  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
175317  {
175318  try {
175319  result = (CStdPtrArray< AnimatSim::Environment::RigidBody > *)(arg1)->ChildParts();
175320  }
175321  catch(CStdErrorInfo oError)
175322  {
175323  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175324  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
175325  PyErr_SetString(PyExc_IndexError, strError.c_str());
175326  SWIG_fail;
175327  }
175328  catch(...)
175329  {
175330  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175331  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
175332  SWIG_fail;
175333  }
175334  }
175335  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_AnimatSim__Environment__RigidBody_t, 0 | 0 );
175336  return resultobj;
175337 fail:
175338  return NULL;
175339 }
175340 
175341 
175342 SWIGINTERN PyObject *_wrap_RigidBody_JointToParent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
175343  PyObject *resultobj = 0;
175345  void *argp1 = 0 ;
175346  int res1 = 0 ;
175347  PyObject * obj0 = 0 ;
175348  AnimatSim::Environment::Joint *result = 0 ;
175349 
175350  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_JointToParent",&obj0)) SWIG_fail;
175351  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
175352  if (!SWIG_IsOK(res1)) {
175353  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_JointToParent" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
175354  }
175355  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
175356  {
175357  try {
175358  result = (AnimatSim::Environment::Joint *)(arg1)->JointToParent();
175359  }
175360  catch(CStdErrorInfo oError)
175361  {
175362  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175363  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
175364  PyErr_SetString(PyExc_IndexError, strError.c_str());
175365  SWIG_fail;
175366  }
175367  catch(...)
175368  {
175369  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175370  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
175371  SWIG_fail;
175372  }
175373  }
175374  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
175375  return resultobj;
175376 fail:
175377  return NULL;
175378 }
175379 
175380 
175381 SWIGINTERN PyObject *_wrap_RigidBody_JointToParent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
175382  PyObject *resultobj = 0;
175385  void *argp1 = 0 ;
175386  int res1 = 0 ;
175387  void *argp2 = 0 ;
175388  int res2 = 0 ;
175389  PyObject * obj0 = 0 ;
175390  PyObject * obj1 = 0 ;
175391 
175392  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_JointToParent",&obj0,&obj1)) SWIG_fail;
175393  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
175394  if (!SWIG_IsOK(res1)) {
175395  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_JointToParent" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
175396  }
175397  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
175398  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
175399  if (!SWIG_IsOK(res2)) {
175400  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_JointToParent" "', argument " "2"" of type '" "AnimatSim::Environment::Joint *""'");
175401  }
175402  arg2 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp2);
175403  {
175404  try {
175405  (arg1)->JointToParent(arg2);
175406  }
175407  catch(CStdErrorInfo oError)
175408  {
175409  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175410  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
175411  PyErr_SetString(PyExc_IndexError, strError.c_str());
175412  SWIG_fail;
175413  }
175414  catch(...)
175415  {
175416  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175417  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
175418  SWIG_fail;
175419  }
175420  }
175421  resultobj = SWIG_Py_Void();
175422  return resultobj;
175423 fail:
175424  return NULL;
175425 }
175426 
175427 
175428 SWIGINTERN PyObject *_wrap_RigidBody_JointToParent(PyObject *self, PyObject *args) {
175429  int argc;
175430  PyObject *argv[3];
175431  int ii;
175432 
175433  if (!PyTuple_Check(args)) SWIG_fail;
175434  argc = args ? (int)PyObject_Length(args) : 0;
175435  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
175436  argv[ii] = PyTuple_GET_ITEM(args,ii);
175437  }
175438  if (argc == 1) {
175439  int _v;
175440  void *vptr = 0;
175441  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
175442  _v = SWIG_CheckState(res);
175443  if (_v) {
175444  return _wrap_RigidBody_JointToParent__SWIG_0(self, args);
175445  }
175446  }
175447  if (argc == 2) {
175448  int _v;
175449  void *vptr = 0;
175450  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
175451  _v = SWIG_CheckState(res);
175452  if (_v) {
175453  void *vptr = 0;
175454  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Environment__Joint, 0);
175455  _v = SWIG_CheckState(res);
175456  if (_v) {
175457  return _wrap_RigidBody_JointToParent__SWIG_1(self, args);
175458  }
175459  }
175460  }
175461 
175462 fail:
175463  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_JointToParent'.\n"
175464  " Possible C/C++ prototypes are:\n"
175465  " AnimatSim::Environment::RigidBody::JointToParent()\n"
175466  " AnimatSim::Environment::RigidBody::JointToParent(AnimatSim::Environment::Joint *)\n");
175467  return 0;
175468 }
175469 
175470 
175471 SWIGINTERN PyObject *_wrap_RigidBody_GetContactSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
175472  PyObject *resultobj = 0;
175474  void *argp1 = 0 ;
175475  int res1 = 0 ;
175476  PyObject * obj0 = 0 ;
175478 
175479  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_GetContactSensor",&obj0)) SWIG_fail;
175480  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
175481  if (!SWIG_IsOK(res1)) {
175482  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_GetContactSensor" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
175483  }
175484  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
175485  {
175486  try {
175487  result = (AnimatSim::Environment::ContactSensor *)(arg1)->GetContactSensor();
175488  }
175489  catch(CStdErrorInfo oError)
175490  {
175491  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175492  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
175493  PyErr_SetString(PyExc_IndexError, strError.c_str());
175494  SWIG_fail;
175495  }
175496  catch(...)
175497  {
175498  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175499  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
175500  SWIG_fail;
175501  }
175502  }
175503  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__ContactSensor, 0 | 0 );
175504  return resultobj;
175505 fail:
175506  return NULL;
175507 }
175508 
175509 
175510 SWIGINTERN PyObject *_wrap_RigidBody_Density__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
175511  PyObject *resultobj = 0;
175513  void *argp1 = 0 ;
175514  int res1 = 0 ;
175515  PyObject * obj0 = 0 ;
175516  float result;
175517 
175518  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_Density",&obj0)) SWIG_fail;
175519  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
175520  if (!SWIG_IsOK(res1)) {
175521  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Density" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
175522  }
175523  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
175524  {
175525  try {
175526  result = (float)(arg1)->Density();
175527  }
175528  catch(CStdErrorInfo oError)
175529  {
175530  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175531  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
175532  PyErr_SetString(PyExc_IndexError, strError.c_str());
175533  SWIG_fail;
175534  }
175535  catch(...)
175536  {
175537  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175538  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
175539  SWIG_fail;
175540  }
175541  }
175542  resultobj = SWIG_From_float(static_cast< float >(result));
175543  return resultobj;
175544 fail:
175545  return NULL;
175546 }
175547 
175548 
175549 SWIGINTERN PyObject *_wrap_RigidBody_Density__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
175550  PyObject *resultobj = 0;
175552  float arg2 ;
175553  bool arg3 ;
175554  void *argp1 = 0 ;
175555  int res1 = 0 ;
175556  float val2 ;
175557  int ecode2 = 0 ;
175558  bool val3 ;
175559  int ecode3 = 0 ;
175560  PyObject * obj0 = 0 ;
175561  PyObject * obj1 = 0 ;
175562  PyObject * obj2 = 0 ;
175563 
175564  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_Density",&obj0,&obj1,&obj2)) SWIG_fail;
175565  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
175566  if (!SWIG_IsOK(res1)) {
175567  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Density" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
175568  }
175569  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
175570  ecode2 = SWIG_AsVal_float(obj1, &val2);
175571  if (!SWIG_IsOK(ecode2)) {
175572  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_Density" "', argument " "2"" of type '" "float""'");
175573  }
175574  arg2 = static_cast< float >(val2);
175575  ecode3 = SWIG_AsVal_bool(obj2, &val3);
175576  if (!SWIG_IsOK(ecode3)) {
175577  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_Density" "', argument " "3"" of type '" "bool""'");
175578  }
175579  arg3 = static_cast< bool >(val3);
175580  {
175581  try {
175582  (arg1)->Density(arg2,arg3);
175583  }
175584  catch(CStdErrorInfo oError)
175585  {
175586  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175587  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
175588  PyErr_SetString(PyExc_IndexError, strError.c_str());
175589  SWIG_fail;
175590  }
175591  catch(...)
175592  {
175593  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175594  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
175595  SWIG_fail;
175596  }
175597  }
175598  resultobj = SWIG_Py_Void();
175599  return resultobj;
175600 fail:
175601  return NULL;
175602 }
175603 
175604 
175605 SWIGINTERN PyObject *_wrap_RigidBody_Density__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
175606  PyObject *resultobj = 0;
175608  float arg2 ;
175609  void *argp1 = 0 ;
175610  int res1 = 0 ;
175611  float val2 ;
175612  int ecode2 = 0 ;
175613  PyObject * obj0 = 0 ;
175614  PyObject * obj1 = 0 ;
175615 
175616  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_Density",&obj0,&obj1)) SWIG_fail;
175617  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
175618  if (!SWIG_IsOK(res1)) {
175619  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Density" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
175620  }
175621  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
175622  ecode2 = SWIG_AsVal_float(obj1, &val2);
175623  if (!SWIG_IsOK(ecode2)) {
175624  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_Density" "', argument " "2"" of type '" "float""'");
175625  }
175626  arg2 = static_cast< float >(val2);
175627  {
175628  try {
175629  (arg1)->Density(arg2);
175630  }
175631  catch(CStdErrorInfo oError)
175632  {
175633  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175634  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
175635  PyErr_SetString(PyExc_IndexError, strError.c_str());
175636  SWIG_fail;
175637  }
175638  catch(...)
175639  {
175640  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175641  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
175642  SWIG_fail;
175643  }
175644  }
175645  resultobj = SWIG_Py_Void();
175646  return resultobj;
175647 fail:
175648  return NULL;
175649 }
175650 
175651 
175652 SWIGINTERN PyObject *_wrap_RigidBody_Density(PyObject *self, PyObject *args) {
175653  int argc;
175654  PyObject *argv[4];
175655  int ii;
175656 
175657  if (!PyTuple_Check(args)) SWIG_fail;
175658  argc = args ? (int)PyObject_Length(args) : 0;
175659  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
175660  argv[ii] = PyTuple_GET_ITEM(args,ii);
175661  }
175662  if (argc == 1) {
175663  int _v;
175664  void *vptr = 0;
175665  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
175666  _v = SWIG_CheckState(res);
175667  if (_v) {
175668  return _wrap_RigidBody_Density__SWIG_0(self, args);
175669  }
175670  }
175671  if (argc == 2) {
175672  int _v;
175673  void *vptr = 0;
175674  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
175675  _v = SWIG_CheckState(res);
175676  if (_v) {
175677  {
175678  int res = SWIG_AsVal_float(argv[1], NULL);
175679  _v = SWIG_CheckState(res);
175680  }
175681  if (_v) {
175682  return _wrap_RigidBody_Density__SWIG_2(self, args);
175683  }
175684  }
175685  }
175686  if (argc == 3) {
175687  int _v;
175688  void *vptr = 0;
175689  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
175690  _v = SWIG_CheckState(res);
175691  if (_v) {
175692  {
175693  int res = SWIG_AsVal_float(argv[1], NULL);
175694  _v = SWIG_CheckState(res);
175695  }
175696  if (_v) {
175697  {
175698  int res = SWIG_AsVal_bool(argv[2], NULL);
175699  _v = SWIG_CheckState(res);
175700  }
175701  if (_v) {
175702  return _wrap_RigidBody_Density__SWIG_1(self, args);
175703  }
175704  }
175705  }
175706  }
175707 
175708 fail:
175709  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_Density'.\n"
175710  " Possible C/C++ prototypes are:\n"
175711  " AnimatSim::Environment::RigidBody::Density()\n"
175712  " AnimatSim::Environment::RigidBody::Density(float,bool)\n"
175713  " AnimatSim::Environment::RigidBody::Density(float)\n");
175714  return 0;
175715 }
175716 
175717 
175718 SWIGINTERN PyObject *_wrap_RigidBody_Mass__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
175719  PyObject *resultobj = 0;
175721  void *argp1 = 0 ;
175722  int res1 = 0 ;
175723  PyObject * obj0 = 0 ;
175724  float result;
175725 
175726  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_Mass",&obj0)) SWIG_fail;
175727  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
175728  if (!SWIG_IsOK(res1)) {
175729  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Mass" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
175730  }
175731  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
175732  {
175733  try {
175734  result = (float)(arg1)->Mass();
175735  }
175736  catch(CStdErrorInfo oError)
175737  {
175738  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175739  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
175740  PyErr_SetString(PyExc_IndexError, strError.c_str());
175741  SWIG_fail;
175742  }
175743  catch(...)
175744  {
175745  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175746  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
175747  SWIG_fail;
175748  }
175749  }
175750  resultobj = SWIG_From_float(static_cast< float >(result));
175751  return resultobj;
175752 fail:
175753  return NULL;
175754 }
175755 
175756 
175757 SWIGINTERN PyObject *_wrap_RigidBody_Mass__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
175758  PyObject *resultobj = 0;
175760  float arg2 ;
175761  bool arg3 ;
175762  void *argp1 = 0 ;
175763  int res1 = 0 ;
175764  float val2 ;
175765  int ecode2 = 0 ;
175766  bool val3 ;
175767  int ecode3 = 0 ;
175768  PyObject * obj0 = 0 ;
175769  PyObject * obj1 = 0 ;
175770  PyObject * obj2 = 0 ;
175771 
175772  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_Mass",&obj0,&obj1,&obj2)) SWIG_fail;
175773  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
175774  if (!SWIG_IsOK(res1)) {
175775  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Mass" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
175776  }
175777  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
175778  ecode2 = SWIG_AsVal_float(obj1, &val2);
175779  if (!SWIG_IsOK(ecode2)) {
175780  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_Mass" "', argument " "2"" of type '" "float""'");
175781  }
175782  arg2 = static_cast< float >(val2);
175783  ecode3 = SWIG_AsVal_bool(obj2, &val3);
175784  if (!SWIG_IsOK(ecode3)) {
175785  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_Mass" "', argument " "3"" of type '" "bool""'");
175786  }
175787  arg3 = static_cast< bool >(val3);
175788  {
175789  try {
175790  (arg1)->Mass(arg2,arg3);
175791  }
175792  catch(CStdErrorInfo oError)
175793  {
175794  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175795  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
175796  PyErr_SetString(PyExc_IndexError, strError.c_str());
175797  SWIG_fail;
175798  }
175799  catch(...)
175800  {
175801  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175802  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
175803  SWIG_fail;
175804  }
175805  }
175806  resultobj = SWIG_Py_Void();
175807  return resultobj;
175808 fail:
175809  return NULL;
175810 }
175811 
175812 
175813 SWIGINTERN PyObject *_wrap_RigidBody_Mass__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
175814  PyObject *resultobj = 0;
175816  float arg2 ;
175817  void *argp1 = 0 ;
175818  int res1 = 0 ;
175819  float val2 ;
175820  int ecode2 = 0 ;
175821  PyObject * obj0 = 0 ;
175822  PyObject * obj1 = 0 ;
175823 
175824  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_Mass",&obj0,&obj1)) SWIG_fail;
175825  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
175826  if (!SWIG_IsOK(res1)) {
175827  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Mass" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
175828  }
175829  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
175830  ecode2 = SWIG_AsVal_float(obj1, &val2);
175831  if (!SWIG_IsOK(ecode2)) {
175832  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_Mass" "', argument " "2"" of type '" "float""'");
175833  }
175834  arg2 = static_cast< float >(val2);
175835  {
175836  try {
175837  (arg1)->Mass(arg2);
175838  }
175839  catch(CStdErrorInfo oError)
175840  {
175841  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175842  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
175843  PyErr_SetString(PyExc_IndexError, strError.c_str());
175844  SWIG_fail;
175845  }
175846  catch(...)
175847  {
175848  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175849  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
175850  SWIG_fail;
175851  }
175852  }
175853  resultobj = SWIG_Py_Void();
175854  return resultobj;
175855 fail:
175856  return NULL;
175857 }
175858 
175859 
175860 SWIGINTERN PyObject *_wrap_RigidBody_Mass(PyObject *self, PyObject *args) {
175861  int argc;
175862  PyObject *argv[4];
175863  int ii;
175864 
175865  if (!PyTuple_Check(args)) SWIG_fail;
175866  argc = args ? (int)PyObject_Length(args) : 0;
175867  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
175868  argv[ii] = PyTuple_GET_ITEM(args,ii);
175869  }
175870  if (argc == 1) {
175871  int _v;
175872  void *vptr = 0;
175873  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
175874  _v = SWIG_CheckState(res);
175875  if (_v) {
175876  return _wrap_RigidBody_Mass__SWIG_1(self, args);
175877  }
175878  }
175879  if (argc == 2) {
175880  int _v;
175881  void *vptr = 0;
175882  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
175883  _v = SWIG_CheckState(res);
175884  if (_v) {
175885  {
175886  int res = SWIG_AsVal_float(argv[1], NULL);
175887  _v = SWIG_CheckState(res);
175888  }
175889  if (_v) {
175890  return _wrap_RigidBody_Mass__SWIG_3(self, args);
175891  }
175892  }
175893  }
175894  if (argc == 3) {
175895  int _v;
175896  void *vptr = 0;
175897  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
175898  _v = SWIG_CheckState(res);
175899  if (_v) {
175900  {
175901  int res = SWIG_AsVal_float(argv[1], NULL);
175902  _v = SWIG_CheckState(res);
175903  }
175904  if (_v) {
175905  {
175906  int res = SWIG_AsVal_bool(argv[2], NULL);
175907  _v = SWIG_CheckState(res);
175908  }
175909  if (_v) {
175910  return _wrap_RigidBody_Mass__SWIG_2(self, args);
175911  }
175912  }
175913  }
175914  }
175915 
175916 fail:
175917  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_Mass'.\n"
175918  " Possible C/C++ prototypes are:\n"
175919  " AnimatSim::Environment::RigidBody::Mass()\n"
175920  " AnimatSim::Environment::RigidBody::Mass(float,bool)\n"
175921  " AnimatSim::Environment::RigidBody::Mass(float)\n");
175922  return 0;
175923 }
175924 
175925 
175926 SWIGINTERN PyObject *_wrap_RigidBody_MassWithChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
175927  PyObject *resultobj = 0;
175929  void *argp1 = 0 ;
175930  int res1 = 0 ;
175931  PyObject * obj0 = 0 ;
175932  float result;
175933 
175934  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_MassWithChildren",&obj0)) SWIG_fail;
175935  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
175936  if (!SWIG_IsOK(res1)) {
175937  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_MassWithChildren" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
175938  }
175939  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
175940  {
175941  try {
175942  result = (float)(arg1)->MassWithChildren();
175943  }
175944  catch(CStdErrorInfo oError)
175945  {
175946  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175947  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
175948  PyErr_SetString(PyExc_IndexError, strError.c_str());
175949  SWIG_fail;
175950  }
175951  catch(...)
175952  {
175953  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175954  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
175955  SWIG_fail;
175956  }
175957  }
175958  resultobj = SWIG_From_float(static_cast< float >(result));
175959  return resultobj;
175960 fail:
175961  return NULL;
175962 }
175963 
175964 
175965 SWIGINTERN PyObject *_wrap_RigidBody_Volume__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
175966  PyObject *resultobj = 0;
175968  void *argp1 = 0 ;
175969  int res1 = 0 ;
175970  PyObject * obj0 = 0 ;
175971  float result;
175972 
175973  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_Volume",&obj0)) SWIG_fail;
175974  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
175975  if (!SWIG_IsOK(res1)) {
175976  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Volume" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
175977  }
175978  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
175979  {
175980  try {
175981  result = (float)(arg1)->Volume();
175982  }
175983  catch(CStdErrorInfo oError)
175984  {
175985  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175986  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
175987  PyErr_SetString(PyExc_IndexError, strError.c_str());
175988  SWIG_fail;
175989  }
175990  catch(...)
175991  {
175992  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
175993  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
175994  SWIG_fail;
175995  }
175996  }
175997  resultobj = SWIG_From_float(static_cast< float >(result));
175998  return resultobj;
175999 fail:
176000  return NULL;
176001 }
176002 
176003 
176004 SWIGINTERN PyObject *_wrap_RigidBody_Volume__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176005  PyObject *resultobj = 0;
176007  float arg2 ;
176008  bool arg3 ;
176009  void *argp1 = 0 ;
176010  int res1 = 0 ;
176011  float val2 ;
176012  int ecode2 = 0 ;
176013  bool val3 ;
176014  int ecode3 = 0 ;
176015  PyObject * obj0 = 0 ;
176016  PyObject * obj1 = 0 ;
176017  PyObject * obj2 = 0 ;
176018 
176019  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_Volume",&obj0,&obj1,&obj2)) SWIG_fail;
176020  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176021  if (!SWIG_IsOK(res1)) {
176022  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Volume" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
176023  }
176024  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
176025  ecode2 = SWIG_AsVal_float(obj1, &val2);
176026  if (!SWIG_IsOK(ecode2)) {
176027  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_Volume" "', argument " "2"" of type '" "float""'");
176028  }
176029  arg2 = static_cast< float >(val2);
176030  ecode3 = SWIG_AsVal_bool(obj2, &val3);
176031  if (!SWIG_IsOK(ecode3)) {
176032  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_Volume" "', argument " "3"" of type '" "bool""'");
176033  }
176034  arg3 = static_cast< bool >(val3);
176035  {
176036  try {
176037  (arg1)->Volume(arg2,arg3);
176038  }
176039  catch(CStdErrorInfo oError)
176040  {
176041  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176042  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
176043  PyErr_SetString(PyExc_IndexError, strError.c_str());
176044  SWIG_fail;
176045  }
176046  catch(...)
176047  {
176048  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176049  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
176050  SWIG_fail;
176051  }
176052  }
176053  resultobj = SWIG_Py_Void();
176054  return resultobj;
176055 fail:
176056  return NULL;
176057 }
176058 
176059 
176060 SWIGINTERN PyObject *_wrap_RigidBody_Volume__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176061  PyObject *resultobj = 0;
176063  float arg2 ;
176064  void *argp1 = 0 ;
176065  int res1 = 0 ;
176066  float val2 ;
176067  int ecode2 = 0 ;
176068  PyObject * obj0 = 0 ;
176069  PyObject * obj1 = 0 ;
176070 
176071  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_Volume",&obj0,&obj1)) SWIG_fail;
176072  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176073  if (!SWIG_IsOK(res1)) {
176074  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Volume" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
176075  }
176076  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
176077  ecode2 = SWIG_AsVal_float(obj1, &val2);
176078  if (!SWIG_IsOK(ecode2)) {
176079  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_Volume" "', argument " "2"" of type '" "float""'");
176080  }
176081  arg2 = static_cast< float >(val2);
176082  {
176083  try {
176084  (arg1)->Volume(arg2);
176085  }
176086  catch(CStdErrorInfo oError)
176087  {
176088  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176089  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
176090  PyErr_SetString(PyExc_IndexError, strError.c_str());
176091  SWIG_fail;
176092  }
176093  catch(...)
176094  {
176095  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176096  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
176097  SWIG_fail;
176098  }
176099  }
176100  resultobj = SWIG_Py_Void();
176101  return resultobj;
176102 fail:
176103  return NULL;
176104 }
176105 
176106 
176107 SWIGINTERN PyObject *_wrap_RigidBody_Volume(PyObject *self, PyObject *args) {
176108  int argc;
176109  PyObject *argv[4];
176110  int ii;
176111 
176112  if (!PyTuple_Check(args)) SWIG_fail;
176113  argc = args ? (int)PyObject_Length(args) : 0;
176114  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
176115  argv[ii] = PyTuple_GET_ITEM(args,ii);
176116  }
176117  if (argc == 1) {
176118  int _v;
176119  void *vptr = 0;
176120  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176121  _v = SWIG_CheckState(res);
176122  if (_v) {
176123  return _wrap_RigidBody_Volume__SWIG_0(self, args);
176124  }
176125  }
176126  if (argc == 2) {
176127  int _v;
176128  void *vptr = 0;
176129  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176130  _v = SWIG_CheckState(res);
176131  if (_v) {
176132  {
176133  int res = SWIG_AsVal_float(argv[1], NULL);
176134  _v = SWIG_CheckState(res);
176135  }
176136  if (_v) {
176137  return _wrap_RigidBody_Volume__SWIG_2(self, args);
176138  }
176139  }
176140  }
176141  if (argc == 3) {
176142  int _v;
176143  void *vptr = 0;
176144  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176145  _v = SWIG_CheckState(res);
176146  if (_v) {
176147  {
176148  int res = SWIG_AsVal_float(argv[1], NULL);
176149  _v = SWIG_CheckState(res);
176150  }
176151  if (_v) {
176152  {
176153  int res = SWIG_AsVal_bool(argv[2], NULL);
176154  _v = SWIG_CheckState(res);
176155  }
176156  if (_v) {
176157  return _wrap_RigidBody_Volume__SWIG_1(self, args);
176158  }
176159  }
176160  }
176161  }
176162 
176163 fail:
176164  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_Volume'.\n"
176165  " Possible C/C++ prototypes are:\n"
176166  " AnimatSim::Environment::RigidBody::Volume()\n"
176167  " AnimatSim::Environment::RigidBody::Volume(float,bool)\n"
176168  " AnimatSim::Environment::RigidBody::Volume(float)\n");
176169  return 0;
176170 }
176171 
176172 
176173 SWIGINTERN PyObject *_wrap_RigidBody_Freeze__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176174  PyObject *resultobj = 0;
176176  void *argp1 = 0 ;
176177  int res1 = 0 ;
176178  PyObject * obj0 = 0 ;
176179  bool result;
176180 
176181  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_Freeze",&obj0)) SWIG_fail;
176182  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176183  if (!SWIG_IsOK(res1)) {
176184  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Freeze" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
176185  }
176186  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
176187  {
176188  try {
176189  result = (bool)(arg1)->Freeze();
176190  }
176191  catch(CStdErrorInfo oError)
176192  {
176193  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176194  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
176195  PyErr_SetString(PyExc_IndexError, strError.c_str());
176196  SWIG_fail;
176197  }
176198  catch(...)
176199  {
176200  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176201  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
176202  SWIG_fail;
176203  }
176204  }
176205  resultobj = SWIG_From_bool(static_cast< bool >(result));
176206  return resultobj;
176207 fail:
176208  return NULL;
176209 }
176210 
176211 
176212 SWIGINTERN PyObject *_wrap_RigidBody_Freeze__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176213  PyObject *resultobj = 0;
176215  bool arg2 ;
176216  void *argp1 = 0 ;
176217  int res1 = 0 ;
176218  bool val2 ;
176219  int ecode2 = 0 ;
176220  PyObject * obj0 = 0 ;
176221  PyObject * obj1 = 0 ;
176222 
176223  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_Freeze",&obj0,&obj1)) SWIG_fail;
176224  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176225  if (!SWIG_IsOK(res1)) {
176226  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Freeze" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
176227  }
176228  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
176229  ecode2 = SWIG_AsVal_bool(obj1, &val2);
176230  if (!SWIG_IsOK(ecode2)) {
176231  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_Freeze" "', argument " "2"" of type '" "bool""'");
176232  }
176233  arg2 = static_cast< bool >(val2);
176234  {
176235  try {
176236  (arg1)->Freeze(arg2);
176237  }
176238  catch(CStdErrorInfo oError)
176239  {
176240  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176241  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
176242  PyErr_SetString(PyExc_IndexError, strError.c_str());
176243  SWIG_fail;
176244  }
176245  catch(...)
176246  {
176247  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176248  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
176249  SWIG_fail;
176250  }
176251  }
176252  resultobj = SWIG_Py_Void();
176253  return resultobj;
176254 fail:
176255  return NULL;
176256 }
176257 
176258 
176259 SWIGINTERN PyObject *_wrap_RigidBody_Freeze(PyObject *self, PyObject *args) {
176260  int argc;
176261  PyObject *argv[3];
176262  int ii;
176263 
176264  if (!PyTuple_Check(args)) SWIG_fail;
176265  argc = args ? (int)PyObject_Length(args) : 0;
176266  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
176267  argv[ii] = PyTuple_GET_ITEM(args,ii);
176268  }
176269  if (argc == 1) {
176270  int _v;
176271  void *vptr = 0;
176272  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176273  _v = SWIG_CheckState(res);
176274  if (_v) {
176275  return _wrap_RigidBody_Freeze__SWIG_1(self, args);
176276  }
176277  }
176278  if (argc == 2) {
176279  int _v;
176280  void *vptr = 0;
176281  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176282  _v = SWIG_CheckState(res);
176283  if (_v) {
176284  {
176285  int res = SWIG_AsVal_bool(argv[1], NULL);
176286  _v = SWIG_CheckState(res);
176287  }
176288  if (_v) {
176289  return _wrap_RigidBody_Freeze__SWIG_2(self, args);
176290  }
176291  }
176292  }
176293 
176294 fail:
176295  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_Freeze'.\n"
176296  " Possible C/C++ prototypes are:\n"
176297  " AnimatSim::Environment::RigidBody::Freeze()\n"
176298  " AnimatSim::Environment::RigidBody::Freeze(bool)\n");
176299  return 0;
176300 }
176301 
176302 
176303 SWIGINTERN PyObject *_wrap_RigidBody_IsContactSensor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176304  PyObject *resultobj = 0;
176306  void *argp1 = 0 ;
176307  int res1 = 0 ;
176308  PyObject * obj0 = 0 ;
176309  bool result;
176310 
176311  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_IsContactSensor",&obj0)) SWIG_fail;
176312  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176313  if (!SWIG_IsOK(res1)) {
176314  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_IsContactSensor" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
176315  }
176316  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
176317  {
176318  try {
176319  result = (bool)(arg1)->IsContactSensor();
176320  }
176321  catch(CStdErrorInfo oError)
176322  {
176323  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176324  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
176325  PyErr_SetString(PyExc_IndexError, strError.c_str());
176326  SWIG_fail;
176327  }
176328  catch(...)
176329  {
176330  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176331  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
176332  SWIG_fail;
176333  }
176334  }
176335  resultobj = SWIG_From_bool(static_cast< bool >(result));
176336  return resultobj;
176337 fail:
176338  return NULL;
176339 }
176340 
176341 
176342 SWIGINTERN PyObject *_wrap_RigidBody_IsContactSensor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176343  PyObject *resultobj = 0;
176345  bool arg2 ;
176346  void *argp1 = 0 ;
176347  int res1 = 0 ;
176348  bool val2 ;
176349  int ecode2 = 0 ;
176350  PyObject * obj0 = 0 ;
176351  PyObject * obj1 = 0 ;
176352 
176353  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_IsContactSensor",&obj0,&obj1)) SWIG_fail;
176354  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176355  if (!SWIG_IsOK(res1)) {
176356  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_IsContactSensor" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
176357  }
176358  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
176359  ecode2 = SWIG_AsVal_bool(obj1, &val2);
176360  if (!SWIG_IsOK(ecode2)) {
176361  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_IsContactSensor" "', argument " "2"" of type '" "bool""'");
176362  }
176363  arg2 = static_cast< bool >(val2);
176364  {
176365  try {
176366  (arg1)->IsContactSensor(arg2);
176367  }
176368  catch(CStdErrorInfo oError)
176369  {
176370  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176371  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
176372  PyErr_SetString(PyExc_IndexError, strError.c_str());
176373  SWIG_fail;
176374  }
176375  catch(...)
176376  {
176377  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176378  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
176379  SWIG_fail;
176380  }
176381  }
176382  resultobj = SWIG_Py_Void();
176383  return resultobj;
176384 fail:
176385  return NULL;
176386 }
176387 
176388 
176389 SWIGINTERN PyObject *_wrap_RigidBody_IsContactSensor(PyObject *self, PyObject *args) {
176390  int argc;
176391  PyObject *argv[3];
176392  int ii;
176393 
176394  if (!PyTuple_Check(args)) SWIG_fail;
176395  argc = args ? (int)PyObject_Length(args) : 0;
176396  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
176397  argv[ii] = PyTuple_GET_ITEM(args,ii);
176398  }
176399  if (argc == 1) {
176400  int _v;
176401  void *vptr = 0;
176402  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176403  _v = SWIG_CheckState(res);
176404  if (_v) {
176405  return _wrap_RigidBody_IsContactSensor__SWIG_0(self, args);
176406  }
176407  }
176408  if (argc == 2) {
176409  int _v;
176410  void *vptr = 0;
176411  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176412  _v = SWIG_CheckState(res);
176413  if (_v) {
176414  {
176415  int res = SWIG_AsVal_bool(argv[1], NULL);
176416  _v = SWIG_CheckState(res);
176417  }
176418  if (_v) {
176419  return _wrap_RigidBody_IsContactSensor__SWIG_1(self, args);
176420  }
176421  }
176422  }
176423 
176424 fail:
176425  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_IsContactSensor'.\n"
176426  " Possible C/C++ prototypes are:\n"
176427  " AnimatSim::Environment::RigidBody::IsContactSensor()\n"
176428  " AnimatSim::Environment::RigidBody::IsContactSensor(bool)\n");
176429  return 0;
176430 }
176431 
176432 
176433 SWIGINTERN PyObject *_wrap_RigidBody_IsCollisionObject__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176434  PyObject *resultobj = 0;
176436  void *argp1 = 0 ;
176437  int res1 = 0 ;
176438  PyObject * obj0 = 0 ;
176439  bool result;
176440 
176441  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_IsCollisionObject",&obj0)) SWIG_fail;
176442  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176443  if (!SWIG_IsOK(res1)) {
176444  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_IsCollisionObject" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
176445  }
176446  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
176447  {
176448  try {
176449  result = (bool)(arg1)->IsCollisionObject();
176450  }
176451  catch(CStdErrorInfo oError)
176452  {
176453  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176454  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
176455  PyErr_SetString(PyExc_IndexError, strError.c_str());
176456  SWIG_fail;
176457  }
176458  catch(...)
176459  {
176460  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176461  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
176462  SWIG_fail;
176463  }
176464  }
176465  resultobj = SWIG_From_bool(static_cast< bool >(result));
176466  return resultobj;
176467 fail:
176468  return NULL;
176469 }
176470 
176471 
176472 SWIGINTERN PyObject *_wrap_RigidBody_IsCollisionObject__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176473  PyObject *resultobj = 0;
176475  bool arg2 ;
176476  void *argp1 = 0 ;
176477  int res1 = 0 ;
176478  bool val2 ;
176479  int ecode2 = 0 ;
176480  PyObject * obj0 = 0 ;
176481  PyObject * obj1 = 0 ;
176482 
176483  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_IsCollisionObject",&obj0,&obj1)) SWIG_fail;
176484  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176485  if (!SWIG_IsOK(res1)) {
176486  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_IsCollisionObject" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
176487  }
176488  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
176489  ecode2 = SWIG_AsVal_bool(obj1, &val2);
176490  if (!SWIG_IsOK(ecode2)) {
176491  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_IsCollisionObject" "', argument " "2"" of type '" "bool""'");
176492  }
176493  arg2 = static_cast< bool >(val2);
176494  {
176495  try {
176496  (arg1)->IsCollisionObject(arg2);
176497  }
176498  catch(CStdErrorInfo oError)
176499  {
176500  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176501  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
176502  PyErr_SetString(PyExc_IndexError, strError.c_str());
176503  SWIG_fail;
176504  }
176505  catch(...)
176506  {
176507  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176508  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
176509  SWIG_fail;
176510  }
176511  }
176512  resultobj = SWIG_Py_Void();
176513  return resultobj;
176514 fail:
176515  return NULL;
176516 }
176517 
176518 
176519 SWIGINTERN PyObject *_wrap_RigidBody_IsCollisionObject(PyObject *self, PyObject *args) {
176520  int argc;
176521  PyObject *argv[3];
176522  int ii;
176523 
176524  if (!PyTuple_Check(args)) SWIG_fail;
176525  argc = args ? (int)PyObject_Length(args) : 0;
176526  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
176527  argv[ii] = PyTuple_GET_ITEM(args,ii);
176528  }
176529  if (argc == 1) {
176530  int _v;
176531  void *vptr = 0;
176532  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176533  _v = SWIG_CheckState(res);
176534  if (_v) {
176535  return _wrap_RigidBody_IsCollisionObject__SWIG_0(self, args);
176536  }
176537  }
176538  if (argc == 2) {
176539  int _v;
176540  void *vptr = 0;
176541  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176542  _v = SWIG_CheckState(res);
176543  if (_v) {
176544  {
176545  int res = SWIG_AsVal_bool(argv[1], NULL);
176546  _v = SWIG_CheckState(res);
176547  }
176548  if (_v) {
176549  return _wrap_RigidBody_IsCollisionObject__SWIG_1(self, args);
176550  }
176551  }
176552  }
176553 
176554 fail:
176555  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_IsCollisionObject'.\n"
176556  " Possible C/C++ prototypes are:\n"
176557  " AnimatSim::Environment::RigidBody::IsCollisionObject()\n"
176558  " AnimatSim::Environment::RigidBody::IsCollisionObject(bool)\n");
176559  return 0;
176560 }
176561 
176562 
176563 SWIGINTERN PyObject *_wrap_RigidBody_IsStickyPart__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176564  PyObject *resultobj = 0;
176566  void *argp1 = 0 ;
176567  int res1 = 0 ;
176568  PyObject * obj0 = 0 ;
176569  bool result;
176570 
176571  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_IsStickyPart",&obj0)) SWIG_fail;
176572  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176573  if (!SWIG_IsOK(res1)) {
176574  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_IsStickyPart" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
176575  }
176576  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
176577  {
176578  try {
176579  result = (bool)(arg1)->IsStickyPart();
176580  }
176581  catch(CStdErrorInfo oError)
176582  {
176583  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176584  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
176585  PyErr_SetString(PyExc_IndexError, strError.c_str());
176586  SWIG_fail;
176587  }
176588  catch(...)
176589  {
176590  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176591  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
176592  SWIG_fail;
176593  }
176594  }
176595  resultobj = SWIG_From_bool(static_cast< bool >(result));
176596  return resultobj;
176597 fail:
176598  return NULL;
176599 }
176600 
176601 
176602 SWIGINTERN PyObject *_wrap_RigidBody_IsStickyPart__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176603  PyObject *resultobj = 0;
176605  bool arg2 ;
176606  void *argp1 = 0 ;
176607  int res1 = 0 ;
176608  bool val2 ;
176609  int ecode2 = 0 ;
176610  PyObject * obj0 = 0 ;
176611  PyObject * obj1 = 0 ;
176612 
176613  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_IsStickyPart",&obj0,&obj1)) SWIG_fail;
176614  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176615  if (!SWIG_IsOK(res1)) {
176616  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_IsStickyPart" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
176617  }
176618  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
176619  ecode2 = SWIG_AsVal_bool(obj1, &val2);
176620  if (!SWIG_IsOK(ecode2)) {
176621  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_IsStickyPart" "', argument " "2"" of type '" "bool""'");
176622  }
176623  arg2 = static_cast< bool >(val2);
176624  {
176625  try {
176626  (arg1)->IsStickyPart(arg2);
176627  }
176628  catch(CStdErrorInfo oError)
176629  {
176630  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176631  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
176632  PyErr_SetString(PyExc_IndexError, strError.c_str());
176633  SWIG_fail;
176634  }
176635  catch(...)
176636  {
176637  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176638  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
176639  SWIG_fail;
176640  }
176641  }
176642  resultobj = SWIG_Py_Void();
176643  return resultobj;
176644 fail:
176645  return NULL;
176646 }
176647 
176648 
176649 SWIGINTERN PyObject *_wrap_RigidBody_IsStickyPart(PyObject *self, PyObject *args) {
176650  int argc;
176651  PyObject *argv[3];
176652  int ii;
176653 
176654  if (!PyTuple_Check(args)) SWIG_fail;
176655  argc = args ? (int)PyObject_Length(args) : 0;
176656  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
176657  argv[ii] = PyTuple_GET_ITEM(args,ii);
176658  }
176659  if (argc == 1) {
176660  int _v;
176661  void *vptr = 0;
176662  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176663  _v = SWIG_CheckState(res);
176664  if (_v) {
176665  return _wrap_RigidBody_IsStickyPart__SWIG_0(self, args);
176666  }
176667  }
176668  if (argc == 2) {
176669  int _v;
176670  void *vptr = 0;
176671  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176672  _v = SWIG_CheckState(res);
176673  if (_v) {
176674  {
176675  int res = SWIG_AsVal_bool(argv[1], NULL);
176676  _v = SWIG_CheckState(res);
176677  }
176678  if (_v) {
176679  return _wrap_RigidBody_IsStickyPart__SWIG_1(self, args);
176680  }
176681  }
176682  }
176683 
176684 fail:
176685  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_IsStickyPart'.\n"
176686  " Possible C/C++ prototypes are:\n"
176687  " AnimatSim::Environment::RigidBody::IsStickyPart()\n"
176688  " AnimatSim::Environment::RigidBody::IsStickyPart(bool)\n");
176689  return 0;
176690 }
176691 
176692 
176693 SWIGINTERN PyObject *_wrap_RigidBody_StickyOn__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176694  PyObject *resultobj = 0;
176696  void *argp1 = 0 ;
176697  int res1 = 0 ;
176698  PyObject * obj0 = 0 ;
176699  float result;
176700 
176701  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_StickyOn",&obj0)) SWIG_fail;
176702  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176703  if (!SWIG_IsOK(res1)) {
176704  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_StickyOn" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
176705  }
176706  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
176707  {
176708  try {
176709  result = (float)(arg1)->StickyOn();
176710  }
176711  catch(CStdErrorInfo oError)
176712  {
176713  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176714  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
176715  PyErr_SetString(PyExc_IndexError, strError.c_str());
176716  SWIG_fail;
176717  }
176718  catch(...)
176719  {
176720  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176721  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
176722  SWIG_fail;
176723  }
176724  }
176725  resultobj = SWIG_From_float(static_cast< float >(result));
176726  return resultobj;
176727 fail:
176728  return NULL;
176729 }
176730 
176731 
176732 SWIGINTERN PyObject *_wrap_RigidBody_StickyOn__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176733  PyObject *resultobj = 0;
176735  float arg2 ;
176736  void *argp1 = 0 ;
176737  int res1 = 0 ;
176738  float val2 ;
176739  int ecode2 = 0 ;
176740  PyObject * obj0 = 0 ;
176741  PyObject * obj1 = 0 ;
176742 
176743  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_StickyOn",&obj0,&obj1)) SWIG_fail;
176744  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176745  if (!SWIG_IsOK(res1)) {
176746  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_StickyOn" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
176747  }
176748  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
176749  ecode2 = SWIG_AsVal_float(obj1, &val2);
176750  if (!SWIG_IsOK(ecode2)) {
176751  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_StickyOn" "', argument " "2"" of type '" "float""'");
176752  }
176753  arg2 = static_cast< float >(val2);
176754  {
176755  try {
176756  (arg1)->StickyOn(arg2);
176757  }
176758  catch(CStdErrorInfo oError)
176759  {
176760  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176761  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
176762  PyErr_SetString(PyExc_IndexError, strError.c_str());
176763  SWIG_fail;
176764  }
176765  catch(...)
176766  {
176767  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176768  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
176769  SWIG_fail;
176770  }
176771  }
176772  resultobj = SWIG_Py_Void();
176773  return resultobj;
176774 fail:
176775  return NULL;
176776 }
176777 
176778 
176779 SWIGINTERN PyObject *_wrap_RigidBody_StickyOn(PyObject *self, PyObject *args) {
176780  int argc;
176781  PyObject *argv[3];
176782  int ii;
176783 
176784  if (!PyTuple_Check(args)) SWIG_fail;
176785  argc = args ? (int)PyObject_Length(args) : 0;
176786  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
176787  argv[ii] = PyTuple_GET_ITEM(args,ii);
176788  }
176789  if (argc == 1) {
176790  int _v;
176791  void *vptr = 0;
176792  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176793  _v = SWIG_CheckState(res);
176794  if (_v) {
176795  return _wrap_RigidBody_StickyOn__SWIG_0(self, args);
176796  }
176797  }
176798  if (argc == 2) {
176799  int _v;
176800  void *vptr = 0;
176801  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176802  _v = SWIG_CheckState(res);
176803  if (_v) {
176804  {
176805  int res = SWIG_AsVal_float(argv[1], NULL);
176806  _v = SWIG_CheckState(res);
176807  }
176808  if (_v) {
176809  return _wrap_RigidBody_StickyOn__SWIG_1(self, args);
176810  }
176811  }
176812  }
176813 
176814 fail:
176815  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_StickyOn'.\n"
176816  " Possible C/C++ prototypes are:\n"
176817  " AnimatSim::Environment::RigidBody::StickyOn()\n"
176818  " AnimatSim::Environment::RigidBody::StickyOn(float)\n");
176819  return 0;
176820 }
176821 
176822 
176823 SWIGINTERN PyObject *_wrap_RigidBody_StickyChild__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176824  PyObject *resultobj = 0;
176826  void *argp1 = 0 ;
176827  int res1 = 0 ;
176828  PyObject * obj0 = 0 ;
176829  AnimatSim::Environment::RigidBody *result = 0 ;
176830 
176831  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_StickyChild",&obj0)) SWIG_fail;
176832  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176833  if (!SWIG_IsOK(res1)) {
176834  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_StickyChild" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
176835  }
176836  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
176837  {
176838  try {
176839  result = (AnimatSim::Environment::RigidBody *)(arg1)->StickyChild();
176840  }
176841  catch(CStdErrorInfo oError)
176842  {
176843  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176844  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
176845  PyErr_SetString(PyExc_IndexError, strError.c_str());
176846  SWIG_fail;
176847  }
176848  catch(...)
176849  {
176850  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176851  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
176852  SWIG_fail;
176853  }
176854  }
176855  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176856  return resultobj;
176857 fail:
176858  return NULL;
176859 }
176860 
176861 
176862 SWIGINTERN PyObject *_wrap_RigidBody_StickyChild__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176863  PyObject *resultobj = 0;
176866  void *argp1 = 0 ;
176867  int res1 = 0 ;
176868  void *argp2 = 0 ;
176869  int res2 = 0 ;
176870  PyObject * obj0 = 0 ;
176871  PyObject * obj1 = 0 ;
176872 
176873  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_StickyChild",&obj0,&obj1)) SWIG_fail;
176874  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176875  if (!SWIG_IsOK(res1)) {
176876  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_StickyChild" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
176877  }
176878  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
176879  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176880  if (!SWIG_IsOK(res2)) {
176881  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_StickyChild" "', argument " "2"" of type '" "AnimatSim::Environment::RigidBody *""'");
176882  }
176883  arg2 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp2);
176884  {
176885  try {
176886  (arg1)->StickyChild(arg2);
176887  }
176888  catch(CStdErrorInfo oError)
176889  {
176890  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176891  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
176892  PyErr_SetString(PyExc_IndexError, strError.c_str());
176893  SWIG_fail;
176894  }
176895  catch(...)
176896  {
176897  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176898  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
176899  SWIG_fail;
176900  }
176901  }
176902  resultobj = SWIG_Py_Void();
176903  return resultobj;
176904 fail:
176905  return NULL;
176906 }
176907 
176908 
176909 SWIGINTERN PyObject *_wrap_RigidBody_StickyChild(PyObject *self, PyObject *args) {
176910  int argc;
176911  PyObject *argv[3];
176912  int ii;
176913 
176914  if (!PyTuple_Check(args)) SWIG_fail;
176915  argc = args ? (int)PyObject_Length(args) : 0;
176916  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
176917  argv[ii] = PyTuple_GET_ITEM(args,ii);
176918  }
176919  if (argc == 1) {
176920  int _v;
176921  void *vptr = 0;
176922  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176923  _v = SWIG_CheckState(res);
176924  if (_v) {
176925  return _wrap_RigidBody_StickyChild__SWIG_0(self, args);
176926  }
176927  }
176928  if (argc == 2) {
176929  int _v;
176930  void *vptr = 0;
176931  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176932  _v = SWIG_CheckState(res);
176933  if (_v) {
176934  void *vptr = 0;
176935  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
176936  _v = SWIG_CheckState(res);
176937  if (_v) {
176938  return _wrap_RigidBody_StickyChild__SWIG_1(self, args);
176939  }
176940  }
176941  }
176942 
176943 fail:
176944  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_StickyChild'.\n"
176945  " Possible C/C++ prototypes are:\n"
176946  " AnimatSim::Environment::RigidBody::StickyChild()\n"
176947  " AnimatSim::Environment::RigidBody::StickyChild(AnimatSim::Environment::RigidBody *)\n");
176948  return 0;
176949 }
176950 
176951 
176952 SWIGINTERN PyObject *_wrap_RigidBody_IsRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176953  PyObject *resultobj = 0;
176955  void *argp1 = 0 ;
176956  int res1 = 0 ;
176957  PyObject * obj0 = 0 ;
176958  bool result;
176959 
176960  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_IsRoot",&obj0)) SWIG_fail;
176961  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
176962  if (!SWIG_IsOK(res1)) {
176963  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_IsRoot" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
176964  }
176965  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
176966  {
176967  try {
176968  result = (bool)(arg1)->IsRoot();
176969  }
176970  catch(CStdErrorInfo oError)
176971  {
176972  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176973  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
176974  PyErr_SetString(PyExc_IndexError, strError.c_str());
176975  SWIG_fail;
176976  }
176977  catch(...)
176978  {
176979  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
176980  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
176981  SWIG_fail;
176982  }
176983  }
176984  resultobj = SWIG_From_bool(static_cast< bool >(result));
176985  return resultobj;
176986 fail:
176987  return NULL;
176988 }
176989 
176990 
176991 SWIGINTERN PyObject *_wrap_RigidBody_HasStaticJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
176992  PyObject *resultobj = 0;
176994  void *argp1 = 0 ;
176995  int res1 = 0 ;
176996  PyObject * obj0 = 0 ;
176997  bool result;
176998 
176999  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_HasStaticJoint",&obj0)) SWIG_fail;
177000  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177001  if (!SWIG_IsOK(res1)) {
177002  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_HasStaticJoint" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177003  }
177004  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177005  {
177006  try {
177007  result = (bool)(arg1)->HasStaticJoint();
177008  }
177009  catch(CStdErrorInfo oError)
177010  {
177011  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177012  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177013  PyErr_SetString(PyExc_IndexError, strError.c_str());
177014  SWIG_fail;
177015  }
177016  catch(...)
177017  {
177018  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177019  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177020  SWIG_fail;
177021  }
177022  }
177023  resultobj = SWIG_From_bool(static_cast< bool >(result));
177024  return resultobj;
177025 fail:
177026  return NULL;
177027 }
177028 
177029 
177030 SWIGINTERN PyObject *_wrap_RigidBody_HasStaticChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177031  PyObject *resultobj = 0;
177033  void *argp1 = 0 ;
177034  int res1 = 0 ;
177035  PyObject * obj0 = 0 ;
177036  bool result;
177037 
177038  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_HasStaticChildren",&obj0)) SWIG_fail;
177039  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177040  if (!SWIG_IsOK(res1)) {
177041  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_HasStaticChildren" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177042  }
177043  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177044  {
177045  try {
177046  result = (bool)(arg1)->HasStaticChildren();
177047  }
177048  catch(CStdErrorInfo oError)
177049  {
177050  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177051  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177052  PyErr_SetString(PyExc_IndexError, strError.c_str());
177053  SWIG_fail;
177054  }
177055  catch(...)
177056  {
177057  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177058  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177059  SWIG_fail;
177060  }
177061  }
177062  resultobj = SWIG_From_bool(static_cast< bool >(result));
177063  return resultobj;
177064 fail:
177065  return NULL;
177066 }
177067 
177068 
177069 SWIGINTERN PyObject *_wrap_RigidBody_StaticChildrenMass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177070  PyObject *resultobj = 0;
177072  void *argp1 = 0 ;
177073  int res1 = 0 ;
177074  PyObject * obj0 = 0 ;
177075  float result;
177076 
177077  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_StaticChildrenMass",&obj0)) SWIG_fail;
177078  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177079  if (!SWIG_IsOK(res1)) {
177080  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_StaticChildrenMass" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177081  }
177082  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177083  {
177084  try {
177085  result = (float)(arg1)->StaticChildrenMass();
177086  }
177087  catch(CStdErrorInfo oError)
177088  {
177089  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177090  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177091  PyErr_SetString(PyExc_IndexError, strError.c_str());
177092  SWIG_fail;
177093  }
177094  catch(...)
177095  {
177096  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177097  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177098  SWIG_fail;
177099  }
177100  }
177101  resultobj = SWIG_From_float(static_cast< float >(result));
177102  return resultobj;
177103 fail:
177104  return NULL;
177105 }
177106 
177107 
177108 SWIGINTERN PyObject *_wrap_RigidBody_IsFoodSource__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177109  PyObject *resultobj = 0;
177111  void *argp1 = 0 ;
177112  int res1 = 0 ;
177113  PyObject * obj0 = 0 ;
177114  bool result;
177115 
177116  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_IsFoodSource",&obj0)) SWIG_fail;
177117  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177118  if (!SWIG_IsOK(res1)) {
177119  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_IsFoodSource" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177120  }
177121  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177122  {
177123  try {
177124  result = (bool)(arg1)->IsFoodSource();
177125  }
177126  catch(CStdErrorInfo oError)
177127  {
177128  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177129  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177130  PyErr_SetString(PyExc_IndexError, strError.c_str());
177131  SWIG_fail;
177132  }
177133  catch(...)
177134  {
177135  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177136  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177137  SWIG_fail;
177138  }
177139  }
177140  resultobj = SWIG_From_bool(static_cast< bool >(result));
177141  return resultobj;
177142 fail:
177143  return NULL;
177144 }
177145 
177146 
177147 SWIGINTERN PyObject *_wrap_RigidBody_IsFoodSource__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177148  PyObject *resultobj = 0;
177150  bool arg2 ;
177151  void *argp1 = 0 ;
177152  int res1 = 0 ;
177153  bool val2 ;
177154  int ecode2 = 0 ;
177155  PyObject * obj0 = 0 ;
177156  PyObject * obj1 = 0 ;
177157 
177158  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_IsFoodSource",&obj0,&obj1)) SWIG_fail;
177159  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177160  if (!SWIG_IsOK(res1)) {
177161  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_IsFoodSource" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177162  }
177163  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177164  ecode2 = SWIG_AsVal_bool(obj1, &val2);
177165  if (!SWIG_IsOK(ecode2)) {
177166  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_IsFoodSource" "', argument " "2"" of type '" "bool""'");
177167  }
177168  arg2 = static_cast< bool >(val2);
177169  {
177170  try {
177171  (arg1)->IsFoodSource(arg2);
177172  }
177173  catch(CStdErrorInfo oError)
177174  {
177175  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177176  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177177  PyErr_SetString(PyExc_IndexError, strError.c_str());
177178  SWIG_fail;
177179  }
177180  catch(...)
177181  {
177182  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177183  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177184  SWIG_fail;
177185  }
177186  }
177187  resultobj = SWIG_Py_Void();
177188  return resultobj;
177189 fail:
177190  return NULL;
177191 }
177192 
177193 
177194 SWIGINTERN PyObject *_wrap_RigidBody_IsFoodSource(PyObject *self, PyObject *args) {
177195  int argc;
177196  PyObject *argv[3];
177197  int ii;
177198 
177199  if (!PyTuple_Check(args)) SWIG_fail;
177200  argc = args ? (int)PyObject_Length(args) : 0;
177201  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
177202  argv[ii] = PyTuple_GET_ITEM(args,ii);
177203  }
177204  if (argc == 1) {
177205  int _v;
177206  void *vptr = 0;
177207  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
177208  _v = SWIG_CheckState(res);
177209  if (_v) {
177210  return _wrap_RigidBody_IsFoodSource__SWIG_0(self, args);
177211  }
177212  }
177213  if (argc == 2) {
177214  int _v;
177215  void *vptr = 0;
177216  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
177217  _v = SWIG_CheckState(res);
177218  if (_v) {
177219  {
177220  int res = SWIG_AsVal_bool(argv[1], NULL);
177221  _v = SWIG_CheckState(res);
177222  }
177223  if (_v) {
177224  return _wrap_RigidBody_IsFoodSource__SWIG_1(self, args);
177225  }
177226  }
177227  }
177228 
177229 fail:
177230  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_IsFoodSource'.\n"
177231  " Possible C/C++ prototypes are:\n"
177232  " AnimatSim::Environment::RigidBody::IsFoodSource()\n"
177233  " AnimatSim::Environment::RigidBody::IsFoodSource(bool)\n");
177234  return 0;
177235 }
177236 
177237 
177238 SWIGINTERN PyObject *_wrap_RigidBody_FoodQuantity__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177239  PyObject *resultobj = 0;
177241  void *argp1 = 0 ;
177242  int res1 = 0 ;
177243  PyObject * obj0 = 0 ;
177244  float result;
177245 
177246  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_FoodQuantity",&obj0)) SWIG_fail;
177247  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177248  if (!SWIG_IsOK(res1)) {
177249  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_FoodQuantity" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177250  }
177251  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177252  {
177253  try {
177254  result = (float)(arg1)->FoodQuantity();
177255  }
177256  catch(CStdErrorInfo oError)
177257  {
177258  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177259  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177260  PyErr_SetString(PyExc_IndexError, strError.c_str());
177261  SWIG_fail;
177262  }
177263  catch(...)
177264  {
177265  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177266  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177267  SWIG_fail;
177268  }
177269  }
177270  resultobj = SWIG_From_float(static_cast< float >(result));
177271  return resultobj;
177272 fail:
177273  return NULL;
177274 }
177275 
177276 
177277 SWIGINTERN PyObject *_wrap_RigidBody_FoodQuantity__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177278  PyObject *resultobj = 0;
177280  float arg2 ;
177281  void *argp1 = 0 ;
177282  int res1 = 0 ;
177283  float val2 ;
177284  int ecode2 = 0 ;
177285  PyObject * obj0 = 0 ;
177286  PyObject * obj1 = 0 ;
177287 
177288  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_FoodQuantity",&obj0,&obj1)) SWIG_fail;
177289  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177290  if (!SWIG_IsOK(res1)) {
177291  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_FoodQuantity" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177292  }
177293  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177294  ecode2 = SWIG_AsVal_float(obj1, &val2);
177295  if (!SWIG_IsOK(ecode2)) {
177296  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_FoodQuantity" "', argument " "2"" of type '" "float""'");
177297  }
177298  arg2 = static_cast< float >(val2);
177299  {
177300  try {
177301  (arg1)->FoodQuantity(arg2);
177302  }
177303  catch(CStdErrorInfo oError)
177304  {
177305  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177306  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177307  PyErr_SetString(PyExc_IndexError, strError.c_str());
177308  SWIG_fail;
177309  }
177310  catch(...)
177311  {
177312  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177313  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177314  SWIG_fail;
177315  }
177316  }
177317  resultobj = SWIG_Py_Void();
177318  return resultobj;
177319 fail:
177320  return NULL;
177321 }
177322 
177323 
177324 SWIGINTERN PyObject *_wrap_RigidBody_FoodQuantity(PyObject *self, PyObject *args) {
177325  int argc;
177326  PyObject *argv[3];
177327  int ii;
177328 
177329  if (!PyTuple_Check(args)) SWIG_fail;
177330  argc = args ? (int)PyObject_Length(args) : 0;
177331  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
177332  argv[ii] = PyTuple_GET_ITEM(args,ii);
177333  }
177334  if (argc == 1) {
177335  int _v;
177336  void *vptr = 0;
177337  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
177338  _v = SWIG_CheckState(res);
177339  if (_v) {
177340  return _wrap_RigidBody_FoodQuantity__SWIG_0(self, args);
177341  }
177342  }
177343  if (argc == 2) {
177344  int _v;
177345  void *vptr = 0;
177346  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
177347  _v = SWIG_CheckState(res);
177348  if (_v) {
177349  {
177350  int res = SWIG_AsVal_float(argv[1], NULL);
177351  _v = SWIG_CheckState(res);
177352  }
177353  if (_v) {
177354  return _wrap_RigidBody_FoodQuantity__SWIG_1(self, args);
177355  }
177356  }
177357  }
177358 
177359 fail:
177360  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_FoodQuantity'.\n"
177361  " Possible C/C++ prototypes are:\n"
177362  " AnimatSim::Environment::RigidBody::FoodQuantity()\n"
177363  " AnimatSim::Environment::RigidBody::FoodQuantity(float)\n");
177364  return 0;
177365 }
177366 
177367 
177368 SWIGINTERN PyObject *_wrap_RigidBody_FoodEaten__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177369  PyObject *resultobj = 0;
177371  void *argp1 = 0 ;
177372  int res1 = 0 ;
177373  PyObject * obj0 = 0 ;
177374  float result;
177375 
177376  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_FoodEaten",&obj0)) SWIG_fail;
177377  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177378  if (!SWIG_IsOK(res1)) {
177379  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_FoodEaten" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177380  }
177381  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177382  {
177383  try {
177384  result = (float)(arg1)->FoodEaten();
177385  }
177386  catch(CStdErrorInfo oError)
177387  {
177388  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177389  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177390  PyErr_SetString(PyExc_IndexError, strError.c_str());
177391  SWIG_fail;
177392  }
177393  catch(...)
177394  {
177395  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177396  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177397  SWIG_fail;
177398  }
177399  }
177400  resultobj = SWIG_From_float(static_cast< float >(result));
177401  return resultobj;
177402 fail:
177403  return NULL;
177404 }
177405 
177406 
177407 SWIGINTERN PyObject *_wrap_RigidBody_FoodEaten__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177408  PyObject *resultobj = 0;
177410  float arg2 ;
177411  void *argp1 = 0 ;
177412  int res1 = 0 ;
177413  float val2 ;
177414  int ecode2 = 0 ;
177415  PyObject * obj0 = 0 ;
177416  PyObject * obj1 = 0 ;
177417 
177418  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_FoodEaten",&obj0,&obj1)) SWIG_fail;
177419  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177420  if (!SWIG_IsOK(res1)) {
177421  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_FoodEaten" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177422  }
177423  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177424  ecode2 = SWIG_AsVal_float(obj1, &val2);
177425  if (!SWIG_IsOK(ecode2)) {
177426  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_FoodEaten" "', argument " "2"" of type '" "float""'");
177427  }
177428  arg2 = static_cast< float >(val2);
177429  {
177430  try {
177431  (arg1)->FoodEaten(arg2);
177432  }
177433  catch(CStdErrorInfo oError)
177434  {
177435  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177436  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177437  PyErr_SetString(PyExc_IndexError, strError.c_str());
177438  SWIG_fail;
177439  }
177440  catch(...)
177441  {
177442  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177443  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177444  SWIG_fail;
177445  }
177446  }
177447  resultobj = SWIG_Py_Void();
177448  return resultobj;
177449 fail:
177450  return NULL;
177451 }
177452 
177453 
177454 SWIGINTERN PyObject *_wrap_RigidBody_FoodEaten(PyObject *self, PyObject *args) {
177455  int argc;
177456  PyObject *argv[3];
177457  int ii;
177458 
177459  if (!PyTuple_Check(args)) SWIG_fail;
177460  argc = args ? (int)PyObject_Length(args) : 0;
177461  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
177462  argv[ii] = PyTuple_GET_ITEM(args,ii);
177463  }
177464  if (argc == 1) {
177465  int _v;
177466  void *vptr = 0;
177467  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
177468  _v = SWIG_CheckState(res);
177469  if (_v) {
177470  return _wrap_RigidBody_FoodEaten__SWIG_0(self, args);
177471  }
177472  }
177473  if (argc == 2) {
177474  int _v;
177475  void *vptr = 0;
177476  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
177477  _v = SWIG_CheckState(res);
177478  if (_v) {
177479  {
177480  int res = SWIG_AsVal_float(argv[1], NULL);
177481  _v = SWIG_CheckState(res);
177482  }
177483  if (_v) {
177484  return _wrap_RigidBody_FoodEaten__SWIG_1(self, args);
177485  }
177486  }
177487  }
177488 
177489 fail:
177490  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_FoodEaten'.\n"
177491  " Possible C/C++ prototypes are:\n"
177492  " AnimatSim::Environment::RigidBody::FoodEaten()\n"
177493  " AnimatSim::Environment::RigidBody::FoodEaten(float)\n");
177494  return 0;
177495 }
177496 
177497 
177498 SWIGINTERN PyObject *_wrap_RigidBody_FoodReplenishRate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177499  PyObject *resultobj = 0;
177501  void *argp1 = 0 ;
177502  int res1 = 0 ;
177503  PyObject * obj0 = 0 ;
177504  float result;
177505 
177506  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_FoodReplenishRate",&obj0)) SWIG_fail;
177507  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177508  if (!SWIG_IsOK(res1)) {
177509  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_FoodReplenishRate" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177510  }
177511  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177512  {
177513  try {
177514  result = (float)(arg1)->FoodReplenishRate();
177515  }
177516  catch(CStdErrorInfo oError)
177517  {
177518  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177519  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177520  PyErr_SetString(PyExc_IndexError, strError.c_str());
177521  SWIG_fail;
177522  }
177523  catch(...)
177524  {
177525  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177526  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177527  SWIG_fail;
177528  }
177529  }
177530  resultobj = SWIG_From_float(static_cast< float >(result));
177531  return resultobj;
177532 fail:
177533  return NULL;
177534 }
177535 
177536 
177537 SWIGINTERN PyObject *_wrap_RigidBody_FoodReplenishRate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177538  PyObject *resultobj = 0;
177540  float arg2 ;
177541  void *argp1 = 0 ;
177542  int res1 = 0 ;
177543  float val2 ;
177544  int ecode2 = 0 ;
177545  PyObject * obj0 = 0 ;
177546  PyObject * obj1 = 0 ;
177547 
177548  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_FoodReplenishRate",&obj0,&obj1)) SWIG_fail;
177549  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177550  if (!SWIG_IsOK(res1)) {
177551  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_FoodReplenishRate" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177552  }
177553  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177554  ecode2 = SWIG_AsVal_float(obj1, &val2);
177555  if (!SWIG_IsOK(ecode2)) {
177556  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_FoodReplenishRate" "', argument " "2"" of type '" "float""'");
177557  }
177558  arg2 = static_cast< float >(val2);
177559  {
177560  try {
177561  (arg1)->FoodReplenishRate(arg2);
177562  }
177563  catch(CStdErrorInfo oError)
177564  {
177565  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177566  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177567  PyErr_SetString(PyExc_IndexError, strError.c_str());
177568  SWIG_fail;
177569  }
177570  catch(...)
177571  {
177572  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177573  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177574  SWIG_fail;
177575  }
177576  }
177577  resultobj = SWIG_Py_Void();
177578  return resultobj;
177579 fail:
177580  return NULL;
177581 }
177582 
177583 
177584 SWIGINTERN PyObject *_wrap_RigidBody_FoodReplenishRate(PyObject *self, PyObject *args) {
177585  int argc;
177586  PyObject *argv[3];
177587  int ii;
177588 
177589  if (!PyTuple_Check(args)) SWIG_fail;
177590  argc = args ? (int)PyObject_Length(args) : 0;
177591  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
177592  argv[ii] = PyTuple_GET_ITEM(args,ii);
177593  }
177594  if (argc == 1) {
177595  int _v;
177596  void *vptr = 0;
177597  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
177598  _v = SWIG_CheckState(res);
177599  if (_v) {
177600  return _wrap_RigidBody_FoodReplenishRate__SWIG_0(self, args);
177601  }
177602  }
177603  if (argc == 2) {
177604  int _v;
177605  void *vptr = 0;
177606  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
177607  _v = SWIG_CheckState(res);
177608  if (_v) {
177609  {
177610  int res = SWIG_AsVal_float(argv[1], NULL);
177611  _v = SWIG_CheckState(res);
177612  }
177613  if (_v) {
177614  return _wrap_RigidBody_FoodReplenishRate__SWIG_1(self, args);
177615  }
177616  }
177617  }
177618 
177619 fail:
177620  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_FoodReplenishRate'.\n"
177621  " Possible C/C++ prototypes are:\n"
177622  " AnimatSim::Environment::RigidBody::FoodReplenishRate()\n"
177623  " AnimatSim::Environment::RigidBody::FoodReplenishRate(float)\n");
177624  return 0;
177625 }
177626 
177627 
177628 SWIGINTERN PyObject *_wrap_RigidBody_FoodEnergyContent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177629  PyObject *resultobj = 0;
177631  void *argp1 = 0 ;
177632  int res1 = 0 ;
177633  PyObject * obj0 = 0 ;
177634  float result;
177635 
177636  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_FoodEnergyContent",&obj0)) SWIG_fail;
177637  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177638  if (!SWIG_IsOK(res1)) {
177639  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_FoodEnergyContent" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177640  }
177641  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177642  {
177643  try {
177644  result = (float)(arg1)->FoodEnergyContent();
177645  }
177646  catch(CStdErrorInfo oError)
177647  {
177648  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177649  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177650  PyErr_SetString(PyExc_IndexError, strError.c_str());
177651  SWIG_fail;
177652  }
177653  catch(...)
177654  {
177655  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177656  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177657  SWIG_fail;
177658  }
177659  }
177660  resultobj = SWIG_From_float(static_cast< float >(result));
177661  return resultobj;
177662 fail:
177663  return NULL;
177664 }
177665 
177666 
177667 SWIGINTERN PyObject *_wrap_RigidBody_FoodEnergyContent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177668  PyObject *resultobj = 0;
177670  float arg2 ;
177671  void *argp1 = 0 ;
177672  int res1 = 0 ;
177673  float val2 ;
177674  int ecode2 = 0 ;
177675  PyObject * obj0 = 0 ;
177676  PyObject * obj1 = 0 ;
177677 
177678  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_FoodEnergyContent",&obj0,&obj1)) SWIG_fail;
177679  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177680  if (!SWIG_IsOK(res1)) {
177681  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_FoodEnergyContent" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177682  }
177683  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177684  ecode2 = SWIG_AsVal_float(obj1, &val2);
177685  if (!SWIG_IsOK(ecode2)) {
177686  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_FoodEnergyContent" "', argument " "2"" of type '" "float""'");
177687  }
177688  arg2 = static_cast< float >(val2);
177689  {
177690  try {
177691  (arg1)->FoodEnergyContent(arg2);
177692  }
177693  catch(CStdErrorInfo oError)
177694  {
177695  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177696  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177697  PyErr_SetString(PyExc_IndexError, strError.c_str());
177698  SWIG_fail;
177699  }
177700  catch(...)
177701  {
177702  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177703  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177704  SWIG_fail;
177705  }
177706  }
177707  resultobj = SWIG_Py_Void();
177708  return resultobj;
177709 fail:
177710  return NULL;
177711 }
177712 
177713 
177714 SWIGINTERN PyObject *_wrap_RigidBody_FoodEnergyContent(PyObject *self, PyObject *args) {
177715  int argc;
177716  PyObject *argv[3];
177717  int ii;
177718 
177719  if (!PyTuple_Check(args)) SWIG_fail;
177720  argc = args ? (int)PyObject_Length(args) : 0;
177721  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
177722  argv[ii] = PyTuple_GET_ITEM(args,ii);
177723  }
177724  if (argc == 1) {
177725  int _v;
177726  void *vptr = 0;
177727  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
177728  _v = SWIG_CheckState(res);
177729  if (_v) {
177730  return _wrap_RigidBody_FoodEnergyContent__SWIG_0(self, args);
177731  }
177732  }
177733  if (argc == 2) {
177734  int _v;
177735  void *vptr = 0;
177736  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
177737  _v = SWIG_CheckState(res);
177738  if (_v) {
177739  {
177740  int res = SWIG_AsVal_float(argv[1], NULL);
177741  _v = SWIG_CheckState(res);
177742  }
177743  if (_v) {
177744  return _wrap_RigidBody_FoodEnergyContent__SWIG_1(self, args);
177745  }
177746  }
177747  }
177748 
177749 fail:
177750  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_FoodEnergyContent'.\n"
177751  " Possible C/C++ prototypes are:\n"
177752  " AnimatSim::Environment::RigidBody::FoodEnergyContent()\n"
177753  " AnimatSim::Environment::RigidBody::FoodEnergyContent(float)\n");
177754  return 0;
177755 }
177756 
177757 
177758 SWIGINTERN PyObject *_wrap_RigidBody_MaxFoodQuantity__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177759  PyObject *resultobj = 0;
177761  void *argp1 = 0 ;
177762  int res1 = 0 ;
177763  PyObject * obj0 = 0 ;
177764  float result;
177765 
177766  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_MaxFoodQuantity",&obj0)) SWIG_fail;
177767  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177768  if (!SWIG_IsOK(res1)) {
177769  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_MaxFoodQuantity" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177770  }
177771  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177772  {
177773  try {
177774  result = (float)(arg1)->MaxFoodQuantity();
177775  }
177776  catch(CStdErrorInfo oError)
177777  {
177778  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177779  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177780  PyErr_SetString(PyExc_IndexError, strError.c_str());
177781  SWIG_fail;
177782  }
177783  catch(...)
177784  {
177785  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177786  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177787  SWIG_fail;
177788  }
177789  }
177790  resultobj = SWIG_From_float(static_cast< float >(result));
177791  return resultobj;
177792 fail:
177793  return NULL;
177794 }
177795 
177796 
177797 SWIGINTERN PyObject *_wrap_RigidBody_MaxFoodQuantity__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177798  PyObject *resultobj = 0;
177800  float arg2 ;
177801  void *argp1 = 0 ;
177802  int res1 = 0 ;
177803  float val2 ;
177804  int ecode2 = 0 ;
177805  PyObject * obj0 = 0 ;
177806  PyObject * obj1 = 0 ;
177807 
177808  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_MaxFoodQuantity",&obj0,&obj1)) SWIG_fail;
177809  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177810  if (!SWIG_IsOK(res1)) {
177811  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_MaxFoodQuantity" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177812  }
177813  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177814  ecode2 = SWIG_AsVal_float(obj1, &val2);
177815  if (!SWIG_IsOK(ecode2)) {
177816  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_MaxFoodQuantity" "', argument " "2"" of type '" "float""'");
177817  }
177818  arg2 = static_cast< float >(val2);
177819  {
177820  try {
177821  (arg1)->MaxFoodQuantity(arg2);
177822  }
177823  catch(CStdErrorInfo oError)
177824  {
177825  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177826  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177827  PyErr_SetString(PyExc_IndexError, strError.c_str());
177828  SWIG_fail;
177829  }
177830  catch(...)
177831  {
177832  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177833  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177834  SWIG_fail;
177835  }
177836  }
177837  resultobj = SWIG_Py_Void();
177838  return resultobj;
177839 fail:
177840  return NULL;
177841 }
177842 
177843 
177844 SWIGINTERN PyObject *_wrap_RigidBody_MaxFoodQuantity(PyObject *self, PyObject *args) {
177845  int argc;
177846  PyObject *argv[3];
177847  int ii;
177848 
177849  if (!PyTuple_Check(args)) SWIG_fail;
177850  argc = args ? (int)PyObject_Length(args) : 0;
177851  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
177852  argv[ii] = PyTuple_GET_ITEM(args,ii);
177853  }
177854  if (argc == 1) {
177855  int _v;
177856  void *vptr = 0;
177857  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
177858  _v = SWIG_CheckState(res);
177859  if (_v) {
177860  return _wrap_RigidBody_MaxFoodQuantity__SWIG_0(self, args);
177861  }
177862  }
177863  if (argc == 2) {
177864  int _v;
177865  void *vptr = 0;
177866  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
177867  _v = SWIG_CheckState(res);
177868  if (_v) {
177869  {
177870  int res = SWIG_AsVal_float(argv[1], NULL);
177871  _v = SWIG_CheckState(res);
177872  }
177873  if (_v) {
177874  return _wrap_RigidBody_MaxFoodQuantity__SWIG_1(self, args);
177875  }
177876  }
177877  }
177878 
177879 fail:
177880  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_MaxFoodQuantity'.\n"
177881  " Possible C/C++ prototypes are:\n"
177882  " AnimatSim::Environment::RigidBody::MaxFoodQuantity()\n"
177883  " AnimatSim::Environment::RigidBody::MaxFoodQuantity(float)\n");
177884  return 0;
177885 }
177886 
177887 
177888 SWIGINTERN PyObject *_wrap_RigidBody_LinearVelocityDamping__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177889  PyObject *resultobj = 0;
177891  void *argp1 = 0 ;
177892  int res1 = 0 ;
177893  PyObject * obj0 = 0 ;
177894  float result;
177895 
177896  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_LinearVelocityDamping",&obj0)) SWIG_fail;
177897  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177898  if (!SWIG_IsOK(res1)) {
177899  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_LinearVelocityDamping" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177900  }
177901  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177902  {
177903  try {
177904  result = (float)(arg1)->LinearVelocityDamping();
177905  }
177906  catch(CStdErrorInfo oError)
177907  {
177908  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177909  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177910  PyErr_SetString(PyExc_IndexError, strError.c_str());
177911  SWIG_fail;
177912  }
177913  catch(...)
177914  {
177915  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177916  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177917  SWIG_fail;
177918  }
177919  }
177920  resultobj = SWIG_From_float(static_cast< float >(result));
177921  return resultobj;
177922 fail:
177923  return NULL;
177924 }
177925 
177926 
177927 SWIGINTERN PyObject *_wrap_RigidBody_LinearVelocityDamping__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177928  PyObject *resultobj = 0;
177930  float arg2 ;
177931  bool arg3 ;
177932  void *argp1 = 0 ;
177933  int res1 = 0 ;
177934  float val2 ;
177935  int ecode2 = 0 ;
177936  bool val3 ;
177937  int ecode3 = 0 ;
177938  PyObject * obj0 = 0 ;
177939  PyObject * obj1 = 0 ;
177940  PyObject * obj2 = 0 ;
177941 
177942  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_LinearVelocityDamping",&obj0,&obj1,&obj2)) SWIG_fail;
177943  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177944  if (!SWIG_IsOK(res1)) {
177945  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_LinearVelocityDamping" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177946  }
177947  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
177948  ecode2 = SWIG_AsVal_float(obj1, &val2);
177949  if (!SWIG_IsOK(ecode2)) {
177950  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_LinearVelocityDamping" "', argument " "2"" of type '" "float""'");
177951  }
177952  arg2 = static_cast< float >(val2);
177953  ecode3 = SWIG_AsVal_bool(obj2, &val3);
177954  if (!SWIG_IsOK(ecode3)) {
177955  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_LinearVelocityDamping" "', argument " "3"" of type '" "bool""'");
177956  }
177957  arg3 = static_cast< bool >(val3);
177958  {
177959  try {
177960  (arg1)->LinearVelocityDamping(arg2,arg3);
177961  }
177962  catch(CStdErrorInfo oError)
177963  {
177964  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177965  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
177966  PyErr_SetString(PyExc_IndexError, strError.c_str());
177967  SWIG_fail;
177968  }
177969  catch(...)
177970  {
177971  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
177972  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
177973  SWIG_fail;
177974  }
177975  }
177976  resultobj = SWIG_Py_Void();
177977  return resultobj;
177978 fail:
177979  return NULL;
177980 }
177981 
177982 
177983 SWIGINTERN PyObject *_wrap_RigidBody_LinearVelocityDamping__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
177984  PyObject *resultobj = 0;
177986  float arg2 ;
177987  void *argp1 = 0 ;
177988  int res1 = 0 ;
177989  float val2 ;
177990  int ecode2 = 0 ;
177991  PyObject * obj0 = 0 ;
177992  PyObject * obj1 = 0 ;
177993 
177994  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_LinearVelocityDamping",&obj0,&obj1)) SWIG_fail;
177995  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
177996  if (!SWIG_IsOK(res1)) {
177997  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_LinearVelocityDamping" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
177998  }
177999  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
178000  ecode2 = SWIG_AsVal_float(obj1, &val2);
178001  if (!SWIG_IsOK(ecode2)) {
178002  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_LinearVelocityDamping" "', argument " "2"" of type '" "float""'");
178003  }
178004  arg2 = static_cast< float >(val2);
178005  {
178006  try {
178007  (arg1)->LinearVelocityDamping(arg2);
178008  }
178009  catch(CStdErrorInfo oError)
178010  {
178011  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178012  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
178013  PyErr_SetString(PyExc_IndexError, strError.c_str());
178014  SWIG_fail;
178015  }
178016  catch(...)
178017  {
178018  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178019  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
178020  SWIG_fail;
178021  }
178022  }
178023  resultobj = SWIG_Py_Void();
178024  return resultobj;
178025 fail:
178026  return NULL;
178027 }
178028 
178029 
178030 SWIGINTERN PyObject *_wrap_RigidBody_LinearVelocityDamping(PyObject *self, PyObject *args) {
178031  int argc;
178032  PyObject *argv[4];
178033  int ii;
178034 
178035  if (!PyTuple_Check(args)) SWIG_fail;
178036  argc = args ? (int)PyObject_Length(args) : 0;
178037  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
178038  argv[ii] = PyTuple_GET_ITEM(args,ii);
178039  }
178040  if (argc == 1) {
178041  int _v;
178042  void *vptr = 0;
178043  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
178044  _v = SWIG_CheckState(res);
178045  if (_v) {
178046  return _wrap_RigidBody_LinearVelocityDamping__SWIG_0(self, args);
178047  }
178048  }
178049  if (argc == 2) {
178050  int _v;
178051  void *vptr = 0;
178052  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
178053  _v = SWIG_CheckState(res);
178054  if (_v) {
178055  {
178056  int res = SWIG_AsVal_float(argv[1], NULL);
178057  _v = SWIG_CheckState(res);
178058  }
178059  if (_v) {
178060  return _wrap_RigidBody_LinearVelocityDamping__SWIG_2(self, args);
178061  }
178062  }
178063  }
178064  if (argc == 3) {
178065  int _v;
178066  void *vptr = 0;
178067  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
178068  _v = SWIG_CheckState(res);
178069  if (_v) {
178070  {
178071  int res = SWIG_AsVal_float(argv[1], NULL);
178072  _v = SWIG_CheckState(res);
178073  }
178074  if (_v) {
178075  {
178076  int res = SWIG_AsVal_bool(argv[2], NULL);
178077  _v = SWIG_CheckState(res);
178078  }
178079  if (_v) {
178080  return _wrap_RigidBody_LinearVelocityDamping__SWIG_1(self, args);
178081  }
178082  }
178083  }
178084  }
178085 
178086 fail:
178087  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_LinearVelocityDamping'.\n"
178088  " Possible C/C++ prototypes are:\n"
178089  " AnimatSim::Environment::RigidBody::LinearVelocityDamping()\n"
178090  " AnimatSim::Environment::RigidBody::LinearVelocityDamping(float,bool)\n"
178091  " AnimatSim::Environment::RigidBody::LinearVelocityDamping(float)\n");
178092  return 0;
178093 }
178094 
178095 
178096 SWIGINTERN PyObject *_wrap_RigidBody_AngularVelocityDamping__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
178097  PyObject *resultobj = 0;
178099  void *argp1 = 0 ;
178100  int res1 = 0 ;
178101  PyObject * obj0 = 0 ;
178102  float result;
178103 
178104  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_AngularVelocityDamping",&obj0)) SWIG_fail;
178105  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
178106  if (!SWIG_IsOK(res1)) {
178107  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AngularVelocityDamping" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
178108  }
178109  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
178110  {
178111  try {
178112  result = (float)(arg1)->AngularVelocityDamping();
178113  }
178114  catch(CStdErrorInfo oError)
178115  {
178116  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178117  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
178118  PyErr_SetString(PyExc_IndexError, strError.c_str());
178119  SWIG_fail;
178120  }
178121  catch(...)
178122  {
178123  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178124  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
178125  SWIG_fail;
178126  }
178127  }
178128  resultobj = SWIG_From_float(static_cast< float >(result));
178129  return resultobj;
178130 fail:
178131  return NULL;
178132 }
178133 
178134 
178135 SWIGINTERN PyObject *_wrap_RigidBody_AngularVelocityDamping__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
178136  PyObject *resultobj = 0;
178138  float arg2 ;
178139  bool arg3 ;
178140  void *argp1 = 0 ;
178141  int res1 = 0 ;
178142  float val2 ;
178143  int ecode2 = 0 ;
178144  bool val3 ;
178145  int ecode3 = 0 ;
178146  PyObject * obj0 = 0 ;
178147  PyObject * obj1 = 0 ;
178148  PyObject * obj2 = 0 ;
178149 
178150  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_AngularVelocityDamping",&obj0,&obj1,&obj2)) SWIG_fail;
178151  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
178152  if (!SWIG_IsOK(res1)) {
178153  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AngularVelocityDamping" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
178154  }
178155  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
178156  ecode2 = SWIG_AsVal_float(obj1, &val2);
178157  if (!SWIG_IsOK(ecode2)) {
178158  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_AngularVelocityDamping" "', argument " "2"" of type '" "float""'");
178159  }
178160  arg2 = static_cast< float >(val2);
178161  ecode3 = SWIG_AsVal_bool(obj2, &val3);
178162  if (!SWIG_IsOK(ecode3)) {
178163  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_AngularVelocityDamping" "', argument " "3"" of type '" "bool""'");
178164  }
178165  arg3 = static_cast< bool >(val3);
178166  {
178167  try {
178168  (arg1)->AngularVelocityDamping(arg2,arg3);
178169  }
178170  catch(CStdErrorInfo oError)
178171  {
178172  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178173  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
178174  PyErr_SetString(PyExc_IndexError, strError.c_str());
178175  SWIG_fail;
178176  }
178177  catch(...)
178178  {
178179  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178180  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
178181  SWIG_fail;
178182  }
178183  }
178184  resultobj = SWIG_Py_Void();
178185  return resultobj;
178186 fail:
178187  return NULL;
178188 }
178189 
178190 
178191 SWIGINTERN PyObject *_wrap_RigidBody_AngularVelocityDamping__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
178192  PyObject *resultobj = 0;
178194  float arg2 ;
178195  void *argp1 = 0 ;
178196  int res1 = 0 ;
178197  float val2 ;
178198  int ecode2 = 0 ;
178199  PyObject * obj0 = 0 ;
178200  PyObject * obj1 = 0 ;
178201 
178202  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_AngularVelocityDamping",&obj0,&obj1)) SWIG_fail;
178203  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
178204  if (!SWIG_IsOK(res1)) {
178205  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AngularVelocityDamping" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
178206  }
178207  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
178208  ecode2 = SWIG_AsVal_float(obj1, &val2);
178209  if (!SWIG_IsOK(ecode2)) {
178210  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_AngularVelocityDamping" "', argument " "2"" of type '" "float""'");
178211  }
178212  arg2 = static_cast< float >(val2);
178213  {
178214  try {
178215  (arg1)->AngularVelocityDamping(arg2);
178216  }
178217  catch(CStdErrorInfo oError)
178218  {
178219  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178220  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
178221  PyErr_SetString(PyExc_IndexError, strError.c_str());
178222  SWIG_fail;
178223  }
178224  catch(...)
178225  {
178226  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178227  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
178228  SWIG_fail;
178229  }
178230  }
178231  resultobj = SWIG_Py_Void();
178232  return resultobj;
178233 fail:
178234  return NULL;
178235 }
178236 
178237 
178238 SWIGINTERN PyObject *_wrap_RigidBody_AngularVelocityDamping(PyObject *self, PyObject *args) {
178239  int argc;
178240  PyObject *argv[4];
178241  int ii;
178242 
178243  if (!PyTuple_Check(args)) SWIG_fail;
178244  argc = args ? (int)PyObject_Length(args) : 0;
178245  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
178246  argv[ii] = PyTuple_GET_ITEM(args,ii);
178247  }
178248  if (argc == 1) {
178249  int _v;
178250  void *vptr = 0;
178251  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
178252  _v = SWIG_CheckState(res);
178253  if (_v) {
178254  return _wrap_RigidBody_AngularVelocityDamping__SWIG_0(self, args);
178255  }
178256  }
178257  if (argc == 2) {
178258  int _v;
178259  void *vptr = 0;
178260  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
178261  _v = SWIG_CheckState(res);
178262  if (_v) {
178263  {
178264  int res = SWIG_AsVal_float(argv[1], NULL);
178265  _v = SWIG_CheckState(res);
178266  }
178267  if (_v) {
178268  return _wrap_RigidBody_AngularVelocityDamping__SWIG_2(self, args);
178269  }
178270  }
178271  }
178272  if (argc == 3) {
178273  int _v;
178274  void *vptr = 0;
178275  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
178276  _v = SWIG_CheckState(res);
178277  if (_v) {
178278  {
178279  int res = SWIG_AsVal_float(argv[1], NULL);
178280  _v = SWIG_CheckState(res);
178281  }
178282  if (_v) {
178283  {
178284  int res = SWIG_AsVal_bool(argv[2], NULL);
178285  _v = SWIG_CheckState(res);
178286  }
178287  if (_v) {
178288  return _wrap_RigidBody_AngularVelocityDamping__SWIG_1(self, args);
178289  }
178290  }
178291  }
178292  }
178293 
178294 fail:
178295  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_AngularVelocityDamping'.\n"
178296  " Possible C/C++ prototypes are:\n"
178297  " AnimatSim::Environment::RigidBody::AngularVelocityDamping()\n"
178298  " AnimatSim::Environment::RigidBody::AngularVelocityDamping(float,bool)\n"
178299  " AnimatSim::Environment::RigidBody::AngularVelocityDamping(float)\n");
178300  return 0;
178301 }
178302 
178303 
178304 SWIGINTERN PyObject *_wrap_RigidBody_MaterialID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
178305  PyObject *resultobj = 0;
178307  void *argp1 = 0 ;
178308  int res1 = 0 ;
178309  PyObject * obj0 = 0 ;
178310  std::string result;
178311 
178312  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_MaterialID",&obj0)) SWIG_fail;
178313  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
178314  if (!SWIG_IsOK(res1)) {
178315  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_MaterialID" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
178316  }
178317  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
178318  {
178319  try {
178320  result = (arg1)->MaterialID();
178321  }
178322  catch(CStdErrorInfo oError)
178323  {
178324  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178325  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
178326  PyErr_SetString(PyExc_IndexError, strError.c_str());
178327  SWIG_fail;
178328  }
178329  catch(...)
178330  {
178331  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178332  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
178333  SWIG_fail;
178334  }
178335  }
178336  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
178337  return resultobj;
178338 fail:
178339  return NULL;
178340 }
178341 
178342 
178343 SWIGINTERN PyObject *_wrap_RigidBody_MaterialID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
178344  PyObject *resultobj = 0;
178346  std::string arg2 ;
178347  void *argp1 = 0 ;
178348  int res1 = 0 ;
178349  PyObject * obj0 = 0 ;
178350  PyObject * obj1 = 0 ;
178351 
178352  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_MaterialID",&obj0,&obj1)) SWIG_fail;
178353  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
178354  if (!SWIG_IsOK(res1)) {
178355  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_MaterialID" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
178356  }
178357  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
178358  {
178359  std::string *ptr = (std::string *)0;
178360  int res = SWIG_AsPtr_std_string(obj1, &ptr);
178361  if (!SWIG_IsOK(res) || !ptr) {
178362  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RigidBody_MaterialID" "', argument " "2"" of type '" "std::string""'");
178363  }
178364  arg2 = *ptr;
178365  if (SWIG_IsNewObj(res)) delete ptr;
178366  }
178367  {
178368  try {
178369  (arg1)->MaterialID(arg2);
178370  }
178371  catch(CStdErrorInfo oError)
178372  {
178373  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178374  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
178375  PyErr_SetString(PyExc_IndexError, strError.c_str());
178376  SWIG_fail;
178377  }
178378  catch(...)
178379  {
178380  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178381  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
178382  SWIG_fail;
178383  }
178384  }
178385  resultobj = SWIG_Py_Void();
178386  return resultobj;
178387 fail:
178388  return NULL;
178389 }
178390 
178391 
178392 SWIGINTERN PyObject *_wrap_RigidBody_MaterialID(PyObject *self, PyObject *args) {
178393  int argc;
178394  PyObject *argv[3];
178395  int ii;
178396 
178397  if (!PyTuple_Check(args)) SWIG_fail;
178398  argc = args ? (int)PyObject_Length(args) : 0;
178399  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
178400  argv[ii] = PyTuple_GET_ITEM(args,ii);
178401  }
178402  if (argc == 1) {
178403  int _v;
178404  void *vptr = 0;
178405  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
178406  _v = SWIG_CheckState(res);
178407  if (_v) {
178408  return _wrap_RigidBody_MaterialID__SWIG_0(self, args);
178409  }
178410  }
178411  if (argc == 2) {
178412  int _v;
178413  void *vptr = 0;
178414  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
178415  _v = SWIG_CheckState(res);
178416  if (_v) {
178417  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
178418  _v = SWIG_CheckState(res);
178419  if (_v) {
178420  return _wrap_RigidBody_MaterialID__SWIG_1(self, args);
178421  }
178422  }
178423  }
178424 
178425 fail:
178426  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_MaterialID'.\n"
178427  " Possible C/C++ prototypes are:\n"
178428  " AnimatSim::Environment::RigidBody::MaterialID()\n"
178429  " AnimatSim::Environment::RigidBody::MaterialID(std::string)\n");
178430  return 0;
178431 }
178432 
178433 
178434 SWIGINTERN PyObject *_wrap_RigidBody_BuoyancyCenter__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
178435  PyObject *resultobj = 0;
178437  void *argp1 = 0 ;
178438  int res1 = 0 ;
178439  PyObject * obj0 = 0 ;
178440  CStdPoint< float > result;
178441 
178442  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_BuoyancyCenter",&obj0)) SWIG_fail;
178443  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
178444  if (!SWIG_IsOK(res1)) {
178445  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_BuoyancyCenter" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
178446  }
178447  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
178448  {
178449  try {
178450  result = (arg1)->BuoyancyCenter();
178451  }
178452  catch(CStdErrorInfo oError)
178453  {
178454  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178455  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
178456  PyErr_SetString(PyExc_IndexError, strError.c_str());
178457  SWIG_fail;
178458  }
178459  catch(...)
178460  {
178461  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178462  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
178463  SWIG_fail;
178464  }
178465  }
178466  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
178467  return resultobj;
178468 fail:
178469  return NULL;
178470 }
178471 
178472 
178473 SWIGINTERN PyObject *_wrap_RigidBody_BuoyancyCenter__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
178474  PyObject *resultobj = 0;
178476  CStdPoint< float > *arg2 = 0 ;
178477  bool arg3 ;
178478  void *argp1 = 0 ;
178479  int res1 = 0 ;
178480  void *argp2 = 0 ;
178481  int res2 = 0 ;
178482  bool val3 ;
178483  int ecode3 = 0 ;
178484  PyObject * obj0 = 0 ;
178485  PyObject * obj1 = 0 ;
178486  PyObject * obj2 = 0 ;
178487 
178488  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_BuoyancyCenter",&obj0,&obj1,&obj2)) SWIG_fail;
178489  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
178490  if (!SWIG_IsOK(res1)) {
178491  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_BuoyancyCenter" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
178492  }
178493  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
178494  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
178495  if (!SWIG_IsOK(res2)) {
178496  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_BuoyancyCenter" "', argument " "2"" of type '" "CStdPoint< float > &""'");
178497  }
178498  if (!argp2) {
178499  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_BuoyancyCenter" "', argument " "2"" of type '" "CStdPoint< float > &""'");
178500  }
178501  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
178502  ecode3 = SWIG_AsVal_bool(obj2, &val3);
178503  if (!SWIG_IsOK(ecode3)) {
178504  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_BuoyancyCenter" "', argument " "3"" of type '" "bool""'");
178505  }
178506  arg3 = static_cast< bool >(val3);
178507  {
178508  try {
178509  (arg1)->BuoyancyCenter(*arg2,arg3);
178510  }
178511  catch(CStdErrorInfo oError)
178512  {
178513  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178514  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
178515  PyErr_SetString(PyExc_IndexError, strError.c_str());
178516  SWIG_fail;
178517  }
178518  catch(...)
178519  {
178520  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178521  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
178522  SWIG_fail;
178523  }
178524  }
178525  resultobj = SWIG_Py_Void();
178526  return resultobj;
178527 fail:
178528  return NULL;
178529 }
178530 
178531 
178532 SWIGINTERN PyObject *_wrap_RigidBody_BuoyancyCenter__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
178533  PyObject *resultobj = 0;
178535  CStdPoint< float > *arg2 = 0 ;
178536  void *argp1 = 0 ;
178537  int res1 = 0 ;
178538  void *argp2 = 0 ;
178539  int res2 = 0 ;
178540  PyObject * obj0 = 0 ;
178541  PyObject * obj1 = 0 ;
178542 
178543  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_BuoyancyCenter",&obj0,&obj1)) SWIG_fail;
178544  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
178545  if (!SWIG_IsOK(res1)) {
178546  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_BuoyancyCenter" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
178547  }
178548  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
178549  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
178550  if (!SWIG_IsOK(res2)) {
178551  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_BuoyancyCenter" "', argument " "2"" of type '" "CStdPoint< float > &""'");
178552  }
178553  if (!argp2) {
178554  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_BuoyancyCenter" "', argument " "2"" of type '" "CStdPoint< float > &""'");
178555  }
178556  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
178557  {
178558  try {
178559  (arg1)->BuoyancyCenter(*arg2);
178560  }
178561  catch(CStdErrorInfo oError)
178562  {
178563  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178564  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
178565  PyErr_SetString(PyExc_IndexError, strError.c_str());
178566  SWIG_fail;
178567  }
178568  catch(...)
178569  {
178570  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178571  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
178572  SWIG_fail;
178573  }
178574  }
178575  resultobj = SWIG_Py_Void();
178576  return resultobj;
178577 fail:
178578  return NULL;
178579 }
178580 
178581 
178582 SWIGINTERN PyObject *_wrap_RigidBody_BuoyancyCenter__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
178583  PyObject *resultobj = 0;
178585  float arg2 ;
178586  float arg3 ;
178587  float arg4 ;
178588  bool arg5 ;
178589  void *argp1 = 0 ;
178590  int res1 = 0 ;
178591  float val2 ;
178592  int ecode2 = 0 ;
178593  float val3 ;
178594  int ecode3 = 0 ;
178595  float val4 ;
178596  int ecode4 = 0 ;
178597  bool val5 ;
178598  int ecode5 = 0 ;
178599  PyObject * obj0 = 0 ;
178600  PyObject * obj1 = 0 ;
178601  PyObject * obj2 = 0 ;
178602  PyObject * obj3 = 0 ;
178603  PyObject * obj4 = 0 ;
178604 
178605  if (!PyArg_ParseTuple(args,(char *)"OOOOO:RigidBody_BuoyancyCenter",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
178606  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
178607  if (!SWIG_IsOK(res1)) {
178608  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_BuoyancyCenter" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
178609  }
178610  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
178611  ecode2 = SWIG_AsVal_float(obj1, &val2);
178612  if (!SWIG_IsOK(ecode2)) {
178613  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_BuoyancyCenter" "', argument " "2"" of type '" "float""'");
178614  }
178615  arg2 = static_cast< float >(val2);
178616  ecode3 = SWIG_AsVal_float(obj2, &val3);
178617  if (!SWIG_IsOK(ecode3)) {
178618  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_BuoyancyCenter" "', argument " "3"" of type '" "float""'");
178619  }
178620  arg3 = static_cast< float >(val3);
178621  ecode4 = SWIG_AsVal_float(obj3, &val4);
178622  if (!SWIG_IsOK(ecode4)) {
178623  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_BuoyancyCenter" "', argument " "4"" of type '" "float""'");
178624  }
178625  arg4 = static_cast< float >(val4);
178626  ecode5 = SWIG_AsVal_bool(obj4, &val5);
178627  if (!SWIG_IsOK(ecode5)) {
178628  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RigidBody_BuoyancyCenter" "', argument " "5"" of type '" "bool""'");
178629  }
178630  arg5 = static_cast< bool >(val5);
178631  {
178632  try {
178633  (arg1)->BuoyancyCenter(arg2,arg3,arg4,arg5);
178634  }
178635  catch(CStdErrorInfo oError)
178636  {
178637  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178638  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
178639  PyErr_SetString(PyExc_IndexError, strError.c_str());
178640  SWIG_fail;
178641  }
178642  catch(...)
178643  {
178644  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178645  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
178646  SWIG_fail;
178647  }
178648  }
178649  resultobj = SWIG_Py_Void();
178650  return resultobj;
178651 fail:
178652  return NULL;
178653 }
178654 
178655 
178656 SWIGINTERN PyObject *_wrap_RigidBody_BuoyancyCenter__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
178657  PyObject *resultobj = 0;
178659  float arg2 ;
178660  float arg3 ;
178661  float arg4 ;
178662  void *argp1 = 0 ;
178663  int res1 = 0 ;
178664  float val2 ;
178665  int ecode2 = 0 ;
178666  float val3 ;
178667  int ecode3 = 0 ;
178668  float val4 ;
178669  int ecode4 = 0 ;
178670  PyObject * obj0 = 0 ;
178671  PyObject * obj1 = 0 ;
178672  PyObject * obj2 = 0 ;
178673  PyObject * obj3 = 0 ;
178674 
178675  if (!PyArg_ParseTuple(args,(char *)"OOOO:RigidBody_BuoyancyCenter",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
178676  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
178677  if (!SWIG_IsOK(res1)) {
178678  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_BuoyancyCenter" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
178679  }
178680  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
178681  ecode2 = SWIG_AsVal_float(obj1, &val2);
178682  if (!SWIG_IsOK(ecode2)) {
178683  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_BuoyancyCenter" "', argument " "2"" of type '" "float""'");
178684  }
178685  arg2 = static_cast< float >(val2);
178686  ecode3 = SWIG_AsVal_float(obj2, &val3);
178687  if (!SWIG_IsOK(ecode3)) {
178688  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_BuoyancyCenter" "', argument " "3"" of type '" "float""'");
178689  }
178690  arg3 = static_cast< float >(val3);
178691  ecode4 = SWIG_AsVal_float(obj3, &val4);
178692  if (!SWIG_IsOK(ecode4)) {
178693  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_BuoyancyCenter" "', argument " "4"" of type '" "float""'");
178694  }
178695  arg4 = static_cast< float >(val4);
178696  {
178697  try {
178698  (arg1)->BuoyancyCenter(arg2,arg3,arg4);
178699  }
178700  catch(CStdErrorInfo oError)
178701  {
178702  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178703  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
178704  PyErr_SetString(PyExc_IndexError, strError.c_str());
178705  SWIG_fail;
178706  }
178707  catch(...)
178708  {
178709  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178710  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
178711  SWIG_fail;
178712  }
178713  }
178714  resultobj = SWIG_Py_Void();
178715  return resultobj;
178716 fail:
178717  return NULL;
178718 }
178719 
178720 
178721 SWIGINTERN PyObject *_wrap_RigidBody_BuoyancyCenter__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
178722  PyObject *resultobj = 0;
178724  std::string arg2 ;
178725  bool arg3 ;
178726  void *argp1 = 0 ;
178727  int res1 = 0 ;
178728  bool val3 ;
178729  int ecode3 = 0 ;
178730  PyObject * obj0 = 0 ;
178731  PyObject * obj1 = 0 ;
178732  PyObject * obj2 = 0 ;
178733 
178734  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_BuoyancyCenter",&obj0,&obj1,&obj2)) SWIG_fail;
178735  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
178736  if (!SWIG_IsOK(res1)) {
178737  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_BuoyancyCenter" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
178738  }
178739  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
178740  {
178741  std::string *ptr = (std::string *)0;
178742  int res = SWIG_AsPtr_std_string(obj1, &ptr);
178743  if (!SWIG_IsOK(res) || !ptr) {
178744  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RigidBody_BuoyancyCenter" "', argument " "2"" of type '" "std::string""'");
178745  }
178746  arg2 = *ptr;
178747  if (SWIG_IsNewObj(res)) delete ptr;
178748  }
178749  ecode3 = SWIG_AsVal_bool(obj2, &val3);
178750  if (!SWIG_IsOK(ecode3)) {
178751  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_BuoyancyCenter" "', argument " "3"" of type '" "bool""'");
178752  }
178753  arg3 = static_cast< bool >(val3);
178754  {
178755  try {
178756  (arg1)->BuoyancyCenter(arg2,arg3);
178757  }
178758  catch(CStdErrorInfo oError)
178759  {
178760  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178761  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
178762  PyErr_SetString(PyExc_IndexError, strError.c_str());
178763  SWIG_fail;
178764  }
178765  catch(...)
178766  {
178767  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178768  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
178769  SWIG_fail;
178770  }
178771  }
178772  resultobj = SWIG_Py_Void();
178773  return resultobj;
178774 fail:
178775  return NULL;
178776 }
178777 
178778 
178779 SWIGINTERN PyObject *_wrap_RigidBody_BuoyancyCenter__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
178780  PyObject *resultobj = 0;
178782  std::string arg2 ;
178783  void *argp1 = 0 ;
178784  int res1 = 0 ;
178785  PyObject * obj0 = 0 ;
178786  PyObject * obj1 = 0 ;
178787 
178788  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_BuoyancyCenter",&obj0,&obj1)) SWIG_fail;
178789  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
178790  if (!SWIG_IsOK(res1)) {
178791  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_BuoyancyCenter" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
178792  }
178793  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
178794  {
178795  std::string *ptr = (std::string *)0;
178796  int res = SWIG_AsPtr_std_string(obj1, &ptr);
178797  if (!SWIG_IsOK(res) || !ptr) {
178798  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RigidBody_BuoyancyCenter" "', argument " "2"" of type '" "std::string""'");
178799  }
178800  arg2 = *ptr;
178801  if (SWIG_IsNewObj(res)) delete ptr;
178802  }
178803  {
178804  try {
178805  (arg1)->BuoyancyCenter(arg2);
178806  }
178807  catch(CStdErrorInfo oError)
178808  {
178809  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178810  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
178811  PyErr_SetString(PyExc_IndexError, strError.c_str());
178812  SWIG_fail;
178813  }
178814  catch(...)
178815  {
178816  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
178817  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
178818  SWIG_fail;
178819  }
178820  }
178821  resultobj = SWIG_Py_Void();
178822  return resultobj;
178823 fail:
178824  return NULL;
178825 }
178826 
178827 
178828 SWIGINTERN PyObject *_wrap_RigidBody_BuoyancyCenter(PyObject *self, PyObject *args) {
178829  int argc;
178830  PyObject *argv[6];
178831  int ii;
178832 
178833  if (!PyTuple_Check(args)) SWIG_fail;
178834  argc = args ? (int)PyObject_Length(args) : 0;
178835  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
178836  argv[ii] = PyTuple_GET_ITEM(args,ii);
178837  }
178838  if (argc == 1) {
178839  int _v;
178840  void *vptr = 0;
178841  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
178842  _v = SWIG_CheckState(res);
178843  if (_v) {
178844  return _wrap_RigidBody_BuoyancyCenter__SWIG_0(self, args);
178845  }
178846  }
178847  if (argc == 2) {
178848  int _v;
178849  void *vptr = 0;
178850  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
178851  _v = SWIG_CheckState(res);
178852  if (_v) {
178853  void *vptr = 0;
178854  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
178855  _v = SWIG_CheckState(res);
178856  if (_v) {
178857  return _wrap_RigidBody_BuoyancyCenter__SWIG_2(self, args);
178858  }
178859  }
178860  }
178861  if (argc == 2) {
178862  int _v;
178863  void *vptr = 0;
178864  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
178865  _v = SWIG_CheckState(res);
178866  if (_v) {
178867  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
178868  _v = SWIG_CheckState(res);
178869  if (_v) {
178870  return _wrap_RigidBody_BuoyancyCenter__SWIG_6(self, args);
178871  }
178872  }
178873  }
178874  if (argc == 3) {
178875  int _v;
178876  void *vptr = 0;
178877  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
178878  _v = SWIG_CheckState(res);
178879  if (_v) {
178880  void *vptr = 0;
178881  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
178882  _v = SWIG_CheckState(res);
178883  if (_v) {
178884  {
178885  int res = SWIG_AsVal_bool(argv[2], NULL);
178886  _v = SWIG_CheckState(res);
178887  }
178888  if (_v) {
178889  return _wrap_RigidBody_BuoyancyCenter__SWIG_1(self, args);
178890  }
178891  }
178892  }
178893  }
178894  if (argc == 3) {
178895  int _v;
178896  void *vptr = 0;
178897  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
178898  _v = SWIG_CheckState(res);
178899  if (_v) {
178900  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
178901  _v = SWIG_CheckState(res);
178902  if (_v) {
178903  {
178904  int res = SWIG_AsVal_bool(argv[2], NULL);
178905  _v = SWIG_CheckState(res);
178906  }
178907  if (_v) {
178908  return _wrap_RigidBody_BuoyancyCenter__SWIG_5(self, args);
178909  }
178910  }
178911  }
178912  }
178913  if (argc == 4) {
178914  int _v;
178915  void *vptr = 0;
178916  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
178917  _v = SWIG_CheckState(res);
178918  if (_v) {
178919  {
178920  int res = SWIG_AsVal_float(argv[1], NULL);
178921  _v = SWIG_CheckState(res);
178922  }
178923  if (_v) {
178924  {
178925  int res = SWIG_AsVal_float(argv[2], NULL);
178926  _v = SWIG_CheckState(res);
178927  }
178928  if (_v) {
178929  {
178930  int res = SWIG_AsVal_float(argv[3], NULL);
178931  _v = SWIG_CheckState(res);
178932  }
178933  if (_v) {
178934  return _wrap_RigidBody_BuoyancyCenter__SWIG_4(self, args);
178935  }
178936  }
178937  }
178938  }
178939  }
178940  if (argc == 5) {
178941  int _v;
178942  void *vptr = 0;
178943  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
178944  _v = SWIG_CheckState(res);
178945  if (_v) {
178946  {
178947  int res = SWIG_AsVal_float(argv[1], NULL);
178948  _v = SWIG_CheckState(res);
178949  }
178950  if (_v) {
178951  {
178952  int res = SWIG_AsVal_float(argv[2], NULL);
178953  _v = SWIG_CheckState(res);
178954  }
178955  if (_v) {
178956  {
178957  int res = SWIG_AsVal_float(argv[3], NULL);
178958  _v = SWIG_CheckState(res);
178959  }
178960  if (_v) {
178961  {
178962  int res = SWIG_AsVal_bool(argv[4], NULL);
178963  _v = SWIG_CheckState(res);
178964  }
178965  if (_v) {
178966  return _wrap_RigidBody_BuoyancyCenter__SWIG_3(self, args);
178967  }
178968  }
178969  }
178970  }
178971  }
178972  }
178973 
178974 fail:
178975  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_BuoyancyCenter'.\n"
178976  " Possible C/C++ prototypes are:\n"
178977  " AnimatSim::Environment::RigidBody::BuoyancyCenter()\n"
178978  " AnimatSim::Environment::RigidBody::BuoyancyCenter(CStdPoint< float > &,bool)\n"
178979  " AnimatSim::Environment::RigidBody::BuoyancyCenter(CStdPoint< float > &)\n"
178980  " AnimatSim::Environment::RigidBody::BuoyancyCenter(float,float,float,bool)\n"
178981  " AnimatSim::Environment::RigidBody::BuoyancyCenter(float,float,float)\n"
178982  " AnimatSim::Environment::RigidBody::BuoyancyCenter(std::string,bool)\n"
178983  " AnimatSim::Environment::RigidBody::BuoyancyCenter(std::string)\n");
178984  return 0;
178985 }
178986 
178987 
178988 SWIGINTERN PyObject *_wrap_RigidBody_BuoyancyScale__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
178989  PyObject *resultobj = 0;
178991  void *argp1 = 0 ;
178992  int res1 = 0 ;
178993  PyObject * obj0 = 0 ;
178994  float result;
178995 
178996  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_BuoyancyScale",&obj0)) SWIG_fail;
178997  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
178998  if (!SWIG_IsOK(res1)) {
178999  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_BuoyancyScale" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
179000  }
179001  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
179002  {
179003  try {
179004  result = (float)(arg1)->BuoyancyScale();
179005  }
179006  catch(CStdErrorInfo oError)
179007  {
179008  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179009  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
179010  PyErr_SetString(PyExc_IndexError, strError.c_str());
179011  SWIG_fail;
179012  }
179013  catch(...)
179014  {
179015  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179016  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
179017  SWIG_fail;
179018  }
179019  }
179020  resultobj = SWIG_From_float(static_cast< float >(result));
179021  return resultobj;
179022 fail:
179023  return NULL;
179024 }
179025 
179026 
179027 SWIGINTERN PyObject *_wrap_RigidBody_BuoyancyScale__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
179028  PyObject *resultobj = 0;
179030  float arg2 ;
179031  void *argp1 = 0 ;
179032  int res1 = 0 ;
179033  float val2 ;
179034  int ecode2 = 0 ;
179035  PyObject * obj0 = 0 ;
179036  PyObject * obj1 = 0 ;
179037 
179038  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_BuoyancyScale",&obj0,&obj1)) SWIG_fail;
179039  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
179040  if (!SWIG_IsOK(res1)) {
179041  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_BuoyancyScale" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
179042  }
179043  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
179044  ecode2 = SWIG_AsVal_float(obj1, &val2);
179045  if (!SWIG_IsOK(ecode2)) {
179046  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_BuoyancyScale" "', argument " "2"" of type '" "float""'");
179047  }
179048  arg2 = static_cast< float >(val2);
179049  {
179050  try {
179051  (arg1)->BuoyancyScale(arg2);
179052  }
179053  catch(CStdErrorInfo oError)
179054  {
179055  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179056  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
179057  PyErr_SetString(PyExc_IndexError, strError.c_str());
179058  SWIG_fail;
179059  }
179060  catch(...)
179061  {
179062  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179063  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
179064  SWIG_fail;
179065  }
179066  }
179067  resultobj = SWIG_Py_Void();
179068  return resultobj;
179069 fail:
179070  return NULL;
179071 }
179072 
179073 
179074 SWIGINTERN PyObject *_wrap_RigidBody_BuoyancyScale(PyObject *self, PyObject *args) {
179075  int argc;
179076  PyObject *argv[3];
179077  int ii;
179078 
179079  if (!PyTuple_Check(args)) SWIG_fail;
179080  argc = args ? (int)PyObject_Length(args) : 0;
179081  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
179082  argv[ii] = PyTuple_GET_ITEM(args,ii);
179083  }
179084  if (argc == 1) {
179085  int _v;
179086  void *vptr = 0;
179087  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
179088  _v = SWIG_CheckState(res);
179089  if (_v) {
179090  return _wrap_RigidBody_BuoyancyScale__SWIG_0(self, args);
179091  }
179092  }
179093  if (argc == 2) {
179094  int _v;
179095  void *vptr = 0;
179096  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
179097  _v = SWIG_CheckState(res);
179098  if (_v) {
179099  {
179100  int res = SWIG_AsVal_float(argv[1], NULL);
179101  _v = SWIG_CheckState(res);
179102  }
179103  if (_v) {
179104  return _wrap_RigidBody_BuoyancyScale__SWIG_1(self, args);
179105  }
179106  }
179107  }
179108 
179109 fail:
179110  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_BuoyancyScale'.\n"
179111  " Possible C/C++ prototypes are:\n"
179112  " AnimatSim::Environment::RigidBody::BuoyancyScale()\n"
179113  " AnimatSim::Environment::RigidBody::BuoyancyScale(float)\n");
179114  return 0;
179115 }
179116 
179117 
179118 SWIGINTERN PyObject *_wrap_RigidBody_LinearDrag__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
179119  PyObject *resultobj = 0;
179121  void *argp1 = 0 ;
179122  int res1 = 0 ;
179123  PyObject * obj0 = 0 ;
179124  CStdPoint< float > result;
179125 
179126  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_LinearDrag",&obj0)) SWIG_fail;
179127  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
179128  if (!SWIG_IsOK(res1)) {
179129  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_LinearDrag" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
179130  }
179131  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
179132  {
179133  try {
179134  result = (arg1)->LinearDrag();
179135  }
179136  catch(CStdErrorInfo oError)
179137  {
179138  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179139  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
179140  PyErr_SetString(PyExc_IndexError, strError.c_str());
179141  SWIG_fail;
179142  }
179143  catch(...)
179144  {
179145  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179146  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
179147  SWIG_fail;
179148  }
179149  }
179150  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
179151  return resultobj;
179152 fail:
179153  return NULL;
179154 }
179155 
179156 
179157 SWIGINTERN PyObject *_wrap_RigidBody_LinearDrag__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
179158  PyObject *resultobj = 0;
179160  CStdPoint< float > *arg2 = 0 ;
179161  void *argp1 = 0 ;
179162  int res1 = 0 ;
179163  void *argp2 = 0 ;
179164  int res2 = 0 ;
179165  PyObject * obj0 = 0 ;
179166  PyObject * obj1 = 0 ;
179167 
179168  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_LinearDrag",&obj0,&obj1)) SWIG_fail;
179169  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
179170  if (!SWIG_IsOK(res1)) {
179171  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_LinearDrag" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
179172  }
179173  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
179174  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
179175  if (!SWIG_IsOK(res2)) {
179176  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_LinearDrag" "', argument " "2"" of type '" "CStdPoint< float > &""'");
179177  }
179178  if (!argp2) {
179179  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_LinearDrag" "', argument " "2"" of type '" "CStdPoint< float > &""'");
179180  }
179181  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
179182  {
179183  try {
179184  (arg1)->LinearDrag(*arg2);
179185  }
179186  catch(CStdErrorInfo oError)
179187  {
179188  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179189  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
179190  PyErr_SetString(PyExc_IndexError, strError.c_str());
179191  SWIG_fail;
179192  }
179193  catch(...)
179194  {
179195  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179196  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
179197  SWIG_fail;
179198  }
179199  }
179200  resultobj = SWIG_Py_Void();
179201  return resultobj;
179202 fail:
179203  return NULL;
179204 }
179205 
179206 
179207 SWIGINTERN PyObject *_wrap_RigidBody_LinearDrag__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
179208  PyObject *resultobj = 0;
179210  float arg2 ;
179211  float arg3 ;
179212  float arg4 ;
179213  void *argp1 = 0 ;
179214  int res1 = 0 ;
179215  float val2 ;
179216  int ecode2 = 0 ;
179217  float val3 ;
179218  int ecode3 = 0 ;
179219  float val4 ;
179220  int ecode4 = 0 ;
179221  PyObject * obj0 = 0 ;
179222  PyObject * obj1 = 0 ;
179223  PyObject * obj2 = 0 ;
179224  PyObject * obj3 = 0 ;
179225 
179226  if (!PyArg_ParseTuple(args,(char *)"OOOO:RigidBody_LinearDrag",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
179227  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
179228  if (!SWIG_IsOK(res1)) {
179229  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_LinearDrag" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
179230  }
179231  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
179232  ecode2 = SWIG_AsVal_float(obj1, &val2);
179233  if (!SWIG_IsOK(ecode2)) {
179234  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_LinearDrag" "', argument " "2"" of type '" "float""'");
179235  }
179236  arg2 = static_cast< float >(val2);
179237  ecode3 = SWIG_AsVal_float(obj2, &val3);
179238  if (!SWIG_IsOK(ecode3)) {
179239  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_LinearDrag" "', argument " "3"" of type '" "float""'");
179240  }
179241  arg3 = static_cast< float >(val3);
179242  ecode4 = SWIG_AsVal_float(obj3, &val4);
179243  if (!SWIG_IsOK(ecode4)) {
179244  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_LinearDrag" "', argument " "4"" of type '" "float""'");
179245  }
179246  arg4 = static_cast< float >(val4);
179247  {
179248  try {
179249  (arg1)->LinearDrag(arg2,arg3,arg4);
179250  }
179251  catch(CStdErrorInfo oError)
179252  {
179253  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179254  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
179255  PyErr_SetString(PyExc_IndexError, strError.c_str());
179256  SWIG_fail;
179257  }
179258  catch(...)
179259  {
179260  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179261  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
179262  SWIG_fail;
179263  }
179264  }
179265  resultobj = SWIG_Py_Void();
179266  return resultobj;
179267 fail:
179268  return NULL;
179269 }
179270 
179271 
179272 SWIGINTERN PyObject *_wrap_RigidBody_LinearDrag__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
179273  PyObject *resultobj = 0;
179275  std::string arg2 ;
179276  void *argp1 = 0 ;
179277  int res1 = 0 ;
179278  PyObject * obj0 = 0 ;
179279  PyObject * obj1 = 0 ;
179280 
179281  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_LinearDrag",&obj0,&obj1)) SWIG_fail;
179282  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
179283  if (!SWIG_IsOK(res1)) {
179284  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_LinearDrag" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
179285  }
179286  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
179287  {
179288  std::string *ptr = (std::string *)0;
179289  int res = SWIG_AsPtr_std_string(obj1, &ptr);
179290  if (!SWIG_IsOK(res) || !ptr) {
179291  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RigidBody_LinearDrag" "', argument " "2"" of type '" "std::string""'");
179292  }
179293  arg2 = *ptr;
179294  if (SWIG_IsNewObj(res)) delete ptr;
179295  }
179296  {
179297  try {
179298  (arg1)->LinearDrag(arg2);
179299  }
179300  catch(CStdErrorInfo oError)
179301  {
179302  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179303  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
179304  PyErr_SetString(PyExc_IndexError, strError.c_str());
179305  SWIG_fail;
179306  }
179307  catch(...)
179308  {
179309  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179310  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
179311  SWIG_fail;
179312  }
179313  }
179314  resultobj = SWIG_Py_Void();
179315  return resultobj;
179316 fail:
179317  return NULL;
179318 }
179319 
179320 
179321 SWIGINTERN PyObject *_wrap_RigidBody_LinearDrag(PyObject *self, PyObject *args) {
179322  int argc;
179323  PyObject *argv[5];
179324  int ii;
179325 
179326  if (!PyTuple_Check(args)) SWIG_fail;
179327  argc = args ? (int)PyObject_Length(args) : 0;
179328  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
179329  argv[ii] = PyTuple_GET_ITEM(args,ii);
179330  }
179331  if (argc == 1) {
179332  int _v;
179333  void *vptr = 0;
179334  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
179335  _v = SWIG_CheckState(res);
179336  if (_v) {
179337  return _wrap_RigidBody_LinearDrag__SWIG_0(self, args);
179338  }
179339  }
179340  if (argc == 2) {
179341  int _v;
179342  void *vptr = 0;
179343  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
179344  _v = SWIG_CheckState(res);
179345  if (_v) {
179346  void *vptr = 0;
179347  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
179348  _v = SWIG_CheckState(res);
179349  if (_v) {
179350  return _wrap_RigidBody_LinearDrag__SWIG_1(self, args);
179351  }
179352  }
179353  }
179354  if (argc == 2) {
179355  int _v;
179356  void *vptr = 0;
179357  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
179358  _v = SWIG_CheckState(res);
179359  if (_v) {
179360  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
179361  _v = SWIG_CheckState(res);
179362  if (_v) {
179363  return _wrap_RigidBody_LinearDrag__SWIG_3(self, args);
179364  }
179365  }
179366  }
179367  if (argc == 4) {
179368  int _v;
179369  void *vptr = 0;
179370  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
179371  _v = SWIG_CheckState(res);
179372  if (_v) {
179373  {
179374  int res = SWIG_AsVal_float(argv[1], NULL);
179375  _v = SWIG_CheckState(res);
179376  }
179377  if (_v) {
179378  {
179379  int res = SWIG_AsVal_float(argv[2], NULL);
179380  _v = SWIG_CheckState(res);
179381  }
179382  if (_v) {
179383  {
179384  int res = SWIG_AsVal_float(argv[3], NULL);
179385  _v = SWIG_CheckState(res);
179386  }
179387  if (_v) {
179388  return _wrap_RigidBody_LinearDrag__SWIG_2(self, args);
179389  }
179390  }
179391  }
179392  }
179393  }
179394 
179395 fail:
179396  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_LinearDrag'.\n"
179397  " Possible C/C++ prototypes are:\n"
179398  " AnimatSim::Environment::RigidBody::LinearDrag()\n"
179399  " AnimatSim::Environment::RigidBody::LinearDrag(CStdPoint< float > &)\n"
179400  " AnimatSim::Environment::RigidBody::LinearDrag(float,float,float)\n"
179401  " AnimatSim::Environment::RigidBody::LinearDrag(std::string)\n");
179402  return 0;
179403 }
179404 
179405 
179406 SWIGINTERN PyObject *_wrap_RigidBody_AngularDrag__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
179407  PyObject *resultobj = 0;
179409  void *argp1 = 0 ;
179410  int res1 = 0 ;
179411  PyObject * obj0 = 0 ;
179412  CStdPoint< float > result;
179413 
179414  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_AngularDrag",&obj0)) SWIG_fail;
179415  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
179416  if (!SWIG_IsOK(res1)) {
179417  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AngularDrag" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
179418  }
179419  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
179420  {
179421  try {
179422  result = (arg1)->AngularDrag();
179423  }
179424  catch(CStdErrorInfo oError)
179425  {
179426  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179427  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
179428  PyErr_SetString(PyExc_IndexError, strError.c_str());
179429  SWIG_fail;
179430  }
179431  catch(...)
179432  {
179433  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179434  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
179435  SWIG_fail;
179436  }
179437  }
179438  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
179439  return resultobj;
179440 fail:
179441  return NULL;
179442 }
179443 
179444 
179445 SWIGINTERN PyObject *_wrap_RigidBody_AngularDrag__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
179446  PyObject *resultobj = 0;
179448  CStdPoint< float > *arg2 = 0 ;
179449  void *argp1 = 0 ;
179450  int res1 = 0 ;
179451  void *argp2 = 0 ;
179452  int res2 = 0 ;
179453  PyObject * obj0 = 0 ;
179454  PyObject * obj1 = 0 ;
179455 
179456  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_AngularDrag",&obj0,&obj1)) SWIG_fail;
179457  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
179458  if (!SWIG_IsOK(res1)) {
179459  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AngularDrag" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
179460  }
179461  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
179462  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
179463  if (!SWIG_IsOK(res2)) {
179464  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_AngularDrag" "', argument " "2"" of type '" "CStdPoint< float > &""'");
179465  }
179466  if (!argp2) {
179467  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_AngularDrag" "', argument " "2"" of type '" "CStdPoint< float > &""'");
179468  }
179469  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
179470  {
179471  try {
179472  (arg1)->AngularDrag(*arg2);
179473  }
179474  catch(CStdErrorInfo oError)
179475  {
179476  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179477  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
179478  PyErr_SetString(PyExc_IndexError, strError.c_str());
179479  SWIG_fail;
179480  }
179481  catch(...)
179482  {
179483  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179484  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
179485  SWIG_fail;
179486  }
179487  }
179488  resultobj = SWIG_Py_Void();
179489  return resultobj;
179490 fail:
179491  return NULL;
179492 }
179493 
179494 
179495 SWIGINTERN PyObject *_wrap_RigidBody_AngularDrag__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
179496  PyObject *resultobj = 0;
179498  float arg2 ;
179499  float arg3 ;
179500  float arg4 ;
179501  void *argp1 = 0 ;
179502  int res1 = 0 ;
179503  float val2 ;
179504  int ecode2 = 0 ;
179505  float val3 ;
179506  int ecode3 = 0 ;
179507  float val4 ;
179508  int ecode4 = 0 ;
179509  PyObject * obj0 = 0 ;
179510  PyObject * obj1 = 0 ;
179511  PyObject * obj2 = 0 ;
179512  PyObject * obj3 = 0 ;
179513 
179514  if (!PyArg_ParseTuple(args,(char *)"OOOO:RigidBody_AngularDrag",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
179515  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
179516  if (!SWIG_IsOK(res1)) {
179517  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AngularDrag" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
179518  }
179519  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
179520  ecode2 = SWIG_AsVal_float(obj1, &val2);
179521  if (!SWIG_IsOK(ecode2)) {
179522  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_AngularDrag" "', argument " "2"" of type '" "float""'");
179523  }
179524  arg2 = static_cast< float >(val2);
179525  ecode3 = SWIG_AsVal_float(obj2, &val3);
179526  if (!SWIG_IsOK(ecode3)) {
179527  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_AngularDrag" "', argument " "3"" of type '" "float""'");
179528  }
179529  arg3 = static_cast< float >(val3);
179530  ecode4 = SWIG_AsVal_float(obj3, &val4);
179531  if (!SWIG_IsOK(ecode4)) {
179532  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_AngularDrag" "', argument " "4"" of type '" "float""'");
179533  }
179534  arg4 = static_cast< float >(val4);
179535  {
179536  try {
179537  (arg1)->AngularDrag(arg2,arg3,arg4);
179538  }
179539  catch(CStdErrorInfo oError)
179540  {
179541  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179542  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
179543  PyErr_SetString(PyExc_IndexError, strError.c_str());
179544  SWIG_fail;
179545  }
179546  catch(...)
179547  {
179548  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179549  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
179550  SWIG_fail;
179551  }
179552  }
179553  resultobj = SWIG_Py_Void();
179554  return resultobj;
179555 fail:
179556  return NULL;
179557 }
179558 
179559 
179560 SWIGINTERN PyObject *_wrap_RigidBody_AngularDrag__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
179561  PyObject *resultobj = 0;
179563  std::string arg2 ;
179564  void *argp1 = 0 ;
179565  int res1 = 0 ;
179566  PyObject * obj0 = 0 ;
179567  PyObject * obj1 = 0 ;
179568 
179569  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_AngularDrag",&obj0,&obj1)) SWIG_fail;
179570  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
179571  if (!SWIG_IsOK(res1)) {
179572  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AngularDrag" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
179573  }
179574  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
179575  {
179576  std::string *ptr = (std::string *)0;
179577  int res = SWIG_AsPtr_std_string(obj1, &ptr);
179578  if (!SWIG_IsOK(res) || !ptr) {
179579  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RigidBody_AngularDrag" "', argument " "2"" of type '" "std::string""'");
179580  }
179581  arg2 = *ptr;
179582  if (SWIG_IsNewObj(res)) delete ptr;
179583  }
179584  {
179585  try {
179586  (arg1)->AngularDrag(arg2);
179587  }
179588  catch(CStdErrorInfo oError)
179589  {
179590  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179591  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
179592  PyErr_SetString(PyExc_IndexError, strError.c_str());
179593  SWIG_fail;
179594  }
179595  catch(...)
179596  {
179597  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179598  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
179599  SWIG_fail;
179600  }
179601  }
179602  resultobj = SWIG_Py_Void();
179603  return resultobj;
179604 fail:
179605  return NULL;
179606 }
179607 
179608 
179609 SWIGINTERN PyObject *_wrap_RigidBody_AngularDrag(PyObject *self, PyObject *args) {
179610  int argc;
179611  PyObject *argv[5];
179612  int ii;
179613 
179614  if (!PyTuple_Check(args)) SWIG_fail;
179615  argc = args ? (int)PyObject_Length(args) : 0;
179616  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
179617  argv[ii] = PyTuple_GET_ITEM(args,ii);
179618  }
179619  if (argc == 1) {
179620  int _v;
179621  void *vptr = 0;
179622  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
179623  _v = SWIG_CheckState(res);
179624  if (_v) {
179625  return _wrap_RigidBody_AngularDrag__SWIG_0(self, args);
179626  }
179627  }
179628  if (argc == 2) {
179629  int _v;
179630  void *vptr = 0;
179631  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
179632  _v = SWIG_CheckState(res);
179633  if (_v) {
179634  void *vptr = 0;
179635  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
179636  _v = SWIG_CheckState(res);
179637  if (_v) {
179638  return _wrap_RigidBody_AngularDrag__SWIG_1(self, args);
179639  }
179640  }
179641  }
179642  if (argc == 2) {
179643  int _v;
179644  void *vptr = 0;
179645  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
179646  _v = SWIG_CheckState(res);
179647  if (_v) {
179648  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
179649  _v = SWIG_CheckState(res);
179650  if (_v) {
179651  return _wrap_RigidBody_AngularDrag__SWIG_3(self, args);
179652  }
179653  }
179654  }
179655  if (argc == 4) {
179656  int _v;
179657  void *vptr = 0;
179658  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
179659  _v = SWIG_CheckState(res);
179660  if (_v) {
179661  {
179662  int res = SWIG_AsVal_float(argv[1], NULL);
179663  _v = SWIG_CheckState(res);
179664  }
179665  if (_v) {
179666  {
179667  int res = SWIG_AsVal_float(argv[2], NULL);
179668  _v = SWIG_CheckState(res);
179669  }
179670  if (_v) {
179671  {
179672  int res = SWIG_AsVal_float(argv[3], NULL);
179673  _v = SWIG_CheckState(res);
179674  }
179675  if (_v) {
179676  return _wrap_RigidBody_AngularDrag__SWIG_2(self, args);
179677  }
179678  }
179679  }
179680  }
179681  }
179682 
179683 fail:
179684  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_AngularDrag'.\n"
179685  " Possible C/C++ prototypes are:\n"
179686  " AnimatSim::Environment::RigidBody::AngularDrag()\n"
179687  " AnimatSim::Environment::RigidBody::AngularDrag(CStdPoint< float > &)\n"
179688  " AnimatSim::Environment::RigidBody::AngularDrag(float,float,float)\n"
179689  " AnimatSim::Environment::RigidBody::AngularDrag(std::string)\n");
179690  return 0;
179691 }
179692 
179693 
179694 SWIGINTERN PyObject *_wrap_RigidBody_MaxHydroForce__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
179695  PyObject *resultobj = 0;
179697  void *argp1 = 0 ;
179698  int res1 = 0 ;
179699  PyObject * obj0 = 0 ;
179700  float result;
179701 
179702  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_MaxHydroForce",&obj0)) SWIG_fail;
179703  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
179704  if (!SWIG_IsOK(res1)) {
179705  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_MaxHydroForce" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
179706  }
179707  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
179708  {
179709  try {
179710  result = (float)(arg1)->MaxHydroForce();
179711  }
179712  catch(CStdErrorInfo oError)
179713  {
179714  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179715  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
179716  PyErr_SetString(PyExc_IndexError, strError.c_str());
179717  SWIG_fail;
179718  }
179719  catch(...)
179720  {
179721  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179722  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
179723  SWIG_fail;
179724  }
179725  }
179726  resultobj = SWIG_From_float(static_cast< float >(result));
179727  return resultobj;
179728 fail:
179729  return NULL;
179730 }
179731 
179732 
179733 SWIGINTERN PyObject *_wrap_RigidBody_MaxHydroForce__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
179734  PyObject *resultobj = 0;
179736  float arg2 ;
179737  bool arg3 ;
179738  void *argp1 = 0 ;
179739  int res1 = 0 ;
179740  float val2 ;
179741  int ecode2 = 0 ;
179742  bool val3 ;
179743  int ecode3 = 0 ;
179744  PyObject * obj0 = 0 ;
179745  PyObject * obj1 = 0 ;
179746  PyObject * obj2 = 0 ;
179747 
179748  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_MaxHydroForce",&obj0,&obj1,&obj2)) SWIG_fail;
179749  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
179750  if (!SWIG_IsOK(res1)) {
179751  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_MaxHydroForce" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
179752  }
179753  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
179754  ecode2 = SWIG_AsVal_float(obj1, &val2);
179755  if (!SWIG_IsOK(ecode2)) {
179756  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_MaxHydroForce" "', argument " "2"" of type '" "float""'");
179757  }
179758  arg2 = static_cast< float >(val2);
179759  ecode3 = SWIG_AsVal_bool(obj2, &val3);
179760  if (!SWIG_IsOK(ecode3)) {
179761  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_MaxHydroForce" "', argument " "3"" of type '" "bool""'");
179762  }
179763  arg3 = static_cast< bool >(val3);
179764  {
179765  try {
179766  (arg1)->MaxHydroForce(arg2,arg3);
179767  }
179768  catch(CStdErrorInfo oError)
179769  {
179770  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179771  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
179772  PyErr_SetString(PyExc_IndexError, strError.c_str());
179773  SWIG_fail;
179774  }
179775  catch(...)
179776  {
179777  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179778  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
179779  SWIG_fail;
179780  }
179781  }
179782  resultobj = SWIG_Py_Void();
179783  return resultobj;
179784 fail:
179785  return NULL;
179786 }
179787 
179788 
179789 SWIGINTERN PyObject *_wrap_RigidBody_MaxHydroForce__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
179790  PyObject *resultobj = 0;
179792  float arg2 ;
179793  void *argp1 = 0 ;
179794  int res1 = 0 ;
179795  float val2 ;
179796  int ecode2 = 0 ;
179797  PyObject * obj0 = 0 ;
179798  PyObject * obj1 = 0 ;
179799 
179800  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_MaxHydroForce",&obj0,&obj1)) SWIG_fail;
179801  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
179802  if (!SWIG_IsOK(res1)) {
179803  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_MaxHydroForce" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
179804  }
179805  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
179806  ecode2 = SWIG_AsVal_float(obj1, &val2);
179807  if (!SWIG_IsOK(ecode2)) {
179808  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_MaxHydroForce" "', argument " "2"" of type '" "float""'");
179809  }
179810  arg2 = static_cast< float >(val2);
179811  {
179812  try {
179813  (arg1)->MaxHydroForce(arg2);
179814  }
179815  catch(CStdErrorInfo oError)
179816  {
179817  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179818  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
179819  PyErr_SetString(PyExc_IndexError, strError.c_str());
179820  SWIG_fail;
179821  }
179822  catch(...)
179823  {
179824  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179825  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
179826  SWIG_fail;
179827  }
179828  }
179829  resultobj = SWIG_Py_Void();
179830  return resultobj;
179831 fail:
179832  return NULL;
179833 }
179834 
179835 
179836 SWIGINTERN PyObject *_wrap_RigidBody_MaxHydroForce(PyObject *self, PyObject *args) {
179837  int argc;
179838  PyObject *argv[4];
179839  int ii;
179840 
179841  if (!PyTuple_Check(args)) SWIG_fail;
179842  argc = args ? (int)PyObject_Length(args) : 0;
179843  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
179844  argv[ii] = PyTuple_GET_ITEM(args,ii);
179845  }
179846  if (argc == 1) {
179847  int _v;
179848  void *vptr = 0;
179849  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
179850  _v = SWIG_CheckState(res);
179851  if (_v) {
179852  return _wrap_RigidBody_MaxHydroForce__SWIG_0(self, args);
179853  }
179854  }
179855  if (argc == 2) {
179856  int _v;
179857  void *vptr = 0;
179858  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
179859  _v = SWIG_CheckState(res);
179860  if (_v) {
179861  {
179862  int res = SWIG_AsVal_float(argv[1], NULL);
179863  _v = SWIG_CheckState(res);
179864  }
179865  if (_v) {
179866  return _wrap_RigidBody_MaxHydroForce__SWIG_2(self, args);
179867  }
179868  }
179869  }
179870  if (argc == 3) {
179871  int _v;
179872  void *vptr = 0;
179873  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
179874  _v = SWIG_CheckState(res);
179875  if (_v) {
179876  {
179877  int res = SWIG_AsVal_float(argv[1], NULL);
179878  _v = SWIG_CheckState(res);
179879  }
179880  if (_v) {
179881  {
179882  int res = SWIG_AsVal_bool(argv[2], NULL);
179883  _v = SWIG_CheckState(res);
179884  }
179885  if (_v) {
179886  return _wrap_RigidBody_MaxHydroForce__SWIG_1(self, args);
179887  }
179888  }
179889  }
179890  }
179891 
179892 fail:
179893  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_MaxHydroForce'.\n"
179894  " Possible C/C++ prototypes are:\n"
179895  " AnimatSim::Environment::RigidBody::MaxHydroForce()\n"
179896  " AnimatSim::Environment::RigidBody::MaxHydroForce(float,bool)\n"
179897  " AnimatSim::Environment::RigidBody::MaxHydroForce(float)\n");
179898  return 0;
179899 }
179900 
179901 
179902 SWIGINTERN PyObject *_wrap_RigidBody_MaxHydroTorque__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
179903  PyObject *resultobj = 0;
179905  void *argp1 = 0 ;
179906  int res1 = 0 ;
179907  PyObject * obj0 = 0 ;
179908  float result;
179909 
179910  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_MaxHydroTorque",&obj0)) SWIG_fail;
179911  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
179912  if (!SWIG_IsOK(res1)) {
179913  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_MaxHydroTorque" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
179914  }
179915  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
179916  {
179917  try {
179918  result = (float)(arg1)->MaxHydroTorque();
179919  }
179920  catch(CStdErrorInfo oError)
179921  {
179922  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179923  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
179924  PyErr_SetString(PyExc_IndexError, strError.c_str());
179925  SWIG_fail;
179926  }
179927  catch(...)
179928  {
179929  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179930  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
179931  SWIG_fail;
179932  }
179933  }
179934  resultobj = SWIG_From_float(static_cast< float >(result));
179935  return resultobj;
179936 fail:
179937  return NULL;
179938 }
179939 
179940 
179941 SWIGINTERN PyObject *_wrap_RigidBody_MaxHydroTorque__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
179942  PyObject *resultobj = 0;
179944  float arg2 ;
179945  bool arg3 ;
179946  void *argp1 = 0 ;
179947  int res1 = 0 ;
179948  float val2 ;
179949  int ecode2 = 0 ;
179950  bool val3 ;
179951  int ecode3 = 0 ;
179952  PyObject * obj0 = 0 ;
179953  PyObject * obj1 = 0 ;
179954  PyObject * obj2 = 0 ;
179955 
179956  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_MaxHydroTorque",&obj0,&obj1,&obj2)) SWIG_fail;
179957  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
179958  if (!SWIG_IsOK(res1)) {
179959  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_MaxHydroTorque" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
179960  }
179961  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
179962  ecode2 = SWIG_AsVal_float(obj1, &val2);
179963  if (!SWIG_IsOK(ecode2)) {
179964  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_MaxHydroTorque" "', argument " "2"" of type '" "float""'");
179965  }
179966  arg2 = static_cast< float >(val2);
179967  ecode3 = SWIG_AsVal_bool(obj2, &val3);
179968  if (!SWIG_IsOK(ecode3)) {
179969  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_MaxHydroTorque" "', argument " "3"" of type '" "bool""'");
179970  }
179971  arg3 = static_cast< bool >(val3);
179972  {
179973  try {
179974  (arg1)->MaxHydroTorque(arg2,arg3);
179975  }
179976  catch(CStdErrorInfo oError)
179977  {
179978  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179979  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
179980  PyErr_SetString(PyExc_IndexError, strError.c_str());
179981  SWIG_fail;
179982  }
179983  catch(...)
179984  {
179985  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
179986  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
179987  SWIG_fail;
179988  }
179989  }
179990  resultobj = SWIG_Py_Void();
179991  return resultobj;
179992 fail:
179993  return NULL;
179994 }
179995 
179996 
179997 SWIGINTERN PyObject *_wrap_RigidBody_MaxHydroTorque__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
179998  PyObject *resultobj = 0;
180000  float arg2 ;
180001  void *argp1 = 0 ;
180002  int res1 = 0 ;
180003  float val2 ;
180004  int ecode2 = 0 ;
180005  PyObject * obj0 = 0 ;
180006  PyObject * obj1 = 0 ;
180007 
180008  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_MaxHydroTorque",&obj0,&obj1)) SWIG_fail;
180009  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180010  if (!SWIG_IsOK(res1)) {
180011  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_MaxHydroTorque" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180012  }
180013  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180014  ecode2 = SWIG_AsVal_float(obj1, &val2);
180015  if (!SWIG_IsOK(ecode2)) {
180016  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_MaxHydroTorque" "', argument " "2"" of type '" "float""'");
180017  }
180018  arg2 = static_cast< float >(val2);
180019  {
180020  try {
180021  (arg1)->MaxHydroTorque(arg2);
180022  }
180023  catch(CStdErrorInfo oError)
180024  {
180025  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180026  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180027  PyErr_SetString(PyExc_IndexError, strError.c_str());
180028  SWIG_fail;
180029  }
180030  catch(...)
180031  {
180032  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180033  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180034  SWIG_fail;
180035  }
180036  }
180037  resultobj = SWIG_Py_Void();
180038  return resultobj;
180039 fail:
180040  return NULL;
180041 }
180042 
180043 
180044 SWIGINTERN PyObject *_wrap_RigidBody_MaxHydroTorque(PyObject *self, PyObject *args) {
180045  int argc;
180046  PyObject *argv[4];
180047  int ii;
180048 
180049  if (!PyTuple_Check(args)) SWIG_fail;
180050  argc = args ? (int)PyObject_Length(args) : 0;
180051  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
180052  argv[ii] = PyTuple_GET_ITEM(args,ii);
180053  }
180054  if (argc == 1) {
180055  int _v;
180056  void *vptr = 0;
180057  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
180058  _v = SWIG_CheckState(res);
180059  if (_v) {
180060  return _wrap_RigidBody_MaxHydroTorque__SWIG_0(self, args);
180061  }
180062  }
180063  if (argc == 2) {
180064  int _v;
180065  void *vptr = 0;
180066  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
180067  _v = SWIG_CheckState(res);
180068  if (_v) {
180069  {
180070  int res = SWIG_AsVal_float(argv[1], NULL);
180071  _v = SWIG_CheckState(res);
180072  }
180073  if (_v) {
180074  return _wrap_RigidBody_MaxHydroTorque__SWIG_2(self, args);
180075  }
180076  }
180077  }
180078  if (argc == 3) {
180079  int _v;
180080  void *vptr = 0;
180081  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
180082  _v = SWIG_CheckState(res);
180083  if (_v) {
180084  {
180085  int res = SWIG_AsVal_float(argv[1], NULL);
180086  _v = SWIG_CheckState(res);
180087  }
180088  if (_v) {
180089  {
180090  int res = SWIG_AsVal_bool(argv[2], NULL);
180091  _v = SWIG_CheckState(res);
180092  }
180093  if (_v) {
180094  return _wrap_RigidBody_MaxHydroTorque__SWIG_1(self, args);
180095  }
180096  }
180097  }
180098  }
180099 
180100 fail:
180101  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_MaxHydroTorque'.\n"
180102  " Possible C/C++ prototypes are:\n"
180103  " AnimatSim::Environment::RigidBody::MaxHydroTorque()\n"
180104  " AnimatSim::Environment::RigidBody::MaxHydroTorque(float,bool)\n"
180105  " AnimatSim::Environment::RigidBody::MaxHydroTorque(float)\n");
180106  return 0;
180107 }
180108 
180109 
180110 SWIGINTERN PyObject *_wrap_RigidBody_Magnus__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180111  PyObject *resultobj = 0;
180113  void *argp1 = 0 ;
180114  int res1 = 0 ;
180115  PyObject * obj0 = 0 ;
180116  float result;
180117 
180118  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_Magnus",&obj0)) SWIG_fail;
180119  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180120  if (!SWIG_IsOK(res1)) {
180121  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Magnus" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180122  }
180123  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180124  {
180125  try {
180126  result = (float)(arg1)->Magnus();
180127  }
180128  catch(CStdErrorInfo oError)
180129  {
180130  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180131  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180132  PyErr_SetString(PyExc_IndexError, strError.c_str());
180133  SWIG_fail;
180134  }
180135  catch(...)
180136  {
180137  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180138  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180139  SWIG_fail;
180140  }
180141  }
180142  resultobj = SWIG_From_float(static_cast< float >(result));
180143  return resultobj;
180144 fail:
180145  return NULL;
180146 }
180147 
180148 
180149 SWIGINTERN PyObject *_wrap_RigidBody_Magnus__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180150  PyObject *resultobj = 0;
180152  float arg2 ;
180153  void *argp1 = 0 ;
180154  int res1 = 0 ;
180155  float val2 ;
180156  int ecode2 = 0 ;
180157  PyObject * obj0 = 0 ;
180158  PyObject * obj1 = 0 ;
180159 
180160  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_Magnus",&obj0,&obj1)) SWIG_fail;
180161  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180162  if (!SWIG_IsOK(res1)) {
180163  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Magnus" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180164  }
180165  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180166  ecode2 = SWIG_AsVal_float(obj1, &val2);
180167  if (!SWIG_IsOK(ecode2)) {
180168  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_Magnus" "', argument " "2"" of type '" "float""'");
180169  }
180170  arg2 = static_cast< float >(val2);
180171  {
180172  try {
180173  (arg1)->Magnus(arg2);
180174  }
180175  catch(CStdErrorInfo oError)
180176  {
180177  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180178  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180179  PyErr_SetString(PyExc_IndexError, strError.c_str());
180180  SWIG_fail;
180181  }
180182  catch(...)
180183  {
180184  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180185  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180186  SWIG_fail;
180187  }
180188  }
180189  resultobj = SWIG_Py_Void();
180190  return resultobj;
180191 fail:
180192  return NULL;
180193 }
180194 
180195 
180196 SWIGINTERN PyObject *_wrap_RigidBody_Magnus(PyObject *self, PyObject *args) {
180197  int argc;
180198  PyObject *argv[3];
180199  int ii;
180200 
180201  if (!PyTuple_Check(args)) SWIG_fail;
180202  argc = args ? (int)PyObject_Length(args) : 0;
180203  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
180204  argv[ii] = PyTuple_GET_ITEM(args,ii);
180205  }
180206  if (argc == 1) {
180207  int _v;
180208  void *vptr = 0;
180209  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
180210  _v = SWIG_CheckState(res);
180211  if (_v) {
180212  return _wrap_RigidBody_Magnus__SWIG_0(self, args);
180213  }
180214  }
180215  if (argc == 2) {
180216  int _v;
180217  void *vptr = 0;
180218  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
180219  _v = SWIG_CheckState(res);
180220  if (_v) {
180221  {
180222  int res = SWIG_AsVal_float(argv[1], NULL);
180223  _v = SWIG_CheckState(res);
180224  }
180225  if (_v) {
180226  return _wrap_RigidBody_Magnus__SWIG_1(self, args);
180227  }
180228  }
180229  }
180230 
180231 fail:
180232  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_Magnus'.\n"
180233  " Possible C/C++ prototypes are:\n"
180234  " AnimatSim::Environment::RigidBody::Magnus()\n"
180235  " AnimatSim::Environment::RigidBody::Magnus(float)\n");
180236  return 0;
180237 }
180238 
180239 
180240 SWIGINTERN PyObject *_wrap_RigidBody_EnableFluids__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180241  PyObject *resultobj = 0;
180243  void *argp1 = 0 ;
180244  int res1 = 0 ;
180245  PyObject * obj0 = 0 ;
180246  bool result;
180247 
180248  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_EnableFluids",&obj0)) SWIG_fail;
180249  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180250  if (!SWIG_IsOK(res1)) {
180251  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_EnableFluids" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180252  }
180253  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180254  {
180255  try {
180256  result = (bool)(arg1)->EnableFluids();
180257  }
180258  catch(CStdErrorInfo oError)
180259  {
180260  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180261  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180262  PyErr_SetString(PyExc_IndexError, strError.c_str());
180263  SWIG_fail;
180264  }
180265  catch(...)
180266  {
180267  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180268  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180269  SWIG_fail;
180270  }
180271  }
180272  resultobj = SWIG_From_bool(static_cast< bool >(result));
180273  return resultobj;
180274 fail:
180275  return NULL;
180276 }
180277 
180278 
180279 SWIGINTERN PyObject *_wrap_RigidBody_EnableFluids__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180280  PyObject *resultobj = 0;
180282  bool arg2 ;
180283  void *argp1 = 0 ;
180284  int res1 = 0 ;
180285  bool val2 ;
180286  int ecode2 = 0 ;
180287  PyObject * obj0 = 0 ;
180288  PyObject * obj1 = 0 ;
180289 
180290  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_EnableFluids",&obj0,&obj1)) SWIG_fail;
180291  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180292  if (!SWIG_IsOK(res1)) {
180293  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_EnableFluids" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180294  }
180295  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180296  ecode2 = SWIG_AsVal_bool(obj1, &val2);
180297  if (!SWIG_IsOK(ecode2)) {
180298  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_EnableFluids" "', argument " "2"" of type '" "bool""'");
180299  }
180300  arg2 = static_cast< bool >(val2);
180301  {
180302  try {
180303  (arg1)->EnableFluids(arg2);
180304  }
180305  catch(CStdErrorInfo oError)
180306  {
180307  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180308  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180309  PyErr_SetString(PyExc_IndexError, strError.c_str());
180310  SWIG_fail;
180311  }
180312  catch(...)
180313  {
180314  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180315  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180316  SWIG_fail;
180317  }
180318  }
180319  resultobj = SWIG_Py_Void();
180320  return resultobj;
180321 fail:
180322  return NULL;
180323 }
180324 
180325 
180326 SWIGINTERN PyObject *_wrap_RigidBody_EnableFluids(PyObject *self, PyObject *args) {
180327  int argc;
180328  PyObject *argv[3];
180329  int ii;
180330 
180331  if (!PyTuple_Check(args)) SWIG_fail;
180332  argc = args ? (int)PyObject_Length(args) : 0;
180333  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
180334  argv[ii] = PyTuple_GET_ITEM(args,ii);
180335  }
180336  if (argc == 1) {
180337  int _v;
180338  void *vptr = 0;
180339  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
180340  _v = SWIG_CheckState(res);
180341  if (_v) {
180342  return _wrap_RigidBody_EnableFluids__SWIG_0(self, args);
180343  }
180344  }
180345  if (argc == 2) {
180346  int _v;
180347  void *vptr = 0;
180348  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
180349  _v = SWIG_CheckState(res);
180350  if (_v) {
180351  {
180352  int res = SWIG_AsVal_bool(argv[1], NULL);
180353  _v = SWIG_CheckState(res);
180354  }
180355  if (_v) {
180356  return _wrap_RigidBody_EnableFluids__SWIG_1(self, args);
180357  }
180358  }
180359  }
180360 
180361 fail:
180362  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_EnableFluids'.\n"
180363  " Possible C/C++ prototypes are:\n"
180364  " AnimatSim::Environment::RigidBody::EnableFluids()\n"
180365  " AnimatSim::Environment::RigidBody::EnableFluids(bool)\n");
180366  return 0;
180367 }
180368 
180369 
180370 SWIGINTERN PyObject *_wrap_RigidBody_HasCollisionGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180371  PyObject *resultobj = 0;
180373  void *argp1 = 0 ;
180374  int res1 = 0 ;
180375  PyObject * obj0 = 0 ;
180376  bool result;
180377 
180378  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_HasCollisionGeometry",&obj0)) SWIG_fail;
180379  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180380  if (!SWIG_IsOK(res1)) {
180381  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_HasCollisionGeometry" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180382  }
180383  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180384  {
180385  try {
180386  result = (bool)(arg1)->HasCollisionGeometry();
180387  }
180388  catch(CStdErrorInfo oError)
180389  {
180390  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180391  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180392  PyErr_SetString(PyExc_IndexError, strError.c_str());
180393  SWIG_fail;
180394  }
180395  catch(...)
180396  {
180397  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180398  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180399  SWIG_fail;
180400  }
180401  }
180402  resultobj = SWIG_From_bool(static_cast< bool >(result));
180403  return resultobj;
180404 fail:
180405  return NULL;
180406 }
180407 
180408 
180409 SWIGINTERN PyObject *_wrap_RigidBody_DisplayDebugCollisionGraphic__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180410  PyObject *resultobj = 0;
180412  void *argp1 = 0 ;
180413  int res1 = 0 ;
180414  PyObject * obj0 = 0 ;
180415  bool result;
180416 
180417  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_DisplayDebugCollisionGraphic",&obj0)) SWIG_fail;
180418  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180419  if (!SWIG_IsOK(res1)) {
180420  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_DisplayDebugCollisionGraphic" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180421  }
180422  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180423  {
180424  try {
180425  result = (bool)(arg1)->DisplayDebugCollisionGraphic();
180426  }
180427  catch(CStdErrorInfo oError)
180428  {
180429  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180430  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180431  PyErr_SetString(PyExc_IndexError, strError.c_str());
180432  SWIG_fail;
180433  }
180434  catch(...)
180435  {
180436  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180437  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180438  SWIG_fail;
180439  }
180440  }
180441  resultobj = SWIG_From_bool(static_cast< bool >(result));
180442  return resultobj;
180443 fail:
180444  return NULL;
180445 }
180446 
180447 
180448 SWIGINTERN PyObject *_wrap_RigidBody_DisplayDebugCollisionGraphic__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180449  PyObject *resultobj = 0;
180451  bool arg2 ;
180452  void *argp1 = 0 ;
180453  int res1 = 0 ;
180454  bool val2 ;
180455  int ecode2 = 0 ;
180456  PyObject * obj0 = 0 ;
180457  PyObject * obj1 = 0 ;
180458 
180459  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_DisplayDebugCollisionGraphic",&obj0,&obj1)) SWIG_fail;
180460  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180461  if (!SWIG_IsOK(res1)) {
180462  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_DisplayDebugCollisionGraphic" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180463  }
180464  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180465  ecode2 = SWIG_AsVal_bool(obj1, &val2);
180466  if (!SWIG_IsOK(ecode2)) {
180467  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_DisplayDebugCollisionGraphic" "', argument " "2"" of type '" "bool""'");
180468  }
180469  arg2 = static_cast< bool >(val2);
180470  {
180471  try {
180472  (arg1)->DisplayDebugCollisionGraphic(arg2);
180473  }
180474  catch(CStdErrorInfo oError)
180475  {
180476  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180477  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180478  PyErr_SetString(PyExc_IndexError, strError.c_str());
180479  SWIG_fail;
180480  }
180481  catch(...)
180482  {
180483  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180484  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180485  SWIG_fail;
180486  }
180487  }
180488  resultobj = SWIG_Py_Void();
180489  return resultobj;
180490 fail:
180491  return NULL;
180492 }
180493 
180494 
180495 SWIGINTERN PyObject *_wrap_RigidBody_DisplayDebugCollisionGraphic(PyObject *self, PyObject *args) {
180496  int argc;
180497  PyObject *argv[3];
180498  int ii;
180499 
180500  if (!PyTuple_Check(args)) SWIG_fail;
180501  argc = args ? (int)PyObject_Length(args) : 0;
180502  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
180503  argv[ii] = PyTuple_GET_ITEM(args,ii);
180504  }
180505  if (argc == 1) {
180506  int _v;
180507  void *vptr = 0;
180508  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
180509  _v = SWIG_CheckState(res);
180510  if (_v) {
180511  return _wrap_RigidBody_DisplayDebugCollisionGraphic__SWIG_0(self, args);
180512  }
180513  }
180514  if (argc == 2) {
180515  int _v;
180516  void *vptr = 0;
180517  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
180518  _v = SWIG_CheckState(res);
180519  if (_v) {
180520  {
180521  int res = SWIG_AsVal_bool(argv[1], NULL);
180522  _v = SWIG_CheckState(res);
180523  }
180524  if (_v) {
180525  return _wrap_RigidBody_DisplayDebugCollisionGraphic__SWIG_1(self, args);
180526  }
180527  }
180528  }
180529 
180530 fail:
180531  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_DisplayDebugCollisionGraphic'.\n"
180532  " Possible C/C++ prototypes are:\n"
180533  " AnimatSim::Environment::RigidBody::DisplayDebugCollisionGraphic()\n"
180534  " AnimatSim::Environment::RigidBody::DisplayDebugCollisionGraphic(bool)\n");
180535  return 0;
180536 }
180537 
180538 
180539 SWIGINTERN PyObject *_wrap_RigidBody_GetExclusionCollisionSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180540  PyObject *resultobj = 0;
180542  void *argp1 = 0 ;
180543  int res1 = 0 ;
180544  PyObject * obj0 = 0 ;
180545  std::unordered_set< AnimatSim::Environment::RigidBody * > *result = 0 ;
180546 
180547  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_GetExclusionCollisionSet",&obj0)) SWIG_fail;
180548  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180549  if (!SWIG_IsOK(res1)) {
180550  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_GetExclusionCollisionSet" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180551  }
180552  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180553  {
180554  try {
180555  result = (std::unordered_set< AnimatSim::Environment::RigidBody * > *)(arg1)->GetExclusionCollisionSet();
180556  }
180557  catch(CStdErrorInfo oError)
180558  {
180559  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180560  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180561  PyErr_SetString(PyExc_IndexError, strError.c_str());
180562  SWIG_fail;
180563  }
180564  catch(...)
180565  {
180566  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180567  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180568  SWIG_fail;
180569  }
180570  }
180571  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__unordered_setT_AnimatSim__Environment__RigidBody_p_t, 0 | 0 );
180572  return resultobj;
180573 fail:
180574  return NULL;
180575 }
180576 
180577 
180578 SWIGINTERN PyObject *_wrap_RigidBody_FindCollisionExclusionBody__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180579  PyObject *resultobj = 0;
180582  bool arg3 ;
180583  void *argp1 = 0 ;
180584  int res1 = 0 ;
180585  void *argp2 = 0 ;
180586  int res2 = 0 ;
180587  bool val3 ;
180588  int ecode3 = 0 ;
180589  PyObject * obj0 = 0 ;
180590  PyObject * obj1 = 0 ;
180591  PyObject * obj2 = 0 ;
180592  bool result;
180593 
180594  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_FindCollisionExclusionBody",&obj0,&obj1,&obj2)) SWIG_fail;
180595  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180596  if (!SWIG_IsOK(res1)) {
180597  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_FindCollisionExclusionBody" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180598  }
180599  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180600  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180601  if (!SWIG_IsOK(res2)) {
180602  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_FindCollisionExclusionBody" "', argument " "2"" of type '" "AnimatSim::Environment::RigidBody *""'");
180603  }
180604  arg2 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp2);
180605  ecode3 = SWIG_AsVal_bool(obj2, &val3);
180606  if (!SWIG_IsOK(ecode3)) {
180607  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_FindCollisionExclusionBody" "', argument " "3"" of type '" "bool""'");
180608  }
180609  arg3 = static_cast< bool >(val3);
180610  {
180611  try {
180612  result = (bool)(arg1)->FindCollisionExclusionBody(arg2,arg3);
180613  }
180614  catch(CStdErrorInfo oError)
180615  {
180616  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180617  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180618  PyErr_SetString(PyExc_IndexError, strError.c_str());
180619  SWIG_fail;
180620  }
180621  catch(...)
180622  {
180623  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180624  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180625  SWIG_fail;
180626  }
180627  }
180628  resultobj = SWIG_From_bool(static_cast< bool >(result));
180629  return resultobj;
180630 fail:
180631  return NULL;
180632 }
180633 
180634 
180635 SWIGINTERN PyObject *_wrap_RigidBody_FindCollisionExclusionBody__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180636  PyObject *resultobj = 0;
180639  void *argp1 = 0 ;
180640  int res1 = 0 ;
180641  void *argp2 = 0 ;
180642  int res2 = 0 ;
180643  PyObject * obj0 = 0 ;
180644  PyObject * obj1 = 0 ;
180645  bool result;
180646 
180647  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_FindCollisionExclusionBody",&obj0,&obj1)) SWIG_fail;
180648  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180649  if (!SWIG_IsOK(res1)) {
180650  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_FindCollisionExclusionBody" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180651  }
180652  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180653  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180654  if (!SWIG_IsOK(res2)) {
180655  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_FindCollisionExclusionBody" "', argument " "2"" of type '" "AnimatSim::Environment::RigidBody *""'");
180656  }
180657  arg2 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp2);
180658  {
180659  try {
180660  result = (bool)(arg1)->FindCollisionExclusionBody(arg2);
180661  }
180662  catch(CStdErrorInfo oError)
180663  {
180664  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180665  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180666  PyErr_SetString(PyExc_IndexError, strError.c_str());
180667  SWIG_fail;
180668  }
180669  catch(...)
180670  {
180671  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180672  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180673  SWIG_fail;
180674  }
180675  }
180676  resultobj = SWIG_From_bool(static_cast< bool >(result));
180677  return resultobj;
180678 fail:
180679  return NULL;
180680 }
180681 
180682 
180683 SWIGINTERN PyObject *_wrap_RigidBody_FindCollisionExclusionBody(PyObject *self, PyObject *args) {
180684  int argc;
180685  PyObject *argv[4];
180686  int ii;
180687 
180688  if (!PyTuple_Check(args)) SWIG_fail;
180689  argc = args ? (int)PyObject_Length(args) : 0;
180690  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
180691  argv[ii] = PyTuple_GET_ITEM(args,ii);
180692  }
180693  if (argc == 2) {
180694  int _v;
180695  void *vptr = 0;
180696  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
180697  _v = SWIG_CheckState(res);
180698  if (_v) {
180699  void *vptr = 0;
180700  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
180701  _v = SWIG_CheckState(res);
180702  if (_v) {
180703  return _wrap_RigidBody_FindCollisionExclusionBody__SWIG_1(self, args);
180704  }
180705  }
180706  }
180707  if (argc == 3) {
180708  int _v;
180709  void *vptr = 0;
180710  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
180711  _v = SWIG_CheckState(res);
180712  if (_v) {
180713  void *vptr = 0;
180714  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
180715  _v = SWIG_CheckState(res);
180716  if (_v) {
180717  {
180718  int res = SWIG_AsVal_bool(argv[2], NULL);
180719  _v = SWIG_CheckState(res);
180720  }
180721  if (_v) {
180722  return _wrap_RigidBody_FindCollisionExclusionBody__SWIG_0(self, args);
180723  }
180724  }
180725  }
180726  }
180727 
180728 fail:
180729  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_FindCollisionExclusionBody'.\n"
180730  " Possible C/C++ prototypes are:\n"
180731  " AnimatSim::Environment::RigidBody::FindCollisionExclusionBody(AnimatSim::Environment::RigidBody *,bool)\n"
180732  " AnimatSim::Environment::RigidBody::FindCollisionExclusionBody(AnimatSim::Environment::RigidBody *)\n");
180733  return 0;
180734 }
180735 
180736 
180737 SWIGINTERN PyObject *_wrap_RigidBody_SurfaceContactCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180738  PyObject *resultobj = 0;
180740  void *argp1 = 0 ;
180741  int res1 = 0 ;
180742  PyObject * obj0 = 0 ;
180743  float result;
180744 
180745  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_SurfaceContactCount",&obj0)) SWIG_fail;
180746  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180747  if (!SWIG_IsOK(res1)) {
180748  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_SurfaceContactCount" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180749  }
180750  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180751  {
180752  try {
180753  result = (float)(arg1)->SurfaceContactCount();
180754  }
180755  catch(CStdErrorInfo oError)
180756  {
180757  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180758  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180759  PyErr_SetString(PyExc_IndexError, strError.c_str());
180760  SWIG_fail;
180761  }
180762  catch(...)
180763  {
180764  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180765  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180766  SWIG_fail;
180767  }
180768  }
180769  resultobj = SWIG_From_float(static_cast< float >(result));
180770  return resultobj;
180771 fail:
180772  return NULL;
180773 }
180774 
180775 
180776 SWIGINTERN PyObject *_wrap_RigidBody_Eat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180777  PyObject *resultobj = 0;
180779  float arg2 ;
180780  long arg3 ;
180781  void *argp1 = 0 ;
180782  int res1 = 0 ;
180783  float val2 ;
180784  int ecode2 = 0 ;
180785  long val3 ;
180786  int ecode3 = 0 ;
180787  PyObject * obj0 = 0 ;
180788  PyObject * obj1 = 0 ;
180789  PyObject * obj2 = 0 ;
180790 
180791  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_Eat",&obj0,&obj1,&obj2)) SWIG_fail;
180792  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180793  if (!SWIG_IsOK(res1)) {
180794  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Eat" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180795  }
180796  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180797  ecode2 = SWIG_AsVal_float(obj1, &val2);
180798  if (!SWIG_IsOK(ecode2)) {
180799  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_Eat" "', argument " "2"" of type '" "float""'");
180800  }
180801  arg2 = static_cast< float >(val2);
180802  ecode3 = SWIG_AsVal_long(obj2, &val3);
180803  if (!SWIG_IsOK(ecode3)) {
180804  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_Eat" "', argument " "3"" of type '" "long""'");
180805  }
180806  arg3 = static_cast< long >(val3);
180807  {
180808  try {
180809  (arg1)->Eat(arg2,arg3);
180810  }
180811  catch(CStdErrorInfo oError)
180812  {
180813  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180814  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180815  PyErr_SetString(PyExc_IndexError, strError.c_str());
180816  SWIG_fail;
180817  }
180818  catch(...)
180819  {
180820  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180821  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180822  SWIG_fail;
180823  }
180824  }
180825  resultobj = SWIG_Py_Void();
180826  return resultobj;
180827 fail:
180828  return NULL;
180829 }
180830 
180831 
180832 SWIGINTERN PyObject *_wrap_RigidBody_AddSurfaceContact(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180833  PyObject *resultobj = 0;
180836  void *argp1 = 0 ;
180837  int res1 = 0 ;
180838  void *argp2 = 0 ;
180839  int res2 = 0 ;
180840  PyObject * obj0 = 0 ;
180841  PyObject * obj1 = 0 ;
180842 
180843  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_AddSurfaceContact",&obj0,&obj1)) SWIG_fail;
180844  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180845  if (!SWIG_IsOK(res1)) {
180846  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AddSurfaceContact" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180847  }
180848  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180849  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180850  if (!SWIG_IsOK(res2)) {
180851  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_AddSurfaceContact" "', argument " "2"" of type '" "AnimatSim::Environment::RigidBody *""'");
180852  }
180853  arg2 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp2);
180854  {
180855  try {
180856  (arg1)->AddSurfaceContact(arg2);
180857  }
180858  catch(CStdErrorInfo oError)
180859  {
180860  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180861  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180862  PyErr_SetString(PyExc_IndexError, strError.c_str());
180863  SWIG_fail;
180864  }
180865  catch(...)
180866  {
180867  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180868  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180869  SWIG_fail;
180870  }
180871  }
180872  resultobj = SWIG_Py_Void();
180873  return resultobj;
180874 fail:
180875  return NULL;
180876 }
180877 
180878 
180879 SWIGINTERN PyObject *_wrap_RigidBody_RemoveSurfaceContact(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180880  PyObject *resultobj = 0;
180883  void *argp1 = 0 ;
180884  int res1 = 0 ;
180885  void *argp2 = 0 ;
180886  int res2 = 0 ;
180887  PyObject * obj0 = 0 ;
180888  PyObject * obj1 = 0 ;
180889 
180890  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_RemoveSurfaceContact",&obj0,&obj1)) SWIG_fail;
180891  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180892  if (!SWIG_IsOK(res1)) {
180893  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_RemoveSurfaceContact" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180894  }
180895  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180896  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180897  if (!SWIG_IsOK(res2)) {
180898  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_RemoveSurfaceContact" "', argument " "2"" of type '" "AnimatSim::Environment::RigidBody *""'");
180899  }
180900  arg2 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp2);
180901  {
180902  try {
180903  (arg1)->RemoveSurfaceContact(arg2);
180904  }
180905  catch(CStdErrorInfo oError)
180906  {
180907  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180908  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180909  PyErr_SetString(PyExc_IndexError, strError.c_str());
180910  SWIG_fail;
180911  }
180912  catch(...)
180913  {
180914  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180915  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180916  SWIG_fail;
180917  }
180918  }
180919  resultobj = SWIG_Py_Void();
180920  return resultobj;
180921 fail:
180922  return NULL;
180923 }
180924 
180925 
180926 SWIGINTERN PyObject *_wrap_RigidBody_SetSurfaceContactCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180927  PyObject *resultobj = 0;
180929  int arg2 ;
180930  void *argp1 = 0 ;
180931  int res1 = 0 ;
180932  int val2 ;
180933  int ecode2 = 0 ;
180934  PyObject * obj0 = 0 ;
180935  PyObject * obj1 = 0 ;
180936 
180937  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_SetSurfaceContactCount",&obj0,&obj1)) SWIG_fail;
180938  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
180939  if (!SWIG_IsOK(res1)) {
180940  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_SetSurfaceContactCount" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
180941  }
180942  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
180943  ecode2 = SWIG_AsVal_int(obj1, &val2);
180944  if (!SWIG_IsOK(ecode2)) {
180945  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_SetSurfaceContactCount" "', argument " "2"" of type '" "int""'");
180946  }
180947  arg2 = static_cast< int >(val2);
180948  {
180949  try {
180950  (arg1)->SetSurfaceContactCount(arg2);
180951  }
180952  catch(CStdErrorInfo oError)
180953  {
180954  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180955  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
180956  PyErr_SetString(PyExc_IndexError, strError.c_str());
180957  SWIG_fail;
180958  }
180959  catch(...)
180960  {
180961  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
180962  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
180963  SWIG_fail;
180964  }
180965  }
180966  resultobj = SWIG_Py_Void();
180967  return resultobj;
180968 fail:
180969  return NULL;
180970 }
180971 
180972 
180973 SWIGINTERN PyObject *_wrap_RigidBody_AddForceAtLocalPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
180974  PyObject *resultobj = 0;
180976  float arg2 ;
180977  float arg3 ;
180978  float arg4 ;
180979  float arg5 ;
180980  float arg6 ;
180981  float arg7 ;
180982  bool arg8 ;
180983  void *argp1 = 0 ;
180984  int res1 = 0 ;
180985  float val2 ;
180986  int ecode2 = 0 ;
180987  float val3 ;
180988  int ecode3 = 0 ;
180989  float val4 ;
180990  int ecode4 = 0 ;
180991  float val5 ;
180992  int ecode5 = 0 ;
180993  float val6 ;
180994  int ecode6 = 0 ;
180995  float val7 ;
180996  int ecode7 = 0 ;
180997  bool val8 ;
180998  int ecode8 = 0 ;
180999  PyObject * obj0 = 0 ;
181000  PyObject * obj1 = 0 ;
181001  PyObject * obj2 = 0 ;
181002  PyObject * obj3 = 0 ;
181003  PyObject * obj4 = 0 ;
181004  PyObject * obj5 = 0 ;
181005  PyObject * obj6 = 0 ;
181006  PyObject * obj7 = 0 ;
181007 
181008  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:RigidBody_AddForceAtLocalPos",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
181009  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181010  if (!SWIG_IsOK(res1)) {
181011  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AddForceAtLocalPos" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181012  }
181013  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181014  ecode2 = SWIG_AsVal_float(obj1, &val2);
181015  if (!SWIG_IsOK(ecode2)) {
181016  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_AddForceAtLocalPos" "', argument " "2"" of type '" "float""'");
181017  }
181018  arg2 = static_cast< float >(val2);
181019  ecode3 = SWIG_AsVal_float(obj2, &val3);
181020  if (!SWIG_IsOK(ecode3)) {
181021  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_AddForceAtLocalPos" "', argument " "3"" of type '" "float""'");
181022  }
181023  arg3 = static_cast< float >(val3);
181024  ecode4 = SWIG_AsVal_float(obj3, &val4);
181025  if (!SWIG_IsOK(ecode4)) {
181026  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_AddForceAtLocalPos" "', argument " "4"" of type '" "float""'");
181027  }
181028  arg4 = static_cast< float >(val4);
181029  ecode5 = SWIG_AsVal_float(obj4, &val5);
181030  if (!SWIG_IsOK(ecode5)) {
181031  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RigidBody_AddForceAtLocalPos" "', argument " "5"" of type '" "float""'");
181032  }
181033  arg5 = static_cast< float >(val5);
181034  ecode6 = SWIG_AsVal_float(obj5, &val6);
181035  if (!SWIG_IsOK(ecode6)) {
181036  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RigidBody_AddForceAtLocalPos" "', argument " "6"" of type '" "float""'");
181037  }
181038  arg6 = static_cast< float >(val6);
181039  ecode7 = SWIG_AsVal_float(obj6, &val7);
181040  if (!SWIG_IsOK(ecode7)) {
181041  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RigidBody_AddForceAtLocalPos" "', argument " "7"" of type '" "float""'");
181042  }
181043  arg7 = static_cast< float >(val7);
181044  ecode8 = SWIG_AsVal_bool(obj7, &val8);
181045  if (!SWIG_IsOK(ecode8)) {
181046  SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RigidBody_AddForceAtLocalPos" "', argument " "8"" of type '" "bool""'");
181047  }
181048  arg8 = static_cast< bool >(val8);
181049  {
181050  try {
181051  (arg1)->AddForceAtLocalPos(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
181052  }
181053  catch(CStdErrorInfo oError)
181054  {
181055  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181056  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181057  PyErr_SetString(PyExc_IndexError, strError.c_str());
181058  SWIG_fail;
181059  }
181060  catch(...)
181061  {
181062  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181063  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181064  SWIG_fail;
181065  }
181066  }
181067  resultobj = SWIG_Py_Void();
181068  return resultobj;
181069 fail:
181070  return NULL;
181071 }
181072 
181073 
181074 SWIGINTERN PyObject *_wrap_RigidBody_AddForceAtWorldPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181075  PyObject *resultobj = 0;
181077  float arg2 ;
181078  float arg3 ;
181079  float arg4 ;
181080  float arg5 ;
181081  float arg6 ;
181082  float arg7 ;
181083  bool arg8 ;
181084  void *argp1 = 0 ;
181085  int res1 = 0 ;
181086  float val2 ;
181087  int ecode2 = 0 ;
181088  float val3 ;
181089  int ecode3 = 0 ;
181090  float val4 ;
181091  int ecode4 = 0 ;
181092  float val5 ;
181093  int ecode5 = 0 ;
181094  float val6 ;
181095  int ecode6 = 0 ;
181096  float val7 ;
181097  int ecode7 = 0 ;
181098  bool val8 ;
181099  int ecode8 = 0 ;
181100  PyObject * obj0 = 0 ;
181101  PyObject * obj1 = 0 ;
181102  PyObject * obj2 = 0 ;
181103  PyObject * obj3 = 0 ;
181104  PyObject * obj4 = 0 ;
181105  PyObject * obj5 = 0 ;
181106  PyObject * obj6 = 0 ;
181107  PyObject * obj7 = 0 ;
181108 
181109  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:RigidBody_AddForceAtWorldPos",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
181110  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181111  if (!SWIG_IsOK(res1)) {
181112  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AddForceAtWorldPos" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181113  }
181114  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181115  ecode2 = SWIG_AsVal_float(obj1, &val2);
181116  if (!SWIG_IsOK(ecode2)) {
181117  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_AddForceAtWorldPos" "', argument " "2"" of type '" "float""'");
181118  }
181119  arg2 = static_cast< float >(val2);
181120  ecode3 = SWIG_AsVal_float(obj2, &val3);
181121  if (!SWIG_IsOK(ecode3)) {
181122  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_AddForceAtWorldPos" "', argument " "3"" of type '" "float""'");
181123  }
181124  arg3 = static_cast< float >(val3);
181125  ecode4 = SWIG_AsVal_float(obj3, &val4);
181126  if (!SWIG_IsOK(ecode4)) {
181127  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_AddForceAtWorldPos" "', argument " "4"" of type '" "float""'");
181128  }
181129  arg4 = static_cast< float >(val4);
181130  ecode5 = SWIG_AsVal_float(obj4, &val5);
181131  if (!SWIG_IsOK(ecode5)) {
181132  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RigidBody_AddForceAtWorldPos" "', argument " "5"" of type '" "float""'");
181133  }
181134  arg5 = static_cast< float >(val5);
181135  ecode6 = SWIG_AsVal_float(obj5, &val6);
181136  if (!SWIG_IsOK(ecode6)) {
181137  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RigidBody_AddForceAtWorldPos" "', argument " "6"" of type '" "float""'");
181138  }
181139  arg6 = static_cast< float >(val6);
181140  ecode7 = SWIG_AsVal_float(obj6, &val7);
181141  if (!SWIG_IsOK(ecode7)) {
181142  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RigidBody_AddForceAtWorldPos" "', argument " "7"" of type '" "float""'");
181143  }
181144  arg7 = static_cast< float >(val7);
181145  ecode8 = SWIG_AsVal_bool(obj7, &val8);
181146  if (!SWIG_IsOK(ecode8)) {
181147  SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RigidBody_AddForceAtWorldPos" "', argument " "8"" of type '" "bool""'");
181148  }
181149  arg8 = static_cast< bool >(val8);
181150  {
181151  try {
181152  (arg1)->AddForceAtWorldPos(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
181153  }
181154  catch(CStdErrorInfo oError)
181155  {
181156  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181157  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181158  PyErr_SetString(PyExc_IndexError, strError.c_str());
181159  SWIG_fail;
181160  }
181161  catch(...)
181162  {
181163  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181164  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181165  SWIG_fail;
181166  }
181167  }
181168  resultobj = SWIG_Py_Void();
181169  return resultobj;
181170 fail:
181171  return NULL;
181172 }
181173 
181174 
181175 SWIGINTERN PyObject *_wrap_RigidBody_AddTorque(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181176  PyObject *resultobj = 0;
181178  float arg2 ;
181179  float arg3 ;
181180  float arg4 ;
181181  bool arg5 ;
181182  void *argp1 = 0 ;
181183  int res1 = 0 ;
181184  float val2 ;
181185  int ecode2 = 0 ;
181186  float val3 ;
181187  int ecode3 = 0 ;
181188  float val4 ;
181189  int ecode4 = 0 ;
181190  bool val5 ;
181191  int ecode5 = 0 ;
181192  PyObject * obj0 = 0 ;
181193  PyObject * obj1 = 0 ;
181194  PyObject * obj2 = 0 ;
181195  PyObject * obj3 = 0 ;
181196  PyObject * obj4 = 0 ;
181197 
181198  if (!PyArg_ParseTuple(args,(char *)"OOOOO:RigidBody_AddTorque",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
181199  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181200  if (!SWIG_IsOK(res1)) {
181201  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AddTorque" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181202  }
181203  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181204  ecode2 = SWIG_AsVal_float(obj1, &val2);
181205  if (!SWIG_IsOK(ecode2)) {
181206  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_AddTorque" "', argument " "2"" of type '" "float""'");
181207  }
181208  arg2 = static_cast< float >(val2);
181209  ecode3 = SWIG_AsVal_float(obj2, &val3);
181210  if (!SWIG_IsOK(ecode3)) {
181211  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_AddTorque" "', argument " "3"" of type '" "float""'");
181212  }
181213  arg3 = static_cast< float >(val3);
181214  ecode4 = SWIG_AsVal_float(obj3, &val4);
181215  if (!SWIG_IsOK(ecode4)) {
181216  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_AddTorque" "', argument " "4"" of type '" "float""'");
181217  }
181218  arg4 = static_cast< float >(val4);
181219  ecode5 = SWIG_AsVal_bool(obj4, &val5);
181220  if (!SWIG_IsOK(ecode5)) {
181221  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RigidBody_AddTorque" "', argument " "5"" of type '" "bool""'");
181222  }
181223  arg5 = static_cast< bool >(val5);
181224  {
181225  try {
181226  (arg1)->AddTorque(arg2,arg3,arg4,arg5);
181227  }
181228  catch(CStdErrorInfo oError)
181229  {
181230  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181231  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181232  PyErr_SetString(PyExc_IndexError, strError.c_str());
181233  SWIG_fail;
181234  }
181235  catch(...)
181236  {
181237  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181238  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181239  SWIG_fail;
181240  }
181241  }
181242  resultobj = SWIG_Py_Void();
181243  return resultobj;
181244 fail:
181245  return NULL;
181246 }
181247 
181248 
181249 SWIGINTERN PyObject *_wrap_RigidBody_GetVelocityAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181250  PyObject *resultobj = 0;
181252  float arg2 ;
181253  float arg3 ;
181254  float arg4 ;
181255  void *argp1 = 0 ;
181256  int res1 = 0 ;
181257  float val2 ;
181258  int ecode2 = 0 ;
181259  float val3 ;
181260  int ecode3 = 0 ;
181261  float val4 ;
181262  int ecode4 = 0 ;
181263  PyObject * obj0 = 0 ;
181264  PyObject * obj1 = 0 ;
181265  PyObject * obj2 = 0 ;
181266  PyObject * obj3 = 0 ;
181267  CStdPoint< float > result;
181268 
181269  if (!PyArg_ParseTuple(args,(char *)"OOOO:RigidBody_GetVelocityAtPoint",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
181270  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181271  if (!SWIG_IsOK(res1)) {
181272  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_GetVelocityAtPoint" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181273  }
181274  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181275  ecode2 = SWIG_AsVal_float(obj1, &val2);
181276  if (!SWIG_IsOK(ecode2)) {
181277  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_GetVelocityAtPoint" "', argument " "2"" of type '" "float""'");
181278  }
181279  arg2 = static_cast< float >(val2);
181280  ecode3 = SWIG_AsVal_float(obj2, &val3);
181281  if (!SWIG_IsOK(ecode3)) {
181282  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_GetVelocityAtPoint" "', argument " "3"" of type '" "float""'");
181283  }
181284  arg3 = static_cast< float >(val3);
181285  ecode4 = SWIG_AsVal_float(obj3, &val4);
181286  if (!SWIG_IsOK(ecode4)) {
181287  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_GetVelocityAtPoint" "', argument " "4"" of type '" "float""'");
181288  }
181289  arg4 = static_cast< float >(val4);
181290  {
181291  try {
181292  result = (arg1)->GetVelocityAtPoint(arg2,arg3,arg4);
181293  }
181294  catch(CStdErrorInfo oError)
181295  {
181296  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181297  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181298  PyErr_SetString(PyExc_IndexError, strError.c_str());
181299  SWIG_fail;
181300  }
181301  catch(...)
181302  {
181303  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181304  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181305  SWIG_fail;
181306  }
181307  }
181308  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
181309  return resultobj;
181310 fail:
181311  return NULL;
181312 }
181313 
181314 
181315 SWIGINTERN PyObject *_wrap_RigidBody_GetMassValueWithStaticChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181316  PyObject *resultobj = 0;
181318  void *argp1 = 0 ;
181319  int res1 = 0 ;
181320  PyObject * obj0 = 0 ;
181321  float result;
181322 
181323  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_GetMassValueWithStaticChildren",&obj0)) SWIG_fail;
181324  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181325  if (!SWIG_IsOK(res1)) {
181326  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_GetMassValueWithStaticChildren" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181327  }
181328  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181329  {
181330  try {
181331  result = (float)(arg1)->GetMassValueWithStaticChildren();
181332  }
181333  catch(CStdErrorInfo oError)
181334  {
181335  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181336  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181337  PyErr_SetString(PyExc_IndexError, strError.c_str());
181338  SWIG_fail;
181339  }
181340  catch(...)
181341  {
181342  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181343  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181344  SWIG_fail;
181345  }
181346  }
181347  resultobj = SWIG_From_float(static_cast< float >(result));
181348  return resultobj;
181349 fail:
181350  return NULL;
181351 }
181352 
181353 
181354 SWIGINTERN PyObject *_wrap_RigidBody_GetDensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181355  PyObject *resultobj = 0;
181357  void *argp1 = 0 ;
181358  int res1 = 0 ;
181359  PyObject * obj0 = 0 ;
181360  float result;
181361 
181362  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_GetDensity",&obj0)) SWIG_fail;
181363  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181364  if (!SWIG_IsOK(res1)) {
181365  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_GetDensity" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181366  }
181367  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181368  {
181369  try {
181370  result = (float)(arg1)->GetDensity();
181371  }
181372  catch(CStdErrorInfo oError)
181373  {
181374  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181375  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181376  PyErr_SetString(PyExc_IndexError, strError.c_str());
181377  SWIG_fail;
181378  }
181379  catch(...)
181380  {
181381  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181382  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181383  SWIG_fail;
181384  }
181385  }
181386  resultobj = SWIG_From_float(static_cast< float >(result));
181387  return resultobj;
181388 fail:
181389  return NULL;
181390 }
181391 
181392 
181393 SWIGINTERN PyObject *_wrap_RigidBody_GetMass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181394  PyObject *resultobj = 0;
181396  void *argp1 = 0 ;
181397  int res1 = 0 ;
181398  PyObject * obj0 = 0 ;
181399  float result;
181400 
181401  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_GetMass",&obj0)) SWIG_fail;
181402  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181403  if (!SWIG_IsOK(res1)) {
181404  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_GetMass" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181405  }
181406  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181407  {
181408  try {
181409  result = (float)(arg1)->GetMass();
181410  }
181411  catch(CStdErrorInfo oError)
181412  {
181413  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181414  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181415  PyErr_SetString(PyExc_IndexError, strError.c_str());
181416  SWIG_fail;
181417  }
181418  catch(...)
181419  {
181420  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181421  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181422  SWIG_fail;
181423  }
181424  }
181425  resultobj = SWIG_From_float(static_cast< float >(result));
181426  return resultobj;
181427 fail:
181428  return NULL;
181429 }
181430 
181431 
181432 SWIGINTERN PyObject *_wrap_RigidBody_GetVolume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181433  PyObject *resultobj = 0;
181435  void *argp1 = 0 ;
181436  int res1 = 0 ;
181437  PyObject * obj0 = 0 ;
181438  float result;
181439 
181440  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_GetVolume",&obj0)) SWIG_fail;
181441  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181442  if (!SWIG_IsOK(res1)) {
181443  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_GetVolume" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181444  }
181445  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181446  {
181447  try {
181448  result = (float)(arg1)->GetVolume();
181449  }
181450  catch(CStdErrorInfo oError)
181451  {
181452  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181453  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181454  PyErr_SetString(PyExc_IndexError, strError.c_str());
181455  SWIG_fail;
181456  }
181457  catch(...)
181458  {
181459  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181460  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181461  SWIG_fail;
181462  }
181463  }
181464  resultobj = SWIG_From_float(static_cast< float >(result));
181465  return resultobj;
181466 fail:
181467  return NULL;
181468 }
181469 
181470 
181471 SWIGINTERN PyObject *_wrap_RigidBody_UpdatePhysicsPosFromGraphics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181472  PyObject *resultobj = 0;
181474  void *argp1 = 0 ;
181475  int res1 = 0 ;
181476  PyObject * obj0 = 0 ;
181477 
181478  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_UpdatePhysicsPosFromGraphics",&obj0)) SWIG_fail;
181479  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181480  if (!SWIG_IsOK(res1)) {
181481  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_UpdatePhysicsPosFromGraphics" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181482  }
181483  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181484  {
181485  try {
181486  (arg1)->UpdatePhysicsPosFromGraphics();
181487  }
181488  catch(CStdErrorInfo oError)
181489  {
181490  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181491  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181492  PyErr_SetString(PyExc_IndexError, strError.c_str());
181493  SWIG_fail;
181494  }
181495  catch(...)
181496  {
181497  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181498  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181499  SWIG_fail;
181500  }
181501  }
181502  resultobj = SWIG_Py_Void();
181503  return resultobj;
181504 fail:
181505  return NULL;
181506 }
181507 
181508 
181509 SWIGINTERN PyObject *_wrap_RigidBody_UpdateChildPhysicsPosFromGraphics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181510  PyObject *resultobj = 0;
181512  void *argp1 = 0 ;
181513  int res1 = 0 ;
181514  PyObject * obj0 = 0 ;
181515 
181516  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_UpdateChildPhysicsPosFromGraphics",&obj0)) SWIG_fail;
181517  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181518  if (!SWIG_IsOK(res1)) {
181519  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_UpdateChildPhysicsPosFromGraphics" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181520  }
181521  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181522  {
181523  try {
181524  (arg1)->UpdateChildPhysicsPosFromGraphics();
181525  }
181526  catch(CStdErrorInfo oError)
181527  {
181528  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181529  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181530  PyErr_SetString(PyExc_IndexError, strError.c_str());
181531  SWIG_fail;
181532  }
181533  catch(...)
181534  {
181535  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181536  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181537  SWIG_fail;
181538  }
181539  }
181540  resultobj = SWIG_Py_Void();
181541  return resultobj;
181542 fail:
181543  return NULL;
181544 }
181545 
181546 
181547 SWIGINTERN PyObject *_wrap_RigidBody_ParentWithCollisionGeometry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181548  PyObject *resultobj = 0;
181550  void *argp1 = 0 ;
181551  int res1 = 0 ;
181552  PyObject * obj0 = 0 ;
181553  AnimatSim::Environment::RigidBody *result = 0 ;
181554 
181555  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_ParentWithCollisionGeometry",&obj0)) SWIG_fail;
181556  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181557  if (!SWIG_IsOK(res1)) {
181558  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_ParentWithCollisionGeometry" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181559  }
181560  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181561  {
181562  try {
181564  }
181565  catch(CStdErrorInfo oError)
181566  {
181567  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181568  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181569  PyErr_SetString(PyExc_IndexError, strError.c_str());
181570  SWIG_fail;
181571  }
181572  catch(...)
181573  {
181574  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181575  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181576  SWIG_fail;
181577  }
181578  }
181579  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181580  return resultobj;
181581 fail:
181582  return NULL;
181583 }
181584 
181585 
181586 SWIGINTERN PyObject *_wrap_RigidBody_EnableCollision(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181587  PyObject *resultobj = 0;
181590  void *argp1 = 0 ;
181591  int res1 = 0 ;
181592  void *argp2 = 0 ;
181593  int res2 = 0 ;
181594  PyObject * obj0 = 0 ;
181595  PyObject * obj1 = 0 ;
181596 
181597  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_EnableCollision",&obj0,&obj1)) SWIG_fail;
181598  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181599  if (!SWIG_IsOK(res1)) {
181600  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_EnableCollision" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181601  }
181602  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181603  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181604  if (!SWIG_IsOK(res2)) {
181605  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_EnableCollision" "', argument " "2"" of type '" "AnimatSim::Environment::RigidBody *""'");
181606  }
181607  arg2 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp2);
181608  {
181609  try {
181610  (arg1)->EnableCollision(arg2);
181611  }
181612  catch(CStdErrorInfo oError)
181613  {
181614  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181615  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181616  PyErr_SetString(PyExc_IndexError, strError.c_str());
181617  SWIG_fail;
181618  }
181619  catch(...)
181620  {
181621  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181622  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181623  SWIG_fail;
181624  }
181625  }
181626  resultobj = SWIG_Py_Void();
181627  return resultobj;
181628 fail:
181629  return NULL;
181630 }
181631 
181632 
181633 SWIGINTERN PyObject *_wrap_RigidBody_DisableCollision(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181634  PyObject *resultobj = 0;
181637  void *argp1 = 0 ;
181638  int res1 = 0 ;
181639  void *argp2 = 0 ;
181640  int res2 = 0 ;
181641  PyObject * obj0 = 0 ;
181642  PyObject * obj1 = 0 ;
181643 
181644  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_DisableCollision",&obj0,&obj1)) SWIG_fail;
181645  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181646  if (!SWIG_IsOK(res1)) {
181647  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_DisableCollision" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181648  }
181649  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181650  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181651  if (!SWIG_IsOK(res2)) {
181652  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_DisableCollision" "', argument " "2"" of type '" "AnimatSim::Environment::RigidBody *""'");
181653  }
181654  arg2 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp2);
181655  {
181656  try {
181657  (arg1)->DisableCollision(arg2);
181658  }
181659  catch(CStdErrorInfo oError)
181660  {
181661  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181662  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181663  PyErr_SetString(PyExc_IndexError, strError.c_str());
181664  SWIG_fail;
181665  }
181666  catch(...)
181667  {
181668  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181669  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181670  SWIG_fail;
181671  }
181672  }
181673  resultobj = SWIG_Py_Void();
181674  return resultobj;
181675 fail:
181676  return NULL;
181677 }
181678 
181679 
181680 SWIGINTERN PyObject *_wrap_RigidBody_CreateParts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181681  PyObject *resultobj = 0;
181683  void *argp1 = 0 ;
181684  int res1 = 0 ;
181685  PyObject * obj0 = 0 ;
181686 
181687  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_CreateParts",&obj0)) SWIG_fail;
181688  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181689  if (!SWIG_IsOK(res1)) {
181690  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_CreateParts" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181691  }
181692  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181693  {
181694  try {
181695  (arg1)->CreateParts();
181696  }
181697  catch(CStdErrorInfo oError)
181698  {
181699  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181700  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181701  PyErr_SetString(PyExc_IndexError, strError.c_str());
181702  SWIG_fail;
181703  }
181704  catch(...)
181705  {
181706  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181707  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181708  SWIG_fail;
181709  }
181710  }
181711  resultobj = SWIG_Py_Void();
181712  return resultobj;
181713 fail:
181714  return NULL;
181715 }
181716 
181717 
181718 SWIGINTERN PyObject *_wrap_RigidBody_CreateChildParts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181719  PyObject *resultobj = 0;
181721  void *argp1 = 0 ;
181722  int res1 = 0 ;
181723  PyObject * obj0 = 0 ;
181724 
181725  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_CreateChildParts",&obj0)) SWIG_fail;
181726  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181727  if (!SWIG_IsOK(res1)) {
181728  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_CreateChildParts" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181729  }
181730  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181731  {
181732  try {
181733  (arg1)->CreateChildParts();
181734  }
181735  catch(CStdErrorInfo oError)
181736  {
181737  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181738  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181739  PyErr_SetString(PyExc_IndexError, strError.c_str());
181740  SWIG_fail;
181741  }
181742  catch(...)
181743  {
181744  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181745  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181746  SWIG_fail;
181747  }
181748  }
181749  resultobj = SWIG_Py_Void();
181750  return resultobj;
181751 fail:
181752  return NULL;
181753 }
181754 
181755 
181756 SWIGINTERN PyObject *_wrap_RigidBody_CreateJoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181757  PyObject *resultobj = 0;
181759  void *argp1 = 0 ;
181760  int res1 = 0 ;
181761  PyObject * obj0 = 0 ;
181762 
181763  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_CreateJoints",&obj0)) SWIG_fail;
181764  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181765  if (!SWIG_IsOK(res1)) {
181766  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_CreateJoints" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181767  }
181768  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181769  {
181770  try {
181771  (arg1)->CreateJoints();
181772  }
181773  catch(CStdErrorInfo oError)
181774  {
181775  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181776  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181777  PyErr_SetString(PyExc_IndexError, strError.c_str());
181778  SWIG_fail;
181779  }
181780  catch(...)
181781  {
181782  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181783  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181784  SWIG_fail;
181785  }
181786  }
181787  resultobj = SWIG_Py_Void();
181788  return resultobj;
181789 fail:
181790  return NULL;
181791 }
181792 
181793 
181794 SWIGINTERN PyObject *_wrap_RigidBody_CreateChildJoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181795  PyObject *resultobj = 0;
181797  void *argp1 = 0 ;
181798  int res1 = 0 ;
181799  PyObject * obj0 = 0 ;
181800 
181801  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_CreateChildJoints",&obj0)) SWIG_fail;
181802  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181803  if (!SWIG_IsOK(res1)) {
181804  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_CreateChildJoints" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181805  }
181806  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181807  {
181808  try {
181809  (arg1)->CreateChildJoints();
181810  }
181811  catch(CStdErrorInfo oError)
181812  {
181813  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181814  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181815  PyErr_SetString(PyExc_IndexError, strError.c_str());
181816  SWIG_fail;
181817  }
181818  catch(...)
181819  {
181820  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181821  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181822  SWIG_fail;
181823  }
181824  }
181825  resultobj = SWIG_Py_Void();
181826  return resultobj;
181827 fail:
181828  return NULL;
181829 }
181830 
181831 
181832 SWIGINTERN PyObject *_wrap_RigidBody_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181833  PyObject *resultobj = 0;
181835  std::string *arg2 = 0 ;
181836  void *argp1 = 0 ;
181837  int res1 = 0 ;
181838  int res2 = SWIG_OLDOBJ ;
181839  PyObject * obj0 = 0 ;
181840  PyObject * obj1 = 0 ;
181841  float *result = 0 ;
181842 
181843  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_GetDataPointer",&obj0,&obj1)) SWIG_fail;
181844  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181845  if (!SWIG_IsOK(res1)) {
181846  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181847  }
181848  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181849  {
181850  std::string *ptr = (std::string *)0;
181851  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
181852  if (!SWIG_IsOK(res2)) {
181853  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
181854  }
181855  if (!ptr) {
181856  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
181857  }
181858  arg2 = ptr;
181859  }
181860  {
181861  try {
181862  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
181863  }
181864  catch(CStdErrorInfo oError)
181865  {
181866  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181867  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181868  PyErr_SetString(PyExc_IndexError, strError.c_str());
181869  SWIG_fail;
181870  }
181871  catch(...)
181872  {
181873  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181874  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181875  SWIG_fail;
181876  }
181877  }
181878  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
181879  if (SWIG_IsNewObj(res2)) delete arg2;
181880  return resultobj;
181881 fail:
181882  if (SWIG_IsNewObj(res2)) delete arg2;
181883  return NULL;
181884 }
181885 
181886 
181887 SWIGINTERN PyObject *_wrap_RigidBody_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181888  PyObject *resultobj = 0;
181890  std::string *arg2 = 0 ;
181891  std::string *arg3 = 0 ;
181892  bool arg4 ;
181893  void *argp1 = 0 ;
181894  int res1 = 0 ;
181895  int res2 = SWIG_OLDOBJ ;
181896  int res3 = SWIG_OLDOBJ ;
181897  bool val4 ;
181898  int ecode4 = 0 ;
181899  PyObject * obj0 = 0 ;
181900  PyObject * obj1 = 0 ;
181901  PyObject * obj2 = 0 ;
181902  PyObject * obj3 = 0 ;
181903  bool result;
181904 
181905  if (!PyArg_ParseTuple(args,(char *)"OOOO:RigidBody_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
181906  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181907  if (!SWIG_IsOK(res1)) {
181908  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181909  }
181910  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181911  {
181912  std::string *ptr = (std::string *)0;
181913  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
181914  if (!SWIG_IsOK(res2)) {
181915  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_SetData" "', argument " "2"" of type '" "std::string const &""'");
181916  }
181917  if (!ptr) {
181918  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_SetData" "', argument " "2"" of type '" "std::string const &""'");
181919  }
181920  arg2 = ptr;
181921  }
181922  {
181923  std::string *ptr = (std::string *)0;
181924  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
181925  if (!SWIG_IsOK(res3)) {
181926  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RigidBody_SetData" "', argument " "3"" of type '" "std::string const &""'");
181927  }
181928  if (!ptr) {
181929  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_SetData" "', argument " "3"" of type '" "std::string const &""'");
181930  }
181931  arg3 = ptr;
181932  }
181933  ecode4 = SWIG_AsVal_bool(obj3, &val4);
181934  if (!SWIG_IsOK(ecode4)) {
181935  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_SetData" "', argument " "4"" of type '" "bool""'");
181936  }
181937  arg4 = static_cast< bool >(val4);
181938  {
181939  try {
181940  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
181941  }
181942  catch(CStdErrorInfo oError)
181943  {
181944  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181945  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
181946  PyErr_SetString(PyExc_IndexError, strError.c_str());
181947  SWIG_fail;
181948  }
181949  catch(...)
181950  {
181951  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
181952  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
181953  SWIG_fail;
181954  }
181955  }
181956  resultobj = SWIG_From_bool(static_cast< bool >(result));
181957  if (SWIG_IsNewObj(res2)) delete arg2;
181958  if (SWIG_IsNewObj(res3)) delete arg3;
181959  return resultobj;
181960 fail:
181961  if (SWIG_IsNewObj(res2)) delete arg2;
181962  if (SWIG_IsNewObj(res3)) delete arg3;
181963  return NULL;
181964 }
181965 
181966 
181967 SWIGINTERN PyObject *_wrap_RigidBody_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
181968  PyObject *resultobj = 0;
181970  std::string *arg2 = 0 ;
181971  std::string *arg3 = 0 ;
181972  void *argp1 = 0 ;
181973  int res1 = 0 ;
181974  int res2 = SWIG_OLDOBJ ;
181975  int res3 = SWIG_OLDOBJ ;
181976  PyObject * obj0 = 0 ;
181977  PyObject * obj1 = 0 ;
181978  PyObject * obj2 = 0 ;
181979  bool result;
181980 
181981  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
181982  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
181983  if (!SWIG_IsOK(res1)) {
181984  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
181985  }
181986  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
181987  {
181988  std::string *ptr = (std::string *)0;
181989  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
181990  if (!SWIG_IsOK(res2)) {
181991  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_SetData" "', argument " "2"" of type '" "std::string const &""'");
181992  }
181993  if (!ptr) {
181994  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_SetData" "', argument " "2"" of type '" "std::string const &""'");
181995  }
181996  arg2 = ptr;
181997  }
181998  {
181999  std::string *ptr = (std::string *)0;
182000  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
182001  if (!SWIG_IsOK(res3)) {
182002  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RigidBody_SetData" "', argument " "3"" of type '" "std::string const &""'");
182003  }
182004  if (!ptr) {
182005  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_SetData" "', argument " "3"" of type '" "std::string const &""'");
182006  }
182007  arg3 = ptr;
182008  }
182009  {
182010  try {
182011  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
182012  }
182013  catch(CStdErrorInfo oError)
182014  {
182015  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182016  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
182017  PyErr_SetString(PyExc_IndexError, strError.c_str());
182018  SWIG_fail;
182019  }
182020  catch(...)
182021  {
182022  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182023  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
182024  SWIG_fail;
182025  }
182026  }
182027  resultobj = SWIG_From_bool(static_cast< bool >(result));
182028  if (SWIG_IsNewObj(res2)) delete arg2;
182029  if (SWIG_IsNewObj(res3)) delete arg3;
182030  return resultobj;
182031 fail:
182032  if (SWIG_IsNewObj(res2)) delete arg2;
182033  if (SWIG_IsNewObj(res3)) delete arg3;
182034  return NULL;
182035 }
182036 
182037 
182038 SWIGINTERN PyObject *_wrap_RigidBody_SetData(PyObject *self, PyObject *args) {
182039  int argc;
182040  PyObject *argv[5];
182041  int ii;
182042 
182043  if (!PyTuple_Check(args)) SWIG_fail;
182044  argc = args ? (int)PyObject_Length(args) : 0;
182045  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
182046  argv[ii] = PyTuple_GET_ITEM(args,ii);
182047  }
182048  if (argc == 3) {
182049  int _v;
182050  void *vptr = 0;
182051  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
182052  _v = SWIG_CheckState(res);
182053  if (_v) {
182054  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
182055  _v = SWIG_CheckState(res);
182056  if (_v) {
182057  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
182058  _v = SWIG_CheckState(res);
182059  if (_v) {
182060  return _wrap_RigidBody_SetData__SWIG_1(self, args);
182061  }
182062  }
182063  }
182064  }
182065  if (argc == 4) {
182066  int _v;
182067  void *vptr = 0;
182068  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
182069  _v = SWIG_CheckState(res);
182070  if (_v) {
182071  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
182072  _v = SWIG_CheckState(res);
182073  if (_v) {
182074  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
182075  _v = SWIG_CheckState(res);
182076  if (_v) {
182077  {
182078  int res = SWIG_AsVal_bool(argv[3], NULL);
182079  _v = SWIG_CheckState(res);
182080  }
182081  if (_v) {
182082  return _wrap_RigidBody_SetData__SWIG_0(self, args);
182083  }
182084  }
182085  }
182086  }
182087  }
182088 
182089 fail:
182090  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_SetData'.\n"
182091  " Possible C/C++ prototypes are:\n"
182092  " AnimatSim::Environment::RigidBody::SetData(std::string const &,std::string const &,bool)\n"
182093  " AnimatSim::Environment::RigidBody::SetData(std::string const &,std::string const &)\n");
182094  return 0;
182095 }
182096 
182097 
182098 SWIGINTERN PyObject *_wrap_RigidBody_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
182099  PyObject *resultobj = 0;
182101  CStdPtrArray< TypeProperty > *arg2 = 0 ;
182102  void *argp1 = 0 ;
182103  int res1 = 0 ;
182104  void *argp2 = 0 ;
182105  int res2 = 0 ;
182106  PyObject * obj0 = 0 ;
182107  PyObject * obj1 = 0 ;
182108 
182109  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_QueryProperties",&obj0,&obj1)) SWIG_fail;
182110  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
182111  if (!SWIG_IsOK(res1)) {
182112  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
182113  }
182114  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
182115  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
182116  if (!SWIG_IsOK(res2)) {
182117  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
182118  }
182119  if (!argp2) {
182120  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
182121  }
182122  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
182123  {
182124  try {
182125  (arg1)->QueryProperties(*arg2);
182126  }
182127  catch(CStdErrorInfo oError)
182128  {
182129  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182130  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
182131  PyErr_SetString(PyExc_IndexError, strError.c_str());
182132  SWIG_fail;
182133  }
182134  catch(...)
182135  {
182136  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182137  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
182138  SWIG_fail;
182139  }
182140  }
182141  resultobj = SWIG_Py_Void();
182142  return resultobj;
182143 fail:
182144  return NULL;
182145 }
182146 
182147 
182148 SWIGINTERN PyObject *_wrap_RigidBody_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
182149  PyObject *resultobj = 0;
182151  std::string *arg2 = 0 ;
182152  std::string *arg3 = 0 ;
182153  bool arg4 ;
182154  bool arg5 ;
182155  void *argp1 = 0 ;
182156  int res1 = 0 ;
182157  int res2 = SWIG_OLDOBJ ;
182158  int res3 = SWIG_OLDOBJ ;
182159  bool val4 ;
182160  int ecode4 = 0 ;
182161  bool val5 ;
182162  int ecode5 = 0 ;
182163  PyObject * obj0 = 0 ;
182164  PyObject * obj1 = 0 ;
182165  PyObject * obj2 = 0 ;
182166  PyObject * obj3 = 0 ;
182167  PyObject * obj4 = 0 ;
182168  bool result;
182169 
182170  if (!PyArg_ParseTuple(args,(char *)"OOOOO:RigidBody_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
182171  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
182172  if (!SWIG_IsOK(res1)) {
182173  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
182174  }
182175  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
182176  {
182177  std::string *ptr = (std::string *)0;
182178  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
182179  if (!SWIG_IsOK(res2)) {
182180  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_AddItem" "', argument " "2"" of type '" "std::string const &""'");
182181  }
182182  if (!ptr) {
182183  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_AddItem" "', argument " "2"" of type '" "std::string const &""'");
182184  }
182185  arg2 = ptr;
182186  }
182187  {
182188  std::string *ptr = (std::string *)0;
182189  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
182190  if (!SWIG_IsOK(res3)) {
182191  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RigidBody_AddItem" "', argument " "3"" of type '" "std::string const &""'");
182192  }
182193  if (!ptr) {
182194  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_AddItem" "', argument " "3"" of type '" "std::string const &""'");
182195  }
182196  arg3 = ptr;
182197  }
182198  ecode4 = SWIG_AsVal_bool(obj3, &val4);
182199  if (!SWIG_IsOK(ecode4)) {
182200  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_AddItem" "', argument " "4"" of type '" "bool""'");
182201  }
182202  arg4 = static_cast< bool >(val4);
182203  ecode5 = SWIG_AsVal_bool(obj4, &val5);
182204  if (!SWIG_IsOK(ecode5)) {
182205  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RigidBody_AddItem" "', argument " "5"" of type '" "bool""'");
182206  }
182207  arg5 = static_cast< bool >(val5);
182208  {
182209  try {
182210  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
182211  }
182212  catch(CStdErrorInfo oError)
182213  {
182214  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182215  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
182216  PyErr_SetString(PyExc_IndexError, strError.c_str());
182217  SWIG_fail;
182218  }
182219  catch(...)
182220  {
182221  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182222  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
182223  SWIG_fail;
182224  }
182225  }
182226  resultobj = SWIG_From_bool(static_cast< bool >(result));
182227  if (SWIG_IsNewObj(res2)) delete arg2;
182228  if (SWIG_IsNewObj(res3)) delete arg3;
182229  return resultobj;
182230 fail:
182231  if (SWIG_IsNewObj(res2)) delete arg2;
182232  if (SWIG_IsNewObj(res3)) delete arg3;
182233  return NULL;
182234 }
182235 
182236 
182237 SWIGINTERN PyObject *_wrap_RigidBody_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
182238  PyObject *resultobj = 0;
182240  std::string *arg2 = 0 ;
182241  std::string *arg3 = 0 ;
182242  bool arg4 ;
182243  void *argp1 = 0 ;
182244  int res1 = 0 ;
182245  int res2 = SWIG_OLDOBJ ;
182246  int res3 = SWIG_OLDOBJ ;
182247  bool val4 ;
182248  int ecode4 = 0 ;
182249  PyObject * obj0 = 0 ;
182250  PyObject * obj1 = 0 ;
182251  PyObject * obj2 = 0 ;
182252  PyObject * obj3 = 0 ;
182253  bool result;
182254 
182255  if (!PyArg_ParseTuple(args,(char *)"OOOO:RigidBody_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
182256  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
182257  if (!SWIG_IsOK(res1)) {
182258  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
182259  }
182260  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
182261  {
182262  std::string *ptr = (std::string *)0;
182263  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
182264  if (!SWIG_IsOK(res2)) {
182265  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_AddItem" "', argument " "2"" of type '" "std::string const &""'");
182266  }
182267  if (!ptr) {
182268  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_AddItem" "', argument " "2"" of type '" "std::string const &""'");
182269  }
182270  arg2 = ptr;
182271  }
182272  {
182273  std::string *ptr = (std::string *)0;
182274  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
182275  if (!SWIG_IsOK(res3)) {
182276  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RigidBody_AddItem" "', argument " "3"" of type '" "std::string const &""'");
182277  }
182278  if (!ptr) {
182279  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_AddItem" "', argument " "3"" of type '" "std::string const &""'");
182280  }
182281  arg3 = ptr;
182282  }
182283  ecode4 = SWIG_AsVal_bool(obj3, &val4);
182284  if (!SWIG_IsOK(ecode4)) {
182285  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_AddItem" "', argument " "4"" of type '" "bool""'");
182286  }
182287  arg4 = static_cast< bool >(val4);
182288  {
182289  try {
182290  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
182291  }
182292  catch(CStdErrorInfo oError)
182293  {
182294  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182295  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
182296  PyErr_SetString(PyExc_IndexError, strError.c_str());
182297  SWIG_fail;
182298  }
182299  catch(...)
182300  {
182301  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182302  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
182303  SWIG_fail;
182304  }
182305  }
182306  resultobj = SWIG_From_bool(static_cast< bool >(result));
182307  if (SWIG_IsNewObj(res2)) delete arg2;
182308  if (SWIG_IsNewObj(res3)) delete arg3;
182309  return resultobj;
182310 fail:
182311  if (SWIG_IsNewObj(res2)) delete arg2;
182312  if (SWIG_IsNewObj(res3)) delete arg3;
182313  return NULL;
182314 }
182315 
182316 
182317 SWIGINTERN PyObject *_wrap_RigidBody_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
182318  PyObject *resultobj = 0;
182320  std::string *arg2 = 0 ;
182321  std::string *arg3 = 0 ;
182322  void *argp1 = 0 ;
182323  int res1 = 0 ;
182324  int res2 = SWIG_OLDOBJ ;
182325  int res3 = SWIG_OLDOBJ ;
182326  PyObject * obj0 = 0 ;
182327  PyObject * obj1 = 0 ;
182328  PyObject * obj2 = 0 ;
182329  bool result;
182330 
182331  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
182332  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
182333  if (!SWIG_IsOK(res1)) {
182334  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
182335  }
182336  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
182337  {
182338  std::string *ptr = (std::string *)0;
182339  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
182340  if (!SWIG_IsOK(res2)) {
182341  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_AddItem" "', argument " "2"" of type '" "std::string const &""'");
182342  }
182343  if (!ptr) {
182344  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_AddItem" "', argument " "2"" of type '" "std::string const &""'");
182345  }
182346  arg2 = ptr;
182347  }
182348  {
182349  std::string *ptr = (std::string *)0;
182350  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
182351  if (!SWIG_IsOK(res3)) {
182352  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RigidBody_AddItem" "', argument " "3"" of type '" "std::string const &""'");
182353  }
182354  if (!ptr) {
182355  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_AddItem" "', argument " "3"" of type '" "std::string const &""'");
182356  }
182357  arg3 = ptr;
182358  }
182359  {
182360  try {
182361  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
182362  }
182363  catch(CStdErrorInfo oError)
182364  {
182365  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182366  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
182367  PyErr_SetString(PyExc_IndexError, strError.c_str());
182368  SWIG_fail;
182369  }
182370  catch(...)
182371  {
182372  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182373  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
182374  SWIG_fail;
182375  }
182376  }
182377  resultobj = SWIG_From_bool(static_cast< bool >(result));
182378  if (SWIG_IsNewObj(res2)) delete arg2;
182379  if (SWIG_IsNewObj(res3)) delete arg3;
182380  return resultobj;
182381 fail:
182382  if (SWIG_IsNewObj(res2)) delete arg2;
182383  if (SWIG_IsNewObj(res3)) delete arg3;
182384  return NULL;
182385 }
182386 
182387 
182388 SWIGINTERN PyObject *_wrap_RigidBody_AddItem(PyObject *self, PyObject *args) {
182389  int argc;
182390  PyObject *argv[6];
182391  int ii;
182392 
182393  if (!PyTuple_Check(args)) SWIG_fail;
182394  argc = args ? (int)PyObject_Length(args) : 0;
182395  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
182396  argv[ii] = PyTuple_GET_ITEM(args,ii);
182397  }
182398  if (argc == 3) {
182399  int _v;
182400  void *vptr = 0;
182401  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
182402  _v = SWIG_CheckState(res);
182403  if (_v) {
182404  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
182405  _v = SWIG_CheckState(res);
182406  if (_v) {
182407  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
182408  _v = SWIG_CheckState(res);
182409  if (_v) {
182410  return _wrap_RigidBody_AddItem__SWIG_2(self, args);
182411  }
182412  }
182413  }
182414  }
182415  if (argc == 4) {
182416  int _v;
182417  void *vptr = 0;
182418  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
182419  _v = SWIG_CheckState(res);
182420  if (_v) {
182421  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
182422  _v = SWIG_CheckState(res);
182423  if (_v) {
182424  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
182425  _v = SWIG_CheckState(res);
182426  if (_v) {
182427  {
182428  int res = SWIG_AsVal_bool(argv[3], NULL);
182429  _v = SWIG_CheckState(res);
182430  }
182431  if (_v) {
182432  return _wrap_RigidBody_AddItem__SWIG_1(self, args);
182433  }
182434  }
182435  }
182436  }
182437  }
182438  if (argc == 5) {
182439  int _v;
182440  void *vptr = 0;
182441  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
182442  _v = SWIG_CheckState(res);
182443  if (_v) {
182444  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
182445  _v = SWIG_CheckState(res);
182446  if (_v) {
182447  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
182448  _v = SWIG_CheckState(res);
182449  if (_v) {
182450  {
182451  int res = SWIG_AsVal_bool(argv[3], NULL);
182452  _v = SWIG_CheckState(res);
182453  }
182454  if (_v) {
182455  {
182456  int res = SWIG_AsVal_bool(argv[4], NULL);
182457  _v = SWIG_CheckState(res);
182458  }
182459  if (_v) {
182460  return _wrap_RigidBody_AddItem__SWIG_0(self, args);
182461  }
182462  }
182463  }
182464  }
182465  }
182466  }
182467 
182468 fail:
182469  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_AddItem'.\n"
182470  " Possible C/C++ prototypes are:\n"
182471  " AnimatSim::Environment::RigidBody::AddItem(std::string const &,std::string const &,bool,bool)\n"
182472  " AnimatSim::Environment::RigidBody::AddItem(std::string const &,std::string const &,bool)\n"
182473  " AnimatSim::Environment::RigidBody::AddItem(std::string const &,std::string const &)\n");
182474  return 0;
182475 }
182476 
182477 
182478 SWIGINTERN PyObject *_wrap_RigidBody_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
182479  PyObject *resultobj = 0;
182481  std::string *arg2 = 0 ;
182482  std::string *arg3 = 0 ;
182483  bool arg4 ;
182484  void *argp1 = 0 ;
182485  int res1 = 0 ;
182486  int res2 = SWIG_OLDOBJ ;
182487  int res3 = SWIG_OLDOBJ ;
182488  bool val4 ;
182489  int ecode4 = 0 ;
182490  PyObject * obj0 = 0 ;
182491  PyObject * obj1 = 0 ;
182492  PyObject * obj2 = 0 ;
182493  PyObject * obj3 = 0 ;
182494  bool result;
182495 
182496  if (!PyArg_ParseTuple(args,(char *)"OOOO:RigidBody_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
182497  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
182498  if (!SWIG_IsOK(res1)) {
182499  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
182500  }
182501  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
182502  {
182503  std::string *ptr = (std::string *)0;
182504  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
182505  if (!SWIG_IsOK(res2)) {
182506  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
182507  }
182508  if (!ptr) {
182509  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
182510  }
182511  arg2 = ptr;
182512  }
182513  {
182514  std::string *ptr = (std::string *)0;
182515  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
182516  if (!SWIG_IsOK(res3)) {
182517  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RigidBody_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
182518  }
182519  if (!ptr) {
182520  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
182521  }
182522  arg3 = ptr;
182523  }
182524  ecode4 = SWIG_AsVal_bool(obj3, &val4);
182525  if (!SWIG_IsOK(ecode4)) {
182526  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RigidBody_RemoveItem" "', argument " "4"" of type '" "bool""'");
182527  }
182528  arg4 = static_cast< bool >(val4);
182529  {
182530  try {
182531  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
182532  }
182533  catch(CStdErrorInfo oError)
182534  {
182535  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182536  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
182537  PyErr_SetString(PyExc_IndexError, strError.c_str());
182538  SWIG_fail;
182539  }
182540  catch(...)
182541  {
182542  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182543  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
182544  SWIG_fail;
182545  }
182546  }
182547  resultobj = SWIG_From_bool(static_cast< bool >(result));
182548  if (SWIG_IsNewObj(res2)) delete arg2;
182549  if (SWIG_IsNewObj(res3)) delete arg3;
182550  return resultobj;
182551 fail:
182552  if (SWIG_IsNewObj(res2)) delete arg2;
182553  if (SWIG_IsNewObj(res3)) delete arg3;
182554  return NULL;
182555 }
182556 
182557 
182558 SWIGINTERN PyObject *_wrap_RigidBody_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
182559  PyObject *resultobj = 0;
182561  std::string *arg2 = 0 ;
182562  std::string *arg3 = 0 ;
182563  void *argp1 = 0 ;
182564  int res1 = 0 ;
182565  int res2 = SWIG_OLDOBJ ;
182566  int res3 = SWIG_OLDOBJ ;
182567  PyObject * obj0 = 0 ;
182568  PyObject * obj1 = 0 ;
182569  PyObject * obj2 = 0 ;
182570  bool result;
182571 
182572  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
182573  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
182574  if (!SWIG_IsOK(res1)) {
182575  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
182576  }
182577  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
182578  {
182579  std::string *ptr = (std::string *)0;
182580  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
182581  if (!SWIG_IsOK(res2)) {
182582  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
182583  }
182584  if (!ptr) {
182585  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
182586  }
182587  arg2 = ptr;
182588  }
182589  {
182590  std::string *ptr = (std::string *)0;
182591  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
182592  if (!SWIG_IsOK(res3)) {
182593  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RigidBody_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
182594  }
182595  if (!ptr) {
182596  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
182597  }
182598  arg3 = ptr;
182599  }
182600  {
182601  try {
182602  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
182603  }
182604  catch(CStdErrorInfo oError)
182605  {
182606  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182607  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
182608  PyErr_SetString(PyExc_IndexError, strError.c_str());
182609  SWIG_fail;
182610  }
182611  catch(...)
182612  {
182613  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182614  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
182615  SWIG_fail;
182616  }
182617  }
182618  resultobj = SWIG_From_bool(static_cast< bool >(result));
182619  if (SWIG_IsNewObj(res2)) delete arg2;
182620  if (SWIG_IsNewObj(res3)) delete arg3;
182621  return resultobj;
182622 fail:
182623  if (SWIG_IsNewObj(res2)) delete arg2;
182624  if (SWIG_IsNewObj(res3)) delete arg3;
182625  return NULL;
182626 }
182627 
182628 
182629 SWIGINTERN PyObject *_wrap_RigidBody_RemoveItem(PyObject *self, PyObject *args) {
182630  int argc;
182631  PyObject *argv[5];
182632  int ii;
182633 
182634  if (!PyTuple_Check(args)) SWIG_fail;
182635  argc = args ? (int)PyObject_Length(args) : 0;
182636  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
182637  argv[ii] = PyTuple_GET_ITEM(args,ii);
182638  }
182639  if (argc == 3) {
182640  int _v;
182641  void *vptr = 0;
182642  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
182643  _v = SWIG_CheckState(res);
182644  if (_v) {
182645  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
182646  _v = SWIG_CheckState(res);
182647  if (_v) {
182648  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
182649  _v = SWIG_CheckState(res);
182650  if (_v) {
182651  return _wrap_RigidBody_RemoveItem__SWIG_1(self, args);
182652  }
182653  }
182654  }
182655  }
182656  if (argc == 4) {
182657  int _v;
182658  void *vptr = 0;
182659  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
182660  _v = SWIG_CheckState(res);
182661  if (_v) {
182662  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
182663  _v = SWIG_CheckState(res);
182664  if (_v) {
182665  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
182666  _v = SWIG_CheckState(res);
182667  if (_v) {
182668  {
182669  int res = SWIG_AsVal_bool(argv[3], NULL);
182670  _v = SWIG_CheckState(res);
182671  }
182672  if (_v) {
182673  return _wrap_RigidBody_RemoveItem__SWIG_0(self, args);
182674  }
182675  }
182676  }
182677  }
182678  }
182679 
182680 fail:
182681  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_RemoveItem'.\n"
182682  " Possible C/C++ prototypes are:\n"
182683  " AnimatSim::Environment::RigidBody::RemoveItem(std::string const &,std::string const &,bool)\n"
182684  " AnimatSim::Environment::RigidBody::RemoveItem(std::string const &,std::string const &)\n");
182685  return 0;
182686 }
182687 
182688 
182689 SWIGINTERN PyObject *_wrap_RigidBody_SimPausing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
182690  PyObject *resultobj = 0;
182692  void *argp1 = 0 ;
182693  int res1 = 0 ;
182694  PyObject * obj0 = 0 ;
182695 
182696  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_SimPausing",&obj0)) SWIG_fail;
182697  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
182698  if (!SWIG_IsOK(res1)) {
182699  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_SimPausing" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
182700  }
182701  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
182702  {
182703  try {
182704  (arg1)->SimPausing();
182705  }
182706  catch(CStdErrorInfo oError)
182707  {
182708  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182709  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
182710  PyErr_SetString(PyExc_IndexError, strError.c_str());
182711  SWIG_fail;
182712  }
182713  catch(...)
182714  {
182715  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182716  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
182717  SWIG_fail;
182718  }
182719  }
182720  resultobj = SWIG_Py_Void();
182721  return resultobj;
182722 fail:
182723  return NULL;
182724 }
182725 
182726 
182727 SWIGINTERN PyObject *_wrap_RigidBody_GetTargetDataTypeIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
182728  PyObject *resultobj = 0;
182730  std::string *arg2 = 0 ;
182731  void *argp1 = 0 ;
182732  int res1 = 0 ;
182733  int res2 = SWIG_OLDOBJ ;
182734  PyObject * obj0 = 0 ;
182735  PyObject * obj1 = 0 ;
182736  int result;
182737 
182738  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_GetTargetDataTypeIndex",&obj0,&obj1)) SWIG_fail;
182739  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
182740  if (!SWIG_IsOK(res1)) {
182741  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_GetTargetDataTypeIndex" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
182742  }
182743  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
182744  {
182745  std::string *ptr = (std::string *)0;
182746  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
182747  if (!SWIG_IsOK(res2)) {
182748  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_GetTargetDataTypeIndex" "', argument " "2"" of type '" "std::string const &""'");
182749  }
182750  if (!ptr) {
182751  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_GetTargetDataTypeIndex" "', argument " "2"" of type '" "std::string const &""'");
182752  }
182753  arg2 = ptr;
182754  }
182755  {
182756  try {
182757  result = (int)(arg1)->GetTargetDataTypeIndex((std::string const &)*arg2);
182758  }
182759  catch(CStdErrorInfo oError)
182760  {
182761  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182762  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
182763  PyErr_SetString(PyExc_IndexError, strError.c_str());
182764  SWIG_fail;
182765  }
182766  catch(...)
182767  {
182768  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182769  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
182770  SWIG_fail;
182771  }
182772  }
182773  resultobj = SWIG_From_int(static_cast< int >(result));
182774  if (SWIG_IsNewObj(res2)) delete arg2;
182775  return resultobj;
182776 fail:
182777  if (SWIG_IsNewObj(res2)) delete arg2;
182778  return NULL;
182779 }
182780 
182781 
182782 SWIGINTERN PyObject *_wrap_RigidBody_AddExternalNodeInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
182783  PyObject *resultobj = 0;
182785  int arg2 ;
182786  float arg3 ;
182787  void *argp1 = 0 ;
182788  int res1 = 0 ;
182789  int val2 ;
182790  int ecode2 = 0 ;
182791  float val3 ;
182792  int ecode3 = 0 ;
182793  PyObject * obj0 = 0 ;
182794  PyObject * obj1 = 0 ;
182795  PyObject * obj2 = 0 ;
182796 
182797  if (!PyArg_ParseTuple(args,(char *)"OOO:RigidBody_AddExternalNodeInput",&obj0,&obj1,&obj2)) SWIG_fail;
182798  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
182799  if (!SWIG_IsOK(res1)) {
182800  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AddExternalNodeInput" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
182801  }
182802  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
182803  ecode2 = SWIG_AsVal_int(obj1, &val2);
182804  if (!SWIG_IsOK(ecode2)) {
182805  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_AddExternalNodeInput" "', argument " "2"" of type '" "int""'");
182806  }
182807  arg2 = static_cast< int >(val2);
182808  ecode3 = SWIG_AsVal_float(obj2, &val3);
182809  if (!SWIG_IsOK(ecode3)) {
182810  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RigidBody_AddExternalNodeInput" "', argument " "3"" of type '" "float""'");
182811  }
182812  arg3 = static_cast< float >(val3);
182813  {
182814  try {
182815  (arg1)->AddExternalNodeInput(arg2,arg3);
182816  }
182817  catch(CStdErrorInfo oError)
182818  {
182819  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182820  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
182821  PyErr_SetString(PyExc_IndexError, strError.c_str());
182822  SWIG_fail;
182823  }
182824  catch(...)
182825  {
182826  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182827  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
182828  SWIG_fail;
182829  }
182830  }
182831  resultobj = SWIG_Py_Void();
182832  return resultobj;
182833 fail:
182834  return NULL;
182835 }
182836 
182837 
182838 SWIGINTERN PyObject *_wrap_RigidBody_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
182839  PyObject *resultobj = 0;
182841  void *argp1 = 0 ;
182842  int res1 = 0 ;
182843  PyObject * obj0 = 0 ;
182844 
182845  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_StepSimulation",&obj0)) SWIG_fail;
182846  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
182847  if (!SWIG_IsOK(res1)) {
182848  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
182849  }
182850  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
182851  {
182852  try {
182853  (arg1)->StepSimulation();
182854  }
182855  catch(CStdErrorInfo oError)
182856  {
182857  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182858  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
182859  PyErr_SetString(PyExc_IndexError, strError.c_str());
182860  SWIG_fail;
182861  }
182862  catch(...)
182863  {
182864  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182865  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
182866  SWIG_fail;
182867  }
182868  }
182869  resultobj = SWIG_Py_Void();
182870  return resultobj;
182871 fail:
182872  return NULL;
182873 }
182874 
182875 
182876 SWIGINTERN PyObject *_wrap_RigidBody_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
182877  PyObject *resultobj = 0;
182879  void *argp1 = 0 ;
182880  int res1 = 0 ;
182881  PyObject * obj0 = 0 ;
182882 
182883  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_ResetSimulation",&obj0)) SWIG_fail;
182884  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
182885  if (!SWIG_IsOK(res1)) {
182886  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
182887  }
182888  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
182889  {
182890  try {
182891  (arg1)->ResetSimulation();
182892  }
182893  catch(CStdErrorInfo oError)
182894  {
182895  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182896  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
182897  PyErr_SetString(PyExc_IndexError, strError.c_str());
182898  SWIG_fail;
182899  }
182900  catch(...)
182901  {
182902  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182903  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
182904  SWIG_fail;
182905  }
182906  }
182907  resultobj = SWIG_Py_Void();
182908  return resultobj;
182909 fail:
182910  return NULL;
182911 }
182912 
182913 
182914 SWIGINTERN PyObject *_wrap_RigidBody_AfterResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
182915  PyObject *resultobj = 0;
182917  void *argp1 = 0 ;
182918  int res1 = 0 ;
182919  PyObject * obj0 = 0 ;
182920 
182921  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_AfterResetSimulation",&obj0)) SWIG_fail;
182922  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
182923  if (!SWIG_IsOK(res1)) {
182924  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_AfterResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
182925  }
182926  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
182927  {
182928  try {
182929  (arg1)->AfterResetSimulation();
182930  }
182931  catch(CStdErrorInfo oError)
182932  {
182933  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182934  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
182935  PyErr_SetString(PyExc_IndexError, strError.c_str());
182936  SWIG_fail;
182937  }
182938  catch(...)
182939  {
182940  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182941  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
182942  SWIG_fail;
182943  }
182944  }
182945  resultobj = SWIG_Py_Void();
182946  return resultobj;
182947 fail:
182948  return NULL;
182949 }
182950 
182951 
182952 SWIGINTERN PyObject *_wrap_RigidBody_Kill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
182953  PyObject *resultobj = 0;
182955  bool arg2 ;
182956  void *argp1 = 0 ;
182957  int res1 = 0 ;
182958  bool val2 ;
182959  int ecode2 = 0 ;
182960  PyObject * obj0 = 0 ;
182961  PyObject * obj1 = 0 ;
182962 
182963  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_Kill",&obj0,&obj1)) SWIG_fail;
182964  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
182965  if (!SWIG_IsOK(res1)) {
182966  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Kill" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
182967  }
182968  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
182969  ecode2 = SWIG_AsVal_bool(obj1, &val2);
182970  if (!SWIG_IsOK(ecode2)) {
182971  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RigidBody_Kill" "', argument " "2"" of type '" "bool""'");
182972  }
182973  arg2 = static_cast< bool >(val2);
182974  {
182975  try {
182976  (arg1)->Kill(arg2);
182977  }
182978  catch(CStdErrorInfo oError)
182979  {
182980  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182981  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
182982  PyErr_SetString(PyExc_IndexError, strError.c_str());
182983  SWIG_fail;
182984  }
182985  catch(...)
182986  {
182987  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
182988  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
182989  SWIG_fail;
182990  }
182991  }
182992  resultobj = SWIG_Py_Void();
182993  return resultobj;
182994 fail:
182995  return NULL;
182996 }
182997 
182998 
182999 SWIGINTERN PyObject *_wrap_RigidBody_Kill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183000  PyObject *resultobj = 0;
183002  void *argp1 = 0 ;
183003  int res1 = 0 ;
183004  PyObject * obj0 = 0 ;
183005 
183006  if (!PyArg_ParseTuple(args,(char *)"O:RigidBody_Kill",&obj0)) SWIG_fail;
183007  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
183008  if (!SWIG_IsOK(res1)) {
183009  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Kill" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
183010  }
183011  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
183012  {
183013  try {
183014  (arg1)->Kill();
183015  }
183016  catch(CStdErrorInfo oError)
183017  {
183018  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183019  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183020  PyErr_SetString(PyExc_IndexError, strError.c_str());
183021  SWIG_fail;
183022  }
183023  catch(...)
183024  {
183025  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183026  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183027  SWIG_fail;
183028  }
183029  }
183030  resultobj = SWIG_Py_Void();
183031  return resultobj;
183032 fail:
183033  return NULL;
183034 }
183035 
183036 
183037 SWIGINTERN PyObject *_wrap_RigidBody_Kill(PyObject *self, PyObject *args) {
183038  int argc;
183039  PyObject *argv[3];
183040  int ii;
183041 
183042  if (!PyTuple_Check(args)) SWIG_fail;
183043  argc = args ? (int)PyObject_Length(args) : 0;
183044  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
183045  argv[ii] = PyTuple_GET_ITEM(args,ii);
183046  }
183047  if (argc == 1) {
183048  int _v;
183049  void *vptr = 0;
183050  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
183051  _v = SWIG_CheckState(res);
183052  if (_v) {
183053  return _wrap_RigidBody_Kill__SWIG_1(self, args);
183054  }
183055  }
183056  if (argc == 2) {
183057  int _v;
183058  void *vptr = 0;
183059  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
183060  _v = SWIG_CheckState(res);
183061  if (_v) {
183062  {
183063  int res = SWIG_AsVal_bool(argv[1], NULL);
183064  _v = SWIG_CheckState(res);
183065  }
183066  if (_v) {
183067  return _wrap_RigidBody_Kill__SWIG_0(self, args);
183068  }
183069  }
183070  }
183071 
183072 fail:
183073  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RigidBody_Kill'.\n"
183074  " Possible C/C++ prototypes are:\n"
183075  " AnimatSim::Environment::RigidBody::Kill(bool)\n"
183076  " AnimatSim::Environment::RigidBody::Kill()\n");
183077  return 0;
183078 }
183079 
183080 
183081 SWIGINTERN PyObject *_wrap_RigidBody_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183082  PyObject *resultobj = 0;
183084  CStdXml *arg2 = 0 ;
183085  void *argp1 = 0 ;
183086  int res1 = 0 ;
183087  void *argp2 = 0 ;
183088  int res2 = 0 ;
183089  PyObject * obj0 = 0 ;
183090  PyObject * obj1 = 0 ;
183091 
183092  if (!PyArg_ParseTuple(args,(char *)"OO:RigidBody_Load",&obj0,&obj1)) SWIG_fail;
183093  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
183094  if (!SWIG_IsOK(res1)) {
183095  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RigidBody_Load" "', argument " "1"" of type '" "AnimatSim::Environment::RigidBody *""'");
183096  }
183097  arg1 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp1);
183098  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
183099  if (!SWIG_IsOK(res2)) {
183100  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RigidBody_Load" "', argument " "2"" of type '" "CStdXml &""'");
183101  }
183102  if (!argp2) {
183103  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RigidBody_Load" "', argument " "2"" of type '" "CStdXml &""'");
183104  }
183105  arg2 = reinterpret_cast< CStdXml * >(argp2);
183106  {
183107  try {
183108  (arg1)->Load(*arg2);
183109  }
183110  catch(CStdErrorInfo oError)
183111  {
183112  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183113  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183114  PyErr_SetString(PyExc_IndexError, strError.c_str());
183115  SWIG_fail;
183116  }
183117  catch(...)
183118  {
183119  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183120  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183121  SWIG_fail;
183122  }
183123  }
183124  resultobj = SWIG_Py_Void();
183125  return resultobj;
183126 fail:
183127  return NULL;
183128 }
183129 
183130 
183131 SWIGINTERN PyObject *RigidBody_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183132  PyObject *obj;
183133  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
183134  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__RigidBody, SWIG_NewClientData(obj));
183135  return SWIG_Py_Void();
183136 }
183137 
183138 SWIGINTERN PyObject *_wrap_new_Plane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183139  PyObject *resultobj = 0;
183141 
183142  if (!PyArg_ParseTuple(args,(char *)":new_Plane")) SWIG_fail;
183143  {
183144  try {
183146  }
183147  catch(CStdErrorInfo oError)
183148  {
183149  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183150  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183151  PyErr_SetString(PyExc_IndexError, strError.c_str());
183152  SWIG_fail;
183153  }
183154  catch(...)
183155  {
183156  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183157  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183158  SWIG_fail;
183159  }
183160  }
183161  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, SWIG_POINTER_NEW | 0 );
183162  return resultobj;
183163 fail:
183164  return NULL;
183165 }
183166 
183167 
183168 SWIGINTERN PyObject *_wrap_delete_Plane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183169  PyObject *resultobj = 0;
183171  void *argp1 = 0 ;
183172  int res1 = 0 ;
183173  PyObject * obj0 = 0 ;
183174 
183175  if (!PyArg_ParseTuple(args,(char *)"O:delete_Plane",&obj0)) SWIG_fail;
183176  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, SWIG_POINTER_DISOWN | 0 );
183177  if (!SWIG_IsOK(res1)) {
183178  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Plane" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
183179  }
183180  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
183181  {
183182  try {
183183  delete arg1;
183184  }
183185  catch(CStdErrorInfo oError)
183186  {
183187  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183188  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183189  PyErr_SetString(PyExc_IndexError, strError.c_str());
183190  SWIG_fail;
183191  }
183192  catch(...)
183193  {
183194  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183195  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183196  SWIG_fail;
183197  }
183198  }
183199  resultobj = SWIG_Py_Void();
183200  return resultobj;
183201 fail:
183202  return NULL;
183203 }
183204 
183205 
183206 SWIGINTERN PyObject *_wrap_Plane_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183207  PyObject *resultobj = 0;
183209  void *argp1 = 0 ;
183210  int res1 = 0 ;
183211  PyObject * obj0 = 0 ;
183213 
183214  if (!PyArg_ParseTuple(args,(char *)"O:Plane_CastToDerived",&obj0)) SWIG_fail;
183215  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
183216  if (!SWIG_IsOK(res1)) {
183217  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
183218  }
183219  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
183220  {
183221  try {
183222  result = (AnimatSim::Environment::Bodies::Plane *)AnimatSim::Environment::Bodies::Plane::CastToDerived(arg1);
183223  }
183224  catch(CStdErrorInfo oError)
183225  {
183226  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183227  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183228  PyErr_SetString(PyExc_IndexError, strError.c_str());
183229  SWIG_fail;
183230  }
183231  catch(...)
183232  {
183233  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183234  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183235  SWIG_fail;
183236  }
183237  }
183238  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
183239  return resultobj;
183240 fail:
183241  return NULL;
183242 }
183243 
183244 
183245 SWIGINTERN PyObject *_wrap_Plane_CornerX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183246  PyObject *resultobj = 0;
183248  void *argp1 = 0 ;
183249  int res1 = 0 ;
183250  PyObject * obj0 = 0 ;
183251  float result;
183252 
183253  if (!PyArg_ParseTuple(args,(char *)"O:Plane_CornerX",&obj0)) SWIG_fail;
183254  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
183255  if (!SWIG_IsOK(res1)) {
183256  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_CornerX" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
183257  }
183258  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
183259  {
183260  try {
183261  result = (float)(arg1)->CornerX();
183262  }
183263  catch(CStdErrorInfo oError)
183264  {
183265  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183266  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183267  PyErr_SetString(PyExc_IndexError, strError.c_str());
183268  SWIG_fail;
183269  }
183270  catch(...)
183271  {
183272  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183273  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183274  SWIG_fail;
183275  }
183276  }
183277  resultobj = SWIG_From_float(static_cast< float >(result));
183278  return resultobj;
183279 fail:
183280  return NULL;
183281 }
183282 
183283 
183284 SWIGINTERN PyObject *_wrap_Plane_CornerY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183285  PyObject *resultobj = 0;
183287  void *argp1 = 0 ;
183288  int res1 = 0 ;
183289  PyObject * obj0 = 0 ;
183290  float result;
183291 
183292  if (!PyArg_ParseTuple(args,(char *)"O:Plane_CornerY",&obj0)) SWIG_fail;
183293  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
183294  if (!SWIG_IsOK(res1)) {
183295  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_CornerY" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
183296  }
183297  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
183298  {
183299  try {
183300  result = (float)(arg1)->CornerY();
183301  }
183302  catch(CStdErrorInfo oError)
183303  {
183304  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183305  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183306  PyErr_SetString(PyExc_IndexError, strError.c_str());
183307  SWIG_fail;
183308  }
183309  catch(...)
183310  {
183311  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183312  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183313  SWIG_fail;
183314  }
183315  }
183316  resultobj = SWIG_From_float(static_cast< float >(result));
183317  return resultobj;
183318 fail:
183319  return NULL;
183320 }
183321 
183322 
183323 SWIGINTERN PyObject *_wrap_Plane_GridX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183324  PyObject *resultobj = 0;
183326  void *argp1 = 0 ;
183327  int res1 = 0 ;
183328  PyObject * obj0 = 0 ;
183329  float result;
183330 
183331  if (!PyArg_ParseTuple(args,(char *)"O:Plane_GridX",&obj0)) SWIG_fail;
183332  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
183333  if (!SWIG_IsOK(res1)) {
183334  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_GridX" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
183335  }
183336  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
183337  {
183338  try {
183339  result = (float)(arg1)->GridX();
183340  }
183341  catch(CStdErrorInfo oError)
183342  {
183343  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183344  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183345  PyErr_SetString(PyExc_IndexError, strError.c_str());
183346  SWIG_fail;
183347  }
183348  catch(...)
183349  {
183350  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183351  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183352  SWIG_fail;
183353  }
183354  }
183355  resultobj = SWIG_From_float(static_cast< float >(result));
183356  return resultobj;
183357 fail:
183358  return NULL;
183359 }
183360 
183361 
183362 SWIGINTERN PyObject *_wrap_Plane_GridY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183363  PyObject *resultobj = 0;
183365  void *argp1 = 0 ;
183366  int res1 = 0 ;
183367  PyObject * obj0 = 0 ;
183368  float result;
183369 
183370  if (!PyArg_ParseTuple(args,(char *)"O:Plane_GridY",&obj0)) SWIG_fail;
183371  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
183372  if (!SWIG_IsOK(res1)) {
183373  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_GridY" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
183374  }
183375  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
183376  {
183377  try {
183378  result = (float)(arg1)->GridY();
183379  }
183380  catch(CStdErrorInfo oError)
183381  {
183382  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183383  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183384  PyErr_SetString(PyExc_IndexError, strError.c_str());
183385  SWIG_fail;
183386  }
183387  catch(...)
183388  {
183389  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183390  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183391  SWIG_fail;
183392  }
183393  }
183394  resultobj = SWIG_From_float(static_cast< float >(result));
183395  return resultobj;
183396 fail:
183397  return NULL;
183398 }
183399 
183400 
183401 SWIGINTERN PyObject *_wrap_Plane_Size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183402  PyObject *resultobj = 0;
183404  void *argp1 = 0 ;
183405  int res1 = 0 ;
183406  PyObject * obj0 = 0 ;
183407  CStdPoint< float > result;
183408 
183409  if (!PyArg_ParseTuple(args,(char *)"O:Plane_Size",&obj0)) SWIG_fail;
183410  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
183411  if (!SWIG_IsOK(res1)) {
183412  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_Size" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
183413  }
183414  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
183415  {
183416  try {
183417  result = (arg1)->Size();
183418  }
183419  catch(CStdErrorInfo oError)
183420  {
183421  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183422  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183423  PyErr_SetString(PyExc_IndexError, strError.c_str());
183424  SWIG_fail;
183425  }
183426  catch(...)
183427  {
183428  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183429  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183430  SWIG_fail;
183431  }
183432  }
183433  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
183434  return resultobj;
183435 fail:
183436  return NULL;
183437 }
183438 
183439 
183440 SWIGINTERN PyObject *_wrap_Plane_Size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183441  PyObject *resultobj = 0;
183443  CStdPoint< float > arg2 ;
183444  bool arg3 ;
183445  void *argp1 = 0 ;
183446  int res1 = 0 ;
183447  void *argp2 ;
183448  int res2 = 0 ;
183449  bool val3 ;
183450  int ecode3 = 0 ;
183451  PyObject * obj0 = 0 ;
183452  PyObject * obj1 = 0 ;
183453  PyObject * obj2 = 0 ;
183454 
183455  if (!PyArg_ParseTuple(args,(char *)"OOO:Plane_Size",&obj0,&obj1,&obj2)) SWIG_fail;
183456  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
183457  if (!SWIG_IsOK(res1)) {
183458  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_Size" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
183459  }
183460  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
183461  {
183462  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
183463  if (!SWIG_IsOK(res2)) {
183464  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plane_Size" "', argument " "2"" of type '" "CStdPoint< float >""'");
183465  }
183466  if (!argp2) {
183467  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plane_Size" "', argument " "2"" of type '" "CStdPoint< float >""'");
183468  } else {
183469  CStdPoint< float > * temp = reinterpret_cast< CStdPoint< float > * >(argp2);
183470  arg2 = *temp;
183471  if (SWIG_IsNewObj(res2)) delete temp;
183472  }
183473  }
183474  ecode3 = SWIG_AsVal_bool(obj2, &val3);
183475  if (!SWIG_IsOK(ecode3)) {
183476  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Plane_Size" "', argument " "3"" of type '" "bool""'");
183477  }
183478  arg3 = static_cast< bool >(val3);
183479  {
183480  try {
183481  (arg1)->Size(arg2,arg3);
183482  }
183483  catch(CStdErrorInfo oError)
183484  {
183485  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183486  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183487  PyErr_SetString(PyExc_IndexError, strError.c_str());
183488  SWIG_fail;
183489  }
183490  catch(...)
183491  {
183492  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183493  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183494  SWIG_fail;
183495  }
183496  }
183497  resultobj = SWIG_Py_Void();
183498  return resultobj;
183499 fail:
183500  return NULL;
183501 }
183502 
183503 
183504 SWIGINTERN PyObject *_wrap_Plane_Size__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183505  PyObject *resultobj = 0;
183507  CStdPoint< float > arg2 ;
183508  void *argp1 = 0 ;
183509  int res1 = 0 ;
183510  void *argp2 ;
183511  int res2 = 0 ;
183512  PyObject * obj0 = 0 ;
183513  PyObject * obj1 = 0 ;
183514 
183515  if (!PyArg_ParseTuple(args,(char *)"OO:Plane_Size",&obj0,&obj1)) SWIG_fail;
183516  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
183517  if (!SWIG_IsOK(res1)) {
183518  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_Size" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
183519  }
183520  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
183521  {
183522  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
183523  if (!SWIG_IsOK(res2)) {
183524  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plane_Size" "', argument " "2"" of type '" "CStdPoint< float >""'");
183525  }
183526  if (!argp2) {
183527  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plane_Size" "', argument " "2"" of type '" "CStdPoint< float >""'");
183528  } else {
183529  CStdPoint< float > * temp = reinterpret_cast< CStdPoint< float > * >(argp2);
183530  arg2 = *temp;
183531  if (SWIG_IsNewObj(res2)) delete temp;
183532  }
183533  }
183534  {
183535  try {
183536  (arg1)->Size(arg2);
183537  }
183538  catch(CStdErrorInfo oError)
183539  {
183540  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183541  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183542  PyErr_SetString(PyExc_IndexError, strError.c_str());
183543  SWIG_fail;
183544  }
183545  catch(...)
183546  {
183547  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183548  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183549  SWIG_fail;
183550  }
183551  }
183552  resultobj = SWIG_Py_Void();
183553  return resultobj;
183554 fail:
183555  return NULL;
183556 }
183557 
183558 
183559 SWIGINTERN PyObject *_wrap_Plane_Size__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183560  PyObject *resultobj = 0;
183562  std::string arg2 ;
183563  bool arg3 ;
183564  void *argp1 = 0 ;
183565  int res1 = 0 ;
183566  bool val3 ;
183567  int ecode3 = 0 ;
183568  PyObject * obj0 = 0 ;
183569  PyObject * obj1 = 0 ;
183570  PyObject * obj2 = 0 ;
183571 
183572  if (!PyArg_ParseTuple(args,(char *)"OOO:Plane_Size",&obj0,&obj1,&obj2)) SWIG_fail;
183573  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
183574  if (!SWIG_IsOK(res1)) {
183575  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_Size" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
183576  }
183577  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
183578  {
183579  std::string *ptr = (std::string *)0;
183580  int res = SWIG_AsPtr_std_string(obj1, &ptr);
183581  if (!SWIG_IsOK(res) || !ptr) {
183582  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Plane_Size" "', argument " "2"" of type '" "std::string""'");
183583  }
183584  arg2 = *ptr;
183585  if (SWIG_IsNewObj(res)) delete ptr;
183586  }
183587  ecode3 = SWIG_AsVal_bool(obj2, &val3);
183588  if (!SWIG_IsOK(ecode3)) {
183589  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Plane_Size" "', argument " "3"" of type '" "bool""'");
183590  }
183591  arg3 = static_cast< bool >(val3);
183592  {
183593  try {
183594  (arg1)->Size(arg2,arg3);
183595  }
183596  catch(CStdErrorInfo oError)
183597  {
183598  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183599  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183600  PyErr_SetString(PyExc_IndexError, strError.c_str());
183601  SWIG_fail;
183602  }
183603  catch(...)
183604  {
183605  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183606  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183607  SWIG_fail;
183608  }
183609  }
183610  resultobj = SWIG_Py_Void();
183611  return resultobj;
183612 fail:
183613  return NULL;
183614 }
183615 
183616 
183617 SWIGINTERN PyObject *_wrap_Plane_Size__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183618  PyObject *resultobj = 0;
183620  std::string arg2 ;
183621  void *argp1 = 0 ;
183622  int res1 = 0 ;
183623  PyObject * obj0 = 0 ;
183624  PyObject * obj1 = 0 ;
183625 
183626  if (!PyArg_ParseTuple(args,(char *)"OO:Plane_Size",&obj0,&obj1)) SWIG_fail;
183627  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
183628  if (!SWIG_IsOK(res1)) {
183629  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_Size" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
183630  }
183631  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
183632  {
183633  std::string *ptr = (std::string *)0;
183634  int res = SWIG_AsPtr_std_string(obj1, &ptr);
183635  if (!SWIG_IsOK(res) || !ptr) {
183636  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Plane_Size" "', argument " "2"" of type '" "std::string""'");
183637  }
183638  arg2 = *ptr;
183639  if (SWIG_IsNewObj(res)) delete ptr;
183640  }
183641  {
183642  try {
183643  (arg1)->Size(arg2);
183644  }
183645  catch(CStdErrorInfo oError)
183646  {
183647  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183648  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183649  PyErr_SetString(PyExc_IndexError, strError.c_str());
183650  SWIG_fail;
183651  }
183652  catch(...)
183653  {
183654  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183655  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183656  SWIG_fail;
183657  }
183658  }
183659  resultobj = SWIG_Py_Void();
183660  return resultobj;
183661 fail:
183662  return NULL;
183663 }
183664 
183665 
183666 SWIGINTERN PyObject *_wrap_Plane_Size(PyObject *self, PyObject *args) {
183667  int argc;
183668  PyObject *argv[4];
183669  int ii;
183670 
183671  if (!PyTuple_Check(args)) SWIG_fail;
183672  argc = args ? (int)PyObject_Length(args) : 0;
183673  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
183674  argv[ii] = PyTuple_GET_ITEM(args,ii);
183675  }
183676  if (argc == 1) {
183677  int _v;
183678  void *vptr = 0;
183679  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0);
183680  _v = SWIG_CheckState(res);
183681  if (_v) {
183682  return _wrap_Plane_Size__SWIG_0(self, args);
183683  }
183684  }
183685  if (argc == 2) {
183686  int _v;
183687  void *vptr = 0;
183688  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0);
183689  _v = SWIG_CheckState(res);
183690  if (_v) {
183691  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_float_t, 0);
183692  _v = SWIG_CheckState(res);
183693  if (_v) {
183694  return _wrap_Plane_Size__SWIG_2(self, args);
183695  }
183696  }
183697  }
183698  if (argc == 2) {
183699  int _v;
183700  void *vptr = 0;
183701  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0);
183702  _v = SWIG_CheckState(res);
183703  if (_v) {
183704  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
183705  _v = SWIG_CheckState(res);
183706  if (_v) {
183707  return _wrap_Plane_Size__SWIG_4(self, args);
183708  }
183709  }
183710  }
183711  if (argc == 3) {
183712  int _v;
183713  void *vptr = 0;
183714  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0);
183715  _v = SWIG_CheckState(res);
183716  if (_v) {
183717  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CStdPointT_float_t, 0);
183718  _v = SWIG_CheckState(res);
183719  if (_v) {
183720  {
183721  int res = SWIG_AsVal_bool(argv[2], NULL);
183722  _v = SWIG_CheckState(res);
183723  }
183724  if (_v) {
183725  return _wrap_Plane_Size__SWIG_1(self, args);
183726  }
183727  }
183728  }
183729  }
183730  if (argc == 3) {
183731  int _v;
183732  void *vptr = 0;
183733  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0);
183734  _v = SWIG_CheckState(res);
183735  if (_v) {
183736  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
183737  _v = SWIG_CheckState(res);
183738  if (_v) {
183739  {
183740  int res = SWIG_AsVal_bool(argv[2], NULL);
183741  _v = SWIG_CheckState(res);
183742  }
183743  if (_v) {
183744  return _wrap_Plane_Size__SWIG_3(self, args);
183745  }
183746  }
183747  }
183748  }
183749 
183750 fail:
183751  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Plane_Size'.\n"
183752  " Possible C/C++ prototypes are:\n"
183753  " AnimatSim::Environment::Bodies::Plane::Size()\n"
183754  " AnimatSim::Environment::Bodies::Plane::Size(CStdPoint< float >,bool)\n"
183755  " AnimatSim::Environment::Bodies::Plane::Size(CStdPoint< float >)\n"
183756  " AnimatSim::Environment::Bodies::Plane::Size(std::string,bool)\n"
183757  " AnimatSim::Environment::Bodies::Plane::Size(std::string)\n");
183758  return 0;
183759 }
183760 
183761 
183762 SWIGINTERN PyObject *_wrap_Plane_WidthSegments__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183763  PyObject *resultobj = 0;
183765  void *argp1 = 0 ;
183766  int res1 = 0 ;
183767  PyObject * obj0 = 0 ;
183768  int result;
183769 
183770  if (!PyArg_ParseTuple(args,(char *)"O:Plane_WidthSegments",&obj0)) SWIG_fail;
183771  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
183772  if (!SWIG_IsOK(res1)) {
183773  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_WidthSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
183774  }
183775  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
183776  {
183777  try {
183778  result = (int)(arg1)->WidthSegments();
183779  }
183780  catch(CStdErrorInfo oError)
183781  {
183782  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183783  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183784  PyErr_SetString(PyExc_IndexError, strError.c_str());
183785  SWIG_fail;
183786  }
183787  catch(...)
183788  {
183789  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183790  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183791  SWIG_fail;
183792  }
183793  }
183794  resultobj = SWIG_From_int(static_cast< int >(result));
183795  return resultobj;
183796 fail:
183797  return NULL;
183798 }
183799 
183800 
183801 SWIGINTERN PyObject *_wrap_Plane_WidthSegments__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183802  PyObject *resultobj = 0;
183804  int arg2 ;
183805  void *argp1 = 0 ;
183806  int res1 = 0 ;
183807  int val2 ;
183808  int ecode2 = 0 ;
183809  PyObject * obj0 = 0 ;
183810  PyObject * obj1 = 0 ;
183811 
183812  if (!PyArg_ParseTuple(args,(char *)"OO:Plane_WidthSegments",&obj0,&obj1)) SWIG_fail;
183813  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
183814  if (!SWIG_IsOK(res1)) {
183815  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_WidthSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
183816  }
183817  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
183818  ecode2 = SWIG_AsVal_int(obj1, &val2);
183819  if (!SWIG_IsOK(ecode2)) {
183820  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Plane_WidthSegments" "', argument " "2"" of type '" "int""'");
183821  }
183822  arg2 = static_cast< int >(val2);
183823  {
183824  try {
183825  (arg1)->WidthSegments(arg2);
183826  }
183827  catch(CStdErrorInfo oError)
183828  {
183829  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183830  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183831  PyErr_SetString(PyExc_IndexError, strError.c_str());
183832  SWIG_fail;
183833  }
183834  catch(...)
183835  {
183836  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183837  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183838  SWIG_fail;
183839  }
183840  }
183841  resultobj = SWIG_Py_Void();
183842  return resultobj;
183843 fail:
183844  return NULL;
183845 }
183846 
183847 
183848 SWIGINTERN PyObject *_wrap_Plane_WidthSegments(PyObject *self, PyObject *args) {
183849  int argc;
183850  PyObject *argv[3];
183851  int ii;
183852 
183853  if (!PyTuple_Check(args)) SWIG_fail;
183854  argc = args ? (int)PyObject_Length(args) : 0;
183855  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
183856  argv[ii] = PyTuple_GET_ITEM(args,ii);
183857  }
183858  if (argc == 1) {
183859  int _v;
183860  void *vptr = 0;
183861  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0);
183862  _v = SWIG_CheckState(res);
183863  if (_v) {
183864  return _wrap_Plane_WidthSegments__SWIG_0(self, args);
183865  }
183866  }
183867  if (argc == 2) {
183868  int _v;
183869  void *vptr = 0;
183870  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0);
183871  _v = SWIG_CheckState(res);
183872  if (_v) {
183873  {
183874  int res = SWIG_AsVal_int(argv[1], NULL);
183875  _v = SWIG_CheckState(res);
183876  }
183877  if (_v) {
183878  return _wrap_Plane_WidthSegments__SWIG_1(self, args);
183879  }
183880  }
183881  }
183882 
183883 fail:
183884  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Plane_WidthSegments'.\n"
183885  " Possible C/C++ prototypes are:\n"
183886  " AnimatSim::Environment::Bodies::Plane::WidthSegments()\n"
183887  " AnimatSim::Environment::Bodies::Plane::WidthSegments(int)\n");
183888  return 0;
183889 }
183890 
183891 
183892 SWIGINTERN PyObject *_wrap_Plane_LengthSegments__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183893  PyObject *resultobj = 0;
183895  void *argp1 = 0 ;
183896  int res1 = 0 ;
183897  PyObject * obj0 = 0 ;
183898  int result;
183899 
183900  if (!PyArg_ParseTuple(args,(char *)"O:Plane_LengthSegments",&obj0)) SWIG_fail;
183901  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
183902  if (!SWIG_IsOK(res1)) {
183903  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_LengthSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
183904  }
183905  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
183906  {
183907  try {
183908  result = (int)(arg1)->LengthSegments();
183909  }
183910  catch(CStdErrorInfo oError)
183911  {
183912  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183913  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183914  PyErr_SetString(PyExc_IndexError, strError.c_str());
183915  SWIG_fail;
183916  }
183917  catch(...)
183918  {
183919  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183920  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183921  SWIG_fail;
183922  }
183923  }
183924  resultobj = SWIG_From_int(static_cast< int >(result));
183925  return resultobj;
183926 fail:
183927  return NULL;
183928 }
183929 
183930 
183931 SWIGINTERN PyObject *_wrap_Plane_LengthSegments__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
183932  PyObject *resultobj = 0;
183934  int arg2 ;
183935  void *argp1 = 0 ;
183936  int res1 = 0 ;
183937  int val2 ;
183938  int ecode2 = 0 ;
183939  PyObject * obj0 = 0 ;
183940  PyObject * obj1 = 0 ;
183941 
183942  if (!PyArg_ParseTuple(args,(char *)"OO:Plane_LengthSegments",&obj0,&obj1)) SWIG_fail;
183943  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
183944  if (!SWIG_IsOK(res1)) {
183945  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_LengthSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
183946  }
183947  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
183948  ecode2 = SWIG_AsVal_int(obj1, &val2);
183949  if (!SWIG_IsOK(ecode2)) {
183950  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Plane_LengthSegments" "', argument " "2"" of type '" "int""'");
183951  }
183952  arg2 = static_cast< int >(val2);
183953  {
183954  try {
183955  (arg1)->LengthSegments(arg2);
183956  }
183957  catch(CStdErrorInfo oError)
183958  {
183959  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183960  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
183961  PyErr_SetString(PyExc_IndexError, strError.c_str());
183962  SWIG_fail;
183963  }
183964  catch(...)
183965  {
183966  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
183967  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
183968  SWIG_fail;
183969  }
183970  }
183971  resultobj = SWIG_Py_Void();
183972  return resultobj;
183973 fail:
183974  return NULL;
183975 }
183976 
183977 
183978 SWIGINTERN PyObject *_wrap_Plane_LengthSegments(PyObject *self, PyObject *args) {
183979  int argc;
183980  PyObject *argv[3];
183981  int ii;
183982 
183983  if (!PyTuple_Check(args)) SWIG_fail;
183984  argc = args ? (int)PyObject_Length(args) : 0;
183985  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
183986  argv[ii] = PyTuple_GET_ITEM(args,ii);
183987  }
183988  if (argc == 1) {
183989  int _v;
183990  void *vptr = 0;
183991  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0);
183992  _v = SWIG_CheckState(res);
183993  if (_v) {
183994  return _wrap_Plane_LengthSegments__SWIG_0(self, args);
183995  }
183996  }
183997  if (argc == 2) {
183998  int _v;
183999  void *vptr = 0;
184000  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0);
184001  _v = SWIG_CheckState(res);
184002  if (_v) {
184003  {
184004  int res = SWIG_AsVal_int(argv[1], NULL);
184005  _v = SWIG_CheckState(res);
184006  }
184007  if (_v) {
184008  return _wrap_Plane_LengthSegments__SWIG_1(self, args);
184009  }
184010  }
184011  }
184012 
184013 fail:
184014  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Plane_LengthSegments'.\n"
184015  " Possible C/C++ prototypes are:\n"
184016  " AnimatSim::Environment::Bodies::Plane::LengthSegments()\n"
184017  " AnimatSim::Environment::Bodies::Plane::LengthSegments(int)\n");
184018  return 0;
184019 }
184020 
184021 
184022 SWIGINTERN PyObject *_wrap_Plane_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184023  PyObject *resultobj = 0;
184025  std::string *arg2 = 0 ;
184026  std::string *arg3 = 0 ;
184027  bool arg4 ;
184028  void *argp1 = 0 ;
184029  int res1 = 0 ;
184030  int res2 = SWIG_OLDOBJ ;
184031  int res3 = SWIG_OLDOBJ ;
184032  bool val4 ;
184033  int ecode4 = 0 ;
184034  PyObject * obj0 = 0 ;
184035  PyObject * obj1 = 0 ;
184036  PyObject * obj2 = 0 ;
184037  PyObject * obj3 = 0 ;
184038  bool result;
184039 
184040  if (!PyArg_ParseTuple(args,(char *)"OOOO:Plane_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
184041  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
184042  if (!SWIG_IsOK(res1)) {
184043  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
184044  }
184045  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
184046  {
184047  std::string *ptr = (std::string *)0;
184048  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
184049  if (!SWIG_IsOK(res2)) {
184050  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plane_SetData" "', argument " "2"" of type '" "std::string const &""'");
184051  }
184052  if (!ptr) {
184053  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plane_SetData" "', argument " "2"" of type '" "std::string const &""'");
184054  }
184055  arg2 = ptr;
184056  }
184057  {
184058  std::string *ptr = (std::string *)0;
184059  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
184060  if (!SWIG_IsOK(res3)) {
184061  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Plane_SetData" "', argument " "3"" of type '" "std::string const &""'");
184062  }
184063  if (!ptr) {
184064  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plane_SetData" "', argument " "3"" of type '" "std::string const &""'");
184065  }
184066  arg3 = ptr;
184067  }
184068  ecode4 = SWIG_AsVal_bool(obj3, &val4);
184069  if (!SWIG_IsOK(ecode4)) {
184070  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Plane_SetData" "', argument " "4"" of type '" "bool""'");
184071  }
184072  arg4 = static_cast< bool >(val4);
184073  {
184074  try {
184075  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
184076  }
184077  catch(CStdErrorInfo oError)
184078  {
184079  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184080  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184081  PyErr_SetString(PyExc_IndexError, strError.c_str());
184082  SWIG_fail;
184083  }
184084  catch(...)
184085  {
184086  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184087  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184088  SWIG_fail;
184089  }
184090  }
184091  resultobj = SWIG_From_bool(static_cast< bool >(result));
184092  if (SWIG_IsNewObj(res2)) delete arg2;
184093  if (SWIG_IsNewObj(res3)) delete arg3;
184094  return resultobj;
184095 fail:
184096  if (SWIG_IsNewObj(res2)) delete arg2;
184097  if (SWIG_IsNewObj(res3)) delete arg3;
184098  return NULL;
184099 }
184100 
184101 
184102 SWIGINTERN PyObject *_wrap_Plane_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184103  PyObject *resultobj = 0;
184105  std::string *arg2 = 0 ;
184106  std::string *arg3 = 0 ;
184107  void *argp1 = 0 ;
184108  int res1 = 0 ;
184109  int res2 = SWIG_OLDOBJ ;
184110  int res3 = SWIG_OLDOBJ ;
184111  PyObject * obj0 = 0 ;
184112  PyObject * obj1 = 0 ;
184113  PyObject * obj2 = 0 ;
184114  bool result;
184115 
184116  if (!PyArg_ParseTuple(args,(char *)"OOO:Plane_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
184117  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
184118  if (!SWIG_IsOK(res1)) {
184119  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
184120  }
184121  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
184122  {
184123  std::string *ptr = (std::string *)0;
184124  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
184125  if (!SWIG_IsOK(res2)) {
184126  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plane_SetData" "', argument " "2"" of type '" "std::string const &""'");
184127  }
184128  if (!ptr) {
184129  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plane_SetData" "', argument " "2"" of type '" "std::string const &""'");
184130  }
184131  arg2 = ptr;
184132  }
184133  {
184134  std::string *ptr = (std::string *)0;
184135  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
184136  if (!SWIG_IsOK(res3)) {
184137  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Plane_SetData" "', argument " "3"" of type '" "std::string const &""'");
184138  }
184139  if (!ptr) {
184140  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plane_SetData" "', argument " "3"" of type '" "std::string const &""'");
184141  }
184142  arg3 = ptr;
184143  }
184144  {
184145  try {
184146  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
184147  }
184148  catch(CStdErrorInfo oError)
184149  {
184150  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184151  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184152  PyErr_SetString(PyExc_IndexError, strError.c_str());
184153  SWIG_fail;
184154  }
184155  catch(...)
184156  {
184157  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184158  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184159  SWIG_fail;
184160  }
184161  }
184162  resultobj = SWIG_From_bool(static_cast< bool >(result));
184163  if (SWIG_IsNewObj(res2)) delete arg2;
184164  if (SWIG_IsNewObj(res3)) delete arg3;
184165  return resultobj;
184166 fail:
184167  if (SWIG_IsNewObj(res2)) delete arg2;
184168  if (SWIG_IsNewObj(res3)) delete arg3;
184169  return NULL;
184170 }
184171 
184172 
184173 SWIGINTERN PyObject *_wrap_Plane_SetData(PyObject *self, PyObject *args) {
184174  int argc;
184175  PyObject *argv[5];
184176  int ii;
184177 
184178  if (!PyTuple_Check(args)) SWIG_fail;
184179  argc = args ? (int)PyObject_Length(args) : 0;
184180  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
184181  argv[ii] = PyTuple_GET_ITEM(args,ii);
184182  }
184183  if (argc == 3) {
184184  int _v;
184185  void *vptr = 0;
184186  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0);
184187  _v = SWIG_CheckState(res);
184188  if (_v) {
184189  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
184190  _v = SWIG_CheckState(res);
184191  if (_v) {
184192  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
184193  _v = SWIG_CheckState(res);
184194  if (_v) {
184195  return _wrap_Plane_SetData__SWIG_1(self, args);
184196  }
184197  }
184198  }
184199  }
184200  if (argc == 4) {
184201  int _v;
184202  void *vptr = 0;
184203  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0);
184204  _v = SWIG_CheckState(res);
184205  if (_v) {
184206  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
184207  _v = SWIG_CheckState(res);
184208  if (_v) {
184209  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
184210  _v = SWIG_CheckState(res);
184211  if (_v) {
184212  {
184213  int res = SWIG_AsVal_bool(argv[3], NULL);
184214  _v = SWIG_CheckState(res);
184215  }
184216  if (_v) {
184217  return _wrap_Plane_SetData__SWIG_0(self, args);
184218  }
184219  }
184220  }
184221  }
184222  }
184223 
184224 fail:
184225  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Plane_SetData'.\n"
184226  " Possible C/C++ prototypes are:\n"
184227  " AnimatSim::Environment::Bodies::Plane::SetData(std::string const &,std::string const &,bool)\n"
184228  " AnimatSim::Environment::Bodies::Plane::SetData(std::string const &,std::string const &)\n");
184229  return 0;
184230 }
184231 
184232 
184233 SWIGINTERN PyObject *_wrap_Plane_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184234  PyObject *resultobj = 0;
184236  CStdPtrArray< TypeProperty > *arg2 = 0 ;
184237  void *argp1 = 0 ;
184238  int res1 = 0 ;
184239  void *argp2 = 0 ;
184240  int res2 = 0 ;
184241  PyObject * obj0 = 0 ;
184242  PyObject * obj1 = 0 ;
184243 
184244  if (!PyArg_ParseTuple(args,(char *)"OO:Plane_QueryProperties",&obj0,&obj1)) SWIG_fail;
184245  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
184246  if (!SWIG_IsOK(res1)) {
184247  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
184248  }
184249  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
184250  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
184251  if (!SWIG_IsOK(res2)) {
184252  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plane_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
184253  }
184254  if (!argp2) {
184255  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plane_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
184256  }
184257  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
184258  {
184259  try {
184260  (arg1)->QueryProperties(*arg2);
184261  }
184262  catch(CStdErrorInfo oError)
184263  {
184264  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184265  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184266  PyErr_SetString(PyExc_IndexError, strError.c_str());
184267  SWIG_fail;
184268  }
184269  catch(...)
184270  {
184271  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184272  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184273  SWIG_fail;
184274  }
184275  }
184276  resultobj = SWIG_Py_Void();
184277  return resultobj;
184278 fail:
184279  return NULL;
184280 }
184281 
184282 
184283 SWIGINTERN PyObject *_wrap_Plane_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184284  PyObject *resultobj = 0;
184286  CStdXml *arg2 = 0 ;
184287  void *argp1 = 0 ;
184288  int res1 = 0 ;
184289  void *argp2 = 0 ;
184290  int res2 = 0 ;
184291  PyObject * obj0 = 0 ;
184292  PyObject * obj1 = 0 ;
184293 
184294  if (!PyArg_ParseTuple(args,(char *)"OO:Plane_Load",&obj0,&obj1)) SWIG_fail;
184295  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, 0 | 0 );
184296  if (!SWIG_IsOK(res1)) {
184297  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plane_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Plane *""'");
184298  }
184299  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Plane * >(argp1);
184300  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
184301  if (!SWIG_IsOK(res2)) {
184302  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plane_Load" "', argument " "2"" of type '" "CStdXml &""'");
184303  }
184304  if (!argp2) {
184305  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plane_Load" "', argument " "2"" of type '" "CStdXml &""'");
184306  }
184307  arg2 = reinterpret_cast< CStdXml * >(argp2);
184308  {
184309  try {
184310  (arg1)->Load(*arg2);
184311  }
184312  catch(CStdErrorInfo oError)
184313  {
184314  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184315  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184316  PyErr_SetString(PyExc_IndexError, strError.c_str());
184317  SWIG_fail;
184318  }
184319  catch(...)
184320  {
184321  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184322  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184323  SWIG_fail;
184324  }
184325  }
184326  resultobj = SWIG_Py_Void();
184327  return resultobj;
184328 fail:
184329  return NULL;
184330 }
184331 
184332 
184333 SWIGINTERN PyObject *Plane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184334  PyObject *obj;
184335  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
184336  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane, SWIG_NewClientData(obj));
184337  return SWIG_Py_Void();
184338 }
184339 
184340 SWIGINTERN PyObject *_wrap_new_FluidPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184341  PyObject *resultobj = 0;
184343 
184344  if (!PyArg_ParseTuple(args,(char *)":new_FluidPlane")) SWIG_fail;
184345  {
184346  try {
184348  }
184349  catch(CStdErrorInfo oError)
184350  {
184351  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184352  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184353  PyErr_SetString(PyExc_IndexError, strError.c_str());
184354  SWIG_fail;
184355  }
184356  catch(...)
184357  {
184358  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184359  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184360  SWIG_fail;
184361  }
184362  }
184363  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, SWIG_POINTER_NEW | 0 );
184364  return resultobj;
184365 fail:
184366  return NULL;
184367 }
184368 
184369 
184370 SWIGINTERN PyObject *_wrap_delete_FluidPlane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184371  PyObject *resultobj = 0;
184373  void *argp1 = 0 ;
184374  int res1 = 0 ;
184375  PyObject * obj0 = 0 ;
184376 
184377  if (!PyArg_ParseTuple(args,(char *)"O:delete_FluidPlane",&obj0)) SWIG_fail;
184378  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, SWIG_POINTER_DISOWN | 0 );
184379  if (!SWIG_IsOK(res1)) {
184380  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FluidPlane" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
184381  }
184382  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
184383  {
184384  try {
184385  delete arg1;
184386  }
184387  catch(CStdErrorInfo oError)
184388  {
184389  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184390  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184391  PyErr_SetString(PyExc_IndexError, strError.c_str());
184392  SWIG_fail;
184393  }
184394  catch(...)
184395  {
184396  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184397  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184398  SWIG_fail;
184399  }
184400  }
184401  resultobj = SWIG_Py_Void();
184402  return resultobj;
184403 fail:
184404  return NULL;
184405 }
184406 
184407 
184408 SWIGINTERN PyObject *_wrap_FluidPlane_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184409  PyObject *resultobj = 0;
184411  void *argp1 = 0 ;
184412  int res1 = 0 ;
184413  PyObject * obj0 = 0 ;
184415 
184416  if (!PyArg_ParseTuple(args,(char *)"O:FluidPlane_CastToDerived",&obj0)) SWIG_fail;
184417  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
184418  if (!SWIG_IsOK(res1)) {
184419  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
184420  }
184421  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
184422  {
184423  try {
184424  result = (AnimatSim::Environment::Bodies::FluidPlane *)AnimatSim::Environment::Bodies::FluidPlane::CastToDerived(arg1);
184425  }
184426  catch(CStdErrorInfo oError)
184427  {
184428  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184429  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184430  PyErr_SetString(PyExc_IndexError, strError.c_str());
184431  SWIG_fail;
184432  }
184433  catch(...)
184434  {
184435  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184436  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184437  SWIG_fail;
184438  }
184439  }
184440  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
184441  return resultobj;
184442 fail:
184443  return NULL;
184444 }
184445 
184446 
184447 SWIGINTERN PyObject *_wrap_FluidPlane_AllowRotateDragX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184448  PyObject *resultobj = 0;
184450  void *argp1 = 0 ;
184451  int res1 = 0 ;
184452  PyObject * obj0 = 0 ;
184453  bool result;
184454 
184455  if (!PyArg_ParseTuple(args,(char *)"O:FluidPlane_AllowRotateDragX",&obj0)) SWIG_fail;
184456  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
184457  if (!SWIG_IsOK(res1)) {
184458  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_AllowRotateDragX" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
184459  }
184460  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
184461  {
184462  try {
184463  result = (bool)(arg1)->AllowRotateDragX();
184464  }
184465  catch(CStdErrorInfo oError)
184466  {
184467  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184468  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184469  PyErr_SetString(PyExc_IndexError, strError.c_str());
184470  SWIG_fail;
184471  }
184472  catch(...)
184473  {
184474  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184475  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184476  SWIG_fail;
184477  }
184478  }
184479  resultobj = SWIG_From_bool(static_cast< bool >(result));
184480  return resultobj;
184481 fail:
184482  return NULL;
184483 }
184484 
184485 
184486 SWIGINTERN PyObject *_wrap_FluidPlane_AllowRotateDragY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184487  PyObject *resultobj = 0;
184489  void *argp1 = 0 ;
184490  int res1 = 0 ;
184491  PyObject * obj0 = 0 ;
184492  bool result;
184493 
184494  if (!PyArg_ParseTuple(args,(char *)"O:FluidPlane_AllowRotateDragY",&obj0)) SWIG_fail;
184495  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
184496  if (!SWIG_IsOK(res1)) {
184497  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_AllowRotateDragY" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
184498  }
184499  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
184500  {
184501  try {
184502  result = (bool)(arg1)->AllowRotateDragY();
184503  }
184504  catch(CStdErrorInfo oError)
184505  {
184506  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184507  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184508  PyErr_SetString(PyExc_IndexError, strError.c_str());
184509  SWIG_fail;
184510  }
184511  catch(...)
184512  {
184513  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184514  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184515  SWIG_fail;
184516  }
184517  }
184518  resultobj = SWIG_From_bool(static_cast< bool >(result));
184519  return resultobj;
184520 fail:
184521  return NULL;
184522 }
184523 
184524 
184525 SWIGINTERN PyObject *_wrap_FluidPlane_AllowRotateDragZ(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184526  PyObject *resultobj = 0;
184528  void *argp1 = 0 ;
184529  int res1 = 0 ;
184530  PyObject * obj0 = 0 ;
184531  bool result;
184532 
184533  if (!PyArg_ParseTuple(args,(char *)"O:FluidPlane_AllowRotateDragZ",&obj0)) SWIG_fail;
184534  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
184535  if (!SWIG_IsOK(res1)) {
184536  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_AllowRotateDragZ" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
184537  }
184538  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
184539  {
184540  try {
184541  result = (bool)(arg1)->AllowRotateDragZ();
184542  }
184543  catch(CStdErrorInfo oError)
184544  {
184545  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184546  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184547  PyErr_SetString(PyExc_IndexError, strError.c_str());
184548  SWIG_fail;
184549  }
184550  catch(...)
184551  {
184552  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184553  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184554  SWIG_fail;
184555  }
184556  }
184557  resultobj = SWIG_From_bool(static_cast< bool >(result));
184558  return resultobj;
184559 fail:
184560  return NULL;
184561 }
184562 
184563 
184564 SWIGINTERN PyObject *_wrap_FluidPlane_Height(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184565  PyObject *resultobj = 0;
184567  void *argp1 = 0 ;
184568  int res1 = 0 ;
184569  PyObject * obj0 = 0 ;
184570  float result;
184571 
184572  if (!PyArg_ParseTuple(args,(char *)"O:FluidPlane_Height",&obj0)) SWIG_fail;
184573  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
184574  if (!SWIG_IsOK(res1)) {
184575  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_Height" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
184576  }
184577  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
184578  {
184579  try {
184580  result = (float)(arg1)->Height();
184581  }
184582  catch(CStdErrorInfo oError)
184583  {
184584  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184585  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184586  PyErr_SetString(PyExc_IndexError, strError.c_str());
184587  SWIG_fail;
184588  }
184589  catch(...)
184590  {
184591  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184592  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184593  SWIG_fail;
184594  }
184595  }
184596  resultobj = SWIG_From_float(static_cast< float >(result));
184597  return resultobj;
184598 fail:
184599  return NULL;
184600 }
184601 
184602 
184603 SWIGINTERN PyObject *_wrap_FluidPlane_Velocity__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184604  PyObject *resultobj = 0;
184606  void *argp1 = 0 ;
184607  int res1 = 0 ;
184608  PyObject * obj0 = 0 ;
184609  CStdPoint< float > result;
184610 
184611  if (!PyArg_ParseTuple(args,(char *)"O:FluidPlane_Velocity",&obj0)) SWIG_fail;
184612  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
184613  if (!SWIG_IsOK(res1)) {
184614  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_Velocity" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
184615  }
184616  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
184617  {
184618  try {
184619  result = (arg1)->Velocity();
184620  }
184621  catch(CStdErrorInfo oError)
184622  {
184623  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184624  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184625  PyErr_SetString(PyExc_IndexError, strError.c_str());
184626  SWIG_fail;
184627  }
184628  catch(...)
184629  {
184630  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184631  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184632  SWIG_fail;
184633  }
184634  }
184635  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
184636  return resultobj;
184637 fail:
184638  return NULL;
184639 }
184640 
184641 
184642 SWIGINTERN PyObject *_wrap_FluidPlane_Velocity__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184643  PyObject *resultobj = 0;
184645  CStdPoint< float > *arg2 = 0 ;
184646  bool arg3 ;
184647  void *argp1 = 0 ;
184648  int res1 = 0 ;
184649  void *argp2 = 0 ;
184650  int res2 = 0 ;
184651  bool val3 ;
184652  int ecode3 = 0 ;
184653  PyObject * obj0 = 0 ;
184654  PyObject * obj1 = 0 ;
184655  PyObject * obj2 = 0 ;
184656 
184657  if (!PyArg_ParseTuple(args,(char *)"OOO:FluidPlane_Velocity",&obj0,&obj1,&obj2)) SWIG_fail;
184658  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
184659  if (!SWIG_IsOK(res1)) {
184660  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_Velocity" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
184661  }
184662  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
184663  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
184664  if (!SWIG_IsOK(res2)) {
184665  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FluidPlane_Velocity" "', argument " "2"" of type '" "CStdPoint< float > &""'");
184666  }
184667  if (!argp2) {
184668  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FluidPlane_Velocity" "', argument " "2"" of type '" "CStdPoint< float > &""'");
184669  }
184670  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
184671  ecode3 = SWIG_AsVal_bool(obj2, &val3);
184672  if (!SWIG_IsOK(ecode3)) {
184673  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FluidPlane_Velocity" "', argument " "3"" of type '" "bool""'");
184674  }
184675  arg3 = static_cast< bool >(val3);
184676  {
184677  try {
184678  (arg1)->Velocity(*arg2,arg3);
184679  }
184680  catch(CStdErrorInfo oError)
184681  {
184682  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184683  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184684  PyErr_SetString(PyExc_IndexError, strError.c_str());
184685  SWIG_fail;
184686  }
184687  catch(...)
184688  {
184689  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184690  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184691  SWIG_fail;
184692  }
184693  }
184694  resultobj = SWIG_Py_Void();
184695  return resultobj;
184696 fail:
184697  return NULL;
184698 }
184699 
184700 
184701 SWIGINTERN PyObject *_wrap_FluidPlane_Velocity__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184702  PyObject *resultobj = 0;
184704  CStdPoint< float > *arg2 = 0 ;
184705  void *argp1 = 0 ;
184706  int res1 = 0 ;
184707  void *argp2 = 0 ;
184708  int res2 = 0 ;
184709  PyObject * obj0 = 0 ;
184710  PyObject * obj1 = 0 ;
184711 
184712  if (!PyArg_ParseTuple(args,(char *)"OO:FluidPlane_Velocity",&obj0,&obj1)) SWIG_fail;
184713  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
184714  if (!SWIG_IsOK(res1)) {
184715  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_Velocity" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
184716  }
184717  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
184718  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
184719  if (!SWIG_IsOK(res2)) {
184720  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FluidPlane_Velocity" "', argument " "2"" of type '" "CStdPoint< float > &""'");
184721  }
184722  if (!argp2) {
184723  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FluidPlane_Velocity" "', argument " "2"" of type '" "CStdPoint< float > &""'");
184724  }
184725  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
184726  {
184727  try {
184728  (arg1)->Velocity(*arg2);
184729  }
184730  catch(CStdErrorInfo oError)
184731  {
184732  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184733  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184734  PyErr_SetString(PyExc_IndexError, strError.c_str());
184735  SWIG_fail;
184736  }
184737  catch(...)
184738  {
184739  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184740  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184741  SWIG_fail;
184742  }
184743  }
184744  resultobj = SWIG_Py_Void();
184745  return resultobj;
184746 fail:
184747  return NULL;
184748 }
184749 
184750 
184751 SWIGINTERN PyObject *_wrap_FluidPlane_Velocity__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184752  PyObject *resultobj = 0;
184754  float arg2 ;
184755  float arg3 ;
184756  float arg4 ;
184757  bool arg5 ;
184758  void *argp1 = 0 ;
184759  int res1 = 0 ;
184760  float val2 ;
184761  int ecode2 = 0 ;
184762  float val3 ;
184763  int ecode3 = 0 ;
184764  float val4 ;
184765  int ecode4 = 0 ;
184766  bool val5 ;
184767  int ecode5 = 0 ;
184768  PyObject * obj0 = 0 ;
184769  PyObject * obj1 = 0 ;
184770  PyObject * obj2 = 0 ;
184771  PyObject * obj3 = 0 ;
184772  PyObject * obj4 = 0 ;
184773 
184774  if (!PyArg_ParseTuple(args,(char *)"OOOOO:FluidPlane_Velocity",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
184775  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
184776  if (!SWIG_IsOK(res1)) {
184777  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_Velocity" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
184778  }
184779  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
184780  ecode2 = SWIG_AsVal_float(obj1, &val2);
184781  if (!SWIG_IsOK(ecode2)) {
184782  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FluidPlane_Velocity" "', argument " "2"" of type '" "float""'");
184783  }
184784  arg2 = static_cast< float >(val2);
184785  ecode3 = SWIG_AsVal_float(obj2, &val3);
184786  if (!SWIG_IsOK(ecode3)) {
184787  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FluidPlane_Velocity" "', argument " "3"" of type '" "float""'");
184788  }
184789  arg3 = static_cast< float >(val3);
184790  ecode4 = SWIG_AsVal_float(obj3, &val4);
184791  if (!SWIG_IsOK(ecode4)) {
184792  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FluidPlane_Velocity" "', argument " "4"" of type '" "float""'");
184793  }
184794  arg4 = static_cast< float >(val4);
184795  ecode5 = SWIG_AsVal_bool(obj4, &val5);
184796  if (!SWIG_IsOK(ecode5)) {
184797  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FluidPlane_Velocity" "', argument " "5"" of type '" "bool""'");
184798  }
184799  arg5 = static_cast< bool >(val5);
184800  {
184801  try {
184802  (arg1)->Velocity(arg2,arg3,arg4,arg5);
184803  }
184804  catch(CStdErrorInfo oError)
184805  {
184806  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184807  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184808  PyErr_SetString(PyExc_IndexError, strError.c_str());
184809  SWIG_fail;
184810  }
184811  catch(...)
184812  {
184813  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184814  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184815  SWIG_fail;
184816  }
184817  }
184818  resultobj = SWIG_Py_Void();
184819  return resultobj;
184820 fail:
184821  return NULL;
184822 }
184823 
184824 
184825 SWIGINTERN PyObject *_wrap_FluidPlane_Velocity__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184826  PyObject *resultobj = 0;
184828  float arg2 ;
184829  float arg3 ;
184830  float arg4 ;
184831  void *argp1 = 0 ;
184832  int res1 = 0 ;
184833  float val2 ;
184834  int ecode2 = 0 ;
184835  float val3 ;
184836  int ecode3 = 0 ;
184837  float val4 ;
184838  int ecode4 = 0 ;
184839  PyObject * obj0 = 0 ;
184840  PyObject * obj1 = 0 ;
184841  PyObject * obj2 = 0 ;
184842  PyObject * obj3 = 0 ;
184843 
184844  if (!PyArg_ParseTuple(args,(char *)"OOOO:FluidPlane_Velocity",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
184845  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
184846  if (!SWIG_IsOK(res1)) {
184847  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_Velocity" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
184848  }
184849  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
184850  ecode2 = SWIG_AsVal_float(obj1, &val2);
184851  if (!SWIG_IsOK(ecode2)) {
184852  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FluidPlane_Velocity" "', argument " "2"" of type '" "float""'");
184853  }
184854  arg2 = static_cast< float >(val2);
184855  ecode3 = SWIG_AsVal_float(obj2, &val3);
184856  if (!SWIG_IsOK(ecode3)) {
184857  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FluidPlane_Velocity" "', argument " "3"" of type '" "float""'");
184858  }
184859  arg3 = static_cast< float >(val3);
184860  ecode4 = SWIG_AsVal_float(obj3, &val4);
184861  if (!SWIG_IsOK(ecode4)) {
184862  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FluidPlane_Velocity" "', argument " "4"" of type '" "float""'");
184863  }
184864  arg4 = static_cast< float >(val4);
184865  {
184866  try {
184867  (arg1)->Velocity(arg2,arg3,arg4);
184868  }
184869  catch(CStdErrorInfo oError)
184870  {
184871  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184872  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184873  PyErr_SetString(PyExc_IndexError, strError.c_str());
184874  SWIG_fail;
184875  }
184876  catch(...)
184877  {
184878  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184879  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184880  SWIG_fail;
184881  }
184882  }
184883  resultobj = SWIG_Py_Void();
184884  return resultobj;
184885 fail:
184886  return NULL;
184887 }
184888 
184889 
184890 SWIGINTERN PyObject *_wrap_FluidPlane_Velocity__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184891  PyObject *resultobj = 0;
184893  std::string arg2 ;
184894  bool arg3 ;
184895  void *argp1 = 0 ;
184896  int res1 = 0 ;
184897  bool val3 ;
184898  int ecode3 = 0 ;
184899  PyObject * obj0 = 0 ;
184900  PyObject * obj1 = 0 ;
184901  PyObject * obj2 = 0 ;
184902 
184903  if (!PyArg_ParseTuple(args,(char *)"OOO:FluidPlane_Velocity",&obj0,&obj1,&obj2)) SWIG_fail;
184904  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
184905  if (!SWIG_IsOK(res1)) {
184906  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_Velocity" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
184907  }
184908  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
184909  {
184910  std::string *ptr = (std::string *)0;
184911  int res = SWIG_AsPtr_std_string(obj1, &ptr);
184912  if (!SWIG_IsOK(res) || !ptr) {
184913  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "FluidPlane_Velocity" "', argument " "2"" of type '" "std::string""'");
184914  }
184915  arg2 = *ptr;
184916  if (SWIG_IsNewObj(res)) delete ptr;
184917  }
184918  ecode3 = SWIG_AsVal_bool(obj2, &val3);
184919  if (!SWIG_IsOK(ecode3)) {
184920  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FluidPlane_Velocity" "', argument " "3"" of type '" "bool""'");
184921  }
184922  arg3 = static_cast< bool >(val3);
184923  {
184924  try {
184925  (arg1)->Velocity(arg2,arg3);
184926  }
184927  catch(CStdErrorInfo oError)
184928  {
184929  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184930  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184931  PyErr_SetString(PyExc_IndexError, strError.c_str());
184932  SWIG_fail;
184933  }
184934  catch(...)
184935  {
184936  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184937  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184938  SWIG_fail;
184939  }
184940  }
184941  resultobj = SWIG_Py_Void();
184942  return resultobj;
184943 fail:
184944  return NULL;
184945 }
184946 
184947 
184948 SWIGINTERN PyObject *_wrap_FluidPlane_Velocity__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
184949  PyObject *resultobj = 0;
184951  std::string arg2 ;
184952  void *argp1 = 0 ;
184953  int res1 = 0 ;
184954  PyObject * obj0 = 0 ;
184955  PyObject * obj1 = 0 ;
184956 
184957  if (!PyArg_ParseTuple(args,(char *)"OO:FluidPlane_Velocity",&obj0,&obj1)) SWIG_fail;
184958  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
184959  if (!SWIG_IsOK(res1)) {
184960  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_Velocity" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
184961  }
184962  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
184963  {
184964  std::string *ptr = (std::string *)0;
184965  int res = SWIG_AsPtr_std_string(obj1, &ptr);
184966  if (!SWIG_IsOK(res) || !ptr) {
184967  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "FluidPlane_Velocity" "', argument " "2"" of type '" "std::string""'");
184968  }
184969  arg2 = *ptr;
184970  if (SWIG_IsNewObj(res)) delete ptr;
184971  }
184972  {
184973  try {
184974  (arg1)->Velocity(arg2);
184975  }
184976  catch(CStdErrorInfo oError)
184977  {
184978  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184979  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
184980  PyErr_SetString(PyExc_IndexError, strError.c_str());
184981  SWIG_fail;
184982  }
184983  catch(...)
184984  {
184985  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
184986  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
184987  SWIG_fail;
184988  }
184989  }
184990  resultobj = SWIG_Py_Void();
184991  return resultobj;
184992 fail:
184993  return NULL;
184994 }
184995 
184996 
184997 SWIGINTERN PyObject *_wrap_FluidPlane_Velocity(PyObject *self, PyObject *args) {
184998  int argc;
184999  PyObject *argv[6];
185000  int ii;
185001 
185002  if (!PyTuple_Check(args)) SWIG_fail;
185003  argc = args ? (int)PyObject_Length(args) : 0;
185004  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
185005  argv[ii] = PyTuple_GET_ITEM(args,ii);
185006  }
185007  if (argc == 1) {
185008  int _v;
185009  void *vptr = 0;
185010  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0);
185011  _v = SWIG_CheckState(res);
185012  if (_v) {
185013  return _wrap_FluidPlane_Velocity__SWIG_0(self, args);
185014  }
185015  }
185016  if (argc == 2) {
185017  int _v;
185018  void *vptr = 0;
185019  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0);
185020  _v = SWIG_CheckState(res);
185021  if (_v) {
185022  void *vptr = 0;
185023  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
185024  _v = SWIG_CheckState(res);
185025  if (_v) {
185026  return _wrap_FluidPlane_Velocity__SWIG_2(self, args);
185027  }
185028  }
185029  }
185030  if (argc == 2) {
185031  int _v;
185032  void *vptr = 0;
185033  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0);
185034  _v = SWIG_CheckState(res);
185035  if (_v) {
185036  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
185037  _v = SWIG_CheckState(res);
185038  if (_v) {
185039  return _wrap_FluidPlane_Velocity__SWIG_6(self, args);
185040  }
185041  }
185042  }
185043  if (argc == 3) {
185044  int _v;
185045  void *vptr = 0;
185046  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0);
185047  _v = SWIG_CheckState(res);
185048  if (_v) {
185049  void *vptr = 0;
185050  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
185051  _v = SWIG_CheckState(res);
185052  if (_v) {
185053  {
185054  int res = SWIG_AsVal_bool(argv[2], NULL);
185055  _v = SWIG_CheckState(res);
185056  }
185057  if (_v) {
185058  return _wrap_FluidPlane_Velocity__SWIG_1(self, args);
185059  }
185060  }
185061  }
185062  }
185063  if (argc == 3) {
185064  int _v;
185065  void *vptr = 0;
185066  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0);
185067  _v = SWIG_CheckState(res);
185068  if (_v) {
185069  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
185070  _v = SWIG_CheckState(res);
185071  if (_v) {
185072  {
185073  int res = SWIG_AsVal_bool(argv[2], NULL);
185074  _v = SWIG_CheckState(res);
185075  }
185076  if (_v) {
185077  return _wrap_FluidPlane_Velocity__SWIG_5(self, args);
185078  }
185079  }
185080  }
185081  }
185082  if (argc == 4) {
185083  int _v;
185084  void *vptr = 0;
185085  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0);
185086  _v = SWIG_CheckState(res);
185087  if (_v) {
185088  {
185089  int res = SWIG_AsVal_float(argv[1], NULL);
185090  _v = SWIG_CheckState(res);
185091  }
185092  if (_v) {
185093  {
185094  int res = SWIG_AsVal_float(argv[2], NULL);
185095  _v = SWIG_CheckState(res);
185096  }
185097  if (_v) {
185098  {
185099  int res = SWIG_AsVal_float(argv[3], NULL);
185100  _v = SWIG_CheckState(res);
185101  }
185102  if (_v) {
185103  return _wrap_FluidPlane_Velocity__SWIG_4(self, args);
185104  }
185105  }
185106  }
185107  }
185108  }
185109  if (argc == 5) {
185110  int _v;
185111  void *vptr = 0;
185112  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0);
185113  _v = SWIG_CheckState(res);
185114  if (_v) {
185115  {
185116  int res = SWIG_AsVal_float(argv[1], NULL);
185117  _v = SWIG_CheckState(res);
185118  }
185119  if (_v) {
185120  {
185121  int res = SWIG_AsVal_float(argv[2], NULL);
185122  _v = SWIG_CheckState(res);
185123  }
185124  if (_v) {
185125  {
185126  int res = SWIG_AsVal_float(argv[3], NULL);
185127  _v = SWIG_CheckState(res);
185128  }
185129  if (_v) {
185130  {
185131  int res = SWIG_AsVal_bool(argv[4], NULL);
185132  _v = SWIG_CheckState(res);
185133  }
185134  if (_v) {
185135  return _wrap_FluidPlane_Velocity__SWIG_3(self, args);
185136  }
185137  }
185138  }
185139  }
185140  }
185141  }
185142 
185143 fail:
185144  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'FluidPlane_Velocity'.\n"
185145  " Possible C/C++ prototypes are:\n"
185146  " AnimatSim::Environment::Bodies::FluidPlane::Velocity()\n"
185147  " AnimatSim::Environment::Bodies::FluidPlane::Velocity(CStdPoint< float > &,bool)\n"
185148  " AnimatSim::Environment::Bodies::FluidPlane::Velocity(CStdPoint< float > &)\n"
185149  " AnimatSim::Environment::Bodies::FluidPlane::Velocity(float,float,float,bool)\n"
185150  " AnimatSim::Environment::Bodies::FluidPlane::Velocity(float,float,float)\n"
185151  " AnimatSim::Environment::Bodies::FluidPlane::Velocity(std::string,bool)\n"
185152  " AnimatSim::Environment::Bodies::FluidPlane::Velocity(std::string)\n");
185153  return 0;
185154 }
185155 
185156 
185157 SWIGINTERN PyObject *_wrap_FluidPlane_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
185158  PyObject *resultobj = 0;
185160  std::string *arg2 = 0 ;
185161  std::string *arg3 = 0 ;
185162  bool arg4 ;
185163  void *argp1 = 0 ;
185164  int res1 = 0 ;
185165  int res2 = SWIG_OLDOBJ ;
185166  int res3 = SWIG_OLDOBJ ;
185167  bool val4 ;
185168  int ecode4 = 0 ;
185169  PyObject * obj0 = 0 ;
185170  PyObject * obj1 = 0 ;
185171  PyObject * obj2 = 0 ;
185172  PyObject * obj3 = 0 ;
185173  bool result;
185174 
185175  if (!PyArg_ParseTuple(args,(char *)"OOOO:FluidPlane_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
185176  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
185177  if (!SWIG_IsOK(res1)) {
185178  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
185179  }
185180  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
185181  {
185182  std::string *ptr = (std::string *)0;
185183  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
185184  if (!SWIG_IsOK(res2)) {
185185  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FluidPlane_SetData" "', argument " "2"" of type '" "std::string const &""'");
185186  }
185187  if (!ptr) {
185188  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FluidPlane_SetData" "', argument " "2"" of type '" "std::string const &""'");
185189  }
185190  arg2 = ptr;
185191  }
185192  {
185193  std::string *ptr = (std::string *)0;
185194  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
185195  if (!SWIG_IsOK(res3)) {
185196  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FluidPlane_SetData" "', argument " "3"" of type '" "std::string const &""'");
185197  }
185198  if (!ptr) {
185199  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FluidPlane_SetData" "', argument " "3"" of type '" "std::string const &""'");
185200  }
185201  arg3 = ptr;
185202  }
185203  ecode4 = SWIG_AsVal_bool(obj3, &val4);
185204  if (!SWIG_IsOK(ecode4)) {
185205  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FluidPlane_SetData" "', argument " "4"" of type '" "bool""'");
185206  }
185207  arg4 = static_cast< bool >(val4);
185208  {
185209  try {
185210  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
185211  }
185212  catch(CStdErrorInfo oError)
185213  {
185214  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185215  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
185216  PyErr_SetString(PyExc_IndexError, strError.c_str());
185217  SWIG_fail;
185218  }
185219  catch(...)
185220  {
185221  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185222  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
185223  SWIG_fail;
185224  }
185225  }
185226  resultobj = SWIG_From_bool(static_cast< bool >(result));
185227  if (SWIG_IsNewObj(res2)) delete arg2;
185228  if (SWIG_IsNewObj(res3)) delete arg3;
185229  return resultobj;
185230 fail:
185231  if (SWIG_IsNewObj(res2)) delete arg2;
185232  if (SWIG_IsNewObj(res3)) delete arg3;
185233  return NULL;
185234 }
185235 
185236 
185237 SWIGINTERN PyObject *_wrap_FluidPlane_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
185238  PyObject *resultobj = 0;
185240  std::string *arg2 = 0 ;
185241  std::string *arg3 = 0 ;
185242  void *argp1 = 0 ;
185243  int res1 = 0 ;
185244  int res2 = SWIG_OLDOBJ ;
185245  int res3 = SWIG_OLDOBJ ;
185246  PyObject * obj0 = 0 ;
185247  PyObject * obj1 = 0 ;
185248  PyObject * obj2 = 0 ;
185249  bool result;
185250 
185251  if (!PyArg_ParseTuple(args,(char *)"OOO:FluidPlane_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
185252  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
185253  if (!SWIG_IsOK(res1)) {
185254  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
185255  }
185256  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
185257  {
185258  std::string *ptr = (std::string *)0;
185259  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
185260  if (!SWIG_IsOK(res2)) {
185261  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FluidPlane_SetData" "', argument " "2"" of type '" "std::string const &""'");
185262  }
185263  if (!ptr) {
185264  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FluidPlane_SetData" "', argument " "2"" of type '" "std::string const &""'");
185265  }
185266  arg2 = ptr;
185267  }
185268  {
185269  std::string *ptr = (std::string *)0;
185270  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
185271  if (!SWIG_IsOK(res3)) {
185272  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FluidPlane_SetData" "', argument " "3"" of type '" "std::string const &""'");
185273  }
185274  if (!ptr) {
185275  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FluidPlane_SetData" "', argument " "3"" of type '" "std::string const &""'");
185276  }
185277  arg3 = ptr;
185278  }
185279  {
185280  try {
185281  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
185282  }
185283  catch(CStdErrorInfo oError)
185284  {
185285  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185286  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
185287  PyErr_SetString(PyExc_IndexError, strError.c_str());
185288  SWIG_fail;
185289  }
185290  catch(...)
185291  {
185292  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185293  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
185294  SWIG_fail;
185295  }
185296  }
185297  resultobj = SWIG_From_bool(static_cast< bool >(result));
185298  if (SWIG_IsNewObj(res2)) delete arg2;
185299  if (SWIG_IsNewObj(res3)) delete arg3;
185300  return resultobj;
185301 fail:
185302  if (SWIG_IsNewObj(res2)) delete arg2;
185303  if (SWIG_IsNewObj(res3)) delete arg3;
185304  return NULL;
185305 }
185306 
185307 
185308 SWIGINTERN PyObject *_wrap_FluidPlane_SetData(PyObject *self, PyObject *args) {
185309  int argc;
185310  PyObject *argv[5];
185311  int ii;
185312 
185313  if (!PyTuple_Check(args)) SWIG_fail;
185314  argc = args ? (int)PyObject_Length(args) : 0;
185315  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
185316  argv[ii] = PyTuple_GET_ITEM(args,ii);
185317  }
185318  if (argc == 3) {
185319  int _v;
185320  void *vptr = 0;
185321  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0);
185322  _v = SWIG_CheckState(res);
185323  if (_v) {
185324  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
185325  _v = SWIG_CheckState(res);
185326  if (_v) {
185327  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
185328  _v = SWIG_CheckState(res);
185329  if (_v) {
185330  return _wrap_FluidPlane_SetData__SWIG_1(self, args);
185331  }
185332  }
185333  }
185334  }
185335  if (argc == 4) {
185336  int _v;
185337  void *vptr = 0;
185338  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0);
185339  _v = SWIG_CheckState(res);
185340  if (_v) {
185341  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
185342  _v = SWIG_CheckState(res);
185343  if (_v) {
185344  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
185345  _v = SWIG_CheckState(res);
185346  if (_v) {
185347  {
185348  int res = SWIG_AsVal_bool(argv[3], NULL);
185349  _v = SWIG_CheckState(res);
185350  }
185351  if (_v) {
185352  return _wrap_FluidPlane_SetData__SWIG_0(self, args);
185353  }
185354  }
185355  }
185356  }
185357  }
185358 
185359 fail:
185360  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'FluidPlane_SetData'.\n"
185361  " Possible C/C++ prototypes are:\n"
185362  " AnimatSim::Environment::Bodies::FluidPlane::SetData(std::string const &,std::string const &,bool)\n"
185363  " AnimatSim::Environment::Bodies::FluidPlane::SetData(std::string const &,std::string const &)\n");
185364  return 0;
185365 }
185366 
185367 
185368 SWIGINTERN PyObject *_wrap_FluidPlane_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
185369  PyObject *resultobj = 0;
185371  CStdPtrArray< TypeProperty > *arg2 = 0 ;
185372  void *argp1 = 0 ;
185373  int res1 = 0 ;
185374  void *argp2 = 0 ;
185375  int res2 = 0 ;
185376  PyObject * obj0 = 0 ;
185377  PyObject * obj1 = 0 ;
185378 
185379  if (!PyArg_ParseTuple(args,(char *)"OO:FluidPlane_QueryProperties",&obj0,&obj1)) SWIG_fail;
185380  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
185381  if (!SWIG_IsOK(res1)) {
185382  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
185383  }
185384  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
185385  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
185386  if (!SWIG_IsOK(res2)) {
185387  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FluidPlane_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
185388  }
185389  if (!argp2) {
185390  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FluidPlane_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
185391  }
185392  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
185393  {
185394  try {
185395  (arg1)->QueryProperties(*arg2);
185396  }
185397  catch(CStdErrorInfo oError)
185398  {
185399  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185400  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
185401  PyErr_SetString(PyExc_IndexError, strError.c_str());
185402  SWIG_fail;
185403  }
185404  catch(...)
185405  {
185406  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185407  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
185408  SWIG_fail;
185409  }
185410  }
185411  resultobj = SWIG_Py_Void();
185412  return resultobj;
185413 fail:
185414  return NULL;
185415 }
185416 
185417 
185418 SWIGINTERN PyObject *_wrap_FluidPlane_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
185419  PyObject *resultobj = 0;
185421  CStdXml *arg2 = 0 ;
185422  void *argp1 = 0 ;
185423  int res1 = 0 ;
185424  void *argp2 = 0 ;
185425  int res2 = 0 ;
185426  PyObject * obj0 = 0 ;
185427  PyObject * obj1 = 0 ;
185428 
185429  if (!PyArg_ParseTuple(args,(char *)"OO:FluidPlane_Load",&obj0,&obj1)) SWIG_fail;
185430  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, 0 | 0 );
185431  if (!SWIG_IsOK(res1)) {
185432  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FluidPlane_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::FluidPlane *""'");
185433  }
185434  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::FluidPlane * >(argp1);
185435  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
185436  if (!SWIG_IsOK(res2)) {
185437  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FluidPlane_Load" "', argument " "2"" of type '" "CStdXml &""'");
185438  }
185439  if (!argp2) {
185440  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FluidPlane_Load" "', argument " "2"" of type '" "CStdXml &""'");
185441  }
185442  arg2 = reinterpret_cast< CStdXml * >(argp2);
185443  {
185444  try {
185445  (arg1)->Load(*arg2);
185446  }
185447  catch(CStdErrorInfo oError)
185448  {
185449  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185450  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
185451  PyErr_SetString(PyExc_IndexError, strError.c_str());
185452  SWIG_fail;
185453  }
185454  catch(...)
185455  {
185456  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185457  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
185458  SWIG_fail;
185459  }
185460  }
185461  resultobj = SWIG_Py_Void();
185462  return resultobj;
185463 fail:
185464  return NULL;
185465 }
185466 
185467 
185468 SWIGINTERN PyObject *FluidPlane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
185469  PyObject *obj;
185470  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
185471  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane, SWIG_NewClientData(obj));
185472  return SWIG_Py_Void();
185473 }
185474 
185475 SWIGINTERN PyObject *_wrap_new_Cylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
185476  PyObject *resultobj = 0;
185478 
185479  if (!PyArg_ParseTuple(args,(char *)":new_Cylinder")) SWIG_fail;
185480  {
185481  try {
185483  }
185484  catch(CStdErrorInfo oError)
185485  {
185486  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185487  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
185488  PyErr_SetString(PyExc_IndexError, strError.c_str());
185489  SWIG_fail;
185490  }
185491  catch(...)
185492  {
185493  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185494  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
185495  SWIG_fail;
185496  }
185497  }
185498  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, SWIG_POINTER_NEW | 0 );
185499  return resultobj;
185500 fail:
185501  return NULL;
185502 }
185503 
185504 
185505 SWIGINTERN PyObject *_wrap_delete_Cylinder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
185506  PyObject *resultobj = 0;
185508  void *argp1 = 0 ;
185509  int res1 = 0 ;
185510  PyObject * obj0 = 0 ;
185511 
185512  if (!PyArg_ParseTuple(args,(char *)"O:delete_Cylinder",&obj0)) SWIG_fail;
185513  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, SWIG_POINTER_DISOWN | 0 );
185514  if (!SWIG_IsOK(res1)) {
185515  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Cylinder" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cylinder *""'");
185516  }
185517  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cylinder * >(argp1);
185518  {
185519  try {
185520  delete arg1;
185521  }
185522  catch(CStdErrorInfo oError)
185523  {
185524  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185525  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
185526  PyErr_SetString(PyExc_IndexError, strError.c_str());
185527  SWIG_fail;
185528  }
185529  catch(...)
185530  {
185531  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185532  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
185533  SWIG_fail;
185534  }
185535  }
185536  resultobj = SWIG_Py_Void();
185537  return resultobj;
185538 fail:
185539  return NULL;
185540 }
185541 
185542 
185543 SWIGINTERN PyObject *_wrap_Cylinder_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
185544  PyObject *resultobj = 0;
185546  void *argp1 = 0 ;
185547  int res1 = 0 ;
185548  PyObject * obj0 = 0 ;
185550 
185551  if (!PyArg_ParseTuple(args,(char *)"O:Cylinder_CastToDerived",&obj0)) SWIG_fail;
185552  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
185553  if (!SWIG_IsOK(res1)) {
185554  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cylinder_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
185555  }
185556  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
185557  {
185558  try {
185559  result = (AnimatSim::Environment::Bodies::Cylinder *)AnimatSim::Environment::Bodies::Cylinder::CastToDerived(arg1);
185560  }
185561  catch(CStdErrorInfo oError)
185562  {
185563  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185564  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
185565  PyErr_SetString(PyExc_IndexError, strError.c_str());
185566  SWIG_fail;
185567  }
185568  catch(...)
185569  {
185570  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185571  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
185572  SWIG_fail;
185573  }
185574  }
185575  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0 | 0 );
185576  return resultobj;
185577 fail:
185578  return NULL;
185579 }
185580 
185581 
185582 SWIGINTERN PyObject *_wrap_Cylinder_Radius__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
185583  PyObject *resultobj = 0;
185585  void *argp1 = 0 ;
185586  int res1 = 0 ;
185587  PyObject * obj0 = 0 ;
185588  float result;
185589 
185590  if (!PyArg_ParseTuple(args,(char *)"O:Cylinder_Radius",&obj0)) SWIG_fail;
185591  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0 | 0 );
185592  if (!SWIG_IsOK(res1)) {
185593  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cylinder_Radius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cylinder *""'");
185594  }
185595  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cylinder * >(argp1);
185596  {
185597  try {
185598  result = (float)(arg1)->Radius();
185599  }
185600  catch(CStdErrorInfo oError)
185601  {
185602  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185603  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
185604  PyErr_SetString(PyExc_IndexError, strError.c_str());
185605  SWIG_fail;
185606  }
185607  catch(...)
185608  {
185609  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185610  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
185611  SWIG_fail;
185612  }
185613  }
185614  resultobj = SWIG_From_float(static_cast< float >(result));
185615  return resultobj;
185616 fail:
185617  return NULL;
185618 }
185619 
185620 
185621 SWIGINTERN PyObject *_wrap_Cylinder_Radius__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
185622  PyObject *resultobj = 0;
185624  float arg2 ;
185625  bool arg3 ;
185626  void *argp1 = 0 ;
185627  int res1 = 0 ;
185628  float val2 ;
185629  int ecode2 = 0 ;
185630  bool val3 ;
185631  int ecode3 = 0 ;
185632  PyObject * obj0 = 0 ;
185633  PyObject * obj1 = 0 ;
185634  PyObject * obj2 = 0 ;
185635 
185636  if (!PyArg_ParseTuple(args,(char *)"OOO:Cylinder_Radius",&obj0,&obj1,&obj2)) SWIG_fail;
185637  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0 | 0 );
185638  if (!SWIG_IsOK(res1)) {
185639  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cylinder_Radius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cylinder *""'");
185640  }
185641  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cylinder * >(argp1);
185642  ecode2 = SWIG_AsVal_float(obj1, &val2);
185643  if (!SWIG_IsOK(ecode2)) {
185644  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Cylinder_Radius" "', argument " "2"" of type '" "float""'");
185645  }
185646  arg2 = static_cast< float >(val2);
185647  ecode3 = SWIG_AsVal_bool(obj2, &val3);
185648  if (!SWIG_IsOK(ecode3)) {
185649  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Cylinder_Radius" "', argument " "3"" of type '" "bool""'");
185650  }
185651  arg3 = static_cast< bool >(val3);
185652  {
185653  try {
185654  (arg1)->Radius(arg2,arg3);
185655  }
185656  catch(CStdErrorInfo oError)
185657  {
185658  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185659  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
185660  PyErr_SetString(PyExc_IndexError, strError.c_str());
185661  SWIG_fail;
185662  }
185663  catch(...)
185664  {
185665  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185666  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
185667  SWIG_fail;
185668  }
185669  }
185670  resultobj = SWIG_Py_Void();
185671  return resultobj;
185672 fail:
185673  return NULL;
185674 }
185675 
185676 
185677 SWIGINTERN PyObject *_wrap_Cylinder_Radius__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
185678  PyObject *resultobj = 0;
185680  float arg2 ;
185681  void *argp1 = 0 ;
185682  int res1 = 0 ;
185683  float val2 ;
185684  int ecode2 = 0 ;
185685  PyObject * obj0 = 0 ;
185686  PyObject * obj1 = 0 ;
185687 
185688  if (!PyArg_ParseTuple(args,(char *)"OO:Cylinder_Radius",&obj0,&obj1)) SWIG_fail;
185689  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0 | 0 );
185690  if (!SWIG_IsOK(res1)) {
185691  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cylinder_Radius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cylinder *""'");
185692  }
185693  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cylinder * >(argp1);
185694  ecode2 = SWIG_AsVal_float(obj1, &val2);
185695  if (!SWIG_IsOK(ecode2)) {
185696  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Cylinder_Radius" "', argument " "2"" of type '" "float""'");
185697  }
185698  arg2 = static_cast< float >(val2);
185699  {
185700  try {
185701  (arg1)->Radius(arg2);
185702  }
185703  catch(CStdErrorInfo oError)
185704  {
185705  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185706  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
185707  PyErr_SetString(PyExc_IndexError, strError.c_str());
185708  SWIG_fail;
185709  }
185710  catch(...)
185711  {
185712  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185713  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
185714  SWIG_fail;
185715  }
185716  }
185717  resultobj = SWIG_Py_Void();
185718  return resultobj;
185719 fail:
185720  return NULL;
185721 }
185722 
185723 
185724 SWIGINTERN PyObject *_wrap_Cylinder_Radius(PyObject *self, PyObject *args) {
185725  int argc;
185726  PyObject *argv[4];
185727  int ii;
185728 
185729  if (!PyTuple_Check(args)) SWIG_fail;
185730  argc = args ? (int)PyObject_Length(args) : 0;
185731  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
185732  argv[ii] = PyTuple_GET_ITEM(args,ii);
185733  }
185734  if (argc == 1) {
185735  int _v;
185736  void *vptr = 0;
185737  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0);
185738  _v = SWIG_CheckState(res);
185739  if (_v) {
185740  return _wrap_Cylinder_Radius__SWIG_0(self, args);
185741  }
185742  }
185743  if (argc == 2) {
185744  int _v;
185745  void *vptr = 0;
185746  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0);
185747  _v = SWIG_CheckState(res);
185748  if (_v) {
185749  {
185750  int res = SWIG_AsVal_float(argv[1], NULL);
185751  _v = SWIG_CheckState(res);
185752  }
185753  if (_v) {
185754  return _wrap_Cylinder_Radius__SWIG_2(self, args);
185755  }
185756  }
185757  }
185758  if (argc == 3) {
185759  int _v;
185760  void *vptr = 0;
185761  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0);
185762  _v = SWIG_CheckState(res);
185763  if (_v) {
185764  {
185765  int res = SWIG_AsVal_float(argv[1], NULL);
185766  _v = SWIG_CheckState(res);
185767  }
185768  if (_v) {
185769  {
185770  int res = SWIG_AsVal_bool(argv[2], NULL);
185771  _v = SWIG_CheckState(res);
185772  }
185773  if (_v) {
185774  return _wrap_Cylinder_Radius__SWIG_1(self, args);
185775  }
185776  }
185777  }
185778  }
185779 
185780 fail:
185781  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Cylinder_Radius'.\n"
185782  " Possible C/C++ prototypes are:\n"
185783  " AnimatSim::Environment::Bodies::Cylinder::Radius()\n"
185784  " AnimatSim::Environment::Bodies::Cylinder::Radius(float,bool)\n"
185785  " AnimatSim::Environment::Bodies::Cylinder::Radius(float)\n");
185786  return 0;
185787 }
185788 
185789 
185790 SWIGINTERN PyObject *_wrap_Cylinder_Height__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
185791  PyObject *resultobj = 0;
185793  void *argp1 = 0 ;
185794  int res1 = 0 ;
185795  PyObject * obj0 = 0 ;
185796  float result;
185797 
185798  if (!PyArg_ParseTuple(args,(char *)"O:Cylinder_Height",&obj0)) SWIG_fail;
185799  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0 | 0 );
185800  if (!SWIG_IsOK(res1)) {
185801  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cylinder_Height" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cylinder *""'");
185802  }
185803  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cylinder * >(argp1);
185804  {
185805  try {
185806  result = (float)(arg1)->Height();
185807  }
185808  catch(CStdErrorInfo oError)
185809  {
185810  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185811  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
185812  PyErr_SetString(PyExc_IndexError, strError.c_str());
185813  SWIG_fail;
185814  }
185815  catch(...)
185816  {
185817  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185818  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
185819  SWIG_fail;
185820  }
185821  }
185822  resultobj = SWIG_From_float(static_cast< float >(result));
185823  return resultobj;
185824 fail:
185825  return NULL;
185826 }
185827 
185828 
185829 SWIGINTERN PyObject *_wrap_Cylinder_Height__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
185830  PyObject *resultobj = 0;
185832  float arg2 ;
185833  bool arg3 ;
185834  void *argp1 = 0 ;
185835  int res1 = 0 ;
185836  float val2 ;
185837  int ecode2 = 0 ;
185838  bool val3 ;
185839  int ecode3 = 0 ;
185840  PyObject * obj0 = 0 ;
185841  PyObject * obj1 = 0 ;
185842  PyObject * obj2 = 0 ;
185843 
185844  if (!PyArg_ParseTuple(args,(char *)"OOO:Cylinder_Height",&obj0,&obj1,&obj2)) SWIG_fail;
185845  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0 | 0 );
185846  if (!SWIG_IsOK(res1)) {
185847  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cylinder_Height" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cylinder *""'");
185848  }
185849  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cylinder * >(argp1);
185850  ecode2 = SWIG_AsVal_float(obj1, &val2);
185851  if (!SWIG_IsOK(ecode2)) {
185852  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Cylinder_Height" "', argument " "2"" of type '" "float""'");
185853  }
185854  arg2 = static_cast< float >(val2);
185855  ecode3 = SWIG_AsVal_bool(obj2, &val3);
185856  if (!SWIG_IsOK(ecode3)) {
185857  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Cylinder_Height" "', argument " "3"" of type '" "bool""'");
185858  }
185859  arg3 = static_cast< bool >(val3);
185860  {
185861  try {
185862  (arg1)->Height(arg2,arg3);
185863  }
185864  catch(CStdErrorInfo oError)
185865  {
185866  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185867  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
185868  PyErr_SetString(PyExc_IndexError, strError.c_str());
185869  SWIG_fail;
185870  }
185871  catch(...)
185872  {
185873  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185874  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
185875  SWIG_fail;
185876  }
185877  }
185878  resultobj = SWIG_Py_Void();
185879  return resultobj;
185880 fail:
185881  return NULL;
185882 }
185883 
185884 
185885 SWIGINTERN PyObject *_wrap_Cylinder_Height__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
185886  PyObject *resultobj = 0;
185888  float arg2 ;
185889  void *argp1 = 0 ;
185890  int res1 = 0 ;
185891  float val2 ;
185892  int ecode2 = 0 ;
185893  PyObject * obj0 = 0 ;
185894  PyObject * obj1 = 0 ;
185895 
185896  if (!PyArg_ParseTuple(args,(char *)"OO:Cylinder_Height",&obj0,&obj1)) SWIG_fail;
185897  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0 | 0 );
185898  if (!SWIG_IsOK(res1)) {
185899  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cylinder_Height" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cylinder *""'");
185900  }
185901  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cylinder * >(argp1);
185902  ecode2 = SWIG_AsVal_float(obj1, &val2);
185903  if (!SWIG_IsOK(ecode2)) {
185904  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Cylinder_Height" "', argument " "2"" of type '" "float""'");
185905  }
185906  arg2 = static_cast< float >(val2);
185907  {
185908  try {
185909  (arg1)->Height(arg2);
185910  }
185911  catch(CStdErrorInfo oError)
185912  {
185913  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185914  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
185915  PyErr_SetString(PyExc_IndexError, strError.c_str());
185916  SWIG_fail;
185917  }
185918  catch(...)
185919  {
185920  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
185921  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
185922  SWIG_fail;
185923  }
185924  }
185925  resultobj = SWIG_Py_Void();
185926  return resultobj;
185927 fail:
185928  return NULL;
185929 }
185930 
185931 
185932 SWIGINTERN PyObject *_wrap_Cylinder_Height(PyObject *self, PyObject *args) {
185933  int argc;
185934  PyObject *argv[4];
185935  int ii;
185936 
185937  if (!PyTuple_Check(args)) SWIG_fail;
185938  argc = args ? (int)PyObject_Length(args) : 0;
185939  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
185940  argv[ii] = PyTuple_GET_ITEM(args,ii);
185941  }
185942  if (argc == 1) {
185943  int _v;
185944  void *vptr = 0;
185945  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0);
185946  _v = SWIG_CheckState(res);
185947  if (_v) {
185948  return _wrap_Cylinder_Height__SWIG_0(self, args);
185949  }
185950  }
185951  if (argc == 2) {
185952  int _v;
185953  void *vptr = 0;
185954  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0);
185955  _v = SWIG_CheckState(res);
185956  if (_v) {
185957  {
185958  int res = SWIG_AsVal_float(argv[1], NULL);
185959  _v = SWIG_CheckState(res);
185960  }
185961  if (_v) {
185962  return _wrap_Cylinder_Height__SWIG_2(self, args);
185963  }
185964  }
185965  }
185966  if (argc == 3) {
185967  int _v;
185968  void *vptr = 0;
185969  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0);
185970  _v = SWIG_CheckState(res);
185971  if (_v) {
185972  {
185973  int res = SWIG_AsVal_float(argv[1], NULL);
185974  _v = SWIG_CheckState(res);
185975  }
185976  if (_v) {
185977  {
185978  int res = SWIG_AsVal_bool(argv[2], NULL);
185979  _v = SWIG_CheckState(res);
185980  }
185981  if (_v) {
185982  return _wrap_Cylinder_Height__SWIG_1(self, args);
185983  }
185984  }
185985  }
185986  }
185987 
185988 fail:
185989  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Cylinder_Height'.\n"
185990  " Possible C/C++ prototypes are:\n"
185991  " AnimatSim::Environment::Bodies::Cylinder::Height()\n"
185992  " AnimatSim::Environment::Bodies::Cylinder::Height(float,bool)\n"
185993  " AnimatSim::Environment::Bodies::Cylinder::Height(float)\n");
185994  return 0;
185995 }
185996 
185997 
185998 SWIGINTERN PyObject *_wrap_Cylinder_Sides__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
185999  PyObject *resultobj = 0;
186001  int arg2 ;
186002  void *argp1 = 0 ;
186003  int res1 = 0 ;
186004  int val2 ;
186005  int ecode2 = 0 ;
186006  PyObject * obj0 = 0 ;
186007  PyObject * obj1 = 0 ;
186008 
186009  if (!PyArg_ParseTuple(args,(char *)"OO:Cylinder_Sides",&obj0,&obj1)) SWIG_fail;
186010  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0 | 0 );
186011  if (!SWIG_IsOK(res1)) {
186012  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cylinder_Sides" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cylinder *""'");
186013  }
186014  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cylinder * >(argp1);
186015  ecode2 = SWIG_AsVal_int(obj1, &val2);
186016  if (!SWIG_IsOK(ecode2)) {
186017  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Cylinder_Sides" "', argument " "2"" of type '" "int""'");
186018  }
186019  arg2 = static_cast< int >(val2);
186020  {
186021  try {
186022  (arg1)->Sides(arg2);
186023  }
186024  catch(CStdErrorInfo oError)
186025  {
186026  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186027  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186028  PyErr_SetString(PyExc_IndexError, strError.c_str());
186029  SWIG_fail;
186030  }
186031  catch(...)
186032  {
186033  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186034  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186035  SWIG_fail;
186036  }
186037  }
186038  resultobj = SWIG_Py_Void();
186039  return resultobj;
186040 fail:
186041  return NULL;
186042 }
186043 
186044 
186045 SWIGINTERN PyObject *_wrap_Cylinder_Sides__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186046  PyObject *resultobj = 0;
186048  void *argp1 = 0 ;
186049  int res1 = 0 ;
186050  PyObject * obj0 = 0 ;
186051  int result;
186052 
186053  if (!PyArg_ParseTuple(args,(char *)"O:Cylinder_Sides",&obj0)) SWIG_fail;
186054  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0 | 0 );
186055  if (!SWIG_IsOK(res1)) {
186056  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cylinder_Sides" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cylinder *""'");
186057  }
186058  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cylinder * >(argp1);
186059  {
186060  try {
186061  result = (int)(arg1)->Sides();
186062  }
186063  catch(CStdErrorInfo oError)
186064  {
186065  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186066  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186067  PyErr_SetString(PyExc_IndexError, strError.c_str());
186068  SWIG_fail;
186069  }
186070  catch(...)
186071  {
186072  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186073  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186074  SWIG_fail;
186075  }
186076  }
186077  resultobj = SWIG_From_int(static_cast< int >(result));
186078  return resultobj;
186079 fail:
186080  return NULL;
186081 }
186082 
186083 
186084 SWIGINTERN PyObject *_wrap_Cylinder_Sides(PyObject *self, PyObject *args) {
186085  int argc;
186086  PyObject *argv[3];
186087  int ii;
186088 
186089  if (!PyTuple_Check(args)) SWIG_fail;
186090  argc = args ? (int)PyObject_Length(args) : 0;
186091  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
186092  argv[ii] = PyTuple_GET_ITEM(args,ii);
186093  }
186094  if (argc == 1) {
186095  int _v;
186096  void *vptr = 0;
186097  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0);
186098  _v = SWIG_CheckState(res);
186099  if (_v) {
186100  return _wrap_Cylinder_Sides__SWIG_1(self, args);
186101  }
186102  }
186103  if (argc == 2) {
186104  int _v;
186105  void *vptr = 0;
186106  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0);
186107  _v = SWIG_CheckState(res);
186108  if (_v) {
186109  {
186110  int res = SWIG_AsVal_int(argv[1], NULL);
186111  _v = SWIG_CheckState(res);
186112  }
186113  if (_v) {
186114  return _wrap_Cylinder_Sides__SWIG_0(self, args);
186115  }
186116  }
186117  }
186118 
186119 fail:
186120  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Cylinder_Sides'.\n"
186121  " Possible C/C++ prototypes are:\n"
186122  " AnimatSim::Environment::Bodies::Cylinder::Sides(int)\n"
186123  " AnimatSim::Environment::Bodies::Cylinder::Sides()\n");
186124  return 0;
186125 }
186126 
186127 
186128 SWIGINTERN PyObject *_wrap_Cylinder_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186129  PyObject *resultobj = 0;
186131  std::string *arg2 = 0 ;
186132  std::string *arg3 = 0 ;
186133  bool arg4 ;
186134  void *argp1 = 0 ;
186135  int res1 = 0 ;
186136  int res2 = SWIG_OLDOBJ ;
186137  int res3 = SWIG_OLDOBJ ;
186138  bool val4 ;
186139  int ecode4 = 0 ;
186140  PyObject * obj0 = 0 ;
186141  PyObject * obj1 = 0 ;
186142  PyObject * obj2 = 0 ;
186143  PyObject * obj3 = 0 ;
186144  bool result;
186145 
186146  if (!PyArg_ParseTuple(args,(char *)"OOOO:Cylinder_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
186147  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0 | 0 );
186148  if (!SWIG_IsOK(res1)) {
186149  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cylinder_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cylinder *""'");
186150  }
186151  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cylinder * >(argp1);
186152  {
186153  std::string *ptr = (std::string *)0;
186154  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
186155  if (!SWIG_IsOK(res2)) {
186156  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Cylinder_SetData" "', argument " "2"" of type '" "std::string const &""'");
186157  }
186158  if (!ptr) {
186159  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Cylinder_SetData" "', argument " "2"" of type '" "std::string const &""'");
186160  }
186161  arg2 = ptr;
186162  }
186163  {
186164  std::string *ptr = (std::string *)0;
186165  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
186166  if (!SWIG_IsOK(res3)) {
186167  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Cylinder_SetData" "', argument " "3"" of type '" "std::string const &""'");
186168  }
186169  if (!ptr) {
186170  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Cylinder_SetData" "', argument " "3"" of type '" "std::string const &""'");
186171  }
186172  arg3 = ptr;
186173  }
186174  ecode4 = SWIG_AsVal_bool(obj3, &val4);
186175  if (!SWIG_IsOK(ecode4)) {
186176  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Cylinder_SetData" "', argument " "4"" of type '" "bool""'");
186177  }
186178  arg4 = static_cast< bool >(val4);
186179  {
186180  try {
186181  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
186182  }
186183  catch(CStdErrorInfo oError)
186184  {
186185  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186186  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186187  PyErr_SetString(PyExc_IndexError, strError.c_str());
186188  SWIG_fail;
186189  }
186190  catch(...)
186191  {
186192  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186193  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186194  SWIG_fail;
186195  }
186196  }
186197  resultobj = SWIG_From_bool(static_cast< bool >(result));
186198  if (SWIG_IsNewObj(res2)) delete arg2;
186199  if (SWIG_IsNewObj(res3)) delete arg3;
186200  return resultobj;
186201 fail:
186202  if (SWIG_IsNewObj(res2)) delete arg2;
186203  if (SWIG_IsNewObj(res3)) delete arg3;
186204  return NULL;
186205 }
186206 
186207 
186208 SWIGINTERN PyObject *_wrap_Cylinder_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186209  PyObject *resultobj = 0;
186211  std::string *arg2 = 0 ;
186212  std::string *arg3 = 0 ;
186213  void *argp1 = 0 ;
186214  int res1 = 0 ;
186215  int res2 = SWIG_OLDOBJ ;
186216  int res3 = SWIG_OLDOBJ ;
186217  PyObject * obj0 = 0 ;
186218  PyObject * obj1 = 0 ;
186219  PyObject * obj2 = 0 ;
186220  bool result;
186221 
186222  if (!PyArg_ParseTuple(args,(char *)"OOO:Cylinder_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
186223  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0 | 0 );
186224  if (!SWIG_IsOK(res1)) {
186225  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cylinder_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cylinder *""'");
186226  }
186227  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cylinder * >(argp1);
186228  {
186229  std::string *ptr = (std::string *)0;
186230  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
186231  if (!SWIG_IsOK(res2)) {
186232  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Cylinder_SetData" "', argument " "2"" of type '" "std::string const &""'");
186233  }
186234  if (!ptr) {
186235  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Cylinder_SetData" "', argument " "2"" of type '" "std::string const &""'");
186236  }
186237  arg2 = ptr;
186238  }
186239  {
186240  std::string *ptr = (std::string *)0;
186241  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
186242  if (!SWIG_IsOK(res3)) {
186243  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Cylinder_SetData" "', argument " "3"" of type '" "std::string const &""'");
186244  }
186245  if (!ptr) {
186246  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Cylinder_SetData" "', argument " "3"" of type '" "std::string const &""'");
186247  }
186248  arg3 = ptr;
186249  }
186250  {
186251  try {
186252  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
186253  }
186254  catch(CStdErrorInfo oError)
186255  {
186256  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186257  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186258  PyErr_SetString(PyExc_IndexError, strError.c_str());
186259  SWIG_fail;
186260  }
186261  catch(...)
186262  {
186263  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186264  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186265  SWIG_fail;
186266  }
186267  }
186268  resultobj = SWIG_From_bool(static_cast< bool >(result));
186269  if (SWIG_IsNewObj(res2)) delete arg2;
186270  if (SWIG_IsNewObj(res3)) delete arg3;
186271  return resultobj;
186272 fail:
186273  if (SWIG_IsNewObj(res2)) delete arg2;
186274  if (SWIG_IsNewObj(res3)) delete arg3;
186275  return NULL;
186276 }
186277 
186278 
186279 SWIGINTERN PyObject *_wrap_Cylinder_SetData(PyObject *self, PyObject *args) {
186280  int argc;
186281  PyObject *argv[5];
186282  int ii;
186283 
186284  if (!PyTuple_Check(args)) SWIG_fail;
186285  argc = args ? (int)PyObject_Length(args) : 0;
186286  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
186287  argv[ii] = PyTuple_GET_ITEM(args,ii);
186288  }
186289  if (argc == 3) {
186290  int _v;
186291  void *vptr = 0;
186292  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0);
186293  _v = SWIG_CheckState(res);
186294  if (_v) {
186295  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
186296  _v = SWIG_CheckState(res);
186297  if (_v) {
186298  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
186299  _v = SWIG_CheckState(res);
186300  if (_v) {
186301  return _wrap_Cylinder_SetData__SWIG_1(self, args);
186302  }
186303  }
186304  }
186305  }
186306  if (argc == 4) {
186307  int _v;
186308  void *vptr = 0;
186309  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0);
186310  _v = SWIG_CheckState(res);
186311  if (_v) {
186312  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
186313  _v = SWIG_CheckState(res);
186314  if (_v) {
186315  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
186316  _v = SWIG_CheckState(res);
186317  if (_v) {
186318  {
186319  int res = SWIG_AsVal_bool(argv[3], NULL);
186320  _v = SWIG_CheckState(res);
186321  }
186322  if (_v) {
186323  return _wrap_Cylinder_SetData__SWIG_0(self, args);
186324  }
186325  }
186326  }
186327  }
186328  }
186329 
186330 fail:
186331  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Cylinder_SetData'.\n"
186332  " Possible C/C++ prototypes are:\n"
186333  " AnimatSim::Environment::Bodies::Cylinder::SetData(std::string const &,std::string const &,bool)\n"
186334  " AnimatSim::Environment::Bodies::Cylinder::SetData(std::string const &,std::string const &)\n");
186335  return 0;
186336 }
186337 
186338 
186339 SWIGINTERN PyObject *_wrap_Cylinder_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186340  PyObject *resultobj = 0;
186342  CStdPtrArray< TypeProperty > *arg2 = 0 ;
186343  void *argp1 = 0 ;
186344  int res1 = 0 ;
186345  void *argp2 = 0 ;
186346  int res2 = 0 ;
186347  PyObject * obj0 = 0 ;
186348  PyObject * obj1 = 0 ;
186349 
186350  if (!PyArg_ParseTuple(args,(char *)"OO:Cylinder_QueryProperties",&obj0,&obj1)) SWIG_fail;
186351  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0 | 0 );
186352  if (!SWIG_IsOK(res1)) {
186353  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cylinder_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cylinder *""'");
186354  }
186355  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cylinder * >(argp1);
186356  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
186357  if (!SWIG_IsOK(res2)) {
186358  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Cylinder_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
186359  }
186360  if (!argp2) {
186361  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Cylinder_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
186362  }
186363  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
186364  {
186365  try {
186366  (arg1)->QueryProperties(*arg2);
186367  }
186368  catch(CStdErrorInfo oError)
186369  {
186370  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186371  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186372  PyErr_SetString(PyExc_IndexError, strError.c_str());
186373  SWIG_fail;
186374  }
186375  catch(...)
186376  {
186377  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186378  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186379  SWIG_fail;
186380  }
186381  }
186382  resultobj = SWIG_Py_Void();
186383  return resultobj;
186384 fail:
186385  return NULL;
186386 }
186387 
186388 
186389 SWIGINTERN PyObject *_wrap_Cylinder_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186390  PyObject *resultobj = 0;
186392  CStdXml *arg2 = 0 ;
186393  void *argp1 = 0 ;
186394  int res1 = 0 ;
186395  void *argp2 = 0 ;
186396  int res2 = 0 ;
186397  PyObject * obj0 = 0 ;
186398  PyObject * obj1 = 0 ;
186399 
186400  if (!PyArg_ParseTuple(args,(char *)"OO:Cylinder_Load",&obj0,&obj1)) SWIG_fail;
186401  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, 0 | 0 );
186402  if (!SWIG_IsOK(res1)) {
186403  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cylinder_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cylinder *""'");
186404  }
186405  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cylinder * >(argp1);
186406  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
186407  if (!SWIG_IsOK(res2)) {
186408  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Cylinder_Load" "', argument " "2"" of type '" "CStdXml &""'");
186409  }
186410  if (!argp2) {
186411  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Cylinder_Load" "', argument " "2"" of type '" "CStdXml &""'");
186412  }
186413  arg2 = reinterpret_cast< CStdXml * >(argp2);
186414  {
186415  try {
186416  (arg1)->Load(*arg2);
186417  }
186418  catch(CStdErrorInfo oError)
186419  {
186420  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186421  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186422  PyErr_SetString(PyExc_IndexError, strError.c_str());
186423  SWIG_fail;
186424  }
186425  catch(...)
186426  {
186427  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186428  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186429  SWIG_fail;
186430  }
186431  }
186432  resultobj = SWIG_Py_Void();
186433  return resultobj;
186434 fail:
186435  return NULL;
186436 }
186437 
186438 
186439 SWIGINTERN PyObject *Cylinder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186440  PyObject *obj;
186441  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
186442  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder, SWIG_NewClientData(obj));
186443  return SWIG_Py_Void();
186444 }
186445 
186446 SWIGINTERN PyObject *_wrap_new_Cone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186447  PyObject *resultobj = 0;
186449 
186450  if (!PyArg_ParseTuple(args,(char *)":new_Cone")) SWIG_fail;
186451  {
186452  try {
186454  }
186455  catch(CStdErrorInfo oError)
186456  {
186457  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186458  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186459  PyErr_SetString(PyExc_IndexError, strError.c_str());
186460  SWIG_fail;
186461  }
186462  catch(...)
186463  {
186464  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186465  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186466  SWIG_fail;
186467  }
186468  }
186469  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, SWIG_POINTER_NEW | 0 );
186470  return resultobj;
186471 fail:
186472  return NULL;
186473 }
186474 
186475 
186476 SWIGINTERN PyObject *_wrap_delete_Cone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186477  PyObject *resultobj = 0;
186479  void *argp1 = 0 ;
186480  int res1 = 0 ;
186481  PyObject * obj0 = 0 ;
186482 
186483  if (!PyArg_ParseTuple(args,(char *)"O:delete_Cone",&obj0)) SWIG_fail;
186484  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, SWIG_POINTER_DISOWN | 0 );
186485  if (!SWIG_IsOK(res1)) {
186486  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Cone" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
186487  }
186488  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
186489  {
186490  try {
186491  delete arg1;
186492  }
186493  catch(CStdErrorInfo oError)
186494  {
186495  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186496  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186497  PyErr_SetString(PyExc_IndexError, strError.c_str());
186498  SWIG_fail;
186499  }
186500  catch(...)
186501  {
186502  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186503  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186504  SWIG_fail;
186505  }
186506  }
186507  resultobj = SWIG_Py_Void();
186508  return resultobj;
186509 fail:
186510  return NULL;
186511 }
186512 
186513 
186514 SWIGINTERN PyObject *_wrap_Cone_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186515  PyObject *resultobj = 0;
186517  void *argp1 = 0 ;
186518  int res1 = 0 ;
186519  PyObject * obj0 = 0 ;
186521 
186522  if (!PyArg_ParseTuple(args,(char *)"O:Cone_CastToDerived",&obj0)) SWIG_fail;
186523  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
186524  if (!SWIG_IsOK(res1)) {
186525  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
186526  }
186527  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
186528  {
186529  try {
186530  result = (AnimatSim::Environment::Bodies::Cone *)AnimatSim::Environment::Bodies::Cone::CastToDerived(arg1);
186531  }
186532  catch(CStdErrorInfo oError)
186533  {
186534  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186535  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186536  PyErr_SetString(PyExc_IndexError, strError.c_str());
186537  SWIG_fail;
186538  }
186539  catch(...)
186540  {
186541  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186542  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186543  SWIG_fail;
186544  }
186545  }
186546  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
186547  return resultobj;
186548 fail:
186549  return NULL;
186550 }
186551 
186552 
186553 SWIGINTERN PyObject *_wrap_Cone_LowerRadius__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186554  PyObject *resultobj = 0;
186556  void *argp1 = 0 ;
186557  int res1 = 0 ;
186558  PyObject * obj0 = 0 ;
186559  float result;
186560 
186561  if (!PyArg_ParseTuple(args,(char *)"O:Cone_LowerRadius",&obj0)) SWIG_fail;
186562  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
186563  if (!SWIG_IsOK(res1)) {
186564  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_LowerRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
186565  }
186566  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
186567  {
186568  try {
186569  result = (float)(arg1)->LowerRadius();
186570  }
186571  catch(CStdErrorInfo oError)
186572  {
186573  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186574  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186575  PyErr_SetString(PyExc_IndexError, strError.c_str());
186576  SWIG_fail;
186577  }
186578  catch(...)
186579  {
186580  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186581  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186582  SWIG_fail;
186583  }
186584  }
186585  resultobj = SWIG_From_float(static_cast< float >(result));
186586  return resultobj;
186587 fail:
186588  return NULL;
186589 }
186590 
186591 
186592 SWIGINTERN PyObject *_wrap_Cone_LowerRadius__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186593  PyObject *resultobj = 0;
186595  float arg2 ;
186596  bool arg3 ;
186597  void *argp1 = 0 ;
186598  int res1 = 0 ;
186599  float val2 ;
186600  int ecode2 = 0 ;
186601  bool val3 ;
186602  int ecode3 = 0 ;
186603  PyObject * obj0 = 0 ;
186604  PyObject * obj1 = 0 ;
186605  PyObject * obj2 = 0 ;
186606 
186607  if (!PyArg_ParseTuple(args,(char *)"OOO:Cone_LowerRadius",&obj0,&obj1,&obj2)) SWIG_fail;
186608  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
186609  if (!SWIG_IsOK(res1)) {
186610  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_LowerRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
186611  }
186612  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
186613  ecode2 = SWIG_AsVal_float(obj1, &val2);
186614  if (!SWIG_IsOK(ecode2)) {
186615  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Cone_LowerRadius" "', argument " "2"" of type '" "float""'");
186616  }
186617  arg2 = static_cast< float >(val2);
186618  ecode3 = SWIG_AsVal_bool(obj2, &val3);
186619  if (!SWIG_IsOK(ecode3)) {
186620  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Cone_LowerRadius" "', argument " "3"" of type '" "bool""'");
186621  }
186622  arg3 = static_cast< bool >(val3);
186623  {
186624  try {
186625  (arg1)->LowerRadius(arg2,arg3);
186626  }
186627  catch(CStdErrorInfo oError)
186628  {
186629  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186630  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186631  PyErr_SetString(PyExc_IndexError, strError.c_str());
186632  SWIG_fail;
186633  }
186634  catch(...)
186635  {
186636  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186637  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186638  SWIG_fail;
186639  }
186640  }
186641  resultobj = SWIG_Py_Void();
186642  return resultobj;
186643 fail:
186644  return NULL;
186645 }
186646 
186647 
186648 SWIGINTERN PyObject *_wrap_Cone_LowerRadius__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186649  PyObject *resultobj = 0;
186651  float arg2 ;
186652  void *argp1 = 0 ;
186653  int res1 = 0 ;
186654  float val2 ;
186655  int ecode2 = 0 ;
186656  PyObject * obj0 = 0 ;
186657  PyObject * obj1 = 0 ;
186658 
186659  if (!PyArg_ParseTuple(args,(char *)"OO:Cone_LowerRadius",&obj0,&obj1)) SWIG_fail;
186660  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
186661  if (!SWIG_IsOK(res1)) {
186662  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_LowerRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
186663  }
186664  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
186665  ecode2 = SWIG_AsVal_float(obj1, &val2);
186666  if (!SWIG_IsOK(ecode2)) {
186667  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Cone_LowerRadius" "', argument " "2"" of type '" "float""'");
186668  }
186669  arg2 = static_cast< float >(val2);
186670  {
186671  try {
186672  (arg1)->LowerRadius(arg2);
186673  }
186674  catch(CStdErrorInfo oError)
186675  {
186676  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186677  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186678  PyErr_SetString(PyExc_IndexError, strError.c_str());
186679  SWIG_fail;
186680  }
186681  catch(...)
186682  {
186683  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186684  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186685  SWIG_fail;
186686  }
186687  }
186688  resultobj = SWIG_Py_Void();
186689  return resultobj;
186690 fail:
186691  return NULL;
186692 }
186693 
186694 
186695 SWIGINTERN PyObject *_wrap_Cone_LowerRadius(PyObject *self, PyObject *args) {
186696  int argc;
186697  PyObject *argv[4];
186698  int ii;
186699 
186700  if (!PyTuple_Check(args)) SWIG_fail;
186701  argc = args ? (int)PyObject_Length(args) : 0;
186702  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
186703  argv[ii] = PyTuple_GET_ITEM(args,ii);
186704  }
186705  if (argc == 1) {
186706  int _v;
186707  void *vptr = 0;
186708  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0);
186709  _v = SWIG_CheckState(res);
186710  if (_v) {
186711  return _wrap_Cone_LowerRadius__SWIG_0(self, args);
186712  }
186713  }
186714  if (argc == 2) {
186715  int _v;
186716  void *vptr = 0;
186717  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0);
186718  _v = SWIG_CheckState(res);
186719  if (_v) {
186720  {
186721  int res = SWIG_AsVal_float(argv[1], NULL);
186722  _v = SWIG_CheckState(res);
186723  }
186724  if (_v) {
186725  return _wrap_Cone_LowerRadius__SWIG_2(self, args);
186726  }
186727  }
186728  }
186729  if (argc == 3) {
186730  int _v;
186731  void *vptr = 0;
186732  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0);
186733  _v = SWIG_CheckState(res);
186734  if (_v) {
186735  {
186736  int res = SWIG_AsVal_float(argv[1], NULL);
186737  _v = SWIG_CheckState(res);
186738  }
186739  if (_v) {
186740  {
186741  int res = SWIG_AsVal_bool(argv[2], NULL);
186742  _v = SWIG_CheckState(res);
186743  }
186744  if (_v) {
186745  return _wrap_Cone_LowerRadius__SWIG_1(self, args);
186746  }
186747  }
186748  }
186749  }
186750 
186751 fail:
186752  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Cone_LowerRadius'.\n"
186753  " Possible C/C++ prototypes are:\n"
186754  " AnimatSim::Environment::Bodies::Cone::LowerRadius()\n"
186755  " AnimatSim::Environment::Bodies::Cone::LowerRadius(float,bool)\n"
186756  " AnimatSim::Environment::Bodies::Cone::LowerRadius(float)\n");
186757  return 0;
186758 }
186759 
186760 
186761 SWIGINTERN PyObject *_wrap_Cone_UpperRadius__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186762  PyObject *resultobj = 0;
186764  void *argp1 = 0 ;
186765  int res1 = 0 ;
186766  PyObject * obj0 = 0 ;
186767  float result;
186768 
186769  if (!PyArg_ParseTuple(args,(char *)"O:Cone_UpperRadius",&obj0)) SWIG_fail;
186770  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
186771  if (!SWIG_IsOK(res1)) {
186772  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_UpperRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
186773  }
186774  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
186775  {
186776  try {
186777  result = (float)(arg1)->UpperRadius();
186778  }
186779  catch(CStdErrorInfo oError)
186780  {
186781  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186782  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186783  PyErr_SetString(PyExc_IndexError, strError.c_str());
186784  SWIG_fail;
186785  }
186786  catch(...)
186787  {
186788  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186789  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186790  SWIG_fail;
186791  }
186792  }
186793  resultobj = SWIG_From_float(static_cast< float >(result));
186794  return resultobj;
186795 fail:
186796  return NULL;
186797 }
186798 
186799 
186800 SWIGINTERN PyObject *_wrap_Cone_UpperRadius__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186801  PyObject *resultobj = 0;
186803  float arg2 ;
186804  bool arg3 ;
186805  void *argp1 = 0 ;
186806  int res1 = 0 ;
186807  float val2 ;
186808  int ecode2 = 0 ;
186809  bool val3 ;
186810  int ecode3 = 0 ;
186811  PyObject * obj0 = 0 ;
186812  PyObject * obj1 = 0 ;
186813  PyObject * obj2 = 0 ;
186814 
186815  if (!PyArg_ParseTuple(args,(char *)"OOO:Cone_UpperRadius",&obj0,&obj1,&obj2)) SWIG_fail;
186816  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
186817  if (!SWIG_IsOK(res1)) {
186818  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_UpperRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
186819  }
186820  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
186821  ecode2 = SWIG_AsVal_float(obj1, &val2);
186822  if (!SWIG_IsOK(ecode2)) {
186823  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Cone_UpperRadius" "', argument " "2"" of type '" "float""'");
186824  }
186825  arg2 = static_cast< float >(val2);
186826  ecode3 = SWIG_AsVal_bool(obj2, &val3);
186827  if (!SWIG_IsOK(ecode3)) {
186828  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Cone_UpperRadius" "', argument " "3"" of type '" "bool""'");
186829  }
186830  arg3 = static_cast< bool >(val3);
186831  {
186832  try {
186833  (arg1)->UpperRadius(arg2,arg3);
186834  }
186835  catch(CStdErrorInfo oError)
186836  {
186837  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186838  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186839  PyErr_SetString(PyExc_IndexError, strError.c_str());
186840  SWIG_fail;
186841  }
186842  catch(...)
186843  {
186844  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186845  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186846  SWIG_fail;
186847  }
186848  }
186849  resultobj = SWIG_Py_Void();
186850  return resultobj;
186851 fail:
186852  return NULL;
186853 }
186854 
186855 
186856 SWIGINTERN PyObject *_wrap_Cone_UpperRadius__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186857  PyObject *resultobj = 0;
186859  float arg2 ;
186860  void *argp1 = 0 ;
186861  int res1 = 0 ;
186862  float val2 ;
186863  int ecode2 = 0 ;
186864  PyObject * obj0 = 0 ;
186865  PyObject * obj1 = 0 ;
186866 
186867  if (!PyArg_ParseTuple(args,(char *)"OO:Cone_UpperRadius",&obj0,&obj1)) SWIG_fail;
186868  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
186869  if (!SWIG_IsOK(res1)) {
186870  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_UpperRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
186871  }
186872  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
186873  ecode2 = SWIG_AsVal_float(obj1, &val2);
186874  if (!SWIG_IsOK(ecode2)) {
186875  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Cone_UpperRadius" "', argument " "2"" of type '" "float""'");
186876  }
186877  arg2 = static_cast< float >(val2);
186878  {
186879  try {
186880  (arg1)->UpperRadius(arg2);
186881  }
186882  catch(CStdErrorInfo oError)
186883  {
186884  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186885  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186886  PyErr_SetString(PyExc_IndexError, strError.c_str());
186887  SWIG_fail;
186888  }
186889  catch(...)
186890  {
186891  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186892  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186893  SWIG_fail;
186894  }
186895  }
186896  resultobj = SWIG_Py_Void();
186897  return resultobj;
186898 fail:
186899  return NULL;
186900 }
186901 
186902 
186903 SWIGINTERN PyObject *_wrap_Cone_UpperRadius(PyObject *self, PyObject *args) {
186904  int argc;
186905  PyObject *argv[4];
186906  int ii;
186907 
186908  if (!PyTuple_Check(args)) SWIG_fail;
186909  argc = args ? (int)PyObject_Length(args) : 0;
186910  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
186911  argv[ii] = PyTuple_GET_ITEM(args,ii);
186912  }
186913  if (argc == 1) {
186914  int _v;
186915  void *vptr = 0;
186916  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0);
186917  _v = SWIG_CheckState(res);
186918  if (_v) {
186919  return _wrap_Cone_UpperRadius__SWIG_0(self, args);
186920  }
186921  }
186922  if (argc == 2) {
186923  int _v;
186924  void *vptr = 0;
186925  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0);
186926  _v = SWIG_CheckState(res);
186927  if (_v) {
186928  {
186929  int res = SWIG_AsVal_float(argv[1], NULL);
186930  _v = SWIG_CheckState(res);
186931  }
186932  if (_v) {
186933  return _wrap_Cone_UpperRadius__SWIG_2(self, args);
186934  }
186935  }
186936  }
186937  if (argc == 3) {
186938  int _v;
186939  void *vptr = 0;
186940  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0);
186941  _v = SWIG_CheckState(res);
186942  if (_v) {
186943  {
186944  int res = SWIG_AsVal_float(argv[1], NULL);
186945  _v = SWIG_CheckState(res);
186946  }
186947  if (_v) {
186948  {
186949  int res = SWIG_AsVal_bool(argv[2], NULL);
186950  _v = SWIG_CheckState(res);
186951  }
186952  if (_v) {
186953  return _wrap_Cone_UpperRadius__SWIG_1(self, args);
186954  }
186955  }
186956  }
186957  }
186958 
186959 fail:
186960  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Cone_UpperRadius'.\n"
186961  " Possible C/C++ prototypes are:\n"
186962  " AnimatSim::Environment::Bodies::Cone::UpperRadius()\n"
186963  " AnimatSim::Environment::Bodies::Cone::UpperRadius(float,bool)\n"
186964  " AnimatSim::Environment::Bodies::Cone::UpperRadius(float)\n");
186965  return 0;
186966 }
186967 
186968 
186969 SWIGINTERN PyObject *_wrap_Cone_Height__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
186970  PyObject *resultobj = 0;
186972  void *argp1 = 0 ;
186973  int res1 = 0 ;
186974  PyObject * obj0 = 0 ;
186975  float result;
186976 
186977  if (!PyArg_ParseTuple(args,(char *)"O:Cone_Height",&obj0)) SWIG_fail;
186978  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
186979  if (!SWIG_IsOK(res1)) {
186980  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_Height" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
186981  }
186982  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
186983  {
186984  try {
186985  result = (float)(arg1)->Height();
186986  }
186987  catch(CStdErrorInfo oError)
186988  {
186989  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186990  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
186991  PyErr_SetString(PyExc_IndexError, strError.c_str());
186992  SWIG_fail;
186993  }
186994  catch(...)
186995  {
186996  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
186997  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
186998  SWIG_fail;
186999  }
187000  }
187001  resultobj = SWIG_From_float(static_cast< float >(result));
187002  return resultobj;
187003 fail:
187004  return NULL;
187005 }
187006 
187007 
187008 SWIGINTERN PyObject *_wrap_Cone_Height__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187009  PyObject *resultobj = 0;
187011  float arg2 ;
187012  bool arg3 ;
187013  void *argp1 = 0 ;
187014  int res1 = 0 ;
187015  float val2 ;
187016  int ecode2 = 0 ;
187017  bool val3 ;
187018  int ecode3 = 0 ;
187019  PyObject * obj0 = 0 ;
187020  PyObject * obj1 = 0 ;
187021  PyObject * obj2 = 0 ;
187022 
187023  if (!PyArg_ParseTuple(args,(char *)"OOO:Cone_Height",&obj0,&obj1,&obj2)) SWIG_fail;
187024  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
187025  if (!SWIG_IsOK(res1)) {
187026  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_Height" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
187027  }
187028  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
187029  ecode2 = SWIG_AsVal_float(obj1, &val2);
187030  if (!SWIG_IsOK(ecode2)) {
187031  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Cone_Height" "', argument " "2"" of type '" "float""'");
187032  }
187033  arg2 = static_cast< float >(val2);
187034  ecode3 = SWIG_AsVal_bool(obj2, &val3);
187035  if (!SWIG_IsOK(ecode3)) {
187036  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Cone_Height" "', argument " "3"" of type '" "bool""'");
187037  }
187038  arg3 = static_cast< bool >(val3);
187039  {
187040  try {
187041  (arg1)->Height(arg2,arg3);
187042  }
187043  catch(CStdErrorInfo oError)
187044  {
187045  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187046  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
187047  PyErr_SetString(PyExc_IndexError, strError.c_str());
187048  SWIG_fail;
187049  }
187050  catch(...)
187051  {
187052  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187053  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
187054  SWIG_fail;
187055  }
187056  }
187057  resultobj = SWIG_Py_Void();
187058  return resultobj;
187059 fail:
187060  return NULL;
187061 }
187062 
187063 
187064 SWIGINTERN PyObject *_wrap_Cone_Height__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187065  PyObject *resultobj = 0;
187067  float arg2 ;
187068  void *argp1 = 0 ;
187069  int res1 = 0 ;
187070  float val2 ;
187071  int ecode2 = 0 ;
187072  PyObject * obj0 = 0 ;
187073  PyObject * obj1 = 0 ;
187074 
187075  if (!PyArg_ParseTuple(args,(char *)"OO:Cone_Height",&obj0,&obj1)) SWIG_fail;
187076  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
187077  if (!SWIG_IsOK(res1)) {
187078  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_Height" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
187079  }
187080  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
187081  ecode2 = SWIG_AsVal_float(obj1, &val2);
187082  if (!SWIG_IsOK(ecode2)) {
187083  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Cone_Height" "', argument " "2"" of type '" "float""'");
187084  }
187085  arg2 = static_cast< float >(val2);
187086  {
187087  try {
187088  (arg1)->Height(arg2);
187089  }
187090  catch(CStdErrorInfo oError)
187091  {
187092  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187093  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
187094  PyErr_SetString(PyExc_IndexError, strError.c_str());
187095  SWIG_fail;
187096  }
187097  catch(...)
187098  {
187099  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187100  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
187101  SWIG_fail;
187102  }
187103  }
187104  resultobj = SWIG_Py_Void();
187105  return resultobj;
187106 fail:
187107  return NULL;
187108 }
187109 
187110 
187111 SWIGINTERN PyObject *_wrap_Cone_Height(PyObject *self, PyObject *args) {
187112  int argc;
187113  PyObject *argv[4];
187114  int ii;
187115 
187116  if (!PyTuple_Check(args)) SWIG_fail;
187117  argc = args ? (int)PyObject_Length(args) : 0;
187118  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
187119  argv[ii] = PyTuple_GET_ITEM(args,ii);
187120  }
187121  if (argc == 1) {
187122  int _v;
187123  void *vptr = 0;
187124  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0);
187125  _v = SWIG_CheckState(res);
187126  if (_v) {
187127  return _wrap_Cone_Height__SWIG_0(self, args);
187128  }
187129  }
187130  if (argc == 2) {
187131  int _v;
187132  void *vptr = 0;
187133  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0);
187134  _v = SWIG_CheckState(res);
187135  if (_v) {
187136  {
187137  int res = SWIG_AsVal_float(argv[1], NULL);
187138  _v = SWIG_CheckState(res);
187139  }
187140  if (_v) {
187141  return _wrap_Cone_Height__SWIG_2(self, args);
187142  }
187143  }
187144  }
187145  if (argc == 3) {
187146  int _v;
187147  void *vptr = 0;
187148  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0);
187149  _v = SWIG_CheckState(res);
187150  if (_v) {
187151  {
187152  int res = SWIG_AsVal_float(argv[1], NULL);
187153  _v = SWIG_CheckState(res);
187154  }
187155  if (_v) {
187156  {
187157  int res = SWIG_AsVal_bool(argv[2], NULL);
187158  _v = SWIG_CheckState(res);
187159  }
187160  if (_v) {
187161  return _wrap_Cone_Height__SWIG_1(self, args);
187162  }
187163  }
187164  }
187165  }
187166 
187167 fail:
187168  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Cone_Height'.\n"
187169  " Possible C/C++ prototypes are:\n"
187170  " AnimatSim::Environment::Bodies::Cone::Height()\n"
187171  " AnimatSim::Environment::Bodies::Cone::Height(float,bool)\n"
187172  " AnimatSim::Environment::Bodies::Cone::Height(float)\n");
187173  return 0;
187174 }
187175 
187176 
187177 SWIGINTERN PyObject *_wrap_Cone_Sides__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187178  PyObject *resultobj = 0;
187180  int arg2 ;
187181  void *argp1 = 0 ;
187182  int res1 = 0 ;
187183  int val2 ;
187184  int ecode2 = 0 ;
187185  PyObject * obj0 = 0 ;
187186  PyObject * obj1 = 0 ;
187187 
187188  if (!PyArg_ParseTuple(args,(char *)"OO:Cone_Sides",&obj0,&obj1)) SWIG_fail;
187189  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
187190  if (!SWIG_IsOK(res1)) {
187191  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_Sides" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
187192  }
187193  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
187194  ecode2 = SWIG_AsVal_int(obj1, &val2);
187195  if (!SWIG_IsOK(ecode2)) {
187196  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Cone_Sides" "', argument " "2"" of type '" "int""'");
187197  }
187198  arg2 = static_cast< int >(val2);
187199  {
187200  try {
187201  (arg1)->Sides(arg2);
187202  }
187203  catch(CStdErrorInfo oError)
187204  {
187205  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187206  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
187207  PyErr_SetString(PyExc_IndexError, strError.c_str());
187208  SWIG_fail;
187209  }
187210  catch(...)
187211  {
187212  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187213  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
187214  SWIG_fail;
187215  }
187216  }
187217  resultobj = SWIG_Py_Void();
187218  return resultobj;
187219 fail:
187220  return NULL;
187221 }
187222 
187223 
187224 SWIGINTERN PyObject *_wrap_Cone_Sides__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187225  PyObject *resultobj = 0;
187227  void *argp1 = 0 ;
187228  int res1 = 0 ;
187229  PyObject * obj0 = 0 ;
187230  int result;
187231 
187232  if (!PyArg_ParseTuple(args,(char *)"O:Cone_Sides",&obj0)) SWIG_fail;
187233  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
187234  if (!SWIG_IsOK(res1)) {
187235  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_Sides" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
187236  }
187237  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
187238  {
187239  try {
187240  result = (int)(arg1)->Sides();
187241  }
187242  catch(CStdErrorInfo oError)
187243  {
187244  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187245  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
187246  PyErr_SetString(PyExc_IndexError, strError.c_str());
187247  SWIG_fail;
187248  }
187249  catch(...)
187250  {
187251  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187252  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
187253  SWIG_fail;
187254  }
187255  }
187256  resultobj = SWIG_From_int(static_cast< int >(result));
187257  return resultobj;
187258 fail:
187259  return NULL;
187260 }
187261 
187262 
187263 SWIGINTERN PyObject *_wrap_Cone_Sides(PyObject *self, PyObject *args) {
187264  int argc;
187265  PyObject *argv[3];
187266  int ii;
187267 
187268  if (!PyTuple_Check(args)) SWIG_fail;
187269  argc = args ? (int)PyObject_Length(args) : 0;
187270  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
187271  argv[ii] = PyTuple_GET_ITEM(args,ii);
187272  }
187273  if (argc == 1) {
187274  int _v;
187275  void *vptr = 0;
187276  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0);
187277  _v = SWIG_CheckState(res);
187278  if (_v) {
187279  return _wrap_Cone_Sides__SWIG_1(self, args);
187280  }
187281  }
187282  if (argc == 2) {
187283  int _v;
187284  void *vptr = 0;
187285  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0);
187286  _v = SWIG_CheckState(res);
187287  if (_v) {
187288  {
187289  int res = SWIG_AsVal_int(argv[1], NULL);
187290  _v = SWIG_CheckState(res);
187291  }
187292  if (_v) {
187293  return _wrap_Cone_Sides__SWIG_0(self, args);
187294  }
187295  }
187296  }
187297 
187298 fail:
187299  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Cone_Sides'.\n"
187300  " Possible C/C++ prototypes are:\n"
187301  " AnimatSim::Environment::Bodies::Cone::Sides(int)\n"
187302  " AnimatSim::Environment::Bodies::Cone::Sides()\n");
187303  return 0;
187304 }
187305 
187306 
187307 SWIGINTERN PyObject *_wrap_Cone_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187308  PyObject *resultobj = 0;
187310  std::string *arg2 = 0 ;
187311  std::string *arg3 = 0 ;
187312  bool arg4 ;
187313  void *argp1 = 0 ;
187314  int res1 = 0 ;
187315  int res2 = SWIG_OLDOBJ ;
187316  int res3 = SWIG_OLDOBJ ;
187317  bool val4 ;
187318  int ecode4 = 0 ;
187319  PyObject * obj0 = 0 ;
187320  PyObject * obj1 = 0 ;
187321  PyObject * obj2 = 0 ;
187322  PyObject * obj3 = 0 ;
187323  bool result;
187324 
187325  if (!PyArg_ParseTuple(args,(char *)"OOOO:Cone_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
187326  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
187327  if (!SWIG_IsOK(res1)) {
187328  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
187329  }
187330  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
187331  {
187332  std::string *ptr = (std::string *)0;
187333  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
187334  if (!SWIG_IsOK(res2)) {
187335  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Cone_SetData" "', argument " "2"" of type '" "std::string const &""'");
187336  }
187337  if (!ptr) {
187338  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Cone_SetData" "', argument " "2"" of type '" "std::string const &""'");
187339  }
187340  arg2 = ptr;
187341  }
187342  {
187343  std::string *ptr = (std::string *)0;
187344  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
187345  if (!SWIG_IsOK(res3)) {
187346  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Cone_SetData" "', argument " "3"" of type '" "std::string const &""'");
187347  }
187348  if (!ptr) {
187349  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Cone_SetData" "', argument " "3"" of type '" "std::string const &""'");
187350  }
187351  arg3 = ptr;
187352  }
187353  ecode4 = SWIG_AsVal_bool(obj3, &val4);
187354  if (!SWIG_IsOK(ecode4)) {
187355  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Cone_SetData" "', argument " "4"" of type '" "bool""'");
187356  }
187357  arg4 = static_cast< bool >(val4);
187358  {
187359  try {
187360  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
187361  }
187362  catch(CStdErrorInfo oError)
187363  {
187364  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187365  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
187366  PyErr_SetString(PyExc_IndexError, strError.c_str());
187367  SWIG_fail;
187368  }
187369  catch(...)
187370  {
187371  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187372  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
187373  SWIG_fail;
187374  }
187375  }
187376  resultobj = SWIG_From_bool(static_cast< bool >(result));
187377  if (SWIG_IsNewObj(res2)) delete arg2;
187378  if (SWIG_IsNewObj(res3)) delete arg3;
187379  return resultobj;
187380 fail:
187381  if (SWIG_IsNewObj(res2)) delete arg2;
187382  if (SWIG_IsNewObj(res3)) delete arg3;
187383  return NULL;
187384 }
187385 
187386 
187387 SWIGINTERN PyObject *_wrap_Cone_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187388  PyObject *resultobj = 0;
187390  std::string *arg2 = 0 ;
187391  std::string *arg3 = 0 ;
187392  void *argp1 = 0 ;
187393  int res1 = 0 ;
187394  int res2 = SWIG_OLDOBJ ;
187395  int res3 = SWIG_OLDOBJ ;
187396  PyObject * obj0 = 0 ;
187397  PyObject * obj1 = 0 ;
187398  PyObject * obj2 = 0 ;
187399  bool result;
187400 
187401  if (!PyArg_ParseTuple(args,(char *)"OOO:Cone_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
187402  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
187403  if (!SWIG_IsOK(res1)) {
187404  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
187405  }
187406  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
187407  {
187408  std::string *ptr = (std::string *)0;
187409  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
187410  if (!SWIG_IsOK(res2)) {
187411  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Cone_SetData" "', argument " "2"" of type '" "std::string const &""'");
187412  }
187413  if (!ptr) {
187414  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Cone_SetData" "', argument " "2"" of type '" "std::string const &""'");
187415  }
187416  arg2 = ptr;
187417  }
187418  {
187419  std::string *ptr = (std::string *)0;
187420  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
187421  if (!SWIG_IsOK(res3)) {
187422  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Cone_SetData" "', argument " "3"" of type '" "std::string const &""'");
187423  }
187424  if (!ptr) {
187425  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Cone_SetData" "', argument " "3"" of type '" "std::string const &""'");
187426  }
187427  arg3 = ptr;
187428  }
187429  {
187430  try {
187431  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
187432  }
187433  catch(CStdErrorInfo oError)
187434  {
187435  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187436  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
187437  PyErr_SetString(PyExc_IndexError, strError.c_str());
187438  SWIG_fail;
187439  }
187440  catch(...)
187441  {
187442  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187443  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
187444  SWIG_fail;
187445  }
187446  }
187447  resultobj = SWIG_From_bool(static_cast< bool >(result));
187448  if (SWIG_IsNewObj(res2)) delete arg2;
187449  if (SWIG_IsNewObj(res3)) delete arg3;
187450  return resultobj;
187451 fail:
187452  if (SWIG_IsNewObj(res2)) delete arg2;
187453  if (SWIG_IsNewObj(res3)) delete arg3;
187454  return NULL;
187455 }
187456 
187457 
187458 SWIGINTERN PyObject *_wrap_Cone_SetData(PyObject *self, PyObject *args) {
187459  int argc;
187460  PyObject *argv[5];
187461  int ii;
187462 
187463  if (!PyTuple_Check(args)) SWIG_fail;
187464  argc = args ? (int)PyObject_Length(args) : 0;
187465  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
187466  argv[ii] = PyTuple_GET_ITEM(args,ii);
187467  }
187468  if (argc == 3) {
187469  int _v;
187470  void *vptr = 0;
187471  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0);
187472  _v = SWIG_CheckState(res);
187473  if (_v) {
187474  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
187475  _v = SWIG_CheckState(res);
187476  if (_v) {
187477  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
187478  _v = SWIG_CheckState(res);
187479  if (_v) {
187480  return _wrap_Cone_SetData__SWIG_1(self, args);
187481  }
187482  }
187483  }
187484  }
187485  if (argc == 4) {
187486  int _v;
187487  void *vptr = 0;
187488  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0);
187489  _v = SWIG_CheckState(res);
187490  if (_v) {
187491  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
187492  _v = SWIG_CheckState(res);
187493  if (_v) {
187494  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
187495  _v = SWIG_CheckState(res);
187496  if (_v) {
187497  {
187498  int res = SWIG_AsVal_bool(argv[3], NULL);
187499  _v = SWIG_CheckState(res);
187500  }
187501  if (_v) {
187502  return _wrap_Cone_SetData__SWIG_0(self, args);
187503  }
187504  }
187505  }
187506  }
187507  }
187508 
187509 fail:
187510  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Cone_SetData'.\n"
187511  " Possible C/C++ prototypes are:\n"
187512  " AnimatSim::Environment::Bodies::Cone::SetData(std::string const &,std::string const &,bool)\n"
187513  " AnimatSim::Environment::Bodies::Cone::SetData(std::string const &,std::string const &)\n");
187514  return 0;
187515 }
187516 
187517 
187518 SWIGINTERN PyObject *_wrap_Cone_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187519  PyObject *resultobj = 0;
187521  CStdPtrArray< TypeProperty > *arg2 = 0 ;
187522  void *argp1 = 0 ;
187523  int res1 = 0 ;
187524  void *argp2 = 0 ;
187525  int res2 = 0 ;
187526  PyObject * obj0 = 0 ;
187527  PyObject * obj1 = 0 ;
187528 
187529  if (!PyArg_ParseTuple(args,(char *)"OO:Cone_QueryProperties",&obj0,&obj1)) SWIG_fail;
187530  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
187531  if (!SWIG_IsOK(res1)) {
187532  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
187533  }
187534  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
187535  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
187536  if (!SWIG_IsOK(res2)) {
187537  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Cone_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
187538  }
187539  if (!argp2) {
187540  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Cone_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
187541  }
187542  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
187543  {
187544  try {
187545  (arg1)->QueryProperties(*arg2);
187546  }
187547  catch(CStdErrorInfo oError)
187548  {
187549  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187550  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
187551  PyErr_SetString(PyExc_IndexError, strError.c_str());
187552  SWIG_fail;
187553  }
187554  catch(...)
187555  {
187556  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187557  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
187558  SWIG_fail;
187559  }
187560  }
187561  resultobj = SWIG_Py_Void();
187562  return resultobj;
187563 fail:
187564  return NULL;
187565 }
187566 
187567 
187568 SWIGINTERN PyObject *_wrap_Cone_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187569  PyObject *resultobj = 0;
187571  CStdXml *arg2 = 0 ;
187572  void *argp1 = 0 ;
187573  int res1 = 0 ;
187574  void *argp2 = 0 ;
187575  int res2 = 0 ;
187576  PyObject * obj0 = 0 ;
187577  PyObject * obj1 = 0 ;
187578 
187579  if (!PyArg_ParseTuple(args,(char *)"OO:Cone_Load",&obj0,&obj1)) SWIG_fail;
187580  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, 0 | 0 );
187581  if (!SWIG_IsOK(res1)) {
187582  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Cone_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Cone *""'");
187583  }
187584  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Cone * >(argp1);
187585  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
187586  if (!SWIG_IsOK(res2)) {
187587  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Cone_Load" "', argument " "2"" of type '" "CStdXml &""'");
187588  }
187589  if (!argp2) {
187590  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Cone_Load" "', argument " "2"" of type '" "CStdXml &""'");
187591  }
187592  arg2 = reinterpret_cast< CStdXml * >(argp2);
187593  {
187594  try {
187595  (arg1)->Load(*arg2);
187596  }
187597  catch(CStdErrorInfo oError)
187598  {
187599  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187600  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
187601  PyErr_SetString(PyExc_IndexError, strError.c_str());
187602  SWIG_fail;
187603  }
187604  catch(...)
187605  {
187606  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187607  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
187608  SWIG_fail;
187609  }
187610  }
187611  resultobj = SWIG_Py_Void();
187612  return resultobj;
187613 fail:
187614  return NULL;
187615 }
187616 
187617 
187618 SWIGINTERN PyObject *Cone_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187619  PyObject *obj;
187620  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
187621  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone, SWIG_NewClientData(obj));
187622  return SWIG_Py_Void();
187623 }
187624 
187625 SWIGINTERN PyObject *_wrap_new_Ellipsoid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187626  PyObject *resultobj = 0;
187628 
187629  if (!PyArg_ParseTuple(args,(char *)":new_Ellipsoid")) SWIG_fail;
187630  {
187631  try {
187633  }
187634  catch(CStdErrorInfo oError)
187635  {
187636  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187637  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
187638  PyErr_SetString(PyExc_IndexError, strError.c_str());
187639  SWIG_fail;
187640  }
187641  catch(...)
187642  {
187643  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187644  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
187645  SWIG_fail;
187646  }
187647  }
187648  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, SWIG_POINTER_NEW | 0 );
187649  return resultobj;
187650 fail:
187651  return NULL;
187652 }
187653 
187654 
187655 SWIGINTERN PyObject *_wrap_delete_Ellipsoid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187656  PyObject *resultobj = 0;
187658  void *argp1 = 0 ;
187659  int res1 = 0 ;
187660  PyObject * obj0 = 0 ;
187661 
187662  if (!PyArg_ParseTuple(args,(char *)"O:delete_Ellipsoid",&obj0)) SWIG_fail;
187663  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, SWIG_POINTER_DISOWN | 0 );
187664  if (!SWIG_IsOK(res1)) {
187665  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ellipsoid" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Ellipsoid *""'");
187666  }
187667  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Ellipsoid * >(argp1);
187668  {
187669  try {
187670  delete arg1;
187671  }
187672  catch(CStdErrorInfo oError)
187673  {
187674  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187675  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
187676  PyErr_SetString(PyExc_IndexError, strError.c_str());
187677  SWIG_fail;
187678  }
187679  catch(...)
187680  {
187681  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187682  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
187683  SWIG_fail;
187684  }
187685  }
187686  resultobj = SWIG_Py_Void();
187687  return resultobj;
187688 fail:
187689  return NULL;
187690 }
187691 
187692 
187693 SWIGINTERN PyObject *_wrap_Ellipsoid_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187694  PyObject *resultobj = 0;
187696  void *argp1 = 0 ;
187697  int res1 = 0 ;
187698  PyObject * obj0 = 0 ;
187700 
187701  if (!PyArg_ParseTuple(args,(char *)"O:Ellipsoid_CastToDerived",&obj0)) SWIG_fail;
187702  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
187703  if (!SWIG_IsOK(res1)) {
187704  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ellipsoid_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
187705  }
187706  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
187707  {
187708  try {
187709  result = (AnimatSim::Environment::Bodies::Ellipsoid *)AnimatSim::Environment::Bodies::Ellipsoid::CastToDerived(arg1);
187710  }
187711  catch(CStdErrorInfo oError)
187712  {
187713  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187714  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
187715  PyErr_SetString(PyExc_IndexError, strError.c_str());
187716  SWIG_fail;
187717  }
187718  catch(...)
187719  {
187720  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187721  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
187722  SWIG_fail;
187723  }
187724  }
187725  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0 | 0 );
187726  return resultobj;
187727 fail:
187728  return NULL;
187729 }
187730 
187731 
187732 SWIGINTERN PyObject *_wrap_Ellipsoid_MajorRadius__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187733  PyObject *resultobj = 0;
187735  void *argp1 = 0 ;
187736  int res1 = 0 ;
187737  PyObject * obj0 = 0 ;
187738  float result;
187739 
187740  if (!PyArg_ParseTuple(args,(char *)"O:Ellipsoid_MajorRadius",&obj0)) SWIG_fail;
187741  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0 | 0 );
187742  if (!SWIG_IsOK(res1)) {
187743  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ellipsoid_MajorRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Ellipsoid *""'");
187744  }
187745  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Ellipsoid * >(argp1);
187746  {
187747  try {
187748  result = (float)(arg1)->MajorRadius();
187749  }
187750  catch(CStdErrorInfo oError)
187751  {
187752  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187753  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
187754  PyErr_SetString(PyExc_IndexError, strError.c_str());
187755  SWIG_fail;
187756  }
187757  catch(...)
187758  {
187759  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187760  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
187761  SWIG_fail;
187762  }
187763  }
187764  resultobj = SWIG_From_float(static_cast< float >(result));
187765  return resultobj;
187766 fail:
187767  return NULL;
187768 }
187769 
187770 
187771 SWIGINTERN PyObject *_wrap_Ellipsoid_MajorRadius__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187772  PyObject *resultobj = 0;
187774  float arg2 ;
187775  bool arg3 ;
187776  void *argp1 = 0 ;
187777  int res1 = 0 ;
187778  float val2 ;
187779  int ecode2 = 0 ;
187780  bool val3 ;
187781  int ecode3 = 0 ;
187782  PyObject * obj0 = 0 ;
187783  PyObject * obj1 = 0 ;
187784  PyObject * obj2 = 0 ;
187785 
187786  if (!PyArg_ParseTuple(args,(char *)"OOO:Ellipsoid_MajorRadius",&obj0,&obj1,&obj2)) SWIG_fail;
187787  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0 | 0 );
187788  if (!SWIG_IsOK(res1)) {
187789  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ellipsoid_MajorRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Ellipsoid *""'");
187790  }
187791  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Ellipsoid * >(argp1);
187792  ecode2 = SWIG_AsVal_float(obj1, &val2);
187793  if (!SWIG_IsOK(ecode2)) {
187794  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ellipsoid_MajorRadius" "', argument " "2"" of type '" "float""'");
187795  }
187796  arg2 = static_cast< float >(val2);
187797  ecode3 = SWIG_AsVal_bool(obj2, &val3);
187798  if (!SWIG_IsOK(ecode3)) {
187799  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Ellipsoid_MajorRadius" "', argument " "3"" of type '" "bool""'");
187800  }
187801  arg3 = static_cast< bool >(val3);
187802  {
187803  try {
187804  (arg1)->MajorRadius(arg2,arg3);
187805  }
187806  catch(CStdErrorInfo oError)
187807  {
187808  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187809  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
187810  PyErr_SetString(PyExc_IndexError, strError.c_str());
187811  SWIG_fail;
187812  }
187813  catch(...)
187814  {
187815  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187816  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
187817  SWIG_fail;
187818  }
187819  }
187820  resultobj = SWIG_Py_Void();
187821  return resultobj;
187822 fail:
187823  return NULL;
187824 }
187825 
187826 
187827 SWIGINTERN PyObject *_wrap_Ellipsoid_MajorRadius__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187828  PyObject *resultobj = 0;
187830  float arg2 ;
187831  void *argp1 = 0 ;
187832  int res1 = 0 ;
187833  float val2 ;
187834  int ecode2 = 0 ;
187835  PyObject * obj0 = 0 ;
187836  PyObject * obj1 = 0 ;
187837 
187838  if (!PyArg_ParseTuple(args,(char *)"OO:Ellipsoid_MajorRadius",&obj0,&obj1)) SWIG_fail;
187839  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0 | 0 );
187840  if (!SWIG_IsOK(res1)) {
187841  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ellipsoid_MajorRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Ellipsoid *""'");
187842  }
187843  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Ellipsoid * >(argp1);
187844  ecode2 = SWIG_AsVal_float(obj1, &val2);
187845  if (!SWIG_IsOK(ecode2)) {
187846  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ellipsoid_MajorRadius" "', argument " "2"" of type '" "float""'");
187847  }
187848  arg2 = static_cast< float >(val2);
187849  {
187850  try {
187851  (arg1)->MajorRadius(arg2);
187852  }
187853  catch(CStdErrorInfo oError)
187854  {
187855  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187856  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
187857  PyErr_SetString(PyExc_IndexError, strError.c_str());
187858  SWIG_fail;
187859  }
187860  catch(...)
187861  {
187862  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187863  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
187864  SWIG_fail;
187865  }
187866  }
187867  resultobj = SWIG_Py_Void();
187868  return resultobj;
187869 fail:
187870  return NULL;
187871 }
187872 
187873 
187874 SWIGINTERN PyObject *_wrap_Ellipsoid_MajorRadius(PyObject *self, PyObject *args) {
187875  int argc;
187876  PyObject *argv[4];
187877  int ii;
187878 
187879  if (!PyTuple_Check(args)) SWIG_fail;
187880  argc = args ? (int)PyObject_Length(args) : 0;
187881  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
187882  argv[ii] = PyTuple_GET_ITEM(args,ii);
187883  }
187884  if (argc == 1) {
187885  int _v;
187886  void *vptr = 0;
187887  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0);
187888  _v = SWIG_CheckState(res);
187889  if (_v) {
187890  return _wrap_Ellipsoid_MajorRadius__SWIG_0(self, args);
187891  }
187892  }
187893  if (argc == 2) {
187894  int _v;
187895  void *vptr = 0;
187896  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0);
187897  _v = SWIG_CheckState(res);
187898  if (_v) {
187899  {
187900  int res = SWIG_AsVal_float(argv[1], NULL);
187901  _v = SWIG_CheckState(res);
187902  }
187903  if (_v) {
187904  return _wrap_Ellipsoid_MajorRadius__SWIG_2(self, args);
187905  }
187906  }
187907  }
187908  if (argc == 3) {
187909  int _v;
187910  void *vptr = 0;
187911  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0);
187912  _v = SWIG_CheckState(res);
187913  if (_v) {
187914  {
187915  int res = SWIG_AsVal_float(argv[1], NULL);
187916  _v = SWIG_CheckState(res);
187917  }
187918  if (_v) {
187919  {
187920  int res = SWIG_AsVal_bool(argv[2], NULL);
187921  _v = SWIG_CheckState(res);
187922  }
187923  if (_v) {
187924  return _wrap_Ellipsoid_MajorRadius__SWIG_1(self, args);
187925  }
187926  }
187927  }
187928  }
187929 
187930 fail:
187931  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Ellipsoid_MajorRadius'.\n"
187932  " Possible C/C++ prototypes are:\n"
187933  " AnimatSim::Environment::Bodies::Ellipsoid::MajorRadius()\n"
187934  " AnimatSim::Environment::Bodies::Ellipsoid::MajorRadius(float,bool)\n"
187935  " AnimatSim::Environment::Bodies::Ellipsoid::MajorRadius(float)\n");
187936  return 0;
187937 }
187938 
187939 
187940 SWIGINTERN PyObject *_wrap_Ellipsoid_MinorRadius__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187941  PyObject *resultobj = 0;
187943  void *argp1 = 0 ;
187944  int res1 = 0 ;
187945  PyObject * obj0 = 0 ;
187946  float result;
187947 
187948  if (!PyArg_ParseTuple(args,(char *)"O:Ellipsoid_MinorRadius",&obj0)) SWIG_fail;
187949  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0 | 0 );
187950  if (!SWIG_IsOK(res1)) {
187951  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ellipsoid_MinorRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Ellipsoid *""'");
187952  }
187953  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Ellipsoid * >(argp1);
187954  {
187955  try {
187956  result = (float)(arg1)->MinorRadius();
187957  }
187958  catch(CStdErrorInfo oError)
187959  {
187960  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187961  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
187962  PyErr_SetString(PyExc_IndexError, strError.c_str());
187963  SWIG_fail;
187964  }
187965  catch(...)
187966  {
187967  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
187968  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
187969  SWIG_fail;
187970  }
187971  }
187972  resultobj = SWIG_From_float(static_cast< float >(result));
187973  return resultobj;
187974 fail:
187975  return NULL;
187976 }
187977 
187978 
187979 SWIGINTERN PyObject *_wrap_Ellipsoid_MinorRadius__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
187980  PyObject *resultobj = 0;
187982  float arg2 ;
187983  bool arg3 ;
187984  void *argp1 = 0 ;
187985  int res1 = 0 ;
187986  float val2 ;
187987  int ecode2 = 0 ;
187988  bool val3 ;
187989  int ecode3 = 0 ;
187990  PyObject * obj0 = 0 ;
187991  PyObject * obj1 = 0 ;
187992  PyObject * obj2 = 0 ;
187993 
187994  if (!PyArg_ParseTuple(args,(char *)"OOO:Ellipsoid_MinorRadius",&obj0,&obj1,&obj2)) SWIG_fail;
187995  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0 | 0 );
187996  if (!SWIG_IsOK(res1)) {
187997  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ellipsoid_MinorRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Ellipsoid *""'");
187998  }
187999  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Ellipsoid * >(argp1);
188000  ecode2 = SWIG_AsVal_float(obj1, &val2);
188001  if (!SWIG_IsOK(ecode2)) {
188002  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ellipsoid_MinorRadius" "', argument " "2"" of type '" "float""'");
188003  }
188004  arg2 = static_cast< float >(val2);
188005  ecode3 = SWIG_AsVal_bool(obj2, &val3);
188006  if (!SWIG_IsOK(ecode3)) {
188007  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Ellipsoid_MinorRadius" "', argument " "3"" of type '" "bool""'");
188008  }
188009  arg3 = static_cast< bool >(val3);
188010  {
188011  try {
188012  (arg1)->MinorRadius(arg2,arg3);
188013  }
188014  catch(CStdErrorInfo oError)
188015  {
188016  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188017  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188018  PyErr_SetString(PyExc_IndexError, strError.c_str());
188019  SWIG_fail;
188020  }
188021  catch(...)
188022  {
188023  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188024  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188025  SWIG_fail;
188026  }
188027  }
188028  resultobj = SWIG_Py_Void();
188029  return resultobj;
188030 fail:
188031  return NULL;
188032 }
188033 
188034 
188035 SWIGINTERN PyObject *_wrap_Ellipsoid_MinorRadius__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188036  PyObject *resultobj = 0;
188038  float arg2 ;
188039  void *argp1 = 0 ;
188040  int res1 = 0 ;
188041  float val2 ;
188042  int ecode2 = 0 ;
188043  PyObject * obj0 = 0 ;
188044  PyObject * obj1 = 0 ;
188045 
188046  if (!PyArg_ParseTuple(args,(char *)"OO:Ellipsoid_MinorRadius",&obj0,&obj1)) SWIG_fail;
188047  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0 | 0 );
188048  if (!SWIG_IsOK(res1)) {
188049  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ellipsoid_MinorRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Ellipsoid *""'");
188050  }
188051  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Ellipsoid * >(argp1);
188052  ecode2 = SWIG_AsVal_float(obj1, &val2);
188053  if (!SWIG_IsOK(ecode2)) {
188054  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ellipsoid_MinorRadius" "', argument " "2"" of type '" "float""'");
188055  }
188056  arg2 = static_cast< float >(val2);
188057  {
188058  try {
188059  (arg1)->MinorRadius(arg2);
188060  }
188061  catch(CStdErrorInfo oError)
188062  {
188063  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188064  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188065  PyErr_SetString(PyExc_IndexError, strError.c_str());
188066  SWIG_fail;
188067  }
188068  catch(...)
188069  {
188070  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188071  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188072  SWIG_fail;
188073  }
188074  }
188075  resultobj = SWIG_Py_Void();
188076  return resultobj;
188077 fail:
188078  return NULL;
188079 }
188080 
188081 
188082 SWIGINTERN PyObject *_wrap_Ellipsoid_MinorRadius(PyObject *self, PyObject *args) {
188083  int argc;
188084  PyObject *argv[4];
188085  int ii;
188086 
188087  if (!PyTuple_Check(args)) SWIG_fail;
188088  argc = args ? (int)PyObject_Length(args) : 0;
188089  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
188090  argv[ii] = PyTuple_GET_ITEM(args,ii);
188091  }
188092  if (argc == 1) {
188093  int _v;
188094  void *vptr = 0;
188095  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0);
188096  _v = SWIG_CheckState(res);
188097  if (_v) {
188098  return _wrap_Ellipsoid_MinorRadius__SWIG_0(self, args);
188099  }
188100  }
188101  if (argc == 2) {
188102  int _v;
188103  void *vptr = 0;
188104  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0);
188105  _v = SWIG_CheckState(res);
188106  if (_v) {
188107  {
188108  int res = SWIG_AsVal_float(argv[1], NULL);
188109  _v = SWIG_CheckState(res);
188110  }
188111  if (_v) {
188112  return _wrap_Ellipsoid_MinorRadius__SWIG_2(self, args);
188113  }
188114  }
188115  }
188116  if (argc == 3) {
188117  int _v;
188118  void *vptr = 0;
188119  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0);
188120  _v = SWIG_CheckState(res);
188121  if (_v) {
188122  {
188123  int res = SWIG_AsVal_float(argv[1], NULL);
188124  _v = SWIG_CheckState(res);
188125  }
188126  if (_v) {
188127  {
188128  int res = SWIG_AsVal_bool(argv[2], NULL);
188129  _v = SWIG_CheckState(res);
188130  }
188131  if (_v) {
188132  return _wrap_Ellipsoid_MinorRadius__SWIG_1(self, args);
188133  }
188134  }
188135  }
188136  }
188137 
188138 fail:
188139  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Ellipsoid_MinorRadius'.\n"
188140  " Possible C/C++ prototypes are:\n"
188141  " AnimatSim::Environment::Bodies::Ellipsoid::MinorRadius()\n"
188142  " AnimatSim::Environment::Bodies::Ellipsoid::MinorRadius(float,bool)\n"
188143  " AnimatSim::Environment::Bodies::Ellipsoid::MinorRadius(float)\n");
188144  return 0;
188145 }
188146 
188147 
188148 SWIGINTERN PyObject *_wrap_Ellipsoid_LatSegments__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188149  PyObject *resultobj = 0;
188151  void *argp1 = 0 ;
188152  int res1 = 0 ;
188153  PyObject * obj0 = 0 ;
188154  int result;
188155 
188156  if (!PyArg_ParseTuple(args,(char *)"O:Ellipsoid_LatSegments",&obj0)) SWIG_fail;
188157  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0 | 0 );
188158  if (!SWIG_IsOK(res1)) {
188159  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ellipsoid_LatSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Ellipsoid *""'");
188160  }
188161  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Ellipsoid * >(argp1);
188162  {
188163  try {
188164  result = (int)(arg1)->LatSegments();
188165  }
188166  catch(CStdErrorInfo oError)
188167  {
188168  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188169  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188170  PyErr_SetString(PyExc_IndexError, strError.c_str());
188171  SWIG_fail;
188172  }
188173  catch(...)
188174  {
188175  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188176  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188177  SWIG_fail;
188178  }
188179  }
188180  resultobj = SWIG_From_int(static_cast< int >(result));
188181  return resultobj;
188182 fail:
188183  return NULL;
188184 }
188185 
188186 
188187 SWIGINTERN PyObject *_wrap_Ellipsoid_LatSegments__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188188  PyObject *resultobj = 0;
188190  int arg2 ;
188191  void *argp1 = 0 ;
188192  int res1 = 0 ;
188193  int val2 ;
188194  int ecode2 = 0 ;
188195  PyObject * obj0 = 0 ;
188196  PyObject * obj1 = 0 ;
188197 
188198  if (!PyArg_ParseTuple(args,(char *)"OO:Ellipsoid_LatSegments",&obj0,&obj1)) SWIG_fail;
188199  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0 | 0 );
188200  if (!SWIG_IsOK(res1)) {
188201  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ellipsoid_LatSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Ellipsoid *""'");
188202  }
188203  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Ellipsoid * >(argp1);
188204  ecode2 = SWIG_AsVal_int(obj1, &val2);
188205  if (!SWIG_IsOK(ecode2)) {
188206  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ellipsoid_LatSegments" "', argument " "2"" of type '" "int""'");
188207  }
188208  arg2 = static_cast< int >(val2);
188209  {
188210  try {
188211  (arg1)->LatSegments(arg2);
188212  }
188213  catch(CStdErrorInfo oError)
188214  {
188215  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188216  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188217  PyErr_SetString(PyExc_IndexError, strError.c_str());
188218  SWIG_fail;
188219  }
188220  catch(...)
188221  {
188222  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188223  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188224  SWIG_fail;
188225  }
188226  }
188227  resultobj = SWIG_Py_Void();
188228  return resultobj;
188229 fail:
188230  return NULL;
188231 }
188232 
188233 
188234 SWIGINTERN PyObject *_wrap_Ellipsoid_LatSegments(PyObject *self, PyObject *args) {
188235  int argc;
188236  PyObject *argv[3];
188237  int ii;
188238 
188239  if (!PyTuple_Check(args)) SWIG_fail;
188240  argc = args ? (int)PyObject_Length(args) : 0;
188241  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
188242  argv[ii] = PyTuple_GET_ITEM(args,ii);
188243  }
188244  if (argc == 1) {
188245  int _v;
188246  void *vptr = 0;
188247  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0);
188248  _v = SWIG_CheckState(res);
188249  if (_v) {
188250  return _wrap_Ellipsoid_LatSegments__SWIG_0(self, args);
188251  }
188252  }
188253  if (argc == 2) {
188254  int _v;
188255  void *vptr = 0;
188256  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0);
188257  _v = SWIG_CheckState(res);
188258  if (_v) {
188259  {
188260  int res = SWIG_AsVal_int(argv[1], NULL);
188261  _v = SWIG_CheckState(res);
188262  }
188263  if (_v) {
188264  return _wrap_Ellipsoid_LatSegments__SWIG_1(self, args);
188265  }
188266  }
188267  }
188268 
188269 fail:
188270  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Ellipsoid_LatSegments'.\n"
188271  " Possible C/C++ prototypes are:\n"
188272  " AnimatSim::Environment::Bodies::Ellipsoid::LatSegments()\n"
188273  " AnimatSim::Environment::Bodies::Ellipsoid::LatSegments(int)\n");
188274  return 0;
188275 }
188276 
188277 
188278 SWIGINTERN PyObject *_wrap_Ellipsoid_LongSegments__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188279  PyObject *resultobj = 0;
188281  int arg2 ;
188282  void *argp1 = 0 ;
188283  int res1 = 0 ;
188284  int val2 ;
188285  int ecode2 = 0 ;
188286  PyObject * obj0 = 0 ;
188287  PyObject * obj1 = 0 ;
188288 
188289  if (!PyArg_ParseTuple(args,(char *)"OO:Ellipsoid_LongSegments",&obj0,&obj1)) SWIG_fail;
188290  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0 | 0 );
188291  if (!SWIG_IsOK(res1)) {
188292  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ellipsoid_LongSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Ellipsoid *""'");
188293  }
188294  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Ellipsoid * >(argp1);
188295  ecode2 = SWIG_AsVal_int(obj1, &val2);
188296  if (!SWIG_IsOK(ecode2)) {
188297  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ellipsoid_LongSegments" "', argument " "2"" of type '" "int""'");
188298  }
188299  arg2 = static_cast< int >(val2);
188300  {
188301  try {
188302  (arg1)->LongSegments(arg2);
188303  }
188304  catch(CStdErrorInfo oError)
188305  {
188306  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188307  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188308  PyErr_SetString(PyExc_IndexError, strError.c_str());
188309  SWIG_fail;
188310  }
188311  catch(...)
188312  {
188313  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188314  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188315  SWIG_fail;
188316  }
188317  }
188318  resultobj = SWIG_Py_Void();
188319  return resultobj;
188320 fail:
188321  return NULL;
188322 }
188323 
188324 
188325 SWIGINTERN PyObject *_wrap_Ellipsoid_LongSegments__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188326  PyObject *resultobj = 0;
188328  void *argp1 = 0 ;
188329  int res1 = 0 ;
188330  PyObject * obj0 = 0 ;
188331  int result;
188332 
188333  if (!PyArg_ParseTuple(args,(char *)"O:Ellipsoid_LongSegments",&obj0)) SWIG_fail;
188334  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0 | 0 );
188335  if (!SWIG_IsOK(res1)) {
188336  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ellipsoid_LongSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Ellipsoid *""'");
188337  }
188338  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Ellipsoid * >(argp1);
188339  {
188340  try {
188341  result = (int)(arg1)->LongSegments();
188342  }
188343  catch(CStdErrorInfo oError)
188344  {
188345  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188346  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188347  PyErr_SetString(PyExc_IndexError, strError.c_str());
188348  SWIG_fail;
188349  }
188350  catch(...)
188351  {
188352  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188353  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188354  SWIG_fail;
188355  }
188356  }
188357  resultobj = SWIG_From_int(static_cast< int >(result));
188358  return resultobj;
188359 fail:
188360  return NULL;
188361 }
188362 
188363 
188364 SWIGINTERN PyObject *_wrap_Ellipsoid_LongSegments(PyObject *self, PyObject *args) {
188365  int argc;
188366  PyObject *argv[3];
188367  int ii;
188368 
188369  if (!PyTuple_Check(args)) SWIG_fail;
188370  argc = args ? (int)PyObject_Length(args) : 0;
188371  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
188372  argv[ii] = PyTuple_GET_ITEM(args,ii);
188373  }
188374  if (argc == 1) {
188375  int _v;
188376  void *vptr = 0;
188377  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0);
188378  _v = SWIG_CheckState(res);
188379  if (_v) {
188380  return _wrap_Ellipsoid_LongSegments__SWIG_1(self, args);
188381  }
188382  }
188383  if (argc == 2) {
188384  int _v;
188385  void *vptr = 0;
188386  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0);
188387  _v = SWIG_CheckState(res);
188388  if (_v) {
188389  {
188390  int res = SWIG_AsVal_int(argv[1], NULL);
188391  _v = SWIG_CheckState(res);
188392  }
188393  if (_v) {
188394  return _wrap_Ellipsoid_LongSegments__SWIG_0(self, args);
188395  }
188396  }
188397  }
188398 
188399 fail:
188400  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Ellipsoid_LongSegments'.\n"
188401  " Possible C/C++ prototypes are:\n"
188402  " AnimatSim::Environment::Bodies::Ellipsoid::LongSegments(int)\n"
188403  " AnimatSim::Environment::Bodies::Ellipsoid::LongSegments()\n");
188404  return 0;
188405 }
188406 
188407 
188408 SWIGINTERN PyObject *_wrap_Ellipsoid_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188409  PyObject *resultobj = 0;
188411  std::string *arg2 = 0 ;
188412  std::string *arg3 = 0 ;
188413  bool arg4 ;
188414  void *argp1 = 0 ;
188415  int res1 = 0 ;
188416  int res2 = SWIG_OLDOBJ ;
188417  int res3 = SWIG_OLDOBJ ;
188418  bool val4 ;
188419  int ecode4 = 0 ;
188420  PyObject * obj0 = 0 ;
188421  PyObject * obj1 = 0 ;
188422  PyObject * obj2 = 0 ;
188423  PyObject * obj3 = 0 ;
188424  bool result;
188425 
188426  if (!PyArg_ParseTuple(args,(char *)"OOOO:Ellipsoid_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
188427  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0 | 0 );
188428  if (!SWIG_IsOK(res1)) {
188429  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ellipsoid_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Ellipsoid *""'");
188430  }
188431  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Ellipsoid * >(argp1);
188432  {
188433  std::string *ptr = (std::string *)0;
188434  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
188435  if (!SWIG_IsOK(res2)) {
188436  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Ellipsoid_SetData" "', argument " "2"" of type '" "std::string const &""'");
188437  }
188438  if (!ptr) {
188439  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Ellipsoid_SetData" "', argument " "2"" of type '" "std::string const &""'");
188440  }
188441  arg2 = ptr;
188442  }
188443  {
188444  std::string *ptr = (std::string *)0;
188445  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
188446  if (!SWIG_IsOK(res3)) {
188447  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ellipsoid_SetData" "', argument " "3"" of type '" "std::string const &""'");
188448  }
188449  if (!ptr) {
188450  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Ellipsoid_SetData" "', argument " "3"" of type '" "std::string const &""'");
188451  }
188452  arg3 = ptr;
188453  }
188454  ecode4 = SWIG_AsVal_bool(obj3, &val4);
188455  if (!SWIG_IsOK(ecode4)) {
188456  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Ellipsoid_SetData" "', argument " "4"" of type '" "bool""'");
188457  }
188458  arg4 = static_cast< bool >(val4);
188459  {
188460  try {
188461  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
188462  }
188463  catch(CStdErrorInfo oError)
188464  {
188465  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188466  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188467  PyErr_SetString(PyExc_IndexError, strError.c_str());
188468  SWIG_fail;
188469  }
188470  catch(...)
188471  {
188472  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188473  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188474  SWIG_fail;
188475  }
188476  }
188477  resultobj = SWIG_From_bool(static_cast< bool >(result));
188478  if (SWIG_IsNewObj(res2)) delete arg2;
188479  if (SWIG_IsNewObj(res3)) delete arg3;
188480  return resultobj;
188481 fail:
188482  if (SWIG_IsNewObj(res2)) delete arg2;
188483  if (SWIG_IsNewObj(res3)) delete arg3;
188484  return NULL;
188485 }
188486 
188487 
188488 SWIGINTERN PyObject *_wrap_Ellipsoid_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188489  PyObject *resultobj = 0;
188491  std::string *arg2 = 0 ;
188492  std::string *arg3 = 0 ;
188493  void *argp1 = 0 ;
188494  int res1 = 0 ;
188495  int res2 = SWIG_OLDOBJ ;
188496  int res3 = SWIG_OLDOBJ ;
188497  PyObject * obj0 = 0 ;
188498  PyObject * obj1 = 0 ;
188499  PyObject * obj2 = 0 ;
188500  bool result;
188501 
188502  if (!PyArg_ParseTuple(args,(char *)"OOO:Ellipsoid_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
188503  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0 | 0 );
188504  if (!SWIG_IsOK(res1)) {
188505  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ellipsoid_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Ellipsoid *""'");
188506  }
188507  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Ellipsoid * >(argp1);
188508  {
188509  std::string *ptr = (std::string *)0;
188510  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
188511  if (!SWIG_IsOK(res2)) {
188512  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Ellipsoid_SetData" "', argument " "2"" of type '" "std::string const &""'");
188513  }
188514  if (!ptr) {
188515  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Ellipsoid_SetData" "', argument " "2"" of type '" "std::string const &""'");
188516  }
188517  arg2 = ptr;
188518  }
188519  {
188520  std::string *ptr = (std::string *)0;
188521  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
188522  if (!SWIG_IsOK(res3)) {
188523  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ellipsoid_SetData" "', argument " "3"" of type '" "std::string const &""'");
188524  }
188525  if (!ptr) {
188526  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Ellipsoid_SetData" "', argument " "3"" of type '" "std::string const &""'");
188527  }
188528  arg3 = ptr;
188529  }
188530  {
188531  try {
188532  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
188533  }
188534  catch(CStdErrorInfo oError)
188535  {
188536  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188537  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188538  PyErr_SetString(PyExc_IndexError, strError.c_str());
188539  SWIG_fail;
188540  }
188541  catch(...)
188542  {
188543  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188544  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188545  SWIG_fail;
188546  }
188547  }
188548  resultobj = SWIG_From_bool(static_cast< bool >(result));
188549  if (SWIG_IsNewObj(res2)) delete arg2;
188550  if (SWIG_IsNewObj(res3)) delete arg3;
188551  return resultobj;
188552 fail:
188553  if (SWIG_IsNewObj(res2)) delete arg2;
188554  if (SWIG_IsNewObj(res3)) delete arg3;
188555  return NULL;
188556 }
188557 
188558 
188559 SWIGINTERN PyObject *_wrap_Ellipsoid_SetData(PyObject *self, PyObject *args) {
188560  int argc;
188561  PyObject *argv[5];
188562  int ii;
188563 
188564  if (!PyTuple_Check(args)) SWIG_fail;
188565  argc = args ? (int)PyObject_Length(args) : 0;
188566  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
188567  argv[ii] = PyTuple_GET_ITEM(args,ii);
188568  }
188569  if (argc == 3) {
188570  int _v;
188571  void *vptr = 0;
188572  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0);
188573  _v = SWIG_CheckState(res);
188574  if (_v) {
188575  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
188576  _v = SWIG_CheckState(res);
188577  if (_v) {
188578  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
188579  _v = SWIG_CheckState(res);
188580  if (_v) {
188581  return _wrap_Ellipsoid_SetData__SWIG_1(self, args);
188582  }
188583  }
188584  }
188585  }
188586  if (argc == 4) {
188587  int _v;
188588  void *vptr = 0;
188589  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0);
188590  _v = SWIG_CheckState(res);
188591  if (_v) {
188592  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
188593  _v = SWIG_CheckState(res);
188594  if (_v) {
188595  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
188596  _v = SWIG_CheckState(res);
188597  if (_v) {
188598  {
188599  int res = SWIG_AsVal_bool(argv[3], NULL);
188600  _v = SWIG_CheckState(res);
188601  }
188602  if (_v) {
188603  return _wrap_Ellipsoid_SetData__SWIG_0(self, args);
188604  }
188605  }
188606  }
188607  }
188608  }
188609 
188610 fail:
188611  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Ellipsoid_SetData'.\n"
188612  " Possible C/C++ prototypes are:\n"
188613  " AnimatSim::Environment::Bodies::Ellipsoid::SetData(std::string const &,std::string const &,bool)\n"
188614  " AnimatSim::Environment::Bodies::Ellipsoid::SetData(std::string const &,std::string const &)\n");
188615  return 0;
188616 }
188617 
188618 
188619 SWIGINTERN PyObject *_wrap_Ellipsoid_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188620  PyObject *resultobj = 0;
188622  CStdPtrArray< TypeProperty > *arg2 = 0 ;
188623  void *argp1 = 0 ;
188624  int res1 = 0 ;
188625  void *argp2 = 0 ;
188626  int res2 = 0 ;
188627  PyObject * obj0 = 0 ;
188628  PyObject * obj1 = 0 ;
188629 
188630  if (!PyArg_ParseTuple(args,(char *)"OO:Ellipsoid_QueryProperties",&obj0,&obj1)) SWIG_fail;
188631  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0 | 0 );
188632  if (!SWIG_IsOK(res1)) {
188633  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ellipsoid_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Ellipsoid *""'");
188634  }
188635  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Ellipsoid * >(argp1);
188636  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
188637  if (!SWIG_IsOK(res2)) {
188638  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Ellipsoid_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
188639  }
188640  if (!argp2) {
188641  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Ellipsoid_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
188642  }
188643  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
188644  {
188645  try {
188646  (arg1)->QueryProperties(*arg2);
188647  }
188648  catch(CStdErrorInfo oError)
188649  {
188650  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188651  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188652  PyErr_SetString(PyExc_IndexError, strError.c_str());
188653  SWIG_fail;
188654  }
188655  catch(...)
188656  {
188657  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188658  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188659  SWIG_fail;
188660  }
188661  }
188662  resultobj = SWIG_Py_Void();
188663  return resultobj;
188664 fail:
188665  return NULL;
188666 }
188667 
188668 
188669 SWIGINTERN PyObject *_wrap_Ellipsoid_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188670  PyObject *resultobj = 0;
188672  CStdXml *arg2 = 0 ;
188673  void *argp1 = 0 ;
188674  int res1 = 0 ;
188675  void *argp2 = 0 ;
188676  int res2 = 0 ;
188677  PyObject * obj0 = 0 ;
188678  PyObject * obj1 = 0 ;
188679 
188680  if (!PyArg_ParseTuple(args,(char *)"OO:Ellipsoid_Load",&obj0,&obj1)) SWIG_fail;
188681  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, 0 | 0 );
188682  if (!SWIG_IsOK(res1)) {
188683  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ellipsoid_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Ellipsoid *""'");
188684  }
188685  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Ellipsoid * >(argp1);
188686  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
188687  if (!SWIG_IsOK(res2)) {
188688  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Ellipsoid_Load" "', argument " "2"" of type '" "CStdXml &""'");
188689  }
188690  if (!argp2) {
188691  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Ellipsoid_Load" "', argument " "2"" of type '" "CStdXml &""'");
188692  }
188693  arg2 = reinterpret_cast< CStdXml * >(argp2);
188694  {
188695  try {
188696  (arg1)->Load(*arg2);
188697  }
188698  catch(CStdErrorInfo oError)
188699  {
188700  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188701  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188702  PyErr_SetString(PyExc_IndexError, strError.c_str());
188703  SWIG_fail;
188704  }
188705  catch(...)
188706  {
188707  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188708  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188709  SWIG_fail;
188710  }
188711  }
188712  resultobj = SWIG_Py_Void();
188713  return resultobj;
188714 fail:
188715  return NULL;
188716 }
188717 
188718 
188719 SWIGINTERN PyObject *Ellipsoid_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188720  PyObject *obj;
188721  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
188722  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid, SWIG_NewClientData(obj));
188723  return SWIG_Py_Void();
188724 }
188725 
188726 SWIGINTERN PyObject *_wrap_new_Torus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188727  PyObject *resultobj = 0;
188729 
188730  if (!PyArg_ParseTuple(args,(char *)":new_Torus")) SWIG_fail;
188731  {
188732  try {
188734  }
188735  catch(CStdErrorInfo oError)
188736  {
188737  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188738  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188739  PyErr_SetString(PyExc_IndexError, strError.c_str());
188740  SWIG_fail;
188741  }
188742  catch(...)
188743  {
188744  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188745  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188746  SWIG_fail;
188747  }
188748  }
188749  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, SWIG_POINTER_NEW | 0 );
188750  return resultobj;
188751 fail:
188752  return NULL;
188753 }
188754 
188755 
188756 SWIGINTERN PyObject *_wrap_delete_Torus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188757  PyObject *resultobj = 0;
188759  void *argp1 = 0 ;
188760  int res1 = 0 ;
188761  PyObject * obj0 = 0 ;
188762 
188763  if (!PyArg_ParseTuple(args,(char *)"O:delete_Torus",&obj0)) SWIG_fail;
188764  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, SWIG_POINTER_DISOWN | 0 );
188765  if (!SWIG_IsOK(res1)) {
188766  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Torus" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Torus *""'");
188767  }
188768  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Torus * >(argp1);
188769  {
188770  try {
188771  delete arg1;
188772  }
188773  catch(CStdErrorInfo oError)
188774  {
188775  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188776  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188777  PyErr_SetString(PyExc_IndexError, strError.c_str());
188778  SWIG_fail;
188779  }
188780  catch(...)
188781  {
188782  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188783  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188784  SWIG_fail;
188785  }
188786  }
188787  resultobj = SWIG_Py_Void();
188788  return resultobj;
188789 fail:
188790  return NULL;
188791 }
188792 
188793 
188794 SWIGINTERN PyObject *_wrap_Torus_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188795  PyObject *resultobj = 0;
188797  void *argp1 = 0 ;
188798  int res1 = 0 ;
188799  PyObject * obj0 = 0 ;
188801 
188802  if (!PyArg_ParseTuple(args,(char *)"O:Torus_CastToDerived",&obj0)) SWIG_fail;
188803  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
188804  if (!SWIG_IsOK(res1)) {
188805  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Torus_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
188806  }
188807  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
188808  {
188809  try {
188810  result = (AnimatSim::Environment::Bodies::Torus *)AnimatSim::Environment::Bodies::Torus::CastToDerived(arg1);
188811  }
188812  catch(CStdErrorInfo oError)
188813  {
188814  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188815  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188816  PyErr_SetString(PyExc_IndexError, strError.c_str());
188817  SWIG_fail;
188818  }
188819  catch(...)
188820  {
188821  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188822  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188823  SWIG_fail;
188824  }
188825  }
188826  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0 | 0 );
188827  return resultobj;
188828 fail:
188829  return NULL;
188830 }
188831 
188832 
188833 SWIGINTERN PyObject *_wrap_Torus_OutsideRadius__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188834  PyObject *resultobj = 0;
188836  void *argp1 = 0 ;
188837  int res1 = 0 ;
188838  PyObject * obj0 = 0 ;
188839  float result;
188840 
188841  if (!PyArg_ParseTuple(args,(char *)"O:Torus_OutsideRadius",&obj0)) SWIG_fail;
188842  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0 | 0 );
188843  if (!SWIG_IsOK(res1)) {
188844  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Torus_OutsideRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Torus *""'");
188845  }
188846  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Torus * >(argp1);
188847  {
188848  try {
188849  result = (float)(arg1)->OutsideRadius();
188850  }
188851  catch(CStdErrorInfo oError)
188852  {
188853  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188854  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188855  PyErr_SetString(PyExc_IndexError, strError.c_str());
188856  SWIG_fail;
188857  }
188858  catch(...)
188859  {
188860  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188861  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188862  SWIG_fail;
188863  }
188864  }
188865  resultobj = SWIG_From_float(static_cast< float >(result));
188866  return resultobj;
188867 fail:
188868  return NULL;
188869 }
188870 
188871 
188872 SWIGINTERN PyObject *_wrap_Torus_OutsideRadius__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188873  PyObject *resultobj = 0;
188875  float arg2 ;
188876  bool arg3 ;
188877  void *argp1 = 0 ;
188878  int res1 = 0 ;
188879  float val2 ;
188880  int ecode2 = 0 ;
188881  bool val3 ;
188882  int ecode3 = 0 ;
188883  PyObject * obj0 = 0 ;
188884  PyObject * obj1 = 0 ;
188885  PyObject * obj2 = 0 ;
188886 
188887  if (!PyArg_ParseTuple(args,(char *)"OOO:Torus_OutsideRadius",&obj0,&obj1,&obj2)) SWIG_fail;
188888  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0 | 0 );
188889  if (!SWIG_IsOK(res1)) {
188890  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Torus_OutsideRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Torus *""'");
188891  }
188892  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Torus * >(argp1);
188893  ecode2 = SWIG_AsVal_float(obj1, &val2);
188894  if (!SWIG_IsOK(ecode2)) {
188895  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Torus_OutsideRadius" "', argument " "2"" of type '" "float""'");
188896  }
188897  arg2 = static_cast< float >(val2);
188898  ecode3 = SWIG_AsVal_bool(obj2, &val3);
188899  if (!SWIG_IsOK(ecode3)) {
188900  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Torus_OutsideRadius" "', argument " "3"" of type '" "bool""'");
188901  }
188902  arg3 = static_cast< bool >(val3);
188903  {
188904  try {
188905  (arg1)->OutsideRadius(arg2,arg3);
188906  }
188907  catch(CStdErrorInfo oError)
188908  {
188909  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188910  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188911  PyErr_SetString(PyExc_IndexError, strError.c_str());
188912  SWIG_fail;
188913  }
188914  catch(...)
188915  {
188916  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188917  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188918  SWIG_fail;
188919  }
188920  }
188921  resultobj = SWIG_Py_Void();
188922  return resultobj;
188923 fail:
188924  return NULL;
188925 }
188926 
188927 
188928 SWIGINTERN PyObject *_wrap_Torus_OutsideRadius__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
188929  PyObject *resultobj = 0;
188931  float arg2 ;
188932  void *argp1 = 0 ;
188933  int res1 = 0 ;
188934  float val2 ;
188935  int ecode2 = 0 ;
188936  PyObject * obj0 = 0 ;
188937  PyObject * obj1 = 0 ;
188938 
188939  if (!PyArg_ParseTuple(args,(char *)"OO:Torus_OutsideRadius",&obj0,&obj1)) SWIG_fail;
188940  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0 | 0 );
188941  if (!SWIG_IsOK(res1)) {
188942  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Torus_OutsideRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Torus *""'");
188943  }
188944  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Torus * >(argp1);
188945  ecode2 = SWIG_AsVal_float(obj1, &val2);
188946  if (!SWIG_IsOK(ecode2)) {
188947  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Torus_OutsideRadius" "', argument " "2"" of type '" "float""'");
188948  }
188949  arg2 = static_cast< float >(val2);
188950  {
188951  try {
188952  (arg1)->OutsideRadius(arg2);
188953  }
188954  catch(CStdErrorInfo oError)
188955  {
188956  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188957  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
188958  PyErr_SetString(PyExc_IndexError, strError.c_str());
188959  SWIG_fail;
188960  }
188961  catch(...)
188962  {
188963  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
188964  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
188965  SWIG_fail;
188966  }
188967  }
188968  resultobj = SWIG_Py_Void();
188969  return resultobj;
188970 fail:
188971  return NULL;
188972 }
188973 
188974 
188975 SWIGINTERN PyObject *_wrap_Torus_OutsideRadius(PyObject *self, PyObject *args) {
188976  int argc;
188977  PyObject *argv[4];
188978  int ii;
188979 
188980  if (!PyTuple_Check(args)) SWIG_fail;
188981  argc = args ? (int)PyObject_Length(args) : 0;
188982  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
188983  argv[ii] = PyTuple_GET_ITEM(args,ii);
188984  }
188985  if (argc == 1) {
188986  int _v;
188987  void *vptr = 0;
188988  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0);
188989  _v = SWIG_CheckState(res);
188990  if (_v) {
188991  return _wrap_Torus_OutsideRadius__SWIG_0(self, args);
188992  }
188993  }
188994  if (argc == 2) {
188995  int _v;
188996  void *vptr = 0;
188997  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0);
188998  _v = SWIG_CheckState(res);
188999  if (_v) {
189000  {
189001  int res = SWIG_AsVal_float(argv[1], NULL);
189002  _v = SWIG_CheckState(res);
189003  }
189004  if (_v) {
189005  return _wrap_Torus_OutsideRadius__SWIG_2(self, args);
189006  }
189007  }
189008  }
189009  if (argc == 3) {
189010  int _v;
189011  void *vptr = 0;
189012  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0);
189013  _v = SWIG_CheckState(res);
189014  if (_v) {
189015  {
189016  int res = SWIG_AsVal_float(argv[1], NULL);
189017  _v = SWIG_CheckState(res);
189018  }
189019  if (_v) {
189020  {
189021  int res = SWIG_AsVal_bool(argv[2], NULL);
189022  _v = SWIG_CheckState(res);
189023  }
189024  if (_v) {
189025  return _wrap_Torus_OutsideRadius__SWIG_1(self, args);
189026  }
189027  }
189028  }
189029  }
189030 
189031 fail:
189032  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Torus_OutsideRadius'.\n"
189033  " Possible C/C++ prototypes are:\n"
189034  " AnimatSim::Environment::Bodies::Torus::OutsideRadius()\n"
189035  " AnimatSim::Environment::Bodies::Torus::OutsideRadius(float,bool)\n"
189036  " AnimatSim::Environment::Bodies::Torus::OutsideRadius(float)\n");
189037  return 0;
189038 }
189039 
189040 
189041 SWIGINTERN PyObject *_wrap_Torus_InsideRadius__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189042  PyObject *resultobj = 0;
189044  void *argp1 = 0 ;
189045  int res1 = 0 ;
189046  PyObject * obj0 = 0 ;
189047  float result;
189048 
189049  if (!PyArg_ParseTuple(args,(char *)"O:Torus_InsideRadius",&obj0)) SWIG_fail;
189050  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0 | 0 );
189051  if (!SWIG_IsOK(res1)) {
189052  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Torus_InsideRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Torus *""'");
189053  }
189054  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Torus * >(argp1);
189055  {
189056  try {
189057  result = (float)(arg1)->InsideRadius();
189058  }
189059  catch(CStdErrorInfo oError)
189060  {
189061  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189062  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
189063  PyErr_SetString(PyExc_IndexError, strError.c_str());
189064  SWIG_fail;
189065  }
189066  catch(...)
189067  {
189068  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189069  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
189070  SWIG_fail;
189071  }
189072  }
189073  resultobj = SWIG_From_float(static_cast< float >(result));
189074  return resultobj;
189075 fail:
189076  return NULL;
189077 }
189078 
189079 
189080 SWIGINTERN PyObject *_wrap_Torus_InsideRadius__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189081  PyObject *resultobj = 0;
189083  float arg2 ;
189084  bool arg3 ;
189085  void *argp1 = 0 ;
189086  int res1 = 0 ;
189087  float val2 ;
189088  int ecode2 = 0 ;
189089  bool val3 ;
189090  int ecode3 = 0 ;
189091  PyObject * obj0 = 0 ;
189092  PyObject * obj1 = 0 ;
189093  PyObject * obj2 = 0 ;
189094 
189095  if (!PyArg_ParseTuple(args,(char *)"OOO:Torus_InsideRadius",&obj0,&obj1,&obj2)) SWIG_fail;
189096  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0 | 0 );
189097  if (!SWIG_IsOK(res1)) {
189098  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Torus_InsideRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Torus *""'");
189099  }
189100  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Torus * >(argp1);
189101  ecode2 = SWIG_AsVal_float(obj1, &val2);
189102  if (!SWIG_IsOK(ecode2)) {
189103  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Torus_InsideRadius" "', argument " "2"" of type '" "float""'");
189104  }
189105  arg2 = static_cast< float >(val2);
189106  ecode3 = SWIG_AsVal_bool(obj2, &val3);
189107  if (!SWIG_IsOK(ecode3)) {
189108  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Torus_InsideRadius" "', argument " "3"" of type '" "bool""'");
189109  }
189110  arg3 = static_cast< bool >(val3);
189111  {
189112  try {
189113  (arg1)->InsideRadius(arg2,arg3);
189114  }
189115  catch(CStdErrorInfo oError)
189116  {
189117  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189118  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
189119  PyErr_SetString(PyExc_IndexError, strError.c_str());
189120  SWIG_fail;
189121  }
189122  catch(...)
189123  {
189124  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189125  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
189126  SWIG_fail;
189127  }
189128  }
189129  resultobj = SWIG_Py_Void();
189130  return resultobj;
189131 fail:
189132  return NULL;
189133 }
189134 
189135 
189136 SWIGINTERN PyObject *_wrap_Torus_InsideRadius__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189137  PyObject *resultobj = 0;
189139  float arg2 ;
189140  void *argp1 = 0 ;
189141  int res1 = 0 ;
189142  float val2 ;
189143  int ecode2 = 0 ;
189144  PyObject * obj0 = 0 ;
189145  PyObject * obj1 = 0 ;
189146 
189147  if (!PyArg_ParseTuple(args,(char *)"OO:Torus_InsideRadius",&obj0,&obj1)) SWIG_fail;
189148  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0 | 0 );
189149  if (!SWIG_IsOK(res1)) {
189150  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Torus_InsideRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Torus *""'");
189151  }
189152  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Torus * >(argp1);
189153  ecode2 = SWIG_AsVal_float(obj1, &val2);
189154  if (!SWIG_IsOK(ecode2)) {
189155  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Torus_InsideRadius" "', argument " "2"" of type '" "float""'");
189156  }
189157  arg2 = static_cast< float >(val2);
189158  {
189159  try {
189160  (arg1)->InsideRadius(arg2);
189161  }
189162  catch(CStdErrorInfo oError)
189163  {
189164  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189165  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
189166  PyErr_SetString(PyExc_IndexError, strError.c_str());
189167  SWIG_fail;
189168  }
189169  catch(...)
189170  {
189171  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189172  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
189173  SWIG_fail;
189174  }
189175  }
189176  resultobj = SWIG_Py_Void();
189177  return resultobj;
189178 fail:
189179  return NULL;
189180 }
189181 
189182 
189183 SWIGINTERN PyObject *_wrap_Torus_InsideRadius(PyObject *self, PyObject *args) {
189184  int argc;
189185  PyObject *argv[4];
189186  int ii;
189187 
189188  if (!PyTuple_Check(args)) SWIG_fail;
189189  argc = args ? (int)PyObject_Length(args) : 0;
189190  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
189191  argv[ii] = PyTuple_GET_ITEM(args,ii);
189192  }
189193  if (argc == 1) {
189194  int _v;
189195  void *vptr = 0;
189196  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0);
189197  _v = SWIG_CheckState(res);
189198  if (_v) {
189199  return _wrap_Torus_InsideRadius__SWIG_0(self, args);
189200  }
189201  }
189202  if (argc == 2) {
189203  int _v;
189204  void *vptr = 0;
189205  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0);
189206  _v = SWIG_CheckState(res);
189207  if (_v) {
189208  {
189209  int res = SWIG_AsVal_float(argv[1], NULL);
189210  _v = SWIG_CheckState(res);
189211  }
189212  if (_v) {
189213  return _wrap_Torus_InsideRadius__SWIG_2(self, args);
189214  }
189215  }
189216  }
189217  if (argc == 3) {
189218  int _v;
189219  void *vptr = 0;
189220  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0);
189221  _v = SWIG_CheckState(res);
189222  if (_v) {
189223  {
189224  int res = SWIG_AsVal_float(argv[1], NULL);
189225  _v = SWIG_CheckState(res);
189226  }
189227  if (_v) {
189228  {
189229  int res = SWIG_AsVal_bool(argv[2], NULL);
189230  _v = SWIG_CheckState(res);
189231  }
189232  if (_v) {
189233  return _wrap_Torus_InsideRadius__SWIG_1(self, args);
189234  }
189235  }
189236  }
189237  }
189238 
189239 fail:
189240  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Torus_InsideRadius'.\n"
189241  " Possible C/C++ prototypes are:\n"
189242  " AnimatSim::Environment::Bodies::Torus::InsideRadius()\n"
189243  " AnimatSim::Environment::Bodies::Torus::InsideRadius(float,bool)\n"
189244  " AnimatSim::Environment::Bodies::Torus::InsideRadius(float)\n");
189245  return 0;
189246 }
189247 
189248 
189249 SWIGINTERN PyObject *_wrap_Torus_Sides__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189250  PyObject *resultobj = 0;
189252  void *argp1 = 0 ;
189253  int res1 = 0 ;
189254  PyObject * obj0 = 0 ;
189255  int result;
189256 
189257  if (!PyArg_ParseTuple(args,(char *)"O:Torus_Sides",&obj0)) SWIG_fail;
189258  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0 | 0 );
189259  if (!SWIG_IsOK(res1)) {
189260  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Torus_Sides" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Torus *""'");
189261  }
189262  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Torus * >(argp1);
189263  {
189264  try {
189265  result = (int)(arg1)->Sides();
189266  }
189267  catch(CStdErrorInfo oError)
189268  {
189269  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189270  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
189271  PyErr_SetString(PyExc_IndexError, strError.c_str());
189272  SWIG_fail;
189273  }
189274  catch(...)
189275  {
189276  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189277  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
189278  SWIG_fail;
189279  }
189280  }
189281  resultobj = SWIG_From_int(static_cast< int >(result));
189282  return resultobj;
189283 fail:
189284  return NULL;
189285 }
189286 
189287 
189288 SWIGINTERN PyObject *_wrap_Torus_Sides__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189289  PyObject *resultobj = 0;
189291  int arg2 ;
189292  void *argp1 = 0 ;
189293  int res1 = 0 ;
189294  int val2 ;
189295  int ecode2 = 0 ;
189296  PyObject * obj0 = 0 ;
189297  PyObject * obj1 = 0 ;
189298 
189299  if (!PyArg_ParseTuple(args,(char *)"OO:Torus_Sides",&obj0,&obj1)) SWIG_fail;
189300  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0 | 0 );
189301  if (!SWIG_IsOK(res1)) {
189302  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Torus_Sides" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Torus *""'");
189303  }
189304  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Torus * >(argp1);
189305  ecode2 = SWIG_AsVal_int(obj1, &val2);
189306  if (!SWIG_IsOK(ecode2)) {
189307  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Torus_Sides" "', argument " "2"" of type '" "int""'");
189308  }
189309  arg2 = static_cast< int >(val2);
189310  {
189311  try {
189312  (arg1)->Sides(arg2);
189313  }
189314  catch(CStdErrorInfo oError)
189315  {
189316  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189317  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
189318  PyErr_SetString(PyExc_IndexError, strError.c_str());
189319  SWIG_fail;
189320  }
189321  catch(...)
189322  {
189323  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189324  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
189325  SWIG_fail;
189326  }
189327  }
189328  resultobj = SWIG_Py_Void();
189329  return resultobj;
189330 fail:
189331  return NULL;
189332 }
189333 
189334 
189335 SWIGINTERN PyObject *_wrap_Torus_Sides(PyObject *self, PyObject *args) {
189336  int argc;
189337  PyObject *argv[3];
189338  int ii;
189339 
189340  if (!PyTuple_Check(args)) SWIG_fail;
189341  argc = args ? (int)PyObject_Length(args) : 0;
189342  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
189343  argv[ii] = PyTuple_GET_ITEM(args,ii);
189344  }
189345  if (argc == 1) {
189346  int _v;
189347  void *vptr = 0;
189348  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0);
189349  _v = SWIG_CheckState(res);
189350  if (_v) {
189351  return _wrap_Torus_Sides__SWIG_0(self, args);
189352  }
189353  }
189354  if (argc == 2) {
189355  int _v;
189356  void *vptr = 0;
189357  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0);
189358  _v = SWIG_CheckState(res);
189359  if (_v) {
189360  {
189361  int res = SWIG_AsVal_int(argv[1], NULL);
189362  _v = SWIG_CheckState(res);
189363  }
189364  if (_v) {
189365  return _wrap_Torus_Sides__SWIG_1(self, args);
189366  }
189367  }
189368  }
189369 
189370 fail:
189371  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Torus_Sides'.\n"
189372  " Possible C/C++ prototypes are:\n"
189373  " AnimatSim::Environment::Bodies::Torus::Sides()\n"
189374  " AnimatSim::Environment::Bodies::Torus::Sides(int)\n");
189375  return 0;
189376 }
189377 
189378 
189379 SWIGINTERN PyObject *_wrap_Torus_Rings__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189380  PyObject *resultobj = 0;
189382  int arg2 ;
189383  void *argp1 = 0 ;
189384  int res1 = 0 ;
189385  int val2 ;
189386  int ecode2 = 0 ;
189387  PyObject * obj0 = 0 ;
189388  PyObject * obj1 = 0 ;
189389 
189390  if (!PyArg_ParseTuple(args,(char *)"OO:Torus_Rings",&obj0,&obj1)) SWIG_fail;
189391  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0 | 0 );
189392  if (!SWIG_IsOK(res1)) {
189393  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Torus_Rings" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Torus *""'");
189394  }
189395  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Torus * >(argp1);
189396  ecode2 = SWIG_AsVal_int(obj1, &val2);
189397  if (!SWIG_IsOK(ecode2)) {
189398  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Torus_Rings" "', argument " "2"" of type '" "int""'");
189399  }
189400  arg2 = static_cast< int >(val2);
189401  {
189402  try {
189403  (arg1)->Rings(arg2);
189404  }
189405  catch(CStdErrorInfo oError)
189406  {
189407  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189408  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
189409  PyErr_SetString(PyExc_IndexError, strError.c_str());
189410  SWIG_fail;
189411  }
189412  catch(...)
189413  {
189414  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189415  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
189416  SWIG_fail;
189417  }
189418  }
189419  resultobj = SWIG_Py_Void();
189420  return resultobj;
189421 fail:
189422  return NULL;
189423 }
189424 
189425 
189426 SWIGINTERN PyObject *_wrap_Torus_Rings__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189427  PyObject *resultobj = 0;
189429  void *argp1 = 0 ;
189430  int res1 = 0 ;
189431  PyObject * obj0 = 0 ;
189432  int result;
189433 
189434  if (!PyArg_ParseTuple(args,(char *)"O:Torus_Rings",&obj0)) SWIG_fail;
189435  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0 | 0 );
189436  if (!SWIG_IsOK(res1)) {
189437  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Torus_Rings" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Torus *""'");
189438  }
189439  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Torus * >(argp1);
189440  {
189441  try {
189442  result = (int)(arg1)->Rings();
189443  }
189444  catch(CStdErrorInfo oError)
189445  {
189446  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189447  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
189448  PyErr_SetString(PyExc_IndexError, strError.c_str());
189449  SWIG_fail;
189450  }
189451  catch(...)
189452  {
189453  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189454  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
189455  SWIG_fail;
189456  }
189457  }
189458  resultobj = SWIG_From_int(static_cast< int >(result));
189459  return resultobj;
189460 fail:
189461  return NULL;
189462 }
189463 
189464 
189465 SWIGINTERN PyObject *_wrap_Torus_Rings(PyObject *self, PyObject *args) {
189466  int argc;
189467  PyObject *argv[3];
189468  int ii;
189469 
189470  if (!PyTuple_Check(args)) SWIG_fail;
189471  argc = args ? (int)PyObject_Length(args) : 0;
189472  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
189473  argv[ii] = PyTuple_GET_ITEM(args,ii);
189474  }
189475  if (argc == 1) {
189476  int _v;
189477  void *vptr = 0;
189478  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0);
189479  _v = SWIG_CheckState(res);
189480  if (_v) {
189481  return _wrap_Torus_Rings__SWIG_1(self, args);
189482  }
189483  }
189484  if (argc == 2) {
189485  int _v;
189486  void *vptr = 0;
189487  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0);
189488  _v = SWIG_CheckState(res);
189489  if (_v) {
189490  {
189491  int res = SWIG_AsVal_int(argv[1], NULL);
189492  _v = SWIG_CheckState(res);
189493  }
189494  if (_v) {
189495  return _wrap_Torus_Rings__SWIG_0(self, args);
189496  }
189497  }
189498  }
189499 
189500 fail:
189501  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Torus_Rings'.\n"
189502  " Possible C/C++ prototypes are:\n"
189503  " AnimatSim::Environment::Bodies::Torus::Rings(int)\n"
189504  " AnimatSim::Environment::Bodies::Torus::Rings()\n");
189505  return 0;
189506 }
189507 
189508 
189509 SWIGINTERN PyObject *_wrap_Torus_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189510  PyObject *resultobj = 0;
189512  std::string *arg2 = 0 ;
189513  std::string *arg3 = 0 ;
189514  bool arg4 ;
189515  void *argp1 = 0 ;
189516  int res1 = 0 ;
189517  int res2 = SWIG_OLDOBJ ;
189518  int res3 = SWIG_OLDOBJ ;
189519  bool val4 ;
189520  int ecode4 = 0 ;
189521  PyObject * obj0 = 0 ;
189522  PyObject * obj1 = 0 ;
189523  PyObject * obj2 = 0 ;
189524  PyObject * obj3 = 0 ;
189525  bool result;
189526 
189527  if (!PyArg_ParseTuple(args,(char *)"OOOO:Torus_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
189528  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0 | 0 );
189529  if (!SWIG_IsOK(res1)) {
189530  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Torus_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Torus *""'");
189531  }
189532  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Torus * >(argp1);
189533  {
189534  std::string *ptr = (std::string *)0;
189535  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
189536  if (!SWIG_IsOK(res2)) {
189537  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Torus_SetData" "', argument " "2"" of type '" "std::string const &""'");
189538  }
189539  if (!ptr) {
189540  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Torus_SetData" "', argument " "2"" of type '" "std::string const &""'");
189541  }
189542  arg2 = ptr;
189543  }
189544  {
189545  std::string *ptr = (std::string *)0;
189546  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
189547  if (!SWIG_IsOK(res3)) {
189548  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Torus_SetData" "', argument " "3"" of type '" "std::string const &""'");
189549  }
189550  if (!ptr) {
189551  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Torus_SetData" "', argument " "3"" of type '" "std::string const &""'");
189552  }
189553  arg3 = ptr;
189554  }
189555  ecode4 = SWIG_AsVal_bool(obj3, &val4);
189556  if (!SWIG_IsOK(ecode4)) {
189557  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Torus_SetData" "', argument " "4"" of type '" "bool""'");
189558  }
189559  arg4 = static_cast< bool >(val4);
189560  {
189561  try {
189562  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
189563  }
189564  catch(CStdErrorInfo oError)
189565  {
189566  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189567  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
189568  PyErr_SetString(PyExc_IndexError, strError.c_str());
189569  SWIG_fail;
189570  }
189571  catch(...)
189572  {
189573  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189574  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
189575  SWIG_fail;
189576  }
189577  }
189578  resultobj = SWIG_From_bool(static_cast< bool >(result));
189579  if (SWIG_IsNewObj(res2)) delete arg2;
189580  if (SWIG_IsNewObj(res3)) delete arg3;
189581  return resultobj;
189582 fail:
189583  if (SWIG_IsNewObj(res2)) delete arg2;
189584  if (SWIG_IsNewObj(res3)) delete arg3;
189585  return NULL;
189586 }
189587 
189588 
189589 SWIGINTERN PyObject *_wrap_Torus_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189590  PyObject *resultobj = 0;
189592  std::string *arg2 = 0 ;
189593  std::string *arg3 = 0 ;
189594  void *argp1 = 0 ;
189595  int res1 = 0 ;
189596  int res2 = SWIG_OLDOBJ ;
189597  int res3 = SWIG_OLDOBJ ;
189598  PyObject * obj0 = 0 ;
189599  PyObject * obj1 = 0 ;
189600  PyObject * obj2 = 0 ;
189601  bool result;
189602 
189603  if (!PyArg_ParseTuple(args,(char *)"OOO:Torus_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
189604  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0 | 0 );
189605  if (!SWIG_IsOK(res1)) {
189606  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Torus_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Torus *""'");
189607  }
189608  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Torus * >(argp1);
189609  {
189610  std::string *ptr = (std::string *)0;
189611  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
189612  if (!SWIG_IsOK(res2)) {
189613  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Torus_SetData" "', argument " "2"" of type '" "std::string const &""'");
189614  }
189615  if (!ptr) {
189616  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Torus_SetData" "', argument " "2"" of type '" "std::string const &""'");
189617  }
189618  arg2 = ptr;
189619  }
189620  {
189621  std::string *ptr = (std::string *)0;
189622  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
189623  if (!SWIG_IsOK(res3)) {
189624  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Torus_SetData" "', argument " "3"" of type '" "std::string const &""'");
189625  }
189626  if (!ptr) {
189627  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Torus_SetData" "', argument " "3"" of type '" "std::string const &""'");
189628  }
189629  arg3 = ptr;
189630  }
189631  {
189632  try {
189633  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
189634  }
189635  catch(CStdErrorInfo oError)
189636  {
189637  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189638  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
189639  PyErr_SetString(PyExc_IndexError, strError.c_str());
189640  SWIG_fail;
189641  }
189642  catch(...)
189643  {
189644  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189645  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
189646  SWIG_fail;
189647  }
189648  }
189649  resultobj = SWIG_From_bool(static_cast< bool >(result));
189650  if (SWIG_IsNewObj(res2)) delete arg2;
189651  if (SWIG_IsNewObj(res3)) delete arg3;
189652  return resultobj;
189653 fail:
189654  if (SWIG_IsNewObj(res2)) delete arg2;
189655  if (SWIG_IsNewObj(res3)) delete arg3;
189656  return NULL;
189657 }
189658 
189659 
189660 SWIGINTERN PyObject *_wrap_Torus_SetData(PyObject *self, PyObject *args) {
189661  int argc;
189662  PyObject *argv[5];
189663  int ii;
189664 
189665  if (!PyTuple_Check(args)) SWIG_fail;
189666  argc = args ? (int)PyObject_Length(args) : 0;
189667  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
189668  argv[ii] = PyTuple_GET_ITEM(args,ii);
189669  }
189670  if (argc == 3) {
189671  int _v;
189672  void *vptr = 0;
189673  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0);
189674  _v = SWIG_CheckState(res);
189675  if (_v) {
189676  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
189677  _v = SWIG_CheckState(res);
189678  if (_v) {
189679  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
189680  _v = SWIG_CheckState(res);
189681  if (_v) {
189682  return _wrap_Torus_SetData__SWIG_1(self, args);
189683  }
189684  }
189685  }
189686  }
189687  if (argc == 4) {
189688  int _v;
189689  void *vptr = 0;
189690  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0);
189691  _v = SWIG_CheckState(res);
189692  if (_v) {
189693  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
189694  _v = SWIG_CheckState(res);
189695  if (_v) {
189696  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
189697  _v = SWIG_CheckState(res);
189698  if (_v) {
189699  {
189700  int res = SWIG_AsVal_bool(argv[3], NULL);
189701  _v = SWIG_CheckState(res);
189702  }
189703  if (_v) {
189704  return _wrap_Torus_SetData__SWIG_0(self, args);
189705  }
189706  }
189707  }
189708  }
189709  }
189710 
189711 fail:
189712  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Torus_SetData'.\n"
189713  " Possible C/C++ prototypes are:\n"
189714  " AnimatSim::Environment::Bodies::Torus::SetData(std::string const &,std::string const &,bool)\n"
189715  " AnimatSim::Environment::Bodies::Torus::SetData(std::string const &,std::string const &)\n");
189716  return 0;
189717 }
189718 
189719 
189720 SWIGINTERN PyObject *_wrap_Torus_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189721  PyObject *resultobj = 0;
189723  CStdPtrArray< TypeProperty > *arg2 = 0 ;
189724  void *argp1 = 0 ;
189725  int res1 = 0 ;
189726  void *argp2 = 0 ;
189727  int res2 = 0 ;
189728  PyObject * obj0 = 0 ;
189729  PyObject * obj1 = 0 ;
189730 
189731  if (!PyArg_ParseTuple(args,(char *)"OO:Torus_QueryProperties",&obj0,&obj1)) SWIG_fail;
189732  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0 | 0 );
189733  if (!SWIG_IsOK(res1)) {
189734  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Torus_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Torus *""'");
189735  }
189736  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Torus * >(argp1);
189737  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
189738  if (!SWIG_IsOK(res2)) {
189739  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Torus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
189740  }
189741  if (!argp2) {
189742  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Torus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
189743  }
189744  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
189745  {
189746  try {
189747  (arg1)->QueryProperties(*arg2);
189748  }
189749  catch(CStdErrorInfo oError)
189750  {
189751  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189752  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
189753  PyErr_SetString(PyExc_IndexError, strError.c_str());
189754  SWIG_fail;
189755  }
189756  catch(...)
189757  {
189758  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189759  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
189760  SWIG_fail;
189761  }
189762  }
189763  resultobj = SWIG_Py_Void();
189764  return resultobj;
189765 fail:
189766  return NULL;
189767 }
189768 
189769 
189770 SWIGINTERN PyObject *_wrap_Torus_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189771  PyObject *resultobj = 0;
189773  CStdXml *arg2 = 0 ;
189774  void *argp1 = 0 ;
189775  int res1 = 0 ;
189776  void *argp2 = 0 ;
189777  int res2 = 0 ;
189778  PyObject * obj0 = 0 ;
189779  PyObject * obj1 = 0 ;
189780 
189781  if (!PyArg_ParseTuple(args,(char *)"OO:Torus_Load",&obj0,&obj1)) SWIG_fail;
189782  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, 0 | 0 );
189783  if (!SWIG_IsOK(res1)) {
189784  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Torus_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Torus *""'");
189785  }
189786  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Torus * >(argp1);
189787  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
189788  if (!SWIG_IsOK(res2)) {
189789  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Torus_Load" "', argument " "2"" of type '" "CStdXml &""'");
189790  }
189791  if (!argp2) {
189792  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Torus_Load" "', argument " "2"" of type '" "CStdXml &""'");
189793  }
189794  arg2 = reinterpret_cast< CStdXml * >(argp2);
189795  {
189796  try {
189797  (arg1)->Load(*arg2);
189798  }
189799  catch(CStdErrorInfo oError)
189800  {
189801  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189802  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
189803  PyErr_SetString(PyExc_IndexError, strError.c_str());
189804  SWIG_fail;
189805  }
189806  catch(...)
189807  {
189808  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189809  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
189810  SWIG_fail;
189811  }
189812  }
189813  resultobj = SWIG_Py_Void();
189814  return resultobj;
189815 fail:
189816  return NULL;
189817 }
189818 
189819 
189820 SWIGINTERN PyObject *Torus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189821  PyObject *obj;
189822  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
189823  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus, SWIG_NewClientData(obj));
189824  return SWIG_Py_Void();
189825 }
189826 
189827 SWIGINTERN PyObject *_wrap_new_Box(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189828  PyObject *resultobj = 0;
189830 
189831  if (!PyArg_ParseTuple(args,(char *)":new_Box")) SWIG_fail;
189832  {
189833  try {
189835  }
189836  catch(CStdErrorInfo oError)
189837  {
189838  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189839  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
189840  PyErr_SetString(PyExc_IndexError, strError.c_str());
189841  SWIG_fail;
189842  }
189843  catch(...)
189844  {
189845  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189846  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
189847  SWIG_fail;
189848  }
189849  }
189850  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, SWIG_POINTER_NEW | 0 );
189851  return resultobj;
189852 fail:
189853  return NULL;
189854 }
189855 
189856 
189857 SWIGINTERN PyObject *_wrap_delete_Box(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189858  PyObject *resultobj = 0;
189860  void *argp1 = 0 ;
189861  int res1 = 0 ;
189862  PyObject * obj0 = 0 ;
189863 
189864  if (!PyArg_ParseTuple(args,(char *)"O:delete_Box",&obj0)) SWIG_fail;
189865  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, SWIG_POINTER_DISOWN | 0 );
189866  if (!SWIG_IsOK(res1)) {
189867  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Box" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
189868  }
189869  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
189870  {
189871  try {
189872  delete arg1;
189873  }
189874  catch(CStdErrorInfo oError)
189875  {
189876  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189877  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
189878  PyErr_SetString(PyExc_IndexError, strError.c_str());
189879  SWIG_fail;
189880  }
189881  catch(...)
189882  {
189883  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189884  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
189885  SWIG_fail;
189886  }
189887  }
189888  resultobj = SWIG_Py_Void();
189889  return resultobj;
189890 fail:
189891  return NULL;
189892 }
189893 
189894 
189895 SWIGINTERN PyObject *_wrap_Box_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189896  PyObject *resultobj = 0;
189898  void *argp1 = 0 ;
189899  int res1 = 0 ;
189900  PyObject * obj0 = 0 ;
189902 
189903  if (!PyArg_ParseTuple(args,(char *)"O:Box_CastToDerived",&obj0)) SWIG_fail;
189904  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
189905  if (!SWIG_IsOK(res1)) {
189906  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
189907  }
189908  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
189909  {
189910  try {
189911  result = (AnimatSim::Environment::Bodies::Box *)AnimatSim::Environment::Bodies::Box::CastToDerived(arg1);
189912  }
189913  catch(CStdErrorInfo oError)
189914  {
189915  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189916  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
189917  PyErr_SetString(PyExc_IndexError, strError.c_str());
189918  SWIG_fail;
189919  }
189920  catch(...)
189921  {
189922  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189923  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
189924  SWIG_fail;
189925  }
189926  }
189927  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
189928  return resultobj;
189929 fail:
189930  return NULL;
189931 }
189932 
189933 
189934 SWIGINTERN PyObject *_wrap_Box_Length__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189935  PyObject *resultobj = 0;
189937  void *argp1 = 0 ;
189938  int res1 = 0 ;
189939  PyObject * obj0 = 0 ;
189940  float result;
189941 
189942  if (!PyArg_ParseTuple(args,(char *)"O:Box_Length",&obj0)) SWIG_fail;
189943  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
189944  if (!SWIG_IsOK(res1)) {
189945  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_Length" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
189946  }
189947  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
189948  {
189949  try {
189950  result = (float)(arg1)->Length();
189951  }
189952  catch(CStdErrorInfo oError)
189953  {
189954  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189955  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
189956  PyErr_SetString(PyExc_IndexError, strError.c_str());
189957  SWIG_fail;
189958  }
189959  catch(...)
189960  {
189961  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
189962  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
189963  SWIG_fail;
189964  }
189965  }
189966  resultobj = SWIG_From_float(static_cast< float >(result));
189967  return resultobj;
189968 fail:
189969  return NULL;
189970 }
189971 
189972 
189973 SWIGINTERN PyObject *_wrap_Box_Length__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
189974  PyObject *resultobj = 0;
189976  float arg2 ;
189977  bool arg3 ;
189978  void *argp1 = 0 ;
189979  int res1 = 0 ;
189980  float val2 ;
189981  int ecode2 = 0 ;
189982  bool val3 ;
189983  int ecode3 = 0 ;
189984  PyObject * obj0 = 0 ;
189985  PyObject * obj1 = 0 ;
189986  PyObject * obj2 = 0 ;
189987 
189988  if (!PyArg_ParseTuple(args,(char *)"OOO:Box_Length",&obj0,&obj1,&obj2)) SWIG_fail;
189989  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
189990  if (!SWIG_IsOK(res1)) {
189991  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_Length" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
189992  }
189993  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
189994  ecode2 = SWIG_AsVal_float(obj1, &val2);
189995  if (!SWIG_IsOK(ecode2)) {
189996  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Box_Length" "', argument " "2"" of type '" "float""'");
189997  }
189998  arg2 = static_cast< float >(val2);
189999  ecode3 = SWIG_AsVal_bool(obj2, &val3);
190000  if (!SWIG_IsOK(ecode3)) {
190001  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Box_Length" "', argument " "3"" of type '" "bool""'");
190002  }
190003  arg3 = static_cast< bool >(val3);
190004  {
190005  try {
190006  (arg1)->Length(arg2,arg3);
190007  }
190008  catch(CStdErrorInfo oError)
190009  {
190010  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190011  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
190012  PyErr_SetString(PyExc_IndexError, strError.c_str());
190013  SWIG_fail;
190014  }
190015  catch(...)
190016  {
190017  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190018  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
190019  SWIG_fail;
190020  }
190021  }
190022  resultobj = SWIG_Py_Void();
190023  return resultobj;
190024 fail:
190025  return NULL;
190026 }
190027 
190028 
190029 SWIGINTERN PyObject *_wrap_Box_Length__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
190030  PyObject *resultobj = 0;
190032  float arg2 ;
190033  void *argp1 = 0 ;
190034  int res1 = 0 ;
190035  float val2 ;
190036  int ecode2 = 0 ;
190037  PyObject * obj0 = 0 ;
190038  PyObject * obj1 = 0 ;
190039 
190040  if (!PyArg_ParseTuple(args,(char *)"OO:Box_Length",&obj0,&obj1)) SWIG_fail;
190041  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
190042  if (!SWIG_IsOK(res1)) {
190043  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_Length" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
190044  }
190045  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
190046  ecode2 = SWIG_AsVal_float(obj1, &val2);
190047  if (!SWIG_IsOK(ecode2)) {
190048  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Box_Length" "', argument " "2"" of type '" "float""'");
190049  }
190050  arg2 = static_cast< float >(val2);
190051  {
190052  try {
190053  (arg1)->Length(arg2);
190054  }
190055  catch(CStdErrorInfo oError)
190056  {
190057  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190058  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
190059  PyErr_SetString(PyExc_IndexError, strError.c_str());
190060  SWIG_fail;
190061  }
190062  catch(...)
190063  {
190064  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190065  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
190066  SWIG_fail;
190067  }
190068  }
190069  resultobj = SWIG_Py_Void();
190070  return resultobj;
190071 fail:
190072  return NULL;
190073 }
190074 
190075 
190076 SWIGINTERN PyObject *_wrap_Box_Length(PyObject *self, PyObject *args) {
190077  int argc;
190078  PyObject *argv[4];
190079  int ii;
190080 
190081  if (!PyTuple_Check(args)) SWIG_fail;
190082  argc = args ? (int)PyObject_Length(args) : 0;
190083  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
190084  argv[ii] = PyTuple_GET_ITEM(args,ii);
190085  }
190086  if (argc == 1) {
190087  int _v;
190088  void *vptr = 0;
190089  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
190090  _v = SWIG_CheckState(res);
190091  if (_v) {
190092  return _wrap_Box_Length__SWIG_0(self, args);
190093  }
190094  }
190095  if (argc == 2) {
190096  int _v;
190097  void *vptr = 0;
190098  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
190099  _v = SWIG_CheckState(res);
190100  if (_v) {
190101  {
190102  int res = SWIG_AsVal_float(argv[1], NULL);
190103  _v = SWIG_CheckState(res);
190104  }
190105  if (_v) {
190106  return _wrap_Box_Length__SWIG_2(self, args);
190107  }
190108  }
190109  }
190110  if (argc == 3) {
190111  int _v;
190112  void *vptr = 0;
190113  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
190114  _v = SWIG_CheckState(res);
190115  if (_v) {
190116  {
190117  int res = SWIG_AsVal_float(argv[1], NULL);
190118  _v = SWIG_CheckState(res);
190119  }
190120  if (_v) {
190121  {
190122  int res = SWIG_AsVal_bool(argv[2], NULL);
190123  _v = SWIG_CheckState(res);
190124  }
190125  if (_v) {
190126  return _wrap_Box_Length__SWIG_1(self, args);
190127  }
190128  }
190129  }
190130  }
190131 
190132 fail:
190133  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Box_Length'.\n"
190134  " Possible C/C++ prototypes are:\n"
190135  " AnimatSim::Environment::Bodies::Box::Length()\n"
190136  " AnimatSim::Environment::Bodies::Box::Length(float,bool)\n"
190137  " AnimatSim::Environment::Bodies::Box::Length(float)\n");
190138  return 0;
190139 }
190140 
190141 
190142 SWIGINTERN PyObject *_wrap_Box_Width__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
190143  PyObject *resultobj = 0;
190145  void *argp1 = 0 ;
190146  int res1 = 0 ;
190147  PyObject * obj0 = 0 ;
190148  float result;
190149 
190150  if (!PyArg_ParseTuple(args,(char *)"O:Box_Width",&obj0)) SWIG_fail;
190151  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
190152  if (!SWIG_IsOK(res1)) {
190153  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_Width" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
190154  }
190155  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
190156  {
190157  try {
190158  result = (float)(arg1)->Width();
190159  }
190160  catch(CStdErrorInfo oError)
190161  {
190162  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190163  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
190164  PyErr_SetString(PyExc_IndexError, strError.c_str());
190165  SWIG_fail;
190166  }
190167  catch(...)
190168  {
190169  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190170  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
190171  SWIG_fail;
190172  }
190173  }
190174  resultobj = SWIG_From_float(static_cast< float >(result));
190175  return resultobj;
190176 fail:
190177  return NULL;
190178 }
190179 
190180 
190181 SWIGINTERN PyObject *_wrap_Box_Width__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
190182  PyObject *resultobj = 0;
190184  float arg2 ;
190185  bool arg3 ;
190186  void *argp1 = 0 ;
190187  int res1 = 0 ;
190188  float val2 ;
190189  int ecode2 = 0 ;
190190  bool val3 ;
190191  int ecode3 = 0 ;
190192  PyObject * obj0 = 0 ;
190193  PyObject * obj1 = 0 ;
190194  PyObject * obj2 = 0 ;
190195 
190196  if (!PyArg_ParseTuple(args,(char *)"OOO:Box_Width",&obj0,&obj1,&obj2)) SWIG_fail;
190197  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
190198  if (!SWIG_IsOK(res1)) {
190199  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_Width" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
190200  }
190201  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
190202  ecode2 = SWIG_AsVal_float(obj1, &val2);
190203  if (!SWIG_IsOK(ecode2)) {
190204  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Box_Width" "', argument " "2"" of type '" "float""'");
190205  }
190206  arg2 = static_cast< float >(val2);
190207  ecode3 = SWIG_AsVal_bool(obj2, &val3);
190208  if (!SWIG_IsOK(ecode3)) {
190209  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Box_Width" "', argument " "3"" of type '" "bool""'");
190210  }
190211  arg3 = static_cast< bool >(val3);
190212  {
190213  try {
190214  (arg1)->Width(arg2,arg3);
190215  }
190216  catch(CStdErrorInfo oError)
190217  {
190218  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190219  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
190220  PyErr_SetString(PyExc_IndexError, strError.c_str());
190221  SWIG_fail;
190222  }
190223  catch(...)
190224  {
190225  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190226  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
190227  SWIG_fail;
190228  }
190229  }
190230  resultobj = SWIG_Py_Void();
190231  return resultobj;
190232 fail:
190233  return NULL;
190234 }
190235 
190236 
190237 SWIGINTERN PyObject *_wrap_Box_Width__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
190238  PyObject *resultobj = 0;
190240  float arg2 ;
190241  void *argp1 = 0 ;
190242  int res1 = 0 ;
190243  float val2 ;
190244  int ecode2 = 0 ;
190245  PyObject * obj0 = 0 ;
190246  PyObject * obj1 = 0 ;
190247 
190248  if (!PyArg_ParseTuple(args,(char *)"OO:Box_Width",&obj0,&obj1)) SWIG_fail;
190249  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
190250  if (!SWIG_IsOK(res1)) {
190251  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_Width" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
190252  }
190253  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
190254  ecode2 = SWIG_AsVal_float(obj1, &val2);
190255  if (!SWIG_IsOK(ecode2)) {
190256  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Box_Width" "', argument " "2"" of type '" "float""'");
190257  }
190258  arg2 = static_cast< float >(val2);
190259  {
190260  try {
190261  (arg1)->Width(arg2);
190262  }
190263  catch(CStdErrorInfo oError)
190264  {
190265  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190266  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
190267  PyErr_SetString(PyExc_IndexError, strError.c_str());
190268  SWIG_fail;
190269  }
190270  catch(...)
190271  {
190272  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190273  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
190274  SWIG_fail;
190275  }
190276  }
190277  resultobj = SWIG_Py_Void();
190278  return resultobj;
190279 fail:
190280  return NULL;
190281 }
190282 
190283 
190284 SWIGINTERN PyObject *_wrap_Box_Width(PyObject *self, PyObject *args) {
190285  int argc;
190286  PyObject *argv[4];
190287  int ii;
190288 
190289  if (!PyTuple_Check(args)) SWIG_fail;
190290  argc = args ? (int)PyObject_Length(args) : 0;
190291  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
190292  argv[ii] = PyTuple_GET_ITEM(args,ii);
190293  }
190294  if (argc == 1) {
190295  int _v;
190296  void *vptr = 0;
190297  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
190298  _v = SWIG_CheckState(res);
190299  if (_v) {
190300  return _wrap_Box_Width__SWIG_0(self, args);
190301  }
190302  }
190303  if (argc == 2) {
190304  int _v;
190305  void *vptr = 0;
190306  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
190307  _v = SWIG_CheckState(res);
190308  if (_v) {
190309  {
190310  int res = SWIG_AsVal_float(argv[1], NULL);
190311  _v = SWIG_CheckState(res);
190312  }
190313  if (_v) {
190314  return _wrap_Box_Width__SWIG_2(self, args);
190315  }
190316  }
190317  }
190318  if (argc == 3) {
190319  int _v;
190320  void *vptr = 0;
190321  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
190322  _v = SWIG_CheckState(res);
190323  if (_v) {
190324  {
190325  int res = SWIG_AsVal_float(argv[1], NULL);
190326  _v = SWIG_CheckState(res);
190327  }
190328  if (_v) {
190329  {
190330  int res = SWIG_AsVal_bool(argv[2], NULL);
190331  _v = SWIG_CheckState(res);
190332  }
190333  if (_v) {
190334  return _wrap_Box_Width__SWIG_1(self, args);
190335  }
190336  }
190337  }
190338  }
190339 
190340 fail:
190341  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Box_Width'.\n"
190342  " Possible C/C++ prototypes are:\n"
190343  " AnimatSim::Environment::Bodies::Box::Width()\n"
190344  " AnimatSim::Environment::Bodies::Box::Width(float,bool)\n"
190345  " AnimatSim::Environment::Bodies::Box::Width(float)\n");
190346  return 0;
190347 }
190348 
190349 
190350 SWIGINTERN PyObject *_wrap_Box_Height__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
190351  PyObject *resultobj = 0;
190353  void *argp1 = 0 ;
190354  int res1 = 0 ;
190355  PyObject * obj0 = 0 ;
190356  float result;
190357 
190358  if (!PyArg_ParseTuple(args,(char *)"O:Box_Height",&obj0)) SWIG_fail;
190359  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
190360  if (!SWIG_IsOK(res1)) {
190361  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_Height" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
190362  }
190363  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
190364  {
190365  try {
190366  result = (float)(arg1)->Height();
190367  }
190368  catch(CStdErrorInfo oError)
190369  {
190370  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190371  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
190372  PyErr_SetString(PyExc_IndexError, strError.c_str());
190373  SWIG_fail;
190374  }
190375  catch(...)
190376  {
190377  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190378  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
190379  SWIG_fail;
190380  }
190381  }
190382  resultobj = SWIG_From_float(static_cast< float >(result));
190383  return resultobj;
190384 fail:
190385  return NULL;
190386 }
190387 
190388 
190389 SWIGINTERN PyObject *_wrap_Box_Height__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
190390  PyObject *resultobj = 0;
190392  float arg2 ;
190393  bool arg3 ;
190394  void *argp1 = 0 ;
190395  int res1 = 0 ;
190396  float val2 ;
190397  int ecode2 = 0 ;
190398  bool val3 ;
190399  int ecode3 = 0 ;
190400  PyObject * obj0 = 0 ;
190401  PyObject * obj1 = 0 ;
190402  PyObject * obj2 = 0 ;
190403 
190404  if (!PyArg_ParseTuple(args,(char *)"OOO:Box_Height",&obj0,&obj1,&obj2)) SWIG_fail;
190405  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
190406  if (!SWIG_IsOK(res1)) {
190407  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_Height" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
190408  }
190409  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
190410  ecode2 = SWIG_AsVal_float(obj1, &val2);
190411  if (!SWIG_IsOK(ecode2)) {
190412  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Box_Height" "', argument " "2"" of type '" "float""'");
190413  }
190414  arg2 = static_cast< float >(val2);
190415  ecode3 = SWIG_AsVal_bool(obj2, &val3);
190416  if (!SWIG_IsOK(ecode3)) {
190417  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Box_Height" "', argument " "3"" of type '" "bool""'");
190418  }
190419  arg3 = static_cast< bool >(val3);
190420  {
190421  try {
190422  (arg1)->Height(arg2,arg3);
190423  }
190424  catch(CStdErrorInfo oError)
190425  {
190426  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190427  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
190428  PyErr_SetString(PyExc_IndexError, strError.c_str());
190429  SWIG_fail;
190430  }
190431  catch(...)
190432  {
190433  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190434  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
190435  SWIG_fail;
190436  }
190437  }
190438  resultobj = SWIG_Py_Void();
190439  return resultobj;
190440 fail:
190441  return NULL;
190442 }
190443 
190444 
190445 SWIGINTERN PyObject *_wrap_Box_Height__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
190446  PyObject *resultobj = 0;
190448  float arg2 ;
190449  void *argp1 = 0 ;
190450  int res1 = 0 ;
190451  float val2 ;
190452  int ecode2 = 0 ;
190453  PyObject * obj0 = 0 ;
190454  PyObject * obj1 = 0 ;
190455 
190456  if (!PyArg_ParseTuple(args,(char *)"OO:Box_Height",&obj0,&obj1)) SWIG_fail;
190457  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
190458  if (!SWIG_IsOK(res1)) {
190459  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_Height" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
190460  }
190461  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
190462  ecode2 = SWIG_AsVal_float(obj1, &val2);
190463  if (!SWIG_IsOK(ecode2)) {
190464  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Box_Height" "', argument " "2"" of type '" "float""'");
190465  }
190466  arg2 = static_cast< float >(val2);
190467  {
190468  try {
190469  (arg1)->Height(arg2);
190470  }
190471  catch(CStdErrorInfo oError)
190472  {
190473  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190474  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
190475  PyErr_SetString(PyExc_IndexError, strError.c_str());
190476  SWIG_fail;
190477  }
190478  catch(...)
190479  {
190480  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190481  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
190482  SWIG_fail;
190483  }
190484  }
190485  resultobj = SWIG_Py_Void();
190486  return resultobj;
190487 fail:
190488  return NULL;
190489 }
190490 
190491 
190492 SWIGINTERN PyObject *_wrap_Box_Height(PyObject *self, PyObject *args) {
190493  int argc;
190494  PyObject *argv[4];
190495  int ii;
190496 
190497  if (!PyTuple_Check(args)) SWIG_fail;
190498  argc = args ? (int)PyObject_Length(args) : 0;
190499  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
190500  argv[ii] = PyTuple_GET_ITEM(args,ii);
190501  }
190502  if (argc == 1) {
190503  int _v;
190504  void *vptr = 0;
190505  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
190506  _v = SWIG_CheckState(res);
190507  if (_v) {
190508  return _wrap_Box_Height__SWIG_0(self, args);
190509  }
190510  }
190511  if (argc == 2) {
190512  int _v;
190513  void *vptr = 0;
190514  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
190515  _v = SWIG_CheckState(res);
190516  if (_v) {
190517  {
190518  int res = SWIG_AsVal_float(argv[1], NULL);
190519  _v = SWIG_CheckState(res);
190520  }
190521  if (_v) {
190522  return _wrap_Box_Height__SWIG_2(self, args);
190523  }
190524  }
190525  }
190526  if (argc == 3) {
190527  int _v;
190528  void *vptr = 0;
190529  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
190530  _v = SWIG_CheckState(res);
190531  if (_v) {
190532  {
190533  int res = SWIG_AsVal_float(argv[1], NULL);
190534  _v = SWIG_CheckState(res);
190535  }
190536  if (_v) {
190537  {
190538  int res = SWIG_AsVal_bool(argv[2], NULL);
190539  _v = SWIG_CheckState(res);
190540  }
190541  if (_v) {
190542  return _wrap_Box_Height__SWIG_1(self, args);
190543  }
190544  }
190545  }
190546  }
190547 
190548 fail:
190549  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Box_Height'.\n"
190550  " Possible C/C++ prototypes are:\n"
190551  " AnimatSim::Environment::Bodies::Box::Height()\n"
190552  " AnimatSim::Environment::Bodies::Box::Height(float,bool)\n"
190553  " AnimatSim::Environment::Bodies::Box::Height(float)\n");
190554  return 0;
190555 }
190556 
190557 
190558 SWIGINTERN PyObject *_wrap_Box_LengthSections__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
190559  PyObject *resultobj = 0;
190561  int arg2 ;
190562  void *argp1 = 0 ;
190563  int res1 = 0 ;
190564  int val2 ;
190565  int ecode2 = 0 ;
190566  PyObject * obj0 = 0 ;
190567  PyObject * obj1 = 0 ;
190568 
190569  if (!PyArg_ParseTuple(args,(char *)"OO:Box_LengthSections",&obj0,&obj1)) SWIG_fail;
190570  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
190571  if (!SWIG_IsOK(res1)) {
190572  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_LengthSections" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
190573  }
190574  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
190575  ecode2 = SWIG_AsVal_int(obj1, &val2);
190576  if (!SWIG_IsOK(ecode2)) {
190577  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Box_LengthSections" "', argument " "2"" of type '" "int""'");
190578  }
190579  arg2 = static_cast< int >(val2);
190580  {
190581  try {
190582  (arg1)->LengthSections(arg2);
190583  }
190584  catch(CStdErrorInfo oError)
190585  {
190586  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190587  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
190588  PyErr_SetString(PyExc_IndexError, strError.c_str());
190589  SWIG_fail;
190590  }
190591  catch(...)
190592  {
190593  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190594  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
190595  SWIG_fail;
190596  }
190597  }
190598  resultobj = SWIG_Py_Void();
190599  return resultobj;
190600 fail:
190601  return NULL;
190602 }
190603 
190604 
190605 SWIGINTERN PyObject *_wrap_Box_LengthSections__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
190606  PyObject *resultobj = 0;
190608  void *argp1 = 0 ;
190609  int res1 = 0 ;
190610  PyObject * obj0 = 0 ;
190611  int result;
190612 
190613  if (!PyArg_ParseTuple(args,(char *)"O:Box_LengthSections",&obj0)) SWIG_fail;
190614  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
190615  if (!SWIG_IsOK(res1)) {
190616  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_LengthSections" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
190617  }
190618  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
190619  {
190620  try {
190621  result = (int)(arg1)->LengthSections();
190622  }
190623  catch(CStdErrorInfo oError)
190624  {
190625  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190626  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
190627  PyErr_SetString(PyExc_IndexError, strError.c_str());
190628  SWIG_fail;
190629  }
190630  catch(...)
190631  {
190632  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190633  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
190634  SWIG_fail;
190635  }
190636  }
190637  resultobj = SWIG_From_int(static_cast< int >(result));
190638  return resultobj;
190639 fail:
190640  return NULL;
190641 }
190642 
190643 
190644 SWIGINTERN PyObject *_wrap_Box_LengthSections(PyObject *self, PyObject *args) {
190645  int argc;
190646  PyObject *argv[3];
190647  int ii;
190648 
190649  if (!PyTuple_Check(args)) SWIG_fail;
190650  argc = args ? (int)PyObject_Length(args) : 0;
190651  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
190652  argv[ii] = PyTuple_GET_ITEM(args,ii);
190653  }
190654  if (argc == 1) {
190655  int _v;
190656  void *vptr = 0;
190657  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
190658  _v = SWIG_CheckState(res);
190659  if (_v) {
190660  return _wrap_Box_LengthSections__SWIG_1(self, args);
190661  }
190662  }
190663  if (argc == 2) {
190664  int _v;
190665  void *vptr = 0;
190666  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
190667  _v = SWIG_CheckState(res);
190668  if (_v) {
190669  {
190670  int res = SWIG_AsVal_int(argv[1], NULL);
190671  _v = SWIG_CheckState(res);
190672  }
190673  if (_v) {
190674  return _wrap_Box_LengthSections__SWIG_0(self, args);
190675  }
190676  }
190677  }
190678 
190679 fail:
190680  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Box_LengthSections'.\n"
190681  " Possible C/C++ prototypes are:\n"
190682  " AnimatSim::Environment::Bodies::Box::LengthSections(int)\n"
190683  " AnimatSim::Environment::Bodies::Box::LengthSections()\n");
190684  return 0;
190685 }
190686 
190687 
190688 SWIGINTERN PyObject *_wrap_Box_WidthSections__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
190689  PyObject *resultobj = 0;
190691  int arg2 ;
190692  void *argp1 = 0 ;
190693  int res1 = 0 ;
190694  int val2 ;
190695  int ecode2 = 0 ;
190696  PyObject * obj0 = 0 ;
190697  PyObject * obj1 = 0 ;
190698 
190699  if (!PyArg_ParseTuple(args,(char *)"OO:Box_WidthSections",&obj0,&obj1)) SWIG_fail;
190700  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
190701  if (!SWIG_IsOK(res1)) {
190702  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_WidthSections" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
190703  }
190704  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
190705  ecode2 = SWIG_AsVal_int(obj1, &val2);
190706  if (!SWIG_IsOK(ecode2)) {
190707  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Box_WidthSections" "', argument " "2"" of type '" "int""'");
190708  }
190709  arg2 = static_cast< int >(val2);
190710  {
190711  try {
190712  (arg1)->WidthSections(arg2);
190713  }
190714  catch(CStdErrorInfo oError)
190715  {
190716  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190717  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
190718  PyErr_SetString(PyExc_IndexError, strError.c_str());
190719  SWIG_fail;
190720  }
190721  catch(...)
190722  {
190723  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190724  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
190725  SWIG_fail;
190726  }
190727  }
190728  resultobj = SWIG_Py_Void();
190729  return resultobj;
190730 fail:
190731  return NULL;
190732 }
190733 
190734 
190735 SWIGINTERN PyObject *_wrap_Box_WidthSections__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
190736  PyObject *resultobj = 0;
190738  void *argp1 = 0 ;
190739  int res1 = 0 ;
190740  PyObject * obj0 = 0 ;
190741  int result;
190742 
190743  if (!PyArg_ParseTuple(args,(char *)"O:Box_WidthSections",&obj0)) SWIG_fail;
190744  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
190745  if (!SWIG_IsOK(res1)) {
190746  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_WidthSections" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
190747  }
190748  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
190749  {
190750  try {
190751  result = (int)(arg1)->WidthSections();
190752  }
190753  catch(CStdErrorInfo oError)
190754  {
190755  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190756  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
190757  PyErr_SetString(PyExc_IndexError, strError.c_str());
190758  SWIG_fail;
190759  }
190760  catch(...)
190761  {
190762  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190763  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
190764  SWIG_fail;
190765  }
190766  }
190767  resultobj = SWIG_From_int(static_cast< int >(result));
190768  return resultobj;
190769 fail:
190770  return NULL;
190771 }
190772 
190773 
190774 SWIGINTERN PyObject *_wrap_Box_WidthSections(PyObject *self, PyObject *args) {
190775  int argc;
190776  PyObject *argv[3];
190777  int ii;
190778 
190779  if (!PyTuple_Check(args)) SWIG_fail;
190780  argc = args ? (int)PyObject_Length(args) : 0;
190781  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
190782  argv[ii] = PyTuple_GET_ITEM(args,ii);
190783  }
190784  if (argc == 1) {
190785  int _v;
190786  void *vptr = 0;
190787  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
190788  _v = SWIG_CheckState(res);
190789  if (_v) {
190790  return _wrap_Box_WidthSections__SWIG_1(self, args);
190791  }
190792  }
190793  if (argc == 2) {
190794  int _v;
190795  void *vptr = 0;
190796  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
190797  _v = SWIG_CheckState(res);
190798  if (_v) {
190799  {
190800  int res = SWIG_AsVal_int(argv[1], NULL);
190801  _v = SWIG_CheckState(res);
190802  }
190803  if (_v) {
190804  return _wrap_Box_WidthSections__SWIG_0(self, args);
190805  }
190806  }
190807  }
190808 
190809 fail:
190810  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Box_WidthSections'.\n"
190811  " Possible C/C++ prototypes are:\n"
190812  " AnimatSim::Environment::Bodies::Box::WidthSections(int)\n"
190813  " AnimatSim::Environment::Bodies::Box::WidthSections()\n");
190814  return 0;
190815 }
190816 
190817 
190818 SWIGINTERN PyObject *_wrap_Box_HeightSections__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
190819  PyObject *resultobj = 0;
190821  int arg2 ;
190822  void *argp1 = 0 ;
190823  int res1 = 0 ;
190824  int val2 ;
190825  int ecode2 = 0 ;
190826  PyObject * obj0 = 0 ;
190827  PyObject * obj1 = 0 ;
190828 
190829  if (!PyArg_ParseTuple(args,(char *)"OO:Box_HeightSections",&obj0,&obj1)) SWIG_fail;
190830  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
190831  if (!SWIG_IsOK(res1)) {
190832  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_HeightSections" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
190833  }
190834  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
190835  ecode2 = SWIG_AsVal_int(obj1, &val2);
190836  if (!SWIG_IsOK(ecode2)) {
190837  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Box_HeightSections" "', argument " "2"" of type '" "int""'");
190838  }
190839  arg2 = static_cast< int >(val2);
190840  {
190841  try {
190842  (arg1)->HeightSections(arg2);
190843  }
190844  catch(CStdErrorInfo oError)
190845  {
190846  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190847  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
190848  PyErr_SetString(PyExc_IndexError, strError.c_str());
190849  SWIG_fail;
190850  }
190851  catch(...)
190852  {
190853  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190854  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
190855  SWIG_fail;
190856  }
190857  }
190858  resultobj = SWIG_Py_Void();
190859  return resultobj;
190860 fail:
190861  return NULL;
190862 }
190863 
190864 
190865 SWIGINTERN PyObject *_wrap_Box_HeightSections__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
190866  PyObject *resultobj = 0;
190868  void *argp1 = 0 ;
190869  int res1 = 0 ;
190870  PyObject * obj0 = 0 ;
190871  int result;
190872 
190873  if (!PyArg_ParseTuple(args,(char *)"O:Box_HeightSections",&obj0)) SWIG_fail;
190874  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
190875  if (!SWIG_IsOK(res1)) {
190876  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_HeightSections" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
190877  }
190878  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
190879  {
190880  try {
190881  result = (int)(arg1)->HeightSections();
190882  }
190883  catch(CStdErrorInfo oError)
190884  {
190885  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190886  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
190887  PyErr_SetString(PyExc_IndexError, strError.c_str());
190888  SWIG_fail;
190889  }
190890  catch(...)
190891  {
190892  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190893  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
190894  SWIG_fail;
190895  }
190896  }
190897  resultobj = SWIG_From_int(static_cast< int >(result));
190898  return resultobj;
190899 fail:
190900  return NULL;
190901 }
190902 
190903 
190904 SWIGINTERN PyObject *_wrap_Box_HeightSections(PyObject *self, PyObject *args) {
190905  int argc;
190906  PyObject *argv[3];
190907  int ii;
190908 
190909  if (!PyTuple_Check(args)) SWIG_fail;
190910  argc = args ? (int)PyObject_Length(args) : 0;
190911  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
190912  argv[ii] = PyTuple_GET_ITEM(args,ii);
190913  }
190914  if (argc == 1) {
190915  int _v;
190916  void *vptr = 0;
190917  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
190918  _v = SWIG_CheckState(res);
190919  if (_v) {
190920  return _wrap_Box_HeightSections__SWIG_1(self, args);
190921  }
190922  }
190923  if (argc == 2) {
190924  int _v;
190925  void *vptr = 0;
190926  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
190927  _v = SWIG_CheckState(res);
190928  if (_v) {
190929  {
190930  int res = SWIG_AsVal_int(argv[1], NULL);
190931  _v = SWIG_CheckState(res);
190932  }
190933  if (_v) {
190934  return _wrap_Box_HeightSections__SWIG_0(self, args);
190935  }
190936  }
190937  }
190938 
190939 fail:
190940  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Box_HeightSections'.\n"
190941  " Possible C/C++ prototypes are:\n"
190942  " AnimatSim::Environment::Bodies::Box::HeightSections(int)\n"
190943  " AnimatSim::Environment::Bodies::Box::HeightSections()\n");
190944  return 0;
190945 }
190946 
190947 
190948 SWIGINTERN PyObject *_wrap_Box_LengthSegmentSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
190949  PyObject *resultobj = 0;
190951  void *argp1 = 0 ;
190952  int res1 = 0 ;
190953  PyObject * obj0 = 0 ;
190954  float result;
190955 
190956  if (!PyArg_ParseTuple(args,(char *)"O:Box_LengthSegmentSize",&obj0)) SWIG_fail;
190957  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
190958  if (!SWIG_IsOK(res1)) {
190959  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_LengthSegmentSize" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
190960  }
190961  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
190962  {
190963  try {
190964  result = (float)(arg1)->LengthSegmentSize();
190965  }
190966  catch(CStdErrorInfo oError)
190967  {
190968  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190969  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
190970  PyErr_SetString(PyExc_IndexError, strError.c_str());
190971  SWIG_fail;
190972  }
190973  catch(...)
190974  {
190975  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
190976  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
190977  SWIG_fail;
190978  }
190979  }
190980  resultobj = SWIG_From_float(static_cast< float >(result));
190981  return resultobj;
190982 fail:
190983  return NULL;
190984 }
190985 
190986 
190987 SWIGINTERN PyObject *_wrap_Box_WidthSegmentSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
190988  PyObject *resultobj = 0;
190990  void *argp1 = 0 ;
190991  int res1 = 0 ;
190992  PyObject * obj0 = 0 ;
190993  float result;
190994 
190995  if (!PyArg_ParseTuple(args,(char *)"O:Box_WidthSegmentSize",&obj0)) SWIG_fail;
190996  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
190997  if (!SWIG_IsOK(res1)) {
190998  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_WidthSegmentSize" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
190999  }
191000  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
191001  {
191002  try {
191003  result = (float)(arg1)->WidthSegmentSize();
191004  }
191005  catch(CStdErrorInfo oError)
191006  {
191007  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191008  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191009  PyErr_SetString(PyExc_IndexError, strError.c_str());
191010  SWIG_fail;
191011  }
191012  catch(...)
191013  {
191014  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191015  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191016  SWIG_fail;
191017  }
191018  }
191019  resultobj = SWIG_From_float(static_cast< float >(result));
191020  return resultobj;
191021 fail:
191022  return NULL;
191023 }
191024 
191025 
191026 SWIGINTERN PyObject *_wrap_Box_HeightSegmentSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191027  PyObject *resultobj = 0;
191029  void *argp1 = 0 ;
191030  int res1 = 0 ;
191031  PyObject * obj0 = 0 ;
191032  float result;
191033 
191034  if (!PyArg_ParseTuple(args,(char *)"O:Box_HeightSegmentSize",&obj0)) SWIG_fail;
191035  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
191036  if (!SWIG_IsOK(res1)) {
191037  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_HeightSegmentSize" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
191038  }
191039  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
191040  {
191041  try {
191042  result = (float)(arg1)->HeightSegmentSize();
191043  }
191044  catch(CStdErrorInfo oError)
191045  {
191046  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191047  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191048  PyErr_SetString(PyExc_IndexError, strError.c_str());
191049  SWIG_fail;
191050  }
191051  catch(...)
191052  {
191053  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191054  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191055  SWIG_fail;
191056  }
191057  }
191058  resultobj = SWIG_From_float(static_cast< float >(result));
191059  return resultobj;
191060 fail:
191061  return NULL;
191062 }
191063 
191064 
191065 SWIGINTERN PyObject *_wrap_Box_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191066  PyObject *resultobj = 0;
191068  std::string *arg2 = 0 ;
191069  std::string *arg3 = 0 ;
191070  bool arg4 ;
191071  void *argp1 = 0 ;
191072  int res1 = 0 ;
191073  int res2 = SWIG_OLDOBJ ;
191074  int res3 = SWIG_OLDOBJ ;
191075  bool val4 ;
191076  int ecode4 = 0 ;
191077  PyObject * obj0 = 0 ;
191078  PyObject * obj1 = 0 ;
191079  PyObject * obj2 = 0 ;
191080  PyObject * obj3 = 0 ;
191081  bool result;
191082 
191083  if (!PyArg_ParseTuple(args,(char *)"OOOO:Box_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
191084  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
191085  if (!SWIG_IsOK(res1)) {
191086  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
191087  }
191088  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
191089  {
191090  std::string *ptr = (std::string *)0;
191091  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
191092  if (!SWIG_IsOK(res2)) {
191093  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Box_SetData" "', argument " "2"" of type '" "std::string const &""'");
191094  }
191095  if (!ptr) {
191096  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Box_SetData" "', argument " "2"" of type '" "std::string const &""'");
191097  }
191098  arg2 = ptr;
191099  }
191100  {
191101  std::string *ptr = (std::string *)0;
191102  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
191103  if (!SWIG_IsOK(res3)) {
191104  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Box_SetData" "', argument " "3"" of type '" "std::string const &""'");
191105  }
191106  if (!ptr) {
191107  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Box_SetData" "', argument " "3"" of type '" "std::string const &""'");
191108  }
191109  arg3 = ptr;
191110  }
191111  ecode4 = SWIG_AsVal_bool(obj3, &val4);
191112  if (!SWIG_IsOK(ecode4)) {
191113  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Box_SetData" "', argument " "4"" of type '" "bool""'");
191114  }
191115  arg4 = static_cast< bool >(val4);
191116  {
191117  try {
191118  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
191119  }
191120  catch(CStdErrorInfo oError)
191121  {
191122  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191123  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191124  PyErr_SetString(PyExc_IndexError, strError.c_str());
191125  SWIG_fail;
191126  }
191127  catch(...)
191128  {
191129  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191130  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191131  SWIG_fail;
191132  }
191133  }
191134  resultobj = SWIG_From_bool(static_cast< bool >(result));
191135  if (SWIG_IsNewObj(res2)) delete arg2;
191136  if (SWIG_IsNewObj(res3)) delete arg3;
191137  return resultobj;
191138 fail:
191139  if (SWIG_IsNewObj(res2)) delete arg2;
191140  if (SWIG_IsNewObj(res3)) delete arg3;
191141  return NULL;
191142 }
191143 
191144 
191145 SWIGINTERN PyObject *_wrap_Box_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191146  PyObject *resultobj = 0;
191148  std::string *arg2 = 0 ;
191149  std::string *arg3 = 0 ;
191150  void *argp1 = 0 ;
191151  int res1 = 0 ;
191152  int res2 = SWIG_OLDOBJ ;
191153  int res3 = SWIG_OLDOBJ ;
191154  PyObject * obj0 = 0 ;
191155  PyObject * obj1 = 0 ;
191156  PyObject * obj2 = 0 ;
191157  bool result;
191158 
191159  if (!PyArg_ParseTuple(args,(char *)"OOO:Box_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
191160  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
191161  if (!SWIG_IsOK(res1)) {
191162  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
191163  }
191164  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
191165  {
191166  std::string *ptr = (std::string *)0;
191167  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
191168  if (!SWIG_IsOK(res2)) {
191169  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Box_SetData" "', argument " "2"" of type '" "std::string const &""'");
191170  }
191171  if (!ptr) {
191172  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Box_SetData" "', argument " "2"" of type '" "std::string const &""'");
191173  }
191174  arg2 = ptr;
191175  }
191176  {
191177  std::string *ptr = (std::string *)0;
191178  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
191179  if (!SWIG_IsOK(res3)) {
191180  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Box_SetData" "', argument " "3"" of type '" "std::string const &""'");
191181  }
191182  if (!ptr) {
191183  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Box_SetData" "', argument " "3"" of type '" "std::string const &""'");
191184  }
191185  arg3 = ptr;
191186  }
191187  {
191188  try {
191189  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
191190  }
191191  catch(CStdErrorInfo oError)
191192  {
191193  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191194  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191195  PyErr_SetString(PyExc_IndexError, strError.c_str());
191196  SWIG_fail;
191197  }
191198  catch(...)
191199  {
191200  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191201  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191202  SWIG_fail;
191203  }
191204  }
191205  resultobj = SWIG_From_bool(static_cast< bool >(result));
191206  if (SWIG_IsNewObj(res2)) delete arg2;
191207  if (SWIG_IsNewObj(res3)) delete arg3;
191208  return resultobj;
191209 fail:
191210  if (SWIG_IsNewObj(res2)) delete arg2;
191211  if (SWIG_IsNewObj(res3)) delete arg3;
191212  return NULL;
191213 }
191214 
191215 
191216 SWIGINTERN PyObject *_wrap_Box_SetData(PyObject *self, PyObject *args) {
191217  int argc;
191218  PyObject *argv[5];
191219  int ii;
191220 
191221  if (!PyTuple_Check(args)) SWIG_fail;
191222  argc = args ? (int)PyObject_Length(args) : 0;
191223  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
191224  argv[ii] = PyTuple_GET_ITEM(args,ii);
191225  }
191226  if (argc == 3) {
191227  int _v;
191228  void *vptr = 0;
191229  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
191230  _v = SWIG_CheckState(res);
191231  if (_v) {
191232  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
191233  _v = SWIG_CheckState(res);
191234  if (_v) {
191235  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
191236  _v = SWIG_CheckState(res);
191237  if (_v) {
191238  return _wrap_Box_SetData__SWIG_1(self, args);
191239  }
191240  }
191241  }
191242  }
191243  if (argc == 4) {
191244  int _v;
191245  void *vptr = 0;
191246  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0);
191247  _v = SWIG_CheckState(res);
191248  if (_v) {
191249  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
191250  _v = SWIG_CheckState(res);
191251  if (_v) {
191252  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
191253  _v = SWIG_CheckState(res);
191254  if (_v) {
191255  {
191256  int res = SWIG_AsVal_bool(argv[3], NULL);
191257  _v = SWIG_CheckState(res);
191258  }
191259  if (_v) {
191260  return _wrap_Box_SetData__SWIG_0(self, args);
191261  }
191262  }
191263  }
191264  }
191265  }
191266 
191267 fail:
191268  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Box_SetData'.\n"
191269  " Possible C/C++ prototypes are:\n"
191270  " AnimatSim::Environment::Bodies::Box::SetData(std::string const &,std::string const &,bool)\n"
191271  " AnimatSim::Environment::Bodies::Box::SetData(std::string const &,std::string const &)\n");
191272  return 0;
191273 }
191274 
191275 
191276 SWIGINTERN PyObject *_wrap_Box_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191277  PyObject *resultobj = 0;
191279  CStdPtrArray< TypeProperty > *arg2 = 0 ;
191280  void *argp1 = 0 ;
191281  int res1 = 0 ;
191282  void *argp2 = 0 ;
191283  int res2 = 0 ;
191284  PyObject * obj0 = 0 ;
191285  PyObject * obj1 = 0 ;
191286 
191287  if (!PyArg_ParseTuple(args,(char *)"OO:Box_QueryProperties",&obj0,&obj1)) SWIG_fail;
191288  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
191289  if (!SWIG_IsOK(res1)) {
191290  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
191291  }
191292  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
191293  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
191294  if (!SWIG_IsOK(res2)) {
191295  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Box_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
191296  }
191297  if (!argp2) {
191298  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Box_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
191299  }
191300  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
191301  {
191302  try {
191303  (arg1)->QueryProperties(*arg2);
191304  }
191305  catch(CStdErrorInfo oError)
191306  {
191307  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191308  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191309  PyErr_SetString(PyExc_IndexError, strError.c_str());
191310  SWIG_fail;
191311  }
191312  catch(...)
191313  {
191314  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191315  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191316  SWIG_fail;
191317  }
191318  }
191319  resultobj = SWIG_Py_Void();
191320  return resultobj;
191321 fail:
191322  return NULL;
191323 }
191324 
191325 
191326 SWIGINTERN PyObject *_wrap_Box_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191327  PyObject *resultobj = 0;
191329  CStdXml *arg2 = 0 ;
191330  void *argp1 = 0 ;
191331  int res1 = 0 ;
191332  void *argp2 = 0 ;
191333  int res2 = 0 ;
191334  PyObject * obj0 = 0 ;
191335  PyObject * obj1 = 0 ;
191336 
191337  if (!PyArg_ParseTuple(args,(char *)"OO:Box_Load",&obj0,&obj1)) SWIG_fail;
191338  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, 0 | 0 );
191339  if (!SWIG_IsOK(res1)) {
191340  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Box_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Box *""'");
191341  }
191342  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Box * >(argp1);
191343  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
191344  if (!SWIG_IsOK(res2)) {
191345  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Box_Load" "', argument " "2"" of type '" "CStdXml &""'");
191346  }
191347  if (!argp2) {
191348  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Box_Load" "', argument " "2"" of type '" "CStdXml &""'");
191349  }
191350  arg2 = reinterpret_cast< CStdXml * >(argp2);
191351  {
191352  try {
191353  (arg1)->Load(*arg2);
191354  }
191355  catch(CStdErrorInfo oError)
191356  {
191357  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191358  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191359  PyErr_SetString(PyExc_IndexError, strError.c_str());
191360  SWIG_fail;
191361  }
191362  catch(...)
191363  {
191364  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191365  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191366  SWIG_fail;
191367  }
191368  }
191369  resultobj = SWIG_Py_Void();
191370  return resultobj;
191371 fail:
191372  return NULL;
191373 }
191374 
191375 
191376 SWIGINTERN PyObject *Box_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191377  PyObject *obj;
191378  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
191379  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__Box, SWIG_NewClientData(obj));
191380  return SWIG_Py_Void();
191381 }
191382 
191383 SWIGINTERN PyObject *_wrap_new_Mesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191384  PyObject *resultobj = 0;
191386 
191387  if (!PyArg_ParseTuple(args,(char *)":new_Mesh")) SWIG_fail;
191388  {
191389  try {
191391  }
191392  catch(CStdErrorInfo oError)
191393  {
191394  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191395  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191396  PyErr_SetString(PyExc_IndexError, strError.c_str());
191397  SWIG_fail;
191398  }
191399  catch(...)
191400  {
191401  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191402  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191403  SWIG_fail;
191404  }
191405  }
191406  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, SWIG_POINTER_NEW | 0 );
191407  return resultobj;
191408 fail:
191409  return NULL;
191410 }
191411 
191412 
191413 SWIGINTERN PyObject *_wrap_delete_Mesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191414  PyObject *resultobj = 0;
191416  void *argp1 = 0 ;
191417  int res1 = 0 ;
191418  PyObject * obj0 = 0 ;
191419 
191420  if (!PyArg_ParseTuple(args,(char *)"O:delete_Mesh",&obj0)) SWIG_fail;
191421  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, SWIG_POINTER_DISOWN | 0 );
191422  if (!SWIG_IsOK(res1)) {
191423  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Mesh" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
191424  }
191425  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
191426  {
191427  try {
191428  delete arg1;
191429  }
191430  catch(CStdErrorInfo oError)
191431  {
191432  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191433  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191434  PyErr_SetString(PyExc_IndexError, strError.c_str());
191435  SWIG_fail;
191436  }
191437  catch(...)
191438  {
191439  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191440  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191441  SWIG_fail;
191442  }
191443  }
191444  resultobj = SWIG_Py_Void();
191445  return resultobj;
191446 fail:
191447  return NULL;
191448 }
191449 
191450 
191451 SWIGINTERN PyObject *_wrap_Mesh_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191452  PyObject *resultobj = 0;
191454  void *argp1 = 0 ;
191455  int res1 = 0 ;
191456  PyObject * obj0 = 0 ;
191458 
191459  if (!PyArg_ParseTuple(args,(char *)"O:Mesh_CastToDerived",&obj0)) SWIG_fail;
191460  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
191461  if (!SWIG_IsOK(res1)) {
191462  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
191463  }
191464  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
191465  {
191466  try {
191467  result = (AnimatSim::Environment::Bodies::Mesh *)AnimatSim::Environment::Bodies::Mesh::CastToDerived(arg1);
191468  }
191469  catch(CStdErrorInfo oError)
191470  {
191471  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191472  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191473  PyErr_SetString(PyExc_IndexError, strError.c_str());
191474  SWIG_fail;
191475  }
191476  catch(...)
191477  {
191478  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191479  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191480  SWIG_fail;
191481  }
191482  }
191483  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
191484  return resultobj;
191485 fail:
191486  return NULL;
191487 }
191488 
191489 
191490 SWIGINTERN PyObject *_wrap_Mesh_MeshFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191491  PyObject *resultobj = 0;
191493  void *argp1 = 0 ;
191494  int res1 = 0 ;
191495  PyObject * obj0 = 0 ;
191496  std::string result;
191497 
191498  if (!PyArg_ParseTuple(args,(char *)"O:Mesh_MeshFile",&obj0)) SWIG_fail;
191499  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
191500  if (!SWIG_IsOK(res1)) {
191501  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_MeshFile" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
191502  }
191503  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
191504  {
191505  try {
191506  result = (arg1)->MeshFile();
191507  }
191508  catch(CStdErrorInfo oError)
191509  {
191510  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191511  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191512  PyErr_SetString(PyExc_IndexError, strError.c_str());
191513  SWIG_fail;
191514  }
191515  catch(...)
191516  {
191517  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191518  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191519  SWIG_fail;
191520  }
191521  }
191522  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
191523  return resultobj;
191524 fail:
191525  return NULL;
191526 }
191527 
191528 
191529 SWIGINTERN PyObject *_wrap_Mesh_MeshFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191530  PyObject *resultobj = 0;
191532  std::string arg2 ;
191533  void *argp1 = 0 ;
191534  int res1 = 0 ;
191535  PyObject * obj0 = 0 ;
191536  PyObject * obj1 = 0 ;
191537 
191538  if (!PyArg_ParseTuple(args,(char *)"OO:Mesh_MeshFile",&obj0,&obj1)) SWIG_fail;
191539  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
191540  if (!SWIG_IsOK(res1)) {
191541  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_MeshFile" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
191542  }
191543  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
191544  {
191545  std::string *ptr = (std::string *)0;
191546  int res = SWIG_AsPtr_std_string(obj1, &ptr);
191547  if (!SWIG_IsOK(res) || !ptr) {
191548  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Mesh_MeshFile" "', argument " "2"" of type '" "std::string""'");
191549  }
191550  arg2 = *ptr;
191551  if (SWIG_IsNewObj(res)) delete ptr;
191552  }
191553  {
191554  try {
191555  (arg1)->MeshFile(arg2);
191556  }
191557  catch(CStdErrorInfo oError)
191558  {
191559  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191560  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191561  PyErr_SetString(PyExc_IndexError, strError.c_str());
191562  SWIG_fail;
191563  }
191564  catch(...)
191565  {
191566  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191567  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191568  SWIG_fail;
191569  }
191570  }
191571  resultobj = SWIG_Py_Void();
191572  return resultobj;
191573 fail:
191574  return NULL;
191575 }
191576 
191577 
191578 SWIGINTERN PyObject *_wrap_Mesh_MeshFile(PyObject *self, PyObject *args) {
191579  int argc;
191580  PyObject *argv[3];
191581  int ii;
191582 
191583  if (!PyTuple_Check(args)) SWIG_fail;
191584  argc = args ? (int)PyObject_Length(args) : 0;
191585  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
191586  argv[ii] = PyTuple_GET_ITEM(args,ii);
191587  }
191588  if (argc == 1) {
191589  int _v;
191590  void *vptr = 0;
191591  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0);
191592  _v = SWIG_CheckState(res);
191593  if (_v) {
191594  return _wrap_Mesh_MeshFile__SWIG_0(self, args);
191595  }
191596  }
191597  if (argc == 2) {
191598  int _v;
191599  void *vptr = 0;
191600  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0);
191601  _v = SWIG_CheckState(res);
191602  if (_v) {
191603  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
191604  _v = SWIG_CheckState(res);
191605  if (_v) {
191606  return _wrap_Mesh_MeshFile__SWIG_1(self, args);
191607  }
191608  }
191609  }
191610 
191611 fail:
191612  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Mesh_MeshFile'.\n"
191613  " Possible C/C++ prototypes are:\n"
191614  " AnimatSim::Environment::Bodies::Mesh::MeshFile()\n"
191615  " AnimatSim::Environment::Bodies::Mesh::MeshFile(std::string)\n");
191616  return 0;
191617 }
191618 
191619 
191620 SWIGINTERN PyObject *_wrap_Mesh_CollisionMeshType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191621  PyObject *resultobj = 0;
191623  void *argp1 = 0 ;
191624  int res1 = 0 ;
191625  PyObject * obj0 = 0 ;
191626  std::string result;
191627 
191628  if (!PyArg_ParseTuple(args,(char *)"O:Mesh_CollisionMeshType",&obj0)) SWIG_fail;
191629  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
191630  if (!SWIG_IsOK(res1)) {
191631  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_CollisionMeshType" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
191632  }
191633  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
191634  {
191635  try {
191636  result = (arg1)->CollisionMeshType();
191637  }
191638  catch(CStdErrorInfo oError)
191639  {
191640  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191641  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191642  PyErr_SetString(PyExc_IndexError, strError.c_str());
191643  SWIG_fail;
191644  }
191645  catch(...)
191646  {
191647  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191648  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191649  SWIG_fail;
191650  }
191651  }
191652  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
191653  return resultobj;
191654 fail:
191655  return NULL;
191656 }
191657 
191658 
191659 SWIGINTERN PyObject *_wrap_Mesh_CollisionMeshType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191660  PyObject *resultobj = 0;
191662  std::string arg2 ;
191663  void *argp1 = 0 ;
191664  int res1 = 0 ;
191665  PyObject * obj0 = 0 ;
191666  PyObject * obj1 = 0 ;
191667 
191668  if (!PyArg_ParseTuple(args,(char *)"OO:Mesh_CollisionMeshType",&obj0,&obj1)) SWIG_fail;
191669  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
191670  if (!SWIG_IsOK(res1)) {
191671  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_CollisionMeshType" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
191672  }
191673  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
191674  {
191675  std::string *ptr = (std::string *)0;
191676  int res = SWIG_AsPtr_std_string(obj1, &ptr);
191677  if (!SWIG_IsOK(res) || !ptr) {
191678  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Mesh_CollisionMeshType" "', argument " "2"" of type '" "std::string""'");
191679  }
191680  arg2 = *ptr;
191681  if (SWIG_IsNewObj(res)) delete ptr;
191682  }
191683  {
191684  try {
191685  (arg1)->CollisionMeshType(arg2);
191686  }
191687  catch(CStdErrorInfo oError)
191688  {
191689  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191690  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191691  PyErr_SetString(PyExc_IndexError, strError.c_str());
191692  SWIG_fail;
191693  }
191694  catch(...)
191695  {
191696  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191697  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191698  SWIG_fail;
191699  }
191700  }
191701  resultobj = SWIG_Py_Void();
191702  return resultobj;
191703 fail:
191704  return NULL;
191705 }
191706 
191707 
191708 SWIGINTERN PyObject *_wrap_Mesh_CollisionMeshType(PyObject *self, PyObject *args) {
191709  int argc;
191710  PyObject *argv[3];
191711  int ii;
191712 
191713  if (!PyTuple_Check(args)) SWIG_fail;
191714  argc = args ? (int)PyObject_Length(args) : 0;
191715  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
191716  argv[ii] = PyTuple_GET_ITEM(args,ii);
191717  }
191718  if (argc == 1) {
191719  int _v;
191720  void *vptr = 0;
191721  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0);
191722  _v = SWIG_CheckState(res);
191723  if (_v) {
191724  return _wrap_Mesh_CollisionMeshType__SWIG_0(self, args);
191725  }
191726  }
191727  if (argc == 2) {
191728  int _v;
191729  void *vptr = 0;
191730  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0);
191731  _v = SWIG_CheckState(res);
191732  if (_v) {
191733  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
191734  _v = SWIG_CheckState(res);
191735  if (_v) {
191736  return _wrap_Mesh_CollisionMeshType__SWIG_1(self, args);
191737  }
191738  }
191739  }
191740 
191741 fail:
191742  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Mesh_CollisionMeshType'.\n"
191743  " Possible C/C++ prototypes are:\n"
191744  " AnimatSim::Environment::Bodies::Mesh::CollisionMeshType()\n"
191745  " AnimatSim::Environment::Bodies::Mesh::CollisionMeshType(std::string)\n");
191746  return 0;
191747 }
191748 
191749 
191750 SWIGINTERN PyObject *_wrap_Mesh_ConvexMeshFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191751  PyObject *resultobj = 0;
191753  void *argp1 = 0 ;
191754  int res1 = 0 ;
191755  PyObject * obj0 = 0 ;
191756  std::string result;
191757 
191758  if (!PyArg_ParseTuple(args,(char *)"O:Mesh_ConvexMeshFile",&obj0)) SWIG_fail;
191759  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
191760  if (!SWIG_IsOK(res1)) {
191761  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_ConvexMeshFile" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
191762  }
191763  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
191764  {
191765  try {
191766  result = (arg1)->ConvexMeshFile();
191767  }
191768  catch(CStdErrorInfo oError)
191769  {
191770  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191771  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191772  PyErr_SetString(PyExc_IndexError, strError.c_str());
191773  SWIG_fail;
191774  }
191775  catch(...)
191776  {
191777  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191778  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191779  SWIG_fail;
191780  }
191781  }
191782  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
191783  return resultobj;
191784 fail:
191785  return NULL;
191786 }
191787 
191788 
191789 SWIGINTERN PyObject *_wrap_Mesh_ConvexMeshFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191790  PyObject *resultobj = 0;
191792  std::string arg2 ;
191793  void *argp1 = 0 ;
191794  int res1 = 0 ;
191795  PyObject * obj0 = 0 ;
191796  PyObject * obj1 = 0 ;
191797 
191798  if (!PyArg_ParseTuple(args,(char *)"OO:Mesh_ConvexMeshFile",&obj0,&obj1)) SWIG_fail;
191799  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
191800  if (!SWIG_IsOK(res1)) {
191801  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_ConvexMeshFile" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
191802  }
191803  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
191804  {
191805  std::string *ptr = (std::string *)0;
191806  int res = SWIG_AsPtr_std_string(obj1, &ptr);
191807  if (!SWIG_IsOK(res) || !ptr) {
191808  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Mesh_ConvexMeshFile" "', argument " "2"" of type '" "std::string""'");
191809  }
191810  arg2 = *ptr;
191811  if (SWIG_IsNewObj(res)) delete ptr;
191812  }
191813  {
191814  try {
191815  (arg1)->ConvexMeshFile(arg2);
191816  }
191817  catch(CStdErrorInfo oError)
191818  {
191819  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191820  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191821  PyErr_SetString(PyExc_IndexError, strError.c_str());
191822  SWIG_fail;
191823  }
191824  catch(...)
191825  {
191826  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191827  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191828  SWIG_fail;
191829  }
191830  }
191831  resultobj = SWIG_Py_Void();
191832  return resultobj;
191833 fail:
191834  return NULL;
191835 }
191836 
191837 
191838 SWIGINTERN PyObject *_wrap_Mesh_ConvexMeshFile(PyObject *self, PyObject *args) {
191839  int argc;
191840  PyObject *argv[3];
191841  int ii;
191842 
191843  if (!PyTuple_Check(args)) SWIG_fail;
191844  argc = args ? (int)PyObject_Length(args) : 0;
191845  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
191846  argv[ii] = PyTuple_GET_ITEM(args,ii);
191847  }
191848  if (argc == 1) {
191849  int _v;
191850  void *vptr = 0;
191851  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0);
191852  _v = SWIG_CheckState(res);
191853  if (_v) {
191854  return _wrap_Mesh_ConvexMeshFile__SWIG_0(self, args);
191855  }
191856  }
191857  if (argc == 2) {
191858  int _v;
191859  void *vptr = 0;
191860  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0);
191861  _v = SWIG_CheckState(res);
191862  if (_v) {
191863  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
191864  _v = SWIG_CheckState(res);
191865  if (_v) {
191866  return _wrap_Mesh_ConvexMeshFile__SWIG_1(self, args);
191867  }
191868  }
191869  }
191870 
191871 fail:
191872  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Mesh_ConvexMeshFile'.\n"
191873  " Possible C/C++ prototypes are:\n"
191874  " AnimatSim::Environment::Bodies::Mesh::ConvexMeshFile()\n"
191875  " AnimatSim::Environment::Bodies::Mesh::ConvexMeshFile(std::string)\n");
191876  return 0;
191877 }
191878 
191879 
191880 SWIGINTERN PyObject *_wrap_Mesh_SetMeshFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191881  PyObject *resultobj = 0;
191883  std::string arg2 ;
191884  void *argp1 = 0 ;
191885  int res1 = 0 ;
191886  PyObject * obj0 = 0 ;
191887  PyObject * obj1 = 0 ;
191888 
191889  if (!PyArg_ParseTuple(args,(char *)"OO:Mesh_SetMeshFile",&obj0,&obj1)) SWIG_fail;
191890  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
191891  if (!SWIG_IsOK(res1)) {
191892  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_SetMeshFile" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
191893  }
191894  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
191895  {
191896  std::string *ptr = (std::string *)0;
191897  int res = SWIG_AsPtr_std_string(obj1, &ptr);
191898  if (!SWIG_IsOK(res) || !ptr) {
191899  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Mesh_SetMeshFile" "', argument " "2"" of type '" "std::string""'");
191900  }
191901  arg2 = *ptr;
191902  if (SWIG_IsNewObj(res)) delete ptr;
191903  }
191904  {
191905  try {
191906  (arg1)->SetMeshFile(arg2);
191907  }
191908  catch(CStdErrorInfo oError)
191909  {
191910  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191911  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191912  PyErr_SetString(PyExc_IndexError, strError.c_str());
191913  SWIG_fail;
191914  }
191915  catch(...)
191916  {
191917  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191918  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191919  SWIG_fail;
191920  }
191921  }
191922  resultobj = SWIG_Py_Void();
191923  return resultobj;
191924 fail:
191925  return NULL;
191926 }
191927 
191928 
191929 SWIGINTERN PyObject *_wrap_Mesh_SetBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191930  PyObject *resultobj = 0;
191932  int arg2 ;
191933  float arg3 ;
191934  void *argp1 = 0 ;
191935  int res1 = 0 ;
191936  int val2 ;
191937  int ecode2 = 0 ;
191938  float val3 ;
191939  int ecode3 = 0 ;
191940  PyObject * obj0 = 0 ;
191941  PyObject * obj1 = 0 ;
191942  PyObject * obj2 = 0 ;
191943 
191944  if (!PyArg_ParseTuple(args,(char *)"OOO:Mesh_SetBoundingBox",&obj0,&obj1,&obj2)) SWIG_fail;
191945  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
191946  if (!SWIG_IsOK(res1)) {
191947  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_SetBoundingBox" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
191948  }
191949  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
191950  ecode2 = SWIG_AsVal_int(obj1, &val2);
191951  if (!SWIG_IsOK(ecode2)) {
191952  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Mesh_SetBoundingBox" "', argument " "2"" of type '" "int""'");
191953  }
191954  arg2 = static_cast< int >(val2);
191955  ecode3 = SWIG_AsVal_float(obj2, &val3);
191956  if (!SWIG_IsOK(ecode3)) {
191957  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Mesh_SetBoundingBox" "', argument " "3"" of type '" "float""'");
191958  }
191959  arg3 = static_cast< float >(val3);
191960  {
191961  try {
191962  (arg1)->SetBoundingBox(arg2,arg3);
191963  }
191964  catch(CStdErrorInfo oError)
191965  {
191966  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191967  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
191968  PyErr_SetString(PyExc_IndexError, strError.c_str());
191969  SWIG_fail;
191970  }
191971  catch(...)
191972  {
191973  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
191974  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
191975  SWIG_fail;
191976  }
191977  }
191978  resultobj = SWIG_Py_Void();
191979  return resultobj;
191980 fail:
191981  return NULL;
191982 }
191983 
191984 
191985 SWIGINTERN PyObject *_wrap_Mesh_Scale__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
191986  PyObject *resultobj = 0;
191988  CStdPoint< float > *arg2 = 0 ;
191989  bool arg3 ;
191990  void *argp1 = 0 ;
191991  int res1 = 0 ;
191992  void *argp2 = 0 ;
191993  int res2 = 0 ;
191994  bool val3 ;
191995  int ecode3 = 0 ;
191996  PyObject * obj0 = 0 ;
191997  PyObject * obj1 = 0 ;
191998  PyObject * obj2 = 0 ;
191999 
192000  if (!PyArg_ParseTuple(args,(char *)"OOO:Mesh_Scale",&obj0,&obj1,&obj2)) SWIG_fail;
192001  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
192002  if (!SWIG_IsOK(res1)) {
192003  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_Scale" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
192004  }
192005  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
192006  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
192007  if (!SWIG_IsOK(res2)) {
192008  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Mesh_Scale" "', argument " "2"" of type '" "CStdPoint< float > &""'");
192009  }
192010  if (!argp2) {
192011  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mesh_Scale" "', argument " "2"" of type '" "CStdPoint< float > &""'");
192012  }
192013  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
192014  ecode3 = SWIG_AsVal_bool(obj2, &val3);
192015  if (!SWIG_IsOK(ecode3)) {
192016  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Mesh_Scale" "', argument " "3"" of type '" "bool""'");
192017  }
192018  arg3 = static_cast< bool >(val3);
192019  {
192020  try {
192021  (arg1)->Scale(*arg2,arg3);
192022  }
192023  catch(CStdErrorInfo oError)
192024  {
192025  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192026  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
192027  PyErr_SetString(PyExc_IndexError, strError.c_str());
192028  SWIG_fail;
192029  }
192030  catch(...)
192031  {
192032  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192033  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
192034  SWIG_fail;
192035  }
192036  }
192037  resultobj = SWIG_Py_Void();
192038  return resultobj;
192039 fail:
192040  return NULL;
192041 }
192042 
192043 
192044 SWIGINTERN PyObject *_wrap_Mesh_Scale__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
192045  PyObject *resultobj = 0;
192047  CStdPoint< float > *arg2 = 0 ;
192048  void *argp1 = 0 ;
192049  int res1 = 0 ;
192050  void *argp2 = 0 ;
192051  int res2 = 0 ;
192052  PyObject * obj0 = 0 ;
192053  PyObject * obj1 = 0 ;
192054 
192055  if (!PyArg_ParseTuple(args,(char *)"OO:Mesh_Scale",&obj0,&obj1)) SWIG_fail;
192056  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
192057  if (!SWIG_IsOK(res1)) {
192058  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_Scale" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
192059  }
192060  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
192061  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
192062  if (!SWIG_IsOK(res2)) {
192063  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Mesh_Scale" "', argument " "2"" of type '" "CStdPoint< float > &""'");
192064  }
192065  if (!argp2) {
192066  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mesh_Scale" "', argument " "2"" of type '" "CStdPoint< float > &""'");
192067  }
192068  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
192069  {
192070  try {
192071  (arg1)->Scale(*arg2);
192072  }
192073  catch(CStdErrorInfo oError)
192074  {
192075  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192076  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
192077  PyErr_SetString(PyExc_IndexError, strError.c_str());
192078  SWIG_fail;
192079  }
192080  catch(...)
192081  {
192082  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192083  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
192084  SWIG_fail;
192085  }
192086  }
192087  resultobj = SWIG_Py_Void();
192088  return resultobj;
192089 fail:
192090  return NULL;
192091 }
192092 
192093 
192094 SWIGINTERN PyObject *_wrap_Mesh_Scale__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
192095  PyObject *resultobj = 0;
192097  std::string arg2 ;
192098  bool arg3 ;
192099  void *argp1 = 0 ;
192100  int res1 = 0 ;
192101  bool val3 ;
192102  int ecode3 = 0 ;
192103  PyObject * obj0 = 0 ;
192104  PyObject * obj1 = 0 ;
192105  PyObject * obj2 = 0 ;
192106 
192107  if (!PyArg_ParseTuple(args,(char *)"OOO:Mesh_Scale",&obj0,&obj1,&obj2)) SWIG_fail;
192108  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
192109  if (!SWIG_IsOK(res1)) {
192110  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_Scale" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
192111  }
192112  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
192113  {
192114  std::string *ptr = (std::string *)0;
192115  int res = SWIG_AsPtr_std_string(obj1, &ptr);
192116  if (!SWIG_IsOK(res) || !ptr) {
192117  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Mesh_Scale" "', argument " "2"" of type '" "std::string""'");
192118  }
192119  arg2 = *ptr;
192120  if (SWIG_IsNewObj(res)) delete ptr;
192121  }
192122  ecode3 = SWIG_AsVal_bool(obj2, &val3);
192123  if (!SWIG_IsOK(ecode3)) {
192124  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Mesh_Scale" "', argument " "3"" of type '" "bool""'");
192125  }
192126  arg3 = static_cast< bool >(val3);
192127  {
192128  try {
192129  (arg1)->Scale(arg2,arg3);
192130  }
192131  catch(CStdErrorInfo oError)
192132  {
192133  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192134  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
192135  PyErr_SetString(PyExc_IndexError, strError.c_str());
192136  SWIG_fail;
192137  }
192138  catch(...)
192139  {
192140  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192141  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
192142  SWIG_fail;
192143  }
192144  }
192145  resultobj = SWIG_Py_Void();
192146  return resultobj;
192147 fail:
192148  return NULL;
192149 }
192150 
192151 
192152 SWIGINTERN PyObject *_wrap_Mesh_Scale__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
192153  PyObject *resultobj = 0;
192155  std::string arg2 ;
192156  void *argp1 = 0 ;
192157  int res1 = 0 ;
192158  PyObject * obj0 = 0 ;
192159  PyObject * obj1 = 0 ;
192160 
192161  if (!PyArg_ParseTuple(args,(char *)"OO:Mesh_Scale",&obj0,&obj1)) SWIG_fail;
192162  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
192163  if (!SWIG_IsOK(res1)) {
192164  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_Scale" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
192165  }
192166  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
192167  {
192168  std::string *ptr = (std::string *)0;
192169  int res = SWIG_AsPtr_std_string(obj1, &ptr);
192170  if (!SWIG_IsOK(res) || !ptr) {
192171  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Mesh_Scale" "', argument " "2"" of type '" "std::string""'");
192172  }
192173  arg2 = *ptr;
192174  if (SWIG_IsNewObj(res)) delete ptr;
192175  }
192176  {
192177  try {
192178  (arg1)->Scale(arg2);
192179  }
192180  catch(CStdErrorInfo oError)
192181  {
192182  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192183  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
192184  PyErr_SetString(PyExc_IndexError, strError.c_str());
192185  SWIG_fail;
192186  }
192187  catch(...)
192188  {
192189  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192190  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
192191  SWIG_fail;
192192  }
192193  }
192194  resultobj = SWIG_Py_Void();
192195  return resultobj;
192196 fail:
192197  return NULL;
192198 }
192199 
192200 
192201 SWIGINTERN PyObject *_wrap_Mesh_Scale__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
192202  PyObject *resultobj = 0;
192204  float arg2 ;
192205  float arg3 ;
192206  float arg4 ;
192207  bool arg5 ;
192208  void *argp1 = 0 ;
192209  int res1 = 0 ;
192210  float val2 ;
192211  int ecode2 = 0 ;
192212  float val3 ;
192213  int ecode3 = 0 ;
192214  float val4 ;
192215  int ecode4 = 0 ;
192216  bool val5 ;
192217  int ecode5 = 0 ;
192218  PyObject * obj0 = 0 ;
192219  PyObject * obj1 = 0 ;
192220  PyObject * obj2 = 0 ;
192221  PyObject * obj3 = 0 ;
192222  PyObject * obj4 = 0 ;
192223 
192224  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Mesh_Scale",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
192225  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
192226  if (!SWIG_IsOK(res1)) {
192227  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_Scale" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
192228  }
192229  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
192230  ecode2 = SWIG_AsVal_float(obj1, &val2);
192231  if (!SWIG_IsOK(ecode2)) {
192232  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Mesh_Scale" "', argument " "2"" of type '" "float""'");
192233  }
192234  arg2 = static_cast< float >(val2);
192235  ecode3 = SWIG_AsVal_float(obj2, &val3);
192236  if (!SWIG_IsOK(ecode3)) {
192237  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Mesh_Scale" "', argument " "3"" of type '" "float""'");
192238  }
192239  arg3 = static_cast< float >(val3);
192240  ecode4 = SWIG_AsVal_float(obj3, &val4);
192241  if (!SWIG_IsOK(ecode4)) {
192242  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Mesh_Scale" "', argument " "4"" of type '" "float""'");
192243  }
192244  arg4 = static_cast< float >(val4);
192245  ecode5 = SWIG_AsVal_bool(obj4, &val5);
192246  if (!SWIG_IsOK(ecode5)) {
192247  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Mesh_Scale" "', argument " "5"" of type '" "bool""'");
192248  }
192249  arg5 = static_cast< bool >(val5);
192250  {
192251  try {
192252  (arg1)->Scale(arg2,arg3,arg4,arg5);
192253  }
192254  catch(CStdErrorInfo oError)
192255  {
192256  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192257  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
192258  PyErr_SetString(PyExc_IndexError, strError.c_str());
192259  SWIG_fail;
192260  }
192261  catch(...)
192262  {
192263  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192264  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
192265  SWIG_fail;
192266  }
192267  }
192268  resultobj = SWIG_Py_Void();
192269  return resultobj;
192270 fail:
192271  return NULL;
192272 }
192273 
192274 
192275 SWIGINTERN PyObject *_wrap_Mesh_Scale__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
192276  PyObject *resultobj = 0;
192278  float arg2 ;
192279  float arg3 ;
192280  float arg4 ;
192281  void *argp1 = 0 ;
192282  int res1 = 0 ;
192283  float val2 ;
192284  int ecode2 = 0 ;
192285  float val3 ;
192286  int ecode3 = 0 ;
192287  float val4 ;
192288  int ecode4 = 0 ;
192289  PyObject * obj0 = 0 ;
192290  PyObject * obj1 = 0 ;
192291  PyObject * obj2 = 0 ;
192292  PyObject * obj3 = 0 ;
192293 
192294  if (!PyArg_ParseTuple(args,(char *)"OOOO:Mesh_Scale",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
192295  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
192296  if (!SWIG_IsOK(res1)) {
192297  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_Scale" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
192298  }
192299  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
192300  ecode2 = SWIG_AsVal_float(obj1, &val2);
192301  if (!SWIG_IsOK(ecode2)) {
192302  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Mesh_Scale" "', argument " "2"" of type '" "float""'");
192303  }
192304  arg2 = static_cast< float >(val2);
192305  ecode3 = SWIG_AsVal_float(obj2, &val3);
192306  if (!SWIG_IsOK(ecode3)) {
192307  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Mesh_Scale" "', argument " "3"" of type '" "float""'");
192308  }
192309  arg3 = static_cast< float >(val3);
192310  ecode4 = SWIG_AsVal_float(obj3, &val4);
192311  if (!SWIG_IsOK(ecode4)) {
192312  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Mesh_Scale" "', argument " "4"" of type '" "float""'");
192313  }
192314  arg4 = static_cast< float >(val4);
192315  {
192316  try {
192317  (arg1)->Scale(arg2,arg3,arg4);
192318  }
192319  catch(CStdErrorInfo oError)
192320  {
192321  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192322  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
192323  PyErr_SetString(PyExc_IndexError, strError.c_str());
192324  SWIG_fail;
192325  }
192326  catch(...)
192327  {
192328  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192329  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
192330  SWIG_fail;
192331  }
192332  }
192333  resultobj = SWIG_Py_Void();
192334  return resultobj;
192335 fail:
192336  return NULL;
192337 }
192338 
192339 
192340 SWIGINTERN PyObject *_wrap_Mesh_Scale__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
192341  PyObject *resultobj = 0;
192343  void *argp1 = 0 ;
192344  int res1 = 0 ;
192345  PyObject * obj0 = 0 ;
192346  CStdPoint< float > result;
192347 
192348  if (!PyArg_ParseTuple(args,(char *)"O:Mesh_Scale",&obj0)) SWIG_fail;
192349  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
192350  if (!SWIG_IsOK(res1)) {
192351  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_Scale" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
192352  }
192353  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
192354  {
192355  try {
192356  result = (arg1)->Scale();
192357  }
192358  catch(CStdErrorInfo oError)
192359  {
192360  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192361  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
192362  PyErr_SetString(PyExc_IndexError, strError.c_str());
192363  SWIG_fail;
192364  }
192365  catch(...)
192366  {
192367  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192368  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
192369  SWIG_fail;
192370  }
192371  }
192372  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
192373  return resultobj;
192374 fail:
192375  return NULL;
192376 }
192377 
192378 
192379 SWIGINTERN PyObject *_wrap_Mesh_Scale(PyObject *self, PyObject *args) {
192380  int argc;
192381  PyObject *argv[6];
192382  int ii;
192383 
192384  if (!PyTuple_Check(args)) SWIG_fail;
192385  argc = args ? (int)PyObject_Length(args) : 0;
192386  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
192387  argv[ii] = PyTuple_GET_ITEM(args,ii);
192388  }
192389  if (argc == 1) {
192390  int _v;
192391  void *vptr = 0;
192392  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0);
192393  _v = SWIG_CheckState(res);
192394  if (_v) {
192395  return _wrap_Mesh_Scale__SWIG_6(self, args);
192396  }
192397  }
192398  if (argc == 2) {
192399  int _v;
192400  void *vptr = 0;
192401  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0);
192402  _v = SWIG_CheckState(res);
192403  if (_v) {
192404  void *vptr = 0;
192405  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
192406  _v = SWIG_CheckState(res);
192407  if (_v) {
192408  return _wrap_Mesh_Scale__SWIG_1(self, args);
192409  }
192410  }
192411  }
192412  if (argc == 2) {
192413  int _v;
192414  void *vptr = 0;
192415  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0);
192416  _v = SWIG_CheckState(res);
192417  if (_v) {
192418  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
192419  _v = SWIG_CheckState(res);
192420  if (_v) {
192421  return _wrap_Mesh_Scale__SWIG_3(self, args);
192422  }
192423  }
192424  }
192425  if (argc == 3) {
192426  int _v;
192427  void *vptr = 0;
192428  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0);
192429  _v = SWIG_CheckState(res);
192430  if (_v) {
192431  void *vptr = 0;
192432  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
192433  _v = SWIG_CheckState(res);
192434  if (_v) {
192435  {
192436  int res = SWIG_AsVal_bool(argv[2], NULL);
192437  _v = SWIG_CheckState(res);
192438  }
192439  if (_v) {
192440  return _wrap_Mesh_Scale__SWIG_0(self, args);
192441  }
192442  }
192443  }
192444  }
192445  if (argc == 3) {
192446  int _v;
192447  void *vptr = 0;
192448  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0);
192449  _v = SWIG_CheckState(res);
192450  if (_v) {
192451  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
192452  _v = SWIG_CheckState(res);
192453  if (_v) {
192454  {
192455  int res = SWIG_AsVal_bool(argv[2], NULL);
192456  _v = SWIG_CheckState(res);
192457  }
192458  if (_v) {
192459  return _wrap_Mesh_Scale__SWIG_2(self, args);
192460  }
192461  }
192462  }
192463  }
192464  if (argc == 4) {
192465  int _v;
192466  void *vptr = 0;
192467  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0);
192468  _v = SWIG_CheckState(res);
192469  if (_v) {
192470  {
192471  int res = SWIG_AsVal_float(argv[1], NULL);
192472  _v = SWIG_CheckState(res);
192473  }
192474  if (_v) {
192475  {
192476  int res = SWIG_AsVal_float(argv[2], NULL);
192477  _v = SWIG_CheckState(res);
192478  }
192479  if (_v) {
192480  {
192481  int res = SWIG_AsVal_float(argv[3], NULL);
192482  _v = SWIG_CheckState(res);
192483  }
192484  if (_v) {
192485  return _wrap_Mesh_Scale__SWIG_5(self, args);
192486  }
192487  }
192488  }
192489  }
192490  }
192491  if (argc == 5) {
192492  int _v;
192493  void *vptr = 0;
192494  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0);
192495  _v = SWIG_CheckState(res);
192496  if (_v) {
192497  {
192498  int res = SWIG_AsVal_float(argv[1], NULL);
192499  _v = SWIG_CheckState(res);
192500  }
192501  if (_v) {
192502  {
192503  int res = SWIG_AsVal_float(argv[2], NULL);
192504  _v = SWIG_CheckState(res);
192505  }
192506  if (_v) {
192507  {
192508  int res = SWIG_AsVal_float(argv[3], NULL);
192509  _v = SWIG_CheckState(res);
192510  }
192511  if (_v) {
192512  {
192513  int res = SWIG_AsVal_bool(argv[4], NULL);
192514  _v = SWIG_CheckState(res);
192515  }
192516  if (_v) {
192517  return _wrap_Mesh_Scale__SWIG_4(self, args);
192518  }
192519  }
192520  }
192521  }
192522  }
192523  }
192524 
192525 fail:
192526  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Mesh_Scale'.\n"
192527  " Possible C/C++ prototypes are:\n"
192528  " AnimatSim::Environment::Bodies::Mesh::Scale(CStdPoint< float > &,bool)\n"
192529  " AnimatSim::Environment::Bodies::Mesh::Scale(CStdPoint< float > &)\n"
192530  " AnimatSim::Environment::Bodies::Mesh::Scale(std::string,bool)\n"
192531  " AnimatSim::Environment::Bodies::Mesh::Scale(std::string)\n"
192532  " AnimatSim::Environment::Bodies::Mesh::Scale(float,float,float,bool)\n"
192533  " AnimatSim::Environment::Bodies::Mesh::Scale(float,float,float)\n"
192534  " AnimatSim::Environment::Bodies::Mesh::Scale()\n");
192535  return 0;
192536 }
192537 
192538 
192539 SWIGINTERN PyObject *_wrap_Mesh_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
192540  PyObject *resultobj = 0;
192542  std::string *arg2 = 0 ;
192543  void *argp1 = 0 ;
192544  int res1 = 0 ;
192545  int res2 = SWIG_OLDOBJ ;
192546  PyObject * obj0 = 0 ;
192547  PyObject * obj1 = 0 ;
192548  float *result = 0 ;
192549 
192550  if (!PyArg_ParseTuple(args,(char *)"OO:Mesh_GetDataPointer",&obj0,&obj1)) SWIG_fail;
192551  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
192552  if (!SWIG_IsOK(res1)) {
192553  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
192554  }
192555  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
192556  {
192557  std::string *ptr = (std::string *)0;
192558  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
192559  if (!SWIG_IsOK(res2)) {
192560  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Mesh_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
192561  }
192562  if (!ptr) {
192563  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mesh_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
192564  }
192565  arg2 = ptr;
192566  }
192567  {
192568  try {
192569  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
192570  }
192571  catch(CStdErrorInfo oError)
192572  {
192573  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192574  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
192575  PyErr_SetString(PyExc_IndexError, strError.c_str());
192576  SWIG_fail;
192577  }
192578  catch(...)
192579  {
192580  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192581  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
192582  SWIG_fail;
192583  }
192584  }
192585  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
192586  if (SWIG_IsNewObj(res2)) delete arg2;
192587  return resultobj;
192588 fail:
192589  if (SWIG_IsNewObj(res2)) delete arg2;
192590  return NULL;
192591 }
192592 
192593 
192594 SWIGINTERN PyObject *_wrap_Mesh_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
192595  PyObject *resultobj = 0;
192597  std::string *arg2 = 0 ;
192598  std::string *arg3 = 0 ;
192599  bool arg4 ;
192600  void *argp1 = 0 ;
192601  int res1 = 0 ;
192602  int res2 = SWIG_OLDOBJ ;
192603  int res3 = SWIG_OLDOBJ ;
192604  bool val4 ;
192605  int ecode4 = 0 ;
192606  PyObject * obj0 = 0 ;
192607  PyObject * obj1 = 0 ;
192608  PyObject * obj2 = 0 ;
192609  PyObject * obj3 = 0 ;
192610  bool result;
192611 
192612  if (!PyArg_ParseTuple(args,(char *)"OOOO:Mesh_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
192613  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
192614  if (!SWIG_IsOK(res1)) {
192615  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
192616  }
192617  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
192618  {
192619  std::string *ptr = (std::string *)0;
192620  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
192621  if (!SWIG_IsOK(res2)) {
192622  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Mesh_SetData" "', argument " "2"" of type '" "std::string const &""'");
192623  }
192624  if (!ptr) {
192625  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mesh_SetData" "', argument " "2"" of type '" "std::string const &""'");
192626  }
192627  arg2 = ptr;
192628  }
192629  {
192630  std::string *ptr = (std::string *)0;
192631  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
192632  if (!SWIG_IsOK(res3)) {
192633  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Mesh_SetData" "', argument " "3"" of type '" "std::string const &""'");
192634  }
192635  if (!ptr) {
192636  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mesh_SetData" "', argument " "3"" of type '" "std::string const &""'");
192637  }
192638  arg3 = ptr;
192639  }
192640  ecode4 = SWIG_AsVal_bool(obj3, &val4);
192641  if (!SWIG_IsOK(ecode4)) {
192642  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Mesh_SetData" "', argument " "4"" of type '" "bool""'");
192643  }
192644  arg4 = static_cast< bool >(val4);
192645  {
192646  try {
192647  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
192648  }
192649  catch(CStdErrorInfo oError)
192650  {
192651  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192652  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
192653  PyErr_SetString(PyExc_IndexError, strError.c_str());
192654  SWIG_fail;
192655  }
192656  catch(...)
192657  {
192658  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192659  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
192660  SWIG_fail;
192661  }
192662  }
192663  resultobj = SWIG_From_bool(static_cast< bool >(result));
192664  if (SWIG_IsNewObj(res2)) delete arg2;
192665  if (SWIG_IsNewObj(res3)) delete arg3;
192666  return resultobj;
192667 fail:
192668  if (SWIG_IsNewObj(res2)) delete arg2;
192669  if (SWIG_IsNewObj(res3)) delete arg3;
192670  return NULL;
192671 }
192672 
192673 
192674 SWIGINTERN PyObject *_wrap_Mesh_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
192675  PyObject *resultobj = 0;
192677  std::string *arg2 = 0 ;
192678  std::string *arg3 = 0 ;
192679  void *argp1 = 0 ;
192680  int res1 = 0 ;
192681  int res2 = SWIG_OLDOBJ ;
192682  int res3 = SWIG_OLDOBJ ;
192683  PyObject * obj0 = 0 ;
192684  PyObject * obj1 = 0 ;
192685  PyObject * obj2 = 0 ;
192686  bool result;
192687 
192688  if (!PyArg_ParseTuple(args,(char *)"OOO:Mesh_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
192689  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
192690  if (!SWIG_IsOK(res1)) {
192691  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
192692  }
192693  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
192694  {
192695  std::string *ptr = (std::string *)0;
192696  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
192697  if (!SWIG_IsOK(res2)) {
192698  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Mesh_SetData" "', argument " "2"" of type '" "std::string const &""'");
192699  }
192700  if (!ptr) {
192701  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mesh_SetData" "', argument " "2"" of type '" "std::string const &""'");
192702  }
192703  arg2 = ptr;
192704  }
192705  {
192706  std::string *ptr = (std::string *)0;
192707  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
192708  if (!SWIG_IsOK(res3)) {
192709  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Mesh_SetData" "', argument " "3"" of type '" "std::string const &""'");
192710  }
192711  if (!ptr) {
192712  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mesh_SetData" "', argument " "3"" of type '" "std::string const &""'");
192713  }
192714  arg3 = ptr;
192715  }
192716  {
192717  try {
192718  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
192719  }
192720  catch(CStdErrorInfo oError)
192721  {
192722  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192723  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
192724  PyErr_SetString(PyExc_IndexError, strError.c_str());
192725  SWIG_fail;
192726  }
192727  catch(...)
192728  {
192729  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192730  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
192731  SWIG_fail;
192732  }
192733  }
192734  resultobj = SWIG_From_bool(static_cast< bool >(result));
192735  if (SWIG_IsNewObj(res2)) delete arg2;
192736  if (SWIG_IsNewObj(res3)) delete arg3;
192737  return resultobj;
192738 fail:
192739  if (SWIG_IsNewObj(res2)) delete arg2;
192740  if (SWIG_IsNewObj(res3)) delete arg3;
192741  return NULL;
192742 }
192743 
192744 
192745 SWIGINTERN PyObject *_wrap_Mesh_SetData(PyObject *self, PyObject *args) {
192746  int argc;
192747  PyObject *argv[5];
192748  int ii;
192749 
192750  if (!PyTuple_Check(args)) SWIG_fail;
192751  argc = args ? (int)PyObject_Length(args) : 0;
192752  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
192753  argv[ii] = PyTuple_GET_ITEM(args,ii);
192754  }
192755  if (argc == 3) {
192756  int _v;
192757  void *vptr = 0;
192758  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0);
192759  _v = SWIG_CheckState(res);
192760  if (_v) {
192761  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
192762  _v = SWIG_CheckState(res);
192763  if (_v) {
192764  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
192765  _v = SWIG_CheckState(res);
192766  if (_v) {
192767  return _wrap_Mesh_SetData__SWIG_1(self, args);
192768  }
192769  }
192770  }
192771  }
192772  if (argc == 4) {
192773  int _v;
192774  void *vptr = 0;
192775  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0);
192776  _v = SWIG_CheckState(res);
192777  if (_v) {
192778  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
192779  _v = SWIG_CheckState(res);
192780  if (_v) {
192781  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
192782  _v = SWIG_CheckState(res);
192783  if (_v) {
192784  {
192785  int res = SWIG_AsVal_bool(argv[3], NULL);
192786  _v = SWIG_CheckState(res);
192787  }
192788  if (_v) {
192789  return _wrap_Mesh_SetData__SWIG_0(self, args);
192790  }
192791  }
192792  }
192793  }
192794  }
192795 
192796 fail:
192797  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Mesh_SetData'.\n"
192798  " Possible C/C++ prototypes are:\n"
192799  " AnimatSim::Environment::Bodies::Mesh::SetData(std::string const &,std::string const &,bool)\n"
192800  " AnimatSim::Environment::Bodies::Mesh::SetData(std::string const &,std::string const &)\n");
192801  return 0;
192802 }
192803 
192804 
192805 SWIGINTERN PyObject *_wrap_Mesh_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
192806  PyObject *resultobj = 0;
192808  CStdPtrArray< TypeProperty > *arg2 = 0 ;
192809  void *argp1 = 0 ;
192810  int res1 = 0 ;
192811  void *argp2 = 0 ;
192812  int res2 = 0 ;
192813  PyObject * obj0 = 0 ;
192814  PyObject * obj1 = 0 ;
192815 
192816  if (!PyArg_ParseTuple(args,(char *)"OO:Mesh_QueryProperties",&obj0,&obj1)) SWIG_fail;
192817  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
192818  if (!SWIG_IsOK(res1)) {
192819  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
192820  }
192821  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
192822  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
192823  if (!SWIG_IsOK(res2)) {
192824  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Mesh_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
192825  }
192826  if (!argp2) {
192827  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mesh_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
192828  }
192829  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
192830  {
192831  try {
192832  (arg1)->QueryProperties(*arg2);
192833  }
192834  catch(CStdErrorInfo oError)
192835  {
192836  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192837  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
192838  PyErr_SetString(PyExc_IndexError, strError.c_str());
192839  SWIG_fail;
192840  }
192841  catch(...)
192842  {
192843  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192844  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
192845  SWIG_fail;
192846  }
192847  }
192848  resultobj = SWIG_Py_Void();
192849  return resultobj;
192850 fail:
192851  return NULL;
192852 }
192853 
192854 
192855 SWIGINTERN PyObject *_wrap_Mesh_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
192856  PyObject *resultobj = 0;
192858  CStdXml *arg2 = 0 ;
192859  void *argp1 = 0 ;
192860  int res1 = 0 ;
192861  void *argp2 = 0 ;
192862  int res2 = 0 ;
192863  PyObject * obj0 = 0 ;
192864  PyObject * obj1 = 0 ;
192865 
192866  if (!PyArg_ParseTuple(args,(char *)"OO:Mesh_Load",&obj0,&obj1)) SWIG_fail;
192867  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, 0 | 0 );
192868  if (!SWIG_IsOK(res1)) {
192869  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mesh_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mesh *""'");
192870  }
192871  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mesh * >(argp1);
192872  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
192873  if (!SWIG_IsOK(res2)) {
192874  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Mesh_Load" "', argument " "2"" of type '" "CStdXml &""'");
192875  }
192876  if (!argp2) {
192877  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mesh_Load" "', argument " "2"" of type '" "CStdXml &""'");
192878  }
192879  arg2 = reinterpret_cast< CStdXml * >(argp2);
192880  {
192881  try {
192882  (arg1)->Load(*arg2);
192883  }
192884  catch(CStdErrorInfo oError)
192885  {
192886  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192887  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
192888  PyErr_SetString(PyExc_IndexError, strError.c_str());
192889  SWIG_fail;
192890  }
192891  catch(...)
192892  {
192893  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192894  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
192895  SWIG_fail;
192896  }
192897  }
192898  resultobj = SWIG_Py_Void();
192899  return resultobj;
192900 fail:
192901  return NULL;
192902 }
192903 
192904 
192905 SWIGINTERN PyObject *Mesh_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
192906  PyObject *obj;
192907  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
192908  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh, SWIG_NewClientData(obj));
192909  return SWIG_Py_Void();
192910 }
192911 
192912 SWIGINTERN PyObject *_wrap_new_Terrain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
192913  PyObject *resultobj = 0;
192915 
192916  if (!PyArg_ParseTuple(args,(char *)":new_Terrain")) SWIG_fail;
192917  {
192918  try {
192920  }
192921  catch(CStdErrorInfo oError)
192922  {
192923  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192924  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
192925  PyErr_SetString(PyExc_IndexError, strError.c_str());
192926  SWIG_fail;
192927  }
192928  catch(...)
192929  {
192930  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192931  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
192932  SWIG_fail;
192933  }
192934  }
192935  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, SWIG_POINTER_NEW | 0 );
192936  return resultobj;
192937 fail:
192938  return NULL;
192939 }
192940 
192941 
192942 SWIGINTERN PyObject *_wrap_delete_Terrain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
192943  PyObject *resultobj = 0;
192945  void *argp1 = 0 ;
192946  int res1 = 0 ;
192947  PyObject * obj0 = 0 ;
192948 
192949  if (!PyArg_ParseTuple(args,(char *)"O:delete_Terrain",&obj0)) SWIG_fail;
192950  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, SWIG_POINTER_DISOWN | 0 );
192951  if (!SWIG_IsOK(res1)) {
192952  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Terrain" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
192953  }
192954  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
192955  {
192956  try {
192957  delete arg1;
192958  }
192959  catch(CStdErrorInfo oError)
192960  {
192961  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192962  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
192963  PyErr_SetString(PyExc_IndexError, strError.c_str());
192964  SWIG_fail;
192965  }
192966  catch(...)
192967  {
192968  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
192969  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
192970  SWIG_fail;
192971  }
192972  }
192973  resultobj = SWIG_Py_Void();
192974  return resultobj;
192975 fail:
192976  return NULL;
192977 }
192978 
192979 
192980 SWIGINTERN PyObject *_wrap_Terrain_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
192981  PyObject *resultobj = 0;
192983  void *argp1 = 0 ;
192984  int res1 = 0 ;
192985  PyObject * obj0 = 0 ;
192987 
192988  if (!PyArg_ParseTuple(args,(char *)"O:Terrain_CastToDerived",&obj0)) SWIG_fail;
192989  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
192990  if (!SWIG_IsOK(res1)) {
192991  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
192992  }
192993  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
192994  {
192995  try {
192996  result = (AnimatSim::Environment::Bodies::Terrain *)AnimatSim::Environment::Bodies::Terrain::CastToDerived(arg1);
192997  }
192998  catch(CStdErrorInfo oError)
192999  {
193000  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193001  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193002  PyErr_SetString(PyExc_IndexError, strError.c_str());
193003  SWIG_fail;
193004  }
193005  catch(...)
193006  {
193007  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193008  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193009  SWIG_fail;
193010  }
193011  }
193012  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193013  return resultobj;
193014 fail:
193015  return NULL;
193016 }
193017 
193018 
193019 SWIGINTERN PyObject *_wrap_Terrain_AllowRotateDragX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193020  PyObject *resultobj = 0;
193022  void *argp1 = 0 ;
193023  int res1 = 0 ;
193024  PyObject * obj0 = 0 ;
193025  bool result;
193026 
193027  if (!PyArg_ParseTuple(args,(char *)"O:Terrain_AllowRotateDragX",&obj0)) SWIG_fail;
193028  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193029  if (!SWIG_IsOK(res1)) {
193030  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_AllowRotateDragX" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193031  }
193032  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193033  {
193034  try {
193035  result = (bool)(arg1)->AllowRotateDragX();
193036  }
193037  catch(CStdErrorInfo oError)
193038  {
193039  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193040  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193041  PyErr_SetString(PyExc_IndexError, strError.c_str());
193042  SWIG_fail;
193043  }
193044  catch(...)
193045  {
193046  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193047  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193048  SWIG_fail;
193049  }
193050  }
193051  resultobj = SWIG_From_bool(static_cast< bool >(result));
193052  return resultobj;
193053 fail:
193054  return NULL;
193055 }
193056 
193057 
193058 SWIGINTERN PyObject *_wrap_Terrain_AllowRotateDragY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193059  PyObject *resultobj = 0;
193061  void *argp1 = 0 ;
193062  int res1 = 0 ;
193063  PyObject * obj0 = 0 ;
193064  bool result;
193065 
193066  if (!PyArg_ParseTuple(args,(char *)"O:Terrain_AllowRotateDragY",&obj0)) SWIG_fail;
193067  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193068  if (!SWIG_IsOK(res1)) {
193069  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_AllowRotateDragY" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193070  }
193071  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193072  {
193073  try {
193074  result = (bool)(arg1)->AllowRotateDragY();
193075  }
193076  catch(CStdErrorInfo oError)
193077  {
193078  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193079  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193080  PyErr_SetString(PyExc_IndexError, strError.c_str());
193081  SWIG_fail;
193082  }
193083  catch(...)
193084  {
193085  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193086  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193087  SWIG_fail;
193088  }
193089  }
193090  resultobj = SWIG_From_bool(static_cast< bool >(result));
193091  return resultobj;
193092 fail:
193093  return NULL;
193094 }
193095 
193096 
193097 SWIGINTERN PyObject *_wrap_Terrain_AllowRotateDragZ(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193098  PyObject *resultobj = 0;
193100  void *argp1 = 0 ;
193101  int res1 = 0 ;
193102  PyObject * obj0 = 0 ;
193103  bool result;
193104 
193105  if (!PyArg_ParseTuple(args,(char *)"O:Terrain_AllowRotateDragZ",&obj0)) SWIG_fail;
193106  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193107  if (!SWIG_IsOK(res1)) {
193108  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_AllowRotateDragZ" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193109  }
193110  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193111  {
193112  try {
193113  result = (bool)(arg1)->AllowRotateDragZ();
193114  }
193115  catch(CStdErrorInfo oError)
193116  {
193117  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193118  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193119  PyErr_SetString(PyExc_IndexError, strError.c_str());
193120  SWIG_fail;
193121  }
193122  catch(...)
193123  {
193124  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193125  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193126  SWIG_fail;
193127  }
193128  }
193129  resultobj = SWIG_From_bool(static_cast< bool >(result));
193130  return resultobj;
193131 fail:
193132  return NULL;
193133 }
193134 
193135 
193136 SWIGINTERN PyObject *_wrap_Terrain_SegmentWidth__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193137  PyObject *resultobj = 0;
193139  void *argp1 = 0 ;
193140  int res1 = 0 ;
193141  PyObject * obj0 = 0 ;
193142  float result;
193143 
193144  if (!PyArg_ParseTuple(args,(char *)"O:Terrain_SegmentWidth",&obj0)) SWIG_fail;
193145  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193146  if (!SWIG_IsOK(res1)) {
193147  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_SegmentWidth" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193148  }
193149  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193150  {
193151  try {
193152  result = (float)(arg1)->SegmentWidth();
193153  }
193154  catch(CStdErrorInfo oError)
193155  {
193156  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193157  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193158  PyErr_SetString(PyExc_IndexError, strError.c_str());
193159  SWIG_fail;
193160  }
193161  catch(...)
193162  {
193163  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193164  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193165  SWIG_fail;
193166  }
193167  }
193168  resultobj = SWIG_From_float(static_cast< float >(result));
193169  return resultobj;
193170 fail:
193171  return NULL;
193172 }
193173 
193174 
193175 SWIGINTERN PyObject *_wrap_Terrain_SegmentWidth__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193176  PyObject *resultobj = 0;
193178  float arg2 ;
193179  bool arg3 ;
193180  void *argp1 = 0 ;
193181  int res1 = 0 ;
193182  float val2 ;
193183  int ecode2 = 0 ;
193184  bool val3 ;
193185  int ecode3 = 0 ;
193186  PyObject * obj0 = 0 ;
193187  PyObject * obj1 = 0 ;
193188  PyObject * obj2 = 0 ;
193189 
193190  if (!PyArg_ParseTuple(args,(char *)"OOO:Terrain_SegmentWidth",&obj0,&obj1,&obj2)) SWIG_fail;
193191  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193192  if (!SWIG_IsOK(res1)) {
193193  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_SegmentWidth" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193194  }
193195  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193196  ecode2 = SWIG_AsVal_float(obj1, &val2);
193197  if (!SWIG_IsOK(ecode2)) {
193198  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Terrain_SegmentWidth" "', argument " "2"" of type '" "float""'");
193199  }
193200  arg2 = static_cast< float >(val2);
193201  ecode3 = SWIG_AsVal_bool(obj2, &val3);
193202  if (!SWIG_IsOK(ecode3)) {
193203  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Terrain_SegmentWidth" "', argument " "3"" of type '" "bool""'");
193204  }
193205  arg3 = static_cast< bool >(val3);
193206  {
193207  try {
193208  (arg1)->SegmentWidth(arg2,arg3);
193209  }
193210  catch(CStdErrorInfo oError)
193211  {
193212  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193213  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193214  PyErr_SetString(PyExc_IndexError, strError.c_str());
193215  SWIG_fail;
193216  }
193217  catch(...)
193218  {
193219  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193220  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193221  SWIG_fail;
193222  }
193223  }
193224  resultobj = SWIG_Py_Void();
193225  return resultobj;
193226 fail:
193227  return NULL;
193228 }
193229 
193230 
193231 SWIGINTERN PyObject *_wrap_Terrain_SegmentWidth__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193232  PyObject *resultobj = 0;
193234  float arg2 ;
193235  void *argp1 = 0 ;
193236  int res1 = 0 ;
193237  float val2 ;
193238  int ecode2 = 0 ;
193239  PyObject * obj0 = 0 ;
193240  PyObject * obj1 = 0 ;
193241 
193242  if (!PyArg_ParseTuple(args,(char *)"OO:Terrain_SegmentWidth",&obj0,&obj1)) SWIG_fail;
193243  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193244  if (!SWIG_IsOK(res1)) {
193245  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_SegmentWidth" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193246  }
193247  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193248  ecode2 = SWIG_AsVal_float(obj1, &val2);
193249  if (!SWIG_IsOK(ecode2)) {
193250  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Terrain_SegmentWidth" "', argument " "2"" of type '" "float""'");
193251  }
193252  arg2 = static_cast< float >(val2);
193253  {
193254  try {
193255  (arg1)->SegmentWidth(arg2);
193256  }
193257  catch(CStdErrorInfo oError)
193258  {
193259  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193260  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193261  PyErr_SetString(PyExc_IndexError, strError.c_str());
193262  SWIG_fail;
193263  }
193264  catch(...)
193265  {
193266  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193267  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193268  SWIG_fail;
193269  }
193270  }
193271  resultobj = SWIG_Py_Void();
193272  return resultobj;
193273 fail:
193274  return NULL;
193275 }
193276 
193277 
193278 SWIGINTERN PyObject *_wrap_Terrain_SegmentWidth(PyObject *self, PyObject *args) {
193279  int argc;
193280  PyObject *argv[4];
193281  int ii;
193282 
193283  if (!PyTuple_Check(args)) SWIG_fail;
193284  argc = args ? (int)PyObject_Length(args) : 0;
193285  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
193286  argv[ii] = PyTuple_GET_ITEM(args,ii);
193287  }
193288  if (argc == 1) {
193289  int _v;
193290  void *vptr = 0;
193291  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0);
193292  _v = SWIG_CheckState(res);
193293  if (_v) {
193294  return _wrap_Terrain_SegmentWidth__SWIG_0(self, args);
193295  }
193296  }
193297  if (argc == 2) {
193298  int _v;
193299  void *vptr = 0;
193300  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0);
193301  _v = SWIG_CheckState(res);
193302  if (_v) {
193303  {
193304  int res = SWIG_AsVal_float(argv[1], NULL);
193305  _v = SWIG_CheckState(res);
193306  }
193307  if (_v) {
193308  return _wrap_Terrain_SegmentWidth__SWIG_2(self, args);
193309  }
193310  }
193311  }
193312  if (argc == 3) {
193313  int _v;
193314  void *vptr = 0;
193315  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0);
193316  _v = SWIG_CheckState(res);
193317  if (_v) {
193318  {
193319  int res = SWIG_AsVal_float(argv[1], NULL);
193320  _v = SWIG_CheckState(res);
193321  }
193322  if (_v) {
193323  {
193324  int res = SWIG_AsVal_bool(argv[2], NULL);
193325  _v = SWIG_CheckState(res);
193326  }
193327  if (_v) {
193328  return _wrap_Terrain_SegmentWidth__SWIG_1(self, args);
193329  }
193330  }
193331  }
193332  }
193333 
193334 fail:
193335  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Terrain_SegmentWidth'.\n"
193336  " Possible C/C++ prototypes are:\n"
193337  " AnimatSim::Environment::Bodies::Terrain::SegmentWidth()\n"
193338  " AnimatSim::Environment::Bodies::Terrain::SegmentWidth(float,bool)\n"
193339  " AnimatSim::Environment::Bodies::Terrain::SegmentWidth(float)\n");
193340  return 0;
193341 }
193342 
193343 
193344 SWIGINTERN PyObject *_wrap_Terrain_SegmentLength__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193345  PyObject *resultobj = 0;
193347  void *argp1 = 0 ;
193348  int res1 = 0 ;
193349  PyObject * obj0 = 0 ;
193350  float result;
193351 
193352  if (!PyArg_ParseTuple(args,(char *)"O:Terrain_SegmentLength",&obj0)) SWIG_fail;
193353  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193354  if (!SWIG_IsOK(res1)) {
193355  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_SegmentLength" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193356  }
193357  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193358  {
193359  try {
193360  result = (float)(arg1)->SegmentLength();
193361  }
193362  catch(CStdErrorInfo oError)
193363  {
193364  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193365  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193366  PyErr_SetString(PyExc_IndexError, strError.c_str());
193367  SWIG_fail;
193368  }
193369  catch(...)
193370  {
193371  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193372  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193373  SWIG_fail;
193374  }
193375  }
193376  resultobj = SWIG_From_float(static_cast< float >(result));
193377  return resultobj;
193378 fail:
193379  return NULL;
193380 }
193381 
193382 
193383 SWIGINTERN PyObject *_wrap_Terrain_SegmentLength__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193384  PyObject *resultobj = 0;
193386  float arg2 ;
193387  bool arg3 ;
193388  void *argp1 = 0 ;
193389  int res1 = 0 ;
193390  float val2 ;
193391  int ecode2 = 0 ;
193392  bool val3 ;
193393  int ecode3 = 0 ;
193394  PyObject * obj0 = 0 ;
193395  PyObject * obj1 = 0 ;
193396  PyObject * obj2 = 0 ;
193397 
193398  if (!PyArg_ParseTuple(args,(char *)"OOO:Terrain_SegmentLength",&obj0,&obj1,&obj2)) SWIG_fail;
193399  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193400  if (!SWIG_IsOK(res1)) {
193401  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_SegmentLength" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193402  }
193403  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193404  ecode2 = SWIG_AsVal_float(obj1, &val2);
193405  if (!SWIG_IsOK(ecode2)) {
193406  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Terrain_SegmentLength" "', argument " "2"" of type '" "float""'");
193407  }
193408  arg2 = static_cast< float >(val2);
193409  ecode3 = SWIG_AsVal_bool(obj2, &val3);
193410  if (!SWIG_IsOK(ecode3)) {
193411  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Terrain_SegmentLength" "', argument " "3"" of type '" "bool""'");
193412  }
193413  arg3 = static_cast< bool >(val3);
193414  {
193415  try {
193416  (arg1)->SegmentLength(arg2,arg3);
193417  }
193418  catch(CStdErrorInfo oError)
193419  {
193420  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193421  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193422  PyErr_SetString(PyExc_IndexError, strError.c_str());
193423  SWIG_fail;
193424  }
193425  catch(...)
193426  {
193427  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193428  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193429  SWIG_fail;
193430  }
193431  }
193432  resultobj = SWIG_Py_Void();
193433  return resultobj;
193434 fail:
193435  return NULL;
193436 }
193437 
193438 
193439 SWIGINTERN PyObject *_wrap_Terrain_SegmentLength__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193440  PyObject *resultobj = 0;
193442  float arg2 ;
193443  void *argp1 = 0 ;
193444  int res1 = 0 ;
193445  float val2 ;
193446  int ecode2 = 0 ;
193447  PyObject * obj0 = 0 ;
193448  PyObject * obj1 = 0 ;
193449 
193450  if (!PyArg_ParseTuple(args,(char *)"OO:Terrain_SegmentLength",&obj0,&obj1)) SWIG_fail;
193451  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193452  if (!SWIG_IsOK(res1)) {
193453  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_SegmentLength" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193454  }
193455  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193456  ecode2 = SWIG_AsVal_float(obj1, &val2);
193457  if (!SWIG_IsOK(ecode2)) {
193458  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Terrain_SegmentLength" "', argument " "2"" of type '" "float""'");
193459  }
193460  arg2 = static_cast< float >(val2);
193461  {
193462  try {
193463  (arg1)->SegmentLength(arg2);
193464  }
193465  catch(CStdErrorInfo oError)
193466  {
193467  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193468  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193469  PyErr_SetString(PyExc_IndexError, strError.c_str());
193470  SWIG_fail;
193471  }
193472  catch(...)
193473  {
193474  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193475  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193476  SWIG_fail;
193477  }
193478  }
193479  resultobj = SWIG_Py_Void();
193480  return resultobj;
193481 fail:
193482  return NULL;
193483 }
193484 
193485 
193486 SWIGINTERN PyObject *_wrap_Terrain_SegmentLength(PyObject *self, PyObject *args) {
193487  int argc;
193488  PyObject *argv[4];
193489  int ii;
193490 
193491  if (!PyTuple_Check(args)) SWIG_fail;
193492  argc = args ? (int)PyObject_Length(args) : 0;
193493  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
193494  argv[ii] = PyTuple_GET_ITEM(args,ii);
193495  }
193496  if (argc == 1) {
193497  int _v;
193498  void *vptr = 0;
193499  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0);
193500  _v = SWIG_CheckState(res);
193501  if (_v) {
193502  return _wrap_Terrain_SegmentLength__SWIG_0(self, args);
193503  }
193504  }
193505  if (argc == 2) {
193506  int _v;
193507  void *vptr = 0;
193508  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0);
193509  _v = SWIG_CheckState(res);
193510  if (_v) {
193511  {
193512  int res = SWIG_AsVal_float(argv[1], NULL);
193513  _v = SWIG_CheckState(res);
193514  }
193515  if (_v) {
193516  return _wrap_Terrain_SegmentLength__SWIG_2(self, args);
193517  }
193518  }
193519  }
193520  if (argc == 3) {
193521  int _v;
193522  void *vptr = 0;
193523  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0);
193524  _v = SWIG_CheckState(res);
193525  if (_v) {
193526  {
193527  int res = SWIG_AsVal_float(argv[1], NULL);
193528  _v = SWIG_CheckState(res);
193529  }
193530  if (_v) {
193531  {
193532  int res = SWIG_AsVal_bool(argv[2], NULL);
193533  _v = SWIG_CheckState(res);
193534  }
193535  if (_v) {
193536  return _wrap_Terrain_SegmentLength__SWIG_1(self, args);
193537  }
193538  }
193539  }
193540  }
193541 
193542 fail:
193543  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Terrain_SegmentLength'.\n"
193544  " Possible C/C++ prototypes are:\n"
193545  " AnimatSim::Environment::Bodies::Terrain::SegmentLength()\n"
193546  " AnimatSim::Environment::Bodies::Terrain::SegmentLength(float,bool)\n"
193547  " AnimatSim::Environment::Bodies::Terrain::SegmentLength(float)\n");
193548  return 0;
193549 }
193550 
193551 
193552 SWIGINTERN PyObject *_wrap_Terrain_MaxHeight__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193553  PyObject *resultobj = 0;
193555  void *argp1 = 0 ;
193556  int res1 = 0 ;
193557  PyObject * obj0 = 0 ;
193558  float result;
193559 
193560  if (!PyArg_ParseTuple(args,(char *)"O:Terrain_MaxHeight",&obj0)) SWIG_fail;
193561  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193562  if (!SWIG_IsOK(res1)) {
193563  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_MaxHeight" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193564  }
193565  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193566  {
193567  try {
193568  result = (float)(arg1)->MaxHeight();
193569  }
193570  catch(CStdErrorInfo oError)
193571  {
193572  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193573  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193574  PyErr_SetString(PyExc_IndexError, strError.c_str());
193575  SWIG_fail;
193576  }
193577  catch(...)
193578  {
193579  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193580  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193581  SWIG_fail;
193582  }
193583  }
193584  resultobj = SWIG_From_float(static_cast< float >(result));
193585  return resultobj;
193586 fail:
193587  return NULL;
193588 }
193589 
193590 
193591 SWIGINTERN PyObject *_wrap_Terrain_MaxHeight__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193592  PyObject *resultobj = 0;
193594  float arg2 ;
193595  bool arg3 ;
193596  void *argp1 = 0 ;
193597  int res1 = 0 ;
193598  float val2 ;
193599  int ecode2 = 0 ;
193600  bool val3 ;
193601  int ecode3 = 0 ;
193602  PyObject * obj0 = 0 ;
193603  PyObject * obj1 = 0 ;
193604  PyObject * obj2 = 0 ;
193605 
193606  if (!PyArg_ParseTuple(args,(char *)"OOO:Terrain_MaxHeight",&obj0,&obj1,&obj2)) SWIG_fail;
193607  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193608  if (!SWIG_IsOK(res1)) {
193609  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_MaxHeight" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193610  }
193611  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193612  ecode2 = SWIG_AsVal_float(obj1, &val2);
193613  if (!SWIG_IsOK(ecode2)) {
193614  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Terrain_MaxHeight" "', argument " "2"" of type '" "float""'");
193615  }
193616  arg2 = static_cast< float >(val2);
193617  ecode3 = SWIG_AsVal_bool(obj2, &val3);
193618  if (!SWIG_IsOK(ecode3)) {
193619  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Terrain_MaxHeight" "', argument " "3"" of type '" "bool""'");
193620  }
193621  arg3 = static_cast< bool >(val3);
193622  {
193623  try {
193624  (arg1)->MaxHeight(arg2,arg3);
193625  }
193626  catch(CStdErrorInfo oError)
193627  {
193628  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193629  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193630  PyErr_SetString(PyExc_IndexError, strError.c_str());
193631  SWIG_fail;
193632  }
193633  catch(...)
193634  {
193635  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193636  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193637  SWIG_fail;
193638  }
193639  }
193640  resultobj = SWIG_Py_Void();
193641  return resultobj;
193642 fail:
193643  return NULL;
193644 }
193645 
193646 
193647 SWIGINTERN PyObject *_wrap_Terrain_MaxHeight__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193648  PyObject *resultobj = 0;
193650  float arg2 ;
193651  void *argp1 = 0 ;
193652  int res1 = 0 ;
193653  float val2 ;
193654  int ecode2 = 0 ;
193655  PyObject * obj0 = 0 ;
193656  PyObject * obj1 = 0 ;
193657 
193658  if (!PyArg_ParseTuple(args,(char *)"OO:Terrain_MaxHeight",&obj0,&obj1)) SWIG_fail;
193659  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193660  if (!SWIG_IsOK(res1)) {
193661  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_MaxHeight" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193662  }
193663  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193664  ecode2 = SWIG_AsVal_float(obj1, &val2);
193665  if (!SWIG_IsOK(ecode2)) {
193666  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Terrain_MaxHeight" "', argument " "2"" of type '" "float""'");
193667  }
193668  arg2 = static_cast< float >(val2);
193669  {
193670  try {
193671  (arg1)->MaxHeight(arg2);
193672  }
193673  catch(CStdErrorInfo oError)
193674  {
193675  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193676  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193677  PyErr_SetString(PyExc_IndexError, strError.c_str());
193678  SWIG_fail;
193679  }
193680  catch(...)
193681  {
193682  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193683  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193684  SWIG_fail;
193685  }
193686  }
193687  resultobj = SWIG_Py_Void();
193688  return resultobj;
193689 fail:
193690  return NULL;
193691 }
193692 
193693 
193694 SWIGINTERN PyObject *_wrap_Terrain_MaxHeight(PyObject *self, PyObject *args) {
193695  int argc;
193696  PyObject *argv[4];
193697  int ii;
193698 
193699  if (!PyTuple_Check(args)) SWIG_fail;
193700  argc = args ? (int)PyObject_Length(args) : 0;
193701  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
193702  argv[ii] = PyTuple_GET_ITEM(args,ii);
193703  }
193704  if (argc == 1) {
193705  int _v;
193706  void *vptr = 0;
193707  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0);
193708  _v = SWIG_CheckState(res);
193709  if (_v) {
193710  return _wrap_Terrain_MaxHeight__SWIG_0(self, args);
193711  }
193712  }
193713  if (argc == 2) {
193714  int _v;
193715  void *vptr = 0;
193716  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0);
193717  _v = SWIG_CheckState(res);
193718  if (_v) {
193719  {
193720  int res = SWIG_AsVal_float(argv[1], NULL);
193721  _v = SWIG_CheckState(res);
193722  }
193723  if (_v) {
193724  return _wrap_Terrain_MaxHeight__SWIG_2(self, args);
193725  }
193726  }
193727  }
193728  if (argc == 3) {
193729  int _v;
193730  void *vptr = 0;
193731  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0);
193732  _v = SWIG_CheckState(res);
193733  if (_v) {
193734  {
193735  int res = SWIG_AsVal_float(argv[1], NULL);
193736  _v = SWIG_CheckState(res);
193737  }
193738  if (_v) {
193739  {
193740  int res = SWIG_AsVal_bool(argv[2], NULL);
193741  _v = SWIG_CheckState(res);
193742  }
193743  if (_v) {
193744  return _wrap_Terrain_MaxHeight__SWIG_1(self, args);
193745  }
193746  }
193747  }
193748  }
193749 
193750 fail:
193751  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Terrain_MaxHeight'.\n"
193752  " Possible C/C++ prototypes are:\n"
193753  " AnimatSim::Environment::Bodies::Terrain::MaxHeight()\n"
193754  " AnimatSim::Environment::Bodies::Terrain::MaxHeight(float,bool)\n"
193755  " AnimatSim::Environment::Bodies::Terrain::MaxHeight(float)\n");
193756  return 0;
193757 }
193758 
193759 
193760 SWIGINTERN PyObject *_wrap_Terrain_TextureLengthSegments__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193761  PyObject *resultobj = 0;
193763  void *argp1 = 0 ;
193764  int res1 = 0 ;
193765  PyObject * obj0 = 0 ;
193766  int result;
193767 
193768  if (!PyArg_ParseTuple(args,(char *)"O:Terrain_TextureLengthSegments",&obj0)) SWIG_fail;
193769  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193770  if (!SWIG_IsOK(res1)) {
193771  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_TextureLengthSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193772  }
193773  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193774  {
193775  try {
193776  result = (int)(arg1)->TextureLengthSegments();
193777  }
193778  catch(CStdErrorInfo oError)
193779  {
193780  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193781  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193782  PyErr_SetString(PyExc_IndexError, strError.c_str());
193783  SWIG_fail;
193784  }
193785  catch(...)
193786  {
193787  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193788  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193789  SWIG_fail;
193790  }
193791  }
193792  resultobj = SWIG_From_int(static_cast< int >(result));
193793  return resultobj;
193794 fail:
193795  return NULL;
193796 }
193797 
193798 
193799 SWIGINTERN PyObject *_wrap_Terrain_TextureLengthSegments__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193800  PyObject *resultobj = 0;
193802  int arg2 ;
193803  void *argp1 = 0 ;
193804  int res1 = 0 ;
193805  int val2 ;
193806  int ecode2 = 0 ;
193807  PyObject * obj0 = 0 ;
193808  PyObject * obj1 = 0 ;
193809 
193810  if (!PyArg_ParseTuple(args,(char *)"OO:Terrain_TextureLengthSegments",&obj0,&obj1)) SWIG_fail;
193811  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193812  if (!SWIG_IsOK(res1)) {
193813  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_TextureLengthSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193814  }
193815  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193816  ecode2 = SWIG_AsVal_int(obj1, &val2);
193817  if (!SWIG_IsOK(ecode2)) {
193818  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Terrain_TextureLengthSegments" "', argument " "2"" of type '" "int""'");
193819  }
193820  arg2 = static_cast< int >(val2);
193821  {
193822  try {
193823  (arg1)->TextureLengthSegments(arg2);
193824  }
193825  catch(CStdErrorInfo oError)
193826  {
193827  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193828  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193829  PyErr_SetString(PyExc_IndexError, strError.c_str());
193830  SWIG_fail;
193831  }
193832  catch(...)
193833  {
193834  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193835  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193836  SWIG_fail;
193837  }
193838  }
193839  resultobj = SWIG_Py_Void();
193840  return resultobj;
193841 fail:
193842  return NULL;
193843 }
193844 
193845 
193846 SWIGINTERN PyObject *_wrap_Terrain_TextureLengthSegments(PyObject *self, PyObject *args) {
193847  int argc;
193848  PyObject *argv[3];
193849  int ii;
193850 
193851  if (!PyTuple_Check(args)) SWIG_fail;
193852  argc = args ? (int)PyObject_Length(args) : 0;
193853  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
193854  argv[ii] = PyTuple_GET_ITEM(args,ii);
193855  }
193856  if (argc == 1) {
193857  int _v;
193858  void *vptr = 0;
193859  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0);
193860  _v = SWIG_CheckState(res);
193861  if (_v) {
193862  return _wrap_Terrain_TextureLengthSegments__SWIG_0(self, args);
193863  }
193864  }
193865  if (argc == 2) {
193866  int _v;
193867  void *vptr = 0;
193868  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0);
193869  _v = SWIG_CheckState(res);
193870  if (_v) {
193871  {
193872  int res = SWIG_AsVal_int(argv[1], NULL);
193873  _v = SWIG_CheckState(res);
193874  }
193875  if (_v) {
193876  return _wrap_Terrain_TextureLengthSegments__SWIG_1(self, args);
193877  }
193878  }
193879  }
193880 
193881 fail:
193882  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Terrain_TextureLengthSegments'.\n"
193883  " Possible C/C++ prototypes are:\n"
193884  " AnimatSim::Environment::Bodies::Terrain::TextureLengthSegments()\n"
193885  " AnimatSim::Environment::Bodies::Terrain::TextureLengthSegments(int)\n");
193886  return 0;
193887 }
193888 
193889 
193890 SWIGINTERN PyObject *_wrap_Terrain_TextureWidthSegments__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193891  PyObject *resultobj = 0;
193893  void *argp1 = 0 ;
193894  int res1 = 0 ;
193895  PyObject * obj0 = 0 ;
193896  int result;
193897 
193898  if (!PyArg_ParseTuple(args,(char *)"O:Terrain_TextureWidthSegments",&obj0)) SWIG_fail;
193899  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193900  if (!SWIG_IsOK(res1)) {
193901  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_TextureWidthSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193902  }
193903  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193904  {
193905  try {
193906  result = (int)(arg1)->TextureWidthSegments();
193907  }
193908  catch(CStdErrorInfo oError)
193909  {
193910  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193911  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193912  PyErr_SetString(PyExc_IndexError, strError.c_str());
193913  SWIG_fail;
193914  }
193915  catch(...)
193916  {
193917  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193918  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193919  SWIG_fail;
193920  }
193921  }
193922  resultobj = SWIG_From_int(static_cast< int >(result));
193923  return resultobj;
193924 fail:
193925  return NULL;
193926 }
193927 
193928 
193929 SWIGINTERN PyObject *_wrap_Terrain_TextureWidthSegments__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
193930  PyObject *resultobj = 0;
193932  int arg2 ;
193933  void *argp1 = 0 ;
193934  int res1 = 0 ;
193935  int val2 ;
193936  int ecode2 = 0 ;
193937  PyObject * obj0 = 0 ;
193938  PyObject * obj1 = 0 ;
193939 
193940  if (!PyArg_ParseTuple(args,(char *)"OO:Terrain_TextureWidthSegments",&obj0,&obj1)) SWIG_fail;
193941  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
193942  if (!SWIG_IsOK(res1)) {
193943  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_TextureWidthSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
193944  }
193945  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
193946  ecode2 = SWIG_AsVal_int(obj1, &val2);
193947  if (!SWIG_IsOK(ecode2)) {
193948  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Terrain_TextureWidthSegments" "', argument " "2"" of type '" "int""'");
193949  }
193950  arg2 = static_cast< int >(val2);
193951  {
193952  try {
193953  (arg1)->TextureWidthSegments(arg2);
193954  }
193955  catch(CStdErrorInfo oError)
193956  {
193957  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193958  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
193959  PyErr_SetString(PyExc_IndexError, strError.c_str());
193960  SWIG_fail;
193961  }
193962  catch(...)
193963  {
193964  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
193965  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
193966  SWIG_fail;
193967  }
193968  }
193969  resultobj = SWIG_Py_Void();
193970  return resultobj;
193971 fail:
193972  return NULL;
193973 }
193974 
193975 
193976 SWIGINTERN PyObject *_wrap_Terrain_TextureWidthSegments(PyObject *self, PyObject *args) {
193977  int argc;
193978  PyObject *argv[3];
193979  int ii;
193980 
193981  if (!PyTuple_Check(args)) SWIG_fail;
193982  argc = args ? (int)PyObject_Length(args) : 0;
193983  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
193984  argv[ii] = PyTuple_GET_ITEM(args,ii);
193985  }
193986  if (argc == 1) {
193987  int _v;
193988  void *vptr = 0;
193989  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0);
193990  _v = SWIG_CheckState(res);
193991  if (_v) {
193992  return _wrap_Terrain_TextureWidthSegments__SWIG_0(self, args);
193993  }
193994  }
193995  if (argc == 2) {
193996  int _v;
193997  void *vptr = 0;
193998  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0);
193999  _v = SWIG_CheckState(res);
194000  if (_v) {
194001  {
194002  int res = SWIG_AsVal_int(argv[1], NULL);
194003  _v = SWIG_CheckState(res);
194004  }
194005  if (_v) {
194006  return _wrap_Terrain_TextureWidthSegments__SWIG_1(self, args);
194007  }
194008  }
194009  }
194010 
194011 fail:
194012  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Terrain_TextureWidthSegments'.\n"
194013  " Possible C/C++ prototypes are:\n"
194014  " AnimatSim::Environment::Bodies::Terrain::TextureWidthSegments()\n"
194015  " AnimatSim::Environment::Bodies::Terrain::TextureWidthSegments(int)\n");
194016  return 0;
194017 }
194018 
194019 
194020 SWIGINTERN PyObject *_wrap_Terrain_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194021  PyObject *resultobj = 0;
194023  std::string *arg2 = 0 ;
194024  std::string *arg3 = 0 ;
194025  bool arg4 ;
194026  void *argp1 = 0 ;
194027  int res1 = 0 ;
194028  int res2 = SWIG_OLDOBJ ;
194029  int res3 = SWIG_OLDOBJ ;
194030  bool val4 ;
194031  int ecode4 = 0 ;
194032  PyObject * obj0 = 0 ;
194033  PyObject * obj1 = 0 ;
194034  PyObject * obj2 = 0 ;
194035  PyObject * obj3 = 0 ;
194036  bool result;
194037 
194038  if (!PyArg_ParseTuple(args,(char *)"OOOO:Terrain_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
194039  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
194040  if (!SWIG_IsOK(res1)) {
194041  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
194042  }
194043  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
194044  {
194045  std::string *ptr = (std::string *)0;
194046  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
194047  if (!SWIG_IsOK(res2)) {
194048  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Terrain_SetData" "', argument " "2"" of type '" "std::string const &""'");
194049  }
194050  if (!ptr) {
194051  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Terrain_SetData" "', argument " "2"" of type '" "std::string const &""'");
194052  }
194053  arg2 = ptr;
194054  }
194055  {
194056  std::string *ptr = (std::string *)0;
194057  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
194058  if (!SWIG_IsOK(res3)) {
194059  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Terrain_SetData" "', argument " "3"" of type '" "std::string const &""'");
194060  }
194061  if (!ptr) {
194062  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Terrain_SetData" "', argument " "3"" of type '" "std::string const &""'");
194063  }
194064  arg3 = ptr;
194065  }
194066  ecode4 = SWIG_AsVal_bool(obj3, &val4);
194067  if (!SWIG_IsOK(ecode4)) {
194068  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Terrain_SetData" "', argument " "4"" of type '" "bool""'");
194069  }
194070  arg4 = static_cast< bool >(val4);
194071  {
194072  try {
194073  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
194074  }
194075  catch(CStdErrorInfo oError)
194076  {
194077  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194078  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194079  PyErr_SetString(PyExc_IndexError, strError.c_str());
194080  SWIG_fail;
194081  }
194082  catch(...)
194083  {
194084  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194085  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194086  SWIG_fail;
194087  }
194088  }
194089  resultobj = SWIG_From_bool(static_cast< bool >(result));
194090  if (SWIG_IsNewObj(res2)) delete arg2;
194091  if (SWIG_IsNewObj(res3)) delete arg3;
194092  return resultobj;
194093 fail:
194094  if (SWIG_IsNewObj(res2)) delete arg2;
194095  if (SWIG_IsNewObj(res3)) delete arg3;
194096  return NULL;
194097 }
194098 
194099 
194100 SWIGINTERN PyObject *_wrap_Terrain_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194101  PyObject *resultobj = 0;
194103  std::string *arg2 = 0 ;
194104  std::string *arg3 = 0 ;
194105  void *argp1 = 0 ;
194106  int res1 = 0 ;
194107  int res2 = SWIG_OLDOBJ ;
194108  int res3 = SWIG_OLDOBJ ;
194109  PyObject * obj0 = 0 ;
194110  PyObject * obj1 = 0 ;
194111  PyObject * obj2 = 0 ;
194112  bool result;
194113 
194114  if (!PyArg_ParseTuple(args,(char *)"OOO:Terrain_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
194115  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
194116  if (!SWIG_IsOK(res1)) {
194117  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
194118  }
194119  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
194120  {
194121  std::string *ptr = (std::string *)0;
194122  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
194123  if (!SWIG_IsOK(res2)) {
194124  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Terrain_SetData" "', argument " "2"" of type '" "std::string const &""'");
194125  }
194126  if (!ptr) {
194127  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Terrain_SetData" "', argument " "2"" of type '" "std::string const &""'");
194128  }
194129  arg2 = ptr;
194130  }
194131  {
194132  std::string *ptr = (std::string *)0;
194133  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
194134  if (!SWIG_IsOK(res3)) {
194135  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Terrain_SetData" "', argument " "3"" of type '" "std::string const &""'");
194136  }
194137  if (!ptr) {
194138  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Terrain_SetData" "', argument " "3"" of type '" "std::string const &""'");
194139  }
194140  arg3 = ptr;
194141  }
194142  {
194143  try {
194144  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
194145  }
194146  catch(CStdErrorInfo oError)
194147  {
194148  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194149  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194150  PyErr_SetString(PyExc_IndexError, strError.c_str());
194151  SWIG_fail;
194152  }
194153  catch(...)
194154  {
194155  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194156  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194157  SWIG_fail;
194158  }
194159  }
194160  resultobj = SWIG_From_bool(static_cast< bool >(result));
194161  if (SWIG_IsNewObj(res2)) delete arg2;
194162  if (SWIG_IsNewObj(res3)) delete arg3;
194163  return resultobj;
194164 fail:
194165  if (SWIG_IsNewObj(res2)) delete arg2;
194166  if (SWIG_IsNewObj(res3)) delete arg3;
194167  return NULL;
194168 }
194169 
194170 
194171 SWIGINTERN PyObject *_wrap_Terrain_SetData(PyObject *self, PyObject *args) {
194172  int argc;
194173  PyObject *argv[5];
194174  int ii;
194175 
194176  if (!PyTuple_Check(args)) SWIG_fail;
194177  argc = args ? (int)PyObject_Length(args) : 0;
194178  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
194179  argv[ii] = PyTuple_GET_ITEM(args,ii);
194180  }
194181  if (argc == 3) {
194182  int _v;
194183  void *vptr = 0;
194184  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0);
194185  _v = SWIG_CheckState(res);
194186  if (_v) {
194187  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
194188  _v = SWIG_CheckState(res);
194189  if (_v) {
194190  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
194191  _v = SWIG_CheckState(res);
194192  if (_v) {
194193  return _wrap_Terrain_SetData__SWIG_1(self, args);
194194  }
194195  }
194196  }
194197  }
194198  if (argc == 4) {
194199  int _v;
194200  void *vptr = 0;
194201  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0);
194202  _v = SWIG_CheckState(res);
194203  if (_v) {
194204  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
194205  _v = SWIG_CheckState(res);
194206  if (_v) {
194207  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
194208  _v = SWIG_CheckState(res);
194209  if (_v) {
194210  {
194211  int res = SWIG_AsVal_bool(argv[3], NULL);
194212  _v = SWIG_CheckState(res);
194213  }
194214  if (_v) {
194215  return _wrap_Terrain_SetData__SWIG_0(self, args);
194216  }
194217  }
194218  }
194219  }
194220  }
194221 
194222 fail:
194223  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Terrain_SetData'.\n"
194224  " Possible C/C++ prototypes are:\n"
194225  " AnimatSim::Environment::Bodies::Terrain::SetData(std::string const &,std::string const &,bool)\n"
194226  " AnimatSim::Environment::Bodies::Terrain::SetData(std::string const &,std::string const &)\n");
194227  return 0;
194228 }
194229 
194230 
194231 SWIGINTERN PyObject *_wrap_Terrain_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194232  PyObject *resultobj = 0;
194234  CStdPtrArray< TypeProperty > *arg2 = 0 ;
194235  void *argp1 = 0 ;
194236  int res1 = 0 ;
194237  void *argp2 = 0 ;
194238  int res2 = 0 ;
194239  PyObject * obj0 = 0 ;
194240  PyObject * obj1 = 0 ;
194241 
194242  if (!PyArg_ParseTuple(args,(char *)"OO:Terrain_QueryProperties",&obj0,&obj1)) SWIG_fail;
194243  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
194244  if (!SWIG_IsOK(res1)) {
194245  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
194246  }
194247  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
194248  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
194249  if (!SWIG_IsOK(res2)) {
194250  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Terrain_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
194251  }
194252  if (!argp2) {
194253  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Terrain_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
194254  }
194255  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
194256  {
194257  try {
194258  (arg1)->QueryProperties(*arg2);
194259  }
194260  catch(CStdErrorInfo oError)
194261  {
194262  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194263  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194264  PyErr_SetString(PyExc_IndexError, strError.c_str());
194265  SWIG_fail;
194266  }
194267  catch(...)
194268  {
194269  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194270  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194271  SWIG_fail;
194272  }
194273  }
194274  resultobj = SWIG_Py_Void();
194275  return resultobj;
194276 fail:
194277  return NULL;
194278 }
194279 
194280 
194281 SWIGINTERN PyObject *_wrap_Terrain_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194282  PyObject *resultobj = 0;
194284  CStdXml *arg2 = 0 ;
194285  void *argp1 = 0 ;
194286  int res1 = 0 ;
194287  void *argp2 = 0 ;
194288  int res2 = 0 ;
194289  PyObject * obj0 = 0 ;
194290  PyObject * obj1 = 0 ;
194291 
194292  if (!PyArg_ParseTuple(args,(char *)"OO:Terrain_Load",&obj0,&obj1)) SWIG_fail;
194293  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, 0 | 0 );
194294  if (!SWIG_IsOK(res1)) {
194295  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Terrain_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Terrain *""'");
194296  }
194297  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Terrain * >(argp1);
194298  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
194299  if (!SWIG_IsOK(res2)) {
194300  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Terrain_Load" "', argument " "2"" of type '" "CStdXml &""'");
194301  }
194302  if (!argp2) {
194303  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Terrain_Load" "', argument " "2"" of type '" "CStdXml &""'");
194304  }
194305  arg2 = reinterpret_cast< CStdXml * >(argp2);
194306  {
194307  try {
194308  (arg1)->Load(*arg2);
194309  }
194310  catch(CStdErrorInfo oError)
194311  {
194312  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194313  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194314  PyErr_SetString(PyExc_IndexError, strError.c_str());
194315  SWIG_fail;
194316  }
194317  catch(...)
194318  {
194319  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194320  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194321  SWIG_fail;
194322  }
194323  }
194324  resultobj = SWIG_Py_Void();
194325  return resultobj;
194326 fail:
194327  return NULL;
194328 }
194329 
194330 
194331 SWIGINTERN PyObject *Terrain_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194332  PyObject *obj;
194333  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
194334  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain, SWIG_NewClientData(obj));
194335  return SWIG_Py_Void();
194336 }
194337 
194338 SWIGINTERN PyObject *_wrap_new_Sensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194339  PyObject *resultobj = 0;
194341 
194342  if (!PyArg_ParseTuple(args,(char *)":new_Sensor")) SWIG_fail;
194343  {
194344  try {
194346  }
194347  catch(CStdErrorInfo oError)
194348  {
194349  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194350  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194351  PyErr_SetString(PyExc_IndexError, strError.c_str());
194352  SWIG_fail;
194353  }
194354  catch(...)
194355  {
194356  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194357  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194358  SWIG_fail;
194359  }
194360  }
194361  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, SWIG_POINTER_NEW | 0 );
194362  return resultobj;
194363 fail:
194364  return NULL;
194365 }
194366 
194367 
194368 SWIGINTERN PyObject *_wrap_delete_Sensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194369  PyObject *resultobj = 0;
194371  void *argp1 = 0 ;
194372  int res1 = 0 ;
194373  PyObject * obj0 = 0 ;
194374 
194375  if (!PyArg_ParseTuple(args,(char *)"O:delete_Sensor",&obj0)) SWIG_fail;
194376  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, SWIG_POINTER_DISOWN | 0 );
194377  if (!SWIG_IsOK(res1)) {
194378  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Sensor" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
194379  }
194380  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
194381  {
194382  try {
194383  delete arg1;
194384  }
194385  catch(CStdErrorInfo oError)
194386  {
194387  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194388  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194389  PyErr_SetString(PyExc_IndexError, strError.c_str());
194390  SWIG_fail;
194391  }
194392  catch(...)
194393  {
194394  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194395  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194396  SWIG_fail;
194397  }
194398  }
194399  resultobj = SWIG_Py_Void();
194400  return resultobj;
194401 fail:
194402  return NULL;
194403 }
194404 
194405 
194406 SWIGINTERN PyObject *_wrap_Sensor_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194407  PyObject *resultobj = 0;
194409  void *argp1 = 0 ;
194410  int res1 = 0 ;
194411  PyObject * obj0 = 0 ;
194413 
194414  if (!PyArg_ParseTuple(args,(char *)"O:Sensor_CastToDerived",&obj0)) SWIG_fail;
194415  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
194416  if (!SWIG_IsOK(res1)) {
194417  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
194418  }
194419  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
194420  {
194421  try {
194422  result = (AnimatSim::Environment::Bodies::Sensor *)AnimatSim::Environment::Bodies::Sensor::CastToDerived(arg1);
194423  }
194424  catch(CStdErrorInfo oError)
194425  {
194426  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194427  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194428  PyErr_SetString(PyExc_IndexError, strError.c_str());
194429  SWIG_fail;
194430  }
194431  catch(...)
194432  {
194433  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194434  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194435  SWIG_fail;
194436  }
194437  }
194438  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
194439  return resultobj;
194440 fail:
194441  return NULL;
194442 }
194443 
194444 
194445 SWIGINTERN PyObject *_wrap_Sensor_Radius__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194446  PyObject *resultobj = 0;
194448  void *argp1 = 0 ;
194449  int res1 = 0 ;
194450  PyObject * obj0 = 0 ;
194451  float result;
194452 
194453  if (!PyArg_ParseTuple(args,(char *)"O:Sensor_Radius",&obj0)) SWIG_fail;
194454  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
194455  if (!SWIG_IsOK(res1)) {
194456  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_Radius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
194457  }
194458  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
194459  {
194460  try {
194461  result = (float)(arg1)->Radius();
194462  }
194463  catch(CStdErrorInfo oError)
194464  {
194465  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194466  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194467  PyErr_SetString(PyExc_IndexError, strError.c_str());
194468  SWIG_fail;
194469  }
194470  catch(...)
194471  {
194472  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194473  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194474  SWIG_fail;
194475  }
194476  }
194477  resultobj = SWIG_From_float(static_cast< float >(result));
194478  return resultobj;
194479 fail:
194480  return NULL;
194481 }
194482 
194483 
194484 SWIGINTERN PyObject *_wrap_Sensor_Radius__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194485  PyObject *resultobj = 0;
194487  float arg2 ;
194488  bool arg3 ;
194489  void *argp1 = 0 ;
194490  int res1 = 0 ;
194491  float val2 ;
194492  int ecode2 = 0 ;
194493  bool val3 ;
194494  int ecode3 = 0 ;
194495  PyObject * obj0 = 0 ;
194496  PyObject * obj1 = 0 ;
194497  PyObject * obj2 = 0 ;
194498 
194499  if (!PyArg_ParseTuple(args,(char *)"OOO:Sensor_Radius",&obj0,&obj1,&obj2)) SWIG_fail;
194500  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
194501  if (!SWIG_IsOK(res1)) {
194502  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_Radius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
194503  }
194504  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
194505  ecode2 = SWIG_AsVal_float(obj1, &val2);
194506  if (!SWIG_IsOK(ecode2)) {
194507  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Sensor_Radius" "', argument " "2"" of type '" "float""'");
194508  }
194509  arg2 = static_cast< float >(val2);
194510  ecode3 = SWIG_AsVal_bool(obj2, &val3);
194511  if (!SWIG_IsOK(ecode3)) {
194512  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Sensor_Radius" "', argument " "3"" of type '" "bool""'");
194513  }
194514  arg3 = static_cast< bool >(val3);
194515  {
194516  try {
194517  (arg1)->Radius(arg2,arg3);
194518  }
194519  catch(CStdErrorInfo oError)
194520  {
194521  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194522  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194523  PyErr_SetString(PyExc_IndexError, strError.c_str());
194524  SWIG_fail;
194525  }
194526  catch(...)
194527  {
194528  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194529  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194530  SWIG_fail;
194531  }
194532  }
194533  resultobj = SWIG_Py_Void();
194534  return resultobj;
194535 fail:
194536  return NULL;
194537 }
194538 
194539 
194540 SWIGINTERN PyObject *_wrap_Sensor_Radius__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194541  PyObject *resultobj = 0;
194543  float arg2 ;
194544  void *argp1 = 0 ;
194545  int res1 = 0 ;
194546  float val2 ;
194547  int ecode2 = 0 ;
194548  PyObject * obj0 = 0 ;
194549  PyObject * obj1 = 0 ;
194550 
194551  if (!PyArg_ParseTuple(args,(char *)"OO:Sensor_Radius",&obj0,&obj1)) SWIG_fail;
194552  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
194553  if (!SWIG_IsOK(res1)) {
194554  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_Radius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
194555  }
194556  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
194557  ecode2 = SWIG_AsVal_float(obj1, &val2);
194558  if (!SWIG_IsOK(ecode2)) {
194559  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Sensor_Radius" "', argument " "2"" of type '" "float""'");
194560  }
194561  arg2 = static_cast< float >(val2);
194562  {
194563  try {
194564  (arg1)->Radius(arg2);
194565  }
194566  catch(CStdErrorInfo oError)
194567  {
194568  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194569  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194570  PyErr_SetString(PyExc_IndexError, strError.c_str());
194571  SWIG_fail;
194572  }
194573  catch(...)
194574  {
194575  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194576  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194577  SWIG_fail;
194578  }
194579  }
194580  resultobj = SWIG_Py_Void();
194581  return resultobj;
194582 fail:
194583  return NULL;
194584 }
194585 
194586 
194587 SWIGINTERN PyObject *_wrap_Sensor_Radius(PyObject *self, PyObject *args) {
194588  int argc;
194589  PyObject *argv[4];
194590  int ii;
194591 
194592  if (!PyTuple_Check(args)) SWIG_fail;
194593  argc = args ? (int)PyObject_Length(args) : 0;
194594  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
194595  argv[ii] = PyTuple_GET_ITEM(args,ii);
194596  }
194597  if (argc == 1) {
194598  int _v;
194599  void *vptr = 0;
194600  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0);
194601  _v = SWIG_CheckState(res);
194602  if (_v) {
194603  return _wrap_Sensor_Radius__SWIG_0(self, args);
194604  }
194605  }
194606  if (argc == 2) {
194607  int _v;
194608  void *vptr = 0;
194609  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0);
194610  _v = SWIG_CheckState(res);
194611  if (_v) {
194612  {
194613  int res = SWIG_AsVal_float(argv[1], NULL);
194614  _v = SWIG_CheckState(res);
194615  }
194616  if (_v) {
194617  return _wrap_Sensor_Radius__SWIG_2(self, args);
194618  }
194619  }
194620  }
194621  if (argc == 3) {
194622  int _v;
194623  void *vptr = 0;
194624  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0);
194625  _v = SWIG_CheckState(res);
194626  if (_v) {
194627  {
194628  int res = SWIG_AsVal_float(argv[1], NULL);
194629  _v = SWIG_CheckState(res);
194630  }
194631  if (_v) {
194632  {
194633  int res = SWIG_AsVal_bool(argv[2], NULL);
194634  _v = SWIG_CheckState(res);
194635  }
194636  if (_v) {
194637  return _wrap_Sensor_Radius__SWIG_1(self, args);
194638  }
194639  }
194640  }
194641  }
194642 
194643 fail:
194644  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Sensor_Radius'.\n"
194645  " Possible C/C++ prototypes are:\n"
194646  " AnimatSim::Environment::Bodies::Sensor::Radius()\n"
194647  " AnimatSim::Environment::Bodies::Sensor::Radius(float,bool)\n"
194648  " AnimatSim::Environment::Bodies::Sensor::Radius(float)\n");
194649  return 0;
194650 }
194651 
194652 
194653 SWIGINTERN PyObject *_wrap_Sensor_LatitudeSegments__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194654  PyObject *resultobj = 0;
194656  int arg2 ;
194657  void *argp1 = 0 ;
194658  int res1 = 0 ;
194659  int val2 ;
194660  int ecode2 = 0 ;
194661  PyObject * obj0 = 0 ;
194662  PyObject * obj1 = 0 ;
194663 
194664  if (!PyArg_ParseTuple(args,(char *)"OO:Sensor_LatitudeSegments",&obj0,&obj1)) SWIG_fail;
194665  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
194666  if (!SWIG_IsOK(res1)) {
194667  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_LatitudeSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
194668  }
194669  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
194670  ecode2 = SWIG_AsVal_int(obj1, &val2);
194671  if (!SWIG_IsOK(ecode2)) {
194672  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Sensor_LatitudeSegments" "', argument " "2"" of type '" "int""'");
194673  }
194674  arg2 = static_cast< int >(val2);
194675  {
194676  try {
194677  (arg1)->LatitudeSegments(arg2);
194678  }
194679  catch(CStdErrorInfo oError)
194680  {
194681  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194682  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194683  PyErr_SetString(PyExc_IndexError, strError.c_str());
194684  SWIG_fail;
194685  }
194686  catch(...)
194687  {
194688  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194689  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194690  SWIG_fail;
194691  }
194692  }
194693  resultobj = SWIG_Py_Void();
194694  return resultobj;
194695 fail:
194696  return NULL;
194697 }
194698 
194699 
194700 SWIGINTERN PyObject *_wrap_Sensor_LatitudeSegments__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194701  PyObject *resultobj = 0;
194703  void *argp1 = 0 ;
194704  int res1 = 0 ;
194705  PyObject * obj0 = 0 ;
194706  int result;
194707 
194708  if (!PyArg_ParseTuple(args,(char *)"O:Sensor_LatitudeSegments",&obj0)) SWIG_fail;
194709  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
194710  if (!SWIG_IsOK(res1)) {
194711  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_LatitudeSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
194712  }
194713  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
194714  {
194715  try {
194716  result = (int)(arg1)->LatitudeSegments();
194717  }
194718  catch(CStdErrorInfo oError)
194719  {
194720  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194721  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194722  PyErr_SetString(PyExc_IndexError, strError.c_str());
194723  SWIG_fail;
194724  }
194725  catch(...)
194726  {
194727  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194728  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194729  SWIG_fail;
194730  }
194731  }
194732  resultobj = SWIG_From_int(static_cast< int >(result));
194733  return resultobj;
194734 fail:
194735  return NULL;
194736 }
194737 
194738 
194739 SWIGINTERN PyObject *_wrap_Sensor_LatitudeSegments(PyObject *self, PyObject *args) {
194740  int argc;
194741  PyObject *argv[3];
194742  int ii;
194743 
194744  if (!PyTuple_Check(args)) SWIG_fail;
194745  argc = args ? (int)PyObject_Length(args) : 0;
194746  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
194747  argv[ii] = PyTuple_GET_ITEM(args,ii);
194748  }
194749  if (argc == 1) {
194750  int _v;
194751  void *vptr = 0;
194752  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0);
194753  _v = SWIG_CheckState(res);
194754  if (_v) {
194755  return _wrap_Sensor_LatitudeSegments__SWIG_1(self, args);
194756  }
194757  }
194758  if (argc == 2) {
194759  int _v;
194760  void *vptr = 0;
194761  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0);
194762  _v = SWIG_CheckState(res);
194763  if (_v) {
194764  {
194765  int res = SWIG_AsVal_int(argv[1], NULL);
194766  _v = SWIG_CheckState(res);
194767  }
194768  if (_v) {
194769  return _wrap_Sensor_LatitudeSegments__SWIG_0(self, args);
194770  }
194771  }
194772  }
194773 
194774 fail:
194775  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Sensor_LatitudeSegments'.\n"
194776  " Possible C/C++ prototypes are:\n"
194777  " AnimatSim::Environment::Bodies::Sensor::LatitudeSegments(int)\n"
194778  " AnimatSim::Environment::Bodies::Sensor::LatitudeSegments()\n");
194779  return 0;
194780 }
194781 
194782 
194783 SWIGINTERN PyObject *_wrap_Sensor_LongtitudeSegments__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194784  PyObject *resultobj = 0;
194786  int arg2 ;
194787  void *argp1 = 0 ;
194788  int res1 = 0 ;
194789  int val2 ;
194790  int ecode2 = 0 ;
194791  PyObject * obj0 = 0 ;
194792  PyObject * obj1 = 0 ;
194793 
194794  if (!PyArg_ParseTuple(args,(char *)"OO:Sensor_LongtitudeSegments",&obj0,&obj1)) SWIG_fail;
194795  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
194796  if (!SWIG_IsOK(res1)) {
194797  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_LongtitudeSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
194798  }
194799  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
194800  ecode2 = SWIG_AsVal_int(obj1, &val2);
194801  if (!SWIG_IsOK(ecode2)) {
194802  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Sensor_LongtitudeSegments" "', argument " "2"" of type '" "int""'");
194803  }
194804  arg2 = static_cast< int >(val2);
194805  {
194806  try {
194807  (arg1)->LongtitudeSegments(arg2);
194808  }
194809  catch(CStdErrorInfo oError)
194810  {
194811  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194812  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194813  PyErr_SetString(PyExc_IndexError, strError.c_str());
194814  SWIG_fail;
194815  }
194816  catch(...)
194817  {
194818  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194819  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194820  SWIG_fail;
194821  }
194822  }
194823  resultobj = SWIG_Py_Void();
194824  return resultobj;
194825 fail:
194826  return NULL;
194827 }
194828 
194829 
194830 SWIGINTERN PyObject *_wrap_Sensor_LongtitudeSegments__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194831  PyObject *resultobj = 0;
194833  void *argp1 = 0 ;
194834  int res1 = 0 ;
194835  PyObject * obj0 = 0 ;
194836  int result;
194837 
194838  if (!PyArg_ParseTuple(args,(char *)"O:Sensor_LongtitudeSegments",&obj0)) SWIG_fail;
194839  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
194840  if (!SWIG_IsOK(res1)) {
194841  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_LongtitudeSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
194842  }
194843  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
194844  {
194845  try {
194846  result = (int)(arg1)->LongtitudeSegments();
194847  }
194848  catch(CStdErrorInfo oError)
194849  {
194850  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194851  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194852  PyErr_SetString(PyExc_IndexError, strError.c_str());
194853  SWIG_fail;
194854  }
194855  catch(...)
194856  {
194857  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194858  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194859  SWIG_fail;
194860  }
194861  }
194862  resultobj = SWIG_From_int(static_cast< int >(result));
194863  return resultobj;
194864 fail:
194865  return NULL;
194866 }
194867 
194868 
194869 SWIGINTERN PyObject *_wrap_Sensor_LongtitudeSegments(PyObject *self, PyObject *args) {
194870  int argc;
194871  PyObject *argv[3];
194872  int ii;
194873 
194874  if (!PyTuple_Check(args)) SWIG_fail;
194875  argc = args ? (int)PyObject_Length(args) : 0;
194876  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
194877  argv[ii] = PyTuple_GET_ITEM(args,ii);
194878  }
194879  if (argc == 1) {
194880  int _v;
194881  void *vptr = 0;
194882  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0);
194883  _v = SWIG_CheckState(res);
194884  if (_v) {
194885  return _wrap_Sensor_LongtitudeSegments__SWIG_1(self, args);
194886  }
194887  }
194888  if (argc == 2) {
194889  int _v;
194890  void *vptr = 0;
194891  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0);
194892  _v = SWIG_CheckState(res);
194893  if (_v) {
194894  {
194895  int res = SWIG_AsVal_int(argv[1], NULL);
194896  _v = SWIG_CheckState(res);
194897  }
194898  if (_v) {
194899  return _wrap_Sensor_LongtitudeSegments__SWIG_0(self, args);
194900  }
194901  }
194902  }
194903 
194904 fail:
194905  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Sensor_LongtitudeSegments'.\n"
194906  " Possible C/C++ prototypes are:\n"
194907  " AnimatSim::Environment::Bodies::Sensor::LongtitudeSegments(int)\n"
194908  " AnimatSim::Environment::Bodies::Sensor::LongtitudeSegments()\n");
194909  return 0;
194910 }
194911 
194912 
194913 SWIGINTERN PyObject *_wrap_Sensor_AllowRotateDragX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194914  PyObject *resultobj = 0;
194916  void *argp1 = 0 ;
194917  int res1 = 0 ;
194918  PyObject * obj0 = 0 ;
194919  bool result;
194920 
194921  if (!PyArg_ParseTuple(args,(char *)"O:Sensor_AllowRotateDragX",&obj0)) SWIG_fail;
194922  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
194923  if (!SWIG_IsOK(res1)) {
194924  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_AllowRotateDragX" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
194925  }
194926  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
194927  {
194928  try {
194929  result = (bool)(arg1)->AllowRotateDragX();
194930  }
194931  catch(CStdErrorInfo oError)
194932  {
194933  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194934  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194935  PyErr_SetString(PyExc_IndexError, strError.c_str());
194936  SWIG_fail;
194937  }
194938  catch(...)
194939  {
194940  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194941  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194942  SWIG_fail;
194943  }
194944  }
194945  resultobj = SWIG_From_bool(static_cast< bool >(result));
194946  return resultobj;
194947 fail:
194948  return NULL;
194949 }
194950 
194951 
194952 SWIGINTERN PyObject *_wrap_Sensor_AllowRotateDragY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194953  PyObject *resultobj = 0;
194955  void *argp1 = 0 ;
194956  int res1 = 0 ;
194957  PyObject * obj0 = 0 ;
194958  bool result;
194959 
194960  if (!PyArg_ParseTuple(args,(char *)"O:Sensor_AllowRotateDragY",&obj0)) SWIG_fail;
194961  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
194962  if (!SWIG_IsOK(res1)) {
194963  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_AllowRotateDragY" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
194964  }
194965  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
194966  {
194967  try {
194968  result = (bool)(arg1)->AllowRotateDragY();
194969  }
194970  catch(CStdErrorInfo oError)
194971  {
194972  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194973  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
194974  PyErr_SetString(PyExc_IndexError, strError.c_str());
194975  SWIG_fail;
194976  }
194977  catch(...)
194978  {
194979  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
194980  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
194981  SWIG_fail;
194982  }
194983  }
194984  resultobj = SWIG_From_bool(static_cast< bool >(result));
194985  return resultobj;
194986 fail:
194987  return NULL;
194988 }
194989 
194990 
194991 SWIGINTERN PyObject *_wrap_Sensor_AllowRotateDragZ(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
194992  PyObject *resultobj = 0;
194994  void *argp1 = 0 ;
194995  int res1 = 0 ;
194996  PyObject * obj0 = 0 ;
194997  bool result;
194998 
194999  if (!PyArg_ParseTuple(args,(char *)"O:Sensor_AllowRotateDragZ",&obj0)) SWIG_fail;
195000  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
195001  if (!SWIG_IsOK(res1)) {
195002  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_AllowRotateDragZ" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
195003  }
195004  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
195005  {
195006  try {
195007  result = (bool)(arg1)->AllowRotateDragZ();
195008  }
195009  catch(CStdErrorInfo oError)
195010  {
195011  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195012  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195013  PyErr_SetString(PyExc_IndexError, strError.c_str());
195014  SWIG_fail;
195015  }
195016  catch(...)
195017  {
195018  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195019  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195020  SWIG_fail;
195021  }
195022  }
195023  resultobj = SWIG_From_bool(static_cast< bool >(result));
195024  return resultobj;
195025 fail:
195026  return NULL;
195027 }
195028 
195029 
195030 SWIGINTERN PyObject *_wrap_Sensor_CreateParts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195031  PyObject *resultobj = 0;
195033  void *argp1 = 0 ;
195034  int res1 = 0 ;
195035  PyObject * obj0 = 0 ;
195036 
195037  if (!PyArg_ParseTuple(args,(char *)"O:Sensor_CreateParts",&obj0)) SWIG_fail;
195038  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
195039  if (!SWIG_IsOK(res1)) {
195040  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_CreateParts" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
195041  }
195042  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
195043  {
195044  try {
195045  (arg1)->CreateParts();
195046  }
195047  catch(CStdErrorInfo oError)
195048  {
195049  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195050  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195051  PyErr_SetString(PyExc_IndexError, strError.c_str());
195052  SWIG_fail;
195053  }
195054  catch(...)
195055  {
195056  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195057  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195058  SWIG_fail;
195059  }
195060  }
195061  resultobj = SWIG_Py_Void();
195062  return resultobj;
195063 fail:
195064  return NULL;
195065 }
195066 
195067 
195068 SWIGINTERN PyObject *_wrap_Sensor_CreateJoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195069  PyObject *resultobj = 0;
195071  void *argp1 = 0 ;
195072  int res1 = 0 ;
195073  PyObject * obj0 = 0 ;
195074 
195075  if (!PyArg_ParseTuple(args,(char *)"O:Sensor_CreateJoints",&obj0)) SWIG_fail;
195076  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
195077  if (!SWIG_IsOK(res1)) {
195078  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_CreateJoints" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
195079  }
195080  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
195081  {
195082  try {
195083  (arg1)->CreateJoints();
195084  }
195085  catch(CStdErrorInfo oError)
195086  {
195087  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195088  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195089  PyErr_SetString(PyExc_IndexError, strError.c_str());
195090  SWIG_fail;
195091  }
195092  catch(...)
195093  {
195094  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195095  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195096  SWIG_fail;
195097  }
195098  }
195099  resultobj = SWIG_Py_Void();
195100  return resultobj;
195101 fail:
195102  return NULL;
195103 }
195104 
195105 
195106 SWIGINTERN PyObject *_wrap_Sensor_HasStaticJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195107  PyObject *resultobj = 0;
195109  void *argp1 = 0 ;
195110  int res1 = 0 ;
195111  PyObject * obj0 = 0 ;
195112  bool result;
195113 
195114  if (!PyArg_ParseTuple(args,(char *)"O:Sensor_HasStaticJoint",&obj0)) SWIG_fail;
195115  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
195116  if (!SWIG_IsOK(res1)) {
195117  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_HasStaticJoint" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
195118  }
195119  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
195120  {
195121  try {
195122  result = (bool)(arg1)->HasStaticJoint();
195123  }
195124  catch(CStdErrorInfo oError)
195125  {
195126  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195127  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195128  PyErr_SetString(PyExc_IndexError, strError.c_str());
195129  SWIG_fail;
195130  }
195131  catch(...)
195132  {
195133  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195134  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195135  SWIG_fail;
195136  }
195137  }
195138  resultobj = SWIG_From_bool(static_cast< bool >(result));
195139  return resultobj;
195140 fail:
195141  return NULL;
195142 }
195143 
195144 
195145 SWIGINTERN PyObject *_wrap_Sensor_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195146  PyObject *resultobj = 0;
195148  void *argp1 = 0 ;
195149  int res1 = 0 ;
195150  PyObject * obj0 = 0 ;
195151 
195152  if (!PyArg_ParseTuple(args,(char *)"O:Sensor_Initialize",&obj0)) SWIG_fail;
195153  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
195154  if (!SWIG_IsOK(res1)) {
195155  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_Initialize" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
195156  }
195157  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
195158  {
195159  try {
195160  (arg1)->Initialize();
195161  }
195162  catch(CStdErrorInfo oError)
195163  {
195164  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195165  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195166  PyErr_SetString(PyExc_IndexError, strError.c_str());
195167  SWIG_fail;
195168  }
195169  catch(...)
195170  {
195171  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195172  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195173  SWIG_fail;
195174  }
195175  }
195176  resultobj = SWIG_Py_Void();
195177  return resultobj;
195178 fail:
195179  return NULL;
195180 }
195181 
195182 
195183 SWIGINTERN PyObject *_wrap_Sensor_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195184  PyObject *resultobj = 0;
195186  std::string *arg2 = 0 ;
195187  std::string *arg3 = 0 ;
195188  bool arg4 ;
195189  void *argp1 = 0 ;
195190  int res1 = 0 ;
195191  int res2 = SWIG_OLDOBJ ;
195192  int res3 = SWIG_OLDOBJ ;
195193  bool val4 ;
195194  int ecode4 = 0 ;
195195  PyObject * obj0 = 0 ;
195196  PyObject * obj1 = 0 ;
195197  PyObject * obj2 = 0 ;
195198  PyObject * obj3 = 0 ;
195199  bool result;
195200 
195201  if (!PyArg_ParseTuple(args,(char *)"OOOO:Sensor_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
195202  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
195203  if (!SWIG_IsOK(res1)) {
195204  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
195205  }
195206  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
195207  {
195208  std::string *ptr = (std::string *)0;
195209  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
195210  if (!SWIG_IsOK(res2)) {
195211  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Sensor_SetData" "', argument " "2"" of type '" "std::string const &""'");
195212  }
195213  if (!ptr) {
195214  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Sensor_SetData" "', argument " "2"" of type '" "std::string const &""'");
195215  }
195216  arg2 = ptr;
195217  }
195218  {
195219  std::string *ptr = (std::string *)0;
195220  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
195221  if (!SWIG_IsOK(res3)) {
195222  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Sensor_SetData" "', argument " "3"" of type '" "std::string const &""'");
195223  }
195224  if (!ptr) {
195225  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Sensor_SetData" "', argument " "3"" of type '" "std::string const &""'");
195226  }
195227  arg3 = ptr;
195228  }
195229  ecode4 = SWIG_AsVal_bool(obj3, &val4);
195230  if (!SWIG_IsOK(ecode4)) {
195231  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Sensor_SetData" "', argument " "4"" of type '" "bool""'");
195232  }
195233  arg4 = static_cast< bool >(val4);
195234  {
195235  try {
195236  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
195237  }
195238  catch(CStdErrorInfo oError)
195239  {
195240  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195241  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195242  PyErr_SetString(PyExc_IndexError, strError.c_str());
195243  SWIG_fail;
195244  }
195245  catch(...)
195246  {
195247  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195248  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195249  SWIG_fail;
195250  }
195251  }
195252  resultobj = SWIG_From_bool(static_cast< bool >(result));
195253  if (SWIG_IsNewObj(res2)) delete arg2;
195254  if (SWIG_IsNewObj(res3)) delete arg3;
195255  return resultobj;
195256 fail:
195257  if (SWIG_IsNewObj(res2)) delete arg2;
195258  if (SWIG_IsNewObj(res3)) delete arg3;
195259  return NULL;
195260 }
195261 
195262 
195263 SWIGINTERN PyObject *_wrap_Sensor_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195264  PyObject *resultobj = 0;
195266  std::string *arg2 = 0 ;
195267  std::string *arg3 = 0 ;
195268  void *argp1 = 0 ;
195269  int res1 = 0 ;
195270  int res2 = SWIG_OLDOBJ ;
195271  int res3 = SWIG_OLDOBJ ;
195272  PyObject * obj0 = 0 ;
195273  PyObject * obj1 = 0 ;
195274  PyObject * obj2 = 0 ;
195275  bool result;
195276 
195277  if (!PyArg_ParseTuple(args,(char *)"OOO:Sensor_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
195278  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
195279  if (!SWIG_IsOK(res1)) {
195280  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
195281  }
195282  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
195283  {
195284  std::string *ptr = (std::string *)0;
195285  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
195286  if (!SWIG_IsOK(res2)) {
195287  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Sensor_SetData" "', argument " "2"" of type '" "std::string const &""'");
195288  }
195289  if (!ptr) {
195290  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Sensor_SetData" "', argument " "2"" of type '" "std::string const &""'");
195291  }
195292  arg2 = ptr;
195293  }
195294  {
195295  std::string *ptr = (std::string *)0;
195296  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
195297  if (!SWIG_IsOK(res3)) {
195298  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Sensor_SetData" "', argument " "3"" of type '" "std::string const &""'");
195299  }
195300  if (!ptr) {
195301  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Sensor_SetData" "', argument " "3"" of type '" "std::string const &""'");
195302  }
195303  arg3 = ptr;
195304  }
195305  {
195306  try {
195307  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
195308  }
195309  catch(CStdErrorInfo oError)
195310  {
195311  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195312  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195313  PyErr_SetString(PyExc_IndexError, strError.c_str());
195314  SWIG_fail;
195315  }
195316  catch(...)
195317  {
195318  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195319  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195320  SWIG_fail;
195321  }
195322  }
195323  resultobj = SWIG_From_bool(static_cast< bool >(result));
195324  if (SWIG_IsNewObj(res2)) delete arg2;
195325  if (SWIG_IsNewObj(res3)) delete arg3;
195326  return resultobj;
195327 fail:
195328  if (SWIG_IsNewObj(res2)) delete arg2;
195329  if (SWIG_IsNewObj(res3)) delete arg3;
195330  return NULL;
195331 }
195332 
195333 
195334 SWIGINTERN PyObject *_wrap_Sensor_SetData(PyObject *self, PyObject *args) {
195335  int argc;
195336  PyObject *argv[5];
195337  int ii;
195338 
195339  if (!PyTuple_Check(args)) SWIG_fail;
195340  argc = args ? (int)PyObject_Length(args) : 0;
195341  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
195342  argv[ii] = PyTuple_GET_ITEM(args,ii);
195343  }
195344  if (argc == 3) {
195345  int _v;
195346  void *vptr = 0;
195347  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0);
195348  _v = SWIG_CheckState(res);
195349  if (_v) {
195350  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
195351  _v = SWIG_CheckState(res);
195352  if (_v) {
195353  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
195354  _v = SWIG_CheckState(res);
195355  if (_v) {
195356  return _wrap_Sensor_SetData__SWIG_1(self, args);
195357  }
195358  }
195359  }
195360  }
195361  if (argc == 4) {
195362  int _v;
195363  void *vptr = 0;
195364  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0);
195365  _v = SWIG_CheckState(res);
195366  if (_v) {
195367  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
195368  _v = SWIG_CheckState(res);
195369  if (_v) {
195370  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
195371  _v = SWIG_CheckState(res);
195372  if (_v) {
195373  {
195374  int res = SWIG_AsVal_bool(argv[3], NULL);
195375  _v = SWIG_CheckState(res);
195376  }
195377  if (_v) {
195378  return _wrap_Sensor_SetData__SWIG_0(self, args);
195379  }
195380  }
195381  }
195382  }
195383  }
195384 
195385 fail:
195386  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Sensor_SetData'.\n"
195387  " Possible C/C++ prototypes are:\n"
195388  " AnimatSim::Environment::Bodies::Sensor::SetData(std::string const &,std::string const &,bool)\n"
195389  " AnimatSim::Environment::Bodies::Sensor::SetData(std::string const &,std::string const &)\n");
195390  return 0;
195391 }
195392 
195393 
195394 SWIGINTERN PyObject *_wrap_Sensor_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195395  PyObject *resultobj = 0;
195397  CStdPtrArray< TypeProperty > *arg2 = 0 ;
195398  void *argp1 = 0 ;
195399  int res1 = 0 ;
195400  void *argp2 = 0 ;
195401  int res2 = 0 ;
195402  PyObject * obj0 = 0 ;
195403  PyObject * obj1 = 0 ;
195404 
195405  if (!PyArg_ParseTuple(args,(char *)"OO:Sensor_QueryProperties",&obj0,&obj1)) SWIG_fail;
195406  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
195407  if (!SWIG_IsOK(res1)) {
195408  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
195409  }
195410  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
195411  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
195412  if (!SWIG_IsOK(res2)) {
195413  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Sensor_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
195414  }
195415  if (!argp2) {
195416  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Sensor_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
195417  }
195418  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
195419  {
195420  try {
195421  (arg1)->QueryProperties(*arg2);
195422  }
195423  catch(CStdErrorInfo oError)
195424  {
195425  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195426  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195427  PyErr_SetString(PyExc_IndexError, strError.c_str());
195428  SWIG_fail;
195429  }
195430  catch(...)
195431  {
195432  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195433  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195434  SWIG_fail;
195435  }
195436  }
195437  resultobj = SWIG_Py_Void();
195438  return resultobj;
195439 fail:
195440  return NULL;
195441 }
195442 
195443 
195444 SWIGINTERN PyObject *_wrap_Sensor_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195445  PyObject *resultobj = 0;
195447  CStdXml *arg2 = 0 ;
195448  void *argp1 = 0 ;
195449  int res1 = 0 ;
195450  void *argp2 = 0 ;
195451  int res2 = 0 ;
195452  PyObject * obj0 = 0 ;
195453  PyObject * obj1 = 0 ;
195454 
195455  if (!PyArg_ParseTuple(args,(char *)"OO:Sensor_Load",&obj0,&obj1)) SWIG_fail;
195456  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, 0 | 0 );
195457  if (!SWIG_IsOK(res1)) {
195458  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sensor_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sensor *""'");
195459  }
195460  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sensor * >(argp1);
195461  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
195462  if (!SWIG_IsOK(res2)) {
195463  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Sensor_Load" "', argument " "2"" of type '" "CStdXml &""'");
195464  }
195465  if (!argp2) {
195466  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Sensor_Load" "', argument " "2"" of type '" "CStdXml &""'");
195467  }
195468  arg2 = reinterpret_cast< CStdXml * >(argp2);
195469  {
195470  try {
195471  (arg1)->Load(*arg2);
195472  }
195473  catch(CStdErrorInfo oError)
195474  {
195475  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195476  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195477  PyErr_SetString(PyExc_IndexError, strError.c_str());
195478  SWIG_fail;
195479  }
195480  catch(...)
195481  {
195482  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195483  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195484  SWIG_fail;
195485  }
195486  }
195487  resultobj = SWIG_Py_Void();
195488  return resultobj;
195489 fail:
195490  return NULL;
195491 }
195492 
195493 
195494 SWIGINTERN PyObject *Sensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195495  PyObject *obj;
195496  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
195497  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor, SWIG_NewClientData(obj));
195498  return SWIG_Py_Void();
195499 }
195500 
195501 SWIGINTERN PyObject *_wrap_new_Attachment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195502  PyObject *resultobj = 0;
195504 
195505  if (!PyArg_ParseTuple(args,(char *)":new_Attachment")) SWIG_fail;
195506  {
195507  try {
195509  }
195510  catch(CStdErrorInfo oError)
195511  {
195512  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195513  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195514  PyErr_SetString(PyExc_IndexError, strError.c_str());
195515  SWIG_fail;
195516  }
195517  catch(...)
195518  {
195519  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195520  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195521  SWIG_fail;
195522  }
195523  }
195524  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Attachment, SWIG_POINTER_NEW | 0 );
195525  return resultobj;
195526 fail:
195527  return NULL;
195528 }
195529 
195530 
195531 SWIGINTERN PyObject *_wrap_delete_Attachment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195532  PyObject *resultobj = 0;
195534  void *argp1 = 0 ;
195535  int res1 = 0 ;
195536  PyObject * obj0 = 0 ;
195537 
195538  if (!PyArg_ParseTuple(args,(char *)"O:delete_Attachment",&obj0)) SWIG_fail;
195539  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Attachment, SWIG_POINTER_DISOWN | 0 );
195540  if (!SWIG_IsOK(res1)) {
195541  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Attachment" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Attachment *""'");
195542  }
195543  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Attachment * >(argp1);
195544  {
195545  try {
195546  delete arg1;
195547  }
195548  catch(CStdErrorInfo oError)
195549  {
195550  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195551  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195552  PyErr_SetString(PyExc_IndexError, strError.c_str());
195553  SWIG_fail;
195554  }
195555  catch(...)
195556  {
195557  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195558  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195559  SWIG_fail;
195560  }
195561  }
195562  resultobj = SWIG_Py_Void();
195563  return resultobj;
195564 fail:
195565  return NULL;
195566 }
195567 
195568 
195569 SWIGINTERN PyObject *_wrap_Attachment_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195570  PyObject *resultobj = 0;
195572  void *argp1 = 0 ;
195573  int res1 = 0 ;
195574  PyObject * obj0 = 0 ;
195576 
195577  if (!PyArg_ParseTuple(args,(char *)"O:Attachment_CastToDerived",&obj0)) SWIG_fail;
195578  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
195579  if (!SWIG_IsOK(res1)) {
195580  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Attachment_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
195581  }
195582  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
195583  {
195584  try {
195585  result = (AnimatSim::Environment::Bodies::Attachment *)AnimatSim::Environment::Bodies::Attachment::CastToDerived(arg1);
195586  }
195587  catch(CStdErrorInfo oError)
195588  {
195589  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195590  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195591  PyErr_SetString(PyExc_IndexError, strError.c_str());
195592  SWIG_fail;
195593  }
195594  catch(...)
195595  {
195596  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195597  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195598  SWIG_fail;
195599  }
195600  }
195601  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Attachment, 0 | 0 );
195602  return resultobj;
195603 fail:
195604  return NULL;
195605 }
195606 
195607 
195608 SWIGINTERN PyObject *Attachment_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195609  PyObject *obj;
195610  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
195611  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__Attachment, SWIG_NewClientData(obj));
195612  return SWIG_Py_Void();
195613 }
195614 
195615 SWIGINTERN PyObject *_wrap_new_LineBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195616  PyObject *resultobj = 0;
195618 
195619  if (!PyArg_ParseTuple(args,(char *)":new_LineBase")) SWIG_fail;
195620  {
195621  try {
195623  }
195624  catch(CStdErrorInfo oError)
195625  {
195626  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195627  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195628  PyErr_SetString(PyExc_IndexError, strError.c_str());
195629  SWIG_fail;
195630  }
195631  catch(...)
195632  {
195633  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195634  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195635  SWIG_fail;
195636  }
195637  }
195638  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, SWIG_POINTER_NEW | 0 );
195639  return resultobj;
195640 fail:
195641  return NULL;
195642 }
195643 
195644 
195645 SWIGINTERN PyObject *_wrap_delete_LineBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195646  PyObject *resultobj = 0;
195648  void *argp1 = 0 ;
195649  int res1 = 0 ;
195650  PyObject * obj0 = 0 ;
195651 
195652  if (!PyArg_ParseTuple(args,(char *)"O:delete_LineBase",&obj0)) SWIG_fail;
195653  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, SWIG_POINTER_DISOWN | 0 );
195654  if (!SWIG_IsOK(res1)) {
195655  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LineBase" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
195656  }
195657  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
195658  {
195659  try {
195660  delete arg1;
195661  }
195662  catch(CStdErrorInfo oError)
195663  {
195664  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195665  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195666  PyErr_SetString(PyExc_IndexError, strError.c_str());
195667  SWIG_fail;
195668  }
195669  catch(...)
195670  {
195671  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195672  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195673  SWIG_fail;
195674  }
195675  }
195676  resultobj = SWIG_Py_Void();
195677  return resultobj;
195678 fail:
195679  return NULL;
195680 }
195681 
195682 
195683 SWIGINTERN PyObject *_wrap_LineBase_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195684  PyObject *resultobj = 0;
195686  void *argp1 = 0 ;
195687  int res1 = 0 ;
195688  PyObject * obj0 = 0 ;
195690 
195691  if (!PyArg_ParseTuple(args,(char *)"O:LineBase_CastToDerived",&obj0)) SWIG_fail;
195692  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
195693  if (!SWIG_IsOK(res1)) {
195694  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
195695  }
195696  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
195697  {
195698  try {
195699  result = (AnimatSim::Environment::Bodies::LineBase *)AnimatSim::Environment::Bodies::LineBase::CastToDerived(arg1);
195700  }
195701  catch(CStdErrorInfo oError)
195702  {
195703  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195704  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195705  PyErr_SetString(PyExc_IndexError, strError.c_str());
195706  SWIG_fail;
195707  }
195708  catch(...)
195709  {
195710  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195711  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195712  SWIG_fail;
195713  }
195714  }
195715  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
195716  return resultobj;
195717 fail:
195718  return NULL;
195719 }
195720 
195721 
195722 SWIGINTERN PyObject *_wrap_LineBase_Enabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195723  PyObject *resultobj = 0;
195725  bool arg2 ;
195726  void *argp1 = 0 ;
195727  int res1 = 0 ;
195728  bool val2 ;
195729  int ecode2 = 0 ;
195730  PyObject * obj0 = 0 ;
195731  PyObject * obj1 = 0 ;
195732 
195733  if (!PyArg_ParseTuple(args,(char *)"OO:LineBase_Enabled",&obj0,&obj1)) SWIG_fail;
195734  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
195735  if (!SWIG_IsOK(res1)) {
195736  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_Enabled" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
195737  }
195738  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
195739  ecode2 = SWIG_AsVal_bool(obj1, &val2);
195740  if (!SWIG_IsOK(ecode2)) {
195741  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LineBase_Enabled" "', argument " "2"" of type '" "bool""'");
195742  }
195743  arg2 = static_cast< bool >(val2);
195744  {
195745  try {
195746  (arg1)->Enabled(arg2);
195747  }
195748  catch(CStdErrorInfo oError)
195749  {
195750  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195751  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195752  PyErr_SetString(PyExc_IndexError, strError.c_str());
195753  SWIG_fail;
195754  }
195755  catch(...)
195756  {
195757  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195758  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195759  SWIG_fail;
195760  }
195761  }
195762  resultobj = SWIG_Py_Void();
195763  return resultobj;
195764 fail:
195765  return NULL;
195766 }
195767 
195768 
195769 SWIGINTERN PyObject *_wrap_LineBase_Length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195770  PyObject *resultobj = 0;
195772  void *argp1 = 0 ;
195773  int res1 = 0 ;
195774  PyObject * obj0 = 0 ;
195775  float result;
195776 
195777  if (!PyArg_ParseTuple(args,(char *)"O:LineBase_Length",&obj0)) SWIG_fail;
195778  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
195779  if (!SWIG_IsOK(res1)) {
195780  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_Length" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
195781  }
195782  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
195783  {
195784  try {
195785  result = (float)(arg1)->Length();
195786  }
195787  catch(CStdErrorInfo oError)
195788  {
195789  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195790  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195791  PyErr_SetString(PyExc_IndexError, strError.c_str());
195792  SWIG_fail;
195793  }
195794  catch(...)
195795  {
195796  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195797  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195798  SWIG_fail;
195799  }
195800  }
195801  resultobj = SWIG_From_float(static_cast< float >(result));
195802  return resultobj;
195803 fail:
195804  return NULL;
195805 }
195806 
195807 
195808 SWIGINTERN PyObject *_wrap_LineBase_PrevLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195809  PyObject *resultobj = 0;
195811  void *argp1 = 0 ;
195812  int res1 = 0 ;
195813  PyObject * obj0 = 0 ;
195814  float result;
195815 
195816  if (!PyArg_ParseTuple(args,(char *)"O:LineBase_PrevLength",&obj0)) SWIG_fail;
195817  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
195818  if (!SWIG_IsOK(res1)) {
195819  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_PrevLength" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
195820  }
195821  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
195822  {
195823  try {
195824  result = (float)(arg1)->PrevLength();
195825  }
195826  catch(CStdErrorInfo oError)
195827  {
195828  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195829  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195830  PyErr_SetString(PyExc_IndexError, strError.c_str());
195831  SWIG_fail;
195832  }
195833  catch(...)
195834  {
195835  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195836  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195837  SWIG_fail;
195838  }
195839  }
195840  resultobj = SWIG_From_float(static_cast< float >(result));
195841  return resultobj;
195842 fail:
195843  return NULL;
195844 }
195845 
195846 
195847 SWIGINTERN PyObject *_wrap_LineBase_HasStaticJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195848  PyObject *resultobj = 0;
195850  void *argp1 = 0 ;
195851  int res1 = 0 ;
195852  PyObject * obj0 = 0 ;
195853  bool result;
195854 
195855  if (!PyArg_ParseTuple(args,(char *)"O:LineBase_HasStaticJoint",&obj0)) SWIG_fail;
195856  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
195857  if (!SWIG_IsOK(res1)) {
195858  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_HasStaticJoint" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
195859  }
195860  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
195861  {
195862  try {
195863  result = (bool)(arg1)->HasStaticJoint();
195864  }
195865  catch(CStdErrorInfo oError)
195866  {
195867  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195868  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195869  PyErr_SetString(PyExc_IndexError, strError.c_str());
195870  SWIG_fail;
195871  }
195872  catch(...)
195873  {
195874  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195875  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195876  SWIG_fail;
195877  }
195878  }
195879  resultobj = SWIG_From_bool(static_cast< bool >(result));
195880  return resultobj;
195881 fail:
195882  return NULL;
195883 }
195884 
195885 
195886 SWIGINTERN PyObject *_wrap_LineBase_AllowMouseManipulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195887  PyObject *resultobj = 0;
195889  void *argp1 = 0 ;
195890  int res1 = 0 ;
195891  PyObject * obj0 = 0 ;
195892  bool result;
195893 
195894  if (!PyArg_ParseTuple(args,(char *)"O:LineBase_AllowMouseManipulation",&obj0)) SWIG_fail;
195895  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
195896  if (!SWIG_IsOK(res1)) {
195897  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_AllowMouseManipulation" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
195898  }
195899  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
195900  {
195901  try {
195902  result = (bool)(arg1)->AllowMouseManipulation();
195903  }
195904  catch(CStdErrorInfo oError)
195905  {
195906  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195907  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195908  PyErr_SetString(PyExc_IndexError, strError.c_str());
195909  SWIG_fail;
195910  }
195911  catch(...)
195912  {
195913  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195914  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195915  SWIG_fail;
195916  }
195917  }
195918  resultobj = SWIG_From_bool(static_cast< bool >(result));
195919  return resultobj;
195920 fail:
195921  return NULL;
195922 }
195923 
195924 
195925 SWIGINTERN PyObject *_wrap_LineBase_Position__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
195926  PyObject *resultobj = 0;
195928  CStdPoint< float > *arg2 = 0 ;
195929  bool arg3 ;
195930  bool arg4 ;
195931  bool arg5 ;
195932  void *argp1 = 0 ;
195933  int res1 = 0 ;
195934  void *argp2 = 0 ;
195935  int res2 = 0 ;
195936  bool val3 ;
195937  int ecode3 = 0 ;
195938  bool val4 ;
195939  int ecode4 = 0 ;
195940  bool val5 ;
195941  int ecode5 = 0 ;
195942  PyObject * obj0 = 0 ;
195943  PyObject * obj1 = 0 ;
195944  PyObject * obj2 = 0 ;
195945  PyObject * obj3 = 0 ;
195946  PyObject * obj4 = 0 ;
195947 
195948  if (!PyArg_ParseTuple(args,(char *)"OOOOO:LineBase_Position",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
195949  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
195950  if (!SWIG_IsOK(res1)) {
195951  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_Position" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
195952  }
195953  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
195954  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
195955  if (!SWIG_IsOK(res2)) {
195956  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LineBase_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
195957  }
195958  if (!argp2) {
195959  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LineBase_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
195960  }
195961  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
195962  ecode3 = SWIG_AsVal_bool(obj2, &val3);
195963  if (!SWIG_IsOK(ecode3)) {
195964  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LineBase_Position" "', argument " "3"" of type '" "bool""'");
195965  }
195966  arg3 = static_cast< bool >(val3);
195967  ecode4 = SWIG_AsVal_bool(obj3, &val4);
195968  if (!SWIG_IsOK(ecode4)) {
195969  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LineBase_Position" "', argument " "4"" of type '" "bool""'");
195970  }
195971  arg4 = static_cast< bool >(val4);
195972  ecode5 = SWIG_AsVal_bool(obj4, &val5);
195973  if (!SWIG_IsOK(ecode5)) {
195974  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LineBase_Position" "', argument " "5"" of type '" "bool""'");
195975  }
195976  arg5 = static_cast< bool >(val5);
195977  {
195978  try {
195979  (arg1)->Position(*arg2,arg3,arg4,arg5);
195980  }
195981  catch(CStdErrorInfo oError)
195982  {
195983  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195984  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
195985  PyErr_SetString(PyExc_IndexError, strError.c_str());
195986  SWIG_fail;
195987  }
195988  catch(...)
195989  {
195990  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
195991  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
195992  SWIG_fail;
195993  }
195994  }
195995  resultobj = SWIG_Py_Void();
195996  return resultobj;
195997 fail:
195998  return NULL;
195999 }
196000 
196001 
196002 SWIGINTERN PyObject *_wrap_LineBase_Position__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
196003  PyObject *resultobj = 0;
196005  CStdPoint< float > *arg2 = 0 ;
196006  bool arg3 ;
196007  bool arg4 ;
196008  void *argp1 = 0 ;
196009  int res1 = 0 ;
196010  void *argp2 = 0 ;
196011  int res2 = 0 ;
196012  bool val3 ;
196013  int ecode3 = 0 ;
196014  bool val4 ;
196015  int ecode4 = 0 ;
196016  PyObject * obj0 = 0 ;
196017  PyObject * obj1 = 0 ;
196018  PyObject * obj2 = 0 ;
196019  PyObject * obj3 = 0 ;
196020 
196021  if (!PyArg_ParseTuple(args,(char *)"OOOO:LineBase_Position",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
196022  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
196023  if (!SWIG_IsOK(res1)) {
196024  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_Position" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
196025  }
196026  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
196027  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
196028  if (!SWIG_IsOK(res2)) {
196029  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LineBase_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
196030  }
196031  if (!argp2) {
196032  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LineBase_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
196033  }
196034  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
196035  ecode3 = SWIG_AsVal_bool(obj2, &val3);
196036  if (!SWIG_IsOK(ecode3)) {
196037  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LineBase_Position" "', argument " "3"" of type '" "bool""'");
196038  }
196039  arg3 = static_cast< bool >(val3);
196040  ecode4 = SWIG_AsVal_bool(obj3, &val4);
196041  if (!SWIG_IsOK(ecode4)) {
196042  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LineBase_Position" "', argument " "4"" of type '" "bool""'");
196043  }
196044  arg4 = static_cast< bool >(val4);
196045  {
196046  try {
196047  (arg1)->Position(*arg2,arg3,arg4);
196048  }
196049  catch(CStdErrorInfo oError)
196050  {
196051  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196052  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
196053  PyErr_SetString(PyExc_IndexError, strError.c_str());
196054  SWIG_fail;
196055  }
196056  catch(...)
196057  {
196058  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196059  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
196060  SWIG_fail;
196061  }
196062  }
196063  resultobj = SWIG_Py_Void();
196064  return resultobj;
196065 fail:
196066  return NULL;
196067 }
196068 
196069 
196070 SWIGINTERN PyObject *_wrap_LineBase_Position__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
196071  PyObject *resultobj = 0;
196073  CStdPoint< float > *arg2 = 0 ;
196074  bool arg3 ;
196075  void *argp1 = 0 ;
196076  int res1 = 0 ;
196077  void *argp2 = 0 ;
196078  int res2 = 0 ;
196079  bool val3 ;
196080  int ecode3 = 0 ;
196081  PyObject * obj0 = 0 ;
196082  PyObject * obj1 = 0 ;
196083  PyObject * obj2 = 0 ;
196084 
196085  if (!PyArg_ParseTuple(args,(char *)"OOO:LineBase_Position",&obj0,&obj1,&obj2)) SWIG_fail;
196086  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
196087  if (!SWIG_IsOK(res1)) {
196088  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_Position" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
196089  }
196090  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
196091  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
196092  if (!SWIG_IsOK(res2)) {
196093  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LineBase_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
196094  }
196095  if (!argp2) {
196096  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LineBase_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
196097  }
196098  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
196099  ecode3 = SWIG_AsVal_bool(obj2, &val3);
196100  if (!SWIG_IsOK(ecode3)) {
196101  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LineBase_Position" "', argument " "3"" of type '" "bool""'");
196102  }
196103  arg3 = static_cast< bool >(val3);
196104  {
196105  try {
196106  (arg1)->Position(*arg2,arg3);
196107  }
196108  catch(CStdErrorInfo oError)
196109  {
196110  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196111  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
196112  PyErr_SetString(PyExc_IndexError, strError.c_str());
196113  SWIG_fail;
196114  }
196115  catch(...)
196116  {
196117  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196118  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
196119  SWIG_fail;
196120  }
196121  }
196122  resultobj = SWIG_Py_Void();
196123  return resultobj;
196124 fail:
196125  return NULL;
196126 }
196127 
196128 
196129 SWIGINTERN PyObject *_wrap_LineBase_Position__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
196130  PyObject *resultobj = 0;
196132  CStdPoint< float > *arg2 = 0 ;
196133  void *argp1 = 0 ;
196134  int res1 = 0 ;
196135  void *argp2 = 0 ;
196136  int res2 = 0 ;
196137  PyObject * obj0 = 0 ;
196138  PyObject * obj1 = 0 ;
196139 
196140  if (!PyArg_ParseTuple(args,(char *)"OO:LineBase_Position",&obj0,&obj1)) SWIG_fail;
196141  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
196142  if (!SWIG_IsOK(res1)) {
196143  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_Position" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
196144  }
196145  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
196146  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
196147  if (!SWIG_IsOK(res2)) {
196148  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LineBase_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
196149  }
196150  if (!argp2) {
196151  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LineBase_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
196152  }
196153  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
196154  {
196155  try {
196156  (arg1)->Position(*arg2);
196157  }
196158  catch(CStdErrorInfo oError)
196159  {
196160  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196161  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
196162  PyErr_SetString(PyExc_IndexError, strError.c_str());
196163  SWIG_fail;
196164  }
196165  catch(...)
196166  {
196167  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196168  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
196169  SWIG_fail;
196170  }
196171  }
196172  resultobj = SWIG_Py_Void();
196173  return resultobj;
196174 fail:
196175  return NULL;
196176 }
196177 
196178 
196179 SWIGINTERN PyObject *_wrap_LineBase_Position(PyObject *self, PyObject *args) {
196180  int argc;
196181  PyObject *argv[6];
196182  int ii;
196183 
196184  if (!PyTuple_Check(args)) SWIG_fail;
196185  argc = args ? (int)PyObject_Length(args) : 0;
196186  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
196187  argv[ii] = PyTuple_GET_ITEM(args,ii);
196188  }
196189  if (argc == 2) {
196190  int _v;
196191  void *vptr = 0;
196192  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0);
196193  _v = SWIG_CheckState(res);
196194  if (_v) {
196195  void *vptr = 0;
196196  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
196197  _v = SWIG_CheckState(res);
196198  if (_v) {
196199  return _wrap_LineBase_Position__SWIG_3(self, args);
196200  }
196201  }
196202  }
196203  if (argc == 3) {
196204  int _v;
196205  void *vptr = 0;
196206  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0);
196207  _v = SWIG_CheckState(res);
196208  if (_v) {
196209  void *vptr = 0;
196210  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
196211  _v = SWIG_CheckState(res);
196212  if (_v) {
196213  {
196214  int res = SWIG_AsVal_bool(argv[2], NULL);
196215  _v = SWIG_CheckState(res);
196216  }
196217  if (_v) {
196218  return _wrap_LineBase_Position__SWIG_2(self, args);
196219  }
196220  }
196221  }
196222  }
196223  if (argc == 4) {
196224  int _v;
196225  void *vptr = 0;
196226  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0);
196227  _v = SWIG_CheckState(res);
196228  if (_v) {
196229  void *vptr = 0;
196230  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
196231  _v = SWIG_CheckState(res);
196232  if (_v) {
196233  {
196234  int res = SWIG_AsVal_bool(argv[2], NULL);
196235  _v = SWIG_CheckState(res);
196236  }
196237  if (_v) {
196238  {
196239  int res = SWIG_AsVal_bool(argv[3], NULL);
196240  _v = SWIG_CheckState(res);
196241  }
196242  if (_v) {
196243  return _wrap_LineBase_Position__SWIG_1(self, args);
196244  }
196245  }
196246  }
196247  }
196248  }
196249  if (argc == 5) {
196250  int _v;
196251  void *vptr = 0;
196252  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0);
196253  _v = SWIG_CheckState(res);
196254  if (_v) {
196255  void *vptr = 0;
196256  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
196257  _v = SWIG_CheckState(res);
196258  if (_v) {
196259  {
196260  int res = SWIG_AsVal_bool(argv[2], NULL);
196261  _v = SWIG_CheckState(res);
196262  }
196263  if (_v) {
196264  {
196265  int res = SWIG_AsVal_bool(argv[3], NULL);
196266  _v = SWIG_CheckState(res);
196267  }
196268  if (_v) {
196269  {
196270  int res = SWIG_AsVal_bool(argv[4], NULL);
196271  _v = SWIG_CheckState(res);
196272  }
196273  if (_v) {
196274  return _wrap_LineBase_Position__SWIG_0(self, args);
196275  }
196276  }
196277  }
196278  }
196279  }
196280  }
196281 
196282 fail:
196283  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LineBase_Position'.\n"
196284  " Possible C/C++ prototypes are:\n"
196285  " AnimatSim::Environment::Bodies::LineBase::Position(CStdPoint< float > &,bool,bool,bool)\n"
196286  " AnimatSim::Environment::Bodies::LineBase::Position(CStdPoint< float > &,bool,bool)\n"
196287  " AnimatSim::Environment::Bodies::LineBase::Position(CStdPoint< float > &,bool)\n"
196288  " AnimatSim::Environment::Bodies::LineBase::Position(CStdPoint< float > &)\n");
196289  return 0;
196290 }
196291 
196292 
196293 SWIGINTERN PyObject *_wrap_LineBase_AbsolutePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
196294  PyObject *resultobj = 0;
196296  CStdPoint< float > *arg2 = 0 ;
196297  void *argp1 = 0 ;
196298  int res1 = 0 ;
196299  void *argp2 = 0 ;
196300  int res2 = 0 ;
196301  PyObject * obj0 = 0 ;
196302  PyObject * obj1 = 0 ;
196303 
196304  if (!PyArg_ParseTuple(args,(char *)"OO:LineBase_AbsolutePosition",&obj0,&obj1)) SWIG_fail;
196305  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
196306  if (!SWIG_IsOK(res1)) {
196307  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_AbsolutePosition" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
196308  }
196309  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
196310  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
196311  if (!SWIG_IsOK(res2)) {
196312  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LineBase_AbsolutePosition" "', argument " "2"" of type '" "CStdPoint< float > &""'");
196313  }
196314  if (!argp2) {
196315  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LineBase_AbsolutePosition" "', argument " "2"" of type '" "CStdPoint< float > &""'");
196316  }
196317  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
196318  {
196319  try {
196320  (arg1)->AbsolutePosition(*arg2);
196321  }
196322  catch(CStdErrorInfo oError)
196323  {
196324  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196325  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
196326  PyErr_SetString(PyExc_IndexError, strError.c_str());
196327  SWIG_fail;
196328  }
196329  catch(...)
196330  {
196331  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196332  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
196333  SWIG_fail;
196334  }
196335  }
196336  resultobj = SWIG_Py_Void();
196337  return resultobj;
196338 fail:
196339  return NULL;
196340 }
196341 
196342 
196343 SWIGINTERN PyObject *_wrap_LineBase_OrientNewPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
196344  PyObject *resultobj = 0;
196346  float arg2 ;
196347  float arg3 ;
196348  float arg4 ;
196349  float arg5 ;
196350  float arg6 ;
196351  float arg7 ;
196352  void *argp1 = 0 ;
196353  int res1 = 0 ;
196354  float val2 ;
196355  int ecode2 = 0 ;
196356  float val3 ;
196357  int ecode3 = 0 ;
196358  float val4 ;
196359  int ecode4 = 0 ;
196360  float val5 ;
196361  int ecode5 = 0 ;
196362  float val6 ;
196363  int ecode6 = 0 ;
196364  float val7 ;
196365  int ecode7 = 0 ;
196366  PyObject * obj0 = 0 ;
196367  PyObject * obj1 = 0 ;
196368  PyObject * obj2 = 0 ;
196369  PyObject * obj3 = 0 ;
196370  PyObject * obj4 = 0 ;
196371  PyObject * obj5 = 0 ;
196372  PyObject * obj6 = 0 ;
196373 
196374  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:LineBase_OrientNewPart",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
196375  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
196376  if (!SWIG_IsOK(res1)) {
196377  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_OrientNewPart" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
196378  }
196379  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
196380  ecode2 = SWIG_AsVal_float(obj1, &val2);
196381  if (!SWIG_IsOK(ecode2)) {
196382  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LineBase_OrientNewPart" "', argument " "2"" of type '" "float""'");
196383  }
196384  arg2 = static_cast< float >(val2);
196385  ecode3 = SWIG_AsVal_float(obj2, &val3);
196386  if (!SWIG_IsOK(ecode3)) {
196387  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LineBase_OrientNewPart" "', argument " "3"" of type '" "float""'");
196388  }
196389  arg3 = static_cast< float >(val3);
196390  ecode4 = SWIG_AsVal_float(obj3, &val4);
196391  if (!SWIG_IsOK(ecode4)) {
196392  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LineBase_OrientNewPart" "', argument " "4"" of type '" "float""'");
196393  }
196394  arg4 = static_cast< float >(val4);
196395  ecode5 = SWIG_AsVal_float(obj4, &val5);
196396  if (!SWIG_IsOK(ecode5)) {
196397  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LineBase_OrientNewPart" "', argument " "5"" of type '" "float""'");
196398  }
196399  arg5 = static_cast< float >(val5);
196400  ecode6 = SWIG_AsVal_float(obj5, &val6);
196401  if (!SWIG_IsOK(ecode6)) {
196402  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LineBase_OrientNewPart" "', argument " "6"" of type '" "float""'");
196403  }
196404  arg6 = static_cast< float >(val6);
196405  ecode7 = SWIG_AsVal_float(obj6, &val7);
196406  if (!SWIG_IsOK(ecode7)) {
196407  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LineBase_OrientNewPart" "', argument " "7"" of type '" "float""'");
196408  }
196409  arg7 = static_cast< float >(val7);
196410  {
196411  try {
196412  (arg1)->OrientNewPart(arg2,arg3,arg4,arg5,arg6,arg7);
196413  }
196414  catch(CStdErrorInfo oError)
196415  {
196416  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196417  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
196418  PyErr_SetString(PyExc_IndexError, strError.c_str());
196419  SWIG_fail;
196420  }
196421  catch(...)
196422  {
196423  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196424  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
196425  SWIG_fail;
196426  }
196427  }
196428  resultobj = SWIG_Py_Void();
196429  return resultobj;
196430 fail:
196431  return NULL;
196432 }
196433 
196434 
196435 SWIGINTERN PyObject *_wrap_LineBase_AttachmentPoints__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
196436  PyObject *resultobj = 0;
196438  void *argp1 = 0 ;
196439  int res1 = 0 ;
196440  PyObject * obj0 = 0 ;
196441  CStdArray< AnimatSim::Environment::Bodies::Attachment * > *result = 0 ;
196442 
196443  if (!PyArg_ParseTuple(args,(char *)"O:LineBase_AttachmentPoints",&obj0)) SWIG_fail;
196444  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
196445  if (!SWIG_IsOK(res1)) {
196446  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_AttachmentPoints" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
196447  }
196448  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
196449  {
196450  try {
196451  result = (CStdArray< AnimatSim::Environment::Bodies::Attachment * > *)(arg1)->AttachmentPoints();
196452  }
196453  catch(CStdErrorInfo oError)
196454  {
196455  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196456  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
196457  PyErr_SetString(PyExc_IndexError, strError.c_str());
196458  SWIG_fail;
196459  }
196460  catch(...)
196461  {
196462  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196463  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
196464  SWIG_fail;
196465  }
196466  }
196467  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdArrayT_AnimatSim__Environment__Bodies__Attachment_p_t, 0 | 0 );
196468  return resultobj;
196469 fail:
196470  return NULL;
196471 }
196472 
196473 
196474 SWIGINTERN PyObject *_wrap_LineBase_AttachmentPoints__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
196475  PyObject *resultobj = 0;
196477  std::string arg2 ;
196478  void *argp1 = 0 ;
196479  int res1 = 0 ;
196480  PyObject * obj0 = 0 ;
196481  PyObject * obj1 = 0 ;
196482 
196483  if (!PyArg_ParseTuple(args,(char *)"OO:LineBase_AttachmentPoints",&obj0,&obj1)) SWIG_fail;
196484  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
196485  if (!SWIG_IsOK(res1)) {
196486  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_AttachmentPoints" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
196487  }
196488  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
196489  {
196490  std::string *ptr = (std::string *)0;
196491  int res = SWIG_AsPtr_std_string(obj1, &ptr);
196492  if (!SWIG_IsOK(res) || !ptr) {
196493  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "LineBase_AttachmentPoints" "', argument " "2"" of type '" "std::string""'");
196494  }
196495  arg2 = *ptr;
196496  if (SWIG_IsNewObj(res)) delete ptr;
196497  }
196498  {
196499  try {
196500  (arg1)->AttachmentPoints(arg2);
196501  }
196502  catch(CStdErrorInfo oError)
196503  {
196504  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196505  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
196506  PyErr_SetString(PyExc_IndexError, strError.c_str());
196507  SWIG_fail;
196508  }
196509  catch(...)
196510  {
196511  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196512  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
196513  SWIG_fail;
196514  }
196515  }
196516  resultobj = SWIG_Py_Void();
196517  return resultobj;
196518 fail:
196519  return NULL;
196520 }
196521 
196522 
196523 SWIGINTERN PyObject *_wrap_LineBase_AttachmentPoints(PyObject *self, PyObject *args) {
196524  int argc;
196525  PyObject *argv[3];
196526  int ii;
196527 
196528  if (!PyTuple_Check(args)) SWIG_fail;
196529  argc = args ? (int)PyObject_Length(args) : 0;
196530  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
196531  argv[ii] = PyTuple_GET_ITEM(args,ii);
196532  }
196533  if (argc == 1) {
196534  int _v;
196535  void *vptr = 0;
196536  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0);
196537  _v = SWIG_CheckState(res);
196538  if (_v) {
196539  return _wrap_LineBase_AttachmentPoints__SWIG_0(self, args);
196540  }
196541  }
196542  if (argc == 2) {
196543  int _v;
196544  void *vptr = 0;
196545  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0);
196546  _v = SWIG_CheckState(res);
196547  if (_v) {
196548  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
196549  _v = SWIG_CheckState(res);
196550  if (_v) {
196551  return _wrap_LineBase_AttachmentPoints__SWIG_1(self, args);
196552  }
196553  }
196554  }
196555 
196556 fail:
196557  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LineBase_AttachmentPoints'.\n"
196558  " Possible C/C++ prototypes are:\n"
196559  " AnimatSim::Environment::Bodies::LineBase::AttachmentPoints()\n"
196560  " AnimatSim::Environment::Bodies::LineBase::AttachmentPoints(std::string)\n");
196561  return 0;
196562 }
196563 
196564 
196565 SWIGINTERN PyObject *_wrap_LineBase_Resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
196566  PyObject *resultobj = 0;
196568  void *argp1 = 0 ;
196569  int res1 = 0 ;
196570  PyObject * obj0 = 0 ;
196571 
196572  if (!PyArg_ParseTuple(args,(char *)"O:LineBase_Resize",&obj0)) SWIG_fail;
196573  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
196574  if (!SWIG_IsOK(res1)) {
196575  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_Resize" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
196576  }
196577  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
196578  {
196579  try {
196580  (arg1)->Resize();
196581  }
196582  catch(CStdErrorInfo oError)
196583  {
196584  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196585  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
196586  PyErr_SetString(PyExc_IndexError, strError.c_str());
196587  SWIG_fail;
196588  }
196589  catch(...)
196590  {
196591  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196592  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
196593  SWIG_fail;
196594  }
196595  }
196596  resultobj = SWIG_Py_Void();
196597  return resultobj;
196598 fail:
196599  return NULL;
196600 }
196601 
196602 
196603 SWIGINTERN PyObject *_wrap_LineBase_CalculateLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
196604  PyObject *resultobj = 0;
196606  void *argp1 = 0 ;
196607  int res1 = 0 ;
196608  PyObject * obj0 = 0 ;
196609  float result;
196610 
196611  if (!PyArg_ParseTuple(args,(char *)"O:LineBase_CalculateLength",&obj0)) SWIG_fail;
196612  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
196613  if (!SWIG_IsOK(res1)) {
196614  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_CalculateLength" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
196615  }
196616  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
196617  {
196618  try {
196619  result = (float)(arg1)->CalculateLength();
196620  }
196621  catch(CStdErrorInfo oError)
196622  {
196623  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196624  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
196625  PyErr_SetString(PyExc_IndexError, strError.c_str());
196626  SWIG_fail;
196627  }
196628  catch(...)
196629  {
196630  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196631  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
196632  SWIG_fail;
196633  }
196634  }
196635  resultobj = SWIG_From_float(static_cast< float >(result));
196636  return resultobj;
196637 fail:
196638  return NULL;
196639 }
196640 
196641 
196642 SWIGINTERN PyObject *_wrap_LineBase_AfterResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
196643  PyObject *resultobj = 0;
196645  void *argp1 = 0 ;
196646  int res1 = 0 ;
196647  PyObject * obj0 = 0 ;
196648 
196649  if (!PyArg_ParseTuple(args,(char *)"O:LineBase_AfterResetSimulation",&obj0)) SWIG_fail;
196650  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
196651  if (!SWIG_IsOK(res1)) {
196652  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_AfterResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
196653  }
196654  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
196655  {
196656  try {
196657  (arg1)->AfterResetSimulation();
196658  }
196659  catch(CStdErrorInfo oError)
196660  {
196661  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196662  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
196663  PyErr_SetString(PyExc_IndexError, strError.c_str());
196664  SWIG_fail;
196665  }
196666  catch(...)
196667  {
196668  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196669  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
196670  SWIG_fail;
196671  }
196672  }
196673  resultobj = SWIG_Py_Void();
196674  return resultobj;
196675 fail:
196676  return NULL;
196677 }
196678 
196679 
196680 SWIGINTERN PyObject *_wrap_LineBase_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
196681  PyObject *resultobj = 0;
196683  std::string *arg2 = 0 ;
196684  void *argp1 = 0 ;
196685  int res1 = 0 ;
196686  int res2 = SWIG_OLDOBJ ;
196687  PyObject * obj0 = 0 ;
196688  PyObject * obj1 = 0 ;
196689  float *result = 0 ;
196690 
196691  if (!PyArg_ParseTuple(args,(char *)"OO:LineBase_GetDataPointer",&obj0,&obj1)) SWIG_fail;
196692  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
196693  if (!SWIG_IsOK(res1)) {
196694  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
196695  }
196696  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
196697  {
196698  std::string *ptr = (std::string *)0;
196699  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
196700  if (!SWIG_IsOK(res2)) {
196701  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LineBase_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
196702  }
196703  if (!ptr) {
196704  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LineBase_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
196705  }
196706  arg2 = ptr;
196707  }
196708  {
196709  try {
196710  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
196711  }
196712  catch(CStdErrorInfo oError)
196713  {
196714  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196715  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
196716  PyErr_SetString(PyExc_IndexError, strError.c_str());
196717  SWIG_fail;
196718  }
196719  catch(...)
196720  {
196721  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196722  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
196723  SWIG_fail;
196724  }
196725  }
196726  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
196727  if (SWIG_IsNewObj(res2)) delete arg2;
196728  return resultobj;
196729 fail:
196730  if (SWIG_IsNewObj(res2)) delete arg2;
196731  return NULL;
196732 }
196733 
196734 
196735 SWIGINTERN PyObject *_wrap_LineBase_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
196736  PyObject *resultobj = 0;
196738  std::string *arg2 = 0 ;
196739  std::string *arg3 = 0 ;
196740  bool arg4 ;
196741  void *argp1 = 0 ;
196742  int res1 = 0 ;
196743  int res2 = SWIG_OLDOBJ ;
196744  int res3 = SWIG_OLDOBJ ;
196745  bool val4 ;
196746  int ecode4 = 0 ;
196747  PyObject * obj0 = 0 ;
196748  PyObject * obj1 = 0 ;
196749  PyObject * obj2 = 0 ;
196750  PyObject * obj3 = 0 ;
196751  bool result;
196752 
196753  if (!PyArg_ParseTuple(args,(char *)"OOOO:LineBase_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
196754  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
196755  if (!SWIG_IsOK(res1)) {
196756  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
196757  }
196758  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
196759  {
196760  std::string *ptr = (std::string *)0;
196761  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
196762  if (!SWIG_IsOK(res2)) {
196763  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LineBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
196764  }
196765  if (!ptr) {
196766  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LineBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
196767  }
196768  arg2 = ptr;
196769  }
196770  {
196771  std::string *ptr = (std::string *)0;
196772  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
196773  if (!SWIG_IsOK(res3)) {
196774  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LineBase_SetData" "', argument " "3"" of type '" "std::string const &""'");
196775  }
196776  if (!ptr) {
196777  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LineBase_SetData" "', argument " "3"" of type '" "std::string const &""'");
196778  }
196779  arg3 = ptr;
196780  }
196781  ecode4 = SWIG_AsVal_bool(obj3, &val4);
196782  if (!SWIG_IsOK(ecode4)) {
196783  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LineBase_SetData" "', argument " "4"" of type '" "bool""'");
196784  }
196785  arg4 = static_cast< bool >(val4);
196786  {
196787  try {
196788  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
196789  }
196790  catch(CStdErrorInfo oError)
196791  {
196792  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196793  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
196794  PyErr_SetString(PyExc_IndexError, strError.c_str());
196795  SWIG_fail;
196796  }
196797  catch(...)
196798  {
196799  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196800  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
196801  SWIG_fail;
196802  }
196803  }
196804  resultobj = SWIG_From_bool(static_cast< bool >(result));
196805  if (SWIG_IsNewObj(res2)) delete arg2;
196806  if (SWIG_IsNewObj(res3)) delete arg3;
196807  return resultobj;
196808 fail:
196809  if (SWIG_IsNewObj(res2)) delete arg2;
196810  if (SWIG_IsNewObj(res3)) delete arg3;
196811  return NULL;
196812 }
196813 
196814 
196815 SWIGINTERN PyObject *_wrap_LineBase_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
196816  PyObject *resultobj = 0;
196818  std::string *arg2 = 0 ;
196819  std::string *arg3 = 0 ;
196820  void *argp1 = 0 ;
196821  int res1 = 0 ;
196822  int res2 = SWIG_OLDOBJ ;
196823  int res3 = SWIG_OLDOBJ ;
196824  PyObject * obj0 = 0 ;
196825  PyObject * obj1 = 0 ;
196826  PyObject * obj2 = 0 ;
196827  bool result;
196828 
196829  if (!PyArg_ParseTuple(args,(char *)"OOO:LineBase_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
196830  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
196831  if (!SWIG_IsOK(res1)) {
196832  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
196833  }
196834  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
196835  {
196836  std::string *ptr = (std::string *)0;
196837  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
196838  if (!SWIG_IsOK(res2)) {
196839  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LineBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
196840  }
196841  if (!ptr) {
196842  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LineBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
196843  }
196844  arg2 = ptr;
196845  }
196846  {
196847  std::string *ptr = (std::string *)0;
196848  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
196849  if (!SWIG_IsOK(res3)) {
196850  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LineBase_SetData" "', argument " "3"" of type '" "std::string const &""'");
196851  }
196852  if (!ptr) {
196853  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LineBase_SetData" "', argument " "3"" of type '" "std::string const &""'");
196854  }
196855  arg3 = ptr;
196856  }
196857  {
196858  try {
196859  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
196860  }
196861  catch(CStdErrorInfo oError)
196862  {
196863  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196864  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
196865  PyErr_SetString(PyExc_IndexError, strError.c_str());
196866  SWIG_fail;
196867  }
196868  catch(...)
196869  {
196870  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196871  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
196872  SWIG_fail;
196873  }
196874  }
196875  resultobj = SWIG_From_bool(static_cast< bool >(result));
196876  if (SWIG_IsNewObj(res2)) delete arg2;
196877  if (SWIG_IsNewObj(res3)) delete arg3;
196878  return resultobj;
196879 fail:
196880  if (SWIG_IsNewObj(res2)) delete arg2;
196881  if (SWIG_IsNewObj(res3)) delete arg3;
196882  return NULL;
196883 }
196884 
196885 
196886 SWIGINTERN PyObject *_wrap_LineBase_SetData(PyObject *self, PyObject *args) {
196887  int argc;
196888  PyObject *argv[5];
196889  int ii;
196890 
196891  if (!PyTuple_Check(args)) SWIG_fail;
196892  argc = args ? (int)PyObject_Length(args) : 0;
196893  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
196894  argv[ii] = PyTuple_GET_ITEM(args,ii);
196895  }
196896  if (argc == 3) {
196897  int _v;
196898  void *vptr = 0;
196899  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0);
196900  _v = SWIG_CheckState(res);
196901  if (_v) {
196902  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
196903  _v = SWIG_CheckState(res);
196904  if (_v) {
196905  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
196906  _v = SWIG_CheckState(res);
196907  if (_v) {
196908  return _wrap_LineBase_SetData__SWIG_1(self, args);
196909  }
196910  }
196911  }
196912  }
196913  if (argc == 4) {
196914  int _v;
196915  void *vptr = 0;
196916  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0);
196917  _v = SWIG_CheckState(res);
196918  if (_v) {
196919  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
196920  _v = SWIG_CheckState(res);
196921  if (_v) {
196922  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
196923  _v = SWIG_CheckState(res);
196924  if (_v) {
196925  {
196926  int res = SWIG_AsVal_bool(argv[3], NULL);
196927  _v = SWIG_CheckState(res);
196928  }
196929  if (_v) {
196930  return _wrap_LineBase_SetData__SWIG_0(self, args);
196931  }
196932  }
196933  }
196934  }
196935  }
196936 
196937 fail:
196938  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LineBase_SetData'.\n"
196939  " Possible C/C++ prototypes are:\n"
196940  " AnimatSim::Environment::Bodies::LineBase::SetData(std::string const &,std::string const &,bool)\n"
196941  " AnimatSim::Environment::Bodies::LineBase::SetData(std::string const &,std::string const &)\n");
196942  return 0;
196943 }
196944 
196945 
196946 SWIGINTERN PyObject *_wrap_LineBase_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
196947  PyObject *resultobj = 0;
196949  CStdPtrArray< TypeProperty > *arg2 = 0 ;
196950  void *argp1 = 0 ;
196951  int res1 = 0 ;
196952  void *argp2 = 0 ;
196953  int res2 = 0 ;
196954  PyObject * obj0 = 0 ;
196955  PyObject * obj1 = 0 ;
196956 
196957  if (!PyArg_ParseTuple(args,(char *)"OO:LineBase_QueryProperties",&obj0,&obj1)) SWIG_fail;
196958  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
196959  if (!SWIG_IsOK(res1)) {
196960  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
196961  }
196962  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
196963  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
196964  if (!SWIG_IsOK(res2)) {
196965  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LineBase_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
196966  }
196967  if (!argp2) {
196968  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LineBase_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
196969  }
196970  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
196971  {
196972  try {
196973  (arg1)->QueryProperties(*arg2);
196974  }
196975  catch(CStdErrorInfo oError)
196976  {
196977  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196978  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
196979  PyErr_SetString(PyExc_IndexError, strError.c_str());
196980  SWIG_fail;
196981  }
196982  catch(...)
196983  {
196984  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
196985  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
196986  SWIG_fail;
196987  }
196988  }
196989  resultobj = SWIG_Py_Void();
196990  return resultobj;
196991 fail:
196992  return NULL;
196993 }
196994 
196995 
196996 SWIGINTERN PyObject *_wrap_LineBase_CreateParts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
196997  PyObject *resultobj = 0;
196999  void *argp1 = 0 ;
197000  int res1 = 0 ;
197001  PyObject * obj0 = 0 ;
197002 
197003  if (!PyArg_ParseTuple(args,(char *)"O:LineBase_CreateParts",&obj0)) SWIG_fail;
197004  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
197005  if (!SWIG_IsOK(res1)) {
197006  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_CreateParts" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
197007  }
197008  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
197009  {
197010  try {
197011  (arg1)->CreateParts();
197012  }
197013  catch(CStdErrorInfo oError)
197014  {
197015  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197016  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197017  PyErr_SetString(PyExc_IndexError, strError.c_str());
197018  SWIG_fail;
197019  }
197020  catch(...)
197021  {
197022  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197023  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197024  SWIG_fail;
197025  }
197026  }
197027  resultobj = SWIG_Py_Void();
197028  return resultobj;
197029 fail:
197030  return NULL;
197031 }
197032 
197033 
197034 SWIGINTERN PyObject *_wrap_LineBase_CreateJoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197035  PyObject *resultobj = 0;
197037  void *argp1 = 0 ;
197038  int res1 = 0 ;
197039  PyObject * obj0 = 0 ;
197040 
197041  if (!PyArg_ParseTuple(args,(char *)"O:LineBase_CreateJoints",&obj0)) SWIG_fail;
197042  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
197043  if (!SWIG_IsOK(res1)) {
197044  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_CreateJoints" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
197045  }
197046  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
197047  {
197048  try {
197049  (arg1)->CreateJoints();
197050  }
197051  catch(CStdErrorInfo oError)
197052  {
197053  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197054  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197055  PyErr_SetString(PyExc_IndexError, strError.c_str());
197056  SWIG_fail;
197057  }
197058  catch(...)
197059  {
197060  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197061  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197062  SWIG_fail;
197063  }
197064  }
197065  resultobj = SWIG_Py_Void();
197066  return resultobj;
197067 fail:
197068  return NULL;
197069 }
197070 
197071 
197072 SWIGINTERN PyObject *_wrap_LineBase_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197073  PyObject *resultobj = 0;
197075  CStdXml *arg2 = 0 ;
197076  void *argp1 = 0 ;
197077  int res1 = 0 ;
197078  void *argp2 = 0 ;
197079  int res2 = 0 ;
197080  PyObject * obj0 = 0 ;
197081  PyObject * obj1 = 0 ;
197082 
197083  if (!PyArg_ParseTuple(args,(char *)"OO:LineBase_Load",&obj0,&obj1)) SWIG_fail;
197084  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, 0 | 0 );
197085  if (!SWIG_IsOK(res1)) {
197086  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LineBase_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LineBase *""'");
197087  }
197088  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LineBase * >(argp1);
197089  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
197090  if (!SWIG_IsOK(res2)) {
197091  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LineBase_Load" "', argument " "2"" of type '" "CStdXml &""'");
197092  }
197093  if (!argp2) {
197094  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LineBase_Load" "', argument " "2"" of type '" "CStdXml &""'");
197095  }
197096  arg2 = reinterpret_cast< CStdXml * >(argp2);
197097  {
197098  try {
197099  (arg1)->Load(*arg2);
197100  }
197101  catch(CStdErrorInfo oError)
197102  {
197103  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197104  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197105  PyErr_SetString(PyExc_IndexError, strError.c_str());
197106  SWIG_fail;
197107  }
197108  catch(...)
197109  {
197110  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197111  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197112  SWIG_fail;
197113  }
197114  }
197115  resultobj = SWIG_Py_Void();
197116  return resultobj;
197117 fail:
197118  return NULL;
197119 }
197120 
197121 
197122 SWIGINTERN PyObject *LineBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197123  PyObject *obj;
197124  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
197125  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase, SWIG_NewClientData(obj));
197126  return SWIG_Py_Void();
197127 }
197128 
197129 SWIGINTERN PyObject *_wrap_delete_MuscleBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197130  PyObject *resultobj = 0;
197132  void *argp1 = 0 ;
197133  int res1 = 0 ;
197134  PyObject * obj0 = 0 ;
197135 
197136  if (!PyArg_ParseTuple(args,(char *)"O:delete_MuscleBase",&obj0)) SWIG_fail;
197137  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, SWIG_POINTER_DISOWN | 0 );
197138  if (!SWIG_IsOK(res1)) {
197139  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MuscleBase" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
197140  }
197141  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
197142  {
197143  try {
197144  delete arg1;
197145  }
197146  catch(CStdErrorInfo oError)
197147  {
197148  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197149  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197150  PyErr_SetString(PyExc_IndexError, strError.c_str());
197151  SWIG_fail;
197152  }
197153  catch(...)
197154  {
197155  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197156  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197157  SWIG_fail;
197158  }
197159  }
197160  resultobj = SWIG_Py_Void();
197161  return resultobj;
197162 fail:
197163  return NULL;
197164 }
197165 
197166 
197167 SWIGINTERN PyObject *_wrap_MuscleBase_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197168  PyObject *resultobj = 0;
197170  void *argp1 = 0 ;
197171  int res1 = 0 ;
197172  PyObject * obj0 = 0 ;
197174 
197175  if (!PyArg_ParseTuple(args,(char *)"O:MuscleBase_CastToDerived",&obj0)) SWIG_fail;
197176  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
197177  if (!SWIG_IsOK(res1)) {
197178  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
197179  }
197180  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
197181  {
197182  try {
197183  result = (AnimatSim::Environment::Bodies::MuscleBase *)AnimatSim::Environment::Bodies::MuscleBase::CastToDerived(arg1);
197184  }
197185  catch(CStdErrorInfo oError)
197186  {
197187  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197188  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197189  PyErr_SetString(PyExc_IndexError, strError.c_str());
197190  SWIG_fail;
197191  }
197192  catch(...)
197193  {
197194  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197195  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197196  SWIG_fail;
197197  }
197198  }
197199  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
197200  return resultobj;
197201 fail:
197202  return NULL;
197203 }
197204 
197205 
197206 SWIGINTERN PyObject *_wrap_MuscleBase_Tension__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197207  PyObject *resultobj = 0;
197209  void *argp1 = 0 ;
197210  int res1 = 0 ;
197211  PyObject * obj0 = 0 ;
197212  float result;
197213 
197214  if (!PyArg_ParseTuple(args,(char *)"O:MuscleBase_Tension",&obj0)) SWIG_fail;
197215  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
197216  if (!SWIG_IsOK(res1)) {
197217  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_Tension" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
197218  }
197219  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
197220  {
197221  try {
197222  result = (float)(arg1)->Tension();
197223  }
197224  catch(CStdErrorInfo oError)
197225  {
197226  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197227  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197228  PyErr_SetString(PyExc_IndexError, strError.c_str());
197229  SWIG_fail;
197230  }
197231  catch(...)
197232  {
197233  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197234  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197235  SWIG_fail;
197236  }
197237  }
197238  resultobj = SWIG_From_float(static_cast< float >(result));
197239  return resultobj;
197240 fail:
197241  return NULL;
197242 }
197243 
197244 
197245 SWIGINTERN PyObject *_wrap_MuscleBase_Tension__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197246  PyObject *resultobj = 0;
197248  float arg2 ;
197249  void *argp1 = 0 ;
197250  int res1 = 0 ;
197251  float val2 ;
197252  int ecode2 = 0 ;
197253  PyObject * obj0 = 0 ;
197254  PyObject * obj1 = 0 ;
197255 
197256  if (!PyArg_ParseTuple(args,(char *)"OO:MuscleBase_Tension",&obj0,&obj1)) SWIG_fail;
197257  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
197258  if (!SWIG_IsOK(res1)) {
197259  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_Tension" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
197260  }
197261  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
197262  ecode2 = SWIG_AsVal_float(obj1, &val2);
197263  if (!SWIG_IsOK(ecode2)) {
197264  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MuscleBase_Tension" "', argument " "2"" of type '" "float""'");
197265  }
197266  arg2 = static_cast< float >(val2);
197267  {
197268  try {
197269  (arg1)->Tension(arg2);
197270  }
197271  catch(CStdErrorInfo oError)
197272  {
197273  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197274  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197275  PyErr_SetString(PyExc_IndexError, strError.c_str());
197276  SWIG_fail;
197277  }
197278  catch(...)
197279  {
197280  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197281  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197282  SWIG_fail;
197283  }
197284  }
197285  resultobj = SWIG_Py_Void();
197286  return resultobj;
197287 fail:
197288  return NULL;
197289 }
197290 
197291 
197292 SWIGINTERN PyObject *_wrap_MuscleBase_Tension(PyObject *self, PyObject *args) {
197293  int argc;
197294  PyObject *argv[3];
197295  int ii;
197296 
197297  if (!PyTuple_Check(args)) SWIG_fail;
197298  argc = args ? (int)PyObject_Length(args) : 0;
197299  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
197300  argv[ii] = PyTuple_GET_ITEM(args,ii);
197301  }
197302  if (argc == 1) {
197303  int _v;
197304  void *vptr = 0;
197305  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0);
197306  _v = SWIG_CheckState(res);
197307  if (_v) {
197308  return _wrap_MuscleBase_Tension__SWIG_0(self, args);
197309  }
197310  }
197311  if (argc == 2) {
197312  int _v;
197313  void *vptr = 0;
197314  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0);
197315  _v = SWIG_CheckState(res);
197316  if (_v) {
197317  {
197318  int res = SWIG_AsVal_float(argv[1], NULL);
197319  _v = SWIG_CheckState(res);
197320  }
197321  if (_v) {
197322  return _wrap_MuscleBase_Tension__SWIG_1(self, args);
197323  }
197324  }
197325  }
197326 
197327 fail:
197328  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MuscleBase_Tension'.\n"
197329  " Possible C/C++ prototypes are:\n"
197330  " AnimatSim::Environment::Bodies::MuscleBase::Tension()\n"
197331  " AnimatSim::Environment::Bodies::MuscleBase::Tension(float)\n");
197332  return 0;
197333 }
197334 
197335 
197336 SWIGINTERN PyObject *_wrap_MuscleBase_MaxTension__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197337  PyObject *resultobj = 0;
197339  void *argp1 = 0 ;
197340  int res1 = 0 ;
197341  PyObject * obj0 = 0 ;
197342  float result;
197343 
197344  if (!PyArg_ParseTuple(args,(char *)"O:MuscleBase_MaxTension",&obj0)) SWIG_fail;
197345  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
197346  if (!SWIG_IsOK(res1)) {
197347  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_MaxTension" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
197348  }
197349  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
197350  {
197351  try {
197352  result = (float)(arg1)->MaxTension();
197353  }
197354  catch(CStdErrorInfo oError)
197355  {
197356  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197357  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197358  PyErr_SetString(PyExc_IndexError, strError.c_str());
197359  SWIG_fail;
197360  }
197361  catch(...)
197362  {
197363  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197364  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197365  SWIG_fail;
197366  }
197367  }
197368  resultobj = SWIG_From_float(static_cast< float >(result));
197369  return resultobj;
197370 fail:
197371  return NULL;
197372 }
197373 
197374 
197375 SWIGINTERN PyObject *_wrap_MuscleBase_MaxTension__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197376  PyObject *resultobj = 0;
197378  float arg2 ;
197379  void *argp1 = 0 ;
197380  int res1 = 0 ;
197381  float val2 ;
197382  int ecode2 = 0 ;
197383  PyObject * obj0 = 0 ;
197384  PyObject * obj1 = 0 ;
197385 
197386  if (!PyArg_ParseTuple(args,(char *)"OO:MuscleBase_MaxTension",&obj0,&obj1)) SWIG_fail;
197387  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
197388  if (!SWIG_IsOK(res1)) {
197389  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_MaxTension" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
197390  }
197391  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
197392  ecode2 = SWIG_AsVal_float(obj1, &val2);
197393  if (!SWIG_IsOK(ecode2)) {
197394  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MuscleBase_MaxTension" "', argument " "2"" of type '" "float""'");
197395  }
197396  arg2 = static_cast< float >(val2);
197397  {
197398  try {
197399  (arg1)->MaxTension(arg2);
197400  }
197401  catch(CStdErrorInfo oError)
197402  {
197403  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197404  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197405  PyErr_SetString(PyExc_IndexError, strError.c_str());
197406  SWIG_fail;
197407  }
197408  catch(...)
197409  {
197410  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197411  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197412  SWIG_fail;
197413  }
197414  }
197415  resultobj = SWIG_Py_Void();
197416  return resultobj;
197417 fail:
197418  return NULL;
197419 }
197420 
197421 
197422 SWIGINTERN PyObject *_wrap_MuscleBase_MaxTension(PyObject *self, PyObject *args) {
197423  int argc;
197424  PyObject *argv[3];
197425  int ii;
197426 
197427  if (!PyTuple_Check(args)) SWIG_fail;
197428  argc = args ? (int)PyObject_Length(args) : 0;
197429  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
197430  argv[ii] = PyTuple_GET_ITEM(args,ii);
197431  }
197432  if (argc == 1) {
197433  int _v;
197434  void *vptr = 0;
197435  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0);
197436  _v = SWIG_CheckState(res);
197437  if (_v) {
197438  return _wrap_MuscleBase_MaxTension__SWIG_0(self, args);
197439  }
197440  }
197441  if (argc == 2) {
197442  int _v;
197443  void *vptr = 0;
197444  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0);
197445  _v = SWIG_CheckState(res);
197446  if (_v) {
197447  {
197448  int res = SWIG_AsVal_float(argv[1], NULL);
197449  _v = SWIG_CheckState(res);
197450  }
197451  if (_v) {
197452  return _wrap_MuscleBase_MaxTension__SWIG_1(self, args);
197453  }
197454  }
197455  }
197456 
197457 fail:
197458  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MuscleBase_MaxTension'.\n"
197459  " Possible C/C++ prototypes are:\n"
197460  " AnimatSim::Environment::Bodies::MuscleBase::MaxTension()\n"
197461  " AnimatSim::Environment::Bodies::MuscleBase::MaxTension(float)\n");
197462  return 0;
197463 }
197464 
197465 
197466 SWIGINTERN PyObject *_wrap_MuscleBase_Vm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197467  PyObject *resultobj = 0;
197469  void *argp1 = 0 ;
197470  int res1 = 0 ;
197471  PyObject * obj0 = 0 ;
197472  float result;
197473 
197474  if (!PyArg_ParseTuple(args,(char *)"O:MuscleBase_Vm",&obj0)) SWIG_fail;
197475  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
197476  if (!SWIG_IsOK(res1)) {
197477  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_Vm" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
197478  }
197479  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
197480  {
197481  try {
197482  result = (float)(arg1)->Vm();
197483  }
197484  catch(CStdErrorInfo oError)
197485  {
197486  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197487  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197488  PyErr_SetString(PyExc_IndexError, strError.c_str());
197489  SWIG_fail;
197490  }
197491  catch(...)
197492  {
197493  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197494  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197495  SWIG_fail;
197496  }
197497  }
197498  resultobj = SWIG_From_float(static_cast< float >(result));
197499  return resultobj;
197500 fail:
197501  return NULL;
197502 }
197503 
197504 
197505 SWIGINTERN PyObject *_wrap_MuscleBase_Tdot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197506  PyObject *resultobj = 0;
197508  void *argp1 = 0 ;
197509  int res1 = 0 ;
197510  PyObject * obj0 = 0 ;
197511  float result;
197512 
197513  if (!PyArg_ParseTuple(args,(char *)"O:MuscleBase_Tdot",&obj0)) SWIG_fail;
197514  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
197515  if (!SWIG_IsOK(res1)) {
197516  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_Tdot" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
197517  }
197518  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
197519  {
197520  try {
197521  result = (float)(arg1)->Tdot();
197522  }
197523  catch(CStdErrorInfo oError)
197524  {
197525  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197526  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197527  PyErr_SetString(PyExc_IndexError, strError.c_str());
197528  SWIG_fail;
197529  }
197530  catch(...)
197531  {
197532  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197533  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197534  SWIG_fail;
197535  }
197536  }
197537  resultobj = SWIG_From_float(static_cast< float >(result));
197538  return resultobj;
197539 fail:
197540  return NULL;
197541 }
197542 
197543 
197544 SWIGINTERN PyObject *_wrap_MuscleBase_PrevTension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197545  PyObject *resultobj = 0;
197547  void *argp1 = 0 ;
197548  int res1 = 0 ;
197549  PyObject * obj0 = 0 ;
197550  float result;
197551 
197552  if (!PyArg_ParseTuple(args,(char *)"O:MuscleBase_PrevTension",&obj0)) SWIG_fail;
197553  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
197554  if (!SWIG_IsOK(res1)) {
197555  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_PrevTension" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
197556  }
197557  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
197558  {
197559  try {
197560  result = (float)(arg1)->PrevTension();
197561  }
197562  catch(CStdErrorInfo oError)
197563  {
197564  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197565  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197566  PyErr_SetString(PyExc_IndexError, strError.c_str());
197567  SWIG_fail;
197568  }
197569  catch(...)
197570  {
197571  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197572  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197573  SWIG_fail;
197574  }
197575  }
197576  resultobj = SWIG_From_float(static_cast< float >(result));
197577  return resultobj;
197578 fail:
197579  return NULL;
197580 }
197581 
197582 
197583 SWIGINTERN PyObject *_wrap_MuscleBase_Enabled__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197584  PyObject *resultobj = 0;
197586  void *argp1 = 0 ;
197587  int res1 = 0 ;
197588  PyObject * obj0 = 0 ;
197589  bool result;
197590 
197591  if (!PyArg_ParseTuple(args,(char *)"O:MuscleBase_Enabled",&obj0)) SWIG_fail;
197592  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
197593  if (!SWIG_IsOK(res1)) {
197594  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_Enabled" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
197595  }
197596  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
197597  {
197598  try {
197599  result = (bool)(arg1)->Enabled();
197600  }
197601  catch(CStdErrorInfo oError)
197602  {
197603  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197604  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197605  PyErr_SetString(PyExc_IndexError, strError.c_str());
197606  SWIG_fail;
197607  }
197608  catch(...)
197609  {
197610  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197611  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197612  SWIG_fail;
197613  }
197614  }
197615  resultobj = SWIG_From_bool(static_cast< bool >(result));
197616  return resultobj;
197617 fail:
197618  return NULL;
197619 }
197620 
197621 
197622 SWIGINTERN PyObject *_wrap_MuscleBase_Enabled__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197623  PyObject *resultobj = 0;
197625  bool arg2 ;
197626  void *argp1 = 0 ;
197627  int res1 = 0 ;
197628  bool val2 ;
197629  int ecode2 = 0 ;
197630  PyObject * obj0 = 0 ;
197631  PyObject * obj1 = 0 ;
197632 
197633  if (!PyArg_ParseTuple(args,(char *)"OO:MuscleBase_Enabled",&obj0,&obj1)) SWIG_fail;
197634  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
197635  if (!SWIG_IsOK(res1)) {
197636  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_Enabled" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
197637  }
197638  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
197639  ecode2 = SWIG_AsVal_bool(obj1, &val2);
197640  if (!SWIG_IsOK(ecode2)) {
197641  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MuscleBase_Enabled" "', argument " "2"" of type '" "bool""'");
197642  }
197643  arg2 = static_cast< bool >(val2);
197644  {
197645  try {
197646  (arg1)->Enabled(arg2);
197647  }
197648  catch(CStdErrorInfo oError)
197649  {
197650  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197651  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197652  PyErr_SetString(PyExc_IndexError, strError.c_str());
197653  SWIG_fail;
197654  }
197655  catch(...)
197656  {
197657  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197658  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197659  SWIG_fail;
197660  }
197661  }
197662  resultobj = SWIG_Py_Void();
197663  return resultobj;
197664 fail:
197665  return NULL;
197666 }
197667 
197668 
197669 SWIGINTERN PyObject *_wrap_MuscleBase_Enabled(PyObject *self, PyObject *args) {
197670  int argc;
197671  PyObject *argv[3];
197672  int ii;
197673 
197674  if (!PyTuple_Check(args)) SWIG_fail;
197675  argc = args ? (int)PyObject_Length(args) : 0;
197676  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
197677  argv[ii] = PyTuple_GET_ITEM(args,ii);
197678  }
197679  if (argc == 1) {
197680  int _v;
197681  void *vptr = 0;
197682  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0);
197683  _v = SWIG_CheckState(res);
197684  if (_v) {
197685  return _wrap_MuscleBase_Enabled__SWIG_0(self, args);
197686  }
197687  }
197688  if (argc == 2) {
197689  int _v;
197690  void *vptr = 0;
197691  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0);
197692  _v = SWIG_CheckState(res);
197693  if (_v) {
197694  {
197695  int res = SWIG_AsVal_bool(argv[1], NULL);
197696  _v = SWIG_CheckState(res);
197697  }
197698  if (_v) {
197699  return _wrap_MuscleBase_Enabled__SWIG_1(self, args);
197700  }
197701  }
197702  }
197703 
197704 fail:
197705  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MuscleBase_Enabled'.\n"
197706  " Possible C/C++ prototypes are:\n"
197707  " AnimatSim::Environment::Bodies::MuscleBase::Enabled()\n"
197708  " AnimatSim::Environment::Bodies::MuscleBase::Enabled(bool)\n");
197709  return 0;
197710 }
197711 
197712 
197713 SWIGINTERN PyObject *_wrap_MuscleBase_StimTension__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197714  PyObject *resultobj = 0;
197716  void *argp1 = 0 ;
197717  int res1 = 0 ;
197718  PyObject * obj0 = 0 ;
197719  SigmoidGain *result = 0 ;
197720 
197721  if (!PyArg_ParseTuple(args,(char *)"O:MuscleBase_StimTension",&obj0)) SWIG_fail;
197722  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
197723  if (!SWIG_IsOK(res1)) {
197724  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_StimTension" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
197725  }
197726  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
197727  {
197728  try {
197729  result = (SigmoidGain *)(arg1)->StimTension();
197730  }
197731  catch(CStdErrorInfo oError)
197732  {
197733  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197734  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197735  PyErr_SetString(PyExc_IndexError, strError.c_str());
197736  SWIG_fail;
197737  }
197738  catch(...)
197739  {
197740  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197741  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197742  SWIG_fail;
197743  }
197744  }
197745  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SigmoidGain, 0 | 0 );
197746  return resultobj;
197747 fail:
197748  return NULL;
197749 }
197750 
197751 
197752 SWIGINTERN PyObject *_wrap_MuscleBase_StimTension__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197753  PyObject *resultobj = 0;
197755  std::string arg2 ;
197756  void *argp1 = 0 ;
197757  int res1 = 0 ;
197758  PyObject * obj0 = 0 ;
197759  PyObject * obj1 = 0 ;
197760 
197761  if (!PyArg_ParseTuple(args,(char *)"OO:MuscleBase_StimTension",&obj0,&obj1)) SWIG_fail;
197762  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
197763  if (!SWIG_IsOK(res1)) {
197764  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_StimTension" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
197765  }
197766  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
197767  {
197768  std::string *ptr = (std::string *)0;
197769  int res = SWIG_AsPtr_std_string(obj1, &ptr);
197770  if (!SWIG_IsOK(res) || !ptr) {
197771  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MuscleBase_StimTension" "', argument " "2"" of type '" "std::string""'");
197772  }
197773  arg2 = *ptr;
197774  if (SWIG_IsNewObj(res)) delete ptr;
197775  }
197776  {
197777  try {
197778  (arg1)->StimTension(arg2);
197779  }
197780  catch(CStdErrorInfo oError)
197781  {
197782  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197783  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197784  PyErr_SetString(PyExc_IndexError, strError.c_str());
197785  SWIG_fail;
197786  }
197787  catch(...)
197788  {
197789  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197790  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197791  SWIG_fail;
197792  }
197793  }
197794  resultobj = SWIG_Py_Void();
197795  return resultobj;
197796 fail:
197797  return NULL;
197798 }
197799 
197800 
197801 SWIGINTERN PyObject *_wrap_MuscleBase_StimTension(PyObject *self, PyObject *args) {
197802  int argc;
197803  PyObject *argv[3];
197804  int ii;
197805 
197806  if (!PyTuple_Check(args)) SWIG_fail;
197807  argc = args ? (int)PyObject_Length(args) : 0;
197808  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
197809  argv[ii] = PyTuple_GET_ITEM(args,ii);
197810  }
197811  if (argc == 1) {
197812  int _v;
197813  void *vptr = 0;
197814  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0);
197815  _v = SWIG_CheckState(res);
197816  if (_v) {
197817  return _wrap_MuscleBase_StimTension__SWIG_0(self, args);
197818  }
197819  }
197820  if (argc == 2) {
197821  int _v;
197822  void *vptr = 0;
197823  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0);
197824  _v = SWIG_CheckState(res);
197825  if (_v) {
197826  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
197827  _v = SWIG_CheckState(res);
197828  if (_v) {
197829  return _wrap_MuscleBase_StimTension__SWIG_1(self, args);
197830  }
197831  }
197832  }
197833 
197834 fail:
197835  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MuscleBase_StimTension'.\n"
197836  " Possible C/C++ prototypes are:\n"
197837  " AnimatSim::Environment::Bodies::MuscleBase::StimTension()\n"
197838  " AnimatSim::Environment::Bodies::MuscleBase::StimTension(std::string)\n");
197839  return 0;
197840 }
197841 
197842 
197843 SWIGINTERN PyObject *_wrap_MuscleBase_LengthTension__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197844  PyObject *resultobj = 0;
197846  void *argp1 = 0 ;
197847  int res1 = 0 ;
197848  PyObject * obj0 = 0 ;
197849  LengthTensionGain *result = 0 ;
197850 
197851  if (!PyArg_ParseTuple(args,(char *)"O:MuscleBase_LengthTension",&obj0)) SWIG_fail;
197852  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
197853  if (!SWIG_IsOK(res1)) {
197854  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_LengthTension" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
197855  }
197856  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
197857  {
197858  try {
197859  result = (LengthTensionGain *)(arg1)->LengthTension();
197860  }
197861  catch(CStdErrorInfo oError)
197862  {
197863  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197864  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197865  PyErr_SetString(PyExc_IndexError, strError.c_str());
197866  SWIG_fail;
197867  }
197868  catch(...)
197869  {
197870  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197871  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197872  SWIG_fail;
197873  }
197874  }
197875  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_LengthTensionGain, 0 | 0 );
197876  return resultobj;
197877 fail:
197878  return NULL;
197879 }
197880 
197881 
197882 SWIGINTERN PyObject *_wrap_MuscleBase_LengthTension__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197883  PyObject *resultobj = 0;
197885  std::string arg2 ;
197886  void *argp1 = 0 ;
197887  int res1 = 0 ;
197888  PyObject * obj0 = 0 ;
197889  PyObject * obj1 = 0 ;
197890 
197891  if (!PyArg_ParseTuple(args,(char *)"OO:MuscleBase_LengthTension",&obj0,&obj1)) SWIG_fail;
197892  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
197893  if (!SWIG_IsOK(res1)) {
197894  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_LengthTension" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
197895  }
197896  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
197897  {
197898  std::string *ptr = (std::string *)0;
197899  int res = SWIG_AsPtr_std_string(obj1, &ptr);
197900  if (!SWIG_IsOK(res) || !ptr) {
197901  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MuscleBase_LengthTension" "', argument " "2"" of type '" "std::string""'");
197902  }
197903  arg2 = *ptr;
197904  if (SWIG_IsNewObj(res)) delete ptr;
197905  }
197906  {
197907  try {
197908  (arg1)->LengthTension(arg2);
197909  }
197910  catch(CStdErrorInfo oError)
197911  {
197912  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197913  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
197914  PyErr_SetString(PyExc_IndexError, strError.c_str());
197915  SWIG_fail;
197916  }
197917  catch(...)
197918  {
197919  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
197920  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
197921  SWIG_fail;
197922  }
197923  }
197924  resultobj = SWIG_Py_Void();
197925  return resultobj;
197926 fail:
197927  return NULL;
197928 }
197929 
197930 
197931 SWIGINTERN PyObject *_wrap_MuscleBase_LengthTension(PyObject *self, PyObject *args) {
197932  int argc;
197933  PyObject *argv[3];
197934  int ii;
197935 
197936  if (!PyTuple_Check(args)) SWIG_fail;
197937  argc = args ? (int)PyObject_Length(args) : 0;
197938  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
197939  argv[ii] = PyTuple_GET_ITEM(args,ii);
197940  }
197941  if (argc == 1) {
197942  int _v;
197943  void *vptr = 0;
197944  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0);
197945  _v = SWIG_CheckState(res);
197946  if (_v) {
197947  return _wrap_MuscleBase_LengthTension__SWIG_0(self, args);
197948  }
197949  }
197950  if (argc == 2) {
197951  int _v;
197952  void *vptr = 0;
197953  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0);
197954  _v = SWIG_CheckState(res);
197955  if (_v) {
197956  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
197957  _v = SWIG_CheckState(res);
197958  if (_v) {
197959  return _wrap_MuscleBase_LengthTension__SWIG_1(self, args);
197960  }
197961  }
197962  }
197963 
197964 fail:
197965  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MuscleBase_LengthTension'.\n"
197966  " Possible C/C++ prototypes are:\n"
197967  " AnimatSim::Environment::Bodies::MuscleBase::LengthTension()\n"
197968  " AnimatSim::Environment::Bodies::MuscleBase::LengthTension(std::string)\n");
197969  return 0;
197970 }
197971 
197972 
197973 SWIGINTERN PyObject *_wrap_MuscleBase_CalculateInverseDynamics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
197974  PyObject *resultobj = 0;
197976  float arg2 ;
197977  float arg3 ;
197978  float arg4 ;
197979  float *arg5 = 0 ;
197980  float *arg6 = 0 ;
197981  void *argp1 = 0 ;
197982  int res1 = 0 ;
197983  float val2 ;
197984  int ecode2 = 0 ;
197985  float val3 ;
197986  int ecode3 = 0 ;
197987  float val4 ;
197988  int ecode4 = 0 ;
197989  void *argp5 = 0 ;
197990  int res5 = 0 ;
197991  void *argp6 = 0 ;
197992  int res6 = 0 ;
197993  PyObject * obj0 = 0 ;
197994  PyObject * obj1 = 0 ;
197995  PyObject * obj2 = 0 ;
197996  PyObject * obj3 = 0 ;
197997  PyObject * obj4 = 0 ;
197998  PyObject * obj5 = 0 ;
197999 
198000  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:MuscleBase_CalculateInverseDynamics",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
198001  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
198002  if (!SWIG_IsOK(res1)) {
198003  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_CalculateInverseDynamics" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
198004  }
198005  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
198006  ecode2 = SWIG_AsVal_float(obj1, &val2);
198007  if (!SWIG_IsOK(ecode2)) {
198008  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MuscleBase_CalculateInverseDynamics" "', argument " "2"" of type '" "float""'");
198009  }
198010  arg2 = static_cast< float >(val2);
198011  ecode3 = SWIG_AsVal_float(obj2, &val3);
198012  if (!SWIG_IsOK(ecode3)) {
198013  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MuscleBase_CalculateInverseDynamics" "', argument " "3"" of type '" "float""'");
198014  }
198015  arg3 = static_cast< float >(val3);
198016  ecode4 = SWIG_AsVal_float(obj3, &val4);
198017  if (!SWIG_IsOK(ecode4)) {
198018  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MuscleBase_CalculateInverseDynamics" "', argument " "4"" of type '" "float""'");
198019  }
198020  arg4 = static_cast< float >(val4);
198021  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_float, 0 );
198022  if (!SWIG_IsOK(res5)) {
198023  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "MuscleBase_CalculateInverseDynamics" "', argument " "5"" of type '" "float &""'");
198024  }
198025  if (!argp5) {
198026  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MuscleBase_CalculateInverseDynamics" "', argument " "5"" of type '" "float &""'");
198027  }
198028  arg5 = reinterpret_cast< float * >(argp5);
198029  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_float, 0 );
198030  if (!SWIG_IsOK(res6)) {
198031  SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "MuscleBase_CalculateInverseDynamics" "', argument " "6"" of type '" "float &""'");
198032  }
198033  if (!argp6) {
198034  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MuscleBase_CalculateInverseDynamics" "', argument " "6"" of type '" "float &""'");
198035  }
198036  arg6 = reinterpret_cast< float * >(argp6);
198037  {
198038  try {
198039  (arg1)->CalculateInverseDynamics(arg2,arg3,arg4,*arg5,*arg6);
198040  }
198041  catch(CStdErrorInfo oError)
198042  {
198043  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198044  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198045  PyErr_SetString(PyExc_IndexError, strError.c_str());
198046  SWIG_fail;
198047  }
198048  catch(...)
198049  {
198050  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198051  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198052  SWIG_fail;
198053  }
198054  }
198055  resultobj = SWIG_Py_Void();
198056  return resultobj;
198057 fail:
198058  return NULL;
198059 }
198060 
198061 
198062 SWIGINTERN PyObject *_wrap_MuscleBase_AddExternalNodeInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198063  PyObject *resultobj = 0;
198065  int arg2 ;
198066  float arg3 ;
198067  void *argp1 = 0 ;
198068  int res1 = 0 ;
198069  int val2 ;
198070  int ecode2 = 0 ;
198071  float val3 ;
198072  int ecode3 = 0 ;
198073  PyObject * obj0 = 0 ;
198074  PyObject * obj1 = 0 ;
198075  PyObject * obj2 = 0 ;
198076 
198077  if (!PyArg_ParseTuple(args,(char *)"OOO:MuscleBase_AddExternalNodeInput",&obj0,&obj1,&obj2)) SWIG_fail;
198078  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
198079  if (!SWIG_IsOK(res1)) {
198080  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_AddExternalNodeInput" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
198081  }
198082  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
198083  ecode2 = SWIG_AsVal_int(obj1, &val2);
198084  if (!SWIG_IsOK(ecode2)) {
198085  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MuscleBase_AddExternalNodeInput" "', argument " "2"" of type '" "int""'");
198086  }
198087  arg2 = static_cast< int >(val2);
198088  ecode3 = SWIG_AsVal_float(obj2, &val3);
198089  if (!SWIG_IsOK(ecode3)) {
198090  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MuscleBase_AddExternalNodeInput" "', argument " "3"" of type '" "float""'");
198091  }
198092  arg3 = static_cast< float >(val3);
198093  {
198094  try {
198095  (arg1)->AddExternalNodeInput(arg2,arg3);
198096  }
198097  catch(CStdErrorInfo oError)
198098  {
198099  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198100  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198101  PyErr_SetString(PyExc_IndexError, strError.c_str());
198102  SWIG_fail;
198103  }
198104  catch(...)
198105  {
198106  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198107  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198108  SWIG_fail;
198109  }
198110  }
198111  resultobj = SWIG_Py_Void();
198112  return resultobj;
198113 fail:
198114  return NULL;
198115 }
198116 
198117 
198118 SWIGINTERN PyObject *_wrap_MuscleBase_SetSystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198119  PyObject *resultobj = 0;
198121  Simulator *arg2 = (Simulator *) 0 ;
198122  Structure *arg3 = (Structure *) 0 ;
198123  NeuralModule *arg4 = (NeuralModule *) 0 ;
198124  AnimatSim::Node *arg5 = (AnimatSim::Node *) 0 ;
198125  bool arg6 ;
198126  void *argp1 = 0 ;
198127  int res1 = 0 ;
198128  void *argp2 = 0 ;
198129  int res2 = 0 ;
198130  void *argp3 = 0 ;
198131  int res3 = 0 ;
198132  void *argp4 = 0 ;
198133  int res4 = 0 ;
198134  void *argp5 = 0 ;
198135  int res5 = 0 ;
198136  bool val6 ;
198137  int ecode6 = 0 ;
198138  PyObject * obj0 = 0 ;
198139  PyObject * obj1 = 0 ;
198140  PyObject * obj2 = 0 ;
198141  PyObject * obj3 = 0 ;
198142  PyObject * obj4 = 0 ;
198143  PyObject * obj5 = 0 ;
198144 
198145  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:MuscleBase_SetSystemPointers",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
198146  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
198147  if (!SWIG_IsOK(res1)) {
198148  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_SetSystemPointers" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
198149  }
198150  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
198151  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Simulator, 0 | 0 );
198152  if (!SWIG_IsOK(res2)) {
198153  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MuscleBase_SetSystemPointers" "', argument " "2"" of type '" "Simulator *""'");
198154  }
198155  arg2 = reinterpret_cast< Simulator * >(argp2);
198156  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Structure, 0 | 0 );
198157  if (!SWIG_IsOK(res3)) {
198158  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MuscleBase_SetSystemPointers" "', argument " "3"" of type '" "Structure *""'");
198159  }
198160  arg3 = reinterpret_cast< Structure * >(argp3);
198161  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_NeuralModule, 0 | 0 );
198162  if (!SWIG_IsOK(res4)) {
198163  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "MuscleBase_SetSystemPointers" "', argument " "4"" of type '" "NeuralModule *""'");
198164  }
198165  arg4 = reinterpret_cast< NeuralModule * >(argp4);
198166  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
198167  if (!SWIG_IsOK(res5)) {
198168  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "MuscleBase_SetSystemPointers" "', argument " "5"" of type '" "AnimatSim::Node *""'");
198169  }
198170  arg5 = reinterpret_cast< AnimatSim::Node * >(argp5);
198171  ecode6 = SWIG_AsVal_bool(obj5, &val6);
198172  if (!SWIG_IsOK(ecode6)) {
198173  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "MuscleBase_SetSystemPointers" "', argument " "6"" of type '" "bool""'");
198174  }
198175  arg6 = static_cast< bool >(val6);
198176  {
198177  try {
198178  (arg1)->SetSystemPointers(arg2,arg3,arg4,arg5,arg6);
198179  }
198180  catch(CStdErrorInfo oError)
198181  {
198182  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198183  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198184  PyErr_SetString(PyExc_IndexError, strError.c_str());
198185  SWIG_fail;
198186  }
198187  catch(...)
198188  {
198189  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198190  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198191  SWIG_fail;
198192  }
198193  }
198194  resultobj = SWIG_Py_Void();
198195  return resultobj;
198196 fail:
198197  return NULL;
198198 }
198199 
198200 
198201 SWIGINTERN PyObject *_wrap_MuscleBase_VerifySystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198202  PyObject *resultobj = 0;
198204  void *argp1 = 0 ;
198205  int res1 = 0 ;
198206  PyObject * obj0 = 0 ;
198207 
198208  if (!PyArg_ParseTuple(args,(char *)"O:MuscleBase_VerifySystemPointers",&obj0)) SWIG_fail;
198209  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
198210  if (!SWIG_IsOK(res1)) {
198211  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_VerifySystemPointers" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
198212  }
198213  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
198214  {
198215  try {
198216  (arg1)->VerifySystemPointers();
198217  }
198218  catch(CStdErrorInfo oError)
198219  {
198220  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198221  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198222  PyErr_SetString(PyExc_IndexError, strError.c_str());
198223  SWIG_fail;
198224  }
198225  catch(...)
198226  {
198227  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198228  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198229  SWIG_fail;
198230  }
198231  }
198232  resultobj = SWIG_Py_Void();
198233  return resultobj;
198234 fail:
198235  return NULL;
198236 }
198237 
198238 
198239 SWIGINTERN PyObject *_wrap_MuscleBase_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198240  PyObject *resultobj = 0;
198242  void *argp1 = 0 ;
198243  int res1 = 0 ;
198244  PyObject * obj0 = 0 ;
198245 
198246  if (!PyArg_ParseTuple(args,(char *)"O:MuscleBase_ResetSimulation",&obj0)) SWIG_fail;
198247  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
198248  if (!SWIG_IsOK(res1)) {
198249  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
198250  }
198251  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
198252  {
198253  try {
198254  (arg1)->ResetSimulation();
198255  }
198256  catch(CStdErrorInfo oError)
198257  {
198258  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198259  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198260  PyErr_SetString(PyExc_IndexError, strError.c_str());
198261  SWIG_fail;
198262  }
198263  catch(...)
198264  {
198265  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198266  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198267  SWIG_fail;
198268  }
198269  }
198270  resultobj = SWIG_Py_Void();
198271  return resultobj;
198272 fail:
198273  return NULL;
198274 }
198275 
198276 
198277 SWIGINTERN PyObject *_wrap_MuscleBase_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198278  PyObject *resultobj = 0;
198280  std::string *arg2 = 0 ;
198281  void *argp1 = 0 ;
198282  int res1 = 0 ;
198283  int res2 = SWIG_OLDOBJ ;
198284  PyObject * obj0 = 0 ;
198285  PyObject * obj1 = 0 ;
198286  float *result = 0 ;
198287 
198288  if (!PyArg_ParseTuple(args,(char *)"OO:MuscleBase_GetDataPointer",&obj0,&obj1)) SWIG_fail;
198289  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
198290  if (!SWIG_IsOK(res1)) {
198291  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
198292  }
198293  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
198294  {
198295  std::string *ptr = (std::string *)0;
198296  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
198297  if (!SWIG_IsOK(res2)) {
198298  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MuscleBase_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
198299  }
198300  if (!ptr) {
198301  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MuscleBase_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
198302  }
198303  arg2 = ptr;
198304  }
198305  {
198306  try {
198307  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
198308  }
198309  catch(CStdErrorInfo oError)
198310  {
198311  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198312  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198313  PyErr_SetString(PyExc_IndexError, strError.c_str());
198314  SWIG_fail;
198315  }
198316  catch(...)
198317  {
198318  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198319  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198320  SWIG_fail;
198321  }
198322  }
198323  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
198324  if (SWIG_IsNewObj(res2)) delete arg2;
198325  return resultobj;
198326 fail:
198327  if (SWIG_IsNewObj(res2)) delete arg2;
198328  return NULL;
198329 }
198330 
198331 
198332 SWIGINTERN PyObject *_wrap_MuscleBase_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198333  PyObject *resultobj = 0;
198335  std::string *arg2 = 0 ;
198336  std::string *arg3 = 0 ;
198337  bool arg4 ;
198338  void *argp1 = 0 ;
198339  int res1 = 0 ;
198340  int res2 = SWIG_OLDOBJ ;
198341  int res3 = SWIG_OLDOBJ ;
198342  bool val4 ;
198343  int ecode4 = 0 ;
198344  PyObject * obj0 = 0 ;
198345  PyObject * obj1 = 0 ;
198346  PyObject * obj2 = 0 ;
198347  PyObject * obj3 = 0 ;
198348  bool result;
198349 
198350  if (!PyArg_ParseTuple(args,(char *)"OOOO:MuscleBase_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
198351  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
198352  if (!SWIG_IsOK(res1)) {
198353  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
198354  }
198355  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
198356  {
198357  std::string *ptr = (std::string *)0;
198358  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
198359  if (!SWIG_IsOK(res2)) {
198360  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MuscleBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
198361  }
198362  if (!ptr) {
198363  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MuscleBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
198364  }
198365  arg2 = ptr;
198366  }
198367  {
198368  std::string *ptr = (std::string *)0;
198369  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
198370  if (!SWIG_IsOK(res3)) {
198371  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MuscleBase_SetData" "', argument " "3"" of type '" "std::string const &""'");
198372  }
198373  if (!ptr) {
198374  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MuscleBase_SetData" "', argument " "3"" of type '" "std::string const &""'");
198375  }
198376  arg3 = ptr;
198377  }
198378  ecode4 = SWIG_AsVal_bool(obj3, &val4);
198379  if (!SWIG_IsOK(ecode4)) {
198380  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MuscleBase_SetData" "', argument " "4"" of type '" "bool""'");
198381  }
198382  arg4 = static_cast< bool >(val4);
198383  {
198384  try {
198385  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
198386  }
198387  catch(CStdErrorInfo oError)
198388  {
198389  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198390  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198391  PyErr_SetString(PyExc_IndexError, strError.c_str());
198392  SWIG_fail;
198393  }
198394  catch(...)
198395  {
198396  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198397  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198398  SWIG_fail;
198399  }
198400  }
198401  resultobj = SWIG_From_bool(static_cast< bool >(result));
198402  if (SWIG_IsNewObj(res2)) delete arg2;
198403  if (SWIG_IsNewObj(res3)) delete arg3;
198404  return resultobj;
198405 fail:
198406  if (SWIG_IsNewObj(res2)) delete arg2;
198407  if (SWIG_IsNewObj(res3)) delete arg3;
198408  return NULL;
198409 }
198410 
198411 
198412 SWIGINTERN PyObject *_wrap_MuscleBase_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198413  PyObject *resultobj = 0;
198415  std::string *arg2 = 0 ;
198416  std::string *arg3 = 0 ;
198417  void *argp1 = 0 ;
198418  int res1 = 0 ;
198419  int res2 = SWIG_OLDOBJ ;
198420  int res3 = SWIG_OLDOBJ ;
198421  PyObject * obj0 = 0 ;
198422  PyObject * obj1 = 0 ;
198423  PyObject * obj2 = 0 ;
198424  bool result;
198425 
198426  if (!PyArg_ParseTuple(args,(char *)"OOO:MuscleBase_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
198427  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
198428  if (!SWIG_IsOK(res1)) {
198429  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
198430  }
198431  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
198432  {
198433  std::string *ptr = (std::string *)0;
198434  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
198435  if (!SWIG_IsOK(res2)) {
198436  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MuscleBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
198437  }
198438  if (!ptr) {
198439  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MuscleBase_SetData" "', argument " "2"" of type '" "std::string const &""'");
198440  }
198441  arg2 = ptr;
198442  }
198443  {
198444  std::string *ptr = (std::string *)0;
198445  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
198446  if (!SWIG_IsOK(res3)) {
198447  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MuscleBase_SetData" "', argument " "3"" of type '" "std::string const &""'");
198448  }
198449  if (!ptr) {
198450  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MuscleBase_SetData" "', argument " "3"" of type '" "std::string const &""'");
198451  }
198452  arg3 = ptr;
198453  }
198454  {
198455  try {
198456  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
198457  }
198458  catch(CStdErrorInfo oError)
198459  {
198460  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198461  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198462  PyErr_SetString(PyExc_IndexError, strError.c_str());
198463  SWIG_fail;
198464  }
198465  catch(...)
198466  {
198467  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198468  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198469  SWIG_fail;
198470  }
198471  }
198472  resultobj = SWIG_From_bool(static_cast< bool >(result));
198473  if (SWIG_IsNewObj(res2)) delete arg2;
198474  if (SWIG_IsNewObj(res3)) delete arg3;
198475  return resultobj;
198476 fail:
198477  if (SWIG_IsNewObj(res2)) delete arg2;
198478  if (SWIG_IsNewObj(res3)) delete arg3;
198479  return NULL;
198480 }
198481 
198482 
198483 SWIGINTERN PyObject *_wrap_MuscleBase_SetData(PyObject *self, PyObject *args) {
198484  int argc;
198485  PyObject *argv[5];
198486  int ii;
198487 
198488  if (!PyTuple_Check(args)) SWIG_fail;
198489  argc = args ? (int)PyObject_Length(args) : 0;
198490  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
198491  argv[ii] = PyTuple_GET_ITEM(args,ii);
198492  }
198493  if (argc == 3) {
198494  int _v;
198495  void *vptr = 0;
198496  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0);
198497  _v = SWIG_CheckState(res);
198498  if (_v) {
198499  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
198500  _v = SWIG_CheckState(res);
198501  if (_v) {
198502  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
198503  _v = SWIG_CheckState(res);
198504  if (_v) {
198505  return _wrap_MuscleBase_SetData__SWIG_1(self, args);
198506  }
198507  }
198508  }
198509  }
198510  if (argc == 4) {
198511  int _v;
198512  void *vptr = 0;
198513  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0);
198514  _v = SWIG_CheckState(res);
198515  if (_v) {
198516  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
198517  _v = SWIG_CheckState(res);
198518  if (_v) {
198519  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
198520  _v = SWIG_CheckState(res);
198521  if (_v) {
198522  {
198523  int res = SWIG_AsVal_bool(argv[3], NULL);
198524  _v = SWIG_CheckState(res);
198525  }
198526  if (_v) {
198527  return _wrap_MuscleBase_SetData__SWIG_0(self, args);
198528  }
198529  }
198530  }
198531  }
198532  }
198533 
198534 fail:
198535  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MuscleBase_SetData'.\n"
198536  " Possible C/C++ prototypes are:\n"
198537  " AnimatSim::Environment::Bodies::MuscleBase::SetData(std::string const &,std::string const &,bool)\n"
198538  " AnimatSim::Environment::Bodies::MuscleBase::SetData(std::string const &,std::string const &)\n");
198539  return 0;
198540 }
198541 
198542 
198543 SWIGINTERN PyObject *_wrap_MuscleBase_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198544  PyObject *resultobj = 0;
198546  CStdPtrArray< TypeProperty > *arg2 = 0 ;
198547  void *argp1 = 0 ;
198548  int res1 = 0 ;
198549  void *argp2 = 0 ;
198550  int res2 = 0 ;
198551  PyObject * obj0 = 0 ;
198552  PyObject * obj1 = 0 ;
198553 
198554  if (!PyArg_ParseTuple(args,(char *)"OO:MuscleBase_QueryProperties",&obj0,&obj1)) SWIG_fail;
198555  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
198556  if (!SWIG_IsOK(res1)) {
198557  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
198558  }
198559  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
198560  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
198561  if (!SWIG_IsOK(res2)) {
198562  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MuscleBase_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
198563  }
198564  if (!argp2) {
198565  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MuscleBase_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
198566  }
198567  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
198568  {
198569  try {
198570  (arg1)->QueryProperties(*arg2);
198571  }
198572  catch(CStdErrorInfo oError)
198573  {
198574  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198575  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198576  PyErr_SetString(PyExc_IndexError, strError.c_str());
198577  SWIG_fail;
198578  }
198579  catch(...)
198580  {
198581  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198582  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198583  SWIG_fail;
198584  }
198585  }
198586  resultobj = SWIG_Py_Void();
198587  return resultobj;
198588 fail:
198589  return NULL;
198590 }
198591 
198592 
198593 SWIGINTERN PyObject *_wrap_MuscleBase_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198594  PyObject *resultobj = 0;
198596  CStdXml *arg2 = 0 ;
198597  void *argp1 = 0 ;
198598  int res1 = 0 ;
198599  void *argp2 = 0 ;
198600  int res2 = 0 ;
198601  PyObject * obj0 = 0 ;
198602  PyObject * obj1 = 0 ;
198603 
198604  if (!PyArg_ParseTuple(args,(char *)"OO:MuscleBase_Load",&obj0,&obj1)) SWIG_fail;
198605  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, 0 | 0 );
198606  if (!SWIG_IsOK(res1)) {
198607  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MuscleBase_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::MuscleBase *""'");
198608  }
198609  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::MuscleBase * >(argp1);
198610  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
198611  if (!SWIG_IsOK(res2)) {
198612  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MuscleBase_Load" "', argument " "2"" of type '" "CStdXml &""'");
198613  }
198614  if (!argp2) {
198615  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MuscleBase_Load" "', argument " "2"" of type '" "CStdXml &""'");
198616  }
198617  arg2 = reinterpret_cast< CStdXml * >(argp2);
198618  {
198619  try {
198620  (arg1)->Load(*arg2);
198621  }
198622  catch(CStdErrorInfo oError)
198623  {
198624  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198625  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198626  PyErr_SetString(PyExc_IndexError, strError.c_str());
198627  SWIG_fail;
198628  }
198629  catch(...)
198630  {
198631  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198632  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198633  SWIG_fail;
198634  }
198635  }
198636  resultobj = SWIG_Py_Void();
198637  return resultobj;
198638 fail:
198639  return NULL;
198640 }
198641 
198642 
198643 SWIGINTERN PyObject *MuscleBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198644  PyObject *obj;
198645  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
198646  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase, SWIG_NewClientData(obj));
198647  return SWIG_Py_Void();
198648 }
198649 
198650 SWIGINTERN PyObject *_wrap_new_LinearHillMuscle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198651  PyObject *resultobj = 0;
198653 
198654  if (!PyArg_ParseTuple(args,(char *)":new_LinearHillMuscle")) SWIG_fail;
198655  {
198656  try {
198658  }
198659  catch(CStdErrorInfo oError)
198660  {
198661  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198662  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198663  PyErr_SetString(PyExc_IndexError, strError.c_str());
198664  SWIG_fail;
198665  }
198666  catch(...)
198667  {
198668  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198669  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198670  SWIG_fail;
198671  }
198672  }
198673  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, SWIG_POINTER_NEW | 0 );
198674  return resultobj;
198675 fail:
198676  return NULL;
198677 }
198678 
198679 
198680 SWIGINTERN PyObject *_wrap_delete_LinearHillMuscle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198681  PyObject *resultobj = 0;
198683  void *argp1 = 0 ;
198684  int res1 = 0 ;
198685  PyObject * obj0 = 0 ;
198686 
198687  if (!PyArg_ParseTuple(args,(char *)"O:delete_LinearHillMuscle",&obj0)) SWIG_fail;
198688  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, SWIG_POINTER_DISOWN | 0 );
198689  if (!SWIG_IsOK(res1)) {
198690  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LinearHillMuscle" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
198691  }
198692  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
198693  {
198694  try {
198695  delete arg1;
198696  }
198697  catch(CStdErrorInfo oError)
198698  {
198699  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198700  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198701  PyErr_SetString(PyExc_IndexError, strError.c_str());
198702  SWIG_fail;
198703  }
198704  catch(...)
198705  {
198706  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198707  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198708  SWIG_fail;
198709  }
198710  }
198711  resultobj = SWIG_Py_Void();
198712  return resultobj;
198713 fail:
198714  return NULL;
198715 }
198716 
198717 
198718 SWIGINTERN PyObject *_wrap_LinearHillMuscle_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198719  PyObject *resultobj = 0;
198721  void *argp1 = 0 ;
198722  int res1 = 0 ;
198723  PyObject * obj0 = 0 ;
198725 
198726  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_CastToDerived",&obj0)) SWIG_fail;
198727  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
198728  if (!SWIG_IsOK(res1)) {
198729  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
198730  }
198731  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
198732  {
198733  try {
198734  result = (AnimatSim::Environment::Bodies::LinearHillMuscle *)AnimatSim::Environment::Bodies::LinearHillMuscle::CastToDerived(arg1);
198735  }
198736  catch(CStdErrorInfo oError)
198737  {
198738  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198739  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198740  PyErr_SetString(PyExc_IndexError, strError.c_str());
198741  SWIG_fail;
198742  }
198743  catch(...)
198744  {
198745  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198746  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198747  SWIG_fail;
198748  }
198749  }
198750  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
198751  return resultobj;
198752 fail:
198753  return NULL;
198754 }
198755 
198756 
198757 SWIGINTERN PyObject *_wrap_LinearHillMuscle_Kse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198758  PyObject *resultobj = 0;
198760  void *argp1 = 0 ;
198761  int res1 = 0 ;
198762  PyObject * obj0 = 0 ;
198763  float result;
198764 
198765  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_Kse",&obj0)) SWIG_fail;
198766  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
198767  if (!SWIG_IsOK(res1)) {
198768  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_Kse" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
198769  }
198770  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
198771  {
198772  try {
198773  result = (float)(arg1)->Kse();
198774  }
198775  catch(CStdErrorInfo oError)
198776  {
198777  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198778  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198779  PyErr_SetString(PyExc_IndexError, strError.c_str());
198780  SWIG_fail;
198781  }
198782  catch(...)
198783  {
198784  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198785  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198786  SWIG_fail;
198787  }
198788  }
198789  resultobj = SWIG_From_float(static_cast< float >(result));
198790  return resultobj;
198791 fail:
198792  return NULL;
198793 }
198794 
198795 
198796 SWIGINTERN PyObject *_wrap_LinearHillMuscle_Kse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198797  PyObject *resultobj = 0;
198799  float arg2 ;
198800  void *argp1 = 0 ;
198801  int res1 = 0 ;
198802  float val2 ;
198803  int ecode2 = 0 ;
198804  PyObject * obj0 = 0 ;
198805  PyObject * obj1 = 0 ;
198806 
198807  if (!PyArg_ParseTuple(args,(char *)"OO:LinearHillMuscle_Kse",&obj0,&obj1)) SWIG_fail;
198808  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
198809  if (!SWIG_IsOK(res1)) {
198810  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_Kse" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
198811  }
198812  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
198813  ecode2 = SWIG_AsVal_float(obj1, &val2);
198814  if (!SWIG_IsOK(ecode2)) {
198815  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LinearHillMuscle_Kse" "', argument " "2"" of type '" "float""'");
198816  }
198817  arg2 = static_cast< float >(val2);
198818  {
198819  try {
198820  (arg1)->Kse(arg2);
198821  }
198822  catch(CStdErrorInfo oError)
198823  {
198824  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198825  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198826  PyErr_SetString(PyExc_IndexError, strError.c_str());
198827  SWIG_fail;
198828  }
198829  catch(...)
198830  {
198831  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198832  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198833  SWIG_fail;
198834  }
198835  }
198836  resultobj = SWIG_Py_Void();
198837  return resultobj;
198838 fail:
198839  return NULL;
198840 }
198841 
198842 
198843 SWIGINTERN PyObject *_wrap_LinearHillMuscle_Kse(PyObject *self, PyObject *args) {
198844  int argc;
198845  PyObject *argv[3];
198846  int ii;
198847 
198848  if (!PyTuple_Check(args)) SWIG_fail;
198849  argc = args ? (int)PyObject_Length(args) : 0;
198850  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
198851  argv[ii] = PyTuple_GET_ITEM(args,ii);
198852  }
198853  if (argc == 1) {
198854  int _v;
198855  void *vptr = 0;
198856  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0);
198857  _v = SWIG_CheckState(res);
198858  if (_v) {
198859  return _wrap_LinearHillMuscle_Kse__SWIG_0(self, args);
198860  }
198861  }
198862  if (argc == 2) {
198863  int _v;
198864  void *vptr = 0;
198865  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0);
198866  _v = SWIG_CheckState(res);
198867  if (_v) {
198868  {
198869  int res = SWIG_AsVal_float(argv[1], NULL);
198870  _v = SWIG_CheckState(res);
198871  }
198872  if (_v) {
198873  return _wrap_LinearHillMuscle_Kse__SWIG_1(self, args);
198874  }
198875  }
198876  }
198877 
198878 fail:
198879  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LinearHillMuscle_Kse'.\n"
198880  " Possible C/C++ prototypes are:\n"
198881  " AnimatSim::Environment::Bodies::LinearHillMuscle::Kse()\n"
198882  " AnimatSim::Environment::Bodies::LinearHillMuscle::Kse(float)\n");
198883  return 0;
198884 }
198885 
198886 
198887 SWIGINTERN PyObject *_wrap_LinearHillMuscle_Kpe__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198888  PyObject *resultobj = 0;
198890  void *argp1 = 0 ;
198891  int res1 = 0 ;
198892  PyObject * obj0 = 0 ;
198893  float result;
198894 
198895  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_Kpe",&obj0)) SWIG_fail;
198896  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
198897  if (!SWIG_IsOK(res1)) {
198898  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_Kpe" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
198899  }
198900  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
198901  {
198902  try {
198903  result = (float)(arg1)->Kpe();
198904  }
198905  catch(CStdErrorInfo oError)
198906  {
198907  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198908  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198909  PyErr_SetString(PyExc_IndexError, strError.c_str());
198910  SWIG_fail;
198911  }
198912  catch(...)
198913  {
198914  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198915  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198916  SWIG_fail;
198917  }
198918  }
198919  resultobj = SWIG_From_float(static_cast< float >(result));
198920  return resultobj;
198921 fail:
198922  return NULL;
198923 }
198924 
198925 
198926 SWIGINTERN PyObject *_wrap_LinearHillMuscle_Kpe__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
198927  PyObject *resultobj = 0;
198929  float arg2 ;
198930  void *argp1 = 0 ;
198931  int res1 = 0 ;
198932  float val2 ;
198933  int ecode2 = 0 ;
198934  PyObject * obj0 = 0 ;
198935  PyObject * obj1 = 0 ;
198936 
198937  if (!PyArg_ParseTuple(args,(char *)"OO:LinearHillMuscle_Kpe",&obj0,&obj1)) SWIG_fail;
198938  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
198939  if (!SWIG_IsOK(res1)) {
198940  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_Kpe" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
198941  }
198942  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
198943  ecode2 = SWIG_AsVal_float(obj1, &val2);
198944  if (!SWIG_IsOK(ecode2)) {
198945  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LinearHillMuscle_Kpe" "', argument " "2"" of type '" "float""'");
198946  }
198947  arg2 = static_cast< float >(val2);
198948  {
198949  try {
198950  (arg1)->Kpe(arg2);
198951  }
198952  catch(CStdErrorInfo oError)
198953  {
198954  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198955  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
198956  PyErr_SetString(PyExc_IndexError, strError.c_str());
198957  SWIG_fail;
198958  }
198959  catch(...)
198960  {
198961  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
198962  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
198963  SWIG_fail;
198964  }
198965  }
198966  resultobj = SWIG_Py_Void();
198967  return resultobj;
198968 fail:
198969  return NULL;
198970 }
198971 
198972 
198973 SWIGINTERN PyObject *_wrap_LinearHillMuscle_Kpe(PyObject *self, PyObject *args) {
198974  int argc;
198975  PyObject *argv[3];
198976  int ii;
198977 
198978  if (!PyTuple_Check(args)) SWIG_fail;
198979  argc = args ? (int)PyObject_Length(args) : 0;
198980  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
198981  argv[ii] = PyTuple_GET_ITEM(args,ii);
198982  }
198983  if (argc == 1) {
198984  int _v;
198985  void *vptr = 0;
198986  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0);
198987  _v = SWIG_CheckState(res);
198988  if (_v) {
198989  return _wrap_LinearHillMuscle_Kpe__SWIG_0(self, args);
198990  }
198991  }
198992  if (argc == 2) {
198993  int _v;
198994  void *vptr = 0;
198995  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0);
198996  _v = SWIG_CheckState(res);
198997  if (_v) {
198998  {
198999  int res = SWIG_AsVal_float(argv[1], NULL);
199000  _v = SWIG_CheckState(res);
199001  }
199002  if (_v) {
199003  return _wrap_LinearHillMuscle_Kpe__SWIG_1(self, args);
199004  }
199005  }
199006  }
199007 
199008 fail:
199009  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LinearHillMuscle_Kpe'.\n"
199010  " Possible C/C++ prototypes are:\n"
199011  " AnimatSim::Environment::Bodies::LinearHillMuscle::Kpe()\n"
199012  " AnimatSim::Environment::Bodies::LinearHillMuscle::Kpe(float)\n");
199013  return 0;
199014 }
199015 
199016 
199017 SWIGINTERN PyObject *_wrap_LinearHillMuscle_B__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199018  PyObject *resultobj = 0;
199020  void *argp1 = 0 ;
199021  int res1 = 0 ;
199022  PyObject * obj0 = 0 ;
199023  float result;
199024 
199025  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_B",&obj0)) SWIG_fail;
199026  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199027  if (!SWIG_IsOK(res1)) {
199028  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_B" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199029  }
199030  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199031  {
199032  try {
199033  result = (float)(arg1)->B();
199034  }
199035  catch(CStdErrorInfo oError)
199036  {
199037  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199038  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199039  PyErr_SetString(PyExc_IndexError, strError.c_str());
199040  SWIG_fail;
199041  }
199042  catch(...)
199043  {
199044  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199045  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199046  SWIG_fail;
199047  }
199048  }
199049  resultobj = SWIG_From_float(static_cast< float >(result));
199050  return resultobj;
199051 fail:
199052  return NULL;
199053 }
199054 
199055 
199056 SWIGINTERN PyObject *_wrap_LinearHillMuscle_B__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199057  PyObject *resultobj = 0;
199059  float arg2 ;
199060  void *argp1 = 0 ;
199061  int res1 = 0 ;
199062  float val2 ;
199063  int ecode2 = 0 ;
199064  PyObject * obj0 = 0 ;
199065  PyObject * obj1 = 0 ;
199066 
199067  if (!PyArg_ParseTuple(args,(char *)"OO:LinearHillMuscle_B",&obj0,&obj1)) SWIG_fail;
199068  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199069  if (!SWIG_IsOK(res1)) {
199070  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_B" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199071  }
199072  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199073  ecode2 = SWIG_AsVal_float(obj1, &val2);
199074  if (!SWIG_IsOK(ecode2)) {
199075  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LinearHillMuscle_B" "', argument " "2"" of type '" "float""'");
199076  }
199077  arg2 = static_cast< float >(val2);
199078  {
199079  try {
199080  (arg1)->B(arg2);
199081  }
199082  catch(CStdErrorInfo oError)
199083  {
199084  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199085  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199086  PyErr_SetString(PyExc_IndexError, strError.c_str());
199087  SWIG_fail;
199088  }
199089  catch(...)
199090  {
199091  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199092  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199093  SWIG_fail;
199094  }
199095  }
199096  resultobj = SWIG_Py_Void();
199097  return resultobj;
199098 fail:
199099  return NULL;
199100 }
199101 
199102 
199103 SWIGINTERN PyObject *_wrap_LinearHillMuscle_B(PyObject *self, PyObject *args) {
199104  int argc;
199105  PyObject *argv[3];
199106  int ii;
199107 
199108  if (!PyTuple_Check(args)) SWIG_fail;
199109  argc = args ? (int)PyObject_Length(args) : 0;
199110  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
199111  argv[ii] = PyTuple_GET_ITEM(args,ii);
199112  }
199113  if (argc == 1) {
199114  int _v;
199115  void *vptr = 0;
199116  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0);
199117  _v = SWIG_CheckState(res);
199118  if (_v) {
199119  return _wrap_LinearHillMuscle_B__SWIG_0(self, args);
199120  }
199121  }
199122  if (argc == 2) {
199123  int _v;
199124  void *vptr = 0;
199125  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0);
199126  _v = SWIG_CheckState(res);
199127  if (_v) {
199128  {
199129  int res = SWIG_AsVal_float(argv[1], NULL);
199130  _v = SWIG_CheckState(res);
199131  }
199132  if (_v) {
199133  return _wrap_LinearHillMuscle_B__SWIG_1(self, args);
199134  }
199135  }
199136  }
199137 
199138 fail:
199139  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LinearHillMuscle_B'.\n"
199140  " Possible C/C++ prototypes are:\n"
199141  " AnimatSim::Environment::Bodies::LinearHillMuscle::B()\n"
199142  " AnimatSim::Environment::Bodies::LinearHillMuscle::B(float)\n");
199143  return 0;
199144 }
199145 
199146 
199147 SWIGINTERN PyObject *_wrap_LinearHillMuscle_RestingLength__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199148  PyObject *resultobj = 0;
199150  void *argp1 = 0 ;
199151  int res1 = 0 ;
199152  PyObject * obj0 = 0 ;
199153  float result;
199154 
199155  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_RestingLength",&obj0)) SWIG_fail;
199156  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199157  if (!SWIG_IsOK(res1)) {
199158  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_RestingLength" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199159  }
199160  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199161  {
199162  try {
199163  result = (float)(arg1)->RestingLength();
199164  }
199165  catch(CStdErrorInfo oError)
199166  {
199167  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199168  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199169  PyErr_SetString(PyExc_IndexError, strError.c_str());
199170  SWIG_fail;
199171  }
199172  catch(...)
199173  {
199174  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199175  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199176  SWIG_fail;
199177  }
199178  }
199179  resultobj = SWIG_From_float(static_cast< float >(result));
199180  return resultobj;
199181 fail:
199182  return NULL;
199183 }
199184 
199185 
199186 SWIGINTERN PyObject *_wrap_LinearHillMuscle_RestingLength__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199187  PyObject *resultobj = 0;
199189  float arg2 ;
199190  void *argp1 = 0 ;
199191  int res1 = 0 ;
199192  float val2 ;
199193  int ecode2 = 0 ;
199194  PyObject * obj0 = 0 ;
199195  PyObject * obj1 = 0 ;
199196 
199197  if (!PyArg_ParseTuple(args,(char *)"OO:LinearHillMuscle_RestingLength",&obj0,&obj1)) SWIG_fail;
199198  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199199  if (!SWIG_IsOK(res1)) {
199200  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_RestingLength" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199201  }
199202  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199203  ecode2 = SWIG_AsVal_float(obj1, &val2);
199204  if (!SWIG_IsOK(ecode2)) {
199205  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LinearHillMuscle_RestingLength" "', argument " "2"" of type '" "float""'");
199206  }
199207  arg2 = static_cast< float >(val2);
199208  {
199209  try {
199210  (arg1)->RestingLength(arg2);
199211  }
199212  catch(CStdErrorInfo oError)
199213  {
199214  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199215  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199216  PyErr_SetString(PyExc_IndexError, strError.c_str());
199217  SWIG_fail;
199218  }
199219  catch(...)
199220  {
199221  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199222  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199223  SWIG_fail;
199224  }
199225  }
199226  resultobj = SWIG_Py_Void();
199227  return resultobj;
199228 fail:
199229  return NULL;
199230 }
199231 
199232 
199233 SWIGINTERN PyObject *_wrap_LinearHillMuscle_RestingLength(PyObject *self, PyObject *args) {
199234  int argc;
199235  PyObject *argv[3];
199236  int ii;
199237 
199238  if (!PyTuple_Check(args)) SWIG_fail;
199239  argc = args ? (int)PyObject_Length(args) : 0;
199240  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
199241  argv[ii] = PyTuple_GET_ITEM(args,ii);
199242  }
199243  if (argc == 1) {
199244  int _v;
199245  void *vptr = 0;
199246  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0);
199247  _v = SWIG_CheckState(res);
199248  if (_v) {
199249  return _wrap_LinearHillMuscle_RestingLength__SWIG_0(self, args);
199250  }
199251  }
199252  if (argc == 2) {
199253  int _v;
199254  void *vptr = 0;
199255  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0);
199256  _v = SWIG_CheckState(res);
199257  if (_v) {
199258  {
199259  int res = SWIG_AsVal_float(argv[1], NULL);
199260  _v = SWIG_CheckState(res);
199261  }
199262  if (_v) {
199263  return _wrap_LinearHillMuscle_RestingLength__SWIG_1(self, args);
199264  }
199265  }
199266  }
199267 
199268 fail:
199269  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LinearHillMuscle_RestingLength'.\n"
199270  " Possible C/C++ prototypes are:\n"
199271  " AnimatSim::Environment::Bodies::LinearHillMuscle::RestingLength()\n"
199272  " AnimatSim::Environment::Bodies::LinearHillMuscle::RestingLength(float)\n");
199273  return 0;
199274 }
199275 
199276 
199277 SWIGINTERN PyObject *_wrap_LinearHillMuscle_IbDischargeConstant__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199278  PyObject *resultobj = 0;
199280  void *argp1 = 0 ;
199281  int res1 = 0 ;
199282  PyObject * obj0 = 0 ;
199283  float result;
199284 
199285  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_IbDischargeConstant",&obj0)) SWIG_fail;
199286  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199287  if (!SWIG_IsOK(res1)) {
199288  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_IbDischargeConstant" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199289  }
199290  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199291  {
199292  try {
199293  result = (float)(arg1)->IbDischargeConstant();
199294  }
199295  catch(CStdErrorInfo oError)
199296  {
199297  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199298  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199299  PyErr_SetString(PyExc_IndexError, strError.c_str());
199300  SWIG_fail;
199301  }
199302  catch(...)
199303  {
199304  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199305  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199306  SWIG_fail;
199307  }
199308  }
199309  resultobj = SWIG_From_float(static_cast< float >(result));
199310  return resultobj;
199311 fail:
199312  return NULL;
199313 }
199314 
199315 
199316 SWIGINTERN PyObject *_wrap_LinearHillMuscle_IbDischargeConstant__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199317  PyObject *resultobj = 0;
199319  float arg2 ;
199320  void *argp1 = 0 ;
199321  int res1 = 0 ;
199322  float val2 ;
199323  int ecode2 = 0 ;
199324  PyObject * obj0 = 0 ;
199325  PyObject * obj1 = 0 ;
199326 
199327  if (!PyArg_ParseTuple(args,(char *)"OO:LinearHillMuscle_IbDischargeConstant",&obj0,&obj1)) SWIG_fail;
199328  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199329  if (!SWIG_IsOK(res1)) {
199330  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_IbDischargeConstant" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199331  }
199332  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199333  ecode2 = SWIG_AsVal_float(obj1, &val2);
199334  if (!SWIG_IsOK(ecode2)) {
199335  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LinearHillMuscle_IbDischargeConstant" "', argument " "2"" of type '" "float""'");
199336  }
199337  arg2 = static_cast< float >(val2);
199338  {
199339  try {
199340  (arg1)->IbDischargeConstant(arg2);
199341  }
199342  catch(CStdErrorInfo oError)
199343  {
199344  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199345  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199346  PyErr_SetString(PyExc_IndexError, strError.c_str());
199347  SWIG_fail;
199348  }
199349  catch(...)
199350  {
199351  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199352  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199353  SWIG_fail;
199354  }
199355  }
199356  resultobj = SWIG_Py_Void();
199357  return resultobj;
199358 fail:
199359  return NULL;
199360 }
199361 
199362 
199363 SWIGINTERN PyObject *_wrap_LinearHillMuscle_IbDischargeConstant(PyObject *self, PyObject *args) {
199364  int argc;
199365  PyObject *argv[3];
199366  int ii;
199367 
199368  if (!PyTuple_Check(args)) SWIG_fail;
199369  argc = args ? (int)PyObject_Length(args) : 0;
199370  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
199371  argv[ii] = PyTuple_GET_ITEM(args,ii);
199372  }
199373  if (argc == 1) {
199374  int _v;
199375  void *vptr = 0;
199376  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0);
199377  _v = SWIG_CheckState(res);
199378  if (_v) {
199379  return _wrap_LinearHillMuscle_IbDischargeConstant__SWIG_0(self, args);
199380  }
199381  }
199382  if (argc == 2) {
199383  int _v;
199384  void *vptr = 0;
199385  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0);
199386  _v = SWIG_CheckState(res);
199387  if (_v) {
199388  {
199389  int res = SWIG_AsVal_float(argv[1], NULL);
199390  _v = SWIG_CheckState(res);
199391  }
199392  if (_v) {
199393  return _wrap_LinearHillMuscle_IbDischargeConstant__SWIG_1(self, args);
199394  }
199395  }
199396  }
199397 
199398 fail:
199399  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LinearHillMuscle_IbDischargeConstant'.\n"
199400  " Possible C/C++ prototypes are:\n"
199401  " AnimatSim::Environment::Bodies::LinearHillMuscle::IbDischargeConstant()\n"
199402  " AnimatSim::Environment::Bodies::LinearHillMuscle::IbDischargeConstant(float)\n");
199403  return 0;
199404 }
199405 
199406 
199407 SWIGINTERN PyObject *_wrap_LinearHillMuscle_SeLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199408  PyObject *resultobj = 0;
199410  void *argp1 = 0 ;
199411  int res1 = 0 ;
199412  PyObject * obj0 = 0 ;
199413  float result;
199414 
199415  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_SeLength",&obj0)) SWIG_fail;
199416  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199417  if (!SWIG_IsOK(res1)) {
199418  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_SeLength" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199419  }
199420  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199421  {
199422  try {
199423  result = (float)(arg1)->SeLength();
199424  }
199425  catch(CStdErrorInfo oError)
199426  {
199427  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199428  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199429  PyErr_SetString(PyExc_IndexError, strError.c_str());
199430  SWIG_fail;
199431  }
199432  catch(...)
199433  {
199434  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199435  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199436  SWIG_fail;
199437  }
199438  }
199439  resultobj = SWIG_From_float(static_cast< float >(result));
199440  return resultobj;
199441 fail:
199442  return NULL;
199443 }
199444 
199445 
199446 SWIGINTERN PyObject *_wrap_LinearHillMuscle_PeLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199447  PyObject *resultobj = 0;
199449  void *argp1 = 0 ;
199450  int res1 = 0 ;
199451  PyObject * obj0 = 0 ;
199452  float result;
199453 
199454  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_PeLength",&obj0)) SWIG_fail;
199455  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199456  if (!SWIG_IsOK(res1)) {
199457  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_PeLength" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199458  }
199459  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199460  {
199461  try {
199462  result = (float)(arg1)->PeLength();
199463  }
199464  catch(CStdErrorInfo oError)
199465  {
199466  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199467  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199468  PyErr_SetString(PyExc_IndexError, strError.c_str());
199469  SWIG_fail;
199470  }
199471  catch(...)
199472  {
199473  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199474  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199475  SWIG_fail;
199476  }
199477  }
199478  resultobj = SWIG_From_float(static_cast< float >(result));
199479  return resultobj;
199480 fail:
199481  return NULL;
199482 }
199483 
199484 
199485 SWIGINTERN PyObject *_wrap_LinearHillMuscle_Displacement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199486  PyObject *resultobj = 0;
199488  void *argp1 = 0 ;
199489  int res1 = 0 ;
199490  PyObject * obj0 = 0 ;
199491  float result;
199492 
199493  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_Displacement",&obj0)) SWIG_fail;
199494  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199495  if (!SWIG_IsOK(res1)) {
199496  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_Displacement" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199497  }
199498  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199499  {
199500  try {
199501  result = (float)(arg1)->Displacement();
199502  }
199503  catch(CStdErrorInfo oError)
199504  {
199505  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199506  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199507  PyErr_SetString(PyExc_IndexError, strError.c_str());
199508  SWIG_fail;
199509  }
199510  catch(...)
199511  {
199512  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199513  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199514  SWIG_fail;
199515  }
199516  }
199517  resultobj = SWIG_From_float(static_cast< float >(result));
199518  return resultobj;
199519 fail:
199520  return NULL;
199521 }
199522 
199523 
199524 SWIGINTERN PyObject *_wrap_LinearHillMuscle_DisplacementRatio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199525  PyObject *resultobj = 0;
199527  void *argp1 = 0 ;
199528  int res1 = 0 ;
199529  PyObject * obj0 = 0 ;
199530  float result;
199531 
199532  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_DisplacementRatio",&obj0)) SWIG_fail;
199533  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199534  if (!SWIG_IsOK(res1)) {
199535  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_DisplacementRatio" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199536  }
199537  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199538  {
199539  try {
199540  result = (float)(arg1)->DisplacementRatio();
199541  }
199542  catch(CStdErrorInfo oError)
199543  {
199544  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199545  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199546  PyErr_SetString(PyExc_IndexError, strError.c_str());
199547  SWIG_fail;
199548  }
199549  catch(...)
199550  {
199551  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199552  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199553  SWIG_fail;
199554  }
199555  }
199556  resultobj = SWIG_From_float(static_cast< float >(result));
199557  return resultobj;
199558 fail:
199559  return NULL;
199560 }
199561 
199562 
199563 SWIGINTERN PyObject *_wrap_LinearHillMuscle_TL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199564  PyObject *resultobj = 0;
199566  void *argp1 = 0 ;
199567  int res1 = 0 ;
199568  PyObject * obj0 = 0 ;
199569  float result;
199570 
199571  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_TL",&obj0)) SWIG_fail;
199572  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199573  if (!SWIG_IsOK(res1)) {
199574  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_TL" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199575  }
199576  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199577  {
199578  try {
199579  result = (float)(arg1)->TL();
199580  }
199581  catch(CStdErrorInfo oError)
199582  {
199583  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199584  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199585  PyErr_SetString(PyExc_IndexError, strError.c_str());
199586  SWIG_fail;
199587  }
199588  catch(...)
199589  {
199590  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199591  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199592  SWIG_fail;
199593  }
199594  }
199595  resultobj = SWIG_From_float(static_cast< float >(result));
199596  return resultobj;
199597 fail:
199598  return NULL;
199599 }
199600 
199601 
199602 SWIGINTERN PyObject *_wrap_LinearHillMuscle_Act(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199603  PyObject *resultobj = 0;
199605  void *argp1 = 0 ;
199606  int res1 = 0 ;
199607  PyObject * obj0 = 0 ;
199608  float result;
199609 
199610  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_Act",&obj0)) SWIG_fail;
199611  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199612  if (!SWIG_IsOK(res1)) {
199613  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_Act" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199614  }
199615  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199616  {
199617  try {
199618  result = (float)(arg1)->Act();
199619  }
199620  catch(CStdErrorInfo oError)
199621  {
199622  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199623  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199624  PyErr_SetString(PyExc_IndexError, strError.c_str());
199625  SWIG_fail;
199626  }
199627  catch(...)
199628  {
199629  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199630  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199631  SWIG_fail;
199632  }
199633  }
199634  resultobj = SWIG_From_float(static_cast< float >(result));
199635  return resultobj;
199636 fail:
199637  return NULL;
199638 }
199639 
199640 
199641 SWIGINTERN PyObject *_wrap_LinearHillMuscle_A(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199642  PyObject *resultobj = 0;
199644  void *argp1 = 0 ;
199645  int res1 = 0 ;
199646  PyObject * obj0 = 0 ;
199647  float result;
199648 
199649  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_A",&obj0)) SWIG_fail;
199650  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199651  if (!SWIG_IsOK(res1)) {
199652  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_A" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199653  }
199654  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199655  {
199656  try {
199657  result = (float)(arg1)->A();
199658  }
199659  catch(CStdErrorInfo oError)
199660  {
199661  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199662  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199663  PyErr_SetString(PyExc_IndexError, strError.c_str());
199664  SWIG_fail;
199665  }
199666  catch(...)
199667  {
199668  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199669  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199670  SWIG_fail;
199671  }
199672  }
199673  resultobj = SWIG_From_float(static_cast< float >(result));
199674  return resultobj;
199675 fail:
199676  return NULL;
199677 }
199678 
199679 
199680 SWIGINTERN PyObject *_wrap_LinearHillMuscle_InternalTension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199681  PyObject *resultobj = 0;
199683  void *argp1 = 0 ;
199684  int res1 = 0 ;
199685  PyObject * obj0 = 0 ;
199686  float result;
199687 
199688  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_InternalTension",&obj0)) SWIG_fail;
199689  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199690  if (!SWIG_IsOK(res1)) {
199691  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_InternalTension" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199692  }
199693  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199694  {
199695  try {
199696  result = (float)(arg1)->InternalTension();
199697  }
199698  catch(CStdErrorInfo oError)
199699  {
199700  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199701  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199702  PyErr_SetString(PyExc_IndexError, strError.c_str());
199703  SWIG_fail;
199704  }
199705  catch(...)
199706  {
199707  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199708  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199709  SWIG_fail;
199710  }
199711  }
199712  resultobj = SWIG_From_float(static_cast< float >(result));
199713  return resultobj;
199714 fail:
199715  return NULL;
199716 }
199717 
199718 
199719 SWIGINTERN PyObject *_wrap_LinearHillMuscle_Vmuscle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199720  PyObject *resultobj = 0;
199722  void *argp1 = 0 ;
199723  int res1 = 0 ;
199724  PyObject * obj0 = 0 ;
199725  float result;
199726 
199727  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_Vmuscle",&obj0)) SWIG_fail;
199728  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199729  if (!SWIG_IsOK(res1)) {
199730  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_Vmuscle" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199731  }
199732  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199733  {
199734  try {
199735  result = (float)(arg1)->Vmuscle();
199736  }
199737  catch(CStdErrorInfo oError)
199738  {
199739  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199740  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199741  PyErr_SetString(PyExc_IndexError, strError.c_str());
199742  SWIG_fail;
199743  }
199744  catch(...)
199745  {
199746  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199747  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199748  SWIG_fail;
199749  }
199750  }
199751  resultobj = SWIG_From_float(static_cast< float >(result));
199752  return resultobj;
199753 fail:
199754  return NULL;
199755 }
199756 
199757 
199758 SWIGINTERN PyObject *_wrap_LinearHillMuscle_Enabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199759  PyObject *resultobj = 0;
199761  bool arg2 ;
199762  void *argp1 = 0 ;
199763  int res1 = 0 ;
199764  bool val2 ;
199765  int ecode2 = 0 ;
199766  PyObject * obj0 = 0 ;
199767  PyObject * obj1 = 0 ;
199768 
199769  if (!PyArg_ParseTuple(args,(char *)"OO:LinearHillMuscle_Enabled",&obj0,&obj1)) SWIG_fail;
199770  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199771  if (!SWIG_IsOK(res1)) {
199772  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_Enabled" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199773  }
199774  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199775  ecode2 = SWIG_AsVal_bool(obj1, &val2);
199776  if (!SWIG_IsOK(ecode2)) {
199777  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LinearHillMuscle_Enabled" "', argument " "2"" of type '" "bool""'");
199778  }
199779  arg2 = static_cast< bool >(val2);
199780  {
199781  try {
199782  (arg1)->Enabled(arg2);
199783  }
199784  catch(CStdErrorInfo oError)
199785  {
199786  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199787  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199788  PyErr_SetString(PyExc_IndexError, strError.c_str());
199789  SWIG_fail;
199790  }
199791  catch(...)
199792  {
199793  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199794  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199795  SWIG_fail;
199796  }
199797  }
199798  resultobj = SWIG_Py_Void();
199799  return resultobj;
199800 fail:
199801  return NULL;
199802 }
199803 
199804 
199805 SWIGINTERN PyObject *_wrap_LinearHillMuscle_CalculateInverseDynamics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199806  PyObject *resultobj = 0;
199808  float arg2 ;
199809  float arg3 ;
199810  float arg4 ;
199811  float *arg5 = 0 ;
199812  float *arg6 = 0 ;
199813  void *argp1 = 0 ;
199814  int res1 = 0 ;
199815  float val2 ;
199816  int ecode2 = 0 ;
199817  float val3 ;
199818  int ecode3 = 0 ;
199819  float val4 ;
199820  int ecode4 = 0 ;
199821  void *argp5 = 0 ;
199822  int res5 = 0 ;
199823  void *argp6 = 0 ;
199824  int res6 = 0 ;
199825  PyObject * obj0 = 0 ;
199826  PyObject * obj1 = 0 ;
199827  PyObject * obj2 = 0 ;
199828  PyObject * obj3 = 0 ;
199829  PyObject * obj4 = 0 ;
199830  PyObject * obj5 = 0 ;
199831 
199832  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:LinearHillMuscle_CalculateInverseDynamics",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
199833  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199834  if (!SWIG_IsOK(res1)) {
199835  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_CalculateInverseDynamics" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199836  }
199837  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199838  ecode2 = SWIG_AsVal_float(obj1, &val2);
199839  if (!SWIG_IsOK(ecode2)) {
199840  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LinearHillMuscle_CalculateInverseDynamics" "', argument " "2"" of type '" "float""'");
199841  }
199842  arg2 = static_cast< float >(val2);
199843  ecode3 = SWIG_AsVal_float(obj2, &val3);
199844  if (!SWIG_IsOK(ecode3)) {
199845  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LinearHillMuscle_CalculateInverseDynamics" "', argument " "3"" of type '" "float""'");
199846  }
199847  arg3 = static_cast< float >(val3);
199848  ecode4 = SWIG_AsVal_float(obj3, &val4);
199849  if (!SWIG_IsOK(ecode4)) {
199850  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LinearHillMuscle_CalculateInverseDynamics" "', argument " "4"" of type '" "float""'");
199851  }
199852  arg4 = static_cast< float >(val4);
199853  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_float, 0 );
199854  if (!SWIG_IsOK(res5)) {
199855  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LinearHillMuscle_CalculateInverseDynamics" "', argument " "5"" of type '" "float &""'");
199856  }
199857  if (!argp5) {
199858  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillMuscle_CalculateInverseDynamics" "', argument " "5"" of type '" "float &""'");
199859  }
199860  arg5 = reinterpret_cast< float * >(argp5);
199861  res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_float, 0 );
199862  if (!SWIG_IsOK(res6)) {
199863  SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LinearHillMuscle_CalculateInverseDynamics" "', argument " "6"" of type '" "float &""'");
199864  }
199865  if (!argp6) {
199866  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillMuscle_CalculateInverseDynamics" "', argument " "6"" of type '" "float &""'");
199867  }
199868  arg6 = reinterpret_cast< float * >(argp6);
199869  {
199870  try {
199871  (arg1)->CalculateInverseDynamics(arg2,arg3,arg4,*arg5,*arg6);
199872  }
199873  catch(CStdErrorInfo oError)
199874  {
199875  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199876  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199877  PyErr_SetString(PyExc_IndexError, strError.c_str());
199878  SWIG_fail;
199879  }
199880  catch(...)
199881  {
199882  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199883  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199884  SWIG_fail;
199885  }
199886  }
199887  resultobj = SWIG_Py_Void();
199888  return resultobj;
199889 fail:
199890  return NULL;
199891 }
199892 
199893 
199894 SWIGINTERN PyObject *_wrap_LinearHillMuscle_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199895  PyObject *resultobj = 0;
199897  void *argp1 = 0 ;
199898  int res1 = 0 ;
199899  PyObject * obj0 = 0 ;
199900 
199901  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_ResetSimulation",&obj0)) SWIG_fail;
199902  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199903  if (!SWIG_IsOK(res1)) {
199904  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199905  }
199906  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199907  {
199908  try {
199909  (arg1)->ResetSimulation();
199910  }
199911  catch(CStdErrorInfo oError)
199912  {
199913  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199914  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199915  PyErr_SetString(PyExc_IndexError, strError.c_str());
199916  SWIG_fail;
199917  }
199918  catch(...)
199919  {
199920  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199921  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199922  SWIG_fail;
199923  }
199924  }
199925  resultobj = SWIG_Py_Void();
199926  return resultobj;
199927 fail:
199928  return NULL;
199929 }
199930 
199931 
199932 SWIGINTERN PyObject *_wrap_LinearHillMuscle_AfterResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199933  PyObject *resultobj = 0;
199935  void *argp1 = 0 ;
199936  int res1 = 0 ;
199937  PyObject * obj0 = 0 ;
199938 
199939  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_AfterResetSimulation",&obj0)) SWIG_fail;
199940  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199941  if (!SWIG_IsOK(res1)) {
199942  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_AfterResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199943  }
199944  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199945  {
199946  try {
199947  (arg1)->AfterResetSimulation();
199948  }
199949  catch(CStdErrorInfo oError)
199950  {
199951  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199952  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199953  PyErr_SetString(PyExc_IndexError, strError.c_str());
199954  SWIG_fail;
199955  }
199956  catch(...)
199957  {
199958  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199959  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199960  SWIG_fail;
199961  }
199962  }
199963  resultobj = SWIG_Py_Void();
199964  return resultobj;
199965 fail:
199966  return NULL;
199967 }
199968 
199969 
199970 SWIGINTERN PyObject *_wrap_LinearHillMuscle_CreateJoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
199971  PyObject *resultobj = 0;
199973  void *argp1 = 0 ;
199974  int res1 = 0 ;
199975  PyObject * obj0 = 0 ;
199976 
199977  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillMuscle_CreateJoints",&obj0)) SWIG_fail;
199978  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
199979  if (!SWIG_IsOK(res1)) {
199980  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_CreateJoints" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
199981  }
199982  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
199983  {
199984  try {
199985  (arg1)->CreateJoints();
199986  }
199987  catch(CStdErrorInfo oError)
199988  {
199989  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199990  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
199991  PyErr_SetString(PyExc_IndexError, strError.c_str());
199992  SWIG_fail;
199993  }
199994  catch(...)
199995  {
199996  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
199997  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
199998  SWIG_fail;
199999  }
200000  }
200001  resultobj = SWIG_Py_Void();
200002  return resultobj;
200003 fail:
200004  return NULL;
200005 }
200006 
200007 
200008 SWIGINTERN PyObject *_wrap_LinearHillMuscle_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200009  PyObject *resultobj = 0;
200011  std::string *arg2 = 0 ;
200012  void *argp1 = 0 ;
200013  int res1 = 0 ;
200014  int res2 = SWIG_OLDOBJ ;
200015  PyObject * obj0 = 0 ;
200016  PyObject * obj1 = 0 ;
200017  float *result = 0 ;
200018 
200019  if (!PyArg_ParseTuple(args,(char *)"OO:LinearHillMuscle_GetDataPointer",&obj0,&obj1)) SWIG_fail;
200020  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
200021  if (!SWIG_IsOK(res1)) {
200022  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
200023  }
200024  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
200025  {
200026  std::string *ptr = (std::string *)0;
200027  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
200028  if (!SWIG_IsOK(res2)) {
200029  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinearHillMuscle_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
200030  }
200031  if (!ptr) {
200032  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillMuscle_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
200033  }
200034  arg2 = ptr;
200035  }
200036  {
200037  try {
200038  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
200039  }
200040  catch(CStdErrorInfo oError)
200041  {
200042  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200043  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200044  PyErr_SetString(PyExc_IndexError, strError.c_str());
200045  SWIG_fail;
200046  }
200047  catch(...)
200048  {
200049  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200050  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200051  SWIG_fail;
200052  }
200053  }
200054  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
200055  if (SWIG_IsNewObj(res2)) delete arg2;
200056  return resultobj;
200057 fail:
200058  if (SWIG_IsNewObj(res2)) delete arg2;
200059  return NULL;
200060 }
200061 
200062 
200063 SWIGINTERN PyObject *_wrap_LinearHillMuscle_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200064  PyObject *resultobj = 0;
200066  std::string *arg2 = 0 ;
200067  std::string *arg3 = 0 ;
200068  bool arg4 ;
200069  void *argp1 = 0 ;
200070  int res1 = 0 ;
200071  int res2 = SWIG_OLDOBJ ;
200072  int res3 = SWIG_OLDOBJ ;
200073  bool val4 ;
200074  int ecode4 = 0 ;
200075  PyObject * obj0 = 0 ;
200076  PyObject * obj1 = 0 ;
200077  PyObject * obj2 = 0 ;
200078  PyObject * obj3 = 0 ;
200079  bool result;
200080 
200081  if (!PyArg_ParseTuple(args,(char *)"OOOO:LinearHillMuscle_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
200082  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
200083  if (!SWIG_IsOK(res1)) {
200084  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
200085  }
200086  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
200087  {
200088  std::string *ptr = (std::string *)0;
200089  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
200090  if (!SWIG_IsOK(res2)) {
200091  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinearHillMuscle_SetData" "', argument " "2"" of type '" "std::string const &""'");
200092  }
200093  if (!ptr) {
200094  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillMuscle_SetData" "', argument " "2"" of type '" "std::string const &""'");
200095  }
200096  arg2 = ptr;
200097  }
200098  {
200099  std::string *ptr = (std::string *)0;
200100  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
200101  if (!SWIG_IsOK(res3)) {
200102  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LinearHillMuscle_SetData" "', argument " "3"" of type '" "std::string const &""'");
200103  }
200104  if (!ptr) {
200105  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillMuscle_SetData" "', argument " "3"" of type '" "std::string const &""'");
200106  }
200107  arg3 = ptr;
200108  }
200109  ecode4 = SWIG_AsVal_bool(obj3, &val4);
200110  if (!SWIG_IsOK(ecode4)) {
200111  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LinearHillMuscle_SetData" "', argument " "4"" of type '" "bool""'");
200112  }
200113  arg4 = static_cast< bool >(val4);
200114  {
200115  try {
200116  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
200117  }
200118  catch(CStdErrorInfo oError)
200119  {
200120  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200121  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200122  PyErr_SetString(PyExc_IndexError, strError.c_str());
200123  SWIG_fail;
200124  }
200125  catch(...)
200126  {
200127  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200128  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200129  SWIG_fail;
200130  }
200131  }
200132  resultobj = SWIG_From_bool(static_cast< bool >(result));
200133  if (SWIG_IsNewObj(res2)) delete arg2;
200134  if (SWIG_IsNewObj(res3)) delete arg3;
200135  return resultobj;
200136 fail:
200137  if (SWIG_IsNewObj(res2)) delete arg2;
200138  if (SWIG_IsNewObj(res3)) delete arg3;
200139  return NULL;
200140 }
200141 
200142 
200143 SWIGINTERN PyObject *_wrap_LinearHillMuscle_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200144  PyObject *resultobj = 0;
200146  std::string *arg2 = 0 ;
200147  std::string *arg3 = 0 ;
200148  void *argp1 = 0 ;
200149  int res1 = 0 ;
200150  int res2 = SWIG_OLDOBJ ;
200151  int res3 = SWIG_OLDOBJ ;
200152  PyObject * obj0 = 0 ;
200153  PyObject * obj1 = 0 ;
200154  PyObject * obj2 = 0 ;
200155  bool result;
200156 
200157  if (!PyArg_ParseTuple(args,(char *)"OOO:LinearHillMuscle_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
200158  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
200159  if (!SWIG_IsOK(res1)) {
200160  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
200161  }
200162  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
200163  {
200164  std::string *ptr = (std::string *)0;
200165  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
200166  if (!SWIG_IsOK(res2)) {
200167  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinearHillMuscle_SetData" "', argument " "2"" of type '" "std::string const &""'");
200168  }
200169  if (!ptr) {
200170  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillMuscle_SetData" "', argument " "2"" of type '" "std::string const &""'");
200171  }
200172  arg2 = ptr;
200173  }
200174  {
200175  std::string *ptr = (std::string *)0;
200176  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
200177  if (!SWIG_IsOK(res3)) {
200178  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LinearHillMuscle_SetData" "', argument " "3"" of type '" "std::string const &""'");
200179  }
200180  if (!ptr) {
200181  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillMuscle_SetData" "', argument " "3"" of type '" "std::string const &""'");
200182  }
200183  arg3 = ptr;
200184  }
200185  {
200186  try {
200187  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
200188  }
200189  catch(CStdErrorInfo oError)
200190  {
200191  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200192  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200193  PyErr_SetString(PyExc_IndexError, strError.c_str());
200194  SWIG_fail;
200195  }
200196  catch(...)
200197  {
200198  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200199  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200200  SWIG_fail;
200201  }
200202  }
200203  resultobj = SWIG_From_bool(static_cast< bool >(result));
200204  if (SWIG_IsNewObj(res2)) delete arg2;
200205  if (SWIG_IsNewObj(res3)) delete arg3;
200206  return resultobj;
200207 fail:
200208  if (SWIG_IsNewObj(res2)) delete arg2;
200209  if (SWIG_IsNewObj(res3)) delete arg3;
200210  return NULL;
200211 }
200212 
200213 
200214 SWIGINTERN PyObject *_wrap_LinearHillMuscle_SetData(PyObject *self, PyObject *args) {
200215  int argc;
200216  PyObject *argv[5];
200217  int ii;
200218 
200219  if (!PyTuple_Check(args)) SWIG_fail;
200220  argc = args ? (int)PyObject_Length(args) : 0;
200221  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
200222  argv[ii] = PyTuple_GET_ITEM(args,ii);
200223  }
200224  if (argc == 3) {
200225  int _v;
200226  void *vptr = 0;
200227  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0);
200228  _v = SWIG_CheckState(res);
200229  if (_v) {
200230  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
200231  _v = SWIG_CheckState(res);
200232  if (_v) {
200233  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
200234  _v = SWIG_CheckState(res);
200235  if (_v) {
200236  return _wrap_LinearHillMuscle_SetData__SWIG_1(self, args);
200237  }
200238  }
200239  }
200240  }
200241  if (argc == 4) {
200242  int _v;
200243  void *vptr = 0;
200244  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0);
200245  _v = SWIG_CheckState(res);
200246  if (_v) {
200247  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
200248  _v = SWIG_CheckState(res);
200249  if (_v) {
200250  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
200251  _v = SWIG_CheckState(res);
200252  if (_v) {
200253  {
200254  int res = SWIG_AsVal_bool(argv[3], NULL);
200255  _v = SWIG_CheckState(res);
200256  }
200257  if (_v) {
200258  return _wrap_LinearHillMuscle_SetData__SWIG_0(self, args);
200259  }
200260  }
200261  }
200262  }
200263  }
200264 
200265 fail:
200266  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LinearHillMuscle_SetData'.\n"
200267  " Possible C/C++ prototypes are:\n"
200268  " AnimatSim::Environment::Bodies::LinearHillMuscle::SetData(std::string const &,std::string const &,bool)\n"
200269  " AnimatSim::Environment::Bodies::LinearHillMuscle::SetData(std::string const &,std::string const &)\n");
200270  return 0;
200271 }
200272 
200273 
200274 SWIGINTERN PyObject *_wrap_LinearHillMuscle_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200275  PyObject *resultobj = 0;
200277  CStdPtrArray< TypeProperty > *arg2 = 0 ;
200278  void *argp1 = 0 ;
200279  int res1 = 0 ;
200280  void *argp2 = 0 ;
200281  int res2 = 0 ;
200282  PyObject * obj0 = 0 ;
200283  PyObject * obj1 = 0 ;
200284 
200285  if (!PyArg_ParseTuple(args,(char *)"OO:LinearHillMuscle_QueryProperties",&obj0,&obj1)) SWIG_fail;
200286  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
200287  if (!SWIG_IsOK(res1)) {
200288  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
200289  }
200290  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
200291  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
200292  if (!SWIG_IsOK(res2)) {
200293  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinearHillMuscle_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
200294  }
200295  if (!argp2) {
200296  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillMuscle_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
200297  }
200298  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
200299  {
200300  try {
200301  (arg1)->QueryProperties(*arg2);
200302  }
200303  catch(CStdErrorInfo oError)
200304  {
200305  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200306  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200307  PyErr_SetString(PyExc_IndexError, strError.c_str());
200308  SWIG_fail;
200309  }
200310  catch(...)
200311  {
200312  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200313  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200314  SWIG_fail;
200315  }
200316  }
200317  resultobj = SWIG_Py_Void();
200318  return resultobj;
200319 fail:
200320  return NULL;
200321 }
200322 
200323 
200324 SWIGINTERN PyObject *_wrap_LinearHillMuscle_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200325  PyObject *resultobj = 0;
200327  CStdXml *arg2 = 0 ;
200328  void *argp1 = 0 ;
200329  int res1 = 0 ;
200330  void *argp2 = 0 ;
200331  int res2 = 0 ;
200332  PyObject * obj0 = 0 ;
200333  PyObject * obj1 = 0 ;
200334 
200335  if (!PyArg_ParseTuple(args,(char *)"OO:LinearHillMuscle_Load",&obj0,&obj1)) SWIG_fail;
200336  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0 | 0 );
200337  if (!SWIG_IsOK(res1)) {
200338  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillMuscle_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillMuscle *""'");
200339  }
200340  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillMuscle * >(argp1);
200341  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
200342  if (!SWIG_IsOK(res2)) {
200343  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinearHillMuscle_Load" "', argument " "2"" of type '" "CStdXml &""'");
200344  }
200345  if (!argp2) {
200346  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillMuscle_Load" "', argument " "2"" of type '" "CStdXml &""'");
200347  }
200348  arg2 = reinterpret_cast< CStdXml * >(argp2);
200349  {
200350  try {
200351  (arg1)->Load(*arg2);
200352  }
200353  catch(CStdErrorInfo oError)
200354  {
200355  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200356  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200357  PyErr_SetString(PyExc_IndexError, strError.c_str());
200358  SWIG_fail;
200359  }
200360  catch(...)
200361  {
200362  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200363  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200364  SWIG_fail;
200365  }
200366  }
200367  resultobj = SWIG_Py_Void();
200368  return resultobj;
200369 fail:
200370  return NULL;
200371 }
200372 
200373 
200374 SWIGINTERN PyObject *LinearHillMuscle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200375  PyObject *obj;
200376  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
200377  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle, SWIG_NewClientData(obj));
200378  return SWIG_Py_Void();
200379 }
200380 
200381 SWIGINTERN PyObject *_wrap_new_LinearHillStretchReceptor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200382  PyObject *resultobj = 0;
200384 
200385  if (!PyArg_ParseTuple(args,(char *)":new_LinearHillStretchReceptor")) SWIG_fail;
200386  {
200387  try {
200389  }
200390  catch(CStdErrorInfo oError)
200391  {
200392  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200393  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200394  PyErr_SetString(PyExc_IndexError, strError.c_str());
200395  SWIG_fail;
200396  }
200397  catch(...)
200398  {
200399  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200400  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200401  SWIG_fail;
200402  }
200403  }
200404  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, SWIG_POINTER_NEW | 0 );
200405  return resultobj;
200406 fail:
200407  return NULL;
200408 }
200409 
200410 
200411 SWIGINTERN PyObject *_wrap_delete_LinearHillStretchReceptor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200412  PyObject *resultobj = 0;
200414  void *argp1 = 0 ;
200415  int res1 = 0 ;
200416  PyObject * obj0 = 0 ;
200417 
200418  if (!PyArg_ParseTuple(args,(char *)"O:delete_LinearHillStretchReceptor",&obj0)) SWIG_fail;
200419  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, SWIG_POINTER_DISOWN | 0 );
200420  if (!SWIG_IsOK(res1)) {
200421  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LinearHillStretchReceptor" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *""'");
200422  }
200423  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillStretchReceptor * >(argp1);
200424  {
200425  try {
200426  delete arg1;
200427  }
200428  catch(CStdErrorInfo oError)
200429  {
200430  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200431  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200432  PyErr_SetString(PyExc_IndexError, strError.c_str());
200433  SWIG_fail;
200434  }
200435  catch(...)
200436  {
200437  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200438  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200439  SWIG_fail;
200440  }
200441  }
200442  resultobj = SWIG_Py_Void();
200443  return resultobj;
200444 fail:
200445  return NULL;
200446 }
200447 
200448 
200449 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200450  PyObject *resultobj = 0;
200452  void *argp1 = 0 ;
200453  int res1 = 0 ;
200454  PyObject * obj0 = 0 ;
200456 
200457  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillStretchReceptor_CastToDerived",&obj0)) SWIG_fail;
200458  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
200459  if (!SWIG_IsOK(res1)) {
200460  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillStretchReceptor_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
200461  }
200462  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
200463  {
200464  try {
200465  result = (AnimatSim::Environment::Bodies::LinearHillStretchReceptor *)AnimatSim::Environment::Bodies::LinearHillStretchReceptor::CastToDerived(arg1);
200466  }
200467  catch(CStdErrorInfo oError)
200468  {
200469  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200470  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200471  PyErr_SetString(PyExc_IndexError, strError.c_str());
200472  SWIG_fail;
200473  }
200474  catch(...)
200475  {
200476  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200477  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200478  SWIG_fail;
200479  }
200480  }
200481  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0 | 0 );
200482  return resultobj;
200483 fail:
200484  return NULL;
200485 }
200486 
200487 
200488 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_ApplyTension__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200489  PyObject *resultobj = 0;
200491  void *argp1 = 0 ;
200492  int res1 = 0 ;
200493  PyObject * obj0 = 0 ;
200494  bool result;
200495 
200496  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillStretchReceptor_ApplyTension",&obj0)) SWIG_fail;
200497  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0 | 0 );
200498  if (!SWIG_IsOK(res1)) {
200499  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillStretchReceptor_ApplyTension" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *""'");
200500  }
200501  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillStretchReceptor * >(argp1);
200502  {
200503  try {
200504  result = (bool)(arg1)->ApplyTension();
200505  }
200506  catch(CStdErrorInfo oError)
200507  {
200508  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200509  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200510  PyErr_SetString(PyExc_IndexError, strError.c_str());
200511  SWIG_fail;
200512  }
200513  catch(...)
200514  {
200515  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200516  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200517  SWIG_fail;
200518  }
200519  }
200520  resultobj = SWIG_From_bool(static_cast< bool >(result));
200521  return resultobj;
200522 fail:
200523  return NULL;
200524 }
200525 
200526 
200527 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_ApplyTension__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200528  PyObject *resultobj = 0;
200530  bool arg2 ;
200531  void *argp1 = 0 ;
200532  int res1 = 0 ;
200533  bool val2 ;
200534  int ecode2 = 0 ;
200535  PyObject * obj0 = 0 ;
200536  PyObject * obj1 = 0 ;
200537 
200538  if (!PyArg_ParseTuple(args,(char *)"OO:LinearHillStretchReceptor_ApplyTension",&obj0,&obj1)) SWIG_fail;
200539  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0 | 0 );
200540  if (!SWIG_IsOK(res1)) {
200541  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillStretchReceptor_ApplyTension" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *""'");
200542  }
200543  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillStretchReceptor * >(argp1);
200544  ecode2 = SWIG_AsVal_bool(obj1, &val2);
200545  if (!SWIG_IsOK(ecode2)) {
200546  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LinearHillStretchReceptor_ApplyTension" "', argument " "2"" of type '" "bool""'");
200547  }
200548  arg2 = static_cast< bool >(val2);
200549  {
200550  try {
200551  (arg1)->ApplyTension(arg2);
200552  }
200553  catch(CStdErrorInfo oError)
200554  {
200555  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200556  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200557  PyErr_SetString(PyExc_IndexError, strError.c_str());
200558  SWIG_fail;
200559  }
200560  catch(...)
200561  {
200562  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200563  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200564  SWIG_fail;
200565  }
200566  }
200567  resultobj = SWIG_Py_Void();
200568  return resultobj;
200569 fail:
200570  return NULL;
200571 }
200572 
200573 
200574 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_ApplyTension(PyObject *self, PyObject *args) {
200575  int argc;
200576  PyObject *argv[3];
200577  int ii;
200578 
200579  if (!PyTuple_Check(args)) SWIG_fail;
200580  argc = args ? (int)PyObject_Length(args) : 0;
200581  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
200582  argv[ii] = PyTuple_GET_ITEM(args,ii);
200583  }
200584  if (argc == 1) {
200585  int _v;
200586  void *vptr = 0;
200587  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0);
200588  _v = SWIG_CheckState(res);
200589  if (_v) {
200590  return _wrap_LinearHillStretchReceptor_ApplyTension__SWIG_0(self, args);
200591  }
200592  }
200593  if (argc == 2) {
200594  int _v;
200595  void *vptr = 0;
200596  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0);
200597  _v = SWIG_CheckState(res);
200598  if (_v) {
200599  {
200600  int res = SWIG_AsVal_bool(argv[1], NULL);
200601  _v = SWIG_CheckState(res);
200602  }
200603  if (_v) {
200604  return _wrap_LinearHillStretchReceptor_ApplyTension__SWIG_1(self, args);
200605  }
200606  }
200607  }
200608 
200609 fail:
200610  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LinearHillStretchReceptor_ApplyTension'.\n"
200611  " Possible C/C++ prototypes are:\n"
200612  " AnimatSim::Environment::Bodies::LinearHillStretchReceptor::ApplyTension()\n"
200613  " AnimatSim::Environment::Bodies::LinearHillStretchReceptor::ApplyTension(bool)\n");
200614  return 0;
200615 }
200616 
200617 
200618 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_IaDischargeConstant__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200619  PyObject *resultobj = 0;
200621  void *argp1 = 0 ;
200622  int res1 = 0 ;
200623  PyObject * obj0 = 0 ;
200624  float result;
200625 
200626  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillStretchReceptor_IaDischargeConstant",&obj0)) SWIG_fail;
200627  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0 | 0 );
200628  if (!SWIG_IsOK(res1)) {
200629  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillStretchReceptor_IaDischargeConstant" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *""'");
200630  }
200631  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillStretchReceptor * >(argp1);
200632  {
200633  try {
200634  result = (float)(arg1)->IaDischargeConstant();
200635  }
200636  catch(CStdErrorInfo oError)
200637  {
200638  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200639  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200640  PyErr_SetString(PyExc_IndexError, strError.c_str());
200641  SWIG_fail;
200642  }
200643  catch(...)
200644  {
200645  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200646  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200647  SWIG_fail;
200648  }
200649  }
200650  resultobj = SWIG_From_float(static_cast< float >(result));
200651  return resultobj;
200652 fail:
200653  return NULL;
200654 }
200655 
200656 
200657 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_IaDischargeConstant__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200658  PyObject *resultobj = 0;
200660  float arg2 ;
200661  void *argp1 = 0 ;
200662  int res1 = 0 ;
200663  float val2 ;
200664  int ecode2 = 0 ;
200665  PyObject * obj0 = 0 ;
200666  PyObject * obj1 = 0 ;
200667 
200668  if (!PyArg_ParseTuple(args,(char *)"OO:LinearHillStretchReceptor_IaDischargeConstant",&obj0,&obj1)) SWIG_fail;
200669  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0 | 0 );
200670  if (!SWIG_IsOK(res1)) {
200671  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillStretchReceptor_IaDischargeConstant" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *""'");
200672  }
200673  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillStretchReceptor * >(argp1);
200674  ecode2 = SWIG_AsVal_float(obj1, &val2);
200675  if (!SWIG_IsOK(ecode2)) {
200676  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LinearHillStretchReceptor_IaDischargeConstant" "', argument " "2"" of type '" "float""'");
200677  }
200678  arg2 = static_cast< float >(val2);
200679  {
200680  try {
200681  (arg1)->IaDischargeConstant(arg2);
200682  }
200683  catch(CStdErrorInfo oError)
200684  {
200685  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200686  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200687  PyErr_SetString(PyExc_IndexError, strError.c_str());
200688  SWIG_fail;
200689  }
200690  catch(...)
200691  {
200692  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200693  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200694  SWIG_fail;
200695  }
200696  }
200697  resultobj = SWIG_Py_Void();
200698  return resultobj;
200699 fail:
200700  return NULL;
200701 }
200702 
200703 
200704 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_IaDischargeConstant(PyObject *self, PyObject *args) {
200705  int argc;
200706  PyObject *argv[3];
200707  int ii;
200708 
200709  if (!PyTuple_Check(args)) SWIG_fail;
200710  argc = args ? (int)PyObject_Length(args) : 0;
200711  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
200712  argv[ii] = PyTuple_GET_ITEM(args,ii);
200713  }
200714  if (argc == 1) {
200715  int _v;
200716  void *vptr = 0;
200717  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0);
200718  _v = SWIG_CheckState(res);
200719  if (_v) {
200720  return _wrap_LinearHillStretchReceptor_IaDischargeConstant__SWIG_0(self, args);
200721  }
200722  }
200723  if (argc == 2) {
200724  int _v;
200725  void *vptr = 0;
200726  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0);
200727  _v = SWIG_CheckState(res);
200728  if (_v) {
200729  {
200730  int res = SWIG_AsVal_float(argv[1], NULL);
200731  _v = SWIG_CheckState(res);
200732  }
200733  if (_v) {
200734  return _wrap_LinearHillStretchReceptor_IaDischargeConstant__SWIG_1(self, args);
200735  }
200736  }
200737  }
200738 
200739 fail:
200740  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LinearHillStretchReceptor_IaDischargeConstant'.\n"
200741  " Possible C/C++ prototypes are:\n"
200742  " AnimatSim::Environment::Bodies::LinearHillStretchReceptor::IaDischargeConstant()\n"
200743  " AnimatSim::Environment::Bodies::LinearHillStretchReceptor::IaDischargeConstant(float)\n");
200744  return 0;
200745 }
200746 
200747 
200748 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_IIDischargeConstant__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200749  PyObject *resultobj = 0;
200751  void *argp1 = 0 ;
200752  int res1 = 0 ;
200753  PyObject * obj0 = 0 ;
200754  float result;
200755 
200756  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillStretchReceptor_IIDischargeConstant",&obj0)) SWIG_fail;
200757  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0 | 0 );
200758  if (!SWIG_IsOK(res1)) {
200759  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillStretchReceptor_IIDischargeConstant" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *""'");
200760  }
200761  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillStretchReceptor * >(argp1);
200762  {
200763  try {
200764  result = (float)(arg1)->IIDischargeConstant();
200765  }
200766  catch(CStdErrorInfo oError)
200767  {
200768  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200769  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200770  PyErr_SetString(PyExc_IndexError, strError.c_str());
200771  SWIG_fail;
200772  }
200773  catch(...)
200774  {
200775  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200776  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200777  SWIG_fail;
200778  }
200779  }
200780  resultobj = SWIG_From_float(static_cast< float >(result));
200781  return resultobj;
200782 fail:
200783  return NULL;
200784 }
200785 
200786 
200787 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_IIDischargeConstant__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200788  PyObject *resultobj = 0;
200790  float arg2 ;
200791  void *argp1 = 0 ;
200792  int res1 = 0 ;
200793  float val2 ;
200794  int ecode2 = 0 ;
200795  PyObject * obj0 = 0 ;
200796  PyObject * obj1 = 0 ;
200797 
200798  if (!PyArg_ParseTuple(args,(char *)"OO:LinearHillStretchReceptor_IIDischargeConstant",&obj0,&obj1)) SWIG_fail;
200799  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0 | 0 );
200800  if (!SWIG_IsOK(res1)) {
200801  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillStretchReceptor_IIDischargeConstant" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *""'");
200802  }
200803  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillStretchReceptor * >(argp1);
200804  ecode2 = SWIG_AsVal_float(obj1, &val2);
200805  if (!SWIG_IsOK(ecode2)) {
200806  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LinearHillStretchReceptor_IIDischargeConstant" "', argument " "2"" of type '" "float""'");
200807  }
200808  arg2 = static_cast< float >(val2);
200809  {
200810  try {
200811  (arg1)->IIDischargeConstant(arg2);
200812  }
200813  catch(CStdErrorInfo oError)
200814  {
200815  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200816  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200817  PyErr_SetString(PyExc_IndexError, strError.c_str());
200818  SWIG_fail;
200819  }
200820  catch(...)
200821  {
200822  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200823  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200824  SWIG_fail;
200825  }
200826  }
200827  resultobj = SWIG_Py_Void();
200828  return resultobj;
200829 fail:
200830  return NULL;
200831 }
200832 
200833 
200834 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_IIDischargeConstant(PyObject *self, PyObject *args) {
200835  int argc;
200836  PyObject *argv[3];
200837  int ii;
200838 
200839  if (!PyTuple_Check(args)) SWIG_fail;
200840  argc = args ? (int)PyObject_Length(args) : 0;
200841  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
200842  argv[ii] = PyTuple_GET_ITEM(args,ii);
200843  }
200844  if (argc == 1) {
200845  int _v;
200846  void *vptr = 0;
200847  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0);
200848  _v = SWIG_CheckState(res);
200849  if (_v) {
200850  return _wrap_LinearHillStretchReceptor_IIDischargeConstant__SWIG_0(self, args);
200851  }
200852  }
200853  if (argc == 2) {
200854  int _v;
200855  void *vptr = 0;
200856  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0);
200857  _v = SWIG_CheckState(res);
200858  if (_v) {
200859  {
200860  int res = SWIG_AsVal_float(argv[1], NULL);
200861  _v = SWIG_CheckState(res);
200862  }
200863  if (_v) {
200864  return _wrap_LinearHillStretchReceptor_IIDischargeConstant__SWIG_1(self, args);
200865  }
200866  }
200867  }
200868 
200869 fail:
200870  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LinearHillStretchReceptor_IIDischargeConstant'.\n"
200871  " Possible C/C++ prototypes are:\n"
200872  " AnimatSim::Environment::Bodies::LinearHillStretchReceptor::IIDischargeConstant()\n"
200873  " AnimatSim::Environment::Bodies::LinearHillStretchReceptor::IIDischargeConstant(float)\n");
200874  return 0;
200875 }
200876 
200877 
200878 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_IaRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200879  PyObject *resultobj = 0;
200881  void *argp1 = 0 ;
200882  int res1 = 0 ;
200883  PyObject * obj0 = 0 ;
200884  float result;
200885 
200886  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillStretchReceptor_IaRate",&obj0)) SWIG_fail;
200887  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0 | 0 );
200888  if (!SWIG_IsOK(res1)) {
200889  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillStretchReceptor_IaRate" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *""'");
200890  }
200891  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillStretchReceptor * >(argp1);
200892  {
200893  try {
200894  result = (float)(arg1)->IaRate();
200895  }
200896  catch(CStdErrorInfo oError)
200897  {
200898  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200899  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200900  PyErr_SetString(PyExc_IndexError, strError.c_str());
200901  SWIG_fail;
200902  }
200903  catch(...)
200904  {
200905  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200906  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200907  SWIG_fail;
200908  }
200909  }
200910  resultobj = SWIG_From_float(static_cast< float >(result));
200911  return resultobj;
200912 fail:
200913  return NULL;
200914 }
200915 
200916 
200917 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_IIRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200918  PyObject *resultobj = 0;
200920  void *argp1 = 0 ;
200921  int res1 = 0 ;
200922  PyObject * obj0 = 0 ;
200923  float result;
200924 
200925  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillStretchReceptor_IIRate",&obj0)) SWIG_fail;
200926  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0 | 0 );
200927  if (!SWIG_IsOK(res1)) {
200928  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillStretchReceptor_IIRate" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *""'");
200929  }
200930  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillStretchReceptor * >(argp1);
200931  {
200932  try {
200933  result = (float)(arg1)->IIRate();
200934  }
200935  catch(CStdErrorInfo oError)
200936  {
200937  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200938  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200939  PyErr_SetString(PyExc_IndexError, strError.c_str());
200940  SWIG_fail;
200941  }
200942  catch(...)
200943  {
200944  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200945  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200946  SWIG_fail;
200947  }
200948  }
200949  resultobj = SWIG_From_float(static_cast< float >(result));
200950  return resultobj;
200951 fail:
200952  return NULL;
200953 }
200954 
200955 
200956 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
200957  PyObject *resultobj = 0;
200959  std::string *arg2 = 0 ;
200960  void *argp1 = 0 ;
200961  int res1 = 0 ;
200962  int res2 = SWIG_OLDOBJ ;
200963  PyObject * obj0 = 0 ;
200964  PyObject * obj1 = 0 ;
200965  float *result = 0 ;
200966 
200967  if (!PyArg_ParseTuple(args,(char *)"OO:LinearHillStretchReceptor_GetDataPointer",&obj0,&obj1)) SWIG_fail;
200968  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0 | 0 );
200969  if (!SWIG_IsOK(res1)) {
200970  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillStretchReceptor_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *""'");
200971  }
200972  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillStretchReceptor * >(argp1);
200973  {
200974  std::string *ptr = (std::string *)0;
200975  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
200976  if (!SWIG_IsOK(res2)) {
200977  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinearHillStretchReceptor_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
200978  }
200979  if (!ptr) {
200980  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillStretchReceptor_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
200981  }
200982  arg2 = ptr;
200983  }
200984  {
200985  try {
200986  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
200987  }
200988  catch(CStdErrorInfo oError)
200989  {
200990  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200991  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
200992  PyErr_SetString(PyExc_IndexError, strError.c_str());
200993  SWIG_fail;
200994  }
200995  catch(...)
200996  {
200997  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
200998  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
200999  SWIG_fail;
201000  }
201001  }
201002  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
201003  if (SWIG_IsNewObj(res2)) delete arg2;
201004  return resultobj;
201005 fail:
201006  if (SWIG_IsNewObj(res2)) delete arg2;
201007  return NULL;
201008 }
201009 
201010 
201011 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201012  PyObject *resultobj = 0;
201014  std::string *arg2 = 0 ;
201015  std::string *arg3 = 0 ;
201016  bool arg4 ;
201017  void *argp1 = 0 ;
201018  int res1 = 0 ;
201019  int res2 = SWIG_OLDOBJ ;
201020  int res3 = SWIG_OLDOBJ ;
201021  bool val4 ;
201022  int ecode4 = 0 ;
201023  PyObject * obj0 = 0 ;
201024  PyObject * obj1 = 0 ;
201025  PyObject * obj2 = 0 ;
201026  PyObject * obj3 = 0 ;
201027  bool result;
201028 
201029  if (!PyArg_ParseTuple(args,(char *)"OOOO:LinearHillStretchReceptor_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
201030  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0 | 0 );
201031  if (!SWIG_IsOK(res1)) {
201032  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillStretchReceptor_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *""'");
201033  }
201034  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillStretchReceptor * >(argp1);
201035  {
201036  std::string *ptr = (std::string *)0;
201037  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
201038  if (!SWIG_IsOK(res2)) {
201039  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinearHillStretchReceptor_SetData" "', argument " "2"" of type '" "std::string const &""'");
201040  }
201041  if (!ptr) {
201042  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillStretchReceptor_SetData" "', argument " "2"" of type '" "std::string const &""'");
201043  }
201044  arg2 = ptr;
201045  }
201046  {
201047  std::string *ptr = (std::string *)0;
201048  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
201049  if (!SWIG_IsOK(res3)) {
201050  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LinearHillStretchReceptor_SetData" "', argument " "3"" of type '" "std::string const &""'");
201051  }
201052  if (!ptr) {
201053  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillStretchReceptor_SetData" "', argument " "3"" of type '" "std::string const &""'");
201054  }
201055  arg3 = ptr;
201056  }
201057  ecode4 = SWIG_AsVal_bool(obj3, &val4);
201058  if (!SWIG_IsOK(ecode4)) {
201059  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LinearHillStretchReceptor_SetData" "', argument " "4"" of type '" "bool""'");
201060  }
201061  arg4 = static_cast< bool >(val4);
201062  {
201063  try {
201064  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
201065  }
201066  catch(CStdErrorInfo oError)
201067  {
201068  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201069  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201070  PyErr_SetString(PyExc_IndexError, strError.c_str());
201071  SWIG_fail;
201072  }
201073  catch(...)
201074  {
201075  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201076  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201077  SWIG_fail;
201078  }
201079  }
201080  resultobj = SWIG_From_bool(static_cast< bool >(result));
201081  if (SWIG_IsNewObj(res2)) delete arg2;
201082  if (SWIG_IsNewObj(res3)) delete arg3;
201083  return resultobj;
201084 fail:
201085  if (SWIG_IsNewObj(res2)) delete arg2;
201086  if (SWIG_IsNewObj(res3)) delete arg3;
201087  return NULL;
201088 }
201089 
201090 
201091 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201092  PyObject *resultobj = 0;
201094  std::string *arg2 = 0 ;
201095  std::string *arg3 = 0 ;
201096  void *argp1 = 0 ;
201097  int res1 = 0 ;
201098  int res2 = SWIG_OLDOBJ ;
201099  int res3 = SWIG_OLDOBJ ;
201100  PyObject * obj0 = 0 ;
201101  PyObject * obj1 = 0 ;
201102  PyObject * obj2 = 0 ;
201103  bool result;
201104 
201105  if (!PyArg_ParseTuple(args,(char *)"OOO:LinearHillStretchReceptor_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
201106  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0 | 0 );
201107  if (!SWIG_IsOK(res1)) {
201108  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillStretchReceptor_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *""'");
201109  }
201110  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillStretchReceptor * >(argp1);
201111  {
201112  std::string *ptr = (std::string *)0;
201113  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
201114  if (!SWIG_IsOK(res2)) {
201115  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinearHillStretchReceptor_SetData" "', argument " "2"" of type '" "std::string const &""'");
201116  }
201117  if (!ptr) {
201118  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillStretchReceptor_SetData" "', argument " "2"" of type '" "std::string const &""'");
201119  }
201120  arg2 = ptr;
201121  }
201122  {
201123  std::string *ptr = (std::string *)0;
201124  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
201125  if (!SWIG_IsOK(res3)) {
201126  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LinearHillStretchReceptor_SetData" "', argument " "3"" of type '" "std::string const &""'");
201127  }
201128  if (!ptr) {
201129  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillStretchReceptor_SetData" "', argument " "3"" of type '" "std::string const &""'");
201130  }
201131  arg3 = ptr;
201132  }
201133  {
201134  try {
201135  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
201136  }
201137  catch(CStdErrorInfo oError)
201138  {
201139  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201140  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201141  PyErr_SetString(PyExc_IndexError, strError.c_str());
201142  SWIG_fail;
201143  }
201144  catch(...)
201145  {
201146  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201147  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201148  SWIG_fail;
201149  }
201150  }
201151  resultobj = SWIG_From_bool(static_cast< bool >(result));
201152  if (SWIG_IsNewObj(res2)) delete arg2;
201153  if (SWIG_IsNewObj(res3)) delete arg3;
201154  return resultobj;
201155 fail:
201156  if (SWIG_IsNewObj(res2)) delete arg2;
201157  if (SWIG_IsNewObj(res3)) delete arg3;
201158  return NULL;
201159 }
201160 
201161 
201162 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_SetData(PyObject *self, PyObject *args) {
201163  int argc;
201164  PyObject *argv[5];
201165  int ii;
201166 
201167  if (!PyTuple_Check(args)) SWIG_fail;
201168  argc = args ? (int)PyObject_Length(args) : 0;
201169  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
201170  argv[ii] = PyTuple_GET_ITEM(args,ii);
201171  }
201172  if (argc == 3) {
201173  int _v;
201174  void *vptr = 0;
201175  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0);
201176  _v = SWIG_CheckState(res);
201177  if (_v) {
201178  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
201179  _v = SWIG_CheckState(res);
201180  if (_v) {
201181  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
201182  _v = SWIG_CheckState(res);
201183  if (_v) {
201184  return _wrap_LinearHillStretchReceptor_SetData__SWIG_1(self, args);
201185  }
201186  }
201187  }
201188  }
201189  if (argc == 4) {
201190  int _v;
201191  void *vptr = 0;
201192  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0);
201193  _v = SWIG_CheckState(res);
201194  if (_v) {
201195  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
201196  _v = SWIG_CheckState(res);
201197  if (_v) {
201198  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
201199  _v = SWIG_CheckState(res);
201200  if (_v) {
201201  {
201202  int res = SWIG_AsVal_bool(argv[3], NULL);
201203  _v = SWIG_CheckState(res);
201204  }
201205  if (_v) {
201206  return _wrap_LinearHillStretchReceptor_SetData__SWIG_0(self, args);
201207  }
201208  }
201209  }
201210  }
201211  }
201212 
201213 fail:
201214  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LinearHillStretchReceptor_SetData'.\n"
201215  " Possible C/C++ prototypes are:\n"
201216  " AnimatSim::Environment::Bodies::LinearHillStretchReceptor::SetData(std::string const &,std::string const &,bool)\n"
201217  " AnimatSim::Environment::Bodies::LinearHillStretchReceptor::SetData(std::string const &,std::string const &)\n");
201218  return 0;
201219 }
201220 
201221 
201222 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201223  PyObject *resultobj = 0;
201225  CStdPtrArray< TypeProperty > *arg2 = 0 ;
201226  void *argp1 = 0 ;
201227  int res1 = 0 ;
201228  void *argp2 = 0 ;
201229  int res2 = 0 ;
201230  PyObject * obj0 = 0 ;
201231  PyObject * obj1 = 0 ;
201232 
201233  if (!PyArg_ParseTuple(args,(char *)"OO:LinearHillStretchReceptor_QueryProperties",&obj0,&obj1)) SWIG_fail;
201234  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0 | 0 );
201235  if (!SWIG_IsOK(res1)) {
201236  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillStretchReceptor_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *""'");
201237  }
201238  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillStretchReceptor * >(argp1);
201239  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
201240  if (!SWIG_IsOK(res2)) {
201241  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinearHillStretchReceptor_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
201242  }
201243  if (!argp2) {
201244  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillStretchReceptor_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
201245  }
201246  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
201247  {
201248  try {
201249  (arg1)->QueryProperties(*arg2);
201250  }
201251  catch(CStdErrorInfo oError)
201252  {
201253  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201254  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201255  PyErr_SetString(PyExc_IndexError, strError.c_str());
201256  SWIG_fail;
201257  }
201258  catch(...)
201259  {
201260  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201261  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201262  SWIG_fail;
201263  }
201264  }
201265  resultobj = SWIG_Py_Void();
201266  return resultobj;
201267 fail:
201268  return NULL;
201269 }
201270 
201271 
201272 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201273  PyObject *resultobj = 0;
201275  void *argp1 = 0 ;
201276  int res1 = 0 ;
201277  PyObject * obj0 = 0 ;
201278 
201279  if (!PyArg_ParseTuple(args,(char *)"O:LinearHillStretchReceptor_ResetSimulation",&obj0)) SWIG_fail;
201280  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0 | 0 );
201281  if (!SWIG_IsOK(res1)) {
201282  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillStretchReceptor_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *""'");
201283  }
201284  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillStretchReceptor * >(argp1);
201285  {
201286  try {
201287  (arg1)->ResetSimulation();
201288  }
201289  catch(CStdErrorInfo oError)
201290  {
201291  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201292  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201293  PyErr_SetString(PyExc_IndexError, strError.c_str());
201294  SWIG_fail;
201295  }
201296  catch(...)
201297  {
201298  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201299  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201300  SWIG_fail;
201301  }
201302  }
201303  resultobj = SWIG_Py_Void();
201304  return resultobj;
201305 fail:
201306  return NULL;
201307 }
201308 
201309 
201310 SWIGINTERN PyObject *_wrap_LinearHillStretchReceptor_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201311  PyObject *resultobj = 0;
201313  CStdXml *arg2 = 0 ;
201314  void *argp1 = 0 ;
201315  int res1 = 0 ;
201316  void *argp2 = 0 ;
201317  int res2 = 0 ;
201318  PyObject * obj0 = 0 ;
201319  PyObject * obj1 = 0 ;
201320 
201321  if (!PyArg_ParseTuple(args,(char *)"OO:LinearHillStretchReceptor_Load",&obj0,&obj1)) SWIG_fail;
201322  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0 | 0 );
201323  if (!SWIG_IsOK(res1)) {
201324  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinearHillStretchReceptor_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *""'");
201325  }
201326  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::LinearHillStretchReceptor * >(argp1);
201327  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
201328  if (!SWIG_IsOK(res2)) {
201329  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinearHillStretchReceptor_Load" "', argument " "2"" of type '" "CStdXml &""'");
201330  }
201331  if (!argp2) {
201332  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinearHillStretchReceptor_Load" "', argument " "2"" of type '" "CStdXml &""'");
201333  }
201334  arg2 = reinterpret_cast< CStdXml * >(argp2);
201335  {
201336  try {
201337  (arg1)->Load(*arg2);
201338  }
201339  catch(CStdErrorInfo oError)
201340  {
201341  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201342  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201343  PyErr_SetString(PyExc_IndexError, strError.c_str());
201344  SWIG_fail;
201345  }
201346  catch(...)
201347  {
201348  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201349  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201350  SWIG_fail;
201351  }
201352  }
201353  resultobj = SWIG_Py_Void();
201354  return resultobj;
201355 fail:
201356  return NULL;
201357 }
201358 
201359 
201360 SWIGINTERN PyObject *LinearHillStretchReceptor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201361  PyObject *obj;
201362  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
201363  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, SWIG_NewClientData(obj));
201364  return SWIG_Py_Void();
201365 }
201366 
201367 SWIGINTERN PyObject *_wrap_new_OdorSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201368  PyObject *resultobj = 0;
201370 
201371  if (!PyArg_ParseTuple(args,(char *)":new_OdorSensor")) SWIG_fail;
201372  {
201373  try {
201375  }
201376  catch(CStdErrorInfo oError)
201377  {
201378  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201379  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201380  PyErr_SetString(PyExc_IndexError, strError.c_str());
201381  SWIG_fail;
201382  }
201383  catch(...)
201384  {
201385  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201386  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201387  SWIG_fail;
201388  }
201389  }
201390  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, SWIG_POINTER_NEW | 0 );
201391  return resultobj;
201392 fail:
201393  return NULL;
201394 }
201395 
201396 
201397 SWIGINTERN PyObject *_wrap_delete_OdorSensor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201398  PyObject *resultobj = 0;
201400  void *argp1 = 0 ;
201401  int res1 = 0 ;
201402  PyObject * obj0 = 0 ;
201403 
201404  if (!PyArg_ParseTuple(args,(char *)"O:delete_OdorSensor",&obj0)) SWIG_fail;
201405  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, SWIG_POINTER_DISOWN | 0 );
201406  if (!SWIG_IsOK(res1)) {
201407  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OdorSensor" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::OdorSensor *""'");
201408  }
201409  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::OdorSensor * >(argp1);
201410  {
201411  try {
201412  delete arg1;
201413  }
201414  catch(CStdErrorInfo oError)
201415  {
201416  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201417  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201418  PyErr_SetString(PyExc_IndexError, strError.c_str());
201419  SWIG_fail;
201420  }
201421  catch(...)
201422  {
201423  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201424  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201425  SWIG_fail;
201426  }
201427  }
201428  resultobj = SWIG_Py_Void();
201429  return resultobj;
201430 fail:
201431  return NULL;
201432 }
201433 
201434 
201435 SWIGINTERN PyObject *_wrap_OdorSensor_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201436  PyObject *resultobj = 0;
201438  void *argp1 = 0 ;
201439  int res1 = 0 ;
201440  PyObject * obj0 = 0 ;
201442 
201443  if (!PyArg_ParseTuple(args,(char *)"O:OdorSensor_CastToDerived",&obj0)) SWIG_fail;
201444  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
201445  if (!SWIG_IsOK(res1)) {
201446  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorSensor_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
201447  }
201448  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
201449  {
201450  try {
201451  result = (AnimatSim::Environment::Bodies::OdorSensor *)AnimatSim::Environment::Bodies::OdorSensor::CastToDerived(arg1);
201452  }
201453  catch(CStdErrorInfo oError)
201454  {
201455  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201456  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201457  PyErr_SetString(PyExc_IndexError, strError.c_str());
201458  SWIG_fail;
201459  }
201460  catch(...)
201461  {
201462  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201463  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201464  SWIG_fail;
201465  }
201466  }
201467  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, 0 | 0 );
201468  return resultobj;
201469 fail:
201470  return NULL;
201471 }
201472 
201473 
201474 SWIGINTERN PyObject *_wrap_OdorSensor_OdorTypeID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201475  PyObject *resultobj = 0;
201477  std::string arg2 ;
201478  void *argp1 = 0 ;
201479  int res1 = 0 ;
201480  PyObject * obj0 = 0 ;
201481  PyObject * obj1 = 0 ;
201482 
201483  if (!PyArg_ParseTuple(args,(char *)"OO:OdorSensor_OdorTypeID",&obj0,&obj1)) SWIG_fail;
201484  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, 0 | 0 );
201485  if (!SWIG_IsOK(res1)) {
201486  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorSensor_OdorTypeID" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::OdorSensor *""'");
201487  }
201488  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::OdorSensor * >(argp1);
201489  {
201490  std::string *ptr = (std::string *)0;
201491  int res = SWIG_AsPtr_std_string(obj1, &ptr);
201492  if (!SWIG_IsOK(res) || !ptr) {
201493  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "OdorSensor_OdorTypeID" "', argument " "2"" of type '" "std::string""'");
201494  }
201495  arg2 = *ptr;
201496  if (SWIG_IsNewObj(res)) delete ptr;
201497  }
201498  {
201499  try {
201500  (arg1)->OdorTypeID(arg2);
201501  }
201502  catch(CStdErrorInfo oError)
201503  {
201504  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201505  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201506  PyErr_SetString(PyExc_IndexError, strError.c_str());
201507  SWIG_fail;
201508  }
201509  catch(...)
201510  {
201511  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201512  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201513  SWIG_fail;
201514  }
201515  }
201516  resultobj = SWIG_Py_Void();
201517  return resultobj;
201518 fail:
201519  return NULL;
201520 }
201521 
201522 
201523 SWIGINTERN PyObject *_wrap_OdorSensor_OdorTypeID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201524  PyObject *resultobj = 0;
201526  void *argp1 = 0 ;
201527  int res1 = 0 ;
201528  PyObject * obj0 = 0 ;
201529  std::string result;
201530 
201531  if (!PyArg_ParseTuple(args,(char *)"O:OdorSensor_OdorTypeID",&obj0)) SWIG_fail;
201532  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, 0 | 0 );
201533  if (!SWIG_IsOK(res1)) {
201534  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorSensor_OdorTypeID" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::OdorSensor *""'");
201535  }
201536  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::OdorSensor * >(argp1);
201537  {
201538  try {
201539  result = (arg1)->OdorTypeID();
201540  }
201541  catch(CStdErrorInfo oError)
201542  {
201543  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201544  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201545  PyErr_SetString(PyExc_IndexError, strError.c_str());
201546  SWIG_fail;
201547  }
201548  catch(...)
201549  {
201550  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201551  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201552  SWIG_fail;
201553  }
201554  }
201555  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
201556  return resultobj;
201557 fail:
201558  return NULL;
201559 }
201560 
201561 
201562 SWIGINTERN PyObject *_wrap_OdorSensor_OdorTypeID(PyObject *self, PyObject *args) {
201563  int argc;
201564  PyObject *argv[3];
201565  int ii;
201566 
201567  if (!PyTuple_Check(args)) SWIG_fail;
201568  argc = args ? (int)PyObject_Length(args) : 0;
201569  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
201570  argv[ii] = PyTuple_GET_ITEM(args,ii);
201571  }
201572  if (argc == 1) {
201573  int _v;
201574  void *vptr = 0;
201575  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, 0);
201576  _v = SWIG_CheckState(res);
201577  if (_v) {
201578  return _wrap_OdorSensor_OdorTypeID__SWIG_1(self, args);
201579  }
201580  }
201581  if (argc == 2) {
201582  int _v;
201583  void *vptr = 0;
201584  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, 0);
201585  _v = SWIG_CheckState(res);
201586  if (_v) {
201587  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
201588  _v = SWIG_CheckState(res);
201589  if (_v) {
201590  return _wrap_OdorSensor_OdorTypeID__SWIG_0(self, args);
201591  }
201592  }
201593  }
201594 
201595 fail:
201596  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'OdorSensor_OdorTypeID'.\n"
201597  " Possible C/C++ prototypes are:\n"
201598  " AnimatSim::Environment::Bodies::OdorSensor::OdorTypeID(std::string)\n"
201599  " AnimatSim::Environment::Bodies::OdorSensor::OdorTypeID()\n");
201600  return 0;
201601 }
201602 
201603 
201604 SWIGINTERN PyObject *_wrap_OdorSensor_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201605  PyObject *resultobj = 0;
201607  void *argp1 = 0 ;
201608  int res1 = 0 ;
201609  PyObject * obj0 = 0 ;
201610 
201611  if (!PyArg_ParseTuple(args,(char *)"O:OdorSensor_ResetSimulation",&obj0)) SWIG_fail;
201612  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, 0 | 0 );
201613  if (!SWIG_IsOK(res1)) {
201614  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorSensor_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::OdorSensor *""'");
201615  }
201616  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::OdorSensor * >(argp1);
201617  {
201618  try {
201619  (arg1)->ResetSimulation();
201620  }
201621  catch(CStdErrorInfo oError)
201622  {
201623  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201624  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201625  PyErr_SetString(PyExc_IndexError, strError.c_str());
201626  SWIG_fail;
201627  }
201628  catch(...)
201629  {
201630  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201631  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201632  SWIG_fail;
201633  }
201634  }
201635  resultobj = SWIG_Py_Void();
201636  return resultobj;
201637 fail:
201638  return NULL;
201639 }
201640 
201641 
201642 SWIGINTERN PyObject *_wrap_OdorSensor_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201643  PyObject *resultobj = 0;
201645  std::string *arg2 = 0 ;
201646  std::string *arg3 = 0 ;
201647  bool arg4 ;
201648  void *argp1 = 0 ;
201649  int res1 = 0 ;
201650  int res2 = SWIG_OLDOBJ ;
201651  int res3 = SWIG_OLDOBJ ;
201652  bool val4 ;
201653  int ecode4 = 0 ;
201654  PyObject * obj0 = 0 ;
201655  PyObject * obj1 = 0 ;
201656  PyObject * obj2 = 0 ;
201657  PyObject * obj3 = 0 ;
201658  bool result;
201659 
201660  if (!PyArg_ParseTuple(args,(char *)"OOOO:OdorSensor_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
201661  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, 0 | 0 );
201662  if (!SWIG_IsOK(res1)) {
201663  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorSensor_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::OdorSensor *""'");
201664  }
201665  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::OdorSensor * >(argp1);
201666  {
201667  std::string *ptr = (std::string *)0;
201668  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
201669  if (!SWIG_IsOK(res2)) {
201670  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OdorSensor_SetData" "', argument " "2"" of type '" "std::string const &""'");
201671  }
201672  if (!ptr) {
201673  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OdorSensor_SetData" "', argument " "2"" of type '" "std::string const &""'");
201674  }
201675  arg2 = ptr;
201676  }
201677  {
201678  std::string *ptr = (std::string *)0;
201679  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
201680  if (!SWIG_IsOK(res3)) {
201681  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OdorSensor_SetData" "', argument " "3"" of type '" "std::string const &""'");
201682  }
201683  if (!ptr) {
201684  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OdorSensor_SetData" "', argument " "3"" of type '" "std::string const &""'");
201685  }
201686  arg3 = ptr;
201687  }
201688  ecode4 = SWIG_AsVal_bool(obj3, &val4);
201689  if (!SWIG_IsOK(ecode4)) {
201690  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OdorSensor_SetData" "', argument " "4"" of type '" "bool""'");
201691  }
201692  arg4 = static_cast< bool >(val4);
201693  {
201694  try {
201695  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
201696  }
201697  catch(CStdErrorInfo oError)
201698  {
201699  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201700  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201701  PyErr_SetString(PyExc_IndexError, strError.c_str());
201702  SWIG_fail;
201703  }
201704  catch(...)
201705  {
201706  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201707  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201708  SWIG_fail;
201709  }
201710  }
201711  resultobj = SWIG_From_bool(static_cast< bool >(result));
201712  if (SWIG_IsNewObj(res2)) delete arg2;
201713  if (SWIG_IsNewObj(res3)) delete arg3;
201714  return resultobj;
201715 fail:
201716  if (SWIG_IsNewObj(res2)) delete arg2;
201717  if (SWIG_IsNewObj(res3)) delete arg3;
201718  return NULL;
201719 }
201720 
201721 
201722 SWIGINTERN PyObject *_wrap_OdorSensor_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201723  PyObject *resultobj = 0;
201725  std::string *arg2 = 0 ;
201726  std::string *arg3 = 0 ;
201727  void *argp1 = 0 ;
201728  int res1 = 0 ;
201729  int res2 = SWIG_OLDOBJ ;
201730  int res3 = SWIG_OLDOBJ ;
201731  PyObject * obj0 = 0 ;
201732  PyObject * obj1 = 0 ;
201733  PyObject * obj2 = 0 ;
201734  bool result;
201735 
201736  if (!PyArg_ParseTuple(args,(char *)"OOO:OdorSensor_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
201737  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, 0 | 0 );
201738  if (!SWIG_IsOK(res1)) {
201739  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorSensor_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::OdorSensor *""'");
201740  }
201741  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::OdorSensor * >(argp1);
201742  {
201743  std::string *ptr = (std::string *)0;
201744  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
201745  if (!SWIG_IsOK(res2)) {
201746  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OdorSensor_SetData" "', argument " "2"" of type '" "std::string const &""'");
201747  }
201748  if (!ptr) {
201749  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OdorSensor_SetData" "', argument " "2"" of type '" "std::string const &""'");
201750  }
201751  arg2 = ptr;
201752  }
201753  {
201754  std::string *ptr = (std::string *)0;
201755  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
201756  if (!SWIG_IsOK(res3)) {
201757  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OdorSensor_SetData" "', argument " "3"" of type '" "std::string const &""'");
201758  }
201759  if (!ptr) {
201760  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OdorSensor_SetData" "', argument " "3"" of type '" "std::string const &""'");
201761  }
201762  arg3 = ptr;
201763  }
201764  {
201765  try {
201766  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
201767  }
201768  catch(CStdErrorInfo oError)
201769  {
201770  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201771  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201772  PyErr_SetString(PyExc_IndexError, strError.c_str());
201773  SWIG_fail;
201774  }
201775  catch(...)
201776  {
201777  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201778  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201779  SWIG_fail;
201780  }
201781  }
201782  resultobj = SWIG_From_bool(static_cast< bool >(result));
201783  if (SWIG_IsNewObj(res2)) delete arg2;
201784  if (SWIG_IsNewObj(res3)) delete arg3;
201785  return resultobj;
201786 fail:
201787  if (SWIG_IsNewObj(res2)) delete arg2;
201788  if (SWIG_IsNewObj(res3)) delete arg3;
201789  return NULL;
201790 }
201791 
201792 
201793 SWIGINTERN PyObject *_wrap_OdorSensor_SetData(PyObject *self, PyObject *args) {
201794  int argc;
201795  PyObject *argv[5];
201796  int ii;
201797 
201798  if (!PyTuple_Check(args)) SWIG_fail;
201799  argc = args ? (int)PyObject_Length(args) : 0;
201800  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
201801  argv[ii] = PyTuple_GET_ITEM(args,ii);
201802  }
201803  if (argc == 3) {
201804  int _v;
201805  void *vptr = 0;
201806  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, 0);
201807  _v = SWIG_CheckState(res);
201808  if (_v) {
201809  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
201810  _v = SWIG_CheckState(res);
201811  if (_v) {
201812  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
201813  _v = SWIG_CheckState(res);
201814  if (_v) {
201815  return _wrap_OdorSensor_SetData__SWIG_1(self, args);
201816  }
201817  }
201818  }
201819  }
201820  if (argc == 4) {
201821  int _v;
201822  void *vptr = 0;
201823  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, 0);
201824  _v = SWIG_CheckState(res);
201825  if (_v) {
201826  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
201827  _v = SWIG_CheckState(res);
201828  if (_v) {
201829  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
201830  _v = SWIG_CheckState(res);
201831  if (_v) {
201832  {
201833  int res = SWIG_AsVal_bool(argv[3], NULL);
201834  _v = SWIG_CheckState(res);
201835  }
201836  if (_v) {
201837  return _wrap_OdorSensor_SetData__SWIG_0(self, args);
201838  }
201839  }
201840  }
201841  }
201842  }
201843 
201844 fail:
201845  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'OdorSensor_SetData'.\n"
201846  " Possible C/C++ prototypes are:\n"
201847  " AnimatSim::Environment::Bodies::OdorSensor::SetData(std::string const &,std::string const &,bool)\n"
201848  " AnimatSim::Environment::Bodies::OdorSensor::SetData(std::string const &,std::string const &)\n");
201849  return 0;
201850 }
201851 
201852 
201853 SWIGINTERN PyObject *_wrap_OdorSensor_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201854  PyObject *resultobj = 0;
201856  CStdPtrArray< TypeProperty > *arg2 = 0 ;
201857  void *argp1 = 0 ;
201858  int res1 = 0 ;
201859  void *argp2 = 0 ;
201860  int res2 = 0 ;
201861  PyObject * obj0 = 0 ;
201862  PyObject * obj1 = 0 ;
201863 
201864  if (!PyArg_ParseTuple(args,(char *)"OO:OdorSensor_QueryProperties",&obj0,&obj1)) SWIG_fail;
201865  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, 0 | 0 );
201866  if (!SWIG_IsOK(res1)) {
201867  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorSensor_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::OdorSensor *""'");
201868  }
201869  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::OdorSensor * >(argp1);
201870  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
201871  if (!SWIG_IsOK(res2)) {
201872  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OdorSensor_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
201873  }
201874  if (!argp2) {
201875  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OdorSensor_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
201876  }
201877  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
201878  {
201879  try {
201880  (arg1)->QueryProperties(*arg2);
201881  }
201882  catch(CStdErrorInfo oError)
201883  {
201884  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201885  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201886  PyErr_SetString(PyExc_IndexError, strError.c_str());
201887  SWIG_fail;
201888  }
201889  catch(...)
201890  {
201891  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201892  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201893  SWIG_fail;
201894  }
201895  }
201896  resultobj = SWIG_Py_Void();
201897  return resultobj;
201898 fail:
201899  return NULL;
201900 }
201901 
201902 
201903 SWIGINTERN PyObject *_wrap_OdorSensor_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201904  PyObject *resultobj = 0;
201906  std::string *arg2 = 0 ;
201907  void *argp1 = 0 ;
201908  int res1 = 0 ;
201909  int res2 = SWIG_OLDOBJ ;
201910  PyObject * obj0 = 0 ;
201911  PyObject * obj1 = 0 ;
201912  float *result = 0 ;
201913 
201914  if (!PyArg_ParseTuple(args,(char *)"OO:OdorSensor_GetDataPointer",&obj0,&obj1)) SWIG_fail;
201915  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, 0 | 0 );
201916  if (!SWIG_IsOK(res1)) {
201917  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorSensor_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::OdorSensor *""'");
201918  }
201919  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::OdorSensor * >(argp1);
201920  {
201921  std::string *ptr = (std::string *)0;
201922  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
201923  if (!SWIG_IsOK(res2)) {
201924  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OdorSensor_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
201925  }
201926  if (!ptr) {
201927  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OdorSensor_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
201928  }
201929  arg2 = ptr;
201930  }
201931  {
201932  try {
201933  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
201934  }
201935  catch(CStdErrorInfo oError)
201936  {
201937  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201938  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201939  PyErr_SetString(PyExc_IndexError, strError.c_str());
201940  SWIG_fail;
201941  }
201942  catch(...)
201943  {
201944  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201945  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201946  SWIG_fail;
201947  }
201948  }
201949  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
201950  if (SWIG_IsNewObj(res2)) delete arg2;
201951  return resultobj;
201952 fail:
201953  if (SWIG_IsNewObj(res2)) delete arg2;
201954  return NULL;
201955 }
201956 
201957 
201958 SWIGINTERN PyObject *_wrap_OdorSensor_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201959  PyObject *resultobj = 0;
201961  void *argp1 = 0 ;
201962  int res1 = 0 ;
201963  PyObject * obj0 = 0 ;
201964 
201965  if (!PyArg_ParseTuple(args,(char *)"O:OdorSensor_StepSimulation",&obj0)) SWIG_fail;
201966  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, 0 | 0 );
201967  if (!SWIG_IsOK(res1)) {
201968  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorSensor_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::OdorSensor *""'");
201969  }
201970  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::OdorSensor * >(argp1);
201971  {
201972  try {
201973  (arg1)->StepSimulation();
201974  }
201975  catch(CStdErrorInfo oError)
201976  {
201977  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201978  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
201979  PyErr_SetString(PyExc_IndexError, strError.c_str());
201980  SWIG_fail;
201981  }
201982  catch(...)
201983  {
201984  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
201985  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
201986  SWIG_fail;
201987  }
201988  }
201989  resultobj = SWIG_Py_Void();
201990  return resultobj;
201991 fail:
201992  return NULL;
201993 }
201994 
201995 
201996 SWIGINTERN PyObject *_wrap_OdorSensor_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
201997  PyObject *resultobj = 0;
201999  CStdXml *arg2 = 0 ;
202000  void *argp1 = 0 ;
202001  int res1 = 0 ;
202002  void *argp2 = 0 ;
202003  int res2 = 0 ;
202004  PyObject * obj0 = 0 ;
202005  PyObject * obj1 = 0 ;
202006 
202007  if (!PyArg_ParseTuple(args,(char *)"OO:OdorSensor_Load",&obj0,&obj1)) SWIG_fail;
202008  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, 0 | 0 );
202009  if (!SWIG_IsOK(res1)) {
202010  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OdorSensor_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::OdorSensor *""'");
202011  }
202012  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::OdorSensor * >(argp1);
202013  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
202014  if (!SWIG_IsOK(res2)) {
202015  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OdorSensor_Load" "', argument " "2"" of type '" "CStdXml &""'");
202016  }
202017  if (!argp2) {
202018  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OdorSensor_Load" "', argument " "2"" of type '" "CStdXml &""'");
202019  }
202020  arg2 = reinterpret_cast< CStdXml * >(argp2);
202021  {
202022  try {
202023  (arg1)->Load(*arg2);
202024  }
202025  catch(CStdErrorInfo oError)
202026  {
202027  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202028  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202029  PyErr_SetString(PyExc_IndexError, strError.c_str());
202030  SWIG_fail;
202031  }
202032  catch(...)
202033  {
202034  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202035  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202036  SWIG_fail;
202037  }
202038  }
202039  resultobj = SWIG_Py_Void();
202040  return resultobj;
202041 fail:
202042  return NULL;
202043 }
202044 
202045 
202046 SWIGINTERN PyObject *OdorSensor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202047  PyObject *obj;
202048  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
202049  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor, SWIG_NewClientData(obj));
202050  return SWIG_Py_Void();
202051 }
202052 
202053 SWIGINTERN PyObject *_wrap_new_Sphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202054  PyObject *resultobj = 0;
202056 
202057  if (!PyArg_ParseTuple(args,(char *)":new_Sphere")) SWIG_fail;
202058  {
202059  try {
202061  }
202062  catch(CStdErrorInfo oError)
202063  {
202064  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202065  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202066  PyErr_SetString(PyExc_IndexError, strError.c_str());
202067  SWIG_fail;
202068  }
202069  catch(...)
202070  {
202071  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202072  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202073  SWIG_fail;
202074  }
202075  }
202076  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, SWIG_POINTER_NEW | 0 );
202077  return resultobj;
202078 fail:
202079  return NULL;
202080 }
202081 
202082 
202083 SWIGINTERN PyObject *_wrap_delete_Sphere(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202084  PyObject *resultobj = 0;
202086  void *argp1 = 0 ;
202087  int res1 = 0 ;
202088  PyObject * obj0 = 0 ;
202089 
202090  if (!PyArg_ParseTuple(args,(char *)"O:delete_Sphere",&obj0)) SWIG_fail;
202091  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, SWIG_POINTER_DISOWN | 0 );
202092  if (!SWIG_IsOK(res1)) {
202093  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Sphere" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sphere *""'");
202094  }
202095  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sphere * >(argp1);
202096  {
202097  try {
202098  delete arg1;
202099  }
202100  catch(CStdErrorInfo oError)
202101  {
202102  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202103  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202104  PyErr_SetString(PyExc_IndexError, strError.c_str());
202105  SWIG_fail;
202106  }
202107  catch(...)
202108  {
202109  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202110  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202111  SWIG_fail;
202112  }
202113  }
202114  resultobj = SWIG_Py_Void();
202115  return resultobj;
202116 fail:
202117  return NULL;
202118 }
202119 
202120 
202121 SWIGINTERN PyObject *_wrap_Sphere_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202122  PyObject *resultobj = 0;
202124  void *argp1 = 0 ;
202125  int res1 = 0 ;
202126  PyObject * obj0 = 0 ;
202128 
202129  if (!PyArg_ParseTuple(args,(char *)"O:Sphere_CastToDerived",&obj0)) SWIG_fail;
202130  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
202131  if (!SWIG_IsOK(res1)) {
202132  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sphere_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
202133  }
202134  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
202135  {
202136  try {
202137  result = (AnimatSim::Environment::Bodies::Sphere *)AnimatSim::Environment::Bodies::Sphere::CastToDerived(arg1);
202138  }
202139  catch(CStdErrorInfo oError)
202140  {
202141  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202142  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202143  PyErr_SetString(PyExc_IndexError, strError.c_str());
202144  SWIG_fail;
202145  }
202146  catch(...)
202147  {
202148  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202149  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202150  SWIG_fail;
202151  }
202152  }
202153  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0 | 0 );
202154  return resultobj;
202155 fail:
202156  return NULL;
202157 }
202158 
202159 
202160 SWIGINTERN PyObject *_wrap_Sphere_Radius__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202161  PyObject *resultobj = 0;
202163  void *argp1 = 0 ;
202164  int res1 = 0 ;
202165  PyObject * obj0 = 0 ;
202166  float result;
202167 
202168  if (!PyArg_ParseTuple(args,(char *)"O:Sphere_Radius",&obj0)) SWIG_fail;
202169  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0 | 0 );
202170  if (!SWIG_IsOK(res1)) {
202171  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sphere_Radius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sphere *""'");
202172  }
202173  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sphere * >(argp1);
202174  {
202175  try {
202176  result = (float)(arg1)->Radius();
202177  }
202178  catch(CStdErrorInfo oError)
202179  {
202180  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202181  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202182  PyErr_SetString(PyExc_IndexError, strError.c_str());
202183  SWIG_fail;
202184  }
202185  catch(...)
202186  {
202187  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202188  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202189  SWIG_fail;
202190  }
202191  }
202192  resultobj = SWIG_From_float(static_cast< float >(result));
202193  return resultobj;
202194 fail:
202195  return NULL;
202196 }
202197 
202198 
202199 SWIGINTERN PyObject *_wrap_Sphere_Radius__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202200  PyObject *resultobj = 0;
202202  float arg2 ;
202203  bool arg3 ;
202204  void *argp1 = 0 ;
202205  int res1 = 0 ;
202206  float val2 ;
202207  int ecode2 = 0 ;
202208  bool val3 ;
202209  int ecode3 = 0 ;
202210  PyObject * obj0 = 0 ;
202211  PyObject * obj1 = 0 ;
202212  PyObject * obj2 = 0 ;
202213 
202214  if (!PyArg_ParseTuple(args,(char *)"OOO:Sphere_Radius",&obj0,&obj1,&obj2)) SWIG_fail;
202215  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0 | 0 );
202216  if (!SWIG_IsOK(res1)) {
202217  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sphere_Radius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sphere *""'");
202218  }
202219  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sphere * >(argp1);
202220  ecode2 = SWIG_AsVal_float(obj1, &val2);
202221  if (!SWIG_IsOK(ecode2)) {
202222  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Sphere_Radius" "', argument " "2"" of type '" "float""'");
202223  }
202224  arg2 = static_cast< float >(val2);
202225  ecode3 = SWIG_AsVal_bool(obj2, &val3);
202226  if (!SWIG_IsOK(ecode3)) {
202227  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Sphere_Radius" "', argument " "3"" of type '" "bool""'");
202228  }
202229  arg3 = static_cast< bool >(val3);
202230  {
202231  try {
202232  (arg1)->Radius(arg2,arg3);
202233  }
202234  catch(CStdErrorInfo oError)
202235  {
202236  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202237  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202238  PyErr_SetString(PyExc_IndexError, strError.c_str());
202239  SWIG_fail;
202240  }
202241  catch(...)
202242  {
202243  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202244  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202245  SWIG_fail;
202246  }
202247  }
202248  resultobj = SWIG_Py_Void();
202249  return resultobj;
202250 fail:
202251  return NULL;
202252 }
202253 
202254 
202255 SWIGINTERN PyObject *_wrap_Sphere_Radius__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202256  PyObject *resultobj = 0;
202258  float arg2 ;
202259  void *argp1 = 0 ;
202260  int res1 = 0 ;
202261  float val2 ;
202262  int ecode2 = 0 ;
202263  PyObject * obj0 = 0 ;
202264  PyObject * obj1 = 0 ;
202265 
202266  if (!PyArg_ParseTuple(args,(char *)"OO:Sphere_Radius",&obj0,&obj1)) SWIG_fail;
202267  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0 | 0 );
202268  if (!SWIG_IsOK(res1)) {
202269  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sphere_Radius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sphere *""'");
202270  }
202271  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sphere * >(argp1);
202272  ecode2 = SWIG_AsVal_float(obj1, &val2);
202273  if (!SWIG_IsOK(ecode2)) {
202274  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Sphere_Radius" "', argument " "2"" of type '" "float""'");
202275  }
202276  arg2 = static_cast< float >(val2);
202277  {
202278  try {
202279  (arg1)->Radius(arg2);
202280  }
202281  catch(CStdErrorInfo oError)
202282  {
202283  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202284  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202285  PyErr_SetString(PyExc_IndexError, strError.c_str());
202286  SWIG_fail;
202287  }
202288  catch(...)
202289  {
202290  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202291  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202292  SWIG_fail;
202293  }
202294  }
202295  resultobj = SWIG_Py_Void();
202296  return resultobj;
202297 fail:
202298  return NULL;
202299 }
202300 
202301 
202302 SWIGINTERN PyObject *_wrap_Sphere_Radius(PyObject *self, PyObject *args) {
202303  int argc;
202304  PyObject *argv[4];
202305  int ii;
202306 
202307  if (!PyTuple_Check(args)) SWIG_fail;
202308  argc = args ? (int)PyObject_Length(args) : 0;
202309  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
202310  argv[ii] = PyTuple_GET_ITEM(args,ii);
202311  }
202312  if (argc == 1) {
202313  int _v;
202314  void *vptr = 0;
202315  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0);
202316  _v = SWIG_CheckState(res);
202317  if (_v) {
202318  return _wrap_Sphere_Radius__SWIG_0(self, args);
202319  }
202320  }
202321  if (argc == 2) {
202322  int _v;
202323  void *vptr = 0;
202324  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0);
202325  _v = SWIG_CheckState(res);
202326  if (_v) {
202327  {
202328  int res = SWIG_AsVal_float(argv[1], NULL);
202329  _v = SWIG_CheckState(res);
202330  }
202331  if (_v) {
202332  return _wrap_Sphere_Radius__SWIG_2(self, args);
202333  }
202334  }
202335  }
202336  if (argc == 3) {
202337  int _v;
202338  void *vptr = 0;
202339  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0);
202340  _v = SWIG_CheckState(res);
202341  if (_v) {
202342  {
202343  int res = SWIG_AsVal_float(argv[1], NULL);
202344  _v = SWIG_CheckState(res);
202345  }
202346  if (_v) {
202347  {
202348  int res = SWIG_AsVal_bool(argv[2], NULL);
202349  _v = SWIG_CheckState(res);
202350  }
202351  if (_v) {
202352  return _wrap_Sphere_Radius__SWIG_1(self, args);
202353  }
202354  }
202355  }
202356  }
202357 
202358 fail:
202359  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Sphere_Radius'.\n"
202360  " Possible C/C++ prototypes are:\n"
202361  " AnimatSim::Environment::Bodies::Sphere::Radius()\n"
202362  " AnimatSim::Environment::Bodies::Sphere::Radius(float,bool)\n"
202363  " AnimatSim::Environment::Bodies::Sphere::Radius(float)\n");
202364  return 0;
202365 }
202366 
202367 
202368 SWIGINTERN PyObject *_wrap_Sphere_LatitudeSegments__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202369  PyObject *resultobj = 0;
202371  int arg2 ;
202372  void *argp1 = 0 ;
202373  int res1 = 0 ;
202374  int val2 ;
202375  int ecode2 = 0 ;
202376  PyObject * obj0 = 0 ;
202377  PyObject * obj1 = 0 ;
202378 
202379  if (!PyArg_ParseTuple(args,(char *)"OO:Sphere_LatitudeSegments",&obj0,&obj1)) SWIG_fail;
202380  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0 | 0 );
202381  if (!SWIG_IsOK(res1)) {
202382  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sphere_LatitudeSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sphere *""'");
202383  }
202384  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sphere * >(argp1);
202385  ecode2 = SWIG_AsVal_int(obj1, &val2);
202386  if (!SWIG_IsOK(ecode2)) {
202387  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Sphere_LatitudeSegments" "', argument " "2"" of type '" "int""'");
202388  }
202389  arg2 = static_cast< int >(val2);
202390  {
202391  try {
202392  (arg1)->LatitudeSegments(arg2);
202393  }
202394  catch(CStdErrorInfo oError)
202395  {
202396  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202397  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202398  PyErr_SetString(PyExc_IndexError, strError.c_str());
202399  SWIG_fail;
202400  }
202401  catch(...)
202402  {
202403  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202404  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202405  SWIG_fail;
202406  }
202407  }
202408  resultobj = SWIG_Py_Void();
202409  return resultobj;
202410 fail:
202411  return NULL;
202412 }
202413 
202414 
202415 SWIGINTERN PyObject *_wrap_Sphere_LatitudeSegments__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202416  PyObject *resultobj = 0;
202418  void *argp1 = 0 ;
202419  int res1 = 0 ;
202420  PyObject * obj0 = 0 ;
202421  int result;
202422 
202423  if (!PyArg_ParseTuple(args,(char *)"O:Sphere_LatitudeSegments",&obj0)) SWIG_fail;
202424  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0 | 0 );
202425  if (!SWIG_IsOK(res1)) {
202426  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sphere_LatitudeSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sphere *""'");
202427  }
202428  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sphere * >(argp1);
202429  {
202430  try {
202431  result = (int)(arg1)->LatitudeSegments();
202432  }
202433  catch(CStdErrorInfo oError)
202434  {
202435  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202436  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202437  PyErr_SetString(PyExc_IndexError, strError.c_str());
202438  SWIG_fail;
202439  }
202440  catch(...)
202441  {
202442  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202443  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202444  SWIG_fail;
202445  }
202446  }
202447  resultobj = SWIG_From_int(static_cast< int >(result));
202448  return resultobj;
202449 fail:
202450  return NULL;
202451 }
202452 
202453 
202454 SWIGINTERN PyObject *_wrap_Sphere_LatitudeSegments(PyObject *self, PyObject *args) {
202455  int argc;
202456  PyObject *argv[3];
202457  int ii;
202458 
202459  if (!PyTuple_Check(args)) SWIG_fail;
202460  argc = args ? (int)PyObject_Length(args) : 0;
202461  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
202462  argv[ii] = PyTuple_GET_ITEM(args,ii);
202463  }
202464  if (argc == 1) {
202465  int _v;
202466  void *vptr = 0;
202467  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0);
202468  _v = SWIG_CheckState(res);
202469  if (_v) {
202470  return _wrap_Sphere_LatitudeSegments__SWIG_1(self, args);
202471  }
202472  }
202473  if (argc == 2) {
202474  int _v;
202475  void *vptr = 0;
202476  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0);
202477  _v = SWIG_CheckState(res);
202478  if (_v) {
202479  {
202480  int res = SWIG_AsVal_int(argv[1], NULL);
202481  _v = SWIG_CheckState(res);
202482  }
202483  if (_v) {
202484  return _wrap_Sphere_LatitudeSegments__SWIG_0(self, args);
202485  }
202486  }
202487  }
202488 
202489 fail:
202490  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Sphere_LatitudeSegments'.\n"
202491  " Possible C/C++ prototypes are:\n"
202492  " AnimatSim::Environment::Bodies::Sphere::LatitudeSegments(int)\n"
202493  " AnimatSim::Environment::Bodies::Sphere::LatitudeSegments()\n");
202494  return 0;
202495 }
202496 
202497 
202498 SWIGINTERN PyObject *_wrap_Sphere_LongtitudeSegments__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202499  PyObject *resultobj = 0;
202501  int arg2 ;
202502  void *argp1 = 0 ;
202503  int res1 = 0 ;
202504  int val2 ;
202505  int ecode2 = 0 ;
202506  PyObject * obj0 = 0 ;
202507  PyObject * obj1 = 0 ;
202508 
202509  if (!PyArg_ParseTuple(args,(char *)"OO:Sphere_LongtitudeSegments",&obj0,&obj1)) SWIG_fail;
202510  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0 | 0 );
202511  if (!SWIG_IsOK(res1)) {
202512  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sphere_LongtitudeSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sphere *""'");
202513  }
202514  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sphere * >(argp1);
202515  ecode2 = SWIG_AsVal_int(obj1, &val2);
202516  if (!SWIG_IsOK(ecode2)) {
202517  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Sphere_LongtitudeSegments" "', argument " "2"" of type '" "int""'");
202518  }
202519  arg2 = static_cast< int >(val2);
202520  {
202521  try {
202522  (arg1)->LongtitudeSegments(arg2);
202523  }
202524  catch(CStdErrorInfo oError)
202525  {
202526  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202527  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202528  PyErr_SetString(PyExc_IndexError, strError.c_str());
202529  SWIG_fail;
202530  }
202531  catch(...)
202532  {
202533  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202534  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202535  SWIG_fail;
202536  }
202537  }
202538  resultobj = SWIG_Py_Void();
202539  return resultobj;
202540 fail:
202541  return NULL;
202542 }
202543 
202544 
202545 SWIGINTERN PyObject *_wrap_Sphere_LongtitudeSegments__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202546  PyObject *resultobj = 0;
202548  void *argp1 = 0 ;
202549  int res1 = 0 ;
202550  PyObject * obj0 = 0 ;
202551  int result;
202552 
202553  if (!PyArg_ParseTuple(args,(char *)"O:Sphere_LongtitudeSegments",&obj0)) SWIG_fail;
202554  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0 | 0 );
202555  if (!SWIG_IsOK(res1)) {
202556  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sphere_LongtitudeSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sphere *""'");
202557  }
202558  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sphere * >(argp1);
202559  {
202560  try {
202561  result = (int)(arg1)->LongtitudeSegments();
202562  }
202563  catch(CStdErrorInfo oError)
202564  {
202565  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202566  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202567  PyErr_SetString(PyExc_IndexError, strError.c_str());
202568  SWIG_fail;
202569  }
202570  catch(...)
202571  {
202572  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202573  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202574  SWIG_fail;
202575  }
202576  }
202577  resultobj = SWIG_From_int(static_cast< int >(result));
202578  return resultobj;
202579 fail:
202580  return NULL;
202581 }
202582 
202583 
202584 SWIGINTERN PyObject *_wrap_Sphere_LongtitudeSegments(PyObject *self, PyObject *args) {
202585  int argc;
202586  PyObject *argv[3];
202587  int ii;
202588 
202589  if (!PyTuple_Check(args)) SWIG_fail;
202590  argc = args ? (int)PyObject_Length(args) : 0;
202591  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
202592  argv[ii] = PyTuple_GET_ITEM(args,ii);
202593  }
202594  if (argc == 1) {
202595  int _v;
202596  void *vptr = 0;
202597  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0);
202598  _v = SWIG_CheckState(res);
202599  if (_v) {
202600  return _wrap_Sphere_LongtitudeSegments__SWIG_1(self, args);
202601  }
202602  }
202603  if (argc == 2) {
202604  int _v;
202605  void *vptr = 0;
202606  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0);
202607  _v = SWIG_CheckState(res);
202608  if (_v) {
202609  {
202610  int res = SWIG_AsVal_int(argv[1], NULL);
202611  _v = SWIG_CheckState(res);
202612  }
202613  if (_v) {
202614  return _wrap_Sphere_LongtitudeSegments__SWIG_0(self, args);
202615  }
202616  }
202617  }
202618 
202619 fail:
202620  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Sphere_LongtitudeSegments'.\n"
202621  " Possible C/C++ prototypes are:\n"
202622  " AnimatSim::Environment::Bodies::Sphere::LongtitudeSegments(int)\n"
202623  " AnimatSim::Environment::Bodies::Sphere::LongtitudeSegments()\n");
202624  return 0;
202625 }
202626 
202627 
202628 SWIGINTERN PyObject *_wrap_Sphere_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202629  PyObject *resultobj = 0;
202631  std::string *arg2 = 0 ;
202632  std::string *arg3 = 0 ;
202633  bool arg4 ;
202634  void *argp1 = 0 ;
202635  int res1 = 0 ;
202636  int res2 = SWIG_OLDOBJ ;
202637  int res3 = SWIG_OLDOBJ ;
202638  bool val4 ;
202639  int ecode4 = 0 ;
202640  PyObject * obj0 = 0 ;
202641  PyObject * obj1 = 0 ;
202642  PyObject * obj2 = 0 ;
202643  PyObject * obj3 = 0 ;
202644  bool result;
202645 
202646  if (!PyArg_ParseTuple(args,(char *)"OOOO:Sphere_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
202647  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0 | 0 );
202648  if (!SWIG_IsOK(res1)) {
202649  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sphere_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sphere *""'");
202650  }
202651  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sphere * >(argp1);
202652  {
202653  std::string *ptr = (std::string *)0;
202654  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
202655  if (!SWIG_IsOK(res2)) {
202656  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Sphere_SetData" "', argument " "2"" of type '" "std::string const &""'");
202657  }
202658  if (!ptr) {
202659  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Sphere_SetData" "', argument " "2"" of type '" "std::string const &""'");
202660  }
202661  arg2 = ptr;
202662  }
202663  {
202664  std::string *ptr = (std::string *)0;
202665  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
202666  if (!SWIG_IsOK(res3)) {
202667  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Sphere_SetData" "', argument " "3"" of type '" "std::string const &""'");
202668  }
202669  if (!ptr) {
202670  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Sphere_SetData" "', argument " "3"" of type '" "std::string const &""'");
202671  }
202672  arg3 = ptr;
202673  }
202674  ecode4 = SWIG_AsVal_bool(obj3, &val4);
202675  if (!SWIG_IsOK(ecode4)) {
202676  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Sphere_SetData" "', argument " "4"" of type '" "bool""'");
202677  }
202678  arg4 = static_cast< bool >(val4);
202679  {
202680  try {
202681  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
202682  }
202683  catch(CStdErrorInfo oError)
202684  {
202685  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202686  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202687  PyErr_SetString(PyExc_IndexError, strError.c_str());
202688  SWIG_fail;
202689  }
202690  catch(...)
202691  {
202692  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202693  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202694  SWIG_fail;
202695  }
202696  }
202697  resultobj = SWIG_From_bool(static_cast< bool >(result));
202698  if (SWIG_IsNewObj(res2)) delete arg2;
202699  if (SWIG_IsNewObj(res3)) delete arg3;
202700  return resultobj;
202701 fail:
202702  if (SWIG_IsNewObj(res2)) delete arg2;
202703  if (SWIG_IsNewObj(res3)) delete arg3;
202704  return NULL;
202705 }
202706 
202707 
202708 SWIGINTERN PyObject *_wrap_Sphere_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202709  PyObject *resultobj = 0;
202711  std::string *arg2 = 0 ;
202712  std::string *arg3 = 0 ;
202713  void *argp1 = 0 ;
202714  int res1 = 0 ;
202715  int res2 = SWIG_OLDOBJ ;
202716  int res3 = SWIG_OLDOBJ ;
202717  PyObject * obj0 = 0 ;
202718  PyObject * obj1 = 0 ;
202719  PyObject * obj2 = 0 ;
202720  bool result;
202721 
202722  if (!PyArg_ParseTuple(args,(char *)"OOO:Sphere_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
202723  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0 | 0 );
202724  if (!SWIG_IsOK(res1)) {
202725  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sphere_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sphere *""'");
202726  }
202727  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sphere * >(argp1);
202728  {
202729  std::string *ptr = (std::string *)0;
202730  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
202731  if (!SWIG_IsOK(res2)) {
202732  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Sphere_SetData" "', argument " "2"" of type '" "std::string const &""'");
202733  }
202734  if (!ptr) {
202735  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Sphere_SetData" "', argument " "2"" of type '" "std::string const &""'");
202736  }
202737  arg2 = ptr;
202738  }
202739  {
202740  std::string *ptr = (std::string *)0;
202741  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
202742  if (!SWIG_IsOK(res3)) {
202743  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Sphere_SetData" "', argument " "3"" of type '" "std::string const &""'");
202744  }
202745  if (!ptr) {
202746  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Sphere_SetData" "', argument " "3"" of type '" "std::string const &""'");
202747  }
202748  arg3 = ptr;
202749  }
202750  {
202751  try {
202752  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
202753  }
202754  catch(CStdErrorInfo oError)
202755  {
202756  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202757  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202758  PyErr_SetString(PyExc_IndexError, strError.c_str());
202759  SWIG_fail;
202760  }
202761  catch(...)
202762  {
202763  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202764  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202765  SWIG_fail;
202766  }
202767  }
202768  resultobj = SWIG_From_bool(static_cast< bool >(result));
202769  if (SWIG_IsNewObj(res2)) delete arg2;
202770  if (SWIG_IsNewObj(res3)) delete arg3;
202771  return resultobj;
202772 fail:
202773  if (SWIG_IsNewObj(res2)) delete arg2;
202774  if (SWIG_IsNewObj(res3)) delete arg3;
202775  return NULL;
202776 }
202777 
202778 
202779 SWIGINTERN PyObject *_wrap_Sphere_SetData(PyObject *self, PyObject *args) {
202780  int argc;
202781  PyObject *argv[5];
202782  int ii;
202783 
202784  if (!PyTuple_Check(args)) SWIG_fail;
202785  argc = args ? (int)PyObject_Length(args) : 0;
202786  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
202787  argv[ii] = PyTuple_GET_ITEM(args,ii);
202788  }
202789  if (argc == 3) {
202790  int _v;
202791  void *vptr = 0;
202792  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0);
202793  _v = SWIG_CheckState(res);
202794  if (_v) {
202795  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
202796  _v = SWIG_CheckState(res);
202797  if (_v) {
202798  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
202799  _v = SWIG_CheckState(res);
202800  if (_v) {
202801  return _wrap_Sphere_SetData__SWIG_1(self, args);
202802  }
202803  }
202804  }
202805  }
202806  if (argc == 4) {
202807  int _v;
202808  void *vptr = 0;
202809  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0);
202810  _v = SWIG_CheckState(res);
202811  if (_v) {
202812  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
202813  _v = SWIG_CheckState(res);
202814  if (_v) {
202815  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
202816  _v = SWIG_CheckState(res);
202817  if (_v) {
202818  {
202819  int res = SWIG_AsVal_bool(argv[3], NULL);
202820  _v = SWIG_CheckState(res);
202821  }
202822  if (_v) {
202823  return _wrap_Sphere_SetData__SWIG_0(self, args);
202824  }
202825  }
202826  }
202827  }
202828  }
202829 
202830 fail:
202831  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Sphere_SetData'.\n"
202832  " Possible C/C++ prototypes are:\n"
202833  " AnimatSim::Environment::Bodies::Sphere::SetData(std::string const &,std::string const &,bool)\n"
202834  " AnimatSim::Environment::Bodies::Sphere::SetData(std::string const &,std::string const &)\n");
202835  return 0;
202836 }
202837 
202838 
202839 SWIGINTERN PyObject *_wrap_Sphere_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202840  PyObject *resultobj = 0;
202842  CStdPtrArray< TypeProperty > *arg2 = 0 ;
202843  void *argp1 = 0 ;
202844  int res1 = 0 ;
202845  void *argp2 = 0 ;
202846  int res2 = 0 ;
202847  PyObject * obj0 = 0 ;
202848  PyObject * obj1 = 0 ;
202849 
202850  if (!PyArg_ParseTuple(args,(char *)"OO:Sphere_QueryProperties",&obj0,&obj1)) SWIG_fail;
202851  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0 | 0 );
202852  if (!SWIG_IsOK(res1)) {
202853  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sphere_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sphere *""'");
202854  }
202855  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sphere * >(argp1);
202856  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
202857  if (!SWIG_IsOK(res2)) {
202858  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Sphere_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
202859  }
202860  if (!argp2) {
202861  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Sphere_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
202862  }
202863  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
202864  {
202865  try {
202866  (arg1)->QueryProperties(*arg2);
202867  }
202868  catch(CStdErrorInfo oError)
202869  {
202870  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202871  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202872  PyErr_SetString(PyExc_IndexError, strError.c_str());
202873  SWIG_fail;
202874  }
202875  catch(...)
202876  {
202877  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202878  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202879  SWIG_fail;
202880  }
202881  }
202882  resultobj = SWIG_Py_Void();
202883  return resultobj;
202884 fail:
202885  return NULL;
202886 }
202887 
202888 
202889 SWIGINTERN PyObject *_wrap_Sphere_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202890  PyObject *resultobj = 0;
202892  CStdXml *arg2 = 0 ;
202893  void *argp1 = 0 ;
202894  int res1 = 0 ;
202895  void *argp2 = 0 ;
202896  int res2 = 0 ;
202897  PyObject * obj0 = 0 ;
202898  PyObject * obj1 = 0 ;
202899 
202900  if (!PyArg_ParseTuple(args,(char *)"OO:Sphere_Load",&obj0,&obj1)) SWIG_fail;
202901  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, 0 | 0 );
202902  if (!SWIG_IsOK(res1)) {
202903  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Sphere_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Sphere *""'");
202904  }
202905  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Sphere * >(argp1);
202906  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
202907  if (!SWIG_IsOK(res2)) {
202908  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Sphere_Load" "', argument " "2"" of type '" "CStdXml &""'");
202909  }
202910  if (!argp2) {
202911  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Sphere_Load" "', argument " "2"" of type '" "CStdXml &""'");
202912  }
202913  arg2 = reinterpret_cast< CStdXml * >(argp2);
202914  {
202915  try {
202916  (arg1)->Load(*arg2);
202917  }
202918  catch(CStdErrorInfo oError)
202919  {
202920  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202921  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202922  PyErr_SetString(PyExc_IndexError, strError.c_str());
202923  SWIG_fail;
202924  }
202925  catch(...)
202926  {
202927  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202928  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202929  SWIG_fail;
202930  }
202931  }
202932  resultobj = SWIG_Py_Void();
202933  return resultobj;
202934 fail:
202935  return NULL;
202936 }
202937 
202938 
202939 SWIGINTERN PyObject *Sphere_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202940  PyObject *obj;
202941  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
202942  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere, SWIG_NewClientData(obj));
202943  return SWIG_Py_Void();
202944 }
202945 
202946 SWIGINTERN PyObject *_wrap_new_Spring(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202947  PyObject *resultobj = 0;
202949 
202950  if (!PyArg_ParseTuple(args,(char *)":new_Spring")) SWIG_fail;
202951  {
202952  try {
202954  }
202955  catch(CStdErrorInfo oError)
202956  {
202957  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202958  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202959  PyErr_SetString(PyExc_IndexError, strError.c_str());
202960  SWIG_fail;
202961  }
202962  catch(...)
202963  {
202964  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202965  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
202966  SWIG_fail;
202967  }
202968  }
202969  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, SWIG_POINTER_NEW | 0 );
202970  return resultobj;
202971 fail:
202972  return NULL;
202973 }
202974 
202975 
202976 SWIGINTERN PyObject *_wrap_delete_Spring(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
202977  PyObject *resultobj = 0;
202979  void *argp1 = 0 ;
202980  int res1 = 0 ;
202981  PyObject * obj0 = 0 ;
202982 
202983  if (!PyArg_ParseTuple(args,(char *)"O:delete_Spring",&obj0)) SWIG_fail;
202984  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, SWIG_POINTER_DISOWN | 0 );
202985  if (!SWIG_IsOK(res1)) {
202986  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Spring" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
202987  }
202988  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
202989  {
202990  try {
202991  delete arg1;
202992  }
202993  catch(CStdErrorInfo oError)
202994  {
202995  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
202996  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
202997  PyErr_SetString(PyExc_IndexError, strError.c_str());
202998  SWIG_fail;
202999  }
203000  catch(...)
203001  {
203002  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203003  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203004  SWIG_fail;
203005  }
203006  }
203007  resultobj = SWIG_Py_Void();
203008  return resultobj;
203009 fail:
203010  return NULL;
203011 }
203012 
203013 
203014 SWIGINTERN PyObject *_wrap_Spring_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203015  PyObject *resultobj = 0;
203017  void *argp1 = 0 ;
203018  int res1 = 0 ;
203019  PyObject * obj0 = 0 ;
203021 
203022  if (!PyArg_ParseTuple(args,(char *)"O:Spring_CastToDerived",&obj0)) SWIG_fail;
203023  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
203024  if (!SWIG_IsOK(res1)) {
203025  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
203026  }
203027  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
203028  {
203029  try {
203030  result = (AnimatSim::Environment::Bodies::Spring *)AnimatSim::Environment::Bodies::Spring::CastToDerived(arg1);
203031  }
203032  catch(CStdErrorInfo oError)
203033  {
203034  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203035  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203036  PyErr_SetString(PyExc_IndexError, strError.c_str());
203037  SWIG_fail;
203038  }
203039  catch(...)
203040  {
203041  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203042  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203043  SWIG_fail;
203044  }
203045  }
203046  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203047  return resultobj;
203048 fail:
203049  return NULL;
203050 }
203051 
203052 
203053 SWIGINTERN PyObject *_wrap_Spring_InitEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203054  PyObject *resultobj = 0;
203056  void *argp1 = 0 ;
203057  int res1 = 0 ;
203058  PyObject * obj0 = 0 ;
203059  bool result;
203060 
203061  if (!PyArg_ParseTuple(args,(char *)"O:Spring_InitEnabled",&obj0)) SWIG_fail;
203062  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203063  if (!SWIG_IsOK(res1)) {
203064  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_InitEnabled" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203065  }
203066  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203067  {
203068  try {
203069  result = (bool)(arg1)->InitEnabled();
203070  }
203071  catch(CStdErrorInfo oError)
203072  {
203073  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203074  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203075  PyErr_SetString(PyExc_IndexError, strError.c_str());
203076  SWIG_fail;
203077  }
203078  catch(...)
203079  {
203080  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203081  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203082  SWIG_fail;
203083  }
203084  }
203085  resultobj = SWIG_From_bool(static_cast< bool >(result));
203086  return resultobj;
203087 fail:
203088  return NULL;
203089 }
203090 
203091 
203092 SWIGINTERN PyObject *_wrap_Spring_NaturalLength__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203093  PyObject *resultobj = 0;
203095  void *argp1 = 0 ;
203096  int res1 = 0 ;
203097  PyObject * obj0 = 0 ;
203098  float result;
203099 
203100  if (!PyArg_ParseTuple(args,(char *)"O:Spring_NaturalLength",&obj0)) SWIG_fail;
203101  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203102  if (!SWIG_IsOK(res1)) {
203103  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_NaturalLength" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203104  }
203105  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203106  {
203107  try {
203108  result = (float)(arg1)->NaturalLength();
203109  }
203110  catch(CStdErrorInfo oError)
203111  {
203112  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203113  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203114  PyErr_SetString(PyExc_IndexError, strError.c_str());
203115  SWIG_fail;
203116  }
203117  catch(...)
203118  {
203119  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203120  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203121  SWIG_fail;
203122  }
203123  }
203124  resultobj = SWIG_From_float(static_cast< float >(result));
203125  return resultobj;
203126 fail:
203127  return NULL;
203128 }
203129 
203130 
203131 SWIGINTERN PyObject *_wrap_Spring_NaturalLength__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203132  PyObject *resultobj = 0;
203134  float arg2 ;
203135  bool arg3 ;
203136  void *argp1 = 0 ;
203137  int res1 = 0 ;
203138  float val2 ;
203139  int ecode2 = 0 ;
203140  bool val3 ;
203141  int ecode3 = 0 ;
203142  PyObject * obj0 = 0 ;
203143  PyObject * obj1 = 0 ;
203144  PyObject * obj2 = 0 ;
203145 
203146  if (!PyArg_ParseTuple(args,(char *)"OOO:Spring_NaturalLength",&obj0,&obj1,&obj2)) SWIG_fail;
203147  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203148  if (!SWIG_IsOK(res1)) {
203149  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_NaturalLength" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203150  }
203151  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203152  ecode2 = SWIG_AsVal_float(obj1, &val2);
203153  if (!SWIG_IsOK(ecode2)) {
203154  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Spring_NaturalLength" "', argument " "2"" of type '" "float""'");
203155  }
203156  arg2 = static_cast< float >(val2);
203157  ecode3 = SWIG_AsVal_bool(obj2, &val3);
203158  if (!SWIG_IsOK(ecode3)) {
203159  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Spring_NaturalLength" "', argument " "3"" of type '" "bool""'");
203160  }
203161  arg3 = static_cast< bool >(val3);
203162  {
203163  try {
203164  (arg1)->NaturalLength(arg2,arg3);
203165  }
203166  catch(CStdErrorInfo oError)
203167  {
203168  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203169  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203170  PyErr_SetString(PyExc_IndexError, strError.c_str());
203171  SWIG_fail;
203172  }
203173  catch(...)
203174  {
203175  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203176  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203177  SWIG_fail;
203178  }
203179  }
203180  resultobj = SWIG_Py_Void();
203181  return resultobj;
203182 fail:
203183  return NULL;
203184 }
203185 
203186 
203187 SWIGINTERN PyObject *_wrap_Spring_NaturalLength__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203188  PyObject *resultobj = 0;
203190  float arg2 ;
203191  void *argp1 = 0 ;
203192  int res1 = 0 ;
203193  float val2 ;
203194  int ecode2 = 0 ;
203195  PyObject * obj0 = 0 ;
203196  PyObject * obj1 = 0 ;
203197 
203198  if (!PyArg_ParseTuple(args,(char *)"OO:Spring_NaturalLength",&obj0,&obj1)) SWIG_fail;
203199  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203200  if (!SWIG_IsOK(res1)) {
203201  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_NaturalLength" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203202  }
203203  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203204  ecode2 = SWIG_AsVal_float(obj1, &val2);
203205  if (!SWIG_IsOK(ecode2)) {
203206  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Spring_NaturalLength" "', argument " "2"" of type '" "float""'");
203207  }
203208  arg2 = static_cast< float >(val2);
203209  {
203210  try {
203211  (arg1)->NaturalLength(arg2);
203212  }
203213  catch(CStdErrorInfo oError)
203214  {
203215  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203216  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203217  PyErr_SetString(PyExc_IndexError, strError.c_str());
203218  SWIG_fail;
203219  }
203220  catch(...)
203221  {
203222  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203223  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203224  SWIG_fail;
203225  }
203226  }
203227  resultobj = SWIG_Py_Void();
203228  return resultobj;
203229 fail:
203230  return NULL;
203231 }
203232 
203233 
203234 SWIGINTERN PyObject *_wrap_Spring_NaturalLength(PyObject *self, PyObject *args) {
203235  int argc;
203236  PyObject *argv[4];
203237  int ii;
203238 
203239  if (!PyTuple_Check(args)) SWIG_fail;
203240  argc = args ? (int)PyObject_Length(args) : 0;
203241  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
203242  argv[ii] = PyTuple_GET_ITEM(args,ii);
203243  }
203244  if (argc == 1) {
203245  int _v;
203246  void *vptr = 0;
203247  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0);
203248  _v = SWIG_CheckState(res);
203249  if (_v) {
203250  return _wrap_Spring_NaturalLength__SWIG_0(self, args);
203251  }
203252  }
203253  if (argc == 2) {
203254  int _v;
203255  void *vptr = 0;
203256  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0);
203257  _v = SWIG_CheckState(res);
203258  if (_v) {
203259  {
203260  int res = SWIG_AsVal_float(argv[1], NULL);
203261  _v = SWIG_CheckState(res);
203262  }
203263  if (_v) {
203264  return _wrap_Spring_NaturalLength__SWIG_2(self, args);
203265  }
203266  }
203267  }
203268  if (argc == 3) {
203269  int _v;
203270  void *vptr = 0;
203271  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0);
203272  _v = SWIG_CheckState(res);
203273  if (_v) {
203274  {
203275  int res = SWIG_AsVal_float(argv[1], NULL);
203276  _v = SWIG_CheckState(res);
203277  }
203278  if (_v) {
203279  {
203280  int res = SWIG_AsVal_bool(argv[2], NULL);
203281  _v = SWIG_CheckState(res);
203282  }
203283  if (_v) {
203284  return _wrap_Spring_NaturalLength__SWIG_1(self, args);
203285  }
203286  }
203287  }
203288  }
203289 
203290 fail:
203291  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Spring_NaturalLength'.\n"
203292  " Possible C/C++ prototypes are:\n"
203293  " AnimatSim::Environment::Bodies::Spring::NaturalLength()\n"
203294  " AnimatSim::Environment::Bodies::Spring::NaturalLength(float,bool)\n"
203295  " AnimatSim::Environment::Bodies::Spring::NaturalLength(float)\n");
203296  return 0;
203297 }
203298 
203299 
203300 SWIGINTERN PyObject *_wrap_Spring_Stiffness__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203301  PyObject *resultobj = 0;
203303  void *argp1 = 0 ;
203304  int res1 = 0 ;
203305  PyObject * obj0 = 0 ;
203306  float result;
203307 
203308  if (!PyArg_ParseTuple(args,(char *)"O:Spring_Stiffness",&obj0)) SWIG_fail;
203309  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203310  if (!SWIG_IsOK(res1)) {
203311  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_Stiffness" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203312  }
203313  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203314  {
203315  try {
203316  result = (float)(arg1)->Stiffness();
203317  }
203318  catch(CStdErrorInfo oError)
203319  {
203320  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203321  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203322  PyErr_SetString(PyExc_IndexError, strError.c_str());
203323  SWIG_fail;
203324  }
203325  catch(...)
203326  {
203327  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203328  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203329  SWIG_fail;
203330  }
203331  }
203332  resultobj = SWIG_From_float(static_cast< float >(result));
203333  return resultobj;
203334 fail:
203335  return NULL;
203336 }
203337 
203338 
203339 SWIGINTERN PyObject *_wrap_Spring_Stiffness__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203340  PyObject *resultobj = 0;
203342  float arg2 ;
203343  bool arg3 ;
203344  void *argp1 = 0 ;
203345  int res1 = 0 ;
203346  float val2 ;
203347  int ecode2 = 0 ;
203348  bool val3 ;
203349  int ecode3 = 0 ;
203350  PyObject * obj0 = 0 ;
203351  PyObject * obj1 = 0 ;
203352  PyObject * obj2 = 0 ;
203353 
203354  if (!PyArg_ParseTuple(args,(char *)"OOO:Spring_Stiffness",&obj0,&obj1,&obj2)) SWIG_fail;
203355  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203356  if (!SWIG_IsOK(res1)) {
203357  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_Stiffness" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203358  }
203359  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203360  ecode2 = SWIG_AsVal_float(obj1, &val2);
203361  if (!SWIG_IsOK(ecode2)) {
203362  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Spring_Stiffness" "', argument " "2"" of type '" "float""'");
203363  }
203364  arg2 = static_cast< float >(val2);
203365  ecode3 = SWIG_AsVal_bool(obj2, &val3);
203366  if (!SWIG_IsOK(ecode3)) {
203367  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Spring_Stiffness" "', argument " "3"" of type '" "bool""'");
203368  }
203369  arg3 = static_cast< bool >(val3);
203370  {
203371  try {
203372  (arg1)->Stiffness(arg2,arg3);
203373  }
203374  catch(CStdErrorInfo oError)
203375  {
203376  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203377  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203378  PyErr_SetString(PyExc_IndexError, strError.c_str());
203379  SWIG_fail;
203380  }
203381  catch(...)
203382  {
203383  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203384  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203385  SWIG_fail;
203386  }
203387  }
203388  resultobj = SWIG_Py_Void();
203389  return resultobj;
203390 fail:
203391  return NULL;
203392 }
203393 
203394 
203395 SWIGINTERN PyObject *_wrap_Spring_Stiffness__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203396  PyObject *resultobj = 0;
203398  float arg2 ;
203399  void *argp1 = 0 ;
203400  int res1 = 0 ;
203401  float val2 ;
203402  int ecode2 = 0 ;
203403  PyObject * obj0 = 0 ;
203404  PyObject * obj1 = 0 ;
203405 
203406  if (!PyArg_ParseTuple(args,(char *)"OO:Spring_Stiffness",&obj0,&obj1)) SWIG_fail;
203407  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203408  if (!SWIG_IsOK(res1)) {
203409  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_Stiffness" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203410  }
203411  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203412  ecode2 = SWIG_AsVal_float(obj1, &val2);
203413  if (!SWIG_IsOK(ecode2)) {
203414  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Spring_Stiffness" "', argument " "2"" of type '" "float""'");
203415  }
203416  arg2 = static_cast< float >(val2);
203417  {
203418  try {
203419  (arg1)->Stiffness(arg2);
203420  }
203421  catch(CStdErrorInfo oError)
203422  {
203423  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203424  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203425  PyErr_SetString(PyExc_IndexError, strError.c_str());
203426  SWIG_fail;
203427  }
203428  catch(...)
203429  {
203430  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203431  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203432  SWIG_fail;
203433  }
203434  }
203435  resultobj = SWIG_Py_Void();
203436  return resultobj;
203437 fail:
203438  return NULL;
203439 }
203440 
203441 
203442 SWIGINTERN PyObject *_wrap_Spring_Stiffness(PyObject *self, PyObject *args) {
203443  int argc;
203444  PyObject *argv[4];
203445  int ii;
203446 
203447  if (!PyTuple_Check(args)) SWIG_fail;
203448  argc = args ? (int)PyObject_Length(args) : 0;
203449  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
203450  argv[ii] = PyTuple_GET_ITEM(args,ii);
203451  }
203452  if (argc == 1) {
203453  int _v;
203454  void *vptr = 0;
203455  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0);
203456  _v = SWIG_CheckState(res);
203457  if (_v) {
203458  return _wrap_Spring_Stiffness__SWIG_0(self, args);
203459  }
203460  }
203461  if (argc == 2) {
203462  int _v;
203463  void *vptr = 0;
203464  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0);
203465  _v = SWIG_CheckState(res);
203466  if (_v) {
203467  {
203468  int res = SWIG_AsVal_float(argv[1], NULL);
203469  _v = SWIG_CheckState(res);
203470  }
203471  if (_v) {
203472  return _wrap_Spring_Stiffness__SWIG_2(self, args);
203473  }
203474  }
203475  }
203476  if (argc == 3) {
203477  int _v;
203478  void *vptr = 0;
203479  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0);
203480  _v = SWIG_CheckState(res);
203481  if (_v) {
203482  {
203483  int res = SWIG_AsVal_float(argv[1], NULL);
203484  _v = SWIG_CheckState(res);
203485  }
203486  if (_v) {
203487  {
203488  int res = SWIG_AsVal_bool(argv[2], NULL);
203489  _v = SWIG_CheckState(res);
203490  }
203491  if (_v) {
203492  return _wrap_Spring_Stiffness__SWIG_1(self, args);
203493  }
203494  }
203495  }
203496  }
203497 
203498 fail:
203499  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Spring_Stiffness'.\n"
203500  " Possible C/C++ prototypes are:\n"
203501  " AnimatSim::Environment::Bodies::Spring::Stiffness()\n"
203502  " AnimatSim::Environment::Bodies::Spring::Stiffness(float,bool)\n"
203503  " AnimatSim::Environment::Bodies::Spring::Stiffness(float)\n");
203504  return 0;
203505 }
203506 
203507 
203508 SWIGINTERN PyObject *_wrap_Spring_Damping__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203509  PyObject *resultobj = 0;
203511  void *argp1 = 0 ;
203512  int res1 = 0 ;
203513  PyObject * obj0 = 0 ;
203514  float result;
203515 
203516  if (!PyArg_ParseTuple(args,(char *)"O:Spring_Damping",&obj0)) SWIG_fail;
203517  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203518  if (!SWIG_IsOK(res1)) {
203519  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_Damping" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203520  }
203521  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203522  {
203523  try {
203524  result = (float)(arg1)->Damping();
203525  }
203526  catch(CStdErrorInfo oError)
203527  {
203528  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203529  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203530  PyErr_SetString(PyExc_IndexError, strError.c_str());
203531  SWIG_fail;
203532  }
203533  catch(...)
203534  {
203535  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203536  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203537  SWIG_fail;
203538  }
203539  }
203540  resultobj = SWIG_From_float(static_cast< float >(result));
203541  return resultobj;
203542 fail:
203543  return NULL;
203544 }
203545 
203546 
203547 SWIGINTERN PyObject *_wrap_Spring_Damping__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203548  PyObject *resultobj = 0;
203550  float arg2 ;
203551  bool arg3 ;
203552  void *argp1 = 0 ;
203553  int res1 = 0 ;
203554  float val2 ;
203555  int ecode2 = 0 ;
203556  bool val3 ;
203557  int ecode3 = 0 ;
203558  PyObject * obj0 = 0 ;
203559  PyObject * obj1 = 0 ;
203560  PyObject * obj2 = 0 ;
203561 
203562  if (!PyArg_ParseTuple(args,(char *)"OOO:Spring_Damping",&obj0,&obj1,&obj2)) SWIG_fail;
203563  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203564  if (!SWIG_IsOK(res1)) {
203565  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_Damping" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203566  }
203567  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203568  ecode2 = SWIG_AsVal_float(obj1, &val2);
203569  if (!SWIG_IsOK(ecode2)) {
203570  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Spring_Damping" "', argument " "2"" of type '" "float""'");
203571  }
203572  arg2 = static_cast< float >(val2);
203573  ecode3 = SWIG_AsVal_bool(obj2, &val3);
203574  if (!SWIG_IsOK(ecode3)) {
203575  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Spring_Damping" "', argument " "3"" of type '" "bool""'");
203576  }
203577  arg3 = static_cast< bool >(val3);
203578  {
203579  try {
203580  (arg1)->Damping(arg2,arg3);
203581  }
203582  catch(CStdErrorInfo oError)
203583  {
203584  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203585  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203586  PyErr_SetString(PyExc_IndexError, strError.c_str());
203587  SWIG_fail;
203588  }
203589  catch(...)
203590  {
203591  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203592  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203593  SWIG_fail;
203594  }
203595  }
203596  resultobj = SWIG_Py_Void();
203597  return resultobj;
203598 fail:
203599  return NULL;
203600 }
203601 
203602 
203603 SWIGINTERN PyObject *_wrap_Spring_Damping__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203604  PyObject *resultobj = 0;
203606  float arg2 ;
203607  void *argp1 = 0 ;
203608  int res1 = 0 ;
203609  float val2 ;
203610  int ecode2 = 0 ;
203611  PyObject * obj0 = 0 ;
203612  PyObject * obj1 = 0 ;
203613 
203614  if (!PyArg_ParseTuple(args,(char *)"OO:Spring_Damping",&obj0,&obj1)) SWIG_fail;
203615  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203616  if (!SWIG_IsOK(res1)) {
203617  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_Damping" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203618  }
203619  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203620  ecode2 = SWIG_AsVal_float(obj1, &val2);
203621  if (!SWIG_IsOK(ecode2)) {
203622  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Spring_Damping" "', argument " "2"" of type '" "float""'");
203623  }
203624  arg2 = static_cast< float >(val2);
203625  {
203626  try {
203627  (arg1)->Damping(arg2);
203628  }
203629  catch(CStdErrorInfo oError)
203630  {
203631  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203632  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203633  PyErr_SetString(PyExc_IndexError, strError.c_str());
203634  SWIG_fail;
203635  }
203636  catch(...)
203637  {
203638  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203639  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203640  SWIG_fail;
203641  }
203642  }
203643  resultobj = SWIG_Py_Void();
203644  return resultobj;
203645 fail:
203646  return NULL;
203647 }
203648 
203649 
203650 SWIGINTERN PyObject *_wrap_Spring_Damping(PyObject *self, PyObject *args) {
203651  int argc;
203652  PyObject *argv[4];
203653  int ii;
203654 
203655  if (!PyTuple_Check(args)) SWIG_fail;
203656  argc = args ? (int)PyObject_Length(args) : 0;
203657  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
203658  argv[ii] = PyTuple_GET_ITEM(args,ii);
203659  }
203660  if (argc == 1) {
203661  int _v;
203662  void *vptr = 0;
203663  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0);
203664  _v = SWIG_CheckState(res);
203665  if (_v) {
203666  return _wrap_Spring_Damping__SWIG_0(self, args);
203667  }
203668  }
203669  if (argc == 2) {
203670  int _v;
203671  void *vptr = 0;
203672  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0);
203673  _v = SWIG_CheckState(res);
203674  if (_v) {
203675  {
203676  int res = SWIG_AsVal_float(argv[1], NULL);
203677  _v = SWIG_CheckState(res);
203678  }
203679  if (_v) {
203680  return _wrap_Spring_Damping__SWIG_2(self, args);
203681  }
203682  }
203683  }
203684  if (argc == 3) {
203685  int _v;
203686  void *vptr = 0;
203687  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0);
203688  _v = SWIG_CheckState(res);
203689  if (_v) {
203690  {
203691  int res = SWIG_AsVal_float(argv[1], NULL);
203692  _v = SWIG_CheckState(res);
203693  }
203694  if (_v) {
203695  {
203696  int res = SWIG_AsVal_bool(argv[2], NULL);
203697  _v = SWIG_CheckState(res);
203698  }
203699  if (_v) {
203700  return _wrap_Spring_Damping__SWIG_1(self, args);
203701  }
203702  }
203703  }
203704  }
203705 
203706 fail:
203707  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Spring_Damping'.\n"
203708  " Possible C/C++ prototypes are:\n"
203709  " AnimatSim::Environment::Bodies::Spring::Damping()\n"
203710  " AnimatSim::Environment::Bodies::Spring::Damping(float,bool)\n"
203711  " AnimatSim::Environment::Bodies::Spring::Damping(float)\n");
203712  return 0;
203713 }
203714 
203715 
203716 SWIGINTERN PyObject *_wrap_Spring_Displacement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203717  PyObject *resultobj = 0;
203719  void *argp1 = 0 ;
203720  int res1 = 0 ;
203721  PyObject * obj0 = 0 ;
203722  float result;
203723 
203724  if (!PyArg_ParseTuple(args,(char *)"O:Spring_Displacement",&obj0)) SWIG_fail;
203725  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203726  if (!SWIG_IsOK(res1)) {
203727  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_Displacement" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203728  }
203729  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203730  {
203731  try {
203732  result = (float)(arg1)->Displacement();
203733  }
203734  catch(CStdErrorInfo oError)
203735  {
203736  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203737  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203738  PyErr_SetString(PyExc_IndexError, strError.c_str());
203739  SWIG_fail;
203740  }
203741  catch(...)
203742  {
203743  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203744  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203745  SWIG_fail;
203746  }
203747  }
203748  resultobj = SWIG_From_float(static_cast< float >(result));
203749  return resultobj;
203750 fail:
203751  return NULL;
203752 }
203753 
203754 
203755 SWIGINTERN PyObject *_wrap_Spring_Tension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203756  PyObject *resultobj = 0;
203758  void *argp1 = 0 ;
203759  int res1 = 0 ;
203760  PyObject * obj0 = 0 ;
203761  float result;
203762 
203763  if (!PyArg_ParseTuple(args,(char *)"O:Spring_Tension",&obj0)) SWIG_fail;
203764  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203765  if (!SWIG_IsOK(res1)) {
203766  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_Tension" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203767  }
203768  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203769  {
203770  try {
203771  result = (float)(arg1)->Tension();
203772  }
203773  catch(CStdErrorInfo oError)
203774  {
203775  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203776  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203777  PyErr_SetString(PyExc_IndexError, strError.c_str());
203778  SWIG_fail;
203779  }
203780  catch(...)
203781  {
203782  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203783  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203784  SWIG_fail;
203785  }
203786  }
203787  resultobj = SWIG_From_float(static_cast< float >(result));
203788  return resultobj;
203789 fail:
203790  return NULL;
203791 }
203792 
203793 
203794 SWIGINTERN PyObject *_wrap_Spring_Energy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203795  PyObject *resultobj = 0;
203797  void *argp1 = 0 ;
203798  int res1 = 0 ;
203799  PyObject * obj0 = 0 ;
203800  float result;
203801 
203802  if (!PyArg_ParseTuple(args,(char *)"O:Spring_Energy",&obj0)) SWIG_fail;
203803  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203804  if (!SWIG_IsOK(res1)) {
203805  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_Energy" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203806  }
203807  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203808  {
203809  try {
203810  result = (float)(arg1)->Energy();
203811  }
203812  catch(CStdErrorInfo oError)
203813  {
203814  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203815  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203816  PyErr_SetString(PyExc_IndexError, strError.c_str());
203817  SWIG_fail;
203818  }
203819  catch(...)
203820  {
203821  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203822  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203823  SWIG_fail;
203824  }
203825  }
203826  resultobj = SWIG_From_float(static_cast< float >(result));
203827  return resultobj;
203828 fail:
203829  return NULL;
203830 }
203831 
203832 
203833 SWIGINTERN PyObject *_wrap_Spring_Velocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203834  PyObject *resultobj = 0;
203836  void *argp1 = 0 ;
203837  int res1 = 0 ;
203838  PyObject * obj0 = 0 ;
203839  float result;
203840 
203841  if (!PyArg_ParseTuple(args,(char *)"O:Spring_Velocity",&obj0)) SWIG_fail;
203842  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203843  if (!SWIG_IsOK(res1)) {
203844  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_Velocity" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203845  }
203846  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203847  {
203848  try {
203849  result = (float)(arg1)->Velocity();
203850  }
203851  catch(CStdErrorInfo oError)
203852  {
203853  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203854  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203855  PyErr_SetString(PyExc_IndexError, strError.c_str());
203856  SWIG_fail;
203857  }
203858  catch(...)
203859  {
203860  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203861  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203862  SWIG_fail;
203863  }
203864  }
203865  resultobj = SWIG_From_float(static_cast< float >(result));
203866  return resultobj;
203867 fail:
203868  return NULL;
203869 }
203870 
203871 
203872 SWIGINTERN PyObject *_wrap_Spring_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203873  PyObject *resultobj = 0;
203875  void *argp1 = 0 ;
203876  int res1 = 0 ;
203877  PyObject * obj0 = 0 ;
203878 
203879  if (!PyArg_ParseTuple(args,(char *)"O:Spring_ResetSimulation",&obj0)) SWIG_fail;
203880  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203881  if (!SWIG_IsOK(res1)) {
203882  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203883  }
203884  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203885  {
203886  try {
203887  (arg1)->ResetSimulation();
203888  }
203889  catch(CStdErrorInfo oError)
203890  {
203891  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203892  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203893  PyErr_SetString(PyExc_IndexError, strError.c_str());
203894  SWIG_fail;
203895  }
203896  catch(...)
203897  {
203898  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203899  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203900  SWIG_fail;
203901  }
203902  }
203903  resultobj = SWIG_Py_Void();
203904  return resultobj;
203905 fail:
203906  return NULL;
203907 }
203908 
203909 
203910 SWIGINTERN PyObject *_wrap_Spring_CreateParts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203911  PyObject *resultobj = 0;
203913  void *argp1 = 0 ;
203914  int res1 = 0 ;
203915  PyObject * obj0 = 0 ;
203916 
203917  if (!PyArg_ParseTuple(args,(char *)"O:Spring_CreateParts",&obj0)) SWIG_fail;
203918  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203919  if (!SWIG_IsOK(res1)) {
203920  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_CreateParts" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203921  }
203922  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203923  {
203924  try {
203925  (arg1)->CreateParts();
203926  }
203927  catch(CStdErrorInfo oError)
203928  {
203929  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203930  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203931  PyErr_SetString(PyExc_IndexError, strError.c_str());
203932  SWIG_fail;
203933  }
203934  catch(...)
203935  {
203936  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203937  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203938  SWIG_fail;
203939  }
203940  }
203941  resultobj = SWIG_Py_Void();
203942  return resultobj;
203943 fail:
203944  return NULL;
203945 }
203946 
203947 
203948 SWIGINTERN PyObject *_wrap_Spring_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
203949  PyObject *resultobj = 0;
203951  std::string *arg2 = 0 ;
203952  void *argp1 = 0 ;
203953  int res1 = 0 ;
203954  int res2 = SWIG_OLDOBJ ;
203955  PyObject * obj0 = 0 ;
203956  PyObject * obj1 = 0 ;
203957  float *result = 0 ;
203958 
203959  if (!PyArg_ParseTuple(args,(char *)"OO:Spring_GetDataPointer",&obj0,&obj1)) SWIG_fail;
203960  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
203961  if (!SWIG_IsOK(res1)) {
203962  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
203963  }
203964  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
203965  {
203966  std::string *ptr = (std::string *)0;
203967  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
203968  if (!SWIG_IsOK(res2)) {
203969  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Spring_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
203970  }
203971  if (!ptr) {
203972  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Spring_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
203973  }
203974  arg2 = ptr;
203975  }
203976  {
203977  try {
203978  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
203979  }
203980  catch(CStdErrorInfo oError)
203981  {
203982  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203983  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
203984  PyErr_SetString(PyExc_IndexError, strError.c_str());
203985  SWIG_fail;
203986  }
203987  catch(...)
203988  {
203989  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
203990  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
203991  SWIG_fail;
203992  }
203993  }
203994  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
203995  if (SWIG_IsNewObj(res2)) delete arg2;
203996  return resultobj;
203997 fail:
203998  if (SWIG_IsNewObj(res2)) delete arg2;
203999  return NULL;
204000 }
204001 
204002 
204003 SWIGINTERN PyObject *_wrap_Spring_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204004  PyObject *resultobj = 0;
204006  std::string *arg2 = 0 ;
204007  std::string *arg3 = 0 ;
204008  bool arg4 ;
204009  void *argp1 = 0 ;
204010  int res1 = 0 ;
204011  int res2 = SWIG_OLDOBJ ;
204012  int res3 = SWIG_OLDOBJ ;
204013  bool val4 ;
204014  int ecode4 = 0 ;
204015  PyObject * obj0 = 0 ;
204016  PyObject * obj1 = 0 ;
204017  PyObject * obj2 = 0 ;
204018  PyObject * obj3 = 0 ;
204019  bool result;
204020 
204021  if (!PyArg_ParseTuple(args,(char *)"OOOO:Spring_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
204022  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
204023  if (!SWIG_IsOK(res1)) {
204024  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
204025  }
204026  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
204027  {
204028  std::string *ptr = (std::string *)0;
204029  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
204030  if (!SWIG_IsOK(res2)) {
204031  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Spring_SetData" "', argument " "2"" of type '" "std::string const &""'");
204032  }
204033  if (!ptr) {
204034  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Spring_SetData" "', argument " "2"" of type '" "std::string const &""'");
204035  }
204036  arg2 = ptr;
204037  }
204038  {
204039  std::string *ptr = (std::string *)0;
204040  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
204041  if (!SWIG_IsOK(res3)) {
204042  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Spring_SetData" "', argument " "3"" of type '" "std::string const &""'");
204043  }
204044  if (!ptr) {
204045  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Spring_SetData" "', argument " "3"" of type '" "std::string const &""'");
204046  }
204047  arg3 = ptr;
204048  }
204049  ecode4 = SWIG_AsVal_bool(obj3, &val4);
204050  if (!SWIG_IsOK(ecode4)) {
204051  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Spring_SetData" "', argument " "4"" of type '" "bool""'");
204052  }
204053  arg4 = static_cast< bool >(val4);
204054  {
204055  try {
204056  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
204057  }
204058  catch(CStdErrorInfo oError)
204059  {
204060  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204061  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204062  PyErr_SetString(PyExc_IndexError, strError.c_str());
204063  SWIG_fail;
204064  }
204065  catch(...)
204066  {
204067  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204068  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204069  SWIG_fail;
204070  }
204071  }
204072  resultobj = SWIG_From_bool(static_cast< bool >(result));
204073  if (SWIG_IsNewObj(res2)) delete arg2;
204074  if (SWIG_IsNewObj(res3)) delete arg3;
204075  return resultobj;
204076 fail:
204077  if (SWIG_IsNewObj(res2)) delete arg2;
204078  if (SWIG_IsNewObj(res3)) delete arg3;
204079  return NULL;
204080 }
204081 
204082 
204083 SWIGINTERN PyObject *_wrap_Spring_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204084  PyObject *resultobj = 0;
204086  std::string *arg2 = 0 ;
204087  std::string *arg3 = 0 ;
204088  void *argp1 = 0 ;
204089  int res1 = 0 ;
204090  int res2 = SWIG_OLDOBJ ;
204091  int res3 = SWIG_OLDOBJ ;
204092  PyObject * obj0 = 0 ;
204093  PyObject * obj1 = 0 ;
204094  PyObject * obj2 = 0 ;
204095  bool result;
204096 
204097  if (!PyArg_ParseTuple(args,(char *)"OOO:Spring_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
204098  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
204099  if (!SWIG_IsOK(res1)) {
204100  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
204101  }
204102  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
204103  {
204104  std::string *ptr = (std::string *)0;
204105  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
204106  if (!SWIG_IsOK(res2)) {
204107  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Spring_SetData" "', argument " "2"" of type '" "std::string const &""'");
204108  }
204109  if (!ptr) {
204110  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Spring_SetData" "', argument " "2"" of type '" "std::string const &""'");
204111  }
204112  arg2 = ptr;
204113  }
204114  {
204115  std::string *ptr = (std::string *)0;
204116  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
204117  if (!SWIG_IsOK(res3)) {
204118  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Spring_SetData" "', argument " "3"" of type '" "std::string const &""'");
204119  }
204120  if (!ptr) {
204121  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Spring_SetData" "', argument " "3"" of type '" "std::string const &""'");
204122  }
204123  arg3 = ptr;
204124  }
204125  {
204126  try {
204127  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
204128  }
204129  catch(CStdErrorInfo oError)
204130  {
204131  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204132  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204133  PyErr_SetString(PyExc_IndexError, strError.c_str());
204134  SWIG_fail;
204135  }
204136  catch(...)
204137  {
204138  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204139  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204140  SWIG_fail;
204141  }
204142  }
204143  resultobj = SWIG_From_bool(static_cast< bool >(result));
204144  if (SWIG_IsNewObj(res2)) delete arg2;
204145  if (SWIG_IsNewObj(res3)) delete arg3;
204146  return resultobj;
204147 fail:
204148  if (SWIG_IsNewObj(res2)) delete arg2;
204149  if (SWIG_IsNewObj(res3)) delete arg3;
204150  return NULL;
204151 }
204152 
204153 
204154 SWIGINTERN PyObject *_wrap_Spring_SetData(PyObject *self, PyObject *args) {
204155  int argc;
204156  PyObject *argv[5];
204157  int ii;
204158 
204159  if (!PyTuple_Check(args)) SWIG_fail;
204160  argc = args ? (int)PyObject_Length(args) : 0;
204161  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
204162  argv[ii] = PyTuple_GET_ITEM(args,ii);
204163  }
204164  if (argc == 3) {
204165  int _v;
204166  void *vptr = 0;
204167  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0);
204168  _v = SWIG_CheckState(res);
204169  if (_v) {
204170  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
204171  _v = SWIG_CheckState(res);
204172  if (_v) {
204173  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
204174  _v = SWIG_CheckState(res);
204175  if (_v) {
204176  return _wrap_Spring_SetData__SWIG_1(self, args);
204177  }
204178  }
204179  }
204180  }
204181  if (argc == 4) {
204182  int _v;
204183  void *vptr = 0;
204184  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0);
204185  _v = SWIG_CheckState(res);
204186  if (_v) {
204187  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
204188  _v = SWIG_CheckState(res);
204189  if (_v) {
204190  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
204191  _v = SWIG_CheckState(res);
204192  if (_v) {
204193  {
204194  int res = SWIG_AsVal_bool(argv[3], NULL);
204195  _v = SWIG_CheckState(res);
204196  }
204197  if (_v) {
204198  return _wrap_Spring_SetData__SWIG_0(self, args);
204199  }
204200  }
204201  }
204202  }
204203  }
204204 
204205 fail:
204206  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Spring_SetData'.\n"
204207  " Possible C/C++ prototypes are:\n"
204208  " AnimatSim::Environment::Bodies::Spring::SetData(std::string const &,std::string const &,bool)\n"
204209  " AnimatSim::Environment::Bodies::Spring::SetData(std::string const &,std::string const &)\n");
204210  return 0;
204211 }
204212 
204213 
204214 SWIGINTERN PyObject *_wrap_Spring_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204215  PyObject *resultobj = 0;
204217  CStdPtrArray< TypeProperty > *arg2 = 0 ;
204218  void *argp1 = 0 ;
204219  int res1 = 0 ;
204220  void *argp2 = 0 ;
204221  int res2 = 0 ;
204222  PyObject * obj0 = 0 ;
204223  PyObject * obj1 = 0 ;
204224 
204225  if (!PyArg_ParseTuple(args,(char *)"OO:Spring_QueryProperties",&obj0,&obj1)) SWIG_fail;
204226  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
204227  if (!SWIG_IsOK(res1)) {
204228  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
204229  }
204230  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
204231  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
204232  if (!SWIG_IsOK(res2)) {
204233  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Spring_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
204234  }
204235  if (!argp2) {
204236  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Spring_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
204237  }
204238  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
204239  {
204240  try {
204241  (arg1)->QueryProperties(*arg2);
204242  }
204243  catch(CStdErrorInfo oError)
204244  {
204245  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204246  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204247  PyErr_SetString(PyExc_IndexError, strError.c_str());
204248  SWIG_fail;
204249  }
204250  catch(...)
204251  {
204252  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204253  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204254  SWIG_fail;
204255  }
204256  }
204257  resultobj = SWIG_Py_Void();
204258  return resultobj;
204259 fail:
204260  return NULL;
204261 }
204262 
204263 
204264 SWIGINTERN PyObject *_wrap_Spring_AddExternalNodeInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204265  PyObject *resultobj = 0;
204267  int arg2 ;
204268  float arg3 ;
204269  void *argp1 = 0 ;
204270  int res1 = 0 ;
204271  int val2 ;
204272  int ecode2 = 0 ;
204273  float val3 ;
204274  int ecode3 = 0 ;
204275  PyObject * obj0 = 0 ;
204276  PyObject * obj1 = 0 ;
204277  PyObject * obj2 = 0 ;
204278 
204279  if (!PyArg_ParseTuple(args,(char *)"OOO:Spring_AddExternalNodeInput",&obj0,&obj1,&obj2)) SWIG_fail;
204280  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
204281  if (!SWIG_IsOK(res1)) {
204282  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_AddExternalNodeInput" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
204283  }
204284  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
204285  ecode2 = SWIG_AsVal_int(obj1, &val2);
204286  if (!SWIG_IsOK(ecode2)) {
204287  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Spring_AddExternalNodeInput" "', argument " "2"" of type '" "int""'");
204288  }
204289  arg2 = static_cast< int >(val2);
204290  ecode3 = SWIG_AsVal_float(obj2, &val3);
204291  if (!SWIG_IsOK(ecode3)) {
204292  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Spring_AddExternalNodeInput" "', argument " "3"" of type '" "float""'");
204293  }
204294  arg3 = static_cast< float >(val3);
204295  {
204296  try {
204297  (arg1)->AddExternalNodeInput(arg2,arg3);
204298  }
204299  catch(CStdErrorInfo oError)
204300  {
204301  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204302  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204303  PyErr_SetString(PyExc_IndexError, strError.c_str());
204304  SWIG_fail;
204305  }
204306  catch(...)
204307  {
204308  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204309  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204310  SWIG_fail;
204311  }
204312  }
204313  resultobj = SWIG_Py_Void();
204314  return resultobj;
204315 fail:
204316  return NULL;
204317 }
204318 
204319 
204320 SWIGINTERN PyObject *_wrap_Spring_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204321  PyObject *resultobj = 0;
204323  CStdXml *arg2 = 0 ;
204324  void *argp1 = 0 ;
204325  int res1 = 0 ;
204326  void *argp2 = 0 ;
204327  int res2 = 0 ;
204328  PyObject * obj0 = 0 ;
204329  PyObject * obj1 = 0 ;
204330 
204331  if (!PyArg_ParseTuple(args,(char *)"OO:Spring_Load",&obj0,&obj1)) SWIG_fail;
204332  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, 0 | 0 );
204333  if (!SWIG_IsOK(res1)) {
204334  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Spring_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Spring *""'");
204335  }
204336  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Spring * >(argp1);
204337  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
204338  if (!SWIG_IsOK(res2)) {
204339  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Spring_Load" "', argument " "2"" of type '" "CStdXml &""'");
204340  }
204341  if (!argp2) {
204342  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Spring_Load" "', argument " "2"" of type '" "CStdXml &""'");
204343  }
204344  arg2 = reinterpret_cast< CStdXml * >(argp2);
204345  {
204346  try {
204347  (arg1)->Load(*arg2);
204348  }
204349  catch(CStdErrorInfo oError)
204350  {
204351  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204352  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204353  PyErr_SetString(PyExc_IndexError, strError.c_str());
204354  SWIG_fail;
204355  }
204356  catch(...)
204357  {
204358  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204359  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204360  SWIG_fail;
204361  }
204362  }
204363  resultobj = SWIG_Py_Void();
204364  return resultobj;
204365 fail:
204366  return NULL;
204367 }
204368 
204369 
204370 SWIGINTERN PyObject *Spring_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204371  PyObject *obj;
204372  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
204373  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring, SWIG_NewClientData(obj));
204374  return SWIG_Py_Void();
204375 }
204376 
204377 SWIGINTERN PyObject *_wrap_new_Stomach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204378  PyObject *resultobj = 0;
204380 
204381  if (!PyArg_ParseTuple(args,(char *)":new_Stomach")) SWIG_fail;
204382  {
204383  try {
204385  }
204386  catch(CStdErrorInfo oError)
204387  {
204388  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204389  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204390  PyErr_SetString(PyExc_IndexError, strError.c_str());
204391  SWIG_fail;
204392  }
204393  catch(...)
204394  {
204395  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204396  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204397  SWIG_fail;
204398  }
204399  }
204400  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, SWIG_POINTER_NEW | 0 );
204401  return resultobj;
204402 fail:
204403  return NULL;
204404 }
204405 
204406 
204407 SWIGINTERN PyObject *_wrap_delete_Stomach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204408  PyObject *resultobj = 0;
204410  void *argp1 = 0 ;
204411  int res1 = 0 ;
204412  PyObject * obj0 = 0 ;
204413 
204414  if (!PyArg_ParseTuple(args,(char *)"O:delete_Stomach",&obj0)) SWIG_fail;
204415  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, SWIG_POINTER_DISOWN | 0 );
204416  if (!SWIG_IsOK(res1)) {
204417  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Stomach" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
204418  }
204419  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
204420  {
204421  try {
204422  delete arg1;
204423  }
204424  catch(CStdErrorInfo oError)
204425  {
204426  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204427  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204428  PyErr_SetString(PyExc_IndexError, strError.c_str());
204429  SWIG_fail;
204430  }
204431  catch(...)
204432  {
204433  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204434  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204435  SWIG_fail;
204436  }
204437  }
204438  resultobj = SWIG_Py_Void();
204439  return resultobj;
204440 fail:
204441  return NULL;
204442 }
204443 
204444 
204445 SWIGINTERN PyObject *_wrap_Stomach_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204446  PyObject *resultobj = 0;
204448  void *argp1 = 0 ;
204449  int res1 = 0 ;
204450  PyObject * obj0 = 0 ;
204452 
204453  if (!PyArg_ParseTuple(args,(char *)"O:Stomach_CastToDerived",&obj0)) SWIG_fail;
204454  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
204455  if (!SWIG_IsOK(res1)) {
204456  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
204457  }
204458  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
204459  {
204460  try {
204461  result = (AnimatSim::Environment::Bodies::Stomach *)AnimatSim::Environment::Bodies::Stomach::CastToDerived(arg1);
204462  }
204463  catch(CStdErrorInfo oError)
204464  {
204465  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204466  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204467  PyErr_SetString(PyExc_IndexError, strError.c_str());
204468  SWIG_fail;
204469  }
204470  catch(...)
204471  {
204472  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204473  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204474  SWIG_fail;
204475  }
204476  }
204477  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
204478  return resultobj;
204479 fail:
204480  return NULL;
204481 }
204482 
204483 
204484 SWIGINTERN PyObject *_wrap_Stomach_EnergyLevel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204485  PyObject *resultobj = 0;
204487  void *argp1 = 0 ;
204488  int res1 = 0 ;
204489  PyObject * obj0 = 0 ;
204490  float result;
204491 
204492  if (!PyArg_ParseTuple(args,(char *)"O:Stomach_EnergyLevel",&obj0)) SWIG_fail;
204493  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
204494  if (!SWIG_IsOK(res1)) {
204495  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_EnergyLevel" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
204496  }
204497  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
204498  {
204499  try {
204500  result = (float)(arg1)->EnergyLevel();
204501  }
204502  catch(CStdErrorInfo oError)
204503  {
204504  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204505  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204506  PyErr_SetString(PyExc_IndexError, strError.c_str());
204507  SWIG_fail;
204508  }
204509  catch(...)
204510  {
204511  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204512  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204513  SWIG_fail;
204514  }
204515  }
204516  resultobj = SWIG_From_float(static_cast< float >(result));
204517  return resultobj;
204518 fail:
204519  return NULL;
204520 }
204521 
204522 
204523 SWIGINTERN PyObject *_wrap_Stomach_EnergyLevel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204524  PyObject *resultobj = 0;
204526  float arg2 ;
204527  void *argp1 = 0 ;
204528  int res1 = 0 ;
204529  float val2 ;
204530  int ecode2 = 0 ;
204531  PyObject * obj0 = 0 ;
204532  PyObject * obj1 = 0 ;
204533 
204534  if (!PyArg_ParseTuple(args,(char *)"OO:Stomach_EnergyLevel",&obj0,&obj1)) SWIG_fail;
204535  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
204536  if (!SWIG_IsOK(res1)) {
204537  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_EnergyLevel" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
204538  }
204539  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
204540  ecode2 = SWIG_AsVal_float(obj1, &val2);
204541  if (!SWIG_IsOK(ecode2)) {
204542  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Stomach_EnergyLevel" "', argument " "2"" of type '" "float""'");
204543  }
204544  arg2 = static_cast< float >(val2);
204545  {
204546  try {
204547  (arg1)->EnergyLevel(arg2);
204548  }
204549  catch(CStdErrorInfo oError)
204550  {
204551  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204552  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204553  PyErr_SetString(PyExc_IndexError, strError.c_str());
204554  SWIG_fail;
204555  }
204556  catch(...)
204557  {
204558  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204559  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204560  SWIG_fail;
204561  }
204562  }
204563  resultobj = SWIG_Py_Void();
204564  return resultobj;
204565 fail:
204566  return NULL;
204567 }
204568 
204569 
204570 SWIGINTERN PyObject *_wrap_Stomach_EnergyLevel(PyObject *self, PyObject *args) {
204571  int argc;
204572  PyObject *argv[3];
204573  int ii;
204574 
204575  if (!PyTuple_Check(args)) SWIG_fail;
204576  argc = args ? (int)PyObject_Length(args) : 0;
204577  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
204578  argv[ii] = PyTuple_GET_ITEM(args,ii);
204579  }
204580  if (argc == 1) {
204581  int _v;
204582  void *vptr = 0;
204583  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0);
204584  _v = SWIG_CheckState(res);
204585  if (_v) {
204586  return _wrap_Stomach_EnergyLevel__SWIG_0(self, args);
204587  }
204588  }
204589  if (argc == 2) {
204590  int _v;
204591  void *vptr = 0;
204592  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0);
204593  _v = SWIG_CheckState(res);
204594  if (_v) {
204595  {
204596  int res = SWIG_AsVal_float(argv[1], NULL);
204597  _v = SWIG_CheckState(res);
204598  }
204599  if (_v) {
204600  return _wrap_Stomach_EnergyLevel__SWIG_1(self, args);
204601  }
204602  }
204603  }
204604 
204605 fail:
204606  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Stomach_EnergyLevel'.\n"
204607  " Possible C/C++ prototypes are:\n"
204608  " AnimatSim::Environment::Bodies::Stomach::EnergyLevel()\n"
204609  " AnimatSim::Environment::Bodies::Stomach::EnergyLevel(float)\n");
204610  return 0;
204611 }
204612 
204613 
204614 SWIGINTERN PyObject *_wrap_Stomach_AddEnergy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204615  PyObject *resultobj = 0;
204617  float arg2 ;
204618  void *argp1 = 0 ;
204619  int res1 = 0 ;
204620  float val2 ;
204621  int ecode2 = 0 ;
204622  PyObject * obj0 = 0 ;
204623  PyObject * obj1 = 0 ;
204624 
204625  if (!PyArg_ParseTuple(args,(char *)"OO:Stomach_AddEnergy",&obj0,&obj1)) SWIG_fail;
204626  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
204627  if (!SWIG_IsOK(res1)) {
204628  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_AddEnergy" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
204629  }
204630  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
204631  ecode2 = SWIG_AsVal_float(obj1, &val2);
204632  if (!SWIG_IsOK(ecode2)) {
204633  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Stomach_AddEnergy" "', argument " "2"" of type '" "float""'");
204634  }
204635  arg2 = static_cast< float >(val2);
204636  {
204637  try {
204638  (arg1)->AddEnergy(arg2);
204639  }
204640  catch(CStdErrorInfo oError)
204641  {
204642  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204643  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204644  PyErr_SetString(PyExc_IndexError, strError.c_str());
204645  SWIG_fail;
204646  }
204647  catch(...)
204648  {
204649  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204650  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204651  SWIG_fail;
204652  }
204653  }
204654  resultobj = SWIG_Py_Void();
204655  return resultobj;
204656 fail:
204657  return NULL;
204658 }
204659 
204660 
204661 SWIGINTERN PyObject *_wrap_Stomach_ConsumptionRate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204662  PyObject *resultobj = 0;
204664  void *argp1 = 0 ;
204665  int res1 = 0 ;
204666  PyObject * obj0 = 0 ;
204667  float result;
204668 
204669  if (!PyArg_ParseTuple(args,(char *)"O:Stomach_ConsumptionRate",&obj0)) SWIG_fail;
204670  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
204671  if (!SWIG_IsOK(res1)) {
204672  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_ConsumptionRate" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
204673  }
204674  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
204675  {
204676  try {
204677  result = (float)(arg1)->ConsumptionRate();
204678  }
204679  catch(CStdErrorInfo oError)
204680  {
204681  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204682  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204683  PyErr_SetString(PyExc_IndexError, strError.c_str());
204684  SWIG_fail;
204685  }
204686  catch(...)
204687  {
204688  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204689  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204690  SWIG_fail;
204691  }
204692  }
204693  resultobj = SWIG_From_float(static_cast< float >(result));
204694  return resultobj;
204695 fail:
204696  return NULL;
204697 }
204698 
204699 
204700 SWIGINTERN PyObject *_wrap_Stomach_ConsumptionRate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204701  PyObject *resultobj = 0;
204703  float arg2 ;
204704  void *argp1 = 0 ;
204705  int res1 = 0 ;
204706  float val2 ;
204707  int ecode2 = 0 ;
204708  PyObject * obj0 = 0 ;
204709  PyObject * obj1 = 0 ;
204710 
204711  if (!PyArg_ParseTuple(args,(char *)"OO:Stomach_ConsumptionRate",&obj0,&obj1)) SWIG_fail;
204712  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
204713  if (!SWIG_IsOK(res1)) {
204714  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_ConsumptionRate" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
204715  }
204716  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
204717  ecode2 = SWIG_AsVal_float(obj1, &val2);
204718  if (!SWIG_IsOK(ecode2)) {
204719  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Stomach_ConsumptionRate" "', argument " "2"" of type '" "float""'");
204720  }
204721  arg2 = static_cast< float >(val2);
204722  {
204723  try {
204724  (arg1)->ConsumptionRate(arg2);
204725  }
204726  catch(CStdErrorInfo oError)
204727  {
204728  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204729  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204730  PyErr_SetString(PyExc_IndexError, strError.c_str());
204731  SWIG_fail;
204732  }
204733  catch(...)
204734  {
204735  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204736  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204737  SWIG_fail;
204738  }
204739  }
204740  resultobj = SWIG_Py_Void();
204741  return resultobj;
204742 fail:
204743  return NULL;
204744 }
204745 
204746 
204747 SWIGINTERN PyObject *_wrap_Stomach_ConsumptionRate(PyObject *self, PyObject *args) {
204748  int argc;
204749  PyObject *argv[3];
204750  int ii;
204751 
204752  if (!PyTuple_Check(args)) SWIG_fail;
204753  argc = args ? (int)PyObject_Length(args) : 0;
204754  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
204755  argv[ii] = PyTuple_GET_ITEM(args,ii);
204756  }
204757  if (argc == 1) {
204758  int _v;
204759  void *vptr = 0;
204760  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0);
204761  _v = SWIG_CheckState(res);
204762  if (_v) {
204763  return _wrap_Stomach_ConsumptionRate__SWIG_0(self, args);
204764  }
204765  }
204766  if (argc == 2) {
204767  int _v;
204768  void *vptr = 0;
204769  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0);
204770  _v = SWIG_CheckState(res);
204771  if (_v) {
204772  {
204773  int res = SWIG_AsVal_float(argv[1], NULL);
204774  _v = SWIG_CheckState(res);
204775  }
204776  if (_v) {
204777  return _wrap_Stomach_ConsumptionRate__SWIG_1(self, args);
204778  }
204779  }
204780  }
204781 
204782 fail:
204783  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Stomach_ConsumptionRate'.\n"
204784  " Possible C/C++ prototypes are:\n"
204785  " AnimatSim::Environment::Bodies::Stomach::ConsumptionRate()\n"
204786  " AnimatSim::Environment::Bodies::Stomach::ConsumptionRate(float)\n");
204787  return 0;
204788 }
204789 
204790 
204791 SWIGINTERN PyObject *_wrap_Stomach_BaseConsumptionRate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204792  PyObject *resultobj = 0;
204794  void *argp1 = 0 ;
204795  int res1 = 0 ;
204796  PyObject * obj0 = 0 ;
204797  float result;
204798 
204799  if (!PyArg_ParseTuple(args,(char *)"O:Stomach_BaseConsumptionRate",&obj0)) SWIG_fail;
204800  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
204801  if (!SWIG_IsOK(res1)) {
204802  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_BaseConsumptionRate" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
204803  }
204804  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
204805  {
204806  try {
204807  result = (float)(arg1)->BaseConsumptionRate();
204808  }
204809  catch(CStdErrorInfo oError)
204810  {
204811  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204812  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204813  PyErr_SetString(PyExc_IndexError, strError.c_str());
204814  SWIG_fail;
204815  }
204816  catch(...)
204817  {
204818  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204819  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204820  SWIG_fail;
204821  }
204822  }
204823  resultobj = SWIG_From_float(static_cast< float >(result));
204824  return resultobj;
204825 fail:
204826  return NULL;
204827 }
204828 
204829 
204830 SWIGINTERN PyObject *_wrap_Stomach_BaseConsumptionRate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204831  PyObject *resultobj = 0;
204833  float arg2 ;
204834  void *argp1 = 0 ;
204835  int res1 = 0 ;
204836  float val2 ;
204837  int ecode2 = 0 ;
204838  PyObject * obj0 = 0 ;
204839  PyObject * obj1 = 0 ;
204840 
204841  if (!PyArg_ParseTuple(args,(char *)"OO:Stomach_BaseConsumptionRate",&obj0,&obj1)) SWIG_fail;
204842  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
204843  if (!SWIG_IsOK(res1)) {
204844  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_BaseConsumptionRate" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
204845  }
204846  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
204847  ecode2 = SWIG_AsVal_float(obj1, &val2);
204848  if (!SWIG_IsOK(ecode2)) {
204849  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Stomach_BaseConsumptionRate" "', argument " "2"" of type '" "float""'");
204850  }
204851  arg2 = static_cast< float >(val2);
204852  {
204853  try {
204854  (arg1)->BaseConsumptionRate(arg2);
204855  }
204856  catch(CStdErrorInfo oError)
204857  {
204858  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204859  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204860  PyErr_SetString(PyExc_IndexError, strError.c_str());
204861  SWIG_fail;
204862  }
204863  catch(...)
204864  {
204865  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204866  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204867  SWIG_fail;
204868  }
204869  }
204870  resultobj = SWIG_Py_Void();
204871  return resultobj;
204872 fail:
204873  return NULL;
204874 }
204875 
204876 
204877 SWIGINTERN PyObject *_wrap_Stomach_BaseConsumptionRate(PyObject *self, PyObject *args) {
204878  int argc;
204879  PyObject *argv[3];
204880  int ii;
204881 
204882  if (!PyTuple_Check(args)) SWIG_fail;
204883  argc = args ? (int)PyObject_Length(args) : 0;
204884  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
204885  argv[ii] = PyTuple_GET_ITEM(args,ii);
204886  }
204887  if (argc == 1) {
204888  int _v;
204889  void *vptr = 0;
204890  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0);
204891  _v = SWIG_CheckState(res);
204892  if (_v) {
204893  return _wrap_Stomach_BaseConsumptionRate__SWIG_0(self, args);
204894  }
204895  }
204896  if (argc == 2) {
204897  int _v;
204898  void *vptr = 0;
204899  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0);
204900  _v = SWIG_CheckState(res);
204901  if (_v) {
204902  {
204903  int res = SWIG_AsVal_float(argv[1], NULL);
204904  _v = SWIG_CheckState(res);
204905  }
204906  if (_v) {
204907  return _wrap_Stomach_BaseConsumptionRate__SWIG_1(self, args);
204908  }
204909  }
204910  }
204911 
204912 fail:
204913  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Stomach_BaseConsumptionRate'.\n"
204914  " Possible C/C++ prototypes are:\n"
204915  " AnimatSim::Environment::Bodies::Stomach::BaseConsumptionRate()\n"
204916  " AnimatSim::Environment::Bodies::Stomach::BaseConsumptionRate(float)\n");
204917  return 0;
204918 }
204919 
204920 
204921 SWIGINTERN PyObject *_wrap_Stomach_MaxEnergyLevel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204922  PyObject *resultobj = 0;
204924  void *argp1 = 0 ;
204925  int res1 = 0 ;
204926  PyObject * obj0 = 0 ;
204927  float result;
204928 
204929  if (!PyArg_ParseTuple(args,(char *)"O:Stomach_MaxEnergyLevel",&obj0)) SWIG_fail;
204930  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
204931  if (!SWIG_IsOK(res1)) {
204932  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_MaxEnergyLevel" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
204933  }
204934  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
204935  {
204936  try {
204937  result = (float)(arg1)->MaxEnergyLevel();
204938  }
204939  catch(CStdErrorInfo oError)
204940  {
204941  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204942  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204943  PyErr_SetString(PyExc_IndexError, strError.c_str());
204944  SWIG_fail;
204945  }
204946  catch(...)
204947  {
204948  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204949  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204950  SWIG_fail;
204951  }
204952  }
204953  resultobj = SWIG_From_float(static_cast< float >(result));
204954  return resultobj;
204955 fail:
204956  return NULL;
204957 }
204958 
204959 
204960 SWIGINTERN PyObject *_wrap_Stomach_MaxEnergyLevel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
204961  PyObject *resultobj = 0;
204963  float arg2 ;
204964  void *argp1 = 0 ;
204965  int res1 = 0 ;
204966  float val2 ;
204967  int ecode2 = 0 ;
204968  PyObject * obj0 = 0 ;
204969  PyObject * obj1 = 0 ;
204970 
204971  if (!PyArg_ParseTuple(args,(char *)"OO:Stomach_MaxEnergyLevel",&obj0,&obj1)) SWIG_fail;
204972  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
204973  if (!SWIG_IsOK(res1)) {
204974  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_MaxEnergyLevel" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
204975  }
204976  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
204977  ecode2 = SWIG_AsVal_float(obj1, &val2);
204978  if (!SWIG_IsOK(ecode2)) {
204979  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Stomach_MaxEnergyLevel" "', argument " "2"" of type '" "float""'");
204980  }
204981  arg2 = static_cast< float >(val2);
204982  {
204983  try {
204984  (arg1)->MaxEnergyLevel(arg2);
204985  }
204986  catch(CStdErrorInfo oError)
204987  {
204988  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204989  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
204990  PyErr_SetString(PyExc_IndexError, strError.c_str());
204991  SWIG_fail;
204992  }
204993  catch(...)
204994  {
204995  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
204996  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
204997  SWIG_fail;
204998  }
204999  }
205000  resultobj = SWIG_Py_Void();
205001  return resultobj;
205002 fail:
205003  return NULL;
205004 }
205005 
205006 
205007 SWIGINTERN PyObject *_wrap_Stomach_MaxEnergyLevel(PyObject *self, PyObject *args) {
205008  int argc;
205009  PyObject *argv[3];
205010  int ii;
205011 
205012  if (!PyTuple_Check(args)) SWIG_fail;
205013  argc = args ? (int)PyObject_Length(args) : 0;
205014  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
205015  argv[ii] = PyTuple_GET_ITEM(args,ii);
205016  }
205017  if (argc == 1) {
205018  int _v;
205019  void *vptr = 0;
205020  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0);
205021  _v = SWIG_CheckState(res);
205022  if (_v) {
205023  return _wrap_Stomach_MaxEnergyLevel__SWIG_0(self, args);
205024  }
205025  }
205026  if (argc == 2) {
205027  int _v;
205028  void *vptr = 0;
205029  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0);
205030  _v = SWIG_CheckState(res);
205031  if (_v) {
205032  {
205033  int res = SWIG_AsVal_float(argv[1], NULL);
205034  _v = SWIG_CheckState(res);
205035  }
205036  if (_v) {
205037  return _wrap_Stomach_MaxEnergyLevel__SWIG_1(self, args);
205038  }
205039  }
205040  }
205041 
205042 fail:
205043  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Stomach_MaxEnergyLevel'.\n"
205044  " Possible C/C++ prototypes are:\n"
205045  " AnimatSim::Environment::Bodies::Stomach::MaxEnergyLevel()\n"
205046  " AnimatSim::Environment::Bodies::Stomach::MaxEnergyLevel(float)\n");
205047  return 0;
205048 }
205049 
205050 
205051 SWIGINTERN PyObject *_wrap_Stomach_KillOrganism__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205052  PyObject *resultobj = 0;
205054  void *argp1 = 0 ;
205055  int res1 = 0 ;
205056  PyObject * obj0 = 0 ;
205057  bool result;
205058 
205059  if (!PyArg_ParseTuple(args,(char *)"O:Stomach_KillOrganism",&obj0)) SWIG_fail;
205060  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
205061  if (!SWIG_IsOK(res1)) {
205062  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_KillOrganism" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
205063  }
205064  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
205065  {
205066  try {
205067  result = (bool)(arg1)->KillOrganism();
205068  }
205069  catch(CStdErrorInfo oError)
205070  {
205071  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205072  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205073  PyErr_SetString(PyExc_IndexError, strError.c_str());
205074  SWIG_fail;
205075  }
205076  catch(...)
205077  {
205078  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205079  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205080  SWIG_fail;
205081  }
205082  }
205083  resultobj = SWIG_From_bool(static_cast< bool >(result));
205084  return resultobj;
205085 fail:
205086  return NULL;
205087 }
205088 
205089 
205090 SWIGINTERN PyObject *_wrap_Stomach_KillOrganism__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205091  PyObject *resultobj = 0;
205093  bool arg2 ;
205094  void *argp1 = 0 ;
205095  int res1 = 0 ;
205096  bool val2 ;
205097  int ecode2 = 0 ;
205098  PyObject * obj0 = 0 ;
205099  PyObject * obj1 = 0 ;
205100 
205101  if (!PyArg_ParseTuple(args,(char *)"OO:Stomach_KillOrganism",&obj0,&obj1)) SWIG_fail;
205102  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
205103  if (!SWIG_IsOK(res1)) {
205104  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_KillOrganism" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
205105  }
205106  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
205107  ecode2 = SWIG_AsVal_bool(obj1, &val2);
205108  if (!SWIG_IsOK(ecode2)) {
205109  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Stomach_KillOrganism" "', argument " "2"" of type '" "bool""'");
205110  }
205111  arg2 = static_cast< bool >(val2);
205112  {
205113  try {
205114  (arg1)->KillOrganism(arg2);
205115  }
205116  catch(CStdErrorInfo oError)
205117  {
205118  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205119  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205120  PyErr_SetString(PyExc_IndexError, strError.c_str());
205121  SWIG_fail;
205122  }
205123  catch(...)
205124  {
205125  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205126  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205127  SWIG_fail;
205128  }
205129  }
205130  resultobj = SWIG_Py_Void();
205131  return resultobj;
205132 fail:
205133  return NULL;
205134 }
205135 
205136 
205137 SWIGINTERN PyObject *_wrap_Stomach_KillOrganism(PyObject *self, PyObject *args) {
205138  int argc;
205139  PyObject *argv[3];
205140  int ii;
205141 
205142  if (!PyTuple_Check(args)) SWIG_fail;
205143  argc = args ? (int)PyObject_Length(args) : 0;
205144  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
205145  argv[ii] = PyTuple_GET_ITEM(args,ii);
205146  }
205147  if (argc == 1) {
205148  int _v;
205149  void *vptr = 0;
205150  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0);
205151  _v = SWIG_CheckState(res);
205152  if (_v) {
205153  return _wrap_Stomach_KillOrganism__SWIG_0(self, args);
205154  }
205155  }
205156  if (argc == 2) {
205157  int _v;
205158  void *vptr = 0;
205159  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0);
205160  _v = SWIG_CheckState(res);
205161  if (_v) {
205162  {
205163  int res = SWIG_AsVal_bool(argv[1], NULL);
205164  _v = SWIG_CheckState(res);
205165  }
205166  if (_v) {
205167  return _wrap_Stomach_KillOrganism__SWIG_1(self, args);
205168  }
205169  }
205170  }
205171 
205172 fail:
205173  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Stomach_KillOrganism'.\n"
205174  " Possible C/C++ prototypes are:\n"
205175  " AnimatSim::Environment::Bodies::Stomach::KillOrganism()\n"
205176  " AnimatSim::Environment::Bodies::Stomach::KillOrganism(bool)\n");
205177  return 0;
205178 }
205179 
205180 
205181 SWIGINTERN PyObject *_wrap_Stomach_HasStaticJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205182  PyObject *resultobj = 0;
205184  void *argp1 = 0 ;
205185  int res1 = 0 ;
205186  PyObject * obj0 = 0 ;
205187  bool result;
205188 
205189  if (!PyArg_ParseTuple(args,(char *)"O:Stomach_HasStaticJoint",&obj0)) SWIG_fail;
205190  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
205191  if (!SWIG_IsOK(res1)) {
205192  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_HasStaticJoint" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
205193  }
205194  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
205195  {
205196  try {
205197  result = (bool)(arg1)->HasStaticJoint();
205198  }
205199  catch(CStdErrorInfo oError)
205200  {
205201  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205202  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205203  PyErr_SetString(PyExc_IndexError, strError.c_str());
205204  SWIG_fail;
205205  }
205206  catch(...)
205207  {
205208  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205209  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205210  SWIG_fail;
205211  }
205212  }
205213  resultobj = SWIG_From_bool(static_cast< bool >(result));
205214  return resultobj;
205215 fail:
205216  return NULL;
205217 }
205218 
205219 
205220 SWIGINTERN PyObject *_wrap_Stomach_CreateParts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205221  PyObject *resultobj = 0;
205223  void *argp1 = 0 ;
205224  int res1 = 0 ;
205225  PyObject * obj0 = 0 ;
205226 
205227  if (!PyArg_ParseTuple(args,(char *)"O:Stomach_CreateParts",&obj0)) SWIG_fail;
205228  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
205229  if (!SWIG_IsOK(res1)) {
205230  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_CreateParts" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
205231  }
205232  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
205233  {
205234  try {
205235  (arg1)->CreateParts();
205236  }
205237  catch(CStdErrorInfo oError)
205238  {
205239  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205240  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205241  PyErr_SetString(PyExc_IndexError, strError.c_str());
205242  SWIG_fail;
205243  }
205244  catch(...)
205245  {
205246  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205247  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205248  SWIG_fail;
205249  }
205250  }
205251  resultobj = SWIG_Py_Void();
205252  return resultobj;
205253 fail:
205254  return NULL;
205255 }
205256 
205257 
205258 SWIGINTERN PyObject *_wrap_Stomach_AddExternalNodeInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205259  PyObject *resultobj = 0;
205261  int arg2 ;
205262  float arg3 ;
205263  void *argp1 = 0 ;
205264  int res1 = 0 ;
205265  int val2 ;
205266  int ecode2 = 0 ;
205267  float val3 ;
205268  int ecode3 = 0 ;
205269  PyObject * obj0 = 0 ;
205270  PyObject * obj1 = 0 ;
205271  PyObject * obj2 = 0 ;
205272 
205273  if (!PyArg_ParseTuple(args,(char *)"OOO:Stomach_AddExternalNodeInput",&obj0,&obj1,&obj2)) SWIG_fail;
205274  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
205275  if (!SWIG_IsOK(res1)) {
205276  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_AddExternalNodeInput" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
205277  }
205278  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
205279  ecode2 = SWIG_AsVal_int(obj1, &val2);
205280  if (!SWIG_IsOK(ecode2)) {
205281  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Stomach_AddExternalNodeInput" "', argument " "2"" of type '" "int""'");
205282  }
205283  arg2 = static_cast< int >(val2);
205284  ecode3 = SWIG_AsVal_float(obj2, &val3);
205285  if (!SWIG_IsOK(ecode3)) {
205286  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Stomach_AddExternalNodeInput" "', argument " "3"" of type '" "float""'");
205287  }
205288  arg3 = static_cast< float >(val3);
205289  {
205290  try {
205291  (arg1)->AddExternalNodeInput(arg2,arg3);
205292  }
205293  catch(CStdErrorInfo oError)
205294  {
205295  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205296  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205297  PyErr_SetString(PyExc_IndexError, strError.c_str());
205298  SWIG_fail;
205299  }
205300  catch(...)
205301  {
205302  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205303  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205304  SWIG_fail;
205305  }
205306  }
205307  resultobj = SWIG_Py_Void();
205308  return resultobj;
205309 fail:
205310  return NULL;
205311 }
205312 
205313 
205314 SWIGINTERN PyObject *_wrap_Stomach_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205315  PyObject *resultobj = 0;
205317  std::string *arg2 = 0 ;
205318  void *argp1 = 0 ;
205319  int res1 = 0 ;
205320  int res2 = SWIG_OLDOBJ ;
205321  PyObject * obj0 = 0 ;
205322  PyObject * obj1 = 0 ;
205323  float *result = 0 ;
205324 
205325  if (!PyArg_ParseTuple(args,(char *)"OO:Stomach_GetDataPointer",&obj0,&obj1)) SWIG_fail;
205326  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
205327  if (!SWIG_IsOK(res1)) {
205328  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
205329  }
205330  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
205331  {
205332  std::string *ptr = (std::string *)0;
205333  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
205334  if (!SWIG_IsOK(res2)) {
205335  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Stomach_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
205336  }
205337  if (!ptr) {
205338  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Stomach_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
205339  }
205340  arg2 = ptr;
205341  }
205342  {
205343  try {
205344  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
205345  }
205346  catch(CStdErrorInfo oError)
205347  {
205348  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205349  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205350  PyErr_SetString(PyExc_IndexError, strError.c_str());
205351  SWIG_fail;
205352  }
205353  catch(...)
205354  {
205355  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205356  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205357  SWIG_fail;
205358  }
205359  }
205360  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
205361  if (SWIG_IsNewObj(res2)) delete arg2;
205362  return resultobj;
205363 fail:
205364  if (SWIG_IsNewObj(res2)) delete arg2;
205365  return NULL;
205366 }
205367 
205368 
205369 SWIGINTERN PyObject *_wrap_Stomach_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205370  PyObject *resultobj = 0;
205372  std::string *arg2 = 0 ;
205373  std::string *arg3 = 0 ;
205374  bool arg4 ;
205375  void *argp1 = 0 ;
205376  int res1 = 0 ;
205377  int res2 = SWIG_OLDOBJ ;
205378  int res3 = SWIG_OLDOBJ ;
205379  bool val4 ;
205380  int ecode4 = 0 ;
205381  PyObject * obj0 = 0 ;
205382  PyObject * obj1 = 0 ;
205383  PyObject * obj2 = 0 ;
205384  PyObject * obj3 = 0 ;
205385  bool result;
205386 
205387  if (!PyArg_ParseTuple(args,(char *)"OOOO:Stomach_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
205388  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
205389  if (!SWIG_IsOK(res1)) {
205390  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
205391  }
205392  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
205393  {
205394  std::string *ptr = (std::string *)0;
205395  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
205396  if (!SWIG_IsOK(res2)) {
205397  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Stomach_SetData" "', argument " "2"" of type '" "std::string const &""'");
205398  }
205399  if (!ptr) {
205400  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Stomach_SetData" "', argument " "2"" of type '" "std::string const &""'");
205401  }
205402  arg2 = ptr;
205403  }
205404  {
205405  std::string *ptr = (std::string *)0;
205406  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
205407  if (!SWIG_IsOK(res3)) {
205408  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Stomach_SetData" "', argument " "3"" of type '" "std::string const &""'");
205409  }
205410  if (!ptr) {
205411  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Stomach_SetData" "', argument " "3"" of type '" "std::string const &""'");
205412  }
205413  arg3 = ptr;
205414  }
205415  ecode4 = SWIG_AsVal_bool(obj3, &val4);
205416  if (!SWIG_IsOK(ecode4)) {
205417  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Stomach_SetData" "', argument " "4"" of type '" "bool""'");
205418  }
205419  arg4 = static_cast< bool >(val4);
205420  {
205421  try {
205422  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
205423  }
205424  catch(CStdErrorInfo oError)
205425  {
205426  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205427  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205428  PyErr_SetString(PyExc_IndexError, strError.c_str());
205429  SWIG_fail;
205430  }
205431  catch(...)
205432  {
205433  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205434  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205435  SWIG_fail;
205436  }
205437  }
205438  resultobj = SWIG_From_bool(static_cast< bool >(result));
205439  if (SWIG_IsNewObj(res2)) delete arg2;
205440  if (SWIG_IsNewObj(res3)) delete arg3;
205441  return resultobj;
205442 fail:
205443  if (SWIG_IsNewObj(res2)) delete arg2;
205444  if (SWIG_IsNewObj(res3)) delete arg3;
205445  return NULL;
205446 }
205447 
205448 
205449 SWIGINTERN PyObject *_wrap_Stomach_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205450  PyObject *resultobj = 0;
205452  std::string *arg2 = 0 ;
205453  std::string *arg3 = 0 ;
205454  void *argp1 = 0 ;
205455  int res1 = 0 ;
205456  int res2 = SWIG_OLDOBJ ;
205457  int res3 = SWIG_OLDOBJ ;
205458  PyObject * obj0 = 0 ;
205459  PyObject * obj1 = 0 ;
205460  PyObject * obj2 = 0 ;
205461  bool result;
205462 
205463  if (!PyArg_ParseTuple(args,(char *)"OOO:Stomach_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
205464  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
205465  if (!SWIG_IsOK(res1)) {
205466  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
205467  }
205468  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
205469  {
205470  std::string *ptr = (std::string *)0;
205471  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
205472  if (!SWIG_IsOK(res2)) {
205473  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Stomach_SetData" "', argument " "2"" of type '" "std::string const &""'");
205474  }
205475  if (!ptr) {
205476  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Stomach_SetData" "', argument " "2"" of type '" "std::string const &""'");
205477  }
205478  arg2 = ptr;
205479  }
205480  {
205481  std::string *ptr = (std::string *)0;
205482  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
205483  if (!SWIG_IsOK(res3)) {
205484  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Stomach_SetData" "', argument " "3"" of type '" "std::string const &""'");
205485  }
205486  if (!ptr) {
205487  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Stomach_SetData" "', argument " "3"" of type '" "std::string const &""'");
205488  }
205489  arg3 = ptr;
205490  }
205491  {
205492  try {
205493  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
205494  }
205495  catch(CStdErrorInfo oError)
205496  {
205497  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205498  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205499  PyErr_SetString(PyExc_IndexError, strError.c_str());
205500  SWIG_fail;
205501  }
205502  catch(...)
205503  {
205504  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205505  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205506  SWIG_fail;
205507  }
205508  }
205509  resultobj = SWIG_From_bool(static_cast< bool >(result));
205510  if (SWIG_IsNewObj(res2)) delete arg2;
205511  if (SWIG_IsNewObj(res3)) delete arg3;
205512  return resultobj;
205513 fail:
205514  if (SWIG_IsNewObj(res2)) delete arg2;
205515  if (SWIG_IsNewObj(res3)) delete arg3;
205516  return NULL;
205517 }
205518 
205519 
205520 SWIGINTERN PyObject *_wrap_Stomach_SetData(PyObject *self, PyObject *args) {
205521  int argc;
205522  PyObject *argv[5];
205523  int ii;
205524 
205525  if (!PyTuple_Check(args)) SWIG_fail;
205526  argc = args ? (int)PyObject_Length(args) : 0;
205527  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
205528  argv[ii] = PyTuple_GET_ITEM(args,ii);
205529  }
205530  if (argc == 3) {
205531  int _v;
205532  void *vptr = 0;
205533  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0);
205534  _v = SWIG_CheckState(res);
205535  if (_v) {
205536  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
205537  _v = SWIG_CheckState(res);
205538  if (_v) {
205539  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
205540  _v = SWIG_CheckState(res);
205541  if (_v) {
205542  return _wrap_Stomach_SetData__SWIG_1(self, args);
205543  }
205544  }
205545  }
205546  }
205547  if (argc == 4) {
205548  int _v;
205549  void *vptr = 0;
205550  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0);
205551  _v = SWIG_CheckState(res);
205552  if (_v) {
205553  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
205554  _v = SWIG_CheckState(res);
205555  if (_v) {
205556  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
205557  _v = SWIG_CheckState(res);
205558  if (_v) {
205559  {
205560  int res = SWIG_AsVal_bool(argv[3], NULL);
205561  _v = SWIG_CheckState(res);
205562  }
205563  if (_v) {
205564  return _wrap_Stomach_SetData__SWIG_0(self, args);
205565  }
205566  }
205567  }
205568  }
205569  }
205570 
205571 fail:
205572  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Stomach_SetData'.\n"
205573  " Possible C/C++ prototypes are:\n"
205574  " AnimatSim::Environment::Bodies::Stomach::SetData(std::string const &,std::string const &,bool)\n"
205575  " AnimatSim::Environment::Bodies::Stomach::SetData(std::string const &,std::string const &)\n");
205576  return 0;
205577 }
205578 
205579 
205580 SWIGINTERN PyObject *_wrap_Stomach_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205581  PyObject *resultobj = 0;
205583  CStdPtrArray< TypeProperty > *arg2 = 0 ;
205584  void *argp1 = 0 ;
205585  int res1 = 0 ;
205586  void *argp2 = 0 ;
205587  int res2 = 0 ;
205588  PyObject * obj0 = 0 ;
205589  PyObject * obj1 = 0 ;
205590 
205591  if (!PyArg_ParseTuple(args,(char *)"OO:Stomach_QueryProperties",&obj0,&obj1)) SWIG_fail;
205592  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
205593  if (!SWIG_IsOK(res1)) {
205594  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
205595  }
205596  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
205597  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
205598  if (!SWIG_IsOK(res2)) {
205599  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Stomach_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
205600  }
205601  if (!argp2) {
205602  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Stomach_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
205603  }
205604  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
205605  {
205606  try {
205607  (arg1)->QueryProperties(*arg2);
205608  }
205609  catch(CStdErrorInfo oError)
205610  {
205611  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205612  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205613  PyErr_SetString(PyExc_IndexError, strError.c_str());
205614  SWIG_fail;
205615  }
205616  catch(...)
205617  {
205618  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205619  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205620  SWIG_fail;
205621  }
205622  }
205623  resultobj = SWIG_Py_Void();
205624  return resultobj;
205625 fail:
205626  return NULL;
205627 }
205628 
205629 
205630 SWIGINTERN PyObject *_wrap_Stomach_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205631  PyObject *resultobj = 0;
205633  void *argp1 = 0 ;
205634  int res1 = 0 ;
205635  PyObject * obj0 = 0 ;
205636 
205637  if (!PyArg_ParseTuple(args,(char *)"O:Stomach_StepSimulation",&obj0)) SWIG_fail;
205638  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
205639  if (!SWIG_IsOK(res1)) {
205640  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
205641  }
205642  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
205643  {
205644  try {
205645  (arg1)->StepSimulation();
205646  }
205647  catch(CStdErrorInfo oError)
205648  {
205649  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205650  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205651  PyErr_SetString(PyExc_IndexError, strError.c_str());
205652  SWIG_fail;
205653  }
205654  catch(...)
205655  {
205656  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205657  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205658  SWIG_fail;
205659  }
205660  }
205661  resultobj = SWIG_Py_Void();
205662  return resultobj;
205663 fail:
205664  return NULL;
205665 }
205666 
205667 
205668 SWIGINTERN PyObject *_wrap_Stomach_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205669  PyObject *resultobj = 0;
205671  void *argp1 = 0 ;
205672  int res1 = 0 ;
205673  PyObject * obj0 = 0 ;
205674 
205675  if (!PyArg_ParseTuple(args,(char *)"O:Stomach_ResetSimulation",&obj0)) SWIG_fail;
205676  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
205677  if (!SWIG_IsOK(res1)) {
205678  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
205679  }
205680  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
205681  {
205682  try {
205683  (arg1)->ResetSimulation();
205684  }
205685  catch(CStdErrorInfo oError)
205686  {
205687  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205688  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205689  PyErr_SetString(PyExc_IndexError, strError.c_str());
205690  SWIG_fail;
205691  }
205692  catch(...)
205693  {
205694  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205695  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205696  SWIG_fail;
205697  }
205698  }
205699  resultobj = SWIG_Py_Void();
205700  return resultobj;
205701 fail:
205702  return NULL;
205703 }
205704 
205705 
205706 SWIGINTERN PyObject *_wrap_Stomach_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205707  PyObject *resultobj = 0;
205709  CStdXml *arg2 = 0 ;
205710  void *argp1 = 0 ;
205711  int res1 = 0 ;
205712  void *argp2 = 0 ;
205713  int res2 = 0 ;
205714  PyObject * obj0 = 0 ;
205715  PyObject * obj1 = 0 ;
205716 
205717  if (!PyArg_ParseTuple(args,(char *)"OO:Stomach_Load",&obj0,&obj1)) SWIG_fail;
205718  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, 0 | 0 );
205719  if (!SWIG_IsOK(res1)) {
205720  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Stomach_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Stomach *""'");
205721  }
205722  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Stomach * >(argp1);
205723  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
205724  if (!SWIG_IsOK(res2)) {
205725  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Stomach_Load" "', argument " "2"" of type '" "CStdXml &""'");
205726  }
205727  if (!argp2) {
205728  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Stomach_Load" "', argument " "2"" of type '" "CStdXml &""'");
205729  }
205730  arg2 = reinterpret_cast< CStdXml * >(argp2);
205731  {
205732  try {
205733  (arg1)->Load(*arg2);
205734  }
205735  catch(CStdErrorInfo oError)
205736  {
205737  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205738  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205739  PyErr_SetString(PyExc_IndexError, strError.c_str());
205740  SWIG_fail;
205741  }
205742  catch(...)
205743  {
205744  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205745  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205746  SWIG_fail;
205747  }
205748  }
205749  resultobj = SWIG_Py_Void();
205750  return resultobj;
205751 fail:
205752  return NULL;
205753 }
205754 
205755 
205756 SWIGINTERN PyObject *Stomach_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205757  PyObject *obj;
205758  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
205759  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach, SWIG_NewClientData(obj));
205760  return SWIG_Py_Void();
205761 }
205762 
205763 SWIGINTERN PyObject *_wrap_new_Mouth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205764  PyObject *resultobj = 0;
205766 
205767  if (!PyArg_ParseTuple(args,(char *)":new_Mouth")) SWIG_fail;
205768  {
205769  try {
205771  }
205772  catch(CStdErrorInfo oError)
205773  {
205774  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205775  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205776  PyErr_SetString(PyExc_IndexError, strError.c_str());
205777  SWIG_fail;
205778  }
205779  catch(...)
205780  {
205781  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205782  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205783  SWIG_fail;
205784  }
205785  }
205786  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, SWIG_POINTER_NEW | 0 );
205787  return resultobj;
205788 fail:
205789  return NULL;
205790 }
205791 
205792 
205793 SWIGINTERN PyObject *_wrap_delete_Mouth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205794  PyObject *resultobj = 0;
205796  void *argp1 = 0 ;
205797  int res1 = 0 ;
205798  PyObject * obj0 = 0 ;
205799 
205800  if (!PyArg_ParseTuple(args,(char *)"O:delete_Mouth",&obj0)) SWIG_fail;
205801  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, SWIG_POINTER_DISOWN | 0 );
205802  if (!SWIG_IsOK(res1)) {
205803  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Mouth" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
205804  }
205805  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
205806  {
205807  try {
205808  delete arg1;
205809  }
205810  catch(CStdErrorInfo oError)
205811  {
205812  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205813  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205814  PyErr_SetString(PyExc_IndexError, strError.c_str());
205815  SWIG_fail;
205816  }
205817  catch(...)
205818  {
205819  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205820  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205821  SWIG_fail;
205822  }
205823  }
205824  resultobj = SWIG_Py_Void();
205825  return resultobj;
205826 fail:
205827  return NULL;
205828 }
205829 
205830 
205831 SWIGINTERN PyObject *_wrap_Mouth_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205832  PyObject *resultobj = 0;
205834  void *argp1 = 0 ;
205835  int res1 = 0 ;
205836  PyObject * obj0 = 0 ;
205838 
205839  if (!PyArg_ParseTuple(args,(char *)"O:Mouth_CastToDerived",&obj0)) SWIG_fail;
205840  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
205841  if (!SWIG_IsOK(res1)) {
205842  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
205843  }
205844  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
205845  {
205846  try {
205847  result = (AnimatSim::Environment::Bodies::Mouth *)AnimatSim::Environment::Bodies::Mouth::CastToDerived(arg1);
205848  }
205849  catch(CStdErrorInfo oError)
205850  {
205851  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205852  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205853  PyErr_SetString(PyExc_IndexError, strError.c_str());
205854  SWIG_fail;
205855  }
205856  catch(...)
205857  {
205858  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205859  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205860  SWIG_fail;
205861  }
205862  }
205863  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
205864  return resultobj;
205865 fail:
205866  return NULL;
205867 }
205868 
205869 
205870 SWIGINTERN PyObject *_wrap_Mouth_EatingRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205871  PyObject *resultobj = 0;
205873  void *argp1 = 0 ;
205874  int res1 = 0 ;
205875  PyObject * obj0 = 0 ;
205876  float result;
205877 
205878  if (!PyArg_ParseTuple(args,(char *)"O:Mouth_EatingRate",&obj0)) SWIG_fail;
205879  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
205880  if (!SWIG_IsOK(res1)) {
205881  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_EatingRate" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
205882  }
205883  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
205884  {
205885  try {
205886  result = (float)(arg1)->EatingRate();
205887  }
205888  catch(CStdErrorInfo oError)
205889  {
205890  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205891  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205892  PyErr_SetString(PyExc_IndexError, strError.c_str());
205893  SWIG_fail;
205894  }
205895  catch(...)
205896  {
205897  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205898  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205899  SWIG_fail;
205900  }
205901  }
205902  resultobj = SWIG_From_float(static_cast< float >(result));
205903  return resultobj;
205904 fail:
205905  return NULL;
205906 }
205907 
205908 
205909 SWIGINTERN PyObject *_wrap_Mouth_MinFoodRadius__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205910  PyObject *resultobj = 0;
205912  void *argp1 = 0 ;
205913  int res1 = 0 ;
205914  PyObject * obj0 = 0 ;
205915  float result;
205916 
205917  if (!PyArg_ParseTuple(args,(char *)"O:Mouth_MinFoodRadius",&obj0)) SWIG_fail;
205918  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
205919  if (!SWIG_IsOK(res1)) {
205920  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_MinFoodRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
205921  }
205922  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
205923  {
205924  try {
205925  result = (float)(arg1)->MinFoodRadius();
205926  }
205927  catch(CStdErrorInfo oError)
205928  {
205929  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205930  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205931  PyErr_SetString(PyExc_IndexError, strError.c_str());
205932  SWIG_fail;
205933  }
205934  catch(...)
205935  {
205936  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205937  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205938  SWIG_fail;
205939  }
205940  }
205941  resultobj = SWIG_From_float(static_cast< float >(result));
205942  return resultobj;
205943 fail:
205944  return NULL;
205945 }
205946 
205947 
205948 SWIGINTERN PyObject *_wrap_Mouth_MinFoodRadius__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
205949  PyObject *resultobj = 0;
205951  float arg2 ;
205952  bool arg3 ;
205953  void *argp1 = 0 ;
205954  int res1 = 0 ;
205955  float val2 ;
205956  int ecode2 = 0 ;
205957  bool val3 ;
205958  int ecode3 = 0 ;
205959  PyObject * obj0 = 0 ;
205960  PyObject * obj1 = 0 ;
205961  PyObject * obj2 = 0 ;
205962 
205963  if (!PyArg_ParseTuple(args,(char *)"OOO:Mouth_MinFoodRadius",&obj0,&obj1,&obj2)) SWIG_fail;
205964  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
205965  if (!SWIG_IsOK(res1)) {
205966  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_MinFoodRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
205967  }
205968  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
205969  ecode2 = SWIG_AsVal_float(obj1, &val2);
205970  if (!SWIG_IsOK(ecode2)) {
205971  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Mouth_MinFoodRadius" "', argument " "2"" of type '" "float""'");
205972  }
205973  arg2 = static_cast< float >(val2);
205974  ecode3 = SWIG_AsVal_bool(obj2, &val3);
205975  if (!SWIG_IsOK(ecode3)) {
205976  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Mouth_MinFoodRadius" "', argument " "3"" of type '" "bool""'");
205977  }
205978  arg3 = static_cast< bool >(val3);
205979  {
205980  try {
205981  (arg1)->MinFoodRadius(arg2,arg3);
205982  }
205983  catch(CStdErrorInfo oError)
205984  {
205985  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205986  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
205987  PyErr_SetString(PyExc_IndexError, strError.c_str());
205988  SWIG_fail;
205989  }
205990  catch(...)
205991  {
205992  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
205993  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
205994  SWIG_fail;
205995  }
205996  }
205997  resultobj = SWIG_Py_Void();
205998  return resultobj;
205999 fail:
206000  return NULL;
206001 }
206002 
206003 
206004 SWIGINTERN PyObject *_wrap_Mouth_MinFoodRadius__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206005  PyObject *resultobj = 0;
206007  float arg2 ;
206008  void *argp1 = 0 ;
206009  int res1 = 0 ;
206010  float val2 ;
206011  int ecode2 = 0 ;
206012  PyObject * obj0 = 0 ;
206013  PyObject * obj1 = 0 ;
206014 
206015  if (!PyArg_ParseTuple(args,(char *)"OO:Mouth_MinFoodRadius",&obj0,&obj1)) SWIG_fail;
206016  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
206017  if (!SWIG_IsOK(res1)) {
206018  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_MinFoodRadius" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
206019  }
206020  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
206021  ecode2 = SWIG_AsVal_float(obj1, &val2);
206022  if (!SWIG_IsOK(ecode2)) {
206023  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Mouth_MinFoodRadius" "', argument " "2"" of type '" "float""'");
206024  }
206025  arg2 = static_cast< float >(val2);
206026  {
206027  try {
206028  (arg1)->MinFoodRadius(arg2);
206029  }
206030  catch(CStdErrorInfo oError)
206031  {
206032  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206033  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
206034  PyErr_SetString(PyExc_IndexError, strError.c_str());
206035  SWIG_fail;
206036  }
206037  catch(...)
206038  {
206039  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206040  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
206041  SWIG_fail;
206042  }
206043  }
206044  resultobj = SWIG_Py_Void();
206045  return resultobj;
206046 fail:
206047  return NULL;
206048 }
206049 
206050 
206051 SWIGINTERN PyObject *_wrap_Mouth_MinFoodRadius(PyObject *self, PyObject *args) {
206052  int argc;
206053  PyObject *argv[4];
206054  int ii;
206055 
206056  if (!PyTuple_Check(args)) SWIG_fail;
206057  argc = args ? (int)PyObject_Length(args) : 0;
206058  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
206059  argv[ii] = PyTuple_GET_ITEM(args,ii);
206060  }
206061  if (argc == 1) {
206062  int _v;
206063  void *vptr = 0;
206064  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0);
206065  _v = SWIG_CheckState(res);
206066  if (_v) {
206067  return _wrap_Mouth_MinFoodRadius__SWIG_0(self, args);
206068  }
206069  }
206070  if (argc == 2) {
206071  int _v;
206072  void *vptr = 0;
206073  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0);
206074  _v = SWIG_CheckState(res);
206075  if (_v) {
206076  {
206077  int res = SWIG_AsVal_float(argv[1], NULL);
206078  _v = SWIG_CheckState(res);
206079  }
206080  if (_v) {
206081  return _wrap_Mouth_MinFoodRadius__SWIG_2(self, args);
206082  }
206083  }
206084  }
206085  if (argc == 3) {
206086  int _v;
206087  void *vptr = 0;
206088  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0);
206089  _v = SWIG_CheckState(res);
206090  if (_v) {
206091  {
206092  int res = SWIG_AsVal_float(argv[1], NULL);
206093  _v = SWIG_CheckState(res);
206094  }
206095  if (_v) {
206096  {
206097  int res = SWIG_AsVal_bool(argv[2], NULL);
206098  _v = SWIG_CheckState(res);
206099  }
206100  if (_v) {
206101  return _wrap_Mouth_MinFoodRadius__SWIG_1(self, args);
206102  }
206103  }
206104  }
206105  }
206106 
206107 fail:
206108  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Mouth_MinFoodRadius'.\n"
206109  " Possible C/C++ prototypes are:\n"
206110  " AnimatSim::Environment::Bodies::Mouth::MinFoodRadius()\n"
206111  " AnimatSim::Environment::Bodies::Mouth::MinFoodRadius(float,bool)\n"
206112  " AnimatSim::Environment::Bodies::Mouth::MinFoodRadius(float)\n");
206113  return 0;
206114 }
206115 
206116 
206117 SWIGINTERN PyObject *_wrap_Mouth_StomachID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206118  PyObject *resultobj = 0;
206120  std::string arg2 ;
206121  void *argp1 = 0 ;
206122  int res1 = 0 ;
206123  PyObject * obj0 = 0 ;
206124  PyObject * obj1 = 0 ;
206125 
206126  if (!PyArg_ParseTuple(args,(char *)"OO:Mouth_StomachID",&obj0,&obj1)) SWIG_fail;
206127  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
206128  if (!SWIG_IsOK(res1)) {
206129  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_StomachID" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
206130  }
206131  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
206132  {
206133  std::string *ptr = (std::string *)0;
206134  int res = SWIG_AsPtr_std_string(obj1, &ptr);
206135  if (!SWIG_IsOK(res) || !ptr) {
206136  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Mouth_StomachID" "', argument " "2"" of type '" "std::string""'");
206137  }
206138  arg2 = *ptr;
206139  if (SWIG_IsNewObj(res)) delete ptr;
206140  }
206141  {
206142  try {
206143  (arg1)->StomachID(arg2);
206144  }
206145  catch(CStdErrorInfo oError)
206146  {
206147  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206148  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
206149  PyErr_SetString(PyExc_IndexError, strError.c_str());
206150  SWIG_fail;
206151  }
206152  catch(...)
206153  {
206154  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206155  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
206156  SWIG_fail;
206157  }
206158  }
206159  resultobj = SWIG_Py_Void();
206160  return resultobj;
206161 fail:
206162  return NULL;
206163 }
206164 
206165 
206166 SWIGINTERN PyObject *_wrap_Mouth_StomachID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206167  PyObject *resultobj = 0;
206169  void *argp1 = 0 ;
206170  int res1 = 0 ;
206171  PyObject * obj0 = 0 ;
206172  std::string result;
206173 
206174  if (!PyArg_ParseTuple(args,(char *)"O:Mouth_StomachID",&obj0)) SWIG_fail;
206175  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
206176  if (!SWIG_IsOK(res1)) {
206177  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_StomachID" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
206178  }
206179  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
206180  {
206181  try {
206182  result = (arg1)->StomachID();
206183  }
206184  catch(CStdErrorInfo oError)
206185  {
206186  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206187  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
206188  PyErr_SetString(PyExc_IndexError, strError.c_str());
206189  SWIG_fail;
206190  }
206191  catch(...)
206192  {
206193  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206194  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
206195  SWIG_fail;
206196  }
206197  }
206198  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
206199  return resultobj;
206200 fail:
206201  return NULL;
206202 }
206203 
206204 
206205 SWIGINTERN PyObject *_wrap_Mouth_StomachID(PyObject *self, PyObject *args) {
206206  int argc;
206207  PyObject *argv[3];
206208  int ii;
206209 
206210  if (!PyTuple_Check(args)) SWIG_fail;
206211  argc = args ? (int)PyObject_Length(args) : 0;
206212  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
206213  argv[ii] = PyTuple_GET_ITEM(args,ii);
206214  }
206215  if (argc == 1) {
206216  int _v;
206217  void *vptr = 0;
206218  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0);
206219  _v = SWIG_CheckState(res);
206220  if (_v) {
206221  return _wrap_Mouth_StomachID__SWIG_1(self, args);
206222  }
206223  }
206224  if (argc == 2) {
206225  int _v;
206226  void *vptr = 0;
206227  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0);
206228  _v = SWIG_CheckState(res);
206229  if (_v) {
206230  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
206231  _v = SWIG_CheckState(res);
206232  if (_v) {
206233  return _wrap_Mouth_StomachID__SWIG_0(self, args);
206234  }
206235  }
206236  }
206237 
206238 fail:
206239  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Mouth_StomachID'.\n"
206240  " Possible C/C++ prototypes are:\n"
206241  " AnimatSim::Environment::Bodies::Mouth::StomachID(std::string)\n"
206242  " AnimatSim::Environment::Bodies::Mouth::StomachID()\n");
206243  return 0;
206244 }
206245 
206246 
206247 SWIGINTERN PyObject *_wrap_Mouth_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206248  PyObject *resultobj = 0;
206250  void *argp1 = 0 ;
206251  int res1 = 0 ;
206252  PyObject * obj0 = 0 ;
206253 
206254  if (!PyArg_ParseTuple(args,(char *)"O:Mouth_Initialize",&obj0)) SWIG_fail;
206255  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
206256  if (!SWIG_IsOK(res1)) {
206257  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_Initialize" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
206258  }
206259  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
206260  {
206261  try {
206262  (arg1)->Initialize();
206263  }
206264  catch(CStdErrorInfo oError)
206265  {
206266  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206267  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
206268  PyErr_SetString(PyExc_IndexError, strError.c_str());
206269  SWIG_fail;
206270  }
206271  catch(...)
206272  {
206273  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206274  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
206275  SWIG_fail;
206276  }
206277  }
206278  resultobj = SWIG_Py_Void();
206279  return resultobj;
206280 fail:
206281  return NULL;
206282 }
206283 
206284 
206285 SWIGINTERN PyObject *_wrap_Mouth_AddExternalNodeInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206286  PyObject *resultobj = 0;
206288  int arg2 ;
206289  float arg3 ;
206290  void *argp1 = 0 ;
206291  int res1 = 0 ;
206292  int val2 ;
206293  int ecode2 = 0 ;
206294  float val3 ;
206295  int ecode3 = 0 ;
206296  PyObject * obj0 = 0 ;
206297  PyObject * obj1 = 0 ;
206298  PyObject * obj2 = 0 ;
206299 
206300  if (!PyArg_ParseTuple(args,(char *)"OOO:Mouth_AddExternalNodeInput",&obj0,&obj1,&obj2)) SWIG_fail;
206301  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
206302  if (!SWIG_IsOK(res1)) {
206303  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_AddExternalNodeInput" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
206304  }
206305  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
206306  ecode2 = SWIG_AsVal_int(obj1, &val2);
206307  if (!SWIG_IsOK(ecode2)) {
206308  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Mouth_AddExternalNodeInput" "', argument " "2"" of type '" "int""'");
206309  }
206310  arg2 = static_cast< int >(val2);
206311  ecode3 = SWIG_AsVal_float(obj2, &val3);
206312  if (!SWIG_IsOK(ecode3)) {
206313  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Mouth_AddExternalNodeInput" "', argument " "3"" of type '" "float""'");
206314  }
206315  arg3 = static_cast< float >(val3);
206316  {
206317  try {
206318  (arg1)->AddExternalNodeInput(arg2,arg3);
206319  }
206320  catch(CStdErrorInfo oError)
206321  {
206322  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206323  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
206324  PyErr_SetString(PyExc_IndexError, strError.c_str());
206325  SWIG_fail;
206326  }
206327  catch(...)
206328  {
206329  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206330  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
206331  SWIG_fail;
206332  }
206333  }
206334  resultobj = SWIG_Py_Void();
206335  return resultobj;
206336 fail:
206337  return NULL;
206338 }
206339 
206340 
206341 SWIGINTERN PyObject *_wrap_Mouth_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206342  PyObject *resultobj = 0;
206344  std::string *arg2 = 0 ;
206345  std::string *arg3 = 0 ;
206346  bool arg4 ;
206347  void *argp1 = 0 ;
206348  int res1 = 0 ;
206349  int res2 = SWIG_OLDOBJ ;
206350  int res3 = SWIG_OLDOBJ ;
206351  bool val4 ;
206352  int ecode4 = 0 ;
206353  PyObject * obj0 = 0 ;
206354  PyObject * obj1 = 0 ;
206355  PyObject * obj2 = 0 ;
206356  PyObject * obj3 = 0 ;
206357  bool result;
206358 
206359  if (!PyArg_ParseTuple(args,(char *)"OOOO:Mouth_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
206360  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
206361  if (!SWIG_IsOK(res1)) {
206362  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
206363  }
206364  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
206365  {
206366  std::string *ptr = (std::string *)0;
206367  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
206368  if (!SWIG_IsOK(res2)) {
206369  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Mouth_SetData" "', argument " "2"" of type '" "std::string const &""'");
206370  }
206371  if (!ptr) {
206372  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mouth_SetData" "', argument " "2"" of type '" "std::string const &""'");
206373  }
206374  arg2 = ptr;
206375  }
206376  {
206377  std::string *ptr = (std::string *)0;
206378  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
206379  if (!SWIG_IsOK(res3)) {
206380  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Mouth_SetData" "', argument " "3"" of type '" "std::string const &""'");
206381  }
206382  if (!ptr) {
206383  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mouth_SetData" "', argument " "3"" of type '" "std::string const &""'");
206384  }
206385  arg3 = ptr;
206386  }
206387  ecode4 = SWIG_AsVal_bool(obj3, &val4);
206388  if (!SWIG_IsOK(ecode4)) {
206389  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Mouth_SetData" "', argument " "4"" of type '" "bool""'");
206390  }
206391  arg4 = static_cast< bool >(val4);
206392  {
206393  try {
206394  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
206395  }
206396  catch(CStdErrorInfo oError)
206397  {
206398  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206399  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
206400  PyErr_SetString(PyExc_IndexError, strError.c_str());
206401  SWIG_fail;
206402  }
206403  catch(...)
206404  {
206405  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206406  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
206407  SWIG_fail;
206408  }
206409  }
206410  resultobj = SWIG_From_bool(static_cast< bool >(result));
206411  if (SWIG_IsNewObj(res2)) delete arg2;
206412  if (SWIG_IsNewObj(res3)) delete arg3;
206413  return resultobj;
206414 fail:
206415  if (SWIG_IsNewObj(res2)) delete arg2;
206416  if (SWIG_IsNewObj(res3)) delete arg3;
206417  return NULL;
206418 }
206419 
206420 
206421 SWIGINTERN PyObject *_wrap_Mouth_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206422  PyObject *resultobj = 0;
206424  std::string *arg2 = 0 ;
206425  std::string *arg3 = 0 ;
206426  void *argp1 = 0 ;
206427  int res1 = 0 ;
206428  int res2 = SWIG_OLDOBJ ;
206429  int res3 = SWIG_OLDOBJ ;
206430  PyObject * obj0 = 0 ;
206431  PyObject * obj1 = 0 ;
206432  PyObject * obj2 = 0 ;
206433  bool result;
206434 
206435  if (!PyArg_ParseTuple(args,(char *)"OOO:Mouth_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
206436  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
206437  if (!SWIG_IsOK(res1)) {
206438  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
206439  }
206440  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
206441  {
206442  std::string *ptr = (std::string *)0;
206443  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
206444  if (!SWIG_IsOK(res2)) {
206445  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Mouth_SetData" "', argument " "2"" of type '" "std::string const &""'");
206446  }
206447  if (!ptr) {
206448  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mouth_SetData" "', argument " "2"" of type '" "std::string const &""'");
206449  }
206450  arg2 = ptr;
206451  }
206452  {
206453  std::string *ptr = (std::string *)0;
206454  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
206455  if (!SWIG_IsOK(res3)) {
206456  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Mouth_SetData" "', argument " "3"" of type '" "std::string const &""'");
206457  }
206458  if (!ptr) {
206459  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mouth_SetData" "', argument " "3"" of type '" "std::string const &""'");
206460  }
206461  arg3 = ptr;
206462  }
206463  {
206464  try {
206465  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
206466  }
206467  catch(CStdErrorInfo oError)
206468  {
206469  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206470  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
206471  PyErr_SetString(PyExc_IndexError, strError.c_str());
206472  SWIG_fail;
206473  }
206474  catch(...)
206475  {
206476  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206477  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
206478  SWIG_fail;
206479  }
206480  }
206481  resultobj = SWIG_From_bool(static_cast< bool >(result));
206482  if (SWIG_IsNewObj(res2)) delete arg2;
206483  if (SWIG_IsNewObj(res3)) delete arg3;
206484  return resultobj;
206485 fail:
206486  if (SWIG_IsNewObj(res2)) delete arg2;
206487  if (SWIG_IsNewObj(res3)) delete arg3;
206488  return NULL;
206489 }
206490 
206491 
206492 SWIGINTERN PyObject *_wrap_Mouth_SetData(PyObject *self, PyObject *args) {
206493  int argc;
206494  PyObject *argv[5];
206495  int ii;
206496 
206497  if (!PyTuple_Check(args)) SWIG_fail;
206498  argc = args ? (int)PyObject_Length(args) : 0;
206499  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
206500  argv[ii] = PyTuple_GET_ITEM(args,ii);
206501  }
206502  if (argc == 3) {
206503  int _v;
206504  void *vptr = 0;
206505  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0);
206506  _v = SWIG_CheckState(res);
206507  if (_v) {
206508  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
206509  _v = SWIG_CheckState(res);
206510  if (_v) {
206511  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
206512  _v = SWIG_CheckState(res);
206513  if (_v) {
206514  return _wrap_Mouth_SetData__SWIG_1(self, args);
206515  }
206516  }
206517  }
206518  }
206519  if (argc == 4) {
206520  int _v;
206521  void *vptr = 0;
206522  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0);
206523  _v = SWIG_CheckState(res);
206524  if (_v) {
206525  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
206526  _v = SWIG_CheckState(res);
206527  if (_v) {
206528  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
206529  _v = SWIG_CheckState(res);
206530  if (_v) {
206531  {
206532  int res = SWIG_AsVal_bool(argv[3], NULL);
206533  _v = SWIG_CheckState(res);
206534  }
206535  if (_v) {
206536  return _wrap_Mouth_SetData__SWIG_0(self, args);
206537  }
206538  }
206539  }
206540  }
206541  }
206542 
206543 fail:
206544  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Mouth_SetData'.\n"
206545  " Possible C/C++ prototypes are:\n"
206546  " AnimatSim::Environment::Bodies::Mouth::SetData(std::string const &,std::string const &,bool)\n"
206547  " AnimatSim::Environment::Bodies::Mouth::SetData(std::string const &,std::string const &)\n");
206548  return 0;
206549 }
206550 
206551 
206552 SWIGINTERN PyObject *_wrap_Mouth_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206553  PyObject *resultobj = 0;
206555  CStdPtrArray< TypeProperty > *arg2 = 0 ;
206556  void *argp1 = 0 ;
206557  int res1 = 0 ;
206558  void *argp2 = 0 ;
206559  int res2 = 0 ;
206560  PyObject * obj0 = 0 ;
206561  PyObject * obj1 = 0 ;
206562 
206563  if (!PyArg_ParseTuple(args,(char *)"OO:Mouth_QueryProperties",&obj0,&obj1)) SWIG_fail;
206564  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
206565  if (!SWIG_IsOK(res1)) {
206566  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
206567  }
206568  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
206569  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
206570  if (!SWIG_IsOK(res2)) {
206571  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Mouth_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
206572  }
206573  if (!argp2) {
206574  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mouth_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
206575  }
206576  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
206577  {
206578  try {
206579  (arg1)->QueryProperties(*arg2);
206580  }
206581  catch(CStdErrorInfo oError)
206582  {
206583  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206584  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
206585  PyErr_SetString(PyExc_IndexError, strError.c_str());
206586  SWIG_fail;
206587  }
206588  catch(...)
206589  {
206590  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206591  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
206592  SWIG_fail;
206593  }
206594  }
206595  resultobj = SWIG_Py_Void();
206596  return resultobj;
206597 fail:
206598  return NULL;
206599 }
206600 
206601 
206602 SWIGINTERN PyObject *_wrap_Mouth_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206603  PyObject *resultobj = 0;
206605  std::string *arg2 = 0 ;
206606  void *argp1 = 0 ;
206607  int res1 = 0 ;
206608  int res2 = SWIG_OLDOBJ ;
206609  PyObject * obj0 = 0 ;
206610  PyObject * obj1 = 0 ;
206611  float *result = 0 ;
206612 
206613  if (!PyArg_ParseTuple(args,(char *)"OO:Mouth_GetDataPointer",&obj0,&obj1)) SWIG_fail;
206614  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
206615  if (!SWIG_IsOK(res1)) {
206616  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
206617  }
206618  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
206619  {
206620  std::string *ptr = (std::string *)0;
206621  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
206622  if (!SWIG_IsOK(res2)) {
206623  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Mouth_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
206624  }
206625  if (!ptr) {
206626  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mouth_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
206627  }
206628  arg2 = ptr;
206629  }
206630  {
206631  try {
206632  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
206633  }
206634  catch(CStdErrorInfo oError)
206635  {
206636  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206637  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
206638  PyErr_SetString(PyExc_IndexError, strError.c_str());
206639  SWIG_fail;
206640  }
206641  catch(...)
206642  {
206643  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206644  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
206645  SWIG_fail;
206646  }
206647  }
206648  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
206649  if (SWIG_IsNewObj(res2)) delete arg2;
206650  return resultobj;
206651 fail:
206652  if (SWIG_IsNewObj(res2)) delete arg2;
206653  return NULL;
206654 }
206655 
206656 
206657 SWIGINTERN PyObject *_wrap_Mouth_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206658  PyObject *resultobj = 0;
206660  void *argp1 = 0 ;
206661  int res1 = 0 ;
206662  PyObject * obj0 = 0 ;
206663 
206664  if (!PyArg_ParseTuple(args,(char *)"O:Mouth_StepSimulation",&obj0)) SWIG_fail;
206665  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
206666  if (!SWIG_IsOK(res1)) {
206667  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
206668  }
206669  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
206670  {
206671  try {
206672  (arg1)->StepSimulation();
206673  }
206674  catch(CStdErrorInfo oError)
206675  {
206676  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206677  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
206678  PyErr_SetString(PyExc_IndexError, strError.c_str());
206679  SWIG_fail;
206680  }
206681  catch(...)
206682  {
206683  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206684  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
206685  SWIG_fail;
206686  }
206687  }
206688  resultobj = SWIG_Py_Void();
206689  return resultobj;
206690 fail:
206691  return NULL;
206692 }
206693 
206694 
206695 SWIGINTERN PyObject *_wrap_Mouth_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206696  PyObject *resultobj = 0;
206698  void *argp1 = 0 ;
206699  int res1 = 0 ;
206700  PyObject * obj0 = 0 ;
206701 
206702  if (!PyArg_ParseTuple(args,(char *)"O:Mouth_ResetSimulation",&obj0)) SWIG_fail;
206703  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
206704  if (!SWIG_IsOK(res1)) {
206705  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
206706  }
206707  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
206708  {
206709  try {
206710  (arg1)->ResetSimulation();
206711  }
206712  catch(CStdErrorInfo oError)
206713  {
206714  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206715  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
206716  PyErr_SetString(PyExc_IndexError, strError.c_str());
206717  SWIG_fail;
206718  }
206719  catch(...)
206720  {
206721  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206722  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
206723  SWIG_fail;
206724  }
206725  }
206726  resultobj = SWIG_Py_Void();
206727  return resultobj;
206728 fail:
206729  return NULL;
206730 }
206731 
206732 
206733 SWIGINTERN PyObject *_wrap_Mouth_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206734  PyObject *resultobj = 0;
206736  CStdXml *arg2 = 0 ;
206737  void *argp1 = 0 ;
206738  int res1 = 0 ;
206739  void *argp2 = 0 ;
206740  int res2 = 0 ;
206741  PyObject * obj0 = 0 ;
206742  PyObject * obj1 = 0 ;
206743 
206744  if (!PyArg_ParseTuple(args,(char *)"OO:Mouth_Load",&obj0,&obj1)) SWIG_fail;
206745  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, 0 | 0 );
206746  if (!SWIG_IsOK(res1)) {
206747  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Mouth_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Bodies::Mouth *""'");
206748  }
206749  arg1 = reinterpret_cast< AnimatSim::Environment::Bodies::Mouth * >(argp1);
206750  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
206751  if (!SWIG_IsOK(res2)) {
206752  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Mouth_Load" "', argument " "2"" of type '" "CStdXml &""'");
206753  }
206754  if (!argp2) {
206755  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Mouth_Load" "', argument " "2"" of type '" "CStdXml &""'");
206756  }
206757  arg2 = reinterpret_cast< CStdXml * >(argp2);
206758  {
206759  try {
206760  (arg1)->Load(*arg2);
206761  }
206762  catch(CStdErrorInfo oError)
206763  {
206764  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206765  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
206766  PyErr_SetString(PyExc_IndexError, strError.c_str());
206767  SWIG_fail;
206768  }
206769  catch(...)
206770  {
206771  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206772  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
206773  SWIG_fail;
206774  }
206775  }
206776  resultobj = SWIG_Py_Void();
206777  return resultobj;
206778 fail:
206779  return NULL;
206780 }
206781 
206782 
206783 SWIGINTERN PyObject *Mouth_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206784  PyObject *obj;
206785  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
206786  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth, SWIG_NewClientData(obj));
206787  return SWIG_Py_Void();
206788 }
206789 
206790 SWIGINTERN PyObject *_wrap_CollisionPair_m_strPart1ID_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206791  PyObject *resultobj = 0;
206793  std::string *arg2 = 0 ;
206794  void *argp1 = 0 ;
206795  int res1 = 0 ;
206796  int res2 = SWIG_OLDOBJ ;
206797  PyObject * obj0 = 0 ;
206798  PyObject * obj1 = 0 ;
206799 
206800  if (!PyArg_ParseTuple(args,(char *)"OO:CollisionPair_m_strPart1ID_set",&obj0,&obj1)) SWIG_fail;
206801  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__CollisionPair, 0 | 0 );
206802  if (!SWIG_IsOK(res1)) {
206803  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollisionPair_m_strPart1ID_set" "', argument " "1"" of type '" "AnimatSim::Environment::CollisionPair *""'");
206804  }
206805  arg1 = reinterpret_cast< AnimatSim::Environment::CollisionPair * >(argp1);
206806  {
206807  std::string *ptr = (std::string *)0;
206808  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
206809  if (!SWIG_IsOK(res2)) {
206810  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CollisionPair_m_strPart1ID_set" "', argument " "2"" of type '" "std::string const &""'");
206811  }
206812  if (!ptr) {
206813  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CollisionPair_m_strPart1ID_set" "', argument " "2"" of type '" "std::string const &""'");
206814  }
206815  arg2 = ptr;
206816  }
206817  if (arg1) (arg1)->m_strPart1ID = *arg2;
206818  resultobj = SWIG_Py_Void();
206819  if (SWIG_IsNewObj(res2)) delete arg2;
206820  return resultobj;
206821 fail:
206822  if (SWIG_IsNewObj(res2)) delete arg2;
206823  return NULL;
206824 }
206825 
206826 
206827 SWIGINTERN PyObject *_wrap_CollisionPair_m_strPart1ID_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206828  PyObject *resultobj = 0;
206830  void *argp1 = 0 ;
206831  int res1 = 0 ;
206832  PyObject * obj0 = 0 ;
206833  std::string *result = 0 ;
206834 
206835  if (!PyArg_ParseTuple(args,(char *)"O:CollisionPair_m_strPart1ID_get",&obj0)) SWIG_fail;
206836  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__CollisionPair, 0 | 0 );
206837  if (!SWIG_IsOK(res1)) {
206838  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollisionPair_m_strPart1ID_get" "', argument " "1"" of type '" "AnimatSim::Environment::CollisionPair *""'");
206839  }
206840  arg1 = reinterpret_cast< AnimatSim::Environment::CollisionPair * >(argp1);
206841  result = (std::string *) & ((arg1)->m_strPart1ID);
206842  resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
206843  return resultobj;
206844 fail:
206845  return NULL;
206846 }
206847 
206848 
206849 SWIGINTERN PyObject *_wrap_CollisionPair_m_strPart2ID_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206850  PyObject *resultobj = 0;
206852  std::string *arg2 = 0 ;
206853  void *argp1 = 0 ;
206854  int res1 = 0 ;
206855  int res2 = SWIG_OLDOBJ ;
206856  PyObject * obj0 = 0 ;
206857  PyObject * obj1 = 0 ;
206858 
206859  if (!PyArg_ParseTuple(args,(char *)"OO:CollisionPair_m_strPart2ID_set",&obj0,&obj1)) SWIG_fail;
206860  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__CollisionPair, 0 | 0 );
206861  if (!SWIG_IsOK(res1)) {
206862  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollisionPair_m_strPart2ID_set" "', argument " "1"" of type '" "AnimatSim::Environment::CollisionPair *""'");
206863  }
206864  arg1 = reinterpret_cast< AnimatSim::Environment::CollisionPair * >(argp1);
206865  {
206866  std::string *ptr = (std::string *)0;
206867  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
206868  if (!SWIG_IsOK(res2)) {
206869  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CollisionPair_m_strPart2ID_set" "', argument " "2"" of type '" "std::string const &""'");
206870  }
206871  if (!ptr) {
206872  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CollisionPair_m_strPart2ID_set" "', argument " "2"" of type '" "std::string const &""'");
206873  }
206874  arg2 = ptr;
206875  }
206876  if (arg1) (arg1)->m_strPart2ID = *arg2;
206877  resultobj = SWIG_Py_Void();
206878  if (SWIG_IsNewObj(res2)) delete arg2;
206879  return resultobj;
206880 fail:
206881  if (SWIG_IsNewObj(res2)) delete arg2;
206882  return NULL;
206883 }
206884 
206885 
206886 SWIGINTERN PyObject *_wrap_CollisionPair_m_strPart2ID_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206887  PyObject *resultobj = 0;
206889  void *argp1 = 0 ;
206890  int res1 = 0 ;
206891  PyObject * obj0 = 0 ;
206892  std::string *result = 0 ;
206893 
206894  if (!PyArg_ParseTuple(args,(char *)"O:CollisionPair_m_strPart2ID_get",&obj0)) SWIG_fail;
206895  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__CollisionPair, 0 | 0 );
206896  if (!SWIG_IsOK(res1)) {
206897  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollisionPair_m_strPart2ID_get" "', argument " "1"" of type '" "AnimatSim::Environment::CollisionPair *""'");
206898  }
206899  arg1 = reinterpret_cast< AnimatSim::Environment::CollisionPair * >(argp1);
206900  result = (std::string *) & ((arg1)->m_strPart2ID);
206901  resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
206902  return resultobj;
206903 fail:
206904  return NULL;
206905 }
206906 
206907 
206908 SWIGINTERN PyObject *_wrap_new_CollisionPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206909  PyObject *resultobj = 0;
206911 
206912  if (!PyArg_ParseTuple(args,(char *)":new_CollisionPair")) SWIG_fail;
206913  {
206914  try {
206916  }
206917  catch(CStdErrorInfo oError)
206918  {
206919  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206920  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
206921  PyErr_SetString(PyExc_IndexError, strError.c_str());
206922  SWIG_fail;
206923  }
206924  catch(...)
206925  {
206926  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206927  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
206928  SWIG_fail;
206929  }
206930  }
206931  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__CollisionPair, SWIG_POINTER_NEW | 0 );
206932  return resultobj;
206933 fail:
206934  return NULL;
206935 }
206936 
206937 
206938 SWIGINTERN PyObject *_wrap_delete_CollisionPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206939  PyObject *resultobj = 0;
206941  void *argp1 = 0 ;
206942  int res1 = 0 ;
206943  PyObject * obj0 = 0 ;
206944 
206945  if (!PyArg_ParseTuple(args,(char *)"O:delete_CollisionPair",&obj0)) SWIG_fail;
206946  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__CollisionPair, SWIG_POINTER_DISOWN | 0 );
206947  if (!SWIG_IsOK(res1)) {
206948  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CollisionPair" "', argument " "1"" of type '" "AnimatSim::Environment::CollisionPair *""'");
206949  }
206950  arg1 = reinterpret_cast< AnimatSim::Environment::CollisionPair * >(argp1);
206951  {
206952  try {
206953  delete arg1;
206954  }
206955  catch(CStdErrorInfo oError)
206956  {
206957  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206958  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
206959  PyErr_SetString(PyExc_IndexError, strError.c_str());
206960  SWIG_fail;
206961  }
206962  catch(...)
206963  {
206964  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206965  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
206966  SWIG_fail;
206967  }
206968  }
206969  resultobj = SWIG_Py_Void();
206970  return resultobj;
206971 fail:
206972  return NULL;
206973 }
206974 
206975 
206976 SWIGINTERN PyObject *CollisionPair_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206977  PyObject *obj;
206978  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
206979  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__CollisionPair, SWIG_NewClientData(obj));
206980  return SWIG_Py_Void();
206981 }
206982 
206983 SWIGINTERN PyObject *_wrap_new_Structure(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
206984  PyObject *resultobj = 0;
206985  AnimatSim::Environment::Structure *result = 0 ;
206986 
206987  if (!PyArg_ParseTuple(args,(char *)":new_Structure")) SWIG_fail;
206988  {
206989  try {
206991  }
206992  catch(CStdErrorInfo oError)
206993  {
206994  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
206995  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
206996  PyErr_SetString(PyExc_IndexError, strError.c_str());
206997  SWIG_fail;
206998  }
206999  catch(...)
207000  {
207001  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207002  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207003  SWIG_fail;
207004  }
207005  }
207006  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Structure, SWIG_POINTER_NEW | 0 );
207007  return resultobj;
207008 fail:
207009  return NULL;
207010 }
207011 
207012 
207013 SWIGINTERN PyObject *_wrap_delete_Structure(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207014  PyObject *resultobj = 0;
207016  void *argp1 = 0 ;
207017  int res1 = 0 ;
207018  PyObject * obj0 = 0 ;
207019 
207020  if (!PyArg_ParseTuple(args,(char *)"O:delete_Structure",&obj0)) SWIG_fail;
207021  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, SWIG_POINTER_DISOWN | 0 );
207022  if (!SWIG_IsOK(res1)) {
207023  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Structure" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
207024  }
207025  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
207026  {
207027  try {
207028  delete arg1;
207029  }
207030  catch(CStdErrorInfo oError)
207031  {
207032  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207033  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207034  PyErr_SetString(PyExc_IndexError, strError.c_str());
207035  SWIG_fail;
207036  }
207037  catch(...)
207038  {
207039  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207040  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207041  SWIG_fail;
207042  }
207043  }
207044  resultobj = SWIG_Py_Void();
207045  return resultobj;
207046 fail:
207047  return NULL;
207048 }
207049 
207050 
207051 SWIGINTERN PyObject *_wrap_Structure_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207052  PyObject *resultobj = 0;
207054  void *argp1 = 0 ;
207055  int res1 = 0 ;
207056  PyObject * obj0 = 0 ;
207057  AnimatSim::Environment::Structure *result = 0 ;
207058 
207059  if (!PyArg_ParseTuple(args,(char *)"O:Structure_CastToDerived",&obj0)) SWIG_fail;
207060  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
207061  if (!SWIG_IsOK(res1)) {
207062  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
207063  }
207064  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
207065  {
207066  try {
207067  result = (AnimatSim::Environment::Structure *)AnimatSim::Environment::Structure::CastToDerived(arg1);
207068  }
207069  catch(CStdErrorInfo oError)
207070  {
207071  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207072  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207073  PyErr_SetString(PyExc_IndexError, strError.c_str());
207074  SWIG_fail;
207075  }
207076  catch(...)
207077  {
207078  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207079  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207080  SWIG_fail;
207081  }
207082  }
207083  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
207084  return resultobj;
207085 fail:
207086  return NULL;
207087 }
207088 
207089 
207090 SWIGINTERN PyObject *_wrap_Structure_Sim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207091  PyObject *resultobj = 0;
207093  Simulator *arg2 = (Simulator *) 0 ;
207094  void *argp1 = 0 ;
207095  int res1 = 0 ;
207096  void *argp2 = 0 ;
207097  int res2 = 0 ;
207098  PyObject * obj0 = 0 ;
207099  PyObject * obj1 = 0 ;
207100 
207101  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_Sim",&obj0,&obj1)) SWIG_fail;
207102  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
207103  if (!SWIG_IsOK(res1)) {
207104  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Sim" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
207105  }
207106  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
207107  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Simulator, 0 | 0 );
207108  if (!SWIG_IsOK(res2)) {
207109  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_Sim" "', argument " "2"" of type '" "Simulator *""'");
207110  }
207111  arg2 = reinterpret_cast< Simulator * >(argp2);
207112  {
207113  try {
207114  (arg1)->Sim(arg2);
207115  }
207116  catch(CStdErrorInfo oError)
207117  {
207118  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207119  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207120  PyErr_SetString(PyExc_IndexError, strError.c_str());
207121  SWIG_fail;
207122  }
207123  catch(...)
207124  {
207125  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207126  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207127  SWIG_fail;
207128  }
207129  }
207130  resultobj = SWIG_Py_Void();
207131  return resultobj;
207132 fail:
207133  return NULL;
207134 }
207135 
207136 
207137 SWIGINTERN PyObject *_wrap_Structure_Body__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207138  PyObject *resultobj = 0;
207141  void *argp1 = 0 ;
207142  int res1 = 0 ;
207143  void *argp2 = 0 ;
207144  int res2 = 0 ;
207145  PyObject * obj0 = 0 ;
207146  PyObject * obj1 = 0 ;
207147 
207148  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_Body",&obj0,&obj1)) SWIG_fail;
207149  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
207150  if (!SWIG_IsOK(res1)) {
207151  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Body" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
207152  }
207153  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
207154  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
207155  if (!SWIG_IsOK(res2)) {
207156  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_Body" "', argument " "2"" of type '" "AnimatSim::Environment::RigidBody *""'");
207157  }
207158  arg2 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp2);
207159  {
207160  try {
207161  (arg1)->Body(arg2);
207162  }
207163  catch(CStdErrorInfo oError)
207164  {
207165  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207166  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207167  PyErr_SetString(PyExc_IndexError, strError.c_str());
207168  SWIG_fail;
207169  }
207170  catch(...)
207171  {
207172  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207173  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207174  SWIG_fail;
207175  }
207176  }
207177  resultobj = SWIG_Py_Void();
207178  return resultobj;
207179 fail:
207180  return NULL;
207181 }
207182 
207183 
207184 SWIGINTERN PyObject *_wrap_Structure_Body__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207185  PyObject *resultobj = 0;
207187  void *argp1 = 0 ;
207188  int res1 = 0 ;
207189  PyObject * obj0 = 0 ;
207190  AnimatSim::Environment::RigidBody *result = 0 ;
207191 
207192  if (!PyArg_ParseTuple(args,(char *)"O:Structure_Body",&obj0)) SWIG_fail;
207193  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
207194  if (!SWIG_IsOK(res1)) {
207195  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Body" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
207196  }
207197  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
207198  {
207199  try {
207200  result = (AnimatSim::Environment::RigidBody *)(arg1)->Body();
207201  }
207202  catch(CStdErrorInfo oError)
207203  {
207204  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207205  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207206  PyErr_SetString(PyExc_IndexError, strError.c_str());
207207  SWIG_fail;
207208  }
207209  catch(...)
207210  {
207211  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207212  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207213  SWIG_fail;
207214  }
207215  }
207216  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
207217  return resultobj;
207218 fail:
207219  return NULL;
207220 }
207221 
207222 
207223 SWIGINTERN PyObject *_wrap_Structure_Body(PyObject *self, PyObject *args) {
207224  int argc;
207225  PyObject *argv[3];
207226  int ii;
207227 
207228  if (!PyTuple_Check(args)) SWIG_fail;
207229  argc = args ? (int)PyObject_Length(args) : 0;
207230  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
207231  argv[ii] = PyTuple_GET_ITEM(args,ii);
207232  }
207233  if (argc == 1) {
207234  int _v;
207235  void *vptr = 0;
207236  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
207237  _v = SWIG_CheckState(res);
207238  if (_v) {
207239  return _wrap_Structure_Body__SWIG_1(self, args);
207240  }
207241  }
207242  if (argc == 2) {
207243  int _v;
207244  void *vptr = 0;
207245  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
207246  _v = SWIG_CheckState(res);
207247  if (_v) {
207248  void *vptr = 0;
207249  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0);
207250  _v = SWIG_CheckState(res);
207251  if (_v) {
207252  return _wrap_Structure_Body__SWIG_0(self, args);
207253  }
207254  }
207255  }
207256 
207257 fail:
207258  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Structure_Body'.\n"
207259  " Possible C/C++ prototypes are:\n"
207260  " AnimatSim::Environment::Structure::Body(AnimatSim::Environment::RigidBody *)\n"
207261  " AnimatSim::Environment::Structure::Body()\n");
207262  return 0;
207263 }
207264 
207265 
207266 SWIGINTERN PyObject *_wrap_Structure_Position__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207267  PyObject *resultobj = 0;
207269  void *argp1 = 0 ;
207270  int res1 = 0 ;
207271  PyObject * obj0 = 0 ;
207272  CStdPoint< float > result;
207273 
207274  if (!PyArg_ParseTuple(args,(char *)"O:Structure_Position",&obj0)) SWIG_fail;
207275  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
207276  if (!SWIG_IsOK(res1)) {
207277  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Position" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
207278  }
207279  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
207280  {
207281  try {
207282  result = (arg1)->Position();
207283  }
207284  catch(CStdErrorInfo oError)
207285  {
207286  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207287  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207288  PyErr_SetString(PyExc_IndexError, strError.c_str());
207289  SWIG_fail;
207290  }
207291  catch(...)
207292  {
207293  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207294  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207295  SWIG_fail;
207296  }
207297  }
207298  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
207299  return resultobj;
207300 fail:
207301  return NULL;
207302 }
207303 
207304 
207305 SWIGINTERN PyObject *_wrap_Structure_Position__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207306  PyObject *resultobj = 0;
207308  CStdPoint< float > *arg2 = 0 ;
207309  bool arg3 ;
207310  bool arg4 ;
207311  bool arg5 ;
207312  void *argp1 = 0 ;
207313  int res1 = 0 ;
207314  void *argp2 = 0 ;
207315  int res2 = 0 ;
207316  bool val3 ;
207317  int ecode3 = 0 ;
207318  bool val4 ;
207319  int ecode4 = 0 ;
207320  bool val5 ;
207321  int ecode5 = 0 ;
207322  PyObject * obj0 = 0 ;
207323  PyObject * obj1 = 0 ;
207324  PyObject * obj2 = 0 ;
207325  PyObject * obj3 = 0 ;
207326  PyObject * obj4 = 0 ;
207327 
207328  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Structure_Position",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
207329  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
207330  if (!SWIG_IsOK(res1)) {
207331  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Position" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
207332  }
207333  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
207334  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
207335  if (!SWIG_IsOK(res2)) {
207336  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
207337  }
207338  if (!argp2) {
207339  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
207340  }
207341  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
207342  ecode3 = SWIG_AsVal_bool(obj2, &val3);
207343  if (!SWIG_IsOK(ecode3)) {
207344  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Structure_Position" "', argument " "3"" of type '" "bool""'");
207345  }
207346  arg3 = static_cast< bool >(val3);
207347  ecode4 = SWIG_AsVal_bool(obj3, &val4);
207348  if (!SWIG_IsOK(ecode4)) {
207349  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Structure_Position" "', argument " "4"" of type '" "bool""'");
207350  }
207351  arg4 = static_cast< bool >(val4);
207352  ecode5 = SWIG_AsVal_bool(obj4, &val5);
207353  if (!SWIG_IsOK(ecode5)) {
207354  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Structure_Position" "', argument " "5"" of type '" "bool""'");
207355  }
207356  arg5 = static_cast< bool >(val5);
207357  {
207358  try {
207359  (arg1)->Position(*arg2,arg3,arg4,arg5);
207360  }
207361  catch(CStdErrorInfo oError)
207362  {
207363  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207364  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207365  PyErr_SetString(PyExc_IndexError, strError.c_str());
207366  SWIG_fail;
207367  }
207368  catch(...)
207369  {
207370  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207371  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207372  SWIG_fail;
207373  }
207374  }
207375  resultobj = SWIG_Py_Void();
207376  return resultobj;
207377 fail:
207378  return NULL;
207379 }
207380 
207381 
207382 SWIGINTERN PyObject *_wrap_Structure_Position__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207383  PyObject *resultobj = 0;
207385  CStdPoint< float > *arg2 = 0 ;
207386  bool arg3 ;
207387  bool arg4 ;
207388  void *argp1 = 0 ;
207389  int res1 = 0 ;
207390  void *argp2 = 0 ;
207391  int res2 = 0 ;
207392  bool val3 ;
207393  int ecode3 = 0 ;
207394  bool val4 ;
207395  int ecode4 = 0 ;
207396  PyObject * obj0 = 0 ;
207397  PyObject * obj1 = 0 ;
207398  PyObject * obj2 = 0 ;
207399  PyObject * obj3 = 0 ;
207400 
207401  if (!PyArg_ParseTuple(args,(char *)"OOOO:Structure_Position",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
207402  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
207403  if (!SWIG_IsOK(res1)) {
207404  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Position" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
207405  }
207406  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
207407  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
207408  if (!SWIG_IsOK(res2)) {
207409  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
207410  }
207411  if (!argp2) {
207412  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
207413  }
207414  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
207415  ecode3 = SWIG_AsVal_bool(obj2, &val3);
207416  if (!SWIG_IsOK(ecode3)) {
207417  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Structure_Position" "', argument " "3"" of type '" "bool""'");
207418  }
207419  arg3 = static_cast< bool >(val3);
207420  ecode4 = SWIG_AsVal_bool(obj3, &val4);
207421  if (!SWIG_IsOK(ecode4)) {
207422  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Structure_Position" "', argument " "4"" of type '" "bool""'");
207423  }
207424  arg4 = static_cast< bool >(val4);
207425  {
207426  try {
207427  (arg1)->Position(*arg2,arg3,arg4);
207428  }
207429  catch(CStdErrorInfo oError)
207430  {
207431  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207432  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207433  PyErr_SetString(PyExc_IndexError, strError.c_str());
207434  SWIG_fail;
207435  }
207436  catch(...)
207437  {
207438  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207439  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207440  SWIG_fail;
207441  }
207442  }
207443  resultobj = SWIG_Py_Void();
207444  return resultobj;
207445 fail:
207446  return NULL;
207447 }
207448 
207449 
207450 SWIGINTERN PyObject *_wrap_Structure_Position__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207451  PyObject *resultobj = 0;
207453  CStdPoint< float > *arg2 = 0 ;
207454  bool arg3 ;
207455  void *argp1 = 0 ;
207456  int res1 = 0 ;
207457  void *argp2 = 0 ;
207458  int res2 = 0 ;
207459  bool val3 ;
207460  int ecode3 = 0 ;
207461  PyObject * obj0 = 0 ;
207462  PyObject * obj1 = 0 ;
207463  PyObject * obj2 = 0 ;
207464 
207465  if (!PyArg_ParseTuple(args,(char *)"OOO:Structure_Position",&obj0,&obj1,&obj2)) SWIG_fail;
207466  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
207467  if (!SWIG_IsOK(res1)) {
207468  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Position" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
207469  }
207470  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
207471  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
207472  if (!SWIG_IsOK(res2)) {
207473  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
207474  }
207475  if (!argp2) {
207476  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
207477  }
207478  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
207479  ecode3 = SWIG_AsVal_bool(obj2, &val3);
207480  if (!SWIG_IsOK(ecode3)) {
207481  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Structure_Position" "', argument " "3"" of type '" "bool""'");
207482  }
207483  arg3 = static_cast< bool >(val3);
207484  {
207485  try {
207486  (arg1)->Position(*arg2,arg3);
207487  }
207488  catch(CStdErrorInfo oError)
207489  {
207490  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207491  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207492  PyErr_SetString(PyExc_IndexError, strError.c_str());
207493  SWIG_fail;
207494  }
207495  catch(...)
207496  {
207497  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207498  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207499  SWIG_fail;
207500  }
207501  }
207502  resultobj = SWIG_Py_Void();
207503  return resultobj;
207504 fail:
207505  return NULL;
207506 }
207507 
207508 
207509 SWIGINTERN PyObject *_wrap_Structure_Position__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207510  PyObject *resultobj = 0;
207512  CStdPoint< float > *arg2 = 0 ;
207513  void *argp1 = 0 ;
207514  int res1 = 0 ;
207515  void *argp2 = 0 ;
207516  int res2 = 0 ;
207517  PyObject * obj0 = 0 ;
207518  PyObject * obj1 = 0 ;
207519 
207520  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_Position",&obj0,&obj1)) SWIG_fail;
207521  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
207522  if (!SWIG_IsOK(res1)) {
207523  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Position" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
207524  }
207525  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
207526  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
207527  if (!SWIG_IsOK(res2)) {
207528  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
207529  }
207530  if (!argp2) {
207531  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_Position" "', argument " "2"" of type '" "CStdPoint< float > &""'");
207532  }
207533  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
207534  {
207535  try {
207536  (arg1)->Position(*arg2);
207537  }
207538  catch(CStdErrorInfo oError)
207539  {
207540  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207541  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207542  PyErr_SetString(PyExc_IndexError, strError.c_str());
207543  SWIG_fail;
207544  }
207545  catch(...)
207546  {
207547  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207548  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207549  SWIG_fail;
207550  }
207551  }
207552  resultobj = SWIG_Py_Void();
207553  return resultobj;
207554 fail:
207555  return NULL;
207556 }
207557 
207558 
207559 SWIGINTERN PyObject *_wrap_Structure_Position(PyObject *self, PyObject *args) {
207560  int argc;
207561  PyObject *argv[6];
207562  int ii;
207563 
207564  if (!PyTuple_Check(args)) SWIG_fail;
207565  argc = args ? (int)PyObject_Length(args) : 0;
207566  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
207567  argv[ii] = PyTuple_GET_ITEM(args,ii);
207568  }
207569  if (argc == 1) {
207570  int _v;
207571  void *vptr = 0;
207572  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
207573  _v = SWIG_CheckState(res);
207574  if (_v) {
207575  return _wrap_Structure_Position__SWIG_0(self, args);
207576  }
207577  }
207578  if (argc == 2) {
207579  int _v;
207580  void *vptr = 0;
207581  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
207582  _v = SWIG_CheckState(res);
207583  if (_v) {
207584  void *vptr = 0;
207585  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
207586  _v = SWIG_CheckState(res);
207587  if (_v) {
207588  return _wrap_Structure_Position__SWIG_4(self, args);
207589  }
207590  }
207591  }
207592  if (argc == 3) {
207593  int _v;
207594  void *vptr = 0;
207595  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
207596  _v = SWIG_CheckState(res);
207597  if (_v) {
207598  void *vptr = 0;
207599  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
207600  _v = SWIG_CheckState(res);
207601  if (_v) {
207602  {
207603  int res = SWIG_AsVal_bool(argv[2], NULL);
207604  _v = SWIG_CheckState(res);
207605  }
207606  if (_v) {
207607  return _wrap_Structure_Position__SWIG_3(self, args);
207608  }
207609  }
207610  }
207611  }
207612  if (argc == 4) {
207613  int _v;
207614  void *vptr = 0;
207615  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
207616  _v = SWIG_CheckState(res);
207617  if (_v) {
207618  void *vptr = 0;
207619  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
207620  _v = SWIG_CheckState(res);
207621  if (_v) {
207622  {
207623  int res = SWIG_AsVal_bool(argv[2], NULL);
207624  _v = SWIG_CheckState(res);
207625  }
207626  if (_v) {
207627  {
207628  int res = SWIG_AsVal_bool(argv[3], NULL);
207629  _v = SWIG_CheckState(res);
207630  }
207631  if (_v) {
207632  return _wrap_Structure_Position__SWIG_2(self, args);
207633  }
207634  }
207635  }
207636  }
207637  }
207638  if (argc == 5) {
207639  int _v;
207640  void *vptr = 0;
207641  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
207642  _v = SWIG_CheckState(res);
207643  if (_v) {
207644  void *vptr = 0;
207645  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CStdPointT_float_t, 0);
207646  _v = SWIG_CheckState(res);
207647  if (_v) {
207648  {
207649  int res = SWIG_AsVal_bool(argv[2], NULL);
207650  _v = SWIG_CheckState(res);
207651  }
207652  if (_v) {
207653  {
207654  int res = SWIG_AsVal_bool(argv[3], NULL);
207655  _v = SWIG_CheckState(res);
207656  }
207657  if (_v) {
207658  {
207659  int res = SWIG_AsVal_bool(argv[4], NULL);
207660  _v = SWIG_CheckState(res);
207661  }
207662  if (_v) {
207663  return _wrap_Structure_Position__SWIG_1(self, args);
207664  }
207665  }
207666  }
207667  }
207668  }
207669  }
207670 
207671 fail:
207672  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Structure_Position'.\n"
207673  " Possible C/C++ prototypes are:\n"
207674  " AnimatSim::Environment::Structure::Position()\n"
207675  " AnimatSim::Environment::Structure::Position(CStdPoint< float > &,bool,bool,bool)\n"
207676  " AnimatSim::Environment::Structure::Position(CStdPoint< float > &,bool,bool)\n"
207677  " AnimatSim::Environment::Structure::Position(CStdPoint< float > &,bool)\n"
207678  " AnimatSim::Environment::Structure::Position(CStdPoint< float > &)\n");
207679  return 0;
207680 }
207681 
207682 
207683 SWIGINTERN PyObject *_wrap_Structure_Size__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207684  PyObject *resultobj = 0;
207686  void *argp1 = 0 ;
207687  int res1 = 0 ;
207688  PyObject * obj0 = 0 ;
207689  float result;
207690 
207691  if (!PyArg_ParseTuple(args,(char *)"O:Structure_Size",&obj0)) SWIG_fail;
207692  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
207693  if (!SWIG_IsOK(res1)) {
207694  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Size" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
207695  }
207696  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
207697  {
207698  try {
207699  result = (float)(arg1)->Size();
207700  }
207701  catch(CStdErrorInfo oError)
207702  {
207703  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207704  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207705  PyErr_SetString(PyExc_IndexError, strError.c_str());
207706  SWIG_fail;
207707  }
207708  catch(...)
207709  {
207710  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207711  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207712  SWIG_fail;
207713  }
207714  }
207715  resultobj = SWIG_From_float(static_cast< float >(result));
207716  return resultobj;
207717 fail:
207718  return NULL;
207719 }
207720 
207721 
207722 SWIGINTERN PyObject *_wrap_Structure_Size__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207723  PyObject *resultobj = 0;
207725  float arg2 ;
207726  bool arg3 ;
207727  void *argp1 = 0 ;
207728  int res1 = 0 ;
207729  float val2 ;
207730  int ecode2 = 0 ;
207731  bool val3 ;
207732  int ecode3 = 0 ;
207733  PyObject * obj0 = 0 ;
207734  PyObject * obj1 = 0 ;
207735  PyObject * obj2 = 0 ;
207736 
207737  if (!PyArg_ParseTuple(args,(char *)"OOO:Structure_Size",&obj0,&obj1,&obj2)) SWIG_fail;
207738  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
207739  if (!SWIG_IsOK(res1)) {
207740  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Size" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
207741  }
207742  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
207743  ecode2 = SWIG_AsVal_float(obj1, &val2);
207744  if (!SWIG_IsOK(ecode2)) {
207745  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Structure_Size" "', argument " "2"" of type '" "float""'");
207746  }
207747  arg2 = static_cast< float >(val2);
207748  ecode3 = SWIG_AsVal_bool(obj2, &val3);
207749  if (!SWIG_IsOK(ecode3)) {
207750  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Structure_Size" "', argument " "3"" of type '" "bool""'");
207751  }
207752  arg3 = static_cast< bool >(val3);
207753  {
207754  try {
207755  (arg1)->Size(arg2,arg3);
207756  }
207757  catch(CStdErrorInfo oError)
207758  {
207759  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207760  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207761  PyErr_SetString(PyExc_IndexError, strError.c_str());
207762  SWIG_fail;
207763  }
207764  catch(...)
207765  {
207766  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207767  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207768  SWIG_fail;
207769  }
207770  }
207771  resultobj = SWIG_Py_Void();
207772  return resultobj;
207773 fail:
207774  return NULL;
207775 }
207776 
207777 
207778 SWIGINTERN PyObject *_wrap_Structure_Size__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207779  PyObject *resultobj = 0;
207781  float arg2 ;
207782  void *argp1 = 0 ;
207783  int res1 = 0 ;
207784  float val2 ;
207785  int ecode2 = 0 ;
207786  PyObject * obj0 = 0 ;
207787  PyObject * obj1 = 0 ;
207788 
207789  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_Size",&obj0,&obj1)) SWIG_fail;
207790  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
207791  if (!SWIG_IsOK(res1)) {
207792  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Size" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
207793  }
207794  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
207795  ecode2 = SWIG_AsVal_float(obj1, &val2);
207796  if (!SWIG_IsOK(ecode2)) {
207797  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Structure_Size" "', argument " "2"" of type '" "float""'");
207798  }
207799  arg2 = static_cast< float >(val2);
207800  {
207801  try {
207802  (arg1)->Size(arg2);
207803  }
207804  catch(CStdErrorInfo oError)
207805  {
207806  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207807  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207808  PyErr_SetString(PyExc_IndexError, strError.c_str());
207809  SWIG_fail;
207810  }
207811  catch(...)
207812  {
207813  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207814  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207815  SWIG_fail;
207816  }
207817  }
207818  resultobj = SWIG_Py_Void();
207819  return resultobj;
207820 fail:
207821  return NULL;
207822 }
207823 
207824 
207825 SWIGINTERN PyObject *_wrap_Structure_Size(PyObject *self, PyObject *args) {
207826  int argc;
207827  PyObject *argv[4];
207828  int ii;
207829 
207830  if (!PyTuple_Check(args)) SWIG_fail;
207831  argc = args ? (int)PyObject_Length(args) : 0;
207832  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
207833  argv[ii] = PyTuple_GET_ITEM(args,ii);
207834  }
207835  if (argc == 1) {
207836  int _v;
207837  void *vptr = 0;
207838  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
207839  _v = SWIG_CheckState(res);
207840  if (_v) {
207841  return _wrap_Structure_Size__SWIG_0(self, args);
207842  }
207843  }
207844  if (argc == 2) {
207845  int _v;
207846  void *vptr = 0;
207847  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
207848  _v = SWIG_CheckState(res);
207849  if (_v) {
207850  {
207851  int res = SWIG_AsVal_float(argv[1], NULL);
207852  _v = SWIG_CheckState(res);
207853  }
207854  if (_v) {
207855  return _wrap_Structure_Size__SWIG_2(self, args);
207856  }
207857  }
207858  }
207859  if (argc == 3) {
207860  int _v;
207861  void *vptr = 0;
207862  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
207863  _v = SWIG_CheckState(res);
207864  if (_v) {
207865  {
207866  int res = SWIG_AsVal_float(argv[1], NULL);
207867  _v = SWIG_CheckState(res);
207868  }
207869  if (_v) {
207870  {
207871  int res = SWIG_AsVal_bool(argv[2], NULL);
207872  _v = SWIG_CheckState(res);
207873  }
207874  if (_v) {
207875  return _wrap_Structure_Size__SWIG_1(self, args);
207876  }
207877  }
207878  }
207879  }
207880 
207881 fail:
207882  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Structure_Size'.\n"
207883  " Possible C/C++ prototypes are:\n"
207884  " AnimatSim::Environment::Structure::Size()\n"
207885  " AnimatSim::Environment::Structure::Size(float,bool)\n"
207886  " AnimatSim::Environment::Structure::Size(float)\n");
207887  return 0;
207888 }
207889 
207890 
207891 SWIGINTERN PyObject *_wrap_Structure_GetRobotInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207892  PyObject *resultobj = 0;
207894  void *argp1 = 0 ;
207895  int res1 = 0 ;
207896  PyObject * obj0 = 0 ;
207897  RobotInterface *result = 0 ;
207898 
207899  if (!PyArg_ParseTuple(args,(char *)"O:Structure_GetRobotInterface",&obj0)) SWIG_fail;
207900  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
207901  if (!SWIG_IsOK(res1)) {
207902  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_GetRobotInterface" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
207903  }
207904  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
207905  {
207906  try {
207907  result = (RobotInterface *)(arg1)->GetRobotInterface();
207908  }
207909  catch(CStdErrorInfo oError)
207910  {
207911  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207912  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207913  PyErr_SetString(PyExc_IndexError, strError.c_str());
207914  SWIG_fail;
207915  }
207916  catch(...)
207917  {
207918  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207919  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207920  SWIG_fail;
207921  }
207922  }
207923  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RobotInterface, 0 | 0 );
207924  return resultobj;
207925 fail:
207926  return NULL;
207927 }
207928 
207929 
207930 SWIGINTERN PyObject *_wrap_Structure_AllowTranslateDragX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207931  PyObject *resultobj = 0;
207933  void *argp1 = 0 ;
207934  int res1 = 0 ;
207935  PyObject * obj0 = 0 ;
207936  bool result;
207937 
207938  if (!PyArg_ParseTuple(args,(char *)"O:Structure_AllowTranslateDragX",&obj0)) SWIG_fail;
207939  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
207940  if (!SWIG_IsOK(res1)) {
207941  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_AllowTranslateDragX" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
207942  }
207943  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
207944  {
207945  try {
207946  result = (bool)(arg1)->AllowTranslateDragX();
207947  }
207948  catch(CStdErrorInfo oError)
207949  {
207950  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207951  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207952  PyErr_SetString(PyExc_IndexError, strError.c_str());
207953  SWIG_fail;
207954  }
207955  catch(...)
207956  {
207957  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207958  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207959  SWIG_fail;
207960  }
207961  }
207962  resultobj = SWIG_From_bool(static_cast< bool >(result));
207963  return resultobj;
207964 fail:
207965  return NULL;
207966 }
207967 
207968 
207969 SWIGINTERN PyObject *_wrap_Structure_AllowTranslateDragY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
207970  PyObject *resultobj = 0;
207972  void *argp1 = 0 ;
207973  int res1 = 0 ;
207974  PyObject * obj0 = 0 ;
207975  bool result;
207976 
207977  if (!PyArg_ParseTuple(args,(char *)"O:Structure_AllowTranslateDragY",&obj0)) SWIG_fail;
207978  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
207979  if (!SWIG_IsOK(res1)) {
207980  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_AllowTranslateDragY" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
207981  }
207982  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
207983  {
207984  try {
207985  result = (bool)(arg1)->AllowTranslateDragY();
207986  }
207987  catch(CStdErrorInfo oError)
207988  {
207989  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207990  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
207991  PyErr_SetString(PyExc_IndexError, strError.c_str());
207992  SWIG_fail;
207993  }
207994  catch(...)
207995  {
207996  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
207997  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
207998  SWIG_fail;
207999  }
208000  }
208001  resultobj = SWIG_From_bool(static_cast< bool >(result));
208002  return resultobj;
208003 fail:
208004  return NULL;
208005 }
208006 
208007 
208008 SWIGINTERN PyObject *_wrap_Structure_AllowTranslateDragZ(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208009  PyObject *resultobj = 0;
208011  void *argp1 = 0 ;
208012  int res1 = 0 ;
208013  PyObject * obj0 = 0 ;
208014  bool result;
208015 
208016  if (!PyArg_ParseTuple(args,(char *)"O:Structure_AllowTranslateDragZ",&obj0)) SWIG_fail;
208017  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208018  if (!SWIG_IsOK(res1)) {
208019  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_AllowTranslateDragZ" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208020  }
208021  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208022  {
208023  try {
208024  result = (bool)(arg1)->AllowTranslateDragZ();
208025  }
208026  catch(CStdErrorInfo oError)
208027  {
208028  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208029  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208030  PyErr_SetString(PyExc_IndexError, strError.c_str());
208031  SWIG_fail;
208032  }
208033  catch(...)
208034  {
208035  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208036  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208037  SWIG_fail;
208038  }
208039  }
208040  resultobj = SWIG_From_bool(static_cast< bool >(result));
208041  return resultobj;
208042 fail:
208043  return NULL;
208044 }
208045 
208046 
208047 SWIGINTERN PyObject *_wrap_Structure_AllowRotateDragX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208048  PyObject *resultobj = 0;
208050  void *argp1 = 0 ;
208051  int res1 = 0 ;
208052  PyObject * obj0 = 0 ;
208053  bool result;
208054 
208055  if (!PyArg_ParseTuple(args,(char *)"O:Structure_AllowRotateDragX",&obj0)) SWIG_fail;
208056  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208057  if (!SWIG_IsOK(res1)) {
208058  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_AllowRotateDragX" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208059  }
208060  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208061  {
208062  try {
208063  result = (bool)(arg1)->AllowRotateDragX();
208064  }
208065  catch(CStdErrorInfo oError)
208066  {
208067  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208068  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208069  PyErr_SetString(PyExc_IndexError, strError.c_str());
208070  SWIG_fail;
208071  }
208072  catch(...)
208073  {
208074  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208075  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208076  SWIG_fail;
208077  }
208078  }
208079  resultobj = SWIG_From_bool(static_cast< bool >(result));
208080  return resultobj;
208081 fail:
208082  return NULL;
208083 }
208084 
208085 
208086 SWIGINTERN PyObject *_wrap_Structure_AllowRotateDragY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208087  PyObject *resultobj = 0;
208089  void *argp1 = 0 ;
208090  int res1 = 0 ;
208091  PyObject * obj0 = 0 ;
208092  bool result;
208093 
208094  if (!PyArg_ParseTuple(args,(char *)"O:Structure_AllowRotateDragY",&obj0)) SWIG_fail;
208095  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208096  if (!SWIG_IsOK(res1)) {
208097  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_AllowRotateDragY" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208098  }
208099  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208100  {
208101  try {
208102  result = (bool)(arg1)->AllowRotateDragY();
208103  }
208104  catch(CStdErrorInfo oError)
208105  {
208106  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208107  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208108  PyErr_SetString(PyExc_IndexError, strError.c_str());
208109  SWIG_fail;
208110  }
208111  catch(...)
208112  {
208113  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208114  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208115  SWIG_fail;
208116  }
208117  }
208118  resultobj = SWIG_From_bool(static_cast< bool >(result));
208119  return resultobj;
208120 fail:
208121  return NULL;
208122 }
208123 
208124 
208125 SWIGINTERN PyObject *_wrap_Structure_AllowRotateDragZ(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208126  PyObject *resultobj = 0;
208128  void *argp1 = 0 ;
208129  int res1 = 0 ;
208130  PyObject * obj0 = 0 ;
208131  bool result;
208132 
208133  if (!PyArg_ParseTuple(args,(char *)"O:Structure_AllowRotateDragZ",&obj0)) SWIG_fail;
208134  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208135  if (!SWIG_IsOK(res1)) {
208136  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_AllowRotateDragZ" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208137  }
208138  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208139  {
208140  try {
208141  result = (bool)(arg1)->AllowRotateDragZ();
208142  }
208143  catch(CStdErrorInfo oError)
208144  {
208145  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208146  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208147  PyErr_SetString(PyExc_IndexError, strError.c_str());
208148  SWIG_fail;
208149  }
208150  catch(...)
208151  {
208152  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208153  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208154  SWIG_fail;
208155  }
208156  }
208157  resultobj = SWIG_From_bool(static_cast< bool >(result));
208158  return resultobj;
208159 fail:
208160  return NULL;
208161 }
208162 
208163 
208164 SWIGINTERN PyObject *_wrap_Structure_ExclusionList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208165  PyObject *resultobj = 0;
208167  void *argp1 = 0 ;
208168  int res1 = 0 ;
208169  PyObject * obj0 = 0 ;
208170  SwigValueWrapper< CStdPtrArray< AnimatSim::Environment::CollisionPair > > result;
208171 
208172  if (!PyArg_ParseTuple(args,(char *)"O:Structure_ExclusionList",&obj0)) SWIG_fail;
208173  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208174  if (!SWIG_IsOK(res1)) {
208175  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_ExclusionList" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208176  }
208177  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208178  {
208179  try {
208180  result = (arg1)->ExclusionList();
208181  }
208182  catch(CStdErrorInfo oError)
208183  {
208184  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208185  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208186  PyErr_SetString(PyExc_IndexError, strError.c_str());
208187  SWIG_fail;
208188  }
208189  catch(...)
208190  {
208191  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208192  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208193  SWIG_fail;
208194  }
208195  }
208196  resultobj = SWIG_NewPointerObj((new CStdPtrArray< AnimatSim::Environment::CollisionPair >(static_cast< const CStdPtrArray< AnimatSim::Environment::CollisionPair >& >(result))), SWIGTYPE_p_CStdPtrArrayT_AnimatSim__Environment__CollisionPair_t, SWIG_POINTER_OWN | 0 );
208197  return resultobj;
208198 fail:
208199  return NULL;
208200 }
208201 
208202 
208203 SWIGINTERN PyObject *_wrap_Structure_AddCollisionPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208204  PyObject *resultobj = 0;
208206  std::string arg2 ;
208207  std::string arg3 ;
208208  void *argp1 = 0 ;
208209  int res1 = 0 ;
208210  PyObject * obj0 = 0 ;
208211  PyObject * obj1 = 0 ;
208212  PyObject * obj2 = 0 ;
208213 
208214  if (!PyArg_ParseTuple(args,(char *)"OOO:Structure_AddCollisionPair",&obj0,&obj1,&obj2)) SWIG_fail;
208215  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208216  if (!SWIG_IsOK(res1)) {
208217  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_AddCollisionPair" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208218  }
208219  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208220  {
208221  std::string *ptr = (std::string *)0;
208222  int res = SWIG_AsPtr_std_string(obj1, &ptr);
208223  if (!SWIG_IsOK(res) || !ptr) {
208224  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Structure_AddCollisionPair" "', argument " "2"" of type '" "std::string""'");
208225  }
208226  arg2 = *ptr;
208227  if (SWIG_IsNewObj(res)) delete ptr;
208228  }
208229  {
208230  std::string *ptr = (std::string *)0;
208231  int res = SWIG_AsPtr_std_string(obj2, &ptr);
208232  if (!SWIG_IsOK(res) || !ptr) {
208233  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Structure_AddCollisionPair" "', argument " "3"" of type '" "std::string""'");
208234  }
208235  arg3 = *ptr;
208236  if (SWIG_IsNewObj(res)) delete ptr;
208237  }
208238  {
208239  try {
208240  (arg1)->AddCollisionPair(arg2,arg3);
208241  }
208242  catch(CStdErrorInfo oError)
208243  {
208244  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208245  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208246  PyErr_SetString(PyExc_IndexError, strError.c_str());
208247  SWIG_fail;
208248  }
208249  catch(...)
208250  {
208251  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208252  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208253  SWIG_fail;
208254  }
208255  }
208256  resultobj = SWIG_Py_Void();
208257  return resultobj;
208258 fail:
208259  return NULL;
208260 }
208261 
208262 
208263 SWIGINTERN PyObject *_wrap_Structure_MinTimeStep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208264  PyObject *resultobj = 0;
208266  float *arg2 = 0 ;
208267  void *argp1 = 0 ;
208268  int res1 = 0 ;
208269  void *argp2 = 0 ;
208270  int res2 = 0 ;
208271  PyObject * obj0 = 0 ;
208272  PyObject * obj1 = 0 ;
208273 
208274  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_MinTimeStep",&obj0,&obj1)) SWIG_fail;
208275  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208276  if (!SWIG_IsOK(res1)) {
208277  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_MinTimeStep" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208278  }
208279  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208280  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 );
208281  if (!SWIG_IsOK(res2)) {
208282  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_MinTimeStep" "', argument " "2"" of type '" "float &""'");
208283  }
208284  if (!argp2) {
208285  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_MinTimeStep" "', argument " "2"" of type '" "float &""'");
208286  }
208287  arg2 = reinterpret_cast< float * >(argp2);
208288  {
208289  try {
208290  (arg1)->MinTimeStep(*arg2);
208291  }
208292  catch(CStdErrorInfo oError)
208293  {
208294  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208295  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208296  PyErr_SetString(PyExc_IndexError, strError.c_str());
208297  SWIG_fail;
208298  }
208299  catch(...)
208300  {
208301  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208302  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208303  SWIG_fail;
208304  }
208305  }
208306  resultobj = SWIG_Py_Void();
208307  return resultobj;
208308 fail:
208309  return NULL;
208310 }
208311 
208312 
208313 SWIGINTERN PyObject *_wrap_Structure_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208314  PyObject *resultobj = 0;
208316  void *argp1 = 0 ;
208317  int res1 = 0 ;
208318  PyObject * obj0 = 0 ;
208319 
208320  if (!PyArg_ParseTuple(args,(char *)"O:Structure_Create",&obj0)) SWIG_fail;
208321  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208322  if (!SWIG_IsOK(res1)) {
208323  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Create" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208324  }
208325  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208326  {
208327  try {
208328  (arg1)->Create();
208329  }
208330  catch(CStdErrorInfo oError)
208331  {
208332  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208333  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208334  PyErr_SetString(PyExc_IndexError, strError.c_str());
208335  SWIG_fail;
208336  }
208337  catch(...)
208338  {
208339  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208340  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208341  SWIG_fail;
208342  }
208343  }
208344  resultobj = SWIG_Py_Void();
208345  return resultobj;
208346 fail:
208347  return NULL;
208348 }
208349 
208350 
208351 SWIGINTERN PyObject *_wrap_Structure_StepPhysicsEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208352  PyObject *resultobj = 0;
208354  void *argp1 = 0 ;
208355  int res1 = 0 ;
208356  PyObject * obj0 = 0 ;
208357 
208358  if (!PyArg_ParseTuple(args,(char *)"O:Structure_StepPhysicsEngine",&obj0)) SWIG_fail;
208359  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208360  if (!SWIG_IsOK(res1)) {
208361  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_StepPhysicsEngine" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208362  }
208363  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208364  {
208365  try {
208366  (arg1)->StepPhysicsEngine();
208367  }
208368  catch(CStdErrorInfo oError)
208369  {
208370  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208371  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208372  PyErr_SetString(PyExc_IndexError, strError.c_str());
208373  SWIG_fail;
208374  }
208375  catch(...)
208376  {
208377  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208378  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208379  SWIG_fail;
208380  }
208381  }
208382  resultobj = SWIG_Py_Void();
208383  return resultobj;
208384 fail:
208385  return NULL;
208386 }
208387 
208388 
208389 SWIGINTERN PyObject *_wrap_Structure_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208390  PyObject *resultobj = 0;
208392  void *argp1 = 0 ;
208393  int res1 = 0 ;
208394  PyObject * obj0 = 0 ;
208395 
208396  if (!PyArg_ParseTuple(args,(char *)"O:Structure_ResetSimulation",&obj0)) SWIG_fail;
208397  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208398  if (!SWIG_IsOK(res1)) {
208399  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208400  }
208401  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208402  {
208403  try {
208404  (arg1)->ResetSimulation();
208405  }
208406  catch(CStdErrorInfo oError)
208407  {
208408  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208409  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208410  PyErr_SetString(PyExc_IndexError, strError.c_str());
208411  SWIG_fail;
208412  }
208413  catch(...)
208414  {
208415  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208416  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208417  SWIG_fail;
208418  }
208419  }
208420  resultobj = SWIG_Py_Void();
208421  return resultobj;
208422 fail:
208423  return NULL;
208424 }
208425 
208426 
208427 SWIGINTERN PyObject *_wrap_Structure_AddJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208428  PyObject *resultobj = 0;
208431  void *argp1 = 0 ;
208432  int res1 = 0 ;
208433  void *argp2 = 0 ;
208434  int res2 = 0 ;
208435  PyObject * obj0 = 0 ;
208436  PyObject * obj1 = 0 ;
208437 
208438  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_AddJoint",&obj0,&obj1)) SWIG_fail;
208439  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208440  if (!SWIG_IsOK(res1)) {
208441  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_AddJoint" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208442  }
208443  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208444  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
208445  if (!SWIG_IsOK(res2)) {
208446  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_AddJoint" "', argument " "2"" of type '" "AnimatSim::Environment::Joint *""'");
208447  }
208448  arg2 = reinterpret_cast< AnimatSim::Environment::Joint * >(argp2);
208449  {
208450  try {
208451  (arg1)->AddJoint(arg2);
208452  }
208453  catch(CStdErrorInfo oError)
208454  {
208455  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208456  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208457  PyErr_SetString(PyExc_IndexError, strError.c_str());
208458  SWIG_fail;
208459  }
208460  catch(...)
208461  {
208462  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208463  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208464  SWIG_fail;
208465  }
208466  }
208467  resultobj = SWIG_Py_Void();
208468  return resultobj;
208469 fail:
208470  return NULL;
208471 }
208472 
208473 
208474 SWIGINTERN PyObject *_wrap_Structure_RemoveJoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208475  PyObject *resultobj = 0;
208477  std::string arg2 ;
208478  void *argp1 = 0 ;
208479  int res1 = 0 ;
208480  PyObject * obj0 = 0 ;
208481  PyObject * obj1 = 0 ;
208482 
208483  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_RemoveJoint",&obj0,&obj1)) SWIG_fail;
208484  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208485  if (!SWIG_IsOK(res1)) {
208486  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_RemoveJoint" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208487  }
208488  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208489  {
208490  std::string *ptr = (std::string *)0;
208491  int res = SWIG_AsPtr_std_string(obj1, &ptr);
208492  if (!SWIG_IsOK(res) || !ptr) {
208493  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Structure_RemoveJoint" "', argument " "2"" of type '" "std::string""'");
208494  }
208495  arg2 = *ptr;
208496  if (SWIG_IsNewObj(res)) delete ptr;
208497  }
208498  {
208499  try {
208500  (arg1)->RemoveJoint(arg2);
208501  }
208502  catch(CStdErrorInfo oError)
208503  {
208504  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208505  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208506  PyErr_SetString(PyExc_IndexError, strError.c_str());
208507  SWIG_fail;
208508  }
208509  catch(...)
208510  {
208511  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208512  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208513  SWIG_fail;
208514  }
208515  }
208516  resultobj = SWIG_Py_Void();
208517  return resultobj;
208518 fail:
208519  return NULL;
208520 }
208521 
208522 
208523 SWIGINTERN PyObject *_wrap_Structure_AddRigidBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208524  PyObject *resultobj = 0;
208527  void *argp1 = 0 ;
208528  int res1 = 0 ;
208529  void *argp2 = 0 ;
208530  int res2 = 0 ;
208531  PyObject * obj0 = 0 ;
208532  PyObject * obj1 = 0 ;
208533 
208534  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_AddRigidBody",&obj0,&obj1)) SWIG_fail;
208535  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208536  if (!SWIG_IsOK(res1)) {
208537  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_AddRigidBody" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208538  }
208539  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208540  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
208541  if (!SWIG_IsOK(res2)) {
208542  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_AddRigidBody" "', argument " "2"" of type '" "AnimatSim::Environment::RigidBody *""'");
208543  }
208544  arg2 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp2);
208545  {
208546  try {
208547  (arg1)->AddRigidBody(arg2);
208548  }
208549  catch(CStdErrorInfo oError)
208550  {
208551  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208552  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208553  PyErr_SetString(PyExc_IndexError, strError.c_str());
208554  SWIG_fail;
208555  }
208556  catch(...)
208557  {
208558  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208559  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208560  SWIG_fail;
208561  }
208562  }
208563  resultobj = SWIG_Py_Void();
208564  return resultobj;
208565 fail:
208566  return NULL;
208567 }
208568 
208569 
208570 SWIGINTERN PyObject *_wrap_Structure_RemoveRigidBody(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208571  PyObject *resultobj = 0;
208573  std::string arg2 ;
208574  void *argp1 = 0 ;
208575  int res1 = 0 ;
208576  PyObject * obj0 = 0 ;
208577  PyObject * obj1 = 0 ;
208578 
208579  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_RemoveRigidBody",&obj0,&obj1)) SWIG_fail;
208580  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208581  if (!SWIG_IsOK(res1)) {
208582  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_RemoveRigidBody" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208583  }
208584  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208585  {
208586  std::string *ptr = (std::string *)0;
208587  int res = SWIG_AsPtr_std_string(obj1, &ptr);
208588  if (!SWIG_IsOK(res) || !ptr) {
208589  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Structure_RemoveRigidBody" "', argument " "2"" of type '" "std::string""'");
208590  }
208591  arg2 = *ptr;
208592  if (SWIG_IsNewObj(res)) delete ptr;
208593  }
208594  {
208595  try {
208596  (arg1)->RemoveRigidBody(arg2);
208597  }
208598  catch(CStdErrorInfo oError)
208599  {
208600  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208601  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208602  PyErr_SetString(PyExc_IndexError, strError.c_str());
208603  SWIG_fail;
208604  }
208605  catch(...)
208606  {
208607  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208608  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208609  SWIG_fail;
208610  }
208611  }
208612  resultobj = SWIG_Py_Void();
208613  return resultobj;
208614 fail:
208615  return NULL;
208616 }
208617 
208618 
208619 SWIGINTERN PyObject *_wrap_Structure_FindJoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208620  PyObject *resultobj = 0;
208622  std::string arg2 ;
208623  bool arg3 ;
208624  void *argp1 = 0 ;
208625  int res1 = 0 ;
208626  bool val3 ;
208627  int ecode3 = 0 ;
208628  PyObject * obj0 = 0 ;
208629  PyObject * obj1 = 0 ;
208630  PyObject * obj2 = 0 ;
208631  AnimatSim::Environment::Joint *result = 0 ;
208632 
208633  if (!PyArg_ParseTuple(args,(char *)"OOO:Structure_FindJoint",&obj0,&obj1,&obj2)) SWIG_fail;
208634  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208635  if (!SWIG_IsOK(res1)) {
208636  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_FindJoint" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208637  }
208638  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208639  {
208640  std::string *ptr = (std::string *)0;
208641  int res = SWIG_AsPtr_std_string(obj1, &ptr);
208642  if (!SWIG_IsOK(res) || !ptr) {
208643  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Structure_FindJoint" "', argument " "2"" of type '" "std::string""'");
208644  }
208645  arg2 = *ptr;
208646  if (SWIG_IsNewObj(res)) delete ptr;
208647  }
208648  ecode3 = SWIG_AsVal_bool(obj2, &val3);
208649  if (!SWIG_IsOK(ecode3)) {
208650  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Structure_FindJoint" "', argument " "3"" of type '" "bool""'");
208651  }
208652  arg3 = static_cast< bool >(val3);
208653  {
208654  try {
208655  result = (AnimatSim::Environment::Joint *)(arg1)->FindJoint(arg2,arg3);
208656  }
208657  catch(CStdErrorInfo oError)
208658  {
208659  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208660  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208661  PyErr_SetString(PyExc_IndexError, strError.c_str());
208662  SWIG_fail;
208663  }
208664  catch(...)
208665  {
208666  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208667  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208668  SWIG_fail;
208669  }
208670  }
208671  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
208672  return resultobj;
208673 fail:
208674  return NULL;
208675 }
208676 
208677 
208678 SWIGINTERN PyObject *_wrap_Structure_FindJoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208679  PyObject *resultobj = 0;
208681  std::string arg2 ;
208682  void *argp1 = 0 ;
208683  int res1 = 0 ;
208684  PyObject * obj0 = 0 ;
208685  PyObject * obj1 = 0 ;
208686  AnimatSim::Environment::Joint *result = 0 ;
208687 
208688  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_FindJoint",&obj0,&obj1)) SWIG_fail;
208689  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208690  if (!SWIG_IsOK(res1)) {
208691  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_FindJoint" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208692  }
208693  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208694  {
208695  std::string *ptr = (std::string *)0;
208696  int res = SWIG_AsPtr_std_string(obj1, &ptr);
208697  if (!SWIG_IsOK(res) || !ptr) {
208698  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Structure_FindJoint" "', argument " "2"" of type '" "std::string""'");
208699  }
208700  arg2 = *ptr;
208701  if (SWIG_IsNewObj(res)) delete ptr;
208702  }
208703  {
208704  try {
208705  result = (AnimatSim::Environment::Joint *)(arg1)->FindJoint(arg2);
208706  }
208707  catch(CStdErrorInfo oError)
208708  {
208709  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208710  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208711  PyErr_SetString(PyExc_IndexError, strError.c_str());
208712  SWIG_fail;
208713  }
208714  catch(...)
208715  {
208716  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208717  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208718  SWIG_fail;
208719  }
208720  }
208721  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Joint, 0 | 0 );
208722  return resultobj;
208723 fail:
208724  return NULL;
208725 }
208726 
208727 
208728 SWIGINTERN PyObject *_wrap_Structure_FindJoint(PyObject *self, PyObject *args) {
208729  int argc;
208730  PyObject *argv[4];
208731  int ii;
208732 
208733  if (!PyTuple_Check(args)) SWIG_fail;
208734  argc = args ? (int)PyObject_Length(args) : 0;
208735  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
208736  argv[ii] = PyTuple_GET_ITEM(args,ii);
208737  }
208738  if (argc == 2) {
208739  int _v;
208740  void *vptr = 0;
208741  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
208742  _v = SWIG_CheckState(res);
208743  if (_v) {
208744  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
208745  _v = SWIG_CheckState(res);
208746  if (_v) {
208747  return _wrap_Structure_FindJoint__SWIG_1(self, args);
208748  }
208749  }
208750  }
208751  if (argc == 3) {
208752  int _v;
208753  void *vptr = 0;
208754  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
208755  _v = SWIG_CheckState(res);
208756  if (_v) {
208757  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
208758  _v = SWIG_CheckState(res);
208759  if (_v) {
208760  {
208761  int res = SWIG_AsVal_bool(argv[2], NULL);
208762  _v = SWIG_CheckState(res);
208763  }
208764  if (_v) {
208765  return _wrap_Structure_FindJoint__SWIG_0(self, args);
208766  }
208767  }
208768  }
208769  }
208770 
208771 fail:
208772  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Structure_FindJoint'.\n"
208773  " Possible C/C++ prototypes are:\n"
208774  " AnimatSim::Environment::Structure::FindJoint(std::string,bool)\n"
208775  " AnimatSim::Environment::Structure::FindJoint(std::string)\n");
208776  return 0;
208777 }
208778 
208779 
208780 SWIGINTERN PyObject *_wrap_Structure_FindRigidBody__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208781  PyObject *resultobj = 0;
208783  std::string arg2 ;
208784  bool arg3 ;
208785  void *argp1 = 0 ;
208786  int res1 = 0 ;
208787  bool val3 ;
208788  int ecode3 = 0 ;
208789  PyObject * obj0 = 0 ;
208790  PyObject * obj1 = 0 ;
208791  PyObject * obj2 = 0 ;
208792  AnimatSim::Environment::RigidBody *result = 0 ;
208793 
208794  if (!PyArg_ParseTuple(args,(char *)"OOO:Structure_FindRigidBody",&obj0,&obj1,&obj2)) SWIG_fail;
208795  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208796  if (!SWIG_IsOK(res1)) {
208797  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_FindRigidBody" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208798  }
208799  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208800  {
208801  std::string *ptr = (std::string *)0;
208802  int res = SWIG_AsPtr_std_string(obj1, &ptr);
208803  if (!SWIG_IsOK(res) || !ptr) {
208804  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Structure_FindRigidBody" "', argument " "2"" of type '" "std::string""'");
208805  }
208806  arg2 = *ptr;
208807  if (SWIG_IsNewObj(res)) delete ptr;
208808  }
208809  ecode3 = SWIG_AsVal_bool(obj2, &val3);
208810  if (!SWIG_IsOK(ecode3)) {
208811  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Structure_FindRigidBody" "', argument " "3"" of type '" "bool""'");
208812  }
208813  arg3 = static_cast< bool >(val3);
208814  {
208815  try {
208816  result = (AnimatSim::Environment::RigidBody *)(arg1)->FindRigidBody(arg2,arg3);
208817  }
208818  catch(CStdErrorInfo oError)
208819  {
208820  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208821  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208822  PyErr_SetString(PyExc_IndexError, strError.c_str());
208823  SWIG_fail;
208824  }
208825  catch(...)
208826  {
208827  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208828  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208829  SWIG_fail;
208830  }
208831  }
208832  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
208833  return resultobj;
208834 fail:
208835  return NULL;
208836 }
208837 
208838 
208839 SWIGINTERN PyObject *_wrap_Structure_FindRigidBody__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208840  PyObject *resultobj = 0;
208842  std::string arg2 ;
208843  void *argp1 = 0 ;
208844  int res1 = 0 ;
208845  PyObject * obj0 = 0 ;
208846  PyObject * obj1 = 0 ;
208847  AnimatSim::Environment::RigidBody *result = 0 ;
208848 
208849  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_FindRigidBody",&obj0,&obj1)) SWIG_fail;
208850  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208851  if (!SWIG_IsOK(res1)) {
208852  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_FindRigidBody" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208853  }
208854  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208855  {
208856  std::string *ptr = (std::string *)0;
208857  int res = SWIG_AsPtr_std_string(obj1, &ptr);
208858  if (!SWIG_IsOK(res) || !ptr) {
208859  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Structure_FindRigidBody" "', argument " "2"" of type '" "std::string""'");
208860  }
208861  arg2 = *ptr;
208862  if (SWIG_IsNewObj(res)) delete ptr;
208863  }
208864  {
208865  try {
208866  result = (AnimatSim::Environment::RigidBody *)(arg1)->FindRigidBody(arg2);
208867  }
208868  catch(CStdErrorInfo oError)
208869  {
208870  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208871  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208872  PyErr_SetString(PyExc_IndexError, strError.c_str());
208873  SWIG_fail;
208874  }
208875  catch(...)
208876  {
208877  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208878  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208879  SWIG_fail;
208880  }
208881  }
208882  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
208883  return resultobj;
208884 fail:
208885  return NULL;
208886 }
208887 
208888 
208889 SWIGINTERN PyObject *_wrap_Structure_FindRigidBody(PyObject *self, PyObject *args) {
208890  int argc;
208891  PyObject *argv[4];
208892  int ii;
208893 
208894  if (!PyTuple_Check(args)) SWIG_fail;
208895  argc = args ? (int)PyObject_Length(args) : 0;
208896  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
208897  argv[ii] = PyTuple_GET_ITEM(args,ii);
208898  }
208899  if (argc == 2) {
208900  int _v;
208901  void *vptr = 0;
208902  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
208903  _v = SWIG_CheckState(res);
208904  if (_v) {
208905  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
208906  _v = SWIG_CheckState(res);
208907  if (_v) {
208908  return _wrap_Structure_FindRigidBody__SWIG_1(self, args);
208909  }
208910  }
208911  }
208912  if (argc == 3) {
208913  int _v;
208914  void *vptr = 0;
208915  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
208916  _v = SWIG_CheckState(res);
208917  if (_v) {
208918  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
208919  _v = SWIG_CheckState(res);
208920  if (_v) {
208921  {
208922  int res = SWIG_AsVal_bool(argv[2], NULL);
208923  _v = SWIG_CheckState(res);
208924  }
208925  if (_v) {
208926  return _wrap_Structure_FindRigidBody__SWIG_0(self, args);
208927  }
208928  }
208929  }
208930  }
208931 
208932 fail:
208933  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Structure_FindRigidBody'.\n"
208934  " Possible C/C++ prototypes are:\n"
208935  " AnimatSim::Environment::Structure::FindRigidBody(std::string,bool)\n"
208936  " AnimatSim::Environment::Structure::FindRigidBody(std::string)\n");
208937  return 0;
208938 }
208939 
208940 
208941 SWIGINTERN PyObject *_wrap_Structure_FindNode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
208942  PyObject *resultobj = 0;
208944  std::string arg2 ;
208945  bool arg3 ;
208946  void *argp1 = 0 ;
208947  int res1 = 0 ;
208948  bool val3 ;
208949  int ecode3 = 0 ;
208950  PyObject * obj0 = 0 ;
208951  PyObject * obj1 = 0 ;
208952  PyObject * obj2 = 0 ;
208953  AnimatSim::Node *result = 0 ;
208954 
208955  if (!PyArg_ParseTuple(args,(char *)"OOO:Structure_FindNode",&obj0,&obj1,&obj2)) SWIG_fail;
208956  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
208957  if (!SWIG_IsOK(res1)) {
208958  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_FindNode" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
208959  }
208960  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
208961  {
208962  std::string *ptr = (std::string *)0;
208963  int res = SWIG_AsPtr_std_string(obj1, &ptr);
208964  if (!SWIG_IsOK(res) || !ptr) {
208965  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Structure_FindNode" "', argument " "2"" of type '" "std::string""'");
208966  }
208967  arg2 = *ptr;
208968  if (SWIG_IsNewObj(res)) delete ptr;
208969  }
208970  ecode3 = SWIG_AsVal_bool(obj2, &val3);
208971  if (!SWIG_IsOK(ecode3)) {
208972  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Structure_FindNode" "', argument " "3"" of type '" "bool""'");
208973  }
208974  arg3 = static_cast< bool >(val3);
208975  {
208976  try {
208977  result = (AnimatSim::Node *)(arg1)->FindNode(arg2,arg3);
208978  }
208979  catch(CStdErrorInfo oError)
208980  {
208981  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208982  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
208983  PyErr_SetString(PyExc_IndexError, strError.c_str());
208984  SWIG_fail;
208985  }
208986  catch(...)
208987  {
208988  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
208989  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
208990  SWIG_fail;
208991  }
208992  }
208993  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
208994  return resultobj;
208995 fail:
208996  return NULL;
208997 }
208998 
208999 
209000 SWIGINTERN PyObject *_wrap_Structure_FindNode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
209001  PyObject *resultobj = 0;
209003  std::string arg2 ;
209004  void *argp1 = 0 ;
209005  int res1 = 0 ;
209006  PyObject * obj0 = 0 ;
209007  PyObject * obj1 = 0 ;
209008  AnimatSim::Node *result = 0 ;
209009 
209010  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_FindNode",&obj0,&obj1)) SWIG_fail;
209011  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209012  if (!SWIG_IsOK(res1)) {
209013  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_FindNode" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
209014  }
209015  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
209016  {
209017  std::string *ptr = (std::string *)0;
209018  int res = SWIG_AsPtr_std_string(obj1, &ptr);
209019  if (!SWIG_IsOK(res) || !ptr) {
209020  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Structure_FindNode" "', argument " "2"" of type '" "std::string""'");
209021  }
209022  arg2 = *ptr;
209023  if (SWIG_IsNewObj(res)) delete ptr;
209024  }
209025  {
209026  try {
209027  result = (AnimatSim::Node *)(arg1)->FindNode(arg2);
209028  }
209029  catch(CStdErrorInfo oError)
209030  {
209031  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209032  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
209033  PyErr_SetString(PyExc_IndexError, strError.c_str());
209034  SWIG_fail;
209035  }
209036  catch(...)
209037  {
209038  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209039  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
209040  SWIG_fail;
209041  }
209042  }
209043  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
209044  return resultobj;
209045 fail:
209046  return NULL;
209047 }
209048 
209049 
209050 SWIGINTERN PyObject *_wrap_Structure_FindNode(PyObject *self, PyObject *args) {
209051  int argc;
209052  PyObject *argv[4];
209053  int ii;
209054 
209055  if (!PyTuple_Check(args)) SWIG_fail;
209056  argc = args ? (int)PyObject_Length(args) : 0;
209057  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
209058  argv[ii] = PyTuple_GET_ITEM(args,ii);
209059  }
209060  if (argc == 2) {
209061  int _v;
209062  void *vptr = 0;
209063  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
209064  _v = SWIG_CheckState(res);
209065  if (_v) {
209066  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
209067  _v = SWIG_CheckState(res);
209068  if (_v) {
209069  return _wrap_Structure_FindNode__SWIG_1(self, args);
209070  }
209071  }
209072  }
209073  if (argc == 3) {
209074  int _v;
209075  void *vptr = 0;
209076  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
209077  _v = SWIG_CheckState(res);
209078  if (_v) {
209079  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
209080  _v = SWIG_CheckState(res);
209081  if (_v) {
209082  {
209083  int res = SWIG_AsVal_bool(argv[2], NULL);
209084  _v = SWIG_CheckState(res);
209085  }
209086  if (_v) {
209087  return _wrap_Structure_FindNode__SWIG_0(self, args);
209088  }
209089  }
209090  }
209091  }
209092 
209093 fail:
209094  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Structure_FindNode'.\n"
209095  " Possible C/C++ prototypes are:\n"
209096  " AnimatSim::Environment::Structure::FindNode(std::string,bool)\n"
209097  " AnimatSim::Environment::Structure::FindNode(std::string)\n");
209098  return 0;
209099 }
209100 
209101 
209102 SWIGINTERN PyObject *_wrap_Structure_EnableMotor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
209103  PyObject *resultobj = 0;
209105  std::string arg2 ;
209106  bool arg3 ;
209107  void *argp1 = 0 ;
209108  int res1 = 0 ;
209109  bool val3 ;
209110  int ecode3 = 0 ;
209111  PyObject * obj0 = 0 ;
209112  PyObject * obj1 = 0 ;
209113  PyObject * obj2 = 0 ;
209114 
209115  if (!PyArg_ParseTuple(args,(char *)"OOO:Structure_EnableMotor",&obj0,&obj1,&obj2)) SWIG_fail;
209116  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209117  if (!SWIG_IsOK(res1)) {
209118  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_EnableMotor" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
209119  }
209120  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
209121  {
209122  std::string *ptr = (std::string *)0;
209123  int res = SWIG_AsPtr_std_string(obj1, &ptr);
209124  if (!SWIG_IsOK(res) || !ptr) {
209125  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Structure_EnableMotor" "', argument " "2"" of type '" "std::string""'");
209126  }
209127  arg2 = *ptr;
209128  if (SWIG_IsNewObj(res)) delete ptr;
209129  }
209130  ecode3 = SWIG_AsVal_bool(obj2, &val3);
209131  if (!SWIG_IsOK(ecode3)) {
209132  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Structure_EnableMotor" "', argument " "3"" of type '" "bool""'");
209133  }
209134  arg3 = static_cast< bool >(val3);
209135  {
209136  try {
209137  (arg1)->EnableMotor(arg2,arg3);
209138  }
209139  catch(CStdErrorInfo oError)
209140  {
209141  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209142  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
209143  PyErr_SetString(PyExc_IndexError, strError.c_str());
209144  SWIG_fail;
209145  }
209146  catch(...)
209147  {
209148  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209149  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
209150  SWIG_fail;
209151  }
209152  }
209153  resultobj = SWIG_Py_Void();
209154  return resultobj;
209155 fail:
209156  return NULL;
209157 }
209158 
209159 
209160 SWIGINTERN PyObject *_wrap_Structure_SetMotorInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
209161  PyObject *resultobj = 0;
209163  std::string arg2 ;
209164  float arg3 ;
209165  void *argp1 = 0 ;
209166  int res1 = 0 ;
209167  float val3 ;
209168  int ecode3 = 0 ;
209169  PyObject * obj0 = 0 ;
209170  PyObject * obj1 = 0 ;
209171  PyObject * obj2 = 0 ;
209172 
209173  if (!PyArg_ParseTuple(args,(char *)"OOO:Structure_SetMotorInput",&obj0,&obj1,&obj2)) SWIG_fail;
209174  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209175  if (!SWIG_IsOK(res1)) {
209176  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_SetMotorInput" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
209177  }
209178  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
209179  {
209180  std::string *ptr = (std::string *)0;
209181  int res = SWIG_AsPtr_std_string(obj1, &ptr);
209182  if (!SWIG_IsOK(res) || !ptr) {
209183  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Structure_SetMotorInput" "', argument " "2"" of type '" "std::string""'");
209184  }
209185  arg2 = *ptr;
209186  if (SWIG_IsNewObj(res)) delete ptr;
209187  }
209188  ecode3 = SWIG_AsVal_float(obj2, &val3);
209189  if (!SWIG_IsOK(ecode3)) {
209190  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Structure_SetMotorInput" "', argument " "3"" of type '" "float""'");
209191  }
209192  arg3 = static_cast< float >(val3);
209193  {
209194  try {
209195  (arg1)->SetMotorInput(arg2,arg3);
209196  }
209197  catch(CStdErrorInfo oError)
209198  {
209199  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209200  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
209201  PyErr_SetString(PyExc_IndexError, strError.c_str());
209202  SWIG_fail;
209203  }
209204  catch(...)
209205  {
209206  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209207  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
209208  SWIG_fail;
209209  }
209210  }
209211  resultobj = SWIG_Py_Void();
209212  return resultobj;
209213 fail:
209214  return NULL;
209215 }
209216 
209217 
209218 SWIGINTERN PyObject *_wrap_Structure_EnableCollision(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
209219  PyObject *resultobj = 0;
209222  void *argp1 = 0 ;
209223  int res1 = 0 ;
209224  void *argp2 = 0 ;
209225  int res2 = 0 ;
209226  PyObject * obj0 = 0 ;
209227  PyObject * obj1 = 0 ;
209228 
209229  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_EnableCollision",&obj0,&obj1)) SWIG_fail;
209230  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209231  if (!SWIG_IsOK(res1)) {
209232  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_EnableCollision" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
209233  }
209234  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
209235  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
209236  if (!SWIG_IsOK(res2)) {
209237  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_EnableCollision" "', argument " "2"" of type '" "AnimatSim::Environment::RigidBody *""'");
209238  }
209239  arg2 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp2);
209240  {
209241  try {
209242  (arg1)->EnableCollision(arg2);
209243  }
209244  catch(CStdErrorInfo oError)
209245  {
209246  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209247  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
209248  PyErr_SetString(PyExc_IndexError, strError.c_str());
209249  SWIG_fail;
209250  }
209251  catch(...)
209252  {
209253  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209254  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
209255  SWIG_fail;
209256  }
209257  }
209258  resultobj = SWIG_Py_Void();
209259  return resultobj;
209260 fail:
209261  return NULL;
209262 }
209263 
209264 
209265 SWIGINTERN PyObject *_wrap_Structure_DisableCollision(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
209266  PyObject *resultobj = 0;
209269  void *argp1 = 0 ;
209270  int res1 = 0 ;
209271  void *argp2 = 0 ;
209272  int res2 = 0 ;
209273  PyObject * obj0 = 0 ;
209274  PyObject * obj1 = 0 ;
209275 
209276  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_DisableCollision",&obj0,&obj1)) SWIG_fail;
209277  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209278  if (!SWIG_IsOK(res1)) {
209279  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_DisableCollision" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
209280  }
209281  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
209282  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Environment__RigidBody, 0 | 0 );
209283  if (!SWIG_IsOK(res2)) {
209284  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_DisableCollision" "', argument " "2"" of type '" "AnimatSim::Environment::RigidBody *""'");
209285  }
209286  arg2 = reinterpret_cast< AnimatSim::Environment::RigidBody * >(argp2);
209287  {
209288  try {
209289  (arg1)->DisableCollision(arg2);
209290  }
209291  catch(CStdErrorInfo oError)
209292  {
209293  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209294  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
209295  PyErr_SetString(PyExc_IndexError, strError.c_str());
209296  SWIG_fail;
209297  }
209298  catch(...)
209299  {
209300  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209301  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
209302  SWIG_fail;
209303  }
209304  }
209305  resultobj = SWIG_Py_Void();
209306  return resultobj;
209307 fail:
209308  return NULL;
209309 }
209310 
209311 
209312 SWIGINTERN PyObject *_wrap_Structure_Selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
209313  PyObject *resultobj = 0;
209315  bool arg2 ;
209316  bool arg3 ;
209317  void *argp1 = 0 ;
209318  int res1 = 0 ;
209319  bool val2 ;
209320  int ecode2 = 0 ;
209321  bool val3 ;
209322  int ecode3 = 0 ;
209323  PyObject * obj0 = 0 ;
209324  PyObject * obj1 = 0 ;
209325  PyObject * obj2 = 0 ;
209326 
209327  if (!PyArg_ParseTuple(args,(char *)"OOO:Structure_Selected",&obj0,&obj1,&obj2)) SWIG_fail;
209328  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209329  if (!SWIG_IsOK(res1)) {
209330  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Selected" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
209331  }
209332  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
209333  ecode2 = SWIG_AsVal_bool(obj1, &val2);
209334  if (!SWIG_IsOK(ecode2)) {
209335  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Structure_Selected" "', argument " "2"" of type '" "bool""'");
209336  }
209337  arg2 = static_cast< bool >(val2);
209338  ecode3 = SWIG_AsVal_bool(obj2, &val3);
209339  if (!SWIG_IsOK(ecode3)) {
209340  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Structure_Selected" "', argument " "3"" of type '" "bool""'");
209341  }
209342  arg3 = static_cast< bool >(val3);
209343  {
209344  try {
209345  (arg1)->Selected(arg2,arg3);
209346  }
209347  catch(CStdErrorInfo oError)
209348  {
209349  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209350  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
209351  PyErr_SetString(PyExc_IndexError, strError.c_str());
209352  SWIG_fail;
209353  }
209354  catch(...)
209355  {
209356  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209357  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
209358  SWIG_fail;
209359  }
209360  }
209361  resultobj = SWIG_Py_Void();
209362  return resultobj;
209363 fail:
209364  return NULL;
209365 }
209366 
209367 
209368 SWIGINTERN PyObject *_wrap_Structure_UpdatePhysicsPosFromGraphics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
209369  PyObject *resultobj = 0;
209371  void *argp1 = 0 ;
209372  int res1 = 0 ;
209373  PyObject * obj0 = 0 ;
209374 
209375  if (!PyArg_ParseTuple(args,(char *)"O:Structure_UpdatePhysicsPosFromGraphics",&obj0)) SWIG_fail;
209376  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209377  if (!SWIG_IsOK(res1)) {
209378  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_UpdatePhysicsPosFromGraphics" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
209379  }
209380  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
209381  {
209382  try {
209383  (arg1)->UpdatePhysicsPosFromGraphics();
209384  }
209385  catch(CStdErrorInfo oError)
209386  {
209387  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209388  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
209389  PyErr_SetString(PyExc_IndexError, strError.c_str());
209390  SWIG_fail;
209391  }
209392  catch(...)
209393  {
209394  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209395  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
209396  SWIG_fail;
209397  }
209398  }
209399  resultobj = SWIG_Py_Void();
209400  return resultobj;
209401 fail:
209402  return NULL;
209403 }
209404 
209405 
209406 SWIGINTERN PyObject *_wrap_Structure_Script__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
209407  PyObject *resultobj = 0;
209409  ScriptProcessor *arg2 = (ScriptProcessor *) 0 ;
209410  void *argp1 = 0 ;
209411  int res1 = 0 ;
209412  void *argp2 = 0 ;
209413  int res2 = 0 ;
209414  PyObject * obj0 = 0 ;
209415  PyObject * obj1 = 0 ;
209416 
209417  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_Script",&obj0,&obj1)) SWIG_fail;
209418  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209419  if (!SWIG_IsOK(res1)) {
209420  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Script" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
209421  }
209422  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
209423  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ScriptProcessor, 0 | 0 );
209424  if (!SWIG_IsOK(res2)) {
209425  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_Script" "', argument " "2"" of type '" "ScriptProcessor *""'");
209426  }
209427  arg2 = reinterpret_cast< ScriptProcessor * >(argp2);
209428  {
209429  try {
209430  (arg1)->Script(arg2);
209431  }
209432  catch(CStdErrorInfo oError)
209433  {
209434  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209435  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
209436  PyErr_SetString(PyExc_IndexError, strError.c_str());
209437  SWIG_fail;
209438  }
209439  catch(...)
209440  {
209441  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209442  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
209443  SWIG_fail;
209444  }
209445  }
209446  resultobj = SWIG_Py_Void();
209447  return resultobj;
209448 fail:
209449  return NULL;
209450 }
209451 
209452 
209453 SWIGINTERN PyObject *_wrap_Structure_Script__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
209454  PyObject *resultobj = 0;
209456  void *argp1 = 0 ;
209457  int res1 = 0 ;
209458  PyObject * obj0 = 0 ;
209459  ScriptProcessor *result = 0 ;
209460 
209461  if (!PyArg_ParseTuple(args,(char *)"O:Structure_Script",&obj0)) SWIG_fail;
209462  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209463  if (!SWIG_IsOK(res1)) {
209464  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Script" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
209465  }
209466  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
209467  {
209468  try {
209469  result = (ScriptProcessor *)(arg1)->Script();
209470  }
209471  catch(CStdErrorInfo oError)
209472  {
209473  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209474  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
209475  PyErr_SetString(PyExc_IndexError, strError.c_str());
209476  SWIG_fail;
209477  }
209478  catch(...)
209479  {
209480  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209481  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
209482  SWIG_fail;
209483  }
209484  }
209485  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ScriptProcessor, 0 | 0 );
209486  return resultobj;
209487 fail:
209488  return NULL;
209489 }
209490 
209491 
209492 SWIGINTERN PyObject *_wrap_Structure_Script(PyObject *self, PyObject *args) {
209493  int argc;
209494  PyObject *argv[3];
209495  int ii;
209496 
209497  if (!PyTuple_Check(args)) SWIG_fail;
209498  argc = args ? (int)PyObject_Length(args) : 0;
209499  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
209500  argv[ii] = PyTuple_GET_ITEM(args,ii);
209501  }
209502  if (argc == 1) {
209503  int _v;
209504  void *vptr = 0;
209505  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
209506  _v = SWIG_CheckState(res);
209507  if (_v) {
209508  return _wrap_Structure_Script__SWIG_1(self, args);
209509  }
209510  }
209511  if (argc == 2) {
209512  int _v;
209513  void *vptr = 0;
209514  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
209515  _v = SWIG_CheckState(res);
209516  if (_v) {
209517  void *vptr = 0;
209518  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ScriptProcessor, 0);
209519  _v = SWIG_CheckState(res);
209520  if (_v) {
209521  return _wrap_Structure_Script__SWIG_0(self, args);
209522  }
209523  }
209524  }
209525 
209526 fail:
209527  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Structure_Script'.\n"
209528  " Possible C/C++ prototypes are:\n"
209529  " AnimatSim::Environment::Structure::Script(ScriptProcessor *)\n"
209530  " AnimatSim::Environment::Structure::Script()\n");
209531  return 0;
209532 }
209533 
209534 
209535 SWIGINTERN PyObject *_wrap_Structure_SetSystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
209536  PyObject *resultobj = 0;
209538  Simulator *arg2 = (Simulator *) 0 ;
209540  NeuralModule *arg4 = (NeuralModule *) 0 ;
209541  AnimatSim::Node *arg5 = (AnimatSim::Node *) 0 ;
209542  bool arg6 ;
209543  void *argp1 = 0 ;
209544  int res1 = 0 ;
209545  void *argp2 = 0 ;
209546  int res2 = 0 ;
209547  void *argp3 = 0 ;
209548  int res3 = 0 ;
209549  void *argp4 = 0 ;
209550  int res4 = 0 ;
209551  void *argp5 = 0 ;
209552  int res5 = 0 ;
209553  bool val6 ;
209554  int ecode6 = 0 ;
209555  PyObject * obj0 = 0 ;
209556  PyObject * obj1 = 0 ;
209557  PyObject * obj2 = 0 ;
209558  PyObject * obj3 = 0 ;
209559  PyObject * obj4 = 0 ;
209560  PyObject * obj5 = 0 ;
209561 
209562  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:Structure_SetSystemPointers",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
209563  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209564  if (!SWIG_IsOK(res1)) {
209565  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_SetSystemPointers" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
209566  }
209567  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
209568  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Simulator, 0 | 0 );
209569  if (!SWIG_IsOK(res2)) {
209570  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_SetSystemPointers" "', argument " "2"" of type '" "Simulator *""'");
209571  }
209572  arg2 = reinterpret_cast< Simulator * >(argp2);
209573  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209574  if (!SWIG_IsOK(res3)) {
209575  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Structure_SetSystemPointers" "', argument " "3"" of type '" "AnimatSim::Environment::Structure *""'");
209576  }
209577  arg3 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp3);
209578  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_NeuralModule, 0 | 0 );
209579  if (!SWIG_IsOK(res4)) {
209580  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Structure_SetSystemPointers" "', argument " "4"" of type '" "NeuralModule *""'");
209581  }
209582  arg4 = reinterpret_cast< NeuralModule * >(argp4);
209583  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
209584  if (!SWIG_IsOK(res5)) {
209585  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Structure_SetSystemPointers" "', argument " "5"" of type '" "AnimatSim::Node *""'");
209586  }
209587  arg5 = reinterpret_cast< AnimatSim::Node * >(argp5);
209588  ecode6 = SWIG_AsVal_bool(obj5, &val6);
209589  if (!SWIG_IsOK(ecode6)) {
209590  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Structure_SetSystemPointers" "', argument " "6"" of type '" "bool""'");
209591  }
209592  arg6 = static_cast< bool >(val6);
209593  {
209594  try {
209595  (arg1)->SetSystemPointers(arg2,arg3,arg4,arg5,arg6);
209596  }
209597  catch(CStdErrorInfo oError)
209598  {
209599  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209600  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
209601  PyErr_SetString(PyExc_IndexError, strError.c_str());
209602  SWIG_fail;
209603  }
209604  catch(...)
209605  {
209606  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209607  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
209608  SWIG_fail;
209609  }
209610  }
209611  resultobj = SWIG_Py_Void();
209612  return resultobj;
209613 fail:
209614  return NULL;
209615 }
209616 
209617 
209618 SWIGINTERN PyObject *_wrap_Structure_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
209619  PyObject *resultobj = 0;
209621  std::string *arg2 = 0 ;
209622  void *argp1 = 0 ;
209623  int res1 = 0 ;
209624  int res2 = SWIG_OLDOBJ ;
209625  PyObject * obj0 = 0 ;
209626  PyObject * obj1 = 0 ;
209627  float *result = 0 ;
209628 
209629  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_GetDataPointer",&obj0,&obj1)) SWIG_fail;
209630  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209631  if (!SWIG_IsOK(res1)) {
209632  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
209633  }
209634  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
209635  {
209636  std::string *ptr = (std::string *)0;
209637  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
209638  if (!SWIG_IsOK(res2)) {
209639  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
209640  }
209641  if (!ptr) {
209642  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
209643  }
209644  arg2 = ptr;
209645  }
209646  {
209647  try {
209648  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
209649  }
209650  catch(CStdErrorInfo oError)
209651  {
209652  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209653  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
209654  PyErr_SetString(PyExc_IndexError, strError.c_str());
209655  SWIG_fail;
209656  }
209657  catch(...)
209658  {
209659  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209660  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
209661  SWIG_fail;
209662  }
209663  }
209664  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
209665  if (SWIG_IsNewObj(res2)) delete arg2;
209666  return resultobj;
209667 fail:
209668  if (SWIG_IsNewObj(res2)) delete arg2;
209669  return NULL;
209670 }
209671 
209672 
209673 SWIGINTERN PyObject *_wrap_Structure_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
209674  PyObject *resultobj = 0;
209676  std::string *arg2 = 0 ;
209677  std::string *arg3 = 0 ;
209678  bool arg4 ;
209679  void *argp1 = 0 ;
209680  int res1 = 0 ;
209681  int res2 = SWIG_OLDOBJ ;
209682  int res3 = SWIG_OLDOBJ ;
209683  bool val4 ;
209684  int ecode4 = 0 ;
209685  PyObject * obj0 = 0 ;
209686  PyObject * obj1 = 0 ;
209687  PyObject * obj2 = 0 ;
209688  PyObject * obj3 = 0 ;
209689  bool result;
209690 
209691  if (!PyArg_ParseTuple(args,(char *)"OOOO:Structure_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
209692  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209693  if (!SWIG_IsOK(res1)) {
209694  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
209695  }
209696  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
209697  {
209698  std::string *ptr = (std::string *)0;
209699  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
209700  if (!SWIG_IsOK(res2)) {
209701  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_SetData" "', argument " "2"" of type '" "std::string const &""'");
209702  }
209703  if (!ptr) {
209704  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_SetData" "', argument " "2"" of type '" "std::string const &""'");
209705  }
209706  arg2 = ptr;
209707  }
209708  {
209709  std::string *ptr = (std::string *)0;
209710  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
209711  if (!SWIG_IsOK(res3)) {
209712  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Structure_SetData" "', argument " "3"" of type '" "std::string const &""'");
209713  }
209714  if (!ptr) {
209715  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_SetData" "', argument " "3"" of type '" "std::string const &""'");
209716  }
209717  arg3 = ptr;
209718  }
209719  ecode4 = SWIG_AsVal_bool(obj3, &val4);
209720  if (!SWIG_IsOK(ecode4)) {
209721  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Structure_SetData" "', argument " "4"" of type '" "bool""'");
209722  }
209723  arg4 = static_cast< bool >(val4);
209724  {
209725  try {
209726  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
209727  }
209728  catch(CStdErrorInfo oError)
209729  {
209730  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209731  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
209732  PyErr_SetString(PyExc_IndexError, strError.c_str());
209733  SWIG_fail;
209734  }
209735  catch(...)
209736  {
209737  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209738  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
209739  SWIG_fail;
209740  }
209741  }
209742  resultobj = SWIG_From_bool(static_cast< bool >(result));
209743  if (SWIG_IsNewObj(res2)) delete arg2;
209744  if (SWIG_IsNewObj(res3)) delete arg3;
209745  return resultobj;
209746 fail:
209747  if (SWIG_IsNewObj(res2)) delete arg2;
209748  if (SWIG_IsNewObj(res3)) delete arg3;
209749  return NULL;
209750 }
209751 
209752 
209753 SWIGINTERN PyObject *_wrap_Structure_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
209754  PyObject *resultobj = 0;
209756  std::string *arg2 = 0 ;
209757  std::string *arg3 = 0 ;
209758  void *argp1 = 0 ;
209759  int res1 = 0 ;
209760  int res2 = SWIG_OLDOBJ ;
209761  int res3 = SWIG_OLDOBJ ;
209762  PyObject * obj0 = 0 ;
209763  PyObject * obj1 = 0 ;
209764  PyObject * obj2 = 0 ;
209765  bool result;
209766 
209767  if (!PyArg_ParseTuple(args,(char *)"OOO:Structure_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
209768  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209769  if (!SWIG_IsOK(res1)) {
209770  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
209771  }
209772  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
209773  {
209774  std::string *ptr = (std::string *)0;
209775  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
209776  if (!SWIG_IsOK(res2)) {
209777  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_SetData" "', argument " "2"" of type '" "std::string const &""'");
209778  }
209779  if (!ptr) {
209780  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_SetData" "', argument " "2"" of type '" "std::string const &""'");
209781  }
209782  arg2 = ptr;
209783  }
209784  {
209785  std::string *ptr = (std::string *)0;
209786  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
209787  if (!SWIG_IsOK(res3)) {
209788  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Structure_SetData" "', argument " "3"" of type '" "std::string const &""'");
209789  }
209790  if (!ptr) {
209791  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_SetData" "', argument " "3"" of type '" "std::string const &""'");
209792  }
209793  arg3 = ptr;
209794  }
209795  {
209796  try {
209797  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
209798  }
209799  catch(CStdErrorInfo oError)
209800  {
209801  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209802  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
209803  PyErr_SetString(PyExc_IndexError, strError.c_str());
209804  SWIG_fail;
209805  }
209806  catch(...)
209807  {
209808  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209809  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
209810  SWIG_fail;
209811  }
209812  }
209813  resultobj = SWIG_From_bool(static_cast< bool >(result));
209814  if (SWIG_IsNewObj(res2)) delete arg2;
209815  if (SWIG_IsNewObj(res3)) delete arg3;
209816  return resultobj;
209817 fail:
209818  if (SWIG_IsNewObj(res2)) delete arg2;
209819  if (SWIG_IsNewObj(res3)) delete arg3;
209820  return NULL;
209821 }
209822 
209823 
209824 SWIGINTERN PyObject *_wrap_Structure_SetData(PyObject *self, PyObject *args) {
209825  int argc;
209826  PyObject *argv[5];
209827  int ii;
209828 
209829  if (!PyTuple_Check(args)) SWIG_fail;
209830  argc = args ? (int)PyObject_Length(args) : 0;
209831  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
209832  argv[ii] = PyTuple_GET_ITEM(args,ii);
209833  }
209834  if (argc == 3) {
209835  int _v;
209836  void *vptr = 0;
209837  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
209838  _v = SWIG_CheckState(res);
209839  if (_v) {
209840  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
209841  _v = SWIG_CheckState(res);
209842  if (_v) {
209843  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
209844  _v = SWIG_CheckState(res);
209845  if (_v) {
209846  return _wrap_Structure_SetData__SWIG_1(self, args);
209847  }
209848  }
209849  }
209850  }
209851  if (argc == 4) {
209852  int _v;
209853  void *vptr = 0;
209854  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
209855  _v = SWIG_CheckState(res);
209856  if (_v) {
209857  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
209858  _v = SWIG_CheckState(res);
209859  if (_v) {
209860  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
209861  _v = SWIG_CheckState(res);
209862  if (_v) {
209863  {
209864  int res = SWIG_AsVal_bool(argv[3], NULL);
209865  _v = SWIG_CheckState(res);
209866  }
209867  if (_v) {
209868  return _wrap_Structure_SetData__SWIG_0(self, args);
209869  }
209870  }
209871  }
209872  }
209873  }
209874 
209875 fail:
209876  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Structure_SetData'.\n"
209877  " Possible C/C++ prototypes are:\n"
209878  " AnimatSim::Environment::Structure::SetData(std::string const &,std::string const &,bool)\n"
209879  " AnimatSim::Environment::Structure::SetData(std::string const &,std::string const &)\n");
209880  return 0;
209881 }
209882 
209883 
209884 SWIGINTERN PyObject *_wrap_Structure_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
209885  PyObject *resultobj = 0;
209887  CStdPtrArray< TypeProperty > *arg2 = 0 ;
209888  void *argp1 = 0 ;
209889  int res1 = 0 ;
209890  void *argp2 = 0 ;
209891  int res2 = 0 ;
209892  PyObject * obj0 = 0 ;
209893  PyObject * obj1 = 0 ;
209894 
209895  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_QueryProperties",&obj0,&obj1)) SWIG_fail;
209896  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209897  if (!SWIG_IsOK(res1)) {
209898  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
209899  }
209900  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
209901  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
209902  if (!SWIG_IsOK(res2)) {
209903  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
209904  }
209905  if (!argp2) {
209906  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
209907  }
209908  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
209909  {
209910  try {
209911  (arg1)->QueryProperties(*arg2);
209912  }
209913  catch(CStdErrorInfo oError)
209914  {
209915  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209916  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
209917  PyErr_SetString(PyExc_IndexError, strError.c_str());
209918  SWIG_fail;
209919  }
209920  catch(...)
209921  {
209922  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
209923  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
209924  SWIG_fail;
209925  }
209926  }
209927  resultobj = SWIG_Py_Void();
209928  return resultobj;
209929 fail:
209930  return NULL;
209931 }
209932 
209933 
209934 SWIGINTERN PyObject *_wrap_Structure_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
209935  PyObject *resultobj = 0;
209937  std::string *arg2 = 0 ;
209938  std::string *arg3 = 0 ;
209939  bool arg4 ;
209940  bool arg5 ;
209941  void *argp1 = 0 ;
209942  int res1 = 0 ;
209943  int res2 = SWIG_OLDOBJ ;
209944  int res3 = SWIG_OLDOBJ ;
209945  bool val4 ;
209946  int ecode4 = 0 ;
209947  bool val5 ;
209948  int ecode5 = 0 ;
209949  PyObject * obj0 = 0 ;
209950  PyObject * obj1 = 0 ;
209951  PyObject * obj2 = 0 ;
209952  PyObject * obj3 = 0 ;
209953  PyObject * obj4 = 0 ;
209954  bool result;
209955 
209956  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Structure_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
209957  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
209958  if (!SWIG_IsOK(res1)) {
209959  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
209960  }
209961  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
209962  {
209963  std::string *ptr = (std::string *)0;
209964  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
209965  if (!SWIG_IsOK(res2)) {
209966  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_AddItem" "', argument " "2"" of type '" "std::string const &""'");
209967  }
209968  if (!ptr) {
209969  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_AddItem" "', argument " "2"" of type '" "std::string const &""'");
209970  }
209971  arg2 = ptr;
209972  }
209973  {
209974  std::string *ptr = (std::string *)0;
209975  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
209976  if (!SWIG_IsOK(res3)) {
209977  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Structure_AddItem" "', argument " "3"" of type '" "std::string const &""'");
209978  }
209979  if (!ptr) {
209980  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_AddItem" "', argument " "3"" of type '" "std::string const &""'");
209981  }
209982  arg3 = ptr;
209983  }
209984  ecode4 = SWIG_AsVal_bool(obj3, &val4);
209985  if (!SWIG_IsOK(ecode4)) {
209986  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Structure_AddItem" "', argument " "4"" of type '" "bool""'");
209987  }
209988  arg4 = static_cast< bool >(val4);
209989  ecode5 = SWIG_AsVal_bool(obj4, &val5);
209990  if (!SWIG_IsOK(ecode5)) {
209991  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Structure_AddItem" "', argument " "5"" of type '" "bool""'");
209992  }
209993  arg5 = static_cast< bool >(val5);
209994  {
209995  try {
209996  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
209997  }
209998  catch(CStdErrorInfo oError)
209999  {
210000  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210001  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210002  PyErr_SetString(PyExc_IndexError, strError.c_str());
210003  SWIG_fail;
210004  }
210005  catch(...)
210006  {
210007  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210008  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210009  SWIG_fail;
210010  }
210011  }
210012  resultobj = SWIG_From_bool(static_cast< bool >(result));
210013  if (SWIG_IsNewObj(res2)) delete arg2;
210014  if (SWIG_IsNewObj(res3)) delete arg3;
210015  return resultobj;
210016 fail:
210017  if (SWIG_IsNewObj(res2)) delete arg2;
210018  if (SWIG_IsNewObj(res3)) delete arg3;
210019  return NULL;
210020 }
210021 
210022 
210023 SWIGINTERN PyObject *_wrap_Structure_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210024  PyObject *resultobj = 0;
210026  std::string *arg2 = 0 ;
210027  std::string *arg3 = 0 ;
210028  bool arg4 ;
210029  void *argp1 = 0 ;
210030  int res1 = 0 ;
210031  int res2 = SWIG_OLDOBJ ;
210032  int res3 = SWIG_OLDOBJ ;
210033  bool val4 ;
210034  int ecode4 = 0 ;
210035  PyObject * obj0 = 0 ;
210036  PyObject * obj1 = 0 ;
210037  PyObject * obj2 = 0 ;
210038  PyObject * obj3 = 0 ;
210039  bool result;
210040 
210041  if (!PyArg_ParseTuple(args,(char *)"OOOO:Structure_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
210042  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
210043  if (!SWIG_IsOK(res1)) {
210044  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
210045  }
210046  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
210047  {
210048  std::string *ptr = (std::string *)0;
210049  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
210050  if (!SWIG_IsOK(res2)) {
210051  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_AddItem" "', argument " "2"" of type '" "std::string const &""'");
210052  }
210053  if (!ptr) {
210054  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_AddItem" "', argument " "2"" of type '" "std::string const &""'");
210055  }
210056  arg2 = ptr;
210057  }
210058  {
210059  std::string *ptr = (std::string *)0;
210060  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
210061  if (!SWIG_IsOK(res3)) {
210062  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Structure_AddItem" "', argument " "3"" of type '" "std::string const &""'");
210063  }
210064  if (!ptr) {
210065  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_AddItem" "', argument " "3"" of type '" "std::string const &""'");
210066  }
210067  arg3 = ptr;
210068  }
210069  ecode4 = SWIG_AsVal_bool(obj3, &val4);
210070  if (!SWIG_IsOK(ecode4)) {
210071  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Structure_AddItem" "', argument " "4"" of type '" "bool""'");
210072  }
210073  arg4 = static_cast< bool >(val4);
210074  {
210075  try {
210076  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
210077  }
210078  catch(CStdErrorInfo oError)
210079  {
210080  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210081  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210082  PyErr_SetString(PyExc_IndexError, strError.c_str());
210083  SWIG_fail;
210084  }
210085  catch(...)
210086  {
210087  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210088  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210089  SWIG_fail;
210090  }
210091  }
210092  resultobj = SWIG_From_bool(static_cast< bool >(result));
210093  if (SWIG_IsNewObj(res2)) delete arg2;
210094  if (SWIG_IsNewObj(res3)) delete arg3;
210095  return resultobj;
210096 fail:
210097  if (SWIG_IsNewObj(res2)) delete arg2;
210098  if (SWIG_IsNewObj(res3)) delete arg3;
210099  return NULL;
210100 }
210101 
210102 
210103 SWIGINTERN PyObject *_wrap_Structure_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210104  PyObject *resultobj = 0;
210106  std::string *arg2 = 0 ;
210107  std::string *arg3 = 0 ;
210108  void *argp1 = 0 ;
210109  int res1 = 0 ;
210110  int res2 = SWIG_OLDOBJ ;
210111  int res3 = SWIG_OLDOBJ ;
210112  PyObject * obj0 = 0 ;
210113  PyObject * obj1 = 0 ;
210114  PyObject * obj2 = 0 ;
210115  bool result;
210116 
210117  if (!PyArg_ParseTuple(args,(char *)"OOO:Structure_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
210118  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
210119  if (!SWIG_IsOK(res1)) {
210120  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
210121  }
210122  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
210123  {
210124  std::string *ptr = (std::string *)0;
210125  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
210126  if (!SWIG_IsOK(res2)) {
210127  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_AddItem" "', argument " "2"" of type '" "std::string const &""'");
210128  }
210129  if (!ptr) {
210130  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_AddItem" "', argument " "2"" of type '" "std::string const &""'");
210131  }
210132  arg2 = ptr;
210133  }
210134  {
210135  std::string *ptr = (std::string *)0;
210136  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
210137  if (!SWIG_IsOK(res3)) {
210138  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Structure_AddItem" "', argument " "3"" of type '" "std::string const &""'");
210139  }
210140  if (!ptr) {
210141  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_AddItem" "', argument " "3"" of type '" "std::string const &""'");
210142  }
210143  arg3 = ptr;
210144  }
210145  {
210146  try {
210147  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
210148  }
210149  catch(CStdErrorInfo oError)
210150  {
210151  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210152  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210153  PyErr_SetString(PyExc_IndexError, strError.c_str());
210154  SWIG_fail;
210155  }
210156  catch(...)
210157  {
210158  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210159  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210160  SWIG_fail;
210161  }
210162  }
210163  resultobj = SWIG_From_bool(static_cast< bool >(result));
210164  if (SWIG_IsNewObj(res2)) delete arg2;
210165  if (SWIG_IsNewObj(res3)) delete arg3;
210166  return resultobj;
210167 fail:
210168  if (SWIG_IsNewObj(res2)) delete arg2;
210169  if (SWIG_IsNewObj(res3)) delete arg3;
210170  return NULL;
210171 }
210172 
210173 
210174 SWIGINTERN PyObject *_wrap_Structure_AddItem(PyObject *self, PyObject *args) {
210175  int argc;
210176  PyObject *argv[6];
210177  int ii;
210178 
210179  if (!PyTuple_Check(args)) SWIG_fail;
210180  argc = args ? (int)PyObject_Length(args) : 0;
210181  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
210182  argv[ii] = PyTuple_GET_ITEM(args,ii);
210183  }
210184  if (argc == 3) {
210185  int _v;
210186  void *vptr = 0;
210187  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
210188  _v = SWIG_CheckState(res);
210189  if (_v) {
210190  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
210191  _v = SWIG_CheckState(res);
210192  if (_v) {
210193  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
210194  _v = SWIG_CheckState(res);
210195  if (_v) {
210196  return _wrap_Structure_AddItem__SWIG_2(self, args);
210197  }
210198  }
210199  }
210200  }
210201  if (argc == 4) {
210202  int _v;
210203  void *vptr = 0;
210204  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
210205  _v = SWIG_CheckState(res);
210206  if (_v) {
210207  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
210208  _v = SWIG_CheckState(res);
210209  if (_v) {
210210  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
210211  _v = SWIG_CheckState(res);
210212  if (_v) {
210213  {
210214  int res = SWIG_AsVal_bool(argv[3], NULL);
210215  _v = SWIG_CheckState(res);
210216  }
210217  if (_v) {
210218  return _wrap_Structure_AddItem__SWIG_1(self, args);
210219  }
210220  }
210221  }
210222  }
210223  }
210224  if (argc == 5) {
210225  int _v;
210226  void *vptr = 0;
210227  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
210228  _v = SWIG_CheckState(res);
210229  if (_v) {
210230  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
210231  _v = SWIG_CheckState(res);
210232  if (_v) {
210233  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
210234  _v = SWIG_CheckState(res);
210235  if (_v) {
210236  {
210237  int res = SWIG_AsVal_bool(argv[3], NULL);
210238  _v = SWIG_CheckState(res);
210239  }
210240  if (_v) {
210241  {
210242  int res = SWIG_AsVal_bool(argv[4], NULL);
210243  _v = SWIG_CheckState(res);
210244  }
210245  if (_v) {
210246  return _wrap_Structure_AddItem__SWIG_0(self, args);
210247  }
210248  }
210249  }
210250  }
210251  }
210252  }
210253 
210254 fail:
210255  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Structure_AddItem'.\n"
210256  " Possible C/C++ prototypes are:\n"
210257  " AnimatSim::Environment::Structure::AddItem(std::string const &,std::string const &,bool,bool)\n"
210258  " AnimatSim::Environment::Structure::AddItem(std::string const &,std::string const &,bool)\n"
210259  " AnimatSim::Environment::Structure::AddItem(std::string const &,std::string const &)\n");
210260  return 0;
210261 }
210262 
210263 
210264 SWIGINTERN PyObject *_wrap_Structure_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210265  PyObject *resultobj = 0;
210267  std::string *arg2 = 0 ;
210268  std::string *arg3 = 0 ;
210269  bool arg4 ;
210270  void *argp1 = 0 ;
210271  int res1 = 0 ;
210272  int res2 = SWIG_OLDOBJ ;
210273  int res3 = SWIG_OLDOBJ ;
210274  bool val4 ;
210275  int ecode4 = 0 ;
210276  PyObject * obj0 = 0 ;
210277  PyObject * obj1 = 0 ;
210278  PyObject * obj2 = 0 ;
210279  PyObject * obj3 = 0 ;
210280  bool result;
210281 
210282  if (!PyArg_ParseTuple(args,(char *)"OOOO:Structure_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
210283  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
210284  if (!SWIG_IsOK(res1)) {
210285  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
210286  }
210287  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
210288  {
210289  std::string *ptr = (std::string *)0;
210290  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
210291  if (!SWIG_IsOK(res2)) {
210292  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
210293  }
210294  if (!ptr) {
210295  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
210296  }
210297  arg2 = ptr;
210298  }
210299  {
210300  std::string *ptr = (std::string *)0;
210301  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
210302  if (!SWIG_IsOK(res3)) {
210303  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Structure_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
210304  }
210305  if (!ptr) {
210306  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
210307  }
210308  arg3 = ptr;
210309  }
210310  ecode4 = SWIG_AsVal_bool(obj3, &val4);
210311  if (!SWIG_IsOK(ecode4)) {
210312  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Structure_RemoveItem" "', argument " "4"" of type '" "bool""'");
210313  }
210314  arg4 = static_cast< bool >(val4);
210315  {
210316  try {
210317  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
210318  }
210319  catch(CStdErrorInfo oError)
210320  {
210321  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210322  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210323  PyErr_SetString(PyExc_IndexError, strError.c_str());
210324  SWIG_fail;
210325  }
210326  catch(...)
210327  {
210328  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210329  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210330  SWIG_fail;
210331  }
210332  }
210333  resultobj = SWIG_From_bool(static_cast< bool >(result));
210334  if (SWIG_IsNewObj(res2)) delete arg2;
210335  if (SWIG_IsNewObj(res3)) delete arg3;
210336  return resultobj;
210337 fail:
210338  if (SWIG_IsNewObj(res2)) delete arg2;
210339  if (SWIG_IsNewObj(res3)) delete arg3;
210340  return NULL;
210341 }
210342 
210343 
210344 SWIGINTERN PyObject *_wrap_Structure_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210345  PyObject *resultobj = 0;
210347  std::string *arg2 = 0 ;
210348  std::string *arg3 = 0 ;
210349  void *argp1 = 0 ;
210350  int res1 = 0 ;
210351  int res2 = SWIG_OLDOBJ ;
210352  int res3 = SWIG_OLDOBJ ;
210353  PyObject * obj0 = 0 ;
210354  PyObject * obj1 = 0 ;
210355  PyObject * obj2 = 0 ;
210356  bool result;
210357 
210358  if (!PyArg_ParseTuple(args,(char *)"OOO:Structure_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
210359  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
210360  if (!SWIG_IsOK(res1)) {
210361  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
210362  }
210363  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
210364  {
210365  std::string *ptr = (std::string *)0;
210366  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
210367  if (!SWIG_IsOK(res2)) {
210368  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
210369  }
210370  if (!ptr) {
210371  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
210372  }
210373  arg2 = ptr;
210374  }
210375  {
210376  std::string *ptr = (std::string *)0;
210377  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
210378  if (!SWIG_IsOK(res3)) {
210379  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Structure_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
210380  }
210381  if (!ptr) {
210382  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
210383  }
210384  arg3 = ptr;
210385  }
210386  {
210387  try {
210388  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
210389  }
210390  catch(CStdErrorInfo oError)
210391  {
210392  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210393  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210394  PyErr_SetString(PyExc_IndexError, strError.c_str());
210395  SWIG_fail;
210396  }
210397  catch(...)
210398  {
210399  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210400  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210401  SWIG_fail;
210402  }
210403  }
210404  resultobj = SWIG_From_bool(static_cast< bool >(result));
210405  if (SWIG_IsNewObj(res2)) delete arg2;
210406  if (SWIG_IsNewObj(res3)) delete arg3;
210407  return resultobj;
210408 fail:
210409  if (SWIG_IsNewObj(res2)) delete arg2;
210410  if (SWIG_IsNewObj(res3)) delete arg3;
210411  return NULL;
210412 }
210413 
210414 
210415 SWIGINTERN PyObject *_wrap_Structure_RemoveItem(PyObject *self, PyObject *args) {
210416  int argc;
210417  PyObject *argv[5];
210418  int ii;
210419 
210420  if (!PyTuple_Check(args)) SWIG_fail;
210421  argc = args ? (int)PyObject_Length(args) : 0;
210422  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
210423  argv[ii] = PyTuple_GET_ITEM(args,ii);
210424  }
210425  if (argc == 3) {
210426  int _v;
210427  void *vptr = 0;
210428  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
210429  _v = SWIG_CheckState(res);
210430  if (_v) {
210431  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
210432  _v = SWIG_CheckState(res);
210433  if (_v) {
210434  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
210435  _v = SWIG_CheckState(res);
210436  if (_v) {
210437  return _wrap_Structure_RemoveItem__SWIG_1(self, args);
210438  }
210439  }
210440  }
210441  }
210442  if (argc == 4) {
210443  int _v;
210444  void *vptr = 0;
210445  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
210446  _v = SWIG_CheckState(res);
210447  if (_v) {
210448  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
210449  _v = SWIG_CheckState(res);
210450  if (_v) {
210451  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
210452  _v = SWIG_CheckState(res);
210453  if (_v) {
210454  {
210455  int res = SWIG_AsVal_bool(argv[3], NULL);
210456  _v = SWIG_CheckState(res);
210457  }
210458  if (_v) {
210459  return _wrap_Structure_RemoveItem__SWIG_0(self, args);
210460  }
210461  }
210462  }
210463  }
210464  }
210465 
210466 fail:
210467  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Structure_RemoveItem'.\n"
210468  " Possible C/C++ prototypes are:\n"
210469  " AnimatSim::Environment::Structure::RemoveItem(std::string const &,std::string const &,bool)\n"
210470  " AnimatSim::Environment::Structure::RemoveItem(std::string const &,std::string const &)\n");
210471  return 0;
210472 }
210473 
210474 
210475 SWIGINTERN PyObject *_wrap_Structure_CalculateSnapshotByteSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210476  PyObject *resultobj = 0;
210478  void *argp1 = 0 ;
210479  int res1 = 0 ;
210480  PyObject * obj0 = 0 ;
210481  long result;
210482 
210483  if (!PyArg_ParseTuple(args,(char *)"O:Structure_CalculateSnapshotByteSize",&obj0)) SWIG_fail;
210484  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
210485  if (!SWIG_IsOK(res1)) {
210486  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_CalculateSnapshotByteSize" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
210487  }
210488  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
210489  {
210490  try {
210491  result = (long)(arg1)->CalculateSnapshotByteSize();
210492  }
210493  catch(CStdErrorInfo oError)
210494  {
210495  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210496  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210497  PyErr_SetString(PyExc_IndexError, strError.c_str());
210498  SWIG_fail;
210499  }
210500  catch(...)
210501  {
210502  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210503  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210504  SWIG_fail;
210505  }
210506  }
210507  resultobj = SWIG_From_long(static_cast< long >(result));
210508  return resultobj;
210509 fail:
210510  return NULL;
210511 }
210512 
210513 
210514 SWIGINTERN PyObject *_wrap_Structure_SaveKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210515  PyObject *resultobj = 0;
210517  byte *arg2 = (byte *) 0 ;
210518  long *arg3 = 0 ;
210519  void *argp1 = 0 ;
210520  int res1 = 0 ;
210521  void *argp2 = 0 ;
210522  int res2 = 0 ;
210523  void *argp3 = 0 ;
210524  int res3 = 0 ;
210525  PyObject * obj0 = 0 ;
210526  PyObject * obj1 = 0 ;
210527  PyObject * obj2 = 0 ;
210528 
210529  if (!PyArg_ParseTuple(args,(char *)"OOO:Structure_SaveKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
210530  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
210531  if (!SWIG_IsOK(res1)) {
210532  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_SaveKeyFrameSnapshot" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
210533  }
210534  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
210535  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
210536  if (!SWIG_IsOK(res2)) {
210537  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_SaveKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
210538  }
210539  arg2 = reinterpret_cast< byte * >(argp2);
210540  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
210541  if (!SWIG_IsOK(res3)) {
210542  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Structure_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
210543  }
210544  if (!argp3) {
210545  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
210546  }
210547  arg3 = reinterpret_cast< long * >(argp3);
210548  {
210549  try {
210550  (arg1)->SaveKeyFrameSnapshot(arg2,*arg3);
210551  }
210552  catch(CStdErrorInfo oError)
210553  {
210554  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210555  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210556  PyErr_SetString(PyExc_IndexError, strError.c_str());
210557  SWIG_fail;
210558  }
210559  catch(...)
210560  {
210561  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210562  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210563  SWIG_fail;
210564  }
210565  }
210566  resultobj = SWIG_Py_Void();
210567  return resultobj;
210568 fail:
210569  return NULL;
210570 }
210571 
210572 
210573 SWIGINTERN PyObject *_wrap_Structure_LoadKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210574  PyObject *resultobj = 0;
210576  byte *arg2 = (byte *) 0 ;
210577  long *arg3 = 0 ;
210578  void *argp1 = 0 ;
210579  int res1 = 0 ;
210580  void *argp2 = 0 ;
210581  int res2 = 0 ;
210582  void *argp3 = 0 ;
210583  int res3 = 0 ;
210584  PyObject * obj0 = 0 ;
210585  PyObject * obj1 = 0 ;
210586  PyObject * obj2 = 0 ;
210587 
210588  if (!PyArg_ParseTuple(args,(char *)"OOO:Structure_LoadKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
210589  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
210590  if (!SWIG_IsOK(res1)) {
210591  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_LoadKeyFrameSnapshot" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
210592  }
210593  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
210594  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
210595  if (!SWIG_IsOK(res2)) {
210596  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_LoadKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
210597  }
210598  arg2 = reinterpret_cast< byte * >(argp2);
210599  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
210600  if (!SWIG_IsOK(res3)) {
210601  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Structure_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
210602  }
210603  if (!argp3) {
210604  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
210605  }
210606  arg3 = reinterpret_cast< long * >(argp3);
210607  {
210608  try {
210609  (arg1)->LoadKeyFrameSnapshot(arg2,*arg3);
210610  }
210611  catch(CStdErrorInfo oError)
210612  {
210613  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210614  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210615  PyErr_SetString(PyExc_IndexError, strError.c_str());
210616  SWIG_fail;
210617  }
210618  catch(...)
210619  {
210620  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210621  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210622  SWIG_fail;
210623  }
210624  }
210625  resultobj = SWIG_Py_Void();
210626  return resultobj;
210627 fail:
210628  return NULL;
210629 }
210630 
210631 
210632 SWIGINTERN PyObject *_wrap_Structure_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210633  PyObject *resultobj = 0;
210635  void *argp1 = 0 ;
210636  int res1 = 0 ;
210637  PyObject * obj0 = 0 ;
210638 
210639  if (!PyArg_ParseTuple(args,(char *)"O:Structure_Initialize",&obj0)) SWIG_fail;
210640  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
210641  if (!SWIG_IsOK(res1)) {
210642  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Initialize" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
210643  }
210644  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
210645  {
210646  try {
210647  (arg1)->Initialize();
210648  }
210649  catch(CStdErrorInfo oError)
210650  {
210651  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210652  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210653  PyErr_SetString(PyExc_IndexError, strError.c_str());
210654  SWIG_fail;
210655  }
210656  catch(...)
210657  {
210658  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210659  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210660  SWIG_fail;
210661  }
210662  }
210663  resultobj = SWIG_Py_Void();
210664  return resultobj;
210665 fail:
210666  return NULL;
210667 }
210668 
210669 
210670 SWIGINTERN PyObject *_wrap_Structure_Kill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210671  PyObject *resultobj = 0;
210673  bool arg2 ;
210674  void *argp1 = 0 ;
210675  int res1 = 0 ;
210676  bool val2 ;
210677  int ecode2 = 0 ;
210678  PyObject * obj0 = 0 ;
210679  PyObject * obj1 = 0 ;
210680 
210681  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_Kill",&obj0,&obj1)) SWIG_fail;
210682  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
210683  if (!SWIG_IsOK(res1)) {
210684  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Kill" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
210685  }
210686  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
210687  ecode2 = SWIG_AsVal_bool(obj1, &val2);
210688  if (!SWIG_IsOK(ecode2)) {
210689  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Structure_Kill" "', argument " "2"" of type '" "bool""'");
210690  }
210691  arg2 = static_cast< bool >(val2);
210692  {
210693  try {
210694  (arg1)->Kill(arg2);
210695  }
210696  catch(CStdErrorInfo oError)
210697  {
210698  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210699  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210700  PyErr_SetString(PyExc_IndexError, strError.c_str());
210701  SWIG_fail;
210702  }
210703  catch(...)
210704  {
210705  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210706  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210707  SWIG_fail;
210708  }
210709  }
210710  resultobj = SWIG_Py_Void();
210711  return resultobj;
210712 fail:
210713  return NULL;
210714 }
210715 
210716 
210717 SWIGINTERN PyObject *_wrap_Structure_Kill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210718  PyObject *resultobj = 0;
210720  void *argp1 = 0 ;
210721  int res1 = 0 ;
210722  PyObject * obj0 = 0 ;
210723 
210724  if (!PyArg_ParseTuple(args,(char *)"O:Structure_Kill",&obj0)) SWIG_fail;
210725  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
210726  if (!SWIG_IsOK(res1)) {
210727  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Kill" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
210728  }
210729  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
210730  {
210731  try {
210732  (arg1)->Kill();
210733  }
210734  catch(CStdErrorInfo oError)
210735  {
210736  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210737  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210738  PyErr_SetString(PyExc_IndexError, strError.c_str());
210739  SWIG_fail;
210740  }
210741  catch(...)
210742  {
210743  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210744  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210745  SWIG_fail;
210746  }
210747  }
210748  resultobj = SWIG_Py_Void();
210749  return resultobj;
210750 fail:
210751  return NULL;
210752 }
210753 
210754 
210755 SWIGINTERN PyObject *_wrap_Structure_Kill(PyObject *self, PyObject *args) {
210756  int argc;
210757  PyObject *argv[3];
210758  int ii;
210759 
210760  if (!PyTuple_Check(args)) SWIG_fail;
210761  argc = args ? (int)PyObject_Length(args) : 0;
210762  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
210763  argv[ii] = PyTuple_GET_ITEM(args,ii);
210764  }
210765  if (argc == 1) {
210766  int _v;
210767  void *vptr = 0;
210768  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
210769  _v = SWIG_CheckState(res);
210770  if (_v) {
210771  return _wrap_Structure_Kill__SWIG_1(self, args);
210772  }
210773  }
210774  if (argc == 2) {
210775  int _v;
210776  void *vptr = 0;
210777  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Structure, 0);
210778  _v = SWIG_CheckState(res);
210779  if (_v) {
210780  {
210781  int res = SWIG_AsVal_bool(argv[1], NULL);
210782  _v = SWIG_CheckState(res);
210783  }
210784  if (_v) {
210785  return _wrap_Structure_Kill__SWIG_0(self, args);
210786  }
210787  }
210788  }
210789 
210790 fail:
210791  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Structure_Kill'.\n"
210792  " Possible C/C++ prototypes are:\n"
210793  " AnimatSim::Environment::Structure::Kill(bool)\n"
210794  " AnimatSim::Environment::Structure::Kill()\n");
210795  return 0;
210796 }
210797 
210798 
210799 SWIGINTERN PyObject *_wrap_Structure_SimStarting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210800  PyObject *resultobj = 0;
210802  void *argp1 = 0 ;
210803  int res1 = 0 ;
210804  PyObject * obj0 = 0 ;
210805 
210806  if (!PyArg_ParseTuple(args,(char *)"O:Structure_SimStarting",&obj0)) SWIG_fail;
210807  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
210808  if (!SWIG_IsOK(res1)) {
210809  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_SimStarting" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
210810  }
210811  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
210812  {
210813  try {
210814  (arg1)->SimStarting();
210815  }
210816  catch(CStdErrorInfo oError)
210817  {
210818  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210819  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210820  PyErr_SetString(PyExc_IndexError, strError.c_str());
210821  SWIG_fail;
210822  }
210823  catch(...)
210824  {
210825  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210826  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210827  SWIG_fail;
210828  }
210829  }
210830  resultobj = SWIG_Py_Void();
210831  return resultobj;
210832 fail:
210833  return NULL;
210834 }
210835 
210836 
210837 SWIGINTERN PyObject *_wrap_Structure_SimPausing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210838  PyObject *resultobj = 0;
210840  void *argp1 = 0 ;
210841  int res1 = 0 ;
210842  PyObject * obj0 = 0 ;
210843 
210844  if (!PyArg_ParseTuple(args,(char *)"O:Structure_SimPausing",&obj0)) SWIG_fail;
210845  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
210846  if (!SWIG_IsOK(res1)) {
210847  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_SimPausing" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
210848  }
210849  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
210850  {
210851  try {
210852  (arg1)->SimPausing();
210853  }
210854  catch(CStdErrorInfo oError)
210855  {
210856  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210857  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210858  PyErr_SetString(PyExc_IndexError, strError.c_str());
210859  SWIG_fail;
210860  }
210861  catch(...)
210862  {
210863  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210864  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210865  SWIG_fail;
210866  }
210867  }
210868  resultobj = SWIG_Py_Void();
210869  return resultobj;
210870 fail:
210871  return NULL;
210872 }
210873 
210874 
210875 SWIGINTERN PyObject *_wrap_Structure_SimStopping(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210876  PyObject *resultobj = 0;
210878  void *argp1 = 0 ;
210879  int res1 = 0 ;
210880  PyObject * obj0 = 0 ;
210881 
210882  if (!PyArg_ParseTuple(args,(char *)"O:Structure_SimStopping",&obj0)) SWIG_fail;
210883  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
210884  if (!SWIG_IsOK(res1)) {
210885  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_SimStopping" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
210886  }
210887  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
210888  {
210889  try {
210890  (arg1)->SimStopping();
210891  }
210892  catch(CStdErrorInfo oError)
210893  {
210894  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210895  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210896  PyErr_SetString(PyExc_IndexError, strError.c_str());
210897  SWIG_fail;
210898  }
210899  catch(...)
210900  {
210901  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210902  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210903  SWIG_fail;
210904  }
210905  }
210906  resultobj = SWIG_Py_Void();
210907  return resultobj;
210908 fail:
210909  return NULL;
210910 }
210911 
210912 
210913 SWIGINTERN PyObject *_wrap_Structure_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210914  PyObject *resultobj = 0;
210916  CStdXml *arg2 = 0 ;
210917  void *argp1 = 0 ;
210918  int res1 = 0 ;
210919  void *argp2 = 0 ;
210920  int res2 = 0 ;
210921  PyObject * obj0 = 0 ;
210922  PyObject * obj1 = 0 ;
210923 
210924  if (!PyArg_ParseTuple(args,(char *)"OO:Structure_Load",&obj0,&obj1)) SWIG_fail;
210925  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
210926  if (!SWIG_IsOK(res1)) {
210927  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Structure_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Structure *""'");
210928  }
210929  arg1 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp1);
210930  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
210931  if (!SWIG_IsOK(res2)) {
210932  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Structure_Load" "', argument " "2"" of type '" "CStdXml &""'");
210933  }
210934  if (!argp2) {
210935  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Structure_Load" "', argument " "2"" of type '" "CStdXml &""'");
210936  }
210937  arg2 = reinterpret_cast< CStdXml * >(argp2);
210938  {
210939  try {
210940  (arg1)->Load(*arg2);
210941  }
210942  catch(CStdErrorInfo oError)
210943  {
210944  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210945  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210946  PyErr_SetString(PyExc_IndexError, strError.c_str());
210947  SWIG_fail;
210948  }
210949  catch(...)
210950  {
210951  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210952  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210953  SWIG_fail;
210954  }
210955  }
210956  resultobj = SWIG_Py_Void();
210957  return resultobj;
210958 fail:
210959  return NULL;
210960 }
210961 
210962 
210963 SWIGINTERN PyObject *Structure_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210964  PyObject *obj;
210965  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
210966  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Structure, SWIG_NewClientData(obj));
210967  return SWIG_Py_Void();
210968 }
210969 
210970 SWIGINTERN PyObject *_wrap_new_NervousSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
210971  PyObject *resultobj = 0;
210972  AnimatSim::Behavior::NervousSystem *result = 0 ;
210973 
210974  if (!PyArg_ParseTuple(args,(char *)":new_NervousSystem")) SWIG_fail;
210975  {
210976  try {
210978  }
210979  catch(CStdErrorInfo oError)
210980  {
210981  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210982  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
210983  PyErr_SetString(PyExc_IndexError, strError.c_str());
210984  SWIG_fail;
210985  }
210986  catch(...)
210987  {
210988  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
210989  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
210990  SWIG_fail;
210991  }
210992  }
210993  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, SWIG_POINTER_NEW | 0 );
210994  return resultobj;
210995 fail:
210996  return NULL;
210997 }
210998 
210999 
211000 SWIGINTERN PyObject *_wrap_delete_NervousSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211001  PyObject *resultobj = 0;
211003  void *argp1 = 0 ;
211004  int res1 = 0 ;
211005  PyObject * obj0 = 0 ;
211006 
211007  if (!PyArg_ParseTuple(args,(char *)"O:delete_NervousSystem",&obj0)) SWIG_fail;
211008  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, SWIG_POINTER_DISOWN | 0 );
211009  if (!SWIG_IsOK(res1)) {
211010  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_NervousSystem" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211011  }
211012  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211013  {
211014  try {
211015  delete arg1;
211016  }
211017  catch(CStdErrorInfo oError)
211018  {
211019  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211020  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211021  PyErr_SetString(PyExc_IndexError, strError.c_str());
211022  SWIG_fail;
211023  }
211024  catch(...)
211025  {
211026  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211027  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211028  SWIG_fail;
211029  }
211030  }
211031  resultobj = SWIG_Py_Void();
211032  return resultobj;
211033 fail:
211034  return NULL;
211035 }
211036 
211037 
211038 SWIGINTERN PyObject *_wrap_NervousSystem_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211039  PyObject *resultobj = 0;
211041  void *argp1 = 0 ;
211042  int res1 = 0 ;
211043  PyObject * obj0 = 0 ;
211044  AnimatSim::Behavior::NervousSystem *result = 0 ;
211045 
211046  if (!PyArg_ParseTuple(args,(char *)"O:NervousSystem_CastToDerived",&obj0)) SWIG_fail;
211047  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
211048  if (!SWIG_IsOK(res1)) {
211049  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
211050  }
211051  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
211052  {
211053  try {
211054  result = (AnimatSim::Behavior::NervousSystem *)AnimatSim::Behavior::NervousSystem::CastToDerived(arg1);
211055  }
211056  catch(CStdErrorInfo oError)
211057  {
211058  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211059  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211060  PyErr_SetString(PyExc_IndexError, strError.c_str());
211061  SWIG_fail;
211062  }
211063  catch(...)
211064  {
211065  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211066  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211067  SWIG_fail;
211068  }
211069  }
211070  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211071  return resultobj;
211072 fail:
211073  return NULL;
211074 }
211075 
211076 
211077 SWIGINTERN PyObject *_wrap_NervousSystem_FindNeuralModule__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211078  PyObject *resultobj = 0;
211080  std::string arg2 ;
211081  bool arg3 ;
211082  void *argp1 = 0 ;
211083  int res1 = 0 ;
211084  bool val3 ;
211085  int ecode3 = 0 ;
211086  PyObject * obj0 = 0 ;
211087  PyObject * obj1 = 0 ;
211088  PyObject * obj2 = 0 ;
211089  NeuralModule *result = 0 ;
211090 
211091  if (!PyArg_ParseTuple(args,(char *)"OOO:NervousSystem_FindNeuralModule",&obj0,&obj1,&obj2)) SWIG_fail;
211092  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211093  if (!SWIG_IsOK(res1)) {
211094  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_FindNeuralModule" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211095  }
211096  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211097  {
211098  std::string *ptr = (std::string *)0;
211099  int res = SWIG_AsPtr_std_string(obj1, &ptr);
211100  if (!SWIG_IsOK(res) || !ptr) {
211101  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "NervousSystem_FindNeuralModule" "', argument " "2"" of type '" "std::string""'");
211102  }
211103  arg2 = *ptr;
211104  if (SWIG_IsNewObj(res)) delete ptr;
211105  }
211106  ecode3 = SWIG_AsVal_bool(obj2, &val3);
211107  if (!SWIG_IsOK(ecode3)) {
211108  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "NervousSystem_FindNeuralModule" "', argument " "3"" of type '" "bool""'");
211109  }
211110  arg3 = static_cast< bool >(val3);
211111  {
211112  try {
211113  result = (NeuralModule *)(arg1)->FindNeuralModule(arg2,arg3);
211114  }
211115  catch(CStdErrorInfo oError)
211116  {
211117  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211118  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211119  PyErr_SetString(PyExc_IndexError, strError.c_str());
211120  SWIG_fail;
211121  }
211122  catch(...)
211123  {
211124  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211125  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211126  SWIG_fail;
211127  }
211128  }
211129  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_NeuralModule, 0 | 0 );
211130  return resultobj;
211131 fail:
211132  return NULL;
211133 }
211134 
211135 
211136 SWIGINTERN PyObject *_wrap_NervousSystem_FindNeuralModule__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211137  PyObject *resultobj = 0;
211139  std::string arg2 ;
211140  void *argp1 = 0 ;
211141  int res1 = 0 ;
211142  PyObject * obj0 = 0 ;
211143  PyObject * obj1 = 0 ;
211144  NeuralModule *result = 0 ;
211145 
211146  if (!PyArg_ParseTuple(args,(char *)"OO:NervousSystem_FindNeuralModule",&obj0,&obj1)) SWIG_fail;
211147  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211148  if (!SWIG_IsOK(res1)) {
211149  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_FindNeuralModule" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211150  }
211151  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211152  {
211153  std::string *ptr = (std::string *)0;
211154  int res = SWIG_AsPtr_std_string(obj1, &ptr);
211155  if (!SWIG_IsOK(res) || !ptr) {
211156  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "NervousSystem_FindNeuralModule" "', argument " "2"" of type '" "std::string""'");
211157  }
211158  arg2 = *ptr;
211159  if (SWIG_IsNewObj(res)) delete ptr;
211160  }
211161  {
211162  try {
211163  result = (NeuralModule *)(arg1)->FindNeuralModule(arg2);
211164  }
211165  catch(CStdErrorInfo oError)
211166  {
211167  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211168  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211169  PyErr_SetString(PyExc_IndexError, strError.c_str());
211170  SWIG_fail;
211171  }
211172  catch(...)
211173  {
211174  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211175  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211176  SWIG_fail;
211177  }
211178  }
211179  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_NeuralModule, 0 | 0 );
211180  return resultobj;
211181 fail:
211182  return NULL;
211183 }
211184 
211185 
211186 SWIGINTERN PyObject *_wrap_NervousSystem_FindNeuralModule(PyObject *self, PyObject *args) {
211187  int argc;
211188  PyObject *argv[4];
211189  int ii;
211190 
211191  if (!PyTuple_Check(args)) SWIG_fail;
211192  argc = args ? (int)PyObject_Length(args) : 0;
211193  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
211194  argv[ii] = PyTuple_GET_ITEM(args,ii);
211195  }
211196  if (argc == 2) {
211197  int _v;
211198  void *vptr = 0;
211199  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0);
211200  _v = SWIG_CheckState(res);
211201  if (_v) {
211202  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
211203  _v = SWIG_CheckState(res);
211204  if (_v) {
211205  return _wrap_NervousSystem_FindNeuralModule__SWIG_1(self, args);
211206  }
211207  }
211208  }
211209  if (argc == 3) {
211210  int _v;
211211  void *vptr = 0;
211212  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0);
211213  _v = SWIG_CheckState(res);
211214  if (_v) {
211215  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
211216  _v = SWIG_CheckState(res);
211217  if (_v) {
211218  {
211219  int res = SWIG_AsVal_bool(argv[2], NULL);
211220  _v = SWIG_CheckState(res);
211221  }
211222  if (_v) {
211223  return _wrap_NervousSystem_FindNeuralModule__SWIG_0(self, args);
211224  }
211225  }
211226  }
211227  }
211228 
211229 fail:
211230  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'NervousSystem_FindNeuralModule'.\n"
211231  " Possible C/C++ prototypes are:\n"
211232  " AnimatSim::Behavior::NervousSystem::FindNeuralModule(std::string,bool)\n"
211233  " AnimatSim::Behavior::NervousSystem::FindNeuralModule(std::string)\n");
211234  return 0;
211235 }
211236 
211237 
211238 SWIGINTERN PyObject *_wrap_NervousSystem_AddNeuralModule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211239  PyObject *resultobj = 0;
211241  std::string arg2 ;
211242  void *argp1 = 0 ;
211243  int res1 = 0 ;
211244  PyObject * obj0 = 0 ;
211245  PyObject * obj1 = 0 ;
211246 
211247  if (!PyArg_ParseTuple(args,(char *)"OO:NervousSystem_AddNeuralModule",&obj0,&obj1)) SWIG_fail;
211248  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211249  if (!SWIG_IsOK(res1)) {
211250  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_AddNeuralModule" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211251  }
211252  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211253  {
211254  std::string *ptr = (std::string *)0;
211255  int res = SWIG_AsPtr_std_string(obj1, &ptr);
211256  if (!SWIG_IsOK(res) || !ptr) {
211257  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "NervousSystem_AddNeuralModule" "', argument " "2"" of type '" "std::string""'");
211258  }
211259  arg2 = *ptr;
211260  if (SWIG_IsNewObj(res)) delete ptr;
211261  }
211262  {
211263  try {
211264  (arg1)->AddNeuralModule(arg2);
211265  }
211266  catch(CStdErrorInfo oError)
211267  {
211268  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211269  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211270  PyErr_SetString(PyExc_IndexError, strError.c_str());
211271  SWIG_fail;
211272  }
211273  catch(...)
211274  {
211275  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211276  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211277  SWIG_fail;
211278  }
211279  }
211280  resultobj = SWIG_Py_Void();
211281  return resultobj;
211282 fail:
211283  return NULL;
211284 }
211285 
211286 
211287 SWIGINTERN PyObject *_wrap_NervousSystem_RemoveNeuralModule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211288  PyObject *resultobj = 0;
211290  std::string arg2 ;
211291  void *argp1 = 0 ;
211292  int res1 = 0 ;
211293  PyObject * obj0 = 0 ;
211294  PyObject * obj1 = 0 ;
211295 
211296  if (!PyArg_ParseTuple(args,(char *)"OO:NervousSystem_RemoveNeuralModule",&obj0,&obj1)) SWIG_fail;
211297  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211298  if (!SWIG_IsOK(res1)) {
211299  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_RemoveNeuralModule" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211300  }
211301  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211302  {
211303  std::string *ptr = (std::string *)0;
211304  int res = SWIG_AsPtr_std_string(obj1, &ptr);
211305  if (!SWIG_IsOK(res) || !ptr) {
211306  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "NervousSystem_RemoveNeuralModule" "', argument " "2"" of type '" "std::string""'");
211307  }
211308  arg2 = *ptr;
211309  if (SWIG_IsNewObj(res)) delete ptr;
211310  }
211311  {
211312  try {
211313  (arg1)->RemoveNeuralModule(arg2);
211314  }
211315  catch(CStdErrorInfo oError)
211316  {
211317  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211318  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211319  PyErr_SetString(PyExc_IndexError, strError.c_str());
211320  SWIG_fail;
211321  }
211322  catch(...)
211323  {
211324  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211325  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211326  SWIG_fail;
211327  }
211328  }
211329  resultobj = SWIG_Py_Void();
211330  return resultobj;
211331 fail:
211332  return NULL;
211333 }
211334 
211335 
211336 SWIGINTERN PyObject *_wrap_NervousSystem_Kill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211337  PyObject *resultobj = 0;
211339  bool arg2 ;
211340  void *argp1 = 0 ;
211341  int res1 = 0 ;
211342  bool val2 ;
211343  int ecode2 = 0 ;
211344  PyObject * obj0 = 0 ;
211345  PyObject * obj1 = 0 ;
211346 
211347  if (!PyArg_ParseTuple(args,(char *)"OO:NervousSystem_Kill",&obj0,&obj1)) SWIG_fail;
211348  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211349  if (!SWIG_IsOK(res1)) {
211350  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_Kill" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211351  }
211352  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211353  ecode2 = SWIG_AsVal_bool(obj1, &val2);
211354  if (!SWIG_IsOK(ecode2)) {
211355  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "NervousSystem_Kill" "', argument " "2"" of type '" "bool""'");
211356  }
211357  arg2 = static_cast< bool >(val2);
211358  {
211359  try {
211360  (arg1)->Kill(arg2);
211361  }
211362  catch(CStdErrorInfo oError)
211363  {
211364  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211365  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211366  PyErr_SetString(PyExc_IndexError, strError.c_str());
211367  SWIG_fail;
211368  }
211369  catch(...)
211370  {
211371  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211372  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211373  SWIG_fail;
211374  }
211375  }
211376  resultobj = SWIG_Py_Void();
211377  return resultobj;
211378 fail:
211379  return NULL;
211380 }
211381 
211382 
211383 SWIGINTERN PyObject *_wrap_NervousSystem_Kill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211384  PyObject *resultobj = 0;
211386  void *argp1 = 0 ;
211387  int res1 = 0 ;
211388  PyObject * obj0 = 0 ;
211389 
211390  if (!PyArg_ParseTuple(args,(char *)"O:NervousSystem_Kill",&obj0)) SWIG_fail;
211391  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211392  if (!SWIG_IsOK(res1)) {
211393  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_Kill" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211394  }
211395  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211396  {
211397  try {
211398  (arg1)->Kill();
211399  }
211400  catch(CStdErrorInfo oError)
211401  {
211402  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211403  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211404  PyErr_SetString(PyExc_IndexError, strError.c_str());
211405  SWIG_fail;
211406  }
211407  catch(...)
211408  {
211409  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211410  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211411  SWIG_fail;
211412  }
211413  }
211414  resultobj = SWIG_Py_Void();
211415  return resultobj;
211416 fail:
211417  return NULL;
211418 }
211419 
211420 
211421 SWIGINTERN PyObject *_wrap_NervousSystem_Kill(PyObject *self, PyObject *args) {
211422  int argc;
211423  PyObject *argv[3];
211424  int ii;
211425 
211426  if (!PyTuple_Check(args)) SWIG_fail;
211427  argc = args ? (int)PyObject_Length(args) : 0;
211428  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
211429  argv[ii] = PyTuple_GET_ITEM(args,ii);
211430  }
211431  if (argc == 1) {
211432  int _v;
211433  void *vptr = 0;
211434  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0);
211435  _v = SWIG_CheckState(res);
211436  if (_v) {
211437  return _wrap_NervousSystem_Kill__SWIG_1(self, args);
211438  }
211439  }
211440  if (argc == 2) {
211441  int _v;
211442  void *vptr = 0;
211443  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0);
211444  _v = SWIG_CheckState(res);
211445  if (_v) {
211446  {
211447  int res = SWIG_AsVal_bool(argv[1], NULL);
211448  _v = SWIG_CheckState(res);
211449  }
211450  if (_v) {
211451  return _wrap_NervousSystem_Kill__SWIG_0(self, args);
211452  }
211453  }
211454  }
211455 
211456 fail:
211457  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'NervousSystem_Kill'.\n"
211458  " Possible C/C++ prototypes are:\n"
211459  " AnimatSim::Behavior::NervousSystem::Kill(bool)\n"
211460  " AnimatSim::Behavior::NervousSystem::Kill()\n");
211461  return 0;
211462 }
211463 
211464 
211465 SWIGINTERN PyObject *_wrap_NervousSystem_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211466  PyObject *resultobj = 0;
211468  void *argp1 = 0 ;
211469  int res1 = 0 ;
211470  PyObject * obj0 = 0 ;
211471 
211472  if (!PyArg_ParseTuple(args,(char *)"O:NervousSystem_ResetSimulation",&obj0)) SWIG_fail;
211473  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211474  if (!SWIG_IsOK(res1)) {
211475  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211476  }
211477  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211478  {
211479  try {
211480  (arg1)->ResetSimulation();
211481  }
211482  catch(CStdErrorInfo oError)
211483  {
211484  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211485  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211486  PyErr_SetString(PyExc_IndexError, strError.c_str());
211487  SWIG_fail;
211488  }
211489  catch(...)
211490  {
211491  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211492  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211493  SWIG_fail;
211494  }
211495  }
211496  resultobj = SWIG_Py_Void();
211497  return resultobj;
211498 fail:
211499  return NULL;
211500 }
211501 
211502 
211503 SWIGINTERN PyObject *_wrap_NervousSystem_MinTimeStep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211504  PyObject *resultobj = 0;
211506  float *arg2 = 0 ;
211507  void *argp1 = 0 ;
211508  int res1 = 0 ;
211509  void *argp2 = 0 ;
211510  int res2 = 0 ;
211511  PyObject * obj0 = 0 ;
211512  PyObject * obj1 = 0 ;
211513 
211514  if (!PyArg_ParseTuple(args,(char *)"OO:NervousSystem_MinTimeStep",&obj0,&obj1)) SWIG_fail;
211515  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211516  if (!SWIG_IsOK(res1)) {
211517  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_MinTimeStep" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211518  }
211519  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211520  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 );
211521  if (!SWIG_IsOK(res2)) {
211522  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NervousSystem_MinTimeStep" "', argument " "2"" of type '" "float &""'");
211523  }
211524  if (!argp2) {
211525  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NervousSystem_MinTimeStep" "', argument " "2"" of type '" "float &""'");
211526  }
211527  arg2 = reinterpret_cast< float * >(argp2);
211528  {
211529  try {
211530  (arg1)->MinTimeStep(*arg2);
211531  }
211532  catch(CStdErrorInfo oError)
211533  {
211534  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211535  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211536  PyErr_SetString(PyExc_IndexError, strError.c_str());
211537  SWIG_fail;
211538  }
211539  catch(...)
211540  {
211541  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211542  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211543  SWIG_fail;
211544  }
211545  }
211546  resultobj = SWIG_Py_Void();
211547  return resultobj;
211548 fail:
211549  return NULL;
211550 }
211551 
211552 
211553 SWIGINTERN PyObject *_wrap_NervousSystem_SetSystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211554  PyObject *resultobj = 0;
211556  Simulator *arg2 = (Simulator *) 0 ;
211557  Structure *arg3 = (Structure *) 0 ;
211558  NeuralModule *arg4 = (NeuralModule *) 0 ;
211559  AnimatSim::Node *arg5 = (AnimatSim::Node *) 0 ;
211560  bool arg6 ;
211561  void *argp1 = 0 ;
211562  int res1 = 0 ;
211563  void *argp2 = 0 ;
211564  int res2 = 0 ;
211565  void *argp3 = 0 ;
211566  int res3 = 0 ;
211567  void *argp4 = 0 ;
211568  int res4 = 0 ;
211569  void *argp5 = 0 ;
211570  int res5 = 0 ;
211571  bool val6 ;
211572  int ecode6 = 0 ;
211573  PyObject * obj0 = 0 ;
211574  PyObject * obj1 = 0 ;
211575  PyObject * obj2 = 0 ;
211576  PyObject * obj3 = 0 ;
211577  PyObject * obj4 = 0 ;
211578  PyObject * obj5 = 0 ;
211579 
211580  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:NervousSystem_SetSystemPointers",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
211581  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211582  if (!SWIG_IsOK(res1)) {
211583  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_SetSystemPointers" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211584  }
211585  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211586  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Simulator, 0 | 0 );
211587  if (!SWIG_IsOK(res2)) {
211588  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NervousSystem_SetSystemPointers" "', argument " "2"" of type '" "Simulator *""'");
211589  }
211590  arg2 = reinterpret_cast< Simulator * >(argp2);
211591  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Structure, 0 | 0 );
211592  if (!SWIG_IsOK(res3)) {
211593  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NervousSystem_SetSystemPointers" "', argument " "3"" of type '" "Structure *""'");
211594  }
211595  arg3 = reinterpret_cast< Structure * >(argp3);
211596  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_NeuralModule, 0 | 0 );
211597  if (!SWIG_IsOK(res4)) {
211598  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "NervousSystem_SetSystemPointers" "', argument " "4"" of type '" "NeuralModule *""'");
211599  }
211600  arg4 = reinterpret_cast< NeuralModule * >(argp4);
211601  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
211602  if (!SWIG_IsOK(res5)) {
211603  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "NervousSystem_SetSystemPointers" "', argument " "5"" of type '" "AnimatSim::Node *""'");
211604  }
211605  arg5 = reinterpret_cast< AnimatSim::Node * >(argp5);
211606  ecode6 = SWIG_AsVal_bool(obj5, &val6);
211607  if (!SWIG_IsOK(ecode6)) {
211608  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "NervousSystem_SetSystemPointers" "', argument " "6"" of type '" "bool""'");
211609  }
211610  arg6 = static_cast< bool >(val6);
211611  {
211612  try {
211613  (arg1)->SetSystemPointers(arg2,arg3,arg4,arg5,arg6);
211614  }
211615  catch(CStdErrorInfo oError)
211616  {
211617  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211618  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211619  PyErr_SetString(PyExc_IndexError, strError.c_str());
211620  SWIG_fail;
211621  }
211622  catch(...)
211623  {
211624  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211625  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211626  SWIG_fail;
211627  }
211628  }
211629  resultobj = SWIG_Py_Void();
211630  return resultobj;
211631 fail:
211632  return NULL;
211633 }
211634 
211635 
211636 SWIGINTERN PyObject *_wrap_NervousSystem_VerifySystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211637  PyObject *resultobj = 0;
211639  void *argp1 = 0 ;
211640  int res1 = 0 ;
211641  PyObject * obj0 = 0 ;
211642 
211643  if (!PyArg_ParseTuple(args,(char *)"O:NervousSystem_VerifySystemPointers",&obj0)) SWIG_fail;
211644  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211645  if (!SWIG_IsOK(res1)) {
211646  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_VerifySystemPointers" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211647  }
211648  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211649  {
211650  try {
211651  (arg1)->VerifySystemPointers();
211652  }
211653  catch(CStdErrorInfo oError)
211654  {
211655  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211656  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211657  PyErr_SetString(PyExc_IndexError, strError.c_str());
211658  SWIG_fail;
211659  }
211660  catch(...)
211661  {
211662  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211663  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211664  SWIG_fail;
211665  }
211666  }
211667  resultobj = SWIG_Py_Void();
211668  return resultobj;
211669 fail:
211670  return NULL;
211671 }
211672 
211673 
211674 SWIGINTERN PyObject *_wrap_NervousSystem_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211675  PyObject *resultobj = 0;
211677  void *argp1 = 0 ;
211678  int res1 = 0 ;
211679  PyObject * obj0 = 0 ;
211680 
211681  if (!PyArg_ParseTuple(args,(char *)"O:NervousSystem_Initialize",&obj0)) SWIG_fail;
211682  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211683  if (!SWIG_IsOK(res1)) {
211684  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_Initialize" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211685  }
211686  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211687  {
211688  try {
211689  (arg1)->Initialize();
211690  }
211691  catch(CStdErrorInfo oError)
211692  {
211693  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211694  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211695  PyErr_SetString(PyExc_IndexError, strError.c_str());
211696  SWIG_fail;
211697  }
211698  catch(...)
211699  {
211700  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211701  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211702  SWIG_fail;
211703  }
211704  }
211705  resultobj = SWIG_Py_Void();
211706  return resultobj;
211707 fail:
211708  return NULL;
211709 }
211710 
211711 
211712 SWIGINTERN PyObject *_wrap_NervousSystem_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211713  PyObject *resultobj = 0;
211715  void *argp1 = 0 ;
211716  int res1 = 0 ;
211717  PyObject * obj0 = 0 ;
211718 
211719  if (!PyArg_ParseTuple(args,(char *)"O:NervousSystem_StepSimulation",&obj0)) SWIG_fail;
211720  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211721  if (!SWIG_IsOK(res1)) {
211722  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211723  }
211724  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211725  {
211726  try {
211727  (arg1)->StepSimulation();
211728  }
211729  catch(CStdErrorInfo oError)
211730  {
211731  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211732  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211733  PyErr_SetString(PyExc_IndexError, strError.c_str());
211734  SWIG_fail;
211735  }
211736  catch(...)
211737  {
211738  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211739  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211740  SWIG_fail;
211741  }
211742  }
211743  resultobj = SWIG_Py_Void();
211744  return resultobj;
211745 fail:
211746  return NULL;
211747 }
211748 
211749 
211750 SWIGINTERN PyObject *_wrap_NervousSystem_CalculateSnapshotByteSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211751  PyObject *resultobj = 0;
211753  void *argp1 = 0 ;
211754  int res1 = 0 ;
211755  PyObject * obj0 = 0 ;
211756  long result;
211757 
211758  if (!PyArg_ParseTuple(args,(char *)"O:NervousSystem_CalculateSnapshotByteSize",&obj0)) SWIG_fail;
211759  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211760  if (!SWIG_IsOK(res1)) {
211761  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_CalculateSnapshotByteSize" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211762  }
211763  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211764  {
211765  try {
211766  result = (long)(arg1)->CalculateSnapshotByteSize();
211767  }
211768  catch(CStdErrorInfo oError)
211769  {
211770  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211771  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211772  PyErr_SetString(PyExc_IndexError, strError.c_str());
211773  SWIG_fail;
211774  }
211775  catch(...)
211776  {
211777  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211778  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211779  SWIG_fail;
211780  }
211781  }
211782  resultobj = SWIG_From_long(static_cast< long >(result));
211783  return resultobj;
211784 fail:
211785  return NULL;
211786 }
211787 
211788 
211789 SWIGINTERN PyObject *_wrap_NervousSystem_SaveKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211790  PyObject *resultobj = 0;
211792  byte *arg2 = (byte *) 0 ;
211793  long *arg3 = 0 ;
211794  void *argp1 = 0 ;
211795  int res1 = 0 ;
211796  void *argp2 = 0 ;
211797  int res2 = 0 ;
211798  void *argp3 = 0 ;
211799  int res3 = 0 ;
211800  PyObject * obj0 = 0 ;
211801  PyObject * obj1 = 0 ;
211802  PyObject * obj2 = 0 ;
211803 
211804  if (!PyArg_ParseTuple(args,(char *)"OOO:NervousSystem_SaveKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
211805  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211806  if (!SWIG_IsOK(res1)) {
211807  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_SaveKeyFrameSnapshot" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211808  }
211809  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211810  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
211811  if (!SWIG_IsOK(res2)) {
211812  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NervousSystem_SaveKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
211813  }
211814  arg2 = reinterpret_cast< byte * >(argp2);
211815  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
211816  if (!SWIG_IsOK(res3)) {
211817  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NervousSystem_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
211818  }
211819  if (!argp3) {
211820  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NervousSystem_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
211821  }
211822  arg3 = reinterpret_cast< long * >(argp3);
211823  {
211824  try {
211825  (arg1)->SaveKeyFrameSnapshot(arg2,*arg3);
211826  }
211827  catch(CStdErrorInfo oError)
211828  {
211829  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211830  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211831  PyErr_SetString(PyExc_IndexError, strError.c_str());
211832  SWIG_fail;
211833  }
211834  catch(...)
211835  {
211836  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211837  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211838  SWIG_fail;
211839  }
211840  }
211841  resultobj = SWIG_Py_Void();
211842  return resultobj;
211843 fail:
211844  return NULL;
211845 }
211846 
211847 
211848 SWIGINTERN PyObject *_wrap_NervousSystem_LoadKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211849  PyObject *resultobj = 0;
211851  byte *arg2 = (byte *) 0 ;
211852  long *arg3 = 0 ;
211853  void *argp1 = 0 ;
211854  int res1 = 0 ;
211855  void *argp2 = 0 ;
211856  int res2 = 0 ;
211857  void *argp3 = 0 ;
211858  int res3 = 0 ;
211859  PyObject * obj0 = 0 ;
211860  PyObject * obj1 = 0 ;
211861  PyObject * obj2 = 0 ;
211862 
211863  if (!PyArg_ParseTuple(args,(char *)"OOO:NervousSystem_LoadKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
211864  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211865  if (!SWIG_IsOK(res1)) {
211866  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_LoadKeyFrameSnapshot" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211867  }
211868  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211869  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
211870  if (!SWIG_IsOK(res2)) {
211871  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NervousSystem_LoadKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
211872  }
211873  arg2 = reinterpret_cast< byte * >(argp2);
211874  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
211875  if (!SWIG_IsOK(res3)) {
211876  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NervousSystem_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
211877  }
211878  if (!argp3) {
211879  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NervousSystem_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
211880  }
211881  arg3 = reinterpret_cast< long * >(argp3);
211882  {
211883  try {
211884  (arg1)->LoadKeyFrameSnapshot(arg2,*arg3);
211885  }
211886  catch(CStdErrorInfo oError)
211887  {
211888  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211889  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211890  PyErr_SetString(PyExc_IndexError, strError.c_str());
211891  SWIG_fail;
211892  }
211893  catch(...)
211894  {
211895  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211896  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211897  SWIG_fail;
211898  }
211899  }
211900  resultobj = SWIG_Py_Void();
211901  return resultobj;
211902 fail:
211903  return NULL;
211904 }
211905 
211906 
211907 SWIGINTERN PyObject *_wrap_NervousSystem_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211908  PyObject *resultobj = 0;
211910  CStdXml *arg2 = 0 ;
211911  void *argp1 = 0 ;
211912  int res1 = 0 ;
211913  void *argp2 = 0 ;
211914  int res2 = 0 ;
211915  PyObject * obj0 = 0 ;
211916  PyObject * obj1 = 0 ;
211917 
211918  if (!PyArg_ParseTuple(args,(char *)"OO:NervousSystem_Load",&obj0,&obj1)) SWIG_fail;
211919  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
211920  if (!SWIG_IsOK(res1)) {
211921  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NervousSystem_Load" "', argument " "1"" of type '" "AnimatSim::Behavior::NervousSystem *""'");
211922  }
211923  arg1 = reinterpret_cast< AnimatSim::Behavior::NervousSystem * >(argp1);
211924  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
211925  if (!SWIG_IsOK(res2)) {
211926  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NervousSystem_Load" "', argument " "2"" of type '" "CStdXml &""'");
211927  }
211928  if (!argp2) {
211929  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NervousSystem_Load" "', argument " "2"" of type '" "CStdXml &""'");
211930  }
211931  arg2 = reinterpret_cast< CStdXml * >(argp2);
211932  {
211933  try {
211934  (arg1)->Load(*arg2);
211935  }
211936  catch(CStdErrorInfo oError)
211937  {
211938  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211939  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211940  PyErr_SetString(PyExc_IndexError, strError.c_str());
211941  SWIG_fail;
211942  }
211943  catch(...)
211944  {
211945  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211946  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211947  SWIG_fail;
211948  }
211949  }
211950  resultobj = SWIG_Py_Void();
211951  return resultobj;
211952 fail:
211953  return NULL;
211954 }
211955 
211956 
211957 SWIGINTERN PyObject *NervousSystem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211958  PyObject *obj;
211959  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
211960  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, SWIG_NewClientData(obj));
211961  return SWIG_Py_Void();
211962 }
211963 
211964 SWIGINTERN PyObject *_wrap_delete_NeuralModule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
211965  PyObject *resultobj = 0;
211967  void *argp1 = 0 ;
211968  int res1 = 0 ;
211969  PyObject * obj0 = 0 ;
211970 
211971  if (!PyArg_ParseTuple(args,(char *)"O:delete_NeuralModule",&obj0)) SWIG_fail;
211972  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, SWIG_POINTER_DISOWN | 0 );
211973  if (!SWIG_IsOK(res1)) {
211974  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_NeuralModule" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
211975  }
211976  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
211977  {
211978  try {
211979  delete arg1;
211980  }
211981  catch(CStdErrorInfo oError)
211982  {
211983  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211984  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
211985  PyErr_SetString(PyExc_IndexError, strError.c_str());
211986  SWIG_fail;
211987  }
211988  catch(...)
211989  {
211990  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
211991  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
211992  SWIG_fail;
211993  }
211994  }
211995  resultobj = SWIG_Py_Void();
211996  return resultobj;
211997 fail:
211998  return NULL;
211999 }
212000 
212001 
212002 SWIGINTERN PyObject *_wrap_NeuralModule_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212003  PyObject *resultobj = 0;
212005  void *argp1 = 0 ;
212006  int res1 = 0 ;
212007  PyObject * obj0 = 0 ;
212008  AnimatSim::Behavior::NeuralModule *result = 0 ;
212009 
212010  if (!PyArg_ParseTuple(args,(char *)"O:NeuralModule_CastToDerived",&obj0)) SWIG_fail;
212011  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
212012  if (!SWIG_IsOK(res1)) {
212013  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
212014  }
212015  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
212016  {
212017  try {
212018  result = (AnimatSim::Behavior::NeuralModule *)AnimatSim::Behavior::NeuralModule::CastToDerived(arg1);
212019  }
212020  catch(CStdErrorInfo oError)
212021  {
212022  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212023  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212024  PyErr_SetString(PyExc_IndexError, strError.c_str());
212025  SWIG_fail;
212026  }
212027  catch(...)
212028  {
212029  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212030  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212031  SWIG_fail;
212032  }
212033  }
212034  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212035  return resultobj;
212036 fail:
212037  return NULL;
212038 }
212039 
212040 
212041 SWIGINTERN PyObject *_wrap_NeuralModule_ModuleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212042  PyObject *resultobj = 0;
212044  void *argp1 = 0 ;
212045  int res1 = 0 ;
212046  PyObject * obj0 = 0 ;
212047  std::string result;
212048 
212049  if (!PyArg_ParseTuple(args,(char *)"O:NeuralModule_ModuleName",&obj0)) SWIG_fail;
212050  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212051  if (!SWIG_IsOK(res1)) {
212052  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_ModuleName" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212053  }
212054  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212055  {
212056  try {
212057  result = (arg1)->ModuleName();
212058  }
212059  catch(CStdErrorInfo oError)
212060  {
212061  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212062  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212063  PyErr_SetString(PyExc_IndexError, strError.c_str());
212064  SWIG_fail;
212065  }
212066  catch(...)
212067  {
212068  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212069  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212070  SWIG_fail;
212071  }
212072  }
212073  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
212074  return resultobj;
212075 fail:
212076  return NULL;
212077 }
212078 
212079 
212080 SWIGINTERN PyObject *_wrap_NeuralModule_TimeStepInterval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212081  PyObject *resultobj = 0;
212083  void *argp1 = 0 ;
212084  int res1 = 0 ;
212085  PyObject * obj0 = 0 ;
212086  short result;
212087 
212088  if (!PyArg_ParseTuple(args,(char *)"O:NeuralModule_TimeStepInterval",&obj0)) SWIG_fail;
212089  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212090  if (!SWIG_IsOK(res1)) {
212091  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_TimeStepInterval" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212092  }
212093  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212094  {
212095  try {
212096  result = (short)(arg1)->TimeStepInterval();
212097  }
212098  catch(CStdErrorInfo oError)
212099  {
212100  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212101  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212102  PyErr_SetString(PyExc_IndexError, strError.c_str());
212103  SWIG_fail;
212104  }
212105  catch(...)
212106  {
212107  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212108  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212109  SWIG_fail;
212110  }
212111  }
212112  resultobj = SWIG_From_short(static_cast< short >(result));
212113  return resultobj;
212114 fail:
212115  return NULL;
212116 }
212117 
212118 
212119 SWIGINTERN PyObject *_wrap_NeuralModule_TimeStepInterval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212120  PyObject *resultobj = 0;
212122  short arg2 ;
212123  void *argp1 = 0 ;
212124  int res1 = 0 ;
212125  short val2 ;
212126  int ecode2 = 0 ;
212127  PyObject * obj0 = 0 ;
212128  PyObject * obj1 = 0 ;
212129 
212130  if (!PyArg_ParseTuple(args,(char *)"OO:NeuralModule_TimeStepInterval",&obj0,&obj1)) SWIG_fail;
212131  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212132  if (!SWIG_IsOK(res1)) {
212133  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_TimeStepInterval" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212134  }
212135  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212136  ecode2 = SWIG_AsVal_short(obj1, &val2);
212137  if (!SWIG_IsOK(ecode2)) {
212138  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "NeuralModule_TimeStepInterval" "', argument " "2"" of type '" "short""'");
212139  }
212140  arg2 = static_cast< short >(val2);
212141  {
212142  try {
212143  (arg1)->TimeStepInterval(arg2);
212144  }
212145  catch(CStdErrorInfo oError)
212146  {
212147  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212148  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212149  PyErr_SetString(PyExc_IndexError, strError.c_str());
212150  SWIG_fail;
212151  }
212152  catch(...)
212153  {
212154  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212155  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212156  SWIG_fail;
212157  }
212158  }
212159  resultobj = SWIG_Py_Void();
212160  return resultobj;
212161 fail:
212162  return NULL;
212163 }
212164 
212165 
212166 SWIGINTERN PyObject *_wrap_NeuralModule_TimeStepInterval(PyObject *self, PyObject *args) {
212167  int argc;
212168  PyObject *argv[3];
212169  int ii;
212170 
212171  if (!PyTuple_Check(args)) SWIG_fail;
212172  argc = args ? (int)PyObject_Length(args) : 0;
212173  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
212174  argv[ii] = PyTuple_GET_ITEM(args,ii);
212175  }
212176  if (argc == 1) {
212177  int _v;
212178  void *vptr = 0;
212179  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0);
212180  _v = SWIG_CheckState(res);
212181  if (_v) {
212182  return _wrap_NeuralModule_TimeStepInterval__SWIG_0(self, args);
212183  }
212184  }
212185  if (argc == 2) {
212186  int _v;
212187  void *vptr = 0;
212188  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0);
212189  _v = SWIG_CheckState(res);
212190  if (_v) {
212191  {
212192  int res = SWIG_AsVal_short(argv[1], NULL);
212193  _v = SWIG_CheckState(res);
212194  }
212195  if (_v) {
212196  return _wrap_NeuralModule_TimeStepInterval__SWIG_1(self, args);
212197  }
212198  }
212199  }
212200 
212201 fail:
212202  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'NeuralModule_TimeStepInterval'.\n"
212203  " Possible C/C++ prototypes are:\n"
212204  " AnimatSim::Behavior::NeuralModule::TimeStepInterval()\n"
212205  " AnimatSim::Behavior::NeuralModule::TimeStepInterval(short)\n");
212206  return 0;
212207 }
212208 
212209 
212210 SWIGINTERN PyObject *_wrap_NeuralModule_TimeStep__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212211  PyObject *resultobj = 0;
212213  void *argp1 = 0 ;
212214  int res1 = 0 ;
212215  PyObject * obj0 = 0 ;
212216  float result;
212217 
212218  if (!PyArg_ParseTuple(args,(char *)"O:NeuralModule_TimeStep",&obj0)) SWIG_fail;
212219  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212220  if (!SWIG_IsOK(res1)) {
212221  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_TimeStep" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212222  }
212223  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212224  {
212225  try {
212226  result = (float)(arg1)->TimeStep();
212227  }
212228  catch(CStdErrorInfo oError)
212229  {
212230  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212231  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212232  PyErr_SetString(PyExc_IndexError, strError.c_str());
212233  SWIG_fail;
212234  }
212235  catch(...)
212236  {
212237  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212238  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212239  SWIG_fail;
212240  }
212241  }
212242  resultobj = SWIG_From_float(static_cast< float >(result));
212243  return resultobj;
212244 fail:
212245  return NULL;
212246 }
212247 
212248 
212249 SWIGINTERN PyObject *_wrap_NeuralModule_TimeStep__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212250  PyObject *resultobj = 0;
212252  float arg2 ;
212253  void *argp1 = 0 ;
212254  int res1 = 0 ;
212255  float val2 ;
212256  int ecode2 = 0 ;
212257  PyObject * obj0 = 0 ;
212258  PyObject * obj1 = 0 ;
212259 
212260  if (!PyArg_ParseTuple(args,(char *)"OO:NeuralModule_TimeStep",&obj0,&obj1)) SWIG_fail;
212261  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212262  if (!SWIG_IsOK(res1)) {
212263  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_TimeStep" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212264  }
212265  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212266  ecode2 = SWIG_AsVal_float(obj1, &val2);
212267  if (!SWIG_IsOK(ecode2)) {
212268  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "NeuralModule_TimeStep" "', argument " "2"" of type '" "float""'");
212269  }
212270  arg2 = static_cast< float >(val2);
212271  {
212272  try {
212273  (arg1)->TimeStep(arg2);
212274  }
212275  catch(CStdErrorInfo oError)
212276  {
212277  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212278  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212279  PyErr_SetString(PyExc_IndexError, strError.c_str());
212280  SWIG_fail;
212281  }
212282  catch(...)
212283  {
212284  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212285  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212286  SWIG_fail;
212287  }
212288  }
212289  resultobj = SWIG_Py_Void();
212290  return resultobj;
212291 fail:
212292  return NULL;
212293 }
212294 
212295 
212296 SWIGINTERN PyObject *_wrap_NeuralModule_TimeStep(PyObject *self, PyObject *args) {
212297  int argc;
212298  PyObject *argv[3];
212299  int ii;
212300 
212301  if (!PyTuple_Check(args)) SWIG_fail;
212302  argc = args ? (int)PyObject_Length(args) : 0;
212303  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
212304  argv[ii] = PyTuple_GET_ITEM(args,ii);
212305  }
212306  if (argc == 1) {
212307  int _v;
212308  void *vptr = 0;
212309  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0);
212310  _v = SWIG_CheckState(res);
212311  if (_v) {
212312  return _wrap_NeuralModule_TimeStep__SWIG_0(self, args);
212313  }
212314  }
212315  if (argc == 2) {
212316  int _v;
212317  void *vptr = 0;
212318  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0);
212319  _v = SWIG_CheckState(res);
212320  if (_v) {
212321  {
212322  int res = SWIG_AsVal_float(argv[1], NULL);
212323  _v = SWIG_CheckState(res);
212324  }
212325  if (_v) {
212326  return _wrap_NeuralModule_TimeStep__SWIG_1(self, args);
212327  }
212328  }
212329  }
212330 
212331 fail:
212332  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'NeuralModule_TimeStep'.\n"
212333  " Possible C/C++ prototypes are:\n"
212334  " AnimatSim::Behavior::NeuralModule::TimeStep()\n"
212335  " AnimatSim::Behavior::NeuralModule::TimeStep(float)\n");
212336  return 0;
212337 }
212338 
212339 
212340 SWIGINTERN PyObject *_wrap_NeuralModule_ClassFactory__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212341  PyObject *resultobj = 0;
212343  void *argp1 = 0 ;
212344  int res1 = 0 ;
212345  PyObject * obj0 = 0 ;
212346  IStdClassFactory *result = 0 ;
212347 
212348  if (!PyArg_ParseTuple(args,(char *)"O:NeuralModule_ClassFactory",&obj0)) SWIG_fail;
212349  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212350  if (!SWIG_IsOK(res1)) {
212351  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_ClassFactory" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212352  }
212353  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212354  {
212355  try {
212356  result = (IStdClassFactory *)(arg1)->ClassFactory();
212357  }
212358  catch(CStdErrorInfo oError)
212359  {
212360  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212361  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212362  PyErr_SetString(PyExc_IndexError, strError.c_str());
212363  SWIG_fail;
212364  }
212365  catch(...)
212366  {
212367  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212368  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212369  SWIG_fail;
212370  }
212371  }
212372  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__IStdClassFactory, 0 | 0 );
212373  return resultobj;
212374 fail:
212375  return NULL;
212376 }
212377 
212378 
212379 SWIGINTERN PyObject *_wrap_NeuralModule_ClassFactory__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212380  PyObject *resultobj = 0;
212382  IStdClassFactory *arg2 = (IStdClassFactory *) 0 ;
212383  void *argp1 = 0 ;
212384  int res1 = 0 ;
212385  void *argp2 = 0 ;
212386  int res2 = 0 ;
212387  PyObject * obj0 = 0 ;
212388  PyObject * obj1 = 0 ;
212389 
212390  if (!PyArg_ParseTuple(args,(char *)"OO:NeuralModule_ClassFactory",&obj0,&obj1)) SWIG_fail;
212391  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212392  if (!SWIG_IsOK(res1)) {
212393  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_ClassFactory" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212394  }
212395  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212396  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__IStdClassFactory, 0 | 0 );
212397  if (!SWIG_IsOK(res2)) {
212398  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NeuralModule_ClassFactory" "', argument " "2"" of type '" "IStdClassFactory *""'");
212399  }
212400  arg2 = reinterpret_cast< IStdClassFactory * >(argp2);
212401  {
212402  try {
212403  (arg1)->ClassFactory(arg2);
212404  }
212405  catch(CStdErrorInfo oError)
212406  {
212407  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212408  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212409  PyErr_SetString(PyExc_IndexError, strError.c_str());
212410  SWIG_fail;
212411  }
212412  catch(...)
212413  {
212414  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212415  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212416  SWIG_fail;
212417  }
212418  }
212419  resultobj = SWIG_Py_Void();
212420  return resultobj;
212421 fail:
212422  return NULL;
212423 }
212424 
212425 
212426 SWIGINTERN PyObject *_wrap_NeuralModule_ClassFactory(PyObject *self, PyObject *args) {
212427  int argc;
212428  PyObject *argv[3];
212429  int ii;
212430 
212431  if (!PyTuple_Check(args)) SWIG_fail;
212432  argc = args ? (int)PyObject_Length(args) : 0;
212433  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
212434  argv[ii] = PyTuple_GET_ITEM(args,ii);
212435  }
212436  if (argc == 1) {
212437  int _v;
212438  void *vptr = 0;
212439  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0);
212440  _v = SWIG_CheckState(res);
212441  if (_v) {
212442  return _wrap_NeuralModule_ClassFactory__SWIG_0(self, args);
212443  }
212444  }
212445  if (argc == 2) {
212446  int _v;
212447  void *vptr = 0;
212448  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0);
212449  _v = SWIG_CheckState(res);
212450  if (_v) {
212451  void *vptr = 0;
212452  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__IStdClassFactory, 0);
212453  _v = SWIG_CheckState(res);
212454  if (_v) {
212455  return _wrap_NeuralModule_ClassFactory__SWIG_1(self, args);
212456  }
212457  }
212458  }
212459 
212460 fail:
212461  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'NeuralModule_ClassFactory'.\n"
212462  " Possible C/C++ prototypes are:\n"
212463  " AnimatSim::Behavior::NeuralModule::ClassFactory()\n"
212464  " AnimatSim::Behavior::NeuralModule::ClassFactory(IStdClassFactory *)\n");
212465  return 0;
212466 }
212467 
212468 
212469 SWIGINTERN PyObject *_wrap_NeuralModule_GetSimulator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212470  PyObject *resultobj = 0;
212472  void *argp1 = 0 ;
212473  int res1 = 0 ;
212474  PyObject * obj0 = 0 ;
212475  Simulator *result = 0 ;
212476 
212477  if (!PyArg_ParseTuple(args,(char *)"O:NeuralModule_GetSimulator",&obj0)) SWIG_fail;
212478  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212479  if (!SWIG_IsOK(res1)) {
212480  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_GetSimulator" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212481  }
212482  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212483  {
212484  try {
212485  result = (Simulator *)(arg1)->GetSimulator();
212486  }
212487  catch(CStdErrorInfo oError)
212488  {
212489  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212490  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212491  PyErr_SetString(PyExc_IndexError, strError.c_str());
212492  SWIG_fail;
212493  }
212494  catch(...)
212495  {
212496  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212497  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212498  SWIG_fail;
212499  }
212500  }
212501  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Simulator, 0 | 0 );
212502  return resultobj;
212503 fail:
212504  return NULL;
212505 }
212506 
212507 
212508 SWIGINTERN PyObject *_wrap_NeuralModule_GetOrganism(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212509  PyObject *resultobj = 0;
212511  void *argp1 = 0 ;
212512  int res1 = 0 ;
212513  PyObject * obj0 = 0 ;
212514  Organism *result = 0 ;
212515 
212516  if (!PyArg_ParseTuple(args,(char *)"O:NeuralModule_GetOrganism",&obj0)) SWIG_fail;
212517  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212518  if (!SWIG_IsOK(res1)) {
212519  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_GetOrganism" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212520  }
212521  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212522  {
212523  try {
212524  result = (Organism *)(arg1)->GetOrganism();
212525  }
212526  catch(CStdErrorInfo oError)
212527  {
212528  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212529  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212530  PyErr_SetString(PyExc_IndexError, strError.c_str());
212531  SWIG_fail;
212532  }
212533  catch(...)
212534  {
212535  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212536  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212537  SWIG_fail;
212538  }
212539  }
212540  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Organism, 0 | 0 );
212541  return resultobj;
212542 fail:
212543  return NULL;
212544 }
212545 
212546 
212547 SWIGINTERN PyObject *_wrap_NeuralModule_SetSystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212548  PyObject *resultobj = 0;
212550  Simulator *arg2 = (Simulator *) 0 ;
212551  Structure *arg3 = (Structure *) 0 ;
212553  AnimatSim::Node *arg5 = (AnimatSim::Node *) 0 ;
212554  bool arg6 ;
212555  void *argp1 = 0 ;
212556  int res1 = 0 ;
212557  void *argp2 = 0 ;
212558  int res2 = 0 ;
212559  void *argp3 = 0 ;
212560  int res3 = 0 ;
212561  void *argp4 = 0 ;
212562  int res4 = 0 ;
212563  void *argp5 = 0 ;
212564  int res5 = 0 ;
212565  bool val6 ;
212566  int ecode6 = 0 ;
212567  PyObject * obj0 = 0 ;
212568  PyObject * obj1 = 0 ;
212569  PyObject * obj2 = 0 ;
212570  PyObject * obj3 = 0 ;
212571  PyObject * obj4 = 0 ;
212572  PyObject * obj5 = 0 ;
212573 
212574  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:NeuralModule_SetSystemPointers",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
212575  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212576  if (!SWIG_IsOK(res1)) {
212577  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_SetSystemPointers" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212578  }
212579  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212580  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Simulator, 0 | 0 );
212581  if (!SWIG_IsOK(res2)) {
212582  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NeuralModule_SetSystemPointers" "', argument " "2"" of type '" "Simulator *""'");
212583  }
212584  arg2 = reinterpret_cast< Simulator * >(argp2);
212585  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Structure, 0 | 0 );
212586  if (!SWIG_IsOK(res3)) {
212587  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NeuralModule_SetSystemPointers" "', argument " "3"" of type '" "Structure *""'");
212588  }
212589  arg3 = reinterpret_cast< Structure * >(argp3);
212590  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212591  if (!SWIG_IsOK(res4)) {
212592  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "NeuralModule_SetSystemPointers" "', argument " "4"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212593  }
212594  arg4 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp4);
212595  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
212596  if (!SWIG_IsOK(res5)) {
212597  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "NeuralModule_SetSystemPointers" "', argument " "5"" of type '" "AnimatSim::Node *""'");
212598  }
212599  arg5 = reinterpret_cast< AnimatSim::Node * >(argp5);
212600  ecode6 = SWIG_AsVal_bool(obj5, &val6);
212601  if (!SWIG_IsOK(ecode6)) {
212602  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "NeuralModule_SetSystemPointers" "', argument " "6"" of type '" "bool""'");
212603  }
212604  arg6 = static_cast< bool >(val6);
212605  {
212606  try {
212607  (arg1)->SetSystemPointers(arg2,arg3,arg4,arg5,arg6);
212608  }
212609  catch(CStdErrorInfo oError)
212610  {
212611  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212612  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212613  PyErr_SetString(PyExc_IndexError, strError.c_str());
212614  SWIG_fail;
212615  }
212616  catch(...)
212617  {
212618  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212619  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212620  SWIG_fail;
212621  }
212622  }
212623  resultobj = SWIG_Py_Void();
212624  return resultobj;
212625 fail:
212626  return NULL;
212627 }
212628 
212629 
212630 SWIGINTERN PyObject *_wrap_NeuralModule_VerifySystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212631  PyObject *resultobj = 0;
212633  void *argp1 = 0 ;
212634  int res1 = 0 ;
212635  PyObject * obj0 = 0 ;
212636 
212637  if (!PyArg_ParseTuple(args,(char *)"O:NeuralModule_VerifySystemPointers",&obj0)) SWIG_fail;
212638  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212639  if (!SWIG_IsOK(res1)) {
212640  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_VerifySystemPointers" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212641  }
212642  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212643  {
212644  try {
212645  (arg1)->VerifySystemPointers();
212646  }
212647  catch(CStdErrorInfo oError)
212648  {
212649  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212650  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212651  PyErr_SetString(PyExc_IndexError, strError.c_str());
212652  SWIG_fail;
212653  }
212654  catch(...)
212655  {
212656  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212657  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212658  SWIG_fail;
212659  }
212660  }
212661  resultobj = SWIG_Py_Void();
212662  return resultobj;
212663 fail:
212664  return NULL;
212665 }
212666 
212667 
212668 SWIGINTERN PyObject *_wrap_NeuralModule_AttachSourceAdapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212669  PyObject *resultobj = 0;
212671  Adapter *arg2 = (Adapter *) 0 ;
212672  void *argp1 = 0 ;
212673  int res1 = 0 ;
212674  void *argp2 = 0 ;
212675  int res2 = 0 ;
212676  PyObject * obj0 = 0 ;
212677  PyObject * obj1 = 0 ;
212678 
212679  if (!PyArg_ParseTuple(args,(char *)"OO:NeuralModule_AttachSourceAdapter",&obj0,&obj1)) SWIG_fail;
212680  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212681  if (!SWIG_IsOK(res1)) {
212682  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_AttachSourceAdapter" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212683  }
212684  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212685  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Adapter, 0 | 0 );
212686  if (!SWIG_IsOK(res2)) {
212687  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NeuralModule_AttachSourceAdapter" "', argument " "2"" of type '" "Adapter *""'");
212688  }
212689  arg2 = reinterpret_cast< Adapter * >(argp2);
212690  {
212691  try {
212692  (arg1)->AttachSourceAdapter(arg2);
212693  }
212694  catch(CStdErrorInfo oError)
212695  {
212696  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212697  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212698  PyErr_SetString(PyExc_IndexError, strError.c_str());
212699  SWIG_fail;
212700  }
212701  catch(...)
212702  {
212703  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212704  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212705  SWIG_fail;
212706  }
212707  }
212708  resultobj = SWIG_Py_Void();
212709  return resultobj;
212710 fail:
212711  return NULL;
212712 }
212713 
212714 
212715 SWIGINTERN PyObject *_wrap_NeuralModule_RemoveSourceAdapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212716  PyObject *resultobj = 0;
212718  Adapter *arg2 = (Adapter *) 0 ;
212719  void *argp1 = 0 ;
212720  int res1 = 0 ;
212721  void *argp2 = 0 ;
212722  int res2 = 0 ;
212723  PyObject * obj0 = 0 ;
212724  PyObject * obj1 = 0 ;
212725 
212726  if (!PyArg_ParseTuple(args,(char *)"OO:NeuralModule_RemoveSourceAdapter",&obj0,&obj1)) SWIG_fail;
212727  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212728  if (!SWIG_IsOK(res1)) {
212729  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_RemoveSourceAdapter" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212730  }
212731  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212732  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Adapter, 0 | 0 );
212733  if (!SWIG_IsOK(res2)) {
212734  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NeuralModule_RemoveSourceAdapter" "', argument " "2"" of type '" "Adapter *""'");
212735  }
212736  arg2 = reinterpret_cast< Adapter * >(argp2);
212737  {
212738  try {
212739  (arg1)->RemoveSourceAdapter(arg2);
212740  }
212741  catch(CStdErrorInfo oError)
212742  {
212743  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212744  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212745  PyErr_SetString(PyExc_IndexError, strError.c_str());
212746  SWIG_fail;
212747  }
212748  catch(...)
212749  {
212750  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212751  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212752  SWIG_fail;
212753  }
212754  }
212755  resultobj = SWIG_Py_Void();
212756  return resultobj;
212757 fail:
212758  return NULL;
212759 }
212760 
212761 
212762 SWIGINTERN PyObject *_wrap_NeuralModule_AttachTargetAdapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212763  PyObject *resultobj = 0;
212765  Adapter *arg2 = (Adapter *) 0 ;
212766  void *argp1 = 0 ;
212767  int res1 = 0 ;
212768  void *argp2 = 0 ;
212769  int res2 = 0 ;
212770  PyObject * obj0 = 0 ;
212771  PyObject * obj1 = 0 ;
212772 
212773  if (!PyArg_ParseTuple(args,(char *)"OO:NeuralModule_AttachTargetAdapter",&obj0,&obj1)) SWIG_fail;
212774  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212775  if (!SWIG_IsOK(res1)) {
212776  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_AttachTargetAdapter" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212777  }
212778  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212779  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Adapter, 0 | 0 );
212780  if (!SWIG_IsOK(res2)) {
212781  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NeuralModule_AttachTargetAdapter" "', argument " "2"" of type '" "Adapter *""'");
212782  }
212783  arg2 = reinterpret_cast< Adapter * >(argp2);
212784  {
212785  try {
212786  (arg1)->AttachTargetAdapter(arg2);
212787  }
212788  catch(CStdErrorInfo oError)
212789  {
212790  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212791  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212792  PyErr_SetString(PyExc_IndexError, strError.c_str());
212793  SWIG_fail;
212794  }
212795  catch(...)
212796  {
212797  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212798  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212799  SWIG_fail;
212800  }
212801  }
212802  resultobj = SWIG_Py_Void();
212803  return resultobj;
212804 fail:
212805  return NULL;
212806 }
212807 
212808 
212809 SWIGINTERN PyObject *_wrap_NeuralModule_RemoveTargetAdapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212810  PyObject *resultobj = 0;
212812  Adapter *arg2 = (Adapter *) 0 ;
212813  void *argp1 = 0 ;
212814  int res1 = 0 ;
212815  void *argp2 = 0 ;
212816  int res2 = 0 ;
212817  PyObject * obj0 = 0 ;
212818  PyObject * obj1 = 0 ;
212819 
212820  if (!PyArg_ParseTuple(args,(char *)"OO:NeuralModule_RemoveTargetAdapter",&obj0,&obj1)) SWIG_fail;
212821  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212822  if (!SWIG_IsOK(res1)) {
212823  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_RemoveTargetAdapter" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212824  }
212825  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212826  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Adapter, 0 | 0 );
212827  if (!SWIG_IsOK(res2)) {
212828  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NeuralModule_RemoveTargetAdapter" "', argument " "2"" of type '" "Adapter *""'");
212829  }
212830  arg2 = reinterpret_cast< Adapter * >(argp2);
212831  {
212832  try {
212833  (arg1)->RemoveTargetAdapter(arg2);
212834  }
212835  catch(CStdErrorInfo oError)
212836  {
212837  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212838  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212839  PyErr_SetString(PyExc_IndexError, strError.c_str());
212840  SWIG_fail;
212841  }
212842  catch(...)
212843  {
212844  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212845  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212846  SWIG_fail;
212847  }
212848  }
212849  resultobj = SWIG_Py_Void();
212850  return resultobj;
212851 fail:
212852  return NULL;
212853 }
212854 
212855 
212856 SWIGINTERN PyObject *_wrap_NeuralModule_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212857  PyObject *resultobj = 0;
212859  std::string *arg2 = 0 ;
212860  void *argp1 = 0 ;
212861  int res1 = 0 ;
212862  int res2 = SWIG_OLDOBJ ;
212863  PyObject * obj0 = 0 ;
212864  PyObject * obj1 = 0 ;
212865  float *result = 0 ;
212866 
212867  if (!PyArg_ParseTuple(args,(char *)"OO:NeuralModule_GetDataPointer",&obj0,&obj1)) SWIG_fail;
212868  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212869  if (!SWIG_IsOK(res1)) {
212870  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212871  }
212872  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212873  {
212874  std::string *ptr = (std::string *)0;
212875  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
212876  if (!SWIG_IsOK(res2)) {
212877  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NeuralModule_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
212878  }
212879  if (!ptr) {
212880  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NeuralModule_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
212881  }
212882  arg2 = ptr;
212883  }
212884  {
212885  try {
212886  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
212887  }
212888  catch(CStdErrorInfo oError)
212889  {
212890  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212891  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212892  PyErr_SetString(PyExc_IndexError, strError.c_str());
212893  SWIG_fail;
212894  }
212895  catch(...)
212896  {
212897  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212898  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212899  SWIG_fail;
212900  }
212901  }
212902  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
212903  if (SWIG_IsNewObj(res2)) delete arg2;
212904  return resultobj;
212905 fail:
212906  if (SWIG_IsNewObj(res2)) delete arg2;
212907  return NULL;
212908 }
212909 
212910 
212911 SWIGINTERN PyObject *_wrap_NeuralModule_AddExternalSynapse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212912  PyObject *resultobj = 0;
212914  AnimatSim::Link *arg2 = (AnimatSim::Link *) 0 ;
212915  void *argp1 = 0 ;
212916  int res1 = 0 ;
212917  void *argp2 = 0 ;
212918  int res2 = 0 ;
212919  PyObject * obj0 = 0 ;
212920  PyObject * obj1 = 0 ;
212921 
212922  if (!PyArg_ParseTuple(args,(char *)"OO:NeuralModule_AddExternalSynapse",&obj0,&obj1)) SWIG_fail;
212923  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212924  if (!SWIG_IsOK(res1)) {
212925  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_AddExternalSynapse" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212926  }
212927  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212928  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Link, 0 | 0 );
212929  if (!SWIG_IsOK(res2)) {
212930  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NeuralModule_AddExternalSynapse" "', argument " "2"" of type '" "AnimatSim::Link *""'");
212931  }
212932  arg2 = reinterpret_cast< AnimatSim::Link * >(argp2);
212933  {
212934  try {
212935  (arg1)->AddExternalSynapse(arg2);
212936  }
212937  catch(CStdErrorInfo oError)
212938  {
212939  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212940  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212941  PyErr_SetString(PyExc_IndexError, strError.c_str());
212942  SWIG_fail;
212943  }
212944  catch(...)
212945  {
212946  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212947  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
212948  SWIG_fail;
212949  }
212950  }
212951  resultobj = SWIG_Py_Void();
212952  return resultobj;
212953 fail:
212954  return NULL;
212955 }
212956 
212957 
212958 SWIGINTERN PyObject *_wrap_NeuralModule_AddExternalSynapse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
212959  PyObject *resultobj = 0;
212961  std::string arg2 ;
212962  bool arg3 ;
212963  void *argp1 = 0 ;
212964  int res1 = 0 ;
212965  bool val3 ;
212966  int ecode3 = 0 ;
212967  PyObject * obj0 = 0 ;
212968  PyObject * obj1 = 0 ;
212969  PyObject * obj2 = 0 ;
212970 
212971  if (!PyArg_ParseTuple(args,(char *)"OOO:NeuralModule_AddExternalSynapse",&obj0,&obj1,&obj2)) SWIG_fail;
212972  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
212973  if (!SWIG_IsOK(res1)) {
212974  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_AddExternalSynapse" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
212975  }
212976  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
212977  {
212978  std::string *ptr = (std::string *)0;
212979  int res = SWIG_AsPtr_std_string(obj1, &ptr);
212980  if (!SWIG_IsOK(res) || !ptr) {
212981  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "NeuralModule_AddExternalSynapse" "', argument " "2"" of type '" "std::string""'");
212982  }
212983  arg2 = *ptr;
212984  if (SWIG_IsNewObj(res)) delete ptr;
212985  }
212986  ecode3 = SWIG_AsVal_bool(obj2, &val3);
212987  if (!SWIG_IsOK(ecode3)) {
212988  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "NeuralModule_AddExternalSynapse" "', argument " "3"" of type '" "bool""'");
212989  }
212990  arg3 = static_cast< bool >(val3);
212991  {
212992  try {
212993  (arg1)->AddExternalSynapse(arg2,arg3);
212994  }
212995  catch(CStdErrorInfo oError)
212996  {
212997  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
212998  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
212999  PyErr_SetString(PyExc_IndexError, strError.c_str());
213000  SWIG_fail;
213001  }
213002  catch(...)
213003  {
213004  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213005  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213006  SWIG_fail;
213007  }
213008  }
213009  resultobj = SWIG_Py_Void();
213010  return resultobj;
213011 fail:
213012  return NULL;
213013 }
213014 
213015 
213016 SWIGINTERN PyObject *_wrap_NeuralModule_AddExternalSynapse(PyObject *self, PyObject *args) {
213017  int argc;
213018  PyObject *argv[4];
213019  int ii;
213020 
213021  if (!PyTuple_Check(args)) SWIG_fail;
213022  argc = args ? (int)PyObject_Length(args) : 0;
213023  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
213024  argv[ii] = PyTuple_GET_ITEM(args,ii);
213025  }
213026  if (argc == 2) {
213027  int _v;
213028  void *vptr = 0;
213029  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0);
213030  _v = SWIG_CheckState(res);
213031  if (_v) {
213032  void *vptr = 0;
213033  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Link, 0);
213034  _v = SWIG_CheckState(res);
213035  if (_v) {
213036  return _wrap_NeuralModule_AddExternalSynapse__SWIG_0(self, args);
213037  }
213038  }
213039  }
213040  if (argc == 3) {
213041  int _v;
213042  void *vptr = 0;
213043  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0);
213044  _v = SWIG_CheckState(res);
213045  if (_v) {
213046  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
213047  _v = SWIG_CheckState(res);
213048  if (_v) {
213049  {
213050  int res = SWIG_AsVal_bool(argv[2], NULL);
213051  _v = SWIG_CheckState(res);
213052  }
213053  if (_v) {
213054  return _wrap_NeuralModule_AddExternalSynapse__SWIG_1(self, args);
213055  }
213056  }
213057  }
213058  }
213059 
213060 fail:
213061  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'NeuralModule_AddExternalSynapse'.\n"
213062  " Possible C/C++ prototypes are:\n"
213063  " AnimatSim::Behavior::NeuralModule::AddExternalSynapse(AnimatSim::Link *)\n"
213064  " AnimatSim::Behavior::NeuralModule::AddExternalSynapse(std::string,bool)\n");
213065  return 0;
213066 }
213067 
213068 
213069 SWIGINTERN PyObject *_wrap_NeuralModule_RemoveExternalSynapse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213070  PyObject *resultobj = 0;
213072  std::string arg2 ;
213073  bool arg3 ;
213074  void *argp1 = 0 ;
213075  int res1 = 0 ;
213076  bool val3 ;
213077  int ecode3 = 0 ;
213078  PyObject * obj0 = 0 ;
213079  PyObject * obj1 = 0 ;
213080  PyObject * obj2 = 0 ;
213081 
213082  if (!PyArg_ParseTuple(args,(char *)"OOO:NeuralModule_RemoveExternalSynapse",&obj0,&obj1,&obj2)) SWIG_fail;
213083  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
213084  if (!SWIG_IsOK(res1)) {
213085  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_RemoveExternalSynapse" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
213086  }
213087  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
213088  {
213089  std::string *ptr = (std::string *)0;
213090  int res = SWIG_AsPtr_std_string(obj1, &ptr);
213091  if (!SWIG_IsOK(res) || !ptr) {
213092  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "NeuralModule_RemoveExternalSynapse" "', argument " "2"" of type '" "std::string""'");
213093  }
213094  arg2 = *ptr;
213095  if (SWIG_IsNewObj(res)) delete ptr;
213096  }
213097  ecode3 = SWIG_AsVal_bool(obj2, &val3);
213098  if (!SWIG_IsOK(ecode3)) {
213099  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "NeuralModule_RemoveExternalSynapse" "', argument " "3"" of type '" "bool""'");
213100  }
213101  arg3 = static_cast< bool >(val3);
213102  {
213103  try {
213104  (arg1)->RemoveExternalSynapse(arg2,arg3);
213105  }
213106  catch(CStdErrorInfo oError)
213107  {
213108  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213109  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213110  PyErr_SetString(PyExc_IndexError, strError.c_str());
213111  SWIG_fail;
213112  }
213113  catch(...)
213114  {
213115  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213116  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213117  SWIG_fail;
213118  }
213119  }
213120  resultobj = SWIG_Py_Void();
213121  return resultobj;
213122 fail:
213123  return NULL;
213124 }
213125 
213126 
213127 SWIGINTERN PyObject *_wrap_NeuralModule_RemoveExternalSynapse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213128  PyObject *resultobj = 0;
213130  std::string arg2 ;
213131  void *argp1 = 0 ;
213132  int res1 = 0 ;
213133  PyObject * obj0 = 0 ;
213134  PyObject * obj1 = 0 ;
213135 
213136  if (!PyArg_ParseTuple(args,(char *)"OO:NeuralModule_RemoveExternalSynapse",&obj0,&obj1)) SWIG_fail;
213137  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
213138  if (!SWIG_IsOK(res1)) {
213139  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_RemoveExternalSynapse" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
213140  }
213141  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
213142  {
213143  std::string *ptr = (std::string *)0;
213144  int res = SWIG_AsPtr_std_string(obj1, &ptr);
213145  if (!SWIG_IsOK(res) || !ptr) {
213146  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "NeuralModule_RemoveExternalSynapse" "', argument " "2"" of type '" "std::string""'");
213147  }
213148  arg2 = *ptr;
213149  if (SWIG_IsNewObj(res)) delete ptr;
213150  }
213151  {
213152  try {
213153  (arg1)->RemoveExternalSynapse(arg2);
213154  }
213155  catch(CStdErrorInfo oError)
213156  {
213157  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213158  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213159  PyErr_SetString(PyExc_IndexError, strError.c_str());
213160  SWIG_fail;
213161  }
213162  catch(...)
213163  {
213164  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213165  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213166  SWIG_fail;
213167  }
213168  }
213169  resultobj = SWIG_Py_Void();
213170  return resultobj;
213171 fail:
213172  return NULL;
213173 }
213174 
213175 
213176 SWIGINTERN PyObject *_wrap_NeuralModule_RemoveExternalSynapse(PyObject *self, PyObject *args) {
213177  int argc;
213178  PyObject *argv[4];
213179  int ii;
213180 
213181  if (!PyTuple_Check(args)) SWIG_fail;
213182  argc = args ? (int)PyObject_Length(args) : 0;
213183  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
213184  argv[ii] = PyTuple_GET_ITEM(args,ii);
213185  }
213186  if (argc == 2) {
213187  int _v;
213188  void *vptr = 0;
213189  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0);
213190  _v = SWIG_CheckState(res);
213191  if (_v) {
213192  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
213193  _v = SWIG_CheckState(res);
213194  if (_v) {
213195  return _wrap_NeuralModule_RemoveExternalSynapse__SWIG_1(self, args);
213196  }
213197  }
213198  }
213199  if (argc == 3) {
213200  int _v;
213201  void *vptr = 0;
213202  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0);
213203  _v = SWIG_CheckState(res);
213204  if (_v) {
213205  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
213206  _v = SWIG_CheckState(res);
213207  if (_v) {
213208  {
213209  int res = SWIG_AsVal_bool(argv[2], NULL);
213210  _v = SWIG_CheckState(res);
213211  }
213212  if (_v) {
213213  return _wrap_NeuralModule_RemoveExternalSynapse__SWIG_0(self, args);
213214  }
213215  }
213216  }
213217  }
213218 
213219 fail:
213220  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'NeuralModule_RemoveExternalSynapse'.\n"
213221  " Possible C/C++ prototypes are:\n"
213222  " AnimatSim::Behavior::NeuralModule::RemoveExternalSynapse(std::string,bool)\n"
213223  " AnimatSim::Behavior::NeuralModule::RemoveExternalSynapse(std::string)\n");
213224  return 0;
213225 }
213226 
213227 
213228 SWIGINTERN PyObject *_wrap_NeuralModule_FindExternalSynapseListPos__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213229  PyObject *resultobj = 0;
213231  std::string arg2 ;
213232  bool arg3 ;
213233  void *argp1 = 0 ;
213234  int res1 = 0 ;
213235  bool val3 ;
213236  int ecode3 = 0 ;
213237  PyObject * obj0 = 0 ;
213238  PyObject * obj1 = 0 ;
213239  PyObject * obj2 = 0 ;
213240  int result;
213241 
213242  if (!PyArg_ParseTuple(args,(char *)"OOO:NeuralModule_FindExternalSynapseListPos",&obj0,&obj1,&obj2)) SWIG_fail;
213243  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
213244  if (!SWIG_IsOK(res1)) {
213245  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_FindExternalSynapseListPos" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
213246  }
213247  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
213248  {
213249  std::string *ptr = (std::string *)0;
213250  int res = SWIG_AsPtr_std_string(obj1, &ptr);
213251  if (!SWIG_IsOK(res) || !ptr) {
213252  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "NeuralModule_FindExternalSynapseListPos" "', argument " "2"" of type '" "std::string""'");
213253  }
213254  arg2 = *ptr;
213255  if (SWIG_IsNewObj(res)) delete ptr;
213256  }
213257  ecode3 = SWIG_AsVal_bool(obj2, &val3);
213258  if (!SWIG_IsOK(ecode3)) {
213259  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "NeuralModule_FindExternalSynapseListPos" "', argument " "3"" of type '" "bool""'");
213260  }
213261  arg3 = static_cast< bool >(val3);
213262  {
213263  try {
213264  result = (int)(arg1)->FindExternalSynapseListPos(arg2,arg3);
213265  }
213266  catch(CStdErrorInfo oError)
213267  {
213268  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213269  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213270  PyErr_SetString(PyExc_IndexError, strError.c_str());
213271  SWIG_fail;
213272  }
213273  catch(...)
213274  {
213275  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213276  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213277  SWIG_fail;
213278  }
213279  }
213280  resultobj = SWIG_From_int(static_cast< int >(result));
213281  return resultobj;
213282 fail:
213283  return NULL;
213284 }
213285 
213286 
213287 SWIGINTERN PyObject *_wrap_NeuralModule_FindExternalSynapseListPos__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213288  PyObject *resultobj = 0;
213290  std::string arg2 ;
213291  void *argp1 = 0 ;
213292  int res1 = 0 ;
213293  PyObject * obj0 = 0 ;
213294  PyObject * obj1 = 0 ;
213295  int result;
213296 
213297  if (!PyArg_ParseTuple(args,(char *)"OO:NeuralModule_FindExternalSynapseListPos",&obj0,&obj1)) SWIG_fail;
213298  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
213299  if (!SWIG_IsOK(res1)) {
213300  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_FindExternalSynapseListPos" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
213301  }
213302  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
213303  {
213304  std::string *ptr = (std::string *)0;
213305  int res = SWIG_AsPtr_std_string(obj1, &ptr);
213306  if (!SWIG_IsOK(res) || !ptr) {
213307  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "NeuralModule_FindExternalSynapseListPos" "', argument " "2"" of type '" "std::string""'");
213308  }
213309  arg2 = *ptr;
213310  if (SWIG_IsNewObj(res)) delete ptr;
213311  }
213312  {
213313  try {
213314  result = (int)(arg1)->FindExternalSynapseListPos(arg2);
213315  }
213316  catch(CStdErrorInfo oError)
213317  {
213318  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213319  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213320  PyErr_SetString(PyExc_IndexError, strError.c_str());
213321  SWIG_fail;
213322  }
213323  catch(...)
213324  {
213325  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213326  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213327  SWIG_fail;
213328  }
213329  }
213330  resultobj = SWIG_From_int(static_cast< int >(result));
213331  return resultobj;
213332 fail:
213333  return NULL;
213334 }
213335 
213336 
213337 SWIGINTERN PyObject *_wrap_NeuralModule_FindExternalSynapseListPos(PyObject *self, PyObject *args) {
213338  int argc;
213339  PyObject *argv[4];
213340  int ii;
213341 
213342  if (!PyTuple_Check(args)) SWIG_fail;
213343  argc = args ? (int)PyObject_Length(args) : 0;
213344  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
213345  argv[ii] = PyTuple_GET_ITEM(args,ii);
213346  }
213347  if (argc == 2) {
213348  int _v;
213349  void *vptr = 0;
213350  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0);
213351  _v = SWIG_CheckState(res);
213352  if (_v) {
213353  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
213354  _v = SWIG_CheckState(res);
213355  if (_v) {
213356  return _wrap_NeuralModule_FindExternalSynapseListPos__SWIG_1(self, args);
213357  }
213358  }
213359  }
213360  if (argc == 3) {
213361  int _v;
213362  void *vptr = 0;
213363  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0);
213364  _v = SWIG_CheckState(res);
213365  if (_v) {
213366  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
213367  _v = SWIG_CheckState(res);
213368  if (_v) {
213369  {
213370  int res = SWIG_AsVal_bool(argv[2], NULL);
213371  _v = SWIG_CheckState(res);
213372  }
213373  if (_v) {
213374  return _wrap_NeuralModule_FindExternalSynapseListPos__SWIG_0(self, args);
213375  }
213376  }
213377  }
213378  }
213379 
213380 fail:
213381  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'NeuralModule_FindExternalSynapseListPos'.\n"
213382  " Possible C/C++ prototypes are:\n"
213383  " AnimatSim::Behavior::NeuralModule::FindExternalSynapseListPos(std::string,bool)\n"
213384  " AnimatSim::Behavior::NeuralModule::FindExternalSynapseListPos(std::string)\n");
213385  return 0;
213386 }
213387 
213388 
213389 SWIGINTERN PyObject *_wrap_NeuralModule_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213390  PyObject *resultobj = 0;
213392  void *argp1 = 0 ;
213393  int res1 = 0 ;
213394  PyObject * obj0 = 0 ;
213395 
213396  if (!PyArg_ParseTuple(args,(char *)"O:NeuralModule_Initialize",&obj0)) SWIG_fail;
213397  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
213398  if (!SWIG_IsOK(res1)) {
213399  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_Initialize" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
213400  }
213401  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
213402  {
213403  try {
213404  (arg1)->Initialize();
213405  }
213406  catch(CStdErrorInfo oError)
213407  {
213408  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213409  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213410  PyErr_SetString(PyExc_IndexError, strError.c_str());
213411  SWIG_fail;
213412  }
213413  catch(...)
213414  {
213415  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213416  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213417  SWIG_fail;
213418  }
213419  }
213420  resultobj = SWIG_Py_Void();
213421  return resultobj;
213422 fail:
213423  return NULL;
213424 }
213425 
213426 
213427 SWIGINTERN PyObject *_wrap_NeuralModule_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213428  PyObject *resultobj = 0;
213430  void *argp1 = 0 ;
213431  int res1 = 0 ;
213432  PyObject * obj0 = 0 ;
213433 
213434  if (!PyArg_ParseTuple(args,(char *)"O:NeuralModule_ResetSimulation",&obj0)) SWIG_fail;
213435  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
213436  if (!SWIG_IsOK(res1)) {
213437  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
213438  }
213439  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
213440  {
213441  try {
213442  (arg1)->ResetSimulation();
213443  }
213444  catch(CStdErrorInfo oError)
213445  {
213446  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213447  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213448  PyErr_SetString(PyExc_IndexError, strError.c_str());
213449  SWIG_fail;
213450  }
213451  catch(...)
213452  {
213453  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213454  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213455  SWIG_fail;
213456  }
213457  }
213458  resultobj = SWIG_Py_Void();
213459  return resultobj;
213460 fail:
213461  return NULL;
213462 }
213463 
213464 
213465 SWIGINTERN PyObject *_wrap_NeuralModule_NeedToStep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213466  PyObject *resultobj = 0;
213468  bool arg2 ;
213469  void *argp1 = 0 ;
213470  int res1 = 0 ;
213471  bool val2 ;
213472  int ecode2 = 0 ;
213473  PyObject * obj0 = 0 ;
213474  PyObject * obj1 = 0 ;
213475  bool result;
213476 
213477  if (!PyArg_ParseTuple(args,(char *)"OO:NeuralModule_NeedToStep",&obj0,&obj1)) SWIG_fail;
213478  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
213479  if (!SWIG_IsOK(res1)) {
213480  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_NeedToStep" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
213481  }
213482  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
213483  ecode2 = SWIG_AsVal_bool(obj1, &val2);
213484  if (!SWIG_IsOK(ecode2)) {
213485  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "NeuralModule_NeedToStep" "', argument " "2"" of type '" "bool""'");
213486  }
213487  arg2 = static_cast< bool >(val2);
213488  {
213489  try {
213490  result = (bool)(arg1)->NeedToStep(arg2);
213491  }
213492  catch(CStdErrorInfo oError)
213493  {
213494  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213495  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213496  PyErr_SetString(PyExc_IndexError, strError.c_str());
213497  SWIG_fail;
213498  }
213499  catch(...)
213500  {
213501  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213502  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213503  SWIG_fail;
213504  }
213505  }
213506  resultobj = SWIG_From_bool(static_cast< bool >(result));
213507  return resultobj;
213508 fail:
213509  return NULL;
213510 }
213511 
213512 
213513 SWIGINTERN PyObject *_wrap_NeuralModule_ResetStepCounter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213514  PyObject *resultobj = 0;
213516  void *argp1 = 0 ;
213517  int res1 = 0 ;
213518  PyObject * obj0 = 0 ;
213519 
213520  if (!PyArg_ParseTuple(args,(char *)"O:NeuralModule_ResetStepCounter",&obj0)) SWIG_fail;
213521  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
213522  if (!SWIG_IsOK(res1)) {
213523  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_ResetStepCounter" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
213524  }
213525  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
213526  {
213527  try {
213528  (arg1)->ResetStepCounter();
213529  }
213530  catch(CStdErrorInfo oError)
213531  {
213532  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213533  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213534  PyErr_SetString(PyExc_IndexError, strError.c_str());
213535  SWIG_fail;
213536  }
213537  catch(...)
213538  {
213539  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213540  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213541  SWIG_fail;
213542  }
213543  }
213544  resultobj = SWIG_Py_Void();
213545  return resultobj;
213546 fail:
213547  return NULL;
213548 }
213549 
213550 
213551 SWIGINTERN PyObject *_wrap_NeuralModule_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213552  PyObject *resultobj = 0;
213554  void *argp1 = 0 ;
213555  int res1 = 0 ;
213556  PyObject * obj0 = 0 ;
213557 
213558  if (!PyArg_ParseTuple(args,(char *)"O:NeuralModule_StepSimulation",&obj0)) SWIG_fail;
213559  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
213560  if (!SWIG_IsOK(res1)) {
213561  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
213562  }
213563  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
213564  {
213565  try {
213566  (arg1)->StepSimulation();
213567  }
213568  catch(CStdErrorInfo oError)
213569  {
213570  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213571  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213572  PyErr_SetString(PyExc_IndexError, strError.c_str());
213573  SWIG_fail;
213574  }
213575  catch(...)
213576  {
213577  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213578  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213579  SWIG_fail;
213580  }
213581  }
213582  resultobj = SWIG_Py_Void();
213583  return resultobj;
213584 fail:
213585  return NULL;
213586 }
213587 
213588 
213589 SWIGINTERN PyObject *_wrap_NeuralModule_StepAdapters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213590  PyObject *resultobj = 0;
213592  void *argp1 = 0 ;
213593  int res1 = 0 ;
213594  PyObject * obj0 = 0 ;
213595 
213596  if (!PyArg_ParseTuple(args,(char *)"O:NeuralModule_StepAdapters",&obj0)) SWIG_fail;
213597  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, 0 | 0 );
213598  if (!SWIG_IsOK(res1)) {
213599  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NeuralModule_StepAdapters" "', argument " "1"" of type '" "AnimatSim::Behavior::NeuralModule *""'");
213600  }
213601  arg1 = reinterpret_cast< AnimatSim::Behavior::NeuralModule * >(argp1);
213602  {
213603  try {
213604  (arg1)->StepAdapters();
213605  }
213606  catch(CStdErrorInfo oError)
213607  {
213608  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213609  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213610  PyErr_SetString(PyExc_IndexError, strError.c_str());
213611  SWIG_fail;
213612  }
213613  catch(...)
213614  {
213615  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213616  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213617  SWIG_fail;
213618  }
213619  }
213620  resultobj = SWIG_Py_Void();
213621  return resultobj;
213622 fail:
213623  return NULL;
213624 }
213625 
213626 
213627 SWIGINTERN PyObject *NeuralModule_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213628  PyObject *obj;
213629  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
213630  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Behavior__NeuralModule, SWIG_NewClientData(obj));
213631  return SWIG_Py_Void();
213632 }
213633 
213634 SWIGINTERN PyObject *_wrap_new_PhysicsNeuralModule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213635  PyObject *resultobj = 0;
213637 
213638  if (!PyArg_ParseTuple(args,(char *)":new_PhysicsNeuralModule")) SWIG_fail;
213639  {
213640  try {
213642  }
213643  catch(CStdErrorInfo oError)
213644  {
213645  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213646  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213647  PyErr_SetString(PyExc_IndexError, strError.c_str());
213648  SWIG_fail;
213649  }
213650  catch(...)
213651  {
213652  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213653  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213654  SWIG_fail;
213655  }
213656  }
213657  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, SWIG_POINTER_NEW | 0 );
213658  return resultobj;
213659 fail:
213660  return NULL;
213661 }
213662 
213663 
213664 SWIGINTERN PyObject *_wrap_delete_PhysicsNeuralModule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213665  PyObject *resultobj = 0;
213667  void *argp1 = 0 ;
213668  int res1 = 0 ;
213669  PyObject * obj0 = 0 ;
213670 
213671  if (!PyArg_ParseTuple(args,(char *)"O:delete_PhysicsNeuralModule",&obj0)) SWIG_fail;
213672  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, SWIG_POINTER_DISOWN | 0 );
213673  if (!SWIG_IsOK(res1)) {
213674  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PhysicsNeuralModule" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
213675  }
213676  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
213677  {
213678  try {
213679  delete arg1;
213680  }
213681  catch(CStdErrorInfo oError)
213682  {
213683  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213684  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213685  PyErr_SetString(PyExc_IndexError, strError.c_str());
213686  SWIG_fail;
213687  }
213688  catch(...)
213689  {
213690  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213691  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213692  SWIG_fail;
213693  }
213694  }
213695  resultobj = SWIG_Py_Void();
213696  return resultobj;
213697 fail:
213698  return NULL;
213699 }
213700 
213701 
213702 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213703  PyObject *resultobj = 0;
213705  void *argp1 = 0 ;
213706  int res1 = 0 ;
213707  PyObject * obj0 = 0 ;
213709 
213710  if (!PyArg_ParseTuple(args,(char *)"O:PhysicsNeuralModule_CastToDerived",&obj0)) SWIG_fail;
213711  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
213712  if (!SWIG_IsOK(res1)) {
213713  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
213714  }
213715  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
213716  {
213717  try {
213718  result = (AnimatSim::Behavior::PhysicsNeuralModule *)AnimatSim::Behavior::PhysicsNeuralModule::CastToDerived(arg1);
213719  }
213720  catch(CStdErrorInfo oError)
213721  {
213722  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213723  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213724  PyErr_SetString(PyExc_IndexError, strError.c_str());
213725  SWIG_fail;
213726  }
213727  catch(...)
213728  {
213729  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213730  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213731  SWIG_fail;
213732  }
213733  }
213734  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
213735  return resultobj;
213736 fail:
213737  return NULL;
213738 }
213739 
213740 
213741 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_TimeStep__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213742  PyObject *resultobj = 0;
213744  void *argp1 = 0 ;
213745  int res1 = 0 ;
213746  PyObject * obj0 = 0 ;
213747  float result;
213748 
213749  if (!PyArg_ParseTuple(args,(char *)"O:PhysicsNeuralModule_TimeStep",&obj0)) SWIG_fail;
213750  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
213751  if (!SWIG_IsOK(res1)) {
213752  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_TimeStep" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
213753  }
213754  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
213755  {
213756  try {
213757  result = (float)(arg1)->TimeStep();
213758  }
213759  catch(CStdErrorInfo oError)
213760  {
213761  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213762  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213763  PyErr_SetString(PyExc_IndexError, strError.c_str());
213764  SWIG_fail;
213765  }
213766  catch(...)
213767  {
213768  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213769  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213770  SWIG_fail;
213771  }
213772  }
213773  resultobj = SWIG_From_float(static_cast< float >(result));
213774  return resultobj;
213775 fail:
213776  return NULL;
213777 }
213778 
213779 
213780 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_TimeStep__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213781  PyObject *resultobj = 0;
213783  float arg2 ;
213784  void *argp1 = 0 ;
213785  int res1 = 0 ;
213786  float val2 ;
213787  int ecode2 = 0 ;
213788  PyObject * obj0 = 0 ;
213789  PyObject * obj1 = 0 ;
213790 
213791  if (!PyArg_ParseTuple(args,(char *)"OO:PhysicsNeuralModule_TimeStep",&obj0,&obj1)) SWIG_fail;
213792  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
213793  if (!SWIG_IsOK(res1)) {
213794  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_TimeStep" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
213795  }
213796  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
213797  ecode2 = SWIG_AsVal_float(obj1, &val2);
213798  if (!SWIG_IsOK(ecode2)) {
213799  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PhysicsNeuralModule_TimeStep" "', argument " "2"" of type '" "float""'");
213800  }
213801  arg2 = static_cast< float >(val2);
213802  {
213803  try {
213804  (arg1)->TimeStep(arg2);
213805  }
213806  catch(CStdErrorInfo oError)
213807  {
213808  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213809  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213810  PyErr_SetString(PyExc_IndexError, strError.c_str());
213811  SWIG_fail;
213812  }
213813  catch(...)
213814  {
213815  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213816  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213817  SWIG_fail;
213818  }
213819  }
213820  resultobj = SWIG_Py_Void();
213821  return resultobj;
213822 fail:
213823  return NULL;
213824 }
213825 
213826 
213827 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_TimeStep(PyObject *self, PyObject *args) {
213828  int argc;
213829  PyObject *argv[3];
213830  int ii;
213831 
213832  if (!PyTuple_Check(args)) SWIG_fail;
213833  argc = args ? (int)PyObject_Length(args) : 0;
213834  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
213835  argv[ii] = PyTuple_GET_ITEM(args,ii);
213836  }
213837  if (argc == 1) {
213838  int _v;
213839  void *vptr = 0;
213840  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0);
213841  _v = SWIG_CheckState(res);
213842  if (_v) {
213843  return _wrap_PhysicsNeuralModule_TimeStep__SWIG_0(self, args);
213844  }
213845  }
213846  if (argc == 2) {
213847  int _v;
213848  void *vptr = 0;
213849  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0);
213850  _v = SWIG_CheckState(res);
213851  if (_v) {
213852  {
213853  int res = SWIG_AsVal_float(argv[1], NULL);
213854  _v = SWIG_CheckState(res);
213855  }
213856  if (_v) {
213857  return _wrap_PhysicsNeuralModule_TimeStep__SWIG_1(self, args);
213858  }
213859  }
213860  }
213861 
213862 fail:
213863  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PhysicsNeuralModule_TimeStep'.\n"
213864  " Possible C/C++ prototypes are:\n"
213865  " AnimatSim::Behavior::PhysicsNeuralModule::TimeStep()\n"
213866  " AnimatSim::Behavior::PhysicsNeuralModule::TimeStep(float)\n");
213867  return 0;
213868 }
213869 
213870 
213871 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_ModuleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213872  PyObject *resultobj = 0;
213874  void *argp1 = 0 ;
213875  int res1 = 0 ;
213876  PyObject * obj0 = 0 ;
213877  std::string result;
213878 
213879  if (!PyArg_ParseTuple(args,(char *)"O:PhysicsNeuralModule_ModuleName",&obj0)) SWIG_fail;
213880  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
213881  if (!SWIG_IsOK(res1)) {
213882  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_ModuleName" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
213883  }
213884  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
213885  {
213886  try {
213887  result = (arg1)->ModuleName();
213888  }
213889  catch(CStdErrorInfo oError)
213890  {
213891  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213892  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213893  PyErr_SetString(PyExc_IndexError, strError.c_str());
213894  SWIG_fail;
213895  }
213896  catch(...)
213897  {
213898  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213899  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213900  SWIG_fail;
213901  }
213902  }
213903  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
213904  return resultobj;
213905 fail:
213906  return NULL;
213907 }
213908 
213909 
213910 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_AddAdapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213911  PyObject *resultobj = 0;
213913  std::string arg2 ;
213914  bool arg3 ;
213915  void *argp1 = 0 ;
213916  int res1 = 0 ;
213917  bool val3 ;
213918  int ecode3 = 0 ;
213919  PyObject * obj0 = 0 ;
213920  PyObject * obj1 = 0 ;
213921  PyObject * obj2 = 0 ;
213922 
213923  if (!PyArg_ParseTuple(args,(char *)"OOO:PhysicsNeuralModule_AddAdapter",&obj0,&obj1,&obj2)) SWIG_fail;
213924  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
213925  if (!SWIG_IsOK(res1)) {
213926  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_AddAdapter" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
213927  }
213928  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
213929  {
213930  std::string *ptr = (std::string *)0;
213931  int res = SWIG_AsPtr_std_string(obj1, &ptr);
213932  if (!SWIG_IsOK(res) || !ptr) {
213933  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "PhysicsNeuralModule_AddAdapter" "', argument " "2"" of type '" "std::string""'");
213934  }
213935  arg2 = *ptr;
213936  if (SWIG_IsNewObj(res)) delete ptr;
213937  }
213938  ecode3 = SWIG_AsVal_bool(obj2, &val3);
213939  if (!SWIG_IsOK(ecode3)) {
213940  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PhysicsNeuralModule_AddAdapter" "', argument " "3"" of type '" "bool""'");
213941  }
213942  arg3 = static_cast< bool >(val3);
213943  {
213944  try {
213945  (arg1)->AddAdapter(arg2,arg3);
213946  }
213947  catch(CStdErrorInfo oError)
213948  {
213949  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213950  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
213951  PyErr_SetString(PyExc_IndexError, strError.c_str());
213952  SWIG_fail;
213953  }
213954  catch(...)
213955  {
213956  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213957  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
213958  SWIG_fail;
213959  }
213960  }
213961  resultobj = SWIG_Py_Void();
213962  return resultobj;
213963 fail:
213964  return NULL;
213965 }
213966 
213967 
213968 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_RemoveAdapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
213969  PyObject *resultobj = 0;
213971  std::string arg2 ;
213972  void *argp1 = 0 ;
213973  int res1 = 0 ;
213974  PyObject * obj0 = 0 ;
213975  PyObject * obj1 = 0 ;
213976 
213977  if (!PyArg_ParseTuple(args,(char *)"OO:PhysicsNeuralModule_RemoveAdapter",&obj0,&obj1)) SWIG_fail;
213978  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
213979  if (!SWIG_IsOK(res1)) {
213980  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_RemoveAdapter" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
213981  }
213982  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
213983  {
213984  std::string *ptr = (std::string *)0;
213985  int res = SWIG_AsPtr_std_string(obj1, &ptr);
213986  if (!SWIG_IsOK(res) || !ptr) {
213987  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "PhysicsNeuralModule_RemoveAdapter" "', argument " "2"" of type '" "std::string""'");
213988  }
213989  arg2 = *ptr;
213990  if (SWIG_IsNewObj(res)) delete ptr;
213991  }
213992  {
213993  try {
213994  (arg1)->RemoveAdapter(arg2);
213995  }
213996  catch(CStdErrorInfo oError)
213997  {
213998  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
213999  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
214000  PyErr_SetString(PyExc_IndexError, strError.c_str());
214001  SWIG_fail;
214002  }
214003  catch(...)
214004  {
214005  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214006  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
214007  SWIG_fail;
214008  }
214009  }
214010  resultobj = SWIG_Py_Void();
214011  return resultobj;
214012 fail:
214013  return NULL;
214014 }
214015 
214016 
214017 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_FindAdapterListPos__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
214018  PyObject *resultobj = 0;
214020  std::string arg2 ;
214021  bool arg3 ;
214022  void *argp1 = 0 ;
214023  int res1 = 0 ;
214024  bool val3 ;
214025  int ecode3 = 0 ;
214026  PyObject * obj0 = 0 ;
214027  PyObject * obj1 = 0 ;
214028  PyObject * obj2 = 0 ;
214029  int result;
214030 
214031  if (!PyArg_ParseTuple(args,(char *)"OOO:PhysicsNeuralModule_FindAdapterListPos",&obj0,&obj1,&obj2)) SWIG_fail;
214032  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
214033  if (!SWIG_IsOK(res1)) {
214034  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_FindAdapterListPos" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
214035  }
214036  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
214037  {
214038  std::string *ptr = (std::string *)0;
214039  int res = SWIG_AsPtr_std_string(obj1, &ptr);
214040  if (!SWIG_IsOK(res) || !ptr) {
214041  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "PhysicsNeuralModule_FindAdapterListPos" "', argument " "2"" of type '" "std::string""'");
214042  }
214043  arg2 = *ptr;
214044  if (SWIG_IsNewObj(res)) delete ptr;
214045  }
214046  ecode3 = SWIG_AsVal_bool(obj2, &val3);
214047  if (!SWIG_IsOK(ecode3)) {
214048  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PhysicsNeuralModule_FindAdapterListPos" "', argument " "3"" of type '" "bool""'");
214049  }
214050  arg3 = static_cast< bool >(val3);
214051  {
214052  try {
214053  result = (int)(arg1)->FindAdapterListPos(arg2,arg3);
214054  }
214055  catch(CStdErrorInfo oError)
214056  {
214057  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214058  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
214059  PyErr_SetString(PyExc_IndexError, strError.c_str());
214060  SWIG_fail;
214061  }
214062  catch(...)
214063  {
214064  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214065  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
214066  SWIG_fail;
214067  }
214068  }
214069  resultobj = SWIG_From_int(static_cast< int >(result));
214070  return resultobj;
214071 fail:
214072  return NULL;
214073 }
214074 
214075 
214076 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_FindAdapterListPos__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
214077  PyObject *resultobj = 0;
214079  std::string arg2 ;
214080  void *argp1 = 0 ;
214081  int res1 = 0 ;
214082  PyObject * obj0 = 0 ;
214083  PyObject * obj1 = 0 ;
214084  int result;
214085 
214086  if (!PyArg_ParseTuple(args,(char *)"OO:PhysicsNeuralModule_FindAdapterListPos",&obj0,&obj1)) SWIG_fail;
214087  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
214088  if (!SWIG_IsOK(res1)) {
214089  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_FindAdapterListPos" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
214090  }
214091  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
214092  {
214093  std::string *ptr = (std::string *)0;
214094  int res = SWIG_AsPtr_std_string(obj1, &ptr);
214095  if (!SWIG_IsOK(res) || !ptr) {
214096  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "PhysicsNeuralModule_FindAdapterListPos" "', argument " "2"" of type '" "std::string""'");
214097  }
214098  arg2 = *ptr;
214099  if (SWIG_IsNewObj(res)) delete ptr;
214100  }
214101  {
214102  try {
214103  result = (int)(arg1)->FindAdapterListPos(arg2);
214104  }
214105  catch(CStdErrorInfo oError)
214106  {
214107  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214108  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
214109  PyErr_SetString(PyExc_IndexError, strError.c_str());
214110  SWIG_fail;
214111  }
214112  catch(...)
214113  {
214114  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214115  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
214116  SWIG_fail;
214117  }
214118  }
214119  resultobj = SWIG_From_int(static_cast< int >(result));
214120  return resultobj;
214121 fail:
214122  return NULL;
214123 }
214124 
214125 
214126 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_FindAdapterListPos(PyObject *self, PyObject *args) {
214127  int argc;
214128  PyObject *argv[4];
214129  int ii;
214130 
214131  if (!PyTuple_Check(args)) SWIG_fail;
214132  argc = args ? (int)PyObject_Length(args) : 0;
214133  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
214134  argv[ii] = PyTuple_GET_ITEM(args,ii);
214135  }
214136  if (argc == 2) {
214137  int _v;
214138  void *vptr = 0;
214139  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0);
214140  _v = SWIG_CheckState(res);
214141  if (_v) {
214142  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
214143  _v = SWIG_CheckState(res);
214144  if (_v) {
214145  return _wrap_PhysicsNeuralModule_FindAdapterListPos__SWIG_1(self, args);
214146  }
214147  }
214148  }
214149  if (argc == 3) {
214150  int _v;
214151  void *vptr = 0;
214152  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0);
214153  _v = SWIG_CheckState(res);
214154  if (_v) {
214155  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
214156  _v = SWIG_CheckState(res);
214157  if (_v) {
214158  {
214159  int res = SWIG_AsVal_bool(argv[2], NULL);
214160  _v = SWIG_CheckState(res);
214161  }
214162  if (_v) {
214163  return _wrap_PhysicsNeuralModule_FindAdapterListPos__SWIG_0(self, args);
214164  }
214165  }
214166  }
214167  }
214168 
214169 fail:
214170  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PhysicsNeuralModule_FindAdapterListPos'.\n"
214171  " Possible C/C++ prototypes are:\n"
214172  " AnimatSim::Behavior::PhysicsNeuralModule::FindAdapterListPos(std::string,bool)\n"
214173  " AnimatSim::Behavior::PhysicsNeuralModule::FindAdapterListPos(std::string)\n");
214174  return 0;
214175 }
214176 
214177 
214178 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_Kill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
214179  PyObject *resultobj = 0;
214181  bool arg2 ;
214182  void *argp1 = 0 ;
214183  int res1 = 0 ;
214184  bool val2 ;
214185  int ecode2 = 0 ;
214186  PyObject * obj0 = 0 ;
214187  PyObject * obj1 = 0 ;
214188 
214189  if (!PyArg_ParseTuple(args,(char *)"OO:PhysicsNeuralModule_Kill",&obj0,&obj1)) SWIG_fail;
214190  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
214191  if (!SWIG_IsOK(res1)) {
214192  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_Kill" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
214193  }
214194  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
214195  ecode2 = SWIG_AsVal_bool(obj1, &val2);
214196  if (!SWIG_IsOK(ecode2)) {
214197  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PhysicsNeuralModule_Kill" "', argument " "2"" of type '" "bool""'");
214198  }
214199  arg2 = static_cast< bool >(val2);
214200  {
214201  try {
214202  (arg1)->Kill(arg2);
214203  }
214204  catch(CStdErrorInfo oError)
214205  {
214206  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214207  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
214208  PyErr_SetString(PyExc_IndexError, strError.c_str());
214209  SWIG_fail;
214210  }
214211  catch(...)
214212  {
214213  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214214  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
214215  SWIG_fail;
214216  }
214217  }
214218  resultobj = SWIG_Py_Void();
214219  return resultobj;
214220 fail:
214221  return NULL;
214222 }
214223 
214224 
214225 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_Kill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
214226  PyObject *resultobj = 0;
214228  void *argp1 = 0 ;
214229  int res1 = 0 ;
214230  PyObject * obj0 = 0 ;
214231 
214232  if (!PyArg_ParseTuple(args,(char *)"O:PhysicsNeuralModule_Kill",&obj0)) SWIG_fail;
214233  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
214234  if (!SWIG_IsOK(res1)) {
214235  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_Kill" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
214236  }
214237  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
214238  {
214239  try {
214240  (arg1)->Kill();
214241  }
214242  catch(CStdErrorInfo oError)
214243  {
214244  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214245  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
214246  PyErr_SetString(PyExc_IndexError, strError.c_str());
214247  SWIG_fail;
214248  }
214249  catch(...)
214250  {
214251  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214252  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
214253  SWIG_fail;
214254  }
214255  }
214256  resultobj = SWIG_Py_Void();
214257  return resultobj;
214258 fail:
214259  return NULL;
214260 }
214261 
214262 
214263 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_Kill(PyObject *self, PyObject *args) {
214264  int argc;
214265  PyObject *argv[3];
214266  int ii;
214267 
214268  if (!PyTuple_Check(args)) SWIG_fail;
214269  argc = args ? (int)PyObject_Length(args) : 0;
214270  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
214271  argv[ii] = PyTuple_GET_ITEM(args,ii);
214272  }
214273  if (argc == 1) {
214274  int _v;
214275  void *vptr = 0;
214276  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0);
214277  _v = SWIG_CheckState(res);
214278  if (_v) {
214279  return _wrap_PhysicsNeuralModule_Kill__SWIG_1(self, args);
214280  }
214281  }
214282  if (argc == 2) {
214283  int _v;
214284  void *vptr = 0;
214285  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0);
214286  _v = SWIG_CheckState(res);
214287  if (_v) {
214288  {
214289  int res = SWIG_AsVal_bool(argv[1], NULL);
214290  _v = SWIG_CheckState(res);
214291  }
214292  if (_v) {
214293  return _wrap_PhysicsNeuralModule_Kill__SWIG_0(self, args);
214294  }
214295  }
214296  }
214297 
214298 fail:
214299  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PhysicsNeuralModule_Kill'.\n"
214300  " Possible C/C++ prototypes are:\n"
214301  " AnimatSim::Behavior::PhysicsNeuralModule::Kill(bool)\n"
214302  " AnimatSim::Behavior::PhysicsNeuralModule::Kill()\n");
214303  return 0;
214304 }
214305 
214306 
214307 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
214308  PyObject *resultobj = 0;
214310  void *argp1 = 0 ;
214311  int res1 = 0 ;
214312  PyObject * obj0 = 0 ;
214313 
214314  if (!PyArg_ParseTuple(args,(char *)"O:PhysicsNeuralModule_Initialize",&obj0)) SWIG_fail;
214315  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
214316  if (!SWIG_IsOK(res1)) {
214317  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_Initialize" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
214318  }
214319  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
214320  {
214321  try {
214322  (arg1)->Initialize();
214323  }
214324  catch(CStdErrorInfo oError)
214325  {
214326  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214327  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
214328  PyErr_SetString(PyExc_IndexError, strError.c_str());
214329  SWIG_fail;
214330  }
214331  catch(...)
214332  {
214333  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214334  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
214335  SWIG_fail;
214336  }
214337  }
214338  resultobj = SWIG_Py_Void();
214339  return resultobj;
214340 fail:
214341  return NULL;
214342 }
214343 
214344 
214345 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
214346  PyObject *resultobj = 0;
214348  void *argp1 = 0 ;
214349  int res1 = 0 ;
214350  PyObject * obj0 = 0 ;
214351 
214352  if (!PyArg_ParseTuple(args,(char *)"O:PhysicsNeuralModule_ResetSimulation",&obj0)) SWIG_fail;
214353  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
214354  if (!SWIG_IsOK(res1)) {
214355  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
214356  }
214357  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
214358  {
214359  try {
214360  (arg1)->ResetSimulation();
214361  }
214362  catch(CStdErrorInfo oError)
214363  {
214364  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214365  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
214366  PyErr_SetString(PyExc_IndexError, strError.c_str());
214367  SWIG_fail;
214368  }
214369  catch(...)
214370  {
214371  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214372  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
214373  SWIG_fail;
214374  }
214375  }
214376  resultobj = SWIG_Py_Void();
214377  return resultobj;
214378 fail:
214379  return NULL;
214380 }
214381 
214382 
214383 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
214384  PyObject *resultobj = 0;
214386  CStdXml *arg2 = 0 ;
214387  void *argp1 = 0 ;
214388  int res1 = 0 ;
214389  void *argp2 = 0 ;
214390  int res2 = 0 ;
214391  PyObject * obj0 = 0 ;
214392  PyObject * obj1 = 0 ;
214393 
214394  if (!PyArg_ParseTuple(args,(char *)"OO:PhysicsNeuralModule_Load",&obj0,&obj1)) SWIG_fail;
214395  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
214396  if (!SWIG_IsOK(res1)) {
214397  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_Load" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
214398  }
214399  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
214400  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
214401  if (!SWIG_IsOK(res2)) {
214402  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PhysicsNeuralModule_Load" "', argument " "2"" of type '" "CStdXml &""'");
214403  }
214404  if (!argp2) {
214405  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_Load" "', argument " "2"" of type '" "CStdXml &""'");
214406  }
214407  arg2 = reinterpret_cast< CStdXml * >(argp2);
214408  {
214409  try {
214410  (arg1)->Load(*arg2);
214411  }
214412  catch(CStdErrorInfo oError)
214413  {
214414  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214415  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
214416  PyErr_SetString(PyExc_IndexError, strError.c_str());
214417  SWIG_fail;
214418  }
214419  catch(...)
214420  {
214421  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214422  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
214423  SWIG_fail;
214424  }
214425  }
214426  resultobj = SWIG_Py_Void();
214427  return resultobj;
214428 fail:
214429  return NULL;
214430 }
214431 
214432 
214433 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
214434  PyObject *resultobj = 0;
214436  std::string *arg2 = 0 ;
214437  std::string *arg3 = 0 ;
214438  bool arg4 ;
214439  void *argp1 = 0 ;
214440  int res1 = 0 ;
214441  int res2 = SWIG_OLDOBJ ;
214442  int res3 = SWIG_OLDOBJ ;
214443  bool val4 ;
214444  int ecode4 = 0 ;
214445  PyObject * obj0 = 0 ;
214446  PyObject * obj1 = 0 ;
214447  PyObject * obj2 = 0 ;
214448  PyObject * obj3 = 0 ;
214449  bool result;
214450 
214451  if (!PyArg_ParseTuple(args,(char *)"OOOO:PhysicsNeuralModule_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
214452  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
214453  if (!SWIG_IsOK(res1)) {
214454  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_SetData" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
214455  }
214456  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
214457  {
214458  std::string *ptr = (std::string *)0;
214459  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
214460  if (!SWIG_IsOK(res2)) {
214461  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PhysicsNeuralModule_SetData" "', argument " "2"" of type '" "std::string const &""'");
214462  }
214463  if (!ptr) {
214464  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_SetData" "', argument " "2"" of type '" "std::string const &""'");
214465  }
214466  arg2 = ptr;
214467  }
214468  {
214469  std::string *ptr = (std::string *)0;
214470  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
214471  if (!SWIG_IsOK(res3)) {
214472  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PhysicsNeuralModule_SetData" "', argument " "3"" of type '" "std::string const &""'");
214473  }
214474  if (!ptr) {
214475  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_SetData" "', argument " "3"" of type '" "std::string const &""'");
214476  }
214477  arg3 = ptr;
214478  }
214479  ecode4 = SWIG_AsVal_bool(obj3, &val4);
214480  if (!SWIG_IsOK(ecode4)) {
214481  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PhysicsNeuralModule_SetData" "', argument " "4"" of type '" "bool""'");
214482  }
214483  arg4 = static_cast< bool >(val4);
214484  {
214485  try {
214486  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
214487  }
214488  catch(CStdErrorInfo oError)
214489  {
214490  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214491  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
214492  PyErr_SetString(PyExc_IndexError, strError.c_str());
214493  SWIG_fail;
214494  }
214495  catch(...)
214496  {
214497  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214498  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
214499  SWIG_fail;
214500  }
214501  }
214502  resultobj = SWIG_From_bool(static_cast< bool >(result));
214503  if (SWIG_IsNewObj(res2)) delete arg2;
214504  if (SWIG_IsNewObj(res3)) delete arg3;
214505  return resultobj;
214506 fail:
214507  if (SWIG_IsNewObj(res2)) delete arg2;
214508  if (SWIG_IsNewObj(res3)) delete arg3;
214509  return NULL;
214510 }
214511 
214512 
214513 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
214514  PyObject *resultobj = 0;
214516  std::string *arg2 = 0 ;
214517  std::string *arg3 = 0 ;
214518  void *argp1 = 0 ;
214519  int res1 = 0 ;
214520  int res2 = SWIG_OLDOBJ ;
214521  int res3 = SWIG_OLDOBJ ;
214522  PyObject * obj0 = 0 ;
214523  PyObject * obj1 = 0 ;
214524  PyObject * obj2 = 0 ;
214525  bool result;
214526 
214527  if (!PyArg_ParseTuple(args,(char *)"OOO:PhysicsNeuralModule_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
214528  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
214529  if (!SWIG_IsOK(res1)) {
214530  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_SetData" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
214531  }
214532  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
214533  {
214534  std::string *ptr = (std::string *)0;
214535  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
214536  if (!SWIG_IsOK(res2)) {
214537  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PhysicsNeuralModule_SetData" "', argument " "2"" of type '" "std::string const &""'");
214538  }
214539  if (!ptr) {
214540  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_SetData" "', argument " "2"" of type '" "std::string const &""'");
214541  }
214542  arg2 = ptr;
214543  }
214544  {
214545  std::string *ptr = (std::string *)0;
214546  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
214547  if (!SWIG_IsOK(res3)) {
214548  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PhysicsNeuralModule_SetData" "', argument " "3"" of type '" "std::string const &""'");
214549  }
214550  if (!ptr) {
214551  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_SetData" "', argument " "3"" of type '" "std::string const &""'");
214552  }
214553  arg3 = ptr;
214554  }
214555  {
214556  try {
214557  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
214558  }
214559  catch(CStdErrorInfo oError)
214560  {
214561  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214562  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
214563  PyErr_SetString(PyExc_IndexError, strError.c_str());
214564  SWIG_fail;
214565  }
214566  catch(...)
214567  {
214568  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214569  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
214570  SWIG_fail;
214571  }
214572  }
214573  resultobj = SWIG_From_bool(static_cast< bool >(result));
214574  if (SWIG_IsNewObj(res2)) delete arg2;
214575  if (SWIG_IsNewObj(res3)) delete arg3;
214576  return resultobj;
214577 fail:
214578  if (SWIG_IsNewObj(res2)) delete arg2;
214579  if (SWIG_IsNewObj(res3)) delete arg3;
214580  return NULL;
214581 }
214582 
214583 
214584 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_SetData(PyObject *self, PyObject *args) {
214585  int argc;
214586  PyObject *argv[5];
214587  int ii;
214588 
214589  if (!PyTuple_Check(args)) SWIG_fail;
214590  argc = args ? (int)PyObject_Length(args) : 0;
214591  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
214592  argv[ii] = PyTuple_GET_ITEM(args,ii);
214593  }
214594  if (argc == 3) {
214595  int _v;
214596  void *vptr = 0;
214597  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0);
214598  _v = SWIG_CheckState(res);
214599  if (_v) {
214600  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
214601  _v = SWIG_CheckState(res);
214602  if (_v) {
214603  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
214604  _v = SWIG_CheckState(res);
214605  if (_v) {
214606  return _wrap_PhysicsNeuralModule_SetData__SWIG_1(self, args);
214607  }
214608  }
214609  }
214610  }
214611  if (argc == 4) {
214612  int _v;
214613  void *vptr = 0;
214614  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0);
214615  _v = SWIG_CheckState(res);
214616  if (_v) {
214617  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
214618  _v = SWIG_CheckState(res);
214619  if (_v) {
214620  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
214621  _v = SWIG_CheckState(res);
214622  if (_v) {
214623  {
214624  int res = SWIG_AsVal_bool(argv[3], NULL);
214625  _v = SWIG_CheckState(res);
214626  }
214627  if (_v) {
214628  return _wrap_PhysicsNeuralModule_SetData__SWIG_0(self, args);
214629  }
214630  }
214631  }
214632  }
214633  }
214634 
214635 fail:
214636  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PhysicsNeuralModule_SetData'.\n"
214637  " Possible C/C++ prototypes are:\n"
214638  " AnimatSim::Behavior::PhysicsNeuralModule::SetData(std::string const &,std::string const &,bool)\n"
214639  " AnimatSim::Behavior::PhysicsNeuralModule::SetData(std::string const &,std::string const &)\n");
214640  return 0;
214641 }
214642 
214643 
214644 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
214645  PyObject *resultobj = 0;
214647  CStdPtrArray< TypeProperty > *arg2 = 0 ;
214648  void *argp1 = 0 ;
214649  int res1 = 0 ;
214650  void *argp2 = 0 ;
214651  int res2 = 0 ;
214652  PyObject * obj0 = 0 ;
214653  PyObject * obj1 = 0 ;
214654 
214655  if (!PyArg_ParseTuple(args,(char *)"OO:PhysicsNeuralModule_QueryProperties",&obj0,&obj1)) SWIG_fail;
214656  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
214657  if (!SWIG_IsOK(res1)) {
214658  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
214659  }
214660  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
214661  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
214662  if (!SWIG_IsOK(res2)) {
214663  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PhysicsNeuralModule_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
214664  }
214665  if (!argp2) {
214666  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
214667  }
214668  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
214669  {
214670  try {
214671  (arg1)->QueryProperties(*arg2);
214672  }
214673  catch(CStdErrorInfo oError)
214674  {
214675  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214676  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
214677  PyErr_SetString(PyExc_IndexError, strError.c_str());
214678  SWIG_fail;
214679  }
214680  catch(...)
214681  {
214682  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214683  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
214684  SWIG_fail;
214685  }
214686  }
214687  resultobj = SWIG_Py_Void();
214688  return resultobj;
214689 fail:
214690  return NULL;
214691 }
214692 
214693 
214694 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
214695  PyObject *resultobj = 0;
214697  std::string *arg2 = 0 ;
214698  std::string *arg3 = 0 ;
214699  bool arg4 ;
214700  bool arg5 ;
214701  void *argp1 = 0 ;
214702  int res1 = 0 ;
214703  int res2 = SWIG_OLDOBJ ;
214704  int res3 = SWIG_OLDOBJ ;
214705  bool val4 ;
214706  int ecode4 = 0 ;
214707  bool val5 ;
214708  int ecode5 = 0 ;
214709  PyObject * obj0 = 0 ;
214710  PyObject * obj1 = 0 ;
214711  PyObject * obj2 = 0 ;
214712  PyObject * obj3 = 0 ;
214713  PyObject * obj4 = 0 ;
214714  bool result;
214715 
214716  if (!PyArg_ParseTuple(args,(char *)"OOOOO:PhysicsNeuralModule_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
214717  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
214718  if (!SWIG_IsOK(res1)) {
214719  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_AddItem" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
214720  }
214721  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
214722  {
214723  std::string *ptr = (std::string *)0;
214724  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
214725  if (!SWIG_IsOK(res2)) {
214726  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PhysicsNeuralModule_AddItem" "', argument " "2"" of type '" "std::string const &""'");
214727  }
214728  if (!ptr) {
214729  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_AddItem" "', argument " "2"" of type '" "std::string const &""'");
214730  }
214731  arg2 = ptr;
214732  }
214733  {
214734  std::string *ptr = (std::string *)0;
214735  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
214736  if (!SWIG_IsOK(res3)) {
214737  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PhysicsNeuralModule_AddItem" "', argument " "3"" of type '" "std::string const &""'");
214738  }
214739  if (!ptr) {
214740  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_AddItem" "', argument " "3"" of type '" "std::string const &""'");
214741  }
214742  arg3 = ptr;
214743  }
214744  ecode4 = SWIG_AsVal_bool(obj3, &val4);
214745  if (!SWIG_IsOK(ecode4)) {
214746  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PhysicsNeuralModule_AddItem" "', argument " "4"" of type '" "bool""'");
214747  }
214748  arg4 = static_cast< bool >(val4);
214749  ecode5 = SWIG_AsVal_bool(obj4, &val5);
214750  if (!SWIG_IsOK(ecode5)) {
214751  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PhysicsNeuralModule_AddItem" "', argument " "5"" of type '" "bool""'");
214752  }
214753  arg5 = static_cast< bool >(val5);
214754  {
214755  try {
214756  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
214757  }
214758  catch(CStdErrorInfo oError)
214759  {
214760  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214761  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
214762  PyErr_SetString(PyExc_IndexError, strError.c_str());
214763  SWIG_fail;
214764  }
214765  catch(...)
214766  {
214767  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214768  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
214769  SWIG_fail;
214770  }
214771  }
214772  resultobj = SWIG_From_bool(static_cast< bool >(result));
214773  if (SWIG_IsNewObj(res2)) delete arg2;
214774  if (SWIG_IsNewObj(res3)) delete arg3;
214775  return resultobj;
214776 fail:
214777  if (SWIG_IsNewObj(res2)) delete arg2;
214778  if (SWIG_IsNewObj(res3)) delete arg3;
214779  return NULL;
214780 }
214781 
214782 
214783 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
214784  PyObject *resultobj = 0;
214786  std::string *arg2 = 0 ;
214787  std::string *arg3 = 0 ;
214788  bool arg4 ;
214789  void *argp1 = 0 ;
214790  int res1 = 0 ;
214791  int res2 = SWIG_OLDOBJ ;
214792  int res3 = SWIG_OLDOBJ ;
214793  bool val4 ;
214794  int ecode4 = 0 ;
214795  PyObject * obj0 = 0 ;
214796  PyObject * obj1 = 0 ;
214797  PyObject * obj2 = 0 ;
214798  PyObject * obj3 = 0 ;
214799  bool result;
214800 
214801  if (!PyArg_ParseTuple(args,(char *)"OOOO:PhysicsNeuralModule_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
214802  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
214803  if (!SWIG_IsOK(res1)) {
214804  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_AddItem" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
214805  }
214806  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
214807  {
214808  std::string *ptr = (std::string *)0;
214809  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
214810  if (!SWIG_IsOK(res2)) {
214811  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PhysicsNeuralModule_AddItem" "', argument " "2"" of type '" "std::string const &""'");
214812  }
214813  if (!ptr) {
214814  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_AddItem" "', argument " "2"" of type '" "std::string const &""'");
214815  }
214816  arg2 = ptr;
214817  }
214818  {
214819  std::string *ptr = (std::string *)0;
214820  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
214821  if (!SWIG_IsOK(res3)) {
214822  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PhysicsNeuralModule_AddItem" "', argument " "3"" of type '" "std::string const &""'");
214823  }
214824  if (!ptr) {
214825  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_AddItem" "', argument " "3"" of type '" "std::string const &""'");
214826  }
214827  arg3 = ptr;
214828  }
214829  ecode4 = SWIG_AsVal_bool(obj3, &val4);
214830  if (!SWIG_IsOK(ecode4)) {
214831  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PhysicsNeuralModule_AddItem" "', argument " "4"" of type '" "bool""'");
214832  }
214833  arg4 = static_cast< bool >(val4);
214834  {
214835  try {
214836  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
214837  }
214838  catch(CStdErrorInfo oError)
214839  {
214840  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214841  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
214842  PyErr_SetString(PyExc_IndexError, strError.c_str());
214843  SWIG_fail;
214844  }
214845  catch(...)
214846  {
214847  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214848  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
214849  SWIG_fail;
214850  }
214851  }
214852  resultobj = SWIG_From_bool(static_cast< bool >(result));
214853  if (SWIG_IsNewObj(res2)) delete arg2;
214854  if (SWIG_IsNewObj(res3)) delete arg3;
214855  return resultobj;
214856 fail:
214857  if (SWIG_IsNewObj(res2)) delete arg2;
214858  if (SWIG_IsNewObj(res3)) delete arg3;
214859  return NULL;
214860 }
214861 
214862 
214863 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
214864  PyObject *resultobj = 0;
214866  std::string *arg2 = 0 ;
214867  std::string *arg3 = 0 ;
214868  void *argp1 = 0 ;
214869  int res1 = 0 ;
214870  int res2 = SWIG_OLDOBJ ;
214871  int res3 = SWIG_OLDOBJ ;
214872  PyObject * obj0 = 0 ;
214873  PyObject * obj1 = 0 ;
214874  PyObject * obj2 = 0 ;
214875  bool result;
214876 
214877  if (!PyArg_ParseTuple(args,(char *)"OOO:PhysicsNeuralModule_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
214878  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
214879  if (!SWIG_IsOK(res1)) {
214880  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_AddItem" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
214881  }
214882  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
214883  {
214884  std::string *ptr = (std::string *)0;
214885  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
214886  if (!SWIG_IsOK(res2)) {
214887  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PhysicsNeuralModule_AddItem" "', argument " "2"" of type '" "std::string const &""'");
214888  }
214889  if (!ptr) {
214890  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_AddItem" "', argument " "2"" of type '" "std::string const &""'");
214891  }
214892  arg2 = ptr;
214893  }
214894  {
214895  std::string *ptr = (std::string *)0;
214896  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
214897  if (!SWIG_IsOK(res3)) {
214898  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PhysicsNeuralModule_AddItem" "', argument " "3"" of type '" "std::string const &""'");
214899  }
214900  if (!ptr) {
214901  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_AddItem" "', argument " "3"" of type '" "std::string const &""'");
214902  }
214903  arg3 = ptr;
214904  }
214905  {
214906  try {
214907  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
214908  }
214909  catch(CStdErrorInfo oError)
214910  {
214911  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214912  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
214913  PyErr_SetString(PyExc_IndexError, strError.c_str());
214914  SWIG_fail;
214915  }
214916  catch(...)
214917  {
214918  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
214919  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
214920  SWIG_fail;
214921  }
214922  }
214923  resultobj = SWIG_From_bool(static_cast< bool >(result));
214924  if (SWIG_IsNewObj(res2)) delete arg2;
214925  if (SWIG_IsNewObj(res3)) delete arg3;
214926  return resultobj;
214927 fail:
214928  if (SWIG_IsNewObj(res2)) delete arg2;
214929  if (SWIG_IsNewObj(res3)) delete arg3;
214930  return NULL;
214931 }
214932 
214933 
214934 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_AddItem(PyObject *self, PyObject *args) {
214935  int argc;
214936  PyObject *argv[6];
214937  int ii;
214938 
214939  if (!PyTuple_Check(args)) SWIG_fail;
214940  argc = args ? (int)PyObject_Length(args) : 0;
214941  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
214942  argv[ii] = PyTuple_GET_ITEM(args,ii);
214943  }
214944  if (argc == 3) {
214945  int _v;
214946  void *vptr = 0;
214947  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0);
214948  _v = SWIG_CheckState(res);
214949  if (_v) {
214950  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
214951  _v = SWIG_CheckState(res);
214952  if (_v) {
214953  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
214954  _v = SWIG_CheckState(res);
214955  if (_v) {
214956  return _wrap_PhysicsNeuralModule_AddItem__SWIG_2(self, args);
214957  }
214958  }
214959  }
214960  }
214961  if (argc == 4) {
214962  int _v;
214963  void *vptr = 0;
214964  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0);
214965  _v = SWIG_CheckState(res);
214966  if (_v) {
214967  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
214968  _v = SWIG_CheckState(res);
214969  if (_v) {
214970  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
214971  _v = SWIG_CheckState(res);
214972  if (_v) {
214973  {
214974  int res = SWIG_AsVal_bool(argv[3], NULL);
214975  _v = SWIG_CheckState(res);
214976  }
214977  if (_v) {
214978  return _wrap_PhysicsNeuralModule_AddItem__SWIG_1(self, args);
214979  }
214980  }
214981  }
214982  }
214983  }
214984  if (argc == 5) {
214985  int _v;
214986  void *vptr = 0;
214987  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0);
214988  _v = SWIG_CheckState(res);
214989  if (_v) {
214990  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
214991  _v = SWIG_CheckState(res);
214992  if (_v) {
214993  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
214994  _v = SWIG_CheckState(res);
214995  if (_v) {
214996  {
214997  int res = SWIG_AsVal_bool(argv[3], NULL);
214998  _v = SWIG_CheckState(res);
214999  }
215000  if (_v) {
215001  {
215002  int res = SWIG_AsVal_bool(argv[4], NULL);
215003  _v = SWIG_CheckState(res);
215004  }
215005  if (_v) {
215006  return _wrap_PhysicsNeuralModule_AddItem__SWIG_0(self, args);
215007  }
215008  }
215009  }
215010  }
215011  }
215012  }
215013 
215014 fail:
215015  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PhysicsNeuralModule_AddItem'.\n"
215016  " Possible C/C++ prototypes are:\n"
215017  " AnimatSim::Behavior::PhysicsNeuralModule::AddItem(std::string const &,std::string const &,bool,bool)\n"
215018  " AnimatSim::Behavior::PhysicsNeuralModule::AddItem(std::string const &,std::string const &,bool)\n"
215019  " AnimatSim::Behavior::PhysicsNeuralModule::AddItem(std::string const &,std::string const &)\n");
215020  return 0;
215021 }
215022 
215023 
215024 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215025  PyObject *resultobj = 0;
215027  std::string *arg2 = 0 ;
215028  std::string *arg3 = 0 ;
215029  bool arg4 ;
215030  void *argp1 = 0 ;
215031  int res1 = 0 ;
215032  int res2 = SWIG_OLDOBJ ;
215033  int res3 = SWIG_OLDOBJ ;
215034  bool val4 ;
215035  int ecode4 = 0 ;
215036  PyObject * obj0 = 0 ;
215037  PyObject * obj1 = 0 ;
215038  PyObject * obj2 = 0 ;
215039  PyObject * obj3 = 0 ;
215040  bool result;
215041 
215042  if (!PyArg_ParseTuple(args,(char *)"OOOO:PhysicsNeuralModule_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
215043  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
215044  if (!SWIG_IsOK(res1)) {
215045  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
215046  }
215047  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
215048  {
215049  std::string *ptr = (std::string *)0;
215050  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
215051  if (!SWIG_IsOK(res2)) {
215052  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PhysicsNeuralModule_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
215053  }
215054  if (!ptr) {
215055  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
215056  }
215057  arg2 = ptr;
215058  }
215059  {
215060  std::string *ptr = (std::string *)0;
215061  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
215062  if (!SWIG_IsOK(res3)) {
215063  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PhysicsNeuralModule_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
215064  }
215065  if (!ptr) {
215066  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
215067  }
215068  arg3 = ptr;
215069  }
215070  ecode4 = SWIG_AsVal_bool(obj3, &val4);
215071  if (!SWIG_IsOK(ecode4)) {
215072  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PhysicsNeuralModule_RemoveItem" "', argument " "4"" of type '" "bool""'");
215073  }
215074  arg4 = static_cast< bool >(val4);
215075  {
215076  try {
215077  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
215078  }
215079  catch(CStdErrorInfo oError)
215080  {
215081  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215082  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
215083  PyErr_SetString(PyExc_IndexError, strError.c_str());
215084  SWIG_fail;
215085  }
215086  catch(...)
215087  {
215088  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215089  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
215090  SWIG_fail;
215091  }
215092  }
215093  resultobj = SWIG_From_bool(static_cast< bool >(result));
215094  if (SWIG_IsNewObj(res2)) delete arg2;
215095  if (SWIG_IsNewObj(res3)) delete arg3;
215096  return resultobj;
215097 fail:
215098  if (SWIG_IsNewObj(res2)) delete arg2;
215099  if (SWIG_IsNewObj(res3)) delete arg3;
215100  return NULL;
215101 }
215102 
215103 
215104 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215105  PyObject *resultobj = 0;
215107  std::string *arg2 = 0 ;
215108  std::string *arg3 = 0 ;
215109  void *argp1 = 0 ;
215110  int res1 = 0 ;
215111  int res2 = SWIG_OLDOBJ ;
215112  int res3 = SWIG_OLDOBJ ;
215113  PyObject * obj0 = 0 ;
215114  PyObject * obj1 = 0 ;
215115  PyObject * obj2 = 0 ;
215116  bool result;
215117 
215118  if (!PyArg_ParseTuple(args,(char *)"OOO:PhysicsNeuralModule_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
215119  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
215120  if (!SWIG_IsOK(res1)) {
215121  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
215122  }
215123  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
215124  {
215125  std::string *ptr = (std::string *)0;
215126  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
215127  if (!SWIG_IsOK(res2)) {
215128  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PhysicsNeuralModule_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
215129  }
215130  if (!ptr) {
215131  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
215132  }
215133  arg2 = ptr;
215134  }
215135  {
215136  std::string *ptr = (std::string *)0;
215137  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
215138  if (!SWIG_IsOK(res3)) {
215139  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PhysicsNeuralModule_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
215140  }
215141  if (!ptr) {
215142  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
215143  }
215144  arg3 = ptr;
215145  }
215146  {
215147  try {
215148  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
215149  }
215150  catch(CStdErrorInfo oError)
215151  {
215152  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215153  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
215154  PyErr_SetString(PyExc_IndexError, strError.c_str());
215155  SWIG_fail;
215156  }
215157  catch(...)
215158  {
215159  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215160  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
215161  SWIG_fail;
215162  }
215163  }
215164  resultobj = SWIG_From_bool(static_cast< bool >(result));
215165  if (SWIG_IsNewObj(res2)) delete arg2;
215166  if (SWIG_IsNewObj(res3)) delete arg3;
215167  return resultobj;
215168 fail:
215169  if (SWIG_IsNewObj(res2)) delete arg2;
215170  if (SWIG_IsNewObj(res3)) delete arg3;
215171  return NULL;
215172 }
215173 
215174 
215175 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_RemoveItem(PyObject *self, PyObject *args) {
215176  int argc;
215177  PyObject *argv[5];
215178  int ii;
215179 
215180  if (!PyTuple_Check(args)) SWIG_fail;
215181  argc = args ? (int)PyObject_Length(args) : 0;
215182  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
215183  argv[ii] = PyTuple_GET_ITEM(args,ii);
215184  }
215185  if (argc == 3) {
215186  int _v;
215187  void *vptr = 0;
215188  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0);
215189  _v = SWIG_CheckState(res);
215190  if (_v) {
215191  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
215192  _v = SWIG_CheckState(res);
215193  if (_v) {
215194  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
215195  _v = SWIG_CheckState(res);
215196  if (_v) {
215197  return _wrap_PhysicsNeuralModule_RemoveItem__SWIG_1(self, args);
215198  }
215199  }
215200  }
215201  }
215202  if (argc == 4) {
215203  int _v;
215204  void *vptr = 0;
215205  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0);
215206  _v = SWIG_CheckState(res);
215207  if (_v) {
215208  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
215209  _v = SWIG_CheckState(res);
215210  if (_v) {
215211  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
215212  _v = SWIG_CheckState(res);
215213  if (_v) {
215214  {
215215  int res = SWIG_AsVal_bool(argv[3], NULL);
215216  _v = SWIG_CheckState(res);
215217  }
215218  if (_v) {
215219  return _wrap_PhysicsNeuralModule_RemoveItem__SWIG_0(self, args);
215220  }
215221  }
215222  }
215223  }
215224  }
215225 
215226 fail:
215227  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PhysicsNeuralModule_RemoveItem'.\n"
215228  " Possible C/C++ prototypes are:\n"
215229  " AnimatSim::Behavior::PhysicsNeuralModule::RemoveItem(std::string const &,std::string const &,bool)\n"
215230  " AnimatSim::Behavior::PhysicsNeuralModule::RemoveItem(std::string const &,std::string const &)\n");
215231  return 0;
215232 }
215233 
215234 
215235 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_CalculateSnapshotByteSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215236  PyObject *resultobj = 0;
215238  void *argp1 = 0 ;
215239  int res1 = 0 ;
215240  PyObject * obj0 = 0 ;
215241  long result;
215242 
215243  if (!PyArg_ParseTuple(args,(char *)"O:PhysicsNeuralModule_CalculateSnapshotByteSize",&obj0)) SWIG_fail;
215244  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
215245  if (!SWIG_IsOK(res1)) {
215246  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_CalculateSnapshotByteSize" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
215247  }
215248  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
215249  {
215250  try {
215251  result = (long)(arg1)->CalculateSnapshotByteSize();
215252  }
215253  catch(CStdErrorInfo oError)
215254  {
215255  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215256  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
215257  PyErr_SetString(PyExc_IndexError, strError.c_str());
215258  SWIG_fail;
215259  }
215260  catch(...)
215261  {
215262  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215263  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
215264  SWIG_fail;
215265  }
215266  }
215267  resultobj = SWIG_From_long(static_cast< long >(result));
215268  return resultobj;
215269 fail:
215270  return NULL;
215271 }
215272 
215273 
215274 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_SaveKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215275  PyObject *resultobj = 0;
215277  byte *arg2 = (byte *) 0 ;
215278  long *arg3 = 0 ;
215279  void *argp1 = 0 ;
215280  int res1 = 0 ;
215281  void *argp2 = 0 ;
215282  int res2 = 0 ;
215283  void *argp3 = 0 ;
215284  int res3 = 0 ;
215285  PyObject * obj0 = 0 ;
215286  PyObject * obj1 = 0 ;
215287  PyObject * obj2 = 0 ;
215288 
215289  if (!PyArg_ParseTuple(args,(char *)"OOO:PhysicsNeuralModule_SaveKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
215290  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
215291  if (!SWIG_IsOK(res1)) {
215292  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_SaveKeyFrameSnapshot" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
215293  }
215294  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
215295  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
215296  if (!SWIG_IsOK(res2)) {
215297  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PhysicsNeuralModule_SaveKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
215298  }
215299  arg2 = reinterpret_cast< byte * >(argp2);
215300  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
215301  if (!SWIG_IsOK(res3)) {
215302  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PhysicsNeuralModule_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
215303  }
215304  if (!argp3) {
215305  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
215306  }
215307  arg3 = reinterpret_cast< long * >(argp3);
215308  {
215309  try {
215310  (arg1)->SaveKeyFrameSnapshot(arg2,*arg3);
215311  }
215312  catch(CStdErrorInfo oError)
215313  {
215314  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215315  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
215316  PyErr_SetString(PyExc_IndexError, strError.c_str());
215317  SWIG_fail;
215318  }
215319  catch(...)
215320  {
215321  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215322  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
215323  SWIG_fail;
215324  }
215325  }
215326  resultobj = SWIG_Py_Void();
215327  return resultobj;
215328 fail:
215329  return NULL;
215330 }
215331 
215332 
215333 SWIGINTERN PyObject *_wrap_PhysicsNeuralModule_LoadKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215334  PyObject *resultobj = 0;
215336  byte *arg2 = (byte *) 0 ;
215337  long *arg3 = 0 ;
215338  void *argp1 = 0 ;
215339  int res1 = 0 ;
215340  void *argp2 = 0 ;
215341  int res2 = 0 ;
215342  void *argp3 = 0 ;
215343  int res3 = 0 ;
215344  PyObject * obj0 = 0 ;
215345  PyObject * obj1 = 0 ;
215346  PyObject * obj2 = 0 ;
215347 
215348  if (!PyArg_ParseTuple(args,(char *)"OOO:PhysicsNeuralModule_LoadKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
215349  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, 0 | 0 );
215350  if (!SWIG_IsOK(res1)) {
215351  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PhysicsNeuralModule_LoadKeyFrameSnapshot" "', argument " "1"" of type '" "AnimatSim::Behavior::PhysicsNeuralModule *""'");
215352  }
215353  arg1 = reinterpret_cast< AnimatSim::Behavior::PhysicsNeuralModule * >(argp1);
215354  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
215355  if (!SWIG_IsOK(res2)) {
215356  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PhysicsNeuralModule_LoadKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
215357  }
215358  arg2 = reinterpret_cast< byte * >(argp2);
215359  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
215360  if (!SWIG_IsOK(res3)) {
215361  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PhysicsNeuralModule_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
215362  }
215363  if (!argp3) {
215364  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PhysicsNeuralModule_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
215365  }
215366  arg3 = reinterpret_cast< long * >(argp3);
215367  {
215368  try {
215369  (arg1)->LoadKeyFrameSnapshot(arg2,*arg3);
215370  }
215371  catch(CStdErrorInfo oError)
215372  {
215373  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215374  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
215375  PyErr_SetString(PyExc_IndexError, strError.c_str());
215376  SWIG_fail;
215377  }
215378  catch(...)
215379  {
215380  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215381  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
215382  SWIG_fail;
215383  }
215384  }
215385  resultobj = SWIG_Py_Void();
215386  return resultobj;
215387 fail:
215388  return NULL;
215389 }
215390 
215391 
215392 SWIGINTERN PyObject *PhysicsNeuralModule_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215393  PyObject *obj;
215394  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
215395  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule, SWIG_NewClientData(obj));
215396  return SWIG_Py_Void();
215397 }
215398 
215399 SWIGINTERN PyObject *_wrap_new_Organism(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215400  PyObject *resultobj = 0;
215401  AnimatSim::Environment::Organism *result = 0 ;
215402 
215403  if (!PyArg_ParseTuple(args,(char *)":new_Organism")) SWIG_fail;
215404  {
215405  try {
215407  }
215408  catch(CStdErrorInfo oError)
215409  {
215410  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215411  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
215412  PyErr_SetString(PyExc_IndexError, strError.c_str());
215413  SWIG_fail;
215414  }
215415  catch(...)
215416  {
215417  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215418  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
215419  SWIG_fail;
215420  }
215421  }
215422  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Organism, SWIG_POINTER_NEW | 0 );
215423  return resultobj;
215424 fail:
215425  return NULL;
215426 }
215427 
215428 
215429 SWIGINTERN PyObject *_wrap_delete_Organism(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215430  PyObject *resultobj = 0;
215432  void *argp1 = 0 ;
215433  int res1 = 0 ;
215434  PyObject * obj0 = 0 ;
215435 
215436  if (!PyArg_ParseTuple(args,(char *)"O:delete_Organism",&obj0)) SWIG_fail;
215437  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, SWIG_POINTER_DISOWN | 0 );
215438  if (!SWIG_IsOK(res1)) {
215439  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Organism" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
215440  }
215441  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
215442  {
215443  try {
215444  delete arg1;
215445  }
215446  catch(CStdErrorInfo oError)
215447  {
215448  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215449  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
215450  PyErr_SetString(PyExc_IndexError, strError.c_str());
215451  SWIG_fail;
215452  }
215453  catch(...)
215454  {
215455  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215456  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
215457  SWIG_fail;
215458  }
215459  }
215460  resultobj = SWIG_Py_Void();
215461  return resultobj;
215462 fail:
215463  return NULL;
215464 }
215465 
215466 
215467 SWIGINTERN PyObject *_wrap_Organism_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215468  PyObject *resultobj = 0;
215470  void *argp1 = 0 ;
215471  int res1 = 0 ;
215472  PyObject * obj0 = 0 ;
215473  AnimatSim::Environment::Organism *result = 0 ;
215474 
215475  if (!PyArg_ParseTuple(args,(char *)"O:Organism_CastToDerived",&obj0)) SWIG_fail;
215476  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
215477  if (!SWIG_IsOK(res1)) {
215478  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
215479  }
215480  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
215481  {
215482  try {
215483  result = (AnimatSim::Environment::Organism *)AnimatSim::Environment::Organism::CastToDerived(arg1);
215484  }
215485  catch(CStdErrorInfo oError)
215486  {
215487  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215488  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
215489  PyErr_SetString(PyExc_IndexError, strError.c_str());
215490  SWIG_fail;
215491  }
215492  catch(...)
215493  {
215494  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215495  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
215496  SWIG_fail;
215497  }
215498  }
215499  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
215500  return resultobj;
215501 fail:
215502  return NULL;
215503 }
215504 
215505 
215506 SWIGINTERN PyObject *_wrap_Organism_IsDead(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215507  PyObject *resultobj = 0;
215509  void *argp1 = 0 ;
215510  int res1 = 0 ;
215511  PyObject * obj0 = 0 ;
215512  bool result;
215513 
215514  if (!PyArg_ParseTuple(args,(char *)"O:Organism_IsDead",&obj0)) SWIG_fail;
215515  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
215516  if (!SWIG_IsOK(res1)) {
215517  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_IsDead" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
215518  }
215519  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
215520  {
215521  try {
215522  result = (bool)(arg1)->IsDead();
215523  }
215524  catch(CStdErrorInfo oError)
215525  {
215526  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215527  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
215528  PyErr_SetString(PyExc_IndexError, strError.c_str());
215529  SWIG_fail;
215530  }
215531  catch(...)
215532  {
215533  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215534  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
215535  SWIG_fail;
215536  }
215537  }
215538  resultobj = SWIG_From_bool(static_cast< bool >(result));
215539  return resultobj;
215540 fail:
215541  return NULL;
215542 }
215543 
215544 
215545 SWIGINTERN PyObject *_wrap_Organism_GetRobotInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215546  PyObject *resultobj = 0;
215548  void *argp1 = 0 ;
215549  int res1 = 0 ;
215550  PyObject * obj0 = 0 ;
215551  RobotInterface *result = 0 ;
215552 
215553  if (!PyArg_ParseTuple(args,(char *)"O:Organism_GetRobotInterface",&obj0)) SWIG_fail;
215554  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
215555  if (!SWIG_IsOK(res1)) {
215556  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_GetRobotInterface" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
215557  }
215558  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
215559  {
215560  try {
215561  result = (RobotInterface *)(arg1)->GetRobotInterface();
215562  }
215563  catch(CStdErrorInfo oError)
215564  {
215565  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215566  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
215567  PyErr_SetString(PyExc_IndexError, strError.c_str());
215568  SWIG_fail;
215569  }
215570  catch(...)
215571  {
215572  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215573  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
215574  SWIG_fail;
215575  }
215576  }
215577  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RobotInterface, 0 | 0 );
215578  return resultobj;
215579 fail:
215580  return NULL;
215581 }
215582 
215583 
215584 SWIGINTERN PyObject *_wrap_Organism_CalculateSnapshotByteSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215585  PyObject *resultobj = 0;
215587  void *argp1 = 0 ;
215588  int res1 = 0 ;
215589  PyObject * obj0 = 0 ;
215590  long result;
215591 
215592  if (!PyArg_ParseTuple(args,(char *)"O:Organism_CalculateSnapshotByteSize",&obj0)) SWIG_fail;
215593  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
215594  if (!SWIG_IsOK(res1)) {
215595  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_CalculateSnapshotByteSize" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
215596  }
215597  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
215598  {
215599  try {
215600  result = (long)(arg1)->CalculateSnapshotByteSize();
215601  }
215602  catch(CStdErrorInfo oError)
215603  {
215604  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215605  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
215606  PyErr_SetString(PyExc_IndexError, strError.c_str());
215607  SWIG_fail;
215608  }
215609  catch(...)
215610  {
215611  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215612  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
215613  SWIG_fail;
215614  }
215615  }
215616  resultobj = SWIG_From_long(static_cast< long >(result));
215617  return resultobj;
215618 fail:
215619  return NULL;
215620 }
215621 
215622 
215623 SWIGINTERN PyObject *_wrap_Organism_SaveKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215624  PyObject *resultobj = 0;
215626  byte *arg2 = (byte *) 0 ;
215627  long *arg3 = 0 ;
215628  void *argp1 = 0 ;
215629  int res1 = 0 ;
215630  void *argp2 = 0 ;
215631  int res2 = 0 ;
215632  void *argp3 = 0 ;
215633  int res3 = 0 ;
215634  PyObject * obj0 = 0 ;
215635  PyObject * obj1 = 0 ;
215636  PyObject * obj2 = 0 ;
215637 
215638  if (!PyArg_ParseTuple(args,(char *)"OOO:Organism_SaveKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
215639  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
215640  if (!SWIG_IsOK(res1)) {
215641  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_SaveKeyFrameSnapshot" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
215642  }
215643  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
215644  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
215645  if (!SWIG_IsOK(res2)) {
215646  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Organism_SaveKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
215647  }
215648  arg2 = reinterpret_cast< byte * >(argp2);
215649  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
215650  if (!SWIG_IsOK(res3)) {
215651  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Organism_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
215652  }
215653  if (!argp3) {
215654  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
215655  }
215656  arg3 = reinterpret_cast< long * >(argp3);
215657  {
215658  try {
215659  (arg1)->SaveKeyFrameSnapshot(arg2,*arg3);
215660  }
215661  catch(CStdErrorInfo oError)
215662  {
215663  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215664  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
215665  PyErr_SetString(PyExc_IndexError, strError.c_str());
215666  SWIG_fail;
215667  }
215668  catch(...)
215669  {
215670  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215671  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
215672  SWIG_fail;
215673  }
215674  }
215675  resultobj = SWIG_Py_Void();
215676  return resultobj;
215677 fail:
215678  return NULL;
215679 }
215680 
215681 
215682 SWIGINTERN PyObject *_wrap_Organism_LoadKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215683  PyObject *resultobj = 0;
215685  byte *arg2 = (byte *) 0 ;
215686  long *arg3 = 0 ;
215687  void *argp1 = 0 ;
215688  int res1 = 0 ;
215689  void *argp2 = 0 ;
215690  int res2 = 0 ;
215691  void *argp3 = 0 ;
215692  int res3 = 0 ;
215693  PyObject * obj0 = 0 ;
215694  PyObject * obj1 = 0 ;
215695  PyObject * obj2 = 0 ;
215696 
215697  if (!PyArg_ParseTuple(args,(char *)"OOO:Organism_LoadKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
215698  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
215699  if (!SWIG_IsOK(res1)) {
215700  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_LoadKeyFrameSnapshot" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
215701  }
215702  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
215703  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
215704  if (!SWIG_IsOK(res2)) {
215705  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Organism_LoadKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
215706  }
215707  arg2 = reinterpret_cast< byte * >(argp2);
215708  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
215709  if (!SWIG_IsOK(res3)) {
215710  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Organism_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
215711  }
215712  if (!argp3) {
215713  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
215714  }
215715  arg3 = reinterpret_cast< long * >(argp3);
215716  {
215717  try {
215718  (arg1)->LoadKeyFrameSnapshot(arg2,*arg3);
215719  }
215720  catch(CStdErrorInfo oError)
215721  {
215722  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215723  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
215724  PyErr_SetString(PyExc_IndexError, strError.c_str());
215725  SWIG_fail;
215726  }
215727  catch(...)
215728  {
215729  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215730  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
215731  SWIG_fail;
215732  }
215733  }
215734  resultobj = SWIG_Py_Void();
215735  return resultobj;
215736 fail:
215737  return NULL;
215738 }
215739 
215740 
215741 SWIGINTERN PyObject *_wrap_Organism_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215742  PyObject *resultobj = 0;
215744  std::string *arg2 = 0 ;
215745  std::string *arg3 = 0 ;
215746  bool arg4 ;
215747  void *argp1 = 0 ;
215748  int res1 = 0 ;
215749  int res2 = SWIG_OLDOBJ ;
215750  int res3 = SWIG_OLDOBJ ;
215751  bool val4 ;
215752  int ecode4 = 0 ;
215753  PyObject * obj0 = 0 ;
215754  PyObject * obj1 = 0 ;
215755  PyObject * obj2 = 0 ;
215756  PyObject * obj3 = 0 ;
215757  bool result;
215758 
215759  if (!PyArg_ParseTuple(args,(char *)"OOOO:Organism_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
215760  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
215761  if (!SWIG_IsOK(res1)) {
215762  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
215763  }
215764  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
215765  {
215766  std::string *ptr = (std::string *)0;
215767  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
215768  if (!SWIG_IsOK(res2)) {
215769  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Organism_SetData" "', argument " "2"" of type '" "std::string const &""'");
215770  }
215771  if (!ptr) {
215772  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_SetData" "', argument " "2"" of type '" "std::string const &""'");
215773  }
215774  arg2 = ptr;
215775  }
215776  {
215777  std::string *ptr = (std::string *)0;
215778  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
215779  if (!SWIG_IsOK(res3)) {
215780  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Organism_SetData" "', argument " "3"" of type '" "std::string const &""'");
215781  }
215782  if (!ptr) {
215783  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_SetData" "', argument " "3"" of type '" "std::string const &""'");
215784  }
215785  arg3 = ptr;
215786  }
215787  ecode4 = SWIG_AsVal_bool(obj3, &val4);
215788  if (!SWIG_IsOK(ecode4)) {
215789  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Organism_SetData" "', argument " "4"" of type '" "bool""'");
215790  }
215791  arg4 = static_cast< bool >(val4);
215792  {
215793  try {
215794  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
215795  }
215796  catch(CStdErrorInfo oError)
215797  {
215798  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215799  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
215800  PyErr_SetString(PyExc_IndexError, strError.c_str());
215801  SWIG_fail;
215802  }
215803  catch(...)
215804  {
215805  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215806  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
215807  SWIG_fail;
215808  }
215809  }
215810  resultobj = SWIG_From_bool(static_cast< bool >(result));
215811  if (SWIG_IsNewObj(res2)) delete arg2;
215812  if (SWIG_IsNewObj(res3)) delete arg3;
215813  return resultobj;
215814 fail:
215815  if (SWIG_IsNewObj(res2)) delete arg2;
215816  if (SWIG_IsNewObj(res3)) delete arg3;
215817  return NULL;
215818 }
215819 
215820 
215821 SWIGINTERN PyObject *_wrap_Organism_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215822  PyObject *resultobj = 0;
215824  std::string *arg2 = 0 ;
215825  std::string *arg3 = 0 ;
215826  void *argp1 = 0 ;
215827  int res1 = 0 ;
215828  int res2 = SWIG_OLDOBJ ;
215829  int res3 = SWIG_OLDOBJ ;
215830  PyObject * obj0 = 0 ;
215831  PyObject * obj1 = 0 ;
215832  PyObject * obj2 = 0 ;
215833  bool result;
215834 
215835  if (!PyArg_ParseTuple(args,(char *)"OOO:Organism_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
215836  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
215837  if (!SWIG_IsOK(res1)) {
215838  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
215839  }
215840  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
215841  {
215842  std::string *ptr = (std::string *)0;
215843  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
215844  if (!SWIG_IsOK(res2)) {
215845  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Organism_SetData" "', argument " "2"" of type '" "std::string const &""'");
215846  }
215847  if (!ptr) {
215848  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_SetData" "', argument " "2"" of type '" "std::string const &""'");
215849  }
215850  arg2 = ptr;
215851  }
215852  {
215853  std::string *ptr = (std::string *)0;
215854  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
215855  if (!SWIG_IsOK(res3)) {
215856  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Organism_SetData" "', argument " "3"" of type '" "std::string const &""'");
215857  }
215858  if (!ptr) {
215859  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_SetData" "', argument " "3"" of type '" "std::string const &""'");
215860  }
215861  arg3 = ptr;
215862  }
215863  {
215864  try {
215865  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
215866  }
215867  catch(CStdErrorInfo oError)
215868  {
215869  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215870  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
215871  PyErr_SetString(PyExc_IndexError, strError.c_str());
215872  SWIG_fail;
215873  }
215874  catch(...)
215875  {
215876  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
215877  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
215878  SWIG_fail;
215879  }
215880  }
215881  resultobj = SWIG_From_bool(static_cast< bool >(result));
215882  if (SWIG_IsNewObj(res2)) delete arg2;
215883  if (SWIG_IsNewObj(res3)) delete arg3;
215884  return resultobj;
215885 fail:
215886  if (SWIG_IsNewObj(res2)) delete arg2;
215887  if (SWIG_IsNewObj(res3)) delete arg3;
215888  return NULL;
215889 }
215890 
215891 
215892 SWIGINTERN PyObject *_wrap_Organism_SetData(PyObject *self, PyObject *args) {
215893  int argc;
215894  PyObject *argv[5];
215895  int ii;
215896 
215897  if (!PyTuple_Check(args)) SWIG_fail;
215898  argc = args ? (int)PyObject_Length(args) : 0;
215899  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
215900  argv[ii] = PyTuple_GET_ITEM(args,ii);
215901  }
215902  if (argc == 3) {
215903  int _v;
215904  void *vptr = 0;
215905  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Organism, 0);
215906  _v = SWIG_CheckState(res);
215907  if (_v) {
215908  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
215909  _v = SWIG_CheckState(res);
215910  if (_v) {
215911  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
215912  _v = SWIG_CheckState(res);
215913  if (_v) {
215914  return _wrap_Organism_SetData__SWIG_1(self, args);
215915  }
215916  }
215917  }
215918  }
215919  if (argc == 4) {
215920  int _v;
215921  void *vptr = 0;
215922  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Organism, 0);
215923  _v = SWIG_CheckState(res);
215924  if (_v) {
215925  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
215926  _v = SWIG_CheckState(res);
215927  if (_v) {
215928  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
215929  _v = SWIG_CheckState(res);
215930  if (_v) {
215931  {
215932  int res = SWIG_AsVal_bool(argv[3], NULL);
215933  _v = SWIG_CheckState(res);
215934  }
215935  if (_v) {
215936  return _wrap_Organism_SetData__SWIG_0(self, args);
215937  }
215938  }
215939  }
215940  }
215941  }
215942 
215943 fail:
215944  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Organism_SetData'.\n"
215945  " Possible C/C++ prototypes are:\n"
215946  " AnimatSim::Environment::Organism::SetData(std::string const &,std::string const &,bool)\n"
215947  " AnimatSim::Environment::Organism::SetData(std::string const &,std::string const &)\n");
215948  return 0;
215949 }
215950 
215951 
215952 SWIGINTERN PyObject *_wrap_Organism_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
215953  PyObject *resultobj = 0;
215955  std::string *arg2 = 0 ;
215956  std::string *arg3 = 0 ;
215957  bool arg4 ;
215958  bool arg5 ;
215959  void *argp1 = 0 ;
215960  int res1 = 0 ;
215961  int res2 = SWIG_OLDOBJ ;
215962  int res3 = SWIG_OLDOBJ ;
215963  bool val4 ;
215964  int ecode4 = 0 ;
215965  bool val5 ;
215966  int ecode5 = 0 ;
215967  PyObject * obj0 = 0 ;
215968  PyObject * obj1 = 0 ;
215969  PyObject * obj2 = 0 ;
215970  PyObject * obj3 = 0 ;
215971  PyObject * obj4 = 0 ;
215972  bool result;
215973 
215974  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Organism_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
215975  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
215976  if (!SWIG_IsOK(res1)) {
215977  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
215978  }
215979  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
215980  {
215981  std::string *ptr = (std::string *)0;
215982  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
215983  if (!SWIG_IsOK(res2)) {
215984  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Organism_AddItem" "', argument " "2"" of type '" "std::string const &""'");
215985  }
215986  if (!ptr) {
215987  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_AddItem" "', argument " "2"" of type '" "std::string const &""'");
215988  }
215989  arg2 = ptr;
215990  }
215991  {
215992  std::string *ptr = (std::string *)0;
215993  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
215994  if (!SWIG_IsOK(res3)) {
215995  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Organism_AddItem" "', argument " "3"" of type '" "std::string const &""'");
215996  }
215997  if (!ptr) {
215998  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_AddItem" "', argument " "3"" of type '" "std::string const &""'");
215999  }
216000  arg3 = ptr;
216001  }
216002  ecode4 = SWIG_AsVal_bool(obj3, &val4);
216003  if (!SWIG_IsOK(ecode4)) {
216004  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Organism_AddItem" "', argument " "4"" of type '" "bool""'");
216005  }
216006  arg4 = static_cast< bool >(val4);
216007  ecode5 = SWIG_AsVal_bool(obj4, &val5);
216008  if (!SWIG_IsOK(ecode5)) {
216009  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Organism_AddItem" "', argument " "5"" of type '" "bool""'");
216010  }
216011  arg5 = static_cast< bool >(val5);
216012  {
216013  try {
216014  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
216015  }
216016  catch(CStdErrorInfo oError)
216017  {
216018  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216019  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216020  PyErr_SetString(PyExc_IndexError, strError.c_str());
216021  SWIG_fail;
216022  }
216023  catch(...)
216024  {
216025  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216026  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216027  SWIG_fail;
216028  }
216029  }
216030  resultobj = SWIG_From_bool(static_cast< bool >(result));
216031  if (SWIG_IsNewObj(res2)) delete arg2;
216032  if (SWIG_IsNewObj(res3)) delete arg3;
216033  return resultobj;
216034 fail:
216035  if (SWIG_IsNewObj(res2)) delete arg2;
216036  if (SWIG_IsNewObj(res3)) delete arg3;
216037  return NULL;
216038 }
216039 
216040 
216041 SWIGINTERN PyObject *_wrap_Organism_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216042  PyObject *resultobj = 0;
216044  std::string *arg2 = 0 ;
216045  std::string *arg3 = 0 ;
216046  bool arg4 ;
216047  void *argp1 = 0 ;
216048  int res1 = 0 ;
216049  int res2 = SWIG_OLDOBJ ;
216050  int res3 = SWIG_OLDOBJ ;
216051  bool val4 ;
216052  int ecode4 = 0 ;
216053  PyObject * obj0 = 0 ;
216054  PyObject * obj1 = 0 ;
216055  PyObject * obj2 = 0 ;
216056  PyObject * obj3 = 0 ;
216057  bool result;
216058 
216059  if (!PyArg_ParseTuple(args,(char *)"OOOO:Organism_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
216060  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
216061  if (!SWIG_IsOK(res1)) {
216062  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
216063  }
216064  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
216065  {
216066  std::string *ptr = (std::string *)0;
216067  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
216068  if (!SWIG_IsOK(res2)) {
216069  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Organism_AddItem" "', argument " "2"" of type '" "std::string const &""'");
216070  }
216071  if (!ptr) {
216072  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_AddItem" "', argument " "2"" of type '" "std::string const &""'");
216073  }
216074  arg2 = ptr;
216075  }
216076  {
216077  std::string *ptr = (std::string *)0;
216078  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
216079  if (!SWIG_IsOK(res3)) {
216080  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Organism_AddItem" "', argument " "3"" of type '" "std::string const &""'");
216081  }
216082  if (!ptr) {
216083  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_AddItem" "', argument " "3"" of type '" "std::string const &""'");
216084  }
216085  arg3 = ptr;
216086  }
216087  ecode4 = SWIG_AsVal_bool(obj3, &val4);
216088  if (!SWIG_IsOK(ecode4)) {
216089  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Organism_AddItem" "', argument " "4"" of type '" "bool""'");
216090  }
216091  arg4 = static_cast< bool >(val4);
216092  {
216093  try {
216094  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
216095  }
216096  catch(CStdErrorInfo oError)
216097  {
216098  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216099  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216100  PyErr_SetString(PyExc_IndexError, strError.c_str());
216101  SWIG_fail;
216102  }
216103  catch(...)
216104  {
216105  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216106  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216107  SWIG_fail;
216108  }
216109  }
216110  resultobj = SWIG_From_bool(static_cast< bool >(result));
216111  if (SWIG_IsNewObj(res2)) delete arg2;
216112  if (SWIG_IsNewObj(res3)) delete arg3;
216113  return resultobj;
216114 fail:
216115  if (SWIG_IsNewObj(res2)) delete arg2;
216116  if (SWIG_IsNewObj(res3)) delete arg3;
216117  return NULL;
216118 }
216119 
216120 
216121 SWIGINTERN PyObject *_wrap_Organism_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216122  PyObject *resultobj = 0;
216124  std::string *arg2 = 0 ;
216125  std::string *arg3 = 0 ;
216126  void *argp1 = 0 ;
216127  int res1 = 0 ;
216128  int res2 = SWIG_OLDOBJ ;
216129  int res3 = SWIG_OLDOBJ ;
216130  PyObject * obj0 = 0 ;
216131  PyObject * obj1 = 0 ;
216132  PyObject * obj2 = 0 ;
216133  bool result;
216134 
216135  if (!PyArg_ParseTuple(args,(char *)"OOO:Organism_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
216136  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
216137  if (!SWIG_IsOK(res1)) {
216138  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
216139  }
216140  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
216141  {
216142  std::string *ptr = (std::string *)0;
216143  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
216144  if (!SWIG_IsOK(res2)) {
216145  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Organism_AddItem" "', argument " "2"" of type '" "std::string const &""'");
216146  }
216147  if (!ptr) {
216148  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_AddItem" "', argument " "2"" of type '" "std::string const &""'");
216149  }
216150  arg2 = ptr;
216151  }
216152  {
216153  std::string *ptr = (std::string *)0;
216154  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
216155  if (!SWIG_IsOK(res3)) {
216156  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Organism_AddItem" "', argument " "3"" of type '" "std::string const &""'");
216157  }
216158  if (!ptr) {
216159  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_AddItem" "', argument " "3"" of type '" "std::string const &""'");
216160  }
216161  arg3 = ptr;
216162  }
216163  {
216164  try {
216165  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
216166  }
216167  catch(CStdErrorInfo oError)
216168  {
216169  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216170  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216171  PyErr_SetString(PyExc_IndexError, strError.c_str());
216172  SWIG_fail;
216173  }
216174  catch(...)
216175  {
216176  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216177  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216178  SWIG_fail;
216179  }
216180  }
216181  resultobj = SWIG_From_bool(static_cast< bool >(result));
216182  if (SWIG_IsNewObj(res2)) delete arg2;
216183  if (SWIG_IsNewObj(res3)) delete arg3;
216184  return resultobj;
216185 fail:
216186  if (SWIG_IsNewObj(res2)) delete arg2;
216187  if (SWIG_IsNewObj(res3)) delete arg3;
216188  return NULL;
216189 }
216190 
216191 
216192 SWIGINTERN PyObject *_wrap_Organism_AddItem(PyObject *self, PyObject *args) {
216193  int argc;
216194  PyObject *argv[6];
216195  int ii;
216196 
216197  if (!PyTuple_Check(args)) SWIG_fail;
216198  argc = args ? (int)PyObject_Length(args) : 0;
216199  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
216200  argv[ii] = PyTuple_GET_ITEM(args,ii);
216201  }
216202  if (argc == 3) {
216203  int _v;
216204  void *vptr = 0;
216205  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Organism, 0);
216206  _v = SWIG_CheckState(res);
216207  if (_v) {
216208  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
216209  _v = SWIG_CheckState(res);
216210  if (_v) {
216211  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
216212  _v = SWIG_CheckState(res);
216213  if (_v) {
216214  return _wrap_Organism_AddItem__SWIG_2(self, args);
216215  }
216216  }
216217  }
216218  }
216219  if (argc == 4) {
216220  int _v;
216221  void *vptr = 0;
216222  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Organism, 0);
216223  _v = SWIG_CheckState(res);
216224  if (_v) {
216225  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
216226  _v = SWIG_CheckState(res);
216227  if (_v) {
216228  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
216229  _v = SWIG_CheckState(res);
216230  if (_v) {
216231  {
216232  int res = SWIG_AsVal_bool(argv[3], NULL);
216233  _v = SWIG_CheckState(res);
216234  }
216235  if (_v) {
216236  return _wrap_Organism_AddItem__SWIG_1(self, args);
216237  }
216238  }
216239  }
216240  }
216241  }
216242  if (argc == 5) {
216243  int _v;
216244  void *vptr = 0;
216245  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Organism, 0);
216246  _v = SWIG_CheckState(res);
216247  if (_v) {
216248  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
216249  _v = SWIG_CheckState(res);
216250  if (_v) {
216251  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
216252  _v = SWIG_CheckState(res);
216253  if (_v) {
216254  {
216255  int res = SWIG_AsVal_bool(argv[3], NULL);
216256  _v = SWIG_CheckState(res);
216257  }
216258  if (_v) {
216259  {
216260  int res = SWIG_AsVal_bool(argv[4], NULL);
216261  _v = SWIG_CheckState(res);
216262  }
216263  if (_v) {
216264  return _wrap_Organism_AddItem__SWIG_0(self, args);
216265  }
216266  }
216267  }
216268  }
216269  }
216270  }
216271 
216272 fail:
216273  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Organism_AddItem'.\n"
216274  " Possible C/C++ prototypes are:\n"
216275  " AnimatSim::Environment::Organism::AddItem(std::string const &,std::string const &,bool,bool)\n"
216276  " AnimatSim::Environment::Organism::AddItem(std::string const &,std::string const &,bool)\n"
216277  " AnimatSim::Environment::Organism::AddItem(std::string const &,std::string const &)\n");
216278  return 0;
216279 }
216280 
216281 
216282 SWIGINTERN PyObject *_wrap_Organism_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216283  PyObject *resultobj = 0;
216285  std::string *arg2 = 0 ;
216286  std::string *arg3 = 0 ;
216287  bool arg4 ;
216288  void *argp1 = 0 ;
216289  int res1 = 0 ;
216290  int res2 = SWIG_OLDOBJ ;
216291  int res3 = SWIG_OLDOBJ ;
216292  bool val4 ;
216293  int ecode4 = 0 ;
216294  PyObject * obj0 = 0 ;
216295  PyObject * obj1 = 0 ;
216296  PyObject * obj2 = 0 ;
216297  PyObject * obj3 = 0 ;
216298  bool result;
216299 
216300  if (!PyArg_ParseTuple(args,(char *)"OOOO:Organism_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
216301  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
216302  if (!SWIG_IsOK(res1)) {
216303  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
216304  }
216305  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
216306  {
216307  std::string *ptr = (std::string *)0;
216308  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
216309  if (!SWIG_IsOK(res2)) {
216310  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Organism_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
216311  }
216312  if (!ptr) {
216313  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
216314  }
216315  arg2 = ptr;
216316  }
216317  {
216318  std::string *ptr = (std::string *)0;
216319  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
216320  if (!SWIG_IsOK(res3)) {
216321  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Organism_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
216322  }
216323  if (!ptr) {
216324  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
216325  }
216326  arg3 = ptr;
216327  }
216328  ecode4 = SWIG_AsVal_bool(obj3, &val4);
216329  if (!SWIG_IsOK(ecode4)) {
216330  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Organism_RemoveItem" "', argument " "4"" of type '" "bool""'");
216331  }
216332  arg4 = static_cast< bool >(val4);
216333  {
216334  try {
216335  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
216336  }
216337  catch(CStdErrorInfo oError)
216338  {
216339  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216340  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216341  PyErr_SetString(PyExc_IndexError, strError.c_str());
216342  SWIG_fail;
216343  }
216344  catch(...)
216345  {
216346  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216347  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216348  SWIG_fail;
216349  }
216350  }
216351  resultobj = SWIG_From_bool(static_cast< bool >(result));
216352  if (SWIG_IsNewObj(res2)) delete arg2;
216353  if (SWIG_IsNewObj(res3)) delete arg3;
216354  return resultobj;
216355 fail:
216356  if (SWIG_IsNewObj(res2)) delete arg2;
216357  if (SWIG_IsNewObj(res3)) delete arg3;
216358  return NULL;
216359 }
216360 
216361 
216362 SWIGINTERN PyObject *_wrap_Organism_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216363  PyObject *resultobj = 0;
216365  std::string *arg2 = 0 ;
216366  std::string *arg3 = 0 ;
216367  void *argp1 = 0 ;
216368  int res1 = 0 ;
216369  int res2 = SWIG_OLDOBJ ;
216370  int res3 = SWIG_OLDOBJ ;
216371  PyObject * obj0 = 0 ;
216372  PyObject * obj1 = 0 ;
216373  PyObject * obj2 = 0 ;
216374  bool result;
216375 
216376  if (!PyArg_ParseTuple(args,(char *)"OOO:Organism_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
216377  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
216378  if (!SWIG_IsOK(res1)) {
216379  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
216380  }
216381  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
216382  {
216383  std::string *ptr = (std::string *)0;
216384  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
216385  if (!SWIG_IsOK(res2)) {
216386  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Organism_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
216387  }
216388  if (!ptr) {
216389  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
216390  }
216391  arg2 = ptr;
216392  }
216393  {
216394  std::string *ptr = (std::string *)0;
216395  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
216396  if (!SWIG_IsOK(res3)) {
216397  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Organism_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
216398  }
216399  if (!ptr) {
216400  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
216401  }
216402  arg3 = ptr;
216403  }
216404  {
216405  try {
216406  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
216407  }
216408  catch(CStdErrorInfo oError)
216409  {
216410  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216411  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216412  PyErr_SetString(PyExc_IndexError, strError.c_str());
216413  SWIG_fail;
216414  }
216415  catch(...)
216416  {
216417  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216418  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216419  SWIG_fail;
216420  }
216421  }
216422  resultobj = SWIG_From_bool(static_cast< bool >(result));
216423  if (SWIG_IsNewObj(res2)) delete arg2;
216424  if (SWIG_IsNewObj(res3)) delete arg3;
216425  return resultobj;
216426 fail:
216427  if (SWIG_IsNewObj(res2)) delete arg2;
216428  if (SWIG_IsNewObj(res3)) delete arg3;
216429  return NULL;
216430 }
216431 
216432 
216433 SWIGINTERN PyObject *_wrap_Organism_RemoveItem(PyObject *self, PyObject *args) {
216434  int argc;
216435  PyObject *argv[5];
216436  int ii;
216437 
216438  if (!PyTuple_Check(args)) SWIG_fail;
216439  argc = args ? (int)PyObject_Length(args) : 0;
216440  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
216441  argv[ii] = PyTuple_GET_ITEM(args,ii);
216442  }
216443  if (argc == 3) {
216444  int _v;
216445  void *vptr = 0;
216446  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Organism, 0);
216447  _v = SWIG_CheckState(res);
216448  if (_v) {
216449  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
216450  _v = SWIG_CheckState(res);
216451  if (_v) {
216452  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
216453  _v = SWIG_CheckState(res);
216454  if (_v) {
216455  return _wrap_Organism_RemoveItem__SWIG_1(self, args);
216456  }
216457  }
216458  }
216459  }
216460  if (argc == 4) {
216461  int _v;
216462  void *vptr = 0;
216463  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Organism, 0);
216464  _v = SWIG_CheckState(res);
216465  if (_v) {
216466  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
216467  _v = SWIG_CheckState(res);
216468  if (_v) {
216469  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
216470  _v = SWIG_CheckState(res);
216471  if (_v) {
216472  {
216473  int res = SWIG_AsVal_bool(argv[3], NULL);
216474  _v = SWIG_CheckState(res);
216475  }
216476  if (_v) {
216477  return _wrap_Organism_RemoveItem__SWIG_0(self, args);
216478  }
216479  }
216480  }
216481  }
216482  }
216483 
216484 fail:
216485  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Organism_RemoveItem'.\n"
216486  " Possible C/C++ prototypes are:\n"
216487  " AnimatSim::Environment::Organism::RemoveItem(std::string const &,std::string const &,bool)\n"
216488  " AnimatSim::Environment::Organism::RemoveItem(std::string const &,std::string const &)\n");
216489  return 0;
216490 }
216491 
216492 
216493 SWIGINTERN PyObject *_wrap_Organism_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216494  PyObject *resultobj = 0;
216496  void *argp1 = 0 ;
216497  int res1 = 0 ;
216498  PyObject * obj0 = 0 ;
216499 
216500  if (!PyArg_ParseTuple(args,(char *)"O:Organism_Initialize",&obj0)) SWIG_fail;
216501  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
216502  if (!SWIG_IsOK(res1)) {
216503  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_Initialize" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
216504  }
216505  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
216506  {
216507  try {
216508  (arg1)->Initialize();
216509  }
216510  catch(CStdErrorInfo oError)
216511  {
216512  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216513  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216514  PyErr_SetString(PyExc_IndexError, strError.c_str());
216515  SWIG_fail;
216516  }
216517  catch(...)
216518  {
216519  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216520  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216521  SWIG_fail;
216522  }
216523  }
216524  resultobj = SWIG_Py_Void();
216525  return resultobj;
216526 fail:
216527  return NULL;
216528 }
216529 
216530 
216531 SWIGINTERN PyObject *_wrap_Organism_StepNeuralEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216532  PyObject *resultobj = 0;
216534  void *argp1 = 0 ;
216535  int res1 = 0 ;
216536  PyObject * obj0 = 0 ;
216537 
216538  if (!PyArg_ParseTuple(args,(char *)"O:Organism_StepNeuralEngine",&obj0)) SWIG_fail;
216539  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
216540  if (!SWIG_IsOK(res1)) {
216541  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_StepNeuralEngine" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
216542  }
216543  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
216544  {
216545  try {
216546  (arg1)->StepNeuralEngine();
216547  }
216548  catch(CStdErrorInfo oError)
216549  {
216550  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216551  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216552  PyErr_SetString(PyExc_IndexError, strError.c_str());
216553  SWIG_fail;
216554  }
216555  catch(...)
216556  {
216557  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216558  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216559  SWIG_fail;
216560  }
216561  }
216562  resultobj = SWIG_Py_Void();
216563  return resultobj;
216564 fail:
216565  return NULL;
216566 }
216567 
216568 
216569 SWIGINTERN PyObject *_wrap_Organism_StepPhysicsEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216570  PyObject *resultobj = 0;
216572  void *argp1 = 0 ;
216573  int res1 = 0 ;
216574  PyObject * obj0 = 0 ;
216575 
216576  if (!PyArg_ParseTuple(args,(char *)"O:Organism_StepPhysicsEngine",&obj0)) SWIG_fail;
216577  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
216578  if (!SWIG_IsOK(res1)) {
216579  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_StepPhysicsEngine" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
216580  }
216581  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
216582  {
216583  try {
216584  (arg1)->StepPhysicsEngine();
216585  }
216586  catch(CStdErrorInfo oError)
216587  {
216588  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216589  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216590  PyErr_SetString(PyExc_IndexError, strError.c_str());
216591  SWIG_fail;
216592  }
216593  catch(...)
216594  {
216595  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216596  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216597  SWIG_fail;
216598  }
216599  }
216600  resultobj = SWIG_Py_Void();
216601  return resultobj;
216602 fail:
216603  return NULL;
216604 }
216605 
216606 
216607 SWIGINTERN PyObject *_wrap_Organism_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216608  PyObject *resultobj = 0;
216610  void *argp1 = 0 ;
216611  int res1 = 0 ;
216612  PyObject * obj0 = 0 ;
216613 
216614  if (!PyArg_ParseTuple(args,(char *)"O:Organism_ResetSimulation",&obj0)) SWIG_fail;
216615  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
216616  if (!SWIG_IsOK(res1)) {
216617  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
216618  }
216619  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
216620  {
216621  try {
216622  (arg1)->ResetSimulation();
216623  }
216624  catch(CStdErrorInfo oError)
216625  {
216626  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216627  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216628  PyErr_SetString(PyExc_IndexError, strError.c_str());
216629  SWIG_fail;
216630  }
216631  catch(...)
216632  {
216633  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216634  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216635  SWIG_fail;
216636  }
216637  }
216638  resultobj = SWIG_Py_Void();
216639  return resultobj;
216640 fail:
216641  return NULL;
216642 }
216643 
216644 
216645 SWIGINTERN PyObject *_wrap_Organism_Kill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216646  PyObject *resultobj = 0;
216648  bool arg2 ;
216649  void *argp1 = 0 ;
216650  int res1 = 0 ;
216651  bool val2 ;
216652  int ecode2 = 0 ;
216653  PyObject * obj0 = 0 ;
216654  PyObject * obj1 = 0 ;
216655 
216656  if (!PyArg_ParseTuple(args,(char *)"OO:Organism_Kill",&obj0,&obj1)) SWIG_fail;
216657  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
216658  if (!SWIG_IsOK(res1)) {
216659  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_Kill" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
216660  }
216661  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
216662  ecode2 = SWIG_AsVal_bool(obj1, &val2);
216663  if (!SWIG_IsOK(ecode2)) {
216664  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Organism_Kill" "', argument " "2"" of type '" "bool""'");
216665  }
216666  arg2 = static_cast< bool >(val2);
216667  {
216668  try {
216669  (arg1)->Kill(arg2);
216670  }
216671  catch(CStdErrorInfo oError)
216672  {
216673  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216674  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216675  PyErr_SetString(PyExc_IndexError, strError.c_str());
216676  SWIG_fail;
216677  }
216678  catch(...)
216679  {
216680  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216681  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216682  SWIG_fail;
216683  }
216684  }
216685  resultobj = SWIG_Py_Void();
216686  return resultobj;
216687 fail:
216688  return NULL;
216689 }
216690 
216691 
216692 SWIGINTERN PyObject *_wrap_Organism_Kill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216693  PyObject *resultobj = 0;
216695  void *argp1 = 0 ;
216696  int res1 = 0 ;
216697  PyObject * obj0 = 0 ;
216698 
216699  if (!PyArg_ParseTuple(args,(char *)"O:Organism_Kill",&obj0)) SWIG_fail;
216700  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
216701  if (!SWIG_IsOK(res1)) {
216702  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_Kill" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
216703  }
216704  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
216705  {
216706  try {
216707  (arg1)->Kill();
216708  }
216709  catch(CStdErrorInfo oError)
216710  {
216711  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216712  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216713  PyErr_SetString(PyExc_IndexError, strError.c_str());
216714  SWIG_fail;
216715  }
216716  catch(...)
216717  {
216718  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216719  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216720  SWIG_fail;
216721  }
216722  }
216723  resultobj = SWIG_Py_Void();
216724  return resultobj;
216725 fail:
216726  return NULL;
216727 }
216728 
216729 
216730 SWIGINTERN PyObject *_wrap_Organism_Kill(PyObject *self, PyObject *args) {
216731  int argc;
216732  PyObject *argv[3];
216733  int ii;
216734 
216735  if (!PyTuple_Check(args)) SWIG_fail;
216736  argc = args ? (int)PyObject_Length(args) : 0;
216737  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
216738  argv[ii] = PyTuple_GET_ITEM(args,ii);
216739  }
216740  if (argc == 1) {
216741  int _v;
216742  void *vptr = 0;
216743  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Organism, 0);
216744  _v = SWIG_CheckState(res);
216745  if (_v) {
216746  return _wrap_Organism_Kill__SWIG_1(self, args);
216747  }
216748  }
216749  if (argc == 2) {
216750  int _v;
216751  void *vptr = 0;
216752  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Organism, 0);
216753  _v = SWIG_CheckState(res);
216754  if (_v) {
216755  {
216756  int res = SWIG_AsVal_bool(argv[1], NULL);
216757  _v = SWIG_CheckState(res);
216758  }
216759  if (_v) {
216760  return _wrap_Organism_Kill__SWIG_0(self, args);
216761  }
216762  }
216763  }
216764 
216765 fail:
216766  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Organism_Kill'.\n"
216767  " Possible C/C++ prototypes are:\n"
216768  " AnimatSim::Environment::Organism::Kill(bool)\n"
216769  " AnimatSim::Environment::Organism::Kill()\n");
216770  return 0;
216771 }
216772 
216773 
216774 SWIGINTERN PyObject *_wrap_Organism_MinTimeStep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216775  PyObject *resultobj = 0;
216777  float *arg2 = 0 ;
216778  void *argp1 = 0 ;
216779  int res1 = 0 ;
216780  void *argp2 = 0 ;
216781  int res2 = 0 ;
216782  PyObject * obj0 = 0 ;
216783  PyObject * obj1 = 0 ;
216784 
216785  if (!PyArg_ParseTuple(args,(char *)"OO:Organism_MinTimeStep",&obj0,&obj1)) SWIG_fail;
216786  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
216787  if (!SWIG_IsOK(res1)) {
216788  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_MinTimeStep" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
216789  }
216790  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
216791  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 );
216792  if (!SWIG_IsOK(res2)) {
216793  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Organism_MinTimeStep" "', argument " "2"" of type '" "float &""'");
216794  }
216795  if (!argp2) {
216796  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_MinTimeStep" "', argument " "2"" of type '" "float &""'");
216797  }
216798  arg2 = reinterpret_cast< float * >(argp2);
216799  {
216800  try {
216801  (arg1)->MinTimeStep(*arg2);
216802  }
216803  catch(CStdErrorInfo oError)
216804  {
216805  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216806  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216807  PyErr_SetString(PyExc_IndexError, strError.c_str());
216808  SWIG_fail;
216809  }
216810  catch(...)
216811  {
216812  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216813  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216814  SWIG_fail;
216815  }
216816  }
216817  resultobj = SWIG_Py_Void();
216818  return resultobj;
216819 fail:
216820  return NULL;
216821 }
216822 
216823 
216824 SWIGINTERN PyObject *_wrap_Organism_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216825  PyObject *resultobj = 0;
216827  CStdXml *arg2 = 0 ;
216828  void *argp1 = 0 ;
216829  int res1 = 0 ;
216830  void *argp2 = 0 ;
216831  int res2 = 0 ;
216832  PyObject * obj0 = 0 ;
216833  PyObject * obj1 = 0 ;
216834 
216835  if (!PyArg_ParseTuple(args,(char *)"OO:Organism_Load",&obj0,&obj1)) SWIG_fail;
216836  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
216837  if (!SWIG_IsOK(res1)) {
216838  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
216839  }
216840  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
216841  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
216842  if (!SWIG_IsOK(res2)) {
216843  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Organism_Load" "', argument " "2"" of type '" "CStdXml &""'");
216844  }
216845  if (!argp2) {
216846  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Organism_Load" "', argument " "2"" of type '" "CStdXml &""'");
216847  }
216848  arg2 = reinterpret_cast< CStdXml * >(argp2);
216849  {
216850  try {
216851  (arg1)->Load(*arg2);
216852  }
216853  catch(CStdErrorInfo oError)
216854  {
216855  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216856  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216857  PyErr_SetString(PyExc_IndexError, strError.c_str());
216858  SWIG_fail;
216859  }
216860  catch(...)
216861  {
216862  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216863  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216864  SWIG_fail;
216865  }
216866  }
216867  resultobj = SWIG_Py_Void();
216868  return resultobj;
216869 fail:
216870  return NULL;
216871 }
216872 
216873 
216874 SWIGINTERN PyObject *_wrap_Organism_GetNervousSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216875  PyObject *resultobj = 0;
216877  void *argp1 = 0 ;
216878  int res1 = 0 ;
216879  PyObject * obj0 = 0 ;
216880  AnimatSim::Behavior::NervousSystem *result = 0 ;
216881 
216882  if (!PyArg_ParseTuple(args,(char *)"O:Organism_GetNervousSystem",&obj0)) SWIG_fail;
216883  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Organism, 0 | 0 );
216884  if (!SWIG_IsOK(res1)) {
216885  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Organism_GetNervousSystem" "', argument " "1"" of type '" "AnimatSim::Environment::Organism *""'");
216886  }
216887  arg1 = reinterpret_cast< AnimatSim::Environment::Organism * >(argp1);
216888  {
216889  try {
216890  result = (AnimatSim::Behavior::NervousSystem *)(arg1)->GetNervousSystem();
216891  }
216892  catch(CStdErrorInfo oError)
216893  {
216894  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216895  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216896  PyErr_SetString(PyExc_IndexError, strError.c_str());
216897  SWIG_fail;
216898  }
216899  catch(...)
216900  {
216901  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216902  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216903  SWIG_fail;
216904  }
216905  }
216906  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Behavior__NervousSystem, 0 | 0 );
216907  return resultobj;
216908 fail:
216909  return NULL;
216910 }
216911 
216912 
216913 SWIGINTERN PyObject *Organism_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216914  PyObject *obj;
216915  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
216916  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Organism, SWIG_NewClientData(obj));
216917  return SWIG_Py_Void();
216918 }
216919 
216920 SWIGINTERN PyObject *_wrap_new_Light(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216921  PyObject *resultobj = 0;
216922  AnimatSim::Environment::Light *result = 0 ;
216923 
216924  if (!PyArg_ParseTuple(args,(char *)":new_Light")) SWIG_fail;
216925  {
216926  try {
216928  }
216929  catch(CStdErrorInfo oError)
216930  {
216931  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216932  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216933  PyErr_SetString(PyExc_IndexError, strError.c_str());
216934  SWIG_fail;
216935  }
216936  catch(...)
216937  {
216938  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216939  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216940  SWIG_fail;
216941  }
216942  }
216943  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Light, SWIG_POINTER_NEW | 0 );
216944  return resultobj;
216945 fail:
216946  return NULL;
216947 }
216948 
216949 
216950 SWIGINTERN PyObject *_wrap_delete_Light(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216951  PyObject *resultobj = 0;
216953  void *argp1 = 0 ;
216954  int res1 = 0 ;
216955  PyObject * obj0 = 0 ;
216956 
216957  if (!PyArg_ParseTuple(args,(char *)"O:delete_Light",&obj0)) SWIG_fail;
216958  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, SWIG_POINTER_DISOWN | 0 );
216959  if (!SWIG_IsOK(res1)) {
216960  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Light" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
216961  }
216962  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
216963  {
216964  try {
216965  delete arg1;
216966  }
216967  catch(CStdErrorInfo oError)
216968  {
216969  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216970  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
216971  PyErr_SetString(PyExc_IndexError, strError.c_str());
216972  SWIG_fail;
216973  }
216974  catch(...)
216975  {
216976  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
216977  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
216978  SWIG_fail;
216979  }
216980  }
216981  resultobj = SWIG_Py_Void();
216982  return resultobj;
216983 fail:
216984  return NULL;
216985 }
216986 
216987 
216988 SWIGINTERN PyObject *_wrap_Light_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
216989  PyObject *resultobj = 0;
216991  void *argp1 = 0 ;
216992  int res1 = 0 ;
216993  PyObject * obj0 = 0 ;
216994  AnimatSim::Environment::Light *result = 0 ;
216995 
216996  if (!PyArg_ParseTuple(args,(char *)"O:Light_CastToDerived",&obj0)) SWIG_fail;
216997  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
216998  if (!SWIG_IsOK(res1)) {
216999  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
217000  }
217001  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
217002  {
217003  try {
217004  result = (AnimatSim::Environment::Light *)AnimatSim::Environment::Light::CastToDerived(arg1);
217005  }
217006  catch(CStdErrorInfo oError)
217007  {
217008  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217009  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217010  PyErr_SetString(PyExc_IndexError, strError.c_str());
217011  SWIG_fail;
217012  }
217013  catch(...)
217014  {
217015  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217016  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217017  SWIG_fail;
217018  }
217019  }
217020  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217021  return resultobj;
217022 fail:
217023  return NULL;
217024 }
217025 
217026 
217027 SWIGINTERN PyObject *_wrap_Light_Enabled__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217028  PyObject *resultobj = 0;
217030  void *argp1 = 0 ;
217031  int res1 = 0 ;
217032  PyObject * obj0 = 0 ;
217033  bool result;
217034 
217035  if (!PyArg_ParseTuple(args,(char *)"O:Light_Enabled",&obj0)) SWIG_fail;
217036  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217037  if (!SWIG_IsOK(res1)) {
217038  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_Enabled" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217039  }
217040  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217041  {
217042  try {
217043  result = (bool)(arg1)->Enabled();
217044  }
217045  catch(CStdErrorInfo oError)
217046  {
217047  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217048  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217049  PyErr_SetString(PyExc_IndexError, strError.c_str());
217050  SWIG_fail;
217051  }
217052  catch(...)
217053  {
217054  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217055  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217056  SWIG_fail;
217057  }
217058  }
217059  resultobj = SWIG_From_bool(static_cast< bool >(result));
217060  return resultobj;
217061 fail:
217062  return NULL;
217063 }
217064 
217065 
217066 SWIGINTERN PyObject *_wrap_Light_Enabled__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217067  PyObject *resultobj = 0;
217069  bool arg2 ;
217070  void *argp1 = 0 ;
217071  int res1 = 0 ;
217072  bool val2 ;
217073  int ecode2 = 0 ;
217074  PyObject * obj0 = 0 ;
217075  PyObject * obj1 = 0 ;
217076 
217077  if (!PyArg_ParseTuple(args,(char *)"OO:Light_Enabled",&obj0,&obj1)) SWIG_fail;
217078  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217079  if (!SWIG_IsOK(res1)) {
217080  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_Enabled" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217081  }
217082  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217083  ecode2 = SWIG_AsVal_bool(obj1, &val2);
217084  if (!SWIG_IsOK(ecode2)) {
217085  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Light_Enabled" "', argument " "2"" of type '" "bool""'");
217086  }
217087  arg2 = static_cast< bool >(val2);
217088  {
217089  try {
217090  (arg1)->Enabled(arg2);
217091  }
217092  catch(CStdErrorInfo oError)
217093  {
217094  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217095  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217096  PyErr_SetString(PyExc_IndexError, strError.c_str());
217097  SWIG_fail;
217098  }
217099  catch(...)
217100  {
217101  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217102  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217103  SWIG_fail;
217104  }
217105  }
217106  resultobj = SWIG_Py_Void();
217107  return resultobj;
217108 fail:
217109  return NULL;
217110 }
217111 
217112 
217113 SWIGINTERN PyObject *_wrap_Light_Enabled(PyObject *self, PyObject *args) {
217114  int argc;
217115  PyObject *argv[3];
217116  int ii;
217117 
217118  if (!PyTuple_Check(args)) SWIG_fail;
217119  argc = args ? (int)PyObject_Length(args) : 0;
217120  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
217121  argv[ii] = PyTuple_GET_ITEM(args,ii);
217122  }
217123  if (argc == 1) {
217124  int _v;
217125  void *vptr = 0;
217126  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
217127  _v = SWIG_CheckState(res);
217128  if (_v) {
217129  return _wrap_Light_Enabled__SWIG_0(self, args);
217130  }
217131  }
217132  if (argc == 2) {
217133  int _v;
217134  void *vptr = 0;
217135  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
217136  _v = SWIG_CheckState(res);
217137  if (_v) {
217138  {
217139  int res = SWIG_AsVal_bool(argv[1], NULL);
217140  _v = SWIG_CheckState(res);
217141  }
217142  if (_v) {
217143  return _wrap_Light_Enabled__SWIG_1(self, args);
217144  }
217145  }
217146  }
217147 
217148 fail:
217149  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Light_Enabled'.\n"
217150  " Possible C/C++ prototypes are:\n"
217151  " AnimatSim::Environment::Light::Enabled()\n"
217152  " AnimatSim::Environment::Light::Enabled(bool)\n");
217153  return 0;
217154 }
217155 
217156 
217157 SWIGINTERN PyObject *_wrap_Light_Resize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217158  PyObject *resultobj = 0;
217160  void *argp1 = 0 ;
217161  int res1 = 0 ;
217162  PyObject * obj0 = 0 ;
217163 
217164  if (!PyArg_ParseTuple(args,(char *)"O:Light_Resize",&obj0)) SWIG_fail;
217165  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217166  if (!SWIG_IsOK(res1)) {
217167  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_Resize" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217168  }
217169  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217170  {
217171  try {
217172  (arg1)->Resize();
217173  }
217174  catch(CStdErrorInfo oError)
217175  {
217176  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217177  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217178  PyErr_SetString(PyExc_IndexError, strError.c_str());
217179  SWIG_fail;
217180  }
217181  catch(...)
217182  {
217183  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217184  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217185  SWIG_fail;
217186  }
217187  }
217188  resultobj = SWIG_Py_Void();
217189  return resultobj;
217190 fail:
217191  return NULL;
217192 }
217193 
217194 
217195 SWIGINTERN PyObject *_wrap_Light_Radius__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217196  PyObject *resultobj = 0;
217198  void *argp1 = 0 ;
217199  int res1 = 0 ;
217200  PyObject * obj0 = 0 ;
217201  float result;
217202 
217203  if (!PyArg_ParseTuple(args,(char *)"O:Light_Radius",&obj0)) SWIG_fail;
217204  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217205  if (!SWIG_IsOK(res1)) {
217206  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_Radius" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217207  }
217208  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217209  {
217210  try {
217211  result = (float)(arg1)->Radius();
217212  }
217213  catch(CStdErrorInfo oError)
217214  {
217215  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217216  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217217  PyErr_SetString(PyExc_IndexError, strError.c_str());
217218  SWIG_fail;
217219  }
217220  catch(...)
217221  {
217222  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217223  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217224  SWIG_fail;
217225  }
217226  }
217227  resultobj = SWIG_From_float(static_cast< float >(result));
217228  return resultobj;
217229 fail:
217230  return NULL;
217231 }
217232 
217233 
217234 SWIGINTERN PyObject *_wrap_Light_Radius__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217235  PyObject *resultobj = 0;
217237  float arg2 ;
217238  bool arg3 ;
217239  void *argp1 = 0 ;
217240  int res1 = 0 ;
217241  float val2 ;
217242  int ecode2 = 0 ;
217243  bool val3 ;
217244  int ecode3 = 0 ;
217245  PyObject * obj0 = 0 ;
217246  PyObject * obj1 = 0 ;
217247  PyObject * obj2 = 0 ;
217248 
217249  if (!PyArg_ParseTuple(args,(char *)"OOO:Light_Radius",&obj0,&obj1,&obj2)) SWIG_fail;
217250  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217251  if (!SWIG_IsOK(res1)) {
217252  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_Radius" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217253  }
217254  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217255  ecode2 = SWIG_AsVal_float(obj1, &val2);
217256  if (!SWIG_IsOK(ecode2)) {
217257  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Light_Radius" "', argument " "2"" of type '" "float""'");
217258  }
217259  arg2 = static_cast< float >(val2);
217260  ecode3 = SWIG_AsVal_bool(obj2, &val3);
217261  if (!SWIG_IsOK(ecode3)) {
217262  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Light_Radius" "', argument " "3"" of type '" "bool""'");
217263  }
217264  arg3 = static_cast< bool >(val3);
217265  {
217266  try {
217267  (arg1)->Radius(arg2,arg3);
217268  }
217269  catch(CStdErrorInfo oError)
217270  {
217271  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217272  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217273  PyErr_SetString(PyExc_IndexError, strError.c_str());
217274  SWIG_fail;
217275  }
217276  catch(...)
217277  {
217278  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217279  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217280  SWIG_fail;
217281  }
217282  }
217283  resultobj = SWIG_Py_Void();
217284  return resultobj;
217285 fail:
217286  return NULL;
217287 }
217288 
217289 
217290 SWIGINTERN PyObject *_wrap_Light_Radius__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217291  PyObject *resultobj = 0;
217293  float arg2 ;
217294  void *argp1 = 0 ;
217295  int res1 = 0 ;
217296  float val2 ;
217297  int ecode2 = 0 ;
217298  PyObject * obj0 = 0 ;
217299  PyObject * obj1 = 0 ;
217300 
217301  if (!PyArg_ParseTuple(args,(char *)"OO:Light_Radius",&obj0,&obj1)) SWIG_fail;
217302  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217303  if (!SWIG_IsOK(res1)) {
217304  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_Radius" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217305  }
217306  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217307  ecode2 = SWIG_AsVal_float(obj1, &val2);
217308  if (!SWIG_IsOK(ecode2)) {
217309  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Light_Radius" "', argument " "2"" of type '" "float""'");
217310  }
217311  arg2 = static_cast< float >(val2);
217312  {
217313  try {
217314  (arg1)->Radius(arg2);
217315  }
217316  catch(CStdErrorInfo oError)
217317  {
217318  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217319  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217320  PyErr_SetString(PyExc_IndexError, strError.c_str());
217321  SWIG_fail;
217322  }
217323  catch(...)
217324  {
217325  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217326  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217327  SWIG_fail;
217328  }
217329  }
217330  resultobj = SWIG_Py_Void();
217331  return resultobj;
217332 fail:
217333  return NULL;
217334 }
217335 
217336 
217337 SWIGINTERN PyObject *_wrap_Light_Radius(PyObject *self, PyObject *args) {
217338  int argc;
217339  PyObject *argv[4];
217340  int ii;
217341 
217342  if (!PyTuple_Check(args)) SWIG_fail;
217343  argc = args ? (int)PyObject_Length(args) : 0;
217344  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
217345  argv[ii] = PyTuple_GET_ITEM(args,ii);
217346  }
217347  if (argc == 1) {
217348  int _v;
217349  void *vptr = 0;
217350  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
217351  _v = SWIG_CheckState(res);
217352  if (_v) {
217353  return _wrap_Light_Radius__SWIG_0(self, args);
217354  }
217355  }
217356  if (argc == 2) {
217357  int _v;
217358  void *vptr = 0;
217359  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
217360  _v = SWIG_CheckState(res);
217361  if (_v) {
217362  {
217363  int res = SWIG_AsVal_float(argv[1], NULL);
217364  _v = SWIG_CheckState(res);
217365  }
217366  if (_v) {
217367  return _wrap_Light_Radius__SWIG_2(self, args);
217368  }
217369  }
217370  }
217371  if (argc == 3) {
217372  int _v;
217373  void *vptr = 0;
217374  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
217375  _v = SWIG_CheckState(res);
217376  if (_v) {
217377  {
217378  int res = SWIG_AsVal_float(argv[1], NULL);
217379  _v = SWIG_CheckState(res);
217380  }
217381  if (_v) {
217382  {
217383  int res = SWIG_AsVal_bool(argv[2], NULL);
217384  _v = SWIG_CheckState(res);
217385  }
217386  if (_v) {
217387  return _wrap_Light_Radius__SWIG_1(self, args);
217388  }
217389  }
217390  }
217391  }
217392 
217393 fail:
217394  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Light_Radius'.\n"
217395  " Possible C/C++ prototypes are:\n"
217396  " AnimatSim::Environment::Light::Radius()\n"
217397  " AnimatSim::Environment::Light::Radius(float,bool)\n"
217398  " AnimatSim::Environment::Light::Radius(float)\n");
217399  return 0;
217400 }
217401 
217402 
217403 SWIGINTERN PyObject *_wrap_Light_LatitudeSegments__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217404  PyObject *resultobj = 0;
217406  int arg2 ;
217407  void *argp1 = 0 ;
217408  int res1 = 0 ;
217409  int val2 ;
217410  int ecode2 = 0 ;
217411  PyObject * obj0 = 0 ;
217412  PyObject * obj1 = 0 ;
217413 
217414  if (!PyArg_ParseTuple(args,(char *)"OO:Light_LatitudeSegments",&obj0,&obj1)) SWIG_fail;
217415  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217416  if (!SWIG_IsOK(res1)) {
217417  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_LatitudeSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217418  }
217419  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217420  ecode2 = SWIG_AsVal_int(obj1, &val2);
217421  if (!SWIG_IsOK(ecode2)) {
217422  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Light_LatitudeSegments" "', argument " "2"" of type '" "int""'");
217423  }
217424  arg2 = static_cast< int >(val2);
217425  {
217426  try {
217427  (arg1)->LatitudeSegments(arg2);
217428  }
217429  catch(CStdErrorInfo oError)
217430  {
217431  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217432  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217433  PyErr_SetString(PyExc_IndexError, strError.c_str());
217434  SWIG_fail;
217435  }
217436  catch(...)
217437  {
217438  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217439  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217440  SWIG_fail;
217441  }
217442  }
217443  resultobj = SWIG_Py_Void();
217444  return resultobj;
217445 fail:
217446  return NULL;
217447 }
217448 
217449 
217450 SWIGINTERN PyObject *_wrap_Light_LatitudeSegments__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217451  PyObject *resultobj = 0;
217453  void *argp1 = 0 ;
217454  int res1 = 0 ;
217455  PyObject * obj0 = 0 ;
217456  int result;
217457 
217458  if (!PyArg_ParseTuple(args,(char *)"O:Light_LatitudeSegments",&obj0)) SWIG_fail;
217459  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217460  if (!SWIG_IsOK(res1)) {
217461  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_LatitudeSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217462  }
217463  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217464  {
217465  try {
217466  result = (int)(arg1)->LatitudeSegments();
217467  }
217468  catch(CStdErrorInfo oError)
217469  {
217470  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217471  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217472  PyErr_SetString(PyExc_IndexError, strError.c_str());
217473  SWIG_fail;
217474  }
217475  catch(...)
217476  {
217477  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217478  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217479  SWIG_fail;
217480  }
217481  }
217482  resultobj = SWIG_From_int(static_cast< int >(result));
217483  return resultobj;
217484 fail:
217485  return NULL;
217486 }
217487 
217488 
217489 SWIGINTERN PyObject *_wrap_Light_LatitudeSegments(PyObject *self, PyObject *args) {
217490  int argc;
217491  PyObject *argv[3];
217492  int ii;
217493 
217494  if (!PyTuple_Check(args)) SWIG_fail;
217495  argc = args ? (int)PyObject_Length(args) : 0;
217496  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
217497  argv[ii] = PyTuple_GET_ITEM(args,ii);
217498  }
217499  if (argc == 1) {
217500  int _v;
217501  void *vptr = 0;
217502  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
217503  _v = SWIG_CheckState(res);
217504  if (_v) {
217505  return _wrap_Light_LatitudeSegments__SWIG_1(self, args);
217506  }
217507  }
217508  if (argc == 2) {
217509  int _v;
217510  void *vptr = 0;
217511  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
217512  _v = SWIG_CheckState(res);
217513  if (_v) {
217514  {
217515  int res = SWIG_AsVal_int(argv[1], NULL);
217516  _v = SWIG_CheckState(res);
217517  }
217518  if (_v) {
217519  return _wrap_Light_LatitudeSegments__SWIG_0(self, args);
217520  }
217521  }
217522  }
217523 
217524 fail:
217525  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Light_LatitudeSegments'.\n"
217526  " Possible C/C++ prototypes are:\n"
217527  " AnimatSim::Environment::Light::LatitudeSegments(int)\n"
217528  " AnimatSim::Environment::Light::LatitudeSegments()\n");
217529  return 0;
217530 }
217531 
217532 
217533 SWIGINTERN PyObject *_wrap_Light_LongtitudeSegments__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217534  PyObject *resultobj = 0;
217536  int arg2 ;
217537  void *argp1 = 0 ;
217538  int res1 = 0 ;
217539  int val2 ;
217540  int ecode2 = 0 ;
217541  PyObject * obj0 = 0 ;
217542  PyObject * obj1 = 0 ;
217543 
217544  if (!PyArg_ParseTuple(args,(char *)"OO:Light_LongtitudeSegments",&obj0,&obj1)) SWIG_fail;
217545  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217546  if (!SWIG_IsOK(res1)) {
217547  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_LongtitudeSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217548  }
217549  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217550  ecode2 = SWIG_AsVal_int(obj1, &val2);
217551  if (!SWIG_IsOK(ecode2)) {
217552  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Light_LongtitudeSegments" "', argument " "2"" of type '" "int""'");
217553  }
217554  arg2 = static_cast< int >(val2);
217555  {
217556  try {
217557  (arg1)->LongtitudeSegments(arg2);
217558  }
217559  catch(CStdErrorInfo oError)
217560  {
217561  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217562  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217563  PyErr_SetString(PyExc_IndexError, strError.c_str());
217564  SWIG_fail;
217565  }
217566  catch(...)
217567  {
217568  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217569  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217570  SWIG_fail;
217571  }
217572  }
217573  resultobj = SWIG_Py_Void();
217574  return resultobj;
217575 fail:
217576  return NULL;
217577 }
217578 
217579 
217580 SWIGINTERN PyObject *_wrap_Light_LongtitudeSegments__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217581  PyObject *resultobj = 0;
217583  void *argp1 = 0 ;
217584  int res1 = 0 ;
217585  PyObject * obj0 = 0 ;
217586  int result;
217587 
217588  if (!PyArg_ParseTuple(args,(char *)"O:Light_LongtitudeSegments",&obj0)) SWIG_fail;
217589  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217590  if (!SWIG_IsOK(res1)) {
217591  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_LongtitudeSegments" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217592  }
217593  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217594  {
217595  try {
217596  result = (int)(arg1)->LongtitudeSegments();
217597  }
217598  catch(CStdErrorInfo oError)
217599  {
217600  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217601  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217602  PyErr_SetString(PyExc_IndexError, strError.c_str());
217603  SWIG_fail;
217604  }
217605  catch(...)
217606  {
217607  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217608  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217609  SWIG_fail;
217610  }
217611  }
217612  resultobj = SWIG_From_int(static_cast< int >(result));
217613  return resultobj;
217614 fail:
217615  return NULL;
217616 }
217617 
217618 
217619 SWIGINTERN PyObject *_wrap_Light_LongtitudeSegments(PyObject *self, PyObject *args) {
217620  int argc;
217621  PyObject *argv[3];
217622  int ii;
217623 
217624  if (!PyTuple_Check(args)) SWIG_fail;
217625  argc = args ? (int)PyObject_Length(args) : 0;
217626  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
217627  argv[ii] = PyTuple_GET_ITEM(args,ii);
217628  }
217629  if (argc == 1) {
217630  int _v;
217631  void *vptr = 0;
217632  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
217633  _v = SWIG_CheckState(res);
217634  if (_v) {
217635  return _wrap_Light_LongtitudeSegments__SWIG_1(self, args);
217636  }
217637  }
217638  if (argc == 2) {
217639  int _v;
217640  void *vptr = 0;
217641  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
217642  _v = SWIG_CheckState(res);
217643  if (_v) {
217644  {
217645  int res = SWIG_AsVal_int(argv[1], NULL);
217646  _v = SWIG_CheckState(res);
217647  }
217648  if (_v) {
217649  return _wrap_Light_LongtitudeSegments__SWIG_0(self, args);
217650  }
217651  }
217652  }
217653 
217654 fail:
217655  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Light_LongtitudeSegments'.\n"
217656  " Possible C/C++ prototypes are:\n"
217657  " AnimatSim::Environment::Light::LongtitudeSegments(int)\n"
217658  " AnimatSim::Environment::Light::LongtitudeSegments()\n");
217659  return 0;
217660 }
217661 
217662 
217663 SWIGINTERN PyObject *_wrap_Light_LightNumber__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217664  PyObject *resultobj = 0;
217666  int arg2 ;
217667  void *argp1 = 0 ;
217668  int res1 = 0 ;
217669  int val2 ;
217670  int ecode2 = 0 ;
217671  PyObject * obj0 = 0 ;
217672  PyObject * obj1 = 0 ;
217673 
217674  if (!PyArg_ParseTuple(args,(char *)"OO:Light_LightNumber",&obj0,&obj1)) SWIG_fail;
217675  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217676  if (!SWIG_IsOK(res1)) {
217677  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_LightNumber" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217678  }
217679  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217680  ecode2 = SWIG_AsVal_int(obj1, &val2);
217681  if (!SWIG_IsOK(ecode2)) {
217682  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Light_LightNumber" "', argument " "2"" of type '" "int""'");
217683  }
217684  arg2 = static_cast< int >(val2);
217685  {
217686  try {
217687  (arg1)->LightNumber(arg2);
217688  }
217689  catch(CStdErrorInfo oError)
217690  {
217691  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217692  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217693  PyErr_SetString(PyExc_IndexError, strError.c_str());
217694  SWIG_fail;
217695  }
217696  catch(...)
217697  {
217698  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217699  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217700  SWIG_fail;
217701  }
217702  }
217703  resultobj = SWIG_Py_Void();
217704  return resultobj;
217705 fail:
217706  return NULL;
217707 }
217708 
217709 
217710 SWIGINTERN PyObject *_wrap_Light_LightNumber__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217711  PyObject *resultobj = 0;
217713  void *argp1 = 0 ;
217714  int res1 = 0 ;
217715  PyObject * obj0 = 0 ;
217716  int result;
217717 
217718  if (!PyArg_ParseTuple(args,(char *)"O:Light_LightNumber",&obj0)) SWIG_fail;
217719  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217720  if (!SWIG_IsOK(res1)) {
217721  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_LightNumber" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217722  }
217723  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217724  {
217725  try {
217726  result = (int)(arg1)->LightNumber();
217727  }
217728  catch(CStdErrorInfo oError)
217729  {
217730  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217731  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217732  PyErr_SetString(PyExc_IndexError, strError.c_str());
217733  SWIG_fail;
217734  }
217735  catch(...)
217736  {
217737  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217738  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217739  SWIG_fail;
217740  }
217741  }
217742  resultobj = SWIG_From_int(static_cast< int >(result));
217743  return resultobj;
217744 fail:
217745  return NULL;
217746 }
217747 
217748 
217749 SWIGINTERN PyObject *_wrap_Light_LightNumber(PyObject *self, PyObject *args) {
217750  int argc;
217751  PyObject *argv[3];
217752  int ii;
217753 
217754  if (!PyTuple_Check(args)) SWIG_fail;
217755  argc = args ? (int)PyObject_Length(args) : 0;
217756  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
217757  argv[ii] = PyTuple_GET_ITEM(args,ii);
217758  }
217759  if (argc == 1) {
217760  int _v;
217761  void *vptr = 0;
217762  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
217763  _v = SWIG_CheckState(res);
217764  if (_v) {
217765  return _wrap_Light_LightNumber__SWIG_1(self, args);
217766  }
217767  }
217768  if (argc == 2) {
217769  int _v;
217770  void *vptr = 0;
217771  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
217772  _v = SWIG_CheckState(res);
217773  if (_v) {
217774  {
217775  int res = SWIG_AsVal_int(argv[1], NULL);
217776  _v = SWIG_CheckState(res);
217777  }
217778  if (_v) {
217779  return _wrap_Light_LightNumber__SWIG_0(self, args);
217780  }
217781  }
217782  }
217783 
217784 fail:
217785  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Light_LightNumber'.\n"
217786  " Possible C/C++ prototypes are:\n"
217787  " AnimatSim::Environment::Light::LightNumber(int)\n"
217788  " AnimatSim::Environment::Light::LightNumber()\n");
217789  return 0;
217790 }
217791 
217792 
217793 SWIGINTERN PyObject *_wrap_Light_ConstantAttenRatio__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217794  PyObject *resultobj = 0;
217796  float arg2 ;
217797  void *argp1 = 0 ;
217798  int res1 = 0 ;
217799  float val2 ;
217800  int ecode2 = 0 ;
217801  PyObject * obj0 = 0 ;
217802  PyObject * obj1 = 0 ;
217803 
217804  if (!PyArg_ParseTuple(args,(char *)"OO:Light_ConstantAttenRatio",&obj0,&obj1)) SWIG_fail;
217805  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217806  if (!SWIG_IsOK(res1)) {
217807  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_ConstantAttenRatio" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217808  }
217809  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217810  ecode2 = SWIG_AsVal_float(obj1, &val2);
217811  if (!SWIG_IsOK(ecode2)) {
217812  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Light_ConstantAttenRatio" "', argument " "2"" of type '" "float""'");
217813  }
217814  arg2 = static_cast< float >(val2);
217815  {
217816  try {
217817  (arg1)->ConstantAttenRatio(arg2);
217818  }
217819  catch(CStdErrorInfo oError)
217820  {
217821  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217822  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217823  PyErr_SetString(PyExc_IndexError, strError.c_str());
217824  SWIG_fail;
217825  }
217826  catch(...)
217827  {
217828  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217829  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217830  SWIG_fail;
217831  }
217832  }
217833  resultobj = SWIG_Py_Void();
217834  return resultobj;
217835 fail:
217836  return NULL;
217837 }
217838 
217839 
217840 SWIGINTERN PyObject *_wrap_Light_ConstantAttenRatio__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217841  PyObject *resultobj = 0;
217843  void *argp1 = 0 ;
217844  int res1 = 0 ;
217845  PyObject * obj0 = 0 ;
217846  float result;
217847 
217848  if (!PyArg_ParseTuple(args,(char *)"O:Light_ConstantAttenRatio",&obj0)) SWIG_fail;
217849  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217850  if (!SWIG_IsOK(res1)) {
217851  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_ConstantAttenRatio" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217852  }
217853  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217854  {
217855  try {
217856  result = (float)(arg1)->ConstantAttenRatio();
217857  }
217858  catch(CStdErrorInfo oError)
217859  {
217860  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217861  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217862  PyErr_SetString(PyExc_IndexError, strError.c_str());
217863  SWIG_fail;
217864  }
217865  catch(...)
217866  {
217867  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217868  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217869  SWIG_fail;
217870  }
217871  }
217872  resultobj = SWIG_From_float(static_cast< float >(result));
217873  return resultobj;
217874 fail:
217875  return NULL;
217876 }
217877 
217878 
217879 SWIGINTERN PyObject *_wrap_Light_ConstantAttenRatio(PyObject *self, PyObject *args) {
217880  int argc;
217881  PyObject *argv[3];
217882  int ii;
217883 
217884  if (!PyTuple_Check(args)) SWIG_fail;
217885  argc = args ? (int)PyObject_Length(args) : 0;
217886  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
217887  argv[ii] = PyTuple_GET_ITEM(args,ii);
217888  }
217889  if (argc == 1) {
217890  int _v;
217891  void *vptr = 0;
217892  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
217893  _v = SWIG_CheckState(res);
217894  if (_v) {
217895  return _wrap_Light_ConstantAttenRatio__SWIG_1(self, args);
217896  }
217897  }
217898  if (argc == 2) {
217899  int _v;
217900  void *vptr = 0;
217901  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
217902  _v = SWIG_CheckState(res);
217903  if (_v) {
217904  {
217905  int res = SWIG_AsVal_float(argv[1], NULL);
217906  _v = SWIG_CheckState(res);
217907  }
217908  if (_v) {
217909  return _wrap_Light_ConstantAttenRatio__SWIG_0(self, args);
217910  }
217911  }
217912  }
217913 
217914 fail:
217915  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Light_ConstantAttenRatio'.\n"
217916  " Possible C/C++ prototypes are:\n"
217917  " AnimatSim::Environment::Light::ConstantAttenRatio(float)\n"
217918  " AnimatSim::Environment::Light::ConstantAttenRatio()\n");
217919  return 0;
217920 }
217921 
217922 
217923 SWIGINTERN PyObject *_wrap_Light_LinearAttenDistance__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217924  PyObject *resultobj = 0;
217926  float arg2 ;
217927  bool arg3 ;
217928  void *argp1 = 0 ;
217929  int res1 = 0 ;
217930  float val2 ;
217931  int ecode2 = 0 ;
217932  bool val3 ;
217933  int ecode3 = 0 ;
217934  PyObject * obj0 = 0 ;
217935  PyObject * obj1 = 0 ;
217936  PyObject * obj2 = 0 ;
217937 
217938  if (!PyArg_ParseTuple(args,(char *)"OOO:Light_LinearAttenDistance",&obj0,&obj1,&obj2)) SWIG_fail;
217939  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217940  if (!SWIG_IsOK(res1)) {
217941  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_LinearAttenDistance" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217942  }
217943  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217944  ecode2 = SWIG_AsVal_float(obj1, &val2);
217945  if (!SWIG_IsOK(ecode2)) {
217946  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Light_LinearAttenDistance" "', argument " "2"" of type '" "float""'");
217947  }
217948  arg2 = static_cast< float >(val2);
217949  ecode3 = SWIG_AsVal_bool(obj2, &val3);
217950  if (!SWIG_IsOK(ecode3)) {
217951  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Light_LinearAttenDistance" "', argument " "3"" of type '" "bool""'");
217952  }
217953  arg3 = static_cast< bool >(val3);
217954  {
217955  try {
217956  (arg1)->LinearAttenDistance(arg2,arg3);
217957  }
217958  catch(CStdErrorInfo oError)
217959  {
217960  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217961  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
217962  PyErr_SetString(PyExc_IndexError, strError.c_str());
217963  SWIG_fail;
217964  }
217965  catch(...)
217966  {
217967  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
217968  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
217969  SWIG_fail;
217970  }
217971  }
217972  resultobj = SWIG_Py_Void();
217973  return resultobj;
217974 fail:
217975  return NULL;
217976 }
217977 
217978 
217979 SWIGINTERN PyObject *_wrap_Light_LinearAttenDistance__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
217980  PyObject *resultobj = 0;
217982  float arg2 ;
217983  void *argp1 = 0 ;
217984  int res1 = 0 ;
217985  float val2 ;
217986  int ecode2 = 0 ;
217987  PyObject * obj0 = 0 ;
217988  PyObject * obj1 = 0 ;
217989 
217990  if (!PyArg_ParseTuple(args,(char *)"OO:Light_LinearAttenDistance",&obj0,&obj1)) SWIG_fail;
217991  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
217992  if (!SWIG_IsOK(res1)) {
217993  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_LinearAttenDistance" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
217994  }
217995  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
217996  ecode2 = SWIG_AsVal_float(obj1, &val2);
217997  if (!SWIG_IsOK(ecode2)) {
217998  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Light_LinearAttenDistance" "', argument " "2"" of type '" "float""'");
217999  }
218000  arg2 = static_cast< float >(val2);
218001  {
218002  try {
218003  (arg1)->LinearAttenDistance(arg2);
218004  }
218005  catch(CStdErrorInfo oError)
218006  {
218007  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218008  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218009  PyErr_SetString(PyExc_IndexError, strError.c_str());
218010  SWIG_fail;
218011  }
218012  catch(...)
218013  {
218014  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218015  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218016  SWIG_fail;
218017  }
218018  }
218019  resultobj = SWIG_Py_Void();
218020  return resultobj;
218021 fail:
218022  return NULL;
218023 }
218024 
218025 
218026 SWIGINTERN PyObject *_wrap_Light_LinearAttenDistance__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218027  PyObject *resultobj = 0;
218029  void *argp1 = 0 ;
218030  int res1 = 0 ;
218031  PyObject * obj0 = 0 ;
218032  float result;
218033 
218034  if (!PyArg_ParseTuple(args,(char *)"O:Light_LinearAttenDistance",&obj0)) SWIG_fail;
218035  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
218036  if (!SWIG_IsOK(res1)) {
218037  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_LinearAttenDistance" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
218038  }
218039  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
218040  {
218041  try {
218042  result = (float)(arg1)->LinearAttenDistance();
218043  }
218044  catch(CStdErrorInfo oError)
218045  {
218046  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218047  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218048  PyErr_SetString(PyExc_IndexError, strError.c_str());
218049  SWIG_fail;
218050  }
218051  catch(...)
218052  {
218053  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218054  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218055  SWIG_fail;
218056  }
218057  }
218058  resultobj = SWIG_From_float(static_cast< float >(result));
218059  return resultobj;
218060 fail:
218061  return NULL;
218062 }
218063 
218064 
218065 SWIGINTERN PyObject *_wrap_Light_LinearAttenDistance(PyObject *self, PyObject *args) {
218066  int argc;
218067  PyObject *argv[4];
218068  int ii;
218069 
218070  if (!PyTuple_Check(args)) SWIG_fail;
218071  argc = args ? (int)PyObject_Length(args) : 0;
218072  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
218073  argv[ii] = PyTuple_GET_ITEM(args,ii);
218074  }
218075  if (argc == 1) {
218076  int _v;
218077  void *vptr = 0;
218078  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
218079  _v = SWIG_CheckState(res);
218080  if (_v) {
218081  return _wrap_Light_LinearAttenDistance__SWIG_2(self, args);
218082  }
218083  }
218084  if (argc == 2) {
218085  int _v;
218086  void *vptr = 0;
218087  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
218088  _v = SWIG_CheckState(res);
218089  if (_v) {
218090  {
218091  int res = SWIG_AsVal_float(argv[1], NULL);
218092  _v = SWIG_CheckState(res);
218093  }
218094  if (_v) {
218095  return _wrap_Light_LinearAttenDistance__SWIG_1(self, args);
218096  }
218097  }
218098  }
218099  if (argc == 3) {
218100  int _v;
218101  void *vptr = 0;
218102  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
218103  _v = SWIG_CheckState(res);
218104  if (_v) {
218105  {
218106  int res = SWIG_AsVal_float(argv[1], NULL);
218107  _v = SWIG_CheckState(res);
218108  }
218109  if (_v) {
218110  {
218111  int res = SWIG_AsVal_bool(argv[2], NULL);
218112  _v = SWIG_CheckState(res);
218113  }
218114  if (_v) {
218115  return _wrap_Light_LinearAttenDistance__SWIG_0(self, args);
218116  }
218117  }
218118  }
218119  }
218120 
218121 fail:
218122  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Light_LinearAttenDistance'.\n"
218123  " Possible C/C++ prototypes are:\n"
218124  " AnimatSim::Environment::Light::LinearAttenDistance(float,bool)\n"
218125  " AnimatSim::Environment::Light::LinearAttenDistance(float)\n"
218126  " AnimatSim::Environment::Light::LinearAttenDistance()\n");
218127  return 0;
218128 }
218129 
218130 
218131 SWIGINTERN PyObject *_wrap_Light_QuadraticAttenDistance__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218132  PyObject *resultobj = 0;
218134  float arg2 ;
218135  bool arg3 ;
218136  void *argp1 = 0 ;
218137  int res1 = 0 ;
218138  float val2 ;
218139  int ecode2 = 0 ;
218140  bool val3 ;
218141  int ecode3 = 0 ;
218142  PyObject * obj0 = 0 ;
218143  PyObject * obj1 = 0 ;
218144  PyObject * obj2 = 0 ;
218145 
218146  if (!PyArg_ParseTuple(args,(char *)"OOO:Light_QuadraticAttenDistance",&obj0,&obj1,&obj2)) SWIG_fail;
218147  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
218148  if (!SWIG_IsOK(res1)) {
218149  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_QuadraticAttenDistance" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
218150  }
218151  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
218152  ecode2 = SWIG_AsVal_float(obj1, &val2);
218153  if (!SWIG_IsOK(ecode2)) {
218154  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Light_QuadraticAttenDistance" "', argument " "2"" of type '" "float""'");
218155  }
218156  arg2 = static_cast< float >(val2);
218157  ecode3 = SWIG_AsVal_bool(obj2, &val3);
218158  if (!SWIG_IsOK(ecode3)) {
218159  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Light_QuadraticAttenDistance" "', argument " "3"" of type '" "bool""'");
218160  }
218161  arg3 = static_cast< bool >(val3);
218162  {
218163  try {
218164  (arg1)->QuadraticAttenDistance(arg2,arg3);
218165  }
218166  catch(CStdErrorInfo oError)
218167  {
218168  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218169  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218170  PyErr_SetString(PyExc_IndexError, strError.c_str());
218171  SWIG_fail;
218172  }
218173  catch(...)
218174  {
218175  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218176  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218177  SWIG_fail;
218178  }
218179  }
218180  resultobj = SWIG_Py_Void();
218181  return resultobj;
218182 fail:
218183  return NULL;
218184 }
218185 
218186 
218187 SWIGINTERN PyObject *_wrap_Light_QuadraticAttenDistance__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218188  PyObject *resultobj = 0;
218190  float arg2 ;
218191  void *argp1 = 0 ;
218192  int res1 = 0 ;
218193  float val2 ;
218194  int ecode2 = 0 ;
218195  PyObject * obj0 = 0 ;
218196  PyObject * obj1 = 0 ;
218197 
218198  if (!PyArg_ParseTuple(args,(char *)"OO:Light_QuadraticAttenDistance",&obj0,&obj1)) SWIG_fail;
218199  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
218200  if (!SWIG_IsOK(res1)) {
218201  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_QuadraticAttenDistance" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
218202  }
218203  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
218204  ecode2 = SWIG_AsVal_float(obj1, &val2);
218205  if (!SWIG_IsOK(ecode2)) {
218206  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Light_QuadraticAttenDistance" "', argument " "2"" of type '" "float""'");
218207  }
218208  arg2 = static_cast< float >(val2);
218209  {
218210  try {
218211  (arg1)->QuadraticAttenDistance(arg2);
218212  }
218213  catch(CStdErrorInfo oError)
218214  {
218215  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218216  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218217  PyErr_SetString(PyExc_IndexError, strError.c_str());
218218  SWIG_fail;
218219  }
218220  catch(...)
218221  {
218222  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218223  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218224  SWIG_fail;
218225  }
218226  }
218227  resultobj = SWIG_Py_Void();
218228  return resultobj;
218229 fail:
218230  return NULL;
218231 }
218232 
218233 
218234 SWIGINTERN PyObject *_wrap_Light_QuadraticAttenDistance__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218235  PyObject *resultobj = 0;
218237  void *argp1 = 0 ;
218238  int res1 = 0 ;
218239  PyObject * obj0 = 0 ;
218240  float result;
218241 
218242  if (!PyArg_ParseTuple(args,(char *)"O:Light_QuadraticAttenDistance",&obj0)) SWIG_fail;
218243  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
218244  if (!SWIG_IsOK(res1)) {
218245  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_QuadraticAttenDistance" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
218246  }
218247  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
218248  {
218249  try {
218250  result = (float)(arg1)->QuadraticAttenDistance();
218251  }
218252  catch(CStdErrorInfo oError)
218253  {
218254  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218255  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218256  PyErr_SetString(PyExc_IndexError, strError.c_str());
218257  SWIG_fail;
218258  }
218259  catch(...)
218260  {
218261  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218262  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218263  SWIG_fail;
218264  }
218265  }
218266  resultobj = SWIG_From_float(static_cast< float >(result));
218267  return resultobj;
218268 fail:
218269  return NULL;
218270 }
218271 
218272 
218273 SWIGINTERN PyObject *_wrap_Light_QuadraticAttenDistance(PyObject *self, PyObject *args) {
218274  int argc;
218275  PyObject *argv[4];
218276  int ii;
218277 
218278  if (!PyTuple_Check(args)) SWIG_fail;
218279  argc = args ? (int)PyObject_Length(args) : 0;
218280  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
218281  argv[ii] = PyTuple_GET_ITEM(args,ii);
218282  }
218283  if (argc == 1) {
218284  int _v;
218285  void *vptr = 0;
218286  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
218287  _v = SWIG_CheckState(res);
218288  if (_v) {
218289  return _wrap_Light_QuadraticAttenDistance__SWIG_2(self, args);
218290  }
218291  }
218292  if (argc == 2) {
218293  int _v;
218294  void *vptr = 0;
218295  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
218296  _v = SWIG_CheckState(res);
218297  if (_v) {
218298  {
218299  int res = SWIG_AsVal_float(argv[1], NULL);
218300  _v = SWIG_CheckState(res);
218301  }
218302  if (_v) {
218303  return _wrap_Light_QuadraticAttenDistance__SWIG_1(self, args);
218304  }
218305  }
218306  }
218307  if (argc == 3) {
218308  int _v;
218309  void *vptr = 0;
218310  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
218311  _v = SWIG_CheckState(res);
218312  if (_v) {
218313  {
218314  int res = SWIG_AsVal_float(argv[1], NULL);
218315  _v = SWIG_CheckState(res);
218316  }
218317  if (_v) {
218318  {
218319  int res = SWIG_AsVal_bool(argv[2], NULL);
218320  _v = SWIG_CheckState(res);
218321  }
218322  if (_v) {
218323  return _wrap_Light_QuadraticAttenDistance__SWIG_0(self, args);
218324  }
218325  }
218326  }
218327  }
218328 
218329 fail:
218330  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Light_QuadraticAttenDistance'.\n"
218331  " Possible C/C++ prototypes are:\n"
218332  " AnimatSim::Environment::Light::QuadraticAttenDistance(float,bool)\n"
218333  " AnimatSim::Environment::Light::QuadraticAttenDistance(float)\n"
218334  " AnimatSim::Environment::Light::QuadraticAttenDistance()\n");
218335  return 0;
218336 }
218337 
218338 
218339 SWIGINTERN PyObject *_wrap_Light_SetSystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218340  PyObject *resultobj = 0;
218342  Simulator *arg2 = (Simulator *) 0 ;
218344  NeuralModule *arg4 = (NeuralModule *) 0 ;
218345  AnimatSim::Node *arg5 = (AnimatSim::Node *) 0 ;
218346  bool arg6 ;
218347  void *argp1 = 0 ;
218348  int res1 = 0 ;
218349  void *argp2 = 0 ;
218350  int res2 = 0 ;
218351  void *argp3 = 0 ;
218352  int res3 = 0 ;
218353  void *argp4 = 0 ;
218354  int res4 = 0 ;
218355  void *argp5 = 0 ;
218356  int res5 = 0 ;
218357  bool val6 ;
218358  int ecode6 = 0 ;
218359  PyObject * obj0 = 0 ;
218360  PyObject * obj1 = 0 ;
218361  PyObject * obj2 = 0 ;
218362  PyObject * obj3 = 0 ;
218363  PyObject * obj4 = 0 ;
218364  PyObject * obj5 = 0 ;
218365 
218366  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:Light_SetSystemPointers",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
218367  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
218368  if (!SWIG_IsOK(res1)) {
218369  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_SetSystemPointers" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
218370  }
218371  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
218372  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Simulator, 0 | 0 );
218373  if (!SWIG_IsOK(res2)) {
218374  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Light_SetSystemPointers" "', argument " "2"" of type '" "Simulator *""'");
218375  }
218376  arg2 = reinterpret_cast< Simulator * >(argp2);
218377  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_AnimatSim__Environment__Structure, 0 | 0 );
218378  if (!SWIG_IsOK(res3)) {
218379  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Light_SetSystemPointers" "', argument " "3"" of type '" "AnimatSim::Environment::Structure *""'");
218380  }
218381  arg3 = reinterpret_cast< AnimatSim::Environment::Structure * >(argp3);
218382  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_NeuralModule, 0 | 0 );
218383  if (!SWIG_IsOK(res4)) {
218384  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Light_SetSystemPointers" "', argument " "4"" of type '" "NeuralModule *""'");
218385  }
218386  arg4 = reinterpret_cast< NeuralModule * >(argp4);
218387  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
218388  if (!SWIG_IsOK(res5)) {
218389  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Light_SetSystemPointers" "', argument " "5"" of type '" "AnimatSim::Node *""'");
218390  }
218391  arg5 = reinterpret_cast< AnimatSim::Node * >(argp5);
218392  ecode6 = SWIG_AsVal_bool(obj5, &val6);
218393  if (!SWIG_IsOK(ecode6)) {
218394  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Light_SetSystemPointers" "', argument " "6"" of type '" "bool""'");
218395  }
218396  arg6 = static_cast< bool >(val6);
218397  {
218398  try {
218399  (arg1)->SetSystemPointers(arg2,arg3,arg4,arg5,arg6);
218400  }
218401  catch(CStdErrorInfo oError)
218402  {
218403  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218404  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218405  PyErr_SetString(PyExc_IndexError, strError.c_str());
218406  SWIG_fail;
218407  }
218408  catch(...)
218409  {
218410  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218411  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218412  SWIG_fail;
218413  }
218414  }
218415  resultobj = SWIG_Py_Void();
218416  return resultobj;
218417 fail:
218418  return NULL;
218419 }
218420 
218421 
218422 SWIGINTERN PyObject *_wrap_Light_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218423  PyObject *resultobj = 0;
218425  std::string *arg2 = 0 ;
218426  std::string *arg3 = 0 ;
218427  bool arg4 ;
218428  void *argp1 = 0 ;
218429  int res1 = 0 ;
218430  int res2 = SWIG_OLDOBJ ;
218431  int res3 = SWIG_OLDOBJ ;
218432  bool val4 ;
218433  int ecode4 = 0 ;
218434  PyObject * obj0 = 0 ;
218435  PyObject * obj1 = 0 ;
218436  PyObject * obj2 = 0 ;
218437  PyObject * obj3 = 0 ;
218438  bool result;
218439 
218440  if (!PyArg_ParseTuple(args,(char *)"OOOO:Light_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
218441  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
218442  if (!SWIG_IsOK(res1)) {
218443  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
218444  }
218445  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
218446  {
218447  std::string *ptr = (std::string *)0;
218448  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
218449  if (!SWIG_IsOK(res2)) {
218450  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Light_SetData" "', argument " "2"" of type '" "std::string const &""'");
218451  }
218452  if (!ptr) {
218453  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Light_SetData" "', argument " "2"" of type '" "std::string const &""'");
218454  }
218455  arg2 = ptr;
218456  }
218457  {
218458  std::string *ptr = (std::string *)0;
218459  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
218460  if (!SWIG_IsOK(res3)) {
218461  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Light_SetData" "', argument " "3"" of type '" "std::string const &""'");
218462  }
218463  if (!ptr) {
218464  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Light_SetData" "', argument " "3"" of type '" "std::string const &""'");
218465  }
218466  arg3 = ptr;
218467  }
218468  ecode4 = SWIG_AsVal_bool(obj3, &val4);
218469  if (!SWIG_IsOK(ecode4)) {
218470  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Light_SetData" "', argument " "4"" of type '" "bool""'");
218471  }
218472  arg4 = static_cast< bool >(val4);
218473  {
218474  try {
218475  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
218476  }
218477  catch(CStdErrorInfo oError)
218478  {
218479  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218480  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218481  PyErr_SetString(PyExc_IndexError, strError.c_str());
218482  SWIG_fail;
218483  }
218484  catch(...)
218485  {
218486  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218487  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218488  SWIG_fail;
218489  }
218490  }
218491  resultobj = SWIG_From_bool(static_cast< bool >(result));
218492  if (SWIG_IsNewObj(res2)) delete arg2;
218493  if (SWIG_IsNewObj(res3)) delete arg3;
218494  return resultobj;
218495 fail:
218496  if (SWIG_IsNewObj(res2)) delete arg2;
218497  if (SWIG_IsNewObj(res3)) delete arg3;
218498  return NULL;
218499 }
218500 
218501 
218502 SWIGINTERN PyObject *_wrap_Light_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218503  PyObject *resultobj = 0;
218505  std::string *arg2 = 0 ;
218506  std::string *arg3 = 0 ;
218507  void *argp1 = 0 ;
218508  int res1 = 0 ;
218509  int res2 = SWIG_OLDOBJ ;
218510  int res3 = SWIG_OLDOBJ ;
218511  PyObject * obj0 = 0 ;
218512  PyObject * obj1 = 0 ;
218513  PyObject * obj2 = 0 ;
218514  bool result;
218515 
218516  if (!PyArg_ParseTuple(args,(char *)"OOO:Light_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
218517  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
218518  if (!SWIG_IsOK(res1)) {
218519  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_SetData" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
218520  }
218521  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
218522  {
218523  std::string *ptr = (std::string *)0;
218524  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
218525  if (!SWIG_IsOK(res2)) {
218526  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Light_SetData" "', argument " "2"" of type '" "std::string const &""'");
218527  }
218528  if (!ptr) {
218529  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Light_SetData" "', argument " "2"" of type '" "std::string const &""'");
218530  }
218531  arg2 = ptr;
218532  }
218533  {
218534  std::string *ptr = (std::string *)0;
218535  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
218536  if (!SWIG_IsOK(res3)) {
218537  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Light_SetData" "', argument " "3"" of type '" "std::string const &""'");
218538  }
218539  if (!ptr) {
218540  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Light_SetData" "', argument " "3"" of type '" "std::string const &""'");
218541  }
218542  arg3 = ptr;
218543  }
218544  {
218545  try {
218546  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
218547  }
218548  catch(CStdErrorInfo oError)
218549  {
218550  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218551  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218552  PyErr_SetString(PyExc_IndexError, strError.c_str());
218553  SWIG_fail;
218554  }
218555  catch(...)
218556  {
218557  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218558  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218559  SWIG_fail;
218560  }
218561  }
218562  resultobj = SWIG_From_bool(static_cast< bool >(result));
218563  if (SWIG_IsNewObj(res2)) delete arg2;
218564  if (SWIG_IsNewObj(res3)) delete arg3;
218565  return resultobj;
218566 fail:
218567  if (SWIG_IsNewObj(res2)) delete arg2;
218568  if (SWIG_IsNewObj(res3)) delete arg3;
218569  return NULL;
218570 }
218571 
218572 
218573 SWIGINTERN PyObject *_wrap_Light_SetData(PyObject *self, PyObject *args) {
218574  int argc;
218575  PyObject *argv[5];
218576  int ii;
218577 
218578  if (!PyTuple_Check(args)) SWIG_fail;
218579  argc = args ? (int)PyObject_Length(args) : 0;
218580  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
218581  argv[ii] = PyTuple_GET_ITEM(args,ii);
218582  }
218583  if (argc == 3) {
218584  int _v;
218585  void *vptr = 0;
218586  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
218587  _v = SWIG_CheckState(res);
218588  if (_v) {
218589  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
218590  _v = SWIG_CheckState(res);
218591  if (_v) {
218592  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
218593  _v = SWIG_CheckState(res);
218594  if (_v) {
218595  return _wrap_Light_SetData__SWIG_1(self, args);
218596  }
218597  }
218598  }
218599  }
218600  if (argc == 4) {
218601  int _v;
218602  void *vptr = 0;
218603  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Light, 0);
218604  _v = SWIG_CheckState(res);
218605  if (_v) {
218606  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
218607  _v = SWIG_CheckState(res);
218608  if (_v) {
218609  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
218610  _v = SWIG_CheckState(res);
218611  if (_v) {
218612  {
218613  int res = SWIG_AsVal_bool(argv[3], NULL);
218614  _v = SWIG_CheckState(res);
218615  }
218616  if (_v) {
218617  return _wrap_Light_SetData__SWIG_0(self, args);
218618  }
218619  }
218620  }
218621  }
218622  }
218623 
218624 fail:
218625  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Light_SetData'.\n"
218626  " Possible C/C++ prototypes are:\n"
218627  " AnimatSim::Environment::Light::SetData(std::string const &,std::string const &,bool)\n"
218628  " AnimatSim::Environment::Light::SetData(std::string const &,std::string const &)\n");
218629  return 0;
218630 }
218631 
218632 
218633 SWIGINTERN PyObject *_wrap_Light_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218634  PyObject *resultobj = 0;
218636  CStdPtrArray< TypeProperty > *arg2 = 0 ;
218637  void *argp1 = 0 ;
218638  int res1 = 0 ;
218639  void *argp2 = 0 ;
218640  int res2 = 0 ;
218641  PyObject * obj0 = 0 ;
218642  PyObject * obj1 = 0 ;
218643 
218644  if (!PyArg_ParseTuple(args,(char *)"OO:Light_QueryProperties",&obj0,&obj1)) SWIG_fail;
218645  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
218646  if (!SWIG_IsOK(res1)) {
218647  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
218648  }
218649  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
218650  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
218651  if (!SWIG_IsOK(res2)) {
218652  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Light_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
218653  }
218654  if (!argp2) {
218655  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Light_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
218656  }
218657  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
218658  {
218659  try {
218660  (arg1)->QueryProperties(*arg2);
218661  }
218662  catch(CStdErrorInfo oError)
218663  {
218664  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218665  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218666  PyErr_SetString(PyExc_IndexError, strError.c_str());
218667  SWIG_fail;
218668  }
218669  catch(...)
218670  {
218671  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218672  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218673  SWIG_fail;
218674  }
218675  }
218676  resultobj = SWIG_Py_Void();
218677  return resultobj;
218678 fail:
218679  return NULL;
218680 }
218681 
218682 
218683 SWIGINTERN PyObject *_wrap_Light_Selected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218684  PyObject *resultobj = 0;
218686  bool arg2 ;
218687  bool arg3 ;
218688  void *argp1 = 0 ;
218689  int res1 = 0 ;
218690  bool val2 ;
218691  int ecode2 = 0 ;
218692  bool val3 ;
218693  int ecode3 = 0 ;
218694  PyObject * obj0 = 0 ;
218695  PyObject * obj1 = 0 ;
218696  PyObject * obj2 = 0 ;
218697 
218698  if (!PyArg_ParseTuple(args,(char *)"OOO:Light_Selected",&obj0,&obj1,&obj2)) SWIG_fail;
218699  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
218700  if (!SWIG_IsOK(res1)) {
218701  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_Selected" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
218702  }
218703  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
218704  ecode2 = SWIG_AsVal_bool(obj1, &val2);
218705  if (!SWIG_IsOK(ecode2)) {
218706  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Light_Selected" "', argument " "2"" of type '" "bool""'");
218707  }
218708  arg2 = static_cast< bool >(val2);
218709  ecode3 = SWIG_AsVal_bool(obj2, &val3);
218710  if (!SWIG_IsOK(ecode3)) {
218711  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Light_Selected" "', argument " "3"" of type '" "bool""'");
218712  }
218713  arg3 = static_cast< bool >(val3);
218714  {
218715  try {
218716  (arg1)->Selected(arg2,arg3);
218717  }
218718  catch(CStdErrorInfo oError)
218719  {
218720  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218721  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218722  PyErr_SetString(PyExc_IndexError, strError.c_str());
218723  SWIG_fail;
218724  }
218725  catch(...)
218726  {
218727  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218728  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218729  SWIG_fail;
218730  }
218731  }
218732  resultobj = SWIG_Py_Void();
218733  return resultobj;
218734 fail:
218735  return NULL;
218736 }
218737 
218738 
218739 SWIGINTERN PyObject *_wrap_Light_VisualSelectionModeChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218740  PyObject *resultobj = 0;
218742  int arg2 ;
218743  void *argp1 = 0 ;
218744  int res1 = 0 ;
218745  int val2 ;
218746  int ecode2 = 0 ;
218747  PyObject * obj0 = 0 ;
218748  PyObject * obj1 = 0 ;
218749 
218750  if (!PyArg_ParseTuple(args,(char *)"OO:Light_VisualSelectionModeChanged",&obj0,&obj1)) SWIG_fail;
218751  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
218752  if (!SWIG_IsOK(res1)) {
218753  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_VisualSelectionModeChanged" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
218754  }
218755  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
218756  ecode2 = SWIG_AsVal_int(obj1, &val2);
218757  if (!SWIG_IsOK(ecode2)) {
218758  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Light_VisualSelectionModeChanged" "', argument " "2"" of type '" "int""'");
218759  }
218760  arg2 = static_cast< int >(val2);
218761  {
218762  try {
218763  (arg1)->VisualSelectionModeChanged(arg2);
218764  }
218765  catch(CStdErrorInfo oError)
218766  {
218767  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218768  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218769  PyErr_SetString(PyExc_IndexError, strError.c_str());
218770  SWIG_fail;
218771  }
218772  catch(...)
218773  {
218774  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218775  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218776  SWIG_fail;
218777  }
218778  }
218779  resultobj = SWIG_Py_Void();
218780  return resultobj;
218781 fail:
218782  return NULL;
218783 }
218784 
218785 
218786 SWIGINTERN PyObject *_wrap_Light_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218787  PyObject *resultobj = 0;
218789  void *argp1 = 0 ;
218790  int res1 = 0 ;
218791  PyObject * obj0 = 0 ;
218792 
218793  if (!PyArg_ParseTuple(args,(char *)"O:Light_Create",&obj0)) SWIG_fail;
218794  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
218795  if (!SWIG_IsOK(res1)) {
218796  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_Create" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
218797  }
218798  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
218799  {
218800  try {
218801  (arg1)->Create();
218802  }
218803  catch(CStdErrorInfo oError)
218804  {
218805  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218806  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218807  PyErr_SetString(PyExc_IndexError, strError.c_str());
218808  SWIG_fail;
218809  }
218810  catch(...)
218811  {
218812  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218813  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218814  SWIG_fail;
218815  }
218816  }
218817  resultobj = SWIG_Py_Void();
218818  return resultobj;
218819 fail:
218820  return NULL;
218821 }
218822 
218823 
218824 SWIGINTERN PyObject *_wrap_Light_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218825  PyObject *resultobj = 0;
218827  CStdXml *arg2 = 0 ;
218828  void *argp1 = 0 ;
218829  int res1 = 0 ;
218830  void *argp2 = 0 ;
218831  int res2 = 0 ;
218832  PyObject * obj0 = 0 ;
218833  PyObject * obj1 = 0 ;
218834 
218835  if (!PyArg_ParseTuple(args,(char *)"OO:Light_Load",&obj0,&obj1)) SWIG_fail;
218836  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Light, 0 | 0 );
218837  if (!SWIG_IsOK(res1)) {
218838  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Light_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Light *""'");
218839  }
218840  arg1 = reinterpret_cast< AnimatSim::Environment::Light * >(argp1);
218841  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
218842  if (!SWIG_IsOK(res2)) {
218843  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Light_Load" "', argument " "2"" of type '" "CStdXml &""'");
218844  }
218845  if (!argp2) {
218846  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Light_Load" "', argument " "2"" of type '" "CStdXml &""'");
218847  }
218848  arg2 = reinterpret_cast< CStdXml * >(argp2);
218849  {
218850  try {
218851  (arg1)->Load(*arg2);
218852  }
218853  catch(CStdErrorInfo oError)
218854  {
218855  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218856  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218857  PyErr_SetString(PyExc_IndexError, strError.c_str());
218858  SWIG_fail;
218859  }
218860  catch(...)
218861  {
218862  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218863  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218864  SWIG_fail;
218865  }
218866  }
218867  resultobj = SWIG_Py_Void();
218868  return resultobj;
218869 fail:
218870  return NULL;
218871 }
218872 
218873 
218874 SWIGINTERN PyObject *Light_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218875  PyObject *obj;
218876  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
218877  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Light, SWIG_NewClientData(obj));
218878  return SWIG_Py_Void();
218879 }
218880 
218881 SWIGINTERN PyObject *_wrap_new_LightManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218882  PyObject *resultobj = 0;
218884 
218885  if (!PyArg_ParseTuple(args,(char *)":new_LightManager")) SWIG_fail;
218886  {
218887  try {
218889  }
218890  catch(CStdErrorInfo oError)
218891  {
218892  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218893  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218894  PyErr_SetString(PyExc_IndexError, strError.c_str());
218895  SWIG_fail;
218896  }
218897  catch(...)
218898  {
218899  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218900  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218901  SWIG_fail;
218902  }
218903  }
218904  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__LightManager, SWIG_POINTER_NEW | 0 );
218905  return resultobj;
218906 fail:
218907  return NULL;
218908 }
218909 
218910 
218911 SWIGINTERN PyObject *_wrap_delete_LightManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218912  PyObject *resultobj = 0;
218914  void *argp1 = 0 ;
218915  int res1 = 0 ;
218916  PyObject * obj0 = 0 ;
218917 
218918  if (!PyArg_ParseTuple(args,(char *)"O:delete_LightManager",&obj0)) SWIG_fail;
218919  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__LightManager, SWIG_POINTER_DISOWN | 0 );
218920  if (!SWIG_IsOK(res1)) {
218921  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LightManager" "', argument " "1"" of type '" "AnimatSim::Environment::LightManager *""'");
218922  }
218923  arg1 = reinterpret_cast< AnimatSim::Environment::LightManager * >(argp1);
218924  {
218925  try {
218926  delete arg1;
218927  }
218928  catch(CStdErrorInfo oError)
218929  {
218930  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218931  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218932  PyErr_SetString(PyExc_IndexError, strError.c_str());
218933  SWIG_fail;
218934  }
218935  catch(...)
218936  {
218937  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218938  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218939  SWIG_fail;
218940  }
218941  }
218942  resultobj = SWIG_Py_Void();
218943  return resultobj;
218944 fail:
218945  return NULL;
218946 }
218947 
218948 
218949 SWIGINTERN PyObject *_wrap_LightManager_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218950  PyObject *resultobj = 0;
218952  void *argp1 = 0 ;
218953  int res1 = 0 ;
218954  PyObject * obj0 = 0 ;
218956 
218957  if (!PyArg_ParseTuple(args,(char *)"O:LightManager_CastToDerived",&obj0)) SWIG_fail;
218958  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
218959  if (!SWIG_IsOK(res1)) {
218960  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LightManager_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
218961  }
218962  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
218963  {
218964  try {
218965  result = (AnimatSim::Environment::LightManager *)AnimatSim::Environment::LightManager::CastToDerived(arg1);
218966  }
218967  catch(CStdErrorInfo oError)
218968  {
218969  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218970  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
218971  PyErr_SetString(PyExc_IndexError, strError.c_str());
218972  SWIG_fail;
218973  }
218974  catch(...)
218975  {
218976  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
218977  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
218978  SWIG_fail;
218979  }
218980  }
218981  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__LightManager, 0 | 0 );
218982  return resultobj;
218983 fail:
218984  return NULL;
218985 }
218986 
218987 
218988 SWIGINTERN PyObject *_wrap_LightManager_Lights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
218989  PyObject *resultobj = 0;
218991  void *argp1 = 0 ;
218992  int res1 = 0 ;
218993  PyObject * obj0 = 0 ;
218994  CStdPtrArray< AnimatSim::Environment::Light > *result = 0 ;
218995 
218996  if (!PyArg_ParseTuple(args,(char *)"O:LightManager_Lights",&obj0)) SWIG_fail;
218997  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__LightManager, 0 | 0 );
218998  if (!SWIG_IsOK(res1)) {
218999  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LightManager_Lights" "', argument " "1"" of type '" "AnimatSim::Environment::LightManager *""'");
219000  }
219001  arg1 = reinterpret_cast< AnimatSim::Environment::LightManager * >(argp1);
219002  {
219003  try {
219004  result = (CStdPtrArray< AnimatSim::Environment::Light > *)(arg1)->Lights();
219005  }
219006  catch(CStdErrorInfo oError)
219007  {
219008  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219009  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
219010  PyErr_SetString(PyExc_IndexError, strError.c_str());
219011  SWIG_fail;
219012  }
219013  catch(...)
219014  {
219015  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219016  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
219017  SWIG_fail;
219018  }
219019  }
219020  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_AnimatSim__Environment__Light_t, 0 | 0 );
219021  return resultobj;
219022 fail:
219023  return NULL;
219024 }
219025 
219026 
219027 SWIGINTERN PyObject *_wrap_LightManager_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
219028  PyObject *resultobj = 0;
219030  std::string *arg2 = 0 ;
219031  std::string *arg3 = 0 ;
219032  bool arg4 ;
219033  bool arg5 ;
219034  void *argp1 = 0 ;
219035  int res1 = 0 ;
219036  int res2 = SWIG_OLDOBJ ;
219037  int res3 = SWIG_OLDOBJ ;
219038  bool val4 ;
219039  int ecode4 = 0 ;
219040  bool val5 ;
219041  int ecode5 = 0 ;
219042  PyObject * obj0 = 0 ;
219043  PyObject * obj1 = 0 ;
219044  PyObject * obj2 = 0 ;
219045  PyObject * obj3 = 0 ;
219046  PyObject * obj4 = 0 ;
219047  bool result;
219048 
219049  if (!PyArg_ParseTuple(args,(char *)"OOOOO:LightManager_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
219050  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__LightManager, 0 | 0 );
219051  if (!SWIG_IsOK(res1)) {
219052  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LightManager_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::LightManager *""'");
219053  }
219054  arg1 = reinterpret_cast< AnimatSim::Environment::LightManager * >(argp1);
219055  {
219056  std::string *ptr = (std::string *)0;
219057  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
219058  if (!SWIG_IsOK(res2)) {
219059  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LightManager_AddItem" "', argument " "2"" of type '" "std::string const &""'");
219060  }
219061  if (!ptr) {
219062  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LightManager_AddItem" "', argument " "2"" of type '" "std::string const &""'");
219063  }
219064  arg2 = ptr;
219065  }
219066  {
219067  std::string *ptr = (std::string *)0;
219068  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
219069  if (!SWIG_IsOK(res3)) {
219070  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LightManager_AddItem" "', argument " "3"" of type '" "std::string const &""'");
219071  }
219072  if (!ptr) {
219073  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LightManager_AddItem" "', argument " "3"" of type '" "std::string const &""'");
219074  }
219075  arg3 = ptr;
219076  }
219077  ecode4 = SWIG_AsVal_bool(obj3, &val4);
219078  if (!SWIG_IsOK(ecode4)) {
219079  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LightManager_AddItem" "', argument " "4"" of type '" "bool""'");
219080  }
219081  arg4 = static_cast< bool >(val4);
219082  ecode5 = SWIG_AsVal_bool(obj4, &val5);
219083  if (!SWIG_IsOK(ecode5)) {
219084  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LightManager_AddItem" "', argument " "5"" of type '" "bool""'");
219085  }
219086  arg5 = static_cast< bool >(val5);
219087  {
219088  try {
219089  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
219090  }
219091  catch(CStdErrorInfo oError)
219092  {
219093  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219094  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
219095  PyErr_SetString(PyExc_IndexError, strError.c_str());
219096  SWIG_fail;
219097  }
219098  catch(...)
219099  {
219100  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219101  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
219102  SWIG_fail;
219103  }
219104  }
219105  resultobj = SWIG_From_bool(static_cast< bool >(result));
219106  if (SWIG_IsNewObj(res2)) delete arg2;
219107  if (SWIG_IsNewObj(res3)) delete arg3;
219108  return resultobj;
219109 fail:
219110  if (SWIG_IsNewObj(res2)) delete arg2;
219111  if (SWIG_IsNewObj(res3)) delete arg3;
219112  return NULL;
219113 }
219114 
219115 
219116 SWIGINTERN PyObject *_wrap_LightManager_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
219117  PyObject *resultobj = 0;
219119  std::string *arg2 = 0 ;
219120  std::string *arg3 = 0 ;
219121  bool arg4 ;
219122  void *argp1 = 0 ;
219123  int res1 = 0 ;
219124  int res2 = SWIG_OLDOBJ ;
219125  int res3 = SWIG_OLDOBJ ;
219126  bool val4 ;
219127  int ecode4 = 0 ;
219128  PyObject * obj0 = 0 ;
219129  PyObject * obj1 = 0 ;
219130  PyObject * obj2 = 0 ;
219131  PyObject * obj3 = 0 ;
219132  bool result;
219133 
219134  if (!PyArg_ParseTuple(args,(char *)"OOOO:LightManager_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
219135  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__LightManager, 0 | 0 );
219136  if (!SWIG_IsOK(res1)) {
219137  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LightManager_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::LightManager *""'");
219138  }
219139  arg1 = reinterpret_cast< AnimatSim::Environment::LightManager * >(argp1);
219140  {
219141  std::string *ptr = (std::string *)0;
219142  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
219143  if (!SWIG_IsOK(res2)) {
219144  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LightManager_AddItem" "', argument " "2"" of type '" "std::string const &""'");
219145  }
219146  if (!ptr) {
219147  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LightManager_AddItem" "', argument " "2"" of type '" "std::string const &""'");
219148  }
219149  arg2 = ptr;
219150  }
219151  {
219152  std::string *ptr = (std::string *)0;
219153  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
219154  if (!SWIG_IsOK(res3)) {
219155  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LightManager_AddItem" "', argument " "3"" of type '" "std::string const &""'");
219156  }
219157  if (!ptr) {
219158  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LightManager_AddItem" "', argument " "3"" of type '" "std::string const &""'");
219159  }
219160  arg3 = ptr;
219161  }
219162  ecode4 = SWIG_AsVal_bool(obj3, &val4);
219163  if (!SWIG_IsOK(ecode4)) {
219164  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LightManager_AddItem" "', argument " "4"" of type '" "bool""'");
219165  }
219166  arg4 = static_cast< bool >(val4);
219167  {
219168  try {
219169  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
219170  }
219171  catch(CStdErrorInfo oError)
219172  {
219173  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219174  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
219175  PyErr_SetString(PyExc_IndexError, strError.c_str());
219176  SWIG_fail;
219177  }
219178  catch(...)
219179  {
219180  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219181  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
219182  SWIG_fail;
219183  }
219184  }
219185  resultobj = SWIG_From_bool(static_cast< bool >(result));
219186  if (SWIG_IsNewObj(res2)) delete arg2;
219187  if (SWIG_IsNewObj(res3)) delete arg3;
219188  return resultobj;
219189 fail:
219190  if (SWIG_IsNewObj(res2)) delete arg2;
219191  if (SWIG_IsNewObj(res3)) delete arg3;
219192  return NULL;
219193 }
219194 
219195 
219196 SWIGINTERN PyObject *_wrap_LightManager_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
219197  PyObject *resultobj = 0;
219199  std::string *arg2 = 0 ;
219200  std::string *arg3 = 0 ;
219201  void *argp1 = 0 ;
219202  int res1 = 0 ;
219203  int res2 = SWIG_OLDOBJ ;
219204  int res3 = SWIG_OLDOBJ ;
219205  PyObject * obj0 = 0 ;
219206  PyObject * obj1 = 0 ;
219207  PyObject * obj2 = 0 ;
219208  bool result;
219209 
219210  if (!PyArg_ParseTuple(args,(char *)"OOO:LightManager_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
219211  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__LightManager, 0 | 0 );
219212  if (!SWIG_IsOK(res1)) {
219213  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LightManager_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::LightManager *""'");
219214  }
219215  arg1 = reinterpret_cast< AnimatSim::Environment::LightManager * >(argp1);
219216  {
219217  std::string *ptr = (std::string *)0;
219218  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
219219  if (!SWIG_IsOK(res2)) {
219220  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LightManager_AddItem" "', argument " "2"" of type '" "std::string const &""'");
219221  }
219222  if (!ptr) {
219223  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LightManager_AddItem" "', argument " "2"" of type '" "std::string const &""'");
219224  }
219225  arg2 = ptr;
219226  }
219227  {
219228  std::string *ptr = (std::string *)0;
219229  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
219230  if (!SWIG_IsOK(res3)) {
219231  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LightManager_AddItem" "', argument " "3"" of type '" "std::string const &""'");
219232  }
219233  if (!ptr) {
219234  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LightManager_AddItem" "', argument " "3"" of type '" "std::string const &""'");
219235  }
219236  arg3 = ptr;
219237  }
219238  {
219239  try {
219240  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
219241  }
219242  catch(CStdErrorInfo oError)
219243  {
219244  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219245  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
219246  PyErr_SetString(PyExc_IndexError, strError.c_str());
219247  SWIG_fail;
219248  }
219249  catch(...)
219250  {
219251  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219252  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
219253  SWIG_fail;
219254  }
219255  }
219256  resultobj = SWIG_From_bool(static_cast< bool >(result));
219257  if (SWIG_IsNewObj(res2)) delete arg2;
219258  if (SWIG_IsNewObj(res3)) delete arg3;
219259  return resultobj;
219260 fail:
219261  if (SWIG_IsNewObj(res2)) delete arg2;
219262  if (SWIG_IsNewObj(res3)) delete arg3;
219263  return NULL;
219264 }
219265 
219266 
219267 SWIGINTERN PyObject *_wrap_LightManager_AddItem(PyObject *self, PyObject *args) {
219268  int argc;
219269  PyObject *argv[6];
219270  int ii;
219271 
219272  if (!PyTuple_Check(args)) SWIG_fail;
219273  argc = args ? (int)PyObject_Length(args) : 0;
219274  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
219275  argv[ii] = PyTuple_GET_ITEM(args,ii);
219276  }
219277  if (argc == 3) {
219278  int _v;
219279  void *vptr = 0;
219280  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__LightManager, 0);
219281  _v = SWIG_CheckState(res);
219282  if (_v) {
219283  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
219284  _v = SWIG_CheckState(res);
219285  if (_v) {
219286  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
219287  _v = SWIG_CheckState(res);
219288  if (_v) {
219289  return _wrap_LightManager_AddItem__SWIG_2(self, args);
219290  }
219291  }
219292  }
219293  }
219294  if (argc == 4) {
219295  int _v;
219296  void *vptr = 0;
219297  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__LightManager, 0);
219298  _v = SWIG_CheckState(res);
219299  if (_v) {
219300  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
219301  _v = SWIG_CheckState(res);
219302  if (_v) {
219303  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
219304  _v = SWIG_CheckState(res);
219305  if (_v) {
219306  {
219307  int res = SWIG_AsVal_bool(argv[3], NULL);
219308  _v = SWIG_CheckState(res);
219309  }
219310  if (_v) {
219311  return _wrap_LightManager_AddItem__SWIG_1(self, args);
219312  }
219313  }
219314  }
219315  }
219316  }
219317  if (argc == 5) {
219318  int _v;
219319  void *vptr = 0;
219320  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__LightManager, 0);
219321  _v = SWIG_CheckState(res);
219322  if (_v) {
219323  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
219324  _v = SWIG_CheckState(res);
219325  if (_v) {
219326  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
219327  _v = SWIG_CheckState(res);
219328  if (_v) {
219329  {
219330  int res = SWIG_AsVal_bool(argv[3], NULL);
219331  _v = SWIG_CheckState(res);
219332  }
219333  if (_v) {
219334  {
219335  int res = SWIG_AsVal_bool(argv[4], NULL);
219336  _v = SWIG_CheckState(res);
219337  }
219338  if (_v) {
219339  return _wrap_LightManager_AddItem__SWIG_0(self, args);
219340  }
219341  }
219342  }
219343  }
219344  }
219345  }
219346 
219347 fail:
219348  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LightManager_AddItem'.\n"
219349  " Possible C/C++ prototypes are:\n"
219350  " AnimatSim::Environment::LightManager::AddItem(std::string const &,std::string const &,bool,bool)\n"
219351  " AnimatSim::Environment::LightManager::AddItem(std::string const &,std::string const &,bool)\n"
219352  " AnimatSim::Environment::LightManager::AddItem(std::string const &,std::string const &)\n");
219353  return 0;
219354 }
219355 
219356 
219357 SWIGINTERN PyObject *_wrap_LightManager_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
219358  PyObject *resultobj = 0;
219360  std::string *arg2 = 0 ;
219361  std::string *arg3 = 0 ;
219362  bool arg4 ;
219363  void *argp1 = 0 ;
219364  int res1 = 0 ;
219365  int res2 = SWIG_OLDOBJ ;
219366  int res3 = SWIG_OLDOBJ ;
219367  bool val4 ;
219368  int ecode4 = 0 ;
219369  PyObject * obj0 = 0 ;
219370  PyObject * obj1 = 0 ;
219371  PyObject * obj2 = 0 ;
219372  PyObject * obj3 = 0 ;
219373  bool result;
219374 
219375  if (!PyArg_ParseTuple(args,(char *)"OOOO:LightManager_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
219376  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__LightManager, 0 | 0 );
219377  if (!SWIG_IsOK(res1)) {
219378  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LightManager_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Environment::LightManager *""'");
219379  }
219380  arg1 = reinterpret_cast< AnimatSim::Environment::LightManager * >(argp1);
219381  {
219382  std::string *ptr = (std::string *)0;
219383  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
219384  if (!SWIG_IsOK(res2)) {
219385  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LightManager_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
219386  }
219387  if (!ptr) {
219388  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LightManager_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
219389  }
219390  arg2 = ptr;
219391  }
219392  {
219393  std::string *ptr = (std::string *)0;
219394  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
219395  if (!SWIG_IsOK(res3)) {
219396  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LightManager_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
219397  }
219398  if (!ptr) {
219399  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LightManager_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
219400  }
219401  arg3 = ptr;
219402  }
219403  ecode4 = SWIG_AsVal_bool(obj3, &val4);
219404  if (!SWIG_IsOK(ecode4)) {
219405  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LightManager_RemoveItem" "', argument " "4"" of type '" "bool""'");
219406  }
219407  arg4 = static_cast< bool >(val4);
219408  {
219409  try {
219410  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
219411  }
219412  catch(CStdErrorInfo oError)
219413  {
219414  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219415  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
219416  PyErr_SetString(PyExc_IndexError, strError.c_str());
219417  SWIG_fail;
219418  }
219419  catch(...)
219420  {
219421  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219422  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
219423  SWIG_fail;
219424  }
219425  }
219426  resultobj = SWIG_From_bool(static_cast< bool >(result));
219427  if (SWIG_IsNewObj(res2)) delete arg2;
219428  if (SWIG_IsNewObj(res3)) delete arg3;
219429  return resultobj;
219430 fail:
219431  if (SWIG_IsNewObj(res2)) delete arg2;
219432  if (SWIG_IsNewObj(res3)) delete arg3;
219433  return NULL;
219434 }
219435 
219436 
219437 SWIGINTERN PyObject *_wrap_LightManager_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
219438  PyObject *resultobj = 0;
219440  std::string *arg2 = 0 ;
219441  std::string *arg3 = 0 ;
219442  void *argp1 = 0 ;
219443  int res1 = 0 ;
219444  int res2 = SWIG_OLDOBJ ;
219445  int res3 = SWIG_OLDOBJ ;
219446  PyObject * obj0 = 0 ;
219447  PyObject * obj1 = 0 ;
219448  PyObject * obj2 = 0 ;
219449  bool result;
219450 
219451  if (!PyArg_ParseTuple(args,(char *)"OOO:LightManager_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
219452  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__LightManager, 0 | 0 );
219453  if (!SWIG_IsOK(res1)) {
219454  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LightManager_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Environment::LightManager *""'");
219455  }
219456  arg1 = reinterpret_cast< AnimatSim::Environment::LightManager * >(argp1);
219457  {
219458  std::string *ptr = (std::string *)0;
219459  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
219460  if (!SWIG_IsOK(res2)) {
219461  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LightManager_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
219462  }
219463  if (!ptr) {
219464  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LightManager_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
219465  }
219466  arg2 = ptr;
219467  }
219468  {
219469  std::string *ptr = (std::string *)0;
219470  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
219471  if (!SWIG_IsOK(res3)) {
219472  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LightManager_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
219473  }
219474  if (!ptr) {
219475  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LightManager_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
219476  }
219477  arg3 = ptr;
219478  }
219479  {
219480  try {
219481  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
219482  }
219483  catch(CStdErrorInfo oError)
219484  {
219485  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219486  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
219487  PyErr_SetString(PyExc_IndexError, strError.c_str());
219488  SWIG_fail;
219489  }
219490  catch(...)
219491  {
219492  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219493  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
219494  SWIG_fail;
219495  }
219496  }
219497  resultobj = SWIG_From_bool(static_cast< bool >(result));
219498  if (SWIG_IsNewObj(res2)) delete arg2;
219499  if (SWIG_IsNewObj(res3)) delete arg3;
219500  return resultobj;
219501 fail:
219502  if (SWIG_IsNewObj(res2)) delete arg2;
219503  if (SWIG_IsNewObj(res3)) delete arg3;
219504  return NULL;
219505 }
219506 
219507 
219508 SWIGINTERN PyObject *_wrap_LightManager_RemoveItem(PyObject *self, PyObject *args) {
219509  int argc;
219510  PyObject *argv[5];
219511  int ii;
219512 
219513  if (!PyTuple_Check(args)) SWIG_fail;
219514  argc = args ? (int)PyObject_Length(args) : 0;
219515  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
219516  argv[ii] = PyTuple_GET_ITEM(args,ii);
219517  }
219518  if (argc == 3) {
219519  int _v;
219520  void *vptr = 0;
219521  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__LightManager, 0);
219522  _v = SWIG_CheckState(res);
219523  if (_v) {
219524  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
219525  _v = SWIG_CheckState(res);
219526  if (_v) {
219527  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
219528  _v = SWIG_CheckState(res);
219529  if (_v) {
219530  return _wrap_LightManager_RemoveItem__SWIG_1(self, args);
219531  }
219532  }
219533  }
219534  }
219535  if (argc == 4) {
219536  int _v;
219537  void *vptr = 0;
219538  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__LightManager, 0);
219539  _v = SWIG_CheckState(res);
219540  if (_v) {
219541  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
219542  _v = SWIG_CheckState(res);
219543  if (_v) {
219544  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
219545  _v = SWIG_CheckState(res);
219546  if (_v) {
219547  {
219548  int res = SWIG_AsVal_bool(argv[3], NULL);
219549  _v = SWIG_CheckState(res);
219550  }
219551  if (_v) {
219552  return _wrap_LightManager_RemoveItem__SWIG_0(self, args);
219553  }
219554  }
219555  }
219556  }
219557  }
219558 
219559 fail:
219560  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LightManager_RemoveItem'.\n"
219561  " Possible C/C++ prototypes are:\n"
219562  " AnimatSim::Environment::LightManager::RemoveItem(std::string const &,std::string const &,bool)\n"
219563  " AnimatSim::Environment::LightManager::RemoveItem(std::string const &,std::string const &)\n");
219564  return 0;
219565 }
219566 
219567 
219568 SWIGINTERN PyObject *_wrap_LightManager_FindChildListPos__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
219569  PyObject *resultobj = 0;
219571  std::string arg2 ;
219572  bool arg3 ;
219573  void *argp1 = 0 ;
219574  int res1 = 0 ;
219575  bool val3 ;
219576  int ecode3 = 0 ;
219577  PyObject * obj0 = 0 ;
219578  PyObject * obj1 = 0 ;
219579  PyObject * obj2 = 0 ;
219580  int result;
219581 
219582  if (!PyArg_ParseTuple(args,(char *)"OOO:LightManager_FindChildListPos",&obj0,&obj1,&obj2)) SWIG_fail;
219583  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__LightManager, 0 | 0 );
219584  if (!SWIG_IsOK(res1)) {
219585  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LightManager_FindChildListPos" "', argument " "1"" of type '" "AnimatSim::Environment::LightManager *""'");
219586  }
219587  arg1 = reinterpret_cast< AnimatSim::Environment::LightManager * >(argp1);
219588  {
219589  std::string *ptr = (std::string *)0;
219590  int res = SWIG_AsPtr_std_string(obj1, &ptr);
219591  if (!SWIG_IsOK(res) || !ptr) {
219592  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "LightManager_FindChildListPos" "', argument " "2"" of type '" "std::string""'");
219593  }
219594  arg2 = *ptr;
219595  if (SWIG_IsNewObj(res)) delete ptr;
219596  }
219597  ecode3 = SWIG_AsVal_bool(obj2, &val3);
219598  if (!SWIG_IsOK(ecode3)) {
219599  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LightManager_FindChildListPos" "', argument " "3"" of type '" "bool""'");
219600  }
219601  arg3 = static_cast< bool >(val3);
219602  {
219603  try {
219604  result = (int)(arg1)->FindChildListPos(arg2,arg3);
219605  }
219606  catch(CStdErrorInfo oError)
219607  {
219608  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219609  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
219610  PyErr_SetString(PyExc_IndexError, strError.c_str());
219611  SWIG_fail;
219612  }
219613  catch(...)
219614  {
219615  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219616  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
219617  SWIG_fail;
219618  }
219619  }
219620  resultobj = SWIG_From_int(static_cast< int >(result));
219621  return resultobj;
219622 fail:
219623  return NULL;
219624 }
219625 
219626 
219627 SWIGINTERN PyObject *_wrap_LightManager_FindChildListPos__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
219628  PyObject *resultobj = 0;
219630  std::string arg2 ;
219631  void *argp1 = 0 ;
219632  int res1 = 0 ;
219633  PyObject * obj0 = 0 ;
219634  PyObject * obj1 = 0 ;
219635  int result;
219636 
219637  if (!PyArg_ParseTuple(args,(char *)"OO:LightManager_FindChildListPos",&obj0,&obj1)) SWIG_fail;
219638  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__LightManager, 0 | 0 );
219639  if (!SWIG_IsOK(res1)) {
219640  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LightManager_FindChildListPos" "', argument " "1"" of type '" "AnimatSim::Environment::LightManager *""'");
219641  }
219642  arg1 = reinterpret_cast< AnimatSim::Environment::LightManager * >(argp1);
219643  {
219644  std::string *ptr = (std::string *)0;
219645  int res = SWIG_AsPtr_std_string(obj1, &ptr);
219646  if (!SWIG_IsOK(res) || !ptr) {
219647  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "LightManager_FindChildListPos" "', argument " "2"" of type '" "std::string""'");
219648  }
219649  arg2 = *ptr;
219650  if (SWIG_IsNewObj(res)) delete ptr;
219651  }
219652  {
219653  try {
219654  result = (int)(arg1)->FindChildListPos(arg2);
219655  }
219656  catch(CStdErrorInfo oError)
219657  {
219658  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219659  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
219660  PyErr_SetString(PyExc_IndexError, strError.c_str());
219661  SWIG_fail;
219662  }
219663  catch(...)
219664  {
219665  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219666  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
219667  SWIG_fail;
219668  }
219669  }
219670  resultobj = SWIG_From_int(static_cast< int >(result));
219671  return resultobj;
219672 fail:
219673  return NULL;
219674 }
219675 
219676 
219677 SWIGINTERN PyObject *_wrap_LightManager_FindChildListPos(PyObject *self, PyObject *args) {
219678  int argc;
219679  PyObject *argv[4];
219680  int ii;
219681 
219682  if (!PyTuple_Check(args)) SWIG_fail;
219683  argc = args ? (int)PyObject_Length(args) : 0;
219684  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
219685  argv[ii] = PyTuple_GET_ITEM(args,ii);
219686  }
219687  if (argc == 2) {
219688  int _v;
219689  void *vptr = 0;
219690  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__LightManager, 0);
219691  _v = SWIG_CheckState(res);
219692  if (_v) {
219693  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
219694  _v = SWIG_CheckState(res);
219695  if (_v) {
219696  return _wrap_LightManager_FindChildListPos__SWIG_1(self, args);
219697  }
219698  }
219699  }
219700  if (argc == 3) {
219701  int _v;
219702  void *vptr = 0;
219703  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__LightManager, 0);
219704  _v = SWIG_CheckState(res);
219705  if (_v) {
219706  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
219707  _v = SWIG_CheckState(res);
219708  if (_v) {
219709  {
219710  int res = SWIG_AsVal_bool(argv[2], NULL);
219711  _v = SWIG_CheckState(res);
219712  }
219713  if (_v) {
219714  return _wrap_LightManager_FindChildListPos__SWIG_0(self, args);
219715  }
219716  }
219717  }
219718  }
219719 
219720 fail:
219721  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'LightManager_FindChildListPos'.\n"
219722  " Possible C/C++ prototypes are:\n"
219723  " AnimatSim::Environment::LightManager::FindChildListPos(std::string,bool)\n"
219724  " AnimatSim::Environment::LightManager::FindChildListPos(std::string)\n");
219725  return 0;
219726 }
219727 
219728 
219729 SWIGINTERN PyObject *_wrap_LightManager_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
219730  PyObject *resultobj = 0;
219732  void *argp1 = 0 ;
219733  int res1 = 0 ;
219734  PyObject * obj0 = 0 ;
219735 
219736  if (!PyArg_ParseTuple(args,(char *)"O:LightManager_Initialize",&obj0)) SWIG_fail;
219737  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__LightManager, 0 | 0 );
219738  if (!SWIG_IsOK(res1)) {
219739  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LightManager_Initialize" "', argument " "1"" of type '" "AnimatSim::Environment::LightManager *""'");
219740  }
219741  arg1 = reinterpret_cast< AnimatSim::Environment::LightManager * >(argp1);
219742  {
219743  try {
219744  (arg1)->Initialize();
219745  }
219746  catch(CStdErrorInfo oError)
219747  {
219748  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219749  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
219750  PyErr_SetString(PyExc_IndexError, strError.c_str());
219751  SWIG_fail;
219752  }
219753  catch(...)
219754  {
219755  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219756  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
219757  SWIG_fail;
219758  }
219759  }
219760  resultobj = SWIG_Py_Void();
219761  return resultobj;
219762 fail:
219763  return NULL;
219764 }
219765 
219766 
219767 SWIGINTERN PyObject *_wrap_LightManager_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
219768  PyObject *resultobj = 0;
219770  CStdXml *arg2 = 0 ;
219771  void *argp1 = 0 ;
219772  int res1 = 0 ;
219773  void *argp2 = 0 ;
219774  int res2 = 0 ;
219775  PyObject * obj0 = 0 ;
219776  PyObject * obj1 = 0 ;
219777 
219778  if (!PyArg_ParseTuple(args,(char *)"OO:LightManager_Load",&obj0,&obj1)) SWIG_fail;
219779  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__LightManager, 0 | 0 );
219780  if (!SWIG_IsOK(res1)) {
219781  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LightManager_Load" "', argument " "1"" of type '" "AnimatSim::Environment::LightManager *""'");
219782  }
219783  arg1 = reinterpret_cast< AnimatSim::Environment::LightManager * >(argp1);
219784  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
219785  if (!SWIG_IsOK(res2)) {
219786  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LightManager_Load" "', argument " "2"" of type '" "CStdXml &""'");
219787  }
219788  if (!argp2) {
219789  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LightManager_Load" "', argument " "2"" of type '" "CStdXml &""'");
219790  }
219791  arg2 = reinterpret_cast< CStdXml * >(argp2);
219792  {
219793  try {
219794  (arg1)->Load(*arg2);
219795  }
219796  catch(CStdErrorInfo oError)
219797  {
219798  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219799  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
219800  PyErr_SetString(PyExc_IndexError, strError.c_str());
219801  SWIG_fail;
219802  }
219803  catch(...)
219804  {
219805  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219806  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
219807  SWIG_fail;
219808  }
219809  }
219810  resultobj = SWIG_Py_Void();
219811  return resultobj;
219812 fail:
219813  return NULL;
219814 }
219815 
219816 
219817 SWIGINTERN PyObject *LightManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
219818  PyObject *obj;
219819  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
219820  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__LightManager, SWIG_NewClientData(obj));
219821  return SWIG_Py_Void();
219822 }
219823 
219824 SWIGINTERN PyObject *_wrap_delete_ActivatedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
219825  PyObject *resultobj = 0;
219827  void *argp1 = 0 ;
219828  int res1 = 0 ;
219829  PyObject * obj0 = 0 ;
219830 
219831  if (!PyArg_ParseTuple(args,(char *)"O:delete_ActivatedItem",&obj0)) SWIG_fail;
219832  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, SWIG_POINTER_DISOWN | 0 );
219833  if (!SWIG_IsOK(res1)) {
219834  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ActivatedItem" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
219835  }
219836  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
219837  {
219838  try {
219839  delete arg1;
219840  }
219841  catch(CStdErrorInfo oError)
219842  {
219843  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219844  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
219845  PyErr_SetString(PyExc_IndexError, strError.c_str());
219846  SWIG_fail;
219847  }
219848  catch(...)
219849  {
219850  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219851  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
219852  SWIG_fail;
219853  }
219854  }
219855  resultobj = SWIG_Py_Void();
219856  return resultobj;
219857 fail:
219858  return NULL;
219859 }
219860 
219861 
219862 SWIGINTERN PyObject *_wrap_ActivatedItem_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
219863  PyObject *resultobj = 0;
219865  void *argp1 = 0 ;
219866  int res1 = 0 ;
219867  PyObject * obj0 = 0 ;
219868  AnimatSim::ActivatedItem *result = 0 ;
219869 
219870  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_CastToDerived",&obj0)) SWIG_fail;
219871  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
219872  if (!SWIG_IsOK(res1)) {
219873  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
219874  }
219875  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
219876  {
219877  try {
219878  result = (AnimatSim::ActivatedItem *)AnimatSim::ActivatedItem::CastToDerived(arg1);
219879  }
219880  catch(CStdErrorInfo oError)
219881  {
219882  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219883  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
219884  PyErr_SetString(PyExc_IndexError, strError.c_str());
219885  SWIG_fail;
219886  }
219887  catch(...)
219888  {
219889  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219890  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
219891  SWIG_fail;
219892  }
219893  }
219894  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
219895  return resultobj;
219896 fail:
219897  return NULL;
219898 }
219899 
219900 
219901 SWIGINTERN PyObject *_wrap_ActivatedItem_Enabled__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
219902  PyObject *resultobj = 0;
219904  void *argp1 = 0 ;
219905  int res1 = 0 ;
219906  PyObject * obj0 = 0 ;
219907  bool result;
219908 
219909  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_Enabled",&obj0)) SWIG_fail;
219910  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
219911  if (!SWIG_IsOK(res1)) {
219912  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_Enabled" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
219913  }
219914  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
219915  {
219916  try {
219917  result = (bool)(arg1)->Enabled();
219918  }
219919  catch(CStdErrorInfo oError)
219920  {
219921  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219922  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
219923  PyErr_SetString(PyExc_IndexError, strError.c_str());
219924  SWIG_fail;
219925  }
219926  catch(...)
219927  {
219928  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219929  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
219930  SWIG_fail;
219931  }
219932  }
219933  resultobj = SWIG_From_bool(static_cast< bool >(result));
219934  return resultobj;
219935 fail:
219936  return NULL;
219937 }
219938 
219939 
219940 SWIGINTERN PyObject *_wrap_ActivatedItem_Enabled__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
219941  PyObject *resultobj = 0;
219943  bool arg2 ;
219944  void *argp1 = 0 ;
219945  int res1 = 0 ;
219946  bool val2 ;
219947  int ecode2 = 0 ;
219948  PyObject * obj0 = 0 ;
219949  PyObject * obj1 = 0 ;
219950 
219951  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItem_Enabled",&obj0,&obj1)) SWIG_fail;
219952  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
219953  if (!SWIG_IsOK(res1)) {
219954  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_Enabled" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
219955  }
219956  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
219957  ecode2 = SWIG_AsVal_bool(obj1, &val2);
219958  if (!SWIG_IsOK(ecode2)) {
219959  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActivatedItem_Enabled" "', argument " "2"" of type '" "bool""'");
219960  }
219961  arg2 = static_cast< bool >(val2);
219962  {
219963  try {
219964  (arg1)->Enabled(arg2);
219965  }
219966  catch(CStdErrorInfo oError)
219967  {
219968  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219969  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
219970  PyErr_SetString(PyExc_IndexError, strError.c_str());
219971  SWIG_fail;
219972  }
219973  catch(...)
219974  {
219975  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
219976  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
219977  SWIG_fail;
219978  }
219979  }
219980  resultobj = SWIG_Py_Void();
219981  return resultobj;
219982 fail:
219983  return NULL;
219984 }
219985 
219986 
219987 SWIGINTERN PyObject *_wrap_ActivatedItem_Enabled(PyObject *self, PyObject *args) {
219988  int argc;
219989  PyObject *argv[3];
219990  int ii;
219991 
219992  if (!PyTuple_Check(args)) SWIG_fail;
219993  argc = args ? (int)PyObject_Length(args) : 0;
219994  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
219995  argv[ii] = PyTuple_GET_ITEM(args,ii);
219996  }
219997  if (argc == 1) {
219998  int _v;
219999  void *vptr = 0;
220000  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220001  _v = SWIG_CheckState(res);
220002  if (_v) {
220003  return _wrap_ActivatedItem_Enabled__SWIG_0(self, args);
220004  }
220005  }
220006  if (argc == 2) {
220007  int _v;
220008  void *vptr = 0;
220009  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220010  _v = SWIG_CheckState(res);
220011  if (_v) {
220012  {
220013  int res = SWIG_AsVal_bool(argv[1], NULL);
220014  _v = SWIG_CheckState(res);
220015  }
220016  if (_v) {
220017  return _wrap_ActivatedItem_Enabled__SWIG_1(self, args);
220018  }
220019  }
220020  }
220021 
220022 fail:
220023  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ActivatedItem_Enabled'.\n"
220024  " Possible C/C++ prototypes are:\n"
220025  " AnimatSim::ActivatedItem::Enabled()\n"
220026  " AnimatSim::ActivatedItem::Enabled(bool)\n");
220027  return 0;
220028 }
220029 
220030 
220031 SWIGINTERN PyObject *_wrap_ActivatedItem_LoadedTime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
220032  PyObject *resultobj = 0;
220034  void *argp1 = 0 ;
220035  int res1 = 0 ;
220036  PyObject * obj0 = 0 ;
220037  bool result;
220038 
220039  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_LoadedTime",&obj0)) SWIG_fail;
220040  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
220041  if (!SWIG_IsOK(res1)) {
220042  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_LoadedTime" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
220043  }
220044  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
220045  {
220046  try {
220047  result = (bool)(arg1)->LoadedTime();
220048  }
220049  catch(CStdErrorInfo oError)
220050  {
220051  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220052  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
220053  PyErr_SetString(PyExc_IndexError, strError.c_str());
220054  SWIG_fail;
220055  }
220056  catch(...)
220057  {
220058  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220059  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
220060  SWIG_fail;
220061  }
220062  }
220063  resultobj = SWIG_From_bool(static_cast< bool >(result));
220064  return resultobj;
220065 fail:
220066  return NULL;
220067 }
220068 
220069 
220070 SWIGINTERN PyObject *_wrap_ActivatedItem_LoadedTime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
220071  PyObject *resultobj = 0;
220073  bool arg2 ;
220074  void *argp1 = 0 ;
220075  int res1 = 0 ;
220076  bool val2 ;
220077  int ecode2 = 0 ;
220078  PyObject * obj0 = 0 ;
220079  PyObject * obj1 = 0 ;
220080 
220081  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItem_LoadedTime",&obj0,&obj1)) SWIG_fail;
220082  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
220083  if (!SWIG_IsOK(res1)) {
220084  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_LoadedTime" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
220085  }
220086  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
220087  ecode2 = SWIG_AsVal_bool(obj1, &val2);
220088  if (!SWIG_IsOK(ecode2)) {
220089  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActivatedItem_LoadedTime" "', argument " "2"" of type '" "bool""'");
220090  }
220091  arg2 = static_cast< bool >(val2);
220092  {
220093  try {
220094  (arg1)->LoadedTime(arg2);
220095  }
220096  catch(CStdErrorInfo oError)
220097  {
220098  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220099  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
220100  PyErr_SetString(PyExc_IndexError, strError.c_str());
220101  SWIG_fail;
220102  }
220103  catch(...)
220104  {
220105  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220106  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
220107  SWIG_fail;
220108  }
220109  }
220110  resultobj = SWIG_Py_Void();
220111  return resultobj;
220112 fail:
220113  return NULL;
220114 }
220115 
220116 
220117 SWIGINTERN PyObject *_wrap_ActivatedItem_LoadedTime(PyObject *self, PyObject *args) {
220118  int argc;
220119  PyObject *argv[3];
220120  int ii;
220121 
220122  if (!PyTuple_Check(args)) SWIG_fail;
220123  argc = args ? (int)PyObject_Length(args) : 0;
220124  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
220125  argv[ii] = PyTuple_GET_ITEM(args,ii);
220126  }
220127  if (argc == 1) {
220128  int _v;
220129  void *vptr = 0;
220130  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220131  _v = SWIG_CheckState(res);
220132  if (_v) {
220133  return _wrap_ActivatedItem_LoadedTime__SWIG_0(self, args);
220134  }
220135  }
220136  if (argc == 2) {
220137  int _v;
220138  void *vptr = 0;
220139  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220140  _v = SWIG_CheckState(res);
220141  if (_v) {
220142  {
220143  int res = SWIG_AsVal_bool(argv[1], NULL);
220144  _v = SWIG_CheckState(res);
220145  }
220146  if (_v) {
220147  return _wrap_ActivatedItem_LoadedTime__SWIG_1(self, args);
220148  }
220149  }
220150  }
220151 
220152 fail:
220153  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ActivatedItem_LoadedTime'.\n"
220154  " Possible C/C++ prototypes are:\n"
220155  " AnimatSim::ActivatedItem::LoadedTime()\n"
220156  " AnimatSim::ActivatedItem::LoadedTime(bool)\n");
220157  return 0;
220158 }
220159 
220160 
220161 SWIGINTERN PyObject *_wrap_ActivatedItem_StartSlice__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
220162  PyObject *resultobj = 0;
220164  void *argp1 = 0 ;
220165  int res1 = 0 ;
220166  PyObject * obj0 = 0 ;
220167  long result;
220168 
220169  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_StartSlice",&obj0)) SWIG_fail;
220170  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
220171  if (!SWIG_IsOK(res1)) {
220172  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_StartSlice" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
220173  }
220174  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
220175  {
220176  try {
220177  result = (long)(arg1)->StartSlice();
220178  }
220179  catch(CStdErrorInfo oError)
220180  {
220181  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220182  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
220183  PyErr_SetString(PyExc_IndexError, strError.c_str());
220184  SWIG_fail;
220185  }
220186  catch(...)
220187  {
220188  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220189  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
220190  SWIG_fail;
220191  }
220192  }
220193  resultobj = SWIG_From_long(static_cast< long >(result));
220194  return resultobj;
220195 fail:
220196  return NULL;
220197 }
220198 
220199 
220200 SWIGINTERN PyObject *_wrap_ActivatedItem_StartSlice__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
220201  PyObject *resultobj = 0;
220203  long arg2 ;
220204  bool arg3 ;
220205  void *argp1 = 0 ;
220206  int res1 = 0 ;
220207  long val2 ;
220208  int ecode2 = 0 ;
220209  bool val3 ;
220210  int ecode3 = 0 ;
220211  PyObject * obj0 = 0 ;
220212  PyObject * obj1 = 0 ;
220213  PyObject * obj2 = 0 ;
220214 
220215  if (!PyArg_ParseTuple(args,(char *)"OOO:ActivatedItem_StartSlice",&obj0,&obj1,&obj2)) SWIG_fail;
220216  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
220217  if (!SWIG_IsOK(res1)) {
220218  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_StartSlice" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
220219  }
220220  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
220221  ecode2 = SWIG_AsVal_long(obj1, &val2);
220222  if (!SWIG_IsOK(ecode2)) {
220223  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActivatedItem_StartSlice" "', argument " "2"" of type '" "long""'");
220224  }
220225  arg2 = static_cast< long >(val2);
220226  ecode3 = SWIG_AsVal_bool(obj2, &val3);
220227  if (!SWIG_IsOK(ecode3)) {
220228  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ActivatedItem_StartSlice" "', argument " "3"" of type '" "bool""'");
220229  }
220230  arg3 = static_cast< bool >(val3);
220231  {
220232  try {
220233  (arg1)->StartSlice(arg2,arg3);
220234  }
220235  catch(CStdErrorInfo oError)
220236  {
220237  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220238  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
220239  PyErr_SetString(PyExc_IndexError, strError.c_str());
220240  SWIG_fail;
220241  }
220242  catch(...)
220243  {
220244  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220245  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
220246  SWIG_fail;
220247  }
220248  }
220249  resultobj = SWIG_Py_Void();
220250  return resultobj;
220251 fail:
220252  return NULL;
220253 }
220254 
220255 
220256 SWIGINTERN PyObject *_wrap_ActivatedItem_StartSlice__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
220257  PyObject *resultobj = 0;
220259  long arg2 ;
220260  void *argp1 = 0 ;
220261  int res1 = 0 ;
220262  long val2 ;
220263  int ecode2 = 0 ;
220264  PyObject * obj0 = 0 ;
220265  PyObject * obj1 = 0 ;
220266 
220267  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItem_StartSlice",&obj0,&obj1)) SWIG_fail;
220268  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
220269  if (!SWIG_IsOK(res1)) {
220270  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_StartSlice" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
220271  }
220272  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
220273  ecode2 = SWIG_AsVal_long(obj1, &val2);
220274  if (!SWIG_IsOK(ecode2)) {
220275  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActivatedItem_StartSlice" "', argument " "2"" of type '" "long""'");
220276  }
220277  arg2 = static_cast< long >(val2);
220278  {
220279  try {
220280  (arg1)->StartSlice(arg2);
220281  }
220282  catch(CStdErrorInfo oError)
220283  {
220284  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220285  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
220286  PyErr_SetString(PyExc_IndexError, strError.c_str());
220287  SWIG_fail;
220288  }
220289  catch(...)
220290  {
220291  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220292  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
220293  SWIG_fail;
220294  }
220295  }
220296  resultobj = SWIG_Py_Void();
220297  return resultobj;
220298 fail:
220299  return NULL;
220300 }
220301 
220302 
220303 SWIGINTERN PyObject *_wrap_ActivatedItem_StartSlice(PyObject *self, PyObject *args) {
220304  int argc;
220305  PyObject *argv[4];
220306  int ii;
220307 
220308  if (!PyTuple_Check(args)) SWIG_fail;
220309  argc = args ? (int)PyObject_Length(args) : 0;
220310  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
220311  argv[ii] = PyTuple_GET_ITEM(args,ii);
220312  }
220313  if (argc == 1) {
220314  int _v;
220315  void *vptr = 0;
220316  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220317  _v = SWIG_CheckState(res);
220318  if (_v) {
220319  return _wrap_ActivatedItem_StartSlice__SWIG_0(self, args);
220320  }
220321  }
220322  if (argc == 2) {
220323  int _v;
220324  void *vptr = 0;
220325  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220326  _v = SWIG_CheckState(res);
220327  if (_v) {
220328  {
220329  int res = SWIG_AsVal_long(argv[1], NULL);
220330  _v = SWIG_CheckState(res);
220331  }
220332  if (_v) {
220333  return _wrap_ActivatedItem_StartSlice__SWIG_2(self, args);
220334  }
220335  }
220336  }
220337  if (argc == 3) {
220338  int _v;
220339  void *vptr = 0;
220340  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220341  _v = SWIG_CheckState(res);
220342  if (_v) {
220343  {
220344  int res = SWIG_AsVal_long(argv[1], NULL);
220345  _v = SWIG_CheckState(res);
220346  }
220347  if (_v) {
220348  {
220349  int res = SWIG_AsVal_bool(argv[2], NULL);
220350  _v = SWIG_CheckState(res);
220351  }
220352  if (_v) {
220353  return _wrap_ActivatedItem_StartSlice__SWIG_1(self, args);
220354  }
220355  }
220356  }
220357  }
220358 
220359 fail:
220360  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ActivatedItem_StartSlice'.\n"
220361  " Possible C/C++ prototypes are:\n"
220362  " AnimatSim::ActivatedItem::StartSlice()\n"
220363  " AnimatSim::ActivatedItem::StartSlice(long,bool)\n"
220364  " AnimatSim::ActivatedItem::StartSlice(long)\n");
220365  return 0;
220366 }
220367 
220368 
220369 SWIGINTERN PyObject *_wrap_ActivatedItem_EndSlice__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
220370  PyObject *resultobj = 0;
220372  void *argp1 = 0 ;
220373  int res1 = 0 ;
220374  PyObject * obj0 = 0 ;
220375  long result;
220376 
220377  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_EndSlice",&obj0)) SWIG_fail;
220378  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
220379  if (!SWIG_IsOK(res1)) {
220380  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_EndSlice" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
220381  }
220382  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
220383  {
220384  try {
220385  result = (long)(arg1)->EndSlice();
220386  }
220387  catch(CStdErrorInfo oError)
220388  {
220389  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220390  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
220391  PyErr_SetString(PyExc_IndexError, strError.c_str());
220392  SWIG_fail;
220393  }
220394  catch(...)
220395  {
220396  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220397  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
220398  SWIG_fail;
220399  }
220400  }
220401  resultobj = SWIG_From_long(static_cast< long >(result));
220402  return resultobj;
220403 fail:
220404  return NULL;
220405 }
220406 
220407 
220408 SWIGINTERN PyObject *_wrap_ActivatedItem_EndSlice__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
220409  PyObject *resultobj = 0;
220411  long arg2 ;
220412  bool arg3 ;
220413  void *argp1 = 0 ;
220414  int res1 = 0 ;
220415  long val2 ;
220416  int ecode2 = 0 ;
220417  bool val3 ;
220418  int ecode3 = 0 ;
220419  PyObject * obj0 = 0 ;
220420  PyObject * obj1 = 0 ;
220421  PyObject * obj2 = 0 ;
220422 
220423  if (!PyArg_ParseTuple(args,(char *)"OOO:ActivatedItem_EndSlice",&obj0,&obj1,&obj2)) SWIG_fail;
220424  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
220425  if (!SWIG_IsOK(res1)) {
220426  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_EndSlice" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
220427  }
220428  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
220429  ecode2 = SWIG_AsVal_long(obj1, &val2);
220430  if (!SWIG_IsOK(ecode2)) {
220431  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActivatedItem_EndSlice" "', argument " "2"" of type '" "long""'");
220432  }
220433  arg2 = static_cast< long >(val2);
220434  ecode3 = SWIG_AsVal_bool(obj2, &val3);
220435  if (!SWIG_IsOK(ecode3)) {
220436  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ActivatedItem_EndSlice" "', argument " "3"" of type '" "bool""'");
220437  }
220438  arg3 = static_cast< bool >(val3);
220439  {
220440  try {
220441  (arg1)->EndSlice(arg2,arg3);
220442  }
220443  catch(CStdErrorInfo oError)
220444  {
220445  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220446  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
220447  PyErr_SetString(PyExc_IndexError, strError.c_str());
220448  SWIG_fail;
220449  }
220450  catch(...)
220451  {
220452  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220453  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
220454  SWIG_fail;
220455  }
220456  }
220457  resultobj = SWIG_Py_Void();
220458  return resultobj;
220459 fail:
220460  return NULL;
220461 }
220462 
220463 
220464 SWIGINTERN PyObject *_wrap_ActivatedItem_EndSlice__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
220465  PyObject *resultobj = 0;
220467  long arg2 ;
220468  void *argp1 = 0 ;
220469  int res1 = 0 ;
220470  long val2 ;
220471  int ecode2 = 0 ;
220472  PyObject * obj0 = 0 ;
220473  PyObject * obj1 = 0 ;
220474 
220475  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItem_EndSlice",&obj0,&obj1)) SWIG_fail;
220476  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
220477  if (!SWIG_IsOK(res1)) {
220478  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_EndSlice" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
220479  }
220480  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
220481  ecode2 = SWIG_AsVal_long(obj1, &val2);
220482  if (!SWIG_IsOK(ecode2)) {
220483  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActivatedItem_EndSlice" "', argument " "2"" of type '" "long""'");
220484  }
220485  arg2 = static_cast< long >(val2);
220486  {
220487  try {
220488  (arg1)->EndSlice(arg2);
220489  }
220490  catch(CStdErrorInfo oError)
220491  {
220492  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220493  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
220494  PyErr_SetString(PyExc_IndexError, strError.c_str());
220495  SWIG_fail;
220496  }
220497  catch(...)
220498  {
220499  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220500  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
220501  SWIG_fail;
220502  }
220503  }
220504  resultobj = SWIG_Py_Void();
220505  return resultobj;
220506 fail:
220507  return NULL;
220508 }
220509 
220510 
220511 SWIGINTERN PyObject *_wrap_ActivatedItem_EndSlice(PyObject *self, PyObject *args) {
220512  int argc;
220513  PyObject *argv[4];
220514  int ii;
220515 
220516  if (!PyTuple_Check(args)) SWIG_fail;
220517  argc = args ? (int)PyObject_Length(args) : 0;
220518  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
220519  argv[ii] = PyTuple_GET_ITEM(args,ii);
220520  }
220521  if (argc == 1) {
220522  int _v;
220523  void *vptr = 0;
220524  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220525  _v = SWIG_CheckState(res);
220526  if (_v) {
220527  return _wrap_ActivatedItem_EndSlice__SWIG_0(self, args);
220528  }
220529  }
220530  if (argc == 2) {
220531  int _v;
220532  void *vptr = 0;
220533  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220534  _v = SWIG_CheckState(res);
220535  if (_v) {
220536  {
220537  int res = SWIG_AsVal_long(argv[1], NULL);
220538  _v = SWIG_CheckState(res);
220539  }
220540  if (_v) {
220541  return _wrap_ActivatedItem_EndSlice__SWIG_2(self, args);
220542  }
220543  }
220544  }
220545  if (argc == 3) {
220546  int _v;
220547  void *vptr = 0;
220548  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220549  _v = SWIG_CheckState(res);
220550  if (_v) {
220551  {
220552  int res = SWIG_AsVal_long(argv[1], NULL);
220553  _v = SWIG_CheckState(res);
220554  }
220555  if (_v) {
220556  {
220557  int res = SWIG_AsVal_bool(argv[2], NULL);
220558  _v = SWIG_CheckState(res);
220559  }
220560  if (_v) {
220561  return _wrap_ActivatedItem_EndSlice__SWIG_1(self, args);
220562  }
220563  }
220564  }
220565  }
220566 
220567 fail:
220568  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ActivatedItem_EndSlice'.\n"
220569  " Possible C/C++ prototypes are:\n"
220570  " AnimatSim::ActivatedItem::EndSlice()\n"
220571  " AnimatSim::ActivatedItem::EndSlice(long,bool)\n"
220572  " AnimatSim::ActivatedItem::EndSlice(long)\n");
220573  return 0;
220574 }
220575 
220576 
220577 SWIGINTERN PyObject *_wrap_ActivatedItem_StartTime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
220578  PyObject *resultobj = 0;
220580  void *argp1 = 0 ;
220581  int res1 = 0 ;
220582  PyObject * obj0 = 0 ;
220583  float result;
220584 
220585  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_StartTime",&obj0)) SWIG_fail;
220586  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
220587  if (!SWIG_IsOK(res1)) {
220588  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_StartTime" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
220589  }
220590  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
220591  {
220592  try {
220593  result = (float)(arg1)->StartTime();
220594  }
220595  catch(CStdErrorInfo oError)
220596  {
220597  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220598  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
220599  PyErr_SetString(PyExc_IndexError, strError.c_str());
220600  SWIG_fail;
220601  }
220602  catch(...)
220603  {
220604  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220605  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
220606  SWIG_fail;
220607  }
220608  }
220609  resultobj = SWIG_From_float(static_cast< float >(result));
220610  return resultobj;
220611 fail:
220612  return NULL;
220613 }
220614 
220615 
220616 SWIGINTERN PyObject *_wrap_ActivatedItem_StartTime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
220617  PyObject *resultobj = 0;
220619  float arg2 ;
220620  bool arg3 ;
220621  void *argp1 = 0 ;
220622  int res1 = 0 ;
220623  float val2 ;
220624  int ecode2 = 0 ;
220625  bool val3 ;
220626  int ecode3 = 0 ;
220627  PyObject * obj0 = 0 ;
220628  PyObject * obj1 = 0 ;
220629  PyObject * obj2 = 0 ;
220630 
220631  if (!PyArg_ParseTuple(args,(char *)"OOO:ActivatedItem_StartTime",&obj0,&obj1,&obj2)) SWIG_fail;
220632  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
220633  if (!SWIG_IsOK(res1)) {
220634  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_StartTime" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
220635  }
220636  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
220637  ecode2 = SWIG_AsVal_float(obj1, &val2);
220638  if (!SWIG_IsOK(ecode2)) {
220639  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActivatedItem_StartTime" "', argument " "2"" of type '" "float""'");
220640  }
220641  arg2 = static_cast< float >(val2);
220642  ecode3 = SWIG_AsVal_bool(obj2, &val3);
220643  if (!SWIG_IsOK(ecode3)) {
220644  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ActivatedItem_StartTime" "', argument " "3"" of type '" "bool""'");
220645  }
220646  arg3 = static_cast< bool >(val3);
220647  {
220648  try {
220649  (arg1)->StartTime(arg2,arg3);
220650  }
220651  catch(CStdErrorInfo oError)
220652  {
220653  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220654  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
220655  PyErr_SetString(PyExc_IndexError, strError.c_str());
220656  SWIG_fail;
220657  }
220658  catch(...)
220659  {
220660  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220661  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
220662  SWIG_fail;
220663  }
220664  }
220665  resultobj = SWIG_Py_Void();
220666  return resultobj;
220667 fail:
220668  return NULL;
220669 }
220670 
220671 
220672 SWIGINTERN PyObject *_wrap_ActivatedItem_StartTime__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
220673  PyObject *resultobj = 0;
220675  float arg2 ;
220676  void *argp1 = 0 ;
220677  int res1 = 0 ;
220678  float val2 ;
220679  int ecode2 = 0 ;
220680  PyObject * obj0 = 0 ;
220681  PyObject * obj1 = 0 ;
220682 
220683  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItem_StartTime",&obj0,&obj1)) SWIG_fail;
220684  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
220685  if (!SWIG_IsOK(res1)) {
220686  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_StartTime" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
220687  }
220688  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
220689  ecode2 = SWIG_AsVal_float(obj1, &val2);
220690  if (!SWIG_IsOK(ecode2)) {
220691  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActivatedItem_StartTime" "', argument " "2"" of type '" "float""'");
220692  }
220693  arg2 = static_cast< float >(val2);
220694  {
220695  try {
220696  (arg1)->StartTime(arg2);
220697  }
220698  catch(CStdErrorInfo oError)
220699  {
220700  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220701  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
220702  PyErr_SetString(PyExc_IndexError, strError.c_str());
220703  SWIG_fail;
220704  }
220705  catch(...)
220706  {
220707  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220708  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
220709  SWIG_fail;
220710  }
220711  }
220712  resultobj = SWIG_Py_Void();
220713  return resultobj;
220714 fail:
220715  return NULL;
220716 }
220717 
220718 
220719 SWIGINTERN PyObject *_wrap_ActivatedItem_StartTime(PyObject *self, PyObject *args) {
220720  int argc;
220721  PyObject *argv[4];
220722  int ii;
220723 
220724  if (!PyTuple_Check(args)) SWIG_fail;
220725  argc = args ? (int)PyObject_Length(args) : 0;
220726  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
220727  argv[ii] = PyTuple_GET_ITEM(args,ii);
220728  }
220729  if (argc == 1) {
220730  int _v;
220731  void *vptr = 0;
220732  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220733  _v = SWIG_CheckState(res);
220734  if (_v) {
220735  return _wrap_ActivatedItem_StartTime__SWIG_0(self, args);
220736  }
220737  }
220738  if (argc == 2) {
220739  int _v;
220740  void *vptr = 0;
220741  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220742  _v = SWIG_CheckState(res);
220743  if (_v) {
220744  {
220745  int res = SWIG_AsVal_float(argv[1], NULL);
220746  _v = SWIG_CheckState(res);
220747  }
220748  if (_v) {
220749  return _wrap_ActivatedItem_StartTime__SWIG_2(self, args);
220750  }
220751  }
220752  }
220753  if (argc == 3) {
220754  int _v;
220755  void *vptr = 0;
220756  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220757  _v = SWIG_CheckState(res);
220758  if (_v) {
220759  {
220760  int res = SWIG_AsVal_float(argv[1], NULL);
220761  _v = SWIG_CheckState(res);
220762  }
220763  if (_v) {
220764  {
220765  int res = SWIG_AsVal_bool(argv[2], NULL);
220766  _v = SWIG_CheckState(res);
220767  }
220768  if (_v) {
220769  return _wrap_ActivatedItem_StartTime__SWIG_1(self, args);
220770  }
220771  }
220772  }
220773  }
220774 
220775 fail:
220776  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ActivatedItem_StartTime'.\n"
220777  " Possible C/C++ prototypes are:\n"
220778  " AnimatSim::ActivatedItem::StartTime()\n"
220779  " AnimatSim::ActivatedItem::StartTime(float,bool)\n"
220780  " AnimatSim::ActivatedItem::StartTime(float)\n");
220781  return 0;
220782 }
220783 
220784 
220785 SWIGINTERN PyObject *_wrap_ActivatedItem_EndTime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
220786  PyObject *resultobj = 0;
220788  void *argp1 = 0 ;
220789  int res1 = 0 ;
220790  PyObject * obj0 = 0 ;
220791  float result;
220792 
220793  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_EndTime",&obj0)) SWIG_fail;
220794  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
220795  if (!SWIG_IsOK(res1)) {
220796  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_EndTime" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
220797  }
220798  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
220799  {
220800  try {
220801  result = (float)(arg1)->EndTime();
220802  }
220803  catch(CStdErrorInfo oError)
220804  {
220805  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220806  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
220807  PyErr_SetString(PyExc_IndexError, strError.c_str());
220808  SWIG_fail;
220809  }
220810  catch(...)
220811  {
220812  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220813  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
220814  SWIG_fail;
220815  }
220816  }
220817  resultobj = SWIG_From_float(static_cast< float >(result));
220818  return resultobj;
220819 fail:
220820  return NULL;
220821 }
220822 
220823 
220824 SWIGINTERN PyObject *_wrap_ActivatedItem_EndTime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
220825  PyObject *resultobj = 0;
220827  float arg2 ;
220828  bool arg3 ;
220829  void *argp1 = 0 ;
220830  int res1 = 0 ;
220831  float val2 ;
220832  int ecode2 = 0 ;
220833  bool val3 ;
220834  int ecode3 = 0 ;
220835  PyObject * obj0 = 0 ;
220836  PyObject * obj1 = 0 ;
220837  PyObject * obj2 = 0 ;
220838 
220839  if (!PyArg_ParseTuple(args,(char *)"OOO:ActivatedItem_EndTime",&obj0,&obj1,&obj2)) SWIG_fail;
220840  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
220841  if (!SWIG_IsOK(res1)) {
220842  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_EndTime" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
220843  }
220844  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
220845  ecode2 = SWIG_AsVal_float(obj1, &val2);
220846  if (!SWIG_IsOK(ecode2)) {
220847  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActivatedItem_EndTime" "', argument " "2"" of type '" "float""'");
220848  }
220849  arg2 = static_cast< float >(val2);
220850  ecode3 = SWIG_AsVal_bool(obj2, &val3);
220851  if (!SWIG_IsOK(ecode3)) {
220852  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ActivatedItem_EndTime" "', argument " "3"" of type '" "bool""'");
220853  }
220854  arg3 = static_cast< bool >(val3);
220855  {
220856  try {
220857  (arg1)->EndTime(arg2,arg3);
220858  }
220859  catch(CStdErrorInfo oError)
220860  {
220861  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220862  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
220863  PyErr_SetString(PyExc_IndexError, strError.c_str());
220864  SWIG_fail;
220865  }
220866  catch(...)
220867  {
220868  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220869  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
220870  SWIG_fail;
220871  }
220872  }
220873  resultobj = SWIG_Py_Void();
220874  return resultobj;
220875 fail:
220876  return NULL;
220877 }
220878 
220879 
220880 SWIGINTERN PyObject *_wrap_ActivatedItem_EndTime__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
220881  PyObject *resultobj = 0;
220883  float arg2 ;
220884  void *argp1 = 0 ;
220885  int res1 = 0 ;
220886  float val2 ;
220887  int ecode2 = 0 ;
220888  PyObject * obj0 = 0 ;
220889  PyObject * obj1 = 0 ;
220890 
220891  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItem_EndTime",&obj0,&obj1)) SWIG_fail;
220892  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
220893  if (!SWIG_IsOK(res1)) {
220894  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_EndTime" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
220895  }
220896  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
220897  ecode2 = SWIG_AsVal_float(obj1, &val2);
220898  if (!SWIG_IsOK(ecode2)) {
220899  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActivatedItem_EndTime" "', argument " "2"" of type '" "float""'");
220900  }
220901  arg2 = static_cast< float >(val2);
220902  {
220903  try {
220904  (arg1)->EndTime(arg2);
220905  }
220906  catch(CStdErrorInfo oError)
220907  {
220908  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220909  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
220910  PyErr_SetString(PyExc_IndexError, strError.c_str());
220911  SWIG_fail;
220912  }
220913  catch(...)
220914  {
220915  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
220916  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
220917  SWIG_fail;
220918  }
220919  }
220920  resultobj = SWIG_Py_Void();
220921  return resultobj;
220922 fail:
220923  return NULL;
220924 }
220925 
220926 
220927 SWIGINTERN PyObject *_wrap_ActivatedItem_EndTime(PyObject *self, PyObject *args) {
220928  int argc;
220929  PyObject *argv[4];
220930  int ii;
220931 
220932  if (!PyTuple_Check(args)) SWIG_fail;
220933  argc = args ? (int)PyObject_Length(args) : 0;
220934  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
220935  argv[ii] = PyTuple_GET_ITEM(args,ii);
220936  }
220937  if (argc == 1) {
220938  int _v;
220939  void *vptr = 0;
220940  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220941  _v = SWIG_CheckState(res);
220942  if (_v) {
220943  return _wrap_ActivatedItem_EndTime__SWIG_0(self, args);
220944  }
220945  }
220946  if (argc == 2) {
220947  int _v;
220948  void *vptr = 0;
220949  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220950  _v = SWIG_CheckState(res);
220951  if (_v) {
220952  {
220953  int res = SWIG_AsVal_float(argv[1], NULL);
220954  _v = SWIG_CheckState(res);
220955  }
220956  if (_v) {
220957  return _wrap_ActivatedItem_EndTime__SWIG_2(self, args);
220958  }
220959  }
220960  }
220961  if (argc == 3) {
220962  int _v;
220963  void *vptr = 0;
220964  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
220965  _v = SWIG_CheckState(res);
220966  if (_v) {
220967  {
220968  int res = SWIG_AsVal_float(argv[1], NULL);
220969  _v = SWIG_CheckState(res);
220970  }
220971  if (_v) {
220972  {
220973  int res = SWIG_AsVal_bool(argv[2], NULL);
220974  _v = SWIG_CheckState(res);
220975  }
220976  if (_v) {
220977  return _wrap_ActivatedItem_EndTime__SWIG_1(self, args);
220978  }
220979  }
220980  }
220981  }
220982 
220983 fail:
220984  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ActivatedItem_EndTime'.\n"
220985  " Possible C/C++ prototypes are:\n"
220986  " AnimatSim::ActivatedItem::EndTime()\n"
220987  " AnimatSim::ActivatedItem::EndTime(float,bool)\n"
220988  " AnimatSim::ActivatedItem::EndTime(float)\n");
220989  return 0;
220990 }
220991 
220992 
220993 SWIGINTERN PyObject *_wrap_ActivatedItem_StepInterval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
220994  PyObject *resultobj = 0;
220996  void *argp1 = 0 ;
220997  int res1 = 0 ;
220998  PyObject * obj0 = 0 ;
220999  int result;
221000 
221001  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_StepInterval",&obj0)) SWIG_fail;
221002  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221003  if (!SWIG_IsOK(res1)) {
221004  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_StepInterval" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221005  }
221006  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221007  {
221008  try {
221009  result = (int)(arg1)->StepInterval();
221010  }
221011  catch(CStdErrorInfo oError)
221012  {
221013  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221014  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221015  PyErr_SetString(PyExc_IndexError, strError.c_str());
221016  SWIG_fail;
221017  }
221018  catch(...)
221019  {
221020  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221021  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221022  SWIG_fail;
221023  }
221024  }
221025  resultobj = SWIG_From_int(static_cast< int >(result));
221026  return resultobj;
221027 fail:
221028  return NULL;
221029 }
221030 
221031 
221032 SWIGINTERN PyObject *_wrap_ActivatedItem_StepInterval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221033  PyObject *resultobj = 0;
221035  int arg2 ;
221036  void *argp1 = 0 ;
221037  int res1 = 0 ;
221038  int val2 ;
221039  int ecode2 = 0 ;
221040  PyObject * obj0 = 0 ;
221041  PyObject * obj1 = 0 ;
221042 
221043  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItem_StepInterval",&obj0,&obj1)) SWIG_fail;
221044  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221045  if (!SWIG_IsOK(res1)) {
221046  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_StepInterval" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221047  }
221048  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221049  ecode2 = SWIG_AsVal_int(obj1, &val2);
221050  if (!SWIG_IsOK(ecode2)) {
221051  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActivatedItem_StepInterval" "', argument " "2"" of type '" "int""'");
221052  }
221053  arg2 = static_cast< int >(val2);
221054  {
221055  try {
221056  (arg1)->StepInterval(arg2);
221057  }
221058  catch(CStdErrorInfo oError)
221059  {
221060  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221061  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221062  PyErr_SetString(PyExc_IndexError, strError.c_str());
221063  SWIG_fail;
221064  }
221065  catch(...)
221066  {
221067  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221068  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221069  SWIG_fail;
221070  }
221071  }
221072  resultobj = SWIG_Py_Void();
221073  return resultobj;
221074 fail:
221075  return NULL;
221076 }
221077 
221078 
221079 SWIGINTERN PyObject *_wrap_ActivatedItem_StepInterval(PyObject *self, PyObject *args) {
221080  int argc;
221081  PyObject *argv[3];
221082  int ii;
221083 
221084  if (!PyTuple_Check(args)) SWIG_fail;
221085  argc = args ? (int)PyObject_Length(args) : 0;
221086  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
221087  argv[ii] = PyTuple_GET_ITEM(args,ii);
221088  }
221089  if (argc == 1) {
221090  int _v;
221091  void *vptr = 0;
221092  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
221093  _v = SWIG_CheckState(res);
221094  if (_v) {
221095  return _wrap_ActivatedItem_StepInterval__SWIG_0(self, args);
221096  }
221097  }
221098  if (argc == 2) {
221099  int _v;
221100  void *vptr = 0;
221101  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
221102  _v = SWIG_CheckState(res);
221103  if (_v) {
221104  {
221105  int res = SWIG_AsVal_int(argv[1], NULL);
221106  _v = SWIG_CheckState(res);
221107  }
221108  if (_v) {
221109  return _wrap_ActivatedItem_StepInterval__SWIG_1(self, args);
221110  }
221111  }
221112  }
221113 
221114 fail:
221115  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ActivatedItem_StepInterval'.\n"
221116  " Possible C/C++ prototypes are:\n"
221117  " AnimatSim::ActivatedItem::StepInterval()\n"
221118  " AnimatSim::ActivatedItem::StepInterval(int)\n");
221119  return 0;
221120 }
221121 
221122 
221123 SWIGINTERN PyObject *_wrap_ActivatedItem_StepIntervalCount__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221124  PyObject *resultobj = 0;
221126  void *argp1 = 0 ;
221127  int res1 = 0 ;
221128  PyObject * obj0 = 0 ;
221129  int result;
221130 
221131  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_StepIntervalCount",&obj0)) SWIG_fail;
221132  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221133  if (!SWIG_IsOK(res1)) {
221134  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_StepIntervalCount" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221135  }
221136  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221137  {
221138  try {
221139  result = (int)(arg1)->StepIntervalCount();
221140  }
221141  catch(CStdErrorInfo oError)
221142  {
221143  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221144  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221145  PyErr_SetString(PyExc_IndexError, strError.c_str());
221146  SWIG_fail;
221147  }
221148  catch(...)
221149  {
221150  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221151  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221152  SWIG_fail;
221153  }
221154  }
221155  resultobj = SWIG_From_int(static_cast< int >(result));
221156  return resultobj;
221157 fail:
221158  return NULL;
221159 }
221160 
221161 
221162 SWIGINTERN PyObject *_wrap_ActivatedItem_StepIntervalCount__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221163  PyObject *resultobj = 0;
221165  int arg2 ;
221166  void *argp1 = 0 ;
221167  int res1 = 0 ;
221168  int val2 ;
221169  int ecode2 = 0 ;
221170  PyObject * obj0 = 0 ;
221171  PyObject * obj1 = 0 ;
221172 
221173  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItem_StepIntervalCount",&obj0,&obj1)) SWIG_fail;
221174  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221175  if (!SWIG_IsOK(res1)) {
221176  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_StepIntervalCount" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221177  }
221178  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221179  ecode2 = SWIG_AsVal_int(obj1, &val2);
221180  if (!SWIG_IsOK(ecode2)) {
221181  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActivatedItem_StepIntervalCount" "', argument " "2"" of type '" "int""'");
221182  }
221183  arg2 = static_cast< int >(val2);
221184  {
221185  try {
221186  (arg1)->StepIntervalCount(arg2);
221187  }
221188  catch(CStdErrorInfo oError)
221189  {
221190  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221191  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221192  PyErr_SetString(PyExc_IndexError, strError.c_str());
221193  SWIG_fail;
221194  }
221195  catch(...)
221196  {
221197  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221198  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221199  SWIG_fail;
221200  }
221201  }
221202  resultobj = SWIG_Py_Void();
221203  return resultobj;
221204 fail:
221205  return NULL;
221206 }
221207 
221208 
221209 SWIGINTERN PyObject *_wrap_ActivatedItem_StepIntervalCount(PyObject *self, PyObject *args) {
221210  int argc;
221211  PyObject *argv[3];
221212  int ii;
221213 
221214  if (!PyTuple_Check(args)) SWIG_fail;
221215  argc = args ? (int)PyObject_Length(args) : 0;
221216  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
221217  argv[ii] = PyTuple_GET_ITEM(args,ii);
221218  }
221219  if (argc == 1) {
221220  int _v;
221221  void *vptr = 0;
221222  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
221223  _v = SWIG_CheckState(res);
221224  if (_v) {
221225  return _wrap_ActivatedItem_StepIntervalCount__SWIG_0(self, args);
221226  }
221227  }
221228  if (argc == 2) {
221229  int _v;
221230  void *vptr = 0;
221231  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
221232  _v = SWIG_CheckState(res);
221233  if (_v) {
221234  {
221235  int res = SWIG_AsVal_int(argv[1], NULL);
221236  _v = SWIG_CheckState(res);
221237  }
221238  if (_v) {
221239  return _wrap_ActivatedItem_StepIntervalCount__SWIG_1(self, args);
221240  }
221241  }
221242  }
221243 
221244 fail:
221245  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ActivatedItem_StepIntervalCount'.\n"
221246  " Possible C/C++ prototypes are:\n"
221247  " AnimatSim::ActivatedItem::StepIntervalCount()\n"
221248  " AnimatSim::ActivatedItem::StepIntervalCount(int)\n");
221249  return 0;
221250 }
221251 
221252 
221253 SWIGINTERN PyObject *_wrap_ActivatedItem_AlwaysActive__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221254  PyObject *resultobj = 0;
221256  void *argp1 = 0 ;
221257  int res1 = 0 ;
221258  PyObject * obj0 = 0 ;
221259  bool result;
221260 
221261  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_AlwaysActive",&obj0)) SWIG_fail;
221262  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221263  if (!SWIG_IsOK(res1)) {
221264  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_AlwaysActive" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221265  }
221266  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221267  {
221268  try {
221269  result = (bool)(arg1)->AlwaysActive();
221270  }
221271  catch(CStdErrorInfo oError)
221272  {
221273  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221274  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221275  PyErr_SetString(PyExc_IndexError, strError.c_str());
221276  SWIG_fail;
221277  }
221278  catch(...)
221279  {
221280  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221281  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221282  SWIG_fail;
221283  }
221284  }
221285  resultobj = SWIG_From_bool(static_cast< bool >(result));
221286  return resultobj;
221287 fail:
221288  return NULL;
221289 }
221290 
221291 
221292 SWIGINTERN PyObject *_wrap_ActivatedItem_AlwaysActive__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221293  PyObject *resultobj = 0;
221295  bool arg2 ;
221296  void *argp1 = 0 ;
221297  int res1 = 0 ;
221298  bool val2 ;
221299  int ecode2 = 0 ;
221300  PyObject * obj0 = 0 ;
221301  PyObject * obj1 = 0 ;
221302 
221303  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItem_AlwaysActive",&obj0,&obj1)) SWIG_fail;
221304  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221305  if (!SWIG_IsOK(res1)) {
221306  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_AlwaysActive" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221307  }
221308  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221309  ecode2 = SWIG_AsVal_bool(obj1, &val2);
221310  if (!SWIG_IsOK(ecode2)) {
221311  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActivatedItem_AlwaysActive" "', argument " "2"" of type '" "bool""'");
221312  }
221313  arg2 = static_cast< bool >(val2);
221314  {
221315  try {
221316  (arg1)->AlwaysActive(arg2);
221317  }
221318  catch(CStdErrorInfo oError)
221319  {
221320  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221321  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221322  PyErr_SetString(PyExc_IndexError, strError.c_str());
221323  SWIG_fail;
221324  }
221325  catch(...)
221326  {
221327  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221328  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221329  SWIG_fail;
221330  }
221331  }
221332  resultobj = SWIG_Py_Void();
221333  return resultobj;
221334 fail:
221335  return NULL;
221336 }
221337 
221338 
221339 SWIGINTERN PyObject *_wrap_ActivatedItem_AlwaysActive(PyObject *self, PyObject *args) {
221340  int argc;
221341  PyObject *argv[3];
221342  int ii;
221343 
221344  if (!PyTuple_Check(args)) SWIG_fail;
221345  argc = args ? (int)PyObject_Length(args) : 0;
221346  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
221347  argv[ii] = PyTuple_GET_ITEM(args,ii);
221348  }
221349  if (argc == 1) {
221350  int _v;
221351  void *vptr = 0;
221352  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
221353  _v = SWIG_CheckState(res);
221354  if (_v) {
221355  return _wrap_ActivatedItem_AlwaysActive__SWIG_0(self, args);
221356  }
221357  }
221358  if (argc == 2) {
221359  int _v;
221360  void *vptr = 0;
221361  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
221362  _v = SWIG_CheckState(res);
221363  if (_v) {
221364  {
221365  int res = SWIG_AsVal_bool(argv[1], NULL);
221366  _v = SWIG_CheckState(res);
221367  }
221368  if (_v) {
221369  return _wrap_ActivatedItem_AlwaysActive__SWIG_1(self, args);
221370  }
221371  }
221372  }
221373 
221374 fail:
221375  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ActivatedItem_AlwaysActive'.\n"
221376  " Possible C/C++ prototypes are:\n"
221377  " AnimatSim::ActivatedItem::AlwaysActive()\n"
221378  " AnimatSim::ActivatedItem::AlwaysActive(bool)\n");
221379  return 0;
221380 }
221381 
221382 
221383 SWIGINTERN PyObject *_wrap_ActivatedItem_IsActivated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221384  PyObject *resultobj = 0;
221386  void *argp1 = 0 ;
221387  int res1 = 0 ;
221388  PyObject * obj0 = 0 ;
221389  bool result;
221390 
221391  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_IsActivated",&obj0)) SWIG_fail;
221392  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221393  if (!SWIG_IsOK(res1)) {
221394  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_IsActivated" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221395  }
221396  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221397  {
221398  try {
221399  result = (bool)(arg1)->IsActivated();
221400  }
221401  catch(CStdErrorInfo oError)
221402  {
221403  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221404  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221405  PyErr_SetString(PyExc_IndexError, strError.c_str());
221406  SWIG_fail;
221407  }
221408  catch(...)
221409  {
221410  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221411  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221412  SWIG_fail;
221413  }
221414  }
221415  resultobj = SWIG_From_bool(static_cast< bool >(result));
221416  return resultobj;
221417 fail:
221418  return NULL;
221419 }
221420 
221421 
221422 SWIGINTERN PyObject *_wrap_ActivatedItem_IsInitialized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221423  PyObject *resultobj = 0;
221425  void *argp1 = 0 ;
221426  int res1 = 0 ;
221427  PyObject * obj0 = 0 ;
221428  bool result;
221429 
221430  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_IsInitialized",&obj0)) SWIG_fail;
221431  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221432  if (!SWIG_IsOK(res1)) {
221433  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_IsInitialized" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221434  }
221435  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221436  {
221437  try {
221438  result = (bool)(arg1)->IsInitialized();
221439  }
221440  catch(CStdErrorInfo oError)
221441  {
221442  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221443  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221444  PyErr_SetString(PyExc_IndexError, strError.c_str());
221445  SWIG_fail;
221446  }
221447  catch(...)
221448  {
221449  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221450  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221451  SWIG_fail;
221452  }
221453  }
221454  resultobj = SWIG_From_bool(static_cast< bool >(result));
221455  return resultobj;
221456 fail:
221457  return NULL;
221458 }
221459 
221460 
221461 SWIGINTERN PyObject *_wrap_ActivatedItem_NeedToActivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221462  PyObject *resultobj = 0;
221464  void *argp1 = 0 ;
221465  int res1 = 0 ;
221466  PyObject * obj0 = 0 ;
221467  bool result;
221468 
221469  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_NeedToActivate",&obj0)) SWIG_fail;
221470  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221471  if (!SWIG_IsOK(res1)) {
221472  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_NeedToActivate" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221473  }
221474  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221475  {
221476  try {
221477  result = (bool)(arg1)->NeedToActivate();
221478  }
221479  catch(CStdErrorInfo oError)
221480  {
221481  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221482  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221483  PyErr_SetString(PyExc_IndexError, strError.c_str());
221484  SWIG_fail;
221485  }
221486  catch(...)
221487  {
221488  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221489  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221490  SWIG_fail;
221491  }
221492  }
221493  resultobj = SWIG_From_bool(static_cast< bool >(result));
221494  return resultobj;
221495 fail:
221496  return NULL;
221497 }
221498 
221499 
221500 SWIGINTERN PyObject *_wrap_ActivatedItem_NeedToDeactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221501  PyObject *resultobj = 0;
221503  void *argp1 = 0 ;
221504  int res1 = 0 ;
221505  PyObject * obj0 = 0 ;
221506  bool result;
221507 
221508  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_NeedToDeactivate",&obj0)) SWIG_fail;
221509  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221510  if (!SWIG_IsOK(res1)) {
221511  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_NeedToDeactivate" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221512  }
221513  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221514  {
221515  try {
221516  result = (bool)(arg1)->NeedToDeactivate();
221517  }
221518  catch(CStdErrorInfo oError)
221519  {
221520  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221521  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221522  PyErr_SetString(PyExc_IndexError, strError.c_str());
221523  SWIG_fail;
221524  }
221525  catch(...)
221526  {
221527  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221528  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221529  SWIG_fail;
221530  }
221531  }
221532  resultobj = SWIG_From_bool(static_cast< bool >(result));
221533  return resultobj;
221534 fail:
221535  return NULL;
221536 }
221537 
221538 
221539 SWIGINTERN PyObject *_wrap_ActivatedItem___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221540  PyObject *resultobj = 0;
221543  void *argp1 = 0 ;
221544  int res1 = 0 ;
221545  void *argp2 = 0 ;
221546  int res2 = 0 ;
221547  PyObject * obj0 = 0 ;
221548  PyObject * obj1 = 0 ;
221549  bool result;
221550 
221551  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItem___lt__",&obj0,&obj1)) SWIG_fail;
221552  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221553  if (!SWIG_IsOK(res1)) {
221554  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem___lt__" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221555  }
221556  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221557  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221558  if (!SWIG_IsOK(res2)) {
221559  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ActivatedItem___lt__" "', argument " "2"" of type '" "AnimatSim::ActivatedItem *""'");
221560  }
221561  arg2 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp2);
221562  {
221563  try {
221564  result = (bool)(arg1)->operator <(arg2);
221565  }
221566  catch(CStdErrorInfo oError)
221567  {
221568  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221569  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221570  PyErr_SetString(PyExc_IndexError, strError.c_str());
221571  SWIG_fail;
221572  }
221573  catch(...)
221574  {
221575  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221576  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221577  SWIG_fail;
221578  }
221579  }
221580  resultobj = SWIG_From_bool(static_cast< bool >(result));
221581  return resultobj;
221582 fail:
221583  return NULL;
221584 }
221585 
221586 
221587 SWIGINTERN PyObject *_wrap_ActivatedItem_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221588  PyObject *resultobj = 0;
221590  void *argp1 = 0 ;
221591  int res1 = 0 ;
221592  PyObject * obj0 = 0 ;
221593 
221594  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_Initialize",&obj0)) SWIG_fail;
221595  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221596  if (!SWIG_IsOK(res1)) {
221597  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_Initialize" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221598  }
221599  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221600  {
221601  try {
221602  (arg1)->Initialize();
221603  }
221604  catch(CStdErrorInfo oError)
221605  {
221606  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221607  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221608  PyErr_SetString(PyExc_IndexError, strError.c_str());
221609  SWIG_fail;
221610  }
221611  catch(...)
221612  {
221613  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221614  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221615  SWIG_fail;
221616  }
221617  }
221618  resultobj = SWIG_Py_Void();
221619  return resultobj;
221620 fail:
221621  return NULL;
221622 }
221623 
221624 
221625 SWIGINTERN PyObject *_wrap_ActivatedItem_ReInitialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221626  PyObject *resultobj = 0;
221628  void *argp1 = 0 ;
221629  int res1 = 0 ;
221630  PyObject * obj0 = 0 ;
221631 
221632  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_ReInitialize",&obj0)) SWIG_fail;
221633  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221634  if (!SWIG_IsOK(res1)) {
221635  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_ReInitialize" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221636  }
221637  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221638  {
221639  try {
221640  (arg1)->ReInitialize();
221641  }
221642  catch(CStdErrorInfo oError)
221643  {
221644  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221645  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221646  PyErr_SetString(PyExc_IndexError, strError.c_str());
221647  SWIG_fail;
221648  }
221649  catch(...)
221650  {
221651  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221652  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221653  SWIG_fail;
221654  }
221655  }
221656  resultobj = SWIG_Py_Void();
221657  return resultobj;
221658 fail:
221659  return NULL;
221660 }
221661 
221662 
221663 SWIGINTERN PyObject *_wrap_ActivatedItem_NeedToStep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221664  PyObject *resultobj = 0;
221666  void *argp1 = 0 ;
221667  int res1 = 0 ;
221668  PyObject * obj0 = 0 ;
221669  bool result;
221670 
221671  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_NeedToStep",&obj0)) SWIG_fail;
221672  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221673  if (!SWIG_IsOK(res1)) {
221674  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_NeedToStep" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221675  }
221676  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221677  {
221678  try {
221679  result = (bool)(arg1)->NeedToStep();
221680  }
221681  catch(CStdErrorInfo oError)
221682  {
221683  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221684  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221685  PyErr_SetString(PyExc_IndexError, strError.c_str());
221686  SWIG_fail;
221687  }
221688  catch(...)
221689  {
221690  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221691  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221692  SWIG_fail;
221693  }
221694  }
221695  resultobj = SWIG_From_bool(static_cast< bool >(result));
221696  return resultobj;
221697 fail:
221698  return NULL;
221699 }
221700 
221701 
221702 SWIGINTERN PyObject *_wrap_ActivatedItem_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221703  PyObject *resultobj = 0;
221705  void *argp1 = 0 ;
221706  int res1 = 0 ;
221707  PyObject * obj0 = 0 ;
221708 
221709  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_ResetSimulation",&obj0)) SWIG_fail;
221710  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221711  if (!SWIG_IsOK(res1)) {
221712  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221713  }
221714  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221715  {
221716  try {
221717  (arg1)->ResetSimulation();
221718  }
221719  catch(CStdErrorInfo oError)
221720  {
221721  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221722  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221723  PyErr_SetString(PyExc_IndexError, strError.c_str());
221724  SWIG_fail;
221725  }
221726  catch(...)
221727  {
221728  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221729  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221730  SWIG_fail;
221731  }
221732  }
221733  resultobj = SWIG_Py_Void();
221734  return resultobj;
221735 fail:
221736  return NULL;
221737 }
221738 
221739 
221740 SWIGINTERN PyObject *_wrap_ActivatedItem_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221741  PyObject *resultobj = 0;
221743  void *argp1 = 0 ;
221744  int res1 = 0 ;
221745  PyObject * obj0 = 0 ;
221746 
221747  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_Activate",&obj0)) SWIG_fail;
221748  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221749  if (!SWIG_IsOK(res1)) {
221750  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_Activate" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221751  }
221752  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221753  {
221754  try {
221755  (arg1)->Activate();
221756  }
221757  catch(CStdErrorInfo oError)
221758  {
221759  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221760  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221761  PyErr_SetString(PyExc_IndexError, strError.c_str());
221762  SWIG_fail;
221763  }
221764  catch(...)
221765  {
221766  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221767  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221768  SWIG_fail;
221769  }
221770  }
221771  resultobj = SWIG_Py_Void();
221772  return resultobj;
221773 fail:
221774  return NULL;
221775 }
221776 
221777 
221778 SWIGINTERN PyObject *_wrap_ActivatedItem_Deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221779  PyObject *resultobj = 0;
221781  void *argp1 = 0 ;
221782  int res1 = 0 ;
221783  PyObject * obj0 = 0 ;
221784 
221785  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_Deactivate",&obj0)) SWIG_fail;
221786  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221787  if (!SWIG_IsOK(res1)) {
221788  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_Deactivate" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221789  }
221790  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221791  {
221792  try {
221793  (arg1)->Deactivate();
221794  }
221795  catch(CStdErrorInfo oError)
221796  {
221797  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221798  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221799  PyErr_SetString(PyExc_IndexError, strError.c_str());
221800  SWIG_fail;
221801  }
221802  catch(...)
221803  {
221804  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221805  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221806  SWIG_fail;
221807  }
221808  }
221809  resultobj = SWIG_Py_Void();
221810  return resultobj;
221811 fail:
221812  return NULL;
221813 }
221814 
221815 
221816 SWIGINTERN PyObject *_wrap_ActivatedItem_TimeStepModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221817  PyObject *resultobj = 0;
221819  void *argp1 = 0 ;
221820  int res1 = 0 ;
221821  PyObject * obj0 = 0 ;
221822 
221823  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItem_TimeStepModified",&obj0)) SWIG_fail;
221824  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221825  if (!SWIG_IsOK(res1)) {
221826  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_TimeStepModified" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221827  }
221828  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221829  {
221830  try {
221831  (arg1)->TimeStepModified();
221832  }
221833  catch(CStdErrorInfo oError)
221834  {
221835  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221836  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221837  PyErr_SetString(PyExc_IndexError, strError.c_str());
221838  SWIG_fail;
221839  }
221840  catch(...)
221841  {
221842  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221843  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221844  SWIG_fail;
221845  }
221846  }
221847  resultobj = SWIG_Py_Void();
221848  return resultobj;
221849 fail:
221850  return NULL;
221851 }
221852 
221853 
221854 SWIGINTERN PyObject *_wrap_ActivatedItem_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221855  PyObject *resultobj = 0;
221857  std::string *arg2 = 0 ;
221858  std::string *arg3 = 0 ;
221859  bool arg4 ;
221860  void *argp1 = 0 ;
221861  int res1 = 0 ;
221862  int res2 = SWIG_OLDOBJ ;
221863  int res3 = SWIG_OLDOBJ ;
221864  bool val4 ;
221865  int ecode4 = 0 ;
221866  PyObject * obj0 = 0 ;
221867  PyObject * obj1 = 0 ;
221868  PyObject * obj2 = 0 ;
221869  PyObject * obj3 = 0 ;
221870  bool result;
221871 
221872  if (!PyArg_ParseTuple(args,(char *)"OOOO:ActivatedItem_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
221873  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221874  if (!SWIG_IsOK(res1)) {
221875  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_SetData" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221876  }
221877  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221878  {
221879  std::string *ptr = (std::string *)0;
221880  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
221881  if (!SWIG_IsOK(res2)) {
221882  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ActivatedItem_SetData" "', argument " "2"" of type '" "std::string const &""'");
221883  }
221884  if (!ptr) {
221885  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ActivatedItem_SetData" "', argument " "2"" of type '" "std::string const &""'");
221886  }
221887  arg2 = ptr;
221888  }
221889  {
221890  std::string *ptr = (std::string *)0;
221891  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
221892  if (!SWIG_IsOK(res3)) {
221893  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ActivatedItem_SetData" "', argument " "3"" of type '" "std::string const &""'");
221894  }
221895  if (!ptr) {
221896  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ActivatedItem_SetData" "', argument " "3"" of type '" "std::string const &""'");
221897  }
221898  arg3 = ptr;
221899  }
221900  ecode4 = SWIG_AsVal_bool(obj3, &val4);
221901  if (!SWIG_IsOK(ecode4)) {
221902  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ActivatedItem_SetData" "', argument " "4"" of type '" "bool""'");
221903  }
221904  arg4 = static_cast< bool >(val4);
221905  {
221906  try {
221907  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
221908  }
221909  catch(CStdErrorInfo oError)
221910  {
221911  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221912  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221913  PyErr_SetString(PyExc_IndexError, strError.c_str());
221914  SWIG_fail;
221915  }
221916  catch(...)
221917  {
221918  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221919  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221920  SWIG_fail;
221921  }
221922  }
221923  resultobj = SWIG_From_bool(static_cast< bool >(result));
221924  if (SWIG_IsNewObj(res2)) delete arg2;
221925  if (SWIG_IsNewObj(res3)) delete arg3;
221926  return resultobj;
221927 fail:
221928  if (SWIG_IsNewObj(res2)) delete arg2;
221929  if (SWIG_IsNewObj(res3)) delete arg3;
221930  return NULL;
221931 }
221932 
221933 
221934 SWIGINTERN PyObject *_wrap_ActivatedItem_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
221935  PyObject *resultobj = 0;
221937  std::string *arg2 = 0 ;
221938  std::string *arg3 = 0 ;
221939  void *argp1 = 0 ;
221940  int res1 = 0 ;
221941  int res2 = SWIG_OLDOBJ ;
221942  int res3 = SWIG_OLDOBJ ;
221943  PyObject * obj0 = 0 ;
221944  PyObject * obj1 = 0 ;
221945  PyObject * obj2 = 0 ;
221946  bool result;
221947 
221948  if (!PyArg_ParseTuple(args,(char *)"OOO:ActivatedItem_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
221949  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
221950  if (!SWIG_IsOK(res1)) {
221951  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_SetData" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
221952  }
221953  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
221954  {
221955  std::string *ptr = (std::string *)0;
221956  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
221957  if (!SWIG_IsOK(res2)) {
221958  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ActivatedItem_SetData" "', argument " "2"" of type '" "std::string const &""'");
221959  }
221960  if (!ptr) {
221961  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ActivatedItem_SetData" "', argument " "2"" of type '" "std::string const &""'");
221962  }
221963  arg2 = ptr;
221964  }
221965  {
221966  std::string *ptr = (std::string *)0;
221967  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
221968  if (!SWIG_IsOK(res3)) {
221969  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ActivatedItem_SetData" "', argument " "3"" of type '" "std::string const &""'");
221970  }
221971  if (!ptr) {
221972  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ActivatedItem_SetData" "', argument " "3"" of type '" "std::string const &""'");
221973  }
221974  arg3 = ptr;
221975  }
221976  {
221977  try {
221978  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
221979  }
221980  catch(CStdErrorInfo oError)
221981  {
221982  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221983  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
221984  PyErr_SetString(PyExc_IndexError, strError.c_str());
221985  SWIG_fail;
221986  }
221987  catch(...)
221988  {
221989  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
221990  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
221991  SWIG_fail;
221992  }
221993  }
221994  resultobj = SWIG_From_bool(static_cast< bool >(result));
221995  if (SWIG_IsNewObj(res2)) delete arg2;
221996  if (SWIG_IsNewObj(res3)) delete arg3;
221997  return resultobj;
221998 fail:
221999  if (SWIG_IsNewObj(res2)) delete arg2;
222000  if (SWIG_IsNewObj(res3)) delete arg3;
222001  return NULL;
222002 }
222003 
222004 
222005 SWIGINTERN PyObject *_wrap_ActivatedItem_SetData(PyObject *self, PyObject *args) {
222006  int argc;
222007  PyObject *argv[5];
222008  int ii;
222009 
222010  if (!PyTuple_Check(args)) SWIG_fail;
222011  argc = args ? (int)PyObject_Length(args) : 0;
222012  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
222013  argv[ii] = PyTuple_GET_ITEM(args,ii);
222014  }
222015  if (argc == 3) {
222016  int _v;
222017  void *vptr = 0;
222018  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
222019  _v = SWIG_CheckState(res);
222020  if (_v) {
222021  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
222022  _v = SWIG_CheckState(res);
222023  if (_v) {
222024  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
222025  _v = SWIG_CheckState(res);
222026  if (_v) {
222027  return _wrap_ActivatedItem_SetData__SWIG_1(self, args);
222028  }
222029  }
222030  }
222031  }
222032  if (argc == 4) {
222033  int _v;
222034  void *vptr = 0;
222035  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
222036  _v = SWIG_CheckState(res);
222037  if (_v) {
222038  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
222039  _v = SWIG_CheckState(res);
222040  if (_v) {
222041  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
222042  _v = SWIG_CheckState(res);
222043  if (_v) {
222044  {
222045  int res = SWIG_AsVal_bool(argv[3], NULL);
222046  _v = SWIG_CheckState(res);
222047  }
222048  if (_v) {
222049  return _wrap_ActivatedItem_SetData__SWIG_0(self, args);
222050  }
222051  }
222052  }
222053  }
222054  }
222055 
222056 fail:
222057  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ActivatedItem_SetData'.\n"
222058  " Possible C/C++ prototypes are:\n"
222059  " AnimatSim::ActivatedItem::SetData(std::string const &,std::string const &,bool)\n"
222060  " AnimatSim::ActivatedItem::SetData(std::string const &,std::string const &)\n");
222061  return 0;
222062 }
222063 
222064 
222065 SWIGINTERN PyObject *_wrap_ActivatedItem_Overlaps(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222066  PyObject *resultobj = 0;
222069  void *argp1 = 0 ;
222070  int res1 = 0 ;
222071  void *argp2 = 0 ;
222072  int res2 = 0 ;
222073  PyObject * obj0 = 0 ;
222074  PyObject * obj1 = 0 ;
222075  bool result;
222076 
222077  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItem_Overlaps",&obj0,&obj1)) SWIG_fail;
222078  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
222079  if (!SWIG_IsOK(res1)) {
222080  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_Overlaps" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
222081  }
222082  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
222083  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
222084  if (!SWIG_IsOK(res2)) {
222085  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ActivatedItem_Overlaps" "', argument " "2"" of type '" "AnimatSim::ActivatedItem *""'");
222086  }
222087  arg2 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp2);
222088  {
222089  try {
222090  result = (bool)(arg1)->Overlaps(arg2);
222091  }
222092  catch(CStdErrorInfo oError)
222093  {
222094  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222095  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
222096  PyErr_SetString(PyExc_IndexError, strError.c_str());
222097  SWIG_fail;
222098  }
222099  catch(...)
222100  {
222101  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222102  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
222103  SWIG_fail;
222104  }
222105  }
222106  resultobj = SWIG_From_bool(static_cast< bool >(result));
222107  return resultobj;
222108 fail:
222109  return NULL;
222110 }
222111 
222112 
222113 SWIGINTERN PyObject *_wrap_ActivatedItem_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222114  PyObject *resultobj = 0;
222116  CStdXml *arg2 = 0 ;
222117  void *argp1 = 0 ;
222118  int res1 = 0 ;
222119  void *argp2 = 0 ;
222120  int res2 = 0 ;
222121  PyObject * obj0 = 0 ;
222122  PyObject * obj1 = 0 ;
222123 
222124  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItem_Load",&obj0,&obj1)) SWIG_fail;
222125  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
222126  if (!SWIG_IsOK(res1)) {
222127  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItem_Load" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
222128  }
222129  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
222130  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
222131  if (!SWIG_IsOK(res2)) {
222132  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ActivatedItem_Load" "', argument " "2"" of type '" "CStdXml &""'");
222133  }
222134  if (!argp2) {
222135  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ActivatedItem_Load" "', argument " "2"" of type '" "CStdXml &""'");
222136  }
222137  arg2 = reinterpret_cast< CStdXml * >(argp2);
222138  {
222139  try {
222140  (arg1)->Load(*arg2);
222141  }
222142  catch(CStdErrorInfo oError)
222143  {
222144  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222145  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
222146  PyErr_SetString(PyExc_IndexError, strError.c_str());
222147  SWIG_fail;
222148  }
222149  catch(...)
222150  {
222151  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222152  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
222153  SWIG_fail;
222154  }
222155  }
222156  resultobj = SWIG_Py_Void();
222157  return resultobj;
222158 fail:
222159  return NULL;
222160 }
222161 
222162 
222163 SWIGINTERN PyObject *ActivatedItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222164  PyObject *obj;
222165  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
222166  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__ActivatedItem, SWIG_NewClientData(obj));
222167  return SWIG_Py_Void();
222168 }
222169 
222170 SWIGINTERN PyObject *_wrap_LessThanActivatedItemCompare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222171  PyObject *resultobj = 0;
222174  void *argp1 = 0 ;
222175  int res1 = 0 ;
222176  void *argp2 = 0 ;
222177  int res2 = 0 ;
222178  PyObject * obj0 = 0 ;
222179  PyObject * obj1 = 0 ;
222180  bool result;
222181 
222182  if (!PyArg_ParseTuple(args,(char *)"OO:LessThanActivatedItemCompare",&obj0,&obj1)) SWIG_fail;
222183  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
222184  if (!SWIG_IsOK(res1)) {
222185  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LessThanActivatedItemCompare" "', argument " "1"" of type '" "AnimatSim::ActivatedItem *""'");
222186  }
222187  arg1 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp1);
222188  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
222189  if (!SWIG_IsOK(res2)) {
222190  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LessThanActivatedItemCompare" "', argument " "2"" of type '" "AnimatSim::ActivatedItem *""'");
222191  }
222192  arg2 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp2);
222193  {
222194  try {
222195  result = (bool)AnimatSim::LessThanActivatedItemCompare(arg1,arg2);
222196  }
222197  catch(CStdErrorInfo oError)
222198  {
222199  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222200  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
222201  PyErr_SetString(PyExc_IndexError, strError.c_str());
222202  SWIG_fail;
222203  }
222204  catch(...)
222205  {
222206  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222207  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
222208  SWIG_fail;
222209  }
222210  }
222211  resultobj = SWIG_From_bool(static_cast< bool >(result));
222212  return resultobj;
222213 fail:
222214  return NULL;
222215 }
222216 
222217 
222218 SWIGINTERN PyObject *_wrap_new_ActivatedItemMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222219  PyObject *resultobj = 0;
222220  AnimatSim::ActivatedItemMgr *result = 0 ;
222221 
222222  if (!PyArg_ParseTuple(args,(char *)":new_ActivatedItemMgr")) SWIG_fail;
222223  {
222224  try {
222226  }
222227  catch(CStdErrorInfo oError)
222228  {
222229  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222230  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
222231  PyErr_SetString(PyExc_IndexError, strError.c_str());
222232  SWIG_fail;
222233  }
222234  catch(...)
222235  {
222236  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222237  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
222238  SWIG_fail;
222239  }
222240  }
222241  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ActivatedItemMgr, SWIG_POINTER_NEW | 0 );
222242  return resultobj;
222243 fail:
222244  return NULL;
222245 }
222246 
222247 
222248 SWIGINTERN PyObject *_wrap_delete_ActivatedItemMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222249  PyObject *resultobj = 0;
222251  void *argp1 = 0 ;
222252  int res1 = 0 ;
222253  PyObject * obj0 = 0 ;
222254 
222255  if (!PyArg_ParseTuple(args,(char *)"O:delete_ActivatedItemMgr",&obj0)) SWIG_fail;
222256  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItemMgr, SWIG_POINTER_DISOWN | 0 );
222257  if (!SWIG_IsOK(res1)) {
222258  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ActivatedItemMgr" "', argument " "1"" of type '" "AnimatSim::ActivatedItemMgr *""'");
222259  }
222260  arg1 = reinterpret_cast< AnimatSim::ActivatedItemMgr * >(argp1);
222261  {
222262  try {
222263  delete arg1;
222264  }
222265  catch(CStdErrorInfo oError)
222266  {
222267  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222268  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
222269  PyErr_SetString(PyExc_IndexError, strError.c_str());
222270  SWIG_fail;
222271  }
222272  catch(...)
222273  {
222274  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222275  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
222276  SWIG_fail;
222277  }
222278  }
222279  resultobj = SWIG_Py_Void();
222280  return resultobj;
222281 fail:
222282  return NULL;
222283 }
222284 
222285 
222286 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222287  PyObject *resultobj = 0;
222289  void *argp1 = 0 ;
222290  int res1 = 0 ;
222291  PyObject * obj0 = 0 ;
222292  AnimatSim::ActivatedItemMgr *result = 0 ;
222293 
222294  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItemMgr_CastToDerived",&obj0)) SWIG_fail;
222295  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
222296  if (!SWIG_IsOK(res1)) {
222297  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItemMgr_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
222298  }
222299  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
222300  {
222301  try {
222302  result = (AnimatSim::ActivatedItemMgr *)AnimatSim::ActivatedItemMgr::CastToDerived(arg1);
222303  }
222304  catch(CStdErrorInfo oError)
222305  {
222306  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222307  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
222308  PyErr_SetString(PyExc_IndexError, strError.c_str());
222309  SWIG_fail;
222310  }
222311  catch(...)
222312  {
222313  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222314  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
222315  SWIG_fail;
222316  }
222317  }
222318  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0 | 0 );
222319  return resultobj;
222320 fail:
222321  return NULL;
222322 }
222323 
222324 
222325 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_Add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222326  PyObject *resultobj = 0;
222329  void *argp1 = 0 ;
222330  int res1 = 0 ;
222331  void *argp2 = 0 ;
222332  int res2 = 0 ;
222333  PyObject * obj0 = 0 ;
222334  PyObject * obj1 = 0 ;
222335 
222336  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItemMgr_Add",&obj0,&obj1)) SWIG_fail;
222337  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0 | 0 );
222338  if (!SWIG_IsOK(res1)) {
222339  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItemMgr_Add" "', argument " "1"" of type '" "AnimatSim::ActivatedItemMgr *""'");
222340  }
222341  arg1 = reinterpret_cast< AnimatSim::ActivatedItemMgr * >(argp1);
222342  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
222343  if (!SWIG_IsOK(res2)) {
222344  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ActivatedItemMgr_Add" "', argument " "2"" of type '" "AnimatSim::ActivatedItem *""'");
222345  }
222346  arg2 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp2);
222347  {
222348  try {
222349  (arg1)->Add(arg2);
222350  }
222351  catch(CStdErrorInfo oError)
222352  {
222353  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222354  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
222355  PyErr_SetString(PyExc_IndexError, strError.c_str());
222356  SWIG_fail;
222357  }
222358  catch(...)
222359  {
222360  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222361  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
222362  SWIG_fail;
222363  }
222364  }
222365  resultobj = SWIG_Py_Void();
222366  return resultobj;
222367 fail:
222368  return NULL;
222369 }
222370 
222371 
222372 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_Remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222373  PyObject *resultobj = 0;
222375  std::string arg2 ;
222376  bool arg3 ;
222377  void *argp1 = 0 ;
222378  int res1 = 0 ;
222379  bool val3 ;
222380  int ecode3 = 0 ;
222381  PyObject * obj0 = 0 ;
222382  PyObject * obj1 = 0 ;
222383  PyObject * obj2 = 0 ;
222384 
222385  if (!PyArg_ParseTuple(args,(char *)"OOO:ActivatedItemMgr_Remove",&obj0,&obj1,&obj2)) SWIG_fail;
222386  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0 | 0 );
222387  if (!SWIG_IsOK(res1)) {
222388  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItemMgr_Remove" "', argument " "1"" of type '" "AnimatSim::ActivatedItemMgr *""'");
222389  }
222390  arg1 = reinterpret_cast< AnimatSim::ActivatedItemMgr * >(argp1);
222391  {
222392  std::string *ptr = (std::string *)0;
222393  int res = SWIG_AsPtr_std_string(obj1, &ptr);
222394  if (!SWIG_IsOK(res) || !ptr) {
222395  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ActivatedItemMgr_Remove" "', argument " "2"" of type '" "std::string""'");
222396  }
222397  arg2 = *ptr;
222398  if (SWIG_IsNewObj(res)) delete ptr;
222399  }
222400  ecode3 = SWIG_AsVal_bool(obj2, &val3);
222401  if (!SWIG_IsOK(ecode3)) {
222402  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ActivatedItemMgr_Remove" "', argument " "3"" of type '" "bool""'");
222403  }
222404  arg3 = static_cast< bool >(val3);
222405  {
222406  try {
222407  (arg1)->Remove(arg2,arg3);
222408  }
222409  catch(CStdErrorInfo oError)
222410  {
222411  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222412  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
222413  PyErr_SetString(PyExc_IndexError, strError.c_str());
222414  SWIG_fail;
222415  }
222416  catch(...)
222417  {
222418  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222419  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
222420  SWIG_fail;
222421  }
222422  }
222423  resultobj = SWIG_Py_Void();
222424  return resultobj;
222425 fail:
222426  return NULL;
222427 }
222428 
222429 
222430 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_Remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222431  PyObject *resultobj = 0;
222433  std::string arg2 ;
222434  void *argp1 = 0 ;
222435  int res1 = 0 ;
222436  PyObject * obj0 = 0 ;
222437  PyObject * obj1 = 0 ;
222438 
222439  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItemMgr_Remove",&obj0,&obj1)) SWIG_fail;
222440  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0 | 0 );
222441  if (!SWIG_IsOK(res1)) {
222442  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItemMgr_Remove" "', argument " "1"" of type '" "AnimatSim::ActivatedItemMgr *""'");
222443  }
222444  arg1 = reinterpret_cast< AnimatSim::ActivatedItemMgr * >(argp1);
222445  {
222446  std::string *ptr = (std::string *)0;
222447  int res = SWIG_AsPtr_std_string(obj1, &ptr);
222448  if (!SWIG_IsOK(res) || !ptr) {
222449  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ActivatedItemMgr_Remove" "', argument " "2"" of type '" "std::string""'");
222450  }
222451  arg2 = *ptr;
222452  if (SWIG_IsNewObj(res)) delete ptr;
222453  }
222454  {
222455  try {
222456  (arg1)->Remove(arg2);
222457  }
222458  catch(CStdErrorInfo oError)
222459  {
222460  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222461  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
222462  PyErr_SetString(PyExc_IndexError, strError.c_str());
222463  SWIG_fail;
222464  }
222465  catch(...)
222466  {
222467  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222468  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
222469  SWIG_fail;
222470  }
222471  }
222472  resultobj = SWIG_Py_Void();
222473  return resultobj;
222474 fail:
222475  return NULL;
222476 }
222477 
222478 
222479 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_Remove(PyObject *self, PyObject *args) {
222480  int argc;
222481  PyObject *argv[4];
222482  int ii;
222483 
222484  if (!PyTuple_Check(args)) SWIG_fail;
222485  argc = args ? (int)PyObject_Length(args) : 0;
222486  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
222487  argv[ii] = PyTuple_GET_ITEM(args,ii);
222488  }
222489  if (argc == 2) {
222490  int _v;
222491  void *vptr = 0;
222492  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0);
222493  _v = SWIG_CheckState(res);
222494  if (_v) {
222495  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
222496  _v = SWIG_CheckState(res);
222497  if (_v) {
222498  return _wrap_ActivatedItemMgr_Remove__SWIG_1(self, args);
222499  }
222500  }
222501  }
222502  if (argc == 3) {
222503  int _v;
222504  void *vptr = 0;
222505  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0);
222506  _v = SWIG_CheckState(res);
222507  if (_v) {
222508  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
222509  _v = SWIG_CheckState(res);
222510  if (_v) {
222511  {
222512  int res = SWIG_AsVal_bool(argv[2], NULL);
222513  _v = SWIG_CheckState(res);
222514  }
222515  if (_v) {
222516  return _wrap_ActivatedItemMgr_Remove__SWIG_0(self, args);
222517  }
222518  }
222519  }
222520  }
222521 
222522 fail:
222523  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ActivatedItemMgr_Remove'.\n"
222524  " Possible C/C++ prototypes are:\n"
222525  " AnimatSim::ActivatedItemMgr::Remove(std::string,bool)\n"
222526  " AnimatSim::ActivatedItemMgr::Remove(std::string)\n");
222527  return 0;
222528 }
222529 
222530 
222531 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_Find__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222532  PyObject *resultobj = 0;
222534  std::string arg2 ;
222535  int *arg3 = 0 ;
222536  bool arg4 ;
222537  void *argp1 = 0 ;
222538  int res1 = 0 ;
222539  void *argp3 = 0 ;
222540  int res3 = 0 ;
222541  bool val4 ;
222542  int ecode4 = 0 ;
222543  PyObject * obj0 = 0 ;
222544  PyObject * obj1 = 0 ;
222545  PyObject * obj2 = 0 ;
222546  PyObject * obj3 = 0 ;
222547  AnimatSim::ActivatedItem *result = 0 ;
222548 
222549  if (!PyArg_ParseTuple(args,(char *)"OOOO:ActivatedItemMgr_Find",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
222550  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0 | 0 );
222551  if (!SWIG_IsOK(res1)) {
222552  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItemMgr_Find" "', argument " "1"" of type '" "AnimatSim::ActivatedItemMgr *""'");
222553  }
222554  arg1 = reinterpret_cast< AnimatSim::ActivatedItemMgr * >(argp1);
222555  {
222556  std::string *ptr = (std::string *)0;
222557  int res = SWIG_AsPtr_std_string(obj1, &ptr);
222558  if (!SWIG_IsOK(res) || !ptr) {
222559  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ActivatedItemMgr_Find" "', argument " "2"" of type '" "std::string""'");
222560  }
222561  arg2 = *ptr;
222562  if (SWIG_IsNewObj(res)) delete ptr;
222563  }
222564  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 );
222565  if (!SWIG_IsOK(res3)) {
222566  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ActivatedItemMgr_Find" "', argument " "3"" of type '" "int &""'");
222567  }
222568  if (!argp3) {
222569  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ActivatedItemMgr_Find" "', argument " "3"" of type '" "int &""'");
222570  }
222571  arg3 = reinterpret_cast< int * >(argp3);
222572  ecode4 = SWIG_AsVal_bool(obj3, &val4);
222573  if (!SWIG_IsOK(ecode4)) {
222574  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ActivatedItemMgr_Find" "', argument " "4"" of type '" "bool""'");
222575  }
222576  arg4 = static_cast< bool >(val4);
222577  {
222578  try {
222579  result = (AnimatSim::ActivatedItem *)(arg1)->Find(arg2,*arg3,arg4);
222580  }
222581  catch(CStdErrorInfo oError)
222582  {
222583  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222584  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
222585  PyErr_SetString(PyExc_IndexError, strError.c_str());
222586  SWIG_fail;
222587  }
222588  catch(...)
222589  {
222590  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222591  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
222592  SWIG_fail;
222593  }
222594  }
222595  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
222596  return resultobj;
222597 fail:
222598  return NULL;
222599 }
222600 
222601 
222602 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_Find__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222603  PyObject *resultobj = 0;
222605  std::string arg2 ;
222606  bool arg3 ;
222607  void *argp1 = 0 ;
222608  int res1 = 0 ;
222609  bool val3 ;
222610  int ecode3 = 0 ;
222611  PyObject * obj0 = 0 ;
222612  PyObject * obj1 = 0 ;
222613  PyObject * obj2 = 0 ;
222614  AnimatSim::ActivatedItem *result = 0 ;
222615 
222616  if (!PyArg_ParseTuple(args,(char *)"OOO:ActivatedItemMgr_Find",&obj0,&obj1,&obj2)) SWIG_fail;
222617  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0 | 0 );
222618  if (!SWIG_IsOK(res1)) {
222619  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItemMgr_Find" "', argument " "1"" of type '" "AnimatSim::ActivatedItemMgr *""'");
222620  }
222621  arg1 = reinterpret_cast< AnimatSim::ActivatedItemMgr * >(argp1);
222622  {
222623  std::string *ptr = (std::string *)0;
222624  int res = SWIG_AsPtr_std_string(obj1, &ptr);
222625  if (!SWIG_IsOK(res) || !ptr) {
222626  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ActivatedItemMgr_Find" "', argument " "2"" of type '" "std::string""'");
222627  }
222628  arg2 = *ptr;
222629  if (SWIG_IsNewObj(res)) delete ptr;
222630  }
222631  ecode3 = SWIG_AsVal_bool(obj2, &val3);
222632  if (!SWIG_IsOK(ecode3)) {
222633  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ActivatedItemMgr_Find" "', argument " "3"" of type '" "bool""'");
222634  }
222635  arg3 = static_cast< bool >(val3);
222636  {
222637  try {
222638  result = (AnimatSim::ActivatedItem *)(arg1)->Find(arg2,arg3);
222639  }
222640  catch(CStdErrorInfo oError)
222641  {
222642  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222643  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
222644  PyErr_SetString(PyExc_IndexError, strError.c_str());
222645  SWIG_fail;
222646  }
222647  catch(...)
222648  {
222649  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222650  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
222651  SWIG_fail;
222652  }
222653  }
222654  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
222655  return resultobj;
222656 fail:
222657  return NULL;
222658 }
222659 
222660 
222661 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_Find__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222662  PyObject *resultobj = 0;
222664  std::string arg2 ;
222665  void *argp1 = 0 ;
222666  int res1 = 0 ;
222667  PyObject * obj0 = 0 ;
222668  PyObject * obj1 = 0 ;
222669  AnimatSim::ActivatedItem *result = 0 ;
222670 
222671  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItemMgr_Find",&obj0,&obj1)) SWIG_fail;
222672  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0 | 0 );
222673  if (!SWIG_IsOK(res1)) {
222674  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItemMgr_Find" "', argument " "1"" of type '" "AnimatSim::ActivatedItemMgr *""'");
222675  }
222676  arg1 = reinterpret_cast< AnimatSim::ActivatedItemMgr * >(argp1);
222677  {
222678  std::string *ptr = (std::string *)0;
222679  int res = SWIG_AsPtr_std_string(obj1, &ptr);
222680  if (!SWIG_IsOK(res) || !ptr) {
222681  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ActivatedItemMgr_Find" "', argument " "2"" of type '" "std::string""'");
222682  }
222683  arg2 = *ptr;
222684  if (SWIG_IsNewObj(res)) delete ptr;
222685  }
222686  {
222687  try {
222688  result = (AnimatSim::ActivatedItem *)(arg1)->Find(arg2);
222689  }
222690  catch(CStdErrorInfo oError)
222691  {
222692  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222693  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
222694  PyErr_SetString(PyExc_IndexError, strError.c_str());
222695  SWIG_fail;
222696  }
222697  catch(...)
222698  {
222699  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222700  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
222701  SWIG_fail;
222702  }
222703  }
222704  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
222705  return resultobj;
222706 fail:
222707  return NULL;
222708 }
222709 
222710 
222711 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_Find(PyObject *self, PyObject *args) {
222712  int argc;
222713  PyObject *argv[5];
222714  int ii;
222715 
222716  if (!PyTuple_Check(args)) SWIG_fail;
222717  argc = args ? (int)PyObject_Length(args) : 0;
222718  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
222719  argv[ii] = PyTuple_GET_ITEM(args,ii);
222720  }
222721  if (argc == 2) {
222722  int _v;
222723  void *vptr = 0;
222724  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0);
222725  _v = SWIG_CheckState(res);
222726  if (_v) {
222727  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
222728  _v = SWIG_CheckState(res);
222729  if (_v) {
222730  return _wrap_ActivatedItemMgr_Find__SWIG_2(self, args);
222731  }
222732  }
222733  }
222734  if (argc == 3) {
222735  int _v;
222736  void *vptr = 0;
222737  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0);
222738  _v = SWIG_CheckState(res);
222739  if (_v) {
222740  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
222741  _v = SWIG_CheckState(res);
222742  if (_v) {
222743  {
222744  int res = SWIG_AsVal_bool(argv[2], NULL);
222745  _v = SWIG_CheckState(res);
222746  }
222747  if (_v) {
222748  return _wrap_ActivatedItemMgr_Find__SWIG_1(self, args);
222749  }
222750  }
222751  }
222752  }
222753  if (argc == 4) {
222754  int _v;
222755  void *vptr = 0;
222756  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0);
222757  _v = SWIG_CheckState(res);
222758  if (_v) {
222759  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
222760  _v = SWIG_CheckState(res);
222761  if (_v) {
222762  void *vptr = 0;
222763  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
222764  _v = SWIG_CheckState(res);
222765  if (_v) {
222766  {
222767  int res = SWIG_AsVal_bool(argv[3], NULL);
222768  _v = SWIG_CheckState(res);
222769  }
222770  if (_v) {
222771  return _wrap_ActivatedItemMgr_Find__SWIG_0(self, args);
222772  }
222773  }
222774  }
222775  }
222776  }
222777 
222778 fail:
222779  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ActivatedItemMgr_Find'.\n"
222780  " Possible C/C++ prototypes are:\n"
222781  " AnimatSim::ActivatedItemMgr::Find(std::string,int &,bool)\n"
222782  " AnimatSim::ActivatedItemMgr::Find(std::string,bool)\n"
222783  " AnimatSim::ActivatedItemMgr::Find(std::string)\n");
222784  return 0;
222785 }
222786 
222787 
222788 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_FindListPos__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222789  PyObject *resultobj = 0;
222791  std::string arg2 ;
222792  bool arg3 ;
222793  void *argp1 = 0 ;
222794  int res1 = 0 ;
222795  bool val3 ;
222796  int ecode3 = 0 ;
222797  PyObject * obj0 = 0 ;
222798  PyObject * obj1 = 0 ;
222799  PyObject * obj2 = 0 ;
222800  int result;
222801 
222802  if (!PyArg_ParseTuple(args,(char *)"OOO:ActivatedItemMgr_FindListPos",&obj0,&obj1,&obj2)) SWIG_fail;
222803  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0 | 0 );
222804  if (!SWIG_IsOK(res1)) {
222805  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItemMgr_FindListPos" "', argument " "1"" of type '" "AnimatSim::ActivatedItemMgr *""'");
222806  }
222807  arg1 = reinterpret_cast< AnimatSim::ActivatedItemMgr * >(argp1);
222808  {
222809  std::string *ptr = (std::string *)0;
222810  int res = SWIG_AsPtr_std_string(obj1, &ptr);
222811  if (!SWIG_IsOK(res) || !ptr) {
222812  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ActivatedItemMgr_FindListPos" "', argument " "2"" of type '" "std::string""'");
222813  }
222814  arg2 = *ptr;
222815  if (SWIG_IsNewObj(res)) delete ptr;
222816  }
222817  ecode3 = SWIG_AsVal_bool(obj2, &val3);
222818  if (!SWIG_IsOK(ecode3)) {
222819  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ActivatedItemMgr_FindListPos" "', argument " "3"" of type '" "bool""'");
222820  }
222821  arg3 = static_cast< bool >(val3);
222822  {
222823  try {
222824  result = (int)(arg1)->FindListPos(arg2,arg3);
222825  }
222826  catch(CStdErrorInfo oError)
222827  {
222828  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222829  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
222830  PyErr_SetString(PyExc_IndexError, strError.c_str());
222831  SWIG_fail;
222832  }
222833  catch(...)
222834  {
222835  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222836  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
222837  SWIG_fail;
222838  }
222839  }
222840  resultobj = SWIG_From_int(static_cast< int >(result));
222841  return resultobj;
222842 fail:
222843  return NULL;
222844 }
222845 
222846 
222847 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_FindListPos__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222848  PyObject *resultobj = 0;
222850  std::string arg2 ;
222851  void *argp1 = 0 ;
222852  int res1 = 0 ;
222853  PyObject * obj0 = 0 ;
222854  PyObject * obj1 = 0 ;
222855  int result;
222856 
222857  if (!PyArg_ParseTuple(args,(char *)"OO:ActivatedItemMgr_FindListPos",&obj0,&obj1)) SWIG_fail;
222858  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0 | 0 );
222859  if (!SWIG_IsOK(res1)) {
222860  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItemMgr_FindListPos" "', argument " "1"" of type '" "AnimatSim::ActivatedItemMgr *""'");
222861  }
222862  arg1 = reinterpret_cast< AnimatSim::ActivatedItemMgr * >(argp1);
222863  {
222864  std::string *ptr = (std::string *)0;
222865  int res = SWIG_AsPtr_std_string(obj1, &ptr);
222866  if (!SWIG_IsOK(res) || !ptr) {
222867  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ActivatedItemMgr_FindListPos" "', argument " "2"" of type '" "std::string""'");
222868  }
222869  arg2 = *ptr;
222870  if (SWIG_IsNewObj(res)) delete ptr;
222871  }
222872  {
222873  try {
222874  result = (int)(arg1)->FindListPos(arg2);
222875  }
222876  catch(CStdErrorInfo oError)
222877  {
222878  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222879  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
222880  PyErr_SetString(PyExc_IndexError, strError.c_str());
222881  SWIG_fail;
222882  }
222883  catch(...)
222884  {
222885  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222886  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
222887  SWIG_fail;
222888  }
222889  }
222890  resultobj = SWIG_From_int(static_cast< int >(result));
222891  return resultobj;
222892 fail:
222893  return NULL;
222894 }
222895 
222896 
222897 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_FindListPos(PyObject *self, PyObject *args) {
222898  int argc;
222899  PyObject *argv[4];
222900  int ii;
222901 
222902  if (!PyTuple_Check(args)) SWIG_fail;
222903  argc = args ? (int)PyObject_Length(args) : 0;
222904  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
222905  argv[ii] = PyTuple_GET_ITEM(args,ii);
222906  }
222907  if (argc == 2) {
222908  int _v;
222909  void *vptr = 0;
222910  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0);
222911  _v = SWIG_CheckState(res);
222912  if (_v) {
222913  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
222914  _v = SWIG_CheckState(res);
222915  if (_v) {
222916  return _wrap_ActivatedItemMgr_FindListPos__SWIG_1(self, args);
222917  }
222918  }
222919  }
222920  if (argc == 3) {
222921  int _v;
222922  void *vptr = 0;
222923  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0);
222924  _v = SWIG_CheckState(res);
222925  if (_v) {
222926  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
222927  _v = SWIG_CheckState(res);
222928  if (_v) {
222929  {
222930  int res = SWIG_AsVal_bool(argv[2], NULL);
222931  _v = SWIG_CheckState(res);
222932  }
222933  if (_v) {
222934  return _wrap_ActivatedItemMgr_FindListPos__SWIG_0(self, args);
222935  }
222936  }
222937  }
222938  }
222939 
222940 fail:
222941  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ActivatedItemMgr_FindListPos'.\n"
222942  " Possible C/C++ prototypes are:\n"
222943  " AnimatSim::ActivatedItemMgr::FindListPos(std::string,bool)\n"
222944  " AnimatSim::ActivatedItemMgr::FindListPos(std::string)\n");
222945  return 0;
222946 }
222947 
222948 
222949 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222950  PyObject *resultobj = 0;
222952  void *argp1 = 0 ;
222953  int res1 = 0 ;
222954  PyObject * obj0 = 0 ;
222955 
222956  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItemMgr_Reset",&obj0)) SWIG_fail;
222957  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0 | 0 );
222958  if (!SWIG_IsOK(res1)) {
222959  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItemMgr_Reset" "', argument " "1"" of type '" "AnimatSim::ActivatedItemMgr *""'");
222960  }
222961  arg1 = reinterpret_cast< AnimatSim::ActivatedItemMgr * >(argp1);
222962  {
222963  try {
222964  (arg1)->Reset();
222965  }
222966  catch(CStdErrorInfo oError)
222967  {
222968  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222969  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
222970  PyErr_SetString(PyExc_IndexError, strError.c_str());
222971  SWIG_fail;
222972  }
222973  catch(...)
222974  {
222975  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
222976  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
222977  SWIG_fail;
222978  }
222979  }
222980  resultobj = SWIG_Py_Void();
222981  return resultobj;
222982 fail:
222983  return NULL;
222984 }
222985 
222986 
222987 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
222988  PyObject *resultobj = 0;
222990  void *argp1 = 0 ;
222991  int res1 = 0 ;
222992  PyObject * obj0 = 0 ;
222993 
222994  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItemMgr_Initialize",&obj0)) SWIG_fail;
222995  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0 | 0 );
222996  if (!SWIG_IsOK(res1)) {
222997  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItemMgr_Initialize" "', argument " "1"" of type '" "AnimatSim::ActivatedItemMgr *""'");
222998  }
222999  arg1 = reinterpret_cast< AnimatSim::ActivatedItemMgr * >(argp1);
223000  {
223001  try {
223002  (arg1)->Initialize();
223003  }
223004  catch(CStdErrorInfo oError)
223005  {
223006  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223007  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223008  PyErr_SetString(PyExc_IndexError, strError.c_str());
223009  SWIG_fail;
223010  }
223011  catch(...)
223012  {
223013  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223014  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223015  SWIG_fail;
223016  }
223017  }
223018  resultobj = SWIG_Py_Void();
223019  return resultobj;
223020 fail:
223021  return NULL;
223022 }
223023 
223024 
223025 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223026  PyObject *resultobj = 0;
223028  void *argp1 = 0 ;
223029  int res1 = 0 ;
223030  PyObject * obj0 = 0 ;
223031 
223032  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItemMgr_ResetSimulation",&obj0)) SWIG_fail;
223033  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0 | 0 );
223034  if (!SWIG_IsOK(res1)) {
223035  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItemMgr_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::ActivatedItemMgr *""'");
223036  }
223037  arg1 = reinterpret_cast< AnimatSim::ActivatedItemMgr * >(argp1);
223038  {
223039  try {
223040  (arg1)->ResetSimulation();
223041  }
223042  catch(CStdErrorInfo oError)
223043  {
223044  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223045  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223046  PyErr_SetString(PyExc_IndexError, strError.c_str());
223047  SWIG_fail;
223048  }
223049  catch(...)
223050  {
223051  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223052  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223053  SWIG_fail;
223054  }
223055  }
223056  resultobj = SWIG_Py_Void();
223057  return resultobj;
223058 fail:
223059  return NULL;
223060 }
223061 
223062 
223063 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_ReInitialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223064  PyObject *resultobj = 0;
223066  void *argp1 = 0 ;
223067  int res1 = 0 ;
223068  PyObject * obj0 = 0 ;
223069 
223070  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItemMgr_ReInitialize",&obj0)) SWIG_fail;
223071  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0 | 0 );
223072  if (!SWIG_IsOK(res1)) {
223073  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItemMgr_ReInitialize" "', argument " "1"" of type '" "AnimatSim::ActivatedItemMgr *""'");
223074  }
223075  arg1 = reinterpret_cast< AnimatSim::ActivatedItemMgr * >(argp1);
223076  {
223077  try {
223078  (arg1)->ReInitialize();
223079  }
223080  catch(CStdErrorInfo oError)
223081  {
223082  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223083  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223084  PyErr_SetString(PyExc_IndexError, strError.c_str());
223085  SWIG_fail;
223086  }
223087  catch(...)
223088  {
223089  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223090  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223091  SWIG_fail;
223092  }
223093  }
223094  resultobj = SWIG_Py_Void();
223095  return resultobj;
223096 fail:
223097  return NULL;
223098 }
223099 
223100 
223101 SWIGINTERN PyObject *_wrap_ActivatedItemMgr_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223102  PyObject *resultobj = 0;
223104  void *argp1 = 0 ;
223105  int res1 = 0 ;
223106  PyObject * obj0 = 0 ;
223107 
223108  if (!PyArg_ParseTuple(args,(char *)"O:ActivatedItemMgr_StepSimulation",&obj0)) SWIG_fail;
223109  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ActivatedItemMgr, 0 | 0 );
223110  if (!SWIG_IsOK(res1)) {
223111  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActivatedItemMgr_StepSimulation" "', argument " "1"" of type '" "AnimatSim::ActivatedItemMgr *""'");
223112  }
223113  arg1 = reinterpret_cast< AnimatSim::ActivatedItemMgr * >(argp1);
223114  {
223115  try {
223116  (arg1)->StepSimulation();
223117  }
223118  catch(CStdErrorInfo oError)
223119  {
223120  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223121  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223122  PyErr_SetString(PyExc_IndexError, strError.c_str());
223123  SWIG_fail;
223124  }
223125  catch(...)
223126  {
223127  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223128  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223129  SWIG_fail;
223130  }
223131  }
223132  resultobj = SWIG_Py_Void();
223133  return resultobj;
223134 fail:
223135  return NULL;
223136 }
223137 
223138 
223139 SWIGINTERN PyObject *ActivatedItemMgr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223140  PyObject *obj;
223141  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
223142  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__ActivatedItemMgr, SWIG_NewClientData(obj));
223143  return SWIG_Py_Void();
223144 }
223145 
223146 SWIGINTERN PyObject *_wrap_new_DataColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223147  PyObject *resultobj = 0;
223148  AnimatSim::Charting::DataColumn *result = 0 ;
223149 
223150  if (!PyArg_ParseTuple(args,(char *)":new_DataColumn")) SWIG_fail;
223151  {
223152  try {
223154  }
223155  catch(CStdErrorInfo oError)
223156  {
223157  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223158  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223159  PyErr_SetString(PyExc_IndexError, strError.c_str());
223160  SWIG_fail;
223161  }
223162  catch(...)
223163  {
223164  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223165  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223166  SWIG_fail;
223167  }
223168  }
223169  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__DataColumn, SWIG_POINTER_NEW | 0 );
223170  return resultobj;
223171 fail:
223172  return NULL;
223173 }
223174 
223175 
223176 SWIGINTERN PyObject *_wrap_delete_DataColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223177  PyObject *resultobj = 0;
223179  void *argp1 = 0 ;
223180  int res1 = 0 ;
223181  PyObject * obj0 = 0 ;
223182 
223183  if (!PyArg_ParseTuple(args,(char *)"O:delete_DataColumn",&obj0)) SWIG_fail;
223184  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, SWIG_POINTER_DISOWN | 0 );
223185  if (!SWIG_IsOK(res1)) {
223186  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataColumn" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
223187  }
223188  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
223189  {
223190  try {
223191  delete arg1;
223192  }
223193  catch(CStdErrorInfo oError)
223194  {
223195  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223196  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223197  PyErr_SetString(PyExc_IndexError, strError.c_str());
223198  SWIG_fail;
223199  }
223200  catch(...)
223201  {
223202  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223203  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223204  SWIG_fail;
223205  }
223206  }
223207  resultobj = SWIG_Py_Void();
223208  return resultobj;
223209 fail:
223210  return NULL;
223211 }
223212 
223213 
223214 SWIGINTERN PyObject *_wrap_DataColumn_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223215  PyObject *resultobj = 0;
223217  void *argp1 = 0 ;
223218  int res1 = 0 ;
223219  PyObject * obj0 = 0 ;
223220  AnimatSim::Charting::DataColumn *result = 0 ;
223221 
223222  if (!PyArg_ParseTuple(args,(char *)"O:DataColumn_CastToDerived",&obj0)) SWIG_fail;
223223  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
223224  if (!SWIG_IsOK(res1)) {
223225  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
223226  }
223227  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
223228  {
223229  try {
223230  result = (AnimatSim::Charting::DataColumn *)AnimatSim::Charting::DataColumn::CastToDerived(arg1);
223231  }
223232  catch(CStdErrorInfo oError)
223233  {
223234  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223235  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223236  PyErr_SetString(PyExc_IndexError, strError.c_str());
223237  SWIG_fail;
223238  }
223239  catch(...)
223240  {
223241  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223242  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223243  SWIG_fail;
223244  }
223245  }
223246  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
223247  return resultobj;
223248 fail:
223249  return NULL;
223250 }
223251 
223252 
223253 SWIGINTERN PyObject *_wrap_DataColumn_ColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223254  PyObject *resultobj = 0;
223256  void *argp1 = 0 ;
223257  int res1 = 0 ;
223258  PyObject * obj0 = 0 ;
223259  int result;
223260 
223261  if (!PyArg_ParseTuple(args,(char *)"O:DataColumn_ColumnCount",&obj0)) SWIG_fail;
223262  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
223263  if (!SWIG_IsOK(res1)) {
223264  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_ColumnCount" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
223265  }
223266  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
223267  {
223268  try {
223269  result = (int)(arg1)->ColumnCount();
223270  }
223271  catch(CStdErrorInfo oError)
223272  {
223273  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223274  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223275  PyErr_SetString(PyExc_IndexError, strError.c_str());
223276  SWIG_fail;
223277  }
223278  catch(...)
223279  {
223280  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223281  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223282  SWIG_fail;
223283  }
223284  }
223285  resultobj = SWIG_From_int(static_cast< int >(result));
223286  return resultobj;
223287 fail:
223288  return NULL;
223289 }
223290 
223291 
223292 SWIGINTERN PyObject *_wrap_DataColumn_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223293  PyObject *resultobj = 0;
223295  std::string arg2 ;
223296  void *argp1 = 0 ;
223297  int res1 = 0 ;
223298  PyObject * obj0 = 0 ;
223299  PyObject * obj1 = 0 ;
223300 
223301  if (!PyArg_ParseTuple(args,(char *)"OO:DataColumn_Name",&obj0,&obj1)) SWIG_fail;
223302  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
223303  if (!SWIG_IsOK(res1)) {
223304  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_Name" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
223305  }
223306  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
223307  {
223308  std::string *ptr = (std::string *)0;
223309  int res = SWIG_AsPtr_std_string(obj1, &ptr);
223310  if (!SWIG_IsOK(res) || !ptr) {
223311  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataColumn_Name" "', argument " "2"" of type '" "std::string""'");
223312  }
223313  arg2 = *ptr;
223314  if (SWIG_IsNewObj(res)) delete ptr;
223315  }
223316  {
223317  try {
223318  (arg1)->Name(arg2);
223319  }
223320  catch(CStdErrorInfo oError)
223321  {
223322  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223323  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223324  PyErr_SetString(PyExc_IndexError, strError.c_str());
223325  SWIG_fail;
223326  }
223327  catch(...)
223328  {
223329  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223330  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223331  SWIG_fail;
223332  }
223333  }
223334  resultobj = SWIG_Py_Void();
223335  return resultobj;
223336 fail:
223337  return NULL;
223338 }
223339 
223340 
223341 SWIGINTERN PyObject *_wrap_DataColumn_DataType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223342  PyObject *resultobj = 0;
223344  void *argp1 = 0 ;
223345  int res1 = 0 ;
223346  PyObject * obj0 = 0 ;
223347  std::string result;
223348 
223349  if (!PyArg_ParseTuple(args,(char *)"O:DataColumn_DataType",&obj0)) SWIG_fail;
223350  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
223351  if (!SWIG_IsOK(res1)) {
223352  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_DataType" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
223353  }
223354  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
223355  {
223356  try {
223357  result = (arg1)->DataType();
223358  }
223359  catch(CStdErrorInfo oError)
223360  {
223361  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223362  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223363  PyErr_SetString(PyExc_IndexError, strError.c_str());
223364  SWIG_fail;
223365  }
223366  catch(...)
223367  {
223368  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223369  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223370  SWIG_fail;
223371  }
223372  }
223373  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
223374  return resultobj;
223375 fail:
223376  return NULL;
223377 }
223378 
223379 
223380 SWIGINTERN PyObject *_wrap_DataColumn_DataType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223381  PyObject *resultobj = 0;
223383  std::string arg2 ;
223384  void *argp1 = 0 ;
223385  int res1 = 0 ;
223386  PyObject * obj0 = 0 ;
223387  PyObject * obj1 = 0 ;
223388 
223389  if (!PyArg_ParseTuple(args,(char *)"OO:DataColumn_DataType",&obj0,&obj1)) SWIG_fail;
223390  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
223391  if (!SWIG_IsOK(res1)) {
223392  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_DataType" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
223393  }
223394  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
223395  {
223396  std::string *ptr = (std::string *)0;
223397  int res = SWIG_AsPtr_std_string(obj1, &ptr);
223398  if (!SWIG_IsOK(res) || !ptr) {
223399  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataColumn_DataType" "', argument " "2"" of type '" "std::string""'");
223400  }
223401  arg2 = *ptr;
223402  if (SWIG_IsNewObj(res)) delete ptr;
223403  }
223404  {
223405  try {
223406  (arg1)->DataType(arg2);
223407  }
223408  catch(CStdErrorInfo oError)
223409  {
223410  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223411  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223412  PyErr_SetString(PyExc_IndexError, strError.c_str());
223413  SWIG_fail;
223414  }
223415  catch(...)
223416  {
223417  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223418  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223419  SWIG_fail;
223420  }
223421  }
223422  resultobj = SWIG_Py_Void();
223423  return resultobj;
223424 fail:
223425  return NULL;
223426 }
223427 
223428 
223429 SWIGINTERN PyObject *_wrap_DataColumn_DataType(PyObject *self, PyObject *args) {
223430  int argc;
223431  PyObject *argv[3];
223432  int ii;
223433 
223434  if (!PyTuple_Check(args)) SWIG_fail;
223435  argc = args ? (int)PyObject_Length(args) : 0;
223436  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
223437  argv[ii] = PyTuple_GET_ITEM(args,ii);
223438  }
223439  if (argc == 1) {
223440  int _v;
223441  void *vptr = 0;
223442  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0);
223443  _v = SWIG_CheckState(res);
223444  if (_v) {
223445  return _wrap_DataColumn_DataType__SWIG_0(self, args);
223446  }
223447  }
223448  if (argc == 2) {
223449  int _v;
223450  void *vptr = 0;
223451  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0);
223452  _v = SWIG_CheckState(res);
223453  if (_v) {
223454  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
223455  _v = SWIG_CheckState(res);
223456  if (_v) {
223457  return _wrap_DataColumn_DataType__SWIG_1(self, args);
223458  }
223459  }
223460  }
223461 
223462 fail:
223463  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataColumn_DataType'.\n"
223464  " Possible C/C++ prototypes are:\n"
223465  " AnimatSim::Charting::DataColumn::DataType()\n"
223466  " AnimatSim::Charting::DataColumn::DataType(std::string)\n");
223467  return 0;
223468 }
223469 
223470 
223471 SWIGINTERN PyObject *_wrap_DataColumn_TargetID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223472  PyObject *resultobj = 0;
223474  void *argp1 = 0 ;
223475  int res1 = 0 ;
223476  PyObject * obj0 = 0 ;
223477  std::string result;
223478 
223479  if (!PyArg_ParseTuple(args,(char *)"O:DataColumn_TargetID",&obj0)) SWIG_fail;
223480  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
223481  if (!SWIG_IsOK(res1)) {
223482  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_TargetID" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
223483  }
223484  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
223485  {
223486  try {
223487  result = (arg1)->TargetID();
223488  }
223489  catch(CStdErrorInfo oError)
223490  {
223491  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223492  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223493  PyErr_SetString(PyExc_IndexError, strError.c_str());
223494  SWIG_fail;
223495  }
223496  catch(...)
223497  {
223498  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223499  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223500  SWIG_fail;
223501  }
223502  }
223503  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
223504  return resultobj;
223505 fail:
223506  return NULL;
223507 }
223508 
223509 
223510 SWIGINTERN PyObject *_wrap_DataColumn_TargetID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223511  PyObject *resultobj = 0;
223513  std::string arg2 ;
223514  void *argp1 = 0 ;
223515  int res1 = 0 ;
223516  PyObject * obj0 = 0 ;
223517  PyObject * obj1 = 0 ;
223518 
223519  if (!PyArg_ParseTuple(args,(char *)"OO:DataColumn_TargetID",&obj0,&obj1)) SWIG_fail;
223520  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
223521  if (!SWIG_IsOK(res1)) {
223522  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_TargetID" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
223523  }
223524  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
223525  {
223526  std::string *ptr = (std::string *)0;
223527  int res = SWIG_AsPtr_std_string(obj1, &ptr);
223528  if (!SWIG_IsOK(res) || !ptr) {
223529  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataColumn_TargetID" "', argument " "2"" of type '" "std::string""'");
223530  }
223531  arg2 = *ptr;
223532  if (SWIG_IsNewObj(res)) delete ptr;
223533  }
223534  {
223535  try {
223536  (arg1)->TargetID(arg2);
223537  }
223538  catch(CStdErrorInfo oError)
223539  {
223540  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223541  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223542  PyErr_SetString(PyExc_IndexError, strError.c_str());
223543  SWIG_fail;
223544  }
223545  catch(...)
223546  {
223547  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223548  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223549  SWIG_fail;
223550  }
223551  }
223552  resultobj = SWIG_Py_Void();
223553  return resultobj;
223554 fail:
223555  return NULL;
223556 }
223557 
223558 
223559 SWIGINTERN PyObject *_wrap_DataColumn_TargetID(PyObject *self, PyObject *args) {
223560  int argc;
223561  PyObject *argv[3];
223562  int ii;
223563 
223564  if (!PyTuple_Check(args)) SWIG_fail;
223565  argc = args ? (int)PyObject_Length(args) : 0;
223566  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
223567  argv[ii] = PyTuple_GET_ITEM(args,ii);
223568  }
223569  if (argc == 1) {
223570  int _v;
223571  void *vptr = 0;
223572  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0);
223573  _v = SWIG_CheckState(res);
223574  if (_v) {
223575  return _wrap_DataColumn_TargetID__SWIG_0(self, args);
223576  }
223577  }
223578  if (argc == 2) {
223579  int _v;
223580  void *vptr = 0;
223581  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0);
223582  _v = SWIG_CheckState(res);
223583  if (_v) {
223584  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
223585  _v = SWIG_CheckState(res);
223586  if (_v) {
223587  return _wrap_DataColumn_TargetID__SWIG_1(self, args);
223588  }
223589  }
223590  }
223591 
223592 fail:
223593  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataColumn_TargetID'.\n"
223594  " Possible C/C++ prototypes are:\n"
223595  " AnimatSim::Charting::DataColumn::TargetID()\n"
223596  " AnimatSim::Charting::DataColumn::TargetID(std::string)\n");
223597  return 0;
223598 }
223599 
223600 
223601 SWIGINTERN PyObject *_wrap_DataColumn_AppendSpaces__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223602  PyObject *resultobj = 0;
223604  void *argp1 = 0 ;
223605  int res1 = 0 ;
223606  PyObject * obj0 = 0 ;
223607  int result;
223608 
223609  if (!PyArg_ParseTuple(args,(char *)"O:DataColumn_AppendSpaces",&obj0)) SWIG_fail;
223610  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
223611  if (!SWIG_IsOK(res1)) {
223612  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_AppendSpaces" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
223613  }
223614  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
223615  {
223616  try {
223617  result = (int)(arg1)->AppendSpaces();
223618  }
223619  catch(CStdErrorInfo oError)
223620  {
223621  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223622  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223623  PyErr_SetString(PyExc_IndexError, strError.c_str());
223624  SWIG_fail;
223625  }
223626  catch(...)
223627  {
223628  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223629  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223630  SWIG_fail;
223631  }
223632  }
223633  resultobj = SWIG_From_int(static_cast< int >(result));
223634  return resultobj;
223635 fail:
223636  return NULL;
223637 }
223638 
223639 
223640 SWIGINTERN PyObject *_wrap_DataColumn_AppendSpaces__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223641  PyObject *resultobj = 0;
223643  int arg2 ;
223644  void *argp1 = 0 ;
223645  int res1 = 0 ;
223646  int val2 ;
223647  int ecode2 = 0 ;
223648  PyObject * obj0 = 0 ;
223649  PyObject * obj1 = 0 ;
223650 
223651  if (!PyArg_ParseTuple(args,(char *)"OO:DataColumn_AppendSpaces",&obj0,&obj1)) SWIG_fail;
223652  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
223653  if (!SWIG_IsOK(res1)) {
223654  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_AppendSpaces" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
223655  }
223656  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
223657  ecode2 = SWIG_AsVal_int(obj1, &val2);
223658  if (!SWIG_IsOK(ecode2)) {
223659  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataColumn_AppendSpaces" "', argument " "2"" of type '" "int""'");
223660  }
223661  arg2 = static_cast< int >(val2);
223662  {
223663  try {
223664  (arg1)->AppendSpaces(arg2);
223665  }
223666  catch(CStdErrorInfo oError)
223667  {
223668  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223669  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223670  PyErr_SetString(PyExc_IndexError, strError.c_str());
223671  SWIG_fail;
223672  }
223673  catch(...)
223674  {
223675  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223676  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223677  SWIG_fail;
223678  }
223679  }
223680  resultobj = SWIG_Py_Void();
223681  return resultobj;
223682 fail:
223683  return NULL;
223684 }
223685 
223686 
223687 SWIGINTERN PyObject *_wrap_DataColumn_AppendSpaces(PyObject *self, PyObject *args) {
223688  int argc;
223689  PyObject *argv[3];
223690  int ii;
223691 
223692  if (!PyTuple_Check(args)) SWIG_fail;
223693  argc = args ? (int)PyObject_Length(args) : 0;
223694  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
223695  argv[ii] = PyTuple_GET_ITEM(args,ii);
223696  }
223697  if (argc == 1) {
223698  int _v;
223699  void *vptr = 0;
223700  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0);
223701  _v = SWIG_CheckState(res);
223702  if (_v) {
223703  return _wrap_DataColumn_AppendSpaces__SWIG_0(self, args);
223704  }
223705  }
223706  if (argc == 2) {
223707  int _v;
223708  void *vptr = 0;
223709  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0);
223710  _v = SWIG_CheckState(res);
223711  if (_v) {
223712  {
223713  int res = SWIG_AsVal_int(argv[1], NULL);
223714  _v = SWIG_CheckState(res);
223715  }
223716  if (_v) {
223717  return _wrap_DataColumn_AppendSpaces__SWIG_1(self, args);
223718  }
223719  }
223720  }
223721 
223722 fail:
223723  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataColumn_AppendSpaces'.\n"
223724  " Possible C/C++ prototypes are:\n"
223725  " AnimatSim::Charting::DataColumn::AppendSpaces()\n"
223726  " AnimatSim::Charting::DataColumn::AppendSpaces(int)\n");
223727  return 0;
223728 }
223729 
223730 
223731 SWIGINTERN PyObject *_wrap_DataColumn_IsInitialized__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223732  PyObject *resultobj = 0;
223734  void *argp1 = 0 ;
223735  int res1 = 0 ;
223736  PyObject * obj0 = 0 ;
223737  bool result;
223738 
223739  if (!PyArg_ParseTuple(args,(char *)"O:DataColumn_IsInitialized",&obj0)) SWIG_fail;
223740  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
223741  if (!SWIG_IsOK(res1)) {
223742  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_IsInitialized" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
223743  }
223744  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
223745  {
223746  try {
223747  result = (bool)(arg1)->IsInitialized();
223748  }
223749  catch(CStdErrorInfo oError)
223750  {
223751  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223752  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223753  PyErr_SetString(PyExc_IndexError, strError.c_str());
223754  SWIG_fail;
223755  }
223756  catch(...)
223757  {
223758  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223759  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223760  SWIG_fail;
223761  }
223762  }
223763  resultobj = SWIG_From_bool(static_cast< bool >(result));
223764  return resultobj;
223765 fail:
223766  return NULL;
223767 }
223768 
223769 
223770 SWIGINTERN PyObject *_wrap_DataColumn_IsInitialized__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223771  PyObject *resultobj = 0;
223773  bool arg2 ;
223774  void *argp1 = 0 ;
223775  int res1 = 0 ;
223776  bool val2 ;
223777  int ecode2 = 0 ;
223778  PyObject * obj0 = 0 ;
223779  PyObject * obj1 = 0 ;
223780 
223781  if (!PyArg_ParseTuple(args,(char *)"OO:DataColumn_IsInitialized",&obj0,&obj1)) SWIG_fail;
223782  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
223783  if (!SWIG_IsOK(res1)) {
223784  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_IsInitialized" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
223785  }
223786  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
223787  ecode2 = SWIG_AsVal_bool(obj1, &val2);
223788  if (!SWIG_IsOK(ecode2)) {
223789  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataColumn_IsInitialized" "', argument " "2"" of type '" "bool""'");
223790  }
223791  arg2 = static_cast< bool >(val2);
223792  {
223793  try {
223794  (arg1)->IsInitialized(arg2);
223795  }
223796  catch(CStdErrorInfo oError)
223797  {
223798  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223799  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223800  PyErr_SetString(PyExc_IndexError, strError.c_str());
223801  SWIG_fail;
223802  }
223803  catch(...)
223804  {
223805  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223806  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223807  SWIG_fail;
223808  }
223809  }
223810  resultobj = SWIG_Py_Void();
223811  return resultobj;
223812 fail:
223813  return NULL;
223814 }
223815 
223816 
223817 SWIGINTERN PyObject *_wrap_DataColumn_IsInitialized(PyObject *self, PyObject *args) {
223818  int argc;
223819  PyObject *argv[3];
223820  int ii;
223821 
223822  if (!PyTuple_Check(args)) SWIG_fail;
223823  argc = args ? (int)PyObject_Length(args) : 0;
223824  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
223825  argv[ii] = PyTuple_GET_ITEM(args,ii);
223826  }
223827  if (argc == 1) {
223828  int _v;
223829  void *vptr = 0;
223830  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0);
223831  _v = SWIG_CheckState(res);
223832  if (_v) {
223833  return _wrap_DataColumn_IsInitialized__SWIG_0(self, args);
223834  }
223835  }
223836  if (argc == 2) {
223837  int _v;
223838  void *vptr = 0;
223839  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0);
223840  _v = SWIG_CheckState(res);
223841  if (_v) {
223842  {
223843  int res = SWIG_AsVal_bool(argv[1], NULL);
223844  _v = SWIG_CheckState(res);
223845  }
223846  if (_v) {
223847  return _wrap_DataColumn_IsInitialized__SWIG_1(self, args);
223848  }
223849  }
223850  }
223851 
223852 fail:
223853  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataColumn_IsInitialized'.\n"
223854  " Possible C/C++ prototypes are:\n"
223855  " AnimatSim::Charting::DataColumn::IsInitialized()\n"
223856  " AnimatSim::Charting::DataColumn::IsInitialized(bool)\n");
223857  return 0;
223858 }
223859 
223860 
223861 SWIGINTERN PyObject *_wrap_DataColumn_ColumnIndex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223862  PyObject *resultobj = 0;
223864  void *argp1 = 0 ;
223865  int res1 = 0 ;
223866  PyObject * obj0 = 0 ;
223867  int result;
223868 
223869  if (!PyArg_ParseTuple(args,(char *)"O:DataColumn_ColumnIndex",&obj0)) SWIG_fail;
223870  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
223871  if (!SWIG_IsOK(res1)) {
223872  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_ColumnIndex" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
223873  }
223874  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
223875  {
223876  try {
223877  result = (int)(arg1)->ColumnIndex();
223878  }
223879  catch(CStdErrorInfo oError)
223880  {
223881  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223882  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223883  PyErr_SetString(PyExc_IndexError, strError.c_str());
223884  SWIG_fail;
223885  }
223886  catch(...)
223887  {
223888  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223889  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223890  SWIG_fail;
223891  }
223892  }
223893  resultobj = SWIG_From_int(static_cast< int >(result));
223894  return resultobj;
223895 fail:
223896  return NULL;
223897 }
223898 
223899 
223900 SWIGINTERN PyObject *_wrap_DataColumn_ColumnIndex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223901  PyObject *resultobj = 0;
223903  int arg2 ;
223904  void *argp1 = 0 ;
223905  int res1 = 0 ;
223906  int val2 ;
223907  int ecode2 = 0 ;
223908  PyObject * obj0 = 0 ;
223909  PyObject * obj1 = 0 ;
223910 
223911  if (!PyArg_ParseTuple(args,(char *)"OO:DataColumn_ColumnIndex",&obj0,&obj1)) SWIG_fail;
223912  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
223913  if (!SWIG_IsOK(res1)) {
223914  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_ColumnIndex" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
223915  }
223916  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
223917  ecode2 = SWIG_AsVal_int(obj1, &val2);
223918  if (!SWIG_IsOK(ecode2)) {
223919  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataColumn_ColumnIndex" "', argument " "2"" of type '" "int""'");
223920  }
223921  arg2 = static_cast< int >(val2);
223922  {
223923  try {
223924  (arg1)->ColumnIndex(arg2);
223925  }
223926  catch(CStdErrorInfo oError)
223927  {
223928  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223929  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
223930  PyErr_SetString(PyExc_IndexError, strError.c_str());
223931  SWIG_fail;
223932  }
223933  catch(...)
223934  {
223935  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
223936  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
223937  SWIG_fail;
223938  }
223939  }
223940  resultobj = SWIG_Py_Void();
223941  return resultobj;
223942 fail:
223943  return NULL;
223944 }
223945 
223946 
223947 SWIGINTERN PyObject *_wrap_DataColumn_ColumnIndex(PyObject *self, PyObject *args) {
223948  int argc;
223949  PyObject *argv[3];
223950  int ii;
223951 
223952  if (!PyTuple_Check(args)) SWIG_fail;
223953  argc = args ? (int)PyObject_Length(args) : 0;
223954  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
223955  argv[ii] = PyTuple_GET_ITEM(args,ii);
223956  }
223957  if (argc == 1) {
223958  int _v;
223959  void *vptr = 0;
223960  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0);
223961  _v = SWIG_CheckState(res);
223962  if (_v) {
223963  return _wrap_DataColumn_ColumnIndex__SWIG_0(self, args);
223964  }
223965  }
223966  if (argc == 2) {
223967  int _v;
223968  void *vptr = 0;
223969  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0);
223970  _v = SWIG_CheckState(res);
223971  if (_v) {
223972  {
223973  int res = SWIG_AsVal_int(argv[1], NULL);
223974  _v = SWIG_CheckState(res);
223975  }
223976  if (_v) {
223977  return _wrap_DataColumn_ColumnIndex__SWIG_1(self, args);
223978  }
223979  }
223980  }
223981 
223982 fail:
223983  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataColumn_ColumnIndex'.\n"
223984  " Possible C/C++ prototypes are:\n"
223985  " AnimatSim::Charting::DataColumn::ColumnIndex()\n"
223986  " AnimatSim::Charting::DataColumn::ColumnIndex(int)\n");
223987  return 0;
223988 }
223989 
223990 
223991 SWIGINTERN PyObject *_wrap_DataColumn_RowIndex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
223992  PyObject *resultobj = 0;
223994  void *argp1 = 0 ;
223995  int res1 = 0 ;
223996  PyObject * obj0 = 0 ;
223997  int result;
223998 
223999  if (!PyArg_ParseTuple(args,(char *)"O:DataColumn_RowIndex",&obj0)) SWIG_fail;
224000  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224001  if (!SWIG_IsOK(res1)) {
224002  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_RowIndex" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224003  }
224004  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224005  {
224006  try {
224007  result = (int)(arg1)->RowIndex();
224008  }
224009  catch(CStdErrorInfo oError)
224010  {
224011  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224012  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224013  PyErr_SetString(PyExc_IndexError, strError.c_str());
224014  SWIG_fail;
224015  }
224016  catch(...)
224017  {
224018  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224019  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224020  SWIG_fail;
224021  }
224022  }
224023  resultobj = SWIG_From_int(static_cast< int >(result));
224024  return resultobj;
224025 fail:
224026  return NULL;
224027 }
224028 
224029 
224030 SWIGINTERN PyObject *_wrap_DataColumn_RowIndex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224031  PyObject *resultobj = 0;
224033  int arg2 ;
224034  void *argp1 = 0 ;
224035  int res1 = 0 ;
224036  int val2 ;
224037  int ecode2 = 0 ;
224038  PyObject * obj0 = 0 ;
224039  PyObject * obj1 = 0 ;
224040 
224041  if (!PyArg_ParseTuple(args,(char *)"OO:DataColumn_RowIndex",&obj0,&obj1)) SWIG_fail;
224042  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224043  if (!SWIG_IsOK(res1)) {
224044  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_RowIndex" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224045  }
224046  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224047  ecode2 = SWIG_AsVal_int(obj1, &val2);
224048  if (!SWIG_IsOK(ecode2)) {
224049  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataColumn_RowIndex" "', argument " "2"" of type '" "int""'");
224050  }
224051  arg2 = static_cast< int >(val2);
224052  {
224053  try {
224054  (arg1)->RowIndex(arg2);
224055  }
224056  catch(CStdErrorInfo oError)
224057  {
224058  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224059  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224060  PyErr_SetString(PyExc_IndexError, strError.c_str());
224061  SWIG_fail;
224062  }
224063  catch(...)
224064  {
224065  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224066  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224067  SWIG_fail;
224068  }
224069  }
224070  resultobj = SWIG_Py_Void();
224071  return resultobj;
224072 fail:
224073  return NULL;
224074 }
224075 
224076 
224077 SWIGINTERN PyObject *_wrap_DataColumn_RowIndex(PyObject *self, PyObject *args) {
224078  int argc;
224079  PyObject *argv[3];
224080  int ii;
224081 
224082  if (!PyTuple_Check(args)) SWIG_fail;
224083  argc = args ? (int)PyObject_Length(args) : 0;
224084  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
224085  argv[ii] = PyTuple_GET_ITEM(args,ii);
224086  }
224087  if (argc == 1) {
224088  int _v;
224089  void *vptr = 0;
224090  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0);
224091  _v = SWIG_CheckState(res);
224092  if (_v) {
224093  return _wrap_DataColumn_RowIndex__SWIG_0(self, args);
224094  }
224095  }
224096  if (argc == 2) {
224097  int _v;
224098  void *vptr = 0;
224099  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0);
224100  _v = SWIG_CheckState(res);
224101  if (_v) {
224102  {
224103  int res = SWIG_AsVal_int(argv[1], NULL);
224104  _v = SWIG_CheckState(res);
224105  }
224106  if (_v) {
224107  return _wrap_DataColumn_RowIndex__SWIG_1(self, args);
224108  }
224109  }
224110  }
224111 
224112 fail:
224113  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataColumn_RowIndex'.\n"
224114  " Possible C/C++ prototypes are:\n"
224115  " AnimatSim::Charting::DataColumn::RowIndex()\n"
224116  " AnimatSim::Charting::DataColumn::RowIndex(int)\n");
224117  return 0;
224118 }
224119 
224120 
224121 SWIGINTERN PyObject *_wrap_DataColumn_DataValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224122  PyObject *resultobj = 0;
224124  void *argp1 = 0 ;
224125  int res1 = 0 ;
224126  PyObject * obj0 = 0 ;
224127  float *result = 0 ;
224128 
224129  if (!PyArg_ParseTuple(args,(char *)"O:DataColumn_DataValue",&obj0)) SWIG_fail;
224130  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224131  if (!SWIG_IsOK(res1)) {
224132  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_DataValue" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224133  }
224134  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224135  {
224136  try {
224137  result = (float *)(arg1)->DataValue();
224138  }
224139  catch(CStdErrorInfo oError)
224140  {
224141  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224142  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224143  PyErr_SetString(PyExc_IndexError, strError.c_str());
224144  SWIG_fail;
224145  }
224146  catch(...)
224147  {
224148  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224149  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224150  SWIG_fail;
224151  }
224152  }
224153  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
224154  return resultobj;
224155 fail:
224156  return NULL;
224157 }
224158 
224159 
224160 SWIGINTERN PyObject *_wrap_DataColumn_SetSystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224161  PyObject *resultobj = 0;
224163  Simulator *arg2 = (Simulator *) 0 ;
224164  Structure *arg3 = (Structure *) 0 ;
224165  NeuralModule *arg4 = (NeuralModule *) 0 ;
224166  AnimatSim::Node *arg5 = (AnimatSim::Node *) 0 ;
224167  DataChart *arg6 = (DataChart *) 0 ;
224168  bool arg7 ;
224169  void *argp1 = 0 ;
224170  int res1 = 0 ;
224171  void *argp2 = 0 ;
224172  int res2 = 0 ;
224173  void *argp3 = 0 ;
224174  int res3 = 0 ;
224175  void *argp4 = 0 ;
224176  int res4 = 0 ;
224177  void *argp5 = 0 ;
224178  int res5 = 0 ;
224179  void *argp6 = 0 ;
224180  int res6 = 0 ;
224181  bool val7 ;
224182  int ecode7 = 0 ;
224183  PyObject * obj0 = 0 ;
224184  PyObject * obj1 = 0 ;
224185  PyObject * obj2 = 0 ;
224186  PyObject * obj3 = 0 ;
224187  PyObject * obj4 = 0 ;
224188  PyObject * obj5 = 0 ;
224189  PyObject * obj6 = 0 ;
224190 
224191  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:DataColumn_SetSystemPointers",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
224192  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224193  if (!SWIG_IsOK(res1)) {
224194  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_SetSystemPointers" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224195  }
224196  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224197  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Simulator, 0 | 0 );
224198  if (!SWIG_IsOK(res2)) {
224199  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataColumn_SetSystemPointers" "', argument " "2"" of type '" "Simulator *""'");
224200  }
224201  arg2 = reinterpret_cast< Simulator * >(argp2);
224202  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Structure, 0 | 0 );
224203  if (!SWIG_IsOK(res3)) {
224204  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataColumn_SetSystemPointers" "', argument " "3"" of type '" "Structure *""'");
224205  }
224206  arg3 = reinterpret_cast< Structure * >(argp3);
224207  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_NeuralModule, 0 | 0 );
224208  if (!SWIG_IsOK(res4)) {
224209  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DataColumn_SetSystemPointers" "', argument " "4"" of type '" "NeuralModule *""'");
224210  }
224211  arg4 = reinterpret_cast< NeuralModule * >(argp4);
224212  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
224213  if (!SWIG_IsOK(res5)) {
224214  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DataColumn_SetSystemPointers" "', argument " "5"" of type '" "AnimatSim::Node *""'");
224215  }
224216  arg5 = reinterpret_cast< AnimatSim::Node * >(argp5);
224217  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_DataChart, 0 | 0 );
224218  if (!SWIG_IsOK(res6)) {
224219  SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DataColumn_SetSystemPointers" "', argument " "6"" of type '" "DataChart *""'");
224220  }
224221  arg6 = reinterpret_cast< DataChart * >(argp6);
224222  ecode7 = SWIG_AsVal_bool(obj6, &val7);
224223  if (!SWIG_IsOK(ecode7)) {
224224  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DataColumn_SetSystemPointers" "', argument " "7"" of type '" "bool""'");
224225  }
224226  arg7 = static_cast< bool >(val7);
224227  {
224228  try {
224229  (arg1)->SetSystemPointers(arg2,arg3,arg4,arg5,arg6,arg7);
224230  }
224231  catch(CStdErrorInfo oError)
224232  {
224233  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224234  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224235  PyErr_SetString(PyExc_IndexError, strError.c_str());
224236  SWIG_fail;
224237  }
224238  catch(...)
224239  {
224240  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224241  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224242  SWIG_fail;
224243  }
224244  }
224245  resultobj = SWIG_Py_Void();
224246  return resultobj;
224247 fail:
224248  return NULL;
224249 }
224250 
224251 
224252 SWIGINTERN PyObject *_wrap_DataColumn_VerifySystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224253  PyObject *resultobj = 0;
224255  void *argp1 = 0 ;
224256  int res1 = 0 ;
224257  PyObject * obj0 = 0 ;
224258 
224259  if (!PyArg_ParseTuple(args,(char *)"O:DataColumn_VerifySystemPointers",&obj0)) SWIG_fail;
224260  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224261  if (!SWIG_IsOK(res1)) {
224262  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_VerifySystemPointers" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224263  }
224264  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224265  {
224266  try {
224267  (arg1)->VerifySystemPointers();
224268  }
224269  catch(CStdErrorInfo oError)
224270  {
224271  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224272  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224273  PyErr_SetString(PyExc_IndexError, strError.c_str());
224274  SWIG_fail;
224275  }
224276  catch(...)
224277  {
224278  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224279  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224280  SWIG_fail;
224281  }
224282  }
224283  resultobj = SWIG_Py_Void();
224284  return resultobj;
224285 fail:
224286  return NULL;
224287 }
224288 
224289 
224290 SWIGINTERN PyObject *_wrap_DataColumn_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224291  PyObject *resultobj = 0;
224293  void *argp1 = 0 ;
224294  int res1 = 0 ;
224295  PyObject * obj0 = 0 ;
224296 
224297  if (!PyArg_ParseTuple(args,(char *)"O:DataColumn_Initialize",&obj0)) SWIG_fail;
224298  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224299  if (!SWIG_IsOK(res1)) {
224300  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_Initialize" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224301  }
224302  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224303  {
224304  try {
224305  (arg1)->Initialize();
224306  }
224307  catch(CStdErrorInfo oError)
224308  {
224309  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224310  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224311  PyErr_SetString(PyExc_IndexError, strError.c_str());
224312  SWIG_fail;
224313  }
224314  catch(...)
224315  {
224316  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224317  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224318  SWIG_fail;
224319  }
224320  }
224321  resultobj = SWIG_Py_Void();
224322  return resultobj;
224323 fail:
224324  return NULL;
224325 }
224326 
224327 
224328 SWIGINTERN PyObject *_wrap_DataColumn_ReInitialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224329  PyObject *resultobj = 0;
224331  void *argp1 = 0 ;
224332  int res1 = 0 ;
224333  PyObject * obj0 = 0 ;
224334 
224335  if (!PyArg_ParseTuple(args,(char *)"O:DataColumn_ReInitialize",&obj0)) SWIG_fail;
224336  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224337  if (!SWIG_IsOK(res1)) {
224338  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_ReInitialize" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224339  }
224340  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224341  {
224342  try {
224343  (arg1)->ReInitialize();
224344  }
224345  catch(CStdErrorInfo oError)
224346  {
224347  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224348  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224349  PyErr_SetString(PyExc_IndexError, strError.c_str());
224350  SWIG_fail;
224351  }
224352  catch(...)
224353  {
224354  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224355  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224356  SWIG_fail;
224357  }
224358  }
224359  resultobj = SWIG_Py_Void();
224360  return resultobj;
224361 fail:
224362  return NULL;
224363 }
224364 
224365 
224366 SWIGINTERN PyObject *_wrap_DataColumn_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224367  PyObject *resultobj = 0;
224369  void *argp1 = 0 ;
224370  int res1 = 0 ;
224371  PyObject * obj0 = 0 ;
224372 
224373  if (!PyArg_ParseTuple(args,(char *)"O:DataColumn_StepSimulation",&obj0)) SWIG_fail;
224374  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224375  if (!SWIG_IsOK(res1)) {
224376  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224377  }
224378  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224379  {
224380  try {
224381  (arg1)->StepSimulation();
224382  }
224383  catch(CStdErrorInfo oError)
224384  {
224385  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224386  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224387  PyErr_SetString(PyExc_IndexError, strError.c_str());
224388  SWIG_fail;
224389  }
224390  catch(...)
224391  {
224392  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224393  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224394  SWIG_fail;
224395  }
224396  }
224397  resultobj = SWIG_Py_Void();
224398  return resultobj;
224399 fail:
224400  return NULL;
224401 }
224402 
224403 
224404 SWIGINTERN PyObject *_wrap_DataColumn___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224405  PyObject *resultobj = 0;
224408  void *argp1 = 0 ;
224409  int res1 = 0 ;
224410  void *argp2 = 0 ;
224411  int res2 = 0 ;
224412  PyObject * obj0 = 0 ;
224413  PyObject * obj1 = 0 ;
224414  bool result;
224415 
224416  if (!PyArg_ParseTuple(args,(char *)"OO:DataColumn___lt__",&obj0,&obj1)) SWIG_fail;
224417  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224418  if (!SWIG_IsOK(res1)) {
224419  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn___lt__" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224420  }
224421  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224422  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224423  if (!SWIG_IsOK(res2)) {
224424  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataColumn___lt__" "', argument " "2"" of type '" "AnimatSim::Charting::DataColumn *""'");
224425  }
224426  arg2 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp2);
224427  {
224428  try {
224429  result = (bool)(arg1)->operator <(arg2);
224430  }
224431  catch(CStdErrorInfo oError)
224432  {
224433  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224434  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224435  PyErr_SetString(PyExc_IndexError, strError.c_str());
224436  SWIG_fail;
224437  }
224438  catch(...)
224439  {
224440  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224441  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224442  SWIG_fail;
224443  }
224444  }
224445  resultobj = SWIG_From_bool(static_cast< bool >(result));
224446  return resultobj;
224447 fail:
224448  return NULL;
224449 }
224450 
224451 
224452 SWIGINTERN PyObject *_wrap_DataColumn_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224453  PyObject *resultobj = 0;
224455  std::string *arg2 = 0 ;
224456  std::string *arg3 = 0 ;
224457  bool arg4 ;
224458  void *argp1 = 0 ;
224459  int res1 = 0 ;
224460  int res2 = SWIG_OLDOBJ ;
224461  int res3 = SWIG_OLDOBJ ;
224462  bool val4 ;
224463  int ecode4 = 0 ;
224464  PyObject * obj0 = 0 ;
224465  PyObject * obj1 = 0 ;
224466  PyObject * obj2 = 0 ;
224467  PyObject * obj3 = 0 ;
224468  bool result;
224469 
224470  if (!PyArg_ParseTuple(args,(char *)"OOOO:DataColumn_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
224471  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224472  if (!SWIG_IsOK(res1)) {
224473  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_SetData" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224474  }
224475  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224476  {
224477  std::string *ptr = (std::string *)0;
224478  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
224479  if (!SWIG_IsOK(res2)) {
224480  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataColumn_SetData" "', argument " "2"" of type '" "std::string const &""'");
224481  }
224482  if (!ptr) {
224483  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataColumn_SetData" "', argument " "2"" of type '" "std::string const &""'");
224484  }
224485  arg2 = ptr;
224486  }
224487  {
224488  std::string *ptr = (std::string *)0;
224489  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
224490  if (!SWIG_IsOK(res3)) {
224491  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataColumn_SetData" "', argument " "3"" of type '" "std::string const &""'");
224492  }
224493  if (!ptr) {
224494  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataColumn_SetData" "', argument " "3"" of type '" "std::string const &""'");
224495  }
224496  arg3 = ptr;
224497  }
224498  ecode4 = SWIG_AsVal_bool(obj3, &val4);
224499  if (!SWIG_IsOK(ecode4)) {
224500  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataColumn_SetData" "', argument " "4"" of type '" "bool""'");
224501  }
224502  arg4 = static_cast< bool >(val4);
224503  {
224504  try {
224505  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
224506  }
224507  catch(CStdErrorInfo oError)
224508  {
224509  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224510  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224511  PyErr_SetString(PyExc_IndexError, strError.c_str());
224512  SWIG_fail;
224513  }
224514  catch(...)
224515  {
224516  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224517  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224518  SWIG_fail;
224519  }
224520  }
224521  resultobj = SWIG_From_bool(static_cast< bool >(result));
224522  if (SWIG_IsNewObj(res2)) delete arg2;
224523  if (SWIG_IsNewObj(res3)) delete arg3;
224524  return resultobj;
224525 fail:
224526  if (SWIG_IsNewObj(res2)) delete arg2;
224527  if (SWIG_IsNewObj(res3)) delete arg3;
224528  return NULL;
224529 }
224530 
224531 
224532 SWIGINTERN PyObject *_wrap_DataColumn_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224533  PyObject *resultobj = 0;
224535  std::string *arg2 = 0 ;
224536  std::string *arg3 = 0 ;
224537  void *argp1 = 0 ;
224538  int res1 = 0 ;
224539  int res2 = SWIG_OLDOBJ ;
224540  int res3 = SWIG_OLDOBJ ;
224541  PyObject * obj0 = 0 ;
224542  PyObject * obj1 = 0 ;
224543  PyObject * obj2 = 0 ;
224544  bool result;
224545 
224546  if (!PyArg_ParseTuple(args,(char *)"OOO:DataColumn_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
224547  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224548  if (!SWIG_IsOK(res1)) {
224549  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_SetData" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224550  }
224551  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224552  {
224553  std::string *ptr = (std::string *)0;
224554  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
224555  if (!SWIG_IsOK(res2)) {
224556  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataColumn_SetData" "', argument " "2"" of type '" "std::string const &""'");
224557  }
224558  if (!ptr) {
224559  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataColumn_SetData" "', argument " "2"" of type '" "std::string const &""'");
224560  }
224561  arg2 = ptr;
224562  }
224563  {
224564  std::string *ptr = (std::string *)0;
224565  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
224566  if (!SWIG_IsOK(res3)) {
224567  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataColumn_SetData" "', argument " "3"" of type '" "std::string const &""'");
224568  }
224569  if (!ptr) {
224570  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataColumn_SetData" "', argument " "3"" of type '" "std::string const &""'");
224571  }
224572  arg3 = ptr;
224573  }
224574  {
224575  try {
224576  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
224577  }
224578  catch(CStdErrorInfo oError)
224579  {
224580  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224581  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224582  PyErr_SetString(PyExc_IndexError, strError.c_str());
224583  SWIG_fail;
224584  }
224585  catch(...)
224586  {
224587  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224588  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224589  SWIG_fail;
224590  }
224591  }
224592  resultobj = SWIG_From_bool(static_cast< bool >(result));
224593  if (SWIG_IsNewObj(res2)) delete arg2;
224594  if (SWIG_IsNewObj(res3)) delete arg3;
224595  return resultobj;
224596 fail:
224597  if (SWIG_IsNewObj(res2)) delete arg2;
224598  if (SWIG_IsNewObj(res3)) delete arg3;
224599  return NULL;
224600 }
224601 
224602 
224603 SWIGINTERN PyObject *_wrap_DataColumn_SetData(PyObject *self, PyObject *args) {
224604  int argc;
224605  PyObject *argv[5];
224606  int ii;
224607 
224608  if (!PyTuple_Check(args)) SWIG_fail;
224609  argc = args ? (int)PyObject_Length(args) : 0;
224610  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
224611  argv[ii] = PyTuple_GET_ITEM(args,ii);
224612  }
224613  if (argc == 3) {
224614  int _v;
224615  void *vptr = 0;
224616  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0);
224617  _v = SWIG_CheckState(res);
224618  if (_v) {
224619  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
224620  _v = SWIG_CheckState(res);
224621  if (_v) {
224622  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
224623  _v = SWIG_CheckState(res);
224624  if (_v) {
224625  return _wrap_DataColumn_SetData__SWIG_1(self, args);
224626  }
224627  }
224628  }
224629  }
224630  if (argc == 4) {
224631  int _v;
224632  void *vptr = 0;
224633  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0);
224634  _v = SWIG_CheckState(res);
224635  if (_v) {
224636  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
224637  _v = SWIG_CheckState(res);
224638  if (_v) {
224639  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
224640  _v = SWIG_CheckState(res);
224641  if (_v) {
224642  {
224643  int res = SWIG_AsVal_bool(argv[3], NULL);
224644  _v = SWIG_CheckState(res);
224645  }
224646  if (_v) {
224647  return _wrap_DataColumn_SetData__SWIG_0(self, args);
224648  }
224649  }
224650  }
224651  }
224652  }
224653 
224654 fail:
224655  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataColumn_SetData'.\n"
224656  " Possible C/C++ prototypes are:\n"
224657  " AnimatSim::Charting::DataColumn::SetData(std::string const &,std::string const &,bool)\n"
224658  " AnimatSim::Charting::DataColumn::SetData(std::string const &,std::string const &)\n");
224659  return 0;
224660 }
224661 
224662 
224663 SWIGINTERN PyObject *_wrap_DataColumn_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224664  PyObject *resultobj = 0;
224666  CStdPtrArray< TypeProperty > *arg2 = 0 ;
224667  void *argp1 = 0 ;
224668  int res1 = 0 ;
224669  void *argp2 = 0 ;
224670  int res2 = 0 ;
224671  PyObject * obj0 = 0 ;
224672  PyObject * obj1 = 0 ;
224673 
224674  if (!PyArg_ParseTuple(args,(char *)"OO:DataColumn_QueryProperties",&obj0,&obj1)) SWIG_fail;
224675  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224676  if (!SWIG_IsOK(res1)) {
224677  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224678  }
224679  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224680  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
224681  if (!SWIG_IsOK(res2)) {
224682  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataColumn_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
224683  }
224684  if (!argp2) {
224685  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataColumn_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
224686  }
224687  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
224688  {
224689  try {
224690  (arg1)->QueryProperties(*arg2);
224691  }
224692  catch(CStdErrorInfo oError)
224693  {
224694  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224695  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224696  PyErr_SetString(PyExc_IndexError, strError.c_str());
224697  SWIG_fail;
224698  }
224699  catch(...)
224700  {
224701  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224702  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224703  SWIG_fail;
224704  }
224705  }
224706  resultobj = SWIG_Py_Void();
224707  return resultobj;
224708 fail:
224709  return NULL;
224710 }
224711 
224712 
224713 SWIGINTERN PyObject *_wrap_DataColumn_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224714  PyObject *resultobj = 0;
224716  void *argp1 = 0 ;
224717  int res1 = 0 ;
224718  PyObject * obj0 = 0 ;
224719 
224720  if (!PyArg_ParseTuple(args,(char *)"O:DataColumn_Activate",&obj0)) SWIG_fail;
224721  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224722  if (!SWIG_IsOK(res1)) {
224723  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_Activate" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224724  }
224725  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224726  {
224727  try {
224728  (arg1)->Activate();
224729  }
224730  catch(CStdErrorInfo oError)
224731  {
224732  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224733  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224734  PyErr_SetString(PyExc_IndexError, strError.c_str());
224735  SWIG_fail;
224736  }
224737  catch(...)
224738  {
224739  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224740  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224741  SWIG_fail;
224742  }
224743  }
224744  resultobj = SWIG_Py_Void();
224745  return resultobj;
224746 fail:
224747  return NULL;
224748 }
224749 
224750 
224751 SWIGINTERN PyObject *_wrap_DataColumn_Deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224752  PyObject *resultobj = 0;
224754  void *argp1 = 0 ;
224755  int res1 = 0 ;
224756  PyObject * obj0 = 0 ;
224757 
224758  if (!PyArg_ParseTuple(args,(char *)"O:DataColumn_Deactivate",&obj0)) SWIG_fail;
224759  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224760  if (!SWIG_IsOK(res1)) {
224761  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_Deactivate" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224762  }
224763  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224764  {
224765  try {
224766  (arg1)->Deactivate();
224767  }
224768  catch(CStdErrorInfo oError)
224769  {
224770  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224771  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224772  PyErr_SetString(PyExc_IndexError, strError.c_str());
224773  SWIG_fail;
224774  }
224775  catch(...)
224776  {
224777  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224778  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224779  SWIG_fail;
224780  }
224781  }
224782  resultobj = SWIG_Py_Void();
224783  return resultobj;
224784 fail:
224785  return NULL;
224786 }
224787 
224788 
224789 SWIGINTERN PyObject *_wrap_DataColumn_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224790  PyObject *resultobj = 0;
224792  CStdXml *arg2 = 0 ;
224793  void *argp1 = 0 ;
224794  int res1 = 0 ;
224795  void *argp2 = 0 ;
224796  int res2 = 0 ;
224797  PyObject * obj0 = 0 ;
224798  PyObject * obj1 = 0 ;
224799 
224800  if (!PyArg_ParseTuple(args,(char *)"OO:DataColumn_Load",&obj0,&obj1)) SWIG_fail;
224801  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224802  if (!SWIG_IsOK(res1)) {
224803  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_Load" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224804  }
224805  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224806  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
224807  if (!SWIG_IsOK(res2)) {
224808  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataColumn_Load" "', argument " "2"" of type '" "CStdXml &""'");
224809  }
224810  if (!argp2) {
224811  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataColumn_Load" "', argument " "2"" of type '" "CStdXml &""'");
224812  }
224813  arg2 = reinterpret_cast< CStdXml * >(argp2);
224814  {
224815  try {
224816  (arg1)->Load(*arg2);
224817  }
224818  catch(CStdErrorInfo oError)
224819  {
224820  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224821  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224822  PyErr_SetString(PyExc_IndexError, strError.c_str());
224823  SWIG_fail;
224824  }
224825  catch(...)
224826  {
224827  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224828  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224829  SWIG_fail;
224830  }
224831  }
224832  resultobj = SWIG_Py_Void();
224833  return resultobj;
224834 fail:
224835  return NULL;
224836 }
224837 
224838 
224839 SWIGINTERN PyObject *_wrap_DataColumn_SaveColumnNames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224840  PyObject *resultobj = 0;
224842  std::ofstream *arg2 = 0 ;
224843  void *argp1 = 0 ;
224844  int res1 = 0 ;
224845  void *argp2 = 0 ;
224846  int res2 = 0 ;
224847  PyObject * obj0 = 0 ;
224848  PyObject * obj1 = 0 ;
224849 
224850  if (!PyArg_ParseTuple(args,(char *)"OO:DataColumn_SaveColumnNames",&obj0,&obj1)) SWIG_fail;
224851  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224852  if (!SWIG_IsOK(res1)) {
224853  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataColumn_SaveColumnNames" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224854  }
224855  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224856  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__ofstream, 0 );
224857  if (!SWIG_IsOK(res2)) {
224858  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataColumn_SaveColumnNames" "', argument " "2"" of type '" "std::ofstream &""'");
224859  }
224860  if (!argp2) {
224861  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataColumn_SaveColumnNames" "', argument " "2"" of type '" "std::ofstream &""'");
224862  }
224863  arg2 = reinterpret_cast< std::ofstream * >(argp2);
224864  {
224865  try {
224866  (arg1)->SaveColumnNames(*arg2);
224867  }
224868  catch(CStdErrorInfo oError)
224869  {
224870  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224871  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224872  PyErr_SetString(PyExc_IndexError, strError.c_str());
224873  SWIG_fail;
224874  }
224875  catch(...)
224876  {
224877  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224878  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224879  SWIG_fail;
224880  }
224881  }
224882  resultobj = SWIG_Py_Void();
224883  return resultobj;
224884 fail:
224885  return NULL;
224886 }
224887 
224888 
224889 SWIGINTERN PyObject *DataColumn_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224890  PyObject *obj;
224891  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
224892  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Charting__DataColumn, SWIG_NewClientData(obj));
224893  return SWIG_Py_Void();
224894 }
224895 
224896 SWIGINTERN PyObject *_wrap_LessThanDataColumnCompare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224897  PyObject *resultobj = 0;
224900  void *argp1 = 0 ;
224901  int res1 = 0 ;
224902  void *argp2 = 0 ;
224903  int res2 = 0 ;
224904  PyObject * obj0 = 0 ;
224905  PyObject * obj1 = 0 ;
224906  bool result;
224907 
224908  if (!PyArg_ParseTuple(args,(char *)"OO:LessThanDataColumnCompare",&obj0,&obj1)) SWIG_fail;
224909  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224910  if (!SWIG_IsOK(res1)) {
224911  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LessThanDataColumnCompare" "', argument " "1"" of type '" "AnimatSim::Charting::DataColumn *""'");
224912  }
224913  arg1 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp1);
224914  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
224915  if (!SWIG_IsOK(res2)) {
224916  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LessThanDataColumnCompare" "', argument " "2"" of type '" "AnimatSim::Charting::DataColumn *""'");
224917  }
224918  arg2 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp2);
224919  {
224920  try {
224921  result = (bool)AnimatSim::Charting::LessThanDataColumnCompare(arg1,arg2);
224922  }
224923  catch(CStdErrorInfo oError)
224924  {
224925  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224926  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224927  PyErr_SetString(PyExc_IndexError, strError.c_str());
224928  SWIG_fail;
224929  }
224930  catch(...)
224931  {
224932  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224933  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224934  SWIG_fail;
224935  }
224936  }
224937  resultobj = SWIG_From_bool(static_cast< bool >(result));
224938  return resultobj;
224939 fail:
224940  return NULL;
224941 }
224942 
224943 
224944 SWIGINTERN PyObject *_wrap_new_DataChart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224945  PyObject *resultobj = 0;
224946  AnimatSim::Charting::DataChart *result = 0 ;
224947 
224948  if (!PyArg_ParseTuple(args,(char *)":new_DataChart")) SWIG_fail;
224949  {
224950  try {
224952  }
224953  catch(CStdErrorInfo oError)
224954  {
224955  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224956  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224957  PyErr_SetString(PyExc_IndexError, strError.c_str());
224958  SWIG_fail;
224959  }
224960  catch(...)
224961  {
224962  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224963  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
224964  SWIG_fail;
224965  }
224966  }
224967  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__DataChart, SWIG_POINTER_NEW | 0 );
224968  return resultobj;
224969 fail:
224970  return NULL;
224971 }
224972 
224973 
224974 SWIGINTERN PyObject *_wrap_delete_DataChart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
224975  PyObject *resultobj = 0;
224977  void *argp1 = 0 ;
224978  int res1 = 0 ;
224979  PyObject * obj0 = 0 ;
224980 
224981  if (!PyArg_ParseTuple(args,(char *)"O:delete_DataChart",&obj0)) SWIG_fail;
224982  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, SWIG_POINTER_DISOWN | 0 );
224983  if (!SWIG_IsOK(res1)) {
224984  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataChart" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
224985  }
224986  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
224987  {
224988  try {
224989  delete arg1;
224990  }
224991  catch(CStdErrorInfo oError)
224992  {
224993  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
224994  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
224995  PyErr_SetString(PyExc_IndexError, strError.c_str());
224996  SWIG_fail;
224997  }
224998  catch(...)
224999  {
225000  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225001  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225002  SWIG_fail;
225003  }
225004  }
225005  resultobj = SWIG_Py_Void();
225006  return resultobj;
225007 fail:
225008  return NULL;
225009 }
225010 
225011 
225012 SWIGINTERN PyObject *_wrap_DataChart_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225013  PyObject *resultobj = 0;
225015  void *argp1 = 0 ;
225016  int res1 = 0 ;
225017  PyObject * obj0 = 0 ;
225018  AnimatSim::Charting::DataChart *result = 0 ;
225019 
225020  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_CastToDerived",&obj0)) SWIG_fail;
225021  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
225022  if (!SWIG_IsOK(res1)) {
225023  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
225024  }
225025  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
225026  {
225027  try {
225028  result = (AnimatSim::Charting::DataChart *)AnimatSim::Charting::DataChart::CastToDerived(arg1);
225029  }
225030  catch(CStdErrorInfo oError)
225031  {
225032  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225033  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225034  PyErr_SetString(PyExc_IndexError, strError.c_str());
225035  SWIG_fail;
225036  }
225037  catch(...)
225038  {
225039  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225040  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225041  SWIG_fail;
225042  }
225043  }
225044  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225045  return resultobj;
225046 fail:
225047  return NULL;
225048 }
225049 
225050 
225051 SWIGINTERN PyObject *_wrap_DataChart_Type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225052  PyObject *resultobj = 0;
225054  void *argp1 = 0 ;
225055  int res1 = 0 ;
225056  PyObject * obj0 = 0 ;
225057  std::string result;
225058 
225059  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_Type",&obj0)) SWIG_fail;
225060  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225061  if (!SWIG_IsOK(res1)) {
225062  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_Type" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225063  }
225064  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225065  {
225066  try {
225067  result = (arg1)->Type();
225068  }
225069  catch(CStdErrorInfo oError)
225070  {
225071  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225072  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225073  PyErr_SetString(PyExc_IndexError, strError.c_str());
225074  SWIG_fail;
225075  }
225076  catch(...)
225077  {
225078  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225079  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225080  SWIG_fail;
225081  }
225082  }
225083  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
225084  return resultobj;
225085 fail:
225086  return NULL;
225087 }
225088 
225089 
225090 SWIGINTERN PyObject *_wrap_DataChart_StartTime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225091  PyObject *resultobj = 0;
225093  float arg2 ;
225094  bool arg3 ;
225095  void *argp1 = 0 ;
225096  int res1 = 0 ;
225097  float val2 ;
225098  int ecode2 = 0 ;
225099  bool val3 ;
225100  int ecode3 = 0 ;
225101  PyObject * obj0 = 0 ;
225102  PyObject * obj1 = 0 ;
225103  PyObject * obj2 = 0 ;
225104 
225105  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChart_StartTime",&obj0,&obj1,&obj2)) SWIG_fail;
225106  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225107  if (!SWIG_IsOK(res1)) {
225108  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_StartTime" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225109  }
225110  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225111  ecode2 = SWIG_AsVal_float(obj1, &val2);
225112  if (!SWIG_IsOK(ecode2)) {
225113  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_StartTime" "', argument " "2"" of type '" "float""'");
225114  }
225115  arg2 = static_cast< float >(val2);
225116  ecode3 = SWIG_AsVal_bool(obj2, &val3);
225117  if (!SWIG_IsOK(ecode3)) {
225118  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataChart_StartTime" "', argument " "3"" of type '" "bool""'");
225119  }
225120  arg3 = static_cast< bool >(val3);
225121  {
225122  try {
225123  (arg1)->StartTime(arg2,arg3);
225124  }
225125  catch(CStdErrorInfo oError)
225126  {
225127  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225128  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225129  PyErr_SetString(PyExc_IndexError, strError.c_str());
225130  SWIG_fail;
225131  }
225132  catch(...)
225133  {
225134  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225135  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225136  SWIG_fail;
225137  }
225138  }
225139  resultobj = SWIG_Py_Void();
225140  return resultobj;
225141 fail:
225142  return NULL;
225143 }
225144 
225145 
225146 SWIGINTERN PyObject *_wrap_DataChart_StartTime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225147  PyObject *resultobj = 0;
225149  float arg2 ;
225150  void *argp1 = 0 ;
225151  int res1 = 0 ;
225152  float val2 ;
225153  int ecode2 = 0 ;
225154  PyObject * obj0 = 0 ;
225155  PyObject * obj1 = 0 ;
225156 
225157  if (!PyArg_ParseTuple(args,(char *)"OO:DataChart_StartTime",&obj0,&obj1)) SWIG_fail;
225158  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225159  if (!SWIG_IsOK(res1)) {
225160  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_StartTime" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225161  }
225162  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225163  ecode2 = SWIG_AsVal_float(obj1, &val2);
225164  if (!SWIG_IsOK(ecode2)) {
225165  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_StartTime" "', argument " "2"" of type '" "float""'");
225166  }
225167  arg2 = static_cast< float >(val2);
225168  {
225169  try {
225170  (arg1)->StartTime(arg2);
225171  }
225172  catch(CStdErrorInfo oError)
225173  {
225174  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225175  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225176  PyErr_SetString(PyExc_IndexError, strError.c_str());
225177  SWIG_fail;
225178  }
225179  catch(...)
225180  {
225181  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225182  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225183  SWIG_fail;
225184  }
225185  }
225186  resultobj = SWIG_Py_Void();
225187  return resultobj;
225188 fail:
225189  return NULL;
225190 }
225191 
225192 
225193 SWIGINTERN PyObject *_wrap_DataChart_StartTime(PyObject *self, PyObject *args) {
225194  int argc;
225195  PyObject *argv[4];
225196  int ii;
225197 
225198  if (!PyTuple_Check(args)) SWIG_fail;
225199  argc = args ? (int)PyObject_Length(args) : 0;
225200  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
225201  argv[ii] = PyTuple_GET_ITEM(args,ii);
225202  }
225203  if (argc == 2) {
225204  int _v;
225205  void *vptr = 0;
225206  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
225207  _v = SWIG_CheckState(res);
225208  if (_v) {
225209  {
225210  int res = SWIG_AsVal_float(argv[1], NULL);
225211  _v = SWIG_CheckState(res);
225212  }
225213  if (_v) {
225214  return _wrap_DataChart_StartTime__SWIG_1(self, args);
225215  }
225216  }
225217  }
225218  if (argc == 3) {
225219  int _v;
225220  void *vptr = 0;
225221  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
225222  _v = SWIG_CheckState(res);
225223  if (_v) {
225224  {
225225  int res = SWIG_AsVal_float(argv[1], NULL);
225226  _v = SWIG_CheckState(res);
225227  }
225228  if (_v) {
225229  {
225230  int res = SWIG_AsVal_bool(argv[2], NULL);
225231  _v = SWIG_CheckState(res);
225232  }
225233  if (_v) {
225234  return _wrap_DataChart_StartTime__SWIG_0(self, args);
225235  }
225236  }
225237  }
225238  }
225239 
225240 fail:
225241  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChart_StartTime'.\n"
225242  " Possible C/C++ prototypes are:\n"
225243  " AnimatSim::Charting::DataChart::StartTime(float,bool)\n"
225244  " AnimatSim::Charting::DataChart::StartTime(float)\n");
225245  return 0;
225246 }
225247 
225248 
225249 SWIGINTERN PyObject *_wrap_DataChart_EndTime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225250  PyObject *resultobj = 0;
225252  float arg2 ;
225253  bool arg3 ;
225254  void *argp1 = 0 ;
225255  int res1 = 0 ;
225256  float val2 ;
225257  int ecode2 = 0 ;
225258  bool val3 ;
225259  int ecode3 = 0 ;
225260  PyObject * obj0 = 0 ;
225261  PyObject * obj1 = 0 ;
225262  PyObject * obj2 = 0 ;
225263 
225264  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChart_EndTime",&obj0,&obj1,&obj2)) SWIG_fail;
225265  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225266  if (!SWIG_IsOK(res1)) {
225267  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_EndTime" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225268  }
225269  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225270  ecode2 = SWIG_AsVal_float(obj1, &val2);
225271  if (!SWIG_IsOK(ecode2)) {
225272  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_EndTime" "', argument " "2"" of type '" "float""'");
225273  }
225274  arg2 = static_cast< float >(val2);
225275  ecode3 = SWIG_AsVal_bool(obj2, &val3);
225276  if (!SWIG_IsOK(ecode3)) {
225277  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataChart_EndTime" "', argument " "3"" of type '" "bool""'");
225278  }
225279  arg3 = static_cast< bool >(val3);
225280  {
225281  try {
225282  (arg1)->EndTime(arg2,arg3);
225283  }
225284  catch(CStdErrorInfo oError)
225285  {
225286  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225287  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225288  PyErr_SetString(PyExc_IndexError, strError.c_str());
225289  SWIG_fail;
225290  }
225291  catch(...)
225292  {
225293  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225294  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225295  SWIG_fail;
225296  }
225297  }
225298  resultobj = SWIG_Py_Void();
225299  return resultobj;
225300 fail:
225301  return NULL;
225302 }
225303 
225304 
225305 SWIGINTERN PyObject *_wrap_DataChart_EndTime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225306  PyObject *resultobj = 0;
225308  float arg2 ;
225309  void *argp1 = 0 ;
225310  int res1 = 0 ;
225311  float val2 ;
225312  int ecode2 = 0 ;
225313  PyObject * obj0 = 0 ;
225314  PyObject * obj1 = 0 ;
225315 
225316  if (!PyArg_ParseTuple(args,(char *)"OO:DataChart_EndTime",&obj0,&obj1)) SWIG_fail;
225317  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225318  if (!SWIG_IsOK(res1)) {
225319  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_EndTime" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225320  }
225321  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225322  ecode2 = SWIG_AsVal_float(obj1, &val2);
225323  if (!SWIG_IsOK(ecode2)) {
225324  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_EndTime" "', argument " "2"" of type '" "float""'");
225325  }
225326  arg2 = static_cast< float >(val2);
225327  {
225328  try {
225329  (arg1)->EndTime(arg2);
225330  }
225331  catch(CStdErrorInfo oError)
225332  {
225333  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225334  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225335  PyErr_SetString(PyExc_IndexError, strError.c_str());
225336  SWIG_fail;
225337  }
225338  catch(...)
225339  {
225340  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225341  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225342  SWIG_fail;
225343  }
225344  }
225345  resultobj = SWIG_Py_Void();
225346  return resultobj;
225347 fail:
225348  return NULL;
225349 }
225350 
225351 
225352 SWIGINTERN PyObject *_wrap_DataChart_EndTime(PyObject *self, PyObject *args) {
225353  int argc;
225354  PyObject *argv[4];
225355  int ii;
225356 
225357  if (!PyTuple_Check(args)) SWIG_fail;
225358  argc = args ? (int)PyObject_Length(args) : 0;
225359  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
225360  argv[ii] = PyTuple_GET_ITEM(args,ii);
225361  }
225362  if (argc == 2) {
225363  int _v;
225364  void *vptr = 0;
225365  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
225366  _v = SWIG_CheckState(res);
225367  if (_v) {
225368  {
225369  int res = SWIG_AsVal_float(argv[1], NULL);
225370  _v = SWIG_CheckState(res);
225371  }
225372  if (_v) {
225373  return _wrap_DataChart_EndTime__SWIG_1(self, args);
225374  }
225375  }
225376  }
225377  if (argc == 3) {
225378  int _v;
225379  void *vptr = 0;
225380  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
225381  _v = SWIG_CheckState(res);
225382  if (_v) {
225383  {
225384  int res = SWIG_AsVal_float(argv[1], NULL);
225385  _v = SWIG_CheckState(res);
225386  }
225387  if (_v) {
225388  {
225389  int res = SWIG_AsVal_bool(argv[2], NULL);
225390  _v = SWIG_CheckState(res);
225391  }
225392  if (_v) {
225393  return _wrap_DataChart_EndTime__SWIG_0(self, args);
225394  }
225395  }
225396  }
225397  }
225398 
225399 fail:
225400  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChart_EndTime'.\n"
225401  " Possible C/C++ prototypes are:\n"
225402  " AnimatSim::Charting::DataChart::EndTime(float,bool)\n"
225403  " AnimatSim::Charting::DataChart::EndTime(float)\n");
225404  return 0;
225405 }
225406 
225407 
225408 SWIGINTERN PyObject *_wrap_DataChart_SetStartEndTime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225409  PyObject *resultobj = 0;
225411  void *argp1 = 0 ;
225412  int res1 = 0 ;
225413  PyObject * obj0 = 0 ;
225414  bool result;
225415 
225416  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_SetStartEndTime",&obj0)) SWIG_fail;
225417  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225418  if (!SWIG_IsOK(res1)) {
225419  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_SetStartEndTime" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225420  }
225421  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225422  {
225423  try {
225424  result = (bool)(arg1)->SetStartEndTime();
225425  }
225426  catch(CStdErrorInfo oError)
225427  {
225428  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225429  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225430  PyErr_SetString(PyExc_IndexError, strError.c_str());
225431  SWIG_fail;
225432  }
225433  catch(...)
225434  {
225435  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225436  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225437  SWIG_fail;
225438  }
225439  }
225440  resultobj = SWIG_From_bool(static_cast< bool >(result));
225441  return resultobj;
225442 fail:
225443  return NULL;
225444 }
225445 
225446 
225447 SWIGINTERN PyObject *_wrap_DataChart_SetStartEndTime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225448  PyObject *resultobj = 0;
225450  bool arg2 ;
225451  void *argp1 = 0 ;
225452  int res1 = 0 ;
225453  bool val2 ;
225454  int ecode2 = 0 ;
225455  PyObject * obj0 = 0 ;
225456  PyObject * obj1 = 0 ;
225457 
225458  if (!PyArg_ParseTuple(args,(char *)"OO:DataChart_SetStartEndTime",&obj0,&obj1)) SWIG_fail;
225459  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225460  if (!SWIG_IsOK(res1)) {
225461  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_SetStartEndTime" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225462  }
225463  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225464  ecode2 = SWIG_AsVal_bool(obj1, &val2);
225465  if (!SWIG_IsOK(ecode2)) {
225466  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_SetStartEndTime" "', argument " "2"" of type '" "bool""'");
225467  }
225468  arg2 = static_cast< bool >(val2);
225469  {
225470  try {
225471  (arg1)->SetStartEndTime(arg2);
225472  }
225473  catch(CStdErrorInfo oError)
225474  {
225475  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225476  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225477  PyErr_SetString(PyExc_IndexError, strError.c_str());
225478  SWIG_fail;
225479  }
225480  catch(...)
225481  {
225482  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225483  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225484  SWIG_fail;
225485  }
225486  }
225487  resultobj = SWIG_Py_Void();
225488  return resultobj;
225489 fail:
225490  return NULL;
225491 }
225492 
225493 
225494 SWIGINTERN PyObject *_wrap_DataChart_SetStartEndTime(PyObject *self, PyObject *args) {
225495  int argc;
225496  PyObject *argv[3];
225497  int ii;
225498 
225499  if (!PyTuple_Check(args)) SWIG_fail;
225500  argc = args ? (int)PyObject_Length(args) : 0;
225501  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
225502  argv[ii] = PyTuple_GET_ITEM(args,ii);
225503  }
225504  if (argc == 1) {
225505  int _v;
225506  void *vptr = 0;
225507  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
225508  _v = SWIG_CheckState(res);
225509  if (_v) {
225510  return _wrap_DataChart_SetStartEndTime__SWIG_0(self, args);
225511  }
225512  }
225513  if (argc == 2) {
225514  int _v;
225515  void *vptr = 0;
225516  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
225517  _v = SWIG_CheckState(res);
225518  if (_v) {
225519  {
225520  int res = SWIG_AsVal_bool(argv[1], NULL);
225521  _v = SWIG_CheckState(res);
225522  }
225523  if (_v) {
225524  return _wrap_DataChart_SetStartEndTime__SWIG_1(self, args);
225525  }
225526  }
225527  }
225528 
225529 fail:
225530  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChart_SetStartEndTime'.\n"
225531  " Possible C/C++ prototypes are:\n"
225532  " AnimatSim::Charting::DataChart::SetStartEndTime()\n"
225533  " AnimatSim::Charting::DataChart::SetStartEndTime(bool)\n");
225534  return 0;
225535 }
225536 
225537 
225538 SWIGINTERN PyObject *_wrap_DataChart_BufferSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225539  PyObject *resultobj = 0;
225541  void *argp1 = 0 ;
225542  int res1 = 0 ;
225543  PyObject * obj0 = 0 ;
225544  long result;
225545 
225546  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_BufferSize",&obj0)) SWIG_fail;
225547  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225548  if (!SWIG_IsOK(res1)) {
225549  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_BufferSize" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225550  }
225551  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225552  {
225553  try {
225554  result = (long)(arg1)->BufferSize();
225555  }
225556  catch(CStdErrorInfo oError)
225557  {
225558  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225559  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225560  PyErr_SetString(PyExc_IndexError, strError.c_str());
225561  SWIG_fail;
225562  }
225563  catch(...)
225564  {
225565  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225566  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225567  SWIG_fail;
225568  }
225569  }
225570  resultobj = SWIG_From_long(static_cast< long >(result));
225571  return resultobj;
225572 fail:
225573  return NULL;
225574 }
225575 
225576 
225577 SWIGINTERN PyObject *_wrap_DataChart_UsedBufferSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225578  PyObject *resultobj = 0;
225580  void *argp1 = 0 ;
225581  int res1 = 0 ;
225582  PyObject * obj0 = 0 ;
225583  long result;
225584 
225585  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_UsedBufferSize",&obj0)) SWIG_fail;
225586  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225587  if (!SWIG_IsOK(res1)) {
225588  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_UsedBufferSize" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225589  }
225590  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225591  {
225592  try {
225593  result = (long)(arg1)->UsedBufferSize();
225594  }
225595  catch(CStdErrorInfo oError)
225596  {
225597  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225598  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225599  PyErr_SetString(PyExc_IndexError, strError.c_str());
225600  SWIG_fail;
225601  }
225602  catch(...)
225603  {
225604  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225605  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225606  SWIG_fail;
225607  }
225608  }
225609  resultobj = SWIG_From_long(static_cast< long >(result));
225610  return resultobj;
225611 fail:
225612  return NULL;
225613 }
225614 
225615 
225616 SWIGINTERN PyObject *_wrap_DataChart_BufferByteSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225617  PyObject *resultobj = 0;
225619  void *argp1 = 0 ;
225620  int res1 = 0 ;
225621  PyObject * obj0 = 0 ;
225622  long result;
225623 
225624  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_BufferByteSize",&obj0)) SWIG_fail;
225625  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225626  if (!SWIG_IsOK(res1)) {
225627  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_BufferByteSize" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225628  }
225629  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225630  {
225631  try {
225632  result = (long)(arg1)->BufferByteSize();
225633  }
225634  catch(CStdErrorInfo oError)
225635  {
225636  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225637  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225638  PyErr_SetString(PyExc_IndexError, strError.c_str());
225639  SWIG_fail;
225640  }
225641  catch(...)
225642  {
225643  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225644  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225645  SWIG_fail;
225646  }
225647  }
225648  resultobj = SWIG_From_long(static_cast< long >(result));
225649  return resultobj;
225650 fail:
225651  return NULL;
225652 }
225653 
225654 
225655 SWIGINTERN PyObject *_wrap_DataChart_UsedBufferByteSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225656  PyObject *resultobj = 0;
225658  void *argp1 = 0 ;
225659  int res1 = 0 ;
225660  PyObject * obj0 = 0 ;
225661  long result;
225662 
225663  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_UsedBufferByteSize",&obj0)) SWIG_fail;
225664  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225665  if (!SWIG_IsOK(res1)) {
225666  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_UsedBufferByteSize" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225667  }
225668  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225669  {
225670  try {
225671  result = (long)(arg1)->UsedBufferByteSize();
225672  }
225673  catch(CStdErrorInfo oError)
225674  {
225675  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225676  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225677  PyErr_SetString(PyExc_IndexError, strError.c_str());
225678  SWIG_fail;
225679  }
225680  catch(...)
225681  {
225682  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225683  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225684  SWIG_fail;
225685  }
225686  }
225687  resultobj = SWIG_From_long(static_cast< long >(result));
225688  return resultobj;
225689 fail:
225690  return NULL;
225691 }
225692 
225693 
225694 SWIGINTERN PyObject *_wrap_DataChart_TimeBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225695  PyObject *resultobj = 0;
225697  void *argp1 = 0 ;
225698  int res1 = 0 ;
225699  PyObject * obj0 = 0 ;
225700  float *result = 0 ;
225701 
225702  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_TimeBuffer",&obj0)) SWIG_fail;
225703  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225704  if (!SWIG_IsOK(res1)) {
225705  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_TimeBuffer" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225706  }
225707  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225708  {
225709  try {
225710  result = (float *)(arg1)->TimeBuffer();
225711  }
225712  catch(CStdErrorInfo oError)
225713  {
225714  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225715  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225716  PyErr_SetString(PyExc_IndexError, strError.c_str());
225717  SWIG_fail;
225718  }
225719  catch(...)
225720  {
225721  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225722  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225723  SWIG_fail;
225724  }
225725  }
225726  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
225727  return resultobj;
225728 fail:
225729  return NULL;
225730 }
225731 
225732 
225733 SWIGINTERN PyObject *_wrap_DataChart_DataBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225734  PyObject *resultobj = 0;
225736  void *argp1 = 0 ;
225737  int res1 = 0 ;
225738  PyObject * obj0 = 0 ;
225739  float *result = 0 ;
225740 
225741  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_DataBuffer",&obj0)) SWIG_fail;
225742  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225743  if (!SWIG_IsOK(res1)) {
225744  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_DataBuffer" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225745  }
225746  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225747  {
225748  try {
225749  result = (float *)(arg1)->DataBuffer();
225750  }
225751  catch(CStdErrorInfo oError)
225752  {
225753  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225754  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225755  PyErr_SetString(PyExc_IndexError, strError.c_str());
225756  SWIG_fail;
225757  }
225758  catch(...)
225759  {
225760  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225761  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225762  SWIG_fail;
225763  }
225764  }
225765  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
225766  return resultobj;
225767 fail:
225768  return NULL;
225769 }
225770 
225771 
225772 SWIGINTERN PyObject *_wrap_DataChart_CollectInterval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225773  PyObject *resultobj = 0;
225775  void *argp1 = 0 ;
225776  int res1 = 0 ;
225777  PyObject * obj0 = 0 ;
225778  int result;
225779 
225780  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_CollectInterval",&obj0)) SWIG_fail;
225781  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225782  if (!SWIG_IsOK(res1)) {
225783  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_CollectInterval" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225784  }
225785  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225786  {
225787  try {
225788  result = (int)(arg1)->CollectInterval();
225789  }
225790  catch(CStdErrorInfo oError)
225791  {
225792  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225793  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225794  PyErr_SetString(PyExc_IndexError, strError.c_str());
225795  SWIG_fail;
225796  }
225797  catch(...)
225798  {
225799  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225800  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225801  SWIG_fail;
225802  }
225803  }
225804  resultobj = SWIG_From_int(static_cast< int >(result));
225805  return resultobj;
225806 fail:
225807  return NULL;
225808 }
225809 
225810 
225811 SWIGINTERN PyObject *_wrap_DataChart_CollectInterval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225812  PyObject *resultobj = 0;
225814  int arg2 ;
225815  bool arg3 ;
225816  void *argp1 = 0 ;
225817  int res1 = 0 ;
225818  int val2 ;
225819  int ecode2 = 0 ;
225820  bool val3 ;
225821  int ecode3 = 0 ;
225822  PyObject * obj0 = 0 ;
225823  PyObject * obj1 = 0 ;
225824  PyObject * obj2 = 0 ;
225825 
225826  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChart_CollectInterval",&obj0,&obj1,&obj2)) SWIG_fail;
225827  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225828  if (!SWIG_IsOK(res1)) {
225829  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_CollectInterval" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225830  }
225831  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225832  ecode2 = SWIG_AsVal_int(obj1, &val2);
225833  if (!SWIG_IsOK(ecode2)) {
225834  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_CollectInterval" "', argument " "2"" of type '" "int""'");
225835  }
225836  arg2 = static_cast< int >(val2);
225837  ecode3 = SWIG_AsVal_bool(obj2, &val3);
225838  if (!SWIG_IsOK(ecode3)) {
225839  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataChart_CollectInterval" "', argument " "3"" of type '" "bool""'");
225840  }
225841  arg3 = static_cast< bool >(val3);
225842  {
225843  try {
225844  (arg1)->CollectInterval(arg2,arg3);
225845  }
225846  catch(CStdErrorInfo oError)
225847  {
225848  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225849  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225850  PyErr_SetString(PyExc_IndexError, strError.c_str());
225851  SWIG_fail;
225852  }
225853  catch(...)
225854  {
225855  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225856  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225857  SWIG_fail;
225858  }
225859  }
225860  resultobj = SWIG_Py_Void();
225861  return resultobj;
225862 fail:
225863  return NULL;
225864 }
225865 
225866 
225867 SWIGINTERN PyObject *_wrap_DataChart_CollectInterval__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225868  PyObject *resultobj = 0;
225870  int arg2 ;
225871  void *argp1 = 0 ;
225872  int res1 = 0 ;
225873  int val2 ;
225874  int ecode2 = 0 ;
225875  PyObject * obj0 = 0 ;
225876  PyObject * obj1 = 0 ;
225877 
225878  if (!PyArg_ParseTuple(args,(char *)"OO:DataChart_CollectInterval",&obj0,&obj1)) SWIG_fail;
225879  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225880  if (!SWIG_IsOK(res1)) {
225881  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_CollectInterval" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225882  }
225883  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225884  ecode2 = SWIG_AsVal_int(obj1, &val2);
225885  if (!SWIG_IsOK(ecode2)) {
225886  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_CollectInterval" "', argument " "2"" of type '" "int""'");
225887  }
225888  arg2 = static_cast< int >(val2);
225889  {
225890  try {
225891  (arg1)->CollectInterval(arg2);
225892  }
225893  catch(CStdErrorInfo oError)
225894  {
225895  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225896  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225897  PyErr_SetString(PyExc_IndexError, strError.c_str());
225898  SWIG_fail;
225899  }
225900  catch(...)
225901  {
225902  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225903  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225904  SWIG_fail;
225905  }
225906  }
225907  resultobj = SWIG_Py_Void();
225908  return resultobj;
225909 fail:
225910  return NULL;
225911 }
225912 
225913 
225914 SWIGINTERN PyObject *_wrap_DataChart_CollectInterval__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225915  PyObject *resultobj = 0;
225917  float arg2 ;
225918  bool arg3 ;
225919  void *argp1 = 0 ;
225920  int res1 = 0 ;
225921  float val2 ;
225922  int ecode2 = 0 ;
225923  bool val3 ;
225924  int ecode3 = 0 ;
225925  PyObject * obj0 = 0 ;
225926  PyObject * obj1 = 0 ;
225927  PyObject * obj2 = 0 ;
225928 
225929  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChart_CollectInterval",&obj0,&obj1,&obj2)) SWIG_fail;
225930  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225931  if (!SWIG_IsOK(res1)) {
225932  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_CollectInterval" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225933  }
225934  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225935  ecode2 = SWIG_AsVal_float(obj1, &val2);
225936  if (!SWIG_IsOK(ecode2)) {
225937  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_CollectInterval" "', argument " "2"" of type '" "float""'");
225938  }
225939  arg2 = static_cast< float >(val2);
225940  ecode3 = SWIG_AsVal_bool(obj2, &val3);
225941  if (!SWIG_IsOK(ecode3)) {
225942  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataChart_CollectInterval" "', argument " "3"" of type '" "bool""'");
225943  }
225944  arg3 = static_cast< bool >(val3);
225945  {
225946  try {
225947  (arg1)->CollectInterval(arg2,arg3);
225948  }
225949  catch(CStdErrorInfo oError)
225950  {
225951  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225952  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
225953  PyErr_SetString(PyExc_IndexError, strError.c_str());
225954  SWIG_fail;
225955  }
225956  catch(...)
225957  {
225958  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225959  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
225960  SWIG_fail;
225961  }
225962  }
225963  resultobj = SWIG_Py_Void();
225964  return resultobj;
225965 fail:
225966  return NULL;
225967 }
225968 
225969 
225970 SWIGINTERN PyObject *_wrap_DataChart_CollectInterval__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
225971  PyObject *resultobj = 0;
225973  float arg2 ;
225974  void *argp1 = 0 ;
225975  int res1 = 0 ;
225976  float val2 ;
225977  int ecode2 = 0 ;
225978  PyObject * obj0 = 0 ;
225979  PyObject * obj1 = 0 ;
225980 
225981  if (!PyArg_ParseTuple(args,(char *)"OO:DataChart_CollectInterval",&obj0,&obj1)) SWIG_fail;
225982  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
225983  if (!SWIG_IsOK(res1)) {
225984  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_CollectInterval" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
225985  }
225986  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
225987  ecode2 = SWIG_AsVal_float(obj1, &val2);
225988  if (!SWIG_IsOK(ecode2)) {
225989  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_CollectInterval" "', argument " "2"" of type '" "float""'");
225990  }
225991  arg2 = static_cast< float >(val2);
225992  {
225993  try {
225994  (arg1)->CollectInterval(arg2);
225995  }
225996  catch(CStdErrorInfo oError)
225997  {
225998  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
225999  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226000  PyErr_SetString(PyExc_IndexError, strError.c_str());
226001  SWIG_fail;
226002  }
226003  catch(...)
226004  {
226005  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226006  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226007  SWIG_fail;
226008  }
226009  }
226010  resultobj = SWIG_Py_Void();
226011  return resultobj;
226012 fail:
226013  return NULL;
226014 }
226015 
226016 
226017 SWIGINTERN PyObject *_wrap_DataChart_CollectInterval(PyObject *self, PyObject *args) {
226018  int argc;
226019  PyObject *argv[4];
226020  int ii;
226021 
226022  if (!PyTuple_Check(args)) SWIG_fail;
226023  argc = args ? (int)PyObject_Length(args) : 0;
226024  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
226025  argv[ii] = PyTuple_GET_ITEM(args,ii);
226026  }
226027  if (argc == 1) {
226028  int _v;
226029  void *vptr = 0;
226030  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
226031  _v = SWIG_CheckState(res);
226032  if (_v) {
226033  return _wrap_DataChart_CollectInterval__SWIG_0(self, args);
226034  }
226035  }
226036  if (argc == 2) {
226037  int _v;
226038  void *vptr = 0;
226039  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
226040  _v = SWIG_CheckState(res);
226041  if (_v) {
226042  {
226043  int res = SWIG_AsVal_int(argv[1], NULL);
226044  _v = SWIG_CheckState(res);
226045  }
226046  if (_v) {
226047  return _wrap_DataChart_CollectInterval__SWIG_2(self, args);
226048  }
226049  }
226050  }
226051  if (argc == 2) {
226052  int _v;
226053  void *vptr = 0;
226054  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
226055  _v = SWIG_CheckState(res);
226056  if (_v) {
226057  {
226058  int res = SWIG_AsVal_float(argv[1], NULL);
226059  _v = SWIG_CheckState(res);
226060  }
226061  if (_v) {
226062  return _wrap_DataChart_CollectInterval__SWIG_4(self, args);
226063  }
226064  }
226065  }
226066  if (argc == 3) {
226067  int _v;
226068  void *vptr = 0;
226069  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
226070  _v = SWIG_CheckState(res);
226071  if (_v) {
226072  {
226073  int res = SWIG_AsVal_int(argv[1], NULL);
226074  _v = SWIG_CheckState(res);
226075  }
226076  if (_v) {
226077  {
226078  int res = SWIG_AsVal_bool(argv[2], NULL);
226079  _v = SWIG_CheckState(res);
226080  }
226081  if (_v) {
226082  return _wrap_DataChart_CollectInterval__SWIG_1(self, args);
226083  }
226084  }
226085  }
226086  }
226087  if (argc == 3) {
226088  int _v;
226089  void *vptr = 0;
226090  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
226091  _v = SWIG_CheckState(res);
226092  if (_v) {
226093  {
226094  int res = SWIG_AsVal_float(argv[1], NULL);
226095  _v = SWIG_CheckState(res);
226096  }
226097  if (_v) {
226098  {
226099  int res = SWIG_AsVal_bool(argv[2], NULL);
226100  _v = SWIG_CheckState(res);
226101  }
226102  if (_v) {
226103  return _wrap_DataChart_CollectInterval__SWIG_3(self, args);
226104  }
226105  }
226106  }
226107  }
226108 
226109 fail:
226110  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChart_CollectInterval'.\n"
226111  " Possible C/C++ prototypes are:\n"
226112  " AnimatSim::Charting::DataChart::CollectInterval()\n"
226113  " AnimatSim::Charting::DataChart::CollectInterval(int,bool)\n"
226114  " AnimatSim::Charting::DataChart::CollectInterval(int)\n"
226115  " AnimatSim::Charting::DataChart::CollectInterval(float,bool)\n"
226116  " AnimatSim::Charting::DataChart::CollectInterval(float)\n");
226117  return 0;
226118 }
226119 
226120 
226121 SWIGINTERN PyObject *_wrap_DataChart_ChartTimeBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226122  PyObject *resultobj = 0;
226124  void *argp1 = 0 ;
226125  int res1 = 0 ;
226126  PyObject * obj0 = 0 ;
226127  float result;
226128 
226129  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_ChartTimeBase",&obj0)) SWIG_fail;
226130  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
226131  if (!SWIG_IsOK(res1)) {
226132  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_ChartTimeBase" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
226133  }
226134  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
226135  {
226136  try {
226137  result = (float)(arg1)->ChartTimeBase();
226138  }
226139  catch(CStdErrorInfo oError)
226140  {
226141  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226142  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226143  PyErr_SetString(PyExc_IndexError, strError.c_str());
226144  SWIG_fail;
226145  }
226146  catch(...)
226147  {
226148  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226149  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226150  SWIG_fail;
226151  }
226152  }
226153  resultobj = SWIG_From_float(static_cast< float >(result));
226154  return resultobj;
226155 fail:
226156  return NULL;
226157 }
226158 
226159 
226160 SWIGINTERN PyObject *_wrap_DataChart_CollectTimeWindow__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226161  PyObject *resultobj = 0;
226163  void *argp1 = 0 ;
226164  int res1 = 0 ;
226165  PyObject * obj0 = 0 ;
226166  long result;
226167 
226168  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_CollectTimeWindow",&obj0)) SWIG_fail;
226169  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
226170  if (!SWIG_IsOK(res1)) {
226171  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_CollectTimeWindow" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
226172  }
226173  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
226174  {
226175  try {
226176  result = (long)(arg1)->CollectTimeWindow();
226177  }
226178  catch(CStdErrorInfo oError)
226179  {
226180  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226181  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226182  PyErr_SetString(PyExc_IndexError, strError.c_str());
226183  SWIG_fail;
226184  }
226185  catch(...)
226186  {
226187  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226188  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226189  SWIG_fail;
226190  }
226191  }
226192  resultobj = SWIG_From_long(static_cast< long >(result));
226193  return resultobj;
226194 fail:
226195  return NULL;
226196 }
226197 
226198 
226199 SWIGINTERN PyObject *_wrap_DataChart_CollectTimeWindow__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226200  PyObject *resultobj = 0;
226202  long arg2 ;
226203  bool arg3 ;
226204  void *argp1 = 0 ;
226205  int res1 = 0 ;
226206  long val2 ;
226207  int ecode2 = 0 ;
226208  bool val3 ;
226209  int ecode3 = 0 ;
226210  PyObject * obj0 = 0 ;
226211  PyObject * obj1 = 0 ;
226212  PyObject * obj2 = 0 ;
226213 
226214  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChart_CollectTimeWindow",&obj0,&obj1,&obj2)) SWIG_fail;
226215  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
226216  if (!SWIG_IsOK(res1)) {
226217  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_CollectTimeWindow" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
226218  }
226219  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
226220  ecode2 = SWIG_AsVal_long(obj1, &val2);
226221  if (!SWIG_IsOK(ecode2)) {
226222  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_CollectTimeWindow" "', argument " "2"" of type '" "long""'");
226223  }
226224  arg2 = static_cast< long >(val2);
226225  ecode3 = SWIG_AsVal_bool(obj2, &val3);
226226  if (!SWIG_IsOK(ecode3)) {
226227  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataChart_CollectTimeWindow" "', argument " "3"" of type '" "bool""'");
226228  }
226229  arg3 = static_cast< bool >(val3);
226230  {
226231  try {
226232  (arg1)->CollectTimeWindow(arg2,arg3);
226233  }
226234  catch(CStdErrorInfo oError)
226235  {
226236  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226237  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226238  PyErr_SetString(PyExc_IndexError, strError.c_str());
226239  SWIG_fail;
226240  }
226241  catch(...)
226242  {
226243  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226244  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226245  SWIG_fail;
226246  }
226247  }
226248  resultobj = SWIG_Py_Void();
226249  return resultobj;
226250 fail:
226251  return NULL;
226252 }
226253 
226254 
226255 SWIGINTERN PyObject *_wrap_DataChart_CollectTimeWindow__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226256  PyObject *resultobj = 0;
226258  long arg2 ;
226259  void *argp1 = 0 ;
226260  int res1 = 0 ;
226261  long val2 ;
226262  int ecode2 = 0 ;
226263  PyObject * obj0 = 0 ;
226264  PyObject * obj1 = 0 ;
226265 
226266  if (!PyArg_ParseTuple(args,(char *)"OO:DataChart_CollectTimeWindow",&obj0,&obj1)) SWIG_fail;
226267  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
226268  if (!SWIG_IsOK(res1)) {
226269  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_CollectTimeWindow" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
226270  }
226271  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
226272  ecode2 = SWIG_AsVal_long(obj1, &val2);
226273  if (!SWIG_IsOK(ecode2)) {
226274  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_CollectTimeWindow" "', argument " "2"" of type '" "long""'");
226275  }
226276  arg2 = static_cast< long >(val2);
226277  {
226278  try {
226279  (arg1)->CollectTimeWindow(arg2);
226280  }
226281  catch(CStdErrorInfo oError)
226282  {
226283  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226284  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226285  PyErr_SetString(PyExc_IndexError, strError.c_str());
226286  SWIG_fail;
226287  }
226288  catch(...)
226289  {
226290  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226291  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226292  SWIG_fail;
226293  }
226294  }
226295  resultobj = SWIG_Py_Void();
226296  return resultobj;
226297 fail:
226298  return NULL;
226299 }
226300 
226301 
226302 SWIGINTERN PyObject *_wrap_DataChart_CollectTimeWindow__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226303  PyObject *resultobj = 0;
226305  float arg2 ;
226306  bool arg3 ;
226307  void *argp1 = 0 ;
226308  int res1 = 0 ;
226309  float val2 ;
226310  int ecode2 = 0 ;
226311  bool val3 ;
226312  int ecode3 = 0 ;
226313  PyObject * obj0 = 0 ;
226314  PyObject * obj1 = 0 ;
226315  PyObject * obj2 = 0 ;
226316 
226317  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChart_CollectTimeWindow",&obj0,&obj1,&obj2)) SWIG_fail;
226318  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
226319  if (!SWIG_IsOK(res1)) {
226320  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_CollectTimeWindow" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
226321  }
226322  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
226323  ecode2 = SWIG_AsVal_float(obj1, &val2);
226324  if (!SWIG_IsOK(ecode2)) {
226325  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_CollectTimeWindow" "', argument " "2"" of type '" "float""'");
226326  }
226327  arg2 = static_cast< float >(val2);
226328  ecode3 = SWIG_AsVal_bool(obj2, &val3);
226329  if (!SWIG_IsOK(ecode3)) {
226330  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataChart_CollectTimeWindow" "', argument " "3"" of type '" "bool""'");
226331  }
226332  arg3 = static_cast< bool >(val3);
226333  {
226334  try {
226335  (arg1)->CollectTimeWindow(arg2,arg3);
226336  }
226337  catch(CStdErrorInfo oError)
226338  {
226339  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226340  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226341  PyErr_SetString(PyExc_IndexError, strError.c_str());
226342  SWIG_fail;
226343  }
226344  catch(...)
226345  {
226346  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226347  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226348  SWIG_fail;
226349  }
226350  }
226351  resultobj = SWIG_Py_Void();
226352  return resultobj;
226353 fail:
226354  return NULL;
226355 }
226356 
226357 
226358 SWIGINTERN PyObject *_wrap_DataChart_CollectTimeWindow__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226359  PyObject *resultobj = 0;
226361  float arg2 ;
226362  void *argp1 = 0 ;
226363  int res1 = 0 ;
226364  float val2 ;
226365  int ecode2 = 0 ;
226366  PyObject * obj0 = 0 ;
226367  PyObject * obj1 = 0 ;
226368 
226369  if (!PyArg_ParseTuple(args,(char *)"OO:DataChart_CollectTimeWindow",&obj0,&obj1)) SWIG_fail;
226370  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
226371  if (!SWIG_IsOK(res1)) {
226372  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_CollectTimeWindow" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
226373  }
226374  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
226375  ecode2 = SWIG_AsVal_float(obj1, &val2);
226376  if (!SWIG_IsOK(ecode2)) {
226377  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_CollectTimeWindow" "', argument " "2"" of type '" "float""'");
226378  }
226379  arg2 = static_cast< float >(val2);
226380  {
226381  try {
226382  (arg1)->CollectTimeWindow(arg2);
226383  }
226384  catch(CStdErrorInfo oError)
226385  {
226386  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226387  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226388  PyErr_SetString(PyExc_IndexError, strError.c_str());
226389  SWIG_fail;
226390  }
226391  catch(...)
226392  {
226393  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226394  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226395  SWIG_fail;
226396  }
226397  }
226398  resultobj = SWIG_Py_Void();
226399  return resultobj;
226400 fail:
226401  return NULL;
226402 }
226403 
226404 
226405 SWIGINTERN PyObject *_wrap_DataChart_CollectTimeWindow(PyObject *self, PyObject *args) {
226406  int argc;
226407  PyObject *argv[4];
226408  int ii;
226409 
226410  if (!PyTuple_Check(args)) SWIG_fail;
226411  argc = args ? (int)PyObject_Length(args) : 0;
226412  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
226413  argv[ii] = PyTuple_GET_ITEM(args,ii);
226414  }
226415  if (argc == 1) {
226416  int _v;
226417  void *vptr = 0;
226418  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
226419  _v = SWIG_CheckState(res);
226420  if (_v) {
226421  return _wrap_DataChart_CollectTimeWindow__SWIG_0(self, args);
226422  }
226423  }
226424  if (argc == 2) {
226425  int _v;
226426  void *vptr = 0;
226427  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
226428  _v = SWIG_CheckState(res);
226429  if (_v) {
226430  {
226431  int res = SWIG_AsVal_long(argv[1], NULL);
226432  _v = SWIG_CheckState(res);
226433  }
226434  if (_v) {
226435  return _wrap_DataChart_CollectTimeWindow__SWIG_2(self, args);
226436  }
226437  }
226438  }
226439  if (argc == 2) {
226440  int _v;
226441  void *vptr = 0;
226442  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
226443  _v = SWIG_CheckState(res);
226444  if (_v) {
226445  {
226446  int res = SWIG_AsVal_float(argv[1], NULL);
226447  _v = SWIG_CheckState(res);
226448  }
226449  if (_v) {
226450  return _wrap_DataChart_CollectTimeWindow__SWIG_4(self, args);
226451  }
226452  }
226453  }
226454  if (argc == 3) {
226455  int _v;
226456  void *vptr = 0;
226457  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
226458  _v = SWIG_CheckState(res);
226459  if (_v) {
226460  {
226461  int res = SWIG_AsVal_long(argv[1], NULL);
226462  _v = SWIG_CheckState(res);
226463  }
226464  if (_v) {
226465  {
226466  int res = SWIG_AsVal_bool(argv[2], NULL);
226467  _v = SWIG_CheckState(res);
226468  }
226469  if (_v) {
226470  return _wrap_DataChart_CollectTimeWindow__SWIG_1(self, args);
226471  }
226472  }
226473  }
226474  }
226475  if (argc == 3) {
226476  int _v;
226477  void *vptr = 0;
226478  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
226479  _v = SWIG_CheckState(res);
226480  if (_v) {
226481  {
226482  int res = SWIG_AsVal_float(argv[1], NULL);
226483  _v = SWIG_CheckState(res);
226484  }
226485  if (_v) {
226486  {
226487  int res = SWIG_AsVal_bool(argv[2], NULL);
226488  _v = SWIG_CheckState(res);
226489  }
226490  if (_v) {
226491  return _wrap_DataChart_CollectTimeWindow__SWIG_3(self, args);
226492  }
226493  }
226494  }
226495  }
226496 
226497 fail:
226498  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChart_CollectTimeWindow'.\n"
226499  " Possible C/C++ prototypes are:\n"
226500  " AnimatSim::Charting::DataChart::CollectTimeWindow()\n"
226501  " AnimatSim::Charting::DataChart::CollectTimeWindow(long,bool)\n"
226502  " AnimatSim::Charting::DataChart::CollectTimeWindow(long)\n"
226503  " AnimatSim::Charting::DataChart::CollectTimeWindow(float,bool)\n"
226504  " AnimatSim::Charting::DataChart::CollectTimeWindow(float)\n");
226505  return 0;
226506 }
226507 
226508 
226509 SWIGINTERN PyObject *_wrap_DataChart_ProjectPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226510  PyObject *resultobj = 0;
226512  void *argp1 = 0 ;
226513  int res1 = 0 ;
226514  PyObject * obj0 = 0 ;
226515  std::string result;
226516 
226517  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_ProjectPath",&obj0)) SWIG_fail;
226518  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
226519  if (!SWIG_IsOK(res1)) {
226520  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_ProjectPath" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
226521  }
226522  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
226523  {
226524  try {
226525  result = (arg1)->ProjectPath();
226526  }
226527  catch(CStdErrorInfo oError)
226528  {
226529  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226530  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226531  PyErr_SetString(PyExc_IndexError, strError.c_str());
226532  SWIG_fail;
226533  }
226534  catch(...)
226535  {
226536  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226537  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226538  SWIG_fail;
226539  }
226540  }
226541  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
226542  return resultobj;
226543 fail:
226544  return NULL;
226545 }
226546 
226547 
226548 SWIGINTERN PyObject *_wrap_DataChart_ProjectPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226549  PyObject *resultobj = 0;
226551  std::string arg2 ;
226552  void *argp1 = 0 ;
226553  int res1 = 0 ;
226554  PyObject * obj0 = 0 ;
226555  PyObject * obj1 = 0 ;
226556 
226557  if (!PyArg_ParseTuple(args,(char *)"OO:DataChart_ProjectPath",&obj0,&obj1)) SWIG_fail;
226558  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
226559  if (!SWIG_IsOK(res1)) {
226560  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_ProjectPath" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
226561  }
226562  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
226563  {
226564  std::string *ptr = (std::string *)0;
226565  int res = SWIG_AsPtr_std_string(obj1, &ptr);
226566  if (!SWIG_IsOK(res) || !ptr) {
226567  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChart_ProjectPath" "', argument " "2"" of type '" "std::string""'");
226568  }
226569  arg2 = *ptr;
226570  if (SWIG_IsNewObj(res)) delete ptr;
226571  }
226572  {
226573  try {
226574  (arg1)->ProjectPath(arg2);
226575  }
226576  catch(CStdErrorInfo oError)
226577  {
226578  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226579  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226580  PyErr_SetString(PyExc_IndexError, strError.c_str());
226581  SWIG_fail;
226582  }
226583  catch(...)
226584  {
226585  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226586  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226587  SWIG_fail;
226588  }
226589  }
226590  resultobj = SWIG_Py_Void();
226591  return resultobj;
226592 fail:
226593  return NULL;
226594 }
226595 
226596 
226597 SWIGINTERN PyObject *_wrap_DataChart_ProjectPath(PyObject *self, PyObject *args) {
226598  int argc;
226599  PyObject *argv[3];
226600  int ii;
226601 
226602  if (!PyTuple_Check(args)) SWIG_fail;
226603  argc = args ? (int)PyObject_Length(args) : 0;
226604  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
226605  argv[ii] = PyTuple_GET_ITEM(args,ii);
226606  }
226607  if (argc == 1) {
226608  int _v;
226609  void *vptr = 0;
226610  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
226611  _v = SWIG_CheckState(res);
226612  if (_v) {
226613  return _wrap_DataChart_ProjectPath__SWIG_0(self, args);
226614  }
226615  }
226616  if (argc == 2) {
226617  int _v;
226618  void *vptr = 0;
226619  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
226620  _v = SWIG_CheckState(res);
226621  if (_v) {
226622  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
226623  _v = SWIG_CheckState(res);
226624  if (_v) {
226625  return _wrap_DataChart_ProjectPath__SWIG_1(self, args);
226626  }
226627  }
226628  }
226629 
226630 fail:
226631  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChart_ProjectPath'.\n"
226632  " Possible C/C++ prototypes are:\n"
226633  " AnimatSim::Charting::DataChart::ProjectPath()\n"
226634  " AnimatSim::Charting::DataChart::ProjectPath(std::string)\n");
226635  return 0;
226636 }
226637 
226638 
226639 SWIGINTERN PyObject *_wrap_DataChart_ColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226640  PyObject *resultobj = 0;
226642  void *argp1 = 0 ;
226643  int res1 = 0 ;
226644  PyObject * obj0 = 0 ;
226645  long result;
226646 
226647  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_ColumnCount",&obj0)) SWIG_fail;
226648  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
226649  if (!SWIG_IsOK(res1)) {
226650  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_ColumnCount" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
226651  }
226652  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
226653  {
226654  try {
226655  result = (long)(arg1)->ColumnCount();
226656  }
226657  catch(CStdErrorInfo oError)
226658  {
226659  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226660  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226661  PyErr_SetString(PyExc_IndexError, strError.c_str());
226662  SWIG_fail;
226663  }
226664  catch(...)
226665  {
226666  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226667  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226668  SWIG_fail;
226669  }
226670  }
226671  resultobj = SWIG_From_long(static_cast< long >(result));
226672  return resultobj;
226673 fail:
226674  return NULL;
226675 }
226676 
226677 
226678 SWIGINTERN PyObject *_wrap_DataChart_RowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226679  PyObject *resultobj = 0;
226681  void *argp1 = 0 ;
226682  int res1 = 0 ;
226683  PyObject * obj0 = 0 ;
226684  long result;
226685 
226686  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_RowCount",&obj0)) SWIG_fail;
226687  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
226688  if (!SWIG_IsOK(res1)) {
226689  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_RowCount" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
226690  }
226691  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
226692  {
226693  try {
226694  result = (long)(arg1)->RowCount();
226695  }
226696  catch(CStdErrorInfo oError)
226697  {
226698  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226699  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226700  PyErr_SetString(PyExc_IndexError, strError.c_str());
226701  SWIG_fail;
226702  }
226703  catch(...)
226704  {
226705  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226706  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226707  SWIG_fail;
226708  }
226709  }
226710  resultobj = SWIG_From_long(static_cast< long >(result));
226711  return resultobj;
226712 fail:
226713  return NULL;
226714 }
226715 
226716 
226717 SWIGINTERN PyObject *_wrap_DataChart_CurrentRow__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226718  PyObject *resultobj = 0;
226720  void *argp1 = 0 ;
226721  int res1 = 0 ;
226722  PyObject * obj0 = 0 ;
226723  long result;
226724 
226725  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_CurrentRow",&obj0)) SWIG_fail;
226726  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
226727  if (!SWIG_IsOK(res1)) {
226728  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_CurrentRow" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
226729  }
226730  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
226731  {
226732  try {
226733  result = (long)(arg1)->CurrentRow();
226734  }
226735  catch(CStdErrorInfo oError)
226736  {
226737  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226738  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226739  PyErr_SetString(PyExc_IndexError, strError.c_str());
226740  SWIG_fail;
226741  }
226742  catch(...)
226743  {
226744  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226745  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226746  SWIG_fail;
226747  }
226748  }
226749  resultobj = SWIG_From_long(static_cast< long >(result));
226750  return resultobj;
226751 fail:
226752  return NULL;
226753 }
226754 
226755 
226756 SWIGINTERN PyObject *_wrap_DataChart_CurrentRow__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226757  PyObject *resultobj = 0;
226759  long arg2 ;
226760  void *argp1 = 0 ;
226761  int res1 = 0 ;
226762  long val2 ;
226763  int ecode2 = 0 ;
226764  PyObject * obj0 = 0 ;
226765  PyObject * obj1 = 0 ;
226766 
226767  if (!PyArg_ParseTuple(args,(char *)"OO:DataChart_CurrentRow",&obj0,&obj1)) SWIG_fail;
226768  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
226769  if (!SWIG_IsOK(res1)) {
226770  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_CurrentRow" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
226771  }
226772  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
226773  ecode2 = SWIG_AsVal_long(obj1, &val2);
226774  if (!SWIG_IsOK(ecode2)) {
226775  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_CurrentRow" "', argument " "2"" of type '" "long""'");
226776  }
226777  arg2 = static_cast< long >(val2);
226778  {
226779  try {
226780  (arg1)->CurrentRow(arg2);
226781  }
226782  catch(CStdErrorInfo oError)
226783  {
226784  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226785  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226786  PyErr_SetString(PyExc_IndexError, strError.c_str());
226787  SWIG_fail;
226788  }
226789  catch(...)
226790  {
226791  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226792  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226793  SWIG_fail;
226794  }
226795  }
226796  resultobj = SWIG_Py_Void();
226797  return resultobj;
226798 fail:
226799  return NULL;
226800 }
226801 
226802 
226803 SWIGINTERN PyObject *_wrap_DataChart_CurrentRow(PyObject *self, PyObject *args) {
226804  int argc;
226805  PyObject *argv[3];
226806  int ii;
226807 
226808  if (!PyTuple_Check(args)) SWIG_fail;
226809  argc = args ? (int)PyObject_Length(args) : 0;
226810  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
226811  argv[ii] = PyTuple_GET_ITEM(args,ii);
226812  }
226813  if (argc == 1) {
226814  int _v;
226815  void *vptr = 0;
226816  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
226817  _v = SWIG_CheckState(res);
226818  if (_v) {
226819  return _wrap_DataChart_CurrentRow__SWIG_0(self, args);
226820  }
226821  }
226822  if (argc == 2) {
226823  int _v;
226824  void *vptr = 0;
226825  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
226826  _v = SWIG_CheckState(res);
226827  if (_v) {
226828  {
226829  int res = SWIG_AsVal_long(argv[1], NULL);
226830  _v = SWIG_CheckState(res);
226831  }
226832  if (_v) {
226833  return _wrap_DataChart_CurrentRow__SWIG_1(self, args);
226834  }
226835  }
226836  }
226837 
226838 fail:
226839  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChart_CurrentRow'.\n"
226840  " Possible C/C++ prototypes are:\n"
226841  " AnimatSim::Charting::DataChart::CurrentRow()\n"
226842  " AnimatSim::Charting::DataChart::CurrentRow(long)\n");
226843  return 0;
226844 }
226845 
226846 
226847 SWIGINTERN PyObject *_wrap_DataChart_Lock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226848  PyObject *resultobj = 0;
226850  void *argp1 = 0 ;
226851  int res1 = 0 ;
226852  PyObject * obj0 = 0 ;
226853  bool result;
226854 
226855  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_Lock",&obj0)) SWIG_fail;
226856  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
226857  if (!SWIG_IsOK(res1)) {
226858  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_Lock" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
226859  }
226860  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
226861  {
226862  try {
226863  result = (bool)(arg1)->Lock();
226864  }
226865  catch(CStdErrorInfo oError)
226866  {
226867  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226868  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226869  PyErr_SetString(PyExc_IndexError, strError.c_str());
226870  SWIG_fail;
226871  }
226872  catch(...)
226873  {
226874  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226875  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226876  SWIG_fail;
226877  }
226878  }
226879  resultobj = SWIG_From_bool(static_cast< bool >(result));
226880  return resultobj;
226881 fail:
226882  return NULL;
226883 }
226884 
226885 
226886 SWIGINTERN PyObject *_wrap_DataChart_Unlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226887  PyObject *resultobj = 0;
226889  void *argp1 = 0 ;
226890  int res1 = 0 ;
226891  PyObject * obj0 = 0 ;
226892 
226893  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_Unlock",&obj0)) SWIG_fail;
226894  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
226895  if (!SWIG_IsOK(res1)) {
226896  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_Unlock" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
226897  }
226898  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
226899  {
226900  try {
226901  (arg1)->Unlock();
226902  }
226903  catch(CStdErrorInfo oError)
226904  {
226905  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226906  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226907  PyErr_SetString(PyExc_IndexError, strError.c_str());
226908  SWIG_fail;
226909  }
226910  catch(...)
226911  {
226912  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226913  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226914  SWIG_fail;
226915  }
226916  }
226917  resultobj = SWIG_Py_Void();
226918  return resultobj;
226919 fail:
226920  return NULL;
226921 }
226922 
226923 
226924 SWIGINTERN PyObject *_wrap_DataChart_AddData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226925  PyObject *resultobj = 0;
226927  int arg2 ;
226928  int arg3 ;
226929  float arg4 ;
226930  void *argp1 = 0 ;
226931  int res1 = 0 ;
226932  int val2 ;
226933  int ecode2 = 0 ;
226934  int val3 ;
226935  int ecode3 = 0 ;
226936  float val4 ;
226937  int ecode4 = 0 ;
226938  PyObject * obj0 = 0 ;
226939  PyObject * obj1 = 0 ;
226940  PyObject * obj2 = 0 ;
226941  PyObject * obj3 = 0 ;
226942 
226943  if (!PyArg_ParseTuple(args,(char *)"OOOO:DataChart_AddData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
226944  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
226945  if (!SWIG_IsOK(res1)) {
226946  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_AddData" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
226947  }
226948  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
226949  ecode2 = SWIG_AsVal_int(obj1, &val2);
226950  if (!SWIG_IsOK(ecode2)) {
226951  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_AddData" "', argument " "2"" of type '" "int""'");
226952  }
226953  arg2 = static_cast< int >(val2);
226954  ecode3 = SWIG_AsVal_int(obj2, &val3);
226955  if (!SWIG_IsOK(ecode3)) {
226956  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataChart_AddData" "', argument " "3"" of type '" "int""'");
226957  }
226958  arg3 = static_cast< int >(val3);
226959  ecode4 = SWIG_AsVal_float(obj3, &val4);
226960  if (!SWIG_IsOK(ecode4)) {
226961  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataChart_AddData" "', argument " "4"" of type '" "float""'");
226962  }
226963  arg4 = static_cast< float >(val4);
226964  {
226965  try {
226966  (arg1)->AddData(arg2,arg3,arg4);
226967  }
226968  catch(CStdErrorInfo oError)
226969  {
226970  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226971  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
226972  PyErr_SetString(PyExc_IndexError, strError.c_str());
226973  SWIG_fail;
226974  }
226975  catch(...)
226976  {
226977  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
226978  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
226979  SWIG_fail;
226980  }
226981  }
226982  resultobj = SWIG_Py_Void();
226983  return resultobj;
226984 fail:
226985  return NULL;
226986 }
226987 
226988 
226989 SWIGINTERN PyObject *_wrap_DataChart_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
226990  PyObject *resultobj = 0;
226992  int arg2 ;
226993  int arg3 ;
226994  float arg4 ;
226995  void *argp1 = 0 ;
226996  int res1 = 0 ;
226997  int val2 ;
226998  int ecode2 = 0 ;
226999  int val3 ;
227000  int ecode3 = 0 ;
227001  float val4 ;
227002  int ecode4 = 0 ;
227003  PyObject * obj0 = 0 ;
227004  PyObject * obj1 = 0 ;
227005  PyObject * obj2 = 0 ;
227006  PyObject * obj3 = 0 ;
227007 
227008  if (!PyArg_ParseTuple(args,(char *)"OOOO:DataChart_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
227009  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
227010  if (!SWIG_IsOK(res1)) {
227011  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_SetData" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
227012  }
227013  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
227014  ecode2 = SWIG_AsVal_int(obj1, &val2);
227015  if (!SWIG_IsOK(ecode2)) {
227016  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataChart_SetData" "', argument " "2"" of type '" "int""'");
227017  }
227018  arg2 = static_cast< int >(val2);
227019  ecode3 = SWIG_AsVal_int(obj2, &val3);
227020  if (!SWIG_IsOK(ecode3)) {
227021  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataChart_SetData" "', argument " "3"" of type '" "int""'");
227022  }
227023  arg3 = static_cast< int >(val3);
227024  ecode4 = SWIG_AsVal_float(obj3, &val4);
227025  if (!SWIG_IsOK(ecode4)) {
227026  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataChart_SetData" "', argument " "4"" of type '" "float""'");
227027  }
227028  arg4 = static_cast< float >(val4);
227029  {
227030  try {
227031  (arg1)->SetData(arg2,arg3,arg4);
227032  }
227033  catch(CStdErrorInfo oError)
227034  {
227035  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227036  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
227037  PyErr_SetString(PyExc_IndexError, strError.c_str());
227038  SWIG_fail;
227039  }
227040  catch(...)
227041  {
227042  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227043  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
227044  SWIG_fail;
227045  }
227046  }
227047  resultobj = SWIG_Py_Void();
227048  return resultobj;
227049 fail:
227050  return NULL;
227051 }
227052 
227053 
227054 SWIGINTERN PyObject *_wrap_DataChart_Load__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
227055  PyObject *resultobj = 0;
227057  std::string arg2 ;
227058  std::string arg3 ;
227059  void *argp1 = 0 ;
227060  int res1 = 0 ;
227061  PyObject * obj0 = 0 ;
227062  PyObject * obj1 = 0 ;
227063  PyObject * obj2 = 0 ;
227064 
227065  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChart_Load",&obj0,&obj1,&obj2)) SWIG_fail;
227066  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
227067  if (!SWIG_IsOK(res1)) {
227068  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_Load" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
227069  }
227070  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
227071  {
227072  std::string *ptr = (std::string *)0;
227073  int res = SWIG_AsPtr_std_string(obj1, &ptr);
227074  if (!SWIG_IsOK(res) || !ptr) {
227075  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChart_Load" "', argument " "2"" of type '" "std::string""'");
227076  }
227077  arg2 = *ptr;
227078  if (SWIG_IsNewObj(res)) delete ptr;
227079  }
227080  {
227081  std::string *ptr = (std::string *)0;
227082  int res = SWIG_AsPtr_std_string(obj2, &ptr);
227083  if (!SWIG_IsOK(res) || !ptr) {
227084  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChart_Load" "', argument " "3"" of type '" "std::string""'");
227085  }
227086  arg3 = *ptr;
227087  if (SWIG_IsNewObj(res)) delete ptr;
227088  }
227089  {
227090  try {
227091  (arg1)->Load(arg2,arg3);
227092  }
227093  catch(CStdErrorInfo oError)
227094  {
227095  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227096  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
227097  PyErr_SetString(PyExc_IndexError, strError.c_str());
227098  SWIG_fail;
227099  }
227100  catch(...)
227101  {
227102  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227103  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
227104  SWIG_fail;
227105  }
227106  }
227107  resultobj = SWIG_Py_Void();
227108  return resultobj;
227109 fail:
227110  return NULL;
227111 }
227112 
227113 
227114 SWIGINTERN PyObject *_wrap_DataChart_Load__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
227115  PyObject *resultobj = 0;
227117  CStdXml *arg2 = 0 ;
227118  void *argp1 = 0 ;
227119  int res1 = 0 ;
227120  void *argp2 = 0 ;
227121  int res2 = 0 ;
227122  PyObject * obj0 = 0 ;
227123  PyObject * obj1 = 0 ;
227124 
227125  if (!PyArg_ParseTuple(args,(char *)"OO:DataChart_Load",&obj0,&obj1)) SWIG_fail;
227126  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
227127  if (!SWIG_IsOK(res1)) {
227128  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_Load" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
227129  }
227130  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
227131  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
227132  if (!SWIG_IsOK(res2)) {
227133  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataChart_Load" "', argument " "2"" of type '" "CStdXml &""'");
227134  }
227135  if (!argp2) {
227136  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_Load" "', argument " "2"" of type '" "CStdXml &""'");
227137  }
227138  arg2 = reinterpret_cast< CStdXml * >(argp2);
227139  {
227140  try {
227141  (arg1)->Load(*arg2);
227142  }
227143  catch(CStdErrorInfo oError)
227144  {
227145  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227146  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
227147  PyErr_SetString(PyExc_IndexError, strError.c_str());
227148  SWIG_fail;
227149  }
227150  catch(...)
227151  {
227152  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227153  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
227154  SWIG_fail;
227155  }
227156  }
227157  resultobj = SWIG_Py_Void();
227158  return resultobj;
227159 fail:
227160  return NULL;
227161 }
227162 
227163 
227164 SWIGINTERN PyObject *_wrap_DataChart_Load(PyObject *self, PyObject *args) {
227165  int argc;
227166  PyObject *argv[4];
227167  int ii;
227168 
227169  if (!PyTuple_Check(args)) SWIG_fail;
227170  argc = args ? (int)PyObject_Length(args) : 0;
227171  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
227172  argv[ii] = PyTuple_GET_ITEM(args,ii);
227173  }
227174  if (argc == 2) {
227175  int _v;
227176  void *vptr = 0;
227177  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
227178  _v = SWIG_CheckState(res);
227179  if (_v) {
227180  void *vptr = 0;
227181  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
227182  _v = SWIG_CheckState(res);
227183  if (_v) {
227184  return _wrap_DataChart_Load__SWIG_1(self, args);
227185  }
227186  }
227187  }
227188  if (argc == 3) {
227189  int _v;
227190  void *vptr = 0;
227191  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
227192  _v = SWIG_CheckState(res);
227193  if (_v) {
227194  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
227195  _v = SWIG_CheckState(res);
227196  if (_v) {
227197  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
227198  _v = SWIG_CheckState(res);
227199  if (_v) {
227200  return _wrap_DataChart_Load__SWIG_0(self, args);
227201  }
227202  }
227203  }
227204  }
227205 
227206 fail:
227207  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChart_Load'.\n"
227208  " Possible C/C++ prototypes are:\n"
227209  " AnimatSim::Charting::DataChart::Load(std::string,std::string)\n"
227210  " AnimatSim::Charting::DataChart::Load(CStdXml &)\n");
227211  return 0;
227212 }
227213 
227214 
227215 SWIGINTERN PyObject *_wrap_DataChart_AddColumn__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
227216  PyObject *resultobj = 0;
227219  void *argp1 = 0 ;
227220  int res1 = 0 ;
227221  void *argp2 = 0 ;
227222  int res2 = 0 ;
227223  PyObject * obj0 = 0 ;
227224  PyObject * obj1 = 0 ;
227225 
227226  if (!PyArg_ParseTuple(args,(char *)"OO:DataChart_AddColumn",&obj0,&obj1)) SWIG_fail;
227227  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
227228  if (!SWIG_IsOK(res1)) {
227229  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_AddColumn" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
227230  }
227231  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
227232  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
227233  if (!SWIG_IsOK(res2)) {
227234  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataChart_AddColumn" "', argument " "2"" of type '" "AnimatSim::Charting::DataColumn *""'");
227235  }
227236  arg2 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp2);
227237  {
227238  try {
227239  (arg1)->AddColumn(arg2);
227240  }
227241  catch(CStdErrorInfo oError)
227242  {
227243  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227244  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
227245  PyErr_SetString(PyExc_IndexError, strError.c_str());
227246  SWIG_fail;
227247  }
227248  catch(...)
227249  {
227250  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227251  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
227252  SWIG_fail;
227253  }
227254  }
227255  resultobj = SWIG_Py_Void();
227256  return resultobj;
227257 fail:
227258  return NULL;
227259 }
227260 
227261 
227262 SWIGINTERN PyObject *_wrap_DataChart_AddColumn__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
227263  PyObject *resultobj = 0;
227265  std::string arg2 ;
227266  bool arg3 ;
227267  void *argp1 = 0 ;
227268  int res1 = 0 ;
227269  bool val3 ;
227270  int ecode3 = 0 ;
227271  PyObject * obj0 = 0 ;
227272  PyObject * obj1 = 0 ;
227273  PyObject * obj2 = 0 ;
227274 
227275  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChart_AddColumn",&obj0,&obj1,&obj2)) SWIG_fail;
227276  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
227277  if (!SWIG_IsOK(res1)) {
227278  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_AddColumn" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
227279  }
227280  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
227281  {
227282  std::string *ptr = (std::string *)0;
227283  int res = SWIG_AsPtr_std_string(obj1, &ptr);
227284  if (!SWIG_IsOK(res) || !ptr) {
227285  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChart_AddColumn" "', argument " "2"" of type '" "std::string""'");
227286  }
227287  arg2 = *ptr;
227288  if (SWIG_IsNewObj(res)) delete ptr;
227289  }
227290  ecode3 = SWIG_AsVal_bool(obj2, &val3);
227291  if (!SWIG_IsOK(ecode3)) {
227292  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataChart_AddColumn" "', argument " "3"" of type '" "bool""'");
227293  }
227294  arg3 = static_cast< bool >(val3);
227295  {
227296  try {
227297  (arg1)->AddColumn(arg2,arg3);
227298  }
227299  catch(CStdErrorInfo oError)
227300  {
227301  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227302  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
227303  PyErr_SetString(PyExc_IndexError, strError.c_str());
227304  SWIG_fail;
227305  }
227306  catch(...)
227307  {
227308  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227309  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
227310  SWIG_fail;
227311  }
227312  }
227313  resultobj = SWIG_Py_Void();
227314  return resultobj;
227315 fail:
227316  return NULL;
227317 }
227318 
227319 
227320 SWIGINTERN PyObject *_wrap_DataChart_AddColumn(PyObject *self, PyObject *args) {
227321  int argc;
227322  PyObject *argv[4];
227323  int ii;
227324 
227325  if (!PyTuple_Check(args)) SWIG_fail;
227326  argc = args ? (int)PyObject_Length(args) : 0;
227327  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
227328  argv[ii] = PyTuple_GET_ITEM(args,ii);
227329  }
227330  if (argc == 2) {
227331  int _v;
227332  void *vptr = 0;
227333  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
227334  _v = SWIG_CheckState(res);
227335  if (_v) {
227336  void *vptr = 0;
227337  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0);
227338  _v = SWIG_CheckState(res);
227339  if (_v) {
227340  return _wrap_DataChart_AddColumn__SWIG_0(self, args);
227341  }
227342  }
227343  }
227344  if (argc == 3) {
227345  int _v;
227346  void *vptr = 0;
227347  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
227348  _v = SWIG_CheckState(res);
227349  if (_v) {
227350  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
227351  _v = SWIG_CheckState(res);
227352  if (_v) {
227353  {
227354  int res = SWIG_AsVal_bool(argv[2], NULL);
227355  _v = SWIG_CheckState(res);
227356  }
227357  if (_v) {
227358  return _wrap_DataChart_AddColumn__SWIG_1(self, args);
227359  }
227360  }
227361  }
227362  }
227363 
227364 fail:
227365  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChart_AddColumn'.\n"
227366  " Possible C/C++ prototypes are:\n"
227367  " AnimatSim::Charting::DataChart::AddColumn(AnimatSim::Charting::DataColumn *)\n"
227368  " AnimatSim::Charting::DataChart::AddColumn(std::string,bool)\n");
227369  return 0;
227370 }
227371 
227372 
227373 SWIGINTERN PyObject *_wrap_DataChart_RemoveColumn__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
227374  PyObject *resultobj = 0;
227376  std::string arg2 ;
227377  bool arg3 ;
227378  void *argp1 = 0 ;
227379  int res1 = 0 ;
227380  bool val3 ;
227381  int ecode3 = 0 ;
227382  PyObject * obj0 = 0 ;
227383  PyObject * obj1 = 0 ;
227384  PyObject * obj2 = 0 ;
227385 
227386  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChart_RemoveColumn",&obj0,&obj1,&obj2)) SWIG_fail;
227387  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
227388  if (!SWIG_IsOK(res1)) {
227389  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_RemoveColumn" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
227390  }
227391  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
227392  {
227393  std::string *ptr = (std::string *)0;
227394  int res = SWIG_AsPtr_std_string(obj1, &ptr);
227395  if (!SWIG_IsOK(res) || !ptr) {
227396  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChart_RemoveColumn" "', argument " "2"" of type '" "std::string""'");
227397  }
227398  arg2 = *ptr;
227399  if (SWIG_IsNewObj(res)) delete ptr;
227400  }
227401  ecode3 = SWIG_AsVal_bool(obj2, &val3);
227402  if (!SWIG_IsOK(ecode3)) {
227403  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataChart_RemoveColumn" "', argument " "3"" of type '" "bool""'");
227404  }
227405  arg3 = static_cast< bool >(val3);
227406  {
227407  try {
227408  (arg1)->RemoveColumn(arg2,arg3);
227409  }
227410  catch(CStdErrorInfo oError)
227411  {
227412  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227413  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
227414  PyErr_SetString(PyExc_IndexError, strError.c_str());
227415  SWIG_fail;
227416  }
227417  catch(...)
227418  {
227419  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227420  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
227421  SWIG_fail;
227422  }
227423  }
227424  resultobj = SWIG_Py_Void();
227425  return resultobj;
227426 fail:
227427  return NULL;
227428 }
227429 
227430 
227431 SWIGINTERN PyObject *_wrap_DataChart_RemoveColumn__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
227432  PyObject *resultobj = 0;
227434  std::string arg2 ;
227435  void *argp1 = 0 ;
227436  int res1 = 0 ;
227437  PyObject * obj0 = 0 ;
227438  PyObject * obj1 = 0 ;
227439 
227440  if (!PyArg_ParseTuple(args,(char *)"OO:DataChart_RemoveColumn",&obj0,&obj1)) SWIG_fail;
227441  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
227442  if (!SWIG_IsOK(res1)) {
227443  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_RemoveColumn" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
227444  }
227445  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
227446  {
227447  std::string *ptr = (std::string *)0;
227448  int res = SWIG_AsPtr_std_string(obj1, &ptr);
227449  if (!SWIG_IsOK(res) || !ptr) {
227450  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChart_RemoveColumn" "', argument " "2"" of type '" "std::string""'");
227451  }
227452  arg2 = *ptr;
227453  if (SWIG_IsNewObj(res)) delete ptr;
227454  }
227455  {
227456  try {
227457  (arg1)->RemoveColumn(arg2);
227458  }
227459  catch(CStdErrorInfo oError)
227460  {
227461  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227462  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
227463  PyErr_SetString(PyExc_IndexError, strError.c_str());
227464  SWIG_fail;
227465  }
227466  catch(...)
227467  {
227468  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227469  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
227470  SWIG_fail;
227471  }
227472  }
227473  resultobj = SWIG_Py_Void();
227474  return resultobj;
227475 fail:
227476  return NULL;
227477 }
227478 
227479 
227480 SWIGINTERN PyObject *_wrap_DataChart_RemoveColumn(PyObject *self, PyObject *args) {
227481  int argc;
227482  PyObject *argv[4];
227483  int ii;
227484 
227485  if (!PyTuple_Check(args)) SWIG_fail;
227486  argc = args ? (int)PyObject_Length(args) : 0;
227487  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
227488  argv[ii] = PyTuple_GET_ITEM(args,ii);
227489  }
227490  if (argc == 2) {
227491  int _v;
227492  void *vptr = 0;
227493  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
227494  _v = SWIG_CheckState(res);
227495  if (_v) {
227496  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
227497  _v = SWIG_CheckState(res);
227498  if (_v) {
227499  return _wrap_DataChart_RemoveColumn__SWIG_1(self, args);
227500  }
227501  }
227502  }
227503  if (argc == 3) {
227504  int _v;
227505  void *vptr = 0;
227506  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
227507  _v = SWIG_CheckState(res);
227508  if (_v) {
227509  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
227510  _v = SWIG_CheckState(res);
227511  if (_v) {
227512  {
227513  int res = SWIG_AsVal_bool(argv[2], NULL);
227514  _v = SWIG_CheckState(res);
227515  }
227516  if (_v) {
227517  return _wrap_DataChart_RemoveColumn__SWIG_0(self, args);
227518  }
227519  }
227520  }
227521  }
227522 
227523 fail:
227524  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChart_RemoveColumn'.\n"
227525  " Possible C/C++ prototypes are:\n"
227526  " AnimatSim::Charting::DataChart::RemoveColumn(std::string,bool)\n"
227527  " AnimatSim::Charting::DataChart::RemoveColumn(std::string)\n");
227528  return 0;
227529 }
227530 
227531 
227532 SWIGINTERN PyObject *_wrap_DataChart_FindColumn__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
227533  PyObject *resultobj = 0;
227535  std::string arg2 ;
227536  bool arg3 ;
227537  void *argp1 = 0 ;
227538  int res1 = 0 ;
227539  bool val3 ;
227540  int ecode3 = 0 ;
227541  PyObject * obj0 = 0 ;
227542  PyObject * obj1 = 0 ;
227543  PyObject * obj2 = 0 ;
227544  AnimatSim::Charting::DataColumn *result = 0 ;
227545 
227546  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChart_FindColumn",&obj0,&obj1,&obj2)) SWIG_fail;
227547  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
227548  if (!SWIG_IsOK(res1)) {
227549  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_FindColumn" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
227550  }
227551  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
227552  {
227553  std::string *ptr = (std::string *)0;
227554  int res = SWIG_AsPtr_std_string(obj1, &ptr);
227555  if (!SWIG_IsOK(res) || !ptr) {
227556  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChart_FindColumn" "', argument " "2"" of type '" "std::string""'");
227557  }
227558  arg2 = *ptr;
227559  if (SWIG_IsNewObj(res)) delete ptr;
227560  }
227561  ecode3 = SWIG_AsVal_bool(obj2, &val3);
227562  if (!SWIG_IsOK(ecode3)) {
227563  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataChart_FindColumn" "', argument " "3"" of type '" "bool""'");
227564  }
227565  arg3 = static_cast< bool >(val3);
227566  {
227567  try {
227568  result = (AnimatSim::Charting::DataColumn *)(arg1)->FindColumn(arg2,arg3);
227569  }
227570  catch(CStdErrorInfo oError)
227571  {
227572  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227573  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
227574  PyErr_SetString(PyExc_IndexError, strError.c_str());
227575  SWIG_fail;
227576  }
227577  catch(...)
227578  {
227579  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227580  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
227581  SWIG_fail;
227582  }
227583  }
227584  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
227585  return resultobj;
227586 fail:
227587  return NULL;
227588 }
227589 
227590 
227591 SWIGINTERN PyObject *_wrap_DataChart_FindColumn__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
227592  PyObject *resultobj = 0;
227594  std::string arg2 ;
227595  void *argp1 = 0 ;
227596  int res1 = 0 ;
227597  PyObject * obj0 = 0 ;
227598  PyObject * obj1 = 0 ;
227599  AnimatSim::Charting::DataColumn *result = 0 ;
227600 
227601  if (!PyArg_ParseTuple(args,(char *)"OO:DataChart_FindColumn",&obj0,&obj1)) SWIG_fail;
227602  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
227603  if (!SWIG_IsOK(res1)) {
227604  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_FindColumn" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
227605  }
227606  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
227607  {
227608  std::string *ptr = (std::string *)0;
227609  int res = SWIG_AsPtr_std_string(obj1, &ptr);
227610  if (!SWIG_IsOK(res) || !ptr) {
227611  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChart_FindColumn" "', argument " "2"" of type '" "std::string""'");
227612  }
227613  arg2 = *ptr;
227614  if (SWIG_IsNewObj(res)) delete ptr;
227615  }
227616  {
227617  try {
227618  result = (AnimatSim::Charting::DataColumn *)(arg1)->FindColumn(arg2);
227619  }
227620  catch(CStdErrorInfo oError)
227621  {
227622  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227623  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
227624  PyErr_SetString(PyExc_IndexError, strError.c_str());
227625  SWIG_fail;
227626  }
227627  catch(...)
227628  {
227629  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227630  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
227631  SWIG_fail;
227632  }
227633  }
227634  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
227635  return resultobj;
227636 fail:
227637  return NULL;
227638 }
227639 
227640 
227641 SWIGINTERN PyObject *_wrap_DataChart_FindColumn(PyObject *self, PyObject *args) {
227642  int argc;
227643  PyObject *argv[4];
227644  int ii;
227645 
227646  if (!PyTuple_Check(args)) SWIG_fail;
227647  argc = args ? (int)PyObject_Length(args) : 0;
227648  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
227649  argv[ii] = PyTuple_GET_ITEM(args,ii);
227650  }
227651  if (argc == 2) {
227652  int _v;
227653  void *vptr = 0;
227654  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
227655  _v = SWIG_CheckState(res);
227656  if (_v) {
227657  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
227658  _v = SWIG_CheckState(res);
227659  if (_v) {
227660  return _wrap_DataChart_FindColumn__SWIG_2(self, args);
227661  }
227662  }
227663  }
227664  if (argc == 3) {
227665  int _v;
227666  void *vptr = 0;
227667  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
227668  _v = SWIG_CheckState(res);
227669  if (_v) {
227670  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
227671  _v = SWIG_CheckState(res);
227672  if (_v) {
227673  {
227674  int res = SWIG_AsVal_bool(argv[2], NULL);
227675  _v = SWIG_CheckState(res);
227676  }
227677  if (_v) {
227678  return _wrap_DataChart_FindColumn__SWIG_1(self, args);
227679  }
227680  }
227681  }
227682  }
227683 
227684 fail:
227685  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChart_FindColumn'.\n"
227686  " Possible C/C++ prototypes are:\n"
227687  " AnimatSim::Charting::DataChart::FindColumn(std::string,bool)\n"
227688  " AnimatSim::Charting::DataChart::FindColumn(std::string)\n");
227689  return 0;
227690 }
227691 
227692 
227693 SWIGINTERN PyObject *_wrap_DataChart_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
227694  PyObject *resultobj = 0;
227696  void *argp1 = 0 ;
227697  int res1 = 0 ;
227698  PyObject * obj0 = 0 ;
227699 
227700  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_Activate",&obj0)) SWIG_fail;
227701  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
227702  if (!SWIG_IsOK(res1)) {
227703  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_Activate" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
227704  }
227705  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
227706  {
227707  try {
227708  (arg1)->Activate();
227709  }
227710  catch(CStdErrorInfo oError)
227711  {
227712  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227713  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
227714  PyErr_SetString(PyExc_IndexError, strError.c_str());
227715  SWIG_fail;
227716  }
227717  catch(...)
227718  {
227719  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227720  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
227721  SWIG_fail;
227722  }
227723  }
227724  resultobj = SWIG_Py_Void();
227725  return resultobj;
227726 fail:
227727  return NULL;
227728 }
227729 
227730 
227731 SWIGINTERN PyObject *_wrap_DataChart_Deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
227732  PyObject *resultobj = 0;
227734  void *argp1 = 0 ;
227735  int res1 = 0 ;
227736  PyObject * obj0 = 0 ;
227737 
227738  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_Deactivate",&obj0)) SWIG_fail;
227739  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
227740  if (!SWIG_IsOK(res1)) {
227741  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_Deactivate" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
227742  }
227743  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
227744  {
227745  try {
227746  (arg1)->Deactivate();
227747  }
227748  catch(CStdErrorInfo oError)
227749  {
227750  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227751  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
227752  PyErr_SetString(PyExc_IndexError, strError.c_str());
227753  SWIG_fail;
227754  }
227755  catch(...)
227756  {
227757  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227758  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
227759  SWIG_fail;
227760  }
227761  }
227762  resultobj = SWIG_Py_Void();
227763  return resultobj;
227764 fail:
227765  return NULL;
227766 }
227767 
227768 
227769 SWIGINTERN PyObject *_wrap_DataChart_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
227770  PyObject *resultobj = 0;
227772  std::string *arg2 = 0 ;
227773  std::string *arg3 = 0 ;
227774  bool arg4 ;
227775  void *argp1 = 0 ;
227776  int res1 = 0 ;
227777  int res2 = SWIG_OLDOBJ ;
227778  int res3 = SWIG_OLDOBJ ;
227779  bool val4 ;
227780  int ecode4 = 0 ;
227781  PyObject * obj0 = 0 ;
227782  PyObject * obj1 = 0 ;
227783  PyObject * obj2 = 0 ;
227784  PyObject * obj3 = 0 ;
227785  bool result;
227786 
227787  if (!PyArg_ParseTuple(args,(char *)"OOOO:DataChart_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
227788  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
227789  if (!SWIG_IsOK(res1)) {
227790  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_SetData" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
227791  }
227792  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
227793  {
227794  std::string *ptr = (std::string *)0;
227795  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
227796  if (!SWIG_IsOK(res2)) {
227797  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataChart_SetData" "', argument " "2"" of type '" "std::string const &""'");
227798  }
227799  if (!ptr) {
227800  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_SetData" "', argument " "2"" of type '" "std::string const &""'");
227801  }
227802  arg2 = ptr;
227803  }
227804  {
227805  std::string *ptr = (std::string *)0;
227806  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
227807  if (!SWIG_IsOK(res3)) {
227808  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataChart_SetData" "', argument " "3"" of type '" "std::string const &""'");
227809  }
227810  if (!ptr) {
227811  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_SetData" "', argument " "3"" of type '" "std::string const &""'");
227812  }
227813  arg3 = ptr;
227814  }
227815  ecode4 = SWIG_AsVal_bool(obj3, &val4);
227816  if (!SWIG_IsOK(ecode4)) {
227817  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataChart_SetData" "', argument " "4"" of type '" "bool""'");
227818  }
227819  arg4 = static_cast< bool >(val4);
227820  {
227821  try {
227822  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
227823  }
227824  catch(CStdErrorInfo oError)
227825  {
227826  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227827  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
227828  PyErr_SetString(PyExc_IndexError, strError.c_str());
227829  SWIG_fail;
227830  }
227831  catch(...)
227832  {
227833  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227834  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
227835  SWIG_fail;
227836  }
227837  }
227838  resultobj = SWIG_From_bool(static_cast< bool >(result));
227839  if (SWIG_IsNewObj(res2)) delete arg2;
227840  if (SWIG_IsNewObj(res3)) delete arg3;
227841  return resultobj;
227842 fail:
227843  if (SWIG_IsNewObj(res2)) delete arg2;
227844  if (SWIG_IsNewObj(res3)) delete arg3;
227845  return NULL;
227846 }
227847 
227848 
227849 SWIGINTERN PyObject *_wrap_DataChart_SetData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
227850  PyObject *resultobj = 0;
227852  std::string *arg2 = 0 ;
227853  std::string *arg3 = 0 ;
227854  void *argp1 = 0 ;
227855  int res1 = 0 ;
227856  int res2 = SWIG_OLDOBJ ;
227857  int res3 = SWIG_OLDOBJ ;
227858  PyObject * obj0 = 0 ;
227859  PyObject * obj1 = 0 ;
227860  PyObject * obj2 = 0 ;
227861  bool result;
227862 
227863  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChart_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
227864  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
227865  if (!SWIG_IsOK(res1)) {
227866  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_SetData" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
227867  }
227868  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
227869  {
227870  std::string *ptr = (std::string *)0;
227871  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
227872  if (!SWIG_IsOK(res2)) {
227873  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataChart_SetData" "', argument " "2"" of type '" "std::string const &""'");
227874  }
227875  if (!ptr) {
227876  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_SetData" "', argument " "2"" of type '" "std::string const &""'");
227877  }
227878  arg2 = ptr;
227879  }
227880  {
227881  std::string *ptr = (std::string *)0;
227882  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
227883  if (!SWIG_IsOK(res3)) {
227884  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataChart_SetData" "', argument " "3"" of type '" "std::string const &""'");
227885  }
227886  if (!ptr) {
227887  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_SetData" "', argument " "3"" of type '" "std::string const &""'");
227888  }
227889  arg3 = ptr;
227890  }
227891  {
227892  try {
227893  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
227894  }
227895  catch(CStdErrorInfo oError)
227896  {
227897  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227898  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
227899  PyErr_SetString(PyExc_IndexError, strError.c_str());
227900  SWIG_fail;
227901  }
227902  catch(...)
227903  {
227904  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
227905  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
227906  SWIG_fail;
227907  }
227908  }
227909  resultobj = SWIG_From_bool(static_cast< bool >(result));
227910  if (SWIG_IsNewObj(res2)) delete arg2;
227911  if (SWIG_IsNewObj(res3)) delete arg3;
227912  return resultobj;
227913 fail:
227914  if (SWIG_IsNewObj(res2)) delete arg2;
227915  if (SWIG_IsNewObj(res3)) delete arg3;
227916  return NULL;
227917 }
227918 
227919 
227920 SWIGINTERN PyObject *_wrap_DataChart_SetData(PyObject *self, PyObject *args) {
227921  int argc;
227922  PyObject *argv[5];
227923  int ii;
227924 
227925  if (!PyTuple_Check(args)) SWIG_fail;
227926  argc = args ? (int)PyObject_Length(args) : 0;
227927  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
227928  argv[ii] = PyTuple_GET_ITEM(args,ii);
227929  }
227930  if (argc == 3) {
227931  int _v;
227932  void *vptr = 0;
227933  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
227934  _v = SWIG_CheckState(res);
227935  if (_v) {
227936  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
227937  _v = SWIG_CheckState(res);
227938  if (_v) {
227939  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
227940  _v = SWIG_CheckState(res);
227941  if (_v) {
227942  return _wrap_DataChart_SetData__SWIG_2(self, args);
227943  }
227944  }
227945  }
227946  }
227947  if (argc == 4) {
227948  int _v;
227949  void *vptr = 0;
227950  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
227951  _v = SWIG_CheckState(res);
227952  if (_v) {
227953  {
227954  int res = SWIG_AsVal_int(argv[1], NULL);
227955  _v = SWIG_CheckState(res);
227956  }
227957  if (_v) {
227958  {
227959  int res = SWIG_AsVal_int(argv[2], NULL);
227960  _v = SWIG_CheckState(res);
227961  }
227962  if (_v) {
227963  {
227964  int res = SWIG_AsVal_float(argv[3], NULL);
227965  _v = SWIG_CheckState(res);
227966  }
227967  if (_v) {
227968  return _wrap_DataChart_SetData__SWIG_0(self, args);
227969  }
227970  }
227971  }
227972  }
227973  }
227974  if (argc == 4) {
227975  int _v;
227976  void *vptr = 0;
227977  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
227978  _v = SWIG_CheckState(res);
227979  if (_v) {
227980  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
227981  _v = SWIG_CheckState(res);
227982  if (_v) {
227983  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
227984  _v = SWIG_CheckState(res);
227985  if (_v) {
227986  {
227987  int res = SWIG_AsVal_bool(argv[3], NULL);
227988  _v = SWIG_CheckState(res);
227989  }
227990  if (_v) {
227991  return _wrap_DataChart_SetData__SWIG_1(self, args);
227992  }
227993  }
227994  }
227995  }
227996  }
227997 
227998 fail:
227999  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChart_SetData'.\n"
228000  " Possible C/C++ prototypes are:\n"
228001  " AnimatSim::Charting::DataChart::SetData(int,int,float)\n"
228002  " AnimatSim::Charting::DataChart::SetData(std::string const &,std::string const &,bool)\n"
228003  " AnimatSim::Charting::DataChart::SetData(std::string const &,std::string const &)\n");
228004  return 0;
228005 }
228006 
228007 
228008 SWIGINTERN PyObject *_wrap_DataChart_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228009  PyObject *resultobj = 0;
228011  CStdPtrArray< TypeProperty > *arg2 = 0 ;
228012  void *argp1 = 0 ;
228013  int res1 = 0 ;
228014  void *argp2 = 0 ;
228015  int res2 = 0 ;
228016  PyObject * obj0 = 0 ;
228017  PyObject * obj1 = 0 ;
228018 
228019  if (!PyArg_ParseTuple(args,(char *)"OO:DataChart_QueryProperties",&obj0,&obj1)) SWIG_fail;
228020  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
228021  if (!SWIG_IsOK(res1)) {
228022  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
228023  }
228024  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
228025  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
228026  if (!SWIG_IsOK(res2)) {
228027  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataChart_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
228028  }
228029  if (!argp2) {
228030  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
228031  }
228032  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
228033  {
228034  try {
228035  (arg1)->QueryProperties(*arg2);
228036  }
228037  catch(CStdErrorInfo oError)
228038  {
228039  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228040  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228041  PyErr_SetString(PyExc_IndexError, strError.c_str());
228042  SWIG_fail;
228043  }
228044  catch(...)
228045  {
228046  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228047  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228048  SWIG_fail;
228049  }
228050  }
228051  resultobj = SWIG_Py_Void();
228052  return resultobj;
228053 fail:
228054  return NULL;
228055 }
228056 
228057 
228058 SWIGINTERN PyObject *_wrap_DataChart_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228059  PyObject *resultobj = 0;
228061  std::string *arg2 = 0 ;
228062  std::string *arg3 = 0 ;
228063  bool arg4 ;
228064  bool arg5 ;
228065  void *argp1 = 0 ;
228066  int res1 = 0 ;
228067  int res2 = SWIG_OLDOBJ ;
228068  int res3 = SWIG_OLDOBJ ;
228069  bool val4 ;
228070  int ecode4 = 0 ;
228071  bool val5 ;
228072  int ecode5 = 0 ;
228073  PyObject * obj0 = 0 ;
228074  PyObject * obj1 = 0 ;
228075  PyObject * obj2 = 0 ;
228076  PyObject * obj3 = 0 ;
228077  PyObject * obj4 = 0 ;
228078  bool result;
228079 
228080  if (!PyArg_ParseTuple(args,(char *)"OOOOO:DataChart_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
228081  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
228082  if (!SWIG_IsOK(res1)) {
228083  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_AddItem" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
228084  }
228085  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
228086  {
228087  std::string *ptr = (std::string *)0;
228088  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
228089  if (!SWIG_IsOK(res2)) {
228090  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataChart_AddItem" "', argument " "2"" of type '" "std::string const &""'");
228091  }
228092  if (!ptr) {
228093  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_AddItem" "', argument " "2"" of type '" "std::string const &""'");
228094  }
228095  arg2 = ptr;
228096  }
228097  {
228098  std::string *ptr = (std::string *)0;
228099  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
228100  if (!SWIG_IsOK(res3)) {
228101  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataChart_AddItem" "', argument " "3"" of type '" "std::string const &""'");
228102  }
228103  if (!ptr) {
228104  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_AddItem" "', argument " "3"" of type '" "std::string const &""'");
228105  }
228106  arg3 = ptr;
228107  }
228108  ecode4 = SWIG_AsVal_bool(obj3, &val4);
228109  if (!SWIG_IsOK(ecode4)) {
228110  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataChart_AddItem" "', argument " "4"" of type '" "bool""'");
228111  }
228112  arg4 = static_cast< bool >(val4);
228113  ecode5 = SWIG_AsVal_bool(obj4, &val5);
228114  if (!SWIG_IsOK(ecode5)) {
228115  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DataChart_AddItem" "', argument " "5"" of type '" "bool""'");
228116  }
228117  arg5 = static_cast< bool >(val5);
228118  {
228119  try {
228120  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
228121  }
228122  catch(CStdErrorInfo oError)
228123  {
228124  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228125  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228126  PyErr_SetString(PyExc_IndexError, strError.c_str());
228127  SWIG_fail;
228128  }
228129  catch(...)
228130  {
228131  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228132  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228133  SWIG_fail;
228134  }
228135  }
228136  resultobj = SWIG_From_bool(static_cast< bool >(result));
228137  if (SWIG_IsNewObj(res2)) delete arg2;
228138  if (SWIG_IsNewObj(res3)) delete arg3;
228139  return resultobj;
228140 fail:
228141  if (SWIG_IsNewObj(res2)) delete arg2;
228142  if (SWIG_IsNewObj(res3)) delete arg3;
228143  return NULL;
228144 }
228145 
228146 
228147 SWIGINTERN PyObject *_wrap_DataChart_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228148  PyObject *resultobj = 0;
228150  std::string *arg2 = 0 ;
228151  std::string *arg3 = 0 ;
228152  bool arg4 ;
228153  void *argp1 = 0 ;
228154  int res1 = 0 ;
228155  int res2 = SWIG_OLDOBJ ;
228156  int res3 = SWIG_OLDOBJ ;
228157  bool val4 ;
228158  int ecode4 = 0 ;
228159  PyObject * obj0 = 0 ;
228160  PyObject * obj1 = 0 ;
228161  PyObject * obj2 = 0 ;
228162  PyObject * obj3 = 0 ;
228163  bool result;
228164 
228165  if (!PyArg_ParseTuple(args,(char *)"OOOO:DataChart_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
228166  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
228167  if (!SWIG_IsOK(res1)) {
228168  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_AddItem" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
228169  }
228170  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
228171  {
228172  std::string *ptr = (std::string *)0;
228173  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
228174  if (!SWIG_IsOK(res2)) {
228175  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataChart_AddItem" "', argument " "2"" of type '" "std::string const &""'");
228176  }
228177  if (!ptr) {
228178  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_AddItem" "', argument " "2"" of type '" "std::string const &""'");
228179  }
228180  arg2 = ptr;
228181  }
228182  {
228183  std::string *ptr = (std::string *)0;
228184  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
228185  if (!SWIG_IsOK(res3)) {
228186  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataChart_AddItem" "', argument " "3"" of type '" "std::string const &""'");
228187  }
228188  if (!ptr) {
228189  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_AddItem" "', argument " "3"" of type '" "std::string const &""'");
228190  }
228191  arg3 = ptr;
228192  }
228193  ecode4 = SWIG_AsVal_bool(obj3, &val4);
228194  if (!SWIG_IsOK(ecode4)) {
228195  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataChart_AddItem" "', argument " "4"" of type '" "bool""'");
228196  }
228197  arg4 = static_cast< bool >(val4);
228198  {
228199  try {
228200  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
228201  }
228202  catch(CStdErrorInfo oError)
228203  {
228204  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228205  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228206  PyErr_SetString(PyExc_IndexError, strError.c_str());
228207  SWIG_fail;
228208  }
228209  catch(...)
228210  {
228211  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228212  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228213  SWIG_fail;
228214  }
228215  }
228216  resultobj = SWIG_From_bool(static_cast< bool >(result));
228217  if (SWIG_IsNewObj(res2)) delete arg2;
228218  if (SWIG_IsNewObj(res3)) delete arg3;
228219  return resultobj;
228220 fail:
228221  if (SWIG_IsNewObj(res2)) delete arg2;
228222  if (SWIG_IsNewObj(res3)) delete arg3;
228223  return NULL;
228224 }
228225 
228226 
228227 SWIGINTERN PyObject *_wrap_DataChart_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228228  PyObject *resultobj = 0;
228230  std::string *arg2 = 0 ;
228231  std::string *arg3 = 0 ;
228232  void *argp1 = 0 ;
228233  int res1 = 0 ;
228234  int res2 = SWIG_OLDOBJ ;
228235  int res3 = SWIG_OLDOBJ ;
228236  PyObject * obj0 = 0 ;
228237  PyObject * obj1 = 0 ;
228238  PyObject * obj2 = 0 ;
228239  bool result;
228240 
228241  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChart_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
228242  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
228243  if (!SWIG_IsOK(res1)) {
228244  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_AddItem" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
228245  }
228246  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
228247  {
228248  std::string *ptr = (std::string *)0;
228249  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
228250  if (!SWIG_IsOK(res2)) {
228251  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataChart_AddItem" "', argument " "2"" of type '" "std::string const &""'");
228252  }
228253  if (!ptr) {
228254  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_AddItem" "', argument " "2"" of type '" "std::string const &""'");
228255  }
228256  arg2 = ptr;
228257  }
228258  {
228259  std::string *ptr = (std::string *)0;
228260  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
228261  if (!SWIG_IsOK(res3)) {
228262  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataChart_AddItem" "', argument " "3"" of type '" "std::string const &""'");
228263  }
228264  if (!ptr) {
228265  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_AddItem" "', argument " "3"" of type '" "std::string const &""'");
228266  }
228267  arg3 = ptr;
228268  }
228269  {
228270  try {
228271  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
228272  }
228273  catch(CStdErrorInfo oError)
228274  {
228275  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228276  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228277  PyErr_SetString(PyExc_IndexError, strError.c_str());
228278  SWIG_fail;
228279  }
228280  catch(...)
228281  {
228282  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228283  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228284  SWIG_fail;
228285  }
228286  }
228287  resultobj = SWIG_From_bool(static_cast< bool >(result));
228288  if (SWIG_IsNewObj(res2)) delete arg2;
228289  if (SWIG_IsNewObj(res3)) delete arg3;
228290  return resultobj;
228291 fail:
228292  if (SWIG_IsNewObj(res2)) delete arg2;
228293  if (SWIG_IsNewObj(res3)) delete arg3;
228294  return NULL;
228295 }
228296 
228297 
228298 SWIGINTERN PyObject *_wrap_DataChart_AddItem(PyObject *self, PyObject *args) {
228299  int argc;
228300  PyObject *argv[6];
228301  int ii;
228302 
228303  if (!PyTuple_Check(args)) SWIG_fail;
228304  argc = args ? (int)PyObject_Length(args) : 0;
228305  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
228306  argv[ii] = PyTuple_GET_ITEM(args,ii);
228307  }
228308  if (argc == 3) {
228309  int _v;
228310  void *vptr = 0;
228311  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
228312  _v = SWIG_CheckState(res);
228313  if (_v) {
228314  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
228315  _v = SWIG_CheckState(res);
228316  if (_v) {
228317  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
228318  _v = SWIG_CheckState(res);
228319  if (_v) {
228320  return _wrap_DataChart_AddItem__SWIG_2(self, args);
228321  }
228322  }
228323  }
228324  }
228325  if (argc == 4) {
228326  int _v;
228327  void *vptr = 0;
228328  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
228329  _v = SWIG_CheckState(res);
228330  if (_v) {
228331  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
228332  _v = SWIG_CheckState(res);
228333  if (_v) {
228334  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
228335  _v = SWIG_CheckState(res);
228336  if (_v) {
228337  {
228338  int res = SWIG_AsVal_bool(argv[3], NULL);
228339  _v = SWIG_CheckState(res);
228340  }
228341  if (_v) {
228342  return _wrap_DataChart_AddItem__SWIG_1(self, args);
228343  }
228344  }
228345  }
228346  }
228347  }
228348  if (argc == 5) {
228349  int _v;
228350  void *vptr = 0;
228351  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
228352  _v = SWIG_CheckState(res);
228353  if (_v) {
228354  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
228355  _v = SWIG_CheckState(res);
228356  if (_v) {
228357  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
228358  _v = SWIG_CheckState(res);
228359  if (_v) {
228360  {
228361  int res = SWIG_AsVal_bool(argv[3], NULL);
228362  _v = SWIG_CheckState(res);
228363  }
228364  if (_v) {
228365  {
228366  int res = SWIG_AsVal_bool(argv[4], NULL);
228367  _v = SWIG_CheckState(res);
228368  }
228369  if (_v) {
228370  return _wrap_DataChart_AddItem__SWIG_0(self, args);
228371  }
228372  }
228373  }
228374  }
228375  }
228376  }
228377 
228378 fail:
228379  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChart_AddItem'.\n"
228380  " Possible C/C++ prototypes are:\n"
228381  " AnimatSim::Charting::DataChart::AddItem(std::string const &,std::string const &,bool,bool)\n"
228382  " AnimatSim::Charting::DataChart::AddItem(std::string const &,std::string const &,bool)\n"
228383  " AnimatSim::Charting::DataChart::AddItem(std::string const &,std::string const &)\n");
228384  return 0;
228385 }
228386 
228387 
228388 SWIGINTERN PyObject *_wrap_DataChart_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228389  PyObject *resultobj = 0;
228391  std::string *arg2 = 0 ;
228392  std::string *arg3 = 0 ;
228393  bool arg4 ;
228394  void *argp1 = 0 ;
228395  int res1 = 0 ;
228396  int res2 = SWIG_OLDOBJ ;
228397  int res3 = SWIG_OLDOBJ ;
228398  bool val4 ;
228399  int ecode4 = 0 ;
228400  PyObject * obj0 = 0 ;
228401  PyObject * obj1 = 0 ;
228402  PyObject * obj2 = 0 ;
228403  PyObject * obj3 = 0 ;
228404  bool result;
228405 
228406  if (!PyArg_ParseTuple(args,(char *)"OOOO:DataChart_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
228407  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
228408  if (!SWIG_IsOK(res1)) {
228409  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
228410  }
228411  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
228412  {
228413  std::string *ptr = (std::string *)0;
228414  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
228415  if (!SWIG_IsOK(res2)) {
228416  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataChart_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
228417  }
228418  if (!ptr) {
228419  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
228420  }
228421  arg2 = ptr;
228422  }
228423  {
228424  std::string *ptr = (std::string *)0;
228425  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
228426  if (!SWIG_IsOK(res3)) {
228427  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataChart_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
228428  }
228429  if (!ptr) {
228430  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
228431  }
228432  arg3 = ptr;
228433  }
228434  ecode4 = SWIG_AsVal_bool(obj3, &val4);
228435  if (!SWIG_IsOK(ecode4)) {
228436  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataChart_RemoveItem" "', argument " "4"" of type '" "bool""'");
228437  }
228438  arg4 = static_cast< bool >(val4);
228439  {
228440  try {
228441  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
228442  }
228443  catch(CStdErrorInfo oError)
228444  {
228445  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228446  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228447  PyErr_SetString(PyExc_IndexError, strError.c_str());
228448  SWIG_fail;
228449  }
228450  catch(...)
228451  {
228452  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228453  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228454  SWIG_fail;
228455  }
228456  }
228457  resultobj = SWIG_From_bool(static_cast< bool >(result));
228458  if (SWIG_IsNewObj(res2)) delete arg2;
228459  if (SWIG_IsNewObj(res3)) delete arg3;
228460  return resultobj;
228461 fail:
228462  if (SWIG_IsNewObj(res2)) delete arg2;
228463  if (SWIG_IsNewObj(res3)) delete arg3;
228464  return NULL;
228465 }
228466 
228467 
228468 SWIGINTERN PyObject *_wrap_DataChart_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228469  PyObject *resultobj = 0;
228471  std::string *arg2 = 0 ;
228472  std::string *arg3 = 0 ;
228473  void *argp1 = 0 ;
228474  int res1 = 0 ;
228475  int res2 = SWIG_OLDOBJ ;
228476  int res3 = SWIG_OLDOBJ ;
228477  PyObject * obj0 = 0 ;
228478  PyObject * obj1 = 0 ;
228479  PyObject * obj2 = 0 ;
228480  bool result;
228481 
228482  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChart_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
228483  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
228484  if (!SWIG_IsOK(res1)) {
228485  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
228486  }
228487  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
228488  {
228489  std::string *ptr = (std::string *)0;
228490  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
228491  if (!SWIG_IsOK(res2)) {
228492  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataChart_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
228493  }
228494  if (!ptr) {
228495  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
228496  }
228497  arg2 = ptr;
228498  }
228499  {
228500  std::string *ptr = (std::string *)0;
228501  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
228502  if (!SWIG_IsOK(res3)) {
228503  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataChart_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
228504  }
228505  if (!ptr) {
228506  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChart_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
228507  }
228508  arg3 = ptr;
228509  }
228510  {
228511  try {
228512  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
228513  }
228514  catch(CStdErrorInfo oError)
228515  {
228516  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228517  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228518  PyErr_SetString(PyExc_IndexError, strError.c_str());
228519  SWIG_fail;
228520  }
228521  catch(...)
228522  {
228523  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228524  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228525  SWIG_fail;
228526  }
228527  }
228528  resultobj = SWIG_From_bool(static_cast< bool >(result));
228529  if (SWIG_IsNewObj(res2)) delete arg2;
228530  if (SWIG_IsNewObj(res3)) delete arg3;
228531  return resultobj;
228532 fail:
228533  if (SWIG_IsNewObj(res2)) delete arg2;
228534  if (SWIG_IsNewObj(res3)) delete arg3;
228535  return NULL;
228536 }
228537 
228538 
228539 SWIGINTERN PyObject *_wrap_DataChart_RemoveItem(PyObject *self, PyObject *args) {
228540  int argc;
228541  PyObject *argv[5];
228542  int ii;
228543 
228544  if (!PyTuple_Check(args)) SWIG_fail;
228545  argc = args ? (int)PyObject_Length(args) : 0;
228546  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
228547  argv[ii] = PyTuple_GET_ITEM(args,ii);
228548  }
228549  if (argc == 3) {
228550  int _v;
228551  void *vptr = 0;
228552  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
228553  _v = SWIG_CheckState(res);
228554  if (_v) {
228555  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
228556  _v = SWIG_CheckState(res);
228557  if (_v) {
228558  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
228559  _v = SWIG_CheckState(res);
228560  if (_v) {
228561  return _wrap_DataChart_RemoveItem__SWIG_1(self, args);
228562  }
228563  }
228564  }
228565  }
228566  if (argc == 4) {
228567  int _v;
228568  void *vptr = 0;
228569  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChart, 0);
228570  _v = SWIG_CheckState(res);
228571  if (_v) {
228572  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
228573  _v = SWIG_CheckState(res);
228574  if (_v) {
228575  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
228576  _v = SWIG_CheckState(res);
228577  if (_v) {
228578  {
228579  int res = SWIG_AsVal_bool(argv[3], NULL);
228580  _v = SWIG_CheckState(res);
228581  }
228582  if (_v) {
228583  return _wrap_DataChart_RemoveItem__SWIG_0(self, args);
228584  }
228585  }
228586  }
228587  }
228588  }
228589 
228590 fail:
228591  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChart_RemoveItem'.\n"
228592  " Possible C/C++ prototypes are:\n"
228593  " AnimatSim::Charting::DataChart::RemoveItem(std::string const &,std::string const &,bool)\n"
228594  " AnimatSim::Charting::DataChart::RemoveItem(std::string const &,std::string const &)\n");
228595  return 0;
228596 }
228597 
228598 
228599 SWIGINTERN PyObject *_wrap_DataChart___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228600  PyObject *resultobj = 0;
228603  void *argp1 = 0 ;
228604  int res1 = 0 ;
228605  void *argp2 = 0 ;
228606  int res2 = 0 ;
228607  PyObject * obj0 = 0 ;
228608  PyObject * obj1 = 0 ;
228609  bool result;
228610 
228611  if (!PyArg_ParseTuple(args,(char *)"OO:DataChart___lt__",&obj0,&obj1)) SWIG_fail;
228612  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
228613  if (!SWIG_IsOK(res1)) {
228614  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart___lt__" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
228615  }
228616  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
228617  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
228618  if (!SWIG_IsOK(res2)) {
228619  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataChart___lt__" "', argument " "2"" of type '" "AnimatSim::ActivatedItem *""'");
228620  }
228621  arg2 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp2);
228622  {
228623  try {
228624  result = (bool)(arg1)->operator <(arg2);
228625  }
228626  catch(CStdErrorInfo oError)
228627  {
228628  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228629  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228630  PyErr_SetString(PyExc_IndexError, strError.c_str());
228631  SWIG_fail;
228632  }
228633  catch(...)
228634  {
228635  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228636  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228637  SWIG_fail;
228638  }
228639  }
228640  resultobj = SWIG_From_bool(static_cast< bool >(result));
228641  return resultobj;
228642 fail:
228643  return NULL;
228644 }
228645 
228646 
228647 SWIGINTERN PyObject *_wrap_DataChart_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228648  PyObject *resultobj = 0;
228650  void *argp1 = 0 ;
228651  int res1 = 0 ;
228652  PyObject * obj0 = 0 ;
228653 
228654  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_Initialize",&obj0)) SWIG_fail;
228655  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
228656  if (!SWIG_IsOK(res1)) {
228657  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_Initialize" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
228658  }
228659  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
228660  {
228661  try {
228662  (arg1)->Initialize();
228663  }
228664  catch(CStdErrorInfo oError)
228665  {
228666  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228667  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228668  PyErr_SetString(PyExc_IndexError, strError.c_str());
228669  SWIG_fail;
228670  }
228671  catch(...)
228672  {
228673  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228674  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228675  SWIG_fail;
228676  }
228677  }
228678  resultobj = SWIG_Py_Void();
228679  return resultobj;
228680 fail:
228681  return NULL;
228682 }
228683 
228684 
228685 SWIGINTERN PyObject *_wrap_DataChart_ReInitialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228686  PyObject *resultobj = 0;
228688  void *argp1 = 0 ;
228689  int res1 = 0 ;
228690  PyObject * obj0 = 0 ;
228691 
228692  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_ReInitialize",&obj0)) SWIG_fail;
228693  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
228694  if (!SWIG_IsOK(res1)) {
228695  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_ReInitialize" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
228696  }
228697  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
228698  {
228699  try {
228700  (arg1)->ReInitialize();
228701  }
228702  catch(CStdErrorInfo oError)
228703  {
228704  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228705  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228706  PyErr_SetString(PyExc_IndexError, strError.c_str());
228707  SWIG_fail;
228708  }
228709  catch(...)
228710  {
228711  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228712  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228713  SWIG_fail;
228714  }
228715  }
228716  resultobj = SWIG_Py_Void();
228717  return resultobj;
228718 fail:
228719  return NULL;
228720 }
228721 
228722 
228723 SWIGINTERN PyObject *_wrap_DataChart_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228724  PyObject *resultobj = 0;
228726  void *argp1 = 0 ;
228727  int res1 = 0 ;
228728  PyObject * obj0 = 0 ;
228729 
228730  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_ResetSimulation",&obj0)) SWIG_fail;
228731  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
228732  if (!SWIG_IsOK(res1)) {
228733  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
228734  }
228735  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
228736  {
228737  try {
228738  (arg1)->ResetSimulation();
228739  }
228740  catch(CStdErrorInfo oError)
228741  {
228742  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228743  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228744  PyErr_SetString(PyExc_IndexError, strError.c_str());
228745  SWIG_fail;
228746  }
228747  catch(...)
228748  {
228749  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228750  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228751  SWIG_fail;
228752  }
228753  }
228754  resultobj = SWIG_Py_Void();
228755  return resultobj;
228756 fail:
228757  return NULL;
228758 }
228759 
228760 
228761 SWIGINTERN PyObject *_wrap_DataChart_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228762  PyObject *resultobj = 0;
228764  void *argp1 = 0 ;
228765  int res1 = 0 ;
228766  PyObject * obj0 = 0 ;
228767 
228768  if (!PyArg_ParseTuple(args,(char *)"O:DataChart_StepSimulation",&obj0)) SWIG_fail;
228769  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChart, 0 | 0 );
228770  if (!SWIG_IsOK(res1)) {
228771  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChart_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Charting::DataChart *""'");
228772  }
228773  arg1 = reinterpret_cast< AnimatSim::Charting::DataChart * >(argp1);
228774  {
228775  try {
228776  (arg1)->StepSimulation();
228777  }
228778  catch(CStdErrorInfo oError)
228779  {
228780  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228781  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228782  PyErr_SetString(PyExc_IndexError, strError.c_str());
228783  SWIG_fail;
228784  }
228785  catch(...)
228786  {
228787  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228788  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228789  SWIG_fail;
228790  }
228791  }
228792  resultobj = SWIG_Py_Void();
228793  return resultobj;
228794 fail:
228795  return NULL;
228796 }
228797 
228798 
228799 SWIGINTERN PyObject *DataChart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228800  PyObject *obj;
228801  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
228802  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Charting__DataChart, SWIG_NewClientData(obj));
228803  return SWIG_Py_Void();
228804 }
228805 
228806 SWIGINTERN PyObject *_wrap_new_FileChart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228807  PyObject *resultobj = 0;
228808  AnimatSim::Charting::FileChart *result = 0 ;
228809 
228810  if (!PyArg_ParseTuple(args,(char *)":new_FileChart")) SWIG_fail;
228811  {
228812  try {
228814  }
228815  catch(CStdErrorInfo oError)
228816  {
228817  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228818  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228819  PyErr_SetString(PyExc_IndexError, strError.c_str());
228820  SWIG_fail;
228821  }
228822  catch(...)
228823  {
228824  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228825  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228826  SWIG_fail;
228827  }
228828  }
228829  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__FileChart, SWIG_POINTER_NEW | 0 );
228830  return resultobj;
228831 fail:
228832  return NULL;
228833 }
228834 
228835 
228836 SWIGINTERN PyObject *_wrap_delete_FileChart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228837  PyObject *resultobj = 0;
228839  void *argp1 = 0 ;
228840  int res1 = 0 ;
228841  PyObject * obj0 = 0 ;
228842 
228843  if (!PyArg_ParseTuple(args,(char *)"O:delete_FileChart",&obj0)) SWIG_fail;
228844  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__FileChart, SWIG_POINTER_DISOWN | 0 );
228845  if (!SWIG_IsOK(res1)) {
228846  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FileChart" "', argument " "1"" of type '" "AnimatSim::Charting::FileChart *""'");
228847  }
228848  arg1 = reinterpret_cast< AnimatSim::Charting::FileChart * >(argp1);
228849  {
228850  try {
228851  delete arg1;
228852  }
228853  catch(CStdErrorInfo oError)
228854  {
228855  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228856  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228857  PyErr_SetString(PyExc_IndexError, strError.c_str());
228858  SWIG_fail;
228859  }
228860  catch(...)
228861  {
228862  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228863  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228864  SWIG_fail;
228865  }
228866  }
228867  resultobj = SWIG_Py_Void();
228868  return resultobj;
228869 fail:
228870  return NULL;
228871 }
228872 
228873 
228874 SWIGINTERN PyObject *_wrap_FileChart_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228875  PyObject *resultobj = 0;
228877  void *argp1 = 0 ;
228878  int res1 = 0 ;
228879  PyObject * obj0 = 0 ;
228880  AnimatSim::Charting::FileChart *result = 0 ;
228881 
228882  if (!PyArg_ParseTuple(args,(char *)"O:FileChart_CastToDerived",&obj0)) SWIG_fail;
228883  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
228884  if (!SWIG_IsOK(res1)) {
228885  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChart_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
228886  }
228887  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
228888  {
228889  try {
228890  result = (AnimatSim::Charting::FileChart *)AnimatSim::Charting::FileChart::CastToDerived(arg1);
228891  }
228892  catch(CStdErrorInfo oError)
228893  {
228894  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228895  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228896  PyErr_SetString(PyExc_IndexError, strError.c_str());
228897  SWIG_fail;
228898  }
228899  catch(...)
228900  {
228901  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228902  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228903  SWIG_fail;
228904  }
228905  }
228906  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__FileChart, 0 | 0 );
228907  return resultobj;
228908 fail:
228909  return NULL;
228910 }
228911 
228912 
228913 SWIGINTERN PyObject *_wrap_FileChart_Type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228914  PyObject *resultobj = 0;
228916  void *argp1 = 0 ;
228917  int res1 = 0 ;
228918  PyObject * obj0 = 0 ;
228919  std::string result;
228920 
228921  if (!PyArg_ParseTuple(args,(char *)"O:FileChart_Type",&obj0)) SWIG_fail;
228922  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__FileChart, 0 | 0 );
228923  if (!SWIG_IsOK(res1)) {
228924  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChart_Type" "', argument " "1"" of type '" "AnimatSim::Charting::FileChart *""'");
228925  }
228926  arg1 = reinterpret_cast< AnimatSim::Charting::FileChart * >(argp1);
228927  {
228928  try {
228929  result = (arg1)->Type();
228930  }
228931  catch(CStdErrorInfo oError)
228932  {
228933  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228934  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228935  PyErr_SetString(PyExc_IndexError, strError.c_str());
228936  SWIG_fail;
228937  }
228938  catch(...)
228939  {
228940  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228941  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228942  SWIG_fail;
228943  }
228944  }
228945  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
228946  return resultobj;
228947 fail:
228948  return NULL;
228949 }
228950 
228951 
228952 SWIGINTERN PyObject *_wrap_FileChart_OutputFilename__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228953  PyObject *resultobj = 0;
228955  void *argp1 = 0 ;
228956  int res1 = 0 ;
228957  PyObject * obj0 = 0 ;
228958  std::string result;
228959 
228960  if (!PyArg_ParseTuple(args,(char *)"O:FileChart_OutputFilename",&obj0)) SWIG_fail;
228961  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__FileChart, 0 | 0 );
228962  if (!SWIG_IsOK(res1)) {
228963  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChart_OutputFilename" "', argument " "1"" of type '" "AnimatSim::Charting::FileChart *""'");
228964  }
228965  arg1 = reinterpret_cast< AnimatSim::Charting::FileChart * >(argp1);
228966  {
228967  try {
228968  result = (arg1)->OutputFilename();
228969  }
228970  catch(CStdErrorInfo oError)
228971  {
228972  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228973  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
228974  PyErr_SetString(PyExc_IndexError, strError.c_str());
228975  SWIG_fail;
228976  }
228977  catch(...)
228978  {
228979  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
228980  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
228981  SWIG_fail;
228982  }
228983  }
228984  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
228985  return resultobj;
228986 fail:
228987  return NULL;
228988 }
228989 
228990 
228991 SWIGINTERN PyObject *_wrap_FileChart_OutputFilename__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
228992  PyObject *resultobj = 0;
228994  std::string arg2 ;
228995  void *argp1 = 0 ;
228996  int res1 = 0 ;
228997  PyObject * obj0 = 0 ;
228998  PyObject * obj1 = 0 ;
228999 
229000  if (!PyArg_ParseTuple(args,(char *)"OO:FileChart_OutputFilename",&obj0,&obj1)) SWIG_fail;
229001  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__FileChart, 0 | 0 );
229002  if (!SWIG_IsOK(res1)) {
229003  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChart_OutputFilename" "', argument " "1"" of type '" "AnimatSim::Charting::FileChart *""'");
229004  }
229005  arg1 = reinterpret_cast< AnimatSim::Charting::FileChart * >(argp1);
229006  {
229007  std::string *ptr = (std::string *)0;
229008  int res = SWIG_AsPtr_std_string(obj1, &ptr);
229009  if (!SWIG_IsOK(res) || !ptr) {
229010  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "FileChart_OutputFilename" "', argument " "2"" of type '" "std::string""'");
229011  }
229012  arg2 = *ptr;
229013  if (SWIG_IsNewObj(res)) delete ptr;
229014  }
229015  {
229016  try {
229017  (arg1)->OutputFilename(arg2);
229018  }
229019  catch(CStdErrorInfo oError)
229020  {
229021  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229022  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229023  PyErr_SetString(PyExc_IndexError, strError.c_str());
229024  SWIG_fail;
229025  }
229026  catch(...)
229027  {
229028  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229029  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229030  SWIG_fail;
229031  }
229032  }
229033  resultobj = SWIG_Py_Void();
229034  return resultobj;
229035 fail:
229036  return NULL;
229037 }
229038 
229039 
229040 SWIGINTERN PyObject *_wrap_FileChart_OutputFilename(PyObject *self, PyObject *args) {
229041  int argc;
229042  PyObject *argv[3];
229043  int ii;
229044 
229045  if (!PyTuple_Check(args)) SWIG_fail;
229046  argc = args ? (int)PyObject_Length(args) : 0;
229047  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
229048  argv[ii] = PyTuple_GET_ITEM(args,ii);
229049  }
229050  if (argc == 1) {
229051  int _v;
229052  void *vptr = 0;
229053  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__FileChart, 0);
229054  _v = SWIG_CheckState(res);
229055  if (_v) {
229056  return _wrap_FileChart_OutputFilename__SWIG_0(self, args);
229057  }
229058  }
229059  if (argc == 2) {
229060  int _v;
229061  void *vptr = 0;
229062  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__FileChart, 0);
229063  _v = SWIG_CheckState(res);
229064  if (_v) {
229065  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
229066  _v = SWIG_CheckState(res);
229067  if (_v) {
229068  return _wrap_FileChart_OutputFilename__SWIG_1(self, args);
229069  }
229070  }
229071  }
229072 
229073 fail:
229074  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'FileChart_OutputFilename'.\n"
229075  " Possible C/C++ prototypes are:\n"
229076  " AnimatSim::Charting::FileChart::OutputFilename()\n"
229077  " AnimatSim::Charting::FileChart::OutputFilename(std::string)\n");
229078  return 0;
229079 }
229080 
229081 
229082 SWIGINTERN PyObject *_wrap_FileChart_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229083  PyObject *resultobj = 0;
229085  void *argp1 = 0 ;
229086  int res1 = 0 ;
229087  PyObject * obj0 = 0 ;
229088 
229089  if (!PyArg_ParseTuple(args,(char *)"O:FileChart_ResetSimulation",&obj0)) SWIG_fail;
229090  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__FileChart, 0 | 0 );
229091  if (!SWIG_IsOK(res1)) {
229092  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChart_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Charting::FileChart *""'");
229093  }
229094  arg1 = reinterpret_cast< AnimatSim::Charting::FileChart * >(argp1);
229095  {
229096  try {
229097  (arg1)->ResetSimulation();
229098  }
229099  catch(CStdErrorInfo oError)
229100  {
229101  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229102  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229103  PyErr_SetString(PyExc_IndexError, strError.c_str());
229104  SWIG_fail;
229105  }
229106  catch(...)
229107  {
229108  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229109  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229110  SWIG_fail;
229111  }
229112  }
229113  resultobj = SWIG_Py_Void();
229114  return resultobj;
229115 fail:
229116  return NULL;
229117 }
229118 
229119 
229120 SWIGINTERN PyObject *_wrap_FileChart_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229121  PyObject *resultobj = 0;
229123  void *argp1 = 0 ;
229124  int res1 = 0 ;
229125  PyObject * obj0 = 0 ;
229126 
229127  if (!PyArg_ParseTuple(args,(char *)"O:FileChart_Initialize",&obj0)) SWIG_fail;
229128  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__FileChart, 0 | 0 );
229129  if (!SWIG_IsOK(res1)) {
229130  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChart_Initialize" "', argument " "1"" of type '" "AnimatSim::Charting::FileChart *""'");
229131  }
229132  arg1 = reinterpret_cast< AnimatSim::Charting::FileChart * >(argp1);
229133  {
229134  try {
229135  (arg1)->Initialize();
229136  }
229137  catch(CStdErrorInfo oError)
229138  {
229139  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229140  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229141  PyErr_SetString(PyExc_IndexError, strError.c_str());
229142  SWIG_fail;
229143  }
229144  catch(...)
229145  {
229146  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229147  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229148  SWIG_fail;
229149  }
229150  }
229151  resultobj = SWIG_Py_Void();
229152  return resultobj;
229153 fail:
229154  return NULL;
229155 }
229156 
229157 
229158 SWIGINTERN PyObject *_wrap_FileChart_Deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229159  PyObject *resultobj = 0;
229161  void *argp1 = 0 ;
229162  int res1 = 0 ;
229163  PyObject * obj0 = 0 ;
229164 
229165  if (!PyArg_ParseTuple(args,(char *)"O:FileChart_Deactivate",&obj0)) SWIG_fail;
229166  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__FileChart, 0 | 0 );
229167  if (!SWIG_IsOK(res1)) {
229168  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChart_Deactivate" "', argument " "1"" of type '" "AnimatSim::Charting::FileChart *""'");
229169  }
229170  arg1 = reinterpret_cast< AnimatSim::Charting::FileChart * >(argp1);
229171  {
229172  try {
229173  (arg1)->Deactivate();
229174  }
229175  catch(CStdErrorInfo oError)
229176  {
229177  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229178  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229179  PyErr_SetString(PyExc_IndexError, strError.c_str());
229180  SWIG_fail;
229181  }
229182  catch(...)
229183  {
229184  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229185  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229186  SWIG_fail;
229187  }
229188  }
229189  resultobj = SWIG_Py_Void();
229190  return resultobj;
229191 fail:
229192  return NULL;
229193 }
229194 
229195 
229196 SWIGINTERN PyObject *_wrap_FileChart_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229197  PyObject *resultobj = 0;
229199  CStdXml *arg2 = 0 ;
229200  void *argp1 = 0 ;
229201  int res1 = 0 ;
229202  void *argp2 = 0 ;
229203  int res2 = 0 ;
229204  PyObject * obj0 = 0 ;
229205  PyObject * obj1 = 0 ;
229206 
229207  if (!PyArg_ParseTuple(args,(char *)"OO:FileChart_Load",&obj0,&obj1)) SWIG_fail;
229208  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__FileChart, 0 | 0 );
229209  if (!SWIG_IsOK(res1)) {
229210  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChart_Load" "', argument " "1"" of type '" "AnimatSim::Charting::FileChart *""'");
229211  }
229212  arg1 = reinterpret_cast< AnimatSim::Charting::FileChart * >(argp1);
229213  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
229214  if (!SWIG_IsOK(res2)) {
229215  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FileChart_Load" "', argument " "2"" of type '" "CStdXml &""'");
229216  }
229217  if (!argp2) {
229218  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FileChart_Load" "', argument " "2"" of type '" "CStdXml &""'");
229219  }
229220  arg2 = reinterpret_cast< CStdXml * >(argp2);
229221  {
229222  try {
229223  (arg1)->Load(*arg2);
229224  }
229225  catch(CStdErrorInfo oError)
229226  {
229227  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229228  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229229  PyErr_SetString(PyExc_IndexError, strError.c_str());
229230  SWIG_fail;
229231  }
229232  catch(...)
229233  {
229234  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229235  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229236  SWIG_fail;
229237  }
229238  }
229239  resultobj = SWIG_Py_Void();
229240  return resultobj;
229241 fail:
229242  return NULL;
229243 }
229244 
229245 
229246 SWIGINTERN PyObject *_wrap_FileChart_SaveOutput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229247  PyObject *resultobj = 0;
229249  void *argp1 = 0 ;
229250  int res1 = 0 ;
229251  PyObject * obj0 = 0 ;
229252 
229253  if (!PyArg_ParseTuple(args,(char *)"O:FileChart_SaveOutput",&obj0)) SWIG_fail;
229254  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__FileChart, 0 | 0 );
229255  if (!SWIG_IsOK(res1)) {
229256  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileChart_SaveOutput" "', argument " "1"" of type '" "AnimatSim::Charting::FileChart *""'");
229257  }
229258  arg1 = reinterpret_cast< AnimatSim::Charting::FileChart * >(argp1);
229259  {
229260  try {
229261  (arg1)->SaveOutput();
229262  }
229263  catch(CStdErrorInfo oError)
229264  {
229265  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229266  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229267  PyErr_SetString(PyExc_IndexError, strError.c_str());
229268  SWIG_fail;
229269  }
229270  catch(...)
229271  {
229272  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229273  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229274  SWIG_fail;
229275  }
229276  }
229277  resultobj = SWIG_Py_Void();
229278  return resultobj;
229279 fail:
229280  return NULL;
229281 }
229282 
229283 
229284 SWIGINTERN PyObject *FileChart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229285  PyObject *obj;
229286  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
229287  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Charting__FileChart, SWIG_NewClientData(obj));
229288  return SWIG_Py_Void();
229289 }
229290 
229291 SWIGINTERN PyObject *_wrap_new_ArrayChart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229292  PyObject *resultobj = 0;
229293  AnimatSim::Charting::ArrayChart *result = 0 ;
229294 
229295  if (!PyArg_ParseTuple(args,(char *)":new_ArrayChart")) SWIG_fail;
229296  {
229297  try {
229299  }
229300  catch(CStdErrorInfo oError)
229301  {
229302  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229303  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229304  PyErr_SetString(PyExc_IndexError, strError.c_str());
229305  SWIG_fail;
229306  }
229307  catch(...)
229308  {
229309  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229310  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229311  SWIG_fail;
229312  }
229313  }
229314  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__ArrayChart, SWIG_POINTER_NEW | 0 );
229315  return resultobj;
229316 fail:
229317  return NULL;
229318 }
229319 
229320 
229321 SWIGINTERN PyObject *_wrap_delete_ArrayChart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229322  PyObject *resultobj = 0;
229324  void *argp1 = 0 ;
229325  int res1 = 0 ;
229326  PyObject * obj0 = 0 ;
229327 
229328  if (!PyArg_ParseTuple(args,(char *)"O:delete_ArrayChart",&obj0)) SWIG_fail;
229329  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__ArrayChart, SWIG_POINTER_DISOWN | 0 );
229330  if (!SWIG_IsOK(res1)) {
229331  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArrayChart" "', argument " "1"" of type '" "AnimatSim::Charting::ArrayChart *""'");
229332  }
229333  arg1 = reinterpret_cast< AnimatSim::Charting::ArrayChart * >(argp1);
229334  {
229335  try {
229336  delete arg1;
229337  }
229338  catch(CStdErrorInfo oError)
229339  {
229340  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229341  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229342  PyErr_SetString(PyExc_IndexError, strError.c_str());
229343  SWIG_fail;
229344  }
229345  catch(...)
229346  {
229347  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229348  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229349  SWIG_fail;
229350  }
229351  }
229352  resultobj = SWIG_Py_Void();
229353  return resultobj;
229354 fail:
229355  return NULL;
229356 }
229357 
229358 
229359 SWIGINTERN PyObject *_wrap_ArrayChart_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229360  PyObject *resultobj = 0;
229362  void *argp1 = 0 ;
229363  int res1 = 0 ;
229364  PyObject * obj0 = 0 ;
229365  AnimatSim::Charting::ArrayChart *result = 0 ;
229366 
229367  if (!PyArg_ParseTuple(args,(char *)"O:ArrayChart_CastToDerived",&obj0)) SWIG_fail;
229368  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
229369  if (!SWIG_IsOK(res1)) {
229370  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ArrayChart_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
229371  }
229372  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
229373  {
229374  try {
229375  result = (AnimatSim::Charting::ArrayChart *)AnimatSim::Charting::ArrayChart::CastToDerived(arg1);
229376  }
229377  catch(CStdErrorInfo oError)
229378  {
229379  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229380  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229381  PyErr_SetString(PyExc_IndexError, strError.c_str());
229382  SWIG_fail;
229383  }
229384  catch(...)
229385  {
229386  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229387  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229388  SWIG_fail;
229389  }
229390  }
229391  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__ArrayChart, 0 | 0 );
229392  return resultobj;
229393 fail:
229394  return NULL;
229395 }
229396 
229397 
229398 SWIGINTERN PyObject *_wrap_ArrayChart_Type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229399  PyObject *resultobj = 0;
229401  void *argp1 = 0 ;
229402  int res1 = 0 ;
229403  PyObject * obj0 = 0 ;
229404  std::string result;
229405 
229406  if (!PyArg_ParseTuple(args,(char *)"O:ArrayChart_Type",&obj0)) SWIG_fail;
229407  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__ArrayChart, 0 | 0 );
229408  if (!SWIG_IsOK(res1)) {
229409  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ArrayChart_Type" "', argument " "1"" of type '" "AnimatSim::Charting::ArrayChart *""'");
229410  }
229411  arg1 = reinterpret_cast< AnimatSim::Charting::ArrayChart * >(argp1);
229412  {
229413  try {
229414  result = (arg1)->Type();
229415  }
229416  catch(CStdErrorInfo oError)
229417  {
229418  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229419  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229420  PyErr_SetString(PyExc_IndexError, strError.c_str());
229421  SWIG_fail;
229422  }
229423  catch(...)
229424  {
229425  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229426  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229427  SWIG_fail;
229428  }
229429  }
229430  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
229431  return resultobj;
229432 fail:
229433  return NULL;
229434 }
229435 
229436 
229437 SWIGINTERN PyObject *_wrap_ArrayChart_CurrentRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229438  PyObject *resultobj = 0;
229440  long arg2 ;
229441  void *argp1 = 0 ;
229442  int res1 = 0 ;
229443  long val2 ;
229444  int ecode2 = 0 ;
229445  PyObject * obj0 = 0 ;
229446  PyObject * obj1 = 0 ;
229447 
229448  if (!PyArg_ParseTuple(args,(char *)"OO:ArrayChart_CurrentRow",&obj0,&obj1)) SWIG_fail;
229449  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__ArrayChart, 0 | 0 );
229450  if (!SWIG_IsOK(res1)) {
229451  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ArrayChart_CurrentRow" "', argument " "1"" of type '" "AnimatSim::Charting::ArrayChart *""'");
229452  }
229453  arg1 = reinterpret_cast< AnimatSim::Charting::ArrayChart * >(argp1);
229454  ecode2 = SWIG_AsVal_long(obj1, &val2);
229455  if (!SWIG_IsOK(ecode2)) {
229456  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ArrayChart_CurrentRow" "', argument " "2"" of type '" "long""'");
229457  }
229458  arg2 = static_cast< long >(val2);
229459  {
229460  try {
229461  (arg1)->CurrentRow(arg2);
229462  }
229463  catch(CStdErrorInfo oError)
229464  {
229465  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229466  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229467  PyErr_SetString(PyExc_IndexError, strError.c_str());
229468  SWIG_fail;
229469  }
229470  catch(...)
229471  {
229472  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229473  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229474  SWIG_fail;
229475  }
229476  }
229477  resultobj = SWIG_Py_Void();
229478  return resultobj;
229479 fail:
229480  return NULL;
229481 }
229482 
229483 
229484 SWIGINTERN PyObject *_wrap_ArrayChart_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229485  PyObject *resultobj = 0;
229487  void *argp1 = 0 ;
229488  int res1 = 0 ;
229489  PyObject * obj0 = 0 ;
229490 
229491  if (!PyArg_ParseTuple(args,(char *)"O:ArrayChart_Initialize",&obj0)) SWIG_fail;
229492  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__ArrayChart, 0 | 0 );
229493  if (!SWIG_IsOK(res1)) {
229494  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ArrayChart_Initialize" "', argument " "1"" of type '" "AnimatSim::Charting::ArrayChart *""'");
229495  }
229496  arg1 = reinterpret_cast< AnimatSim::Charting::ArrayChart * >(argp1);
229497  {
229498  try {
229499  (arg1)->Initialize();
229500  }
229501  catch(CStdErrorInfo oError)
229502  {
229503  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229504  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229505  PyErr_SetString(PyExc_IndexError, strError.c_str());
229506  SWIG_fail;
229507  }
229508  catch(...)
229509  {
229510  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229511  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229512  SWIG_fail;
229513  }
229514  }
229515  resultobj = SWIG_Py_Void();
229516  return resultobj;
229517 fail:
229518  return NULL;
229519 }
229520 
229521 
229522 SWIGINTERN PyObject *_wrap_ArrayChart_ReInitialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229523  PyObject *resultobj = 0;
229525  void *argp1 = 0 ;
229526  int res1 = 0 ;
229527  PyObject * obj0 = 0 ;
229528 
229529  if (!PyArg_ParseTuple(args,(char *)"O:ArrayChart_ReInitialize",&obj0)) SWIG_fail;
229530  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__ArrayChart, 0 | 0 );
229531  if (!SWIG_IsOK(res1)) {
229532  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ArrayChart_ReInitialize" "', argument " "1"" of type '" "AnimatSim::Charting::ArrayChart *""'");
229533  }
229534  arg1 = reinterpret_cast< AnimatSim::Charting::ArrayChart * >(argp1);
229535  {
229536  try {
229537  (arg1)->ReInitialize();
229538  }
229539  catch(CStdErrorInfo oError)
229540  {
229541  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229542  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229543  PyErr_SetString(PyExc_IndexError, strError.c_str());
229544  SWIG_fail;
229545  }
229546  catch(...)
229547  {
229548  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229549  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229550  SWIG_fail;
229551  }
229552  }
229553  resultobj = SWIG_Py_Void();
229554  return resultobj;
229555 fail:
229556  return NULL;
229557 }
229558 
229559 
229560 SWIGINTERN PyObject *_wrap_ArrayChart_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229561  PyObject *resultobj = 0;
229563  void *argp1 = 0 ;
229564  int res1 = 0 ;
229565  PyObject * obj0 = 0 ;
229566 
229567  if (!PyArg_ParseTuple(args,(char *)"O:ArrayChart_StepSimulation",&obj0)) SWIG_fail;
229568  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__ArrayChart, 0 | 0 );
229569  if (!SWIG_IsOK(res1)) {
229570  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ArrayChart_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Charting::ArrayChart *""'");
229571  }
229572  arg1 = reinterpret_cast< AnimatSim::Charting::ArrayChart * >(argp1);
229573  {
229574  try {
229575  (arg1)->StepSimulation();
229576  }
229577  catch(CStdErrorInfo oError)
229578  {
229579  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229580  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229581  PyErr_SetString(PyExc_IndexError, strError.c_str());
229582  SWIG_fail;
229583  }
229584  catch(...)
229585  {
229586  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229587  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229588  SWIG_fail;
229589  }
229590  }
229591  resultobj = SWIG_Py_Void();
229592  return resultobj;
229593 fail:
229594  return NULL;
229595 }
229596 
229597 
229598 SWIGINTERN PyObject *_wrap_ArrayChart_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229599  PyObject *resultobj = 0;
229601  CStdXml *arg2 = 0 ;
229602  void *argp1 = 0 ;
229603  int res1 = 0 ;
229604  void *argp2 = 0 ;
229605  int res2 = 0 ;
229606  PyObject * obj0 = 0 ;
229607  PyObject * obj1 = 0 ;
229608 
229609  if (!PyArg_ParseTuple(args,(char *)"OO:ArrayChart_Load",&obj0,&obj1)) SWIG_fail;
229610  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__ArrayChart, 0 | 0 );
229611  if (!SWIG_IsOK(res1)) {
229612  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ArrayChart_Load" "', argument " "1"" of type '" "AnimatSim::Charting::ArrayChart *""'");
229613  }
229614  arg1 = reinterpret_cast< AnimatSim::Charting::ArrayChart * >(argp1);
229615  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
229616  if (!SWIG_IsOK(res2)) {
229617  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ArrayChart_Load" "', argument " "2"" of type '" "CStdXml &""'");
229618  }
229619  if (!argp2) {
229620  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ArrayChart_Load" "', argument " "2"" of type '" "CStdXml &""'");
229621  }
229622  arg2 = reinterpret_cast< CStdXml * >(argp2);
229623  {
229624  try {
229625  (arg1)->Load(*arg2);
229626  }
229627  catch(CStdErrorInfo oError)
229628  {
229629  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229630  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229631  PyErr_SetString(PyExc_IndexError, strError.c_str());
229632  SWIG_fail;
229633  }
229634  catch(...)
229635  {
229636  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229637  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229638  SWIG_fail;
229639  }
229640  }
229641  resultobj = SWIG_Py_Void();
229642  return resultobj;
229643 fail:
229644  return NULL;
229645 }
229646 
229647 
229648 SWIGINTERN PyObject *ArrayChart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229649  PyObject *obj;
229650  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
229651  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Charting__ArrayChart, SWIG_NewClientData(obj));
229652  return SWIG_Py_Void();
229653 }
229654 
229655 SWIGINTERN PyObject *_wrap_new_MemoryChart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229656  PyObject *resultobj = 0;
229657  AnimatSim::Charting::MemoryChart *result = 0 ;
229658 
229659  if (!PyArg_ParseTuple(args,(char *)":new_MemoryChart")) SWIG_fail;
229660  {
229661  try {
229663  }
229664  catch(CStdErrorInfo oError)
229665  {
229666  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229667  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229668  PyErr_SetString(PyExc_IndexError, strError.c_str());
229669  SWIG_fail;
229670  }
229671  catch(...)
229672  {
229673  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229674  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229675  SWIG_fail;
229676  }
229677  }
229678  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__MemoryChart, SWIG_POINTER_NEW | 0 );
229679  return resultobj;
229680 fail:
229681  return NULL;
229682 }
229683 
229684 
229685 SWIGINTERN PyObject *_wrap_delete_MemoryChart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229686  PyObject *resultobj = 0;
229688  void *argp1 = 0 ;
229689  int res1 = 0 ;
229690  PyObject * obj0 = 0 ;
229691 
229692  if (!PyArg_ParseTuple(args,(char *)"O:delete_MemoryChart",&obj0)) SWIG_fail;
229693  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__MemoryChart, SWIG_POINTER_DISOWN | 0 );
229694  if (!SWIG_IsOK(res1)) {
229695  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MemoryChart" "', argument " "1"" of type '" "AnimatSim::Charting::MemoryChart *""'");
229696  }
229697  arg1 = reinterpret_cast< AnimatSim::Charting::MemoryChart * >(argp1);
229698  {
229699  try {
229700  delete arg1;
229701  }
229702  catch(CStdErrorInfo oError)
229703  {
229704  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229705  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229706  PyErr_SetString(PyExc_IndexError, strError.c_str());
229707  SWIG_fail;
229708  }
229709  catch(...)
229710  {
229711  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229712  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229713  SWIG_fail;
229714  }
229715  }
229716  resultobj = SWIG_Py_Void();
229717  return resultobj;
229718 fail:
229719  return NULL;
229720 }
229721 
229722 
229723 SWIGINTERN PyObject *_wrap_MemoryChart_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229724  PyObject *resultobj = 0;
229726  void *argp1 = 0 ;
229727  int res1 = 0 ;
229728  PyObject * obj0 = 0 ;
229729  AnimatSim::Charting::MemoryChart *result = 0 ;
229730 
229731  if (!PyArg_ParseTuple(args,(char *)"O:MemoryChart_CastToDerived",&obj0)) SWIG_fail;
229732  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
229733  if (!SWIG_IsOK(res1)) {
229734  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MemoryChart_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
229735  }
229736  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
229737  {
229738  try {
229739  result = (AnimatSim::Charting::MemoryChart *)AnimatSim::Charting::MemoryChart::CastToDerived(arg1);
229740  }
229741  catch(CStdErrorInfo oError)
229742  {
229743  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229744  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229745  PyErr_SetString(PyExc_IndexError, strError.c_str());
229746  SWIG_fail;
229747  }
229748  catch(...)
229749  {
229750  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229751  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229752  SWIG_fail;
229753  }
229754  }
229755  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__MemoryChart, 0 | 0 );
229756  return resultobj;
229757 fail:
229758  return NULL;
229759 }
229760 
229761 
229762 SWIGINTERN PyObject *_wrap_MemoryChart_Type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229763  PyObject *resultobj = 0;
229765  void *argp1 = 0 ;
229766  int res1 = 0 ;
229767  PyObject * obj0 = 0 ;
229768  std::string result;
229769 
229770  if (!PyArg_ParseTuple(args,(char *)"O:MemoryChart_Type",&obj0)) SWIG_fail;
229771  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__MemoryChart, 0 | 0 );
229772  if (!SWIG_IsOK(res1)) {
229773  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MemoryChart_Type" "', argument " "1"" of type '" "AnimatSim::Charting::MemoryChart *""'");
229774  }
229775  arg1 = reinterpret_cast< AnimatSim::Charting::MemoryChart * >(argp1);
229776  {
229777  try {
229778  result = (arg1)->Type();
229779  }
229780  catch(CStdErrorInfo oError)
229781  {
229782  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229783  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229784  PyErr_SetString(PyExc_IndexError, strError.c_str());
229785  SWIG_fail;
229786  }
229787  catch(...)
229788  {
229789  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229790  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229791  SWIG_fail;
229792  }
229793  }
229794  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
229795  return resultobj;
229796 fail:
229797  return NULL;
229798 }
229799 
229800 
229801 SWIGINTERN PyObject *_wrap_MemoryChart_Lock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229802  PyObject *resultobj = 0;
229804  void *argp1 = 0 ;
229805  int res1 = 0 ;
229806  PyObject * obj0 = 0 ;
229807  bool result;
229808 
229809  if (!PyArg_ParseTuple(args,(char *)"O:MemoryChart_Lock",&obj0)) SWIG_fail;
229810  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__MemoryChart, 0 | 0 );
229811  if (!SWIG_IsOK(res1)) {
229812  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MemoryChart_Lock" "', argument " "1"" of type '" "AnimatSim::Charting::MemoryChart *""'");
229813  }
229814  arg1 = reinterpret_cast< AnimatSim::Charting::MemoryChart * >(argp1);
229815  {
229816  try {
229817  result = (bool)(arg1)->Lock();
229818  }
229819  catch(CStdErrorInfo oError)
229820  {
229821  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229822  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229823  PyErr_SetString(PyExc_IndexError, strError.c_str());
229824  SWIG_fail;
229825  }
229826  catch(...)
229827  {
229828  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229829  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229830  SWIG_fail;
229831  }
229832  }
229833  resultobj = SWIG_From_bool(static_cast< bool >(result));
229834  return resultobj;
229835 fail:
229836  return NULL;
229837 }
229838 
229839 
229840 SWIGINTERN PyObject *_wrap_MemoryChart_Unlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229841  PyObject *resultobj = 0;
229843  void *argp1 = 0 ;
229844  int res1 = 0 ;
229845  PyObject * obj0 = 0 ;
229846 
229847  if (!PyArg_ParseTuple(args,(char *)"O:MemoryChart_Unlock",&obj0)) SWIG_fail;
229848  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__MemoryChart, 0 | 0 );
229849  if (!SWIG_IsOK(res1)) {
229850  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MemoryChart_Unlock" "', argument " "1"" of type '" "AnimatSim::Charting::MemoryChart *""'");
229851  }
229852  arg1 = reinterpret_cast< AnimatSim::Charting::MemoryChart * >(argp1);
229853  {
229854  try {
229855  (arg1)->Unlock();
229856  }
229857  catch(CStdErrorInfo oError)
229858  {
229859  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229860  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229861  PyErr_SetString(PyExc_IndexError, strError.c_str());
229862  SWIG_fail;
229863  }
229864  catch(...)
229865  {
229866  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229867  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229868  SWIG_fail;
229869  }
229870  }
229871  resultobj = SWIG_Py_Void();
229872  return resultobj;
229873 fail:
229874  return NULL;
229875 }
229876 
229877 
229878 SWIGINTERN PyObject *_wrap_MemoryChart_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229879  PyObject *resultobj = 0;
229881  void *argp1 = 0 ;
229882  int res1 = 0 ;
229883  PyObject * obj0 = 0 ;
229884 
229885  if (!PyArg_ParseTuple(args,(char *)"O:MemoryChart_Initialize",&obj0)) SWIG_fail;
229886  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__MemoryChart, 0 | 0 );
229887  if (!SWIG_IsOK(res1)) {
229888  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MemoryChart_Initialize" "', argument " "1"" of type '" "AnimatSim::Charting::MemoryChart *""'");
229889  }
229890  arg1 = reinterpret_cast< AnimatSim::Charting::MemoryChart * >(argp1);
229891  {
229892  try {
229893  (arg1)->Initialize();
229894  }
229895  catch(CStdErrorInfo oError)
229896  {
229897  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229898  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229899  PyErr_SetString(PyExc_IndexError, strError.c_str());
229900  SWIG_fail;
229901  }
229902  catch(...)
229903  {
229904  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229905  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229906  SWIG_fail;
229907  }
229908  }
229909  resultobj = SWIG_Py_Void();
229910  return resultobj;
229911 fail:
229912  return NULL;
229913 }
229914 
229915 
229916 SWIGINTERN PyObject *_wrap_MemoryChart_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229917  PyObject *resultobj = 0;
229919  void *argp1 = 0 ;
229920  int res1 = 0 ;
229921  PyObject * obj0 = 0 ;
229922 
229923  if (!PyArg_ParseTuple(args,(char *)"O:MemoryChart_StepSimulation",&obj0)) SWIG_fail;
229924  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__MemoryChart, 0 | 0 );
229925  if (!SWIG_IsOK(res1)) {
229926  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MemoryChart_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Charting::MemoryChart *""'");
229927  }
229928  arg1 = reinterpret_cast< AnimatSim::Charting::MemoryChart * >(argp1);
229929  {
229930  try {
229931  (arg1)->StepSimulation();
229932  }
229933  catch(CStdErrorInfo oError)
229934  {
229935  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229936  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229937  PyErr_SetString(PyExc_IndexError, strError.c_str());
229938  SWIG_fail;
229939  }
229940  catch(...)
229941  {
229942  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229943  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229944  SWIG_fail;
229945  }
229946  }
229947  resultobj = SWIG_Py_Void();
229948  return resultobj;
229949 fail:
229950  return NULL;
229951 }
229952 
229953 
229954 SWIGINTERN PyObject *_wrap_MemoryChart_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
229955  PyObject *resultobj = 0;
229957  CStdXml *arg2 = 0 ;
229958  void *argp1 = 0 ;
229959  int res1 = 0 ;
229960  void *argp2 = 0 ;
229961  int res2 = 0 ;
229962  PyObject * obj0 = 0 ;
229963  PyObject * obj1 = 0 ;
229964 
229965  if (!PyArg_ParseTuple(args,(char *)"OO:MemoryChart_Load",&obj0,&obj1)) SWIG_fail;
229966  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__MemoryChart, 0 | 0 );
229967  if (!SWIG_IsOK(res1)) {
229968  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MemoryChart_Load" "', argument " "1"" of type '" "AnimatSim::Charting::MemoryChart *""'");
229969  }
229970  arg1 = reinterpret_cast< AnimatSim::Charting::MemoryChart * >(argp1);
229971  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
229972  if (!SWIG_IsOK(res2)) {
229973  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MemoryChart_Load" "', argument " "2"" of type '" "CStdXml &""'");
229974  }
229975  if (!argp2) {
229976  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MemoryChart_Load" "', argument " "2"" of type '" "CStdXml &""'");
229977  }
229978  arg2 = reinterpret_cast< CStdXml * >(argp2);
229979  {
229980  try {
229981  (arg1)->Load(*arg2);
229982  }
229983  catch(CStdErrorInfo oError)
229984  {
229985  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229986  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
229987  PyErr_SetString(PyExc_IndexError, strError.c_str());
229988  SWIG_fail;
229989  }
229990  catch(...)
229991  {
229992  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
229993  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
229994  SWIG_fail;
229995  }
229996  }
229997  resultobj = SWIG_Py_Void();
229998  return resultobj;
229999 fail:
230000  return NULL;
230001 }
230002 
230003 
230004 SWIGINTERN PyObject *MemoryChart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230005  PyObject *obj;
230006  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
230007  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Charting__MemoryChart, SWIG_NewClientData(obj));
230008  return SWIG_Py_Void();
230009 }
230010 
230011 SWIGINTERN PyObject *_wrap_new_DataChartMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230012  PyObject *resultobj = 0;
230013  AnimatSim::Charting::DataChartMgr *result = 0 ;
230014 
230015  if (!PyArg_ParseTuple(args,(char *)":new_DataChartMgr")) SWIG_fail;
230016  {
230017  try {
230019  }
230020  catch(CStdErrorInfo oError)
230021  {
230022  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230023  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230024  PyErr_SetString(PyExc_IndexError, strError.c_str());
230025  SWIG_fail;
230026  }
230027  catch(...)
230028  {
230029  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230030  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230031  SWIG_fail;
230032  }
230033  }
230034  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, SWIG_POINTER_NEW | 0 );
230035  return resultobj;
230036 fail:
230037  return NULL;
230038 }
230039 
230040 
230041 SWIGINTERN PyObject *_wrap_delete_DataChartMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230042  PyObject *resultobj = 0;
230044  void *argp1 = 0 ;
230045  int res1 = 0 ;
230046  PyObject * obj0 = 0 ;
230047 
230048  if (!PyArg_ParseTuple(args,(char *)"O:delete_DataChartMgr",&obj0)) SWIG_fail;
230049  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, SWIG_POINTER_DISOWN | 0 );
230050  if (!SWIG_IsOK(res1)) {
230051  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataChartMgr" "', argument " "1"" of type '" "AnimatSim::Charting::DataChartMgr *""'");
230052  }
230053  arg1 = reinterpret_cast< AnimatSim::Charting::DataChartMgr * >(argp1);
230054  {
230055  try {
230056  delete arg1;
230057  }
230058  catch(CStdErrorInfo oError)
230059  {
230060  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230061  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230062  PyErr_SetString(PyExc_IndexError, strError.c_str());
230063  SWIG_fail;
230064  }
230065  catch(...)
230066  {
230067  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230068  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230069  SWIG_fail;
230070  }
230071  }
230072  resultobj = SWIG_Py_Void();
230073  return resultobj;
230074 fail:
230075  return NULL;
230076 }
230077 
230078 
230079 SWIGINTERN PyObject *_wrap_DataChartMgr_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230080  PyObject *resultobj = 0;
230082  void *argp1 = 0 ;
230083  int res1 = 0 ;
230084  PyObject * obj0 = 0 ;
230085  AnimatSim::Charting::DataChartMgr *result = 0 ;
230086 
230087  if (!PyArg_ParseTuple(args,(char *)"O:DataChartMgr_CastToDerived",&obj0)) SWIG_fail;
230088  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
230089  if (!SWIG_IsOK(res1)) {
230090  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChartMgr_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
230091  }
230092  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
230093  {
230094  try {
230095  result = (AnimatSim::Charting::DataChartMgr *)AnimatSim::Charting::DataChartMgr::CastToDerived(arg1);
230096  }
230097  catch(CStdErrorInfo oError)
230098  {
230099  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230100  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230101  PyErr_SetString(PyExc_IndexError, strError.c_str());
230102  SWIG_fail;
230103  }
230104  catch(...)
230105  {
230106  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230107  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230108  SWIG_fail;
230109  }
230110  }
230111  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, 0 | 0 );
230112  return resultobj;
230113 fail:
230114  return NULL;
230115 }
230116 
230117 
230118 SWIGINTERN PyObject *_wrap_DataChartMgr_AddDataChart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230119  PyObject *resultobj = 0;
230121  std::string arg2 ;
230122  void *argp1 = 0 ;
230123  int res1 = 0 ;
230124  PyObject * obj0 = 0 ;
230125  PyObject * obj1 = 0 ;
230126  bool result;
230127 
230128  if (!PyArg_ParseTuple(args,(char *)"OO:DataChartMgr_AddDataChart",&obj0,&obj1)) SWIG_fail;
230129  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, 0 | 0 );
230130  if (!SWIG_IsOK(res1)) {
230131  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChartMgr_AddDataChart" "', argument " "1"" of type '" "AnimatSim::Charting::DataChartMgr *""'");
230132  }
230133  arg1 = reinterpret_cast< AnimatSim::Charting::DataChartMgr * >(argp1);
230134  {
230135  std::string *ptr = (std::string *)0;
230136  int res = SWIG_AsPtr_std_string(obj1, &ptr);
230137  if (!SWIG_IsOK(res) || !ptr) {
230138  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChartMgr_AddDataChart" "', argument " "2"" of type '" "std::string""'");
230139  }
230140  arg2 = *ptr;
230141  if (SWIG_IsNewObj(res)) delete ptr;
230142  }
230143  {
230144  try {
230145  result = (bool)(arg1)->AddDataChart(arg2);
230146  }
230147  catch(CStdErrorInfo oError)
230148  {
230149  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230150  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230151  PyErr_SetString(PyExc_IndexError, strError.c_str());
230152  SWIG_fail;
230153  }
230154  catch(...)
230155  {
230156  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230157  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230158  SWIG_fail;
230159  }
230160  }
230161  resultobj = SWIG_From_bool(static_cast< bool >(result));
230162  return resultobj;
230163 fail:
230164  return NULL;
230165 }
230166 
230167 
230168 SWIGINTERN PyObject *_wrap_DataChartMgr_RemoveDataChart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230169  PyObject *resultobj = 0;
230171  std::string arg2 ;
230172  void *argp1 = 0 ;
230173  int res1 = 0 ;
230174  PyObject * obj0 = 0 ;
230175  PyObject * obj1 = 0 ;
230176  bool result;
230177 
230178  if (!PyArg_ParseTuple(args,(char *)"OO:DataChartMgr_RemoveDataChart",&obj0,&obj1)) SWIG_fail;
230179  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, 0 | 0 );
230180  if (!SWIG_IsOK(res1)) {
230181  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChartMgr_RemoveDataChart" "', argument " "1"" of type '" "AnimatSim::Charting::DataChartMgr *""'");
230182  }
230183  arg1 = reinterpret_cast< AnimatSim::Charting::DataChartMgr * >(argp1);
230184  {
230185  std::string *ptr = (std::string *)0;
230186  int res = SWIG_AsPtr_std_string(obj1, &ptr);
230187  if (!SWIG_IsOK(res) || !ptr) {
230188  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChartMgr_RemoveDataChart" "', argument " "2"" of type '" "std::string""'");
230189  }
230190  arg2 = *ptr;
230191  if (SWIG_IsNewObj(res)) delete ptr;
230192  }
230193  {
230194  try {
230195  result = (bool)(arg1)->RemoveDataChart(arg2);
230196  }
230197  catch(CStdErrorInfo oError)
230198  {
230199  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230200  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230201  PyErr_SetString(PyExc_IndexError, strError.c_str());
230202  SWIG_fail;
230203  }
230204  catch(...)
230205  {
230206  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230207  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230208  SWIG_fail;
230209  }
230210  }
230211  resultobj = SWIG_From_bool(static_cast< bool >(result));
230212  return resultobj;
230213 fail:
230214  return NULL;
230215 }
230216 
230217 
230218 SWIGINTERN PyObject *_wrap_DataChartMgr_AddDataColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230219  PyObject *resultobj = 0;
230221  std::string arg2 ;
230223  void *argp1 = 0 ;
230224  int res1 = 0 ;
230225  void *argp3 = 0 ;
230226  int res3 = 0 ;
230227  PyObject * obj0 = 0 ;
230228  PyObject * obj1 = 0 ;
230229  PyObject * obj2 = 0 ;
230230 
230231  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChartMgr_AddDataColumn",&obj0,&obj1,&obj2)) SWIG_fail;
230232  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, 0 | 0 );
230233  if (!SWIG_IsOK(res1)) {
230234  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChartMgr_AddDataColumn" "', argument " "1"" of type '" "AnimatSim::Charting::DataChartMgr *""'");
230235  }
230236  arg1 = reinterpret_cast< AnimatSim::Charting::DataChartMgr * >(argp1);
230237  {
230238  std::string *ptr = (std::string *)0;
230239  int res = SWIG_AsPtr_std_string(obj1, &ptr);
230240  if (!SWIG_IsOK(res) || !ptr) {
230241  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChartMgr_AddDataColumn" "', argument " "2"" of type '" "std::string""'");
230242  }
230243  arg2 = *ptr;
230244  if (SWIG_IsNewObj(res)) delete ptr;
230245  }
230246  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
230247  if (!SWIG_IsOK(res3)) {
230248  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataChartMgr_AddDataColumn" "', argument " "3"" of type '" "AnimatSim::Charting::DataColumn *""'");
230249  }
230250  arg3 = reinterpret_cast< AnimatSim::Charting::DataColumn * >(argp3);
230251  {
230252  try {
230253  (arg1)->AddDataColumn(arg2,arg3);
230254  }
230255  catch(CStdErrorInfo oError)
230256  {
230257  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230258  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230259  PyErr_SetString(PyExc_IndexError, strError.c_str());
230260  SWIG_fail;
230261  }
230262  catch(...)
230263  {
230264  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230265  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230266  SWIG_fail;
230267  }
230268  }
230269  resultobj = SWIG_Py_Void();
230270  return resultobj;
230271 fail:
230272  return NULL;
230273 }
230274 
230275 
230276 SWIGINTERN PyObject *_wrap_DataChartMgr_RemoveDataColumn__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230277  PyObject *resultobj = 0;
230279  std::string arg2 ;
230280  std::string arg3 ;
230281  bool arg4 ;
230282  void *argp1 = 0 ;
230283  int res1 = 0 ;
230284  bool val4 ;
230285  int ecode4 = 0 ;
230286  PyObject * obj0 = 0 ;
230287  PyObject * obj1 = 0 ;
230288  PyObject * obj2 = 0 ;
230289  PyObject * obj3 = 0 ;
230290 
230291  if (!PyArg_ParseTuple(args,(char *)"OOOO:DataChartMgr_RemoveDataColumn",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
230292  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, 0 | 0 );
230293  if (!SWIG_IsOK(res1)) {
230294  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChartMgr_RemoveDataColumn" "', argument " "1"" of type '" "AnimatSim::Charting::DataChartMgr *""'");
230295  }
230296  arg1 = reinterpret_cast< AnimatSim::Charting::DataChartMgr * >(argp1);
230297  {
230298  std::string *ptr = (std::string *)0;
230299  int res = SWIG_AsPtr_std_string(obj1, &ptr);
230300  if (!SWIG_IsOK(res) || !ptr) {
230301  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChartMgr_RemoveDataColumn" "', argument " "2"" of type '" "std::string""'");
230302  }
230303  arg2 = *ptr;
230304  if (SWIG_IsNewObj(res)) delete ptr;
230305  }
230306  {
230307  std::string *ptr = (std::string *)0;
230308  int res = SWIG_AsPtr_std_string(obj2, &ptr);
230309  if (!SWIG_IsOK(res) || !ptr) {
230310  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChartMgr_RemoveDataColumn" "', argument " "3"" of type '" "std::string""'");
230311  }
230312  arg3 = *ptr;
230313  if (SWIG_IsNewObj(res)) delete ptr;
230314  }
230315  ecode4 = SWIG_AsVal_bool(obj3, &val4);
230316  if (!SWIG_IsOK(ecode4)) {
230317  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataChartMgr_RemoveDataColumn" "', argument " "4"" of type '" "bool""'");
230318  }
230319  arg4 = static_cast< bool >(val4);
230320  {
230321  try {
230322  (arg1)->RemoveDataColumn(arg2,arg3,arg4);
230323  }
230324  catch(CStdErrorInfo oError)
230325  {
230326  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230327  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230328  PyErr_SetString(PyExc_IndexError, strError.c_str());
230329  SWIG_fail;
230330  }
230331  catch(...)
230332  {
230333  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230334  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230335  SWIG_fail;
230336  }
230337  }
230338  resultobj = SWIG_Py_Void();
230339  return resultobj;
230340 fail:
230341  return NULL;
230342 }
230343 
230344 
230345 SWIGINTERN PyObject *_wrap_DataChartMgr_RemoveDataColumn__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230346  PyObject *resultobj = 0;
230348  std::string arg2 ;
230349  std::string arg3 ;
230350  void *argp1 = 0 ;
230351  int res1 = 0 ;
230352  PyObject * obj0 = 0 ;
230353  PyObject * obj1 = 0 ;
230354  PyObject * obj2 = 0 ;
230355 
230356  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChartMgr_RemoveDataColumn",&obj0,&obj1,&obj2)) SWIG_fail;
230357  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, 0 | 0 );
230358  if (!SWIG_IsOK(res1)) {
230359  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChartMgr_RemoveDataColumn" "', argument " "1"" of type '" "AnimatSim::Charting::DataChartMgr *""'");
230360  }
230361  arg1 = reinterpret_cast< AnimatSim::Charting::DataChartMgr * >(argp1);
230362  {
230363  std::string *ptr = (std::string *)0;
230364  int res = SWIG_AsPtr_std_string(obj1, &ptr);
230365  if (!SWIG_IsOK(res) || !ptr) {
230366  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChartMgr_RemoveDataColumn" "', argument " "2"" of type '" "std::string""'");
230367  }
230368  arg2 = *ptr;
230369  if (SWIG_IsNewObj(res)) delete ptr;
230370  }
230371  {
230372  std::string *ptr = (std::string *)0;
230373  int res = SWIG_AsPtr_std_string(obj2, &ptr);
230374  if (!SWIG_IsOK(res) || !ptr) {
230375  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChartMgr_RemoveDataColumn" "', argument " "3"" of type '" "std::string""'");
230376  }
230377  arg3 = *ptr;
230378  if (SWIG_IsNewObj(res)) delete ptr;
230379  }
230380  {
230381  try {
230382  (arg1)->RemoveDataColumn(arg2,arg3);
230383  }
230384  catch(CStdErrorInfo oError)
230385  {
230386  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230387  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230388  PyErr_SetString(PyExc_IndexError, strError.c_str());
230389  SWIG_fail;
230390  }
230391  catch(...)
230392  {
230393  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230394  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230395  SWIG_fail;
230396  }
230397  }
230398  resultobj = SWIG_Py_Void();
230399  return resultobj;
230400 fail:
230401  return NULL;
230402 }
230403 
230404 
230405 SWIGINTERN PyObject *_wrap_DataChartMgr_RemoveDataColumn(PyObject *self, PyObject *args) {
230406  int argc;
230407  PyObject *argv[5];
230408  int ii;
230409 
230410  if (!PyTuple_Check(args)) SWIG_fail;
230411  argc = args ? (int)PyObject_Length(args) : 0;
230412  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
230413  argv[ii] = PyTuple_GET_ITEM(args,ii);
230414  }
230415  if (argc == 3) {
230416  int _v;
230417  void *vptr = 0;
230418  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, 0);
230419  _v = SWIG_CheckState(res);
230420  if (_v) {
230421  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
230422  _v = SWIG_CheckState(res);
230423  if (_v) {
230424  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
230425  _v = SWIG_CheckState(res);
230426  if (_v) {
230427  return _wrap_DataChartMgr_RemoveDataColumn__SWIG_1(self, args);
230428  }
230429  }
230430  }
230431  }
230432  if (argc == 4) {
230433  int _v;
230434  void *vptr = 0;
230435  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, 0);
230436  _v = SWIG_CheckState(res);
230437  if (_v) {
230438  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
230439  _v = SWIG_CheckState(res);
230440  if (_v) {
230441  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
230442  _v = SWIG_CheckState(res);
230443  if (_v) {
230444  {
230445  int res = SWIG_AsVal_bool(argv[3], NULL);
230446  _v = SWIG_CheckState(res);
230447  }
230448  if (_v) {
230449  return _wrap_DataChartMgr_RemoveDataColumn__SWIG_0(self, args);
230450  }
230451  }
230452  }
230453  }
230454  }
230455 
230456 fail:
230457  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChartMgr_RemoveDataColumn'.\n"
230458  " Possible C/C++ prototypes are:\n"
230459  " AnimatSim::Charting::DataChartMgr::RemoveDataColumn(std::string,std::string,bool)\n"
230460  " AnimatSim::Charting::DataChartMgr::RemoveDataColumn(std::string,std::string)\n");
230461  return 0;
230462 }
230463 
230464 
230465 SWIGINTERN PyObject *_wrap_DataChartMgr_FindDataColumn__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230466  PyObject *resultobj = 0;
230468  std::string arg2 ;
230469  std::string arg3 ;
230470  bool arg4 ;
230471  void *argp1 = 0 ;
230472  int res1 = 0 ;
230473  bool val4 ;
230474  int ecode4 = 0 ;
230475  PyObject * obj0 = 0 ;
230476  PyObject * obj1 = 0 ;
230477  PyObject * obj2 = 0 ;
230478  PyObject * obj3 = 0 ;
230479  AnimatSim::Charting::DataColumn *result = 0 ;
230480 
230481  if (!PyArg_ParseTuple(args,(char *)"OOOO:DataChartMgr_FindDataColumn",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
230482  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, 0 | 0 );
230483  if (!SWIG_IsOK(res1)) {
230484  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChartMgr_FindDataColumn" "', argument " "1"" of type '" "AnimatSim::Charting::DataChartMgr *""'");
230485  }
230486  arg1 = reinterpret_cast< AnimatSim::Charting::DataChartMgr * >(argp1);
230487  {
230488  std::string *ptr = (std::string *)0;
230489  int res = SWIG_AsPtr_std_string(obj1, &ptr);
230490  if (!SWIG_IsOK(res) || !ptr) {
230491  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChartMgr_FindDataColumn" "', argument " "2"" of type '" "std::string""'");
230492  }
230493  arg2 = *ptr;
230494  if (SWIG_IsNewObj(res)) delete ptr;
230495  }
230496  {
230497  std::string *ptr = (std::string *)0;
230498  int res = SWIG_AsPtr_std_string(obj2, &ptr);
230499  if (!SWIG_IsOK(res) || !ptr) {
230500  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChartMgr_FindDataColumn" "', argument " "3"" of type '" "std::string""'");
230501  }
230502  arg3 = *ptr;
230503  if (SWIG_IsNewObj(res)) delete ptr;
230504  }
230505  ecode4 = SWIG_AsVal_bool(obj3, &val4);
230506  if (!SWIG_IsOK(ecode4)) {
230507  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DataChartMgr_FindDataColumn" "', argument " "4"" of type '" "bool""'");
230508  }
230509  arg4 = static_cast< bool >(val4);
230510  {
230511  try {
230512  result = (AnimatSim::Charting::DataColumn *)(arg1)->FindDataColumn(arg2,arg3,arg4);
230513  }
230514  catch(CStdErrorInfo oError)
230515  {
230516  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230517  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230518  PyErr_SetString(PyExc_IndexError, strError.c_str());
230519  SWIG_fail;
230520  }
230521  catch(...)
230522  {
230523  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230524  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230525  SWIG_fail;
230526  }
230527  }
230528  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
230529  return resultobj;
230530 fail:
230531  return NULL;
230532 }
230533 
230534 
230535 SWIGINTERN PyObject *_wrap_DataChartMgr_FindDataColumn__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230536  PyObject *resultobj = 0;
230538  std::string arg2 ;
230539  std::string arg3 ;
230540  void *argp1 = 0 ;
230541  int res1 = 0 ;
230542  PyObject * obj0 = 0 ;
230543  PyObject * obj1 = 0 ;
230544  PyObject * obj2 = 0 ;
230545  AnimatSim::Charting::DataColumn *result = 0 ;
230546 
230547  if (!PyArg_ParseTuple(args,(char *)"OOO:DataChartMgr_FindDataColumn",&obj0,&obj1,&obj2)) SWIG_fail;
230548  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, 0 | 0 );
230549  if (!SWIG_IsOK(res1)) {
230550  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChartMgr_FindDataColumn" "', argument " "1"" of type '" "AnimatSim::Charting::DataChartMgr *""'");
230551  }
230552  arg1 = reinterpret_cast< AnimatSim::Charting::DataChartMgr * >(argp1);
230553  {
230554  std::string *ptr = (std::string *)0;
230555  int res = SWIG_AsPtr_std_string(obj1, &ptr);
230556  if (!SWIG_IsOK(res) || !ptr) {
230557  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChartMgr_FindDataColumn" "', argument " "2"" of type '" "std::string""'");
230558  }
230559  arg2 = *ptr;
230560  if (SWIG_IsNewObj(res)) delete ptr;
230561  }
230562  {
230563  std::string *ptr = (std::string *)0;
230564  int res = SWIG_AsPtr_std_string(obj2, &ptr);
230565  if (!SWIG_IsOK(res) || !ptr) {
230566  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "DataChartMgr_FindDataColumn" "', argument " "3"" of type '" "std::string""'");
230567  }
230568  arg3 = *ptr;
230569  if (SWIG_IsNewObj(res)) delete ptr;
230570  }
230571  {
230572  try {
230573  result = (AnimatSim::Charting::DataColumn *)(arg1)->FindDataColumn(arg2,arg3);
230574  }
230575  catch(CStdErrorInfo oError)
230576  {
230577  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230578  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230579  PyErr_SetString(PyExc_IndexError, strError.c_str());
230580  SWIG_fail;
230581  }
230582  catch(...)
230583  {
230584  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230585  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230586  SWIG_fail;
230587  }
230588  }
230589  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Charting__DataColumn, 0 | 0 );
230590  return resultobj;
230591 fail:
230592  return NULL;
230593 }
230594 
230595 
230596 SWIGINTERN PyObject *_wrap_DataChartMgr_FindDataColumn(PyObject *self, PyObject *args) {
230597  int argc;
230598  PyObject *argv[5];
230599  int ii;
230600 
230601  if (!PyTuple_Check(args)) SWIG_fail;
230602  argc = args ? (int)PyObject_Length(args) : 0;
230603  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
230604  argv[ii] = PyTuple_GET_ITEM(args,ii);
230605  }
230606  if (argc == 3) {
230607  int _v;
230608  void *vptr = 0;
230609  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, 0);
230610  _v = SWIG_CheckState(res);
230611  if (_v) {
230612  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
230613  _v = SWIG_CheckState(res);
230614  if (_v) {
230615  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
230616  _v = SWIG_CheckState(res);
230617  if (_v) {
230618  return _wrap_DataChartMgr_FindDataColumn__SWIG_1(self, args);
230619  }
230620  }
230621  }
230622  }
230623  if (argc == 4) {
230624  int _v;
230625  void *vptr = 0;
230626  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, 0);
230627  _v = SWIG_CheckState(res);
230628  if (_v) {
230629  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
230630  _v = SWIG_CheckState(res);
230631  if (_v) {
230632  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
230633  _v = SWIG_CheckState(res);
230634  if (_v) {
230635  {
230636  int res = SWIG_AsVal_bool(argv[3], NULL);
230637  _v = SWIG_CheckState(res);
230638  }
230639  if (_v) {
230640  return _wrap_DataChartMgr_FindDataColumn__SWIG_0(self, args);
230641  }
230642  }
230643  }
230644  }
230645  }
230646 
230647 fail:
230648  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataChartMgr_FindDataColumn'.\n"
230649  " Possible C/C++ prototypes are:\n"
230650  " AnimatSim::Charting::DataChartMgr::FindDataColumn(std::string,std::string,bool)\n"
230651  " AnimatSim::Charting::DataChartMgr::FindDataColumn(std::string,std::string)\n");
230652  return 0;
230653 }
230654 
230655 
230656 SWIGINTERN PyObject *_wrap_DataChartMgr_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230657  PyObject *resultobj = 0;
230659  CStdXml *arg2 = 0 ;
230660  void *argp1 = 0 ;
230661  int res1 = 0 ;
230662  void *argp2 = 0 ;
230663  int res2 = 0 ;
230664  PyObject * obj0 = 0 ;
230665  PyObject * obj1 = 0 ;
230666 
230667  if (!PyArg_ParseTuple(args,(char *)"OO:DataChartMgr_Load",&obj0,&obj1)) SWIG_fail;
230668  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, 0 | 0 );
230669  if (!SWIG_IsOK(res1)) {
230670  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataChartMgr_Load" "', argument " "1"" of type '" "AnimatSim::Charting::DataChartMgr *""'");
230671  }
230672  arg1 = reinterpret_cast< AnimatSim::Charting::DataChartMgr * >(argp1);
230673  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
230674  if (!SWIG_IsOK(res2)) {
230675  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataChartMgr_Load" "', argument " "2"" of type '" "CStdXml &""'");
230676  }
230677  if (!argp2) {
230678  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataChartMgr_Load" "', argument " "2"" of type '" "CStdXml &""'");
230679  }
230680  arg2 = reinterpret_cast< CStdXml * >(argp2);
230681  {
230682  try {
230683  (arg1)->Load(*arg2);
230684  }
230685  catch(CStdErrorInfo oError)
230686  {
230687  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230688  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230689  PyErr_SetString(PyExc_IndexError, strError.c_str());
230690  SWIG_fail;
230691  }
230692  catch(...)
230693  {
230694  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230695  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230696  SWIG_fail;
230697  }
230698  }
230699  resultobj = SWIG_Py_Void();
230700  return resultobj;
230701 fail:
230702  return NULL;
230703 }
230704 
230705 
230706 SWIGINTERN PyObject *DataChartMgr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230707  PyObject *obj;
230708  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
230709  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Charting__DataChartMgr, SWIG_NewClientData(obj));
230710  return SWIG_Py_Void();
230711 }
230712 
230713 SWIGINTERN PyObject *_wrap_new_ExternalStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230714  PyObject *resultobj = 0;
230716 
230717  if (!PyArg_ParseTuple(args,(char *)":new_ExternalStimulus")) SWIG_fail;
230718  {
230719  try {
230721  }
230722  catch(CStdErrorInfo oError)
230723  {
230724  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230725  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230726  PyErr_SetString(PyExc_IndexError, strError.c_str());
230727  SWIG_fail;
230728  }
230729  catch(...)
230730  {
230731  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230732  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230733  SWIG_fail;
230734  }
230735  }
230736  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimulus, SWIG_POINTER_NEW | 0 );
230737  return resultobj;
230738 fail:
230739  return NULL;
230740 }
230741 
230742 
230743 SWIGINTERN PyObject *_wrap_delete_ExternalStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230744  PyObject *resultobj = 0;
230746  void *argp1 = 0 ;
230747  int res1 = 0 ;
230748  PyObject * obj0 = 0 ;
230749 
230750  if (!PyArg_ParseTuple(args,(char *)"O:delete_ExternalStimulus",&obj0)) SWIG_fail;
230751  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimulus, SWIG_POINTER_DISOWN | 0 );
230752  if (!SWIG_IsOK(res1)) {
230753  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ExternalStimulus" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalStimulus *""'");
230754  }
230755  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalStimulus * >(argp1);
230756  {
230757  try {
230758  delete arg1;
230759  }
230760  catch(CStdErrorInfo oError)
230761  {
230762  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230763  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230764  PyErr_SetString(PyExc_IndexError, strError.c_str());
230765  SWIG_fail;
230766  }
230767  catch(...)
230768  {
230769  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230770  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230771  SWIG_fail;
230772  }
230773  }
230774  resultobj = SWIG_Py_Void();
230775  return resultobj;
230776 fail:
230777  return NULL;
230778 }
230779 
230780 
230781 SWIGINTERN PyObject *_wrap_ExternalStimulus_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230782  PyObject *resultobj = 0;
230784  void *argp1 = 0 ;
230785  int res1 = 0 ;
230786  PyObject * obj0 = 0 ;
230788 
230789  if (!PyArg_ParseTuple(args,(char *)"O:ExternalStimulus_CastToDerived",&obj0)) SWIG_fail;
230790  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
230791  if (!SWIG_IsOK(res1)) {
230792  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalStimulus_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
230793  }
230794  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
230795  {
230796  try {
230797  result = (AnimatSim::ExternalStimuli::ExternalStimulus *)AnimatSim::ExternalStimuli::ExternalStimulus::CastToDerived(arg1);
230798  }
230799  catch(CStdErrorInfo oError)
230800  {
230801  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230802  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230803  PyErr_SetString(PyExc_IndexError, strError.c_str());
230804  SWIG_fail;
230805  }
230806  catch(...)
230807  {
230808  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230809  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230810  SWIG_fail;
230811  }
230812  }
230813  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimulus, 0 | 0 );
230814  return resultobj;
230815 fail:
230816  return NULL;
230817 }
230818 
230819 
230820 SWIGINTERN PyObject *_wrap_ExternalStimulus_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230821  PyObject *resultobj = 0;
230823  std::string *arg2 = 0 ;
230824  std::string *arg3 = 0 ;
230825  bool arg4 ;
230826  void *argp1 = 0 ;
230827  int res1 = 0 ;
230828  int res2 = SWIG_OLDOBJ ;
230829  int res3 = SWIG_OLDOBJ ;
230830  bool val4 ;
230831  int ecode4 = 0 ;
230832  PyObject * obj0 = 0 ;
230833  PyObject * obj1 = 0 ;
230834  PyObject * obj2 = 0 ;
230835  PyObject * obj3 = 0 ;
230836  bool result;
230837 
230838  if (!PyArg_ParseTuple(args,(char *)"OOOO:ExternalStimulus_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
230839  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimulus, 0 | 0 );
230840  if (!SWIG_IsOK(res1)) {
230841  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalStimulus_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalStimulus *""'");
230842  }
230843  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalStimulus * >(argp1);
230844  {
230845  std::string *ptr = (std::string *)0;
230846  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
230847  if (!SWIG_IsOK(res2)) {
230848  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ExternalStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
230849  }
230850  if (!ptr) {
230851  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExternalStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
230852  }
230853  arg2 = ptr;
230854  }
230855  {
230856  std::string *ptr = (std::string *)0;
230857  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
230858  if (!SWIG_IsOK(res3)) {
230859  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ExternalStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
230860  }
230861  if (!ptr) {
230862  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExternalStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
230863  }
230864  arg3 = ptr;
230865  }
230866  ecode4 = SWIG_AsVal_bool(obj3, &val4);
230867  if (!SWIG_IsOK(ecode4)) {
230868  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ExternalStimulus_SetData" "', argument " "4"" of type '" "bool""'");
230869  }
230870  arg4 = static_cast< bool >(val4);
230871  {
230872  try {
230873  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
230874  }
230875  catch(CStdErrorInfo oError)
230876  {
230877  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230878  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230879  PyErr_SetString(PyExc_IndexError, strError.c_str());
230880  SWIG_fail;
230881  }
230882  catch(...)
230883  {
230884  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230885  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230886  SWIG_fail;
230887  }
230888  }
230889  resultobj = SWIG_From_bool(static_cast< bool >(result));
230890  if (SWIG_IsNewObj(res2)) delete arg2;
230891  if (SWIG_IsNewObj(res3)) delete arg3;
230892  return resultobj;
230893 fail:
230894  if (SWIG_IsNewObj(res2)) delete arg2;
230895  if (SWIG_IsNewObj(res3)) delete arg3;
230896  return NULL;
230897 }
230898 
230899 
230900 SWIGINTERN PyObject *_wrap_ExternalStimulus_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
230901  PyObject *resultobj = 0;
230903  std::string *arg2 = 0 ;
230904  std::string *arg3 = 0 ;
230905  void *argp1 = 0 ;
230906  int res1 = 0 ;
230907  int res2 = SWIG_OLDOBJ ;
230908  int res3 = SWIG_OLDOBJ ;
230909  PyObject * obj0 = 0 ;
230910  PyObject * obj1 = 0 ;
230911  PyObject * obj2 = 0 ;
230912  bool result;
230913 
230914  if (!PyArg_ParseTuple(args,(char *)"OOO:ExternalStimulus_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
230915  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimulus, 0 | 0 );
230916  if (!SWIG_IsOK(res1)) {
230917  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalStimulus_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalStimulus *""'");
230918  }
230919  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalStimulus * >(argp1);
230920  {
230921  std::string *ptr = (std::string *)0;
230922  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
230923  if (!SWIG_IsOK(res2)) {
230924  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ExternalStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
230925  }
230926  if (!ptr) {
230927  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExternalStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
230928  }
230929  arg2 = ptr;
230930  }
230931  {
230932  std::string *ptr = (std::string *)0;
230933  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
230934  if (!SWIG_IsOK(res3)) {
230935  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ExternalStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
230936  }
230937  if (!ptr) {
230938  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExternalStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
230939  }
230940  arg3 = ptr;
230941  }
230942  {
230943  try {
230944  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
230945  }
230946  catch(CStdErrorInfo oError)
230947  {
230948  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230949  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
230950  PyErr_SetString(PyExc_IndexError, strError.c_str());
230951  SWIG_fail;
230952  }
230953  catch(...)
230954  {
230955  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
230956  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
230957  SWIG_fail;
230958  }
230959  }
230960  resultobj = SWIG_From_bool(static_cast< bool >(result));
230961  if (SWIG_IsNewObj(res2)) delete arg2;
230962  if (SWIG_IsNewObj(res3)) delete arg3;
230963  return resultobj;
230964 fail:
230965  if (SWIG_IsNewObj(res2)) delete arg2;
230966  if (SWIG_IsNewObj(res3)) delete arg3;
230967  return NULL;
230968 }
230969 
230970 
230971 SWIGINTERN PyObject *_wrap_ExternalStimulus_SetData(PyObject *self, PyObject *args) {
230972  int argc;
230973  PyObject *argv[5];
230974  int ii;
230975 
230976  if (!PyTuple_Check(args)) SWIG_fail;
230977  argc = args ? (int)PyObject_Length(args) : 0;
230978  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
230979  argv[ii] = PyTuple_GET_ITEM(args,ii);
230980  }
230981  if (argc == 3) {
230982  int _v;
230983  void *vptr = 0;
230984  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimulus, 0);
230985  _v = SWIG_CheckState(res);
230986  if (_v) {
230987  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
230988  _v = SWIG_CheckState(res);
230989  if (_v) {
230990  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
230991  _v = SWIG_CheckState(res);
230992  if (_v) {
230993  return _wrap_ExternalStimulus_SetData__SWIG_1(self, args);
230994  }
230995  }
230996  }
230997  }
230998  if (argc == 4) {
230999  int _v;
231000  void *vptr = 0;
231001  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimulus, 0);
231002  _v = SWIG_CheckState(res);
231003  if (_v) {
231004  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
231005  _v = SWIG_CheckState(res);
231006  if (_v) {
231007  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
231008  _v = SWIG_CheckState(res);
231009  if (_v) {
231010  {
231011  int res = SWIG_AsVal_bool(argv[3], NULL);
231012  _v = SWIG_CheckState(res);
231013  }
231014  if (_v) {
231015  return _wrap_ExternalStimulus_SetData__SWIG_0(self, args);
231016  }
231017  }
231018  }
231019  }
231020  }
231021 
231022 fail:
231023  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ExternalStimulus_SetData'.\n"
231024  " Possible C/C++ prototypes are:\n"
231025  " AnimatSim::ExternalStimuli::ExternalStimulus::SetData(std::string const &,std::string const &,bool)\n"
231026  " AnimatSim::ExternalStimuli::ExternalStimulus::SetData(std::string const &,std::string const &)\n");
231027  return 0;
231028 }
231029 
231030 
231031 SWIGINTERN PyObject *_wrap_ExternalStimulus_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231032  PyObject *resultobj = 0;
231034  CStdPtrArray< TypeProperty > *arg2 = 0 ;
231035  void *argp1 = 0 ;
231036  int res1 = 0 ;
231037  void *argp2 = 0 ;
231038  int res2 = 0 ;
231039  PyObject * obj0 = 0 ;
231040  PyObject * obj1 = 0 ;
231041 
231042  if (!PyArg_ParseTuple(args,(char *)"OO:ExternalStimulus_QueryProperties",&obj0,&obj1)) SWIG_fail;
231043  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimulus, 0 | 0 );
231044  if (!SWIG_IsOK(res1)) {
231045  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalStimulus_QueryProperties" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalStimulus *""'");
231046  }
231047  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalStimulus * >(argp1);
231048  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
231049  if (!SWIG_IsOK(res2)) {
231050  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ExternalStimulus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
231051  }
231052  if (!argp2) {
231053  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExternalStimulus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
231054  }
231055  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
231056  {
231057  try {
231058  (arg1)->QueryProperties(*arg2);
231059  }
231060  catch(CStdErrorInfo oError)
231061  {
231062  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231063  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231064  PyErr_SetString(PyExc_IndexError, strError.c_str());
231065  SWIG_fail;
231066  }
231067  catch(...)
231068  {
231069  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231070  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231071  SWIG_fail;
231072  }
231073  }
231074  resultobj = SWIG_Py_Void();
231075  return resultobj;
231076 fail:
231077  return NULL;
231078 }
231079 
231080 
231081 SWIGINTERN PyObject *_wrap_ExternalStimulus___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231082  PyObject *resultobj = 0;
231085  void *argp1 = 0 ;
231086  int res1 = 0 ;
231087  void *argp2 = 0 ;
231088  int res2 = 0 ;
231089  PyObject * obj0 = 0 ;
231090  PyObject * obj1 = 0 ;
231091  bool result;
231092 
231093  if (!PyArg_ParseTuple(args,(char *)"OO:ExternalStimulus___lt__",&obj0,&obj1)) SWIG_fail;
231094  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimulus, 0 | 0 );
231095  if (!SWIG_IsOK(res1)) {
231096  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalStimulus___lt__" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalStimulus *""'");
231097  }
231098  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalStimulus * >(argp1);
231099  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
231100  if (!SWIG_IsOK(res2)) {
231101  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ExternalStimulus___lt__" "', argument " "2"" of type '" "AnimatSim::ActivatedItem *""'");
231102  }
231103  arg2 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp2);
231104  {
231105  try {
231106  result = (bool)(arg1)->operator <(arg2);
231107  }
231108  catch(CStdErrorInfo oError)
231109  {
231110  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231111  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231112  PyErr_SetString(PyExc_IndexError, strError.c_str());
231113  SWIG_fail;
231114  }
231115  catch(...)
231116  {
231117  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231118  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231119  SWIG_fail;
231120  }
231121  }
231122  resultobj = SWIG_From_bool(static_cast< bool >(result));
231123  return resultobj;
231124 fail:
231125  return NULL;
231126 }
231127 
231128 
231129 SWIGINTERN PyObject *ExternalStimulus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231130  PyObject *obj;
231131  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
231132  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimulus, SWIG_NewClientData(obj));
231133  return SWIG_Py_Void();
231134 }
231135 
231136 SWIGINTERN PyObject *_wrap_new_ExternalStimuliMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231137  PyObject *resultobj = 0;
231139 
231140  if (!PyArg_ParseTuple(args,(char *)":new_ExternalStimuliMgr")) SWIG_fail;
231141  {
231142  try {
231144  }
231145  catch(CStdErrorInfo oError)
231146  {
231147  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231148  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231149  PyErr_SetString(PyExc_IndexError, strError.c_str());
231150  SWIG_fail;
231151  }
231152  catch(...)
231153  {
231154  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231155  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231156  SWIG_fail;
231157  }
231158  }
231159  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimuliMgr, SWIG_POINTER_NEW | 0 );
231160  return resultobj;
231161 fail:
231162  return NULL;
231163 }
231164 
231165 
231166 SWIGINTERN PyObject *_wrap_delete_ExternalStimuliMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231167  PyObject *resultobj = 0;
231169  void *argp1 = 0 ;
231170  int res1 = 0 ;
231171  PyObject * obj0 = 0 ;
231172 
231173  if (!PyArg_ParseTuple(args,(char *)"O:delete_ExternalStimuliMgr",&obj0)) SWIG_fail;
231174  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimuliMgr, SWIG_POINTER_DISOWN | 0 );
231175  if (!SWIG_IsOK(res1)) {
231176  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ExternalStimuliMgr" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalStimuliMgr *""'");
231177  }
231178  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalStimuliMgr * >(argp1);
231179  {
231180  try {
231181  delete arg1;
231182  }
231183  catch(CStdErrorInfo oError)
231184  {
231185  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231186  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231187  PyErr_SetString(PyExc_IndexError, strError.c_str());
231188  SWIG_fail;
231189  }
231190  catch(...)
231191  {
231192  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231193  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231194  SWIG_fail;
231195  }
231196  }
231197  resultobj = SWIG_Py_Void();
231198  return resultobj;
231199 fail:
231200  return NULL;
231201 }
231202 
231203 
231204 SWIGINTERN PyObject *_wrap_ExternalStimuliMgr_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231205  PyObject *resultobj = 0;
231207  void *argp1 = 0 ;
231208  int res1 = 0 ;
231209  PyObject * obj0 = 0 ;
231211 
231212  if (!PyArg_ParseTuple(args,(char *)"O:ExternalStimuliMgr_CastToDerived",&obj0)) SWIG_fail;
231213  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
231214  if (!SWIG_IsOK(res1)) {
231215  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalStimuliMgr_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
231216  }
231217  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
231218  {
231219  try {
231220  result = (AnimatSim::ExternalStimuli::ExternalStimuliMgr *)AnimatSim::ExternalStimuli::ExternalStimuliMgr::CastToDerived(arg1);
231221  }
231222  catch(CStdErrorInfo oError)
231223  {
231224  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231225  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231226  PyErr_SetString(PyExc_IndexError, strError.c_str());
231227  SWIG_fail;
231228  }
231229  catch(...)
231230  {
231231  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231232  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231233  SWIG_fail;
231234  }
231235  }
231236  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimuliMgr, 0 | 0 );
231237  return resultobj;
231238 fail:
231239  return NULL;
231240 }
231241 
231242 
231243 SWIGINTERN PyObject *_wrap_ExternalStimuliMgr_AddStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231244  PyObject *resultobj = 0;
231246  std::string arg2 ;
231247  void *argp1 = 0 ;
231248  int res1 = 0 ;
231249  PyObject * obj0 = 0 ;
231250  PyObject * obj1 = 0 ;
231251  bool result;
231252 
231253  if (!PyArg_ParseTuple(args,(char *)"OO:ExternalStimuliMgr_AddStimulus",&obj0,&obj1)) SWIG_fail;
231254  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimuliMgr, 0 | 0 );
231255  if (!SWIG_IsOK(res1)) {
231256  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalStimuliMgr_AddStimulus" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalStimuliMgr *""'");
231257  }
231258  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalStimuliMgr * >(argp1);
231259  {
231260  std::string *ptr = (std::string *)0;
231261  int res = SWIG_AsPtr_std_string(obj1, &ptr);
231262  if (!SWIG_IsOK(res) || !ptr) {
231263  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ExternalStimuliMgr_AddStimulus" "', argument " "2"" of type '" "std::string""'");
231264  }
231265  arg2 = *ptr;
231266  if (SWIG_IsNewObj(res)) delete ptr;
231267  }
231268  {
231269  try {
231270  result = (bool)(arg1)->AddStimulus(arg2);
231271  }
231272  catch(CStdErrorInfo oError)
231273  {
231274  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231275  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231276  PyErr_SetString(PyExc_IndexError, strError.c_str());
231277  SWIG_fail;
231278  }
231279  catch(...)
231280  {
231281  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231282  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231283  SWIG_fail;
231284  }
231285  }
231286  resultobj = SWIG_From_bool(static_cast< bool >(result));
231287  return resultobj;
231288 fail:
231289  return NULL;
231290 }
231291 
231292 
231293 SWIGINTERN PyObject *_wrap_ExternalStimuliMgr_RemoveStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231294  PyObject *resultobj = 0;
231296  std::string arg2 ;
231297  void *argp1 = 0 ;
231298  int res1 = 0 ;
231299  PyObject * obj0 = 0 ;
231300  PyObject * obj1 = 0 ;
231301  bool result;
231302 
231303  if (!PyArg_ParseTuple(args,(char *)"OO:ExternalStimuliMgr_RemoveStimulus",&obj0,&obj1)) SWIG_fail;
231304  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimuliMgr, 0 | 0 );
231305  if (!SWIG_IsOK(res1)) {
231306  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalStimuliMgr_RemoveStimulus" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalStimuliMgr *""'");
231307  }
231308  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalStimuliMgr * >(argp1);
231309  {
231310  std::string *ptr = (std::string *)0;
231311  int res = SWIG_AsPtr_std_string(obj1, &ptr);
231312  if (!SWIG_IsOK(res) || !ptr) {
231313  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ExternalStimuliMgr_RemoveStimulus" "', argument " "2"" of type '" "std::string""'");
231314  }
231315  arg2 = *ptr;
231316  if (SWIG_IsNewObj(res)) delete ptr;
231317  }
231318  {
231319  try {
231320  result = (bool)(arg1)->RemoveStimulus(arg2);
231321  }
231322  catch(CStdErrorInfo oError)
231323  {
231324  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231325  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231326  PyErr_SetString(PyExc_IndexError, strError.c_str());
231327  SWIG_fail;
231328  }
231329  catch(...)
231330  {
231331  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231332  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231333  SWIG_fail;
231334  }
231335  }
231336  resultobj = SWIG_From_bool(static_cast< bool >(result));
231337  return resultobj;
231338 fail:
231339  return NULL;
231340 }
231341 
231342 
231343 SWIGINTERN PyObject *_wrap_ExternalStimuliMgr_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231344  PyObject *resultobj = 0;
231346  CStdXml *arg2 = 0 ;
231347  void *argp1 = 0 ;
231348  int res1 = 0 ;
231349  void *argp2 = 0 ;
231350  int res2 = 0 ;
231351  PyObject * obj0 = 0 ;
231352  PyObject * obj1 = 0 ;
231353 
231354  if (!PyArg_ParseTuple(args,(char *)"OO:ExternalStimuliMgr_Load",&obj0,&obj1)) SWIG_fail;
231355  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimuliMgr, 0 | 0 );
231356  if (!SWIG_IsOK(res1)) {
231357  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalStimuliMgr_Load" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalStimuliMgr *""'");
231358  }
231359  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalStimuliMgr * >(argp1);
231360  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
231361  if (!SWIG_IsOK(res2)) {
231362  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ExternalStimuliMgr_Load" "', argument " "2"" of type '" "CStdXml &""'");
231363  }
231364  if (!argp2) {
231365  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExternalStimuliMgr_Load" "', argument " "2"" of type '" "CStdXml &""'");
231366  }
231367  arg2 = reinterpret_cast< CStdXml * >(argp2);
231368  {
231369  try {
231370  (arg1)->Load(*arg2);
231371  }
231372  catch(CStdErrorInfo oError)
231373  {
231374  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231375  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231376  PyErr_SetString(PyExc_IndexError, strError.c_str());
231377  SWIG_fail;
231378  }
231379  catch(...)
231380  {
231381  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231382  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231383  SWIG_fail;
231384  }
231385  }
231386  resultobj = SWIG_Py_Void();
231387  return resultobj;
231388 fail:
231389  return NULL;
231390 }
231391 
231392 
231393 SWIGINTERN PyObject *ExternalStimuliMgr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231394  PyObject *obj;
231395  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
231396  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimuliMgr, SWIG_NewClientData(obj));
231397  return SWIG_Py_Void();
231398 }
231399 
231400 SWIGINTERN PyObject *_wrap_new_ExternalInputStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231401  PyObject *resultobj = 0;
231403 
231404  if (!PyArg_ParseTuple(args,(char *)":new_ExternalInputStimulus")) SWIG_fail;
231405  {
231406  try {
231408  }
231409  catch(CStdErrorInfo oError)
231410  {
231411  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231412  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231413  PyErr_SetString(PyExc_IndexError, strError.c_str());
231414  SWIG_fail;
231415  }
231416  catch(...)
231417  {
231418  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231419  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231420  SWIG_fail;
231421  }
231422  }
231423  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, SWIG_POINTER_NEW | 0 );
231424  return resultobj;
231425 fail:
231426  return NULL;
231427 }
231428 
231429 
231430 SWIGINTERN PyObject *_wrap_delete_ExternalInputStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231431  PyObject *resultobj = 0;
231433  void *argp1 = 0 ;
231434  int res1 = 0 ;
231435  PyObject * obj0 = 0 ;
231436 
231437  if (!PyArg_ParseTuple(args,(char *)"O:delete_ExternalInputStimulus",&obj0)) SWIG_fail;
231438  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, SWIG_POINTER_DISOWN | 0 );
231439  if (!SWIG_IsOK(res1)) {
231440  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ExternalInputStimulus" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
231441  }
231442  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
231443  {
231444  try {
231445  delete arg1;
231446  }
231447  catch(CStdErrorInfo oError)
231448  {
231449  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231450  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231451  PyErr_SetString(PyExc_IndexError, strError.c_str());
231452  SWIG_fail;
231453  }
231454  catch(...)
231455  {
231456  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231457  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231458  SWIG_fail;
231459  }
231460  }
231461  resultobj = SWIG_Py_Void();
231462  return resultobj;
231463 fail:
231464  return NULL;
231465 }
231466 
231467 
231468 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231469  PyObject *resultobj = 0;
231471  void *argp1 = 0 ;
231472  int res1 = 0 ;
231473  PyObject * obj0 = 0 ;
231475 
231476  if (!PyArg_ParseTuple(args,(char *)"O:ExternalInputStimulus_CastToDerived",&obj0)) SWIG_fail;
231477  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
231478  if (!SWIG_IsOK(res1)) {
231479  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
231480  }
231481  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
231482  {
231483  try {
231484  result = (AnimatSim::ExternalStimuli::ExternalInputStimulus *)AnimatSim::ExternalStimuli::ExternalInputStimulus::CastToDerived(arg1);
231485  }
231486  catch(CStdErrorInfo oError)
231487  {
231488  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231489  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231490  PyErr_SetString(PyExc_IndexError, strError.c_str());
231491  SWIG_fail;
231492  }
231493  catch(...)
231494  {
231495  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231496  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231497  SWIG_fail;
231498  }
231499  }
231500  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
231501  return resultobj;
231502 fail:
231503  return NULL;
231504 }
231505 
231506 
231507 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_Type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231508  PyObject *resultobj = 0;
231510  void *argp1 = 0 ;
231511  int res1 = 0 ;
231512  PyObject * obj0 = 0 ;
231513  std::string result;
231514 
231515  if (!PyArg_ParseTuple(args,(char *)"O:ExternalInputStimulus_Type",&obj0)) SWIG_fail;
231516  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
231517  if (!SWIG_IsOK(res1)) {
231518  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_Type" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
231519  }
231520  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
231521  {
231522  try {
231523  result = (arg1)->Type();
231524  }
231525  catch(CStdErrorInfo oError)
231526  {
231527  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231528  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231529  PyErr_SetString(PyExc_IndexError, strError.c_str());
231530  SWIG_fail;
231531  }
231532  catch(...)
231533  {
231534  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231535  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231536  SWIG_fail;
231537  }
231538  }
231539  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
231540  return resultobj;
231541 fail:
231542  return NULL;
231543 }
231544 
231545 
231546 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_TargetNodeID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231547  PyObject *resultobj = 0;
231549  void *argp1 = 0 ;
231550  int res1 = 0 ;
231551  PyObject * obj0 = 0 ;
231552  std::string result;
231553 
231554  if (!PyArg_ParseTuple(args,(char *)"O:ExternalInputStimulus_TargetNodeID",&obj0)) SWIG_fail;
231555  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
231556  if (!SWIG_IsOK(res1)) {
231557  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_TargetNodeID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
231558  }
231559  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
231560  {
231561  try {
231562  result = (arg1)->TargetNodeID();
231563  }
231564  catch(CStdErrorInfo oError)
231565  {
231566  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231567  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231568  PyErr_SetString(PyExc_IndexError, strError.c_str());
231569  SWIG_fail;
231570  }
231571  catch(...)
231572  {
231573  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231574  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231575  SWIG_fail;
231576  }
231577  }
231578  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
231579  return resultobj;
231580 fail:
231581  return NULL;
231582 }
231583 
231584 
231585 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_TargetNodeID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231586  PyObject *resultobj = 0;
231588  std::string arg2 ;
231589  void *argp1 = 0 ;
231590  int res1 = 0 ;
231591  PyObject * obj0 = 0 ;
231592  PyObject * obj1 = 0 ;
231593 
231594  if (!PyArg_ParseTuple(args,(char *)"OO:ExternalInputStimulus_TargetNodeID",&obj0,&obj1)) SWIG_fail;
231595  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
231596  if (!SWIG_IsOK(res1)) {
231597  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_TargetNodeID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
231598  }
231599  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
231600  {
231601  std::string *ptr = (std::string *)0;
231602  int res = SWIG_AsPtr_std_string(obj1, &ptr);
231603  if (!SWIG_IsOK(res) || !ptr) {
231604  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ExternalInputStimulus_TargetNodeID" "', argument " "2"" of type '" "std::string""'");
231605  }
231606  arg2 = *ptr;
231607  if (SWIG_IsNewObj(res)) delete ptr;
231608  }
231609  {
231610  try {
231611  (arg1)->TargetNodeID(arg2);
231612  }
231613  catch(CStdErrorInfo oError)
231614  {
231615  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231616  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231617  PyErr_SetString(PyExc_IndexError, strError.c_str());
231618  SWIG_fail;
231619  }
231620  catch(...)
231621  {
231622  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231623  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231624  SWIG_fail;
231625  }
231626  }
231627  resultobj = SWIG_Py_Void();
231628  return resultobj;
231629 fail:
231630  return NULL;
231631 }
231632 
231633 
231634 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_TargetNodeID(PyObject *self, PyObject *args) {
231635  int argc;
231636  PyObject *argv[3];
231637  int ii;
231638 
231639  if (!PyTuple_Check(args)) SWIG_fail;
231640  argc = args ? (int)PyObject_Length(args) : 0;
231641  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
231642  argv[ii] = PyTuple_GET_ITEM(args,ii);
231643  }
231644  if (argc == 1) {
231645  int _v;
231646  void *vptr = 0;
231647  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0);
231648  _v = SWIG_CheckState(res);
231649  if (_v) {
231650  return _wrap_ExternalInputStimulus_TargetNodeID__SWIG_0(self, args);
231651  }
231652  }
231653  if (argc == 2) {
231654  int _v;
231655  void *vptr = 0;
231656  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0);
231657  _v = SWIG_CheckState(res);
231658  if (_v) {
231659  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
231660  _v = SWIG_CheckState(res);
231661  if (_v) {
231662  return _wrap_ExternalInputStimulus_TargetNodeID__SWIG_1(self, args);
231663  }
231664  }
231665  }
231666 
231667 fail:
231668  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ExternalInputStimulus_TargetNodeID'.\n"
231669  " Possible C/C++ prototypes are:\n"
231670  " AnimatSim::ExternalStimuli::ExternalInputStimulus::TargetNodeID()\n"
231671  " AnimatSim::ExternalStimuli::ExternalInputStimulus::TargetNodeID(std::string)\n");
231672  return 0;
231673 }
231674 
231675 
231676 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_Input__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231677  PyObject *resultobj = 0;
231679  void *argp1 = 0 ;
231680  int res1 = 0 ;
231681  PyObject * obj0 = 0 ;
231682  float result;
231683 
231684  if (!PyArg_ParseTuple(args,(char *)"O:ExternalInputStimulus_Input",&obj0)) SWIG_fail;
231685  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
231686  if (!SWIG_IsOK(res1)) {
231687  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_Input" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
231688  }
231689  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
231690  {
231691  try {
231692  result = (float)(arg1)->Input();
231693  }
231694  catch(CStdErrorInfo oError)
231695  {
231696  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231697  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231698  PyErr_SetString(PyExc_IndexError, strError.c_str());
231699  SWIG_fail;
231700  }
231701  catch(...)
231702  {
231703  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231704  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231705  SWIG_fail;
231706  }
231707  }
231708  resultobj = SWIG_From_float(static_cast< float >(result));
231709  return resultobj;
231710 fail:
231711  return NULL;
231712 }
231713 
231714 
231715 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_Input__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231716  PyObject *resultobj = 0;
231718  float arg2 ;
231719  void *argp1 = 0 ;
231720  int res1 = 0 ;
231721  float val2 ;
231722  int ecode2 = 0 ;
231723  PyObject * obj0 = 0 ;
231724  PyObject * obj1 = 0 ;
231725 
231726  if (!PyArg_ParseTuple(args,(char *)"OO:ExternalInputStimulus_Input",&obj0,&obj1)) SWIG_fail;
231727  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
231728  if (!SWIG_IsOK(res1)) {
231729  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_Input" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
231730  }
231731  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
231732  ecode2 = SWIG_AsVal_float(obj1, &val2);
231733  if (!SWIG_IsOK(ecode2)) {
231734  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ExternalInputStimulus_Input" "', argument " "2"" of type '" "float""'");
231735  }
231736  arg2 = static_cast< float >(val2);
231737  {
231738  try {
231739  (arg1)->Input(arg2);
231740  }
231741  catch(CStdErrorInfo oError)
231742  {
231743  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231744  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231745  PyErr_SetString(PyExc_IndexError, strError.c_str());
231746  SWIG_fail;
231747  }
231748  catch(...)
231749  {
231750  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231751  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231752  SWIG_fail;
231753  }
231754  }
231755  resultobj = SWIG_Py_Void();
231756  return resultobj;
231757 fail:
231758  return NULL;
231759 }
231760 
231761 
231762 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_Input(PyObject *self, PyObject *args) {
231763  int argc;
231764  PyObject *argv[3];
231765  int ii;
231766 
231767  if (!PyTuple_Check(args)) SWIG_fail;
231768  argc = args ? (int)PyObject_Length(args) : 0;
231769  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
231770  argv[ii] = PyTuple_GET_ITEM(args,ii);
231771  }
231772  if (argc == 1) {
231773  int _v;
231774  void *vptr = 0;
231775  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0);
231776  _v = SWIG_CheckState(res);
231777  if (_v) {
231778  return _wrap_ExternalInputStimulus_Input__SWIG_0(self, args);
231779  }
231780  }
231781  if (argc == 2) {
231782  int _v;
231783  void *vptr = 0;
231784  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0);
231785  _v = SWIG_CheckState(res);
231786  if (_v) {
231787  {
231788  int res = SWIG_AsVal_float(argv[1], NULL);
231789  _v = SWIG_CheckState(res);
231790  }
231791  if (_v) {
231792  return _wrap_ExternalInputStimulus_Input__SWIG_1(self, args);
231793  }
231794  }
231795  }
231796 
231797 fail:
231798  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ExternalInputStimulus_Input'.\n"
231799  " Possible C/C++ prototypes are:\n"
231800  " AnimatSim::ExternalStimuli::ExternalInputStimulus::Input()\n"
231801  " AnimatSim::ExternalStimuli::ExternalInputStimulus::Input(float)\n");
231802  return 0;
231803 }
231804 
231805 
231806 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_InputEquation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231807  PyObject *resultobj = 0;
231809  void *argp1 = 0 ;
231810  int res1 = 0 ;
231811  PyObject * obj0 = 0 ;
231812  std::string result;
231813 
231814  if (!PyArg_ParseTuple(args,(char *)"O:ExternalInputStimulus_InputEquation",&obj0)) SWIG_fail;
231815  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
231816  if (!SWIG_IsOK(res1)) {
231817  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_InputEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
231818  }
231819  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
231820  {
231821  try {
231822  result = (arg1)->InputEquation();
231823  }
231824  catch(CStdErrorInfo oError)
231825  {
231826  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231827  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231828  PyErr_SetString(PyExc_IndexError, strError.c_str());
231829  SWIG_fail;
231830  }
231831  catch(...)
231832  {
231833  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231834  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231835  SWIG_fail;
231836  }
231837  }
231838  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
231839  return resultobj;
231840 fail:
231841  return NULL;
231842 }
231843 
231844 
231845 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_InputEquation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231846  PyObject *resultobj = 0;
231848  std::string arg2 ;
231849  void *argp1 = 0 ;
231850  int res1 = 0 ;
231851  PyObject * obj0 = 0 ;
231852  PyObject * obj1 = 0 ;
231853 
231854  if (!PyArg_ParseTuple(args,(char *)"OO:ExternalInputStimulus_InputEquation",&obj0,&obj1)) SWIG_fail;
231855  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
231856  if (!SWIG_IsOK(res1)) {
231857  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_InputEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
231858  }
231859  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
231860  {
231861  std::string *ptr = (std::string *)0;
231862  int res = SWIG_AsPtr_std_string(obj1, &ptr);
231863  if (!SWIG_IsOK(res) || !ptr) {
231864  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ExternalInputStimulus_InputEquation" "', argument " "2"" of type '" "std::string""'");
231865  }
231866  arg2 = *ptr;
231867  if (SWIG_IsNewObj(res)) delete ptr;
231868  }
231869  {
231870  try {
231871  (arg1)->InputEquation(arg2);
231872  }
231873  catch(CStdErrorInfo oError)
231874  {
231875  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231876  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231877  PyErr_SetString(PyExc_IndexError, strError.c_str());
231878  SWIG_fail;
231879  }
231880  catch(...)
231881  {
231882  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231883  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231884  SWIG_fail;
231885  }
231886  }
231887  resultobj = SWIG_Py_Void();
231888  return resultobj;
231889 fail:
231890  return NULL;
231891 }
231892 
231893 
231894 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_InputEquation(PyObject *self, PyObject *args) {
231895  int argc;
231896  PyObject *argv[3];
231897  int ii;
231898 
231899  if (!PyTuple_Check(args)) SWIG_fail;
231900  argc = args ? (int)PyObject_Length(args) : 0;
231901  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
231902  argv[ii] = PyTuple_GET_ITEM(args,ii);
231903  }
231904  if (argc == 1) {
231905  int _v;
231906  void *vptr = 0;
231907  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0);
231908  _v = SWIG_CheckState(res);
231909  if (_v) {
231910  return _wrap_ExternalInputStimulus_InputEquation__SWIG_0(self, args);
231911  }
231912  }
231913  if (argc == 2) {
231914  int _v;
231915  void *vptr = 0;
231916  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0);
231917  _v = SWIG_CheckState(res);
231918  if (_v) {
231919  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
231920  _v = SWIG_CheckState(res);
231921  if (_v) {
231922  return _wrap_ExternalInputStimulus_InputEquation__SWIG_1(self, args);
231923  }
231924  }
231925  }
231926 
231927 fail:
231928  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ExternalInputStimulus_InputEquation'.\n"
231929  " Possible C/C++ prototypes are:\n"
231930  " AnimatSim::ExternalStimuli::ExternalInputStimulus::InputEquation()\n"
231931  " AnimatSim::ExternalStimuli::ExternalInputStimulus::InputEquation(std::string)\n");
231932  return 0;
231933 }
231934 
231935 
231936 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231937  PyObject *resultobj = 0;
231939  CStdXml *arg2 = 0 ;
231940  void *argp1 = 0 ;
231941  int res1 = 0 ;
231942  void *argp2 = 0 ;
231943  int res2 = 0 ;
231944  PyObject * obj0 = 0 ;
231945  PyObject * obj1 = 0 ;
231946 
231947  if (!PyArg_ParseTuple(args,(char *)"OO:ExternalInputStimulus_Load",&obj0,&obj1)) SWIG_fail;
231948  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
231949  if (!SWIG_IsOK(res1)) {
231950  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_Load" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
231951  }
231952  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
231953  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
231954  if (!SWIG_IsOK(res2)) {
231955  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ExternalInputStimulus_Load" "', argument " "2"" of type '" "CStdXml &""'");
231956  }
231957  if (!argp2) {
231958  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExternalInputStimulus_Load" "', argument " "2"" of type '" "CStdXml &""'");
231959  }
231960  arg2 = reinterpret_cast< CStdXml * >(argp2);
231961  {
231962  try {
231963  (arg1)->Load(*arg2);
231964  }
231965  catch(CStdErrorInfo oError)
231966  {
231967  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231968  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
231969  PyErr_SetString(PyExc_IndexError, strError.c_str());
231970  SWIG_fail;
231971  }
231972  catch(...)
231973  {
231974  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
231975  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
231976  SWIG_fail;
231977  }
231978  }
231979  resultobj = SWIG_Py_Void();
231980  return resultobj;
231981 fail:
231982  return NULL;
231983 }
231984 
231985 
231986 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
231987  PyObject *resultobj = 0;
231989  void *argp1 = 0 ;
231990  int res1 = 0 ;
231991  PyObject * obj0 = 0 ;
231992 
231993  if (!PyArg_ParseTuple(args,(char *)"O:ExternalInputStimulus_Activate",&obj0)) SWIG_fail;
231994  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
231995  if (!SWIG_IsOK(res1)) {
231996  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_Activate" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
231997  }
231998  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
231999  {
232000  try {
232001  (arg1)->Activate();
232002  }
232003  catch(CStdErrorInfo oError)
232004  {
232005  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232006  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232007  PyErr_SetString(PyExc_IndexError, strError.c_str());
232008  SWIG_fail;
232009  }
232010  catch(...)
232011  {
232012  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232013  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232014  SWIG_fail;
232015  }
232016  }
232017  resultobj = SWIG_Py_Void();
232018  return resultobj;
232019 fail:
232020  return NULL;
232021 }
232022 
232023 
232024 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232025  PyObject *resultobj = 0;
232027  void *argp1 = 0 ;
232028  int res1 = 0 ;
232029  PyObject * obj0 = 0 ;
232030 
232031  if (!PyArg_ParseTuple(args,(char *)"O:ExternalInputStimulus_Initialize",&obj0)) SWIG_fail;
232032  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
232033  if (!SWIG_IsOK(res1)) {
232034  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_Initialize" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
232035  }
232036  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
232037  {
232038  try {
232039  (arg1)->Initialize();
232040  }
232041  catch(CStdErrorInfo oError)
232042  {
232043  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232044  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232045  PyErr_SetString(PyExc_IndexError, strError.c_str());
232046  SWIG_fail;
232047  }
232048  catch(...)
232049  {
232050  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232051  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232052  SWIG_fail;
232053  }
232054  }
232055  resultobj = SWIG_Py_Void();
232056  return resultobj;
232057 fail:
232058  return NULL;
232059 }
232060 
232061 
232062 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232063  PyObject *resultobj = 0;
232065  void *argp1 = 0 ;
232066  int res1 = 0 ;
232067  PyObject * obj0 = 0 ;
232068 
232069  if (!PyArg_ParseTuple(args,(char *)"O:ExternalInputStimulus_StepSimulation",&obj0)) SWIG_fail;
232070  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
232071  if (!SWIG_IsOK(res1)) {
232072  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_StepSimulation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
232073  }
232074  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
232075  {
232076  try {
232077  (arg1)->StepSimulation();
232078  }
232079  catch(CStdErrorInfo oError)
232080  {
232081  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232082  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232083  PyErr_SetString(PyExc_IndexError, strError.c_str());
232084  SWIG_fail;
232085  }
232086  catch(...)
232087  {
232088  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232089  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232090  SWIG_fail;
232091  }
232092  }
232093  resultobj = SWIG_Py_Void();
232094  return resultobj;
232095 fail:
232096  return NULL;
232097 }
232098 
232099 
232100 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_Deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232101  PyObject *resultobj = 0;
232103  void *argp1 = 0 ;
232104  int res1 = 0 ;
232105  PyObject * obj0 = 0 ;
232106 
232107  if (!PyArg_ParseTuple(args,(char *)"O:ExternalInputStimulus_Deactivate",&obj0)) SWIG_fail;
232108  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
232109  if (!SWIG_IsOK(res1)) {
232110  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_Deactivate" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
232111  }
232112  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
232113  {
232114  try {
232115  (arg1)->Deactivate();
232116  }
232117  catch(CStdErrorInfo oError)
232118  {
232119  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232120  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232121  PyErr_SetString(PyExc_IndexError, strError.c_str());
232122  SWIG_fail;
232123  }
232124  catch(...)
232125  {
232126  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232127  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232128  SWIG_fail;
232129  }
232130  }
232131  resultobj = SWIG_Py_Void();
232132  return resultobj;
232133 fail:
232134  return NULL;
232135 }
232136 
232137 
232138 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232139  PyObject *resultobj = 0;
232141  std::string *arg2 = 0 ;
232142  void *argp1 = 0 ;
232143  int res1 = 0 ;
232144  int res2 = SWIG_OLDOBJ ;
232145  PyObject * obj0 = 0 ;
232146  PyObject * obj1 = 0 ;
232147  float *result = 0 ;
232148 
232149  if (!PyArg_ParseTuple(args,(char *)"OO:ExternalInputStimulus_GetDataPointer",&obj0,&obj1)) SWIG_fail;
232150  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
232151  if (!SWIG_IsOK(res1)) {
232152  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
232153  }
232154  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
232155  {
232156  std::string *ptr = (std::string *)0;
232157  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
232158  if (!SWIG_IsOK(res2)) {
232159  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ExternalInputStimulus_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
232160  }
232161  if (!ptr) {
232162  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExternalInputStimulus_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
232163  }
232164  arg2 = ptr;
232165  }
232166  {
232167  try {
232168  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
232169  }
232170  catch(CStdErrorInfo oError)
232171  {
232172  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232173  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232174  PyErr_SetString(PyExc_IndexError, strError.c_str());
232175  SWIG_fail;
232176  }
232177  catch(...)
232178  {
232179  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232180  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232181  SWIG_fail;
232182  }
232183  }
232184  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
232185  if (SWIG_IsNewObj(res2)) delete arg2;
232186  return resultobj;
232187 fail:
232188  if (SWIG_IsNewObj(res2)) delete arg2;
232189  return NULL;
232190 }
232191 
232192 
232193 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232194  PyObject *resultobj = 0;
232196  std::string *arg2 = 0 ;
232197  std::string *arg3 = 0 ;
232198  bool arg4 ;
232199  void *argp1 = 0 ;
232200  int res1 = 0 ;
232201  int res2 = SWIG_OLDOBJ ;
232202  int res3 = SWIG_OLDOBJ ;
232203  bool val4 ;
232204  int ecode4 = 0 ;
232205  PyObject * obj0 = 0 ;
232206  PyObject * obj1 = 0 ;
232207  PyObject * obj2 = 0 ;
232208  PyObject * obj3 = 0 ;
232209  bool result;
232210 
232211  if (!PyArg_ParseTuple(args,(char *)"OOOO:ExternalInputStimulus_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
232212  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
232213  if (!SWIG_IsOK(res1)) {
232214  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
232215  }
232216  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
232217  {
232218  std::string *ptr = (std::string *)0;
232219  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
232220  if (!SWIG_IsOK(res2)) {
232221  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ExternalInputStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
232222  }
232223  if (!ptr) {
232224  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExternalInputStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
232225  }
232226  arg2 = ptr;
232227  }
232228  {
232229  std::string *ptr = (std::string *)0;
232230  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
232231  if (!SWIG_IsOK(res3)) {
232232  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ExternalInputStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
232233  }
232234  if (!ptr) {
232235  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExternalInputStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
232236  }
232237  arg3 = ptr;
232238  }
232239  ecode4 = SWIG_AsVal_bool(obj3, &val4);
232240  if (!SWIG_IsOK(ecode4)) {
232241  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ExternalInputStimulus_SetData" "', argument " "4"" of type '" "bool""'");
232242  }
232243  arg4 = static_cast< bool >(val4);
232244  {
232245  try {
232246  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
232247  }
232248  catch(CStdErrorInfo oError)
232249  {
232250  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232251  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232252  PyErr_SetString(PyExc_IndexError, strError.c_str());
232253  SWIG_fail;
232254  }
232255  catch(...)
232256  {
232257  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232258  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232259  SWIG_fail;
232260  }
232261  }
232262  resultobj = SWIG_From_bool(static_cast< bool >(result));
232263  if (SWIG_IsNewObj(res2)) delete arg2;
232264  if (SWIG_IsNewObj(res3)) delete arg3;
232265  return resultobj;
232266 fail:
232267  if (SWIG_IsNewObj(res2)) delete arg2;
232268  if (SWIG_IsNewObj(res3)) delete arg3;
232269  return NULL;
232270 }
232271 
232272 
232273 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232274  PyObject *resultobj = 0;
232276  std::string *arg2 = 0 ;
232277  std::string *arg3 = 0 ;
232278  void *argp1 = 0 ;
232279  int res1 = 0 ;
232280  int res2 = SWIG_OLDOBJ ;
232281  int res3 = SWIG_OLDOBJ ;
232282  PyObject * obj0 = 0 ;
232283  PyObject * obj1 = 0 ;
232284  PyObject * obj2 = 0 ;
232285  bool result;
232286 
232287  if (!PyArg_ParseTuple(args,(char *)"OOO:ExternalInputStimulus_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
232288  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
232289  if (!SWIG_IsOK(res1)) {
232290  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
232291  }
232292  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
232293  {
232294  std::string *ptr = (std::string *)0;
232295  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
232296  if (!SWIG_IsOK(res2)) {
232297  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ExternalInputStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
232298  }
232299  if (!ptr) {
232300  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExternalInputStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
232301  }
232302  arg2 = ptr;
232303  }
232304  {
232305  std::string *ptr = (std::string *)0;
232306  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
232307  if (!SWIG_IsOK(res3)) {
232308  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ExternalInputStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
232309  }
232310  if (!ptr) {
232311  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExternalInputStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
232312  }
232313  arg3 = ptr;
232314  }
232315  {
232316  try {
232317  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
232318  }
232319  catch(CStdErrorInfo oError)
232320  {
232321  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232322  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232323  PyErr_SetString(PyExc_IndexError, strError.c_str());
232324  SWIG_fail;
232325  }
232326  catch(...)
232327  {
232328  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232329  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232330  SWIG_fail;
232331  }
232332  }
232333  resultobj = SWIG_From_bool(static_cast< bool >(result));
232334  if (SWIG_IsNewObj(res2)) delete arg2;
232335  if (SWIG_IsNewObj(res3)) delete arg3;
232336  return resultobj;
232337 fail:
232338  if (SWIG_IsNewObj(res2)) delete arg2;
232339  if (SWIG_IsNewObj(res3)) delete arg3;
232340  return NULL;
232341 }
232342 
232343 
232344 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_SetData(PyObject *self, PyObject *args) {
232345  int argc;
232346  PyObject *argv[5];
232347  int ii;
232348 
232349  if (!PyTuple_Check(args)) SWIG_fail;
232350  argc = args ? (int)PyObject_Length(args) : 0;
232351  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
232352  argv[ii] = PyTuple_GET_ITEM(args,ii);
232353  }
232354  if (argc == 3) {
232355  int _v;
232356  void *vptr = 0;
232357  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0);
232358  _v = SWIG_CheckState(res);
232359  if (_v) {
232360  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
232361  _v = SWIG_CheckState(res);
232362  if (_v) {
232363  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
232364  _v = SWIG_CheckState(res);
232365  if (_v) {
232366  return _wrap_ExternalInputStimulus_SetData__SWIG_1(self, args);
232367  }
232368  }
232369  }
232370  }
232371  if (argc == 4) {
232372  int _v;
232373  void *vptr = 0;
232374  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0);
232375  _v = SWIG_CheckState(res);
232376  if (_v) {
232377  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
232378  _v = SWIG_CheckState(res);
232379  if (_v) {
232380  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
232381  _v = SWIG_CheckState(res);
232382  if (_v) {
232383  {
232384  int res = SWIG_AsVal_bool(argv[3], NULL);
232385  _v = SWIG_CheckState(res);
232386  }
232387  if (_v) {
232388  return _wrap_ExternalInputStimulus_SetData__SWIG_0(self, args);
232389  }
232390  }
232391  }
232392  }
232393  }
232394 
232395 fail:
232396  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ExternalInputStimulus_SetData'.\n"
232397  " Possible C/C++ prototypes are:\n"
232398  " AnimatSim::ExternalStimuli::ExternalInputStimulus::SetData(std::string const &,std::string const &,bool)\n"
232399  " AnimatSim::ExternalStimuli::ExternalInputStimulus::SetData(std::string const &,std::string const &)\n");
232400  return 0;
232401 }
232402 
232403 
232404 SWIGINTERN PyObject *_wrap_ExternalInputStimulus_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232405  PyObject *resultobj = 0;
232407  CStdPtrArray< TypeProperty > *arg2 = 0 ;
232408  void *argp1 = 0 ;
232409  int res1 = 0 ;
232410  void *argp2 = 0 ;
232411  int res2 = 0 ;
232412  PyObject * obj0 = 0 ;
232413  PyObject * obj1 = 0 ;
232414 
232415  if (!PyArg_ParseTuple(args,(char *)"OO:ExternalInputStimulus_QueryProperties",&obj0,&obj1)) SWIG_fail;
232416  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0 | 0 );
232417  if (!SWIG_IsOK(res1)) {
232418  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExternalInputStimulus_QueryProperties" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ExternalInputStimulus *""'");
232419  }
232420  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ExternalInputStimulus * >(argp1);
232421  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
232422  if (!SWIG_IsOK(res2)) {
232423  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ExternalInputStimulus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
232424  }
232425  if (!argp2) {
232426  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExternalInputStimulus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
232427  }
232428  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
232429  {
232430  try {
232431  (arg1)->QueryProperties(*arg2);
232432  }
232433  catch(CStdErrorInfo oError)
232434  {
232435  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232436  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232437  PyErr_SetString(PyExc_IndexError, strError.c_str());
232438  SWIG_fail;
232439  }
232440  catch(...)
232441  {
232442  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232443  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232444  SWIG_fail;
232445  }
232446  }
232447  resultobj = SWIG_Py_Void();
232448  return resultobj;
232449 fail:
232450  return NULL;
232451 }
232452 
232453 
232454 SWIGINTERN PyObject *ExternalInputStimulus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232455  PyObject *obj;
232456  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
232457  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus, SWIG_NewClientData(obj));
232458  return SWIG_Py_Void();
232459 }
232460 
232461 SWIGINTERN PyObject *_wrap_new_CurrentStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232462  PyObject *resultobj = 0;
232464 
232465  if (!PyArg_ParseTuple(args,(char *)":new_CurrentStimulus")) SWIG_fail;
232466  {
232467  try {
232469  }
232470  catch(CStdErrorInfo oError)
232471  {
232472  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232473  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232474  PyErr_SetString(PyExc_IndexError, strError.c_str());
232475  SWIG_fail;
232476  }
232477  catch(...)
232478  {
232479  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232480  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232481  SWIG_fail;
232482  }
232483  }
232484  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, SWIG_POINTER_NEW | 0 );
232485  return resultobj;
232486 fail:
232487  return NULL;
232488 }
232489 
232490 
232491 SWIGINTERN PyObject *_wrap_delete_CurrentStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232492  PyObject *resultobj = 0;
232494  void *argp1 = 0 ;
232495  int res1 = 0 ;
232496  PyObject * obj0 = 0 ;
232497 
232498  if (!PyArg_ParseTuple(args,(char *)"O:delete_CurrentStimulus",&obj0)) SWIG_fail;
232499  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, SWIG_POINTER_DISOWN | 0 );
232500  if (!SWIG_IsOK(res1)) {
232501  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CurrentStimulus" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
232502  }
232503  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
232504  {
232505  try {
232506  delete arg1;
232507  }
232508  catch(CStdErrorInfo oError)
232509  {
232510  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232511  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232512  PyErr_SetString(PyExc_IndexError, strError.c_str());
232513  SWIG_fail;
232514  }
232515  catch(...)
232516  {
232517  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232518  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232519  SWIG_fail;
232520  }
232521  }
232522  resultobj = SWIG_Py_Void();
232523  return resultobj;
232524 fail:
232525  return NULL;
232526 }
232527 
232528 
232529 SWIGINTERN PyObject *_wrap_CurrentStimulus_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232530  PyObject *resultobj = 0;
232532  void *argp1 = 0 ;
232533  int res1 = 0 ;
232534  PyObject * obj0 = 0 ;
232536 
232537  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_CastToDerived",&obj0)) SWIG_fail;
232538  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
232539  if (!SWIG_IsOK(res1)) {
232540  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
232541  }
232542  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
232543  {
232544  try {
232545  result = (AnimatSim::ExternalStimuli::CurrentStimulus *)AnimatSim::ExternalStimuli::CurrentStimulus::CastToDerived(arg1);
232546  }
232547  catch(CStdErrorInfo oError)
232548  {
232549  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232550  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232551  PyErr_SetString(PyExc_IndexError, strError.c_str());
232552  SWIG_fail;
232553  }
232554  catch(...)
232555  {
232556  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232557  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232558  SWIG_fail;
232559  }
232560  }
232561  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
232562  return resultobj;
232563 fail:
232564  return NULL;
232565 }
232566 
232567 
232568 SWIGINTERN PyObject *_wrap_CurrentStimulus_Type__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232569  PyObject *resultobj = 0;
232571  void *argp1 = 0 ;
232572  int res1 = 0 ;
232573  PyObject * obj0 = 0 ;
232574  std::string result;
232575 
232576  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_Type",&obj0)) SWIG_fail;
232577  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
232578  if (!SWIG_IsOK(res1)) {
232579  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_Type" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
232580  }
232581  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
232582  {
232583  try {
232584  result = (arg1)->Type();
232585  }
232586  catch(CStdErrorInfo oError)
232587  {
232588  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232589  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232590  PyErr_SetString(PyExc_IndexError, strError.c_str());
232591  SWIG_fail;
232592  }
232593  catch(...)
232594  {
232595  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232596  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232597  SWIG_fail;
232598  }
232599  }
232600  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
232601  return resultobj;
232602 fail:
232603  return NULL;
232604 }
232605 
232606 
232607 SWIGINTERN PyObject *_wrap_CurrentStimulus_Type__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232608  PyObject *resultobj = 0;
232610  std::string arg2 ;
232611  void *argp1 = 0 ;
232612  int res1 = 0 ;
232613  PyObject * obj0 = 0 ;
232614  PyObject * obj1 = 0 ;
232615 
232616  if (!PyArg_ParseTuple(args,(char *)"OO:CurrentStimulus_Type",&obj0,&obj1)) SWIG_fail;
232617  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
232618  if (!SWIG_IsOK(res1)) {
232619  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_Type" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
232620  }
232621  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
232622  {
232623  std::string *ptr = (std::string *)0;
232624  int res = SWIG_AsPtr_std_string(obj1, &ptr);
232625  if (!SWIG_IsOK(res) || !ptr) {
232626  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CurrentStimulus_Type" "', argument " "2"" of type '" "std::string""'");
232627  }
232628  arg2 = *ptr;
232629  if (SWIG_IsNewObj(res)) delete ptr;
232630  }
232631  {
232632  try {
232633  (arg1)->Type(arg2);
232634  }
232635  catch(CStdErrorInfo oError)
232636  {
232637  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232638  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232639  PyErr_SetString(PyExc_IndexError, strError.c_str());
232640  SWIG_fail;
232641  }
232642  catch(...)
232643  {
232644  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232645  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232646  SWIG_fail;
232647  }
232648  }
232649  resultobj = SWIG_Py_Void();
232650  return resultobj;
232651 fail:
232652  return NULL;
232653 }
232654 
232655 
232656 SWIGINTERN PyObject *_wrap_CurrentStimulus_Type(PyObject *self, PyObject *args) {
232657  int argc;
232658  PyObject *argv[3];
232659  int ii;
232660 
232661  if (!PyTuple_Check(args)) SWIG_fail;
232662  argc = args ? (int)PyObject_Length(args) : 0;
232663  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
232664  argv[ii] = PyTuple_GET_ITEM(args,ii);
232665  }
232666  if (argc == 1) {
232667  int _v;
232668  void *vptr = 0;
232669  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
232670  _v = SWIG_CheckState(res);
232671  if (_v) {
232672  return _wrap_CurrentStimulus_Type__SWIG_0(self, args);
232673  }
232674  }
232675  if (argc == 2) {
232676  int _v;
232677  void *vptr = 0;
232678  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
232679  _v = SWIG_CheckState(res);
232680  if (_v) {
232681  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
232682  _v = SWIG_CheckState(res);
232683  if (_v) {
232684  return _wrap_CurrentStimulus_Type__SWIG_1(self, args);
232685  }
232686  }
232687  }
232688 
232689 fail:
232690  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CurrentStimulus_Type'.\n"
232691  " Possible C/C++ prototypes are:\n"
232692  " AnimatSim::ExternalStimuli::CurrentStimulus::Type()\n"
232693  " AnimatSim::ExternalStimuli::CurrentStimulus::Type(std::string)\n");
232694  return 0;
232695 }
232696 
232697 
232698 SWIGINTERN PyObject *_wrap_CurrentStimulus_AlwaysActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232699  PyObject *resultobj = 0;
232701  bool arg2 ;
232702  void *argp1 = 0 ;
232703  int res1 = 0 ;
232704  bool val2 ;
232705  int ecode2 = 0 ;
232706  PyObject * obj0 = 0 ;
232707  PyObject * obj1 = 0 ;
232708 
232709  if (!PyArg_ParseTuple(args,(char *)"OO:CurrentStimulus_AlwaysActive",&obj0,&obj1)) SWIG_fail;
232710  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
232711  if (!SWIG_IsOK(res1)) {
232712  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_AlwaysActive" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
232713  }
232714  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
232715  ecode2 = SWIG_AsVal_bool(obj1, &val2);
232716  if (!SWIG_IsOK(ecode2)) {
232717  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CurrentStimulus_AlwaysActive" "', argument " "2"" of type '" "bool""'");
232718  }
232719  arg2 = static_cast< bool >(val2);
232720  {
232721  try {
232722  (arg1)->AlwaysActive(arg2);
232723  }
232724  catch(CStdErrorInfo oError)
232725  {
232726  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232727  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232728  PyErr_SetString(PyExc_IndexError, strError.c_str());
232729  SWIG_fail;
232730  }
232731  catch(...)
232732  {
232733  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232734  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232735  SWIG_fail;
232736  }
232737  }
232738  resultobj = SWIG_Py_Void();
232739  return resultobj;
232740 fail:
232741  return NULL;
232742 }
232743 
232744 
232745 SWIGINTERN PyObject *_wrap_CurrentStimulus_TargetNodeID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232746  PyObject *resultobj = 0;
232748  void *argp1 = 0 ;
232749  int res1 = 0 ;
232750  PyObject * obj0 = 0 ;
232751  std::string result;
232752 
232753  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_TargetNodeID",&obj0)) SWIG_fail;
232754  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
232755  if (!SWIG_IsOK(res1)) {
232756  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_TargetNodeID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
232757  }
232758  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
232759  {
232760  try {
232761  result = (arg1)->TargetNodeID();
232762  }
232763  catch(CStdErrorInfo oError)
232764  {
232765  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232766  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232767  PyErr_SetString(PyExc_IndexError, strError.c_str());
232768  SWIG_fail;
232769  }
232770  catch(...)
232771  {
232772  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232773  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232774  SWIG_fail;
232775  }
232776  }
232777  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
232778  return resultobj;
232779 fail:
232780  return NULL;
232781 }
232782 
232783 
232784 SWIGINTERN PyObject *_wrap_CurrentStimulus_TargetNodeID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232785  PyObject *resultobj = 0;
232787  std::string arg2 ;
232788  void *argp1 = 0 ;
232789  int res1 = 0 ;
232790  PyObject * obj0 = 0 ;
232791  PyObject * obj1 = 0 ;
232792 
232793  if (!PyArg_ParseTuple(args,(char *)"OO:CurrentStimulus_TargetNodeID",&obj0,&obj1)) SWIG_fail;
232794  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
232795  if (!SWIG_IsOK(res1)) {
232796  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_TargetNodeID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
232797  }
232798  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
232799  {
232800  std::string *ptr = (std::string *)0;
232801  int res = SWIG_AsPtr_std_string(obj1, &ptr);
232802  if (!SWIG_IsOK(res) || !ptr) {
232803  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CurrentStimulus_TargetNodeID" "', argument " "2"" of type '" "std::string""'");
232804  }
232805  arg2 = *ptr;
232806  if (SWIG_IsNewObj(res)) delete ptr;
232807  }
232808  {
232809  try {
232810  (arg1)->TargetNodeID(arg2);
232811  }
232812  catch(CStdErrorInfo oError)
232813  {
232814  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232815  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232816  PyErr_SetString(PyExc_IndexError, strError.c_str());
232817  SWIG_fail;
232818  }
232819  catch(...)
232820  {
232821  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232822  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232823  SWIG_fail;
232824  }
232825  }
232826  resultobj = SWIG_Py_Void();
232827  return resultobj;
232828 fail:
232829  return NULL;
232830 }
232831 
232832 
232833 SWIGINTERN PyObject *_wrap_CurrentStimulus_TargetNodeID(PyObject *self, PyObject *args) {
232834  int argc;
232835  PyObject *argv[3];
232836  int ii;
232837 
232838  if (!PyTuple_Check(args)) SWIG_fail;
232839  argc = args ? (int)PyObject_Length(args) : 0;
232840  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
232841  argv[ii] = PyTuple_GET_ITEM(args,ii);
232842  }
232843  if (argc == 1) {
232844  int _v;
232845  void *vptr = 0;
232846  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
232847  _v = SWIG_CheckState(res);
232848  if (_v) {
232849  return _wrap_CurrentStimulus_TargetNodeID__SWIG_0(self, args);
232850  }
232851  }
232852  if (argc == 2) {
232853  int _v;
232854  void *vptr = 0;
232855  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
232856  _v = SWIG_CheckState(res);
232857  if (_v) {
232858  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
232859  _v = SWIG_CheckState(res);
232860  if (_v) {
232861  return _wrap_CurrentStimulus_TargetNodeID__SWIG_1(self, args);
232862  }
232863  }
232864  }
232865 
232866 fail:
232867  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CurrentStimulus_TargetNodeID'.\n"
232868  " Possible C/C++ prototypes are:\n"
232869  " AnimatSim::ExternalStimuli::CurrentStimulus::TargetNodeID()\n"
232870  " AnimatSim::ExternalStimuli::CurrentStimulus::TargetNodeID(std::string)\n");
232871  return 0;
232872 }
232873 
232874 
232875 SWIGINTERN PyObject *_wrap_CurrentStimulus_CurrentOn__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232876  PyObject *resultobj = 0;
232878  void *argp1 = 0 ;
232879  int res1 = 0 ;
232880  PyObject * obj0 = 0 ;
232881  float result;
232882 
232883  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_CurrentOn",&obj0)) SWIG_fail;
232884  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
232885  if (!SWIG_IsOK(res1)) {
232886  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_CurrentOn" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
232887  }
232888  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
232889  {
232890  try {
232891  result = (float)(arg1)->CurrentOn();
232892  }
232893  catch(CStdErrorInfo oError)
232894  {
232895  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232896  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232897  PyErr_SetString(PyExc_IndexError, strError.c_str());
232898  SWIG_fail;
232899  }
232900  catch(...)
232901  {
232902  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232903  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232904  SWIG_fail;
232905  }
232906  }
232907  resultobj = SWIG_From_float(static_cast< float >(result));
232908  return resultobj;
232909 fail:
232910  return NULL;
232911 }
232912 
232913 
232914 SWIGINTERN PyObject *_wrap_CurrentStimulus_CurrentOn__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
232915  PyObject *resultobj = 0;
232917  float arg2 ;
232918  void *argp1 = 0 ;
232919  int res1 = 0 ;
232920  float val2 ;
232921  int ecode2 = 0 ;
232922  PyObject * obj0 = 0 ;
232923  PyObject * obj1 = 0 ;
232924 
232925  if (!PyArg_ParseTuple(args,(char *)"OO:CurrentStimulus_CurrentOn",&obj0,&obj1)) SWIG_fail;
232926  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
232927  if (!SWIG_IsOK(res1)) {
232928  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_CurrentOn" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
232929  }
232930  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
232931  ecode2 = SWIG_AsVal_float(obj1, &val2);
232932  if (!SWIG_IsOK(ecode2)) {
232933  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CurrentStimulus_CurrentOn" "', argument " "2"" of type '" "float""'");
232934  }
232935  arg2 = static_cast< float >(val2);
232936  {
232937  try {
232938  (arg1)->CurrentOn(arg2);
232939  }
232940  catch(CStdErrorInfo oError)
232941  {
232942  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232943  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
232944  PyErr_SetString(PyExc_IndexError, strError.c_str());
232945  SWIG_fail;
232946  }
232947  catch(...)
232948  {
232949  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
232950  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
232951  SWIG_fail;
232952  }
232953  }
232954  resultobj = SWIG_Py_Void();
232955  return resultobj;
232956 fail:
232957  return NULL;
232958 }
232959 
232960 
232961 SWIGINTERN PyObject *_wrap_CurrentStimulus_CurrentOn(PyObject *self, PyObject *args) {
232962  int argc;
232963  PyObject *argv[3];
232964  int ii;
232965 
232966  if (!PyTuple_Check(args)) SWIG_fail;
232967  argc = args ? (int)PyObject_Length(args) : 0;
232968  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
232969  argv[ii] = PyTuple_GET_ITEM(args,ii);
232970  }
232971  if (argc == 1) {
232972  int _v;
232973  void *vptr = 0;
232974  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
232975  _v = SWIG_CheckState(res);
232976  if (_v) {
232977  return _wrap_CurrentStimulus_CurrentOn__SWIG_0(self, args);
232978  }
232979  }
232980  if (argc == 2) {
232981  int _v;
232982  void *vptr = 0;
232983  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
232984  _v = SWIG_CheckState(res);
232985  if (_v) {
232986  {
232987  int res = SWIG_AsVal_float(argv[1], NULL);
232988  _v = SWIG_CheckState(res);
232989  }
232990  if (_v) {
232991  return _wrap_CurrentStimulus_CurrentOn__SWIG_1(self, args);
232992  }
232993  }
232994  }
232995 
232996 fail:
232997  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CurrentStimulus_CurrentOn'.\n"
232998  " Possible C/C++ prototypes are:\n"
232999  " AnimatSim::ExternalStimuli::CurrentStimulus::CurrentOn()\n"
233000  " AnimatSim::ExternalStimuli::CurrentStimulus::CurrentOn(float)\n");
233001  return 0;
233002 }
233003 
233004 
233005 SWIGINTERN PyObject *_wrap_CurrentStimulus_CurrentOff__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233006  PyObject *resultobj = 0;
233008  void *argp1 = 0 ;
233009  int res1 = 0 ;
233010  PyObject * obj0 = 0 ;
233011  float result;
233012 
233013  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_CurrentOff",&obj0)) SWIG_fail;
233014  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233015  if (!SWIG_IsOK(res1)) {
233016  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_CurrentOff" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233017  }
233018  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233019  {
233020  try {
233021  result = (float)(arg1)->CurrentOff();
233022  }
233023  catch(CStdErrorInfo oError)
233024  {
233025  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233026  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233027  PyErr_SetString(PyExc_IndexError, strError.c_str());
233028  SWIG_fail;
233029  }
233030  catch(...)
233031  {
233032  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233033  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233034  SWIG_fail;
233035  }
233036  }
233037  resultobj = SWIG_From_float(static_cast< float >(result));
233038  return resultobj;
233039 fail:
233040  return NULL;
233041 }
233042 
233043 
233044 SWIGINTERN PyObject *_wrap_CurrentStimulus_CurrentOff__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233045  PyObject *resultobj = 0;
233047  float arg2 ;
233048  void *argp1 = 0 ;
233049  int res1 = 0 ;
233050  float val2 ;
233051  int ecode2 = 0 ;
233052  PyObject * obj0 = 0 ;
233053  PyObject * obj1 = 0 ;
233054 
233055  if (!PyArg_ParseTuple(args,(char *)"OO:CurrentStimulus_CurrentOff",&obj0,&obj1)) SWIG_fail;
233056  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233057  if (!SWIG_IsOK(res1)) {
233058  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_CurrentOff" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233059  }
233060  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233061  ecode2 = SWIG_AsVal_float(obj1, &val2);
233062  if (!SWIG_IsOK(ecode2)) {
233063  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CurrentStimulus_CurrentOff" "', argument " "2"" of type '" "float""'");
233064  }
233065  arg2 = static_cast< float >(val2);
233066  {
233067  try {
233068  (arg1)->CurrentOff(arg2);
233069  }
233070  catch(CStdErrorInfo oError)
233071  {
233072  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233073  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233074  PyErr_SetString(PyExc_IndexError, strError.c_str());
233075  SWIG_fail;
233076  }
233077  catch(...)
233078  {
233079  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233080  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233081  SWIG_fail;
233082  }
233083  }
233084  resultobj = SWIG_Py_Void();
233085  return resultobj;
233086 fail:
233087  return NULL;
233088 }
233089 
233090 
233091 SWIGINTERN PyObject *_wrap_CurrentStimulus_CurrentOff(PyObject *self, PyObject *args) {
233092  int argc;
233093  PyObject *argv[3];
233094  int ii;
233095 
233096  if (!PyTuple_Check(args)) SWIG_fail;
233097  argc = args ? (int)PyObject_Length(args) : 0;
233098  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
233099  argv[ii] = PyTuple_GET_ITEM(args,ii);
233100  }
233101  if (argc == 1) {
233102  int _v;
233103  void *vptr = 0;
233104  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
233105  _v = SWIG_CheckState(res);
233106  if (_v) {
233107  return _wrap_CurrentStimulus_CurrentOff__SWIG_0(self, args);
233108  }
233109  }
233110  if (argc == 2) {
233111  int _v;
233112  void *vptr = 0;
233113  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
233114  _v = SWIG_CheckState(res);
233115  if (_v) {
233116  {
233117  int res = SWIG_AsVal_float(argv[1], NULL);
233118  _v = SWIG_CheckState(res);
233119  }
233120  if (_v) {
233121  return _wrap_CurrentStimulus_CurrentOff__SWIG_1(self, args);
233122  }
233123  }
233124  }
233125 
233126 fail:
233127  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CurrentStimulus_CurrentOff'.\n"
233128  " Possible C/C++ prototypes are:\n"
233129  " AnimatSim::ExternalStimuli::CurrentStimulus::CurrentOff()\n"
233130  " AnimatSim::ExternalStimuli::CurrentStimulus::CurrentOff(float)\n");
233131  return 0;
233132 }
233133 
233134 
233135 SWIGINTERN PyObject *_wrap_CurrentStimulus_CurrentBurstOff__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233136  PyObject *resultobj = 0;
233138  void *argp1 = 0 ;
233139  int res1 = 0 ;
233140  PyObject * obj0 = 0 ;
233141  float result;
233142 
233143  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_CurrentBurstOff",&obj0)) SWIG_fail;
233144  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233145  if (!SWIG_IsOK(res1)) {
233146  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_CurrentBurstOff" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233147  }
233148  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233149  {
233150  try {
233151  result = (float)(arg1)->CurrentBurstOff();
233152  }
233153  catch(CStdErrorInfo oError)
233154  {
233155  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233156  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233157  PyErr_SetString(PyExc_IndexError, strError.c_str());
233158  SWIG_fail;
233159  }
233160  catch(...)
233161  {
233162  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233163  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233164  SWIG_fail;
233165  }
233166  }
233167  resultobj = SWIG_From_float(static_cast< float >(result));
233168  return resultobj;
233169 fail:
233170  return NULL;
233171 }
233172 
233173 
233174 SWIGINTERN PyObject *_wrap_CurrentStimulus_CurrentBurstOff__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233175  PyObject *resultobj = 0;
233177  float arg2 ;
233178  void *argp1 = 0 ;
233179  int res1 = 0 ;
233180  float val2 ;
233181  int ecode2 = 0 ;
233182  PyObject * obj0 = 0 ;
233183  PyObject * obj1 = 0 ;
233184 
233185  if (!PyArg_ParseTuple(args,(char *)"OO:CurrentStimulus_CurrentBurstOff",&obj0,&obj1)) SWIG_fail;
233186  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233187  if (!SWIG_IsOK(res1)) {
233188  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_CurrentBurstOff" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233189  }
233190  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233191  ecode2 = SWIG_AsVal_float(obj1, &val2);
233192  if (!SWIG_IsOK(ecode2)) {
233193  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CurrentStimulus_CurrentBurstOff" "', argument " "2"" of type '" "float""'");
233194  }
233195  arg2 = static_cast< float >(val2);
233196  {
233197  try {
233198  (arg1)->CurrentBurstOff(arg2);
233199  }
233200  catch(CStdErrorInfo oError)
233201  {
233202  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233203  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233204  PyErr_SetString(PyExc_IndexError, strError.c_str());
233205  SWIG_fail;
233206  }
233207  catch(...)
233208  {
233209  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233210  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233211  SWIG_fail;
233212  }
233213  }
233214  resultobj = SWIG_Py_Void();
233215  return resultobj;
233216 fail:
233217  return NULL;
233218 }
233219 
233220 
233221 SWIGINTERN PyObject *_wrap_CurrentStimulus_CurrentBurstOff(PyObject *self, PyObject *args) {
233222  int argc;
233223  PyObject *argv[3];
233224  int ii;
233225 
233226  if (!PyTuple_Check(args)) SWIG_fail;
233227  argc = args ? (int)PyObject_Length(args) : 0;
233228  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
233229  argv[ii] = PyTuple_GET_ITEM(args,ii);
233230  }
233231  if (argc == 1) {
233232  int _v;
233233  void *vptr = 0;
233234  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
233235  _v = SWIG_CheckState(res);
233236  if (_v) {
233237  return _wrap_CurrentStimulus_CurrentBurstOff__SWIG_0(self, args);
233238  }
233239  }
233240  if (argc == 2) {
233241  int _v;
233242  void *vptr = 0;
233243  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
233244  _v = SWIG_CheckState(res);
233245  if (_v) {
233246  {
233247  int res = SWIG_AsVal_float(argv[1], NULL);
233248  _v = SWIG_CheckState(res);
233249  }
233250  if (_v) {
233251  return _wrap_CurrentStimulus_CurrentBurstOff__SWIG_1(self, args);
233252  }
233253  }
233254  }
233255 
233256 fail:
233257  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CurrentStimulus_CurrentBurstOff'.\n"
233258  " Possible C/C++ prototypes are:\n"
233259  " AnimatSim::ExternalStimuli::CurrentStimulus::CurrentBurstOff()\n"
233260  " AnimatSim::ExternalStimuli::CurrentStimulus::CurrentBurstOff(float)\n");
233261  return 0;
233262 }
233263 
233264 
233265 SWIGINTERN PyObject *_wrap_CurrentStimulus_CycleOnDuration__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233266  PyObject *resultobj = 0;
233268  void *argp1 = 0 ;
233269  int res1 = 0 ;
233270  PyObject * obj0 = 0 ;
233271  float result;
233272 
233273  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_CycleOnDuration",&obj0)) SWIG_fail;
233274  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233275  if (!SWIG_IsOK(res1)) {
233276  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_CycleOnDuration" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233277  }
233278  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233279  {
233280  try {
233281  result = (float)(arg1)->CycleOnDuration();
233282  }
233283  catch(CStdErrorInfo oError)
233284  {
233285  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233286  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233287  PyErr_SetString(PyExc_IndexError, strError.c_str());
233288  SWIG_fail;
233289  }
233290  catch(...)
233291  {
233292  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233293  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233294  SWIG_fail;
233295  }
233296  }
233297  resultobj = SWIG_From_float(static_cast< float >(result));
233298  return resultobj;
233299 fail:
233300  return NULL;
233301 }
233302 
233303 
233304 SWIGINTERN PyObject *_wrap_CurrentStimulus_CycleOnDuration__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233305  PyObject *resultobj = 0;
233307  float arg2 ;
233308  void *argp1 = 0 ;
233309  int res1 = 0 ;
233310  float val2 ;
233311  int ecode2 = 0 ;
233312  PyObject * obj0 = 0 ;
233313  PyObject * obj1 = 0 ;
233314 
233315  if (!PyArg_ParseTuple(args,(char *)"OO:CurrentStimulus_CycleOnDuration",&obj0,&obj1)) SWIG_fail;
233316  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233317  if (!SWIG_IsOK(res1)) {
233318  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_CycleOnDuration" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233319  }
233320  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233321  ecode2 = SWIG_AsVal_float(obj1, &val2);
233322  if (!SWIG_IsOK(ecode2)) {
233323  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CurrentStimulus_CycleOnDuration" "', argument " "2"" of type '" "float""'");
233324  }
233325  arg2 = static_cast< float >(val2);
233326  {
233327  try {
233328  (arg1)->CycleOnDuration(arg2);
233329  }
233330  catch(CStdErrorInfo oError)
233331  {
233332  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233333  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233334  PyErr_SetString(PyExc_IndexError, strError.c_str());
233335  SWIG_fail;
233336  }
233337  catch(...)
233338  {
233339  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233340  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233341  SWIG_fail;
233342  }
233343  }
233344  resultobj = SWIG_Py_Void();
233345  return resultobj;
233346 fail:
233347  return NULL;
233348 }
233349 
233350 
233351 SWIGINTERN PyObject *_wrap_CurrentStimulus_CycleOnDuration(PyObject *self, PyObject *args) {
233352  int argc;
233353  PyObject *argv[3];
233354  int ii;
233355 
233356  if (!PyTuple_Check(args)) SWIG_fail;
233357  argc = args ? (int)PyObject_Length(args) : 0;
233358  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
233359  argv[ii] = PyTuple_GET_ITEM(args,ii);
233360  }
233361  if (argc == 1) {
233362  int _v;
233363  void *vptr = 0;
233364  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
233365  _v = SWIG_CheckState(res);
233366  if (_v) {
233367  return _wrap_CurrentStimulus_CycleOnDuration__SWIG_0(self, args);
233368  }
233369  }
233370  if (argc == 2) {
233371  int _v;
233372  void *vptr = 0;
233373  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
233374  _v = SWIG_CheckState(res);
233375  if (_v) {
233376  {
233377  int res = SWIG_AsVal_float(argv[1], NULL);
233378  _v = SWIG_CheckState(res);
233379  }
233380  if (_v) {
233381  return _wrap_CurrentStimulus_CycleOnDuration__SWIG_1(self, args);
233382  }
233383  }
233384  }
233385 
233386 fail:
233387  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CurrentStimulus_CycleOnDuration'.\n"
233388  " Possible C/C++ prototypes are:\n"
233389  " AnimatSim::ExternalStimuli::CurrentStimulus::CycleOnDuration()\n"
233390  " AnimatSim::ExternalStimuli::CurrentStimulus::CycleOnDuration(float)\n");
233391  return 0;
233392 }
233393 
233394 
233395 SWIGINTERN PyObject *_wrap_CurrentStimulus_CycleOffDuration__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233396  PyObject *resultobj = 0;
233398  void *argp1 = 0 ;
233399  int res1 = 0 ;
233400  PyObject * obj0 = 0 ;
233401  float result;
233402 
233403  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_CycleOffDuration",&obj0)) SWIG_fail;
233404  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233405  if (!SWIG_IsOK(res1)) {
233406  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_CycleOffDuration" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233407  }
233408  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233409  {
233410  try {
233411  result = (float)(arg1)->CycleOffDuration();
233412  }
233413  catch(CStdErrorInfo oError)
233414  {
233415  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233416  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233417  PyErr_SetString(PyExc_IndexError, strError.c_str());
233418  SWIG_fail;
233419  }
233420  catch(...)
233421  {
233422  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233423  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233424  SWIG_fail;
233425  }
233426  }
233427  resultobj = SWIG_From_float(static_cast< float >(result));
233428  return resultobj;
233429 fail:
233430  return NULL;
233431 }
233432 
233433 
233434 SWIGINTERN PyObject *_wrap_CurrentStimulus_CycleOffDuration__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233435  PyObject *resultobj = 0;
233437  float arg2 ;
233438  void *argp1 = 0 ;
233439  int res1 = 0 ;
233440  float val2 ;
233441  int ecode2 = 0 ;
233442  PyObject * obj0 = 0 ;
233443  PyObject * obj1 = 0 ;
233444 
233445  if (!PyArg_ParseTuple(args,(char *)"OO:CurrentStimulus_CycleOffDuration",&obj0,&obj1)) SWIG_fail;
233446  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233447  if (!SWIG_IsOK(res1)) {
233448  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_CycleOffDuration" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233449  }
233450  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233451  ecode2 = SWIG_AsVal_float(obj1, &val2);
233452  if (!SWIG_IsOK(ecode2)) {
233453  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CurrentStimulus_CycleOffDuration" "', argument " "2"" of type '" "float""'");
233454  }
233455  arg2 = static_cast< float >(val2);
233456  {
233457  try {
233458  (arg1)->CycleOffDuration(arg2);
233459  }
233460  catch(CStdErrorInfo oError)
233461  {
233462  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233463  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233464  PyErr_SetString(PyExc_IndexError, strError.c_str());
233465  SWIG_fail;
233466  }
233467  catch(...)
233468  {
233469  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233470  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233471  SWIG_fail;
233472  }
233473  }
233474  resultobj = SWIG_Py_Void();
233475  return resultobj;
233476 fail:
233477  return NULL;
233478 }
233479 
233480 
233481 SWIGINTERN PyObject *_wrap_CurrentStimulus_CycleOffDuration(PyObject *self, PyObject *args) {
233482  int argc;
233483  PyObject *argv[3];
233484  int ii;
233485 
233486  if (!PyTuple_Check(args)) SWIG_fail;
233487  argc = args ? (int)PyObject_Length(args) : 0;
233488  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
233489  argv[ii] = PyTuple_GET_ITEM(args,ii);
233490  }
233491  if (argc == 1) {
233492  int _v;
233493  void *vptr = 0;
233494  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
233495  _v = SWIG_CheckState(res);
233496  if (_v) {
233497  return _wrap_CurrentStimulus_CycleOffDuration__SWIG_0(self, args);
233498  }
233499  }
233500  if (argc == 2) {
233501  int _v;
233502  void *vptr = 0;
233503  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
233504  _v = SWIG_CheckState(res);
233505  if (_v) {
233506  {
233507  int res = SWIG_AsVal_float(argv[1], NULL);
233508  _v = SWIG_CheckState(res);
233509  }
233510  if (_v) {
233511  return _wrap_CurrentStimulus_CycleOffDuration__SWIG_1(self, args);
233512  }
233513  }
233514  }
233515 
233516 fail:
233517  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CurrentStimulus_CycleOffDuration'.\n"
233518  " Possible C/C++ prototypes are:\n"
233519  " AnimatSim::ExternalStimuli::CurrentStimulus::CycleOffDuration()\n"
233520  " AnimatSim::ExternalStimuli::CurrentStimulus::CycleOffDuration(float)\n");
233521  return 0;
233522 }
233523 
233524 
233525 SWIGINTERN PyObject *_wrap_CurrentStimulus_BurstOnDuration__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233526  PyObject *resultobj = 0;
233528  void *argp1 = 0 ;
233529  int res1 = 0 ;
233530  PyObject * obj0 = 0 ;
233531  float result;
233532 
233533  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_BurstOnDuration",&obj0)) SWIG_fail;
233534  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233535  if (!SWIG_IsOK(res1)) {
233536  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_BurstOnDuration" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233537  }
233538  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233539  {
233540  try {
233541  result = (float)(arg1)->BurstOnDuration();
233542  }
233543  catch(CStdErrorInfo oError)
233544  {
233545  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233546  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233547  PyErr_SetString(PyExc_IndexError, strError.c_str());
233548  SWIG_fail;
233549  }
233550  catch(...)
233551  {
233552  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233553  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233554  SWIG_fail;
233555  }
233556  }
233557  resultobj = SWIG_From_float(static_cast< float >(result));
233558  return resultobj;
233559 fail:
233560  return NULL;
233561 }
233562 
233563 
233564 SWIGINTERN PyObject *_wrap_CurrentStimulus_BurstOnDuration__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233565  PyObject *resultobj = 0;
233567  float arg2 ;
233568  void *argp1 = 0 ;
233569  int res1 = 0 ;
233570  float val2 ;
233571  int ecode2 = 0 ;
233572  PyObject * obj0 = 0 ;
233573  PyObject * obj1 = 0 ;
233574 
233575  if (!PyArg_ParseTuple(args,(char *)"OO:CurrentStimulus_BurstOnDuration",&obj0,&obj1)) SWIG_fail;
233576  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233577  if (!SWIG_IsOK(res1)) {
233578  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_BurstOnDuration" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233579  }
233580  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233581  ecode2 = SWIG_AsVal_float(obj1, &val2);
233582  if (!SWIG_IsOK(ecode2)) {
233583  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CurrentStimulus_BurstOnDuration" "', argument " "2"" of type '" "float""'");
233584  }
233585  arg2 = static_cast< float >(val2);
233586  {
233587  try {
233588  (arg1)->BurstOnDuration(arg2);
233589  }
233590  catch(CStdErrorInfo oError)
233591  {
233592  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233593  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233594  PyErr_SetString(PyExc_IndexError, strError.c_str());
233595  SWIG_fail;
233596  }
233597  catch(...)
233598  {
233599  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233600  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233601  SWIG_fail;
233602  }
233603  }
233604  resultobj = SWIG_Py_Void();
233605  return resultobj;
233606 fail:
233607  return NULL;
233608 }
233609 
233610 
233611 SWIGINTERN PyObject *_wrap_CurrentStimulus_BurstOnDuration(PyObject *self, PyObject *args) {
233612  int argc;
233613  PyObject *argv[3];
233614  int ii;
233615 
233616  if (!PyTuple_Check(args)) SWIG_fail;
233617  argc = args ? (int)PyObject_Length(args) : 0;
233618  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
233619  argv[ii] = PyTuple_GET_ITEM(args,ii);
233620  }
233621  if (argc == 1) {
233622  int _v;
233623  void *vptr = 0;
233624  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
233625  _v = SWIG_CheckState(res);
233626  if (_v) {
233627  return _wrap_CurrentStimulus_BurstOnDuration__SWIG_0(self, args);
233628  }
233629  }
233630  if (argc == 2) {
233631  int _v;
233632  void *vptr = 0;
233633  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
233634  _v = SWIG_CheckState(res);
233635  if (_v) {
233636  {
233637  int res = SWIG_AsVal_float(argv[1], NULL);
233638  _v = SWIG_CheckState(res);
233639  }
233640  if (_v) {
233641  return _wrap_CurrentStimulus_BurstOnDuration__SWIG_1(self, args);
233642  }
233643  }
233644  }
233645 
233646 fail:
233647  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CurrentStimulus_BurstOnDuration'.\n"
233648  " Possible C/C++ prototypes are:\n"
233649  " AnimatSim::ExternalStimuli::CurrentStimulus::BurstOnDuration()\n"
233650  " AnimatSim::ExternalStimuli::CurrentStimulus::BurstOnDuration(float)\n");
233651  return 0;
233652 }
233653 
233654 
233655 SWIGINTERN PyObject *_wrap_CurrentStimulus_BurstOffDuration__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233656  PyObject *resultobj = 0;
233658  void *argp1 = 0 ;
233659  int res1 = 0 ;
233660  PyObject * obj0 = 0 ;
233661  float result;
233662 
233663  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_BurstOffDuration",&obj0)) SWIG_fail;
233664  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233665  if (!SWIG_IsOK(res1)) {
233666  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_BurstOffDuration" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233667  }
233668  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233669  {
233670  try {
233671  result = (float)(arg1)->BurstOffDuration();
233672  }
233673  catch(CStdErrorInfo oError)
233674  {
233675  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233676  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233677  PyErr_SetString(PyExc_IndexError, strError.c_str());
233678  SWIG_fail;
233679  }
233680  catch(...)
233681  {
233682  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233683  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233684  SWIG_fail;
233685  }
233686  }
233687  resultobj = SWIG_From_float(static_cast< float >(result));
233688  return resultobj;
233689 fail:
233690  return NULL;
233691 }
233692 
233693 
233694 SWIGINTERN PyObject *_wrap_CurrentStimulus_BurstOffDuration__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233695  PyObject *resultobj = 0;
233697  float arg2 ;
233698  void *argp1 = 0 ;
233699  int res1 = 0 ;
233700  float val2 ;
233701  int ecode2 = 0 ;
233702  PyObject * obj0 = 0 ;
233703  PyObject * obj1 = 0 ;
233704 
233705  if (!PyArg_ParseTuple(args,(char *)"OO:CurrentStimulus_BurstOffDuration",&obj0,&obj1)) SWIG_fail;
233706  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233707  if (!SWIG_IsOK(res1)) {
233708  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_BurstOffDuration" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233709  }
233710  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233711  ecode2 = SWIG_AsVal_float(obj1, &val2);
233712  if (!SWIG_IsOK(ecode2)) {
233713  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CurrentStimulus_BurstOffDuration" "', argument " "2"" of type '" "float""'");
233714  }
233715  arg2 = static_cast< float >(val2);
233716  {
233717  try {
233718  (arg1)->BurstOffDuration(arg2);
233719  }
233720  catch(CStdErrorInfo oError)
233721  {
233722  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233723  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233724  PyErr_SetString(PyExc_IndexError, strError.c_str());
233725  SWIG_fail;
233726  }
233727  catch(...)
233728  {
233729  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233730  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233731  SWIG_fail;
233732  }
233733  }
233734  resultobj = SWIG_Py_Void();
233735  return resultobj;
233736 fail:
233737  return NULL;
233738 }
233739 
233740 
233741 SWIGINTERN PyObject *_wrap_CurrentStimulus_BurstOffDuration(PyObject *self, PyObject *args) {
233742  int argc;
233743  PyObject *argv[3];
233744  int ii;
233745 
233746  if (!PyTuple_Check(args)) SWIG_fail;
233747  argc = args ? (int)PyObject_Length(args) : 0;
233748  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
233749  argv[ii] = PyTuple_GET_ITEM(args,ii);
233750  }
233751  if (argc == 1) {
233752  int _v;
233753  void *vptr = 0;
233754  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
233755  _v = SWIG_CheckState(res);
233756  if (_v) {
233757  return _wrap_CurrentStimulus_BurstOffDuration__SWIG_0(self, args);
233758  }
233759  }
233760  if (argc == 2) {
233761  int _v;
233762  void *vptr = 0;
233763  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
233764  _v = SWIG_CheckState(res);
233765  if (_v) {
233766  {
233767  int res = SWIG_AsVal_float(argv[1], NULL);
233768  _v = SWIG_CheckState(res);
233769  }
233770  if (_v) {
233771  return _wrap_CurrentStimulus_BurstOffDuration__SWIG_1(self, args);
233772  }
233773  }
233774  }
233775 
233776 fail:
233777  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CurrentStimulus_BurstOffDuration'.\n"
233778  " Possible C/C++ prototypes are:\n"
233779  " AnimatSim::ExternalStimuli::CurrentStimulus::BurstOffDuration()\n"
233780  " AnimatSim::ExternalStimuli::CurrentStimulus::BurstOffDuration(float)\n");
233781  return 0;
233782 }
233783 
233784 
233785 SWIGINTERN PyObject *_wrap_CurrentStimulus_CurrentEquation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233786  PyObject *resultobj = 0;
233788  void *argp1 = 0 ;
233789  int res1 = 0 ;
233790  PyObject * obj0 = 0 ;
233791  std::string result;
233792 
233793  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_CurrentEquation",&obj0)) SWIG_fail;
233794  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233795  if (!SWIG_IsOK(res1)) {
233796  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_CurrentEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233797  }
233798  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233799  {
233800  try {
233801  result = (arg1)->CurrentEquation();
233802  }
233803  catch(CStdErrorInfo oError)
233804  {
233805  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233806  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233807  PyErr_SetString(PyExc_IndexError, strError.c_str());
233808  SWIG_fail;
233809  }
233810  catch(...)
233811  {
233812  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233813  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233814  SWIG_fail;
233815  }
233816  }
233817  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
233818  return resultobj;
233819 fail:
233820  return NULL;
233821 }
233822 
233823 
233824 SWIGINTERN PyObject *_wrap_CurrentStimulus_CurrentEquation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233825  PyObject *resultobj = 0;
233827  std::string arg2 ;
233828  void *argp1 = 0 ;
233829  int res1 = 0 ;
233830  PyObject * obj0 = 0 ;
233831  PyObject * obj1 = 0 ;
233832 
233833  if (!PyArg_ParseTuple(args,(char *)"OO:CurrentStimulus_CurrentEquation",&obj0,&obj1)) SWIG_fail;
233834  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233835  if (!SWIG_IsOK(res1)) {
233836  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_CurrentEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233837  }
233838  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233839  {
233840  std::string *ptr = (std::string *)0;
233841  int res = SWIG_AsPtr_std_string(obj1, &ptr);
233842  if (!SWIG_IsOK(res) || !ptr) {
233843  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "CurrentStimulus_CurrentEquation" "', argument " "2"" of type '" "std::string""'");
233844  }
233845  arg2 = *ptr;
233846  if (SWIG_IsNewObj(res)) delete ptr;
233847  }
233848  {
233849  try {
233850  (arg1)->CurrentEquation(arg2);
233851  }
233852  catch(CStdErrorInfo oError)
233853  {
233854  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233855  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233856  PyErr_SetString(PyExc_IndexError, strError.c_str());
233857  SWIG_fail;
233858  }
233859  catch(...)
233860  {
233861  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233862  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233863  SWIG_fail;
233864  }
233865  }
233866  resultobj = SWIG_Py_Void();
233867  return resultobj;
233868 fail:
233869  return NULL;
233870 }
233871 
233872 
233873 SWIGINTERN PyObject *_wrap_CurrentStimulus_CurrentEquation(PyObject *self, PyObject *args) {
233874  int argc;
233875  PyObject *argv[3];
233876  int ii;
233877 
233878  if (!PyTuple_Check(args)) SWIG_fail;
233879  argc = args ? (int)PyObject_Length(args) : 0;
233880  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
233881  argv[ii] = PyTuple_GET_ITEM(args,ii);
233882  }
233883  if (argc == 1) {
233884  int _v;
233885  void *vptr = 0;
233886  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
233887  _v = SWIG_CheckState(res);
233888  if (_v) {
233889  return _wrap_CurrentStimulus_CurrentEquation__SWIG_0(self, args);
233890  }
233891  }
233892  if (argc == 2) {
233893  int _v;
233894  void *vptr = 0;
233895  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
233896  _v = SWIG_CheckState(res);
233897  if (_v) {
233898  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
233899  _v = SWIG_CheckState(res);
233900  if (_v) {
233901  return _wrap_CurrentStimulus_CurrentEquation__SWIG_1(self, args);
233902  }
233903  }
233904  }
233905 
233906 fail:
233907  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CurrentStimulus_CurrentEquation'.\n"
233908  " Possible C/C++ prototypes are:\n"
233909  " AnimatSim::ExternalStimuli::CurrentStimulus::CurrentEquation()\n"
233910  " AnimatSim::ExternalStimuli::CurrentStimulus::CurrentEquation(std::string)\n");
233911  return 0;
233912 }
233913 
233914 
233915 SWIGINTERN PyObject *_wrap_CurrentStimulus_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233916  PyObject *resultobj = 0;
233918  CStdXml *arg2 = 0 ;
233919  void *argp1 = 0 ;
233920  int res1 = 0 ;
233921  void *argp2 = 0 ;
233922  int res2 = 0 ;
233923  PyObject * obj0 = 0 ;
233924  PyObject * obj1 = 0 ;
233925 
233926  if (!PyArg_ParseTuple(args,(char *)"OO:CurrentStimulus_Load",&obj0,&obj1)) SWIG_fail;
233927  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233928  if (!SWIG_IsOK(res1)) {
233929  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_Load" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233930  }
233931  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233932  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
233933  if (!SWIG_IsOK(res2)) {
233934  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CurrentStimulus_Load" "', argument " "2"" of type '" "CStdXml &""'");
233935  }
233936  if (!argp2) {
233937  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CurrentStimulus_Load" "', argument " "2"" of type '" "CStdXml &""'");
233938  }
233939  arg2 = reinterpret_cast< CStdXml * >(argp2);
233940  {
233941  try {
233942  (arg1)->Load(*arg2);
233943  }
233944  catch(CStdErrorInfo oError)
233945  {
233946  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233947  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233948  PyErr_SetString(PyExc_IndexError, strError.c_str());
233949  SWIG_fail;
233950  }
233951  catch(...)
233952  {
233953  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233954  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233955  SWIG_fail;
233956  }
233957  }
233958  resultobj = SWIG_Py_Void();
233959  return resultobj;
233960 fail:
233961  return NULL;
233962 }
233963 
233964 
233965 SWIGINTERN PyObject *_wrap_CurrentStimulus_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
233966  PyObject *resultobj = 0;
233968  void *argp1 = 0 ;
233969  int res1 = 0 ;
233970  PyObject * obj0 = 0 ;
233971 
233972  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_Initialize",&obj0)) SWIG_fail;
233973  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
233974  if (!SWIG_IsOK(res1)) {
233975  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_Initialize" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
233976  }
233977  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
233978  {
233979  try {
233980  (arg1)->Initialize();
233981  }
233982  catch(CStdErrorInfo oError)
233983  {
233984  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233985  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
233986  PyErr_SetString(PyExc_IndexError, strError.c_str());
233987  SWIG_fail;
233988  }
233989  catch(...)
233990  {
233991  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
233992  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
233993  SWIG_fail;
233994  }
233995  }
233996  resultobj = SWIG_Py_Void();
233997  return resultobj;
233998 fail:
233999  return NULL;
234000 }
234001 
234002 
234003 SWIGINTERN PyObject *_wrap_CurrentStimulus_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234004  PyObject *resultobj = 0;
234006  void *argp1 = 0 ;
234007  int res1 = 0 ;
234008  PyObject * obj0 = 0 ;
234009 
234010  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_ResetSimulation",&obj0)) SWIG_fail;
234011  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
234012  if (!SWIG_IsOK(res1)) {
234013  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
234014  }
234015  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
234016  {
234017  try {
234018  (arg1)->ResetSimulation();
234019  }
234020  catch(CStdErrorInfo oError)
234021  {
234022  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234023  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234024  PyErr_SetString(PyExc_IndexError, strError.c_str());
234025  SWIG_fail;
234026  }
234027  catch(...)
234028  {
234029  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234030  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234031  SWIG_fail;
234032  }
234033  }
234034  resultobj = SWIG_Py_Void();
234035  return resultobj;
234036 fail:
234037  return NULL;
234038 }
234039 
234040 
234041 SWIGINTERN PyObject *_wrap_CurrentStimulus_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234042  PyObject *resultobj = 0;
234044  void *argp1 = 0 ;
234045  int res1 = 0 ;
234046  PyObject * obj0 = 0 ;
234047 
234048  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_Activate",&obj0)) SWIG_fail;
234049  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
234050  if (!SWIG_IsOK(res1)) {
234051  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_Activate" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
234052  }
234053  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
234054  {
234055  try {
234056  (arg1)->Activate();
234057  }
234058  catch(CStdErrorInfo oError)
234059  {
234060  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234061  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234062  PyErr_SetString(PyExc_IndexError, strError.c_str());
234063  SWIG_fail;
234064  }
234065  catch(...)
234066  {
234067  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234068  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234069  SWIG_fail;
234070  }
234071  }
234072  resultobj = SWIG_Py_Void();
234073  return resultobj;
234074 fail:
234075  return NULL;
234076 }
234077 
234078 
234079 SWIGINTERN PyObject *_wrap_CurrentStimulus_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234080  PyObject *resultobj = 0;
234082  void *argp1 = 0 ;
234083  int res1 = 0 ;
234084  PyObject * obj0 = 0 ;
234085 
234086  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_StepSimulation",&obj0)) SWIG_fail;
234087  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
234088  if (!SWIG_IsOK(res1)) {
234089  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_StepSimulation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
234090  }
234091  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
234092  {
234093  try {
234094  (arg1)->StepSimulation();
234095  }
234096  catch(CStdErrorInfo oError)
234097  {
234098  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234099  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234100  PyErr_SetString(PyExc_IndexError, strError.c_str());
234101  SWIG_fail;
234102  }
234103  catch(...)
234104  {
234105  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234106  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234107  SWIG_fail;
234108  }
234109  }
234110  resultobj = SWIG_Py_Void();
234111  return resultobj;
234112 fail:
234113  return NULL;
234114 }
234115 
234116 
234117 SWIGINTERN PyObject *_wrap_CurrentStimulus_Deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234118  PyObject *resultobj = 0;
234120  void *argp1 = 0 ;
234121  int res1 = 0 ;
234122  PyObject * obj0 = 0 ;
234123 
234124  if (!PyArg_ParseTuple(args,(char *)"O:CurrentStimulus_Deactivate",&obj0)) SWIG_fail;
234125  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
234126  if (!SWIG_IsOK(res1)) {
234127  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_Deactivate" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
234128  }
234129  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
234130  {
234131  try {
234132  (arg1)->Deactivate();
234133  }
234134  catch(CStdErrorInfo oError)
234135  {
234136  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234137  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234138  PyErr_SetString(PyExc_IndexError, strError.c_str());
234139  SWIG_fail;
234140  }
234141  catch(...)
234142  {
234143  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234144  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234145  SWIG_fail;
234146  }
234147  }
234148  resultobj = SWIG_Py_Void();
234149  return resultobj;
234150 fail:
234151  return NULL;
234152 }
234153 
234154 
234155 SWIGINTERN PyObject *_wrap_CurrentStimulus_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234156  PyObject *resultobj = 0;
234158  std::string *arg2 = 0 ;
234159  void *argp1 = 0 ;
234160  int res1 = 0 ;
234161  int res2 = SWIG_OLDOBJ ;
234162  PyObject * obj0 = 0 ;
234163  PyObject * obj1 = 0 ;
234164  float *result = 0 ;
234165 
234166  if (!PyArg_ParseTuple(args,(char *)"OO:CurrentStimulus_GetDataPointer",&obj0,&obj1)) SWIG_fail;
234167  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
234168  if (!SWIG_IsOK(res1)) {
234169  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
234170  }
234171  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
234172  {
234173  std::string *ptr = (std::string *)0;
234174  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
234175  if (!SWIG_IsOK(res2)) {
234176  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CurrentStimulus_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
234177  }
234178  if (!ptr) {
234179  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CurrentStimulus_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
234180  }
234181  arg2 = ptr;
234182  }
234183  {
234184  try {
234185  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
234186  }
234187  catch(CStdErrorInfo oError)
234188  {
234189  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234190  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234191  PyErr_SetString(PyExc_IndexError, strError.c_str());
234192  SWIG_fail;
234193  }
234194  catch(...)
234195  {
234196  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234197  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234198  SWIG_fail;
234199  }
234200  }
234201  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
234202  if (SWIG_IsNewObj(res2)) delete arg2;
234203  return resultobj;
234204 fail:
234205  if (SWIG_IsNewObj(res2)) delete arg2;
234206  return NULL;
234207 }
234208 
234209 
234210 SWIGINTERN PyObject *_wrap_CurrentStimulus_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234211  PyObject *resultobj = 0;
234213  std::string *arg2 = 0 ;
234214  std::string *arg3 = 0 ;
234215  bool arg4 ;
234216  void *argp1 = 0 ;
234217  int res1 = 0 ;
234218  int res2 = SWIG_OLDOBJ ;
234219  int res3 = SWIG_OLDOBJ ;
234220  bool val4 ;
234221  int ecode4 = 0 ;
234222  PyObject * obj0 = 0 ;
234223  PyObject * obj1 = 0 ;
234224  PyObject * obj2 = 0 ;
234225  PyObject * obj3 = 0 ;
234226  bool result;
234227 
234228  if (!PyArg_ParseTuple(args,(char *)"OOOO:CurrentStimulus_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
234229  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
234230  if (!SWIG_IsOK(res1)) {
234231  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
234232  }
234233  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
234234  {
234235  std::string *ptr = (std::string *)0;
234236  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
234237  if (!SWIG_IsOK(res2)) {
234238  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CurrentStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
234239  }
234240  if (!ptr) {
234241  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CurrentStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
234242  }
234243  arg2 = ptr;
234244  }
234245  {
234246  std::string *ptr = (std::string *)0;
234247  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
234248  if (!SWIG_IsOK(res3)) {
234249  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CurrentStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
234250  }
234251  if (!ptr) {
234252  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CurrentStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
234253  }
234254  arg3 = ptr;
234255  }
234256  ecode4 = SWIG_AsVal_bool(obj3, &val4);
234257  if (!SWIG_IsOK(ecode4)) {
234258  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CurrentStimulus_SetData" "', argument " "4"" of type '" "bool""'");
234259  }
234260  arg4 = static_cast< bool >(val4);
234261  {
234262  try {
234263  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
234264  }
234265  catch(CStdErrorInfo oError)
234266  {
234267  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234268  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234269  PyErr_SetString(PyExc_IndexError, strError.c_str());
234270  SWIG_fail;
234271  }
234272  catch(...)
234273  {
234274  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234275  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234276  SWIG_fail;
234277  }
234278  }
234279  resultobj = SWIG_From_bool(static_cast< bool >(result));
234280  if (SWIG_IsNewObj(res2)) delete arg2;
234281  if (SWIG_IsNewObj(res3)) delete arg3;
234282  return resultobj;
234283 fail:
234284  if (SWIG_IsNewObj(res2)) delete arg2;
234285  if (SWIG_IsNewObj(res3)) delete arg3;
234286  return NULL;
234287 }
234288 
234289 
234290 SWIGINTERN PyObject *_wrap_CurrentStimulus_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234291  PyObject *resultobj = 0;
234293  std::string *arg2 = 0 ;
234294  std::string *arg3 = 0 ;
234295  void *argp1 = 0 ;
234296  int res1 = 0 ;
234297  int res2 = SWIG_OLDOBJ ;
234298  int res3 = SWIG_OLDOBJ ;
234299  PyObject * obj0 = 0 ;
234300  PyObject * obj1 = 0 ;
234301  PyObject * obj2 = 0 ;
234302  bool result;
234303 
234304  if (!PyArg_ParseTuple(args,(char *)"OOO:CurrentStimulus_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
234305  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
234306  if (!SWIG_IsOK(res1)) {
234307  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
234308  }
234309  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
234310  {
234311  std::string *ptr = (std::string *)0;
234312  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
234313  if (!SWIG_IsOK(res2)) {
234314  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CurrentStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
234315  }
234316  if (!ptr) {
234317  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CurrentStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
234318  }
234319  arg2 = ptr;
234320  }
234321  {
234322  std::string *ptr = (std::string *)0;
234323  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
234324  if (!SWIG_IsOK(res3)) {
234325  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CurrentStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
234326  }
234327  if (!ptr) {
234328  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CurrentStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
234329  }
234330  arg3 = ptr;
234331  }
234332  {
234333  try {
234334  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
234335  }
234336  catch(CStdErrorInfo oError)
234337  {
234338  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234339  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234340  PyErr_SetString(PyExc_IndexError, strError.c_str());
234341  SWIG_fail;
234342  }
234343  catch(...)
234344  {
234345  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234346  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234347  SWIG_fail;
234348  }
234349  }
234350  resultobj = SWIG_From_bool(static_cast< bool >(result));
234351  if (SWIG_IsNewObj(res2)) delete arg2;
234352  if (SWIG_IsNewObj(res3)) delete arg3;
234353  return resultobj;
234354 fail:
234355  if (SWIG_IsNewObj(res2)) delete arg2;
234356  if (SWIG_IsNewObj(res3)) delete arg3;
234357  return NULL;
234358 }
234359 
234360 
234361 SWIGINTERN PyObject *_wrap_CurrentStimulus_SetData(PyObject *self, PyObject *args) {
234362  int argc;
234363  PyObject *argv[5];
234364  int ii;
234365 
234366  if (!PyTuple_Check(args)) SWIG_fail;
234367  argc = args ? (int)PyObject_Length(args) : 0;
234368  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
234369  argv[ii] = PyTuple_GET_ITEM(args,ii);
234370  }
234371  if (argc == 3) {
234372  int _v;
234373  void *vptr = 0;
234374  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
234375  _v = SWIG_CheckState(res);
234376  if (_v) {
234377  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
234378  _v = SWIG_CheckState(res);
234379  if (_v) {
234380  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
234381  _v = SWIG_CheckState(res);
234382  if (_v) {
234383  return _wrap_CurrentStimulus_SetData__SWIG_1(self, args);
234384  }
234385  }
234386  }
234387  }
234388  if (argc == 4) {
234389  int _v;
234390  void *vptr = 0;
234391  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0);
234392  _v = SWIG_CheckState(res);
234393  if (_v) {
234394  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
234395  _v = SWIG_CheckState(res);
234396  if (_v) {
234397  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
234398  _v = SWIG_CheckState(res);
234399  if (_v) {
234400  {
234401  int res = SWIG_AsVal_bool(argv[3], NULL);
234402  _v = SWIG_CheckState(res);
234403  }
234404  if (_v) {
234405  return _wrap_CurrentStimulus_SetData__SWIG_0(self, args);
234406  }
234407  }
234408  }
234409  }
234410  }
234411 
234412 fail:
234413  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CurrentStimulus_SetData'.\n"
234414  " Possible C/C++ prototypes are:\n"
234415  " AnimatSim::ExternalStimuli::CurrentStimulus::SetData(std::string const &,std::string const &,bool)\n"
234416  " AnimatSim::ExternalStimuli::CurrentStimulus::SetData(std::string const &,std::string const &)\n");
234417  return 0;
234418 }
234419 
234420 
234421 SWIGINTERN PyObject *_wrap_CurrentStimulus_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234422  PyObject *resultobj = 0;
234424  CStdPtrArray< TypeProperty > *arg2 = 0 ;
234425  void *argp1 = 0 ;
234426  int res1 = 0 ;
234427  void *argp2 = 0 ;
234428  int res2 = 0 ;
234429  PyObject * obj0 = 0 ;
234430  PyObject * obj1 = 0 ;
234431 
234432  if (!PyArg_ParseTuple(args,(char *)"OO:CurrentStimulus_QueryProperties",&obj0,&obj1)) SWIG_fail;
234433  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, 0 | 0 );
234434  if (!SWIG_IsOK(res1)) {
234435  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CurrentStimulus_QueryProperties" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::CurrentStimulus *""'");
234436  }
234437  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::CurrentStimulus * >(argp1);
234438  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
234439  if (!SWIG_IsOK(res2)) {
234440  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CurrentStimulus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
234441  }
234442  if (!argp2) {
234443  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CurrentStimulus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
234444  }
234445  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
234446  {
234447  try {
234448  (arg1)->QueryProperties(*arg2);
234449  }
234450  catch(CStdErrorInfo oError)
234451  {
234452  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234453  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234454  PyErr_SetString(PyExc_IndexError, strError.c_str());
234455  SWIG_fail;
234456  }
234457  catch(...)
234458  {
234459  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234460  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234461  SWIG_fail;
234462  }
234463  }
234464  resultobj = SWIG_Py_Void();
234465  return resultobj;
234466 fail:
234467  return NULL;
234468 }
234469 
234470 
234471 SWIGINTERN PyObject *CurrentStimulus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234472  PyObject *obj;
234473  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
234474  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus, SWIG_NewClientData(obj));
234475  return SWIG_Py_Void();
234476 }
234477 
234478 SWIGINTERN PyObject *_wrap_new_EnablerStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234479  PyObject *resultobj = 0;
234481 
234482  if (!PyArg_ParseTuple(args,(char *)":new_EnablerStimulus")) SWIG_fail;
234483  {
234484  try {
234486  }
234487  catch(CStdErrorInfo oError)
234488  {
234489  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234490  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234491  PyErr_SetString(PyExc_IndexError, strError.c_str());
234492  SWIG_fail;
234493  }
234494  catch(...)
234495  {
234496  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234497  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234498  SWIG_fail;
234499  }
234500  }
234501  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, SWIG_POINTER_NEW | 0 );
234502  return resultobj;
234503 fail:
234504  return NULL;
234505 }
234506 
234507 
234508 SWIGINTERN PyObject *_wrap_delete_EnablerStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234509  PyObject *resultobj = 0;
234511  void *argp1 = 0 ;
234512  int res1 = 0 ;
234513  PyObject * obj0 = 0 ;
234514 
234515  if (!PyArg_ParseTuple(args,(char *)"O:delete_EnablerStimulus",&obj0)) SWIG_fail;
234516  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, SWIG_POINTER_DISOWN | 0 );
234517  if (!SWIG_IsOK(res1)) {
234518  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_EnablerStimulus" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::EnablerStimulus *""'");
234519  }
234520  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::EnablerStimulus * >(argp1);
234521  {
234522  try {
234523  delete arg1;
234524  }
234525  catch(CStdErrorInfo oError)
234526  {
234527  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234528  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234529  PyErr_SetString(PyExc_IndexError, strError.c_str());
234530  SWIG_fail;
234531  }
234532  catch(...)
234533  {
234534  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234535  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234536  SWIG_fail;
234537  }
234538  }
234539  resultobj = SWIG_Py_Void();
234540  return resultobj;
234541 fail:
234542  return NULL;
234543 }
234544 
234545 
234546 SWIGINTERN PyObject *_wrap_EnablerStimulus_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234547  PyObject *resultobj = 0;
234549  void *argp1 = 0 ;
234550  int res1 = 0 ;
234551  PyObject * obj0 = 0 ;
234553 
234554  if (!PyArg_ParseTuple(args,(char *)"O:EnablerStimulus_CastToDerived",&obj0)) SWIG_fail;
234555  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
234556  if (!SWIG_IsOK(res1)) {
234557  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EnablerStimulus_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
234558  }
234559  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
234560  {
234561  try {
234562  result = (AnimatSim::ExternalStimuli::EnablerStimulus *)AnimatSim::ExternalStimuli::EnablerStimulus::CastToDerived(arg1);
234563  }
234564  catch(CStdErrorInfo oError)
234565  {
234566  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234567  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234568  PyErr_SetString(PyExc_IndexError, strError.c_str());
234569  SWIG_fail;
234570  }
234571  catch(...)
234572  {
234573  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234574  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234575  SWIG_fail;
234576  }
234577  }
234578  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0 | 0 );
234579  return resultobj;
234580 fail:
234581  return NULL;
234582 }
234583 
234584 
234585 SWIGINTERN PyObject *_wrap_EnablerStimulus_Type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234586  PyObject *resultobj = 0;
234588  void *argp1 = 0 ;
234589  int res1 = 0 ;
234590  PyObject * obj0 = 0 ;
234591  std::string result;
234592 
234593  if (!PyArg_ParseTuple(args,(char *)"O:EnablerStimulus_Type",&obj0)) SWIG_fail;
234594  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0 | 0 );
234595  if (!SWIG_IsOK(res1)) {
234596  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EnablerStimulus_Type" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::EnablerStimulus *""'");
234597  }
234598  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::EnablerStimulus * >(argp1);
234599  {
234600  try {
234601  result = (arg1)->Type();
234602  }
234603  catch(CStdErrorInfo oError)
234604  {
234605  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234606  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234607  PyErr_SetString(PyExc_IndexError, strError.c_str());
234608  SWIG_fail;
234609  }
234610  catch(...)
234611  {
234612  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234613  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234614  SWIG_fail;
234615  }
234616  }
234617  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
234618  return resultobj;
234619 fail:
234620  return NULL;
234621 }
234622 
234623 
234624 SWIGINTERN PyObject *_wrap_EnablerStimulus_TargetNodeID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234625  PyObject *resultobj = 0;
234627  void *argp1 = 0 ;
234628  int res1 = 0 ;
234629  PyObject * obj0 = 0 ;
234630  std::string result;
234631 
234632  if (!PyArg_ParseTuple(args,(char *)"O:EnablerStimulus_TargetNodeID",&obj0)) SWIG_fail;
234633  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0 | 0 );
234634  if (!SWIG_IsOK(res1)) {
234635  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EnablerStimulus_TargetNodeID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::EnablerStimulus *""'");
234636  }
234637  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::EnablerStimulus * >(argp1);
234638  {
234639  try {
234640  result = (arg1)->TargetNodeID();
234641  }
234642  catch(CStdErrorInfo oError)
234643  {
234644  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234645  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234646  PyErr_SetString(PyExc_IndexError, strError.c_str());
234647  SWIG_fail;
234648  }
234649  catch(...)
234650  {
234651  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234652  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234653  SWIG_fail;
234654  }
234655  }
234656  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
234657  return resultobj;
234658 fail:
234659  return NULL;
234660 }
234661 
234662 
234663 SWIGINTERN PyObject *_wrap_EnablerStimulus_TargetNodeID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234664  PyObject *resultobj = 0;
234666  std::string arg2 ;
234667  void *argp1 = 0 ;
234668  int res1 = 0 ;
234669  PyObject * obj0 = 0 ;
234670  PyObject * obj1 = 0 ;
234671 
234672  if (!PyArg_ParseTuple(args,(char *)"OO:EnablerStimulus_TargetNodeID",&obj0,&obj1)) SWIG_fail;
234673  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0 | 0 );
234674  if (!SWIG_IsOK(res1)) {
234675  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EnablerStimulus_TargetNodeID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::EnablerStimulus *""'");
234676  }
234677  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::EnablerStimulus * >(argp1);
234678  {
234679  std::string *ptr = (std::string *)0;
234680  int res = SWIG_AsPtr_std_string(obj1, &ptr);
234681  if (!SWIG_IsOK(res) || !ptr) {
234682  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "EnablerStimulus_TargetNodeID" "', argument " "2"" of type '" "std::string""'");
234683  }
234684  arg2 = *ptr;
234685  if (SWIG_IsNewObj(res)) delete ptr;
234686  }
234687  {
234688  try {
234689  (arg1)->TargetNodeID(arg2);
234690  }
234691  catch(CStdErrorInfo oError)
234692  {
234693  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234694  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234695  PyErr_SetString(PyExc_IndexError, strError.c_str());
234696  SWIG_fail;
234697  }
234698  catch(...)
234699  {
234700  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234701  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234702  SWIG_fail;
234703  }
234704  }
234705  resultobj = SWIG_Py_Void();
234706  return resultobj;
234707 fail:
234708  return NULL;
234709 }
234710 
234711 
234712 SWIGINTERN PyObject *_wrap_EnablerStimulus_TargetNodeID(PyObject *self, PyObject *args) {
234713  int argc;
234714  PyObject *argv[3];
234715  int ii;
234716 
234717  if (!PyTuple_Check(args)) SWIG_fail;
234718  argc = args ? (int)PyObject_Length(args) : 0;
234719  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
234720  argv[ii] = PyTuple_GET_ITEM(args,ii);
234721  }
234722  if (argc == 1) {
234723  int _v;
234724  void *vptr = 0;
234725  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0);
234726  _v = SWIG_CheckState(res);
234727  if (_v) {
234728  return _wrap_EnablerStimulus_TargetNodeID__SWIG_0(self, args);
234729  }
234730  }
234731  if (argc == 2) {
234732  int _v;
234733  void *vptr = 0;
234734  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0);
234735  _v = SWIG_CheckState(res);
234736  if (_v) {
234737  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
234738  _v = SWIG_CheckState(res);
234739  if (_v) {
234740  return _wrap_EnablerStimulus_TargetNodeID__SWIG_1(self, args);
234741  }
234742  }
234743  }
234744 
234745 fail:
234746  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'EnablerStimulus_TargetNodeID'.\n"
234747  " Possible C/C++ prototypes are:\n"
234748  " AnimatSim::ExternalStimuli::EnablerStimulus::TargetNodeID()\n"
234749  " AnimatSim::ExternalStimuli::EnablerStimulus::TargetNodeID(std::string)\n");
234750  return 0;
234751 }
234752 
234753 
234754 SWIGINTERN PyObject *_wrap_EnablerStimulus_EnableWhenActive__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234755  PyObject *resultobj = 0;
234757  void *argp1 = 0 ;
234758  int res1 = 0 ;
234759  PyObject * obj0 = 0 ;
234760  bool result;
234761 
234762  if (!PyArg_ParseTuple(args,(char *)"O:EnablerStimulus_EnableWhenActive",&obj0)) SWIG_fail;
234763  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0 | 0 );
234764  if (!SWIG_IsOK(res1)) {
234765  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EnablerStimulus_EnableWhenActive" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::EnablerStimulus *""'");
234766  }
234767  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::EnablerStimulus * >(argp1);
234768  {
234769  try {
234770  result = (bool)(arg1)->EnableWhenActive();
234771  }
234772  catch(CStdErrorInfo oError)
234773  {
234774  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234775  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234776  PyErr_SetString(PyExc_IndexError, strError.c_str());
234777  SWIG_fail;
234778  }
234779  catch(...)
234780  {
234781  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234782  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234783  SWIG_fail;
234784  }
234785  }
234786  resultobj = SWIG_From_bool(static_cast< bool >(result));
234787  return resultobj;
234788 fail:
234789  return NULL;
234790 }
234791 
234792 
234793 SWIGINTERN PyObject *_wrap_EnablerStimulus_EnableWhenActive__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234794  PyObject *resultobj = 0;
234796  bool arg2 ;
234797  void *argp1 = 0 ;
234798  int res1 = 0 ;
234799  bool val2 ;
234800  int ecode2 = 0 ;
234801  PyObject * obj0 = 0 ;
234802  PyObject * obj1 = 0 ;
234803 
234804  if (!PyArg_ParseTuple(args,(char *)"OO:EnablerStimulus_EnableWhenActive",&obj0,&obj1)) SWIG_fail;
234805  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0 | 0 );
234806  if (!SWIG_IsOK(res1)) {
234807  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EnablerStimulus_EnableWhenActive" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::EnablerStimulus *""'");
234808  }
234809  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::EnablerStimulus * >(argp1);
234810  ecode2 = SWIG_AsVal_bool(obj1, &val2);
234811  if (!SWIG_IsOK(ecode2)) {
234812  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "EnablerStimulus_EnableWhenActive" "', argument " "2"" of type '" "bool""'");
234813  }
234814  arg2 = static_cast< bool >(val2);
234815  {
234816  try {
234817  (arg1)->EnableWhenActive(arg2);
234818  }
234819  catch(CStdErrorInfo oError)
234820  {
234821  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234822  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234823  PyErr_SetString(PyExc_IndexError, strError.c_str());
234824  SWIG_fail;
234825  }
234826  catch(...)
234827  {
234828  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234829  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234830  SWIG_fail;
234831  }
234832  }
234833  resultobj = SWIG_Py_Void();
234834  return resultobj;
234835 fail:
234836  return NULL;
234837 }
234838 
234839 
234840 SWIGINTERN PyObject *_wrap_EnablerStimulus_EnableWhenActive(PyObject *self, PyObject *args) {
234841  int argc;
234842  PyObject *argv[3];
234843  int ii;
234844 
234845  if (!PyTuple_Check(args)) SWIG_fail;
234846  argc = args ? (int)PyObject_Length(args) : 0;
234847  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
234848  argv[ii] = PyTuple_GET_ITEM(args,ii);
234849  }
234850  if (argc == 1) {
234851  int _v;
234852  void *vptr = 0;
234853  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0);
234854  _v = SWIG_CheckState(res);
234855  if (_v) {
234856  return _wrap_EnablerStimulus_EnableWhenActive__SWIG_0(self, args);
234857  }
234858  }
234859  if (argc == 2) {
234860  int _v;
234861  void *vptr = 0;
234862  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0);
234863  _v = SWIG_CheckState(res);
234864  if (_v) {
234865  {
234866  int res = SWIG_AsVal_bool(argv[1], NULL);
234867  _v = SWIG_CheckState(res);
234868  }
234869  if (_v) {
234870  return _wrap_EnablerStimulus_EnableWhenActive__SWIG_1(self, args);
234871  }
234872  }
234873  }
234874 
234875 fail:
234876  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'EnablerStimulus_EnableWhenActive'.\n"
234877  " Possible C/C++ prototypes are:\n"
234878  " AnimatSim::ExternalStimuli::EnablerStimulus::EnableWhenActive()\n"
234879  " AnimatSim::ExternalStimuli::EnablerStimulus::EnableWhenActive(bool)\n");
234880  return 0;
234881 }
234882 
234883 
234884 SWIGINTERN PyObject *_wrap_EnablerStimulus_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234885  PyObject *resultobj = 0;
234887  void *argp1 = 0 ;
234888  int res1 = 0 ;
234889  PyObject * obj0 = 0 ;
234890 
234891  if (!PyArg_ParseTuple(args,(char *)"O:EnablerStimulus_Initialize",&obj0)) SWIG_fail;
234892  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0 | 0 );
234893  if (!SWIG_IsOK(res1)) {
234894  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EnablerStimulus_Initialize" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::EnablerStimulus *""'");
234895  }
234896  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::EnablerStimulus * >(argp1);
234897  {
234898  try {
234899  (arg1)->Initialize();
234900  }
234901  catch(CStdErrorInfo oError)
234902  {
234903  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234904  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234905  PyErr_SetString(PyExc_IndexError, strError.c_str());
234906  SWIG_fail;
234907  }
234908  catch(...)
234909  {
234910  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234911  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234912  SWIG_fail;
234913  }
234914  }
234915  resultobj = SWIG_Py_Void();
234916  return resultobj;
234917 fail:
234918  return NULL;
234919 }
234920 
234921 
234922 SWIGINTERN PyObject *_wrap_EnablerStimulus_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234923  PyObject *resultobj = 0;
234925  void *argp1 = 0 ;
234926  int res1 = 0 ;
234927  PyObject * obj0 = 0 ;
234928 
234929  if (!PyArg_ParseTuple(args,(char *)"O:EnablerStimulus_Activate",&obj0)) SWIG_fail;
234930  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0 | 0 );
234931  if (!SWIG_IsOK(res1)) {
234932  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EnablerStimulus_Activate" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::EnablerStimulus *""'");
234933  }
234934  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::EnablerStimulus * >(argp1);
234935  {
234936  try {
234937  (arg1)->Activate();
234938  }
234939  catch(CStdErrorInfo oError)
234940  {
234941  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234942  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234943  PyErr_SetString(PyExc_IndexError, strError.c_str());
234944  SWIG_fail;
234945  }
234946  catch(...)
234947  {
234948  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234949  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234950  SWIG_fail;
234951  }
234952  }
234953  resultobj = SWIG_Py_Void();
234954  return resultobj;
234955 fail:
234956  return NULL;
234957 }
234958 
234959 
234960 SWIGINTERN PyObject *_wrap_EnablerStimulus_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234961  PyObject *resultobj = 0;
234963  void *argp1 = 0 ;
234964  int res1 = 0 ;
234965  PyObject * obj0 = 0 ;
234966 
234967  if (!PyArg_ParseTuple(args,(char *)"O:EnablerStimulus_StepSimulation",&obj0)) SWIG_fail;
234968  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0 | 0 );
234969  if (!SWIG_IsOK(res1)) {
234970  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EnablerStimulus_StepSimulation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::EnablerStimulus *""'");
234971  }
234972  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::EnablerStimulus * >(argp1);
234973  {
234974  try {
234975  (arg1)->StepSimulation();
234976  }
234977  catch(CStdErrorInfo oError)
234978  {
234979  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234980  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
234981  PyErr_SetString(PyExc_IndexError, strError.c_str());
234982  SWIG_fail;
234983  }
234984  catch(...)
234985  {
234986  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
234987  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
234988  SWIG_fail;
234989  }
234990  }
234991  resultobj = SWIG_Py_Void();
234992  return resultobj;
234993 fail:
234994  return NULL;
234995 }
234996 
234997 
234998 SWIGINTERN PyObject *_wrap_EnablerStimulus_Deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
234999  PyObject *resultobj = 0;
235001  void *argp1 = 0 ;
235002  int res1 = 0 ;
235003  PyObject * obj0 = 0 ;
235004 
235005  if (!PyArg_ParseTuple(args,(char *)"O:EnablerStimulus_Deactivate",&obj0)) SWIG_fail;
235006  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0 | 0 );
235007  if (!SWIG_IsOK(res1)) {
235008  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EnablerStimulus_Deactivate" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::EnablerStimulus *""'");
235009  }
235010  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::EnablerStimulus * >(argp1);
235011  {
235012  try {
235013  (arg1)->Deactivate();
235014  }
235015  catch(CStdErrorInfo oError)
235016  {
235017  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235018  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235019  PyErr_SetString(PyExc_IndexError, strError.c_str());
235020  SWIG_fail;
235021  }
235022  catch(...)
235023  {
235024  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235025  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235026  SWIG_fail;
235027  }
235028  }
235029  resultobj = SWIG_Py_Void();
235030  return resultobj;
235031 fail:
235032  return NULL;
235033 }
235034 
235035 
235036 SWIGINTERN PyObject *_wrap_EnablerStimulus_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235037  PyObject *resultobj = 0;
235039  std::string *arg2 = 0 ;
235040  std::string *arg3 = 0 ;
235041  bool arg4 ;
235042  void *argp1 = 0 ;
235043  int res1 = 0 ;
235044  int res2 = SWIG_OLDOBJ ;
235045  int res3 = SWIG_OLDOBJ ;
235046  bool val4 ;
235047  int ecode4 = 0 ;
235048  PyObject * obj0 = 0 ;
235049  PyObject * obj1 = 0 ;
235050  PyObject * obj2 = 0 ;
235051  PyObject * obj3 = 0 ;
235052  bool result;
235053 
235054  if (!PyArg_ParseTuple(args,(char *)"OOOO:EnablerStimulus_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
235055  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0 | 0 );
235056  if (!SWIG_IsOK(res1)) {
235057  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EnablerStimulus_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::EnablerStimulus *""'");
235058  }
235059  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::EnablerStimulus * >(argp1);
235060  {
235061  std::string *ptr = (std::string *)0;
235062  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
235063  if (!SWIG_IsOK(res2)) {
235064  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EnablerStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
235065  }
235066  if (!ptr) {
235067  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EnablerStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
235068  }
235069  arg2 = ptr;
235070  }
235071  {
235072  std::string *ptr = (std::string *)0;
235073  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
235074  if (!SWIG_IsOK(res3)) {
235075  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "EnablerStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
235076  }
235077  if (!ptr) {
235078  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EnablerStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
235079  }
235080  arg3 = ptr;
235081  }
235082  ecode4 = SWIG_AsVal_bool(obj3, &val4);
235083  if (!SWIG_IsOK(ecode4)) {
235084  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "EnablerStimulus_SetData" "', argument " "4"" of type '" "bool""'");
235085  }
235086  arg4 = static_cast< bool >(val4);
235087  {
235088  try {
235089  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
235090  }
235091  catch(CStdErrorInfo oError)
235092  {
235093  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235094  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235095  PyErr_SetString(PyExc_IndexError, strError.c_str());
235096  SWIG_fail;
235097  }
235098  catch(...)
235099  {
235100  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235101  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235102  SWIG_fail;
235103  }
235104  }
235105  resultobj = SWIG_From_bool(static_cast< bool >(result));
235106  if (SWIG_IsNewObj(res2)) delete arg2;
235107  if (SWIG_IsNewObj(res3)) delete arg3;
235108  return resultobj;
235109 fail:
235110  if (SWIG_IsNewObj(res2)) delete arg2;
235111  if (SWIG_IsNewObj(res3)) delete arg3;
235112  return NULL;
235113 }
235114 
235115 
235116 SWIGINTERN PyObject *_wrap_EnablerStimulus_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235117  PyObject *resultobj = 0;
235119  std::string *arg2 = 0 ;
235120  std::string *arg3 = 0 ;
235121  void *argp1 = 0 ;
235122  int res1 = 0 ;
235123  int res2 = SWIG_OLDOBJ ;
235124  int res3 = SWIG_OLDOBJ ;
235125  PyObject * obj0 = 0 ;
235126  PyObject * obj1 = 0 ;
235127  PyObject * obj2 = 0 ;
235128  bool result;
235129 
235130  if (!PyArg_ParseTuple(args,(char *)"OOO:EnablerStimulus_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
235131  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0 | 0 );
235132  if (!SWIG_IsOK(res1)) {
235133  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EnablerStimulus_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::EnablerStimulus *""'");
235134  }
235135  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::EnablerStimulus * >(argp1);
235136  {
235137  std::string *ptr = (std::string *)0;
235138  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
235139  if (!SWIG_IsOK(res2)) {
235140  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EnablerStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
235141  }
235142  if (!ptr) {
235143  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EnablerStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
235144  }
235145  arg2 = ptr;
235146  }
235147  {
235148  std::string *ptr = (std::string *)0;
235149  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
235150  if (!SWIG_IsOK(res3)) {
235151  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "EnablerStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
235152  }
235153  if (!ptr) {
235154  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EnablerStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
235155  }
235156  arg3 = ptr;
235157  }
235158  {
235159  try {
235160  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
235161  }
235162  catch(CStdErrorInfo oError)
235163  {
235164  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235165  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235166  PyErr_SetString(PyExc_IndexError, strError.c_str());
235167  SWIG_fail;
235168  }
235169  catch(...)
235170  {
235171  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235172  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235173  SWIG_fail;
235174  }
235175  }
235176  resultobj = SWIG_From_bool(static_cast< bool >(result));
235177  if (SWIG_IsNewObj(res2)) delete arg2;
235178  if (SWIG_IsNewObj(res3)) delete arg3;
235179  return resultobj;
235180 fail:
235181  if (SWIG_IsNewObj(res2)) delete arg2;
235182  if (SWIG_IsNewObj(res3)) delete arg3;
235183  return NULL;
235184 }
235185 
235186 
235187 SWIGINTERN PyObject *_wrap_EnablerStimulus_SetData(PyObject *self, PyObject *args) {
235188  int argc;
235189  PyObject *argv[5];
235190  int ii;
235191 
235192  if (!PyTuple_Check(args)) SWIG_fail;
235193  argc = args ? (int)PyObject_Length(args) : 0;
235194  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
235195  argv[ii] = PyTuple_GET_ITEM(args,ii);
235196  }
235197  if (argc == 3) {
235198  int _v;
235199  void *vptr = 0;
235200  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0);
235201  _v = SWIG_CheckState(res);
235202  if (_v) {
235203  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
235204  _v = SWIG_CheckState(res);
235205  if (_v) {
235206  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
235207  _v = SWIG_CheckState(res);
235208  if (_v) {
235209  return _wrap_EnablerStimulus_SetData__SWIG_1(self, args);
235210  }
235211  }
235212  }
235213  }
235214  if (argc == 4) {
235215  int _v;
235216  void *vptr = 0;
235217  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0);
235218  _v = SWIG_CheckState(res);
235219  if (_v) {
235220  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
235221  _v = SWIG_CheckState(res);
235222  if (_v) {
235223  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
235224  _v = SWIG_CheckState(res);
235225  if (_v) {
235226  {
235227  int res = SWIG_AsVal_bool(argv[3], NULL);
235228  _v = SWIG_CheckState(res);
235229  }
235230  if (_v) {
235231  return _wrap_EnablerStimulus_SetData__SWIG_0(self, args);
235232  }
235233  }
235234  }
235235  }
235236  }
235237 
235238 fail:
235239  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'EnablerStimulus_SetData'.\n"
235240  " Possible C/C++ prototypes are:\n"
235241  " AnimatSim::ExternalStimuli::EnablerStimulus::SetData(std::string const &,std::string const &,bool)\n"
235242  " AnimatSim::ExternalStimuli::EnablerStimulus::SetData(std::string const &,std::string const &)\n");
235243  return 0;
235244 }
235245 
235246 
235247 SWIGINTERN PyObject *_wrap_EnablerStimulus_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235248  PyObject *resultobj = 0;
235250  CStdPtrArray< TypeProperty > *arg2 = 0 ;
235251  void *argp1 = 0 ;
235252  int res1 = 0 ;
235253  void *argp2 = 0 ;
235254  int res2 = 0 ;
235255  PyObject * obj0 = 0 ;
235256  PyObject * obj1 = 0 ;
235257 
235258  if (!PyArg_ParseTuple(args,(char *)"OO:EnablerStimulus_QueryProperties",&obj0,&obj1)) SWIG_fail;
235259  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0 | 0 );
235260  if (!SWIG_IsOK(res1)) {
235261  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EnablerStimulus_QueryProperties" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::EnablerStimulus *""'");
235262  }
235263  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::EnablerStimulus * >(argp1);
235264  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
235265  if (!SWIG_IsOK(res2)) {
235266  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EnablerStimulus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
235267  }
235268  if (!argp2) {
235269  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EnablerStimulus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
235270  }
235271  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
235272  {
235273  try {
235274  (arg1)->QueryProperties(*arg2);
235275  }
235276  catch(CStdErrorInfo oError)
235277  {
235278  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235279  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235280  PyErr_SetString(PyExc_IndexError, strError.c_str());
235281  SWIG_fail;
235282  }
235283  catch(...)
235284  {
235285  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235286  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235287  SWIG_fail;
235288  }
235289  }
235290  resultobj = SWIG_Py_Void();
235291  return resultobj;
235292 fail:
235293  return NULL;
235294 }
235295 
235296 
235297 SWIGINTERN PyObject *_wrap_EnablerStimulus_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235298  PyObject *resultobj = 0;
235300  CStdXml *arg2 = 0 ;
235301  void *argp1 = 0 ;
235302  int res1 = 0 ;
235303  void *argp2 = 0 ;
235304  int res2 = 0 ;
235305  PyObject * obj0 = 0 ;
235306  PyObject * obj1 = 0 ;
235307 
235308  if (!PyArg_ParseTuple(args,(char *)"OO:EnablerStimulus_Load",&obj0,&obj1)) SWIG_fail;
235309  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, 0 | 0 );
235310  if (!SWIG_IsOK(res1)) {
235311  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EnablerStimulus_Load" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::EnablerStimulus *""'");
235312  }
235313  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::EnablerStimulus * >(argp1);
235314  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
235315  if (!SWIG_IsOK(res2)) {
235316  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EnablerStimulus_Load" "', argument " "2"" of type '" "CStdXml &""'");
235317  }
235318  if (!argp2) {
235319  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EnablerStimulus_Load" "', argument " "2"" of type '" "CStdXml &""'");
235320  }
235321  arg2 = reinterpret_cast< CStdXml * >(argp2);
235322  {
235323  try {
235324  (arg1)->Load(*arg2);
235325  }
235326  catch(CStdErrorInfo oError)
235327  {
235328  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235329  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235330  PyErr_SetString(PyExc_IndexError, strError.c_str());
235331  SWIG_fail;
235332  }
235333  catch(...)
235334  {
235335  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235336  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235337  SWIG_fail;
235338  }
235339  }
235340  resultobj = SWIG_Py_Void();
235341  return resultobj;
235342 fail:
235343  return NULL;
235344 }
235345 
235346 
235347 SWIGINTERN PyObject *EnablerStimulus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235348  PyObject *obj;
235349  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
235350  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus, SWIG_NewClientData(obj));
235351  return SWIG_Py_Void();
235352 }
235353 
235354 SWIGINTERN PyObject *_wrap_new_VoltageClamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235355  PyObject *resultobj = 0;
235357 
235358  if (!PyArg_ParseTuple(args,(char *)":new_VoltageClamp")) SWIG_fail;
235359  {
235360  try {
235362  }
235363  catch(CStdErrorInfo oError)
235364  {
235365  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235366  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235367  PyErr_SetString(PyExc_IndexError, strError.c_str());
235368  SWIG_fail;
235369  }
235370  catch(...)
235371  {
235372  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235373  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235374  SWIG_fail;
235375  }
235376  }
235377  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, SWIG_POINTER_NEW | 0 );
235378  return resultobj;
235379 fail:
235380  return NULL;
235381 }
235382 
235383 
235384 SWIGINTERN PyObject *_wrap_delete_VoltageClamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235385  PyObject *resultobj = 0;
235387  void *argp1 = 0 ;
235388  int res1 = 0 ;
235389  PyObject * obj0 = 0 ;
235390 
235391  if (!PyArg_ParseTuple(args,(char *)"O:delete_VoltageClamp",&obj0)) SWIG_fail;
235392  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, SWIG_POINTER_DISOWN | 0 );
235393  if (!SWIG_IsOK(res1)) {
235394  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VoltageClamp" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
235395  }
235396  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
235397  {
235398  try {
235399  delete arg1;
235400  }
235401  catch(CStdErrorInfo oError)
235402  {
235403  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235404  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235405  PyErr_SetString(PyExc_IndexError, strError.c_str());
235406  SWIG_fail;
235407  }
235408  catch(...)
235409  {
235410  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235411  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235412  SWIG_fail;
235413  }
235414  }
235415  resultobj = SWIG_Py_Void();
235416  return resultobj;
235417 fail:
235418  return NULL;
235419 }
235420 
235421 
235422 SWIGINTERN PyObject *_wrap_VoltageClamp_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235423  PyObject *resultobj = 0;
235425  void *argp1 = 0 ;
235426  int res1 = 0 ;
235427  PyObject * obj0 = 0 ;
235429 
235430  if (!PyArg_ParseTuple(args,(char *)"O:VoltageClamp_CastToDerived",&obj0)) SWIG_fail;
235431  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
235432  if (!SWIG_IsOK(res1)) {
235433  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
235434  }
235435  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
235436  {
235437  try {
235438  result = (AnimatSim::ExternalStimuli::VoltageClamp *)AnimatSim::ExternalStimuli::VoltageClamp::CastToDerived(arg1);
235439  }
235440  catch(CStdErrorInfo oError)
235441  {
235442  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235443  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235444  PyErr_SetString(PyExc_IndexError, strError.c_str());
235445  SWIG_fail;
235446  }
235447  catch(...)
235448  {
235449  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235450  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235451  SWIG_fail;
235452  }
235453  }
235454  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
235455  return resultobj;
235456 fail:
235457  return NULL;
235458 }
235459 
235460 
235461 SWIGINTERN PyObject *_wrap_VoltageClamp_Type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235462  PyObject *resultobj = 0;
235464  void *argp1 = 0 ;
235465  int res1 = 0 ;
235466  PyObject * obj0 = 0 ;
235467  std::string result;
235468 
235469  if (!PyArg_ParseTuple(args,(char *)"O:VoltageClamp_Type",&obj0)) SWIG_fail;
235470  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
235471  if (!SWIG_IsOK(res1)) {
235472  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_Type" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
235473  }
235474  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
235475  {
235476  try {
235477  result = (arg1)->Type();
235478  }
235479  catch(CStdErrorInfo oError)
235480  {
235481  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235482  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235483  PyErr_SetString(PyExc_IndexError, strError.c_str());
235484  SWIG_fail;
235485  }
235486  catch(...)
235487  {
235488  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235489  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235490  SWIG_fail;
235491  }
235492  }
235493  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
235494  return resultobj;
235495 fail:
235496  return NULL;
235497 }
235498 
235499 
235500 SWIGINTERN PyObject *_wrap_VoltageClamp_TargetNodeID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235501  PyObject *resultobj = 0;
235503  void *argp1 = 0 ;
235504  int res1 = 0 ;
235505  PyObject * obj0 = 0 ;
235506  std::string result;
235507 
235508  if (!PyArg_ParseTuple(args,(char *)"O:VoltageClamp_TargetNodeID",&obj0)) SWIG_fail;
235509  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
235510  if (!SWIG_IsOK(res1)) {
235511  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_TargetNodeID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
235512  }
235513  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
235514  {
235515  try {
235516  result = (arg1)->TargetNodeID();
235517  }
235518  catch(CStdErrorInfo oError)
235519  {
235520  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235521  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235522  PyErr_SetString(PyExc_IndexError, strError.c_str());
235523  SWIG_fail;
235524  }
235525  catch(...)
235526  {
235527  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235528  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235529  SWIG_fail;
235530  }
235531  }
235532  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
235533  return resultobj;
235534 fail:
235535  return NULL;
235536 }
235537 
235538 
235539 SWIGINTERN PyObject *_wrap_VoltageClamp_TargetNodeID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235540  PyObject *resultobj = 0;
235542  std::string arg2 ;
235543  void *argp1 = 0 ;
235544  int res1 = 0 ;
235545  PyObject * obj0 = 0 ;
235546  PyObject * obj1 = 0 ;
235547 
235548  if (!PyArg_ParseTuple(args,(char *)"OO:VoltageClamp_TargetNodeID",&obj0,&obj1)) SWIG_fail;
235549  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
235550  if (!SWIG_IsOK(res1)) {
235551  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_TargetNodeID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
235552  }
235553  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
235554  {
235555  std::string *ptr = (std::string *)0;
235556  int res = SWIG_AsPtr_std_string(obj1, &ptr);
235557  if (!SWIG_IsOK(res) || !ptr) {
235558  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "VoltageClamp_TargetNodeID" "', argument " "2"" of type '" "std::string""'");
235559  }
235560  arg2 = *ptr;
235561  if (SWIG_IsNewObj(res)) delete ptr;
235562  }
235563  {
235564  try {
235565  (arg1)->TargetNodeID(arg2);
235566  }
235567  catch(CStdErrorInfo oError)
235568  {
235569  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235570  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235571  PyErr_SetString(PyExc_IndexError, strError.c_str());
235572  SWIG_fail;
235573  }
235574  catch(...)
235575  {
235576  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235577  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235578  SWIG_fail;
235579  }
235580  }
235581  resultobj = SWIG_Py_Void();
235582  return resultobj;
235583 fail:
235584  return NULL;
235585 }
235586 
235587 
235588 SWIGINTERN PyObject *_wrap_VoltageClamp_TargetNodeID(PyObject *self, PyObject *args) {
235589  int argc;
235590  PyObject *argv[3];
235591  int ii;
235592 
235593  if (!PyTuple_Check(args)) SWIG_fail;
235594  argc = args ? (int)PyObject_Length(args) : 0;
235595  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
235596  argv[ii] = PyTuple_GET_ITEM(args,ii);
235597  }
235598  if (argc == 1) {
235599  int _v;
235600  void *vptr = 0;
235601  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0);
235602  _v = SWIG_CheckState(res);
235603  if (_v) {
235604  return _wrap_VoltageClamp_TargetNodeID__SWIG_0(self, args);
235605  }
235606  }
235607  if (argc == 2) {
235608  int _v;
235609  void *vptr = 0;
235610  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0);
235611  _v = SWIG_CheckState(res);
235612  if (_v) {
235613  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
235614  _v = SWIG_CheckState(res);
235615  if (_v) {
235616  return _wrap_VoltageClamp_TargetNodeID__SWIG_1(self, args);
235617  }
235618  }
235619  }
235620 
235621 fail:
235622  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'VoltageClamp_TargetNodeID'.\n"
235623  " Possible C/C++ prototypes are:\n"
235624  " AnimatSim::ExternalStimuli::VoltageClamp::TargetNodeID()\n"
235625  " AnimatSim::ExternalStimuli::VoltageClamp::TargetNodeID(std::string)\n");
235626  return 0;
235627 }
235628 
235629 
235630 SWIGINTERN PyObject *_wrap_VoltageClamp_Vtarget__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235631  PyObject *resultobj = 0;
235633  void *argp1 = 0 ;
235634  int res1 = 0 ;
235635  PyObject * obj0 = 0 ;
235636  float result;
235637 
235638  if (!PyArg_ParseTuple(args,(char *)"O:VoltageClamp_Vtarget",&obj0)) SWIG_fail;
235639  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
235640  if (!SWIG_IsOK(res1)) {
235641  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_Vtarget" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
235642  }
235643  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
235644  {
235645  try {
235646  result = (float)(arg1)->Vtarget();
235647  }
235648  catch(CStdErrorInfo oError)
235649  {
235650  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235651  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235652  PyErr_SetString(PyExc_IndexError, strError.c_str());
235653  SWIG_fail;
235654  }
235655  catch(...)
235656  {
235657  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235658  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235659  SWIG_fail;
235660  }
235661  }
235662  resultobj = SWIG_From_float(static_cast< float >(result));
235663  return resultobj;
235664 fail:
235665  return NULL;
235666 }
235667 
235668 
235669 SWIGINTERN PyObject *_wrap_VoltageClamp_Vtarget__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235670  PyObject *resultobj = 0;
235672  float arg2 ;
235673  void *argp1 = 0 ;
235674  int res1 = 0 ;
235675  float val2 ;
235676  int ecode2 = 0 ;
235677  PyObject * obj0 = 0 ;
235678  PyObject * obj1 = 0 ;
235679 
235680  if (!PyArg_ParseTuple(args,(char *)"OO:VoltageClamp_Vtarget",&obj0,&obj1)) SWIG_fail;
235681  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
235682  if (!SWIG_IsOK(res1)) {
235683  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_Vtarget" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
235684  }
235685  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
235686  ecode2 = SWIG_AsVal_float(obj1, &val2);
235687  if (!SWIG_IsOK(ecode2)) {
235688  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VoltageClamp_Vtarget" "', argument " "2"" of type '" "float""'");
235689  }
235690  arg2 = static_cast< float >(val2);
235691  {
235692  try {
235693  (arg1)->Vtarget(arg2);
235694  }
235695  catch(CStdErrorInfo oError)
235696  {
235697  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235698  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235699  PyErr_SetString(PyExc_IndexError, strError.c_str());
235700  SWIG_fail;
235701  }
235702  catch(...)
235703  {
235704  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235705  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235706  SWIG_fail;
235707  }
235708  }
235709  resultobj = SWIG_Py_Void();
235710  return resultobj;
235711 fail:
235712  return NULL;
235713 }
235714 
235715 
235716 SWIGINTERN PyObject *_wrap_VoltageClamp_Vtarget(PyObject *self, PyObject *args) {
235717  int argc;
235718  PyObject *argv[3];
235719  int ii;
235720 
235721  if (!PyTuple_Check(args)) SWIG_fail;
235722  argc = args ? (int)PyObject_Length(args) : 0;
235723  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
235724  argv[ii] = PyTuple_GET_ITEM(args,ii);
235725  }
235726  if (argc == 1) {
235727  int _v;
235728  void *vptr = 0;
235729  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0);
235730  _v = SWIG_CheckState(res);
235731  if (_v) {
235732  return _wrap_VoltageClamp_Vtarget__SWIG_0(self, args);
235733  }
235734  }
235735  if (argc == 2) {
235736  int _v;
235737  void *vptr = 0;
235738  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0);
235739  _v = SWIG_CheckState(res);
235740  if (_v) {
235741  {
235742  int res = SWIG_AsVal_float(argv[1], NULL);
235743  _v = SWIG_CheckState(res);
235744  }
235745  if (_v) {
235746  return _wrap_VoltageClamp_Vtarget__SWIG_1(self, args);
235747  }
235748  }
235749  }
235750 
235751 fail:
235752  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'VoltageClamp_Vtarget'.\n"
235753  " Possible C/C++ prototypes are:\n"
235754  " AnimatSim::ExternalStimuli::VoltageClamp::Vtarget()\n"
235755  " AnimatSim::ExternalStimuli::VoltageClamp::Vtarget(float)\n");
235756  return 0;
235757 }
235758 
235759 
235760 SWIGINTERN PyObject *_wrap_VoltageClamp_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235761  PyObject *resultobj = 0;
235763  CStdXml *arg2 = 0 ;
235764  void *argp1 = 0 ;
235765  int res1 = 0 ;
235766  void *argp2 = 0 ;
235767  int res2 = 0 ;
235768  PyObject * obj0 = 0 ;
235769  PyObject * obj1 = 0 ;
235770 
235771  if (!PyArg_ParseTuple(args,(char *)"OO:VoltageClamp_Load",&obj0,&obj1)) SWIG_fail;
235772  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
235773  if (!SWIG_IsOK(res1)) {
235774  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_Load" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
235775  }
235776  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
235777  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
235778  if (!SWIG_IsOK(res2)) {
235779  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VoltageClamp_Load" "', argument " "2"" of type '" "CStdXml &""'");
235780  }
235781  if (!argp2) {
235782  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VoltageClamp_Load" "', argument " "2"" of type '" "CStdXml &""'");
235783  }
235784  arg2 = reinterpret_cast< CStdXml * >(argp2);
235785  {
235786  try {
235787  (arg1)->Load(*arg2);
235788  }
235789  catch(CStdErrorInfo oError)
235790  {
235791  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235792  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235793  PyErr_SetString(PyExc_IndexError, strError.c_str());
235794  SWIG_fail;
235795  }
235796  catch(...)
235797  {
235798  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235799  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235800  SWIG_fail;
235801  }
235802  }
235803  resultobj = SWIG_Py_Void();
235804  return resultobj;
235805 fail:
235806  return NULL;
235807 }
235808 
235809 
235810 SWIGINTERN PyObject *_wrap_VoltageClamp_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235811  PyObject *resultobj = 0;
235813  void *argp1 = 0 ;
235814  int res1 = 0 ;
235815  PyObject * obj0 = 0 ;
235816 
235817  if (!PyArg_ParseTuple(args,(char *)"O:VoltageClamp_Initialize",&obj0)) SWIG_fail;
235818  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
235819  if (!SWIG_IsOK(res1)) {
235820  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_Initialize" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
235821  }
235822  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
235823  {
235824  try {
235825  (arg1)->Initialize();
235826  }
235827  catch(CStdErrorInfo oError)
235828  {
235829  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235830  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235831  PyErr_SetString(PyExc_IndexError, strError.c_str());
235832  SWIG_fail;
235833  }
235834  catch(...)
235835  {
235836  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235837  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235838  SWIG_fail;
235839  }
235840  }
235841  resultobj = SWIG_Py_Void();
235842  return resultobj;
235843 fail:
235844  return NULL;
235845 }
235846 
235847 
235848 SWIGINTERN PyObject *_wrap_VoltageClamp_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235849  PyObject *resultobj = 0;
235851  void *argp1 = 0 ;
235852  int res1 = 0 ;
235853  PyObject * obj0 = 0 ;
235854 
235855  if (!PyArg_ParseTuple(args,(char *)"O:VoltageClamp_Activate",&obj0)) SWIG_fail;
235856  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
235857  if (!SWIG_IsOK(res1)) {
235858  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_Activate" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
235859  }
235860  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
235861  {
235862  try {
235863  (arg1)->Activate();
235864  }
235865  catch(CStdErrorInfo oError)
235866  {
235867  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235868  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235869  PyErr_SetString(PyExc_IndexError, strError.c_str());
235870  SWIG_fail;
235871  }
235872  catch(...)
235873  {
235874  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235875  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235876  SWIG_fail;
235877  }
235878  }
235879  resultobj = SWIG_Py_Void();
235880  return resultobj;
235881 fail:
235882  return NULL;
235883 }
235884 
235885 
235886 SWIGINTERN PyObject *_wrap_VoltageClamp_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235887  PyObject *resultobj = 0;
235889  void *argp1 = 0 ;
235890  int res1 = 0 ;
235891  PyObject * obj0 = 0 ;
235892 
235893  if (!PyArg_ParseTuple(args,(char *)"O:VoltageClamp_ResetSimulation",&obj0)) SWIG_fail;
235894  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
235895  if (!SWIG_IsOK(res1)) {
235896  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
235897  }
235898  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
235899  {
235900  try {
235901  (arg1)->ResetSimulation();
235902  }
235903  catch(CStdErrorInfo oError)
235904  {
235905  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235906  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235907  PyErr_SetString(PyExc_IndexError, strError.c_str());
235908  SWIG_fail;
235909  }
235910  catch(...)
235911  {
235912  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235913  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235914  SWIG_fail;
235915  }
235916  }
235917  resultobj = SWIG_Py_Void();
235918  return resultobj;
235919 fail:
235920  return NULL;
235921 }
235922 
235923 
235924 SWIGINTERN PyObject *_wrap_VoltageClamp_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235925  PyObject *resultobj = 0;
235927  void *argp1 = 0 ;
235928  int res1 = 0 ;
235929  PyObject * obj0 = 0 ;
235930 
235931  if (!PyArg_ParseTuple(args,(char *)"O:VoltageClamp_StepSimulation",&obj0)) SWIG_fail;
235932  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
235933  if (!SWIG_IsOK(res1)) {
235934  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_StepSimulation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
235935  }
235936  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
235937  {
235938  try {
235939  (arg1)->StepSimulation();
235940  }
235941  catch(CStdErrorInfo oError)
235942  {
235943  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235944  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235945  PyErr_SetString(PyExc_IndexError, strError.c_str());
235946  SWIG_fail;
235947  }
235948  catch(...)
235949  {
235950  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235951  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235952  SWIG_fail;
235953  }
235954  }
235955  resultobj = SWIG_Py_Void();
235956  return resultobj;
235957 fail:
235958  return NULL;
235959 }
235960 
235961 
235962 SWIGINTERN PyObject *_wrap_VoltageClamp_Deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
235963  PyObject *resultobj = 0;
235965  void *argp1 = 0 ;
235966  int res1 = 0 ;
235967  PyObject * obj0 = 0 ;
235968 
235969  if (!PyArg_ParseTuple(args,(char *)"O:VoltageClamp_Deactivate",&obj0)) SWIG_fail;
235970  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
235971  if (!SWIG_IsOK(res1)) {
235972  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_Deactivate" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
235973  }
235974  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
235975  {
235976  try {
235977  (arg1)->Deactivate();
235978  }
235979  catch(CStdErrorInfo oError)
235980  {
235981  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235982  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
235983  PyErr_SetString(PyExc_IndexError, strError.c_str());
235984  SWIG_fail;
235985  }
235986  catch(...)
235987  {
235988  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
235989  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
235990  SWIG_fail;
235991  }
235992  }
235993  resultobj = SWIG_Py_Void();
235994  return resultobj;
235995 fail:
235996  return NULL;
235997 }
235998 
235999 
236000 SWIGINTERN PyObject *_wrap_VoltageClamp_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236001  PyObject *resultobj = 0;
236003  std::string *arg2 = 0 ;
236004  void *argp1 = 0 ;
236005  int res1 = 0 ;
236006  int res2 = SWIG_OLDOBJ ;
236007  PyObject * obj0 = 0 ;
236008  PyObject * obj1 = 0 ;
236009  float *result = 0 ;
236010 
236011  if (!PyArg_ParseTuple(args,(char *)"OO:VoltageClamp_GetDataPointer",&obj0,&obj1)) SWIG_fail;
236012  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
236013  if (!SWIG_IsOK(res1)) {
236014  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
236015  }
236016  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
236017  {
236018  std::string *ptr = (std::string *)0;
236019  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
236020  if (!SWIG_IsOK(res2)) {
236021  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VoltageClamp_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
236022  }
236023  if (!ptr) {
236024  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VoltageClamp_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
236025  }
236026  arg2 = ptr;
236027  }
236028  {
236029  try {
236030  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
236031  }
236032  catch(CStdErrorInfo oError)
236033  {
236034  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236035  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236036  PyErr_SetString(PyExc_IndexError, strError.c_str());
236037  SWIG_fail;
236038  }
236039  catch(...)
236040  {
236041  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236042  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236043  SWIG_fail;
236044  }
236045  }
236046  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
236047  if (SWIG_IsNewObj(res2)) delete arg2;
236048  return resultobj;
236049 fail:
236050  if (SWIG_IsNewObj(res2)) delete arg2;
236051  return NULL;
236052 }
236053 
236054 
236055 SWIGINTERN PyObject *_wrap_VoltageClamp_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236056  PyObject *resultobj = 0;
236058  std::string *arg2 = 0 ;
236059  std::string *arg3 = 0 ;
236060  bool arg4 ;
236061  void *argp1 = 0 ;
236062  int res1 = 0 ;
236063  int res2 = SWIG_OLDOBJ ;
236064  int res3 = SWIG_OLDOBJ ;
236065  bool val4 ;
236066  int ecode4 = 0 ;
236067  PyObject * obj0 = 0 ;
236068  PyObject * obj1 = 0 ;
236069  PyObject * obj2 = 0 ;
236070  PyObject * obj3 = 0 ;
236071  bool result;
236072 
236073  if (!PyArg_ParseTuple(args,(char *)"OOOO:VoltageClamp_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
236074  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
236075  if (!SWIG_IsOK(res1)) {
236076  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
236077  }
236078  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
236079  {
236080  std::string *ptr = (std::string *)0;
236081  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
236082  if (!SWIG_IsOK(res2)) {
236083  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VoltageClamp_SetData" "', argument " "2"" of type '" "std::string const &""'");
236084  }
236085  if (!ptr) {
236086  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VoltageClamp_SetData" "', argument " "2"" of type '" "std::string const &""'");
236087  }
236088  arg2 = ptr;
236089  }
236090  {
236091  std::string *ptr = (std::string *)0;
236092  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
236093  if (!SWIG_IsOK(res3)) {
236094  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VoltageClamp_SetData" "', argument " "3"" of type '" "std::string const &""'");
236095  }
236096  if (!ptr) {
236097  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VoltageClamp_SetData" "', argument " "3"" of type '" "std::string const &""'");
236098  }
236099  arg3 = ptr;
236100  }
236101  ecode4 = SWIG_AsVal_bool(obj3, &val4);
236102  if (!SWIG_IsOK(ecode4)) {
236103  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VoltageClamp_SetData" "', argument " "4"" of type '" "bool""'");
236104  }
236105  arg4 = static_cast< bool >(val4);
236106  {
236107  try {
236108  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
236109  }
236110  catch(CStdErrorInfo oError)
236111  {
236112  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236113  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236114  PyErr_SetString(PyExc_IndexError, strError.c_str());
236115  SWIG_fail;
236116  }
236117  catch(...)
236118  {
236119  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236120  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236121  SWIG_fail;
236122  }
236123  }
236124  resultobj = SWIG_From_bool(static_cast< bool >(result));
236125  if (SWIG_IsNewObj(res2)) delete arg2;
236126  if (SWIG_IsNewObj(res3)) delete arg3;
236127  return resultobj;
236128 fail:
236129  if (SWIG_IsNewObj(res2)) delete arg2;
236130  if (SWIG_IsNewObj(res3)) delete arg3;
236131  return NULL;
236132 }
236133 
236134 
236135 SWIGINTERN PyObject *_wrap_VoltageClamp_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236136  PyObject *resultobj = 0;
236138  std::string *arg2 = 0 ;
236139  std::string *arg3 = 0 ;
236140  void *argp1 = 0 ;
236141  int res1 = 0 ;
236142  int res2 = SWIG_OLDOBJ ;
236143  int res3 = SWIG_OLDOBJ ;
236144  PyObject * obj0 = 0 ;
236145  PyObject * obj1 = 0 ;
236146  PyObject * obj2 = 0 ;
236147  bool result;
236148 
236149  if (!PyArg_ParseTuple(args,(char *)"OOO:VoltageClamp_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
236150  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
236151  if (!SWIG_IsOK(res1)) {
236152  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
236153  }
236154  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
236155  {
236156  std::string *ptr = (std::string *)0;
236157  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
236158  if (!SWIG_IsOK(res2)) {
236159  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VoltageClamp_SetData" "', argument " "2"" of type '" "std::string const &""'");
236160  }
236161  if (!ptr) {
236162  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VoltageClamp_SetData" "', argument " "2"" of type '" "std::string const &""'");
236163  }
236164  arg2 = ptr;
236165  }
236166  {
236167  std::string *ptr = (std::string *)0;
236168  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
236169  if (!SWIG_IsOK(res3)) {
236170  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VoltageClamp_SetData" "', argument " "3"" of type '" "std::string const &""'");
236171  }
236172  if (!ptr) {
236173  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VoltageClamp_SetData" "', argument " "3"" of type '" "std::string const &""'");
236174  }
236175  arg3 = ptr;
236176  }
236177  {
236178  try {
236179  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
236180  }
236181  catch(CStdErrorInfo oError)
236182  {
236183  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236184  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236185  PyErr_SetString(PyExc_IndexError, strError.c_str());
236186  SWIG_fail;
236187  }
236188  catch(...)
236189  {
236190  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236191  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236192  SWIG_fail;
236193  }
236194  }
236195  resultobj = SWIG_From_bool(static_cast< bool >(result));
236196  if (SWIG_IsNewObj(res2)) delete arg2;
236197  if (SWIG_IsNewObj(res3)) delete arg3;
236198  return resultobj;
236199 fail:
236200  if (SWIG_IsNewObj(res2)) delete arg2;
236201  if (SWIG_IsNewObj(res3)) delete arg3;
236202  return NULL;
236203 }
236204 
236205 
236206 SWIGINTERN PyObject *_wrap_VoltageClamp_SetData(PyObject *self, PyObject *args) {
236207  int argc;
236208  PyObject *argv[5];
236209  int ii;
236210 
236211  if (!PyTuple_Check(args)) SWIG_fail;
236212  argc = args ? (int)PyObject_Length(args) : 0;
236213  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
236214  argv[ii] = PyTuple_GET_ITEM(args,ii);
236215  }
236216  if (argc == 3) {
236217  int _v;
236218  void *vptr = 0;
236219  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0);
236220  _v = SWIG_CheckState(res);
236221  if (_v) {
236222  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
236223  _v = SWIG_CheckState(res);
236224  if (_v) {
236225  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
236226  _v = SWIG_CheckState(res);
236227  if (_v) {
236228  return _wrap_VoltageClamp_SetData__SWIG_1(self, args);
236229  }
236230  }
236231  }
236232  }
236233  if (argc == 4) {
236234  int _v;
236235  void *vptr = 0;
236236  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0);
236237  _v = SWIG_CheckState(res);
236238  if (_v) {
236239  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
236240  _v = SWIG_CheckState(res);
236241  if (_v) {
236242  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
236243  _v = SWIG_CheckState(res);
236244  if (_v) {
236245  {
236246  int res = SWIG_AsVal_bool(argv[3], NULL);
236247  _v = SWIG_CheckState(res);
236248  }
236249  if (_v) {
236250  return _wrap_VoltageClamp_SetData__SWIG_0(self, args);
236251  }
236252  }
236253  }
236254  }
236255  }
236256 
236257 fail:
236258  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'VoltageClamp_SetData'.\n"
236259  " Possible C/C++ prototypes are:\n"
236260  " AnimatSim::ExternalStimuli::VoltageClamp::SetData(std::string const &,std::string const &,bool)\n"
236261  " AnimatSim::ExternalStimuli::VoltageClamp::SetData(std::string const &,std::string const &)\n");
236262  return 0;
236263 }
236264 
236265 
236266 SWIGINTERN PyObject *_wrap_VoltageClamp_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236267  PyObject *resultobj = 0;
236269  CStdPtrArray< TypeProperty > *arg2 = 0 ;
236270  void *argp1 = 0 ;
236271  int res1 = 0 ;
236272  void *argp2 = 0 ;
236273  int res2 = 0 ;
236274  PyObject * obj0 = 0 ;
236275  PyObject * obj1 = 0 ;
236276 
236277  if (!PyArg_ParseTuple(args,(char *)"OO:VoltageClamp_QueryProperties",&obj0,&obj1)) SWIG_fail;
236278  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, 0 | 0 );
236279  if (!SWIG_IsOK(res1)) {
236280  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VoltageClamp_QueryProperties" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::VoltageClamp *""'");
236281  }
236282  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::VoltageClamp * >(argp1);
236283  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
236284  if (!SWIG_IsOK(res2)) {
236285  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VoltageClamp_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
236286  }
236287  if (!argp2) {
236288  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VoltageClamp_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
236289  }
236290  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
236291  {
236292  try {
236293  (arg1)->QueryProperties(*arg2);
236294  }
236295  catch(CStdErrorInfo oError)
236296  {
236297  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236298  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236299  PyErr_SetString(PyExc_IndexError, strError.c_str());
236300  SWIG_fail;
236301  }
236302  catch(...)
236303  {
236304  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236305  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236306  SWIG_fail;
236307  }
236308  }
236309  resultobj = SWIG_Py_Void();
236310  return resultobj;
236311 fail:
236312  return NULL;
236313 }
236314 
236315 
236316 SWIGINTERN PyObject *VoltageClamp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236317  PyObject *obj;
236318  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
236319  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp, SWIG_NewClientData(obj));
236320  return SWIG_Py_Void();
236321 }
236322 
236323 SWIGINTERN PyObject *_wrap_new_InverseMuscleCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236324  PyObject *resultobj = 0;
236326 
236327  if (!PyArg_ParseTuple(args,(char *)":new_InverseMuscleCurrent")) SWIG_fail;
236328  {
236329  try {
236331  }
236332  catch(CStdErrorInfo oError)
236333  {
236334  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236335  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236336  PyErr_SetString(PyExc_IndexError, strError.c_str());
236337  SWIG_fail;
236338  }
236339  catch(...)
236340  {
236341  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236342  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236343  SWIG_fail;
236344  }
236345  }
236346  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, SWIG_POINTER_NEW | 0 );
236347  return resultobj;
236348 fail:
236349  return NULL;
236350 }
236351 
236352 
236353 SWIGINTERN PyObject *_wrap_delete_InverseMuscleCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236354  PyObject *resultobj = 0;
236356  void *argp1 = 0 ;
236357  int res1 = 0 ;
236358  PyObject * obj0 = 0 ;
236359 
236360  if (!PyArg_ParseTuple(args,(char *)"O:delete_InverseMuscleCurrent",&obj0)) SWIG_fail;
236361  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, SWIG_POINTER_DISOWN | 0 );
236362  if (!SWIG_IsOK(res1)) {
236363  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_InverseMuscleCurrent" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
236364  }
236365  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
236366  {
236367  try {
236368  delete arg1;
236369  }
236370  catch(CStdErrorInfo oError)
236371  {
236372  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236373  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236374  PyErr_SetString(PyExc_IndexError, strError.c_str());
236375  SWIG_fail;
236376  }
236377  catch(...)
236378  {
236379  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236380  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236381  SWIG_fail;
236382  }
236383  }
236384  resultobj = SWIG_Py_Void();
236385  return resultobj;
236386 fail:
236387  return NULL;
236388 }
236389 
236390 
236391 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236392  PyObject *resultobj = 0;
236394  void *argp1 = 0 ;
236395  int res1 = 0 ;
236396  PyObject * obj0 = 0 ;
236398 
236399  if (!PyArg_ParseTuple(args,(char *)"O:InverseMuscleCurrent_CastToDerived",&obj0)) SWIG_fail;
236400  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
236401  if (!SWIG_IsOK(res1)) {
236402  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
236403  }
236404  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
236405  {
236406  try {
236407  result = (AnimatSim::ExternalStimuli::InverseMuscleCurrent *)AnimatSim::ExternalStimuli::InverseMuscleCurrent::CastToDerived(arg1);
236408  }
236409  catch(CStdErrorInfo oError)
236410  {
236411  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236412  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236413  PyErr_SetString(PyExc_IndexError, strError.c_str());
236414  SWIG_fail;
236415  }
236416  catch(...)
236417  {
236418  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236419  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236420  SWIG_fail;
236421  }
236422  }
236423  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
236424  return resultobj;
236425 fail:
236426  return NULL;
236427 }
236428 
236429 
236430 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_RestPotential__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236431  PyObject *resultobj = 0;
236433  float arg2 ;
236434  void *argp1 = 0 ;
236435  int res1 = 0 ;
236436  float val2 ;
236437  int ecode2 = 0 ;
236438  PyObject * obj0 = 0 ;
236439  PyObject * obj1 = 0 ;
236440 
236441  if (!PyArg_ParseTuple(args,(char *)"OO:InverseMuscleCurrent_RestPotential",&obj0,&obj1)) SWIG_fail;
236442  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
236443  if (!SWIG_IsOK(res1)) {
236444  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_RestPotential" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
236445  }
236446  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
236447  ecode2 = SWIG_AsVal_float(obj1, &val2);
236448  if (!SWIG_IsOK(ecode2)) {
236449  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InverseMuscleCurrent_RestPotential" "', argument " "2"" of type '" "float""'");
236450  }
236451  arg2 = static_cast< float >(val2);
236452  {
236453  try {
236454  (arg1)->RestPotential(arg2);
236455  }
236456  catch(CStdErrorInfo oError)
236457  {
236458  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236459  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236460  PyErr_SetString(PyExc_IndexError, strError.c_str());
236461  SWIG_fail;
236462  }
236463  catch(...)
236464  {
236465  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236466  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236467  SWIG_fail;
236468  }
236469  }
236470  resultobj = SWIG_Py_Void();
236471  return resultobj;
236472 fail:
236473  return NULL;
236474 }
236475 
236476 
236477 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_RestPotential__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236478  PyObject *resultobj = 0;
236480  void *argp1 = 0 ;
236481  int res1 = 0 ;
236482  PyObject * obj0 = 0 ;
236483  float result;
236484 
236485  if (!PyArg_ParseTuple(args,(char *)"O:InverseMuscleCurrent_RestPotential",&obj0)) SWIG_fail;
236486  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
236487  if (!SWIG_IsOK(res1)) {
236488  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_RestPotential" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
236489  }
236490  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
236491  {
236492  try {
236493  result = (float)(arg1)->RestPotential();
236494  }
236495  catch(CStdErrorInfo oError)
236496  {
236497  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236498  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236499  PyErr_SetString(PyExc_IndexError, strError.c_str());
236500  SWIG_fail;
236501  }
236502  catch(...)
236503  {
236504  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236505  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236506  SWIG_fail;
236507  }
236508  }
236509  resultobj = SWIG_From_float(static_cast< float >(result));
236510  return resultobj;
236511 fail:
236512  return NULL;
236513 }
236514 
236515 
236516 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_RestPotential(PyObject *self, PyObject *args) {
236517  int argc;
236518  PyObject *argv[3];
236519  int ii;
236520 
236521  if (!PyTuple_Check(args)) SWIG_fail;
236522  argc = args ? (int)PyObject_Length(args) : 0;
236523  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
236524  argv[ii] = PyTuple_GET_ITEM(args,ii);
236525  }
236526  if (argc == 1) {
236527  int _v;
236528  void *vptr = 0;
236529  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0);
236530  _v = SWIG_CheckState(res);
236531  if (_v) {
236532  return _wrap_InverseMuscleCurrent_RestPotential__SWIG_1(self, args);
236533  }
236534  }
236535  if (argc == 2) {
236536  int _v;
236537  void *vptr = 0;
236538  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0);
236539  _v = SWIG_CheckState(res);
236540  if (_v) {
236541  {
236542  int res = SWIG_AsVal_float(argv[1], NULL);
236543  _v = SWIG_CheckState(res);
236544  }
236545  if (_v) {
236546  return _wrap_InverseMuscleCurrent_RestPotential__SWIG_0(self, args);
236547  }
236548  }
236549  }
236550 
236551 fail:
236552  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'InverseMuscleCurrent_RestPotential'.\n"
236553  " Possible C/C++ prototypes are:\n"
236554  " AnimatSim::ExternalStimuli::InverseMuscleCurrent::RestPotential(float)\n"
236555  " AnimatSim::ExternalStimuli::InverseMuscleCurrent::RestPotential()\n");
236556  return 0;
236557 }
236558 
236559 
236560 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_Conductance__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236561  PyObject *resultobj = 0;
236563  float arg2 ;
236564  void *argp1 = 0 ;
236565  int res1 = 0 ;
236566  float val2 ;
236567  int ecode2 = 0 ;
236568  PyObject * obj0 = 0 ;
236569  PyObject * obj1 = 0 ;
236570 
236571  if (!PyArg_ParseTuple(args,(char *)"OO:InverseMuscleCurrent_Conductance",&obj0,&obj1)) SWIG_fail;
236572  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
236573  if (!SWIG_IsOK(res1)) {
236574  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_Conductance" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
236575  }
236576  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
236577  ecode2 = SWIG_AsVal_float(obj1, &val2);
236578  if (!SWIG_IsOK(ecode2)) {
236579  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InverseMuscleCurrent_Conductance" "', argument " "2"" of type '" "float""'");
236580  }
236581  arg2 = static_cast< float >(val2);
236582  {
236583  try {
236584  (arg1)->Conductance(arg2);
236585  }
236586  catch(CStdErrorInfo oError)
236587  {
236588  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236589  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236590  PyErr_SetString(PyExc_IndexError, strError.c_str());
236591  SWIG_fail;
236592  }
236593  catch(...)
236594  {
236595  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236596  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236597  SWIG_fail;
236598  }
236599  }
236600  resultobj = SWIG_Py_Void();
236601  return resultobj;
236602 fail:
236603  return NULL;
236604 }
236605 
236606 
236607 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_Conductance__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236608  PyObject *resultobj = 0;
236610  void *argp1 = 0 ;
236611  int res1 = 0 ;
236612  PyObject * obj0 = 0 ;
236613  float result;
236614 
236615  if (!PyArg_ParseTuple(args,(char *)"O:InverseMuscleCurrent_Conductance",&obj0)) SWIG_fail;
236616  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
236617  if (!SWIG_IsOK(res1)) {
236618  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_Conductance" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
236619  }
236620  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
236621  {
236622  try {
236623  result = (float)(arg1)->Conductance();
236624  }
236625  catch(CStdErrorInfo oError)
236626  {
236627  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236628  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236629  PyErr_SetString(PyExc_IndexError, strError.c_str());
236630  SWIG_fail;
236631  }
236632  catch(...)
236633  {
236634  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236635  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236636  SWIG_fail;
236637  }
236638  }
236639  resultobj = SWIG_From_float(static_cast< float >(result));
236640  return resultobj;
236641 fail:
236642  return NULL;
236643 }
236644 
236645 
236646 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_Conductance(PyObject *self, PyObject *args) {
236647  int argc;
236648  PyObject *argv[3];
236649  int ii;
236650 
236651  if (!PyTuple_Check(args)) SWIG_fail;
236652  argc = args ? (int)PyObject_Length(args) : 0;
236653  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
236654  argv[ii] = PyTuple_GET_ITEM(args,ii);
236655  }
236656  if (argc == 1) {
236657  int _v;
236658  void *vptr = 0;
236659  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0);
236660  _v = SWIG_CheckState(res);
236661  if (_v) {
236662  return _wrap_InverseMuscleCurrent_Conductance__SWIG_1(self, args);
236663  }
236664  }
236665  if (argc == 2) {
236666  int _v;
236667  void *vptr = 0;
236668  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0);
236669  _v = SWIG_CheckState(res);
236670  if (_v) {
236671  {
236672  int res = SWIG_AsVal_float(argv[1], NULL);
236673  _v = SWIG_CheckState(res);
236674  }
236675  if (_v) {
236676  return _wrap_InverseMuscleCurrent_Conductance__SWIG_0(self, args);
236677  }
236678  }
236679  }
236680 
236681 fail:
236682  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'InverseMuscleCurrent_Conductance'.\n"
236683  " Possible C/C++ prototypes are:\n"
236684  " AnimatSim::ExternalStimuli::InverseMuscleCurrent::Conductance(float)\n"
236685  " AnimatSim::ExternalStimuli::InverseMuscleCurrent::Conductance()\n");
236686  return 0;
236687 }
236688 
236689 
236690 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_TargetNodeID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236691  PyObject *resultobj = 0;
236693  std::string arg2 ;
236694  void *argp1 = 0 ;
236695  int res1 = 0 ;
236696  PyObject * obj0 = 0 ;
236697  PyObject * obj1 = 0 ;
236698 
236699  if (!PyArg_ParseTuple(args,(char *)"OO:InverseMuscleCurrent_TargetNodeID",&obj0,&obj1)) SWIG_fail;
236700  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
236701  if (!SWIG_IsOK(res1)) {
236702  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_TargetNodeID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
236703  }
236704  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
236705  {
236706  std::string *ptr = (std::string *)0;
236707  int res = SWIG_AsPtr_std_string(obj1, &ptr);
236708  if (!SWIG_IsOK(res) || !ptr) {
236709  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "InverseMuscleCurrent_TargetNodeID" "', argument " "2"" of type '" "std::string""'");
236710  }
236711  arg2 = *ptr;
236712  if (SWIG_IsNewObj(res)) delete ptr;
236713  }
236714  {
236715  try {
236716  (arg1)->TargetNodeID(arg2);
236717  }
236718  catch(CStdErrorInfo oError)
236719  {
236720  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236721  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236722  PyErr_SetString(PyExc_IndexError, strError.c_str());
236723  SWIG_fail;
236724  }
236725  catch(...)
236726  {
236727  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236728  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236729  SWIG_fail;
236730  }
236731  }
236732  resultobj = SWIG_Py_Void();
236733  return resultobj;
236734 fail:
236735  return NULL;
236736 }
236737 
236738 
236739 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_TargetNodeID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236740  PyObject *resultobj = 0;
236742  void *argp1 = 0 ;
236743  int res1 = 0 ;
236744  PyObject * obj0 = 0 ;
236745  std::string result;
236746 
236747  if (!PyArg_ParseTuple(args,(char *)"O:InverseMuscleCurrent_TargetNodeID",&obj0)) SWIG_fail;
236748  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
236749  if (!SWIG_IsOK(res1)) {
236750  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_TargetNodeID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
236751  }
236752  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
236753  {
236754  try {
236755  result = (arg1)->TargetNodeID();
236756  }
236757  catch(CStdErrorInfo oError)
236758  {
236759  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236760  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236761  PyErr_SetString(PyExc_IndexError, strError.c_str());
236762  SWIG_fail;
236763  }
236764  catch(...)
236765  {
236766  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236767  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236768  SWIG_fail;
236769  }
236770  }
236771  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
236772  return resultobj;
236773 fail:
236774  return NULL;
236775 }
236776 
236777 
236778 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_TargetNodeID(PyObject *self, PyObject *args) {
236779  int argc;
236780  PyObject *argv[3];
236781  int ii;
236782 
236783  if (!PyTuple_Check(args)) SWIG_fail;
236784  argc = args ? (int)PyObject_Length(args) : 0;
236785  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
236786  argv[ii] = PyTuple_GET_ITEM(args,ii);
236787  }
236788  if (argc == 1) {
236789  int _v;
236790  void *vptr = 0;
236791  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0);
236792  _v = SWIG_CheckState(res);
236793  if (_v) {
236794  return _wrap_InverseMuscleCurrent_TargetNodeID__SWIG_1(self, args);
236795  }
236796  }
236797  if (argc == 2) {
236798  int _v;
236799  void *vptr = 0;
236800  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0);
236801  _v = SWIG_CheckState(res);
236802  if (_v) {
236803  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
236804  _v = SWIG_CheckState(res);
236805  if (_v) {
236806  return _wrap_InverseMuscleCurrent_TargetNodeID__SWIG_0(self, args);
236807  }
236808  }
236809  }
236810 
236811 fail:
236812  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'InverseMuscleCurrent_TargetNodeID'.\n"
236813  " Possible C/C++ prototypes are:\n"
236814  " AnimatSim::ExternalStimuli::InverseMuscleCurrent::TargetNodeID(std::string)\n"
236815  " AnimatSim::ExternalStimuli::InverseMuscleCurrent::TargetNodeID()\n");
236816  return 0;
236817 }
236818 
236819 
236820 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_TargetNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236821  PyObject *resultobj = 0;
236823  void *argp1 = 0 ;
236824  int res1 = 0 ;
236825  PyObject * obj0 = 0 ;
236826  AnimatSim::Node *result = 0 ;
236827 
236828  if (!PyArg_ParseTuple(args,(char *)"O:InverseMuscleCurrent_TargetNode",&obj0)) SWIG_fail;
236829  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
236830  if (!SWIG_IsOK(res1)) {
236831  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_TargetNode" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
236832  }
236833  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
236834  {
236835  try {
236836  result = (AnimatSim::Node *)(arg1)->TargetNode();
236837  }
236838  catch(CStdErrorInfo oError)
236839  {
236840  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236841  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236842  PyErr_SetString(PyExc_IndexError, strError.c_str());
236843  SWIG_fail;
236844  }
236845  catch(...)
236846  {
236847  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236848  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236849  SWIG_fail;
236850  }
236851  }
236852  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Node, 0 | 0 );
236853  return resultobj;
236854 fail:
236855  return NULL;
236856 }
236857 
236858 
236859 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_MuscleID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236860  PyObject *resultobj = 0;
236862  std::string arg2 ;
236863  void *argp1 = 0 ;
236864  int res1 = 0 ;
236865  PyObject * obj0 = 0 ;
236866  PyObject * obj1 = 0 ;
236867 
236868  if (!PyArg_ParseTuple(args,(char *)"OO:InverseMuscleCurrent_MuscleID",&obj0,&obj1)) SWIG_fail;
236869  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
236870  if (!SWIG_IsOK(res1)) {
236871  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_MuscleID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
236872  }
236873  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
236874  {
236875  std::string *ptr = (std::string *)0;
236876  int res = SWIG_AsPtr_std_string(obj1, &ptr);
236877  if (!SWIG_IsOK(res) || !ptr) {
236878  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "InverseMuscleCurrent_MuscleID" "', argument " "2"" of type '" "std::string""'");
236879  }
236880  arg2 = *ptr;
236881  if (SWIG_IsNewObj(res)) delete ptr;
236882  }
236883  {
236884  try {
236885  (arg1)->MuscleID(arg2);
236886  }
236887  catch(CStdErrorInfo oError)
236888  {
236889  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236890  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236891  PyErr_SetString(PyExc_IndexError, strError.c_str());
236892  SWIG_fail;
236893  }
236894  catch(...)
236895  {
236896  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236897  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236898  SWIG_fail;
236899  }
236900  }
236901  resultobj = SWIG_Py_Void();
236902  return resultobj;
236903 fail:
236904  return NULL;
236905 }
236906 
236907 
236908 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_MuscleID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236909  PyObject *resultobj = 0;
236911  void *argp1 = 0 ;
236912  int res1 = 0 ;
236913  PyObject * obj0 = 0 ;
236914  std::string result;
236915 
236916  if (!PyArg_ParseTuple(args,(char *)"O:InverseMuscleCurrent_MuscleID",&obj0)) SWIG_fail;
236917  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
236918  if (!SWIG_IsOK(res1)) {
236919  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_MuscleID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
236920  }
236921  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
236922  {
236923  try {
236924  result = (arg1)->MuscleID();
236925  }
236926  catch(CStdErrorInfo oError)
236927  {
236928  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236929  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
236930  PyErr_SetString(PyExc_IndexError, strError.c_str());
236931  SWIG_fail;
236932  }
236933  catch(...)
236934  {
236935  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
236936  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
236937  SWIG_fail;
236938  }
236939  }
236940  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
236941  return resultobj;
236942 fail:
236943  return NULL;
236944 }
236945 
236946 
236947 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_MuscleID(PyObject *self, PyObject *args) {
236948  int argc;
236949  PyObject *argv[3];
236950  int ii;
236951 
236952  if (!PyTuple_Check(args)) SWIG_fail;
236953  argc = args ? (int)PyObject_Length(args) : 0;
236954  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
236955  argv[ii] = PyTuple_GET_ITEM(args,ii);
236956  }
236957  if (argc == 1) {
236958  int _v;
236959  void *vptr = 0;
236960  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0);
236961  _v = SWIG_CheckState(res);
236962  if (_v) {
236963  return _wrap_InverseMuscleCurrent_MuscleID__SWIG_1(self, args);
236964  }
236965  }
236966  if (argc == 2) {
236967  int _v;
236968  void *vptr = 0;
236969  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0);
236970  _v = SWIG_CheckState(res);
236971  if (_v) {
236972  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
236973  _v = SWIG_CheckState(res);
236974  if (_v) {
236975  return _wrap_InverseMuscleCurrent_MuscleID__SWIG_0(self, args);
236976  }
236977  }
236978  }
236979 
236980 fail:
236981  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'InverseMuscleCurrent_MuscleID'.\n"
236982  " Possible C/C++ prototypes are:\n"
236983  " AnimatSim::ExternalStimuli::InverseMuscleCurrent::MuscleID(std::string)\n"
236984  " AnimatSim::ExternalStimuli::InverseMuscleCurrent::MuscleID()\n");
236985  return 0;
236986 }
236987 
236988 
236989 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_Muscle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
236990  PyObject *resultobj = 0;
236992  void *argp1 = 0 ;
236993  int res1 = 0 ;
236994  PyObject * obj0 = 0 ;
236995  LinearHillMuscle *result = 0 ;
236996 
236997  if (!PyArg_ParseTuple(args,(char *)"O:InverseMuscleCurrent_Muscle",&obj0)) SWIG_fail;
236998  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
236999  if (!SWIG_IsOK(res1)) {
237000  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_Muscle" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
237001  }
237002  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
237003  {
237004  try {
237005  result = (LinearHillMuscle *)(arg1)->Muscle();
237006  }
237007  catch(CStdErrorInfo oError)
237008  {
237009  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237010  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237011  PyErr_SetString(PyExc_IndexError, strError.c_str());
237012  SWIG_fail;
237013  }
237014  catch(...)
237015  {
237016  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237017  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237018  SWIG_fail;
237019  }
237020  }
237021  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_LinearHillMuscle, 0 | 0 );
237022  return resultobj;
237023 fail:
237024  return NULL;
237025 }
237026 
237027 
237028 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_MuscleLengthData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237029  PyObject *resultobj = 0;
237031  std::string arg2 ;
237032  void *argp1 = 0 ;
237033  int res1 = 0 ;
237034  PyObject * obj0 = 0 ;
237035  PyObject * obj1 = 0 ;
237036 
237037  if (!PyArg_ParseTuple(args,(char *)"OO:InverseMuscleCurrent_MuscleLengthData",&obj0,&obj1)) SWIG_fail;
237038  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
237039  if (!SWIG_IsOK(res1)) {
237040  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_MuscleLengthData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
237041  }
237042  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
237043  {
237044  std::string *ptr = (std::string *)0;
237045  int res = SWIG_AsPtr_std_string(obj1, &ptr);
237046  if (!SWIG_IsOK(res) || !ptr) {
237047  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "InverseMuscleCurrent_MuscleLengthData" "', argument " "2"" of type '" "std::string""'");
237048  }
237049  arg2 = *ptr;
237050  if (SWIG_IsNewObj(res)) delete ptr;
237051  }
237052  {
237053  try {
237054  (arg1)->MuscleLengthData(arg2);
237055  }
237056  catch(CStdErrorInfo oError)
237057  {
237058  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237059  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237060  PyErr_SetString(PyExc_IndexError, strError.c_str());
237061  SWIG_fail;
237062  }
237063  catch(...)
237064  {
237065  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237066  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237067  SWIG_fail;
237068  }
237069  }
237070  resultobj = SWIG_Py_Void();
237071  return resultobj;
237072 fail:
237073  return NULL;
237074 }
237075 
237076 
237077 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_MuscleLengthData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237078  PyObject *resultobj = 0;
237080  void *argp1 = 0 ;
237081  int res1 = 0 ;
237082  PyObject * obj0 = 0 ;
237083  std::string result;
237084 
237085  if (!PyArg_ParseTuple(args,(char *)"O:InverseMuscleCurrent_MuscleLengthData",&obj0)) SWIG_fail;
237086  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
237087  if (!SWIG_IsOK(res1)) {
237088  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_MuscleLengthData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
237089  }
237090  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
237091  {
237092  try {
237093  result = (arg1)->MuscleLengthData();
237094  }
237095  catch(CStdErrorInfo oError)
237096  {
237097  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237098  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237099  PyErr_SetString(PyExc_IndexError, strError.c_str());
237100  SWIG_fail;
237101  }
237102  catch(...)
237103  {
237104  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237105  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237106  SWIG_fail;
237107  }
237108  }
237109  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
237110  return resultobj;
237111 fail:
237112  return NULL;
237113 }
237114 
237115 
237116 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_MuscleLengthData(PyObject *self, PyObject *args) {
237117  int argc;
237118  PyObject *argv[3];
237119  int ii;
237120 
237121  if (!PyTuple_Check(args)) SWIG_fail;
237122  argc = args ? (int)PyObject_Length(args) : 0;
237123  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
237124  argv[ii] = PyTuple_GET_ITEM(args,ii);
237125  }
237126  if (argc == 1) {
237127  int _v;
237128  void *vptr = 0;
237129  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0);
237130  _v = SWIG_CheckState(res);
237131  if (_v) {
237132  return _wrap_InverseMuscleCurrent_MuscleLengthData__SWIG_1(self, args);
237133  }
237134  }
237135  if (argc == 2) {
237136  int _v;
237137  void *vptr = 0;
237138  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0);
237139  _v = SWIG_CheckState(res);
237140  if (_v) {
237141  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
237142  _v = SWIG_CheckState(res);
237143  if (_v) {
237144  return _wrap_InverseMuscleCurrent_MuscleLengthData__SWIG_0(self, args);
237145  }
237146  }
237147  }
237148 
237149 fail:
237150  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'InverseMuscleCurrent_MuscleLengthData'.\n"
237151  " Possible C/C++ prototypes are:\n"
237152  " AnimatSim::ExternalStimuli::InverseMuscleCurrent::MuscleLengthData(std::string)\n"
237153  " AnimatSim::ExternalStimuli::InverseMuscleCurrent::MuscleLengthData()\n");
237154  return 0;
237155 }
237156 
237157 
237158 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237159  PyObject *resultobj = 0;
237161  CStdXml *arg2 = 0 ;
237162  void *argp1 = 0 ;
237163  int res1 = 0 ;
237164  void *argp2 = 0 ;
237165  int res2 = 0 ;
237166  PyObject * obj0 = 0 ;
237167  PyObject * obj1 = 0 ;
237168 
237169  if (!PyArg_ParseTuple(args,(char *)"OO:InverseMuscleCurrent_Load",&obj0,&obj1)) SWIG_fail;
237170  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
237171  if (!SWIG_IsOK(res1)) {
237172  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_Load" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
237173  }
237174  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
237175  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
237176  if (!SWIG_IsOK(res2)) {
237177  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "InverseMuscleCurrent_Load" "', argument " "2"" of type '" "CStdXml &""'");
237178  }
237179  if (!argp2) {
237180  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "InverseMuscleCurrent_Load" "', argument " "2"" of type '" "CStdXml &""'");
237181  }
237182  arg2 = reinterpret_cast< CStdXml * >(argp2);
237183  {
237184  try {
237185  (arg1)->Load(*arg2);
237186  }
237187  catch(CStdErrorInfo oError)
237188  {
237189  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237190  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237191  PyErr_SetString(PyExc_IndexError, strError.c_str());
237192  SWIG_fail;
237193  }
237194  catch(...)
237195  {
237196  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237197  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237198  SWIG_fail;
237199  }
237200  }
237201  resultobj = SWIG_Py_Void();
237202  return resultobj;
237203 fail:
237204  return NULL;
237205 }
237206 
237207 
237208 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237209  PyObject *resultobj = 0;
237211  std::string *arg2 = 0 ;
237212  void *argp1 = 0 ;
237213  int res1 = 0 ;
237214  int res2 = SWIG_OLDOBJ ;
237215  PyObject * obj0 = 0 ;
237216  PyObject * obj1 = 0 ;
237217  float *result = 0 ;
237218 
237219  if (!PyArg_ParseTuple(args,(char *)"OO:InverseMuscleCurrent_GetDataPointer",&obj0,&obj1)) SWIG_fail;
237220  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
237221  if (!SWIG_IsOK(res1)) {
237222  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
237223  }
237224  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
237225  {
237226  std::string *ptr = (std::string *)0;
237227  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
237228  if (!SWIG_IsOK(res2)) {
237229  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "InverseMuscleCurrent_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
237230  }
237231  if (!ptr) {
237232  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "InverseMuscleCurrent_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
237233  }
237234  arg2 = ptr;
237235  }
237236  {
237237  try {
237238  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
237239  }
237240  catch(CStdErrorInfo oError)
237241  {
237242  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237243  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237244  PyErr_SetString(PyExc_IndexError, strError.c_str());
237245  SWIG_fail;
237246  }
237247  catch(...)
237248  {
237249  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237250  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237251  SWIG_fail;
237252  }
237253  }
237254  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
237255  if (SWIG_IsNewObj(res2)) delete arg2;
237256  return resultobj;
237257 fail:
237258  if (SWIG_IsNewObj(res2)) delete arg2;
237259  return NULL;
237260 }
237261 
237262 
237263 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237264  PyObject *resultobj = 0;
237266  std::string *arg2 = 0 ;
237267  std::string *arg3 = 0 ;
237268  bool arg4 ;
237269  void *argp1 = 0 ;
237270  int res1 = 0 ;
237271  int res2 = SWIG_OLDOBJ ;
237272  int res3 = SWIG_OLDOBJ ;
237273  bool val4 ;
237274  int ecode4 = 0 ;
237275  PyObject * obj0 = 0 ;
237276  PyObject * obj1 = 0 ;
237277  PyObject * obj2 = 0 ;
237278  PyObject * obj3 = 0 ;
237279  bool result;
237280 
237281  if (!PyArg_ParseTuple(args,(char *)"OOOO:InverseMuscleCurrent_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
237282  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
237283  if (!SWIG_IsOK(res1)) {
237284  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
237285  }
237286  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
237287  {
237288  std::string *ptr = (std::string *)0;
237289  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
237290  if (!SWIG_IsOK(res2)) {
237291  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "InverseMuscleCurrent_SetData" "', argument " "2"" of type '" "std::string const &""'");
237292  }
237293  if (!ptr) {
237294  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "InverseMuscleCurrent_SetData" "', argument " "2"" of type '" "std::string const &""'");
237295  }
237296  arg2 = ptr;
237297  }
237298  {
237299  std::string *ptr = (std::string *)0;
237300  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
237301  if (!SWIG_IsOK(res3)) {
237302  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "InverseMuscleCurrent_SetData" "', argument " "3"" of type '" "std::string const &""'");
237303  }
237304  if (!ptr) {
237305  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "InverseMuscleCurrent_SetData" "', argument " "3"" of type '" "std::string const &""'");
237306  }
237307  arg3 = ptr;
237308  }
237309  ecode4 = SWIG_AsVal_bool(obj3, &val4);
237310  if (!SWIG_IsOK(ecode4)) {
237311  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "InverseMuscleCurrent_SetData" "', argument " "4"" of type '" "bool""'");
237312  }
237313  arg4 = static_cast< bool >(val4);
237314  {
237315  try {
237316  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
237317  }
237318  catch(CStdErrorInfo oError)
237319  {
237320  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237321  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237322  PyErr_SetString(PyExc_IndexError, strError.c_str());
237323  SWIG_fail;
237324  }
237325  catch(...)
237326  {
237327  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237328  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237329  SWIG_fail;
237330  }
237331  }
237332  resultobj = SWIG_From_bool(static_cast< bool >(result));
237333  if (SWIG_IsNewObj(res2)) delete arg2;
237334  if (SWIG_IsNewObj(res3)) delete arg3;
237335  return resultobj;
237336 fail:
237337  if (SWIG_IsNewObj(res2)) delete arg2;
237338  if (SWIG_IsNewObj(res3)) delete arg3;
237339  return NULL;
237340 }
237341 
237342 
237343 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237344  PyObject *resultobj = 0;
237346  std::string *arg2 = 0 ;
237347  std::string *arg3 = 0 ;
237348  void *argp1 = 0 ;
237349  int res1 = 0 ;
237350  int res2 = SWIG_OLDOBJ ;
237351  int res3 = SWIG_OLDOBJ ;
237352  PyObject * obj0 = 0 ;
237353  PyObject * obj1 = 0 ;
237354  PyObject * obj2 = 0 ;
237355  bool result;
237356 
237357  if (!PyArg_ParseTuple(args,(char *)"OOO:InverseMuscleCurrent_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
237358  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
237359  if (!SWIG_IsOK(res1)) {
237360  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
237361  }
237362  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
237363  {
237364  std::string *ptr = (std::string *)0;
237365  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
237366  if (!SWIG_IsOK(res2)) {
237367  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "InverseMuscleCurrent_SetData" "', argument " "2"" of type '" "std::string const &""'");
237368  }
237369  if (!ptr) {
237370  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "InverseMuscleCurrent_SetData" "', argument " "2"" of type '" "std::string const &""'");
237371  }
237372  arg2 = ptr;
237373  }
237374  {
237375  std::string *ptr = (std::string *)0;
237376  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
237377  if (!SWIG_IsOK(res3)) {
237378  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "InverseMuscleCurrent_SetData" "', argument " "3"" of type '" "std::string const &""'");
237379  }
237380  if (!ptr) {
237381  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "InverseMuscleCurrent_SetData" "', argument " "3"" of type '" "std::string const &""'");
237382  }
237383  arg3 = ptr;
237384  }
237385  {
237386  try {
237387  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
237388  }
237389  catch(CStdErrorInfo oError)
237390  {
237391  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237392  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237393  PyErr_SetString(PyExc_IndexError, strError.c_str());
237394  SWIG_fail;
237395  }
237396  catch(...)
237397  {
237398  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237399  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237400  SWIG_fail;
237401  }
237402  }
237403  resultobj = SWIG_From_bool(static_cast< bool >(result));
237404  if (SWIG_IsNewObj(res2)) delete arg2;
237405  if (SWIG_IsNewObj(res3)) delete arg3;
237406  return resultobj;
237407 fail:
237408  if (SWIG_IsNewObj(res2)) delete arg2;
237409  if (SWIG_IsNewObj(res3)) delete arg3;
237410  return NULL;
237411 }
237412 
237413 
237414 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_SetData(PyObject *self, PyObject *args) {
237415  int argc;
237416  PyObject *argv[5];
237417  int ii;
237418 
237419  if (!PyTuple_Check(args)) SWIG_fail;
237420  argc = args ? (int)PyObject_Length(args) : 0;
237421  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
237422  argv[ii] = PyTuple_GET_ITEM(args,ii);
237423  }
237424  if (argc == 3) {
237425  int _v;
237426  void *vptr = 0;
237427  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0);
237428  _v = SWIG_CheckState(res);
237429  if (_v) {
237430  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
237431  _v = SWIG_CheckState(res);
237432  if (_v) {
237433  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
237434  _v = SWIG_CheckState(res);
237435  if (_v) {
237436  return _wrap_InverseMuscleCurrent_SetData__SWIG_1(self, args);
237437  }
237438  }
237439  }
237440  }
237441  if (argc == 4) {
237442  int _v;
237443  void *vptr = 0;
237444  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0);
237445  _v = SWIG_CheckState(res);
237446  if (_v) {
237447  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
237448  _v = SWIG_CheckState(res);
237449  if (_v) {
237450  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
237451  _v = SWIG_CheckState(res);
237452  if (_v) {
237453  {
237454  int res = SWIG_AsVal_bool(argv[3], NULL);
237455  _v = SWIG_CheckState(res);
237456  }
237457  if (_v) {
237458  return _wrap_InverseMuscleCurrent_SetData__SWIG_0(self, args);
237459  }
237460  }
237461  }
237462  }
237463  }
237464 
237465 fail:
237466  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'InverseMuscleCurrent_SetData'.\n"
237467  " Possible C/C++ prototypes are:\n"
237468  " AnimatSim::ExternalStimuli::InverseMuscleCurrent::SetData(std::string const &,std::string const &,bool)\n"
237469  " AnimatSim::ExternalStimuli::InverseMuscleCurrent::SetData(std::string const &,std::string const &)\n");
237470  return 0;
237471 }
237472 
237473 
237474 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237475  PyObject *resultobj = 0;
237477  CStdPtrArray< TypeProperty > *arg2 = 0 ;
237478  void *argp1 = 0 ;
237479  int res1 = 0 ;
237480  void *argp2 = 0 ;
237481  int res2 = 0 ;
237482  PyObject * obj0 = 0 ;
237483  PyObject * obj1 = 0 ;
237484 
237485  if (!PyArg_ParseTuple(args,(char *)"OO:InverseMuscleCurrent_QueryProperties",&obj0,&obj1)) SWIG_fail;
237486  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
237487  if (!SWIG_IsOK(res1)) {
237488  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_QueryProperties" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
237489  }
237490  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
237491  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
237492  if (!SWIG_IsOK(res2)) {
237493  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "InverseMuscleCurrent_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
237494  }
237495  if (!argp2) {
237496  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "InverseMuscleCurrent_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
237497  }
237498  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
237499  {
237500  try {
237501  (arg1)->QueryProperties(*arg2);
237502  }
237503  catch(CStdErrorInfo oError)
237504  {
237505  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237506  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237507  PyErr_SetString(PyExc_IndexError, strError.c_str());
237508  SWIG_fail;
237509  }
237510  catch(...)
237511  {
237512  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237513  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237514  SWIG_fail;
237515  }
237516  }
237517  resultobj = SWIG_Py_Void();
237518  return resultobj;
237519 fail:
237520  return NULL;
237521 }
237522 
237523 
237524 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_Type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237525  PyObject *resultobj = 0;
237527  void *argp1 = 0 ;
237528  int res1 = 0 ;
237529  PyObject * obj0 = 0 ;
237530  std::string result;
237531 
237532  if (!PyArg_ParseTuple(args,(char *)"O:InverseMuscleCurrent_Type",&obj0)) SWIG_fail;
237533  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
237534  if (!SWIG_IsOK(res1)) {
237535  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_Type" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
237536  }
237537  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
237538  {
237539  try {
237540  result = (arg1)->Type();
237541  }
237542  catch(CStdErrorInfo oError)
237543  {
237544  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237545  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237546  PyErr_SetString(PyExc_IndexError, strError.c_str());
237547  SWIG_fail;
237548  }
237549  catch(...)
237550  {
237551  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237552  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237553  SWIG_fail;
237554  }
237555  }
237556  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
237557  return resultobj;
237558 fail:
237559  return NULL;
237560 }
237561 
237562 
237563 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237564  PyObject *resultobj = 0;
237566  void *argp1 = 0 ;
237567  int res1 = 0 ;
237568  PyObject * obj0 = 0 ;
237569 
237570  if (!PyArg_ParseTuple(args,(char *)"O:InverseMuscleCurrent_Initialize",&obj0)) SWIG_fail;
237571  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
237572  if (!SWIG_IsOK(res1)) {
237573  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_Initialize" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
237574  }
237575  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
237576  {
237577  try {
237578  (arg1)->Initialize();
237579  }
237580  catch(CStdErrorInfo oError)
237581  {
237582  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237583  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237584  PyErr_SetString(PyExc_IndexError, strError.c_str());
237585  SWIG_fail;
237586  }
237587  catch(...)
237588  {
237589  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237590  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237591  SWIG_fail;
237592  }
237593  }
237594  resultobj = SWIG_Py_Void();
237595  return resultobj;
237596 fail:
237597  return NULL;
237598 }
237599 
237600 
237601 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237602  PyObject *resultobj = 0;
237604  void *argp1 = 0 ;
237605  int res1 = 0 ;
237606  PyObject * obj0 = 0 ;
237607 
237608  if (!PyArg_ParseTuple(args,(char *)"O:InverseMuscleCurrent_Activate",&obj0)) SWIG_fail;
237609  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
237610  if (!SWIG_IsOK(res1)) {
237611  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_Activate" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
237612  }
237613  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
237614  {
237615  try {
237616  (arg1)->Activate();
237617  }
237618  catch(CStdErrorInfo oError)
237619  {
237620  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237621  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237622  PyErr_SetString(PyExc_IndexError, strError.c_str());
237623  SWIG_fail;
237624  }
237625  catch(...)
237626  {
237627  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237628  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237629  SWIG_fail;
237630  }
237631  }
237632  resultobj = SWIG_Py_Void();
237633  return resultobj;
237634 fail:
237635  return NULL;
237636 }
237637 
237638 
237639 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237640  PyObject *resultobj = 0;
237642  void *argp1 = 0 ;
237643  int res1 = 0 ;
237644  PyObject * obj0 = 0 ;
237645 
237646  if (!PyArg_ParseTuple(args,(char *)"O:InverseMuscleCurrent_ResetSimulation",&obj0)) SWIG_fail;
237647  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
237648  if (!SWIG_IsOK(res1)) {
237649  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
237650  }
237651  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
237652  {
237653  try {
237654  (arg1)->ResetSimulation();
237655  }
237656  catch(CStdErrorInfo oError)
237657  {
237658  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237659  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237660  PyErr_SetString(PyExc_IndexError, strError.c_str());
237661  SWIG_fail;
237662  }
237663  catch(...)
237664  {
237665  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237666  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237667  SWIG_fail;
237668  }
237669  }
237670  resultobj = SWIG_Py_Void();
237671  return resultobj;
237672 fail:
237673  return NULL;
237674 }
237675 
237676 
237677 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237678  PyObject *resultobj = 0;
237680  void *argp1 = 0 ;
237681  int res1 = 0 ;
237682  PyObject * obj0 = 0 ;
237683 
237684  if (!PyArg_ParseTuple(args,(char *)"O:InverseMuscleCurrent_StepSimulation",&obj0)) SWIG_fail;
237685  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
237686  if (!SWIG_IsOK(res1)) {
237687  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_StepSimulation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
237688  }
237689  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
237690  {
237691  try {
237692  (arg1)->StepSimulation();
237693  }
237694  catch(CStdErrorInfo oError)
237695  {
237696  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237697  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237698  PyErr_SetString(PyExc_IndexError, strError.c_str());
237699  SWIG_fail;
237700  }
237701  catch(...)
237702  {
237703  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237704  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237705  SWIG_fail;
237706  }
237707  }
237708  resultobj = SWIG_Py_Void();
237709  return resultobj;
237710 fail:
237711  return NULL;
237712 }
237713 
237714 
237715 SWIGINTERN PyObject *_wrap_InverseMuscleCurrent_Deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237716  PyObject *resultobj = 0;
237718  void *argp1 = 0 ;
237719  int res1 = 0 ;
237720  PyObject * obj0 = 0 ;
237721 
237722  if (!PyArg_ParseTuple(args,(char *)"O:InverseMuscleCurrent_Deactivate",&obj0)) SWIG_fail;
237723  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0 | 0 );
237724  if (!SWIG_IsOK(res1)) {
237725  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InverseMuscleCurrent_Deactivate" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::InverseMuscleCurrent *""'");
237726  }
237727  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::InverseMuscleCurrent * >(argp1);
237728  {
237729  try {
237730  (arg1)->Deactivate();
237731  }
237732  catch(CStdErrorInfo oError)
237733  {
237734  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237735  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237736  PyErr_SetString(PyExc_IndexError, strError.c_str());
237737  SWIG_fail;
237738  }
237739  catch(...)
237740  {
237741  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237742  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237743  SWIG_fail;
237744  }
237745  }
237746  resultobj = SWIG_Py_Void();
237747  return resultobj;
237748 fail:
237749  return NULL;
237750 }
237751 
237752 
237753 SWIGINTERN PyObject *InverseMuscleCurrent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237754  PyObject *obj;
237755  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
237756  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, SWIG_NewClientData(obj));
237757  return SWIG_Py_Void();
237758 }
237759 
237760 SWIGINTERN PyObject *_wrap_new_PropertyControlStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237761  PyObject *resultobj = 0;
237763 
237764  if (!PyArg_ParseTuple(args,(char *)":new_PropertyControlStimulus")) SWIG_fail;
237765  {
237766  try {
237768  }
237769  catch(CStdErrorInfo oError)
237770  {
237771  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237772  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237773  PyErr_SetString(PyExc_IndexError, strError.c_str());
237774  SWIG_fail;
237775  }
237776  catch(...)
237777  {
237778  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237779  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237780  SWIG_fail;
237781  }
237782  }
237783  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, SWIG_POINTER_NEW | 0 );
237784  return resultobj;
237785 fail:
237786  return NULL;
237787 }
237788 
237789 
237790 SWIGINTERN PyObject *_wrap_delete_PropertyControlStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237791  PyObject *resultobj = 0;
237793  void *argp1 = 0 ;
237794  int res1 = 0 ;
237795  PyObject * obj0 = 0 ;
237796 
237797  if (!PyArg_ParseTuple(args,(char *)"O:delete_PropertyControlStimulus",&obj0)) SWIG_fail;
237798  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, SWIG_POINTER_DISOWN | 0 );
237799  if (!SWIG_IsOK(res1)) {
237800  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PropertyControlStimulus" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
237801  }
237802  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
237803  {
237804  try {
237805  delete arg1;
237806  }
237807  catch(CStdErrorInfo oError)
237808  {
237809  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237810  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237811  PyErr_SetString(PyExc_IndexError, strError.c_str());
237812  SWIG_fail;
237813  }
237814  catch(...)
237815  {
237816  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237817  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237818  SWIG_fail;
237819  }
237820  }
237821  resultobj = SWIG_Py_Void();
237822  return resultobj;
237823 fail:
237824  return NULL;
237825 }
237826 
237827 
237828 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237829  PyObject *resultobj = 0;
237831  void *argp1 = 0 ;
237832  int res1 = 0 ;
237833  PyObject * obj0 = 0 ;
237835 
237836  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlStimulus_CastToDerived",&obj0)) SWIG_fail;
237837  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
237838  if (!SWIG_IsOK(res1)) {
237839  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
237840  }
237841  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
237842  {
237843  try {
237844  result = (AnimatSim::ExternalStimuli::PropertyControlStimulus *)AnimatSim::ExternalStimuli::PropertyControlStimulus::CastToDerived(arg1);
237845  }
237846  catch(CStdErrorInfo oError)
237847  {
237848  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237849  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237850  PyErr_SetString(PyExc_IndexError, strError.c_str());
237851  SWIG_fail;
237852  }
237853  catch(...)
237854  {
237855  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237856  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237857  SWIG_fail;
237858  }
237859  }
237860  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
237861  return resultobj;
237862 fail:
237863  return NULL;
237864 }
237865 
237866 
237867 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_Type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237868  PyObject *resultobj = 0;
237870  void *argp1 = 0 ;
237871  int res1 = 0 ;
237872  PyObject * obj0 = 0 ;
237873  std::string result;
237874 
237875  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlStimulus_Type",&obj0)) SWIG_fail;
237876  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
237877  if (!SWIG_IsOK(res1)) {
237878  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_Type" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
237879  }
237880  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
237881  {
237882  try {
237883  result = (arg1)->Type();
237884  }
237885  catch(CStdErrorInfo oError)
237886  {
237887  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237888  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237889  PyErr_SetString(PyExc_IndexError, strError.c_str());
237890  SWIG_fail;
237891  }
237892  catch(...)
237893  {
237894  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237895  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237896  SWIG_fail;
237897  }
237898  }
237899  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
237900  return resultobj;
237901 fail:
237902  return NULL;
237903 }
237904 
237905 
237906 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_TargetID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237907  PyObject *resultobj = 0;
237909  void *argp1 = 0 ;
237910  int res1 = 0 ;
237911  PyObject * obj0 = 0 ;
237912  std::string result;
237913 
237914  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlStimulus_TargetID",&obj0)) SWIG_fail;
237915  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
237916  if (!SWIG_IsOK(res1)) {
237917  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_TargetID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
237918  }
237919  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
237920  {
237921  try {
237922  result = (arg1)->TargetID();
237923  }
237924  catch(CStdErrorInfo oError)
237925  {
237926  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237927  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237928  PyErr_SetString(PyExc_IndexError, strError.c_str());
237929  SWIG_fail;
237930  }
237931  catch(...)
237932  {
237933  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237934  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237935  SWIG_fail;
237936  }
237937  }
237938  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
237939  return resultobj;
237940 fail:
237941  return NULL;
237942 }
237943 
237944 
237945 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_TargetID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
237946  PyObject *resultobj = 0;
237948  std::string arg2 ;
237949  void *argp1 = 0 ;
237950  int res1 = 0 ;
237951  PyObject * obj0 = 0 ;
237952  PyObject * obj1 = 0 ;
237953 
237954  if (!PyArg_ParseTuple(args,(char *)"OO:PropertyControlStimulus_TargetID",&obj0,&obj1)) SWIG_fail;
237955  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
237956  if (!SWIG_IsOK(res1)) {
237957  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_TargetID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
237958  }
237959  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
237960  {
237961  std::string *ptr = (std::string *)0;
237962  int res = SWIG_AsPtr_std_string(obj1, &ptr);
237963  if (!SWIG_IsOK(res) || !ptr) {
237964  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "PropertyControlStimulus_TargetID" "', argument " "2"" of type '" "std::string""'");
237965  }
237966  arg2 = *ptr;
237967  if (SWIG_IsNewObj(res)) delete ptr;
237968  }
237969  {
237970  try {
237971  (arg1)->TargetID(arg2);
237972  }
237973  catch(CStdErrorInfo oError)
237974  {
237975  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237976  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
237977  PyErr_SetString(PyExc_IndexError, strError.c_str());
237978  SWIG_fail;
237979  }
237980  catch(...)
237981  {
237982  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
237983  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
237984  SWIG_fail;
237985  }
237986  }
237987  resultobj = SWIG_Py_Void();
237988  return resultobj;
237989 fail:
237990  return NULL;
237991 }
237992 
237993 
237994 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_TargetID(PyObject *self, PyObject *args) {
237995  int argc;
237996  PyObject *argv[3];
237997  int ii;
237998 
237999  if (!PyTuple_Check(args)) SWIG_fail;
238000  argc = args ? (int)PyObject_Length(args) : 0;
238001  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
238002  argv[ii] = PyTuple_GET_ITEM(args,ii);
238003  }
238004  if (argc == 1) {
238005  int _v;
238006  void *vptr = 0;
238007  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0);
238008  _v = SWIG_CheckState(res);
238009  if (_v) {
238010  return _wrap_PropertyControlStimulus_TargetID__SWIG_0(self, args);
238011  }
238012  }
238013  if (argc == 2) {
238014  int _v;
238015  void *vptr = 0;
238016  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0);
238017  _v = SWIG_CheckState(res);
238018  if (_v) {
238019  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
238020  _v = SWIG_CheckState(res);
238021  if (_v) {
238022  return _wrap_PropertyControlStimulus_TargetID__SWIG_1(self, args);
238023  }
238024  }
238025  }
238026 
238027 fail:
238028  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PropertyControlStimulus_TargetID'.\n"
238029  " Possible C/C++ prototypes are:\n"
238030  " AnimatSim::ExternalStimuli::PropertyControlStimulus::TargetID()\n"
238031  " AnimatSim::ExternalStimuli::PropertyControlStimulus::TargetID(std::string)\n");
238032  return 0;
238033 }
238034 
238035 
238036 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_TargetObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238037  PyObject *resultobj = 0;
238039  void *argp1 = 0 ;
238040  int res1 = 0 ;
238041  PyObject * obj0 = 0 ;
238042  AnimatSim::AnimatBase *result = 0 ;
238043 
238044  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlStimulus_TargetObject",&obj0)) SWIG_fail;
238045  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238046  if (!SWIG_IsOK(res1)) {
238047  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_TargetObject" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238048  }
238049  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238050  {
238051  try {
238052  result = (AnimatSim::AnimatBase *)(arg1)->TargetObject();
238053  }
238054  catch(CStdErrorInfo oError)
238055  {
238056  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238057  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238058  PyErr_SetString(PyExc_IndexError, strError.c_str());
238059  SWIG_fail;
238060  }
238061  catch(...)
238062  {
238063  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238064  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238065  SWIG_fail;
238066  }
238067  }
238068  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
238069  return resultobj;
238070 fail:
238071  return NULL;
238072 }
238073 
238074 
238075 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_PropertyName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238076  PyObject *resultobj = 0;
238078  std::string arg2 ;
238079  void *argp1 = 0 ;
238080  int res1 = 0 ;
238081  PyObject * obj0 = 0 ;
238082  PyObject * obj1 = 0 ;
238083 
238084  if (!PyArg_ParseTuple(args,(char *)"OO:PropertyControlStimulus_PropertyName",&obj0,&obj1)) SWIG_fail;
238085  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238086  if (!SWIG_IsOK(res1)) {
238087  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_PropertyName" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238088  }
238089  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238090  {
238091  std::string *ptr = (std::string *)0;
238092  int res = SWIG_AsPtr_std_string(obj1, &ptr);
238093  if (!SWIG_IsOK(res) || !ptr) {
238094  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "PropertyControlStimulus_PropertyName" "', argument " "2"" of type '" "std::string""'");
238095  }
238096  arg2 = *ptr;
238097  if (SWIG_IsNewObj(res)) delete ptr;
238098  }
238099  {
238100  try {
238101  (arg1)->PropertyName(arg2);
238102  }
238103  catch(CStdErrorInfo oError)
238104  {
238105  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238106  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238107  PyErr_SetString(PyExc_IndexError, strError.c_str());
238108  SWIG_fail;
238109  }
238110  catch(...)
238111  {
238112  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238113  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238114  SWIG_fail;
238115  }
238116  }
238117  resultobj = SWIG_Py_Void();
238118  return resultobj;
238119 fail:
238120  return NULL;
238121 }
238122 
238123 
238124 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_PropertyName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238125  PyObject *resultobj = 0;
238127  void *argp1 = 0 ;
238128  int res1 = 0 ;
238129  PyObject * obj0 = 0 ;
238130  std::string result;
238131 
238132  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlStimulus_PropertyName",&obj0)) SWIG_fail;
238133  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238134  if (!SWIG_IsOK(res1)) {
238135  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_PropertyName" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238136  }
238137  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238138  {
238139  try {
238140  result = (arg1)->PropertyName();
238141  }
238142  catch(CStdErrorInfo oError)
238143  {
238144  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238145  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238146  PyErr_SetString(PyExc_IndexError, strError.c_str());
238147  SWIG_fail;
238148  }
238149  catch(...)
238150  {
238151  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238152  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238153  SWIG_fail;
238154  }
238155  }
238156  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
238157  return resultobj;
238158 fail:
238159  return NULL;
238160 }
238161 
238162 
238163 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_PropertyName(PyObject *self, PyObject *args) {
238164  int argc;
238165  PyObject *argv[3];
238166  int ii;
238167 
238168  if (!PyTuple_Check(args)) SWIG_fail;
238169  argc = args ? (int)PyObject_Length(args) : 0;
238170  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
238171  argv[ii] = PyTuple_GET_ITEM(args,ii);
238172  }
238173  if (argc == 1) {
238174  int _v;
238175  void *vptr = 0;
238176  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0);
238177  _v = SWIG_CheckState(res);
238178  if (_v) {
238179  return _wrap_PropertyControlStimulus_PropertyName__SWIG_1(self, args);
238180  }
238181  }
238182  if (argc == 2) {
238183  int _v;
238184  void *vptr = 0;
238185  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0);
238186  _v = SWIG_CheckState(res);
238187  if (_v) {
238188  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
238189  _v = SWIG_CheckState(res);
238190  if (_v) {
238191  return _wrap_PropertyControlStimulus_PropertyName__SWIG_0(self, args);
238192  }
238193  }
238194  }
238195 
238196 fail:
238197  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PropertyControlStimulus_PropertyName'.\n"
238198  " Possible C/C++ prototypes are:\n"
238199  " AnimatSim::ExternalStimuli::PropertyControlStimulus::PropertyName(std::string)\n"
238200  " AnimatSim::ExternalStimuli::PropertyControlStimulus::PropertyName()\n");
238201  return 0;
238202 }
238203 
238204 
238205 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_SetThreshold__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238206  PyObject *resultobj = 0;
238208  float arg2 ;
238209  void *argp1 = 0 ;
238210  int res1 = 0 ;
238211  float val2 ;
238212  int ecode2 = 0 ;
238213  PyObject * obj0 = 0 ;
238214  PyObject * obj1 = 0 ;
238215 
238216  if (!PyArg_ParseTuple(args,(char *)"OO:PropertyControlStimulus_SetThreshold",&obj0,&obj1)) SWIG_fail;
238217  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238218  if (!SWIG_IsOK(res1)) {
238219  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_SetThreshold" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238220  }
238221  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238222  ecode2 = SWIG_AsVal_float(obj1, &val2);
238223  if (!SWIG_IsOK(ecode2)) {
238224  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PropertyControlStimulus_SetThreshold" "', argument " "2"" of type '" "float""'");
238225  }
238226  arg2 = static_cast< float >(val2);
238227  {
238228  try {
238229  (arg1)->SetThreshold(arg2);
238230  }
238231  catch(CStdErrorInfo oError)
238232  {
238233  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238234  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238235  PyErr_SetString(PyExc_IndexError, strError.c_str());
238236  SWIG_fail;
238237  }
238238  catch(...)
238239  {
238240  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238241  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238242  SWIG_fail;
238243  }
238244  }
238245  resultobj = SWIG_Py_Void();
238246  return resultobj;
238247 fail:
238248  return NULL;
238249 }
238250 
238251 
238252 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_SetThreshold__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238253  PyObject *resultobj = 0;
238255  void *argp1 = 0 ;
238256  int res1 = 0 ;
238257  PyObject * obj0 = 0 ;
238258  float result;
238259 
238260  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlStimulus_SetThreshold",&obj0)) SWIG_fail;
238261  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238262  if (!SWIG_IsOK(res1)) {
238263  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_SetThreshold" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238264  }
238265  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238266  {
238267  try {
238268  result = (float)(arg1)->SetThreshold();
238269  }
238270  catch(CStdErrorInfo oError)
238271  {
238272  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238273  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238274  PyErr_SetString(PyExc_IndexError, strError.c_str());
238275  SWIG_fail;
238276  }
238277  catch(...)
238278  {
238279  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238280  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238281  SWIG_fail;
238282  }
238283  }
238284  resultobj = SWIG_From_float(static_cast< float >(result));
238285  return resultobj;
238286 fail:
238287  return NULL;
238288 }
238289 
238290 
238291 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_SetThreshold(PyObject *self, PyObject *args) {
238292  int argc;
238293  PyObject *argv[3];
238294  int ii;
238295 
238296  if (!PyTuple_Check(args)) SWIG_fail;
238297  argc = args ? (int)PyObject_Length(args) : 0;
238298  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
238299  argv[ii] = PyTuple_GET_ITEM(args,ii);
238300  }
238301  if (argc == 1) {
238302  int _v;
238303  void *vptr = 0;
238304  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0);
238305  _v = SWIG_CheckState(res);
238306  if (_v) {
238307  return _wrap_PropertyControlStimulus_SetThreshold__SWIG_1(self, args);
238308  }
238309  }
238310  if (argc == 2) {
238311  int _v;
238312  void *vptr = 0;
238313  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0);
238314  _v = SWIG_CheckState(res);
238315  if (_v) {
238316  {
238317  int res = SWIG_AsVal_float(argv[1], NULL);
238318  _v = SWIG_CheckState(res);
238319  }
238320  if (_v) {
238321  return _wrap_PropertyControlStimulus_SetThreshold__SWIG_0(self, args);
238322  }
238323  }
238324  }
238325 
238326 fail:
238327  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PropertyControlStimulus_SetThreshold'.\n"
238328  " Possible C/C++ prototypes are:\n"
238329  " AnimatSim::ExternalStimuli::PropertyControlStimulus::SetThreshold(float)\n"
238330  " AnimatSim::ExternalStimuli::PropertyControlStimulus::SetThreshold()\n");
238331  return 0;
238332 }
238333 
238334 
238335 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_InitialValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238336  PyObject *resultobj = 0;
238338  float arg2 ;
238339  void *argp1 = 0 ;
238340  int res1 = 0 ;
238341  float val2 ;
238342  int ecode2 = 0 ;
238343  PyObject * obj0 = 0 ;
238344  PyObject * obj1 = 0 ;
238345 
238346  if (!PyArg_ParseTuple(args,(char *)"OO:PropertyControlStimulus_InitialValue",&obj0,&obj1)) SWIG_fail;
238347  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238348  if (!SWIG_IsOK(res1)) {
238349  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_InitialValue" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238350  }
238351  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238352  ecode2 = SWIG_AsVal_float(obj1, &val2);
238353  if (!SWIG_IsOK(ecode2)) {
238354  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PropertyControlStimulus_InitialValue" "', argument " "2"" of type '" "float""'");
238355  }
238356  arg2 = static_cast< float >(val2);
238357  {
238358  try {
238359  (arg1)->InitialValue(arg2);
238360  }
238361  catch(CStdErrorInfo oError)
238362  {
238363  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238364  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238365  PyErr_SetString(PyExc_IndexError, strError.c_str());
238366  SWIG_fail;
238367  }
238368  catch(...)
238369  {
238370  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238371  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238372  SWIG_fail;
238373  }
238374  }
238375  resultobj = SWIG_Py_Void();
238376  return resultobj;
238377 fail:
238378  return NULL;
238379 }
238380 
238381 
238382 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_InitialValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238383  PyObject *resultobj = 0;
238385  void *argp1 = 0 ;
238386  int res1 = 0 ;
238387  PyObject * obj0 = 0 ;
238388  float result;
238389 
238390  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlStimulus_InitialValue",&obj0)) SWIG_fail;
238391  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238392  if (!SWIG_IsOK(res1)) {
238393  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_InitialValue" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238394  }
238395  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238396  {
238397  try {
238398  result = (float)(arg1)->InitialValue();
238399  }
238400  catch(CStdErrorInfo oError)
238401  {
238402  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238403  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238404  PyErr_SetString(PyExc_IndexError, strError.c_str());
238405  SWIG_fail;
238406  }
238407  catch(...)
238408  {
238409  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238410  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238411  SWIG_fail;
238412  }
238413  }
238414  resultobj = SWIG_From_float(static_cast< float >(result));
238415  return resultobj;
238416 fail:
238417  return NULL;
238418 }
238419 
238420 
238421 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_InitialValue(PyObject *self, PyObject *args) {
238422  int argc;
238423  PyObject *argv[3];
238424  int ii;
238425 
238426  if (!PyTuple_Check(args)) SWIG_fail;
238427  argc = args ? (int)PyObject_Length(args) : 0;
238428  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
238429  argv[ii] = PyTuple_GET_ITEM(args,ii);
238430  }
238431  if (argc == 1) {
238432  int _v;
238433  void *vptr = 0;
238434  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0);
238435  _v = SWIG_CheckState(res);
238436  if (_v) {
238437  return _wrap_PropertyControlStimulus_InitialValue__SWIG_1(self, args);
238438  }
238439  }
238440  if (argc == 2) {
238441  int _v;
238442  void *vptr = 0;
238443  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0);
238444  _v = SWIG_CheckState(res);
238445  if (_v) {
238446  {
238447  int res = SWIG_AsVal_float(argv[1], NULL);
238448  _v = SWIG_CheckState(res);
238449  }
238450  if (_v) {
238451  return _wrap_PropertyControlStimulus_InitialValue__SWIG_0(self, args);
238452  }
238453  }
238454  }
238455 
238456 fail:
238457  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PropertyControlStimulus_InitialValue'.\n"
238458  " Possible C/C++ prototypes are:\n"
238459  " AnimatSim::ExternalStimuli::PropertyControlStimulus::InitialValue(float)\n"
238460  " AnimatSim::ExternalStimuli::PropertyControlStimulus::InitialValue()\n");
238461  return 0;
238462 }
238463 
238464 
238465 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_FinalValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238466  PyObject *resultobj = 0;
238468  float arg2 ;
238469  void *argp1 = 0 ;
238470  int res1 = 0 ;
238471  float val2 ;
238472  int ecode2 = 0 ;
238473  PyObject * obj0 = 0 ;
238474  PyObject * obj1 = 0 ;
238475 
238476  if (!PyArg_ParseTuple(args,(char *)"OO:PropertyControlStimulus_FinalValue",&obj0,&obj1)) SWIG_fail;
238477  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238478  if (!SWIG_IsOK(res1)) {
238479  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_FinalValue" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238480  }
238481  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238482  ecode2 = SWIG_AsVal_float(obj1, &val2);
238483  if (!SWIG_IsOK(ecode2)) {
238484  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PropertyControlStimulus_FinalValue" "', argument " "2"" of type '" "float""'");
238485  }
238486  arg2 = static_cast< float >(val2);
238487  {
238488  try {
238489  (arg1)->FinalValue(arg2);
238490  }
238491  catch(CStdErrorInfo oError)
238492  {
238493  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238494  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238495  PyErr_SetString(PyExc_IndexError, strError.c_str());
238496  SWIG_fail;
238497  }
238498  catch(...)
238499  {
238500  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238501  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238502  SWIG_fail;
238503  }
238504  }
238505  resultobj = SWIG_Py_Void();
238506  return resultobj;
238507 fail:
238508  return NULL;
238509 }
238510 
238511 
238512 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_FinalValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238513  PyObject *resultobj = 0;
238515  void *argp1 = 0 ;
238516  int res1 = 0 ;
238517  PyObject * obj0 = 0 ;
238518  float result;
238519 
238520  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlStimulus_FinalValue",&obj0)) SWIG_fail;
238521  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238522  if (!SWIG_IsOK(res1)) {
238523  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_FinalValue" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238524  }
238525  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238526  {
238527  try {
238528  result = (float)(arg1)->FinalValue();
238529  }
238530  catch(CStdErrorInfo oError)
238531  {
238532  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238533  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238534  PyErr_SetString(PyExc_IndexError, strError.c_str());
238535  SWIG_fail;
238536  }
238537  catch(...)
238538  {
238539  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238540  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238541  SWIG_fail;
238542  }
238543  }
238544  resultobj = SWIG_From_float(static_cast< float >(result));
238545  return resultobj;
238546 fail:
238547  return NULL;
238548 }
238549 
238550 
238551 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_FinalValue(PyObject *self, PyObject *args) {
238552  int argc;
238553  PyObject *argv[3];
238554  int ii;
238555 
238556  if (!PyTuple_Check(args)) SWIG_fail;
238557  argc = args ? (int)PyObject_Length(args) : 0;
238558  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
238559  argv[ii] = PyTuple_GET_ITEM(args,ii);
238560  }
238561  if (argc == 1) {
238562  int _v;
238563  void *vptr = 0;
238564  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0);
238565  _v = SWIG_CheckState(res);
238566  if (_v) {
238567  return _wrap_PropertyControlStimulus_FinalValue__SWIG_1(self, args);
238568  }
238569  }
238570  if (argc == 2) {
238571  int _v;
238572  void *vptr = 0;
238573  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0);
238574  _v = SWIG_CheckState(res);
238575  if (_v) {
238576  {
238577  int res = SWIG_AsVal_float(argv[1], NULL);
238578  _v = SWIG_CheckState(res);
238579  }
238580  if (_v) {
238581  return _wrap_PropertyControlStimulus_FinalValue__SWIG_0(self, args);
238582  }
238583  }
238584  }
238585 
238586 fail:
238587  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PropertyControlStimulus_FinalValue'.\n"
238588  " Possible C/C++ prototypes are:\n"
238589  " AnimatSim::ExternalStimuli::PropertyControlStimulus::FinalValue(float)\n"
238590  " AnimatSim::ExternalStimuli::PropertyControlStimulus::FinalValue()\n");
238591  return 0;
238592 }
238593 
238594 
238595 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_Equation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238596  PyObject *resultobj = 0;
238598  void *argp1 = 0 ;
238599  int res1 = 0 ;
238600  PyObject * obj0 = 0 ;
238601  std::string result;
238602 
238603  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlStimulus_Equation",&obj0)) SWIG_fail;
238604  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238605  if (!SWIG_IsOK(res1)) {
238606  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_Equation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238607  }
238608  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238609  {
238610  try {
238611  result = (arg1)->Equation();
238612  }
238613  catch(CStdErrorInfo oError)
238614  {
238615  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238616  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238617  PyErr_SetString(PyExc_IndexError, strError.c_str());
238618  SWIG_fail;
238619  }
238620  catch(...)
238621  {
238622  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238623  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238624  SWIG_fail;
238625  }
238626  }
238627  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
238628  return resultobj;
238629 fail:
238630  return NULL;
238631 }
238632 
238633 
238634 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_Equation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238635  PyObject *resultobj = 0;
238637  std::string arg2 ;
238638  void *argp1 = 0 ;
238639  int res1 = 0 ;
238640  PyObject * obj0 = 0 ;
238641  PyObject * obj1 = 0 ;
238642 
238643  if (!PyArg_ParseTuple(args,(char *)"OO:PropertyControlStimulus_Equation",&obj0,&obj1)) SWIG_fail;
238644  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238645  if (!SWIG_IsOK(res1)) {
238646  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_Equation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238647  }
238648  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238649  {
238650  std::string *ptr = (std::string *)0;
238651  int res = SWIG_AsPtr_std_string(obj1, &ptr);
238652  if (!SWIG_IsOK(res) || !ptr) {
238653  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "PropertyControlStimulus_Equation" "', argument " "2"" of type '" "std::string""'");
238654  }
238655  arg2 = *ptr;
238656  if (SWIG_IsNewObj(res)) delete ptr;
238657  }
238658  {
238659  try {
238660  (arg1)->Equation(arg2);
238661  }
238662  catch(CStdErrorInfo oError)
238663  {
238664  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238665  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238666  PyErr_SetString(PyExc_IndexError, strError.c_str());
238667  SWIG_fail;
238668  }
238669  catch(...)
238670  {
238671  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238672  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238673  SWIG_fail;
238674  }
238675  }
238676  resultobj = SWIG_Py_Void();
238677  return resultobj;
238678 fail:
238679  return NULL;
238680 }
238681 
238682 
238683 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_Equation(PyObject *self, PyObject *args) {
238684  int argc;
238685  PyObject *argv[3];
238686  int ii;
238687 
238688  if (!PyTuple_Check(args)) SWIG_fail;
238689  argc = args ? (int)PyObject_Length(args) : 0;
238690  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
238691  argv[ii] = PyTuple_GET_ITEM(args,ii);
238692  }
238693  if (argc == 1) {
238694  int _v;
238695  void *vptr = 0;
238696  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0);
238697  _v = SWIG_CheckState(res);
238698  if (_v) {
238699  return _wrap_PropertyControlStimulus_Equation__SWIG_0(self, args);
238700  }
238701  }
238702  if (argc == 2) {
238703  int _v;
238704  void *vptr = 0;
238705  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0);
238706  _v = SWIG_CheckState(res);
238707  if (_v) {
238708  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
238709  _v = SWIG_CheckState(res);
238710  if (_v) {
238711  return _wrap_PropertyControlStimulus_Equation__SWIG_1(self, args);
238712  }
238713  }
238714  }
238715 
238716 fail:
238717  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PropertyControlStimulus_Equation'.\n"
238718  " Possible C/C++ prototypes are:\n"
238719  " AnimatSim::ExternalStimuli::PropertyControlStimulus::Equation()\n"
238720  " AnimatSim::ExternalStimuli::PropertyControlStimulus::Equation(std::string)\n");
238721  return 0;
238722 }
238723 
238724 
238725 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238726  PyObject *resultobj = 0;
238728  void *argp1 = 0 ;
238729  int res1 = 0 ;
238730  PyObject * obj0 = 0 ;
238731 
238732  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlStimulus_Initialize",&obj0)) SWIG_fail;
238733  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238734  if (!SWIG_IsOK(res1)) {
238735  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_Initialize" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238736  }
238737  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238738  {
238739  try {
238740  (arg1)->Initialize();
238741  }
238742  catch(CStdErrorInfo oError)
238743  {
238744  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238745  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238746  PyErr_SetString(PyExc_IndexError, strError.c_str());
238747  SWIG_fail;
238748  }
238749  catch(...)
238750  {
238751  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238752  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238753  SWIG_fail;
238754  }
238755  }
238756  resultobj = SWIG_Py_Void();
238757  return resultobj;
238758 fail:
238759  return NULL;
238760 }
238761 
238762 
238763 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238764  PyObject *resultobj = 0;
238766  void *argp1 = 0 ;
238767  int res1 = 0 ;
238768  PyObject * obj0 = 0 ;
238769 
238770  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlStimulus_Activate",&obj0)) SWIG_fail;
238771  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238772  if (!SWIG_IsOK(res1)) {
238773  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_Activate" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238774  }
238775  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238776  {
238777  try {
238778  (arg1)->Activate();
238779  }
238780  catch(CStdErrorInfo oError)
238781  {
238782  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238783  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238784  PyErr_SetString(PyExc_IndexError, strError.c_str());
238785  SWIG_fail;
238786  }
238787  catch(...)
238788  {
238789  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238790  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238791  SWIG_fail;
238792  }
238793  }
238794  resultobj = SWIG_Py_Void();
238795  return resultobj;
238796 fail:
238797  return NULL;
238798 }
238799 
238800 
238801 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238802  PyObject *resultobj = 0;
238804  void *argp1 = 0 ;
238805  int res1 = 0 ;
238806  PyObject * obj0 = 0 ;
238807 
238808  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlStimulus_StepSimulation",&obj0)) SWIG_fail;
238809  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238810  if (!SWIG_IsOK(res1)) {
238811  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_StepSimulation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238812  }
238813  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238814  {
238815  try {
238816  (arg1)->StepSimulation();
238817  }
238818  catch(CStdErrorInfo oError)
238819  {
238820  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238821  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238822  PyErr_SetString(PyExc_IndexError, strError.c_str());
238823  SWIG_fail;
238824  }
238825  catch(...)
238826  {
238827  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238828  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238829  SWIG_fail;
238830  }
238831  }
238832  resultobj = SWIG_Py_Void();
238833  return resultobj;
238834 fail:
238835  return NULL;
238836 }
238837 
238838 
238839 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_Deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238840  PyObject *resultobj = 0;
238842  void *argp1 = 0 ;
238843  int res1 = 0 ;
238844  PyObject * obj0 = 0 ;
238845 
238846  if (!PyArg_ParseTuple(args,(char *)"O:PropertyControlStimulus_Deactivate",&obj0)) SWIG_fail;
238847  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238848  if (!SWIG_IsOK(res1)) {
238849  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_Deactivate" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238850  }
238851  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238852  {
238853  try {
238854  (arg1)->Deactivate();
238855  }
238856  catch(CStdErrorInfo oError)
238857  {
238858  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238859  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238860  PyErr_SetString(PyExc_IndexError, strError.c_str());
238861  SWIG_fail;
238862  }
238863  catch(...)
238864  {
238865  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238866  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238867  SWIG_fail;
238868  }
238869  }
238870  resultobj = SWIG_Py_Void();
238871  return resultobj;
238872 fail:
238873  return NULL;
238874 }
238875 
238876 
238877 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238878  PyObject *resultobj = 0;
238880  std::string *arg2 = 0 ;
238881  std::string *arg3 = 0 ;
238882  bool arg4 ;
238883  void *argp1 = 0 ;
238884  int res1 = 0 ;
238885  int res2 = SWIG_OLDOBJ ;
238886  int res3 = SWIG_OLDOBJ ;
238887  bool val4 ;
238888  int ecode4 = 0 ;
238889  PyObject * obj0 = 0 ;
238890  PyObject * obj1 = 0 ;
238891  PyObject * obj2 = 0 ;
238892  PyObject * obj3 = 0 ;
238893  bool result;
238894 
238895  if (!PyArg_ParseTuple(args,(char *)"OOOO:PropertyControlStimulus_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
238896  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238897  if (!SWIG_IsOK(res1)) {
238898  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238899  }
238900  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238901  {
238902  std::string *ptr = (std::string *)0;
238903  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
238904  if (!SWIG_IsOK(res2)) {
238905  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PropertyControlStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
238906  }
238907  if (!ptr) {
238908  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PropertyControlStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
238909  }
238910  arg2 = ptr;
238911  }
238912  {
238913  std::string *ptr = (std::string *)0;
238914  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
238915  if (!SWIG_IsOK(res3)) {
238916  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PropertyControlStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
238917  }
238918  if (!ptr) {
238919  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PropertyControlStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
238920  }
238921  arg3 = ptr;
238922  }
238923  ecode4 = SWIG_AsVal_bool(obj3, &val4);
238924  if (!SWIG_IsOK(ecode4)) {
238925  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PropertyControlStimulus_SetData" "', argument " "4"" of type '" "bool""'");
238926  }
238927  arg4 = static_cast< bool >(val4);
238928  {
238929  try {
238930  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
238931  }
238932  catch(CStdErrorInfo oError)
238933  {
238934  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238935  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
238936  PyErr_SetString(PyExc_IndexError, strError.c_str());
238937  SWIG_fail;
238938  }
238939  catch(...)
238940  {
238941  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
238942  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
238943  SWIG_fail;
238944  }
238945  }
238946  resultobj = SWIG_From_bool(static_cast< bool >(result));
238947  if (SWIG_IsNewObj(res2)) delete arg2;
238948  if (SWIG_IsNewObj(res3)) delete arg3;
238949  return resultobj;
238950 fail:
238951  if (SWIG_IsNewObj(res2)) delete arg2;
238952  if (SWIG_IsNewObj(res3)) delete arg3;
238953  return NULL;
238954 }
238955 
238956 
238957 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
238958  PyObject *resultobj = 0;
238960  std::string *arg2 = 0 ;
238961  std::string *arg3 = 0 ;
238962  void *argp1 = 0 ;
238963  int res1 = 0 ;
238964  int res2 = SWIG_OLDOBJ ;
238965  int res3 = SWIG_OLDOBJ ;
238966  PyObject * obj0 = 0 ;
238967  PyObject * obj1 = 0 ;
238968  PyObject * obj2 = 0 ;
238969  bool result;
238970 
238971  if (!PyArg_ParseTuple(args,(char *)"OOO:PropertyControlStimulus_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
238972  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
238973  if (!SWIG_IsOK(res1)) {
238974  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
238975  }
238976  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
238977  {
238978  std::string *ptr = (std::string *)0;
238979  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
238980  if (!SWIG_IsOK(res2)) {
238981  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PropertyControlStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
238982  }
238983  if (!ptr) {
238984  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PropertyControlStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
238985  }
238986  arg2 = ptr;
238987  }
238988  {
238989  std::string *ptr = (std::string *)0;
238990  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
238991  if (!SWIG_IsOK(res3)) {
238992  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PropertyControlStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
238993  }
238994  if (!ptr) {
238995  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PropertyControlStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
238996  }
238997  arg3 = ptr;
238998  }
238999  {
239000  try {
239001  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
239002  }
239003  catch(CStdErrorInfo oError)
239004  {
239005  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239006  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239007  PyErr_SetString(PyExc_IndexError, strError.c_str());
239008  SWIG_fail;
239009  }
239010  catch(...)
239011  {
239012  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239013  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239014  SWIG_fail;
239015  }
239016  }
239017  resultobj = SWIG_From_bool(static_cast< bool >(result));
239018  if (SWIG_IsNewObj(res2)) delete arg2;
239019  if (SWIG_IsNewObj(res3)) delete arg3;
239020  return resultobj;
239021 fail:
239022  if (SWIG_IsNewObj(res2)) delete arg2;
239023  if (SWIG_IsNewObj(res3)) delete arg3;
239024  return NULL;
239025 }
239026 
239027 
239028 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_SetData(PyObject *self, PyObject *args) {
239029  int argc;
239030  PyObject *argv[5];
239031  int ii;
239032 
239033  if (!PyTuple_Check(args)) SWIG_fail;
239034  argc = args ? (int)PyObject_Length(args) : 0;
239035  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
239036  argv[ii] = PyTuple_GET_ITEM(args,ii);
239037  }
239038  if (argc == 3) {
239039  int _v;
239040  void *vptr = 0;
239041  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0);
239042  _v = SWIG_CheckState(res);
239043  if (_v) {
239044  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
239045  _v = SWIG_CheckState(res);
239046  if (_v) {
239047  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
239048  _v = SWIG_CheckState(res);
239049  if (_v) {
239050  return _wrap_PropertyControlStimulus_SetData__SWIG_1(self, args);
239051  }
239052  }
239053  }
239054  }
239055  if (argc == 4) {
239056  int _v;
239057  void *vptr = 0;
239058  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0);
239059  _v = SWIG_CheckState(res);
239060  if (_v) {
239061  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
239062  _v = SWIG_CheckState(res);
239063  if (_v) {
239064  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
239065  _v = SWIG_CheckState(res);
239066  if (_v) {
239067  {
239068  int res = SWIG_AsVal_bool(argv[3], NULL);
239069  _v = SWIG_CheckState(res);
239070  }
239071  if (_v) {
239072  return _wrap_PropertyControlStimulus_SetData__SWIG_0(self, args);
239073  }
239074  }
239075  }
239076  }
239077  }
239078 
239079 fail:
239080  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PropertyControlStimulus_SetData'.\n"
239081  " Possible C/C++ prototypes are:\n"
239082  " AnimatSim::ExternalStimuli::PropertyControlStimulus::SetData(std::string const &,std::string const &,bool)\n"
239083  " AnimatSim::ExternalStimuli::PropertyControlStimulus::SetData(std::string const &,std::string const &)\n");
239084  return 0;
239085 }
239086 
239087 
239088 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239089  PyObject *resultobj = 0;
239091  CStdPtrArray< TypeProperty > *arg2 = 0 ;
239092  void *argp1 = 0 ;
239093  int res1 = 0 ;
239094  void *argp2 = 0 ;
239095  int res2 = 0 ;
239096  PyObject * obj0 = 0 ;
239097  PyObject * obj1 = 0 ;
239098 
239099  if (!PyArg_ParseTuple(args,(char *)"OO:PropertyControlStimulus_QueryProperties",&obj0,&obj1)) SWIG_fail;
239100  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
239101  if (!SWIG_IsOK(res1)) {
239102  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_QueryProperties" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
239103  }
239104  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
239105  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
239106  if (!SWIG_IsOK(res2)) {
239107  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PropertyControlStimulus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
239108  }
239109  if (!argp2) {
239110  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PropertyControlStimulus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
239111  }
239112  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
239113  {
239114  try {
239115  (arg1)->QueryProperties(*arg2);
239116  }
239117  catch(CStdErrorInfo oError)
239118  {
239119  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239120  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239121  PyErr_SetString(PyExc_IndexError, strError.c_str());
239122  SWIG_fail;
239123  }
239124  catch(...)
239125  {
239126  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239127  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239128  SWIG_fail;
239129  }
239130  }
239131  resultobj = SWIG_Py_Void();
239132  return resultobj;
239133 fail:
239134  return NULL;
239135 }
239136 
239137 
239138 SWIGINTERN PyObject *_wrap_PropertyControlStimulus_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239139  PyObject *resultobj = 0;
239141  CStdXml *arg2 = 0 ;
239142  void *argp1 = 0 ;
239143  int res1 = 0 ;
239144  void *argp2 = 0 ;
239145  int res2 = 0 ;
239146  PyObject * obj0 = 0 ;
239147  PyObject * obj1 = 0 ;
239148 
239149  if (!PyArg_ParseTuple(args,(char *)"OO:PropertyControlStimulus_Load",&obj0,&obj1)) SWIG_fail;
239150  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0 | 0 );
239151  if (!SWIG_IsOK(res1)) {
239152  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PropertyControlStimulus_Load" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::PropertyControlStimulus *""'");
239153  }
239154  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::PropertyControlStimulus * >(argp1);
239155  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
239156  if (!SWIG_IsOK(res2)) {
239157  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PropertyControlStimulus_Load" "', argument " "2"" of type '" "CStdXml &""'");
239158  }
239159  if (!argp2) {
239160  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PropertyControlStimulus_Load" "', argument " "2"" of type '" "CStdXml &""'");
239161  }
239162  arg2 = reinterpret_cast< CStdXml * >(argp2);
239163  {
239164  try {
239165  (arg1)->Load(*arg2);
239166  }
239167  catch(CStdErrorInfo oError)
239168  {
239169  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239170  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239171  PyErr_SetString(PyExc_IndexError, strError.c_str());
239172  SWIG_fail;
239173  }
239174  catch(...)
239175  {
239176  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239177  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239178  SWIG_fail;
239179  }
239180  }
239181  resultobj = SWIG_Py_Void();
239182  return resultobj;
239183 fail:
239184  return NULL;
239185 }
239186 
239187 
239188 SWIGINTERN PyObject *PropertyControlStimulus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239189  PyObject *obj;
239190  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
239191  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus, SWIG_NewClientData(obj));
239192  return SWIG_Py_Void();
239193 }
239194 
239195 SWIGINTERN PyObject *_wrap_new_MotorStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239196  PyObject *resultobj = 0;
239198 
239199  if (!PyArg_ParseTuple(args,(char *)":new_MotorStimulus")) SWIG_fail;
239200  {
239201  try {
239203  }
239204  catch(CStdErrorInfo oError)
239205  {
239206  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239207  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239208  PyErr_SetString(PyExc_IndexError, strError.c_str());
239209  SWIG_fail;
239210  }
239211  catch(...)
239212  {
239213  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239214  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239215  SWIG_fail;
239216  }
239217  }
239218  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, SWIG_POINTER_NEW | 0 );
239219  return resultobj;
239220 fail:
239221  return NULL;
239222 }
239223 
239224 
239225 SWIGINTERN PyObject *_wrap_delete_MotorStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239226  PyObject *resultobj = 0;
239228  void *argp1 = 0 ;
239229  int res1 = 0 ;
239230  PyObject * obj0 = 0 ;
239231 
239232  if (!PyArg_ParseTuple(args,(char *)"O:delete_MotorStimulus",&obj0)) SWIG_fail;
239233  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, SWIG_POINTER_DISOWN | 0 );
239234  if (!SWIG_IsOK(res1)) {
239235  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MotorStimulus" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
239236  }
239237  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
239238  {
239239  try {
239240  delete arg1;
239241  }
239242  catch(CStdErrorInfo oError)
239243  {
239244  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239245  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239246  PyErr_SetString(PyExc_IndexError, strError.c_str());
239247  SWIG_fail;
239248  }
239249  catch(...)
239250  {
239251  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239252  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239253  SWIG_fail;
239254  }
239255  }
239256  resultobj = SWIG_Py_Void();
239257  return resultobj;
239258 fail:
239259  return NULL;
239260 }
239261 
239262 
239263 SWIGINTERN PyObject *_wrap_MotorStimulus_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239264  PyObject *resultobj = 0;
239266  void *argp1 = 0 ;
239267  int res1 = 0 ;
239268  PyObject * obj0 = 0 ;
239270 
239271  if (!PyArg_ParseTuple(args,(char *)"O:MotorStimulus_CastToDerived",&obj0)) SWIG_fail;
239272  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
239273  if (!SWIG_IsOK(res1)) {
239274  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
239275  }
239276  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
239277  {
239278  try {
239279  result = (AnimatSim::ExternalStimuli::MotorStimulus *)AnimatSim::ExternalStimuli::MotorStimulus::CastToDerived(arg1);
239280  }
239281  catch(CStdErrorInfo oError)
239282  {
239283  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239284  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239285  PyErr_SetString(PyExc_IndexError, strError.c_str());
239286  SWIG_fail;
239287  }
239288  catch(...)
239289  {
239290  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239291  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239292  SWIG_fail;
239293  }
239294  }
239295  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
239296  return resultobj;
239297 fail:
239298  return NULL;
239299 }
239300 
239301 
239302 SWIGINTERN PyObject *_wrap_MotorStimulus_StructureID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239303  PyObject *resultobj = 0;
239305  void *argp1 = 0 ;
239306  int res1 = 0 ;
239307  PyObject * obj0 = 0 ;
239308  std::string result;
239309 
239310  if (!PyArg_ParseTuple(args,(char *)"O:MotorStimulus_StructureID",&obj0)) SWIG_fail;
239311  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
239312  if (!SWIG_IsOK(res1)) {
239313  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_StructureID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
239314  }
239315  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
239316  {
239317  try {
239318  result = (arg1)->StructureID();
239319  }
239320  catch(CStdErrorInfo oError)
239321  {
239322  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239323  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239324  PyErr_SetString(PyExc_IndexError, strError.c_str());
239325  SWIG_fail;
239326  }
239327  catch(...)
239328  {
239329  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239330  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239331  SWIG_fail;
239332  }
239333  }
239334  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
239335  return resultobj;
239336 fail:
239337  return NULL;
239338 }
239339 
239340 
239341 SWIGINTERN PyObject *_wrap_MotorStimulus_StructureID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239342  PyObject *resultobj = 0;
239344  std::string arg2 ;
239345  void *argp1 = 0 ;
239346  int res1 = 0 ;
239347  PyObject * obj0 = 0 ;
239348  PyObject * obj1 = 0 ;
239349 
239350  if (!PyArg_ParseTuple(args,(char *)"OO:MotorStimulus_StructureID",&obj0,&obj1)) SWIG_fail;
239351  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
239352  if (!SWIG_IsOK(res1)) {
239353  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_StructureID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
239354  }
239355  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
239356  {
239357  std::string *ptr = (std::string *)0;
239358  int res = SWIG_AsPtr_std_string(obj1, &ptr);
239359  if (!SWIG_IsOK(res) || !ptr) {
239360  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MotorStimulus_StructureID" "', argument " "2"" of type '" "std::string""'");
239361  }
239362  arg2 = *ptr;
239363  if (SWIG_IsNewObj(res)) delete ptr;
239364  }
239365  {
239366  try {
239367  (arg1)->StructureID(arg2);
239368  }
239369  catch(CStdErrorInfo oError)
239370  {
239371  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239372  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239373  PyErr_SetString(PyExc_IndexError, strError.c_str());
239374  SWIG_fail;
239375  }
239376  catch(...)
239377  {
239378  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239379  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239380  SWIG_fail;
239381  }
239382  }
239383  resultobj = SWIG_Py_Void();
239384  return resultobj;
239385 fail:
239386  return NULL;
239387 }
239388 
239389 
239390 SWIGINTERN PyObject *_wrap_MotorStimulus_StructureID(PyObject *self, PyObject *args) {
239391  int argc;
239392  PyObject *argv[3];
239393  int ii;
239394 
239395  if (!PyTuple_Check(args)) SWIG_fail;
239396  argc = args ? (int)PyObject_Length(args) : 0;
239397  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
239398  argv[ii] = PyTuple_GET_ITEM(args,ii);
239399  }
239400  if (argc == 1) {
239401  int _v;
239402  void *vptr = 0;
239403  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0);
239404  _v = SWIG_CheckState(res);
239405  if (_v) {
239406  return _wrap_MotorStimulus_StructureID__SWIG_0(self, args);
239407  }
239408  }
239409  if (argc == 2) {
239410  int _v;
239411  void *vptr = 0;
239412  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0);
239413  _v = SWIG_CheckState(res);
239414  if (_v) {
239415  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
239416  _v = SWIG_CheckState(res);
239417  if (_v) {
239418  return _wrap_MotorStimulus_StructureID__SWIG_1(self, args);
239419  }
239420  }
239421  }
239422 
239423 fail:
239424  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorStimulus_StructureID'.\n"
239425  " Possible C/C++ prototypes are:\n"
239426  " AnimatSim::ExternalStimuli::MotorStimulus::StructureID()\n"
239427  " AnimatSim::ExternalStimuli::MotorStimulus::StructureID(std::string)\n");
239428  return 0;
239429 }
239430 
239431 
239432 SWIGINTERN PyObject *_wrap_MotorStimulus_JointID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239433  PyObject *resultobj = 0;
239435  void *argp1 = 0 ;
239436  int res1 = 0 ;
239437  PyObject * obj0 = 0 ;
239438  std::string result;
239439 
239440  if (!PyArg_ParseTuple(args,(char *)"O:MotorStimulus_JointID",&obj0)) SWIG_fail;
239441  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
239442  if (!SWIG_IsOK(res1)) {
239443  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_JointID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
239444  }
239445  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
239446  {
239447  try {
239448  result = (arg1)->JointID();
239449  }
239450  catch(CStdErrorInfo oError)
239451  {
239452  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239453  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239454  PyErr_SetString(PyExc_IndexError, strError.c_str());
239455  SWIG_fail;
239456  }
239457  catch(...)
239458  {
239459  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239460  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239461  SWIG_fail;
239462  }
239463  }
239464  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
239465  return resultobj;
239466 fail:
239467  return NULL;
239468 }
239469 
239470 
239471 SWIGINTERN PyObject *_wrap_MotorStimulus_JointID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239472  PyObject *resultobj = 0;
239474  std::string arg2 ;
239475  void *argp1 = 0 ;
239476  int res1 = 0 ;
239477  PyObject * obj0 = 0 ;
239478  PyObject * obj1 = 0 ;
239479 
239480  if (!PyArg_ParseTuple(args,(char *)"OO:MotorStimulus_JointID",&obj0,&obj1)) SWIG_fail;
239481  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
239482  if (!SWIG_IsOK(res1)) {
239483  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_JointID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
239484  }
239485  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
239486  {
239487  std::string *ptr = (std::string *)0;
239488  int res = SWIG_AsPtr_std_string(obj1, &ptr);
239489  if (!SWIG_IsOK(res) || !ptr) {
239490  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MotorStimulus_JointID" "', argument " "2"" of type '" "std::string""'");
239491  }
239492  arg2 = *ptr;
239493  if (SWIG_IsNewObj(res)) delete ptr;
239494  }
239495  {
239496  try {
239497  (arg1)->JointID(arg2);
239498  }
239499  catch(CStdErrorInfo oError)
239500  {
239501  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239502  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239503  PyErr_SetString(PyExc_IndexError, strError.c_str());
239504  SWIG_fail;
239505  }
239506  catch(...)
239507  {
239508  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239509  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239510  SWIG_fail;
239511  }
239512  }
239513  resultobj = SWIG_Py_Void();
239514  return resultobj;
239515 fail:
239516  return NULL;
239517 }
239518 
239519 
239520 SWIGINTERN PyObject *_wrap_MotorStimulus_JointID(PyObject *self, PyObject *args) {
239521  int argc;
239522  PyObject *argv[3];
239523  int ii;
239524 
239525  if (!PyTuple_Check(args)) SWIG_fail;
239526  argc = args ? (int)PyObject_Length(args) : 0;
239527  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
239528  argv[ii] = PyTuple_GET_ITEM(args,ii);
239529  }
239530  if (argc == 1) {
239531  int _v;
239532  void *vptr = 0;
239533  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0);
239534  _v = SWIG_CheckState(res);
239535  if (_v) {
239536  return _wrap_MotorStimulus_JointID__SWIG_0(self, args);
239537  }
239538  }
239539  if (argc == 2) {
239540  int _v;
239541  void *vptr = 0;
239542  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0);
239543  _v = SWIG_CheckState(res);
239544  if (_v) {
239545  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
239546  _v = SWIG_CheckState(res);
239547  if (_v) {
239548  return _wrap_MotorStimulus_JointID__SWIG_1(self, args);
239549  }
239550  }
239551  }
239552 
239553 fail:
239554  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorStimulus_JointID'.\n"
239555  " Possible C/C++ prototypes are:\n"
239556  " AnimatSim::ExternalStimuli::MotorStimulus::JointID()\n"
239557  " AnimatSim::ExternalStimuli::MotorStimulus::JointID(std::string)\n");
239558  return 0;
239559 }
239560 
239561 
239562 SWIGINTERN PyObject *_wrap_MotorStimulus_Equation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239563  PyObject *resultobj = 0;
239565  void *argp1 = 0 ;
239566  int res1 = 0 ;
239567  PyObject * obj0 = 0 ;
239568  std::string result;
239569 
239570  if (!PyArg_ParseTuple(args,(char *)"O:MotorStimulus_Equation",&obj0)) SWIG_fail;
239571  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
239572  if (!SWIG_IsOK(res1)) {
239573  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_Equation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
239574  }
239575  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
239576  {
239577  try {
239578  result = (arg1)->Equation();
239579  }
239580  catch(CStdErrorInfo oError)
239581  {
239582  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239583  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239584  PyErr_SetString(PyExc_IndexError, strError.c_str());
239585  SWIG_fail;
239586  }
239587  catch(...)
239588  {
239589  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239590  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239591  SWIG_fail;
239592  }
239593  }
239594  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
239595  return resultobj;
239596 fail:
239597  return NULL;
239598 }
239599 
239600 
239601 SWIGINTERN PyObject *_wrap_MotorStimulus_Equation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239602  PyObject *resultobj = 0;
239604  std::string arg2 ;
239605  void *argp1 = 0 ;
239606  int res1 = 0 ;
239607  PyObject * obj0 = 0 ;
239608  PyObject * obj1 = 0 ;
239609 
239610  if (!PyArg_ParseTuple(args,(char *)"OO:MotorStimulus_Equation",&obj0,&obj1)) SWIG_fail;
239611  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
239612  if (!SWIG_IsOK(res1)) {
239613  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_Equation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
239614  }
239615  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
239616  {
239617  std::string *ptr = (std::string *)0;
239618  int res = SWIG_AsPtr_std_string(obj1, &ptr);
239619  if (!SWIG_IsOK(res) || !ptr) {
239620  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MotorStimulus_Equation" "', argument " "2"" of type '" "std::string""'");
239621  }
239622  arg2 = *ptr;
239623  if (SWIG_IsNewObj(res)) delete ptr;
239624  }
239625  {
239626  try {
239627  (arg1)->Equation(arg2);
239628  }
239629  catch(CStdErrorInfo oError)
239630  {
239631  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239632  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239633  PyErr_SetString(PyExc_IndexError, strError.c_str());
239634  SWIG_fail;
239635  }
239636  catch(...)
239637  {
239638  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239639  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239640  SWIG_fail;
239641  }
239642  }
239643  resultobj = SWIG_Py_Void();
239644  return resultobj;
239645 fail:
239646  return NULL;
239647 }
239648 
239649 
239650 SWIGINTERN PyObject *_wrap_MotorStimulus_Equation(PyObject *self, PyObject *args) {
239651  int argc;
239652  PyObject *argv[3];
239653  int ii;
239654 
239655  if (!PyTuple_Check(args)) SWIG_fail;
239656  argc = args ? (int)PyObject_Length(args) : 0;
239657  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
239658  argv[ii] = PyTuple_GET_ITEM(args,ii);
239659  }
239660  if (argc == 1) {
239661  int _v;
239662  void *vptr = 0;
239663  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0);
239664  _v = SWIG_CheckState(res);
239665  if (_v) {
239666  return _wrap_MotorStimulus_Equation__SWIG_0(self, args);
239667  }
239668  }
239669  if (argc == 2) {
239670  int _v;
239671  void *vptr = 0;
239672  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0);
239673  _v = SWIG_CheckState(res);
239674  if (_v) {
239675  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
239676  _v = SWIG_CheckState(res);
239677  if (_v) {
239678  return _wrap_MotorStimulus_Equation__SWIG_1(self, args);
239679  }
239680  }
239681  }
239682 
239683 fail:
239684  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorStimulus_Equation'.\n"
239685  " Possible C/C++ prototypes are:\n"
239686  " AnimatSim::ExternalStimuli::MotorStimulus::Equation()\n"
239687  " AnimatSim::ExternalStimuli::MotorStimulus::Equation(std::string)\n");
239688  return 0;
239689 }
239690 
239691 
239692 SWIGINTERN PyObject *_wrap_MotorStimulus_TargetID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239693  PyObject *resultobj = 0;
239695  void *argp1 = 0 ;
239696  int res1 = 0 ;
239697  PyObject * obj0 = 0 ;
239698  int result;
239699 
239700  if (!PyArg_ParseTuple(args,(char *)"O:MotorStimulus_TargetID",&obj0)) SWIG_fail;
239701  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
239702  if (!SWIG_IsOK(res1)) {
239703  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_TargetID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
239704  }
239705  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
239706  {
239707  try {
239708  result = (int)(arg1)->TargetID();
239709  }
239710  catch(CStdErrorInfo oError)
239711  {
239712  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239713  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239714  PyErr_SetString(PyExc_IndexError, strError.c_str());
239715  SWIG_fail;
239716  }
239717  catch(...)
239718  {
239719  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239720  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239721  SWIG_fail;
239722  }
239723  }
239724  resultobj = SWIG_From_int(static_cast< int >(result));
239725  return resultobj;
239726 fail:
239727  return NULL;
239728 }
239729 
239730 
239731 SWIGINTERN PyObject *_wrap_MotorStimulus_TargetID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239732  PyObject *resultobj = 0;
239734  int arg2 ;
239735  void *argp1 = 0 ;
239736  int res1 = 0 ;
239737  int val2 ;
239738  int ecode2 = 0 ;
239739  PyObject * obj0 = 0 ;
239740  PyObject * obj1 = 0 ;
239741 
239742  if (!PyArg_ParseTuple(args,(char *)"OO:MotorStimulus_TargetID",&obj0,&obj1)) SWIG_fail;
239743  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
239744  if (!SWIG_IsOK(res1)) {
239745  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_TargetID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
239746  }
239747  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
239748  ecode2 = SWIG_AsVal_int(obj1, &val2);
239749  if (!SWIG_IsOK(ecode2)) {
239750  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorStimulus_TargetID" "', argument " "2"" of type '" "int""'");
239751  }
239752  arg2 = static_cast< int >(val2);
239753  {
239754  try {
239755  (arg1)->TargetID(arg2);
239756  }
239757  catch(CStdErrorInfo oError)
239758  {
239759  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239760  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239761  PyErr_SetString(PyExc_IndexError, strError.c_str());
239762  SWIG_fail;
239763  }
239764  catch(...)
239765  {
239766  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239767  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239768  SWIG_fail;
239769  }
239770  }
239771  resultobj = SWIG_Py_Void();
239772  return resultobj;
239773 fail:
239774  return NULL;
239775 }
239776 
239777 
239778 SWIGINTERN PyObject *_wrap_MotorStimulus_TargetID__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239779  PyObject *resultobj = 0;
239781  std::string arg2 ;
239782  void *argp1 = 0 ;
239783  int res1 = 0 ;
239784  PyObject * obj0 = 0 ;
239785  PyObject * obj1 = 0 ;
239786 
239787  if (!PyArg_ParseTuple(args,(char *)"OO:MotorStimulus_TargetID",&obj0,&obj1)) SWIG_fail;
239788  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
239789  if (!SWIG_IsOK(res1)) {
239790  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_TargetID" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
239791  }
239792  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
239793  {
239794  std::string *ptr = (std::string *)0;
239795  int res = SWIG_AsPtr_std_string(obj1, &ptr);
239796  if (!SWIG_IsOK(res) || !ptr) {
239797  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MotorStimulus_TargetID" "', argument " "2"" of type '" "std::string""'");
239798  }
239799  arg2 = *ptr;
239800  if (SWIG_IsNewObj(res)) delete ptr;
239801  }
239802  {
239803  try {
239804  (arg1)->TargetID(arg2);
239805  }
239806  catch(CStdErrorInfo oError)
239807  {
239808  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239809  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239810  PyErr_SetString(PyExc_IndexError, strError.c_str());
239811  SWIG_fail;
239812  }
239813  catch(...)
239814  {
239815  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239816  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239817  SWIG_fail;
239818  }
239819  }
239820  resultobj = SWIG_Py_Void();
239821  return resultobj;
239822 fail:
239823  return NULL;
239824 }
239825 
239826 
239827 SWIGINTERN PyObject *_wrap_MotorStimulus_TargetID(PyObject *self, PyObject *args) {
239828  int argc;
239829  PyObject *argv[3];
239830  int ii;
239831 
239832  if (!PyTuple_Check(args)) SWIG_fail;
239833  argc = args ? (int)PyObject_Length(args) : 0;
239834  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
239835  argv[ii] = PyTuple_GET_ITEM(args,ii);
239836  }
239837  if (argc == 1) {
239838  int _v;
239839  void *vptr = 0;
239840  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0);
239841  _v = SWIG_CheckState(res);
239842  if (_v) {
239843  return _wrap_MotorStimulus_TargetID__SWIG_0(self, args);
239844  }
239845  }
239846  if (argc == 2) {
239847  int _v;
239848  void *vptr = 0;
239849  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0);
239850  _v = SWIG_CheckState(res);
239851  if (_v) {
239852  {
239853  int res = SWIG_AsVal_int(argv[1], NULL);
239854  _v = SWIG_CheckState(res);
239855  }
239856  if (_v) {
239857  return _wrap_MotorStimulus_TargetID__SWIG_1(self, args);
239858  }
239859  }
239860  }
239861  if (argc == 2) {
239862  int _v;
239863  void *vptr = 0;
239864  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0);
239865  _v = SWIG_CheckState(res);
239866  if (_v) {
239867  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
239868  _v = SWIG_CheckState(res);
239869  if (_v) {
239870  return _wrap_MotorStimulus_TargetID__SWIG_2(self, args);
239871  }
239872  }
239873  }
239874 
239875 fail:
239876  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorStimulus_TargetID'.\n"
239877  " Possible C/C++ prototypes are:\n"
239878  " AnimatSim::ExternalStimuli::MotorStimulus::TargetID()\n"
239879  " AnimatSim::ExternalStimuli::MotorStimulus::TargetID(int)\n"
239880  " AnimatSim::ExternalStimuli::MotorStimulus::TargetID(std::string)\n");
239881  return 0;
239882 }
239883 
239884 
239885 SWIGINTERN PyObject *_wrap_MotorStimulus_DisableMotorWhenDone__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239886  PyObject *resultobj = 0;
239888  void *argp1 = 0 ;
239889  int res1 = 0 ;
239890  PyObject * obj0 = 0 ;
239891  bool result;
239892 
239893  if (!PyArg_ParseTuple(args,(char *)"O:MotorStimulus_DisableMotorWhenDone",&obj0)) SWIG_fail;
239894  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
239895  if (!SWIG_IsOK(res1)) {
239896  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_DisableMotorWhenDone" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
239897  }
239898  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
239899  {
239900  try {
239901  result = (bool)(arg1)->DisableMotorWhenDone();
239902  }
239903  catch(CStdErrorInfo oError)
239904  {
239905  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239906  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239907  PyErr_SetString(PyExc_IndexError, strError.c_str());
239908  SWIG_fail;
239909  }
239910  catch(...)
239911  {
239912  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239913  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239914  SWIG_fail;
239915  }
239916  }
239917  resultobj = SWIG_From_bool(static_cast< bool >(result));
239918  return resultobj;
239919 fail:
239920  return NULL;
239921 }
239922 
239923 
239924 SWIGINTERN PyObject *_wrap_MotorStimulus_DisableMotorWhenDone__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
239925  PyObject *resultobj = 0;
239927  bool arg2 ;
239928  void *argp1 = 0 ;
239929  int res1 = 0 ;
239930  bool val2 ;
239931  int ecode2 = 0 ;
239932  PyObject * obj0 = 0 ;
239933  PyObject * obj1 = 0 ;
239934 
239935  if (!PyArg_ParseTuple(args,(char *)"OO:MotorStimulus_DisableMotorWhenDone",&obj0,&obj1)) SWIG_fail;
239936  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
239937  if (!SWIG_IsOK(res1)) {
239938  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_DisableMotorWhenDone" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
239939  }
239940  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
239941  ecode2 = SWIG_AsVal_bool(obj1, &val2);
239942  if (!SWIG_IsOK(ecode2)) {
239943  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MotorStimulus_DisableMotorWhenDone" "', argument " "2"" of type '" "bool""'");
239944  }
239945  arg2 = static_cast< bool >(val2);
239946  {
239947  try {
239948  (arg1)->DisableMotorWhenDone(arg2);
239949  }
239950  catch(CStdErrorInfo oError)
239951  {
239952  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239953  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
239954  PyErr_SetString(PyExc_IndexError, strError.c_str());
239955  SWIG_fail;
239956  }
239957  catch(...)
239958  {
239959  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
239960  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
239961  SWIG_fail;
239962  }
239963  }
239964  resultobj = SWIG_Py_Void();
239965  return resultobj;
239966 fail:
239967  return NULL;
239968 }
239969 
239970 
239971 SWIGINTERN PyObject *_wrap_MotorStimulus_DisableMotorWhenDone(PyObject *self, PyObject *args) {
239972  int argc;
239973  PyObject *argv[3];
239974  int ii;
239975 
239976  if (!PyTuple_Check(args)) SWIG_fail;
239977  argc = args ? (int)PyObject_Length(args) : 0;
239978  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
239979  argv[ii] = PyTuple_GET_ITEM(args,ii);
239980  }
239981  if (argc == 1) {
239982  int _v;
239983  void *vptr = 0;
239984  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0);
239985  _v = SWIG_CheckState(res);
239986  if (_v) {
239987  return _wrap_MotorStimulus_DisableMotorWhenDone__SWIG_0(self, args);
239988  }
239989  }
239990  if (argc == 2) {
239991  int _v;
239992  void *vptr = 0;
239993  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0);
239994  _v = SWIG_CheckState(res);
239995  if (_v) {
239996  {
239997  int res = SWIG_AsVal_bool(argv[1], NULL);
239998  _v = SWIG_CheckState(res);
239999  }
240000  if (_v) {
240001  return _wrap_MotorStimulus_DisableMotorWhenDone__SWIG_1(self, args);
240002  }
240003  }
240004  }
240005 
240006 fail:
240007  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorStimulus_DisableMotorWhenDone'.\n"
240008  " Possible C/C++ prototypes are:\n"
240009  " AnimatSim::ExternalStimuli::MotorStimulus::DisableMotorWhenDone()\n"
240010  " AnimatSim::ExternalStimuli::MotorStimulus::DisableMotorWhenDone(bool)\n");
240011  return 0;
240012 }
240013 
240014 
240015 SWIGINTERN PyObject *_wrap_MotorStimulus_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240016  PyObject *resultobj = 0;
240018  CStdXml *arg2 = 0 ;
240019  void *argp1 = 0 ;
240020  int res1 = 0 ;
240021  void *argp2 = 0 ;
240022  int res2 = 0 ;
240023  PyObject * obj0 = 0 ;
240024  PyObject * obj1 = 0 ;
240025 
240026  if (!PyArg_ParseTuple(args,(char *)"OO:MotorStimulus_Load",&obj0,&obj1)) SWIG_fail;
240027  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
240028  if (!SWIG_IsOK(res1)) {
240029  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_Load" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
240030  }
240031  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
240032  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
240033  if (!SWIG_IsOK(res2)) {
240034  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorStimulus_Load" "', argument " "2"" of type '" "CStdXml &""'");
240035  }
240036  if (!argp2) {
240037  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorStimulus_Load" "', argument " "2"" of type '" "CStdXml &""'");
240038  }
240039  arg2 = reinterpret_cast< CStdXml * >(argp2);
240040  {
240041  try {
240042  (arg1)->Load(*arg2);
240043  }
240044  catch(CStdErrorInfo oError)
240045  {
240046  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240047  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240048  PyErr_SetString(PyExc_IndexError, strError.c_str());
240049  SWIG_fail;
240050  }
240051  catch(...)
240052  {
240053  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240054  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240055  SWIG_fail;
240056  }
240057  }
240058  resultobj = SWIG_Py_Void();
240059  return resultobj;
240060 fail:
240061  return NULL;
240062 }
240063 
240064 
240065 SWIGINTERN PyObject *_wrap_MotorStimulus_Type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240066  PyObject *resultobj = 0;
240068  void *argp1 = 0 ;
240069  int res1 = 0 ;
240070  PyObject * obj0 = 0 ;
240071  std::string result;
240072 
240073  if (!PyArg_ParseTuple(args,(char *)"O:MotorStimulus_Type",&obj0)) SWIG_fail;
240074  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
240075  if (!SWIG_IsOK(res1)) {
240076  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_Type" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
240077  }
240078  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
240079  {
240080  try {
240081  result = (arg1)->Type();
240082  }
240083  catch(CStdErrorInfo oError)
240084  {
240085  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240086  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240087  PyErr_SetString(PyExc_IndexError, strError.c_str());
240088  SWIG_fail;
240089  }
240090  catch(...)
240091  {
240092  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240093  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240094  SWIG_fail;
240095  }
240096  }
240097  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
240098  return resultobj;
240099 fail:
240100  return NULL;
240101 }
240102 
240103 
240104 SWIGINTERN PyObject *_wrap_MotorStimulus_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240105  PyObject *resultobj = 0;
240107  void *argp1 = 0 ;
240108  int res1 = 0 ;
240109  PyObject * obj0 = 0 ;
240110 
240111  if (!PyArg_ParseTuple(args,(char *)"O:MotorStimulus_Initialize",&obj0)) SWIG_fail;
240112  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
240113  if (!SWIG_IsOK(res1)) {
240114  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_Initialize" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
240115  }
240116  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
240117  {
240118  try {
240119  (arg1)->Initialize();
240120  }
240121  catch(CStdErrorInfo oError)
240122  {
240123  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240124  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240125  PyErr_SetString(PyExc_IndexError, strError.c_str());
240126  SWIG_fail;
240127  }
240128  catch(...)
240129  {
240130  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240131  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240132  SWIG_fail;
240133  }
240134  }
240135  resultobj = SWIG_Py_Void();
240136  return resultobj;
240137 fail:
240138  return NULL;
240139 }
240140 
240141 
240142 SWIGINTERN PyObject *_wrap_MotorStimulus_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240143  PyObject *resultobj = 0;
240145  void *argp1 = 0 ;
240146  int res1 = 0 ;
240147  PyObject * obj0 = 0 ;
240148 
240149  if (!PyArg_ParseTuple(args,(char *)"O:MotorStimulus_Activate",&obj0)) SWIG_fail;
240150  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
240151  if (!SWIG_IsOK(res1)) {
240152  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_Activate" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
240153  }
240154  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
240155  {
240156  try {
240157  (arg1)->Activate();
240158  }
240159  catch(CStdErrorInfo oError)
240160  {
240161  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240162  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240163  PyErr_SetString(PyExc_IndexError, strError.c_str());
240164  SWIG_fail;
240165  }
240166  catch(...)
240167  {
240168  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240169  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240170  SWIG_fail;
240171  }
240172  }
240173  resultobj = SWIG_Py_Void();
240174  return resultobj;
240175 fail:
240176  return NULL;
240177 }
240178 
240179 
240180 SWIGINTERN PyObject *_wrap_MotorStimulus_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240181  PyObject *resultobj = 0;
240183  void *argp1 = 0 ;
240184  int res1 = 0 ;
240185  PyObject * obj0 = 0 ;
240186 
240187  if (!PyArg_ParseTuple(args,(char *)"O:MotorStimulus_ResetSimulation",&obj0)) SWIG_fail;
240188  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
240189  if (!SWIG_IsOK(res1)) {
240190  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
240191  }
240192  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
240193  {
240194  try {
240195  (arg1)->ResetSimulation();
240196  }
240197  catch(CStdErrorInfo oError)
240198  {
240199  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240200  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240201  PyErr_SetString(PyExc_IndexError, strError.c_str());
240202  SWIG_fail;
240203  }
240204  catch(...)
240205  {
240206  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240207  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240208  SWIG_fail;
240209  }
240210  }
240211  resultobj = SWIG_Py_Void();
240212  return resultobj;
240213 fail:
240214  return NULL;
240215 }
240216 
240217 
240218 SWIGINTERN PyObject *_wrap_MotorStimulus_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240219  PyObject *resultobj = 0;
240221  void *argp1 = 0 ;
240222  int res1 = 0 ;
240223  PyObject * obj0 = 0 ;
240224 
240225  if (!PyArg_ParseTuple(args,(char *)"O:MotorStimulus_StepSimulation",&obj0)) SWIG_fail;
240226  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
240227  if (!SWIG_IsOK(res1)) {
240228  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_StepSimulation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
240229  }
240230  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
240231  {
240232  try {
240233  (arg1)->StepSimulation();
240234  }
240235  catch(CStdErrorInfo oError)
240236  {
240237  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240238  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240239  PyErr_SetString(PyExc_IndexError, strError.c_str());
240240  SWIG_fail;
240241  }
240242  catch(...)
240243  {
240244  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240245  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240246  SWIG_fail;
240247  }
240248  }
240249  resultobj = SWIG_Py_Void();
240250  return resultobj;
240251 fail:
240252  return NULL;
240253 }
240254 
240255 
240256 SWIGINTERN PyObject *_wrap_MotorStimulus_Deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240257  PyObject *resultobj = 0;
240259  void *argp1 = 0 ;
240260  int res1 = 0 ;
240261  PyObject * obj0 = 0 ;
240262 
240263  if (!PyArg_ParseTuple(args,(char *)"O:MotorStimulus_Deactivate",&obj0)) SWIG_fail;
240264  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
240265  if (!SWIG_IsOK(res1)) {
240266  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_Deactivate" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
240267  }
240268  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
240269  {
240270  try {
240271  (arg1)->Deactivate();
240272  }
240273  catch(CStdErrorInfo oError)
240274  {
240275  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240276  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240277  PyErr_SetString(PyExc_IndexError, strError.c_str());
240278  SWIG_fail;
240279  }
240280  catch(...)
240281  {
240282  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240283  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240284  SWIG_fail;
240285  }
240286  }
240287  resultobj = SWIG_Py_Void();
240288  return resultobj;
240289 fail:
240290  return NULL;
240291 }
240292 
240293 
240294 SWIGINTERN PyObject *_wrap_MotorStimulus_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240295  PyObject *resultobj = 0;
240297  std::string *arg2 = 0 ;
240298  void *argp1 = 0 ;
240299  int res1 = 0 ;
240300  int res2 = SWIG_OLDOBJ ;
240301  PyObject * obj0 = 0 ;
240302  PyObject * obj1 = 0 ;
240303  float *result = 0 ;
240304 
240305  if (!PyArg_ParseTuple(args,(char *)"OO:MotorStimulus_GetDataPointer",&obj0,&obj1)) SWIG_fail;
240306  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
240307  if (!SWIG_IsOK(res1)) {
240308  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
240309  }
240310  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
240311  {
240312  std::string *ptr = (std::string *)0;
240313  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
240314  if (!SWIG_IsOK(res2)) {
240315  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorStimulus_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
240316  }
240317  if (!ptr) {
240318  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorStimulus_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
240319  }
240320  arg2 = ptr;
240321  }
240322  {
240323  try {
240324  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
240325  }
240326  catch(CStdErrorInfo oError)
240327  {
240328  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240329  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240330  PyErr_SetString(PyExc_IndexError, strError.c_str());
240331  SWIG_fail;
240332  }
240333  catch(...)
240334  {
240335  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240336  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240337  SWIG_fail;
240338  }
240339  }
240340  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
240341  if (SWIG_IsNewObj(res2)) delete arg2;
240342  return resultobj;
240343 fail:
240344  if (SWIG_IsNewObj(res2)) delete arg2;
240345  return NULL;
240346 }
240347 
240348 
240349 SWIGINTERN PyObject *_wrap_MotorStimulus_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240350  PyObject *resultobj = 0;
240352  std::string *arg2 = 0 ;
240353  std::string *arg3 = 0 ;
240354  bool arg4 ;
240355  void *argp1 = 0 ;
240356  int res1 = 0 ;
240357  int res2 = SWIG_OLDOBJ ;
240358  int res3 = SWIG_OLDOBJ ;
240359  bool val4 ;
240360  int ecode4 = 0 ;
240361  PyObject * obj0 = 0 ;
240362  PyObject * obj1 = 0 ;
240363  PyObject * obj2 = 0 ;
240364  PyObject * obj3 = 0 ;
240365  bool result;
240366 
240367  if (!PyArg_ParseTuple(args,(char *)"OOOO:MotorStimulus_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
240368  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
240369  if (!SWIG_IsOK(res1)) {
240370  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
240371  }
240372  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
240373  {
240374  std::string *ptr = (std::string *)0;
240375  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
240376  if (!SWIG_IsOK(res2)) {
240377  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
240378  }
240379  if (!ptr) {
240380  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
240381  }
240382  arg2 = ptr;
240383  }
240384  {
240385  std::string *ptr = (std::string *)0;
240386  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
240387  if (!SWIG_IsOK(res3)) {
240388  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MotorStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
240389  }
240390  if (!ptr) {
240391  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
240392  }
240393  arg3 = ptr;
240394  }
240395  ecode4 = SWIG_AsVal_bool(obj3, &val4);
240396  if (!SWIG_IsOK(ecode4)) {
240397  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MotorStimulus_SetData" "', argument " "4"" of type '" "bool""'");
240398  }
240399  arg4 = static_cast< bool >(val4);
240400  {
240401  try {
240402  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
240403  }
240404  catch(CStdErrorInfo oError)
240405  {
240406  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240407  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240408  PyErr_SetString(PyExc_IndexError, strError.c_str());
240409  SWIG_fail;
240410  }
240411  catch(...)
240412  {
240413  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240414  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240415  SWIG_fail;
240416  }
240417  }
240418  resultobj = SWIG_From_bool(static_cast< bool >(result));
240419  if (SWIG_IsNewObj(res2)) delete arg2;
240420  if (SWIG_IsNewObj(res3)) delete arg3;
240421  return resultobj;
240422 fail:
240423  if (SWIG_IsNewObj(res2)) delete arg2;
240424  if (SWIG_IsNewObj(res3)) delete arg3;
240425  return NULL;
240426 }
240427 
240428 
240429 SWIGINTERN PyObject *_wrap_MotorStimulus_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240430  PyObject *resultobj = 0;
240432  std::string *arg2 = 0 ;
240433  std::string *arg3 = 0 ;
240434  void *argp1 = 0 ;
240435  int res1 = 0 ;
240436  int res2 = SWIG_OLDOBJ ;
240437  int res3 = SWIG_OLDOBJ ;
240438  PyObject * obj0 = 0 ;
240439  PyObject * obj1 = 0 ;
240440  PyObject * obj2 = 0 ;
240441  bool result;
240442 
240443  if (!PyArg_ParseTuple(args,(char *)"OOO:MotorStimulus_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
240444  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
240445  if (!SWIG_IsOK(res1)) {
240446  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
240447  }
240448  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
240449  {
240450  std::string *ptr = (std::string *)0;
240451  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
240452  if (!SWIG_IsOK(res2)) {
240453  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
240454  }
240455  if (!ptr) {
240456  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
240457  }
240458  arg2 = ptr;
240459  }
240460  {
240461  std::string *ptr = (std::string *)0;
240462  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
240463  if (!SWIG_IsOK(res3)) {
240464  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MotorStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
240465  }
240466  if (!ptr) {
240467  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
240468  }
240469  arg3 = ptr;
240470  }
240471  {
240472  try {
240473  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
240474  }
240475  catch(CStdErrorInfo oError)
240476  {
240477  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240478  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240479  PyErr_SetString(PyExc_IndexError, strError.c_str());
240480  SWIG_fail;
240481  }
240482  catch(...)
240483  {
240484  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240485  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240486  SWIG_fail;
240487  }
240488  }
240489  resultobj = SWIG_From_bool(static_cast< bool >(result));
240490  if (SWIG_IsNewObj(res2)) delete arg2;
240491  if (SWIG_IsNewObj(res3)) delete arg3;
240492  return resultobj;
240493 fail:
240494  if (SWIG_IsNewObj(res2)) delete arg2;
240495  if (SWIG_IsNewObj(res3)) delete arg3;
240496  return NULL;
240497 }
240498 
240499 
240500 SWIGINTERN PyObject *_wrap_MotorStimulus_SetData(PyObject *self, PyObject *args) {
240501  int argc;
240502  PyObject *argv[5];
240503  int ii;
240504 
240505  if (!PyTuple_Check(args)) SWIG_fail;
240506  argc = args ? (int)PyObject_Length(args) : 0;
240507  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
240508  argv[ii] = PyTuple_GET_ITEM(args,ii);
240509  }
240510  if (argc == 3) {
240511  int _v;
240512  void *vptr = 0;
240513  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0);
240514  _v = SWIG_CheckState(res);
240515  if (_v) {
240516  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
240517  _v = SWIG_CheckState(res);
240518  if (_v) {
240519  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
240520  _v = SWIG_CheckState(res);
240521  if (_v) {
240522  return _wrap_MotorStimulus_SetData__SWIG_1(self, args);
240523  }
240524  }
240525  }
240526  }
240527  if (argc == 4) {
240528  int _v;
240529  void *vptr = 0;
240530  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0);
240531  _v = SWIG_CheckState(res);
240532  if (_v) {
240533  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
240534  _v = SWIG_CheckState(res);
240535  if (_v) {
240536  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
240537  _v = SWIG_CheckState(res);
240538  if (_v) {
240539  {
240540  int res = SWIG_AsVal_bool(argv[3], NULL);
240541  _v = SWIG_CheckState(res);
240542  }
240543  if (_v) {
240544  return _wrap_MotorStimulus_SetData__SWIG_0(self, args);
240545  }
240546  }
240547  }
240548  }
240549  }
240550 
240551 fail:
240552  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MotorStimulus_SetData'.\n"
240553  " Possible C/C++ prototypes are:\n"
240554  " AnimatSim::ExternalStimuli::MotorStimulus::SetData(std::string const &,std::string const &,bool)\n"
240555  " AnimatSim::ExternalStimuli::MotorStimulus::SetData(std::string const &,std::string const &)\n");
240556  return 0;
240557 }
240558 
240559 
240560 SWIGINTERN PyObject *_wrap_MotorStimulus_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240561  PyObject *resultobj = 0;
240563  CStdPtrArray< TypeProperty > *arg2 = 0 ;
240564  void *argp1 = 0 ;
240565  int res1 = 0 ;
240566  void *argp2 = 0 ;
240567  int res2 = 0 ;
240568  PyObject * obj0 = 0 ;
240569  PyObject * obj1 = 0 ;
240570 
240571  if (!PyArg_ParseTuple(args,(char *)"OO:MotorStimulus_QueryProperties",&obj0,&obj1)) SWIG_fail;
240572  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, 0 | 0 );
240573  if (!SWIG_IsOK(res1)) {
240574  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MotorStimulus_QueryProperties" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::MotorStimulus *""'");
240575  }
240576  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::MotorStimulus * >(argp1);
240577  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
240578  if (!SWIG_IsOK(res2)) {
240579  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MotorStimulus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
240580  }
240581  if (!argp2) {
240582  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MotorStimulus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
240583  }
240584  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
240585  {
240586  try {
240587  (arg1)->QueryProperties(*arg2);
240588  }
240589  catch(CStdErrorInfo oError)
240590  {
240591  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240592  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240593  PyErr_SetString(PyExc_IndexError, strError.c_str());
240594  SWIG_fail;
240595  }
240596  catch(...)
240597  {
240598  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240599  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240600  SWIG_fail;
240601  }
240602  }
240603  resultobj = SWIG_Py_Void();
240604  return resultobj;
240605 fail:
240606  return NULL;
240607 }
240608 
240609 
240610 SWIGINTERN PyObject *MotorStimulus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240611  PyObject *obj;
240612  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
240613  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus, SWIG_NewClientData(obj));
240614  return SWIG_Py_Void();
240615 }
240616 
240617 SWIGINTERN PyObject *_wrap_new_ForceStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240618  PyObject *resultobj = 0;
240620 
240621  if (!PyArg_ParseTuple(args,(char *)":new_ForceStimulus")) SWIG_fail;
240622  {
240623  try {
240625  }
240626  catch(CStdErrorInfo oError)
240627  {
240628  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240629  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240630  PyErr_SetString(PyExc_IndexError, strError.c_str());
240631  SWIG_fail;
240632  }
240633  catch(...)
240634  {
240635  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240636  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240637  SWIG_fail;
240638  }
240639  }
240640  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, SWIG_POINTER_NEW | 0 );
240641  return resultobj;
240642 fail:
240643  return NULL;
240644 }
240645 
240646 
240647 SWIGINTERN PyObject *_wrap_delete_ForceStimulus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240648  PyObject *resultobj = 0;
240650  void *argp1 = 0 ;
240651  int res1 = 0 ;
240652  PyObject * obj0 = 0 ;
240653 
240654  if (!PyArg_ParseTuple(args,(char *)"O:delete_ForceStimulus",&obj0)) SWIG_fail;
240655  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, SWIG_POINTER_DISOWN | 0 );
240656  if (!SWIG_IsOK(res1)) {
240657  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ForceStimulus" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
240658  }
240659  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
240660  {
240661  try {
240662  delete arg1;
240663  }
240664  catch(CStdErrorInfo oError)
240665  {
240666  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240667  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240668  PyErr_SetString(PyExc_IndexError, strError.c_str());
240669  SWIG_fail;
240670  }
240671  catch(...)
240672  {
240673  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240674  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240675  SWIG_fail;
240676  }
240677  }
240678  resultobj = SWIG_Py_Void();
240679  return resultobj;
240680 fail:
240681  return NULL;
240682 }
240683 
240684 
240685 SWIGINTERN PyObject *_wrap_ForceStimulus_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240686  PyObject *resultobj = 0;
240688  void *argp1 = 0 ;
240689  int res1 = 0 ;
240690  PyObject * obj0 = 0 ;
240692 
240693  if (!PyArg_ParseTuple(args,(char *)"O:ForceStimulus_CastToDerived",&obj0)) SWIG_fail;
240694  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
240695  if (!SWIG_IsOK(res1)) {
240696  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
240697  }
240698  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
240699  {
240700  try {
240701  result = (AnimatSim::ExternalStimuli::ForceStimulus *)AnimatSim::ExternalStimuli::ForceStimulus::CastToDerived(arg1);
240702  }
240703  catch(CStdErrorInfo oError)
240704  {
240705  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240706  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240707  PyErr_SetString(PyExc_IndexError, strError.c_str());
240708  SWIG_fail;
240709  }
240710  catch(...)
240711  {
240712  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240713  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240714  SWIG_fail;
240715  }
240716  }
240717  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
240718  return resultobj;
240719 fail:
240720  return NULL;
240721 }
240722 
240723 
240724 SWIGINTERN PyObject *_wrap_ForceStimulus_RelativePositionX__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240725  PyObject *resultobj = 0;
240727  void *argp1 = 0 ;
240728  int res1 = 0 ;
240729  PyObject * obj0 = 0 ;
240730  float result;
240731 
240732  if (!PyArg_ParseTuple(args,(char *)"O:ForceStimulus_RelativePositionX",&obj0)) SWIG_fail;
240733  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
240734  if (!SWIG_IsOK(res1)) {
240735  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_RelativePositionX" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
240736  }
240737  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
240738  {
240739  try {
240740  result = (float)(arg1)->RelativePositionX();
240741  }
240742  catch(CStdErrorInfo oError)
240743  {
240744  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240745  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240746  PyErr_SetString(PyExc_IndexError, strError.c_str());
240747  SWIG_fail;
240748  }
240749  catch(...)
240750  {
240751  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240752  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240753  SWIG_fail;
240754  }
240755  }
240756  resultobj = SWIG_From_float(static_cast< float >(result));
240757  return resultobj;
240758 fail:
240759  return NULL;
240760 }
240761 
240762 
240763 SWIGINTERN PyObject *_wrap_ForceStimulus_RelativePositionY__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240764  PyObject *resultobj = 0;
240766  void *argp1 = 0 ;
240767  int res1 = 0 ;
240768  PyObject * obj0 = 0 ;
240769  float result;
240770 
240771  if (!PyArg_ParseTuple(args,(char *)"O:ForceStimulus_RelativePositionY",&obj0)) SWIG_fail;
240772  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
240773  if (!SWIG_IsOK(res1)) {
240774  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_RelativePositionY" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
240775  }
240776  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
240777  {
240778  try {
240779  result = (float)(arg1)->RelativePositionY();
240780  }
240781  catch(CStdErrorInfo oError)
240782  {
240783  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240784  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240785  PyErr_SetString(PyExc_IndexError, strError.c_str());
240786  SWIG_fail;
240787  }
240788  catch(...)
240789  {
240790  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240791  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240792  SWIG_fail;
240793  }
240794  }
240795  resultobj = SWIG_From_float(static_cast< float >(result));
240796  return resultobj;
240797 fail:
240798  return NULL;
240799 }
240800 
240801 
240802 SWIGINTERN PyObject *_wrap_ForceStimulus_RelativePositionZ__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240803  PyObject *resultobj = 0;
240805  void *argp1 = 0 ;
240806  int res1 = 0 ;
240807  PyObject * obj0 = 0 ;
240808  float result;
240809 
240810  if (!PyArg_ParseTuple(args,(char *)"O:ForceStimulus_RelativePositionZ",&obj0)) SWIG_fail;
240811  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
240812  if (!SWIG_IsOK(res1)) {
240813  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_RelativePositionZ" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
240814  }
240815  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
240816  {
240817  try {
240818  result = (float)(arg1)->RelativePositionZ();
240819  }
240820  catch(CStdErrorInfo oError)
240821  {
240822  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240823  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240824  PyErr_SetString(PyExc_IndexError, strError.c_str());
240825  SWIG_fail;
240826  }
240827  catch(...)
240828  {
240829  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240830  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240831  SWIG_fail;
240832  }
240833  }
240834  resultobj = SWIG_From_float(static_cast< float >(result));
240835  return resultobj;
240836 fail:
240837  return NULL;
240838 }
240839 
240840 
240841 SWIGINTERN PyObject *_wrap_ForceStimulus_RelativePositionX__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240842  PyObject *resultobj = 0;
240844  float arg2 ;
240845  void *argp1 = 0 ;
240846  int res1 = 0 ;
240847  float val2 ;
240848  int ecode2 = 0 ;
240849  PyObject * obj0 = 0 ;
240850  PyObject * obj1 = 0 ;
240851 
240852  if (!PyArg_ParseTuple(args,(char *)"OO:ForceStimulus_RelativePositionX",&obj0,&obj1)) SWIG_fail;
240853  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
240854  if (!SWIG_IsOK(res1)) {
240855  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_RelativePositionX" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
240856  }
240857  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
240858  ecode2 = SWIG_AsVal_float(obj1, &val2);
240859  if (!SWIG_IsOK(ecode2)) {
240860  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ForceStimulus_RelativePositionX" "', argument " "2"" of type '" "float""'");
240861  }
240862  arg2 = static_cast< float >(val2);
240863  {
240864  try {
240865  (arg1)->RelativePositionX(arg2);
240866  }
240867  catch(CStdErrorInfo oError)
240868  {
240869  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240870  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240871  PyErr_SetString(PyExc_IndexError, strError.c_str());
240872  SWIG_fail;
240873  }
240874  catch(...)
240875  {
240876  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240877  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240878  SWIG_fail;
240879  }
240880  }
240881  resultobj = SWIG_Py_Void();
240882  return resultobj;
240883 fail:
240884  return NULL;
240885 }
240886 
240887 
240888 SWIGINTERN PyObject *_wrap_ForceStimulus_RelativePositionX(PyObject *self, PyObject *args) {
240889  int argc;
240890  PyObject *argv[3];
240891  int ii;
240892 
240893  if (!PyTuple_Check(args)) SWIG_fail;
240894  argc = args ? (int)PyObject_Length(args) : 0;
240895  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
240896  argv[ii] = PyTuple_GET_ITEM(args,ii);
240897  }
240898  if (argc == 1) {
240899  int _v;
240900  void *vptr = 0;
240901  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
240902  _v = SWIG_CheckState(res);
240903  if (_v) {
240904  return _wrap_ForceStimulus_RelativePositionX__SWIG_0(self, args);
240905  }
240906  }
240907  if (argc == 2) {
240908  int _v;
240909  void *vptr = 0;
240910  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
240911  _v = SWIG_CheckState(res);
240912  if (_v) {
240913  {
240914  int res = SWIG_AsVal_float(argv[1], NULL);
240915  _v = SWIG_CheckState(res);
240916  }
240917  if (_v) {
240918  return _wrap_ForceStimulus_RelativePositionX__SWIG_1(self, args);
240919  }
240920  }
240921  }
240922 
240923 fail:
240924  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ForceStimulus_RelativePositionX'.\n"
240925  " Possible C/C++ prototypes are:\n"
240926  " AnimatSim::ExternalStimuli::ForceStimulus::RelativePositionX()\n"
240927  " AnimatSim::ExternalStimuli::ForceStimulus::RelativePositionX(float)\n");
240928  return 0;
240929 }
240930 
240931 
240932 SWIGINTERN PyObject *_wrap_ForceStimulus_RelativePositionY__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
240933  PyObject *resultobj = 0;
240935  float arg2 ;
240936  void *argp1 = 0 ;
240937  int res1 = 0 ;
240938  float val2 ;
240939  int ecode2 = 0 ;
240940  PyObject * obj0 = 0 ;
240941  PyObject * obj1 = 0 ;
240942 
240943  if (!PyArg_ParseTuple(args,(char *)"OO:ForceStimulus_RelativePositionY",&obj0,&obj1)) SWIG_fail;
240944  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
240945  if (!SWIG_IsOK(res1)) {
240946  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_RelativePositionY" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
240947  }
240948  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
240949  ecode2 = SWIG_AsVal_float(obj1, &val2);
240950  if (!SWIG_IsOK(ecode2)) {
240951  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ForceStimulus_RelativePositionY" "', argument " "2"" of type '" "float""'");
240952  }
240953  arg2 = static_cast< float >(val2);
240954  {
240955  try {
240956  (arg1)->RelativePositionY(arg2);
240957  }
240958  catch(CStdErrorInfo oError)
240959  {
240960  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240961  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
240962  PyErr_SetString(PyExc_IndexError, strError.c_str());
240963  SWIG_fail;
240964  }
240965  catch(...)
240966  {
240967  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
240968  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
240969  SWIG_fail;
240970  }
240971  }
240972  resultobj = SWIG_Py_Void();
240973  return resultobj;
240974 fail:
240975  return NULL;
240976 }
240977 
240978 
240979 SWIGINTERN PyObject *_wrap_ForceStimulus_RelativePositionY(PyObject *self, PyObject *args) {
240980  int argc;
240981  PyObject *argv[3];
240982  int ii;
240983 
240984  if (!PyTuple_Check(args)) SWIG_fail;
240985  argc = args ? (int)PyObject_Length(args) : 0;
240986  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
240987  argv[ii] = PyTuple_GET_ITEM(args,ii);
240988  }
240989  if (argc == 1) {
240990  int _v;
240991  void *vptr = 0;
240992  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
240993  _v = SWIG_CheckState(res);
240994  if (_v) {
240995  return _wrap_ForceStimulus_RelativePositionY__SWIG_0(self, args);
240996  }
240997  }
240998  if (argc == 2) {
240999  int _v;
241000  void *vptr = 0;
241001  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
241002  _v = SWIG_CheckState(res);
241003  if (_v) {
241004  {
241005  int res = SWIG_AsVal_float(argv[1], NULL);
241006  _v = SWIG_CheckState(res);
241007  }
241008  if (_v) {
241009  return _wrap_ForceStimulus_RelativePositionY__SWIG_1(self, args);
241010  }
241011  }
241012  }
241013 
241014 fail:
241015  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ForceStimulus_RelativePositionY'.\n"
241016  " Possible C/C++ prototypes are:\n"
241017  " AnimatSim::ExternalStimuli::ForceStimulus::RelativePositionY()\n"
241018  " AnimatSim::ExternalStimuli::ForceStimulus::RelativePositionY(float)\n");
241019  return 0;
241020 }
241021 
241022 
241023 SWIGINTERN PyObject *_wrap_ForceStimulus_RelativePositionZ__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241024  PyObject *resultobj = 0;
241026  float arg2 ;
241027  void *argp1 = 0 ;
241028  int res1 = 0 ;
241029  float val2 ;
241030  int ecode2 = 0 ;
241031  PyObject * obj0 = 0 ;
241032  PyObject * obj1 = 0 ;
241033 
241034  if (!PyArg_ParseTuple(args,(char *)"OO:ForceStimulus_RelativePositionZ",&obj0,&obj1)) SWIG_fail;
241035  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241036  if (!SWIG_IsOK(res1)) {
241037  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_RelativePositionZ" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241038  }
241039  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241040  ecode2 = SWIG_AsVal_float(obj1, &val2);
241041  if (!SWIG_IsOK(ecode2)) {
241042  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ForceStimulus_RelativePositionZ" "', argument " "2"" of type '" "float""'");
241043  }
241044  arg2 = static_cast< float >(val2);
241045  {
241046  try {
241047  (arg1)->RelativePositionZ(arg2);
241048  }
241049  catch(CStdErrorInfo oError)
241050  {
241051  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241052  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
241053  PyErr_SetString(PyExc_IndexError, strError.c_str());
241054  SWIG_fail;
241055  }
241056  catch(...)
241057  {
241058  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241059  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
241060  SWIG_fail;
241061  }
241062  }
241063  resultobj = SWIG_Py_Void();
241064  return resultobj;
241065 fail:
241066  return NULL;
241067 }
241068 
241069 
241070 SWIGINTERN PyObject *_wrap_ForceStimulus_RelativePositionZ(PyObject *self, PyObject *args) {
241071  int argc;
241072  PyObject *argv[3];
241073  int ii;
241074 
241075  if (!PyTuple_Check(args)) SWIG_fail;
241076  argc = args ? (int)PyObject_Length(args) : 0;
241077  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
241078  argv[ii] = PyTuple_GET_ITEM(args,ii);
241079  }
241080  if (argc == 1) {
241081  int _v;
241082  void *vptr = 0;
241083  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
241084  _v = SWIG_CheckState(res);
241085  if (_v) {
241086  return _wrap_ForceStimulus_RelativePositionZ__SWIG_0(self, args);
241087  }
241088  }
241089  if (argc == 2) {
241090  int _v;
241091  void *vptr = 0;
241092  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
241093  _v = SWIG_CheckState(res);
241094  if (_v) {
241095  {
241096  int res = SWIG_AsVal_float(argv[1], NULL);
241097  _v = SWIG_CheckState(res);
241098  }
241099  if (_v) {
241100  return _wrap_ForceStimulus_RelativePositionZ__SWIG_1(self, args);
241101  }
241102  }
241103  }
241104 
241105 fail:
241106  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ForceStimulus_RelativePositionZ'.\n"
241107  " Possible C/C++ prototypes are:\n"
241108  " AnimatSim::ExternalStimuli::ForceStimulus::RelativePositionZ()\n"
241109  " AnimatSim::ExternalStimuli::ForceStimulus::RelativePositionZ(float)\n");
241110  return 0;
241111 }
241112 
241113 
241114 SWIGINTERN PyObject *_wrap_ForceStimulus_ForceXEquation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241115  PyObject *resultobj = 0;
241117  void *argp1 = 0 ;
241118  int res1 = 0 ;
241119  PyObject * obj0 = 0 ;
241120  std::string result;
241121 
241122  if (!PyArg_ParseTuple(args,(char *)"O:ForceStimulus_ForceXEquation",&obj0)) SWIG_fail;
241123  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241124  if (!SWIG_IsOK(res1)) {
241125  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_ForceXEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241126  }
241127  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241128  {
241129  try {
241130  result = (arg1)->ForceXEquation();
241131  }
241132  catch(CStdErrorInfo oError)
241133  {
241134  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241135  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
241136  PyErr_SetString(PyExc_IndexError, strError.c_str());
241137  SWIG_fail;
241138  }
241139  catch(...)
241140  {
241141  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241142  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
241143  SWIG_fail;
241144  }
241145  }
241146  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
241147  return resultobj;
241148 fail:
241149  return NULL;
241150 }
241151 
241152 
241153 SWIGINTERN PyObject *_wrap_ForceStimulus_ForceYEquation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241154  PyObject *resultobj = 0;
241156  void *argp1 = 0 ;
241157  int res1 = 0 ;
241158  PyObject * obj0 = 0 ;
241159  std::string result;
241160 
241161  if (!PyArg_ParseTuple(args,(char *)"O:ForceStimulus_ForceYEquation",&obj0)) SWIG_fail;
241162  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241163  if (!SWIG_IsOK(res1)) {
241164  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_ForceYEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241165  }
241166  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241167  {
241168  try {
241169  result = (arg1)->ForceYEquation();
241170  }
241171  catch(CStdErrorInfo oError)
241172  {
241173  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241174  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
241175  PyErr_SetString(PyExc_IndexError, strError.c_str());
241176  SWIG_fail;
241177  }
241178  catch(...)
241179  {
241180  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241181  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
241182  SWIG_fail;
241183  }
241184  }
241185  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
241186  return resultobj;
241187 fail:
241188  return NULL;
241189 }
241190 
241191 
241192 SWIGINTERN PyObject *_wrap_ForceStimulus_ForceZEquation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241193  PyObject *resultobj = 0;
241195  void *argp1 = 0 ;
241196  int res1 = 0 ;
241197  PyObject * obj0 = 0 ;
241198  std::string result;
241199 
241200  if (!PyArg_ParseTuple(args,(char *)"O:ForceStimulus_ForceZEquation",&obj0)) SWIG_fail;
241201  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241202  if (!SWIG_IsOK(res1)) {
241203  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_ForceZEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241204  }
241205  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241206  {
241207  try {
241208  result = (arg1)->ForceZEquation();
241209  }
241210  catch(CStdErrorInfo oError)
241211  {
241212  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241213  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
241214  PyErr_SetString(PyExc_IndexError, strError.c_str());
241215  SWIG_fail;
241216  }
241217  catch(...)
241218  {
241219  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241220  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
241221  SWIG_fail;
241222  }
241223  }
241224  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
241225  return resultobj;
241226 fail:
241227  return NULL;
241228 }
241229 
241230 
241231 SWIGINTERN PyObject *_wrap_ForceStimulus_ForceXEquation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241232  PyObject *resultobj = 0;
241234  std::string arg2 ;
241235  void *argp1 = 0 ;
241236  int res1 = 0 ;
241237  PyObject * obj0 = 0 ;
241238  PyObject * obj1 = 0 ;
241239 
241240  if (!PyArg_ParseTuple(args,(char *)"OO:ForceStimulus_ForceXEquation",&obj0,&obj1)) SWIG_fail;
241241  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241242  if (!SWIG_IsOK(res1)) {
241243  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_ForceXEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241244  }
241245  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241246  {
241247  std::string *ptr = (std::string *)0;
241248  int res = SWIG_AsPtr_std_string(obj1, &ptr);
241249  if (!SWIG_IsOK(res) || !ptr) {
241250  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ForceStimulus_ForceXEquation" "', argument " "2"" of type '" "std::string""'");
241251  }
241252  arg2 = *ptr;
241253  if (SWIG_IsNewObj(res)) delete ptr;
241254  }
241255  {
241256  try {
241257  (arg1)->ForceXEquation(arg2);
241258  }
241259  catch(CStdErrorInfo oError)
241260  {
241261  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241262  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
241263  PyErr_SetString(PyExc_IndexError, strError.c_str());
241264  SWIG_fail;
241265  }
241266  catch(...)
241267  {
241268  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241269  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
241270  SWIG_fail;
241271  }
241272  }
241273  resultobj = SWIG_Py_Void();
241274  return resultobj;
241275 fail:
241276  return NULL;
241277 }
241278 
241279 
241280 SWIGINTERN PyObject *_wrap_ForceStimulus_ForceXEquation(PyObject *self, PyObject *args) {
241281  int argc;
241282  PyObject *argv[3];
241283  int ii;
241284 
241285  if (!PyTuple_Check(args)) SWIG_fail;
241286  argc = args ? (int)PyObject_Length(args) : 0;
241287  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
241288  argv[ii] = PyTuple_GET_ITEM(args,ii);
241289  }
241290  if (argc == 1) {
241291  int _v;
241292  void *vptr = 0;
241293  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
241294  _v = SWIG_CheckState(res);
241295  if (_v) {
241296  return _wrap_ForceStimulus_ForceXEquation__SWIG_0(self, args);
241297  }
241298  }
241299  if (argc == 2) {
241300  int _v;
241301  void *vptr = 0;
241302  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
241303  _v = SWIG_CheckState(res);
241304  if (_v) {
241305  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
241306  _v = SWIG_CheckState(res);
241307  if (_v) {
241308  return _wrap_ForceStimulus_ForceXEquation__SWIG_1(self, args);
241309  }
241310  }
241311  }
241312 
241313 fail:
241314  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ForceStimulus_ForceXEquation'.\n"
241315  " Possible C/C++ prototypes are:\n"
241316  " AnimatSim::ExternalStimuli::ForceStimulus::ForceXEquation()\n"
241317  " AnimatSim::ExternalStimuli::ForceStimulus::ForceXEquation(std::string)\n");
241318  return 0;
241319 }
241320 
241321 
241322 SWIGINTERN PyObject *_wrap_ForceStimulus_ForceYEquation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241323  PyObject *resultobj = 0;
241325  std::string arg2 ;
241326  void *argp1 = 0 ;
241327  int res1 = 0 ;
241328  PyObject * obj0 = 0 ;
241329  PyObject * obj1 = 0 ;
241330 
241331  if (!PyArg_ParseTuple(args,(char *)"OO:ForceStimulus_ForceYEquation",&obj0,&obj1)) SWIG_fail;
241332  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241333  if (!SWIG_IsOK(res1)) {
241334  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_ForceYEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241335  }
241336  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241337  {
241338  std::string *ptr = (std::string *)0;
241339  int res = SWIG_AsPtr_std_string(obj1, &ptr);
241340  if (!SWIG_IsOK(res) || !ptr) {
241341  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ForceStimulus_ForceYEquation" "', argument " "2"" of type '" "std::string""'");
241342  }
241343  arg2 = *ptr;
241344  if (SWIG_IsNewObj(res)) delete ptr;
241345  }
241346  {
241347  try {
241348  (arg1)->ForceYEquation(arg2);
241349  }
241350  catch(CStdErrorInfo oError)
241351  {
241352  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241353  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
241354  PyErr_SetString(PyExc_IndexError, strError.c_str());
241355  SWIG_fail;
241356  }
241357  catch(...)
241358  {
241359  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241360  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
241361  SWIG_fail;
241362  }
241363  }
241364  resultobj = SWIG_Py_Void();
241365  return resultobj;
241366 fail:
241367  return NULL;
241368 }
241369 
241370 
241371 SWIGINTERN PyObject *_wrap_ForceStimulus_ForceYEquation(PyObject *self, PyObject *args) {
241372  int argc;
241373  PyObject *argv[3];
241374  int ii;
241375 
241376  if (!PyTuple_Check(args)) SWIG_fail;
241377  argc = args ? (int)PyObject_Length(args) : 0;
241378  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
241379  argv[ii] = PyTuple_GET_ITEM(args,ii);
241380  }
241381  if (argc == 1) {
241382  int _v;
241383  void *vptr = 0;
241384  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
241385  _v = SWIG_CheckState(res);
241386  if (_v) {
241387  return _wrap_ForceStimulus_ForceYEquation__SWIG_0(self, args);
241388  }
241389  }
241390  if (argc == 2) {
241391  int _v;
241392  void *vptr = 0;
241393  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
241394  _v = SWIG_CheckState(res);
241395  if (_v) {
241396  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
241397  _v = SWIG_CheckState(res);
241398  if (_v) {
241399  return _wrap_ForceStimulus_ForceYEquation__SWIG_1(self, args);
241400  }
241401  }
241402  }
241403 
241404 fail:
241405  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ForceStimulus_ForceYEquation'.\n"
241406  " Possible C/C++ prototypes are:\n"
241407  " AnimatSim::ExternalStimuli::ForceStimulus::ForceYEquation()\n"
241408  " AnimatSim::ExternalStimuli::ForceStimulus::ForceYEquation(std::string)\n");
241409  return 0;
241410 }
241411 
241412 
241413 SWIGINTERN PyObject *_wrap_ForceStimulus_ForceZEquation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241414  PyObject *resultobj = 0;
241416  std::string arg2 ;
241417  void *argp1 = 0 ;
241418  int res1 = 0 ;
241419  PyObject * obj0 = 0 ;
241420  PyObject * obj1 = 0 ;
241421 
241422  if (!PyArg_ParseTuple(args,(char *)"OO:ForceStimulus_ForceZEquation",&obj0,&obj1)) SWIG_fail;
241423  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241424  if (!SWIG_IsOK(res1)) {
241425  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_ForceZEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241426  }
241427  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241428  {
241429  std::string *ptr = (std::string *)0;
241430  int res = SWIG_AsPtr_std_string(obj1, &ptr);
241431  if (!SWIG_IsOK(res) || !ptr) {
241432  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ForceStimulus_ForceZEquation" "', argument " "2"" of type '" "std::string""'");
241433  }
241434  arg2 = *ptr;
241435  if (SWIG_IsNewObj(res)) delete ptr;
241436  }
241437  {
241438  try {
241439  (arg1)->ForceZEquation(arg2);
241440  }
241441  catch(CStdErrorInfo oError)
241442  {
241443  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241444  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
241445  PyErr_SetString(PyExc_IndexError, strError.c_str());
241446  SWIG_fail;
241447  }
241448  catch(...)
241449  {
241450  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241451  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
241452  SWIG_fail;
241453  }
241454  }
241455  resultobj = SWIG_Py_Void();
241456  return resultobj;
241457 fail:
241458  return NULL;
241459 }
241460 
241461 
241462 SWIGINTERN PyObject *_wrap_ForceStimulus_ForceZEquation(PyObject *self, PyObject *args) {
241463  int argc;
241464  PyObject *argv[3];
241465  int ii;
241466 
241467  if (!PyTuple_Check(args)) SWIG_fail;
241468  argc = args ? (int)PyObject_Length(args) : 0;
241469  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
241470  argv[ii] = PyTuple_GET_ITEM(args,ii);
241471  }
241472  if (argc == 1) {
241473  int _v;
241474  void *vptr = 0;
241475  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
241476  _v = SWIG_CheckState(res);
241477  if (_v) {
241478  return _wrap_ForceStimulus_ForceZEquation__SWIG_0(self, args);
241479  }
241480  }
241481  if (argc == 2) {
241482  int _v;
241483  void *vptr = 0;
241484  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
241485  _v = SWIG_CheckState(res);
241486  if (_v) {
241487  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
241488  _v = SWIG_CheckState(res);
241489  if (_v) {
241490  return _wrap_ForceStimulus_ForceZEquation__SWIG_1(self, args);
241491  }
241492  }
241493  }
241494 
241495 fail:
241496  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ForceStimulus_ForceZEquation'.\n"
241497  " Possible C/C++ prototypes are:\n"
241498  " AnimatSim::ExternalStimuli::ForceStimulus::ForceZEquation()\n"
241499  " AnimatSim::ExternalStimuli::ForceStimulus::ForceZEquation(std::string)\n");
241500  return 0;
241501 }
241502 
241503 
241504 SWIGINTERN PyObject *_wrap_ForceStimulus_TorqueXEquation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241505  PyObject *resultobj = 0;
241507  void *argp1 = 0 ;
241508  int res1 = 0 ;
241509  PyObject * obj0 = 0 ;
241510  std::string result;
241511 
241512  if (!PyArg_ParseTuple(args,(char *)"O:ForceStimulus_TorqueXEquation",&obj0)) SWIG_fail;
241513  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241514  if (!SWIG_IsOK(res1)) {
241515  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_TorqueXEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241516  }
241517  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241518  {
241519  try {
241520  result = (arg1)->TorqueXEquation();
241521  }
241522  catch(CStdErrorInfo oError)
241523  {
241524  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241525  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
241526  PyErr_SetString(PyExc_IndexError, strError.c_str());
241527  SWIG_fail;
241528  }
241529  catch(...)
241530  {
241531  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241532  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
241533  SWIG_fail;
241534  }
241535  }
241536  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
241537  return resultobj;
241538 fail:
241539  return NULL;
241540 }
241541 
241542 
241543 SWIGINTERN PyObject *_wrap_ForceStimulus_TorqueYEquation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241544  PyObject *resultobj = 0;
241546  void *argp1 = 0 ;
241547  int res1 = 0 ;
241548  PyObject * obj0 = 0 ;
241549  std::string result;
241550 
241551  if (!PyArg_ParseTuple(args,(char *)"O:ForceStimulus_TorqueYEquation",&obj0)) SWIG_fail;
241552  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241553  if (!SWIG_IsOK(res1)) {
241554  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_TorqueYEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241555  }
241556  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241557  {
241558  try {
241559  result = (arg1)->TorqueYEquation();
241560  }
241561  catch(CStdErrorInfo oError)
241562  {
241563  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241564  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
241565  PyErr_SetString(PyExc_IndexError, strError.c_str());
241566  SWIG_fail;
241567  }
241568  catch(...)
241569  {
241570  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241571  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
241572  SWIG_fail;
241573  }
241574  }
241575  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
241576  return resultobj;
241577 fail:
241578  return NULL;
241579 }
241580 
241581 
241582 SWIGINTERN PyObject *_wrap_ForceStimulus_TorqueZEquation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241583  PyObject *resultobj = 0;
241585  void *argp1 = 0 ;
241586  int res1 = 0 ;
241587  PyObject * obj0 = 0 ;
241588  std::string result;
241589 
241590  if (!PyArg_ParseTuple(args,(char *)"O:ForceStimulus_TorqueZEquation",&obj0)) SWIG_fail;
241591  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241592  if (!SWIG_IsOK(res1)) {
241593  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_TorqueZEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241594  }
241595  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241596  {
241597  try {
241598  result = (arg1)->TorqueZEquation();
241599  }
241600  catch(CStdErrorInfo oError)
241601  {
241602  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241603  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
241604  PyErr_SetString(PyExc_IndexError, strError.c_str());
241605  SWIG_fail;
241606  }
241607  catch(...)
241608  {
241609  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241610  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
241611  SWIG_fail;
241612  }
241613  }
241614  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
241615  return resultobj;
241616 fail:
241617  return NULL;
241618 }
241619 
241620 
241621 SWIGINTERN PyObject *_wrap_ForceStimulus_TorqueXEquation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241622  PyObject *resultobj = 0;
241624  std::string arg2 ;
241625  void *argp1 = 0 ;
241626  int res1 = 0 ;
241627  PyObject * obj0 = 0 ;
241628  PyObject * obj1 = 0 ;
241629 
241630  if (!PyArg_ParseTuple(args,(char *)"OO:ForceStimulus_TorqueXEquation",&obj0,&obj1)) SWIG_fail;
241631  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241632  if (!SWIG_IsOK(res1)) {
241633  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_TorqueXEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241634  }
241635  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241636  {
241637  std::string *ptr = (std::string *)0;
241638  int res = SWIG_AsPtr_std_string(obj1, &ptr);
241639  if (!SWIG_IsOK(res) || !ptr) {
241640  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ForceStimulus_TorqueXEquation" "', argument " "2"" of type '" "std::string""'");
241641  }
241642  arg2 = *ptr;
241643  if (SWIG_IsNewObj(res)) delete ptr;
241644  }
241645  {
241646  try {
241647  (arg1)->TorqueXEquation(arg2);
241648  }
241649  catch(CStdErrorInfo oError)
241650  {
241651  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241652  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
241653  PyErr_SetString(PyExc_IndexError, strError.c_str());
241654  SWIG_fail;
241655  }
241656  catch(...)
241657  {
241658  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241659  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
241660  SWIG_fail;
241661  }
241662  }
241663  resultobj = SWIG_Py_Void();
241664  return resultobj;
241665 fail:
241666  return NULL;
241667 }
241668 
241669 
241670 SWIGINTERN PyObject *_wrap_ForceStimulus_TorqueXEquation(PyObject *self, PyObject *args) {
241671  int argc;
241672  PyObject *argv[3];
241673  int ii;
241674 
241675  if (!PyTuple_Check(args)) SWIG_fail;
241676  argc = args ? (int)PyObject_Length(args) : 0;
241677  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
241678  argv[ii] = PyTuple_GET_ITEM(args,ii);
241679  }
241680  if (argc == 1) {
241681  int _v;
241682  void *vptr = 0;
241683  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
241684  _v = SWIG_CheckState(res);
241685  if (_v) {
241686  return _wrap_ForceStimulus_TorqueXEquation__SWIG_0(self, args);
241687  }
241688  }
241689  if (argc == 2) {
241690  int _v;
241691  void *vptr = 0;
241692  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
241693  _v = SWIG_CheckState(res);
241694  if (_v) {
241695  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
241696  _v = SWIG_CheckState(res);
241697  if (_v) {
241698  return _wrap_ForceStimulus_TorqueXEquation__SWIG_1(self, args);
241699  }
241700  }
241701  }
241702 
241703 fail:
241704  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ForceStimulus_TorqueXEquation'.\n"
241705  " Possible C/C++ prototypes are:\n"
241706  " AnimatSim::ExternalStimuli::ForceStimulus::TorqueXEquation()\n"
241707  " AnimatSim::ExternalStimuli::ForceStimulus::TorqueXEquation(std::string)\n");
241708  return 0;
241709 }
241710 
241711 
241712 SWIGINTERN PyObject *_wrap_ForceStimulus_TorqueYEquation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241713  PyObject *resultobj = 0;
241715  std::string arg2 ;
241716  void *argp1 = 0 ;
241717  int res1 = 0 ;
241718  PyObject * obj0 = 0 ;
241719  PyObject * obj1 = 0 ;
241720 
241721  if (!PyArg_ParseTuple(args,(char *)"OO:ForceStimulus_TorqueYEquation",&obj0,&obj1)) SWIG_fail;
241722  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241723  if (!SWIG_IsOK(res1)) {
241724  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_TorqueYEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241725  }
241726  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241727  {
241728  std::string *ptr = (std::string *)0;
241729  int res = SWIG_AsPtr_std_string(obj1, &ptr);
241730  if (!SWIG_IsOK(res) || !ptr) {
241731  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ForceStimulus_TorqueYEquation" "', argument " "2"" of type '" "std::string""'");
241732  }
241733  arg2 = *ptr;
241734  if (SWIG_IsNewObj(res)) delete ptr;
241735  }
241736  {
241737  try {
241738  (arg1)->TorqueYEquation(arg2);
241739  }
241740  catch(CStdErrorInfo oError)
241741  {
241742  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241743  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
241744  PyErr_SetString(PyExc_IndexError, strError.c_str());
241745  SWIG_fail;
241746  }
241747  catch(...)
241748  {
241749  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241750  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
241751  SWIG_fail;
241752  }
241753  }
241754  resultobj = SWIG_Py_Void();
241755  return resultobj;
241756 fail:
241757  return NULL;
241758 }
241759 
241760 
241761 SWIGINTERN PyObject *_wrap_ForceStimulus_TorqueYEquation(PyObject *self, PyObject *args) {
241762  int argc;
241763  PyObject *argv[3];
241764  int ii;
241765 
241766  if (!PyTuple_Check(args)) SWIG_fail;
241767  argc = args ? (int)PyObject_Length(args) : 0;
241768  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
241769  argv[ii] = PyTuple_GET_ITEM(args,ii);
241770  }
241771  if (argc == 1) {
241772  int _v;
241773  void *vptr = 0;
241774  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
241775  _v = SWIG_CheckState(res);
241776  if (_v) {
241777  return _wrap_ForceStimulus_TorqueYEquation__SWIG_0(self, args);
241778  }
241779  }
241780  if (argc == 2) {
241781  int _v;
241782  void *vptr = 0;
241783  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
241784  _v = SWIG_CheckState(res);
241785  if (_v) {
241786  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
241787  _v = SWIG_CheckState(res);
241788  if (_v) {
241789  return _wrap_ForceStimulus_TorqueYEquation__SWIG_1(self, args);
241790  }
241791  }
241792  }
241793 
241794 fail:
241795  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ForceStimulus_TorqueYEquation'.\n"
241796  " Possible C/C++ prototypes are:\n"
241797  " AnimatSim::ExternalStimuli::ForceStimulus::TorqueYEquation()\n"
241798  " AnimatSim::ExternalStimuli::ForceStimulus::TorqueYEquation(std::string)\n");
241799  return 0;
241800 }
241801 
241802 
241803 SWIGINTERN PyObject *_wrap_ForceStimulus_TorqueZEquation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241804  PyObject *resultobj = 0;
241806  std::string arg2 ;
241807  void *argp1 = 0 ;
241808  int res1 = 0 ;
241809  PyObject * obj0 = 0 ;
241810  PyObject * obj1 = 0 ;
241811 
241812  if (!PyArg_ParseTuple(args,(char *)"OO:ForceStimulus_TorqueZEquation",&obj0,&obj1)) SWIG_fail;
241813  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241814  if (!SWIG_IsOK(res1)) {
241815  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_TorqueZEquation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241816  }
241817  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241818  {
241819  std::string *ptr = (std::string *)0;
241820  int res = SWIG_AsPtr_std_string(obj1, &ptr);
241821  if (!SWIG_IsOK(res) || !ptr) {
241822  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ForceStimulus_TorqueZEquation" "', argument " "2"" of type '" "std::string""'");
241823  }
241824  arg2 = *ptr;
241825  if (SWIG_IsNewObj(res)) delete ptr;
241826  }
241827  {
241828  try {
241829  (arg1)->TorqueZEquation(arg2);
241830  }
241831  catch(CStdErrorInfo oError)
241832  {
241833  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241834  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
241835  PyErr_SetString(PyExc_IndexError, strError.c_str());
241836  SWIG_fail;
241837  }
241838  catch(...)
241839  {
241840  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241841  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
241842  SWIG_fail;
241843  }
241844  }
241845  resultobj = SWIG_Py_Void();
241846  return resultobj;
241847 fail:
241848  return NULL;
241849 }
241850 
241851 
241852 SWIGINTERN PyObject *_wrap_ForceStimulus_TorqueZEquation(PyObject *self, PyObject *args) {
241853  int argc;
241854  PyObject *argv[3];
241855  int ii;
241856 
241857  if (!PyTuple_Check(args)) SWIG_fail;
241858  argc = args ? (int)PyObject_Length(args) : 0;
241859  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
241860  argv[ii] = PyTuple_GET_ITEM(args,ii);
241861  }
241862  if (argc == 1) {
241863  int _v;
241864  void *vptr = 0;
241865  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
241866  _v = SWIG_CheckState(res);
241867  if (_v) {
241868  return _wrap_ForceStimulus_TorqueZEquation__SWIG_0(self, args);
241869  }
241870  }
241871  if (argc == 2) {
241872  int _v;
241873  void *vptr = 0;
241874  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
241875  _v = SWIG_CheckState(res);
241876  if (_v) {
241877  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
241878  _v = SWIG_CheckState(res);
241879  if (_v) {
241880  return _wrap_ForceStimulus_TorqueZEquation__SWIG_1(self, args);
241881  }
241882  }
241883  }
241884 
241885 fail:
241886  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ForceStimulus_TorqueZEquation'.\n"
241887  " Possible C/C++ prototypes are:\n"
241888  " AnimatSim::ExternalStimuli::ForceStimulus::TorqueZEquation()\n"
241889  " AnimatSim::ExternalStimuli::ForceStimulus::TorqueZEquation(std::string)\n");
241890  return 0;
241891 }
241892 
241893 
241894 SWIGINTERN PyObject *_wrap_ForceStimulus_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241895  PyObject *resultobj = 0;
241897  CStdXml *arg2 = 0 ;
241898  void *argp1 = 0 ;
241899  int res1 = 0 ;
241900  void *argp2 = 0 ;
241901  int res2 = 0 ;
241902  PyObject * obj0 = 0 ;
241903  PyObject * obj1 = 0 ;
241904 
241905  if (!PyArg_ParseTuple(args,(char *)"OO:ForceStimulus_Load",&obj0,&obj1)) SWIG_fail;
241906  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241907  if (!SWIG_IsOK(res1)) {
241908  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_Load" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241909  }
241910  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241911  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
241912  if (!SWIG_IsOK(res2)) {
241913  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ForceStimulus_Load" "', argument " "2"" of type '" "CStdXml &""'");
241914  }
241915  if (!argp2) {
241916  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ForceStimulus_Load" "', argument " "2"" of type '" "CStdXml &""'");
241917  }
241918  arg2 = reinterpret_cast< CStdXml * >(argp2);
241919  {
241920  try {
241921  (arg1)->Load(*arg2);
241922  }
241923  catch(CStdErrorInfo oError)
241924  {
241925  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241926  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
241927  PyErr_SetString(PyExc_IndexError, strError.c_str());
241928  SWIG_fail;
241929  }
241930  catch(...)
241931  {
241932  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241933  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
241934  SWIG_fail;
241935  }
241936  }
241937  resultobj = SWIG_Py_Void();
241938  return resultobj;
241939 fail:
241940  return NULL;
241941 }
241942 
241943 
241944 SWIGINTERN PyObject *_wrap_ForceStimulus_Type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241945  PyObject *resultobj = 0;
241947  void *argp1 = 0 ;
241948  int res1 = 0 ;
241949  PyObject * obj0 = 0 ;
241950  std::string result;
241951 
241952  if (!PyArg_ParseTuple(args,(char *)"O:ForceStimulus_Type",&obj0)) SWIG_fail;
241953  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241954  if (!SWIG_IsOK(res1)) {
241955  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_Type" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241956  }
241957  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241958  {
241959  try {
241960  result = (arg1)->Type();
241961  }
241962  catch(CStdErrorInfo oError)
241963  {
241964  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241965  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
241966  PyErr_SetString(PyExc_IndexError, strError.c_str());
241967  SWIG_fail;
241968  }
241969  catch(...)
241970  {
241971  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
241972  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
241973  SWIG_fail;
241974  }
241975  }
241976  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
241977  return resultobj;
241978 fail:
241979  return NULL;
241980 }
241981 
241982 
241983 SWIGINTERN PyObject *_wrap_ForceStimulus_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
241984  PyObject *resultobj = 0;
241986  void *argp1 = 0 ;
241987  int res1 = 0 ;
241988  PyObject * obj0 = 0 ;
241989 
241990  if (!PyArg_ParseTuple(args,(char *)"O:ForceStimulus_Initialize",&obj0)) SWIG_fail;
241991  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
241992  if (!SWIG_IsOK(res1)) {
241993  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_Initialize" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
241994  }
241995  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
241996  {
241997  try {
241998  (arg1)->Initialize();
241999  }
242000  catch(CStdErrorInfo oError)
242001  {
242002  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242003  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242004  PyErr_SetString(PyExc_IndexError, strError.c_str());
242005  SWIG_fail;
242006  }
242007  catch(...)
242008  {
242009  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242010  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242011  SWIG_fail;
242012  }
242013  }
242014  resultobj = SWIG_Py_Void();
242015  return resultobj;
242016 fail:
242017  return NULL;
242018 }
242019 
242020 
242021 SWIGINTERN PyObject *_wrap_ForceStimulus_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242022  PyObject *resultobj = 0;
242024  void *argp1 = 0 ;
242025  int res1 = 0 ;
242026  PyObject * obj0 = 0 ;
242027 
242028  if (!PyArg_ParseTuple(args,(char *)"O:ForceStimulus_ResetSimulation",&obj0)) SWIG_fail;
242029  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
242030  if (!SWIG_IsOK(res1)) {
242031  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
242032  }
242033  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
242034  {
242035  try {
242036  (arg1)->ResetSimulation();
242037  }
242038  catch(CStdErrorInfo oError)
242039  {
242040  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242041  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242042  PyErr_SetString(PyExc_IndexError, strError.c_str());
242043  SWIG_fail;
242044  }
242045  catch(...)
242046  {
242047  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242048  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242049  SWIG_fail;
242050  }
242051  }
242052  resultobj = SWIG_Py_Void();
242053  return resultobj;
242054 fail:
242055  return NULL;
242056 }
242057 
242058 
242059 SWIGINTERN PyObject *_wrap_ForceStimulus_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242060  PyObject *resultobj = 0;
242062  void *argp1 = 0 ;
242063  int res1 = 0 ;
242064  PyObject * obj0 = 0 ;
242065 
242066  if (!PyArg_ParseTuple(args,(char *)"O:ForceStimulus_StepSimulation",&obj0)) SWIG_fail;
242067  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
242068  if (!SWIG_IsOK(res1)) {
242069  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_StepSimulation" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
242070  }
242071  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
242072  {
242073  try {
242074  (arg1)->StepSimulation();
242075  }
242076  catch(CStdErrorInfo oError)
242077  {
242078  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242079  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242080  PyErr_SetString(PyExc_IndexError, strError.c_str());
242081  SWIG_fail;
242082  }
242083  catch(...)
242084  {
242085  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242086  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242087  SWIG_fail;
242088  }
242089  }
242090  resultobj = SWIG_Py_Void();
242091  return resultobj;
242092 fail:
242093  return NULL;
242094 }
242095 
242096 
242097 SWIGINTERN PyObject *_wrap_ForceStimulus_Deactivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242098  PyObject *resultobj = 0;
242100  void *argp1 = 0 ;
242101  int res1 = 0 ;
242102  PyObject * obj0 = 0 ;
242103 
242104  if (!PyArg_ParseTuple(args,(char *)"O:ForceStimulus_Deactivate",&obj0)) SWIG_fail;
242105  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
242106  if (!SWIG_IsOK(res1)) {
242107  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_Deactivate" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
242108  }
242109  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
242110  {
242111  try {
242112  (arg1)->Deactivate();
242113  }
242114  catch(CStdErrorInfo oError)
242115  {
242116  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242117  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242118  PyErr_SetString(PyExc_IndexError, strError.c_str());
242119  SWIG_fail;
242120  }
242121  catch(...)
242122  {
242123  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242124  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242125  SWIG_fail;
242126  }
242127  }
242128  resultobj = SWIG_Py_Void();
242129  return resultobj;
242130 fail:
242131  return NULL;
242132 }
242133 
242134 
242135 SWIGINTERN PyObject *_wrap_ForceStimulus_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242136  PyObject *resultobj = 0;
242138  std::string *arg2 = 0 ;
242139  void *argp1 = 0 ;
242140  int res1 = 0 ;
242141  int res2 = SWIG_OLDOBJ ;
242142  PyObject * obj0 = 0 ;
242143  PyObject * obj1 = 0 ;
242144  float *result = 0 ;
242145 
242146  if (!PyArg_ParseTuple(args,(char *)"OO:ForceStimulus_GetDataPointer",&obj0,&obj1)) SWIG_fail;
242147  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
242148  if (!SWIG_IsOK(res1)) {
242149  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
242150  }
242151  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
242152  {
242153  std::string *ptr = (std::string *)0;
242154  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
242155  if (!SWIG_IsOK(res2)) {
242156  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ForceStimulus_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
242157  }
242158  if (!ptr) {
242159  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ForceStimulus_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
242160  }
242161  arg2 = ptr;
242162  }
242163  {
242164  try {
242165  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
242166  }
242167  catch(CStdErrorInfo oError)
242168  {
242169  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242170  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242171  PyErr_SetString(PyExc_IndexError, strError.c_str());
242172  SWIG_fail;
242173  }
242174  catch(...)
242175  {
242176  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242177  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242178  SWIG_fail;
242179  }
242180  }
242181  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
242182  if (SWIG_IsNewObj(res2)) delete arg2;
242183  return resultobj;
242184 fail:
242185  if (SWIG_IsNewObj(res2)) delete arg2;
242186  return NULL;
242187 }
242188 
242189 
242190 SWIGINTERN PyObject *_wrap_ForceStimulus_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242191  PyObject *resultobj = 0;
242193  std::string *arg2 = 0 ;
242194  std::string *arg3 = 0 ;
242195  bool arg4 ;
242196  void *argp1 = 0 ;
242197  int res1 = 0 ;
242198  int res2 = SWIG_OLDOBJ ;
242199  int res3 = SWIG_OLDOBJ ;
242200  bool val4 ;
242201  int ecode4 = 0 ;
242202  PyObject * obj0 = 0 ;
242203  PyObject * obj1 = 0 ;
242204  PyObject * obj2 = 0 ;
242205  PyObject * obj3 = 0 ;
242206  bool result;
242207 
242208  if (!PyArg_ParseTuple(args,(char *)"OOOO:ForceStimulus_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
242209  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
242210  if (!SWIG_IsOK(res1)) {
242211  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
242212  }
242213  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
242214  {
242215  std::string *ptr = (std::string *)0;
242216  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
242217  if (!SWIG_IsOK(res2)) {
242218  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ForceStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
242219  }
242220  if (!ptr) {
242221  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ForceStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
242222  }
242223  arg2 = ptr;
242224  }
242225  {
242226  std::string *ptr = (std::string *)0;
242227  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
242228  if (!SWIG_IsOK(res3)) {
242229  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ForceStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
242230  }
242231  if (!ptr) {
242232  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ForceStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
242233  }
242234  arg3 = ptr;
242235  }
242236  ecode4 = SWIG_AsVal_bool(obj3, &val4);
242237  if (!SWIG_IsOK(ecode4)) {
242238  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ForceStimulus_SetData" "', argument " "4"" of type '" "bool""'");
242239  }
242240  arg4 = static_cast< bool >(val4);
242241  {
242242  try {
242243  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
242244  }
242245  catch(CStdErrorInfo oError)
242246  {
242247  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242248  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242249  PyErr_SetString(PyExc_IndexError, strError.c_str());
242250  SWIG_fail;
242251  }
242252  catch(...)
242253  {
242254  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242255  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242256  SWIG_fail;
242257  }
242258  }
242259  resultobj = SWIG_From_bool(static_cast< bool >(result));
242260  if (SWIG_IsNewObj(res2)) delete arg2;
242261  if (SWIG_IsNewObj(res3)) delete arg3;
242262  return resultobj;
242263 fail:
242264  if (SWIG_IsNewObj(res2)) delete arg2;
242265  if (SWIG_IsNewObj(res3)) delete arg3;
242266  return NULL;
242267 }
242268 
242269 
242270 SWIGINTERN PyObject *_wrap_ForceStimulus_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242271  PyObject *resultobj = 0;
242273  std::string *arg2 = 0 ;
242274  std::string *arg3 = 0 ;
242275  void *argp1 = 0 ;
242276  int res1 = 0 ;
242277  int res2 = SWIG_OLDOBJ ;
242278  int res3 = SWIG_OLDOBJ ;
242279  PyObject * obj0 = 0 ;
242280  PyObject * obj1 = 0 ;
242281  PyObject * obj2 = 0 ;
242282  bool result;
242283 
242284  if (!PyArg_ParseTuple(args,(char *)"OOO:ForceStimulus_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
242285  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
242286  if (!SWIG_IsOK(res1)) {
242287  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_SetData" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
242288  }
242289  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
242290  {
242291  std::string *ptr = (std::string *)0;
242292  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
242293  if (!SWIG_IsOK(res2)) {
242294  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ForceStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
242295  }
242296  if (!ptr) {
242297  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ForceStimulus_SetData" "', argument " "2"" of type '" "std::string const &""'");
242298  }
242299  arg2 = ptr;
242300  }
242301  {
242302  std::string *ptr = (std::string *)0;
242303  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
242304  if (!SWIG_IsOK(res3)) {
242305  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ForceStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
242306  }
242307  if (!ptr) {
242308  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ForceStimulus_SetData" "', argument " "3"" of type '" "std::string const &""'");
242309  }
242310  arg3 = ptr;
242311  }
242312  {
242313  try {
242314  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
242315  }
242316  catch(CStdErrorInfo oError)
242317  {
242318  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242319  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242320  PyErr_SetString(PyExc_IndexError, strError.c_str());
242321  SWIG_fail;
242322  }
242323  catch(...)
242324  {
242325  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242326  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242327  SWIG_fail;
242328  }
242329  }
242330  resultobj = SWIG_From_bool(static_cast< bool >(result));
242331  if (SWIG_IsNewObj(res2)) delete arg2;
242332  if (SWIG_IsNewObj(res3)) delete arg3;
242333  return resultobj;
242334 fail:
242335  if (SWIG_IsNewObj(res2)) delete arg2;
242336  if (SWIG_IsNewObj(res3)) delete arg3;
242337  return NULL;
242338 }
242339 
242340 
242341 SWIGINTERN PyObject *_wrap_ForceStimulus_SetData(PyObject *self, PyObject *args) {
242342  int argc;
242343  PyObject *argv[5];
242344  int ii;
242345 
242346  if (!PyTuple_Check(args)) SWIG_fail;
242347  argc = args ? (int)PyObject_Length(args) : 0;
242348  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
242349  argv[ii] = PyTuple_GET_ITEM(args,ii);
242350  }
242351  if (argc == 3) {
242352  int _v;
242353  void *vptr = 0;
242354  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
242355  _v = SWIG_CheckState(res);
242356  if (_v) {
242357  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
242358  _v = SWIG_CheckState(res);
242359  if (_v) {
242360  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
242361  _v = SWIG_CheckState(res);
242362  if (_v) {
242363  return _wrap_ForceStimulus_SetData__SWIG_1(self, args);
242364  }
242365  }
242366  }
242367  }
242368  if (argc == 4) {
242369  int _v;
242370  void *vptr = 0;
242371  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0);
242372  _v = SWIG_CheckState(res);
242373  if (_v) {
242374  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
242375  _v = SWIG_CheckState(res);
242376  if (_v) {
242377  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
242378  _v = SWIG_CheckState(res);
242379  if (_v) {
242380  {
242381  int res = SWIG_AsVal_bool(argv[3], NULL);
242382  _v = SWIG_CheckState(res);
242383  }
242384  if (_v) {
242385  return _wrap_ForceStimulus_SetData__SWIG_0(self, args);
242386  }
242387  }
242388  }
242389  }
242390  }
242391 
242392 fail:
242393  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ForceStimulus_SetData'.\n"
242394  " Possible C/C++ prototypes are:\n"
242395  " AnimatSim::ExternalStimuli::ForceStimulus::SetData(std::string const &,std::string const &,bool)\n"
242396  " AnimatSim::ExternalStimuli::ForceStimulus::SetData(std::string const &,std::string const &)\n");
242397  return 0;
242398 }
242399 
242400 
242401 SWIGINTERN PyObject *_wrap_ForceStimulus_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242402  PyObject *resultobj = 0;
242404  CStdPtrArray< TypeProperty > *arg2 = 0 ;
242405  void *argp1 = 0 ;
242406  int res1 = 0 ;
242407  void *argp2 = 0 ;
242408  int res2 = 0 ;
242409  PyObject * obj0 = 0 ;
242410  PyObject * obj1 = 0 ;
242411 
242412  if (!PyArg_ParseTuple(args,(char *)"OO:ForceStimulus_QueryProperties",&obj0,&obj1)) SWIG_fail;
242413  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, 0 | 0 );
242414  if (!SWIG_IsOK(res1)) {
242415  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForceStimulus_QueryProperties" "', argument " "1"" of type '" "AnimatSim::ExternalStimuli::ForceStimulus *""'");
242416  }
242417  arg1 = reinterpret_cast< AnimatSim::ExternalStimuli::ForceStimulus * >(argp1);
242418  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
242419  if (!SWIG_IsOK(res2)) {
242420  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ForceStimulus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
242421  }
242422  if (!argp2) {
242423  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ForceStimulus_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
242424  }
242425  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
242426  {
242427  try {
242428  (arg1)->QueryProperties(*arg2);
242429  }
242430  catch(CStdErrorInfo oError)
242431  {
242432  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242433  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242434  PyErr_SetString(PyExc_IndexError, strError.c_str());
242435  SWIG_fail;
242436  }
242437  catch(...)
242438  {
242439  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242440  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242441  SWIG_fail;
242442  }
242443  }
242444  resultobj = SWIG_Py_Void();
242445  return resultobj;
242446 fail:
242447  return NULL;
242448 }
242449 
242450 
242451 SWIGINTERN PyObject *ForceStimulus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242452  PyObject *obj;
242453  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
242454  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus, SWIG_NewClientData(obj));
242455  return SWIG_Py_Void();
242456 }
242457 
242458 SWIGINTERN PyObject *_wrap_delete_KeyFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242459  PyObject *resultobj = 0;
242461  void *argp1 = 0 ;
242462  int res1 = 0 ;
242463  PyObject * obj0 = 0 ;
242464 
242465  if (!PyArg_ParseTuple(args,(char *)"O:delete_KeyFrame",&obj0)) SWIG_fail;
242466  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__KeyFrame, SWIG_POINTER_DISOWN | 0 );
242467  if (!SWIG_IsOK(res1)) {
242468  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KeyFrame" "', argument " "1"" of type '" "AnimatSim::Recording::KeyFrame *""'");
242469  }
242470  arg1 = reinterpret_cast< AnimatSim::Recording::KeyFrame * >(argp1);
242471  {
242472  try {
242473  delete arg1;
242474  }
242475  catch(CStdErrorInfo oError)
242476  {
242477  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242478  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242479  PyErr_SetString(PyExc_IndexError, strError.c_str());
242480  SWIG_fail;
242481  }
242482  catch(...)
242483  {
242484  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242485  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242486  SWIG_fail;
242487  }
242488  }
242489  resultobj = SWIG_Py_Void();
242490  return resultobj;
242491 fail:
242492  return NULL;
242493 }
242494 
242495 
242496 SWIGINTERN PyObject *_wrap_KeyFrame_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242497  PyObject *resultobj = 0;
242499  void *argp1 = 0 ;
242500  int res1 = 0 ;
242501  PyObject * obj0 = 0 ;
242502  AnimatSim::Recording::KeyFrame *result = 0 ;
242503 
242504  if (!PyArg_ParseTuple(args,(char *)"O:KeyFrame_CastToDerived",&obj0)) SWIG_fail;
242505  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
242506  if (!SWIG_IsOK(res1)) {
242507  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyFrame_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
242508  }
242509  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
242510  {
242511  try {
242512  result = (AnimatSim::Recording::KeyFrame *)AnimatSim::Recording::KeyFrame::CastToDerived(arg1);
242513  }
242514  catch(CStdErrorInfo oError)
242515  {
242516  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242517  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242518  PyErr_SetString(PyExc_IndexError, strError.c_str());
242519  SWIG_fail;
242520  }
242521  catch(...)
242522  {
242523  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242524  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242525  SWIG_fail;
242526  }
242527  }
242528  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
242529  return resultobj;
242530 fail:
242531  return NULL;
242532 }
242533 
242534 
242535 SWIGINTERN PyObject *_wrap_KeyFrame_CollectInterval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242536  PyObject *resultobj = 0;
242538  void *argp1 = 0 ;
242539  int res1 = 0 ;
242540  PyObject * obj0 = 0 ;
242541  int result;
242542 
242543  if (!PyArg_ParseTuple(args,(char *)"O:KeyFrame_CollectInterval",&obj0)) SWIG_fail;
242544  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
242545  if (!SWIG_IsOK(res1)) {
242546  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyFrame_CollectInterval" "', argument " "1"" of type '" "AnimatSim::Recording::KeyFrame *""'");
242547  }
242548  arg1 = reinterpret_cast< AnimatSim::Recording::KeyFrame * >(argp1);
242549  {
242550  try {
242551  result = (int)(arg1)->CollectInterval();
242552  }
242553  catch(CStdErrorInfo oError)
242554  {
242555  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242556  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242557  PyErr_SetString(PyExc_IndexError, strError.c_str());
242558  SWIG_fail;
242559  }
242560  catch(...)
242561  {
242562  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242563  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242564  SWIG_fail;
242565  }
242566  }
242567  resultobj = SWIG_From_int(static_cast< int >(result));
242568  return resultobj;
242569 fail:
242570  return NULL;
242571 }
242572 
242573 
242574 SWIGINTERN PyObject *_wrap_KeyFrame_CollectInterval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242575  PyObject *resultobj = 0;
242577  int arg2 ;
242578  void *argp1 = 0 ;
242579  int res1 = 0 ;
242580  int val2 ;
242581  int ecode2 = 0 ;
242582  PyObject * obj0 = 0 ;
242583  PyObject * obj1 = 0 ;
242584 
242585  if (!PyArg_ParseTuple(args,(char *)"OO:KeyFrame_CollectInterval",&obj0,&obj1)) SWIG_fail;
242586  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
242587  if (!SWIG_IsOK(res1)) {
242588  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyFrame_CollectInterval" "', argument " "1"" of type '" "AnimatSim::Recording::KeyFrame *""'");
242589  }
242590  arg1 = reinterpret_cast< AnimatSim::Recording::KeyFrame * >(argp1);
242591  ecode2 = SWIG_AsVal_int(obj1, &val2);
242592  if (!SWIG_IsOK(ecode2)) {
242593  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KeyFrame_CollectInterval" "', argument " "2"" of type '" "int""'");
242594  }
242595  arg2 = static_cast< int >(val2);
242596  {
242597  try {
242598  (arg1)->CollectInterval(arg2);
242599  }
242600  catch(CStdErrorInfo oError)
242601  {
242602  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242603  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242604  PyErr_SetString(PyExc_IndexError, strError.c_str());
242605  SWIG_fail;
242606  }
242607  catch(...)
242608  {
242609  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242610  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242611  SWIG_fail;
242612  }
242613  }
242614  resultobj = SWIG_Py_Void();
242615  return resultobj;
242616 fail:
242617  return NULL;
242618 }
242619 
242620 
242621 SWIGINTERN PyObject *_wrap_KeyFrame_CollectInterval(PyObject *self, PyObject *args) {
242622  int argc;
242623  PyObject *argv[3];
242624  int ii;
242625 
242626  if (!PyTuple_Check(args)) SWIG_fail;
242627  argc = args ? (int)PyObject_Length(args) : 0;
242628  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
242629  argv[ii] = PyTuple_GET_ITEM(args,ii);
242630  }
242631  if (argc == 1) {
242632  int _v;
242633  void *vptr = 0;
242634  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0);
242635  _v = SWIG_CheckState(res);
242636  if (_v) {
242637  return _wrap_KeyFrame_CollectInterval__SWIG_0(self, args);
242638  }
242639  }
242640  if (argc == 2) {
242641  int _v;
242642  void *vptr = 0;
242643  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0);
242644  _v = SWIG_CheckState(res);
242645  if (_v) {
242646  {
242647  int res = SWIG_AsVal_int(argv[1], NULL);
242648  _v = SWIG_CheckState(res);
242649  }
242650  if (_v) {
242651  return _wrap_KeyFrame_CollectInterval__SWIG_1(self, args);
242652  }
242653  }
242654  }
242655 
242656 fail:
242657  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'KeyFrame_CollectInterval'.\n"
242658  " Possible C/C++ prototypes are:\n"
242659  " AnimatSim::Recording::KeyFrame::CollectInterval()\n"
242660  " AnimatSim::Recording::KeyFrame::CollectInterval(int)\n");
242661  return 0;
242662 }
242663 
242664 
242665 SWIGINTERN PyObject *_wrap_KeyFrame_GenerateID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242666  PyObject *resultobj = 0;
242668  void *argp1 = 0 ;
242669  int res1 = 0 ;
242670  PyObject * obj0 = 0 ;
242671 
242672  if (!PyArg_ParseTuple(args,(char *)"O:KeyFrame_GenerateID",&obj0)) SWIG_fail;
242673  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
242674  if (!SWIG_IsOK(res1)) {
242675  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyFrame_GenerateID" "', argument " "1"" of type '" "AnimatSim::Recording::KeyFrame *""'");
242676  }
242677  arg1 = reinterpret_cast< AnimatSim::Recording::KeyFrame * >(argp1);
242678  {
242679  try {
242680  (arg1)->GenerateID();
242681  }
242682  catch(CStdErrorInfo oError)
242683  {
242684  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242685  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242686  PyErr_SetString(PyExc_IndexError, strError.c_str());
242687  SWIG_fail;
242688  }
242689  catch(...)
242690  {
242691  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242692  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242693  SWIG_fail;
242694  }
242695  }
242696  resultobj = SWIG_Py_Void();
242697  return resultobj;
242698 fail:
242699  return NULL;
242700 }
242701 
242702 
242703 SWIGINTERN PyObject *_wrap_KeyFrame_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242704  PyObject *resultobj = 0;
242706  CStdXml *arg2 = 0 ;
242707  void *argp1 = 0 ;
242708  int res1 = 0 ;
242709  void *argp2 = 0 ;
242710  int res2 = 0 ;
242711  PyObject * obj0 = 0 ;
242712  PyObject * obj1 = 0 ;
242713 
242714  if (!PyArg_ParseTuple(args,(char *)"OO:KeyFrame_Load",&obj0,&obj1)) SWIG_fail;
242715  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
242716  if (!SWIG_IsOK(res1)) {
242717  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyFrame_Load" "', argument " "1"" of type '" "AnimatSim::Recording::KeyFrame *""'");
242718  }
242719  arg1 = reinterpret_cast< AnimatSim::Recording::KeyFrame * >(argp1);
242720  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
242721  if (!SWIG_IsOK(res2)) {
242722  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KeyFrame_Load" "', argument " "2"" of type '" "CStdXml &""'");
242723  }
242724  if (!argp2) {
242725  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KeyFrame_Load" "', argument " "2"" of type '" "CStdXml &""'");
242726  }
242727  arg2 = reinterpret_cast< CStdXml * >(argp2);
242728  {
242729  try {
242730  (arg1)->Load(*arg2);
242731  }
242732  catch(CStdErrorInfo oError)
242733  {
242734  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242735  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242736  PyErr_SetString(PyExc_IndexError, strError.c_str());
242737  SWIG_fail;
242738  }
242739  catch(...)
242740  {
242741  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242742  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242743  SWIG_fail;
242744  }
242745  }
242746  resultobj = SWIG_Py_Void();
242747  return resultobj;
242748 fail:
242749  return NULL;
242750 }
242751 
242752 
242753 SWIGINTERN PyObject *_wrap_KeyFrame___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242754  PyObject *resultobj = 0;
242757  void *argp1 = 0 ;
242758  int res1 = 0 ;
242759  void *argp2 = 0 ;
242760  int res2 = 0 ;
242761  PyObject * obj0 = 0 ;
242762  PyObject * obj1 = 0 ;
242763  bool result;
242764 
242765  if (!PyArg_ParseTuple(args,(char *)"OO:KeyFrame___lt__",&obj0,&obj1)) SWIG_fail;
242766  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
242767  if (!SWIG_IsOK(res1)) {
242768  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyFrame___lt__" "', argument " "1"" of type '" "AnimatSim::Recording::KeyFrame *""'");
242769  }
242770  arg1 = reinterpret_cast< AnimatSim::Recording::KeyFrame * >(argp1);
242771  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
242772  if (!SWIG_IsOK(res2)) {
242773  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KeyFrame___lt__" "', argument " "2"" of type '" "AnimatSim::ActivatedItem *""'");
242774  }
242775  arg2 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp2);
242776  {
242777  try {
242778  result = (bool)(arg1)->operator <(arg2);
242779  }
242780  catch(CStdErrorInfo oError)
242781  {
242782  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242783  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242784  PyErr_SetString(PyExc_IndexError, strError.c_str());
242785  SWIG_fail;
242786  }
242787  catch(...)
242788  {
242789  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242790  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242791  SWIG_fail;
242792  }
242793  }
242794  resultobj = SWIG_From_bool(static_cast< bool >(result));
242795  return resultobj;
242796 fail:
242797  return NULL;
242798 }
242799 
242800 
242801 SWIGINTERN PyObject *_wrap_KeyFrame_EnableVideoPlayback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242802  PyObject *resultobj = 0;
242804  void *argp1 = 0 ;
242805  int res1 = 0 ;
242806  PyObject * obj0 = 0 ;
242807 
242808  if (!PyArg_ParseTuple(args,(char *)"O:KeyFrame_EnableVideoPlayback",&obj0)) SWIG_fail;
242809  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
242810  if (!SWIG_IsOK(res1)) {
242811  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyFrame_EnableVideoPlayback" "', argument " "1"" of type '" "AnimatSim::Recording::KeyFrame *""'");
242812  }
242813  arg1 = reinterpret_cast< AnimatSim::Recording::KeyFrame * >(argp1);
242814  {
242815  try {
242816  (arg1)->EnableVideoPlayback();
242817  }
242818  catch(CStdErrorInfo oError)
242819  {
242820  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242821  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242822  PyErr_SetString(PyExc_IndexError, strError.c_str());
242823  SWIG_fail;
242824  }
242825  catch(...)
242826  {
242827  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242828  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242829  SWIG_fail;
242830  }
242831  }
242832  resultobj = SWIG_Py_Void();
242833  return resultobj;
242834 fail:
242835  return NULL;
242836 }
242837 
242838 
242839 SWIGINTERN PyObject *_wrap_KeyFrame_DisableVideoPlayback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242840  PyObject *resultobj = 0;
242842  void *argp1 = 0 ;
242843  int res1 = 0 ;
242844  PyObject * obj0 = 0 ;
242845 
242846  if (!PyArg_ParseTuple(args,(char *)"O:KeyFrame_DisableVideoPlayback",&obj0)) SWIG_fail;
242847  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
242848  if (!SWIG_IsOK(res1)) {
242849  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyFrame_DisableVideoPlayback" "', argument " "1"" of type '" "AnimatSim::Recording::KeyFrame *""'");
242850  }
242851  arg1 = reinterpret_cast< AnimatSim::Recording::KeyFrame * >(argp1);
242852  {
242853  try {
242854  (arg1)->DisableVideoPlayback();
242855  }
242856  catch(CStdErrorInfo oError)
242857  {
242858  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242859  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242860  PyErr_SetString(PyExc_IndexError, strError.c_str());
242861  SWIG_fail;
242862  }
242863  catch(...)
242864  {
242865  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242866  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242867  SWIG_fail;
242868  }
242869  }
242870  resultobj = SWIG_Py_Void();
242871  return resultobj;
242872 fail:
242873  return NULL;
242874 }
242875 
242876 
242877 SWIGINTERN PyObject *_wrap_KeyFrame_StartVideoPlayback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242878  PyObject *resultobj = 0;
242880  void *argp1 = 0 ;
242881  int res1 = 0 ;
242882  PyObject * obj0 = 0 ;
242883 
242884  if (!PyArg_ParseTuple(args,(char *)"O:KeyFrame_StartVideoPlayback",&obj0)) SWIG_fail;
242885  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
242886  if (!SWIG_IsOK(res1)) {
242887  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyFrame_StartVideoPlayback" "', argument " "1"" of type '" "AnimatSim::Recording::KeyFrame *""'");
242888  }
242889  arg1 = reinterpret_cast< AnimatSim::Recording::KeyFrame * >(argp1);
242890  {
242891  try {
242892  (arg1)->StartVideoPlayback();
242893  }
242894  catch(CStdErrorInfo oError)
242895  {
242896  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242897  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242898  PyErr_SetString(PyExc_IndexError, strError.c_str());
242899  SWIG_fail;
242900  }
242901  catch(...)
242902  {
242903  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242904  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242905  SWIG_fail;
242906  }
242907  }
242908  resultobj = SWIG_Py_Void();
242909  return resultobj;
242910 fail:
242911  return NULL;
242912 }
242913 
242914 
242915 SWIGINTERN PyObject *_wrap_KeyFrame_StopVideoPlayback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242916  PyObject *resultobj = 0;
242918  void *argp1 = 0 ;
242919  int res1 = 0 ;
242920  PyObject * obj0 = 0 ;
242921 
242922  if (!PyArg_ParseTuple(args,(char *)"O:KeyFrame_StopVideoPlayback",&obj0)) SWIG_fail;
242923  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
242924  if (!SWIG_IsOK(res1)) {
242925  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyFrame_StopVideoPlayback" "', argument " "1"" of type '" "AnimatSim::Recording::KeyFrame *""'");
242926  }
242927  arg1 = reinterpret_cast< AnimatSim::Recording::KeyFrame * >(argp1);
242928  {
242929  try {
242930  (arg1)->StopVideoPlayback();
242931  }
242932  catch(CStdErrorInfo oError)
242933  {
242934  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242935  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242936  PyErr_SetString(PyExc_IndexError, strError.c_str());
242937  SWIG_fail;
242938  }
242939  catch(...)
242940  {
242941  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242942  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242943  SWIG_fail;
242944  }
242945  }
242946  resultobj = SWIG_Py_Void();
242947  return resultobj;
242948 fail:
242949  return NULL;
242950 }
242951 
242952 
242953 SWIGINTERN PyObject *_wrap_KeyFrame_PlaybackVideoFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242954  PyObject *resultobj = 0;
242956  void *argp1 = 0 ;
242957  int res1 = 0 ;
242958  PyObject * obj0 = 0 ;
242959 
242960  if (!PyArg_ParseTuple(args,(char *)"O:KeyFrame_PlaybackVideoFrame",&obj0)) SWIG_fail;
242961  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
242962  if (!SWIG_IsOK(res1)) {
242963  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyFrame_PlaybackVideoFrame" "', argument " "1"" of type '" "AnimatSim::Recording::KeyFrame *""'");
242964  }
242965  arg1 = reinterpret_cast< AnimatSim::Recording::KeyFrame * >(argp1);
242966  {
242967  try {
242968  (arg1)->PlaybackVideoFrame();
242969  }
242970  catch(CStdErrorInfo oError)
242971  {
242972  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242973  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
242974  PyErr_SetString(PyExc_IndexError, strError.c_str());
242975  SWIG_fail;
242976  }
242977  catch(...)
242978  {
242979  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
242980  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
242981  SWIG_fail;
242982  }
242983  }
242984  resultobj = SWIG_Py_Void();
242985  return resultobj;
242986 fail:
242987  return NULL;
242988 }
242989 
242990 
242991 SWIGINTERN PyObject *_wrap_KeyFrame_StepVideoPlayback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
242992  PyObject *resultobj = 0;
242994  int arg2 ;
242995  void *argp1 = 0 ;
242996  int res1 = 0 ;
242997  int val2 ;
242998  int ecode2 = 0 ;
242999  PyObject * obj0 = 0 ;
243000  PyObject * obj1 = 0 ;
243001 
243002  if (!PyArg_ParseTuple(args,(char *)"OO:KeyFrame_StepVideoPlayback",&obj0,&obj1)) SWIG_fail;
243003  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
243004  if (!SWIG_IsOK(res1)) {
243005  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyFrame_StepVideoPlayback" "', argument " "1"" of type '" "AnimatSim::Recording::KeyFrame *""'");
243006  }
243007  arg1 = reinterpret_cast< AnimatSim::Recording::KeyFrame * >(argp1);
243008  ecode2 = SWIG_AsVal_int(obj1, &val2);
243009  if (!SWIG_IsOK(ecode2)) {
243010  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KeyFrame_StepVideoPlayback" "', argument " "2"" of type '" "int""'");
243011  }
243012  arg2 = static_cast< int >(val2);
243013  {
243014  try {
243015  (arg1)->StepVideoPlayback(arg2);
243016  }
243017  catch(CStdErrorInfo oError)
243018  {
243019  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243020  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243021  PyErr_SetString(PyExc_IndexError, strError.c_str());
243022  SWIG_fail;
243023  }
243024  catch(...)
243025  {
243026  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243027  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243028  SWIG_fail;
243029  }
243030  }
243031  resultobj = SWIG_Py_Void();
243032  return resultobj;
243033 fail:
243034  return NULL;
243035 }
243036 
243037 
243038 SWIGINTERN PyObject *_wrap_KeyFrame_RecordVideoFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243039  PyObject *resultobj = 0;
243041  void *argp1 = 0 ;
243042  int res1 = 0 ;
243043  PyObject * obj0 = 0 ;
243044 
243045  if (!PyArg_ParseTuple(args,(char *)"O:KeyFrame_RecordVideoFrame",&obj0)) SWIG_fail;
243046  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
243047  if (!SWIG_IsOK(res1)) {
243048  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyFrame_RecordVideoFrame" "', argument " "1"" of type '" "AnimatSim::Recording::KeyFrame *""'");
243049  }
243050  arg1 = reinterpret_cast< AnimatSim::Recording::KeyFrame * >(argp1);
243051  {
243052  try {
243053  (arg1)->RecordVideoFrame();
243054  }
243055  catch(CStdErrorInfo oError)
243056  {
243057  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243058  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243059  PyErr_SetString(PyExc_IndexError, strError.c_str());
243060  SWIG_fail;
243061  }
243062  catch(...)
243063  {
243064  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243065  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243066  SWIG_fail;
243067  }
243068  }
243069  resultobj = SWIG_Py_Void();
243070  return resultobj;
243071 fail:
243072  return NULL;
243073 }
243074 
243075 
243076 SWIGINTERN PyObject *_wrap_KeyFrame_SaveVideo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243077  PyObject *resultobj = 0;
243079  std::string arg2 ;
243080  void *argp1 = 0 ;
243081  int res1 = 0 ;
243082  PyObject * obj0 = 0 ;
243083  PyObject * obj1 = 0 ;
243084 
243085  if (!PyArg_ParseTuple(args,(char *)"OO:KeyFrame_SaveVideo",&obj0,&obj1)) SWIG_fail;
243086  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
243087  if (!SWIG_IsOK(res1)) {
243088  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyFrame_SaveVideo" "', argument " "1"" of type '" "AnimatSim::Recording::KeyFrame *""'");
243089  }
243090  arg1 = reinterpret_cast< AnimatSim::Recording::KeyFrame * >(argp1);
243091  {
243092  std::string *ptr = (std::string *)0;
243093  int res = SWIG_AsPtr_std_string(obj1, &ptr);
243094  if (!SWIG_IsOK(res) || !ptr) {
243095  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "KeyFrame_SaveVideo" "', argument " "2"" of type '" "std::string""'");
243096  }
243097  arg2 = *ptr;
243098  if (SWIG_IsNewObj(res)) delete ptr;
243099  }
243100  {
243101  try {
243102  (arg1)->SaveVideo(arg2);
243103  }
243104  catch(CStdErrorInfo oError)
243105  {
243106  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243107  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243108  PyErr_SetString(PyExc_IndexError, strError.c_str());
243109  SWIG_fail;
243110  }
243111  catch(...)
243112  {
243113  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243114  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243115  SWIG_fail;
243116  }
243117  }
243118  resultobj = SWIG_Py_Void();
243119  return resultobj;
243120 fail:
243121  return NULL;
243122 }
243123 
243124 
243125 SWIGINTERN PyObject *_wrap_KeyFrame_MakeCurrentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243126  PyObject *resultobj = 0;
243128  void *argp1 = 0 ;
243129  int res1 = 0 ;
243130  PyObject * obj0 = 0 ;
243131 
243132  if (!PyArg_ParseTuple(args,(char *)"O:KeyFrame_MakeCurrentFrame",&obj0)) SWIG_fail;
243133  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
243134  if (!SWIG_IsOK(res1)) {
243135  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KeyFrame_MakeCurrentFrame" "', argument " "1"" of type '" "AnimatSim::Recording::KeyFrame *""'");
243136  }
243137  arg1 = reinterpret_cast< AnimatSim::Recording::KeyFrame * >(argp1);
243138  {
243139  try {
243140  (arg1)->MakeCurrentFrame();
243141  }
243142  catch(CStdErrorInfo oError)
243143  {
243144  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243145  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243146  PyErr_SetString(PyExc_IndexError, strError.c_str());
243147  SWIG_fail;
243148  }
243149  catch(...)
243150  {
243151  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243152  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243153  SWIG_fail;
243154  }
243155  }
243156  resultobj = SWIG_Py_Void();
243157  return resultobj;
243158 fail:
243159  return NULL;
243160 }
243161 
243162 
243163 SWIGINTERN PyObject *KeyFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243164  PyObject *obj;
243165  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
243166  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Recording__KeyFrame, SWIG_NewClientData(obj));
243167  return SWIG_Py_Void();
243168 }
243169 
243170 SWIGINTERN PyObject *_wrap_new_SimulationRecorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243171  PyObject *resultobj = 0;
243173 
243174  if (!PyArg_ParseTuple(args,(char *)":new_SimulationRecorder")) SWIG_fail;
243175  {
243176  try {
243178  }
243179  catch(CStdErrorInfo oError)
243180  {
243181  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243182  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243183  PyErr_SetString(PyExc_IndexError, strError.c_str());
243184  SWIG_fail;
243185  }
243186  catch(...)
243187  {
243188  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243189  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243190  SWIG_fail;
243191  }
243192  }
243193  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Recording__SimulationRecorder, SWIG_POINTER_NEW | 0 );
243194  return resultobj;
243195 fail:
243196  return NULL;
243197 }
243198 
243199 
243200 SWIGINTERN PyObject *_wrap_delete_SimulationRecorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243201  PyObject *resultobj = 0;
243203  void *argp1 = 0 ;
243204  int res1 = 0 ;
243205  PyObject * obj0 = 0 ;
243206 
243207  if (!PyArg_ParseTuple(args,(char *)"O:delete_SimulationRecorder",&obj0)) SWIG_fail;
243208  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__SimulationRecorder, SWIG_POINTER_DISOWN | 0 );
243209  if (!SWIG_IsOK(res1)) {
243210  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SimulationRecorder" "', argument " "1"" of type '" "AnimatSim::Recording::SimulationRecorder *""'");
243211  }
243212  arg1 = reinterpret_cast< AnimatSim::Recording::SimulationRecorder * >(argp1);
243213  {
243214  try {
243215  delete arg1;
243216  }
243217  catch(CStdErrorInfo oError)
243218  {
243219  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243220  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243221  PyErr_SetString(PyExc_IndexError, strError.c_str());
243222  SWIG_fail;
243223  }
243224  catch(...)
243225  {
243226  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243227  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243228  SWIG_fail;
243229  }
243230  }
243231  resultobj = SWIG_Py_Void();
243232  return resultobj;
243233 fail:
243234  return NULL;
243235 }
243236 
243237 
243238 SWIGINTERN PyObject *_wrap_SimulationRecorder_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243239  PyObject *resultobj = 0;
243241  void *argp1 = 0 ;
243242  int res1 = 0 ;
243243  PyObject * obj0 = 0 ;
243245 
243246  if (!PyArg_ParseTuple(args,(char *)"O:SimulationRecorder_CastToDerived",&obj0)) SWIG_fail;
243247  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
243248  if (!SWIG_IsOK(res1)) {
243249  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationRecorder_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
243250  }
243251  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
243252  {
243253  try {
243254  result = (AnimatSim::Recording::SimulationRecorder *)AnimatSim::Recording::SimulationRecorder::CastToDerived(arg1);
243255  }
243256  catch(CStdErrorInfo oError)
243257  {
243258  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243259  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243260  PyErr_SetString(PyExc_IndexError, strError.c_str());
243261  SWIG_fail;
243262  }
243263  catch(...)
243264  {
243265  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243266  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243267  SWIG_fail;
243268  }
243269  }
243270  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Recording__SimulationRecorder, 0 | 0 );
243271  return resultobj;
243272 fail:
243273  return NULL;
243274 }
243275 
243276 
243277 SWIGINTERN PyObject *_wrap_SimulationRecorder_Add__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243278  PyObject *resultobj = 0;
243281  void *argp1 = 0 ;
243282  int res1 = 0 ;
243283  void *argp2 = 0 ;
243284  int res2 = 0 ;
243285  PyObject * obj0 = 0 ;
243286  PyObject * obj1 = 0 ;
243287 
243288  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationRecorder_Add",&obj0,&obj1)) SWIG_fail;
243289  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__SimulationRecorder, 0 | 0 );
243290  if (!SWIG_IsOK(res1)) {
243291  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationRecorder_Add" "', argument " "1"" of type '" "AnimatSim::Recording::SimulationRecorder *""'");
243292  }
243293  arg1 = reinterpret_cast< AnimatSim::Recording::SimulationRecorder * >(argp1);
243294  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__ActivatedItem, 0 | 0 );
243295  if (!SWIG_IsOK(res2)) {
243296  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimulationRecorder_Add" "', argument " "2"" of type '" "AnimatSim::ActivatedItem *""'");
243297  }
243298  arg2 = reinterpret_cast< AnimatSim::ActivatedItem * >(argp2);
243299  {
243300  try {
243301  (arg1)->Add(arg2);
243302  }
243303  catch(CStdErrorInfo oError)
243304  {
243305  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243306  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243307  PyErr_SetString(PyExc_IndexError, strError.c_str());
243308  SWIG_fail;
243309  }
243310  catch(...)
243311  {
243312  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243313  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243314  SWIG_fail;
243315  }
243316  }
243317  resultobj = SWIG_Py_Void();
243318  return resultobj;
243319 fail:
243320  return NULL;
243321 }
243322 
243323 
243324 SWIGINTERN PyObject *_wrap_SimulationRecorder_Add__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243325  PyObject *resultobj = 0;
243327  std::string arg2 ;
243328  long arg3 ;
243329  long arg4 ;
243330  void *argp1 = 0 ;
243331  int res1 = 0 ;
243332  long val3 ;
243333  int ecode3 = 0 ;
243334  long val4 ;
243335  int ecode4 = 0 ;
243336  PyObject * obj0 = 0 ;
243337  PyObject * obj1 = 0 ;
243338  PyObject * obj2 = 0 ;
243339  PyObject * obj3 = 0 ;
243340  AnimatSim::Recording::KeyFrame *result = 0 ;
243341 
243342  if (!PyArg_ParseTuple(args,(char *)"OOOO:SimulationRecorder_Add",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
243343  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__SimulationRecorder, 0 | 0 );
243344  if (!SWIG_IsOK(res1)) {
243345  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationRecorder_Add" "', argument " "1"" of type '" "AnimatSim::Recording::SimulationRecorder *""'");
243346  }
243347  arg1 = reinterpret_cast< AnimatSim::Recording::SimulationRecorder * >(argp1);
243348  {
243349  std::string *ptr = (std::string *)0;
243350  int res = SWIG_AsPtr_std_string(obj1, &ptr);
243351  if (!SWIG_IsOK(res) || !ptr) {
243352  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationRecorder_Add" "', argument " "2"" of type '" "std::string""'");
243353  }
243354  arg2 = *ptr;
243355  if (SWIG_IsNewObj(res)) delete ptr;
243356  }
243357  ecode3 = SWIG_AsVal_long(obj2, &val3);
243358  if (!SWIG_IsOK(ecode3)) {
243359  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimulationRecorder_Add" "', argument " "3"" of type '" "long""'");
243360  }
243361  arg3 = static_cast< long >(val3);
243362  ecode4 = SWIG_AsVal_long(obj3, &val4);
243363  if (!SWIG_IsOK(ecode4)) {
243364  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SimulationRecorder_Add" "', argument " "4"" of type '" "long""'");
243365  }
243366  arg4 = static_cast< long >(val4);
243367  {
243368  try {
243369  result = (AnimatSim::Recording::KeyFrame *)(arg1)->Add(arg2,arg3,arg4);
243370  }
243371  catch(CStdErrorInfo oError)
243372  {
243373  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243374  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243375  PyErr_SetString(PyExc_IndexError, strError.c_str());
243376  SWIG_fail;
243377  }
243378  catch(...)
243379  {
243380  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243381  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243382  SWIG_fail;
243383  }
243384  }
243385  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Recording__KeyFrame, 0 | 0 );
243386  return resultobj;
243387 fail:
243388  return NULL;
243389 }
243390 
243391 
243392 SWIGINTERN PyObject *_wrap_SimulationRecorder_Add(PyObject *self, PyObject *args) {
243393  int argc;
243394  PyObject *argv[5];
243395  int ii;
243396 
243397  if (!PyTuple_Check(args)) SWIG_fail;
243398  argc = args ? (int)PyObject_Length(args) : 0;
243399  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
243400  argv[ii] = PyTuple_GET_ITEM(args,ii);
243401  }
243402  if (argc == 2) {
243403  int _v;
243404  void *vptr = 0;
243405  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Recording__SimulationRecorder, 0);
243406  _v = SWIG_CheckState(res);
243407  if (_v) {
243408  void *vptr = 0;
243409  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__ActivatedItem, 0);
243410  _v = SWIG_CheckState(res);
243411  if (_v) {
243412  return _wrap_SimulationRecorder_Add__SWIG_0(self, args);
243413  }
243414  }
243415  }
243416  if (argc == 4) {
243417  int _v;
243418  void *vptr = 0;
243419  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Recording__SimulationRecorder, 0);
243420  _v = SWIG_CheckState(res);
243421  if (_v) {
243422  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
243423  _v = SWIG_CheckState(res);
243424  if (_v) {
243425  {
243426  int res = SWIG_AsVal_long(argv[2], NULL);
243427  _v = SWIG_CheckState(res);
243428  }
243429  if (_v) {
243430  {
243431  int res = SWIG_AsVal_long(argv[3], NULL);
243432  _v = SWIG_CheckState(res);
243433  }
243434  if (_v) {
243435  return _wrap_SimulationRecorder_Add__SWIG_1(self, args);
243436  }
243437  }
243438  }
243439  }
243440  }
243441 
243442 fail:
243443  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SimulationRecorder_Add'.\n"
243444  " Possible C/C++ prototypes are:\n"
243445  " AnimatSim::Recording::SimulationRecorder::Add(AnimatSim::ActivatedItem *)\n"
243446  " AnimatSim::Recording::SimulationRecorder::Add(std::string,long,long)\n");
243447  return 0;
243448 }
243449 
243450 
243451 SWIGINTERN PyObject *_wrap_SimulationRecorder_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243452  PyObject *resultobj = 0;
243454  CStdXml *arg2 = 0 ;
243455  void *argp1 = 0 ;
243456  int res1 = 0 ;
243457  void *argp2 = 0 ;
243458  int res2 = 0 ;
243459  PyObject * obj0 = 0 ;
243460  PyObject * obj1 = 0 ;
243461 
243462  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationRecorder_Load",&obj0,&obj1)) SWIG_fail;
243463  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Recording__SimulationRecorder, 0 | 0 );
243464  if (!SWIG_IsOK(res1)) {
243465  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationRecorder_Load" "', argument " "1"" of type '" "AnimatSim::Recording::SimulationRecorder *""'");
243466  }
243467  arg1 = reinterpret_cast< AnimatSim::Recording::SimulationRecorder * >(argp1);
243468  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
243469  if (!SWIG_IsOK(res2)) {
243470  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimulationRecorder_Load" "', argument " "2"" of type '" "CStdXml &""'");
243471  }
243472  if (!argp2) {
243473  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationRecorder_Load" "', argument " "2"" of type '" "CStdXml &""'");
243474  }
243475  arg2 = reinterpret_cast< CStdXml * >(argp2);
243476  {
243477  try {
243478  (arg1)->Load(*arg2);
243479  }
243480  catch(CStdErrorInfo oError)
243481  {
243482  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243483  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243484  PyErr_SetString(PyExc_IndexError, strError.c_str());
243485  SWIG_fail;
243486  }
243487  catch(...)
243488  {
243489  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243490  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243491  SWIG_fail;
243492  }
243493  }
243494  resultobj = SWIG_Py_Void();
243495  return resultobj;
243496 fail:
243497  return NULL;
243498 }
243499 
243500 
243501 SWIGINTERN PyObject *SimulationRecorder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243502  PyObject *obj;
243503  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
243504  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Recording__SimulationRecorder, SWIG_NewClientData(obj));
243505  return SWIG_Py_Void();
243506 }
243507 
243508 SWIGINTERN PyObject *_wrap_delete_MaterialType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243509  PyObject *resultobj = 0;
243511  void *argp1 = 0 ;
243512  int res1 = 0 ;
243513  PyObject * obj0 = 0 ;
243514 
243515  if (!PyArg_ParseTuple(args,(char *)"O:delete_MaterialType",&obj0)) SWIG_fail;
243516  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MaterialType, SWIG_POINTER_DISOWN | 0 );
243517  if (!SWIG_IsOK(res1)) {
243518  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MaterialType" "', argument " "1"" of type '" "AnimatSim::Environment::MaterialType *""'");
243519  }
243520  arg1 = reinterpret_cast< AnimatSim::Environment::MaterialType * >(argp1);
243521  {
243522  try {
243523  delete arg1;
243524  }
243525  catch(CStdErrorInfo oError)
243526  {
243527  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243528  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243529  PyErr_SetString(PyExc_IndexError, strError.c_str());
243530  SWIG_fail;
243531  }
243532  catch(...)
243533  {
243534  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243535  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243536  SWIG_fail;
243537  }
243538  }
243539  resultobj = SWIG_Py_Void();
243540  return resultobj;
243541 fail:
243542  return NULL;
243543 }
243544 
243545 
243546 SWIGINTERN PyObject *_wrap_MaterialType_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243547  PyObject *resultobj = 0;
243549  void *argp1 = 0 ;
243550  int res1 = 0 ;
243551  PyObject * obj0 = 0 ;
243553 
243554  if (!PyArg_ParseTuple(args,(char *)"O:MaterialType_CastToDerived",&obj0)) SWIG_fail;
243555  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
243556  if (!SWIG_IsOK(res1)) {
243557  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MaterialType_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
243558  }
243559  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
243560  {
243561  try {
243562  result = (AnimatSim::Environment::MaterialType *)AnimatSim::Environment::MaterialType::CastToDerived(arg1);
243563  }
243564  catch(CStdErrorInfo oError)
243565  {
243566  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243567  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243568  PyErr_SetString(PyExc_IndexError, strError.c_str());
243569  SWIG_fail;
243570  }
243571  catch(...)
243572  {
243573  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243574  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243575  SWIG_fail;
243576  }
243577  }
243578  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__MaterialType, 0 | 0 );
243579  return resultobj;
243580 fail:
243581  return NULL;
243582 }
243583 
243584 
243585 SWIGINTERN PyObject *_wrap_MaterialType_GetMaterialID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243586  PyObject *resultobj = 0;
243588  std::string arg2 ;
243589  void *argp1 = 0 ;
243590  int res1 = 0 ;
243591  PyObject * obj0 = 0 ;
243592  PyObject * obj1 = 0 ;
243593  int result;
243594 
243595  if (!PyArg_ParseTuple(args,(char *)"OO:MaterialType_GetMaterialID",&obj0,&obj1)) SWIG_fail;
243596  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MaterialType, 0 | 0 );
243597  if (!SWIG_IsOK(res1)) {
243598  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MaterialType_GetMaterialID" "', argument " "1"" of type '" "AnimatSim::Environment::MaterialType *""'");
243599  }
243600  arg1 = reinterpret_cast< AnimatSim::Environment::MaterialType * >(argp1);
243601  {
243602  std::string *ptr = (std::string *)0;
243603  int res = SWIG_AsPtr_std_string(obj1, &ptr);
243604  if (!SWIG_IsOK(res) || !ptr) {
243605  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "MaterialType_GetMaterialID" "', argument " "2"" of type '" "std::string""'");
243606  }
243607  arg2 = *ptr;
243608  if (SWIG_IsNewObj(res)) delete ptr;
243609  }
243610  {
243611  try {
243612  result = (int)(arg1)->GetMaterialID(arg2);
243613  }
243614  catch(CStdErrorInfo oError)
243615  {
243616  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243617  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243618  PyErr_SetString(PyExc_IndexError, strError.c_str());
243619  SWIG_fail;
243620  }
243621  catch(...)
243622  {
243623  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243624  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243625  SWIG_fail;
243626  }
243627  }
243628  resultobj = SWIG_From_int(static_cast< int >(result));
243629  return resultobj;
243630 fail:
243631  return NULL;
243632 }
243633 
243634 
243635 SWIGINTERN PyObject *_wrap_MaterialType_CreateDefaultUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243636  PyObject *resultobj = 0;
243638  void *argp1 = 0 ;
243639  int res1 = 0 ;
243640  PyObject * obj0 = 0 ;
243641 
243642  if (!PyArg_ParseTuple(args,(char *)"O:MaterialType_CreateDefaultUnits",&obj0)) SWIG_fail;
243643  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__MaterialType, 0 | 0 );
243644  if (!SWIG_IsOK(res1)) {
243645  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MaterialType_CreateDefaultUnits" "', argument " "1"" of type '" "AnimatSim::Environment::MaterialType *""'");
243646  }
243647  arg1 = reinterpret_cast< AnimatSim::Environment::MaterialType * >(argp1);
243648  {
243649  try {
243650  (arg1)->CreateDefaultUnits();
243651  }
243652  catch(CStdErrorInfo oError)
243653  {
243654  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243655  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243656  PyErr_SetString(PyExc_IndexError, strError.c_str());
243657  SWIG_fail;
243658  }
243659  catch(...)
243660  {
243661  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243662  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243663  SWIG_fail;
243664  }
243665  }
243666  resultobj = SWIG_Py_Void();
243667  return resultobj;
243668 fail:
243669  return NULL;
243670 }
243671 
243672 
243673 SWIGINTERN PyObject *MaterialType_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243674  PyObject *obj;
243675  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
243676  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__MaterialType, SWIG_NewClientData(obj));
243677  return SWIG_Py_Void();
243678 }
243679 
243680 SWIGINTERN PyObject *_wrap_new_Materials(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243681  PyObject *resultobj = 0;
243682  AnimatSim::Environment::Materials *result = 0 ;
243683 
243684  if (!PyArg_ParseTuple(args,(char *)":new_Materials")) SWIG_fail;
243685  {
243686  try {
243688  }
243689  catch(CStdErrorInfo oError)
243690  {
243691  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243692  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243693  PyErr_SetString(PyExc_IndexError, strError.c_str());
243694  SWIG_fail;
243695  }
243696  catch(...)
243697  {
243698  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243699  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243700  SWIG_fail;
243701  }
243702  }
243703  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Materials, SWIG_POINTER_NEW | 0 );
243704  return resultobj;
243705 fail:
243706  return NULL;
243707 }
243708 
243709 
243710 SWIGINTERN PyObject *_wrap_delete_Materials(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243711  PyObject *resultobj = 0;
243713  void *argp1 = 0 ;
243714  int res1 = 0 ;
243715  PyObject * obj0 = 0 ;
243716 
243717  if (!PyArg_ParseTuple(args,(char *)"O:delete_Materials",&obj0)) SWIG_fail;
243718  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Materials, SWIG_POINTER_DISOWN | 0 );
243719  if (!SWIG_IsOK(res1)) {
243720  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Materials" "', argument " "1"" of type '" "AnimatSim::Environment::Materials *""'");
243721  }
243722  arg1 = reinterpret_cast< AnimatSim::Environment::Materials * >(argp1);
243723  {
243724  try {
243725  delete arg1;
243726  }
243727  catch(CStdErrorInfo oError)
243728  {
243729  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243730  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243731  PyErr_SetString(PyExc_IndexError, strError.c_str());
243732  SWIG_fail;
243733  }
243734  catch(...)
243735  {
243736  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243737  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243738  SWIG_fail;
243739  }
243740  }
243741  resultobj = SWIG_Py_Void();
243742  return resultobj;
243743 fail:
243744  return NULL;
243745 }
243746 
243747 
243748 SWIGINTERN PyObject *_wrap_Materials_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243749  PyObject *resultobj = 0;
243751  void *argp1 = 0 ;
243752  int res1 = 0 ;
243753  PyObject * obj0 = 0 ;
243754  AnimatSim::Environment::Materials *result = 0 ;
243755 
243756  if (!PyArg_ParseTuple(args,(char *)"O:Materials_CastToDerived",&obj0)) SWIG_fail;
243757  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
243758  if (!SWIG_IsOK(res1)) {
243759  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Materials_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
243760  }
243761  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
243762  {
243763  try {
243764  result = (AnimatSim::Environment::Materials *)AnimatSim::Environment::Materials::CastToDerived(arg1);
243765  }
243766  catch(CStdErrorInfo oError)
243767  {
243768  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243769  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243770  PyErr_SetString(PyExc_IndexError, strError.c_str());
243771  SWIG_fail;
243772  }
243773  catch(...)
243774  {
243775  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243776  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243777  SWIG_fail;
243778  }
243779  }
243780  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Environment__Materials, 0 | 0 );
243781  return resultobj;
243782 fail:
243783  return NULL;
243784 }
243785 
243786 
243787 SWIGINTERN PyObject *_wrap_Materials_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243788  PyObject *resultobj = 0;
243790  void *argp1 = 0 ;
243791  int res1 = 0 ;
243792  PyObject * obj0 = 0 ;
243793 
243794  if (!PyArg_ParseTuple(args,(char *)"O:Materials_Reset",&obj0)) SWIG_fail;
243795  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Materials, 0 | 0 );
243796  if (!SWIG_IsOK(res1)) {
243797  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Materials_Reset" "', argument " "1"" of type '" "AnimatSim::Environment::Materials *""'");
243798  }
243799  arg1 = reinterpret_cast< AnimatSim::Environment::Materials * >(argp1);
243800  {
243801  try {
243802  (arg1)->Reset();
243803  }
243804  catch(CStdErrorInfo oError)
243805  {
243806  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243807  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243808  PyErr_SetString(PyExc_IndexError, strError.c_str());
243809  SWIG_fail;
243810  }
243811  catch(...)
243812  {
243813  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243814  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243815  SWIG_fail;
243816  }
243817  }
243818  resultobj = SWIG_Py_Void();
243819  return resultobj;
243820 fail:
243821  return NULL;
243822 }
243823 
243824 
243825 SWIGINTERN PyObject *_wrap_Materials_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243826  PyObject *resultobj = 0;
243828  void *argp1 = 0 ;
243829  int res1 = 0 ;
243830  PyObject * obj0 = 0 ;
243831 
243832  if (!PyArg_ParseTuple(args,(char *)"O:Materials_Initialize",&obj0)) SWIG_fail;
243833  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Materials, 0 | 0 );
243834  if (!SWIG_IsOK(res1)) {
243835  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Materials_Initialize" "', argument " "1"" of type '" "AnimatSim::Environment::Materials *""'");
243836  }
243837  arg1 = reinterpret_cast< AnimatSim::Environment::Materials * >(argp1);
243838  {
243839  try {
243840  (arg1)->Initialize();
243841  }
243842  catch(CStdErrorInfo oError)
243843  {
243844  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243845  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243846  PyErr_SetString(PyExc_IndexError, strError.c_str());
243847  SWIG_fail;
243848  }
243849  catch(...)
243850  {
243851  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243852  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243853  SWIG_fail;
243854  }
243855  }
243856  resultobj = SWIG_Py_Void();
243857  return resultobj;
243858 fail:
243859  return NULL;
243860 }
243861 
243862 
243863 SWIGINTERN PyObject *_wrap_Materials_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243864  PyObject *resultobj = 0;
243866  std::string *arg2 = 0 ;
243867  std::string *arg3 = 0 ;
243868  bool arg4 ;
243869  bool arg5 ;
243870  void *argp1 = 0 ;
243871  int res1 = 0 ;
243872  int res2 = SWIG_OLDOBJ ;
243873  int res3 = SWIG_OLDOBJ ;
243874  bool val4 ;
243875  int ecode4 = 0 ;
243876  bool val5 ;
243877  int ecode5 = 0 ;
243878  PyObject * obj0 = 0 ;
243879  PyObject * obj1 = 0 ;
243880  PyObject * obj2 = 0 ;
243881  PyObject * obj3 = 0 ;
243882  PyObject * obj4 = 0 ;
243883  bool result;
243884 
243885  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Materials_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
243886  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Materials, 0 | 0 );
243887  if (!SWIG_IsOK(res1)) {
243888  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Materials_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::Materials *""'");
243889  }
243890  arg1 = reinterpret_cast< AnimatSim::Environment::Materials * >(argp1);
243891  {
243892  std::string *ptr = (std::string *)0;
243893  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
243894  if (!SWIG_IsOK(res2)) {
243895  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Materials_AddItem" "', argument " "2"" of type '" "std::string const &""'");
243896  }
243897  if (!ptr) {
243898  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Materials_AddItem" "', argument " "2"" of type '" "std::string const &""'");
243899  }
243900  arg2 = ptr;
243901  }
243902  {
243903  std::string *ptr = (std::string *)0;
243904  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
243905  if (!SWIG_IsOK(res3)) {
243906  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Materials_AddItem" "', argument " "3"" of type '" "std::string const &""'");
243907  }
243908  if (!ptr) {
243909  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Materials_AddItem" "', argument " "3"" of type '" "std::string const &""'");
243910  }
243911  arg3 = ptr;
243912  }
243913  ecode4 = SWIG_AsVal_bool(obj3, &val4);
243914  if (!SWIG_IsOK(ecode4)) {
243915  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Materials_AddItem" "', argument " "4"" of type '" "bool""'");
243916  }
243917  arg4 = static_cast< bool >(val4);
243918  ecode5 = SWIG_AsVal_bool(obj4, &val5);
243919  if (!SWIG_IsOK(ecode5)) {
243920  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Materials_AddItem" "', argument " "5"" of type '" "bool""'");
243921  }
243922  arg5 = static_cast< bool >(val5);
243923  {
243924  try {
243925  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
243926  }
243927  catch(CStdErrorInfo oError)
243928  {
243929  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243930  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
243931  PyErr_SetString(PyExc_IndexError, strError.c_str());
243932  SWIG_fail;
243933  }
243934  catch(...)
243935  {
243936  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
243937  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
243938  SWIG_fail;
243939  }
243940  }
243941  resultobj = SWIG_From_bool(static_cast< bool >(result));
243942  if (SWIG_IsNewObj(res2)) delete arg2;
243943  if (SWIG_IsNewObj(res3)) delete arg3;
243944  return resultobj;
243945 fail:
243946  if (SWIG_IsNewObj(res2)) delete arg2;
243947  if (SWIG_IsNewObj(res3)) delete arg3;
243948  return NULL;
243949 }
243950 
243951 
243952 SWIGINTERN PyObject *_wrap_Materials_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
243953  PyObject *resultobj = 0;
243955  std::string *arg2 = 0 ;
243956  std::string *arg3 = 0 ;
243957  bool arg4 ;
243958  void *argp1 = 0 ;
243959  int res1 = 0 ;
243960  int res2 = SWIG_OLDOBJ ;
243961  int res3 = SWIG_OLDOBJ ;
243962  bool val4 ;
243963  int ecode4 = 0 ;
243964  PyObject * obj0 = 0 ;
243965  PyObject * obj1 = 0 ;
243966  PyObject * obj2 = 0 ;
243967  PyObject * obj3 = 0 ;
243968  bool result;
243969 
243970  if (!PyArg_ParseTuple(args,(char *)"OOOO:Materials_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
243971  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Materials, 0 | 0 );
243972  if (!SWIG_IsOK(res1)) {
243973  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Materials_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::Materials *""'");
243974  }
243975  arg1 = reinterpret_cast< AnimatSim::Environment::Materials * >(argp1);
243976  {
243977  std::string *ptr = (std::string *)0;
243978  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
243979  if (!SWIG_IsOK(res2)) {
243980  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Materials_AddItem" "', argument " "2"" of type '" "std::string const &""'");
243981  }
243982  if (!ptr) {
243983  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Materials_AddItem" "', argument " "2"" of type '" "std::string const &""'");
243984  }
243985  arg2 = ptr;
243986  }
243987  {
243988  std::string *ptr = (std::string *)0;
243989  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
243990  if (!SWIG_IsOK(res3)) {
243991  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Materials_AddItem" "', argument " "3"" of type '" "std::string const &""'");
243992  }
243993  if (!ptr) {
243994  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Materials_AddItem" "', argument " "3"" of type '" "std::string const &""'");
243995  }
243996  arg3 = ptr;
243997  }
243998  ecode4 = SWIG_AsVal_bool(obj3, &val4);
243999  if (!SWIG_IsOK(ecode4)) {
244000  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Materials_AddItem" "', argument " "4"" of type '" "bool""'");
244001  }
244002  arg4 = static_cast< bool >(val4);
244003  {
244004  try {
244005  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
244006  }
244007  catch(CStdErrorInfo oError)
244008  {
244009  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244010  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244011  PyErr_SetString(PyExc_IndexError, strError.c_str());
244012  SWIG_fail;
244013  }
244014  catch(...)
244015  {
244016  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244017  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244018  SWIG_fail;
244019  }
244020  }
244021  resultobj = SWIG_From_bool(static_cast< bool >(result));
244022  if (SWIG_IsNewObj(res2)) delete arg2;
244023  if (SWIG_IsNewObj(res3)) delete arg3;
244024  return resultobj;
244025 fail:
244026  if (SWIG_IsNewObj(res2)) delete arg2;
244027  if (SWIG_IsNewObj(res3)) delete arg3;
244028  return NULL;
244029 }
244030 
244031 
244032 SWIGINTERN PyObject *_wrap_Materials_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244033  PyObject *resultobj = 0;
244035  std::string *arg2 = 0 ;
244036  std::string *arg3 = 0 ;
244037  void *argp1 = 0 ;
244038  int res1 = 0 ;
244039  int res2 = SWIG_OLDOBJ ;
244040  int res3 = SWIG_OLDOBJ ;
244041  PyObject * obj0 = 0 ;
244042  PyObject * obj1 = 0 ;
244043  PyObject * obj2 = 0 ;
244044  bool result;
244045 
244046  if (!PyArg_ParseTuple(args,(char *)"OOO:Materials_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
244047  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Materials, 0 | 0 );
244048  if (!SWIG_IsOK(res1)) {
244049  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Materials_AddItem" "', argument " "1"" of type '" "AnimatSim::Environment::Materials *""'");
244050  }
244051  arg1 = reinterpret_cast< AnimatSim::Environment::Materials * >(argp1);
244052  {
244053  std::string *ptr = (std::string *)0;
244054  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
244055  if (!SWIG_IsOK(res2)) {
244056  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Materials_AddItem" "', argument " "2"" of type '" "std::string const &""'");
244057  }
244058  if (!ptr) {
244059  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Materials_AddItem" "', argument " "2"" of type '" "std::string const &""'");
244060  }
244061  arg2 = ptr;
244062  }
244063  {
244064  std::string *ptr = (std::string *)0;
244065  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
244066  if (!SWIG_IsOK(res3)) {
244067  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Materials_AddItem" "', argument " "3"" of type '" "std::string const &""'");
244068  }
244069  if (!ptr) {
244070  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Materials_AddItem" "', argument " "3"" of type '" "std::string const &""'");
244071  }
244072  arg3 = ptr;
244073  }
244074  {
244075  try {
244076  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
244077  }
244078  catch(CStdErrorInfo oError)
244079  {
244080  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244081  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244082  PyErr_SetString(PyExc_IndexError, strError.c_str());
244083  SWIG_fail;
244084  }
244085  catch(...)
244086  {
244087  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244088  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244089  SWIG_fail;
244090  }
244091  }
244092  resultobj = SWIG_From_bool(static_cast< bool >(result));
244093  if (SWIG_IsNewObj(res2)) delete arg2;
244094  if (SWIG_IsNewObj(res3)) delete arg3;
244095  return resultobj;
244096 fail:
244097  if (SWIG_IsNewObj(res2)) delete arg2;
244098  if (SWIG_IsNewObj(res3)) delete arg3;
244099  return NULL;
244100 }
244101 
244102 
244103 SWIGINTERN PyObject *_wrap_Materials_AddItem(PyObject *self, PyObject *args) {
244104  int argc;
244105  PyObject *argv[6];
244106  int ii;
244107 
244108  if (!PyTuple_Check(args)) SWIG_fail;
244109  argc = args ? (int)PyObject_Length(args) : 0;
244110  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
244111  argv[ii] = PyTuple_GET_ITEM(args,ii);
244112  }
244113  if (argc == 3) {
244114  int _v;
244115  void *vptr = 0;
244116  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Materials, 0);
244117  _v = SWIG_CheckState(res);
244118  if (_v) {
244119  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
244120  _v = SWIG_CheckState(res);
244121  if (_v) {
244122  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
244123  _v = SWIG_CheckState(res);
244124  if (_v) {
244125  return _wrap_Materials_AddItem__SWIG_2(self, args);
244126  }
244127  }
244128  }
244129  }
244130  if (argc == 4) {
244131  int _v;
244132  void *vptr = 0;
244133  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Materials, 0);
244134  _v = SWIG_CheckState(res);
244135  if (_v) {
244136  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
244137  _v = SWIG_CheckState(res);
244138  if (_v) {
244139  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
244140  _v = SWIG_CheckState(res);
244141  if (_v) {
244142  {
244143  int res = SWIG_AsVal_bool(argv[3], NULL);
244144  _v = SWIG_CheckState(res);
244145  }
244146  if (_v) {
244147  return _wrap_Materials_AddItem__SWIG_1(self, args);
244148  }
244149  }
244150  }
244151  }
244152  }
244153  if (argc == 5) {
244154  int _v;
244155  void *vptr = 0;
244156  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Materials, 0);
244157  _v = SWIG_CheckState(res);
244158  if (_v) {
244159  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
244160  _v = SWIG_CheckState(res);
244161  if (_v) {
244162  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
244163  _v = SWIG_CheckState(res);
244164  if (_v) {
244165  {
244166  int res = SWIG_AsVal_bool(argv[3], NULL);
244167  _v = SWIG_CheckState(res);
244168  }
244169  if (_v) {
244170  {
244171  int res = SWIG_AsVal_bool(argv[4], NULL);
244172  _v = SWIG_CheckState(res);
244173  }
244174  if (_v) {
244175  return _wrap_Materials_AddItem__SWIG_0(self, args);
244176  }
244177  }
244178  }
244179  }
244180  }
244181  }
244182 
244183 fail:
244184  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Materials_AddItem'.\n"
244185  " Possible C/C++ prototypes are:\n"
244186  " AnimatSim::Environment::Materials::AddItem(std::string const &,std::string const &,bool,bool)\n"
244187  " AnimatSim::Environment::Materials::AddItem(std::string const &,std::string const &,bool)\n"
244188  " AnimatSim::Environment::Materials::AddItem(std::string const &,std::string const &)\n");
244189  return 0;
244190 }
244191 
244192 
244193 SWIGINTERN PyObject *_wrap_Materials_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244194  PyObject *resultobj = 0;
244196  std::string *arg2 = 0 ;
244197  std::string *arg3 = 0 ;
244198  bool arg4 ;
244199  void *argp1 = 0 ;
244200  int res1 = 0 ;
244201  int res2 = SWIG_OLDOBJ ;
244202  int res3 = SWIG_OLDOBJ ;
244203  bool val4 ;
244204  int ecode4 = 0 ;
244205  PyObject * obj0 = 0 ;
244206  PyObject * obj1 = 0 ;
244207  PyObject * obj2 = 0 ;
244208  PyObject * obj3 = 0 ;
244209  bool result;
244210 
244211  if (!PyArg_ParseTuple(args,(char *)"OOOO:Materials_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
244212  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Materials, 0 | 0 );
244213  if (!SWIG_IsOK(res1)) {
244214  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Materials_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Environment::Materials *""'");
244215  }
244216  arg1 = reinterpret_cast< AnimatSim::Environment::Materials * >(argp1);
244217  {
244218  std::string *ptr = (std::string *)0;
244219  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
244220  if (!SWIG_IsOK(res2)) {
244221  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Materials_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
244222  }
244223  if (!ptr) {
244224  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Materials_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
244225  }
244226  arg2 = ptr;
244227  }
244228  {
244229  std::string *ptr = (std::string *)0;
244230  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
244231  if (!SWIG_IsOK(res3)) {
244232  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Materials_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
244233  }
244234  if (!ptr) {
244235  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Materials_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
244236  }
244237  arg3 = ptr;
244238  }
244239  ecode4 = SWIG_AsVal_bool(obj3, &val4);
244240  if (!SWIG_IsOK(ecode4)) {
244241  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Materials_RemoveItem" "', argument " "4"" of type '" "bool""'");
244242  }
244243  arg4 = static_cast< bool >(val4);
244244  {
244245  try {
244246  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
244247  }
244248  catch(CStdErrorInfo oError)
244249  {
244250  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244251  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244252  PyErr_SetString(PyExc_IndexError, strError.c_str());
244253  SWIG_fail;
244254  }
244255  catch(...)
244256  {
244257  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244258  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244259  SWIG_fail;
244260  }
244261  }
244262  resultobj = SWIG_From_bool(static_cast< bool >(result));
244263  if (SWIG_IsNewObj(res2)) delete arg2;
244264  if (SWIG_IsNewObj(res3)) delete arg3;
244265  return resultobj;
244266 fail:
244267  if (SWIG_IsNewObj(res2)) delete arg2;
244268  if (SWIG_IsNewObj(res3)) delete arg3;
244269  return NULL;
244270 }
244271 
244272 
244273 SWIGINTERN PyObject *_wrap_Materials_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244274  PyObject *resultobj = 0;
244276  std::string *arg2 = 0 ;
244277  std::string *arg3 = 0 ;
244278  void *argp1 = 0 ;
244279  int res1 = 0 ;
244280  int res2 = SWIG_OLDOBJ ;
244281  int res3 = SWIG_OLDOBJ ;
244282  PyObject * obj0 = 0 ;
244283  PyObject * obj1 = 0 ;
244284  PyObject * obj2 = 0 ;
244285  bool result;
244286 
244287  if (!PyArg_ParseTuple(args,(char *)"OOO:Materials_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
244288  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Materials, 0 | 0 );
244289  if (!SWIG_IsOK(res1)) {
244290  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Materials_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Environment::Materials *""'");
244291  }
244292  arg1 = reinterpret_cast< AnimatSim::Environment::Materials * >(argp1);
244293  {
244294  std::string *ptr = (std::string *)0;
244295  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
244296  if (!SWIG_IsOK(res2)) {
244297  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Materials_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
244298  }
244299  if (!ptr) {
244300  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Materials_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
244301  }
244302  arg2 = ptr;
244303  }
244304  {
244305  std::string *ptr = (std::string *)0;
244306  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
244307  if (!SWIG_IsOK(res3)) {
244308  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Materials_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
244309  }
244310  if (!ptr) {
244311  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Materials_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
244312  }
244313  arg3 = ptr;
244314  }
244315  {
244316  try {
244317  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
244318  }
244319  catch(CStdErrorInfo oError)
244320  {
244321  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244322  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244323  PyErr_SetString(PyExc_IndexError, strError.c_str());
244324  SWIG_fail;
244325  }
244326  catch(...)
244327  {
244328  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244329  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244330  SWIG_fail;
244331  }
244332  }
244333  resultobj = SWIG_From_bool(static_cast< bool >(result));
244334  if (SWIG_IsNewObj(res2)) delete arg2;
244335  if (SWIG_IsNewObj(res3)) delete arg3;
244336  return resultobj;
244337 fail:
244338  if (SWIG_IsNewObj(res2)) delete arg2;
244339  if (SWIG_IsNewObj(res3)) delete arg3;
244340  return NULL;
244341 }
244342 
244343 
244344 SWIGINTERN PyObject *_wrap_Materials_RemoveItem(PyObject *self, PyObject *args) {
244345  int argc;
244346  PyObject *argv[5];
244347  int ii;
244348 
244349  if (!PyTuple_Check(args)) SWIG_fail;
244350  argc = args ? (int)PyObject_Length(args) : 0;
244351  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
244352  argv[ii] = PyTuple_GET_ITEM(args,ii);
244353  }
244354  if (argc == 3) {
244355  int _v;
244356  void *vptr = 0;
244357  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Materials, 0);
244358  _v = SWIG_CheckState(res);
244359  if (_v) {
244360  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
244361  _v = SWIG_CheckState(res);
244362  if (_v) {
244363  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
244364  _v = SWIG_CheckState(res);
244365  if (_v) {
244366  return _wrap_Materials_RemoveItem__SWIG_1(self, args);
244367  }
244368  }
244369  }
244370  }
244371  if (argc == 4) {
244372  int _v;
244373  void *vptr = 0;
244374  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Environment__Materials, 0);
244375  _v = SWIG_CheckState(res);
244376  if (_v) {
244377  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
244378  _v = SWIG_CheckState(res);
244379  if (_v) {
244380  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
244381  _v = SWIG_CheckState(res);
244382  if (_v) {
244383  {
244384  int res = SWIG_AsVal_bool(argv[3], NULL);
244385  _v = SWIG_CheckState(res);
244386  }
244387  if (_v) {
244388  return _wrap_Materials_RemoveItem__SWIG_0(self, args);
244389  }
244390  }
244391  }
244392  }
244393  }
244394 
244395 fail:
244396  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Materials_RemoveItem'.\n"
244397  " Possible C/C++ prototypes are:\n"
244398  " AnimatSim::Environment::Materials::RemoveItem(std::string const &,std::string const &,bool)\n"
244399  " AnimatSim::Environment::Materials::RemoveItem(std::string const &,std::string const &)\n");
244400  return 0;
244401 }
244402 
244403 
244404 SWIGINTERN PyObject *_wrap_Materials_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244405  PyObject *resultobj = 0;
244407  CStdXml *arg2 = 0 ;
244408  void *argp1 = 0 ;
244409  int res1 = 0 ;
244410  void *argp2 = 0 ;
244411  int res2 = 0 ;
244412  PyObject * obj0 = 0 ;
244413  PyObject * obj1 = 0 ;
244414 
244415  if (!PyArg_ParseTuple(args,(char *)"OO:Materials_Load",&obj0,&obj1)) SWIG_fail;
244416  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Environment__Materials, 0 | 0 );
244417  if (!SWIG_IsOK(res1)) {
244418  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Materials_Load" "', argument " "1"" of type '" "AnimatSim::Environment::Materials *""'");
244419  }
244420  arg1 = reinterpret_cast< AnimatSim::Environment::Materials * >(argp1);
244421  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
244422  if (!SWIG_IsOK(res2)) {
244423  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Materials_Load" "', argument " "2"" of type '" "CStdXml &""'");
244424  }
244425  if (!argp2) {
244426  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Materials_Load" "', argument " "2"" of type '" "CStdXml &""'");
244427  }
244428  arg2 = reinterpret_cast< CStdXml * >(argp2);
244429  {
244430  try {
244431  (arg1)->Load(*arg2);
244432  }
244433  catch(CStdErrorInfo oError)
244434  {
244435  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244436  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244437  PyErr_SetString(PyExc_IndexError, strError.c_str());
244438  SWIG_fail;
244439  }
244440  catch(...)
244441  {
244442  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244443  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244444  SWIG_fail;
244445  }
244446  }
244447  resultobj = SWIG_Py_Void();
244448  return resultobj;
244449 fail:
244450  return NULL;
244451 }
244452 
244453 
244454 SWIGINTERN PyObject *Materials_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244455  PyObject *obj;
244456  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
244457  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Environment__Materials, SWIG_NewClientData(obj));
244458  return SWIG_Py_Void();
244459 }
244460 
244461 SWIGINTERN PyObject *_wrap_delete_HudItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244462  PyObject *resultobj = 0;
244463  AnimatSim::HudItem *arg1 = (AnimatSim::HudItem *) 0 ;
244464  void *argp1 = 0 ;
244465  int res1 = 0 ;
244466  PyObject * obj0 = 0 ;
244467 
244468  if (!PyArg_ParseTuple(args,(char *)"O:delete_HudItem",&obj0)) SWIG_fail;
244469  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__HudItem, SWIG_POINTER_DISOWN | 0 );
244470  if (!SWIG_IsOK(res1)) {
244471  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HudItem" "', argument " "1"" of type '" "AnimatSim::HudItem *""'");
244472  }
244473  arg1 = reinterpret_cast< AnimatSim::HudItem * >(argp1);
244474  {
244475  try {
244476  delete arg1;
244477  }
244478  catch(CStdErrorInfo oError)
244479  {
244480  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244481  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244482  PyErr_SetString(PyExc_IndexError, strError.c_str());
244483  SWIG_fail;
244484  }
244485  catch(...)
244486  {
244487  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244488  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244489  SWIG_fail;
244490  }
244491  }
244492  resultobj = SWIG_Py_Void();
244493  return resultobj;
244494 fail:
244495  return NULL;
244496 }
244497 
244498 
244499 SWIGINTERN PyObject *_wrap_HudItem_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244500  PyObject *resultobj = 0;
244502  void *argp1 = 0 ;
244503  int res1 = 0 ;
244504  PyObject * obj0 = 0 ;
244505  AnimatSim::HudItem *result = 0 ;
244506 
244507  if (!PyArg_ParseTuple(args,(char *)"O:HudItem_CastToDerived",&obj0)) SWIG_fail;
244508  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
244509  if (!SWIG_IsOK(res1)) {
244510  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HudItem_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
244511  }
244512  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
244513  {
244514  try {
244515  result = (AnimatSim::HudItem *)AnimatSim::HudItem::CastToDerived(arg1);
244516  }
244517  catch(CStdErrorInfo oError)
244518  {
244519  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244520  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244521  PyErr_SetString(PyExc_IndexError, strError.c_str());
244522  SWIG_fail;
244523  }
244524  catch(...)
244525  {
244526  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244527  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244528  SWIG_fail;
244529  }
244530  }
244531  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__HudItem, 0 | 0 );
244532  return resultobj;
244533 fail:
244534  return NULL;
244535 }
244536 
244537 
244538 SWIGINTERN PyObject *_wrap_HudItem_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244539  PyObject *resultobj = 0;
244540  AnimatSim::HudItem *arg1 = (AnimatSim::HudItem *) 0 ;
244541  void *arg2 = (void *) 0 ;
244542  void *argp1 = 0 ;
244543  int res1 = 0 ;
244544  int res2 ;
244545  PyObject * obj0 = 0 ;
244546  PyObject * obj1 = 0 ;
244547 
244548  if (!PyArg_ParseTuple(args,(char *)"OO:HudItem_Initialize",&obj0,&obj1)) SWIG_fail;
244549  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__HudItem, 0 | 0 );
244550  if (!SWIG_IsOK(res1)) {
244551  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HudItem_Initialize" "', argument " "1"" of type '" "AnimatSim::HudItem *""'");
244552  }
244553  arg1 = reinterpret_cast< AnimatSim::HudItem * >(argp1);
244554  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
244555  if (!SWIG_IsOK(res2)) {
244556  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HudItem_Initialize" "', argument " "2"" of type '" "void *""'");
244557  }
244558  {
244559  try {
244560  (arg1)->Initialize(arg2);
244561  }
244562  catch(CStdErrorInfo oError)
244563  {
244564  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244565  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244566  PyErr_SetString(PyExc_IndexError, strError.c_str());
244567  SWIG_fail;
244568  }
244569  catch(...)
244570  {
244571  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244572  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244573  SWIG_fail;
244574  }
244575  }
244576  resultobj = SWIG_Py_Void();
244577  return resultobj;
244578 fail:
244579  return NULL;
244580 }
244581 
244582 
244583 SWIGINTERN PyObject *_wrap_HudItem_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244584  PyObject *resultobj = 0;
244585  AnimatSim::HudItem *arg1 = (AnimatSim::HudItem *) 0 ;
244586  void *argp1 = 0 ;
244587  int res1 = 0 ;
244588  PyObject * obj0 = 0 ;
244589 
244590  if (!PyArg_ParseTuple(args,(char *)"O:HudItem_Update",&obj0)) SWIG_fail;
244591  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__HudItem, 0 | 0 );
244592  if (!SWIG_IsOK(res1)) {
244593  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HudItem_Update" "', argument " "1"" of type '" "AnimatSim::HudItem *""'");
244594  }
244595  arg1 = reinterpret_cast< AnimatSim::HudItem * >(argp1);
244596  {
244597  try {
244598  (arg1)->Update();
244599  }
244600  catch(CStdErrorInfo oError)
244601  {
244602  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244603  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244604  PyErr_SetString(PyExc_IndexError, strError.c_str());
244605  SWIG_fail;
244606  }
244607  catch(...)
244608  {
244609  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244610  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244611  SWIG_fail;
244612  }
244613  }
244614  resultobj = SWIG_Py_Void();
244615  return resultobj;
244616 fail:
244617  return NULL;
244618 }
244619 
244620 
244621 SWIGINTERN PyObject *_wrap_HudItem_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244622  PyObject *resultobj = 0;
244623  AnimatSim::HudItem *arg1 = (AnimatSim::HudItem *) 0 ;
244624  CStdXml *arg2 = 0 ;
244625  void *argp1 = 0 ;
244626  int res1 = 0 ;
244627  void *argp2 = 0 ;
244628  int res2 = 0 ;
244629  PyObject * obj0 = 0 ;
244630  PyObject * obj1 = 0 ;
244631 
244632  if (!PyArg_ParseTuple(args,(char *)"OO:HudItem_Load",&obj0,&obj1)) SWIG_fail;
244633  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__HudItem, 0 | 0 );
244634  if (!SWIG_IsOK(res1)) {
244635  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HudItem_Load" "', argument " "1"" of type '" "AnimatSim::HudItem *""'");
244636  }
244637  arg1 = reinterpret_cast< AnimatSim::HudItem * >(argp1);
244638  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
244639  if (!SWIG_IsOK(res2)) {
244640  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HudItem_Load" "', argument " "2"" of type '" "CStdXml &""'");
244641  }
244642  if (!argp2) {
244643  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HudItem_Load" "', argument " "2"" of type '" "CStdXml &""'");
244644  }
244645  arg2 = reinterpret_cast< CStdXml * >(argp2);
244646  {
244647  try {
244648  (arg1)->Load(*arg2);
244649  }
244650  catch(CStdErrorInfo oError)
244651  {
244652  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244653  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244654  PyErr_SetString(PyExc_IndexError, strError.c_str());
244655  SWIG_fail;
244656  }
244657  catch(...)
244658  {
244659  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244660  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244661  SWIG_fail;
244662  }
244663  }
244664  resultobj = SWIG_Py_Void();
244665  return resultobj;
244666 fail:
244667  return NULL;
244668 }
244669 
244670 
244671 SWIGINTERN PyObject *HudItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244672  PyObject *obj;
244673  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
244674  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__HudItem, SWIG_NewClientData(obj));
244675  return SWIG_Py_Void();
244676 }
244677 
244678 SWIGINTERN PyObject *_wrap_delete_HudText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244679  PyObject *resultobj = 0;
244680  AnimatSim::HudText *arg1 = (AnimatSim::HudText *) 0 ;
244681  void *argp1 = 0 ;
244682  int res1 = 0 ;
244683  PyObject * obj0 = 0 ;
244684 
244685  if (!PyArg_ParseTuple(args,(char *)"O:delete_HudText",&obj0)) SWIG_fail;
244686  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__HudText, SWIG_POINTER_DISOWN | 0 );
244687  if (!SWIG_IsOK(res1)) {
244688  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HudText" "', argument " "1"" of type '" "AnimatSim::HudText *""'");
244689  }
244690  arg1 = reinterpret_cast< AnimatSim::HudText * >(argp1);
244691  {
244692  try {
244693  delete arg1;
244694  }
244695  catch(CStdErrorInfo oError)
244696  {
244697  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244698  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244699  PyErr_SetString(PyExc_IndexError, strError.c_str());
244700  SWIG_fail;
244701  }
244702  catch(...)
244703  {
244704  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244705  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244706  SWIG_fail;
244707  }
244708  }
244709  resultobj = SWIG_Py_Void();
244710  return resultobj;
244711 fail:
244712  return NULL;
244713 }
244714 
244715 
244716 SWIGINTERN PyObject *_wrap_HudText_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244717  PyObject *resultobj = 0;
244719  void *argp1 = 0 ;
244720  int res1 = 0 ;
244721  PyObject * obj0 = 0 ;
244722  AnimatSim::HudText *result = 0 ;
244723 
244724  if (!PyArg_ParseTuple(args,(char *)"O:HudText_CastToDerived",&obj0)) SWIG_fail;
244725  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
244726  if (!SWIG_IsOK(res1)) {
244727  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HudText_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
244728  }
244729  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
244730  {
244731  try {
244732  result = (AnimatSim::HudText *)AnimatSim::HudText::CastToDerived(arg1);
244733  }
244734  catch(CStdErrorInfo oError)
244735  {
244736  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244737  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244738  PyErr_SetString(PyExc_IndexError, strError.c_str());
244739  SWIG_fail;
244740  }
244741  catch(...)
244742  {
244743  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244744  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244745  SWIG_fail;
244746  }
244747  }
244748  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__HudText, 0 | 0 );
244749  return resultobj;
244750 fail:
244751  return NULL;
244752 }
244753 
244754 
244755 SWIGINTERN PyObject *_wrap_HudText_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244756  PyObject *resultobj = 0;
244757  AnimatSim::HudText *arg1 = (AnimatSim::HudText *) 0 ;
244758  void *arg2 = (void *) 0 ;
244759  void *argp1 = 0 ;
244760  int res1 = 0 ;
244761  int res2 ;
244762  PyObject * obj0 = 0 ;
244763  PyObject * obj1 = 0 ;
244764 
244765  if (!PyArg_ParseTuple(args,(char *)"OO:HudText_Initialize",&obj0,&obj1)) SWIG_fail;
244766  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__HudText, 0 | 0 );
244767  if (!SWIG_IsOK(res1)) {
244768  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HudText_Initialize" "', argument " "1"" of type '" "AnimatSim::HudText *""'");
244769  }
244770  arg1 = reinterpret_cast< AnimatSim::HudText * >(argp1);
244771  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
244772  if (!SWIG_IsOK(res2)) {
244773  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HudText_Initialize" "', argument " "2"" of type '" "void *""'");
244774  }
244775  {
244776  try {
244777  (arg1)->Initialize(arg2);
244778  }
244779  catch(CStdErrorInfo oError)
244780  {
244781  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244782  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244783  PyErr_SetString(PyExc_IndexError, strError.c_str());
244784  SWIG_fail;
244785  }
244786  catch(...)
244787  {
244788  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244789  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244790  SWIG_fail;
244791  }
244792  }
244793  resultobj = SWIG_Py_Void();
244794  return resultobj;
244795 fail:
244796  return NULL;
244797 }
244798 
244799 
244800 SWIGINTERN PyObject *_wrap_HudText_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244801  PyObject *resultobj = 0;
244802  AnimatSim::HudText *arg1 = (AnimatSim::HudText *) 0 ;
244803  CStdXml *arg2 = 0 ;
244804  void *argp1 = 0 ;
244805  int res1 = 0 ;
244806  void *argp2 = 0 ;
244807  int res2 = 0 ;
244808  PyObject * obj0 = 0 ;
244809  PyObject * obj1 = 0 ;
244810 
244811  if (!PyArg_ParseTuple(args,(char *)"OO:HudText_Load",&obj0,&obj1)) SWIG_fail;
244812  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__HudText, 0 | 0 );
244813  if (!SWIG_IsOK(res1)) {
244814  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HudText_Load" "', argument " "1"" of type '" "AnimatSim::HudText *""'");
244815  }
244816  arg1 = reinterpret_cast< AnimatSim::HudText * >(argp1);
244817  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
244818  if (!SWIG_IsOK(res2)) {
244819  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HudText_Load" "', argument " "2"" of type '" "CStdXml &""'");
244820  }
244821  if (!argp2) {
244822  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HudText_Load" "', argument " "2"" of type '" "CStdXml &""'");
244823  }
244824  arg2 = reinterpret_cast< CStdXml * >(argp2);
244825  {
244826  try {
244827  (arg1)->Load(*arg2);
244828  }
244829  catch(CStdErrorInfo oError)
244830  {
244831  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244832  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244833  PyErr_SetString(PyExc_IndexError, strError.c_str());
244834  SWIG_fail;
244835  }
244836  catch(...)
244837  {
244838  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244839  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244840  SWIG_fail;
244841  }
244842  }
244843  resultobj = SWIG_Py_Void();
244844  return resultobj;
244845 fail:
244846  return NULL;
244847 }
244848 
244849 
244850 SWIGINTERN PyObject *HudText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244851  PyObject *obj;
244852  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
244853  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__HudText, SWIG_NewClientData(obj));
244854  return SWIG_Py_Void();
244855 }
244856 
244857 SWIGINTERN PyObject *_wrap_delete_Hud(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244858  PyObject *resultobj = 0;
244859  AnimatSim::Hud *arg1 = (AnimatSim::Hud *) 0 ;
244860  void *argp1 = 0 ;
244861  int res1 = 0 ;
244862  PyObject * obj0 = 0 ;
244863 
244864  if (!PyArg_ParseTuple(args,(char *)"O:delete_Hud",&obj0)) SWIG_fail;
244865  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Hud, SWIG_POINTER_DISOWN | 0 );
244866  if (!SWIG_IsOK(res1)) {
244867  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Hud" "', argument " "1"" of type '" "AnimatSim::Hud *""'");
244868  }
244869  arg1 = reinterpret_cast< AnimatSim::Hud * >(argp1);
244870  {
244871  try {
244872  delete arg1;
244873  }
244874  catch(CStdErrorInfo oError)
244875  {
244876  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244877  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244878  PyErr_SetString(PyExc_IndexError, strError.c_str());
244879  SWIG_fail;
244880  }
244881  catch(...)
244882  {
244883  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244884  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244885  SWIG_fail;
244886  }
244887  }
244888  resultobj = SWIG_Py_Void();
244889  return resultobj;
244890 fail:
244891  return NULL;
244892 }
244893 
244894 
244895 SWIGINTERN PyObject *_wrap_Hud_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244896  PyObject *resultobj = 0;
244898  void *argp1 = 0 ;
244899  int res1 = 0 ;
244900  PyObject * obj0 = 0 ;
244901  AnimatSim::Hud *result = 0 ;
244902 
244903  if (!PyArg_ParseTuple(args,(char *)"O:Hud_CastToDerived",&obj0)) SWIG_fail;
244904  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
244905  if (!SWIG_IsOK(res1)) {
244906  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hud_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
244907  }
244908  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
244909  {
244910  try {
244911  result = (AnimatSim::Hud *)AnimatSim::Hud::CastToDerived(arg1);
244912  }
244913  catch(CStdErrorInfo oError)
244914  {
244915  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244916  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244917  PyErr_SetString(PyExc_IndexError, strError.c_str());
244918  SWIG_fail;
244919  }
244920  catch(...)
244921  {
244922  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244923  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244924  SWIG_fail;
244925  }
244926  }
244927  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Hud, 0 | 0 );
244928  return resultobj;
244929 fail:
244930  return NULL;
244931 }
244932 
244933 
244934 SWIGINTERN PyObject *_wrap_Hud_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244935  PyObject *resultobj = 0;
244936  AnimatSim::Hud *arg1 = (AnimatSim::Hud *) 0 ;
244937  void *argp1 = 0 ;
244938  int res1 = 0 ;
244939  PyObject * obj0 = 0 ;
244940 
244941  if (!PyArg_ParseTuple(args,(char *)"O:Hud_Reset",&obj0)) SWIG_fail;
244942  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Hud, 0 | 0 );
244943  if (!SWIG_IsOK(res1)) {
244944  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hud_Reset" "', argument " "1"" of type '" "AnimatSim::Hud *""'");
244945  }
244946  arg1 = reinterpret_cast< AnimatSim::Hud * >(argp1);
244947  {
244948  try {
244949  (arg1)->Reset();
244950  }
244951  catch(CStdErrorInfo oError)
244952  {
244953  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244954  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244955  PyErr_SetString(PyExc_IndexError, strError.c_str());
244956  SWIG_fail;
244957  }
244958  catch(...)
244959  {
244960  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244961  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
244962  SWIG_fail;
244963  }
244964  }
244965  resultobj = SWIG_Py_Void();
244966  return resultobj;
244967 fail:
244968  return NULL;
244969 }
244970 
244971 
244972 SWIGINTERN PyObject *_wrap_Hud_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
244973  PyObject *resultobj = 0;
244974  AnimatSim::Hud *arg1 = (AnimatSim::Hud *) 0 ;
244975  void *argp1 = 0 ;
244976  int res1 = 0 ;
244977  PyObject * obj0 = 0 ;
244978 
244979  if (!PyArg_ParseTuple(args,(char *)"O:Hud_ResetSimulation",&obj0)) SWIG_fail;
244980  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Hud, 0 | 0 );
244981  if (!SWIG_IsOK(res1)) {
244982  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hud_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Hud *""'");
244983  }
244984  arg1 = reinterpret_cast< AnimatSim::Hud * >(argp1);
244985  {
244986  try {
244987  (arg1)->ResetSimulation();
244988  }
244989  catch(CStdErrorInfo oError)
244990  {
244991  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244992  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
244993  PyErr_SetString(PyExc_IndexError, strError.c_str());
244994  SWIG_fail;
244995  }
244996  catch(...)
244997  {
244998  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
244999  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245000  SWIG_fail;
245001  }
245002  }
245003  resultobj = SWIG_Py_Void();
245004  return resultobj;
245005 fail:
245006  return NULL;
245007 }
245008 
245009 
245010 SWIGINTERN PyObject *_wrap_Hud_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245011  PyObject *resultobj = 0;
245012  AnimatSim::Hud *arg1 = (AnimatSim::Hud *) 0 ;
245013  void *argp1 = 0 ;
245014  int res1 = 0 ;
245015  PyObject * obj0 = 0 ;
245016 
245017  if (!PyArg_ParseTuple(args,(char *)"O:Hud_Initialize",&obj0)) SWIG_fail;
245018  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Hud, 0 | 0 );
245019  if (!SWIG_IsOK(res1)) {
245020  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hud_Initialize" "', argument " "1"" of type '" "AnimatSim::Hud *""'");
245021  }
245022  arg1 = reinterpret_cast< AnimatSim::Hud * >(argp1);
245023  {
245024  try {
245025  (arg1)->Initialize();
245026  }
245027  catch(CStdErrorInfo oError)
245028  {
245029  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245030  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245031  PyErr_SetString(PyExc_IndexError, strError.c_str());
245032  SWIG_fail;
245033  }
245034  catch(...)
245035  {
245036  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245037  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245038  SWIG_fail;
245039  }
245040  }
245041  resultobj = SWIG_Py_Void();
245042  return resultobj;
245043 fail:
245044  return NULL;
245045 }
245046 
245047 
245048 SWIGINTERN PyObject *_wrap_Hud_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245049  PyObject *resultobj = 0;
245050  AnimatSim::Hud *arg1 = (AnimatSim::Hud *) 0 ;
245051  void *argp1 = 0 ;
245052  int res1 = 0 ;
245053  PyObject * obj0 = 0 ;
245054 
245055  if (!PyArg_ParseTuple(args,(char *)"O:Hud_Update",&obj0)) SWIG_fail;
245056  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Hud, 0 | 0 );
245057  if (!SWIG_IsOK(res1)) {
245058  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hud_Update" "', argument " "1"" of type '" "AnimatSim::Hud *""'");
245059  }
245060  arg1 = reinterpret_cast< AnimatSim::Hud * >(argp1);
245061  {
245062  try {
245063  (arg1)->Update();
245064  }
245065  catch(CStdErrorInfo oError)
245066  {
245067  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245068  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245069  PyErr_SetString(PyExc_IndexError, strError.c_str());
245070  SWIG_fail;
245071  }
245072  catch(...)
245073  {
245074  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245075  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245076  SWIG_fail;
245077  }
245078  }
245079  resultobj = SWIG_Py_Void();
245080  return resultobj;
245081 fail:
245082  return NULL;
245083 }
245084 
245085 
245086 SWIGINTERN PyObject *_wrap_Hud_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245087  PyObject *resultobj = 0;
245088  AnimatSim::Hud *arg1 = (AnimatSim::Hud *) 0 ;
245089  CStdXml *arg2 = 0 ;
245090  void *argp1 = 0 ;
245091  int res1 = 0 ;
245092  void *argp2 = 0 ;
245093  int res2 = 0 ;
245094  PyObject * obj0 = 0 ;
245095  PyObject * obj1 = 0 ;
245096 
245097  if (!PyArg_ParseTuple(args,(char *)"OO:Hud_Load",&obj0,&obj1)) SWIG_fail;
245098  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Hud, 0 | 0 );
245099  if (!SWIG_IsOK(res1)) {
245100  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Hud_Load" "', argument " "1"" of type '" "AnimatSim::Hud *""'");
245101  }
245102  arg1 = reinterpret_cast< AnimatSim::Hud * >(argp1);
245103  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
245104  if (!SWIG_IsOK(res2)) {
245105  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Hud_Load" "', argument " "2"" of type '" "CStdXml &""'");
245106  }
245107  if (!argp2) {
245108  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Hud_Load" "', argument " "2"" of type '" "CStdXml &""'");
245109  }
245110  arg2 = reinterpret_cast< CStdXml * >(argp2);
245111  {
245112  try {
245113  (arg1)->Load(*arg2);
245114  }
245115  catch(CStdErrorInfo oError)
245116  {
245117  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245118  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245119  PyErr_SetString(PyExc_IndexError, strError.c_str());
245120  SWIG_fail;
245121  }
245122  catch(...)
245123  {
245124  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245125  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245126  SWIG_fail;
245127  }
245128  }
245129  resultobj = SWIG_Py_Void();
245130  return resultobj;
245131 fail:
245132  return NULL;
245133 }
245134 
245135 
245136 SWIGINTERN PyObject *Hud_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245137  PyObject *obj;
245138  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
245139  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Hud, SWIG_NewClientData(obj));
245140  return SWIG_Py_Void();
245141 }
245142 
245143 SWIGINTERN PyObject *_wrap_delete_SimulationWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245144  PyObject *resultobj = 0;
245146  void *argp1 = 0 ;
245147  int res1 = 0 ;
245148  PyObject * obj0 = 0 ;
245149 
245150  if (!PyArg_ParseTuple(args,(char *)"O:delete_SimulationWindow",&obj0)) SWIG_fail;
245151  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, SWIG_POINTER_DISOWN | 0 );
245152  if (!SWIG_IsOK(res1)) {
245153  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SimulationWindow" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
245154  }
245155  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
245156  {
245157  try {
245158  delete arg1;
245159  }
245160  catch(CStdErrorInfo oError)
245161  {
245162  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245163  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245164  PyErr_SetString(PyExc_IndexError, strError.c_str());
245165  SWIG_fail;
245166  }
245167  catch(...)
245168  {
245169  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245170  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245171  SWIG_fail;
245172  }
245173  }
245174  resultobj = SWIG_Py_Void();
245175  return resultobj;
245176 fail:
245177  return NULL;
245178 }
245179 
245180 
245181 SWIGINTERN PyObject *_wrap_SimulationWindow_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245182  PyObject *resultobj = 0;
245184  void *argp1 = 0 ;
245185  int res1 = 0 ;
245186  PyObject * obj0 = 0 ;
245187  AnimatSim::SimulationWindow *result = 0 ;
245188 
245189  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindow_CastToDerived",&obj0)) SWIG_fail;
245190  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
245191  if (!SWIG_IsOK(res1)) {
245192  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
245193  }
245194  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
245195  {
245196  try {
245197  result = (AnimatSim::SimulationWindow *)AnimatSim::SimulationWindow::CastToDerived(arg1);
245198  }
245199  catch(CStdErrorInfo oError)
245200  {
245201  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245202  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245203  PyErr_SetString(PyExc_IndexError, strError.c_str());
245204  SWIG_fail;
245205  }
245206  catch(...)
245207  {
245208  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245209  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245210  SWIG_fail;
245211  }
245212  }
245213  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
245214  return resultobj;
245215 fail:
245216  return NULL;
245217 }
245218 
245219 
245220 SWIGINTERN PyObject *_wrap_SimulationWindow_LookAtStructureID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245221  PyObject *resultobj = 0;
245223  std::string arg2 ;
245224  void *argp1 = 0 ;
245225  int res1 = 0 ;
245226  PyObject * obj0 = 0 ;
245227  PyObject * obj1 = 0 ;
245228 
245229  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationWindow_LookAtStructureID",&obj0,&obj1)) SWIG_fail;
245230  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
245231  if (!SWIG_IsOK(res1)) {
245232  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_LookAtStructureID" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
245233  }
245234  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
245235  {
245236  std::string *ptr = (std::string *)0;
245237  int res = SWIG_AsPtr_std_string(obj1, &ptr);
245238  if (!SWIG_IsOK(res) || !ptr) {
245239  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationWindow_LookAtStructureID" "', argument " "2"" of type '" "std::string""'");
245240  }
245241  arg2 = *ptr;
245242  if (SWIG_IsNewObj(res)) delete ptr;
245243  }
245244  {
245245  try {
245246  (arg1)->LookAtStructureID(arg2);
245247  }
245248  catch(CStdErrorInfo oError)
245249  {
245250  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245251  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245252  PyErr_SetString(PyExc_IndexError, strError.c_str());
245253  SWIG_fail;
245254  }
245255  catch(...)
245256  {
245257  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245258  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245259  SWIG_fail;
245260  }
245261  }
245262  resultobj = SWIG_Py_Void();
245263  return resultobj;
245264 fail:
245265  return NULL;
245266 }
245267 
245268 
245269 SWIGINTERN PyObject *_wrap_SimulationWindow_LookAtStructureID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245270  PyObject *resultobj = 0;
245272  void *argp1 = 0 ;
245273  int res1 = 0 ;
245274  PyObject * obj0 = 0 ;
245275  std::string result;
245276 
245277  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindow_LookAtStructureID",&obj0)) SWIG_fail;
245278  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
245279  if (!SWIG_IsOK(res1)) {
245280  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_LookAtStructureID" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
245281  }
245282  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
245283  {
245284  try {
245285  result = (arg1)->LookAtStructureID();
245286  }
245287  catch(CStdErrorInfo oError)
245288  {
245289  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245290  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245291  PyErr_SetString(PyExc_IndexError, strError.c_str());
245292  SWIG_fail;
245293  }
245294  catch(...)
245295  {
245296  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245297  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245298  SWIG_fail;
245299  }
245300  }
245301  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
245302  return resultobj;
245303 fail:
245304  return NULL;
245305 }
245306 
245307 
245308 SWIGINTERN PyObject *_wrap_SimulationWindow_LookAtStructureID(PyObject *self, PyObject *args) {
245309  int argc;
245310  PyObject *argv[3];
245311  int ii;
245312 
245313  if (!PyTuple_Check(args)) SWIG_fail;
245314  argc = args ? (int)PyObject_Length(args) : 0;
245315  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
245316  argv[ii] = PyTuple_GET_ITEM(args,ii);
245317  }
245318  if (argc == 1) {
245319  int _v;
245320  void *vptr = 0;
245321  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
245322  _v = SWIG_CheckState(res);
245323  if (_v) {
245324  return _wrap_SimulationWindow_LookAtStructureID__SWIG_1(self, args);
245325  }
245326  }
245327  if (argc == 2) {
245328  int _v;
245329  void *vptr = 0;
245330  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
245331  _v = SWIG_CheckState(res);
245332  if (_v) {
245333  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
245334  _v = SWIG_CheckState(res);
245335  if (_v) {
245336  return _wrap_SimulationWindow_LookAtStructureID__SWIG_0(self, args);
245337  }
245338  }
245339  }
245340 
245341 fail:
245342  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SimulationWindow_LookAtStructureID'.\n"
245343  " Possible C/C++ prototypes are:\n"
245344  " AnimatSim::SimulationWindow::LookAtStructureID(std::string)\n"
245345  " AnimatSim::SimulationWindow::LookAtStructureID()\n");
245346  return 0;
245347 }
245348 
245349 
245350 SWIGINTERN PyObject *_wrap_SimulationWindow_LookAtBodyID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245351  PyObject *resultobj = 0;
245353  std::string arg2 ;
245354  void *argp1 = 0 ;
245355  int res1 = 0 ;
245356  PyObject * obj0 = 0 ;
245357  PyObject * obj1 = 0 ;
245358 
245359  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationWindow_LookAtBodyID",&obj0,&obj1)) SWIG_fail;
245360  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
245361  if (!SWIG_IsOK(res1)) {
245362  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_LookAtBodyID" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
245363  }
245364  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
245365  {
245366  std::string *ptr = (std::string *)0;
245367  int res = SWIG_AsPtr_std_string(obj1, &ptr);
245368  if (!SWIG_IsOK(res) || !ptr) {
245369  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationWindow_LookAtBodyID" "', argument " "2"" of type '" "std::string""'");
245370  }
245371  arg2 = *ptr;
245372  if (SWIG_IsNewObj(res)) delete ptr;
245373  }
245374  {
245375  try {
245376  (arg1)->LookAtBodyID(arg2);
245377  }
245378  catch(CStdErrorInfo oError)
245379  {
245380  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245381  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245382  PyErr_SetString(PyExc_IndexError, strError.c_str());
245383  SWIG_fail;
245384  }
245385  catch(...)
245386  {
245387  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245388  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245389  SWIG_fail;
245390  }
245391  }
245392  resultobj = SWIG_Py_Void();
245393  return resultobj;
245394 fail:
245395  return NULL;
245396 }
245397 
245398 
245399 SWIGINTERN PyObject *_wrap_SimulationWindow_LookAtBodyID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245400  PyObject *resultobj = 0;
245402  void *argp1 = 0 ;
245403  int res1 = 0 ;
245404  PyObject * obj0 = 0 ;
245405  std::string result;
245406 
245407  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindow_LookAtBodyID",&obj0)) SWIG_fail;
245408  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
245409  if (!SWIG_IsOK(res1)) {
245410  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_LookAtBodyID" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
245411  }
245412  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
245413  {
245414  try {
245415  result = (arg1)->LookAtBodyID();
245416  }
245417  catch(CStdErrorInfo oError)
245418  {
245419  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245420  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245421  PyErr_SetString(PyExc_IndexError, strError.c_str());
245422  SWIG_fail;
245423  }
245424  catch(...)
245425  {
245426  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245427  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245428  SWIG_fail;
245429  }
245430  }
245431  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
245432  return resultobj;
245433 fail:
245434  return NULL;
245435 }
245436 
245437 
245438 SWIGINTERN PyObject *_wrap_SimulationWindow_LookAtBodyID(PyObject *self, PyObject *args) {
245439  int argc;
245440  PyObject *argv[3];
245441  int ii;
245442 
245443  if (!PyTuple_Check(args)) SWIG_fail;
245444  argc = args ? (int)PyObject_Length(args) : 0;
245445  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
245446  argv[ii] = PyTuple_GET_ITEM(args,ii);
245447  }
245448  if (argc == 1) {
245449  int _v;
245450  void *vptr = 0;
245451  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
245452  _v = SWIG_CheckState(res);
245453  if (_v) {
245454  return _wrap_SimulationWindow_LookAtBodyID__SWIG_1(self, args);
245455  }
245456  }
245457  if (argc == 2) {
245458  int _v;
245459  void *vptr = 0;
245460  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
245461  _v = SWIG_CheckState(res);
245462  if (_v) {
245463  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
245464  _v = SWIG_CheckState(res);
245465  if (_v) {
245466  return _wrap_SimulationWindow_LookAtBodyID__SWIG_0(self, args);
245467  }
245468  }
245469  }
245470 
245471 fail:
245472  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SimulationWindow_LookAtBodyID'.\n"
245473  " Possible C/C++ prototypes are:\n"
245474  " AnimatSim::SimulationWindow::LookAtBodyID(std::string)\n"
245475  " AnimatSim::SimulationWindow::LookAtBodyID()\n");
245476  return 0;
245477 }
245478 
245479 
245480 SWIGINTERN PyObject *_wrap_SimulationWindow_UsingTrackCamera__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245481  PyObject *resultobj = 0;
245483  bool arg2 ;
245484  void *argp1 = 0 ;
245485  int res1 = 0 ;
245486  bool val2 ;
245487  int ecode2 = 0 ;
245488  PyObject * obj0 = 0 ;
245489  PyObject * obj1 = 0 ;
245490 
245491  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationWindow_UsingTrackCamera",&obj0,&obj1)) SWIG_fail;
245492  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
245493  if (!SWIG_IsOK(res1)) {
245494  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_UsingTrackCamera" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
245495  }
245496  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
245497  ecode2 = SWIG_AsVal_bool(obj1, &val2);
245498  if (!SWIG_IsOK(ecode2)) {
245499  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SimulationWindow_UsingTrackCamera" "', argument " "2"" of type '" "bool""'");
245500  }
245501  arg2 = static_cast< bool >(val2);
245502  {
245503  try {
245504  (arg1)->UsingTrackCamera(arg2);
245505  }
245506  catch(CStdErrorInfo oError)
245507  {
245508  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245509  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245510  PyErr_SetString(PyExc_IndexError, strError.c_str());
245511  SWIG_fail;
245512  }
245513  catch(...)
245514  {
245515  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245516  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245517  SWIG_fail;
245518  }
245519  }
245520  resultobj = SWIG_Py_Void();
245521  return resultobj;
245522 fail:
245523  return NULL;
245524 }
245525 
245526 
245527 SWIGINTERN PyObject *_wrap_SimulationWindow_UsingTrackCamera__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245528  PyObject *resultobj = 0;
245530  void *argp1 = 0 ;
245531  int res1 = 0 ;
245532  PyObject * obj0 = 0 ;
245533  bool result;
245534 
245535  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindow_UsingTrackCamera",&obj0)) SWIG_fail;
245536  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
245537  if (!SWIG_IsOK(res1)) {
245538  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_UsingTrackCamera" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
245539  }
245540  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
245541  {
245542  try {
245543  result = (bool)(arg1)->UsingTrackCamera();
245544  }
245545  catch(CStdErrorInfo oError)
245546  {
245547  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245548  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245549  PyErr_SetString(PyExc_IndexError, strError.c_str());
245550  SWIG_fail;
245551  }
245552  catch(...)
245553  {
245554  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245555  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245556  SWIG_fail;
245557  }
245558  }
245559  resultobj = SWIG_From_bool(static_cast< bool >(result));
245560  return resultobj;
245561 fail:
245562  return NULL;
245563 }
245564 
245565 
245566 SWIGINTERN PyObject *_wrap_SimulationWindow_UsingTrackCamera(PyObject *self, PyObject *args) {
245567  int argc;
245568  PyObject *argv[3];
245569  int ii;
245570 
245571  if (!PyTuple_Check(args)) SWIG_fail;
245572  argc = args ? (int)PyObject_Length(args) : 0;
245573  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
245574  argv[ii] = PyTuple_GET_ITEM(args,ii);
245575  }
245576  if (argc == 1) {
245577  int _v;
245578  void *vptr = 0;
245579  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
245580  _v = SWIG_CheckState(res);
245581  if (_v) {
245582  return _wrap_SimulationWindow_UsingTrackCamera__SWIG_1(self, args);
245583  }
245584  }
245585  if (argc == 2) {
245586  int _v;
245587  void *vptr = 0;
245588  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
245589  _v = SWIG_CheckState(res);
245590  if (_v) {
245591  {
245592  int res = SWIG_AsVal_bool(argv[1], NULL);
245593  _v = SWIG_CheckState(res);
245594  }
245595  if (_v) {
245596  return _wrap_SimulationWindow_UsingTrackCamera__SWIG_0(self, args);
245597  }
245598  }
245599  }
245600 
245601 fail:
245602  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SimulationWindow_UsingTrackCamera'.\n"
245603  " Possible C/C++ prototypes are:\n"
245604  " AnimatSim::SimulationWindow::UsingTrackCamera(bool)\n"
245605  " AnimatSim::SimulationWindow::UsingTrackCamera()\n");
245606  return 0;
245607 }
245608 
245609 
245610 SWIGINTERN PyObject *_wrap_SimulationWindow_WindowID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245611  PyObject *resultobj = 0;
245613  void *argp1 = 0 ;
245614  int res1 = 0 ;
245615  PyObject * obj0 = 0 ;
245616  HWND result;
245617 
245618  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindow_WindowID",&obj0)) SWIG_fail;
245619  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
245620  if (!SWIG_IsOK(res1)) {
245621  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_WindowID" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
245622  }
245623  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
245624  {
245625  try {
245626  result = (arg1)->WindowID();
245627  }
245628  catch(CStdErrorInfo oError)
245629  {
245630  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245631  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245632  PyErr_SetString(PyExc_IndexError, strError.c_str());
245633  SWIG_fail;
245634  }
245635  catch(...)
245636  {
245637  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245638  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245639  SWIG_fail;
245640  }
245641  }
245642  resultobj = SWIG_NewPointerObj((new HWND(static_cast< const HWND& >(result))), SWIGTYPE_p_HWND, SWIG_POINTER_OWN | 0 );
245643  return resultobj;
245644 fail:
245645  return NULL;
245646 }
245647 
245648 
245649 SWIGINTERN PyObject *_wrap_SimulationWindow_WindowID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245650  PyObject *resultobj = 0;
245652  HWND arg2 ;
245653  void *argp1 = 0 ;
245654  int res1 = 0 ;
245655  void *argp2 ;
245656  int res2 = 0 ;
245657  PyObject * obj0 = 0 ;
245658  PyObject * obj1 = 0 ;
245659 
245660  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationWindow_WindowID",&obj0,&obj1)) SWIG_fail;
245661  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
245662  if (!SWIG_IsOK(res1)) {
245663  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_WindowID" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
245664  }
245665  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
245666  {
245667  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_HWND, 0 | 0);
245668  if (!SWIG_IsOK(res2)) {
245669  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimulationWindow_WindowID" "', argument " "2"" of type '" "HWND""'");
245670  }
245671  if (!argp2) {
245672  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindow_WindowID" "', argument " "2"" of type '" "HWND""'");
245673  } else {
245674  HWND * temp = reinterpret_cast< HWND * >(argp2);
245675  arg2 = *temp;
245676  if (SWIG_IsNewObj(res2)) delete temp;
245677  }
245678  }
245679  {
245680  try {
245681  (arg1)->WindowID(arg2);
245682  }
245683  catch(CStdErrorInfo oError)
245684  {
245685  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245686  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245687  PyErr_SetString(PyExc_IndexError, strError.c_str());
245688  SWIG_fail;
245689  }
245690  catch(...)
245691  {
245692  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245693  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245694  SWIG_fail;
245695  }
245696  }
245697  resultobj = SWIG_Py_Void();
245698  return resultobj;
245699 fail:
245700  return NULL;
245701 }
245702 
245703 
245704 SWIGINTERN PyObject *_wrap_SimulationWindow_WindowID(PyObject *self, PyObject *args) {
245705  int argc;
245706  PyObject *argv[3];
245707  int ii;
245708 
245709  if (!PyTuple_Check(args)) SWIG_fail;
245710  argc = args ? (int)PyObject_Length(args) : 0;
245711  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
245712  argv[ii] = PyTuple_GET_ITEM(args,ii);
245713  }
245714  if (argc == 1) {
245715  int _v;
245716  void *vptr = 0;
245717  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
245718  _v = SWIG_CheckState(res);
245719  if (_v) {
245720  return _wrap_SimulationWindow_WindowID__SWIG_0(self, args);
245721  }
245722  }
245723  if (argc == 2) {
245724  int _v;
245725  void *vptr = 0;
245726  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
245727  _v = SWIG_CheckState(res);
245728  if (_v) {
245729  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_HWND, 0);
245730  _v = SWIG_CheckState(res);
245731  if (_v) {
245732  return _wrap_SimulationWindow_WindowID__SWIG_1(self, args);
245733  }
245734  }
245735  }
245736 
245737 fail:
245738  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SimulationWindow_WindowID'.\n"
245739  " Possible C/C++ prototypes are:\n"
245740  " AnimatSim::SimulationWindow::WindowID()\n"
245741  " AnimatSim::SimulationWindow::WindowID(HWND)\n");
245742  return 0;
245743 }
245744 
245745 
245746 SWIGINTERN PyObject *_wrap_SimulationWindow_StandAlone__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245747  PyObject *resultobj = 0;
245749  void *argp1 = 0 ;
245750  int res1 = 0 ;
245751  PyObject * obj0 = 0 ;
245752  bool result;
245753 
245754  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindow_StandAlone",&obj0)) SWIG_fail;
245755  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
245756  if (!SWIG_IsOK(res1)) {
245757  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_StandAlone" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
245758  }
245759  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
245760  {
245761  try {
245762  result = (bool)(arg1)->StandAlone();
245763  }
245764  catch(CStdErrorInfo oError)
245765  {
245766  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245767  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245768  PyErr_SetString(PyExc_IndexError, strError.c_str());
245769  SWIG_fail;
245770  }
245771  catch(...)
245772  {
245773  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245774  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245775  SWIG_fail;
245776  }
245777  }
245778  resultobj = SWIG_From_bool(static_cast< bool >(result));
245779  return resultobj;
245780 fail:
245781  return NULL;
245782 }
245783 
245784 
245785 SWIGINTERN PyObject *_wrap_SimulationWindow_StandAlone__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245786  PyObject *resultobj = 0;
245788  bool arg2 ;
245789  void *argp1 = 0 ;
245790  int res1 = 0 ;
245791  bool val2 ;
245792  int ecode2 = 0 ;
245793  PyObject * obj0 = 0 ;
245794  PyObject * obj1 = 0 ;
245795 
245796  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationWindow_StandAlone",&obj0,&obj1)) SWIG_fail;
245797  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
245798  if (!SWIG_IsOK(res1)) {
245799  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_StandAlone" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
245800  }
245801  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
245802  ecode2 = SWIG_AsVal_bool(obj1, &val2);
245803  if (!SWIG_IsOK(ecode2)) {
245804  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SimulationWindow_StandAlone" "', argument " "2"" of type '" "bool""'");
245805  }
245806  arg2 = static_cast< bool >(val2);
245807  {
245808  try {
245809  (arg1)->StandAlone(arg2);
245810  }
245811  catch(CStdErrorInfo oError)
245812  {
245813  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245814  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245815  PyErr_SetString(PyExc_IndexError, strError.c_str());
245816  SWIG_fail;
245817  }
245818  catch(...)
245819  {
245820  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245821  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245822  SWIG_fail;
245823  }
245824  }
245825  resultobj = SWIG_Py_Void();
245826  return resultobj;
245827 fail:
245828  return NULL;
245829 }
245830 
245831 
245832 SWIGINTERN PyObject *_wrap_SimulationWindow_StandAlone(PyObject *self, PyObject *args) {
245833  int argc;
245834  PyObject *argv[3];
245835  int ii;
245836 
245837  if (!PyTuple_Check(args)) SWIG_fail;
245838  argc = args ? (int)PyObject_Length(args) : 0;
245839  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
245840  argv[ii] = PyTuple_GET_ITEM(args,ii);
245841  }
245842  if (argc == 1) {
245843  int _v;
245844  void *vptr = 0;
245845  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
245846  _v = SWIG_CheckState(res);
245847  if (_v) {
245848  return _wrap_SimulationWindow_StandAlone__SWIG_0(self, args);
245849  }
245850  }
245851  if (argc == 2) {
245852  int _v;
245853  void *vptr = 0;
245854  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
245855  _v = SWIG_CheckState(res);
245856  if (_v) {
245857  {
245858  int res = SWIG_AsVal_bool(argv[1], NULL);
245859  _v = SWIG_CheckState(res);
245860  }
245861  if (_v) {
245862  return _wrap_SimulationWindow_StandAlone__SWIG_1(self, args);
245863  }
245864  }
245865  }
245866 
245867 fail:
245868  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SimulationWindow_StandAlone'.\n"
245869  " Possible C/C++ prototypes are:\n"
245870  " AnimatSim::SimulationWindow::StandAlone()\n"
245871  " AnimatSim::SimulationWindow::StandAlone(bool)\n");
245872  return 0;
245873 }
245874 
245875 
245876 SWIGINTERN PyObject *_wrap_SimulationWindow_GetCameraPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245877  PyObject *resultobj = 0;
245879  void *argp1 = 0 ;
245880  int res1 = 0 ;
245881  PyObject * obj0 = 0 ;
245882  CStdPoint< float > result;
245883 
245884  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindow_GetCameraPosition",&obj0)) SWIG_fail;
245885  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
245886  if (!SWIG_IsOK(res1)) {
245887  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_GetCameraPosition" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
245888  }
245889  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
245890  {
245891  try {
245892  result = (arg1)->GetCameraPosition();
245893  }
245894  catch(CStdErrorInfo oError)
245895  {
245896  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245897  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245898  PyErr_SetString(PyExc_IndexError, strError.c_str());
245899  SWIG_fail;
245900  }
245901  catch(...)
245902  {
245903  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245904  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245905  SWIG_fail;
245906  }
245907  }
245908  resultobj = SWIG_NewPointerObj((new CStdPoint< float >(static_cast< const CStdPoint< float >& >(result))), SWIGTYPE_p_CStdPointT_float_t, SWIG_POINTER_OWN | 0 );
245909  return resultobj;
245910 fail:
245911  return NULL;
245912 }
245913 
245914 
245915 SWIGINTERN PyObject *_wrap_SimulationWindow_SetupTrackCamera__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245916  PyObject *resultobj = 0;
245918  bool arg2 ;
245919  void *argp1 = 0 ;
245920  int res1 = 0 ;
245921  bool val2 ;
245922  int ecode2 = 0 ;
245923  PyObject * obj0 = 0 ;
245924  PyObject * obj1 = 0 ;
245925 
245926  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationWindow_SetupTrackCamera",&obj0,&obj1)) SWIG_fail;
245927  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
245928  if (!SWIG_IsOK(res1)) {
245929  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_SetupTrackCamera" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
245930  }
245931  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
245932  ecode2 = SWIG_AsVal_bool(obj1, &val2);
245933  if (!SWIG_IsOK(ecode2)) {
245934  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SimulationWindow_SetupTrackCamera" "', argument " "2"" of type '" "bool""'");
245935  }
245936  arg2 = static_cast< bool >(val2);
245937  {
245938  try {
245939  (arg1)->SetupTrackCamera(arg2);
245940  }
245941  catch(CStdErrorInfo oError)
245942  {
245943  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245944  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
245945  PyErr_SetString(PyExc_IndexError, strError.c_str());
245946  SWIG_fail;
245947  }
245948  catch(...)
245949  {
245950  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
245951  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
245952  SWIG_fail;
245953  }
245954  }
245955  resultobj = SWIG_Py_Void();
245956  return resultobj;
245957 fail:
245958  return NULL;
245959 }
245960 
245961 
245962 SWIGINTERN PyObject *_wrap_SimulationWindow_SetupTrackCamera__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
245963  PyObject *resultobj = 0;
245965  bool arg2 ;
245966  std::string arg3 ;
245967  std::string arg4 ;
245968  void *argp1 = 0 ;
245969  int res1 = 0 ;
245970  bool val2 ;
245971  int ecode2 = 0 ;
245972  PyObject * obj0 = 0 ;
245973  PyObject * obj1 = 0 ;
245974  PyObject * obj2 = 0 ;
245975  PyObject * obj3 = 0 ;
245976 
245977  if (!PyArg_ParseTuple(args,(char *)"OOOO:SimulationWindow_SetupTrackCamera",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
245978  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
245979  if (!SWIG_IsOK(res1)) {
245980  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_SetupTrackCamera" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
245981  }
245982  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
245983  ecode2 = SWIG_AsVal_bool(obj1, &val2);
245984  if (!SWIG_IsOK(ecode2)) {
245985  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SimulationWindow_SetupTrackCamera" "', argument " "2"" of type '" "bool""'");
245986  }
245987  arg2 = static_cast< bool >(val2);
245988  {
245989  std::string *ptr = (std::string *)0;
245990  int res = SWIG_AsPtr_std_string(obj2, &ptr);
245991  if (!SWIG_IsOK(res) || !ptr) {
245992  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationWindow_SetupTrackCamera" "', argument " "3"" of type '" "std::string""'");
245993  }
245994  arg3 = *ptr;
245995  if (SWIG_IsNewObj(res)) delete ptr;
245996  }
245997  {
245998  std::string *ptr = (std::string *)0;
245999  int res = SWIG_AsPtr_std_string(obj3, &ptr);
246000  if (!SWIG_IsOK(res) || !ptr) {
246001  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationWindow_SetupTrackCamera" "', argument " "4"" of type '" "std::string""'");
246002  }
246003  arg4 = *ptr;
246004  if (SWIG_IsNewObj(res)) delete ptr;
246005  }
246006  {
246007  try {
246008  (arg1)->SetupTrackCamera(arg2,arg3,arg4);
246009  }
246010  catch(CStdErrorInfo oError)
246011  {
246012  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246013  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246014  PyErr_SetString(PyExc_IndexError, strError.c_str());
246015  SWIG_fail;
246016  }
246017  catch(...)
246018  {
246019  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246020  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246021  SWIG_fail;
246022  }
246023  }
246024  resultobj = SWIG_Py_Void();
246025  return resultobj;
246026 fail:
246027  return NULL;
246028 }
246029 
246030 
246031 SWIGINTERN PyObject *_wrap_SimulationWindow_SetupTrackCamera(PyObject *self, PyObject *args) {
246032  int argc;
246033  PyObject *argv[5];
246034  int ii;
246035 
246036  if (!PyTuple_Check(args)) SWIG_fail;
246037  argc = args ? (int)PyObject_Length(args) : 0;
246038  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
246039  argv[ii] = PyTuple_GET_ITEM(args,ii);
246040  }
246041  if (argc == 2) {
246042  int _v;
246043  void *vptr = 0;
246044  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
246045  _v = SWIG_CheckState(res);
246046  if (_v) {
246047  {
246048  int res = SWIG_AsVal_bool(argv[1], NULL);
246049  _v = SWIG_CheckState(res);
246050  }
246051  if (_v) {
246052  return _wrap_SimulationWindow_SetupTrackCamera__SWIG_0(self, args);
246053  }
246054  }
246055  }
246056  if (argc == 4) {
246057  int _v;
246058  void *vptr = 0;
246059  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
246060  _v = SWIG_CheckState(res);
246061  if (_v) {
246062  {
246063  int res = SWIG_AsVal_bool(argv[1], NULL);
246064  _v = SWIG_CheckState(res);
246065  }
246066  if (_v) {
246067  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
246068  _v = SWIG_CheckState(res);
246069  if (_v) {
246070  int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
246071  _v = SWIG_CheckState(res);
246072  if (_v) {
246073  return _wrap_SimulationWindow_SetupTrackCamera__SWIG_1(self, args);
246074  }
246075  }
246076  }
246077  }
246078  }
246079 
246080 fail:
246081  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SimulationWindow_SetupTrackCamera'.\n"
246082  " Possible C/C++ prototypes are:\n"
246083  " AnimatSim::SimulationWindow::SetupTrackCamera(bool)\n"
246084  " AnimatSim::SimulationWindow::SetupTrackCamera(bool,std::string,std::string)\n");
246085  return 0;
246086 }
246087 
246088 
246089 SWIGINTERN PyObject *_wrap_SimulationWindow_SetCameraLookAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246090  PyObject *resultobj = 0;
246092  CStdPoint< float > arg2 ;
246093  bool arg3 ;
246094  void *argp1 = 0 ;
246095  int res1 = 0 ;
246096  void *argp2 ;
246097  int res2 = 0 ;
246098  bool val3 ;
246099  int ecode3 = 0 ;
246100  PyObject * obj0 = 0 ;
246101  PyObject * obj1 = 0 ;
246102  PyObject * obj2 = 0 ;
246103 
246104  if (!PyArg_ParseTuple(args,(char *)"OOO:SimulationWindow_SetCameraLookAt",&obj0,&obj1,&obj2)) SWIG_fail;
246105  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
246106  if (!SWIG_IsOK(res1)) {
246107  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_SetCameraLookAt" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
246108  }
246109  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
246110  {
246111  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
246112  if (!SWIG_IsOK(res2)) {
246113  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimulationWindow_SetCameraLookAt" "', argument " "2"" of type '" "CStdPoint< float >""'");
246114  }
246115  if (!argp2) {
246116  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindow_SetCameraLookAt" "', argument " "2"" of type '" "CStdPoint< float >""'");
246117  } else {
246118  CStdPoint< float > * temp = reinterpret_cast< CStdPoint< float > * >(argp2);
246119  arg2 = *temp;
246120  if (SWIG_IsNewObj(res2)) delete temp;
246121  }
246122  }
246123  ecode3 = SWIG_AsVal_bool(obj2, &val3);
246124  if (!SWIG_IsOK(ecode3)) {
246125  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimulationWindow_SetCameraLookAt" "', argument " "3"" of type '" "bool""'");
246126  }
246127  arg3 = static_cast< bool >(val3);
246128  {
246129  try {
246130  (arg1)->SetCameraLookAt(arg2,arg3);
246131  }
246132  catch(CStdErrorInfo oError)
246133  {
246134  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246135  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246136  PyErr_SetString(PyExc_IndexError, strError.c_str());
246137  SWIG_fail;
246138  }
246139  catch(...)
246140  {
246141  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246142  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246143  SWIG_fail;
246144  }
246145  }
246146  resultobj = SWIG_Py_Void();
246147  return resultobj;
246148 fail:
246149  return NULL;
246150 }
246151 
246152 
246153 SWIGINTERN PyObject *_wrap_SimulationWindow_SetCameraPositionAndLookAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246154  PyObject *resultobj = 0;
246156  CStdPoint< float > arg2 ;
246157  CStdPoint< float > arg3 ;
246158  void *argp1 = 0 ;
246159  int res1 = 0 ;
246160  void *argp2 ;
246161  int res2 = 0 ;
246162  void *argp3 ;
246163  int res3 = 0 ;
246164  PyObject * obj0 = 0 ;
246165  PyObject * obj1 = 0 ;
246166  PyObject * obj2 = 0 ;
246167 
246168  if (!PyArg_ParseTuple(args,(char *)"OOO:SimulationWindow_SetCameraPositionAndLookAt",&obj0,&obj1,&obj2)) SWIG_fail;
246169  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
246170  if (!SWIG_IsOK(res1)) {
246171  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_SetCameraPositionAndLookAt" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
246172  }
246173  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
246174  {
246175  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
246176  if (!SWIG_IsOK(res2)) {
246177  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimulationWindow_SetCameraPositionAndLookAt" "', argument " "2"" of type '" "CStdPoint< float >""'");
246178  }
246179  if (!argp2) {
246180  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindow_SetCameraPositionAndLookAt" "', argument " "2"" of type '" "CStdPoint< float >""'");
246181  } else {
246182  CStdPoint< float > * temp = reinterpret_cast< CStdPoint< float > * >(argp2);
246183  arg2 = *temp;
246184  if (SWIG_IsNewObj(res2)) delete temp;
246185  }
246186  }
246187  {
246188  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
246189  if (!SWIG_IsOK(res3)) {
246190  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SimulationWindow_SetCameraPositionAndLookAt" "', argument " "3"" of type '" "CStdPoint< float >""'");
246191  }
246192  if (!argp3) {
246193  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindow_SetCameraPositionAndLookAt" "', argument " "3"" of type '" "CStdPoint< float >""'");
246194  } else {
246195  CStdPoint< float > * temp = reinterpret_cast< CStdPoint< float > * >(argp3);
246196  arg3 = *temp;
246197  if (SWIG_IsNewObj(res3)) delete temp;
246198  }
246199  }
246200  {
246201  try {
246202  (arg1)->SetCameraPositionAndLookAt(arg2,arg3);
246203  }
246204  catch(CStdErrorInfo oError)
246205  {
246206  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246207  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246208  PyErr_SetString(PyExc_IndexError, strError.c_str());
246209  SWIG_fail;
246210  }
246211  catch(...)
246212  {
246213  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246214  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246215  SWIG_fail;
246216  }
246217  }
246218  resultobj = SWIG_Py_Void();
246219  return resultobj;
246220 fail:
246221  return NULL;
246222 }
246223 
246224 
246225 SWIGINTERN PyObject *_wrap_SimulationWindow_SetCameraPostion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246226  PyObject *resultobj = 0;
246228  CStdPoint< float > arg2 ;
246229  void *argp1 = 0 ;
246230  int res1 = 0 ;
246231  void *argp2 ;
246232  int res2 = 0 ;
246233  PyObject * obj0 = 0 ;
246234  PyObject * obj1 = 0 ;
246235 
246236  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationWindow_SetCameraPostion",&obj0,&obj1)) SWIG_fail;
246237  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
246238  if (!SWIG_IsOK(res1)) {
246239  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_SetCameraPostion" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
246240  }
246241  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
246242  {
246243  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 | 0);
246244  if (!SWIG_IsOK(res2)) {
246245  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimulationWindow_SetCameraPostion" "', argument " "2"" of type '" "CStdPoint< float >""'");
246246  }
246247  if (!argp2) {
246248  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindow_SetCameraPostion" "', argument " "2"" of type '" "CStdPoint< float >""'");
246249  } else {
246250  CStdPoint< float > * temp = reinterpret_cast< CStdPoint< float > * >(argp2);
246251  arg2 = *temp;
246252  if (SWIG_IsNewObj(res2)) delete temp;
246253  }
246254  }
246255  {
246256  try {
246257  (arg1)->SetCameraPostion(arg2);
246258  }
246259  catch(CStdErrorInfo oError)
246260  {
246261  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246262  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246263  PyErr_SetString(PyExc_IndexError, strError.c_str());
246264  SWIG_fail;
246265  }
246266  catch(...)
246267  {
246268  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246269  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246270  SWIG_fail;
246271  }
246272  }
246273  resultobj = SWIG_Py_Void();
246274  return resultobj;
246275 fail:
246276  return NULL;
246277 }
246278 
246279 
246280 SWIGINTERN PyObject *_wrap_SimulationWindow_UpdateBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246281  PyObject *resultobj = 0;
246283  void *argp1 = 0 ;
246284  int res1 = 0 ;
246285  PyObject * obj0 = 0 ;
246286 
246287  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindow_UpdateBackgroundColor",&obj0)) SWIG_fail;
246288  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
246289  if (!SWIG_IsOK(res1)) {
246290  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_UpdateBackgroundColor" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
246291  }
246292  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
246293  {
246294  try {
246295  (arg1)->UpdateBackgroundColor();
246296  }
246297  catch(CStdErrorInfo oError)
246298  {
246299  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246300  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246301  PyErr_SetString(PyExc_IndexError, strError.c_str());
246302  SWIG_fail;
246303  }
246304  catch(...)
246305  {
246306  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246307  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246308  SWIG_fail;
246309  }
246310  }
246311  resultobj = SWIG_Py_Void();
246312  return resultobj;
246313 fail:
246314  return NULL;
246315 }
246316 
246317 
246318 SWIGINTERN PyObject *_wrap_SimulationWindow_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246319  PyObject *resultobj = 0;
246321  std::string *arg2 = 0 ;
246322  void *argp1 = 0 ;
246323  int res1 = 0 ;
246324  int res2 = SWIG_OLDOBJ ;
246325  PyObject * obj0 = 0 ;
246326  PyObject * obj1 = 0 ;
246327  float *result = 0 ;
246328 
246329  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationWindow_GetDataPointer",&obj0,&obj1)) SWIG_fail;
246330  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
246331  if (!SWIG_IsOK(res1)) {
246332  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
246333  }
246334  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
246335  {
246336  std::string *ptr = (std::string *)0;
246337  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
246338  if (!SWIG_IsOK(res2)) {
246339  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimulationWindow_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
246340  }
246341  if (!ptr) {
246342  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindow_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
246343  }
246344  arg2 = ptr;
246345  }
246346  {
246347  try {
246348  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
246349  }
246350  catch(CStdErrorInfo oError)
246351  {
246352  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246353  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246354  PyErr_SetString(PyExc_IndexError, strError.c_str());
246355  SWIG_fail;
246356  }
246357  catch(...)
246358  {
246359  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246360  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246361  SWIG_fail;
246362  }
246363  }
246364  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
246365  if (SWIG_IsNewObj(res2)) delete arg2;
246366  return resultobj;
246367 fail:
246368  if (SWIG_IsNewObj(res2)) delete arg2;
246369  return NULL;
246370 }
246371 
246372 
246373 SWIGINTERN PyObject *_wrap_SimulationWindow_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246374  PyObject *resultobj = 0;
246376  std::string *arg2 = 0 ;
246377  std::string *arg3 = 0 ;
246378  bool arg4 ;
246379  void *argp1 = 0 ;
246380  int res1 = 0 ;
246381  int res2 = SWIG_OLDOBJ ;
246382  int res3 = SWIG_OLDOBJ ;
246383  bool val4 ;
246384  int ecode4 = 0 ;
246385  PyObject * obj0 = 0 ;
246386  PyObject * obj1 = 0 ;
246387  PyObject * obj2 = 0 ;
246388  PyObject * obj3 = 0 ;
246389  bool result;
246390 
246391  if (!PyArg_ParseTuple(args,(char *)"OOOO:SimulationWindow_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
246392  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
246393  if (!SWIG_IsOK(res1)) {
246394  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_SetData" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
246395  }
246396  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
246397  {
246398  std::string *ptr = (std::string *)0;
246399  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
246400  if (!SWIG_IsOK(res2)) {
246401  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimulationWindow_SetData" "', argument " "2"" of type '" "std::string const &""'");
246402  }
246403  if (!ptr) {
246404  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindow_SetData" "', argument " "2"" of type '" "std::string const &""'");
246405  }
246406  arg2 = ptr;
246407  }
246408  {
246409  std::string *ptr = (std::string *)0;
246410  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
246411  if (!SWIG_IsOK(res3)) {
246412  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SimulationWindow_SetData" "', argument " "3"" of type '" "std::string const &""'");
246413  }
246414  if (!ptr) {
246415  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindow_SetData" "', argument " "3"" of type '" "std::string const &""'");
246416  }
246417  arg3 = ptr;
246418  }
246419  ecode4 = SWIG_AsVal_bool(obj3, &val4);
246420  if (!SWIG_IsOK(ecode4)) {
246421  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SimulationWindow_SetData" "', argument " "4"" of type '" "bool""'");
246422  }
246423  arg4 = static_cast< bool >(val4);
246424  {
246425  try {
246426  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
246427  }
246428  catch(CStdErrorInfo oError)
246429  {
246430  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246431  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246432  PyErr_SetString(PyExc_IndexError, strError.c_str());
246433  SWIG_fail;
246434  }
246435  catch(...)
246436  {
246437  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246438  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246439  SWIG_fail;
246440  }
246441  }
246442  resultobj = SWIG_From_bool(static_cast< bool >(result));
246443  if (SWIG_IsNewObj(res2)) delete arg2;
246444  if (SWIG_IsNewObj(res3)) delete arg3;
246445  return resultobj;
246446 fail:
246447  if (SWIG_IsNewObj(res2)) delete arg2;
246448  if (SWIG_IsNewObj(res3)) delete arg3;
246449  return NULL;
246450 }
246451 
246452 
246453 SWIGINTERN PyObject *_wrap_SimulationWindow_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246454  PyObject *resultobj = 0;
246456  std::string *arg2 = 0 ;
246457  std::string *arg3 = 0 ;
246458  void *argp1 = 0 ;
246459  int res1 = 0 ;
246460  int res2 = SWIG_OLDOBJ ;
246461  int res3 = SWIG_OLDOBJ ;
246462  PyObject * obj0 = 0 ;
246463  PyObject * obj1 = 0 ;
246464  PyObject * obj2 = 0 ;
246465  bool result;
246466 
246467  if (!PyArg_ParseTuple(args,(char *)"OOO:SimulationWindow_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
246468  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
246469  if (!SWIG_IsOK(res1)) {
246470  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_SetData" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
246471  }
246472  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
246473  {
246474  std::string *ptr = (std::string *)0;
246475  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
246476  if (!SWIG_IsOK(res2)) {
246477  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimulationWindow_SetData" "', argument " "2"" of type '" "std::string const &""'");
246478  }
246479  if (!ptr) {
246480  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindow_SetData" "', argument " "2"" of type '" "std::string const &""'");
246481  }
246482  arg2 = ptr;
246483  }
246484  {
246485  std::string *ptr = (std::string *)0;
246486  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
246487  if (!SWIG_IsOK(res3)) {
246488  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SimulationWindow_SetData" "', argument " "3"" of type '" "std::string const &""'");
246489  }
246490  if (!ptr) {
246491  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindow_SetData" "', argument " "3"" of type '" "std::string const &""'");
246492  }
246493  arg3 = ptr;
246494  }
246495  {
246496  try {
246497  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
246498  }
246499  catch(CStdErrorInfo oError)
246500  {
246501  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246502  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246503  PyErr_SetString(PyExc_IndexError, strError.c_str());
246504  SWIG_fail;
246505  }
246506  catch(...)
246507  {
246508  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246509  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246510  SWIG_fail;
246511  }
246512  }
246513  resultobj = SWIG_From_bool(static_cast< bool >(result));
246514  if (SWIG_IsNewObj(res2)) delete arg2;
246515  if (SWIG_IsNewObj(res3)) delete arg3;
246516  return resultobj;
246517 fail:
246518  if (SWIG_IsNewObj(res2)) delete arg2;
246519  if (SWIG_IsNewObj(res3)) delete arg3;
246520  return NULL;
246521 }
246522 
246523 
246524 SWIGINTERN PyObject *_wrap_SimulationWindow_SetData(PyObject *self, PyObject *args) {
246525  int argc;
246526  PyObject *argv[5];
246527  int ii;
246528 
246529  if (!PyTuple_Check(args)) SWIG_fail;
246530  argc = args ? (int)PyObject_Length(args) : 0;
246531  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
246532  argv[ii] = PyTuple_GET_ITEM(args,ii);
246533  }
246534  if (argc == 3) {
246535  int _v;
246536  void *vptr = 0;
246537  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
246538  _v = SWIG_CheckState(res);
246539  if (_v) {
246540  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
246541  _v = SWIG_CheckState(res);
246542  if (_v) {
246543  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
246544  _v = SWIG_CheckState(res);
246545  if (_v) {
246546  return _wrap_SimulationWindow_SetData__SWIG_1(self, args);
246547  }
246548  }
246549  }
246550  }
246551  if (argc == 4) {
246552  int _v;
246553  void *vptr = 0;
246554  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
246555  _v = SWIG_CheckState(res);
246556  if (_v) {
246557  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
246558  _v = SWIG_CheckState(res);
246559  if (_v) {
246560  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
246561  _v = SWIG_CheckState(res);
246562  if (_v) {
246563  {
246564  int res = SWIG_AsVal_bool(argv[3], NULL);
246565  _v = SWIG_CheckState(res);
246566  }
246567  if (_v) {
246568  return _wrap_SimulationWindow_SetData__SWIG_0(self, args);
246569  }
246570  }
246571  }
246572  }
246573  }
246574 
246575 fail:
246576  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SimulationWindow_SetData'.\n"
246577  " Possible C/C++ prototypes are:\n"
246578  " AnimatSim::SimulationWindow::SetData(std::string const &,std::string const &,bool)\n"
246579  " AnimatSim::SimulationWindow::SetData(std::string const &,std::string const &)\n");
246580  return 0;
246581 }
246582 
246583 
246584 SWIGINTERN PyObject *_wrap_SimulationWindow_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246585  PyObject *resultobj = 0;
246587  CStdPtrArray< TypeProperty > *arg2 = 0 ;
246588  void *argp1 = 0 ;
246589  int res1 = 0 ;
246590  void *argp2 = 0 ;
246591  int res2 = 0 ;
246592  PyObject * obj0 = 0 ;
246593  PyObject * obj1 = 0 ;
246594 
246595  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationWindow_QueryProperties",&obj0,&obj1)) SWIG_fail;
246596  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
246597  if (!SWIG_IsOK(res1)) {
246598  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_QueryProperties" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
246599  }
246600  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
246601  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
246602  if (!SWIG_IsOK(res2)) {
246603  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimulationWindow_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
246604  }
246605  if (!argp2) {
246606  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindow_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
246607  }
246608  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
246609  {
246610  try {
246611  (arg1)->QueryProperties(*arg2);
246612  }
246613  catch(CStdErrorInfo oError)
246614  {
246615  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246616  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246617  PyErr_SetString(PyExc_IndexError, strError.c_str());
246618  SWIG_fail;
246619  }
246620  catch(...)
246621  {
246622  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246623  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246624  SWIG_fail;
246625  }
246626  }
246627  resultobj = SWIG_Py_Void();
246628  return resultobj;
246629 fail:
246630  return NULL;
246631 }
246632 
246633 
246634 SWIGINTERN PyObject *_wrap_SimulationWindow_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246635  PyObject *resultobj = 0;
246637  void *argp1 = 0 ;
246638  int res1 = 0 ;
246639  PyObject * obj0 = 0 ;
246640 
246641  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindow_Update",&obj0)) SWIG_fail;
246642  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
246643  if (!SWIG_IsOK(res1)) {
246644  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_Update" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
246645  }
246646  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
246647  {
246648  try {
246649  (arg1)->Update();
246650  }
246651  catch(CStdErrorInfo oError)
246652  {
246653  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246654  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246655  PyErr_SetString(PyExc_IndexError, strError.c_str());
246656  SWIG_fail;
246657  }
246658  catch(...)
246659  {
246660  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246661  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246662  SWIG_fail;
246663  }
246664  }
246665  resultobj = SWIG_Py_Void();
246666  return resultobj;
246667 fail:
246668  return NULL;
246669 }
246670 
246671 
246672 SWIGINTERN PyObject *_wrap_SimulationWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246673  PyObject *resultobj = 0;
246675  void *argp1 = 0 ;
246676  int res1 = 0 ;
246677  PyObject * obj0 = 0 ;
246678 
246679  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindow_Close",&obj0)) SWIG_fail;
246680  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
246681  if (!SWIG_IsOK(res1)) {
246682  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_Close" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
246683  }
246684  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
246685  {
246686  try {
246687  (arg1)->Close();
246688  }
246689  catch(CStdErrorInfo oError)
246690  {
246691  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246692  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246693  PyErr_SetString(PyExc_IndexError, strError.c_str());
246694  SWIG_fail;
246695  }
246696  catch(...)
246697  {
246698  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246699  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246700  SWIG_fail;
246701  }
246702  }
246703  resultobj = SWIG_Py_Void();
246704  return resultobj;
246705 fail:
246706  return NULL;
246707 }
246708 
246709 
246710 SWIGINTERN PyObject *_wrap_SimulationWindow_Load__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246711  PyObject *resultobj = 0;
246713  CStdXml *arg2 = 0 ;
246714  void *argp1 = 0 ;
246715  int res1 = 0 ;
246716  void *argp2 = 0 ;
246717  int res2 = 0 ;
246718  PyObject * obj0 = 0 ;
246719  PyObject * obj1 = 0 ;
246720 
246721  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationWindow_Load",&obj0,&obj1)) SWIG_fail;
246722  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
246723  if (!SWIG_IsOK(res1)) {
246724  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_Load" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
246725  }
246726  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
246727  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
246728  if (!SWIG_IsOK(res2)) {
246729  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimulationWindow_Load" "', argument " "2"" of type '" "CStdXml &""'");
246730  }
246731  if (!argp2) {
246732  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindow_Load" "', argument " "2"" of type '" "CStdXml &""'");
246733  }
246734  arg2 = reinterpret_cast< CStdXml * >(argp2);
246735  {
246736  try {
246737  (arg1)->Load(*arg2);
246738  }
246739  catch(CStdErrorInfo oError)
246740  {
246741  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246742  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246743  PyErr_SetString(PyExc_IndexError, strError.c_str());
246744  SWIG_fail;
246745  }
246746  catch(...)
246747  {
246748  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246749  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246750  SWIG_fail;
246751  }
246752  }
246753  resultobj = SWIG_Py_Void();
246754  return resultobj;
246755 fail:
246756  return NULL;
246757 }
246758 
246759 
246760 SWIGINTERN PyObject *_wrap_SimulationWindow_Load__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246761  PyObject *resultobj = 0;
246763  std::string arg2 ;
246764  void *argp1 = 0 ;
246765  int res1 = 0 ;
246766  PyObject * obj0 = 0 ;
246767  PyObject * obj1 = 0 ;
246768 
246769  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationWindow_Load",&obj0,&obj1)) SWIG_fail;
246770  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
246771  if (!SWIG_IsOK(res1)) {
246772  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_Load" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
246773  }
246774  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
246775  {
246776  std::string *ptr = (std::string *)0;
246777  int res = SWIG_AsPtr_std_string(obj1, &ptr);
246778  if (!SWIG_IsOK(res) || !ptr) {
246779  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationWindow_Load" "', argument " "2"" of type '" "std::string""'");
246780  }
246781  arg2 = *ptr;
246782  if (SWIG_IsNewObj(res)) delete ptr;
246783  }
246784  {
246785  try {
246786  (arg1)->Load(arg2);
246787  }
246788  catch(CStdErrorInfo oError)
246789  {
246790  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246791  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246792  PyErr_SetString(PyExc_IndexError, strError.c_str());
246793  SWIG_fail;
246794  }
246795  catch(...)
246796  {
246797  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246798  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246799  SWIG_fail;
246800  }
246801  }
246802  resultobj = SWIG_Py_Void();
246803  return resultobj;
246804 fail:
246805  return NULL;
246806 }
246807 
246808 
246809 SWIGINTERN PyObject *_wrap_SimulationWindow_Load(PyObject *self, PyObject *args) {
246810  int argc;
246811  PyObject *argv[3];
246812  int ii;
246813 
246814  if (!PyTuple_Check(args)) SWIG_fail;
246815  argc = args ? (int)PyObject_Length(args) : 0;
246816  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
246817  argv[ii] = PyTuple_GET_ITEM(args,ii);
246818  }
246819  if (argc == 2) {
246820  int _v;
246821  void *vptr = 0;
246822  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
246823  _v = SWIG_CheckState(res);
246824  if (_v) {
246825  void *vptr = 0;
246826  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
246827  _v = SWIG_CheckState(res);
246828  if (_v) {
246829  return _wrap_SimulationWindow_Load__SWIG_0(self, args);
246830  }
246831  }
246832  }
246833  if (argc == 2) {
246834  int _v;
246835  void *vptr = 0;
246836  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindow, 0);
246837  _v = SWIG_CheckState(res);
246838  if (_v) {
246839  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
246840  _v = SWIG_CheckState(res);
246841  if (_v) {
246842  return _wrap_SimulationWindow_Load__SWIG_1(self, args);
246843  }
246844  }
246845  }
246846 
246847 fail:
246848  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SimulationWindow_Load'.\n"
246849  " Possible C/C++ prototypes are:\n"
246850  " AnimatSim::SimulationWindow::Load(CStdXml &)\n"
246851  " AnimatSim::SimulationWindow::Load(std::string)\n");
246852  return 0;
246853 }
246854 
246855 
246856 SWIGINTERN PyObject *_wrap_SimulationWindow_OnGetFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246857  PyObject *resultobj = 0;
246859  void *argp1 = 0 ;
246860  int res1 = 0 ;
246861  PyObject * obj0 = 0 ;
246862 
246863  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindow_OnGetFocus",&obj0)) SWIG_fail;
246864  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
246865  if (!SWIG_IsOK(res1)) {
246866  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_OnGetFocus" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
246867  }
246868  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
246869  {
246870  try {
246871  (arg1)->OnGetFocus();
246872  }
246873  catch(CStdErrorInfo oError)
246874  {
246875  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246876  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246877  PyErr_SetString(PyExc_IndexError, strError.c_str());
246878  SWIG_fail;
246879  }
246880  catch(...)
246881  {
246882  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246883  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246884  SWIG_fail;
246885  }
246886  }
246887  resultobj = SWIG_Py_Void();
246888  return resultobj;
246889 fail:
246890  return NULL;
246891 }
246892 
246893 
246894 SWIGINTERN PyObject *_wrap_SimulationWindow_OnLoseFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246895  PyObject *resultobj = 0;
246897  void *argp1 = 0 ;
246898  int res1 = 0 ;
246899  PyObject * obj0 = 0 ;
246900 
246901  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindow_OnLoseFocus",&obj0)) SWIG_fail;
246902  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
246903  if (!SWIG_IsOK(res1)) {
246904  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindow_OnLoseFocus" "', argument " "1"" of type '" "AnimatSim::SimulationWindow *""'");
246905  }
246906  arg1 = reinterpret_cast< AnimatSim::SimulationWindow * >(argp1);
246907  {
246908  try {
246909  (arg1)->OnLoseFocus();
246910  }
246911  catch(CStdErrorInfo oError)
246912  {
246913  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246914  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246915  PyErr_SetString(PyExc_IndexError, strError.c_str());
246916  SWIG_fail;
246917  }
246918  catch(...)
246919  {
246920  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246921  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246922  SWIG_fail;
246923  }
246924  }
246925  resultobj = SWIG_Py_Void();
246926  return resultobj;
246927 fail:
246928  return NULL;
246929 }
246930 
246931 
246932 SWIGINTERN PyObject *SimulationWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246933  PyObject *obj;
246934  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
246935  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__SimulationWindow, SWIG_NewClientData(obj));
246936  return SWIG_Py_Void();
246937 }
246938 
246939 SWIGINTERN PyObject *_wrap_delete_SimulationWindowMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246940  PyObject *resultobj = 0;
246942  void *argp1 = 0 ;
246943  int res1 = 0 ;
246944  PyObject * obj0 = 0 ;
246945 
246946  if (!PyArg_ParseTuple(args,(char *)"O:delete_SimulationWindowMgr",&obj0)) SWIG_fail;
246947  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindowMgr, SWIG_POINTER_DISOWN | 0 );
246948  if (!SWIG_IsOK(res1)) {
246949  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SimulationWindowMgr" "', argument " "1"" of type '" "AnimatSim::SimulationWindowMgr *""'");
246950  }
246951  arg1 = reinterpret_cast< AnimatSim::SimulationWindowMgr * >(argp1);
246952  {
246953  try {
246954  delete arg1;
246955  }
246956  catch(CStdErrorInfo oError)
246957  {
246958  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246959  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246960  PyErr_SetString(PyExc_IndexError, strError.c_str());
246961  SWIG_fail;
246962  }
246963  catch(...)
246964  {
246965  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246966  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
246967  SWIG_fail;
246968  }
246969  }
246970  resultobj = SWIG_Py_Void();
246971  return resultobj;
246972 fail:
246973  return NULL;
246974 }
246975 
246976 
246977 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
246978  PyObject *resultobj = 0;
246980  void *argp1 = 0 ;
246981  int res1 = 0 ;
246982  PyObject * obj0 = 0 ;
246983  AnimatSim::SimulationWindowMgr *result = 0 ;
246984 
246985  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindowMgr_CastToDerived",&obj0)) SWIG_fail;
246986  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
246987  if (!SWIG_IsOK(res1)) {
246988  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindowMgr_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
246989  }
246990  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
246991  {
246992  try {
246993  result = (AnimatSim::SimulationWindowMgr *)AnimatSim::SimulationWindowMgr::CastToDerived(arg1);
246994  }
246995  catch(CStdErrorInfo oError)
246996  {
246997  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
246998  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
246999  PyErr_SetString(PyExc_IndexError, strError.c_str());
247000  SWIG_fail;
247001  }
247002  catch(...)
247003  {
247004  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247005  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247006  SWIG_fail;
247007  }
247008  }
247009  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
247010  return resultobj;
247011 fail:
247012  return NULL;
247013 }
247014 
247015 
247016 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_HasContainedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247017  PyObject *resultobj = 0;
247019  void *argp1 = 0 ;
247020  int res1 = 0 ;
247021  PyObject * obj0 = 0 ;
247022  bool result;
247023 
247024  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindowMgr_HasContainedWindow",&obj0)) SWIG_fail;
247025  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
247026  if (!SWIG_IsOK(res1)) {
247027  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindowMgr_HasContainedWindow" "', argument " "1"" of type '" "AnimatSim::SimulationWindowMgr *""'");
247028  }
247029  arg1 = reinterpret_cast< AnimatSim::SimulationWindowMgr * >(argp1);
247030  {
247031  try {
247032  result = (bool)(arg1)->HasContainedWindow();
247033  }
247034  catch(CStdErrorInfo oError)
247035  {
247036  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247037  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247038  PyErr_SetString(PyExc_IndexError, strError.c_str());
247039  SWIG_fail;
247040  }
247041  catch(...)
247042  {
247043  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247044  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247045  SWIG_fail;
247046  }
247047  }
247048  resultobj = SWIG_From_bool(static_cast< bool >(result));
247049  return resultobj;
247050 fail:
247051  return NULL;
247052 }
247053 
247054 
247055 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_Windows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247056  PyObject *resultobj = 0;
247058  void *argp1 = 0 ;
247059  int res1 = 0 ;
247060  PyObject * obj0 = 0 ;
247061  CStdPtrArray< AnimatSim::SimulationWindow > *result = 0 ;
247062 
247063  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindowMgr_Windows",&obj0)) SWIG_fail;
247064  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
247065  if (!SWIG_IsOK(res1)) {
247066  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindowMgr_Windows" "', argument " "1"" of type '" "AnimatSim::SimulationWindowMgr *""'");
247067  }
247068  arg1 = reinterpret_cast< AnimatSim::SimulationWindowMgr * >(argp1);
247069  {
247070  try {
247071  result = (CStdPtrArray< AnimatSim::SimulationWindow > *)(arg1)->Windows();
247072  }
247073  catch(CStdErrorInfo oError)
247074  {
247075  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247076  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247077  PyErr_SetString(PyExc_IndexError, strError.c_str());
247078  SWIG_fail;
247079  }
247080  catch(...)
247081  {
247082  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247083  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247084  SWIG_fail;
247085  }
247086  }
247087  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_AnimatSim__SimulationWindow_t, 0 | 0 );
247088  return resultobj;
247089 fail:
247090  return NULL;
247091 }
247092 
247093 
247094 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247095  PyObject *resultobj = 0;
247097  void *argp1 = 0 ;
247098  int res1 = 0 ;
247099  PyObject * obj0 = 0 ;
247100  bool result;
247101 
247102  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindowMgr_Update",&obj0)) SWIG_fail;
247103  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
247104  if (!SWIG_IsOK(res1)) {
247105  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindowMgr_Update" "', argument " "1"" of type '" "AnimatSim::SimulationWindowMgr *""'");
247106  }
247107  arg1 = reinterpret_cast< AnimatSim::SimulationWindowMgr * >(argp1);
247108  {
247109  try {
247110  result = (bool)(arg1)->Update();
247111  }
247112  catch(CStdErrorInfo oError)
247113  {
247114  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247115  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247116  PyErr_SetString(PyExc_IndexError, strError.c_str());
247117  SWIG_fail;
247118  }
247119  catch(...)
247120  {
247121  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247122  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247123  SWIG_fail;
247124  }
247125  }
247126  resultobj = SWIG_From_bool(static_cast< bool >(result));
247127  return resultobj;
247128 fail:
247129  return NULL;
247130 }
247131 
247132 
247133 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247134  PyObject *resultobj = 0;
247136  void *argp1 = 0 ;
247137  int res1 = 0 ;
247138  PyObject * obj0 = 0 ;
247139 
247140  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindowMgr_Realize",&obj0)) SWIG_fail;
247141  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
247142  if (!SWIG_IsOK(res1)) {
247143  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindowMgr_Realize" "', argument " "1"" of type '" "AnimatSim::SimulationWindowMgr *""'");
247144  }
247145  arg1 = reinterpret_cast< AnimatSim::SimulationWindowMgr * >(argp1);
247146  {
247147  try {
247148  (arg1)->Realize();
247149  }
247150  catch(CStdErrorInfo oError)
247151  {
247152  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247153  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247154  PyErr_SetString(PyExc_IndexError, strError.c_str());
247155  SWIG_fail;
247156  }
247157  catch(...)
247158  {
247159  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247160  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247161  SWIG_fail;
247162  }
247163  }
247164  resultobj = SWIG_Py_Void();
247165  return resultobj;
247166 fail:
247167  return NULL;
247168 }
247169 
247170 
247171 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247172  PyObject *resultobj = 0;
247174  void *argp1 = 0 ;
247175  int res1 = 0 ;
247176  PyObject * obj0 = 0 ;
247177 
247178  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindowMgr_Close",&obj0)) SWIG_fail;
247179  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
247180  if (!SWIG_IsOK(res1)) {
247181  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindowMgr_Close" "', argument " "1"" of type '" "AnimatSim::SimulationWindowMgr *""'");
247182  }
247183  arg1 = reinterpret_cast< AnimatSim::SimulationWindowMgr * >(argp1);
247184  {
247185  try {
247186  (arg1)->Close();
247187  }
247188  catch(CStdErrorInfo oError)
247189  {
247190  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247191  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247192  PyErr_SetString(PyExc_IndexError, strError.c_str());
247193  SWIG_fail;
247194  }
247195  catch(...)
247196  {
247197  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247198  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247199  SWIG_fail;
247200  }
247201  }
247202  resultobj = SWIG_Py_Void();
247203  return resultobj;
247204 fail:
247205  return NULL;
247206 }
247207 
247208 
247209 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247210  PyObject *resultobj = 0;
247212  void *argp1 = 0 ;
247213  int res1 = 0 ;
247214  PyObject * obj0 = 0 ;
247215 
247216  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindowMgr_Initialize",&obj0)) SWIG_fail;
247217  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
247218  if (!SWIG_IsOK(res1)) {
247219  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindowMgr_Initialize" "', argument " "1"" of type '" "AnimatSim::SimulationWindowMgr *""'");
247220  }
247221  arg1 = reinterpret_cast< AnimatSim::SimulationWindowMgr * >(argp1);
247222  {
247223  try {
247224  (arg1)->Initialize();
247225  }
247226  catch(CStdErrorInfo oError)
247227  {
247228  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247229  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247230  PyErr_SetString(PyExc_IndexError, strError.c_str());
247231  SWIG_fail;
247232  }
247233  catch(...)
247234  {
247235  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247236  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247237  SWIG_fail;
247238  }
247239  }
247240  resultobj = SWIG_Py_Void();
247241  return resultobj;
247242 fail:
247243  return NULL;
247244 }
247245 
247246 
247247 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_UpdateBackgroundColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247248  PyObject *resultobj = 0;
247250  void *argp1 = 0 ;
247251  int res1 = 0 ;
247252  PyObject * obj0 = 0 ;
247253 
247254  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindowMgr_UpdateBackgroundColor",&obj0)) SWIG_fail;
247255  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
247256  if (!SWIG_IsOK(res1)) {
247257  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindowMgr_UpdateBackgroundColor" "', argument " "1"" of type '" "AnimatSim::SimulationWindowMgr *""'");
247258  }
247259  arg1 = reinterpret_cast< AnimatSim::SimulationWindowMgr * >(argp1);
247260  {
247261  try {
247262  (arg1)->UpdateBackgroundColor();
247263  }
247264  catch(CStdErrorInfo oError)
247265  {
247266  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247267  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247268  PyErr_SetString(PyExc_IndexError, strError.c_str());
247269  SWIG_fail;
247270  }
247271  catch(...)
247272  {
247273  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247274  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247275  SWIG_fail;
247276  }
247277  }
247278  resultobj = SWIG_Py_Void();
247279  return resultobj;
247280 fail:
247281  return NULL;
247282 }
247283 
247284 
247285 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_FindSimulationWindow__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247286  PyObject *resultobj = 0;
247288  HWND arg2 ;
247289  int *arg3 = 0 ;
247290  bool arg4 ;
247291  void *argp1 = 0 ;
247292  int res1 = 0 ;
247293  void *argp2 ;
247294  int res2 = 0 ;
247295  void *argp3 = 0 ;
247296  int res3 = 0 ;
247297  bool val4 ;
247298  int ecode4 = 0 ;
247299  PyObject * obj0 = 0 ;
247300  PyObject * obj1 = 0 ;
247301  PyObject * obj2 = 0 ;
247302  PyObject * obj3 = 0 ;
247303  AnimatSim::SimulationWindow *result = 0 ;
247304 
247305  if (!PyArg_ParseTuple(args,(char *)"OOOO:SimulationWindowMgr_FindSimulationWindow",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
247306  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
247307  if (!SWIG_IsOK(res1)) {
247308  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindowMgr_FindSimulationWindow" "', argument " "1"" of type '" "AnimatSim::SimulationWindowMgr *""'");
247309  }
247310  arg1 = reinterpret_cast< AnimatSim::SimulationWindowMgr * >(argp1);
247311  {
247312  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_HWND, 0 | 0);
247313  if (!SWIG_IsOK(res2)) {
247314  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimulationWindowMgr_FindSimulationWindow" "', argument " "2"" of type '" "HWND""'");
247315  }
247316  if (!argp2) {
247317  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindowMgr_FindSimulationWindow" "', argument " "2"" of type '" "HWND""'");
247318  } else {
247319  HWND * temp = reinterpret_cast< HWND * >(argp2);
247320  arg2 = *temp;
247321  if (SWIG_IsNewObj(res2)) delete temp;
247322  }
247323  }
247324  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 );
247325  if (!SWIG_IsOK(res3)) {
247326  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SimulationWindowMgr_FindSimulationWindow" "', argument " "3"" of type '" "int &""'");
247327  }
247328  if (!argp3) {
247329  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindowMgr_FindSimulationWindow" "', argument " "3"" of type '" "int &""'");
247330  }
247331  arg3 = reinterpret_cast< int * >(argp3);
247332  ecode4 = SWIG_AsVal_bool(obj3, &val4);
247333  if (!SWIG_IsOK(ecode4)) {
247334  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SimulationWindowMgr_FindSimulationWindow" "', argument " "4"" of type '" "bool""'");
247335  }
247336  arg4 = static_cast< bool >(val4);
247337  {
247338  try {
247339  result = (AnimatSim::SimulationWindow *)(arg1)->FindSimulationWindow(arg2,*arg3,arg4);
247340  }
247341  catch(CStdErrorInfo oError)
247342  {
247343  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247344  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247345  PyErr_SetString(PyExc_IndexError, strError.c_str());
247346  SWIG_fail;
247347  }
247348  catch(...)
247349  {
247350  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247351  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247352  SWIG_fail;
247353  }
247354  }
247355  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
247356  return resultobj;
247357 fail:
247358  return NULL;
247359 }
247360 
247361 
247362 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_FindSimulationWindow__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247363  PyObject *resultobj = 0;
247365  HWND arg2 ;
247366  int *arg3 = 0 ;
247367  void *argp1 = 0 ;
247368  int res1 = 0 ;
247369  void *argp2 ;
247370  int res2 = 0 ;
247371  void *argp3 = 0 ;
247372  int res3 = 0 ;
247373  PyObject * obj0 = 0 ;
247374  PyObject * obj1 = 0 ;
247375  PyObject * obj2 = 0 ;
247376  AnimatSim::SimulationWindow *result = 0 ;
247377 
247378  if (!PyArg_ParseTuple(args,(char *)"OOO:SimulationWindowMgr_FindSimulationWindow",&obj0,&obj1,&obj2)) SWIG_fail;
247379  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
247380  if (!SWIG_IsOK(res1)) {
247381  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindowMgr_FindSimulationWindow" "', argument " "1"" of type '" "AnimatSim::SimulationWindowMgr *""'");
247382  }
247383  arg1 = reinterpret_cast< AnimatSim::SimulationWindowMgr * >(argp1);
247384  {
247385  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_HWND, 0 | 0);
247386  if (!SWIG_IsOK(res2)) {
247387  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimulationWindowMgr_FindSimulationWindow" "', argument " "2"" of type '" "HWND""'");
247388  }
247389  if (!argp2) {
247390  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindowMgr_FindSimulationWindow" "', argument " "2"" of type '" "HWND""'");
247391  } else {
247392  HWND * temp = reinterpret_cast< HWND * >(argp2);
247393  arg2 = *temp;
247394  if (SWIG_IsNewObj(res2)) delete temp;
247395  }
247396  }
247397  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 );
247398  if (!SWIG_IsOK(res3)) {
247399  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SimulationWindowMgr_FindSimulationWindow" "', argument " "3"" of type '" "int &""'");
247400  }
247401  if (!argp3) {
247402  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindowMgr_FindSimulationWindow" "', argument " "3"" of type '" "int &""'");
247403  }
247404  arg3 = reinterpret_cast< int * >(argp3);
247405  {
247406  try {
247407  result = (AnimatSim::SimulationWindow *)(arg1)->FindSimulationWindow(arg2,*arg3);
247408  }
247409  catch(CStdErrorInfo oError)
247410  {
247411  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247412  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247413  PyErr_SetString(PyExc_IndexError, strError.c_str());
247414  SWIG_fail;
247415  }
247416  catch(...)
247417  {
247418  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247419  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247420  SWIG_fail;
247421  }
247422  }
247423  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
247424  return resultobj;
247425 fail:
247426  return NULL;
247427 }
247428 
247429 
247430 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_FindSimulationWindow(PyObject *self, PyObject *args) {
247431  int argc;
247432  PyObject *argv[5];
247433  int ii;
247434 
247435  if (!PyTuple_Check(args)) SWIG_fail;
247436  argc = args ? (int)PyObject_Length(args) : 0;
247437  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
247438  argv[ii] = PyTuple_GET_ITEM(args,ii);
247439  }
247440  if (argc == 3) {
247441  int _v;
247442  void *vptr = 0;
247443  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0);
247444  _v = SWIG_CheckState(res);
247445  if (_v) {
247446  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_HWND, 0);
247447  _v = SWIG_CheckState(res);
247448  if (_v) {
247449  void *vptr = 0;
247450  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
247451  _v = SWIG_CheckState(res);
247452  if (_v) {
247453  return _wrap_SimulationWindowMgr_FindSimulationWindow__SWIG_1(self, args);
247454  }
247455  }
247456  }
247457  }
247458  if (argc == 4) {
247459  int _v;
247460  void *vptr = 0;
247461  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0);
247462  _v = SWIG_CheckState(res);
247463  if (_v) {
247464  int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_HWND, 0);
247465  _v = SWIG_CheckState(res);
247466  if (_v) {
247467  void *vptr = 0;
247468  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
247469  _v = SWIG_CheckState(res);
247470  if (_v) {
247471  {
247472  int res = SWIG_AsVal_bool(argv[3], NULL);
247473  _v = SWIG_CheckState(res);
247474  }
247475  if (_v) {
247476  return _wrap_SimulationWindowMgr_FindSimulationWindow__SWIG_0(self, args);
247477  }
247478  }
247479  }
247480  }
247481  }
247482 
247483 fail:
247484  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SimulationWindowMgr_FindSimulationWindow'.\n"
247485  " Possible C/C++ prototypes are:\n"
247486  " AnimatSim::SimulationWindowMgr::FindSimulationWindow(HWND,int &,bool)\n"
247487  " AnimatSim::SimulationWindowMgr::FindSimulationWindow(HWND,int &)\n");
247488  return 0;
247489 }
247490 
247491 
247492 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247493  PyObject *resultobj = 0;
247495  void *argp1 = 0 ;
247496  int res1 = 0 ;
247497  PyObject * obj0 = 0 ;
247498 
247499  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindowMgr_ResetSimulation",&obj0)) SWIG_fail;
247500  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
247501  if (!SWIG_IsOK(res1)) {
247502  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindowMgr_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::SimulationWindowMgr *""'");
247503  }
247504  arg1 = reinterpret_cast< AnimatSim::SimulationWindowMgr * >(argp1);
247505  {
247506  try {
247507  (arg1)->ResetSimulation();
247508  }
247509  catch(CStdErrorInfo oError)
247510  {
247511  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247512  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247513  PyErr_SetString(PyExc_IndexError, strError.c_str());
247514  SWIG_fail;
247515  }
247516  catch(...)
247517  {
247518  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247519  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247520  SWIG_fail;
247521  }
247522  }
247523  resultobj = SWIG_Py_Void();
247524  return resultobj;
247525 fail:
247526  return NULL;
247527 }
247528 
247529 
247530 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_AddSimulationWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247531  PyObject *resultobj = 0;
247533  std::string arg2 ;
247534  std::string arg3 ;
247535  bool arg4 ;
247536  HWND arg5 ;
247537  std::string arg6 ;
247538  void *argp1 = 0 ;
247539  int res1 = 0 ;
247540  bool val4 ;
247541  int ecode4 = 0 ;
247542  void *argp5 ;
247543  int res5 = 0 ;
247544  PyObject * obj0 = 0 ;
247545  PyObject * obj1 = 0 ;
247546  PyObject * obj2 = 0 ;
247547  PyObject * obj3 = 0 ;
247548  PyObject * obj4 = 0 ;
247549  PyObject * obj5 = 0 ;
247550  AnimatSim::SimulationWindow *result = 0 ;
247551 
247552  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:SimulationWindowMgr_AddSimulationWindow",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
247553  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
247554  if (!SWIG_IsOK(res1)) {
247555  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindowMgr_AddSimulationWindow" "', argument " "1"" of type '" "AnimatSim::SimulationWindowMgr *""'");
247556  }
247557  arg1 = reinterpret_cast< AnimatSim::SimulationWindowMgr * >(argp1);
247558  {
247559  std::string *ptr = (std::string *)0;
247560  int res = SWIG_AsPtr_std_string(obj1, &ptr);
247561  if (!SWIG_IsOK(res) || !ptr) {
247562  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationWindowMgr_AddSimulationWindow" "', argument " "2"" of type '" "std::string""'");
247563  }
247564  arg2 = *ptr;
247565  if (SWIG_IsNewObj(res)) delete ptr;
247566  }
247567  {
247568  std::string *ptr = (std::string *)0;
247569  int res = SWIG_AsPtr_std_string(obj2, &ptr);
247570  if (!SWIG_IsOK(res) || !ptr) {
247571  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationWindowMgr_AddSimulationWindow" "', argument " "3"" of type '" "std::string""'");
247572  }
247573  arg3 = *ptr;
247574  if (SWIG_IsNewObj(res)) delete ptr;
247575  }
247576  ecode4 = SWIG_AsVal_bool(obj3, &val4);
247577  if (!SWIG_IsOK(ecode4)) {
247578  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SimulationWindowMgr_AddSimulationWindow" "', argument " "4"" of type '" "bool""'");
247579  }
247580  arg4 = static_cast< bool >(val4);
247581  {
247582  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_HWND, 0 | 0);
247583  if (!SWIG_IsOK(res5)) {
247584  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SimulationWindowMgr_AddSimulationWindow" "', argument " "5"" of type '" "HWND""'");
247585  }
247586  if (!argp5) {
247587  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindowMgr_AddSimulationWindow" "', argument " "5"" of type '" "HWND""'");
247588  } else {
247589  HWND * temp = reinterpret_cast< HWND * >(argp5);
247590  arg5 = *temp;
247591  if (SWIG_IsNewObj(res5)) delete temp;
247592  }
247593  }
247594  {
247595  std::string *ptr = (std::string *)0;
247596  int res = SWIG_AsPtr_std_string(obj5, &ptr);
247597  if (!SWIG_IsOK(res) || !ptr) {
247598  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationWindowMgr_AddSimulationWindow" "', argument " "6"" of type '" "std::string""'");
247599  }
247600  arg6 = *ptr;
247601  if (SWIG_IsNewObj(res)) delete ptr;
247602  }
247603  {
247604  try {
247605  result = (AnimatSim::SimulationWindow *)(arg1)->AddSimulationWindow(arg2,arg3,arg4,arg5,arg6);
247606  }
247607  catch(CStdErrorInfo oError)
247608  {
247609  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247610  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247611  PyErr_SetString(PyExc_IndexError, strError.c_str());
247612  SWIG_fail;
247613  }
247614  catch(...)
247615  {
247616  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247617  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247618  SWIG_fail;
247619  }
247620  }
247621  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__SimulationWindow, 0 | 0 );
247622  return resultobj;
247623 fail:
247624  return NULL;
247625 }
247626 
247627 
247628 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_RemoveSimulationWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247629  PyObject *resultobj = 0;
247631  HWND arg2 ;
247632  void *argp1 = 0 ;
247633  int res1 = 0 ;
247634  void *argp2 ;
247635  int res2 = 0 ;
247636  PyObject * obj0 = 0 ;
247637  PyObject * obj1 = 0 ;
247638 
247639  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationWindowMgr_RemoveSimulationWindow",&obj0,&obj1)) SWIG_fail;
247640  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
247641  if (!SWIG_IsOK(res1)) {
247642  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindowMgr_RemoveSimulationWindow" "', argument " "1"" of type '" "AnimatSim::SimulationWindowMgr *""'");
247643  }
247644  arg1 = reinterpret_cast< AnimatSim::SimulationWindowMgr * >(argp1);
247645  {
247646  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_HWND, 0 | 0);
247647  if (!SWIG_IsOK(res2)) {
247648  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimulationWindowMgr_RemoveSimulationWindow" "', argument " "2"" of type '" "HWND""'");
247649  }
247650  if (!argp2) {
247651  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindowMgr_RemoveSimulationWindow" "', argument " "2"" of type '" "HWND""'");
247652  } else {
247653  HWND * temp = reinterpret_cast< HWND * >(argp2);
247654  arg2 = *temp;
247655  if (SWIG_IsNewObj(res2)) delete temp;
247656  }
247657  }
247658  {
247659  try {
247660  (arg1)->RemoveSimulationWindow(arg2);
247661  }
247662  catch(CStdErrorInfo oError)
247663  {
247664  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247665  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247666  PyErr_SetString(PyExc_IndexError, strError.c_str());
247667  SWIG_fail;
247668  }
247669  catch(...)
247670  {
247671  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247672  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247673  SWIG_fail;
247674  }
247675  }
247676  resultobj = SWIG_Py_Void();
247677  return resultobj;
247678 fail:
247679  return NULL;
247680 }
247681 
247682 
247683 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_CloseAllWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247684  PyObject *resultobj = 0;
247686  void *argp1 = 0 ;
247687  int res1 = 0 ;
247688  PyObject * obj0 = 0 ;
247689 
247690  if (!PyArg_ParseTuple(args,(char *)"O:SimulationWindowMgr_CloseAllWindows",&obj0)) SWIG_fail;
247691  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
247692  if (!SWIG_IsOK(res1)) {
247693  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindowMgr_CloseAllWindows" "', argument " "1"" of type '" "AnimatSim::SimulationWindowMgr *""'");
247694  }
247695  arg1 = reinterpret_cast< AnimatSim::SimulationWindowMgr * >(argp1);
247696  {
247697  try {
247698  (arg1)->CloseAllWindows();
247699  }
247700  catch(CStdErrorInfo oError)
247701  {
247702  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247703  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247704  PyErr_SetString(PyExc_IndexError, strError.c_str());
247705  SWIG_fail;
247706  }
247707  catch(...)
247708  {
247709  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247710  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247711  SWIG_fail;
247712  }
247713  }
247714  resultobj = SWIG_Py_Void();
247715  return resultobj;
247716 fail:
247717  return NULL;
247718 }
247719 
247720 
247721 SWIGINTERN PyObject *_wrap_SimulationWindowMgr_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247722  PyObject *resultobj = 0;
247724  CStdXml *arg2 = 0 ;
247725  void *argp1 = 0 ;
247726  int res1 = 0 ;
247727  void *argp2 = 0 ;
247728  int res2 = 0 ;
247729  PyObject * obj0 = 0 ;
247730  PyObject * obj1 = 0 ;
247731 
247732  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationWindowMgr_Load",&obj0,&obj1)) SWIG_fail;
247733  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
247734  if (!SWIG_IsOK(res1)) {
247735  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationWindowMgr_Load" "', argument " "1"" of type '" "AnimatSim::SimulationWindowMgr *""'");
247736  }
247737  arg1 = reinterpret_cast< AnimatSim::SimulationWindowMgr * >(argp1);
247738  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
247739  if (!SWIG_IsOK(res2)) {
247740  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimulationWindowMgr_Load" "', argument " "2"" of type '" "CStdXml &""'");
247741  }
247742  if (!argp2) {
247743  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimulationWindowMgr_Load" "', argument " "2"" of type '" "CStdXml &""'");
247744  }
247745  arg2 = reinterpret_cast< CStdXml * >(argp2);
247746  {
247747  try {
247748  (arg1)->Load(*arg2);
247749  }
247750  catch(CStdErrorInfo oError)
247751  {
247752  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247753  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247754  PyErr_SetString(PyExc_IndexError, strError.c_str());
247755  SWIG_fail;
247756  }
247757  catch(...)
247758  {
247759  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247760  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247761  SWIG_fail;
247762  }
247763  }
247764  resultobj = SWIG_Py_Void();
247765  return resultobj;
247766 fail:
247767  return NULL;
247768 }
247769 
247770 
247771 SWIGINTERN PyObject *SimulationWindowMgr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247772  PyObject *obj;
247773  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
247774  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__SimulationWindowMgr, SWIG_NewClientData(obj));
247775  return SWIG_Py_Void();
247776 }
247777 
247778 SWIGINTERN PyObject *_wrap_delete_Simulator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247779  PyObject *resultobj = 0;
247781  void *argp1 = 0 ;
247782  int res1 = 0 ;
247783  PyObject * obj0 = 0 ;
247784 
247785  if (!PyArg_ParseTuple(args,(char *)"O:delete_Simulator",&obj0)) SWIG_fail;
247786  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, SWIG_POINTER_DISOWN | 0 );
247787  if (!SWIG_IsOK(res1)) {
247788  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Simulator" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
247789  }
247790  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
247791  {
247792  try {
247793  delete arg1;
247794  }
247795  catch(CStdErrorInfo oError)
247796  {
247797  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247798  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247799  PyErr_SetString(PyExc_IndexError, strError.c_str());
247800  SWIG_fail;
247801  }
247802  catch(...)
247803  {
247804  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247805  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247806  SWIG_fail;
247807  }
247808  }
247809  resultobj = SWIG_Py_Void();
247810  return resultobj;
247811 fail:
247812  return NULL;
247813 }
247814 
247815 
247816 SWIGINTERN PyObject *_wrap_Simulator_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247817  PyObject *resultobj = 0;
247819  void *argp1 = 0 ;
247820  int res1 = 0 ;
247821  PyObject * obj0 = 0 ;
247822  AnimatSim::Simulator *result = 0 ;
247823 
247824  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_CastToDerived",&obj0)) SWIG_fail;
247825  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
247826  if (!SWIG_IsOK(res1)) {
247827  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
247828  }
247829  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
247830  {
247831  try {
247832  result = (AnimatSim::Simulator *)AnimatSim::Simulator::CastToDerived(arg1);
247833  }
247834  catch(CStdErrorInfo oError)
247835  {
247836  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247837  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247838  PyErr_SetString(PyExc_IndexError, strError.c_str());
247839  SWIG_fail;
247840  }
247841  catch(...)
247842  {
247843  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247844  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247845  SWIG_fail;
247846  }
247847  }
247848  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
247849  return resultobj;
247850 fail:
247851  return NULL;
247852 }
247853 
247854 
247855 SWIGINTERN PyObject *_wrap_Simulator_ProjectPath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247856  PyObject *resultobj = 0;
247858  void *argp1 = 0 ;
247859  int res1 = 0 ;
247860  PyObject * obj0 = 0 ;
247861  std::string result;
247862 
247863  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_ProjectPath",&obj0)) SWIG_fail;
247864  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
247865  if (!SWIG_IsOK(res1)) {
247866  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ProjectPath" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
247867  }
247868  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
247869  {
247870  try {
247871  result = (arg1)->ProjectPath();
247872  }
247873  catch(CStdErrorInfo oError)
247874  {
247875  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247876  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247877  PyErr_SetString(PyExc_IndexError, strError.c_str());
247878  SWIG_fail;
247879  }
247880  catch(...)
247881  {
247882  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247883  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247884  SWIG_fail;
247885  }
247886  }
247887  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
247888  return resultobj;
247889 fail:
247890  return NULL;
247891 }
247892 
247893 
247894 SWIGINTERN PyObject *_wrap_Simulator_ProjectPath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247895  PyObject *resultobj = 0;
247897  std::string arg2 ;
247898  void *argp1 = 0 ;
247899  int res1 = 0 ;
247900  PyObject * obj0 = 0 ;
247901  PyObject * obj1 = 0 ;
247902 
247903  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_ProjectPath",&obj0,&obj1)) SWIG_fail;
247904  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
247905  if (!SWIG_IsOK(res1)) {
247906  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ProjectPath" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
247907  }
247908  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
247909  {
247910  std::string *ptr = (std::string *)0;
247911  int res = SWIG_AsPtr_std_string(obj1, &ptr);
247912  if (!SWIG_IsOK(res) || !ptr) {
247913  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_ProjectPath" "', argument " "2"" of type '" "std::string""'");
247914  }
247915  arg2 = *ptr;
247916  if (SWIG_IsNewObj(res)) delete ptr;
247917  }
247918  {
247919  try {
247920  (arg1)->ProjectPath(arg2);
247921  }
247922  catch(CStdErrorInfo oError)
247923  {
247924  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247925  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
247926  PyErr_SetString(PyExc_IndexError, strError.c_str());
247927  SWIG_fail;
247928  }
247929  catch(...)
247930  {
247931  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
247932  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
247933  SWIG_fail;
247934  }
247935  }
247936  resultobj = SWIG_Py_Void();
247937  return resultobj;
247938 fail:
247939  return NULL;
247940 }
247941 
247942 
247943 SWIGINTERN PyObject *_wrap_Simulator_ProjectPath(PyObject *self, PyObject *args) {
247944  int argc;
247945  PyObject *argv[3];
247946  int ii;
247947 
247948  if (!PyTuple_Check(args)) SWIG_fail;
247949  argc = args ? (int)PyObject_Length(args) : 0;
247950  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
247951  argv[ii] = PyTuple_GET_ITEM(args,ii);
247952  }
247953  if (argc == 1) {
247954  int _v;
247955  void *vptr = 0;
247956  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
247957  _v = SWIG_CheckState(res);
247958  if (_v) {
247959  return _wrap_Simulator_ProjectPath__SWIG_0(self, args);
247960  }
247961  }
247962  if (argc == 2) {
247963  int _v;
247964  void *vptr = 0;
247965  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
247966  _v = SWIG_CheckState(res);
247967  if (_v) {
247968  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
247969  _v = SWIG_CheckState(res);
247970  if (_v) {
247971  return _wrap_Simulator_ProjectPath__SWIG_1(self, args);
247972  }
247973  }
247974  }
247975 
247976 fail:
247977  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_ProjectPath'.\n"
247978  " Possible C/C++ prototypes are:\n"
247979  " AnimatSim::Simulator::ProjectPath()\n"
247980  " AnimatSim::Simulator::ProjectPath(std::string)\n");
247981  return 0;
247982 }
247983 
247984 
247985 SWIGINTERN PyObject *_wrap_Simulator_ExecutablePath__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
247986  PyObject *resultobj = 0;
247988  void *argp1 = 0 ;
247989  int res1 = 0 ;
247990  PyObject * obj0 = 0 ;
247991  std::string result;
247992 
247993  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_ExecutablePath",&obj0)) SWIG_fail;
247994  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
247995  if (!SWIG_IsOK(res1)) {
247996  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ExecutablePath" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
247997  }
247998  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
247999  {
248000  try {
248001  result = (arg1)->ExecutablePath();
248002  }
248003  catch(CStdErrorInfo oError)
248004  {
248005  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248006  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248007  PyErr_SetString(PyExc_IndexError, strError.c_str());
248008  SWIG_fail;
248009  }
248010  catch(...)
248011  {
248012  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248013  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248014  SWIG_fail;
248015  }
248016  }
248017  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
248018  return resultobj;
248019 fail:
248020  return NULL;
248021 }
248022 
248023 
248024 SWIGINTERN PyObject *_wrap_Simulator_ExecutablePath__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248025  PyObject *resultobj = 0;
248027  std::string arg2 ;
248028  void *argp1 = 0 ;
248029  int res1 = 0 ;
248030  PyObject * obj0 = 0 ;
248031  PyObject * obj1 = 0 ;
248032 
248033  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_ExecutablePath",&obj0,&obj1)) SWIG_fail;
248034  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248035  if (!SWIG_IsOK(res1)) {
248036  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ExecutablePath" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248037  }
248038  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248039  {
248040  std::string *ptr = (std::string *)0;
248041  int res = SWIG_AsPtr_std_string(obj1, &ptr);
248042  if (!SWIG_IsOK(res) || !ptr) {
248043  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_ExecutablePath" "', argument " "2"" of type '" "std::string""'");
248044  }
248045  arg2 = *ptr;
248046  if (SWIG_IsNewObj(res)) delete ptr;
248047  }
248048  {
248049  try {
248050  (arg1)->ExecutablePath(arg2);
248051  }
248052  catch(CStdErrorInfo oError)
248053  {
248054  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248055  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248056  PyErr_SetString(PyExc_IndexError, strError.c_str());
248057  SWIG_fail;
248058  }
248059  catch(...)
248060  {
248061  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248062  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248063  SWIG_fail;
248064  }
248065  }
248066  resultobj = SWIG_Py_Void();
248067  return resultobj;
248068 fail:
248069  return NULL;
248070 }
248071 
248072 
248073 SWIGINTERN PyObject *_wrap_Simulator_ExecutablePath(PyObject *self, PyObject *args) {
248074  int argc;
248075  PyObject *argv[3];
248076  int ii;
248077 
248078  if (!PyTuple_Check(args)) SWIG_fail;
248079  argc = args ? (int)PyObject_Length(args) : 0;
248080  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
248081  argv[ii] = PyTuple_GET_ITEM(args,ii);
248082  }
248083  if (argc == 1) {
248084  int _v;
248085  void *vptr = 0;
248086  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
248087  _v = SWIG_CheckState(res);
248088  if (_v) {
248089  return _wrap_Simulator_ExecutablePath__SWIG_0(self, args);
248090  }
248091  }
248092  if (argc == 2) {
248093  int _v;
248094  void *vptr = 0;
248095  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
248096  _v = SWIG_CheckState(res);
248097  if (_v) {
248098  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
248099  _v = SWIG_CheckState(res);
248100  if (_v) {
248101  return _wrap_Simulator_ExecutablePath__SWIG_1(self, args);
248102  }
248103  }
248104  }
248105 
248106 fail:
248107  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_ExecutablePath'.\n"
248108  " Possible C/C++ prototypes are:\n"
248109  " AnimatSim::Simulator::ExecutablePath()\n"
248110  " AnimatSim::Simulator::ExecutablePath(std::string)\n");
248111  return 0;
248112 }
248113 
248114 
248115 SWIGINTERN PyObject *_wrap_Simulator_SimulationFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248116  PyObject *resultobj = 0;
248118  void *argp1 = 0 ;
248119  int res1 = 0 ;
248120  PyObject * obj0 = 0 ;
248121  std::string result;
248122 
248123  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_SimulationFile",&obj0)) SWIG_fail;
248124  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248125  if (!SWIG_IsOK(res1)) {
248126  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SimulationFile" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248127  }
248128  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248129  {
248130  try {
248131  result = (arg1)->SimulationFile();
248132  }
248133  catch(CStdErrorInfo oError)
248134  {
248135  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248136  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248137  PyErr_SetString(PyExc_IndexError, strError.c_str());
248138  SWIG_fail;
248139  }
248140  catch(...)
248141  {
248142  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248143  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248144  SWIG_fail;
248145  }
248146  }
248147  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
248148  return resultobj;
248149 fail:
248150  return NULL;
248151 }
248152 
248153 
248154 SWIGINTERN PyObject *_wrap_Simulator_SimulationFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248155  PyObject *resultobj = 0;
248157  std::string arg2 ;
248158  void *argp1 = 0 ;
248159  int res1 = 0 ;
248160  PyObject * obj0 = 0 ;
248161  PyObject * obj1 = 0 ;
248162 
248163  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_SimulationFile",&obj0,&obj1)) SWIG_fail;
248164  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248165  if (!SWIG_IsOK(res1)) {
248166  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SimulationFile" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248167  }
248168  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248169  {
248170  std::string *ptr = (std::string *)0;
248171  int res = SWIG_AsPtr_std_string(obj1, &ptr);
248172  if (!SWIG_IsOK(res) || !ptr) {
248173  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_SimulationFile" "', argument " "2"" of type '" "std::string""'");
248174  }
248175  arg2 = *ptr;
248176  if (SWIG_IsNewObj(res)) delete ptr;
248177  }
248178  {
248179  try {
248180  (arg1)->SimulationFile(arg2);
248181  }
248182  catch(CStdErrorInfo oError)
248183  {
248184  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248185  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248186  PyErr_SetString(PyExc_IndexError, strError.c_str());
248187  SWIG_fail;
248188  }
248189  catch(...)
248190  {
248191  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248192  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248193  SWIG_fail;
248194  }
248195  }
248196  resultobj = SWIG_Py_Void();
248197  return resultobj;
248198 fail:
248199  return NULL;
248200 }
248201 
248202 
248203 SWIGINTERN PyObject *_wrap_Simulator_SimulationFile(PyObject *self, PyObject *args) {
248204  int argc;
248205  PyObject *argv[3];
248206  int ii;
248207 
248208  if (!PyTuple_Check(args)) SWIG_fail;
248209  argc = args ? (int)PyObject_Length(args) : 0;
248210  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
248211  argv[ii] = PyTuple_GET_ITEM(args,ii);
248212  }
248213  if (argc == 1) {
248214  int _v;
248215  void *vptr = 0;
248216  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
248217  _v = SWIG_CheckState(res);
248218  if (_v) {
248219  return _wrap_Simulator_SimulationFile__SWIG_0(self, args);
248220  }
248221  }
248222  if (argc == 2) {
248223  int _v;
248224  void *vptr = 0;
248225  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
248226  _v = SWIG_CheckState(res);
248227  if (_v) {
248228  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
248229  _v = SWIG_CheckState(res);
248230  if (_v) {
248231  return _wrap_Simulator_SimulationFile__SWIG_1(self, args);
248232  }
248233  }
248234  }
248235 
248236 fail:
248237  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_SimulationFile'.\n"
248238  " Possible C/C++ prototypes are:\n"
248239  " AnimatSim::Simulator::SimulationFile()\n"
248240  " AnimatSim::Simulator::SimulationFile(std::string)\n");
248241  return 0;
248242 }
248243 
248244 
248245 SWIGINTERN PyObject *_wrap_Simulator_Paused__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248246  PyObject *resultobj = 0;
248248  void *argp1 = 0 ;
248249  int res1 = 0 ;
248250  PyObject * obj0 = 0 ;
248251  bool result;
248252 
248253  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_Paused",&obj0)) SWIG_fail;
248254  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248255  if (!SWIG_IsOK(res1)) {
248256  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Paused" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248257  }
248258  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248259  {
248260  try {
248261  result = (bool)(arg1)->Paused();
248262  }
248263  catch(CStdErrorInfo oError)
248264  {
248265  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248266  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248267  PyErr_SetString(PyExc_IndexError, strError.c_str());
248268  SWIG_fail;
248269  }
248270  catch(...)
248271  {
248272  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248273  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248274  SWIG_fail;
248275  }
248276  }
248277  resultobj = SWIG_From_bool(static_cast< bool >(result));
248278  return resultobj;
248279 fail:
248280  return NULL;
248281 }
248282 
248283 
248284 SWIGINTERN PyObject *_wrap_Simulator_Paused__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248285  PyObject *resultobj = 0;
248287  bool arg2 ;
248288  void *argp1 = 0 ;
248289  int res1 = 0 ;
248290  bool val2 ;
248291  int ecode2 = 0 ;
248292  PyObject * obj0 = 0 ;
248293  PyObject * obj1 = 0 ;
248294 
248295  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_Paused",&obj0,&obj1)) SWIG_fail;
248296  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248297  if (!SWIG_IsOK(res1)) {
248298  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Paused" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248299  }
248300  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248301  ecode2 = SWIG_AsVal_bool(obj1, &val2);
248302  if (!SWIG_IsOK(ecode2)) {
248303  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_Paused" "', argument " "2"" of type '" "bool""'");
248304  }
248305  arg2 = static_cast< bool >(val2);
248306  {
248307  try {
248308  (arg1)->Paused(arg2);
248309  }
248310  catch(CStdErrorInfo oError)
248311  {
248312  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248313  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248314  PyErr_SetString(PyExc_IndexError, strError.c_str());
248315  SWIG_fail;
248316  }
248317  catch(...)
248318  {
248319  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248320  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248321  SWIG_fail;
248322  }
248323  }
248324  resultobj = SWIG_Py_Void();
248325  return resultobj;
248326 fail:
248327  return NULL;
248328 }
248329 
248330 
248331 SWIGINTERN PyObject *_wrap_Simulator_Paused(PyObject *self, PyObject *args) {
248332  int argc;
248333  PyObject *argv[3];
248334  int ii;
248335 
248336  if (!PyTuple_Check(args)) SWIG_fail;
248337  argc = args ? (int)PyObject_Length(args) : 0;
248338  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
248339  argv[ii] = PyTuple_GET_ITEM(args,ii);
248340  }
248341  if (argc == 1) {
248342  int _v;
248343  void *vptr = 0;
248344  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
248345  _v = SWIG_CheckState(res);
248346  if (_v) {
248347  return _wrap_Simulator_Paused__SWIG_0(self, args);
248348  }
248349  }
248350  if (argc == 2) {
248351  int _v;
248352  void *vptr = 0;
248353  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
248354  _v = SWIG_CheckState(res);
248355  if (_v) {
248356  {
248357  int res = SWIG_AsVal_bool(argv[1], NULL);
248358  _v = SWIG_CheckState(res);
248359  }
248360  if (_v) {
248361  return _wrap_Simulator_Paused__SWIG_1(self, args);
248362  }
248363  }
248364  }
248365 
248366 fail:
248367  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_Paused'.\n"
248368  " Possible C/C++ prototypes are:\n"
248369  " AnimatSim::Simulator::Paused()\n"
248370  " AnimatSim::Simulator::Paused(bool)\n");
248371  return 0;
248372 }
248373 
248374 
248375 SWIGINTERN PyObject *_wrap_Simulator_Initialized__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248376  PyObject *resultobj = 0;
248378  void *argp1 = 0 ;
248379  int res1 = 0 ;
248380  PyObject * obj0 = 0 ;
248381  bool result;
248382 
248383  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_Initialized",&obj0)) SWIG_fail;
248384  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248385  if (!SWIG_IsOK(res1)) {
248386  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Initialized" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248387  }
248388  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248389  {
248390  try {
248391  result = (bool)(arg1)->Initialized();
248392  }
248393  catch(CStdErrorInfo oError)
248394  {
248395  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248396  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248397  PyErr_SetString(PyExc_IndexError, strError.c_str());
248398  SWIG_fail;
248399  }
248400  catch(...)
248401  {
248402  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248403  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248404  SWIG_fail;
248405  }
248406  }
248407  resultobj = SWIG_From_bool(static_cast< bool >(result));
248408  return resultobj;
248409 fail:
248410  return NULL;
248411 }
248412 
248413 
248414 SWIGINTERN PyObject *_wrap_Simulator_Initialized__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248415  PyObject *resultobj = 0;
248417  bool arg2 ;
248418  void *argp1 = 0 ;
248419  int res1 = 0 ;
248420  bool val2 ;
248421  int ecode2 = 0 ;
248422  PyObject * obj0 = 0 ;
248423  PyObject * obj1 = 0 ;
248424 
248425  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_Initialized",&obj0,&obj1)) SWIG_fail;
248426  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248427  if (!SWIG_IsOK(res1)) {
248428  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Initialized" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248429  }
248430  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248431  ecode2 = SWIG_AsVal_bool(obj1, &val2);
248432  if (!SWIG_IsOK(ecode2)) {
248433  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_Initialized" "', argument " "2"" of type '" "bool""'");
248434  }
248435  arg2 = static_cast< bool >(val2);
248436  {
248437  try {
248438  (arg1)->Initialized(arg2);
248439  }
248440  catch(CStdErrorInfo oError)
248441  {
248442  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248443  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248444  PyErr_SetString(PyExc_IndexError, strError.c_str());
248445  SWIG_fail;
248446  }
248447  catch(...)
248448  {
248449  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248450  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248451  SWIG_fail;
248452  }
248453  }
248454  resultobj = SWIG_Py_Void();
248455  return resultobj;
248456 fail:
248457  return NULL;
248458 }
248459 
248460 
248461 SWIGINTERN PyObject *_wrap_Simulator_Initialized(PyObject *self, PyObject *args) {
248462  int argc;
248463  PyObject *argv[3];
248464  int ii;
248465 
248466  if (!PyTuple_Check(args)) SWIG_fail;
248467  argc = args ? (int)PyObject_Length(args) : 0;
248468  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
248469  argv[ii] = PyTuple_GET_ITEM(args,ii);
248470  }
248471  if (argc == 1) {
248472  int _v;
248473  void *vptr = 0;
248474  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
248475  _v = SWIG_CheckState(res);
248476  if (_v) {
248477  return _wrap_Simulator_Initialized__SWIG_0(self, args);
248478  }
248479  }
248480  if (argc == 2) {
248481  int _v;
248482  void *vptr = 0;
248483  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
248484  _v = SWIG_CheckState(res);
248485  if (_v) {
248486  {
248487  int res = SWIG_AsVal_bool(argv[1], NULL);
248488  _v = SWIG_CheckState(res);
248489  }
248490  if (_v) {
248491  return _wrap_Simulator_Initialized__SWIG_1(self, args);
248492  }
248493  }
248494  }
248495 
248496 fail:
248497  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_Initialized'.\n"
248498  " Possible C/C++ prototypes are:\n"
248499  " AnimatSim::Simulator::Initialized()\n"
248500  " AnimatSim::Simulator::Initialized(bool)\n");
248501  return 0;
248502 }
248503 
248504 
248505 SWIGINTERN PyObject *_wrap_Simulator_ObjectList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248506  PyObject *resultobj = 0;
248508  void *argp1 = 0 ;
248509  int res1 = 0 ;
248510  PyObject * obj0 = 0 ;
248511  CStdMap< std::string,AnimatSim::AnimatBase * > *result = 0 ;
248512 
248513  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_ObjectList",&obj0)) SWIG_fail;
248514  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248515  if (!SWIG_IsOK(res1)) {
248516  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ObjectList" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248517  }
248518  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248519  {
248520  try {
248521  result = (CStdMap< std::string,AnimatSim::AnimatBase * > *)(arg1)->ObjectList();
248522  }
248523  catch(CStdErrorInfo oError)
248524  {
248525  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248526  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248527  PyErr_SetString(PyExc_IndexError, strError.c_str());
248528  SWIG_fail;
248529  }
248530  catch(...)
248531  {
248532  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248533  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248534  SWIG_fail;
248535  }
248536  }
248537  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdMapT_std__string_AnimatSim__AnimatBase_p_t, 0 | 0 );
248538  return resultobj;
248539 fail:
248540  return NULL;
248541 }
248542 
248543 
248544 SWIGINTERN PyObject *_wrap_Simulator_GetDataChartMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248545  PyObject *resultobj = 0;
248547  void *argp1 = 0 ;
248548  int res1 = 0 ;
248549  PyObject * obj0 = 0 ;
248550  DataChartMgr *result = 0 ;
248551 
248552  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_GetDataChartMgr",&obj0)) SWIG_fail;
248553  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248554  if (!SWIG_IsOK(res1)) {
248555  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_GetDataChartMgr" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248556  }
248557  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248558  {
248559  try {
248560  result = (DataChartMgr *)(arg1)->GetDataChartMgr();
248561  }
248562  catch(CStdErrorInfo oError)
248563  {
248564  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248565  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248566  PyErr_SetString(PyExc_IndexError, strError.c_str());
248567  SWIG_fail;
248568  }
248569  catch(...)
248570  {
248571  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248572  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248573  SWIG_fail;
248574  }
248575  }
248576  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DataChartMgr, 0 | 0 );
248577  return resultobj;
248578 fail:
248579  return NULL;
248580 }
248581 
248582 
248583 SWIGINTERN PyObject *_wrap_Simulator_GetExternalStimuliMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248584  PyObject *resultobj = 0;
248586  void *argp1 = 0 ;
248587  int res1 = 0 ;
248588  PyObject * obj0 = 0 ;
248589  ExternalStimuliMgr *result = 0 ;
248590 
248591  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_GetExternalStimuliMgr",&obj0)) SWIG_fail;
248592  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248593  if (!SWIG_IsOK(res1)) {
248594  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_GetExternalStimuliMgr" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248595  }
248596  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248597  {
248598  try {
248599  result = (ExternalStimuliMgr *)(arg1)->GetExternalStimuliMgr();
248600  }
248601  catch(CStdErrorInfo oError)
248602  {
248603  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248604  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248605  PyErr_SetString(PyExc_IndexError, strError.c_str());
248606  SWIG_fail;
248607  }
248608  catch(...)
248609  {
248610  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248611  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248612  SWIG_fail;
248613  }
248614  }
248615  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ExternalStimuliMgr, 0 | 0 );
248616  return resultobj;
248617 fail:
248618  return NULL;
248619 }
248620 
248621 
248622 SWIGINTERN PyObject *_wrap_Simulator_GetSimulationRecorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248623  PyObject *resultobj = 0;
248625  void *argp1 = 0 ;
248626  int res1 = 0 ;
248627  PyObject * obj0 = 0 ;
248628  SimulationRecorder *result = 0 ;
248629 
248630  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_GetSimulationRecorder",&obj0)) SWIG_fail;
248631  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248632  if (!SWIG_IsOK(res1)) {
248633  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_GetSimulationRecorder" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248634  }
248635  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248636  {
248637  try {
248638  result = (SimulationRecorder *)(arg1)->GetSimulationRecorder();
248639  }
248640  catch(CStdErrorInfo oError)
248641  {
248642  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248643  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248644  PyErr_SetString(PyExc_IndexError, strError.c_str());
248645  SWIG_fail;
248646  }
248647  catch(...)
248648  {
248649  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248650  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248651  SWIG_fail;
248652  }
248653  }
248654  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SimulationRecorder, 0 | 0 );
248655  return resultobj;
248656 fail:
248657  return NULL;
248658 }
248659 
248660 
248661 SWIGINTERN PyObject *_wrap_Simulator_GetMaterialMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248662  PyObject *resultobj = 0;
248664  void *argp1 = 0 ;
248665  int res1 = 0 ;
248666  PyObject * obj0 = 0 ;
248667  Materials *result = 0 ;
248668 
248669  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_GetMaterialMgr",&obj0)) SWIG_fail;
248670  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248671  if (!SWIG_IsOK(res1)) {
248672  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_GetMaterialMgr" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248673  }
248674  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248675  {
248676  try {
248677  result = (Materials *)(arg1)->GetMaterialMgr();
248678  }
248679  catch(CStdErrorInfo oError)
248680  {
248681  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248682  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248683  PyErr_SetString(PyExc_IndexError, strError.c_str());
248684  SWIG_fail;
248685  }
248686  catch(...)
248687  {
248688  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248689  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248690  SWIG_fail;
248691  }
248692  }
248693  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Materials, 0 | 0 );
248694  return resultobj;
248695 fail:
248696  return NULL;
248697 }
248698 
248699 
248700 SWIGINTERN PyObject *_wrap_Simulator_GetWindowMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248701  PyObject *resultobj = 0;
248703  void *argp1 = 0 ;
248704  int res1 = 0 ;
248705  PyObject * obj0 = 0 ;
248706  AnimatSim::SimulationWindowMgr *result = 0 ;
248707 
248708  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_GetWindowMgr",&obj0)) SWIG_fail;
248709  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248710  if (!SWIG_IsOK(res1)) {
248711  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_GetWindowMgr" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248712  }
248713  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248714  {
248715  try {
248716  result = (AnimatSim::SimulationWindowMgr *)(arg1)->GetWindowMgr();
248717  }
248718  catch(CStdErrorInfo oError)
248719  {
248720  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248721  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248722  PyErr_SetString(PyExc_IndexError, strError.c_str());
248723  SWIG_fail;
248724  }
248725  catch(...)
248726  {
248727  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248728  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248729  SWIG_fail;
248730  }
248731  }
248732  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__SimulationWindowMgr, 0 | 0 );
248733  return resultobj;
248734 fail:
248735  return NULL;
248736 }
248737 
248738 
248739 SWIGINTERN PyObject *_wrap_Simulator_GetLightMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248740  PyObject *resultobj = 0;
248742  void *argp1 = 0 ;
248743  int res1 = 0 ;
248744  PyObject * obj0 = 0 ;
248745  LightManager *result = 0 ;
248746 
248747  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_GetLightMgr",&obj0)) SWIG_fail;
248748  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248749  if (!SWIG_IsOK(res1)) {
248750  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_GetLightMgr" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248751  }
248752  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248753  {
248754  try {
248755  result = (LightManager *)(arg1)->GetLightMgr();
248756  }
248757  catch(CStdErrorInfo oError)
248758  {
248759  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248760  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248761  PyErr_SetString(PyExc_IndexError, strError.c_str());
248762  SWIG_fail;
248763  }
248764  catch(...)
248765  {
248766  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248767  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248768  SWIG_fail;
248769  }
248770  }
248771  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_LightManager, 0 | 0 );
248772  return resultobj;
248773 fail:
248774  return NULL;
248775 }
248776 
248777 
248778 SWIGINTERN PyObject *_wrap_Simulator_VisualSelectionMode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248779  PyObject *resultobj = 0;
248781  void *argp1 = 0 ;
248782  int res1 = 0 ;
248783  PyObject * obj0 = 0 ;
248784  int result;
248785 
248786  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_VisualSelectionMode",&obj0)) SWIG_fail;
248787  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248788  if (!SWIG_IsOK(res1)) {
248789  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_VisualSelectionMode" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248790  }
248791  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248792  {
248793  try {
248794  result = (int)(arg1)->VisualSelectionMode();
248795  }
248796  catch(CStdErrorInfo oError)
248797  {
248798  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248799  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248800  PyErr_SetString(PyExc_IndexError, strError.c_str());
248801  SWIG_fail;
248802  }
248803  catch(...)
248804  {
248805  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248806  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248807  SWIG_fail;
248808  }
248809  }
248810  resultobj = SWIG_From_int(static_cast< int >(result));
248811  return resultobj;
248812 fail:
248813  return NULL;
248814 }
248815 
248816 
248817 SWIGINTERN PyObject *_wrap_Simulator_VisualSelectionMode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248818  PyObject *resultobj = 0;
248820  int arg2 ;
248821  void *argp1 = 0 ;
248822  int res1 = 0 ;
248823  int val2 ;
248824  int ecode2 = 0 ;
248825  PyObject * obj0 = 0 ;
248826  PyObject * obj1 = 0 ;
248827 
248828  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_VisualSelectionMode",&obj0,&obj1)) SWIG_fail;
248829  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248830  if (!SWIG_IsOK(res1)) {
248831  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_VisualSelectionMode" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248832  }
248833  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248834  ecode2 = SWIG_AsVal_int(obj1, &val2);
248835  if (!SWIG_IsOK(ecode2)) {
248836  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_VisualSelectionMode" "', argument " "2"" of type '" "int""'");
248837  }
248838  arg2 = static_cast< int >(val2);
248839  {
248840  try {
248841  (arg1)->VisualSelectionMode(arg2);
248842  }
248843  catch(CStdErrorInfo oError)
248844  {
248845  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248846  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248847  PyErr_SetString(PyExc_IndexError, strError.c_str());
248848  SWIG_fail;
248849  }
248850  catch(...)
248851  {
248852  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248853  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248854  SWIG_fail;
248855  }
248856  }
248857  resultobj = SWIG_Py_Void();
248858  return resultobj;
248859 fail:
248860  return NULL;
248861 }
248862 
248863 
248864 SWIGINTERN PyObject *_wrap_Simulator_VisualSelectionMode(PyObject *self, PyObject *args) {
248865  int argc;
248866  PyObject *argv[3];
248867  int ii;
248868 
248869  if (!PyTuple_Check(args)) SWIG_fail;
248870  argc = args ? (int)PyObject_Length(args) : 0;
248871  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
248872  argv[ii] = PyTuple_GET_ITEM(args,ii);
248873  }
248874  if (argc == 1) {
248875  int _v;
248876  void *vptr = 0;
248877  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
248878  _v = SWIG_CheckState(res);
248879  if (_v) {
248880  return _wrap_Simulator_VisualSelectionMode__SWIG_0(self, args);
248881  }
248882  }
248883  if (argc == 2) {
248884  int _v;
248885  void *vptr = 0;
248886  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
248887  _v = SWIG_CheckState(res);
248888  if (_v) {
248889  {
248890  int res = SWIG_AsVal_int(argv[1], NULL);
248891  _v = SWIG_CheckState(res);
248892  }
248893  if (_v) {
248894  return _wrap_Simulator_VisualSelectionMode__SWIG_1(self, args);
248895  }
248896  }
248897  }
248898 
248899 fail:
248900  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_VisualSelectionMode'.\n"
248901  " Possible C/C++ prototypes are:\n"
248902  " AnimatSim::Simulator::VisualSelectionMode()\n"
248903  " AnimatSim::Simulator::VisualSelectionMode(int)\n");
248904  return 0;
248905 }
248906 
248907 
248908 SWIGINTERN PyObject *_wrap_Simulator_AddBodiesMode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248909  PyObject *resultobj = 0;
248911  void *argp1 = 0 ;
248912  int res1 = 0 ;
248913  PyObject * obj0 = 0 ;
248914  bool result;
248915 
248916  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_AddBodiesMode",&obj0)) SWIG_fail;
248917  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248918  if (!SWIG_IsOK(res1)) {
248919  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AddBodiesMode" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248920  }
248921  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248922  {
248923  try {
248924  result = (bool)(arg1)->AddBodiesMode();
248925  }
248926  catch(CStdErrorInfo oError)
248927  {
248928  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248929  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248930  PyErr_SetString(PyExc_IndexError, strError.c_str());
248931  SWIG_fail;
248932  }
248933  catch(...)
248934  {
248935  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248936  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248937  SWIG_fail;
248938  }
248939  }
248940  resultobj = SWIG_From_bool(static_cast< bool >(result));
248941  return resultobj;
248942 fail:
248943  return NULL;
248944 }
248945 
248946 
248947 SWIGINTERN PyObject *_wrap_Simulator_AddBodiesMode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
248948  PyObject *resultobj = 0;
248950  bool arg2 ;
248951  void *argp1 = 0 ;
248952  int res1 = 0 ;
248953  bool val2 ;
248954  int ecode2 = 0 ;
248955  PyObject * obj0 = 0 ;
248956  PyObject * obj1 = 0 ;
248957 
248958  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_AddBodiesMode",&obj0,&obj1)) SWIG_fail;
248959  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
248960  if (!SWIG_IsOK(res1)) {
248961  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AddBodiesMode" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
248962  }
248963  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
248964  ecode2 = SWIG_AsVal_bool(obj1, &val2);
248965  if (!SWIG_IsOK(ecode2)) {
248966  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_AddBodiesMode" "', argument " "2"" of type '" "bool""'");
248967  }
248968  arg2 = static_cast< bool >(val2);
248969  {
248970  try {
248971  (arg1)->AddBodiesMode(arg2);
248972  }
248973  catch(CStdErrorInfo oError)
248974  {
248975  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248976  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
248977  PyErr_SetString(PyExc_IndexError, strError.c_str());
248978  SWIG_fail;
248979  }
248980  catch(...)
248981  {
248982  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
248983  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
248984  SWIG_fail;
248985  }
248986  }
248987  resultobj = SWIG_Py_Void();
248988  return resultobj;
248989 fail:
248990  return NULL;
248991 }
248992 
248993 
248994 SWIGINTERN PyObject *_wrap_Simulator_AddBodiesMode(PyObject *self, PyObject *args) {
248995  int argc;
248996  PyObject *argv[3];
248997  int ii;
248998 
248999  if (!PyTuple_Check(args)) SWIG_fail;
249000  argc = args ? (int)PyObject_Length(args) : 0;
249001  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
249002  argv[ii] = PyTuple_GET_ITEM(args,ii);
249003  }
249004  if (argc == 1) {
249005  int _v;
249006  void *vptr = 0;
249007  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
249008  _v = SWIG_CheckState(res);
249009  if (_v) {
249010  return _wrap_Simulator_AddBodiesMode__SWIG_0(self, args);
249011  }
249012  }
249013  if (argc == 2) {
249014  int _v;
249015  void *vptr = 0;
249016  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
249017  _v = SWIG_CheckState(res);
249018  if (_v) {
249019  {
249020  int res = SWIG_AsVal_bool(argv[1], NULL);
249021  _v = SWIG_CheckState(res);
249022  }
249023  if (_v) {
249024  return _wrap_Simulator_AddBodiesMode__SWIG_1(self, args);
249025  }
249026  }
249027  }
249028 
249029 fail:
249030  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_AddBodiesMode'.\n"
249031  " Possible C/C++ prototypes are:\n"
249032  " AnimatSim::Simulator::AddBodiesMode()\n"
249033  " AnimatSim::Simulator::AddBodiesMode(bool)\n");
249034  return 0;
249035 }
249036 
249037 
249038 SWIGINTERN PyObject *_wrap_Simulator_SimCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249039  PyObject *resultobj = 0;
249041  void *argp1 = 0 ;
249042  int res1 = 0 ;
249043  PyObject * obj0 = 0 ;
249044  AnimatSim::ISimGUICallback *result = 0 ;
249045 
249046  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_SimCallback",&obj0)) SWIG_fail;
249047  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249048  if (!SWIG_IsOK(res1)) {
249049  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SimCallback" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249050  }
249051  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249052  {
249053  try {
249054  result = (AnimatSim::ISimGUICallback *)(arg1)->SimCallback();
249055  }
249056  catch(CStdErrorInfo oError)
249057  {
249058  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249059  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249060  PyErr_SetString(PyExc_IndexError, strError.c_str());
249061  SWIG_fail;
249062  }
249063  catch(...)
249064  {
249065  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249066  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249067  SWIG_fail;
249068  }
249069  }
249070  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ISimGUICallback, 0 | 0 );
249071  return resultobj;
249072 fail:
249073  return NULL;
249074 }
249075 
249076 
249077 SWIGINTERN PyObject *_wrap_Simulator_SimCallBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249078  PyObject *resultobj = 0;
249081  void *argp1 = 0 ;
249082  int res1 = 0 ;
249083  void *argp2 = 0 ;
249084  int res2 = 0 ;
249085  PyObject * obj0 = 0 ;
249086  PyObject * obj1 = 0 ;
249087 
249088  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_SimCallBack",&obj0,&obj1)) SWIG_fail;
249089  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249090  if (!SWIG_IsOK(res1)) {
249091  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SimCallBack" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249092  }
249093  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249094  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__ISimGUICallback, 0 | 0 );
249095  if (!SWIG_IsOK(res2)) {
249096  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_SimCallBack" "', argument " "2"" of type '" "AnimatSim::ISimGUICallback *""'");
249097  }
249098  arg2 = reinterpret_cast< AnimatSim::ISimGUICallback * >(argp2);
249099  {
249100  try {
249101  (arg1)->SimCallBack(arg2);
249102  }
249103  catch(CStdErrorInfo oError)
249104  {
249105  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249106  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249107  PyErr_SetString(PyExc_IndexError, strError.c_str());
249108  SWIG_fail;
249109  }
249110  catch(...)
249111  {
249112  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249113  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249114  SWIG_fail;
249115  }
249116  }
249117  resultobj = SWIG_Py_Void();
249118  return resultobj;
249119 fail:
249120  return NULL;
249121 }
249122 
249123 
249124 SWIGINTERN PyObject *_wrap_Simulator_IsResetting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249125  PyObject *resultobj = 0;
249127  void *argp1 = 0 ;
249128  int res1 = 0 ;
249129  PyObject * obj0 = 0 ;
249130  bool result;
249131 
249132  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_IsResetting",&obj0)) SWIG_fail;
249133  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249134  if (!SWIG_IsOK(res1)) {
249135  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_IsResetting" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249136  }
249137  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249138  {
249139  try {
249140  result = (bool)(arg1)->IsResetting();
249141  }
249142  catch(CStdErrorInfo oError)
249143  {
249144  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249145  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249146  PyErr_SetString(PyExc_IndexError, strError.c_str());
249147  SWIG_fail;
249148  }
249149  catch(...)
249150  {
249151  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249152  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249153  SWIG_fail;
249154  }
249155  }
249156  resultobj = SWIG_From_bool(static_cast< bool >(result));
249157  return resultobj;
249158 fail:
249159  return NULL;
249160 }
249161 
249162 
249163 SWIGINTERN PyObject *_wrap_Simulator_Time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249164  PyObject *resultobj = 0;
249166  void *argp1 = 0 ;
249167  int res1 = 0 ;
249168  PyObject * obj0 = 0 ;
249169  float result;
249170 
249171  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_Time",&obj0)) SWIG_fail;
249172  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249173  if (!SWIG_IsOK(res1)) {
249174  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Time" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249175  }
249176  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249177  {
249178  try {
249179  result = (float)(arg1)->Time();
249180  }
249181  catch(CStdErrorInfo oError)
249182  {
249183  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249184  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249185  PyErr_SetString(PyExc_IndexError, strError.c_str());
249186  SWIG_fail;
249187  }
249188  catch(...)
249189  {
249190  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249191  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249192  SWIG_fail;
249193  }
249194  }
249195  resultobj = SWIG_From_float(static_cast< float >(result));
249196  return resultobj;
249197 fail:
249198  return NULL;
249199 }
249200 
249201 
249202 SWIGINTERN PyObject *_wrap_Simulator_Millisecond(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249203  PyObject *resultobj = 0;
249205  void *argp1 = 0 ;
249206  int res1 = 0 ;
249207  PyObject * obj0 = 0 ;
249208  long result;
249209 
249210  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_Millisecond",&obj0)) SWIG_fail;
249211  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249212  if (!SWIG_IsOK(res1)) {
249213  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Millisecond" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249214  }
249215  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249216  {
249217  try {
249218  result = (long)(arg1)->Millisecond();
249219  }
249220  catch(CStdErrorInfo oError)
249221  {
249222  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249223  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249224  PyErr_SetString(PyExc_IndexError, strError.c_str());
249225  SWIG_fail;
249226  }
249227  catch(...)
249228  {
249229  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249230  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249231  SWIG_fail;
249232  }
249233  }
249234  resultobj = SWIG_From_long(static_cast< long >(result));
249235  return resultobj;
249236 fail:
249237  return NULL;
249238 }
249239 
249240 
249241 SWIGINTERN PyObject *_wrap_Simulator_MillisecondToSlice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249242  PyObject *resultobj = 0;
249244  long arg2 ;
249245  void *argp1 = 0 ;
249246  int res1 = 0 ;
249247  long val2 ;
249248  int ecode2 = 0 ;
249249  PyObject * obj0 = 0 ;
249250  PyObject * obj1 = 0 ;
249251  long result;
249252 
249253  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_MillisecondToSlice",&obj0,&obj1)) SWIG_fail;
249254  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249255  if (!SWIG_IsOK(res1)) {
249256  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MillisecondToSlice" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249257  }
249258  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249259  ecode2 = SWIG_AsVal_long(obj1, &val2);
249260  if (!SWIG_IsOK(ecode2)) {
249261  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_MillisecondToSlice" "', argument " "2"" of type '" "long""'");
249262  }
249263  arg2 = static_cast< long >(val2);
249264  {
249265  try {
249266  result = (long)(arg1)->MillisecondToSlice(arg2);
249267  }
249268  catch(CStdErrorInfo oError)
249269  {
249270  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249271  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249272  PyErr_SetString(PyExc_IndexError, strError.c_str());
249273  SWIG_fail;
249274  }
249275  catch(...)
249276  {
249277  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249278  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249279  SWIG_fail;
249280  }
249281  }
249282  resultobj = SWIG_From_long(static_cast< long >(result));
249283  return resultobj;
249284 fail:
249285  return NULL;
249286 }
249287 
249288 
249289 SWIGINTERN PyObject *_wrap_Simulator_SliceToMillisecond(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249290  PyObject *resultobj = 0;
249292  long arg2 ;
249293  void *argp1 = 0 ;
249294  int res1 = 0 ;
249295  long val2 ;
249296  int ecode2 = 0 ;
249297  PyObject * obj0 = 0 ;
249298  PyObject * obj1 = 0 ;
249299  long result;
249300 
249301  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_SliceToMillisecond",&obj0,&obj1)) SWIG_fail;
249302  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249303  if (!SWIG_IsOK(res1)) {
249304  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SliceToMillisecond" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249305  }
249306  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249307  ecode2 = SWIG_AsVal_long(obj1, &val2);
249308  if (!SWIG_IsOK(ecode2)) {
249309  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_SliceToMillisecond" "', argument " "2"" of type '" "long""'");
249310  }
249311  arg2 = static_cast< long >(val2);
249312  {
249313  try {
249314  result = (long)(arg1)->SliceToMillisecond(arg2);
249315  }
249316  catch(CStdErrorInfo oError)
249317  {
249318  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249319  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249320  PyErr_SetString(PyExc_IndexError, strError.c_str());
249321  SWIG_fail;
249322  }
249323  catch(...)
249324  {
249325  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249326  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249327  SWIG_fail;
249328  }
249329  }
249330  resultobj = SWIG_From_long(static_cast< long >(result));
249331  return resultobj;
249332 fail:
249333  return NULL;
249334 }
249335 
249336 
249337 SWIGINTERN PyObject *_wrap_Simulator_StartSimTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249338  PyObject *resultobj = 0;
249340  void *argp1 = 0 ;
249341  int res1 = 0 ;
249342  PyObject * obj0 = 0 ;
249343  unsigned long long result;
249344 
249345  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_StartSimTick",&obj0)) SWIG_fail;
249346  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249347  if (!SWIG_IsOK(res1)) {
249348  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_StartSimTick" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249349  }
249350  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249351  {
249352  try {
249353  result = (unsigned long long)(arg1)->StartSimTick();
249354  }
249355  catch(CStdErrorInfo oError)
249356  {
249357  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249358  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249359  PyErr_SetString(PyExc_IndexError, strError.c_str());
249360  SWIG_fail;
249361  }
249362  catch(...)
249363  {
249364  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249365  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249366  SWIG_fail;
249367  }
249368  }
249369  resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result));
249370  return resultobj;
249371 fail:
249372  return NULL;
249373 }
249374 
249375 
249376 SWIGINTERN PyObject *_wrap_Simulator_MinTimeStep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249377  PyObject *resultobj = 0;
249379  void *argp1 = 0 ;
249380  int res1 = 0 ;
249381  PyObject * obj0 = 0 ;
249382  float result;
249383 
249384  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_MinTimeStep",&obj0)) SWIG_fail;
249385  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249386  if (!SWIG_IsOK(res1)) {
249387  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MinTimeStep" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249388  }
249389  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249390  {
249391  try {
249392  result = (float)(arg1)->MinTimeStep();
249393  }
249394  catch(CStdErrorInfo oError)
249395  {
249396  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249397  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249398  PyErr_SetString(PyExc_IndexError, strError.c_str());
249399  SWIG_fail;
249400  }
249401  catch(...)
249402  {
249403  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249404  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249405  SWIG_fail;
249406  }
249407  }
249408  resultobj = SWIG_From_float(static_cast< float >(result));
249409  return resultobj;
249410 fail:
249411  return NULL;
249412 }
249413 
249414 
249415 SWIGINTERN PyObject *_wrap_Simulator_TimeStep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249416  PyObject *resultobj = 0;
249418  void *argp1 = 0 ;
249419  int res1 = 0 ;
249420  PyObject * obj0 = 0 ;
249421  float result;
249422 
249423  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_TimeStep",&obj0)) SWIG_fail;
249424  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249425  if (!SWIG_IsOK(res1)) {
249426  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_TimeStep" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249427  }
249428  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249429  {
249430  try {
249431  result = (float)(arg1)->TimeStep();
249432  }
249433  catch(CStdErrorInfo oError)
249434  {
249435  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249436  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249437  PyErr_SetString(PyExc_IndexError, strError.c_str());
249438  SWIG_fail;
249439  }
249440  catch(...)
249441  {
249442  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249443  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249444  SWIG_fail;
249445  }
249446  }
249447  resultobj = SWIG_From_float(static_cast< float >(result));
249448  return resultobj;
249449 fail:
249450  return NULL;
249451 }
249452 
249453 
249454 SWIGINTERN PyObject *_wrap_Simulator_SetEndSimTime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249455  PyObject *resultobj = 0;
249457  void *argp1 = 0 ;
249458  int res1 = 0 ;
249459  PyObject * obj0 = 0 ;
249460  bool result;
249461 
249462  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_SetEndSimTime",&obj0)) SWIG_fail;
249463  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249464  if (!SWIG_IsOK(res1)) {
249465  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SetEndSimTime" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249466  }
249467  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249468  {
249469  try {
249470  result = (bool)(arg1)->SetEndSimTime();
249471  }
249472  catch(CStdErrorInfo oError)
249473  {
249474  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249475  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249476  PyErr_SetString(PyExc_IndexError, strError.c_str());
249477  SWIG_fail;
249478  }
249479  catch(...)
249480  {
249481  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249482  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249483  SWIG_fail;
249484  }
249485  }
249486  resultobj = SWIG_From_bool(static_cast< bool >(result));
249487  return resultobj;
249488 fail:
249489  return NULL;
249490 }
249491 
249492 
249493 SWIGINTERN PyObject *_wrap_Simulator_SetEndSimTime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249494  PyObject *resultobj = 0;
249496  bool arg2 ;
249497  void *argp1 = 0 ;
249498  int res1 = 0 ;
249499  bool val2 ;
249500  int ecode2 = 0 ;
249501  PyObject * obj0 = 0 ;
249502  PyObject * obj1 = 0 ;
249503 
249504  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_SetEndSimTime",&obj0,&obj1)) SWIG_fail;
249505  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249506  if (!SWIG_IsOK(res1)) {
249507  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SetEndSimTime" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249508  }
249509  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249510  ecode2 = SWIG_AsVal_bool(obj1, &val2);
249511  if (!SWIG_IsOK(ecode2)) {
249512  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_SetEndSimTime" "', argument " "2"" of type '" "bool""'");
249513  }
249514  arg2 = static_cast< bool >(val2);
249515  {
249516  try {
249517  (arg1)->SetEndSimTime(arg2);
249518  }
249519  catch(CStdErrorInfo oError)
249520  {
249521  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249522  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249523  PyErr_SetString(PyExc_IndexError, strError.c_str());
249524  SWIG_fail;
249525  }
249526  catch(...)
249527  {
249528  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249529  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249530  SWIG_fail;
249531  }
249532  }
249533  resultobj = SWIG_Py_Void();
249534  return resultobj;
249535 fail:
249536  return NULL;
249537 }
249538 
249539 
249540 SWIGINTERN PyObject *_wrap_Simulator_SetEndSimTime(PyObject *self, PyObject *args) {
249541  int argc;
249542  PyObject *argv[3];
249543  int ii;
249544 
249545  if (!PyTuple_Check(args)) SWIG_fail;
249546  argc = args ? (int)PyObject_Length(args) : 0;
249547  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
249548  argv[ii] = PyTuple_GET_ITEM(args,ii);
249549  }
249550  if (argc == 1) {
249551  int _v;
249552  void *vptr = 0;
249553  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
249554  _v = SWIG_CheckState(res);
249555  if (_v) {
249556  return _wrap_Simulator_SetEndSimTime__SWIG_0(self, args);
249557  }
249558  }
249559  if (argc == 2) {
249560  int _v;
249561  void *vptr = 0;
249562  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
249563  _v = SWIG_CheckState(res);
249564  if (_v) {
249565  {
249566  int res = SWIG_AsVal_bool(argv[1], NULL);
249567  _v = SWIG_CheckState(res);
249568  }
249569  if (_v) {
249570  return _wrap_Simulator_SetEndSimTime__SWIG_1(self, args);
249571  }
249572  }
249573  }
249574 
249575 fail:
249576  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_SetEndSimTime'.\n"
249577  " Possible C/C++ prototypes are:\n"
249578  " AnimatSim::Simulator::SetEndSimTime()\n"
249579  " AnimatSim::Simulator::SetEndSimTime(bool)\n");
249580  return 0;
249581 }
249582 
249583 
249584 SWIGINTERN PyObject *_wrap_Simulator_EndSimTime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249585  PyObject *resultobj = 0;
249587  void *argp1 = 0 ;
249588  int res1 = 0 ;
249589  PyObject * obj0 = 0 ;
249590  float result;
249591 
249592  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_EndSimTime",&obj0)) SWIG_fail;
249593  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249594  if (!SWIG_IsOK(res1)) {
249595  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_EndSimTime" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249596  }
249597  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249598  {
249599  try {
249600  result = (float)(arg1)->EndSimTime();
249601  }
249602  catch(CStdErrorInfo oError)
249603  {
249604  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249605  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249606  PyErr_SetString(PyExc_IndexError, strError.c_str());
249607  SWIG_fail;
249608  }
249609  catch(...)
249610  {
249611  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249612  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249613  SWIG_fail;
249614  }
249615  }
249616  resultobj = SWIG_From_float(static_cast< float >(result));
249617  return resultobj;
249618 fail:
249619  return NULL;
249620 }
249621 
249622 
249623 SWIGINTERN PyObject *_wrap_Simulator_EndSimTime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249624  PyObject *resultobj = 0;
249626  float arg2 ;
249627  void *argp1 = 0 ;
249628  int res1 = 0 ;
249629  float val2 ;
249630  int ecode2 = 0 ;
249631  PyObject * obj0 = 0 ;
249632  PyObject * obj1 = 0 ;
249633 
249634  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_EndSimTime",&obj0,&obj1)) SWIG_fail;
249635  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249636  if (!SWIG_IsOK(res1)) {
249637  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_EndSimTime" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249638  }
249639  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249640  ecode2 = SWIG_AsVal_float(obj1, &val2);
249641  if (!SWIG_IsOK(ecode2)) {
249642  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_EndSimTime" "', argument " "2"" of type '" "float""'");
249643  }
249644  arg2 = static_cast< float >(val2);
249645  {
249646  try {
249647  (arg1)->EndSimTime(arg2);
249648  }
249649  catch(CStdErrorInfo oError)
249650  {
249651  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249652  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249653  PyErr_SetString(PyExc_IndexError, strError.c_str());
249654  SWIG_fail;
249655  }
249656  catch(...)
249657  {
249658  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249659  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249660  SWIG_fail;
249661  }
249662  }
249663  resultobj = SWIG_Py_Void();
249664  return resultobj;
249665 fail:
249666  return NULL;
249667 }
249668 
249669 
249670 SWIGINTERN PyObject *_wrap_Simulator_EndSimTime(PyObject *self, PyObject *args) {
249671  int argc;
249672  PyObject *argv[3];
249673  int ii;
249674 
249675  if (!PyTuple_Check(args)) SWIG_fail;
249676  argc = args ? (int)PyObject_Length(args) : 0;
249677  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
249678  argv[ii] = PyTuple_GET_ITEM(args,ii);
249679  }
249680  if (argc == 1) {
249681  int _v;
249682  void *vptr = 0;
249683  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
249684  _v = SWIG_CheckState(res);
249685  if (_v) {
249686  return _wrap_Simulator_EndSimTime__SWIG_0(self, args);
249687  }
249688  }
249689  if (argc == 2) {
249690  int _v;
249691  void *vptr = 0;
249692  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
249693  _v = SWIG_CheckState(res);
249694  if (_v) {
249695  {
249696  int res = SWIG_AsVal_float(argv[1], NULL);
249697  _v = SWIG_CheckState(res);
249698  }
249699  if (_v) {
249700  return _wrap_Simulator_EndSimTime__SWIG_1(self, args);
249701  }
249702  }
249703  }
249704 
249705 fail:
249706  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_EndSimTime'.\n"
249707  " Possible C/C++ prototypes are:\n"
249708  " AnimatSim::Simulator::EndSimTime()\n"
249709  " AnimatSim::Simulator::EndSimTime(float)\n");
249710  return 0;
249711 }
249712 
249713 
249714 SWIGINTERN PyObject *_wrap_Simulator_EndSimTimeSlice__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249715  PyObject *resultobj = 0;
249717  void *argp1 = 0 ;
249718  int res1 = 0 ;
249719  PyObject * obj0 = 0 ;
249720  long result;
249721 
249722  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_EndSimTimeSlice",&obj0)) SWIG_fail;
249723  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249724  if (!SWIG_IsOK(res1)) {
249725  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_EndSimTimeSlice" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249726  }
249727  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249728  {
249729  try {
249730  result = (long)(arg1)->EndSimTimeSlice();
249731  }
249732  catch(CStdErrorInfo oError)
249733  {
249734  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249735  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249736  PyErr_SetString(PyExc_IndexError, strError.c_str());
249737  SWIG_fail;
249738  }
249739  catch(...)
249740  {
249741  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249742  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249743  SWIG_fail;
249744  }
249745  }
249746  resultobj = SWIG_From_long(static_cast< long >(result));
249747  return resultobj;
249748 fail:
249749  return NULL;
249750 }
249751 
249752 
249753 SWIGINTERN PyObject *_wrap_Simulator_EndSimTimeSlice__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249754  PyObject *resultobj = 0;
249756  long arg2 ;
249757  void *argp1 = 0 ;
249758  int res1 = 0 ;
249759  long val2 ;
249760  int ecode2 = 0 ;
249761  PyObject * obj0 = 0 ;
249762  PyObject * obj1 = 0 ;
249763 
249764  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_EndSimTimeSlice",&obj0,&obj1)) SWIG_fail;
249765  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249766  if (!SWIG_IsOK(res1)) {
249767  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_EndSimTimeSlice" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249768  }
249769  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249770  ecode2 = SWIG_AsVal_long(obj1, &val2);
249771  if (!SWIG_IsOK(ecode2)) {
249772  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_EndSimTimeSlice" "', argument " "2"" of type '" "long""'");
249773  }
249774  arg2 = static_cast< long >(val2);
249775  {
249776  try {
249777  (arg1)->EndSimTimeSlice(arg2);
249778  }
249779  catch(CStdErrorInfo oError)
249780  {
249781  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249782  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249783  PyErr_SetString(PyExc_IndexError, strError.c_str());
249784  SWIG_fail;
249785  }
249786  catch(...)
249787  {
249788  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249789  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249790  SWIG_fail;
249791  }
249792  }
249793  resultobj = SWIG_Py_Void();
249794  return resultobj;
249795 fail:
249796  return NULL;
249797 }
249798 
249799 
249800 SWIGINTERN PyObject *_wrap_Simulator_EndSimTimeSlice(PyObject *self, PyObject *args) {
249801  int argc;
249802  PyObject *argv[3];
249803  int ii;
249804 
249805  if (!PyTuple_Check(args)) SWIG_fail;
249806  argc = args ? (int)PyObject_Length(args) : 0;
249807  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
249808  argv[ii] = PyTuple_GET_ITEM(args,ii);
249809  }
249810  if (argc == 1) {
249811  int _v;
249812  void *vptr = 0;
249813  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
249814  _v = SWIG_CheckState(res);
249815  if (_v) {
249816  return _wrap_Simulator_EndSimTimeSlice__SWIG_0(self, args);
249817  }
249818  }
249819  if (argc == 2) {
249820  int _v;
249821  void *vptr = 0;
249822  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
249823  _v = SWIG_CheckState(res);
249824  if (_v) {
249825  {
249826  int res = SWIG_AsVal_long(argv[1], NULL);
249827  _v = SWIG_CheckState(res);
249828  }
249829  if (_v) {
249830  return _wrap_Simulator_EndSimTimeSlice__SWIG_1(self, args);
249831  }
249832  }
249833  }
249834 
249835 fail:
249836  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_EndSimTimeSlice'.\n"
249837  " Possible C/C++ prototypes are:\n"
249838  " AnimatSim::Simulator::EndSimTimeSlice()\n"
249839  " AnimatSim::Simulator::EndSimTimeSlice(long)\n");
249840  return 0;
249841 }
249842 
249843 
249844 SWIGINTERN PyObject *_wrap_Simulator_TimeSlice__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249845  PyObject *resultobj = 0;
249847  void *argp1 = 0 ;
249848  int res1 = 0 ;
249849  PyObject * obj0 = 0 ;
249850  long result;
249851 
249852  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_TimeSlice",&obj0)) SWIG_fail;
249853  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249854  if (!SWIG_IsOK(res1)) {
249855  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_TimeSlice" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249856  }
249857  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249858  {
249859  try {
249860  result = (long)(arg1)->TimeSlice();
249861  }
249862  catch(CStdErrorInfo oError)
249863  {
249864  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249865  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249866  PyErr_SetString(PyExc_IndexError, strError.c_str());
249867  SWIG_fail;
249868  }
249869  catch(...)
249870  {
249871  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249872  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249873  SWIG_fail;
249874  }
249875  }
249876  resultobj = SWIG_From_long(static_cast< long >(result));
249877  return resultobj;
249878 fail:
249879  return NULL;
249880 }
249881 
249882 
249883 SWIGINTERN PyObject *_wrap_Simulator_TimeSlice__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249884  PyObject *resultobj = 0;
249886  long arg2 ;
249887  void *argp1 = 0 ;
249888  int res1 = 0 ;
249889  long val2 ;
249890  int ecode2 = 0 ;
249891  PyObject * obj0 = 0 ;
249892  PyObject * obj1 = 0 ;
249893 
249894  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_TimeSlice",&obj0,&obj1)) SWIG_fail;
249895  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249896  if (!SWIG_IsOK(res1)) {
249897  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_TimeSlice" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249898  }
249899  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249900  ecode2 = SWIG_AsVal_long(obj1, &val2);
249901  if (!SWIG_IsOK(ecode2)) {
249902  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_TimeSlice" "', argument " "2"" of type '" "long""'");
249903  }
249904  arg2 = static_cast< long >(val2);
249905  {
249906  try {
249907  (arg1)->TimeSlice(arg2);
249908  }
249909  catch(CStdErrorInfo oError)
249910  {
249911  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249912  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249913  PyErr_SetString(PyExc_IndexError, strError.c_str());
249914  SWIG_fail;
249915  }
249916  catch(...)
249917  {
249918  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249919  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
249920  SWIG_fail;
249921  }
249922  }
249923  resultobj = SWIG_Py_Void();
249924  return resultobj;
249925 fail:
249926  return NULL;
249927 }
249928 
249929 
249930 SWIGINTERN PyObject *_wrap_Simulator_TimeSlice(PyObject *self, PyObject *args) {
249931  int argc;
249932  PyObject *argv[3];
249933  int ii;
249934 
249935  if (!PyTuple_Check(args)) SWIG_fail;
249936  argc = args ? (int)PyObject_Length(args) : 0;
249937  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
249938  argv[ii] = PyTuple_GET_ITEM(args,ii);
249939  }
249940  if (argc == 1) {
249941  int _v;
249942  void *vptr = 0;
249943  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
249944  _v = SWIG_CheckState(res);
249945  if (_v) {
249946  return _wrap_Simulator_TimeSlice__SWIG_0(self, args);
249947  }
249948  }
249949  if (argc == 2) {
249950  int _v;
249951  void *vptr = 0;
249952  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
249953  _v = SWIG_CheckState(res);
249954  if (_v) {
249955  {
249956  int res = SWIG_AsVal_long(argv[1], NULL);
249957  _v = SWIG_CheckState(res);
249958  }
249959  if (_v) {
249960  return _wrap_Simulator_TimeSlice__SWIG_1(self, args);
249961  }
249962  }
249963  }
249964 
249965 fail:
249966  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_TimeSlice'.\n"
249967  " Possible C/C++ prototypes are:\n"
249968  " AnimatSim::Simulator::TimeSlice()\n"
249969  " AnimatSim::Simulator::TimeSlice(long)\n");
249970  return 0;
249971 }
249972 
249973 
249974 SWIGINTERN PyObject *_wrap_Simulator_PhysicsSliceCount__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
249975  PyObject *resultobj = 0;
249977  void *argp1 = 0 ;
249978  int res1 = 0 ;
249979  PyObject * obj0 = 0 ;
249980  long result;
249981 
249982  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_PhysicsSliceCount",&obj0)) SWIG_fail;
249983  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
249984  if (!SWIG_IsOK(res1)) {
249985  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_PhysicsSliceCount" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
249986  }
249987  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
249988  {
249989  try {
249990  result = (long)(arg1)->PhysicsSliceCount();
249991  }
249992  catch(CStdErrorInfo oError)
249993  {
249994  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
249995  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
249996  PyErr_SetString(PyExc_IndexError, strError.c_str());
249997  SWIG_fail;
249998  }
249999  catch(...)
250000  {
250001  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250002  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250003  SWIG_fail;
250004  }
250005  }
250006  resultobj = SWIG_From_long(static_cast< long >(result));
250007  return resultobj;
250008 fail:
250009  return NULL;
250010 }
250011 
250012 
250013 SWIGINTERN PyObject *_wrap_Simulator_PhysicsSliceCount__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250014  PyObject *resultobj = 0;
250016  long arg2 ;
250017  void *argp1 = 0 ;
250018  int res1 = 0 ;
250019  long val2 ;
250020  int ecode2 = 0 ;
250021  PyObject * obj0 = 0 ;
250022  PyObject * obj1 = 0 ;
250023 
250024  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_PhysicsSliceCount",&obj0,&obj1)) SWIG_fail;
250025  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250026  if (!SWIG_IsOK(res1)) {
250027  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_PhysicsSliceCount" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250028  }
250029  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250030  ecode2 = SWIG_AsVal_long(obj1, &val2);
250031  if (!SWIG_IsOK(ecode2)) {
250032  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_PhysicsSliceCount" "', argument " "2"" of type '" "long""'");
250033  }
250034  arg2 = static_cast< long >(val2);
250035  {
250036  try {
250037  (arg1)->PhysicsSliceCount(arg2);
250038  }
250039  catch(CStdErrorInfo oError)
250040  {
250041  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250042  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250043  PyErr_SetString(PyExc_IndexError, strError.c_str());
250044  SWIG_fail;
250045  }
250046  catch(...)
250047  {
250048  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250049  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250050  SWIG_fail;
250051  }
250052  }
250053  resultobj = SWIG_Py_Void();
250054  return resultobj;
250055 fail:
250056  return NULL;
250057 }
250058 
250059 
250060 SWIGINTERN PyObject *_wrap_Simulator_PhysicsSliceCount(PyObject *self, PyObject *args) {
250061  int argc;
250062  PyObject *argv[3];
250063  int ii;
250064 
250065  if (!PyTuple_Check(args)) SWIG_fail;
250066  argc = args ? (int)PyObject_Length(args) : 0;
250067  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
250068  argv[ii] = PyTuple_GET_ITEM(args,ii);
250069  }
250070  if (argc == 1) {
250071  int _v;
250072  void *vptr = 0;
250073  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
250074  _v = SWIG_CheckState(res);
250075  if (_v) {
250076  return _wrap_Simulator_PhysicsSliceCount__SWIG_0(self, args);
250077  }
250078  }
250079  if (argc == 2) {
250080  int _v;
250081  void *vptr = 0;
250082  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
250083  _v = SWIG_CheckState(res);
250084  if (_v) {
250085  {
250086  int res = SWIG_AsVal_long(argv[1], NULL);
250087  _v = SWIG_CheckState(res);
250088  }
250089  if (_v) {
250090  return _wrap_Simulator_PhysicsSliceCount__SWIG_1(self, args);
250091  }
250092  }
250093  }
250094 
250095 fail:
250096  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_PhysicsSliceCount'.\n"
250097  " Possible C/C++ prototypes are:\n"
250098  " AnimatSim::Simulator::PhysicsSliceCount()\n"
250099  " AnimatSim::Simulator::PhysicsSliceCount(long)\n");
250100  return 0;
250101 }
250102 
250103 
250104 SWIGINTERN PyObject *_wrap_Simulator_ManualStepSimulation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250105  PyObject *resultobj = 0;
250107  void *argp1 = 0 ;
250108  int res1 = 0 ;
250109  PyObject * obj0 = 0 ;
250110  bool result;
250111 
250112  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_ManualStepSimulation",&obj0)) SWIG_fail;
250113  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250114  if (!SWIG_IsOK(res1)) {
250115  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ManualStepSimulation" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250116  }
250117  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250118  {
250119  try {
250120  result = (bool)(arg1)->ManualStepSimulation();
250121  }
250122  catch(CStdErrorInfo oError)
250123  {
250124  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250125  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250126  PyErr_SetString(PyExc_IndexError, strError.c_str());
250127  SWIG_fail;
250128  }
250129  catch(...)
250130  {
250131  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250132  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250133  SWIG_fail;
250134  }
250135  }
250136  resultobj = SWIG_From_bool(static_cast< bool >(result));
250137  return resultobj;
250138 fail:
250139  return NULL;
250140 }
250141 
250142 
250143 SWIGINTERN PyObject *_wrap_Simulator_ManualStepSimulation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250144  PyObject *resultobj = 0;
250146  bool arg2 ;
250147  void *argp1 = 0 ;
250148  int res1 = 0 ;
250149  bool val2 ;
250150  int ecode2 = 0 ;
250151  PyObject * obj0 = 0 ;
250152  PyObject * obj1 = 0 ;
250153 
250154  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_ManualStepSimulation",&obj0,&obj1)) SWIG_fail;
250155  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250156  if (!SWIG_IsOK(res1)) {
250157  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ManualStepSimulation" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250158  }
250159  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250160  ecode2 = SWIG_AsVal_bool(obj1, &val2);
250161  if (!SWIG_IsOK(ecode2)) {
250162  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_ManualStepSimulation" "', argument " "2"" of type '" "bool""'");
250163  }
250164  arg2 = static_cast< bool >(val2);
250165  {
250166  try {
250167  (arg1)->ManualStepSimulation(arg2);
250168  }
250169  catch(CStdErrorInfo oError)
250170  {
250171  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250172  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250173  PyErr_SetString(PyExc_IndexError, strError.c_str());
250174  SWIG_fail;
250175  }
250176  catch(...)
250177  {
250178  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250179  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250180  SWIG_fail;
250181  }
250182  }
250183  resultobj = SWIG_Py_Void();
250184  return resultobj;
250185 fail:
250186  return NULL;
250187 }
250188 
250189 
250190 SWIGINTERN PyObject *_wrap_Simulator_ManualStepSimulation(PyObject *self, PyObject *args) {
250191  int argc;
250192  PyObject *argv[3];
250193  int ii;
250194 
250195  if (!PyTuple_Check(args)) SWIG_fail;
250196  argc = args ? (int)PyObject_Length(args) : 0;
250197  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
250198  argv[ii] = PyTuple_GET_ITEM(args,ii);
250199  }
250200  if (argc == 1) {
250201  int _v;
250202  void *vptr = 0;
250203  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
250204  _v = SWIG_CheckState(res);
250205  if (_v) {
250206  return _wrap_Simulator_ManualStepSimulation__SWIG_0(self, args);
250207  }
250208  }
250209  if (argc == 2) {
250210  int _v;
250211  void *vptr = 0;
250212  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
250213  _v = SWIG_CheckState(res);
250214  if (_v) {
250215  {
250216  int res = SWIG_AsVal_bool(argv[1], NULL);
250217  _v = SWIG_CheckState(res);
250218  }
250219  if (_v) {
250220  return _wrap_Simulator_ManualStepSimulation__SWIG_1(self, args);
250221  }
250222  }
250223  }
250224 
250225 fail:
250226  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_ManualStepSimulation'.\n"
250227  " Possible C/C++ prototypes are:\n"
250228  " AnimatSim::Simulator::ManualStepSimulation()\n"
250229  " AnimatSim::Simulator::ManualStepSimulation(bool)\n");
250230  return 0;
250231 }
250232 
250233 
250234 SWIGINTERN PyObject *_wrap_Simulator_SimRunning(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250235  PyObject *resultobj = 0;
250237  void *argp1 = 0 ;
250238  int res1 = 0 ;
250239  PyObject * obj0 = 0 ;
250240  bool result;
250241 
250242  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_SimRunning",&obj0)) SWIG_fail;
250243  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250244  if (!SWIG_IsOK(res1)) {
250245  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SimRunning" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250246  }
250247  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250248  {
250249  try {
250250  result = (bool)(arg1)->SimRunning();
250251  }
250252  catch(CStdErrorInfo oError)
250253  {
250254  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250255  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250256  PyErr_SetString(PyExc_IndexError, strError.c_str());
250257  SWIG_fail;
250258  }
250259  catch(...)
250260  {
250261  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250262  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250263  SWIG_fail;
250264  }
250265  }
250266  resultobj = SWIG_From_bool(static_cast< bool >(result));
250267  return resultobj;
250268 fail:
250269  return NULL;
250270 }
250271 
250272 
250273 SWIGINTERN PyObject *_wrap_Simulator_ShuttingDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250274  PyObject *resultobj = 0;
250276  void *argp1 = 0 ;
250277  int res1 = 0 ;
250278  PyObject * obj0 = 0 ;
250279  bool result;
250280 
250281  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_ShuttingDown",&obj0)) SWIG_fail;
250282  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250283  if (!SWIG_IsOK(res1)) {
250284  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ShuttingDown" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250285  }
250286  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250287  {
250288  try {
250289  result = (bool)(arg1)->ShuttingDown();
250290  }
250291  catch(CStdErrorInfo oError)
250292  {
250293  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250294  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250295  PyErr_SetString(PyExc_IndexError, strError.c_str());
250296  SWIG_fail;
250297  }
250298  catch(...)
250299  {
250300  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250301  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250302  SWIG_fail;
250303  }
250304  }
250305  resultobj = SWIG_From_bool(static_cast< bool >(result));
250306  return resultobj;
250307 fail:
250308  return NULL;
250309 }
250310 
250311 
250312 SWIGINTERN PyObject *_wrap_Simulator_ForceFastMoving__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250313  PyObject *resultobj = 0;
250315  void *argp1 = 0 ;
250316  int res1 = 0 ;
250317  PyObject * obj0 = 0 ;
250318  bool result;
250319 
250320  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_ForceFastMoving",&obj0)) SWIG_fail;
250321  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250322  if (!SWIG_IsOK(res1)) {
250323  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ForceFastMoving" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250324  }
250325  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250326  {
250327  try {
250328  result = (bool)(arg1)->ForceFastMoving();
250329  }
250330  catch(CStdErrorInfo oError)
250331  {
250332  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250333  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250334  PyErr_SetString(PyExc_IndexError, strError.c_str());
250335  SWIG_fail;
250336  }
250337  catch(...)
250338  {
250339  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250340  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250341  SWIG_fail;
250342  }
250343  }
250344  resultobj = SWIG_From_bool(static_cast< bool >(result));
250345  return resultobj;
250346 fail:
250347  return NULL;
250348 }
250349 
250350 
250351 SWIGINTERN PyObject *_wrap_Simulator_ForceFastMoving__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250352  PyObject *resultobj = 0;
250354  bool arg2 ;
250355  void *argp1 = 0 ;
250356  int res1 = 0 ;
250357  bool val2 ;
250358  int ecode2 = 0 ;
250359  PyObject * obj0 = 0 ;
250360  PyObject * obj1 = 0 ;
250361 
250362  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_ForceFastMoving",&obj0,&obj1)) SWIG_fail;
250363  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250364  if (!SWIG_IsOK(res1)) {
250365  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ForceFastMoving" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250366  }
250367  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250368  ecode2 = SWIG_AsVal_bool(obj1, &val2);
250369  if (!SWIG_IsOK(ecode2)) {
250370  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_ForceFastMoving" "', argument " "2"" of type '" "bool""'");
250371  }
250372  arg2 = static_cast< bool >(val2);
250373  {
250374  try {
250375  (arg1)->ForceFastMoving(arg2);
250376  }
250377  catch(CStdErrorInfo oError)
250378  {
250379  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250380  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250381  PyErr_SetString(PyExc_IndexError, strError.c_str());
250382  SWIG_fail;
250383  }
250384  catch(...)
250385  {
250386  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250387  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250388  SWIG_fail;
250389  }
250390  }
250391  resultobj = SWIG_Py_Void();
250392  return resultobj;
250393 fail:
250394  return NULL;
250395 }
250396 
250397 
250398 SWIGINTERN PyObject *_wrap_Simulator_ForceFastMoving(PyObject *self, PyObject *args) {
250399  int argc;
250400  PyObject *argv[3];
250401  int ii;
250402 
250403  if (!PyTuple_Check(args)) SWIG_fail;
250404  argc = args ? (int)PyObject_Length(args) : 0;
250405  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
250406  argv[ii] = PyTuple_GET_ITEM(args,ii);
250407  }
250408  if (argc == 1) {
250409  int _v;
250410  void *vptr = 0;
250411  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
250412  _v = SWIG_CheckState(res);
250413  if (_v) {
250414  return _wrap_Simulator_ForceFastMoving__SWIG_0(self, args);
250415  }
250416  }
250417  if (argc == 2) {
250418  int _v;
250419  void *vptr = 0;
250420  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
250421  _v = SWIG_CheckState(res);
250422  if (_v) {
250423  {
250424  int res = SWIG_AsVal_bool(argv[1], NULL);
250425  _v = SWIG_CheckState(res);
250426  }
250427  if (_v) {
250428  return _wrap_Simulator_ForceFastMoving__SWIG_1(self, args);
250429  }
250430  }
250431  }
250432 
250433 fail:
250434  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_ForceFastMoving'.\n"
250435  " Possible C/C++ prototypes are:\n"
250436  " AnimatSim::Simulator::ForceFastMoving()\n"
250437  " AnimatSim::Simulator::ForceFastMoving(bool)\n");
250438  return 0;
250439 }
250440 
250441 
250442 SWIGINTERN PyObject *_wrap_Simulator_AutoGenerateRandomSeed__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250443  PyObject *resultobj = 0;
250445  void *argp1 = 0 ;
250446  int res1 = 0 ;
250447  PyObject * obj0 = 0 ;
250448  bool result;
250449 
250450  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_AutoGenerateRandomSeed",&obj0)) SWIG_fail;
250451  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250452  if (!SWIG_IsOK(res1)) {
250453  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AutoGenerateRandomSeed" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250454  }
250455  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250456  {
250457  try {
250458  result = (bool)(arg1)->AutoGenerateRandomSeed();
250459  }
250460  catch(CStdErrorInfo oError)
250461  {
250462  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250463  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250464  PyErr_SetString(PyExc_IndexError, strError.c_str());
250465  SWIG_fail;
250466  }
250467  catch(...)
250468  {
250469  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250470  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250471  SWIG_fail;
250472  }
250473  }
250474  resultobj = SWIG_From_bool(static_cast< bool >(result));
250475  return resultobj;
250476 fail:
250477  return NULL;
250478 }
250479 
250480 
250481 SWIGINTERN PyObject *_wrap_Simulator_AutoGenerateRandomSeed__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250482  PyObject *resultobj = 0;
250484  bool arg2 ;
250485  void *argp1 = 0 ;
250486  int res1 = 0 ;
250487  bool val2 ;
250488  int ecode2 = 0 ;
250489  PyObject * obj0 = 0 ;
250490  PyObject * obj1 = 0 ;
250491 
250492  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_AutoGenerateRandomSeed",&obj0,&obj1)) SWIG_fail;
250493  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250494  if (!SWIG_IsOK(res1)) {
250495  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AutoGenerateRandomSeed" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250496  }
250497  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250498  ecode2 = SWIG_AsVal_bool(obj1, &val2);
250499  if (!SWIG_IsOK(ecode2)) {
250500  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_AutoGenerateRandomSeed" "', argument " "2"" of type '" "bool""'");
250501  }
250502  arg2 = static_cast< bool >(val2);
250503  {
250504  try {
250505  (arg1)->AutoGenerateRandomSeed(arg2);
250506  }
250507  catch(CStdErrorInfo oError)
250508  {
250509  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250510  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250511  PyErr_SetString(PyExc_IndexError, strError.c_str());
250512  SWIG_fail;
250513  }
250514  catch(...)
250515  {
250516  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250517  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250518  SWIG_fail;
250519  }
250520  }
250521  resultobj = SWIG_Py_Void();
250522  return resultobj;
250523 fail:
250524  return NULL;
250525 }
250526 
250527 
250528 SWIGINTERN PyObject *_wrap_Simulator_AutoGenerateRandomSeed(PyObject *self, PyObject *args) {
250529  int argc;
250530  PyObject *argv[3];
250531  int ii;
250532 
250533  if (!PyTuple_Check(args)) SWIG_fail;
250534  argc = args ? (int)PyObject_Length(args) : 0;
250535  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
250536  argv[ii] = PyTuple_GET_ITEM(args,ii);
250537  }
250538  if (argc == 1) {
250539  int _v;
250540  void *vptr = 0;
250541  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
250542  _v = SWIG_CheckState(res);
250543  if (_v) {
250544  return _wrap_Simulator_AutoGenerateRandomSeed__SWIG_0(self, args);
250545  }
250546  }
250547  if (argc == 2) {
250548  int _v;
250549  void *vptr = 0;
250550  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
250551  _v = SWIG_CheckState(res);
250552  if (_v) {
250553  {
250554  int res = SWIG_AsVal_bool(argv[1], NULL);
250555  _v = SWIG_CheckState(res);
250556  }
250557  if (_v) {
250558  return _wrap_Simulator_AutoGenerateRandomSeed__SWIG_1(self, args);
250559  }
250560  }
250561  }
250562 
250563 fail:
250564  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_AutoGenerateRandomSeed'.\n"
250565  " Possible C/C++ prototypes are:\n"
250566  " AnimatSim::Simulator::AutoGenerateRandomSeed()\n"
250567  " AnimatSim::Simulator::AutoGenerateRandomSeed(bool)\n");
250568  return 0;
250569 }
250570 
250571 
250572 SWIGINTERN PyObject *_wrap_Simulator_ManualRandomSeed__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250573  PyObject *resultobj = 0;
250575  void *argp1 = 0 ;
250576  int res1 = 0 ;
250577  PyObject * obj0 = 0 ;
250578  int result;
250579 
250580  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_ManualRandomSeed",&obj0)) SWIG_fail;
250581  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250582  if (!SWIG_IsOK(res1)) {
250583  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ManualRandomSeed" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250584  }
250585  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250586  {
250587  try {
250588  result = (int)(arg1)->ManualRandomSeed();
250589  }
250590  catch(CStdErrorInfo oError)
250591  {
250592  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250593  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250594  PyErr_SetString(PyExc_IndexError, strError.c_str());
250595  SWIG_fail;
250596  }
250597  catch(...)
250598  {
250599  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250600  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250601  SWIG_fail;
250602  }
250603  }
250604  resultobj = SWIG_From_int(static_cast< int >(result));
250605  return resultobj;
250606 fail:
250607  return NULL;
250608 }
250609 
250610 
250611 SWIGINTERN PyObject *_wrap_Simulator_ManualRandomSeed__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250612  PyObject *resultobj = 0;
250614  int arg2 ;
250615  void *argp1 = 0 ;
250616  int res1 = 0 ;
250617  int val2 ;
250618  int ecode2 = 0 ;
250619  PyObject * obj0 = 0 ;
250620  PyObject * obj1 = 0 ;
250621 
250622  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_ManualRandomSeed",&obj0,&obj1)) SWIG_fail;
250623  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250624  if (!SWIG_IsOK(res1)) {
250625  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ManualRandomSeed" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250626  }
250627  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250628  ecode2 = SWIG_AsVal_int(obj1, &val2);
250629  if (!SWIG_IsOK(ecode2)) {
250630  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_ManualRandomSeed" "', argument " "2"" of type '" "int""'");
250631  }
250632  arg2 = static_cast< int >(val2);
250633  {
250634  try {
250635  (arg1)->ManualRandomSeed(arg2);
250636  }
250637  catch(CStdErrorInfo oError)
250638  {
250639  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250640  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250641  PyErr_SetString(PyExc_IndexError, strError.c_str());
250642  SWIG_fail;
250643  }
250644  catch(...)
250645  {
250646  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250647  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250648  SWIG_fail;
250649  }
250650  }
250651  resultobj = SWIG_Py_Void();
250652  return resultobj;
250653 fail:
250654  return NULL;
250655 }
250656 
250657 
250658 SWIGINTERN PyObject *_wrap_Simulator_ManualRandomSeed(PyObject *self, PyObject *args) {
250659  int argc;
250660  PyObject *argv[3];
250661  int ii;
250662 
250663  if (!PyTuple_Check(args)) SWIG_fail;
250664  argc = args ? (int)PyObject_Length(args) : 0;
250665  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
250666  argv[ii] = PyTuple_GET_ITEM(args,ii);
250667  }
250668  if (argc == 1) {
250669  int _v;
250670  void *vptr = 0;
250671  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
250672  _v = SWIG_CheckState(res);
250673  if (_v) {
250674  return _wrap_Simulator_ManualRandomSeed__SWIG_0(self, args);
250675  }
250676  }
250677  if (argc == 2) {
250678  int _v;
250679  void *vptr = 0;
250680  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
250681  _v = SWIG_CheckState(res);
250682  if (_v) {
250683  {
250684  int res = SWIG_AsVal_int(argv[1], NULL);
250685  _v = SWIG_CheckState(res);
250686  }
250687  if (_v) {
250688  return _wrap_Simulator_ManualRandomSeed__SWIG_1(self, args);
250689  }
250690  }
250691  }
250692 
250693 fail:
250694  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_ManualRandomSeed'.\n"
250695  " Possible C/C++ prototypes are:\n"
250696  " AnimatSim::Simulator::ManualRandomSeed()\n"
250697  " AnimatSim::Simulator::ManualRandomSeed(int)\n");
250698  return 0;
250699 }
250700 
250701 
250702 SWIGINTERN PyObject *_wrap_Simulator_StabilityScale__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250703  PyObject *resultobj = 0;
250705  void *argp1 = 0 ;
250706  int res1 = 0 ;
250707  PyObject * obj0 = 0 ;
250708  float result;
250709 
250710  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_StabilityScale",&obj0)) SWIG_fail;
250711  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250712  if (!SWIG_IsOK(res1)) {
250713  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_StabilityScale" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250714  }
250715  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250716  {
250717  try {
250718  result = (float)(arg1)->StabilityScale();
250719  }
250720  catch(CStdErrorInfo oError)
250721  {
250722  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250723  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250724  PyErr_SetString(PyExc_IndexError, strError.c_str());
250725  SWIG_fail;
250726  }
250727  catch(...)
250728  {
250729  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250730  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250731  SWIG_fail;
250732  }
250733  }
250734  resultobj = SWIG_From_float(static_cast< float >(result));
250735  return resultobj;
250736 fail:
250737  return NULL;
250738 }
250739 
250740 
250741 SWIGINTERN PyObject *_wrap_Simulator_StabilityScale__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250742  PyObject *resultobj = 0;
250744  float arg2 ;
250745  void *argp1 = 0 ;
250746  int res1 = 0 ;
250747  float val2 ;
250748  int ecode2 = 0 ;
250749  PyObject * obj0 = 0 ;
250750  PyObject * obj1 = 0 ;
250751 
250752  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_StabilityScale",&obj0,&obj1)) SWIG_fail;
250753  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250754  if (!SWIG_IsOK(res1)) {
250755  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_StabilityScale" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250756  }
250757  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250758  ecode2 = SWIG_AsVal_float(obj1, &val2);
250759  if (!SWIG_IsOK(ecode2)) {
250760  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_StabilityScale" "', argument " "2"" of type '" "float""'");
250761  }
250762  arg2 = static_cast< float >(val2);
250763  {
250764  try {
250765  (arg1)->StabilityScale(arg2);
250766  }
250767  catch(CStdErrorInfo oError)
250768  {
250769  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250770  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250771  PyErr_SetString(PyExc_IndexError, strError.c_str());
250772  SWIG_fail;
250773  }
250774  catch(...)
250775  {
250776  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250777  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250778  SWIG_fail;
250779  }
250780  }
250781  resultobj = SWIG_Py_Void();
250782  return resultobj;
250783 fail:
250784  return NULL;
250785 }
250786 
250787 
250788 SWIGINTERN PyObject *_wrap_Simulator_StabilityScale(PyObject *self, PyObject *args) {
250789  int argc;
250790  PyObject *argv[3];
250791  int ii;
250792 
250793  if (!PyTuple_Check(args)) SWIG_fail;
250794  argc = args ? (int)PyObject_Length(args) : 0;
250795  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
250796  argv[ii] = PyTuple_GET_ITEM(args,ii);
250797  }
250798  if (argc == 1) {
250799  int _v;
250800  void *vptr = 0;
250801  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
250802  _v = SWIG_CheckState(res);
250803  if (_v) {
250804  return _wrap_Simulator_StabilityScale__SWIG_0(self, args);
250805  }
250806  }
250807  if (argc == 2) {
250808  int _v;
250809  void *vptr = 0;
250810  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
250811  _v = SWIG_CheckState(res);
250812  if (_v) {
250813  {
250814  int res = SWIG_AsVal_float(argv[1], NULL);
250815  _v = SWIG_CheckState(res);
250816  }
250817  if (_v) {
250818  return _wrap_Simulator_StabilityScale__SWIG_1(self, args);
250819  }
250820  }
250821  }
250822 
250823 fail:
250824  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_StabilityScale'.\n"
250825  " Possible C/C++ prototypes are:\n"
250826  " AnimatSim::Simulator::StabilityScale()\n"
250827  " AnimatSim::Simulator::StabilityScale(float)\n");
250828  return 0;
250829 }
250830 
250831 
250832 SWIGINTERN PyObject *_wrap_Simulator_LinearCompliance__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250833  PyObject *resultobj = 0;
250835  void *argp1 = 0 ;
250836  int res1 = 0 ;
250837  PyObject * obj0 = 0 ;
250838  float result;
250839 
250840  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_LinearCompliance",&obj0)) SWIG_fail;
250841  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250842  if (!SWIG_IsOK(res1)) {
250843  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_LinearCompliance" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250844  }
250845  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250846  {
250847  try {
250848  result = (float)(arg1)->LinearCompliance();
250849  }
250850  catch(CStdErrorInfo oError)
250851  {
250852  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250853  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250854  PyErr_SetString(PyExc_IndexError, strError.c_str());
250855  SWIG_fail;
250856  }
250857  catch(...)
250858  {
250859  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250860  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250861  SWIG_fail;
250862  }
250863  }
250864  resultobj = SWIG_From_float(static_cast< float >(result));
250865  return resultobj;
250866 fail:
250867  return NULL;
250868 }
250869 
250870 
250871 SWIGINTERN PyObject *_wrap_Simulator_LinearCompliance__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250872  PyObject *resultobj = 0;
250874  float arg2 ;
250875  bool arg3 ;
250876  void *argp1 = 0 ;
250877  int res1 = 0 ;
250878  float val2 ;
250879  int ecode2 = 0 ;
250880  bool val3 ;
250881  int ecode3 = 0 ;
250882  PyObject * obj0 = 0 ;
250883  PyObject * obj1 = 0 ;
250884  PyObject * obj2 = 0 ;
250885 
250886  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_LinearCompliance",&obj0,&obj1,&obj2)) SWIG_fail;
250887  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250888  if (!SWIG_IsOK(res1)) {
250889  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_LinearCompliance" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250890  }
250891  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250892  ecode2 = SWIG_AsVal_float(obj1, &val2);
250893  if (!SWIG_IsOK(ecode2)) {
250894  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_LinearCompliance" "', argument " "2"" of type '" "float""'");
250895  }
250896  arg2 = static_cast< float >(val2);
250897  ecode3 = SWIG_AsVal_bool(obj2, &val3);
250898  if (!SWIG_IsOK(ecode3)) {
250899  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_LinearCompliance" "', argument " "3"" of type '" "bool""'");
250900  }
250901  arg3 = static_cast< bool >(val3);
250902  {
250903  try {
250904  (arg1)->LinearCompliance(arg2,arg3);
250905  }
250906  catch(CStdErrorInfo oError)
250907  {
250908  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250909  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250910  PyErr_SetString(PyExc_IndexError, strError.c_str());
250911  SWIG_fail;
250912  }
250913  catch(...)
250914  {
250915  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250916  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250917  SWIG_fail;
250918  }
250919  }
250920  resultobj = SWIG_Py_Void();
250921  return resultobj;
250922 fail:
250923  return NULL;
250924 }
250925 
250926 
250927 SWIGINTERN PyObject *_wrap_Simulator_LinearCompliance__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
250928  PyObject *resultobj = 0;
250930  float arg2 ;
250931  void *argp1 = 0 ;
250932  int res1 = 0 ;
250933  float val2 ;
250934  int ecode2 = 0 ;
250935  PyObject * obj0 = 0 ;
250936  PyObject * obj1 = 0 ;
250937 
250938  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_LinearCompliance",&obj0,&obj1)) SWIG_fail;
250939  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
250940  if (!SWIG_IsOK(res1)) {
250941  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_LinearCompliance" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
250942  }
250943  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
250944  ecode2 = SWIG_AsVal_float(obj1, &val2);
250945  if (!SWIG_IsOK(ecode2)) {
250946  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_LinearCompliance" "', argument " "2"" of type '" "float""'");
250947  }
250948  arg2 = static_cast< float >(val2);
250949  {
250950  try {
250951  (arg1)->LinearCompliance(arg2);
250952  }
250953  catch(CStdErrorInfo oError)
250954  {
250955  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250956  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
250957  PyErr_SetString(PyExc_IndexError, strError.c_str());
250958  SWIG_fail;
250959  }
250960  catch(...)
250961  {
250962  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
250963  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
250964  SWIG_fail;
250965  }
250966  }
250967  resultobj = SWIG_Py_Void();
250968  return resultobj;
250969 fail:
250970  return NULL;
250971 }
250972 
250973 
250974 SWIGINTERN PyObject *_wrap_Simulator_LinearCompliance(PyObject *self, PyObject *args) {
250975  int argc;
250976  PyObject *argv[4];
250977  int ii;
250978 
250979  if (!PyTuple_Check(args)) SWIG_fail;
250980  argc = args ? (int)PyObject_Length(args) : 0;
250981  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
250982  argv[ii] = PyTuple_GET_ITEM(args,ii);
250983  }
250984  if (argc == 1) {
250985  int _v;
250986  void *vptr = 0;
250987  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
250988  _v = SWIG_CheckState(res);
250989  if (_v) {
250990  return _wrap_Simulator_LinearCompliance__SWIG_0(self, args);
250991  }
250992  }
250993  if (argc == 2) {
250994  int _v;
250995  void *vptr = 0;
250996  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
250997  _v = SWIG_CheckState(res);
250998  if (_v) {
250999  {
251000  int res = SWIG_AsVal_float(argv[1], NULL);
251001  _v = SWIG_CheckState(res);
251002  }
251003  if (_v) {
251004  return _wrap_Simulator_LinearCompliance__SWIG_2(self, args);
251005  }
251006  }
251007  }
251008  if (argc == 3) {
251009  int _v;
251010  void *vptr = 0;
251011  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
251012  _v = SWIG_CheckState(res);
251013  if (_v) {
251014  {
251015  int res = SWIG_AsVal_float(argv[1], NULL);
251016  _v = SWIG_CheckState(res);
251017  }
251018  if (_v) {
251019  {
251020  int res = SWIG_AsVal_bool(argv[2], NULL);
251021  _v = SWIG_CheckState(res);
251022  }
251023  if (_v) {
251024  return _wrap_Simulator_LinearCompliance__SWIG_1(self, args);
251025  }
251026  }
251027  }
251028  }
251029 
251030 fail:
251031  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_LinearCompliance'.\n"
251032  " Possible C/C++ prototypes are:\n"
251033  " AnimatSim::Simulator::LinearCompliance()\n"
251034  " AnimatSim::Simulator::LinearCompliance(float,bool)\n"
251035  " AnimatSim::Simulator::LinearCompliance(float)\n");
251036  return 0;
251037 }
251038 
251039 
251040 SWIGINTERN PyObject *_wrap_Simulator_AngularCompliance__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
251041  PyObject *resultobj = 0;
251043  void *argp1 = 0 ;
251044  int res1 = 0 ;
251045  PyObject * obj0 = 0 ;
251046  float result;
251047 
251048  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_AngularCompliance",&obj0)) SWIG_fail;
251049  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
251050  if (!SWIG_IsOK(res1)) {
251051  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AngularCompliance" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
251052  }
251053  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
251054  {
251055  try {
251056  result = (float)(arg1)->AngularCompliance();
251057  }
251058  catch(CStdErrorInfo oError)
251059  {
251060  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251061  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
251062  PyErr_SetString(PyExc_IndexError, strError.c_str());
251063  SWIG_fail;
251064  }
251065  catch(...)
251066  {
251067  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251068  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
251069  SWIG_fail;
251070  }
251071  }
251072  resultobj = SWIG_From_float(static_cast< float >(result));
251073  return resultobj;
251074 fail:
251075  return NULL;
251076 }
251077 
251078 
251079 SWIGINTERN PyObject *_wrap_Simulator_AngularCompliance__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
251080  PyObject *resultobj = 0;
251082  float arg2 ;
251083  bool arg3 ;
251084  void *argp1 = 0 ;
251085  int res1 = 0 ;
251086  float val2 ;
251087  int ecode2 = 0 ;
251088  bool val3 ;
251089  int ecode3 = 0 ;
251090  PyObject * obj0 = 0 ;
251091  PyObject * obj1 = 0 ;
251092  PyObject * obj2 = 0 ;
251093 
251094  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_AngularCompliance",&obj0,&obj1,&obj2)) SWIG_fail;
251095  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
251096  if (!SWIG_IsOK(res1)) {
251097  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AngularCompliance" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
251098  }
251099  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
251100  ecode2 = SWIG_AsVal_float(obj1, &val2);
251101  if (!SWIG_IsOK(ecode2)) {
251102  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_AngularCompliance" "', argument " "2"" of type '" "float""'");
251103  }
251104  arg2 = static_cast< float >(val2);
251105  ecode3 = SWIG_AsVal_bool(obj2, &val3);
251106  if (!SWIG_IsOK(ecode3)) {
251107  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_AngularCompliance" "', argument " "3"" of type '" "bool""'");
251108  }
251109  arg3 = static_cast< bool >(val3);
251110  {
251111  try {
251112  (arg1)->AngularCompliance(arg2,arg3);
251113  }
251114  catch(CStdErrorInfo oError)
251115  {
251116  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251117  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
251118  PyErr_SetString(PyExc_IndexError, strError.c_str());
251119  SWIG_fail;
251120  }
251121  catch(...)
251122  {
251123  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251124  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
251125  SWIG_fail;
251126  }
251127  }
251128  resultobj = SWIG_Py_Void();
251129  return resultobj;
251130 fail:
251131  return NULL;
251132 }
251133 
251134 
251135 SWIGINTERN PyObject *_wrap_Simulator_AngularCompliance__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
251136  PyObject *resultobj = 0;
251138  float arg2 ;
251139  void *argp1 = 0 ;
251140  int res1 = 0 ;
251141  float val2 ;
251142  int ecode2 = 0 ;
251143  PyObject * obj0 = 0 ;
251144  PyObject * obj1 = 0 ;
251145 
251146  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_AngularCompliance",&obj0,&obj1)) SWIG_fail;
251147  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
251148  if (!SWIG_IsOK(res1)) {
251149  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AngularCompliance" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
251150  }
251151  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
251152  ecode2 = SWIG_AsVal_float(obj1, &val2);
251153  if (!SWIG_IsOK(ecode2)) {
251154  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_AngularCompliance" "', argument " "2"" of type '" "float""'");
251155  }
251156  arg2 = static_cast< float >(val2);
251157  {
251158  try {
251159  (arg1)->AngularCompliance(arg2);
251160  }
251161  catch(CStdErrorInfo oError)
251162  {
251163  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251164  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
251165  PyErr_SetString(PyExc_IndexError, strError.c_str());
251166  SWIG_fail;
251167  }
251168  catch(...)
251169  {
251170  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251171  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
251172  SWIG_fail;
251173  }
251174  }
251175  resultobj = SWIG_Py_Void();
251176  return resultobj;
251177 fail:
251178  return NULL;
251179 }
251180 
251181 
251182 SWIGINTERN PyObject *_wrap_Simulator_AngularCompliance(PyObject *self, PyObject *args) {
251183  int argc;
251184  PyObject *argv[4];
251185  int ii;
251186 
251187  if (!PyTuple_Check(args)) SWIG_fail;
251188  argc = args ? (int)PyObject_Length(args) : 0;
251189  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
251190  argv[ii] = PyTuple_GET_ITEM(args,ii);
251191  }
251192  if (argc == 1) {
251193  int _v;
251194  void *vptr = 0;
251195  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
251196  _v = SWIG_CheckState(res);
251197  if (_v) {
251198  return _wrap_Simulator_AngularCompliance__SWIG_0(self, args);
251199  }
251200  }
251201  if (argc == 2) {
251202  int _v;
251203  void *vptr = 0;
251204  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
251205  _v = SWIG_CheckState(res);
251206  if (_v) {
251207  {
251208  int res = SWIG_AsVal_float(argv[1], NULL);
251209  _v = SWIG_CheckState(res);
251210  }
251211  if (_v) {
251212  return _wrap_Simulator_AngularCompliance__SWIG_2(self, args);
251213  }
251214  }
251215  }
251216  if (argc == 3) {
251217  int _v;
251218  void *vptr = 0;
251219  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
251220  _v = SWIG_CheckState(res);
251221  if (_v) {
251222  {
251223  int res = SWIG_AsVal_float(argv[1], NULL);
251224  _v = SWIG_CheckState(res);
251225  }
251226  if (_v) {
251227  {
251228  int res = SWIG_AsVal_bool(argv[2], NULL);
251229  _v = SWIG_CheckState(res);
251230  }
251231  if (_v) {
251232  return _wrap_Simulator_AngularCompliance__SWIG_1(self, args);
251233  }
251234  }
251235  }
251236  }
251237 
251238 fail:
251239  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_AngularCompliance'.\n"
251240  " Possible C/C++ prototypes are:\n"
251241  " AnimatSim::Simulator::AngularCompliance()\n"
251242  " AnimatSim::Simulator::AngularCompliance(float,bool)\n"
251243  " AnimatSim::Simulator::AngularCompliance(float)\n");
251244  return 0;
251245 }
251246 
251247 
251248 SWIGINTERN PyObject *_wrap_Simulator_LinearDamping__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
251249  PyObject *resultobj = 0;
251251  void *argp1 = 0 ;
251252  int res1 = 0 ;
251253  PyObject * obj0 = 0 ;
251254  float result;
251255 
251256  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_LinearDamping",&obj0)) SWIG_fail;
251257  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
251258  if (!SWIG_IsOK(res1)) {
251259  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_LinearDamping" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
251260  }
251261  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
251262  {
251263  try {
251264  result = (float)(arg1)->LinearDamping();
251265  }
251266  catch(CStdErrorInfo oError)
251267  {
251268  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251269  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
251270  PyErr_SetString(PyExc_IndexError, strError.c_str());
251271  SWIG_fail;
251272  }
251273  catch(...)
251274  {
251275  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251276  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
251277  SWIG_fail;
251278  }
251279  }
251280  resultobj = SWIG_From_float(static_cast< float >(result));
251281  return resultobj;
251282 fail:
251283  return NULL;
251284 }
251285 
251286 
251287 SWIGINTERN PyObject *_wrap_Simulator_LinearDamping__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
251288  PyObject *resultobj = 0;
251290  float arg2 ;
251291  bool arg3 ;
251292  void *argp1 = 0 ;
251293  int res1 = 0 ;
251294  float val2 ;
251295  int ecode2 = 0 ;
251296  bool val3 ;
251297  int ecode3 = 0 ;
251298  PyObject * obj0 = 0 ;
251299  PyObject * obj1 = 0 ;
251300  PyObject * obj2 = 0 ;
251301 
251302  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_LinearDamping",&obj0,&obj1,&obj2)) SWIG_fail;
251303  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
251304  if (!SWIG_IsOK(res1)) {
251305  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_LinearDamping" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
251306  }
251307  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
251308  ecode2 = SWIG_AsVal_float(obj1, &val2);
251309  if (!SWIG_IsOK(ecode2)) {
251310  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_LinearDamping" "', argument " "2"" of type '" "float""'");
251311  }
251312  arg2 = static_cast< float >(val2);
251313  ecode3 = SWIG_AsVal_bool(obj2, &val3);
251314  if (!SWIG_IsOK(ecode3)) {
251315  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_LinearDamping" "', argument " "3"" of type '" "bool""'");
251316  }
251317  arg3 = static_cast< bool >(val3);
251318  {
251319  try {
251320  (arg1)->LinearDamping(arg2,arg3);
251321  }
251322  catch(CStdErrorInfo oError)
251323  {
251324  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251325  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
251326  PyErr_SetString(PyExc_IndexError, strError.c_str());
251327  SWIG_fail;
251328  }
251329  catch(...)
251330  {
251331  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251332  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
251333  SWIG_fail;
251334  }
251335  }
251336  resultobj = SWIG_Py_Void();
251337  return resultobj;
251338 fail:
251339  return NULL;
251340 }
251341 
251342 
251343 SWIGINTERN PyObject *_wrap_Simulator_LinearDamping__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
251344  PyObject *resultobj = 0;
251346  float arg2 ;
251347  void *argp1 = 0 ;
251348  int res1 = 0 ;
251349  float val2 ;
251350  int ecode2 = 0 ;
251351  PyObject * obj0 = 0 ;
251352  PyObject * obj1 = 0 ;
251353 
251354  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_LinearDamping",&obj0,&obj1)) SWIG_fail;
251355  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
251356  if (!SWIG_IsOK(res1)) {
251357  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_LinearDamping" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
251358  }
251359  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
251360  ecode2 = SWIG_AsVal_float(obj1, &val2);
251361  if (!SWIG_IsOK(ecode2)) {
251362  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_LinearDamping" "', argument " "2"" of type '" "float""'");
251363  }
251364  arg2 = static_cast< float >(val2);
251365  {
251366  try {
251367  (arg1)->LinearDamping(arg2);
251368  }
251369  catch(CStdErrorInfo oError)
251370  {
251371  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251372  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
251373  PyErr_SetString(PyExc_IndexError, strError.c_str());
251374  SWIG_fail;
251375  }
251376  catch(...)
251377  {
251378  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251379  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
251380  SWIG_fail;
251381  }
251382  }
251383  resultobj = SWIG_Py_Void();
251384  return resultobj;
251385 fail:
251386  return NULL;
251387 }
251388 
251389 
251390 SWIGINTERN PyObject *_wrap_Simulator_LinearDamping(PyObject *self, PyObject *args) {
251391  int argc;
251392  PyObject *argv[4];
251393  int ii;
251394 
251395  if (!PyTuple_Check(args)) SWIG_fail;
251396  argc = args ? (int)PyObject_Length(args) : 0;
251397  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
251398  argv[ii] = PyTuple_GET_ITEM(args,ii);
251399  }
251400  if (argc == 1) {
251401  int _v;
251402  void *vptr = 0;
251403  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
251404  _v = SWIG_CheckState(res);
251405  if (_v) {
251406  return _wrap_Simulator_LinearDamping__SWIG_0(self, args);
251407  }
251408  }
251409  if (argc == 2) {
251410  int _v;
251411  void *vptr = 0;
251412  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
251413  _v = SWIG_CheckState(res);
251414  if (_v) {
251415  {
251416  int res = SWIG_AsVal_float(argv[1], NULL);
251417  _v = SWIG_CheckState(res);
251418  }
251419  if (_v) {
251420  return _wrap_Simulator_LinearDamping__SWIG_2(self, args);
251421  }
251422  }
251423  }
251424  if (argc == 3) {
251425  int _v;
251426  void *vptr = 0;
251427  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
251428  _v = SWIG_CheckState(res);
251429  if (_v) {
251430  {
251431  int res = SWIG_AsVal_float(argv[1], NULL);
251432  _v = SWIG_CheckState(res);
251433  }
251434  if (_v) {
251435  {
251436  int res = SWIG_AsVal_bool(argv[2], NULL);
251437  _v = SWIG_CheckState(res);
251438  }
251439  if (_v) {
251440  return _wrap_Simulator_LinearDamping__SWIG_1(self, args);
251441  }
251442  }
251443  }
251444  }
251445 
251446 fail:
251447  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_LinearDamping'.\n"
251448  " Possible C/C++ prototypes are:\n"
251449  " AnimatSim::Simulator::LinearDamping()\n"
251450  " AnimatSim::Simulator::LinearDamping(float,bool)\n"
251451  " AnimatSim::Simulator::LinearDamping(float)\n");
251452  return 0;
251453 }
251454 
251455 
251456 SWIGINTERN PyObject *_wrap_Simulator_AngularDamping__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
251457  PyObject *resultobj = 0;
251459  void *argp1 = 0 ;
251460  int res1 = 0 ;
251461  PyObject * obj0 = 0 ;
251462  float result;
251463 
251464  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_AngularDamping",&obj0)) SWIG_fail;
251465  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
251466  if (!SWIG_IsOK(res1)) {
251467  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AngularDamping" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
251468  }
251469  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
251470  {
251471  try {
251472  result = (float)(arg1)->AngularDamping();
251473  }
251474  catch(CStdErrorInfo oError)
251475  {
251476  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251477  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
251478  PyErr_SetString(PyExc_IndexError, strError.c_str());
251479  SWIG_fail;
251480  }
251481  catch(...)
251482  {
251483  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251484  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
251485  SWIG_fail;
251486  }
251487  }
251488  resultobj = SWIG_From_float(static_cast< float >(result));
251489  return resultobj;
251490 fail:
251491  return NULL;
251492 }
251493 
251494 
251495 SWIGINTERN PyObject *_wrap_Simulator_AngularDamping__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
251496  PyObject *resultobj = 0;
251498  float arg2 ;
251499  bool arg3 ;
251500  void *argp1 = 0 ;
251501  int res1 = 0 ;
251502  float val2 ;
251503  int ecode2 = 0 ;
251504  bool val3 ;
251505  int ecode3 = 0 ;
251506  PyObject * obj0 = 0 ;
251507  PyObject * obj1 = 0 ;
251508  PyObject * obj2 = 0 ;
251509 
251510  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_AngularDamping",&obj0,&obj1,&obj2)) SWIG_fail;
251511  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
251512  if (!SWIG_IsOK(res1)) {
251513  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AngularDamping" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
251514  }
251515  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
251516  ecode2 = SWIG_AsVal_float(obj1, &val2);
251517  if (!SWIG_IsOK(ecode2)) {
251518  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_AngularDamping" "', argument " "2"" of type '" "float""'");
251519  }
251520  arg2 = static_cast< float >(val2);
251521  ecode3 = SWIG_AsVal_bool(obj2, &val3);
251522  if (!SWIG_IsOK(ecode3)) {
251523  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_AngularDamping" "', argument " "3"" of type '" "bool""'");
251524  }
251525  arg3 = static_cast< bool >(val3);
251526  {
251527  try {
251528  (arg1)->AngularDamping(arg2,arg3);
251529  }
251530  catch(CStdErrorInfo oError)
251531  {
251532  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251533  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
251534  PyErr_SetString(PyExc_IndexError, strError.c_str());
251535  SWIG_fail;
251536  }
251537  catch(...)
251538  {
251539  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251540  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
251541  SWIG_fail;
251542  }
251543  }
251544  resultobj = SWIG_Py_Void();
251545  return resultobj;
251546 fail:
251547  return NULL;
251548 }
251549 
251550 
251551 SWIGINTERN PyObject *_wrap_Simulator_AngularDamping__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
251552  PyObject *resultobj = 0;
251554  float arg2 ;
251555  void *argp1 = 0 ;
251556  int res1 = 0 ;
251557  float val2 ;
251558  int ecode2 = 0 ;
251559  PyObject * obj0 = 0 ;
251560  PyObject * obj1 = 0 ;
251561 
251562  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_AngularDamping",&obj0,&obj1)) SWIG_fail;
251563  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
251564  if (!SWIG_IsOK(res1)) {
251565  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AngularDamping" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
251566  }
251567  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
251568  ecode2 = SWIG_AsVal_float(obj1, &val2);
251569  if (!SWIG_IsOK(ecode2)) {
251570  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_AngularDamping" "', argument " "2"" of type '" "float""'");
251571  }
251572  arg2 = static_cast< float >(val2);
251573  {
251574  try {
251575  (arg1)->AngularDamping(arg2);
251576  }
251577  catch(CStdErrorInfo oError)
251578  {
251579  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251580  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
251581  PyErr_SetString(PyExc_IndexError, strError.c_str());
251582  SWIG_fail;
251583  }
251584  catch(...)
251585  {
251586  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251587  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
251588  SWIG_fail;
251589  }
251590  }
251591  resultobj = SWIG_Py_Void();
251592  return resultobj;
251593 fail:
251594  return NULL;
251595 }
251596 
251597 
251598 SWIGINTERN PyObject *_wrap_Simulator_AngularDamping(PyObject *self, PyObject *args) {
251599  int argc;
251600  PyObject *argv[4];
251601  int ii;
251602 
251603  if (!PyTuple_Check(args)) SWIG_fail;
251604  argc = args ? (int)PyObject_Length(args) : 0;
251605  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
251606  argv[ii] = PyTuple_GET_ITEM(args,ii);
251607  }
251608  if (argc == 1) {
251609  int _v;
251610  void *vptr = 0;
251611  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
251612  _v = SWIG_CheckState(res);
251613  if (_v) {
251614  return _wrap_Simulator_AngularDamping__SWIG_0(self, args);
251615  }
251616  }
251617  if (argc == 2) {
251618  int _v;
251619  void *vptr = 0;
251620  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
251621  _v = SWIG_CheckState(res);
251622  if (_v) {
251623  {
251624  int res = SWIG_AsVal_float(argv[1], NULL);
251625  _v = SWIG_CheckState(res);
251626  }
251627  if (_v) {
251628  return _wrap_Simulator_AngularDamping__SWIG_2(self, args);
251629  }
251630  }
251631  }
251632  if (argc == 3) {
251633  int _v;
251634  void *vptr = 0;
251635  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
251636  _v = SWIG_CheckState(res);
251637  if (_v) {
251638  {
251639  int res = SWIG_AsVal_float(argv[1], NULL);
251640  _v = SWIG_CheckState(res);
251641  }
251642  if (_v) {
251643  {
251644  int res = SWIG_AsVal_bool(argv[2], NULL);
251645  _v = SWIG_CheckState(res);
251646  }
251647  if (_v) {
251648  return _wrap_Simulator_AngularDamping__SWIG_1(self, args);
251649  }
251650  }
251651  }
251652  }
251653 
251654 fail:
251655  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_AngularDamping'.\n"
251656  " Possible C/C++ prototypes are:\n"
251657  " AnimatSim::Simulator::AngularDamping()\n"
251658  " AnimatSim::Simulator::AngularDamping(float,bool)\n"
251659  " AnimatSim::Simulator::AngularDamping(float)\n");
251660  return 0;
251661 }
251662 
251663 
251664 SWIGINTERN PyObject *_wrap_Simulator_LinearKineticLoss__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
251665  PyObject *resultobj = 0;
251667  void *argp1 = 0 ;
251668  int res1 = 0 ;
251669  PyObject * obj0 = 0 ;
251670  float result;
251671 
251672  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_LinearKineticLoss",&obj0)) SWIG_fail;
251673  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
251674  if (!SWIG_IsOK(res1)) {
251675  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_LinearKineticLoss" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
251676  }
251677  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
251678  {
251679  try {
251680  result = (float)(arg1)->LinearKineticLoss();
251681  }
251682  catch(CStdErrorInfo oError)
251683  {
251684  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251685  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
251686  PyErr_SetString(PyExc_IndexError, strError.c_str());
251687  SWIG_fail;
251688  }
251689  catch(...)
251690  {
251691  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251692  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
251693  SWIG_fail;
251694  }
251695  }
251696  resultobj = SWIG_From_float(static_cast< float >(result));
251697  return resultobj;
251698 fail:
251699  return NULL;
251700 }
251701 
251702 
251703 SWIGINTERN PyObject *_wrap_Simulator_LinearKineticLoss__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
251704  PyObject *resultobj = 0;
251706  float arg2 ;
251707  bool arg3 ;
251708  void *argp1 = 0 ;
251709  int res1 = 0 ;
251710  float val2 ;
251711  int ecode2 = 0 ;
251712  bool val3 ;
251713  int ecode3 = 0 ;
251714  PyObject * obj0 = 0 ;
251715  PyObject * obj1 = 0 ;
251716  PyObject * obj2 = 0 ;
251717 
251718  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_LinearKineticLoss",&obj0,&obj1,&obj2)) SWIG_fail;
251719  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
251720  if (!SWIG_IsOK(res1)) {
251721  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_LinearKineticLoss" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
251722  }
251723  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
251724  ecode2 = SWIG_AsVal_float(obj1, &val2);
251725  if (!SWIG_IsOK(ecode2)) {
251726  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_LinearKineticLoss" "', argument " "2"" of type '" "float""'");
251727  }
251728  arg2 = static_cast< float >(val2);
251729  ecode3 = SWIG_AsVal_bool(obj2, &val3);
251730  if (!SWIG_IsOK(ecode3)) {
251731  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_LinearKineticLoss" "', argument " "3"" of type '" "bool""'");
251732  }
251733  arg3 = static_cast< bool >(val3);
251734  {
251735  try {
251736  (arg1)->LinearKineticLoss(arg2,arg3);
251737  }
251738  catch(CStdErrorInfo oError)
251739  {
251740  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251741  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
251742  PyErr_SetString(PyExc_IndexError, strError.c_str());
251743  SWIG_fail;
251744  }
251745  catch(...)
251746  {
251747  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251748  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
251749  SWIG_fail;
251750  }
251751  }
251752  resultobj = SWIG_Py_Void();
251753  return resultobj;
251754 fail:
251755  return NULL;
251756 }
251757 
251758 
251759 SWIGINTERN PyObject *_wrap_Simulator_LinearKineticLoss__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
251760  PyObject *resultobj = 0;
251762  float arg2 ;
251763  void *argp1 = 0 ;
251764  int res1 = 0 ;
251765  float val2 ;
251766  int ecode2 = 0 ;
251767  PyObject * obj0 = 0 ;
251768  PyObject * obj1 = 0 ;
251769 
251770  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_LinearKineticLoss",&obj0,&obj1)) SWIG_fail;
251771  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
251772  if (!SWIG_IsOK(res1)) {
251773  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_LinearKineticLoss" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
251774  }
251775  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
251776  ecode2 = SWIG_AsVal_float(obj1, &val2);
251777  if (!SWIG_IsOK(ecode2)) {
251778  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_LinearKineticLoss" "', argument " "2"" of type '" "float""'");
251779  }
251780  arg2 = static_cast< float >(val2);
251781  {
251782  try {
251783  (arg1)->LinearKineticLoss(arg2);
251784  }
251785  catch(CStdErrorInfo oError)
251786  {
251787  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251788  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
251789  PyErr_SetString(PyExc_IndexError, strError.c_str());
251790  SWIG_fail;
251791  }
251792  catch(...)
251793  {
251794  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251795  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
251796  SWIG_fail;
251797  }
251798  }
251799  resultobj = SWIG_Py_Void();
251800  return resultobj;
251801 fail:
251802  return NULL;
251803 }
251804 
251805 
251806 SWIGINTERN PyObject *_wrap_Simulator_LinearKineticLoss(PyObject *self, PyObject *args) {
251807  int argc;
251808  PyObject *argv[4];
251809  int ii;
251810 
251811  if (!PyTuple_Check(args)) SWIG_fail;
251812  argc = args ? (int)PyObject_Length(args) : 0;
251813  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
251814  argv[ii] = PyTuple_GET_ITEM(args,ii);
251815  }
251816  if (argc == 1) {
251817  int _v;
251818  void *vptr = 0;
251819  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
251820  _v = SWIG_CheckState(res);
251821  if (_v) {
251822  return _wrap_Simulator_LinearKineticLoss__SWIG_0(self, args);
251823  }
251824  }
251825  if (argc == 2) {
251826  int _v;
251827  void *vptr = 0;
251828  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
251829  _v = SWIG_CheckState(res);
251830  if (_v) {
251831  {
251832  int res = SWIG_AsVal_float(argv[1], NULL);
251833  _v = SWIG_CheckState(res);
251834  }
251835  if (_v) {
251836  return _wrap_Simulator_LinearKineticLoss__SWIG_2(self, args);
251837  }
251838  }
251839  }
251840  if (argc == 3) {
251841  int _v;
251842  void *vptr = 0;
251843  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
251844  _v = SWIG_CheckState(res);
251845  if (_v) {
251846  {
251847  int res = SWIG_AsVal_float(argv[1], NULL);
251848  _v = SWIG_CheckState(res);
251849  }
251850  if (_v) {
251851  {
251852  int res = SWIG_AsVal_bool(argv[2], NULL);
251853  _v = SWIG_CheckState(res);
251854  }
251855  if (_v) {
251856  return _wrap_Simulator_LinearKineticLoss__SWIG_1(self, args);
251857  }
251858  }
251859  }
251860  }
251861 
251862 fail:
251863  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_LinearKineticLoss'.\n"
251864  " Possible C/C++ prototypes are:\n"
251865  " AnimatSim::Simulator::LinearKineticLoss()\n"
251866  " AnimatSim::Simulator::LinearKineticLoss(float,bool)\n"
251867  " AnimatSim::Simulator::LinearKineticLoss(float)\n");
251868  return 0;
251869 }
251870 
251871 
251872 SWIGINTERN PyObject *_wrap_Simulator_AngularKineticLoss__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
251873  PyObject *resultobj = 0;
251875  void *argp1 = 0 ;
251876  int res1 = 0 ;
251877  PyObject * obj0 = 0 ;
251878  float result;
251879 
251880  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_AngularKineticLoss",&obj0)) SWIG_fail;
251881  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
251882  if (!SWIG_IsOK(res1)) {
251883  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AngularKineticLoss" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
251884  }
251885  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
251886  {
251887  try {
251888  result = (float)(arg1)->AngularKineticLoss();
251889  }
251890  catch(CStdErrorInfo oError)
251891  {
251892  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251893  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
251894  PyErr_SetString(PyExc_IndexError, strError.c_str());
251895  SWIG_fail;
251896  }
251897  catch(...)
251898  {
251899  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251900  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
251901  SWIG_fail;
251902  }
251903  }
251904  resultobj = SWIG_From_float(static_cast< float >(result));
251905  return resultobj;
251906 fail:
251907  return NULL;
251908 }
251909 
251910 
251911 SWIGINTERN PyObject *_wrap_Simulator_AngularKineticLoss__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
251912  PyObject *resultobj = 0;
251914  float arg2 ;
251915  bool arg3 ;
251916  void *argp1 = 0 ;
251917  int res1 = 0 ;
251918  float val2 ;
251919  int ecode2 = 0 ;
251920  bool val3 ;
251921  int ecode3 = 0 ;
251922  PyObject * obj0 = 0 ;
251923  PyObject * obj1 = 0 ;
251924  PyObject * obj2 = 0 ;
251925 
251926  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_AngularKineticLoss",&obj0,&obj1,&obj2)) SWIG_fail;
251927  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
251928  if (!SWIG_IsOK(res1)) {
251929  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AngularKineticLoss" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
251930  }
251931  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
251932  ecode2 = SWIG_AsVal_float(obj1, &val2);
251933  if (!SWIG_IsOK(ecode2)) {
251934  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_AngularKineticLoss" "', argument " "2"" of type '" "float""'");
251935  }
251936  arg2 = static_cast< float >(val2);
251937  ecode3 = SWIG_AsVal_bool(obj2, &val3);
251938  if (!SWIG_IsOK(ecode3)) {
251939  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_AngularKineticLoss" "', argument " "3"" of type '" "bool""'");
251940  }
251941  arg3 = static_cast< bool >(val3);
251942  {
251943  try {
251944  (arg1)->AngularKineticLoss(arg2,arg3);
251945  }
251946  catch(CStdErrorInfo oError)
251947  {
251948  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251949  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
251950  PyErr_SetString(PyExc_IndexError, strError.c_str());
251951  SWIG_fail;
251952  }
251953  catch(...)
251954  {
251955  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251956  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
251957  SWIG_fail;
251958  }
251959  }
251960  resultobj = SWIG_Py_Void();
251961  return resultobj;
251962 fail:
251963  return NULL;
251964 }
251965 
251966 
251967 SWIGINTERN PyObject *_wrap_Simulator_AngularKineticLoss__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
251968  PyObject *resultobj = 0;
251970  float arg2 ;
251971  void *argp1 = 0 ;
251972  int res1 = 0 ;
251973  float val2 ;
251974  int ecode2 = 0 ;
251975  PyObject * obj0 = 0 ;
251976  PyObject * obj1 = 0 ;
251977 
251978  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_AngularKineticLoss",&obj0,&obj1)) SWIG_fail;
251979  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
251980  if (!SWIG_IsOK(res1)) {
251981  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AngularKineticLoss" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
251982  }
251983  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
251984  ecode2 = SWIG_AsVal_float(obj1, &val2);
251985  if (!SWIG_IsOK(ecode2)) {
251986  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_AngularKineticLoss" "', argument " "2"" of type '" "float""'");
251987  }
251988  arg2 = static_cast< float >(val2);
251989  {
251990  try {
251991  (arg1)->AngularKineticLoss(arg2);
251992  }
251993  catch(CStdErrorInfo oError)
251994  {
251995  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
251996  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
251997  PyErr_SetString(PyExc_IndexError, strError.c_str());
251998  SWIG_fail;
251999  }
252000  catch(...)
252001  {
252002  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252003  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252004  SWIG_fail;
252005  }
252006  }
252007  resultobj = SWIG_Py_Void();
252008  return resultobj;
252009 fail:
252010  return NULL;
252011 }
252012 
252013 
252014 SWIGINTERN PyObject *_wrap_Simulator_AngularKineticLoss(PyObject *self, PyObject *args) {
252015  int argc;
252016  PyObject *argv[4];
252017  int ii;
252018 
252019  if (!PyTuple_Check(args)) SWIG_fail;
252020  argc = args ? (int)PyObject_Length(args) : 0;
252021  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
252022  argv[ii] = PyTuple_GET_ITEM(args,ii);
252023  }
252024  if (argc == 1) {
252025  int _v;
252026  void *vptr = 0;
252027  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
252028  _v = SWIG_CheckState(res);
252029  if (_v) {
252030  return _wrap_Simulator_AngularKineticLoss__SWIG_0(self, args);
252031  }
252032  }
252033  if (argc == 2) {
252034  int _v;
252035  void *vptr = 0;
252036  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
252037  _v = SWIG_CheckState(res);
252038  if (_v) {
252039  {
252040  int res = SWIG_AsVal_float(argv[1], NULL);
252041  _v = SWIG_CheckState(res);
252042  }
252043  if (_v) {
252044  return _wrap_Simulator_AngularKineticLoss__SWIG_2(self, args);
252045  }
252046  }
252047  }
252048  if (argc == 3) {
252049  int _v;
252050  void *vptr = 0;
252051  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
252052  _v = SWIG_CheckState(res);
252053  if (_v) {
252054  {
252055  int res = SWIG_AsVal_float(argv[1], NULL);
252056  _v = SWIG_CheckState(res);
252057  }
252058  if (_v) {
252059  {
252060  int res = SWIG_AsVal_bool(argv[2], NULL);
252061  _v = SWIG_CheckState(res);
252062  }
252063  if (_v) {
252064  return _wrap_Simulator_AngularKineticLoss__SWIG_1(self, args);
252065  }
252066  }
252067  }
252068  }
252069 
252070 fail:
252071  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_AngularKineticLoss'.\n"
252072  " Possible C/C++ prototypes are:\n"
252073  " AnimatSim::Simulator::AngularKineticLoss()\n"
252074  " AnimatSim::Simulator::AngularKineticLoss(float,bool)\n"
252075  " AnimatSim::Simulator::AngularKineticLoss(float)\n");
252076  return 0;
252077 }
252078 
252079 
252080 SWIGINTERN PyObject *_wrap_Simulator_Stopped(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
252081  PyObject *resultobj = 0;
252083  void *argp1 = 0 ;
252084  int res1 = 0 ;
252085  PyObject * obj0 = 0 ;
252086  bool result;
252087 
252088  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_Stopped",&obj0)) SWIG_fail;
252089  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
252090  if (!SWIG_IsOK(res1)) {
252091  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Stopped" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
252092  }
252093  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
252094  {
252095  try {
252096  result = (bool)(arg1)->Stopped();
252097  }
252098  catch(CStdErrorInfo oError)
252099  {
252100  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252101  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
252102  PyErr_SetString(PyExc_IndexError, strError.c_str());
252103  SWIG_fail;
252104  }
252105  catch(...)
252106  {
252107  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252108  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252109  SWIG_fail;
252110  }
252111  }
252112  resultobj = SWIG_From_bool(static_cast< bool >(result));
252113  return resultobj;
252114 fail:
252115  return NULL;
252116 }
252117 
252118 
252119 SWIGINTERN PyObject *_wrap_Simulator_PhysicsStepInterval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
252120  PyObject *resultobj = 0;
252122  void *argp1 = 0 ;
252123  int res1 = 0 ;
252124  PyObject * obj0 = 0 ;
252125  short result;
252126 
252127  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_PhysicsStepInterval",&obj0)) SWIG_fail;
252128  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
252129  if (!SWIG_IsOK(res1)) {
252130  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_PhysicsStepInterval" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
252131  }
252132  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
252133  {
252134  try {
252135  result = (short)(arg1)->PhysicsStepInterval();
252136  }
252137  catch(CStdErrorInfo oError)
252138  {
252139  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252140  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
252141  PyErr_SetString(PyExc_IndexError, strError.c_str());
252142  SWIG_fail;
252143  }
252144  catch(...)
252145  {
252146  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252147  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252148  SWIG_fail;
252149  }
252150  }
252151  resultobj = SWIG_From_short(static_cast< short >(result));
252152  return resultobj;
252153 fail:
252154  return NULL;
252155 }
252156 
252157 
252158 SWIGINTERN PyObject *_wrap_Simulator_PhysicsStepInterval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
252159  PyObject *resultobj = 0;
252161  short arg2 ;
252162  void *argp1 = 0 ;
252163  int res1 = 0 ;
252164  short val2 ;
252165  int ecode2 = 0 ;
252166  PyObject * obj0 = 0 ;
252167  PyObject * obj1 = 0 ;
252168 
252169  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_PhysicsStepInterval",&obj0,&obj1)) SWIG_fail;
252170  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
252171  if (!SWIG_IsOK(res1)) {
252172  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_PhysicsStepInterval" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
252173  }
252174  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
252175  ecode2 = SWIG_AsVal_short(obj1, &val2);
252176  if (!SWIG_IsOK(ecode2)) {
252177  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_PhysicsStepInterval" "', argument " "2"" of type '" "short""'");
252178  }
252179  arg2 = static_cast< short >(val2);
252180  {
252181  try {
252182  (arg1)->PhysicsStepInterval(arg2);
252183  }
252184  catch(CStdErrorInfo oError)
252185  {
252186  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252187  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
252188  PyErr_SetString(PyExc_IndexError, strError.c_str());
252189  SWIG_fail;
252190  }
252191  catch(...)
252192  {
252193  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252194  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252195  SWIG_fail;
252196  }
252197  }
252198  resultobj = SWIG_Py_Void();
252199  return resultobj;
252200 fail:
252201  return NULL;
252202 }
252203 
252204 
252205 SWIGINTERN PyObject *_wrap_Simulator_PhysicsStepInterval(PyObject *self, PyObject *args) {
252206  int argc;
252207  PyObject *argv[3];
252208  int ii;
252209 
252210  if (!PyTuple_Check(args)) SWIG_fail;
252211  argc = args ? (int)PyObject_Length(args) : 0;
252212  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
252213  argv[ii] = PyTuple_GET_ITEM(args,ii);
252214  }
252215  if (argc == 1) {
252216  int _v;
252217  void *vptr = 0;
252218  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
252219  _v = SWIG_CheckState(res);
252220  if (_v) {
252221  return _wrap_Simulator_PhysicsStepInterval__SWIG_0(self, args);
252222  }
252223  }
252224  if (argc == 2) {
252225  int _v;
252226  void *vptr = 0;
252227  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
252228  _v = SWIG_CheckState(res);
252229  if (_v) {
252230  {
252231  int res = SWIG_AsVal_short(argv[1], NULL);
252232  _v = SWIG_CheckState(res);
252233  }
252234  if (_v) {
252235  return _wrap_Simulator_PhysicsStepInterval__SWIG_1(self, args);
252236  }
252237  }
252238  }
252239 
252240 fail:
252241  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_PhysicsStepInterval'.\n"
252242  " Possible C/C++ prototypes are:\n"
252243  " AnimatSim::Simulator::PhysicsStepInterval()\n"
252244  " AnimatSim::Simulator::PhysicsStepInterval(short)\n");
252245  return 0;
252246 }
252247 
252248 
252249 SWIGINTERN PyObject *_wrap_Simulator_PhysicsTimeStep__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
252250  PyObject *resultobj = 0;
252252  float arg2 ;
252253  void *argp1 = 0 ;
252254  int res1 = 0 ;
252255  float val2 ;
252256  int ecode2 = 0 ;
252257  PyObject * obj0 = 0 ;
252258  PyObject * obj1 = 0 ;
252259 
252260  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_PhysicsTimeStep",&obj0,&obj1)) SWIG_fail;
252261  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
252262  if (!SWIG_IsOK(res1)) {
252263  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_PhysicsTimeStep" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
252264  }
252265  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
252266  ecode2 = SWIG_AsVal_float(obj1, &val2);
252267  if (!SWIG_IsOK(ecode2)) {
252268  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_PhysicsTimeStep" "', argument " "2"" of type '" "float""'");
252269  }
252270  arg2 = static_cast< float >(val2);
252271  {
252272  try {
252273  (arg1)->PhysicsTimeStep(arg2);
252274  }
252275  catch(CStdErrorInfo oError)
252276  {
252277  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252278  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
252279  PyErr_SetString(PyExc_IndexError, strError.c_str());
252280  SWIG_fail;
252281  }
252282  catch(...)
252283  {
252284  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252285  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252286  SWIG_fail;
252287  }
252288  }
252289  resultobj = SWIG_Py_Void();
252290  return resultobj;
252291 fail:
252292  return NULL;
252293 }
252294 
252295 
252296 SWIGINTERN PyObject *_wrap_Simulator_PhysicsTimeStep__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
252297  PyObject *resultobj = 0;
252299  void *argp1 = 0 ;
252300  int res1 = 0 ;
252301  PyObject * obj0 = 0 ;
252302  float result;
252303 
252304  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_PhysicsTimeStep",&obj0)) SWIG_fail;
252305  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
252306  if (!SWIG_IsOK(res1)) {
252307  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_PhysicsTimeStep" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
252308  }
252309  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
252310  {
252311  try {
252312  result = (float)(arg1)->PhysicsTimeStep();
252313  }
252314  catch(CStdErrorInfo oError)
252315  {
252316  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252317  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
252318  PyErr_SetString(PyExc_IndexError, strError.c_str());
252319  SWIG_fail;
252320  }
252321  catch(...)
252322  {
252323  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252324  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252325  SWIG_fail;
252326  }
252327  }
252328  resultobj = SWIG_From_float(static_cast< float >(result));
252329  return resultobj;
252330 fail:
252331  return NULL;
252332 }
252333 
252334 
252335 SWIGINTERN PyObject *_wrap_Simulator_PhysicsTimeStep(PyObject *self, PyObject *args) {
252336  int argc;
252337  PyObject *argv[3];
252338  int ii;
252339 
252340  if (!PyTuple_Check(args)) SWIG_fail;
252341  argc = args ? (int)PyObject_Length(args) : 0;
252342  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
252343  argv[ii] = PyTuple_GET_ITEM(args,ii);
252344  }
252345  if (argc == 1) {
252346  int _v;
252347  void *vptr = 0;
252348  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
252349  _v = SWIG_CheckState(res);
252350  if (_v) {
252351  return _wrap_Simulator_PhysicsTimeStep__SWIG_1(self, args);
252352  }
252353  }
252354  if (argc == 2) {
252355  int _v;
252356  void *vptr = 0;
252357  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
252358  _v = SWIG_CheckState(res);
252359  if (_v) {
252360  {
252361  int res = SWIG_AsVal_float(argv[1], NULL);
252362  _v = SWIG_CheckState(res);
252363  }
252364  if (_v) {
252365  return _wrap_Simulator_PhysicsTimeStep__SWIG_0(self, args);
252366  }
252367  }
252368  }
252369 
252370 fail:
252371  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_PhysicsTimeStep'.\n"
252372  " Possible C/C++ prototypes are:\n"
252373  " AnimatSim::Simulator::PhysicsTimeStep(float)\n"
252374  " AnimatSim::Simulator::PhysicsTimeStep()\n");
252375  return 0;
252376 }
252377 
252378 
252379 SWIGINTERN PyObject *_wrap_Simulator_PhysicsStepCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
252380  PyObject *resultobj = 0;
252382  void *argp1 = 0 ;
252383  int res1 = 0 ;
252384  PyObject * obj0 = 0 ;
252385  long result;
252386 
252387  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_PhysicsStepCount",&obj0)) SWIG_fail;
252388  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
252389  if (!SWIG_IsOK(res1)) {
252390  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_PhysicsStepCount" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
252391  }
252392  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
252393  {
252394  try {
252395  result = (long)(arg1)->PhysicsStepCount();
252396  }
252397  catch(CStdErrorInfo oError)
252398  {
252399  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252400  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
252401  PyErr_SetString(PyExc_IndexError, strError.c_str());
252402  SWIG_fail;
252403  }
252404  catch(...)
252405  {
252406  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252407  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252408  SWIG_fail;
252409  }
252410  }
252411  resultobj = SWIG_From_long(static_cast< long >(result));
252412  return resultobj;
252413 fail:
252414  return NULL;
252415 }
252416 
252417 
252418 SWIGINTERN PyObject *_wrap_Simulator_PhysicsSubsteps__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
252419  PyObject *resultobj = 0;
252421  int arg2 ;
252422  void *argp1 = 0 ;
252423  int res1 = 0 ;
252424  int val2 ;
252425  int ecode2 = 0 ;
252426  PyObject * obj0 = 0 ;
252427  PyObject * obj1 = 0 ;
252428 
252429  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_PhysicsSubsteps",&obj0,&obj1)) SWIG_fail;
252430  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
252431  if (!SWIG_IsOK(res1)) {
252432  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_PhysicsSubsteps" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
252433  }
252434  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
252435  ecode2 = SWIG_AsVal_int(obj1, &val2);
252436  if (!SWIG_IsOK(ecode2)) {
252437  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_PhysicsSubsteps" "', argument " "2"" of type '" "int""'");
252438  }
252439  arg2 = static_cast< int >(val2);
252440  {
252441  try {
252442  (arg1)->PhysicsSubsteps(arg2);
252443  }
252444  catch(CStdErrorInfo oError)
252445  {
252446  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252447  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
252448  PyErr_SetString(PyExc_IndexError, strError.c_str());
252449  SWIG_fail;
252450  }
252451  catch(...)
252452  {
252453  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252454  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252455  SWIG_fail;
252456  }
252457  }
252458  resultobj = SWIG_Py_Void();
252459  return resultobj;
252460 fail:
252461  return NULL;
252462 }
252463 
252464 
252465 SWIGINTERN PyObject *_wrap_Simulator_PhysicsSubsteps__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
252466  PyObject *resultobj = 0;
252468  void *argp1 = 0 ;
252469  int res1 = 0 ;
252470  PyObject * obj0 = 0 ;
252471  int result;
252472 
252473  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_PhysicsSubsteps",&obj0)) SWIG_fail;
252474  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
252475  if (!SWIG_IsOK(res1)) {
252476  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_PhysicsSubsteps" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
252477  }
252478  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
252479  {
252480  try {
252481  result = (int)(arg1)->PhysicsSubsteps();
252482  }
252483  catch(CStdErrorInfo oError)
252484  {
252485  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252486  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
252487  PyErr_SetString(PyExc_IndexError, strError.c_str());
252488  SWIG_fail;
252489  }
252490  catch(...)
252491  {
252492  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252493  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252494  SWIG_fail;
252495  }
252496  }
252497  resultobj = SWIG_From_int(static_cast< int >(result));
252498  return resultobj;
252499 fail:
252500  return NULL;
252501 }
252502 
252503 
252504 SWIGINTERN PyObject *_wrap_Simulator_PhysicsSubsteps(PyObject *self, PyObject *args) {
252505  int argc;
252506  PyObject *argv[3];
252507  int ii;
252508 
252509  if (!PyTuple_Check(args)) SWIG_fail;
252510  argc = args ? (int)PyObject_Length(args) : 0;
252511  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
252512  argv[ii] = PyTuple_GET_ITEM(args,ii);
252513  }
252514  if (argc == 1) {
252515  int _v;
252516  void *vptr = 0;
252517  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
252518  _v = SWIG_CheckState(res);
252519  if (_v) {
252520  return _wrap_Simulator_PhysicsSubsteps__SWIG_1(self, args);
252521  }
252522  }
252523  if (argc == 2) {
252524  int _v;
252525  void *vptr = 0;
252526  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
252527  _v = SWIG_CheckState(res);
252528  if (_v) {
252529  {
252530  int res = SWIG_AsVal_int(argv[1], NULL);
252531  _v = SWIG_CheckState(res);
252532  }
252533  if (_v) {
252534  return _wrap_Simulator_PhysicsSubsteps__SWIG_0(self, args);
252535  }
252536  }
252537  }
252538 
252539 fail:
252540  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_PhysicsSubsteps'.\n"
252541  " Possible C/C++ prototypes are:\n"
252542  " AnimatSim::Simulator::PhysicsSubsteps(int)\n"
252543  " AnimatSim::Simulator::PhysicsSubsteps()\n");
252544  return 0;
252545 }
252546 
252547 
252548 SWIGINTERN PyObject *_wrap_Simulator_PhysicsSubstepTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
252549  PyObject *resultobj = 0;
252551  void *argp1 = 0 ;
252552  int res1 = 0 ;
252553  PyObject * obj0 = 0 ;
252554  float result;
252555 
252556  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_PhysicsSubstepTime",&obj0)) SWIG_fail;
252557  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
252558  if (!SWIG_IsOK(res1)) {
252559  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_PhysicsSubstepTime" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
252560  }
252561  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
252562  {
252563  try {
252564  result = (float)(arg1)->PhysicsSubstepTime();
252565  }
252566  catch(CStdErrorInfo oError)
252567  {
252568  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252569  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
252570  PyErr_SetString(PyExc_IndexError, strError.c_str());
252571  SWIG_fail;
252572  }
252573  catch(...)
252574  {
252575  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252576  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252577  SWIG_fail;
252578  }
252579  }
252580  resultobj = SWIG_From_float(static_cast< float >(result));
252581  return resultobj;
252582 fail:
252583  return NULL;
252584 }
252585 
252586 
252587 SWIGINTERN PyObject *_wrap_Simulator_Gravity__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
252588  PyObject *resultobj = 0;
252590  void *argp1 = 0 ;
252591  int res1 = 0 ;
252592  PyObject * obj0 = 0 ;
252593  float result;
252594 
252595  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_Gravity",&obj0)) SWIG_fail;
252596  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
252597  if (!SWIG_IsOK(res1)) {
252598  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Gravity" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
252599  }
252600  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
252601  {
252602  try {
252603  result = (float)(arg1)->Gravity();
252604  }
252605  catch(CStdErrorInfo oError)
252606  {
252607  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252608  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
252609  PyErr_SetString(PyExc_IndexError, strError.c_str());
252610  SWIG_fail;
252611  }
252612  catch(...)
252613  {
252614  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252615  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252616  SWIG_fail;
252617  }
252618  }
252619  resultobj = SWIG_From_float(static_cast< float >(result));
252620  return resultobj;
252621 fail:
252622  return NULL;
252623 }
252624 
252625 
252626 SWIGINTERN PyObject *_wrap_Simulator_Gravity__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
252627  PyObject *resultobj = 0;
252629  float arg2 ;
252630  bool arg3 ;
252631  void *argp1 = 0 ;
252632  int res1 = 0 ;
252633  float val2 ;
252634  int ecode2 = 0 ;
252635  bool val3 ;
252636  int ecode3 = 0 ;
252637  PyObject * obj0 = 0 ;
252638  PyObject * obj1 = 0 ;
252639  PyObject * obj2 = 0 ;
252640 
252641  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_Gravity",&obj0,&obj1,&obj2)) SWIG_fail;
252642  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
252643  if (!SWIG_IsOK(res1)) {
252644  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Gravity" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
252645  }
252646  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
252647  ecode2 = SWIG_AsVal_float(obj1, &val2);
252648  if (!SWIG_IsOK(ecode2)) {
252649  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_Gravity" "', argument " "2"" of type '" "float""'");
252650  }
252651  arg2 = static_cast< float >(val2);
252652  ecode3 = SWIG_AsVal_bool(obj2, &val3);
252653  if (!SWIG_IsOK(ecode3)) {
252654  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_Gravity" "', argument " "3"" of type '" "bool""'");
252655  }
252656  arg3 = static_cast< bool >(val3);
252657  {
252658  try {
252659  (arg1)->Gravity(arg2,arg3);
252660  }
252661  catch(CStdErrorInfo oError)
252662  {
252663  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252664  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
252665  PyErr_SetString(PyExc_IndexError, strError.c_str());
252666  SWIG_fail;
252667  }
252668  catch(...)
252669  {
252670  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252671  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252672  SWIG_fail;
252673  }
252674  }
252675  resultobj = SWIG_Py_Void();
252676  return resultobj;
252677 fail:
252678  return NULL;
252679 }
252680 
252681 
252682 SWIGINTERN PyObject *_wrap_Simulator_Gravity__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
252683  PyObject *resultobj = 0;
252685  float arg2 ;
252686  void *argp1 = 0 ;
252687  int res1 = 0 ;
252688  float val2 ;
252689  int ecode2 = 0 ;
252690  PyObject * obj0 = 0 ;
252691  PyObject * obj1 = 0 ;
252692 
252693  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_Gravity",&obj0,&obj1)) SWIG_fail;
252694  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
252695  if (!SWIG_IsOK(res1)) {
252696  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Gravity" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
252697  }
252698  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
252699  ecode2 = SWIG_AsVal_float(obj1, &val2);
252700  if (!SWIG_IsOK(ecode2)) {
252701  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_Gravity" "', argument " "2"" of type '" "float""'");
252702  }
252703  arg2 = static_cast< float >(val2);
252704  {
252705  try {
252706  (arg1)->Gravity(arg2);
252707  }
252708  catch(CStdErrorInfo oError)
252709  {
252710  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252711  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
252712  PyErr_SetString(PyExc_IndexError, strError.c_str());
252713  SWIG_fail;
252714  }
252715  catch(...)
252716  {
252717  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252718  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252719  SWIG_fail;
252720  }
252721  }
252722  resultobj = SWIG_Py_Void();
252723  return resultobj;
252724 fail:
252725  return NULL;
252726 }
252727 
252728 
252729 SWIGINTERN PyObject *_wrap_Simulator_Gravity(PyObject *self, PyObject *args) {
252730  int argc;
252731  PyObject *argv[4];
252732  int ii;
252733 
252734  if (!PyTuple_Check(args)) SWIG_fail;
252735  argc = args ? (int)PyObject_Length(args) : 0;
252736  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
252737  argv[ii] = PyTuple_GET_ITEM(args,ii);
252738  }
252739  if (argc == 1) {
252740  int _v;
252741  void *vptr = 0;
252742  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
252743  _v = SWIG_CheckState(res);
252744  if (_v) {
252745  return _wrap_Simulator_Gravity__SWIG_0(self, args);
252746  }
252747  }
252748  if (argc == 2) {
252749  int _v;
252750  void *vptr = 0;
252751  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
252752  _v = SWIG_CheckState(res);
252753  if (_v) {
252754  {
252755  int res = SWIG_AsVal_float(argv[1], NULL);
252756  _v = SWIG_CheckState(res);
252757  }
252758  if (_v) {
252759  return _wrap_Simulator_Gravity__SWIG_2(self, args);
252760  }
252761  }
252762  }
252763  if (argc == 3) {
252764  int _v;
252765  void *vptr = 0;
252766  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
252767  _v = SWIG_CheckState(res);
252768  if (_v) {
252769  {
252770  int res = SWIG_AsVal_float(argv[1], NULL);
252771  _v = SWIG_CheckState(res);
252772  }
252773  if (_v) {
252774  {
252775  int res = SWIG_AsVal_bool(argv[2], NULL);
252776  _v = SWIG_CheckState(res);
252777  }
252778  if (_v) {
252779  return _wrap_Simulator_Gravity__SWIG_1(self, args);
252780  }
252781  }
252782  }
252783  }
252784 
252785 fail:
252786  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_Gravity'.\n"
252787  " Possible C/C++ prototypes are:\n"
252788  " AnimatSim::Simulator::Gravity()\n"
252789  " AnimatSim::Simulator::Gravity(float,bool)\n"
252790  " AnimatSim::Simulator::Gravity(float)\n");
252791  return 0;
252792 }
252793 
252794 
252795 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringStiffness__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
252796  PyObject *resultobj = 0;
252798  void *argp1 = 0 ;
252799  int res1 = 0 ;
252800  PyObject * obj0 = 0 ;
252801  float result;
252802 
252803  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_MouseSpringStiffness",&obj0)) SWIG_fail;
252804  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
252805  if (!SWIG_IsOK(res1)) {
252806  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MouseSpringStiffness" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
252807  }
252808  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
252809  {
252810  try {
252811  result = (float)(arg1)->MouseSpringStiffness();
252812  }
252813  catch(CStdErrorInfo oError)
252814  {
252815  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252816  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
252817  PyErr_SetString(PyExc_IndexError, strError.c_str());
252818  SWIG_fail;
252819  }
252820  catch(...)
252821  {
252822  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252823  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252824  SWIG_fail;
252825  }
252826  }
252827  resultobj = SWIG_From_float(static_cast< float >(result));
252828  return resultobj;
252829 fail:
252830  return NULL;
252831 }
252832 
252833 
252834 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringStiffness__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
252835  PyObject *resultobj = 0;
252837  float arg2 ;
252838  bool arg3 ;
252839  void *argp1 = 0 ;
252840  int res1 = 0 ;
252841  float val2 ;
252842  int ecode2 = 0 ;
252843  bool val3 ;
252844  int ecode3 = 0 ;
252845  PyObject * obj0 = 0 ;
252846  PyObject * obj1 = 0 ;
252847  PyObject * obj2 = 0 ;
252848 
252849  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_MouseSpringStiffness",&obj0,&obj1,&obj2)) SWIG_fail;
252850  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
252851  if (!SWIG_IsOK(res1)) {
252852  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MouseSpringStiffness" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
252853  }
252854  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
252855  ecode2 = SWIG_AsVal_float(obj1, &val2);
252856  if (!SWIG_IsOK(ecode2)) {
252857  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_MouseSpringStiffness" "', argument " "2"" of type '" "float""'");
252858  }
252859  arg2 = static_cast< float >(val2);
252860  ecode3 = SWIG_AsVal_bool(obj2, &val3);
252861  if (!SWIG_IsOK(ecode3)) {
252862  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_MouseSpringStiffness" "', argument " "3"" of type '" "bool""'");
252863  }
252864  arg3 = static_cast< bool >(val3);
252865  {
252866  try {
252867  (arg1)->MouseSpringStiffness(arg2,arg3);
252868  }
252869  catch(CStdErrorInfo oError)
252870  {
252871  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252872  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
252873  PyErr_SetString(PyExc_IndexError, strError.c_str());
252874  SWIG_fail;
252875  }
252876  catch(...)
252877  {
252878  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252879  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252880  SWIG_fail;
252881  }
252882  }
252883  resultobj = SWIG_Py_Void();
252884  return resultobj;
252885 fail:
252886  return NULL;
252887 }
252888 
252889 
252890 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringStiffness__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
252891  PyObject *resultobj = 0;
252893  float arg2 ;
252894  void *argp1 = 0 ;
252895  int res1 = 0 ;
252896  float val2 ;
252897  int ecode2 = 0 ;
252898  PyObject * obj0 = 0 ;
252899  PyObject * obj1 = 0 ;
252900 
252901  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_MouseSpringStiffness",&obj0,&obj1)) SWIG_fail;
252902  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
252903  if (!SWIG_IsOK(res1)) {
252904  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MouseSpringStiffness" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
252905  }
252906  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
252907  ecode2 = SWIG_AsVal_float(obj1, &val2);
252908  if (!SWIG_IsOK(ecode2)) {
252909  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_MouseSpringStiffness" "', argument " "2"" of type '" "float""'");
252910  }
252911  arg2 = static_cast< float >(val2);
252912  {
252913  try {
252914  (arg1)->MouseSpringStiffness(arg2);
252915  }
252916  catch(CStdErrorInfo oError)
252917  {
252918  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252919  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
252920  PyErr_SetString(PyExc_IndexError, strError.c_str());
252921  SWIG_fail;
252922  }
252923  catch(...)
252924  {
252925  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
252926  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
252927  SWIG_fail;
252928  }
252929  }
252930  resultobj = SWIG_Py_Void();
252931  return resultobj;
252932 fail:
252933  return NULL;
252934 }
252935 
252936 
252937 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringStiffness(PyObject *self, PyObject *args) {
252938  int argc;
252939  PyObject *argv[4];
252940  int ii;
252941 
252942  if (!PyTuple_Check(args)) SWIG_fail;
252943  argc = args ? (int)PyObject_Length(args) : 0;
252944  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
252945  argv[ii] = PyTuple_GET_ITEM(args,ii);
252946  }
252947  if (argc == 1) {
252948  int _v;
252949  void *vptr = 0;
252950  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
252951  _v = SWIG_CheckState(res);
252952  if (_v) {
252953  return _wrap_Simulator_MouseSpringStiffness__SWIG_0(self, args);
252954  }
252955  }
252956  if (argc == 2) {
252957  int _v;
252958  void *vptr = 0;
252959  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
252960  _v = SWIG_CheckState(res);
252961  if (_v) {
252962  {
252963  int res = SWIG_AsVal_float(argv[1], NULL);
252964  _v = SWIG_CheckState(res);
252965  }
252966  if (_v) {
252967  return _wrap_Simulator_MouseSpringStiffness__SWIG_2(self, args);
252968  }
252969  }
252970  }
252971  if (argc == 3) {
252972  int _v;
252973  void *vptr = 0;
252974  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
252975  _v = SWIG_CheckState(res);
252976  if (_v) {
252977  {
252978  int res = SWIG_AsVal_float(argv[1], NULL);
252979  _v = SWIG_CheckState(res);
252980  }
252981  if (_v) {
252982  {
252983  int res = SWIG_AsVal_bool(argv[2], NULL);
252984  _v = SWIG_CheckState(res);
252985  }
252986  if (_v) {
252987  return _wrap_Simulator_MouseSpringStiffness__SWIG_1(self, args);
252988  }
252989  }
252990  }
252991  }
252992 
252993 fail:
252994  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_MouseSpringStiffness'.\n"
252995  " Possible C/C++ prototypes are:\n"
252996  " AnimatSim::Simulator::MouseSpringStiffness()\n"
252997  " AnimatSim::Simulator::MouseSpringStiffness(float,bool)\n"
252998  " AnimatSim::Simulator::MouseSpringStiffness(float)\n");
252999  return 0;
253000 }
253001 
253002 
253003 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringDamping__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
253004  PyObject *resultobj = 0;
253006  void *argp1 = 0 ;
253007  int res1 = 0 ;
253008  PyObject * obj0 = 0 ;
253009  float result;
253010 
253011  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_MouseSpringDamping",&obj0)) SWIG_fail;
253012  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
253013  if (!SWIG_IsOK(res1)) {
253014  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MouseSpringDamping" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
253015  }
253016  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
253017  {
253018  try {
253019  result = (float)(arg1)->MouseSpringDamping();
253020  }
253021  catch(CStdErrorInfo oError)
253022  {
253023  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253024  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
253025  PyErr_SetString(PyExc_IndexError, strError.c_str());
253026  SWIG_fail;
253027  }
253028  catch(...)
253029  {
253030  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253031  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
253032  SWIG_fail;
253033  }
253034  }
253035  resultobj = SWIG_From_float(static_cast< float >(result));
253036  return resultobj;
253037 fail:
253038  return NULL;
253039 }
253040 
253041 
253042 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringDamping__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
253043  PyObject *resultobj = 0;
253045  float arg2 ;
253046  bool arg3 ;
253047  void *argp1 = 0 ;
253048  int res1 = 0 ;
253049  float val2 ;
253050  int ecode2 = 0 ;
253051  bool val3 ;
253052  int ecode3 = 0 ;
253053  PyObject * obj0 = 0 ;
253054  PyObject * obj1 = 0 ;
253055  PyObject * obj2 = 0 ;
253056 
253057  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_MouseSpringDamping",&obj0,&obj1,&obj2)) SWIG_fail;
253058  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
253059  if (!SWIG_IsOK(res1)) {
253060  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MouseSpringDamping" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
253061  }
253062  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
253063  ecode2 = SWIG_AsVal_float(obj1, &val2);
253064  if (!SWIG_IsOK(ecode2)) {
253065  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_MouseSpringDamping" "', argument " "2"" of type '" "float""'");
253066  }
253067  arg2 = static_cast< float >(val2);
253068  ecode3 = SWIG_AsVal_bool(obj2, &val3);
253069  if (!SWIG_IsOK(ecode3)) {
253070  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_MouseSpringDamping" "', argument " "3"" of type '" "bool""'");
253071  }
253072  arg3 = static_cast< bool >(val3);
253073  {
253074  try {
253075  (arg1)->MouseSpringDamping(arg2,arg3);
253076  }
253077  catch(CStdErrorInfo oError)
253078  {
253079  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253080  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
253081  PyErr_SetString(PyExc_IndexError, strError.c_str());
253082  SWIG_fail;
253083  }
253084  catch(...)
253085  {
253086  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253087  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
253088  SWIG_fail;
253089  }
253090  }
253091  resultobj = SWIG_Py_Void();
253092  return resultobj;
253093 fail:
253094  return NULL;
253095 }
253096 
253097 
253098 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringDamping__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
253099  PyObject *resultobj = 0;
253101  float arg2 ;
253102  void *argp1 = 0 ;
253103  int res1 = 0 ;
253104  float val2 ;
253105  int ecode2 = 0 ;
253106  PyObject * obj0 = 0 ;
253107  PyObject * obj1 = 0 ;
253108 
253109  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_MouseSpringDamping",&obj0,&obj1)) SWIG_fail;
253110  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
253111  if (!SWIG_IsOK(res1)) {
253112  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MouseSpringDamping" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
253113  }
253114  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
253115  ecode2 = SWIG_AsVal_float(obj1, &val2);
253116  if (!SWIG_IsOK(ecode2)) {
253117  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_MouseSpringDamping" "', argument " "2"" of type '" "float""'");
253118  }
253119  arg2 = static_cast< float >(val2);
253120  {
253121  try {
253122  (arg1)->MouseSpringDamping(arg2);
253123  }
253124  catch(CStdErrorInfo oError)
253125  {
253126  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253127  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
253128  PyErr_SetString(PyExc_IndexError, strError.c_str());
253129  SWIG_fail;
253130  }
253131  catch(...)
253132  {
253133  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253134  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
253135  SWIG_fail;
253136  }
253137  }
253138  resultobj = SWIG_Py_Void();
253139  return resultobj;
253140 fail:
253141  return NULL;
253142 }
253143 
253144 
253145 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringDamping(PyObject *self, PyObject *args) {
253146  int argc;
253147  PyObject *argv[4];
253148  int ii;
253149 
253150  if (!PyTuple_Check(args)) SWIG_fail;
253151  argc = args ? (int)PyObject_Length(args) : 0;
253152  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
253153  argv[ii] = PyTuple_GET_ITEM(args,ii);
253154  }
253155  if (argc == 1) {
253156  int _v;
253157  void *vptr = 0;
253158  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
253159  _v = SWIG_CheckState(res);
253160  if (_v) {
253161  return _wrap_Simulator_MouseSpringDamping__SWIG_0(self, args);
253162  }
253163  }
253164  if (argc == 2) {
253165  int _v;
253166  void *vptr = 0;
253167  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
253168  _v = SWIG_CheckState(res);
253169  if (_v) {
253170  {
253171  int res = SWIG_AsVal_float(argv[1], NULL);
253172  _v = SWIG_CheckState(res);
253173  }
253174  if (_v) {
253175  return _wrap_Simulator_MouseSpringDamping__SWIG_2(self, args);
253176  }
253177  }
253178  }
253179  if (argc == 3) {
253180  int _v;
253181  void *vptr = 0;
253182  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
253183  _v = SWIG_CheckState(res);
253184  if (_v) {
253185  {
253186  int res = SWIG_AsVal_float(argv[1], NULL);
253187  _v = SWIG_CheckState(res);
253188  }
253189  if (_v) {
253190  {
253191  int res = SWIG_AsVal_bool(argv[2], NULL);
253192  _v = SWIG_CheckState(res);
253193  }
253194  if (_v) {
253195  return _wrap_Simulator_MouseSpringDamping__SWIG_1(self, args);
253196  }
253197  }
253198  }
253199  }
253200 
253201 fail:
253202  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_MouseSpringDamping'.\n"
253203  " Possible C/C++ prototypes are:\n"
253204  " AnimatSim::Simulator::MouseSpringDamping()\n"
253205  " AnimatSim::Simulator::MouseSpringDamping(float,bool)\n"
253206  " AnimatSim::Simulator::MouseSpringDamping(float)\n");
253207  return 0;
253208 }
253209 
253210 
253211 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringForceMagnitude__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
253212  PyObject *resultobj = 0;
253214  void *argp1 = 0 ;
253215  int res1 = 0 ;
253216  PyObject * obj0 = 0 ;
253217  float result;
253218 
253219  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_MouseSpringForceMagnitude",&obj0)) SWIG_fail;
253220  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
253221  if (!SWIG_IsOK(res1)) {
253222  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MouseSpringForceMagnitude" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
253223  }
253224  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
253225  {
253226  try {
253227  result = (float)(arg1)->MouseSpringForceMagnitude();
253228  }
253229  catch(CStdErrorInfo oError)
253230  {
253231  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253232  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
253233  PyErr_SetString(PyExc_IndexError, strError.c_str());
253234  SWIG_fail;
253235  }
253236  catch(...)
253237  {
253238  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253239  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
253240  SWIG_fail;
253241  }
253242  }
253243  resultobj = SWIG_From_float(static_cast< float >(result));
253244  return resultobj;
253245 fail:
253246  return NULL;
253247 }
253248 
253249 
253250 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringForceMagnitude__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
253251  PyObject *resultobj = 0;
253253  float arg2 ;
253254  bool arg3 ;
253255  void *argp1 = 0 ;
253256  int res1 = 0 ;
253257  float val2 ;
253258  int ecode2 = 0 ;
253259  bool val3 ;
253260  int ecode3 = 0 ;
253261  PyObject * obj0 = 0 ;
253262  PyObject * obj1 = 0 ;
253263  PyObject * obj2 = 0 ;
253264 
253265  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_MouseSpringForceMagnitude",&obj0,&obj1,&obj2)) SWIG_fail;
253266  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
253267  if (!SWIG_IsOK(res1)) {
253268  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MouseSpringForceMagnitude" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
253269  }
253270  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
253271  ecode2 = SWIG_AsVal_float(obj1, &val2);
253272  if (!SWIG_IsOK(ecode2)) {
253273  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_MouseSpringForceMagnitude" "', argument " "2"" of type '" "float""'");
253274  }
253275  arg2 = static_cast< float >(val2);
253276  ecode3 = SWIG_AsVal_bool(obj2, &val3);
253277  if (!SWIG_IsOK(ecode3)) {
253278  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_MouseSpringForceMagnitude" "', argument " "3"" of type '" "bool""'");
253279  }
253280  arg3 = static_cast< bool >(val3);
253281  {
253282  try {
253283  (arg1)->MouseSpringForceMagnitude(arg2,arg3);
253284  }
253285  catch(CStdErrorInfo oError)
253286  {
253287  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253288  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
253289  PyErr_SetString(PyExc_IndexError, strError.c_str());
253290  SWIG_fail;
253291  }
253292  catch(...)
253293  {
253294  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253295  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
253296  SWIG_fail;
253297  }
253298  }
253299  resultobj = SWIG_Py_Void();
253300  return resultobj;
253301 fail:
253302  return NULL;
253303 }
253304 
253305 
253306 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringForceMagnitude__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
253307  PyObject *resultobj = 0;
253309  float arg2 ;
253310  void *argp1 = 0 ;
253311  int res1 = 0 ;
253312  float val2 ;
253313  int ecode2 = 0 ;
253314  PyObject * obj0 = 0 ;
253315  PyObject * obj1 = 0 ;
253316 
253317  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_MouseSpringForceMagnitude",&obj0,&obj1)) SWIG_fail;
253318  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
253319  if (!SWIG_IsOK(res1)) {
253320  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MouseSpringForceMagnitude" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
253321  }
253322  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
253323  ecode2 = SWIG_AsVal_float(obj1, &val2);
253324  if (!SWIG_IsOK(ecode2)) {
253325  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_MouseSpringForceMagnitude" "', argument " "2"" of type '" "float""'");
253326  }
253327  arg2 = static_cast< float >(val2);
253328  {
253329  try {
253330  (arg1)->MouseSpringForceMagnitude(arg2);
253331  }
253332  catch(CStdErrorInfo oError)
253333  {
253334  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253335  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
253336  PyErr_SetString(PyExc_IndexError, strError.c_str());
253337  SWIG_fail;
253338  }
253339  catch(...)
253340  {
253341  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253342  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
253343  SWIG_fail;
253344  }
253345  }
253346  resultobj = SWIG_Py_Void();
253347  return resultobj;
253348 fail:
253349  return NULL;
253350 }
253351 
253352 
253353 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringForceMagnitude(PyObject *self, PyObject *args) {
253354  int argc;
253355  PyObject *argv[4];
253356  int ii;
253357 
253358  if (!PyTuple_Check(args)) SWIG_fail;
253359  argc = args ? (int)PyObject_Length(args) : 0;
253360  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
253361  argv[ii] = PyTuple_GET_ITEM(args,ii);
253362  }
253363  if (argc == 1) {
253364  int _v;
253365  void *vptr = 0;
253366  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
253367  _v = SWIG_CheckState(res);
253368  if (_v) {
253369  return _wrap_Simulator_MouseSpringForceMagnitude__SWIG_0(self, args);
253370  }
253371  }
253372  if (argc == 2) {
253373  int _v;
253374  void *vptr = 0;
253375  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
253376  _v = SWIG_CheckState(res);
253377  if (_v) {
253378  {
253379  int res = SWIG_AsVal_float(argv[1], NULL);
253380  _v = SWIG_CheckState(res);
253381  }
253382  if (_v) {
253383  return _wrap_Simulator_MouseSpringForceMagnitude__SWIG_2(self, args);
253384  }
253385  }
253386  }
253387  if (argc == 3) {
253388  int _v;
253389  void *vptr = 0;
253390  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
253391  _v = SWIG_CheckState(res);
253392  if (_v) {
253393  {
253394  int res = SWIG_AsVal_float(argv[1], NULL);
253395  _v = SWIG_CheckState(res);
253396  }
253397  if (_v) {
253398  {
253399  int res = SWIG_AsVal_bool(argv[2], NULL);
253400  _v = SWIG_CheckState(res);
253401  }
253402  if (_v) {
253403  return _wrap_Simulator_MouseSpringForceMagnitude__SWIG_1(self, args);
253404  }
253405  }
253406  }
253407  }
253408 
253409 fail:
253410  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_MouseSpringForceMagnitude'.\n"
253411  " Possible C/C++ prototypes are:\n"
253412  " AnimatSim::Simulator::MouseSpringForceMagnitude()\n"
253413  " AnimatSim::Simulator::MouseSpringForceMagnitude(float,bool)\n"
253414  " AnimatSim::Simulator::MouseSpringForceMagnitude(float)\n");
253415  return 0;
253416 }
253417 
253418 
253419 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringDampingForceMagnitude__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
253420  PyObject *resultobj = 0;
253422  void *argp1 = 0 ;
253423  int res1 = 0 ;
253424  PyObject * obj0 = 0 ;
253425  float result;
253426 
253427  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_MouseSpringDampingForceMagnitude",&obj0)) SWIG_fail;
253428  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
253429  if (!SWIG_IsOK(res1)) {
253430  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MouseSpringDampingForceMagnitude" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
253431  }
253432  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
253433  {
253434  try {
253435  result = (float)(arg1)->MouseSpringDampingForceMagnitude();
253436  }
253437  catch(CStdErrorInfo oError)
253438  {
253439  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253440  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
253441  PyErr_SetString(PyExc_IndexError, strError.c_str());
253442  SWIG_fail;
253443  }
253444  catch(...)
253445  {
253446  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253447  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
253448  SWIG_fail;
253449  }
253450  }
253451  resultobj = SWIG_From_float(static_cast< float >(result));
253452  return resultobj;
253453 fail:
253454  return NULL;
253455 }
253456 
253457 
253458 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringDampingForceMagnitude__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
253459  PyObject *resultobj = 0;
253461  float arg2 ;
253462  bool arg3 ;
253463  void *argp1 = 0 ;
253464  int res1 = 0 ;
253465  float val2 ;
253466  int ecode2 = 0 ;
253467  bool val3 ;
253468  int ecode3 = 0 ;
253469  PyObject * obj0 = 0 ;
253470  PyObject * obj1 = 0 ;
253471  PyObject * obj2 = 0 ;
253472 
253473  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_MouseSpringDampingForceMagnitude",&obj0,&obj1,&obj2)) SWIG_fail;
253474  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
253475  if (!SWIG_IsOK(res1)) {
253476  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MouseSpringDampingForceMagnitude" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
253477  }
253478  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
253479  ecode2 = SWIG_AsVal_float(obj1, &val2);
253480  if (!SWIG_IsOK(ecode2)) {
253481  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_MouseSpringDampingForceMagnitude" "', argument " "2"" of type '" "float""'");
253482  }
253483  arg2 = static_cast< float >(val2);
253484  ecode3 = SWIG_AsVal_bool(obj2, &val3);
253485  if (!SWIG_IsOK(ecode3)) {
253486  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_MouseSpringDampingForceMagnitude" "', argument " "3"" of type '" "bool""'");
253487  }
253488  arg3 = static_cast< bool >(val3);
253489  {
253490  try {
253491  (arg1)->MouseSpringDampingForceMagnitude(arg2,arg3);
253492  }
253493  catch(CStdErrorInfo oError)
253494  {
253495  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253496  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
253497  PyErr_SetString(PyExc_IndexError, strError.c_str());
253498  SWIG_fail;
253499  }
253500  catch(...)
253501  {
253502  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253503  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
253504  SWIG_fail;
253505  }
253506  }
253507  resultobj = SWIG_Py_Void();
253508  return resultobj;
253509 fail:
253510  return NULL;
253511 }
253512 
253513 
253514 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringDampingForceMagnitude__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
253515  PyObject *resultobj = 0;
253517  float arg2 ;
253518  void *argp1 = 0 ;
253519  int res1 = 0 ;
253520  float val2 ;
253521  int ecode2 = 0 ;
253522  PyObject * obj0 = 0 ;
253523  PyObject * obj1 = 0 ;
253524 
253525  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_MouseSpringDampingForceMagnitude",&obj0,&obj1)) SWIG_fail;
253526  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
253527  if (!SWIG_IsOK(res1)) {
253528  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MouseSpringDampingForceMagnitude" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
253529  }
253530  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
253531  ecode2 = SWIG_AsVal_float(obj1, &val2);
253532  if (!SWIG_IsOK(ecode2)) {
253533  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_MouseSpringDampingForceMagnitude" "', argument " "2"" of type '" "float""'");
253534  }
253535  arg2 = static_cast< float >(val2);
253536  {
253537  try {
253538  (arg1)->MouseSpringDampingForceMagnitude(arg2);
253539  }
253540  catch(CStdErrorInfo oError)
253541  {
253542  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253543  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
253544  PyErr_SetString(PyExc_IndexError, strError.c_str());
253545  SWIG_fail;
253546  }
253547  catch(...)
253548  {
253549  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253550  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
253551  SWIG_fail;
253552  }
253553  }
253554  resultobj = SWIG_Py_Void();
253555  return resultobj;
253556 fail:
253557  return NULL;
253558 }
253559 
253560 
253561 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringDampingForceMagnitude(PyObject *self, PyObject *args) {
253562  int argc;
253563  PyObject *argv[4];
253564  int ii;
253565 
253566  if (!PyTuple_Check(args)) SWIG_fail;
253567  argc = args ? (int)PyObject_Length(args) : 0;
253568  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
253569  argv[ii] = PyTuple_GET_ITEM(args,ii);
253570  }
253571  if (argc == 1) {
253572  int _v;
253573  void *vptr = 0;
253574  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
253575  _v = SWIG_CheckState(res);
253576  if (_v) {
253577  return _wrap_Simulator_MouseSpringDampingForceMagnitude__SWIG_0(self, args);
253578  }
253579  }
253580  if (argc == 2) {
253581  int _v;
253582  void *vptr = 0;
253583  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
253584  _v = SWIG_CheckState(res);
253585  if (_v) {
253586  {
253587  int res = SWIG_AsVal_float(argv[1], NULL);
253588  _v = SWIG_CheckState(res);
253589  }
253590  if (_v) {
253591  return _wrap_Simulator_MouseSpringDampingForceMagnitude__SWIG_2(self, args);
253592  }
253593  }
253594  }
253595  if (argc == 3) {
253596  int _v;
253597  void *vptr = 0;
253598  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
253599  _v = SWIG_CheckState(res);
253600  if (_v) {
253601  {
253602  int res = SWIG_AsVal_float(argv[1], NULL);
253603  _v = SWIG_CheckState(res);
253604  }
253605  if (_v) {
253606  {
253607  int res = SWIG_AsVal_bool(argv[2], NULL);
253608  _v = SWIG_CheckState(res);
253609  }
253610  if (_v) {
253611  return _wrap_Simulator_MouseSpringDampingForceMagnitude__SWIG_1(self, args);
253612  }
253613  }
253614  }
253615  }
253616 
253617 fail:
253618  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_MouseSpringDampingForceMagnitude'.\n"
253619  " Possible C/C++ prototypes are:\n"
253620  " AnimatSim::Simulator::MouseSpringDampingForceMagnitude()\n"
253621  " AnimatSim::Simulator::MouseSpringDampingForceMagnitude(float,bool)\n"
253622  " AnimatSim::Simulator::MouseSpringDampingForceMagnitude(float)\n");
253623  return 0;
253624 }
253625 
253626 
253627 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringLengthMagnitude__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
253628  PyObject *resultobj = 0;
253630  void *argp1 = 0 ;
253631  int res1 = 0 ;
253632  PyObject * obj0 = 0 ;
253633  float result;
253634 
253635  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_MouseSpringLengthMagnitude",&obj0)) SWIG_fail;
253636  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
253637  if (!SWIG_IsOK(res1)) {
253638  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MouseSpringLengthMagnitude" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
253639  }
253640  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
253641  {
253642  try {
253643  result = (float)(arg1)->MouseSpringLengthMagnitude();
253644  }
253645  catch(CStdErrorInfo oError)
253646  {
253647  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253648  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
253649  PyErr_SetString(PyExc_IndexError, strError.c_str());
253650  SWIG_fail;
253651  }
253652  catch(...)
253653  {
253654  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253655  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
253656  SWIG_fail;
253657  }
253658  }
253659  resultobj = SWIG_From_float(static_cast< float >(result));
253660  return resultobj;
253661 fail:
253662  return NULL;
253663 }
253664 
253665 
253666 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringLengthMagnitude__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
253667  PyObject *resultobj = 0;
253669  float arg2 ;
253670  bool arg3 ;
253671  void *argp1 = 0 ;
253672  int res1 = 0 ;
253673  float val2 ;
253674  int ecode2 = 0 ;
253675  bool val3 ;
253676  int ecode3 = 0 ;
253677  PyObject * obj0 = 0 ;
253678  PyObject * obj1 = 0 ;
253679  PyObject * obj2 = 0 ;
253680 
253681  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_MouseSpringLengthMagnitude",&obj0,&obj1,&obj2)) SWIG_fail;
253682  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
253683  if (!SWIG_IsOK(res1)) {
253684  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MouseSpringLengthMagnitude" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
253685  }
253686  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
253687  ecode2 = SWIG_AsVal_float(obj1, &val2);
253688  if (!SWIG_IsOK(ecode2)) {
253689  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_MouseSpringLengthMagnitude" "', argument " "2"" of type '" "float""'");
253690  }
253691  arg2 = static_cast< float >(val2);
253692  ecode3 = SWIG_AsVal_bool(obj2, &val3);
253693  if (!SWIG_IsOK(ecode3)) {
253694  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_MouseSpringLengthMagnitude" "', argument " "3"" of type '" "bool""'");
253695  }
253696  arg3 = static_cast< bool >(val3);
253697  {
253698  try {
253699  (arg1)->MouseSpringLengthMagnitude(arg2,arg3);
253700  }
253701  catch(CStdErrorInfo oError)
253702  {
253703  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253704  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
253705  PyErr_SetString(PyExc_IndexError, strError.c_str());
253706  SWIG_fail;
253707  }
253708  catch(...)
253709  {
253710  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253711  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
253712  SWIG_fail;
253713  }
253714  }
253715  resultobj = SWIG_Py_Void();
253716  return resultobj;
253717 fail:
253718  return NULL;
253719 }
253720 
253721 
253722 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringLengthMagnitude__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
253723  PyObject *resultobj = 0;
253725  float arg2 ;
253726  void *argp1 = 0 ;
253727  int res1 = 0 ;
253728  float val2 ;
253729  int ecode2 = 0 ;
253730  PyObject * obj0 = 0 ;
253731  PyObject * obj1 = 0 ;
253732 
253733  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_MouseSpringLengthMagnitude",&obj0,&obj1)) SWIG_fail;
253734  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
253735  if (!SWIG_IsOK(res1)) {
253736  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MouseSpringLengthMagnitude" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
253737  }
253738  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
253739  ecode2 = SWIG_AsVal_float(obj1, &val2);
253740  if (!SWIG_IsOK(ecode2)) {
253741  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_MouseSpringLengthMagnitude" "', argument " "2"" of type '" "float""'");
253742  }
253743  arg2 = static_cast< float >(val2);
253744  {
253745  try {
253746  (arg1)->MouseSpringLengthMagnitude(arg2);
253747  }
253748  catch(CStdErrorInfo oError)
253749  {
253750  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253751  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
253752  PyErr_SetString(PyExc_IndexError, strError.c_str());
253753  SWIG_fail;
253754  }
253755  catch(...)
253756  {
253757  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253758  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
253759  SWIG_fail;
253760  }
253761  }
253762  resultobj = SWIG_Py_Void();
253763  return resultobj;
253764 fail:
253765  return NULL;
253766 }
253767 
253768 
253769 SWIGINTERN PyObject *_wrap_Simulator_MouseSpringLengthMagnitude(PyObject *self, PyObject *args) {
253770  int argc;
253771  PyObject *argv[4];
253772  int ii;
253773 
253774  if (!PyTuple_Check(args)) SWIG_fail;
253775  argc = args ? (int)PyObject_Length(args) : 0;
253776  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
253777  argv[ii] = PyTuple_GET_ITEM(args,ii);
253778  }
253779  if (argc == 1) {
253780  int _v;
253781  void *vptr = 0;
253782  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
253783  _v = SWIG_CheckState(res);
253784  if (_v) {
253785  return _wrap_Simulator_MouseSpringLengthMagnitude__SWIG_0(self, args);
253786  }
253787  }
253788  if (argc == 2) {
253789  int _v;
253790  void *vptr = 0;
253791  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
253792  _v = SWIG_CheckState(res);
253793  if (_v) {
253794  {
253795  int res = SWIG_AsVal_float(argv[1], NULL);
253796  _v = SWIG_CheckState(res);
253797  }
253798  if (_v) {
253799  return _wrap_Simulator_MouseSpringLengthMagnitude__SWIG_2(self, args);
253800  }
253801  }
253802  }
253803  if (argc == 3) {
253804  int _v;
253805  void *vptr = 0;
253806  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
253807  _v = SWIG_CheckState(res);
253808  if (_v) {
253809  {
253810  int res = SWIG_AsVal_float(argv[1], NULL);
253811  _v = SWIG_CheckState(res);
253812  }
253813  if (_v) {
253814  {
253815  int res = SWIG_AsVal_bool(argv[2], NULL);
253816  _v = SWIG_CheckState(res);
253817  }
253818  if (_v) {
253819  return _wrap_Simulator_MouseSpringLengthMagnitude__SWIG_1(self, args);
253820  }
253821  }
253822  }
253823  }
253824 
253825 fail:
253826  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_MouseSpringLengthMagnitude'.\n"
253827  " Possible C/C++ prototypes are:\n"
253828  " AnimatSim::Simulator::MouseSpringLengthMagnitude()\n"
253829  " AnimatSim::Simulator::MouseSpringLengthMagnitude(float,bool)\n"
253830  " AnimatSim::Simulator::MouseSpringLengthMagnitude(float)\n");
253831  return 0;
253832 }
253833 
253834 
253835 SWIGINTERN PyObject *_wrap_Simulator_SimulateHydrodynamics__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
253836  PyObject *resultobj = 0;
253838  void *argp1 = 0 ;
253839  int res1 = 0 ;
253840  PyObject * obj0 = 0 ;
253841  bool result;
253842 
253843  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_SimulateHydrodynamics",&obj0)) SWIG_fail;
253844  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
253845  if (!SWIG_IsOK(res1)) {
253846  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SimulateHydrodynamics" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
253847  }
253848  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
253849  {
253850  try {
253851  result = (bool)(arg1)->SimulateHydrodynamics();
253852  }
253853  catch(CStdErrorInfo oError)
253854  {
253855  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253856  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
253857  PyErr_SetString(PyExc_IndexError, strError.c_str());
253858  SWIG_fail;
253859  }
253860  catch(...)
253861  {
253862  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253863  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
253864  SWIG_fail;
253865  }
253866  }
253867  resultobj = SWIG_From_bool(static_cast< bool >(result));
253868  return resultobj;
253869 fail:
253870  return NULL;
253871 }
253872 
253873 
253874 SWIGINTERN PyObject *_wrap_Simulator_SimulateHydrodynamics__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
253875  PyObject *resultobj = 0;
253877  bool arg2 ;
253878  void *argp1 = 0 ;
253879  int res1 = 0 ;
253880  bool val2 ;
253881  int ecode2 = 0 ;
253882  PyObject * obj0 = 0 ;
253883  PyObject * obj1 = 0 ;
253884 
253885  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_SimulateHydrodynamics",&obj0,&obj1)) SWIG_fail;
253886  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
253887  if (!SWIG_IsOK(res1)) {
253888  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SimulateHydrodynamics" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
253889  }
253890  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
253891  ecode2 = SWIG_AsVal_bool(obj1, &val2);
253892  if (!SWIG_IsOK(ecode2)) {
253893  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_SimulateHydrodynamics" "', argument " "2"" of type '" "bool""'");
253894  }
253895  arg2 = static_cast< bool >(val2);
253896  {
253897  try {
253898  (arg1)->SimulateHydrodynamics(arg2);
253899  }
253900  catch(CStdErrorInfo oError)
253901  {
253902  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253903  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
253904  PyErr_SetString(PyExc_IndexError, strError.c_str());
253905  SWIG_fail;
253906  }
253907  catch(...)
253908  {
253909  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253910  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
253911  SWIG_fail;
253912  }
253913  }
253914  resultobj = SWIG_Py_Void();
253915  return resultobj;
253916 fail:
253917  return NULL;
253918 }
253919 
253920 
253921 SWIGINTERN PyObject *_wrap_Simulator_SimulateHydrodynamics(PyObject *self, PyObject *args) {
253922  int argc;
253923  PyObject *argv[3];
253924  int ii;
253925 
253926  if (!PyTuple_Check(args)) SWIG_fail;
253927  argc = args ? (int)PyObject_Length(args) : 0;
253928  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
253929  argv[ii] = PyTuple_GET_ITEM(args,ii);
253930  }
253931  if (argc == 1) {
253932  int _v;
253933  void *vptr = 0;
253934  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
253935  _v = SWIG_CheckState(res);
253936  if (_v) {
253937  return _wrap_Simulator_SimulateHydrodynamics__SWIG_0(self, args);
253938  }
253939  }
253940  if (argc == 2) {
253941  int _v;
253942  void *vptr = 0;
253943  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
253944  _v = SWIG_CheckState(res);
253945  if (_v) {
253946  {
253947  int res = SWIG_AsVal_bool(argv[1], NULL);
253948  _v = SWIG_CheckState(res);
253949  }
253950  if (_v) {
253951  return _wrap_Simulator_SimulateHydrodynamics__SWIG_1(self, args);
253952  }
253953  }
253954  }
253955 
253956 fail:
253957  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_SimulateHydrodynamics'.\n"
253958  " Possible C/C++ prototypes are:\n"
253959  " AnimatSim::Simulator::SimulateHydrodynamics()\n"
253960  " AnimatSim::Simulator::SimulateHydrodynamics(bool)\n");
253961  return 0;
253962 }
253963 
253964 
253965 SWIGINTERN PyObject *_wrap_Simulator_GetMaterialID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
253966  PyObject *resultobj = 0;
253968  std::string arg2 ;
253969  void *argp1 = 0 ;
253970  int res1 = 0 ;
253971  PyObject * obj0 = 0 ;
253972  PyObject * obj1 = 0 ;
253973  int result;
253974 
253975  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_GetMaterialID",&obj0,&obj1)) SWIG_fail;
253976  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
253977  if (!SWIG_IsOK(res1)) {
253978  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_GetMaterialID" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
253979  }
253980  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
253981  {
253982  std::string *ptr = (std::string *)0;
253983  int res = SWIG_AsPtr_std_string(obj1, &ptr);
253984  if (!SWIG_IsOK(res) || !ptr) {
253985  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_GetMaterialID" "', argument " "2"" of type '" "std::string""'");
253986  }
253987  arg2 = *ptr;
253988  if (SWIG_IsNewObj(res)) delete ptr;
253989  }
253990  {
253991  try {
253992  result = (int)(arg1)->GetMaterialID(arg2);
253993  }
253994  catch(CStdErrorInfo oError)
253995  {
253996  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
253997  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
253998  PyErr_SetString(PyExc_IndexError, strError.c_str());
253999  SWIG_fail;
254000  }
254001  catch(...)
254002  {
254003  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254004  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254005  SWIG_fail;
254006  }
254007  }
254008  resultobj = SWIG_From_int(static_cast< int >(result));
254009  return resultobj;
254010 fail:
254011  return NULL;
254012 }
254013 
254014 
254015 SWIGINTERN PyObject *_wrap_Simulator_IsPhysicsBeingUpdated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
254016  PyObject *resultobj = 0;
254018  void *argp1 = 0 ;
254019  int res1 = 0 ;
254020  PyObject * obj0 = 0 ;
254021  bool result;
254022 
254023  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_IsPhysicsBeingUpdated",&obj0)) SWIG_fail;
254024  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
254025  if (!SWIG_IsOK(res1)) {
254026  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_IsPhysicsBeingUpdated" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
254027  }
254028  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
254029  {
254030  try {
254031  result = (bool)(arg1)->IsPhysicsBeingUpdated();
254032  }
254033  catch(CStdErrorInfo oError)
254034  {
254035  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254036  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
254037  PyErr_SetString(PyExc_IndexError, strError.c_str());
254038  SWIG_fail;
254039  }
254040  catch(...)
254041  {
254042  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254043  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254044  SWIG_fail;
254045  }
254046  }
254047  resultobj = SWIG_From_bool(static_cast< bool >(result));
254048  return resultobj;
254049 fail:
254050  return NULL;
254051 }
254052 
254053 
254054 SWIGINTERN PyObject *_wrap_Simulator_BackgroundColor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
254055  PyObject *resultobj = 0;
254057  void *argp1 = 0 ;
254058  int res1 = 0 ;
254059  PyObject * obj0 = 0 ;
254060  StdUtils::CStdColor *result = 0 ;
254061 
254062  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_BackgroundColor",&obj0)) SWIG_fail;
254063  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
254064  if (!SWIG_IsOK(res1)) {
254065  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_BackgroundColor" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
254066  }
254067  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
254068  {
254069  try {
254070  result = (StdUtils::CStdColor *)(arg1)->BackgroundColor();
254071  }
254072  catch(CStdErrorInfo oError)
254073  {
254074  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254075  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
254076  PyErr_SetString(PyExc_IndexError, strError.c_str());
254077  SWIG_fail;
254078  }
254079  catch(...)
254080  {
254081  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254082  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254083  SWIG_fail;
254084  }
254085  }
254086  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdColor, 0 | 0 );
254087  return resultobj;
254088 fail:
254089  return NULL;
254090 }
254091 
254092 
254093 SWIGINTERN PyObject *_wrap_Simulator_BackgroundColor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
254094  PyObject *resultobj = 0;
254096  StdUtils::CStdColor *arg2 = 0 ;
254097  void *argp1 = 0 ;
254098  int res1 = 0 ;
254099  void *argp2 = 0 ;
254100  int res2 = 0 ;
254101  PyObject * obj0 = 0 ;
254102  PyObject * obj1 = 0 ;
254103 
254104  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_BackgroundColor",&obj0,&obj1)) SWIG_fail;
254105  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
254106  if (!SWIG_IsOK(res1)) {
254107  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_BackgroundColor" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
254108  }
254109  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
254110  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdColor, 0 );
254111  if (!SWIG_IsOK(res2)) {
254112  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_BackgroundColor" "', argument " "2"" of type '" "StdUtils::CStdColor &""'");
254113  }
254114  if (!argp2) {
254115  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_BackgroundColor" "', argument " "2"" of type '" "StdUtils::CStdColor &""'");
254116  }
254117  arg2 = reinterpret_cast< StdUtils::CStdColor * >(argp2);
254118  {
254119  try {
254120  (arg1)->BackgroundColor(*arg2);
254121  }
254122  catch(CStdErrorInfo oError)
254123  {
254124  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254125  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
254126  PyErr_SetString(PyExc_IndexError, strError.c_str());
254127  SWIG_fail;
254128  }
254129  catch(...)
254130  {
254131  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254132  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254133  SWIG_fail;
254134  }
254135  }
254136  resultobj = SWIG_Py_Void();
254137  return resultobj;
254138 fail:
254139  return NULL;
254140 }
254141 
254142 
254143 SWIGINTERN PyObject *_wrap_Simulator_BackgroundColor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
254144  PyObject *resultobj = 0;
254146  float *arg2 = (float *) 0 ;
254147  void *argp1 = 0 ;
254148  int res1 = 0 ;
254149  void *argp2 = 0 ;
254150  int res2 = 0 ;
254151  PyObject * obj0 = 0 ;
254152  PyObject * obj1 = 0 ;
254153 
254154  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_BackgroundColor",&obj0,&obj1)) SWIG_fail;
254155  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
254156  if (!SWIG_IsOK(res1)) {
254157  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_BackgroundColor" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
254158  }
254159  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
254160  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 );
254161  if (!SWIG_IsOK(res2)) {
254162  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_BackgroundColor" "', argument " "2"" of type '" "float *""'");
254163  }
254164  arg2 = reinterpret_cast< float * >(argp2);
254165  {
254166  try {
254167  (arg1)->BackgroundColor(arg2);
254168  }
254169  catch(CStdErrorInfo oError)
254170  {
254171  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254172  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
254173  PyErr_SetString(PyExc_IndexError, strError.c_str());
254174  SWIG_fail;
254175  }
254176  catch(...)
254177  {
254178  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254179  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254180  SWIG_fail;
254181  }
254182  }
254183  resultobj = SWIG_Py_Void();
254184  return resultobj;
254185 fail:
254186  return NULL;
254187 }
254188 
254189 
254190 SWIGINTERN PyObject *_wrap_Simulator_BackgroundColor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
254191  PyObject *resultobj = 0;
254193  std::string arg2 ;
254194  void *argp1 = 0 ;
254195  int res1 = 0 ;
254196  PyObject * obj0 = 0 ;
254197  PyObject * obj1 = 0 ;
254198 
254199  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_BackgroundColor",&obj0,&obj1)) SWIG_fail;
254200  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
254201  if (!SWIG_IsOK(res1)) {
254202  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_BackgroundColor" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
254203  }
254204  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
254205  {
254206  std::string *ptr = (std::string *)0;
254207  int res = SWIG_AsPtr_std_string(obj1, &ptr);
254208  if (!SWIG_IsOK(res) || !ptr) {
254209  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_BackgroundColor" "', argument " "2"" of type '" "std::string""'");
254210  }
254211  arg2 = *ptr;
254212  if (SWIG_IsNewObj(res)) delete ptr;
254213  }
254214  {
254215  try {
254216  (arg1)->BackgroundColor(arg2);
254217  }
254218  catch(CStdErrorInfo oError)
254219  {
254220  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254221  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
254222  PyErr_SetString(PyExc_IndexError, strError.c_str());
254223  SWIG_fail;
254224  }
254225  catch(...)
254226  {
254227  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254228  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254229  SWIG_fail;
254230  }
254231  }
254232  resultobj = SWIG_Py_Void();
254233  return resultobj;
254234 fail:
254235  return NULL;
254236 }
254237 
254238 
254239 SWIGINTERN PyObject *_wrap_Simulator_BackgroundColor(PyObject *self, PyObject *args) {
254240  int argc;
254241  PyObject *argv[3];
254242  int ii;
254243 
254244  if (!PyTuple_Check(args)) SWIG_fail;
254245  argc = args ? (int)PyObject_Length(args) : 0;
254246  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
254247  argv[ii] = PyTuple_GET_ITEM(args,ii);
254248  }
254249  if (argc == 1) {
254250  int _v;
254251  void *vptr = 0;
254252  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
254253  _v = SWIG_CheckState(res);
254254  if (_v) {
254255  return _wrap_Simulator_BackgroundColor__SWIG_0(self, args);
254256  }
254257  }
254258  if (argc == 2) {
254259  int _v;
254260  void *vptr = 0;
254261  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
254262  _v = SWIG_CheckState(res);
254263  if (_v) {
254264  void *vptr = 0;
254265  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdColor, 0);
254266  _v = SWIG_CheckState(res);
254267  if (_v) {
254268  return _wrap_Simulator_BackgroundColor__SWIG_1(self, args);
254269  }
254270  }
254271  }
254272  if (argc == 2) {
254273  int _v;
254274  void *vptr = 0;
254275  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
254276  _v = SWIG_CheckState(res);
254277  if (_v) {
254278  void *vptr = 0;
254279  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0);
254280  _v = SWIG_CheckState(res);
254281  if (_v) {
254282  return _wrap_Simulator_BackgroundColor__SWIG_2(self, args);
254283  }
254284  }
254285  }
254286  if (argc == 2) {
254287  int _v;
254288  void *vptr = 0;
254289  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
254290  _v = SWIG_CheckState(res);
254291  if (_v) {
254292  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
254293  _v = SWIG_CheckState(res);
254294  if (_v) {
254295  return _wrap_Simulator_BackgroundColor__SWIG_3(self, args);
254296  }
254297  }
254298  }
254299 
254300 fail:
254301  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_BackgroundColor'.\n"
254302  " Possible C/C++ prototypes are:\n"
254303  " AnimatSim::Simulator::BackgroundColor()\n"
254304  " AnimatSim::Simulator::BackgroundColor(StdUtils::CStdColor &)\n"
254305  " AnimatSim::Simulator::BackgroundColor(float *)\n"
254306  " AnimatSim::Simulator::BackgroundColor(std::string)\n");
254307  return 0;
254308 }
254309 
254310 
254311 SWIGINTERN PyObject *_wrap_Simulator_AlphaThreshold__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
254312  PyObject *resultobj = 0;
254314  void *argp1 = 0 ;
254315  int res1 = 0 ;
254316  PyObject * obj0 = 0 ;
254317  float result;
254318 
254319  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_AlphaThreshold",&obj0)) SWIG_fail;
254320  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
254321  if (!SWIG_IsOK(res1)) {
254322  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AlphaThreshold" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
254323  }
254324  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
254325  {
254326  try {
254327  result = (float)(arg1)->AlphaThreshold();
254328  }
254329  catch(CStdErrorInfo oError)
254330  {
254331  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254332  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
254333  PyErr_SetString(PyExc_IndexError, strError.c_str());
254334  SWIG_fail;
254335  }
254336  catch(...)
254337  {
254338  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254339  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254340  SWIG_fail;
254341  }
254342  }
254343  resultobj = SWIG_From_float(static_cast< float >(result));
254344  return resultobj;
254345 fail:
254346  return NULL;
254347 }
254348 
254349 
254350 SWIGINTERN PyObject *_wrap_Simulator_AlphaThreshold__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
254351  PyObject *resultobj = 0;
254353  float arg2 ;
254354  void *argp1 = 0 ;
254355  int res1 = 0 ;
254356  float val2 ;
254357  int ecode2 = 0 ;
254358  PyObject * obj0 = 0 ;
254359  PyObject * obj1 = 0 ;
254360 
254361  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_AlphaThreshold",&obj0,&obj1)) SWIG_fail;
254362  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
254363  if (!SWIG_IsOK(res1)) {
254364  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AlphaThreshold" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
254365  }
254366  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
254367  ecode2 = SWIG_AsVal_float(obj1, &val2);
254368  if (!SWIG_IsOK(ecode2)) {
254369  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_AlphaThreshold" "', argument " "2"" of type '" "float""'");
254370  }
254371  arg2 = static_cast< float >(val2);
254372  {
254373  try {
254374  (arg1)->AlphaThreshold(arg2);
254375  }
254376  catch(CStdErrorInfo oError)
254377  {
254378  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254379  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
254380  PyErr_SetString(PyExc_IndexError, strError.c_str());
254381  SWIG_fail;
254382  }
254383  catch(...)
254384  {
254385  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254386  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254387  SWIG_fail;
254388  }
254389  }
254390  resultobj = SWIG_Py_Void();
254391  return resultobj;
254392 fail:
254393  return NULL;
254394 }
254395 
254396 
254397 SWIGINTERN PyObject *_wrap_Simulator_AlphaThreshold(PyObject *self, PyObject *args) {
254398  int argc;
254399  PyObject *argv[3];
254400  int ii;
254401 
254402  if (!PyTuple_Check(args)) SWIG_fail;
254403  argc = args ? (int)PyObject_Length(args) : 0;
254404  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
254405  argv[ii] = PyTuple_GET_ITEM(args,ii);
254406  }
254407  if (argc == 1) {
254408  int _v;
254409  void *vptr = 0;
254410  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
254411  _v = SWIG_CheckState(res);
254412  if (_v) {
254413  return _wrap_Simulator_AlphaThreshold__SWIG_0(self, args);
254414  }
254415  }
254416  if (argc == 2) {
254417  int _v;
254418  void *vptr = 0;
254419  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
254420  _v = SWIG_CheckState(res);
254421  if (_v) {
254422  {
254423  int res = SWIG_AsVal_float(argv[1], NULL);
254424  _v = SWIG_CheckState(res);
254425  }
254426  if (_v) {
254427  return _wrap_Simulator_AlphaThreshold__SWIG_1(self, args);
254428  }
254429  }
254430  }
254431 
254432 fail:
254433  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_AlphaThreshold'.\n"
254434  " Possible C/C++ prototypes are:\n"
254435  " AnimatSim::Simulator::AlphaThreshold()\n"
254436  " AnimatSim::Simulator::AlphaThreshold(float)\n");
254437  return 0;
254438 }
254439 
254440 
254441 SWIGINTERN PyObject *_wrap_Simulator_RecFieldSelRadius__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
254442  PyObject *resultobj = 0;
254444  void *argp1 = 0 ;
254445  int res1 = 0 ;
254446  PyObject * obj0 = 0 ;
254447  float result;
254448 
254449  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_RecFieldSelRadius",&obj0)) SWIG_fail;
254450  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
254451  if (!SWIG_IsOK(res1)) {
254452  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RecFieldSelRadius" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
254453  }
254454  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
254455  {
254456  try {
254457  result = (float)(arg1)->RecFieldSelRadius();
254458  }
254459  catch(CStdErrorInfo oError)
254460  {
254461  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254462  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
254463  PyErr_SetString(PyExc_IndexError, strError.c_str());
254464  SWIG_fail;
254465  }
254466  catch(...)
254467  {
254468  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254469  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254470  SWIG_fail;
254471  }
254472  }
254473  resultobj = SWIG_From_float(static_cast< float >(result));
254474  return resultobj;
254475 fail:
254476  return NULL;
254477 }
254478 
254479 
254480 SWIGINTERN PyObject *_wrap_Simulator_RecFieldSelRadius__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
254481  PyObject *resultobj = 0;
254483  float arg2 ;
254484  bool arg3 ;
254485  bool arg4 ;
254486  void *argp1 = 0 ;
254487  int res1 = 0 ;
254488  float val2 ;
254489  int ecode2 = 0 ;
254490  bool val3 ;
254491  int ecode3 = 0 ;
254492  bool val4 ;
254493  int ecode4 = 0 ;
254494  PyObject * obj0 = 0 ;
254495  PyObject * obj1 = 0 ;
254496  PyObject * obj2 = 0 ;
254497  PyObject * obj3 = 0 ;
254498 
254499  if (!PyArg_ParseTuple(args,(char *)"OOOO:Simulator_RecFieldSelRadius",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
254500  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
254501  if (!SWIG_IsOK(res1)) {
254502  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RecFieldSelRadius" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
254503  }
254504  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
254505  ecode2 = SWIG_AsVal_float(obj1, &val2);
254506  if (!SWIG_IsOK(ecode2)) {
254507  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_RecFieldSelRadius" "', argument " "2"" of type '" "float""'");
254508  }
254509  arg2 = static_cast< float >(val2);
254510  ecode3 = SWIG_AsVal_bool(obj2, &val3);
254511  if (!SWIG_IsOK(ecode3)) {
254512  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_RecFieldSelRadius" "', argument " "3"" of type '" "bool""'");
254513  }
254514  arg3 = static_cast< bool >(val3);
254515  ecode4 = SWIG_AsVal_bool(obj3, &val4);
254516  if (!SWIG_IsOK(ecode4)) {
254517  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Simulator_RecFieldSelRadius" "', argument " "4"" of type '" "bool""'");
254518  }
254519  arg4 = static_cast< bool >(val4);
254520  {
254521  try {
254522  (arg1)->RecFieldSelRadius(arg2,arg3,arg4);
254523  }
254524  catch(CStdErrorInfo oError)
254525  {
254526  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254527  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
254528  PyErr_SetString(PyExc_IndexError, strError.c_str());
254529  SWIG_fail;
254530  }
254531  catch(...)
254532  {
254533  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254534  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254535  SWIG_fail;
254536  }
254537  }
254538  resultobj = SWIG_Py_Void();
254539  return resultobj;
254540 fail:
254541  return NULL;
254542 }
254543 
254544 
254545 SWIGINTERN PyObject *_wrap_Simulator_RecFieldSelRadius__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
254546  PyObject *resultobj = 0;
254548  float arg2 ;
254549  bool arg3 ;
254550  void *argp1 = 0 ;
254551  int res1 = 0 ;
254552  float val2 ;
254553  int ecode2 = 0 ;
254554  bool val3 ;
254555  int ecode3 = 0 ;
254556  PyObject * obj0 = 0 ;
254557  PyObject * obj1 = 0 ;
254558  PyObject * obj2 = 0 ;
254559 
254560  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_RecFieldSelRadius",&obj0,&obj1,&obj2)) SWIG_fail;
254561  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
254562  if (!SWIG_IsOK(res1)) {
254563  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RecFieldSelRadius" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
254564  }
254565  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
254566  ecode2 = SWIG_AsVal_float(obj1, &val2);
254567  if (!SWIG_IsOK(ecode2)) {
254568  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_RecFieldSelRadius" "', argument " "2"" of type '" "float""'");
254569  }
254570  arg2 = static_cast< float >(val2);
254571  ecode3 = SWIG_AsVal_bool(obj2, &val3);
254572  if (!SWIG_IsOK(ecode3)) {
254573  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_RecFieldSelRadius" "', argument " "3"" of type '" "bool""'");
254574  }
254575  arg3 = static_cast< bool >(val3);
254576  {
254577  try {
254578  (arg1)->RecFieldSelRadius(arg2,arg3);
254579  }
254580  catch(CStdErrorInfo oError)
254581  {
254582  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254583  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
254584  PyErr_SetString(PyExc_IndexError, strError.c_str());
254585  SWIG_fail;
254586  }
254587  catch(...)
254588  {
254589  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254590  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254591  SWIG_fail;
254592  }
254593  }
254594  resultobj = SWIG_Py_Void();
254595  return resultobj;
254596 fail:
254597  return NULL;
254598 }
254599 
254600 
254601 SWIGINTERN PyObject *_wrap_Simulator_RecFieldSelRadius__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
254602  PyObject *resultobj = 0;
254604  float arg2 ;
254605  void *argp1 = 0 ;
254606  int res1 = 0 ;
254607  float val2 ;
254608  int ecode2 = 0 ;
254609  PyObject * obj0 = 0 ;
254610  PyObject * obj1 = 0 ;
254611 
254612  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_RecFieldSelRadius",&obj0,&obj1)) SWIG_fail;
254613  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
254614  if (!SWIG_IsOK(res1)) {
254615  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RecFieldSelRadius" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
254616  }
254617  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
254618  ecode2 = SWIG_AsVal_float(obj1, &val2);
254619  if (!SWIG_IsOK(ecode2)) {
254620  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_RecFieldSelRadius" "', argument " "2"" of type '" "float""'");
254621  }
254622  arg2 = static_cast< float >(val2);
254623  {
254624  try {
254625  (arg1)->RecFieldSelRadius(arg2);
254626  }
254627  catch(CStdErrorInfo oError)
254628  {
254629  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254630  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
254631  PyErr_SetString(PyExc_IndexError, strError.c_str());
254632  SWIG_fail;
254633  }
254634  catch(...)
254635  {
254636  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254637  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254638  SWIG_fail;
254639  }
254640  }
254641  resultobj = SWIG_Py_Void();
254642  return resultobj;
254643 fail:
254644  return NULL;
254645 }
254646 
254647 
254648 SWIGINTERN PyObject *_wrap_Simulator_RecFieldSelRadius(PyObject *self, PyObject *args) {
254649  int argc;
254650  PyObject *argv[5];
254651  int ii;
254652 
254653  if (!PyTuple_Check(args)) SWIG_fail;
254654  argc = args ? (int)PyObject_Length(args) : 0;
254655  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
254656  argv[ii] = PyTuple_GET_ITEM(args,ii);
254657  }
254658  if (argc == 1) {
254659  int _v;
254660  void *vptr = 0;
254661  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
254662  _v = SWIG_CheckState(res);
254663  if (_v) {
254664  return _wrap_Simulator_RecFieldSelRadius__SWIG_0(self, args);
254665  }
254666  }
254667  if (argc == 2) {
254668  int _v;
254669  void *vptr = 0;
254670  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
254671  _v = SWIG_CheckState(res);
254672  if (_v) {
254673  {
254674  int res = SWIG_AsVal_float(argv[1], NULL);
254675  _v = SWIG_CheckState(res);
254676  }
254677  if (_v) {
254678  return _wrap_Simulator_RecFieldSelRadius__SWIG_3(self, args);
254679  }
254680  }
254681  }
254682  if (argc == 3) {
254683  int _v;
254684  void *vptr = 0;
254685  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
254686  _v = SWIG_CheckState(res);
254687  if (_v) {
254688  {
254689  int res = SWIG_AsVal_float(argv[1], NULL);
254690  _v = SWIG_CheckState(res);
254691  }
254692  if (_v) {
254693  {
254694  int res = SWIG_AsVal_bool(argv[2], NULL);
254695  _v = SWIG_CheckState(res);
254696  }
254697  if (_v) {
254698  return _wrap_Simulator_RecFieldSelRadius__SWIG_2(self, args);
254699  }
254700  }
254701  }
254702  }
254703  if (argc == 4) {
254704  int _v;
254705  void *vptr = 0;
254706  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
254707  _v = SWIG_CheckState(res);
254708  if (_v) {
254709  {
254710  int res = SWIG_AsVal_float(argv[1], NULL);
254711  _v = SWIG_CheckState(res);
254712  }
254713  if (_v) {
254714  {
254715  int res = SWIG_AsVal_bool(argv[2], NULL);
254716  _v = SWIG_CheckState(res);
254717  }
254718  if (_v) {
254719  {
254720  int res = SWIG_AsVal_bool(argv[3], NULL);
254721  _v = SWIG_CheckState(res);
254722  }
254723  if (_v) {
254724  return _wrap_Simulator_RecFieldSelRadius__SWIG_1(self, args);
254725  }
254726  }
254727  }
254728  }
254729  }
254730 
254731 fail:
254732  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_RecFieldSelRadius'.\n"
254733  " Possible C/C++ prototypes are:\n"
254734  " AnimatSim::Simulator::RecFieldSelRadius()\n"
254735  " AnimatSim::Simulator::RecFieldSelRadius(float,bool,bool)\n"
254736  " AnimatSim::Simulator::RecFieldSelRadius(float,bool)\n"
254737  " AnimatSim::Simulator::RecFieldSelRadius(float)\n");
254738  return 0;
254739 }
254740 
254741 
254742 SWIGINTERN PyObject *_wrap_Simulator_PlaybackControlMode__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
254743  PyObject *resultobj = 0;
254745  void *argp1 = 0 ;
254746  int res1 = 0 ;
254747  PyObject * obj0 = 0 ;
254748  int result;
254749 
254750  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_PlaybackControlMode",&obj0)) SWIG_fail;
254751  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
254752  if (!SWIG_IsOK(res1)) {
254753  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_PlaybackControlMode" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
254754  }
254755  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
254756  {
254757  try {
254758  result = (int)(arg1)->PlaybackControlMode();
254759  }
254760  catch(CStdErrorInfo oError)
254761  {
254762  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254763  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
254764  PyErr_SetString(PyExc_IndexError, strError.c_str());
254765  SWIG_fail;
254766  }
254767  catch(...)
254768  {
254769  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254770  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254771  SWIG_fail;
254772  }
254773  }
254774  resultobj = SWIG_From_int(static_cast< int >(result));
254775  return resultobj;
254776 fail:
254777  return NULL;
254778 }
254779 
254780 
254781 SWIGINTERN PyObject *_wrap_Simulator_PlaybackControlMode__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
254782  PyObject *resultobj = 0;
254784  int arg2 ;
254785  void *argp1 = 0 ;
254786  int res1 = 0 ;
254787  int val2 ;
254788  int ecode2 = 0 ;
254789  PyObject * obj0 = 0 ;
254790  PyObject * obj1 = 0 ;
254791 
254792  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_PlaybackControlMode",&obj0,&obj1)) SWIG_fail;
254793  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
254794  if (!SWIG_IsOK(res1)) {
254795  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_PlaybackControlMode" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
254796  }
254797  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
254798  ecode2 = SWIG_AsVal_int(obj1, &val2);
254799  if (!SWIG_IsOK(ecode2)) {
254800  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_PlaybackControlMode" "', argument " "2"" of type '" "int""'");
254801  }
254802  arg2 = static_cast< int >(val2);
254803  {
254804  try {
254805  (arg1)->PlaybackControlMode(arg2);
254806  }
254807  catch(CStdErrorInfo oError)
254808  {
254809  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254810  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
254811  PyErr_SetString(PyExc_IndexError, strError.c_str());
254812  SWIG_fail;
254813  }
254814  catch(...)
254815  {
254816  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254817  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254818  SWIG_fail;
254819  }
254820  }
254821  resultobj = SWIG_Py_Void();
254822  return resultobj;
254823 fail:
254824  return NULL;
254825 }
254826 
254827 
254828 SWIGINTERN PyObject *_wrap_Simulator_PlaybackControlMode(PyObject *self, PyObject *args) {
254829  int argc;
254830  PyObject *argv[3];
254831  int ii;
254832 
254833  if (!PyTuple_Check(args)) SWIG_fail;
254834  argc = args ? (int)PyObject_Length(args) : 0;
254835  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
254836  argv[ii] = PyTuple_GET_ITEM(args,ii);
254837  }
254838  if (argc == 1) {
254839  int _v;
254840  void *vptr = 0;
254841  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
254842  _v = SWIG_CheckState(res);
254843  if (_v) {
254844  return _wrap_Simulator_PlaybackControlMode__SWIG_0(self, args);
254845  }
254846  }
254847  if (argc == 2) {
254848  int _v;
254849  void *vptr = 0;
254850  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
254851  _v = SWIG_CheckState(res);
254852  if (_v) {
254853  {
254854  int res = SWIG_AsVal_int(argv[1], NULL);
254855  _v = SWIG_CheckState(res);
254856  }
254857  if (_v) {
254858  return _wrap_Simulator_PlaybackControlMode__SWIG_1(self, args);
254859  }
254860  }
254861  }
254862 
254863 fail:
254864  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_PlaybackControlMode'.\n"
254865  " Possible C/C++ prototypes are:\n"
254866  " AnimatSim::Simulator::PlaybackControlMode()\n"
254867  " AnimatSim::Simulator::PlaybackControlMode(int)\n");
254868  return 0;
254869 }
254870 
254871 
254872 SWIGINTERN PyObject *_wrap_Simulator_PresetPlaybackTimeStep__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
254873  PyObject *resultobj = 0;
254875  void *argp1 = 0 ;
254876  int res1 = 0 ;
254877  PyObject * obj0 = 0 ;
254878  float result;
254879 
254880  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_PresetPlaybackTimeStep",&obj0)) SWIG_fail;
254881  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
254882  if (!SWIG_IsOK(res1)) {
254883  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_PresetPlaybackTimeStep" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
254884  }
254885  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
254886  {
254887  try {
254888  result = (float)(arg1)->PresetPlaybackTimeStep();
254889  }
254890  catch(CStdErrorInfo oError)
254891  {
254892  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254893  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
254894  PyErr_SetString(PyExc_IndexError, strError.c_str());
254895  SWIG_fail;
254896  }
254897  catch(...)
254898  {
254899  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254900  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254901  SWIG_fail;
254902  }
254903  }
254904  resultobj = SWIG_From_float(static_cast< float >(result));
254905  return resultobj;
254906 fail:
254907  return NULL;
254908 }
254909 
254910 
254911 SWIGINTERN PyObject *_wrap_Simulator_PresetPlaybackTimeStep__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
254912  PyObject *resultobj = 0;
254914  float arg2 ;
254915  void *argp1 = 0 ;
254916  int res1 = 0 ;
254917  float val2 ;
254918  int ecode2 = 0 ;
254919  PyObject * obj0 = 0 ;
254920  PyObject * obj1 = 0 ;
254921 
254922  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_PresetPlaybackTimeStep",&obj0,&obj1)) SWIG_fail;
254923  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
254924  if (!SWIG_IsOK(res1)) {
254925  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_PresetPlaybackTimeStep" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
254926  }
254927  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
254928  ecode2 = SWIG_AsVal_float(obj1, &val2);
254929  if (!SWIG_IsOK(ecode2)) {
254930  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_PresetPlaybackTimeStep" "', argument " "2"" of type '" "float""'");
254931  }
254932  arg2 = static_cast< float >(val2);
254933  {
254934  try {
254935  (arg1)->PresetPlaybackTimeStep(arg2);
254936  }
254937  catch(CStdErrorInfo oError)
254938  {
254939  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254940  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
254941  PyErr_SetString(PyExc_IndexError, strError.c_str());
254942  SWIG_fail;
254943  }
254944  catch(...)
254945  {
254946  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
254947  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
254948  SWIG_fail;
254949  }
254950  }
254951  resultobj = SWIG_Py_Void();
254952  return resultobj;
254953 fail:
254954  return NULL;
254955 }
254956 
254957 
254958 SWIGINTERN PyObject *_wrap_Simulator_PresetPlaybackTimeStep(PyObject *self, PyObject *args) {
254959  int argc;
254960  PyObject *argv[3];
254961  int ii;
254962 
254963  if (!PyTuple_Check(args)) SWIG_fail;
254964  argc = args ? (int)PyObject_Length(args) : 0;
254965  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
254966  argv[ii] = PyTuple_GET_ITEM(args,ii);
254967  }
254968  if (argc == 1) {
254969  int _v;
254970  void *vptr = 0;
254971  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
254972  _v = SWIG_CheckState(res);
254973  if (_v) {
254974  return _wrap_Simulator_PresetPlaybackTimeStep__SWIG_0(self, args);
254975  }
254976  }
254977  if (argc == 2) {
254978  int _v;
254979  void *vptr = 0;
254980  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
254981  _v = SWIG_CheckState(res);
254982  if (_v) {
254983  {
254984  int res = SWIG_AsVal_float(argv[1], NULL);
254985  _v = SWIG_CheckState(res);
254986  }
254987  if (_v) {
254988  return _wrap_Simulator_PresetPlaybackTimeStep__SWIG_1(self, args);
254989  }
254990  }
254991  }
254992 
254993 fail:
254994  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_PresetPlaybackTimeStep'.\n"
254995  " Possible C/C++ prototypes are:\n"
254996  " AnimatSim::Simulator::PresetPlaybackTimeStep()\n"
254997  " AnimatSim::Simulator::PresetPlaybackTimeStep(float)\n");
254998  return 0;
254999 }
255000 
255001 
255002 SWIGINTERN PyObject *_wrap_Simulator_StepStartTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255003  PyObject *resultobj = 0;
255005  void *argp1 = 0 ;
255006  int res1 = 0 ;
255007  PyObject * obj0 = 0 ;
255008  unsigned long long result;
255009 
255010  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_StepStartTick",&obj0)) SWIG_fail;
255011  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255012  if (!SWIG_IsOK(res1)) {
255013  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_StepStartTick" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255014  }
255015  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255016  {
255017  try {
255018  result = (unsigned long long)(arg1)->StepStartTick();
255019  }
255020  catch(CStdErrorInfo oError)
255021  {
255022  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255023  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255024  PyErr_SetString(PyExc_IndexError, strError.c_str());
255025  SWIG_fail;
255026  }
255027  catch(...)
255028  {
255029  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255030  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255031  SWIG_fail;
255032  }
255033  }
255034  resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result));
255035  return resultobj;
255036 fail:
255037  return NULL;
255038 }
255039 
255040 
255041 SWIGINTERN PyObject *_wrap_Simulator_StepSimEndTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255042  PyObject *resultobj = 0;
255044  void *argp1 = 0 ;
255045  int res1 = 0 ;
255046  PyObject * obj0 = 0 ;
255047  unsigned long long result;
255048 
255049  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_StepSimEndTick",&obj0)) SWIG_fail;
255050  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255051  if (!SWIG_IsOK(res1)) {
255052  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_StepSimEndTick" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255053  }
255054  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255055  {
255056  try {
255057  result = (unsigned long long)(arg1)->StepSimEndTick();
255058  }
255059  catch(CStdErrorInfo oError)
255060  {
255061  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255062  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255063  PyErr_SetString(PyExc_IndexError, strError.c_str());
255064  SWIG_fail;
255065  }
255066  catch(...)
255067  {
255068  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255069  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255070  SWIG_fail;
255071  }
255072  }
255073  resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result));
255074  return resultobj;
255075 fail:
255076  return NULL;
255077 }
255078 
255079 
255080 SWIGINTERN PyObject *_wrap_Simulator_DesiredFrameRate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255081  PyObject *resultobj = 0;
255083  void *argp1 = 0 ;
255084  int res1 = 0 ;
255085  PyObject * obj0 = 0 ;
255086  int result;
255087 
255088  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_DesiredFrameRate",&obj0)) SWIG_fail;
255089  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255090  if (!SWIG_IsOK(res1)) {
255091  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_DesiredFrameRate" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255092  }
255093  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255094  {
255095  try {
255096  result = (int)(arg1)->DesiredFrameRate();
255097  }
255098  catch(CStdErrorInfo oError)
255099  {
255100  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255101  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255102  PyErr_SetString(PyExc_IndexError, strError.c_str());
255103  SWIG_fail;
255104  }
255105  catch(...)
255106  {
255107  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255108  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255109  SWIG_fail;
255110  }
255111  }
255112  resultobj = SWIG_From_int(static_cast< int >(result));
255113  return resultobj;
255114 fail:
255115  return NULL;
255116 }
255117 
255118 
255119 SWIGINTERN PyObject *_wrap_Simulator_DesiredFrameStep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255120  PyObject *resultobj = 0;
255122  void *argp1 = 0 ;
255123  int res1 = 0 ;
255124  PyObject * obj0 = 0 ;
255125  float result;
255126 
255127  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_DesiredFrameStep",&obj0)) SWIG_fail;
255128  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255129  if (!SWIG_IsOK(res1)) {
255130  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_DesiredFrameStep" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255131  }
255132  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255133  {
255134  try {
255135  result = (float)(arg1)->DesiredFrameStep();
255136  }
255137  catch(CStdErrorInfo oError)
255138  {
255139  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255140  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255141  PyErr_SetString(PyExc_IndexError, strError.c_str());
255142  SWIG_fail;
255143  }
255144  catch(...)
255145  {
255146  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255147  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255148  SWIG_fail;
255149  }
255150  }
255151  resultobj = SWIG_From_float(static_cast< float >(result));
255152  return resultobj;
255153 fail:
255154  return NULL;
255155 }
255156 
255157 
255158 SWIGINTERN PyObject *_wrap_Simulator_DesiredFrameRate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255159  PyObject *resultobj = 0;
255161  int arg2 ;
255162  void *argp1 = 0 ;
255163  int res1 = 0 ;
255164  int val2 ;
255165  int ecode2 = 0 ;
255166  PyObject * obj0 = 0 ;
255167  PyObject * obj1 = 0 ;
255168 
255169  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_DesiredFrameRate",&obj0,&obj1)) SWIG_fail;
255170  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255171  if (!SWIG_IsOK(res1)) {
255172  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_DesiredFrameRate" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255173  }
255174  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255175  ecode2 = SWIG_AsVal_int(obj1, &val2);
255176  if (!SWIG_IsOK(ecode2)) {
255177  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_DesiredFrameRate" "', argument " "2"" of type '" "int""'");
255178  }
255179  arg2 = static_cast< int >(val2);
255180  {
255181  try {
255182  (arg1)->DesiredFrameRate(arg2);
255183  }
255184  catch(CStdErrorInfo oError)
255185  {
255186  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255187  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255188  PyErr_SetString(PyExc_IndexError, strError.c_str());
255189  SWIG_fail;
255190  }
255191  catch(...)
255192  {
255193  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255194  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255195  SWIG_fail;
255196  }
255197  }
255198  resultobj = SWIG_Py_Void();
255199  return resultobj;
255200 fail:
255201  return NULL;
255202 }
255203 
255204 
255205 SWIGINTERN PyObject *_wrap_Simulator_DesiredFrameRate(PyObject *self, PyObject *args) {
255206  int argc;
255207  PyObject *argv[3];
255208  int ii;
255209 
255210  if (!PyTuple_Check(args)) SWIG_fail;
255211  argc = args ? (int)PyObject_Length(args) : 0;
255212  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
255213  argv[ii] = PyTuple_GET_ITEM(args,ii);
255214  }
255215  if (argc == 1) {
255216  int _v;
255217  void *vptr = 0;
255218  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
255219  _v = SWIG_CheckState(res);
255220  if (_v) {
255221  return _wrap_Simulator_DesiredFrameRate__SWIG_0(self, args);
255222  }
255223  }
255224  if (argc == 2) {
255225  int _v;
255226  void *vptr = 0;
255227  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
255228  _v = SWIG_CheckState(res);
255229  if (_v) {
255230  {
255231  int res = SWIG_AsVal_int(argv[1], NULL);
255232  _v = SWIG_CheckState(res);
255233  }
255234  if (_v) {
255235  return _wrap_Simulator_DesiredFrameRate__SWIG_1(self, args);
255236  }
255237  }
255238  }
255239 
255240 fail:
255241  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_DesiredFrameRate'.\n"
255242  " Possible C/C++ prototypes are:\n"
255243  " AnimatSim::Simulator::DesiredFrameRate()\n"
255244  " AnimatSim::Simulator::DesiredFrameRate(int)\n");
255245  return 0;
255246 }
255247 
255248 
255249 SWIGINTERN PyObject *_wrap_Simulator_RealTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255250  PyObject *resultobj = 0;
255252  void *argp1 = 0 ;
255253  int res1 = 0 ;
255254  PyObject * obj0 = 0 ;
255255  float result;
255256 
255257  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_RealTime",&obj0)) SWIG_fail;
255258  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255259  if (!SWIG_IsOK(res1)) {
255260  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RealTime" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255261  }
255262  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255263  {
255264  try {
255265  result = (float)(arg1)->RealTime();
255266  }
255267  catch(CStdErrorInfo oError)
255268  {
255269  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255270  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255271  PyErr_SetString(PyExc_IndexError, strError.c_str());
255272  SWIG_fail;
255273  }
255274  catch(...)
255275  {
255276  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255277  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255278  SWIG_fail;
255279  }
255280  }
255281  resultobj = SWIG_From_float(static_cast< float >(result));
255282  return resultobj;
255283 fail:
255284  return NULL;
255285 }
255286 
255287 
255288 SWIGINTERN PyObject *_wrap_Simulator_InDrag__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255289  PyObject *resultobj = 0;
255291  void *argp1 = 0 ;
255292  int res1 = 0 ;
255293  PyObject * obj0 = 0 ;
255294  bool result;
255295 
255296  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_InDrag",&obj0)) SWIG_fail;
255297  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255298  if (!SWIG_IsOK(res1)) {
255299  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_InDrag" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255300  }
255301  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255302  {
255303  try {
255304  result = (bool)(arg1)->InDrag();
255305  }
255306  catch(CStdErrorInfo oError)
255307  {
255308  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255309  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255310  PyErr_SetString(PyExc_IndexError, strError.c_str());
255311  SWIG_fail;
255312  }
255313  catch(...)
255314  {
255315  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255316  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255317  SWIG_fail;
255318  }
255319  }
255320  resultobj = SWIG_From_bool(static_cast< bool >(result));
255321  return resultobj;
255322 fail:
255323  return NULL;
255324 }
255325 
255326 
255327 SWIGINTERN PyObject *_wrap_Simulator_InDrag__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255328  PyObject *resultobj = 0;
255330  bool arg2 ;
255331  void *argp1 = 0 ;
255332  int res1 = 0 ;
255333  bool val2 ;
255334  int ecode2 = 0 ;
255335  PyObject * obj0 = 0 ;
255336  PyObject * obj1 = 0 ;
255337 
255338  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_InDrag",&obj0,&obj1)) SWIG_fail;
255339  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255340  if (!SWIG_IsOK(res1)) {
255341  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_InDrag" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255342  }
255343  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255344  ecode2 = SWIG_AsVal_bool(obj1, &val2);
255345  if (!SWIG_IsOK(ecode2)) {
255346  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_InDrag" "', argument " "2"" of type '" "bool""'");
255347  }
255348  arg2 = static_cast< bool >(val2);
255349  {
255350  try {
255351  (arg1)->InDrag(arg2);
255352  }
255353  catch(CStdErrorInfo oError)
255354  {
255355  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255356  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255357  PyErr_SetString(PyExc_IndexError, strError.c_str());
255358  SWIG_fail;
255359  }
255360  catch(...)
255361  {
255362  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255363  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255364  SWIG_fail;
255365  }
255366  }
255367  resultobj = SWIG_Py_Void();
255368  return resultobj;
255369 fail:
255370  return NULL;
255371 }
255372 
255373 
255374 SWIGINTERN PyObject *_wrap_Simulator_InDrag(PyObject *self, PyObject *args) {
255375  int argc;
255376  PyObject *argv[3];
255377  int ii;
255378 
255379  if (!PyTuple_Check(args)) SWIG_fail;
255380  argc = args ? (int)PyObject_Length(args) : 0;
255381  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
255382  argv[ii] = PyTuple_GET_ITEM(args,ii);
255383  }
255384  if (argc == 1) {
255385  int _v;
255386  void *vptr = 0;
255387  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
255388  _v = SWIG_CheckState(res);
255389  if (_v) {
255390  return _wrap_Simulator_InDrag__SWIG_0(self, args);
255391  }
255392  }
255393  if (argc == 2) {
255394  int _v;
255395  void *vptr = 0;
255396  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
255397  _v = SWIG_CheckState(res);
255398  if (_v) {
255399  {
255400  int res = SWIG_AsVal_bool(argv[1], NULL);
255401  _v = SWIG_CheckState(res);
255402  }
255403  if (_v) {
255404  return _wrap_Simulator_InDrag__SWIG_1(self, args);
255405  }
255406  }
255407  }
255408 
255409 fail:
255410  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_InDrag'.\n"
255411  " Possible C/C++ prototypes are:\n"
255412  " AnimatSim::Simulator::InDrag()\n"
255413  " AnimatSim::Simulator::InDrag(bool)\n");
255414  return 0;
255415 }
255416 
255417 
255418 SWIGINTERN PyObject *_wrap_Simulator_RobotAdpaterSynch__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255419  PyObject *resultobj = 0;
255421  void *argp1 = 0 ;
255422  int res1 = 0 ;
255423  PyObject * obj0 = 0 ;
255424  bool result;
255425 
255426  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_RobotAdpaterSynch",&obj0)) SWIG_fail;
255427  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255428  if (!SWIG_IsOK(res1)) {
255429  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RobotAdpaterSynch" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255430  }
255431  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255432  {
255433  try {
255434  result = (bool)(arg1)->RobotAdpaterSynch();
255435  }
255436  catch(CStdErrorInfo oError)
255437  {
255438  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255439  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255440  PyErr_SetString(PyExc_IndexError, strError.c_str());
255441  SWIG_fail;
255442  }
255443  catch(...)
255444  {
255445  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255446  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255447  SWIG_fail;
255448  }
255449  }
255450  resultobj = SWIG_From_bool(static_cast< bool >(result));
255451  return resultobj;
255452 fail:
255453  return NULL;
255454 }
255455 
255456 
255457 SWIGINTERN PyObject *_wrap_Simulator_RobotAdpaterSynch__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255458  PyObject *resultobj = 0;
255460  bool arg2 ;
255461  void *argp1 = 0 ;
255462  int res1 = 0 ;
255463  bool val2 ;
255464  int ecode2 = 0 ;
255465  PyObject * obj0 = 0 ;
255466  PyObject * obj1 = 0 ;
255467 
255468  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_RobotAdpaterSynch",&obj0,&obj1)) SWIG_fail;
255469  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255470  if (!SWIG_IsOK(res1)) {
255471  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RobotAdpaterSynch" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255472  }
255473  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255474  ecode2 = SWIG_AsVal_bool(obj1, &val2);
255475  if (!SWIG_IsOK(ecode2)) {
255476  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_RobotAdpaterSynch" "', argument " "2"" of type '" "bool""'");
255477  }
255478  arg2 = static_cast< bool >(val2);
255479  {
255480  try {
255481  (arg1)->RobotAdpaterSynch(arg2);
255482  }
255483  catch(CStdErrorInfo oError)
255484  {
255485  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255486  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255487  PyErr_SetString(PyExc_IndexError, strError.c_str());
255488  SWIG_fail;
255489  }
255490  catch(...)
255491  {
255492  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255493  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255494  SWIG_fail;
255495  }
255496  }
255497  resultobj = SWIG_Py_Void();
255498  return resultobj;
255499 fail:
255500  return NULL;
255501 }
255502 
255503 
255504 SWIGINTERN PyObject *_wrap_Simulator_RobotAdpaterSynch(PyObject *self, PyObject *args) {
255505  int argc;
255506  PyObject *argv[3];
255507  int ii;
255508 
255509  if (!PyTuple_Check(args)) SWIG_fail;
255510  argc = args ? (int)PyObject_Length(args) : 0;
255511  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
255512  argv[ii] = PyTuple_GET_ITEM(args,ii);
255513  }
255514  if (argc == 1) {
255515  int _v;
255516  void *vptr = 0;
255517  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
255518  _v = SWIG_CheckState(res);
255519  if (_v) {
255520  return _wrap_Simulator_RobotAdpaterSynch__SWIG_0(self, args);
255521  }
255522  }
255523  if (argc == 2) {
255524  int _v;
255525  void *vptr = 0;
255526  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
255527  _v = SWIG_CheckState(res);
255528  if (_v) {
255529  {
255530  int res = SWIG_AsVal_bool(argv[1], NULL);
255531  _v = SWIG_CheckState(res);
255532  }
255533  if (_v) {
255534  return _wrap_Simulator_RobotAdpaterSynch__SWIG_1(self, args);
255535  }
255536  }
255537  }
255538 
255539 fail:
255540  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_RobotAdpaterSynch'.\n"
255541  " Possible C/C++ prototypes are:\n"
255542  " AnimatSim::Simulator::RobotAdpaterSynch()\n"
255543  " AnimatSim::Simulator::RobotAdpaterSynch(bool)\n");
255544  return 0;
255545 }
255546 
255547 
255548 SWIGINTERN PyObject *_wrap_Simulator_InSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255549  PyObject *resultobj = 0;
255551  void *argp1 = 0 ;
255552  int res1 = 0 ;
255553  PyObject * obj0 = 0 ;
255554  bool result;
255555 
255556  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_InSimulation",&obj0)) SWIG_fail;
255557  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255558  if (!SWIG_IsOK(res1)) {
255559  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_InSimulation" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255560  }
255561  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255562  {
255563  try {
255564  result = (bool)(arg1)->InSimulation();
255565  }
255566  catch(CStdErrorInfo oError)
255567  {
255568  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255569  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255570  PyErr_SetString(PyExc_IndexError, strError.c_str());
255571  SWIG_fail;
255572  }
255573  catch(...)
255574  {
255575  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255576  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255577  SWIG_fail;
255578  }
255579  }
255580  resultobj = SWIG_From_bool(static_cast< bool >(result));
255581  return resultobj;
255582 fail:
255583  return NULL;
255584 }
255585 
255586 
255587 SWIGINTERN PyObject *_wrap_Simulator_ForceNoWindows__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255588  PyObject *resultobj = 0;
255590  void *argp1 = 0 ;
255591  int res1 = 0 ;
255592  PyObject * obj0 = 0 ;
255593  bool result;
255594 
255595  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_ForceNoWindows",&obj0)) SWIG_fail;
255596  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255597  if (!SWIG_IsOK(res1)) {
255598  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ForceNoWindows" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255599  }
255600  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255601  {
255602  try {
255603  result = (bool)(arg1)->ForceNoWindows();
255604  }
255605  catch(CStdErrorInfo oError)
255606  {
255607  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255608  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255609  PyErr_SetString(PyExc_IndexError, strError.c_str());
255610  SWIG_fail;
255611  }
255612  catch(...)
255613  {
255614  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255615  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255616  SWIG_fail;
255617  }
255618  }
255619  resultobj = SWIG_From_bool(static_cast< bool >(result));
255620  return resultobj;
255621 fail:
255622  return NULL;
255623 }
255624 
255625 
255626 SWIGINTERN PyObject *_wrap_Simulator_ForceNoWindows__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255627  PyObject *resultobj = 0;
255629  bool arg2 ;
255630  void *argp1 = 0 ;
255631  int res1 = 0 ;
255632  bool val2 ;
255633  int ecode2 = 0 ;
255634  PyObject * obj0 = 0 ;
255635  PyObject * obj1 = 0 ;
255636 
255637  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_ForceNoWindows",&obj0,&obj1)) SWIG_fail;
255638  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255639  if (!SWIG_IsOK(res1)) {
255640  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ForceNoWindows" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255641  }
255642  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255643  ecode2 = SWIG_AsVal_bool(obj1, &val2);
255644  if (!SWIG_IsOK(ecode2)) {
255645  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_ForceNoWindows" "', argument " "2"" of type '" "bool""'");
255646  }
255647  arg2 = static_cast< bool >(val2);
255648  {
255649  try {
255650  (arg1)->ForceNoWindows(arg2);
255651  }
255652  catch(CStdErrorInfo oError)
255653  {
255654  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255655  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255656  PyErr_SetString(PyExc_IndexError, strError.c_str());
255657  SWIG_fail;
255658  }
255659  catch(...)
255660  {
255661  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255662  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255663  SWIG_fail;
255664  }
255665  }
255666  resultobj = SWIG_Py_Void();
255667  return resultobj;
255668 fail:
255669  return NULL;
255670 }
255671 
255672 
255673 SWIGINTERN PyObject *_wrap_Simulator_ForceNoWindows(PyObject *self, PyObject *args) {
255674  int argc;
255675  PyObject *argv[3];
255676  int ii;
255677 
255678  if (!PyTuple_Check(args)) SWIG_fail;
255679  argc = args ? (int)PyObject_Length(args) : 0;
255680  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
255681  argv[ii] = PyTuple_GET_ITEM(args,ii);
255682  }
255683  if (argc == 1) {
255684  int _v;
255685  void *vptr = 0;
255686  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
255687  _v = SWIG_CheckState(res);
255688  if (_v) {
255689  return _wrap_Simulator_ForceNoWindows__SWIG_0(self, args);
255690  }
255691  }
255692  if (argc == 2) {
255693  int _v;
255694  void *vptr = 0;
255695  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
255696  _v = SWIG_CheckState(res);
255697  if (_v) {
255698  {
255699  int res = SWIG_AsVal_bool(argv[1], NULL);
255700  _v = SWIG_CheckState(res);
255701  }
255702  if (_v) {
255703  return _wrap_Simulator_ForceNoWindows__SWIG_1(self, args);
255704  }
255705  }
255706  }
255707 
255708 fail:
255709  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_ForceNoWindows'.\n"
255710  " Possible C/C++ prototypes are:\n"
255711  " AnimatSim::Simulator::ForceNoWindows()\n"
255712  " AnimatSim::Simulator::ForceNoWindows(bool)\n");
255713  return 0;
255714 }
255715 
255716 
255717 SWIGINTERN PyObject *_wrap_Simulator_Script__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255718  PyObject *resultobj = 0;
255720  ScriptProcessor *arg2 = (ScriptProcessor *) 0 ;
255721  void *argp1 = 0 ;
255722  int res1 = 0 ;
255723  void *argp2 = 0 ;
255724  int res2 = 0 ;
255725  PyObject * obj0 = 0 ;
255726  PyObject * obj1 = 0 ;
255727 
255728  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_Script",&obj0,&obj1)) SWIG_fail;
255729  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255730  if (!SWIG_IsOK(res1)) {
255731  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Script" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255732  }
255733  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255734  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ScriptProcessor, 0 | 0 );
255735  if (!SWIG_IsOK(res2)) {
255736  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_Script" "', argument " "2"" of type '" "ScriptProcessor *""'");
255737  }
255738  arg2 = reinterpret_cast< ScriptProcessor * >(argp2);
255739  {
255740  try {
255741  (arg1)->Script(arg2);
255742  }
255743  catch(CStdErrorInfo oError)
255744  {
255745  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255746  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255747  PyErr_SetString(PyExc_IndexError, strError.c_str());
255748  SWIG_fail;
255749  }
255750  catch(...)
255751  {
255752  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255753  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255754  SWIG_fail;
255755  }
255756  }
255757  resultobj = SWIG_Py_Void();
255758  return resultobj;
255759 fail:
255760  return NULL;
255761 }
255762 
255763 
255764 SWIGINTERN PyObject *_wrap_Simulator_Script__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255765  PyObject *resultobj = 0;
255767  void *argp1 = 0 ;
255768  int res1 = 0 ;
255769  PyObject * obj0 = 0 ;
255770  ScriptProcessor *result = 0 ;
255771 
255772  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_Script",&obj0)) SWIG_fail;
255773  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255774  if (!SWIG_IsOK(res1)) {
255775  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Script" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255776  }
255777  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255778  {
255779  try {
255780  result = (ScriptProcessor *)(arg1)->Script();
255781  }
255782  catch(CStdErrorInfo oError)
255783  {
255784  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255785  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255786  PyErr_SetString(PyExc_IndexError, strError.c_str());
255787  SWIG_fail;
255788  }
255789  catch(...)
255790  {
255791  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255792  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255793  SWIG_fail;
255794  }
255795  }
255796  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ScriptProcessor, 0 | 0 );
255797  return resultobj;
255798 fail:
255799  return NULL;
255800 }
255801 
255802 
255803 SWIGINTERN PyObject *_wrap_Simulator_Script(PyObject *self, PyObject *args) {
255804  int argc;
255805  PyObject *argv[3];
255806  int ii;
255807 
255808  if (!PyTuple_Check(args)) SWIG_fail;
255809  argc = args ? (int)PyObject_Length(args) : 0;
255810  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
255811  argv[ii] = PyTuple_GET_ITEM(args,ii);
255812  }
255813  if (argc == 1) {
255814  int _v;
255815  void *vptr = 0;
255816  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
255817  _v = SWIG_CheckState(res);
255818  if (_v) {
255819  return _wrap_Simulator_Script__SWIG_1(self, args);
255820  }
255821  }
255822  if (argc == 2) {
255823  int _v;
255824  void *vptr = 0;
255825  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
255826  _v = SWIG_CheckState(res);
255827  if (_v) {
255828  void *vptr = 0;
255829  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ScriptProcessor, 0);
255830  _v = SWIG_CheckState(res);
255831  if (_v) {
255832  return _wrap_Simulator_Script__SWIG_0(self, args);
255833  }
255834  }
255835  }
255836 
255837 fail:
255838  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_Script'.\n"
255839  " Possible C/C++ prototypes are:\n"
255840  " AnimatSim::Simulator::Script(ScriptProcessor *)\n"
255841  " AnimatSim::Simulator::Script()\n");
255842  return 0;
255843 }
255844 
255845 
255846 SWIGINTERN PyObject *_wrap_Simulator_DistanceUnits__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255847  PyObject *resultobj = 0;
255849  std::string arg2 ;
255850  void *argp1 = 0 ;
255851  int res1 = 0 ;
255852  PyObject * obj0 = 0 ;
255853  PyObject * obj1 = 0 ;
255854 
255855  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_DistanceUnits",&obj0,&obj1)) SWIG_fail;
255856  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255857  if (!SWIG_IsOK(res1)) {
255858  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_DistanceUnits" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255859  }
255860  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255861  {
255862  std::string *ptr = (std::string *)0;
255863  int res = SWIG_AsPtr_std_string(obj1, &ptr);
255864  if (!SWIG_IsOK(res) || !ptr) {
255865  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_DistanceUnits" "', argument " "2"" of type '" "std::string""'");
255866  }
255867  arg2 = *ptr;
255868  if (SWIG_IsNewObj(res)) delete ptr;
255869  }
255870  {
255871  try {
255872  (arg1)->DistanceUnits(arg2);
255873  }
255874  catch(CStdErrorInfo oError)
255875  {
255876  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255877  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255878  PyErr_SetString(PyExc_IndexError, strError.c_str());
255879  SWIG_fail;
255880  }
255881  catch(...)
255882  {
255883  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255884  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255885  SWIG_fail;
255886  }
255887  }
255888  resultobj = SWIG_Py_Void();
255889  return resultobj;
255890 fail:
255891  return NULL;
255892 }
255893 
255894 
255895 SWIGINTERN PyObject *_wrap_Simulator_DistanceUnits__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255896  PyObject *resultobj = 0;
255898  void *argp1 = 0 ;
255899  int res1 = 0 ;
255900  PyObject * obj0 = 0 ;
255901  float result;
255902 
255903  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_DistanceUnits",&obj0)) SWIG_fail;
255904  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255905  if (!SWIG_IsOK(res1)) {
255906  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_DistanceUnits" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255907  }
255908  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255909  {
255910  try {
255911  result = (float)(arg1)->DistanceUnits();
255912  }
255913  catch(CStdErrorInfo oError)
255914  {
255915  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255916  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255917  PyErr_SetString(PyExc_IndexError, strError.c_str());
255918  SWIG_fail;
255919  }
255920  catch(...)
255921  {
255922  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255923  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
255924  SWIG_fail;
255925  }
255926  }
255927  resultobj = SWIG_From_float(static_cast< float >(result));
255928  return resultobj;
255929 fail:
255930  return NULL;
255931 }
255932 
255933 
255934 SWIGINTERN PyObject *_wrap_Simulator_DistanceUnits(PyObject *self, PyObject *args) {
255935  int argc;
255936  PyObject *argv[3];
255937  int ii;
255938 
255939  if (!PyTuple_Check(args)) SWIG_fail;
255940  argc = args ? (int)PyObject_Length(args) : 0;
255941  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
255942  argv[ii] = PyTuple_GET_ITEM(args,ii);
255943  }
255944  if (argc == 1) {
255945  int _v;
255946  void *vptr = 0;
255947  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
255948  _v = SWIG_CheckState(res);
255949  if (_v) {
255950  return _wrap_Simulator_DistanceUnits__SWIG_1(self, args);
255951  }
255952  }
255953  if (argc == 2) {
255954  int _v;
255955  void *vptr = 0;
255956  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
255957  _v = SWIG_CheckState(res);
255958  if (_v) {
255959  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
255960  _v = SWIG_CheckState(res);
255961  if (_v) {
255962  return _wrap_Simulator_DistanceUnits__SWIG_0(self, args);
255963  }
255964  }
255965  }
255966 
255967 fail:
255968  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_DistanceUnits'.\n"
255969  " Possible C/C++ prototypes are:\n"
255970  " AnimatSim::Simulator::DistanceUnits(std::string)\n"
255971  " AnimatSim::Simulator::DistanceUnits()\n");
255972  return 0;
255973 }
255974 
255975 
255976 SWIGINTERN PyObject *_wrap_Simulator_InverseDistanceUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
255977  PyObject *resultobj = 0;
255979  void *argp1 = 0 ;
255980  int res1 = 0 ;
255981  PyObject * obj0 = 0 ;
255982  float result;
255983 
255984  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_InverseDistanceUnits",&obj0)) SWIG_fail;
255985  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
255986  if (!SWIG_IsOK(res1)) {
255987  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_InverseDistanceUnits" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
255988  }
255989  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
255990  {
255991  try {
255992  result = (float)(arg1)->InverseDistanceUnits();
255993  }
255994  catch(CStdErrorInfo oError)
255995  {
255996  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
255997  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
255998  PyErr_SetString(PyExc_IndexError, strError.c_str());
255999  SWIG_fail;
256000  }
256001  catch(...)
256002  {
256003  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256004  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256005  SWIG_fail;
256006  }
256007  }
256008  resultobj = SWIG_From_float(static_cast< float >(result));
256009  return resultobj;
256010 fail:
256011  return NULL;
256012 }
256013 
256014 
256015 SWIGINTERN PyObject *_wrap_Simulator_DenominatorDistanceUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256016  PyObject *resultobj = 0;
256018  void *argp1 = 0 ;
256019  int res1 = 0 ;
256020  PyObject * obj0 = 0 ;
256021  float result;
256022 
256023  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_DenominatorDistanceUnits",&obj0)) SWIG_fail;
256024  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256025  if (!SWIG_IsOK(res1)) {
256026  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_DenominatorDistanceUnits" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256027  }
256028  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256029  {
256030  try {
256031  result = (float)(arg1)->DenominatorDistanceUnits();
256032  }
256033  catch(CStdErrorInfo oError)
256034  {
256035  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256036  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256037  PyErr_SetString(PyExc_IndexError, strError.c_str());
256038  SWIG_fail;
256039  }
256040  catch(...)
256041  {
256042  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256043  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256044  SWIG_fail;
256045  }
256046  }
256047  resultobj = SWIG_From_float(static_cast< float >(result));
256048  return resultobj;
256049 fail:
256050  return NULL;
256051 }
256052 
256053 
256054 SWIGINTERN PyObject *_wrap_Simulator_MassUnits__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256055  PyObject *resultobj = 0;
256057  std::string arg2 ;
256058  void *argp1 = 0 ;
256059  int res1 = 0 ;
256060  PyObject * obj0 = 0 ;
256061  PyObject * obj1 = 0 ;
256062 
256063  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_MassUnits",&obj0,&obj1)) SWIG_fail;
256064  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256065  if (!SWIG_IsOK(res1)) {
256066  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MassUnits" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256067  }
256068  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256069  {
256070  std::string *ptr = (std::string *)0;
256071  int res = SWIG_AsPtr_std_string(obj1, &ptr);
256072  if (!SWIG_IsOK(res) || !ptr) {
256073  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_MassUnits" "', argument " "2"" of type '" "std::string""'");
256074  }
256075  arg2 = *ptr;
256076  if (SWIG_IsNewObj(res)) delete ptr;
256077  }
256078  {
256079  try {
256080  (arg1)->MassUnits(arg2);
256081  }
256082  catch(CStdErrorInfo oError)
256083  {
256084  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256085  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256086  PyErr_SetString(PyExc_IndexError, strError.c_str());
256087  SWIG_fail;
256088  }
256089  catch(...)
256090  {
256091  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256092  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256093  SWIG_fail;
256094  }
256095  }
256096  resultobj = SWIG_Py_Void();
256097  return resultobj;
256098 fail:
256099  return NULL;
256100 }
256101 
256102 
256103 SWIGINTERN PyObject *_wrap_Simulator_MassUnits__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256104  PyObject *resultobj = 0;
256106  void *argp1 = 0 ;
256107  int res1 = 0 ;
256108  PyObject * obj0 = 0 ;
256109  float result;
256110 
256111  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_MassUnits",&obj0)) SWIG_fail;
256112  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256113  if (!SWIG_IsOK(res1)) {
256114  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MassUnits" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256115  }
256116  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256117  {
256118  try {
256119  result = (float)(arg1)->MassUnits();
256120  }
256121  catch(CStdErrorInfo oError)
256122  {
256123  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256124  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256125  PyErr_SetString(PyExc_IndexError, strError.c_str());
256126  SWIG_fail;
256127  }
256128  catch(...)
256129  {
256130  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256131  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256132  SWIG_fail;
256133  }
256134  }
256135  resultobj = SWIG_From_float(static_cast< float >(result));
256136  return resultobj;
256137 fail:
256138  return NULL;
256139 }
256140 
256141 
256142 SWIGINTERN PyObject *_wrap_Simulator_MassUnits(PyObject *self, PyObject *args) {
256143  int argc;
256144  PyObject *argv[3];
256145  int ii;
256146 
256147  if (!PyTuple_Check(args)) SWIG_fail;
256148  argc = args ? (int)PyObject_Length(args) : 0;
256149  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
256150  argv[ii] = PyTuple_GET_ITEM(args,ii);
256151  }
256152  if (argc == 1) {
256153  int _v;
256154  void *vptr = 0;
256155  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
256156  _v = SWIG_CheckState(res);
256157  if (_v) {
256158  return _wrap_Simulator_MassUnits__SWIG_1(self, args);
256159  }
256160  }
256161  if (argc == 2) {
256162  int _v;
256163  void *vptr = 0;
256164  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
256165  _v = SWIG_CheckState(res);
256166  if (_v) {
256167  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
256168  _v = SWIG_CheckState(res);
256169  if (_v) {
256170  return _wrap_Simulator_MassUnits__SWIG_0(self, args);
256171  }
256172  }
256173  }
256174 
256175 fail:
256176  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_MassUnits'.\n"
256177  " Possible C/C++ prototypes are:\n"
256178  " AnimatSim::Simulator::MassUnits(std::string)\n"
256179  " AnimatSim::Simulator::MassUnits()\n");
256180  return 0;
256181 }
256182 
256183 
256184 SWIGINTERN PyObject *_wrap_Simulator_InverseMassUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256185  PyObject *resultobj = 0;
256187  void *argp1 = 0 ;
256188  int res1 = 0 ;
256189  PyObject * obj0 = 0 ;
256190  float result;
256191 
256192  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_InverseMassUnits",&obj0)) SWIG_fail;
256193  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256194  if (!SWIG_IsOK(res1)) {
256195  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_InverseMassUnits" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256196  }
256197  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256198  {
256199  try {
256200  result = (float)(arg1)->InverseMassUnits();
256201  }
256202  catch(CStdErrorInfo oError)
256203  {
256204  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256205  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256206  PyErr_SetString(PyExc_IndexError, strError.c_str());
256207  SWIG_fail;
256208  }
256209  catch(...)
256210  {
256211  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256212  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256213  SWIG_fail;
256214  }
256215  }
256216  resultobj = SWIG_From_float(static_cast< float >(result));
256217  return resultobj;
256218 fail:
256219  return NULL;
256220 }
256221 
256222 
256223 SWIGINTERN PyObject *_wrap_Simulator_DisplayMassUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256224  PyObject *resultobj = 0;
256226  void *argp1 = 0 ;
256227  int res1 = 0 ;
256228  PyObject * obj0 = 0 ;
256229  float result;
256230 
256231  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_DisplayMassUnits",&obj0)) SWIG_fail;
256232  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256233  if (!SWIG_IsOK(res1)) {
256234  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_DisplayMassUnits" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256235  }
256236  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256237  {
256238  try {
256239  result = (float)(arg1)->DisplayMassUnits();
256240  }
256241  catch(CStdErrorInfo oError)
256242  {
256243  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256244  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256245  PyErr_SetString(PyExc_IndexError, strError.c_str());
256246  SWIG_fail;
256247  }
256248  catch(...)
256249  {
256250  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256251  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256252  SWIG_fail;
256253  }
256254  }
256255  resultobj = SWIG_From_float(static_cast< float >(result));
256256  return resultobj;
256257 fail:
256258  return NULL;
256259 }
256260 
256261 
256262 SWIGINTERN PyObject *_wrap_Simulator_GetPositionAndRotationFromD3DMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256263  PyObject *resultobj = 0;
256265  float (*arg2)[4][4] = 0 ;
256266  CStdPoint< float > *arg3 = 0 ;
256267  CStdPoint< float > *arg4 = 0 ;
256268  void *argp1 = 0 ;
256269  int res1 = 0 ;
256270  void *argp2 = 0 ;
256271  int res2 = 0 ;
256272  void *argp3 = 0 ;
256273  int res3 = 0 ;
256274  void *argp4 = 0 ;
256275  int res4 = 0 ;
256276  PyObject * obj0 = 0 ;
256277  PyObject * obj1 = 0 ;
256278  PyObject * obj2 = 0 ;
256279  PyObject * obj3 = 0 ;
256280 
256281  if (!PyArg_ParseTuple(args,(char *)"OOOO:Simulator_GetPositionAndRotationFromD3DMatrix",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
256282  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256283  if (!SWIG_IsOK(res1)) {
256284  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_GetPositionAndRotationFromD3DMatrix" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256285  }
256286  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256287  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_a_4__a_4__float, 0 );
256288  if (!SWIG_IsOK(res2)) {
256289  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_GetPositionAndRotationFromD3DMatrix" "', argument " "2"" of type '" "float (&)[4][4]""'");
256290  }
256291  if (!argp2) {
256292  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_GetPositionAndRotationFromD3DMatrix" "', argument " "2"" of type '" "float (&)[4][4]""'");
256293  }
256294  arg2 = reinterpret_cast< float (*)[4][4] >(argp2);
256295  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPointT_float_t, 0 );
256296  if (!SWIG_IsOK(res3)) {
256297  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_GetPositionAndRotationFromD3DMatrix" "', argument " "3"" of type '" "CStdPoint< float > &""'");
256298  }
256299  if (!argp3) {
256300  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_GetPositionAndRotationFromD3DMatrix" "', argument " "3"" of type '" "CStdPoint< float > &""'");
256301  }
256302  arg3 = reinterpret_cast< CStdPoint< float > * >(argp3);
256303  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_CStdPointT_float_t, 0 );
256304  if (!SWIG_IsOK(res4)) {
256305  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Simulator_GetPositionAndRotationFromD3DMatrix" "', argument " "4"" of type '" "CStdPoint< float > &""'");
256306  }
256307  if (!argp4) {
256308  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_GetPositionAndRotationFromD3DMatrix" "', argument " "4"" of type '" "CStdPoint< float > &""'");
256309  }
256310  arg4 = reinterpret_cast< CStdPoint< float > * >(argp4);
256311  {
256312  try {
256313  (arg1)->GetPositionAndRotationFromD3DMatrix((float (&)[4][4])*arg2,*arg3,*arg4);
256314  }
256315  catch(CStdErrorInfo oError)
256316  {
256317  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256318  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256319  PyErr_SetString(PyExc_IndexError, strError.c_str());
256320  SWIG_fail;
256321  }
256322  catch(...)
256323  {
256324  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256325  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256326  SWIG_fail;
256327  }
256328  }
256329  resultobj = SWIG_Py_Void();
256330  return resultobj;
256331 fail:
256332  return NULL;
256333 }
256334 
256335 
256336 SWIGINTERN PyObject *_wrap_Simulator_GetTimerTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256337  PyObject *resultobj = 0;
256339  void *argp1 = 0 ;
256340  int res1 = 0 ;
256341  PyObject * obj0 = 0 ;
256342  unsigned long long result;
256343 
256344  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_GetTimerTick",&obj0)) SWIG_fail;
256345  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256346  if (!SWIG_IsOK(res1)) {
256347  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_GetTimerTick" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256348  }
256349  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256350  {
256351  try {
256352  result = (unsigned long long)(arg1)->GetTimerTick();
256353  }
256354  catch(CStdErrorInfo oError)
256355  {
256356  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256357  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256358  PyErr_SetString(PyExc_IndexError, strError.c_str());
256359  SWIG_fail;
256360  }
256361  catch(...)
256362  {
256363  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256364  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256365  SWIG_fail;
256366  }
256367  }
256368  resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result));
256369  return resultobj;
256370 fail:
256371  return NULL;
256372 }
256373 
256374 
256375 SWIGINTERN PyObject *_wrap_Simulator_TimerDiff_u(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256376  PyObject *resultobj = 0;
256378  unsigned long long arg2 ;
256379  unsigned long long arg3 ;
256380  void *argp1 = 0 ;
256381  int res1 = 0 ;
256382  unsigned long long val2 ;
256383  int ecode2 = 0 ;
256384  unsigned long long val3 ;
256385  int ecode3 = 0 ;
256386  PyObject * obj0 = 0 ;
256387  PyObject * obj1 = 0 ;
256388  PyObject * obj2 = 0 ;
256389  double result;
256390 
256391  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_TimerDiff_u",&obj0,&obj1,&obj2)) SWIG_fail;
256392  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256393  if (!SWIG_IsOK(res1)) {
256394  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_TimerDiff_u" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256395  }
256396  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256397  ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(obj1, &val2);
256398  if (!SWIG_IsOK(ecode2)) {
256399  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_TimerDiff_u" "', argument " "2"" of type '" "unsigned long long""'");
256400  }
256401  arg2 = static_cast< unsigned long long >(val2);
256402  ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(obj2, &val3);
256403  if (!SWIG_IsOK(ecode3)) {
256404  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_TimerDiff_u" "', argument " "3"" of type '" "unsigned long long""'");
256405  }
256406  arg3 = static_cast< unsigned long long >(val3);
256407  {
256408  try {
256409  result = (double)(arg1)->TimerDiff_u(arg2,arg3);
256410  }
256411  catch(CStdErrorInfo oError)
256412  {
256413  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256414  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256415  PyErr_SetString(PyExc_IndexError, strError.c_str());
256416  SWIG_fail;
256417  }
256418  catch(...)
256419  {
256420  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256421  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256422  SWIG_fail;
256423  }
256424  }
256425  resultobj = SWIG_From_double(static_cast< double >(result));
256426  return resultobj;
256427 fail:
256428  return NULL;
256429 }
256430 
256431 
256432 SWIGINTERN PyObject *_wrap_Simulator_TimerDiff_m(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256433  PyObject *resultobj = 0;
256435  unsigned long long arg2 ;
256436  unsigned long long arg3 ;
256437  void *argp1 = 0 ;
256438  int res1 = 0 ;
256439  unsigned long long val2 ;
256440  int ecode2 = 0 ;
256441  unsigned long long val3 ;
256442  int ecode3 = 0 ;
256443  PyObject * obj0 = 0 ;
256444  PyObject * obj1 = 0 ;
256445  PyObject * obj2 = 0 ;
256446  double result;
256447 
256448  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_TimerDiff_m",&obj0,&obj1,&obj2)) SWIG_fail;
256449  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256450  if (!SWIG_IsOK(res1)) {
256451  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_TimerDiff_m" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256452  }
256453  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256454  ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(obj1, &val2);
256455  if (!SWIG_IsOK(ecode2)) {
256456  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_TimerDiff_m" "', argument " "2"" of type '" "unsigned long long""'");
256457  }
256458  arg2 = static_cast< unsigned long long >(val2);
256459  ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(obj2, &val3);
256460  if (!SWIG_IsOK(ecode3)) {
256461  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_TimerDiff_m" "', argument " "3"" of type '" "unsigned long long""'");
256462  }
256463  arg3 = static_cast< unsigned long long >(val3);
256464  {
256465  try {
256466  result = (double)(arg1)->TimerDiff_m(arg2,arg3);
256467  }
256468  catch(CStdErrorInfo oError)
256469  {
256470  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256471  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256472  PyErr_SetString(PyExc_IndexError, strError.c_str());
256473  SWIG_fail;
256474  }
256475  catch(...)
256476  {
256477  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256478  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256479  SWIG_fail;
256480  }
256481  }
256482  resultobj = SWIG_From_double(static_cast< double >(result));
256483  return resultobj;
256484 fail:
256485  return NULL;
256486 }
256487 
256488 
256489 SWIGINTERN PyObject *_wrap_Simulator_TimerDiff_s(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256490  PyObject *resultobj = 0;
256492  unsigned long long arg2 ;
256493  unsigned long long arg3 ;
256494  void *argp1 = 0 ;
256495  int res1 = 0 ;
256496  unsigned long long val2 ;
256497  int ecode2 = 0 ;
256498  unsigned long long val3 ;
256499  int ecode3 = 0 ;
256500  PyObject * obj0 = 0 ;
256501  PyObject * obj1 = 0 ;
256502  PyObject * obj2 = 0 ;
256503  double result;
256504 
256505  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_TimerDiff_s",&obj0,&obj1,&obj2)) SWIG_fail;
256506  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256507  if (!SWIG_IsOK(res1)) {
256508  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_TimerDiff_s" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256509  }
256510  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256511  ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(obj1, &val2);
256512  if (!SWIG_IsOK(ecode2)) {
256513  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_TimerDiff_s" "', argument " "2"" of type '" "unsigned long long""'");
256514  }
256515  arg2 = static_cast< unsigned long long >(val2);
256516  ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(obj2, &val3);
256517  if (!SWIG_IsOK(ecode3)) {
256518  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_TimerDiff_s" "', argument " "3"" of type '" "unsigned long long""'");
256519  }
256520  arg3 = static_cast< unsigned long long >(val3);
256521  {
256522  try {
256523  result = (double)(arg1)->TimerDiff_s(arg2,arg3);
256524  }
256525  catch(CStdErrorInfo oError)
256526  {
256527  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256528  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256529  PyErr_SetString(PyExc_IndexError, strError.c_str());
256530  SWIG_fail;
256531  }
256532  catch(...)
256533  {
256534  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256535  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256536  SWIG_fail;
256537  }
256538  }
256539  resultobj = SWIG_From_double(static_cast< double >(result));
256540  return resultobj;
256541 fail:
256542  return NULL;
256543 }
256544 
256545 
256546 SWIGINTERN PyObject *_wrap_Simulator_MicroSleep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256547  PyObject *resultobj = 0;
256549  unsigned int arg2 ;
256550  void *argp1 = 0 ;
256551  int res1 = 0 ;
256552  unsigned int val2 ;
256553  int ecode2 = 0 ;
256554  PyObject * obj0 = 0 ;
256555  PyObject * obj1 = 0 ;
256556 
256557  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_MicroSleep",&obj0,&obj1)) SWIG_fail;
256558  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256559  if (!SWIG_IsOK(res1)) {
256560  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MicroSleep" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256561  }
256562  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256563  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
256564  if (!SWIG_IsOK(ecode2)) {
256565  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_MicroSleep" "', argument " "2"" of type '" "unsigned int""'");
256566  }
256567  arg2 = static_cast< unsigned int >(val2);
256568  {
256569  try {
256570  (arg1)->MicroSleep(arg2);
256571  }
256572  catch(CStdErrorInfo oError)
256573  {
256574  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256575  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256576  PyErr_SetString(PyExc_IndexError, strError.c_str());
256577  SWIG_fail;
256578  }
256579  catch(...)
256580  {
256581  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256582  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256583  SWIG_fail;
256584  }
256585  }
256586  resultobj = SWIG_Py_Void();
256587  return resultobj;
256588 fail:
256589  return NULL;
256590 }
256591 
256592 
256593 SWIGINTERN PyObject *_wrap_Simulator_MicroWait(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256594  PyObject *resultobj = 0;
256596  unsigned int arg2 ;
256597  void *argp1 = 0 ;
256598  int res1 = 0 ;
256599  unsigned int val2 ;
256600  int ecode2 = 0 ;
256601  PyObject * obj0 = 0 ;
256602  PyObject * obj1 = 0 ;
256603 
256604  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_MicroWait",&obj0,&obj1)) SWIG_fail;
256605  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256606  if (!SWIG_IsOK(res1)) {
256607  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MicroWait" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256608  }
256609  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256610  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
256611  if (!SWIG_IsOK(ecode2)) {
256612  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_MicroWait" "', argument " "2"" of type '" "unsigned int""'");
256613  }
256614  arg2 = static_cast< unsigned int >(val2);
256615  {
256616  try {
256617  (arg1)->MicroWait(arg2);
256618  }
256619  catch(CStdErrorInfo oError)
256620  {
256621  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256622  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256623  PyErr_SetString(PyExc_IndexError, strError.c_str());
256624  SWIG_fail;
256625  }
256626  catch(...)
256627  {
256628  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256629  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256630  SWIG_fail;
256631  }
256632  }
256633  resultobj = SWIG_Py_Void();
256634  return resultobj;
256635 fail:
256636  return NULL;
256637 }
256638 
256639 
256640 SWIGINTERN PyObject *_wrap_Simulator_WriteToConsole(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256641  PyObject *resultobj = 0;
256643  std::string arg2 ;
256644  void *argp1 = 0 ;
256645  int res1 = 0 ;
256646  PyObject * obj0 = 0 ;
256647  PyObject * obj1 = 0 ;
256648 
256649  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_WriteToConsole",&obj0,&obj1)) SWIG_fail;
256650  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256651  if (!SWIG_IsOK(res1)) {
256652  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_WriteToConsole" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256653  }
256654  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256655  {
256656  std::string *ptr = (std::string *)0;
256657  int res = SWIG_AsPtr_std_string(obj1, &ptr);
256658  if (!SWIG_IsOK(res) || !ptr) {
256659  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_WriteToConsole" "', argument " "2"" of type '" "std::string""'");
256660  }
256661  arg2 = *ptr;
256662  if (SWIG_IsNewObj(res)) delete ptr;
256663  }
256664  {
256665  try {
256666  (arg1)->WriteToConsole(arg2);
256667  }
256668  catch(CStdErrorInfo oError)
256669  {
256670  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256671  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256672  PyErr_SetString(PyExc_IndexError, strError.c_str());
256673  SWIG_fail;
256674  }
256675  catch(...)
256676  {
256677  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256678  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256679  SWIG_fail;
256680  }
256681  }
256682  resultobj = SWIG_Py_Void();
256683  return resultobj;
256684 fail:
256685  return NULL;
256686 }
256687 
256688 
256689 SWIGINTERN PyObject *_wrap_Simulator_NotifyRigidBodyAdded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256690  PyObject *resultobj = 0;
256692  std::string arg2 ;
256693  void *argp1 = 0 ;
256694  int res1 = 0 ;
256695  PyObject * obj0 = 0 ;
256696  PyObject * obj1 = 0 ;
256697 
256698  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_NotifyRigidBodyAdded",&obj0,&obj1)) SWIG_fail;
256699  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256700  if (!SWIG_IsOK(res1)) {
256701  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_NotifyRigidBodyAdded" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256702  }
256703  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256704  {
256705  std::string *ptr = (std::string *)0;
256706  int res = SWIG_AsPtr_std_string(obj1, &ptr);
256707  if (!SWIG_IsOK(res) || !ptr) {
256708  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_NotifyRigidBodyAdded" "', argument " "2"" of type '" "std::string""'");
256709  }
256710  arg2 = *ptr;
256711  if (SWIG_IsNewObj(res)) delete ptr;
256712  }
256713  {
256714  try {
256715  (arg1)->NotifyRigidBodyAdded(arg2);
256716  }
256717  catch(CStdErrorInfo oError)
256718  {
256719  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256720  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256721  PyErr_SetString(PyExc_IndexError, strError.c_str());
256722  SWIG_fail;
256723  }
256724  catch(...)
256725  {
256726  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256727  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256728  SWIG_fail;
256729  }
256730  }
256731  resultobj = SWIG_Py_Void();
256732  return resultobj;
256733 fail:
256734  return NULL;
256735 }
256736 
256737 
256738 SWIGINTERN PyObject *_wrap_Simulator_NotifyRigidBodyRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256739  PyObject *resultobj = 0;
256741  std::string arg2 ;
256742  void *argp1 = 0 ;
256743  int res1 = 0 ;
256744  PyObject * obj0 = 0 ;
256745  PyObject * obj1 = 0 ;
256746 
256747  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_NotifyRigidBodyRemoved",&obj0,&obj1)) SWIG_fail;
256748  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256749  if (!SWIG_IsOK(res1)) {
256750  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_NotifyRigidBodyRemoved" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256751  }
256752  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256753  {
256754  std::string *ptr = (std::string *)0;
256755  int res = SWIG_AsPtr_std_string(obj1, &ptr);
256756  if (!SWIG_IsOK(res) || !ptr) {
256757  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_NotifyRigidBodyRemoved" "', argument " "2"" of type '" "std::string""'");
256758  }
256759  arg2 = *ptr;
256760  if (SWIG_IsNewObj(res)) delete ptr;
256761  }
256762  {
256763  try {
256764  (arg1)->NotifyRigidBodyRemoved(arg2);
256765  }
256766  catch(CStdErrorInfo oError)
256767  {
256768  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256769  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256770  PyErr_SetString(PyExc_IndexError, strError.c_str());
256771  SWIG_fail;
256772  }
256773  catch(...)
256774  {
256775  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256776  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256777  SWIG_fail;
256778  }
256779  }
256780  resultobj = SWIG_Py_Void();
256781  return resultobj;
256782 fail:
256783  return NULL;
256784 }
256785 
256786 
256787 SWIGINTERN PyObject *_wrap_Simulator_VideoSliceCount__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256788  PyObject *resultobj = 0;
256790  void *argp1 = 0 ;
256791  int res1 = 0 ;
256792  PyObject * obj0 = 0 ;
256793  long result;
256794 
256795  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_VideoSliceCount",&obj0)) SWIG_fail;
256796  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256797  if (!SWIG_IsOK(res1)) {
256798  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_VideoSliceCount" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256799  }
256800  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256801  {
256802  try {
256803  result = (long)(arg1)->VideoSliceCount();
256804  }
256805  catch(CStdErrorInfo oError)
256806  {
256807  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256808  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256809  PyErr_SetString(PyExc_IndexError, strError.c_str());
256810  SWIG_fail;
256811  }
256812  catch(...)
256813  {
256814  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256815  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256816  SWIG_fail;
256817  }
256818  }
256819  resultobj = SWIG_From_long(static_cast< long >(result));
256820  return resultobj;
256821 fail:
256822  return NULL;
256823 }
256824 
256825 
256826 SWIGINTERN PyObject *_wrap_Simulator_VideoSliceCount__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256827  PyObject *resultobj = 0;
256829  long arg2 ;
256830  void *argp1 = 0 ;
256831  int res1 = 0 ;
256832  long val2 ;
256833  int ecode2 = 0 ;
256834  PyObject * obj0 = 0 ;
256835  PyObject * obj1 = 0 ;
256836 
256837  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_VideoSliceCount",&obj0,&obj1)) SWIG_fail;
256838  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256839  if (!SWIG_IsOK(res1)) {
256840  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_VideoSliceCount" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256841  }
256842  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256843  ecode2 = SWIG_AsVal_long(obj1, &val2);
256844  if (!SWIG_IsOK(ecode2)) {
256845  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_VideoSliceCount" "', argument " "2"" of type '" "long""'");
256846  }
256847  arg2 = static_cast< long >(val2);
256848  {
256849  try {
256850  (arg1)->VideoSliceCount(arg2);
256851  }
256852  catch(CStdErrorInfo oError)
256853  {
256854  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256855  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256856  PyErr_SetString(PyExc_IndexError, strError.c_str());
256857  SWIG_fail;
256858  }
256859  catch(...)
256860  {
256861  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256862  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256863  SWIG_fail;
256864  }
256865  }
256866  resultobj = SWIG_Py_Void();
256867  return resultobj;
256868 fail:
256869  return NULL;
256870 }
256871 
256872 
256873 SWIGINTERN PyObject *_wrap_Simulator_VideoSliceCount(PyObject *self, PyObject *args) {
256874  int argc;
256875  PyObject *argv[3];
256876  int ii;
256877 
256878  if (!PyTuple_Check(args)) SWIG_fail;
256879  argc = args ? (int)PyObject_Length(args) : 0;
256880  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
256881  argv[ii] = PyTuple_GET_ITEM(args,ii);
256882  }
256883  if (argc == 1) {
256884  int _v;
256885  void *vptr = 0;
256886  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
256887  _v = SWIG_CheckState(res);
256888  if (_v) {
256889  return _wrap_Simulator_VideoSliceCount__SWIG_0(self, args);
256890  }
256891  }
256892  if (argc == 2) {
256893  int _v;
256894  void *vptr = 0;
256895  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
256896  _v = SWIG_CheckState(res);
256897  if (_v) {
256898  {
256899  int res = SWIG_AsVal_long(argv[1], NULL);
256900  _v = SWIG_CheckState(res);
256901  }
256902  if (_v) {
256903  return _wrap_Simulator_VideoSliceCount__SWIG_1(self, args);
256904  }
256905  }
256906  }
256907 
256908 fail:
256909  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_VideoSliceCount'.\n"
256910  " Possible C/C++ prototypes are:\n"
256911  " AnimatSim::Simulator::VideoSliceCount()\n"
256912  " AnimatSim::Simulator::VideoSliceCount(long)\n");
256913  return 0;
256914 }
256915 
256916 
256917 SWIGINTERN PyObject *_wrap_Simulator_VideoLoops__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256918  PyObject *resultobj = 0;
256920  void *argp1 = 0 ;
256921  int res1 = 0 ;
256922  PyObject * obj0 = 0 ;
256923  int result;
256924 
256925  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_VideoLoops",&obj0)) SWIG_fail;
256926  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256927  if (!SWIG_IsOK(res1)) {
256928  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_VideoLoops" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256929  }
256930  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256931  {
256932  try {
256933  result = (int)(arg1)->VideoLoops();
256934  }
256935  catch(CStdErrorInfo oError)
256936  {
256937  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256938  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256939  PyErr_SetString(PyExc_IndexError, strError.c_str());
256940  SWIG_fail;
256941  }
256942  catch(...)
256943  {
256944  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256945  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256946  SWIG_fail;
256947  }
256948  }
256949  resultobj = SWIG_From_int(static_cast< int >(result));
256950  return resultobj;
256951 fail:
256952  return NULL;
256953 }
256954 
256955 
256956 SWIGINTERN PyObject *_wrap_Simulator_VideoLoops__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
256957  PyObject *resultobj = 0;
256959  int arg2 ;
256960  void *argp1 = 0 ;
256961  int res1 = 0 ;
256962  int val2 ;
256963  int ecode2 = 0 ;
256964  PyObject * obj0 = 0 ;
256965  PyObject * obj1 = 0 ;
256966 
256967  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_VideoLoops",&obj0,&obj1)) SWIG_fail;
256968  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
256969  if (!SWIG_IsOK(res1)) {
256970  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_VideoLoops" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
256971  }
256972  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
256973  ecode2 = SWIG_AsVal_int(obj1, &val2);
256974  if (!SWIG_IsOK(ecode2)) {
256975  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_VideoLoops" "', argument " "2"" of type '" "int""'");
256976  }
256977  arg2 = static_cast< int >(val2);
256978  {
256979  try {
256980  (arg1)->VideoLoops(arg2);
256981  }
256982  catch(CStdErrorInfo oError)
256983  {
256984  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256985  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
256986  PyErr_SetString(PyExc_IndexError, strError.c_str());
256987  SWIG_fail;
256988  }
256989  catch(...)
256990  {
256991  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
256992  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
256993  SWIG_fail;
256994  }
256995  }
256996  resultobj = SWIG_Py_Void();
256997  return resultobj;
256998 fail:
256999  return NULL;
257000 }
257001 
257002 
257003 SWIGINTERN PyObject *_wrap_Simulator_VideoLoops(PyObject *self, PyObject *args) {
257004  int argc;
257005  PyObject *argv[3];
257006  int ii;
257007 
257008  if (!PyTuple_Check(args)) SWIG_fail;
257009  argc = args ? (int)PyObject_Length(args) : 0;
257010  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
257011  argv[ii] = PyTuple_GET_ITEM(args,ii);
257012  }
257013  if (argc == 1) {
257014  int _v;
257015  void *vptr = 0;
257016  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
257017  _v = SWIG_CheckState(res);
257018  if (_v) {
257019  return _wrap_Simulator_VideoLoops__SWIG_0(self, args);
257020  }
257021  }
257022  if (argc == 2) {
257023  int _v;
257024  void *vptr = 0;
257025  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
257026  _v = SWIG_CheckState(res);
257027  if (_v) {
257028  {
257029  int res = SWIG_AsVal_int(argv[1], NULL);
257030  _v = SWIG_CheckState(res);
257031  }
257032  if (_v) {
257033  return _wrap_Simulator_VideoLoops__SWIG_1(self, args);
257034  }
257035  }
257036  }
257037 
257038 fail:
257039  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_VideoLoops'.\n"
257040  " Possible C/C++ prototypes are:\n"
257041  " AnimatSim::Simulator::VideoLoops()\n"
257042  " AnimatSim::Simulator::VideoLoops(int)\n");
257043  return 0;
257044 }
257045 
257046 
257047 SWIGINTERN PyObject *_wrap_Simulator_VideoRecorder__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257048  PyObject *resultobj = 0;
257050  void *argp1 = 0 ;
257051  int res1 = 0 ;
257052  PyObject * obj0 = 0 ;
257053  KeyFrame *result = 0 ;
257054 
257055  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_VideoRecorder",&obj0)) SWIG_fail;
257056  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257057  if (!SWIG_IsOK(res1)) {
257058  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_VideoRecorder" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257059  }
257060  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257061  {
257062  try {
257063  result = (KeyFrame *)(arg1)->VideoRecorder();
257064  }
257065  catch(CStdErrorInfo oError)
257066  {
257067  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257068  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257069  PyErr_SetString(PyExc_IndexError, strError.c_str());
257070  SWIG_fail;
257071  }
257072  catch(...)
257073  {
257074  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257075  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257076  SWIG_fail;
257077  }
257078  }
257079  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_KeyFrame, 0 | 0 );
257080  return resultobj;
257081 fail:
257082  return NULL;
257083 }
257084 
257085 
257086 SWIGINTERN PyObject *_wrap_Simulator_VideoRecorder__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257087  PyObject *resultobj = 0;
257089  KeyFrame *arg2 = (KeyFrame *) 0 ;
257090  void *argp1 = 0 ;
257091  int res1 = 0 ;
257092  void *argp2 = 0 ;
257093  int res2 = 0 ;
257094  PyObject * obj0 = 0 ;
257095  PyObject * obj1 = 0 ;
257096 
257097  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_VideoRecorder",&obj0,&obj1)) SWIG_fail;
257098  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257099  if (!SWIG_IsOK(res1)) {
257100  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_VideoRecorder" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257101  }
257102  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257103  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_KeyFrame, 0 | 0 );
257104  if (!SWIG_IsOK(res2)) {
257105  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_VideoRecorder" "', argument " "2"" of type '" "KeyFrame *""'");
257106  }
257107  arg2 = reinterpret_cast< KeyFrame * >(argp2);
257108  {
257109  try {
257110  (arg1)->VideoRecorder(arg2);
257111  }
257112  catch(CStdErrorInfo oError)
257113  {
257114  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257115  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257116  PyErr_SetString(PyExc_IndexError, strError.c_str());
257117  SWIG_fail;
257118  }
257119  catch(...)
257120  {
257121  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257122  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257123  SWIG_fail;
257124  }
257125  }
257126  resultobj = SWIG_Py_Void();
257127  return resultobj;
257128 fail:
257129  return NULL;
257130 }
257131 
257132 
257133 SWIGINTERN PyObject *_wrap_Simulator_VideoRecorder(PyObject *self, PyObject *args) {
257134  int argc;
257135  PyObject *argv[3];
257136  int ii;
257137 
257138  if (!PyTuple_Check(args)) SWIG_fail;
257139  argc = args ? (int)PyObject_Length(args) : 0;
257140  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
257141  argv[ii] = PyTuple_GET_ITEM(args,ii);
257142  }
257143  if (argc == 1) {
257144  int _v;
257145  void *vptr = 0;
257146  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
257147  _v = SWIG_CheckState(res);
257148  if (_v) {
257149  return _wrap_Simulator_VideoRecorder__SWIG_0(self, args);
257150  }
257151  }
257152  if (argc == 2) {
257153  int _v;
257154  void *vptr = 0;
257155  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
257156  _v = SWIG_CheckState(res);
257157  if (_v) {
257158  void *vptr = 0;
257159  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_KeyFrame, 0);
257160  _v = SWIG_CheckState(res);
257161  if (_v) {
257162  return _wrap_Simulator_VideoRecorder__SWIG_1(self, args);
257163  }
257164  }
257165  }
257166 
257167 fail:
257168  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_VideoRecorder'.\n"
257169  " Possible C/C++ prototypes are:\n"
257170  " AnimatSim::Simulator::VideoRecorder()\n"
257171  " AnimatSim::Simulator::VideoRecorder(KeyFrame *)\n");
257172  return 0;
257173 }
257174 
257175 
257176 SWIGINTERN PyObject *_wrap_Simulator_VideoPlayback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257177  PyObject *resultobj = 0;
257179  void *argp1 = 0 ;
257180  int res1 = 0 ;
257181  PyObject * obj0 = 0 ;
257182  KeyFrame *result = 0 ;
257183 
257184  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_VideoPlayback",&obj0)) SWIG_fail;
257185  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257186  if (!SWIG_IsOK(res1)) {
257187  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_VideoPlayback" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257188  }
257189  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257190  {
257191  try {
257192  result = (KeyFrame *)(arg1)->VideoPlayback();
257193  }
257194  catch(CStdErrorInfo oError)
257195  {
257196  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257197  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257198  PyErr_SetString(PyExc_IndexError, strError.c_str());
257199  SWIG_fail;
257200  }
257201  catch(...)
257202  {
257203  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257204  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257205  SWIG_fail;
257206  }
257207  }
257208  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_KeyFrame, 0 | 0 );
257209  return resultobj;
257210 fail:
257211  return NULL;
257212 }
257213 
257214 
257215 SWIGINTERN PyObject *_wrap_Simulator_VideoPlayback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257216  PyObject *resultobj = 0;
257218  KeyFrame *arg2 = (KeyFrame *) 0 ;
257219  void *argp1 = 0 ;
257220  int res1 = 0 ;
257221  void *argp2 = 0 ;
257222  int res2 = 0 ;
257223  PyObject * obj0 = 0 ;
257224  PyObject * obj1 = 0 ;
257225 
257226  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_VideoPlayback",&obj0,&obj1)) SWIG_fail;
257227  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257228  if (!SWIG_IsOK(res1)) {
257229  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_VideoPlayback" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257230  }
257231  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257232  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_KeyFrame, 0 | 0 );
257233  if (!SWIG_IsOK(res2)) {
257234  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_VideoPlayback" "', argument " "2"" of type '" "KeyFrame *""'");
257235  }
257236  arg2 = reinterpret_cast< KeyFrame * >(argp2);
257237  {
257238  try {
257239  (arg1)->VideoPlayback(arg2);
257240  }
257241  catch(CStdErrorInfo oError)
257242  {
257243  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257244  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257245  PyErr_SetString(PyExc_IndexError, strError.c_str());
257246  SWIG_fail;
257247  }
257248  catch(...)
257249  {
257250  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257251  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257252  SWIG_fail;
257253  }
257254  }
257255  resultobj = SWIG_Py_Void();
257256  return resultobj;
257257 fail:
257258  return NULL;
257259 }
257260 
257261 
257262 SWIGINTERN PyObject *_wrap_Simulator_VideoPlayback(PyObject *self, PyObject *args) {
257263  int argc;
257264  PyObject *argv[3];
257265  int ii;
257266 
257267  if (!PyTuple_Check(args)) SWIG_fail;
257268  argc = args ? (int)PyObject_Length(args) : 0;
257269  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
257270  argv[ii] = PyTuple_GET_ITEM(args,ii);
257271  }
257272  if (argc == 1) {
257273  int _v;
257274  void *vptr = 0;
257275  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
257276  _v = SWIG_CheckState(res);
257277  if (_v) {
257278  return _wrap_Simulator_VideoPlayback__SWIG_0(self, args);
257279  }
257280  }
257281  if (argc == 2) {
257282  int _v;
257283  void *vptr = 0;
257284  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
257285  _v = SWIG_CheckState(res);
257286  if (_v) {
257287  void *vptr = 0;
257288  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_KeyFrame, 0);
257289  _v = SWIG_CheckState(res);
257290  if (_v) {
257291  return _wrap_Simulator_VideoPlayback__SWIG_1(self, args);
257292  }
257293  }
257294  }
257295 
257296 fail:
257297  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_VideoPlayback'.\n"
257298  " Possible C/C++ prototypes are:\n"
257299  " AnimatSim::Simulator::VideoPlayback()\n"
257300  " AnimatSim::Simulator::VideoPlayback(KeyFrame *)\n");
257301  return 0;
257302 }
257303 
257304 
257305 SWIGINTERN PyObject *_wrap_Simulator_EnableSimRecording__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257306  PyObject *resultobj = 0;
257308  void *argp1 = 0 ;
257309  int res1 = 0 ;
257310  PyObject * obj0 = 0 ;
257311  bool result;
257312 
257313  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_EnableSimRecording",&obj0)) SWIG_fail;
257314  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257315  if (!SWIG_IsOK(res1)) {
257316  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_EnableSimRecording" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257317  }
257318  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257319  {
257320  try {
257321  result = (bool)(arg1)->EnableSimRecording();
257322  }
257323  catch(CStdErrorInfo oError)
257324  {
257325  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257326  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257327  PyErr_SetString(PyExc_IndexError, strError.c_str());
257328  SWIG_fail;
257329  }
257330  catch(...)
257331  {
257332  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257333  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257334  SWIG_fail;
257335  }
257336  }
257337  resultobj = SWIG_From_bool(static_cast< bool >(result));
257338  return resultobj;
257339 fail:
257340  return NULL;
257341 }
257342 
257343 
257344 SWIGINTERN PyObject *_wrap_Simulator_EnableSimRecording__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257345  PyObject *resultobj = 0;
257347  bool arg2 ;
257348  void *argp1 = 0 ;
257349  int res1 = 0 ;
257350  bool val2 ;
257351  int ecode2 = 0 ;
257352  PyObject * obj0 = 0 ;
257353  PyObject * obj1 = 0 ;
257354 
257355  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_EnableSimRecording",&obj0,&obj1)) SWIG_fail;
257356  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257357  if (!SWIG_IsOK(res1)) {
257358  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_EnableSimRecording" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257359  }
257360  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257361  ecode2 = SWIG_AsVal_bool(obj1, &val2);
257362  if (!SWIG_IsOK(ecode2)) {
257363  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_EnableSimRecording" "', argument " "2"" of type '" "bool""'");
257364  }
257365  arg2 = static_cast< bool >(val2);
257366  {
257367  try {
257368  (arg1)->EnableSimRecording(arg2);
257369  }
257370  catch(CStdErrorInfo oError)
257371  {
257372  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257373  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257374  PyErr_SetString(PyExc_IndexError, strError.c_str());
257375  SWIG_fail;
257376  }
257377  catch(...)
257378  {
257379  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257380  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257381  SWIG_fail;
257382  }
257383  }
257384  resultobj = SWIG_Py_Void();
257385  return resultobj;
257386 fail:
257387  return NULL;
257388 }
257389 
257390 
257391 SWIGINTERN PyObject *_wrap_Simulator_EnableSimRecording(PyObject *self, PyObject *args) {
257392  int argc;
257393  PyObject *argv[3];
257394  int ii;
257395 
257396  if (!PyTuple_Check(args)) SWIG_fail;
257397  argc = args ? (int)PyObject_Length(args) : 0;
257398  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
257399  argv[ii] = PyTuple_GET_ITEM(args,ii);
257400  }
257401  if (argc == 1) {
257402  int _v;
257403  void *vptr = 0;
257404  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
257405  _v = SWIG_CheckState(res);
257406  if (_v) {
257407  return _wrap_Simulator_EnableSimRecording__SWIG_0(self, args);
257408  }
257409  }
257410  if (argc == 2) {
257411  int _v;
257412  void *vptr = 0;
257413  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
257414  _v = SWIG_CheckState(res);
257415  if (_v) {
257416  {
257417  int res = SWIG_AsVal_bool(argv[1], NULL);
257418  _v = SWIG_CheckState(res);
257419  }
257420  if (_v) {
257421  return _wrap_Simulator_EnableSimRecording__SWIG_1(self, args);
257422  }
257423  }
257424  }
257425 
257426 fail:
257427  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_EnableSimRecording'.\n"
257428  " Possible C/C++ prototypes are:\n"
257429  " AnimatSim::Simulator::EnableSimRecording()\n"
257430  " AnimatSim::Simulator::EnableSimRecording(bool)\n");
257431  return 0;
257432 }
257433 
257434 
257435 SWIGINTERN PyObject *_wrap_Simulator_SnapshotByteSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257436  PyObject *resultobj = 0;
257438  void *argp1 = 0 ;
257439  int res1 = 0 ;
257440  PyObject * obj0 = 0 ;
257441  long result;
257442 
257443  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_SnapshotByteSize",&obj0)) SWIG_fail;
257444  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257445  if (!SWIG_IsOK(res1)) {
257446  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SnapshotByteSize" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257447  }
257448  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257449  {
257450  try {
257451  result = (long)(arg1)->SnapshotByteSize();
257452  }
257453  catch(CStdErrorInfo oError)
257454  {
257455  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257456  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257457  PyErr_SetString(PyExc_IndexError, strError.c_str());
257458  SWIG_fail;
257459  }
257460  catch(...)
257461  {
257462  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257463  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257464  SWIG_fail;
257465  }
257466  }
257467  resultobj = SWIG_From_long(static_cast< long >(result));
257468  return resultobj;
257469 fail:
257470  return NULL;
257471 }
257472 
257473 
257474 SWIGINTERN PyObject *_wrap_Simulator_BlockSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257475  PyObject *resultobj = 0;
257477  void *argp1 = 0 ;
257478  int res1 = 0 ;
257479  PyObject * obj0 = 0 ;
257480 
257481  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_BlockSimulation",&obj0)) SWIG_fail;
257482  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257483  if (!SWIG_IsOK(res1)) {
257484  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_BlockSimulation" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257485  }
257486  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257487  {
257488  try {
257489  (arg1)->BlockSimulation();
257490  }
257491  catch(CStdErrorInfo oError)
257492  {
257493  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257494  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257495  PyErr_SetString(PyExc_IndexError, strError.c_str());
257496  SWIG_fail;
257497  }
257498  catch(...)
257499  {
257500  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257501  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257502  SWIG_fail;
257503  }
257504  }
257505  resultobj = SWIG_Py_Void();
257506  return resultobj;
257507 fail:
257508  return NULL;
257509 }
257510 
257511 
257512 SWIGINTERN PyObject *_wrap_Simulator_UnblockSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257513  PyObject *resultobj = 0;
257515  void *argp1 = 0 ;
257516  int res1 = 0 ;
257517  PyObject * obj0 = 0 ;
257518 
257519  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_UnblockSimulation",&obj0)) SWIG_fail;
257520  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257521  if (!SWIG_IsOK(res1)) {
257522  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_UnblockSimulation" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257523  }
257524  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257525  {
257526  try {
257527  (arg1)->UnblockSimulation();
257528  }
257529  catch(CStdErrorInfo oError)
257530  {
257531  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257532  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257533  PyErr_SetString(PyExc_IndexError, strError.c_str());
257534  SWIG_fail;
257535  }
257536  catch(...)
257537  {
257538  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257539  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257540  SWIG_fail;
257541  }
257542  }
257543  resultobj = SWIG_Py_Void();
257544  return resultobj;
257545 fail:
257546  return NULL;
257547 }
257548 
257549 
257550 SWIGINTERN PyObject *_wrap_Simulator_SimulationBlockConfirm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257551  PyObject *resultobj = 0;
257553  void *argp1 = 0 ;
257554  int res1 = 0 ;
257555  PyObject * obj0 = 0 ;
257556  bool result;
257557 
257558  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_SimulationBlockConfirm",&obj0)) SWIG_fail;
257559  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257560  if (!SWIG_IsOK(res1)) {
257561  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SimulationBlockConfirm" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257562  }
257563  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257564  {
257565  try {
257566  result = (bool)(arg1)->SimulationBlockConfirm();
257567  }
257568  catch(CStdErrorInfo oError)
257569  {
257570  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257571  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257572  PyErr_SetString(PyExc_IndexError, strError.c_str());
257573  SWIG_fail;
257574  }
257575  catch(...)
257576  {
257577  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257578  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257579  SWIG_fail;
257580  }
257581  }
257582  resultobj = SWIG_From_bool(static_cast< bool >(result));
257583  return resultobj;
257584 fail:
257585  return NULL;
257586 }
257587 
257588 
257589 SWIGINTERN PyObject *_wrap_Simulator_WaitForSimulationBlock__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257590  PyObject *resultobj = 0;
257592  long arg2 ;
257593  void *argp1 = 0 ;
257594  int res1 = 0 ;
257595  long val2 ;
257596  int ecode2 = 0 ;
257597  PyObject * obj0 = 0 ;
257598  PyObject * obj1 = 0 ;
257599  bool result;
257600 
257601  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_WaitForSimulationBlock",&obj0,&obj1)) SWIG_fail;
257602  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257603  if (!SWIG_IsOK(res1)) {
257604  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_WaitForSimulationBlock" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257605  }
257606  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257607  ecode2 = SWIG_AsVal_long(obj1, &val2);
257608  if (!SWIG_IsOK(ecode2)) {
257609  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_WaitForSimulationBlock" "', argument " "2"" of type '" "long""'");
257610  }
257611  arg2 = static_cast< long >(val2);
257612  {
257613  try {
257614  result = (bool)(arg1)->WaitForSimulationBlock(arg2);
257615  }
257616  catch(CStdErrorInfo oError)
257617  {
257618  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257619  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257620  PyErr_SetString(PyExc_IndexError, strError.c_str());
257621  SWIG_fail;
257622  }
257623  catch(...)
257624  {
257625  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257626  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257627  SWIG_fail;
257628  }
257629  }
257630  resultobj = SWIG_From_bool(static_cast< bool >(result));
257631  return resultobj;
257632 fail:
257633  return NULL;
257634 }
257635 
257636 
257637 SWIGINTERN PyObject *_wrap_Simulator_WaitForSimulationBlock__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257638  PyObject *resultobj = 0;
257640  void *argp1 = 0 ;
257641  int res1 = 0 ;
257642  PyObject * obj0 = 0 ;
257643  bool result;
257644 
257645  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_WaitForSimulationBlock",&obj0)) SWIG_fail;
257646  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257647  if (!SWIG_IsOK(res1)) {
257648  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_WaitForSimulationBlock" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257649  }
257650  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257651  {
257652  try {
257653  result = (bool)(arg1)->WaitForSimulationBlock();
257654  }
257655  catch(CStdErrorInfo oError)
257656  {
257657  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257658  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257659  PyErr_SetString(PyExc_IndexError, strError.c_str());
257660  SWIG_fail;
257661  }
257662  catch(...)
257663  {
257664  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257665  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257666  SWIG_fail;
257667  }
257668  }
257669  resultobj = SWIG_From_bool(static_cast< bool >(result));
257670  return resultobj;
257671 fail:
257672  return NULL;
257673 }
257674 
257675 
257676 SWIGINTERN PyObject *_wrap_Simulator_WaitForSimulationBlock(PyObject *self, PyObject *args) {
257677  int argc;
257678  PyObject *argv[3];
257679  int ii;
257680 
257681  if (!PyTuple_Check(args)) SWIG_fail;
257682  argc = args ? (int)PyObject_Length(args) : 0;
257683  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
257684  argv[ii] = PyTuple_GET_ITEM(args,ii);
257685  }
257686  if (argc == 1) {
257687  int _v;
257688  void *vptr = 0;
257689  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
257690  _v = SWIG_CheckState(res);
257691  if (_v) {
257692  return _wrap_Simulator_WaitForSimulationBlock__SWIG_1(self, args);
257693  }
257694  }
257695  if (argc == 2) {
257696  int _v;
257697  void *vptr = 0;
257698  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
257699  _v = SWIG_CheckState(res);
257700  if (_v) {
257701  {
257702  int res = SWIG_AsVal_long(argv[1], NULL);
257703  _v = SWIG_CheckState(res);
257704  }
257705  if (_v) {
257706  return _wrap_Simulator_WaitForSimulationBlock__SWIG_0(self, args);
257707  }
257708  }
257709  }
257710 
257711 fail:
257712  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_WaitForSimulationBlock'.\n"
257713  " Possible C/C++ prototypes are:\n"
257714  " AnimatSim::Simulator::WaitForSimulationBlock(long)\n"
257715  " AnimatSim::Simulator::WaitForSimulationBlock()\n");
257716  return 0;
257717 }
257718 
257719 
257720 SWIGINTERN PyObject *_wrap_Simulator_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257721  PyObject *resultobj = 0;
257723  void *argp1 = 0 ;
257724  int res1 = 0 ;
257725  PyObject * obj0 = 0 ;
257726 
257727  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_Reset",&obj0)) SWIG_fail;
257728  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257729  if (!SWIG_IsOK(res1)) {
257730  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Reset" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257731  }
257732  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257733  {
257734  try {
257735  (arg1)->Reset();
257736  }
257737  catch(CStdErrorInfo oError)
257738  {
257739  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257740  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257741  PyErr_SetString(PyExc_IndexError, strError.c_str());
257742  SWIG_fail;
257743  }
257744  catch(...)
257745  {
257746  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257747  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257748  SWIG_fail;
257749  }
257750  }
257751  resultobj = SWIG_Py_Void();
257752  return resultobj;
257753 fail:
257754  return NULL;
257755 }
257756 
257757 
257758 SWIGINTERN PyObject *_wrap_Simulator_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257759  PyObject *resultobj = 0;
257761  void *argp1 = 0 ;
257762  int res1 = 0 ;
257763  PyObject * obj0 = 0 ;
257764 
257765  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_ResetSimulation",&obj0)) SWIG_fail;
257766  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257767  if (!SWIG_IsOK(res1)) {
257768  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257769  }
257770  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257771  {
257772  try {
257773  (arg1)->ResetSimulation();
257774  }
257775  catch(CStdErrorInfo oError)
257776  {
257777  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257778  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257779  PyErr_SetString(PyExc_IndexError, strError.c_str());
257780  SWIG_fail;
257781  }
257782  catch(...)
257783  {
257784  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257785  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257786  SWIG_fail;
257787  }
257788  }
257789  resultobj = SWIG_Py_Void();
257790  return resultobj;
257791 fail:
257792  return NULL;
257793 }
257794 
257795 
257796 SWIGINTERN PyObject *_wrap_Simulator_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257797  PyObject *resultobj = 0;
257799  int arg2 ;
257800  char **arg3 = (char **) 0 ;
257801  void *argp1 = 0 ;
257802  int res1 = 0 ;
257803  int val2 ;
257804  int ecode2 = 0 ;
257805  void *argp3 = 0 ;
257806  int res3 = 0 ;
257807  PyObject * obj0 = 0 ;
257808  PyObject * obj1 = 0 ;
257809  PyObject * obj2 = 0 ;
257810 
257811  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_Initialize",&obj0,&obj1,&obj2)) SWIG_fail;
257812  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257813  if (!SWIG_IsOK(res1)) {
257814  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Initialize" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257815  }
257816  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257817  ecode2 = SWIG_AsVal_int(obj1, &val2);
257818  if (!SWIG_IsOK(ecode2)) {
257819  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_Initialize" "', argument " "2"" of type '" "int""'");
257820  }
257821  arg2 = static_cast< int >(val2);
257822  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_p_char, 0 | 0 );
257823  if (!SWIG_IsOK(res3)) {
257824  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_Initialize" "', argument " "3"" of type '" "char const **""'");
257825  }
257826  arg3 = reinterpret_cast< char ** >(argp3);
257827  {
257828  try {
257829  (arg1)->Initialize(arg2,(char const **)arg3);
257830  }
257831  catch(CStdErrorInfo oError)
257832  {
257833  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257834  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257835  PyErr_SetString(PyExc_IndexError, strError.c_str());
257836  SWIG_fail;
257837  }
257838  catch(...)
257839  {
257840  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257841  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257842  SWIG_fail;
257843  }
257844  }
257845  resultobj = SWIG_Py_Void();
257846  return resultobj;
257847 fail:
257848  return NULL;
257849 }
257850 
257851 
257852 SWIGINTERN PyObject *_wrap_Simulator_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257853  PyObject *resultobj = 0;
257855  void *argp1 = 0 ;
257856  int res1 = 0 ;
257857  PyObject * obj0 = 0 ;
257858 
257859  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_Initialize",&obj0)) SWIG_fail;
257860  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257861  if (!SWIG_IsOK(res1)) {
257862  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Initialize" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257863  }
257864  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257865  {
257866  try {
257867  (arg1)->Initialize();
257868  }
257869  catch(CStdErrorInfo oError)
257870  {
257871  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257872  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257873  PyErr_SetString(PyExc_IndexError, strError.c_str());
257874  SWIG_fail;
257875  }
257876  catch(...)
257877  {
257878  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257879  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257880  SWIG_fail;
257881  }
257882  }
257883  resultobj = SWIG_Py_Void();
257884  return resultobj;
257885 fail:
257886  return NULL;
257887 }
257888 
257889 
257890 SWIGINTERN PyObject *_wrap_Simulator_Initialize(PyObject *self, PyObject *args) {
257891  int argc;
257892  PyObject *argv[4];
257893  int ii;
257894 
257895  if (!PyTuple_Check(args)) SWIG_fail;
257896  argc = args ? (int)PyObject_Length(args) : 0;
257897  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
257898  argv[ii] = PyTuple_GET_ITEM(args,ii);
257899  }
257900  if (argc == 1) {
257901  int _v;
257902  void *vptr = 0;
257903  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
257904  _v = SWIG_CheckState(res);
257905  if (_v) {
257906  return _wrap_Simulator_Initialize__SWIG_1(self, args);
257907  }
257908  }
257909  if (argc == 3) {
257910  int _v;
257911  void *vptr = 0;
257912  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
257913  _v = SWIG_CheckState(res);
257914  if (_v) {
257915  {
257916  int res = SWIG_AsVal_int(argv[1], NULL);
257917  _v = SWIG_CheckState(res);
257918  }
257919  if (_v) {
257920  void *vptr = 0;
257921  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_char, 0);
257922  _v = SWIG_CheckState(res);
257923  if (_v) {
257924  return _wrap_Simulator_Initialize__SWIG_0(self, args);
257925  }
257926  }
257927  }
257928  }
257929 
257930 fail:
257931  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_Initialize'.\n"
257932  " Possible C/C++ prototypes are:\n"
257933  " AnimatSim::Simulator::Initialize(int,char const **)\n"
257934  " AnimatSim::Simulator::Initialize()\n");
257935  return 0;
257936 }
257937 
257938 
257939 SWIGINTERN PyObject *_wrap_Simulator_Simulate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257940  PyObject *resultobj = 0;
257942  void *argp1 = 0 ;
257943  int res1 = 0 ;
257944  PyObject * obj0 = 0 ;
257945 
257946  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_Simulate",&obj0)) SWIG_fail;
257947  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257948  if (!SWIG_IsOK(res1)) {
257949  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Simulate" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257950  }
257951  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257952  {
257953  try {
257954  (arg1)->Simulate();
257955  }
257956  catch(CStdErrorInfo oError)
257957  {
257958  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257959  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257960  PyErr_SetString(PyExc_IndexError, strError.c_str());
257961  SWIG_fail;
257962  }
257963  catch(...)
257964  {
257965  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257966  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
257967  SWIG_fail;
257968  }
257969  }
257970  resultobj = SWIG_Py_Void();
257971  return resultobj;
257972 fail:
257973  return NULL;
257974 }
257975 
257976 
257977 SWIGINTERN PyObject *_wrap_Simulator_ShutdownSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
257978  PyObject *resultobj = 0;
257980  void *argp1 = 0 ;
257981  int res1 = 0 ;
257982  PyObject * obj0 = 0 ;
257983 
257984  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_ShutdownSimulation",&obj0)) SWIG_fail;
257985  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
257986  if (!SWIG_IsOK(res1)) {
257987  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ShutdownSimulation" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
257988  }
257989  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
257990  {
257991  try {
257992  (arg1)->ShutdownSimulation();
257993  }
257994  catch(CStdErrorInfo oError)
257995  {
257996  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
257997  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
257998  PyErr_SetString(PyExc_IndexError, strError.c_str());
257999  SWIG_fail;
258000  }
258001  catch(...)
258002  {
258003  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258004  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258005  SWIG_fail;
258006  }
258007  }
258008  resultobj = SWIG_Py_Void();
258009  return resultobj;
258010 fail:
258011  return NULL;
258012 }
258013 
258014 
258015 SWIGINTERN PyObject *_wrap_Simulator_ToggleSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258016  PyObject *resultobj = 0;
258018  void *argp1 = 0 ;
258019  int res1 = 0 ;
258020  PyObject * obj0 = 0 ;
258021 
258022  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_ToggleSimulation",&obj0)) SWIG_fail;
258023  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
258024  if (!SWIG_IsOK(res1)) {
258025  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ToggleSimulation" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
258026  }
258027  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
258028  {
258029  try {
258030  (arg1)->ToggleSimulation();
258031  }
258032  catch(CStdErrorInfo oError)
258033  {
258034  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258035  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258036  PyErr_SetString(PyExc_IndexError, strError.c_str());
258037  SWIG_fail;
258038  }
258039  catch(...)
258040  {
258041  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258042  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258043  SWIG_fail;
258044  }
258045  }
258046  resultobj = SWIG_Py_Void();
258047  return resultobj;
258048 fail:
258049  return NULL;
258050 }
258051 
258052 
258053 SWIGINTERN PyObject *_wrap_Simulator_StopSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258054  PyObject *resultobj = 0;
258056  void *argp1 = 0 ;
258057  int res1 = 0 ;
258058  PyObject * obj0 = 0 ;
258059 
258060  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_StopSimulation",&obj0)) SWIG_fail;
258061  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
258062  if (!SWIG_IsOK(res1)) {
258063  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_StopSimulation" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
258064  }
258065  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
258066  {
258067  try {
258068  (arg1)->StopSimulation();
258069  }
258070  catch(CStdErrorInfo oError)
258071  {
258072  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258073  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258074  PyErr_SetString(PyExc_IndexError, strError.c_str());
258075  SWIG_fail;
258076  }
258077  catch(...)
258078  {
258079  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258080  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258081  SWIG_fail;
258082  }
258083  }
258084  resultobj = SWIG_Py_Void();
258085  return resultobj;
258086 fail:
258087  return NULL;
258088 }
258089 
258090 
258091 SWIGINTERN PyObject *_wrap_Simulator_StartSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258092  PyObject *resultobj = 0;
258094  void *argp1 = 0 ;
258095  int res1 = 0 ;
258096  PyObject * obj0 = 0 ;
258097  bool result;
258098 
258099  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_StartSimulation",&obj0)) SWIG_fail;
258100  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
258101  if (!SWIG_IsOK(res1)) {
258102  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_StartSimulation" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
258103  }
258104  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
258105  {
258106  try {
258107  result = (bool)(arg1)->StartSimulation();
258108  }
258109  catch(CStdErrorInfo oError)
258110  {
258111  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258112  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258113  PyErr_SetString(PyExc_IndexError, strError.c_str());
258114  SWIG_fail;
258115  }
258116  catch(...)
258117  {
258118  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258119  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258120  SWIG_fail;
258121  }
258122  }
258123  resultobj = SWIG_From_bool(static_cast< bool >(result));
258124  return resultobj;
258125 fail:
258126  return NULL;
258127 }
258128 
258129 
258130 SWIGINTERN PyObject *_wrap_Simulator_PauseSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258131  PyObject *resultobj = 0;
258133  void *argp1 = 0 ;
258134  int res1 = 0 ;
258135  PyObject * obj0 = 0 ;
258136  bool result;
258137 
258138  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_PauseSimulation",&obj0)) SWIG_fail;
258139  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
258140  if (!SWIG_IsOK(res1)) {
258141  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_PauseSimulation" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
258142  }
258143  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
258144  {
258145  try {
258146  result = (bool)(arg1)->PauseSimulation();
258147  }
258148  catch(CStdErrorInfo oError)
258149  {
258150  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258151  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258152  PyErr_SetString(PyExc_IndexError, strError.c_str());
258153  SWIG_fail;
258154  }
258155  catch(...)
258156  {
258157  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258158  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258159  SWIG_fail;
258160  }
258161  }
258162  resultobj = SWIG_From_bool(static_cast< bool >(result));
258163  return resultobj;
258164 fail:
258165  return NULL;
258166 }
258167 
258168 
258169 SWIGINTERN PyObject *_wrap_Simulator_RunSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258170  PyObject *resultobj = 0;
258172  void *argp1 = 0 ;
258173  int res1 = 0 ;
258174  PyObject * obj0 = 0 ;
258175 
258176  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_RunSimulation",&obj0)) SWIG_fail;
258177  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
258178  if (!SWIG_IsOK(res1)) {
258179  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RunSimulation" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
258180  }
258181  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
258182  {
258183  try {
258184  (arg1)->RunSimulation();
258185  }
258186  catch(CStdErrorInfo oError)
258187  {
258188  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258189  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258190  PyErr_SetString(PyExc_IndexError, strError.c_str());
258191  SWIG_fail;
258192  }
258193  catch(...)
258194  {
258195  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258196  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258197  SWIG_fail;
258198  }
258199  }
258200  resultobj = SWIG_Py_Void();
258201  return resultobj;
258202 fail:
258203  return NULL;
258204 }
258205 
258206 
258207 SWIGINTERN PyObject *_wrap_Simulator_Load__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258208  PyObject *resultobj = 0;
258210  std::string arg2 ;
258211  void *argp1 = 0 ;
258212  int res1 = 0 ;
258213  PyObject * obj0 = 0 ;
258214  PyObject * obj1 = 0 ;
258215 
258216  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_Load",&obj0,&obj1)) SWIG_fail;
258217  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
258218  if (!SWIG_IsOK(res1)) {
258219  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Load" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
258220  }
258221  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
258222  {
258223  std::string *ptr = (std::string *)0;
258224  int res = SWIG_AsPtr_std_string(obj1, &ptr);
258225  if (!SWIG_IsOK(res) || !ptr) {
258226  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_Load" "', argument " "2"" of type '" "std::string""'");
258227  }
258228  arg2 = *ptr;
258229  if (SWIG_IsNewObj(res)) delete ptr;
258230  }
258231  {
258232  try {
258233  (arg1)->Load(arg2);
258234  }
258235  catch(CStdErrorInfo oError)
258236  {
258237  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258238  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258239  PyErr_SetString(PyExc_IndexError, strError.c_str());
258240  SWIG_fail;
258241  }
258242  catch(...)
258243  {
258244  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258245  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258246  SWIG_fail;
258247  }
258248  }
258249  resultobj = SWIG_Py_Void();
258250  return resultobj;
258251 fail:
258252  return NULL;
258253 }
258254 
258255 
258256 SWIGINTERN PyObject *_wrap_Simulator_Load__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258257  PyObject *resultobj = 0;
258259  void *argp1 = 0 ;
258260  int res1 = 0 ;
258261  PyObject * obj0 = 0 ;
258262 
258263  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_Load",&obj0)) SWIG_fail;
258264  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
258265  if (!SWIG_IsOK(res1)) {
258266  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Load" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
258267  }
258268  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
258269  {
258270  try {
258271  (arg1)->Load();
258272  }
258273  catch(CStdErrorInfo oError)
258274  {
258275  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258276  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258277  PyErr_SetString(PyExc_IndexError, strError.c_str());
258278  SWIG_fail;
258279  }
258280  catch(...)
258281  {
258282  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258283  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258284  SWIG_fail;
258285  }
258286  }
258287  resultobj = SWIG_Py_Void();
258288  return resultobj;
258289 fail:
258290  return NULL;
258291 }
258292 
258293 
258294 SWIGINTERN PyObject *_wrap_Simulator_Load__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258295  PyObject *resultobj = 0;
258297  StdUtils::CStdXml *arg2 = 0 ;
258298  void *argp1 = 0 ;
258299  int res1 = 0 ;
258300  void *argp2 = 0 ;
258301  int res2 = 0 ;
258302  PyObject * obj0 = 0 ;
258303  PyObject * obj1 = 0 ;
258304 
258305  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_Load",&obj0,&obj1)) SWIG_fail;
258306  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
258307  if (!SWIG_IsOK(res1)) {
258308  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Load" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
258309  }
258310  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
258311  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
258312  if (!SWIG_IsOK(res2)) {
258313  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
258314  }
258315  if (!argp2) {
258316  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
258317  }
258318  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
258319  {
258320  try {
258321  (arg1)->Load(*arg2);
258322  }
258323  catch(CStdErrorInfo oError)
258324  {
258325  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258326  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258327  PyErr_SetString(PyExc_IndexError, strError.c_str());
258328  SWIG_fail;
258329  }
258330  catch(...)
258331  {
258332  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258333  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258334  SWIG_fail;
258335  }
258336  }
258337  resultobj = SWIG_Py_Void();
258338  return resultobj;
258339 fail:
258340  return NULL;
258341 }
258342 
258343 
258344 SWIGINTERN PyObject *_wrap_Simulator_Load(PyObject *self, PyObject *args) {
258345  int argc;
258346  PyObject *argv[3];
258347  int ii;
258348 
258349  if (!PyTuple_Check(args)) SWIG_fail;
258350  argc = args ? (int)PyObject_Length(args) : 0;
258351  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
258352  argv[ii] = PyTuple_GET_ITEM(args,ii);
258353  }
258354  if (argc == 1) {
258355  int _v;
258356  void *vptr = 0;
258357  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
258358  _v = SWIG_CheckState(res);
258359  if (_v) {
258360  return _wrap_Simulator_Load__SWIG_1(self, args);
258361  }
258362  }
258363  if (argc == 2) {
258364  int _v;
258365  void *vptr = 0;
258366  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
258367  _v = SWIG_CheckState(res);
258368  if (_v) {
258369  void *vptr = 0;
258370  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
258371  _v = SWIG_CheckState(res);
258372  if (_v) {
258373  return _wrap_Simulator_Load__SWIG_2(self, args);
258374  }
258375  }
258376  }
258377  if (argc == 2) {
258378  int _v;
258379  void *vptr = 0;
258380  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
258381  _v = SWIG_CheckState(res);
258382  if (_v) {
258383  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
258384  _v = SWIG_CheckState(res);
258385  if (_v) {
258386  return _wrap_Simulator_Load__SWIG_0(self, args);
258387  }
258388  }
258389  }
258390 
258391 fail:
258392  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_Load'.\n"
258393  " Possible C/C++ prototypes are:\n"
258394  " AnimatSim::Simulator::Load(std::string)\n"
258395  " AnimatSim::Simulator::Load()\n"
258396  " AnimatSim::Simulator::Load(StdUtils::CStdXml &)\n");
258397  return 0;
258398 }
258399 
258400 
258401 SWIGINTERN PyObject *_wrap_Simulator_Save(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258402  PyObject *resultobj = 0;
258404  std::string arg2 ;
258405  void *argp1 = 0 ;
258406  int res1 = 0 ;
258407  PyObject * obj0 = 0 ;
258408  PyObject * obj1 = 0 ;
258409 
258410  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_Save",&obj0,&obj1)) SWIG_fail;
258411  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
258412  if (!SWIG_IsOK(res1)) {
258413  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_Save" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
258414  }
258415  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
258416  {
258417  std::string *ptr = (std::string *)0;
258418  int res = SWIG_AsPtr_std_string(obj1, &ptr);
258419  if (!SWIG_IsOK(res) || !ptr) {
258420  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_Save" "', argument " "2"" of type '" "std::string""'");
258421  }
258422  arg2 = *ptr;
258423  if (SWIG_IsNewObj(res)) delete ptr;
258424  }
258425  {
258426  try {
258427  (arg1)->Save(arg2);
258428  }
258429  catch(CStdErrorInfo oError)
258430  {
258431  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258432  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258433  PyErr_SetString(PyExc_IndexError, strError.c_str());
258434  SWIG_fail;
258435  }
258436  catch(...)
258437  {
258438  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258439  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258440  SWIG_fail;
258441  }
258442  }
258443  resultobj = SWIG_Py_Void();
258444  return resultobj;
258445 fail:
258446  return NULL;
258447 }
258448 
258449 
258450 SWIGINTERN PyObject *_wrap_Simulator_LoadClassFactory__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258451  PyObject *resultobj = 0;
258452  std::string arg1 ;
258453  bool arg2 ;
258454  bool val2 ;
258455  int ecode2 = 0 ;
258456  PyObject * obj0 = 0 ;
258457  PyObject * obj1 = 0 ;
258458  StdUtils::IStdClassFactory *result = 0 ;
258459 
258460  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_LoadClassFactory",&obj0,&obj1)) SWIG_fail;
258461  {
258462  std::string *ptr = (std::string *)0;
258463  int res = SWIG_AsPtr_std_string(obj0, &ptr);
258464  if (!SWIG_IsOK(res) || !ptr) {
258465  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_LoadClassFactory" "', argument " "1"" of type '" "std::string""'");
258466  }
258467  arg1 = *ptr;
258468  if (SWIG_IsNewObj(res)) delete ptr;
258469  }
258470  ecode2 = SWIG_AsVal_bool(obj1, &val2);
258471  if (!SWIG_IsOK(ecode2)) {
258472  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_LoadClassFactory" "', argument " "2"" of type '" "bool""'");
258473  }
258474  arg2 = static_cast< bool >(val2);
258475  {
258476  try {
258478  }
258479  catch(CStdErrorInfo oError)
258480  {
258481  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258482  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258483  PyErr_SetString(PyExc_IndexError, strError.c_str());
258484  SWIG_fail;
258485  }
258486  catch(...)
258487  {
258488  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258489  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258490  SWIG_fail;
258491  }
258492  }
258493  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__IStdClassFactory, 0 | 0 );
258494  return resultobj;
258495 fail:
258496  return NULL;
258497 }
258498 
258499 
258500 SWIGINTERN PyObject *_wrap_Simulator_LoadClassFactory__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258501  PyObject *resultobj = 0;
258502  std::string arg1 ;
258503  PyObject * obj0 = 0 ;
258504  StdUtils::IStdClassFactory *result = 0 ;
258505 
258506  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_LoadClassFactory",&obj0)) SWIG_fail;
258507  {
258508  std::string *ptr = (std::string *)0;
258509  int res = SWIG_AsPtr_std_string(obj0, &ptr);
258510  if (!SWIG_IsOK(res) || !ptr) {
258511  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_LoadClassFactory" "', argument " "1"" of type '" "std::string""'");
258512  }
258513  arg1 = *ptr;
258514  if (SWIG_IsNewObj(res)) delete ptr;
258515  }
258516  {
258517  try {
258519  }
258520  catch(CStdErrorInfo oError)
258521  {
258522  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258523  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258524  PyErr_SetString(PyExc_IndexError, strError.c_str());
258525  SWIG_fail;
258526  }
258527  catch(...)
258528  {
258529  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258530  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258531  SWIG_fail;
258532  }
258533  }
258534  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__IStdClassFactory, 0 | 0 );
258535  return resultobj;
258536 fail:
258537  return NULL;
258538 }
258539 
258540 
258541 SWIGINTERN PyObject *_wrap_Simulator_LoadClassFactory(PyObject *self, PyObject *args) {
258542  int argc;
258543  PyObject *argv[3];
258544  int ii;
258545 
258546  if (!PyTuple_Check(args)) SWIG_fail;
258547  argc = args ? (int)PyObject_Length(args) : 0;
258548  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
258549  argv[ii] = PyTuple_GET_ITEM(args,ii);
258550  }
258551  if (argc == 1) {
258552  int _v;
258553  int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
258554  _v = SWIG_CheckState(res);
258555  if (_v) {
258556  return _wrap_Simulator_LoadClassFactory__SWIG_1(self, args);
258557  }
258558  }
258559  if (argc == 2) {
258560  int _v;
258561  int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
258562  _v = SWIG_CheckState(res);
258563  if (_v) {
258564  {
258565  int res = SWIG_AsVal_bool(argv[1], NULL);
258566  _v = SWIG_CheckState(res);
258567  }
258568  if (_v) {
258569  return _wrap_Simulator_LoadClassFactory__SWIG_0(self, args);
258570  }
258571  }
258572  }
258573 
258574 fail:
258575  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_LoadClassFactory'.\n"
258576  " Possible C/C++ prototypes are:\n"
258577  " AnimatSim::Simulator::LoadClassFactory(std::string,bool)\n"
258578  " AnimatSim::Simulator::LoadClassFactory(std::string)\n");
258579  return 0;
258580 }
258581 
258582 
258583 SWIGINTERN PyObject *_wrap_Simulator_IncrementPhysicsBodyCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258584  PyObject *resultobj = 0;
258586  void *argp1 = 0 ;
258587  int res1 = 0 ;
258588  PyObject * obj0 = 0 ;
258589 
258590  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_IncrementPhysicsBodyCount",&obj0)) SWIG_fail;
258591  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
258592  if (!SWIG_IsOK(res1)) {
258593  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_IncrementPhysicsBodyCount" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
258594  }
258595  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
258596  {
258597  try {
258598  (arg1)->IncrementPhysicsBodyCount();
258599  }
258600  catch(CStdErrorInfo oError)
258601  {
258602  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258603  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258604  PyErr_SetString(PyExc_IndexError, strError.c_str());
258605  SWIG_fail;
258606  }
258607  catch(...)
258608  {
258609  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258610  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258611  SWIG_fail;
258612  }
258613  }
258614  resultobj = SWIG_Py_Void();
258615  return resultobj;
258616 fail:
258617  return NULL;
258618 }
258619 
258620 
258621 SWIGINTERN PyObject *_wrap_Simulator_CreateObject__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258622  PyObject *resultobj = 0;
258624  std::string arg2 ;
258625  std::string arg3 ;
258626  std::string arg4 ;
258627  bool arg5 ;
258628  void *argp1 = 0 ;
258629  int res1 = 0 ;
258630  bool val5 ;
258631  int ecode5 = 0 ;
258632  PyObject * obj0 = 0 ;
258633  PyObject * obj1 = 0 ;
258634  PyObject * obj2 = 0 ;
258635  PyObject * obj3 = 0 ;
258636  PyObject * obj4 = 0 ;
258637  StdUtils::CStdSerialize *result = 0 ;
258638 
258639  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Simulator_CreateObject",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
258640  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
258641  if (!SWIG_IsOK(res1)) {
258642  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_CreateObject" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
258643  }
258644  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
258645  {
258646  std::string *ptr = (std::string *)0;
258647  int res = SWIG_AsPtr_std_string(obj1, &ptr);
258648  if (!SWIG_IsOK(res) || !ptr) {
258649  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateObject" "', argument " "2"" of type '" "std::string""'");
258650  }
258651  arg2 = *ptr;
258652  if (SWIG_IsNewObj(res)) delete ptr;
258653  }
258654  {
258655  std::string *ptr = (std::string *)0;
258656  int res = SWIG_AsPtr_std_string(obj2, &ptr);
258657  if (!SWIG_IsOK(res) || !ptr) {
258658  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateObject" "', argument " "3"" of type '" "std::string""'");
258659  }
258660  arg3 = *ptr;
258661  if (SWIG_IsNewObj(res)) delete ptr;
258662  }
258663  {
258664  std::string *ptr = (std::string *)0;
258665  int res = SWIG_AsPtr_std_string(obj3, &ptr);
258666  if (!SWIG_IsOK(res) || !ptr) {
258667  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateObject" "', argument " "4"" of type '" "std::string""'");
258668  }
258669  arg4 = *ptr;
258670  if (SWIG_IsNewObj(res)) delete ptr;
258671  }
258672  ecode5 = SWIG_AsVal_bool(obj4, &val5);
258673  if (!SWIG_IsOK(ecode5)) {
258674  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Simulator_CreateObject" "', argument " "5"" of type '" "bool""'");
258675  }
258676  arg5 = static_cast< bool >(val5);
258677  {
258678  try {
258679  result = (StdUtils::CStdSerialize *)(arg1)->CreateObject(arg2,arg3,arg4,arg5);
258680  }
258681  catch(CStdErrorInfo oError)
258682  {
258683  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258684  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258685  PyErr_SetString(PyExc_IndexError, strError.c_str());
258686  SWIG_fail;
258687  }
258688  catch(...)
258689  {
258690  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258691  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258692  SWIG_fail;
258693  }
258694  }
258695  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
258696  return resultobj;
258697 fail:
258698  return NULL;
258699 }
258700 
258701 
258702 SWIGINTERN PyObject *_wrap_Simulator_CreateObject__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258703  PyObject *resultobj = 0;
258705  std::string arg2 ;
258706  std::string arg3 ;
258707  std::string arg4 ;
258708  void *argp1 = 0 ;
258709  int res1 = 0 ;
258710  PyObject * obj0 = 0 ;
258711  PyObject * obj1 = 0 ;
258712  PyObject * obj2 = 0 ;
258713  PyObject * obj3 = 0 ;
258714  StdUtils::CStdSerialize *result = 0 ;
258715 
258716  if (!PyArg_ParseTuple(args,(char *)"OOOO:Simulator_CreateObject",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
258717  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
258718  if (!SWIG_IsOK(res1)) {
258719  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_CreateObject" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
258720  }
258721  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
258722  {
258723  std::string *ptr = (std::string *)0;
258724  int res = SWIG_AsPtr_std_string(obj1, &ptr);
258725  if (!SWIG_IsOK(res) || !ptr) {
258726  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateObject" "', argument " "2"" of type '" "std::string""'");
258727  }
258728  arg2 = *ptr;
258729  if (SWIG_IsNewObj(res)) delete ptr;
258730  }
258731  {
258732  std::string *ptr = (std::string *)0;
258733  int res = SWIG_AsPtr_std_string(obj2, &ptr);
258734  if (!SWIG_IsOK(res) || !ptr) {
258735  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateObject" "', argument " "3"" of type '" "std::string""'");
258736  }
258737  arg3 = *ptr;
258738  if (SWIG_IsNewObj(res)) delete ptr;
258739  }
258740  {
258741  std::string *ptr = (std::string *)0;
258742  int res = SWIG_AsPtr_std_string(obj3, &ptr);
258743  if (!SWIG_IsOK(res) || !ptr) {
258744  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateObject" "', argument " "4"" of type '" "std::string""'");
258745  }
258746  arg4 = *ptr;
258747  if (SWIG_IsNewObj(res)) delete ptr;
258748  }
258749  {
258750  try {
258751  result = (StdUtils::CStdSerialize *)(arg1)->CreateObject(arg2,arg3,arg4);
258752  }
258753  catch(CStdErrorInfo oError)
258754  {
258755  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258756  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258757  PyErr_SetString(PyExc_IndexError, strError.c_str());
258758  SWIG_fail;
258759  }
258760  catch(...)
258761  {
258762  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258763  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258764  SWIG_fail;
258765  }
258766  }
258767  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
258768  return resultobj;
258769 fail:
258770  return NULL;
258771 }
258772 
258773 
258774 SWIGINTERN PyObject *_wrap_Simulator_CreateObject(PyObject *self, PyObject *args) {
258775  int argc;
258776  PyObject *argv[6];
258777  int ii;
258778 
258779  if (!PyTuple_Check(args)) SWIG_fail;
258780  argc = args ? (int)PyObject_Length(args) : 0;
258781  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
258782  argv[ii] = PyTuple_GET_ITEM(args,ii);
258783  }
258784  if (argc == 4) {
258785  int _v;
258786  void *vptr = 0;
258787  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
258788  _v = SWIG_CheckState(res);
258789  if (_v) {
258790  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
258791  _v = SWIG_CheckState(res);
258792  if (_v) {
258793  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
258794  _v = SWIG_CheckState(res);
258795  if (_v) {
258796  int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
258797  _v = SWIG_CheckState(res);
258798  if (_v) {
258799  return _wrap_Simulator_CreateObject__SWIG_1(self, args);
258800  }
258801  }
258802  }
258803  }
258804  }
258805  if (argc == 5) {
258806  int _v;
258807  void *vptr = 0;
258808  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
258809  _v = SWIG_CheckState(res);
258810  if (_v) {
258811  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
258812  _v = SWIG_CheckState(res);
258813  if (_v) {
258814  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
258815  _v = SWIG_CheckState(res);
258816  if (_v) {
258817  int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
258818  _v = SWIG_CheckState(res);
258819  if (_v) {
258820  {
258821  int res = SWIG_AsVal_bool(argv[4], NULL);
258822  _v = SWIG_CheckState(res);
258823  }
258824  if (_v) {
258825  return _wrap_Simulator_CreateObject__SWIG_0(self, args);
258826  }
258827  }
258828  }
258829  }
258830  }
258831  }
258832 
258833 fail:
258834  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_CreateObject'.\n"
258835  " Possible C/C++ prototypes are:\n"
258836  " AnimatSim::Simulator::CreateObject(std::string,std::string,std::string,bool)\n"
258837  " AnimatSim::Simulator::CreateObject(std::string,std::string,std::string)\n");
258838  return 0;
258839 }
258840 
258841 
258842 SWIGINTERN PyObject *_wrap_Simulator_CreateSimulator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258843  PyObject *resultobj = 0;
258844  std::string arg1 ;
258845  std::string arg2 ;
258846  bool arg3 ;
258847  bool val3 ;
258848  int ecode3 = 0 ;
258849  PyObject * obj0 = 0 ;
258850  PyObject * obj1 = 0 ;
258851  PyObject * obj2 = 0 ;
258852  AnimatSim::Simulator *result = 0 ;
258853 
258854  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_CreateSimulator",&obj0,&obj1,&obj2)) SWIG_fail;
258855  {
258856  std::string *ptr = (std::string *)0;
258857  int res = SWIG_AsPtr_std_string(obj0, &ptr);
258858  if (!SWIG_IsOK(res) || !ptr) {
258859  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateSimulator" "', argument " "1"" of type '" "std::string""'");
258860  }
258861  arg1 = *ptr;
258862  if (SWIG_IsNewObj(res)) delete ptr;
258863  }
258864  {
258865  std::string *ptr = (std::string *)0;
258866  int res = SWIG_AsPtr_std_string(obj1, &ptr);
258867  if (!SWIG_IsOK(res) || !ptr) {
258868  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateSimulator" "', argument " "2"" of type '" "std::string""'");
258869  }
258870  arg2 = *ptr;
258871  if (SWIG_IsNewObj(res)) delete ptr;
258872  }
258873  ecode3 = SWIG_AsVal_bool(obj2, &val3);
258874  if (!SWIG_IsOK(ecode3)) {
258875  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_CreateSimulator" "', argument " "3"" of type '" "bool""'");
258876  }
258877  arg3 = static_cast< bool >(val3);
258878  {
258879  try {
258880  result = (AnimatSim::Simulator *)AnimatSim::Simulator::CreateSimulator(arg1,arg2,arg3);
258881  }
258882  catch(CStdErrorInfo oError)
258883  {
258884  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258885  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258886  PyErr_SetString(PyExc_IndexError, strError.c_str());
258887  SWIG_fail;
258888  }
258889  catch(...)
258890  {
258891  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258892  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258893  SWIG_fail;
258894  }
258895  }
258896  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
258897  return resultobj;
258898 fail:
258899  return NULL;
258900 }
258901 
258902 
258903 SWIGINTERN PyObject *_wrap_Simulator_CreateSimulator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258904  PyObject *resultobj = 0;
258905  std::string arg1 ;
258906  std::string arg2 ;
258907  PyObject * obj0 = 0 ;
258908  PyObject * obj1 = 0 ;
258909  AnimatSim::Simulator *result = 0 ;
258910 
258911  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_CreateSimulator",&obj0,&obj1)) SWIG_fail;
258912  {
258913  std::string *ptr = (std::string *)0;
258914  int res = SWIG_AsPtr_std_string(obj0, &ptr);
258915  if (!SWIG_IsOK(res) || !ptr) {
258916  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateSimulator" "', argument " "1"" of type '" "std::string""'");
258917  }
258918  arg1 = *ptr;
258919  if (SWIG_IsNewObj(res)) delete ptr;
258920  }
258921  {
258922  std::string *ptr = (std::string *)0;
258923  int res = SWIG_AsPtr_std_string(obj1, &ptr);
258924  if (!SWIG_IsOK(res) || !ptr) {
258925  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateSimulator" "', argument " "2"" of type '" "std::string""'");
258926  }
258927  arg2 = *ptr;
258928  if (SWIG_IsNewObj(res)) delete ptr;
258929  }
258930  {
258931  try {
258933  }
258934  catch(CStdErrorInfo oError)
258935  {
258936  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258937  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258938  PyErr_SetString(PyExc_IndexError, strError.c_str());
258939  SWIG_fail;
258940  }
258941  catch(...)
258942  {
258943  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258944  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258945  SWIG_fail;
258946  }
258947  }
258948  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
258949  return resultobj;
258950 fail:
258951  return NULL;
258952 }
258953 
258954 
258955 SWIGINTERN PyObject *_wrap_Simulator_CreateSimulator__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
258956  PyObject *resultobj = 0;
258957  std::string arg1 ;
258958  bool arg2 ;
258959  bool val2 ;
258960  int ecode2 = 0 ;
258961  PyObject * obj0 = 0 ;
258962  PyObject * obj1 = 0 ;
258963  AnimatSim::Simulator *result = 0 ;
258964 
258965  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_CreateSimulator",&obj0,&obj1)) SWIG_fail;
258966  {
258967  std::string *ptr = (std::string *)0;
258968  int res = SWIG_AsPtr_std_string(obj0, &ptr);
258969  if (!SWIG_IsOK(res) || !ptr) {
258970  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateSimulator" "', argument " "1"" of type '" "std::string""'");
258971  }
258972  arg1 = *ptr;
258973  if (SWIG_IsNewObj(res)) delete ptr;
258974  }
258975  ecode2 = SWIG_AsVal_bool(obj1, &val2);
258976  if (!SWIG_IsOK(ecode2)) {
258977  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_CreateSimulator" "', argument " "2"" of type '" "bool""'");
258978  }
258979  arg2 = static_cast< bool >(val2);
258980  {
258981  try {
258983  }
258984  catch(CStdErrorInfo oError)
258985  {
258986  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258987  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
258988  PyErr_SetString(PyExc_IndexError, strError.c_str());
258989  SWIG_fail;
258990  }
258991  catch(...)
258992  {
258993  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
258994  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
258995  SWIG_fail;
258996  }
258997  }
258998  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
258999  return resultobj;
259000 fail:
259001  return NULL;
259002 }
259003 
259004 
259005 SWIGINTERN PyObject *_wrap_Simulator_CreateSimulator__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
259006  PyObject *resultobj = 0;
259007  std::string arg1 ;
259008  PyObject * obj0 = 0 ;
259009  AnimatSim::Simulator *result = 0 ;
259010 
259011  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_CreateSimulator",&obj0)) SWIG_fail;
259012  {
259013  std::string *ptr = (std::string *)0;
259014  int res = SWIG_AsPtr_std_string(obj0, &ptr);
259015  if (!SWIG_IsOK(res) || !ptr) {
259016  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateSimulator" "', argument " "1"" of type '" "std::string""'");
259017  }
259018  arg1 = *ptr;
259019  if (SWIG_IsNewObj(res)) delete ptr;
259020  }
259021  {
259022  try {
259024  }
259025  catch(CStdErrorInfo oError)
259026  {
259027  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259028  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
259029  PyErr_SetString(PyExc_IndexError, strError.c_str());
259030  SWIG_fail;
259031  }
259032  catch(...)
259033  {
259034  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259035  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
259036  SWIG_fail;
259037  }
259038  }
259039  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
259040  return resultobj;
259041 fail:
259042  return NULL;
259043 }
259044 
259045 
259046 SWIGINTERN PyObject *_wrap_Simulator_CreateAndInitializeSimulator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
259047  PyObject *resultobj = 0;
259048  std::string arg1 ;
259049  bool arg2 ;
259050  bool val2 ;
259051  int ecode2 = 0 ;
259052  PyObject * obj0 = 0 ;
259053  PyObject * obj1 = 0 ;
259054  AnimatSim::Simulator *result = 0 ;
259055 
259056  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_CreateAndInitializeSimulator",&obj0,&obj1)) SWIG_fail;
259057  {
259058  std::string *ptr = (std::string *)0;
259059  int res = SWIG_AsPtr_std_string(obj0, &ptr);
259060  if (!SWIG_IsOK(res) || !ptr) {
259061  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateAndInitializeSimulator" "', argument " "1"" of type '" "std::string""'");
259062  }
259063  arg1 = *ptr;
259064  if (SWIG_IsNewObj(res)) delete ptr;
259065  }
259066  ecode2 = SWIG_AsVal_bool(obj1, &val2);
259067  if (!SWIG_IsOK(ecode2)) {
259068  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_CreateAndInitializeSimulator" "', argument " "2"" of type '" "bool""'");
259069  }
259070  arg2 = static_cast< bool >(val2);
259071  {
259072  try {
259074  }
259075  catch(CStdErrorInfo oError)
259076  {
259077  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259078  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
259079  PyErr_SetString(PyExc_IndexError, strError.c_str());
259080  SWIG_fail;
259081  }
259082  catch(...)
259083  {
259084  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259085  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
259086  SWIG_fail;
259087  }
259088  }
259089  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
259090  return resultobj;
259091 fail:
259092  return NULL;
259093 }
259094 
259095 
259096 SWIGINTERN PyObject *_wrap_Simulator_CreateAndInitializeSimulator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
259097  PyObject *resultobj = 0;
259098  std::string arg1 ;
259099  PyObject * obj0 = 0 ;
259100  AnimatSim::Simulator *result = 0 ;
259101 
259102  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_CreateAndInitializeSimulator",&obj0)) SWIG_fail;
259103  {
259104  std::string *ptr = (std::string *)0;
259105  int res = SWIG_AsPtr_std_string(obj0, &ptr);
259106  if (!SWIG_IsOK(res) || !ptr) {
259107  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateAndInitializeSimulator" "', argument " "1"" of type '" "std::string""'");
259108  }
259109  arg1 = *ptr;
259110  if (SWIG_IsNewObj(res)) delete ptr;
259111  }
259112  {
259113  try {
259115  }
259116  catch(CStdErrorInfo oError)
259117  {
259118  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259119  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
259120  PyErr_SetString(PyExc_IndexError, strError.c_str());
259121  SWIG_fail;
259122  }
259123  catch(...)
259124  {
259125  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259126  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
259127  SWIG_fail;
259128  }
259129  }
259130  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
259131  return resultobj;
259132 fail:
259133  return NULL;
259134 }
259135 
259136 
259137 SWIGINTERN PyObject *_wrap_Simulator_CreateAndInitializeSimulator(PyObject *self, PyObject *args) {
259138  int argc;
259139  PyObject *argv[3];
259140  int ii;
259141 
259142  if (!PyTuple_Check(args)) SWIG_fail;
259143  argc = args ? (int)PyObject_Length(args) : 0;
259144  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
259145  argv[ii] = PyTuple_GET_ITEM(args,ii);
259146  }
259147  if (argc == 1) {
259148  int _v;
259149  int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
259150  _v = SWIG_CheckState(res);
259151  if (_v) {
259152  return _wrap_Simulator_CreateAndInitializeSimulator__SWIG_1(self, args);
259153  }
259154  }
259155  if (argc == 2) {
259156  int _v;
259157  int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
259158  _v = SWIG_CheckState(res);
259159  if (_v) {
259160  {
259161  int res = SWIG_AsVal_bool(argv[1], NULL);
259162  _v = SWIG_CheckState(res);
259163  }
259164  if (_v) {
259165  return _wrap_Simulator_CreateAndInitializeSimulator__SWIG_0(self, args);
259166  }
259167  }
259168  }
259169 
259170 fail:
259171  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_CreateAndInitializeSimulator'.\n"
259172  " Possible C/C++ prototypes are:\n"
259173  " AnimatSim::Simulator::CreateAndInitializeSimulator(std::string,bool)\n"
259174  " AnimatSim::Simulator::CreateAndInitializeSimulator(std::string)\n");
259175  return 0;
259176 }
259177 
259178 
259179 SWIGINTERN PyObject *_wrap_Simulator_CreateSimulator__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
259180  PyObject *resultobj = 0;
259181  std::string arg1 ;
259182  StdUtils::CStdXml *arg2 = 0 ;
259183  void *argp2 = 0 ;
259184  int res2 = 0 ;
259185  PyObject * obj0 = 0 ;
259186  PyObject * obj1 = 0 ;
259187  AnimatSim::Simulator *result = 0 ;
259188 
259189  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_CreateSimulator",&obj0,&obj1)) SWIG_fail;
259190  {
259191  std::string *ptr = (std::string *)0;
259192  int res = SWIG_AsPtr_std_string(obj0, &ptr);
259193  if (!SWIG_IsOK(res) || !ptr) {
259194  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateSimulator" "', argument " "1"" of type '" "std::string""'");
259195  }
259196  arg1 = *ptr;
259197  if (SWIG_IsNewObj(res)) delete ptr;
259198  }
259199  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
259200  if (!SWIG_IsOK(res2)) {
259201  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_CreateSimulator" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
259202  }
259203  if (!argp2) {
259204  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_CreateSimulator" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
259205  }
259206  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
259207  {
259208  try {
259210  }
259211  catch(CStdErrorInfo oError)
259212  {
259213  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259214  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
259215  PyErr_SetString(PyExc_IndexError, strError.c_str());
259216  SWIG_fail;
259217  }
259218  catch(...)
259219  {
259220  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259221  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
259222  SWIG_fail;
259223  }
259224  }
259225  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
259226  return resultobj;
259227 fail:
259228  return NULL;
259229 }
259230 
259231 
259232 SWIGINTERN PyObject *_wrap_Simulator_CreateSimulator__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
259233  PyObject *resultobj = 0;
259234  std::string arg1 ;
259235  std::string arg2 ;
259236  std::string arg3 ;
259237  PyObject * obj0 = 0 ;
259238  PyObject * obj1 = 0 ;
259239  PyObject * obj2 = 0 ;
259240  AnimatSim::Simulator *result = 0 ;
259241 
259242  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_CreateSimulator",&obj0,&obj1,&obj2)) SWIG_fail;
259243  {
259244  std::string *ptr = (std::string *)0;
259245  int res = SWIG_AsPtr_std_string(obj0, &ptr);
259246  if (!SWIG_IsOK(res) || !ptr) {
259247  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateSimulator" "', argument " "1"" of type '" "std::string""'");
259248  }
259249  arg1 = *ptr;
259250  if (SWIG_IsNewObj(res)) delete ptr;
259251  }
259252  {
259253  std::string *ptr = (std::string *)0;
259254  int res = SWIG_AsPtr_std_string(obj1, &ptr);
259255  if (!SWIG_IsOK(res) || !ptr) {
259256  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateSimulator" "', argument " "2"" of type '" "std::string""'");
259257  }
259258  arg2 = *ptr;
259259  if (SWIG_IsNewObj(res)) delete ptr;
259260  }
259261  {
259262  std::string *ptr = (std::string *)0;
259263  int res = SWIG_AsPtr_std_string(obj2, &ptr);
259264  if (!SWIG_IsOK(res) || !ptr) {
259265  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_CreateSimulator" "', argument " "3"" of type '" "std::string""'");
259266  }
259267  arg3 = *ptr;
259268  if (SWIG_IsNewObj(res)) delete ptr;
259269  }
259270  {
259271  try {
259272  result = (AnimatSim::Simulator *)AnimatSim::Simulator::CreateSimulator(arg1,arg2,arg3);
259273  }
259274  catch(CStdErrorInfo oError)
259275  {
259276  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259277  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
259278  PyErr_SetString(PyExc_IndexError, strError.c_str());
259279  SWIG_fail;
259280  }
259281  catch(...)
259282  {
259283  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259284  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
259285  SWIG_fail;
259286  }
259287  }
259288  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
259289  return resultobj;
259290 fail:
259291  return NULL;
259292 }
259293 
259294 
259295 SWIGINTERN PyObject *_wrap_Simulator_CreateSimulator__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
259296  PyObject *resultobj = 0;
259297  int arg1 ;
259298  char **arg2 = (char **) 0 ;
259299  int val1 ;
259300  int ecode1 = 0 ;
259301  void *argp2 = 0 ;
259302  int res2 = 0 ;
259303  PyObject * obj0 = 0 ;
259304  PyObject * obj1 = 0 ;
259305  AnimatSim::Simulator *result = 0 ;
259306 
259307  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_CreateSimulator",&obj0,&obj1)) SWIG_fail;
259308  ecode1 = SWIG_AsVal_int(obj0, &val1);
259309  if (!SWIG_IsOK(ecode1)) {
259310  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Simulator_CreateSimulator" "', argument " "1"" of type '" "int""'");
259311  }
259312  arg1 = static_cast< int >(val1);
259313  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 | 0 );
259314  if (!SWIG_IsOK(res2)) {
259315  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_CreateSimulator" "', argument " "2"" of type '" "char const **""'");
259316  }
259317  arg2 = reinterpret_cast< char ** >(argp2);
259318  {
259319  try {
259320  result = (AnimatSim::Simulator *)AnimatSim::Simulator::CreateSimulator(arg1,(char const **)arg2);
259321  }
259322  catch(CStdErrorInfo oError)
259323  {
259324  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259325  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
259326  PyErr_SetString(PyExc_IndexError, strError.c_str());
259327  SWIG_fail;
259328  }
259329  catch(...)
259330  {
259331  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259332  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
259333  SWIG_fail;
259334  }
259335  }
259336  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
259337  return resultobj;
259338 fail:
259339  return NULL;
259340 }
259341 
259342 
259343 SWIGINTERN PyObject *_wrap_Simulator_CreateSimulator(PyObject *self, PyObject *args) {
259344  int argc;
259345  PyObject *argv[4];
259346  int ii;
259347 
259348  if (!PyTuple_Check(args)) SWIG_fail;
259349  argc = args ? (int)PyObject_Length(args) : 0;
259350  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
259351  argv[ii] = PyTuple_GET_ITEM(args,ii);
259352  }
259353  if (argc == 1) {
259354  int _v;
259355  int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
259356  _v = SWIG_CheckState(res);
259357  if (_v) {
259358  return _wrap_Simulator_CreateSimulator__SWIG_3(self, args);
259359  }
259360  }
259361  if (argc == 2) {
259362  int _v;
259363  {
259364  int res = SWIG_AsVal_int(argv[0], NULL);
259365  _v = SWIG_CheckState(res);
259366  }
259367  if (_v) {
259368  void *vptr = 0;
259369  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_char, 0);
259370  _v = SWIG_CheckState(res);
259371  if (_v) {
259372  return _wrap_Simulator_CreateSimulator__SWIG_6(self, args);
259373  }
259374  }
259375  }
259376  if (argc == 2) {
259377  int _v;
259378  int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
259379  _v = SWIG_CheckState(res);
259380  if (_v) {
259381  void *vptr = 0;
259382  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_StdUtils__CStdXml, 0);
259383  _v = SWIG_CheckState(res);
259384  if (_v) {
259385  return _wrap_Simulator_CreateSimulator__SWIG_4(self, args);
259386  }
259387  }
259388  }
259389  if (argc == 2) {
259390  int _v;
259391  int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
259392  _v = SWIG_CheckState(res);
259393  if (_v) {
259394  {
259395  int res = SWIG_AsVal_bool(argv[1], NULL);
259396  _v = SWIG_CheckState(res);
259397  }
259398  if (_v) {
259399  return _wrap_Simulator_CreateSimulator__SWIG_2(self, args);
259400  }
259401  }
259402  }
259403  if (argc == 2) {
259404  int _v;
259405  int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
259406  _v = SWIG_CheckState(res);
259407  if (_v) {
259408  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
259409  _v = SWIG_CheckState(res);
259410  if (_v) {
259411  return _wrap_Simulator_CreateSimulator__SWIG_1(self, args);
259412  }
259413  }
259414  }
259415  if (argc == 3) {
259416  int _v;
259417  int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
259418  _v = SWIG_CheckState(res);
259419  if (_v) {
259420  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
259421  _v = SWIG_CheckState(res);
259422  if (_v) {
259423  {
259424  int res = SWIG_AsVal_bool(argv[2], NULL);
259425  _v = SWIG_CheckState(res);
259426  }
259427  if (_v) {
259428  return _wrap_Simulator_CreateSimulator__SWIG_0(self, args);
259429  }
259430  }
259431  }
259432  }
259433  if (argc == 3) {
259434  int _v;
259435  int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
259436  _v = SWIG_CheckState(res);
259437  if (_v) {
259438  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
259439  _v = SWIG_CheckState(res);
259440  if (_v) {
259441  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
259442  _v = SWIG_CheckState(res);
259443  if (_v) {
259444  return _wrap_Simulator_CreateSimulator__SWIG_5(self, args);
259445  }
259446  }
259447  }
259448  }
259449 
259450 fail:
259451  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_CreateSimulator'.\n"
259452  " Possible C/C++ prototypes are:\n"
259453  " AnimatSim::Simulator::CreateSimulator(std::string,std::string,bool)\n"
259454  " AnimatSim::Simulator::CreateSimulator(std::string,std::string)\n"
259455  " AnimatSim::Simulator::CreateSimulator(std::string,bool)\n"
259456  " AnimatSim::Simulator::CreateSimulator(std::string)\n"
259457  " AnimatSim::Simulator::CreateSimulator(std::string,StdUtils::CStdXml &)\n"
259458  " AnimatSim::Simulator::CreateSimulator(std::string,std::string,std::string)\n"
259459  " AnimatSim::Simulator::CreateSimulator(int,char const **)\n");
259460  return 0;
259461 }
259462 
259463 
259464 SWIGINTERN PyObject *_wrap_Simulator_GenerateCollisionMeshFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
259465  PyObject *resultobj = 0;
259467  std::string arg2 ;
259468  std::string arg3 ;
259469  float arg4 ;
259470  float arg5 ;
259471  float arg6 ;
259472  void *argp1 = 0 ;
259473  int res1 = 0 ;
259474  float val4 ;
259475  int ecode4 = 0 ;
259476  float val5 ;
259477  int ecode5 = 0 ;
259478  float val6 ;
259479  int ecode6 = 0 ;
259480  PyObject * obj0 = 0 ;
259481  PyObject * obj1 = 0 ;
259482  PyObject * obj2 = 0 ;
259483  PyObject * obj3 = 0 ;
259484  PyObject * obj4 = 0 ;
259485  PyObject * obj5 = 0 ;
259486 
259487  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:Simulator_GenerateCollisionMeshFile",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
259488  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
259489  if (!SWIG_IsOK(res1)) {
259490  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_GenerateCollisionMeshFile" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
259491  }
259492  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
259493  {
259494  std::string *ptr = (std::string *)0;
259495  int res = SWIG_AsPtr_std_string(obj1, &ptr);
259496  if (!SWIG_IsOK(res) || !ptr) {
259497  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_GenerateCollisionMeshFile" "', argument " "2"" of type '" "std::string""'");
259498  }
259499  arg2 = *ptr;
259500  if (SWIG_IsNewObj(res)) delete ptr;
259501  }
259502  {
259503  std::string *ptr = (std::string *)0;
259504  int res = SWIG_AsPtr_std_string(obj2, &ptr);
259505  if (!SWIG_IsOK(res) || !ptr) {
259506  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_GenerateCollisionMeshFile" "', argument " "3"" of type '" "std::string""'");
259507  }
259508  arg3 = *ptr;
259509  if (SWIG_IsNewObj(res)) delete ptr;
259510  }
259511  ecode4 = SWIG_AsVal_float(obj3, &val4);
259512  if (!SWIG_IsOK(ecode4)) {
259513  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Simulator_GenerateCollisionMeshFile" "', argument " "4"" of type '" "float""'");
259514  }
259515  arg4 = static_cast< float >(val4);
259516  ecode5 = SWIG_AsVal_float(obj4, &val5);
259517  if (!SWIG_IsOK(ecode5)) {
259518  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Simulator_GenerateCollisionMeshFile" "', argument " "5"" of type '" "float""'");
259519  }
259520  arg5 = static_cast< float >(val5);
259521  ecode6 = SWIG_AsVal_float(obj5, &val6);
259522  if (!SWIG_IsOK(ecode6)) {
259523  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Simulator_GenerateCollisionMeshFile" "', argument " "6"" of type '" "float""'");
259524  }
259525  arg6 = static_cast< float >(val6);
259526  {
259527  try {
259528  (arg1)->GenerateCollisionMeshFile(arg2,arg3,arg4,arg5,arg6);
259529  }
259530  catch(CStdErrorInfo oError)
259531  {
259532  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259533  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
259534  PyErr_SetString(PyExc_IndexError, strError.c_str());
259535  SWIG_fail;
259536  }
259537  catch(...)
259538  {
259539  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259540  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
259541  SWIG_fail;
259542  }
259543  }
259544  resultobj = SWIG_Py_Void();
259545  return resultobj;
259546 fail:
259547  return NULL;
259548 }
259549 
259550 
259551 SWIGINTERN PyObject *_wrap_Simulator_ConvertV1MeshFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
259552  PyObject *resultobj = 0;
259554  std::string arg2 ;
259555  std::string arg3 ;
259556  std::string arg4 ;
259557  void *argp1 = 0 ;
259558  int res1 = 0 ;
259559  PyObject * obj0 = 0 ;
259560  PyObject * obj1 = 0 ;
259561  PyObject * obj2 = 0 ;
259562  PyObject * obj3 = 0 ;
259563 
259564  if (!PyArg_ParseTuple(args,(char *)"OOOO:Simulator_ConvertV1MeshFile",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
259565  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
259566  if (!SWIG_IsOK(res1)) {
259567  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_ConvertV1MeshFile" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
259568  }
259569  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
259570  {
259571  std::string *ptr = (std::string *)0;
259572  int res = SWIG_AsPtr_std_string(obj1, &ptr);
259573  if (!SWIG_IsOK(res) || !ptr) {
259574  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_ConvertV1MeshFile" "', argument " "2"" of type '" "std::string""'");
259575  }
259576  arg2 = *ptr;
259577  if (SWIG_IsNewObj(res)) delete ptr;
259578  }
259579  {
259580  std::string *ptr = (std::string *)0;
259581  int res = SWIG_AsPtr_std_string(obj2, &ptr);
259582  if (!SWIG_IsOK(res) || !ptr) {
259583  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_ConvertV1MeshFile" "', argument " "3"" of type '" "std::string""'");
259584  }
259585  arg3 = *ptr;
259586  if (SWIG_IsNewObj(res)) delete ptr;
259587  }
259588  {
259589  std::string *ptr = (std::string *)0;
259590  int res = SWIG_AsPtr_std_string(obj3, &ptr);
259591  if (!SWIG_IsOK(res) || !ptr) {
259592  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_ConvertV1MeshFile" "', argument " "4"" of type '" "std::string""'");
259593  }
259594  arg4 = *ptr;
259595  if (SWIG_IsNewObj(res)) delete ptr;
259596  }
259597  {
259598  try {
259599  (arg1)->ConvertV1MeshFile(arg2,arg3,arg4);
259600  }
259601  catch(CStdErrorInfo oError)
259602  {
259603  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259604  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
259605  PyErr_SetString(PyExc_IndexError, strError.c_str());
259606  SWIG_fail;
259607  }
259608  catch(...)
259609  {
259610  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259611  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
259612  SWIG_fail;
259613  }
259614  }
259615  resultobj = SWIG_Py_Void();
259616  return resultobj;
259617 fail:
259618  return NULL;
259619 }
259620 
259621 
259622 SWIGINTERN PyObject *_wrap_Simulator_FindNeuralModuleFactory__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
259623  PyObject *resultobj = 0;
259625  std::string arg2 ;
259626  bool arg3 ;
259627  void *argp1 = 0 ;
259628  int res1 = 0 ;
259629  bool val3 ;
259630  int ecode3 = 0 ;
259631  PyObject * obj0 = 0 ;
259632  PyObject * obj1 = 0 ;
259633  PyObject * obj2 = 0 ;
259634  StdUtils::IStdClassFactory *result = 0 ;
259635 
259636  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_FindNeuralModuleFactory",&obj0,&obj1,&obj2)) SWIG_fail;
259637  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
259638  if (!SWIG_IsOK(res1)) {
259639  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindNeuralModuleFactory" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
259640  }
259641  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
259642  {
259643  std::string *ptr = (std::string *)0;
259644  int res = SWIG_AsPtr_std_string(obj1, &ptr);
259645  if (!SWIG_IsOK(res) || !ptr) {
259646  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindNeuralModuleFactory" "', argument " "2"" of type '" "std::string""'");
259647  }
259648  arg2 = *ptr;
259649  if (SWIG_IsNewObj(res)) delete ptr;
259650  }
259651  ecode3 = SWIG_AsVal_bool(obj2, &val3);
259652  if (!SWIG_IsOK(ecode3)) {
259653  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_FindNeuralModuleFactory" "', argument " "3"" of type '" "bool""'");
259654  }
259655  arg3 = static_cast< bool >(val3);
259656  {
259657  try {
259658  result = (StdUtils::IStdClassFactory *)(arg1)->FindNeuralModuleFactory(arg2,arg3);
259659  }
259660  catch(CStdErrorInfo oError)
259661  {
259662  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259663  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
259664  PyErr_SetString(PyExc_IndexError, strError.c_str());
259665  SWIG_fail;
259666  }
259667  catch(...)
259668  {
259669  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259670  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
259671  SWIG_fail;
259672  }
259673  }
259674  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__IStdClassFactory, 0 | 0 );
259675  return resultobj;
259676 fail:
259677  return NULL;
259678 }
259679 
259680 
259681 SWIGINTERN PyObject *_wrap_Simulator_FindNeuralModuleFactory__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
259682  PyObject *resultobj = 0;
259684  std::string arg2 ;
259685  void *argp1 = 0 ;
259686  int res1 = 0 ;
259687  PyObject * obj0 = 0 ;
259688  PyObject * obj1 = 0 ;
259689  StdUtils::IStdClassFactory *result = 0 ;
259690 
259691  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_FindNeuralModuleFactory",&obj0,&obj1)) SWIG_fail;
259692  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
259693  if (!SWIG_IsOK(res1)) {
259694  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindNeuralModuleFactory" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
259695  }
259696  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
259697  {
259698  std::string *ptr = (std::string *)0;
259699  int res = SWIG_AsPtr_std_string(obj1, &ptr);
259700  if (!SWIG_IsOK(res) || !ptr) {
259701  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindNeuralModuleFactory" "', argument " "2"" of type '" "std::string""'");
259702  }
259703  arg2 = *ptr;
259704  if (SWIG_IsNewObj(res)) delete ptr;
259705  }
259706  {
259707  try {
259708  result = (StdUtils::IStdClassFactory *)(arg1)->FindNeuralModuleFactory(arg2);
259709  }
259710  catch(CStdErrorInfo oError)
259711  {
259712  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259713  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
259714  PyErr_SetString(PyExc_IndexError, strError.c_str());
259715  SWIG_fail;
259716  }
259717  catch(...)
259718  {
259719  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259720  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
259721  SWIG_fail;
259722  }
259723  }
259724  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_StdUtils__IStdClassFactory, 0 | 0 );
259725  return resultobj;
259726 fail:
259727  return NULL;
259728 }
259729 
259730 
259731 SWIGINTERN PyObject *_wrap_Simulator_FindNeuralModuleFactory(PyObject *self, PyObject *args) {
259732  int argc;
259733  PyObject *argv[4];
259734  int ii;
259735 
259736  if (!PyTuple_Check(args)) SWIG_fail;
259737  argc = args ? (int)PyObject_Length(args) : 0;
259738  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
259739  argv[ii] = PyTuple_GET_ITEM(args,ii);
259740  }
259741  if (argc == 2) {
259742  int _v;
259743  void *vptr = 0;
259744  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
259745  _v = SWIG_CheckState(res);
259746  if (_v) {
259747  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
259748  _v = SWIG_CheckState(res);
259749  if (_v) {
259750  return _wrap_Simulator_FindNeuralModuleFactory__SWIG_1(self, args);
259751  }
259752  }
259753  }
259754  if (argc == 3) {
259755  int _v;
259756  void *vptr = 0;
259757  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
259758  _v = SWIG_CheckState(res);
259759  if (_v) {
259760  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
259761  _v = SWIG_CheckState(res);
259762  if (_v) {
259763  {
259764  int res = SWIG_AsVal_bool(argv[2], NULL);
259765  _v = SWIG_CheckState(res);
259766  }
259767  if (_v) {
259768  return _wrap_Simulator_FindNeuralModuleFactory__SWIG_0(self, args);
259769  }
259770  }
259771  }
259772  }
259773 
259774 fail:
259775  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_FindNeuralModuleFactory'.\n"
259776  " Possible C/C++ prototypes are:\n"
259777  " AnimatSim::Simulator::FindNeuralModuleFactory(std::string,bool)\n"
259778  " AnimatSim::Simulator::FindNeuralModuleFactory(std::string)\n");
259779  return 0;
259780 }
259781 
259782 
259783 SWIGINTERN PyObject *_wrap_Simulator_FindOrganism__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
259784  PyObject *resultobj = 0;
259786  std::string arg2 ;
259787  bool arg3 ;
259788  void *argp1 = 0 ;
259789  int res1 = 0 ;
259790  bool val3 ;
259791  int ecode3 = 0 ;
259792  PyObject * obj0 = 0 ;
259793  PyObject * obj1 = 0 ;
259794  PyObject * obj2 = 0 ;
259795  Organism *result = 0 ;
259796 
259797  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_FindOrganism",&obj0,&obj1,&obj2)) SWIG_fail;
259798  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
259799  if (!SWIG_IsOK(res1)) {
259800  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindOrganism" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
259801  }
259802  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
259803  {
259804  std::string *ptr = (std::string *)0;
259805  int res = SWIG_AsPtr_std_string(obj1, &ptr);
259806  if (!SWIG_IsOK(res) || !ptr) {
259807  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindOrganism" "', argument " "2"" of type '" "std::string""'");
259808  }
259809  arg2 = *ptr;
259810  if (SWIG_IsNewObj(res)) delete ptr;
259811  }
259812  ecode3 = SWIG_AsVal_bool(obj2, &val3);
259813  if (!SWIG_IsOK(ecode3)) {
259814  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_FindOrganism" "', argument " "3"" of type '" "bool""'");
259815  }
259816  arg3 = static_cast< bool >(val3);
259817  {
259818  try {
259819  result = (Organism *)(arg1)->FindOrganism(arg2,arg3);
259820  }
259821  catch(CStdErrorInfo oError)
259822  {
259823  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259824  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
259825  PyErr_SetString(PyExc_IndexError, strError.c_str());
259826  SWIG_fail;
259827  }
259828  catch(...)
259829  {
259830  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259831  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
259832  SWIG_fail;
259833  }
259834  }
259835  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Organism, 0 | 0 );
259836  return resultobj;
259837 fail:
259838  return NULL;
259839 }
259840 
259841 
259842 SWIGINTERN PyObject *_wrap_Simulator_FindOrganism__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
259843  PyObject *resultobj = 0;
259845  std::string arg2 ;
259846  void *argp1 = 0 ;
259847  int res1 = 0 ;
259848  PyObject * obj0 = 0 ;
259849  PyObject * obj1 = 0 ;
259850  Organism *result = 0 ;
259851 
259852  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_FindOrganism",&obj0,&obj1)) SWIG_fail;
259853  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
259854  if (!SWIG_IsOK(res1)) {
259855  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindOrganism" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
259856  }
259857  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
259858  {
259859  std::string *ptr = (std::string *)0;
259860  int res = SWIG_AsPtr_std_string(obj1, &ptr);
259861  if (!SWIG_IsOK(res) || !ptr) {
259862  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindOrganism" "', argument " "2"" of type '" "std::string""'");
259863  }
259864  arg2 = *ptr;
259865  if (SWIG_IsNewObj(res)) delete ptr;
259866  }
259867  {
259868  try {
259869  result = (Organism *)(arg1)->FindOrganism(arg2);
259870  }
259871  catch(CStdErrorInfo oError)
259872  {
259873  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259874  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
259875  PyErr_SetString(PyExc_IndexError, strError.c_str());
259876  SWIG_fail;
259877  }
259878  catch(...)
259879  {
259880  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259881  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
259882  SWIG_fail;
259883  }
259884  }
259885  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Organism, 0 | 0 );
259886  return resultobj;
259887 fail:
259888  return NULL;
259889 }
259890 
259891 
259892 SWIGINTERN PyObject *_wrap_Simulator_FindOrganism(PyObject *self, PyObject *args) {
259893  int argc;
259894  PyObject *argv[4];
259895  int ii;
259896 
259897  if (!PyTuple_Check(args)) SWIG_fail;
259898  argc = args ? (int)PyObject_Length(args) : 0;
259899  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
259900  argv[ii] = PyTuple_GET_ITEM(args,ii);
259901  }
259902  if (argc == 2) {
259903  int _v;
259904  void *vptr = 0;
259905  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
259906  _v = SWIG_CheckState(res);
259907  if (_v) {
259908  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
259909  _v = SWIG_CheckState(res);
259910  if (_v) {
259911  return _wrap_Simulator_FindOrganism__SWIG_1(self, args);
259912  }
259913  }
259914  }
259915  if (argc == 3) {
259916  int _v;
259917  void *vptr = 0;
259918  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
259919  _v = SWIG_CheckState(res);
259920  if (_v) {
259921  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
259922  _v = SWIG_CheckState(res);
259923  if (_v) {
259924  {
259925  int res = SWIG_AsVal_bool(argv[2], NULL);
259926  _v = SWIG_CheckState(res);
259927  }
259928  if (_v) {
259929  return _wrap_Simulator_FindOrganism__SWIG_0(self, args);
259930  }
259931  }
259932  }
259933  }
259934 
259935 fail:
259936  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_FindOrganism'.\n"
259937  " Possible C/C++ prototypes are:\n"
259938  " AnimatSim::Simulator::FindOrganism(std::string,bool)\n"
259939  " AnimatSim::Simulator::FindOrganism(std::string)\n");
259940  return 0;
259941 }
259942 
259943 
259944 SWIGINTERN PyObject *_wrap_Simulator_FindStructure__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
259945  PyObject *resultobj = 0;
259947  std::string arg2 ;
259948  bool arg3 ;
259949  void *argp1 = 0 ;
259950  int res1 = 0 ;
259951  bool val3 ;
259952  int ecode3 = 0 ;
259953  PyObject * obj0 = 0 ;
259954  PyObject * obj1 = 0 ;
259955  PyObject * obj2 = 0 ;
259956  Structure *result = 0 ;
259957 
259958  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_FindStructure",&obj0,&obj1,&obj2)) SWIG_fail;
259959  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
259960  if (!SWIG_IsOK(res1)) {
259961  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindStructure" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
259962  }
259963  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
259964  {
259965  std::string *ptr = (std::string *)0;
259966  int res = SWIG_AsPtr_std_string(obj1, &ptr);
259967  if (!SWIG_IsOK(res) || !ptr) {
259968  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindStructure" "', argument " "2"" of type '" "std::string""'");
259969  }
259970  arg2 = *ptr;
259971  if (SWIG_IsNewObj(res)) delete ptr;
259972  }
259973  ecode3 = SWIG_AsVal_bool(obj2, &val3);
259974  if (!SWIG_IsOK(ecode3)) {
259975  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_FindStructure" "', argument " "3"" of type '" "bool""'");
259976  }
259977  arg3 = static_cast< bool >(val3);
259978  {
259979  try {
259980  result = (Structure *)(arg1)->FindStructure(arg2,arg3);
259981  }
259982  catch(CStdErrorInfo oError)
259983  {
259984  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259985  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
259986  PyErr_SetString(PyExc_IndexError, strError.c_str());
259987  SWIG_fail;
259988  }
259989  catch(...)
259990  {
259991  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
259992  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
259993  SWIG_fail;
259994  }
259995  }
259996  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Structure, 0 | 0 );
259997  return resultobj;
259998 fail:
259999  return NULL;
260000 }
260001 
260002 
260003 SWIGINTERN PyObject *_wrap_Simulator_FindStructure__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
260004  PyObject *resultobj = 0;
260006  std::string arg2 ;
260007  void *argp1 = 0 ;
260008  int res1 = 0 ;
260009  PyObject * obj0 = 0 ;
260010  PyObject * obj1 = 0 ;
260011  Structure *result = 0 ;
260012 
260013  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_FindStructure",&obj0,&obj1)) SWIG_fail;
260014  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
260015  if (!SWIG_IsOK(res1)) {
260016  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindStructure" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
260017  }
260018  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
260019  {
260020  std::string *ptr = (std::string *)0;
260021  int res = SWIG_AsPtr_std_string(obj1, &ptr);
260022  if (!SWIG_IsOK(res) || !ptr) {
260023  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindStructure" "', argument " "2"" of type '" "std::string""'");
260024  }
260025  arg2 = *ptr;
260026  if (SWIG_IsNewObj(res)) delete ptr;
260027  }
260028  {
260029  try {
260030  result = (Structure *)(arg1)->FindStructure(arg2);
260031  }
260032  catch(CStdErrorInfo oError)
260033  {
260034  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260035  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
260036  PyErr_SetString(PyExc_IndexError, strError.c_str());
260037  SWIG_fail;
260038  }
260039  catch(...)
260040  {
260041  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260042  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
260043  SWIG_fail;
260044  }
260045  }
260046  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Structure, 0 | 0 );
260047  return resultobj;
260048 fail:
260049  return NULL;
260050 }
260051 
260052 
260053 SWIGINTERN PyObject *_wrap_Simulator_FindStructure(PyObject *self, PyObject *args) {
260054  int argc;
260055  PyObject *argv[4];
260056  int ii;
260057 
260058  if (!PyTuple_Check(args)) SWIG_fail;
260059  argc = args ? (int)PyObject_Length(args) : 0;
260060  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
260061  argv[ii] = PyTuple_GET_ITEM(args,ii);
260062  }
260063  if (argc == 2) {
260064  int _v;
260065  void *vptr = 0;
260066  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
260067  _v = SWIG_CheckState(res);
260068  if (_v) {
260069  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
260070  _v = SWIG_CheckState(res);
260071  if (_v) {
260072  return _wrap_Simulator_FindStructure__SWIG_1(self, args);
260073  }
260074  }
260075  }
260076  if (argc == 3) {
260077  int _v;
260078  void *vptr = 0;
260079  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
260080  _v = SWIG_CheckState(res);
260081  if (_v) {
260082  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
260083  _v = SWIG_CheckState(res);
260084  if (_v) {
260085  {
260086  int res = SWIG_AsVal_bool(argv[2], NULL);
260087  _v = SWIG_CheckState(res);
260088  }
260089  if (_v) {
260090  return _wrap_Simulator_FindStructure__SWIG_0(self, args);
260091  }
260092  }
260093  }
260094  }
260095 
260096 fail:
260097  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_FindStructure'.\n"
260098  " Possible C/C++ prototypes are:\n"
260099  " AnimatSim::Simulator::FindStructure(std::string,bool)\n"
260100  " AnimatSim::Simulator::FindStructure(std::string)\n");
260101  return 0;
260102 }
260103 
260104 
260105 SWIGINTERN PyObject *_wrap_Simulator_FindStructureFromAll__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
260106  PyObject *resultobj = 0;
260108  std::string arg2 ;
260109  bool arg3 ;
260110  void *argp1 = 0 ;
260111  int res1 = 0 ;
260112  bool val3 ;
260113  int ecode3 = 0 ;
260114  PyObject * obj0 = 0 ;
260115  PyObject * obj1 = 0 ;
260116  PyObject * obj2 = 0 ;
260117  Structure *result = 0 ;
260118 
260119  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_FindStructureFromAll",&obj0,&obj1,&obj2)) SWIG_fail;
260120  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
260121  if (!SWIG_IsOK(res1)) {
260122  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindStructureFromAll" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
260123  }
260124  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
260125  {
260126  std::string *ptr = (std::string *)0;
260127  int res = SWIG_AsPtr_std_string(obj1, &ptr);
260128  if (!SWIG_IsOK(res) || !ptr) {
260129  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindStructureFromAll" "', argument " "2"" of type '" "std::string""'");
260130  }
260131  arg2 = *ptr;
260132  if (SWIG_IsNewObj(res)) delete ptr;
260133  }
260134  ecode3 = SWIG_AsVal_bool(obj2, &val3);
260135  if (!SWIG_IsOK(ecode3)) {
260136  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_FindStructureFromAll" "', argument " "3"" of type '" "bool""'");
260137  }
260138  arg3 = static_cast< bool >(val3);
260139  {
260140  try {
260141  result = (Structure *)(arg1)->FindStructureFromAll(arg2,arg3);
260142  }
260143  catch(CStdErrorInfo oError)
260144  {
260145  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260146  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
260147  PyErr_SetString(PyExc_IndexError, strError.c_str());
260148  SWIG_fail;
260149  }
260150  catch(...)
260151  {
260152  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260153  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
260154  SWIG_fail;
260155  }
260156  }
260157  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Structure, 0 | 0 );
260158  return resultobj;
260159 fail:
260160  return NULL;
260161 }
260162 
260163 
260164 SWIGINTERN PyObject *_wrap_Simulator_FindStructureFromAll__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
260165  PyObject *resultobj = 0;
260167  std::string arg2 ;
260168  void *argp1 = 0 ;
260169  int res1 = 0 ;
260170  PyObject * obj0 = 0 ;
260171  PyObject * obj1 = 0 ;
260172  Structure *result = 0 ;
260173 
260174  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_FindStructureFromAll",&obj0,&obj1)) SWIG_fail;
260175  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
260176  if (!SWIG_IsOK(res1)) {
260177  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindStructureFromAll" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
260178  }
260179  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
260180  {
260181  std::string *ptr = (std::string *)0;
260182  int res = SWIG_AsPtr_std_string(obj1, &ptr);
260183  if (!SWIG_IsOK(res) || !ptr) {
260184  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindStructureFromAll" "', argument " "2"" of type '" "std::string""'");
260185  }
260186  arg2 = *ptr;
260187  if (SWIG_IsNewObj(res)) delete ptr;
260188  }
260189  {
260190  try {
260191  result = (Structure *)(arg1)->FindStructureFromAll(arg2);
260192  }
260193  catch(CStdErrorInfo oError)
260194  {
260195  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260196  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
260197  PyErr_SetString(PyExc_IndexError, strError.c_str());
260198  SWIG_fail;
260199  }
260200  catch(...)
260201  {
260202  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260203  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
260204  SWIG_fail;
260205  }
260206  }
260207  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Structure, 0 | 0 );
260208  return resultobj;
260209 fail:
260210  return NULL;
260211 }
260212 
260213 
260214 SWIGINTERN PyObject *_wrap_Simulator_FindStructureFromAll(PyObject *self, PyObject *args) {
260215  int argc;
260216  PyObject *argv[4];
260217  int ii;
260218 
260219  if (!PyTuple_Check(args)) SWIG_fail;
260220  argc = args ? (int)PyObject_Length(args) : 0;
260221  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
260222  argv[ii] = PyTuple_GET_ITEM(args,ii);
260223  }
260224  if (argc == 2) {
260225  int _v;
260226  void *vptr = 0;
260227  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
260228  _v = SWIG_CheckState(res);
260229  if (_v) {
260230  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
260231  _v = SWIG_CheckState(res);
260232  if (_v) {
260233  return _wrap_Simulator_FindStructureFromAll__SWIG_1(self, args);
260234  }
260235  }
260236  }
260237  if (argc == 3) {
260238  int _v;
260239  void *vptr = 0;
260240  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
260241  _v = SWIG_CheckState(res);
260242  if (_v) {
260243  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
260244  _v = SWIG_CheckState(res);
260245  if (_v) {
260246  {
260247  int res = SWIG_AsVal_bool(argv[2], NULL);
260248  _v = SWIG_CheckState(res);
260249  }
260250  if (_v) {
260251  return _wrap_Simulator_FindStructureFromAll__SWIG_0(self, args);
260252  }
260253  }
260254  }
260255  }
260256 
260257 fail:
260258  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_FindStructureFromAll'.\n"
260259  " Possible C/C++ prototypes are:\n"
260260  " AnimatSim::Simulator::FindStructureFromAll(std::string,bool)\n"
260261  " AnimatSim::Simulator::FindStructureFromAll(std::string)\n");
260262  return 0;
260263 }
260264 
260265 
260266 SWIGINTERN PyObject *_wrap_Simulator_FindJoint__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
260267  PyObject *resultobj = 0;
260269  std::string arg2 ;
260270  std::string arg3 ;
260271  bool arg4 ;
260272  void *argp1 = 0 ;
260273  int res1 = 0 ;
260274  bool val4 ;
260275  int ecode4 = 0 ;
260276  PyObject * obj0 = 0 ;
260277  PyObject * obj1 = 0 ;
260278  PyObject * obj2 = 0 ;
260279  PyObject * obj3 = 0 ;
260280  Joint *result = 0 ;
260281 
260282  if (!PyArg_ParseTuple(args,(char *)"OOOO:Simulator_FindJoint",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
260283  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
260284  if (!SWIG_IsOK(res1)) {
260285  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindJoint" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
260286  }
260287  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
260288  {
260289  std::string *ptr = (std::string *)0;
260290  int res = SWIG_AsPtr_std_string(obj1, &ptr);
260291  if (!SWIG_IsOK(res) || !ptr) {
260292  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindJoint" "', argument " "2"" of type '" "std::string""'");
260293  }
260294  arg2 = *ptr;
260295  if (SWIG_IsNewObj(res)) delete ptr;
260296  }
260297  {
260298  std::string *ptr = (std::string *)0;
260299  int res = SWIG_AsPtr_std_string(obj2, &ptr);
260300  if (!SWIG_IsOK(res) || !ptr) {
260301  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindJoint" "', argument " "3"" of type '" "std::string""'");
260302  }
260303  arg3 = *ptr;
260304  if (SWIG_IsNewObj(res)) delete ptr;
260305  }
260306  ecode4 = SWIG_AsVal_bool(obj3, &val4);
260307  if (!SWIG_IsOK(ecode4)) {
260308  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Simulator_FindJoint" "', argument " "4"" of type '" "bool""'");
260309  }
260310  arg4 = static_cast< bool >(val4);
260311  {
260312  try {
260313  result = (Joint *)(arg1)->FindJoint(arg2,arg3,arg4);
260314  }
260315  catch(CStdErrorInfo oError)
260316  {
260317  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260318  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
260319  PyErr_SetString(PyExc_IndexError, strError.c_str());
260320  SWIG_fail;
260321  }
260322  catch(...)
260323  {
260324  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260325  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
260326  SWIG_fail;
260327  }
260328  }
260329  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Joint, 0 | 0 );
260330  return resultobj;
260331 fail:
260332  return NULL;
260333 }
260334 
260335 
260336 SWIGINTERN PyObject *_wrap_Simulator_FindJoint__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
260337  PyObject *resultobj = 0;
260339  std::string arg2 ;
260340  std::string arg3 ;
260341  void *argp1 = 0 ;
260342  int res1 = 0 ;
260343  PyObject * obj0 = 0 ;
260344  PyObject * obj1 = 0 ;
260345  PyObject * obj2 = 0 ;
260346  Joint *result = 0 ;
260347 
260348  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_FindJoint",&obj0,&obj1,&obj2)) SWIG_fail;
260349  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
260350  if (!SWIG_IsOK(res1)) {
260351  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindJoint" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
260352  }
260353  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
260354  {
260355  std::string *ptr = (std::string *)0;
260356  int res = SWIG_AsPtr_std_string(obj1, &ptr);
260357  if (!SWIG_IsOK(res) || !ptr) {
260358  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindJoint" "', argument " "2"" of type '" "std::string""'");
260359  }
260360  arg2 = *ptr;
260361  if (SWIG_IsNewObj(res)) delete ptr;
260362  }
260363  {
260364  std::string *ptr = (std::string *)0;
260365  int res = SWIG_AsPtr_std_string(obj2, &ptr);
260366  if (!SWIG_IsOK(res) || !ptr) {
260367  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindJoint" "', argument " "3"" of type '" "std::string""'");
260368  }
260369  arg3 = *ptr;
260370  if (SWIG_IsNewObj(res)) delete ptr;
260371  }
260372  {
260373  try {
260374  result = (Joint *)(arg1)->FindJoint(arg2,arg3);
260375  }
260376  catch(CStdErrorInfo oError)
260377  {
260378  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260379  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
260380  PyErr_SetString(PyExc_IndexError, strError.c_str());
260381  SWIG_fail;
260382  }
260383  catch(...)
260384  {
260385  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260386  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
260387  SWIG_fail;
260388  }
260389  }
260390  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Joint, 0 | 0 );
260391  return resultobj;
260392 fail:
260393  return NULL;
260394 }
260395 
260396 
260397 SWIGINTERN PyObject *_wrap_Simulator_FindJoint(PyObject *self, PyObject *args) {
260398  int argc;
260399  PyObject *argv[5];
260400  int ii;
260401 
260402  if (!PyTuple_Check(args)) SWIG_fail;
260403  argc = args ? (int)PyObject_Length(args) : 0;
260404  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
260405  argv[ii] = PyTuple_GET_ITEM(args,ii);
260406  }
260407  if (argc == 3) {
260408  int _v;
260409  void *vptr = 0;
260410  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
260411  _v = SWIG_CheckState(res);
260412  if (_v) {
260413  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
260414  _v = SWIG_CheckState(res);
260415  if (_v) {
260416  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
260417  _v = SWIG_CheckState(res);
260418  if (_v) {
260419  return _wrap_Simulator_FindJoint__SWIG_1(self, args);
260420  }
260421  }
260422  }
260423  }
260424  if (argc == 4) {
260425  int _v;
260426  void *vptr = 0;
260427  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
260428  _v = SWIG_CheckState(res);
260429  if (_v) {
260430  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
260431  _v = SWIG_CheckState(res);
260432  if (_v) {
260433  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
260434  _v = SWIG_CheckState(res);
260435  if (_v) {
260436  {
260437  int res = SWIG_AsVal_bool(argv[3], NULL);
260438  _v = SWIG_CheckState(res);
260439  }
260440  if (_v) {
260441  return _wrap_Simulator_FindJoint__SWIG_0(self, args);
260442  }
260443  }
260444  }
260445  }
260446  }
260447 
260448 fail:
260449  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_FindJoint'.\n"
260450  " Possible C/C++ prototypes are:\n"
260451  " AnimatSim::Simulator::FindJoint(std::string,std::string,bool)\n"
260452  " AnimatSim::Simulator::FindJoint(std::string,std::string)\n");
260453  return 0;
260454 }
260455 
260456 
260457 SWIGINTERN PyObject *_wrap_Simulator_FindRigidBody__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
260458  PyObject *resultobj = 0;
260460  std::string arg2 ;
260461  std::string arg3 ;
260462  bool arg4 ;
260463  void *argp1 = 0 ;
260464  int res1 = 0 ;
260465  bool val4 ;
260466  int ecode4 = 0 ;
260467  PyObject * obj0 = 0 ;
260468  PyObject * obj1 = 0 ;
260469  PyObject * obj2 = 0 ;
260470  PyObject * obj3 = 0 ;
260471  RigidBody *result = 0 ;
260472 
260473  if (!PyArg_ParseTuple(args,(char *)"OOOO:Simulator_FindRigidBody",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
260474  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
260475  if (!SWIG_IsOK(res1)) {
260476  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindRigidBody" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
260477  }
260478  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
260479  {
260480  std::string *ptr = (std::string *)0;
260481  int res = SWIG_AsPtr_std_string(obj1, &ptr);
260482  if (!SWIG_IsOK(res) || !ptr) {
260483  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindRigidBody" "', argument " "2"" of type '" "std::string""'");
260484  }
260485  arg2 = *ptr;
260486  if (SWIG_IsNewObj(res)) delete ptr;
260487  }
260488  {
260489  std::string *ptr = (std::string *)0;
260490  int res = SWIG_AsPtr_std_string(obj2, &ptr);
260491  if (!SWIG_IsOK(res) || !ptr) {
260492  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindRigidBody" "', argument " "3"" of type '" "std::string""'");
260493  }
260494  arg3 = *ptr;
260495  if (SWIG_IsNewObj(res)) delete ptr;
260496  }
260497  ecode4 = SWIG_AsVal_bool(obj3, &val4);
260498  if (!SWIG_IsOK(ecode4)) {
260499  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Simulator_FindRigidBody" "', argument " "4"" of type '" "bool""'");
260500  }
260501  arg4 = static_cast< bool >(val4);
260502  {
260503  try {
260504  result = (RigidBody *)(arg1)->FindRigidBody(arg2,arg3,arg4);
260505  }
260506  catch(CStdErrorInfo oError)
260507  {
260508  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260509  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
260510  PyErr_SetString(PyExc_IndexError, strError.c_str());
260511  SWIG_fail;
260512  }
260513  catch(...)
260514  {
260515  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260516  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
260517  SWIG_fail;
260518  }
260519  }
260520  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RigidBody, 0 | 0 );
260521  return resultobj;
260522 fail:
260523  return NULL;
260524 }
260525 
260526 
260527 SWIGINTERN PyObject *_wrap_Simulator_FindRigidBody__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
260528  PyObject *resultobj = 0;
260530  std::string arg2 ;
260531  std::string arg3 ;
260532  void *argp1 = 0 ;
260533  int res1 = 0 ;
260534  PyObject * obj0 = 0 ;
260535  PyObject * obj1 = 0 ;
260536  PyObject * obj2 = 0 ;
260537  RigidBody *result = 0 ;
260538 
260539  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_FindRigidBody",&obj0,&obj1,&obj2)) SWIG_fail;
260540  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
260541  if (!SWIG_IsOK(res1)) {
260542  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindRigidBody" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
260543  }
260544  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
260545  {
260546  std::string *ptr = (std::string *)0;
260547  int res = SWIG_AsPtr_std_string(obj1, &ptr);
260548  if (!SWIG_IsOK(res) || !ptr) {
260549  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindRigidBody" "', argument " "2"" of type '" "std::string""'");
260550  }
260551  arg2 = *ptr;
260552  if (SWIG_IsNewObj(res)) delete ptr;
260553  }
260554  {
260555  std::string *ptr = (std::string *)0;
260556  int res = SWIG_AsPtr_std_string(obj2, &ptr);
260557  if (!SWIG_IsOK(res) || !ptr) {
260558  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindRigidBody" "', argument " "3"" of type '" "std::string""'");
260559  }
260560  arg3 = *ptr;
260561  if (SWIG_IsNewObj(res)) delete ptr;
260562  }
260563  {
260564  try {
260565  result = (RigidBody *)(arg1)->FindRigidBody(arg2,arg3);
260566  }
260567  catch(CStdErrorInfo oError)
260568  {
260569  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260570  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
260571  PyErr_SetString(PyExc_IndexError, strError.c_str());
260572  SWIG_fail;
260573  }
260574  catch(...)
260575  {
260576  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260577  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
260578  SWIG_fail;
260579  }
260580  }
260581  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RigidBody, 0 | 0 );
260582  return resultobj;
260583 fail:
260584  return NULL;
260585 }
260586 
260587 
260588 SWIGINTERN PyObject *_wrap_Simulator_FindRigidBody(PyObject *self, PyObject *args) {
260589  int argc;
260590  PyObject *argv[5];
260591  int ii;
260592 
260593  if (!PyTuple_Check(args)) SWIG_fail;
260594  argc = args ? (int)PyObject_Length(args) : 0;
260595  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
260596  argv[ii] = PyTuple_GET_ITEM(args,ii);
260597  }
260598  if (argc == 3) {
260599  int _v;
260600  void *vptr = 0;
260601  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
260602  _v = SWIG_CheckState(res);
260603  if (_v) {
260604  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
260605  _v = SWIG_CheckState(res);
260606  if (_v) {
260607  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
260608  _v = SWIG_CheckState(res);
260609  if (_v) {
260610  return _wrap_Simulator_FindRigidBody__SWIG_1(self, args);
260611  }
260612  }
260613  }
260614  }
260615  if (argc == 4) {
260616  int _v;
260617  void *vptr = 0;
260618  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
260619  _v = SWIG_CheckState(res);
260620  if (_v) {
260621  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
260622  _v = SWIG_CheckState(res);
260623  if (_v) {
260624  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
260625  _v = SWIG_CheckState(res);
260626  if (_v) {
260627  {
260628  int res = SWIG_AsVal_bool(argv[3], NULL);
260629  _v = SWIG_CheckState(res);
260630  }
260631  if (_v) {
260632  return _wrap_Simulator_FindRigidBody__SWIG_0(self, args);
260633  }
260634  }
260635  }
260636  }
260637  }
260638 
260639 fail:
260640  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_FindRigidBody'.\n"
260641  " Possible C/C++ prototypes are:\n"
260642  " AnimatSim::Simulator::FindRigidBody(std::string,std::string,bool)\n"
260643  " AnimatSim::Simulator::FindRigidBody(std::string,std::string)\n");
260644  return 0;
260645 }
260646 
260647 
260648 SWIGINTERN PyObject *_wrap_Simulator_FindOdorType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
260649  PyObject *resultobj = 0;
260651  std::string arg2 ;
260652  bool arg3 ;
260653  void *argp1 = 0 ;
260654  int res1 = 0 ;
260655  bool val3 ;
260656  int ecode3 = 0 ;
260657  PyObject * obj0 = 0 ;
260658  PyObject * obj1 = 0 ;
260659  PyObject * obj2 = 0 ;
260660  OdorType *result = 0 ;
260661 
260662  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_FindOdorType",&obj0,&obj1,&obj2)) SWIG_fail;
260663  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
260664  if (!SWIG_IsOK(res1)) {
260665  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindOdorType" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
260666  }
260667  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
260668  {
260669  std::string *ptr = (std::string *)0;
260670  int res = SWIG_AsPtr_std_string(obj1, &ptr);
260671  if (!SWIG_IsOK(res) || !ptr) {
260672  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindOdorType" "', argument " "2"" of type '" "std::string""'");
260673  }
260674  arg2 = *ptr;
260675  if (SWIG_IsNewObj(res)) delete ptr;
260676  }
260677  ecode3 = SWIG_AsVal_bool(obj2, &val3);
260678  if (!SWIG_IsOK(ecode3)) {
260679  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_FindOdorType" "', argument " "3"" of type '" "bool""'");
260680  }
260681  arg3 = static_cast< bool >(val3);
260682  {
260683  try {
260684  result = (OdorType *)(arg1)->FindOdorType(arg2,arg3);
260685  }
260686  catch(CStdErrorInfo oError)
260687  {
260688  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260689  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
260690  PyErr_SetString(PyExc_IndexError, strError.c_str());
260691  SWIG_fail;
260692  }
260693  catch(...)
260694  {
260695  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260696  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
260697  SWIG_fail;
260698  }
260699  }
260700  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OdorType, 0 | 0 );
260701  return resultobj;
260702 fail:
260703  return NULL;
260704 }
260705 
260706 
260707 SWIGINTERN PyObject *_wrap_Simulator_FindOdorType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
260708  PyObject *resultobj = 0;
260710  std::string arg2 ;
260711  void *argp1 = 0 ;
260712  int res1 = 0 ;
260713  PyObject * obj0 = 0 ;
260714  PyObject * obj1 = 0 ;
260715  OdorType *result = 0 ;
260716 
260717  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_FindOdorType",&obj0,&obj1)) SWIG_fail;
260718  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
260719  if (!SWIG_IsOK(res1)) {
260720  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindOdorType" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
260721  }
260722  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
260723  {
260724  std::string *ptr = (std::string *)0;
260725  int res = SWIG_AsPtr_std_string(obj1, &ptr);
260726  if (!SWIG_IsOK(res) || !ptr) {
260727  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindOdorType" "', argument " "2"" of type '" "std::string""'");
260728  }
260729  arg2 = *ptr;
260730  if (SWIG_IsNewObj(res)) delete ptr;
260731  }
260732  {
260733  try {
260734  result = (OdorType *)(arg1)->FindOdorType(arg2);
260735  }
260736  catch(CStdErrorInfo oError)
260737  {
260738  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260739  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
260740  PyErr_SetString(PyExc_IndexError, strError.c_str());
260741  SWIG_fail;
260742  }
260743  catch(...)
260744  {
260745  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260746  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
260747  SWIG_fail;
260748  }
260749  }
260750  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OdorType, 0 | 0 );
260751  return resultobj;
260752 fail:
260753  return NULL;
260754 }
260755 
260756 
260757 SWIGINTERN PyObject *_wrap_Simulator_FindOdorType(PyObject *self, PyObject *args) {
260758  int argc;
260759  PyObject *argv[4];
260760  int ii;
260761 
260762  if (!PyTuple_Check(args)) SWIG_fail;
260763  argc = args ? (int)PyObject_Length(args) : 0;
260764  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
260765  argv[ii] = PyTuple_GET_ITEM(args,ii);
260766  }
260767  if (argc == 2) {
260768  int _v;
260769  void *vptr = 0;
260770  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
260771  _v = SWIG_CheckState(res);
260772  if (_v) {
260773  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
260774  _v = SWIG_CheckState(res);
260775  if (_v) {
260776  return _wrap_Simulator_FindOdorType__SWIG_1(self, args);
260777  }
260778  }
260779  }
260780  if (argc == 3) {
260781  int _v;
260782  void *vptr = 0;
260783  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
260784  _v = SWIG_CheckState(res);
260785  if (_v) {
260786  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
260787  _v = SWIG_CheckState(res);
260788  if (_v) {
260789  {
260790  int res = SWIG_AsVal_bool(argv[2], NULL);
260791  _v = SWIG_CheckState(res);
260792  }
260793  if (_v) {
260794  return _wrap_Simulator_FindOdorType__SWIG_0(self, args);
260795  }
260796  }
260797  }
260798  }
260799 
260800 fail:
260801  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_FindOdorType'.\n"
260802  " Possible C/C++ prototypes are:\n"
260803  " AnimatSim::Simulator::FindOdorType(std::string,bool)\n"
260804  " AnimatSim::Simulator::FindOdorType(std::string)\n");
260805  return 0;
260806 }
260807 
260808 
260809 SWIGINTERN PyObject *_wrap_Simulator_FindClosestFoodSources(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
260810  PyObject *resultobj = 0;
260812  CStdPoint< float > *arg2 = 0 ;
260813  float arg3 ;
260814  CStdArray< RigidBody * > *arg4 = 0 ;
260815  CStdArray< float > *arg5 = 0 ;
260816  void *argp1 = 0 ;
260817  int res1 = 0 ;
260818  void *argp2 = 0 ;
260819  int res2 = 0 ;
260820  float val3 ;
260821  int ecode3 = 0 ;
260822  void *argp4 = 0 ;
260823  int res4 = 0 ;
260824  void *argp5 = 0 ;
260825  int res5 = 0 ;
260826  PyObject * obj0 = 0 ;
260827  PyObject * obj1 = 0 ;
260828  PyObject * obj2 = 0 ;
260829  PyObject * obj3 = 0 ;
260830  PyObject * obj4 = 0 ;
260831 
260832  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Simulator_FindClosestFoodSources",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
260833  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
260834  if (!SWIG_IsOK(res1)) {
260835  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindClosestFoodSources" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
260836  }
260837  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
260838  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPointT_float_t, 0 );
260839  if (!SWIG_IsOK(res2)) {
260840  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_FindClosestFoodSources" "', argument " "2"" of type '" "CStdPoint< float > &""'");
260841  }
260842  if (!argp2) {
260843  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_FindClosestFoodSources" "', argument " "2"" of type '" "CStdPoint< float > &""'");
260844  }
260845  arg2 = reinterpret_cast< CStdPoint< float > * >(argp2);
260846  ecode3 = SWIG_AsVal_float(obj2, &val3);
260847  if (!SWIG_IsOK(ecode3)) {
260848  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_FindClosestFoodSources" "', argument " "3"" of type '" "float""'");
260849  }
260850  arg3 = static_cast< float >(val3);
260851  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_CStdArrayT_RigidBody_p_t, 0 );
260852  if (!SWIG_IsOK(res4)) {
260853  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Simulator_FindClosestFoodSources" "', argument " "4"" of type '" "CStdArray< RigidBody * > &""'");
260854  }
260855  if (!argp4) {
260856  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_FindClosestFoodSources" "', argument " "4"" of type '" "CStdArray< RigidBody * > &""'");
260857  }
260858  arg4 = reinterpret_cast< CStdArray< RigidBody * > * >(argp4);
260859  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_CStdArrayT_float_t, 0 );
260860  if (!SWIG_IsOK(res5)) {
260861  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Simulator_FindClosestFoodSources" "', argument " "5"" of type '" "CStdArray< float > &""'");
260862  }
260863  if (!argp5) {
260864  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_FindClosestFoodSources" "', argument " "5"" of type '" "CStdArray< float > &""'");
260865  }
260866  arg5 = reinterpret_cast< CStdArray< float > * >(argp5);
260867  {
260868  try {
260869  (arg1)->FindClosestFoodSources(*arg2,arg3,*arg4,*arg5);
260870  }
260871  catch(CStdErrorInfo oError)
260872  {
260873  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260874  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
260875  PyErr_SetString(PyExc_IndexError, strError.c_str());
260876  SWIG_fail;
260877  }
260878  catch(...)
260879  {
260880  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260881  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
260882  SWIG_fail;
260883  }
260884  }
260885  resultobj = SWIG_Py_Void();
260886  return resultobj;
260887 fail:
260888  return NULL;
260889 }
260890 
260891 
260892 SWIGINTERN PyObject *_wrap_Simulator_FindByID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
260893  PyObject *resultobj = 0;
260895  std::string arg2 ;
260896  bool arg3 ;
260897  void *argp1 = 0 ;
260898  int res1 = 0 ;
260899  bool val3 ;
260900  int ecode3 = 0 ;
260901  PyObject * obj0 = 0 ;
260902  PyObject * obj1 = 0 ;
260903  PyObject * obj2 = 0 ;
260904  AnimatSim::AnimatBase *result = 0 ;
260905 
260906  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_FindByID",&obj0,&obj1,&obj2)) SWIG_fail;
260907  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
260908  if (!SWIG_IsOK(res1)) {
260909  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindByID" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
260910  }
260911  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
260912  {
260913  std::string *ptr = (std::string *)0;
260914  int res = SWIG_AsPtr_std_string(obj1, &ptr);
260915  if (!SWIG_IsOK(res) || !ptr) {
260916  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindByID" "', argument " "2"" of type '" "std::string""'");
260917  }
260918  arg2 = *ptr;
260919  if (SWIG_IsNewObj(res)) delete ptr;
260920  }
260921  ecode3 = SWIG_AsVal_bool(obj2, &val3);
260922  if (!SWIG_IsOK(ecode3)) {
260923  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_FindByID" "', argument " "3"" of type '" "bool""'");
260924  }
260925  arg3 = static_cast< bool >(val3);
260926  {
260927  try {
260928  result = (AnimatSim::AnimatBase *)(arg1)->FindByID(arg2,arg3);
260929  }
260930  catch(CStdErrorInfo oError)
260931  {
260932  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260933  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
260934  PyErr_SetString(PyExc_IndexError, strError.c_str());
260935  SWIG_fail;
260936  }
260937  catch(...)
260938  {
260939  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260940  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
260941  SWIG_fail;
260942  }
260943  }
260944  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
260945  return resultobj;
260946 fail:
260947  return NULL;
260948 }
260949 
260950 
260951 SWIGINTERN PyObject *_wrap_Simulator_FindByID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
260952  PyObject *resultobj = 0;
260954  std::string arg2 ;
260955  void *argp1 = 0 ;
260956  int res1 = 0 ;
260957  PyObject * obj0 = 0 ;
260958  PyObject * obj1 = 0 ;
260959  AnimatSim::AnimatBase *result = 0 ;
260960 
260961  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_FindByID",&obj0,&obj1)) SWIG_fail;
260962  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
260963  if (!SWIG_IsOK(res1)) {
260964  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_FindByID" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
260965  }
260966  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
260967  {
260968  std::string *ptr = (std::string *)0;
260969  int res = SWIG_AsPtr_std_string(obj1, &ptr);
260970  if (!SWIG_IsOK(res) || !ptr) {
260971  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_FindByID" "', argument " "2"" of type '" "std::string""'");
260972  }
260973  arg2 = *ptr;
260974  if (SWIG_IsNewObj(res)) delete ptr;
260975  }
260976  {
260977  try {
260978  result = (AnimatSim::AnimatBase *)(arg1)->FindByID(arg2);
260979  }
260980  catch(CStdErrorInfo oError)
260981  {
260982  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260983  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
260984  PyErr_SetString(PyExc_IndexError, strError.c_str());
260985  SWIG_fail;
260986  }
260987  catch(...)
260988  {
260989  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
260990  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
260991  SWIG_fail;
260992  }
260993  }
260994  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
260995  return resultobj;
260996 fail:
260997  return NULL;
260998 }
260999 
261000 
261001 SWIGINTERN PyObject *_wrap_Simulator_FindByID(PyObject *self, PyObject *args) {
261002  int argc;
261003  PyObject *argv[4];
261004  int ii;
261005 
261006  if (!PyTuple_Check(args)) SWIG_fail;
261007  argc = args ? (int)PyObject_Length(args) : 0;
261008  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
261009  argv[ii] = PyTuple_GET_ITEM(args,ii);
261010  }
261011  if (argc == 2) {
261012  int _v;
261013  void *vptr = 0;
261014  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
261015  _v = SWIG_CheckState(res);
261016  if (_v) {
261017  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
261018  _v = SWIG_CheckState(res);
261019  if (_v) {
261020  return _wrap_Simulator_FindByID__SWIG_1(self, args);
261021  }
261022  }
261023  }
261024  if (argc == 3) {
261025  int _v;
261026  void *vptr = 0;
261027  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
261028  _v = SWIG_CheckState(res);
261029  if (_v) {
261030  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
261031  _v = SWIG_CheckState(res);
261032  if (_v) {
261033  {
261034  int res = SWIG_AsVal_bool(argv[2], NULL);
261035  _v = SWIG_CheckState(res);
261036  }
261037  if (_v) {
261038  return _wrap_Simulator_FindByID__SWIG_0(self, args);
261039  }
261040  }
261041  }
261042  }
261043 
261044 fail:
261045  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_FindByID'.\n"
261046  " Possible C/C++ prototypes are:\n"
261047  " AnimatSim::Simulator::FindByID(std::string,bool)\n"
261048  " AnimatSim::Simulator::FindByID(std::string)\n");
261049  return 0;
261050 }
261051 
261052 
261053 SWIGINTERN PyObject *_wrap_Simulator_AddToObjectList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261054  PyObject *resultobj = 0;
261057  void *argp1 = 0 ;
261058  int res1 = 0 ;
261059  void *argp2 = 0 ;
261060  int res2 = 0 ;
261061  PyObject * obj0 = 0 ;
261062  PyObject * obj1 = 0 ;
261063 
261064  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_AddToObjectList",&obj0,&obj1)) SWIG_fail;
261065  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261066  if (!SWIG_IsOK(res1)) {
261067  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AddToObjectList" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261068  }
261069  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261070  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
261071  if (!SWIG_IsOK(res2)) {
261072  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_AddToObjectList" "', argument " "2"" of type '" "AnimatSim::AnimatBase *""'");
261073  }
261074  arg2 = reinterpret_cast< AnimatSim::AnimatBase * >(argp2);
261075  {
261076  try {
261077  (arg1)->AddToObjectList(arg2);
261078  }
261079  catch(CStdErrorInfo oError)
261080  {
261081  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261082  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261083  PyErr_SetString(PyExc_IndexError, strError.c_str());
261084  SWIG_fail;
261085  }
261086  catch(...)
261087  {
261088  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261089  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261090  SWIG_fail;
261091  }
261092  }
261093  resultobj = SWIG_Py_Void();
261094  return resultobj;
261095 fail:
261096  return NULL;
261097 }
261098 
261099 
261100 SWIGINTERN PyObject *_wrap_Simulator_RemoveFromObjectList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261101  PyObject *resultobj = 0;
261104  void *argp1 = 0 ;
261105  int res1 = 0 ;
261106  void *argp2 = 0 ;
261107  int res2 = 0 ;
261108  PyObject * obj0 = 0 ;
261109  PyObject * obj1 = 0 ;
261110 
261111  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_RemoveFromObjectList",&obj0,&obj1)) SWIG_fail;
261112  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261113  if (!SWIG_IsOK(res1)) {
261114  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RemoveFromObjectList" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261115  }
261116  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261117  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
261118  if (!SWIG_IsOK(res2)) {
261119  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_RemoveFromObjectList" "', argument " "2"" of type '" "AnimatSim::AnimatBase *""'");
261120  }
261121  arg2 = reinterpret_cast< AnimatSim::AnimatBase * >(argp2);
261122  {
261123  try {
261124  (arg1)->RemoveFromObjectList(arg2);
261125  }
261126  catch(CStdErrorInfo oError)
261127  {
261128  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261129  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261130  PyErr_SetString(PyExc_IndexError, strError.c_str());
261131  SWIG_fail;
261132  }
261133  catch(...)
261134  {
261135  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261136  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261137  SWIG_fail;
261138  }
261139  }
261140  resultobj = SWIG_Py_Void();
261141  return resultobj;
261142 fail:
261143  return NULL;
261144 }
261145 
261146 
261147 SWIGINTERN PyObject *_wrap_Simulator_AddNeuralModuleFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261148  PyObject *resultobj = 0;
261150  std::string arg2 ;
261151  NeuralModule *arg3 = (NeuralModule *) 0 ;
261152  void *argp1 = 0 ;
261153  int res1 = 0 ;
261154  void *argp3 = 0 ;
261155  int res3 = 0 ;
261156  PyObject * obj0 = 0 ;
261157  PyObject * obj1 = 0 ;
261158  PyObject * obj2 = 0 ;
261159 
261160  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_AddNeuralModuleFactory",&obj0,&obj1,&obj2)) SWIG_fail;
261161  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261162  if (!SWIG_IsOK(res1)) {
261163  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AddNeuralModuleFactory" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261164  }
261165  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261166  {
261167  std::string *ptr = (std::string *)0;
261168  int res = SWIG_AsPtr_std_string(obj1, &ptr);
261169  if (!SWIG_IsOK(res) || !ptr) {
261170  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_AddNeuralModuleFactory" "', argument " "2"" of type '" "std::string""'");
261171  }
261172  arg2 = *ptr;
261173  if (SWIG_IsNewObj(res)) delete ptr;
261174  }
261175  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_NeuralModule, 0 | 0 );
261176  if (!SWIG_IsOK(res3)) {
261177  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_AddNeuralModuleFactory" "', argument " "3"" of type '" "NeuralModule *""'");
261178  }
261179  arg3 = reinterpret_cast< NeuralModule * >(argp3);
261180  {
261181  try {
261182  (arg1)->AddNeuralModuleFactory(arg2,arg3);
261183  }
261184  catch(CStdErrorInfo oError)
261185  {
261186  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261187  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261188  PyErr_SetString(PyExc_IndexError, strError.c_str());
261189  SWIG_fail;
261190  }
261191  catch(...)
261192  {
261193  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261194  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261195  SWIG_fail;
261196  }
261197  }
261198  resultobj = SWIG_Py_Void();
261199  return resultobj;
261200 fail:
261201  return NULL;
261202 }
261203 
261204 
261205 SWIGINTERN PyObject *_wrap_Simulator_AddFoodSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261206  PyObject *resultobj = 0;
261208  RigidBody *arg2 = (RigidBody *) 0 ;
261209  void *argp1 = 0 ;
261210  int res1 = 0 ;
261211  void *argp2 = 0 ;
261212  int res2 = 0 ;
261213  PyObject * obj0 = 0 ;
261214  PyObject * obj1 = 0 ;
261215 
261216  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_AddFoodSource",&obj0,&obj1)) SWIG_fail;
261217  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261218  if (!SWIG_IsOK(res1)) {
261219  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AddFoodSource" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261220  }
261221  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261222  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RigidBody, 0 | 0 );
261223  if (!SWIG_IsOK(res2)) {
261224  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_AddFoodSource" "', argument " "2"" of type '" "RigidBody *""'");
261225  }
261226  arg2 = reinterpret_cast< RigidBody * >(argp2);
261227  {
261228  try {
261229  (arg1)->AddFoodSource(arg2);
261230  }
261231  catch(CStdErrorInfo oError)
261232  {
261233  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261234  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261235  PyErr_SetString(PyExc_IndexError, strError.c_str());
261236  SWIG_fail;
261237  }
261238  catch(...)
261239  {
261240  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261241  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261242  SWIG_fail;
261243  }
261244  }
261245  resultobj = SWIG_Py_Void();
261246  return resultobj;
261247 fail:
261248  return NULL;
261249 }
261250 
261251 
261252 SWIGINTERN PyObject *_wrap_Simulator_RemoveFoodSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261253  PyObject *resultobj = 0;
261255  RigidBody *arg2 = (RigidBody *) 0 ;
261256  void *argp1 = 0 ;
261257  int res1 = 0 ;
261258  void *argp2 = 0 ;
261259  int res2 = 0 ;
261260  PyObject * obj0 = 0 ;
261261  PyObject * obj1 = 0 ;
261262 
261263  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_RemoveFoodSource",&obj0,&obj1)) SWIG_fail;
261264  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261265  if (!SWIG_IsOK(res1)) {
261266  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RemoveFoodSource" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261267  }
261268  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261269  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RigidBody, 0 | 0 );
261270  if (!SWIG_IsOK(res2)) {
261271  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_RemoveFoodSource" "', argument " "2"" of type '" "RigidBody *""'");
261272  }
261273  arg2 = reinterpret_cast< RigidBody * >(argp2);
261274  {
261275  try {
261276  (arg1)->RemoveFoodSource(arg2);
261277  }
261278  catch(CStdErrorInfo oError)
261279  {
261280  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261281  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261282  PyErr_SetString(PyExc_IndexError, strError.c_str());
261283  SWIG_fail;
261284  }
261285  catch(...)
261286  {
261287  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261288  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261289  SWIG_fail;
261290  }
261291  }
261292  resultobj = SWIG_Py_Void();
261293  return resultobj;
261294 fail:
261295  return NULL;
261296 }
261297 
261298 
261299 SWIGINTERN PyObject *_wrap_Simulator_AttachSourceAdapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261300  PyObject *resultobj = 0;
261302  Structure *arg2 = (Structure *) 0 ;
261303  Adapter *arg3 = (Adapter *) 0 ;
261304  void *argp1 = 0 ;
261305  int res1 = 0 ;
261306  void *argp2 = 0 ;
261307  int res2 = 0 ;
261308  void *argp3 = 0 ;
261309  int res3 = 0 ;
261310  PyObject * obj0 = 0 ;
261311  PyObject * obj1 = 0 ;
261312  PyObject * obj2 = 0 ;
261313 
261314  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_AttachSourceAdapter",&obj0,&obj1,&obj2)) SWIG_fail;
261315  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261316  if (!SWIG_IsOK(res1)) {
261317  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AttachSourceAdapter" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261318  }
261319  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261320  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Structure, 0 | 0 );
261321  if (!SWIG_IsOK(res2)) {
261322  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_AttachSourceAdapter" "', argument " "2"" of type '" "Structure *""'");
261323  }
261324  arg2 = reinterpret_cast< Structure * >(argp2);
261325  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Adapter, 0 | 0 );
261326  if (!SWIG_IsOK(res3)) {
261327  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_AttachSourceAdapter" "', argument " "3"" of type '" "Adapter *""'");
261328  }
261329  arg3 = reinterpret_cast< Adapter * >(argp3);
261330  {
261331  try {
261332  (arg1)->AttachSourceAdapter(arg2,arg3);
261333  }
261334  catch(CStdErrorInfo oError)
261335  {
261336  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261337  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261338  PyErr_SetString(PyExc_IndexError, strError.c_str());
261339  SWIG_fail;
261340  }
261341  catch(...)
261342  {
261343  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261344  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261345  SWIG_fail;
261346  }
261347  }
261348  resultobj = SWIG_Py_Void();
261349  return resultobj;
261350 fail:
261351  return NULL;
261352 }
261353 
261354 
261355 SWIGINTERN PyObject *_wrap_Simulator_RemoveSourceAdapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261356  PyObject *resultobj = 0;
261358  Structure *arg2 = (Structure *) 0 ;
261359  Adapter *arg3 = (Adapter *) 0 ;
261360  void *argp1 = 0 ;
261361  int res1 = 0 ;
261362  void *argp2 = 0 ;
261363  int res2 = 0 ;
261364  void *argp3 = 0 ;
261365  int res3 = 0 ;
261366  PyObject * obj0 = 0 ;
261367  PyObject * obj1 = 0 ;
261368  PyObject * obj2 = 0 ;
261369 
261370  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_RemoveSourceAdapter",&obj0,&obj1,&obj2)) SWIG_fail;
261371  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261372  if (!SWIG_IsOK(res1)) {
261373  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RemoveSourceAdapter" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261374  }
261375  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261376  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Structure, 0 | 0 );
261377  if (!SWIG_IsOK(res2)) {
261378  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_RemoveSourceAdapter" "', argument " "2"" of type '" "Structure *""'");
261379  }
261380  arg2 = reinterpret_cast< Structure * >(argp2);
261381  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Adapter, 0 | 0 );
261382  if (!SWIG_IsOK(res3)) {
261383  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_RemoveSourceAdapter" "', argument " "3"" of type '" "Adapter *""'");
261384  }
261385  arg3 = reinterpret_cast< Adapter * >(argp3);
261386  {
261387  try {
261388  (arg1)->RemoveSourceAdapter(arg2,arg3);
261389  }
261390  catch(CStdErrorInfo oError)
261391  {
261392  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261393  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261394  PyErr_SetString(PyExc_IndexError, strError.c_str());
261395  SWIG_fail;
261396  }
261397  catch(...)
261398  {
261399  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261400  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261401  SWIG_fail;
261402  }
261403  }
261404  resultobj = SWIG_Py_Void();
261405  return resultobj;
261406 fail:
261407  return NULL;
261408 }
261409 
261410 
261411 SWIGINTERN PyObject *_wrap_Simulator_AttachTargetAdapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261412  PyObject *resultobj = 0;
261414  Structure *arg2 = (Structure *) 0 ;
261415  Adapter *arg3 = (Adapter *) 0 ;
261416  void *argp1 = 0 ;
261417  int res1 = 0 ;
261418  void *argp2 = 0 ;
261419  int res2 = 0 ;
261420  void *argp3 = 0 ;
261421  int res3 = 0 ;
261422  PyObject * obj0 = 0 ;
261423  PyObject * obj1 = 0 ;
261424  PyObject * obj2 = 0 ;
261425 
261426  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_AttachTargetAdapter",&obj0,&obj1,&obj2)) SWIG_fail;
261427  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261428  if (!SWIG_IsOK(res1)) {
261429  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AttachTargetAdapter" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261430  }
261431  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261432  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Structure, 0 | 0 );
261433  if (!SWIG_IsOK(res2)) {
261434  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_AttachTargetAdapter" "', argument " "2"" of type '" "Structure *""'");
261435  }
261436  arg2 = reinterpret_cast< Structure * >(argp2);
261437  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Adapter, 0 | 0 );
261438  if (!SWIG_IsOK(res3)) {
261439  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_AttachTargetAdapter" "', argument " "3"" of type '" "Adapter *""'");
261440  }
261441  arg3 = reinterpret_cast< Adapter * >(argp3);
261442  {
261443  try {
261444  (arg1)->AttachTargetAdapter(arg2,arg3);
261445  }
261446  catch(CStdErrorInfo oError)
261447  {
261448  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261449  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261450  PyErr_SetString(PyExc_IndexError, strError.c_str());
261451  SWIG_fail;
261452  }
261453  catch(...)
261454  {
261455  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261456  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261457  SWIG_fail;
261458  }
261459  }
261460  resultobj = SWIG_Py_Void();
261461  return resultobj;
261462 fail:
261463  return NULL;
261464 }
261465 
261466 
261467 SWIGINTERN PyObject *_wrap_Simulator_RemoveTargetAdapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261468  PyObject *resultobj = 0;
261470  Structure *arg2 = (Structure *) 0 ;
261471  Adapter *arg3 = (Adapter *) 0 ;
261472  void *argp1 = 0 ;
261473  int res1 = 0 ;
261474  void *argp2 = 0 ;
261475  int res2 = 0 ;
261476  void *argp3 = 0 ;
261477  int res3 = 0 ;
261478  PyObject * obj0 = 0 ;
261479  PyObject * obj1 = 0 ;
261480  PyObject * obj2 = 0 ;
261481 
261482  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_RemoveTargetAdapter",&obj0,&obj1,&obj2)) SWIG_fail;
261483  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261484  if (!SWIG_IsOK(res1)) {
261485  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RemoveTargetAdapter" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261486  }
261487  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261488  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Structure, 0 | 0 );
261489  if (!SWIG_IsOK(res2)) {
261490  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_RemoveTargetAdapter" "', argument " "2"" of type '" "Structure *""'");
261491  }
261492  arg2 = reinterpret_cast< Structure * >(argp2);
261493  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Adapter, 0 | 0 );
261494  if (!SWIG_IsOK(res3)) {
261495  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_RemoveTargetAdapter" "', argument " "3"" of type '" "Adapter *""'");
261496  }
261497  arg3 = reinterpret_cast< Adapter * >(argp3);
261498  {
261499  try {
261500  (arg1)->RemoveTargetAdapter(arg2,arg3);
261501  }
261502  catch(CStdErrorInfo oError)
261503  {
261504  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261505  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261506  PyErr_SetString(PyExc_IndexError, strError.c_str());
261507  SWIG_fail;
261508  }
261509  catch(...)
261510  {
261511  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261512  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261513  SWIG_fail;
261514  }
261515  }
261516  resultobj = SWIG_Py_Void();
261517  return resultobj;
261518 fail:
261519  return NULL;
261520 }
261521 
261522 
261523 SWIGINTERN PyObject *_wrap_Simulator_IsPhysicsAdapter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261524  PyObject *resultobj = 0;
261526  Adapter *arg2 = (Adapter *) 0 ;
261527  void *argp1 = 0 ;
261528  int res1 = 0 ;
261529  void *argp2 = 0 ;
261530  int res2 = 0 ;
261531  PyObject * obj0 = 0 ;
261532  PyObject * obj1 = 0 ;
261533  bool result;
261534 
261535  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_IsPhysicsAdapter",&obj0,&obj1)) SWIG_fail;
261536  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261537  if (!SWIG_IsOK(res1)) {
261538  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_IsPhysicsAdapter" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261539  }
261540  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261541  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Adapter, 0 | 0 );
261542  if (!SWIG_IsOK(res2)) {
261543  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_IsPhysicsAdapter" "', argument " "2"" of type '" "Adapter *""'");
261544  }
261545  arg2 = reinterpret_cast< Adapter * >(argp2);
261546  {
261547  try {
261548  result = (bool)(arg1)->IsPhysicsAdapter(arg2);
261549  }
261550  catch(CStdErrorInfo oError)
261551  {
261552  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261553  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261554  PyErr_SetString(PyExc_IndexError, strError.c_str());
261555  SWIG_fail;
261556  }
261557  catch(...)
261558  {
261559  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261560  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261561  SWIG_fail;
261562  }
261563  }
261564  resultobj = SWIG_From_bool(static_cast< bool >(result));
261565  return resultobj;
261566 fail:
261567  return NULL;
261568 }
261569 
261570 
261571 SWIGINTERN PyObject *_wrap_Simulator_AddToExtractExtraData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261572  PyObject *resultobj = 0;
261574  BodyPart *arg2 = (BodyPart *) 0 ;
261575  void *argp1 = 0 ;
261576  int res1 = 0 ;
261577  void *argp2 = 0 ;
261578  int res2 = 0 ;
261579  PyObject * obj0 = 0 ;
261580  PyObject * obj1 = 0 ;
261581 
261582  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_AddToExtractExtraData",&obj0,&obj1)) SWIG_fail;
261583  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261584  if (!SWIG_IsOK(res1)) {
261585  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AddToExtractExtraData" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261586  }
261587  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261588  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_BodyPart, 0 | 0 );
261589  if (!SWIG_IsOK(res2)) {
261590  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_AddToExtractExtraData" "', argument " "2"" of type '" "BodyPart *""'");
261591  }
261592  arg2 = reinterpret_cast< BodyPart * >(argp2);
261593  {
261594  try {
261595  (arg1)->AddToExtractExtraData(arg2);
261596  }
261597  catch(CStdErrorInfo oError)
261598  {
261599  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261600  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261601  PyErr_SetString(PyExc_IndexError, strError.c_str());
261602  SWIG_fail;
261603  }
261604  catch(...)
261605  {
261606  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261607  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261608  SWIG_fail;
261609  }
261610  }
261611  resultobj = SWIG_Py_Void();
261612  return resultobj;
261613 fail:
261614  return NULL;
261615 }
261616 
261617 
261618 SWIGINTERN PyObject *_wrap_Simulator_RemoveFromExtractExtraData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261619  PyObject *resultobj = 0;
261621  BodyPart *arg2 = (BodyPart *) 0 ;
261622  void *argp1 = 0 ;
261623  int res1 = 0 ;
261624  void *argp2 = 0 ;
261625  int res2 = 0 ;
261626  PyObject * obj0 = 0 ;
261627  PyObject * obj1 = 0 ;
261628 
261629  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_RemoveFromExtractExtraData",&obj0,&obj1)) SWIG_fail;
261630  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261631  if (!SWIG_IsOK(res1)) {
261632  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RemoveFromExtractExtraData" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261633  }
261634  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261635  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_BodyPart, 0 | 0 );
261636  if (!SWIG_IsOK(res2)) {
261637  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_RemoveFromExtractExtraData" "', argument " "2"" of type '" "BodyPart *""'");
261638  }
261639  arg2 = reinterpret_cast< BodyPart * >(argp2);
261640  {
261641  try {
261642  (arg1)->RemoveFromExtractExtraData(arg2);
261643  }
261644  catch(CStdErrorInfo oError)
261645  {
261646  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261647  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261648  PyErr_SetString(PyExc_IndexError, strError.c_str());
261649  SWIG_fail;
261650  }
261651  catch(...)
261652  {
261653  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261654  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261655  SWIG_fail;
261656  }
261657  }
261658  resultobj = SWIG_Py_Void();
261659  return resultobj;
261660 fail:
261661  return NULL;
261662 }
261663 
261664 
261665 SWIGINTERN PyObject *_wrap_Simulator_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261666  PyObject *resultobj = 0;
261668  std::string *arg2 = 0 ;
261669  void *argp1 = 0 ;
261670  int res1 = 0 ;
261671  int res2 = SWIG_OLDOBJ ;
261672  PyObject * obj0 = 0 ;
261673  PyObject * obj1 = 0 ;
261674  float *result = 0 ;
261675 
261676  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_GetDataPointer",&obj0,&obj1)) SWIG_fail;
261677  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261678  if (!SWIG_IsOK(res1)) {
261679  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261680  }
261681  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261682  {
261683  std::string *ptr = (std::string *)0;
261684  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
261685  if (!SWIG_IsOK(res2)) {
261686  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
261687  }
261688  if (!ptr) {
261689  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
261690  }
261691  arg2 = ptr;
261692  }
261693  {
261694  try {
261695  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
261696  }
261697  catch(CStdErrorInfo oError)
261698  {
261699  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261700  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261701  PyErr_SetString(PyExc_IndexError, strError.c_str());
261702  SWIG_fail;
261703  }
261704  catch(...)
261705  {
261706  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261707  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261708  SWIG_fail;
261709  }
261710  }
261711  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
261712  if (SWIG_IsNewObj(res2)) delete arg2;
261713  return resultobj;
261714 fail:
261715  if (SWIG_IsNewObj(res2)) delete arg2;
261716  return NULL;
261717 }
261718 
261719 
261720 SWIGINTERN PyObject *_wrap_Simulator_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261721  PyObject *resultobj = 0;
261723  std::string *arg2 = 0 ;
261724  std::string *arg3 = 0 ;
261725  bool arg4 ;
261726  void *argp1 = 0 ;
261727  int res1 = 0 ;
261728  int res2 = SWIG_OLDOBJ ;
261729  int res3 = SWIG_OLDOBJ ;
261730  bool val4 ;
261731  int ecode4 = 0 ;
261732  PyObject * obj0 = 0 ;
261733  PyObject * obj1 = 0 ;
261734  PyObject * obj2 = 0 ;
261735  PyObject * obj3 = 0 ;
261736  bool result;
261737 
261738  if (!PyArg_ParseTuple(args,(char *)"OOOO:Simulator_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
261739  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261740  if (!SWIG_IsOK(res1)) {
261741  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SetData" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261742  }
261743  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261744  {
261745  std::string *ptr = (std::string *)0;
261746  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
261747  if (!SWIG_IsOK(res2)) {
261748  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_SetData" "', argument " "2"" of type '" "std::string const &""'");
261749  }
261750  if (!ptr) {
261751  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_SetData" "', argument " "2"" of type '" "std::string const &""'");
261752  }
261753  arg2 = ptr;
261754  }
261755  {
261756  std::string *ptr = (std::string *)0;
261757  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
261758  if (!SWIG_IsOK(res3)) {
261759  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_SetData" "', argument " "3"" of type '" "std::string const &""'");
261760  }
261761  if (!ptr) {
261762  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_SetData" "', argument " "3"" of type '" "std::string const &""'");
261763  }
261764  arg3 = ptr;
261765  }
261766  ecode4 = SWIG_AsVal_bool(obj3, &val4);
261767  if (!SWIG_IsOK(ecode4)) {
261768  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Simulator_SetData" "', argument " "4"" of type '" "bool""'");
261769  }
261770  arg4 = static_cast< bool >(val4);
261771  {
261772  try {
261773  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
261774  }
261775  catch(CStdErrorInfo oError)
261776  {
261777  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261778  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261779  PyErr_SetString(PyExc_IndexError, strError.c_str());
261780  SWIG_fail;
261781  }
261782  catch(...)
261783  {
261784  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261785  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261786  SWIG_fail;
261787  }
261788  }
261789  resultobj = SWIG_From_bool(static_cast< bool >(result));
261790  if (SWIG_IsNewObj(res2)) delete arg2;
261791  if (SWIG_IsNewObj(res3)) delete arg3;
261792  return resultobj;
261793 fail:
261794  if (SWIG_IsNewObj(res2)) delete arg2;
261795  if (SWIG_IsNewObj(res3)) delete arg3;
261796  return NULL;
261797 }
261798 
261799 
261800 SWIGINTERN PyObject *_wrap_Simulator_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261801  PyObject *resultobj = 0;
261803  std::string *arg2 = 0 ;
261804  std::string *arg3 = 0 ;
261805  void *argp1 = 0 ;
261806  int res1 = 0 ;
261807  int res2 = SWIG_OLDOBJ ;
261808  int res3 = SWIG_OLDOBJ ;
261809  PyObject * obj0 = 0 ;
261810  PyObject * obj1 = 0 ;
261811  PyObject * obj2 = 0 ;
261812  bool result;
261813 
261814  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
261815  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261816  if (!SWIG_IsOK(res1)) {
261817  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SetData" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261818  }
261819  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261820  {
261821  std::string *ptr = (std::string *)0;
261822  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
261823  if (!SWIG_IsOK(res2)) {
261824  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_SetData" "', argument " "2"" of type '" "std::string const &""'");
261825  }
261826  if (!ptr) {
261827  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_SetData" "', argument " "2"" of type '" "std::string const &""'");
261828  }
261829  arg2 = ptr;
261830  }
261831  {
261832  std::string *ptr = (std::string *)0;
261833  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
261834  if (!SWIG_IsOK(res3)) {
261835  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_SetData" "', argument " "3"" of type '" "std::string const &""'");
261836  }
261837  if (!ptr) {
261838  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_SetData" "', argument " "3"" of type '" "std::string const &""'");
261839  }
261840  arg3 = ptr;
261841  }
261842  {
261843  try {
261844  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
261845  }
261846  catch(CStdErrorInfo oError)
261847  {
261848  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261849  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261850  PyErr_SetString(PyExc_IndexError, strError.c_str());
261851  SWIG_fail;
261852  }
261853  catch(...)
261854  {
261855  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261856  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261857  SWIG_fail;
261858  }
261859  }
261860  resultobj = SWIG_From_bool(static_cast< bool >(result));
261861  if (SWIG_IsNewObj(res2)) delete arg2;
261862  if (SWIG_IsNewObj(res3)) delete arg3;
261863  return resultobj;
261864 fail:
261865  if (SWIG_IsNewObj(res2)) delete arg2;
261866  if (SWIG_IsNewObj(res3)) delete arg3;
261867  return NULL;
261868 }
261869 
261870 
261871 SWIGINTERN PyObject *_wrap_Simulator_SetData(PyObject *self, PyObject *args) {
261872  int argc;
261873  PyObject *argv[5];
261874  int ii;
261875 
261876  if (!PyTuple_Check(args)) SWIG_fail;
261877  argc = args ? (int)PyObject_Length(args) : 0;
261878  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
261879  argv[ii] = PyTuple_GET_ITEM(args,ii);
261880  }
261881  if (argc == 3) {
261882  int _v;
261883  void *vptr = 0;
261884  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
261885  _v = SWIG_CheckState(res);
261886  if (_v) {
261887  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
261888  _v = SWIG_CheckState(res);
261889  if (_v) {
261890  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
261891  _v = SWIG_CheckState(res);
261892  if (_v) {
261893  return _wrap_Simulator_SetData__SWIG_1(self, args);
261894  }
261895  }
261896  }
261897  }
261898  if (argc == 4) {
261899  int _v;
261900  void *vptr = 0;
261901  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
261902  _v = SWIG_CheckState(res);
261903  if (_v) {
261904  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
261905  _v = SWIG_CheckState(res);
261906  if (_v) {
261907  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
261908  _v = SWIG_CheckState(res);
261909  if (_v) {
261910  {
261911  int res = SWIG_AsVal_bool(argv[3], NULL);
261912  _v = SWIG_CheckState(res);
261913  }
261914  if (_v) {
261915  return _wrap_Simulator_SetData__SWIG_0(self, args);
261916  }
261917  }
261918  }
261919  }
261920  }
261921 
261922 fail:
261923  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_SetData'.\n"
261924  " Possible C/C++ prototypes are:\n"
261925  " AnimatSim::Simulator::SetData(std::string const &,std::string const &,bool)\n"
261926  " AnimatSim::Simulator::SetData(std::string const &,std::string const &)\n");
261927  return 0;
261928 }
261929 
261930 
261931 SWIGINTERN PyObject *_wrap_Simulator_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261932  PyObject *resultobj = 0;
261934  CStdPtrArray< TypeProperty > *arg2 = 0 ;
261935  void *argp1 = 0 ;
261936  int res1 = 0 ;
261937  void *argp2 = 0 ;
261938  int res2 = 0 ;
261939  PyObject * obj0 = 0 ;
261940  PyObject * obj1 = 0 ;
261941 
261942  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_QueryProperties",&obj0,&obj1)) SWIG_fail;
261943  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
261944  if (!SWIG_IsOK(res1)) {
261945  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
261946  }
261947  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
261948  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
261949  if (!SWIG_IsOK(res2)) {
261950  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
261951  }
261952  if (!argp2) {
261953  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
261954  }
261955  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
261956  {
261957  try {
261958  (arg1)->QueryProperties(*arg2);
261959  }
261960  catch(CStdErrorInfo oError)
261961  {
261962  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261963  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
261964  PyErr_SetString(PyExc_IndexError, strError.c_str());
261965  SWIG_fail;
261966  }
261967  catch(...)
261968  {
261969  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
261970  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
261971  SWIG_fail;
261972  }
261973  }
261974  resultobj = SWIG_Py_Void();
261975  return resultobj;
261976 fail:
261977  return NULL;
261978 }
261979 
261980 
261981 SWIGINTERN PyObject *_wrap_Simulator_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
261982  PyObject *resultobj = 0;
261984  std::string *arg2 = 0 ;
261985  std::string *arg3 = 0 ;
261986  bool arg4 ;
261987  bool arg5 ;
261988  void *argp1 = 0 ;
261989  int res1 = 0 ;
261990  int res2 = SWIG_OLDOBJ ;
261991  int res3 = SWIG_OLDOBJ ;
261992  bool val4 ;
261993  int ecode4 = 0 ;
261994  bool val5 ;
261995  int ecode5 = 0 ;
261996  PyObject * obj0 = 0 ;
261997  PyObject * obj1 = 0 ;
261998  PyObject * obj2 = 0 ;
261999  PyObject * obj3 = 0 ;
262000  PyObject * obj4 = 0 ;
262001  bool result;
262002 
262003  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Simulator_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
262004  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
262005  if (!SWIG_IsOK(res1)) {
262006  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AddItem" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
262007  }
262008  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
262009  {
262010  std::string *ptr = (std::string *)0;
262011  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
262012  if (!SWIG_IsOK(res2)) {
262013  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_AddItem" "', argument " "2"" of type '" "std::string const &""'");
262014  }
262015  if (!ptr) {
262016  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_AddItem" "', argument " "2"" of type '" "std::string const &""'");
262017  }
262018  arg2 = ptr;
262019  }
262020  {
262021  std::string *ptr = (std::string *)0;
262022  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
262023  if (!SWIG_IsOK(res3)) {
262024  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_AddItem" "', argument " "3"" of type '" "std::string const &""'");
262025  }
262026  if (!ptr) {
262027  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_AddItem" "', argument " "3"" of type '" "std::string const &""'");
262028  }
262029  arg3 = ptr;
262030  }
262031  ecode4 = SWIG_AsVal_bool(obj3, &val4);
262032  if (!SWIG_IsOK(ecode4)) {
262033  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Simulator_AddItem" "', argument " "4"" of type '" "bool""'");
262034  }
262035  arg4 = static_cast< bool >(val4);
262036  ecode5 = SWIG_AsVal_bool(obj4, &val5);
262037  if (!SWIG_IsOK(ecode5)) {
262038  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Simulator_AddItem" "', argument " "5"" of type '" "bool""'");
262039  }
262040  arg5 = static_cast< bool >(val5);
262041  {
262042  try {
262043  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
262044  }
262045  catch(CStdErrorInfo oError)
262046  {
262047  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262048  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
262049  PyErr_SetString(PyExc_IndexError, strError.c_str());
262050  SWIG_fail;
262051  }
262052  catch(...)
262053  {
262054  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262055  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
262056  SWIG_fail;
262057  }
262058  }
262059  resultobj = SWIG_From_bool(static_cast< bool >(result));
262060  if (SWIG_IsNewObj(res2)) delete arg2;
262061  if (SWIG_IsNewObj(res3)) delete arg3;
262062  return resultobj;
262063 fail:
262064  if (SWIG_IsNewObj(res2)) delete arg2;
262065  if (SWIG_IsNewObj(res3)) delete arg3;
262066  return NULL;
262067 }
262068 
262069 
262070 SWIGINTERN PyObject *_wrap_Simulator_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
262071  PyObject *resultobj = 0;
262073  std::string *arg2 = 0 ;
262074  std::string *arg3 = 0 ;
262075  bool arg4 ;
262076  void *argp1 = 0 ;
262077  int res1 = 0 ;
262078  int res2 = SWIG_OLDOBJ ;
262079  int res3 = SWIG_OLDOBJ ;
262080  bool val4 ;
262081  int ecode4 = 0 ;
262082  PyObject * obj0 = 0 ;
262083  PyObject * obj1 = 0 ;
262084  PyObject * obj2 = 0 ;
262085  PyObject * obj3 = 0 ;
262086  bool result;
262087 
262088  if (!PyArg_ParseTuple(args,(char *)"OOOO:Simulator_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
262089  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
262090  if (!SWIG_IsOK(res1)) {
262091  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AddItem" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
262092  }
262093  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
262094  {
262095  std::string *ptr = (std::string *)0;
262096  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
262097  if (!SWIG_IsOK(res2)) {
262098  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_AddItem" "', argument " "2"" of type '" "std::string const &""'");
262099  }
262100  if (!ptr) {
262101  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_AddItem" "', argument " "2"" of type '" "std::string const &""'");
262102  }
262103  arg2 = ptr;
262104  }
262105  {
262106  std::string *ptr = (std::string *)0;
262107  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
262108  if (!SWIG_IsOK(res3)) {
262109  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_AddItem" "', argument " "3"" of type '" "std::string const &""'");
262110  }
262111  if (!ptr) {
262112  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_AddItem" "', argument " "3"" of type '" "std::string const &""'");
262113  }
262114  arg3 = ptr;
262115  }
262116  ecode4 = SWIG_AsVal_bool(obj3, &val4);
262117  if (!SWIG_IsOK(ecode4)) {
262118  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Simulator_AddItem" "', argument " "4"" of type '" "bool""'");
262119  }
262120  arg4 = static_cast< bool >(val4);
262121  {
262122  try {
262123  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
262124  }
262125  catch(CStdErrorInfo oError)
262126  {
262127  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262128  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
262129  PyErr_SetString(PyExc_IndexError, strError.c_str());
262130  SWIG_fail;
262131  }
262132  catch(...)
262133  {
262134  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262135  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
262136  SWIG_fail;
262137  }
262138  }
262139  resultobj = SWIG_From_bool(static_cast< bool >(result));
262140  if (SWIG_IsNewObj(res2)) delete arg2;
262141  if (SWIG_IsNewObj(res3)) delete arg3;
262142  return resultobj;
262143 fail:
262144  if (SWIG_IsNewObj(res2)) delete arg2;
262145  if (SWIG_IsNewObj(res3)) delete arg3;
262146  return NULL;
262147 }
262148 
262149 
262150 SWIGINTERN PyObject *_wrap_Simulator_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
262151  PyObject *resultobj = 0;
262153  std::string *arg2 = 0 ;
262154  std::string *arg3 = 0 ;
262155  void *argp1 = 0 ;
262156  int res1 = 0 ;
262157  int res2 = SWIG_OLDOBJ ;
262158  int res3 = SWIG_OLDOBJ ;
262159  PyObject * obj0 = 0 ;
262160  PyObject * obj1 = 0 ;
262161  PyObject * obj2 = 0 ;
262162  bool result;
262163 
262164  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
262165  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
262166  if (!SWIG_IsOK(res1)) {
262167  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AddItem" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
262168  }
262169  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
262170  {
262171  std::string *ptr = (std::string *)0;
262172  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
262173  if (!SWIG_IsOK(res2)) {
262174  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_AddItem" "', argument " "2"" of type '" "std::string const &""'");
262175  }
262176  if (!ptr) {
262177  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_AddItem" "', argument " "2"" of type '" "std::string const &""'");
262178  }
262179  arg2 = ptr;
262180  }
262181  {
262182  std::string *ptr = (std::string *)0;
262183  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
262184  if (!SWIG_IsOK(res3)) {
262185  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_AddItem" "', argument " "3"" of type '" "std::string const &""'");
262186  }
262187  if (!ptr) {
262188  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_AddItem" "', argument " "3"" of type '" "std::string const &""'");
262189  }
262190  arg3 = ptr;
262191  }
262192  {
262193  try {
262194  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
262195  }
262196  catch(CStdErrorInfo oError)
262197  {
262198  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262199  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
262200  PyErr_SetString(PyExc_IndexError, strError.c_str());
262201  SWIG_fail;
262202  }
262203  catch(...)
262204  {
262205  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262206  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
262207  SWIG_fail;
262208  }
262209  }
262210  resultobj = SWIG_From_bool(static_cast< bool >(result));
262211  if (SWIG_IsNewObj(res2)) delete arg2;
262212  if (SWIG_IsNewObj(res3)) delete arg3;
262213  return resultobj;
262214 fail:
262215  if (SWIG_IsNewObj(res2)) delete arg2;
262216  if (SWIG_IsNewObj(res3)) delete arg3;
262217  return NULL;
262218 }
262219 
262220 
262221 SWIGINTERN PyObject *_wrap_Simulator_AddItem(PyObject *self, PyObject *args) {
262222  int argc;
262223  PyObject *argv[6];
262224  int ii;
262225 
262226  if (!PyTuple_Check(args)) SWIG_fail;
262227  argc = args ? (int)PyObject_Length(args) : 0;
262228  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
262229  argv[ii] = PyTuple_GET_ITEM(args,ii);
262230  }
262231  if (argc == 3) {
262232  int _v;
262233  void *vptr = 0;
262234  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
262235  _v = SWIG_CheckState(res);
262236  if (_v) {
262237  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
262238  _v = SWIG_CheckState(res);
262239  if (_v) {
262240  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
262241  _v = SWIG_CheckState(res);
262242  if (_v) {
262243  return _wrap_Simulator_AddItem__SWIG_2(self, args);
262244  }
262245  }
262246  }
262247  }
262248  if (argc == 4) {
262249  int _v;
262250  void *vptr = 0;
262251  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
262252  _v = SWIG_CheckState(res);
262253  if (_v) {
262254  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
262255  _v = SWIG_CheckState(res);
262256  if (_v) {
262257  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
262258  _v = SWIG_CheckState(res);
262259  if (_v) {
262260  {
262261  int res = SWIG_AsVal_bool(argv[3], NULL);
262262  _v = SWIG_CheckState(res);
262263  }
262264  if (_v) {
262265  return _wrap_Simulator_AddItem__SWIG_1(self, args);
262266  }
262267  }
262268  }
262269  }
262270  }
262271  if (argc == 5) {
262272  int _v;
262273  void *vptr = 0;
262274  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
262275  _v = SWIG_CheckState(res);
262276  if (_v) {
262277  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
262278  _v = SWIG_CheckState(res);
262279  if (_v) {
262280  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
262281  _v = SWIG_CheckState(res);
262282  if (_v) {
262283  {
262284  int res = SWIG_AsVal_bool(argv[3], NULL);
262285  _v = SWIG_CheckState(res);
262286  }
262287  if (_v) {
262288  {
262289  int res = SWIG_AsVal_bool(argv[4], NULL);
262290  _v = SWIG_CheckState(res);
262291  }
262292  if (_v) {
262293  return _wrap_Simulator_AddItem__SWIG_0(self, args);
262294  }
262295  }
262296  }
262297  }
262298  }
262299  }
262300 
262301 fail:
262302  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_AddItem'.\n"
262303  " Possible C/C++ prototypes are:\n"
262304  " AnimatSim::Simulator::AddItem(std::string const &,std::string const &,bool,bool)\n"
262305  " AnimatSim::Simulator::AddItem(std::string const &,std::string const &,bool)\n"
262306  " AnimatSim::Simulator::AddItem(std::string const &,std::string const &)\n");
262307  return 0;
262308 }
262309 
262310 
262311 SWIGINTERN PyObject *_wrap_Simulator_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
262312  PyObject *resultobj = 0;
262314  std::string *arg2 = 0 ;
262315  std::string *arg3 = 0 ;
262316  bool arg4 ;
262317  void *argp1 = 0 ;
262318  int res1 = 0 ;
262319  int res2 = SWIG_OLDOBJ ;
262320  int res3 = SWIG_OLDOBJ ;
262321  bool val4 ;
262322  int ecode4 = 0 ;
262323  PyObject * obj0 = 0 ;
262324  PyObject * obj1 = 0 ;
262325  PyObject * obj2 = 0 ;
262326  PyObject * obj3 = 0 ;
262327  bool result;
262328 
262329  if (!PyArg_ParseTuple(args,(char *)"OOOO:Simulator_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
262330  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
262331  if (!SWIG_IsOK(res1)) {
262332  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
262333  }
262334  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
262335  {
262336  std::string *ptr = (std::string *)0;
262337  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
262338  if (!SWIG_IsOK(res2)) {
262339  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
262340  }
262341  if (!ptr) {
262342  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
262343  }
262344  arg2 = ptr;
262345  }
262346  {
262347  std::string *ptr = (std::string *)0;
262348  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
262349  if (!SWIG_IsOK(res3)) {
262350  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
262351  }
262352  if (!ptr) {
262353  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
262354  }
262355  arg3 = ptr;
262356  }
262357  ecode4 = SWIG_AsVal_bool(obj3, &val4);
262358  if (!SWIG_IsOK(ecode4)) {
262359  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Simulator_RemoveItem" "', argument " "4"" of type '" "bool""'");
262360  }
262361  arg4 = static_cast< bool >(val4);
262362  {
262363  try {
262364  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
262365  }
262366  catch(CStdErrorInfo oError)
262367  {
262368  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262369  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
262370  PyErr_SetString(PyExc_IndexError, strError.c_str());
262371  SWIG_fail;
262372  }
262373  catch(...)
262374  {
262375  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262376  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
262377  SWIG_fail;
262378  }
262379  }
262380  resultobj = SWIG_From_bool(static_cast< bool >(result));
262381  if (SWIG_IsNewObj(res2)) delete arg2;
262382  if (SWIG_IsNewObj(res3)) delete arg3;
262383  return resultobj;
262384 fail:
262385  if (SWIG_IsNewObj(res2)) delete arg2;
262386  if (SWIG_IsNewObj(res3)) delete arg3;
262387  return NULL;
262388 }
262389 
262390 
262391 SWIGINTERN PyObject *_wrap_Simulator_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
262392  PyObject *resultobj = 0;
262394  std::string *arg2 = 0 ;
262395  std::string *arg3 = 0 ;
262396  void *argp1 = 0 ;
262397  int res1 = 0 ;
262398  int res2 = SWIG_OLDOBJ ;
262399  int res3 = SWIG_OLDOBJ ;
262400  PyObject * obj0 = 0 ;
262401  PyObject * obj1 = 0 ;
262402  PyObject * obj2 = 0 ;
262403  bool result;
262404 
262405  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
262406  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
262407  if (!SWIG_IsOK(res1)) {
262408  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
262409  }
262410  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
262411  {
262412  std::string *ptr = (std::string *)0;
262413  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
262414  if (!SWIG_IsOK(res2)) {
262415  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
262416  }
262417  if (!ptr) {
262418  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
262419  }
262420  arg2 = ptr;
262421  }
262422  {
262423  std::string *ptr = (std::string *)0;
262424  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
262425  if (!SWIG_IsOK(res3)) {
262426  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
262427  }
262428  if (!ptr) {
262429  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
262430  }
262431  arg3 = ptr;
262432  }
262433  {
262434  try {
262435  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
262436  }
262437  catch(CStdErrorInfo oError)
262438  {
262439  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262440  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
262441  PyErr_SetString(PyExc_IndexError, strError.c_str());
262442  SWIG_fail;
262443  }
262444  catch(...)
262445  {
262446  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262447  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
262448  SWIG_fail;
262449  }
262450  }
262451  resultobj = SWIG_From_bool(static_cast< bool >(result));
262452  if (SWIG_IsNewObj(res2)) delete arg2;
262453  if (SWIG_IsNewObj(res3)) delete arg3;
262454  return resultobj;
262455 fail:
262456  if (SWIG_IsNewObj(res2)) delete arg2;
262457  if (SWIG_IsNewObj(res3)) delete arg3;
262458  return NULL;
262459 }
262460 
262461 
262462 SWIGINTERN PyObject *_wrap_Simulator_RemoveItem(PyObject *self, PyObject *args) {
262463  int argc;
262464  PyObject *argv[5];
262465  int ii;
262466 
262467  if (!PyTuple_Check(args)) SWIG_fail;
262468  argc = args ? (int)PyObject_Length(args) : 0;
262469  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
262470  argv[ii] = PyTuple_GET_ITEM(args,ii);
262471  }
262472  if (argc == 3) {
262473  int _v;
262474  void *vptr = 0;
262475  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
262476  _v = SWIG_CheckState(res);
262477  if (_v) {
262478  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
262479  _v = SWIG_CheckState(res);
262480  if (_v) {
262481  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
262482  _v = SWIG_CheckState(res);
262483  if (_v) {
262484  return _wrap_Simulator_RemoveItem__SWIG_1(self, args);
262485  }
262486  }
262487  }
262488  }
262489  if (argc == 4) {
262490  int _v;
262491  void *vptr = 0;
262492  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
262493  _v = SWIG_CheckState(res);
262494  if (_v) {
262495  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
262496  _v = SWIG_CheckState(res);
262497  if (_v) {
262498  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
262499  _v = SWIG_CheckState(res);
262500  if (_v) {
262501  {
262502  int res = SWIG_AsVal_bool(argv[3], NULL);
262503  _v = SWIG_CheckState(res);
262504  }
262505  if (_v) {
262506  return _wrap_Simulator_RemoveItem__SWIG_0(self, args);
262507  }
262508  }
262509  }
262510  }
262511  }
262512 
262513 fail:
262514  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_RemoveItem'.\n"
262515  " Possible C/C++ prototypes are:\n"
262516  " AnimatSim::Simulator::RemoveItem(std::string const &,std::string const &,bool)\n"
262517  " AnimatSim::Simulator::RemoveItem(std::string const &,std::string const &)\n");
262518  return 0;
262519 }
262520 
262521 
262522 SWIGINTERN PyObject *_wrap_Simulator_EnableVideoPlayback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
262523  PyObject *resultobj = 0;
262525  std::string arg2 ;
262526  void *argp1 = 0 ;
262527  int res1 = 0 ;
262528  PyObject * obj0 = 0 ;
262529  PyObject * obj1 = 0 ;
262530 
262531  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_EnableVideoPlayback",&obj0,&obj1)) SWIG_fail;
262532  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
262533  if (!SWIG_IsOK(res1)) {
262534  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_EnableVideoPlayback" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
262535  }
262536  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
262537  {
262538  std::string *ptr = (std::string *)0;
262539  int res = SWIG_AsPtr_std_string(obj1, &ptr);
262540  if (!SWIG_IsOK(res) || !ptr) {
262541  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_EnableVideoPlayback" "', argument " "2"" of type '" "std::string""'");
262542  }
262543  arg2 = *ptr;
262544  if (SWIG_IsNewObj(res)) delete ptr;
262545  }
262546  {
262547  try {
262548  (arg1)->EnableVideoPlayback(arg2);
262549  }
262550  catch(CStdErrorInfo oError)
262551  {
262552  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262553  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
262554  PyErr_SetString(PyExc_IndexError, strError.c_str());
262555  SWIG_fail;
262556  }
262557  catch(...)
262558  {
262559  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262560  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
262561  SWIG_fail;
262562  }
262563  }
262564  resultobj = SWIG_Py_Void();
262565  return resultobj;
262566 fail:
262567  return NULL;
262568 }
262569 
262570 
262571 SWIGINTERN PyObject *_wrap_Simulator_DisableVideoPlayback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
262572  PyObject *resultobj = 0;
262574  void *argp1 = 0 ;
262575  int res1 = 0 ;
262576  PyObject * obj0 = 0 ;
262577 
262578  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_DisableVideoPlayback",&obj0)) SWIG_fail;
262579  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
262580  if (!SWIG_IsOK(res1)) {
262581  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_DisableVideoPlayback" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
262582  }
262583  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
262584  {
262585  try {
262586  (arg1)->DisableVideoPlayback();
262587  }
262588  catch(CStdErrorInfo oError)
262589  {
262590  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262591  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
262592  PyErr_SetString(PyExc_IndexError, strError.c_str());
262593  SWIG_fail;
262594  }
262595  catch(...)
262596  {
262597  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262598  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
262599  SWIG_fail;
262600  }
262601  }
262602  resultobj = SWIG_Py_Void();
262603  return resultobj;
262604 fail:
262605  return NULL;
262606 }
262607 
262608 
262609 SWIGINTERN PyObject *_wrap_Simulator_StartVideoPlayback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
262610  PyObject *resultobj = 0;
262612  void *argp1 = 0 ;
262613  int res1 = 0 ;
262614  PyObject * obj0 = 0 ;
262615 
262616  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_StartVideoPlayback",&obj0)) SWIG_fail;
262617  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
262618  if (!SWIG_IsOK(res1)) {
262619  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_StartVideoPlayback" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
262620  }
262621  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
262622  {
262623  try {
262624  (arg1)->StartVideoPlayback();
262625  }
262626  catch(CStdErrorInfo oError)
262627  {
262628  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262629  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
262630  PyErr_SetString(PyExc_IndexError, strError.c_str());
262631  SWIG_fail;
262632  }
262633  catch(...)
262634  {
262635  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262636  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
262637  SWIG_fail;
262638  }
262639  }
262640  resultobj = SWIG_Py_Void();
262641  return resultobj;
262642 fail:
262643  return NULL;
262644 }
262645 
262646 
262647 SWIGINTERN PyObject *_wrap_Simulator_StopVideoPlayback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
262648  PyObject *resultobj = 0;
262650  void *argp1 = 0 ;
262651  int res1 = 0 ;
262652  PyObject * obj0 = 0 ;
262653 
262654  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_StopVideoPlayback",&obj0)) SWIG_fail;
262655  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
262656  if (!SWIG_IsOK(res1)) {
262657  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_StopVideoPlayback" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
262658  }
262659  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
262660  {
262661  try {
262662  (arg1)->StopVideoPlayback();
262663  }
262664  catch(CStdErrorInfo oError)
262665  {
262666  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262667  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
262668  PyErr_SetString(PyExc_IndexError, strError.c_str());
262669  SWIG_fail;
262670  }
262671  catch(...)
262672  {
262673  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262674  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
262675  SWIG_fail;
262676  }
262677  }
262678  resultobj = SWIG_Py_Void();
262679  return resultobj;
262680 fail:
262681  return NULL;
262682 }
262683 
262684 
262685 SWIGINTERN PyObject *_wrap_Simulator_StepVideoPlayback__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
262686  PyObject *resultobj = 0;
262688  int arg2 ;
262689  void *argp1 = 0 ;
262690  int res1 = 0 ;
262691  int val2 ;
262692  int ecode2 = 0 ;
262693  PyObject * obj0 = 0 ;
262694  PyObject * obj1 = 0 ;
262695 
262696  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_StepVideoPlayback",&obj0,&obj1)) SWIG_fail;
262697  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
262698  if (!SWIG_IsOK(res1)) {
262699  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_StepVideoPlayback" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
262700  }
262701  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
262702  ecode2 = SWIG_AsVal_int(obj1, &val2);
262703  if (!SWIG_IsOK(ecode2)) {
262704  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Simulator_StepVideoPlayback" "', argument " "2"" of type '" "int""'");
262705  }
262706  arg2 = static_cast< int >(val2);
262707  {
262708  try {
262709  (arg1)->StepVideoPlayback(arg2);
262710  }
262711  catch(CStdErrorInfo oError)
262712  {
262713  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262714  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
262715  PyErr_SetString(PyExc_IndexError, strError.c_str());
262716  SWIG_fail;
262717  }
262718  catch(...)
262719  {
262720  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262721  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
262722  SWIG_fail;
262723  }
262724  }
262725  resultobj = SWIG_Py_Void();
262726  return resultobj;
262727 fail:
262728  return NULL;
262729 }
262730 
262731 
262732 SWIGINTERN PyObject *_wrap_Simulator_StepVideoPlayback__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
262733  PyObject *resultobj = 0;
262735  void *argp1 = 0 ;
262736  int res1 = 0 ;
262737  PyObject * obj0 = 0 ;
262738 
262739  if (!PyArg_ParseTuple(args,(char *)"O:Simulator_StepVideoPlayback",&obj0)) SWIG_fail;
262740  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
262741  if (!SWIG_IsOK(res1)) {
262742  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_StepVideoPlayback" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
262743  }
262744  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
262745  {
262746  try {
262747  (arg1)->StepVideoPlayback();
262748  }
262749  catch(CStdErrorInfo oError)
262750  {
262751  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262752  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
262753  PyErr_SetString(PyExc_IndexError, strError.c_str());
262754  SWIG_fail;
262755  }
262756  catch(...)
262757  {
262758  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262759  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
262760  SWIG_fail;
262761  }
262762  }
262763  resultobj = SWIG_Py_Void();
262764  return resultobj;
262765 fail:
262766  return NULL;
262767 }
262768 
262769 
262770 SWIGINTERN PyObject *_wrap_Simulator_StepVideoPlayback(PyObject *self, PyObject *args) {
262771  int argc;
262772  PyObject *argv[3];
262773  int ii;
262774 
262775  if (!PyTuple_Check(args)) SWIG_fail;
262776  argc = args ? (int)PyObject_Length(args) : 0;
262777  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
262778  argv[ii] = PyTuple_GET_ITEM(args,ii);
262779  }
262780  if (argc == 1) {
262781  int _v;
262782  void *vptr = 0;
262783  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
262784  _v = SWIG_CheckState(res);
262785  if (_v) {
262786  return _wrap_Simulator_StepVideoPlayback__SWIG_1(self, args);
262787  }
262788  }
262789  if (argc == 2) {
262790  int _v;
262791  void *vptr = 0;
262792  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
262793  _v = SWIG_CheckState(res);
262794  if (_v) {
262795  {
262796  int res = SWIG_AsVal_int(argv[1], NULL);
262797  _v = SWIG_CheckState(res);
262798  }
262799  if (_v) {
262800  return _wrap_Simulator_StepVideoPlayback__SWIG_0(self, args);
262801  }
262802  }
262803  }
262804 
262805 fail:
262806  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Simulator_StepVideoPlayback'.\n"
262807  " Possible C/C++ prototypes are:\n"
262808  " AnimatSim::Simulator::StepVideoPlayback(int)\n"
262809  " AnimatSim::Simulator::StepVideoPlayback()\n");
262810  return 0;
262811 }
262812 
262813 
262814 SWIGINTERN PyObject *_wrap_Simulator_SaveVideo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
262815  PyObject *resultobj = 0;
262817  std::string arg2 ;
262818  void *argp1 = 0 ;
262819  int res1 = 0 ;
262820  PyObject * obj0 = 0 ;
262821  PyObject * obj1 = 0 ;
262822 
262823  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_SaveVideo",&obj0,&obj1)) SWIG_fail;
262824  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
262825  if (!SWIG_IsOK(res1)) {
262826  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SaveVideo" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
262827  }
262828  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
262829  {
262830  std::string *ptr = (std::string *)0;
262831  int res = SWIG_AsPtr_std_string(obj1, &ptr);
262832  if (!SWIG_IsOK(res) || !ptr) {
262833  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_SaveVideo" "', argument " "2"" of type '" "std::string""'");
262834  }
262835  arg2 = *ptr;
262836  if (SWIG_IsNewObj(res)) delete ptr;
262837  }
262838  {
262839  try {
262840  (arg1)->SaveVideo(arg2);
262841  }
262842  catch(CStdErrorInfo oError)
262843  {
262844  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262845  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
262846  PyErr_SetString(PyExc_IndexError, strError.c_str());
262847  SWIG_fail;
262848  }
262849  catch(...)
262850  {
262851  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262852  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
262853  SWIG_fail;
262854  }
262855  }
262856  resultobj = SWIG_Py_Void();
262857  return resultobj;
262858 fail:
262859  return NULL;
262860 }
262861 
262862 
262863 SWIGINTERN PyObject *_wrap_Simulator_AddKeyFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
262864  PyObject *resultobj = 0;
262866  std::string arg2 ;
262867  long arg3 ;
262868  long arg4 ;
262869  void *argp1 = 0 ;
262870  int res1 = 0 ;
262871  long val3 ;
262872  int ecode3 = 0 ;
262873  long val4 ;
262874  int ecode4 = 0 ;
262875  PyObject * obj0 = 0 ;
262876  PyObject * obj1 = 0 ;
262877  PyObject * obj2 = 0 ;
262878  PyObject * obj3 = 0 ;
262879  std::string result;
262880 
262881  if (!PyArg_ParseTuple(args,(char *)"OOOO:Simulator_AddKeyFrame",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
262882  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
262883  if (!SWIG_IsOK(res1)) {
262884  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_AddKeyFrame" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
262885  }
262886  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
262887  {
262888  std::string *ptr = (std::string *)0;
262889  int res = SWIG_AsPtr_std_string(obj1, &ptr);
262890  if (!SWIG_IsOK(res) || !ptr) {
262891  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_AddKeyFrame" "', argument " "2"" of type '" "std::string""'");
262892  }
262893  arg2 = *ptr;
262894  if (SWIG_IsNewObj(res)) delete ptr;
262895  }
262896  ecode3 = SWIG_AsVal_long(obj2, &val3);
262897  if (!SWIG_IsOK(ecode3)) {
262898  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_AddKeyFrame" "', argument " "3"" of type '" "long""'");
262899  }
262900  arg3 = static_cast< long >(val3);
262901  ecode4 = SWIG_AsVal_long(obj3, &val4);
262902  if (!SWIG_IsOK(ecode4)) {
262903  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Simulator_AddKeyFrame" "', argument " "4"" of type '" "long""'");
262904  }
262905  arg4 = static_cast< long >(val4);
262906  {
262907  try {
262908  result = (arg1)->AddKeyFrame(arg2,arg3,arg4);
262909  }
262910  catch(CStdErrorInfo oError)
262911  {
262912  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262913  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
262914  PyErr_SetString(PyExc_IndexError, strError.c_str());
262915  SWIG_fail;
262916  }
262917  catch(...)
262918  {
262919  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262920  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
262921  SWIG_fail;
262922  }
262923  }
262924  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
262925  return resultobj;
262926 fail:
262927  return NULL;
262928 }
262929 
262930 
262931 SWIGINTERN PyObject *_wrap_Simulator_RemoveKeyFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
262932  PyObject *resultobj = 0;
262934  std::string arg2 ;
262935  void *argp1 = 0 ;
262936  int res1 = 0 ;
262937  PyObject * obj0 = 0 ;
262938  PyObject * obj1 = 0 ;
262939 
262940  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_RemoveKeyFrame",&obj0,&obj1)) SWIG_fail;
262941  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
262942  if (!SWIG_IsOK(res1)) {
262943  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_RemoveKeyFrame" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
262944  }
262945  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
262946  {
262947  std::string *ptr = (std::string *)0;
262948  int res = SWIG_AsPtr_std_string(obj1, &ptr);
262949  if (!SWIG_IsOK(res) || !ptr) {
262950  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_RemoveKeyFrame" "', argument " "2"" of type '" "std::string""'");
262951  }
262952  arg2 = *ptr;
262953  if (SWIG_IsNewObj(res)) delete ptr;
262954  }
262955  {
262956  try {
262957  (arg1)->RemoveKeyFrame(arg2);
262958  }
262959  catch(CStdErrorInfo oError)
262960  {
262961  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262962  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
262963  PyErr_SetString(PyExc_IndexError, strError.c_str());
262964  SWIG_fail;
262965  }
262966  catch(...)
262967  {
262968  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
262969  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
262970  SWIG_fail;
262971  }
262972  }
262973  resultobj = SWIG_Py_Void();
262974  return resultobj;
262975 fail:
262976  return NULL;
262977 }
262978 
262979 
262980 SWIGINTERN PyObject *_wrap_Simulator_MoveKeyFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
262981  PyObject *resultobj = 0;
262983  std::string arg2 ;
262984  long arg3 ;
262985  long arg4 ;
262986  void *argp1 = 0 ;
262987  int res1 = 0 ;
262988  long val3 ;
262989  int ecode3 = 0 ;
262990  long val4 ;
262991  int ecode4 = 0 ;
262992  PyObject * obj0 = 0 ;
262993  PyObject * obj1 = 0 ;
262994  PyObject * obj2 = 0 ;
262995  PyObject * obj3 = 0 ;
262996  std::string result;
262997 
262998  if (!PyArg_ParseTuple(args,(char *)"OOOO:Simulator_MoveKeyFrame",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
262999  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
263000  if (!SWIG_IsOK(res1)) {
263001  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MoveKeyFrame" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
263002  }
263003  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
263004  {
263005  std::string *ptr = (std::string *)0;
263006  int res = SWIG_AsPtr_std_string(obj1, &ptr);
263007  if (!SWIG_IsOK(res) || !ptr) {
263008  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_MoveKeyFrame" "', argument " "2"" of type '" "std::string""'");
263009  }
263010  arg2 = *ptr;
263011  if (SWIG_IsNewObj(res)) delete ptr;
263012  }
263013  ecode3 = SWIG_AsVal_long(obj2, &val3);
263014  if (!SWIG_IsOK(ecode3)) {
263015  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Simulator_MoveKeyFrame" "', argument " "3"" of type '" "long""'");
263016  }
263017  arg3 = static_cast< long >(val3);
263018  ecode4 = SWIG_AsVal_long(obj3, &val4);
263019  if (!SWIG_IsOK(ecode4)) {
263020  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Simulator_MoveKeyFrame" "', argument " "4"" of type '" "long""'");
263021  }
263022  arg4 = static_cast< long >(val4);
263023  {
263024  try {
263025  result = (arg1)->MoveKeyFrame(arg2,arg3,arg4);
263026  }
263027  catch(CStdErrorInfo oError)
263028  {
263029  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263030  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263031  PyErr_SetString(PyExc_IndexError, strError.c_str());
263032  SWIG_fail;
263033  }
263034  catch(...)
263035  {
263036  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263037  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263038  SWIG_fail;
263039  }
263040  }
263041  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
263042  return resultobj;
263043 fail:
263044  return NULL;
263045 }
263046 
263047 
263048 SWIGINTERN PyObject *_wrap_Simulator_MoveSimulationToKeyFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263049  PyObject *resultobj = 0;
263051  std::string arg2 ;
263052  void *argp1 = 0 ;
263053  int res1 = 0 ;
263054  PyObject * obj0 = 0 ;
263055  PyObject * obj1 = 0 ;
263056 
263057  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_MoveSimulationToKeyFrame",&obj0,&obj1)) SWIG_fail;
263058  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
263059  if (!SWIG_IsOK(res1)) {
263060  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_MoveSimulationToKeyFrame" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
263061  }
263062  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
263063  {
263064  std::string *ptr = (std::string *)0;
263065  int res = SWIG_AsPtr_std_string(obj1, &ptr);
263066  if (!SWIG_IsOK(res) || !ptr) {
263067  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Simulator_MoveSimulationToKeyFrame" "', argument " "2"" of type '" "std::string""'");
263068  }
263069  arg2 = *ptr;
263070  if (SWIG_IsNewObj(res)) delete ptr;
263071  }
263072  {
263073  try {
263074  (arg1)->MoveSimulationToKeyFrame(arg2);
263075  }
263076  catch(CStdErrorInfo oError)
263077  {
263078  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263079  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263080  PyErr_SetString(PyExc_IndexError, strError.c_str());
263081  SWIG_fail;
263082  }
263083  catch(...)
263084  {
263085  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263086  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263087  SWIG_fail;
263088  }
263089  }
263090  resultobj = SWIG_Py_Void();
263091  return resultobj;
263092 fail:
263093  return NULL;
263094 }
263095 
263096 
263097 SWIGINTERN PyObject *_wrap_Simulator_SaveKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263098  PyObject *resultobj = 0;
263100  byte *arg2 = (byte *) 0 ;
263101  long *arg3 = 0 ;
263102  void *argp1 = 0 ;
263103  int res1 = 0 ;
263104  void *argp2 = 0 ;
263105  int res2 = 0 ;
263106  void *argp3 = 0 ;
263107  int res3 = 0 ;
263108  PyObject * obj0 = 0 ;
263109  PyObject * obj1 = 0 ;
263110  PyObject * obj2 = 0 ;
263111 
263112  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_SaveKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
263113  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
263114  if (!SWIG_IsOK(res1)) {
263115  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_SaveKeyFrameSnapshot" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
263116  }
263117  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
263118  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
263119  if (!SWIG_IsOK(res2)) {
263120  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_SaveKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
263121  }
263122  arg2 = reinterpret_cast< byte * >(argp2);
263123  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
263124  if (!SWIG_IsOK(res3)) {
263125  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
263126  }
263127  if (!argp3) {
263128  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
263129  }
263130  arg3 = reinterpret_cast< long * >(argp3);
263131  {
263132  try {
263133  (arg1)->SaveKeyFrameSnapshot(arg2,*arg3);
263134  }
263135  catch(CStdErrorInfo oError)
263136  {
263137  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263138  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263139  PyErr_SetString(PyExc_IndexError, strError.c_str());
263140  SWIG_fail;
263141  }
263142  catch(...)
263143  {
263144  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263145  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263146  SWIG_fail;
263147  }
263148  }
263149  resultobj = SWIG_Py_Void();
263150  return resultobj;
263151 fail:
263152  return NULL;
263153 }
263154 
263155 
263156 SWIGINTERN PyObject *_wrap_Simulator_LoadKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263157  PyObject *resultobj = 0;
263159  byte *arg2 = (byte *) 0 ;
263160  long *arg3 = 0 ;
263161  void *argp1 = 0 ;
263162  int res1 = 0 ;
263163  void *argp2 = 0 ;
263164  int res2 = 0 ;
263165  void *argp3 = 0 ;
263166  int res3 = 0 ;
263167  PyObject * obj0 = 0 ;
263168  PyObject * obj1 = 0 ;
263169  PyObject * obj2 = 0 ;
263170 
263171  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_LoadKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
263172  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
263173  if (!SWIG_IsOK(res1)) {
263174  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_LoadKeyFrameSnapshot" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
263175  }
263176  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
263177  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
263178  if (!SWIG_IsOK(res2)) {
263179  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_LoadKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
263180  }
263181  arg2 = reinterpret_cast< byte * >(argp2);
263182  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
263183  if (!SWIG_IsOK(res3)) {
263184  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
263185  }
263186  if (!argp3) {
263187  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
263188  }
263189  arg3 = reinterpret_cast< long * >(argp3);
263190  {
263191  try {
263192  (arg1)->LoadKeyFrameSnapshot(arg2,*arg3);
263193  }
263194  catch(CStdErrorInfo oError)
263195  {
263196  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263197  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263198  PyErr_SetString(PyExc_IndexError, strError.c_str());
263199  SWIG_fail;
263200  }
263201  catch(...)
263202  {
263203  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263204  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263205  SWIG_fail;
263206  }
263207  }
263208  resultobj = SWIG_Py_Void();
263209  return resultobj;
263210 fail:
263211  return NULL;
263212 }
263213 
263214 
263215 SWIGINTERN PyObject *_wrap_Simulator_EnableCollisions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263216  PyObject *resultobj = 0;
263218  Structure *arg2 = (Structure *) 0 ;
263219  CStdPtrArray< CollisionPair > *arg3 = 0 ;
263220  void *argp1 = 0 ;
263221  int res1 = 0 ;
263222  void *argp2 = 0 ;
263223  int res2 = 0 ;
263224  void *argp3 = 0 ;
263225  int res3 = 0 ;
263226  PyObject * obj0 = 0 ;
263227  PyObject * obj1 = 0 ;
263228  PyObject * obj2 = 0 ;
263229 
263230  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_EnableCollisions",&obj0,&obj1,&obj2)) SWIG_fail;
263231  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
263232  if (!SWIG_IsOK(res1)) {
263233  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_EnableCollisions" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
263234  }
263235  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
263236  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Structure, 0 | 0 );
263237  if (!SWIG_IsOK(res2)) {
263238  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_EnableCollisions" "', argument " "2"" of type '" "Structure *""'");
263239  }
263240  arg2 = reinterpret_cast< Structure * >(argp2);
263241  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0 );
263242  if (!SWIG_IsOK(res3)) {
263243  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_EnableCollisions" "', argument " "3"" of type '" "CStdPtrArray< CollisionPair > &""'");
263244  }
263245  if (!argp3) {
263246  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_EnableCollisions" "', argument " "3"" of type '" "CStdPtrArray< CollisionPair > &""'");
263247  }
263248  arg3 = reinterpret_cast< CStdPtrArray< CollisionPair > * >(argp3);
263249  {
263250  try {
263251  (arg1)->EnableCollisions(arg2,*arg3);
263252  }
263253  catch(CStdErrorInfo oError)
263254  {
263255  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263256  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263257  PyErr_SetString(PyExc_IndexError, strError.c_str());
263258  SWIG_fail;
263259  }
263260  catch(...)
263261  {
263262  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263263  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263264  SWIG_fail;
263265  }
263266  }
263267  resultobj = SWIG_Py_Void();
263268  return resultobj;
263269 fail:
263270  return NULL;
263271 }
263272 
263273 
263274 SWIGINTERN PyObject *_wrap_Simulator_DisableCollisions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263275  PyObject *resultobj = 0;
263277  Structure *arg2 = (Structure *) 0 ;
263278  CStdPtrArray< CollisionPair > *arg3 = 0 ;
263279  void *argp1 = 0 ;
263280  int res1 = 0 ;
263281  void *argp2 = 0 ;
263282  int res2 = 0 ;
263283  void *argp3 = 0 ;
263284  int res3 = 0 ;
263285  PyObject * obj0 = 0 ;
263286  PyObject * obj1 = 0 ;
263287  PyObject * obj2 = 0 ;
263288 
263289  if (!PyArg_ParseTuple(args,(char *)"OOO:Simulator_DisableCollisions",&obj0,&obj1,&obj2)) SWIG_fail;
263290  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
263291  if (!SWIG_IsOK(res1)) {
263292  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_DisableCollisions" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
263293  }
263294  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
263295  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Structure, 0 | 0 );
263296  if (!SWIG_IsOK(res2)) {
263297  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_DisableCollisions" "', argument " "2"" of type '" "Structure *""'");
263298  }
263299  arg2 = reinterpret_cast< Structure * >(argp2);
263300  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t, 0 );
263301  if (!SWIG_IsOK(res3)) {
263302  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Simulator_DisableCollisions" "', argument " "3"" of type '" "CStdPtrArray< CollisionPair > &""'");
263303  }
263304  if (!argp3) {
263305  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Simulator_DisableCollisions" "', argument " "3"" of type '" "CStdPtrArray< CollisionPair > &""'");
263306  }
263307  arg3 = reinterpret_cast< CStdPtrArray< CollisionPair > * >(argp3);
263308  {
263309  try {
263310  (arg1)->DisableCollisions(arg2,*arg3);
263311  }
263312  catch(CStdErrorInfo oError)
263313  {
263314  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263315  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263316  PyErr_SetString(PyExc_IndexError, strError.c_str());
263317  SWIG_fail;
263318  }
263319  catch(...)
263320  {
263321  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263322  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263323  SWIG_fail;
263324  }
263325  }
263326  resultobj = SWIG_Py_Void();
263327  return resultobj;
263328 fail:
263329  return NULL;
263330 }
263331 
263332 
263333 SWIGINTERN PyObject *_wrap_Simulator_EnableCollision(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263334  PyObject *resultobj = 0;
263336  RigidBody *arg2 = (RigidBody *) 0 ;
263337  void *argp1 = 0 ;
263338  int res1 = 0 ;
263339  void *argp2 = 0 ;
263340  int res2 = 0 ;
263341  PyObject * obj0 = 0 ;
263342  PyObject * obj1 = 0 ;
263343 
263344  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_EnableCollision",&obj0,&obj1)) SWIG_fail;
263345  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
263346  if (!SWIG_IsOK(res1)) {
263347  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_EnableCollision" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
263348  }
263349  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
263350  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RigidBody, 0 | 0 );
263351  if (!SWIG_IsOK(res2)) {
263352  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_EnableCollision" "', argument " "2"" of type '" "RigidBody *""'");
263353  }
263354  arg2 = reinterpret_cast< RigidBody * >(argp2);
263355  {
263356  try {
263357  (arg1)->EnableCollision(arg2);
263358  }
263359  catch(CStdErrorInfo oError)
263360  {
263361  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263362  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263363  PyErr_SetString(PyExc_IndexError, strError.c_str());
263364  SWIG_fail;
263365  }
263366  catch(...)
263367  {
263368  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263369  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263370  SWIG_fail;
263371  }
263372  }
263373  resultobj = SWIG_Py_Void();
263374  return resultobj;
263375 fail:
263376  return NULL;
263377 }
263378 
263379 
263380 SWIGINTERN PyObject *_wrap_Simulator_DisableCollision(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263381  PyObject *resultobj = 0;
263383  RigidBody *arg2 = (RigidBody *) 0 ;
263384  void *argp1 = 0 ;
263385  int res1 = 0 ;
263386  void *argp2 = 0 ;
263387  int res2 = 0 ;
263388  PyObject * obj0 = 0 ;
263389  PyObject * obj1 = 0 ;
263390 
263391  if (!PyArg_ParseTuple(args,(char *)"OO:Simulator_DisableCollision",&obj0,&obj1)) SWIG_fail;
263392  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
263393  if (!SWIG_IsOK(res1)) {
263394  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulator_DisableCollision" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
263395  }
263396  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
263397  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RigidBody, 0 | 0 );
263398  if (!SWIG_IsOK(res2)) {
263399  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Simulator_DisableCollision" "', argument " "2"" of type '" "RigidBody *""'");
263400  }
263401  arg2 = reinterpret_cast< RigidBody * >(argp2);
263402  {
263403  try {
263404  (arg1)->DisableCollision(arg2);
263405  }
263406  catch(CStdErrorInfo oError)
263407  {
263408  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263409  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263410  PyErr_SetString(PyExc_IndexError, strError.c_str());
263411  SWIG_fail;
263412  }
263413  catch(...)
263414  {
263415  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263416  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263417  SWIG_fail;
263418  }
263419  }
263420  resultobj = SWIG_Py_Void();
263421  return resultobj;
263422 fail:
263423  return NULL;
263424 }
263425 
263426 
263427 SWIGINTERN PyObject *Simulator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263428  PyObject *obj;
263429  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
263430  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Simulator, SWIG_NewClientData(obj));
263431  return SWIG_Py_Void();
263432 }
263433 
263434 SWIGINTERN PyObject *_wrap_GetSimulator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263435  PyObject *resultobj = 0;
263436  AnimatSim::Simulator *result = 0 ;
263437 
263438  if (!PyArg_ParseTuple(args,(char *)":GetSimulator")) SWIG_fail;
263439  {
263440  try {
263441  result = (AnimatSim::Simulator *)AnimatSim::GetSimulator();
263442  }
263443  catch(CStdErrorInfo oError)
263444  {
263445  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263446  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263447  PyErr_SetString(PyExc_IndexError, strError.c_str());
263448  SWIG_fail;
263449  }
263450  catch(...)
263451  {
263452  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263453  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263454  SWIG_fail;
263455  }
263456  }
263457  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
263458  return resultobj;
263459 fail:
263460  return NULL;
263461 }
263462 
263463 
263464 SWIGINTERN PyObject *_wrap_new_ScriptProcessor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263465  PyObject *resultobj = 0;
263466  AnimatSim::ScriptProcessor *result = 0 ;
263467 
263468  if (!PyArg_ParseTuple(args,(char *)":new_ScriptProcessor")) SWIG_fail;
263469  {
263470  try {
263472  }
263473  catch(CStdErrorInfo oError)
263474  {
263475  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263476  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263477  PyErr_SetString(PyExc_IndexError, strError.c_str());
263478  SWIG_fail;
263479  }
263480  catch(...)
263481  {
263482  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263483  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263484  SWIG_fail;
263485  }
263486  }
263487  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ScriptProcessor, SWIG_POINTER_NEW | 0 );
263488  return resultobj;
263489 fail:
263490  return NULL;
263491 }
263492 
263493 
263494 SWIGINTERN PyObject *_wrap_delete_ScriptProcessor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263495  PyObject *resultobj = 0;
263497  void *argp1 = 0 ;
263498  int res1 = 0 ;
263499  PyObject * obj0 = 0 ;
263500 
263501  if (!PyArg_ParseTuple(args,(char *)"O:delete_ScriptProcessor",&obj0)) SWIG_fail;
263502  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ScriptProcessor, SWIG_POINTER_DISOWN | 0 );
263503  if (!SWIG_IsOK(res1)) {
263504  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ScriptProcessor" "', argument " "1"" of type '" "AnimatSim::ScriptProcessor *""'");
263505  }
263506  arg1 = reinterpret_cast< AnimatSim::ScriptProcessor * >(argp1);
263507  {
263508  try {
263509  delete arg1;
263510  }
263511  catch(CStdErrorInfo oError)
263512  {
263513  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263514  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263515  PyErr_SetString(PyExc_IndexError, strError.c_str());
263516  SWIG_fail;
263517  }
263518  catch(...)
263519  {
263520  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263521  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263522  SWIG_fail;
263523  }
263524  }
263525  resultobj = SWIG_Py_Void();
263526  return resultobj;
263527 fail:
263528  return NULL;
263529 }
263530 
263531 
263532 SWIGINTERN PyObject *_wrap_ScriptProcessor_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263533  PyObject *resultobj = 0;
263535  void *argp1 = 0 ;
263536  int res1 = 0 ;
263537  PyObject * obj0 = 0 ;
263538  AnimatSim::ScriptProcessor *result = 0 ;
263539 
263540  if (!PyArg_ParseTuple(args,(char *)"O:ScriptProcessor_CastToDerived",&obj0)) SWIG_fail;
263541  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
263542  if (!SWIG_IsOK(res1)) {
263543  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScriptProcessor_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
263544  }
263545  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
263546  {
263547  try {
263548  result = (AnimatSim::ScriptProcessor *)AnimatSim::ScriptProcessor::CastToDerived(arg1);
263549  }
263550  catch(CStdErrorInfo oError)
263551  {
263552  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263553  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263554  PyErr_SetString(PyExc_IndexError, strError.c_str());
263555  SWIG_fail;
263556  }
263557  catch(...)
263558  {
263559  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263560  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263561  SWIG_fail;
263562  }
263563  }
263564  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__ScriptProcessor, 0 | 0 );
263565  return resultobj;
263566 fail:
263567  return NULL;
263568 }
263569 
263570 
263571 SWIGINTERN PyObject *_wrap_ScriptProcessor_BeforeStepPhysicsEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263572  PyObject *resultobj = 0;
263574  void *argp1 = 0 ;
263575  int res1 = 0 ;
263576  PyObject * obj0 = 0 ;
263577 
263578  if (!PyArg_ParseTuple(args,(char *)"O:ScriptProcessor_BeforeStepPhysicsEngine",&obj0)) SWIG_fail;
263579  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ScriptProcessor, 0 | 0 );
263580  if (!SWIG_IsOK(res1)) {
263581  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScriptProcessor_BeforeStepPhysicsEngine" "', argument " "1"" of type '" "AnimatSim::ScriptProcessor *""'");
263582  }
263583  arg1 = reinterpret_cast< AnimatSim::ScriptProcessor * >(argp1);
263584  {
263585  try {
263586  (arg1)->BeforeStepPhysicsEngine();
263587  }
263588  catch(CStdErrorInfo oError)
263589  {
263590  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263591  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263592  PyErr_SetString(PyExc_IndexError, strError.c_str());
263593  SWIG_fail;
263594  }
263595  catch(...)
263596  {
263597  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263598  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263599  SWIG_fail;
263600  }
263601  }
263602  resultobj = SWIG_Py_Void();
263603  return resultobj;
263604 fail:
263605  return NULL;
263606 }
263607 
263608 
263609 SWIGINTERN PyObject *_wrap_ScriptProcessor_AfterStepPhysicsEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263610  PyObject *resultobj = 0;
263612  void *argp1 = 0 ;
263613  int res1 = 0 ;
263614  PyObject * obj0 = 0 ;
263615 
263616  if (!PyArg_ParseTuple(args,(char *)"O:ScriptProcessor_AfterStepPhysicsEngine",&obj0)) SWIG_fail;
263617  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ScriptProcessor, 0 | 0 );
263618  if (!SWIG_IsOK(res1)) {
263619  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScriptProcessor_AfterStepPhysicsEngine" "', argument " "1"" of type '" "AnimatSim::ScriptProcessor *""'");
263620  }
263621  arg1 = reinterpret_cast< AnimatSim::ScriptProcessor * >(argp1);
263622  {
263623  try {
263624  (arg1)->AfterStepPhysicsEngine();
263625  }
263626  catch(CStdErrorInfo oError)
263627  {
263628  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263629  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263630  PyErr_SetString(PyExc_IndexError, strError.c_str());
263631  SWIG_fail;
263632  }
263633  catch(...)
263634  {
263635  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263636  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263637  SWIG_fail;
263638  }
263639  }
263640  resultobj = SWIG_Py_Void();
263641  return resultobj;
263642 fail:
263643  return NULL;
263644 }
263645 
263646 
263647 SWIGINTERN PyObject *_wrap_ScriptProcessor_BeforeStepNeuralEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263648  PyObject *resultobj = 0;
263650  void *argp1 = 0 ;
263651  int res1 = 0 ;
263652  PyObject * obj0 = 0 ;
263653 
263654  if (!PyArg_ParseTuple(args,(char *)"O:ScriptProcessor_BeforeStepNeuralEngine",&obj0)) SWIG_fail;
263655  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ScriptProcessor, 0 | 0 );
263656  if (!SWIG_IsOK(res1)) {
263657  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScriptProcessor_BeforeStepNeuralEngine" "', argument " "1"" of type '" "AnimatSim::ScriptProcessor *""'");
263658  }
263659  arg1 = reinterpret_cast< AnimatSim::ScriptProcessor * >(argp1);
263660  {
263661  try {
263662  (arg1)->BeforeStepNeuralEngine();
263663  }
263664  catch(CStdErrorInfo oError)
263665  {
263666  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263667  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263668  PyErr_SetString(PyExc_IndexError, strError.c_str());
263669  SWIG_fail;
263670  }
263671  catch(...)
263672  {
263673  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263674  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263675  SWIG_fail;
263676  }
263677  }
263678  resultobj = SWIG_Py_Void();
263679  return resultobj;
263680 fail:
263681  return NULL;
263682 }
263683 
263684 
263685 SWIGINTERN PyObject *_wrap_ScriptProcessor_AfterStepNeuralEngine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263686  PyObject *resultobj = 0;
263688  void *argp1 = 0 ;
263689  int res1 = 0 ;
263690  PyObject * obj0 = 0 ;
263691 
263692  if (!PyArg_ParseTuple(args,(char *)"O:ScriptProcessor_AfterStepNeuralEngine",&obj0)) SWIG_fail;
263693  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__ScriptProcessor, 0 | 0 );
263694  if (!SWIG_IsOK(res1)) {
263695  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScriptProcessor_AfterStepNeuralEngine" "', argument " "1"" of type '" "AnimatSim::ScriptProcessor *""'");
263696  }
263697  arg1 = reinterpret_cast< AnimatSim::ScriptProcessor * >(argp1);
263698  {
263699  try {
263700  (arg1)->AfterStepNeuralEngine();
263701  }
263702  catch(CStdErrorInfo oError)
263703  {
263704  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263705  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263706  PyErr_SetString(PyExc_IndexError, strError.c_str());
263707  SWIG_fail;
263708  }
263709  catch(...)
263710  {
263711  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263712  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263713  SWIG_fail;
263714  }
263715  }
263716  resultobj = SWIG_Py_Void();
263717  return resultobj;
263718 fail:
263719  return NULL;
263720 }
263721 
263722 
263723 SWIGINTERN PyObject *ScriptProcessor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263724  PyObject *obj;
263725  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
263726  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__ScriptProcessor, SWIG_NewClientData(obj));
263727  return SWIG_Py_Void();
263728 }
263729 
263730 SWIGINTERN PyObject *_wrap_SetLastScriptError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263731  PyObject *resultobj = 0;
263732  std::string arg1 ;
263733  PyObject * obj0 = 0 ;
263734 
263735  if (!PyArg_ParseTuple(args,(char *)"O:SetLastScriptError",&obj0)) SWIG_fail;
263736  {
263737  std::string *ptr = (std::string *)0;
263738  int res = SWIG_AsPtr_std_string(obj0, &ptr);
263739  if (!SWIG_IsOK(res) || !ptr) {
263740  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SetLastScriptError" "', argument " "1"" of type '" "std::string""'");
263741  }
263742  arg1 = *ptr;
263743  if (SWIG_IsNewObj(res)) delete ptr;
263744  }
263745  {
263746  try {
263747  AnimatSim::SetLastScriptError(arg1);
263748  }
263749  catch(CStdErrorInfo oError)
263750  {
263751  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263752  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263753  PyErr_SetString(PyExc_IndexError, strError.c_str());
263754  SWIG_fail;
263755  }
263756  catch(...)
263757  {
263758  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263759  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263760  SWIG_fail;
263761  }
263762  }
263763  resultobj = SWIG_Py_Void();
263764  return resultobj;
263765 fail:
263766  return NULL;
263767 }
263768 
263769 
263770 SWIGINTERN PyObject *_wrap_GetLastScriptError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263771  PyObject *resultobj = 0;
263772  std::string result;
263773 
263774  if (!PyArg_ParseTuple(args,(char *)":GetLastScriptError")) SWIG_fail;
263775  {
263776  try {
263777  result = AnimatSim::GetLastScriptError();
263778  }
263779  catch(CStdErrorInfo oError)
263780  {
263781  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263782  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263783  PyErr_SetString(PyExc_IndexError, strError.c_str());
263784  SWIG_fail;
263785  }
263786  catch(...)
263787  {
263788  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263789  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263790  SWIG_fail;
263791  }
263792  }
263793  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
263794  return resultobj;
263795 fail:
263796  return NULL;
263797 }
263798 
263799 
263800 SWIGINTERN PyObject *_wrap_new_SimulationThread(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263801  PyObject *resultobj = 0;
263802  AnimatSim::SimulationThread *result = 0 ;
263803 
263804  if (!PyArg_ParseTuple(args,(char *)":new_SimulationThread")) SWIG_fail;
263805  {
263806  try {
263808  }
263809  catch(CStdErrorInfo oError)
263810  {
263811  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263812  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263813  PyErr_SetString(PyExc_IndexError, strError.c_str());
263814  SWIG_fail;
263815  }
263816  catch(...)
263817  {
263818  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263819  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263820  SWIG_fail;
263821  }
263822  }
263823  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__SimulationThread, SWIG_POINTER_NEW | 0 );
263824  return resultobj;
263825 fail:
263826  return NULL;
263827 }
263828 
263829 
263830 SWIGINTERN PyObject *_wrap_delete_SimulationThread(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263831  PyObject *resultobj = 0;
263833  void *argp1 = 0 ;
263834  int res1 = 0 ;
263835  PyObject * obj0 = 0 ;
263836 
263837  if (!PyArg_ParseTuple(args,(char *)"O:delete_SimulationThread",&obj0)) SWIG_fail;
263838  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, SWIG_POINTER_DISOWN | 0 );
263839  if (!SWIG_IsOK(res1)) {
263840  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SimulationThread" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
263841  }
263842  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
263843  {
263844  try {
263845  delete arg1;
263846  }
263847  catch(CStdErrorInfo oError)
263848  {
263849  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263850  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263851  PyErr_SetString(PyExc_IndexError, strError.c_str());
263852  SWIG_fail;
263853  }
263854  catch(...)
263855  {
263856  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263857  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263858  SWIG_fail;
263859  }
263860  }
263861  resultobj = SWIG_Py_Void();
263862  return resultobj;
263863 fail:
263864  return NULL;
263865 }
263866 
263867 
263868 SWIGINTERN PyObject *_wrap_SimulationThread_NeedToStopSim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263869  PyObject *resultobj = 0;
263871  void *argp1 = 0 ;
263872  int res1 = 0 ;
263873  PyObject * obj0 = 0 ;
263874  bool result;
263875 
263876  if (!PyArg_ParseTuple(args,(char *)"O:SimulationThread_NeedToStopSim",&obj0)) SWIG_fail;
263877  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
263878  if (!SWIG_IsOK(res1)) {
263879  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_NeedToStopSim" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
263880  }
263881  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
263882  {
263883  try {
263884  result = (bool)(arg1)->NeedToStopSim();
263885  }
263886  catch(CStdErrorInfo oError)
263887  {
263888  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263889  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263890  PyErr_SetString(PyExc_IndexError, strError.c_str());
263891  SWIG_fail;
263892  }
263893  catch(...)
263894  {
263895  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263896  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263897  SWIG_fail;
263898  }
263899  }
263900  resultobj = SWIG_From_bool(static_cast< bool >(result));
263901  return resultobj;
263902 fail:
263903  return NULL;
263904 }
263905 
263906 
263907 SWIGINTERN PyObject *_wrap_SimulationThread_Sim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263908  PyObject *resultobj = 0;
263910  void *argp1 = 0 ;
263911  int res1 = 0 ;
263912  PyObject * obj0 = 0 ;
263913  AnimatSim::Simulator *result = 0 ;
263914 
263915  if (!PyArg_ParseTuple(args,(char *)"O:SimulationThread_Sim",&obj0)) SWIG_fail;
263916  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
263917  if (!SWIG_IsOK(res1)) {
263918  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_Sim" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
263919  }
263920  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
263921  {
263922  try {
263923  result = (AnimatSim::Simulator *)(arg1)->Sim();
263924  }
263925  catch(CStdErrorInfo oError)
263926  {
263927  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263928  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263929  PyErr_SetString(PyExc_IndexError, strError.c_str());
263930  SWIG_fail;
263931  }
263932  catch(...)
263933  {
263934  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263935  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263936  SWIG_fail;
263937  }
263938  }
263939  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
263940  return resultobj;
263941 fail:
263942  return NULL;
263943 }
263944 
263945 
263946 SWIGINTERN PyObject *_wrap_SimulationThread_StartSimulation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
263947  PyObject *resultobj = 0;
263949  std::string arg2 ;
263950  bool arg3 ;
263951  void *argp1 = 0 ;
263952  int res1 = 0 ;
263953  bool val3 ;
263954  int ecode3 = 0 ;
263955  PyObject * obj0 = 0 ;
263956  PyObject * obj1 = 0 ;
263957  PyObject * obj2 = 0 ;
263958 
263959  if (!PyArg_ParseTuple(args,(char *)"OOO:SimulationThread_StartSimulation",&obj0,&obj1,&obj2)) SWIG_fail;
263960  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
263961  if (!SWIG_IsOK(res1)) {
263962  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_StartSimulation" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
263963  }
263964  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
263965  {
263966  std::string *ptr = (std::string *)0;
263967  int res = SWIG_AsPtr_std_string(obj1, &ptr);
263968  if (!SWIG_IsOK(res) || !ptr) {
263969  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationThread_StartSimulation" "', argument " "2"" of type '" "std::string""'");
263970  }
263971  arg2 = *ptr;
263972  if (SWIG_IsNewObj(res)) delete ptr;
263973  }
263974  ecode3 = SWIG_AsVal_bool(obj2, &val3);
263975  if (!SWIG_IsOK(ecode3)) {
263976  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimulationThread_StartSimulation" "', argument " "3"" of type '" "bool""'");
263977  }
263978  arg3 = static_cast< bool >(val3);
263979  {
263980  try {
263981  (arg1)->StartSimulation(arg2,arg3);
263982  }
263983  catch(CStdErrorInfo oError)
263984  {
263985  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263986  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
263987  PyErr_SetString(PyExc_IndexError, strError.c_str());
263988  SWIG_fail;
263989  }
263990  catch(...)
263991  {
263992  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
263993  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
263994  SWIG_fail;
263995  }
263996  }
263997  resultobj = SWIG_Py_Void();
263998  return resultobj;
263999 fail:
264000  return NULL;
264001 }
264002 
264003 
264004 SWIGINTERN PyObject *_wrap_SimulationThread_StartSimulation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264005  PyObject *resultobj = 0;
264007  std::string arg2 ;
264008  void *argp1 = 0 ;
264009  int res1 = 0 ;
264010  PyObject * obj0 = 0 ;
264011  PyObject * obj1 = 0 ;
264012 
264013  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationThread_StartSimulation",&obj0,&obj1)) SWIG_fail;
264014  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
264015  if (!SWIG_IsOK(res1)) {
264016  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_StartSimulation" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
264017  }
264018  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
264019  {
264020  std::string *ptr = (std::string *)0;
264021  int res = SWIG_AsPtr_std_string(obj1, &ptr);
264022  if (!SWIG_IsOK(res) || !ptr) {
264023  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationThread_StartSimulation" "', argument " "2"" of type '" "std::string""'");
264024  }
264025  arg2 = *ptr;
264026  if (SWIG_IsNewObj(res)) delete ptr;
264027  }
264028  {
264029  try {
264030  (arg1)->StartSimulation(arg2);
264031  }
264032  catch(CStdErrorInfo oError)
264033  {
264034  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264035  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264036  PyErr_SetString(PyExc_IndexError, strError.c_str());
264037  SWIG_fail;
264038  }
264039  catch(...)
264040  {
264041  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264042  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264043  SWIG_fail;
264044  }
264045  }
264046  resultobj = SWIG_Py_Void();
264047  return resultobj;
264048 fail:
264049  return NULL;
264050 }
264051 
264052 
264053 SWIGINTERN PyObject *_wrap_SimulationThread_StartSimulation(PyObject *self, PyObject *args) {
264054  int argc;
264055  PyObject *argv[4];
264056  int ii;
264057 
264058  if (!PyTuple_Check(args)) SWIG_fail;
264059  argc = args ? (int)PyObject_Length(args) : 0;
264060  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
264061  argv[ii] = PyTuple_GET_ITEM(args,ii);
264062  }
264063  if (argc == 2) {
264064  int _v;
264065  void *vptr = 0;
264066  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationThread, 0);
264067  _v = SWIG_CheckState(res);
264068  if (_v) {
264069  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
264070  _v = SWIG_CheckState(res);
264071  if (_v) {
264072  return _wrap_SimulationThread_StartSimulation__SWIG_1(self, args);
264073  }
264074  }
264075  }
264076  if (argc == 3) {
264077  int _v;
264078  void *vptr = 0;
264079  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationThread, 0);
264080  _v = SWIG_CheckState(res);
264081  if (_v) {
264082  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
264083  _v = SWIG_CheckState(res);
264084  if (_v) {
264085  {
264086  int res = SWIG_AsVal_bool(argv[2], NULL);
264087  _v = SWIG_CheckState(res);
264088  }
264089  if (_v) {
264090  return _wrap_SimulationThread_StartSimulation__SWIG_0(self, args);
264091  }
264092  }
264093  }
264094  }
264095 
264096 fail:
264097  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SimulationThread_StartSimulation'.\n"
264098  " Possible C/C++ prototypes are:\n"
264099  " AnimatSim::SimulationThread::StartSimulation(std::string,bool)\n"
264100  " AnimatSim::SimulationThread::StartSimulation(std::string)\n");
264101  return 0;
264102 }
264103 
264104 
264105 SWIGINTERN PyObject *_wrap_SimulationThread_Simulate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264106  PyObject *resultobj = 0;
264108  float arg2 ;
264109  bool arg3 ;
264110  float arg4 ;
264111  void *argp1 = 0 ;
264112  int res1 = 0 ;
264113  float val2 ;
264114  int ecode2 = 0 ;
264115  bool val3 ;
264116  int ecode3 = 0 ;
264117  float val4 ;
264118  int ecode4 = 0 ;
264119  PyObject * obj0 = 0 ;
264120  PyObject * obj1 = 0 ;
264121  PyObject * obj2 = 0 ;
264122  PyObject * obj3 = 0 ;
264123 
264124  if (!PyArg_ParseTuple(args,(char *)"OOOO:SimulationThread_Simulate",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
264125  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
264126  if (!SWIG_IsOK(res1)) {
264127  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_Simulate" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
264128  }
264129  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
264130  ecode2 = SWIG_AsVal_float(obj1, &val2);
264131  if (!SWIG_IsOK(ecode2)) {
264132  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SimulationThread_Simulate" "', argument " "2"" of type '" "float""'");
264133  }
264134  arg2 = static_cast< float >(val2);
264135  ecode3 = SWIG_AsVal_bool(obj2, &val3);
264136  if (!SWIG_IsOK(ecode3)) {
264137  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimulationThread_Simulate" "', argument " "3"" of type '" "bool""'");
264138  }
264139  arg3 = static_cast< bool >(val3);
264140  ecode4 = SWIG_AsVal_float(obj3, &val4);
264141  if (!SWIG_IsOK(ecode4)) {
264142  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SimulationThread_Simulate" "', argument " "4"" of type '" "float""'");
264143  }
264144  arg4 = static_cast< float >(val4);
264145  {
264146  try {
264147  (arg1)->Simulate(arg2,arg3,arg4);
264148  }
264149  catch(CStdErrorInfo oError)
264150  {
264151  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264152  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264153  PyErr_SetString(PyExc_IndexError, strError.c_str());
264154  SWIG_fail;
264155  }
264156  catch(...)
264157  {
264158  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264159  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264160  SWIG_fail;
264161  }
264162  }
264163  resultobj = SWIG_Py_Void();
264164  return resultobj;
264165 fail:
264166  return NULL;
264167 }
264168 
264169 
264170 SWIGINTERN PyObject *_wrap_SimulationThread_Simulate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264171  PyObject *resultobj = 0;
264173  float arg2 ;
264174  bool arg3 ;
264175  void *argp1 = 0 ;
264176  int res1 = 0 ;
264177  float val2 ;
264178  int ecode2 = 0 ;
264179  bool val3 ;
264180  int ecode3 = 0 ;
264181  PyObject * obj0 = 0 ;
264182  PyObject * obj1 = 0 ;
264183  PyObject * obj2 = 0 ;
264184 
264185  if (!PyArg_ParseTuple(args,(char *)"OOO:SimulationThread_Simulate",&obj0,&obj1,&obj2)) SWIG_fail;
264186  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
264187  if (!SWIG_IsOK(res1)) {
264188  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_Simulate" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
264189  }
264190  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
264191  ecode2 = SWIG_AsVal_float(obj1, &val2);
264192  if (!SWIG_IsOK(ecode2)) {
264193  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SimulationThread_Simulate" "', argument " "2"" of type '" "float""'");
264194  }
264195  arg2 = static_cast< float >(val2);
264196  ecode3 = SWIG_AsVal_bool(obj2, &val3);
264197  if (!SWIG_IsOK(ecode3)) {
264198  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimulationThread_Simulate" "', argument " "3"" of type '" "bool""'");
264199  }
264200  arg3 = static_cast< bool >(val3);
264201  {
264202  try {
264203  (arg1)->Simulate(arg2,arg3);
264204  }
264205  catch(CStdErrorInfo oError)
264206  {
264207  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264208  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264209  PyErr_SetString(PyExc_IndexError, strError.c_str());
264210  SWIG_fail;
264211  }
264212  catch(...)
264213  {
264214  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264215  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264216  SWIG_fail;
264217  }
264218  }
264219  resultobj = SWIG_Py_Void();
264220  return resultobj;
264221 fail:
264222  return NULL;
264223 }
264224 
264225 
264226 SWIGINTERN PyObject *_wrap_SimulationThread_Simulate__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264227  PyObject *resultobj = 0;
264229  float arg2 ;
264230  void *argp1 = 0 ;
264231  int res1 = 0 ;
264232  float val2 ;
264233  int ecode2 = 0 ;
264234  PyObject * obj0 = 0 ;
264235  PyObject * obj1 = 0 ;
264236 
264237  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationThread_Simulate",&obj0,&obj1)) SWIG_fail;
264238  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
264239  if (!SWIG_IsOK(res1)) {
264240  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_Simulate" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
264241  }
264242  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
264243  ecode2 = SWIG_AsVal_float(obj1, &val2);
264244  if (!SWIG_IsOK(ecode2)) {
264245  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SimulationThread_Simulate" "', argument " "2"" of type '" "float""'");
264246  }
264247  arg2 = static_cast< float >(val2);
264248  {
264249  try {
264250  (arg1)->Simulate(arg2);
264251  }
264252  catch(CStdErrorInfo oError)
264253  {
264254  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264255  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264256  PyErr_SetString(PyExc_IndexError, strError.c_str());
264257  SWIG_fail;
264258  }
264259  catch(...)
264260  {
264261  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264262  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264263  SWIG_fail;
264264  }
264265  }
264266  resultobj = SWIG_Py_Void();
264267  return resultobj;
264268 fail:
264269  return NULL;
264270 }
264271 
264272 
264273 SWIGINTERN PyObject *_wrap_SimulationThread_Simulate__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264274  PyObject *resultobj = 0;
264276  void *argp1 = 0 ;
264277  int res1 = 0 ;
264278  PyObject * obj0 = 0 ;
264279 
264280  if (!PyArg_ParseTuple(args,(char *)"O:SimulationThread_Simulate",&obj0)) SWIG_fail;
264281  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
264282  if (!SWIG_IsOK(res1)) {
264283  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_Simulate" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
264284  }
264285  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
264286  {
264287  try {
264288  (arg1)->Simulate();
264289  }
264290  catch(CStdErrorInfo oError)
264291  {
264292  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264293  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264294  PyErr_SetString(PyExc_IndexError, strError.c_str());
264295  SWIG_fail;
264296  }
264297  catch(...)
264298  {
264299  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264300  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264301  SWIG_fail;
264302  }
264303  }
264304  resultobj = SWIG_Py_Void();
264305  return resultobj;
264306 fail:
264307  return NULL;
264308 }
264309 
264310 
264311 SWIGINTERN PyObject *_wrap_SimulationThread_Simulate(PyObject *self, PyObject *args) {
264312  int argc;
264313  PyObject *argv[5];
264314  int ii;
264315 
264316  if (!PyTuple_Check(args)) SWIG_fail;
264317  argc = args ? (int)PyObject_Length(args) : 0;
264318  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
264319  argv[ii] = PyTuple_GET_ITEM(args,ii);
264320  }
264321  if (argc == 1) {
264322  int _v;
264323  void *vptr = 0;
264324  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationThread, 0);
264325  _v = SWIG_CheckState(res);
264326  if (_v) {
264327  return _wrap_SimulationThread_Simulate__SWIG_3(self, args);
264328  }
264329  }
264330  if (argc == 2) {
264331  int _v;
264332  void *vptr = 0;
264333  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationThread, 0);
264334  _v = SWIG_CheckState(res);
264335  if (_v) {
264336  {
264337  int res = SWIG_AsVal_float(argv[1], NULL);
264338  _v = SWIG_CheckState(res);
264339  }
264340  if (_v) {
264341  return _wrap_SimulationThread_Simulate__SWIG_2(self, args);
264342  }
264343  }
264344  }
264345  if (argc == 3) {
264346  int _v;
264347  void *vptr = 0;
264348  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationThread, 0);
264349  _v = SWIG_CheckState(res);
264350  if (_v) {
264351  {
264352  int res = SWIG_AsVal_float(argv[1], NULL);
264353  _v = SWIG_CheckState(res);
264354  }
264355  if (_v) {
264356  {
264357  int res = SWIG_AsVal_bool(argv[2], NULL);
264358  _v = SWIG_CheckState(res);
264359  }
264360  if (_v) {
264361  return _wrap_SimulationThread_Simulate__SWIG_1(self, args);
264362  }
264363  }
264364  }
264365  }
264366  if (argc == 4) {
264367  int _v;
264368  void *vptr = 0;
264369  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationThread, 0);
264370  _v = SWIG_CheckState(res);
264371  if (_v) {
264372  {
264373  int res = SWIG_AsVal_float(argv[1], NULL);
264374  _v = SWIG_CheckState(res);
264375  }
264376  if (_v) {
264377  {
264378  int res = SWIG_AsVal_bool(argv[2], NULL);
264379  _v = SWIG_CheckState(res);
264380  }
264381  if (_v) {
264382  {
264383  int res = SWIG_AsVal_float(argv[3], NULL);
264384  _v = SWIG_CheckState(res);
264385  }
264386  if (_v) {
264387  return _wrap_SimulationThread_Simulate__SWIG_0(self, args);
264388  }
264389  }
264390  }
264391  }
264392  }
264393 
264394 fail:
264395  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SimulationThread_Simulate'.\n"
264396  " Possible C/C++ prototypes are:\n"
264397  " AnimatSim::SimulationThread::Simulate(float,bool,float)\n"
264398  " AnimatSim::SimulationThread::Simulate(float,bool)\n"
264399  " AnimatSim::SimulationThread::Simulate(float)\n"
264400  " AnimatSim::SimulationThread::Simulate()\n");
264401  return 0;
264402 }
264403 
264404 
264405 SWIGINTERN PyObject *_wrap_SimulationThread_PauseSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264406  PyObject *resultobj = 0;
264408  void *argp1 = 0 ;
264409  int res1 = 0 ;
264410  PyObject * obj0 = 0 ;
264411 
264412  if (!PyArg_ParseTuple(args,(char *)"O:SimulationThread_PauseSimulation",&obj0)) SWIG_fail;
264413  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
264414  if (!SWIG_IsOK(res1)) {
264415  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_PauseSimulation" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
264416  }
264417  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
264418  {
264419  try {
264420  (arg1)->PauseSimulation();
264421  }
264422  catch(CStdErrorInfo oError)
264423  {
264424  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264425  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264426  PyErr_SetString(PyExc_IndexError, strError.c_str());
264427  SWIG_fail;
264428  }
264429  catch(...)
264430  {
264431  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264432  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264433  SWIG_fail;
264434  }
264435  }
264436  resultobj = SWIG_Py_Void();
264437  return resultobj;
264438 fail:
264439  return NULL;
264440 }
264441 
264442 
264443 SWIGINTERN PyObject *_wrap_SimulationThread_ResumeSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264444  PyObject *resultobj = 0;
264446  void *argp1 = 0 ;
264447  int res1 = 0 ;
264448  PyObject * obj0 = 0 ;
264449 
264450  if (!PyArg_ParseTuple(args,(char *)"O:SimulationThread_ResumeSimulation",&obj0)) SWIG_fail;
264451  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
264452  if (!SWIG_IsOK(res1)) {
264453  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_ResumeSimulation" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
264454  }
264455  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
264456  {
264457  try {
264458  (arg1)->ResumeSimulation();
264459  }
264460  catch(CStdErrorInfo oError)
264461  {
264462  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264463  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264464  PyErr_SetString(PyExc_IndexError, strError.c_str());
264465  SWIG_fail;
264466  }
264467  catch(...)
264468  {
264469  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264470  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264471  SWIG_fail;
264472  }
264473  }
264474  resultobj = SWIG_Py_Void();
264475  return resultobj;
264476 fail:
264477  return NULL;
264478 }
264479 
264480 
264481 SWIGINTERN PyObject *_wrap_SimulationThread_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264482  PyObject *resultobj = 0;
264484  void *argp1 = 0 ;
264485  int res1 = 0 ;
264486  PyObject * obj0 = 0 ;
264487 
264488  if (!PyArg_ParseTuple(args,(char *)"O:SimulationThread_ResetSimulation",&obj0)) SWIG_fail;
264489  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
264490  if (!SWIG_IsOK(res1)) {
264491  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
264492  }
264493  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
264494  {
264495  try {
264496  (arg1)->ResetSimulation();
264497  }
264498  catch(CStdErrorInfo oError)
264499  {
264500  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264501  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264502  PyErr_SetString(PyExc_IndexError, strError.c_str());
264503  SWIG_fail;
264504  }
264505  catch(...)
264506  {
264507  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264508  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264509  SWIG_fail;
264510  }
264511  }
264512  resultobj = SWIG_Py_Void();
264513  return resultobj;
264514 fail:
264515  return NULL;
264516 }
264517 
264518 
264519 SWIGINTERN PyObject *_wrap_SimulationThread_StopSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264520  PyObject *resultobj = 0;
264522  void *argp1 = 0 ;
264523  int res1 = 0 ;
264524  PyObject * obj0 = 0 ;
264525 
264526  if (!PyArg_ParseTuple(args,(char *)"O:SimulationThread_StopSimulation",&obj0)) SWIG_fail;
264527  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
264528  if (!SWIG_IsOK(res1)) {
264529  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_StopSimulation" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
264530  }
264531  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
264532  {
264533  try {
264534  (arg1)->StopSimulation();
264535  }
264536  catch(CStdErrorInfo oError)
264537  {
264538  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264539  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264540  PyErr_SetString(PyExc_IndexError, strError.c_str());
264541  SWIG_fail;
264542  }
264543  catch(...)
264544  {
264545  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264546  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264547  SWIG_fail;
264548  }
264549  }
264550  resultobj = SWIG_Py_Void();
264551  return resultobj;
264552 fail:
264553  return NULL;
264554 }
264555 
264556 
264557 SWIGINTERN PyObject *_wrap_SimulationThread_ShutdownSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264558  PyObject *resultobj = 0;
264560  void *argp1 = 0 ;
264561  int res1 = 0 ;
264562  PyObject * obj0 = 0 ;
264563 
264564  if (!PyArg_ParseTuple(args,(char *)"O:SimulationThread_ShutdownSimulation",&obj0)) SWIG_fail;
264565  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
264566  if (!SWIG_IsOK(res1)) {
264567  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_ShutdownSimulation" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
264568  }
264569  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
264570  {
264571  try {
264572  (arg1)->ShutdownSimulation();
264573  }
264574  catch(CStdErrorInfo oError)
264575  {
264576  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264577  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264578  PyErr_SetString(PyExc_IndexError, strError.c_str());
264579  SWIG_fail;
264580  }
264581  catch(...)
264582  {
264583  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264584  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264585  SWIG_fail;
264586  }
264587  }
264588  resultobj = SWIG_Py_Void();
264589  return resultobj;
264590 fail:
264591  return NULL;
264592 }
264593 
264594 
264595 SWIGINTERN PyObject *_wrap_SimulationThread_NeedToStopSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264596  PyObject *resultobj = 0;
264598  void *argp1 = 0 ;
264599  int res1 = 0 ;
264600  PyObject * obj0 = 0 ;
264601 
264602  if (!PyArg_ParseTuple(args,(char *)"O:SimulationThread_NeedToStopSimulation",&obj0)) SWIG_fail;
264603  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
264604  if (!SWIG_IsOK(res1)) {
264605  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_NeedToStopSimulation" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
264606  }
264607  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
264608  {
264609  try {
264610  (arg1)->NeedToStopSimulation();
264611  }
264612  catch(CStdErrorInfo oError)
264613  {
264614  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264615  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264616  PyErr_SetString(PyExc_IndexError, strError.c_str());
264617  SWIG_fail;
264618  }
264619  catch(...)
264620  {
264621  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264622  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264623  SWIG_fail;
264624  }
264625  }
264626  resultobj = SWIG_Py_Void();
264627  return resultobj;
264628 fail:
264629  return NULL;
264630 }
264631 
264632 
264633 SWIGINTERN PyObject *_wrap_SimulationThread_HandleNonCriticalError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264634  PyObject *resultobj = 0;
264636  std::string arg2 ;
264637  void *argp1 = 0 ;
264638  int res1 = 0 ;
264639  PyObject * obj0 = 0 ;
264640  PyObject * obj1 = 0 ;
264641 
264642  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationThread_HandleNonCriticalError",&obj0,&obj1)) SWIG_fail;
264643  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
264644  if (!SWIG_IsOK(res1)) {
264645  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_HandleNonCriticalError" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
264646  }
264647  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
264648  {
264649  std::string *ptr = (std::string *)0;
264650  int res = SWIG_AsPtr_std_string(obj1, &ptr);
264651  if (!SWIG_IsOK(res) || !ptr) {
264652  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationThread_HandleNonCriticalError" "', argument " "2"" of type '" "std::string""'");
264653  }
264654  arg2 = *ptr;
264655  if (SWIG_IsNewObj(res)) delete ptr;
264656  }
264657  {
264658  try {
264659  (arg1)->HandleNonCriticalError(arg2);
264660  }
264661  catch(CStdErrorInfo oError)
264662  {
264663  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264664  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264665  PyErr_SetString(PyExc_IndexError, strError.c_str());
264666  SWIG_fail;
264667  }
264668  catch(...)
264669  {
264670  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264671  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264672  SWIG_fail;
264673  }
264674  }
264675  resultobj = SWIG_Py_Void();
264676  return resultobj;
264677 fail:
264678  return NULL;
264679 }
264680 
264681 
264682 SWIGINTERN PyObject *_wrap_SimulationThread_HandleCriticalError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264683  PyObject *resultobj = 0;
264685  std::string arg2 ;
264686  void *argp1 = 0 ;
264687  int res1 = 0 ;
264688  PyObject * obj0 = 0 ;
264689  PyObject * obj1 = 0 ;
264690 
264691  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationThread_HandleCriticalError",&obj0,&obj1)) SWIG_fail;
264692  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
264693  if (!SWIG_IsOK(res1)) {
264694  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationThread_HandleCriticalError" "', argument " "1"" of type '" "AnimatSim::SimulationThread *""'");
264695  }
264696  arg1 = reinterpret_cast< AnimatSim::SimulationThread * >(argp1);
264697  {
264698  std::string *ptr = (std::string *)0;
264699  int res = SWIG_AsPtr_std_string(obj1, &ptr);
264700  if (!SWIG_IsOK(res) || !ptr) {
264701  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationThread_HandleCriticalError" "', argument " "2"" of type '" "std::string""'");
264702  }
264703  arg2 = *ptr;
264704  if (SWIG_IsNewObj(res)) delete ptr;
264705  }
264706  {
264707  try {
264708  (arg1)->HandleCriticalError(arg2);
264709  }
264710  catch(CStdErrorInfo oError)
264711  {
264712  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264713  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264714  PyErr_SetString(PyExc_IndexError, strError.c_str());
264715  SWIG_fail;
264716  }
264717  catch(...)
264718  {
264719  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264720  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264721  SWIG_fail;
264722  }
264723  }
264724  resultobj = SWIG_Py_Void();
264725  return resultobj;
264726 fail:
264727  return NULL;
264728 }
264729 
264730 
264731 SWIGINTERN PyObject *SimulationThread_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264732  PyObject *obj;
264733  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
264734  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__SimulationThread, SWIG_NewClientData(obj));
264735  return SWIG_Py_Void();
264736 }
264737 
264738 SWIGINTERN PyObject *_wrap_SimulationMgr_Instance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264739  PyObject *resultobj = 0;
264740  AnimatSim::SimulationMgr *result = 0 ;
264741 
264742  if (!PyArg_ParseTuple(args,(char *)":SimulationMgr_Instance")) SWIG_fail;
264743  {
264744  try {
264746  }
264747  catch(CStdErrorInfo oError)
264748  {
264749  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264750  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264751  PyErr_SetString(PyExc_IndexError, strError.c_str());
264752  SWIG_fail;
264753  }
264754  catch(...)
264755  {
264756  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264757  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264758  SWIG_fail;
264759  }
264760  }
264761  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__SimulationMgr, 0 | 0 );
264762  return resultobj;
264763 fail:
264764  return NULL;
264765 }
264766 
264767 
264768 SWIGINTERN PyObject *_wrap_SimulationMgr_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264769  PyObject *resultobj = 0;
264771  void *argp1 = 0 ;
264772  int res1 = 0 ;
264773  PyObject * obj0 = 0 ;
264774  AnimatSim::SimulationMgr *result = 0 ;
264775 
264776  if (!PyArg_ParseTuple(args,(char *)"O:SimulationMgr_CastToDerived",&obj0)) SWIG_fail;
264777  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
264778  if (!SWIG_IsOK(res1)) {
264779  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationMgr_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
264780  }
264781  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
264782  {
264783  try {
264784  result = (AnimatSim::SimulationMgr *)AnimatSim::SimulationMgr::CastToDerived(arg1);
264785  }
264786  catch(CStdErrorInfo oError)
264787  {
264788  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264789  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264790  PyErr_SetString(PyExc_IndexError, strError.c_str());
264791  SWIG_fail;
264792  }
264793  catch(...)
264794  {
264795  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264796  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264797  SWIG_fail;
264798  }
264799  }
264800  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__SimulationMgr, 0 | 0 );
264801  return resultobj;
264802 fail:
264803  return NULL;
264804 }
264805 
264806 
264807 SWIGINTERN PyObject *_wrap_SimulationMgr_SimThreads(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264808  PyObject *resultobj = 0;
264810  void *argp1 = 0 ;
264811  int res1 = 0 ;
264812  PyObject * obj0 = 0 ;
264813  CStdPtrArray< AnimatSim::SimulationThread > *result = 0 ;
264814 
264815  if (!PyArg_ParseTuple(args,(char *)"O:SimulationMgr_SimThreads",&obj0)) SWIG_fail;
264816  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationMgr, 0 | 0 );
264817  if (!SWIG_IsOK(res1)) {
264818  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationMgr_SimThreads" "', argument " "1"" of type '" "AnimatSim::SimulationMgr *""'");
264819  }
264820  arg1 = reinterpret_cast< AnimatSim::SimulationMgr * >(argp1);
264821  {
264822  try {
264823  result = (CStdPtrArray< AnimatSim::SimulationThread > *) &(arg1)->SimThreads();
264824  }
264825  catch(CStdErrorInfo oError)
264826  {
264827  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264828  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264829  PyErr_SetString(PyExc_IndexError, strError.c_str());
264830  SWIG_fail;
264831  }
264832  catch(...)
264833  {
264834  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264835  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264836  SWIG_fail;
264837  }
264838  }
264839  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_AnimatSim__SimulationThread_t, 0 | 0 );
264840  return resultobj;
264841 fail:
264842  return NULL;
264843 }
264844 
264845 
264846 SWIGINTERN PyObject *_wrap_SimulationMgr_CreateSimulation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264847  PyObject *resultobj = 0;
264849  std::string arg2 ;
264850  bool arg3 ;
264851  void *argp1 = 0 ;
264852  int res1 = 0 ;
264853  bool val3 ;
264854  int ecode3 = 0 ;
264855  PyObject * obj0 = 0 ;
264856  PyObject * obj1 = 0 ;
264857  PyObject * obj2 = 0 ;
264858  AnimatSim::SimulationThread *result = 0 ;
264859 
264860  if (!PyArg_ParseTuple(args,(char *)"OOO:SimulationMgr_CreateSimulation",&obj0,&obj1,&obj2)) SWIG_fail;
264861  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationMgr, 0 | 0 );
264862  if (!SWIG_IsOK(res1)) {
264863  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationMgr_CreateSimulation" "', argument " "1"" of type '" "AnimatSim::SimulationMgr *""'");
264864  }
264865  arg1 = reinterpret_cast< AnimatSim::SimulationMgr * >(argp1);
264866  {
264867  std::string *ptr = (std::string *)0;
264868  int res = SWIG_AsPtr_std_string(obj1, &ptr);
264869  if (!SWIG_IsOK(res) || !ptr) {
264870  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationMgr_CreateSimulation" "', argument " "2"" of type '" "std::string""'");
264871  }
264872  arg2 = *ptr;
264873  if (SWIG_IsNewObj(res)) delete ptr;
264874  }
264875  ecode3 = SWIG_AsVal_bool(obj2, &val3);
264876  if (!SWIG_IsOK(ecode3)) {
264877  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimulationMgr_CreateSimulation" "', argument " "3"" of type '" "bool""'");
264878  }
264879  arg3 = static_cast< bool >(val3);
264880  {
264881  try {
264882  result = (AnimatSim::SimulationThread *)(arg1)->CreateSimulation(arg2,arg3);
264883  }
264884  catch(CStdErrorInfo oError)
264885  {
264886  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264887  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264888  PyErr_SetString(PyExc_IndexError, strError.c_str());
264889  SWIG_fail;
264890  }
264891  catch(...)
264892  {
264893  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264894  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264895  SWIG_fail;
264896  }
264897  }
264898  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
264899  return resultobj;
264900 fail:
264901  return NULL;
264902 }
264903 
264904 
264905 SWIGINTERN PyObject *_wrap_SimulationMgr_CreateSimulation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
264906  PyObject *resultobj = 0;
264908  std::string arg2 ;
264909  void *argp1 = 0 ;
264910  int res1 = 0 ;
264911  PyObject * obj0 = 0 ;
264912  PyObject * obj1 = 0 ;
264913  AnimatSim::SimulationThread *result = 0 ;
264914 
264915  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationMgr_CreateSimulation",&obj0,&obj1)) SWIG_fail;
264916  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationMgr, 0 | 0 );
264917  if (!SWIG_IsOK(res1)) {
264918  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationMgr_CreateSimulation" "', argument " "1"" of type '" "AnimatSim::SimulationMgr *""'");
264919  }
264920  arg1 = reinterpret_cast< AnimatSim::SimulationMgr * >(argp1);
264921  {
264922  std::string *ptr = (std::string *)0;
264923  int res = SWIG_AsPtr_std_string(obj1, &ptr);
264924  if (!SWIG_IsOK(res) || !ptr) {
264925  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationMgr_CreateSimulation" "', argument " "2"" of type '" "std::string""'");
264926  }
264927  arg2 = *ptr;
264928  if (SWIG_IsNewObj(res)) delete ptr;
264929  }
264930  {
264931  try {
264932  result = (AnimatSim::SimulationThread *)(arg1)->CreateSimulation(arg2);
264933  }
264934  catch(CStdErrorInfo oError)
264935  {
264936  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264937  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
264938  PyErr_SetString(PyExc_IndexError, strError.c_str());
264939  SWIG_fail;
264940  }
264941  catch(...)
264942  {
264943  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
264944  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
264945  SWIG_fail;
264946  }
264947  }
264948  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__SimulationThread, 0 | 0 );
264949  return resultobj;
264950 fail:
264951  return NULL;
264952 }
264953 
264954 
264955 SWIGINTERN PyObject *_wrap_SimulationMgr_CreateSimulation(PyObject *self, PyObject *args) {
264956  int argc;
264957  PyObject *argv[4];
264958  int ii;
264959 
264960  if (!PyTuple_Check(args)) SWIG_fail;
264961  argc = args ? (int)PyObject_Length(args) : 0;
264962  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
264963  argv[ii] = PyTuple_GET_ITEM(args,ii);
264964  }
264965  if (argc == 2) {
264966  int _v;
264967  void *vptr = 0;
264968  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationMgr, 0);
264969  _v = SWIG_CheckState(res);
264970  if (_v) {
264971  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
264972  _v = SWIG_CheckState(res);
264973  if (_v) {
264974  return _wrap_SimulationMgr_CreateSimulation__SWIG_1(self, args);
264975  }
264976  }
264977  }
264978  if (argc == 3) {
264979  int _v;
264980  void *vptr = 0;
264981  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationMgr, 0);
264982  _v = SWIG_CheckState(res);
264983  if (_v) {
264984  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
264985  _v = SWIG_CheckState(res);
264986  if (_v) {
264987  {
264988  int res = SWIG_AsVal_bool(argv[2], NULL);
264989  _v = SWIG_CheckState(res);
264990  }
264991  if (_v) {
264992  return _wrap_SimulationMgr_CreateSimulation__SWIG_0(self, args);
264993  }
264994  }
264995  }
264996  }
264997 
264998 fail:
264999  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SimulationMgr_CreateSimulation'.\n"
265000  " Possible C/C++ prototypes are:\n"
265001  " AnimatSim::SimulationMgr::CreateSimulation(std::string,bool)\n"
265002  " AnimatSim::SimulationMgr::CreateSimulation(std::string)\n");
265003  return 0;
265004 }
265005 
265006 
265007 SWIGINTERN PyObject *_wrap_SimulationMgr_ShutdownAllSimulations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265008  PyObject *resultobj = 0;
265010  void *argp1 = 0 ;
265011  int res1 = 0 ;
265012  PyObject * obj0 = 0 ;
265013 
265014  if (!PyArg_ParseTuple(args,(char *)"O:SimulationMgr_ShutdownAllSimulations",&obj0)) SWIG_fail;
265015  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationMgr, 0 | 0 );
265016  if (!SWIG_IsOK(res1)) {
265017  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationMgr_ShutdownAllSimulations" "', argument " "1"" of type '" "AnimatSim::SimulationMgr *""'");
265018  }
265019  arg1 = reinterpret_cast< AnimatSim::SimulationMgr * >(argp1);
265020  {
265021  try {
265022  (arg1)->ShutdownAllSimulations();
265023  }
265024  catch(CStdErrorInfo oError)
265025  {
265026  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265027  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265028  PyErr_SetString(PyExc_IndexError, strError.c_str());
265029  SWIG_fail;
265030  }
265031  catch(...)
265032  {
265033  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265034  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265035  SWIG_fail;
265036  }
265037  }
265038  resultobj = SWIG_Py_Void();
265039  return resultobj;
265040 fail:
265041  return NULL;
265042 }
265043 
265044 
265045 SWIGINTERN PyObject *_wrap_SimulationMgr_FindByID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265046  PyObject *resultobj = 0;
265048  std::string arg2 ;
265049  bool arg3 ;
265050  void *argp1 = 0 ;
265051  int res1 = 0 ;
265052  bool val3 ;
265053  int ecode3 = 0 ;
265054  PyObject * obj0 = 0 ;
265055  PyObject * obj1 = 0 ;
265056  PyObject * obj2 = 0 ;
265057  AnimatSim::AnimatBase *result = 0 ;
265058 
265059  if (!PyArg_ParseTuple(args,(char *)"OOO:SimulationMgr_FindByID",&obj0,&obj1,&obj2)) SWIG_fail;
265060  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationMgr, 0 | 0 );
265061  if (!SWIG_IsOK(res1)) {
265062  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationMgr_FindByID" "', argument " "1"" of type '" "AnimatSim::SimulationMgr *""'");
265063  }
265064  arg1 = reinterpret_cast< AnimatSim::SimulationMgr * >(argp1);
265065  {
265066  std::string *ptr = (std::string *)0;
265067  int res = SWIG_AsPtr_std_string(obj1, &ptr);
265068  if (!SWIG_IsOK(res) || !ptr) {
265069  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationMgr_FindByID" "', argument " "2"" of type '" "std::string""'");
265070  }
265071  arg2 = *ptr;
265072  if (SWIG_IsNewObj(res)) delete ptr;
265073  }
265074  ecode3 = SWIG_AsVal_bool(obj2, &val3);
265075  if (!SWIG_IsOK(ecode3)) {
265076  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimulationMgr_FindByID" "', argument " "3"" of type '" "bool""'");
265077  }
265078  arg3 = static_cast< bool >(val3);
265079  {
265080  try {
265081  result = (AnimatSim::AnimatBase *)(arg1)->FindByID(arg2,arg3);
265082  }
265083  catch(CStdErrorInfo oError)
265084  {
265085  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265086  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265087  PyErr_SetString(PyExc_IndexError, strError.c_str());
265088  SWIG_fail;
265089  }
265090  catch(...)
265091  {
265092  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265093  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265094  SWIG_fail;
265095  }
265096  }
265097  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
265098  return resultobj;
265099 fail:
265100  return NULL;
265101 }
265102 
265103 
265104 SWIGINTERN PyObject *_wrap_SimulationMgr_FindByID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265105  PyObject *resultobj = 0;
265107  std::string arg2 ;
265108  void *argp1 = 0 ;
265109  int res1 = 0 ;
265110  PyObject * obj0 = 0 ;
265111  PyObject * obj1 = 0 ;
265112  AnimatSim::AnimatBase *result = 0 ;
265113 
265114  if (!PyArg_ParseTuple(args,(char *)"OO:SimulationMgr_FindByID",&obj0,&obj1)) SWIG_fail;
265115  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__SimulationMgr, 0 | 0 );
265116  if (!SWIG_IsOK(res1)) {
265117  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationMgr_FindByID" "', argument " "1"" of type '" "AnimatSim::SimulationMgr *""'");
265118  }
265119  arg1 = reinterpret_cast< AnimatSim::SimulationMgr * >(argp1);
265120  {
265121  std::string *ptr = (std::string *)0;
265122  int res = SWIG_AsPtr_std_string(obj1, &ptr);
265123  if (!SWIG_IsOK(res) || !ptr) {
265124  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SimulationMgr_FindByID" "', argument " "2"" of type '" "std::string""'");
265125  }
265126  arg2 = *ptr;
265127  if (SWIG_IsNewObj(res)) delete ptr;
265128  }
265129  {
265130  try {
265131  result = (AnimatSim::AnimatBase *)(arg1)->FindByID(arg2);
265132  }
265133  catch(CStdErrorInfo oError)
265134  {
265135  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265136  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265137  PyErr_SetString(PyExc_IndexError, strError.c_str());
265138  SWIG_fail;
265139  }
265140  catch(...)
265141  {
265142  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265143  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265144  SWIG_fail;
265145  }
265146  }
265147  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
265148  return resultobj;
265149 fail:
265150  return NULL;
265151 }
265152 
265153 
265154 SWIGINTERN PyObject *_wrap_SimulationMgr_FindByID(PyObject *self, PyObject *args) {
265155  int argc;
265156  PyObject *argv[4];
265157  int ii;
265158 
265159  if (!PyTuple_Check(args)) SWIG_fail;
265160  argc = args ? (int)PyObject_Length(args) : 0;
265161  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
265162  argv[ii] = PyTuple_GET_ITEM(args,ii);
265163  }
265164  if (argc == 2) {
265165  int _v;
265166  void *vptr = 0;
265167  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationMgr, 0);
265168  _v = SWIG_CheckState(res);
265169  if (_v) {
265170  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
265171  _v = SWIG_CheckState(res);
265172  if (_v) {
265173  return _wrap_SimulationMgr_FindByID__SWIG_1(self, args);
265174  }
265175  }
265176  }
265177  if (argc == 3) {
265178  int _v;
265179  void *vptr = 0;
265180  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__SimulationMgr, 0);
265181  _v = SWIG_CheckState(res);
265182  if (_v) {
265183  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
265184  _v = SWIG_CheckState(res);
265185  if (_v) {
265186  {
265187  int res = SWIG_AsVal_bool(argv[2], NULL);
265188  _v = SWIG_CheckState(res);
265189  }
265190  if (_v) {
265191  return _wrap_SimulationMgr_FindByID__SWIG_0(self, args);
265192  }
265193  }
265194  }
265195  }
265196 
265197 fail:
265198  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SimulationMgr_FindByID'.\n"
265199  " Possible C/C++ prototypes are:\n"
265200  " AnimatSim::SimulationMgr::FindByID(std::string,bool)\n"
265201  " AnimatSim::SimulationMgr::FindByID(std::string)\n");
265202  return 0;
265203 }
265204 
265205 
265206 SWIGINTERN PyObject *SimulationMgr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265207  PyObject *obj;
265208  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
265209  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__SimulationMgr, SWIG_NewClientData(obj));
265210  return SWIG_Py_Void();
265211 }
265212 
265213 SWIGINTERN PyObject *_wrap_ActiveSim__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265214  PyObject *resultobj = 0;
265216  void *argp1 = 0 ;
265217  int res1 = 0 ;
265218  PyObject * obj0 = 0 ;
265219 
265220  if (!PyArg_ParseTuple(args,(char *)"O:ActiveSim",&obj0)) SWIG_fail;
265221  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
265222  if (!SWIG_IsOK(res1)) {
265223  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActiveSim" "', argument " "1"" of type '" "AnimatSim::Simulator *""'");
265224  }
265225  arg1 = reinterpret_cast< AnimatSim::Simulator * >(argp1);
265226  {
265227  try {
265228  AnimatSim::ActiveSim(arg1);
265229  }
265230  catch(CStdErrorInfo oError)
265231  {
265232  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265233  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265234  PyErr_SetString(PyExc_IndexError, strError.c_str());
265235  SWIG_fail;
265236  }
265237  catch(...)
265238  {
265239  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265240  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265241  SWIG_fail;
265242  }
265243  }
265244  resultobj = SWIG_Py_Void();
265245  return resultobj;
265246 fail:
265247  return NULL;
265248 }
265249 
265250 
265251 SWIGINTERN PyObject *_wrap_ActiveSim__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265252  PyObject *resultobj = 0;
265253  AnimatSim::Simulator *result = 0 ;
265254 
265255  if (!PyArg_ParseTuple(args,(char *)":ActiveSim")) SWIG_fail;
265256  {
265257  try {
265258  result = (AnimatSim::Simulator *)AnimatSim::ActiveSim();
265259  }
265260  catch(CStdErrorInfo oError)
265261  {
265262  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265263  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265264  PyErr_SetString(PyExc_IndexError, strError.c_str());
265265  SWIG_fail;
265266  }
265267  catch(...)
265268  {
265269  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265270  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265271  SWIG_fail;
265272  }
265273  }
265274  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Simulator, 0 | 0 );
265275  return resultobj;
265276 fail:
265277  return NULL;
265278 }
265279 
265280 
265281 SWIGINTERN PyObject *_wrap_ActiveSim(PyObject *self, PyObject *args) {
265282  int argc;
265283  PyObject *argv[2];
265284  int ii;
265285 
265286  if (!PyTuple_Check(args)) SWIG_fail;
265287  argc = args ? (int)PyObject_Length(args) : 0;
265288  for (ii = 0; (ii < 1) && (ii < argc); ii++) {
265289  argv[ii] = PyTuple_GET_ITEM(args,ii);
265290  }
265291  if (argc == 0) {
265292  return _wrap_ActiveSim__SWIG_1(self, args);
265293  }
265294  if (argc == 1) {
265295  int _v;
265296  void *vptr = 0;
265297  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Simulator, 0);
265298  _v = SWIG_CheckState(res);
265299  if (_v) {
265300  return _wrap_ActiveSim__SWIG_0(self, args);
265301  }
265302  }
265303 
265304 fail:
265305  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ActiveSim'.\n"
265306  " Possible C/C++ prototypes are:\n"
265307  " AnimatSim::ActiveSim(AnimatSim::Simulator *)\n"
265308  " AnimatSim::ActiveSim()\n");
265309  return 0;
265310 }
265311 
265312 
265313 SWIGINTERN PyObject *_wrap_new_RobotInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265314  PyObject *resultobj = 0;
265316 
265317  if (!PyArg_ParseTuple(args,(char *)":new_RobotInterface")) SWIG_fail;
265318  {
265319  try {
265321  }
265322  catch(CStdErrorInfo oError)
265323  {
265324  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265325  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265326  PyErr_SetString(PyExc_IndexError, strError.c_str());
265327  SWIG_fail;
265328  }
265329  catch(...)
265330  {
265331  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265332  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265333  SWIG_fail;
265334  }
265335  }
265336  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, SWIG_POINTER_NEW | 0 );
265337  return resultobj;
265338 fail:
265339  return NULL;
265340 }
265341 
265342 
265343 SWIGINTERN PyObject *_wrap_delete_RobotInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265344  PyObject *resultobj = 0;
265346  void *argp1 = 0 ;
265347  int res1 = 0 ;
265348  PyObject * obj0 = 0 ;
265349 
265350  if (!PyArg_ParseTuple(args,(char *)"O:delete_RobotInterface",&obj0)) SWIG_fail;
265351  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, SWIG_POINTER_DISOWN | 0 );
265352  if (!SWIG_IsOK(res1)) {
265353  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RobotInterface" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
265354  }
265355  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
265356  {
265357  try {
265358  delete arg1;
265359  }
265360  catch(CStdErrorInfo oError)
265361  {
265362  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265363  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265364  PyErr_SetString(PyExc_IndexError, strError.c_str());
265365  SWIG_fail;
265366  }
265367  catch(...)
265368  {
265369  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265370  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265371  SWIG_fail;
265372  }
265373  }
265374  resultobj = SWIG_Py_Void();
265375  return resultobj;
265376 fail:
265377  return NULL;
265378 }
265379 
265380 
265381 SWIGINTERN PyObject *_wrap_RobotInterface_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265382  PyObject *resultobj = 0;
265384  void *argp1 = 0 ;
265385  int res1 = 0 ;
265386  PyObject * obj0 = 0 ;
265388 
265389  if (!PyArg_ParseTuple(args,(char *)"O:RobotInterface_CastToDerived",&obj0)) SWIG_fail;
265390  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
265391  if (!SWIG_IsOK(res1)) {
265392  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
265393  }
265394  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
265395  {
265396  try {
265397  result = (AnimatSim::Robotics::RobotInterface *)AnimatSim::Robotics::RobotInterface::CastToDerived(arg1);
265398  }
265399  catch(CStdErrorInfo oError)
265400  {
265401  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265402  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265403  PyErr_SetString(PyExc_IndexError, strError.c_str());
265404  SWIG_fail;
265405  }
265406  catch(...)
265407  {
265408  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265409  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265410  SWIG_fail;
265411  }
265412  }
265413  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
265414  return resultobj;
265415 fail:
265416  return NULL;
265417 }
265418 
265419 
265420 SWIGINTERN PyObject *_wrap_RobotInterface_IOControls(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265421  PyObject *resultobj = 0;
265423  void *argp1 = 0 ;
265424  int res1 = 0 ;
265425  PyObject * obj0 = 0 ;
265426  CStdPtrArray< RobotIOControl > *result = 0 ;
265427 
265428  if (!PyArg_ParseTuple(args,(char *)"O:RobotInterface_IOControls",&obj0)) SWIG_fail;
265429  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
265430  if (!SWIG_IsOK(res1)) {
265431  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_IOControls" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
265432  }
265433  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
265434  {
265435  try {
265436  result = (CStdPtrArray< RobotIOControl > *)(arg1)->IOControls();
265437  }
265438  catch(CStdErrorInfo oError)
265439  {
265440  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265441  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265442  PyErr_SetString(PyExc_IndexError, strError.c_str());
265443  SWIG_fail;
265444  }
265445  catch(...)
265446  {
265447  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265448  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265449  SWIG_fail;
265450  }
265451  }
265452  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t, 0 | 0 );
265453  return resultobj;
265454 fail:
265455  return NULL;
265456 }
265457 
265458 
265459 SWIGINTERN PyObject *_wrap_RobotInterface_PhysicsTimeStep__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265460  PyObject *resultobj = 0;
265462  void *argp1 = 0 ;
265463  int res1 = 0 ;
265464  PyObject * obj0 = 0 ;
265465  float result;
265466 
265467  if (!PyArg_ParseTuple(args,(char *)"O:RobotInterface_PhysicsTimeStep",&obj0)) SWIG_fail;
265468  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
265469  if (!SWIG_IsOK(res1)) {
265470  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_PhysicsTimeStep" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
265471  }
265472  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
265473  {
265474  try {
265475  result = (float)(arg1)->PhysicsTimeStep();
265476  }
265477  catch(CStdErrorInfo oError)
265478  {
265479  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265480  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265481  PyErr_SetString(PyExc_IndexError, strError.c_str());
265482  SWIG_fail;
265483  }
265484  catch(...)
265485  {
265486  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265487  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265488  SWIG_fail;
265489  }
265490  }
265491  resultobj = SWIG_From_float(static_cast< float >(result));
265492  return resultobj;
265493 fail:
265494  return NULL;
265495 }
265496 
265497 
265498 SWIGINTERN PyObject *_wrap_RobotInterface_PhysicsTimeStep__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265499  PyObject *resultobj = 0;
265501  float arg2 ;
265502  void *argp1 = 0 ;
265503  int res1 = 0 ;
265504  float val2 ;
265505  int ecode2 = 0 ;
265506  PyObject * obj0 = 0 ;
265507  PyObject * obj1 = 0 ;
265508 
265509  if (!PyArg_ParseTuple(args,(char *)"OO:RobotInterface_PhysicsTimeStep",&obj0,&obj1)) SWIG_fail;
265510  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
265511  if (!SWIG_IsOK(res1)) {
265512  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_PhysicsTimeStep" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
265513  }
265514  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
265515  ecode2 = SWIG_AsVal_float(obj1, &val2);
265516  if (!SWIG_IsOK(ecode2)) {
265517  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RobotInterface_PhysicsTimeStep" "', argument " "2"" of type '" "float""'");
265518  }
265519  arg2 = static_cast< float >(val2);
265520  {
265521  try {
265522  (arg1)->PhysicsTimeStep(arg2);
265523  }
265524  catch(CStdErrorInfo oError)
265525  {
265526  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265527  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265528  PyErr_SetString(PyExc_IndexError, strError.c_str());
265529  SWIG_fail;
265530  }
265531  catch(...)
265532  {
265533  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265534  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265535  SWIG_fail;
265536  }
265537  }
265538  resultobj = SWIG_Py_Void();
265539  return resultobj;
265540 fail:
265541  return NULL;
265542 }
265543 
265544 
265545 SWIGINTERN PyObject *_wrap_RobotInterface_PhysicsTimeStep(PyObject *self, PyObject *args) {
265546  int argc;
265547  PyObject *argv[3];
265548  int ii;
265549 
265550  if (!PyTuple_Check(args)) SWIG_fail;
265551  argc = args ? (int)PyObject_Length(args) : 0;
265552  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
265553  argv[ii] = PyTuple_GET_ITEM(args,ii);
265554  }
265555  if (argc == 1) {
265556  int _v;
265557  void *vptr = 0;
265558  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0);
265559  _v = SWIG_CheckState(res);
265560  if (_v) {
265561  return _wrap_RobotInterface_PhysicsTimeStep__SWIG_0(self, args);
265562  }
265563  }
265564  if (argc == 2) {
265565  int _v;
265566  void *vptr = 0;
265567  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0);
265568  _v = SWIG_CheckState(res);
265569  if (_v) {
265570  {
265571  int res = SWIG_AsVal_float(argv[1], NULL);
265572  _v = SWIG_CheckState(res);
265573  }
265574  if (_v) {
265575  return _wrap_RobotInterface_PhysicsTimeStep__SWIG_1(self, args);
265576  }
265577  }
265578  }
265579 
265580 fail:
265581  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotInterface_PhysicsTimeStep'.\n"
265582  " Possible C/C++ prototypes are:\n"
265583  " AnimatSim::Robotics::RobotInterface::PhysicsTimeStep()\n"
265584  " AnimatSim::Robotics::RobotInterface::PhysicsTimeStep(float)\n");
265585  return 0;
265586 }
265587 
265588 
265589 SWIGINTERN PyObject *_wrap_RobotInterface_SynchSim__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265590  PyObject *resultobj = 0;
265592  void *argp1 = 0 ;
265593  int res1 = 0 ;
265594  PyObject * obj0 = 0 ;
265595  bool result;
265596 
265597  if (!PyArg_ParseTuple(args,(char *)"O:RobotInterface_SynchSim",&obj0)) SWIG_fail;
265598  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
265599  if (!SWIG_IsOK(res1)) {
265600  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_SynchSim" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
265601  }
265602  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
265603  {
265604  try {
265605  result = (bool)(arg1)->SynchSim();
265606  }
265607  catch(CStdErrorInfo oError)
265608  {
265609  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265610  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265611  PyErr_SetString(PyExc_IndexError, strError.c_str());
265612  SWIG_fail;
265613  }
265614  catch(...)
265615  {
265616  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265617  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265618  SWIG_fail;
265619  }
265620  }
265621  resultobj = SWIG_From_bool(static_cast< bool >(result));
265622  return resultobj;
265623 fail:
265624  return NULL;
265625 }
265626 
265627 
265628 SWIGINTERN PyObject *_wrap_RobotInterface_SynchSim__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265629  PyObject *resultobj = 0;
265631  bool arg2 ;
265632  void *argp1 = 0 ;
265633  int res1 = 0 ;
265634  bool val2 ;
265635  int ecode2 = 0 ;
265636  PyObject * obj0 = 0 ;
265637  PyObject * obj1 = 0 ;
265638 
265639  if (!PyArg_ParseTuple(args,(char *)"OO:RobotInterface_SynchSim",&obj0,&obj1)) SWIG_fail;
265640  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
265641  if (!SWIG_IsOK(res1)) {
265642  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_SynchSim" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
265643  }
265644  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
265645  ecode2 = SWIG_AsVal_bool(obj1, &val2);
265646  if (!SWIG_IsOK(ecode2)) {
265647  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RobotInterface_SynchSim" "', argument " "2"" of type '" "bool""'");
265648  }
265649  arg2 = static_cast< bool >(val2);
265650  {
265651  try {
265652  (arg1)->SynchSim(arg2);
265653  }
265654  catch(CStdErrorInfo oError)
265655  {
265656  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265657  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265658  PyErr_SetString(PyExc_IndexError, strError.c_str());
265659  SWIG_fail;
265660  }
265661  catch(...)
265662  {
265663  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265664  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265665  SWIG_fail;
265666  }
265667  }
265668  resultobj = SWIG_Py_Void();
265669  return resultobj;
265670 fail:
265671  return NULL;
265672 }
265673 
265674 
265675 SWIGINTERN PyObject *_wrap_RobotInterface_SynchSim(PyObject *self, PyObject *args) {
265676  int argc;
265677  PyObject *argv[3];
265678  int ii;
265679 
265680  if (!PyTuple_Check(args)) SWIG_fail;
265681  argc = args ? (int)PyObject_Length(args) : 0;
265682  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
265683  argv[ii] = PyTuple_GET_ITEM(args,ii);
265684  }
265685  if (argc == 1) {
265686  int _v;
265687  void *vptr = 0;
265688  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0);
265689  _v = SWIG_CheckState(res);
265690  if (_v) {
265691  return _wrap_RobotInterface_SynchSim__SWIG_0(self, args);
265692  }
265693  }
265694  if (argc == 2) {
265695  int _v;
265696  void *vptr = 0;
265697  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0);
265698  _v = SWIG_CheckState(res);
265699  if (_v) {
265700  {
265701  int res = SWIG_AsVal_bool(argv[1], NULL);
265702  _v = SWIG_CheckState(res);
265703  }
265704  if (_v) {
265705  return _wrap_RobotInterface_SynchSim__SWIG_1(self, args);
265706  }
265707  }
265708  }
265709 
265710 fail:
265711  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotInterface_SynchSim'.\n"
265712  " Possible C/C++ prototypes are:\n"
265713  " AnimatSim::Robotics::RobotInterface::SynchSim()\n"
265714  " AnimatSim::Robotics::RobotInterface::SynchSim(bool)\n");
265715  return 0;
265716 }
265717 
265718 
265719 SWIGINTERN PyObject *_wrap_RobotInterface_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265720  PyObject *resultobj = 0;
265722  std::string *arg2 = 0 ;
265723  void *argp1 = 0 ;
265724  int res1 = 0 ;
265725  int res2 = SWIG_OLDOBJ ;
265726  PyObject * obj0 = 0 ;
265727  PyObject * obj1 = 0 ;
265728  float *result = 0 ;
265729 
265730  if (!PyArg_ParseTuple(args,(char *)"OO:RobotInterface_GetDataPointer",&obj0,&obj1)) SWIG_fail;
265731  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
265732  if (!SWIG_IsOK(res1)) {
265733  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
265734  }
265735  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
265736  {
265737  std::string *ptr = (std::string *)0;
265738  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
265739  if (!SWIG_IsOK(res2)) {
265740  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotInterface_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
265741  }
265742  if (!ptr) {
265743  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
265744  }
265745  arg2 = ptr;
265746  }
265747  {
265748  try {
265749  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
265750  }
265751  catch(CStdErrorInfo oError)
265752  {
265753  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265754  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265755  PyErr_SetString(PyExc_IndexError, strError.c_str());
265756  SWIG_fail;
265757  }
265758  catch(...)
265759  {
265760  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265761  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265762  SWIG_fail;
265763  }
265764  }
265765  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
265766  if (SWIG_IsNewObj(res2)) delete arg2;
265767  return resultobj;
265768 fail:
265769  if (SWIG_IsNewObj(res2)) delete arg2;
265770  return NULL;
265771 }
265772 
265773 
265774 SWIGINTERN PyObject *_wrap_RobotInterface_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265775  PyObject *resultobj = 0;
265777  std::string *arg2 = 0 ;
265778  std::string *arg3 = 0 ;
265779  bool arg4 ;
265780  void *argp1 = 0 ;
265781  int res1 = 0 ;
265782  int res2 = SWIG_OLDOBJ ;
265783  int res3 = SWIG_OLDOBJ ;
265784  bool val4 ;
265785  int ecode4 = 0 ;
265786  PyObject * obj0 = 0 ;
265787  PyObject * obj1 = 0 ;
265788  PyObject * obj2 = 0 ;
265789  PyObject * obj3 = 0 ;
265790  bool result;
265791 
265792  if (!PyArg_ParseTuple(args,(char *)"OOOO:RobotInterface_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
265793  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
265794  if (!SWIG_IsOK(res1)) {
265795  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_SetData" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
265796  }
265797  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
265798  {
265799  std::string *ptr = (std::string *)0;
265800  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
265801  if (!SWIG_IsOK(res2)) {
265802  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotInterface_SetData" "', argument " "2"" of type '" "std::string const &""'");
265803  }
265804  if (!ptr) {
265805  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_SetData" "', argument " "2"" of type '" "std::string const &""'");
265806  }
265807  arg2 = ptr;
265808  }
265809  {
265810  std::string *ptr = (std::string *)0;
265811  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
265812  if (!SWIG_IsOK(res3)) {
265813  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotInterface_SetData" "', argument " "3"" of type '" "std::string const &""'");
265814  }
265815  if (!ptr) {
265816  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_SetData" "', argument " "3"" of type '" "std::string const &""'");
265817  }
265818  arg3 = ptr;
265819  }
265820  ecode4 = SWIG_AsVal_bool(obj3, &val4);
265821  if (!SWIG_IsOK(ecode4)) {
265822  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RobotInterface_SetData" "', argument " "4"" of type '" "bool""'");
265823  }
265824  arg4 = static_cast< bool >(val4);
265825  {
265826  try {
265827  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
265828  }
265829  catch(CStdErrorInfo oError)
265830  {
265831  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265832  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265833  PyErr_SetString(PyExc_IndexError, strError.c_str());
265834  SWIG_fail;
265835  }
265836  catch(...)
265837  {
265838  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265839  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265840  SWIG_fail;
265841  }
265842  }
265843  resultobj = SWIG_From_bool(static_cast< bool >(result));
265844  if (SWIG_IsNewObj(res2)) delete arg2;
265845  if (SWIG_IsNewObj(res3)) delete arg3;
265846  return resultobj;
265847 fail:
265848  if (SWIG_IsNewObj(res2)) delete arg2;
265849  if (SWIG_IsNewObj(res3)) delete arg3;
265850  return NULL;
265851 }
265852 
265853 
265854 SWIGINTERN PyObject *_wrap_RobotInterface_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265855  PyObject *resultobj = 0;
265857  std::string *arg2 = 0 ;
265858  std::string *arg3 = 0 ;
265859  void *argp1 = 0 ;
265860  int res1 = 0 ;
265861  int res2 = SWIG_OLDOBJ ;
265862  int res3 = SWIG_OLDOBJ ;
265863  PyObject * obj0 = 0 ;
265864  PyObject * obj1 = 0 ;
265865  PyObject * obj2 = 0 ;
265866  bool result;
265867 
265868  if (!PyArg_ParseTuple(args,(char *)"OOO:RobotInterface_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
265869  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
265870  if (!SWIG_IsOK(res1)) {
265871  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_SetData" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
265872  }
265873  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
265874  {
265875  std::string *ptr = (std::string *)0;
265876  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
265877  if (!SWIG_IsOK(res2)) {
265878  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotInterface_SetData" "', argument " "2"" of type '" "std::string const &""'");
265879  }
265880  if (!ptr) {
265881  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_SetData" "', argument " "2"" of type '" "std::string const &""'");
265882  }
265883  arg2 = ptr;
265884  }
265885  {
265886  std::string *ptr = (std::string *)0;
265887  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
265888  if (!SWIG_IsOK(res3)) {
265889  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotInterface_SetData" "', argument " "3"" of type '" "std::string const &""'");
265890  }
265891  if (!ptr) {
265892  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_SetData" "', argument " "3"" of type '" "std::string const &""'");
265893  }
265894  arg3 = ptr;
265895  }
265896  {
265897  try {
265898  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
265899  }
265900  catch(CStdErrorInfo oError)
265901  {
265902  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265903  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
265904  PyErr_SetString(PyExc_IndexError, strError.c_str());
265905  SWIG_fail;
265906  }
265907  catch(...)
265908  {
265909  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
265910  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
265911  SWIG_fail;
265912  }
265913  }
265914  resultobj = SWIG_From_bool(static_cast< bool >(result));
265915  if (SWIG_IsNewObj(res2)) delete arg2;
265916  if (SWIG_IsNewObj(res3)) delete arg3;
265917  return resultobj;
265918 fail:
265919  if (SWIG_IsNewObj(res2)) delete arg2;
265920  if (SWIG_IsNewObj(res3)) delete arg3;
265921  return NULL;
265922 }
265923 
265924 
265925 SWIGINTERN PyObject *_wrap_RobotInterface_SetData(PyObject *self, PyObject *args) {
265926  int argc;
265927  PyObject *argv[5];
265928  int ii;
265929 
265930  if (!PyTuple_Check(args)) SWIG_fail;
265931  argc = args ? (int)PyObject_Length(args) : 0;
265932  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
265933  argv[ii] = PyTuple_GET_ITEM(args,ii);
265934  }
265935  if (argc == 3) {
265936  int _v;
265937  void *vptr = 0;
265938  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0);
265939  _v = SWIG_CheckState(res);
265940  if (_v) {
265941  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
265942  _v = SWIG_CheckState(res);
265943  if (_v) {
265944  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
265945  _v = SWIG_CheckState(res);
265946  if (_v) {
265947  return _wrap_RobotInterface_SetData__SWIG_1(self, args);
265948  }
265949  }
265950  }
265951  }
265952  if (argc == 4) {
265953  int _v;
265954  void *vptr = 0;
265955  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0);
265956  _v = SWIG_CheckState(res);
265957  if (_v) {
265958  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
265959  _v = SWIG_CheckState(res);
265960  if (_v) {
265961  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
265962  _v = SWIG_CheckState(res);
265963  if (_v) {
265964  {
265965  int res = SWIG_AsVal_bool(argv[3], NULL);
265966  _v = SWIG_CheckState(res);
265967  }
265968  if (_v) {
265969  return _wrap_RobotInterface_SetData__SWIG_0(self, args);
265970  }
265971  }
265972  }
265973  }
265974  }
265975 
265976 fail:
265977  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotInterface_SetData'.\n"
265978  " Possible C/C++ prototypes are:\n"
265979  " AnimatSim::Robotics::RobotInterface::SetData(std::string const &,std::string const &,bool)\n"
265980  " AnimatSim::Robotics::RobotInterface::SetData(std::string const &,std::string const &)\n");
265981  return 0;
265982 }
265983 
265984 
265985 SWIGINTERN PyObject *_wrap_RobotInterface_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
265986  PyObject *resultobj = 0;
265988  CStdPtrArray< TypeProperty > *arg2 = 0 ;
265989  void *argp1 = 0 ;
265990  int res1 = 0 ;
265991  void *argp2 = 0 ;
265992  int res2 = 0 ;
265993  PyObject * obj0 = 0 ;
265994  PyObject * obj1 = 0 ;
265995 
265996  if (!PyArg_ParseTuple(args,(char *)"OO:RobotInterface_QueryProperties",&obj0,&obj1)) SWIG_fail;
265997  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
265998  if (!SWIG_IsOK(res1)) {
265999  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
266000  }
266001  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
266002  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
266003  if (!SWIG_IsOK(res2)) {
266004  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotInterface_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
266005  }
266006  if (!argp2) {
266007  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
266008  }
266009  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
266010  {
266011  try {
266012  (arg1)->QueryProperties(*arg2);
266013  }
266014  catch(CStdErrorInfo oError)
266015  {
266016  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266017  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
266018  PyErr_SetString(PyExc_IndexError, strError.c_str());
266019  SWIG_fail;
266020  }
266021  catch(...)
266022  {
266023  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266024  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
266025  SWIG_fail;
266026  }
266027  }
266028  resultobj = SWIG_Py_Void();
266029  return resultobj;
266030 fail:
266031  return NULL;
266032 }
266033 
266034 
266035 SWIGINTERN PyObject *_wrap_RobotInterface_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266036  PyObject *resultobj = 0;
266038  std::string *arg2 = 0 ;
266039  std::string *arg3 = 0 ;
266040  bool arg4 ;
266041  bool arg5 ;
266042  void *argp1 = 0 ;
266043  int res1 = 0 ;
266044  int res2 = SWIG_OLDOBJ ;
266045  int res3 = SWIG_OLDOBJ ;
266046  bool val4 ;
266047  int ecode4 = 0 ;
266048  bool val5 ;
266049  int ecode5 = 0 ;
266050  PyObject * obj0 = 0 ;
266051  PyObject * obj1 = 0 ;
266052  PyObject * obj2 = 0 ;
266053  PyObject * obj3 = 0 ;
266054  PyObject * obj4 = 0 ;
266055  bool result;
266056 
266057  if (!PyArg_ParseTuple(args,(char *)"OOOOO:RobotInterface_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
266058  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
266059  if (!SWIG_IsOK(res1)) {
266060  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_AddItem" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
266061  }
266062  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
266063  {
266064  std::string *ptr = (std::string *)0;
266065  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
266066  if (!SWIG_IsOK(res2)) {
266067  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotInterface_AddItem" "', argument " "2"" of type '" "std::string const &""'");
266068  }
266069  if (!ptr) {
266070  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_AddItem" "', argument " "2"" of type '" "std::string const &""'");
266071  }
266072  arg2 = ptr;
266073  }
266074  {
266075  std::string *ptr = (std::string *)0;
266076  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
266077  if (!SWIG_IsOK(res3)) {
266078  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotInterface_AddItem" "', argument " "3"" of type '" "std::string const &""'");
266079  }
266080  if (!ptr) {
266081  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_AddItem" "', argument " "3"" of type '" "std::string const &""'");
266082  }
266083  arg3 = ptr;
266084  }
266085  ecode4 = SWIG_AsVal_bool(obj3, &val4);
266086  if (!SWIG_IsOK(ecode4)) {
266087  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RobotInterface_AddItem" "', argument " "4"" of type '" "bool""'");
266088  }
266089  arg4 = static_cast< bool >(val4);
266090  ecode5 = SWIG_AsVal_bool(obj4, &val5);
266091  if (!SWIG_IsOK(ecode5)) {
266092  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RobotInterface_AddItem" "', argument " "5"" of type '" "bool""'");
266093  }
266094  arg5 = static_cast< bool >(val5);
266095  {
266096  try {
266097  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
266098  }
266099  catch(CStdErrorInfo oError)
266100  {
266101  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266102  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
266103  PyErr_SetString(PyExc_IndexError, strError.c_str());
266104  SWIG_fail;
266105  }
266106  catch(...)
266107  {
266108  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266109  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
266110  SWIG_fail;
266111  }
266112  }
266113  resultobj = SWIG_From_bool(static_cast< bool >(result));
266114  if (SWIG_IsNewObj(res2)) delete arg2;
266115  if (SWIG_IsNewObj(res3)) delete arg3;
266116  return resultobj;
266117 fail:
266118  if (SWIG_IsNewObj(res2)) delete arg2;
266119  if (SWIG_IsNewObj(res3)) delete arg3;
266120  return NULL;
266121 }
266122 
266123 
266124 SWIGINTERN PyObject *_wrap_RobotInterface_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266125  PyObject *resultobj = 0;
266127  std::string *arg2 = 0 ;
266128  std::string *arg3 = 0 ;
266129  bool arg4 ;
266130  void *argp1 = 0 ;
266131  int res1 = 0 ;
266132  int res2 = SWIG_OLDOBJ ;
266133  int res3 = SWIG_OLDOBJ ;
266134  bool val4 ;
266135  int ecode4 = 0 ;
266136  PyObject * obj0 = 0 ;
266137  PyObject * obj1 = 0 ;
266138  PyObject * obj2 = 0 ;
266139  PyObject * obj3 = 0 ;
266140  bool result;
266141 
266142  if (!PyArg_ParseTuple(args,(char *)"OOOO:RobotInterface_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
266143  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
266144  if (!SWIG_IsOK(res1)) {
266145  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_AddItem" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
266146  }
266147  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
266148  {
266149  std::string *ptr = (std::string *)0;
266150  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
266151  if (!SWIG_IsOK(res2)) {
266152  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotInterface_AddItem" "', argument " "2"" of type '" "std::string const &""'");
266153  }
266154  if (!ptr) {
266155  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_AddItem" "', argument " "2"" of type '" "std::string const &""'");
266156  }
266157  arg2 = ptr;
266158  }
266159  {
266160  std::string *ptr = (std::string *)0;
266161  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
266162  if (!SWIG_IsOK(res3)) {
266163  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotInterface_AddItem" "', argument " "3"" of type '" "std::string const &""'");
266164  }
266165  if (!ptr) {
266166  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_AddItem" "', argument " "3"" of type '" "std::string const &""'");
266167  }
266168  arg3 = ptr;
266169  }
266170  ecode4 = SWIG_AsVal_bool(obj3, &val4);
266171  if (!SWIG_IsOK(ecode4)) {
266172  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RobotInterface_AddItem" "', argument " "4"" of type '" "bool""'");
266173  }
266174  arg4 = static_cast< bool >(val4);
266175  {
266176  try {
266177  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
266178  }
266179  catch(CStdErrorInfo oError)
266180  {
266181  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266182  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
266183  PyErr_SetString(PyExc_IndexError, strError.c_str());
266184  SWIG_fail;
266185  }
266186  catch(...)
266187  {
266188  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266189  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
266190  SWIG_fail;
266191  }
266192  }
266193  resultobj = SWIG_From_bool(static_cast< bool >(result));
266194  if (SWIG_IsNewObj(res2)) delete arg2;
266195  if (SWIG_IsNewObj(res3)) delete arg3;
266196  return resultobj;
266197 fail:
266198  if (SWIG_IsNewObj(res2)) delete arg2;
266199  if (SWIG_IsNewObj(res3)) delete arg3;
266200  return NULL;
266201 }
266202 
266203 
266204 SWIGINTERN PyObject *_wrap_RobotInterface_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266205  PyObject *resultobj = 0;
266207  std::string *arg2 = 0 ;
266208  std::string *arg3 = 0 ;
266209  void *argp1 = 0 ;
266210  int res1 = 0 ;
266211  int res2 = SWIG_OLDOBJ ;
266212  int res3 = SWIG_OLDOBJ ;
266213  PyObject * obj0 = 0 ;
266214  PyObject * obj1 = 0 ;
266215  PyObject * obj2 = 0 ;
266216  bool result;
266217 
266218  if (!PyArg_ParseTuple(args,(char *)"OOO:RobotInterface_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
266219  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
266220  if (!SWIG_IsOK(res1)) {
266221  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_AddItem" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
266222  }
266223  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
266224  {
266225  std::string *ptr = (std::string *)0;
266226  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
266227  if (!SWIG_IsOK(res2)) {
266228  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotInterface_AddItem" "', argument " "2"" of type '" "std::string const &""'");
266229  }
266230  if (!ptr) {
266231  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_AddItem" "', argument " "2"" of type '" "std::string const &""'");
266232  }
266233  arg2 = ptr;
266234  }
266235  {
266236  std::string *ptr = (std::string *)0;
266237  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
266238  if (!SWIG_IsOK(res3)) {
266239  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotInterface_AddItem" "', argument " "3"" of type '" "std::string const &""'");
266240  }
266241  if (!ptr) {
266242  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_AddItem" "', argument " "3"" of type '" "std::string const &""'");
266243  }
266244  arg3 = ptr;
266245  }
266246  {
266247  try {
266248  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
266249  }
266250  catch(CStdErrorInfo oError)
266251  {
266252  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266253  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
266254  PyErr_SetString(PyExc_IndexError, strError.c_str());
266255  SWIG_fail;
266256  }
266257  catch(...)
266258  {
266259  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266260  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
266261  SWIG_fail;
266262  }
266263  }
266264  resultobj = SWIG_From_bool(static_cast< bool >(result));
266265  if (SWIG_IsNewObj(res2)) delete arg2;
266266  if (SWIG_IsNewObj(res3)) delete arg3;
266267  return resultobj;
266268 fail:
266269  if (SWIG_IsNewObj(res2)) delete arg2;
266270  if (SWIG_IsNewObj(res3)) delete arg3;
266271  return NULL;
266272 }
266273 
266274 
266275 SWIGINTERN PyObject *_wrap_RobotInterface_AddItem(PyObject *self, PyObject *args) {
266276  int argc;
266277  PyObject *argv[6];
266278  int ii;
266279 
266280  if (!PyTuple_Check(args)) SWIG_fail;
266281  argc = args ? (int)PyObject_Length(args) : 0;
266282  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
266283  argv[ii] = PyTuple_GET_ITEM(args,ii);
266284  }
266285  if (argc == 3) {
266286  int _v;
266287  void *vptr = 0;
266288  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0);
266289  _v = SWIG_CheckState(res);
266290  if (_v) {
266291  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
266292  _v = SWIG_CheckState(res);
266293  if (_v) {
266294  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
266295  _v = SWIG_CheckState(res);
266296  if (_v) {
266297  return _wrap_RobotInterface_AddItem__SWIG_2(self, args);
266298  }
266299  }
266300  }
266301  }
266302  if (argc == 4) {
266303  int _v;
266304  void *vptr = 0;
266305  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0);
266306  _v = SWIG_CheckState(res);
266307  if (_v) {
266308  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
266309  _v = SWIG_CheckState(res);
266310  if (_v) {
266311  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
266312  _v = SWIG_CheckState(res);
266313  if (_v) {
266314  {
266315  int res = SWIG_AsVal_bool(argv[3], NULL);
266316  _v = SWIG_CheckState(res);
266317  }
266318  if (_v) {
266319  return _wrap_RobotInterface_AddItem__SWIG_1(self, args);
266320  }
266321  }
266322  }
266323  }
266324  }
266325  if (argc == 5) {
266326  int _v;
266327  void *vptr = 0;
266328  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0);
266329  _v = SWIG_CheckState(res);
266330  if (_v) {
266331  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
266332  _v = SWIG_CheckState(res);
266333  if (_v) {
266334  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
266335  _v = SWIG_CheckState(res);
266336  if (_v) {
266337  {
266338  int res = SWIG_AsVal_bool(argv[3], NULL);
266339  _v = SWIG_CheckState(res);
266340  }
266341  if (_v) {
266342  {
266343  int res = SWIG_AsVal_bool(argv[4], NULL);
266344  _v = SWIG_CheckState(res);
266345  }
266346  if (_v) {
266347  return _wrap_RobotInterface_AddItem__SWIG_0(self, args);
266348  }
266349  }
266350  }
266351  }
266352  }
266353  }
266354 
266355 fail:
266356  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotInterface_AddItem'.\n"
266357  " Possible C/C++ prototypes are:\n"
266358  " AnimatSim::Robotics::RobotInterface::AddItem(std::string const &,std::string const &,bool,bool)\n"
266359  " AnimatSim::Robotics::RobotInterface::AddItem(std::string const &,std::string const &,bool)\n"
266360  " AnimatSim::Robotics::RobotInterface::AddItem(std::string const &,std::string const &)\n");
266361  return 0;
266362 }
266363 
266364 
266365 SWIGINTERN PyObject *_wrap_RobotInterface_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266366  PyObject *resultobj = 0;
266368  std::string *arg2 = 0 ;
266369  std::string *arg3 = 0 ;
266370  bool arg4 ;
266371  void *argp1 = 0 ;
266372  int res1 = 0 ;
266373  int res2 = SWIG_OLDOBJ ;
266374  int res3 = SWIG_OLDOBJ ;
266375  bool val4 ;
266376  int ecode4 = 0 ;
266377  PyObject * obj0 = 0 ;
266378  PyObject * obj1 = 0 ;
266379  PyObject * obj2 = 0 ;
266380  PyObject * obj3 = 0 ;
266381  bool result;
266382 
266383  if (!PyArg_ParseTuple(args,(char *)"OOOO:RobotInterface_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
266384  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
266385  if (!SWIG_IsOK(res1)) {
266386  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
266387  }
266388  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
266389  {
266390  std::string *ptr = (std::string *)0;
266391  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
266392  if (!SWIG_IsOK(res2)) {
266393  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotInterface_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
266394  }
266395  if (!ptr) {
266396  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
266397  }
266398  arg2 = ptr;
266399  }
266400  {
266401  std::string *ptr = (std::string *)0;
266402  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
266403  if (!SWIG_IsOK(res3)) {
266404  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotInterface_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
266405  }
266406  if (!ptr) {
266407  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
266408  }
266409  arg3 = ptr;
266410  }
266411  ecode4 = SWIG_AsVal_bool(obj3, &val4);
266412  if (!SWIG_IsOK(ecode4)) {
266413  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RobotInterface_RemoveItem" "', argument " "4"" of type '" "bool""'");
266414  }
266415  arg4 = static_cast< bool >(val4);
266416  {
266417  try {
266418  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
266419  }
266420  catch(CStdErrorInfo oError)
266421  {
266422  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266423  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
266424  PyErr_SetString(PyExc_IndexError, strError.c_str());
266425  SWIG_fail;
266426  }
266427  catch(...)
266428  {
266429  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266430  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
266431  SWIG_fail;
266432  }
266433  }
266434  resultobj = SWIG_From_bool(static_cast< bool >(result));
266435  if (SWIG_IsNewObj(res2)) delete arg2;
266436  if (SWIG_IsNewObj(res3)) delete arg3;
266437  return resultobj;
266438 fail:
266439  if (SWIG_IsNewObj(res2)) delete arg2;
266440  if (SWIG_IsNewObj(res3)) delete arg3;
266441  return NULL;
266442 }
266443 
266444 
266445 SWIGINTERN PyObject *_wrap_RobotInterface_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266446  PyObject *resultobj = 0;
266448  std::string *arg2 = 0 ;
266449  std::string *arg3 = 0 ;
266450  void *argp1 = 0 ;
266451  int res1 = 0 ;
266452  int res2 = SWIG_OLDOBJ ;
266453  int res3 = SWIG_OLDOBJ ;
266454  PyObject * obj0 = 0 ;
266455  PyObject * obj1 = 0 ;
266456  PyObject * obj2 = 0 ;
266457  bool result;
266458 
266459  if (!PyArg_ParseTuple(args,(char *)"OOO:RobotInterface_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
266460  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
266461  if (!SWIG_IsOK(res1)) {
266462  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
266463  }
266464  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
266465  {
266466  std::string *ptr = (std::string *)0;
266467  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
266468  if (!SWIG_IsOK(res2)) {
266469  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotInterface_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
266470  }
266471  if (!ptr) {
266472  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
266473  }
266474  arg2 = ptr;
266475  }
266476  {
266477  std::string *ptr = (std::string *)0;
266478  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
266479  if (!SWIG_IsOK(res3)) {
266480  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotInterface_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
266481  }
266482  if (!ptr) {
266483  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
266484  }
266485  arg3 = ptr;
266486  }
266487  {
266488  try {
266489  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
266490  }
266491  catch(CStdErrorInfo oError)
266492  {
266493  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266494  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
266495  PyErr_SetString(PyExc_IndexError, strError.c_str());
266496  SWIG_fail;
266497  }
266498  catch(...)
266499  {
266500  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266501  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
266502  SWIG_fail;
266503  }
266504  }
266505  resultobj = SWIG_From_bool(static_cast< bool >(result));
266506  if (SWIG_IsNewObj(res2)) delete arg2;
266507  if (SWIG_IsNewObj(res3)) delete arg3;
266508  return resultobj;
266509 fail:
266510  if (SWIG_IsNewObj(res2)) delete arg2;
266511  if (SWIG_IsNewObj(res3)) delete arg3;
266512  return NULL;
266513 }
266514 
266515 
266516 SWIGINTERN PyObject *_wrap_RobotInterface_RemoveItem(PyObject *self, PyObject *args) {
266517  int argc;
266518  PyObject *argv[5];
266519  int ii;
266520 
266521  if (!PyTuple_Check(args)) SWIG_fail;
266522  argc = args ? (int)PyObject_Length(args) : 0;
266523  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
266524  argv[ii] = PyTuple_GET_ITEM(args,ii);
266525  }
266526  if (argc == 3) {
266527  int _v;
266528  void *vptr = 0;
266529  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0);
266530  _v = SWIG_CheckState(res);
266531  if (_v) {
266532  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
266533  _v = SWIG_CheckState(res);
266534  if (_v) {
266535  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
266536  _v = SWIG_CheckState(res);
266537  if (_v) {
266538  return _wrap_RobotInterface_RemoveItem__SWIG_1(self, args);
266539  }
266540  }
266541  }
266542  }
266543  if (argc == 4) {
266544  int _v;
266545  void *vptr = 0;
266546  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0);
266547  _v = SWIG_CheckState(res);
266548  if (_v) {
266549  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
266550  _v = SWIG_CheckState(res);
266551  if (_v) {
266552  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
266553  _v = SWIG_CheckState(res);
266554  if (_v) {
266555  {
266556  int res = SWIG_AsVal_bool(argv[3], NULL);
266557  _v = SWIG_CheckState(res);
266558  }
266559  if (_v) {
266560  return _wrap_RobotInterface_RemoveItem__SWIG_0(self, args);
266561  }
266562  }
266563  }
266564  }
266565  }
266566 
266567 fail:
266568  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotInterface_RemoveItem'.\n"
266569  " Possible C/C++ prototypes are:\n"
266570  " AnimatSim::Robotics::RobotInterface::RemoveItem(std::string const &,std::string const &,bool)\n"
266571  " AnimatSim::Robotics::RobotInterface::RemoveItem(std::string const &,std::string const &)\n");
266572  return 0;
266573 }
266574 
266575 
266576 SWIGINTERN PyObject *_wrap_RobotInterface_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266577  PyObject *resultobj = 0;
266579  void *argp1 = 0 ;
266580  int res1 = 0 ;
266581  PyObject * obj0 = 0 ;
266582 
266583  if (!PyArg_ParseTuple(args,(char *)"O:RobotInterface_Initialize",&obj0)) SWIG_fail;
266584  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
266585  if (!SWIG_IsOK(res1)) {
266586  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_Initialize" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
266587  }
266588  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
266589  {
266590  try {
266591  (arg1)->Initialize();
266592  }
266593  catch(CStdErrorInfo oError)
266594  {
266595  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266596  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
266597  PyErr_SetString(PyExc_IndexError, strError.c_str());
266598  SWIG_fail;
266599  }
266600  catch(...)
266601  {
266602  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266603  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
266604  SWIG_fail;
266605  }
266606  }
266607  resultobj = SWIG_Py_Void();
266608  return resultobj;
266609 fail:
266610  return NULL;
266611 }
266612 
266613 
266614 SWIGINTERN PyObject *_wrap_RobotInterface_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266615  PyObject *resultobj = 0;
266617  void *argp1 = 0 ;
266618  int res1 = 0 ;
266619  PyObject * obj0 = 0 ;
266620 
266621  if (!PyArg_ParseTuple(args,(char *)"O:RobotInterface_StepSimulation",&obj0)) SWIG_fail;
266622  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
266623  if (!SWIG_IsOK(res1)) {
266624  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
266625  }
266626  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
266627  {
266628  try {
266629  (arg1)->StepSimulation();
266630  }
266631  catch(CStdErrorInfo oError)
266632  {
266633  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266634  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
266635  PyErr_SetString(PyExc_IndexError, strError.c_str());
266636  SWIG_fail;
266637  }
266638  catch(...)
266639  {
266640  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266641  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
266642  SWIG_fail;
266643  }
266644  }
266645  resultobj = SWIG_Py_Void();
266646  return resultobj;
266647 fail:
266648  return NULL;
266649 }
266650 
266651 
266652 SWIGINTERN PyObject *_wrap_RobotInterface_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266653  PyObject *resultobj = 0;
266655  void *argp1 = 0 ;
266656  int res1 = 0 ;
266657  PyObject * obj0 = 0 ;
266658 
266659  if (!PyArg_ParseTuple(args,(char *)"O:RobotInterface_ResetSimulation",&obj0)) SWIG_fail;
266660  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
266661  if (!SWIG_IsOK(res1)) {
266662  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
266663  }
266664  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
266665  {
266666  try {
266667  (arg1)->ResetSimulation();
266668  }
266669  catch(CStdErrorInfo oError)
266670  {
266671  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266672  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
266673  PyErr_SetString(PyExc_IndexError, strError.c_str());
266674  SWIG_fail;
266675  }
266676  catch(...)
266677  {
266678  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266679  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
266680  SWIG_fail;
266681  }
266682  }
266683  resultobj = SWIG_Py_Void();
266684  return resultobj;
266685 fail:
266686  return NULL;
266687 }
266688 
266689 
266690 SWIGINTERN PyObject *_wrap_RobotInterface_AfterResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266691  PyObject *resultobj = 0;
266693  void *argp1 = 0 ;
266694  int res1 = 0 ;
266695  PyObject * obj0 = 0 ;
266696 
266697  if (!PyArg_ParseTuple(args,(char *)"O:RobotInterface_AfterResetSimulation",&obj0)) SWIG_fail;
266698  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
266699  if (!SWIG_IsOK(res1)) {
266700  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_AfterResetSimulation" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
266701  }
266702  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
266703  {
266704  try {
266705  (arg1)->AfterResetSimulation();
266706  }
266707  catch(CStdErrorInfo oError)
266708  {
266709  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266710  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
266711  PyErr_SetString(PyExc_IndexError, strError.c_str());
266712  SWIG_fail;
266713  }
266714  catch(...)
266715  {
266716  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266717  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
266718  SWIG_fail;
266719  }
266720  }
266721  resultobj = SWIG_Py_Void();
266722  return resultobj;
266723 fail:
266724  return NULL;
266725 }
266726 
266727 
266728 SWIGINTERN PyObject *_wrap_RobotInterface_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266729  PyObject *resultobj = 0;
266731  StdUtils::CStdXml *arg2 = 0 ;
266732  void *argp1 = 0 ;
266733  int res1 = 0 ;
266734  void *argp2 = 0 ;
266735  int res2 = 0 ;
266736  PyObject * obj0 = 0 ;
266737  PyObject * obj1 = 0 ;
266738 
266739  if (!PyArg_ParseTuple(args,(char *)"OO:RobotInterface_Load",&obj0,&obj1)) SWIG_fail;
266740  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
266741  if (!SWIG_IsOK(res1)) {
266742  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotInterface_Load" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
266743  }
266744  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp1);
266745  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
266746  if (!SWIG_IsOK(res2)) {
266747  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotInterface_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
266748  }
266749  if (!argp2) {
266750  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotInterface_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
266751  }
266752  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
266753  {
266754  try {
266755  (arg1)->Load(*arg2);
266756  }
266757  catch(CStdErrorInfo oError)
266758  {
266759  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266760  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
266761  PyErr_SetString(PyExc_IndexError, strError.c_str());
266762  SWIG_fail;
266763  }
266764  catch(...)
266765  {
266766  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266767  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
266768  SWIG_fail;
266769  }
266770  }
266771  resultobj = SWIG_Py_Void();
266772  return resultobj;
266773 fail:
266774  return NULL;
266775 }
266776 
266777 
266778 SWIGINTERN PyObject *RobotInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266779  PyObject *obj;
266780  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
266781  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, SWIG_NewClientData(obj));
266782  return SWIG_Py_Void();
266783 }
266784 
266785 SWIGINTERN PyObject *_wrap_delete_RobotIOControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266786  PyObject *resultobj = 0;
266788  void *argp1 = 0 ;
266789  int res1 = 0 ;
266790  PyObject * obj0 = 0 ;
266791 
266792  if (!PyArg_ParseTuple(args,(char *)"O:delete_RobotIOControl",&obj0)) SWIG_fail;
266793  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, SWIG_POINTER_DISOWN | 0 );
266794  if (!SWIG_IsOK(res1)) {
266795  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RobotIOControl" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
266796  }
266797  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
266798  {
266799  try {
266800  delete arg1;
266801  }
266802  catch(CStdErrorInfo oError)
266803  {
266804  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266805  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
266806  PyErr_SetString(PyExc_IndexError, strError.c_str());
266807  SWIG_fail;
266808  }
266809  catch(...)
266810  {
266811  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266812  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
266813  SWIG_fail;
266814  }
266815  }
266816  resultobj = SWIG_Py_Void();
266817  return resultobj;
266818 fail:
266819  return NULL;
266820 }
266821 
266822 
266823 SWIGINTERN PyObject *_wrap_RobotIOControl_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266824  PyObject *resultobj = 0;
266826  void *argp1 = 0 ;
266827  int res1 = 0 ;
266828  PyObject * obj0 = 0 ;
266830 
266831  if (!PyArg_ParseTuple(args,(char *)"O:RobotIOControl_CastToDerived",&obj0)) SWIG_fail;
266832  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
266833  if (!SWIG_IsOK(res1)) {
266834  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
266835  }
266836  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
266837  {
266838  try {
266839  result = (AnimatSim::Robotics::RobotIOControl *)AnimatSim::Robotics::RobotIOControl::CastToDerived(arg1);
266840  }
266841  catch(CStdErrorInfo oError)
266842  {
266843  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266844  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
266845  PyErr_SetString(PyExc_IndexError, strError.c_str());
266846  SWIG_fail;
266847  }
266848  catch(...)
266849  {
266850  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266851  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
266852  SWIG_fail;
266853  }
266854  }
266855  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
266856  return resultobj;
266857 fail:
266858  return NULL;
266859 }
266860 
266861 
266862 SWIGINTERN PyObject *_wrap_RobotIOControl_ParentInterface__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266863  PyObject *resultobj = 0;
266866  void *argp1 = 0 ;
266867  int res1 = 0 ;
266868  void *argp2 = 0 ;
266869  int res2 = 0 ;
266870  PyObject * obj0 = 0 ;
266871  PyObject * obj1 = 0 ;
266872 
266873  if (!PyArg_ParseTuple(args,(char *)"OO:RobotIOControl_ParentInterface",&obj0,&obj1)) SWIG_fail;
266874  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
266875  if (!SWIG_IsOK(res1)) {
266876  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_ParentInterface" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
266877  }
266878  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
266879  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
266880  if (!SWIG_IsOK(res2)) {
266881  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotIOControl_ParentInterface" "', argument " "2"" of type '" "AnimatSim::Robotics::RobotInterface *""'");
266882  }
266883  arg2 = reinterpret_cast< AnimatSim::Robotics::RobotInterface * >(argp2);
266884  {
266885  try {
266886  (arg1)->ParentInterface(arg2);
266887  }
266888  catch(CStdErrorInfo oError)
266889  {
266890  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266891  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
266892  PyErr_SetString(PyExc_IndexError, strError.c_str());
266893  SWIG_fail;
266894  }
266895  catch(...)
266896  {
266897  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266898  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
266899  SWIG_fail;
266900  }
266901  }
266902  resultobj = SWIG_Py_Void();
266903  return resultobj;
266904 fail:
266905  return NULL;
266906 }
266907 
266908 
266909 SWIGINTERN PyObject *_wrap_RobotIOControl_ParentInterface__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266910  PyObject *resultobj = 0;
266912  void *argp1 = 0 ;
266913  int res1 = 0 ;
266914  PyObject * obj0 = 0 ;
266916 
266917  if (!PyArg_ParseTuple(args,(char *)"O:RobotIOControl_ParentInterface",&obj0)) SWIG_fail;
266918  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
266919  if (!SWIG_IsOK(res1)) {
266920  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_ParentInterface" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
266921  }
266922  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
266923  {
266924  try {
266925  result = (AnimatSim::Robotics::RobotInterface *)(arg1)->ParentInterface();
266926  }
266927  catch(CStdErrorInfo oError)
266928  {
266929  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266930  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
266931  PyErr_SetString(PyExc_IndexError, strError.c_str());
266932  SWIG_fail;
266933  }
266934  catch(...)
266935  {
266936  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
266937  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
266938  SWIG_fail;
266939  }
266940  }
266941  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0 | 0 );
266942  return resultobj;
266943 fail:
266944  return NULL;
266945 }
266946 
266947 
266948 SWIGINTERN PyObject *_wrap_RobotIOControl_ParentInterface(PyObject *self, PyObject *args) {
266949  int argc;
266950  PyObject *argv[3];
266951  int ii;
266952 
266953  if (!PyTuple_Check(args)) SWIG_fail;
266954  argc = args ? (int)PyObject_Length(args) : 0;
266955  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
266956  argv[ii] = PyTuple_GET_ITEM(args,ii);
266957  }
266958  if (argc == 1) {
266959  int _v;
266960  void *vptr = 0;
266961  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0);
266962  _v = SWIG_CheckState(res);
266963  if (_v) {
266964  return _wrap_RobotIOControl_ParentInterface__SWIG_1(self, args);
266965  }
266966  }
266967  if (argc == 2) {
266968  int _v;
266969  void *vptr = 0;
266970  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0);
266971  _v = SWIG_CheckState(res);
266972  if (_v) {
266973  void *vptr = 0;
266974  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotInterface, 0);
266975  _v = SWIG_CheckState(res);
266976  if (_v) {
266977  return _wrap_RobotIOControl_ParentInterface__SWIG_0(self, args);
266978  }
266979  }
266980  }
266981 
266982 fail:
266983  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotIOControl_ParentInterface'.\n"
266984  " Possible C/C++ prototypes are:\n"
266985  " AnimatSim::Robotics::RobotIOControl::ParentInterface(AnimatSim::Robotics::RobotInterface *)\n"
266986  " AnimatSim::Robotics::RobotIOControl::ParentInterface()\n");
266987  return 0;
266988 }
266989 
266990 
266991 SWIGINTERN PyObject *_wrap_RobotIOControl_Parts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
266992  PyObject *resultobj = 0;
266994  void *argp1 = 0 ;
266995  int res1 = 0 ;
266996  PyObject * obj0 = 0 ;
266997  CStdPtrArray< RobotPartInterface > *result = 0 ;
266998 
266999  if (!PyArg_ParseTuple(args,(char *)"O:RobotIOControl_Parts",&obj0)) SWIG_fail;
267000  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
267001  if (!SWIG_IsOK(res1)) {
267002  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_Parts" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
267003  }
267004  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
267005  {
267006  try {
267007  result = (CStdPtrArray< RobotPartInterface > *)(arg1)->Parts();
267008  }
267009  catch(CStdErrorInfo oError)
267010  {
267011  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267012  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
267013  PyErr_SetString(PyExc_IndexError, strError.c_str());
267014  SWIG_fail;
267015  }
267016  catch(...)
267017  {
267018  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267019  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
267020  SWIG_fail;
267021  }
267022  }
267023  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t, 0 | 0 );
267024  return resultobj;
267025 fail:
267026  return NULL;
267027 }
267028 
267029 
267030 SWIGINTERN PyObject *_wrap_RobotIOControl_PauseIO__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
267031  PyObject *resultobj = 0;
267033  bool arg2 ;
267034  void *argp1 = 0 ;
267035  int res1 = 0 ;
267036  bool val2 ;
267037  int ecode2 = 0 ;
267038  PyObject * obj0 = 0 ;
267039  PyObject * obj1 = 0 ;
267040 
267041  if (!PyArg_ParseTuple(args,(char *)"OO:RobotIOControl_PauseIO",&obj0,&obj1)) SWIG_fail;
267042  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
267043  if (!SWIG_IsOK(res1)) {
267044  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_PauseIO" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
267045  }
267046  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
267047  ecode2 = SWIG_AsVal_bool(obj1, &val2);
267048  if (!SWIG_IsOK(ecode2)) {
267049  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RobotIOControl_PauseIO" "', argument " "2"" of type '" "bool""'");
267050  }
267051  arg2 = static_cast< bool >(val2);
267052  {
267053  try {
267054  (arg1)->PauseIO(arg2);
267055  }
267056  catch(CStdErrorInfo oError)
267057  {
267058  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267059  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
267060  PyErr_SetString(PyExc_IndexError, strError.c_str());
267061  SWIG_fail;
267062  }
267063  catch(...)
267064  {
267065  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267066  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
267067  SWIG_fail;
267068  }
267069  }
267070  resultobj = SWIG_Py_Void();
267071  return resultobj;
267072 fail:
267073  return NULL;
267074 }
267075 
267076 
267077 SWIGINTERN PyObject *_wrap_RobotIOControl_PauseIO__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
267078  PyObject *resultobj = 0;
267080  void *argp1 = 0 ;
267081  int res1 = 0 ;
267082  PyObject * obj0 = 0 ;
267083  bool result;
267084 
267085  if (!PyArg_ParseTuple(args,(char *)"O:RobotIOControl_PauseIO",&obj0)) SWIG_fail;
267086  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
267087  if (!SWIG_IsOK(res1)) {
267088  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_PauseIO" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
267089  }
267090  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
267091  {
267092  try {
267093  result = (bool)(arg1)->PauseIO();
267094  }
267095  catch(CStdErrorInfo oError)
267096  {
267097  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267098  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
267099  PyErr_SetString(PyExc_IndexError, strError.c_str());
267100  SWIG_fail;
267101  }
267102  catch(...)
267103  {
267104  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267105  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
267106  SWIG_fail;
267107  }
267108  }
267109  resultobj = SWIG_From_bool(static_cast< bool >(result));
267110  return resultobj;
267111 fail:
267112  return NULL;
267113 }
267114 
267115 
267116 SWIGINTERN PyObject *_wrap_RobotIOControl_PauseIO(PyObject *self, PyObject *args) {
267117  int argc;
267118  PyObject *argv[3];
267119  int ii;
267120 
267121  if (!PyTuple_Check(args)) SWIG_fail;
267122  argc = args ? (int)PyObject_Length(args) : 0;
267123  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
267124  argv[ii] = PyTuple_GET_ITEM(args,ii);
267125  }
267126  if (argc == 1) {
267127  int _v;
267128  void *vptr = 0;
267129  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0);
267130  _v = SWIG_CheckState(res);
267131  if (_v) {
267132  return _wrap_RobotIOControl_PauseIO__SWIG_1(self, args);
267133  }
267134  }
267135  if (argc == 2) {
267136  int _v;
267137  void *vptr = 0;
267138  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0);
267139  _v = SWIG_CheckState(res);
267140  if (_v) {
267141  {
267142  int res = SWIG_AsVal_bool(argv[1], NULL);
267143  _v = SWIG_CheckState(res);
267144  }
267145  if (_v) {
267146  return _wrap_RobotIOControl_PauseIO__SWIG_0(self, args);
267147  }
267148  }
267149  }
267150 
267151 fail:
267152  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotIOControl_PauseIO'.\n"
267153  " Possible C/C++ prototypes are:\n"
267154  " AnimatSim::Robotics::RobotIOControl::PauseIO(bool)\n"
267155  " AnimatSim::Robotics::RobotIOControl::PauseIO()\n");
267156  return 0;
267157 }
267158 
267159 
267160 SWIGINTERN PyObject *_wrap_RobotIOControl_IOPaused(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
267161  PyObject *resultobj = 0;
267163  void *argp1 = 0 ;
267164  int res1 = 0 ;
267165  PyObject * obj0 = 0 ;
267166  bool result;
267167 
267168  if (!PyArg_ParseTuple(args,(char *)"O:RobotIOControl_IOPaused",&obj0)) SWIG_fail;
267169  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
267170  if (!SWIG_IsOK(res1)) {
267171  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_IOPaused" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
267172  }
267173  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
267174  {
267175  try {
267176  result = (bool)(arg1)->IOPaused();
267177  }
267178  catch(CStdErrorInfo oError)
267179  {
267180  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267181  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
267182  PyErr_SetString(PyExc_IndexError, strError.c_str());
267183  SWIG_fail;
267184  }
267185  catch(...)
267186  {
267187  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267188  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
267189  SWIG_fail;
267190  }
267191  }
267192  resultobj = SWIG_From_bool(static_cast< bool >(result));
267193  return resultobj;
267194 fail:
267195  return NULL;
267196 }
267197 
267198 
267199 SWIGINTERN PyObject *_wrap_RobotIOControl_StepIODuration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
267200  PyObject *resultobj = 0;
267202  void *argp1 = 0 ;
267203  int res1 = 0 ;
267204  PyObject * obj0 = 0 ;
267205  float result;
267206 
267207  if (!PyArg_ParseTuple(args,(char *)"O:RobotIOControl_StepIODuration",&obj0)) SWIG_fail;
267208  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
267209  if (!SWIG_IsOK(res1)) {
267210  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_StepIODuration" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
267211  }
267212  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
267213  {
267214  try {
267215  result = (float)(arg1)->StepIODuration();
267216  }
267217  catch(CStdErrorInfo oError)
267218  {
267219  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267220  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
267221  PyErr_SetString(PyExc_IndexError, strError.c_str());
267222  SWIG_fail;
267223  }
267224  catch(...)
267225  {
267226  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267227  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
267228  SWIG_fail;
267229  }
267230  }
267231  resultobj = SWIG_From_float(static_cast< float >(result));
267232  return resultobj;
267233 fail:
267234  return NULL;
267235 }
267236 
267237 
267238 SWIGINTERN PyObject *_wrap_RobotIOControl_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
267239  PyObject *resultobj = 0;
267241  std::string *arg2 = 0 ;
267242  void *argp1 = 0 ;
267243  int res1 = 0 ;
267244  int res2 = SWIG_OLDOBJ ;
267245  PyObject * obj0 = 0 ;
267246  PyObject * obj1 = 0 ;
267247  float *result = 0 ;
267248 
267249  if (!PyArg_ParseTuple(args,(char *)"OO:RobotIOControl_GetDataPointer",&obj0,&obj1)) SWIG_fail;
267250  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
267251  if (!SWIG_IsOK(res1)) {
267252  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
267253  }
267254  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
267255  {
267256  std::string *ptr = (std::string *)0;
267257  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
267258  if (!SWIG_IsOK(res2)) {
267259  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotIOControl_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
267260  }
267261  if (!ptr) {
267262  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
267263  }
267264  arg2 = ptr;
267265  }
267266  {
267267  try {
267268  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
267269  }
267270  catch(CStdErrorInfo oError)
267271  {
267272  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267273  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
267274  PyErr_SetString(PyExc_IndexError, strError.c_str());
267275  SWIG_fail;
267276  }
267277  catch(...)
267278  {
267279  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267280  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
267281  SWIG_fail;
267282  }
267283  }
267284  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
267285  if (SWIG_IsNewObj(res2)) delete arg2;
267286  return resultobj;
267287 fail:
267288  if (SWIG_IsNewObj(res2)) delete arg2;
267289  return NULL;
267290 }
267291 
267292 
267293 SWIGINTERN PyObject *_wrap_RobotIOControl_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
267294  PyObject *resultobj = 0;
267296  std::string *arg2 = 0 ;
267297  std::string *arg3 = 0 ;
267298  bool arg4 ;
267299  void *argp1 = 0 ;
267300  int res1 = 0 ;
267301  int res2 = SWIG_OLDOBJ ;
267302  int res3 = SWIG_OLDOBJ ;
267303  bool val4 ;
267304  int ecode4 = 0 ;
267305  PyObject * obj0 = 0 ;
267306  PyObject * obj1 = 0 ;
267307  PyObject * obj2 = 0 ;
267308  PyObject * obj3 = 0 ;
267309  bool result;
267310 
267311  if (!PyArg_ParseTuple(args,(char *)"OOOO:RobotIOControl_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
267312  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
267313  if (!SWIG_IsOK(res1)) {
267314  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_SetData" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
267315  }
267316  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
267317  {
267318  std::string *ptr = (std::string *)0;
267319  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
267320  if (!SWIG_IsOK(res2)) {
267321  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotIOControl_SetData" "', argument " "2"" of type '" "std::string const &""'");
267322  }
267323  if (!ptr) {
267324  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_SetData" "', argument " "2"" of type '" "std::string const &""'");
267325  }
267326  arg2 = ptr;
267327  }
267328  {
267329  std::string *ptr = (std::string *)0;
267330  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
267331  if (!SWIG_IsOK(res3)) {
267332  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotIOControl_SetData" "', argument " "3"" of type '" "std::string const &""'");
267333  }
267334  if (!ptr) {
267335  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_SetData" "', argument " "3"" of type '" "std::string const &""'");
267336  }
267337  arg3 = ptr;
267338  }
267339  ecode4 = SWIG_AsVal_bool(obj3, &val4);
267340  if (!SWIG_IsOK(ecode4)) {
267341  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RobotIOControl_SetData" "', argument " "4"" of type '" "bool""'");
267342  }
267343  arg4 = static_cast< bool >(val4);
267344  {
267345  try {
267346  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
267347  }
267348  catch(CStdErrorInfo oError)
267349  {
267350  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267351  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
267352  PyErr_SetString(PyExc_IndexError, strError.c_str());
267353  SWIG_fail;
267354  }
267355  catch(...)
267356  {
267357  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267358  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
267359  SWIG_fail;
267360  }
267361  }
267362  resultobj = SWIG_From_bool(static_cast< bool >(result));
267363  if (SWIG_IsNewObj(res2)) delete arg2;
267364  if (SWIG_IsNewObj(res3)) delete arg3;
267365  return resultobj;
267366 fail:
267367  if (SWIG_IsNewObj(res2)) delete arg2;
267368  if (SWIG_IsNewObj(res3)) delete arg3;
267369  return NULL;
267370 }
267371 
267372 
267373 SWIGINTERN PyObject *_wrap_RobotIOControl_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
267374  PyObject *resultobj = 0;
267376  std::string *arg2 = 0 ;
267377  std::string *arg3 = 0 ;
267378  void *argp1 = 0 ;
267379  int res1 = 0 ;
267380  int res2 = SWIG_OLDOBJ ;
267381  int res3 = SWIG_OLDOBJ ;
267382  PyObject * obj0 = 0 ;
267383  PyObject * obj1 = 0 ;
267384  PyObject * obj2 = 0 ;
267385  bool result;
267386 
267387  if (!PyArg_ParseTuple(args,(char *)"OOO:RobotIOControl_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
267388  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
267389  if (!SWIG_IsOK(res1)) {
267390  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_SetData" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
267391  }
267392  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
267393  {
267394  std::string *ptr = (std::string *)0;
267395  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
267396  if (!SWIG_IsOK(res2)) {
267397  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotIOControl_SetData" "', argument " "2"" of type '" "std::string const &""'");
267398  }
267399  if (!ptr) {
267400  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_SetData" "', argument " "2"" of type '" "std::string const &""'");
267401  }
267402  arg2 = ptr;
267403  }
267404  {
267405  std::string *ptr = (std::string *)0;
267406  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
267407  if (!SWIG_IsOK(res3)) {
267408  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotIOControl_SetData" "', argument " "3"" of type '" "std::string const &""'");
267409  }
267410  if (!ptr) {
267411  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_SetData" "', argument " "3"" of type '" "std::string const &""'");
267412  }
267413  arg3 = ptr;
267414  }
267415  {
267416  try {
267417  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
267418  }
267419  catch(CStdErrorInfo oError)
267420  {
267421  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267422  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
267423  PyErr_SetString(PyExc_IndexError, strError.c_str());
267424  SWIG_fail;
267425  }
267426  catch(...)
267427  {
267428  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267429  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
267430  SWIG_fail;
267431  }
267432  }
267433  resultobj = SWIG_From_bool(static_cast< bool >(result));
267434  if (SWIG_IsNewObj(res2)) delete arg2;
267435  if (SWIG_IsNewObj(res3)) delete arg3;
267436  return resultobj;
267437 fail:
267438  if (SWIG_IsNewObj(res2)) delete arg2;
267439  if (SWIG_IsNewObj(res3)) delete arg3;
267440  return NULL;
267441 }
267442 
267443 
267444 SWIGINTERN PyObject *_wrap_RobotIOControl_SetData(PyObject *self, PyObject *args) {
267445  int argc;
267446  PyObject *argv[5];
267447  int ii;
267448 
267449  if (!PyTuple_Check(args)) SWIG_fail;
267450  argc = args ? (int)PyObject_Length(args) : 0;
267451  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
267452  argv[ii] = PyTuple_GET_ITEM(args,ii);
267453  }
267454  if (argc == 3) {
267455  int _v;
267456  void *vptr = 0;
267457  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0);
267458  _v = SWIG_CheckState(res);
267459  if (_v) {
267460  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
267461  _v = SWIG_CheckState(res);
267462  if (_v) {
267463  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
267464  _v = SWIG_CheckState(res);
267465  if (_v) {
267466  return _wrap_RobotIOControl_SetData__SWIG_1(self, args);
267467  }
267468  }
267469  }
267470  }
267471  if (argc == 4) {
267472  int _v;
267473  void *vptr = 0;
267474  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0);
267475  _v = SWIG_CheckState(res);
267476  if (_v) {
267477  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
267478  _v = SWIG_CheckState(res);
267479  if (_v) {
267480  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
267481  _v = SWIG_CheckState(res);
267482  if (_v) {
267483  {
267484  int res = SWIG_AsVal_bool(argv[3], NULL);
267485  _v = SWIG_CheckState(res);
267486  }
267487  if (_v) {
267488  return _wrap_RobotIOControl_SetData__SWIG_0(self, args);
267489  }
267490  }
267491  }
267492  }
267493  }
267494 
267495 fail:
267496  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotIOControl_SetData'.\n"
267497  " Possible C/C++ prototypes are:\n"
267498  " AnimatSim::Robotics::RobotIOControl::SetData(std::string const &,std::string const &,bool)\n"
267499  " AnimatSim::Robotics::RobotIOControl::SetData(std::string const &,std::string const &)\n");
267500  return 0;
267501 }
267502 
267503 
267504 SWIGINTERN PyObject *_wrap_RobotIOControl_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
267505  PyObject *resultobj = 0;
267507  CStdPtrArray< TypeProperty > *arg2 = 0 ;
267508  void *argp1 = 0 ;
267509  int res1 = 0 ;
267510  void *argp2 = 0 ;
267511  int res2 = 0 ;
267512  PyObject * obj0 = 0 ;
267513  PyObject * obj1 = 0 ;
267514 
267515  if (!PyArg_ParseTuple(args,(char *)"OO:RobotIOControl_QueryProperties",&obj0,&obj1)) SWIG_fail;
267516  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
267517  if (!SWIG_IsOK(res1)) {
267518  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
267519  }
267520  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
267521  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
267522  if (!SWIG_IsOK(res2)) {
267523  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotIOControl_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
267524  }
267525  if (!argp2) {
267526  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
267527  }
267528  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
267529  {
267530  try {
267531  (arg1)->QueryProperties(*arg2);
267532  }
267533  catch(CStdErrorInfo oError)
267534  {
267535  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267536  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
267537  PyErr_SetString(PyExc_IndexError, strError.c_str());
267538  SWIG_fail;
267539  }
267540  catch(...)
267541  {
267542  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267543  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
267544  SWIG_fail;
267545  }
267546  }
267547  resultobj = SWIG_Py_Void();
267548  return resultobj;
267549 fail:
267550  return NULL;
267551 }
267552 
267553 
267554 SWIGINTERN PyObject *_wrap_RobotIOControl_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
267555  PyObject *resultobj = 0;
267557  std::string *arg2 = 0 ;
267558  std::string *arg3 = 0 ;
267559  bool arg4 ;
267560  bool arg5 ;
267561  void *argp1 = 0 ;
267562  int res1 = 0 ;
267563  int res2 = SWIG_OLDOBJ ;
267564  int res3 = SWIG_OLDOBJ ;
267565  bool val4 ;
267566  int ecode4 = 0 ;
267567  bool val5 ;
267568  int ecode5 = 0 ;
267569  PyObject * obj0 = 0 ;
267570  PyObject * obj1 = 0 ;
267571  PyObject * obj2 = 0 ;
267572  PyObject * obj3 = 0 ;
267573  PyObject * obj4 = 0 ;
267574  bool result;
267575 
267576  if (!PyArg_ParseTuple(args,(char *)"OOOOO:RobotIOControl_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
267577  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
267578  if (!SWIG_IsOK(res1)) {
267579  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_AddItem" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
267580  }
267581  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
267582  {
267583  std::string *ptr = (std::string *)0;
267584  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
267585  if (!SWIG_IsOK(res2)) {
267586  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotIOControl_AddItem" "', argument " "2"" of type '" "std::string const &""'");
267587  }
267588  if (!ptr) {
267589  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_AddItem" "', argument " "2"" of type '" "std::string const &""'");
267590  }
267591  arg2 = ptr;
267592  }
267593  {
267594  std::string *ptr = (std::string *)0;
267595  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
267596  if (!SWIG_IsOK(res3)) {
267597  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotIOControl_AddItem" "', argument " "3"" of type '" "std::string const &""'");
267598  }
267599  if (!ptr) {
267600  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_AddItem" "', argument " "3"" of type '" "std::string const &""'");
267601  }
267602  arg3 = ptr;
267603  }
267604  ecode4 = SWIG_AsVal_bool(obj3, &val4);
267605  if (!SWIG_IsOK(ecode4)) {
267606  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RobotIOControl_AddItem" "', argument " "4"" of type '" "bool""'");
267607  }
267608  arg4 = static_cast< bool >(val4);
267609  ecode5 = SWIG_AsVal_bool(obj4, &val5);
267610  if (!SWIG_IsOK(ecode5)) {
267611  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RobotIOControl_AddItem" "', argument " "5"" of type '" "bool""'");
267612  }
267613  arg5 = static_cast< bool >(val5);
267614  {
267615  try {
267616  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
267617  }
267618  catch(CStdErrorInfo oError)
267619  {
267620  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267621  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
267622  PyErr_SetString(PyExc_IndexError, strError.c_str());
267623  SWIG_fail;
267624  }
267625  catch(...)
267626  {
267627  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267628  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
267629  SWIG_fail;
267630  }
267631  }
267632  resultobj = SWIG_From_bool(static_cast< bool >(result));
267633  if (SWIG_IsNewObj(res2)) delete arg2;
267634  if (SWIG_IsNewObj(res3)) delete arg3;
267635  return resultobj;
267636 fail:
267637  if (SWIG_IsNewObj(res2)) delete arg2;
267638  if (SWIG_IsNewObj(res3)) delete arg3;
267639  return NULL;
267640 }
267641 
267642 
267643 SWIGINTERN PyObject *_wrap_RobotIOControl_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
267644  PyObject *resultobj = 0;
267646  std::string *arg2 = 0 ;
267647  std::string *arg3 = 0 ;
267648  bool arg4 ;
267649  void *argp1 = 0 ;
267650  int res1 = 0 ;
267651  int res2 = SWIG_OLDOBJ ;
267652  int res3 = SWIG_OLDOBJ ;
267653  bool val4 ;
267654  int ecode4 = 0 ;
267655  PyObject * obj0 = 0 ;
267656  PyObject * obj1 = 0 ;
267657  PyObject * obj2 = 0 ;
267658  PyObject * obj3 = 0 ;
267659  bool result;
267660 
267661  if (!PyArg_ParseTuple(args,(char *)"OOOO:RobotIOControl_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
267662  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
267663  if (!SWIG_IsOK(res1)) {
267664  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_AddItem" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
267665  }
267666  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
267667  {
267668  std::string *ptr = (std::string *)0;
267669  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
267670  if (!SWIG_IsOK(res2)) {
267671  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotIOControl_AddItem" "', argument " "2"" of type '" "std::string const &""'");
267672  }
267673  if (!ptr) {
267674  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_AddItem" "', argument " "2"" of type '" "std::string const &""'");
267675  }
267676  arg2 = ptr;
267677  }
267678  {
267679  std::string *ptr = (std::string *)0;
267680  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
267681  if (!SWIG_IsOK(res3)) {
267682  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotIOControl_AddItem" "', argument " "3"" of type '" "std::string const &""'");
267683  }
267684  if (!ptr) {
267685  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_AddItem" "', argument " "3"" of type '" "std::string const &""'");
267686  }
267687  arg3 = ptr;
267688  }
267689  ecode4 = SWIG_AsVal_bool(obj3, &val4);
267690  if (!SWIG_IsOK(ecode4)) {
267691  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RobotIOControl_AddItem" "', argument " "4"" of type '" "bool""'");
267692  }
267693  arg4 = static_cast< bool >(val4);
267694  {
267695  try {
267696  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
267697  }
267698  catch(CStdErrorInfo oError)
267699  {
267700  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267701  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
267702  PyErr_SetString(PyExc_IndexError, strError.c_str());
267703  SWIG_fail;
267704  }
267705  catch(...)
267706  {
267707  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267708  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
267709  SWIG_fail;
267710  }
267711  }
267712  resultobj = SWIG_From_bool(static_cast< bool >(result));
267713  if (SWIG_IsNewObj(res2)) delete arg2;
267714  if (SWIG_IsNewObj(res3)) delete arg3;
267715  return resultobj;
267716 fail:
267717  if (SWIG_IsNewObj(res2)) delete arg2;
267718  if (SWIG_IsNewObj(res3)) delete arg3;
267719  return NULL;
267720 }
267721 
267722 
267723 SWIGINTERN PyObject *_wrap_RobotIOControl_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
267724  PyObject *resultobj = 0;
267726  std::string *arg2 = 0 ;
267727  std::string *arg3 = 0 ;
267728  void *argp1 = 0 ;
267729  int res1 = 0 ;
267730  int res2 = SWIG_OLDOBJ ;
267731  int res3 = SWIG_OLDOBJ ;
267732  PyObject * obj0 = 0 ;
267733  PyObject * obj1 = 0 ;
267734  PyObject * obj2 = 0 ;
267735  bool result;
267736 
267737  if (!PyArg_ParseTuple(args,(char *)"OOO:RobotIOControl_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
267738  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
267739  if (!SWIG_IsOK(res1)) {
267740  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_AddItem" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
267741  }
267742  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
267743  {
267744  std::string *ptr = (std::string *)0;
267745  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
267746  if (!SWIG_IsOK(res2)) {
267747  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotIOControl_AddItem" "', argument " "2"" of type '" "std::string const &""'");
267748  }
267749  if (!ptr) {
267750  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_AddItem" "', argument " "2"" of type '" "std::string const &""'");
267751  }
267752  arg2 = ptr;
267753  }
267754  {
267755  std::string *ptr = (std::string *)0;
267756  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
267757  if (!SWIG_IsOK(res3)) {
267758  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotIOControl_AddItem" "', argument " "3"" of type '" "std::string const &""'");
267759  }
267760  if (!ptr) {
267761  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_AddItem" "', argument " "3"" of type '" "std::string const &""'");
267762  }
267763  arg3 = ptr;
267764  }
267765  {
267766  try {
267767  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
267768  }
267769  catch(CStdErrorInfo oError)
267770  {
267771  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267772  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
267773  PyErr_SetString(PyExc_IndexError, strError.c_str());
267774  SWIG_fail;
267775  }
267776  catch(...)
267777  {
267778  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267779  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
267780  SWIG_fail;
267781  }
267782  }
267783  resultobj = SWIG_From_bool(static_cast< bool >(result));
267784  if (SWIG_IsNewObj(res2)) delete arg2;
267785  if (SWIG_IsNewObj(res3)) delete arg3;
267786  return resultobj;
267787 fail:
267788  if (SWIG_IsNewObj(res2)) delete arg2;
267789  if (SWIG_IsNewObj(res3)) delete arg3;
267790  return NULL;
267791 }
267792 
267793 
267794 SWIGINTERN PyObject *_wrap_RobotIOControl_AddItem(PyObject *self, PyObject *args) {
267795  int argc;
267796  PyObject *argv[6];
267797  int ii;
267798 
267799  if (!PyTuple_Check(args)) SWIG_fail;
267800  argc = args ? (int)PyObject_Length(args) : 0;
267801  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
267802  argv[ii] = PyTuple_GET_ITEM(args,ii);
267803  }
267804  if (argc == 3) {
267805  int _v;
267806  void *vptr = 0;
267807  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0);
267808  _v = SWIG_CheckState(res);
267809  if (_v) {
267810  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
267811  _v = SWIG_CheckState(res);
267812  if (_v) {
267813  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
267814  _v = SWIG_CheckState(res);
267815  if (_v) {
267816  return _wrap_RobotIOControl_AddItem__SWIG_2(self, args);
267817  }
267818  }
267819  }
267820  }
267821  if (argc == 4) {
267822  int _v;
267823  void *vptr = 0;
267824  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0);
267825  _v = SWIG_CheckState(res);
267826  if (_v) {
267827  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
267828  _v = SWIG_CheckState(res);
267829  if (_v) {
267830  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
267831  _v = SWIG_CheckState(res);
267832  if (_v) {
267833  {
267834  int res = SWIG_AsVal_bool(argv[3], NULL);
267835  _v = SWIG_CheckState(res);
267836  }
267837  if (_v) {
267838  return _wrap_RobotIOControl_AddItem__SWIG_1(self, args);
267839  }
267840  }
267841  }
267842  }
267843  }
267844  if (argc == 5) {
267845  int _v;
267846  void *vptr = 0;
267847  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0);
267848  _v = SWIG_CheckState(res);
267849  if (_v) {
267850  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
267851  _v = SWIG_CheckState(res);
267852  if (_v) {
267853  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
267854  _v = SWIG_CheckState(res);
267855  if (_v) {
267856  {
267857  int res = SWIG_AsVal_bool(argv[3], NULL);
267858  _v = SWIG_CheckState(res);
267859  }
267860  if (_v) {
267861  {
267862  int res = SWIG_AsVal_bool(argv[4], NULL);
267863  _v = SWIG_CheckState(res);
267864  }
267865  if (_v) {
267866  return _wrap_RobotIOControl_AddItem__SWIG_0(self, args);
267867  }
267868  }
267869  }
267870  }
267871  }
267872  }
267873 
267874 fail:
267875  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotIOControl_AddItem'.\n"
267876  " Possible C/C++ prototypes are:\n"
267877  " AnimatSim::Robotics::RobotIOControl::AddItem(std::string const &,std::string const &,bool,bool)\n"
267878  " AnimatSim::Robotics::RobotIOControl::AddItem(std::string const &,std::string const &,bool)\n"
267879  " AnimatSim::Robotics::RobotIOControl::AddItem(std::string const &,std::string const &)\n");
267880  return 0;
267881 }
267882 
267883 
267884 SWIGINTERN PyObject *_wrap_RobotIOControl_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
267885  PyObject *resultobj = 0;
267887  std::string *arg2 = 0 ;
267888  std::string *arg3 = 0 ;
267889  bool arg4 ;
267890  void *argp1 = 0 ;
267891  int res1 = 0 ;
267892  int res2 = SWIG_OLDOBJ ;
267893  int res3 = SWIG_OLDOBJ ;
267894  bool val4 ;
267895  int ecode4 = 0 ;
267896  PyObject * obj0 = 0 ;
267897  PyObject * obj1 = 0 ;
267898  PyObject * obj2 = 0 ;
267899  PyObject * obj3 = 0 ;
267900  bool result;
267901 
267902  if (!PyArg_ParseTuple(args,(char *)"OOOO:RobotIOControl_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
267903  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
267904  if (!SWIG_IsOK(res1)) {
267905  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
267906  }
267907  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
267908  {
267909  std::string *ptr = (std::string *)0;
267910  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
267911  if (!SWIG_IsOK(res2)) {
267912  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotIOControl_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
267913  }
267914  if (!ptr) {
267915  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
267916  }
267917  arg2 = ptr;
267918  }
267919  {
267920  std::string *ptr = (std::string *)0;
267921  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
267922  if (!SWIG_IsOK(res3)) {
267923  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotIOControl_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
267924  }
267925  if (!ptr) {
267926  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
267927  }
267928  arg3 = ptr;
267929  }
267930  ecode4 = SWIG_AsVal_bool(obj3, &val4);
267931  if (!SWIG_IsOK(ecode4)) {
267932  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RobotIOControl_RemoveItem" "', argument " "4"" of type '" "bool""'");
267933  }
267934  arg4 = static_cast< bool >(val4);
267935  {
267936  try {
267937  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
267938  }
267939  catch(CStdErrorInfo oError)
267940  {
267941  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267942  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
267943  PyErr_SetString(PyExc_IndexError, strError.c_str());
267944  SWIG_fail;
267945  }
267946  catch(...)
267947  {
267948  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
267949  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
267950  SWIG_fail;
267951  }
267952  }
267953  resultobj = SWIG_From_bool(static_cast< bool >(result));
267954  if (SWIG_IsNewObj(res2)) delete arg2;
267955  if (SWIG_IsNewObj(res3)) delete arg3;
267956  return resultobj;
267957 fail:
267958  if (SWIG_IsNewObj(res2)) delete arg2;
267959  if (SWIG_IsNewObj(res3)) delete arg3;
267960  return NULL;
267961 }
267962 
267963 
267964 SWIGINTERN PyObject *_wrap_RobotIOControl_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
267965  PyObject *resultobj = 0;
267967  std::string *arg2 = 0 ;
267968  std::string *arg3 = 0 ;
267969  void *argp1 = 0 ;
267970  int res1 = 0 ;
267971  int res2 = SWIG_OLDOBJ ;
267972  int res3 = SWIG_OLDOBJ ;
267973  PyObject * obj0 = 0 ;
267974  PyObject * obj1 = 0 ;
267975  PyObject * obj2 = 0 ;
267976  bool result;
267977 
267978  if (!PyArg_ParseTuple(args,(char *)"OOO:RobotIOControl_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
267979  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
267980  if (!SWIG_IsOK(res1)) {
267981  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
267982  }
267983  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
267984  {
267985  std::string *ptr = (std::string *)0;
267986  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
267987  if (!SWIG_IsOK(res2)) {
267988  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotIOControl_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
267989  }
267990  if (!ptr) {
267991  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
267992  }
267993  arg2 = ptr;
267994  }
267995  {
267996  std::string *ptr = (std::string *)0;
267997  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
267998  if (!SWIG_IsOK(res3)) {
267999  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotIOControl_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
268000  }
268001  if (!ptr) {
268002  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
268003  }
268004  arg3 = ptr;
268005  }
268006  {
268007  try {
268008  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
268009  }
268010  catch(CStdErrorInfo oError)
268011  {
268012  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268013  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268014  PyErr_SetString(PyExc_IndexError, strError.c_str());
268015  SWIG_fail;
268016  }
268017  catch(...)
268018  {
268019  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268020  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268021  SWIG_fail;
268022  }
268023  }
268024  resultobj = SWIG_From_bool(static_cast< bool >(result));
268025  if (SWIG_IsNewObj(res2)) delete arg2;
268026  if (SWIG_IsNewObj(res3)) delete arg3;
268027  return resultobj;
268028 fail:
268029  if (SWIG_IsNewObj(res2)) delete arg2;
268030  if (SWIG_IsNewObj(res3)) delete arg3;
268031  return NULL;
268032 }
268033 
268034 
268035 SWIGINTERN PyObject *_wrap_RobotIOControl_RemoveItem(PyObject *self, PyObject *args) {
268036  int argc;
268037  PyObject *argv[5];
268038  int ii;
268039 
268040  if (!PyTuple_Check(args)) SWIG_fail;
268041  argc = args ? (int)PyObject_Length(args) : 0;
268042  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
268043  argv[ii] = PyTuple_GET_ITEM(args,ii);
268044  }
268045  if (argc == 3) {
268046  int _v;
268047  void *vptr = 0;
268048  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0);
268049  _v = SWIG_CheckState(res);
268050  if (_v) {
268051  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
268052  _v = SWIG_CheckState(res);
268053  if (_v) {
268054  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
268055  _v = SWIG_CheckState(res);
268056  if (_v) {
268057  return _wrap_RobotIOControl_RemoveItem__SWIG_1(self, args);
268058  }
268059  }
268060  }
268061  }
268062  if (argc == 4) {
268063  int _v;
268064  void *vptr = 0;
268065  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0);
268066  _v = SWIG_CheckState(res);
268067  if (_v) {
268068  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
268069  _v = SWIG_CheckState(res);
268070  if (_v) {
268071  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
268072  _v = SWIG_CheckState(res);
268073  if (_v) {
268074  {
268075  int res = SWIG_AsVal_bool(argv[3], NULL);
268076  _v = SWIG_CheckState(res);
268077  }
268078  if (_v) {
268079  return _wrap_RobotIOControl_RemoveItem__SWIG_0(self, args);
268080  }
268081  }
268082  }
268083  }
268084  }
268085 
268086 fail:
268087  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotIOControl_RemoveItem'.\n"
268088  " Possible C/C++ prototypes are:\n"
268089  " AnimatSim::Robotics::RobotIOControl::RemoveItem(std::string const &,std::string const &,bool)\n"
268090  " AnimatSim::Robotics::RobotIOControl::RemoveItem(std::string const &,std::string const &)\n");
268091  return 0;
268092 }
268093 
268094 
268095 SWIGINTERN PyObject *_wrap_RobotIOControl_SetupIO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268096  PyObject *resultobj = 0;
268098  void *argp1 = 0 ;
268099  int res1 = 0 ;
268100  PyObject * obj0 = 0 ;
268101 
268102  if (!PyArg_ParseTuple(args,(char *)"O:RobotIOControl_SetupIO",&obj0)) SWIG_fail;
268103  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
268104  if (!SWIG_IsOK(res1)) {
268105  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_SetupIO" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
268106  }
268107  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
268108  {
268109  try {
268110  (arg1)->SetupIO();
268111  }
268112  catch(CStdErrorInfo oError)
268113  {
268114  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268115  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268116  PyErr_SetString(PyExc_IndexError, strError.c_str());
268117  SWIG_fail;
268118  }
268119  catch(...)
268120  {
268121  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268122  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268123  SWIG_fail;
268124  }
268125  }
268126  resultobj = SWIG_Py_Void();
268127  return resultobj;
268128 fail:
268129  return NULL;
268130 }
268131 
268132 
268133 SWIGINTERN PyObject *_wrap_RobotIOControl_StepIO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268134  PyObject *resultobj = 0;
268136  void *argp1 = 0 ;
268137  int res1 = 0 ;
268138  PyObject * obj0 = 0 ;
268139 
268140  if (!PyArg_ParseTuple(args,(char *)"O:RobotIOControl_StepIO",&obj0)) SWIG_fail;
268141  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
268142  if (!SWIG_IsOK(res1)) {
268143  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_StepIO" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
268144  }
268145  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
268146  {
268147  try {
268148  (arg1)->StepIO();
268149  }
268150  catch(CStdErrorInfo oError)
268151  {
268152  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268153  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268154  PyErr_SetString(PyExc_IndexError, strError.c_str());
268155  SWIG_fail;
268156  }
268157  catch(...)
268158  {
268159  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268160  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268161  SWIG_fail;
268162  }
268163  }
268164  resultobj = SWIG_Py_Void();
268165  return resultobj;
268166 fail:
268167  return NULL;
268168 }
268169 
268170 
268171 SWIGINTERN PyObject *_wrap_RobotIOControl_ShutdownIO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268172  PyObject *resultobj = 0;
268174  void *argp1 = 0 ;
268175  int res1 = 0 ;
268176  PyObject * obj0 = 0 ;
268177 
268178  if (!PyArg_ParseTuple(args,(char *)"O:RobotIOControl_ShutdownIO",&obj0)) SWIG_fail;
268179  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
268180  if (!SWIG_IsOK(res1)) {
268181  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_ShutdownIO" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
268182  }
268183  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
268184  {
268185  try {
268186  (arg1)->ShutdownIO();
268187  }
268188  catch(CStdErrorInfo oError)
268189  {
268190  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268191  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268192  PyErr_SetString(PyExc_IndexError, strError.c_str());
268193  SWIG_fail;
268194  }
268195  catch(...)
268196  {
268197  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268198  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268199  SWIG_fail;
268200  }
268201  }
268202  resultobj = SWIG_Py_Void();
268203  return resultobj;
268204 fail:
268205  return NULL;
268206 }
268207 
268208 
268209 SWIGINTERN PyObject *_wrap_RobotIOControl_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268210  PyObject *resultobj = 0;
268212  void *argp1 = 0 ;
268213  int res1 = 0 ;
268214  PyObject * obj0 = 0 ;
268215 
268216  if (!PyArg_ParseTuple(args,(char *)"O:RobotIOControl_Initialize",&obj0)) SWIG_fail;
268217  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
268218  if (!SWIG_IsOK(res1)) {
268219  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_Initialize" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
268220  }
268221  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
268222  {
268223  try {
268224  (arg1)->Initialize();
268225  }
268226  catch(CStdErrorInfo oError)
268227  {
268228  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268229  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268230  PyErr_SetString(PyExc_IndexError, strError.c_str());
268231  SWIG_fail;
268232  }
268233  catch(...)
268234  {
268235  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268236  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268237  SWIG_fail;
268238  }
268239  }
268240  resultobj = SWIG_Py_Void();
268241  return resultobj;
268242 fail:
268243  return NULL;
268244 }
268245 
268246 
268247 SWIGINTERN PyObject *_wrap_RobotIOControl_SimStopping(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268248  PyObject *resultobj = 0;
268250  void *argp1 = 0 ;
268251  int res1 = 0 ;
268252  PyObject * obj0 = 0 ;
268253 
268254  if (!PyArg_ParseTuple(args,(char *)"O:RobotIOControl_SimStopping",&obj0)) SWIG_fail;
268255  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
268256  if (!SWIG_IsOK(res1)) {
268257  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_SimStopping" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
268258  }
268259  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
268260  {
268261  try {
268262  (arg1)->SimStopping();
268263  }
268264  catch(CStdErrorInfo oError)
268265  {
268266  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268267  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268268  PyErr_SetString(PyExc_IndexError, strError.c_str());
268269  SWIG_fail;
268270  }
268271  catch(...)
268272  {
268273  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268274  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268275  SWIG_fail;
268276  }
268277  }
268278  resultobj = SWIG_Py_Void();
268279  return resultobj;
268280 fail:
268281  return NULL;
268282 }
268283 
268284 
268285 SWIGINTERN PyObject *_wrap_RobotIOControl_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268286  PyObject *resultobj = 0;
268288  void *argp1 = 0 ;
268289  int res1 = 0 ;
268290  PyObject * obj0 = 0 ;
268291 
268292  if (!PyArg_ParseTuple(args,(char *)"O:RobotIOControl_StepSimulation",&obj0)) SWIG_fail;
268293  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
268294  if (!SWIG_IsOK(res1)) {
268295  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
268296  }
268297  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
268298  {
268299  try {
268300  (arg1)->StepSimulation();
268301  }
268302  catch(CStdErrorInfo oError)
268303  {
268304  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268305  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268306  PyErr_SetString(PyExc_IndexError, strError.c_str());
268307  SWIG_fail;
268308  }
268309  catch(...)
268310  {
268311  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268312  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268313  SWIG_fail;
268314  }
268315  }
268316  resultobj = SWIG_Py_Void();
268317  return resultobj;
268318 fail:
268319  return NULL;
268320 }
268321 
268322 
268323 SWIGINTERN PyObject *_wrap_RobotIOControl_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268324  PyObject *resultobj = 0;
268326  void *argp1 = 0 ;
268327  int res1 = 0 ;
268328  PyObject * obj0 = 0 ;
268329 
268330  if (!PyArg_ParseTuple(args,(char *)"O:RobotIOControl_ResetSimulation",&obj0)) SWIG_fail;
268331  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
268332  if (!SWIG_IsOK(res1)) {
268333  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
268334  }
268335  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
268336  {
268337  try {
268338  (arg1)->ResetSimulation();
268339  }
268340  catch(CStdErrorInfo oError)
268341  {
268342  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268343  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268344  PyErr_SetString(PyExc_IndexError, strError.c_str());
268345  SWIG_fail;
268346  }
268347  catch(...)
268348  {
268349  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268350  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268351  SWIG_fail;
268352  }
268353  }
268354  resultobj = SWIG_Py_Void();
268355  return resultobj;
268356 fail:
268357  return NULL;
268358 }
268359 
268360 
268361 SWIGINTERN PyObject *_wrap_RobotIOControl_AfterResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268362  PyObject *resultobj = 0;
268364  void *argp1 = 0 ;
268365  int res1 = 0 ;
268366  PyObject * obj0 = 0 ;
268367 
268368  if (!PyArg_ParseTuple(args,(char *)"O:RobotIOControl_AfterResetSimulation",&obj0)) SWIG_fail;
268369  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
268370  if (!SWIG_IsOK(res1)) {
268371  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_AfterResetSimulation" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
268372  }
268373  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
268374  {
268375  try {
268376  (arg1)->AfterResetSimulation();
268377  }
268378  catch(CStdErrorInfo oError)
268379  {
268380  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268381  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268382  PyErr_SetString(PyExc_IndexError, strError.c_str());
268383  SWIG_fail;
268384  }
268385  catch(...)
268386  {
268387  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268388  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268389  SWIG_fail;
268390  }
268391  }
268392  resultobj = SWIG_Py_Void();
268393  return resultobj;
268394 fail:
268395  return NULL;
268396 }
268397 
268398 
268399 SWIGINTERN PyObject *_wrap_RobotIOControl_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268400  PyObject *resultobj = 0;
268402  StdUtils::CStdXml *arg2 = 0 ;
268403  void *argp1 = 0 ;
268404  int res1 = 0 ;
268405  void *argp2 = 0 ;
268406  int res2 = 0 ;
268407  PyObject * obj0 = 0 ;
268408  PyObject * obj1 = 0 ;
268409 
268410  if (!PyArg_ParseTuple(args,(char *)"OO:RobotIOControl_Load",&obj0,&obj1)) SWIG_fail;
268411  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
268412  if (!SWIG_IsOK(res1)) {
268413  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotIOControl_Load" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
268414  }
268415  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp1);
268416  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
268417  if (!SWIG_IsOK(res2)) {
268418  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotIOControl_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
268419  }
268420  if (!argp2) {
268421  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotIOControl_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
268422  }
268423  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
268424  {
268425  try {
268426  (arg1)->Load(*arg2);
268427  }
268428  catch(CStdErrorInfo oError)
268429  {
268430  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268431  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268432  PyErr_SetString(PyExc_IndexError, strError.c_str());
268433  SWIG_fail;
268434  }
268435  catch(...)
268436  {
268437  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268438  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268439  SWIG_fail;
268440  }
268441  }
268442  resultobj = SWIG_Py_Void();
268443  return resultobj;
268444 fail:
268445  return NULL;
268446 }
268447 
268448 
268449 SWIGINTERN PyObject *RobotIOControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268450  PyObject *obj;
268451  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
268452  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, SWIG_NewClientData(obj));
268453  return SWIG_Py_Void();
268454 }
268455 
268456 SWIGINTERN PyObject *_wrap_new_RobotPartInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268457  PyObject *resultobj = 0;
268459 
268460  if (!PyArg_ParseTuple(args,(char *)":new_RobotPartInterface")) SWIG_fail;
268461  {
268462  try {
268464  }
268465  catch(CStdErrorInfo oError)
268466  {
268467  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268468  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268469  PyErr_SetString(PyExc_IndexError, strError.c_str());
268470  SWIG_fail;
268471  }
268472  catch(...)
268473  {
268474  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268475  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268476  SWIG_fail;
268477  }
268478  }
268479  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, SWIG_POINTER_NEW | 0 );
268480  return resultobj;
268481 fail:
268482  return NULL;
268483 }
268484 
268485 
268486 SWIGINTERN PyObject *_wrap_delete_RobotPartInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268487  PyObject *resultobj = 0;
268489  void *argp1 = 0 ;
268490  int res1 = 0 ;
268491  PyObject * obj0 = 0 ;
268492 
268493  if (!PyArg_ParseTuple(args,(char *)"O:delete_RobotPartInterface",&obj0)) SWIG_fail;
268494  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, SWIG_POINTER_DISOWN | 0 );
268495  if (!SWIG_IsOK(res1)) {
268496  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RobotPartInterface" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
268497  }
268498  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
268499  {
268500  try {
268501  delete arg1;
268502  }
268503  catch(CStdErrorInfo oError)
268504  {
268505  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268506  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268507  PyErr_SetString(PyExc_IndexError, strError.c_str());
268508  SWIG_fail;
268509  }
268510  catch(...)
268511  {
268512  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268513  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268514  SWIG_fail;
268515  }
268516  }
268517  resultobj = SWIG_Py_Void();
268518  return resultobj;
268519 fail:
268520  return NULL;
268521 }
268522 
268523 
268524 SWIGINTERN PyObject *_wrap_RobotPartInterface_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268525  PyObject *resultobj = 0;
268527  void *argp1 = 0 ;
268528  int res1 = 0 ;
268529  PyObject * obj0 = 0 ;
268531 
268532  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_CastToDerived",&obj0)) SWIG_fail;
268533  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
268534  if (!SWIG_IsOK(res1)) {
268535  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
268536  }
268537  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
268538  {
268539  try {
268540  result = (AnimatSim::Robotics::RobotPartInterface *)AnimatSim::Robotics::RobotPartInterface::CastToDerived(arg1);
268541  }
268542  catch(CStdErrorInfo oError)
268543  {
268544  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268545  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268546  PyErr_SetString(PyExc_IndexError, strError.c_str());
268547  SWIG_fail;
268548  }
268549  catch(...)
268550  {
268551  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268552  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268553  SWIG_fail;
268554  }
268555  }
268556  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
268557  return resultobj;
268558 fail:
268559  return NULL;
268560 }
268561 
268562 
268563 SWIGINTERN PyObject *_wrap_RobotPartInterface_ParentIOControl__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268564  PyObject *resultobj = 0;
268567  void *argp1 = 0 ;
268568  int res1 = 0 ;
268569  void *argp2 = 0 ;
268570  int res2 = 0 ;
268571  PyObject * obj0 = 0 ;
268572  PyObject * obj1 = 0 ;
268573 
268574  if (!PyArg_ParseTuple(args,(char *)"OO:RobotPartInterface_ParentIOControl",&obj0,&obj1)) SWIG_fail;
268575  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
268576  if (!SWIG_IsOK(res1)) {
268577  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_ParentIOControl" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
268578  }
268579  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
268580  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
268581  if (!SWIG_IsOK(res2)) {
268582  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotPartInterface_ParentIOControl" "', argument " "2"" of type '" "AnimatSim::Robotics::RobotIOControl *""'");
268583  }
268584  arg2 = reinterpret_cast< AnimatSim::Robotics::RobotIOControl * >(argp2);
268585  {
268586  try {
268587  (arg1)->ParentIOControl(arg2);
268588  }
268589  catch(CStdErrorInfo oError)
268590  {
268591  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268592  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268593  PyErr_SetString(PyExc_IndexError, strError.c_str());
268594  SWIG_fail;
268595  }
268596  catch(...)
268597  {
268598  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268599  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268600  SWIG_fail;
268601  }
268602  }
268603  resultobj = SWIG_Py_Void();
268604  return resultobj;
268605 fail:
268606  return NULL;
268607 }
268608 
268609 
268610 SWIGINTERN PyObject *_wrap_RobotPartInterface_ParentIOControl__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268611  PyObject *resultobj = 0;
268613  void *argp1 = 0 ;
268614  int res1 = 0 ;
268615  PyObject * obj0 = 0 ;
268617 
268618  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_ParentIOControl",&obj0)) SWIG_fail;
268619  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
268620  if (!SWIG_IsOK(res1)) {
268621  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_ParentIOControl" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
268622  }
268623  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
268624  {
268625  try {
268626  result = (AnimatSim::Robotics::RobotIOControl *)(arg1)->ParentIOControl();
268627  }
268628  catch(CStdErrorInfo oError)
268629  {
268630  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268631  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268632  PyErr_SetString(PyExc_IndexError, strError.c_str());
268633  SWIG_fail;
268634  }
268635  catch(...)
268636  {
268637  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268638  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268639  SWIG_fail;
268640  }
268641  }
268642  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0 | 0 );
268643  return resultobj;
268644 fail:
268645  return NULL;
268646 }
268647 
268648 
268649 SWIGINTERN PyObject *_wrap_RobotPartInterface_ParentIOControl(PyObject *self, PyObject *args) {
268650  int argc;
268651  PyObject *argv[3];
268652  int ii;
268653 
268654  if (!PyTuple_Check(args)) SWIG_fail;
268655  argc = args ? (int)PyObject_Length(args) : 0;
268656  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
268657  argv[ii] = PyTuple_GET_ITEM(args,ii);
268658  }
268659  if (argc == 1) {
268660  int _v;
268661  void *vptr = 0;
268662  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
268663  _v = SWIG_CheckState(res);
268664  if (_v) {
268665  return _wrap_RobotPartInterface_ParentIOControl__SWIG_1(self, args);
268666  }
268667  }
268668  if (argc == 2) {
268669  int _v;
268670  void *vptr = 0;
268671  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
268672  _v = SWIG_CheckState(res);
268673  if (_v) {
268674  void *vptr = 0;
268675  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl, 0);
268676  _v = SWIG_CheckState(res);
268677  if (_v) {
268678  return _wrap_RobotPartInterface_ParentIOControl__SWIG_0(self, args);
268679  }
268680  }
268681  }
268682 
268683 fail:
268684  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotPartInterface_ParentIOControl'.\n"
268685  " Possible C/C++ prototypes are:\n"
268686  " AnimatSim::Robotics::RobotPartInterface::ParentIOControl(AnimatSim::Robotics::RobotIOControl *)\n"
268687  " AnimatSim::Robotics::RobotPartInterface::ParentIOControl()\n");
268688  return 0;
268689 }
268690 
268691 
268692 SWIGINTERN PyObject *_wrap_RobotPartInterface_IOComponentID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268693  PyObject *resultobj = 0;
268695  void *argp1 = 0 ;
268696  int res1 = 0 ;
268697  PyObject * obj0 = 0 ;
268698  int result;
268699 
268700  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_IOComponentID",&obj0)) SWIG_fail;
268701  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
268702  if (!SWIG_IsOK(res1)) {
268703  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_IOComponentID" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
268704  }
268705  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
268706  {
268707  try {
268708  result = (int)(arg1)->IOComponentID();
268709  }
268710  catch(CStdErrorInfo oError)
268711  {
268712  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268713  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268714  PyErr_SetString(PyExc_IndexError, strError.c_str());
268715  SWIG_fail;
268716  }
268717  catch(...)
268718  {
268719  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268720  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268721  SWIG_fail;
268722  }
268723  }
268724  resultobj = SWIG_From_int(static_cast< int >(result));
268725  return resultobj;
268726 fail:
268727  return NULL;
268728 }
268729 
268730 
268731 SWIGINTERN PyObject *_wrap_RobotPartInterface_IOComponentID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268732  PyObject *resultobj = 0;
268734  int arg2 ;
268735  void *argp1 = 0 ;
268736  int res1 = 0 ;
268737  int val2 ;
268738  int ecode2 = 0 ;
268739  PyObject * obj0 = 0 ;
268740  PyObject * obj1 = 0 ;
268741 
268742  if (!PyArg_ParseTuple(args,(char *)"OO:RobotPartInterface_IOComponentID",&obj0,&obj1)) SWIG_fail;
268743  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
268744  if (!SWIG_IsOK(res1)) {
268745  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_IOComponentID" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
268746  }
268747  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
268748  ecode2 = SWIG_AsVal_int(obj1, &val2);
268749  if (!SWIG_IsOK(ecode2)) {
268750  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RobotPartInterface_IOComponentID" "', argument " "2"" of type '" "int""'");
268751  }
268752  arg2 = static_cast< int >(val2);
268753  {
268754  try {
268755  (arg1)->IOComponentID(arg2);
268756  }
268757  catch(CStdErrorInfo oError)
268758  {
268759  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268760  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268761  PyErr_SetString(PyExc_IndexError, strError.c_str());
268762  SWIG_fail;
268763  }
268764  catch(...)
268765  {
268766  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268767  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268768  SWIG_fail;
268769  }
268770  }
268771  resultobj = SWIG_Py_Void();
268772  return resultobj;
268773 fail:
268774  return NULL;
268775 }
268776 
268777 
268778 SWIGINTERN PyObject *_wrap_RobotPartInterface_IOComponentID(PyObject *self, PyObject *args) {
268779  int argc;
268780  PyObject *argv[3];
268781  int ii;
268782 
268783  if (!PyTuple_Check(args)) SWIG_fail;
268784  argc = args ? (int)PyObject_Length(args) : 0;
268785  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
268786  argv[ii] = PyTuple_GET_ITEM(args,ii);
268787  }
268788  if (argc == 1) {
268789  int _v;
268790  void *vptr = 0;
268791  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
268792  _v = SWIG_CheckState(res);
268793  if (_v) {
268794  return _wrap_RobotPartInterface_IOComponentID__SWIG_0(self, args);
268795  }
268796  }
268797  if (argc == 2) {
268798  int _v;
268799  void *vptr = 0;
268800  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
268801  _v = SWIG_CheckState(res);
268802  if (_v) {
268803  {
268804  int res = SWIG_AsVal_int(argv[1], NULL);
268805  _v = SWIG_CheckState(res);
268806  }
268807  if (_v) {
268808  return _wrap_RobotPartInterface_IOComponentID__SWIG_1(self, args);
268809  }
268810  }
268811  }
268812 
268813 fail:
268814  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotPartInterface_IOComponentID'.\n"
268815  " Possible C/C++ prototypes are:\n"
268816  " AnimatSim::Robotics::RobotPartInterface::IOComponentID()\n"
268817  " AnimatSim::Robotics::RobotPartInterface::IOComponentID(int)\n");
268818  return 0;
268819 }
268820 
268821 
268822 SWIGINTERN PyObject *_wrap_RobotPartInterface_IOValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268823  PyObject *resultobj = 0;
268825  void *argp1 = 0 ;
268826  int res1 = 0 ;
268827  PyObject * obj0 = 0 ;
268828  float result;
268829 
268830  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_IOValue",&obj0)) SWIG_fail;
268831  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
268832  if (!SWIG_IsOK(res1)) {
268833  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_IOValue" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
268834  }
268835  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
268836  {
268837  try {
268838  result = (float)(arg1)->IOValue();
268839  }
268840  catch(CStdErrorInfo oError)
268841  {
268842  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268843  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268844  PyErr_SetString(PyExc_IndexError, strError.c_str());
268845  SWIG_fail;
268846  }
268847  catch(...)
268848  {
268849  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268850  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268851  SWIG_fail;
268852  }
268853  }
268854  resultobj = SWIG_From_float(static_cast< float >(result));
268855  return resultobj;
268856 fail:
268857  return NULL;
268858 }
268859 
268860 
268861 SWIGINTERN PyObject *_wrap_RobotPartInterface_IOValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268862  PyObject *resultobj = 0;
268864  float arg2 ;
268865  void *argp1 = 0 ;
268866  int res1 = 0 ;
268867  float val2 ;
268868  int ecode2 = 0 ;
268869  PyObject * obj0 = 0 ;
268870  PyObject * obj1 = 0 ;
268871 
268872  if (!PyArg_ParseTuple(args,(char *)"OO:RobotPartInterface_IOValue",&obj0,&obj1)) SWIG_fail;
268873  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
268874  if (!SWIG_IsOK(res1)) {
268875  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_IOValue" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
268876  }
268877  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
268878  ecode2 = SWIG_AsVal_float(obj1, &val2);
268879  if (!SWIG_IsOK(ecode2)) {
268880  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RobotPartInterface_IOValue" "', argument " "2"" of type '" "float""'");
268881  }
268882  arg2 = static_cast< float >(val2);
268883  {
268884  try {
268885  (arg1)->IOValue(arg2);
268886  }
268887  catch(CStdErrorInfo oError)
268888  {
268889  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268890  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268891  PyErr_SetString(PyExc_IndexError, strError.c_str());
268892  SWIG_fail;
268893  }
268894  catch(...)
268895  {
268896  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268897  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268898  SWIG_fail;
268899  }
268900  }
268901  resultobj = SWIG_Py_Void();
268902  return resultobj;
268903 fail:
268904  return NULL;
268905 }
268906 
268907 
268908 SWIGINTERN PyObject *_wrap_RobotPartInterface_IOValue(PyObject *self, PyObject *args) {
268909  int argc;
268910  PyObject *argv[3];
268911  int ii;
268912 
268913  if (!PyTuple_Check(args)) SWIG_fail;
268914  argc = args ? (int)PyObject_Length(args) : 0;
268915  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
268916  argv[ii] = PyTuple_GET_ITEM(args,ii);
268917  }
268918  if (argc == 1) {
268919  int _v;
268920  void *vptr = 0;
268921  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
268922  _v = SWIG_CheckState(res);
268923  if (_v) {
268924  return _wrap_RobotPartInterface_IOValue__SWIG_0(self, args);
268925  }
268926  }
268927  if (argc == 2) {
268928  int _v;
268929  void *vptr = 0;
268930  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
268931  _v = SWIG_CheckState(res);
268932  if (_v) {
268933  {
268934  int res = SWIG_AsVal_float(argv[1], NULL);
268935  _v = SWIG_CheckState(res);
268936  }
268937  if (_v) {
268938  return _wrap_RobotPartInterface_IOValue__SWIG_1(self, args);
268939  }
268940  }
268941  }
268942 
268943 fail:
268944  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotPartInterface_IOValue'.\n"
268945  " Possible C/C++ prototypes are:\n"
268946  " AnimatSim::Robotics::RobotPartInterface::IOValue()\n"
268947  " AnimatSim::Robotics::RobotPartInterface::IOValue(float)\n");
268948  return 0;
268949 }
268950 
268951 
268952 SWIGINTERN PyObject *_wrap_RobotPartInterface_IOValueInt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268953  PyObject *resultobj = 0;
268955  void *argp1 = 0 ;
268956  int res1 = 0 ;
268957  PyObject * obj0 = 0 ;
268958  int result;
268959 
268960  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_IOValueInt",&obj0)) SWIG_fail;
268961  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
268962  if (!SWIG_IsOK(res1)) {
268963  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_IOValueInt" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
268964  }
268965  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
268966  {
268967  try {
268968  result = (int)(arg1)->IOValueInt();
268969  }
268970  catch(CStdErrorInfo oError)
268971  {
268972  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268973  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
268974  PyErr_SetString(PyExc_IndexError, strError.c_str());
268975  SWIG_fail;
268976  }
268977  catch(...)
268978  {
268979  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
268980  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
268981  SWIG_fail;
268982  }
268983  }
268984  resultobj = SWIG_From_int(static_cast< int >(result));
268985  return resultobj;
268986 fail:
268987  return NULL;
268988 }
268989 
268990 
268991 SWIGINTERN PyObject *_wrap_RobotPartInterface_IOValueInt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
268992  PyObject *resultobj = 0;
268994  int arg2 ;
268995  void *argp1 = 0 ;
268996  int res1 = 0 ;
268997  int val2 ;
268998  int ecode2 = 0 ;
268999  PyObject * obj0 = 0 ;
269000  PyObject * obj1 = 0 ;
269001 
269002  if (!PyArg_ParseTuple(args,(char *)"OO:RobotPartInterface_IOValueInt",&obj0,&obj1)) SWIG_fail;
269003  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269004  if (!SWIG_IsOK(res1)) {
269005  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_IOValueInt" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269006  }
269007  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269008  ecode2 = SWIG_AsVal_int(obj1, &val2);
269009  if (!SWIG_IsOK(ecode2)) {
269010  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RobotPartInterface_IOValueInt" "', argument " "2"" of type '" "int""'");
269011  }
269012  arg2 = static_cast< int >(val2);
269013  {
269014  try {
269015  (arg1)->IOValueInt(arg2);
269016  }
269017  catch(CStdErrorInfo oError)
269018  {
269019  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269020  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269021  PyErr_SetString(PyExc_IndexError, strError.c_str());
269022  SWIG_fail;
269023  }
269024  catch(...)
269025  {
269026  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269027  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269028  SWIG_fail;
269029  }
269030  }
269031  resultobj = SWIG_Py_Void();
269032  return resultobj;
269033 fail:
269034  return NULL;
269035 }
269036 
269037 
269038 SWIGINTERN PyObject *_wrap_RobotPartInterface_IOValueInt(PyObject *self, PyObject *args) {
269039  int argc;
269040  PyObject *argv[3];
269041  int ii;
269042 
269043  if (!PyTuple_Check(args)) SWIG_fail;
269044  argc = args ? (int)PyObject_Length(args) : 0;
269045  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
269046  argv[ii] = PyTuple_GET_ITEM(args,ii);
269047  }
269048  if (argc == 1) {
269049  int _v;
269050  void *vptr = 0;
269051  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
269052  _v = SWIG_CheckState(res);
269053  if (_v) {
269054  return _wrap_RobotPartInterface_IOValueInt__SWIG_0(self, args);
269055  }
269056  }
269057  if (argc == 2) {
269058  int _v;
269059  void *vptr = 0;
269060  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
269061  _v = SWIG_CheckState(res);
269062  if (_v) {
269063  {
269064  int res = SWIG_AsVal_int(argv[1], NULL);
269065  _v = SWIG_CheckState(res);
269066  }
269067  if (_v) {
269068  return _wrap_RobotPartInterface_IOValueInt__SWIG_1(self, args);
269069  }
269070  }
269071  }
269072 
269073 fail:
269074  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotPartInterface_IOValueInt'.\n"
269075  " Possible C/C++ prototypes are:\n"
269076  " AnimatSim::Robotics::RobotPartInterface::IOValueInt()\n"
269077  " AnimatSim::Robotics::RobotPartInterface::IOValueInt(int)\n");
269078  return 0;
269079 }
269080 
269081 
269082 SWIGINTERN PyObject *_wrap_RobotPartInterface_IOScaledValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269083  PyObject *resultobj = 0;
269085  void *argp1 = 0 ;
269086  int res1 = 0 ;
269087  PyObject * obj0 = 0 ;
269088  float result;
269089 
269090  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_IOScaledValue",&obj0)) SWIG_fail;
269091  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269092  if (!SWIG_IsOK(res1)) {
269093  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_IOScaledValue" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269094  }
269095  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269096  {
269097  try {
269098  result = (float)(arg1)->IOScaledValue();
269099  }
269100  catch(CStdErrorInfo oError)
269101  {
269102  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269103  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269104  PyErr_SetString(PyExc_IndexError, strError.c_str());
269105  SWIG_fail;
269106  }
269107  catch(...)
269108  {
269109  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269110  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269111  SWIG_fail;
269112  }
269113  }
269114  resultobj = SWIG_From_float(static_cast< float >(result));
269115  return resultobj;
269116 fail:
269117  return NULL;
269118 }
269119 
269120 
269121 SWIGINTERN PyObject *_wrap_RobotPartInterface_IOScaledValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269122  PyObject *resultobj = 0;
269124  float arg2 ;
269125  void *argp1 = 0 ;
269126  int res1 = 0 ;
269127  float val2 ;
269128  int ecode2 = 0 ;
269129  PyObject * obj0 = 0 ;
269130  PyObject * obj1 = 0 ;
269131 
269132  if (!PyArg_ParseTuple(args,(char *)"OO:RobotPartInterface_IOScaledValue",&obj0,&obj1)) SWIG_fail;
269133  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269134  if (!SWIG_IsOK(res1)) {
269135  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_IOScaledValue" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269136  }
269137  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269138  ecode2 = SWIG_AsVal_float(obj1, &val2);
269139  if (!SWIG_IsOK(ecode2)) {
269140  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RobotPartInterface_IOScaledValue" "', argument " "2"" of type '" "float""'");
269141  }
269142  arg2 = static_cast< float >(val2);
269143  {
269144  try {
269145  (arg1)->IOScaledValue(arg2);
269146  }
269147  catch(CStdErrorInfo oError)
269148  {
269149  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269150  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269151  PyErr_SetString(PyExc_IndexError, strError.c_str());
269152  SWIG_fail;
269153  }
269154  catch(...)
269155  {
269156  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269157  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269158  SWIG_fail;
269159  }
269160  }
269161  resultobj = SWIG_Py_Void();
269162  return resultobj;
269163 fail:
269164  return NULL;
269165 }
269166 
269167 
269168 SWIGINTERN PyObject *_wrap_RobotPartInterface_IOScaledValue(PyObject *self, PyObject *args) {
269169  int argc;
269170  PyObject *argv[3];
269171  int ii;
269172 
269173  if (!PyTuple_Check(args)) SWIG_fail;
269174  argc = args ? (int)PyObject_Length(args) : 0;
269175  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
269176  argv[ii] = PyTuple_GET_ITEM(args,ii);
269177  }
269178  if (argc == 1) {
269179  int _v;
269180  void *vptr = 0;
269181  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
269182  _v = SWIG_CheckState(res);
269183  if (_v) {
269184  return _wrap_RobotPartInterface_IOScaledValue__SWIG_0(self, args);
269185  }
269186  }
269187  if (argc == 2) {
269188  int _v;
269189  void *vptr = 0;
269190  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
269191  _v = SWIG_CheckState(res);
269192  if (_v) {
269193  {
269194  int res = SWIG_AsVal_float(argv[1], NULL);
269195  _v = SWIG_CheckState(res);
269196  }
269197  if (_v) {
269198  return _wrap_RobotPartInterface_IOScaledValue__SWIG_1(self, args);
269199  }
269200  }
269201  }
269202 
269203 fail:
269204  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotPartInterface_IOScaledValue'.\n"
269205  " Possible C/C++ prototypes are:\n"
269206  " AnimatSim::Robotics::RobotPartInterface::IOScaledValue()\n"
269207  " AnimatSim::Robotics::RobotPartInterface::IOScaledValue(float)\n");
269208  return 0;
269209 }
269210 
269211 
269212 SWIGINTERN PyObject *_wrap_RobotPartInterface_Changed__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269213  PyObject *resultobj = 0;
269215  void *argp1 = 0 ;
269216  int res1 = 0 ;
269217  PyObject * obj0 = 0 ;
269218  bool result;
269219 
269220  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_Changed",&obj0)) SWIG_fail;
269221  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269222  if (!SWIG_IsOK(res1)) {
269223  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_Changed" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269224  }
269225  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269226  {
269227  try {
269228  result = (bool)(arg1)->Changed();
269229  }
269230  catch(CStdErrorInfo oError)
269231  {
269232  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269233  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269234  PyErr_SetString(PyExc_IndexError, strError.c_str());
269235  SWIG_fail;
269236  }
269237  catch(...)
269238  {
269239  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269240  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269241  SWIG_fail;
269242  }
269243  }
269244  resultobj = SWIG_From_bool(static_cast< bool >(result));
269245  return resultobj;
269246 fail:
269247  return NULL;
269248 }
269249 
269250 
269251 SWIGINTERN PyObject *_wrap_RobotPartInterface_Changed__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269252  PyObject *resultobj = 0;
269254  bool arg2 ;
269255  void *argp1 = 0 ;
269256  int res1 = 0 ;
269257  bool val2 ;
269258  int ecode2 = 0 ;
269259  PyObject * obj0 = 0 ;
269260  PyObject * obj1 = 0 ;
269261 
269262  if (!PyArg_ParseTuple(args,(char *)"OO:RobotPartInterface_Changed",&obj0,&obj1)) SWIG_fail;
269263  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269264  if (!SWIG_IsOK(res1)) {
269265  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_Changed" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269266  }
269267  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269268  ecode2 = SWIG_AsVal_bool(obj1, &val2);
269269  if (!SWIG_IsOK(ecode2)) {
269270  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RobotPartInterface_Changed" "', argument " "2"" of type '" "bool""'");
269271  }
269272  arg2 = static_cast< bool >(val2);
269273  {
269274  try {
269275  (arg1)->Changed(arg2);
269276  }
269277  catch(CStdErrorInfo oError)
269278  {
269279  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269280  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269281  PyErr_SetString(PyExc_IndexError, strError.c_str());
269282  SWIG_fail;
269283  }
269284  catch(...)
269285  {
269286  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269287  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269288  SWIG_fail;
269289  }
269290  }
269291  resultobj = SWIG_Py_Void();
269292  return resultobj;
269293 fail:
269294  return NULL;
269295 }
269296 
269297 
269298 SWIGINTERN PyObject *_wrap_RobotPartInterface_Changed(PyObject *self, PyObject *args) {
269299  int argc;
269300  PyObject *argv[3];
269301  int ii;
269302 
269303  if (!PyTuple_Check(args)) SWIG_fail;
269304  argc = args ? (int)PyObject_Length(args) : 0;
269305  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
269306  argv[ii] = PyTuple_GET_ITEM(args,ii);
269307  }
269308  if (argc == 1) {
269309  int _v;
269310  void *vptr = 0;
269311  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
269312  _v = SWIG_CheckState(res);
269313  if (_v) {
269314  return _wrap_RobotPartInterface_Changed__SWIG_0(self, args);
269315  }
269316  }
269317  if (argc == 2) {
269318  int _v;
269319  void *vptr = 0;
269320  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
269321  _v = SWIG_CheckState(res);
269322  if (_v) {
269323  {
269324  int res = SWIG_AsVal_bool(argv[1], NULL);
269325  _v = SWIG_CheckState(res);
269326  }
269327  if (_v) {
269328  return _wrap_RobotPartInterface_Changed__SWIG_1(self, args);
269329  }
269330  }
269331  }
269332 
269333 fail:
269334  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotPartInterface_Changed'.\n"
269335  " Possible C/C++ prototypes are:\n"
269336  " AnimatSim::Robotics::RobotPartInterface::Changed()\n"
269337  " AnimatSim::Robotics::RobotPartInterface::Changed(bool)\n");
269338  return 0;
269339 }
269340 
269341 
269342 SWIGINTERN PyObject *_wrap_RobotPartInterface_LinkedPartID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269343  PyObject *resultobj = 0;
269345  std::string arg2 ;
269346  void *argp1 = 0 ;
269347  int res1 = 0 ;
269348  PyObject * obj0 = 0 ;
269349  PyObject * obj1 = 0 ;
269350 
269351  if (!PyArg_ParseTuple(args,(char *)"OO:RobotPartInterface_LinkedPartID",&obj0,&obj1)) SWIG_fail;
269352  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269353  if (!SWIG_IsOK(res1)) {
269354  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_LinkedPartID" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269355  }
269356  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269357  {
269358  std::string *ptr = (std::string *)0;
269359  int res = SWIG_AsPtr_std_string(obj1, &ptr);
269360  if (!SWIG_IsOK(res) || !ptr) {
269361  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RobotPartInterface_LinkedPartID" "', argument " "2"" of type '" "std::string""'");
269362  }
269363  arg2 = *ptr;
269364  if (SWIG_IsNewObj(res)) delete ptr;
269365  }
269366  {
269367  try {
269368  (arg1)->LinkedPartID(arg2);
269369  }
269370  catch(CStdErrorInfo oError)
269371  {
269372  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269373  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269374  PyErr_SetString(PyExc_IndexError, strError.c_str());
269375  SWIG_fail;
269376  }
269377  catch(...)
269378  {
269379  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269380  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269381  SWIG_fail;
269382  }
269383  }
269384  resultobj = SWIG_Py_Void();
269385  return resultobj;
269386 fail:
269387  return NULL;
269388 }
269389 
269390 
269391 SWIGINTERN PyObject *_wrap_RobotPartInterface_LinkedPartID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269392  PyObject *resultobj = 0;
269394  void *argp1 = 0 ;
269395  int res1 = 0 ;
269396  PyObject * obj0 = 0 ;
269397  std::string result;
269398 
269399  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_LinkedPartID",&obj0)) SWIG_fail;
269400  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269401  if (!SWIG_IsOK(res1)) {
269402  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_LinkedPartID" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269403  }
269404  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269405  {
269406  try {
269407  result = (arg1)->LinkedPartID();
269408  }
269409  catch(CStdErrorInfo oError)
269410  {
269411  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269412  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269413  PyErr_SetString(PyExc_IndexError, strError.c_str());
269414  SWIG_fail;
269415  }
269416  catch(...)
269417  {
269418  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269419  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269420  SWIG_fail;
269421  }
269422  }
269423  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
269424  return resultobj;
269425 fail:
269426  return NULL;
269427 }
269428 
269429 
269430 SWIGINTERN PyObject *_wrap_RobotPartInterface_LinkedPartID(PyObject *self, PyObject *args) {
269431  int argc;
269432  PyObject *argv[3];
269433  int ii;
269434 
269435  if (!PyTuple_Check(args)) SWIG_fail;
269436  argc = args ? (int)PyObject_Length(args) : 0;
269437  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
269438  argv[ii] = PyTuple_GET_ITEM(args,ii);
269439  }
269440  if (argc == 1) {
269441  int _v;
269442  void *vptr = 0;
269443  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
269444  _v = SWIG_CheckState(res);
269445  if (_v) {
269446  return _wrap_RobotPartInterface_LinkedPartID__SWIG_1(self, args);
269447  }
269448  }
269449  if (argc == 2) {
269450  int _v;
269451  void *vptr = 0;
269452  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
269453  _v = SWIG_CheckState(res);
269454  if (_v) {
269455  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
269456  _v = SWIG_CheckState(res);
269457  if (_v) {
269458  return _wrap_RobotPartInterface_LinkedPartID__SWIG_0(self, args);
269459  }
269460  }
269461  }
269462 
269463 fail:
269464  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotPartInterface_LinkedPartID'.\n"
269465  " Possible C/C++ prototypes are:\n"
269466  " AnimatSim::Robotics::RobotPartInterface::LinkedPartID(std::string)\n"
269467  " AnimatSim::Robotics::RobotPartInterface::LinkedPartID()\n");
269468  return 0;
269469 }
269470 
269471 
269472 SWIGINTERN PyObject *_wrap_RobotPartInterface_PropertyName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269473  PyObject *resultobj = 0;
269475  std::string arg2 ;
269476  void *argp1 = 0 ;
269477  int res1 = 0 ;
269478  PyObject * obj0 = 0 ;
269479  PyObject * obj1 = 0 ;
269480 
269481  if (!PyArg_ParseTuple(args,(char *)"OO:RobotPartInterface_PropertyName",&obj0,&obj1)) SWIG_fail;
269482  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269483  if (!SWIG_IsOK(res1)) {
269484  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_PropertyName" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269485  }
269486  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269487  {
269488  std::string *ptr = (std::string *)0;
269489  int res = SWIG_AsPtr_std_string(obj1, &ptr);
269490  if (!SWIG_IsOK(res) || !ptr) {
269491  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RobotPartInterface_PropertyName" "', argument " "2"" of type '" "std::string""'");
269492  }
269493  arg2 = *ptr;
269494  if (SWIG_IsNewObj(res)) delete ptr;
269495  }
269496  {
269497  try {
269498  (arg1)->PropertyName(arg2);
269499  }
269500  catch(CStdErrorInfo oError)
269501  {
269502  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269503  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269504  PyErr_SetString(PyExc_IndexError, strError.c_str());
269505  SWIG_fail;
269506  }
269507  catch(...)
269508  {
269509  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269510  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269511  SWIG_fail;
269512  }
269513  }
269514  resultobj = SWIG_Py_Void();
269515  return resultobj;
269516 fail:
269517  return NULL;
269518 }
269519 
269520 
269521 SWIGINTERN PyObject *_wrap_RobotPartInterface_PropertyName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269522  PyObject *resultobj = 0;
269524  void *argp1 = 0 ;
269525  int res1 = 0 ;
269526  PyObject * obj0 = 0 ;
269527  std::string result;
269528 
269529  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_PropertyName",&obj0)) SWIG_fail;
269530  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269531  if (!SWIG_IsOK(res1)) {
269532  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_PropertyName" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269533  }
269534  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269535  {
269536  try {
269537  result = (arg1)->PropertyName();
269538  }
269539  catch(CStdErrorInfo oError)
269540  {
269541  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269542  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269543  PyErr_SetString(PyExc_IndexError, strError.c_str());
269544  SWIG_fail;
269545  }
269546  catch(...)
269547  {
269548  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269549  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269550  SWIG_fail;
269551  }
269552  }
269553  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
269554  return resultobj;
269555 fail:
269556  return NULL;
269557 }
269558 
269559 
269560 SWIGINTERN PyObject *_wrap_RobotPartInterface_PropertyName(PyObject *self, PyObject *args) {
269561  int argc;
269562  PyObject *argv[3];
269563  int ii;
269564 
269565  if (!PyTuple_Check(args)) SWIG_fail;
269566  argc = args ? (int)PyObject_Length(args) : 0;
269567  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
269568  argv[ii] = PyTuple_GET_ITEM(args,ii);
269569  }
269570  if (argc == 1) {
269571  int _v;
269572  void *vptr = 0;
269573  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
269574  _v = SWIG_CheckState(res);
269575  if (_v) {
269576  return _wrap_RobotPartInterface_PropertyName__SWIG_1(self, args);
269577  }
269578  }
269579  if (argc == 2) {
269580  int _v;
269581  void *vptr = 0;
269582  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
269583  _v = SWIG_CheckState(res);
269584  if (_v) {
269585  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
269586  _v = SWIG_CheckState(res);
269587  if (_v) {
269588  return _wrap_RobotPartInterface_PropertyName__SWIG_0(self, args);
269589  }
269590  }
269591  }
269592 
269593 fail:
269594  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotPartInterface_PropertyName'.\n"
269595  " Possible C/C++ prototypes are:\n"
269596  " AnimatSim::Robotics::RobotPartInterface::PropertyName(std::string)\n"
269597  " AnimatSim::Robotics::RobotPartInterface::PropertyName()\n");
269598  return 0;
269599 }
269600 
269601 
269602 SWIGINTERN PyObject *_wrap_RobotPartInterface_IsMotorControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269603  PyObject *resultobj = 0;
269605  void *argp1 = 0 ;
269606  int res1 = 0 ;
269607  PyObject * obj0 = 0 ;
269608  bool result;
269609 
269610  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_IsMotorControl",&obj0)) SWIG_fail;
269611  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269612  if (!SWIG_IsOK(res1)) {
269613  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_IsMotorControl" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269614  }
269615  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269616  {
269617  try {
269618  result = (bool)(arg1)->IsMotorControl();
269619  }
269620  catch(CStdErrorInfo oError)
269621  {
269622  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269623  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269624  PyErr_SetString(PyExc_IndexError, strError.c_str());
269625  SWIG_fail;
269626  }
269627  catch(...)
269628  {
269629  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269630  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269631  SWIG_fail;
269632  }
269633  }
269634  resultobj = SWIG_From_bool(static_cast< bool >(result));
269635  return resultobj;
269636 fail:
269637  return NULL;
269638 }
269639 
269640 
269641 SWIGINTERN PyObject *_wrap_RobotPartInterface_IncludeInPartsCycle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269642  PyObject *resultobj = 0;
269644  void *argp1 = 0 ;
269645  int res1 = 0 ;
269646  PyObject * obj0 = 0 ;
269647  bool result;
269648 
269649  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_IncludeInPartsCycle",&obj0)) SWIG_fail;
269650  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269651  if (!SWIG_IsOK(res1)) {
269652  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_IncludeInPartsCycle" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269653  }
269654  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269655  {
269656  try {
269657  result = (bool)(arg1)->IncludeInPartsCycle();
269658  }
269659  catch(CStdErrorInfo oError)
269660  {
269661  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269662  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269663  PyErr_SetString(PyExc_IndexError, strError.c_str());
269664  SWIG_fail;
269665  }
269666  catch(...)
269667  {
269668  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269669  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269670  SWIG_fail;
269671  }
269672  }
269673  resultobj = SWIG_From_bool(static_cast< bool >(result));
269674  return resultobj;
269675 fail:
269676  return NULL;
269677 }
269678 
269679 
269680 SWIGINTERN PyObject *_wrap_RobotPartInterface_QuantizeServoPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269681  PyObject *resultobj = 0;
269683  float arg2 ;
269684  void *argp1 = 0 ;
269685  int res1 = 0 ;
269686  float val2 ;
269687  int ecode2 = 0 ;
269688  PyObject * obj0 = 0 ;
269689  PyObject * obj1 = 0 ;
269690  float result;
269691 
269692  if (!PyArg_ParseTuple(args,(char *)"OO:RobotPartInterface_QuantizeServoPosition",&obj0,&obj1)) SWIG_fail;
269693  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269694  if (!SWIG_IsOK(res1)) {
269695  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_QuantizeServoPosition" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269696  }
269697  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269698  ecode2 = SWIG_AsVal_float(obj1, &val2);
269699  if (!SWIG_IsOK(ecode2)) {
269700  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RobotPartInterface_QuantizeServoPosition" "', argument " "2"" of type '" "float""'");
269701  }
269702  arg2 = static_cast< float >(val2);
269703  {
269704  try {
269705  result = (float)(arg1)->QuantizeServoPosition(arg2);
269706  }
269707  catch(CStdErrorInfo oError)
269708  {
269709  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269710  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269711  PyErr_SetString(PyExc_IndexError, strError.c_str());
269712  SWIG_fail;
269713  }
269714  catch(...)
269715  {
269716  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269717  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269718  SWIG_fail;
269719  }
269720  }
269721  resultobj = SWIG_From_float(static_cast< float >(result));
269722  return resultobj;
269723 fail:
269724  return NULL;
269725 }
269726 
269727 
269728 SWIGINTERN PyObject *_wrap_RobotPartInterface_QuantizeServoVelocity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269729  PyObject *resultobj = 0;
269731  float arg2 ;
269732  void *argp1 = 0 ;
269733  int res1 = 0 ;
269734  float val2 ;
269735  int ecode2 = 0 ;
269736  PyObject * obj0 = 0 ;
269737  PyObject * obj1 = 0 ;
269738  float result;
269739 
269740  if (!PyArg_ParseTuple(args,(char *)"OO:RobotPartInterface_QuantizeServoVelocity",&obj0,&obj1)) SWIG_fail;
269741  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269742  if (!SWIG_IsOK(res1)) {
269743  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_QuantizeServoVelocity" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269744  }
269745  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269746  ecode2 = SWIG_AsVal_float(obj1, &val2);
269747  if (!SWIG_IsOK(ecode2)) {
269748  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RobotPartInterface_QuantizeServoVelocity" "', argument " "2"" of type '" "float""'");
269749  }
269750  arg2 = static_cast< float >(val2);
269751  {
269752  try {
269753  result = (float)(arg1)->QuantizeServoVelocity(arg2);
269754  }
269755  catch(CStdErrorInfo oError)
269756  {
269757  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269758  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269759  PyErr_SetString(PyExc_IndexError, strError.c_str());
269760  SWIG_fail;
269761  }
269762  catch(...)
269763  {
269764  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269765  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269766  SWIG_fail;
269767  }
269768  }
269769  resultobj = SWIG_From_float(static_cast< float >(result));
269770  return resultobj;
269771 fail:
269772  return NULL;
269773 }
269774 
269775 
269776 SWIGINTERN PyObject *_wrap_RobotPartInterface_GetGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269777  PyObject *resultobj = 0;
269779  void *argp1 = 0 ;
269780  int res1 = 0 ;
269781  PyObject * obj0 = 0 ;
269782  Gain *result = 0 ;
269783 
269784  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_GetGain",&obj0)) SWIG_fail;
269785  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269786  if (!SWIG_IsOK(res1)) {
269787  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_GetGain" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269788  }
269789  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269790  {
269791  try {
269792  result = (Gain *)(arg1)->GetGain();
269793  }
269794  catch(CStdErrorInfo oError)
269795  {
269796  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269797  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269798  PyErr_SetString(PyExc_IndexError, strError.c_str());
269799  SWIG_fail;
269800  }
269801  catch(...)
269802  {
269803  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269804  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269805  SWIG_fail;
269806  }
269807  }
269808  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gain, 0 | 0 );
269809  return resultobj;
269810 fail:
269811  return NULL;
269812 }
269813 
269814 
269815 SWIGINTERN PyObject *_wrap_RobotPartInterface_SetGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269816  PyObject *resultobj = 0;
269818  Gain *arg2 = (Gain *) 0 ;
269819  void *argp1 = 0 ;
269820  int res1 = 0 ;
269821  void *argp2 = 0 ;
269822  int res2 = 0 ;
269823  PyObject * obj0 = 0 ;
269824  PyObject * obj1 = 0 ;
269825 
269826  if (!PyArg_ParseTuple(args,(char *)"OO:RobotPartInterface_SetGain",&obj0,&obj1)) SWIG_fail;
269827  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269828  if (!SWIG_IsOK(res1)) {
269829  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_SetGain" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269830  }
269831  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269832  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gain, 0 | 0 );
269833  if (!SWIG_IsOK(res2)) {
269834  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotPartInterface_SetGain" "', argument " "2"" of type '" "Gain *""'");
269835  }
269836  arg2 = reinterpret_cast< Gain * >(argp2);
269837  {
269838  try {
269839  (arg1)->SetGain(arg2);
269840  }
269841  catch(CStdErrorInfo oError)
269842  {
269843  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269844  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269845  PyErr_SetString(PyExc_IndexError, strError.c_str());
269846  SWIG_fail;
269847  }
269848  catch(...)
269849  {
269850  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269851  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269852  SWIG_fail;
269853  }
269854  }
269855  resultobj = SWIG_Py_Void();
269856  return resultobj;
269857 fail:
269858  return NULL;
269859 }
269860 
269861 
269862 SWIGINTERN PyObject *_wrap_RobotPartInterface_StepIODuration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269863  PyObject *resultobj = 0;
269865  void *argp1 = 0 ;
269866  int res1 = 0 ;
269867  PyObject * obj0 = 0 ;
269868  float result;
269869 
269870  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_StepIODuration",&obj0)) SWIG_fail;
269871  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269872  if (!SWIG_IsOK(res1)) {
269873  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_StepIODuration" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269874  }
269875  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269876  {
269877  try {
269878  result = (float)(arg1)->StepIODuration();
269879  }
269880  catch(CStdErrorInfo oError)
269881  {
269882  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269883  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269884  PyErr_SetString(PyExc_IndexError, strError.c_str());
269885  SWIG_fail;
269886  }
269887  catch(...)
269888  {
269889  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269890  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269891  SWIG_fail;
269892  }
269893  }
269894  resultobj = SWIG_From_float(static_cast< float >(result));
269895  return resultobj;
269896 fail:
269897  return NULL;
269898 }
269899 
269900 
269901 SWIGINTERN PyObject *_wrap_RobotPartInterface_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269902  PyObject *resultobj = 0;
269904  std::string *arg2 = 0 ;
269905  void *argp1 = 0 ;
269906  int res1 = 0 ;
269907  int res2 = SWIG_OLDOBJ ;
269908  PyObject * obj0 = 0 ;
269909  PyObject * obj1 = 0 ;
269910  float *result = 0 ;
269911 
269912  if (!PyArg_ParseTuple(args,(char *)"OO:RobotPartInterface_GetDataPointer",&obj0,&obj1)) SWIG_fail;
269913  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269914  if (!SWIG_IsOK(res1)) {
269915  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269916  }
269917  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269918  {
269919  std::string *ptr = (std::string *)0;
269920  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
269921  if (!SWIG_IsOK(res2)) {
269922  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotPartInterface_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
269923  }
269924  if (!ptr) {
269925  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotPartInterface_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
269926  }
269927  arg2 = ptr;
269928  }
269929  {
269930  try {
269931  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
269932  }
269933  catch(CStdErrorInfo oError)
269934  {
269935  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269936  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
269937  PyErr_SetString(PyExc_IndexError, strError.c_str());
269938  SWIG_fail;
269939  }
269940  catch(...)
269941  {
269942  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
269943  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
269944  SWIG_fail;
269945  }
269946  }
269947  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
269948  if (SWIG_IsNewObj(res2)) delete arg2;
269949  return resultobj;
269950 fail:
269951  if (SWIG_IsNewObj(res2)) delete arg2;
269952  return NULL;
269953 }
269954 
269955 
269956 SWIGINTERN PyObject *_wrap_RobotPartInterface_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
269957  PyObject *resultobj = 0;
269959  std::string *arg2 = 0 ;
269960  std::string *arg3 = 0 ;
269961  bool arg4 ;
269962  void *argp1 = 0 ;
269963  int res1 = 0 ;
269964  int res2 = SWIG_OLDOBJ ;
269965  int res3 = SWIG_OLDOBJ ;
269966  bool val4 ;
269967  int ecode4 = 0 ;
269968  PyObject * obj0 = 0 ;
269969  PyObject * obj1 = 0 ;
269970  PyObject * obj2 = 0 ;
269971  PyObject * obj3 = 0 ;
269972  bool result;
269973 
269974  if (!PyArg_ParseTuple(args,(char *)"OOOO:RobotPartInterface_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
269975  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
269976  if (!SWIG_IsOK(res1)) {
269977  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_SetData" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
269978  }
269979  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
269980  {
269981  std::string *ptr = (std::string *)0;
269982  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
269983  if (!SWIG_IsOK(res2)) {
269984  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotPartInterface_SetData" "', argument " "2"" of type '" "std::string const &""'");
269985  }
269986  if (!ptr) {
269987  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotPartInterface_SetData" "', argument " "2"" of type '" "std::string const &""'");
269988  }
269989  arg2 = ptr;
269990  }
269991  {
269992  std::string *ptr = (std::string *)0;
269993  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
269994  if (!SWIG_IsOK(res3)) {
269995  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotPartInterface_SetData" "', argument " "3"" of type '" "std::string const &""'");
269996  }
269997  if (!ptr) {
269998  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotPartInterface_SetData" "', argument " "3"" of type '" "std::string const &""'");
269999  }
270000  arg3 = ptr;
270001  }
270002  ecode4 = SWIG_AsVal_bool(obj3, &val4);
270003  if (!SWIG_IsOK(ecode4)) {
270004  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RobotPartInterface_SetData" "', argument " "4"" of type '" "bool""'");
270005  }
270006  arg4 = static_cast< bool >(val4);
270007  {
270008  try {
270009  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
270010  }
270011  catch(CStdErrorInfo oError)
270012  {
270013  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270014  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270015  PyErr_SetString(PyExc_IndexError, strError.c_str());
270016  SWIG_fail;
270017  }
270018  catch(...)
270019  {
270020  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270021  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270022  SWIG_fail;
270023  }
270024  }
270025  resultobj = SWIG_From_bool(static_cast< bool >(result));
270026  if (SWIG_IsNewObj(res2)) delete arg2;
270027  if (SWIG_IsNewObj(res3)) delete arg3;
270028  return resultobj;
270029 fail:
270030  if (SWIG_IsNewObj(res2)) delete arg2;
270031  if (SWIG_IsNewObj(res3)) delete arg3;
270032  return NULL;
270033 }
270034 
270035 
270036 SWIGINTERN PyObject *_wrap_RobotPartInterface_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270037  PyObject *resultobj = 0;
270039  std::string *arg2 = 0 ;
270040  std::string *arg3 = 0 ;
270041  void *argp1 = 0 ;
270042  int res1 = 0 ;
270043  int res2 = SWIG_OLDOBJ ;
270044  int res3 = SWIG_OLDOBJ ;
270045  PyObject * obj0 = 0 ;
270046  PyObject * obj1 = 0 ;
270047  PyObject * obj2 = 0 ;
270048  bool result;
270049 
270050  if (!PyArg_ParseTuple(args,(char *)"OOO:RobotPartInterface_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
270051  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
270052  if (!SWIG_IsOK(res1)) {
270053  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_SetData" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
270054  }
270055  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
270056  {
270057  std::string *ptr = (std::string *)0;
270058  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
270059  if (!SWIG_IsOK(res2)) {
270060  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotPartInterface_SetData" "', argument " "2"" of type '" "std::string const &""'");
270061  }
270062  if (!ptr) {
270063  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotPartInterface_SetData" "', argument " "2"" of type '" "std::string const &""'");
270064  }
270065  arg2 = ptr;
270066  }
270067  {
270068  std::string *ptr = (std::string *)0;
270069  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
270070  if (!SWIG_IsOK(res3)) {
270071  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RobotPartInterface_SetData" "', argument " "3"" of type '" "std::string const &""'");
270072  }
270073  if (!ptr) {
270074  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotPartInterface_SetData" "', argument " "3"" of type '" "std::string const &""'");
270075  }
270076  arg3 = ptr;
270077  }
270078  {
270079  try {
270080  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
270081  }
270082  catch(CStdErrorInfo oError)
270083  {
270084  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270085  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270086  PyErr_SetString(PyExc_IndexError, strError.c_str());
270087  SWIG_fail;
270088  }
270089  catch(...)
270090  {
270091  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270092  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270093  SWIG_fail;
270094  }
270095  }
270096  resultobj = SWIG_From_bool(static_cast< bool >(result));
270097  if (SWIG_IsNewObj(res2)) delete arg2;
270098  if (SWIG_IsNewObj(res3)) delete arg3;
270099  return resultobj;
270100 fail:
270101  if (SWIG_IsNewObj(res2)) delete arg2;
270102  if (SWIG_IsNewObj(res3)) delete arg3;
270103  return NULL;
270104 }
270105 
270106 
270107 SWIGINTERN PyObject *_wrap_RobotPartInterface_SetData(PyObject *self, PyObject *args) {
270108  int argc;
270109  PyObject *argv[5];
270110  int ii;
270111 
270112  if (!PyTuple_Check(args)) SWIG_fail;
270113  argc = args ? (int)PyObject_Length(args) : 0;
270114  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
270115  argv[ii] = PyTuple_GET_ITEM(args,ii);
270116  }
270117  if (argc == 3) {
270118  int _v;
270119  void *vptr = 0;
270120  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
270121  _v = SWIG_CheckState(res);
270122  if (_v) {
270123  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
270124  _v = SWIG_CheckState(res);
270125  if (_v) {
270126  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
270127  _v = SWIG_CheckState(res);
270128  if (_v) {
270129  return _wrap_RobotPartInterface_SetData__SWIG_1(self, args);
270130  }
270131  }
270132  }
270133  }
270134  if (argc == 4) {
270135  int _v;
270136  void *vptr = 0;
270137  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0);
270138  _v = SWIG_CheckState(res);
270139  if (_v) {
270140  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
270141  _v = SWIG_CheckState(res);
270142  if (_v) {
270143  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
270144  _v = SWIG_CheckState(res);
270145  if (_v) {
270146  {
270147  int res = SWIG_AsVal_bool(argv[3], NULL);
270148  _v = SWIG_CheckState(res);
270149  }
270150  if (_v) {
270151  return _wrap_RobotPartInterface_SetData__SWIG_0(self, args);
270152  }
270153  }
270154  }
270155  }
270156  }
270157 
270158 fail:
270159  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RobotPartInterface_SetData'.\n"
270160  " Possible C/C++ prototypes are:\n"
270161  " AnimatSim::Robotics::RobotPartInterface::SetData(std::string const &,std::string const &,bool)\n"
270162  " AnimatSim::Robotics::RobotPartInterface::SetData(std::string const &,std::string const &)\n");
270163  return 0;
270164 }
270165 
270166 
270167 SWIGINTERN PyObject *_wrap_RobotPartInterface_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270168  PyObject *resultobj = 0;
270170  CStdPtrArray< TypeProperty > *arg2 = 0 ;
270171  void *argp1 = 0 ;
270172  int res1 = 0 ;
270173  void *argp2 = 0 ;
270174  int res2 = 0 ;
270175  PyObject * obj0 = 0 ;
270176  PyObject * obj1 = 0 ;
270177 
270178  if (!PyArg_ParseTuple(args,(char *)"OO:RobotPartInterface_QueryProperties",&obj0,&obj1)) SWIG_fail;
270179  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
270180  if (!SWIG_IsOK(res1)) {
270181  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
270182  }
270183  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
270184  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
270185  if (!SWIG_IsOK(res2)) {
270186  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotPartInterface_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
270187  }
270188  if (!argp2) {
270189  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotPartInterface_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
270190  }
270191  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
270192  {
270193  try {
270194  (arg1)->QueryProperties(*arg2);
270195  }
270196  catch(CStdErrorInfo oError)
270197  {
270198  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270199  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270200  PyErr_SetString(PyExc_IndexError, strError.c_str());
270201  SWIG_fail;
270202  }
270203  catch(...)
270204  {
270205  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270206  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270207  SWIG_fail;
270208  }
270209  }
270210  resultobj = SWIG_Py_Void();
270211  return resultobj;
270212 fail:
270213  return NULL;
270214 }
270215 
270216 
270217 SWIGINTERN PyObject *_wrap_RobotPartInterface_SetupIO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270218  PyObject *resultobj = 0;
270220  void *argp1 = 0 ;
270221  int res1 = 0 ;
270222  PyObject * obj0 = 0 ;
270223 
270224  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_SetupIO",&obj0)) SWIG_fail;
270225  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
270226  if (!SWIG_IsOK(res1)) {
270227  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_SetupIO" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
270228  }
270229  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
270230  {
270231  try {
270232  (arg1)->SetupIO();
270233  }
270234  catch(CStdErrorInfo oError)
270235  {
270236  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270237  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270238  PyErr_SetString(PyExc_IndexError, strError.c_str());
270239  SWIG_fail;
270240  }
270241  catch(...)
270242  {
270243  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270244  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270245  SWIG_fail;
270246  }
270247  }
270248  resultobj = SWIG_Py_Void();
270249  return resultobj;
270250 fail:
270251  return NULL;
270252 }
270253 
270254 
270255 SWIGINTERN PyObject *_wrap_RobotPartInterface_StepIO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270256  PyObject *resultobj = 0;
270258  int arg2 ;
270259  void *argp1 = 0 ;
270260  int res1 = 0 ;
270261  int val2 ;
270262  int ecode2 = 0 ;
270263  PyObject * obj0 = 0 ;
270264  PyObject * obj1 = 0 ;
270265 
270266  if (!PyArg_ParseTuple(args,(char *)"OO:RobotPartInterface_StepIO",&obj0,&obj1)) SWIG_fail;
270267  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
270268  if (!SWIG_IsOK(res1)) {
270269  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_StepIO" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
270270  }
270271  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
270272  ecode2 = SWIG_AsVal_int(obj1, &val2);
270273  if (!SWIG_IsOK(ecode2)) {
270274  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RobotPartInterface_StepIO" "', argument " "2"" of type '" "int""'");
270275  }
270276  arg2 = static_cast< int >(val2);
270277  {
270278  try {
270279  (arg1)->StepIO(arg2);
270280  }
270281  catch(CStdErrorInfo oError)
270282  {
270283  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270284  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270285  PyErr_SetString(PyExc_IndexError, strError.c_str());
270286  SWIG_fail;
270287  }
270288  catch(...)
270289  {
270290  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270291  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270292  SWIG_fail;
270293  }
270294  }
270295  resultobj = SWIG_Py_Void();
270296  return resultobj;
270297 fail:
270298  return NULL;
270299 }
270300 
270301 
270302 SWIGINTERN PyObject *_wrap_RobotPartInterface_ShutdownIO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270303  PyObject *resultobj = 0;
270305  void *argp1 = 0 ;
270306  int res1 = 0 ;
270307  PyObject * obj0 = 0 ;
270308 
270309  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_ShutdownIO",&obj0)) SWIG_fail;
270310  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
270311  if (!SWIG_IsOK(res1)) {
270312  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_ShutdownIO" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
270313  }
270314  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
270315  {
270316  try {
270317  (arg1)->ShutdownIO();
270318  }
270319  catch(CStdErrorInfo oError)
270320  {
270321  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270322  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270323  PyErr_SetString(PyExc_IndexError, strError.c_str());
270324  SWIG_fail;
270325  }
270326  catch(...)
270327  {
270328  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270329  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270330  SWIG_fail;
270331  }
270332  }
270333  resultobj = SWIG_Py_Void();
270334  return resultobj;
270335 fail:
270336  return NULL;
270337 }
270338 
270339 
270340 SWIGINTERN PyObject *_wrap_RobotPartInterface_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270341  PyObject *resultobj = 0;
270343  void *argp1 = 0 ;
270344  int res1 = 0 ;
270345  PyObject * obj0 = 0 ;
270346 
270347  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_Initialize",&obj0)) SWIG_fail;
270348  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
270349  if (!SWIG_IsOK(res1)) {
270350  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_Initialize" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
270351  }
270352  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
270353  {
270354  try {
270355  (arg1)->Initialize();
270356  }
270357  catch(CStdErrorInfo oError)
270358  {
270359  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270360  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270361  PyErr_SetString(PyExc_IndexError, strError.c_str());
270362  SWIG_fail;
270363  }
270364  catch(...)
270365  {
270366  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270367  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270368  SWIG_fail;
270369  }
270370  }
270371  resultobj = SWIG_Py_Void();
270372  return resultobj;
270373 fail:
270374  return NULL;
270375 }
270376 
270377 
270378 SWIGINTERN PyObject *_wrap_RobotPartInterface_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270379  PyObject *resultobj = 0;
270381  void *argp1 = 0 ;
270382  int res1 = 0 ;
270383  PyObject * obj0 = 0 ;
270384 
270385  if (!PyArg_ParseTuple(args,(char *)"O:RobotPartInterface_ResetSimulation",&obj0)) SWIG_fail;
270386  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
270387  if (!SWIG_IsOK(res1)) {
270388  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
270389  }
270390  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
270391  {
270392  try {
270393  (arg1)->ResetSimulation();
270394  }
270395  catch(CStdErrorInfo oError)
270396  {
270397  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270398  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270399  PyErr_SetString(PyExc_IndexError, strError.c_str());
270400  SWIG_fail;
270401  }
270402  catch(...)
270403  {
270404  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270405  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270406  SWIG_fail;
270407  }
270408  }
270409  resultobj = SWIG_Py_Void();
270410  return resultobj;
270411 fail:
270412  return NULL;
270413 }
270414 
270415 
270416 SWIGINTERN PyObject *_wrap_RobotPartInterface_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270417  PyObject *resultobj = 0;
270419  StdUtils::CStdXml *arg2 = 0 ;
270420  void *argp1 = 0 ;
270421  int res1 = 0 ;
270422  void *argp2 = 0 ;
270423  int res2 = 0 ;
270424  PyObject * obj0 = 0 ;
270425  PyObject * obj1 = 0 ;
270426 
270427  if (!PyArg_ParseTuple(args,(char *)"OO:RobotPartInterface_Load",&obj0,&obj1)) SWIG_fail;
270428  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, 0 | 0 );
270429  if (!SWIG_IsOK(res1)) {
270430  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RobotPartInterface_Load" "', argument " "1"" of type '" "AnimatSim::Robotics::RobotPartInterface *""'");
270431  }
270432  arg1 = reinterpret_cast< AnimatSim::Robotics::RobotPartInterface * >(argp1);
270433  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
270434  if (!SWIG_IsOK(res2)) {
270435  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RobotPartInterface_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
270436  }
270437  if (!argp2) {
270438  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RobotPartInterface_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
270439  }
270440  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
270441  {
270442  try {
270443  (arg1)->Load(*arg2);
270444  }
270445  catch(CStdErrorInfo oError)
270446  {
270447  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270448  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270449  PyErr_SetString(PyExc_IndexError, strError.c_str());
270450  SWIG_fail;
270451  }
270452  catch(...)
270453  {
270454  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270455  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270456  SWIG_fail;
270457  }
270458  }
270459  resultobj = SWIG_Py_Void();
270460  return resultobj;
270461 fail:
270462  return NULL;
270463 }
270464 
270465 
270466 SWIGINTERN PyObject *RobotPartInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270467  PyObject *obj;
270468  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
270469  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface, SWIG_NewClientData(obj));
270470  return SWIG_Py_Void();
270471 }
270472 
270473 SWIGINTERN PyObject *_wrap_delete_RemoteControlLinkage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270474  PyObject *resultobj = 0;
270476  void *argp1 = 0 ;
270477  int res1 = 0 ;
270478  PyObject * obj0 = 0 ;
270479 
270480  if (!PyArg_ParseTuple(args,(char *)"O:delete_RemoteControlLinkage",&obj0)) SWIG_fail;
270481  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, SWIG_POINTER_DISOWN | 0 );
270482  if (!SWIG_IsOK(res1)) {
270483  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RemoteControlLinkage" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
270484  }
270485  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
270486  {
270487  try {
270488  delete arg1;
270489  }
270490  catch(CStdErrorInfo oError)
270491  {
270492  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270493  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270494  PyErr_SetString(PyExc_IndexError, strError.c_str());
270495  SWIG_fail;
270496  }
270497  catch(...)
270498  {
270499  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270500  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270501  SWIG_fail;
270502  }
270503  }
270504  resultobj = SWIG_Py_Void();
270505  return resultobj;
270506 fail:
270507  return NULL;
270508 }
270509 
270510 
270511 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270512  PyObject *resultobj = 0;
270514  void *argp1 = 0 ;
270515  int res1 = 0 ;
270516  PyObject * obj0 = 0 ;
270518 
270519  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControlLinkage_CastToDerived",&obj0)) SWIG_fail;
270520  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
270521  if (!SWIG_IsOK(res1)) {
270522  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
270523  }
270524  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
270525  {
270526  try {
270527  result = (AnimatSim::Robotics::RemoteControlLinkage *)AnimatSim::Robotics::RemoteControlLinkage::CastToDerived(arg1);
270528  }
270529  catch(CStdErrorInfo oError)
270530  {
270531  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270532  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270533  PyErr_SetString(PyExc_IndexError, strError.c_str());
270534  SWIG_fail;
270535  }
270536  catch(...)
270537  {
270538  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270539  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270540  SWIG_fail;
270541  }
270542  }
270543  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
270544  return resultobj;
270545 fail:
270546  return NULL;
270547 }
270548 
270549 
270550 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_ParentRemoteControl__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270551  PyObject *resultobj = 0;
270554  void *argp1 = 0 ;
270555  int res1 = 0 ;
270556  void *argp2 = 0 ;
270557  int res2 = 0 ;
270558  PyObject * obj0 = 0 ;
270559  PyObject * obj1 = 0 ;
270560 
270561  if (!PyArg_ParseTuple(args,(char *)"OO:RemoteControlLinkage_ParentRemoteControl",&obj0,&obj1)) SWIG_fail;
270562  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
270563  if (!SWIG_IsOK(res1)) {
270564  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_ParentRemoteControl" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
270565  }
270566  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
270567  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
270568  if (!SWIG_IsOK(res2)) {
270569  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemoteControlLinkage_ParentRemoteControl" "', argument " "2"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
270570  }
270571  arg2 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp2);
270572  {
270573  try {
270574  (arg1)->ParentRemoteControl(arg2);
270575  }
270576  catch(CStdErrorInfo oError)
270577  {
270578  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270579  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270580  PyErr_SetString(PyExc_IndexError, strError.c_str());
270581  SWIG_fail;
270582  }
270583  catch(...)
270584  {
270585  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270586  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270587  SWIG_fail;
270588  }
270589  }
270590  resultobj = SWIG_Py_Void();
270591  return resultobj;
270592 fail:
270593  return NULL;
270594 }
270595 
270596 
270597 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_ParentRemoteControl__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270598  PyObject *resultobj = 0;
270600  void *argp1 = 0 ;
270601  int res1 = 0 ;
270602  PyObject * obj0 = 0 ;
270603  AnimatSim::Robotics::RemoteControl *result = 0 ;
270604 
270605  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControlLinkage_ParentRemoteControl",&obj0)) SWIG_fail;
270606  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
270607  if (!SWIG_IsOK(res1)) {
270608  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_ParentRemoteControl" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
270609  }
270610  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
270611  {
270612  try {
270613  result = (AnimatSim::Robotics::RemoteControl *)(arg1)->ParentRemoteControl();
270614  }
270615  catch(CStdErrorInfo oError)
270616  {
270617  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270618  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270619  PyErr_SetString(PyExc_IndexError, strError.c_str());
270620  SWIG_fail;
270621  }
270622  catch(...)
270623  {
270624  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270625  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270626  SWIG_fail;
270627  }
270628  }
270629  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
270630  return resultobj;
270631 fail:
270632  return NULL;
270633 }
270634 
270635 
270636 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_ParentRemoteControl(PyObject *self, PyObject *args) {
270637  int argc;
270638  PyObject *argv[3];
270639  int ii;
270640 
270641  if (!PyTuple_Check(args)) SWIG_fail;
270642  argc = args ? (int)PyObject_Length(args) : 0;
270643  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
270644  argv[ii] = PyTuple_GET_ITEM(args,ii);
270645  }
270646  if (argc == 1) {
270647  int _v;
270648  void *vptr = 0;
270649  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0);
270650  _v = SWIG_CheckState(res);
270651  if (_v) {
270652  return _wrap_RemoteControlLinkage_ParentRemoteControl__SWIG_1(self, args);
270653  }
270654  }
270655  if (argc == 2) {
270656  int _v;
270657  void *vptr = 0;
270658  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0);
270659  _v = SWIG_CheckState(res);
270660  if (_v) {
270661  void *vptr = 0;
270662  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0);
270663  _v = SWIG_CheckState(res);
270664  if (_v) {
270665  return _wrap_RemoteControlLinkage_ParentRemoteControl__SWIG_0(self, args);
270666  }
270667  }
270668  }
270669 
270670 fail:
270671  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RemoteControlLinkage_ParentRemoteControl'.\n"
270672  " Possible C/C++ prototypes are:\n"
270673  " AnimatSim::Robotics::RemoteControlLinkage::ParentRemoteControl(AnimatSim::Robotics::RemoteControl *)\n"
270674  " AnimatSim::Robotics::RemoteControlLinkage::ParentRemoteControl()\n");
270675  return 0;
270676 }
270677 
270678 
270679 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_SourceID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270680  PyObject *resultobj = 0;
270682  void *argp1 = 0 ;
270683  int res1 = 0 ;
270684  PyObject * obj0 = 0 ;
270685  std::string result;
270686 
270687  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControlLinkage_SourceID",&obj0)) SWIG_fail;
270688  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
270689  if (!SWIG_IsOK(res1)) {
270690  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_SourceID" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
270691  }
270692  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
270693  {
270694  try {
270695  result = (arg1)->SourceID();
270696  }
270697  catch(CStdErrorInfo oError)
270698  {
270699  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270700  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270701  PyErr_SetString(PyExc_IndexError, strError.c_str());
270702  SWIG_fail;
270703  }
270704  catch(...)
270705  {
270706  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270707  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270708  SWIG_fail;
270709  }
270710  }
270711  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
270712  return resultobj;
270713 fail:
270714  return NULL;
270715 }
270716 
270717 
270718 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_SourceID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270719  PyObject *resultobj = 0;
270721  std::string arg2 ;
270722  void *argp1 = 0 ;
270723  int res1 = 0 ;
270724  PyObject * obj0 = 0 ;
270725  PyObject * obj1 = 0 ;
270726 
270727  if (!PyArg_ParseTuple(args,(char *)"OO:RemoteControlLinkage_SourceID",&obj0,&obj1)) SWIG_fail;
270728  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
270729  if (!SWIG_IsOK(res1)) {
270730  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_SourceID" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
270731  }
270732  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
270733  {
270734  std::string *ptr = (std::string *)0;
270735  int res = SWIG_AsPtr_std_string(obj1, &ptr);
270736  if (!SWIG_IsOK(res) || !ptr) {
270737  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RemoteControlLinkage_SourceID" "', argument " "2"" of type '" "std::string""'");
270738  }
270739  arg2 = *ptr;
270740  if (SWIG_IsNewObj(res)) delete ptr;
270741  }
270742  {
270743  try {
270744  (arg1)->SourceID(arg2);
270745  }
270746  catch(CStdErrorInfo oError)
270747  {
270748  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270749  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270750  PyErr_SetString(PyExc_IndexError, strError.c_str());
270751  SWIG_fail;
270752  }
270753  catch(...)
270754  {
270755  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270756  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270757  SWIG_fail;
270758  }
270759  }
270760  resultobj = SWIG_Py_Void();
270761  return resultobj;
270762 fail:
270763  return NULL;
270764 }
270765 
270766 
270767 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_SourceID(PyObject *self, PyObject *args) {
270768  int argc;
270769  PyObject *argv[3];
270770  int ii;
270771 
270772  if (!PyTuple_Check(args)) SWIG_fail;
270773  argc = args ? (int)PyObject_Length(args) : 0;
270774  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
270775  argv[ii] = PyTuple_GET_ITEM(args,ii);
270776  }
270777  if (argc == 1) {
270778  int _v;
270779  void *vptr = 0;
270780  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0);
270781  _v = SWIG_CheckState(res);
270782  if (_v) {
270783  return _wrap_RemoteControlLinkage_SourceID__SWIG_0(self, args);
270784  }
270785  }
270786  if (argc == 2) {
270787  int _v;
270788  void *vptr = 0;
270789  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0);
270790  _v = SWIG_CheckState(res);
270791  if (_v) {
270792  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
270793  _v = SWIG_CheckState(res);
270794  if (_v) {
270795  return _wrap_RemoteControlLinkage_SourceID__SWIG_1(self, args);
270796  }
270797  }
270798  }
270799 
270800 fail:
270801  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RemoteControlLinkage_SourceID'.\n"
270802  " Possible C/C++ prototypes are:\n"
270803  " AnimatSim::Robotics::RemoteControlLinkage::SourceID()\n"
270804  " AnimatSim::Robotics::RemoteControlLinkage::SourceID(std::string)\n");
270805  return 0;
270806 }
270807 
270808 
270809 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_TargetID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270810  PyObject *resultobj = 0;
270812  void *argp1 = 0 ;
270813  int res1 = 0 ;
270814  PyObject * obj0 = 0 ;
270815  std::string result;
270816 
270817  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControlLinkage_TargetID",&obj0)) SWIG_fail;
270818  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
270819  if (!SWIG_IsOK(res1)) {
270820  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_TargetID" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
270821  }
270822  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
270823  {
270824  try {
270825  result = (arg1)->TargetID();
270826  }
270827  catch(CStdErrorInfo oError)
270828  {
270829  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270830  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270831  PyErr_SetString(PyExc_IndexError, strError.c_str());
270832  SWIG_fail;
270833  }
270834  catch(...)
270835  {
270836  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270837  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270838  SWIG_fail;
270839  }
270840  }
270841  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
270842  return resultobj;
270843 fail:
270844  return NULL;
270845 }
270846 
270847 
270848 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_TargetID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270849  PyObject *resultobj = 0;
270851  std::string arg2 ;
270852  void *argp1 = 0 ;
270853  int res1 = 0 ;
270854  PyObject * obj0 = 0 ;
270855  PyObject * obj1 = 0 ;
270856 
270857  if (!PyArg_ParseTuple(args,(char *)"OO:RemoteControlLinkage_TargetID",&obj0,&obj1)) SWIG_fail;
270858  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
270859  if (!SWIG_IsOK(res1)) {
270860  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_TargetID" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
270861  }
270862  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
270863  {
270864  std::string *ptr = (std::string *)0;
270865  int res = SWIG_AsPtr_std_string(obj1, &ptr);
270866  if (!SWIG_IsOK(res) || !ptr) {
270867  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RemoteControlLinkage_TargetID" "', argument " "2"" of type '" "std::string""'");
270868  }
270869  arg2 = *ptr;
270870  if (SWIG_IsNewObj(res)) delete ptr;
270871  }
270872  {
270873  try {
270874  (arg1)->TargetID(arg2);
270875  }
270876  catch(CStdErrorInfo oError)
270877  {
270878  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270879  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270880  PyErr_SetString(PyExc_IndexError, strError.c_str());
270881  SWIG_fail;
270882  }
270883  catch(...)
270884  {
270885  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270886  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270887  SWIG_fail;
270888  }
270889  }
270890  resultobj = SWIG_Py_Void();
270891  return resultobj;
270892 fail:
270893  return NULL;
270894 }
270895 
270896 
270897 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_TargetID(PyObject *self, PyObject *args) {
270898  int argc;
270899  PyObject *argv[3];
270900  int ii;
270901 
270902  if (!PyTuple_Check(args)) SWIG_fail;
270903  argc = args ? (int)PyObject_Length(args) : 0;
270904  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
270905  argv[ii] = PyTuple_GET_ITEM(args,ii);
270906  }
270907  if (argc == 1) {
270908  int _v;
270909  void *vptr = 0;
270910  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0);
270911  _v = SWIG_CheckState(res);
270912  if (_v) {
270913  return _wrap_RemoteControlLinkage_TargetID__SWIG_0(self, args);
270914  }
270915  }
270916  if (argc == 2) {
270917  int _v;
270918  void *vptr = 0;
270919  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0);
270920  _v = SWIG_CheckState(res);
270921  if (_v) {
270922  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
270923  _v = SWIG_CheckState(res);
270924  if (_v) {
270925  return _wrap_RemoteControlLinkage_TargetID__SWIG_1(self, args);
270926  }
270927  }
270928  }
270929 
270930 fail:
270931  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RemoteControlLinkage_TargetID'.\n"
270932  " Possible C/C++ prototypes are:\n"
270933  " AnimatSim::Robotics::RemoteControlLinkage::TargetID()\n"
270934  " AnimatSim::Robotics::RemoteControlLinkage::TargetID(std::string)\n");
270935  return 0;
270936 }
270937 
270938 
270939 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_SourceDataTypeID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270940  PyObject *resultobj = 0;
270942  void *argp1 = 0 ;
270943  int res1 = 0 ;
270944  PyObject * obj0 = 0 ;
270945  std::string result;
270946 
270947  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControlLinkage_SourceDataTypeID",&obj0)) SWIG_fail;
270948  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
270949  if (!SWIG_IsOK(res1)) {
270950  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_SourceDataTypeID" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
270951  }
270952  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
270953  {
270954  try {
270955  result = (arg1)->SourceDataTypeID();
270956  }
270957  catch(CStdErrorInfo oError)
270958  {
270959  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270960  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
270961  PyErr_SetString(PyExc_IndexError, strError.c_str());
270962  SWIG_fail;
270963  }
270964  catch(...)
270965  {
270966  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
270967  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
270968  SWIG_fail;
270969  }
270970  }
270971  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
270972  return resultobj;
270973 fail:
270974  return NULL;
270975 }
270976 
270977 
270978 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_SourceDataTypeID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
270979  PyObject *resultobj = 0;
270981  std::string arg2 ;
270982  void *argp1 = 0 ;
270983  int res1 = 0 ;
270984  PyObject * obj0 = 0 ;
270985  PyObject * obj1 = 0 ;
270986 
270987  if (!PyArg_ParseTuple(args,(char *)"OO:RemoteControlLinkage_SourceDataTypeID",&obj0,&obj1)) SWIG_fail;
270988  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
270989  if (!SWIG_IsOK(res1)) {
270990  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_SourceDataTypeID" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
270991  }
270992  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
270993  {
270994  std::string *ptr = (std::string *)0;
270995  int res = SWIG_AsPtr_std_string(obj1, &ptr);
270996  if (!SWIG_IsOK(res) || !ptr) {
270997  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RemoteControlLinkage_SourceDataTypeID" "', argument " "2"" of type '" "std::string""'");
270998  }
270999  arg2 = *ptr;
271000  if (SWIG_IsNewObj(res)) delete ptr;
271001  }
271002  {
271003  try {
271004  (arg1)->SourceDataTypeID(arg2);
271005  }
271006  catch(CStdErrorInfo oError)
271007  {
271008  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271009  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271010  PyErr_SetString(PyExc_IndexError, strError.c_str());
271011  SWIG_fail;
271012  }
271013  catch(...)
271014  {
271015  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271016  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271017  SWIG_fail;
271018  }
271019  }
271020  resultobj = SWIG_Py_Void();
271021  return resultobj;
271022 fail:
271023  return NULL;
271024 }
271025 
271026 
271027 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_SourceDataTypeID(PyObject *self, PyObject *args) {
271028  int argc;
271029  PyObject *argv[3];
271030  int ii;
271031 
271032  if (!PyTuple_Check(args)) SWIG_fail;
271033  argc = args ? (int)PyObject_Length(args) : 0;
271034  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
271035  argv[ii] = PyTuple_GET_ITEM(args,ii);
271036  }
271037  if (argc == 1) {
271038  int _v;
271039  void *vptr = 0;
271040  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0);
271041  _v = SWIG_CheckState(res);
271042  if (_v) {
271043  return _wrap_RemoteControlLinkage_SourceDataTypeID__SWIG_0(self, args);
271044  }
271045  }
271046  if (argc == 2) {
271047  int _v;
271048  void *vptr = 0;
271049  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0);
271050  _v = SWIG_CheckState(res);
271051  if (_v) {
271052  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
271053  _v = SWIG_CheckState(res);
271054  if (_v) {
271055  return _wrap_RemoteControlLinkage_SourceDataTypeID__SWIG_1(self, args);
271056  }
271057  }
271058  }
271059 
271060 fail:
271061  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RemoteControlLinkage_SourceDataTypeID'.\n"
271062  " Possible C/C++ prototypes are:\n"
271063  " AnimatSim::Robotics::RemoteControlLinkage::SourceDataTypeID()\n"
271064  " AnimatSim::Robotics::RemoteControlLinkage::SourceDataTypeID(std::string)\n");
271065  return 0;
271066 }
271067 
271068 
271069 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_TargetDataTypeID__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271070  PyObject *resultobj = 0;
271072  void *argp1 = 0 ;
271073  int res1 = 0 ;
271074  PyObject * obj0 = 0 ;
271075  std::string result;
271076 
271077  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControlLinkage_TargetDataTypeID",&obj0)) SWIG_fail;
271078  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
271079  if (!SWIG_IsOK(res1)) {
271080  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_TargetDataTypeID" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
271081  }
271082  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
271083  {
271084  try {
271085  result = (arg1)->TargetDataTypeID();
271086  }
271087  catch(CStdErrorInfo oError)
271088  {
271089  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271090  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271091  PyErr_SetString(PyExc_IndexError, strError.c_str());
271092  SWIG_fail;
271093  }
271094  catch(...)
271095  {
271096  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271097  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271098  SWIG_fail;
271099  }
271100  }
271101  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
271102  return resultobj;
271103 fail:
271104  return NULL;
271105 }
271106 
271107 
271108 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_TargetDataTypeID__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271109  PyObject *resultobj = 0;
271111  std::string arg2 ;
271112  void *argp1 = 0 ;
271113  int res1 = 0 ;
271114  PyObject * obj0 = 0 ;
271115  PyObject * obj1 = 0 ;
271116 
271117  if (!PyArg_ParseTuple(args,(char *)"OO:RemoteControlLinkage_TargetDataTypeID",&obj0,&obj1)) SWIG_fail;
271118  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
271119  if (!SWIG_IsOK(res1)) {
271120  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_TargetDataTypeID" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
271121  }
271122  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
271123  {
271124  std::string *ptr = (std::string *)0;
271125  int res = SWIG_AsPtr_std_string(obj1, &ptr);
271126  if (!SWIG_IsOK(res) || !ptr) {
271127  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RemoteControlLinkage_TargetDataTypeID" "', argument " "2"" of type '" "std::string""'");
271128  }
271129  arg2 = *ptr;
271130  if (SWIG_IsNewObj(res)) delete ptr;
271131  }
271132  {
271133  try {
271134  (arg1)->TargetDataTypeID(arg2);
271135  }
271136  catch(CStdErrorInfo oError)
271137  {
271138  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271139  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271140  PyErr_SetString(PyExc_IndexError, strError.c_str());
271141  SWIG_fail;
271142  }
271143  catch(...)
271144  {
271145  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271146  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271147  SWIG_fail;
271148  }
271149  }
271150  resultobj = SWIG_Py_Void();
271151  return resultobj;
271152 fail:
271153  return NULL;
271154 }
271155 
271156 
271157 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_TargetDataTypeID(PyObject *self, PyObject *args) {
271158  int argc;
271159  PyObject *argv[3];
271160  int ii;
271161 
271162  if (!PyTuple_Check(args)) SWIG_fail;
271163  argc = args ? (int)PyObject_Length(args) : 0;
271164  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
271165  argv[ii] = PyTuple_GET_ITEM(args,ii);
271166  }
271167  if (argc == 1) {
271168  int _v;
271169  void *vptr = 0;
271170  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0);
271171  _v = SWIG_CheckState(res);
271172  if (_v) {
271173  return _wrap_RemoteControlLinkage_TargetDataTypeID__SWIG_0(self, args);
271174  }
271175  }
271176  if (argc == 2) {
271177  int _v;
271178  void *vptr = 0;
271179  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0);
271180  _v = SWIG_CheckState(res);
271181  if (_v) {
271182  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
271183  _v = SWIG_CheckState(res);
271184  if (_v) {
271185  return _wrap_RemoteControlLinkage_TargetDataTypeID__SWIG_1(self, args);
271186  }
271187  }
271188  }
271189 
271190 fail:
271191  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RemoteControlLinkage_TargetDataTypeID'.\n"
271192  " Possible C/C++ prototypes are:\n"
271193  " AnimatSim::Robotics::RemoteControlLinkage::TargetDataTypeID()\n"
271194  " AnimatSim::Robotics::RemoteControlLinkage::TargetDataTypeID(std::string)\n");
271195  return 0;
271196 }
271197 
271198 
271199 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271200  PyObject *resultobj = 0;
271202  std::string *arg2 = 0 ;
271203  void *argp1 = 0 ;
271204  int res1 = 0 ;
271205  int res2 = SWIG_OLDOBJ ;
271206  PyObject * obj0 = 0 ;
271207  PyObject * obj1 = 0 ;
271208  float *result = 0 ;
271209 
271210  if (!PyArg_ParseTuple(args,(char *)"OO:RemoteControlLinkage_GetDataPointer",&obj0,&obj1)) SWIG_fail;
271211  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
271212  if (!SWIG_IsOK(res1)) {
271213  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
271214  }
271215  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
271216  {
271217  std::string *ptr = (std::string *)0;
271218  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
271219  if (!SWIG_IsOK(res2)) {
271220  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemoteControlLinkage_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
271221  }
271222  if (!ptr) {
271223  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControlLinkage_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
271224  }
271225  arg2 = ptr;
271226  }
271227  {
271228  try {
271229  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
271230  }
271231  catch(CStdErrorInfo oError)
271232  {
271233  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271234  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271235  PyErr_SetString(PyExc_IndexError, strError.c_str());
271236  SWIG_fail;
271237  }
271238  catch(...)
271239  {
271240  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271241  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271242  SWIG_fail;
271243  }
271244  }
271245  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
271246  if (SWIG_IsNewObj(res2)) delete arg2;
271247  return resultobj;
271248 fail:
271249  if (SWIG_IsNewObj(res2)) delete arg2;
271250  return NULL;
271251 }
271252 
271253 
271254 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271255  PyObject *resultobj = 0;
271257  std::string *arg2 = 0 ;
271258  std::string *arg3 = 0 ;
271259  bool arg4 ;
271260  void *argp1 = 0 ;
271261  int res1 = 0 ;
271262  int res2 = SWIG_OLDOBJ ;
271263  int res3 = SWIG_OLDOBJ ;
271264  bool val4 ;
271265  int ecode4 = 0 ;
271266  PyObject * obj0 = 0 ;
271267  PyObject * obj1 = 0 ;
271268  PyObject * obj2 = 0 ;
271269  PyObject * obj3 = 0 ;
271270  bool result;
271271 
271272  if (!PyArg_ParseTuple(args,(char *)"OOOO:RemoteControlLinkage_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
271273  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
271274  if (!SWIG_IsOK(res1)) {
271275  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_SetData" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
271276  }
271277  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
271278  {
271279  std::string *ptr = (std::string *)0;
271280  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
271281  if (!SWIG_IsOK(res2)) {
271282  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemoteControlLinkage_SetData" "', argument " "2"" of type '" "std::string const &""'");
271283  }
271284  if (!ptr) {
271285  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControlLinkage_SetData" "', argument " "2"" of type '" "std::string const &""'");
271286  }
271287  arg2 = ptr;
271288  }
271289  {
271290  std::string *ptr = (std::string *)0;
271291  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
271292  if (!SWIG_IsOK(res3)) {
271293  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RemoteControlLinkage_SetData" "', argument " "3"" of type '" "std::string const &""'");
271294  }
271295  if (!ptr) {
271296  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControlLinkage_SetData" "', argument " "3"" of type '" "std::string const &""'");
271297  }
271298  arg3 = ptr;
271299  }
271300  ecode4 = SWIG_AsVal_bool(obj3, &val4);
271301  if (!SWIG_IsOK(ecode4)) {
271302  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RemoteControlLinkage_SetData" "', argument " "4"" of type '" "bool""'");
271303  }
271304  arg4 = static_cast< bool >(val4);
271305  {
271306  try {
271307  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
271308  }
271309  catch(CStdErrorInfo oError)
271310  {
271311  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271312  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271313  PyErr_SetString(PyExc_IndexError, strError.c_str());
271314  SWIG_fail;
271315  }
271316  catch(...)
271317  {
271318  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271319  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271320  SWIG_fail;
271321  }
271322  }
271323  resultobj = SWIG_From_bool(static_cast< bool >(result));
271324  if (SWIG_IsNewObj(res2)) delete arg2;
271325  if (SWIG_IsNewObj(res3)) delete arg3;
271326  return resultobj;
271327 fail:
271328  if (SWIG_IsNewObj(res2)) delete arg2;
271329  if (SWIG_IsNewObj(res3)) delete arg3;
271330  return NULL;
271331 }
271332 
271333 
271334 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271335  PyObject *resultobj = 0;
271337  std::string *arg2 = 0 ;
271338  std::string *arg3 = 0 ;
271339  void *argp1 = 0 ;
271340  int res1 = 0 ;
271341  int res2 = SWIG_OLDOBJ ;
271342  int res3 = SWIG_OLDOBJ ;
271343  PyObject * obj0 = 0 ;
271344  PyObject * obj1 = 0 ;
271345  PyObject * obj2 = 0 ;
271346  bool result;
271347 
271348  if (!PyArg_ParseTuple(args,(char *)"OOO:RemoteControlLinkage_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
271349  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
271350  if (!SWIG_IsOK(res1)) {
271351  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_SetData" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
271352  }
271353  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
271354  {
271355  std::string *ptr = (std::string *)0;
271356  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
271357  if (!SWIG_IsOK(res2)) {
271358  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemoteControlLinkage_SetData" "', argument " "2"" of type '" "std::string const &""'");
271359  }
271360  if (!ptr) {
271361  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControlLinkage_SetData" "', argument " "2"" of type '" "std::string const &""'");
271362  }
271363  arg2 = ptr;
271364  }
271365  {
271366  std::string *ptr = (std::string *)0;
271367  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
271368  if (!SWIG_IsOK(res3)) {
271369  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RemoteControlLinkage_SetData" "', argument " "3"" of type '" "std::string const &""'");
271370  }
271371  if (!ptr) {
271372  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControlLinkage_SetData" "', argument " "3"" of type '" "std::string const &""'");
271373  }
271374  arg3 = ptr;
271375  }
271376  {
271377  try {
271378  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
271379  }
271380  catch(CStdErrorInfo oError)
271381  {
271382  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271383  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271384  PyErr_SetString(PyExc_IndexError, strError.c_str());
271385  SWIG_fail;
271386  }
271387  catch(...)
271388  {
271389  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271390  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271391  SWIG_fail;
271392  }
271393  }
271394  resultobj = SWIG_From_bool(static_cast< bool >(result));
271395  if (SWIG_IsNewObj(res2)) delete arg2;
271396  if (SWIG_IsNewObj(res3)) delete arg3;
271397  return resultobj;
271398 fail:
271399  if (SWIG_IsNewObj(res2)) delete arg2;
271400  if (SWIG_IsNewObj(res3)) delete arg3;
271401  return NULL;
271402 }
271403 
271404 
271405 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_SetData(PyObject *self, PyObject *args) {
271406  int argc;
271407  PyObject *argv[5];
271408  int ii;
271409 
271410  if (!PyTuple_Check(args)) SWIG_fail;
271411  argc = args ? (int)PyObject_Length(args) : 0;
271412  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
271413  argv[ii] = PyTuple_GET_ITEM(args,ii);
271414  }
271415  if (argc == 3) {
271416  int _v;
271417  void *vptr = 0;
271418  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0);
271419  _v = SWIG_CheckState(res);
271420  if (_v) {
271421  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
271422  _v = SWIG_CheckState(res);
271423  if (_v) {
271424  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
271425  _v = SWIG_CheckState(res);
271426  if (_v) {
271427  return _wrap_RemoteControlLinkage_SetData__SWIG_1(self, args);
271428  }
271429  }
271430  }
271431  }
271432  if (argc == 4) {
271433  int _v;
271434  void *vptr = 0;
271435  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0);
271436  _v = SWIG_CheckState(res);
271437  if (_v) {
271438  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
271439  _v = SWIG_CheckState(res);
271440  if (_v) {
271441  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
271442  _v = SWIG_CheckState(res);
271443  if (_v) {
271444  {
271445  int res = SWIG_AsVal_bool(argv[3], NULL);
271446  _v = SWIG_CheckState(res);
271447  }
271448  if (_v) {
271449  return _wrap_RemoteControlLinkage_SetData__SWIG_0(self, args);
271450  }
271451  }
271452  }
271453  }
271454  }
271455 
271456 fail:
271457  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RemoteControlLinkage_SetData'.\n"
271458  " Possible C/C++ prototypes are:\n"
271459  " AnimatSim::Robotics::RemoteControlLinkage::SetData(std::string const &,std::string const &,bool)\n"
271460  " AnimatSim::Robotics::RemoteControlLinkage::SetData(std::string const &,std::string const &)\n");
271461  return 0;
271462 }
271463 
271464 
271465 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271466  PyObject *resultobj = 0;
271468  CStdPtrArray< TypeProperty > *arg2 = 0 ;
271469  void *argp1 = 0 ;
271470  int res1 = 0 ;
271471  void *argp2 = 0 ;
271472  int res2 = 0 ;
271473  PyObject * obj0 = 0 ;
271474  PyObject * obj1 = 0 ;
271475 
271476  if (!PyArg_ParseTuple(args,(char *)"OO:RemoteControlLinkage_QueryProperties",&obj0,&obj1)) SWIG_fail;
271477  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
271478  if (!SWIG_IsOK(res1)) {
271479  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
271480  }
271481  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
271482  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
271483  if (!SWIG_IsOK(res2)) {
271484  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemoteControlLinkage_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
271485  }
271486  if (!argp2) {
271487  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControlLinkage_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
271488  }
271489  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
271490  {
271491  try {
271492  (arg1)->QueryProperties(*arg2);
271493  }
271494  catch(CStdErrorInfo oError)
271495  {
271496  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271497  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271498  PyErr_SetString(PyExc_IndexError, strError.c_str());
271499  SWIG_fail;
271500  }
271501  catch(...)
271502  {
271503  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271504  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271505  SWIG_fail;
271506  }
271507  }
271508  resultobj = SWIG_Py_Void();
271509  return resultobj;
271510 fail:
271511  return NULL;
271512 }
271513 
271514 
271515 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_SetupIO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271516  PyObject *resultobj = 0;
271518  void *argp1 = 0 ;
271519  int res1 = 0 ;
271520  PyObject * obj0 = 0 ;
271521 
271522  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControlLinkage_SetupIO",&obj0)) SWIG_fail;
271523  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
271524  if (!SWIG_IsOK(res1)) {
271525  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_SetupIO" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
271526  }
271527  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
271528  {
271529  try {
271530  (arg1)->SetupIO();
271531  }
271532  catch(CStdErrorInfo oError)
271533  {
271534  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271535  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271536  PyErr_SetString(PyExc_IndexError, strError.c_str());
271537  SWIG_fail;
271538  }
271539  catch(...)
271540  {
271541  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271542  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271543  SWIG_fail;
271544  }
271545  }
271546  resultobj = SWIG_Py_Void();
271547  return resultobj;
271548 fail:
271549  return NULL;
271550 }
271551 
271552 
271553 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_StepIO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271554  PyObject *resultobj = 0;
271556  void *argp1 = 0 ;
271557  int res1 = 0 ;
271558  PyObject * obj0 = 0 ;
271559 
271560  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControlLinkage_StepIO",&obj0)) SWIG_fail;
271561  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
271562  if (!SWIG_IsOK(res1)) {
271563  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_StepIO" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
271564  }
271565  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
271566  {
271567  try {
271568  (arg1)->StepIO();
271569  }
271570  catch(CStdErrorInfo oError)
271571  {
271572  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271573  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271574  PyErr_SetString(PyExc_IndexError, strError.c_str());
271575  SWIG_fail;
271576  }
271577  catch(...)
271578  {
271579  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271580  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271581  SWIG_fail;
271582  }
271583  }
271584  resultobj = SWIG_Py_Void();
271585  return resultobj;
271586 fail:
271587  return NULL;
271588 }
271589 
271590 
271591 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_ShutdownIO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271592  PyObject *resultobj = 0;
271594  void *argp1 = 0 ;
271595  int res1 = 0 ;
271596  PyObject * obj0 = 0 ;
271597 
271598  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControlLinkage_ShutdownIO",&obj0)) SWIG_fail;
271599  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
271600  if (!SWIG_IsOK(res1)) {
271601  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_ShutdownIO" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
271602  }
271603  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
271604  {
271605  try {
271606  (arg1)->ShutdownIO();
271607  }
271608  catch(CStdErrorInfo oError)
271609  {
271610  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271611  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271612  PyErr_SetString(PyExc_IndexError, strError.c_str());
271613  SWIG_fail;
271614  }
271615  catch(...)
271616  {
271617  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271618  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271619  SWIG_fail;
271620  }
271621  }
271622  resultobj = SWIG_Py_Void();
271623  return resultobj;
271624 fail:
271625  return NULL;
271626 }
271627 
271628 
271629 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271630  PyObject *resultobj = 0;
271632  void *argp1 = 0 ;
271633  int res1 = 0 ;
271634  PyObject * obj0 = 0 ;
271635 
271636  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControlLinkage_Initialize",&obj0)) SWIG_fail;
271637  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
271638  if (!SWIG_IsOK(res1)) {
271639  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_Initialize" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
271640  }
271641  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
271642  {
271643  try {
271644  (arg1)->Initialize();
271645  }
271646  catch(CStdErrorInfo oError)
271647  {
271648  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271649  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271650  PyErr_SetString(PyExc_IndexError, strError.c_str());
271651  SWIG_fail;
271652  }
271653  catch(...)
271654  {
271655  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271656  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271657  SWIG_fail;
271658  }
271659  }
271660  resultobj = SWIG_Py_Void();
271661  return resultobj;
271662 fail:
271663  return NULL;
271664 }
271665 
271666 
271667 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271668  PyObject *resultobj = 0;
271670  void *argp1 = 0 ;
271671  int res1 = 0 ;
271672  PyObject * obj0 = 0 ;
271673 
271674  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControlLinkage_StepSimulation",&obj0)) SWIG_fail;
271675  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
271676  if (!SWIG_IsOK(res1)) {
271677  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
271678  }
271679  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
271680  {
271681  try {
271682  (arg1)->StepSimulation();
271683  }
271684  catch(CStdErrorInfo oError)
271685  {
271686  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271687  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271688  PyErr_SetString(PyExc_IndexError, strError.c_str());
271689  SWIG_fail;
271690  }
271691  catch(...)
271692  {
271693  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271694  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271695  SWIG_fail;
271696  }
271697  }
271698  resultobj = SWIG_Py_Void();
271699  return resultobj;
271700 fail:
271701  return NULL;
271702 }
271703 
271704 
271705 SWIGINTERN PyObject *_wrap_RemoteControlLinkage_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271706  PyObject *resultobj = 0;
271708  StdUtils::CStdXml *arg2 = 0 ;
271709  void *argp1 = 0 ;
271710  int res1 = 0 ;
271711  void *argp2 = 0 ;
271712  int res2 = 0 ;
271713  PyObject * obj0 = 0 ;
271714  PyObject * obj1 = 0 ;
271715 
271716  if (!PyArg_ParseTuple(args,(char *)"OO:RemoteControlLinkage_Load",&obj0,&obj1)) SWIG_fail;
271717  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, 0 | 0 );
271718  if (!SWIG_IsOK(res1)) {
271719  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControlLinkage_Load" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControlLinkage *""'");
271720  }
271721  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControlLinkage * >(argp1);
271722  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
271723  if (!SWIG_IsOK(res2)) {
271724  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemoteControlLinkage_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
271725  }
271726  if (!argp2) {
271727  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControlLinkage_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
271728  }
271729  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
271730  {
271731  try {
271732  (arg1)->Load(*arg2);
271733  }
271734  catch(CStdErrorInfo oError)
271735  {
271736  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271737  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271738  PyErr_SetString(PyExc_IndexError, strError.c_str());
271739  SWIG_fail;
271740  }
271741  catch(...)
271742  {
271743  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271744  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271745  SWIG_fail;
271746  }
271747  }
271748  resultobj = SWIG_Py_Void();
271749  return resultobj;
271750 fail:
271751  return NULL;
271752 }
271753 
271754 
271755 SWIGINTERN PyObject *RemoteControlLinkage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271756  PyObject *obj;
271757  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
271758  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage, SWIG_NewClientData(obj));
271759  return SWIG_Py_Void();
271760 }
271761 
271762 SWIGINTERN PyObject *_wrap_new_PassThroughLinkage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271763  PyObject *resultobj = 0;
271765 
271766  if (!PyArg_ParseTuple(args,(char *)":new_PassThroughLinkage")) SWIG_fail;
271767  {
271768  try {
271770  }
271771  catch(CStdErrorInfo oError)
271772  {
271773  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271774  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271775  PyErr_SetString(PyExc_IndexError, strError.c_str());
271776  SWIG_fail;
271777  }
271778  catch(...)
271779  {
271780  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271781  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271782  SWIG_fail;
271783  }
271784  }
271785  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Robotics__PassThroughLinkage, SWIG_POINTER_NEW | 0 );
271786  return resultobj;
271787 fail:
271788  return NULL;
271789 }
271790 
271791 
271792 SWIGINTERN PyObject *_wrap_delete_PassThroughLinkage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271793  PyObject *resultobj = 0;
271795  void *argp1 = 0 ;
271796  int res1 = 0 ;
271797  PyObject * obj0 = 0 ;
271798 
271799  if (!PyArg_ParseTuple(args,(char *)"O:delete_PassThroughLinkage",&obj0)) SWIG_fail;
271800  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PassThroughLinkage, SWIG_POINTER_DISOWN | 0 );
271801  if (!SWIG_IsOK(res1)) {
271802  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PassThroughLinkage" "', argument " "1"" of type '" "AnimatSim::Robotics::PassThroughLinkage *""'");
271803  }
271804  arg1 = reinterpret_cast< AnimatSim::Robotics::PassThroughLinkage * >(argp1);
271805  {
271806  try {
271807  delete arg1;
271808  }
271809  catch(CStdErrorInfo oError)
271810  {
271811  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271812  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271813  PyErr_SetString(PyExc_IndexError, strError.c_str());
271814  SWIG_fail;
271815  }
271816  catch(...)
271817  {
271818  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271819  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271820  SWIG_fail;
271821  }
271822  }
271823  resultobj = SWIG_Py_Void();
271824  return resultobj;
271825 fail:
271826  return NULL;
271827 }
271828 
271829 
271830 SWIGINTERN PyObject *_wrap_PassThroughLinkage_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271831  PyObject *resultobj = 0;
271833  void *argp1 = 0 ;
271834  int res1 = 0 ;
271835  PyObject * obj0 = 0 ;
271837 
271838  if (!PyArg_ParseTuple(args,(char *)"O:PassThroughLinkage_CastToDerived",&obj0)) SWIG_fail;
271839  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
271840  if (!SWIG_IsOK(res1)) {
271841  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PassThroughLinkage_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
271842  }
271843  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
271844  {
271845  try {
271846  result = (AnimatSim::Robotics::PassThroughLinkage *)AnimatSim::Robotics::PassThroughLinkage::CastToDerived(arg1);
271847  }
271848  catch(CStdErrorInfo oError)
271849  {
271850  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271851  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271852  PyErr_SetString(PyExc_IndexError, strError.c_str());
271853  SWIG_fail;
271854  }
271855  catch(...)
271856  {
271857  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271858  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271859  SWIG_fail;
271860  }
271861  }
271862  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Robotics__PassThroughLinkage, 0 | 0 );
271863  return resultobj;
271864 fail:
271865  return NULL;
271866 }
271867 
271868 
271869 SWIGINTERN PyObject *_wrap_PassThroughLinkage_GetGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271870  PyObject *resultobj = 0;
271872  void *argp1 = 0 ;
271873  int res1 = 0 ;
271874  PyObject * obj0 = 0 ;
271875  Gain *result = 0 ;
271876 
271877  if (!PyArg_ParseTuple(args,(char *)"O:PassThroughLinkage_GetGain",&obj0)) SWIG_fail;
271878  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PassThroughLinkage, 0 | 0 );
271879  if (!SWIG_IsOK(res1)) {
271880  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PassThroughLinkage_GetGain" "', argument " "1"" of type '" "AnimatSim::Robotics::PassThroughLinkage *""'");
271881  }
271882  arg1 = reinterpret_cast< AnimatSim::Robotics::PassThroughLinkage * >(argp1);
271883  {
271884  try {
271885  result = (Gain *)(arg1)->GetGain();
271886  }
271887  catch(CStdErrorInfo oError)
271888  {
271889  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271890  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271891  PyErr_SetString(PyExc_IndexError, strError.c_str());
271892  SWIG_fail;
271893  }
271894  catch(...)
271895  {
271896  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271897  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271898  SWIG_fail;
271899  }
271900  }
271901  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gain, 0 | 0 );
271902  return resultobj;
271903 fail:
271904  return NULL;
271905 }
271906 
271907 
271908 SWIGINTERN PyObject *_wrap_PassThroughLinkage_SetGain(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271909  PyObject *resultobj = 0;
271911  Gain *arg2 = (Gain *) 0 ;
271912  void *argp1 = 0 ;
271913  int res1 = 0 ;
271914  void *argp2 = 0 ;
271915  int res2 = 0 ;
271916  PyObject * obj0 = 0 ;
271917  PyObject * obj1 = 0 ;
271918 
271919  if (!PyArg_ParseTuple(args,(char *)"OO:PassThroughLinkage_SetGain",&obj0,&obj1)) SWIG_fail;
271920  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PassThroughLinkage, 0 | 0 );
271921  if (!SWIG_IsOK(res1)) {
271922  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PassThroughLinkage_SetGain" "', argument " "1"" of type '" "AnimatSim::Robotics::PassThroughLinkage *""'");
271923  }
271924  arg1 = reinterpret_cast< AnimatSim::Robotics::PassThroughLinkage * >(argp1);
271925  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gain, 0 | 0 );
271926  if (!SWIG_IsOK(res2)) {
271927  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PassThroughLinkage_SetGain" "', argument " "2"" of type '" "Gain *""'");
271928  }
271929  arg2 = reinterpret_cast< Gain * >(argp2);
271930  {
271931  try {
271932  (arg1)->SetGain(arg2);
271933  }
271934  catch(CStdErrorInfo oError)
271935  {
271936  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271937  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
271938  PyErr_SetString(PyExc_IndexError, strError.c_str());
271939  SWIG_fail;
271940  }
271941  catch(...)
271942  {
271943  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
271944  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
271945  SWIG_fail;
271946  }
271947  }
271948  resultobj = SWIG_Py_Void();
271949  return resultobj;
271950 fail:
271951  return NULL;
271952 }
271953 
271954 
271955 SWIGINTERN PyObject *_wrap_PassThroughLinkage_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
271956  PyObject *resultobj = 0;
271958  std::string *arg2 = 0 ;
271959  std::string *arg3 = 0 ;
271960  bool arg4 ;
271961  void *argp1 = 0 ;
271962  int res1 = 0 ;
271963  int res2 = SWIG_OLDOBJ ;
271964  int res3 = SWIG_OLDOBJ ;
271965  bool val4 ;
271966  int ecode4 = 0 ;
271967  PyObject * obj0 = 0 ;
271968  PyObject * obj1 = 0 ;
271969  PyObject * obj2 = 0 ;
271970  PyObject * obj3 = 0 ;
271971  bool result;
271972 
271973  if (!PyArg_ParseTuple(args,(char *)"OOOO:PassThroughLinkage_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
271974  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PassThroughLinkage, 0 | 0 );
271975  if (!SWIG_IsOK(res1)) {
271976  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PassThroughLinkage_SetData" "', argument " "1"" of type '" "AnimatSim::Robotics::PassThroughLinkage *""'");
271977  }
271978  arg1 = reinterpret_cast< AnimatSim::Robotics::PassThroughLinkage * >(argp1);
271979  {
271980  std::string *ptr = (std::string *)0;
271981  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
271982  if (!SWIG_IsOK(res2)) {
271983  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PassThroughLinkage_SetData" "', argument " "2"" of type '" "std::string const &""'");
271984  }
271985  if (!ptr) {
271986  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PassThroughLinkage_SetData" "', argument " "2"" of type '" "std::string const &""'");
271987  }
271988  arg2 = ptr;
271989  }
271990  {
271991  std::string *ptr = (std::string *)0;
271992  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
271993  if (!SWIG_IsOK(res3)) {
271994  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PassThroughLinkage_SetData" "', argument " "3"" of type '" "std::string const &""'");
271995  }
271996  if (!ptr) {
271997  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PassThroughLinkage_SetData" "', argument " "3"" of type '" "std::string const &""'");
271998  }
271999  arg3 = ptr;
272000  }
272001  ecode4 = SWIG_AsVal_bool(obj3, &val4);
272002  if (!SWIG_IsOK(ecode4)) {
272003  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PassThroughLinkage_SetData" "', argument " "4"" of type '" "bool""'");
272004  }
272005  arg4 = static_cast< bool >(val4);
272006  {
272007  try {
272008  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
272009  }
272010  catch(CStdErrorInfo oError)
272011  {
272012  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272013  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272014  PyErr_SetString(PyExc_IndexError, strError.c_str());
272015  SWIG_fail;
272016  }
272017  catch(...)
272018  {
272019  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272020  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272021  SWIG_fail;
272022  }
272023  }
272024  resultobj = SWIG_From_bool(static_cast< bool >(result));
272025  if (SWIG_IsNewObj(res2)) delete arg2;
272026  if (SWIG_IsNewObj(res3)) delete arg3;
272027  return resultobj;
272028 fail:
272029  if (SWIG_IsNewObj(res2)) delete arg2;
272030  if (SWIG_IsNewObj(res3)) delete arg3;
272031  return NULL;
272032 }
272033 
272034 
272035 SWIGINTERN PyObject *_wrap_PassThroughLinkage_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272036  PyObject *resultobj = 0;
272038  std::string *arg2 = 0 ;
272039  std::string *arg3 = 0 ;
272040  void *argp1 = 0 ;
272041  int res1 = 0 ;
272042  int res2 = SWIG_OLDOBJ ;
272043  int res3 = SWIG_OLDOBJ ;
272044  PyObject * obj0 = 0 ;
272045  PyObject * obj1 = 0 ;
272046  PyObject * obj2 = 0 ;
272047  bool result;
272048 
272049  if (!PyArg_ParseTuple(args,(char *)"OOO:PassThroughLinkage_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
272050  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PassThroughLinkage, 0 | 0 );
272051  if (!SWIG_IsOK(res1)) {
272052  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PassThroughLinkage_SetData" "', argument " "1"" of type '" "AnimatSim::Robotics::PassThroughLinkage *""'");
272053  }
272054  arg1 = reinterpret_cast< AnimatSim::Robotics::PassThroughLinkage * >(argp1);
272055  {
272056  std::string *ptr = (std::string *)0;
272057  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
272058  if (!SWIG_IsOK(res2)) {
272059  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PassThroughLinkage_SetData" "', argument " "2"" of type '" "std::string const &""'");
272060  }
272061  if (!ptr) {
272062  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PassThroughLinkage_SetData" "', argument " "2"" of type '" "std::string const &""'");
272063  }
272064  arg2 = ptr;
272065  }
272066  {
272067  std::string *ptr = (std::string *)0;
272068  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
272069  if (!SWIG_IsOK(res3)) {
272070  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PassThroughLinkage_SetData" "', argument " "3"" of type '" "std::string const &""'");
272071  }
272072  if (!ptr) {
272073  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PassThroughLinkage_SetData" "', argument " "3"" of type '" "std::string const &""'");
272074  }
272075  arg3 = ptr;
272076  }
272077  {
272078  try {
272079  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
272080  }
272081  catch(CStdErrorInfo oError)
272082  {
272083  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272084  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272085  PyErr_SetString(PyExc_IndexError, strError.c_str());
272086  SWIG_fail;
272087  }
272088  catch(...)
272089  {
272090  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272091  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272092  SWIG_fail;
272093  }
272094  }
272095  resultobj = SWIG_From_bool(static_cast< bool >(result));
272096  if (SWIG_IsNewObj(res2)) delete arg2;
272097  if (SWIG_IsNewObj(res3)) delete arg3;
272098  return resultobj;
272099 fail:
272100  if (SWIG_IsNewObj(res2)) delete arg2;
272101  if (SWIG_IsNewObj(res3)) delete arg3;
272102  return NULL;
272103 }
272104 
272105 
272106 SWIGINTERN PyObject *_wrap_PassThroughLinkage_SetData(PyObject *self, PyObject *args) {
272107  int argc;
272108  PyObject *argv[5];
272109  int ii;
272110 
272111  if (!PyTuple_Check(args)) SWIG_fail;
272112  argc = args ? (int)PyObject_Length(args) : 0;
272113  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
272114  argv[ii] = PyTuple_GET_ITEM(args,ii);
272115  }
272116  if (argc == 3) {
272117  int _v;
272118  void *vptr = 0;
272119  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__PassThroughLinkage, 0);
272120  _v = SWIG_CheckState(res);
272121  if (_v) {
272122  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
272123  _v = SWIG_CheckState(res);
272124  if (_v) {
272125  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
272126  _v = SWIG_CheckState(res);
272127  if (_v) {
272128  return _wrap_PassThroughLinkage_SetData__SWIG_1(self, args);
272129  }
272130  }
272131  }
272132  }
272133  if (argc == 4) {
272134  int _v;
272135  void *vptr = 0;
272136  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__PassThroughLinkage, 0);
272137  _v = SWIG_CheckState(res);
272138  if (_v) {
272139  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
272140  _v = SWIG_CheckState(res);
272141  if (_v) {
272142  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
272143  _v = SWIG_CheckState(res);
272144  if (_v) {
272145  {
272146  int res = SWIG_AsVal_bool(argv[3], NULL);
272147  _v = SWIG_CheckState(res);
272148  }
272149  if (_v) {
272150  return _wrap_PassThroughLinkage_SetData__SWIG_0(self, args);
272151  }
272152  }
272153  }
272154  }
272155  }
272156 
272157 fail:
272158  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PassThroughLinkage_SetData'.\n"
272159  " Possible C/C++ prototypes are:\n"
272160  " AnimatSim::Robotics::PassThroughLinkage::SetData(std::string const &,std::string const &,bool)\n"
272161  " AnimatSim::Robotics::PassThroughLinkage::SetData(std::string const &,std::string const &)\n");
272162  return 0;
272163 }
272164 
272165 
272166 SWIGINTERN PyObject *_wrap_PassThroughLinkage_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272167  PyObject *resultobj = 0;
272169  CStdPtrArray< TypeProperty > *arg2 = 0 ;
272170  void *argp1 = 0 ;
272171  int res1 = 0 ;
272172  void *argp2 = 0 ;
272173  int res2 = 0 ;
272174  PyObject * obj0 = 0 ;
272175  PyObject * obj1 = 0 ;
272176 
272177  if (!PyArg_ParseTuple(args,(char *)"OO:PassThroughLinkage_QueryProperties",&obj0,&obj1)) SWIG_fail;
272178  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PassThroughLinkage, 0 | 0 );
272179  if (!SWIG_IsOK(res1)) {
272180  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PassThroughLinkage_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Robotics::PassThroughLinkage *""'");
272181  }
272182  arg1 = reinterpret_cast< AnimatSim::Robotics::PassThroughLinkage * >(argp1);
272183  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
272184  if (!SWIG_IsOK(res2)) {
272185  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PassThroughLinkage_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
272186  }
272187  if (!argp2) {
272188  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PassThroughLinkage_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
272189  }
272190  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
272191  {
272192  try {
272193  (arg1)->QueryProperties(*arg2);
272194  }
272195  catch(CStdErrorInfo oError)
272196  {
272197  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272198  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272199  PyErr_SetString(PyExc_IndexError, strError.c_str());
272200  SWIG_fail;
272201  }
272202  catch(...)
272203  {
272204  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272205  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272206  SWIG_fail;
272207  }
272208  }
272209  resultobj = SWIG_Py_Void();
272210  return resultobj;
272211 fail:
272212  return NULL;
272213 }
272214 
272215 
272216 SWIGINTERN PyObject *_wrap_PassThroughLinkage_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272217  PyObject *resultobj = 0;
272219  StdUtils::CStdXml *arg2 = 0 ;
272220  void *argp1 = 0 ;
272221  int res1 = 0 ;
272222  void *argp2 = 0 ;
272223  int res2 = 0 ;
272224  PyObject * obj0 = 0 ;
272225  PyObject * obj1 = 0 ;
272226 
272227  if (!PyArg_ParseTuple(args,(char *)"OO:PassThroughLinkage_Load",&obj0,&obj1)) SWIG_fail;
272228  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PassThroughLinkage, 0 | 0 );
272229  if (!SWIG_IsOK(res1)) {
272230  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PassThroughLinkage_Load" "', argument " "1"" of type '" "AnimatSim::Robotics::PassThroughLinkage *""'");
272231  }
272232  arg1 = reinterpret_cast< AnimatSim::Robotics::PassThroughLinkage * >(argp1);
272233  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
272234  if (!SWIG_IsOK(res2)) {
272235  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PassThroughLinkage_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
272236  }
272237  if (!argp2) {
272238  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PassThroughLinkage_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
272239  }
272240  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
272241  {
272242  try {
272243  (arg1)->Load(*arg2);
272244  }
272245  catch(CStdErrorInfo oError)
272246  {
272247  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272248  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272249  PyErr_SetString(PyExc_IndexError, strError.c_str());
272250  SWIG_fail;
272251  }
272252  catch(...)
272253  {
272254  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272255  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272256  SWIG_fail;
272257  }
272258  }
272259  resultobj = SWIG_Py_Void();
272260  return resultobj;
272261 fail:
272262  return NULL;
272263 }
272264 
272265 
272266 SWIGINTERN PyObject *PassThroughLinkage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272267  PyObject *obj;
272268  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
272269  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Robotics__PassThroughLinkage, SWIG_NewClientData(obj));
272270  return SWIG_Py_Void();
272271 }
272272 
272273 SWIGINTERN PyObject *_wrap_new_PulsedLinkage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272274  PyObject *resultobj = 0;
272275  AnimatSim::Robotics::PulsedLinkage *result = 0 ;
272276 
272277  if (!PyArg_ParseTuple(args,(char *)":new_PulsedLinkage")) SWIG_fail;
272278  {
272279  try {
272281  }
272282  catch(CStdErrorInfo oError)
272283  {
272284  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272285  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272286  PyErr_SetString(PyExc_IndexError, strError.c_str());
272287  SWIG_fail;
272288  }
272289  catch(...)
272290  {
272291  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272292  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272293  SWIG_fail;
272294  }
272295  }
272296  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, SWIG_POINTER_NEW | 0 );
272297  return resultobj;
272298 fail:
272299  return NULL;
272300 }
272301 
272302 
272303 SWIGINTERN PyObject *_wrap_delete_PulsedLinkage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272304  PyObject *resultobj = 0;
272306  void *argp1 = 0 ;
272307  int res1 = 0 ;
272308  PyObject * obj0 = 0 ;
272309 
272310  if (!PyArg_ParseTuple(args,(char *)"O:delete_PulsedLinkage",&obj0)) SWIG_fail;
272311  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, SWIG_POINTER_DISOWN | 0 );
272312  if (!SWIG_IsOK(res1)) {
272313  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PulsedLinkage" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
272314  }
272315  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
272316  {
272317  try {
272318  delete arg1;
272319  }
272320  catch(CStdErrorInfo oError)
272321  {
272322  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272323  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272324  PyErr_SetString(PyExc_IndexError, strError.c_str());
272325  SWIG_fail;
272326  }
272327  catch(...)
272328  {
272329  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272330  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272331  SWIG_fail;
272332  }
272333  }
272334  resultobj = SWIG_Py_Void();
272335  return resultobj;
272336 fail:
272337  return NULL;
272338 }
272339 
272340 
272341 SWIGINTERN PyObject *_wrap_PulsedLinkage_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272342  PyObject *resultobj = 0;
272344  void *argp1 = 0 ;
272345  int res1 = 0 ;
272346  PyObject * obj0 = 0 ;
272347  AnimatSim::Robotics::PulsedLinkage *result = 0 ;
272348 
272349  if (!PyArg_ParseTuple(args,(char *)"O:PulsedLinkage_CastToDerived",&obj0)) SWIG_fail;
272350  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
272351  if (!SWIG_IsOK(res1)) {
272352  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
272353  }
272354  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
272355  {
272356  try {
272357  result = (AnimatSim::Robotics::PulsedLinkage *)AnimatSim::Robotics::PulsedLinkage::CastToDerived(arg1);
272358  }
272359  catch(CStdErrorInfo oError)
272360  {
272361  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272362  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272363  PyErr_SetString(PyExc_IndexError, strError.c_str());
272364  SWIG_fail;
272365  }
272366  catch(...)
272367  {
272368  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272369  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272370  SWIG_fail;
272371  }
272372  }
272373  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
272374  return resultobj;
272375 fail:
272376  return NULL;
272377 }
272378 
272379 
272380 SWIGINTERN PyObject *_wrap_PulsedLinkage_MatchValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272381  PyObject *resultobj = 0;
272383  int arg2 ;
272384  void *argp1 = 0 ;
272385  int res1 = 0 ;
272386  int val2 ;
272387  int ecode2 = 0 ;
272388  PyObject * obj0 = 0 ;
272389  PyObject * obj1 = 0 ;
272390 
272391  if (!PyArg_ParseTuple(args,(char *)"OO:PulsedLinkage_MatchValue",&obj0,&obj1)) SWIG_fail;
272392  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
272393  if (!SWIG_IsOK(res1)) {
272394  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_MatchValue" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
272395  }
272396  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
272397  ecode2 = SWIG_AsVal_int(obj1, &val2);
272398  if (!SWIG_IsOK(ecode2)) {
272399  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PulsedLinkage_MatchValue" "', argument " "2"" of type '" "int""'");
272400  }
272401  arg2 = static_cast< int >(val2);
272402  {
272403  try {
272404  (arg1)->MatchValue(arg2);
272405  }
272406  catch(CStdErrorInfo oError)
272407  {
272408  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272409  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272410  PyErr_SetString(PyExc_IndexError, strError.c_str());
272411  SWIG_fail;
272412  }
272413  catch(...)
272414  {
272415  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272416  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272417  SWIG_fail;
272418  }
272419  }
272420  resultobj = SWIG_Py_Void();
272421  return resultobj;
272422 fail:
272423  return NULL;
272424 }
272425 
272426 
272427 SWIGINTERN PyObject *_wrap_PulsedLinkage_MatchValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272428  PyObject *resultobj = 0;
272430  void *argp1 = 0 ;
272431  int res1 = 0 ;
272432  PyObject * obj0 = 0 ;
272433  int result;
272434 
272435  if (!PyArg_ParseTuple(args,(char *)"O:PulsedLinkage_MatchValue",&obj0)) SWIG_fail;
272436  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
272437  if (!SWIG_IsOK(res1)) {
272438  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_MatchValue" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
272439  }
272440  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
272441  {
272442  try {
272443  result = (int)(arg1)->MatchValue();
272444  }
272445  catch(CStdErrorInfo oError)
272446  {
272447  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272448  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272449  PyErr_SetString(PyExc_IndexError, strError.c_str());
272450  SWIG_fail;
272451  }
272452  catch(...)
272453  {
272454  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272455  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272456  SWIG_fail;
272457  }
272458  }
272459  resultobj = SWIG_From_int(static_cast< int >(result));
272460  return resultobj;
272461 fail:
272462  return NULL;
272463 }
272464 
272465 
272466 SWIGINTERN PyObject *_wrap_PulsedLinkage_MatchValue(PyObject *self, PyObject *args) {
272467  int argc;
272468  PyObject *argv[3];
272469  int ii;
272470 
272471  if (!PyTuple_Check(args)) SWIG_fail;
272472  argc = args ? (int)PyObject_Length(args) : 0;
272473  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
272474  argv[ii] = PyTuple_GET_ITEM(args,ii);
272475  }
272476  if (argc == 1) {
272477  int _v;
272478  void *vptr = 0;
272479  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0);
272480  _v = SWIG_CheckState(res);
272481  if (_v) {
272482  return _wrap_PulsedLinkage_MatchValue__SWIG_1(self, args);
272483  }
272484  }
272485  if (argc == 2) {
272486  int _v;
272487  void *vptr = 0;
272488  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0);
272489  _v = SWIG_CheckState(res);
272490  if (_v) {
272491  {
272492  int res = SWIG_AsVal_int(argv[1], NULL);
272493  _v = SWIG_CheckState(res);
272494  }
272495  if (_v) {
272496  return _wrap_PulsedLinkage_MatchValue__SWIG_0(self, args);
272497  }
272498  }
272499  }
272500 
272501 fail:
272502  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PulsedLinkage_MatchValue'.\n"
272503  " Possible C/C++ prototypes are:\n"
272504  " AnimatSim::Robotics::PulsedLinkage::MatchValue(int)\n"
272505  " AnimatSim::Robotics::PulsedLinkage::MatchValue()\n");
272506  return 0;
272507 }
272508 
272509 
272510 SWIGINTERN PyObject *_wrap_PulsedLinkage_MatchOnChange__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272511  PyObject *resultobj = 0;
272513  bool arg2 ;
272514  void *argp1 = 0 ;
272515  int res1 = 0 ;
272516  bool val2 ;
272517  int ecode2 = 0 ;
272518  PyObject * obj0 = 0 ;
272519  PyObject * obj1 = 0 ;
272520 
272521  if (!PyArg_ParseTuple(args,(char *)"OO:PulsedLinkage_MatchOnChange",&obj0,&obj1)) SWIG_fail;
272522  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
272523  if (!SWIG_IsOK(res1)) {
272524  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_MatchOnChange" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
272525  }
272526  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
272527  ecode2 = SWIG_AsVal_bool(obj1, &val2);
272528  if (!SWIG_IsOK(ecode2)) {
272529  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PulsedLinkage_MatchOnChange" "', argument " "2"" of type '" "bool""'");
272530  }
272531  arg2 = static_cast< bool >(val2);
272532  {
272533  try {
272534  (arg1)->MatchOnChange(arg2);
272535  }
272536  catch(CStdErrorInfo oError)
272537  {
272538  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272539  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272540  PyErr_SetString(PyExc_IndexError, strError.c_str());
272541  SWIG_fail;
272542  }
272543  catch(...)
272544  {
272545  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272546  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272547  SWIG_fail;
272548  }
272549  }
272550  resultobj = SWIG_Py_Void();
272551  return resultobj;
272552 fail:
272553  return NULL;
272554 }
272555 
272556 
272557 SWIGINTERN PyObject *_wrap_PulsedLinkage_MatchOnChange__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272558  PyObject *resultobj = 0;
272560  void *argp1 = 0 ;
272561  int res1 = 0 ;
272562  PyObject * obj0 = 0 ;
272563  bool result;
272564 
272565  if (!PyArg_ParseTuple(args,(char *)"O:PulsedLinkage_MatchOnChange",&obj0)) SWIG_fail;
272566  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
272567  if (!SWIG_IsOK(res1)) {
272568  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_MatchOnChange" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
272569  }
272570  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
272571  {
272572  try {
272573  result = (bool)(arg1)->MatchOnChange();
272574  }
272575  catch(CStdErrorInfo oError)
272576  {
272577  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272578  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272579  PyErr_SetString(PyExc_IndexError, strError.c_str());
272580  SWIG_fail;
272581  }
272582  catch(...)
272583  {
272584  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272585  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272586  SWIG_fail;
272587  }
272588  }
272589  resultobj = SWIG_From_bool(static_cast< bool >(result));
272590  return resultobj;
272591 fail:
272592  return NULL;
272593 }
272594 
272595 
272596 SWIGINTERN PyObject *_wrap_PulsedLinkage_MatchOnChange(PyObject *self, PyObject *args) {
272597  int argc;
272598  PyObject *argv[3];
272599  int ii;
272600 
272601  if (!PyTuple_Check(args)) SWIG_fail;
272602  argc = args ? (int)PyObject_Length(args) : 0;
272603  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
272604  argv[ii] = PyTuple_GET_ITEM(args,ii);
272605  }
272606  if (argc == 1) {
272607  int _v;
272608  void *vptr = 0;
272609  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0);
272610  _v = SWIG_CheckState(res);
272611  if (_v) {
272612  return _wrap_PulsedLinkage_MatchOnChange__SWIG_1(self, args);
272613  }
272614  }
272615  if (argc == 2) {
272616  int _v;
272617  void *vptr = 0;
272618  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0);
272619  _v = SWIG_CheckState(res);
272620  if (_v) {
272621  {
272622  int res = SWIG_AsVal_bool(argv[1], NULL);
272623  _v = SWIG_CheckState(res);
272624  }
272625  if (_v) {
272626  return _wrap_PulsedLinkage_MatchOnChange__SWIG_0(self, args);
272627  }
272628  }
272629  }
272630 
272631 fail:
272632  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PulsedLinkage_MatchOnChange'.\n"
272633  " Possible C/C++ prototypes are:\n"
272634  " AnimatSim::Robotics::PulsedLinkage::MatchOnChange(bool)\n"
272635  " AnimatSim::Robotics::PulsedLinkage::MatchOnChange()\n");
272636  return 0;
272637 }
272638 
272639 
272640 SWIGINTERN PyObject *_wrap_PulsedLinkage_PulseDuration__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272641  PyObject *resultobj = 0;
272643  float arg2 ;
272644  void *argp1 = 0 ;
272645  int res1 = 0 ;
272646  float val2 ;
272647  int ecode2 = 0 ;
272648  PyObject * obj0 = 0 ;
272649  PyObject * obj1 = 0 ;
272650 
272651  if (!PyArg_ParseTuple(args,(char *)"OO:PulsedLinkage_PulseDuration",&obj0,&obj1)) SWIG_fail;
272652  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
272653  if (!SWIG_IsOK(res1)) {
272654  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_PulseDuration" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
272655  }
272656  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
272657  ecode2 = SWIG_AsVal_float(obj1, &val2);
272658  if (!SWIG_IsOK(ecode2)) {
272659  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PulsedLinkage_PulseDuration" "', argument " "2"" of type '" "float""'");
272660  }
272661  arg2 = static_cast< float >(val2);
272662  {
272663  try {
272664  (arg1)->PulseDuration(arg2);
272665  }
272666  catch(CStdErrorInfo oError)
272667  {
272668  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272669  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272670  PyErr_SetString(PyExc_IndexError, strError.c_str());
272671  SWIG_fail;
272672  }
272673  catch(...)
272674  {
272675  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272676  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272677  SWIG_fail;
272678  }
272679  }
272680  resultobj = SWIG_Py_Void();
272681  return resultobj;
272682 fail:
272683  return NULL;
272684 }
272685 
272686 
272687 SWIGINTERN PyObject *_wrap_PulsedLinkage_PulseDuration__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272688  PyObject *resultobj = 0;
272690  void *argp1 = 0 ;
272691  int res1 = 0 ;
272692  PyObject * obj0 = 0 ;
272693  float result;
272694 
272695  if (!PyArg_ParseTuple(args,(char *)"O:PulsedLinkage_PulseDuration",&obj0)) SWIG_fail;
272696  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
272697  if (!SWIG_IsOK(res1)) {
272698  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_PulseDuration" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
272699  }
272700  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
272701  {
272702  try {
272703  result = (float)(arg1)->PulseDuration();
272704  }
272705  catch(CStdErrorInfo oError)
272706  {
272707  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272708  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272709  PyErr_SetString(PyExc_IndexError, strError.c_str());
272710  SWIG_fail;
272711  }
272712  catch(...)
272713  {
272714  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272715  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272716  SWIG_fail;
272717  }
272718  }
272719  resultobj = SWIG_From_float(static_cast< float >(result));
272720  return resultobj;
272721 fail:
272722  return NULL;
272723 }
272724 
272725 
272726 SWIGINTERN PyObject *_wrap_PulsedLinkage_PulseDuration(PyObject *self, PyObject *args) {
272727  int argc;
272728  PyObject *argv[3];
272729  int ii;
272730 
272731  if (!PyTuple_Check(args)) SWIG_fail;
272732  argc = args ? (int)PyObject_Length(args) : 0;
272733  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
272734  argv[ii] = PyTuple_GET_ITEM(args,ii);
272735  }
272736  if (argc == 1) {
272737  int _v;
272738  void *vptr = 0;
272739  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0);
272740  _v = SWIG_CheckState(res);
272741  if (_v) {
272742  return _wrap_PulsedLinkage_PulseDuration__SWIG_1(self, args);
272743  }
272744  }
272745  if (argc == 2) {
272746  int _v;
272747  void *vptr = 0;
272748  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0);
272749  _v = SWIG_CheckState(res);
272750  if (_v) {
272751  {
272752  int res = SWIG_AsVal_float(argv[1], NULL);
272753  _v = SWIG_CheckState(res);
272754  }
272755  if (_v) {
272756  return _wrap_PulsedLinkage_PulseDuration__SWIG_0(self, args);
272757  }
272758  }
272759  }
272760 
272761 fail:
272762  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PulsedLinkage_PulseDuration'.\n"
272763  " Possible C/C++ prototypes are:\n"
272764  " AnimatSim::Robotics::PulsedLinkage::PulseDuration(float)\n"
272765  " AnimatSim::Robotics::PulsedLinkage::PulseDuration()\n");
272766  return 0;
272767 }
272768 
272769 
272770 SWIGINTERN PyObject *_wrap_PulsedLinkage_PulseCurrent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272771  PyObject *resultobj = 0;
272773  float arg2 ;
272774  void *argp1 = 0 ;
272775  int res1 = 0 ;
272776  float val2 ;
272777  int ecode2 = 0 ;
272778  PyObject * obj0 = 0 ;
272779  PyObject * obj1 = 0 ;
272780 
272781  if (!PyArg_ParseTuple(args,(char *)"OO:PulsedLinkage_PulseCurrent",&obj0,&obj1)) SWIG_fail;
272782  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
272783  if (!SWIG_IsOK(res1)) {
272784  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_PulseCurrent" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
272785  }
272786  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
272787  ecode2 = SWIG_AsVal_float(obj1, &val2);
272788  if (!SWIG_IsOK(ecode2)) {
272789  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PulsedLinkage_PulseCurrent" "', argument " "2"" of type '" "float""'");
272790  }
272791  arg2 = static_cast< float >(val2);
272792  {
272793  try {
272794  (arg1)->PulseCurrent(arg2);
272795  }
272796  catch(CStdErrorInfo oError)
272797  {
272798  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272799  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272800  PyErr_SetString(PyExc_IndexError, strError.c_str());
272801  SWIG_fail;
272802  }
272803  catch(...)
272804  {
272805  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272806  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272807  SWIG_fail;
272808  }
272809  }
272810  resultobj = SWIG_Py_Void();
272811  return resultobj;
272812 fail:
272813  return NULL;
272814 }
272815 
272816 
272817 SWIGINTERN PyObject *_wrap_PulsedLinkage_PulseCurrent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272818  PyObject *resultobj = 0;
272820  void *argp1 = 0 ;
272821  int res1 = 0 ;
272822  PyObject * obj0 = 0 ;
272823  float result;
272824 
272825  if (!PyArg_ParseTuple(args,(char *)"O:PulsedLinkage_PulseCurrent",&obj0)) SWIG_fail;
272826  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
272827  if (!SWIG_IsOK(res1)) {
272828  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_PulseCurrent" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
272829  }
272830  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
272831  {
272832  try {
272833  result = (float)(arg1)->PulseCurrent();
272834  }
272835  catch(CStdErrorInfo oError)
272836  {
272837  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272838  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272839  PyErr_SetString(PyExc_IndexError, strError.c_str());
272840  SWIG_fail;
272841  }
272842  catch(...)
272843  {
272844  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272845  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272846  SWIG_fail;
272847  }
272848  }
272849  resultobj = SWIG_From_float(static_cast< float >(result));
272850  return resultobj;
272851 fail:
272852  return NULL;
272853 }
272854 
272855 
272856 SWIGINTERN PyObject *_wrap_PulsedLinkage_PulseCurrent(PyObject *self, PyObject *args) {
272857  int argc;
272858  PyObject *argv[3];
272859  int ii;
272860 
272861  if (!PyTuple_Check(args)) SWIG_fail;
272862  argc = args ? (int)PyObject_Length(args) : 0;
272863  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
272864  argv[ii] = PyTuple_GET_ITEM(args,ii);
272865  }
272866  if (argc == 1) {
272867  int _v;
272868  void *vptr = 0;
272869  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0);
272870  _v = SWIG_CheckState(res);
272871  if (_v) {
272872  return _wrap_PulsedLinkage_PulseCurrent__SWIG_1(self, args);
272873  }
272874  }
272875  if (argc == 2) {
272876  int _v;
272877  void *vptr = 0;
272878  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0);
272879  _v = SWIG_CheckState(res);
272880  if (_v) {
272881  {
272882  int res = SWIG_AsVal_float(argv[1], NULL);
272883  _v = SWIG_CheckState(res);
272884  }
272885  if (_v) {
272886  return _wrap_PulsedLinkage_PulseCurrent__SWIG_0(self, args);
272887  }
272888  }
272889  }
272890 
272891 fail:
272892  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PulsedLinkage_PulseCurrent'.\n"
272893  " Possible C/C++ prototypes are:\n"
272894  " AnimatSim::Robotics::PulsedLinkage::PulseCurrent(float)\n"
272895  " AnimatSim::Robotics::PulsedLinkage::PulseCurrent()\n");
272896  return 0;
272897 }
272898 
272899 
272900 SWIGINTERN PyObject *_wrap_PulsedLinkage_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272901  PyObject *resultobj = 0;
272903  std::string *arg2 = 0 ;
272904  void *argp1 = 0 ;
272905  int res1 = 0 ;
272906  int res2 = SWIG_OLDOBJ ;
272907  PyObject * obj0 = 0 ;
272908  PyObject * obj1 = 0 ;
272909  float *result = 0 ;
272910 
272911  if (!PyArg_ParseTuple(args,(char *)"OO:PulsedLinkage_GetDataPointer",&obj0,&obj1)) SWIG_fail;
272912  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
272913  if (!SWIG_IsOK(res1)) {
272914  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_GetDataPointer" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
272915  }
272916  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
272917  {
272918  std::string *ptr = (std::string *)0;
272919  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
272920  if (!SWIG_IsOK(res2)) {
272921  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PulsedLinkage_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
272922  }
272923  if (!ptr) {
272924  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PulsedLinkage_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
272925  }
272926  arg2 = ptr;
272927  }
272928  {
272929  try {
272930  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
272931  }
272932  catch(CStdErrorInfo oError)
272933  {
272934  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272935  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
272936  PyErr_SetString(PyExc_IndexError, strError.c_str());
272937  SWIG_fail;
272938  }
272939  catch(...)
272940  {
272941  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
272942  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
272943  SWIG_fail;
272944  }
272945  }
272946  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
272947  if (SWIG_IsNewObj(res2)) delete arg2;
272948  return resultobj;
272949 fail:
272950  if (SWIG_IsNewObj(res2)) delete arg2;
272951  return NULL;
272952 }
272953 
272954 
272955 SWIGINTERN PyObject *_wrap_PulsedLinkage_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
272956  PyObject *resultobj = 0;
272958  std::string *arg2 = 0 ;
272959  std::string *arg3 = 0 ;
272960  bool arg4 ;
272961  void *argp1 = 0 ;
272962  int res1 = 0 ;
272963  int res2 = SWIG_OLDOBJ ;
272964  int res3 = SWIG_OLDOBJ ;
272965  bool val4 ;
272966  int ecode4 = 0 ;
272967  PyObject * obj0 = 0 ;
272968  PyObject * obj1 = 0 ;
272969  PyObject * obj2 = 0 ;
272970  PyObject * obj3 = 0 ;
272971  bool result;
272972 
272973  if (!PyArg_ParseTuple(args,(char *)"OOOO:PulsedLinkage_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
272974  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
272975  if (!SWIG_IsOK(res1)) {
272976  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_SetData" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
272977  }
272978  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
272979  {
272980  std::string *ptr = (std::string *)0;
272981  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
272982  if (!SWIG_IsOK(res2)) {
272983  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PulsedLinkage_SetData" "', argument " "2"" of type '" "std::string const &""'");
272984  }
272985  if (!ptr) {
272986  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PulsedLinkage_SetData" "', argument " "2"" of type '" "std::string const &""'");
272987  }
272988  arg2 = ptr;
272989  }
272990  {
272991  std::string *ptr = (std::string *)0;
272992  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
272993  if (!SWIG_IsOK(res3)) {
272994  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PulsedLinkage_SetData" "', argument " "3"" of type '" "std::string const &""'");
272995  }
272996  if (!ptr) {
272997  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PulsedLinkage_SetData" "', argument " "3"" of type '" "std::string const &""'");
272998  }
272999  arg3 = ptr;
273000  }
273001  ecode4 = SWIG_AsVal_bool(obj3, &val4);
273002  if (!SWIG_IsOK(ecode4)) {
273003  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PulsedLinkage_SetData" "', argument " "4"" of type '" "bool""'");
273004  }
273005  arg4 = static_cast< bool >(val4);
273006  {
273007  try {
273008  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
273009  }
273010  catch(CStdErrorInfo oError)
273011  {
273012  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273013  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
273014  PyErr_SetString(PyExc_IndexError, strError.c_str());
273015  SWIG_fail;
273016  }
273017  catch(...)
273018  {
273019  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273020  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
273021  SWIG_fail;
273022  }
273023  }
273024  resultobj = SWIG_From_bool(static_cast< bool >(result));
273025  if (SWIG_IsNewObj(res2)) delete arg2;
273026  if (SWIG_IsNewObj(res3)) delete arg3;
273027  return resultobj;
273028 fail:
273029  if (SWIG_IsNewObj(res2)) delete arg2;
273030  if (SWIG_IsNewObj(res3)) delete arg3;
273031  return NULL;
273032 }
273033 
273034 
273035 SWIGINTERN PyObject *_wrap_PulsedLinkage_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
273036  PyObject *resultobj = 0;
273038  std::string *arg2 = 0 ;
273039  std::string *arg3 = 0 ;
273040  void *argp1 = 0 ;
273041  int res1 = 0 ;
273042  int res2 = SWIG_OLDOBJ ;
273043  int res3 = SWIG_OLDOBJ ;
273044  PyObject * obj0 = 0 ;
273045  PyObject * obj1 = 0 ;
273046  PyObject * obj2 = 0 ;
273047  bool result;
273048 
273049  if (!PyArg_ParseTuple(args,(char *)"OOO:PulsedLinkage_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
273050  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
273051  if (!SWIG_IsOK(res1)) {
273052  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_SetData" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
273053  }
273054  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
273055  {
273056  std::string *ptr = (std::string *)0;
273057  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
273058  if (!SWIG_IsOK(res2)) {
273059  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PulsedLinkage_SetData" "', argument " "2"" of type '" "std::string const &""'");
273060  }
273061  if (!ptr) {
273062  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PulsedLinkage_SetData" "', argument " "2"" of type '" "std::string const &""'");
273063  }
273064  arg2 = ptr;
273065  }
273066  {
273067  std::string *ptr = (std::string *)0;
273068  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
273069  if (!SWIG_IsOK(res3)) {
273070  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PulsedLinkage_SetData" "', argument " "3"" of type '" "std::string const &""'");
273071  }
273072  if (!ptr) {
273073  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PulsedLinkage_SetData" "', argument " "3"" of type '" "std::string const &""'");
273074  }
273075  arg3 = ptr;
273076  }
273077  {
273078  try {
273079  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
273080  }
273081  catch(CStdErrorInfo oError)
273082  {
273083  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273084  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
273085  PyErr_SetString(PyExc_IndexError, strError.c_str());
273086  SWIG_fail;
273087  }
273088  catch(...)
273089  {
273090  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273091  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
273092  SWIG_fail;
273093  }
273094  }
273095  resultobj = SWIG_From_bool(static_cast< bool >(result));
273096  if (SWIG_IsNewObj(res2)) delete arg2;
273097  if (SWIG_IsNewObj(res3)) delete arg3;
273098  return resultobj;
273099 fail:
273100  if (SWIG_IsNewObj(res2)) delete arg2;
273101  if (SWIG_IsNewObj(res3)) delete arg3;
273102  return NULL;
273103 }
273104 
273105 
273106 SWIGINTERN PyObject *_wrap_PulsedLinkage_SetData(PyObject *self, PyObject *args) {
273107  int argc;
273108  PyObject *argv[5];
273109  int ii;
273110 
273111  if (!PyTuple_Check(args)) SWIG_fail;
273112  argc = args ? (int)PyObject_Length(args) : 0;
273113  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
273114  argv[ii] = PyTuple_GET_ITEM(args,ii);
273115  }
273116  if (argc == 3) {
273117  int _v;
273118  void *vptr = 0;
273119  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0);
273120  _v = SWIG_CheckState(res);
273121  if (_v) {
273122  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
273123  _v = SWIG_CheckState(res);
273124  if (_v) {
273125  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
273126  _v = SWIG_CheckState(res);
273127  if (_v) {
273128  return _wrap_PulsedLinkage_SetData__SWIG_1(self, args);
273129  }
273130  }
273131  }
273132  }
273133  if (argc == 4) {
273134  int _v;
273135  void *vptr = 0;
273136  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0);
273137  _v = SWIG_CheckState(res);
273138  if (_v) {
273139  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
273140  _v = SWIG_CheckState(res);
273141  if (_v) {
273142  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
273143  _v = SWIG_CheckState(res);
273144  if (_v) {
273145  {
273146  int res = SWIG_AsVal_bool(argv[3], NULL);
273147  _v = SWIG_CheckState(res);
273148  }
273149  if (_v) {
273150  return _wrap_PulsedLinkage_SetData__SWIG_0(self, args);
273151  }
273152  }
273153  }
273154  }
273155  }
273156 
273157 fail:
273158  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PulsedLinkage_SetData'.\n"
273159  " Possible C/C++ prototypes are:\n"
273160  " AnimatSim::Robotics::PulsedLinkage::SetData(std::string const &,std::string const &,bool)\n"
273161  " AnimatSim::Robotics::PulsedLinkage::SetData(std::string const &,std::string const &)\n");
273162  return 0;
273163 }
273164 
273165 
273166 SWIGINTERN PyObject *_wrap_PulsedLinkage_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
273167  PyObject *resultobj = 0;
273169  CStdPtrArray< TypeProperty > *arg2 = 0 ;
273170  void *argp1 = 0 ;
273171  int res1 = 0 ;
273172  void *argp2 = 0 ;
273173  int res2 = 0 ;
273174  PyObject * obj0 = 0 ;
273175  PyObject * obj1 = 0 ;
273176 
273177  if (!PyArg_ParseTuple(args,(char *)"OO:PulsedLinkage_QueryProperties",&obj0,&obj1)) SWIG_fail;
273178  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
273179  if (!SWIG_IsOK(res1)) {
273180  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_QueryProperties" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
273181  }
273182  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
273183  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
273184  if (!SWIG_IsOK(res2)) {
273185  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PulsedLinkage_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
273186  }
273187  if (!argp2) {
273188  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PulsedLinkage_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
273189  }
273190  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
273191  {
273192  try {
273193  (arg1)->QueryProperties(*arg2);
273194  }
273195  catch(CStdErrorInfo oError)
273196  {
273197  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273198  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
273199  PyErr_SetString(PyExc_IndexError, strError.c_str());
273200  SWIG_fail;
273201  }
273202  catch(...)
273203  {
273204  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273205  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
273206  SWIG_fail;
273207  }
273208  }
273209  resultobj = SWIG_Py_Void();
273210  return resultobj;
273211 fail:
273212  return NULL;
273213 }
273214 
273215 
273216 SWIGINTERN PyObject *_wrap_PulsedLinkage_StepIO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
273217  PyObject *resultobj = 0;
273219  void *argp1 = 0 ;
273220  int res1 = 0 ;
273221  PyObject * obj0 = 0 ;
273222 
273223  if (!PyArg_ParseTuple(args,(char *)"O:PulsedLinkage_StepIO",&obj0)) SWIG_fail;
273224  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
273225  if (!SWIG_IsOK(res1)) {
273226  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_StepIO" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
273227  }
273228  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
273229  {
273230  try {
273231  (arg1)->StepIO();
273232  }
273233  catch(CStdErrorInfo oError)
273234  {
273235  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273236  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
273237  PyErr_SetString(PyExc_IndexError, strError.c_str());
273238  SWIG_fail;
273239  }
273240  catch(...)
273241  {
273242  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273243  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
273244  SWIG_fail;
273245  }
273246  }
273247  resultobj = SWIG_Py_Void();
273248  return resultobj;
273249 fail:
273250  return NULL;
273251 }
273252 
273253 
273254 SWIGINTERN PyObject *_wrap_PulsedLinkage_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
273255  PyObject *resultobj = 0;
273257  void *argp1 = 0 ;
273258  int res1 = 0 ;
273259  PyObject * obj0 = 0 ;
273260 
273261  if (!PyArg_ParseTuple(args,(char *)"O:PulsedLinkage_ResetSimulation",&obj0)) SWIG_fail;
273262  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
273263  if (!SWIG_IsOK(res1)) {
273264  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
273265  }
273266  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
273267  {
273268  try {
273269  (arg1)->ResetSimulation();
273270  }
273271  catch(CStdErrorInfo oError)
273272  {
273273  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273274  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
273275  PyErr_SetString(PyExc_IndexError, strError.c_str());
273276  SWIG_fail;
273277  }
273278  catch(...)
273279  {
273280  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273281  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
273282  SWIG_fail;
273283  }
273284  }
273285  resultobj = SWIG_Py_Void();
273286  return resultobj;
273287 fail:
273288  return NULL;
273289 }
273290 
273291 
273292 SWIGINTERN PyObject *_wrap_PulsedLinkage_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
273293  PyObject *resultobj = 0;
273295  void *argp1 = 0 ;
273296  int res1 = 0 ;
273297  PyObject * obj0 = 0 ;
273298 
273299  if (!PyArg_ParseTuple(args,(char *)"O:PulsedLinkage_StepSimulation",&obj0)) SWIG_fail;
273300  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
273301  if (!SWIG_IsOK(res1)) {
273302  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
273303  }
273304  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
273305  {
273306  try {
273307  (arg1)->StepSimulation();
273308  }
273309  catch(CStdErrorInfo oError)
273310  {
273311  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273312  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
273313  PyErr_SetString(PyExc_IndexError, strError.c_str());
273314  SWIG_fail;
273315  }
273316  catch(...)
273317  {
273318  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273319  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
273320  SWIG_fail;
273321  }
273322  }
273323  resultobj = SWIG_Py_Void();
273324  return resultobj;
273325 fail:
273326  return NULL;
273327 }
273328 
273329 
273330 SWIGINTERN PyObject *_wrap_PulsedLinkage_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
273331  PyObject *resultobj = 0;
273333  StdUtils::CStdXml *arg2 = 0 ;
273334  void *argp1 = 0 ;
273335  int res1 = 0 ;
273336  void *argp2 = 0 ;
273337  int res2 = 0 ;
273338  PyObject * obj0 = 0 ;
273339  PyObject * obj1 = 0 ;
273340 
273341  if (!PyArg_ParseTuple(args,(char *)"OO:PulsedLinkage_Load",&obj0,&obj1)) SWIG_fail;
273342  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, 0 | 0 );
273343  if (!SWIG_IsOK(res1)) {
273344  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PulsedLinkage_Load" "', argument " "1"" of type '" "AnimatSim::Robotics::PulsedLinkage *""'");
273345  }
273346  arg1 = reinterpret_cast< AnimatSim::Robotics::PulsedLinkage * >(argp1);
273347  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
273348  if (!SWIG_IsOK(res2)) {
273349  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PulsedLinkage_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
273350  }
273351  if (!argp2) {
273352  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PulsedLinkage_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
273353  }
273354  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
273355  {
273356  try {
273357  (arg1)->Load(*arg2);
273358  }
273359  catch(CStdErrorInfo oError)
273360  {
273361  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273362  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
273363  PyErr_SetString(PyExc_IndexError, strError.c_str());
273364  SWIG_fail;
273365  }
273366  catch(...)
273367  {
273368  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273369  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
273370  SWIG_fail;
273371  }
273372  }
273373  resultobj = SWIG_Py_Void();
273374  return resultobj;
273375 fail:
273376  return NULL;
273377 }
273378 
273379 
273380 SWIGINTERN PyObject *PulsedLinkage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
273381  PyObject *obj;
273382  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
273383  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage, SWIG_NewClientData(obj));
273384  return SWIG_Py_Void();
273385 }
273386 
273387 SWIGINTERN PyObject *_wrap_delete_RemoteControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
273388  PyObject *resultobj = 0;
273390  void *argp1 = 0 ;
273391  int res1 = 0 ;
273392  PyObject * obj0 = 0 ;
273393 
273394  if (!PyArg_ParseTuple(args,(char *)"O:delete_RemoteControl",&obj0)) SWIG_fail;
273395  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, SWIG_POINTER_DISOWN | 0 );
273396  if (!SWIG_IsOK(res1)) {
273397  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RemoteControl" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
273398  }
273399  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp1);
273400  {
273401  try {
273402  delete arg1;
273403  }
273404  catch(CStdErrorInfo oError)
273405  {
273406  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273407  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
273408  PyErr_SetString(PyExc_IndexError, strError.c_str());
273409  SWIG_fail;
273410  }
273411  catch(...)
273412  {
273413  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273414  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
273415  SWIG_fail;
273416  }
273417  }
273418  resultobj = SWIG_Py_Void();
273419  return resultobj;
273420 fail:
273421  return NULL;
273422 }
273423 
273424 
273425 SWIGINTERN PyObject *_wrap_RemoteControl_CastToDerived(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
273426  PyObject *resultobj = 0;
273428  void *argp1 = 0 ;
273429  int res1 = 0 ;
273430  PyObject * obj0 = 0 ;
273431  AnimatSim::Robotics::RemoteControl *result = 0 ;
273432 
273433  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControl_CastToDerived",&obj0)) SWIG_fail;
273434  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__AnimatBase, 0 | 0 );
273435  if (!SWIG_IsOK(res1)) {
273436  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControl_CastToDerived" "', argument " "1"" of type '" "AnimatSim::AnimatBase *""'");
273437  }
273438  arg1 = reinterpret_cast< AnimatSim::AnimatBase * >(argp1);
273439  {
273440  try {
273441  result = (AnimatSim::Robotics::RemoteControl *)AnimatSim::Robotics::RemoteControl::CastToDerived(arg1);
273442  }
273443  catch(CStdErrorInfo oError)
273444  {
273445  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273446  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
273447  PyErr_SetString(PyExc_IndexError, strError.c_str());
273448  SWIG_fail;
273449  }
273450  catch(...)
273451  {
273452  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273453  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
273454  SWIG_fail;
273455  }
273456  }
273457  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
273458  return resultobj;
273459 fail:
273460  return NULL;
273461 }
273462 
273463 
273464 SWIGINTERN PyObject *_wrap_RemoteControl_Links(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
273465  PyObject *resultobj = 0;
273467  void *argp1 = 0 ;
273468  int res1 = 0 ;
273469  PyObject * obj0 = 0 ;
273470  CStdPtrArray< AnimatSim::Robotics::RemoteControlLinkage > *result = 0 ;
273471 
273472  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControl_Links",&obj0)) SWIG_fail;
273473  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
273474  if (!SWIG_IsOK(res1)) {
273475  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControl_Links" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
273476  }
273477  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp1);
273478  {
273479  try {
273480  result = (CStdPtrArray< AnimatSim::Robotics::RemoteControlLinkage > *)(arg1)->Links();
273481  }
273482  catch(CStdErrorInfo oError)
273483  {
273484  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273485  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
273486  PyErr_SetString(PyExc_IndexError, strError.c_str());
273487  SWIG_fail;
273488  }
273489  catch(...)
273490  {
273491  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273492  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
273493  SWIG_fail;
273494  }
273495  }
273496  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_AnimatSim__Robotics__RemoteControlLinkage_t, 0 | 0 );
273497  return resultobj;
273498 fail:
273499  return NULL;
273500 }
273501 
273502 
273503 SWIGINTERN PyObject *_wrap_RemoteControl_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
273504  PyObject *resultobj = 0;
273506  std::string *arg2 = 0 ;
273507  std::string *arg3 = 0 ;
273508  bool arg4 ;
273509  bool arg5 ;
273510  void *argp1 = 0 ;
273511  int res1 = 0 ;
273512  int res2 = SWIG_OLDOBJ ;
273513  int res3 = SWIG_OLDOBJ ;
273514  bool val4 ;
273515  int ecode4 = 0 ;
273516  bool val5 ;
273517  int ecode5 = 0 ;
273518  PyObject * obj0 = 0 ;
273519  PyObject * obj1 = 0 ;
273520  PyObject * obj2 = 0 ;
273521  PyObject * obj3 = 0 ;
273522  PyObject * obj4 = 0 ;
273523  bool result;
273524 
273525  if (!PyArg_ParseTuple(args,(char *)"OOOOO:RemoteControl_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
273526  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
273527  if (!SWIG_IsOK(res1)) {
273528  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControl_AddItem" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
273529  }
273530  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp1);
273531  {
273532  std::string *ptr = (std::string *)0;
273533  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
273534  if (!SWIG_IsOK(res2)) {
273535  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemoteControl_AddItem" "', argument " "2"" of type '" "std::string const &""'");
273536  }
273537  if (!ptr) {
273538  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControl_AddItem" "', argument " "2"" of type '" "std::string const &""'");
273539  }
273540  arg2 = ptr;
273541  }
273542  {
273543  std::string *ptr = (std::string *)0;
273544  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
273545  if (!SWIG_IsOK(res3)) {
273546  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RemoteControl_AddItem" "', argument " "3"" of type '" "std::string const &""'");
273547  }
273548  if (!ptr) {
273549  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControl_AddItem" "', argument " "3"" of type '" "std::string const &""'");
273550  }
273551  arg3 = ptr;
273552  }
273553  ecode4 = SWIG_AsVal_bool(obj3, &val4);
273554  if (!SWIG_IsOK(ecode4)) {
273555  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RemoteControl_AddItem" "', argument " "4"" of type '" "bool""'");
273556  }
273557  arg4 = static_cast< bool >(val4);
273558  ecode5 = SWIG_AsVal_bool(obj4, &val5);
273559  if (!SWIG_IsOK(ecode5)) {
273560  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RemoteControl_AddItem" "', argument " "5"" of type '" "bool""'");
273561  }
273562  arg5 = static_cast< bool >(val5);
273563  {
273564  try {
273565  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
273566  }
273567  catch(CStdErrorInfo oError)
273568  {
273569  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273570  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
273571  PyErr_SetString(PyExc_IndexError, strError.c_str());
273572  SWIG_fail;
273573  }
273574  catch(...)
273575  {
273576  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273577  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
273578  SWIG_fail;
273579  }
273580  }
273581  resultobj = SWIG_From_bool(static_cast< bool >(result));
273582  if (SWIG_IsNewObj(res2)) delete arg2;
273583  if (SWIG_IsNewObj(res3)) delete arg3;
273584  return resultobj;
273585 fail:
273586  if (SWIG_IsNewObj(res2)) delete arg2;
273587  if (SWIG_IsNewObj(res3)) delete arg3;
273588  return NULL;
273589 }
273590 
273591 
273592 SWIGINTERN PyObject *_wrap_RemoteControl_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
273593  PyObject *resultobj = 0;
273595  std::string *arg2 = 0 ;
273596  std::string *arg3 = 0 ;
273597  bool arg4 ;
273598  void *argp1 = 0 ;
273599  int res1 = 0 ;
273600  int res2 = SWIG_OLDOBJ ;
273601  int res3 = SWIG_OLDOBJ ;
273602  bool val4 ;
273603  int ecode4 = 0 ;
273604  PyObject * obj0 = 0 ;
273605  PyObject * obj1 = 0 ;
273606  PyObject * obj2 = 0 ;
273607  PyObject * obj3 = 0 ;
273608  bool result;
273609 
273610  if (!PyArg_ParseTuple(args,(char *)"OOOO:RemoteControl_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
273611  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
273612  if (!SWIG_IsOK(res1)) {
273613  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControl_AddItem" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
273614  }
273615  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp1);
273616  {
273617  std::string *ptr = (std::string *)0;
273618  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
273619  if (!SWIG_IsOK(res2)) {
273620  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemoteControl_AddItem" "', argument " "2"" of type '" "std::string const &""'");
273621  }
273622  if (!ptr) {
273623  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControl_AddItem" "', argument " "2"" of type '" "std::string const &""'");
273624  }
273625  arg2 = ptr;
273626  }
273627  {
273628  std::string *ptr = (std::string *)0;
273629  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
273630  if (!SWIG_IsOK(res3)) {
273631  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RemoteControl_AddItem" "', argument " "3"" of type '" "std::string const &""'");
273632  }
273633  if (!ptr) {
273634  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControl_AddItem" "', argument " "3"" of type '" "std::string const &""'");
273635  }
273636  arg3 = ptr;
273637  }
273638  ecode4 = SWIG_AsVal_bool(obj3, &val4);
273639  if (!SWIG_IsOK(ecode4)) {
273640  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RemoteControl_AddItem" "', argument " "4"" of type '" "bool""'");
273641  }
273642  arg4 = static_cast< bool >(val4);
273643  {
273644  try {
273645  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
273646  }
273647  catch(CStdErrorInfo oError)
273648  {
273649  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273650  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
273651  PyErr_SetString(PyExc_IndexError, strError.c_str());
273652  SWIG_fail;
273653  }
273654  catch(...)
273655  {
273656  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273657  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
273658  SWIG_fail;
273659  }
273660  }
273661  resultobj = SWIG_From_bool(static_cast< bool >(result));
273662  if (SWIG_IsNewObj(res2)) delete arg2;
273663  if (SWIG_IsNewObj(res3)) delete arg3;
273664  return resultobj;
273665 fail:
273666  if (SWIG_IsNewObj(res2)) delete arg2;
273667  if (SWIG_IsNewObj(res3)) delete arg3;
273668  return NULL;
273669 }
273670 
273671 
273672 SWIGINTERN PyObject *_wrap_RemoteControl_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
273673  PyObject *resultobj = 0;
273675  std::string *arg2 = 0 ;
273676  std::string *arg3 = 0 ;
273677  void *argp1 = 0 ;
273678  int res1 = 0 ;
273679  int res2 = SWIG_OLDOBJ ;
273680  int res3 = SWIG_OLDOBJ ;
273681  PyObject * obj0 = 0 ;
273682  PyObject * obj1 = 0 ;
273683  PyObject * obj2 = 0 ;
273684  bool result;
273685 
273686  if (!PyArg_ParseTuple(args,(char *)"OOO:RemoteControl_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
273687  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
273688  if (!SWIG_IsOK(res1)) {
273689  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControl_AddItem" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
273690  }
273691  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp1);
273692  {
273693  std::string *ptr = (std::string *)0;
273694  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
273695  if (!SWIG_IsOK(res2)) {
273696  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemoteControl_AddItem" "', argument " "2"" of type '" "std::string const &""'");
273697  }
273698  if (!ptr) {
273699  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControl_AddItem" "', argument " "2"" of type '" "std::string const &""'");
273700  }
273701  arg2 = ptr;
273702  }
273703  {
273704  std::string *ptr = (std::string *)0;
273705  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
273706  if (!SWIG_IsOK(res3)) {
273707  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RemoteControl_AddItem" "', argument " "3"" of type '" "std::string const &""'");
273708  }
273709  if (!ptr) {
273710  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControl_AddItem" "', argument " "3"" of type '" "std::string const &""'");
273711  }
273712  arg3 = ptr;
273713  }
273714  {
273715  try {
273716  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
273717  }
273718  catch(CStdErrorInfo oError)
273719  {
273720  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273721  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
273722  PyErr_SetString(PyExc_IndexError, strError.c_str());
273723  SWIG_fail;
273724  }
273725  catch(...)
273726  {
273727  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273728  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
273729  SWIG_fail;
273730  }
273731  }
273732  resultobj = SWIG_From_bool(static_cast< bool >(result));
273733  if (SWIG_IsNewObj(res2)) delete arg2;
273734  if (SWIG_IsNewObj(res3)) delete arg3;
273735  return resultobj;
273736 fail:
273737  if (SWIG_IsNewObj(res2)) delete arg2;
273738  if (SWIG_IsNewObj(res3)) delete arg3;
273739  return NULL;
273740 }
273741 
273742 
273743 SWIGINTERN PyObject *_wrap_RemoteControl_AddItem(PyObject *self, PyObject *args) {
273744  int argc;
273745  PyObject *argv[6];
273746  int ii;
273747 
273748  if (!PyTuple_Check(args)) SWIG_fail;
273749  argc = args ? (int)PyObject_Length(args) : 0;
273750  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
273751  argv[ii] = PyTuple_GET_ITEM(args,ii);
273752  }
273753  if (argc == 3) {
273754  int _v;
273755  void *vptr = 0;
273756  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0);
273757  _v = SWIG_CheckState(res);
273758  if (_v) {
273759  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
273760  _v = SWIG_CheckState(res);
273761  if (_v) {
273762  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
273763  _v = SWIG_CheckState(res);
273764  if (_v) {
273765  return _wrap_RemoteControl_AddItem__SWIG_2(self, args);
273766  }
273767  }
273768  }
273769  }
273770  if (argc == 4) {
273771  int _v;
273772  void *vptr = 0;
273773  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0);
273774  _v = SWIG_CheckState(res);
273775  if (_v) {
273776  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
273777  _v = SWIG_CheckState(res);
273778  if (_v) {
273779  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
273780  _v = SWIG_CheckState(res);
273781  if (_v) {
273782  {
273783  int res = SWIG_AsVal_bool(argv[3], NULL);
273784  _v = SWIG_CheckState(res);
273785  }
273786  if (_v) {
273787  return _wrap_RemoteControl_AddItem__SWIG_1(self, args);
273788  }
273789  }
273790  }
273791  }
273792  }
273793  if (argc == 5) {
273794  int _v;
273795  void *vptr = 0;
273796  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0);
273797  _v = SWIG_CheckState(res);
273798  if (_v) {
273799  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
273800  _v = SWIG_CheckState(res);
273801  if (_v) {
273802  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
273803  _v = SWIG_CheckState(res);
273804  if (_v) {
273805  {
273806  int res = SWIG_AsVal_bool(argv[3], NULL);
273807  _v = SWIG_CheckState(res);
273808  }
273809  if (_v) {
273810  {
273811  int res = SWIG_AsVal_bool(argv[4], NULL);
273812  _v = SWIG_CheckState(res);
273813  }
273814  if (_v) {
273815  return _wrap_RemoteControl_AddItem__SWIG_0(self, args);
273816  }
273817  }
273818  }
273819  }
273820  }
273821  }
273822 
273823 fail:
273824  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RemoteControl_AddItem'.\n"
273825  " Possible C/C++ prototypes are:\n"
273826  " AnimatSim::Robotics::RemoteControl::AddItem(std::string const &,std::string const &,bool,bool)\n"
273827  " AnimatSim::Robotics::RemoteControl::AddItem(std::string const &,std::string const &,bool)\n"
273828  " AnimatSim::Robotics::RemoteControl::AddItem(std::string const &,std::string const &)\n");
273829  return 0;
273830 }
273831 
273832 
273833 SWIGINTERN PyObject *_wrap_RemoteControl_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
273834  PyObject *resultobj = 0;
273836  std::string *arg2 = 0 ;
273837  std::string *arg3 = 0 ;
273838  bool arg4 ;
273839  void *argp1 = 0 ;
273840  int res1 = 0 ;
273841  int res2 = SWIG_OLDOBJ ;
273842  int res3 = SWIG_OLDOBJ ;
273843  bool val4 ;
273844  int ecode4 = 0 ;
273845  PyObject * obj0 = 0 ;
273846  PyObject * obj1 = 0 ;
273847  PyObject * obj2 = 0 ;
273848  PyObject * obj3 = 0 ;
273849  bool result;
273850 
273851  if (!PyArg_ParseTuple(args,(char *)"OOOO:RemoteControl_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
273852  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
273853  if (!SWIG_IsOK(res1)) {
273854  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControl_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
273855  }
273856  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp1);
273857  {
273858  std::string *ptr = (std::string *)0;
273859  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
273860  if (!SWIG_IsOK(res2)) {
273861  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemoteControl_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
273862  }
273863  if (!ptr) {
273864  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControl_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
273865  }
273866  arg2 = ptr;
273867  }
273868  {
273869  std::string *ptr = (std::string *)0;
273870  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
273871  if (!SWIG_IsOK(res3)) {
273872  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RemoteControl_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
273873  }
273874  if (!ptr) {
273875  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControl_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
273876  }
273877  arg3 = ptr;
273878  }
273879  ecode4 = SWIG_AsVal_bool(obj3, &val4);
273880  if (!SWIG_IsOK(ecode4)) {
273881  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RemoteControl_RemoveItem" "', argument " "4"" of type '" "bool""'");
273882  }
273883  arg4 = static_cast< bool >(val4);
273884  {
273885  try {
273886  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
273887  }
273888  catch(CStdErrorInfo oError)
273889  {
273890  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273891  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
273892  PyErr_SetString(PyExc_IndexError, strError.c_str());
273893  SWIG_fail;
273894  }
273895  catch(...)
273896  {
273897  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273898  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
273899  SWIG_fail;
273900  }
273901  }
273902  resultobj = SWIG_From_bool(static_cast< bool >(result));
273903  if (SWIG_IsNewObj(res2)) delete arg2;
273904  if (SWIG_IsNewObj(res3)) delete arg3;
273905  return resultobj;
273906 fail:
273907  if (SWIG_IsNewObj(res2)) delete arg2;
273908  if (SWIG_IsNewObj(res3)) delete arg3;
273909  return NULL;
273910 }
273911 
273912 
273913 SWIGINTERN PyObject *_wrap_RemoteControl_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
273914  PyObject *resultobj = 0;
273916  std::string *arg2 = 0 ;
273917  std::string *arg3 = 0 ;
273918  void *argp1 = 0 ;
273919  int res1 = 0 ;
273920  int res2 = SWIG_OLDOBJ ;
273921  int res3 = SWIG_OLDOBJ ;
273922  PyObject * obj0 = 0 ;
273923  PyObject * obj1 = 0 ;
273924  PyObject * obj2 = 0 ;
273925  bool result;
273926 
273927  if (!PyArg_ParseTuple(args,(char *)"OOO:RemoteControl_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
273928  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
273929  if (!SWIG_IsOK(res1)) {
273930  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControl_RemoveItem" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
273931  }
273932  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp1);
273933  {
273934  std::string *ptr = (std::string *)0;
273935  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
273936  if (!SWIG_IsOK(res2)) {
273937  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemoteControl_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
273938  }
273939  if (!ptr) {
273940  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControl_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
273941  }
273942  arg2 = ptr;
273943  }
273944  {
273945  std::string *ptr = (std::string *)0;
273946  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
273947  if (!SWIG_IsOK(res3)) {
273948  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RemoteControl_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
273949  }
273950  if (!ptr) {
273951  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControl_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
273952  }
273953  arg3 = ptr;
273954  }
273955  {
273956  try {
273957  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
273958  }
273959  catch(CStdErrorInfo oError)
273960  {
273961  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273962  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
273963  PyErr_SetString(PyExc_IndexError, strError.c_str());
273964  SWIG_fail;
273965  }
273966  catch(...)
273967  {
273968  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
273969  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
273970  SWIG_fail;
273971  }
273972  }
273973  resultobj = SWIG_From_bool(static_cast< bool >(result));
273974  if (SWIG_IsNewObj(res2)) delete arg2;
273975  if (SWIG_IsNewObj(res3)) delete arg3;
273976  return resultobj;
273977 fail:
273978  if (SWIG_IsNewObj(res2)) delete arg2;
273979  if (SWIG_IsNewObj(res3)) delete arg3;
273980  return NULL;
273981 }
273982 
273983 
273984 SWIGINTERN PyObject *_wrap_RemoteControl_RemoveItem(PyObject *self, PyObject *args) {
273985  int argc;
273986  PyObject *argv[5];
273987  int ii;
273988 
273989  if (!PyTuple_Check(args)) SWIG_fail;
273990  argc = args ? (int)PyObject_Length(args) : 0;
273991  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
273992  argv[ii] = PyTuple_GET_ITEM(args,ii);
273993  }
273994  if (argc == 3) {
273995  int _v;
273996  void *vptr = 0;
273997  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0);
273998  _v = SWIG_CheckState(res);
273999  if (_v) {
274000  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
274001  _v = SWIG_CheckState(res);
274002  if (_v) {
274003  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
274004  _v = SWIG_CheckState(res);
274005  if (_v) {
274006  return _wrap_RemoteControl_RemoveItem__SWIG_1(self, args);
274007  }
274008  }
274009  }
274010  }
274011  if (argc == 4) {
274012  int _v;
274013  void *vptr = 0;
274014  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0);
274015  _v = SWIG_CheckState(res);
274016  if (_v) {
274017  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
274018  _v = SWIG_CheckState(res);
274019  if (_v) {
274020  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
274021  _v = SWIG_CheckState(res);
274022  if (_v) {
274023  {
274024  int res = SWIG_AsVal_bool(argv[3], NULL);
274025  _v = SWIG_CheckState(res);
274026  }
274027  if (_v) {
274028  return _wrap_RemoteControl_RemoveItem__SWIG_0(self, args);
274029  }
274030  }
274031  }
274032  }
274033  }
274034 
274035 fail:
274036  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RemoteControl_RemoveItem'.\n"
274037  " Possible C/C++ prototypes are:\n"
274038  " AnimatSim::Robotics::RemoteControl::RemoveItem(std::string const &,std::string const &,bool)\n"
274039  " AnimatSim::Robotics::RemoteControl::RemoveItem(std::string const &,std::string const &)\n");
274040  return 0;
274041 }
274042 
274043 
274044 SWIGINTERN PyObject *_wrap_RemoteControl_SetupIO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274045  PyObject *resultobj = 0;
274047  void *argp1 = 0 ;
274048  int res1 = 0 ;
274049  PyObject * obj0 = 0 ;
274050 
274051  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControl_SetupIO",&obj0)) SWIG_fail;
274052  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
274053  if (!SWIG_IsOK(res1)) {
274054  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControl_SetupIO" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
274055  }
274056  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp1);
274057  {
274058  try {
274059  (arg1)->SetupIO();
274060  }
274061  catch(CStdErrorInfo oError)
274062  {
274063  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274064  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274065  PyErr_SetString(PyExc_IndexError, strError.c_str());
274066  SWIG_fail;
274067  }
274068  catch(...)
274069  {
274070  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274071  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274072  SWIG_fail;
274073  }
274074  }
274075  resultobj = SWIG_Py_Void();
274076  return resultobj;
274077 fail:
274078  return NULL;
274079 }
274080 
274081 
274082 SWIGINTERN PyObject *_wrap_RemoteControl_StepIO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274083  PyObject *resultobj = 0;
274085  void *argp1 = 0 ;
274086  int res1 = 0 ;
274087  PyObject * obj0 = 0 ;
274088 
274089  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControl_StepIO",&obj0)) SWIG_fail;
274090  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
274091  if (!SWIG_IsOK(res1)) {
274092  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControl_StepIO" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
274093  }
274094  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp1);
274095  {
274096  try {
274097  (arg1)->StepIO();
274098  }
274099  catch(CStdErrorInfo oError)
274100  {
274101  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274102  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274103  PyErr_SetString(PyExc_IndexError, strError.c_str());
274104  SWIG_fail;
274105  }
274106  catch(...)
274107  {
274108  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274109  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274110  SWIG_fail;
274111  }
274112  }
274113  resultobj = SWIG_Py_Void();
274114  return resultobj;
274115 fail:
274116  return NULL;
274117 }
274118 
274119 
274120 SWIGINTERN PyObject *_wrap_RemoteControl_ShutdownIO(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274121  PyObject *resultobj = 0;
274123  void *argp1 = 0 ;
274124  int res1 = 0 ;
274125  PyObject * obj0 = 0 ;
274126 
274127  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControl_ShutdownIO",&obj0)) SWIG_fail;
274128  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
274129  if (!SWIG_IsOK(res1)) {
274130  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControl_ShutdownIO" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
274131  }
274132  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp1);
274133  {
274134  try {
274135  (arg1)->ShutdownIO();
274136  }
274137  catch(CStdErrorInfo oError)
274138  {
274139  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274140  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274141  PyErr_SetString(PyExc_IndexError, strError.c_str());
274142  SWIG_fail;
274143  }
274144  catch(...)
274145  {
274146  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274147  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274148  SWIG_fail;
274149  }
274150  }
274151  resultobj = SWIG_Py_Void();
274152  return resultobj;
274153 fail:
274154  return NULL;
274155 }
274156 
274157 
274158 SWIGINTERN PyObject *_wrap_RemoteControl_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274159  PyObject *resultobj = 0;
274161  void *argp1 = 0 ;
274162  int res1 = 0 ;
274163  PyObject * obj0 = 0 ;
274164 
274165  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControl_Initialize",&obj0)) SWIG_fail;
274166  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
274167  if (!SWIG_IsOK(res1)) {
274168  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControl_Initialize" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
274169  }
274170  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp1);
274171  {
274172  try {
274173  (arg1)->Initialize();
274174  }
274175  catch(CStdErrorInfo oError)
274176  {
274177  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274178  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274179  PyErr_SetString(PyExc_IndexError, strError.c_str());
274180  SWIG_fail;
274181  }
274182  catch(...)
274183  {
274184  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274185  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274186  SWIG_fail;
274187  }
274188  }
274189  resultobj = SWIG_Py_Void();
274190  return resultobj;
274191 fail:
274192  return NULL;
274193 }
274194 
274195 
274196 SWIGINTERN PyObject *_wrap_RemoteControl_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274197  PyObject *resultobj = 0;
274199  void *argp1 = 0 ;
274200  int res1 = 0 ;
274201  PyObject * obj0 = 0 ;
274202 
274203  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControl_StepSimulation",&obj0)) SWIG_fail;
274204  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
274205  if (!SWIG_IsOK(res1)) {
274206  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControl_StepSimulation" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
274207  }
274208  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp1);
274209  {
274210  try {
274211  (arg1)->StepSimulation();
274212  }
274213  catch(CStdErrorInfo oError)
274214  {
274215  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274216  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274217  PyErr_SetString(PyExc_IndexError, strError.c_str());
274218  SWIG_fail;
274219  }
274220  catch(...)
274221  {
274222  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274223  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274224  SWIG_fail;
274225  }
274226  }
274227  resultobj = SWIG_Py_Void();
274228  return resultobj;
274229 fail:
274230  return NULL;
274231 }
274232 
274233 
274234 SWIGINTERN PyObject *_wrap_RemoteControl_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274235  PyObject *resultobj = 0;
274237  void *argp1 = 0 ;
274238  int res1 = 0 ;
274239  PyObject * obj0 = 0 ;
274240 
274241  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControl_ResetSimulation",&obj0)) SWIG_fail;
274242  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
274243  if (!SWIG_IsOK(res1)) {
274244  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControl_ResetSimulation" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
274245  }
274246  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp1);
274247  {
274248  try {
274249  (arg1)->ResetSimulation();
274250  }
274251  catch(CStdErrorInfo oError)
274252  {
274253  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274254  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274255  PyErr_SetString(PyExc_IndexError, strError.c_str());
274256  SWIG_fail;
274257  }
274258  catch(...)
274259  {
274260  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274261  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274262  SWIG_fail;
274263  }
274264  }
274265  resultobj = SWIG_Py_Void();
274266  return resultobj;
274267 fail:
274268  return NULL;
274269 }
274270 
274271 
274272 SWIGINTERN PyObject *_wrap_RemoteControl_AfterResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274273  PyObject *resultobj = 0;
274275  void *argp1 = 0 ;
274276  int res1 = 0 ;
274277  PyObject * obj0 = 0 ;
274278 
274279  if (!PyArg_ParseTuple(args,(char *)"O:RemoteControl_AfterResetSimulation",&obj0)) SWIG_fail;
274280  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
274281  if (!SWIG_IsOK(res1)) {
274282  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControl_AfterResetSimulation" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
274283  }
274284  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp1);
274285  {
274286  try {
274287  (arg1)->AfterResetSimulation();
274288  }
274289  catch(CStdErrorInfo oError)
274290  {
274291  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274292  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274293  PyErr_SetString(PyExc_IndexError, strError.c_str());
274294  SWIG_fail;
274295  }
274296  catch(...)
274297  {
274298  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274299  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274300  SWIG_fail;
274301  }
274302  }
274303  resultobj = SWIG_Py_Void();
274304  return resultobj;
274305 fail:
274306  return NULL;
274307 }
274308 
274309 
274310 SWIGINTERN PyObject *_wrap_RemoteControl_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274311  PyObject *resultobj = 0;
274313  StdUtils::CStdXml *arg2 = 0 ;
274314  void *argp1 = 0 ;
274315  int res1 = 0 ;
274316  void *argp2 = 0 ;
274317  int res2 = 0 ;
274318  PyObject * obj0 = 0 ;
274319  PyObject * obj1 = 0 ;
274320 
274321  if (!PyArg_ParseTuple(args,(char *)"OO:RemoteControl_Load",&obj0,&obj1)) SWIG_fail;
274322  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, 0 | 0 );
274323  if (!SWIG_IsOK(res1)) {
274324  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemoteControl_Load" "', argument " "1"" of type '" "AnimatSim::Robotics::RemoteControl *""'");
274325  }
274326  arg1 = reinterpret_cast< AnimatSim::Robotics::RemoteControl * >(argp1);
274327  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
274328  if (!SWIG_IsOK(res2)) {
274329  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemoteControl_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
274330  }
274331  if (!argp2) {
274332  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RemoteControl_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
274333  }
274334  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
274335  {
274336  try {
274337  (arg1)->Load(*arg2);
274338  }
274339  catch(CStdErrorInfo oError)
274340  {
274341  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274342  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274343  PyErr_SetString(PyExc_IndexError, strError.c_str());
274344  SWIG_fail;
274345  }
274346  catch(...)
274347  {
274348  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274349  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274350  SWIG_fail;
274351  }
274352  }
274353  resultobj = SWIG_Py_Void();
274354  return resultobj;
274355 fail:
274356  return NULL;
274357 }
274358 
274359 
274360 SWIGINTERN PyObject *RemoteControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274361  PyObject *obj;
274362  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
274363  SWIG_TypeNewClientData(SWIGTYPE_p_AnimatSim__Robotics__RemoteControl, SWIG_NewClientData(obj));
274364  return SWIG_Py_Void();
274365 }
274366 
274367 SWIGINTERN PyObject *_wrap_new_Neuron(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274368  PyObject *resultobj = 0;
274369  FiringRateSim::Neurons::Neuron *result = 0 ;
274370 
274371  if (!PyArg_ParseTuple(args,(char *)":new_Neuron")) SWIG_fail;
274372  {
274373  try {
274375  }
274376  catch(CStdErrorInfo oError)
274377  {
274378  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274379  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274380  PyErr_SetString(PyExc_IndexError, strError.c_str());
274381  SWIG_fail;
274382  }
274383  catch(...)
274384  {
274385  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274386  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274387  SWIG_fail;
274388  }
274389  }
274390  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FiringRateSim__Neurons__Neuron, SWIG_POINTER_NEW | 0 );
274391  return resultobj;
274392 fail:
274393  return NULL;
274394 }
274395 
274396 
274397 SWIGINTERN PyObject *_wrap_delete_Neuron(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274398  PyObject *resultobj = 0;
274400  void *argp1 = 0 ;
274401  int res1 = 0 ;
274402  PyObject * obj0 = 0 ;
274403 
274404  if (!PyArg_ParseTuple(args,(char *)"O:delete_Neuron",&obj0)) SWIG_fail;
274405  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, SWIG_POINTER_DISOWN | 0 );
274406  if (!SWIG_IsOK(res1)) {
274407  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Neuron" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
274408  }
274409  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
274410  {
274411  try {
274412  delete arg1;
274413  }
274414  catch(CStdErrorInfo oError)
274415  {
274416  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274417  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274418  PyErr_SetString(PyExc_IndexError, strError.c_str());
274419  SWIG_fail;
274420  }
274421  catch(...)
274422  {
274423  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274424  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274425  SWIG_fail;
274426  }
274427  }
274428  resultobj = SWIG_Py_Void();
274429  return resultobj;
274430 fail:
274431  return NULL;
274432 }
274433 
274434 
274435 SWIGINTERN PyObject *_wrap_Neuron_Cn__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274436  PyObject *resultobj = 0;
274438  void *argp1 = 0 ;
274439  int res1 = 0 ;
274440  PyObject * obj0 = 0 ;
274441  float result;
274442 
274443  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_Cn",&obj0)) SWIG_fail;
274444  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
274445  if (!SWIG_IsOK(res1)) {
274446  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Cn" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
274447  }
274448  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
274449  {
274450  try {
274451  result = (float)(arg1)->Cn();
274452  }
274453  catch(CStdErrorInfo oError)
274454  {
274455  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274456  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274457  PyErr_SetString(PyExc_IndexError, strError.c_str());
274458  SWIG_fail;
274459  }
274460  catch(...)
274461  {
274462  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274463  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274464  SWIG_fail;
274465  }
274466  }
274467  resultobj = SWIG_From_float(static_cast< float >(result));
274468  return resultobj;
274469 fail:
274470  return NULL;
274471 }
274472 
274473 
274474 SWIGINTERN PyObject *_wrap_Neuron_Cn__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274475  PyObject *resultobj = 0;
274477  float arg2 ;
274478  void *argp1 = 0 ;
274479  int res1 = 0 ;
274480  float val2 ;
274481  int ecode2 = 0 ;
274482  PyObject * obj0 = 0 ;
274483  PyObject * obj1 = 0 ;
274484 
274485  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_Cn",&obj0,&obj1)) SWIG_fail;
274486  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
274487  if (!SWIG_IsOK(res1)) {
274488  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Cn" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
274489  }
274490  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
274491  ecode2 = SWIG_AsVal_float(obj1, &val2);
274492  if (!SWIG_IsOK(ecode2)) {
274493  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_Cn" "', argument " "2"" of type '" "float""'");
274494  }
274495  arg2 = static_cast< float >(val2);
274496  {
274497  try {
274498  (arg1)->Cn(arg2);
274499  }
274500  catch(CStdErrorInfo oError)
274501  {
274502  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274503  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274504  PyErr_SetString(PyExc_IndexError, strError.c_str());
274505  SWIG_fail;
274506  }
274507  catch(...)
274508  {
274509  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274510  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274511  SWIG_fail;
274512  }
274513  }
274514  resultobj = SWIG_Py_Void();
274515  return resultobj;
274516 fail:
274517  return NULL;
274518 }
274519 
274520 
274521 SWIGINTERN PyObject *_wrap_Neuron_Cn(PyObject *self, PyObject *args) {
274522  int argc;
274523  PyObject *argv[3];
274524  int ii;
274525 
274526  if (!PyTuple_Check(args)) SWIG_fail;
274527  argc = args ? (int)PyObject_Length(args) : 0;
274528  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
274529  argv[ii] = PyTuple_GET_ITEM(args,ii);
274530  }
274531  if (argc == 1) {
274532  int _v;
274533  void *vptr = 0;
274534  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
274535  _v = SWIG_CheckState(res);
274536  if (_v) {
274537  return _wrap_Neuron_Cn__SWIG_0(self, args);
274538  }
274539  }
274540  if (argc == 2) {
274541  int _v;
274542  void *vptr = 0;
274543  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
274544  _v = SWIG_CheckState(res);
274545  if (_v) {
274546  {
274547  int res = SWIG_AsVal_float(argv[1], NULL);
274548  _v = SWIG_CheckState(res);
274549  }
274550  if (_v) {
274551  return _wrap_Neuron_Cn__SWIG_1(self, args);
274552  }
274553  }
274554  }
274555 
274556 fail:
274557  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_Cn'.\n"
274558  " Possible C/C++ prototypes are:\n"
274559  " FiringRateSim::Neurons::Neuron::Cn()\n"
274560  " FiringRateSim::Neurons::Neuron::Cn(float)\n");
274561  return 0;
274562 }
274563 
274564 
274565 SWIGINTERN PyObject *_wrap_Neuron_Gn__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274566  PyObject *resultobj = 0;
274568  void *argp1 = 0 ;
274569  int res1 = 0 ;
274570  PyObject * obj0 = 0 ;
274571  float result;
274572 
274573  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_Gn",&obj0)) SWIG_fail;
274574  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
274575  if (!SWIG_IsOK(res1)) {
274576  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Gn" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
274577  }
274578  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
274579  {
274580  try {
274581  result = (float)(arg1)->Gn();
274582  }
274583  catch(CStdErrorInfo oError)
274584  {
274585  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274586  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274587  PyErr_SetString(PyExc_IndexError, strError.c_str());
274588  SWIG_fail;
274589  }
274590  catch(...)
274591  {
274592  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274593  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274594  SWIG_fail;
274595  }
274596  }
274597  resultobj = SWIG_From_float(static_cast< float >(result));
274598  return resultobj;
274599 fail:
274600  return NULL;
274601 }
274602 
274603 
274604 SWIGINTERN PyObject *_wrap_Neuron_Gn__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274605  PyObject *resultobj = 0;
274607  float arg2 ;
274608  void *argp1 = 0 ;
274609  int res1 = 0 ;
274610  float val2 ;
274611  int ecode2 = 0 ;
274612  PyObject * obj0 = 0 ;
274613  PyObject * obj1 = 0 ;
274614 
274615  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_Gn",&obj0,&obj1)) SWIG_fail;
274616  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
274617  if (!SWIG_IsOK(res1)) {
274618  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Gn" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
274619  }
274620  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
274621  ecode2 = SWIG_AsVal_float(obj1, &val2);
274622  if (!SWIG_IsOK(ecode2)) {
274623  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_Gn" "', argument " "2"" of type '" "float""'");
274624  }
274625  arg2 = static_cast< float >(val2);
274626  {
274627  try {
274628  (arg1)->Gn(arg2);
274629  }
274630  catch(CStdErrorInfo oError)
274631  {
274632  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274633  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274634  PyErr_SetString(PyExc_IndexError, strError.c_str());
274635  SWIG_fail;
274636  }
274637  catch(...)
274638  {
274639  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274640  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274641  SWIG_fail;
274642  }
274643  }
274644  resultobj = SWIG_Py_Void();
274645  return resultobj;
274646 fail:
274647  return NULL;
274648 }
274649 
274650 
274651 SWIGINTERN PyObject *_wrap_Neuron_Gn(PyObject *self, PyObject *args) {
274652  int argc;
274653  PyObject *argv[3];
274654  int ii;
274655 
274656  if (!PyTuple_Check(args)) SWIG_fail;
274657  argc = args ? (int)PyObject_Length(args) : 0;
274658  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
274659  argv[ii] = PyTuple_GET_ITEM(args,ii);
274660  }
274661  if (argc == 1) {
274662  int _v;
274663  void *vptr = 0;
274664  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
274665  _v = SWIG_CheckState(res);
274666  if (_v) {
274667  return _wrap_Neuron_Gn__SWIG_0(self, args);
274668  }
274669  }
274670  if (argc == 2) {
274671  int _v;
274672  void *vptr = 0;
274673  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
274674  _v = SWIG_CheckState(res);
274675  if (_v) {
274676  {
274677  int res = SWIG_AsVal_float(argv[1], NULL);
274678  _v = SWIG_CheckState(res);
274679  }
274680  if (_v) {
274681  return _wrap_Neuron_Gn__SWIG_1(self, args);
274682  }
274683  }
274684  }
274685 
274686 fail:
274687  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_Gn'.\n"
274688  " Possible C/C++ prototypes are:\n"
274689  " FiringRateSim::Neurons::Neuron::Gn()\n"
274690  " FiringRateSim::Neurons::Neuron::Gn(float)\n");
274691  return 0;
274692 }
274693 
274694 
274695 SWIGINTERN PyObject *_wrap_Neuron_Vth__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274696  PyObject *resultobj = 0;
274698  void *argp1 = 0 ;
274699  int res1 = 0 ;
274700  PyObject * obj0 = 0 ;
274701  float result;
274702 
274703  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_Vth",&obj0)) SWIG_fail;
274704  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
274705  if (!SWIG_IsOK(res1)) {
274706  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Vth" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
274707  }
274708  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
274709  {
274710  try {
274711  result = (float)(arg1)->Vth();
274712  }
274713  catch(CStdErrorInfo oError)
274714  {
274715  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274716  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274717  PyErr_SetString(PyExc_IndexError, strError.c_str());
274718  SWIG_fail;
274719  }
274720  catch(...)
274721  {
274722  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274723  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274724  SWIG_fail;
274725  }
274726  }
274727  resultobj = SWIG_From_float(static_cast< float >(result));
274728  return resultobj;
274729 fail:
274730  return NULL;
274731 }
274732 
274733 
274734 SWIGINTERN PyObject *_wrap_Neuron_Vth__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274735  PyObject *resultobj = 0;
274737  float arg2 ;
274738  void *argp1 = 0 ;
274739  int res1 = 0 ;
274740  float val2 ;
274741  int ecode2 = 0 ;
274742  PyObject * obj0 = 0 ;
274743  PyObject * obj1 = 0 ;
274744 
274745  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_Vth",&obj0,&obj1)) SWIG_fail;
274746  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
274747  if (!SWIG_IsOK(res1)) {
274748  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Vth" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
274749  }
274750  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
274751  ecode2 = SWIG_AsVal_float(obj1, &val2);
274752  if (!SWIG_IsOK(ecode2)) {
274753  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_Vth" "', argument " "2"" of type '" "float""'");
274754  }
274755  arg2 = static_cast< float >(val2);
274756  {
274757  try {
274758  (arg1)->Vth(arg2);
274759  }
274760  catch(CStdErrorInfo oError)
274761  {
274762  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274763  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274764  PyErr_SetString(PyExc_IndexError, strError.c_str());
274765  SWIG_fail;
274766  }
274767  catch(...)
274768  {
274769  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274770  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274771  SWIG_fail;
274772  }
274773  }
274774  resultobj = SWIG_Py_Void();
274775  return resultobj;
274776 fail:
274777  return NULL;
274778 }
274779 
274780 
274781 SWIGINTERN PyObject *_wrap_Neuron_Vth(PyObject *self, PyObject *args) {
274782  int argc;
274783  PyObject *argv[3];
274784  int ii;
274785 
274786  if (!PyTuple_Check(args)) SWIG_fail;
274787  argc = args ? (int)PyObject_Length(args) : 0;
274788  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
274789  argv[ii] = PyTuple_GET_ITEM(args,ii);
274790  }
274791  if (argc == 1) {
274792  int _v;
274793  void *vptr = 0;
274794  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
274795  _v = SWIG_CheckState(res);
274796  if (_v) {
274797  return _wrap_Neuron_Vth__SWIG_0(self, args);
274798  }
274799  }
274800  if (argc == 2) {
274801  int _v;
274802  void *vptr = 0;
274803  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
274804  _v = SWIG_CheckState(res);
274805  if (_v) {
274806  {
274807  int res = SWIG_AsVal_float(argv[1], NULL);
274808  _v = SWIG_CheckState(res);
274809  }
274810  if (_v) {
274811  return _wrap_Neuron_Vth__SWIG_1(self, args);
274812  }
274813  }
274814  }
274815 
274816 fail:
274817  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_Vth'.\n"
274818  " Possible C/C++ prototypes are:\n"
274819  " FiringRateSim::Neurons::Neuron::Vth()\n"
274820  " FiringRateSim::Neurons::Neuron::Vth(float)\n");
274821  return 0;
274822 }
274823 
274824 
274825 SWIGINTERN PyObject *_wrap_Neuron_Fmin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274826  PyObject *resultobj = 0;
274828  void *argp1 = 0 ;
274829  int res1 = 0 ;
274830  PyObject * obj0 = 0 ;
274831  float result;
274832 
274833  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_Fmin",&obj0)) SWIG_fail;
274834  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
274835  if (!SWIG_IsOK(res1)) {
274836  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Fmin" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
274837  }
274838  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
274839  {
274840  try {
274841  result = (float)(arg1)->Fmin();
274842  }
274843  catch(CStdErrorInfo oError)
274844  {
274845  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274846  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274847  PyErr_SetString(PyExc_IndexError, strError.c_str());
274848  SWIG_fail;
274849  }
274850  catch(...)
274851  {
274852  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274853  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274854  SWIG_fail;
274855  }
274856  }
274857  resultobj = SWIG_From_float(static_cast< float >(result));
274858  return resultobj;
274859 fail:
274860  return NULL;
274861 }
274862 
274863 
274864 SWIGINTERN PyObject *_wrap_Neuron_Fmin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274865  PyObject *resultobj = 0;
274867  float arg2 ;
274868  void *argp1 = 0 ;
274869  int res1 = 0 ;
274870  float val2 ;
274871  int ecode2 = 0 ;
274872  PyObject * obj0 = 0 ;
274873  PyObject * obj1 = 0 ;
274874 
274875  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_Fmin",&obj0,&obj1)) SWIG_fail;
274876  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
274877  if (!SWIG_IsOK(res1)) {
274878  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Fmin" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
274879  }
274880  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
274881  ecode2 = SWIG_AsVal_float(obj1, &val2);
274882  if (!SWIG_IsOK(ecode2)) {
274883  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_Fmin" "', argument " "2"" of type '" "float""'");
274884  }
274885  arg2 = static_cast< float >(val2);
274886  {
274887  try {
274888  (arg1)->Fmin(arg2);
274889  }
274890  catch(CStdErrorInfo oError)
274891  {
274892  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274893  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274894  PyErr_SetString(PyExc_IndexError, strError.c_str());
274895  SWIG_fail;
274896  }
274897  catch(...)
274898  {
274899  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274900  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274901  SWIG_fail;
274902  }
274903  }
274904  resultobj = SWIG_Py_Void();
274905  return resultobj;
274906 fail:
274907  return NULL;
274908 }
274909 
274910 
274911 SWIGINTERN PyObject *_wrap_Neuron_Fmin(PyObject *self, PyObject *args) {
274912  int argc;
274913  PyObject *argv[3];
274914  int ii;
274915 
274916  if (!PyTuple_Check(args)) SWIG_fail;
274917  argc = args ? (int)PyObject_Length(args) : 0;
274918  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
274919  argv[ii] = PyTuple_GET_ITEM(args,ii);
274920  }
274921  if (argc == 1) {
274922  int _v;
274923  void *vptr = 0;
274924  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
274925  _v = SWIG_CheckState(res);
274926  if (_v) {
274927  return _wrap_Neuron_Fmin__SWIG_0(self, args);
274928  }
274929  }
274930  if (argc == 2) {
274931  int _v;
274932  void *vptr = 0;
274933  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
274934  _v = SWIG_CheckState(res);
274935  if (_v) {
274936  {
274937  int res = SWIG_AsVal_float(argv[1], NULL);
274938  _v = SWIG_CheckState(res);
274939  }
274940  if (_v) {
274941  return _wrap_Neuron_Fmin__SWIG_1(self, args);
274942  }
274943  }
274944  }
274945 
274946 fail:
274947  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_Fmin'.\n"
274948  " Possible C/C++ prototypes are:\n"
274949  " FiringRateSim::Neurons::Neuron::Fmin()\n"
274950  " FiringRateSim::Neurons::Neuron::Fmin(float)\n");
274951  return 0;
274952 }
274953 
274954 
274955 SWIGINTERN PyObject *_wrap_Neuron_Gain__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274956  PyObject *resultobj = 0;
274958  void *argp1 = 0 ;
274959  int res1 = 0 ;
274960  PyObject * obj0 = 0 ;
274961  float result;
274962 
274963  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_Gain",&obj0)) SWIG_fail;
274964  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
274965  if (!SWIG_IsOK(res1)) {
274966  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Gain" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
274967  }
274968  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
274969  {
274970  try {
274971  result = (float)(arg1)->Gain();
274972  }
274973  catch(CStdErrorInfo oError)
274974  {
274975  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274976  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
274977  PyErr_SetString(PyExc_IndexError, strError.c_str());
274978  SWIG_fail;
274979  }
274980  catch(...)
274981  {
274982  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
274983  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
274984  SWIG_fail;
274985  }
274986  }
274987  resultobj = SWIG_From_float(static_cast< float >(result));
274988  return resultobj;
274989 fail:
274990  return NULL;
274991 }
274992 
274993 
274994 SWIGINTERN PyObject *_wrap_Neuron_Gain__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
274995  PyObject *resultobj = 0;
274997  float arg2 ;
274998  void *argp1 = 0 ;
274999  int res1 = 0 ;
275000  float val2 ;
275001  int ecode2 = 0 ;
275002  PyObject * obj0 = 0 ;
275003  PyObject * obj1 = 0 ;
275004 
275005  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_Gain",&obj0,&obj1)) SWIG_fail;
275006  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275007  if (!SWIG_IsOK(res1)) {
275008  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Gain" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275009  }
275010  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275011  ecode2 = SWIG_AsVal_float(obj1, &val2);
275012  if (!SWIG_IsOK(ecode2)) {
275013  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_Gain" "', argument " "2"" of type '" "float""'");
275014  }
275015  arg2 = static_cast< float >(val2);
275016  {
275017  try {
275018  (arg1)->Gain(arg2);
275019  }
275020  catch(CStdErrorInfo oError)
275021  {
275022  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275023  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275024  PyErr_SetString(PyExc_IndexError, strError.c_str());
275025  SWIG_fail;
275026  }
275027  catch(...)
275028  {
275029  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275030  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275031  SWIG_fail;
275032  }
275033  }
275034  resultobj = SWIG_Py_Void();
275035  return resultobj;
275036 fail:
275037  return NULL;
275038 }
275039 
275040 
275041 SWIGINTERN PyObject *_wrap_Neuron_Gain(PyObject *self, PyObject *args) {
275042  int argc;
275043  PyObject *argv[3];
275044  int ii;
275045 
275046  if (!PyTuple_Check(args)) SWIG_fail;
275047  argc = args ? (int)PyObject_Length(args) : 0;
275048  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
275049  argv[ii] = PyTuple_GET_ITEM(args,ii);
275050  }
275051  if (argc == 1) {
275052  int _v;
275053  void *vptr = 0;
275054  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
275055  _v = SWIG_CheckState(res);
275056  if (_v) {
275057  return _wrap_Neuron_Gain__SWIG_0(self, args);
275058  }
275059  }
275060  if (argc == 2) {
275061  int _v;
275062  void *vptr = 0;
275063  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
275064  _v = SWIG_CheckState(res);
275065  if (_v) {
275066  {
275067  int res = SWIG_AsVal_float(argv[1], NULL);
275068  _v = SWIG_CheckState(res);
275069  }
275070  if (_v) {
275071  return _wrap_Neuron_Gain__SWIG_1(self, args);
275072  }
275073  }
275074  }
275075 
275076 fail:
275077  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_Gain'.\n"
275078  " Possible C/C++ prototypes are:\n"
275079  " FiringRateSim::Neurons::Neuron::Gain()\n"
275080  " FiringRateSim::Neurons::Neuron::Gain(float)\n");
275081  return 0;
275082 }
275083 
275084 
275085 SWIGINTERN PyObject *_wrap_Neuron_ExternalI__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
275086  PyObject *resultobj = 0;
275088  void *argp1 = 0 ;
275089  int res1 = 0 ;
275090  PyObject * obj0 = 0 ;
275091  float result;
275092 
275093  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_ExternalI",&obj0)) SWIG_fail;
275094  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275095  if (!SWIG_IsOK(res1)) {
275096  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_ExternalI" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275097  }
275098  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275099  {
275100  try {
275101  result = (float)(arg1)->ExternalI();
275102  }
275103  catch(CStdErrorInfo oError)
275104  {
275105  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275106  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275107  PyErr_SetString(PyExc_IndexError, strError.c_str());
275108  SWIG_fail;
275109  }
275110  catch(...)
275111  {
275112  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275113  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275114  SWIG_fail;
275115  }
275116  }
275117  resultobj = SWIG_From_float(static_cast< float >(result));
275118  return resultobj;
275119 fail:
275120  return NULL;
275121 }
275122 
275123 
275124 SWIGINTERN PyObject *_wrap_Neuron_ExternalI__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
275125  PyObject *resultobj = 0;
275127  float arg2 ;
275128  void *argp1 = 0 ;
275129  int res1 = 0 ;
275130  float val2 ;
275131  int ecode2 = 0 ;
275132  PyObject * obj0 = 0 ;
275133  PyObject * obj1 = 0 ;
275134 
275135  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_ExternalI",&obj0,&obj1)) SWIG_fail;
275136  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275137  if (!SWIG_IsOK(res1)) {
275138  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_ExternalI" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275139  }
275140  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275141  ecode2 = SWIG_AsVal_float(obj1, &val2);
275142  if (!SWIG_IsOK(ecode2)) {
275143  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_ExternalI" "', argument " "2"" of type '" "float""'");
275144  }
275145  arg2 = static_cast< float >(val2);
275146  {
275147  try {
275148  (arg1)->ExternalI(arg2);
275149  }
275150  catch(CStdErrorInfo oError)
275151  {
275152  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275153  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275154  PyErr_SetString(PyExc_IndexError, strError.c_str());
275155  SWIG_fail;
275156  }
275157  catch(...)
275158  {
275159  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275160  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275161  SWIG_fail;
275162  }
275163  }
275164  resultobj = SWIG_Py_Void();
275165  return resultobj;
275166 fail:
275167  return NULL;
275168 }
275169 
275170 
275171 SWIGINTERN PyObject *_wrap_Neuron_ExternalI(PyObject *self, PyObject *args) {
275172  int argc;
275173  PyObject *argv[3];
275174  int ii;
275175 
275176  if (!PyTuple_Check(args)) SWIG_fail;
275177  argc = args ? (int)PyObject_Length(args) : 0;
275178  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
275179  argv[ii] = PyTuple_GET_ITEM(args,ii);
275180  }
275181  if (argc == 1) {
275182  int _v;
275183  void *vptr = 0;
275184  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
275185  _v = SWIG_CheckState(res);
275186  if (_v) {
275187  return _wrap_Neuron_ExternalI__SWIG_0(self, args);
275188  }
275189  }
275190  if (argc == 2) {
275191  int _v;
275192  void *vptr = 0;
275193  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
275194  _v = SWIG_CheckState(res);
275195  if (_v) {
275196  {
275197  int res = SWIG_AsVal_float(argv[1], NULL);
275198  _v = SWIG_CheckState(res);
275199  }
275200  if (_v) {
275201  return _wrap_Neuron_ExternalI__SWIG_1(self, args);
275202  }
275203  }
275204  }
275205 
275206 fail:
275207  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_ExternalI'.\n"
275208  " Possible C/C++ prototypes are:\n"
275209  " FiringRateSim::Neurons::Neuron::ExternalI()\n"
275210  " FiringRateSim::Neurons::Neuron::ExternalI(float)\n");
275211  return 0;
275212 }
275213 
275214 
275215 SWIGINTERN PyObject *_wrap_Neuron_AddExternalI(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
275216  PyObject *resultobj = 0;
275218  float arg2 ;
275219  void *argp1 = 0 ;
275220  int res1 = 0 ;
275221  float val2 ;
275222  int ecode2 = 0 ;
275223  PyObject * obj0 = 0 ;
275224  PyObject * obj1 = 0 ;
275225 
275226  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_AddExternalI",&obj0,&obj1)) SWIG_fail;
275227  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275228  if (!SWIG_IsOK(res1)) {
275229  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_AddExternalI" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275230  }
275231  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275232  ecode2 = SWIG_AsVal_float(obj1, &val2);
275233  if (!SWIG_IsOK(ecode2)) {
275234  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_AddExternalI" "', argument " "2"" of type '" "float""'");
275235  }
275236  arg2 = static_cast< float >(val2);
275237  {
275238  try {
275239  (arg1)->AddExternalI(arg2);
275240  }
275241  catch(CStdErrorInfo oError)
275242  {
275243  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275244  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275245  PyErr_SetString(PyExc_IndexError, strError.c_str());
275246  SWIG_fail;
275247  }
275248  catch(...)
275249  {
275250  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275251  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275252  SWIG_fail;
275253  }
275254  }
275255  resultobj = SWIG_Py_Void();
275256  return resultobj;
275257 fail:
275258  return NULL;
275259 }
275260 
275261 
275262 SWIGINTERN PyObject *_wrap_Neuron_IntrinsicCurrent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
275263  PyObject *resultobj = 0;
275265  void *argp1 = 0 ;
275266  int res1 = 0 ;
275267  PyObject * obj0 = 0 ;
275268  float result;
275269 
275270  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_IntrinsicCurrent",&obj0)) SWIG_fail;
275271  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275272  if (!SWIG_IsOK(res1)) {
275273  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_IntrinsicCurrent" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275274  }
275275  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275276  {
275277  try {
275278  result = (float)(arg1)->IntrinsicCurrent();
275279  }
275280  catch(CStdErrorInfo oError)
275281  {
275282  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275283  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275284  PyErr_SetString(PyExc_IndexError, strError.c_str());
275285  SWIG_fail;
275286  }
275287  catch(...)
275288  {
275289  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275290  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275291  SWIG_fail;
275292  }
275293  }
275294  resultobj = SWIG_From_float(static_cast< float >(result));
275295  return resultobj;
275296 fail:
275297  return NULL;
275298 }
275299 
275300 
275301 SWIGINTERN PyObject *_wrap_Neuron_IntrinsicCurrent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
275302  PyObject *resultobj = 0;
275304  float arg2 ;
275305  void *argp1 = 0 ;
275306  int res1 = 0 ;
275307  float val2 ;
275308  int ecode2 = 0 ;
275309  PyObject * obj0 = 0 ;
275310  PyObject * obj1 = 0 ;
275311 
275312  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_IntrinsicCurrent",&obj0,&obj1)) SWIG_fail;
275313  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275314  if (!SWIG_IsOK(res1)) {
275315  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_IntrinsicCurrent" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275316  }
275317  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275318  ecode2 = SWIG_AsVal_float(obj1, &val2);
275319  if (!SWIG_IsOK(ecode2)) {
275320  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_IntrinsicCurrent" "', argument " "2"" of type '" "float""'");
275321  }
275322  arg2 = static_cast< float >(val2);
275323  {
275324  try {
275325  (arg1)->IntrinsicCurrent(arg2);
275326  }
275327  catch(CStdErrorInfo oError)
275328  {
275329  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275330  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275331  PyErr_SetString(PyExc_IndexError, strError.c_str());
275332  SWIG_fail;
275333  }
275334  catch(...)
275335  {
275336  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275337  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275338  SWIG_fail;
275339  }
275340  }
275341  resultobj = SWIG_Py_Void();
275342  return resultobj;
275343 fail:
275344  return NULL;
275345 }
275346 
275347 
275348 SWIGINTERN PyObject *_wrap_Neuron_IntrinsicCurrent(PyObject *self, PyObject *args) {
275349  int argc;
275350  PyObject *argv[3];
275351  int ii;
275352 
275353  if (!PyTuple_Check(args)) SWIG_fail;
275354  argc = args ? (int)PyObject_Length(args) : 0;
275355  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
275356  argv[ii] = PyTuple_GET_ITEM(args,ii);
275357  }
275358  if (argc == 1) {
275359  int _v;
275360  void *vptr = 0;
275361  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
275362  _v = SWIG_CheckState(res);
275363  if (_v) {
275364  return _wrap_Neuron_IntrinsicCurrent__SWIG_0(self, args);
275365  }
275366  }
275367  if (argc == 2) {
275368  int _v;
275369  void *vptr = 0;
275370  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
275371  _v = SWIG_CheckState(res);
275372  if (_v) {
275373  {
275374  int res = SWIG_AsVal_float(argv[1], NULL);
275375  _v = SWIG_CheckState(res);
275376  }
275377  if (_v) {
275378  return _wrap_Neuron_IntrinsicCurrent__SWIG_1(self, args);
275379  }
275380  }
275381  }
275382 
275383 fail:
275384  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_IntrinsicCurrent'.\n"
275385  " Possible C/C++ prototypes are:\n"
275386  " FiringRateSim::Neurons::Neuron::IntrinsicCurrent()\n"
275387  " FiringRateSim::Neurons::Neuron::IntrinsicCurrent(float)\n");
275388  return 0;
275389 }
275390 
275391 
275392 SWIGINTERN PyObject *_wrap_Neuron_Vrest__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
275393  PyObject *resultobj = 0;
275395  void *argp1 = 0 ;
275396  int res1 = 0 ;
275397  PyObject * obj0 = 0 ;
275398  float result;
275399 
275400  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_Vrest",&obj0)) SWIG_fail;
275401  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275402  if (!SWIG_IsOK(res1)) {
275403  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Vrest" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275404  }
275405  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275406  {
275407  try {
275408  result = (float)(arg1)->Vrest();
275409  }
275410  catch(CStdErrorInfo oError)
275411  {
275412  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275413  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275414  PyErr_SetString(PyExc_IndexError, strError.c_str());
275415  SWIG_fail;
275416  }
275417  catch(...)
275418  {
275419  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275420  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275421  SWIG_fail;
275422  }
275423  }
275424  resultobj = SWIG_From_float(static_cast< float >(result));
275425  return resultobj;
275426 fail:
275427  return NULL;
275428 }
275429 
275430 
275431 SWIGINTERN PyObject *_wrap_Neuron_Vrest__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
275432  PyObject *resultobj = 0;
275434  float arg2 ;
275435  void *argp1 = 0 ;
275436  int res1 = 0 ;
275437  float val2 ;
275438  int ecode2 = 0 ;
275439  PyObject * obj0 = 0 ;
275440  PyObject * obj1 = 0 ;
275441 
275442  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_Vrest",&obj0,&obj1)) SWIG_fail;
275443  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275444  if (!SWIG_IsOK(res1)) {
275445  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Vrest" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275446  }
275447  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275448  ecode2 = SWIG_AsVal_float(obj1, &val2);
275449  if (!SWIG_IsOK(ecode2)) {
275450  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_Vrest" "', argument " "2"" of type '" "float""'");
275451  }
275452  arg2 = static_cast< float >(val2);
275453  {
275454  try {
275455  (arg1)->Vrest(arg2);
275456  }
275457  catch(CStdErrorInfo oError)
275458  {
275459  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275460  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275461  PyErr_SetString(PyExc_IndexError, strError.c_str());
275462  SWIG_fail;
275463  }
275464  catch(...)
275465  {
275466  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275467  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275468  SWIG_fail;
275469  }
275470  }
275471  resultobj = SWIG_Py_Void();
275472  return resultobj;
275473 fail:
275474  return NULL;
275475 }
275476 
275477 
275478 SWIGINTERN PyObject *_wrap_Neuron_Vrest(PyObject *self, PyObject *args) {
275479  int argc;
275480  PyObject *argv[3];
275481  int ii;
275482 
275483  if (!PyTuple_Check(args)) SWIG_fail;
275484  argc = args ? (int)PyObject_Length(args) : 0;
275485  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
275486  argv[ii] = PyTuple_GET_ITEM(args,ii);
275487  }
275488  if (argc == 1) {
275489  int _v;
275490  void *vptr = 0;
275491  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
275492  _v = SWIG_CheckState(res);
275493  if (_v) {
275494  return _wrap_Neuron_Vrest__SWIG_0(self, args);
275495  }
275496  }
275497  if (argc == 2) {
275498  int _v;
275499  void *vptr = 0;
275500  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
275501  _v = SWIG_CheckState(res);
275502  if (_v) {
275503  {
275504  int res = SWIG_AsVal_float(argv[1], NULL);
275505  _v = SWIG_CheckState(res);
275506  }
275507  if (_v) {
275508  return _wrap_Neuron_Vrest__SWIG_1(self, args);
275509  }
275510  }
275511  }
275512 
275513 fail:
275514  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_Vrest'.\n"
275515  " Possible C/C++ prototypes are:\n"
275516  " FiringRateSim::Neurons::Neuron::Vrest()\n"
275517  " FiringRateSim::Neurons::Neuron::Vrest(float)\n");
275518  return 0;
275519 }
275520 
275521 
275522 SWIGINTERN PyObject *_wrap_Neuron_VNoiseMax__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
275523  PyObject *resultobj = 0;
275525  void *argp1 = 0 ;
275526  int res1 = 0 ;
275527  PyObject * obj0 = 0 ;
275528  float result;
275529 
275530  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_VNoiseMax",&obj0)) SWIG_fail;
275531  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275532  if (!SWIG_IsOK(res1)) {
275533  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_VNoiseMax" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275534  }
275535  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275536  {
275537  try {
275538  result = (float)(arg1)->VNoiseMax();
275539  }
275540  catch(CStdErrorInfo oError)
275541  {
275542  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275543  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275544  PyErr_SetString(PyExc_IndexError, strError.c_str());
275545  SWIG_fail;
275546  }
275547  catch(...)
275548  {
275549  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275550  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275551  SWIG_fail;
275552  }
275553  }
275554  resultobj = SWIG_From_float(static_cast< float >(result));
275555  return resultobj;
275556 fail:
275557  return NULL;
275558 }
275559 
275560 
275561 SWIGINTERN PyObject *_wrap_Neuron_VNoiseMax__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
275562  PyObject *resultobj = 0;
275564  float arg2 ;
275565  void *argp1 = 0 ;
275566  int res1 = 0 ;
275567  float val2 ;
275568  int ecode2 = 0 ;
275569  PyObject * obj0 = 0 ;
275570  PyObject * obj1 = 0 ;
275571 
275572  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_VNoiseMax",&obj0,&obj1)) SWIG_fail;
275573  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275574  if (!SWIG_IsOK(res1)) {
275575  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_VNoiseMax" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275576  }
275577  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275578  ecode2 = SWIG_AsVal_float(obj1, &val2);
275579  if (!SWIG_IsOK(ecode2)) {
275580  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_VNoiseMax" "', argument " "2"" of type '" "float""'");
275581  }
275582  arg2 = static_cast< float >(val2);
275583  {
275584  try {
275585  (arg1)->VNoiseMax(arg2);
275586  }
275587  catch(CStdErrorInfo oError)
275588  {
275589  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275590  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275591  PyErr_SetString(PyExc_IndexError, strError.c_str());
275592  SWIG_fail;
275593  }
275594  catch(...)
275595  {
275596  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275597  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275598  SWIG_fail;
275599  }
275600  }
275601  resultobj = SWIG_Py_Void();
275602  return resultobj;
275603 fail:
275604  return NULL;
275605 }
275606 
275607 
275608 SWIGINTERN PyObject *_wrap_Neuron_VNoiseMax(PyObject *self, PyObject *args) {
275609  int argc;
275610  PyObject *argv[3];
275611  int ii;
275612 
275613  if (!PyTuple_Check(args)) SWIG_fail;
275614  argc = args ? (int)PyObject_Length(args) : 0;
275615  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
275616  argv[ii] = PyTuple_GET_ITEM(args,ii);
275617  }
275618  if (argc == 1) {
275619  int _v;
275620  void *vptr = 0;
275621  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
275622  _v = SWIG_CheckState(res);
275623  if (_v) {
275624  return _wrap_Neuron_VNoiseMax__SWIG_0(self, args);
275625  }
275626  }
275627  if (argc == 2) {
275628  int _v;
275629  void *vptr = 0;
275630  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
275631  _v = SWIG_CheckState(res);
275632  if (_v) {
275633  {
275634  int res = SWIG_AsVal_float(argv[1], NULL);
275635  _v = SWIG_CheckState(res);
275636  }
275637  if (_v) {
275638  return _wrap_Neuron_VNoiseMax__SWIG_1(self, args);
275639  }
275640  }
275641  }
275642 
275643 fail:
275644  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_VNoiseMax'.\n"
275645  " Possible C/C++ prototypes are:\n"
275646  " FiringRateSim::Neurons::Neuron::VNoiseMax()\n"
275647  " FiringRateSim::Neurons::Neuron::VNoiseMax(float)\n");
275648  return 0;
275649 }
275650 
275651 
275652 SWIGINTERN PyObject *_wrap_Neuron_UseNoise__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
275653  PyObject *resultobj = 0;
275655  void *argp1 = 0 ;
275656  int res1 = 0 ;
275657  PyObject * obj0 = 0 ;
275658  bool result;
275659 
275660  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_UseNoise",&obj0)) SWIG_fail;
275661  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275662  if (!SWIG_IsOK(res1)) {
275663  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_UseNoise" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275664  }
275665  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275666  {
275667  try {
275668  result = (bool)(arg1)->UseNoise();
275669  }
275670  catch(CStdErrorInfo oError)
275671  {
275672  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275673  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275674  PyErr_SetString(PyExc_IndexError, strError.c_str());
275675  SWIG_fail;
275676  }
275677  catch(...)
275678  {
275679  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275680  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275681  SWIG_fail;
275682  }
275683  }
275684  resultobj = SWIG_From_bool(static_cast< bool >(result));
275685  return resultobj;
275686 fail:
275687  return NULL;
275688 }
275689 
275690 
275691 SWIGINTERN PyObject *_wrap_Neuron_UseNoise__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
275692  PyObject *resultobj = 0;
275694  bool arg2 ;
275695  void *argp1 = 0 ;
275696  int res1 = 0 ;
275697  bool val2 ;
275698  int ecode2 = 0 ;
275699  PyObject * obj0 = 0 ;
275700  PyObject * obj1 = 0 ;
275701 
275702  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_UseNoise",&obj0,&obj1)) SWIG_fail;
275703  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275704  if (!SWIG_IsOK(res1)) {
275705  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_UseNoise" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275706  }
275707  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275708  ecode2 = SWIG_AsVal_bool(obj1, &val2);
275709  if (!SWIG_IsOK(ecode2)) {
275710  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_UseNoise" "', argument " "2"" of type '" "bool""'");
275711  }
275712  arg2 = static_cast< bool >(val2);
275713  {
275714  try {
275715  (arg1)->UseNoise(arg2);
275716  }
275717  catch(CStdErrorInfo oError)
275718  {
275719  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275720  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275721  PyErr_SetString(PyExc_IndexError, strError.c_str());
275722  SWIG_fail;
275723  }
275724  catch(...)
275725  {
275726  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275727  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275728  SWIG_fail;
275729  }
275730  }
275731  resultobj = SWIG_Py_Void();
275732  return resultobj;
275733 fail:
275734  return NULL;
275735 }
275736 
275737 
275738 SWIGINTERN PyObject *_wrap_Neuron_UseNoise(PyObject *self, PyObject *args) {
275739  int argc;
275740  PyObject *argv[3];
275741  int ii;
275742 
275743  if (!PyTuple_Check(args)) SWIG_fail;
275744  argc = args ? (int)PyObject_Length(args) : 0;
275745  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
275746  argv[ii] = PyTuple_GET_ITEM(args,ii);
275747  }
275748  if (argc == 1) {
275749  int _v;
275750  void *vptr = 0;
275751  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
275752  _v = SWIG_CheckState(res);
275753  if (_v) {
275754  return _wrap_Neuron_UseNoise__SWIG_0(self, args);
275755  }
275756  }
275757  if (argc == 2) {
275758  int _v;
275759  void *vptr = 0;
275760  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
275761  _v = SWIG_CheckState(res);
275762  if (_v) {
275763  {
275764  int res = SWIG_AsVal_bool(argv[1], NULL);
275765  _v = SWIG_CheckState(res);
275766  }
275767  if (_v) {
275768  return _wrap_Neuron_UseNoise__SWIG_1(self, args);
275769  }
275770  }
275771  }
275772 
275773 fail:
275774  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_UseNoise'.\n"
275775  " Possible C/C++ prototypes are:\n"
275776  " FiringRateSim::Neurons::Neuron::UseNoise()\n"
275777  " FiringRateSim::Neurons::Neuron::UseNoise(bool)\n");
275778  return 0;
275779 }
275780 
275781 
275782 SWIGINTERN PyObject *_wrap_Neuron_UseAccom__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
275783  PyObject *resultobj = 0;
275785  void *argp1 = 0 ;
275786  int res1 = 0 ;
275787  PyObject * obj0 = 0 ;
275788  bool result;
275789 
275790  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_UseAccom",&obj0)) SWIG_fail;
275791  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275792  if (!SWIG_IsOK(res1)) {
275793  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_UseAccom" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275794  }
275795  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275796  {
275797  try {
275798  result = (bool)(arg1)->UseAccom();
275799  }
275800  catch(CStdErrorInfo oError)
275801  {
275802  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275803  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275804  PyErr_SetString(PyExc_IndexError, strError.c_str());
275805  SWIG_fail;
275806  }
275807  catch(...)
275808  {
275809  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275810  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275811  SWIG_fail;
275812  }
275813  }
275814  resultobj = SWIG_From_bool(static_cast< bool >(result));
275815  return resultobj;
275816 fail:
275817  return NULL;
275818 }
275819 
275820 
275821 SWIGINTERN PyObject *_wrap_Neuron_UseAccom__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
275822  PyObject *resultobj = 0;
275824  bool arg2 ;
275825  void *argp1 = 0 ;
275826  int res1 = 0 ;
275827  bool val2 ;
275828  int ecode2 = 0 ;
275829  PyObject * obj0 = 0 ;
275830  PyObject * obj1 = 0 ;
275831 
275832  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_UseAccom",&obj0,&obj1)) SWIG_fail;
275833  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275834  if (!SWIG_IsOK(res1)) {
275835  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_UseAccom" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275836  }
275837  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275838  ecode2 = SWIG_AsVal_bool(obj1, &val2);
275839  if (!SWIG_IsOK(ecode2)) {
275840  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_UseAccom" "', argument " "2"" of type '" "bool""'");
275841  }
275842  arg2 = static_cast< bool >(val2);
275843  {
275844  try {
275845  (arg1)->UseAccom(arg2);
275846  }
275847  catch(CStdErrorInfo oError)
275848  {
275849  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275850  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275851  PyErr_SetString(PyExc_IndexError, strError.c_str());
275852  SWIG_fail;
275853  }
275854  catch(...)
275855  {
275856  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275857  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275858  SWIG_fail;
275859  }
275860  }
275861  resultobj = SWIG_Py_Void();
275862  return resultobj;
275863 fail:
275864  return NULL;
275865 }
275866 
275867 
275868 SWIGINTERN PyObject *_wrap_Neuron_UseAccom(PyObject *self, PyObject *args) {
275869  int argc;
275870  PyObject *argv[3];
275871  int ii;
275872 
275873  if (!PyTuple_Check(args)) SWIG_fail;
275874  argc = args ? (int)PyObject_Length(args) : 0;
275875  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
275876  argv[ii] = PyTuple_GET_ITEM(args,ii);
275877  }
275878  if (argc == 1) {
275879  int _v;
275880  void *vptr = 0;
275881  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
275882  _v = SWIG_CheckState(res);
275883  if (_v) {
275884  return _wrap_Neuron_UseAccom__SWIG_0(self, args);
275885  }
275886  }
275887  if (argc == 2) {
275888  int _v;
275889  void *vptr = 0;
275890  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
275891  _v = SWIG_CheckState(res);
275892  if (_v) {
275893  {
275894  int res = SWIG_AsVal_bool(argv[1], NULL);
275895  _v = SWIG_CheckState(res);
275896  }
275897  if (_v) {
275898  return _wrap_Neuron_UseAccom__SWIG_1(self, args);
275899  }
275900  }
275901  }
275902 
275903 fail:
275904  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_UseAccom'.\n"
275905  " Possible C/C++ prototypes are:\n"
275906  " FiringRateSim::Neurons::Neuron::UseAccom()\n"
275907  " FiringRateSim::Neurons::Neuron::UseAccom(bool)\n");
275908  return 0;
275909 }
275910 
275911 
275912 SWIGINTERN PyObject *_wrap_Neuron_RelativeAccommodation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
275913  PyObject *resultobj = 0;
275915  void *argp1 = 0 ;
275916  int res1 = 0 ;
275917  PyObject * obj0 = 0 ;
275918  float result;
275919 
275920  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_RelativeAccommodation",&obj0)) SWIG_fail;
275921  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275922  if (!SWIG_IsOK(res1)) {
275923  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_RelativeAccommodation" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275924  }
275925  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275926  {
275927  try {
275928  result = (float)(arg1)->RelativeAccommodation();
275929  }
275930  catch(CStdErrorInfo oError)
275931  {
275932  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275933  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275934  PyErr_SetString(PyExc_IndexError, strError.c_str());
275935  SWIG_fail;
275936  }
275937  catch(...)
275938  {
275939  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275940  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275941  SWIG_fail;
275942  }
275943  }
275944  resultobj = SWIG_From_float(static_cast< float >(result));
275945  return resultobj;
275946 fail:
275947  return NULL;
275948 }
275949 
275950 
275951 SWIGINTERN PyObject *_wrap_Neuron_RelativeAccommodation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
275952  PyObject *resultobj = 0;
275954  float arg2 ;
275955  void *argp1 = 0 ;
275956  int res1 = 0 ;
275957  float val2 ;
275958  int ecode2 = 0 ;
275959  PyObject * obj0 = 0 ;
275960  PyObject * obj1 = 0 ;
275961 
275962  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_RelativeAccommodation",&obj0,&obj1)) SWIG_fail;
275963  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
275964  if (!SWIG_IsOK(res1)) {
275965  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_RelativeAccommodation" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
275966  }
275967  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
275968  ecode2 = SWIG_AsVal_float(obj1, &val2);
275969  if (!SWIG_IsOK(ecode2)) {
275970  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_RelativeAccommodation" "', argument " "2"" of type '" "float""'");
275971  }
275972  arg2 = static_cast< float >(val2);
275973  {
275974  try {
275975  (arg1)->RelativeAccommodation(arg2);
275976  }
275977  catch(CStdErrorInfo oError)
275978  {
275979  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275980  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
275981  PyErr_SetString(PyExc_IndexError, strError.c_str());
275982  SWIG_fail;
275983  }
275984  catch(...)
275985  {
275986  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
275987  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
275988  SWIG_fail;
275989  }
275990  }
275991  resultobj = SWIG_Py_Void();
275992  return resultobj;
275993 fail:
275994  return NULL;
275995 }
275996 
275997 
275998 SWIGINTERN PyObject *_wrap_Neuron_RelativeAccommodation(PyObject *self, PyObject *args) {
275999  int argc;
276000  PyObject *argv[3];
276001  int ii;
276002 
276003  if (!PyTuple_Check(args)) SWIG_fail;
276004  argc = args ? (int)PyObject_Length(args) : 0;
276005  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
276006  argv[ii] = PyTuple_GET_ITEM(args,ii);
276007  }
276008  if (argc == 1) {
276009  int _v;
276010  void *vptr = 0;
276011  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
276012  _v = SWIG_CheckState(res);
276013  if (_v) {
276014  return _wrap_Neuron_RelativeAccommodation__SWIG_0(self, args);
276015  }
276016  }
276017  if (argc == 2) {
276018  int _v;
276019  void *vptr = 0;
276020  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
276021  _v = SWIG_CheckState(res);
276022  if (_v) {
276023  {
276024  int res = SWIG_AsVal_float(argv[1], NULL);
276025  _v = SWIG_CheckState(res);
276026  }
276027  if (_v) {
276028  return _wrap_Neuron_RelativeAccommodation__SWIG_1(self, args);
276029  }
276030  }
276031  }
276032 
276033 fail:
276034  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_RelativeAccommodation'.\n"
276035  " Possible C/C++ prototypes are:\n"
276036  " FiringRateSim::Neurons::Neuron::RelativeAccommodation()\n"
276037  " FiringRateSim::Neurons::Neuron::RelativeAccommodation(float)\n");
276038  return 0;
276039 }
276040 
276041 
276042 SWIGINTERN PyObject *_wrap_Neuron_AccommodationTimeConstant__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276043  PyObject *resultobj = 0;
276045  void *argp1 = 0 ;
276046  int res1 = 0 ;
276047  PyObject * obj0 = 0 ;
276048  float result;
276049 
276050  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_AccommodationTimeConstant",&obj0)) SWIG_fail;
276051  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276052  if (!SWIG_IsOK(res1)) {
276053  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_AccommodationTimeConstant" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276054  }
276055  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276056  {
276057  try {
276058  result = (float)(arg1)->AccommodationTimeConstant();
276059  }
276060  catch(CStdErrorInfo oError)
276061  {
276062  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276063  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276064  PyErr_SetString(PyExc_IndexError, strError.c_str());
276065  SWIG_fail;
276066  }
276067  catch(...)
276068  {
276069  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276070  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276071  SWIG_fail;
276072  }
276073  }
276074  resultobj = SWIG_From_float(static_cast< float >(result));
276075  return resultobj;
276076 fail:
276077  return NULL;
276078 }
276079 
276080 
276081 SWIGINTERN PyObject *_wrap_Neuron_AccommodationTimeConstant__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276082  PyObject *resultobj = 0;
276084  float arg2 ;
276085  void *argp1 = 0 ;
276086  int res1 = 0 ;
276087  float val2 ;
276088  int ecode2 = 0 ;
276089  PyObject * obj0 = 0 ;
276090  PyObject * obj1 = 0 ;
276091 
276092  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_AccommodationTimeConstant",&obj0,&obj1)) SWIG_fail;
276093  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276094  if (!SWIG_IsOK(res1)) {
276095  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_AccommodationTimeConstant" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276096  }
276097  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276098  ecode2 = SWIG_AsVal_float(obj1, &val2);
276099  if (!SWIG_IsOK(ecode2)) {
276100  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_AccommodationTimeConstant" "', argument " "2"" of type '" "float""'");
276101  }
276102  arg2 = static_cast< float >(val2);
276103  {
276104  try {
276105  (arg1)->AccommodationTimeConstant(arg2);
276106  }
276107  catch(CStdErrorInfo oError)
276108  {
276109  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276110  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276111  PyErr_SetString(PyExc_IndexError, strError.c_str());
276112  SWIG_fail;
276113  }
276114  catch(...)
276115  {
276116  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276117  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276118  SWIG_fail;
276119  }
276120  }
276121  resultobj = SWIG_Py_Void();
276122  return resultobj;
276123 fail:
276124  return NULL;
276125 }
276126 
276127 
276128 SWIGINTERN PyObject *_wrap_Neuron_AccommodationTimeConstant(PyObject *self, PyObject *args) {
276129  int argc;
276130  PyObject *argv[3];
276131  int ii;
276132 
276133  if (!PyTuple_Check(args)) SWIG_fail;
276134  argc = args ? (int)PyObject_Length(args) : 0;
276135  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
276136  argv[ii] = PyTuple_GET_ITEM(args,ii);
276137  }
276138  if (argc == 1) {
276139  int _v;
276140  void *vptr = 0;
276141  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
276142  _v = SWIG_CheckState(res);
276143  if (_v) {
276144  return _wrap_Neuron_AccommodationTimeConstant__SWIG_0(self, args);
276145  }
276146  }
276147  if (argc == 2) {
276148  int _v;
276149  void *vptr = 0;
276150  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
276151  _v = SWIG_CheckState(res);
276152  if (_v) {
276153  {
276154  int res = SWIG_AsVal_float(argv[1], NULL);
276155  _v = SWIG_CheckState(res);
276156  }
276157  if (_v) {
276158  return _wrap_Neuron_AccommodationTimeConstant__SWIG_1(self, args);
276159  }
276160  }
276161  }
276162 
276163 fail:
276164  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_AccommodationTimeConstant'.\n"
276165  " Possible C/C++ prototypes are:\n"
276166  " FiringRateSim::Neurons::Neuron::AccommodationTimeConstant()\n"
276167  " FiringRateSim::Neurons::Neuron::AccommodationTimeConstant(float)\n");
276168  return 0;
276169 }
276170 
276171 
276172 SWIGINTERN PyObject *_wrap_Neuron_Iinit__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276173  PyObject *resultobj = 0;
276175  void *argp1 = 0 ;
276176  int res1 = 0 ;
276177  PyObject * obj0 = 0 ;
276178  float result;
276179 
276180  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_Iinit",&obj0)) SWIG_fail;
276181  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276182  if (!SWIG_IsOK(res1)) {
276183  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Iinit" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276184  }
276185  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276186  {
276187  try {
276188  result = (float)(arg1)->Iinit();
276189  }
276190  catch(CStdErrorInfo oError)
276191  {
276192  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276193  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276194  PyErr_SetString(PyExc_IndexError, strError.c_str());
276195  SWIG_fail;
276196  }
276197  catch(...)
276198  {
276199  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276200  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276201  SWIG_fail;
276202  }
276203  }
276204  resultobj = SWIG_From_float(static_cast< float >(result));
276205  return resultobj;
276206 fail:
276207  return NULL;
276208 }
276209 
276210 
276211 SWIGINTERN PyObject *_wrap_Neuron_Iinit__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276212  PyObject *resultobj = 0;
276214  float arg2 ;
276215  void *argp1 = 0 ;
276216  int res1 = 0 ;
276217  float val2 ;
276218  int ecode2 = 0 ;
276219  PyObject * obj0 = 0 ;
276220  PyObject * obj1 = 0 ;
276221 
276222  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_Iinit",&obj0,&obj1)) SWIG_fail;
276223  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276224  if (!SWIG_IsOK(res1)) {
276225  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Iinit" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276226  }
276227  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276228  ecode2 = SWIG_AsVal_float(obj1, &val2);
276229  if (!SWIG_IsOK(ecode2)) {
276230  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_Iinit" "', argument " "2"" of type '" "float""'");
276231  }
276232  arg2 = static_cast< float >(val2);
276233  {
276234  try {
276235  (arg1)->Iinit(arg2);
276236  }
276237  catch(CStdErrorInfo oError)
276238  {
276239  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276240  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276241  PyErr_SetString(PyExc_IndexError, strError.c_str());
276242  SWIG_fail;
276243  }
276244  catch(...)
276245  {
276246  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276247  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276248  SWIG_fail;
276249  }
276250  }
276251  resultobj = SWIG_Py_Void();
276252  return resultobj;
276253 fail:
276254  return NULL;
276255 }
276256 
276257 
276258 SWIGINTERN PyObject *_wrap_Neuron_Iinit(PyObject *self, PyObject *args) {
276259  int argc;
276260  PyObject *argv[3];
276261  int ii;
276262 
276263  if (!PyTuple_Check(args)) SWIG_fail;
276264  argc = args ? (int)PyObject_Length(args) : 0;
276265  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
276266  argv[ii] = PyTuple_GET_ITEM(args,ii);
276267  }
276268  if (argc == 1) {
276269  int _v;
276270  void *vptr = 0;
276271  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
276272  _v = SWIG_CheckState(res);
276273  if (_v) {
276274  return _wrap_Neuron_Iinit__SWIG_0(self, args);
276275  }
276276  }
276277  if (argc == 2) {
276278  int _v;
276279  void *vptr = 0;
276280  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
276281  _v = SWIG_CheckState(res);
276282  if (_v) {
276283  {
276284  int res = SWIG_AsVal_float(argv[1], NULL);
276285  _v = SWIG_CheckState(res);
276286  }
276287  if (_v) {
276288  return _wrap_Neuron_Iinit__SWIG_1(self, args);
276289  }
276290  }
276291  }
276292 
276293 fail:
276294  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_Iinit'.\n"
276295  " Possible C/C++ prototypes are:\n"
276296  " FiringRateSim::Neurons::Neuron::Iinit()\n"
276297  " FiringRateSim::Neurons::Neuron::Iinit(float)\n");
276298  return 0;
276299 }
276300 
276301 
276302 SWIGINTERN PyObject *_wrap_Neuron_InitTime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276303  PyObject *resultobj = 0;
276305  void *argp1 = 0 ;
276306  int res1 = 0 ;
276307  PyObject * obj0 = 0 ;
276308  float result;
276309 
276310  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_InitTime",&obj0)) SWIG_fail;
276311  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276312  if (!SWIG_IsOK(res1)) {
276313  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_InitTime" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276314  }
276315  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276316  {
276317  try {
276318  result = (float)(arg1)->InitTime();
276319  }
276320  catch(CStdErrorInfo oError)
276321  {
276322  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276323  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276324  PyErr_SetString(PyExc_IndexError, strError.c_str());
276325  SWIG_fail;
276326  }
276327  catch(...)
276328  {
276329  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276330  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276331  SWIG_fail;
276332  }
276333  }
276334  resultobj = SWIG_From_float(static_cast< float >(result));
276335  return resultobj;
276336 fail:
276337  return NULL;
276338 }
276339 
276340 
276341 SWIGINTERN PyObject *_wrap_Neuron_InitTime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276342  PyObject *resultobj = 0;
276344  float arg2 ;
276345  void *argp1 = 0 ;
276346  int res1 = 0 ;
276347  float val2 ;
276348  int ecode2 = 0 ;
276349  PyObject * obj0 = 0 ;
276350  PyObject * obj1 = 0 ;
276351 
276352  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_InitTime",&obj0,&obj1)) SWIG_fail;
276353  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276354  if (!SWIG_IsOK(res1)) {
276355  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_InitTime" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276356  }
276357  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276358  ecode2 = SWIG_AsVal_float(obj1, &val2);
276359  if (!SWIG_IsOK(ecode2)) {
276360  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_InitTime" "', argument " "2"" of type '" "float""'");
276361  }
276362  arg2 = static_cast< float >(val2);
276363  {
276364  try {
276365  (arg1)->InitTime(arg2);
276366  }
276367  catch(CStdErrorInfo oError)
276368  {
276369  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276370  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276371  PyErr_SetString(PyExc_IndexError, strError.c_str());
276372  SWIG_fail;
276373  }
276374  catch(...)
276375  {
276376  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276377  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276378  SWIG_fail;
276379  }
276380  }
276381  resultobj = SWIG_Py_Void();
276382  return resultobj;
276383 fail:
276384  return NULL;
276385 }
276386 
276387 
276388 SWIGINTERN PyObject *_wrap_Neuron_InitTime(PyObject *self, PyObject *args) {
276389  int argc;
276390  PyObject *argv[3];
276391  int ii;
276392 
276393  if (!PyTuple_Check(args)) SWIG_fail;
276394  argc = args ? (int)PyObject_Length(args) : 0;
276395  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
276396  argv[ii] = PyTuple_GET_ITEM(args,ii);
276397  }
276398  if (argc == 1) {
276399  int _v;
276400  void *vptr = 0;
276401  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
276402  _v = SWIG_CheckState(res);
276403  if (_v) {
276404  return _wrap_Neuron_InitTime__SWIG_0(self, args);
276405  }
276406  }
276407  if (argc == 2) {
276408  int _v;
276409  void *vptr = 0;
276410  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
276411  _v = SWIG_CheckState(res);
276412  if (_v) {
276413  {
276414  int res = SWIG_AsVal_float(argv[1], NULL);
276415  _v = SWIG_CheckState(res);
276416  }
276417  if (_v) {
276418  return _wrap_Neuron_InitTime__SWIG_1(self, args);
276419  }
276420  }
276421  }
276422 
276423 fail:
276424  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_InitTime'.\n"
276425  " Possible C/C++ prototypes are:\n"
276426  " FiringRateSim::Neurons::Neuron::InitTime()\n"
276427  " FiringRateSim::Neurons::Neuron::InitTime(float)\n");
276428  return 0;
276429 }
276430 
276431 
276432 SWIGINTERN PyObject *_wrap_Neuron_GainType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276433  PyObject *resultobj = 0;
276435  void *argp1 = 0 ;
276436  int res1 = 0 ;
276437  PyObject * obj0 = 0 ;
276438  bool result;
276439 
276440  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_GainType",&obj0)) SWIG_fail;
276441  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276442  if (!SWIG_IsOK(res1)) {
276443  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_GainType" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276444  }
276445  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276446  {
276447  try {
276448  result = (bool)(arg1)->GainType();
276449  }
276450  catch(CStdErrorInfo oError)
276451  {
276452  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276453  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276454  PyErr_SetString(PyExc_IndexError, strError.c_str());
276455  SWIG_fail;
276456  }
276457  catch(...)
276458  {
276459  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276460  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276461  SWIG_fail;
276462  }
276463  }
276464  resultobj = SWIG_From_bool(static_cast< bool >(result));
276465  return resultobj;
276466 fail:
276467  return NULL;
276468 }
276469 
276470 
276471 SWIGINTERN PyObject *_wrap_Neuron_GainType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276472  PyObject *resultobj = 0;
276474  bool arg2 ;
276475  void *argp1 = 0 ;
276476  int res1 = 0 ;
276477  bool val2 ;
276478  int ecode2 = 0 ;
276479  PyObject * obj0 = 0 ;
276480  PyObject * obj1 = 0 ;
276481 
276482  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_GainType",&obj0,&obj1)) SWIG_fail;
276483  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276484  if (!SWIG_IsOK(res1)) {
276485  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_GainType" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276486  }
276487  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276488  ecode2 = SWIG_AsVal_bool(obj1, &val2);
276489  if (!SWIG_IsOK(ecode2)) {
276490  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_GainType" "', argument " "2"" of type '" "bool""'");
276491  }
276492  arg2 = static_cast< bool >(val2);
276493  {
276494  try {
276495  (arg1)->GainType(arg2);
276496  }
276497  catch(CStdErrorInfo oError)
276498  {
276499  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276500  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276501  PyErr_SetString(PyExc_IndexError, strError.c_str());
276502  SWIG_fail;
276503  }
276504  catch(...)
276505  {
276506  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276507  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276508  SWIG_fail;
276509  }
276510  }
276511  resultobj = SWIG_Py_Void();
276512  return resultobj;
276513 fail:
276514  return NULL;
276515 }
276516 
276517 
276518 SWIGINTERN PyObject *_wrap_Neuron_GainType(PyObject *self, PyObject *args) {
276519  int argc;
276520  PyObject *argv[3];
276521  int ii;
276522 
276523  if (!PyTuple_Check(args)) SWIG_fail;
276524  argc = args ? (int)PyObject_Length(args) : 0;
276525  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
276526  argv[ii] = PyTuple_GET_ITEM(args,ii);
276527  }
276528  if (argc == 1) {
276529  int _v;
276530  void *vptr = 0;
276531  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
276532  _v = SWIG_CheckState(res);
276533  if (_v) {
276534  return _wrap_Neuron_GainType__SWIG_0(self, args);
276535  }
276536  }
276537  if (argc == 2) {
276538  int _v;
276539  void *vptr = 0;
276540  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
276541  _v = SWIG_CheckState(res);
276542  if (_v) {
276543  {
276544  int res = SWIG_AsVal_bool(argv[1], NULL);
276545  _v = SWIG_CheckState(res);
276546  }
276547  if (_v) {
276548  return _wrap_Neuron_GainType__SWIG_1(self, args);
276549  }
276550  }
276551  }
276552 
276553 fail:
276554  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_GainType'.\n"
276555  " Possible C/C++ prototypes are:\n"
276556  " FiringRateSim::Neurons::Neuron::GainType()\n"
276557  " FiringRateSim::Neurons::Neuron::GainType(bool)\n");
276558  return 0;
276559 }
276560 
276561 
276562 SWIGINTERN PyObject *_wrap_Neuron_Vn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276563  PyObject *resultobj = 0;
276565  void *argp1 = 0 ;
276566  int res1 = 0 ;
276567  PyObject * obj0 = 0 ;
276568  float result;
276569 
276570  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_Vn",&obj0)) SWIG_fail;
276571  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276572  if (!SWIG_IsOK(res1)) {
276573  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Vn" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276574  }
276575  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276576  {
276577  try {
276578  result = (float)(arg1)->Vn();
276579  }
276580  catch(CStdErrorInfo oError)
276581  {
276582  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276583  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276584  PyErr_SetString(PyExc_IndexError, strError.c_str());
276585  SWIG_fail;
276586  }
276587  catch(...)
276588  {
276589  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276590  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276591  SWIG_fail;
276592  }
276593  }
276594  resultobj = SWIG_From_float(static_cast< float >(result));
276595  return resultobj;
276596 fail:
276597  return NULL;
276598 }
276599 
276600 
276601 SWIGINTERN PyObject *_wrap_Neuron_FiringFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276602  PyObject *resultobj = 0;
276604  FiringRateModule *arg2 = (FiringRateModule *) 0 ;
276605  void *argp1 = 0 ;
276606  int res1 = 0 ;
276607  void *argp2 = 0 ;
276608  int res2 = 0 ;
276609  PyObject * obj0 = 0 ;
276610  PyObject * obj1 = 0 ;
276611  float result;
276612 
276613  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_FiringFreq",&obj0,&obj1)) SWIG_fail;
276614  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276615  if (!SWIG_IsOK(res1)) {
276616  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_FiringFreq" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276617  }
276618  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276619  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_FiringRateModule, 0 | 0 );
276620  if (!SWIG_IsOK(res2)) {
276621  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_FiringFreq" "', argument " "2"" of type '" "FiringRateModule *""'");
276622  }
276623  arg2 = reinterpret_cast< FiringRateModule * >(argp2);
276624  {
276625  try {
276626  result = (float)(arg1)->FiringFreq(arg2);
276627  }
276628  catch(CStdErrorInfo oError)
276629  {
276630  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276631  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276632  PyErr_SetString(PyExc_IndexError, strError.c_str());
276633  SWIG_fail;
276634  }
276635  catch(...)
276636  {
276637  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276638  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276639  SWIG_fail;
276640  }
276641  }
276642  resultobj = SWIG_From_float(static_cast< float >(result));
276643  return resultobj;
276644 fail:
276645  return NULL;
276646 }
276647 
276648 
276649 SWIGINTERN PyObject *_wrap_Neuron_NeuronType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276650  PyObject *resultobj = 0;
276652  void *argp1 = 0 ;
276653  int res1 = 0 ;
276654  PyObject * obj0 = 0 ;
276655  unsigned char result;
276656 
276657  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_NeuronType",&obj0)) SWIG_fail;
276658  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276659  if (!SWIG_IsOK(res1)) {
276660  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_NeuronType" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276661  }
276662  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276663  {
276664  try {
276665  result = (unsigned char)(arg1)->NeuronType();
276666  }
276667  catch(CStdErrorInfo oError)
276668  {
276669  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276670  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276671  PyErr_SetString(PyExc_IndexError, strError.c_str());
276672  SWIG_fail;
276673  }
276674  catch(...)
276675  {
276676  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276677  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276678  SWIG_fail;
276679  }
276680  }
276681  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
276682  return resultobj;
276683 fail:
276684  return NULL;
276685 }
276686 
276687 
276688 SWIGINTERN PyObject *_wrap_Neuron_GetSynapses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276689  PyObject *resultobj = 0;
276691  void *argp1 = 0 ;
276692  int res1 = 0 ;
276693  PyObject * obj0 = 0 ;
276694  CStdPtrArray< Synapse > *result = 0 ;
276695 
276696  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_GetSynapses",&obj0)) SWIG_fail;
276697  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276698  if (!SWIG_IsOK(res1)) {
276699  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_GetSynapses" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276700  }
276701  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276702  {
276703  try {
276704  result = (CStdPtrArray< Synapse > *)(arg1)->GetSynapses();
276705  }
276706  catch(CStdErrorInfo oError)
276707  {
276708  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276709  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276710  PyErr_SetString(PyExc_IndexError, strError.c_str());
276711  SWIG_fail;
276712  }
276713  catch(...)
276714  {
276715  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276716  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276717  SWIG_fail;
276718  }
276719  }
276720  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CStdPtrArrayT_Synapse_t, 0 | 0 );
276721  return resultobj;
276722 fail:
276723  return NULL;
276724 }
276725 
276726 
276727 SWIGINTERN PyObject *_wrap_Neuron_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276728  PyObject *resultobj = 0;
276731  void *argp1 = 0 ;
276732  int res1 = 0 ;
276733  void *argp2 = 0 ;
276734  int res2 = 0 ;
276735  PyObject * obj0 = 0 ;
276736  PyObject * obj1 = 0 ;
276737 
276738  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_Copy",&obj0,&obj1)) SWIG_fail;
276739  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276740  if (!SWIG_IsOK(res1)) {
276741  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Copy" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276742  }
276743  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276744  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
276745  if (!SWIG_IsOK(res2)) {
276746  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_Copy" "', argument " "2"" of type '" "StdUtils::CStdSerialize *""'");
276747  }
276748  arg2 = reinterpret_cast< StdUtils::CStdSerialize * >(argp2);
276749  {
276750  try {
276751  (arg1)->Copy(arg2);
276752  }
276753  catch(CStdErrorInfo oError)
276754  {
276755  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276756  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276757  PyErr_SetString(PyExc_IndexError, strError.c_str());
276758  SWIG_fail;
276759  }
276760  catch(...)
276761  {
276762  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276763  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276764  SWIG_fail;
276765  }
276766  }
276767  resultobj = SWIG_Py_Void();
276768  return resultobj;
276769 fail:
276770  return NULL;
276771 }
276772 
276773 
276774 SWIGINTERN PyObject *_wrap_Neuron_AddSynapse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276775  PyObject *resultobj = 0;
276777  Synapse *arg2 = (Synapse *) 0 ;
276778  void *argp1 = 0 ;
276779  int res1 = 0 ;
276780  void *argp2 = 0 ;
276781  int res2 = 0 ;
276782  PyObject * obj0 = 0 ;
276783  PyObject * obj1 = 0 ;
276784 
276785  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_AddSynapse",&obj0,&obj1)) SWIG_fail;
276786  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276787  if (!SWIG_IsOK(res1)) {
276788  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_AddSynapse" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276789  }
276790  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276791  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Synapse, 0 | 0 );
276792  if (!SWIG_IsOK(res2)) {
276793  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_AddSynapse" "', argument " "2"" of type '" "Synapse *""'");
276794  }
276795  arg2 = reinterpret_cast< Synapse * >(argp2);
276796  {
276797  try {
276798  (arg1)->AddSynapse(arg2);
276799  }
276800  catch(CStdErrorInfo oError)
276801  {
276802  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276803  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276804  PyErr_SetString(PyExc_IndexError, strError.c_str());
276805  SWIG_fail;
276806  }
276807  catch(...)
276808  {
276809  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276810  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276811  SWIG_fail;
276812  }
276813  }
276814  resultobj = SWIG_Py_Void();
276815  return resultobj;
276816 fail:
276817  return NULL;
276818 }
276819 
276820 
276821 SWIGINTERN PyObject *_wrap_Neuron_AddSynapse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276822  PyObject *resultobj = 0;
276824  std::string arg2 ;
276825  bool arg3 ;
276826  void *argp1 = 0 ;
276827  int res1 = 0 ;
276828  bool val3 ;
276829  int ecode3 = 0 ;
276830  PyObject * obj0 = 0 ;
276831  PyObject * obj1 = 0 ;
276832  PyObject * obj2 = 0 ;
276833 
276834  if (!PyArg_ParseTuple(args,(char *)"OOO:Neuron_AddSynapse",&obj0,&obj1,&obj2)) SWIG_fail;
276835  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276836  if (!SWIG_IsOK(res1)) {
276837  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_AddSynapse" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276838  }
276839  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276840  {
276841  std::string *ptr = (std::string *)0;
276842  int res = SWIG_AsPtr_std_string(obj1, &ptr);
276843  if (!SWIG_IsOK(res) || !ptr) {
276844  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Neuron_AddSynapse" "', argument " "2"" of type '" "std::string""'");
276845  }
276846  arg2 = *ptr;
276847  if (SWIG_IsNewObj(res)) delete ptr;
276848  }
276849  ecode3 = SWIG_AsVal_bool(obj2, &val3);
276850  if (!SWIG_IsOK(ecode3)) {
276851  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Neuron_AddSynapse" "', argument " "3"" of type '" "bool""'");
276852  }
276853  arg3 = static_cast< bool >(val3);
276854  {
276855  try {
276856  (arg1)->AddSynapse(arg2,arg3);
276857  }
276858  catch(CStdErrorInfo oError)
276859  {
276860  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276861  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276862  PyErr_SetString(PyExc_IndexError, strError.c_str());
276863  SWIG_fail;
276864  }
276865  catch(...)
276866  {
276867  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276868  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276869  SWIG_fail;
276870  }
276871  }
276872  resultobj = SWIG_Py_Void();
276873  return resultobj;
276874 fail:
276875  return NULL;
276876 }
276877 
276878 
276879 SWIGINTERN PyObject *_wrap_Neuron_AddSynapse(PyObject *self, PyObject *args) {
276880  int argc;
276881  PyObject *argv[4];
276882  int ii;
276883 
276884  if (!PyTuple_Check(args)) SWIG_fail;
276885  argc = args ? (int)PyObject_Length(args) : 0;
276886  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
276887  argv[ii] = PyTuple_GET_ITEM(args,ii);
276888  }
276889  if (argc == 2) {
276890  int _v;
276891  void *vptr = 0;
276892  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
276893  _v = SWIG_CheckState(res);
276894  if (_v) {
276895  void *vptr = 0;
276896  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_Synapse, 0);
276897  _v = SWIG_CheckState(res);
276898  if (_v) {
276899  return _wrap_Neuron_AddSynapse__SWIG_0(self, args);
276900  }
276901  }
276902  }
276903  if (argc == 3) {
276904  int _v;
276905  void *vptr = 0;
276906  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
276907  _v = SWIG_CheckState(res);
276908  if (_v) {
276909  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
276910  _v = SWIG_CheckState(res);
276911  if (_v) {
276912  {
276913  int res = SWIG_AsVal_bool(argv[2], NULL);
276914  _v = SWIG_CheckState(res);
276915  }
276916  if (_v) {
276917  return _wrap_Neuron_AddSynapse__SWIG_1(self, args);
276918  }
276919  }
276920  }
276921  }
276922 
276923 fail:
276924  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_AddSynapse'.\n"
276925  " Possible C/C++ prototypes are:\n"
276926  " FiringRateSim::Neurons::Neuron::AddSynapse(Synapse *)\n"
276927  " FiringRateSim::Neurons::Neuron::AddSynapse(std::string,bool)\n");
276928  return 0;
276929 }
276930 
276931 
276932 SWIGINTERN PyObject *_wrap_Neuron_RemoveSynapse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276933  PyObject *resultobj = 0;
276935  int arg2 ;
276936  void *argp1 = 0 ;
276937  int res1 = 0 ;
276938  int val2 ;
276939  int ecode2 = 0 ;
276940  PyObject * obj0 = 0 ;
276941  PyObject * obj1 = 0 ;
276942 
276943  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_RemoveSynapse",&obj0,&obj1)) SWIG_fail;
276944  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276945  if (!SWIG_IsOK(res1)) {
276946  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_RemoveSynapse" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276947  }
276948  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276949  ecode2 = SWIG_AsVal_int(obj1, &val2);
276950  if (!SWIG_IsOK(ecode2)) {
276951  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_RemoveSynapse" "', argument " "2"" of type '" "int""'");
276952  }
276953  arg2 = static_cast< int >(val2);
276954  {
276955  try {
276956  (arg1)->RemoveSynapse(arg2);
276957  }
276958  catch(CStdErrorInfo oError)
276959  {
276960  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276961  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
276962  PyErr_SetString(PyExc_IndexError, strError.c_str());
276963  SWIG_fail;
276964  }
276965  catch(...)
276966  {
276967  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
276968  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
276969  SWIG_fail;
276970  }
276971  }
276972  resultobj = SWIG_Py_Void();
276973  return resultobj;
276974 fail:
276975  return NULL;
276976 }
276977 
276978 
276979 SWIGINTERN PyObject *_wrap_Neuron_RemoveSynapse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
276980  PyObject *resultobj = 0;
276982  std::string arg2 ;
276983  bool arg3 ;
276984  void *argp1 = 0 ;
276985  int res1 = 0 ;
276986  bool val3 ;
276987  int ecode3 = 0 ;
276988  PyObject * obj0 = 0 ;
276989  PyObject * obj1 = 0 ;
276990  PyObject * obj2 = 0 ;
276991 
276992  if (!PyArg_ParseTuple(args,(char *)"OOO:Neuron_RemoveSynapse",&obj0,&obj1,&obj2)) SWIG_fail;
276993  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
276994  if (!SWIG_IsOK(res1)) {
276995  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_RemoveSynapse" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
276996  }
276997  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
276998  {
276999  std::string *ptr = (std::string *)0;
277000  int res = SWIG_AsPtr_std_string(obj1, &ptr);
277001  if (!SWIG_IsOK(res) || !ptr) {
277002  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Neuron_RemoveSynapse" "', argument " "2"" of type '" "std::string""'");
277003  }
277004  arg2 = *ptr;
277005  if (SWIG_IsNewObj(res)) delete ptr;
277006  }
277007  ecode3 = SWIG_AsVal_bool(obj2, &val3);
277008  if (!SWIG_IsOK(ecode3)) {
277009  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Neuron_RemoveSynapse" "', argument " "3"" of type '" "bool""'");
277010  }
277011  arg3 = static_cast< bool >(val3);
277012  {
277013  try {
277014  (arg1)->RemoveSynapse(arg2,arg3);
277015  }
277016  catch(CStdErrorInfo oError)
277017  {
277018  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277019  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277020  PyErr_SetString(PyExc_IndexError, strError.c_str());
277021  SWIG_fail;
277022  }
277023  catch(...)
277024  {
277025  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277026  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277027  SWIG_fail;
277028  }
277029  }
277030  resultobj = SWIG_Py_Void();
277031  return resultobj;
277032 fail:
277033  return NULL;
277034 }
277035 
277036 
277037 SWIGINTERN PyObject *_wrap_Neuron_RemoveSynapse__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277038  PyObject *resultobj = 0;
277040  std::string arg2 ;
277041  void *argp1 = 0 ;
277042  int res1 = 0 ;
277043  PyObject * obj0 = 0 ;
277044  PyObject * obj1 = 0 ;
277045 
277046  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_RemoveSynapse",&obj0,&obj1)) SWIG_fail;
277047  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277048  if (!SWIG_IsOK(res1)) {
277049  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_RemoveSynapse" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277050  }
277051  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277052  {
277053  std::string *ptr = (std::string *)0;
277054  int res = SWIG_AsPtr_std_string(obj1, &ptr);
277055  if (!SWIG_IsOK(res) || !ptr) {
277056  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Neuron_RemoveSynapse" "', argument " "2"" of type '" "std::string""'");
277057  }
277058  arg2 = *ptr;
277059  if (SWIG_IsNewObj(res)) delete ptr;
277060  }
277061  {
277062  try {
277063  (arg1)->RemoveSynapse(arg2);
277064  }
277065  catch(CStdErrorInfo oError)
277066  {
277067  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277068  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277069  PyErr_SetString(PyExc_IndexError, strError.c_str());
277070  SWIG_fail;
277071  }
277072  catch(...)
277073  {
277074  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277075  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277076  SWIG_fail;
277077  }
277078  }
277079  resultobj = SWIG_Py_Void();
277080  return resultobj;
277081 fail:
277082  return NULL;
277083 }
277084 
277085 
277086 SWIGINTERN PyObject *_wrap_Neuron_RemoveSynapse(PyObject *self, PyObject *args) {
277087  int argc;
277088  PyObject *argv[4];
277089  int ii;
277090 
277091  if (!PyTuple_Check(args)) SWIG_fail;
277092  argc = args ? (int)PyObject_Length(args) : 0;
277093  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
277094  argv[ii] = PyTuple_GET_ITEM(args,ii);
277095  }
277096  if (argc == 2) {
277097  int _v;
277098  void *vptr = 0;
277099  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
277100  _v = SWIG_CheckState(res);
277101  if (_v) {
277102  {
277103  int res = SWIG_AsVal_int(argv[1], NULL);
277104  _v = SWIG_CheckState(res);
277105  }
277106  if (_v) {
277107  return _wrap_Neuron_RemoveSynapse__SWIG_0(self, args);
277108  }
277109  }
277110  }
277111  if (argc == 2) {
277112  int _v;
277113  void *vptr = 0;
277114  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
277115  _v = SWIG_CheckState(res);
277116  if (_v) {
277117  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
277118  _v = SWIG_CheckState(res);
277119  if (_v) {
277120  return _wrap_Neuron_RemoveSynapse__SWIG_2(self, args);
277121  }
277122  }
277123  }
277124  if (argc == 3) {
277125  int _v;
277126  void *vptr = 0;
277127  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
277128  _v = SWIG_CheckState(res);
277129  if (_v) {
277130  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
277131  _v = SWIG_CheckState(res);
277132  if (_v) {
277133  {
277134  int res = SWIG_AsVal_bool(argv[2], NULL);
277135  _v = SWIG_CheckState(res);
277136  }
277137  if (_v) {
277138  return _wrap_Neuron_RemoveSynapse__SWIG_1(self, args);
277139  }
277140  }
277141  }
277142  }
277143 
277144 fail:
277145  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_RemoveSynapse'.\n"
277146  " Possible C/C++ prototypes are:\n"
277147  " FiringRateSim::Neurons::Neuron::RemoveSynapse(int)\n"
277148  " FiringRateSim::Neurons::Neuron::RemoveSynapse(std::string,bool)\n"
277149  " FiringRateSim::Neurons::Neuron::RemoveSynapse(std::string)\n");
277150  return 0;
277151 }
277152 
277153 
277154 SWIGINTERN PyObject *_wrap_Neuron_GetSynapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277155  PyObject *resultobj = 0;
277157  int arg2 ;
277158  void *argp1 = 0 ;
277159  int res1 = 0 ;
277160  int val2 ;
277161  int ecode2 = 0 ;
277162  PyObject * obj0 = 0 ;
277163  PyObject * obj1 = 0 ;
277164  Synapse *result = 0 ;
277165 
277166  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_GetSynapse",&obj0,&obj1)) SWIG_fail;
277167  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277168  if (!SWIG_IsOK(res1)) {
277169  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_GetSynapse" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277170  }
277171  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277172  ecode2 = SWIG_AsVal_int(obj1, &val2);
277173  if (!SWIG_IsOK(ecode2)) {
277174  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_GetSynapse" "', argument " "2"" of type '" "int""'");
277175  }
277176  arg2 = static_cast< int >(val2);
277177  {
277178  try {
277179  result = (Synapse *)(arg1)->GetSynapse(arg2);
277180  }
277181  catch(CStdErrorInfo oError)
277182  {
277183  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277184  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277185  PyErr_SetString(PyExc_IndexError, strError.c_str());
277186  SWIG_fail;
277187  }
277188  catch(...)
277189  {
277190  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277191  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277192  SWIG_fail;
277193  }
277194  }
277195  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Synapse, 0 | 0 );
277196  return resultobj;
277197 fail:
277198  return NULL;
277199 }
277200 
277201 
277202 SWIGINTERN PyObject *_wrap_Neuron_TotalSynapses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277203  PyObject *resultobj = 0;
277205  void *argp1 = 0 ;
277206  int res1 = 0 ;
277207  PyObject * obj0 = 0 ;
277208  int result;
277209 
277210  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_TotalSynapses",&obj0)) SWIG_fail;
277211  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277212  if (!SWIG_IsOK(res1)) {
277213  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_TotalSynapses" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277214  }
277215  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277216  {
277217  try {
277218  result = (int)(arg1)->TotalSynapses();
277219  }
277220  catch(CStdErrorInfo oError)
277221  {
277222  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277223  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277224  PyErr_SetString(PyExc_IndexError, strError.c_str());
277225  SWIG_fail;
277226  }
277227  catch(...)
277228  {
277229  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277230  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277231  SWIG_fail;
277232  }
277233  }
277234  resultobj = SWIG_From_int(static_cast< int >(result));
277235  return resultobj;
277236 fail:
277237  return NULL;
277238 }
277239 
277240 
277241 SWIGINTERN PyObject *_wrap_Neuron_ClearSynapses(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277242  PyObject *resultobj = 0;
277244  void *argp1 = 0 ;
277245  int res1 = 0 ;
277246  PyObject * obj0 = 0 ;
277247 
277248  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_ClearSynapses",&obj0)) SWIG_fail;
277249  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277250  if (!SWIG_IsOK(res1)) {
277251  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_ClearSynapses" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277252  }
277253  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277254  {
277255  try {
277256  (arg1)->ClearSynapses();
277257  }
277258  catch(CStdErrorInfo oError)
277259  {
277260  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277261  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277262  PyErr_SetString(PyExc_IndexError, strError.c_str());
277263  SWIG_fail;
277264  }
277265  catch(...)
277266  {
277267  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277268  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277269  SWIG_fail;
277270  }
277271  }
277272  resultobj = SWIG_Py_Void();
277273  return resultobj;
277274 fail:
277275  return NULL;
277276 }
277277 
277278 
277279 SWIGINTERN PyObject *_wrap_Neuron_FindSynapseListPos__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277280  PyObject *resultobj = 0;
277282  std::string arg2 ;
277283  bool arg3 ;
277284  void *argp1 = 0 ;
277285  int res1 = 0 ;
277286  bool val3 ;
277287  int ecode3 = 0 ;
277288  PyObject * obj0 = 0 ;
277289  PyObject * obj1 = 0 ;
277290  PyObject * obj2 = 0 ;
277291  int result;
277292 
277293  if (!PyArg_ParseTuple(args,(char *)"OOO:Neuron_FindSynapseListPos",&obj0,&obj1,&obj2)) SWIG_fail;
277294  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277295  if (!SWIG_IsOK(res1)) {
277296  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_FindSynapseListPos" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277297  }
277298  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277299  {
277300  std::string *ptr = (std::string *)0;
277301  int res = SWIG_AsPtr_std_string(obj1, &ptr);
277302  if (!SWIG_IsOK(res) || !ptr) {
277303  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Neuron_FindSynapseListPos" "', argument " "2"" of type '" "std::string""'");
277304  }
277305  arg2 = *ptr;
277306  if (SWIG_IsNewObj(res)) delete ptr;
277307  }
277308  ecode3 = SWIG_AsVal_bool(obj2, &val3);
277309  if (!SWIG_IsOK(ecode3)) {
277310  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Neuron_FindSynapseListPos" "', argument " "3"" of type '" "bool""'");
277311  }
277312  arg3 = static_cast< bool >(val3);
277313  {
277314  try {
277315  result = (int)(arg1)->FindSynapseListPos(arg2,arg3);
277316  }
277317  catch(CStdErrorInfo oError)
277318  {
277319  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277320  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277321  PyErr_SetString(PyExc_IndexError, strError.c_str());
277322  SWIG_fail;
277323  }
277324  catch(...)
277325  {
277326  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277327  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277328  SWIG_fail;
277329  }
277330  }
277331  resultobj = SWIG_From_int(static_cast< int >(result));
277332  return resultobj;
277333 fail:
277334  return NULL;
277335 }
277336 
277337 
277338 SWIGINTERN PyObject *_wrap_Neuron_FindSynapseListPos__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277339  PyObject *resultobj = 0;
277341  std::string arg2 ;
277342  void *argp1 = 0 ;
277343  int res1 = 0 ;
277344  PyObject * obj0 = 0 ;
277345  PyObject * obj1 = 0 ;
277346  int result;
277347 
277348  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_FindSynapseListPos",&obj0,&obj1)) SWIG_fail;
277349  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277350  if (!SWIG_IsOK(res1)) {
277351  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_FindSynapseListPos" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277352  }
277353  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277354  {
277355  std::string *ptr = (std::string *)0;
277356  int res = SWIG_AsPtr_std_string(obj1, &ptr);
277357  if (!SWIG_IsOK(res) || !ptr) {
277358  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Neuron_FindSynapseListPos" "', argument " "2"" of type '" "std::string""'");
277359  }
277360  arg2 = *ptr;
277361  if (SWIG_IsNewObj(res)) delete ptr;
277362  }
277363  {
277364  try {
277365  result = (int)(arg1)->FindSynapseListPos(arg2);
277366  }
277367  catch(CStdErrorInfo oError)
277368  {
277369  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277370  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277371  PyErr_SetString(PyExc_IndexError, strError.c_str());
277372  SWIG_fail;
277373  }
277374  catch(...)
277375  {
277376  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277377  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277378  SWIG_fail;
277379  }
277380  }
277381  resultobj = SWIG_From_int(static_cast< int >(result));
277382  return resultobj;
277383 fail:
277384  return NULL;
277385 }
277386 
277387 
277388 SWIGINTERN PyObject *_wrap_Neuron_FindSynapseListPos(PyObject *self, PyObject *args) {
277389  int argc;
277390  PyObject *argv[4];
277391  int ii;
277392 
277393  if (!PyTuple_Check(args)) SWIG_fail;
277394  argc = args ? (int)PyObject_Length(args) : 0;
277395  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
277396  argv[ii] = PyTuple_GET_ITEM(args,ii);
277397  }
277398  if (argc == 2) {
277399  int _v;
277400  void *vptr = 0;
277401  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
277402  _v = SWIG_CheckState(res);
277403  if (_v) {
277404  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
277405  _v = SWIG_CheckState(res);
277406  if (_v) {
277407  return _wrap_Neuron_FindSynapseListPos__SWIG_1(self, args);
277408  }
277409  }
277410  }
277411  if (argc == 3) {
277412  int _v;
277413  void *vptr = 0;
277414  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
277415  _v = SWIG_CheckState(res);
277416  if (_v) {
277417  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
277418  _v = SWIG_CheckState(res);
277419  if (_v) {
277420  {
277421  int res = SWIG_AsVal_bool(argv[2], NULL);
277422  _v = SWIG_CheckState(res);
277423  }
277424  if (_v) {
277425  return _wrap_Neuron_FindSynapseListPos__SWIG_0(self, args);
277426  }
277427  }
277428  }
277429  }
277430 
277431 fail:
277432  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_FindSynapseListPos'.\n"
277433  " Possible C/C++ prototypes are:\n"
277434  " FiringRateSim::Neurons::Neuron::FindSynapseListPos(std::string,bool)\n"
277435  " FiringRateSim::Neurons::Neuron::FindSynapseListPos(std::string)\n");
277436  return 0;
277437 }
277438 
277439 
277440 SWIGINTERN PyObject *_wrap_Neuron_AddExternalNodeInput(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277441  PyObject *resultobj = 0;
277443  int arg2 ;
277444  float arg3 ;
277445  void *argp1 = 0 ;
277446  int res1 = 0 ;
277447  int val2 ;
277448  int ecode2 = 0 ;
277449  float val3 ;
277450  int ecode3 = 0 ;
277451  PyObject * obj0 = 0 ;
277452  PyObject * obj1 = 0 ;
277453  PyObject * obj2 = 0 ;
277454 
277455  if (!PyArg_ParseTuple(args,(char *)"OOO:Neuron_AddExternalNodeInput",&obj0,&obj1,&obj2)) SWIG_fail;
277456  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277457  if (!SWIG_IsOK(res1)) {
277458  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_AddExternalNodeInput" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277459  }
277460  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277461  ecode2 = SWIG_AsVal_int(obj1, &val2);
277462  if (!SWIG_IsOK(ecode2)) {
277463  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_AddExternalNodeInput" "', argument " "2"" of type '" "int""'");
277464  }
277465  arg2 = static_cast< int >(val2);
277466  ecode3 = SWIG_AsVal_float(obj2, &val3);
277467  if (!SWIG_IsOK(ecode3)) {
277468  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Neuron_AddExternalNodeInput" "', argument " "3"" of type '" "float""'");
277469  }
277470  arg3 = static_cast< float >(val3);
277471  {
277472  try {
277473  (arg1)->AddExternalNodeInput(arg2,arg3);
277474  }
277475  catch(CStdErrorInfo oError)
277476  {
277477  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277478  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277479  PyErr_SetString(PyExc_IndexError, strError.c_str());
277480  SWIG_fail;
277481  }
277482  catch(...)
277483  {
277484  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277485  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277486  SWIG_fail;
277487  }
277488  }
277489  resultobj = SWIG_Py_Void();
277490  return resultobj;
277491 fail:
277492  return NULL;
277493 }
277494 
277495 
277496 SWIGINTERN PyObject *_wrap_Neuron_SetSystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277497  PyObject *resultobj = 0;
277499  Simulator *arg2 = (Simulator *) 0 ;
277500  Structure *arg3 = (Structure *) 0 ;
277501  NeuralModule *arg4 = (NeuralModule *) 0 ;
277502  Node *arg5 = (Node *) 0 ;
277503  bool arg6 ;
277504  void *argp1 = 0 ;
277505  int res1 = 0 ;
277506  void *argp2 = 0 ;
277507  int res2 = 0 ;
277508  void *argp3 = 0 ;
277509  int res3 = 0 ;
277510  void *argp4 = 0 ;
277511  int res4 = 0 ;
277512  void *argp5 = 0 ;
277513  int res5 = 0 ;
277514  bool val6 ;
277515  int ecode6 = 0 ;
277516  PyObject * obj0 = 0 ;
277517  PyObject * obj1 = 0 ;
277518  PyObject * obj2 = 0 ;
277519  PyObject * obj3 = 0 ;
277520  PyObject * obj4 = 0 ;
277521  PyObject * obj5 = 0 ;
277522 
277523  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:Neuron_SetSystemPointers",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
277524  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277525  if (!SWIG_IsOK(res1)) {
277526  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_SetSystemPointers" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277527  }
277528  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277529  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Simulator, 0 | 0 );
277530  if (!SWIG_IsOK(res2)) {
277531  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_SetSystemPointers" "', argument " "2"" of type '" "Simulator *""'");
277532  }
277533  arg2 = reinterpret_cast< Simulator * >(argp2);
277534  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Structure, 0 | 0 );
277535  if (!SWIG_IsOK(res3)) {
277536  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Neuron_SetSystemPointers" "', argument " "3"" of type '" "Structure *""'");
277537  }
277538  arg3 = reinterpret_cast< Structure * >(argp3);
277539  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_NeuralModule, 0 | 0 );
277540  if (!SWIG_IsOK(res4)) {
277541  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Neuron_SetSystemPointers" "', argument " "4"" of type '" "NeuralModule *""'");
277542  }
277543  arg4 = reinterpret_cast< NeuralModule * >(argp4);
277544  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_Node, 0 | 0 );
277545  if (!SWIG_IsOK(res5)) {
277546  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Neuron_SetSystemPointers" "', argument " "5"" of type '" "Node *""'");
277547  }
277548  arg5 = reinterpret_cast< Node * >(argp5);
277549  ecode6 = SWIG_AsVal_bool(obj5, &val6);
277550  if (!SWIG_IsOK(ecode6)) {
277551  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Neuron_SetSystemPointers" "', argument " "6"" of type '" "bool""'");
277552  }
277553  arg6 = static_cast< bool >(val6);
277554  {
277555  try {
277556  (arg1)->SetSystemPointers(arg2,arg3,arg4,arg5,arg6);
277557  }
277558  catch(CStdErrorInfo oError)
277559  {
277560  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277561  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277562  PyErr_SetString(PyExc_IndexError, strError.c_str());
277563  SWIG_fail;
277564  }
277565  catch(...)
277566  {
277567  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277568  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277569  SWIG_fail;
277570  }
277571  }
277572  resultobj = SWIG_Py_Void();
277573  return resultobj;
277574 fail:
277575  return NULL;
277576 }
277577 
277578 
277579 SWIGINTERN PyObject *_wrap_Neuron_VerifySystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277580  PyObject *resultobj = 0;
277582  void *argp1 = 0 ;
277583  int res1 = 0 ;
277584  PyObject * obj0 = 0 ;
277585 
277586  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_VerifySystemPointers",&obj0)) SWIG_fail;
277587  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277588  if (!SWIG_IsOK(res1)) {
277589  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_VerifySystemPointers" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277590  }
277591  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277592  {
277593  try {
277594  (arg1)->VerifySystemPointers();
277595  }
277596  catch(CStdErrorInfo oError)
277597  {
277598  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277599  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277600  PyErr_SetString(PyExc_IndexError, strError.c_str());
277601  SWIG_fail;
277602  }
277603  catch(...)
277604  {
277605  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277606  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277607  SWIG_fail;
277608  }
277609  }
277610  resultobj = SWIG_Py_Void();
277611  return resultobj;
277612 fail:
277613  return NULL;
277614 }
277615 
277616 
277617 SWIGINTERN PyObject *_wrap_Neuron_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277618  PyObject *resultobj = 0;
277620  void *argp1 = 0 ;
277621  int res1 = 0 ;
277622  PyObject * obj0 = 0 ;
277623 
277624  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_Initialize",&obj0)) SWIG_fail;
277625  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277626  if (!SWIG_IsOK(res1)) {
277627  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Initialize" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277628  }
277629  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277630  {
277631  try {
277632  (arg1)->Initialize();
277633  }
277634  catch(CStdErrorInfo oError)
277635  {
277636  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277637  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277638  PyErr_SetString(PyExc_IndexError, strError.c_str());
277639  SWIG_fail;
277640  }
277641  catch(...)
277642  {
277643  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277644  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277645  SWIG_fail;
277646  }
277647  }
277648  resultobj = SWIG_Py_Void();
277649  return resultobj;
277650 fail:
277651  return NULL;
277652 }
277653 
277654 
277655 SWIGINTERN PyObject *_wrap_Neuron_TimeStepModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277656  PyObject *resultobj = 0;
277658  void *argp1 = 0 ;
277659  int res1 = 0 ;
277660  PyObject * obj0 = 0 ;
277661 
277662  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_TimeStepModified",&obj0)) SWIG_fail;
277663  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277664  if (!SWIG_IsOK(res1)) {
277665  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_TimeStepModified" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277666  }
277667  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277668  {
277669  try {
277670  (arg1)->TimeStepModified();
277671  }
277672  catch(CStdErrorInfo oError)
277673  {
277674  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277675  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277676  PyErr_SetString(PyExc_IndexError, strError.c_str());
277677  SWIG_fail;
277678  }
277679  catch(...)
277680  {
277681  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277682  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277683  SWIG_fail;
277684  }
277685  }
277686  resultobj = SWIG_Py_Void();
277687  return resultobj;
277688 fail:
277689  return NULL;
277690 }
277691 
277692 
277693 SWIGINTERN PyObject *_wrap_Neuron_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277694  PyObject *resultobj = 0;
277696  void *argp1 = 0 ;
277697  int res1 = 0 ;
277698  PyObject * obj0 = 0 ;
277699 
277700  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_ResetSimulation",&obj0)) SWIG_fail;
277701  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277702  if (!SWIG_IsOK(res1)) {
277703  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_ResetSimulation" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277704  }
277705  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277706  {
277707  try {
277708  (arg1)->ResetSimulation();
277709  }
277710  catch(CStdErrorInfo oError)
277711  {
277712  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277713  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277714  PyErr_SetString(PyExc_IndexError, strError.c_str());
277715  SWIG_fail;
277716  }
277717  catch(...)
277718  {
277719  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277720  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277721  SWIG_fail;
277722  }
277723  }
277724  resultobj = SWIG_Py_Void();
277725  return resultobj;
277726 fail:
277727  return NULL;
277728 }
277729 
277730 
277731 SWIGINTERN PyObject *_wrap_Neuron_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277732  PyObject *resultobj = 0;
277734  void *argp1 = 0 ;
277735  int res1 = 0 ;
277736  PyObject * obj0 = 0 ;
277737 
277738  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_StepSimulation",&obj0)) SWIG_fail;
277739  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277740  if (!SWIG_IsOK(res1)) {
277741  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_StepSimulation" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277742  }
277743  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277744  {
277745  try {
277746  (arg1)->StepSimulation();
277747  }
277748  catch(CStdErrorInfo oError)
277749  {
277750  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277751  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277752  PyErr_SetString(PyExc_IndexError, strError.c_str());
277753  SWIG_fail;
277754  }
277755  catch(...)
277756  {
277757  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277758  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277759  SWIG_fail;
277760  }
277761  }
277762  resultobj = SWIG_Py_Void();
277763  return resultobj;
277764 fail:
277765  return NULL;
277766 }
277767 
277768 
277769 SWIGINTERN PyObject *_wrap_Neuron_InjectCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277770  PyObject *resultobj = 0;
277772  float arg2 ;
277773  void *argp1 = 0 ;
277774  int res1 = 0 ;
277775  float val2 ;
277776  int ecode2 = 0 ;
277777  PyObject * obj0 = 0 ;
277778  PyObject * obj1 = 0 ;
277779 
277780  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_InjectCurrent",&obj0,&obj1)) SWIG_fail;
277781  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277782  if (!SWIG_IsOK(res1)) {
277783  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_InjectCurrent" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277784  }
277785  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277786  ecode2 = SWIG_AsVal_float(obj1, &val2);
277787  if (!SWIG_IsOK(ecode2)) {
277788  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Neuron_InjectCurrent" "', argument " "2"" of type '" "float""'");
277789  }
277790  arg2 = static_cast< float >(val2);
277791  {
277792  try {
277793  (arg1)->InjectCurrent(arg2);
277794  }
277795  catch(CStdErrorInfo oError)
277796  {
277797  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277798  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277799  PyErr_SetString(PyExc_IndexError, strError.c_str());
277800  SWIG_fail;
277801  }
277802  catch(...)
277803  {
277804  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277805  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277806  SWIG_fail;
277807  }
277808  }
277809  resultobj = SWIG_Py_Void();
277810  return resultobj;
277811 fail:
277812  return NULL;
277813 }
277814 
277815 
277816 SWIGINTERN PyObject *_wrap_Neuron_CalculateSnapshotByteSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277817  PyObject *resultobj = 0;
277819  void *argp1 = 0 ;
277820  int res1 = 0 ;
277821  PyObject * obj0 = 0 ;
277822  long result;
277823 
277824  if (!PyArg_ParseTuple(args,(char *)"O:Neuron_CalculateSnapshotByteSize",&obj0)) SWIG_fail;
277825  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277826  if (!SWIG_IsOK(res1)) {
277827  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_CalculateSnapshotByteSize" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277828  }
277829  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277830  {
277831  try {
277832  result = (long)(arg1)->CalculateSnapshotByteSize();
277833  }
277834  catch(CStdErrorInfo oError)
277835  {
277836  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277837  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277838  PyErr_SetString(PyExc_IndexError, strError.c_str());
277839  SWIG_fail;
277840  }
277841  catch(...)
277842  {
277843  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277844  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277845  SWIG_fail;
277846  }
277847  }
277848  resultobj = SWIG_From_long(static_cast< long >(result));
277849  return resultobj;
277850 fail:
277851  return NULL;
277852 }
277853 
277854 
277855 SWIGINTERN PyObject *_wrap_Neuron_SaveKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277856  PyObject *resultobj = 0;
277858  byte *arg2 = (byte *) 0 ;
277859  long *arg3 = 0 ;
277860  void *argp1 = 0 ;
277861  int res1 = 0 ;
277862  void *argp2 = 0 ;
277863  int res2 = 0 ;
277864  void *argp3 = 0 ;
277865  int res3 = 0 ;
277866  PyObject * obj0 = 0 ;
277867  PyObject * obj1 = 0 ;
277868  PyObject * obj2 = 0 ;
277869 
277870  if (!PyArg_ParseTuple(args,(char *)"OOO:Neuron_SaveKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
277871  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277872  if (!SWIG_IsOK(res1)) {
277873  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_SaveKeyFrameSnapshot" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277874  }
277875  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277876  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
277877  if (!SWIG_IsOK(res2)) {
277878  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_SaveKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
277879  }
277880  arg2 = reinterpret_cast< byte * >(argp2);
277881  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
277882  if (!SWIG_IsOK(res3)) {
277883  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Neuron_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
277884  }
277885  if (!argp3) {
277886  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
277887  }
277888  arg3 = reinterpret_cast< long * >(argp3);
277889  {
277890  try {
277891  (arg1)->SaveKeyFrameSnapshot(arg2,*arg3);
277892  }
277893  catch(CStdErrorInfo oError)
277894  {
277895  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277896  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277897  PyErr_SetString(PyExc_IndexError, strError.c_str());
277898  SWIG_fail;
277899  }
277900  catch(...)
277901  {
277902  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277903  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277904  SWIG_fail;
277905  }
277906  }
277907  resultobj = SWIG_Py_Void();
277908  return resultobj;
277909 fail:
277910  return NULL;
277911 }
277912 
277913 
277914 SWIGINTERN PyObject *_wrap_Neuron_LoadKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277915  PyObject *resultobj = 0;
277917  byte *arg2 = (byte *) 0 ;
277918  long *arg3 = 0 ;
277919  void *argp1 = 0 ;
277920  int res1 = 0 ;
277921  void *argp2 = 0 ;
277922  int res2 = 0 ;
277923  void *argp3 = 0 ;
277924  int res3 = 0 ;
277925  PyObject * obj0 = 0 ;
277926  PyObject * obj1 = 0 ;
277927  PyObject * obj2 = 0 ;
277928 
277929  if (!PyArg_ParseTuple(args,(char *)"OOO:Neuron_LoadKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
277930  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277931  if (!SWIG_IsOK(res1)) {
277932  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_LoadKeyFrameSnapshot" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277933  }
277934  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277935  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
277936  if (!SWIG_IsOK(res2)) {
277937  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_LoadKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
277938  }
277939  arg2 = reinterpret_cast< byte * >(argp2);
277940  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
277941  if (!SWIG_IsOK(res3)) {
277942  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Neuron_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
277943  }
277944  if (!argp3) {
277945  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
277946  }
277947  arg3 = reinterpret_cast< long * >(argp3);
277948  {
277949  try {
277950  (arg1)->LoadKeyFrameSnapshot(arg2,*arg3);
277951  }
277952  catch(CStdErrorInfo oError)
277953  {
277954  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277955  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
277956  PyErr_SetString(PyExc_IndexError, strError.c_str());
277957  SWIG_fail;
277958  }
277959  catch(...)
277960  {
277961  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
277962  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
277963  SWIG_fail;
277964  }
277965  }
277966  resultobj = SWIG_Py_Void();
277967  return resultobj;
277968 fail:
277969  return NULL;
277970 }
277971 
277972 
277973 SWIGINTERN PyObject *_wrap_Neuron_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
277974  PyObject *resultobj = 0;
277976  std::string *arg2 = 0 ;
277977  void *argp1 = 0 ;
277978  int res1 = 0 ;
277979  int res2 = SWIG_OLDOBJ ;
277980  PyObject * obj0 = 0 ;
277981  PyObject * obj1 = 0 ;
277982  float *result = 0 ;
277983 
277984  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_GetDataPointer",&obj0,&obj1)) SWIG_fail;
277985  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
277986  if (!SWIG_IsOK(res1)) {
277987  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_GetDataPointer" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
277988  }
277989  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
277990  {
277991  std::string *ptr = (std::string *)0;
277992  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
277993  if (!SWIG_IsOK(res2)) {
277994  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
277995  }
277996  if (!ptr) {
277997  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
277998  }
277999  arg2 = ptr;
278000  }
278001  {
278002  try {
278003  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
278004  }
278005  catch(CStdErrorInfo oError)
278006  {
278007  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278008  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
278009  PyErr_SetString(PyExc_IndexError, strError.c_str());
278010  SWIG_fail;
278011  }
278012  catch(...)
278013  {
278014  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278015  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
278016  SWIG_fail;
278017  }
278018  }
278019  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
278020  if (SWIG_IsNewObj(res2)) delete arg2;
278021  return resultobj;
278022 fail:
278023  if (SWIG_IsNewObj(res2)) delete arg2;
278024  return NULL;
278025 }
278026 
278027 
278028 SWIGINTERN PyObject *_wrap_Neuron_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
278029  PyObject *resultobj = 0;
278031  std::string *arg2 = 0 ;
278032  std::string *arg3 = 0 ;
278033  bool arg4 ;
278034  void *argp1 = 0 ;
278035  int res1 = 0 ;
278036  int res2 = SWIG_OLDOBJ ;
278037  int res3 = SWIG_OLDOBJ ;
278038  bool val4 ;
278039  int ecode4 = 0 ;
278040  PyObject * obj0 = 0 ;
278041  PyObject * obj1 = 0 ;
278042  PyObject * obj2 = 0 ;
278043  PyObject * obj3 = 0 ;
278044  bool result;
278045 
278046  if (!PyArg_ParseTuple(args,(char *)"OOOO:Neuron_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
278047  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
278048  if (!SWIG_IsOK(res1)) {
278049  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_SetData" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
278050  }
278051  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
278052  {
278053  std::string *ptr = (std::string *)0;
278054  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
278055  if (!SWIG_IsOK(res2)) {
278056  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
278057  }
278058  if (!ptr) {
278059  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
278060  }
278061  arg2 = ptr;
278062  }
278063  {
278064  std::string *ptr = (std::string *)0;
278065  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
278066  if (!SWIG_IsOK(res3)) {
278067  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Neuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
278068  }
278069  if (!ptr) {
278070  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
278071  }
278072  arg3 = ptr;
278073  }
278074  ecode4 = SWIG_AsVal_bool(obj3, &val4);
278075  if (!SWIG_IsOK(ecode4)) {
278076  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Neuron_SetData" "', argument " "4"" of type '" "bool""'");
278077  }
278078  arg4 = static_cast< bool >(val4);
278079  {
278080  try {
278081  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
278082  }
278083  catch(CStdErrorInfo oError)
278084  {
278085  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278086  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
278087  PyErr_SetString(PyExc_IndexError, strError.c_str());
278088  SWIG_fail;
278089  }
278090  catch(...)
278091  {
278092  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278093  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
278094  SWIG_fail;
278095  }
278096  }
278097  resultobj = SWIG_From_bool(static_cast< bool >(result));
278098  if (SWIG_IsNewObj(res2)) delete arg2;
278099  if (SWIG_IsNewObj(res3)) delete arg3;
278100  return resultobj;
278101 fail:
278102  if (SWIG_IsNewObj(res2)) delete arg2;
278103  if (SWIG_IsNewObj(res3)) delete arg3;
278104  return NULL;
278105 }
278106 
278107 
278108 SWIGINTERN PyObject *_wrap_Neuron_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
278109  PyObject *resultobj = 0;
278111  std::string *arg2 = 0 ;
278112  std::string *arg3 = 0 ;
278113  void *argp1 = 0 ;
278114  int res1 = 0 ;
278115  int res2 = SWIG_OLDOBJ ;
278116  int res3 = SWIG_OLDOBJ ;
278117  PyObject * obj0 = 0 ;
278118  PyObject * obj1 = 0 ;
278119  PyObject * obj2 = 0 ;
278120  bool result;
278121 
278122  if (!PyArg_ParseTuple(args,(char *)"OOO:Neuron_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
278123  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
278124  if (!SWIG_IsOK(res1)) {
278125  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_SetData" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
278126  }
278127  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
278128  {
278129  std::string *ptr = (std::string *)0;
278130  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
278131  if (!SWIG_IsOK(res2)) {
278132  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
278133  }
278134  if (!ptr) {
278135  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
278136  }
278137  arg2 = ptr;
278138  }
278139  {
278140  std::string *ptr = (std::string *)0;
278141  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
278142  if (!SWIG_IsOK(res3)) {
278143  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Neuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
278144  }
278145  if (!ptr) {
278146  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
278147  }
278148  arg3 = ptr;
278149  }
278150  {
278151  try {
278152  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
278153  }
278154  catch(CStdErrorInfo oError)
278155  {
278156  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278157  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
278158  PyErr_SetString(PyExc_IndexError, strError.c_str());
278159  SWIG_fail;
278160  }
278161  catch(...)
278162  {
278163  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278164  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
278165  SWIG_fail;
278166  }
278167  }
278168  resultobj = SWIG_From_bool(static_cast< bool >(result));
278169  if (SWIG_IsNewObj(res2)) delete arg2;
278170  if (SWIG_IsNewObj(res3)) delete arg3;
278171  return resultobj;
278172 fail:
278173  if (SWIG_IsNewObj(res2)) delete arg2;
278174  if (SWIG_IsNewObj(res3)) delete arg3;
278175  return NULL;
278176 }
278177 
278178 
278179 SWIGINTERN PyObject *_wrap_Neuron_SetData(PyObject *self, PyObject *args) {
278180  int argc;
278181  PyObject *argv[5];
278182  int ii;
278183 
278184  if (!PyTuple_Check(args)) SWIG_fail;
278185  argc = args ? (int)PyObject_Length(args) : 0;
278186  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
278187  argv[ii] = PyTuple_GET_ITEM(args,ii);
278188  }
278189  if (argc == 3) {
278190  int _v;
278191  void *vptr = 0;
278192  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
278193  _v = SWIG_CheckState(res);
278194  if (_v) {
278195  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
278196  _v = SWIG_CheckState(res);
278197  if (_v) {
278198  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
278199  _v = SWIG_CheckState(res);
278200  if (_v) {
278201  return _wrap_Neuron_SetData__SWIG_1(self, args);
278202  }
278203  }
278204  }
278205  }
278206  if (argc == 4) {
278207  int _v;
278208  void *vptr = 0;
278209  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
278210  _v = SWIG_CheckState(res);
278211  if (_v) {
278212  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
278213  _v = SWIG_CheckState(res);
278214  if (_v) {
278215  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
278216  _v = SWIG_CheckState(res);
278217  if (_v) {
278218  {
278219  int res = SWIG_AsVal_bool(argv[3], NULL);
278220  _v = SWIG_CheckState(res);
278221  }
278222  if (_v) {
278223  return _wrap_Neuron_SetData__SWIG_0(self, args);
278224  }
278225  }
278226  }
278227  }
278228  }
278229 
278230 fail:
278231  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_SetData'.\n"
278232  " Possible C/C++ prototypes are:\n"
278233  " FiringRateSim::Neurons::Neuron::SetData(std::string const &,std::string const &,bool)\n"
278234  " FiringRateSim::Neurons::Neuron::SetData(std::string const &,std::string const &)\n");
278235  return 0;
278236 }
278237 
278238 
278239 SWIGINTERN PyObject *_wrap_Neuron_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
278240  PyObject *resultobj = 0;
278242  CStdPtrArray< TypeProperty > *arg2 = 0 ;
278243  void *argp1 = 0 ;
278244  int res1 = 0 ;
278245  void *argp2 = 0 ;
278246  int res2 = 0 ;
278247  PyObject * obj0 = 0 ;
278248  PyObject * obj1 = 0 ;
278249 
278250  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_QueryProperties",&obj0,&obj1)) SWIG_fail;
278251  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
278252  if (!SWIG_IsOK(res1)) {
278253  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_QueryProperties" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
278254  }
278255  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
278256  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
278257  if (!SWIG_IsOK(res2)) {
278258  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
278259  }
278260  if (!argp2) {
278261  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
278262  }
278263  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
278264  {
278265  try {
278266  (arg1)->QueryProperties(*arg2);
278267  }
278268  catch(CStdErrorInfo oError)
278269  {
278270  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278271  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
278272  PyErr_SetString(PyExc_IndexError, strError.c_str());
278273  SWIG_fail;
278274  }
278275  catch(...)
278276  {
278277  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278278  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
278279  SWIG_fail;
278280  }
278281  }
278282  resultobj = SWIG_Py_Void();
278283  return resultobj;
278284 fail:
278285  return NULL;
278286 }
278287 
278288 
278289 SWIGINTERN PyObject *_wrap_Neuron_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
278290  PyObject *resultobj = 0;
278292  std::string *arg2 = 0 ;
278293  std::string *arg3 = 0 ;
278294  bool arg4 ;
278295  bool arg5 ;
278296  void *argp1 = 0 ;
278297  int res1 = 0 ;
278298  int res2 = SWIG_OLDOBJ ;
278299  int res3 = SWIG_OLDOBJ ;
278300  bool val4 ;
278301  int ecode4 = 0 ;
278302  bool val5 ;
278303  int ecode5 = 0 ;
278304  PyObject * obj0 = 0 ;
278305  PyObject * obj1 = 0 ;
278306  PyObject * obj2 = 0 ;
278307  PyObject * obj3 = 0 ;
278308  PyObject * obj4 = 0 ;
278309  bool result;
278310 
278311  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Neuron_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
278312  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
278313  if (!SWIG_IsOK(res1)) {
278314  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_AddItem" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
278315  }
278316  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
278317  {
278318  std::string *ptr = (std::string *)0;
278319  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
278320  if (!SWIG_IsOK(res2)) {
278321  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_AddItem" "', argument " "2"" of type '" "std::string const &""'");
278322  }
278323  if (!ptr) {
278324  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_AddItem" "', argument " "2"" of type '" "std::string const &""'");
278325  }
278326  arg2 = ptr;
278327  }
278328  {
278329  std::string *ptr = (std::string *)0;
278330  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
278331  if (!SWIG_IsOK(res3)) {
278332  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Neuron_AddItem" "', argument " "3"" of type '" "std::string const &""'");
278333  }
278334  if (!ptr) {
278335  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_AddItem" "', argument " "3"" of type '" "std::string const &""'");
278336  }
278337  arg3 = ptr;
278338  }
278339  ecode4 = SWIG_AsVal_bool(obj3, &val4);
278340  if (!SWIG_IsOK(ecode4)) {
278341  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Neuron_AddItem" "', argument " "4"" of type '" "bool""'");
278342  }
278343  arg4 = static_cast< bool >(val4);
278344  ecode5 = SWIG_AsVal_bool(obj4, &val5);
278345  if (!SWIG_IsOK(ecode5)) {
278346  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Neuron_AddItem" "', argument " "5"" of type '" "bool""'");
278347  }
278348  arg5 = static_cast< bool >(val5);
278349  {
278350  try {
278351  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
278352  }
278353  catch(CStdErrorInfo oError)
278354  {
278355  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278356  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
278357  PyErr_SetString(PyExc_IndexError, strError.c_str());
278358  SWIG_fail;
278359  }
278360  catch(...)
278361  {
278362  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278363  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
278364  SWIG_fail;
278365  }
278366  }
278367  resultobj = SWIG_From_bool(static_cast< bool >(result));
278368  if (SWIG_IsNewObj(res2)) delete arg2;
278369  if (SWIG_IsNewObj(res3)) delete arg3;
278370  return resultobj;
278371 fail:
278372  if (SWIG_IsNewObj(res2)) delete arg2;
278373  if (SWIG_IsNewObj(res3)) delete arg3;
278374  return NULL;
278375 }
278376 
278377 
278378 SWIGINTERN PyObject *_wrap_Neuron_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
278379  PyObject *resultobj = 0;
278381  std::string *arg2 = 0 ;
278382  std::string *arg3 = 0 ;
278383  bool arg4 ;
278384  void *argp1 = 0 ;
278385  int res1 = 0 ;
278386  int res2 = SWIG_OLDOBJ ;
278387  int res3 = SWIG_OLDOBJ ;
278388  bool val4 ;
278389  int ecode4 = 0 ;
278390  PyObject * obj0 = 0 ;
278391  PyObject * obj1 = 0 ;
278392  PyObject * obj2 = 0 ;
278393  PyObject * obj3 = 0 ;
278394  bool result;
278395 
278396  if (!PyArg_ParseTuple(args,(char *)"OOOO:Neuron_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
278397  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
278398  if (!SWIG_IsOK(res1)) {
278399  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_AddItem" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
278400  }
278401  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
278402  {
278403  std::string *ptr = (std::string *)0;
278404  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
278405  if (!SWIG_IsOK(res2)) {
278406  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_AddItem" "', argument " "2"" of type '" "std::string const &""'");
278407  }
278408  if (!ptr) {
278409  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_AddItem" "', argument " "2"" of type '" "std::string const &""'");
278410  }
278411  arg2 = ptr;
278412  }
278413  {
278414  std::string *ptr = (std::string *)0;
278415  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
278416  if (!SWIG_IsOK(res3)) {
278417  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Neuron_AddItem" "', argument " "3"" of type '" "std::string const &""'");
278418  }
278419  if (!ptr) {
278420  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_AddItem" "', argument " "3"" of type '" "std::string const &""'");
278421  }
278422  arg3 = ptr;
278423  }
278424  ecode4 = SWIG_AsVal_bool(obj3, &val4);
278425  if (!SWIG_IsOK(ecode4)) {
278426  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Neuron_AddItem" "', argument " "4"" of type '" "bool""'");
278427  }
278428  arg4 = static_cast< bool >(val4);
278429  {
278430  try {
278431  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
278432  }
278433  catch(CStdErrorInfo oError)
278434  {
278435  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278436  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
278437  PyErr_SetString(PyExc_IndexError, strError.c_str());
278438  SWIG_fail;
278439  }
278440  catch(...)
278441  {
278442  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278443  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
278444  SWIG_fail;
278445  }
278446  }
278447  resultobj = SWIG_From_bool(static_cast< bool >(result));
278448  if (SWIG_IsNewObj(res2)) delete arg2;
278449  if (SWIG_IsNewObj(res3)) delete arg3;
278450  return resultobj;
278451 fail:
278452  if (SWIG_IsNewObj(res2)) delete arg2;
278453  if (SWIG_IsNewObj(res3)) delete arg3;
278454  return NULL;
278455 }
278456 
278457 
278458 SWIGINTERN PyObject *_wrap_Neuron_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
278459  PyObject *resultobj = 0;
278461  std::string *arg2 = 0 ;
278462  std::string *arg3 = 0 ;
278463  void *argp1 = 0 ;
278464  int res1 = 0 ;
278465  int res2 = SWIG_OLDOBJ ;
278466  int res3 = SWIG_OLDOBJ ;
278467  PyObject * obj0 = 0 ;
278468  PyObject * obj1 = 0 ;
278469  PyObject * obj2 = 0 ;
278470  bool result;
278471 
278472  if (!PyArg_ParseTuple(args,(char *)"OOO:Neuron_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
278473  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
278474  if (!SWIG_IsOK(res1)) {
278475  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_AddItem" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
278476  }
278477  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
278478  {
278479  std::string *ptr = (std::string *)0;
278480  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
278481  if (!SWIG_IsOK(res2)) {
278482  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_AddItem" "', argument " "2"" of type '" "std::string const &""'");
278483  }
278484  if (!ptr) {
278485  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_AddItem" "', argument " "2"" of type '" "std::string const &""'");
278486  }
278487  arg2 = ptr;
278488  }
278489  {
278490  std::string *ptr = (std::string *)0;
278491  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
278492  if (!SWIG_IsOK(res3)) {
278493  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Neuron_AddItem" "', argument " "3"" of type '" "std::string const &""'");
278494  }
278495  if (!ptr) {
278496  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_AddItem" "', argument " "3"" of type '" "std::string const &""'");
278497  }
278498  arg3 = ptr;
278499  }
278500  {
278501  try {
278502  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
278503  }
278504  catch(CStdErrorInfo oError)
278505  {
278506  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278507  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
278508  PyErr_SetString(PyExc_IndexError, strError.c_str());
278509  SWIG_fail;
278510  }
278511  catch(...)
278512  {
278513  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278514  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
278515  SWIG_fail;
278516  }
278517  }
278518  resultobj = SWIG_From_bool(static_cast< bool >(result));
278519  if (SWIG_IsNewObj(res2)) delete arg2;
278520  if (SWIG_IsNewObj(res3)) delete arg3;
278521  return resultobj;
278522 fail:
278523  if (SWIG_IsNewObj(res2)) delete arg2;
278524  if (SWIG_IsNewObj(res3)) delete arg3;
278525  return NULL;
278526 }
278527 
278528 
278529 SWIGINTERN PyObject *_wrap_Neuron_AddItem(PyObject *self, PyObject *args) {
278530  int argc;
278531  PyObject *argv[6];
278532  int ii;
278533 
278534  if (!PyTuple_Check(args)) SWIG_fail;
278535  argc = args ? (int)PyObject_Length(args) : 0;
278536  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
278537  argv[ii] = PyTuple_GET_ITEM(args,ii);
278538  }
278539  if (argc == 3) {
278540  int _v;
278541  void *vptr = 0;
278542  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
278543  _v = SWIG_CheckState(res);
278544  if (_v) {
278545  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
278546  _v = SWIG_CheckState(res);
278547  if (_v) {
278548  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
278549  _v = SWIG_CheckState(res);
278550  if (_v) {
278551  return _wrap_Neuron_AddItem__SWIG_2(self, args);
278552  }
278553  }
278554  }
278555  }
278556  if (argc == 4) {
278557  int _v;
278558  void *vptr = 0;
278559  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
278560  _v = SWIG_CheckState(res);
278561  if (_v) {
278562  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
278563  _v = SWIG_CheckState(res);
278564  if (_v) {
278565  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
278566  _v = SWIG_CheckState(res);
278567  if (_v) {
278568  {
278569  int res = SWIG_AsVal_bool(argv[3], NULL);
278570  _v = SWIG_CheckState(res);
278571  }
278572  if (_v) {
278573  return _wrap_Neuron_AddItem__SWIG_1(self, args);
278574  }
278575  }
278576  }
278577  }
278578  }
278579  if (argc == 5) {
278580  int _v;
278581  void *vptr = 0;
278582  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
278583  _v = SWIG_CheckState(res);
278584  if (_v) {
278585  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
278586  _v = SWIG_CheckState(res);
278587  if (_v) {
278588  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
278589  _v = SWIG_CheckState(res);
278590  if (_v) {
278591  {
278592  int res = SWIG_AsVal_bool(argv[3], NULL);
278593  _v = SWIG_CheckState(res);
278594  }
278595  if (_v) {
278596  {
278597  int res = SWIG_AsVal_bool(argv[4], NULL);
278598  _v = SWIG_CheckState(res);
278599  }
278600  if (_v) {
278601  return _wrap_Neuron_AddItem__SWIG_0(self, args);
278602  }
278603  }
278604  }
278605  }
278606  }
278607  }
278608 
278609 fail:
278610  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_AddItem'.\n"
278611  " Possible C/C++ prototypes are:\n"
278612  " FiringRateSim::Neurons::Neuron::AddItem(std::string const &,std::string const &,bool,bool)\n"
278613  " FiringRateSim::Neurons::Neuron::AddItem(std::string const &,std::string const &,bool)\n"
278614  " FiringRateSim::Neurons::Neuron::AddItem(std::string const &,std::string const &)\n");
278615  return 0;
278616 }
278617 
278618 
278619 SWIGINTERN PyObject *_wrap_Neuron_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
278620  PyObject *resultobj = 0;
278622  std::string *arg2 = 0 ;
278623  std::string *arg3 = 0 ;
278624  bool arg4 ;
278625  void *argp1 = 0 ;
278626  int res1 = 0 ;
278627  int res2 = SWIG_OLDOBJ ;
278628  int res3 = SWIG_OLDOBJ ;
278629  bool val4 ;
278630  int ecode4 = 0 ;
278631  PyObject * obj0 = 0 ;
278632  PyObject * obj1 = 0 ;
278633  PyObject * obj2 = 0 ;
278634  PyObject * obj3 = 0 ;
278635  bool result;
278636 
278637  if (!PyArg_ParseTuple(args,(char *)"OOOO:Neuron_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
278638  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
278639  if (!SWIG_IsOK(res1)) {
278640  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_RemoveItem" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
278641  }
278642  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
278643  {
278644  std::string *ptr = (std::string *)0;
278645  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
278646  if (!SWIG_IsOK(res2)) {
278647  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
278648  }
278649  if (!ptr) {
278650  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
278651  }
278652  arg2 = ptr;
278653  }
278654  {
278655  std::string *ptr = (std::string *)0;
278656  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
278657  if (!SWIG_IsOK(res3)) {
278658  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Neuron_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
278659  }
278660  if (!ptr) {
278661  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
278662  }
278663  arg3 = ptr;
278664  }
278665  ecode4 = SWIG_AsVal_bool(obj3, &val4);
278666  if (!SWIG_IsOK(ecode4)) {
278667  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Neuron_RemoveItem" "', argument " "4"" of type '" "bool""'");
278668  }
278669  arg4 = static_cast< bool >(val4);
278670  {
278671  try {
278672  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
278673  }
278674  catch(CStdErrorInfo oError)
278675  {
278676  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278677  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
278678  PyErr_SetString(PyExc_IndexError, strError.c_str());
278679  SWIG_fail;
278680  }
278681  catch(...)
278682  {
278683  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278684  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
278685  SWIG_fail;
278686  }
278687  }
278688  resultobj = SWIG_From_bool(static_cast< bool >(result));
278689  if (SWIG_IsNewObj(res2)) delete arg2;
278690  if (SWIG_IsNewObj(res3)) delete arg3;
278691  return resultobj;
278692 fail:
278693  if (SWIG_IsNewObj(res2)) delete arg2;
278694  if (SWIG_IsNewObj(res3)) delete arg3;
278695  return NULL;
278696 }
278697 
278698 
278699 SWIGINTERN PyObject *_wrap_Neuron_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
278700  PyObject *resultobj = 0;
278702  std::string *arg2 = 0 ;
278703  std::string *arg3 = 0 ;
278704  void *argp1 = 0 ;
278705  int res1 = 0 ;
278706  int res2 = SWIG_OLDOBJ ;
278707  int res3 = SWIG_OLDOBJ ;
278708  PyObject * obj0 = 0 ;
278709  PyObject * obj1 = 0 ;
278710  PyObject * obj2 = 0 ;
278711  bool result;
278712 
278713  if (!PyArg_ParseTuple(args,(char *)"OOO:Neuron_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
278714  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
278715  if (!SWIG_IsOK(res1)) {
278716  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_RemoveItem" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
278717  }
278718  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
278719  {
278720  std::string *ptr = (std::string *)0;
278721  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
278722  if (!SWIG_IsOK(res2)) {
278723  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
278724  }
278725  if (!ptr) {
278726  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
278727  }
278728  arg2 = ptr;
278729  }
278730  {
278731  std::string *ptr = (std::string *)0;
278732  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
278733  if (!SWIG_IsOK(res3)) {
278734  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Neuron_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
278735  }
278736  if (!ptr) {
278737  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
278738  }
278739  arg3 = ptr;
278740  }
278741  {
278742  try {
278743  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
278744  }
278745  catch(CStdErrorInfo oError)
278746  {
278747  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278748  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
278749  PyErr_SetString(PyExc_IndexError, strError.c_str());
278750  SWIG_fail;
278751  }
278752  catch(...)
278753  {
278754  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278755  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
278756  SWIG_fail;
278757  }
278758  }
278759  resultobj = SWIG_From_bool(static_cast< bool >(result));
278760  if (SWIG_IsNewObj(res2)) delete arg2;
278761  if (SWIG_IsNewObj(res3)) delete arg3;
278762  return resultobj;
278763 fail:
278764  if (SWIG_IsNewObj(res2)) delete arg2;
278765  if (SWIG_IsNewObj(res3)) delete arg3;
278766  return NULL;
278767 }
278768 
278769 
278770 SWIGINTERN PyObject *_wrap_Neuron_RemoveItem(PyObject *self, PyObject *args) {
278771  int argc;
278772  PyObject *argv[5];
278773  int ii;
278774 
278775  if (!PyTuple_Check(args)) SWIG_fail;
278776  argc = args ? (int)PyObject_Length(args) : 0;
278777  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
278778  argv[ii] = PyTuple_GET_ITEM(args,ii);
278779  }
278780  if (argc == 3) {
278781  int _v;
278782  void *vptr = 0;
278783  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
278784  _v = SWIG_CheckState(res);
278785  if (_v) {
278786  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
278787  _v = SWIG_CheckState(res);
278788  if (_v) {
278789  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
278790  _v = SWIG_CheckState(res);
278791  if (_v) {
278792  return _wrap_Neuron_RemoveItem__SWIG_1(self, args);
278793  }
278794  }
278795  }
278796  }
278797  if (argc == 4) {
278798  int _v;
278799  void *vptr = 0;
278800  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0);
278801  _v = SWIG_CheckState(res);
278802  if (_v) {
278803  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
278804  _v = SWIG_CheckState(res);
278805  if (_v) {
278806  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
278807  _v = SWIG_CheckState(res);
278808  if (_v) {
278809  {
278810  int res = SWIG_AsVal_bool(argv[3], NULL);
278811  _v = SWIG_CheckState(res);
278812  }
278813  if (_v) {
278814  return _wrap_Neuron_RemoveItem__SWIG_0(self, args);
278815  }
278816  }
278817  }
278818  }
278819  }
278820 
278821 fail:
278822  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Neuron_RemoveItem'.\n"
278823  " Possible C/C++ prototypes are:\n"
278824  " FiringRateSim::Neurons::Neuron::RemoveItem(std::string const &,std::string const &,bool)\n"
278825  " FiringRateSim::Neurons::Neuron::RemoveItem(std::string const &,std::string const &)\n");
278826  return 0;
278827 }
278828 
278829 
278830 SWIGINTERN PyObject *_wrap_Neuron_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
278831  PyObject *resultobj = 0;
278833  StdUtils::CStdXml *arg2 = 0 ;
278834  void *argp1 = 0 ;
278835  int res1 = 0 ;
278836  void *argp2 = 0 ;
278837  int res2 = 0 ;
278838  PyObject * obj0 = 0 ;
278839  PyObject * obj1 = 0 ;
278840 
278841  if (!PyArg_ParseTuple(args,(char *)"OO:Neuron_Load",&obj0,&obj1)) SWIG_fail;
278842  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__Neuron, 0 | 0 );
278843  if (!SWIG_IsOK(res1)) {
278844  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Neuron_Load" "', argument " "1"" of type '" "FiringRateSim::Neurons::Neuron *""'");
278845  }
278846  arg1 = reinterpret_cast< FiringRateSim::Neurons::Neuron * >(argp1);
278847  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
278848  if (!SWIG_IsOK(res2)) {
278849  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Neuron_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
278850  }
278851  if (!argp2) {
278852  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Neuron_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
278853  }
278854  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
278855  {
278856  try {
278857  (arg1)->Load(*arg2);
278858  }
278859  catch(CStdErrorInfo oError)
278860  {
278861  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278862  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
278863  PyErr_SetString(PyExc_IndexError, strError.c_str());
278864  SWIG_fail;
278865  }
278866  catch(...)
278867  {
278868  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278869  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
278870  SWIG_fail;
278871  }
278872  }
278873  resultobj = SWIG_Py_Void();
278874  return resultobj;
278875 fail:
278876  return NULL;
278877 }
278878 
278879 
278880 SWIGINTERN PyObject *Neuron_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
278881  PyObject *obj;
278882  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
278883  SWIG_TypeNewClientData(SWIGTYPE_p_FiringRateSim__Neurons__Neuron, SWIG_NewClientData(obj));
278884  return SWIG_Py_Void();
278885 }
278886 
278887 SWIGINTERN PyObject *_wrap_new_Synapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
278888  PyObject *resultobj = 0;
278889  FiringRateSim::Synapses::Synapse *result = 0 ;
278890 
278891  if (!PyArg_ParseTuple(args,(char *)":new_Synapse")) SWIG_fail;
278892  {
278893  try {
278895  }
278896  catch(CStdErrorInfo oError)
278897  {
278898  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278899  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
278900  PyErr_SetString(PyExc_IndexError, strError.c_str());
278901  SWIG_fail;
278902  }
278903  catch(...)
278904  {
278905  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278906  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
278907  SWIG_fail;
278908  }
278909  }
278910  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FiringRateSim__Synapses__Synapse, SWIG_POINTER_NEW | 0 );
278911  return resultobj;
278912 fail:
278913  return NULL;
278914 }
278915 
278916 
278917 SWIGINTERN PyObject *_wrap_delete_Synapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
278918  PyObject *resultobj = 0;
278920  void *argp1 = 0 ;
278921  int res1 = 0 ;
278922  PyObject * obj0 = 0 ;
278923 
278924  if (!PyArg_ParseTuple(args,(char *)"O:delete_Synapse",&obj0)) SWIG_fail;
278925  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, SWIG_POINTER_DISOWN | 0 );
278926  if (!SWIG_IsOK(res1)) {
278927  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Synapse" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
278928  }
278929  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
278930  {
278931  try {
278932  delete arg1;
278933  }
278934  catch(CStdErrorInfo oError)
278935  {
278936  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278937  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
278938  PyErr_SetString(PyExc_IndexError, strError.c_str());
278939  SWIG_fail;
278940  }
278941  catch(...)
278942  {
278943  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278944  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
278945  SWIG_fail;
278946  }
278947  }
278948  resultobj = SWIG_Py_Void();
278949  return resultobj;
278950 fail:
278951  return NULL;
278952 }
278953 
278954 
278955 SWIGINTERN PyObject *_wrap_Synapse_FromNeuron(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
278956  PyObject *resultobj = 0;
278958  void *argp1 = 0 ;
278959  int res1 = 0 ;
278960  PyObject * obj0 = 0 ;
278961  Neuron *result = 0 ;
278962 
278963  if (!PyArg_ParseTuple(args,(char *)"O:Synapse_FromNeuron",&obj0)) SWIG_fail;
278964  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
278965  if (!SWIG_IsOK(res1)) {
278966  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_FromNeuron" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
278967  }
278968  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
278969  {
278970  try {
278971  result = (Neuron *)(arg1)->FromNeuron();
278972  }
278973  catch(CStdErrorInfo oError)
278974  {
278975  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278976  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
278977  PyErr_SetString(PyExc_IndexError, strError.c_str());
278978  SWIG_fail;
278979  }
278980  catch(...)
278981  {
278982  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
278983  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
278984  SWIG_fail;
278985  }
278986  }
278987  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Neuron, 0 | 0 );
278988  return resultobj;
278989 fail:
278990  return NULL;
278991 }
278992 
278993 
278994 SWIGINTERN PyObject *_wrap_Synapse_Weight__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
278995  PyObject *resultobj = 0;
278997  void *argp1 = 0 ;
278998  int res1 = 0 ;
278999  PyObject * obj0 = 0 ;
279000  float result;
279001 
279002  if (!PyArg_ParseTuple(args,(char *)"O:Synapse_Weight",&obj0)) SWIG_fail;
279003  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279004  if (!SWIG_IsOK(res1)) {
279005  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_Weight" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279006  }
279007  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279008  {
279009  try {
279010  result = (float)(arg1)->Weight();
279011  }
279012  catch(CStdErrorInfo oError)
279013  {
279014  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279015  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279016  PyErr_SetString(PyExc_IndexError, strError.c_str());
279017  SWIG_fail;
279018  }
279019  catch(...)
279020  {
279021  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279022  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279023  SWIG_fail;
279024  }
279025  }
279026  resultobj = SWIG_From_float(static_cast< float >(result));
279027  return resultobj;
279028 fail:
279029  return NULL;
279030 }
279031 
279032 
279033 SWIGINTERN PyObject *_wrap_Synapse_Weight__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279034  PyObject *resultobj = 0;
279036  float arg2 ;
279037  void *argp1 = 0 ;
279038  int res1 = 0 ;
279039  float val2 ;
279040  int ecode2 = 0 ;
279041  PyObject * obj0 = 0 ;
279042  PyObject * obj1 = 0 ;
279043 
279044  if (!PyArg_ParseTuple(args,(char *)"OO:Synapse_Weight",&obj0,&obj1)) SWIG_fail;
279045  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279046  if (!SWIG_IsOK(res1)) {
279047  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_Weight" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279048  }
279049  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279050  ecode2 = SWIG_AsVal_float(obj1, &val2);
279051  if (!SWIG_IsOK(ecode2)) {
279052  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Synapse_Weight" "', argument " "2"" of type '" "float""'");
279053  }
279054  arg2 = static_cast< float >(val2);
279055  {
279056  try {
279057  (arg1)->Weight(arg2);
279058  }
279059  catch(CStdErrorInfo oError)
279060  {
279061  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279062  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279063  PyErr_SetString(PyExc_IndexError, strError.c_str());
279064  SWIG_fail;
279065  }
279066  catch(...)
279067  {
279068  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279069  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279070  SWIG_fail;
279071  }
279072  }
279073  resultobj = SWIG_Py_Void();
279074  return resultobj;
279075 fail:
279076  return NULL;
279077 }
279078 
279079 
279080 SWIGINTERN PyObject *_wrap_Synapse_Weight(PyObject *self, PyObject *args) {
279081  int argc;
279082  PyObject *argv[3];
279083  int ii;
279084 
279085  if (!PyTuple_Check(args)) SWIG_fail;
279086  argc = args ? (int)PyObject_Length(args) : 0;
279087  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
279088  argv[ii] = PyTuple_GET_ITEM(args,ii);
279089  }
279090  if (argc == 1) {
279091  int _v;
279092  void *vptr = 0;
279093  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
279094  _v = SWIG_CheckState(res);
279095  if (_v) {
279096  return _wrap_Synapse_Weight__SWIG_0(self, args);
279097  }
279098  }
279099  if (argc == 2) {
279100  int _v;
279101  void *vptr = 0;
279102  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
279103  _v = SWIG_CheckState(res);
279104  if (_v) {
279105  {
279106  int res = SWIG_AsVal_float(argv[1], NULL);
279107  _v = SWIG_CheckState(res);
279108  }
279109  if (_v) {
279110  return _wrap_Synapse_Weight__SWIG_1(self, args);
279111  }
279112  }
279113  }
279114 
279115 fail:
279116  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Synapse_Weight'.\n"
279117  " Possible C/C++ prototypes are:\n"
279118  " FiringRateSim::Synapses::Synapse::Weight()\n"
279119  " FiringRateSim::Synapses::Synapse::Weight(float)\n");
279120  return 0;
279121 }
279122 
279123 
279124 SWIGINTERN PyObject *_wrap_Synapse_WeightPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279125  PyObject *resultobj = 0;
279127  void *argp1 = 0 ;
279128  int res1 = 0 ;
279129  PyObject * obj0 = 0 ;
279130  float *result = 0 ;
279131 
279132  if (!PyArg_ParseTuple(args,(char *)"O:Synapse_WeightPointer",&obj0)) SWIG_fail;
279133  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279134  if (!SWIG_IsOK(res1)) {
279135  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_WeightPointer" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279136  }
279137  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279138  {
279139  try {
279140  result = (float *)(arg1)->WeightPointer();
279141  }
279142  catch(CStdErrorInfo oError)
279143  {
279144  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279145  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279146  PyErr_SetString(PyExc_IndexError, strError.c_str());
279147  SWIG_fail;
279148  }
279149  catch(...)
279150  {
279151  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279152  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279153  SWIG_fail;
279154  }
279155  }
279156  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
279157  return resultobj;
279158 fail:
279159  return NULL;
279160 }
279161 
279162 
279163 SWIGINTERN PyObject *_wrap_Synapse_HasDelay__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279164  PyObject *resultobj = 0;
279166  void *argp1 = 0 ;
279167  int res1 = 0 ;
279168  PyObject * obj0 = 0 ;
279169  bool result;
279170 
279171  if (!PyArg_ParseTuple(args,(char *)"O:Synapse_HasDelay",&obj0)) SWIG_fail;
279172  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279173  if (!SWIG_IsOK(res1)) {
279174  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_HasDelay" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279175  }
279176  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279177  {
279178  try {
279179  result = (bool)(arg1)->HasDelay();
279180  }
279181  catch(CStdErrorInfo oError)
279182  {
279183  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279184  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279185  PyErr_SetString(PyExc_IndexError, strError.c_str());
279186  SWIG_fail;
279187  }
279188  catch(...)
279189  {
279190  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279191  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279192  SWIG_fail;
279193  }
279194  }
279195  resultobj = SWIG_From_bool(static_cast< bool >(result));
279196  return resultobj;
279197 fail:
279198  return NULL;
279199 }
279200 
279201 
279202 SWIGINTERN PyObject *_wrap_Synapse_HasDelay__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279203  PyObject *resultobj = 0;
279205  bool arg2 ;
279206  void *argp1 = 0 ;
279207  int res1 = 0 ;
279208  bool val2 ;
279209  int ecode2 = 0 ;
279210  PyObject * obj0 = 0 ;
279211  PyObject * obj1 = 0 ;
279212 
279213  if (!PyArg_ParseTuple(args,(char *)"OO:Synapse_HasDelay",&obj0,&obj1)) SWIG_fail;
279214  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279215  if (!SWIG_IsOK(res1)) {
279216  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_HasDelay" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279217  }
279218  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279219  ecode2 = SWIG_AsVal_bool(obj1, &val2);
279220  if (!SWIG_IsOK(ecode2)) {
279221  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Synapse_HasDelay" "', argument " "2"" of type '" "bool""'");
279222  }
279223  arg2 = static_cast< bool >(val2);
279224  {
279225  try {
279226  (arg1)->HasDelay(arg2);
279227  }
279228  catch(CStdErrorInfo oError)
279229  {
279230  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279231  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279232  PyErr_SetString(PyExc_IndexError, strError.c_str());
279233  SWIG_fail;
279234  }
279235  catch(...)
279236  {
279237  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279238  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279239  SWIG_fail;
279240  }
279241  }
279242  resultobj = SWIG_Py_Void();
279243  return resultobj;
279244 fail:
279245  return NULL;
279246 }
279247 
279248 
279249 SWIGINTERN PyObject *_wrap_Synapse_HasDelay(PyObject *self, PyObject *args) {
279250  int argc;
279251  PyObject *argv[3];
279252  int ii;
279253 
279254  if (!PyTuple_Check(args)) SWIG_fail;
279255  argc = args ? (int)PyObject_Length(args) : 0;
279256  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
279257  argv[ii] = PyTuple_GET_ITEM(args,ii);
279258  }
279259  if (argc == 1) {
279260  int _v;
279261  void *vptr = 0;
279262  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
279263  _v = SWIG_CheckState(res);
279264  if (_v) {
279265  return _wrap_Synapse_HasDelay__SWIG_0(self, args);
279266  }
279267  }
279268  if (argc == 2) {
279269  int _v;
279270  void *vptr = 0;
279271  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
279272  _v = SWIG_CheckState(res);
279273  if (_v) {
279274  {
279275  int res = SWIG_AsVal_bool(argv[1], NULL);
279276  _v = SWIG_CheckState(res);
279277  }
279278  if (_v) {
279279  return _wrap_Synapse_HasDelay__SWIG_1(self, args);
279280  }
279281  }
279282  }
279283 
279284 fail:
279285  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Synapse_HasDelay'.\n"
279286  " Possible C/C++ prototypes are:\n"
279287  " FiringRateSim::Synapses::Synapse::HasDelay()\n"
279288  " FiringRateSim::Synapses::Synapse::HasDelay(bool)\n");
279289  return 0;
279290 }
279291 
279292 
279293 SWIGINTERN PyObject *_wrap_Synapse_DelayInterval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279294  PyObject *resultobj = 0;
279296  float arg2 ;
279297  void *argp1 = 0 ;
279298  int res1 = 0 ;
279299  float val2 ;
279300  int ecode2 = 0 ;
279301  PyObject * obj0 = 0 ;
279302  PyObject * obj1 = 0 ;
279303 
279304  if (!PyArg_ParseTuple(args,(char *)"OO:Synapse_DelayInterval",&obj0,&obj1)) SWIG_fail;
279305  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279306  if (!SWIG_IsOK(res1)) {
279307  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_DelayInterval" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279308  }
279309  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279310  ecode2 = SWIG_AsVal_float(obj1, &val2);
279311  if (!SWIG_IsOK(ecode2)) {
279312  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Synapse_DelayInterval" "', argument " "2"" of type '" "float""'");
279313  }
279314  arg2 = static_cast< float >(val2);
279315  {
279316  try {
279317  (arg1)->DelayInterval(arg2);
279318  }
279319  catch(CStdErrorInfo oError)
279320  {
279321  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279322  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279323  PyErr_SetString(PyExc_IndexError, strError.c_str());
279324  SWIG_fail;
279325  }
279326  catch(...)
279327  {
279328  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279329  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279330  SWIG_fail;
279331  }
279332  }
279333  resultobj = SWIG_Py_Void();
279334  return resultobj;
279335 fail:
279336  return NULL;
279337 }
279338 
279339 
279340 SWIGINTERN PyObject *_wrap_Synapse_DelayInterval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279341  PyObject *resultobj = 0;
279343  void *argp1 = 0 ;
279344  int res1 = 0 ;
279345  PyObject * obj0 = 0 ;
279346  float result;
279347 
279348  if (!PyArg_ParseTuple(args,(char *)"O:Synapse_DelayInterval",&obj0)) SWIG_fail;
279349  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279350  if (!SWIG_IsOK(res1)) {
279351  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_DelayInterval" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279352  }
279353  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279354  {
279355  try {
279356  result = (float)(arg1)->DelayInterval();
279357  }
279358  catch(CStdErrorInfo oError)
279359  {
279360  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279361  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279362  PyErr_SetString(PyExc_IndexError, strError.c_str());
279363  SWIG_fail;
279364  }
279365  catch(...)
279366  {
279367  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279368  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279369  SWIG_fail;
279370  }
279371  }
279372  resultobj = SWIG_From_float(static_cast< float >(result));
279373  return resultobj;
279374 fail:
279375  return NULL;
279376 }
279377 
279378 
279379 SWIGINTERN PyObject *_wrap_Synapse_DelayInterval(PyObject *self, PyObject *args) {
279380  int argc;
279381  PyObject *argv[3];
279382  int ii;
279383 
279384  if (!PyTuple_Check(args)) SWIG_fail;
279385  argc = args ? (int)PyObject_Length(args) : 0;
279386  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
279387  argv[ii] = PyTuple_GET_ITEM(args,ii);
279388  }
279389  if (argc == 1) {
279390  int _v;
279391  void *vptr = 0;
279392  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
279393  _v = SWIG_CheckState(res);
279394  if (_v) {
279395  return _wrap_Synapse_DelayInterval__SWIG_1(self, args);
279396  }
279397  }
279398  if (argc == 2) {
279399  int _v;
279400  void *vptr = 0;
279401  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
279402  _v = SWIG_CheckState(res);
279403  if (_v) {
279404  {
279405  int res = SWIG_AsVal_float(argv[1], NULL);
279406  _v = SWIG_CheckState(res);
279407  }
279408  if (_v) {
279409  return _wrap_Synapse_DelayInterval__SWIG_0(self, args);
279410  }
279411  }
279412  }
279413 
279414 fail:
279415  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Synapse_DelayInterval'.\n"
279416  " Possible C/C++ prototypes are:\n"
279417  " FiringRateSim::Synapses::Synapse::DelayInterval(float)\n"
279418  " FiringRateSim::Synapses::Synapse::DelayInterval()\n");
279419  return 0;
279420 }
279421 
279422 
279423 SWIGINTERN PyObject *_wrap_Synapse_SetDelayBufferSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279424  PyObject *resultobj = 0;
279426  void *argp1 = 0 ;
279427  int res1 = 0 ;
279428  PyObject * obj0 = 0 ;
279429 
279430  if (!PyArg_ParseTuple(args,(char *)"O:Synapse_SetDelayBufferSize",&obj0)) SWIG_fail;
279431  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279432  if (!SWIG_IsOK(res1)) {
279433  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_SetDelayBufferSize" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279434  }
279435  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279436  {
279437  try {
279438  (arg1)->SetDelayBufferSize();
279439  }
279440  catch(CStdErrorInfo oError)
279441  {
279442  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279443  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279444  PyErr_SetString(PyExc_IndexError, strError.c_str());
279445  SWIG_fail;
279446  }
279447  catch(...)
279448  {
279449  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279450  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279451  SWIG_fail;
279452  }
279453  }
279454  resultobj = SWIG_Py_Void();
279455  return resultobj;
279456 fail:
279457  return NULL;
279458 }
279459 
279460 
279461 SWIGINTERN PyObject *_wrap_Synapse_CalculateCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279462  PyObject *resultobj = 0;
279464  void *argp1 = 0 ;
279465  int res1 = 0 ;
279466  PyObject * obj0 = 0 ;
279467  float result;
279468 
279469  if (!PyArg_ParseTuple(args,(char *)"O:Synapse_CalculateCurrent",&obj0)) SWIG_fail;
279470  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279471  if (!SWIG_IsOK(res1)) {
279472  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_CalculateCurrent" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279473  }
279474  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279475  {
279476  try {
279477  result = (float)(arg1)->CalculateCurrent();
279478  }
279479  catch(CStdErrorInfo oError)
279480  {
279481  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279482  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279483  PyErr_SetString(PyExc_IndexError, strError.c_str());
279484  SWIG_fail;
279485  }
279486  catch(...)
279487  {
279488  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279489  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279490  SWIG_fail;
279491  }
279492  }
279493  resultobj = SWIG_From_float(static_cast< float >(result));
279494  return resultobj;
279495 fail:
279496  return NULL;
279497 }
279498 
279499 
279500 SWIGINTERN PyObject *_wrap_Synapse_Modulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279501  PyObject *resultobj = 0;
279503  void *argp1 = 0 ;
279504  int res1 = 0 ;
279505  PyObject * obj0 = 0 ;
279506  float result;
279507 
279508  if (!PyArg_ParseTuple(args,(char *)"O:Synapse_Modulation",&obj0)) SWIG_fail;
279509  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279510  if (!SWIG_IsOK(res1)) {
279511  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_Modulation" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279512  }
279513  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279514  {
279515  try {
279516  result = (float)(arg1)->Modulation();
279517  }
279518  catch(CStdErrorInfo oError)
279519  {
279520  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279521  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279522  PyErr_SetString(PyExc_IndexError, strError.c_str());
279523  SWIG_fail;
279524  }
279525  catch(...)
279526  {
279527  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279528  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279529  SWIG_fail;
279530  }
279531  }
279532  resultobj = SWIG_From_float(static_cast< float >(result));
279533  return resultobj;
279534 fail:
279535  return NULL;
279536 }
279537 
279538 
279539 SWIGINTERN PyObject *_wrap_Synapse_ModulationPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279540  PyObject *resultobj = 0;
279542  void *argp1 = 0 ;
279543  int res1 = 0 ;
279544  PyObject * obj0 = 0 ;
279545  float *result = 0 ;
279546 
279547  if (!PyArg_ParseTuple(args,(char *)"O:Synapse_ModulationPointer",&obj0)) SWIG_fail;
279548  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279549  if (!SWIG_IsOK(res1)) {
279550  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_ModulationPointer" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279551  }
279552  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279553  {
279554  try {
279555  result = (float *)(arg1)->ModulationPointer();
279556  }
279557  catch(CStdErrorInfo oError)
279558  {
279559  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279560  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279561  PyErr_SetString(PyExc_IndexError, strError.c_str());
279562  SWIG_fail;
279563  }
279564  catch(...)
279565  {
279566  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279567  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279568  SWIG_fail;
279569  }
279570  }
279571  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
279572  return resultobj;
279573 fail:
279574  return NULL;
279575 }
279576 
279577 
279578 SWIGINTERN PyObject *_wrap_Synapse_CalculateModulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279579  PyObject *resultobj = 0;
279581  FiringRateModule *arg2 = (FiringRateModule *) 0 ;
279582  void *argp1 = 0 ;
279583  int res1 = 0 ;
279584  void *argp2 = 0 ;
279585  int res2 = 0 ;
279586  PyObject * obj0 = 0 ;
279587  PyObject * obj1 = 0 ;
279588  float result;
279589 
279590  if (!PyArg_ParseTuple(args,(char *)"OO:Synapse_CalculateModulation",&obj0,&obj1)) SWIG_fail;
279591  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279592  if (!SWIG_IsOK(res1)) {
279593  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_CalculateModulation" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279594  }
279595  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279596  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_FiringRateModule, 0 | 0 );
279597  if (!SWIG_IsOK(res2)) {
279598  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Synapse_CalculateModulation" "', argument " "2"" of type '" "FiringRateModule *""'");
279599  }
279600  arg2 = reinterpret_cast< FiringRateModule * >(argp2);
279601  {
279602  try {
279603  result = (float)(arg1)->CalculateModulation(arg2);
279604  }
279605  catch(CStdErrorInfo oError)
279606  {
279607  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279608  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279609  PyErr_SetString(PyExc_IndexError, strError.c_str());
279610  SWIG_fail;
279611  }
279612  catch(...)
279613  {
279614  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279615  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279616  SWIG_fail;
279617  }
279618  }
279619  resultobj = SWIG_From_float(static_cast< float >(result));
279620  return resultobj;
279621 fail:
279622  return NULL;
279623 }
279624 
279625 
279626 SWIGINTERN PyObject *_wrap_Synapse_GetCompoundSynapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279627  PyObject *resultobj = 0;
279629  short arg2 ;
279630  void *argp1 = 0 ;
279631  int res1 = 0 ;
279632  short val2 ;
279633  int ecode2 = 0 ;
279634  PyObject * obj0 = 0 ;
279635  PyObject * obj1 = 0 ;
279636  FiringRateSim::Synapses::Synapse *result = 0 ;
279637 
279638  if (!PyArg_ParseTuple(args,(char *)"OO:Synapse_GetCompoundSynapse",&obj0,&obj1)) SWIG_fail;
279639  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279640  if (!SWIG_IsOK(res1)) {
279641  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_GetCompoundSynapse" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279642  }
279643  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279644  ecode2 = SWIG_AsVal_short(obj1, &val2);
279645  if (!SWIG_IsOK(ecode2)) {
279646  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Synapse_GetCompoundSynapse" "', argument " "2"" of type '" "short""'");
279647  }
279648  arg2 = static_cast< short >(val2);
279649  {
279650  try {
279651  result = (FiringRateSim::Synapses::Synapse *)(arg1)->GetCompoundSynapse(arg2);
279652  }
279653  catch(CStdErrorInfo oError)
279654  {
279655  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279656  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279657  PyErr_SetString(PyExc_IndexError, strError.c_str());
279658  SWIG_fail;
279659  }
279660  catch(...)
279661  {
279662  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279663  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279664  SWIG_fail;
279665  }
279666  }
279667  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279668  return resultobj;
279669 fail:
279670  return NULL;
279671 }
279672 
279673 
279674 SWIGINTERN PyObject *_wrap_Synapse_FindSynapseListPos__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279675  PyObject *resultobj = 0;
279677  std::string arg2 ;
279678  bool arg3 ;
279679  void *argp1 = 0 ;
279680  int res1 = 0 ;
279681  bool val3 ;
279682  int ecode3 = 0 ;
279683  PyObject * obj0 = 0 ;
279684  PyObject * obj1 = 0 ;
279685  PyObject * obj2 = 0 ;
279686  int result;
279687 
279688  if (!PyArg_ParseTuple(args,(char *)"OOO:Synapse_FindSynapseListPos",&obj0,&obj1,&obj2)) SWIG_fail;
279689  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279690  if (!SWIG_IsOK(res1)) {
279691  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_FindSynapseListPos" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279692  }
279693  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279694  {
279695  std::string *ptr = (std::string *)0;
279696  int res = SWIG_AsPtr_std_string(obj1, &ptr);
279697  if (!SWIG_IsOK(res) || !ptr) {
279698  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Synapse_FindSynapseListPos" "', argument " "2"" of type '" "std::string""'");
279699  }
279700  arg2 = *ptr;
279701  if (SWIG_IsNewObj(res)) delete ptr;
279702  }
279703  ecode3 = SWIG_AsVal_bool(obj2, &val3);
279704  if (!SWIG_IsOK(ecode3)) {
279705  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Synapse_FindSynapseListPos" "', argument " "3"" of type '" "bool""'");
279706  }
279707  arg3 = static_cast< bool >(val3);
279708  {
279709  try {
279710  result = (int)(arg1)->FindSynapseListPos(arg2,arg3);
279711  }
279712  catch(CStdErrorInfo oError)
279713  {
279714  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279715  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279716  PyErr_SetString(PyExc_IndexError, strError.c_str());
279717  SWIG_fail;
279718  }
279719  catch(...)
279720  {
279721  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279722  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279723  SWIG_fail;
279724  }
279725  }
279726  resultobj = SWIG_From_int(static_cast< int >(result));
279727  return resultobj;
279728 fail:
279729  return NULL;
279730 }
279731 
279732 
279733 SWIGINTERN PyObject *_wrap_Synapse_FindSynapseListPos__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279734  PyObject *resultobj = 0;
279736  std::string arg2 ;
279737  void *argp1 = 0 ;
279738  int res1 = 0 ;
279739  PyObject * obj0 = 0 ;
279740  PyObject * obj1 = 0 ;
279741  int result;
279742 
279743  if (!PyArg_ParseTuple(args,(char *)"OO:Synapse_FindSynapseListPos",&obj0,&obj1)) SWIG_fail;
279744  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279745  if (!SWIG_IsOK(res1)) {
279746  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_FindSynapseListPos" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279747  }
279748  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279749  {
279750  std::string *ptr = (std::string *)0;
279751  int res = SWIG_AsPtr_std_string(obj1, &ptr);
279752  if (!SWIG_IsOK(res) || !ptr) {
279753  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Synapse_FindSynapseListPos" "', argument " "2"" of type '" "std::string""'");
279754  }
279755  arg2 = *ptr;
279756  if (SWIG_IsNewObj(res)) delete ptr;
279757  }
279758  {
279759  try {
279760  result = (int)(arg1)->FindSynapseListPos(arg2);
279761  }
279762  catch(CStdErrorInfo oError)
279763  {
279764  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279765  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279766  PyErr_SetString(PyExc_IndexError, strError.c_str());
279767  SWIG_fail;
279768  }
279769  catch(...)
279770  {
279771  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279772  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279773  SWIG_fail;
279774  }
279775  }
279776  resultobj = SWIG_From_int(static_cast< int >(result));
279777  return resultobj;
279778 fail:
279779  return NULL;
279780 }
279781 
279782 
279783 SWIGINTERN PyObject *_wrap_Synapse_FindSynapseListPos(PyObject *self, PyObject *args) {
279784  int argc;
279785  PyObject *argv[4];
279786  int ii;
279787 
279788  if (!PyTuple_Check(args)) SWIG_fail;
279789  argc = args ? (int)PyObject_Length(args) : 0;
279790  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
279791  argv[ii] = PyTuple_GET_ITEM(args,ii);
279792  }
279793  if (argc == 2) {
279794  int _v;
279795  void *vptr = 0;
279796  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
279797  _v = SWIG_CheckState(res);
279798  if (_v) {
279799  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
279800  _v = SWIG_CheckState(res);
279801  if (_v) {
279802  return _wrap_Synapse_FindSynapseListPos__SWIG_1(self, args);
279803  }
279804  }
279805  }
279806  if (argc == 3) {
279807  int _v;
279808  void *vptr = 0;
279809  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
279810  _v = SWIG_CheckState(res);
279811  if (_v) {
279812  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
279813  _v = SWIG_CheckState(res);
279814  if (_v) {
279815  {
279816  int res = SWIG_AsVal_bool(argv[2], NULL);
279817  _v = SWIG_CheckState(res);
279818  }
279819  if (_v) {
279820  return _wrap_Synapse_FindSynapseListPos__SWIG_0(self, args);
279821  }
279822  }
279823  }
279824  }
279825 
279826 fail:
279827  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Synapse_FindSynapseListPos'.\n"
279828  " Possible C/C++ prototypes are:\n"
279829  " FiringRateSim::Synapses::Synapse::FindSynapseListPos(std::string,bool)\n"
279830  " FiringRateSim::Synapses::Synapse::FindSynapseListPos(std::string)\n");
279831  return 0;
279832 }
279833 
279834 
279835 SWIGINTERN PyObject *_wrap_Synapse_AddSynapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279836  PyObject *resultobj = 0;
279838  std::string arg2 ;
279839  bool arg3 ;
279840  void *argp1 = 0 ;
279841  int res1 = 0 ;
279842  bool val3 ;
279843  int ecode3 = 0 ;
279844  PyObject * obj0 = 0 ;
279845  PyObject * obj1 = 0 ;
279846  PyObject * obj2 = 0 ;
279847 
279848  if (!PyArg_ParseTuple(args,(char *)"OOO:Synapse_AddSynapse",&obj0,&obj1,&obj2)) SWIG_fail;
279849  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279850  if (!SWIG_IsOK(res1)) {
279851  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_AddSynapse" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279852  }
279853  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279854  {
279855  std::string *ptr = (std::string *)0;
279856  int res = SWIG_AsPtr_std_string(obj1, &ptr);
279857  if (!SWIG_IsOK(res) || !ptr) {
279858  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Synapse_AddSynapse" "', argument " "2"" of type '" "std::string""'");
279859  }
279860  arg2 = *ptr;
279861  if (SWIG_IsNewObj(res)) delete ptr;
279862  }
279863  ecode3 = SWIG_AsVal_bool(obj2, &val3);
279864  if (!SWIG_IsOK(ecode3)) {
279865  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Synapse_AddSynapse" "', argument " "3"" of type '" "bool""'");
279866  }
279867  arg3 = static_cast< bool >(val3);
279868  {
279869  try {
279870  (arg1)->AddSynapse(arg2,arg3);
279871  }
279872  catch(CStdErrorInfo oError)
279873  {
279874  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279875  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279876  PyErr_SetString(PyExc_IndexError, strError.c_str());
279877  SWIG_fail;
279878  }
279879  catch(...)
279880  {
279881  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279882  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279883  SWIG_fail;
279884  }
279885  }
279886  resultobj = SWIG_Py_Void();
279887  return resultobj;
279888 fail:
279889  return NULL;
279890 }
279891 
279892 
279893 SWIGINTERN PyObject *_wrap_Synapse_RemoveSynapse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279894  PyObject *resultobj = 0;
279896  std::string arg2 ;
279897  bool arg3 ;
279898  void *argp1 = 0 ;
279899  int res1 = 0 ;
279900  bool val3 ;
279901  int ecode3 = 0 ;
279902  PyObject * obj0 = 0 ;
279903  PyObject * obj1 = 0 ;
279904  PyObject * obj2 = 0 ;
279905 
279906  if (!PyArg_ParseTuple(args,(char *)"OOO:Synapse_RemoveSynapse",&obj0,&obj1,&obj2)) SWIG_fail;
279907  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279908  if (!SWIG_IsOK(res1)) {
279909  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_RemoveSynapse" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279910  }
279911  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279912  {
279913  std::string *ptr = (std::string *)0;
279914  int res = SWIG_AsPtr_std_string(obj1, &ptr);
279915  if (!SWIG_IsOK(res) || !ptr) {
279916  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Synapse_RemoveSynapse" "', argument " "2"" of type '" "std::string""'");
279917  }
279918  arg2 = *ptr;
279919  if (SWIG_IsNewObj(res)) delete ptr;
279920  }
279921  ecode3 = SWIG_AsVal_bool(obj2, &val3);
279922  if (!SWIG_IsOK(ecode3)) {
279923  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Synapse_RemoveSynapse" "', argument " "3"" of type '" "bool""'");
279924  }
279925  arg3 = static_cast< bool >(val3);
279926  {
279927  try {
279928  (arg1)->RemoveSynapse(arg2,arg3);
279929  }
279930  catch(CStdErrorInfo oError)
279931  {
279932  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279933  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279934  PyErr_SetString(PyExc_IndexError, strError.c_str());
279935  SWIG_fail;
279936  }
279937  catch(...)
279938  {
279939  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279940  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279941  SWIG_fail;
279942  }
279943  }
279944  resultobj = SWIG_Py_Void();
279945  return resultobj;
279946 fail:
279947  return NULL;
279948 }
279949 
279950 
279951 SWIGINTERN PyObject *_wrap_Synapse_RemoveSynapse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
279952  PyObject *resultobj = 0;
279954  std::string arg2 ;
279955  void *argp1 = 0 ;
279956  int res1 = 0 ;
279957  PyObject * obj0 = 0 ;
279958  PyObject * obj1 = 0 ;
279959 
279960  if (!PyArg_ParseTuple(args,(char *)"OO:Synapse_RemoveSynapse",&obj0,&obj1)) SWIG_fail;
279961  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
279962  if (!SWIG_IsOK(res1)) {
279963  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_RemoveSynapse" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
279964  }
279965  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
279966  {
279967  std::string *ptr = (std::string *)0;
279968  int res = SWIG_AsPtr_std_string(obj1, &ptr);
279969  if (!SWIG_IsOK(res) || !ptr) {
279970  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "Synapse_RemoveSynapse" "', argument " "2"" of type '" "std::string""'");
279971  }
279972  arg2 = *ptr;
279973  if (SWIG_IsNewObj(res)) delete ptr;
279974  }
279975  {
279976  try {
279977  (arg1)->RemoveSynapse(arg2);
279978  }
279979  catch(CStdErrorInfo oError)
279980  {
279981  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279982  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
279983  PyErr_SetString(PyExc_IndexError, strError.c_str());
279984  SWIG_fail;
279985  }
279986  catch(...)
279987  {
279988  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
279989  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
279990  SWIG_fail;
279991  }
279992  }
279993  resultobj = SWIG_Py_Void();
279994  return resultobj;
279995 fail:
279996  return NULL;
279997 }
279998 
279999 
280000 SWIGINTERN PyObject *_wrap_Synapse_RemoveSynapse(PyObject *self, PyObject *args) {
280001  int argc;
280002  PyObject *argv[4];
280003  int ii;
280004 
280005  if (!PyTuple_Check(args)) SWIG_fail;
280006  argc = args ? (int)PyObject_Length(args) : 0;
280007  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
280008  argv[ii] = PyTuple_GET_ITEM(args,ii);
280009  }
280010  if (argc == 2) {
280011  int _v;
280012  void *vptr = 0;
280013  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
280014  _v = SWIG_CheckState(res);
280015  if (_v) {
280016  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
280017  _v = SWIG_CheckState(res);
280018  if (_v) {
280019  return _wrap_Synapse_RemoveSynapse__SWIG_1(self, args);
280020  }
280021  }
280022  }
280023  if (argc == 3) {
280024  int _v;
280025  void *vptr = 0;
280026  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
280027  _v = SWIG_CheckState(res);
280028  if (_v) {
280029  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
280030  _v = SWIG_CheckState(res);
280031  if (_v) {
280032  {
280033  int res = SWIG_AsVal_bool(argv[2], NULL);
280034  _v = SWIG_CheckState(res);
280035  }
280036  if (_v) {
280037  return _wrap_Synapse_RemoveSynapse__SWIG_0(self, args);
280038  }
280039  }
280040  }
280041  }
280042 
280043 fail:
280044  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Synapse_RemoveSynapse'.\n"
280045  " Possible C/C++ prototypes are:\n"
280046  " FiringRateSim::Synapses::Synapse::RemoveSynapse(std::string,bool)\n"
280047  " FiringRateSim::Synapses::Synapse::RemoveSynapse(std::string)\n");
280048  return 0;
280049 }
280050 
280051 
280052 SWIGINTERN PyObject *_wrap_Synapse_Process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
280053  PyObject *resultobj = 0;
280055  float *arg2 = 0 ;
280056  void *argp1 = 0 ;
280057  int res1 = 0 ;
280058  void *argp2 = 0 ;
280059  int res2 = 0 ;
280060  PyObject * obj0 = 0 ;
280061  PyObject * obj1 = 0 ;
280062 
280063  if (!PyArg_ParseTuple(args,(char *)"OO:Synapse_Process",&obj0,&obj1)) SWIG_fail;
280064  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
280065  if (!SWIG_IsOK(res1)) {
280066  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_Process" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
280067  }
280068  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
280069  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 );
280070  if (!SWIG_IsOK(res2)) {
280071  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Synapse_Process" "', argument " "2"" of type '" "float &""'");
280072  }
280073  if (!argp2) {
280074  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_Process" "', argument " "2"" of type '" "float &""'");
280075  }
280076  arg2 = reinterpret_cast< float * >(argp2);
280077  {
280078  try {
280079  (arg1)->Process(*arg2);
280080  }
280081  catch(CStdErrorInfo oError)
280082  {
280083  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280084  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
280085  PyErr_SetString(PyExc_IndexError, strError.c_str());
280086  SWIG_fail;
280087  }
280088  catch(...)
280089  {
280090  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280091  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
280092  SWIG_fail;
280093  }
280094  }
280095  resultobj = SWIG_Py_Void();
280096  return resultobj;
280097 fail:
280098  return NULL;
280099 }
280100 
280101 
280102 SWIGINTERN PyObject *_wrap_Synapse_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
280103  PyObject *resultobj = 0;
280105  std::string *arg2 = 0 ;
280106  void *argp1 = 0 ;
280107  int res1 = 0 ;
280108  int res2 = SWIG_OLDOBJ ;
280109  PyObject * obj0 = 0 ;
280110  PyObject * obj1 = 0 ;
280111  float *result = 0 ;
280112 
280113  if (!PyArg_ParseTuple(args,(char *)"OO:Synapse_GetDataPointer",&obj0,&obj1)) SWIG_fail;
280114  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
280115  if (!SWIG_IsOK(res1)) {
280116  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_GetDataPointer" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
280117  }
280118  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
280119  {
280120  std::string *ptr = (std::string *)0;
280121  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
280122  if (!SWIG_IsOK(res2)) {
280123  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Synapse_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
280124  }
280125  if (!ptr) {
280126  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
280127  }
280128  arg2 = ptr;
280129  }
280130  {
280131  try {
280132  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
280133  }
280134  catch(CStdErrorInfo oError)
280135  {
280136  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280137  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
280138  PyErr_SetString(PyExc_IndexError, strError.c_str());
280139  SWIG_fail;
280140  }
280141  catch(...)
280142  {
280143  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280144  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
280145  SWIG_fail;
280146  }
280147  }
280148  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
280149  if (SWIG_IsNewObj(res2)) delete arg2;
280150  return resultobj;
280151 fail:
280152  if (SWIG_IsNewObj(res2)) delete arg2;
280153  return NULL;
280154 }
280155 
280156 
280157 SWIGINTERN PyObject *_wrap_Synapse_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
280158  PyObject *resultobj = 0;
280160  std::string *arg2 = 0 ;
280161  std::string *arg3 = 0 ;
280162  bool arg4 ;
280163  void *argp1 = 0 ;
280164  int res1 = 0 ;
280165  int res2 = SWIG_OLDOBJ ;
280166  int res3 = SWIG_OLDOBJ ;
280167  bool val4 ;
280168  int ecode4 = 0 ;
280169  PyObject * obj0 = 0 ;
280170  PyObject * obj1 = 0 ;
280171  PyObject * obj2 = 0 ;
280172  PyObject * obj3 = 0 ;
280173  bool result;
280174 
280175  if (!PyArg_ParseTuple(args,(char *)"OOOO:Synapse_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
280176  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
280177  if (!SWIG_IsOK(res1)) {
280178  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_SetData" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
280179  }
280180  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
280181  {
280182  std::string *ptr = (std::string *)0;
280183  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
280184  if (!SWIG_IsOK(res2)) {
280185  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Synapse_SetData" "', argument " "2"" of type '" "std::string const &""'");
280186  }
280187  if (!ptr) {
280188  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_SetData" "', argument " "2"" of type '" "std::string const &""'");
280189  }
280190  arg2 = ptr;
280191  }
280192  {
280193  std::string *ptr = (std::string *)0;
280194  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
280195  if (!SWIG_IsOK(res3)) {
280196  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Synapse_SetData" "', argument " "3"" of type '" "std::string const &""'");
280197  }
280198  if (!ptr) {
280199  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_SetData" "', argument " "3"" of type '" "std::string const &""'");
280200  }
280201  arg3 = ptr;
280202  }
280203  ecode4 = SWIG_AsVal_bool(obj3, &val4);
280204  if (!SWIG_IsOK(ecode4)) {
280205  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Synapse_SetData" "', argument " "4"" of type '" "bool""'");
280206  }
280207  arg4 = static_cast< bool >(val4);
280208  {
280209  try {
280210  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
280211  }
280212  catch(CStdErrorInfo oError)
280213  {
280214  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280215  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
280216  PyErr_SetString(PyExc_IndexError, strError.c_str());
280217  SWIG_fail;
280218  }
280219  catch(...)
280220  {
280221  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280222  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
280223  SWIG_fail;
280224  }
280225  }
280226  resultobj = SWIG_From_bool(static_cast< bool >(result));
280227  if (SWIG_IsNewObj(res2)) delete arg2;
280228  if (SWIG_IsNewObj(res3)) delete arg3;
280229  return resultobj;
280230 fail:
280231  if (SWIG_IsNewObj(res2)) delete arg2;
280232  if (SWIG_IsNewObj(res3)) delete arg3;
280233  return NULL;
280234 }
280235 
280236 
280237 SWIGINTERN PyObject *_wrap_Synapse_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
280238  PyObject *resultobj = 0;
280240  std::string *arg2 = 0 ;
280241  std::string *arg3 = 0 ;
280242  void *argp1 = 0 ;
280243  int res1 = 0 ;
280244  int res2 = SWIG_OLDOBJ ;
280245  int res3 = SWIG_OLDOBJ ;
280246  PyObject * obj0 = 0 ;
280247  PyObject * obj1 = 0 ;
280248  PyObject * obj2 = 0 ;
280249  bool result;
280250 
280251  if (!PyArg_ParseTuple(args,(char *)"OOO:Synapse_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
280252  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
280253  if (!SWIG_IsOK(res1)) {
280254  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_SetData" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
280255  }
280256  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
280257  {
280258  std::string *ptr = (std::string *)0;
280259  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
280260  if (!SWIG_IsOK(res2)) {
280261  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Synapse_SetData" "', argument " "2"" of type '" "std::string const &""'");
280262  }
280263  if (!ptr) {
280264  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_SetData" "', argument " "2"" of type '" "std::string const &""'");
280265  }
280266  arg2 = ptr;
280267  }
280268  {
280269  std::string *ptr = (std::string *)0;
280270  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
280271  if (!SWIG_IsOK(res3)) {
280272  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Synapse_SetData" "', argument " "3"" of type '" "std::string const &""'");
280273  }
280274  if (!ptr) {
280275  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_SetData" "', argument " "3"" of type '" "std::string const &""'");
280276  }
280277  arg3 = ptr;
280278  }
280279  {
280280  try {
280281  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
280282  }
280283  catch(CStdErrorInfo oError)
280284  {
280285  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280286  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
280287  PyErr_SetString(PyExc_IndexError, strError.c_str());
280288  SWIG_fail;
280289  }
280290  catch(...)
280291  {
280292  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280293  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
280294  SWIG_fail;
280295  }
280296  }
280297  resultobj = SWIG_From_bool(static_cast< bool >(result));
280298  if (SWIG_IsNewObj(res2)) delete arg2;
280299  if (SWIG_IsNewObj(res3)) delete arg3;
280300  return resultobj;
280301 fail:
280302  if (SWIG_IsNewObj(res2)) delete arg2;
280303  if (SWIG_IsNewObj(res3)) delete arg3;
280304  return NULL;
280305 }
280306 
280307 
280308 SWIGINTERN PyObject *_wrap_Synapse_SetData(PyObject *self, PyObject *args) {
280309  int argc;
280310  PyObject *argv[5];
280311  int ii;
280312 
280313  if (!PyTuple_Check(args)) SWIG_fail;
280314  argc = args ? (int)PyObject_Length(args) : 0;
280315  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
280316  argv[ii] = PyTuple_GET_ITEM(args,ii);
280317  }
280318  if (argc == 3) {
280319  int _v;
280320  void *vptr = 0;
280321  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
280322  _v = SWIG_CheckState(res);
280323  if (_v) {
280324  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
280325  _v = SWIG_CheckState(res);
280326  if (_v) {
280327  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
280328  _v = SWIG_CheckState(res);
280329  if (_v) {
280330  return _wrap_Synapse_SetData__SWIG_1(self, args);
280331  }
280332  }
280333  }
280334  }
280335  if (argc == 4) {
280336  int _v;
280337  void *vptr = 0;
280338  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
280339  _v = SWIG_CheckState(res);
280340  if (_v) {
280341  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
280342  _v = SWIG_CheckState(res);
280343  if (_v) {
280344  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
280345  _v = SWIG_CheckState(res);
280346  if (_v) {
280347  {
280348  int res = SWIG_AsVal_bool(argv[3], NULL);
280349  _v = SWIG_CheckState(res);
280350  }
280351  if (_v) {
280352  return _wrap_Synapse_SetData__SWIG_0(self, args);
280353  }
280354  }
280355  }
280356  }
280357  }
280358 
280359 fail:
280360  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Synapse_SetData'.\n"
280361  " Possible C/C++ prototypes are:\n"
280362  " FiringRateSim::Synapses::Synapse::SetData(std::string const &,std::string const &,bool)\n"
280363  " FiringRateSim::Synapses::Synapse::SetData(std::string const &,std::string const &)\n");
280364  return 0;
280365 }
280366 
280367 
280368 SWIGINTERN PyObject *_wrap_Synapse_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
280369  PyObject *resultobj = 0;
280371  CStdPtrArray< TypeProperty > *arg2 = 0 ;
280372  void *argp1 = 0 ;
280373  int res1 = 0 ;
280374  void *argp2 = 0 ;
280375  int res2 = 0 ;
280376  PyObject * obj0 = 0 ;
280377  PyObject * obj1 = 0 ;
280378 
280379  if (!PyArg_ParseTuple(args,(char *)"OO:Synapse_QueryProperties",&obj0,&obj1)) SWIG_fail;
280380  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
280381  if (!SWIG_IsOK(res1)) {
280382  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_QueryProperties" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
280383  }
280384  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
280385  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
280386  if (!SWIG_IsOK(res2)) {
280387  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Synapse_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
280388  }
280389  if (!argp2) {
280390  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
280391  }
280392  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
280393  {
280394  try {
280395  (arg1)->QueryProperties(*arg2);
280396  }
280397  catch(CStdErrorInfo oError)
280398  {
280399  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280400  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
280401  PyErr_SetString(PyExc_IndexError, strError.c_str());
280402  SWIG_fail;
280403  }
280404  catch(...)
280405  {
280406  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280407  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
280408  SWIG_fail;
280409  }
280410  }
280411  resultobj = SWIG_Py_Void();
280412  return resultobj;
280413 fail:
280414  return NULL;
280415 }
280416 
280417 
280418 SWIGINTERN PyObject *_wrap_Synapse_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
280419  PyObject *resultobj = 0;
280421  std::string *arg2 = 0 ;
280422  std::string *arg3 = 0 ;
280423  bool arg4 ;
280424  bool arg5 ;
280425  void *argp1 = 0 ;
280426  int res1 = 0 ;
280427  int res2 = SWIG_OLDOBJ ;
280428  int res3 = SWIG_OLDOBJ ;
280429  bool val4 ;
280430  int ecode4 = 0 ;
280431  bool val5 ;
280432  int ecode5 = 0 ;
280433  PyObject * obj0 = 0 ;
280434  PyObject * obj1 = 0 ;
280435  PyObject * obj2 = 0 ;
280436  PyObject * obj3 = 0 ;
280437  PyObject * obj4 = 0 ;
280438  bool result;
280439 
280440  if (!PyArg_ParseTuple(args,(char *)"OOOOO:Synapse_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
280441  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
280442  if (!SWIG_IsOK(res1)) {
280443  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_AddItem" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
280444  }
280445  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
280446  {
280447  std::string *ptr = (std::string *)0;
280448  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
280449  if (!SWIG_IsOK(res2)) {
280450  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Synapse_AddItem" "', argument " "2"" of type '" "std::string const &""'");
280451  }
280452  if (!ptr) {
280453  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_AddItem" "', argument " "2"" of type '" "std::string const &""'");
280454  }
280455  arg2 = ptr;
280456  }
280457  {
280458  std::string *ptr = (std::string *)0;
280459  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
280460  if (!SWIG_IsOK(res3)) {
280461  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Synapse_AddItem" "', argument " "3"" of type '" "std::string const &""'");
280462  }
280463  if (!ptr) {
280464  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_AddItem" "', argument " "3"" of type '" "std::string const &""'");
280465  }
280466  arg3 = ptr;
280467  }
280468  ecode4 = SWIG_AsVal_bool(obj3, &val4);
280469  if (!SWIG_IsOK(ecode4)) {
280470  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Synapse_AddItem" "', argument " "4"" of type '" "bool""'");
280471  }
280472  arg4 = static_cast< bool >(val4);
280473  ecode5 = SWIG_AsVal_bool(obj4, &val5);
280474  if (!SWIG_IsOK(ecode5)) {
280475  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Synapse_AddItem" "', argument " "5"" of type '" "bool""'");
280476  }
280477  arg5 = static_cast< bool >(val5);
280478  {
280479  try {
280480  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
280481  }
280482  catch(CStdErrorInfo oError)
280483  {
280484  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280485  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
280486  PyErr_SetString(PyExc_IndexError, strError.c_str());
280487  SWIG_fail;
280488  }
280489  catch(...)
280490  {
280491  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280492  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
280493  SWIG_fail;
280494  }
280495  }
280496  resultobj = SWIG_From_bool(static_cast< bool >(result));
280497  if (SWIG_IsNewObj(res2)) delete arg2;
280498  if (SWIG_IsNewObj(res3)) delete arg3;
280499  return resultobj;
280500 fail:
280501  if (SWIG_IsNewObj(res2)) delete arg2;
280502  if (SWIG_IsNewObj(res3)) delete arg3;
280503  return NULL;
280504 }
280505 
280506 
280507 SWIGINTERN PyObject *_wrap_Synapse_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
280508  PyObject *resultobj = 0;
280510  std::string *arg2 = 0 ;
280511  std::string *arg3 = 0 ;
280512  bool arg4 ;
280513  void *argp1 = 0 ;
280514  int res1 = 0 ;
280515  int res2 = SWIG_OLDOBJ ;
280516  int res3 = SWIG_OLDOBJ ;
280517  bool val4 ;
280518  int ecode4 = 0 ;
280519  PyObject * obj0 = 0 ;
280520  PyObject * obj1 = 0 ;
280521  PyObject * obj2 = 0 ;
280522  PyObject * obj3 = 0 ;
280523  bool result;
280524 
280525  if (!PyArg_ParseTuple(args,(char *)"OOOO:Synapse_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
280526  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
280527  if (!SWIG_IsOK(res1)) {
280528  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_AddItem" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
280529  }
280530  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
280531  {
280532  std::string *ptr = (std::string *)0;
280533  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
280534  if (!SWIG_IsOK(res2)) {
280535  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Synapse_AddItem" "', argument " "2"" of type '" "std::string const &""'");
280536  }
280537  if (!ptr) {
280538  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_AddItem" "', argument " "2"" of type '" "std::string const &""'");
280539  }
280540  arg2 = ptr;
280541  }
280542  {
280543  std::string *ptr = (std::string *)0;
280544  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
280545  if (!SWIG_IsOK(res3)) {
280546  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Synapse_AddItem" "', argument " "3"" of type '" "std::string const &""'");
280547  }
280548  if (!ptr) {
280549  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_AddItem" "', argument " "3"" of type '" "std::string const &""'");
280550  }
280551  arg3 = ptr;
280552  }
280553  ecode4 = SWIG_AsVal_bool(obj3, &val4);
280554  if (!SWIG_IsOK(ecode4)) {
280555  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Synapse_AddItem" "', argument " "4"" of type '" "bool""'");
280556  }
280557  arg4 = static_cast< bool >(val4);
280558  {
280559  try {
280560  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
280561  }
280562  catch(CStdErrorInfo oError)
280563  {
280564  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280565  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
280566  PyErr_SetString(PyExc_IndexError, strError.c_str());
280567  SWIG_fail;
280568  }
280569  catch(...)
280570  {
280571  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280572  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
280573  SWIG_fail;
280574  }
280575  }
280576  resultobj = SWIG_From_bool(static_cast< bool >(result));
280577  if (SWIG_IsNewObj(res2)) delete arg2;
280578  if (SWIG_IsNewObj(res3)) delete arg3;
280579  return resultobj;
280580 fail:
280581  if (SWIG_IsNewObj(res2)) delete arg2;
280582  if (SWIG_IsNewObj(res3)) delete arg3;
280583  return NULL;
280584 }
280585 
280586 
280587 SWIGINTERN PyObject *_wrap_Synapse_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
280588  PyObject *resultobj = 0;
280590  std::string *arg2 = 0 ;
280591  std::string *arg3 = 0 ;
280592  void *argp1 = 0 ;
280593  int res1 = 0 ;
280594  int res2 = SWIG_OLDOBJ ;
280595  int res3 = SWIG_OLDOBJ ;
280596  PyObject * obj0 = 0 ;
280597  PyObject * obj1 = 0 ;
280598  PyObject * obj2 = 0 ;
280599  bool result;
280600 
280601  if (!PyArg_ParseTuple(args,(char *)"OOO:Synapse_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
280602  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
280603  if (!SWIG_IsOK(res1)) {
280604  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_AddItem" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
280605  }
280606  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
280607  {
280608  std::string *ptr = (std::string *)0;
280609  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
280610  if (!SWIG_IsOK(res2)) {
280611  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Synapse_AddItem" "', argument " "2"" of type '" "std::string const &""'");
280612  }
280613  if (!ptr) {
280614  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_AddItem" "', argument " "2"" of type '" "std::string const &""'");
280615  }
280616  arg2 = ptr;
280617  }
280618  {
280619  std::string *ptr = (std::string *)0;
280620  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
280621  if (!SWIG_IsOK(res3)) {
280622  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Synapse_AddItem" "', argument " "3"" of type '" "std::string const &""'");
280623  }
280624  if (!ptr) {
280625  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_AddItem" "', argument " "3"" of type '" "std::string const &""'");
280626  }
280627  arg3 = ptr;
280628  }
280629  {
280630  try {
280631  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
280632  }
280633  catch(CStdErrorInfo oError)
280634  {
280635  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280636  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
280637  PyErr_SetString(PyExc_IndexError, strError.c_str());
280638  SWIG_fail;
280639  }
280640  catch(...)
280641  {
280642  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280643  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
280644  SWIG_fail;
280645  }
280646  }
280647  resultobj = SWIG_From_bool(static_cast< bool >(result));
280648  if (SWIG_IsNewObj(res2)) delete arg2;
280649  if (SWIG_IsNewObj(res3)) delete arg3;
280650  return resultobj;
280651 fail:
280652  if (SWIG_IsNewObj(res2)) delete arg2;
280653  if (SWIG_IsNewObj(res3)) delete arg3;
280654  return NULL;
280655 }
280656 
280657 
280658 SWIGINTERN PyObject *_wrap_Synapse_AddItem(PyObject *self, PyObject *args) {
280659  int argc;
280660  PyObject *argv[6];
280661  int ii;
280662 
280663  if (!PyTuple_Check(args)) SWIG_fail;
280664  argc = args ? (int)PyObject_Length(args) : 0;
280665  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
280666  argv[ii] = PyTuple_GET_ITEM(args,ii);
280667  }
280668  if (argc == 3) {
280669  int _v;
280670  void *vptr = 0;
280671  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
280672  _v = SWIG_CheckState(res);
280673  if (_v) {
280674  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
280675  _v = SWIG_CheckState(res);
280676  if (_v) {
280677  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
280678  _v = SWIG_CheckState(res);
280679  if (_v) {
280680  return _wrap_Synapse_AddItem__SWIG_2(self, args);
280681  }
280682  }
280683  }
280684  }
280685  if (argc == 4) {
280686  int _v;
280687  void *vptr = 0;
280688  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
280689  _v = SWIG_CheckState(res);
280690  if (_v) {
280691  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
280692  _v = SWIG_CheckState(res);
280693  if (_v) {
280694  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
280695  _v = SWIG_CheckState(res);
280696  if (_v) {
280697  {
280698  int res = SWIG_AsVal_bool(argv[3], NULL);
280699  _v = SWIG_CheckState(res);
280700  }
280701  if (_v) {
280702  return _wrap_Synapse_AddItem__SWIG_1(self, args);
280703  }
280704  }
280705  }
280706  }
280707  }
280708  if (argc == 5) {
280709  int _v;
280710  void *vptr = 0;
280711  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
280712  _v = SWIG_CheckState(res);
280713  if (_v) {
280714  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
280715  _v = SWIG_CheckState(res);
280716  if (_v) {
280717  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
280718  _v = SWIG_CheckState(res);
280719  if (_v) {
280720  {
280721  int res = SWIG_AsVal_bool(argv[3], NULL);
280722  _v = SWIG_CheckState(res);
280723  }
280724  if (_v) {
280725  {
280726  int res = SWIG_AsVal_bool(argv[4], NULL);
280727  _v = SWIG_CheckState(res);
280728  }
280729  if (_v) {
280730  return _wrap_Synapse_AddItem__SWIG_0(self, args);
280731  }
280732  }
280733  }
280734  }
280735  }
280736  }
280737 
280738 fail:
280739  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Synapse_AddItem'.\n"
280740  " Possible C/C++ prototypes are:\n"
280741  " FiringRateSim::Synapses::Synapse::AddItem(std::string const &,std::string const &,bool,bool)\n"
280742  " FiringRateSim::Synapses::Synapse::AddItem(std::string const &,std::string const &,bool)\n"
280743  " FiringRateSim::Synapses::Synapse::AddItem(std::string const &,std::string const &)\n");
280744  return 0;
280745 }
280746 
280747 
280748 SWIGINTERN PyObject *_wrap_Synapse_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
280749  PyObject *resultobj = 0;
280751  std::string *arg2 = 0 ;
280752  std::string *arg3 = 0 ;
280753  bool arg4 ;
280754  void *argp1 = 0 ;
280755  int res1 = 0 ;
280756  int res2 = SWIG_OLDOBJ ;
280757  int res3 = SWIG_OLDOBJ ;
280758  bool val4 ;
280759  int ecode4 = 0 ;
280760  PyObject * obj0 = 0 ;
280761  PyObject * obj1 = 0 ;
280762  PyObject * obj2 = 0 ;
280763  PyObject * obj3 = 0 ;
280764  bool result;
280765 
280766  if (!PyArg_ParseTuple(args,(char *)"OOOO:Synapse_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
280767  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
280768  if (!SWIG_IsOK(res1)) {
280769  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_RemoveItem" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
280770  }
280771  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
280772  {
280773  std::string *ptr = (std::string *)0;
280774  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
280775  if (!SWIG_IsOK(res2)) {
280776  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Synapse_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
280777  }
280778  if (!ptr) {
280779  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
280780  }
280781  arg2 = ptr;
280782  }
280783  {
280784  std::string *ptr = (std::string *)0;
280785  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
280786  if (!SWIG_IsOK(res3)) {
280787  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Synapse_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
280788  }
280789  if (!ptr) {
280790  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
280791  }
280792  arg3 = ptr;
280793  }
280794  ecode4 = SWIG_AsVal_bool(obj3, &val4);
280795  if (!SWIG_IsOK(ecode4)) {
280796  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Synapse_RemoveItem" "', argument " "4"" of type '" "bool""'");
280797  }
280798  arg4 = static_cast< bool >(val4);
280799  {
280800  try {
280801  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
280802  }
280803  catch(CStdErrorInfo oError)
280804  {
280805  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280806  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
280807  PyErr_SetString(PyExc_IndexError, strError.c_str());
280808  SWIG_fail;
280809  }
280810  catch(...)
280811  {
280812  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280813  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
280814  SWIG_fail;
280815  }
280816  }
280817  resultobj = SWIG_From_bool(static_cast< bool >(result));
280818  if (SWIG_IsNewObj(res2)) delete arg2;
280819  if (SWIG_IsNewObj(res3)) delete arg3;
280820  return resultobj;
280821 fail:
280822  if (SWIG_IsNewObj(res2)) delete arg2;
280823  if (SWIG_IsNewObj(res3)) delete arg3;
280824  return NULL;
280825 }
280826 
280827 
280828 SWIGINTERN PyObject *_wrap_Synapse_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
280829  PyObject *resultobj = 0;
280831  std::string *arg2 = 0 ;
280832  std::string *arg3 = 0 ;
280833  void *argp1 = 0 ;
280834  int res1 = 0 ;
280835  int res2 = SWIG_OLDOBJ ;
280836  int res3 = SWIG_OLDOBJ ;
280837  PyObject * obj0 = 0 ;
280838  PyObject * obj1 = 0 ;
280839  PyObject * obj2 = 0 ;
280840  bool result;
280841 
280842  if (!PyArg_ParseTuple(args,(char *)"OOO:Synapse_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
280843  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
280844  if (!SWIG_IsOK(res1)) {
280845  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_RemoveItem" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
280846  }
280847  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
280848  {
280849  std::string *ptr = (std::string *)0;
280850  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
280851  if (!SWIG_IsOK(res2)) {
280852  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Synapse_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
280853  }
280854  if (!ptr) {
280855  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
280856  }
280857  arg2 = ptr;
280858  }
280859  {
280860  std::string *ptr = (std::string *)0;
280861  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
280862  if (!SWIG_IsOK(res3)) {
280863  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Synapse_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
280864  }
280865  if (!ptr) {
280866  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
280867  }
280868  arg3 = ptr;
280869  }
280870  {
280871  try {
280872  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
280873  }
280874  catch(CStdErrorInfo oError)
280875  {
280876  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280877  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
280878  PyErr_SetString(PyExc_IndexError, strError.c_str());
280879  SWIG_fail;
280880  }
280881  catch(...)
280882  {
280883  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
280884  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
280885  SWIG_fail;
280886  }
280887  }
280888  resultobj = SWIG_From_bool(static_cast< bool >(result));
280889  if (SWIG_IsNewObj(res2)) delete arg2;
280890  if (SWIG_IsNewObj(res3)) delete arg3;
280891  return resultobj;
280892 fail:
280893  if (SWIG_IsNewObj(res2)) delete arg2;
280894  if (SWIG_IsNewObj(res3)) delete arg3;
280895  return NULL;
280896 }
280897 
280898 
280899 SWIGINTERN PyObject *_wrap_Synapse_RemoveItem(PyObject *self, PyObject *args) {
280900  int argc;
280901  PyObject *argv[5];
280902  int ii;
280903 
280904  if (!PyTuple_Check(args)) SWIG_fail;
280905  argc = args ? (int)PyObject_Length(args) : 0;
280906  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
280907  argv[ii] = PyTuple_GET_ITEM(args,ii);
280908  }
280909  if (argc == 3) {
280910  int _v;
280911  void *vptr = 0;
280912  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
280913  _v = SWIG_CheckState(res);
280914  if (_v) {
280915  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
280916  _v = SWIG_CheckState(res);
280917  if (_v) {
280918  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
280919  _v = SWIG_CheckState(res);
280920  if (_v) {
280921  return _wrap_Synapse_RemoveItem__SWIG_1(self, args);
280922  }
280923  }
280924  }
280925  }
280926  if (argc == 4) {
280927  int _v;
280928  void *vptr = 0;
280929  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0);
280930  _v = SWIG_CheckState(res);
280931  if (_v) {
280932  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
280933  _v = SWIG_CheckState(res);
280934  if (_v) {
280935  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
280936  _v = SWIG_CheckState(res);
280937  if (_v) {
280938  {
280939  int res = SWIG_AsVal_bool(argv[3], NULL);
280940  _v = SWIG_CheckState(res);
280941  }
280942  if (_v) {
280943  return _wrap_Synapse_RemoveItem__SWIG_0(self, args);
280944  }
280945  }
280946  }
280947  }
280948  }
280949 
280950 fail:
280951  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Synapse_RemoveItem'.\n"
280952  " Possible C/C++ prototypes are:\n"
280953  " FiringRateSim::Synapses::Synapse::RemoveItem(std::string const &,std::string const &,bool)\n"
280954  " FiringRateSim::Synapses::Synapse::RemoveItem(std::string const &,std::string const &)\n");
280955  return 0;
280956 }
280957 
280958 
280959 SWIGINTERN PyObject *_wrap_Synapse_SetSystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
280960  PyObject *resultobj = 0;
280962  Simulator *arg2 = (Simulator *) 0 ;
280963  Structure *arg3 = (Structure *) 0 ;
280964  NeuralModule *arg4 = (NeuralModule *) 0 ;
280965  Node *arg5 = (Node *) 0 ;
280966  bool arg6 ;
280967  void *argp1 = 0 ;
280968  int res1 = 0 ;
280969  void *argp2 = 0 ;
280970  int res2 = 0 ;
280971  void *argp3 = 0 ;
280972  int res3 = 0 ;
280973  void *argp4 = 0 ;
280974  int res4 = 0 ;
280975  void *argp5 = 0 ;
280976  int res5 = 0 ;
280977  bool val6 ;
280978  int ecode6 = 0 ;
280979  PyObject * obj0 = 0 ;
280980  PyObject * obj1 = 0 ;
280981  PyObject * obj2 = 0 ;
280982  PyObject * obj3 = 0 ;
280983  PyObject * obj4 = 0 ;
280984  PyObject * obj5 = 0 ;
280985 
280986  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:Synapse_SetSystemPointers",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
280987  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
280988  if (!SWIG_IsOK(res1)) {
280989  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_SetSystemPointers" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
280990  }
280991  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
280992  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Simulator, 0 | 0 );
280993  if (!SWIG_IsOK(res2)) {
280994  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Synapse_SetSystemPointers" "', argument " "2"" of type '" "Simulator *""'");
280995  }
280996  arg2 = reinterpret_cast< Simulator * >(argp2);
280997  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_Structure, 0 | 0 );
280998  if (!SWIG_IsOK(res3)) {
280999  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Synapse_SetSystemPointers" "', argument " "3"" of type '" "Structure *""'");
281000  }
281001  arg3 = reinterpret_cast< Structure * >(argp3);
281002  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_NeuralModule, 0 | 0 );
281003  if (!SWIG_IsOK(res4)) {
281004  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Synapse_SetSystemPointers" "', argument " "4"" of type '" "NeuralModule *""'");
281005  }
281006  arg4 = reinterpret_cast< NeuralModule * >(argp4);
281007  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_Node, 0 | 0 );
281008  if (!SWIG_IsOK(res5)) {
281009  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Synapse_SetSystemPointers" "', argument " "5"" of type '" "Node *""'");
281010  }
281011  arg5 = reinterpret_cast< Node * >(argp5);
281012  ecode6 = SWIG_AsVal_bool(obj5, &val6);
281013  if (!SWIG_IsOK(ecode6)) {
281014  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Synapse_SetSystemPointers" "', argument " "6"" of type '" "bool""'");
281015  }
281016  arg6 = static_cast< bool >(val6);
281017  {
281018  try {
281019  (arg1)->SetSystemPointers(arg2,arg3,arg4,arg5,arg6);
281020  }
281021  catch(CStdErrorInfo oError)
281022  {
281023  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281024  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281025  PyErr_SetString(PyExc_IndexError, strError.c_str());
281026  SWIG_fail;
281027  }
281028  catch(...)
281029  {
281030  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281031  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281032  SWIG_fail;
281033  }
281034  }
281035  resultobj = SWIG_Py_Void();
281036  return resultobj;
281037 fail:
281038  return NULL;
281039 }
281040 
281041 
281042 SWIGINTERN PyObject *_wrap_Synapse_VerifySystemPointers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281043  PyObject *resultobj = 0;
281045  void *argp1 = 0 ;
281046  int res1 = 0 ;
281047  PyObject * obj0 = 0 ;
281048 
281049  if (!PyArg_ParseTuple(args,(char *)"O:Synapse_VerifySystemPointers",&obj0)) SWIG_fail;
281050  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
281051  if (!SWIG_IsOK(res1)) {
281052  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_VerifySystemPointers" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
281053  }
281054  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
281055  {
281056  try {
281057  (arg1)->VerifySystemPointers();
281058  }
281059  catch(CStdErrorInfo oError)
281060  {
281061  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281062  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281063  PyErr_SetString(PyExc_IndexError, strError.c_str());
281064  SWIG_fail;
281065  }
281066  catch(...)
281067  {
281068  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281069  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281070  SWIG_fail;
281071  }
281072  }
281073  resultobj = SWIG_Py_Void();
281074  return resultobj;
281075 fail:
281076  return NULL;
281077 }
281078 
281079 
281080 SWIGINTERN PyObject *_wrap_Synapse_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281081  PyObject *resultobj = 0;
281083  void *argp1 = 0 ;
281084  int res1 = 0 ;
281085  PyObject * obj0 = 0 ;
281086 
281087  if (!PyArg_ParseTuple(args,(char *)"O:Synapse_ResetSimulation",&obj0)) SWIG_fail;
281088  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
281089  if (!SWIG_IsOK(res1)) {
281090  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_ResetSimulation" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
281091  }
281092  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
281093  {
281094  try {
281095  (arg1)->ResetSimulation();
281096  }
281097  catch(CStdErrorInfo oError)
281098  {
281099  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281100  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281101  PyErr_SetString(PyExc_IndexError, strError.c_str());
281102  SWIG_fail;
281103  }
281104  catch(...)
281105  {
281106  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281107  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281108  SWIG_fail;
281109  }
281110  }
281111  resultobj = SWIG_Py_Void();
281112  return resultobj;
281113 fail:
281114  return NULL;
281115 }
281116 
281117 
281118 SWIGINTERN PyObject *_wrap_Synapse_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281119  PyObject *resultobj = 0;
281121  void *argp1 = 0 ;
281122  int res1 = 0 ;
281123  PyObject * obj0 = 0 ;
281124 
281125  if (!PyArg_ParseTuple(args,(char *)"O:Synapse_Initialize",&obj0)) SWIG_fail;
281126  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
281127  if (!SWIG_IsOK(res1)) {
281128  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_Initialize" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
281129  }
281130  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
281131  {
281132  try {
281133  (arg1)->Initialize();
281134  }
281135  catch(CStdErrorInfo oError)
281136  {
281137  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281138  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281139  PyErr_SetString(PyExc_IndexError, strError.c_str());
281140  SWIG_fail;
281141  }
281142  catch(...)
281143  {
281144  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281145  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281146  SWIG_fail;
281147  }
281148  }
281149  resultobj = SWIG_Py_Void();
281150  return resultobj;
281151 fail:
281152  return NULL;
281153 }
281154 
281155 
281156 SWIGINTERN PyObject *_wrap_Synapse_TimeStepModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281157  PyObject *resultobj = 0;
281159  void *argp1 = 0 ;
281160  int res1 = 0 ;
281161  PyObject * obj0 = 0 ;
281162 
281163  if (!PyArg_ParseTuple(args,(char *)"O:Synapse_TimeStepModified",&obj0)) SWIG_fail;
281164  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
281165  if (!SWIG_IsOK(res1)) {
281166  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_TimeStepModified" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
281167  }
281168  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
281169  {
281170  try {
281171  (arg1)->TimeStepModified();
281172  }
281173  catch(CStdErrorInfo oError)
281174  {
281175  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281176  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281177  PyErr_SetString(PyExc_IndexError, strError.c_str());
281178  SWIG_fail;
281179  }
281180  catch(...)
281181  {
281182  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281183  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281184  SWIG_fail;
281185  }
281186  }
281187  resultobj = SWIG_Py_Void();
281188  return resultobj;
281189 fail:
281190  return NULL;
281191 }
281192 
281193 
281194 SWIGINTERN PyObject *_wrap_Synapse_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281195  PyObject *resultobj = 0;
281197  StdUtils::CStdXml *arg2 = 0 ;
281198  void *argp1 = 0 ;
281199  int res1 = 0 ;
281200  void *argp2 = 0 ;
281201  int res2 = 0 ;
281202  PyObject * obj0 = 0 ;
281203  PyObject * obj1 = 0 ;
281204 
281205  if (!PyArg_ParseTuple(args,(char *)"OO:Synapse_Load",&obj0,&obj1)) SWIG_fail;
281206  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__Synapse, 0 | 0 );
281207  if (!SWIG_IsOK(res1)) {
281208  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Synapse_Load" "', argument " "1"" of type '" "FiringRateSim::Synapses::Synapse *""'");
281209  }
281210  arg1 = reinterpret_cast< FiringRateSim::Synapses::Synapse * >(argp1);
281211  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
281212  if (!SWIG_IsOK(res2)) {
281213  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Synapse_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
281214  }
281215  if (!argp2) {
281216  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Synapse_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
281217  }
281218  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
281219  {
281220  try {
281221  (arg1)->Load(*arg2);
281222  }
281223  catch(CStdErrorInfo oError)
281224  {
281225  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281226  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281227  PyErr_SetString(PyExc_IndexError, strError.c_str());
281228  SWIG_fail;
281229  }
281230  catch(...)
281231  {
281232  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281233  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281234  SWIG_fail;
281235  }
281236  }
281237  resultobj = SWIG_Py_Void();
281238  return resultobj;
281239 fail:
281240  return NULL;
281241 }
281242 
281243 
281244 SWIGINTERN PyObject *Synapse_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281245  PyObject *obj;
281246  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
281247  SWIG_TypeNewClientData(SWIGTYPE_p_FiringRateSim__Synapses__Synapse, SWIG_NewClientData(obj));
281248  return SWIG_Py_Void();
281249 }
281250 
281251 SWIGINTERN PyObject *_wrap_new_PacemakerNeuron(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281252  PyObject *resultobj = 0;
281254 
281255  if (!PyArg_ParseTuple(args,(char *)":new_PacemakerNeuron")) SWIG_fail;
281256  {
281257  try {
281259  }
281260  catch(CStdErrorInfo oError)
281261  {
281262  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281263  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281264  PyErr_SetString(PyExc_IndexError, strError.c_str());
281265  SWIG_fail;
281266  }
281267  catch(...)
281268  {
281269  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281270  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281271  SWIG_fail;
281272  }
281273  }
281274  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, SWIG_POINTER_NEW | 0 );
281275  return resultobj;
281276 fail:
281277  return NULL;
281278 }
281279 
281280 
281281 SWIGINTERN PyObject *_wrap_delete_PacemakerNeuron(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281282  PyObject *resultobj = 0;
281284  void *argp1 = 0 ;
281285  int res1 = 0 ;
281286  PyObject * obj0 = 0 ;
281287 
281288  if (!PyArg_ParseTuple(args,(char *)"O:delete_PacemakerNeuron",&obj0)) SWIG_fail;
281289  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, SWIG_POINTER_DISOWN | 0 );
281290  if (!SWIG_IsOK(res1)) {
281291  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PacemakerNeuron" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
281292  }
281293  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
281294  {
281295  try {
281296  delete arg1;
281297  }
281298  catch(CStdErrorInfo oError)
281299  {
281300  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281301  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281302  PyErr_SetString(PyExc_IndexError, strError.c_str());
281303  SWIG_fail;
281304  }
281305  catch(...)
281306  {
281307  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281308  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281309  SWIG_fail;
281310  }
281311  }
281312  resultobj = SWIG_Py_Void();
281313  return resultobj;
281314 fail:
281315  return NULL;
281316 }
281317 
281318 
281319 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Il__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281320  PyObject *resultobj = 0;
281322  void *argp1 = 0 ;
281323  int res1 = 0 ;
281324  PyObject * obj0 = 0 ;
281325  float result;
281326 
281327  if (!PyArg_ParseTuple(args,(char *)"O:PacemakerNeuron_Il",&obj0)) SWIG_fail;
281328  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
281329  if (!SWIG_IsOK(res1)) {
281330  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_Il" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
281331  }
281332  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
281333  {
281334  try {
281335  result = (float)(arg1)->Il();
281336  }
281337  catch(CStdErrorInfo oError)
281338  {
281339  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281340  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281341  PyErr_SetString(PyExc_IndexError, strError.c_str());
281342  SWIG_fail;
281343  }
281344  catch(...)
281345  {
281346  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281347  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281348  SWIG_fail;
281349  }
281350  }
281351  resultobj = SWIG_From_float(static_cast< float >(result));
281352  return resultobj;
281353 fail:
281354  return NULL;
281355 }
281356 
281357 
281358 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Il__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281359  PyObject *resultobj = 0;
281361  float arg2 ;
281362  void *argp1 = 0 ;
281363  int res1 = 0 ;
281364  float val2 ;
281365  int ecode2 = 0 ;
281366  PyObject * obj0 = 0 ;
281367  PyObject * obj1 = 0 ;
281368 
281369  if (!PyArg_ParseTuple(args,(char *)"OO:PacemakerNeuron_Il",&obj0,&obj1)) SWIG_fail;
281370  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
281371  if (!SWIG_IsOK(res1)) {
281372  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_Il" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
281373  }
281374  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
281375  ecode2 = SWIG_AsVal_float(obj1, &val2);
281376  if (!SWIG_IsOK(ecode2)) {
281377  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PacemakerNeuron_Il" "', argument " "2"" of type '" "float""'");
281378  }
281379  arg2 = static_cast< float >(val2);
281380  {
281381  try {
281382  (arg1)->Il(arg2);
281383  }
281384  catch(CStdErrorInfo oError)
281385  {
281386  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281387  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281388  PyErr_SetString(PyExc_IndexError, strError.c_str());
281389  SWIG_fail;
281390  }
281391  catch(...)
281392  {
281393  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281394  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281395  SWIG_fail;
281396  }
281397  }
281398  resultobj = SWIG_Py_Void();
281399  return resultobj;
281400 fail:
281401  return NULL;
281402 }
281403 
281404 
281405 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Il(PyObject *self, PyObject *args) {
281406  int argc;
281407  PyObject *argv[3];
281408  int ii;
281409 
281410  if (!PyTuple_Check(args)) SWIG_fail;
281411  argc = args ? (int)PyObject_Length(args) : 0;
281412  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
281413  argv[ii] = PyTuple_GET_ITEM(args,ii);
281414  }
281415  if (argc == 1) {
281416  int _v;
281417  void *vptr = 0;
281418  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
281419  _v = SWIG_CheckState(res);
281420  if (_v) {
281421  return _wrap_PacemakerNeuron_Il__SWIG_0(self, args);
281422  }
281423  }
281424  if (argc == 2) {
281425  int _v;
281426  void *vptr = 0;
281427  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
281428  _v = SWIG_CheckState(res);
281429  if (_v) {
281430  {
281431  int res = SWIG_AsVal_float(argv[1], NULL);
281432  _v = SWIG_CheckState(res);
281433  }
281434  if (_v) {
281435  return _wrap_PacemakerNeuron_Il__SWIG_1(self, args);
281436  }
281437  }
281438  }
281439 
281440 fail:
281441  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PacemakerNeuron_Il'.\n"
281442  " Possible C/C++ prototypes are:\n"
281443  " FiringRateSim::Neurons::PacemakerNeuron::Il()\n"
281444  " FiringRateSim::Neurons::PacemakerNeuron::Il(float)\n");
281445  return 0;
281446 }
281447 
281448 
281449 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Ih__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281450  PyObject *resultobj = 0;
281452  void *argp1 = 0 ;
281453  int res1 = 0 ;
281454  PyObject * obj0 = 0 ;
281455  float result;
281456 
281457  if (!PyArg_ParseTuple(args,(char *)"O:PacemakerNeuron_Ih",&obj0)) SWIG_fail;
281458  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
281459  if (!SWIG_IsOK(res1)) {
281460  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_Ih" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
281461  }
281462  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
281463  {
281464  try {
281465  result = (float)(arg1)->Ih();
281466  }
281467  catch(CStdErrorInfo oError)
281468  {
281469  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281470  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281471  PyErr_SetString(PyExc_IndexError, strError.c_str());
281472  SWIG_fail;
281473  }
281474  catch(...)
281475  {
281476  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281477  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281478  SWIG_fail;
281479  }
281480  }
281481  resultobj = SWIG_From_float(static_cast< float >(result));
281482  return resultobj;
281483 fail:
281484  return NULL;
281485 }
281486 
281487 
281488 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Ih__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281489  PyObject *resultobj = 0;
281491  float arg2 ;
281492  void *argp1 = 0 ;
281493  int res1 = 0 ;
281494  float val2 ;
281495  int ecode2 = 0 ;
281496  PyObject * obj0 = 0 ;
281497  PyObject * obj1 = 0 ;
281498 
281499  if (!PyArg_ParseTuple(args,(char *)"OO:PacemakerNeuron_Ih",&obj0,&obj1)) SWIG_fail;
281500  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
281501  if (!SWIG_IsOK(res1)) {
281502  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_Ih" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
281503  }
281504  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
281505  ecode2 = SWIG_AsVal_float(obj1, &val2);
281506  if (!SWIG_IsOK(ecode2)) {
281507  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PacemakerNeuron_Ih" "', argument " "2"" of type '" "float""'");
281508  }
281509  arg2 = static_cast< float >(val2);
281510  {
281511  try {
281512  (arg1)->Ih(arg2);
281513  }
281514  catch(CStdErrorInfo oError)
281515  {
281516  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281517  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281518  PyErr_SetString(PyExc_IndexError, strError.c_str());
281519  SWIG_fail;
281520  }
281521  catch(...)
281522  {
281523  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281524  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281525  SWIG_fail;
281526  }
281527  }
281528  resultobj = SWIG_Py_Void();
281529  return resultobj;
281530 fail:
281531  return NULL;
281532 }
281533 
281534 
281535 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Ih(PyObject *self, PyObject *args) {
281536  int argc;
281537  PyObject *argv[3];
281538  int ii;
281539 
281540  if (!PyTuple_Check(args)) SWIG_fail;
281541  argc = args ? (int)PyObject_Length(args) : 0;
281542  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
281543  argv[ii] = PyTuple_GET_ITEM(args,ii);
281544  }
281545  if (argc == 1) {
281546  int _v;
281547  void *vptr = 0;
281548  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
281549  _v = SWIG_CheckState(res);
281550  if (_v) {
281551  return _wrap_PacemakerNeuron_Ih__SWIG_0(self, args);
281552  }
281553  }
281554  if (argc == 2) {
281555  int _v;
281556  void *vptr = 0;
281557  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
281558  _v = SWIG_CheckState(res);
281559  if (_v) {
281560  {
281561  int res = SWIG_AsVal_float(argv[1], NULL);
281562  _v = SWIG_CheckState(res);
281563  }
281564  if (_v) {
281565  return _wrap_PacemakerNeuron_Ih__SWIG_1(self, args);
281566  }
281567  }
281568  }
281569 
281570 fail:
281571  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PacemakerNeuron_Ih'.\n"
281572  " Possible C/C++ prototypes are:\n"
281573  " FiringRateSim::Neurons::PacemakerNeuron::Ih()\n"
281574  " FiringRateSim::Neurons::PacemakerNeuron::Ih(float)\n");
281575  return 0;
281576 }
281577 
281578 
281579 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Vssm__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281580  PyObject *resultobj = 0;
281582  void *argp1 = 0 ;
281583  int res1 = 0 ;
281584  PyObject * obj0 = 0 ;
281585  float result;
281586 
281587  if (!PyArg_ParseTuple(args,(char *)"O:PacemakerNeuron_Vssm",&obj0)) SWIG_fail;
281588  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
281589  if (!SWIG_IsOK(res1)) {
281590  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_Vssm" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
281591  }
281592  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
281593  {
281594  try {
281595  result = (float)(arg1)->Vssm();
281596  }
281597  catch(CStdErrorInfo oError)
281598  {
281599  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281600  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281601  PyErr_SetString(PyExc_IndexError, strError.c_str());
281602  SWIG_fail;
281603  }
281604  catch(...)
281605  {
281606  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281607  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281608  SWIG_fail;
281609  }
281610  }
281611  resultobj = SWIG_From_float(static_cast< float >(result));
281612  return resultobj;
281613 fail:
281614  return NULL;
281615 }
281616 
281617 
281618 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Vssm__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281619  PyObject *resultobj = 0;
281621  float arg2 ;
281622  void *argp1 = 0 ;
281623  int res1 = 0 ;
281624  float val2 ;
281625  int ecode2 = 0 ;
281626  PyObject * obj0 = 0 ;
281627  PyObject * obj1 = 0 ;
281628 
281629  if (!PyArg_ParseTuple(args,(char *)"OO:PacemakerNeuron_Vssm",&obj0,&obj1)) SWIG_fail;
281630  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
281631  if (!SWIG_IsOK(res1)) {
281632  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_Vssm" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
281633  }
281634  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
281635  ecode2 = SWIG_AsVal_float(obj1, &val2);
281636  if (!SWIG_IsOK(ecode2)) {
281637  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PacemakerNeuron_Vssm" "', argument " "2"" of type '" "float""'");
281638  }
281639  arg2 = static_cast< float >(val2);
281640  {
281641  try {
281642  (arg1)->Vssm(arg2);
281643  }
281644  catch(CStdErrorInfo oError)
281645  {
281646  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281647  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281648  PyErr_SetString(PyExc_IndexError, strError.c_str());
281649  SWIG_fail;
281650  }
281651  catch(...)
281652  {
281653  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281654  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281655  SWIG_fail;
281656  }
281657  }
281658  resultobj = SWIG_Py_Void();
281659  return resultobj;
281660 fail:
281661  return NULL;
281662 }
281663 
281664 
281665 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Vssm(PyObject *self, PyObject *args) {
281666  int argc;
281667  PyObject *argv[3];
281668  int ii;
281669 
281670  if (!PyTuple_Check(args)) SWIG_fail;
281671  argc = args ? (int)PyObject_Length(args) : 0;
281672  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
281673  argv[ii] = PyTuple_GET_ITEM(args,ii);
281674  }
281675  if (argc == 1) {
281676  int _v;
281677  void *vptr = 0;
281678  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
281679  _v = SWIG_CheckState(res);
281680  if (_v) {
281681  return _wrap_PacemakerNeuron_Vssm__SWIG_0(self, args);
281682  }
281683  }
281684  if (argc == 2) {
281685  int _v;
281686  void *vptr = 0;
281687  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
281688  _v = SWIG_CheckState(res);
281689  if (_v) {
281690  {
281691  int res = SWIG_AsVal_float(argv[1], NULL);
281692  _v = SWIG_CheckState(res);
281693  }
281694  if (_v) {
281695  return _wrap_PacemakerNeuron_Vssm__SWIG_1(self, args);
281696  }
281697  }
281698  }
281699 
281700 fail:
281701  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PacemakerNeuron_Vssm'.\n"
281702  " Possible C/C++ prototypes are:\n"
281703  " FiringRateSim::Neurons::PacemakerNeuron::Vssm()\n"
281704  " FiringRateSim::Neurons::PacemakerNeuron::Vssm(float)\n");
281705  return 0;
281706 }
281707 
281708 
281709 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Mtl__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281710  PyObject *resultobj = 0;
281712  void *argp1 = 0 ;
281713  int res1 = 0 ;
281714  PyObject * obj0 = 0 ;
281715  float result;
281716 
281717  if (!PyArg_ParseTuple(args,(char *)"O:PacemakerNeuron_Mtl",&obj0)) SWIG_fail;
281718  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
281719  if (!SWIG_IsOK(res1)) {
281720  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_Mtl" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
281721  }
281722  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
281723  {
281724  try {
281725  result = (float)(arg1)->Mtl();
281726  }
281727  catch(CStdErrorInfo oError)
281728  {
281729  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281730  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281731  PyErr_SetString(PyExc_IndexError, strError.c_str());
281732  SWIG_fail;
281733  }
281734  catch(...)
281735  {
281736  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281737  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281738  SWIG_fail;
281739  }
281740  }
281741  resultobj = SWIG_From_float(static_cast< float >(result));
281742  return resultobj;
281743 fail:
281744  return NULL;
281745 }
281746 
281747 
281748 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Mtl__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281749  PyObject *resultobj = 0;
281751  float arg2 ;
281752  void *argp1 = 0 ;
281753  int res1 = 0 ;
281754  float val2 ;
281755  int ecode2 = 0 ;
281756  PyObject * obj0 = 0 ;
281757  PyObject * obj1 = 0 ;
281758 
281759  if (!PyArg_ParseTuple(args,(char *)"OO:PacemakerNeuron_Mtl",&obj0,&obj1)) SWIG_fail;
281760  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
281761  if (!SWIG_IsOK(res1)) {
281762  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_Mtl" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
281763  }
281764  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
281765  ecode2 = SWIG_AsVal_float(obj1, &val2);
281766  if (!SWIG_IsOK(ecode2)) {
281767  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PacemakerNeuron_Mtl" "', argument " "2"" of type '" "float""'");
281768  }
281769  arg2 = static_cast< float >(val2);
281770  {
281771  try {
281772  (arg1)->Mtl(arg2);
281773  }
281774  catch(CStdErrorInfo oError)
281775  {
281776  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281777  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281778  PyErr_SetString(PyExc_IndexError, strError.c_str());
281779  SWIG_fail;
281780  }
281781  catch(...)
281782  {
281783  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281784  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281785  SWIG_fail;
281786  }
281787  }
281788  resultobj = SWIG_Py_Void();
281789  return resultobj;
281790 fail:
281791  return NULL;
281792 }
281793 
281794 
281795 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Mtl(PyObject *self, PyObject *args) {
281796  int argc;
281797  PyObject *argv[3];
281798  int ii;
281799 
281800  if (!PyTuple_Check(args)) SWIG_fail;
281801  argc = args ? (int)PyObject_Length(args) : 0;
281802  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
281803  argv[ii] = PyTuple_GET_ITEM(args,ii);
281804  }
281805  if (argc == 1) {
281806  int _v;
281807  void *vptr = 0;
281808  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
281809  _v = SWIG_CheckState(res);
281810  if (_v) {
281811  return _wrap_PacemakerNeuron_Mtl__SWIG_0(self, args);
281812  }
281813  }
281814  if (argc == 2) {
281815  int _v;
281816  void *vptr = 0;
281817  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
281818  _v = SWIG_CheckState(res);
281819  if (_v) {
281820  {
281821  int res = SWIG_AsVal_float(argv[1], NULL);
281822  _v = SWIG_CheckState(res);
281823  }
281824  if (_v) {
281825  return _wrap_PacemakerNeuron_Mtl__SWIG_1(self, args);
281826  }
281827  }
281828  }
281829 
281830 fail:
281831  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PacemakerNeuron_Mtl'.\n"
281832  " Possible C/C++ prototypes are:\n"
281833  " FiringRateSim::Neurons::PacemakerNeuron::Mtl()\n"
281834  " FiringRateSim::Neurons::PacemakerNeuron::Mtl(float)\n");
281835  return 0;
281836 }
281837 
281838 
281839 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Btl__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281840  PyObject *resultobj = 0;
281842  void *argp1 = 0 ;
281843  int res1 = 0 ;
281844  PyObject * obj0 = 0 ;
281845  float result;
281846 
281847  if (!PyArg_ParseTuple(args,(char *)"O:PacemakerNeuron_Btl",&obj0)) SWIG_fail;
281848  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
281849  if (!SWIG_IsOK(res1)) {
281850  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_Btl" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
281851  }
281852  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
281853  {
281854  try {
281855  result = (float)(arg1)->Btl();
281856  }
281857  catch(CStdErrorInfo oError)
281858  {
281859  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281860  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281861  PyErr_SetString(PyExc_IndexError, strError.c_str());
281862  SWIG_fail;
281863  }
281864  catch(...)
281865  {
281866  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281867  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281868  SWIG_fail;
281869  }
281870  }
281871  resultobj = SWIG_From_float(static_cast< float >(result));
281872  return resultobj;
281873 fail:
281874  return NULL;
281875 }
281876 
281877 
281878 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Btl__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281879  PyObject *resultobj = 0;
281881  float arg2 ;
281882  void *argp1 = 0 ;
281883  int res1 = 0 ;
281884  float val2 ;
281885  int ecode2 = 0 ;
281886  PyObject * obj0 = 0 ;
281887  PyObject * obj1 = 0 ;
281888 
281889  if (!PyArg_ParseTuple(args,(char *)"OO:PacemakerNeuron_Btl",&obj0,&obj1)) SWIG_fail;
281890  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
281891  if (!SWIG_IsOK(res1)) {
281892  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_Btl" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
281893  }
281894  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
281895  ecode2 = SWIG_AsVal_float(obj1, &val2);
281896  if (!SWIG_IsOK(ecode2)) {
281897  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PacemakerNeuron_Btl" "', argument " "2"" of type '" "float""'");
281898  }
281899  arg2 = static_cast< float >(val2);
281900  {
281901  try {
281902  (arg1)->Btl(arg2);
281903  }
281904  catch(CStdErrorInfo oError)
281905  {
281906  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281907  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281908  PyErr_SetString(PyExc_IndexError, strError.c_str());
281909  SWIG_fail;
281910  }
281911  catch(...)
281912  {
281913  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281914  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281915  SWIG_fail;
281916  }
281917  }
281918  resultobj = SWIG_Py_Void();
281919  return resultobj;
281920 fail:
281921  return NULL;
281922 }
281923 
281924 
281925 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Btl(PyObject *self, PyObject *args) {
281926  int argc;
281927  PyObject *argv[3];
281928  int ii;
281929 
281930  if (!PyTuple_Check(args)) SWIG_fail;
281931  argc = args ? (int)PyObject_Length(args) : 0;
281932  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
281933  argv[ii] = PyTuple_GET_ITEM(args,ii);
281934  }
281935  if (argc == 1) {
281936  int _v;
281937  void *vptr = 0;
281938  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
281939  _v = SWIG_CheckState(res);
281940  if (_v) {
281941  return _wrap_PacemakerNeuron_Btl__SWIG_0(self, args);
281942  }
281943  }
281944  if (argc == 2) {
281945  int _v;
281946  void *vptr = 0;
281947  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
281948  _v = SWIG_CheckState(res);
281949  if (_v) {
281950  {
281951  int res = SWIG_AsVal_float(argv[1], NULL);
281952  _v = SWIG_CheckState(res);
281953  }
281954  if (_v) {
281955  return _wrap_PacemakerNeuron_Btl__SWIG_1(self, args);
281956  }
281957  }
281958  }
281959 
281960 fail:
281961  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PacemakerNeuron_Btl'.\n"
281962  " Possible C/C++ prototypes are:\n"
281963  " FiringRateSim::Neurons::PacemakerNeuron::Btl()\n"
281964  " FiringRateSim::Neurons::PacemakerNeuron::Btl(float)\n");
281965  return 0;
281966 }
281967 
281968 
281969 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Th__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
281970  PyObject *resultobj = 0;
281972  void *argp1 = 0 ;
281973  int res1 = 0 ;
281974  PyObject * obj0 = 0 ;
281975  float result;
281976 
281977  if (!PyArg_ParseTuple(args,(char *)"O:PacemakerNeuron_Th",&obj0)) SWIG_fail;
281978  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
281979  if (!SWIG_IsOK(res1)) {
281980  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_Th" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
281981  }
281982  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
281983  {
281984  try {
281985  result = (float)(arg1)->Th();
281986  }
281987  catch(CStdErrorInfo oError)
281988  {
281989  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281990  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
281991  PyErr_SetString(PyExc_IndexError, strError.c_str());
281992  SWIG_fail;
281993  }
281994  catch(...)
281995  {
281996  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
281997  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
281998  SWIG_fail;
281999  }
282000  }
282001  resultobj = SWIG_From_float(static_cast< float >(result));
282002  return resultobj;
282003 fail:
282004  return NULL;
282005 }
282006 
282007 
282008 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Th__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282009  PyObject *resultobj = 0;
282011  float arg2 ;
282012  void *argp1 = 0 ;
282013  int res1 = 0 ;
282014  float val2 ;
282015  int ecode2 = 0 ;
282016  PyObject * obj0 = 0 ;
282017  PyObject * obj1 = 0 ;
282018 
282019  if (!PyArg_ParseTuple(args,(char *)"OO:PacemakerNeuron_Th",&obj0,&obj1)) SWIG_fail;
282020  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282021  if (!SWIG_IsOK(res1)) {
282022  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_Th" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282023  }
282024  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282025  ecode2 = SWIG_AsVal_float(obj1, &val2);
282026  if (!SWIG_IsOK(ecode2)) {
282027  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PacemakerNeuron_Th" "', argument " "2"" of type '" "float""'");
282028  }
282029  arg2 = static_cast< float >(val2);
282030  {
282031  try {
282032  (arg1)->Th(arg2);
282033  }
282034  catch(CStdErrorInfo oError)
282035  {
282036  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282037  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282038  PyErr_SetString(PyExc_IndexError, strError.c_str());
282039  SWIG_fail;
282040  }
282041  catch(...)
282042  {
282043  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282044  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282045  SWIG_fail;
282046  }
282047  }
282048  resultobj = SWIG_Py_Void();
282049  return resultobj;
282050 fail:
282051  return NULL;
282052 }
282053 
282054 
282055 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Th(PyObject *self, PyObject *args) {
282056  int argc;
282057  PyObject *argv[3];
282058  int ii;
282059 
282060  if (!PyTuple_Check(args)) SWIG_fail;
282061  argc = args ? (int)PyObject_Length(args) : 0;
282062  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
282063  argv[ii] = PyTuple_GET_ITEM(args,ii);
282064  }
282065  if (argc == 1) {
282066  int _v;
282067  void *vptr = 0;
282068  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
282069  _v = SWIG_CheckState(res);
282070  if (_v) {
282071  return _wrap_PacemakerNeuron_Th__SWIG_0(self, args);
282072  }
282073  }
282074  if (argc == 2) {
282075  int _v;
282076  void *vptr = 0;
282077  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
282078  _v = SWIG_CheckState(res);
282079  if (_v) {
282080  {
282081  int res = SWIG_AsVal_float(argv[1], NULL);
282082  _v = SWIG_CheckState(res);
282083  }
282084  if (_v) {
282085  return _wrap_PacemakerNeuron_Th__SWIG_1(self, args);
282086  }
282087  }
282088  }
282089 
282090 fail:
282091  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PacemakerNeuron_Th'.\n"
282092  " Possible C/C++ prototypes are:\n"
282093  " FiringRateSim::Neurons::PacemakerNeuron::Th()\n"
282094  " FiringRateSim::Neurons::PacemakerNeuron::Th(float)\n");
282095  return 0;
282096 }
282097 
282098 
282099 SWIGINTERN PyObject *_wrap_PacemakerNeuron_ITime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282100  PyObject *resultobj = 0;
282102  void *argp1 = 0 ;
282103  int res1 = 0 ;
282104  PyObject * obj0 = 0 ;
282105  float result;
282106 
282107  if (!PyArg_ParseTuple(args,(char *)"O:PacemakerNeuron_ITime",&obj0)) SWIG_fail;
282108  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282109  if (!SWIG_IsOK(res1)) {
282110  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_ITime" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282111  }
282112  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282113  {
282114  try {
282115  result = (float)(arg1)->ITime();
282116  }
282117  catch(CStdErrorInfo oError)
282118  {
282119  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282120  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282121  PyErr_SetString(PyExc_IndexError, strError.c_str());
282122  SWIG_fail;
282123  }
282124  catch(...)
282125  {
282126  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282127  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282128  SWIG_fail;
282129  }
282130  }
282131  resultobj = SWIG_From_float(static_cast< float >(result));
282132  return resultobj;
282133 fail:
282134  return NULL;
282135 }
282136 
282137 
282138 SWIGINTERN PyObject *_wrap_PacemakerNeuron_ITime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282139  PyObject *resultobj = 0;
282141  float arg2 ;
282142  void *argp1 = 0 ;
282143  int res1 = 0 ;
282144  float val2 ;
282145  int ecode2 = 0 ;
282146  PyObject * obj0 = 0 ;
282147  PyObject * obj1 = 0 ;
282148 
282149  if (!PyArg_ParseTuple(args,(char *)"OO:PacemakerNeuron_ITime",&obj0,&obj1)) SWIG_fail;
282150  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282151  if (!SWIG_IsOK(res1)) {
282152  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_ITime" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282153  }
282154  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282155  ecode2 = SWIG_AsVal_float(obj1, &val2);
282156  if (!SWIG_IsOK(ecode2)) {
282157  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PacemakerNeuron_ITime" "', argument " "2"" of type '" "float""'");
282158  }
282159  arg2 = static_cast< float >(val2);
282160  {
282161  try {
282162  (arg1)->ITime(arg2);
282163  }
282164  catch(CStdErrorInfo oError)
282165  {
282166  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282167  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282168  PyErr_SetString(PyExc_IndexError, strError.c_str());
282169  SWIG_fail;
282170  }
282171  catch(...)
282172  {
282173  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282174  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282175  SWIG_fail;
282176  }
282177  }
282178  resultobj = SWIG_Py_Void();
282179  return resultobj;
282180 fail:
282181  return NULL;
282182 }
282183 
282184 
282185 SWIGINTERN PyObject *_wrap_PacemakerNeuron_ITime(PyObject *self, PyObject *args) {
282186  int argc;
282187  PyObject *argv[3];
282188  int ii;
282189 
282190  if (!PyTuple_Check(args)) SWIG_fail;
282191  argc = args ? (int)PyObject_Length(args) : 0;
282192  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
282193  argv[ii] = PyTuple_GET_ITEM(args,ii);
282194  }
282195  if (argc == 1) {
282196  int _v;
282197  void *vptr = 0;
282198  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
282199  _v = SWIG_CheckState(res);
282200  if (_v) {
282201  return _wrap_PacemakerNeuron_ITime__SWIG_0(self, args);
282202  }
282203  }
282204  if (argc == 2) {
282205  int _v;
282206  void *vptr = 0;
282207  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
282208  _v = SWIG_CheckState(res);
282209  if (_v) {
282210  {
282211  int res = SWIG_AsVal_float(argv[1], NULL);
282212  _v = SWIG_CheckState(res);
282213  }
282214  if (_v) {
282215  return _wrap_PacemakerNeuron_ITime__SWIG_1(self, args);
282216  }
282217  }
282218  }
282219 
282220 fail:
282221  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PacemakerNeuron_ITime'.\n"
282222  " Possible C/C++ prototypes are:\n"
282223  " FiringRateSim::Neurons::PacemakerNeuron::ITime()\n"
282224  " FiringRateSim::Neurons::PacemakerNeuron::ITime(float)\n");
282225  return 0;
282226 }
282227 
282228 
282229 SWIGINTERN PyObject *_wrap_PacemakerNeuron_IntrinsicType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282230  PyObject *resultobj = 0;
282232  void *argp1 = 0 ;
282233  int res1 = 0 ;
282234  PyObject * obj0 = 0 ;
282235  unsigned char result;
282236 
282237  if (!PyArg_ParseTuple(args,(char *)"O:PacemakerNeuron_IntrinsicType",&obj0)) SWIG_fail;
282238  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282239  if (!SWIG_IsOK(res1)) {
282240  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_IntrinsicType" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282241  }
282242  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282243  {
282244  try {
282245  result = (unsigned char)(arg1)->IntrinsicType();
282246  }
282247  catch(CStdErrorInfo oError)
282248  {
282249  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282250  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282251  PyErr_SetString(PyExc_IndexError, strError.c_str());
282252  SWIG_fail;
282253  }
282254  catch(...)
282255  {
282256  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282257  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282258  SWIG_fail;
282259  }
282260  }
282261  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
282262  return resultobj;
282263 fail:
282264  return NULL;
282265 }
282266 
282267 
282268 SWIGINTERN PyObject *_wrap_PacemakerNeuron_IntrinsicType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282269  PyObject *resultobj = 0;
282271  unsigned char arg2 ;
282272  void *argp1 = 0 ;
282273  int res1 = 0 ;
282274  unsigned char val2 ;
282275  int ecode2 = 0 ;
282276  PyObject * obj0 = 0 ;
282277  PyObject * obj1 = 0 ;
282278 
282279  if (!PyArg_ParseTuple(args,(char *)"OO:PacemakerNeuron_IntrinsicType",&obj0,&obj1)) SWIG_fail;
282280  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282281  if (!SWIG_IsOK(res1)) {
282282  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_IntrinsicType" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282283  }
282284  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282285  ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
282286  if (!SWIG_IsOK(ecode2)) {
282287  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PacemakerNeuron_IntrinsicType" "', argument " "2"" of type '" "unsigned char""'");
282288  }
282289  arg2 = static_cast< unsigned char >(val2);
282290  {
282291  try {
282292  (arg1)->IntrinsicType(arg2);
282293  }
282294  catch(CStdErrorInfo oError)
282295  {
282296  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282297  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282298  PyErr_SetString(PyExc_IndexError, strError.c_str());
282299  SWIG_fail;
282300  }
282301  catch(...)
282302  {
282303  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282304  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282305  SWIG_fail;
282306  }
282307  }
282308  resultobj = SWIG_Py_Void();
282309  return resultobj;
282310 fail:
282311  return NULL;
282312 }
282313 
282314 
282315 SWIGINTERN PyObject *_wrap_PacemakerNeuron_IntrinsicType(PyObject *self, PyObject *args) {
282316  int argc;
282317  PyObject *argv[3];
282318  int ii;
282319 
282320  if (!PyTuple_Check(args)) SWIG_fail;
282321  argc = args ? (int)PyObject_Length(args) : 0;
282322  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
282323  argv[ii] = PyTuple_GET_ITEM(args,ii);
282324  }
282325  if (argc == 1) {
282326  int _v;
282327  void *vptr = 0;
282328  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
282329  _v = SWIG_CheckState(res);
282330  if (_v) {
282331  return _wrap_PacemakerNeuron_IntrinsicType__SWIG_0(self, args);
282332  }
282333  }
282334  if (argc == 2) {
282335  int _v;
282336  void *vptr = 0;
282337  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
282338  _v = SWIG_CheckState(res);
282339  if (_v) {
282340  {
282341  int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL);
282342  _v = SWIG_CheckState(res);
282343  }
282344  if (_v) {
282345  return _wrap_PacemakerNeuron_IntrinsicType__SWIG_1(self, args);
282346  }
282347  }
282348  }
282349 
282350 fail:
282351  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PacemakerNeuron_IntrinsicType'.\n"
282352  " Possible C/C++ prototypes are:\n"
282353  " FiringRateSim::Neurons::PacemakerNeuron::IntrinsicType()\n"
282354  " FiringRateSim::Neurons::PacemakerNeuron::IntrinsicType(unsigned char)\n");
282355  return 0;
282356 }
282357 
282358 
282359 SWIGINTERN PyObject *_wrap_PacemakerNeuron_NeuronType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282360  PyObject *resultobj = 0;
282362  void *argp1 = 0 ;
282363  int res1 = 0 ;
282364  PyObject * obj0 = 0 ;
282365  unsigned char result;
282366 
282367  if (!PyArg_ParseTuple(args,(char *)"O:PacemakerNeuron_NeuronType",&obj0)) SWIG_fail;
282368  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282369  if (!SWIG_IsOK(res1)) {
282370  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_NeuronType" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282371  }
282372  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282373  {
282374  try {
282375  result = (unsigned char)(arg1)->NeuronType();
282376  }
282377  catch(CStdErrorInfo oError)
282378  {
282379  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282380  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282381  PyErr_SetString(PyExc_IndexError, strError.c_str());
282382  SWIG_fail;
282383  }
282384  catch(...)
282385  {
282386  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282387  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282388  SWIG_fail;
282389  }
282390  }
282391  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
282392  return resultobj;
282393 fail:
282394  return NULL;
282395 }
282396 
282397 
282398 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282399  PyObject *resultobj = 0;
282402  void *argp1 = 0 ;
282403  int res1 = 0 ;
282404  void *argp2 = 0 ;
282405  int res2 = 0 ;
282406  PyObject * obj0 = 0 ;
282407  PyObject * obj1 = 0 ;
282408 
282409  if (!PyArg_ParseTuple(args,(char *)"OO:PacemakerNeuron_Copy",&obj0,&obj1)) SWIG_fail;
282410  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282411  if (!SWIG_IsOK(res1)) {
282412  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_Copy" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282413  }
282414  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282415  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
282416  if (!SWIG_IsOK(res2)) {
282417  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacemakerNeuron_Copy" "', argument " "2"" of type '" "StdUtils::CStdSerialize *""'");
282418  }
282419  arg2 = reinterpret_cast< StdUtils::CStdSerialize * >(argp2);
282420  {
282421  try {
282422  (arg1)->Copy(arg2);
282423  }
282424  catch(CStdErrorInfo oError)
282425  {
282426  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282427  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282428  PyErr_SetString(PyExc_IndexError, strError.c_str());
282429  SWIG_fail;
282430  }
282431  catch(...)
282432  {
282433  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282434  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282435  SWIG_fail;
282436  }
282437  }
282438  resultobj = SWIG_Py_Void();
282439  return resultobj;
282440 fail:
282441  return NULL;
282442 }
282443 
282444 
282445 SWIGINTERN PyObject *_wrap_PacemakerNeuron_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282446  PyObject *resultobj = 0;
282448  void *argp1 = 0 ;
282449  int res1 = 0 ;
282450  PyObject * obj0 = 0 ;
282451 
282452  if (!PyArg_ParseTuple(args,(char *)"O:PacemakerNeuron_ResetSimulation",&obj0)) SWIG_fail;
282453  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282454  if (!SWIG_IsOK(res1)) {
282455  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_ResetSimulation" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282456  }
282457  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282458  {
282459  try {
282460  (arg1)->ResetSimulation();
282461  }
282462  catch(CStdErrorInfo oError)
282463  {
282464  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282465  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282466  PyErr_SetString(PyExc_IndexError, strError.c_str());
282467  SWIG_fail;
282468  }
282469  catch(...)
282470  {
282471  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282472  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282473  SWIG_fail;
282474  }
282475  }
282476  resultobj = SWIG_Py_Void();
282477  return resultobj;
282478 fail:
282479  return NULL;
282480 }
282481 
282482 
282483 SWIGINTERN PyObject *_wrap_PacemakerNeuron_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282484  PyObject *resultobj = 0;
282486  void *argp1 = 0 ;
282487  int res1 = 0 ;
282488  PyObject * obj0 = 0 ;
282489 
282490  if (!PyArg_ParseTuple(args,(char *)"O:PacemakerNeuron_StepSimulation",&obj0)) SWIG_fail;
282491  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282492  if (!SWIG_IsOK(res1)) {
282493  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_StepSimulation" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282494  }
282495  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282496  {
282497  try {
282498  (arg1)->StepSimulation();
282499  }
282500  catch(CStdErrorInfo oError)
282501  {
282502  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282503  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282504  PyErr_SetString(PyExc_IndexError, strError.c_str());
282505  SWIG_fail;
282506  }
282507  catch(...)
282508  {
282509  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282510  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282511  SWIG_fail;
282512  }
282513  }
282514  resultobj = SWIG_Py_Void();
282515  return resultobj;
282516 fail:
282517  return NULL;
282518 }
282519 
282520 
282521 SWIGINTERN PyObject *_wrap_PacemakerNeuron_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282522  PyObject *resultobj = 0;
282524  std::string *arg2 = 0 ;
282525  void *argp1 = 0 ;
282526  int res1 = 0 ;
282527  int res2 = SWIG_OLDOBJ ;
282528  PyObject * obj0 = 0 ;
282529  PyObject * obj1 = 0 ;
282530  float *result = 0 ;
282531 
282532  if (!PyArg_ParseTuple(args,(char *)"OO:PacemakerNeuron_GetDataPointer",&obj0,&obj1)) SWIG_fail;
282533  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282534  if (!SWIG_IsOK(res1)) {
282535  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_GetDataPointer" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282536  }
282537  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282538  {
282539  std::string *ptr = (std::string *)0;
282540  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
282541  if (!SWIG_IsOK(res2)) {
282542  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacemakerNeuron_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
282543  }
282544  if (!ptr) {
282545  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacemakerNeuron_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
282546  }
282547  arg2 = ptr;
282548  }
282549  {
282550  try {
282551  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
282552  }
282553  catch(CStdErrorInfo oError)
282554  {
282555  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282556  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282557  PyErr_SetString(PyExc_IndexError, strError.c_str());
282558  SWIG_fail;
282559  }
282560  catch(...)
282561  {
282562  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282563  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282564  SWIG_fail;
282565  }
282566  }
282567  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
282568  if (SWIG_IsNewObj(res2)) delete arg2;
282569  return resultobj;
282570 fail:
282571  if (SWIG_IsNewObj(res2)) delete arg2;
282572  return NULL;
282573 }
282574 
282575 
282576 SWIGINTERN PyObject *_wrap_PacemakerNeuron_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282577  PyObject *resultobj = 0;
282579  std::string *arg2 = 0 ;
282580  std::string *arg3 = 0 ;
282581  bool arg4 ;
282582  void *argp1 = 0 ;
282583  int res1 = 0 ;
282584  int res2 = SWIG_OLDOBJ ;
282585  int res3 = SWIG_OLDOBJ ;
282586  bool val4 ;
282587  int ecode4 = 0 ;
282588  PyObject * obj0 = 0 ;
282589  PyObject * obj1 = 0 ;
282590  PyObject * obj2 = 0 ;
282591  PyObject * obj3 = 0 ;
282592  bool result;
282593 
282594  if (!PyArg_ParseTuple(args,(char *)"OOOO:PacemakerNeuron_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
282595  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282596  if (!SWIG_IsOK(res1)) {
282597  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_SetData" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282598  }
282599  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282600  {
282601  std::string *ptr = (std::string *)0;
282602  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
282603  if (!SWIG_IsOK(res2)) {
282604  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacemakerNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
282605  }
282606  if (!ptr) {
282607  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacemakerNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
282608  }
282609  arg2 = ptr;
282610  }
282611  {
282612  std::string *ptr = (std::string *)0;
282613  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
282614  if (!SWIG_IsOK(res3)) {
282615  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PacemakerNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
282616  }
282617  if (!ptr) {
282618  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacemakerNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
282619  }
282620  arg3 = ptr;
282621  }
282622  ecode4 = SWIG_AsVal_bool(obj3, &val4);
282623  if (!SWIG_IsOK(ecode4)) {
282624  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PacemakerNeuron_SetData" "', argument " "4"" of type '" "bool""'");
282625  }
282626  arg4 = static_cast< bool >(val4);
282627  {
282628  try {
282629  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
282630  }
282631  catch(CStdErrorInfo oError)
282632  {
282633  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282634  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282635  PyErr_SetString(PyExc_IndexError, strError.c_str());
282636  SWIG_fail;
282637  }
282638  catch(...)
282639  {
282640  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282641  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282642  SWIG_fail;
282643  }
282644  }
282645  resultobj = SWIG_From_bool(static_cast< bool >(result));
282646  if (SWIG_IsNewObj(res2)) delete arg2;
282647  if (SWIG_IsNewObj(res3)) delete arg3;
282648  return resultobj;
282649 fail:
282650  if (SWIG_IsNewObj(res2)) delete arg2;
282651  if (SWIG_IsNewObj(res3)) delete arg3;
282652  return NULL;
282653 }
282654 
282655 
282656 SWIGINTERN PyObject *_wrap_PacemakerNeuron_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282657  PyObject *resultobj = 0;
282659  std::string *arg2 = 0 ;
282660  std::string *arg3 = 0 ;
282661  void *argp1 = 0 ;
282662  int res1 = 0 ;
282663  int res2 = SWIG_OLDOBJ ;
282664  int res3 = SWIG_OLDOBJ ;
282665  PyObject * obj0 = 0 ;
282666  PyObject * obj1 = 0 ;
282667  PyObject * obj2 = 0 ;
282668  bool result;
282669 
282670  if (!PyArg_ParseTuple(args,(char *)"OOO:PacemakerNeuron_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
282671  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282672  if (!SWIG_IsOK(res1)) {
282673  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_SetData" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282674  }
282675  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282676  {
282677  std::string *ptr = (std::string *)0;
282678  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
282679  if (!SWIG_IsOK(res2)) {
282680  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacemakerNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
282681  }
282682  if (!ptr) {
282683  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacemakerNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
282684  }
282685  arg2 = ptr;
282686  }
282687  {
282688  std::string *ptr = (std::string *)0;
282689  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
282690  if (!SWIG_IsOK(res3)) {
282691  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PacemakerNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
282692  }
282693  if (!ptr) {
282694  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacemakerNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
282695  }
282696  arg3 = ptr;
282697  }
282698  {
282699  try {
282700  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
282701  }
282702  catch(CStdErrorInfo oError)
282703  {
282704  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282705  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282706  PyErr_SetString(PyExc_IndexError, strError.c_str());
282707  SWIG_fail;
282708  }
282709  catch(...)
282710  {
282711  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282712  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282713  SWIG_fail;
282714  }
282715  }
282716  resultobj = SWIG_From_bool(static_cast< bool >(result));
282717  if (SWIG_IsNewObj(res2)) delete arg2;
282718  if (SWIG_IsNewObj(res3)) delete arg3;
282719  return resultobj;
282720 fail:
282721  if (SWIG_IsNewObj(res2)) delete arg2;
282722  if (SWIG_IsNewObj(res3)) delete arg3;
282723  return NULL;
282724 }
282725 
282726 
282727 SWIGINTERN PyObject *_wrap_PacemakerNeuron_SetData(PyObject *self, PyObject *args) {
282728  int argc;
282729  PyObject *argv[5];
282730  int ii;
282731 
282732  if (!PyTuple_Check(args)) SWIG_fail;
282733  argc = args ? (int)PyObject_Length(args) : 0;
282734  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
282735  argv[ii] = PyTuple_GET_ITEM(args,ii);
282736  }
282737  if (argc == 3) {
282738  int _v;
282739  void *vptr = 0;
282740  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
282741  _v = SWIG_CheckState(res);
282742  if (_v) {
282743  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
282744  _v = SWIG_CheckState(res);
282745  if (_v) {
282746  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
282747  _v = SWIG_CheckState(res);
282748  if (_v) {
282749  return _wrap_PacemakerNeuron_SetData__SWIG_1(self, args);
282750  }
282751  }
282752  }
282753  }
282754  if (argc == 4) {
282755  int _v;
282756  void *vptr = 0;
282757  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0);
282758  _v = SWIG_CheckState(res);
282759  if (_v) {
282760  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
282761  _v = SWIG_CheckState(res);
282762  if (_v) {
282763  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
282764  _v = SWIG_CheckState(res);
282765  if (_v) {
282766  {
282767  int res = SWIG_AsVal_bool(argv[3], NULL);
282768  _v = SWIG_CheckState(res);
282769  }
282770  if (_v) {
282771  return _wrap_PacemakerNeuron_SetData__SWIG_0(self, args);
282772  }
282773  }
282774  }
282775  }
282776  }
282777 
282778 fail:
282779  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PacemakerNeuron_SetData'.\n"
282780  " Possible C/C++ prototypes are:\n"
282781  " FiringRateSim::Neurons::PacemakerNeuron::SetData(std::string const &,std::string const &,bool)\n"
282782  " FiringRateSim::Neurons::PacemakerNeuron::SetData(std::string const &,std::string const &)\n");
282783  return 0;
282784 }
282785 
282786 
282787 SWIGINTERN PyObject *_wrap_PacemakerNeuron_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282788  PyObject *resultobj = 0;
282790  CStdPtrArray< TypeProperty > *arg2 = 0 ;
282791  void *argp1 = 0 ;
282792  int res1 = 0 ;
282793  void *argp2 = 0 ;
282794  int res2 = 0 ;
282795  PyObject * obj0 = 0 ;
282796  PyObject * obj1 = 0 ;
282797 
282798  if (!PyArg_ParseTuple(args,(char *)"OO:PacemakerNeuron_QueryProperties",&obj0,&obj1)) SWIG_fail;
282799  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282800  if (!SWIG_IsOK(res1)) {
282801  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_QueryProperties" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282802  }
282803  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282804  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
282805  if (!SWIG_IsOK(res2)) {
282806  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacemakerNeuron_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
282807  }
282808  if (!argp2) {
282809  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacemakerNeuron_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
282810  }
282811  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
282812  {
282813  try {
282814  (arg1)->QueryProperties(*arg2);
282815  }
282816  catch(CStdErrorInfo oError)
282817  {
282818  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282819  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282820  PyErr_SetString(PyExc_IndexError, strError.c_str());
282821  SWIG_fail;
282822  }
282823  catch(...)
282824  {
282825  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282826  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282827  SWIG_fail;
282828  }
282829  }
282830  resultobj = SWIG_Py_Void();
282831  return resultobj;
282832 fail:
282833  return NULL;
282834 }
282835 
282836 
282837 SWIGINTERN PyObject *_wrap_PacemakerNeuron_CalculateSnapshotByteSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282838  PyObject *resultobj = 0;
282840  void *argp1 = 0 ;
282841  int res1 = 0 ;
282842  PyObject * obj0 = 0 ;
282843  long result;
282844 
282845  if (!PyArg_ParseTuple(args,(char *)"O:PacemakerNeuron_CalculateSnapshotByteSize",&obj0)) SWIG_fail;
282846  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282847  if (!SWIG_IsOK(res1)) {
282848  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_CalculateSnapshotByteSize" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282849  }
282850  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282851  {
282852  try {
282853  result = (long)(arg1)->CalculateSnapshotByteSize();
282854  }
282855  catch(CStdErrorInfo oError)
282856  {
282857  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282858  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282859  PyErr_SetString(PyExc_IndexError, strError.c_str());
282860  SWIG_fail;
282861  }
282862  catch(...)
282863  {
282864  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282865  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282866  SWIG_fail;
282867  }
282868  }
282869  resultobj = SWIG_From_long(static_cast< long >(result));
282870  return resultobj;
282871 fail:
282872  return NULL;
282873 }
282874 
282875 
282876 SWIGINTERN PyObject *_wrap_PacemakerNeuron_SaveKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282877  PyObject *resultobj = 0;
282879  byte *arg2 = (byte *) 0 ;
282880  long *arg3 = 0 ;
282881  void *argp1 = 0 ;
282882  int res1 = 0 ;
282883  void *argp2 = 0 ;
282884  int res2 = 0 ;
282885  void *argp3 = 0 ;
282886  int res3 = 0 ;
282887  PyObject * obj0 = 0 ;
282888  PyObject * obj1 = 0 ;
282889  PyObject * obj2 = 0 ;
282890 
282891  if (!PyArg_ParseTuple(args,(char *)"OOO:PacemakerNeuron_SaveKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
282892  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282893  if (!SWIG_IsOK(res1)) {
282894  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_SaveKeyFrameSnapshot" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282895  }
282896  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282897  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
282898  if (!SWIG_IsOK(res2)) {
282899  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacemakerNeuron_SaveKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
282900  }
282901  arg2 = reinterpret_cast< byte * >(argp2);
282902  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
282903  if (!SWIG_IsOK(res3)) {
282904  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PacemakerNeuron_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
282905  }
282906  if (!argp3) {
282907  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacemakerNeuron_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
282908  }
282909  arg3 = reinterpret_cast< long * >(argp3);
282910  {
282911  try {
282912  (arg1)->SaveKeyFrameSnapshot(arg2,*arg3);
282913  }
282914  catch(CStdErrorInfo oError)
282915  {
282916  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282917  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282918  PyErr_SetString(PyExc_IndexError, strError.c_str());
282919  SWIG_fail;
282920  }
282921  catch(...)
282922  {
282923  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282924  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282925  SWIG_fail;
282926  }
282927  }
282928  resultobj = SWIG_Py_Void();
282929  return resultobj;
282930 fail:
282931  return NULL;
282932 }
282933 
282934 
282935 SWIGINTERN PyObject *_wrap_PacemakerNeuron_LoadKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282936  PyObject *resultobj = 0;
282938  byte *arg2 = (byte *) 0 ;
282939  long *arg3 = 0 ;
282940  void *argp1 = 0 ;
282941  int res1 = 0 ;
282942  void *argp2 = 0 ;
282943  int res2 = 0 ;
282944  void *argp3 = 0 ;
282945  int res3 = 0 ;
282946  PyObject * obj0 = 0 ;
282947  PyObject * obj1 = 0 ;
282948  PyObject * obj2 = 0 ;
282949 
282950  if (!PyArg_ParseTuple(args,(char *)"OOO:PacemakerNeuron_LoadKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
282951  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
282952  if (!SWIG_IsOK(res1)) {
282953  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_LoadKeyFrameSnapshot" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
282954  }
282955  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
282956  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
282957  if (!SWIG_IsOK(res2)) {
282958  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacemakerNeuron_LoadKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
282959  }
282960  arg2 = reinterpret_cast< byte * >(argp2);
282961  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
282962  if (!SWIG_IsOK(res3)) {
282963  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PacemakerNeuron_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
282964  }
282965  if (!argp3) {
282966  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacemakerNeuron_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
282967  }
282968  arg3 = reinterpret_cast< long * >(argp3);
282969  {
282970  try {
282971  (arg1)->LoadKeyFrameSnapshot(arg2,*arg3);
282972  }
282973  catch(CStdErrorInfo oError)
282974  {
282975  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282976  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
282977  PyErr_SetString(PyExc_IndexError, strError.c_str());
282978  SWIG_fail;
282979  }
282980  catch(...)
282981  {
282982  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
282983  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
282984  SWIG_fail;
282985  }
282986  }
282987  resultobj = SWIG_Py_Void();
282988  return resultobj;
282989 fail:
282990  return NULL;
282991 }
282992 
282993 
282994 SWIGINTERN PyObject *_wrap_PacemakerNeuron_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
282995  PyObject *resultobj = 0;
282997  StdUtils::CStdXml *arg2 = 0 ;
282998  void *argp1 = 0 ;
282999  int res1 = 0 ;
283000  void *argp2 = 0 ;
283001  int res2 = 0 ;
283002  PyObject * obj0 = 0 ;
283003  PyObject * obj1 = 0 ;
283004 
283005  if (!PyArg_ParseTuple(args,(char *)"OO:PacemakerNeuron_Load",&obj0,&obj1)) SWIG_fail;
283006  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, 0 | 0 );
283007  if (!SWIG_IsOK(res1)) {
283008  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacemakerNeuron_Load" "', argument " "1"" of type '" "FiringRateSim::Neurons::PacemakerNeuron *""'");
283009  }
283010  arg1 = reinterpret_cast< FiringRateSim::Neurons::PacemakerNeuron * >(argp1);
283011  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
283012  if (!SWIG_IsOK(res2)) {
283013  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacemakerNeuron_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
283014  }
283015  if (!argp2) {
283016  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacemakerNeuron_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
283017  }
283018  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
283019  {
283020  try {
283021  (arg1)->Load(*arg2);
283022  }
283023  catch(CStdErrorInfo oError)
283024  {
283025  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283026  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283027  PyErr_SetString(PyExc_IndexError, strError.c_str());
283028  SWIG_fail;
283029  }
283030  catch(...)
283031  {
283032  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283033  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283034  SWIG_fail;
283035  }
283036  }
283037  resultobj = SWIG_Py_Void();
283038  return resultobj;
283039 fail:
283040  return NULL;
283041 }
283042 
283043 
283044 SWIGINTERN PyObject *PacemakerNeuron_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283045  PyObject *obj;
283046  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
283047  SWIG_TypeNewClientData(SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron, SWIG_NewClientData(obj));
283048  return SWIG_Py_Void();
283049 }
283050 
283051 SWIGINTERN PyObject *_wrap_new_RandomNeuron(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283052  PyObject *resultobj = 0;
283054 
283055  if (!PyArg_ParseTuple(args,(char *)":new_RandomNeuron")) SWIG_fail;
283056  {
283057  try {
283059  }
283060  catch(CStdErrorInfo oError)
283061  {
283062  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283063  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283064  PyErr_SetString(PyExc_IndexError, strError.c_str());
283065  SWIG_fail;
283066  }
283067  catch(...)
283068  {
283069  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283070  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283071  SWIG_fail;
283072  }
283073  }
283074  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, SWIG_POINTER_NEW | 0 );
283075  return resultobj;
283076 fail:
283077  return NULL;
283078 }
283079 
283080 
283081 SWIGINTERN PyObject *_wrap_delete_RandomNeuron(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283082  PyObject *resultobj = 0;
283084  void *argp1 = 0 ;
283085  int res1 = 0 ;
283086  PyObject * obj0 = 0 ;
283087 
283088  if (!PyArg_ParseTuple(args,(char *)"O:delete_RandomNeuron",&obj0)) SWIG_fail;
283089  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, SWIG_POINTER_DISOWN | 0 );
283090  if (!SWIG_IsOK(res1)) {
283091  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RandomNeuron" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283092  }
283093  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283094  {
283095  try {
283096  delete arg1;
283097  }
283098  catch(CStdErrorInfo oError)
283099  {
283100  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283101  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283102  PyErr_SetString(PyExc_IndexError, strError.c_str());
283103  SWIG_fail;
283104  }
283105  catch(...)
283106  {
283107  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283108  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283109  SWIG_fail;
283110  }
283111  }
283112  resultobj = SWIG_Py_Void();
283113  return resultobj;
283114 fail:
283115  return NULL;
283116 }
283117 
283118 
283119 SWIGINTERN PyObject *_wrap_RandomNeuron_ITime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283120  PyObject *resultobj = 0;
283122  void *argp1 = 0 ;
283123  int res1 = 0 ;
283124  PyObject * obj0 = 0 ;
283125  float result;
283126 
283127  if (!PyArg_ParseTuple(args,(char *)"O:RandomNeuron_ITime",&obj0)) SWIG_fail;
283128  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
283129  if (!SWIG_IsOK(res1)) {
283130  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_ITime" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283131  }
283132  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283133  {
283134  try {
283135  result = (float)(arg1)->ITime();
283136  }
283137  catch(CStdErrorInfo oError)
283138  {
283139  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283140  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283141  PyErr_SetString(PyExc_IndexError, strError.c_str());
283142  SWIG_fail;
283143  }
283144  catch(...)
283145  {
283146  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283147  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283148  SWIG_fail;
283149  }
283150  }
283151  resultobj = SWIG_From_float(static_cast< float >(result));
283152  return resultobj;
283153 fail:
283154  return NULL;
283155 }
283156 
283157 
283158 SWIGINTERN PyObject *_wrap_RandomNeuron_ITime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283159  PyObject *resultobj = 0;
283161  float arg2 ;
283162  void *argp1 = 0 ;
283163  int res1 = 0 ;
283164  float val2 ;
283165  int ecode2 = 0 ;
283166  PyObject * obj0 = 0 ;
283167  PyObject * obj1 = 0 ;
283168 
283169  if (!PyArg_ParseTuple(args,(char *)"OO:RandomNeuron_ITime",&obj0,&obj1)) SWIG_fail;
283170  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
283171  if (!SWIG_IsOK(res1)) {
283172  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_ITime" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283173  }
283174  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283175  ecode2 = SWIG_AsVal_float(obj1, &val2);
283176  if (!SWIG_IsOK(ecode2)) {
283177  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RandomNeuron_ITime" "', argument " "2"" of type '" "float""'");
283178  }
283179  arg2 = static_cast< float >(val2);
283180  {
283181  try {
283182  (arg1)->ITime(arg2);
283183  }
283184  catch(CStdErrorInfo oError)
283185  {
283186  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283187  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283188  PyErr_SetString(PyExc_IndexError, strError.c_str());
283189  SWIG_fail;
283190  }
283191  catch(...)
283192  {
283193  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283194  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283195  SWIG_fail;
283196  }
283197  }
283198  resultobj = SWIG_Py_Void();
283199  return resultobj;
283200 fail:
283201  return NULL;
283202 }
283203 
283204 
283205 SWIGINTERN PyObject *_wrap_RandomNeuron_ITime(PyObject *self, PyObject *args) {
283206  int argc;
283207  PyObject *argv[3];
283208  int ii;
283209 
283210  if (!PyTuple_Check(args)) SWIG_fail;
283211  argc = args ? (int)PyObject_Length(args) : 0;
283212  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
283213  argv[ii] = PyTuple_GET_ITEM(args,ii);
283214  }
283215  if (argc == 1) {
283216  int _v;
283217  void *vptr = 0;
283218  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
283219  _v = SWIG_CheckState(res);
283220  if (_v) {
283221  return _wrap_RandomNeuron_ITime__SWIG_0(self, args);
283222  }
283223  }
283224  if (argc == 2) {
283225  int _v;
283226  void *vptr = 0;
283227  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
283228  _v = SWIG_CheckState(res);
283229  if (_v) {
283230  {
283231  int res = SWIG_AsVal_float(argv[1], NULL);
283232  _v = SWIG_CheckState(res);
283233  }
283234  if (_v) {
283235  return _wrap_RandomNeuron_ITime__SWIG_1(self, args);
283236  }
283237  }
283238  }
283239 
283240 fail:
283241  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RandomNeuron_ITime'.\n"
283242  " Possible C/C++ prototypes are:\n"
283243  " FiringRateSim::Neurons::RandomNeuron::ITime()\n"
283244  " FiringRateSim::Neurons::RandomNeuron::ITime(float)\n");
283245  return 0;
283246 }
283247 
283248 
283249 SWIGINTERN PyObject *_wrap_RandomNeuron_IntrinsicType__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283250  PyObject *resultobj = 0;
283252  void *argp1 = 0 ;
283253  int res1 = 0 ;
283254  PyObject * obj0 = 0 ;
283255  unsigned char result;
283256 
283257  if (!PyArg_ParseTuple(args,(char *)"O:RandomNeuron_IntrinsicType",&obj0)) SWIG_fail;
283258  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
283259  if (!SWIG_IsOK(res1)) {
283260  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_IntrinsicType" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283261  }
283262  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283263  {
283264  try {
283265  result = (unsigned char)(arg1)->IntrinsicType();
283266  }
283267  catch(CStdErrorInfo oError)
283268  {
283269  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283270  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283271  PyErr_SetString(PyExc_IndexError, strError.c_str());
283272  SWIG_fail;
283273  }
283274  catch(...)
283275  {
283276  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283277  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283278  SWIG_fail;
283279  }
283280  }
283281  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
283282  return resultobj;
283283 fail:
283284  return NULL;
283285 }
283286 
283287 
283288 SWIGINTERN PyObject *_wrap_RandomNeuron_IntrinsicType__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283289  PyObject *resultobj = 0;
283291  unsigned char arg2 ;
283292  void *argp1 = 0 ;
283293  int res1 = 0 ;
283294  unsigned char val2 ;
283295  int ecode2 = 0 ;
283296  PyObject * obj0 = 0 ;
283297  PyObject * obj1 = 0 ;
283298 
283299  if (!PyArg_ParseTuple(args,(char *)"OO:RandomNeuron_IntrinsicType",&obj0,&obj1)) SWIG_fail;
283300  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
283301  if (!SWIG_IsOK(res1)) {
283302  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_IntrinsicType" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283303  }
283304  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283305  ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
283306  if (!SWIG_IsOK(ecode2)) {
283307  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RandomNeuron_IntrinsicType" "', argument " "2"" of type '" "unsigned char""'");
283308  }
283309  arg2 = static_cast< unsigned char >(val2);
283310  {
283311  try {
283312  (arg1)->IntrinsicType(arg2);
283313  }
283314  catch(CStdErrorInfo oError)
283315  {
283316  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283317  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283318  PyErr_SetString(PyExc_IndexError, strError.c_str());
283319  SWIG_fail;
283320  }
283321  catch(...)
283322  {
283323  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283324  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283325  SWIG_fail;
283326  }
283327  }
283328  resultobj = SWIG_Py_Void();
283329  return resultobj;
283330 fail:
283331  return NULL;
283332 }
283333 
283334 
283335 SWIGINTERN PyObject *_wrap_RandomNeuron_IntrinsicType(PyObject *self, PyObject *args) {
283336  int argc;
283337  PyObject *argv[3];
283338  int ii;
283339 
283340  if (!PyTuple_Check(args)) SWIG_fail;
283341  argc = args ? (int)PyObject_Length(args) : 0;
283342  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
283343  argv[ii] = PyTuple_GET_ITEM(args,ii);
283344  }
283345  if (argc == 1) {
283346  int _v;
283347  void *vptr = 0;
283348  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
283349  _v = SWIG_CheckState(res);
283350  if (_v) {
283351  return _wrap_RandomNeuron_IntrinsicType__SWIG_0(self, args);
283352  }
283353  }
283354  if (argc == 2) {
283355  int _v;
283356  void *vptr = 0;
283357  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
283358  _v = SWIG_CheckState(res);
283359  if (_v) {
283360  {
283361  int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL);
283362  _v = SWIG_CheckState(res);
283363  }
283364  if (_v) {
283365  return _wrap_RandomNeuron_IntrinsicType__SWIG_1(self, args);
283366  }
283367  }
283368  }
283369 
283370 fail:
283371  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RandomNeuron_IntrinsicType'.\n"
283372  " Possible C/C++ prototypes are:\n"
283373  " FiringRateSim::Neurons::RandomNeuron::IntrinsicType()\n"
283374  " FiringRateSim::Neurons::RandomNeuron::IntrinsicType(unsigned char)\n");
283375  return 0;
283376 }
283377 
283378 
283379 SWIGINTERN PyObject *_wrap_RandomNeuron_IntrinsicCurrent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283380  PyObject *resultobj = 0;
283382  void *argp1 = 0 ;
283383  int res1 = 0 ;
283384  PyObject * obj0 = 0 ;
283385  float result;
283386 
283387  if (!PyArg_ParseTuple(args,(char *)"O:RandomNeuron_IntrinsicCurrent",&obj0)) SWIG_fail;
283388  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
283389  if (!SWIG_IsOK(res1)) {
283390  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_IntrinsicCurrent" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283391  }
283392  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283393  {
283394  try {
283395  result = (float)(arg1)->IntrinsicCurrent();
283396  }
283397  catch(CStdErrorInfo oError)
283398  {
283399  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283400  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283401  PyErr_SetString(PyExc_IndexError, strError.c_str());
283402  SWIG_fail;
283403  }
283404  catch(...)
283405  {
283406  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283407  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283408  SWIG_fail;
283409  }
283410  }
283411  resultobj = SWIG_From_float(static_cast< float >(result));
283412  return resultobj;
283413 fail:
283414  return NULL;
283415 }
283416 
283417 
283418 SWIGINTERN PyObject *_wrap_RandomNeuron_IntrinsicCurrent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283419  PyObject *resultobj = 0;
283421  float arg2 ;
283422  void *argp1 = 0 ;
283423  int res1 = 0 ;
283424  float val2 ;
283425  int ecode2 = 0 ;
283426  PyObject * obj0 = 0 ;
283427  PyObject * obj1 = 0 ;
283428 
283429  if (!PyArg_ParseTuple(args,(char *)"OO:RandomNeuron_IntrinsicCurrent",&obj0,&obj1)) SWIG_fail;
283430  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
283431  if (!SWIG_IsOK(res1)) {
283432  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_IntrinsicCurrent" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283433  }
283434  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283435  ecode2 = SWIG_AsVal_float(obj1, &val2);
283436  if (!SWIG_IsOK(ecode2)) {
283437  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RandomNeuron_IntrinsicCurrent" "', argument " "2"" of type '" "float""'");
283438  }
283439  arg2 = static_cast< float >(val2);
283440  {
283441  try {
283442  (arg1)->IntrinsicCurrent(arg2);
283443  }
283444  catch(CStdErrorInfo oError)
283445  {
283446  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283447  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283448  PyErr_SetString(PyExc_IndexError, strError.c_str());
283449  SWIG_fail;
283450  }
283451  catch(...)
283452  {
283453  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283454  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283455  SWIG_fail;
283456  }
283457  }
283458  resultobj = SWIG_Py_Void();
283459  return resultobj;
283460 fail:
283461  return NULL;
283462 }
283463 
283464 
283465 SWIGINTERN PyObject *_wrap_RandomNeuron_IntrinsicCurrent(PyObject *self, PyObject *args) {
283466  int argc;
283467  PyObject *argv[3];
283468  int ii;
283469 
283470  if (!PyTuple_Check(args)) SWIG_fail;
283471  argc = args ? (int)PyObject_Length(args) : 0;
283472  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
283473  argv[ii] = PyTuple_GET_ITEM(args,ii);
283474  }
283475  if (argc == 1) {
283476  int _v;
283477  void *vptr = 0;
283478  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
283479  _v = SWIG_CheckState(res);
283480  if (_v) {
283481  return _wrap_RandomNeuron_IntrinsicCurrent__SWIG_0(self, args);
283482  }
283483  }
283484  if (argc == 2) {
283485  int _v;
283486  void *vptr = 0;
283487  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
283488  _v = SWIG_CheckState(res);
283489  if (_v) {
283490  {
283491  int res = SWIG_AsVal_float(argv[1], NULL);
283492  _v = SWIG_CheckState(res);
283493  }
283494  if (_v) {
283495  return _wrap_RandomNeuron_IntrinsicCurrent__SWIG_1(self, args);
283496  }
283497  }
283498  }
283499 
283500 fail:
283501  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RandomNeuron_IntrinsicCurrent'.\n"
283502  " Possible C/C++ prototypes are:\n"
283503  " FiringRateSim::Neurons::RandomNeuron::IntrinsicCurrent()\n"
283504  " FiringRateSim::Neurons::RandomNeuron::IntrinsicCurrent(float)\n");
283505  return 0;
283506 }
283507 
283508 
283509 SWIGINTERN PyObject *_wrap_RandomNeuron_Il__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283510  PyObject *resultobj = 0;
283512  void *argp1 = 0 ;
283513  int res1 = 0 ;
283514  PyObject * obj0 = 0 ;
283515  float result;
283516 
283517  if (!PyArg_ParseTuple(args,(char *)"O:RandomNeuron_Il",&obj0)) SWIG_fail;
283518  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
283519  if (!SWIG_IsOK(res1)) {
283520  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_Il" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283521  }
283522  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283523  {
283524  try {
283525  result = (float)(arg1)->Il();
283526  }
283527  catch(CStdErrorInfo oError)
283528  {
283529  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283530  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283531  PyErr_SetString(PyExc_IndexError, strError.c_str());
283532  SWIG_fail;
283533  }
283534  catch(...)
283535  {
283536  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283537  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283538  SWIG_fail;
283539  }
283540  }
283541  resultobj = SWIG_From_float(static_cast< float >(result));
283542  return resultobj;
283543 fail:
283544  return NULL;
283545 }
283546 
283547 
283548 SWIGINTERN PyObject *_wrap_RandomNeuron_Il__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283549  PyObject *resultobj = 0;
283551  float arg2 ;
283552  void *argp1 = 0 ;
283553  int res1 = 0 ;
283554  float val2 ;
283555  int ecode2 = 0 ;
283556  PyObject * obj0 = 0 ;
283557  PyObject * obj1 = 0 ;
283558 
283559  if (!PyArg_ParseTuple(args,(char *)"OO:RandomNeuron_Il",&obj0,&obj1)) SWIG_fail;
283560  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
283561  if (!SWIG_IsOK(res1)) {
283562  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_Il" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283563  }
283564  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283565  ecode2 = SWIG_AsVal_float(obj1, &val2);
283566  if (!SWIG_IsOK(ecode2)) {
283567  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RandomNeuron_Il" "', argument " "2"" of type '" "float""'");
283568  }
283569  arg2 = static_cast< float >(val2);
283570  {
283571  try {
283572  (arg1)->Il(arg2);
283573  }
283574  catch(CStdErrorInfo oError)
283575  {
283576  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283577  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283578  PyErr_SetString(PyExc_IndexError, strError.c_str());
283579  SWIG_fail;
283580  }
283581  catch(...)
283582  {
283583  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283584  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283585  SWIG_fail;
283586  }
283587  }
283588  resultobj = SWIG_Py_Void();
283589  return resultobj;
283590 fail:
283591  return NULL;
283592 }
283593 
283594 
283595 SWIGINTERN PyObject *_wrap_RandomNeuron_Il(PyObject *self, PyObject *args) {
283596  int argc;
283597  PyObject *argv[3];
283598  int ii;
283599 
283600  if (!PyTuple_Check(args)) SWIG_fail;
283601  argc = args ? (int)PyObject_Length(args) : 0;
283602  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
283603  argv[ii] = PyTuple_GET_ITEM(args,ii);
283604  }
283605  if (argc == 1) {
283606  int _v;
283607  void *vptr = 0;
283608  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
283609  _v = SWIG_CheckState(res);
283610  if (_v) {
283611  return _wrap_RandomNeuron_Il__SWIG_0(self, args);
283612  }
283613  }
283614  if (argc == 2) {
283615  int _v;
283616  void *vptr = 0;
283617  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
283618  _v = SWIG_CheckState(res);
283619  if (_v) {
283620  {
283621  int res = SWIG_AsVal_float(argv[1], NULL);
283622  _v = SWIG_CheckState(res);
283623  }
283624  if (_v) {
283625  return _wrap_RandomNeuron_Il__SWIG_1(self, args);
283626  }
283627  }
283628  }
283629 
283630 fail:
283631  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RandomNeuron_Il'.\n"
283632  " Possible C/C++ prototypes are:\n"
283633  " FiringRateSim::Neurons::RandomNeuron::Il()\n"
283634  " FiringRateSim::Neurons::RandomNeuron::Il(float)\n");
283635  return 0;
283636 }
283637 
283638 
283639 SWIGINTERN PyObject *_wrap_RandomNeuron_Ilinit__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283640  PyObject *resultobj = 0;
283642  void *argp1 = 0 ;
283643  int res1 = 0 ;
283644  PyObject * obj0 = 0 ;
283645  float result;
283646 
283647  if (!PyArg_ParseTuple(args,(char *)"O:RandomNeuron_Ilinit",&obj0)) SWIG_fail;
283648  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
283649  if (!SWIG_IsOK(res1)) {
283650  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_Ilinit" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283651  }
283652  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283653  {
283654  try {
283655  result = (float)(arg1)->Ilinit();
283656  }
283657  catch(CStdErrorInfo oError)
283658  {
283659  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283660  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283661  PyErr_SetString(PyExc_IndexError, strError.c_str());
283662  SWIG_fail;
283663  }
283664  catch(...)
283665  {
283666  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283667  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283668  SWIG_fail;
283669  }
283670  }
283671  resultobj = SWIG_From_float(static_cast< float >(result));
283672  return resultobj;
283673 fail:
283674  return NULL;
283675 }
283676 
283677 
283678 SWIGINTERN PyObject *_wrap_RandomNeuron_Ilinit__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283679  PyObject *resultobj = 0;
283681  float arg2 ;
283682  void *argp1 = 0 ;
283683  int res1 = 0 ;
283684  float val2 ;
283685  int ecode2 = 0 ;
283686  PyObject * obj0 = 0 ;
283687  PyObject * obj1 = 0 ;
283688 
283689  if (!PyArg_ParseTuple(args,(char *)"OO:RandomNeuron_Ilinit",&obj0,&obj1)) SWIG_fail;
283690  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
283691  if (!SWIG_IsOK(res1)) {
283692  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_Ilinit" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283693  }
283694  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283695  ecode2 = SWIG_AsVal_float(obj1, &val2);
283696  if (!SWIG_IsOK(ecode2)) {
283697  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RandomNeuron_Ilinit" "', argument " "2"" of type '" "float""'");
283698  }
283699  arg2 = static_cast< float >(val2);
283700  {
283701  try {
283702  (arg1)->Ilinit(arg2);
283703  }
283704  catch(CStdErrorInfo oError)
283705  {
283706  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283707  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283708  PyErr_SetString(PyExc_IndexError, strError.c_str());
283709  SWIG_fail;
283710  }
283711  catch(...)
283712  {
283713  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283714  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283715  SWIG_fail;
283716  }
283717  }
283718  resultobj = SWIG_Py_Void();
283719  return resultobj;
283720 fail:
283721  return NULL;
283722 }
283723 
283724 
283725 SWIGINTERN PyObject *_wrap_RandomNeuron_Ilinit(PyObject *self, PyObject *args) {
283726  int argc;
283727  PyObject *argv[3];
283728  int ii;
283729 
283730  if (!PyTuple_Check(args)) SWIG_fail;
283731  argc = args ? (int)PyObject_Length(args) : 0;
283732  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
283733  argv[ii] = PyTuple_GET_ITEM(args,ii);
283734  }
283735  if (argc == 1) {
283736  int _v;
283737  void *vptr = 0;
283738  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
283739  _v = SWIG_CheckState(res);
283740  if (_v) {
283741  return _wrap_RandomNeuron_Ilinit__SWIG_0(self, args);
283742  }
283743  }
283744  if (argc == 2) {
283745  int _v;
283746  void *vptr = 0;
283747  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
283748  _v = SWIG_CheckState(res);
283749  if (_v) {
283750  {
283751  int res = SWIG_AsVal_float(argv[1], NULL);
283752  _v = SWIG_CheckState(res);
283753  }
283754  if (_v) {
283755  return _wrap_RandomNeuron_Ilinit__SWIG_1(self, args);
283756  }
283757  }
283758  }
283759 
283760 fail:
283761  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RandomNeuron_Ilinit'.\n"
283762  " Possible C/C++ prototypes are:\n"
283763  " FiringRateSim::Neurons::RandomNeuron::Ilinit()\n"
283764  " FiringRateSim::Neurons::RandomNeuron::Ilinit(float)\n");
283765  return 0;
283766 }
283767 
283768 
283769 SWIGINTERN PyObject *_wrap_RandomNeuron_NeuronType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283770  PyObject *resultobj = 0;
283772  void *argp1 = 0 ;
283773  int res1 = 0 ;
283774  PyObject * obj0 = 0 ;
283775  unsigned char result;
283776 
283777  if (!PyArg_ParseTuple(args,(char *)"O:RandomNeuron_NeuronType",&obj0)) SWIG_fail;
283778  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
283779  if (!SWIG_IsOK(res1)) {
283780  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_NeuronType" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283781  }
283782  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283783  {
283784  try {
283785  result = (unsigned char)(arg1)->NeuronType();
283786  }
283787  catch(CStdErrorInfo oError)
283788  {
283789  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283790  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283791  PyErr_SetString(PyExc_IndexError, strError.c_str());
283792  SWIG_fail;
283793  }
283794  catch(...)
283795  {
283796  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283797  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283798  SWIG_fail;
283799  }
283800  }
283801  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
283802  return resultobj;
283803 fail:
283804  return NULL;
283805 }
283806 
283807 
283808 SWIGINTERN PyObject *_wrap_RandomNeuron_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283809  PyObject *resultobj = 0;
283812  void *argp1 = 0 ;
283813  int res1 = 0 ;
283814  void *argp2 = 0 ;
283815  int res2 = 0 ;
283816  PyObject * obj0 = 0 ;
283817  PyObject * obj1 = 0 ;
283818 
283819  if (!PyArg_ParseTuple(args,(char *)"OO:RandomNeuron_Copy",&obj0,&obj1)) SWIG_fail;
283820  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
283821  if (!SWIG_IsOK(res1)) {
283822  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_Copy" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283823  }
283824  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283825  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
283826  if (!SWIG_IsOK(res2)) {
283827  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RandomNeuron_Copy" "', argument " "2"" of type '" "StdUtils::CStdSerialize *""'");
283828  }
283829  arg2 = reinterpret_cast< StdUtils::CStdSerialize * >(argp2);
283830  {
283831  try {
283832  (arg1)->Copy(arg2);
283833  }
283834  catch(CStdErrorInfo oError)
283835  {
283836  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283837  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283838  PyErr_SetString(PyExc_IndexError, strError.c_str());
283839  SWIG_fail;
283840  }
283841  catch(...)
283842  {
283843  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283844  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283845  SWIG_fail;
283846  }
283847  }
283848  resultobj = SWIG_Py_Void();
283849  return resultobj;
283850 fail:
283851  return NULL;
283852 }
283853 
283854 
283855 SWIGINTERN PyObject *_wrap_RandomNeuron_CurrentDistribution__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283856  PyObject *resultobj = 0;
283858  void *argp1 = 0 ;
283859  int res1 = 0 ;
283860  PyObject * obj0 = 0 ;
283861  AnimatSim::Gains::Gain *result = 0 ;
283862 
283863  if (!PyArg_ParseTuple(args,(char *)"O:RandomNeuron_CurrentDistribution",&obj0)) SWIG_fail;
283864  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
283865  if (!SWIG_IsOK(res1)) {
283866  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_CurrentDistribution" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283867  }
283868  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283869  {
283870  try {
283871  result = (AnimatSim::Gains::Gain *)(arg1)->CurrentDistribution();
283872  }
283873  catch(CStdErrorInfo oError)
283874  {
283875  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283876  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283877  PyErr_SetString(PyExc_IndexError, strError.c_str());
283878  SWIG_fail;
283879  }
283880  catch(...)
283881  {
283882  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283883  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283884  SWIG_fail;
283885  }
283886  }
283887  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
283888  return resultobj;
283889 fail:
283890  return NULL;
283891 }
283892 
283893 
283894 SWIGINTERN PyObject *_wrap_RandomNeuron_CurrentDistribution__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283895  PyObject *resultobj = 0;
283898  void *argp1 = 0 ;
283899  int res1 = 0 ;
283900  void *argp2 = 0 ;
283901  int res2 = 0 ;
283902  PyObject * obj0 = 0 ;
283903  PyObject * obj1 = 0 ;
283904 
283905  if (!PyArg_ParseTuple(args,(char *)"OO:RandomNeuron_CurrentDistribution",&obj0,&obj1)) SWIG_fail;
283906  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
283907  if (!SWIG_IsOK(res1)) {
283908  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_CurrentDistribution" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283909  }
283910  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283911  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
283912  if (!SWIG_IsOK(res2)) {
283913  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RandomNeuron_CurrentDistribution" "', argument " "2"" of type '" "AnimatSim::Gains::Gain *""'");
283914  }
283915  arg2 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp2);
283916  {
283917  try {
283918  (arg1)->CurrentDistribution(arg2);
283919  }
283920  catch(CStdErrorInfo oError)
283921  {
283922  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283923  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283924  PyErr_SetString(PyExc_IndexError, strError.c_str());
283925  SWIG_fail;
283926  }
283927  catch(...)
283928  {
283929  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283930  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283931  SWIG_fail;
283932  }
283933  }
283934  resultobj = SWIG_Py_Void();
283935  return resultobj;
283936 fail:
283937  return NULL;
283938 }
283939 
283940 
283941 SWIGINTERN PyObject *_wrap_RandomNeuron_CurrentDistribution__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
283942  PyObject *resultobj = 0;
283944  std::string arg2 ;
283945  void *argp1 = 0 ;
283946  int res1 = 0 ;
283947  PyObject * obj0 = 0 ;
283948  PyObject * obj1 = 0 ;
283949 
283950  if (!PyArg_ParseTuple(args,(char *)"OO:RandomNeuron_CurrentDistribution",&obj0,&obj1)) SWIG_fail;
283951  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
283952  if (!SWIG_IsOK(res1)) {
283953  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_CurrentDistribution" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
283954  }
283955  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
283956  {
283957  std::string *ptr = (std::string *)0;
283958  int res = SWIG_AsPtr_std_string(obj1, &ptr);
283959  if (!SWIG_IsOK(res) || !ptr) {
283960  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RandomNeuron_CurrentDistribution" "', argument " "2"" of type '" "std::string""'");
283961  }
283962  arg2 = *ptr;
283963  if (SWIG_IsNewObj(res)) delete ptr;
283964  }
283965  {
283966  try {
283967  (arg1)->CurrentDistribution(arg2);
283968  }
283969  catch(CStdErrorInfo oError)
283970  {
283971  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283972  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
283973  PyErr_SetString(PyExc_IndexError, strError.c_str());
283974  SWIG_fail;
283975  }
283976  catch(...)
283977  {
283978  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
283979  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
283980  SWIG_fail;
283981  }
283982  }
283983  resultobj = SWIG_Py_Void();
283984  return resultobj;
283985 fail:
283986  return NULL;
283987 }
283988 
283989 
283990 SWIGINTERN PyObject *_wrap_RandomNeuron_CurrentDistribution(PyObject *self, PyObject *args) {
283991  int argc;
283992  PyObject *argv[3];
283993  int ii;
283994 
283995  if (!PyTuple_Check(args)) SWIG_fail;
283996  argc = args ? (int)PyObject_Length(args) : 0;
283997  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
283998  argv[ii] = PyTuple_GET_ITEM(args,ii);
283999  }
284000  if (argc == 1) {
284001  int _v;
284002  void *vptr = 0;
284003  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
284004  _v = SWIG_CheckState(res);
284005  if (_v) {
284006  return _wrap_RandomNeuron_CurrentDistribution__SWIG_0(self, args);
284007  }
284008  }
284009  if (argc == 2) {
284010  int _v;
284011  void *vptr = 0;
284012  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
284013  _v = SWIG_CheckState(res);
284014  if (_v) {
284015  void *vptr = 0;
284016  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
284017  _v = SWIG_CheckState(res);
284018  if (_v) {
284019  return _wrap_RandomNeuron_CurrentDistribution__SWIG_1(self, args);
284020  }
284021  }
284022  }
284023  if (argc == 2) {
284024  int _v;
284025  void *vptr = 0;
284026  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
284027  _v = SWIG_CheckState(res);
284028  if (_v) {
284029  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
284030  _v = SWIG_CheckState(res);
284031  if (_v) {
284032  return _wrap_RandomNeuron_CurrentDistribution__SWIG_2(self, args);
284033  }
284034  }
284035  }
284036 
284037 fail:
284038  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RandomNeuron_CurrentDistribution'.\n"
284039  " Possible C/C++ prototypes are:\n"
284040  " FiringRateSim::Neurons::RandomNeuron::CurrentDistribution()\n"
284041  " FiringRateSim::Neurons::RandomNeuron::CurrentDistribution(AnimatSim::Gains::Gain *)\n"
284042  " FiringRateSim::Neurons::RandomNeuron::CurrentDistribution(std::string)\n");
284043  return 0;
284044 }
284045 
284046 
284047 SWIGINTERN PyObject *_wrap_RandomNeuron_BurstLengthDistribution__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284048  PyObject *resultobj = 0;
284050  void *argp1 = 0 ;
284051  int res1 = 0 ;
284052  PyObject * obj0 = 0 ;
284053  AnimatSim::Gains::Gain *result = 0 ;
284054 
284055  if (!PyArg_ParseTuple(args,(char *)"O:RandomNeuron_BurstLengthDistribution",&obj0)) SWIG_fail;
284056  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
284057  if (!SWIG_IsOK(res1)) {
284058  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_BurstLengthDistribution" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
284059  }
284060  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
284061  {
284062  try {
284063  result = (AnimatSim::Gains::Gain *)(arg1)->BurstLengthDistribution();
284064  }
284065  catch(CStdErrorInfo oError)
284066  {
284067  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284068  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284069  PyErr_SetString(PyExc_IndexError, strError.c_str());
284070  SWIG_fail;
284071  }
284072  catch(...)
284073  {
284074  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284075  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
284076  SWIG_fail;
284077  }
284078  }
284079  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
284080  return resultobj;
284081 fail:
284082  return NULL;
284083 }
284084 
284085 
284086 SWIGINTERN PyObject *_wrap_RandomNeuron_BurstLengthDistribution__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284087  PyObject *resultobj = 0;
284090  void *argp1 = 0 ;
284091  int res1 = 0 ;
284092  void *argp2 = 0 ;
284093  int res2 = 0 ;
284094  PyObject * obj0 = 0 ;
284095  PyObject * obj1 = 0 ;
284096 
284097  if (!PyArg_ParseTuple(args,(char *)"OO:RandomNeuron_BurstLengthDistribution",&obj0,&obj1)) SWIG_fail;
284098  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
284099  if (!SWIG_IsOK(res1)) {
284100  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_BurstLengthDistribution" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
284101  }
284102  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
284103  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
284104  if (!SWIG_IsOK(res2)) {
284105  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RandomNeuron_BurstLengthDistribution" "', argument " "2"" of type '" "AnimatSim::Gains::Gain *""'");
284106  }
284107  arg2 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp2);
284108  {
284109  try {
284110  (arg1)->BurstLengthDistribution(arg2);
284111  }
284112  catch(CStdErrorInfo oError)
284113  {
284114  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284115  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284116  PyErr_SetString(PyExc_IndexError, strError.c_str());
284117  SWIG_fail;
284118  }
284119  catch(...)
284120  {
284121  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284122  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
284123  SWIG_fail;
284124  }
284125  }
284126  resultobj = SWIG_Py_Void();
284127  return resultobj;
284128 fail:
284129  return NULL;
284130 }
284131 
284132 
284133 SWIGINTERN PyObject *_wrap_RandomNeuron_BurstLengthDistribution__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284134  PyObject *resultobj = 0;
284136  std::string arg2 ;
284137  void *argp1 = 0 ;
284138  int res1 = 0 ;
284139  PyObject * obj0 = 0 ;
284140  PyObject * obj1 = 0 ;
284141 
284142  if (!PyArg_ParseTuple(args,(char *)"OO:RandomNeuron_BurstLengthDistribution",&obj0,&obj1)) SWIG_fail;
284143  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
284144  if (!SWIG_IsOK(res1)) {
284145  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_BurstLengthDistribution" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
284146  }
284147  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
284148  {
284149  std::string *ptr = (std::string *)0;
284150  int res = SWIG_AsPtr_std_string(obj1, &ptr);
284151  if (!SWIG_IsOK(res) || !ptr) {
284152  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RandomNeuron_BurstLengthDistribution" "', argument " "2"" of type '" "std::string""'");
284153  }
284154  arg2 = *ptr;
284155  if (SWIG_IsNewObj(res)) delete ptr;
284156  }
284157  {
284158  try {
284159  (arg1)->BurstLengthDistribution(arg2);
284160  }
284161  catch(CStdErrorInfo oError)
284162  {
284163  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284164  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284165  PyErr_SetString(PyExc_IndexError, strError.c_str());
284166  SWIG_fail;
284167  }
284168  catch(...)
284169  {
284170  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284171  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
284172  SWIG_fail;
284173  }
284174  }
284175  resultobj = SWIG_Py_Void();
284176  return resultobj;
284177 fail:
284178  return NULL;
284179 }
284180 
284181 
284182 SWIGINTERN PyObject *_wrap_RandomNeuron_BurstLengthDistribution(PyObject *self, PyObject *args) {
284183  int argc;
284184  PyObject *argv[3];
284185  int ii;
284186 
284187  if (!PyTuple_Check(args)) SWIG_fail;
284188  argc = args ? (int)PyObject_Length(args) : 0;
284189  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
284190  argv[ii] = PyTuple_GET_ITEM(args,ii);
284191  }
284192  if (argc == 1) {
284193  int _v;
284194  void *vptr = 0;
284195  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
284196  _v = SWIG_CheckState(res);
284197  if (_v) {
284198  return _wrap_RandomNeuron_BurstLengthDistribution__SWIG_0(self, args);
284199  }
284200  }
284201  if (argc == 2) {
284202  int _v;
284203  void *vptr = 0;
284204  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
284205  _v = SWIG_CheckState(res);
284206  if (_v) {
284207  void *vptr = 0;
284208  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
284209  _v = SWIG_CheckState(res);
284210  if (_v) {
284211  return _wrap_RandomNeuron_BurstLengthDistribution__SWIG_1(self, args);
284212  }
284213  }
284214  }
284215  if (argc == 2) {
284216  int _v;
284217  void *vptr = 0;
284218  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
284219  _v = SWIG_CheckState(res);
284220  if (_v) {
284221  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
284222  _v = SWIG_CheckState(res);
284223  if (_v) {
284224  return _wrap_RandomNeuron_BurstLengthDistribution__SWIG_2(self, args);
284225  }
284226  }
284227  }
284228 
284229 fail:
284230  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RandomNeuron_BurstLengthDistribution'.\n"
284231  " Possible C/C++ prototypes are:\n"
284232  " FiringRateSim::Neurons::RandomNeuron::BurstLengthDistribution()\n"
284233  " FiringRateSim::Neurons::RandomNeuron::BurstLengthDistribution(AnimatSim::Gains::Gain *)\n"
284234  " FiringRateSim::Neurons::RandomNeuron::BurstLengthDistribution(std::string)\n");
284235  return 0;
284236 }
284237 
284238 
284239 SWIGINTERN PyObject *_wrap_RandomNeuron_InterbusrtLengthDistribution__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284240  PyObject *resultobj = 0;
284242  void *argp1 = 0 ;
284243  int res1 = 0 ;
284244  PyObject * obj0 = 0 ;
284245  AnimatSim::Gains::Gain *result = 0 ;
284246 
284247  if (!PyArg_ParseTuple(args,(char *)"O:RandomNeuron_InterbusrtLengthDistribution",&obj0)) SWIG_fail;
284248  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
284249  if (!SWIG_IsOK(res1)) {
284250  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_InterbusrtLengthDistribution" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
284251  }
284252  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
284253  {
284254  try {
284255  result = (AnimatSim::Gains::Gain *)(arg1)->InterbusrtLengthDistribution();
284256  }
284257  catch(CStdErrorInfo oError)
284258  {
284259  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284260  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284261  PyErr_SetString(PyExc_IndexError, strError.c_str());
284262  SWIG_fail;
284263  }
284264  catch(...)
284265  {
284266  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284267  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
284268  SWIG_fail;
284269  }
284270  }
284271  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
284272  return resultobj;
284273 fail:
284274  return NULL;
284275 }
284276 
284277 
284278 SWIGINTERN PyObject *_wrap_RandomNeuron_InterbusrtLengthDistribution__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284279  PyObject *resultobj = 0;
284282  void *argp1 = 0 ;
284283  int res1 = 0 ;
284284  void *argp2 = 0 ;
284285  int res2 = 0 ;
284286  PyObject * obj0 = 0 ;
284287  PyObject * obj1 = 0 ;
284288 
284289  if (!PyArg_ParseTuple(args,(char *)"OO:RandomNeuron_InterbusrtLengthDistribution",&obj0,&obj1)) SWIG_fail;
284290  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
284291  if (!SWIG_IsOK(res1)) {
284292  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_InterbusrtLengthDistribution" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
284293  }
284294  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
284295  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
284296  if (!SWIG_IsOK(res2)) {
284297  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RandomNeuron_InterbusrtLengthDistribution" "', argument " "2"" of type '" "AnimatSim::Gains::Gain *""'");
284298  }
284299  arg2 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp2);
284300  {
284301  try {
284302  (arg1)->InterbusrtLengthDistribution(arg2);
284303  }
284304  catch(CStdErrorInfo oError)
284305  {
284306  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284307  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284308  PyErr_SetString(PyExc_IndexError, strError.c_str());
284309  SWIG_fail;
284310  }
284311  catch(...)
284312  {
284313  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284314  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
284315  SWIG_fail;
284316  }
284317  }
284318  resultobj = SWIG_Py_Void();
284319  return resultobj;
284320 fail:
284321  return NULL;
284322 }
284323 
284324 
284325 SWIGINTERN PyObject *_wrap_RandomNeuron_InterbusrtLengthDistribution__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284326  PyObject *resultobj = 0;
284328  std::string arg2 ;
284329  void *argp1 = 0 ;
284330  int res1 = 0 ;
284331  PyObject * obj0 = 0 ;
284332  PyObject * obj1 = 0 ;
284333 
284334  if (!PyArg_ParseTuple(args,(char *)"OO:RandomNeuron_InterbusrtLengthDistribution",&obj0,&obj1)) SWIG_fail;
284335  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
284336  if (!SWIG_IsOK(res1)) {
284337  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_InterbusrtLengthDistribution" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
284338  }
284339  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
284340  {
284341  std::string *ptr = (std::string *)0;
284342  int res = SWIG_AsPtr_std_string(obj1, &ptr);
284343  if (!SWIG_IsOK(res) || !ptr) {
284344  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "RandomNeuron_InterbusrtLengthDistribution" "', argument " "2"" of type '" "std::string""'");
284345  }
284346  arg2 = *ptr;
284347  if (SWIG_IsNewObj(res)) delete ptr;
284348  }
284349  {
284350  try {
284351  (arg1)->InterbusrtLengthDistribution(arg2);
284352  }
284353  catch(CStdErrorInfo oError)
284354  {
284355  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284356  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284357  PyErr_SetString(PyExc_IndexError, strError.c_str());
284358  SWIG_fail;
284359  }
284360  catch(...)
284361  {
284362  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284363  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
284364  SWIG_fail;
284365  }
284366  }
284367  resultobj = SWIG_Py_Void();
284368  return resultobj;
284369 fail:
284370  return NULL;
284371 }
284372 
284373 
284374 SWIGINTERN PyObject *_wrap_RandomNeuron_InterbusrtLengthDistribution(PyObject *self, PyObject *args) {
284375  int argc;
284376  PyObject *argv[3];
284377  int ii;
284378 
284379  if (!PyTuple_Check(args)) SWIG_fail;
284380  argc = args ? (int)PyObject_Length(args) : 0;
284381  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
284382  argv[ii] = PyTuple_GET_ITEM(args,ii);
284383  }
284384  if (argc == 1) {
284385  int _v;
284386  void *vptr = 0;
284387  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
284388  _v = SWIG_CheckState(res);
284389  if (_v) {
284390  return _wrap_RandomNeuron_InterbusrtLengthDistribution__SWIG_0(self, args);
284391  }
284392  }
284393  if (argc == 2) {
284394  int _v;
284395  void *vptr = 0;
284396  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
284397  _v = SWIG_CheckState(res);
284398  if (_v) {
284399  void *vptr = 0;
284400  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
284401  _v = SWIG_CheckState(res);
284402  if (_v) {
284403  return _wrap_RandomNeuron_InterbusrtLengthDistribution__SWIG_1(self, args);
284404  }
284405  }
284406  }
284407  if (argc == 2) {
284408  int _v;
284409  void *vptr = 0;
284410  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
284411  _v = SWIG_CheckState(res);
284412  if (_v) {
284413  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
284414  _v = SWIG_CheckState(res);
284415  if (_v) {
284416  return _wrap_RandomNeuron_InterbusrtLengthDistribution__SWIG_2(self, args);
284417  }
284418  }
284419  }
284420 
284421 fail:
284422  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RandomNeuron_InterbusrtLengthDistribution'.\n"
284423  " Possible C/C++ prototypes are:\n"
284424  " FiringRateSim::Neurons::RandomNeuron::InterbusrtLengthDistribution()\n"
284425  " FiringRateSim::Neurons::RandomNeuron::InterbusrtLengthDistribution(AnimatSim::Gains::Gain *)\n"
284426  " FiringRateSim::Neurons::RandomNeuron::InterbusrtLengthDistribution(std::string)\n");
284427  return 0;
284428 }
284429 
284430 
284431 SWIGINTERN PyObject *_wrap_RandomNeuron_CalculateSnapshotByteSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284432  PyObject *resultobj = 0;
284434  void *argp1 = 0 ;
284435  int res1 = 0 ;
284436  PyObject * obj0 = 0 ;
284437  long result;
284438 
284439  if (!PyArg_ParseTuple(args,(char *)"O:RandomNeuron_CalculateSnapshotByteSize",&obj0)) SWIG_fail;
284440  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
284441  if (!SWIG_IsOK(res1)) {
284442  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_CalculateSnapshotByteSize" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
284443  }
284444  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
284445  {
284446  try {
284447  result = (long)(arg1)->CalculateSnapshotByteSize();
284448  }
284449  catch(CStdErrorInfo oError)
284450  {
284451  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284452  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284453  PyErr_SetString(PyExc_IndexError, strError.c_str());
284454  SWIG_fail;
284455  }
284456  catch(...)
284457  {
284458  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284459  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
284460  SWIG_fail;
284461  }
284462  }
284463  resultobj = SWIG_From_long(static_cast< long >(result));
284464  return resultobj;
284465 fail:
284466  return NULL;
284467 }
284468 
284469 
284470 SWIGINTERN PyObject *_wrap_RandomNeuron_SaveKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284471  PyObject *resultobj = 0;
284473  byte *arg2 = (byte *) 0 ;
284474  long *arg3 = 0 ;
284475  void *argp1 = 0 ;
284476  int res1 = 0 ;
284477  void *argp2 = 0 ;
284478  int res2 = 0 ;
284479  void *argp3 = 0 ;
284480  int res3 = 0 ;
284481  PyObject * obj0 = 0 ;
284482  PyObject * obj1 = 0 ;
284483  PyObject * obj2 = 0 ;
284484 
284485  if (!PyArg_ParseTuple(args,(char *)"OOO:RandomNeuron_SaveKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
284486  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
284487  if (!SWIG_IsOK(res1)) {
284488  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_SaveKeyFrameSnapshot" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
284489  }
284490  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
284491  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
284492  if (!SWIG_IsOK(res2)) {
284493  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RandomNeuron_SaveKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
284494  }
284495  arg2 = reinterpret_cast< byte * >(argp2);
284496  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
284497  if (!SWIG_IsOK(res3)) {
284498  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RandomNeuron_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
284499  }
284500  if (!argp3) {
284501  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RandomNeuron_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
284502  }
284503  arg3 = reinterpret_cast< long * >(argp3);
284504  {
284505  try {
284506  (arg1)->SaveKeyFrameSnapshot(arg2,*arg3);
284507  }
284508  catch(CStdErrorInfo oError)
284509  {
284510  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284511  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284512  PyErr_SetString(PyExc_IndexError, strError.c_str());
284513  SWIG_fail;
284514  }
284515  catch(...)
284516  {
284517  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284518  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
284519  SWIG_fail;
284520  }
284521  }
284522  resultobj = SWIG_Py_Void();
284523  return resultobj;
284524 fail:
284525  return NULL;
284526 }
284527 
284528 
284529 SWIGINTERN PyObject *_wrap_RandomNeuron_LoadKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284530  PyObject *resultobj = 0;
284532  byte *arg2 = (byte *) 0 ;
284533  long *arg3 = 0 ;
284534  void *argp1 = 0 ;
284535  int res1 = 0 ;
284536  void *argp2 = 0 ;
284537  int res2 = 0 ;
284538  void *argp3 = 0 ;
284539  int res3 = 0 ;
284540  PyObject * obj0 = 0 ;
284541  PyObject * obj1 = 0 ;
284542  PyObject * obj2 = 0 ;
284543 
284544  if (!PyArg_ParseTuple(args,(char *)"OOO:RandomNeuron_LoadKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
284545  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
284546  if (!SWIG_IsOK(res1)) {
284547  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_LoadKeyFrameSnapshot" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
284548  }
284549  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
284550  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
284551  if (!SWIG_IsOK(res2)) {
284552  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RandomNeuron_LoadKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
284553  }
284554  arg2 = reinterpret_cast< byte * >(argp2);
284555  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
284556  if (!SWIG_IsOK(res3)) {
284557  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RandomNeuron_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
284558  }
284559  if (!argp3) {
284560  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RandomNeuron_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
284561  }
284562  arg3 = reinterpret_cast< long * >(argp3);
284563  {
284564  try {
284565  (arg1)->LoadKeyFrameSnapshot(arg2,*arg3);
284566  }
284567  catch(CStdErrorInfo oError)
284568  {
284569  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284570  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284571  PyErr_SetString(PyExc_IndexError, strError.c_str());
284572  SWIG_fail;
284573  }
284574  catch(...)
284575  {
284576  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284577  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
284578  SWIG_fail;
284579  }
284580  }
284581  resultobj = SWIG_Py_Void();
284582  return resultobj;
284583 fail:
284584  return NULL;
284585 }
284586 
284587 
284588 SWIGINTERN PyObject *_wrap_RandomNeuron_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284589  PyObject *resultobj = 0;
284591  std::string *arg2 = 0 ;
284592  std::string *arg3 = 0 ;
284593  bool arg4 ;
284594  void *argp1 = 0 ;
284595  int res1 = 0 ;
284596  int res2 = SWIG_OLDOBJ ;
284597  int res3 = SWIG_OLDOBJ ;
284598  bool val4 ;
284599  int ecode4 = 0 ;
284600  PyObject * obj0 = 0 ;
284601  PyObject * obj1 = 0 ;
284602  PyObject * obj2 = 0 ;
284603  PyObject * obj3 = 0 ;
284604  bool result;
284605 
284606  if (!PyArg_ParseTuple(args,(char *)"OOOO:RandomNeuron_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
284607  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
284608  if (!SWIG_IsOK(res1)) {
284609  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_SetData" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
284610  }
284611  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
284612  {
284613  std::string *ptr = (std::string *)0;
284614  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
284615  if (!SWIG_IsOK(res2)) {
284616  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RandomNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
284617  }
284618  if (!ptr) {
284619  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RandomNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
284620  }
284621  arg2 = ptr;
284622  }
284623  {
284624  std::string *ptr = (std::string *)0;
284625  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
284626  if (!SWIG_IsOK(res3)) {
284627  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RandomNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
284628  }
284629  if (!ptr) {
284630  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RandomNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
284631  }
284632  arg3 = ptr;
284633  }
284634  ecode4 = SWIG_AsVal_bool(obj3, &val4);
284635  if (!SWIG_IsOK(ecode4)) {
284636  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RandomNeuron_SetData" "', argument " "4"" of type '" "bool""'");
284637  }
284638  arg4 = static_cast< bool >(val4);
284639  {
284640  try {
284641  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
284642  }
284643  catch(CStdErrorInfo oError)
284644  {
284645  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284646  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284647  PyErr_SetString(PyExc_IndexError, strError.c_str());
284648  SWIG_fail;
284649  }
284650  catch(...)
284651  {
284652  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284653  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
284654  SWIG_fail;
284655  }
284656  }
284657  resultobj = SWIG_From_bool(static_cast< bool >(result));
284658  if (SWIG_IsNewObj(res2)) delete arg2;
284659  if (SWIG_IsNewObj(res3)) delete arg3;
284660  return resultobj;
284661 fail:
284662  if (SWIG_IsNewObj(res2)) delete arg2;
284663  if (SWIG_IsNewObj(res3)) delete arg3;
284664  return NULL;
284665 }
284666 
284667 
284668 SWIGINTERN PyObject *_wrap_RandomNeuron_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284669  PyObject *resultobj = 0;
284671  std::string *arg2 = 0 ;
284672  std::string *arg3 = 0 ;
284673  void *argp1 = 0 ;
284674  int res1 = 0 ;
284675  int res2 = SWIG_OLDOBJ ;
284676  int res3 = SWIG_OLDOBJ ;
284677  PyObject * obj0 = 0 ;
284678  PyObject * obj1 = 0 ;
284679  PyObject * obj2 = 0 ;
284680  bool result;
284681 
284682  if (!PyArg_ParseTuple(args,(char *)"OOO:RandomNeuron_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
284683  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
284684  if (!SWIG_IsOK(res1)) {
284685  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_SetData" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
284686  }
284687  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
284688  {
284689  std::string *ptr = (std::string *)0;
284690  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
284691  if (!SWIG_IsOK(res2)) {
284692  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RandomNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
284693  }
284694  if (!ptr) {
284695  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RandomNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
284696  }
284697  arg2 = ptr;
284698  }
284699  {
284700  std::string *ptr = (std::string *)0;
284701  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
284702  if (!SWIG_IsOK(res3)) {
284703  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RandomNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
284704  }
284705  if (!ptr) {
284706  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RandomNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
284707  }
284708  arg3 = ptr;
284709  }
284710  {
284711  try {
284712  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
284713  }
284714  catch(CStdErrorInfo oError)
284715  {
284716  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284717  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284718  PyErr_SetString(PyExc_IndexError, strError.c_str());
284719  SWIG_fail;
284720  }
284721  catch(...)
284722  {
284723  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284724  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
284725  SWIG_fail;
284726  }
284727  }
284728  resultobj = SWIG_From_bool(static_cast< bool >(result));
284729  if (SWIG_IsNewObj(res2)) delete arg2;
284730  if (SWIG_IsNewObj(res3)) delete arg3;
284731  return resultobj;
284732 fail:
284733  if (SWIG_IsNewObj(res2)) delete arg2;
284734  if (SWIG_IsNewObj(res3)) delete arg3;
284735  return NULL;
284736 }
284737 
284738 
284739 SWIGINTERN PyObject *_wrap_RandomNeuron_SetData(PyObject *self, PyObject *args) {
284740  int argc;
284741  PyObject *argv[5];
284742  int ii;
284743 
284744  if (!PyTuple_Check(args)) SWIG_fail;
284745  argc = args ? (int)PyObject_Length(args) : 0;
284746  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
284747  argv[ii] = PyTuple_GET_ITEM(args,ii);
284748  }
284749  if (argc == 3) {
284750  int _v;
284751  void *vptr = 0;
284752  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
284753  _v = SWIG_CheckState(res);
284754  if (_v) {
284755  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
284756  _v = SWIG_CheckState(res);
284757  if (_v) {
284758  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
284759  _v = SWIG_CheckState(res);
284760  if (_v) {
284761  return _wrap_RandomNeuron_SetData__SWIG_1(self, args);
284762  }
284763  }
284764  }
284765  }
284766  if (argc == 4) {
284767  int _v;
284768  void *vptr = 0;
284769  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0);
284770  _v = SWIG_CheckState(res);
284771  if (_v) {
284772  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
284773  _v = SWIG_CheckState(res);
284774  if (_v) {
284775  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
284776  _v = SWIG_CheckState(res);
284777  if (_v) {
284778  {
284779  int res = SWIG_AsVal_bool(argv[3], NULL);
284780  _v = SWIG_CheckState(res);
284781  }
284782  if (_v) {
284783  return _wrap_RandomNeuron_SetData__SWIG_0(self, args);
284784  }
284785  }
284786  }
284787  }
284788  }
284789 
284790 fail:
284791  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RandomNeuron_SetData'.\n"
284792  " Possible C/C++ prototypes are:\n"
284793  " FiringRateSim::Neurons::RandomNeuron::SetData(std::string const &,std::string const &,bool)\n"
284794  " FiringRateSim::Neurons::RandomNeuron::SetData(std::string const &,std::string const &)\n");
284795  return 0;
284796 }
284797 
284798 
284799 SWIGINTERN PyObject *_wrap_RandomNeuron_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284800  PyObject *resultobj = 0;
284802  CStdPtrArray< TypeProperty > *arg2 = 0 ;
284803  void *argp1 = 0 ;
284804  int res1 = 0 ;
284805  void *argp2 = 0 ;
284806  int res2 = 0 ;
284807  PyObject * obj0 = 0 ;
284808  PyObject * obj1 = 0 ;
284809 
284810  if (!PyArg_ParseTuple(args,(char *)"OO:RandomNeuron_QueryProperties",&obj0,&obj1)) SWIG_fail;
284811  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
284812  if (!SWIG_IsOK(res1)) {
284813  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_QueryProperties" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
284814  }
284815  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
284816  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
284817  if (!SWIG_IsOK(res2)) {
284818  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RandomNeuron_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
284819  }
284820  if (!argp2) {
284821  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RandomNeuron_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
284822  }
284823  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
284824  {
284825  try {
284826  (arg1)->QueryProperties(*arg2);
284827  }
284828  catch(CStdErrorInfo oError)
284829  {
284830  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284831  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284832  PyErr_SetString(PyExc_IndexError, strError.c_str());
284833  SWIG_fail;
284834  }
284835  catch(...)
284836  {
284837  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284838  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
284839  SWIG_fail;
284840  }
284841  }
284842  resultobj = SWIG_Py_Void();
284843  return resultobj;
284844 fail:
284845  return NULL;
284846 }
284847 
284848 
284849 SWIGINTERN PyObject *_wrap_RandomNeuron_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284850  PyObject *resultobj = 0;
284852  void *argp1 = 0 ;
284853  int res1 = 0 ;
284854  PyObject * obj0 = 0 ;
284855 
284856  if (!PyArg_ParseTuple(args,(char *)"O:RandomNeuron_ResetSimulation",&obj0)) SWIG_fail;
284857  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
284858  if (!SWIG_IsOK(res1)) {
284859  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_ResetSimulation" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
284860  }
284861  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
284862  {
284863  try {
284864  (arg1)->ResetSimulation();
284865  }
284866  catch(CStdErrorInfo oError)
284867  {
284868  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284869  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284870  PyErr_SetString(PyExc_IndexError, strError.c_str());
284871  SWIG_fail;
284872  }
284873  catch(...)
284874  {
284875  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284876  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
284877  SWIG_fail;
284878  }
284879  }
284880  resultobj = SWIG_Py_Void();
284881  return resultobj;
284882 fail:
284883  return NULL;
284884 }
284885 
284886 
284887 SWIGINTERN PyObject *_wrap_RandomNeuron_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284888  PyObject *resultobj = 0;
284890  StdUtils::CStdXml *arg2 = 0 ;
284891  void *argp1 = 0 ;
284892  int res1 = 0 ;
284893  void *argp2 = 0 ;
284894  int res2 = 0 ;
284895  PyObject * obj0 = 0 ;
284896  PyObject * obj1 = 0 ;
284897 
284898  if (!PyArg_ParseTuple(args,(char *)"OO:RandomNeuron_Load",&obj0,&obj1)) SWIG_fail;
284899  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, 0 | 0 );
284900  if (!SWIG_IsOK(res1)) {
284901  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomNeuron_Load" "', argument " "1"" of type '" "FiringRateSim::Neurons::RandomNeuron *""'");
284902  }
284903  arg1 = reinterpret_cast< FiringRateSim::Neurons::RandomNeuron * >(argp1);
284904  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
284905  if (!SWIG_IsOK(res2)) {
284906  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RandomNeuron_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
284907  }
284908  if (!argp2) {
284909  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RandomNeuron_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
284910  }
284911  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
284912  {
284913  try {
284914  (arg1)->Load(*arg2);
284915  }
284916  catch(CStdErrorInfo oError)
284917  {
284918  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284919  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284920  PyErr_SetString(PyExc_IndexError, strError.c_str());
284921  SWIG_fail;
284922  }
284923  catch(...)
284924  {
284925  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284926  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
284927  SWIG_fail;
284928  }
284929  }
284930  resultobj = SWIG_Py_Void();
284931  return resultobj;
284932 fail:
284933  return NULL;
284934 }
284935 
284936 
284937 SWIGINTERN PyObject *RandomNeuron_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284938  PyObject *obj;
284939  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
284940  SWIG_TypeNewClientData(SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron, SWIG_NewClientData(obj));
284941  return SWIG_Py_Void();
284942 }
284943 
284944 SWIGINTERN PyObject *_wrap_new_BistableNeuron(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284945  PyObject *resultobj = 0;
284947 
284948  if (!PyArg_ParseTuple(args,(char *)":new_BistableNeuron")) SWIG_fail;
284949  {
284950  try {
284952  }
284953  catch(CStdErrorInfo oError)
284954  {
284955  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284956  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284957  PyErr_SetString(PyExc_IndexError, strError.c_str());
284958  SWIG_fail;
284959  }
284960  catch(...)
284961  {
284962  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284963  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
284964  SWIG_fail;
284965  }
284966  }
284967  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, SWIG_POINTER_NEW | 0 );
284968  return resultobj;
284969 fail:
284970  return NULL;
284971 }
284972 
284973 
284974 SWIGINTERN PyObject *_wrap_delete_BistableNeuron(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
284975  PyObject *resultobj = 0;
284977  void *argp1 = 0 ;
284978  int res1 = 0 ;
284979  PyObject * obj0 = 0 ;
284980 
284981  if (!PyArg_ParseTuple(args,(char *)"O:delete_BistableNeuron",&obj0)) SWIG_fail;
284982  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, SWIG_POINTER_DISOWN | 0 );
284983  if (!SWIG_IsOK(res1)) {
284984  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BistableNeuron" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
284985  }
284986  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
284987  {
284988  try {
284989  delete arg1;
284990  }
284991  catch(CStdErrorInfo oError)
284992  {
284993  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
284994  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
284995  PyErr_SetString(PyExc_IndexError, strError.c_str());
284996  SWIG_fail;
284997  }
284998  catch(...)
284999  {
285000  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285001  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285002  SWIG_fail;
285003  }
285004  }
285005  resultobj = SWIG_Py_Void();
285006  return resultobj;
285007 fail:
285008  return NULL;
285009 }
285010 
285011 
285012 SWIGINTERN PyObject *_wrap_BistableNeuron_Vsthi__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285013  PyObject *resultobj = 0;
285015  void *argp1 = 0 ;
285016  int res1 = 0 ;
285017  PyObject * obj0 = 0 ;
285018  float result;
285019 
285020  if (!PyArg_ParseTuple(args,(char *)"O:BistableNeuron_Vsthi",&obj0)) SWIG_fail;
285021  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285022  if (!SWIG_IsOK(res1)) {
285023  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_Vsthi" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285024  }
285025  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285026  {
285027  try {
285028  result = (float)(arg1)->Vsthi();
285029  }
285030  catch(CStdErrorInfo oError)
285031  {
285032  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285033  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285034  PyErr_SetString(PyExc_IndexError, strError.c_str());
285035  SWIG_fail;
285036  }
285037  catch(...)
285038  {
285039  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285040  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285041  SWIG_fail;
285042  }
285043  }
285044  resultobj = SWIG_From_float(static_cast< float >(result));
285045  return resultobj;
285046 fail:
285047  return NULL;
285048 }
285049 
285050 
285051 SWIGINTERN PyObject *_wrap_BistableNeuron_Vsthi__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285052  PyObject *resultobj = 0;
285054  float arg2 ;
285055  void *argp1 = 0 ;
285056  int res1 = 0 ;
285057  float val2 ;
285058  int ecode2 = 0 ;
285059  PyObject * obj0 = 0 ;
285060  PyObject * obj1 = 0 ;
285061 
285062  if (!PyArg_ParseTuple(args,(char *)"OO:BistableNeuron_Vsthi",&obj0,&obj1)) SWIG_fail;
285063  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285064  if (!SWIG_IsOK(res1)) {
285065  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_Vsthi" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285066  }
285067  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285068  ecode2 = SWIG_AsVal_float(obj1, &val2);
285069  if (!SWIG_IsOK(ecode2)) {
285070  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BistableNeuron_Vsthi" "', argument " "2"" of type '" "float""'");
285071  }
285072  arg2 = static_cast< float >(val2);
285073  {
285074  try {
285075  (arg1)->Vsthi(arg2);
285076  }
285077  catch(CStdErrorInfo oError)
285078  {
285079  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285080  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285081  PyErr_SetString(PyExc_IndexError, strError.c_str());
285082  SWIG_fail;
285083  }
285084  catch(...)
285085  {
285086  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285087  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285088  SWIG_fail;
285089  }
285090  }
285091  resultobj = SWIG_Py_Void();
285092  return resultobj;
285093 fail:
285094  return NULL;
285095 }
285096 
285097 
285098 SWIGINTERN PyObject *_wrap_BistableNeuron_Vsthi(PyObject *self, PyObject *args) {
285099  int argc;
285100  PyObject *argv[3];
285101  int ii;
285102 
285103  if (!PyTuple_Check(args)) SWIG_fail;
285104  argc = args ? (int)PyObject_Length(args) : 0;
285105  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
285106  argv[ii] = PyTuple_GET_ITEM(args,ii);
285107  }
285108  if (argc == 1) {
285109  int _v;
285110  void *vptr = 0;
285111  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0);
285112  _v = SWIG_CheckState(res);
285113  if (_v) {
285114  return _wrap_BistableNeuron_Vsthi__SWIG_0(self, args);
285115  }
285116  }
285117  if (argc == 2) {
285118  int _v;
285119  void *vptr = 0;
285120  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0);
285121  _v = SWIG_CheckState(res);
285122  if (_v) {
285123  {
285124  int res = SWIG_AsVal_float(argv[1], NULL);
285125  _v = SWIG_CheckState(res);
285126  }
285127  if (_v) {
285128  return _wrap_BistableNeuron_Vsthi__SWIG_1(self, args);
285129  }
285130  }
285131  }
285132 
285133 fail:
285134  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BistableNeuron_Vsthi'.\n"
285135  " Possible C/C++ prototypes are:\n"
285136  " FiringRateSim::Neurons::BistableNeuron::Vsthi()\n"
285137  " FiringRateSim::Neurons::BistableNeuron::Vsthi(float)\n");
285138  return 0;
285139 }
285140 
285141 
285142 SWIGINTERN PyObject *_wrap_BistableNeuron_IntrinsicCurrent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285143  PyObject *resultobj = 0;
285145  void *argp1 = 0 ;
285146  int res1 = 0 ;
285147  PyObject * obj0 = 0 ;
285148  float result;
285149 
285150  if (!PyArg_ParseTuple(args,(char *)"O:BistableNeuron_IntrinsicCurrent",&obj0)) SWIG_fail;
285151  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285152  if (!SWIG_IsOK(res1)) {
285153  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_IntrinsicCurrent" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285154  }
285155  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285156  {
285157  try {
285158  result = (float)(arg1)->IntrinsicCurrent();
285159  }
285160  catch(CStdErrorInfo oError)
285161  {
285162  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285163  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285164  PyErr_SetString(PyExc_IndexError, strError.c_str());
285165  SWIG_fail;
285166  }
285167  catch(...)
285168  {
285169  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285170  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285171  SWIG_fail;
285172  }
285173  }
285174  resultobj = SWIG_From_float(static_cast< float >(result));
285175  return resultobj;
285176 fail:
285177  return NULL;
285178 }
285179 
285180 
285181 SWIGINTERN PyObject *_wrap_BistableNeuron_IntrinsicCurrent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285182  PyObject *resultobj = 0;
285184  float arg2 ;
285185  void *argp1 = 0 ;
285186  int res1 = 0 ;
285187  float val2 ;
285188  int ecode2 = 0 ;
285189  PyObject * obj0 = 0 ;
285190  PyObject * obj1 = 0 ;
285191 
285192  if (!PyArg_ParseTuple(args,(char *)"OO:BistableNeuron_IntrinsicCurrent",&obj0,&obj1)) SWIG_fail;
285193  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285194  if (!SWIG_IsOK(res1)) {
285195  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_IntrinsicCurrent" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285196  }
285197  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285198  ecode2 = SWIG_AsVal_float(obj1, &val2);
285199  if (!SWIG_IsOK(ecode2)) {
285200  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BistableNeuron_IntrinsicCurrent" "', argument " "2"" of type '" "float""'");
285201  }
285202  arg2 = static_cast< float >(val2);
285203  {
285204  try {
285205  (arg1)->IntrinsicCurrent(arg2);
285206  }
285207  catch(CStdErrorInfo oError)
285208  {
285209  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285210  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285211  PyErr_SetString(PyExc_IndexError, strError.c_str());
285212  SWIG_fail;
285213  }
285214  catch(...)
285215  {
285216  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285217  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285218  SWIG_fail;
285219  }
285220  }
285221  resultobj = SWIG_Py_Void();
285222  return resultobj;
285223 fail:
285224  return NULL;
285225 }
285226 
285227 
285228 SWIGINTERN PyObject *_wrap_BistableNeuron_IntrinsicCurrent(PyObject *self, PyObject *args) {
285229  int argc;
285230  PyObject *argv[3];
285231  int ii;
285232 
285233  if (!PyTuple_Check(args)) SWIG_fail;
285234  argc = args ? (int)PyObject_Length(args) : 0;
285235  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
285236  argv[ii] = PyTuple_GET_ITEM(args,ii);
285237  }
285238  if (argc == 1) {
285239  int _v;
285240  void *vptr = 0;
285241  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0);
285242  _v = SWIG_CheckState(res);
285243  if (_v) {
285244  return _wrap_BistableNeuron_IntrinsicCurrent__SWIG_0(self, args);
285245  }
285246  }
285247  if (argc == 2) {
285248  int _v;
285249  void *vptr = 0;
285250  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0);
285251  _v = SWIG_CheckState(res);
285252  if (_v) {
285253  {
285254  int res = SWIG_AsVal_float(argv[1], NULL);
285255  _v = SWIG_CheckState(res);
285256  }
285257  if (_v) {
285258  return _wrap_BistableNeuron_IntrinsicCurrent__SWIG_1(self, args);
285259  }
285260  }
285261  }
285262 
285263 fail:
285264  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BistableNeuron_IntrinsicCurrent'.\n"
285265  " Possible C/C++ prototypes are:\n"
285266  " FiringRateSim::Neurons::BistableNeuron::IntrinsicCurrent()\n"
285267  " FiringRateSim::Neurons::BistableNeuron::IntrinsicCurrent(float)\n");
285268  return 0;
285269 }
285270 
285271 
285272 SWIGINTERN PyObject *_wrap_BistableNeuron_Il__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285273  PyObject *resultobj = 0;
285275  void *argp1 = 0 ;
285276  int res1 = 0 ;
285277  PyObject * obj0 = 0 ;
285278  float result;
285279 
285280  if (!PyArg_ParseTuple(args,(char *)"O:BistableNeuron_Il",&obj0)) SWIG_fail;
285281  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285282  if (!SWIG_IsOK(res1)) {
285283  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_Il" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285284  }
285285  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285286  {
285287  try {
285288  result = (float)(arg1)->Il();
285289  }
285290  catch(CStdErrorInfo oError)
285291  {
285292  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285293  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285294  PyErr_SetString(PyExc_IndexError, strError.c_str());
285295  SWIG_fail;
285296  }
285297  catch(...)
285298  {
285299  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285300  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285301  SWIG_fail;
285302  }
285303  }
285304  resultobj = SWIG_From_float(static_cast< float >(result));
285305  return resultobj;
285306 fail:
285307  return NULL;
285308 }
285309 
285310 
285311 SWIGINTERN PyObject *_wrap_BistableNeuron_Il__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285312  PyObject *resultobj = 0;
285314  float arg2 ;
285315  void *argp1 = 0 ;
285316  int res1 = 0 ;
285317  float val2 ;
285318  int ecode2 = 0 ;
285319  PyObject * obj0 = 0 ;
285320  PyObject * obj1 = 0 ;
285321 
285322  if (!PyArg_ParseTuple(args,(char *)"OO:BistableNeuron_Il",&obj0,&obj1)) SWIG_fail;
285323  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285324  if (!SWIG_IsOK(res1)) {
285325  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_Il" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285326  }
285327  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285328  ecode2 = SWIG_AsVal_float(obj1, &val2);
285329  if (!SWIG_IsOK(ecode2)) {
285330  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BistableNeuron_Il" "', argument " "2"" of type '" "float""'");
285331  }
285332  arg2 = static_cast< float >(val2);
285333  {
285334  try {
285335  (arg1)->Il(arg2);
285336  }
285337  catch(CStdErrorInfo oError)
285338  {
285339  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285340  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285341  PyErr_SetString(PyExc_IndexError, strError.c_str());
285342  SWIG_fail;
285343  }
285344  catch(...)
285345  {
285346  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285347  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285348  SWIG_fail;
285349  }
285350  }
285351  resultobj = SWIG_Py_Void();
285352  return resultobj;
285353 fail:
285354  return NULL;
285355 }
285356 
285357 
285358 SWIGINTERN PyObject *_wrap_BistableNeuron_Il(PyObject *self, PyObject *args) {
285359  int argc;
285360  PyObject *argv[3];
285361  int ii;
285362 
285363  if (!PyTuple_Check(args)) SWIG_fail;
285364  argc = args ? (int)PyObject_Length(args) : 0;
285365  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
285366  argv[ii] = PyTuple_GET_ITEM(args,ii);
285367  }
285368  if (argc == 1) {
285369  int _v;
285370  void *vptr = 0;
285371  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0);
285372  _v = SWIG_CheckState(res);
285373  if (_v) {
285374  return _wrap_BistableNeuron_Il__SWIG_0(self, args);
285375  }
285376  }
285377  if (argc == 2) {
285378  int _v;
285379  void *vptr = 0;
285380  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0);
285381  _v = SWIG_CheckState(res);
285382  if (_v) {
285383  {
285384  int res = SWIG_AsVal_float(argv[1], NULL);
285385  _v = SWIG_CheckState(res);
285386  }
285387  if (_v) {
285388  return _wrap_BistableNeuron_Il__SWIG_1(self, args);
285389  }
285390  }
285391  }
285392 
285393 fail:
285394  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BistableNeuron_Il'.\n"
285395  " Possible C/C++ prototypes are:\n"
285396  " FiringRateSim::Neurons::BistableNeuron::Il()\n"
285397  " FiringRateSim::Neurons::BistableNeuron::Il(float)\n");
285398  return 0;
285399 }
285400 
285401 
285402 SWIGINTERN PyObject *_wrap_BistableNeuron_Ih__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285403  PyObject *resultobj = 0;
285405  void *argp1 = 0 ;
285406  int res1 = 0 ;
285407  PyObject * obj0 = 0 ;
285408  float result;
285409 
285410  if (!PyArg_ParseTuple(args,(char *)"O:BistableNeuron_Ih",&obj0)) SWIG_fail;
285411  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285412  if (!SWIG_IsOK(res1)) {
285413  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_Ih" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285414  }
285415  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285416  {
285417  try {
285418  result = (float)(arg1)->Ih();
285419  }
285420  catch(CStdErrorInfo oError)
285421  {
285422  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285423  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285424  PyErr_SetString(PyExc_IndexError, strError.c_str());
285425  SWIG_fail;
285426  }
285427  catch(...)
285428  {
285429  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285430  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285431  SWIG_fail;
285432  }
285433  }
285434  resultobj = SWIG_From_float(static_cast< float >(result));
285435  return resultobj;
285436 fail:
285437  return NULL;
285438 }
285439 
285440 
285441 SWIGINTERN PyObject *_wrap_BistableNeuron_Ih__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285442  PyObject *resultobj = 0;
285444  float arg2 ;
285445  void *argp1 = 0 ;
285446  int res1 = 0 ;
285447  float val2 ;
285448  int ecode2 = 0 ;
285449  PyObject * obj0 = 0 ;
285450  PyObject * obj1 = 0 ;
285451 
285452  if (!PyArg_ParseTuple(args,(char *)"OO:BistableNeuron_Ih",&obj0,&obj1)) SWIG_fail;
285453  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285454  if (!SWIG_IsOK(res1)) {
285455  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_Ih" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285456  }
285457  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285458  ecode2 = SWIG_AsVal_float(obj1, &val2);
285459  if (!SWIG_IsOK(ecode2)) {
285460  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BistableNeuron_Ih" "', argument " "2"" of type '" "float""'");
285461  }
285462  arg2 = static_cast< float >(val2);
285463  {
285464  try {
285465  (arg1)->Ih(arg2);
285466  }
285467  catch(CStdErrorInfo oError)
285468  {
285469  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285470  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285471  PyErr_SetString(PyExc_IndexError, strError.c_str());
285472  SWIG_fail;
285473  }
285474  catch(...)
285475  {
285476  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285477  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285478  SWIG_fail;
285479  }
285480  }
285481  resultobj = SWIG_Py_Void();
285482  return resultobj;
285483 fail:
285484  return NULL;
285485 }
285486 
285487 
285488 SWIGINTERN PyObject *_wrap_BistableNeuron_Ih(PyObject *self, PyObject *args) {
285489  int argc;
285490  PyObject *argv[3];
285491  int ii;
285492 
285493  if (!PyTuple_Check(args)) SWIG_fail;
285494  argc = args ? (int)PyObject_Length(args) : 0;
285495  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
285496  argv[ii] = PyTuple_GET_ITEM(args,ii);
285497  }
285498  if (argc == 1) {
285499  int _v;
285500  void *vptr = 0;
285501  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0);
285502  _v = SWIG_CheckState(res);
285503  if (_v) {
285504  return _wrap_BistableNeuron_Ih__SWIG_0(self, args);
285505  }
285506  }
285507  if (argc == 2) {
285508  int _v;
285509  void *vptr = 0;
285510  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0);
285511  _v = SWIG_CheckState(res);
285512  if (_v) {
285513  {
285514  int res = SWIG_AsVal_float(argv[1], NULL);
285515  _v = SWIG_CheckState(res);
285516  }
285517  if (_v) {
285518  return _wrap_BistableNeuron_Ih__SWIG_1(self, args);
285519  }
285520  }
285521  }
285522 
285523 fail:
285524  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BistableNeuron_Ih'.\n"
285525  " Possible C/C++ prototypes are:\n"
285526  " FiringRateSim::Neurons::BistableNeuron::Ih()\n"
285527  " FiringRateSim::Neurons::BistableNeuron::Ih(float)\n");
285528  return 0;
285529 }
285530 
285531 
285532 SWIGINTERN PyObject *_wrap_BistableNeuron_NeuronType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285533  PyObject *resultobj = 0;
285535  void *argp1 = 0 ;
285536  int res1 = 0 ;
285537  PyObject * obj0 = 0 ;
285538  unsigned char result;
285539 
285540  if (!PyArg_ParseTuple(args,(char *)"O:BistableNeuron_NeuronType",&obj0)) SWIG_fail;
285541  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285542  if (!SWIG_IsOK(res1)) {
285543  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_NeuronType" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285544  }
285545  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285546  {
285547  try {
285548  result = (unsigned char)(arg1)->NeuronType();
285549  }
285550  catch(CStdErrorInfo oError)
285551  {
285552  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285553  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285554  PyErr_SetString(PyExc_IndexError, strError.c_str());
285555  SWIG_fail;
285556  }
285557  catch(...)
285558  {
285559  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285560  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285561  SWIG_fail;
285562  }
285563  }
285564  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
285565  return resultobj;
285566 fail:
285567  return NULL;
285568 }
285569 
285570 
285571 SWIGINTERN PyObject *_wrap_BistableNeuron_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285572  PyObject *resultobj = 0;
285575  void *argp1 = 0 ;
285576  int res1 = 0 ;
285577  void *argp2 = 0 ;
285578  int res2 = 0 ;
285579  PyObject * obj0 = 0 ;
285580  PyObject * obj1 = 0 ;
285581 
285582  if (!PyArg_ParseTuple(args,(char *)"OO:BistableNeuron_Copy",&obj0,&obj1)) SWIG_fail;
285583  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285584  if (!SWIG_IsOK(res1)) {
285585  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_Copy" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285586  }
285587  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285588  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
285589  if (!SWIG_IsOK(res2)) {
285590  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BistableNeuron_Copy" "', argument " "2"" of type '" "StdUtils::CStdSerialize *""'");
285591  }
285592  arg2 = reinterpret_cast< StdUtils::CStdSerialize * >(argp2);
285593  {
285594  try {
285595  (arg1)->Copy(arg2);
285596  }
285597  catch(CStdErrorInfo oError)
285598  {
285599  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285600  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285601  PyErr_SetString(PyExc_IndexError, strError.c_str());
285602  SWIG_fail;
285603  }
285604  catch(...)
285605  {
285606  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285607  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285608  SWIG_fail;
285609  }
285610  }
285611  resultobj = SWIG_Py_Void();
285612  return resultobj;
285613 fail:
285614  return NULL;
285615 }
285616 
285617 
285618 SWIGINTERN PyObject *_wrap_BistableNeuron_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285619  PyObject *resultobj = 0;
285621  std::string *arg2 = 0 ;
285622  std::string *arg3 = 0 ;
285623  bool arg4 ;
285624  void *argp1 = 0 ;
285625  int res1 = 0 ;
285626  int res2 = SWIG_OLDOBJ ;
285627  int res3 = SWIG_OLDOBJ ;
285628  bool val4 ;
285629  int ecode4 = 0 ;
285630  PyObject * obj0 = 0 ;
285631  PyObject * obj1 = 0 ;
285632  PyObject * obj2 = 0 ;
285633  PyObject * obj3 = 0 ;
285634  bool result;
285635 
285636  if (!PyArg_ParseTuple(args,(char *)"OOOO:BistableNeuron_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
285637  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285638  if (!SWIG_IsOK(res1)) {
285639  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_SetData" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285640  }
285641  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285642  {
285643  std::string *ptr = (std::string *)0;
285644  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
285645  if (!SWIG_IsOK(res2)) {
285646  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BistableNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
285647  }
285648  if (!ptr) {
285649  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BistableNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
285650  }
285651  arg2 = ptr;
285652  }
285653  {
285654  std::string *ptr = (std::string *)0;
285655  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
285656  if (!SWIG_IsOK(res3)) {
285657  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BistableNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
285658  }
285659  if (!ptr) {
285660  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BistableNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
285661  }
285662  arg3 = ptr;
285663  }
285664  ecode4 = SWIG_AsVal_bool(obj3, &val4);
285665  if (!SWIG_IsOK(ecode4)) {
285666  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BistableNeuron_SetData" "', argument " "4"" of type '" "bool""'");
285667  }
285668  arg4 = static_cast< bool >(val4);
285669  {
285670  try {
285671  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
285672  }
285673  catch(CStdErrorInfo oError)
285674  {
285675  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285676  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285677  PyErr_SetString(PyExc_IndexError, strError.c_str());
285678  SWIG_fail;
285679  }
285680  catch(...)
285681  {
285682  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285683  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285684  SWIG_fail;
285685  }
285686  }
285687  resultobj = SWIG_From_bool(static_cast< bool >(result));
285688  if (SWIG_IsNewObj(res2)) delete arg2;
285689  if (SWIG_IsNewObj(res3)) delete arg3;
285690  return resultobj;
285691 fail:
285692  if (SWIG_IsNewObj(res2)) delete arg2;
285693  if (SWIG_IsNewObj(res3)) delete arg3;
285694  return NULL;
285695 }
285696 
285697 
285698 SWIGINTERN PyObject *_wrap_BistableNeuron_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285699  PyObject *resultobj = 0;
285701  std::string *arg2 = 0 ;
285702  std::string *arg3 = 0 ;
285703  void *argp1 = 0 ;
285704  int res1 = 0 ;
285705  int res2 = SWIG_OLDOBJ ;
285706  int res3 = SWIG_OLDOBJ ;
285707  PyObject * obj0 = 0 ;
285708  PyObject * obj1 = 0 ;
285709  PyObject * obj2 = 0 ;
285710  bool result;
285711 
285712  if (!PyArg_ParseTuple(args,(char *)"OOO:BistableNeuron_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
285713  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285714  if (!SWIG_IsOK(res1)) {
285715  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_SetData" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285716  }
285717  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285718  {
285719  std::string *ptr = (std::string *)0;
285720  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
285721  if (!SWIG_IsOK(res2)) {
285722  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BistableNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
285723  }
285724  if (!ptr) {
285725  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BistableNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
285726  }
285727  arg2 = ptr;
285728  }
285729  {
285730  std::string *ptr = (std::string *)0;
285731  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
285732  if (!SWIG_IsOK(res3)) {
285733  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BistableNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
285734  }
285735  if (!ptr) {
285736  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BistableNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
285737  }
285738  arg3 = ptr;
285739  }
285740  {
285741  try {
285742  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
285743  }
285744  catch(CStdErrorInfo oError)
285745  {
285746  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285747  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285748  PyErr_SetString(PyExc_IndexError, strError.c_str());
285749  SWIG_fail;
285750  }
285751  catch(...)
285752  {
285753  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285754  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285755  SWIG_fail;
285756  }
285757  }
285758  resultobj = SWIG_From_bool(static_cast< bool >(result));
285759  if (SWIG_IsNewObj(res2)) delete arg2;
285760  if (SWIG_IsNewObj(res3)) delete arg3;
285761  return resultobj;
285762 fail:
285763  if (SWIG_IsNewObj(res2)) delete arg2;
285764  if (SWIG_IsNewObj(res3)) delete arg3;
285765  return NULL;
285766 }
285767 
285768 
285769 SWIGINTERN PyObject *_wrap_BistableNeuron_SetData(PyObject *self, PyObject *args) {
285770  int argc;
285771  PyObject *argv[5];
285772  int ii;
285773 
285774  if (!PyTuple_Check(args)) SWIG_fail;
285775  argc = args ? (int)PyObject_Length(args) : 0;
285776  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
285777  argv[ii] = PyTuple_GET_ITEM(args,ii);
285778  }
285779  if (argc == 3) {
285780  int _v;
285781  void *vptr = 0;
285782  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0);
285783  _v = SWIG_CheckState(res);
285784  if (_v) {
285785  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
285786  _v = SWIG_CheckState(res);
285787  if (_v) {
285788  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
285789  _v = SWIG_CheckState(res);
285790  if (_v) {
285791  return _wrap_BistableNeuron_SetData__SWIG_1(self, args);
285792  }
285793  }
285794  }
285795  }
285796  if (argc == 4) {
285797  int _v;
285798  void *vptr = 0;
285799  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0);
285800  _v = SWIG_CheckState(res);
285801  if (_v) {
285802  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
285803  _v = SWIG_CheckState(res);
285804  if (_v) {
285805  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
285806  _v = SWIG_CheckState(res);
285807  if (_v) {
285808  {
285809  int res = SWIG_AsVal_bool(argv[3], NULL);
285810  _v = SWIG_CheckState(res);
285811  }
285812  if (_v) {
285813  return _wrap_BistableNeuron_SetData__SWIG_0(self, args);
285814  }
285815  }
285816  }
285817  }
285818  }
285819 
285820 fail:
285821  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'BistableNeuron_SetData'.\n"
285822  " Possible C/C++ prototypes are:\n"
285823  " FiringRateSim::Neurons::BistableNeuron::SetData(std::string const &,std::string const &,bool)\n"
285824  " FiringRateSim::Neurons::BistableNeuron::SetData(std::string const &,std::string const &)\n");
285825  return 0;
285826 }
285827 
285828 
285829 SWIGINTERN PyObject *_wrap_BistableNeuron_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285830  PyObject *resultobj = 0;
285832  CStdPtrArray< TypeProperty > *arg2 = 0 ;
285833  void *argp1 = 0 ;
285834  int res1 = 0 ;
285835  void *argp2 = 0 ;
285836  int res2 = 0 ;
285837  PyObject * obj0 = 0 ;
285838  PyObject * obj1 = 0 ;
285839 
285840  if (!PyArg_ParseTuple(args,(char *)"OO:BistableNeuron_QueryProperties",&obj0,&obj1)) SWIG_fail;
285841  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285842  if (!SWIG_IsOK(res1)) {
285843  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_QueryProperties" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285844  }
285845  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285846  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
285847  if (!SWIG_IsOK(res2)) {
285848  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BistableNeuron_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
285849  }
285850  if (!argp2) {
285851  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BistableNeuron_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
285852  }
285853  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
285854  {
285855  try {
285856  (arg1)->QueryProperties(*arg2);
285857  }
285858  catch(CStdErrorInfo oError)
285859  {
285860  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285861  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285862  PyErr_SetString(PyExc_IndexError, strError.c_str());
285863  SWIG_fail;
285864  }
285865  catch(...)
285866  {
285867  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285868  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285869  SWIG_fail;
285870  }
285871  }
285872  resultobj = SWIG_Py_Void();
285873  return resultobj;
285874 fail:
285875  return NULL;
285876 }
285877 
285878 
285879 SWIGINTERN PyObject *_wrap_BistableNeuron_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285880  PyObject *resultobj = 0;
285882  void *argp1 = 0 ;
285883  int res1 = 0 ;
285884  PyObject * obj0 = 0 ;
285885 
285886  if (!PyArg_ParseTuple(args,(char *)"O:BistableNeuron_ResetSimulation",&obj0)) SWIG_fail;
285887  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285888  if (!SWIG_IsOK(res1)) {
285889  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_ResetSimulation" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285890  }
285891  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285892  {
285893  try {
285894  (arg1)->ResetSimulation();
285895  }
285896  catch(CStdErrorInfo oError)
285897  {
285898  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285899  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285900  PyErr_SetString(PyExc_IndexError, strError.c_str());
285901  SWIG_fail;
285902  }
285903  catch(...)
285904  {
285905  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285906  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285907  SWIG_fail;
285908  }
285909  }
285910  resultobj = SWIG_Py_Void();
285911  return resultobj;
285912 fail:
285913  return NULL;
285914 }
285915 
285916 
285917 SWIGINTERN PyObject *_wrap_BistableNeuron_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285918  PyObject *resultobj = 0;
285920  void *argp1 = 0 ;
285921  int res1 = 0 ;
285922  PyObject * obj0 = 0 ;
285923 
285924  if (!PyArg_ParseTuple(args,(char *)"O:BistableNeuron_StepSimulation",&obj0)) SWIG_fail;
285925  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285926  if (!SWIG_IsOK(res1)) {
285927  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_StepSimulation" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285928  }
285929  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285930  {
285931  try {
285932  (arg1)->StepSimulation();
285933  }
285934  catch(CStdErrorInfo oError)
285935  {
285936  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285937  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285938  PyErr_SetString(PyExc_IndexError, strError.c_str());
285939  SWIG_fail;
285940  }
285941  catch(...)
285942  {
285943  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285944  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285945  SWIG_fail;
285946  }
285947  }
285948  resultobj = SWIG_Py_Void();
285949  return resultobj;
285950 fail:
285951  return NULL;
285952 }
285953 
285954 
285955 SWIGINTERN PyObject *_wrap_BistableNeuron_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
285956  PyObject *resultobj = 0;
285958  StdUtils::CStdXml *arg2 = 0 ;
285959  void *argp1 = 0 ;
285960  int res1 = 0 ;
285961  void *argp2 = 0 ;
285962  int res2 = 0 ;
285963  PyObject * obj0 = 0 ;
285964  PyObject * obj1 = 0 ;
285965 
285966  if (!PyArg_ParseTuple(args,(char *)"OO:BistableNeuron_Load",&obj0,&obj1)) SWIG_fail;
285967  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, 0 | 0 );
285968  if (!SWIG_IsOK(res1)) {
285969  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BistableNeuron_Load" "', argument " "1"" of type '" "FiringRateSim::Neurons::BistableNeuron *""'");
285970  }
285971  arg1 = reinterpret_cast< FiringRateSim::Neurons::BistableNeuron * >(argp1);
285972  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
285973  if (!SWIG_IsOK(res2)) {
285974  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BistableNeuron_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
285975  }
285976  if (!argp2) {
285977  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BistableNeuron_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
285978  }
285979  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
285980  {
285981  try {
285982  (arg1)->Load(*arg2);
285983  }
285984  catch(CStdErrorInfo oError)
285985  {
285986  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285987  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
285988  PyErr_SetString(PyExc_IndexError, strError.c_str());
285989  SWIG_fail;
285990  }
285991  catch(...)
285992  {
285993  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
285994  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
285995  SWIG_fail;
285996  }
285997  }
285998  resultobj = SWIG_Py_Void();
285999  return resultobj;
286000 fail:
286001  return NULL;
286002 }
286003 
286004 
286005 SWIGINTERN PyObject *BistableNeuron_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286006  PyObject *obj;
286007  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
286008  SWIG_TypeNewClientData(SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron, SWIG_NewClientData(obj));
286009  return SWIG_Py_Void();
286010 }
286011 
286012 SWIGINTERN PyObject *_wrap_new_TonicNeuron(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286013  PyObject *resultobj = 0;
286015 
286016  if (!PyArg_ParseTuple(args,(char *)":new_TonicNeuron")) SWIG_fail;
286017  {
286018  try {
286020  }
286021  catch(CStdErrorInfo oError)
286022  {
286023  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286024  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286025  PyErr_SetString(PyExc_IndexError, strError.c_str());
286026  SWIG_fail;
286027  }
286028  catch(...)
286029  {
286030  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286031  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286032  SWIG_fail;
286033  }
286034  }
286035  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron, SWIG_POINTER_NEW | 0 );
286036  return resultobj;
286037 fail:
286038  return NULL;
286039 }
286040 
286041 
286042 SWIGINTERN PyObject *_wrap_delete_TonicNeuron(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286043  PyObject *resultobj = 0;
286045  void *argp1 = 0 ;
286046  int res1 = 0 ;
286047  PyObject * obj0 = 0 ;
286048 
286049  if (!PyArg_ParseTuple(args,(char *)"O:delete_TonicNeuron",&obj0)) SWIG_fail;
286050  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron, SWIG_POINTER_DISOWN | 0 );
286051  if (!SWIG_IsOK(res1)) {
286052  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TonicNeuron" "', argument " "1"" of type '" "FiringRateSim::Neurons::TonicNeuron *""'");
286053  }
286054  arg1 = reinterpret_cast< FiringRateSim::Neurons::TonicNeuron * >(argp1);
286055  {
286056  try {
286057  delete arg1;
286058  }
286059  catch(CStdErrorInfo oError)
286060  {
286061  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286062  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286063  PyErr_SetString(PyExc_IndexError, strError.c_str());
286064  SWIG_fail;
286065  }
286066  catch(...)
286067  {
286068  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286069  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286070  SWIG_fail;
286071  }
286072  }
286073  resultobj = SWIG_Py_Void();
286074  return resultobj;
286075 fail:
286076  return NULL;
286077 }
286078 
286079 
286080 SWIGINTERN PyObject *_wrap_TonicNeuron_Ih__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286081  PyObject *resultobj = 0;
286083  void *argp1 = 0 ;
286084  int res1 = 0 ;
286085  PyObject * obj0 = 0 ;
286086  float result;
286087 
286088  if (!PyArg_ParseTuple(args,(char *)"O:TonicNeuron_Ih",&obj0)) SWIG_fail;
286089  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron, 0 | 0 );
286090  if (!SWIG_IsOK(res1)) {
286091  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TonicNeuron_Ih" "', argument " "1"" of type '" "FiringRateSim::Neurons::TonicNeuron *""'");
286092  }
286093  arg1 = reinterpret_cast< FiringRateSim::Neurons::TonicNeuron * >(argp1);
286094  {
286095  try {
286096  result = (float)(arg1)->Ih();
286097  }
286098  catch(CStdErrorInfo oError)
286099  {
286100  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286101  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286102  PyErr_SetString(PyExc_IndexError, strError.c_str());
286103  SWIG_fail;
286104  }
286105  catch(...)
286106  {
286107  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286108  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286109  SWIG_fail;
286110  }
286111  }
286112  resultobj = SWIG_From_float(static_cast< float >(result));
286113  return resultobj;
286114 fail:
286115  return NULL;
286116 }
286117 
286118 
286119 SWIGINTERN PyObject *_wrap_TonicNeuron_Ih__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286120  PyObject *resultobj = 0;
286122  float arg2 ;
286123  void *argp1 = 0 ;
286124  int res1 = 0 ;
286125  float val2 ;
286126  int ecode2 = 0 ;
286127  PyObject * obj0 = 0 ;
286128  PyObject * obj1 = 0 ;
286129 
286130  if (!PyArg_ParseTuple(args,(char *)"OO:TonicNeuron_Ih",&obj0,&obj1)) SWIG_fail;
286131  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron, 0 | 0 );
286132  if (!SWIG_IsOK(res1)) {
286133  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TonicNeuron_Ih" "', argument " "1"" of type '" "FiringRateSim::Neurons::TonicNeuron *""'");
286134  }
286135  arg1 = reinterpret_cast< FiringRateSim::Neurons::TonicNeuron * >(argp1);
286136  ecode2 = SWIG_AsVal_float(obj1, &val2);
286137  if (!SWIG_IsOK(ecode2)) {
286138  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TonicNeuron_Ih" "', argument " "2"" of type '" "float""'");
286139  }
286140  arg2 = static_cast< float >(val2);
286141  {
286142  try {
286143  (arg1)->Ih(arg2);
286144  }
286145  catch(CStdErrorInfo oError)
286146  {
286147  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286148  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286149  PyErr_SetString(PyExc_IndexError, strError.c_str());
286150  SWIG_fail;
286151  }
286152  catch(...)
286153  {
286154  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286155  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286156  SWIG_fail;
286157  }
286158  }
286159  resultobj = SWIG_Py_Void();
286160  return resultobj;
286161 fail:
286162  return NULL;
286163 }
286164 
286165 
286166 SWIGINTERN PyObject *_wrap_TonicNeuron_Ih(PyObject *self, PyObject *args) {
286167  int argc;
286168  PyObject *argv[3];
286169  int ii;
286170 
286171  if (!PyTuple_Check(args)) SWIG_fail;
286172  argc = args ? (int)PyObject_Length(args) : 0;
286173  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
286174  argv[ii] = PyTuple_GET_ITEM(args,ii);
286175  }
286176  if (argc == 1) {
286177  int _v;
286178  void *vptr = 0;
286179  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron, 0);
286180  _v = SWIG_CheckState(res);
286181  if (_v) {
286182  return _wrap_TonicNeuron_Ih__SWIG_0(self, args);
286183  }
286184  }
286185  if (argc == 2) {
286186  int _v;
286187  void *vptr = 0;
286188  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron, 0);
286189  _v = SWIG_CheckState(res);
286190  if (_v) {
286191  {
286192  int res = SWIG_AsVal_float(argv[1], NULL);
286193  _v = SWIG_CheckState(res);
286194  }
286195  if (_v) {
286196  return _wrap_TonicNeuron_Ih__SWIG_1(self, args);
286197  }
286198  }
286199  }
286200 
286201 fail:
286202  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'TonicNeuron_Ih'.\n"
286203  " Possible C/C++ prototypes are:\n"
286204  " FiringRateSim::Neurons::TonicNeuron::Ih()\n"
286205  " FiringRateSim::Neurons::TonicNeuron::Ih(float)\n");
286206  return 0;
286207 }
286208 
286209 
286210 SWIGINTERN PyObject *_wrap_TonicNeuron_NeuronType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286211  PyObject *resultobj = 0;
286213  void *argp1 = 0 ;
286214  int res1 = 0 ;
286215  PyObject * obj0 = 0 ;
286216  unsigned char result;
286217 
286218  if (!PyArg_ParseTuple(args,(char *)"O:TonicNeuron_NeuronType",&obj0)) SWIG_fail;
286219  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron, 0 | 0 );
286220  if (!SWIG_IsOK(res1)) {
286221  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TonicNeuron_NeuronType" "', argument " "1"" of type '" "FiringRateSim::Neurons::TonicNeuron *""'");
286222  }
286223  arg1 = reinterpret_cast< FiringRateSim::Neurons::TonicNeuron * >(argp1);
286224  {
286225  try {
286226  result = (unsigned char)(arg1)->NeuronType();
286227  }
286228  catch(CStdErrorInfo oError)
286229  {
286230  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286231  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286232  PyErr_SetString(PyExc_IndexError, strError.c_str());
286233  SWIG_fail;
286234  }
286235  catch(...)
286236  {
286237  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286238  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286239  SWIG_fail;
286240  }
286241  }
286242  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
286243  return resultobj;
286244 fail:
286245  return NULL;
286246 }
286247 
286248 
286249 SWIGINTERN PyObject *_wrap_TonicNeuron_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286250  PyObject *resultobj = 0;
286253  void *argp1 = 0 ;
286254  int res1 = 0 ;
286255  void *argp2 = 0 ;
286256  int res2 = 0 ;
286257  PyObject * obj0 = 0 ;
286258  PyObject * obj1 = 0 ;
286259 
286260  if (!PyArg_ParseTuple(args,(char *)"OO:TonicNeuron_Copy",&obj0,&obj1)) SWIG_fail;
286261  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron, 0 | 0 );
286262  if (!SWIG_IsOK(res1)) {
286263  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TonicNeuron_Copy" "', argument " "1"" of type '" "FiringRateSim::Neurons::TonicNeuron *""'");
286264  }
286265  arg1 = reinterpret_cast< FiringRateSim::Neurons::TonicNeuron * >(argp1);
286266  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StdUtils__CStdSerialize, 0 | 0 );
286267  if (!SWIG_IsOK(res2)) {
286268  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TonicNeuron_Copy" "', argument " "2"" of type '" "StdUtils::CStdSerialize *""'");
286269  }
286270  arg2 = reinterpret_cast< StdUtils::CStdSerialize * >(argp2);
286271  {
286272  try {
286273  (arg1)->Copy(arg2);
286274  }
286275  catch(CStdErrorInfo oError)
286276  {
286277  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286278  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286279  PyErr_SetString(PyExc_IndexError, strError.c_str());
286280  SWIG_fail;
286281  }
286282  catch(...)
286283  {
286284  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286285  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286286  SWIG_fail;
286287  }
286288  }
286289  resultobj = SWIG_Py_Void();
286290  return resultobj;
286291 fail:
286292  return NULL;
286293 }
286294 
286295 
286296 SWIGINTERN PyObject *_wrap_TonicNeuron_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286297  PyObject *resultobj = 0;
286299  std::string *arg2 = 0 ;
286300  std::string *arg3 = 0 ;
286301  bool arg4 ;
286302  void *argp1 = 0 ;
286303  int res1 = 0 ;
286304  int res2 = SWIG_OLDOBJ ;
286305  int res3 = SWIG_OLDOBJ ;
286306  bool val4 ;
286307  int ecode4 = 0 ;
286308  PyObject * obj0 = 0 ;
286309  PyObject * obj1 = 0 ;
286310  PyObject * obj2 = 0 ;
286311  PyObject * obj3 = 0 ;
286312  bool result;
286313 
286314  if (!PyArg_ParseTuple(args,(char *)"OOOO:TonicNeuron_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
286315  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron, 0 | 0 );
286316  if (!SWIG_IsOK(res1)) {
286317  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TonicNeuron_SetData" "', argument " "1"" of type '" "FiringRateSim::Neurons::TonicNeuron *""'");
286318  }
286319  arg1 = reinterpret_cast< FiringRateSim::Neurons::TonicNeuron * >(argp1);
286320  {
286321  std::string *ptr = (std::string *)0;
286322  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
286323  if (!SWIG_IsOK(res2)) {
286324  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TonicNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
286325  }
286326  if (!ptr) {
286327  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TonicNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
286328  }
286329  arg2 = ptr;
286330  }
286331  {
286332  std::string *ptr = (std::string *)0;
286333  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
286334  if (!SWIG_IsOK(res3)) {
286335  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TonicNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
286336  }
286337  if (!ptr) {
286338  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TonicNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
286339  }
286340  arg3 = ptr;
286341  }
286342  ecode4 = SWIG_AsVal_bool(obj3, &val4);
286343  if (!SWIG_IsOK(ecode4)) {
286344  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TonicNeuron_SetData" "', argument " "4"" of type '" "bool""'");
286345  }
286346  arg4 = static_cast< bool >(val4);
286347  {
286348  try {
286349  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
286350  }
286351  catch(CStdErrorInfo oError)
286352  {
286353  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286354  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286355  PyErr_SetString(PyExc_IndexError, strError.c_str());
286356  SWIG_fail;
286357  }
286358  catch(...)
286359  {
286360  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286361  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286362  SWIG_fail;
286363  }
286364  }
286365  resultobj = SWIG_From_bool(static_cast< bool >(result));
286366  if (SWIG_IsNewObj(res2)) delete arg2;
286367  if (SWIG_IsNewObj(res3)) delete arg3;
286368  return resultobj;
286369 fail:
286370  if (SWIG_IsNewObj(res2)) delete arg2;
286371  if (SWIG_IsNewObj(res3)) delete arg3;
286372  return NULL;
286373 }
286374 
286375 
286376 SWIGINTERN PyObject *_wrap_TonicNeuron_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286377  PyObject *resultobj = 0;
286379  std::string *arg2 = 0 ;
286380  std::string *arg3 = 0 ;
286381  void *argp1 = 0 ;
286382  int res1 = 0 ;
286383  int res2 = SWIG_OLDOBJ ;
286384  int res3 = SWIG_OLDOBJ ;
286385  PyObject * obj0 = 0 ;
286386  PyObject * obj1 = 0 ;
286387  PyObject * obj2 = 0 ;
286388  bool result;
286389 
286390  if (!PyArg_ParseTuple(args,(char *)"OOO:TonicNeuron_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
286391  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron, 0 | 0 );
286392  if (!SWIG_IsOK(res1)) {
286393  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TonicNeuron_SetData" "', argument " "1"" of type '" "FiringRateSim::Neurons::TonicNeuron *""'");
286394  }
286395  arg1 = reinterpret_cast< FiringRateSim::Neurons::TonicNeuron * >(argp1);
286396  {
286397  std::string *ptr = (std::string *)0;
286398  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
286399  if (!SWIG_IsOK(res2)) {
286400  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TonicNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
286401  }
286402  if (!ptr) {
286403  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TonicNeuron_SetData" "', argument " "2"" of type '" "std::string const &""'");
286404  }
286405  arg2 = ptr;
286406  }
286407  {
286408  std::string *ptr = (std::string *)0;
286409  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
286410  if (!SWIG_IsOK(res3)) {
286411  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TonicNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
286412  }
286413  if (!ptr) {
286414  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TonicNeuron_SetData" "', argument " "3"" of type '" "std::string const &""'");
286415  }
286416  arg3 = ptr;
286417  }
286418  {
286419  try {
286420  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
286421  }
286422  catch(CStdErrorInfo oError)
286423  {
286424  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286425  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286426  PyErr_SetString(PyExc_IndexError, strError.c_str());
286427  SWIG_fail;
286428  }
286429  catch(...)
286430  {
286431  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286432  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286433  SWIG_fail;
286434  }
286435  }
286436  resultobj = SWIG_From_bool(static_cast< bool >(result));
286437  if (SWIG_IsNewObj(res2)) delete arg2;
286438  if (SWIG_IsNewObj(res3)) delete arg3;
286439  return resultobj;
286440 fail:
286441  if (SWIG_IsNewObj(res2)) delete arg2;
286442  if (SWIG_IsNewObj(res3)) delete arg3;
286443  return NULL;
286444 }
286445 
286446 
286447 SWIGINTERN PyObject *_wrap_TonicNeuron_SetData(PyObject *self, PyObject *args) {
286448  int argc;
286449  PyObject *argv[5];
286450  int ii;
286451 
286452  if (!PyTuple_Check(args)) SWIG_fail;
286453  argc = args ? (int)PyObject_Length(args) : 0;
286454  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
286455  argv[ii] = PyTuple_GET_ITEM(args,ii);
286456  }
286457  if (argc == 3) {
286458  int _v;
286459  void *vptr = 0;
286460  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron, 0);
286461  _v = SWIG_CheckState(res);
286462  if (_v) {
286463  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
286464  _v = SWIG_CheckState(res);
286465  if (_v) {
286466  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
286467  _v = SWIG_CheckState(res);
286468  if (_v) {
286469  return _wrap_TonicNeuron_SetData__SWIG_1(self, args);
286470  }
286471  }
286472  }
286473  }
286474  if (argc == 4) {
286475  int _v;
286476  void *vptr = 0;
286477  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron, 0);
286478  _v = SWIG_CheckState(res);
286479  if (_v) {
286480  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
286481  _v = SWIG_CheckState(res);
286482  if (_v) {
286483  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
286484  _v = SWIG_CheckState(res);
286485  if (_v) {
286486  {
286487  int res = SWIG_AsVal_bool(argv[3], NULL);
286488  _v = SWIG_CheckState(res);
286489  }
286490  if (_v) {
286491  return _wrap_TonicNeuron_SetData__SWIG_0(self, args);
286492  }
286493  }
286494  }
286495  }
286496  }
286497 
286498 fail:
286499  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'TonicNeuron_SetData'.\n"
286500  " Possible C/C++ prototypes are:\n"
286501  " FiringRateSim::Neurons::TonicNeuron::SetData(std::string const &,std::string const &,bool)\n"
286502  " FiringRateSim::Neurons::TonicNeuron::SetData(std::string const &,std::string const &)\n");
286503  return 0;
286504 }
286505 
286506 
286507 SWIGINTERN PyObject *_wrap_TonicNeuron_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286508  PyObject *resultobj = 0;
286510  CStdPtrArray< TypeProperty > *arg2 = 0 ;
286511  void *argp1 = 0 ;
286512  int res1 = 0 ;
286513  void *argp2 = 0 ;
286514  int res2 = 0 ;
286515  PyObject * obj0 = 0 ;
286516  PyObject * obj1 = 0 ;
286517 
286518  if (!PyArg_ParseTuple(args,(char *)"OO:TonicNeuron_QueryProperties",&obj0,&obj1)) SWIG_fail;
286519  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron, 0 | 0 );
286520  if (!SWIG_IsOK(res1)) {
286521  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TonicNeuron_QueryProperties" "', argument " "1"" of type '" "FiringRateSim::Neurons::TonicNeuron *""'");
286522  }
286523  arg1 = reinterpret_cast< FiringRateSim::Neurons::TonicNeuron * >(argp1);
286524  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
286525  if (!SWIG_IsOK(res2)) {
286526  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TonicNeuron_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
286527  }
286528  if (!argp2) {
286529  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TonicNeuron_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
286530  }
286531  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
286532  {
286533  try {
286534  (arg1)->QueryProperties(*arg2);
286535  }
286536  catch(CStdErrorInfo oError)
286537  {
286538  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286539  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286540  PyErr_SetString(PyExc_IndexError, strError.c_str());
286541  SWIG_fail;
286542  }
286543  catch(...)
286544  {
286545  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286546  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286547  SWIG_fail;
286548  }
286549  }
286550  resultobj = SWIG_Py_Void();
286551  return resultobj;
286552 fail:
286553  return NULL;
286554 }
286555 
286556 
286557 SWIGINTERN PyObject *_wrap_TonicNeuron_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286558  PyObject *resultobj = 0;
286560  StdUtils::CStdXml *arg2 = 0 ;
286561  void *argp1 = 0 ;
286562  int res1 = 0 ;
286563  void *argp2 = 0 ;
286564  int res2 = 0 ;
286565  PyObject * obj0 = 0 ;
286566  PyObject * obj1 = 0 ;
286567 
286568  if (!PyArg_ParseTuple(args,(char *)"OO:TonicNeuron_Load",&obj0,&obj1)) SWIG_fail;
286569  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron, 0 | 0 );
286570  if (!SWIG_IsOK(res1)) {
286571  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TonicNeuron_Load" "', argument " "1"" of type '" "FiringRateSim::Neurons::TonicNeuron *""'");
286572  }
286573  arg1 = reinterpret_cast< FiringRateSim::Neurons::TonicNeuron * >(argp1);
286574  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
286575  if (!SWIG_IsOK(res2)) {
286576  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TonicNeuron_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
286577  }
286578  if (!argp2) {
286579  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TonicNeuron_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
286580  }
286581  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
286582  {
286583  try {
286584  (arg1)->Load(*arg2);
286585  }
286586  catch(CStdErrorInfo oError)
286587  {
286588  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286589  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286590  PyErr_SetString(PyExc_IndexError, strError.c_str());
286591  SWIG_fail;
286592  }
286593  catch(...)
286594  {
286595  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286596  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286597  SWIG_fail;
286598  }
286599  }
286600  resultobj = SWIG_Py_Void();
286601  return resultobj;
286602 fail:
286603  return NULL;
286604 }
286605 
286606 
286607 SWIGINTERN PyObject *TonicNeuron_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286608  PyObject *obj;
286609  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
286610  SWIG_TypeNewClientData(SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron, SWIG_NewClientData(obj));
286611  return SWIG_Py_Void();
286612 }
286613 
286614 SWIGINTERN PyObject *_wrap_new_GatedSynapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286615  PyObject *resultobj = 0;
286617 
286618  if (!PyArg_ParseTuple(args,(char *)":new_GatedSynapse")) SWIG_fail;
286619  {
286620  try {
286622  }
286623  catch(CStdErrorInfo oError)
286624  {
286625  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286626  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286627  PyErr_SetString(PyExc_IndexError, strError.c_str());
286628  SWIG_fail;
286629  }
286630  catch(...)
286631  {
286632  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286633  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286634  SWIG_fail;
286635  }
286636  }
286637  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse, SWIG_POINTER_NEW | 0 );
286638  return resultobj;
286639 fail:
286640  return NULL;
286641 }
286642 
286643 
286644 SWIGINTERN PyObject *_wrap_delete_GatedSynapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286645  PyObject *resultobj = 0;
286647  void *argp1 = 0 ;
286648  int res1 = 0 ;
286649  PyObject * obj0 = 0 ;
286650 
286651  if (!PyArg_ParseTuple(args,(char *)"O:delete_GatedSynapse",&obj0)) SWIG_fail;
286652  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse, SWIG_POINTER_DISOWN | 0 );
286653  if (!SWIG_IsOK(res1)) {
286654  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GatedSynapse" "', argument " "1"" of type '" "FiringRateSim::Synapses::GatedSynapse *""'");
286655  }
286656  arg1 = reinterpret_cast< FiringRateSim::Synapses::GatedSynapse * >(argp1);
286657  {
286658  try {
286659  delete arg1;
286660  }
286661  catch(CStdErrorInfo oError)
286662  {
286663  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286664  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286665  PyErr_SetString(PyExc_IndexError, strError.c_str());
286666  SWIG_fail;
286667  }
286668  catch(...)
286669  {
286670  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286671  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286672  SWIG_fail;
286673  }
286674  }
286675  resultobj = SWIG_Py_Void();
286676  return resultobj;
286677 fail:
286678  return NULL;
286679 }
286680 
286681 
286682 SWIGINTERN PyObject *_wrap_GatedSynapse_InitialGateValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286683  PyObject *resultobj = 0;
286685  void *argp1 = 0 ;
286686  int res1 = 0 ;
286687  PyObject * obj0 = 0 ;
286688  unsigned char result;
286689 
286690  if (!PyArg_ParseTuple(args,(char *)"O:GatedSynapse_InitialGateValue",&obj0)) SWIG_fail;
286691  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse, 0 | 0 );
286692  if (!SWIG_IsOK(res1)) {
286693  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GatedSynapse_InitialGateValue" "', argument " "1"" of type '" "FiringRateSim::Synapses::GatedSynapse *""'");
286694  }
286695  arg1 = reinterpret_cast< FiringRateSim::Synapses::GatedSynapse * >(argp1);
286696  {
286697  try {
286698  result = (unsigned char)(arg1)->InitialGateValue();
286699  }
286700  catch(CStdErrorInfo oError)
286701  {
286702  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286703  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286704  PyErr_SetString(PyExc_IndexError, strError.c_str());
286705  SWIG_fail;
286706  }
286707  catch(...)
286708  {
286709  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286710  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286711  SWIG_fail;
286712  }
286713  }
286714  resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
286715  return resultobj;
286716 fail:
286717  return NULL;
286718 }
286719 
286720 
286721 SWIGINTERN PyObject *_wrap_GatedSynapse_InitialGateValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286722  PyObject *resultobj = 0;
286724  unsigned char arg2 ;
286725  void *argp1 = 0 ;
286726  int res1 = 0 ;
286727  unsigned char val2 ;
286728  int ecode2 = 0 ;
286729  PyObject * obj0 = 0 ;
286730  PyObject * obj1 = 0 ;
286731 
286732  if (!PyArg_ParseTuple(args,(char *)"OO:GatedSynapse_InitialGateValue",&obj0,&obj1)) SWIG_fail;
286733  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse, 0 | 0 );
286734  if (!SWIG_IsOK(res1)) {
286735  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GatedSynapse_InitialGateValue" "', argument " "1"" of type '" "FiringRateSim::Synapses::GatedSynapse *""'");
286736  }
286737  arg1 = reinterpret_cast< FiringRateSim::Synapses::GatedSynapse * >(argp1);
286738  ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
286739  if (!SWIG_IsOK(ecode2)) {
286740  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GatedSynapse_InitialGateValue" "', argument " "2"" of type '" "unsigned char""'");
286741  }
286742  arg2 = static_cast< unsigned char >(val2);
286743  {
286744  try {
286745  (arg1)->InitialGateValue(arg2);
286746  }
286747  catch(CStdErrorInfo oError)
286748  {
286749  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286750  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286751  PyErr_SetString(PyExc_IndexError, strError.c_str());
286752  SWIG_fail;
286753  }
286754  catch(...)
286755  {
286756  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286757  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286758  SWIG_fail;
286759  }
286760  }
286761  resultobj = SWIG_Py_Void();
286762  return resultobj;
286763 fail:
286764  return NULL;
286765 }
286766 
286767 
286768 SWIGINTERN PyObject *_wrap_GatedSynapse_InitialGateValue(PyObject *self, PyObject *args) {
286769  int argc;
286770  PyObject *argv[3];
286771  int ii;
286772 
286773  if (!PyTuple_Check(args)) SWIG_fail;
286774  argc = args ? (int)PyObject_Length(args) : 0;
286775  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
286776  argv[ii] = PyTuple_GET_ITEM(args,ii);
286777  }
286778  if (argc == 1) {
286779  int _v;
286780  void *vptr = 0;
286781  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse, 0);
286782  _v = SWIG_CheckState(res);
286783  if (_v) {
286784  return _wrap_GatedSynapse_InitialGateValue__SWIG_0(self, args);
286785  }
286786  }
286787  if (argc == 2) {
286788  int _v;
286789  void *vptr = 0;
286790  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse, 0);
286791  _v = SWIG_CheckState(res);
286792  if (_v) {
286793  {
286794  int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL);
286795  _v = SWIG_CheckState(res);
286796  }
286797  if (_v) {
286798  return _wrap_GatedSynapse_InitialGateValue__SWIG_1(self, args);
286799  }
286800  }
286801  }
286802 
286803 fail:
286804  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GatedSynapse_InitialGateValue'.\n"
286805  " Possible C/C++ prototypes are:\n"
286806  " FiringRateSim::Synapses::GatedSynapse::InitialGateValue()\n"
286807  " FiringRateSim::Synapses::GatedSynapse::InitialGateValue(unsigned char)\n");
286808  return 0;
286809 }
286810 
286811 
286812 SWIGINTERN PyObject *_wrap_GatedSynapse_CalculateModulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286813  PyObject *resultobj = 0;
286815  FiringRateModule *arg2 = (FiringRateModule *) 0 ;
286816  void *argp1 = 0 ;
286817  int res1 = 0 ;
286818  void *argp2 = 0 ;
286819  int res2 = 0 ;
286820  PyObject * obj0 = 0 ;
286821  PyObject * obj1 = 0 ;
286822  float result;
286823 
286824  if (!PyArg_ParseTuple(args,(char *)"OO:GatedSynapse_CalculateModulation",&obj0,&obj1)) SWIG_fail;
286825  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse, 0 | 0 );
286826  if (!SWIG_IsOK(res1)) {
286827  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GatedSynapse_CalculateModulation" "', argument " "1"" of type '" "FiringRateSim::Synapses::GatedSynapse *""'");
286828  }
286829  arg1 = reinterpret_cast< FiringRateSim::Synapses::GatedSynapse * >(argp1);
286830  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_FiringRateModule, 0 | 0 );
286831  if (!SWIG_IsOK(res2)) {
286832  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GatedSynapse_CalculateModulation" "', argument " "2"" of type '" "FiringRateModule *""'");
286833  }
286834  arg2 = reinterpret_cast< FiringRateModule * >(argp2);
286835  {
286836  try {
286837  result = (float)(arg1)->CalculateModulation(arg2);
286838  }
286839  catch(CStdErrorInfo oError)
286840  {
286841  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286842  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286843  PyErr_SetString(PyExc_IndexError, strError.c_str());
286844  SWIG_fail;
286845  }
286846  catch(...)
286847  {
286848  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286849  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286850  SWIG_fail;
286851  }
286852  }
286853  resultobj = SWIG_From_float(static_cast< float >(result));
286854  return resultobj;
286855 fail:
286856  return NULL;
286857 }
286858 
286859 
286860 SWIGINTERN PyObject *_wrap_GatedSynapse_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286861  PyObject *resultobj = 0;
286863  std::string *arg2 = 0 ;
286864  void *argp1 = 0 ;
286865  int res1 = 0 ;
286866  int res2 = SWIG_OLDOBJ ;
286867  PyObject * obj0 = 0 ;
286868  PyObject * obj1 = 0 ;
286869  float *result = 0 ;
286870 
286871  if (!PyArg_ParseTuple(args,(char *)"OO:GatedSynapse_GetDataPointer",&obj0,&obj1)) SWIG_fail;
286872  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse, 0 | 0 );
286873  if (!SWIG_IsOK(res1)) {
286874  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GatedSynapse_GetDataPointer" "', argument " "1"" of type '" "FiringRateSim::Synapses::GatedSynapse *""'");
286875  }
286876  arg1 = reinterpret_cast< FiringRateSim::Synapses::GatedSynapse * >(argp1);
286877  {
286878  std::string *ptr = (std::string *)0;
286879  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
286880  if (!SWIG_IsOK(res2)) {
286881  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GatedSynapse_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
286882  }
286883  if (!ptr) {
286884  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GatedSynapse_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
286885  }
286886  arg2 = ptr;
286887  }
286888  {
286889  try {
286890  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
286891  }
286892  catch(CStdErrorInfo oError)
286893  {
286894  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286895  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286896  PyErr_SetString(PyExc_IndexError, strError.c_str());
286897  SWIG_fail;
286898  }
286899  catch(...)
286900  {
286901  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286902  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286903  SWIG_fail;
286904  }
286905  }
286906  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
286907  if (SWIG_IsNewObj(res2)) delete arg2;
286908  return resultobj;
286909 fail:
286910  if (SWIG_IsNewObj(res2)) delete arg2;
286911  return NULL;
286912 }
286913 
286914 
286915 SWIGINTERN PyObject *_wrap_GatedSynapse_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286916  PyObject *resultobj = 0;
286918  std::string *arg2 = 0 ;
286919  std::string *arg3 = 0 ;
286920  bool arg4 ;
286921  void *argp1 = 0 ;
286922  int res1 = 0 ;
286923  int res2 = SWIG_OLDOBJ ;
286924  int res3 = SWIG_OLDOBJ ;
286925  bool val4 ;
286926  int ecode4 = 0 ;
286927  PyObject * obj0 = 0 ;
286928  PyObject * obj1 = 0 ;
286929  PyObject * obj2 = 0 ;
286930  PyObject * obj3 = 0 ;
286931  bool result;
286932 
286933  if (!PyArg_ParseTuple(args,(char *)"OOOO:GatedSynapse_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
286934  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse, 0 | 0 );
286935  if (!SWIG_IsOK(res1)) {
286936  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GatedSynapse_SetData" "', argument " "1"" of type '" "FiringRateSim::Synapses::GatedSynapse *""'");
286937  }
286938  arg1 = reinterpret_cast< FiringRateSim::Synapses::GatedSynapse * >(argp1);
286939  {
286940  std::string *ptr = (std::string *)0;
286941  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
286942  if (!SWIG_IsOK(res2)) {
286943  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GatedSynapse_SetData" "', argument " "2"" of type '" "std::string const &""'");
286944  }
286945  if (!ptr) {
286946  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GatedSynapse_SetData" "', argument " "2"" of type '" "std::string const &""'");
286947  }
286948  arg2 = ptr;
286949  }
286950  {
286951  std::string *ptr = (std::string *)0;
286952  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
286953  if (!SWIG_IsOK(res3)) {
286954  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GatedSynapse_SetData" "', argument " "3"" of type '" "std::string const &""'");
286955  }
286956  if (!ptr) {
286957  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GatedSynapse_SetData" "', argument " "3"" of type '" "std::string const &""'");
286958  }
286959  arg3 = ptr;
286960  }
286961  ecode4 = SWIG_AsVal_bool(obj3, &val4);
286962  if (!SWIG_IsOK(ecode4)) {
286963  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GatedSynapse_SetData" "', argument " "4"" of type '" "bool""'");
286964  }
286965  arg4 = static_cast< bool >(val4);
286966  {
286967  try {
286968  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
286969  }
286970  catch(CStdErrorInfo oError)
286971  {
286972  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286973  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
286974  PyErr_SetString(PyExc_IndexError, strError.c_str());
286975  SWIG_fail;
286976  }
286977  catch(...)
286978  {
286979  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
286980  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
286981  SWIG_fail;
286982  }
286983  }
286984  resultobj = SWIG_From_bool(static_cast< bool >(result));
286985  if (SWIG_IsNewObj(res2)) delete arg2;
286986  if (SWIG_IsNewObj(res3)) delete arg3;
286987  return resultobj;
286988 fail:
286989  if (SWIG_IsNewObj(res2)) delete arg2;
286990  if (SWIG_IsNewObj(res3)) delete arg3;
286991  return NULL;
286992 }
286993 
286994 
286995 SWIGINTERN PyObject *_wrap_GatedSynapse_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
286996  PyObject *resultobj = 0;
286998  std::string *arg2 = 0 ;
286999  std::string *arg3 = 0 ;
287000  void *argp1 = 0 ;
287001  int res1 = 0 ;
287002  int res2 = SWIG_OLDOBJ ;
287003  int res3 = SWIG_OLDOBJ ;
287004  PyObject * obj0 = 0 ;
287005  PyObject * obj1 = 0 ;
287006  PyObject * obj2 = 0 ;
287007  bool result;
287008 
287009  if (!PyArg_ParseTuple(args,(char *)"OOO:GatedSynapse_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
287010  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse, 0 | 0 );
287011  if (!SWIG_IsOK(res1)) {
287012  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GatedSynapse_SetData" "', argument " "1"" of type '" "FiringRateSim::Synapses::GatedSynapse *""'");
287013  }
287014  arg1 = reinterpret_cast< FiringRateSim::Synapses::GatedSynapse * >(argp1);
287015  {
287016  std::string *ptr = (std::string *)0;
287017  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
287018  if (!SWIG_IsOK(res2)) {
287019  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GatedSynapse_SetData" "', argument " "2"" of type '" "std::string const &""'");
287020  }
287021  if (!ptr) {
287022  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GatedSynapse_SetData" "', argument " "2"" of type '" "std::string const &""'");
287023  }
287024  arg2 = ptr;
287025  }
287026  {
287027  std::string *ptr = (std::string *)0;
287028  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
287029  if (!SWIG_IsOK(res3)) {
287030  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GatedSynapse_SetData" "', argument " "3"" of type '" "std::string const &""'");
287031  }
287032  if (!ptr) {
287033  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GatedSynapse_SetData" "', argument " "3"" of type '" "std::string const &""'");
287034  }
287035  arg3 = ptr;
287036  }
287037  {
287038  try {
287039  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
287040  }
287041  catch(CStdErrorInfo oError)
287042  {
287043  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287044  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287045  PyErr_SetString(PyExc_IndexError, strError.c_str());
287046  SWIG_fail;
287047  }
287048  catch(...)
287049  {
287050  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287051  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287052  SWIG_fail;
287053  }
287054  }
287055  resultobj = SWIG_From_bool(static_cast< bool >(result));
287056  if (SWIG_IsNewObj(res2)) delete arg2;
287057  if (SWIG_IsNewObj(res3)) delete arg3;
287058  return resultobj;
287059 fail:
287060  if (SWIG_IsNewObj(res2)) delete arg2;
287061  if (SWIG_IsNewObj(res3)) delete arg3;
287062  return NULL;
287063 }
287064 
287065 
287066 SWIGINTERN PyObject *_wrap_GatedSynapse_SetData(PyObject *self, PyObject *args) {
287067  int argc;
287068  PyObject *argv[5];
287069  int ii;
287070 
287071  if (!PyTuple_Check(args)) SWIG_fail;
287072  argc = args ? (int)PyObject_Length(args) : 0;
287073  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
287074  argv[ii] = PyTuple_GET_ITEM(args,ii);
287075  }
287076  if (argc == 3) {
287077  int _v;
287078  void *vptr = 0;
287079  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse, 0);
287080  _v = SWIG_CheckState(res);
287081  if (_v) {
287082  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
287083  _v = SWIG_CheckState(res);
287084  if (_v) {
287085  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
287086  _v = SWIG_CheckState(res);
287087  if (_v) {
287088  return _wrap_GatedSynapse_SetData__SWIG_1(self, args);
287089  }
287090  }
287091  }
287092  }
287093  if (argc == 4) {
287094  int _v;
287095  void *vptr = 0;
287096  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse, 0);
287097  _v = SWIG_CheckState(res);
287098  if (_v) {
287099  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
287100  _v = SWIG_CheckState(res);
287101  if (_v) {
287102  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
287103  _v = SWIG_CheckState(res);
287104  if (_v) {
287105  {
287106  int res = SWIG_AsVal_bool(argv[3], NULL);
287107  _v = SWIG_CheckState(res);
287108  }
287109  if (_v) {
287110  return _wrap_GatedSynapse_SetData__SWIG_0(self, args);
287111  }
287112  }
287113  }
287114  }
287115  }
287116 
287117 fail:
287118  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GatedSynapse_SetData'.\n"
287119  " Possible C/C++ prototypes are:\n"
287120  " FiringRateSim::Synapses::GatedSynapse::SetData(std::string const &,std::string const &,bool)\n"
287121  " FiringRateSim::Synapses::GatedSynapse::SetData(std::string const &,std::string const &)\n");
287122  return 0;
287123 }
287124 
287125 
287126 SWIGINTERN PyObject *_wrap_GatedSynapse_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287127  PyObject *resultobj = 0;
287129  CStdPtrArray< TypeProperty > *arg2 = 0 ;
287130  void *argp1 = 0 ;
287131  int res1 = 0 ;
287132  void *argp2 = 0 ;
287133  int res2 = 0 ;
287134  PyObject * obj0 = 0 ;
287135  PyObject * obj1 = 0 ;
287136 
287137  if (!PyArg_ParseTuple(args,(char *)"OO:GatedSynapse_QueryProperties",&obj0,&obj1)) SWIG_fail;
287138  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse, 0 | 0 );
287139  if (!SWIG_IsOK(res1)) {
287140  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GatedSynapse_QueryProperties" "', argument " "1"" of type '" "FiringRateSim::Synapses::GatedSynapse *""'");
287141  }
287142  arg1 = reinterpret_cast< FiringRateSim::Synapses::GatedSynapse * >(argp1);
287143  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
287144  if (!SWIG_IsOK(res2)) {
287145  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GatedSynapse_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
287146  }
287147  if (!argp2) {
287148  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GatedSynapse_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
287149  }
287150  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
287151  {
287152  try {
287153  (arg1)->QueryProperties(*arg2);
287154  }
287155  catch(CStdErrorInfo oError)
287156  {
287157  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287158  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287159  PyErr_SetString(PyExc_IndexError, strError.c_str());
287160  SWIG_fail;
287161  }
287162  catch(...)
287163  {
287164  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287165  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287166  SWIG_fail;
287167  }
287168  }
287169  resultobj = SWIG_Py_Void();
287170  return resultobj;
287171 fail:
287172  return NULL;
287173 }
287174 
287175 
287176 SWIGINTERN PyObject *_wrap_GatedSynapse_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287177  PyObject *resultobj = 0;
287179  StdUtils::CStdXml *arg2 = 0 ;
287180  void *argp1 = 0 ;
287181  int res1 = 0 ;
287182  void *argp2 = 0 ;
287183  int res2 = 0 ;
287184  PyObject * obj0 = 0 ;
287185  PyObject * obj1 = 0 ;
287186 
287187  if (!PyArg_ParseTuple(args,(char *)"OO:GatedSynapse_Load",&obj0,&obj1)) SWIG_fail;
287188  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse, 0 | 0 );
287189  if (!SWIG_IsOK(res1)) {
287190  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GatedSynapse_Load" "', argument " "1"" of type '" "FiringRateSim::Synapses::GatedSynapse *""'");
287191  }
287192  arg1 = reinterpret_cast< FiringRateSim::Synapses::GatedSynapse * >(argp1);
287193  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
287194  if (!SWIG_IsOK(res2)) {
287195  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GatedSynapse_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
287196  }
287197  if (!argp2) {
287198  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GatedSynapse_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
287199  }
287200  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
287201  {
287202  try {
287203  (arg1)->Load(*arg2);
287204  }
287205  catch(CStdErrorInfo oError)
287206  {
287207  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287208  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287209  PyErr_SetString(PyExc_IndexError, strError.c_str());
287210  SWIG_fail;
287211  }
287212  catch(...)
287213  {
287214  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287215  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287216  SWIG_fail;
287217  }
287218  }
287219  resultobj = SWIG_Py_Void();
287220  return resultobj;
287221 fail:
287222  return NULL;
287223 }
287224 
287225 
287226 SWIGINTERN PyObject *GatedSynapse_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287227  PyObject *obj;
287228  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
287229  SWIG_TypeNewClientData(SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse, SWIG_NewClientData(obj));
287230  return SWIG_Py_Void();
287231 }
287232 
287233 SWIGINTERN PyObject *_wrap_new_ModulatedSynapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287234  PyObject *resultobj = 0;
287236 
287237  if (!PyArg_ParseTuple(args,(char *)":new_ModulatedSynapse")) SWIG_fail;
287238  {
287239  try {
287241  }
287242  catch(CStdErrorInfo oError)
287243  {
287244  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287245  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287246  PyErr_SetString(PyExc_IndexError, strError.c_str());
287247  SWIG_fail;
287248  }
287249  catch(...)
287250  {
287251  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287252  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287253  SWIG_fail;
287254  }
287255  }
287256  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FiringRateSim__Synapses__ModulatedSynapse, SWIG_POINTER_NEW | 0 );
287257  return resultobj;
287258 fail:
287259  return NULL;
287260 }
287261 
287262 
287263 SWIGINTERN PyObject *_wrap_delete_ModulatedSynapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287264  PyObject *resultobj = 0;
287266  void *argp1 = 0 ;
287267  int res1 = 0 ;
287268  PyObject * obj0 = 0 ;
287269 
287270  if (!PyArg_ParseTuple(args,(char *)"O:delete_ModulatedSynapse",&obj0)) SWIG_fail;
287271  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulatedSynapse, SWIG_POINTER_DISOWN | 0 );
287272  if (!SWIG_IsOK(res1)) {
287273  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ModulatedSynapse" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulatedSynapse *""'");
287274  }
287275  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulatedSynapse * >(argp1);
287276  {
287277  try {
287278  delete arg1;
287279  }
287280  catch(CStdErrorInfo oError)
287281  {
287282  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287283  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287284  PyErr_SetString(PyExc_IndexError, strError.c_str());
287285  SWIG_fail;
287286  }
287287  catch(...)
287288  {
287289  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287290  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287291  SWIG_fail;
287292  }
287293  }
287294  resultobj = SWIG_Py_Void();
287295  return resultobj;
287296 fail:
287297  return NULL;
287298 }
287299 
287300 
287301 SWIGINTERN PyObject *_wrap_ModulatedSynapse_GetDataPointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287302  PyObject *resultobj = 0;
287304  std::string *arg2 = 0 ;
287305  void *argp1 = 0 ;
287306  int res1 = 0 ;
287307  int res2 = SWIG_OLDOBJ ;
287308  PyObject * obj0 = 0 ;
287309  PyObject * obj1 = 0 ;
287310  float *result = 0 ;
287311 
287312  if (!PyArg_ParseTuple(args,(char *)"OO:ModulatedSynapse_GetDataPointer",&obj0,&obj1)) SWIG_fail;
287313  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulatedSynapse, 0 | 0 );
287314  if (!SWIG_IsOK(res1)) {
287315  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ModulatedSynapse_GetDataPointer" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulatedSynapse *""'");
287316  }
287317  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulatedSynapse * >(argp1);
287318  {
287319  std::string *ptr = (std::string *)0;
287320  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
287321  if (!SWIG_IsOK(res2)) {
287322  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ModulatedSynapse_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
287323  }
287324  if (!ptr) {
287325  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ModulatedSynapse_GetDataPointer" "', argument " "2"" of type '" "std::string const &""'");
287326  }
287327  arg2 = ptr;
287328  }
287329  {
287330  try {
287331  result = (float *)(arg1)->GetDataPointer((std::string const &)*arg2);
287332  }
287333  catch(CStdErrorInfo oError)
287334  {
287335  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287336  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287337  PyErr_SetString(PyExc_IndexError, strError.c_str());
287338  SWIG_fail;
287339  }
287340  catch(...)
287341  {
287342  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287343  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287344  SWIG_fail;
287345  }
287346  }
287347  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
287348  if (SWIG_IsNewObj(res2)) delete arg2;
287349  return resultobj;
287350 fail:
287351  if (SWIG_IsNewObj(res2)) delete arg2;
287352  return NULL;
287353 }
287354 
287355 
287356 SWIGINTERN PyObject *_wrap_ModulatedSynapse_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287357  PyObject *resultobj = 0;
287359  CStdPtrArray< TypeProperty > *arg2 = 0 ;
287360  void *argp1 = 0 ;
287361  int res1 = 0 ;
287362  void *argp2 = 0 ;
287363  int res2 = 0 ;
287364  PyObject * obj0 = 0 ;
287365  PyObject * obj1 = 0 ;
287366 
287367  if (!PyArg_ParseTuple(args,(char *)"OO:ModulatedSynapse_QueryProperties",&obj0,&obj1)) SWIG_fail;
287368  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulatedSynapse, 0 | 0 );
287369  if (!SWIG_IsOK(res1)) {
287370  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ModulatedSynapse_QueryProperties" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulatedSynapse *""'");
287371  }
287372  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulatedSynapse * >(argp1);
287373  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
287374  if (!SWIG_IsOK(res2)) {
287375  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ModulatedSynapse_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
287376  }
287377  if (!argp2) {
287378  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ModulatedSynapse_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
287379  }
287380  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
287381  {
287382  try {
287383  (arg1)->QueryProperties(*arg2);
287384  }
287385  catch(CStdErrorInfo oError)
287386  {
287387  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287388  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287389  PyErr_SetString(PyExc_IndexError, strError.c_str());
287390  SWIG_fail;
287391  }
287392  catch(...)
287393  {
287394  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287395  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287396  SWIG_fail;
287397  }
287398  }
287399  resultobj = SWIG_Py_Void();
287400  return resultobj;
287401 fail:
287402  return NULL;
287403 }
287404 
287405 
287406 SWIGINTERN PyObject *_wrap_ModulatedSynapse_CalculateModulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287407  PyObject *resultobj = 0;
287409  FiringRateModule *arg2 = (FiringRateModule *) 0 ;
287410  void *argp1 = 0 ;
287411  int res1 = 0 ;
287412  void *argp2 = 0 ;
287413  int res2 = 0 ;
287414  PyObject * obj0 = 0 ;
287415  PyObject * obj1 = 0 ;
287416  float result;
287417 
287418  if (!PyArg_ParseTuple(args,(char *)"OO:ModulatedSynapse_CalculateModulation",&obj0,&obj1)) SWIG_fail;
287419  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulatedSynapse, 0 | 0 );
287420  if (!SWIG_IsOK(res1)) {
287421  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ModulatedSynapse_CalculateModulation" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulatedSynapse *""'");
287422  }
287423  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulatedSynapse * >(argp1);
287424  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_FiringRateModule, 0 | 0 );
287425  if (!SWIG_IsOK(res2)) {
287426  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ModulatedSynapse_CalculateModulation" "', argument " "2"" of type '" "FiringRateModule *""'");
287427  }
287428  arg2 = reinterpret_cast< FiringRateModule * >(argp2);
287429  {
287430  try {
287431  result = (float)(arg1)->CalculateModulation(arg2);
287432  }
287433  catch(CStdErrorInfo oError)
287434  {
287435  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287436  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287437  PyErr_SetString(PyExc_IndexError, strError.c_str());
287438  SWIG_fail;
287439  }
287440  catch(...)
287441  {
287442  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287443  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287444  SWIG_fail;
287445  }
287446  }
287447  resultobj = SWIG_From_float(static_cast< float >(result));
287448  return resultobj;
287449 fail:
287450  return NULL;
287451 }
287452 
287453 
287454 SWIGINTERN PyObject *ModulatedSynapse_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287455  PyObject *obj;
287456  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
287457  SWIG_TypeNewClientData(SWIGTYPE_p_FiringRateSim__Synapses__ModulatedSynapse, SWIG_NewClientData(obj));
287458  return SWIG_Py_Void();
287459 }
287460 
287461 SWIGINTERN PyObject *_wrap_new_ModulateNeuronPropSynapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287462  PyObject *resultobj = 0;
287464 
287465  if (!PyArg_ParseTuple(args,(char *)":new_ModulateNeuronPropSynapse")) SWIG_fail;
287466  {
287467  try {
287469  }
287470  catch(CStdErrorInfo oError)
287471  {
287472  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287473  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287474  PyErr_SetString(PyExc_IndexError, strError.c_str());
287475  SWIG_fail;
287476  }
287477  catch(...)
287478  {
287479  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287480  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287481  SWIG_fail;
287482  }
287483  }
287484  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, SWIG_POINTER_NEW | 0 );
287485  return resultobj;
287486 fail:
287487  return NULL;
287488 }
287489 
287490 
287491 SWIGINTERN PyObject *_wrap_delete_ModulateNeuronPropSynapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287492  PyObject *resultobj = 0;
287494  void *argp1 = 0 ;
287495  int res1 = 0 ;
287496  PyObject * obj0 = 0 ;
287497 
287498  if (!PyArg_ParseTuple(args,(char *)"O:delete_ModulateNeuronPropSynapse",&obj0)) SWIG_fail;
287499  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, SWIG_POINTER_DISOWN | 0 );
287500  if (!SWIG_IsOK(res1)) {
287501  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ModulateNeuronPropSynapse" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulateNeuronPropSynapse *""'");
287502  }
287503  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulateNeuronPropSynapse * >(argp1);
287504  {
287505  try {
287506  delete arg1;
287507  }
287508  catch(CStdErrorInfo oError)
287509  {
287510  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287511  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287512  PyErr_SetString(PyExc_IndexError, strError.c_str());
287513  SWIG_fail;
287514  }
287515  catch(...)
287516  {
287517  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287518  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287519  SWIG_fail;
287520  }
287521  }
287522  resultobj = SWIG_Py_Void();
287523  return resultobj;
287524 fail:
287525  return NULL;
287526 }
287527 
287528 
287529 SWIGINTERN PyObject *_wrap_ModulateNeuronPropSynapse_ModulationGain__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287530  PyObject *resultobj = 0;
287532  void *argp1 = 0 ;
287533  int res1 = 0 ;
287534  PyObject * obj0 = 0 ;
287535  AnimatSim::Gains::Gain *result = 0 ;
287536 
287537  if (!PyArg_ParseTuple(args,(char *)"O:ModulateNeuronPropSynapse_ModulationGain",&obj0)) SWIG_fail;
287538  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0 | 0 );
287539  if (!SWIG_IsOK(res1)) {
287540  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ModulateNeuronPropSynapse_ModulationGain" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulateNeuronPropSynapse *""'");
287541  }
287542  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulateNeuronPropSynapse * >(argp1);
287543  {
287544  try {
287545  result = (AnimatSim::Gains::Gain *)(arg1)->ModulationGain();
287546  }
287547  catch(CStdErrorInfo oError)
287548  {
287549  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287550  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287551  PyErr_SetString(PyExc_IndexError, strError.c_str());
287552  SWIG_fail;
287553  }
287554  catch(...)
287555  {
287556  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287557  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287558  SWIG_fail;
287559  }
287560  }
287561  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
287562  return resultobj;
287563 fail:
287564  return NULL;
287565 }
287566 
287567 
287568 SWIGINTERN PyObject *_wrap_ModulateNeuronPropSynapse_ModulationGain__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287569  PyObject *resultobj = 0;
287572  void *argp1 = 0 ;
287573  int res1 = 0 ;
287574  void *argp2 = 0 ;
287575  int res2 = 0 ;
287576  PyObject * obj0 = 0 ;
287577  PyObject * obj1 = 0 ;
287578 
287579  if (!PyArg_ParseTuple(args,(char *)"OO:ModulateNeuronPropSynapse_ModulationGain",&obj0,&obj1)) SWIG_fail;
287580  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0 | 0 );
287581  if (!SWIG_IsOK(res1)) {
287582  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ModulateNeuronPropSynapse_ModulationGain" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulateNeuronPropSynapse *""'");
287583  }
287584  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulateNeuronPropSynapse * >(argp1);
287585  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_AnimatSim__Gains__Gain, 0 | 0 );
287586  if (!SWIG_IsOK(res2)) {
287587  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ModulateNeuronPropSynapse_ModulationGain" "', argument " "2"" of type '" "AnimatSim::Gains::Gain *""'");
287588  }
287589  arg2 = reinterpret_cast< AnimatSim::Gains::Gain * >(argp2);
287590  {
287591  try {
287592  (arg1)->ModulationGain(arg2);
287593  }
287594  catch(CStdErrorInfo oError)
287595  {
287596  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287597  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287598  PyErr_SetString(PyExc_IndexError, strError.c_str());
287599  SWIG_fail;
287600  }
287601  catch(...)
287602  {
287603  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287604  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287605  SWIG_fail;
287606  }
287607  }
287608  resultobj = SWIG_Py_Void();
287609  return resultobj;
287610 fail:
287611  return NULL;
287612 }
287613 
287614 
287615 SWIGINTERN PyObject *_wrap_ModulateNeuronPropSynapse_ModulationGain__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287616  PyObject *resultobj = 0;
287618  std::string arg2 ;
287619  void *argp1 = 0 ;
287620  int res1 = 0 ;
287621  PyObject * obj0 = 0 ;
287622  PyObject * obj1 = 0 ;
287623 
287624  if (!PyArg_ParseTuple(args,(char *)"OO:ModulateNeuronPropSynapse_ModulationGain",&obj0,&obj1)) SWIG_fail;
287625  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0 | 0 );
287626  if (!SWIG_IsOK(res1)) {
287627  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ModulateNeuronPropSynapse_ModulationGain" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulateNeuronPropSynapse *""'");
287628  }
287629  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulateNeuronPropSynapse * >(argp1);
287630  {
287631  std::string *ptr = (std::string *)0;
287632  int res = SWIG_AsPtr_std_string(obj1, &ptr);
287633  if (!SWIG_IsOK(res) || !ptr) {
287634  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ModulateNeuronPropSynapse_ModulationGain" "', argument " "2"" of type '" "std::string""'");
287635  }
287636  arg2 = *ptr;
287637  if (SWIG_IsNewObj(res)) delete ptr;
287638  }
287639  {
287640  try {
287641  (arg1)->ModulationGain(arg2);
287642  }
287643  catch(CStdErrorInfo oError)
287644  {
287645  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287646  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287647  PyErr_SetString(PyExc_IndexError, strError.c_str());
287648  SWIG_fail;
287649  }
287650  catch(...)
287651  {
287652  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287653  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287654  SWIG_fail;
287655  }
287656  }
287657  resultobj = SWIG_Py_Void();
287658  return resultobj;
287659 fail:
287660  return NULL;
287661 }
287662 
287663 
287664 SWIGINTERN PyObject *_wrap_ModulateNeuronPropSynapse_ModulationGain(PyObject *self, PyObject *args) {
287665  int argc;
287666  PyObject *argv[3];
287667  int ii;
287668 
287669  if (!PyTuple_Check(args)) SWIG_fail;
287670  argc = args ? (int)PyObject_Length(args) : 0;
287671  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
287672  argv[ii] = PyTuple_GET_ITEM(args,ii);
287673  }
287674  if (argc == 1) {
287675  int _v;
287676  void *vptr = 0;
287677  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0);
287678  _v = SWIG_CheckState(res);
287679  if (_v) {
287680  return _wrap_ModulateNeuronPropSynapse_ModulationGain__SWIG_0(self, args);
287681  }
287682  }
287683  if (argc == 2) {
287684  int _v;
287685  void *vptr = 0;
287686  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0);
287687  _v = SWIG_CheckState(res);
287688  if (_v) {
287689  void *vptr = 0;
287690  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_AnimatSim__Gains__Gain, 0);
287691  _v = SWIG_CheckState(res);
287692  if (_v) {
287693  return _wrap_ModulateNeuronPropSynapse_ModulationGain__SWIG_1(self, args);
287694  }
287695  }
287696  }
287697  if (argc == 2) {
287698  int _v;
287699  void *vptr = 0;
287700  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0);
287701  _v = SWIG_CheckState(res);
287702  if (_v) {
287703  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
287704  _v = SWIG_CheckState(res);
287705  if (_v) {
287706  return _wrap_ModulateNeuronPropSynapse_ModulationGain__SWIG_2(self, args);
287707  }
287708  }
287709  }
287710 
287711 fail:
287712  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ModulateNeuronPropSynapse_ModulationGain'.\n"
287713  " Possible C/C++ prototypes are:\n"
287714  " FiringRateSim::Synapses::ModulateNeuronPropSynapse::ModulationGain()\n"
287715  " FiringRateSim::Synapses::ModulateNeuronPropSynapse::ModulationGain(AnimatSim::Gains::Gain *)\n"
287716  " FiringRateSim::Synapses::ModulateNeuronPropSynapse::ModulationGain(std::string)\n");
287717  return 0;
287718 }
287719 
287720 
287721 SWIGINTERN PyObject *_wrap_ModulateNeuronPropSynapse_PropertyName__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287722  PyObject *resultobj = 0;
287724  std::string arg2 ;
287725  void *argp1 = 0 ;
287726  int res1 = 0 ;
287727  PyObject * obj0 = 0 ;
287728  PyObject * obj1 = 0 ;
287729 
287730  if (!PyArg_ParseTuple(args,(char *)"OO:ModulateNeuronPropSynapse_PropertyName",&obj0,&obj1)) SWIG_fail;
287731  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0 | 0 );
287732  if (!SWIG_IsOK(res1)) {
287733  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ModulateNeuronPropSynapse_PropertyName" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulateNeuronPropSynapse *""'");
287734  }
287735  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulateNeuronPropSynapse * >(argp1);
287736  {
287737  std::string *ptr = (std::string *)0;
287738  int res = SWIG_AsPtr_std_string(obj1, &ptr);
287739  if (!SWIG_IsOK(res) || !ptr) {
287740  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ModulateNeuronPropSynapse_PropertyName" "', argument " "2"" of type '" "std::string""'");
287741  }
287742  arg2 = *ptr;
287743  if (SWIG_IsNewObj(res)) delete ptr;
287744  }
287745  {
287746  try {
287747  (arg1)->PropertyName(arg2);
287748  }
287749  catch(CStdErrorInfo oError)
287750  {
287751  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287752  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287753  PyErr_SetString(PyExc_IndexError, strError.c_str());
287754  SWIG_fail;
287755  }
287756  catch(...)
287757  {
287758  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287759  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287760  SWIG_fail;
287761  }
287762  }
287763  resultobj = SWIG_Py_Void();
287764  return resultobj;
287765 fail:
287766  return NULL;
287767 }
287768 
287769 
287770 SWIGINTERN PyObject *_wrap_ModulateNeuronPropSynapse_PropertyName__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287771  PyObject *resultobj = 0;
287773  void *argp1 = 0 ;
287774  int res1 = 0 ;
287775  PyObject * obj0 = 0 ;
287776  std::string result;
287777 
287778  if (!PyArg_ParseTuple(args,(char *)"O:ModulateNeuronPropSynapse_PropertyName",&obj0)) SWIG_fail;
287779  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0 | 0 );
287780  if (!SWIG_IsOK(res1)) {
287781  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ModulateNeuronPropSynapse_PropertyName" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulateNeuronPropSynapse *""'");
287782  }
287783  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulateNeuronPropSynapse * >(argp1);
287784  {
287785  try {
287786  result = (arg1)->PropertyName();
287787  }
287788  catch(CStdErrorInfo oError)
287789  {
287790  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287791  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287792  PyErr_SetString(PyExc_IndexError, strError.c_str());
287793  SWIG_fail;
287794  }
287795  catch(...)
287796  {
287797  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287798  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287799  SWIG_fail;
287800  }
287801  }
287802  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
287803  return resultobj;
287804 fail:
287805  return NULL;
287806 }
287807 
287808 
287809 SWIGINTERN PyObject *_wrap_ModulateNeuronPropSynapse_PropertyName(PyObject *self, PyObject *args) {
287810  int argc;
287811  PyObject *argv[3];
287812  int ii;
287813 
287814  if (!PyTuple_Check(args)) SWIG_fail;
287815  argc = args ? (int)PyObject_Length(args) : 0;
287816  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
287817  argv[ii] = PyTuple_GET_ITEM(args,ii);
287818  }
287819  if (argc == 1) {
287820  int _v;
287821  void *vptr = 0;
287822  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0);
287823  _v = SWIG_CheckState(res);
287824  if (_v) {
287825  return _wrap_ModulateNeuronPropSynapse_PropertyName__SWIG_1(self, args);
287826  }
287827  }
287828  if (argc == 2) {
287829  int _v;
287830  void *vptr = 0;
287831  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0);
287832  _v = SWIG_CheckState(res);
287833  if (_v) {
287834  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
287835  _v = SWIG_CheckState(res);
287836  if (_v) {
287837  return _wrap_ModulateNeuronPropSynapse_PropertyName__SWIG_0(self, args);
287838  }
287839  }
287840  }
287841 
287842 fail:
287843  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ModulateNeuronPropSynapse_PropertyName'.\n"
287844  " Possible C/C++ prototypes are:\n"
287845  " FiringRateSim::Synapses::ModulateNeuronPropSynapse::PropertyName(std::string)\n"
287846  " FiringRateSim::Synapses::ModulateNeuronPropSynapse::PropertyName()\n");
287847  return 0;
287848 }
287849 
287850 
287851 SWIGINTERN PyObject *_wrap_ModulateNeuronPropSynapse_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287852  PyObject *resultobj = 0;
287854  std::string *arg2 = 0 ;
287855  std::string *arg3 = 0 ;
287856  bool arg4 ;
287857  void *argp1 = 0 ;
287858  int res1 = 0 ;
287859  int res2 = SWIG_OLDOBJ ;
287860  int res3 = SWIG_OLDOBJ ;
287861  bool val4 ;
287862  int ecode4 = 0 ;
287863  PyObject * obj0 = 0 ;
287864  PyObject * obj1 = 0 ;
287865  PyObject * obj2 = 0 ;
287866  PyObject * obj3 = 0 ;
287867  bool result;
287868 
287869  if (!PyArg_ParseTuple(args,(char *)"OOOO:ModulateNeuronPropSynapse_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
287870  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0 | 0 );
287871  if (!SWIG_IsOK(res1)) {
287872  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ModulateNeuronPropSynapse_SetData" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulateNeuronPropSynapse *""'");
287873  }
287874  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulateNeuronPropSynapse * >(argp1);
287875  {
287876  std::string *ptr = (std::string *)0;
287877  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
287878  if (!SWIG_IsOK(res2)) {
287879  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ModulateNeuronPropSynapse_SetData" "', argument " "2"" of type '" "std::string const &""'");
287880  }
287881  if (!ptr) {
287882  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ModulateNeuronPropSynapse_SetData" "', argument " "2"" of type '" "std::string const &""'");
287883  }
287884  arg2 = ptr;
287885  }
287886  {
287887  std::string *ptr = (std::string *)0;
287888  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
287889  if (!SWIG_IsOK(res3)) {
287890  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ModulateNeuronPropSynapse_SetData" "', argument " "3"" of type '" "std::string const &""'");
287891  }
287892  if (!ptr) {
287893  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ModulateNeuronPropSynapse_SetData" "', argument " "3"" of type '" "std::string const &""'");
287894  }
287895  arg3 = ptr;
287896  }
287897  ecode4 = SWIG_AsVal_bool(obj3, &val4);
287898  if (!SWIG_IsOK(ecode4)) {
287899  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ModulateNeuronPropSynapse_SetData" "', argument " "4"" of type '" "bool""'");
287900  }
287901  arg4 = static_cast< bool >(val4);
287902  {
287903  try {
287904  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
287905  }
287906  catch(CStdErrorInfo oError)
287907  {
287908  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287909  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287910  PyErr_SetString(PyExc_IndexError, strError.c_str());
287911  SWIG_fail;
287912  }
287913  catch(...)
287914  {
287915  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287916  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287917  SWIG_fail;
287918  }
287919  }
287920  resultobj = SWIG_From_bool(static_cast< bool >(result));
287921  if (SWIG_IsNewObj(res2)) delete arg2;
287922  if (SWIG_IsNewObj(res3)) delete arg3;
287923  return resultobj;
287924 fail:
287925  if (SWIG_IsNewObj(res2)) delete arg2;
287926  if (SWIG_IsNewObj(res3)) delete arg3;
287927  return NULL;
287928 }
287929 
287930 
287931 SWIGINTERN PyObject *_wrap_ModulateNeuronPropSynapse_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
287932  PyObject *resultobj = 0;
287934  std::string *arg2 = 0 ;
287935  std::string *arg3 = 0 ;
287936  void *argp1 = 0 ;
287937  int res1 = 0 ;
287938  int res2 = SWIG_OLDOBJ ;
287939  int res3 = SWIG_OLDOBJ ;
287940  PyObject * obj0 = 0 ;
287941  PyObject * obj1 = 0 ;
287942  PyObject * obj2 = 0 ;
287943  bool result;
287944 
287945  if (!PyArg_ParseTuple(args,(char *)"OOO:ModulateNeuronPropSynapse_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
287946  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0 | 0 );
287947  if (!SWIG_IsOK(res1)) {
287948  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ModulateNeuronPropSynapse_SetData" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulateNeuronPropSynapse *""'");
287949  }
287950  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulateNeuronPropSynapse * >(argp1);
287951  {
287952  std::string *ptr = (std::string *)0;
287953  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
287954  if (!SWIG_IsOK(res2)) {
287955  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ModulateNeuronPropSynapse_SetData" "', argument " "2"" of type '" "std::string const &""'");
287956  }
287957  if (!ptr) {
287958  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ModulateNeuronPropSynapse_SetData" "', argument " "2"" of type '" "std::string const &""'");
287959  }
287960  arg2 = ptr;
287961  }
287962  {
287963  std::string *ptr = (std::string *)0;
287964  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
287965  if (!SWIG_IsOK(res3)) {
287966  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ModulateNeuronPropSynapse_SetData" "', argument " "3"" of type '" "std::string const &""'");
287967  }
287968  if (!ptr) {
287969  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ModulateNeuronPropSynapse_SetData" "', argument " "3"" of type '" "std::string const &""'");
287970  }
287971  arg3 = ptr;
287972  }
287973  {
287974  try {
287975  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
287976  }
287977  catch(CStdErrorInfo oError)
287978  {
287979  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287980  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
287981  PyErr_SetString(PyExc_IndexError, strError.c_str());
287982  SWIG_fail;
287983  }
287984  catch(...)
287985  {
287986  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
287987  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
287988  SWIG_fail;
287989  }
287990  }
287991  resultobj = SWIG_From_bool(static_cast< bool >(result));
287992  if (SWIG_IsNewObj(res2)) delete arg2;
287993  if (SWIG_IsNewObj(res3)) delete arg3;
287994  return resultobj;
287995 fail:
287996  if (SWIG_IsNewObj(res2)) delete arg2;
287997  if (SWIG_IsNewObj(res3)) delete arg3;
287998  return NULL;
287999 }
288000 
288001 
288002 SWIGINTERN PyObject *_wrap_ModulateNeuronPropSynapse_SetData(PyObject *self, PyObject *args) {
288003  int argc;
288004  PyObject *argv[5];
288005  int ii;
288006 
288007  if (!PyTuple_Check(args)) SWIG_fail;
288008  argc = args ? (int)PyObject_Length(args) : 0;
288009  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
288010  argv[ii] = PyTuple_GET_ITEM(args,ii);
288011  }
288012  if (argc == 3) {
288013  int _v;
288014  void *vptr = 0;
288015  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0);
288016  _v = SWIG_CheckState(res);
288017  if (_v) {
288018  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
288019  _v = SWIG_CheckState(res);
288020  if (_v) {
288021  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
288022  _v = SWIG_CheckState(res);
288023  if (_v) {
288024  return _wrap_ModulateNeuronPropSynapse_SetData__SWIG_1(self, args);
288025  }
288026  }
288027  }
288028  }
288029  if (argc == 4) {
288030  int _v;
288031  void *vptr = 0;
288032  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0);
288033  _v = SWIG_CheckState(res);
288034  if (_v) {
288035  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
288036  _v = SWIG_CheckState(res);
288037  if (_v) {
288038  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
288039  _v = SWIG_CheckState(res);
288040  if (_v) {
288041  {
288042  int res = SWIG_AsVal_bool(argv[3], NULL);
288043  _v = SWIG_CheckState(res);
288044  }
288045  if (_v) {
288046  return _wrap_ModulateNeuronPropSynapse_SetData__SWIG_0(self, args);
288047  }
288048  }
288049  }
288050  }
288051  }
288052 
288053 fail:
288054  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ModulateNeuronPropSynapse_SetData'.\n"
288055  " Possible C/C++ prototypes are:\n"
288056  " FiringRateSim::Synapses::ModulateNeuronPropSynapse::SetData(std::string const &,std::string const &,bool)\n"
288057  " FiringRateSim::Synapses::ModulateNeuronPropSynapse::SetData(std::string const &,std::string const &)\n");
288058  return 0;
288059 }
288060 
288061 
288062 SWIGINTERN PyObject *_wrap_ModulateNeuronPropSynapse_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288063  PyObject *resultobj = 0;
288065  CStdPtrArray< TypeProperty > *arg2 = 0 ;
288066  void *argp1 = 0 ;
288067  int res1 = 0 ;
288068  void *argp2 = 0 ;
288069  int res2 = 0 ;
288070  PyObject * obj0 = 0 ;
288071  PyObject * obj1 = 0 ;
288072 
288073  if (!PyArg_ParseTuple(args,(char *)"OO:ModulateNeuronPropSynapse_QueryProperties",&obj0,&obj1)) SWIG_fail;
288074  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0 | 0 );
288075  if (!SWIG_IsOK(res1)) {
288076  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ModulateNeuronPropSynapse_QueryProperties" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulateNeuronPropSynapse *""'");
288077  }
288078  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulateNeuronPropSynapse * >(argp1);
288079  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
288080  if (!SWIG_IsOK(res2)) {
288081  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ModulateNeuronPropSynapse_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
288082  }
288083  if (!argp2) {
288084  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ModulateNeuronPropSynapse_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
288085  }
288086  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
288087  {
288088  try {
288089  (arg1)->QueryProperties(*arg2);
288090  }
288091  catch(CStdErrorInfo oError)
288092  {
288093  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288094  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288095  PyErr_SetString(PyExc_IndexError, strError.c_str());
288096  SWIG_fail;
288097  }
288098  catch(...)
288099  {
288100  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288101  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288102  SWIG_fail;
288103  }
288104  }
288105  resultobj = SWIG_Py_Void();
288106  return resultobj;
288107 fail:
288108  return NULL;
288109 }
288110 
288111 
288112 SWIGINTERN PyObject *_wrap_ModulateNeuronPropSynapse_Process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288113  PyObject *resultobj = 0;
288115  float *arg2 = 0 ;
288116  void *argp1 = 0 ;
288117  int res1 = 0 ;
288118  void *argp2 = 0 ;
288119  int res2 = 0 ;
288120  PyObject * obj0 = 0 ;
288121  PyObject * obj1 = 0 ;
288122 
288123  if (!PyArg_ParseTuple(args,(char *)"OO:ModulateNeuronPropSynapse_Process",&obj0,&obj1)) SWIG_fail;
288124  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0 | 0 );
288125  if (!SWIG_IsOK(res1)) {
288126  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ModulateNeuronPropSynapse_Process" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulateNeuronPropSynapse *""'");
288127  }
288128  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulateNeuronPropSynapse * >(argp1);
288129  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 );
288130  if (!SWIG_IsOK(res2)) {
288131  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ModulateNeuronPropSynapse_Process" "', argument " "2"" of type '" "float &""'");
288132  }
288133  if (!argp2) {
288134  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ModulateNeuronPropSynapse_Process" "', argument " "2"" of type '" "float &""'");
288135  }
288136  arg2 = reinterpret_cast< float * >(argp2);
288137  {
288138  try {
288139  (arg1)->Process(*arg2);
288140  }
288141  catch(CStdErrorInfo oError)
288142  {
288143  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288144  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288145  PyErr_SetString(PyExc_IndexError, strError.c_str());
288146  SWIG_fail;
288147  }
288148  catch(...)
288149  {
288150  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288151  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288152  SWIG_fail;
288153  }
288154  }
288155  resultobj = SWIG_Py_Void();
288156  return resultobj;
288157 fail:
288158  return NULL;
288159 }
288160 
288161 
288162 SWIGINTERN PyObject *_wrap_ModulateNeuronPropSynapse_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288163  PyObject *resultobj = 0;
288165  void *argp1 = 0 ;
288166  int res1 = 0 ;
288167  PyObject * obj0 = 0 ;
288168 
288169  if (!PyArg_ParseTuple(args,(char *)"O:ModulateNeuronPropSynapse_ResetSimulation",&obj0)) SWIG_fail;
288170  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0 | 0 );
288171  if (!SWIG_IsOK(res1)) {
288172  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ModulateNeuronPropSynapse_ResetSimulation" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulateNeuronPropSynapse *""'");
288173  }
288174  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulateNeuronPropSynapse * >(argp1);
288175  {
288176  try {
288177  (arg1)->ResetSimulation();
288178  }
288179  catch(CStdErrorInfo oError)
288180  {
288181  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288182  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288183  PyErr_SetString(PyExc_IndexError, strError.c_str());
288184  SWIG_fail;
288185  }
288186  catch(...)
288187  {
288188  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288189  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288190  SWIG_fail;
288191  }
288192  }
288193  resultobj = SWIG_Py_Void();
288194  return resultobj;
288195 fail:
288196  return NULL;
288197 }
288198 
288199 
288200 SWIGINTERN PyObject *_wrap_ModulateNeuronPropSynapse_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288201  PyObject *resultobj = 0;
288203  void *argp1 = 0 ;
288204  int res1 = 0 ;
288205  PyObject * obj0 = 0 ;
288206 
288207  if (!PyArg_ParseTuple(args,(char *)"O:ModulateNeuronPropSynapse_Initialize",&obj0)) SWIG_fail;
288208  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0 | 0 );
288209  if (!SWIG_IsOK(res1)) {
288210  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ModulateNeuronPropSynapse_Initialize" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulateNeuronPropSynapse *""'");
288211  }
288212  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulateNeuronPropSynapse * >(argp1);
288213  {
288214  try {
288215  (arg1)->Initialize();
288216  }
288217  catch(CStdErrorInfo oError)
288218  {
288219  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288220  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288221  PyErr_SetString(PyExc_IndexError, strError.c_str());
288222  SWIG_fail;
288223  }
288224  catch(...)
288225  {
288226  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288227  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288228  SWIG_fail;
288229  }
288230  }
288231  resultobj = SWIG_Py_Void();
288232  return resultobj;
288233 fail:
288234  return NULL;
288235 }
288236 
288237 
288238 SWIGINTERN PyObject *_wrap_ModulateNeuronPropSynapse_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288239  PyObject *resultobj = 0;
288241  StdUtils::CStdXml *arg2 = 0 ;
288242  void *argp1 = 0 ;
288243  int res1 = 0 ;
288244  void *argp2 = 0 ;
288245  int res2 = 0 ;
288246  PyObject * obj0 = 0 ;
288247  PyObject * obj1 = 0 ;
288248 
288249  if (!PyArg_ParseTuple(args,(char *)"OO:ModulateNeuronPropSynapse_Load",&obj0,&obj1)) SWIG_fail;
288250  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0 | 0 );
288251  if (!SWIG_IsOK(res1)) {
288252  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ModulateNeuronPropSynapse_Load" "', argument " "1"" of type '" "FiringRateSim::Synapses::ModulateNeuronPropSynapse *""'");
288253  }
288254  arg1 = reinterpret_cast< FiringRateSim::Synapses::ModulateNeuronPropSynapse * >(argp1);
288255  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
288256  if (!SWIG_IsOK(res2)) {
288257  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ModulateNeuronPropSynapse_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
288258  }
288259  if (!argp2) {
288260  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ModulateNeuronPropSynapse_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
288261  }
288262  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
288263  {
288264  try {
288265  (arg1)->Load(*arg2);
288266  }
288267  catch(CStdErrorInfo oError)
288268  {
288269  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288270  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288271  PyErr_SetString(PyExc_IndexError, strError.c_str());
288272  SWIG_fail;
288273  }
288274  catch(...)
288275  {
288276  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288277  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288278  SWIG_fail;
288279  }
288280  }
288281  resultobj = SWIG_Py_Void();
288282  return resultobj;
288283 fail:
288284  return NULL;
288285 }
288286 
288287 
288288 SWIGINTERN PyObject *ModulateNeuronPropSynapse_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288289  PyObject *obj;
288290  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
288291  SWIG_TypeNewClientData(SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, SWIG_NewClientData(obj));
288292  return SWIG_Py_Void();
288293 }
288294 
288295 SWIGINTERN PyObject *_wrap_new_FrFiringRateModule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288296  PyObject *resultobj = 0;
288297  FiringRateSim::FiringRateModule *result = 0 ;
288298 
288299  if (!PyArg_ParseTuple(args,(char *)":new_FrFiringRateModule")) SWIG_fail;
288300  {
288301  try {
288303  }
288304  catch(CStdErrorInfo oError)
288305  {
288306  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288307  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288308  PyErr_SetString(PyExc_IndexError, strError.c_str());
288309  SWIG_fail;
288310  }
288311  catch(...)
288312  {
288313  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288314  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288315  SWIG_fail;
288316  }
288317  }
288318  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FiringRateSim__FiringRateModule, SWIG_POINTER_NEW | 0 );
288319  return resultobj;
288320 fail:
288321  return NULL;
288322 }
288323 
288324 
288325 SWIGINTERN PyObject *_wrap_delete_FrFiringRateModule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288326  PyObject *resultobj = 0;
288328  void *argp1 = 0 ;
288329  int res1 = 0 ;
288330  PyObject * obj0 = 0 ;
288331 
288332  if (!PyArg_ParseTuple(args,(char *)"O:delete_FrFiringRateModule",&obj0)) SWIG_fail;
288333  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, SWIG_POINTER_DISOWN | 0 );
288334  if (!SWIG_IsOK(res1)) {
288335  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FrFiringRateModule" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
288336  }
288337  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
288338  {
288339  try {
288340  delete arg1;
288341  }
288342  catch(CStdErrorInfo oError)
288343  {
288344  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288345  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288346  PyErr_SetString(PyExc_IndexError, strError.c_str());
288347  SWIG_fail;
288348  }
288349  catch(...)
288350  {
288351  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288352  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288353  SWIG_fail;
288354  }
288355  }
288356  resultobj = SWIG_Py_Void();
288357  return resultobj;
288358 fail:
288359  return NULL;
288360 }
288361 
288362 
288363 SWIGINTERN PyObject *_wrap_FrFiringRateModule_ModuleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288364  PyObject *resultobj = 0;
288366  void *argp1 = 0 ;
288367  int res1 = 0 ;
288368  PyObject * obj0 = 0 ;
288369  std::string result;
288370 
288371  if (!PyArg_ParseTuple(args,(char *)"O:FrFiringRateModule_ModuleName",&obj0)) SWIG_fail;
288372  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
288373  if (!SWIG_IsOK(res1)) {
288374  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_ModuleName" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
288375  }
288376  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
288377  {
288378  try {
288379  result = (arg1)->ModuleName();
288380  }
288381  catch(CStdErrorInfo oError)
288382  {
288383  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288384  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288385  PyErr_SetString(PyExc_IndexError, strError.c_str());
288386  SWIG_fail;
288387  }
288388  catch(...)
288389  {
288390  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288391  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288392  SWIG_fail;
288393  }
288394  }
288395  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
288396  return resultobj;
288397 fail:
288398  return NULL;
288399 }
288400 
288401 
288402 SWIGINTERN PyObject *_wrap_FrFiringRateModule_Kill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288403  PyObject *resultobj = 0;
288405  bool arg2 ;
288406  void *argp1 = 0 ;
288407  int res1 = 0 ;
288408  bool val2 ;
288409  int ecode2 = 0 ;
288410  PyObject * obj0 = 0 ;
288411  PyObject * obj1 = 0 ;
288412 
288413  if (!PyArg_ParseTuple(args,(char *)"OO:FrFiringRateModule_Kill",&obj0,&obj1)) SWIG_fail;
288414  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
288415  if (!SWIG_IsOK(res1)) {
288416  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_Kill" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
288417  }
288418  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
288419  ecode2 = SWIG_AsVal_bool(obj1, &val2);
288420  if (!SWIG_IsOK(ecode2)) {
288421  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrFiringRateModule_Kill" "', argument " "2"" of type '" "bool""'");
288422  }
288423  arg2 = static_cast< bool >(val2);
288424  {
288425  try {
288426  (arg1)->Kill(arg2);
288427  }
288428  catch(CStdErrorInfo oError)
288429  {
288430  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288431  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288432  PyErr_SetString(PyExc_IndexError, strError.c_str());
288433  SWIG_fail;
288434  }
288435  catch(...)
288436  {
288437  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288438  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288439  SWIG_fail;
288440  }
288441  }
288442  resultobj = SWIG_Py_Void();
288443  return resultobj;
288444 fail:
288445  return NULL;
288446 }
288447 
288448 
288449 SWIGINTERN PyObject *_wrap_FrFiringRateModule_Kill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288450  PyObject *resultobj = 0;
288452  void *argp1 = 0 ;
288453  int res1 = 0 ;
288454  PyObject * obj0 = 0 ;
288455 
288456  if (!PyArg_ParseTuple(args,(char *)"O:FrFiringRateModule_Kill",&obj0)) SWIG_fail;
288457  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
288458  if (!SWIG_IsOK(res1)) {
288459  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_Kill" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
288460  }
288461  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
288462  {
288463  try {
288464  (arg1)->Kill();
288465  }
288466  catch(CStdErrorInfo oError)
288467  {
288468  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288469  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288470  PyErr_SetString(PyExc_IndexError, strError.c_str());
288471  SWIG_fail;
288472  }
288473  catch(...)
288474  {
288475  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288476  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288477  SWIG_fail;
288478  }
288479  }
288480  resultobj = SWIG_Py_Void();
288481  return resultobj;
288482 fail:
288483  return NULL;
288484 }
288485 
288486 
288487 SWIGINTERN PyObject *_wrap_FrFiringRateModule_Kill(PyObject *self, PyObject *args) {
288488  int argc;
288489  PyObject *argv[3];
288490  int ii;
288491 
288492  if (!PyTuple_Check(args)) SWIG_fail;
288493  argc = args ? (int)PyObject_Length(args) : 0;
288494  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
288495  argv[ii] = PyTuple_GET_ITEM(args,ii);
288496  }
288497  if (argc == 1) {
288498  int _v;
288499  void *vptr = 0;
288500  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
288501  _v = SWIG_CheckState(res);
288502  if (_v) {
288503  return _wrap_FrFiringRateModule_Kill__SWIG_1(self, args);
288504  }
288505  }
288506  if (argc == 2) {
288507  int _v;
288508  void *vptr = 0;
288509  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
288510  _v = SWIG_CheckState(res);
288511  if (_v) {
288512  {
288513  int res = SWIG_AsVal_bool(argv[1], NULL);
288514  _v = SWIG_CheckState(res);
288515  }
288516  if (_v) {
288517  return _wrap_FrFiringRateModule_Kill__SWIG_0(self, args);
288518  }
288519  }
288520  }
288521 
288522 fail:
288523  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'FrFiringRateModule_Kill'.\n"
288524  " Possible C/C++ prototypes are:\n"
288525  " FiringRateSim::FiringRateModule::Kill(bool)\n"
288526  " FiringRateSim::FiringRateModule::Kill()\n");
288527  return 0;
288528 }
288529 
288530 
288531 SWIGINTERN PyObject *_wrap_FrFiringRateModule_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288532  PyObject *resultobj = 0;
288534  void *argp1 = 0 ;
288535  int res1 = 0 ;
288536  PyObject * obj0 = 0 ;
288537 
288538  if (!PyArg_ParseTuple(args,(char *)"O:FrFiringRateModule_Initialize",&obj0)) SWIG_fail;
288539  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
288540  if (!SWIG_IsOK(res1)) {
288541  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_Initialize" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
288542  }
288543  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
288544  {
288545  try {
288546  (arg1)->Initialize();
288547  }
288548  catch(CStdErrorInfo oError)
288549  {
288550  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288551  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288552  PyErr_SetString(PyExc_IndexError, strError.c_str());
288553  SWIG_fail;
288554  }
288555  catch(...)
288556  {
288557  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288558  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288559  SWIG_fail;
288560  }
288561  }
288562  resultobj = SWIG_Py_Void();
288563  return resultobj;
288564 fail:
288565  return NULL;
288566 }
288567 
288568 
288569 SWIGINTERN PyObject *_wrap_FrFiringRateModule_ResetSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288570  PyObject *resultobj = 0;
288572  void *argp1 = 0 ;
288573  int res1 = 0 ;
288574  PyObject * obj0 = 0 ;
288575 
288576  if (!PyArg_ParseTuple(args,(char *)"O:FrFiringRateModule_ResetSimulation",&obj0)) SWIG_fail;
288577  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
288578  if (!SWIG_IsOK(res1)) {
288579  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_ResetSimulation" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
288580  }
288581  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
288582  {
288583  try {
288584  (arg1)->ResetSimulation();
288585  }
288586  catch(CStdErrorInfo oError)
288587  {
288588  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288589  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288590  PyErr_SetString(PyExc_IndexError, strError.c_str());
288591  SWIG_fail;
288592  }
288593  catch(...)
288594  {
288595  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288596  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288597  SWIG_fail;
288598  }
288599  }
288600  resultobj = SWIG_Py_Void();
288601  return resultobj;
288602 fail:
288603  return NULL;
288604 }
288605 
288606 
288607 SWIGINTERN PyObject *_wrap_FrFiringRateModule_StepSimulation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288608  PyObject *resultobj = 0;
288610  void *argp1 = 0 ;
288611  int res1 = 0 ;
288612  PyObject * obj0 = 0 ;
288613 
288614  if (!PyArg_ParseTuple(args,(char *)"O:FrFiringRateModule_StepSimulation",&obj0)) SWIG_fail;
288615  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
288616  if (!SWIG_IsOK(res1)) {
288617  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_StepSimulation" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
288618  }
288619  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
288620  {
288621  try {
288622  (arg1)->StepSimulation();
288623  }
288624  catch(CStdErrorInfo oError)
288625  {
288626  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288627  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288628  PyErr_SetString(PyExc_IndexError, strError.c_str());
288629  SWIG_fail;
288630  }
288631  catch(...)
288632  {
288633  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288634  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288635  SWIG_fail;
288636  }
288637  }
288638  resultobj = SWIG_Py_Void();
288639  return resultobj;
288640 fail:
288641  return NULL;
288642 }
288643 
288644 
288645 SWIGINTERN PyObject *_wrap_FrFiringRateModule_Load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288646  PyObject *resultobj = 0;
288648  StdUtils::CStdXml *arg2 = 0 ;
288649  void *argp1 = 0 ;
288650  int res1 = 0 ;
288651  void *argp2 = 0 ;
288652  int res2 = 0 ;
288653  PyObject * obj0 = 0 ;
288654  PyObject * obj1 = 0 ;
288655 
288656  if (!PyArg_ParseTuple(args,(char *)"OO:FrFiringRateModule_Load",&obj0,&obj1)) SWIG_fail;
288657  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
288658  if (!SWIG_IsOK(res1)) {
288659  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_Load" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
288660  }
288661  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
288662  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_StdUtils__CStdXml, 0 );
288663  if (!SWIG_IsOK(res2)) {
288664  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrFiringRateModule_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
288665  }
288666  if (!argp2) {
288667  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_Load" "', argument " "2"" of type '" "StdUtils::CStdXml &""'");
288668  }
288669  arg2 = reinterpret_cast< StdUtils::CStdXml * >(argp2);
288670  {
288671  try {
288672  (arg1)->Load(*arg2);
288673  }
288674  catch(CStdErrorInfo oError)
288675  {
288676  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288677  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288678  PyErr_SetString(PyExc_IndexError, strError.c_str());
288679  SWIG_fail;
288680  }
288681  catch(...)
288682  {
288683  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288684  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288685  SWIG_fail;
288686  }
288687  }
288688  resultobj = SWIG_Py_Void();
288689  return resultobj;
288690 fail:
288691  return NULL;
288692 }
288693 
288694 
288695 SWIGINTERN PyObject *_wrap_FrFiringRateModule_SetData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288696  PyObject *resultobj = 0;
288698  std::string *arg2 = 0 ;
288699  std::string *arg3 = 0 ;
288700  bool arg4 ;
288701  void *argp1 = 0 ;
288702  int res1 = 0 ;
288703  int res2 = SWIG_OLDOBJ ;
288704  int res3 = SWIG_OLDOBJ ;
288705  bool val4 ;
288706  int ecode4 = 0 ;
288707  PyObject * obj0 = 0 ;
288708  PyObject * obj1 = 0 ;
288709  PyObject * obj2 = 0 ;
288710  PyObject * obj3 = 0 ;
288711  bool result;
288712 
288713  if (!PyArg_ParseTuple(args,(char *)"OOOO:FrFiringRateModule_SetData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
288714  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
288715  if (!SWIG_IsOK(res1)) {
288716  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_SetData" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
288717  }
288718  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
288719  {
288720  std::string *ptr = (std::string *)0;
288721  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
288722  if (!SWIG_IsOK(res2)) {
288723  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrFiringRateModule_SetData" "', argument " "2"" of type '" "std::string const &""'");
288724  }
288725  if (!ptr) {
288726  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_SetData" "', argument " "2"" of type '" "std::string const &""'");
288727  }
288728  arg2 = ptr;
288729  }
288730  {
288731  std::string *ptr = (std::string *)0;
288732  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
288733  if (!SWIG_IsOK(res3)) {
288734  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrFiringRateModule_SetData" "', argument " "3"" of type '" "std::string const &""'");
288735  }
288736  if (!ptr) {
288737  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_SetData" "', argument " "3"" of type '" "std::string const &""'");
288738  }
288739  arg3 = ptr;
288740  }
288741  ecode4 = SWIG_AsVal_bool(obj3, &val4);
288742  if (!SWIG_IsOK(ecode4)) {
288743  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FrFiringRateModule_SetData" "', argument " "4"" of type '" "bool""'");
288744  }
288745  arg4 = static_cast< bool >(val4);
288746  {
288747  try {
288748  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3,arg4);
288749  }
288750  catch(CStdErrorInfo oError)
288751  {
288752  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288753  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288754  PyErr_SetString(PyExc_IndexError, strError.c_str());
288755  SWIG_fail;
288756  }
288757  catch(...)
288758  {
288759  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288760  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288761  SWIG_fail;
288762  }
288763  }
288764  resultobj = SWIG_From_bool(static_cast< bool >(result));
288765  if (SWIG_IsNewObj(res2)) delete arg2;
288766  if (SWIG_IsNewObj(res3)) delete arg3;
288767  return resultobj;
288768 fail:
288769  if (SWIG_IsNewObj(res2)) delete arg2;
288770  if (SWIG_IsNewObj(res3)) delete arg3;
288771  return NULL;
288772 }
288773 
288774 
288775 SWIGINTERN PyObject *_wrap_FrFiringRateModule_SetData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288776  PyObject *resultobj = 0;
288778  std::string *arg2 = 0 ;
288779  std::string *arg3 = 0 ;
288780  void *argp1 = 0 ;
288781  int res1 = 0 ;
288782  int res2 = SWIG_OLDOBJ ;
288783  int res3 = SWIG_OLDOBJ ;
288784  PyObject * obj0 = 0 ;
288785  PyObject * obj1 = 0 ;
288786  PyObject * obj2 = 0 ;
288787  bool result;
288788 
288789  if (!PyArg_ParseTuple(args,(char *)"OOO:FrFiringRateModule_SetData",&obj0,&obj1,&obj2)) SWIG_fail;
288790  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
288791  if (!SWIG_IsOK(res1)) {
288792  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_SetData" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
288793  }
288794  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
288795  {
288796  std::string *ptr = (std::string *)0;
288797  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
288798  if (!SWIG_IsOK(res2)) {
288799  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrFiringRateModule_SetData" "', argument " "2"" of type '" "std::string const &""'");
288800  }
288801  if (!ptr) {
288802  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_SetData" "', argument " "2"" of type '" "std::string const &""'");
288803  }
288804  arg2 = ptr;
288805  }
288806  {
288807  std::string *ptr = (std::string *)0;
288808  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
288809  if (!SWIG_IsOK(res3)) {
288810  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrFiringRateModule_SetData" "', argument " "3"" of type '" "std::string const &""'");
288811  }
288812  if (!ptr) {
288813  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_SetData" "', argument " "3"" of type '" "std::string const &""'");
288814  }
288815  arg3 = ptr;
288816  }
288817  {
288818  try {
288819  result = (bool)(arg1)->SetData((std::string const &)*arg2,(std::string const &)*arg3);
288820  }
288821  catch(CStdErrorInfo oError)
288822  {
288823  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288824  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288825  PyErr_SetString(PyExc_IndexError, strError.c_str());
288826  SWIG_fail;
288827  }
288828  catch(...)
288829  {
288830  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288831  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288832  SWIG_fail;
288833  }
288834  }
288835  resultobj = SWIG_From_bool(static_cast< bool >(result));
288836  if (SWIG_IsNewObj(res2)) delete arg2;
288837  if (SWIG_IsNewObj(res3)) delete arg3;
288838  return resultobj;
288839 fail:
288840  if (SWIG_IsNewObj(res2)) delete arg2;
288841  if (SWIG_IsNewObj(res3)) delete arg3;
288842  return NULL;
288843 }
288844 
288845 
288846 SWIGINTERN PyObject *_wrap_FrFiringRateModule_SetData(PyObject *self, PyObject *args) {
288847  int argc;
288848  PyObject *argv[5];
288849  int ii;
288850 
288851  if (!PyTuple_Check(args)) SWIG_fail;
288852  argc = args ? (int)PyObject_Length(args) : 0;
288853  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
288854  argv[ii] = PyTuple_GET_ITEM(args,ii);
288855  }
288856  if (argc == 3) {
288857  int _v;
288858  void *vptr = 0;
288859  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
288860  _v = SWIG_CheckState(res);
288861  if (_v) {
288862  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
288863  _v = SWIG_CheckState(res);
288864  if (_v) {
288865  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
288866  _v = SWIG_CheckState(res);
288867  if (_v) {
288868  return _wrap_FrFiringRateModule_SetData__SWIG_1(self, args);
288869  }
288870  }
288871  }
288872  }
288873  if (argc == 4) {
288874  int _v;
288875  void *vptr = 0;
288876  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
288877  _v = SWIG_CheckState(res);
288878  if (_v) {
288879  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
288880  _v = SWIG_CheckState(res);
288881  if (_v) {
288882  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
288883  _v = SWIG_CheckState(res);
288884  if (_v) {
288885  {
288886  int res = SWIG_AsVal_bool(argv[3], NULL);
288887  _v = SWIG_CheckState(res);
288888  }
288889  if (_v) {
288890  return _wrap_FrFiringRateModule_SetData__SWIG_0(self, args);
288891  }
288892  }
288893  }
288894  }
288895  }
288896 
288897 fail:
288898  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'FrFiringRateModule_SetData'.\n"
288899  " Possible C/C++ prototypes are:\n"
288900  " FiringRateSim::FiringRateModule::SetData(std::string const &,std::string const &,bool)\n"
288901  " FiringRateSim::FiringRateModule::SetData(std::string const &,std::string const &)\n");
288902  return 0;
288903 }
288904 
288905 
288906 SWIGINTERN PyObject *_wrap_FrFiringRateModule_QueryProperties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288907  PyObject *resultobj = 0;
288909  CStdPtrArray< TypeProperty > *arg2 = 0 ;
288910  void *argp1 = 0 ;
288911  int res1 = 0 ;
288912  void *argp2 = 0 ;
288913  int res2 = 0 ;
288914  PyObject * obj0 = 0 ;
288915  PyObject * obj1 = 0 ;
288916 
288917  if (!PyArg_ParseTuple(args,(char *)"OO:FrFiringRateModule_QueryProperties",&obj0,&obj1)) SWIG_fail;
288918  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
288919  if (!SWIG_IsOK(res1)) {
288920  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_QueryProperties" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
288921  }
288922  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
288923  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t, 0 );
288924  if (!SWIG_IsOK(res2)) {
288925  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrFiringRateModule_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
288926  }
288927  if (!argp2) {
288928  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_QueryProperties" "', argument " "2"" of type '" "CStdPtrArray< TypeProperty > &""'");
288929  }
288930  arg2 = reinterpret_cast< CStdPtrArray< TypeProperty > * >(argp2);
288931  {
288932  try {
288933  (arg1)->QueryProperties(*arg2);
288934  }
288935  catch(CStdErrorInfo oError)
288936  {
288937  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288938  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
288939  PyErr_SetString(PyExc_IndexError, strError.c_str());
288940  SWIG_fail;
288941  }
288942  catch(...)
288943  {
288944  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
288945  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
288946  SWIG_fail;
288947  }
288948  }
288949  resultobj = SWIG_Py_Void();
288950  return resultobj;
288951 fail:
288952  return NULL;
288953 }
288954 
288955 
288956 SWIGINTERN PyObject *_wrap_FrFiringRateModule_AddItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
288957  PyObject *resultobj = 0;
288959  std::string *arg2 = 0 ;
288960  std::string *arg3 = 0 ;
288961  bool arg4 ;
288962  bool arg5 ;
288963  void *argp1 = 0 ;
288964  int res1 = 0 ;
288965  int res2 = SWIG_OLDOBJ ;
288966  int res3 = SWIG_OLDOBJ ;
288967  bool val4 ;
288968  int ecode4 = 0 ;
288969  bool val5 ;
288970  int ecode5 = 0 ;
288971  PyObject * obj0 = 0 ;
288972  PyObject * obj1 = 0 ;
288973  PyObject * obj2 = 0 ;
288974  PyObject * obj3 = 0 ;
288975  PyObject * obj4 = 0 ;
288976  bool result;
288977 
288978  if (!PyArg_ParseTuple(args,(char *)"OOOOO:FrFiringRateModule_AddItem",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
288979  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
288980  if (!SWIG_IsOK(res1)) {
288981  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_AddItem" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
288982  }
288983  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
288984  {
288985  std::string *ptr = (std::string *)0;
288986  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
288987  if (!SWIG_IsOK(res2)) {
288988  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrFiringRateModule_AddItem" "', argument " "2"" of type '" "std::string const &""'");
288989  }
288990  if (!ptr) {
288991  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_AddItem" "', argument " "2"" of type '" "std::string const &""'");
288992  }
288993  arg2 = ptr;
288994  }
288995  {
288996  std::string *ptr = (std::string *)0;
288997  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
288998  if (!SWIG_IsOK(res3)) {
288999  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrFiringRateModule_AddItem" "', argument " "3"" of type '" "std::string const &""'");
289000  }
289001  if (!ptr) {
289002  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_AddItem" "', argument " "3"" of type '" "std::string const &""'");
289003  }
289004  arg3 = ptr;
289005  }
289006  ecode4 = SWIG_AsVal_bool(obj3, &val4);
289007  if (!SWIG_IsOK(ecode4)) {
289008  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FrFiringRateModule_AddItem" "', argument " "4"" of type '" "bool""'");
289009  }
289010  arg4 = static_cast< bool >(val4);
289011  ecode5 = SWIG_AsVal_bool(obj4, &val5);
289012  if (!SWIG_IsOK(ecode5)) {
289013  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FrFiringRateModule_AddItem" "', argument " "5"" of type '" "bool""'");
289014  }
289015  arg5 = static_cast< bool >(val5);
289016  {
289017  try {
289018  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4,arg5);
289019  }
289020  catch(CStdErrorInfo oError)
289021  {
289022  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289023  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
289024  PyErr_SetString(PyExc_IndexError, strError.c_str());
289025  SWIG_fail;
289026  }
289027  catch(...)
289028  {
289029  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289030  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
289031  SWIG_fail;
289032  }
289033  }
289034  resultobj = SWIG_From_bool(static_cast< bool >(result));
289035  if (SWIG_IsNewObj(res2)) delete arg2;
289036  if (SWIG_IsNewObj(res3)) delete arg3;
289037  return resultobj;
289038 fail:
289039  if (SWIG_IsNewObj(res2)) delete arg2;
289040  if (SWIG_IsNewObj(res3)) delete arg3;
289041  return NULL;
289042 }
289043 
289044 
289045 SWIGINTERN PyObject *_wrap_FrFiringRateModule_AddItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
289046  PyObject *resultobj = 0;
289048  std::string *arg2 = 0 ;
289049  std::string *arg3 = 0 ;
289050  bool arg4 ;
289051  void *argp1 = 0 ;
289052  int res1 = 0 ;
289053  int res2 = SWIG_OLDOBJ ;
289054  int res3 = SWIG_OLDOBJ ;
289055  bool val4 ;
289056  int ecode4 = 0 ;
289057  PyObject * obj0 = 0 ;
289058  PyObject * obj1 = 0 ;
289059  PyObject * obj2 = 0 ;
289060  PyObject * obj3 = 0 ;
289061  bool result;
289062 
289063  if (!PyArg_ParseTuple(args,(char *)"OOOO:FrFiringRateModule_AddItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
289064  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
289065  if (!SWIG_IsOK(res1)) {
289066  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_AddItem" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
289067  }
289068  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
289069  {
289070  std::string *ptr = (std::string *)0;
289071  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
289072  if (!SWIG_IsOK(res2)) {
289073  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrFiringRateModule_AddItem" "', argument " "2"" of type '" "std::string const &""'");
289074  }
289075  if (!ptr) {
289076  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_AddItem" "', argument " "2"" of type '" "std::string const &""'");
289077  }
289078  arg2 = ptr;
289079  }
289080  {
289081  std::string *ptr = (std::string *)0;
289082  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
289083  if (!SWIG_IsOK(res3)) {
289084  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrFiringRateModule_AddItem" "', argument " "3"" of type '" "std::string const &""'");
289085  }
289086  if (!ptr) {
289087  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_AddItem" "', argument " "3"" of type '" "std::string const &""'");
289088  }
289089  arg3 = ptr;
289090  }
289091  ecode4 = SWIG_AsVal_bool(obj3, &val4);
289092  if (!SWIG_IsOK(ecode4)) {
289093  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FrFiringRateModule_AddItem" "', argument " "4"" of type '" "bool""'");
289094  }
289095  arg4 = static_cast< bool >(val4);
289096  {
289097  try {
289098  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
289099  }
289100  catch(CStdErrorInfo oError)
289101  {
289102  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289103  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
289104  PyErr_SetString(PyExc_IndexError, strError.c_str());
289105  SWIG_fail;
289106  }
289107  catch(...)
289108  {
289109  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289110  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
289111  SWIG_fail;
289112  }
289113  }
289114  resultobj = SWIG_From_bool(static_cast< bool >(result));
289115  if (SWIG_IsNewObj(res2)) delete arg2;
289116  if (SWIG_IsNewObj(res3)) delete arg3;
289117  return resultobj;
289118 fail:
289119  if (SWIG_IsNewObj(res2)) delete arg2;
289120  if (SWIG_IsNewObj(res3)) delete arg3;
289121  return NULL;
289122 }
289123 
289124 
289125 SWIGINTERN PyObject *_wrap_FrFiringRateModule_AddItem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
289126  PyObject *resultobj = 0;
289128  std::string *arg2 = 0 ;
289129  std::string *arg3 = 0 ;
289130  void *argp1 = 0 ;
289131  int res1 = 0 ;
289132  int res2 = SWIG_OLDOBJ ;
289133  int res3 = SWIG_OLDOBJ ;
289134  PyObject * obj0 = 0 ;
289135  PyObject * obj1 = 0 ;
289136  PyObject * obj2 = 0 ;
289137  bool result;
289138 
289139  if (!PyArg_ParseTuple(args,(char *)"OOO:FrFiringRateModule_AddItem",&obj0,&obj1,&obj2)) SWIG_fail;
289140  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
289141  if (!SWIG_IsOK(res1)) {
289142  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_AddItem" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
289143  }
289144  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
289145  {
289146  std::string *ptr = (std::string *)0;
289147  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
289148  if (!SWIG_IsOK(res2)) {
289149  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrFiringRateModule_AddItem" "', argument " "2"" of type '" "std::string const &""'");
289150  }
289151  if (!ptr) {
289152  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_AddItem" "', argument " "2"" of type '" "std::string const &""'");
289153  }
289154  arg2 = ptr;
289155  }
289156  {
289157  std::string *ptr = (std::string *)0;
289158  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
289159  if (!SWIG_IsOK(res3)) {
289160  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrFiringRateModule_AddItem" "', argument " "3"" of type '" "std::string const &""'");
289161  }
289162  if (!ptr) {
289163  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_AddItem" "', argument " "3"" of type '" "std::string const &""'");
289164  }
289165  arg3 = ptr;
289166  }
289167  {
289168  try {
289169  result = (bool)(arg1)->AddItem((std::string const &)*arg2,(std::string const &)*arg3);
289170  }
289171  catch(CStdErrorInfo oError)
289172  {
289173  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289174  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
289175  PyErr_SetString(PyExc_IndexError, strError.c_str());
289176  SWIG_fail;
289177  }
289178  catch(...)
289179  {
289180  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289181  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
289182  SWIG_fail;
289183  }
289184  }
289185  resultobj = SWIG_From_bool(static_cast< bool >(result));
289186  if (SWIG_IsNewObj(res2)) delete arg2;
289187  if (SWIG_IsNewObj(res3)) delete arg3;
289188  return resultobj;
289189 fail:
289190  if (SWIG_IsNewObj(res2)) delete arg2;
289191  if (SWIG_IsNewObj(res3)) delete arg3;
289192  return NULL;
289193 }
289194 
289195 
289196 SWIGINTERN PyObject *_wrap_FrFiringRateModule_AddItem(PyObject *self, PyObject *args) {
289197  int argc;
289198  PyObject *argv[6];
289199  int ii;
289200 
289201  if (!PyTuple_Check(args)) SWIG_fail;
289202  argc = args ? (int)PyObject_Length(args) : 0;
289203  for (ii = 0; (ii < 5) && (ii < argc); ii++) {
289204  argv[ii] = PyTuple_GET_ITEM(args,ii);
289205  }
289206  if (argc == 3) {
289207  int _v;
289208  void *vptr = 0;
289209  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
289210  _v = SWIG_CheckState(res);
289211  if (_v) {
289212  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
289213  _v = SWIG_CheckState(res);
289214  if (_v) {
289215  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
289216  _v = SWIG_CheckState(res);
289217  if (_v) {
289218  return _wrap_FrFiringRateModule_AddItem__SWIG_2(self, args);
289219  }
289220  }
289221  }
289222  }
289223  if (argc == 4) {
289224  int _v;
289225  void *vptr = 0;
289226  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
289227  _v = SWIG_CheckState(res);
289228  if (_v) {
289229  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
289230  _v = SWIG_CheckState(res);
289231  if (_v) {
289232  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
289233  _v = SWIG_CheckState(res);
289234  if (_v) {
289235  {
289236  int res = SWIG_AsVal_bool(argv[3], NULL);
289237  _v = SWIG_CheckState(res);
289238  }
289239  if (_v) {
289240  return _wrap_FrFiringRateModule_AddItem__SWIG_1(self, args);
289241  }
289242  }
289243  }
289244  }
289245  }
289246  if (argc == 5) {
289247  int _v;
289248  void *vptr = 0;
289249  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
289250  _v = SWIG_CheckState(res);
289251  if (_v) {
289252  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
289253  _v = SWIG_CheckState(res);
289254  if (_v) {
289255  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
289256  _v = SWIG_CheckState(res);
289257  if (_v) {
289258  {
289259  int res = SWIG_AsVal_bool(argv[3], NULL);
289260  _v = SWIG_CheckState(res);
289261  }
289262  if (_v) {
289263  {
289264  int res = SWIG_AsVal_bool(argv[4], NULL);
289265  _v = SWIG_CheckState(res);
289266  }
289267  if (_v) {
289268  return _wrap_FrFiringRateModule_AddItem__SWIG_0(self, args);
289269  }
289270  }
289271  }
289272  }
289273  }
289274  }
289275 
289276 fail:
289277  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'FrFiringRateModule_AddItem'.\n"
289278  " Possible C/C++ prototypes are:\n"
289279  " FiringRateSim::FiringRateModule::AddItem(std::string const &,std::string const &,bool,bool)\n"
289280  " FiringRateSim::FiringRateModule::AddItem(std::string const &,std::string const &,bool)\n"
289281  " FiringRateSim::FiringRateModule::AddItem(std::string const &,std::string const &)\n");
289282  return 0;
289283 }
289284 
289285 
289286 SWIGINTERN PyObject *_wrap_FrFiringRateModule_RemoveItem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
289287  PyObject *resultobj = 0;
289289  std::string *arg2 = 0 ;
289290  std::string *arg3 = 0 ;
289291  bool arg4 ;
289292  void *argp1 = 0 ;
289293  int res1 = 0 ;
289294  int res2 = SWIG_OLDOBJ ;
289295  int res3 = SWIG_OLDOBJ ;
289296  bool val4 ;
289297  int ecode4 = 0 ;
289298  PyObject * obj0 = 0 ;
289299  PyObject * obj1 = 0 ;
289300  PyObject * obj2 = 0 ;
289301  PyObject * obj3 = 0 ;
289302  bool result;
289303 
289304  if (!PyArg_ParseTuple(args,(char *)"OOOO:FrFiringRateModule_RemoveItem",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
289305  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
289306  if (!SWIG_IsOK(res1)) {
289307  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_RemoveItem" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
289308  }
289309  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
289310  {
289311  std::string *ptr = (std::string *)0;
289312  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
289313  if (!SWIG_IsOK(res2)) {
289314  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrFiringRateModule_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
289315  }
289316  if (!ptr) {
289317  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
289318  }
289319  arg2 = ptr;
289320  }
289321  {
289322  std::string *ptr = (std::string *)0;
289323  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
289324  if (!SWIG_IsOK(res3)) {
289325  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrFiringRateModule_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
289326  }
289327  if (!ptr) {
289328  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
289329  }
289330  arg3 = ptr;
289331  }
289332  ecode4 = SWIG_AsVal_bool(obj3, &val4);
289333  if (!SWIG_IsOK(ecode4)) {
289334  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FrFiringRateModule_RemoveItem" "', argument " "4"" of type '" "bool""'");
289335  }
289336  arg4 = static_cast< bool >(val4);
289337  {
289338  try {
289339  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3,arg4);
289340  }
289341  catch(CStdErrorInfo oError)
289342  {
289343  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289344  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
289345  PyErr_SetString(PyExc_IndexError, strError.c_str());
289346  SWIG_fail;
289347  }
289348  catch(...)
289349  {
289350  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289351  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
289352  SWIG_fail;
289353  }
289354  }
289355  resultobj = SWIG_From_bool(static_cast< bool >(result));
289356  if (SWIG_IsNewObj(res2)) delete arg2;
289357  if (SWIG_IsNewObj(res3)) delete arg3;
289358  return resultobj;
289359 fail:
289360  if (SWIG_IsNewObj(res2)) delete arg2;
289361  if (SWIG_IsNewObj(res3)) delete arg3;
289362  return NULL;
289363 }
289364 
289365 
289366 SWIGINTERN PyObject *_wrap_FrFiringRateModule_RemoveItem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
289367  PyObject *resultobj = 0;
289369  std::string *arg2 = 0 ;
289370  std::string *arg3 = 0 ;
289371  void *argp1 = 0 ;
289372  int res1 = 0 ;
289373  int res2 = SWIG_OLDOBJ ;
289374  int res3 = SWIG_OLDOBJ ;
289375  PyObject * obj0 = 0 ;
289376  PyObject * obj1 = 0 ;
289377  PyObject * obj2 = 0 ;
289378  bool result;
289379 
289380  if (!PyArg_ParseTuple(args,(char *)"OOO:FrFiringRateModule_RemoveItem",&obj0,&obj1,&obj2)) SWIG_fail;
289381  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
289382  if (!SWIG_IsOK(res1)) {
289383  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_RemoveItem" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
289384  }
289385  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
289386  {
289387  std::string *ptr = (std::string *)0;
289388  res2 = SWIG_AsPtr_std_string(obj1, &ptr);
289389  if (!SWIG_IsOK(res2)) {
289390  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrFiringRateModule_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
289391  }
289392  if (!ptr) {
289393  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_RemoveItem" "', argument " "2"" of type '" "std::string const &""'");
289394  }
289395  arg2 = ptr;
289396  }
289397  {
289398  std::string *ptr = (std::string *)0;
289399  res3 = SWIG_AsPtr_std_string(obj2, &ptr);
289400  if (!SWIG_IsOK(res3)) {
289401  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrFiringRateModule_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
289402  }
289403  if (!ptr) {
289404  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_RemoveItem" "', argument " "3"" of type '" "std::string const &""'");
289405  }
289406  arg3 = ptr;
289407  }
289408  {
289409  try {
289410  result = (bool)(arg1)->RemoveItem((std::string const &)*arg2,(std::string const &)*arg3);
289411  }
289412  catch(CStdErrorInfo oError)
289413  {
289414  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289415  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
289416  PyErr_SetString(PyExc_IndexError, strError.c_str());
289417  SWIG_fail;
289418  }
289419  catch(...)
289420  {
289421  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289422  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
289423  SWIG_fail;
289424  }
289425  }
289426  resultobj = SWIG_From_bool(static_cast< bool >(result));
289427  if (SWIG_IsNewObj(res2)) delete arg2;
289428  if (SWIG_IsNewObj(res3)) delete arg3;
289429  return resultobj;
289430 fail:
289431  if (SWIG_IsNewObj(res2)) delete arg2;
289432  if (SWIG_IsNewObj(res3)) delete arg3;
289433  return NULL;
289434 }
289435 
289436 
289437 SWIGINTERN PyObject *_wrap_FrFiringRateModule_RemoveItem(PyObject *self, PyObject *args) {
289438  int argc;
289439  PyObject *argv[5];
289440  int ii;
289441 
289442  if (!PyTuple_Check(args)) SWIG_fail;
289443  argc = args ? (int)PyObject_Length(args) : 0;
289444  for (ii = 0; (ii < 4) && (ii < argc); ii++) {
289445  argv[ii] = PyTuple_GET_ITEM(args,ii);
289446  }
289447  if (argc == 3) {
289448  int _v;
289449  void *vptr = 0;
289450  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
289451  _v = SWIG_CheckState(res);
289452  if (_v) {
289453  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
289454  _v = SWIG_CheckState(res);
289455  if (_v) {
289456  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
289457  _v = SWIG_CheckState(res);
289458  if (_v) {
289459  return _wrap_FrFiringRateModule_RemoveItem__SWIG_1(self, args);
289460  }
289461  }
289462  }
289463  }
289464  if (argc == 4) {
289465  int _v;
289466  void *vptr = 0;
289467  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
289468  _v = SWIG_CheckState(res);
289469  if (_v) {
289470  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
289471  _v = SWIG_CheckState(res);
289472  if (_v) {
289473  int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
289474  _v = SWIG_CheckState(res);
289475  if (_v) {
289476  {
289477  int res = SWIG_AsVal_bool(argv[3], NULL);
289478  _v = SWIG_CheckState(res);
289479  }
289480  if (_v) {
289481  return _wrap_FrFiringRateModule_RemoveItem__SWIG_0(self, args);
289482  }
289483  }
289484  }
289485  }
289486  }
289487 
289488 fail:
289489  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'FrFiringRateModule_RemoveItem'.\n"
289490  " Possible C/C++ prototypes are:\n"
289491  " FiringRateSim::FiringRateModule::RemoveItem(std::string const &,std::string const &,bool)\n"
289492  " FiringRateSim::FiringRateModule::RemoveItem(std::string const &,std::string const &)\n");
289493  return 0;
289494 }
289495 
289496 
289497 SWIGINTERN PyObject *_wrap_FrFiringRateModule_AddNeuron__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
289498  PyObject *resultobj = 0;
289500  std::string arg2 ;
289501  bool arg3 ;
289502  void *argp1 = 0 ;
289503  int res1 = 0 ;
289504  bool val3 ;
289505  int ecode3 = 0 ;
289506  PyObject * obj0 = 0 ;
289507  PyObject * obj1 = 0 ;
289508  PyObject * obj2 = 0 ;
289509 
289510  if (!PyArg_ParseTuple(args,(char *)"OOO:FrFiringRateModule_AddNeuron",&obj0,&obj1,&obj2)) SWIG_fail;
289511  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
289512  if (!SWIG_IsOK(res1)) {
289513  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_AddNeuron" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
289514  }
289515  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
289516  {
289517  std::string *ptr = (std::string *)0;
289518  int res = SWIG_AsPtr_std_string(obj1, &ptr);
289519  if (!SWIG_IsOK(res) || !ptr) {
289520  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "FrFiringRateModule_AddNeuron" "', argument " "2"" of type '" "std::string""'");
289521  }
289522  arg2 = *ptr;
289523  if (SWIG_IsNewObj(res)) delete ptr;
289524  }
289525  ecode3 = SWIG_AsVal_bool(obj2, &val3);
289526  if (!SWIG_IsOK(ecode3)) {
289527  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrFiringRateModule_AddNeuron" "', argument " "3"" of type '" "bool""'");
289528  }
289529  arg3 = static_cast< bool >(val3);
289530  {
289531  try {
289532  (arg1)->AddNeuron(arg2,arg3);
289533  }
289534  catch(CStdErrorInfo oError)
289535  {
289536  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289537  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
289538  PyErr_SetString(PyExc_IndexError, strError.c_str());
289539  SWIG_fail;
289540  }
289541  catch(...)
289542  {
289543  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289544  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
289545  SWIG_fail;
289546  }
289547  }
289548  resultobj = SWIG_Py_Void();
289549  return resultobj;
289550 fail:
289551  return NULL;
289552 }
289553 
289554 
289555 SWIGINTERN PyObject *_wrap_FrFiringRateModule_AddNeuron__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
289556  PyObject *resultobj = 0;
289558  std::string arg2 ;
289559  void *argp1 = 0 ;
289560  int res1 = 0 ;
289561  PyObject * obj0 = 0 ;
289562  PyObject * obj1 = 0 ;
289563 
289564  if (!PyArg_ParseTuple(args,(char *)"OO:FrFiringRateModule_AddNeuron",&obj0,&obj1)) SWIG_fail;
289565  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
289566  if (!SWIG_IsOK(res1)) {
289567  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_AddNeuron" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
289568  }
289569  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
289570  {
289571  std::string *ptr = (std::string *)0;
289572  int res = SWIG_AsPtr_std_string(obj1, &ptr);
289573  if (!SWIG_IsOK(res) || !ptr) {
289574  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "FrFiringRateModule_AddNeuron" "', argument " "2"" of type '" "std::string""'");
289575  }
289576  arg2 = *ptr;
289577  if (SWIG_IsNewObj(res)) delete ptr;
289578  }
289579  {
289580  try {
289581  (arg1)->AddNeuron(arg2);
289582  }
289583  catch(CStdErrorInfo oError)
289584  {
289585  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289586  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
289587  PyErr_SetString(PyExc_IndexError, strError.c_str());
289588  SWIG_fail;
289589  }
289590  catch(...)
289591  {
289592  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289593  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
289594  SWIG_fail;
289595  }
289596  }
289597  resultobj = SWIG_Py_Void();
289598  return resultobj;
289599 fail:
289600  return NULL;
289601 }
289602 
289603 
289604 SWIGINTERN PyObject *_wrap_FrFiringRateModule_AddNeuron(PyObject *self, PyObject *args) {
289605  int argc;
289606  PyObject *argv[4];
289607  int ii;
289608 
289609  if (!PyTuple_Check(args)) SWIG_fail;
289610  argc = args ? (int)PyObject_Length(args) : 0;
289611  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
289612  argv[ii] = PyTuple_GET_ITEM(args,ii);
289613  }
289614  if (argc == 2) {
289615  int _v;
289616  void *vptr = 0;
289617  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
289618  _v = SWIG_CheckState(res);
289619  if (_v) {
289620  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
289621  _v = SWIG_CheckState(res);
289622  if (_v) {
289623  return _wrap_FrFiringRateModule_AddNeuron__SWIG_1(self, args);
289624  }
289625  }
289626  }
289627  if (argc == 3) {
289628  int _v;
289629  void *vptr = 0;
289630  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
289631  _v = SWIG_CheckState(res);
289632  if (_v) {
289633  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
289634  _v = SWIG_CheckState(res);
289635  if (_v) {
289636  {
289637  int res = SWIG_AsVal_bool(argv[2], NULL);
289638  _v = SWIG_CheckState(res);
289639  }
289640  if (_v) {
289641  return _wrap_FrFiringRateModule_AddNeuron__SWIG_0(self, args);
289642  }
289643  }
289644  }
289645  }
289646 
289647 fail:
289648  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'FrFiringRateModule_AddNeuron'.\n"
289649  " Possible C/C++ prototypes are:\n"
289650  " FiringRateSim::FiringRateModule::AddNeuron(std::string,bool)\n"
289651  " FiringRateSim::FiringRateModule::AddNeuron(std::string)\n");
289652  return 0;
289653 }
289654 
289655 
289656 SWIGINTERN PyObject *_wrap_FrFiringRateModule_RemoveNeuron__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
289657  PyObject *resultobj = 0;
289659  std::string arg2 ;
289660  bool arg3 ;
289661  void *argp1 = 0 ;
289662  int res1 = 0 ;
289663  bool val3 ;
289664  int ecode3 = 0 ;
289665  PyObject * obj0 = 0 ;
289666  PyObject * obj1 = 0 ;
289667  PyObject * obj2 = 0 ;
289668 
289669  if (!PyArg_ParseTuple(args,(char *)"OOO:FrFiringRateModule_RemoveNeuron",&obj0,&obj1,&obj2)) SWIG_fail;
289670  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
289671  if (!SWIG_IsOK(res1)) {
289672  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_RemoveNeuron" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
289673  }
289674  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
289675  {
289676  std::string *ptr = (std::string *)0;
289677  int res = SWIG_AsPtr_std_string(obj1, &ptr);
289678  if (!SWIG_IsOK(res) || !ptr) {
289679  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "FrFiringRateModule_RemoveNeuron" "', argument " "2"" of type '" "std::string""'");
289680  }
289681  arg2 = *ptr;
289682  if (SWIG_IsNewObj(res)) delete ptr;
289683  }
289684  ecode3 = SWIG_AsVal_bool(obj2, &val3);
289685  if (!SWIG_IsOK(ecode3)) {
289686  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrFiringRateModule_RemoveNeuron" "', argument " "3"" of type '" "bool""'");
289687  }
289688  arg3 = static_cast< bool >(val3);
289689  {
289690  try {
289691  (arg1)->RemoveNeuron(arg2,arg3);
289692  }
289693  catch(CStdErrorInfo oError)
289694  {
289695  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289696  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
289697  PyErr_SetString(PyExc_IndexError, strError.c_str());
289698  SWIG_fail;
289699  }
289700  catch(...)
289701  {
289702  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289703  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
289704  SWIG_fail;
289705  }
289706  }
289707  resultobj = SWIG_Py_Void();
289708  return resultobj;
289709 fail:
289710  return NULL;
289711 }
289712 
289713 
289714 SWIGINTERN PyObject *_wrap_FrFiringRateModule_RemoveNeuron__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
289715  PyObject *resultobj = 0;
289717  std::string arg2 ;
289718  void *argp1 = 0 ;
289719  int res1 = 0 ;
289720  PyObject * obj0 = 0 ;
289721  PyObject * obj1 = 0 ;
289722 
289723  if (!PyArg_ParseTuple(args,(char *)"OO:FrFiringRateModule_RemoveNeuron",&obj0,&obj1)) SWIG_fail;
289724  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
289725  if (!SWIG_IsOK(res1)) {
289726  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_RemoveNeuron" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
289727  }
289728  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
289729  {
289730  std::string *ptr = (std::string *)0;
289731  int res = SWIG_AsPtr_std_string(obj1, &ptr);
289732  if (!SWIG_IsOK(res) || !ptr) {
289733  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "FrFiringRateModule_RemoveNeuron" "', argument " "2"" of type '" "std::string""'");
289734  }
289735  arg2 = *ptr;
289736  if (SWIG_IsNewObj(res)) delete ptr;
289737  }
289738  {
289739  try {
289740  (arg1)->RemoveNeuron(arg2);
289741  }
289742  catch(CStdErrorInfo oError)
289743  {
289744  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289745  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
289746  PyErr_SetString(PyExc_IndexError, strError.c_str());
289747  SWIG_fail;
289748  }
289749  catch(...)
289750  {
289751  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289752  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
289753  SWIG_fail;
289754  }
289755  }
289756  resultobj = SWIG_Py_Void();
289757  return resultobj;
289758 fail:
289759  return NULL;
289760 }
289761 
289762 
289763 SWIGINTERN PyObject *_wrap_FrFiringRateModule_RemoveNeuron(PyObject *self, PyObject *args) {
289764  int argc;
289765  PyObject *argv[4];
289766  int ii;
289767 
289768  if (!PyTuple_Check(args)) SWIG_fail;
289769  argc = args ? (int)PyObject_Length(args) : 0;
289770  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
289771  argv[ii] = PyTuple_GET_ITEM(args,ii);
289772  }
289773  if (argc == 2) {
289774  int _v;
289775  void *vptr = 0;
289776  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
289777  _v = SWIG_CheckState(res);
289778  if (_v) {
289779  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
289780  _v = SWIG_CheckState(res);
289781  if (_v) {
289782  return _wrap_FrFiringRateModule_RemoveNeuron__SWIG_1(self, args);
289783  }
289784  }
289785  }
289786  if (argc == 3) {
289787  int _v;
289788  void *vptr = 0;
289789  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
289790  _v = SWIG_CheckState(res);
289791  if (_v) {
289792  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
289793  _v = SWIG_CheckState(res);
289794  if (_v) {
289795  {
289796  int res = SWIG_AsVal_bool(argv[2], NULL);
289797  _v = SWIG_CheckState(res);
289798  }
289799  if (_v) {
289800  return _wrap_FrFiringRateModule_RemoveNeuron__SWIG_0(self, args);
289801  }
289802  }
289803  }
289804  }
289805 
289806 fail:
289807  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'FrFiringRateModule_RemoveNeuron'.\n"
289808  " Possible C/C++ prototypes are:\n"
289809  " FiringRateSim::FiringRateModule::RemoveNeuron(std::string,bool)\n"
289810  " FiringRateSim::FiringRateModule::RemoveNeuron(std::string)\n");
289811  return 0;
289812 }
289813 
289814 
289815 SWIGINTERN PyObject *_wrap_FrFiringRateModule_FindNeuronListPos__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
289816  PyObject *resultobj = 0;
289818  std::string arg2 ;
289819  bool arg3 ;
289820  void *argp1 = 0 ;
289821  int res1 = 0 ;
289822  bool val3 ;
289823  int ecode3 = 0 ;
289824  PyObject * obj0 = 0 ;
289825  PyObject * obj1 = 0 ;
289826  PyObject * obj2 = 0 ;
289827  int result;
289828 
289829  if (!PyArg_ParseTuple(args,(char *)"OOO:FrFiringRateModule_FindNeuronListPos",&obj0,&obj1,&obj2)) SWIG_fail;
289830  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
289831  if (!SWIG_IsOK(res1)) {
289832  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_FindNeuronListPos" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
289833  }
289834  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
289835  {
289836  std::string *ptr = (std::string *)0;
289837  int res = SWIG_AsPtr_std_string(obj1, &ptr);
289838  if (!SWIG_IsOK(res) || !ptr) {
289839  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "FrFiringRateModule_FindNeuronListPos" "', argument " "2"" of type '" "std::string""'");
289840  }
289841  arg2 = *ptr;
289842  if (SWIG_IsNewObj(res)) delete ptr;
289843  }
289844  ecode3 = SWIG_AsVal_bool(obj2, &val3);
289845  if (!SWIG_IsOK(ecode3)) {
289846  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrFiringRateModule_FindNeuronListPos" "', argument " "3"" of type '" "bool""'");
289847  }
289848  arg3 = static_cast< bool >(val3);
289849  {
289850  try {
289851  result = (int)(arg1)->FindNeuronListPos(arg2,arg3);
289852  }
289853  catch(CStdErrorInfo oError)
289854  {
289855  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289856  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
289857  PyErr_SetString(PyExc_IndexError, strError.c_str());
289858  SWIG_fail;
289859  }
289860  catch(...)
289861  {
289862  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289863  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
289864  SWIG_fail;
289865  }
289866  }
289867  resultobj = SWIG_From_int(static_cast< int >(result));
289868  return resultobj;
289869 fail:
289870  return NULL;
289871 }
289872 
289873 
289874 SWIGINTERN PyObject *_wrap_FrFiringRateModule_FindNeuronListPos__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
289875  PyObject *resultobj = 0;
289877  std::string arg2 ;
289878  void *argp1 = 0 ;
289879  int res1 = 0 ;
289880  PyObject * obj0 = 0 ;
289881  PyObject * obj1 = 0 ;
289882  int result;
289883 
289884  if (!PyArg_ParseTuple(args,(char *)"OO:FrFiringRateModule_FindNeuronListPos",&obj0,&obj1)) SWIG_fail;
289885  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
289886  if (!SWIG_IsOK(res1)) {
289887  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_FindNeuronListPos" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
289888  }
289889  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
289890  {
289891  std::string *ptr = (std::string *)0;
289892  int res = SWIG_AsPtr_std_string(obj1, &ptr);
289893  if (!SWIG_IsOK(res) || !ptr) {
289894  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "FrFiringRateModule_FindNeuronListPos" "', argument " "2"" of type '" "std::string""'");
289895  }
289896  arg2 = *ptr;
289897  if (SWIG_IsNewObj(res)) delete ptr;
289898  }
289899  {
289900  try {
289901  result = (int)(arg1)->FindNeuronListPos(arg2);
289902  }
289903  catch(CStdErrorInfo oError)
289904  {
289905  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289906  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
289907  PyErr_SetString(PyExc_IndexError, strError.c_str());
289908  SWIG_fail;
289909  }
289910  catch(...)
289911  {
289912  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289913  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
289914  SWIG_fail;
289915  }
289916  }
289917  resultobj = SWIG_From_int(static_cast< int >(result));
289918  return resultobj;
289919 fail:
289920  return NULL;
289921 }
289922 
289923 
289924 SWIGINTERN PyObject *_wrap_FrFiringRateModule_FindNeuronListPos(PyObject *self, PyObject *args) {
289925  int argc;
289926  PyObject *argv[4];
289927  int ii;
289928 
289929  if (!PyTuple_Check(args)) SWIG_fail;
289930  argc = args ? (int)PyObject_Length(args) : 0;
289931  for (ii = 0; (ii < 3) && (ii < argc); ii++) {
289932  argv[ii] = PyTuple_GET_ITEM(args,ii);
289933  }
289934  if (argc == 2) {
289935  int _v;
289936  void *vptr = 0;
289937  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
289938  _v = SWIG_CheckState(res);
289939  if (_v) {
289940  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
289941  _v = SWIG_CheckState(res);
289942  if (_v) {
289943  return _wrap_FrFiringRateModule_FindNeuronListPos__SWIG_1(self, args);
289944  }
289945  }
289946  }
289947  if (argc == 3) {
289948  int _v;
289949  void *vptr = 0;
289950  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
289951  _v = SWIG_CheckState(res);
289952  if (_v) {
289953  int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
289954  _v = SWIG_CheckState(res);
289955  if (_v) {
289956  {
289957  int res = SWIG_AsVal_bool(argv[2], NULL);
289958  _v = SWIG_CheckState(res);
289959  }
289960  if (_v) {
289961  return _wrap_FrFiringRateModule_FindNeuronListPos__SWIG_0(self, args);
289962  }
289963  }
289964  }
289965  }
289966 
289967 fail:
289968  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'FrFiringRateModule_FindNeuronListPos'.\n"
289969  " Possible C/C++ prototypes are:\n"
289970  " FiringRateSim::FiringRateModule::FindNeuronListPos(std::string,bool)\n"
289971  " FiringRateSim::FiringRateModule::FindNeuronListPos(std::string)\n");
289972  return 0;
289973 }
289974 
289975 
289976 SWIGINTERN PyObject *_wrap_FrFiringRateModule_ActiveArray__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
289977  PyObject *resultobj = 0;
289979  void *argp1 = 0 ;
289980  int res1 = 0 ;
289981  PyObject * obj0 = 0 ;
289982  bool result;
289983 
289984  if (!PyArg_ParseTuple(args,(char *)"O:FrFiringRateModule_ActiveArray",&obj0)) SWIG_fail;
289985  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
289986  if (!SWIG_IsOK(res1)) {
289987  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_ActiveArray" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
289988  }
289989  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
289990  {
289991  try {
289992  result = (bool)(arg1)->ActiveArray();
289993  }
289994  catch(CStdErrorInfo oError)
289995  {
289996  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
289997  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
289998  PyErr_SetString(PyExc_IndexError, strError.c_str());
289999  SWIG_fail;
290000  }
290001  catch(...)
290002  {
290003  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
290004  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
290005  SWIG_fail;
290006  }
290007  }
290008  resultobj = SWIG_From_bool(static_cast< bool >(result));
290009  return resultobj;
290010 fail:
290011  return NULL;
290012 }
290013 
290014 
290015 SWIGINTERN PyObject *_wrap_FrFiringRateModule_ActiveArray__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
290016  PyObject *resultobj = 0;
290018  bool arg2 ;
290019  void *argp1 = 0 ;
290020  int res1 = 0 ;
290021  bool val2 ;
290022  int ecode2 = 0 ;
290023  PyObject * obj0 = 0 ;
290024  PyObject * obj1 = 0 ;
290025 
290026  if (!PyArg_ParseTuple(args,(char *)"OO:FrFiringRateModule_ActiveArray",&obj0,&obj1)) SWIG_fail;
290027  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
290028  if (!SWIG_IsOK(res1)) {
290029  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_ActiveArray" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
290030  }
290031  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
290032  ecode2 = SWIG_AsVal_bool(obj1, &val2);
290033  if (!SWIG_IsOK(ecode2)) {
290034  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrFiringRateModule_ActiveArray" "', argument " "2"" of type '" "bool""'");
290035  }
290036  arg2 = static_cast< bool >(val2);
290037  {
290038  try {
290039  (arg1)->ActiveArray(arg2);
290040  }
290041  catch(CStdErrorInfo oError)
290042  {
290043  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
290044  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
290045  PyErr_SetString(PyExc_IndexError, strError.c_str());
290046  SWIG_fail;
290047  }
290048  catch(...)
290049  {
290050  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
290051  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
290052  SWIG_fail;
290053  }
290054  }
290055  resultobj = SWIG_Py_Void();
290056  return resultobj;
290057 fail:
290058  return NULL;
290059 }
290060 
290061 
290062 SWIGINTERN PyObject *_wrap_FrFiringRateModule_ActiveArray(PyObject *self, PyObject *args) {
290063  int argc;
290064  PyObject *argv[3];
290065  int ii;
290066 
290067  if (!PyTuple_Check(args)) SWIG_fail;
290068  argc = args ? (int)PyObject_Length(args) : 0;
290069  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
290070  argv[ii] = PyTuple_GET_ITEM(args,ii);
290071  }
290072  if (argc == 1) {
290073  int _v;
290074  void *vptr = 0;
290075  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
290076  _v = SWIG_CheckState(res);
290077  if (_v) {
290078  return _wrap_FrFiringRateModule_ActiveArray__SWIG_0(self, args);
290079  }
290080  }
290081  if (argc == 2) {
290082  int _v;
290083  void *vptr = 0;
290084  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
290085  _v = SWIG_CheckState(res);
290086  if (_v) {
290087  {
290088  int res = SWIG_AsVal_bool(argv[1], NULL);
290089  _v = SWIG_CheckState(res);
290090  }
290091  if (_v) {
290092  return _wrap_FrFiringRateModule_ActiveArray__SWIG_1(self, args);
290093  }
290094  }
290095  }
290096 
290097 fail:
290098  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'FrFiringRateModule_ActiveArray'.\n"
290099  " Possible C/C++ prototypes are:\n"
290100  " FiringRateSim::FiringRateModule::ActiveArray()\n"
290101  " FiringRateSim::FiringRateModule::ActiveArray(bool)\n");
290102  return 0;
290103 }
290104 
290105 
290106 SWIGINTERN PyObject *_wrap_FrFiringRateModule_InactiveArray__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
290107  PyObject *resultobj = 0;
290109  void *argp1 = 0 ;
290110  int res1 = 0 ;
290111  PyObject * obj0 = 0 ;
290112  bool result;
290113 
290114  if (!PyArg_ParseTuple(args,(char *)"O:FrFiringRateModule_InactiveArray",&obj0)) SWIG_fail;
290115  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
290116  if (!SWIG_IsOK(res1)) {
290117  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_InactiveArray" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
290118  }
290119  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
290120  {
290121  try {
290122  result = (bool)(arg1)->InactiveArray();
290123  }
290124  catch(CStdErrorInfo oError)
290125  {
290126  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
290127  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
290128  PyErr_SetString(PyExc_IndexError, strError.c_str());
290129  SWIG_fail;
290130  }
290131  catch(...)
290132  {
290133  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
290134  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
290135  SWIG_fail;
290136  }
290137  }
290138  resultobj = SWIG_From_bool(static_cast< bool >(result));
290139  return resultobj;
290140 fail:
290141  return NULL;
290142 }
290143 
290144 
290145 SWIGINTERN PyObject *_wrap_FrFiringRateModule_InactiveArray__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
290146  PyObject *resultobj = 0;
290148  bool arg2 ;
290149  void *argp1 = 0 ;
290150  int res1 = 0 ;
290151  bool val2 ;
290152  int ecode2 = 0 ;
290153  PyObject * obj0 = 0 ;
290154  PyObject * obj1 = 0 ;
290155 
290156  if (!PyArg_ParseTuple(args,(char *)"OO:FrFiringRateModule_InactiveArray",&obj0,&obj1)) SWIG_fail;
290157  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
290158  if (!SWIG_IsOK(res1)) {
290159  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_InactiveArray" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
290160  }
290161  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
290162  ecode2 = SWIG_AsVal_bool(obj1, &val2);
290163  if (!SWIG_IsOK(ecode2)) {
290164  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrFiringRateModule_InactiveArray" "', argument " "2"" of type '" "bool""'");
290165  }
290166  arg2 = static_cast< bool >(val2);
290167  {
290168  try {
290169  (arg1)->InactiveArray(arg2);
290170  }
290171  catch(CStdErrorInfo oError)
290172  {
290173  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
290174  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
290175  PyErr_SetString(PyExc_IndexError, strError.c_str());
290176  SWIG_fail;
290177  }
290178  catch(...)
290179  {
290180  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
290181  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
290182  SWIG_fail;
290183  }
290184  }
290185  resultobj = SWIG_Py_Void();
290186  return resultobj;
290187 fail:
290188  return NULL;
290189 }
290190 
290191 
290192 SWIGINTERN PyObject *_wrap_FrFiringRateModule_InactiveArray(PyObject *self, PyObject *args) {
290193  int argc;
290194  PyObject *argv[3];
290195  int ii;
290196 
290197  if (!PyTuple_Check(args)) SWIG_fail;
290198  argc = args ? (int)PyObject_Length(args) : 0;
290199  for (ii = 0; (ii < 2) && (ii < argc); ii++) {
290200  argv[ii] = PyTuple_GET_ITEM(args,ii);
290201  }
290202  if (argc == 1) {
290203  int _v;
290204  void *vptr = 0;
290205  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
290206  _v = SWIG_CheckState(res);
290207  if (_v) {
290208  return _wrap_FrFiringRateModule_InactiveArray__SWIG_0(self, args);
290209  }
290210  }
290211  if (argc == 2) {
290212  int _v;
290213  void *vptr = 0;
290214  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FiringRateSim__FiringRateModule, 0);
290215  _v = SWIG_CheckState(res);
290216  if (_v) {
290217  {
290218  int res = SWIG_AsVal_bool(argv[1], NULL);
290219  _v = SWIG_CheckState(res);
290220  }
290221  if (_v) {
290222  return _wrap_FrFiringRateModule_InactiveArray__SWIG_1(self, args);
290223  }
290224  }
290225  }
290226 
290227 fail:
290228  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'FrFiringRateModule_InactiveArray'.\n"
290229  " Possible C/C++ prototypes are:\n"
290230  " FiringRateSim::FiringRateModule::InactiveArray()\n"
290231  " FiringRateSim::FiringRateModule::InactiveArray(bool)\n");
290232  return 0;
290233 }
290234 
290235 
290236 SWIGINTERN PyObject *_wrap_FrFiringRateModule_CalculateSnapshotByteSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
290237  PyObject *resultobj = 0;
290239  void *argp1 = 0 ;
290240  int res1 = 0 ;
290241  PyObject * obj0 = 0 ;
290242  long result;
290243 
290244  if (!PyArg_ParseTuple(args,(char *)"O:FrFiringRateModule_CalculateSnapshotByteSize",&obj0)) SWIG_fail;
290245  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
290246  if (!SWIG_IsOK(res1)) {
290247  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_CalculateSnapshotByteSize" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
290248  }
290249  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
290250  {
290251  try {
290252  result = (long)(arg1)->CalculateSnapshotByteSize();
290253  }
290254  catch(CStdErrorInfo oError)
290255  {
290256  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
290257  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
290258  PyErr_SetString(PyExc_IndexError, strError.c_str());
290259  SWIG_fail;
290260  }
290261  catch(...)
290262  {
290263  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
290264  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
290265  SWIG_fail;
290266  }
290267  }
290268  resultobj = SWIG_From_long(static_cast< long >(result));
290269  return resultobj;
290270 fail:
290271  return NULL;
290272 }
290273 
290274 
290275 SWIGINTERN PyObject *_wrap_FrFiringRateModule_SaveKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
290276  PyObject *resultobj = 0;
290278  byte *arg2 = (byte *) 0 ;
290279  long *arg3 = 0 ;
290280  void *argp1 = 0 ;
290281  int res1 = 0 ;
290282  void *argp2 = 0 ;
290283  int res2 = 0 ;
290284  void *argp3 = 0 ;
290285  int res3 = 0 ;
290286  PyObject * obj0 = 0 ;
290287  PyObject * obj1 = 0 ;
290288  PyObject * obj2 = 0 ;
290289 
290290  if (!PyArg_ParseTuple(args,(char *)"OOO:FrFiringRateModule_SaveKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
290291  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
290292  if (!SWIG_IsOK(res1)) {
290293  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_SaveKeyFrameSnapshot" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
290294  }
290295  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
290296  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
290297  if (!SWIG_IsOK(res2)) {
290298  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrFiringRateModule_SaveKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
290299  }
290300  arg2 = reinterpret_cast< byte * >(argp2);
290301  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
290302  if (!SWIG_IsOK(res3)) {
290303  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrFiringRateModule_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
290304  }
290305  if (!argp3) {
290306  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_SaveKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
290307  }
290308  arg3 = reinterpret_cast< long * >(argp3);
290309  {
290310  try {
290311  (arg1)->SaveKeyFrameSnapshot(arg2,*arg3);
290312  }
290313  catch(CStdErrorInfo oError)
290314  {
290315  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
290316  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
290317  PyErr_SetString(PyExc_IndexError, strError.c_str());
290318  SWIG_fail;
290319  }
290320  catch(...)
290321  {
290322  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
290323  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
290324  SWIG_fail;
290325  }
290326  }
290327  resultobj = SWIG_Py_Void();
290328  return resultobj;
290329 fail:
290330  return NULL;
290331 }
290332 
290333 
290334 SWIGINTERN PyObject *_wrap_FrFiringRateModule_LoadKeyFrameSnapshot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
290335  PyObject *resultobj = 0;
290337  byte *arg2 = (byte *) 0 ;
290338  long *arg3 = 0 ;
290339  void *argp1 = 0 ;
290340  int res1 = 0 ;
290341  void *argp2 = 0 ;
290342  int res2 = 0 ;
290343  void *argp3 = 0 ;
290344  int res3 = 0 ;
290345  PyObject * obj0 = 0 ;
290346  PyObject * obj1 = 0 ;
290347  PyObject * obj2 = 0 ;
290348 
290349  if (!PyArg_ParseTuple(args,(char *)"OOO:FrFiringRateModule_LoadKeyFrameSnapshot",&obj0,&obj1,&obj2)) SWIG_fail;
290350  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_FiringRateSim__FiringRateModule, 0 | 0 );
290351  if (!SWIG_IsOK(res1)) {
290352  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrFiringRateModule_LoadKeyFrameSnapshot" "', argument " "1"" of type '" "FiringRateSim::FiringRateModule *""'");
290353  }
290354  arg1 = reinterpret_cast< FiringRateSim::FiringRateModule * >(argp1);
290355  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_byte, 0 | 0 );
290356  if (!SWIG_IsOK(res2)) {
290357  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrFiringRateModule_LoadKeyFrameSnapshot" "', argument " "2"" of type '" "byte *""'");
290358  }
290359  arg2 = reinterpret_cast< byte * >(argp2);
290360  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_long, 0 );
290361  if (!SWIG_IsOK(res3)) {
290362  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrFiringRateModule_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
290363  }
290364  if (!argp3) {
290365  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrFiringRateModule_LoadKeyFrameSnapshot" "', argument " "3"" of type '" "long &""'");
290366  }
290367  arg3 = reinterpret_cast< long * >(argp3);
290368  {
290369  try {
290370  (arg1)->LoadKeyFrameSnapshot(arg2,*arg3);
290371  }
290372  catch(CStdErrorInfo oError)
290373  {
290374  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
290375  std::string strError = "AnimatLab Error occurred.\nError: " + oError.m_strError;
290376  PyErr_SetString(PyExc_IndexError, strError.c_str());
290377  SWIG_fail;
290378  }
290379  catch(...)
290380  {
290381  //A critical simulation error has occurred if we catch an exception here. We need to shut the app down.
290382  PyErr_SetString(PyExc_IndexError, "unknown system error has occurred.");
290383  SWIG_fail;
290384  }
290385  }
290386  resultobj = SWIG_Py_Void();
290387  return resultobj;
290388 fail:
290389  return NULL;
290390 }
290391 
290392 
290393 SWIGINTERN PyObject *FrFiringRateModule_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
290394  PyObject *obj;
290395  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
290396  SWIG_TypeNewClientData(SWIGTYPE_p_FiringRateSim__FiringRateModule, SWIG_NewClientData(obj));
290397  return SWIG_Py_Void();
290398 }
290399 
290400 static PyMethodDef SwigMethods[] = {
290401  { (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O, NULL},
290402  { (char *)"delete_SwigPyIterator", _wrap_delete_SwigPyIterator, METH_VARARGS, NULL},
290403  { (char *)"SwigPyIterator_value", _wrap_SwigPyIterator_value, METH_VARARGS, NULL},
290404  { (char *)"SwigPyIterator_incr", _wrap_SwigPyIterator_incr, METH_VARARGS, NULL},
290405  { (char *)"SwigPyIterator_decr", _wrap_SwigPyIterator_decr, METH_VARARGS, NULL},
290406  { (char *)"SwigPyIterator_distance", _wrap_SwigPyIterator_distance, METH_VARARGS, NULL},
290407  { (char *)"SwigPyIterator_equal", _wrap_SwigPyIterator_equal, METH_VARARGS, NULL},
290408  { (char *)"SwigPyIterator_copy", _wrap_SwigPyIterator_copy, METH_VARARGS, NULL},
290409  { (char *)"SwigPyIterator_next", _wrap_SwigPyIterator_next, METH_VARARGS, NULL},
290410  { (char *)"SwigPyIterator___next__", _wrap_SwigPyIterator___next__, METH_VARARGS, NULL},
290411  { (char *)"SwigPyIterator_previous", _wrap_SwigPyIterator_previous, METH_VARARGS, NULL},
290412  { (char *)"SwigPyIterator_advance", _wrap_SwigPyIterator_advance, METH_VARARGS, NULL},
290413  { (char *)"SwigPyIterator___eq__", _wrap_SwigPyIterator___eq__, METH_VARARGS, NULL},
290414  { (char *)"SwigPyIterator___ne__", _wrap_SwigPyIterator___ne__, METH_VARARGS, NULL},
290415  { (char *)"SwigPyIterator___iadd__", _wrap_SwigPyIterator___iadd__, METH_VARARGS, NULL},
290416  { (char *)"SwigPyIterator___isub__", _wrap_SwigPyIterator___isub__, METH_VARARGS, NULL},
290417  { (char *)"SwigPyIterator___add__", _wrap_SwigPyIterator___add__, METH_VARARGS, NULL},
290418  { (char *)"SwigPyIterator___sub__", _wrap_SwigPyIterator___sub__, METH_VARARGS, NULL},
290419  { (char *)"SwigPyIterator_swigregister", SwigPyIterator_swigregister, METH_VARARGS, NULL},
290420  { (char *)"SHARED_PTR_DISOWN_swigconstant", SHARED_PTR_DISOWN_swigconstant, METH_VARARGS, NULL},
290421  { (char *)"vector_string_iterator", _wrap_vector_string_iterator, METH_VARARGS, NULL},
290422  { (char *)"vector_string___nonzero__", _wrap_vector_string___nonzero__, METH_VARARGS, NULL},
290423  { (char *)"vector_string___bool__", _wrap_vector_string___bool__, METH_VARARGS, NULL},
290424  { (char *)"vector_string___len__", _wrap_vector_string___len__, METH_VARARGS, NULL},
290425  { (char *)"vector_string_pop", _wrap_vector_string_pop, METH_VARARGS, NULL},
290426  { (char *)"vector_string___getslice__", _wrap_vector_string___getslice__, METH_VARARGS, NULL},
290427  { (char *)"vector_string___setslice__", _wrap_vector_string___setslice__, METH_VARARGS, NULL},
290428  { (char *)"vector_string___delslice__", _wrap_vector_string___delslice__, METH_VARARGS, NULL},
290429  { (char *)"vector_string___delitem__", _wrap_vector_string___delitem__, METH_VARARGS, NULL},
290430  { (char *)"vector_string___getitem__", _wrap_vector_string___getitem__, METH_VARARGS, NULL},
290431  { (char *)"vector_string___setitem__", _wrap_vector_string___setitem__, METH_VARARGS, NULL},
290432  { (char *)"vector_string_append", _wrap_vector_string_append, METH_VARARGS, NULL},
290433  { (char *)"vector_string_empty", _wrap_vector_string_empty, METH_VARARGS, NULL},
290434  { (char *)"vector_string_size", _wrap_vector_string_size, METH_VARARGS, NULL},
290435  { (char *)"vector_string_clear", _wrap_vector_string_clear, METH_VARARGS, NULL},
290436  { (char *)"vector_string_swap", _wrap_vector_string_swap, METH_VARARGS, NULL},
290437  { (char *)"vector_string_get_allocator", _wrap_vector_string_get_allocator, METH_VARARGS, NULL},
290438  { (char *)"vector_string_begin", _wrap_vector_string_begin, METH_VARARGS, NULL},
290439  { (char *)"vector_string_end", _wrap_vector_string_end, METH_VARARGS, NULL},
290440  { (char *)"vector_string_rbegin", _wrap_vector_string_rbegin, METH_VARARGS, NULL},
290441  { (char *)"vector_string_rend", _wrap_vector_string_rend, METH_VARARGS, NULL},
290442  { (char *)"vector_string_pop_back", _wrap_vector_string_pop_back, METH_VARARGS, NULL},
290443  { (char *)"vector_string_erase", _wrap_vector_string_erase, METH_VARARGS, NULL},
290444  { (char *)"new_vector_string", _wrap_new_vector_string, METH_VARARGS, NULL},
290445  { (char *)"vector_string_push_back", _wrap_vector_string_push_back, METH_VARARGS, NULL},
290446  { (char *)"vector_string_front", _wrap_vector_string_front, METH_VARARGS, NULL},
290447  { (char *)"vector_string_back", _wrap_vector_string_back, METH_VARARGS, NULL},
290448  { (char *)"vector_string_assign", _wrap_vector_string_assign, METH_VARARGS, NULL},
290449  { (char *)"vector_string_resize", _wrap_vector_string_resize, METH_VARARGS, NULL},
290450  { (char *)"vector_string_insert", _wrap_vector_string_insert, METH_VARARGS, NULL},
290451  { (char *)"vector_string_reserve", _wrap_vector_string_reserve, METH_VARARGS, NULL},
290452  { (char *)"vector_string_capacity", _wrap_vector_string_capacity, METH_VARARGS, NULL},
290453  { (char *)"delete_vector_string", _wrap_delete_vector_string, METH_VARARGS, NULL},
290454  { (char *)"vector_string_swigregister", vector_string_swigregister, METH_VARARGS, NULL},
290455  { (char *)"vector_int_iterator", _wrap_vector_int_iterator, METH_VARARGS, NULL},
290456  { (char *)"vector_int___nonzero__", _wrap_vector_int___nonzero__, METH_VARARGS, NULL},
290457  { (char *)"vector_int___bool__", _wrap_vector_int___bool__, METH_VARARGS, NULL},
290458  { (char *)"vector_int___len__", _wrap_vector_int___len__, METH_VARARGS, NULL},
290459  { (char *)"vector_int_pop", _wrap_vector_int_pop, METH_VARARGS, NULL},
290460  { (char *)"vector_int___getslice__", _wrap_vector_int___getslice__, METH_VARARGS, NULL},
290461  { (char *)"vector_int___setslice__", _wrap_vector_int___setslice__, METH_VARARGS, NULL},
290462  { (char *)"vector_int___delslice__", _wrap_vector_int___delslice__, METH_VARARGS, NULL},
290463  { (char *)"vector_int___delitem__", _wrap_vector_int___delitem__, METH_VARARGS, NULL},
290464  { (char *)"vector_int___getitem__", _wrap_vector_int___getitem__, METH_VARARGS, NULL},
290465  { (char *)"vector_int___setitem__", _wrap_vector_int___setitem__, METH_VARARGS, NULL},
290466  { (char *)"vector_int_append", _wrap_vector_int_append, METH_VARARGS, NULL},
290467  { (char *)"vector_int_empty", _wrap_vector_int_empty, METH_VARARGS, NULL},
290468  { (char *)"vector_int_size", _wrap_vector_int_size, METH_VARARGS, NULL},
290469  { (char *)"vector_int_clear", _wrap_vector_int_clear, METH_VARARGS, NULL},
290470  { (char *)"vector_int_swap", _wrap_vector_int_swap, METH_VARARGS, NULL},
290471  { (char *)"vector_int_get_allocator", _wrap_vector_int_get_allocator, METH_VARARGS, NULL},
290472  { (char *)"vector_int_begin", _wrap_vector_int_begin, METH_VARARGS, NULL},
290473  { (char *)"vector_int_end", _wrap_vector_int_end, METH_VARARGS, NULL},
290474  { (char *)"vector_int_rbegin", _wrap_vector_int_rbegin, METH_VARARGS, NULL},
290475  { (char *)"vector_int_rend", _wrap_vector_int_rend, METH_VARARGS, NULL},
290476  { (char *)"vector_int_pop_back", _wrap_vector_int_pop_back, METH_VARARGS, NULL},
290477  { (char *)"vector_int_erase", _wrap_vector_int_erase, METH_VARARGS, NULL},
290478  { (char *)"new_vector_int", _wrap_new_vector_int, METH_VARARGS, NULL},
290479  { (char *)"vector_int_push_back", _wrap_vector_int_push_back, METH_VARARGS, NULL},
290480  { (char *)"vector_int_front", _wrap_vector_int_front, METH_VARARGS, NULL},
290481  { (char *)"vector_int_back", _wrap_vector_int_back, METH_VARARGS, NULL},
290482  { (char *)"vector_int_assign", _wrap_vector_int_assign, METH_VARARGS, NULL},
290483  { (char *)"vector_int_resize", _wrap_vector_int_resize, METH_VARARGS, NULL},
290484  { (char *)"vector_int_insert", _wrap_vector_int_insert, METH_VARARGS, NULL},
290485  { (char *)"vector_int_reserve", _wrap_vector_int_reserve, METH_VARARGS, NULL},
290486  { (char *)"vector_int_capacity", _wrap_vector_int_capacity, METH_VARARGS, NULL},
290487  { (char *)"delete_vector_int", _wrap_delete_vector_int, METH_VARARGS, NULL},
290488  { (char *)"vector_int_swigregister", vector_int_swigregister, METH_VARARGS, NULL},
290489  { (char *)"vector_long_iterator", _wrap_vector_long_iterator, METH_VARARGS, NULL},
290490  { (char *)"vector_long___nonzero__", _wrap_vector_long___nonzero__, METH_VARARGS, NULL},
290491  { (char *)"vector_long___bool__", _wrap_vector_long___bool__, METH_VARARGS, NULL},
290492  { (char *)"vector_long___len__", _wrap_vector_long___len__, METH_VARARGS, NULL},
290493  { (char *)"vector_long_pop", _wrap_vector_long_pop, METH_VARARGS, NULL},
290494  { (char *)"vector_long___getslice__", _wrap_vector_long___getslice__, METH_VARARGS, NULL},
290495  { (char *)"vector_long___setslice__", _wrap_vector_long___setslice__, METH_VARARGS, NULL},
290496  { (char *)"vector_long___delslice__", _wrap_vector_long___delslice__, METH_VARARGS, NULL},
290497  { (char *)"vector_long___delitem__", _wrap_vector_long___delitem__, METH_VARARGS, NULL},
290498  { (char *)"vector_long___getitem__", _wrap_vector_long___getitem__, METH_VARARGS, NULL},
290499  { (char *)"vector_long___setitem__", _wrap_vector_long___setitem__, METH_VARARGS, NULL},
290500  { (char *)"vector_long_append", _wrap_vector_long_append, METH_VARARGS, NULL},
290501  { (char *)"vector_long_empty", _wrap_vector_long_empty, METH_VARARGS, NULL},
290502  { (char *)"vector_long_size", _wrap_vector_long_size, METH_VARARGS, NULL},
290503  { (char *)"vector_long_clear", _wrap_vector_long_clear, METH_VARARGS, NULL},
290504  { (char *)"vector_long_swap", _wrap_vector_long_swap, METH_VARARGS, NULL},
290505  { (char *)"vector_long_get_allocator", _wrap_vector_long_get_allocator, METH_VARARGS, NULL},
290506  { (char *)"vector_long_begin", _wrap_vector_long_begin, METH_VARARGS, NULL},
290507  { (char *)"vector_long_end", _wrap_vector_long_end, METH_VARARGS, NULL},
290508  { (char *)"vector_long_rbegin", _wrap_vector_long_rbegin, METH_VARARGS, NULL},
290509  { (char *)"vector_long_rend", _wrap_vector_long_rend, METH_VARARGS, NULL},
290510  { (char *)"vector_long_pop_back", _wrap_vector_long_pop_back, METH_VARARGS, NULL},
290511  { (char *)"vector_long_erase", _wrap_vector_long_erase, METH_VARARGS, NULL},
290512  { (char *)"new_vector_long", _wrap_new_vector_long, METH_VARARGS, NULL},
290513  { (char *)"vector_long_push_back", _wrap_vector_long_push_back, METH_VARARGS, NULL},
290514  { (char *)"vector_long_front", _wrap_vector_long_front, METH_VARARGS, NULL},
290515  { (char *)"vector_long_back", _wrap_vector_long_back, METH_VARARGS, NULL},
290516  { (char *)"vector_long_assign", _wrap_vector_long_assign, METH_VARARGS, NULL},
290517  { (char *)"vector_long_resize", _wrap_vector_long_resize, METH_VARARGS, NULL},
290518  { (char *)"vector_long_insert", _wrap_vector_long_insert, METH_VARARGS, NULL},
290519  { (char *)"vector_long_reserve", _wrap_vector_long_reserve, METH_VARARGS, NULL},
290520  { (char *)"vector_long_capacity", _wrap_vector_long_capacity, METH_VARARGS, NULL},
290521  { (char *)"delete_vector_long", _wrap_delete_vector_long, METH_VARARGS, NULL},
290522  { (char *)"vector_long_swigregister", vector_long_swigregister, METH_VARARGS, NULL},
290523  { (char *)"vector_float_iterator", _wrap_vector_float_iterator, METH_VARARGS, NULL},
290524  { (char *)"vector_float___nonzero__", _wrap_vector_float___nonzero__, METH_VARARGS, NULL},
290525  { (char *)"vector_float___bool__", _wrap_vector_float___bool__, METH_VARARGS, NULL},
290526  { (char *)"vector_float___len__", _wrap_vector_float___len__, METH_VARARGS, NULL},
290527  { (char *)"vector_float_pop", _wrap_vector_float_pop, METH_VARARGS, NULL},
290528  { (char *)"vector_float___getslice__", _wrap_vector_float___getslice__, METH_VARARGS, NULL},
290529  { (char *)"vector_float___setslice__", _wrap_vector_float___setslice__, METH_VARARGS, NULL},
290530  { (char *)"vector_float___delslice__", _wrap_vector_float___delslice__, METH_VARARGS, NULL},
290531  { (char *)"vector_float___delitem__", _wrap_vector_float___delitem__, METH_VARARGS, NULL},
290532  { (char *)"vector_float___getitem__", _wrap_vector_float___getitem__, METH_VARARGS, NULL},
290533  { (char *)"vector_float___setitem__", _wrap_vector_float___setitem__, METH_VARARGS, NULL},
290534  { (char *)"vector_float_append", _wrap_vector_float_append, METH_VARARGS, NULL},
290535  { (char *)"vector_float_empty", _wrap_vector_float_empty, METH_VARARGS, NULL},
290536  { (char *)"vector_float_size", _wrap_vector_float_size, METH_VARARGS, NULL},
290537  { (char *)"vector_float_clear", _wrap_vector_float_clear, METH_VARARGS, NULL},
290538  { (char *)"vector_float_swap", _wrap_vector_float_swap, METH_VARARGS, NULL},
290539  { (char *)"vector_float_get_allocator", _wrap_vector_float_get_allocator, METH_VARARGS, NULL},
290540  { (char *)"vector_float_begin", _wrap_vector_float_begin, METH_VARARGS, NULL},
290541  { (char *)"vector_float_end", _wrap_vector_float_end, METH_VARARGS, NULL},
290542  { (char *)"vector_float_rbegin", _wrap_vector_float_rbegin, METH_VARARGS, NULL},
290543  { (char *)"vector_float_rend", _wrap_vector_float_rend, METH_VARARGS, NULL},
290544  { (char *)"vector_float_pop_back", _wrap_vector_float_pop_back, METH_VARARGS, NULL},
290545  { (char *)"vector_float_erase", _wrap_vector_float_erase, METH_VARARGS, NULL},
290546  { (char *)"new_vector_float", _wrap_new_vector_float, METH_VARARGS, NULL},
290547  { (char *)"vector_float_push_back", _wrap_vector_float_push_back, METH_VARARGS, NULL},
290548  { (char *)"vector_float_front", _wrap_vector_float_front, METH_VARARGS, NULL},
290549  { (char *)"vector_float_back", _wrap_vector_float_back, METH_VARARGS, NULL},
290550  { (char *)"vector_float_assign", _wrap_vector_float_assign, METH_VARARGS, NULL},
290551  { (char *)"vector_float_resize", _wrap_vector_float_resize, METH_VARARGS, NULL},
290552  { (char *)"vector_float_insert", _wrap_vector_float_insert, METH_VARARGS, NULL},
290553  { (char *)"vector_float_reserve", _wrap_vector_float_reserve, METH_VARARGS, NULL},
290554  { (char *)"vector_float_capacity", _wrap_vector_float_capacity, METH_VARARGS, NULL},
290555  { (char *)"delete_vector_float", _wrap_delete_vector_float, METH_VARARGS, NULL},
290556  { (char *)"vector_float_swigregister", vector_float_swigregister, METH_VARARGS, NULL},
290557  { (char *)"vector_double_iterator", _wrap_vector_double_iterator, METH_VARARGS, NULL},
290558  { (char *)"vector_double___nonzero__", _wrap_vector_double___nonzero__, METH_VARARGS, NULL},
290559  { (char *)"vector_double___bool__", _wrap_vector_double___bool__, METH_VARARGS, NULL},
290560  { (char *)"vector_double___len__", _wrap_vector_double___len__, METH_VARARGS, NULL},
290561  { (char *)"vector_double_pop", _wrap_vector_double_pop, METH_VARARGS, NULL},
290562  { (char *)"vector_double___getslice__", _wrap_vector_double___getslice__, METH_VARARGS, NULL},
290563  { (char *)"vector_double___setslice__", _wrap_vector_double___setslice__, METH_VARARGS, NULL},
290564  { (char *)"vector_double___delslice__", _wrap_vector_double___delslice__, METH_VARARGS, NULL},
290565  { (char *)"vector_double___delitem__", _wrap_vector_double___delitem__, METH_VARARGS, NULL},
290566  { (char *)"vector_double___getitem__", _wrap_vector_double___getitem__, METH_VARARGS, NULL},
290567  { (char *)"vector_double___setitem__", _wrap_vector_double___setitem__, METH_VARARGS, NULL},
290568  { (char *)"vector_double_append", _wrap_vector_double_append, METH_VARARGS, NULL},
290569  { (char *)"vector_double_empty", _wrap_vector_double_empty, METH_VARARGS, NULL},
290570  { (char *)"vector_double_size", _wrap_vector_double_size, METH_VARARGS, NULL},
290571  { (char *)"vector_double_clear", _wrap_vector_double_clear, METH_VARARGS, NULL},
290572  { (char *)"vector_double_swap", _wrap_vector_double_swap, METH_VARARGS, NULL},
290573  { (char *)"vector_double_get_allocator", _wrap_vector_double_get_allocator, METH_VARARGS, NULL},
290574  { (char *)"vector_double_begin", _wrap_vector_double_begin, METH_VARARGS, NULL},
290575  { (char *)"vector_double_end", _wrap_vector_double_end, METH_VARARGS, NULL},
290576  { (char *)"vector_double_rbegin", _wrap_vector_double_rbegin, METH_VARARGS, NULL},
290577  { (char *)"vector_double_rend", _wrap_vector_double_rend, METH_VARARGS, NULL},
290578  { (char *)"vector_double_pop_back", _wrap_vector_double_pop_back, METH_VARARGS, NULL},
290579  { (char *)"vector_double_erase", _wrap_vector_double_erase, METH_VARARGS, NULL},
290580  { (char *)"new_vector_double", _wrap_new_vector_double, METH_VARARGS, NULL},
290581  { (char *)"vector_double_push_back", _wrap_vector_double_push_back, METH_VARARGS, NULL},
290582  { (char *)"vector_double_front", _wrap_vector_double_front, METH_VARARGS, NULL},
290583  { (char *)"vector_double_back", _wrap_vector_double_back, METH_VARARGS, NULL},
290584  { (char *)"vector_double_assign", _wrap_vector_double_assign, METH_VARARGS, NULL},
290585  { (char *)"vector_double_resize", _wrap_vector_double_resize, METH_VARARGS, NULL},
290586  { (char *)"vector_double_insert", _wrap_vector_double_insert, METH_VARARGS, NULL},
290587  { (char *)"vector_double_reserve", _wrap_vector_double_reserve, METH_VARARGS, NULL},
290588  { (char *)"vector_double_capacity", _wrap_vector_double_capacity, METH_VARARGS, NULL},
290589  { (char *)"delete_vector_double", _wrap_delete_vector_double, METH_VARARGS, NULL},
290590  { (char *)"vector_double_swigregister", vector_double_swigregister, METH_VARARGS, NULL},
290591  { (char *)"vector_ActivatedItemPtr_iterator", _wrap_vector_ActivatedItemPtr_iterator, METH_VARARGS, NULL},
290592  { (char *)"vector_ActivatedItemPtr___nonzero__", _wrap_vector_ActivatedItemPtr___nonzero__, METH_VARARGS, NULL},
290593  { (char *)"vector_ActivatedItemPtr___bool__", _wrap_vector_ActivatedItemPtr___bool__, METH_VARARGS, NULL},
290594  { (char *)"vector_ActivatedItemPtr___len__", _wrap_vector_ActivatedItemPtr___len__, METH_VARARGS, NULL},
290595  { (char *)"vector_ActivatedItemPtr_pop", _wrap_vector_ActivatedItemPtr_pop, METH_VARARGS, NULL},
290596  { (char *)"vector_ActivatedItemPtr___getslice__", _wrap_vector_ActivatedItemPtr___getslice__, METH_VARARGS, NULL},
290597  { (char *)"vector_ActivatedItemPtr___setslice__", _wrap_vector_ActivatedItemPtr___setslice__, METH_VARARGS, NULL},
290598  { (char *)"vector_ActivatedItemPtr___delslice__", _wrap_vector_ActivatedItemPtr___delslice__, METH_VARARGS, NULL},
290599  { (char *)"vector_ActivatedItemPtr___delitem__", _wrap_vector_ActivatedItemPtr___delitem__, METH_VARARGS, NULL},
290600  { (char *)"vector_ActivatedItemPtr___getitem__", _wrap_vector_ActivatedItemPtr___getitem__, METH_VARARGS, NULL},
290601  { (char *)"vector_ActivatedItemPtr___setitem__", _wrap_vector_ActivatedItemPtr___setitem__, METH_VARARGS, NULL},
290602  { (char *)"vector_ActivatedItemPtr_append", _wrap_vector_ActivatedItemPtr_append, METH_VARARGS, NULL},
290603  { (char *)"vector_ActivatedItemPtr_empty", _wrap_vector_ActivatedItemPtr_empty, METH_VARARGS, NULL},
290604  { (char *)"vector_ActivatedItemPtr_size", _wrap_vector_ActivatedItemPtr_size, METH_VARARGS, NULL},
290605  { (char *)"vector_ActivatedItemPtr_clear", _wrap_vector_ActivatedItemPtr_clear, METH_VARARGS, NULL},
290606  { (char *)"vector_ActivatedItemPtr_swap", _wrap_vector_ActivatedItemPtr_swap, METH_VARARGS, NULL},
290607  { (char *)"vector_ActivatedItemPtr_get_allocator", _wrap_vector_ActivatedItemPtr_get_allocator, METH_VARARGS, NULL},
290608  { (char *)"vector_ActivatedItemPtr_begin", _wrap_vector_ActivatedItemPtr_begin, METH_VARARGS, NULL},
290609  { (char *)"vector_ActivatedItemPtr_end", _wrap_vector_ActivatedItemPtr_end, METH_VARARGS, NULL},
290610  { (char *)"vector_ActivatedItemPtr_rbegin", _wrap_vector_ActivatedItemPtr_rbegin, METH_VARARGS, NULL},
290611  { (char *)"vector_ActivatedItemPtr_rend", _wrap_vector_ActivatedItemPtr_rend, METH_VARARGS, NULL},
290612  { (char *)"vector_ActivatedItemPtr_pop_back", _wrap_vector_ActivatedItemPtr_pop_back, METH_VARARGS, NULL},
290613  { (char *)"vector_ActivatedItemPtr_erase", _wrap_vector_ActivatedItemPtr_erase, METH_VARARGS, NULL},
290614  { (char *)"new_vector_ActivatedItemPtr", _wrap_new_vector_ActivatedItemPtr, METH_VARARGS, NULL},
290615  { (char *)"vector_ActivatedItemPtr_push_back", _wrap_vector_ActivatedItemPtr_push_back, METH_VARARGS, NULL},
290616  { (char *)"vector_ActivatedItemPtr_front", _wrap_vector_ActivatedItemPtr_front, METH_VARARGS, NULL},
290617  { (char *)"vector_ActivatedItemPtr_back", _wrap_vector_ActivatedItemPtr_back, METH_VARARGS, NULL},
290618  { (char *)"vector_ActivatedItemPtr_assign", _wrap_vector_ActivatedItemPtr_assign, METH_VARARGS, NULL},
290619  { (char *)"vector_ActivatedItemPtr_resize", _wrap_vector_ActivatedItemPtr_resize, METH_VARARGS, NULL},
290620  { (char *)"vector_ActivatedItemPtr_insert", _wrap_vector_ActivatedItemPtr_insert, METH_VARARGS, NULL},
290621  { (char *)"vector_ActivatedItemPtr_reserve", _wrap_vector_ActivatedItemPtr_reserve, METH_VARARGS, NULL},
290622  { (char *)"vector_ActivatedItemPtr_capacity", _wrap_vector_ActivatedItemPtr_capacity, METH_VARARGS, NULL},
290623  { (char *)"delete_vector_ActivatedItemPtr", _wrap_delete_vector_ActivatedItemPtr, METH_VARARGS, NULL},
290624  { (char *)"vector_ActivatedItemPtr_swigregister", vector_ActivatedItemPtr_swigregister, METH_VARARGS, NULL},
290625  { (char *)"vector_AdapterPtr_iterator", _wrap_vector_AdapterPtr_iterator, METH_VARARGS, NULL},
290626  { (char *)"vector_AdapterPtr___nonzero__", _wrap_vector_AdapterPtr___nonzero__, METH_VARARGS, NULL},
290627  { (char *)"vector_AdapterPtr___bool__", _wrap_vector_AdapterPtr___bool__, METH_VARARGS, NULL},
290628  { (char *)"vector_AdapterPtr___len__", _wrap_vector_AdapterPtr___len__, METH_VARARGS, NULL},
290629  { (char *)"vector_AdapterPtr_pop", _wrap_vector_AdapterPtr_pop, METH_VARARGS, NULL},
290630  { (char *)"vector_AdapterPtr___getslice__", _wrap_vector_AdapterPtr___getslice__, METH_VARARGS, NULL},
290631  { (char *)"vector_AdapterPtr___setslice__", _wrap_vector_AdapterPtr___setslice__, METH_VARARGS, NULL},
290632  { (char *)"vector_AdapterPtr___delslice__", _wrap_vector_AdapterPtr___delslice__, METH_VARARGS, NULL},
290633  { (char *)"vector_AdapterPtr___delitem__", _wrap_vector_AdapterPtr___delitem__, METH_VARARGS, NULL},
290634  { (char *)"vector_AdapterPtr___getitem__", _wrap_vector_AdapterPtr___getitem__, METH_VARARGS, NULL},
290635  { (char *)"vector_AdapterPtr___setitem__", _wrap_vector_AdapterPtr___setitem__, METH_VARARGS, NULL},
290636  { (char *)"vector_AdapterPtr_append", _wrap_vector_AdapterPtr_append, METH_VARARGS, NULL},
290637  { (char *)"vector_AdapterPtr_empty", _wrap_vector_AdapterPtr_empty, METH_VARARGS, NULL},
290638  { (char *)"vector_AdapterPtr_size", _wrap_vector_AdapterPtr_size, METH_VARARGS, NULL},
290639  { (char *)"vector_AdapterPtr_clear", _wrap_vector_AdapterPtr_clear, METH_VARARGS, NULL},
290640  { (char *)"vector_AdapterPtr_swap", _wrap_vector_AdapterPtr_swap, METH_VARARGS, NULL},
290641  { (char *)"vector_AdapterPtr_get_allocator", _wrap_vector_AdapterPtr_get_allocator, METH_VARARGS, NULL},
290642  { (char *)"vector_AdapterPtr_begin", _wrap_vector_AdapterPtr_begin, METH_VARARGS, NULL},
290643  { (char *)"vector_AdapterPtr_end", _wrap_vector_AdapterPtr_end, METH_VARARGS, NULL},
290644  { (char *)"vector_AdapterPtr_rbegin", _wrap_vector_AdapterPtr_rbegin, METH_VARARGS, NULL},
290645  { (char *)"vector_AdapterPtr_rend", _wrap_vector_AdapterPtr_rend, METH_VARARGS, NULL},
290646  { (char *)"vector_AdapterPtr_pop_back", _wrap_vector_AdapterPtr_pop_back, METH_VARARGS, NULL},
290647  { (char *)"vector_AdapterPtr_erase", _wrap_vector_AdapterPtr_erase, METH_VARARGS, NULL},
290648  { (char *)"new_vector_AdapterPtr", _wrap_new_vector_AdapterPtr, METH_VARARGS, NULL},
290649  { (char *)"vector_AdapterPtr_push_back", _wrap_vector_AdapterPtr_push_back, METH_VARARGS, NULL},
290650  { (char *)"vector_AdapterPtr_front", _wrap_vector_AdapterPtr_front, METH_VARARGS, NULL},
290651  { (char *)"vector_AdapterPtr_back", _wrap_vector_AdapterPtr_back, METH_VARARGS, NULL},
290652  { (char *)"vector_AdapterPtr_assign", _wrap_vector_AdapterPtr_assign, METH_VARARGS, NULL},
290653  { (char *)"vector_AdapterPtr_resize", _wrap_vector_AdapterPtr_resize, METH_VARARGS, NULL},
290654  { (char *)"vector_AdapterPtr_insert", _wrap_vector_AdapterPtr_insert, METH_VARARGS, NULL},
290655  { (char *)"vector_AdapterPtr_reserve", _wrap_vector_AdapterPtr_reserve, METH_VARARGS, NULL},
290656  { (char *)"vector_AdapterPtr_capacity", _wrap_vector_AdapterPtr_capacity, METH_VARARGS, NULL},
290657  { (char *)"delete_vector_AdapterPtr", _wrap_delete_vector_AdapterPtr, METH_VARARGS, NULL},
290658  { (char *)"vector_AdapterPtr_swigregister", vector_AdapterPtr_swigregister, METH_VARARGS, NULL},
290659  { (char *)"vector_AttachmentPtr_iterator", _wrap_vector_AttachmentPtr_iterator, METH_VARARGS, NULL},
290660  { (char *)"vector_AttachmentPtr___nonzero__", _wrap_vector_AttachmentPtr___nonzero__, METH_VARARGS, NULL},
290661  { (char *)"vector_AttachmentPtr___bool__", _wrap_vector_AttachmentPtr___bool__, METH_VARARGS, NULL},
290662  { (char *)"vector_AttachmentPtr___len__", _wrap_vector_AttachmentPtr___len__, METH_VARARGS, NULL},
290663  { (char *)"vector_AttachmentPtr_pop", _wrap_vector_AttachmentPtr_pop, METH_VARARGS, NULL},
290664  { (char *)"vector_AttachmentPtr___getslice__", _wrap_vector_AttachmentPtr___getslice__, METH_VARARGS, NULL},
290665  { (char *)"vector_AttachmentPtr___setslice__", _wrap_vector_AttachmentPtr___setslice__, METH_VARARGS, NULL},
290666  { (char *)"vector_AttachmentPtr___delslice__", _wrap_vector_AttachmentPtr___delslice__, METH_VARARGS, NULL},
290667  { (char *)"vector_AttachmentPtr___delitem__", _wrap_vector_AttachmentPtr___delitem__, METH_VARARGS, NULL},
290668  { (char *)"vector_AttachmentPtr___getitem__", _wrap_vector_AttachmentPtr___getitem__, METH_VARARGS, NULL},
290669  { (char *)"vector_AttachmentPtr___setitem__", _wrap_vector_AttachmentPtr___setitem__, METH_VARARGS, NULL},
290670  { (char *)"vector_AttachmentPtr_append", _wrap_vector_AttachmentPtr_append, METH_VARARGS, NULL},
290671  { (char *)"vector_AttachmentPtr_empty", _wrap_vector_AttachmentPtr_empty, METH_VARARGS, NULL},
290672  { (char *)"vector_AttachmentPtr_size", _wrap_vector_AttachmentPtr_size, METH_VARARGS, NULL},
290673  { (char *)"vector_AttachmentPtr_clear", _wrap_vector_AttachmentPtr_clear, METH_VARARGS, NULL},
290674  { (char *)"vector_AttachmentPtr_swap", _wrap_vector_AttachmentPtr_swap, METH_VARARGS, NULL},
290675  { (char *)"vector_AttachmentPtr_get_allocator", _wrap_vector_AttachmentPtr_get_allocator, METH_VARARGS, NULL},
290676  { (char *)"vector_AttachmentPtr_begin", _wrap_vector_AttachmentPtr_begin, METH_VARARGS, NULL},
290677  { (char *)"vector_AttachmentPtr_end", _wrap_vector_AttachmentPtr_end, METH_VARARGS, NULL},
290678  { (char *)"vector_AttachmentPtr_rbegin", _wrap_vector_AttachmentPtr_rbegin, METH_VARARGS, NULL},
290679  { (char *)"vector_AttachmentPtr_rend", _wrap_vector_AttachmentPtr_rend, METH_VARARGS, NULL},
290680  { (char *)"vector_AttachmentPtr_pop_back", _wrap_vector_AttachmentPtr_pop_back, METH_VARARGS, NULL},
290681  { (char *)"vector_AttachmentPtr_erase", _wrap_vector_AttachmentPtr_erase, METH_VARARGS, NULL},
290682  { (char *)"new_vector_AttachmentPtr", _wrap_new_vector_AttachmentPtr, METH_VARARGS, NULL},
290683  { (char *)"vector_AttachmentPtr_push_back", _wrap_vector_AttachmentPtr_push_back, METH_VARARGS, NULL},
290684  { (char *)"vector_AttachmentPtr_front", _wrap_vector_AttachmentPtr_front, METH_VARARGS, NULL},
290685  { (char *)"vector_AttachmentPtr_back", _wrap_vector_AttachmentPtr_back, METH_VARARGS, NULL},
290686  { (char *)"vector_AttachmentPtr_assign", _wrap_vector_AttachmentPtr_assign, METH_VARARGS, NULL},
290687  { (char *)"vector_AttachmentPtr_resize", _wrap_vector_AttachmentPtr_resize, METH_VARARGS, NULL},
290688  { (char *)"vector_AttachmentPtr_insert", _wrap_vector_AttachmentPtr_insert, METH_VARARGS, NULL},
290689  { (char *)"vector_AttachmentPtr_reserve", _wrap_vector_AttachmentPtr_reserve, METH_VARARGS, NULL},
290690  { (char *)"vector_AttachmentPtr_capacity", _wrap_vector_AttachmentPtr_capacity, METH_VARARGS, NULL},
290691  { (char *)"delete_vector_AttachmentPtr", _wrap_delete_vector_AttachmentPtr, METH_VARARGS, NULL},
290692  { (char *)"vector_AttachmentPtr_swigregister", vector_AttachmentPtr_swigregister, METH_VARARGS, NULL},
290693  { (char *)"vector_BodyPartPtr_iterator", _wrap_vector_BodyPartPtr_iterator, METH_VARARGS, NULL},
290694  { (char *)"vector_BodyPartPtr___nonzero__", _wrap_vector_BodyPartPtr___nonzero__, METH_VARARGS, NULL},
290695  { (char *)"vector_BodyPartPtr___bool__", _wrap_vector_BodyPartPtr___bool__, METH_VARARGS, NULL},
290696  { (char *)"vector_BodyPartPtr___len__", _wrap_vector_BodyPartPtr___len__, METH_VARARGS, NULL},
290697  { (char *)"vector_BodyPartPtr_pop", _wrap_vector_BodyPartPtr_pop, METH_VARARGS, NULL},
290698  { (char *)"vector_BodyPartPtr___getslice__", _wrap_vector_BodyPartPtr___getslice__, METH_VARARGS, NULL},
290699  { (char *)"vector_BodyPartPtr___setslice__", _wrap_vector_BodyPartPtr___setslice__, METH_VARARGS, NULL},
290700  { (char *)"vector_BodyPartPtr___delslice__", _wrap_vector_BodyPartPtr___delslice__, METH_VARARGS, NULL},
290701  { (char *)"vector_BodyPartPtr___delitem__", _wrap_vector_BodyPartPtr___delitem__, METH_VARARGS, NULL},
290702  { (char *)"vector_BodyPartPtr___getitem__", _wrap_vector_BodyPartPtr___getitem__, METH_VARARGS, NULL},
290703  { (char *)"vector_BodyPartPtr___setitem__", _wrap_vector_BodyPartPtr___setitem__, METH_VARARGS, NULL},
290704  { (char *)"vector_BodyPartPtr_append", _wrap_vector_BodyPartPtr_append, METH_VARARGS, NULL},
290705  { (char *)"vector_BodyPartPtr_empty", _wrap_vector_BodyPartPtr_empty, METH_VARARGS, NULL},
290706  { (char *)"vector_BodyPartPtr_size", _wrap_vector_BodyPartPtr_size, METH_VARARGS, NULL},
290707  { (char *)"vector_BodyPartPtr_clear", _wrap_vector_BodyPartPtr_clear, METH_VARARGS, NULL},
290708  { (char *)"vector_BodyPartPtr_swap", _wrap_vector_BodyPartPtr_swap, METH_VARARGS, NULL},
290709  { (char *)"vector_BodyPartPtr_get_allocator", _wrap_vector_BodyPartPtr_get_allocator, METH_VARARGS, NULL},
290710  { (char *)"vector_BodyPartPtr_begin", _wrap_vector_BodyPartPtr_begin, METH_VARARGS, NULL},
290711  { (char *)"vector_BodyPartPtr_end", _wrap_vector_BodyPartPtr_end, METH_VARARGS, NULL},
290712  { (char *)"vector_BodyPartPtr_rbegin", _wrap_vector_BodyPartPtr_rbegin, METH_VARARGS, NULL},
290713  { (char *)"vector_BodyPartPtr_rend", _wrap_vector_BodyPartPtr_rend, METH_VARARGS, NULL},
290714  { (char *)"vector_BodyPartPtr_pop_back", _wrap_vector_BodyPartPtr_pop_back, METH_VARARGS, NULL},
290715  { (char *)"vector_BodyPartPtr_erase", _wrap_vector_BodyPartPtr_erase, METH_VARARGS, NULL},
290716  { (char *)"new_vector_BodyPartPtr", _wrap_new_vector_BodyPartPtr, METH_VARARGS, NULL},
290717  { (char *)"vector_BodyPartPtr_push_back", _wrap_vector_BodyPartPtr_push_back, METH_VARARGS, NULL},
290718  { (char *)"vector_BodyPartPtr_front", _wrap_vector_BodyPartPtr_front, METH_VARARGS, NULL},
290719  { (char *)"vector_BodyPartPtr_back", _wrap_vector_BodyPartPtr_back, METH_VARARGS, NULL},
290720  { (char *)"vector_BodyPartPtr_assign", _wrap_vector_BodyPartPtr_assign, METH_VARARGS, NULL},
290721  { (char *)"vector_BodyPartPtr_resize", _wrap_vector_BodyPartPtr_resize, METH_VARARGS, NULL},
290722  { (char *)"vector_BodyPartPtr_insert", _wrap_vector_BodyPartPtr_insert, METH_VARARGS, NULL},
290723  { (char *)"vector_BodyPartPtr_reserve", _wrap_vector_BodyPartPtr_reserve, METH_VARARGS, NULL},
290724  { (char *)"vector_BodyPartPtr_capacity", _wrap_vector_BodyPartPtr_capacity, METH_VARARGS, NULL},
290725  { (char *)"delete_vector_BodyPartPtr", _wrap_delete_vector_BodyPartPtr, METH_VARARGS, NULL},
290726  { (char *)"vector_BodyPartPtr_swigregister", vector_BodyPartPtr_swigregister, METH_VARARGS, NULL},
290727  { (char *)"vector_CollisionPairPtr_iterator", _wrap_vector_CollisionPairPtr_iterator, METH_VARARGS, NULL},
290728  { (char *)"vector_CollisionPairPtr___nonzero__", _wrap_vector_CollisionPairPtr___nonzero__, METH_VARARGS, NULL},
290729  { (char *)"vector_CollisionPairPtr___bool__", _wrap_vector_CollisionPairPtr___bool__, METH_VARARGS, NULL},
290730  { (char *)"vector_CollisionPairPtr___len__", _wrap_vector_CollisionPairPtr___len__, METH_VARARGS, NULL},
290731  { (char *)"vector_CollisionPairPtr_pop", _wrap_vector_CollisionPairPtr_pop, METH_VARARGS, NULL},
290732  { (char *)"vector_CollisionPairPtr___getslice__", _wrap_vector_CollisionPairPtr___getslice__, METH_VARARGS, NULL},
290733  { (char *)"vector_CollisionPairPtr___setslice__", _wrap_vector_CollisionPairPtr___setslice__, METH_VARARGS, NULL},
290734  { (char *)"vector_CollisionPairPtr___delslice__", _wrap_vector_CollisionPairPtr___delslice__, METH_VARARGS, NULL},
290735  { (char *)"vector_CollisionPairPtr___delitem__", _wrap_vector_CollisionPairPtr___delitem__, METH_VARARGS, NULL},
290736  { (char *)"vector_CollisionPairPtr___getitem__", _wrap_vector_CollisionPairPtr___getitem__, METH_VARARGS, NULL},
290737  { (char *)"vector_CollisionPairPtr___setitem__", _wrap_vector_CollisionPairPtr___setitem__, METH_VARARGS, NULL},
290738  { (char *)"vector_CollisionPairPtr_append", _wrap_vector_CollisionPairPtr_append, METH_VARARGS, NULL},
290739  { (char *)"vector_CollisionPairPtr_empty", _wrap_vector_CollisionPairPtr_empty, METH_VARARGS, NULL},
290740  { (char *)"vector_CollisionPairPtr_size", _wrap_vector_CollisionPairPtr_size, METH_VARARGS, NULL},
290741  { (char *)"vector_CollisionPairPtr_clear", _wrap_vector_CollisionPairPtr_clear, METH_VARARGS, NULL},
290742  { (char *)"vector_CollisionPairPtr_swap", _wrap_vector_CollisionPairPtr_swap, METH_VARARGS, NULL},
290743  { (char *)"vector_CollisionPairPtr_get_allocator", _wrap_vector_CollisionPairPtr_get_allocator, METH_VARARGS, NULL},
290744  { (char *)"vector_CollisionPairPtr_begin", _wrap_vector_CollisionPairPtr_begin, METH_VARARGS, NULL},
290745  { (char *)"vector_CollisionPairPtr_end", _wrap_vector_CollisionPairPtr_end, METH_VARARGS, NULL},
290746  { (char *)"vector_CollisionPairPtr_rbegin", _wrap_vector_CollisionPairPtr_rbegin, METH_VARARGS, NULL},
290747  { (char *)"vector_CollisionPairPtr_rend", _wrap_vector_CollisionPairPtr_rend, METH_VARARGS, NULL},
290748  { (char *)"vector_CollisionPairPtr_pop_back", _wrap_vector_CollisionPairPtr_pop_back, METH_VARARGS, NULL},
290749  { (char *)"vector_CollisionPairPtr_erase", _wrap_vector_CollisionPairPtr_erase, METH_VARARGS, NULL},
290750  { (char *)"new_vector_CollisionPairPtr", _wrap_new_vector_CollisionPairPtr, METH_VARARGS, NULL},
290751  { (char *)"vector_CollisionPairPtr_push_back", _wrap_vector_CollisionPairPtr_push_back, METH_VARARGS, NULL},
290752  { (char *)"vector_CollisionPairPtr_front", _wrap_vector_CollisionPairPtr_front, METH_VARARGS, NULL},
290753  { (char *)"vector_CollisionPairPtr_back", _wrap_vector_CollisionPairPtr_back, METH_VARARGS, NULL},
290754  { (char *)"vector_CollisionPairPtr_assign", _wrap_vector_CollisionPairPtr_assign, METH_VARARGS, NULL},
290755  { (char *)"vector_CollisionPairPtr_resize", _wrap_vector_CollisionPairPtr_resize, METH_VARARGS, NULL},
290756  { (char *)"vector_CollisionPairPtr_insert", _wrap_vector_CollisionPairPtr_insert, METH_VARARGS, NULL},
290757  { (char *)"vector_CollisionPairPtr_reserve", _wrap_vector_CollisionPairPtr_reserve, METH_VARARGS, NULL},
290758  { (char *)"vector_CollisionPairPtr_capacity", _wrap_vector_CollisionPairPtr_capacity, METH_VARARGS, NULL},
290759  { (char *)"delete_vector_CollisionPairPtr", _wrap_delete_vector_CollisionPairPtr, METH_VARARGS, NULL},
290760  { (char *)"vector_CollisionPairPtr_swigregister", vector_CollisionPairPtr_swigregister, METH_VARARGS, NULL},
290761  { (char *)"vector_CStdVariablePtr_iterator", _wrap_vector_CStdVariablePtr_iterator, METH_VARARGS, NULL},
290762  { (char *)"vector_CStdVariablePtr___nonzero__", _wrap_vector_CStdVariablePtr___nonzero__, METH_VARARGS, NULL},
290763  { (char *)"vector_CStdVariablePtr___bool__", _wrap_vector_CStdVariablePtr___bool__, METH_VARARGS, NULL},
290764  { (char *)"vector_CStdVariablePtr___len__", _wrap_vector_CStdVariablePtr___len__, METH_VARARGS, NULL},
290765  { (char *)"vector_CStdVariablePtr_pop", _wrap_vector_CStdVariablePtr_pop, METH_VARARGS, NULL},
290766  { (char *)"vector_CStdVariablePtr___getslice__", _wrap_vector_CStdVariablePtr___getslice__, METH_VARARGS, NULL},
290767  { (char *)"vector_CStdVariablePtr___setslice__", _wrap_vector_CStdVariablePtr___setslice__, METH_VARARGS, NULL},
290768  { (char *)"vector_CStdVariablePtr___delslice__", _wrap_vector_CStdVariablePtr___delslice__, METH_VARARGS, NULL},
290769  { (char *)"vector_CStdVariablePtr___delitem__", _wrap_vector_CStdVariablePtr___delitem__, METH_VARARGS, NULL},
290770  { (char *)"vector_CStdVariablePtr___getitem__", _wrap_vector_CStdVariablePtr___getitem__, METH_VARARGS, NULL},
290771  { (char *)"vector_CStdVariablePtr___setitem__", _wrap_vector_CStdVariablePtr___setitem__, METH_VARARGS, NULL},
290772  { (char *)"vector_CStdVariablePtr_append", _wrap_vector_CStdVariablePtr_append, METH_VARARGS, NULL},
290773  { (char *)"vector_CStdVariablePtr_empty", _wrap_vector_CStdVariablePtr_empty, METH_VARARGS, NULL},
290774  { (char *)"vector_CStdVariablePtr_size", _wrap_vector_CStdVariablePtr_size, METH_VARARGS, NULL},
290775  { (char *)"vector_CStdVariablePtr_clear", _wrap_vector_CStdVariablePtr_clear, METH_VARARGS, NULL},
290776  { (char *)"vector_CStdVariablePtr_swap", _wrap_vector_CStdVariablePtr_swap, METH_VARARGS, NULL},
290777  { (char *)"vector_CStdVariablePtr_get_allocator", _wrap_vector_CStdVariablePtr_get_allocator, METH_VARARGS, NULL},
290778  { (char *)"vector_CStdVariablePtr_begin", _wrap_vector_CStdVariablePtr_begin, METH_VARARGS, NULL},
290779  { (char *)"vector_CStdVariablePtr_end", _wrap_vector_CStdVariablePtr_end, METH_VARARGS, NULL},
290780  { (char *)"vector_CStdVariablePtr_rbegin", _wrap_vector_CStdVariablePtr_rbegin, METH_VARARGS, NULL},
290781  { (char *)"vector_CStdVariablePtr_rend", _wrap_vector_CStdVariablePtr_rend, METH_VARARGS, NULL},
290782  { (char *)"vector_CStdVariablePtr_pop_back", _wrap_vector_CStdVariablePtr_pop_back, METH_VARARGS, NULL},
290783  { (char *)"vector_CStdVariablePtr_erase", _wrap_vector_CStdVariablePtr_erase, METH_VARARGS, NULL},
290784  { (char *)"new_vector_CStdVariablePtr", _wrap_new_vector_CStdVariablePtr, METH_VARARGS, NULL},
290785  { (char *)"vector_CStdVariablePtr_push_back", _wrap_vector_CStdVariablePtr_push_back, METH_VARARGS, NULL},
290786  { (char *)"vector_CStdVariablePtr_front", _wrap_vector_CStdVariablePtr_front, METH_VARARGS, NULL},
290787  { (char *)"vector_CStdVariablePtr_back", _wrap_vector_CStdVariablePtr_back, METH_VARARGS, NULL},
290788  { (char *)"vector_CStdVariablePtr_assign", _wrap_vector_CStdVariablePtr_assign, METH_VARARGS, NULL},
290789  { (char *)"vector_CStdVariablePtr_resize", _wrap_vector_CStdVariablePtr_resize, METH_VARARGS, NULL},
290790  { (char *)"vector_CStdVariablePtr_insert", _wrap_vector_CStdVariablePtr_insert, METH_VARARGS, NULL},
290791  { (char *)"vector_CStdVariablePtr_reserve", _wrap_vector_CStdVariablePtr_reserve, METH_VARARGS, NULL},
290792  { (char *)"vector_CStdVariablePtr_capacity", _wrap_vector_CStdVariablePtr_capacity, METH_VARARGS, NULL},
290793  { (char *)"delete_vector_CStdVariablePtr", _wrap_delete_vector_CStdVariablePtr, METH_VARARGS, NULL},
290794  { (char *)"vector_CStdVariablePtr_swigregister", vector_CStdVariablePtr_swigregister, METH_VARARGS, NULL},
290795  { (char *)"vector_DataColumnPtr_iterator", _wrap_vector_DataColumnPtr_iterator, METH_VARARGS, NULL},
290796  { (char *)"vector_DataColumnPtr___nonzero__", _wrap_vector_DataColumnPtr___nonzero__, METH_VARARGS, NULL},
290797  { (char *)"vector_DataColumnPtr___bool__", _wrap_vector_DataColumnPtr___bool__, METH_VARARGS, NULL},
290798  { (char *)"vector_DataColumnPtr___len__", _wrap_vector_DataColumnPtr___len__, METH_VARARGS, NULL},
290799  { (char *)"vector_DataColumnPtr_pop", _wrap_vector_DataColumnPtr_pop, METH_VARARGS, NULL},
290800  { (char *)"vector_DataColumnPtr___getslice__", _wrap_vector_DataColumnPtr___getslice__, METH_VARARGS, NULL},
290801  { (char *)"vector_DataColumnPtr___setslice__", _wrap_vector_DataColumnPtr___setslice__, METH_VARARGS, NULL},
290802  { (char *)"vector_DataColumnPtr___delslice__", _wrap_vector_DataColumnPtr___delslice__, METH_VARARGS, NULL},
290803  { (char *)"vector_DataColumnPtr___delitem__", _wrap_vector_DataColumnPtr___delitem__, METH_VARARGS, NULL},
290804  { (char *)"vector_DataColumnPtr___getitem__", _wrap_vector_DataColumnPtr___getitem__, METH_VARARGS, NULL},
290805  { (char *)"vector_DataColumnPtr___setitem__", _wrap_vector_DataColumnPtr___setitem__, METH_VARARGS, NULL},
290806  { (char *)"vector_DataColumnPtr_append", _wrap_vector_DataColumnPtr_append, METH_VARARGS, NULL},
290807  { (char *)"vector_DataColumnPtr_empty", _wrap_vector_DataColumnPtr_empty, METH_VARARGS, NULL},
290808  { (char *)"vector_DataColumnPtr_size", _wrap_vector_DataColumnPtr_size, METH_VARARGS, NULL},
290809  { (char *)"vector_DataColumnPtr_clear", _wrap_vector_DataColumnPtr_clear, METH_VARARGS, NULL},
290810  { (char *)"vector_DataColumnPtr_swap", _wrap_vector_DataColumnPtr_swap, METH_VARARGS, NULL},
290811  { (char *)"vector_DataColumnPtr_get_allocator", _wrap_vector_DataColumnPtr_get_allocator, METH_VARARGS, NULL},
290812  { (char *)"vector_DataColumnPtr_begin", _wrap_vector_DataColumnPtr_begin, METH_VARARGS, NULL},
290813  { (char *)"vector_DataColumnPtr_end", _wrap_vector_DataColumnPtr_end, METH_VARARGS, NULL},
290814  { (char *)"vector_DataColumnPtr_rbegin", _wrap_vector_DataColumnPtr_rbegin, METH_VARARGS, NULL},
290815  { (char *)"vector_DataColumnPtr_rend", _wrap_vector_DataColumnPtr_rend, METH_VARARGS, NULL},
290816  { (char *)"vector_DataColumnPtr_pop_back", _wrap_vector_DataColumnPtr_pop_back, METH_VARARGS, NULL},
290817  { (char *)"vector_DataColumnPtr_erase", _wrap_vector_DataColumnPtr_erase, METH_VARARGS, NULL},
290818  { (char *)"new_vector_DataColumnPtr", _wrap_new_vector_DataColumnPtr, METH_VARARGS, NULL},
290819  { (char *)"vector_DataColumnPtr_push_back", _wrap_vector_DataColumnPtr_push_back, METH_VARARGS, NULL},
290820  { (char *)"vector_DataColumnPtr_front", _wrap_vector_DataColumnPtr_front, METH_VARARGS, NULL},
290821  { (char *)"vector_DataColumnPtr_back", _wrap_vector_DataColumnPtr_back, METH_VARARGS, NULL},
290822  { (char *)"vector_DataColumnPtr_assign", _wrap_vector_DataColumnPtr_assign, METH_VARARGS, NULL},
290823  { (char *)"vector_DataColumnPtr_resize", _wrap_vector_DataColumnPtr_resize, METH_VARARGS, NULL},
290824  { (char *)"vector_DataColumnPtr_insert", _wrap_vector_DataColumnPtr_insert, METH_VARARGS, NULL},
290825  { (char *)"vector_DataColumnPtr_reserve", _wrap_vector_DataColumnPtr_reserve, METH_VARARGS, NULL},
290826  { (char *)"vector_DataColumnPtr_capacity", _wrap_vector_DataColumnPtr_capacity, METH_VARARGS, NULL},
290827  { (char *)"delete_vector_DataColumnPtr", _wrap_delete_vector_DataColumnPtr, METH_VARARGS, NULL},
290828  { (char *)"vector_DataColumnPtr_swigregister", vector_DataColumnPtr_swigregister, METH_VARARGS, NULL},
290829  { (char *)"vector_HudItemPtr_iterator", _wrap_vector_HudItemPtr_iterator, METH_VARARGS, NULL},
290830  { (char *)"vector_HudItemPtr___nonzero__", _wrap_vector_HudItemPtr___nonzero__, METH_VARARGS, NULL},
290831  { (char *)"vector_HudItemPtr___bool__", _wrap_vector_HudItemPtr___bool__, METH_VARARGS, NULL},
290832  { (char *)"vector_HudItemPtr___len__", _wrap_vector_HudItemPtr___len__, METH_VARARGS, NULL},
290833  { (char *)"vector_HudItemPtr_pop", _wrap_vector_HudItemPtr_pop, METH_VARARGS, NULL},
290834  { (char *)"vector_HudItemPtr___getslice__", _wrap_vector_HudItemPtr___getslice__, METH_VARARGS, NULL},
290835  { (char *)"vector_HudItemPtr___setslice__", _wrap_vector_HudItemPtr___setslice__, METH_VARARGS, NULL},
290836  { (char *)"vector_HudItemPtr___delslice__", _wrap_vector_HudItemPtr___delslice__, METH_VARARGS, NULL},
290837  { (char *)"vector_HudItemPtr___delitem__", _wrap_vector_HudItemPtr___delitem__, METH_VARARGS, NULL},
290838  { (char *)"vector_HudItemPtr___getitem__", _wrap_vector_HudItemPtr___getitem__, METH_VARARGS, NULL},
290839  { (char *)"vector_HudItemPtr___setitem__", _wrap_vector_HudItemPtr___setitem__, METH_VARARGS, NULL},
290840  { (char *)"vector_HudItemPtr_append", _wrap_vector_HudItemPtr_append, METH_VARARGS, NULL},
290841  { (char *)"vector_HudItemPtr_empty", _wrap_vector_HudItemPtr_empty, METH_VARARGS, NULL},
290842  { (char *)"vector_HudItemPtr_size", _wrap_vector_HudItemPtr_size, METH_VARARGS, NULL},
290843  { (char *)"vector_HudItemPtr_clear", _wrap_vector_HudItemPtr_clear, METH_VARARGS, NULL},
290844  { (char *)"vector_HudItemPtr_swap", _wrap_vector_HudItemPtr_swap, METH_VARARGS, NULL},
290845  { (char *)"vector_HudItemPtr_get_allocator", _wrap_vector_HudItemPtr_get_allocator, METH_VARARGS, NULL},
290846  { (char *)"vector_HudItemPtr_begin", _wrap_vector_HudItemPtr_begin, METH_VARARGS, NULL},
290847  { (char *)"vector_HudItemPtr_end", _wrap_vector_HudItemPtr_end, METH_VARARGS, NULL},
290848  { (char *)"vector_HudItemPtr_rbegin", _wrap_vector_HudItemPtr_rbegin, METH_VARARGS, NULL},
290849  { (char *)"vector_HudItemPtr_rend", _wrap_vector_HudItemPtr_rend, METH_VARARGS, NULL},
290850  { (char *)"vector_HudItemPtr_pop_back", _wrap_vector_HudItemPtr_pop_back, METH_VARARGS, NULL},
290851  { (char *)"vector_HudItemPtr_erase", _wrap_vector_HudItemPtr_erase, METH_VARARGS, NULL},
290852  { (char *)"new_vector_HudItemPtr", _wrap_new_vector_HudItemPtr, METH_VARARGS, NULL},
290853  { (char *)"vector_HudItemPtr_push_back", _wrap_vector_HudItemPtr_push_back, METH_VARARGS, NULL},
290854  { (char *)"vector_HudItemPtr_front", _wrap_vector_HudItemPtr_front, METH_VARARGS, NULL},
290855  { (char *)"vector_HudItemPtr_back", _wrap_vector_HudItemPtr_back, METH_VARARGS, NULL},
290856  { (char *)"vector_HudItemPtr_assign", _wrap_vector_HudItemPtr_assign, METH_VARARGS, NULL},
290857  { (char *)"vector_HudItemPtr_resize", _wrap_vector_HudItemPtr_resize, METH_VARARGS, NULL},
290858  { (char *)"vector_HudItemPtr_insert", _wrap_vector_HudItemPtr_insert, METH_VARARGS, NULL},
290859  { (char *)"vector_HudItemPtr_reserve", _wrap_vector_HudItemPtr_reserve, METH_VARARGS, NULL},
290860  { (char *)"vector_HudItemPtr_capacity", _wrap_vector_HudItemPtr_capacity, METH_VARARGS, NULL},
290861  { (char *)"delete_vector_HudItemPtr", _wrap_delete_vector_HudItemPtr, METH_VARARGS, NULL},
290862  { (char *)"vector_HudItemPtr_swigregister", vector_HudItemPtr_swigregister, METH_VARARGS, NULL},
290863  { (char *)"vector_KeyFramePtr_iterator", _wrap_vector_KeyFramePtr_iterator, METH_VARARGS, NULL},
290864  { (char *)"vector_KeyFramePtr___nonzero__", _wrap_vector_KeyFramePtr___nonzero__, METH_VARARGS, NULL},
290865  { (char *)"vector_KeyFramePtr___bool__", _wrap_vector_KeyFramePtr___bool__, METH_VARARGS, NULL},
290866  { (char *)"vector_KeyFramePtr___len__", _wrap_vector_KeyFramePtr___len__, METH_VARARGS, NULL},
290867  { (char *)"vector_KeyFramePtr_pop", _wrap_vector_KeyFramePtr_pop, METH_VARARGS, NULL},
290868  { (char *)"vector_KeyFramePtr___getslice__", _wrap_vector_KeyFramePtr___getslice__, METH_VARARGS, NULL},
290869  { (char *)"vector_KeyFramePtr___setslice__", _wrap_vector_KeyFramePtr___setslice__, METH_VARARGS, NULL},
290870  { (char *)"vector_KeyFramePtr___delslice__", _wrap_vector_KeyFramePtr___delslice__, METH_VARARGS, NULL},
290871  { (char *)"vector_KeyFramePtr___delitem__", _wrap_vector_KeyFramePtr___delitem__, METH_VARARGS, NULL},
290872  { (char *)"vector_KeyFramePtr___getitem__", _wrap_vector_KeyFramePtr___getitem__, METH_VARARGS, NULL},
290873  { (char *)"vector_KeyFramePtr___setitem__", _wrap_vector_KeyFramePtr___setitem__, METH_VARARGS, NULL},
290874  { (char *)"vector_KeyFramePtr_append", _wrap_vector_KeyFramePtr_append, METH_VARARGS, NULL},
290875  { (char *)"vector_KeyFramePtr_empty", _wrap_vector_KeyFramePtr_empty, METH_VARARGS, NULL},
290876  { (char *)"vector_KeyFramePtr_size", _wrap_vector_KeyFramePtr_size, METH_VARARGS, NULL},
290877  { (char *)"vector_KeyFramePtr_clear", _wrap_vector_KeyFramePtr_clear, METH_VARARGS, NULL},
290878  { (char *)"vector_KeyFramePtr_swap", _wrap_vector_KeyFramePtr_swap, METH_VARARGS, NULL},
290879  { (char *)"vector_KeyFramePtr_get_allocator", _wrap_vector_KeyFramePtr_get_allocator, METH_VARARGS, NULL},
290880  { (char *)"vector_KeyFramePtr_begin", _wrap_vector_KeyFramePtr_begin, METH_VARARGS, NULL},
290881  { (char *)"vector_KeyFramePtr_end", _wrap_vector_KeyFramePtr_end, METH_VARARGS, NULL},
290882  { (char *)"vector_KeyFramePtr_rbegin", _wrap_vector_KeyFramePtr_rbegin, METH_VARARGS, NULL},
290883  { (char *)"vector_KeyFramePtr_rend", _wrap_vector_KeyFramePtr_rend, METH_VARARGS, NULL},
290884  { (char *)"vector_KeyFramePtr_pop_back", _wrap_vector_KeyFramePtr_pop_back, METH_VARARGS, NULL},
290885  { (char *)"vector_KeyFramePtr_erase", _wrap_vector_KeyFramePtr_erase, METH_VARARGS, NULL},
290886  { (char *)"new_vector_KeyFramePtr", _wrap_new_vector_KeyFramePtr, METH_VARARGS, NULL},
290887  { (char *)"vector_KeyFramePtr_push_back", _wrap_vector_KeyFramePtr_push_back, METH_VARARGS, NULL},
290888  { (char *)"vector_KeyFramePtr_front", _wrap_vector_KeyFramePtr_front, METH_VARARGS, NULL},
290889  { (char *)"vector_KeyFramePtr_back", _wrap_vector_KeyFramePtr_back, METH_VARARGS, NULL},
290890  { (char *)"vector_KeyFramePtr_assign", _wrap_vector_KeyFramePtr_assign, METH_VARARGS, NULL},
290891  { (char *)"vector_KeyFramePtr_resize", _wrap_vector_KeyFramePtr_resize, METH_VARARGS, NULL},
290892  { (char *)"vector_KeyFramePtr_insert", _wrap_vector_KeyFramePtr_insert, METH_VARARGS, NULL},
290893  { (char *)"vector_KeyFramePtr_reserve", _wrap_vector_KeyFramePtr_reserve, METH_VARARGS, NULL},
290894  { (char *)"vector_KeyFramePtr_capacity", _wrap_vector_KeyFramePtr_capacity, METH_VARARGS, NULL},
290895  { (char *)"delete_vector_KeyFramePtr", _wrap_delete_vector_KeyFramePtr, METH_VARARGS, NULL},
290896  { (char *)"vector_KeyFramePtr_swigregister", vector_KeyFramePtr_swigregister, METH_VARARGS, NULL},
290897  { (char *)"vector_LightPtr_iterator", _wrap_vector_LightPtr_iterator, METH_VARARGS, NULL},
290898  { (char *)"vector_LightPtr___nonzero__", _wrap_vector_LightPtr___nonzero__, METH_VARARGS, NULL},
290899  { (char *)"vector_LightPtr___bool__", _wrap_vector_LightPtr___bool__, METH_VARARGS, NULL},
290900  { (char *)"vector_LightPtr___len__", _wrap_vector_LightPtr___len__, METH_VARARGS, NULL},
290901  { (char *)"vector_LightPtr_pop", _wrap_vector_LightPtr_pop, METH_VARARGS, NULL},
290902  { (char *)"vector_LightPtr___getslice__", _wrap_vector_LightPtr___getslice__, METH_VARARGS, NULL},
290903  { (char *)"vector_LightPtr___setslice__", _wrap_vector_LightPtr___setslice__, METH_VARARGS, NULL},
290904  { (char *)"vector_LightPtr___delslice__", _wrap_vector_LightPtr___delslice__, METH_VARARGS, NULL},
290905  { (char *)"vector_LightPtr___delitem__", _wrap_vector_LightPtr___delitem__, METH_VARARGS, NULL},
290906  { (char *)"vector_LightPtr___getitem__", _wrap_vector_LightPtr___getitem__, METH_VARARGS, NULL},
290907  { (char *)"vector_LightPtr___setitem__", _wrap_vector_LightPtr___setitem__, METH_VARARGS, NULL},
290908  { (char *)"vector_LightPtr_append", _wrap_vector_LightPtr_append, METH_VARARGS, NULL},
290909  { (char *)"vector_LightPtr_empty", _wrap_vector_LightPtr_empty, METH_VARARGS, NULL},
290910  { (char *)"vector_LightPtr_size", _wrap_vector_LightPtr_size, METH_VARARGS, NULL},
290911  { (char *)"vector_LightPtr_clear", _wrap_vector_LightPtr_clear, METH_VARARGS, NULL},
290912  { (char *)"vector_LightPtr_swap", _wrap_vector_LightPtr_swap, METH_VARARGS, NULL},
290913  { (char *)"vector_LightPtr_get_allocator", _wrap_vector_LightPtr_get_allocator, METH_VARARGS, NULL},
290914  { (char *)"vector_LightPtr_begin", _wrap_vector_LightPtr_begin, METH_VARARGS, NULL},
290915  { (char *)"vector_LightPtr_end", _wrap_vector_LightPtr_end, METH_VARARGS, NULL},
290916  { (char *)"vector_LightPtr_rbegin", _wrap_vector_LightPtr_rbegin, METH_VARARGS, NULL},
290917  { (char *)"vector_LightPtr_rend", _wrap_vector_LightPtr_rend, METH_VARARGS, NULL},
290918  { (char *)"vector_LightPtr_pop_back", _wrap_vector_LightPtr_pop_back, METH_VARARGS, NULL},
290919  { (char *)"vector_LightPtr_erase", _wrap_vector_LightPtr_erase, METH_VARARGS, NULL},
290920  { (char *)"new_vector_LightPtr", _wrap_new_vector_LightPtr, METH_VARARGS, NULL},
290921  { (char *)"vector_LightPtr_push_back", _wrap_vector_LightPtr_push_back, METH_VARARGS, NULL},
290922  { (char *)"vector_LightPtr_front", _wrap_vector_LightPtr_front, METH_VARARGS, NULL},
290923  { (char *)"vector_LightPtr_back", _wrap_vector_LightPtr_back, METH_VARARGS, NULL},
290924  { (char *)"vector_LightPtr_assign", _wrap_vector_LightPtr_assign, METH_VARARGS, NULL},
290925  { (char *)"vector_LightPtr_resize", _wrap_vector_LightPtr_resize, METH_VARARGS, NULL},
290926  { (char *)"vector_LightPtr_insert", _wrap_vector_LightPtr_insert, METH_VARARGS, NULL},
290927  { (char *)"vector_LightPtr_reserve", _wrap_vector_LightPtr_reserve, METH_VARARGS, NULL},
290928  { (char *)"vector_LightPtr_capacity", _wrap_vector_LightPtr_capacity, METH_VARARGS, NULL},
290929  { (char *)"delete_vector_LightPtr", _wrap_delete_vector_LightPtr, METH_VARARGS, NULL},
290930  { (char *)"vector_LightPtr_swigregister", vector_LightPtr_swigregister, METH_VARARGS, NULL},
290931  { (char *)"vector_MaterialTypePtr_iterator", _wrap_vector_MaterialTypePtr_iterator, METH_VARARGS, NULL},
290932  { (char *)"vector_MaterialTypePtr___nonzero__", _wrap_vector_MaterialTypePtr___nonzero__, METH_VARARGS, NULL},
290933  { (char *)"vector_MaterialTypePtr___bool__", _wrap_vector_MaterialTypePtr___bool__, METH_VARARGS, NULL},
290934  { (char *)"vector_MaterialTypePtr___len__", _wrap_vector_MaterialTypePtr___len__, METH_VARARGS, NULL},
290935  { (char *)"vector_MaterialTypePtr_pop", _wrap_vector_MaterialTypePtr_pop, METH_VARARGS, NULL},
290936  { (char *)"vector_MaterialTypePtr___getslice__", _wrap_vector_MaterialTypePtr___getslice__, METH_VARARGS, NULL},
290937  { (char *)"vector_MaterialTypePtr___setslice__", _wrap_vector_MaterialTypePtr___setslice__, METH_VARARGS, NULL},
290938  { (char *)"vector_MaterialTypePtr___delslice__", _wrap_vector_MaterialTypePtr___delslice__, METH_VARARGS, NULL},
290939  { (char *)"vector_MaterialTypePtr___delitem__", _wrap_vector_MaterialTypePtr___delitem__, METH_VARARGS, NULL},
290940  { (char *)"vector_MaterialTypePtr___getitem__", _wrap_vector_MaterialTypePtr___getitem__, METH_VARARGS, NULL},
290941  { (char *)"vector_MaterialTypePtr___setitem__", _wrap_vector_MaterialTypePtr___setitem__, METH_VARARGS, NULL},
290942  { (char *)"vector_MaterialTypePtr_append", _wrap_vector_MaterialTypePtr_append, METH_VARARGS, NULL},
290943  { (char *)"vector_MaterialTypePtr_empty", _wrap_vector_MaterialTypePtr_empty, METH_VARARGS, NULL},
290944  { (char *)"vector_MaterialTypePtr_size", _wrap_vector_MaterialTypePtr_size, METH_VARARGS, NULL},
290945  { (char *)"vector_MaterialTypePtr_clear", _wrap_vector_MaterialTypePtr_clear, METH_VARARGS, NULL},
290946  { (char *)"vector_MaterialTypePtr_swap", _wrap_vector_MaterialTypePtr_swap, METH_VARARGS, NULL},
290947  { (char *)"vector_MaterialTypePtr_get_allocator", _wrap_vector_MaterialTypePtr_get_allocator, METH_VARARGS, NULL},
290948  { (char *)"vector_MaterialTypePtr_begin", _wrap_vector_MaterialTypePtr_begin, METH_VARARGS, NULL},
290949  { (char *)"vector_MaterialTypePtr_end", _wrap_vector_MaterialTypePtr_end, METH_VARARGS, NULL},
290950  { (char *)"vector_MaterialTypePtr_rbegin", _wrap_vector_MaterialTypePtr_rbegin, METH_VARARGS, NULL},
290951  { (char *)"vector_MaterialTypePtr_rend", _wrap_vector_MaterialTypePtr_rend, METH_VARARGS, NULL},
290952  { (char *)"vector_MaterialTypePtr_pop_back", _wrap_vector_MaterialTypePtr_pop_back, METH_VARARGS, NULL},
290953  { (char *)"vector_MaterialTypePtr_erase", _wrap_vector_MaterialTypePtr_erase, METH_VARARGS, NULL},
290954  { (char *)"new_vector_MaterialTypePtr", _wrap_new_vector_MaterialTypePtr, METH_VARARGS, NULL},
290955  { (char *)"vector_MaterialTypePtr_push_back", _wrap_vector_MaterialTypePtr_push_back, METH_VARARGS, NULL},
290956  { (char *)"vector_MaterialTypePtr_front", _wrap_vector_MaterialTypePtr_front, METH_VARARGS, NULL},
290957  { (char *)"vector_MaterialTypePtr_back", _wrap_vector_MaterialTypePtr_back, METH_VARARGS, NULL},
290958  { (char *)"vector_MaterialTypePtr_assign", _wrap_vector_MaterialTypePtr_assign, METH_VARARGS, NULL},
290959  { (char *)"vector_MaterialTypePtr_resize", _wrap_vector_MaterialTypePtr_resize, METH_VARARGS, NULL},
290960  { (char *)"vector_MaterialTypePtr_insert", _wrap_vector_MaterialTypePtr_insert, METH_VARARGS, NULL},
290961  { (char *)"vector_MaterialTypePtr_reserve", _wrap_vector_MaterialTypePtr_reserve, METH_VARARGS, NULL},
290962  { (char *)"vector_MaterialTypePtr_capacity", _wrap_vector_MaterialTypePtr_capacity, METH_VARARGS, NULL},
290963  { (char *)"delete_vector_MaterialTypePtr", _wrap_delete_vector_MaterialTypePtr, METH_VARARGS, NULL},
290964  { (char *)"vector_MaterialTypePtr_swigregister", vector_MaterialTypePtr_swigregister, METH_VARARGS, NULL},
290965  { (char *)"vector_ModuleThreadProcessorPtr_iterator", _wrap_vector_ModuleThreadProcessorPtr_iterator, METH_VARARGS, NULL},
290966  { (char *)"vector_ModuleThreadProcessorPtr___nonzero__", _wrap_vector_ModuleThreadProcessorPtr___nonzero__, METH_VARARGS, NULL},
290967  { (char *)"vector_ModuleThreadProcessorPtr___bool__", _wrap_vector_ModuleThreadProcessorPtr___bool__, METH_VARARGS, NULL},
290968  { (char *)"vector_ModuleThreadProcessorPtr___len__", _wrap_vector_ModuleThreadProcessorPtr___len__, METH_VARARGS, NULL},
290969  { (char *)"vector_ModuleThreadProcessorPtr_pop", _wrap_vector_ModuleThreadProcessorPtr_pop, METH_VARARGS, NULL},
290970  { (char *)"vector_ModuleThreadProcessorPtr___getslice__", _wrap_vector_ModuleThreadProcessorPtr___getslice__, METH_VARARGS, NULL},
290971  { (char *)"vector_ModuleThreadProcessorPtr___setslice__", _wrap_vector_ModuleThreadProcessorPtr___setslice__, METH_VARARGS, NULL},
290972  { (char *)"vector_ModuleThreadProcessorPtr___delslice__", _wrap_vector_ModuleThreadProcessorPtr___delslice__, METH_VARARGS, NULL},
290973  { (char *)"vector_ModuleThreadProcessorPtr___delitem__", _wrap_vector_ModuleThreadProcessorPtr___delitem__, METH_VARARGS, NULL},
290974  { (char *)"vector_ModuleThreadProcessorPtr___getitem__", _wrap_vector_ModuleThreadProcessorPtr___getitem__, METH_VARARGS, NULL},
290975  { (char *)"vector_ModuleThreadProcessorPtr___setitem__", _wrap_vector_ModuleThreadProcessorPtr___setitem__, METH_VARARGS, NULL},
290976  { (char *)"vector_ModuleThreadProcessorPtr_append", _wrap_vector_ModuleThreadProcessorPtr_append, METH_VARARGS, NULL},
290977  { (char *)"vector_ModuleThreadProcessorPtr_empty", _wrap_vector_ModuleThreadProcessorPtr_empty, METH_VARARGS, NULL},
290978  { (char *)"vector_ModuleThreadProcessorPtr_size", _wrap_vector_ModuleThreadProcessorPtr_size, METH_VARARGS, NULL},
290979  { (char *)"vector_ModuleThreadProcessorPtr_clear", _wrap_vector_ModuleThreadProcessorPtr_clear, METH_VARARGS, NULL},
290980  { (char *)"vector_ModuleThreadProcessorPtr_swap", _wrap_vector_ModuleThreadProcessorPtr_swap, METH_VARARGS, NULL},
290981  { (char *)"vector_ModuleThreadProcessorPtr_get_allocator", _wrap_vector_ModuleThreadProcessorPtr_get_allocator, METH_VARARGS, NULL},
290982  { (char *)"vector_ModuleThreadProcessorPtr_begin", _wrap_vector_ModuleThreadProcessorPtr_begin, METH_VARARGS, NULL},
290983  { (char *)"vector_ModuleThreadProcessorPtr_end", _wrap_vector_ModuleThreadProcessorPtr_end, METH_VARARGS, NULL},
290984  { (char *)"vector_ModuleThreadProcessorPtr_rbegin", _wrap_vector_ModuleThreadProcessorPtr_rbegin, METH_VARARGS, NULL},
290985  { (char *)"vector_ModuleThreadProcessorPtr_rend", _wrap_vector_ModuleThreadProcessorPtr_rend, METH_VARARGS, NULL},
290986  { (char *)"vector_ModuleThreadProcessorPtr_pop_back", _wrap_vector_ModuleThreadProcessorPtr_pop_back, METH_VARARGS, NULL},
290987  { (char *)"vector_ModuleThreadProcessorPtr_erase", _wrap_vector_ModuleThreadProcessorPtr_erase, METH_VARARGS, NULL},
290988  { (char *)"new_vector_ModuleThreadProcessorPtr", _wrap_new_vector_ModuleThreadProcessorPtr, METH_VARARGS, NULL},
290989  { (char *)"vector_ModuleThreadProcessorPtr_push_back", _wrap_vector_ModuleThreadProcessorPtr_push_back, METH_VARARGS, NULL},
290990  { (char *)"vector_ModuleThreadProcessorPtr_front", _wrap_vector_ModuleThreadProcessorPtr_front, METH_VARARGS, NULL},
290991  { (char *)"vector_ModuleThreadProcessorPtr_back", _wrap_vector_ModuleThreadProcessorPtr_back, METH_VARARGS, NULL},
290992  { (char *)"vector_ModuleThreadProcessorPtr_assign", _wrap_vector_ModuleThreadProcessorPtr_assign, METH_VARARGS, NULL},
290993  { (char *)"vector_ModuleThreadProcessorPtr_resize", _wrap_vector_ModuleThreadProcessorPtr_resize, METH_VARARGS, NULL},
290994  { (char *)"vector_ModuleThreadProcessorPtr_insert", _wrap_vector_ModuleThreadProcessorPtr_insert, METH_VARARGS, NULL},
290995  { (char *)"vector_ModuleThreadProcessorPtr_reserve", _wrap_vector_ModuleThreadProcessorPtr_reserve, METH_VARARGS, NULL},
290996  { (char *)"vector_ModuleThreadProcessorPtr_capacity", _wrap_vector_ModuleThreadProcessorPtr_capacity, METH_VARARGS, NULL},
290997  { (char *)"delete_vector_ModuleThreadProcessorPtr", _wrap_delete_vector_ModuleThreadProcessorPtr, METH_VARARGS, NULL},
290998  { (char *)"vector_ModuleThreadProcessorPtr_swigregister", vector_ModuleThreadProcessorPtr_swigregister, METH_VARARGS, NULL},
290999  { (char *)"vector_ReceptiveFieldPairPtr_iterator", _wrap_vector_ReceptiveFieldPairPtr_iterator, METH_VARARGS, NULL},
291000  { (char *)"vector_ReceptiveFieldPairPtr___nonzero__", _wrap_vector_ReceptiveFieldPairPtr___nonzero__, METH_VARARGS, NULL},
291001  { (char *)"vector_ReceptiveFieldPairPtr___bool__", _wrap_vector_ReceptiveFieldPairPtr___bool__, METH_VARARGS, NULL},
291002  { (char *)"vector_ReceptiveFieldPairPtr___len__", _wrap_vector_ReceptiveFieldPairPtr___len__, METH_VARARGS, NULL},
291003  { (char *)"vector_ReceptiveFieldPairPtr_pop", _wrap_vector_ReceptiveFieldPairPtr_pop, METH_VARARGS, NULL},
291004  { (char *)"vector_ReceptiveFieldPairPtr___getslice__", _wrap_vector_ReceptiveFieldPairPtr___getslice__, METH_VARARGS, NULL},
291005  { (char *)"vector_ReceptiveFieldPairPtr___setslice__", _wrap_vector_ReceptiveFieldPairPtr___setslice__, METH_VARARGS, NULL},
291006  { (char *)"vector_ReceptiveFieldPairPtr___delslice__", _wrap_vector_ReceptiveFieldPairPtr___delslice__, METH_VARARGS, NULL},
291007  { (char *)"vector_ReceptiveFieldPairPtr___delitem__", _wrap_vector_ReceptiveFieldPairPtr___delitem__, METH_VARARGS, NULL},
291008  { (char *)"vector_ReceptiveFieldPairPtr___getitem__", _wrap_vector_ReceptiveFieldPairPtr___getitem__, METH_VARARGS, NULL},
291009  { (char *)"vector_ReceptiveFieldPairPtr___setitem__", _wrap_vector_ReceptiveFieldPairPtr___setitem__, METH_VARARGS, NULL},
291010  { (char *)"vector_ReceptiveFieldPairPtr_append", _wrap_vector_ReceptiveFieldPairPtr_append, METH_VARARGS, NULL},
291011  { (char *)"vector_ReceptiveFieldPairPtr_empty", _wrap_vector_ReceptiveFieldPairPtr_empty, METH_VARARGS, NULL},
291012  { (char *)"vector_ReceptiveFieldPairPtr_size", _wrap_vector_ReceptiveFieldPairPtr_size, METH_VARARGS, NULL},
291013  { (char *)"vector_ReceptiveFieldPairPtr_clear", _wrap_vector_ReceptiveFieldPairPtr_clear, METH_VARARGS, NULL},
291014  { (char *)"vector_ReceptiveFieldPairPtr_swap", _wrap_vector_ReceptiveFieldPairPtr_swap, METH_VARARGS, NULL},
291015  { (char *)"vector_ReceptiveFieldPairPtr_get_allocator", _wrap_vector_ReceptiveFieldPairPtr_get_allocator, METH_VARARGS, NULL},
291016  { (char *)"vector_ReceptiveFieldPairPtr_begin", _wrap_vector_ReceptiveFieldPairPtr_begin, METH_VARARGS, NULL},
291017  { (char *)"vector_ReceptiveFieldPairPtr_end", _wrap_vector_ReceptiveFieldPairPtr_end, METH_VARARGS, NULL},
291018  { (char *)"vector_ReceptiveFieldPairPtr_rbegin", _wrap_vector_ReceptiveFieldPairPtr_rbegin, METH_VARARGS, NULL},
291019  { (char *)"vector_ReceptiveFieldPairPtr_rend", _wrap_vector_ReceptiveFieldPairPtr_rend, METH_VARARGS, NULL},
291020  { (char *)"vector_ReceptiveFieldPairPtr_pop_back", _wrap_vector_ReceptiveFieldPairPtr_pop_back, METH_VARARGS, NULL},
291021  { (char *)"vector_ReceptiveFieldPairPtr_erase", _wrap_vector_ReceptiveFieldPairPtr_erase, METH_VARARGS, NULL},
291022  { (char *)"new_vector_ReceptiveFieldPairPtr", _wrap_new_vector_ReceptiveFieldPairPtr, METH_VARARGS, NULL},
291023  { (char *)"vector_ReceptiveFieldPairPtr_push_back", _wrap_vector_ReceptiveFieldPairPtr_push_back, METH_VARARGS, NULL},
291024  { (char *)"vector_ReceptiveFieldPairPtr_front", _wrap_vector_ReceptiveFieldPairPtr_front, METH_VARARGS, NULL},
291025  { (char *)"vector_ReceptiveFieldPairPtr_back", _wrap_vector_ReceptiveFieldPairPtr_back, METH_VARARGS, NULL},
291026  { (char *)"vector_ReceptiveFieldPairPtr_assign", _wrap_vector_ReceptiveFieldPairPtr_assign, METH_VARARGS, NULL},
291027  { (char *)"vector_ReceptiveFieldPairPtr_resize", _wrap_vector_ReceptiveFieldPairPtr_resize, METH_VARARGS, NULL},
291028  { (char *)"vector_ReceptiveFieldPairPtr_insert", _wrap_vector_ReceptiveFieldPairPtr_insert, METH_VARARGS, NULL},
291029  { (char *)"vector_ReceptiveFieldPairPtr_reserve", _wrap_vector_ReceptiveFieldPairPtr_reserve, METH_VARARGS, NULL},
291030  { (char *)"vector_ReceptiveFieldPairPtr_capacity", _wrap_vector_ReceptiveFieldPairPtr_capacity, METH_VARARGS, NULL},
291031  { (char *)"delete_vector_ReceptiveFieldPairPtr", _wrap_delete_vector_ReceptiveFieldPairPtr, METH_VARARGS, NULL},
291032  { (char *)"vector_ReceptiveFieldPairPtr_swigregister", vector_ReceptiveFieldPairPtr_swigregister, METH_VARARGS, NULL},
291033  { (char *)"vector_ReceptiveFieldPtr_iterator", _wrap_vector_ReceptiveFieldPtr_iterator, METH_VARARGS, NULL},
291034  { (char *)"vector_ReceptiveFieldPtr___nonzero__", _wrap_vector_ReceptiveFieldPtr___nonzero__, METH_VARARGS, NULL},
291035  { (char *)"vector_ReceptiveFieldPtr___bool__", _wrap_vector_ReceptiveFieldPtr___bool__, METH_VARARGS, NULL},
291036  { (char *)"vector_ReceptiveFieldPtr___len__", _wrap_vector_ReceptiveFieldPtr___len__, METH_VARARGS, NULL},
291037  { (char *)"vector_ReceptiveFieldPtr_pop", _wrap_vector_ReceptiveFieldPtr_pop, METH_VARARGS, NULL},
291038  { (char *)"vector_ReceptiveFieldPtr___getslice__", _wrap_vector_ReceptiveFieldPtr___getslice__, METH_VARARGS, NULL},
291039  { (char *)"vector_ReceptiveFieldPtr___setslice__", _wrap_vector_ReceptiveFieldPtr___setslice__, METH_VARARGS, NULL},
291040  { (char *)"vector_ReceptiveFieldPtr___delslice__", _wrap_vector_ReceptiveFieldPtr___delslice__, METH_VARARGS, NULL},
291041  { (char *)"vector_ReceptiveFieldPtr___delitem__", _wrap_vector_ReceptiveFieldPtr___delitem__, METH_VARARGS, NULL},
291042  { (char *)"vector_ReceptiveFieldPtr___getitem__", _wrap_vector_ReceptiveFieldPtr___getitem__, METH_VARARGS, NULL},
291043  { (char *)"vector_ReceptiveFieldPtr___setitem__", _wrap_vector_ReceptiveFieldPtr___setitem__, METH_VARARGS, NULL},
291044  { (char *)"vector_ReceptiveFieldPtr_append", _wrap_vector_ReceptiveFieldPtr_append, METH_VARARGS, NULL},
291045  { (char *)"vector_ReceptiveFieldPtr_empty", _wrap_vector_ReceptiveFieldPtr_empty, METH_VARARGS, NULL},
291046  { (char *)"vector_ReceptiveFieldPtr_size", _wrap_vector_ReceptiveFieldPtr_size, METH_VARARGS, NULL},
291047  { (char *)"vector_ReceptiveFieldPtr_clear", _wrap_vector_ReceptiveFieldPtr_clear, METH_VARARGS, NULL},
291048  { (char *)"vector_ReceptiveFieldPtr_swap", _wrap_vector_ReceptiveFieldPtr_swap, METH_VARARGS, NULL},
291049  { (char *)"vector_ReceptiveFieldPtr_get_allocator", _wrap_vector_ReceptiveFieldPtr_get_allocator, METH_VARARGS, NULL},
291050  { (char *)"vector_ReceptiveFieldPtr_begin", _wrap_vector_ReceptiveFieldPtr_begin, METH_VARARGS, NULL},
291051  { (char *)"vector_ReceptiveFieldPtr_end", _wrap_vector_ReceptiveFieldPtr_end, METH_VARARGS, NULL},
291052  { (char *)"vector_ReceptiveFieldPtr_rbegin", _wrap_vector_ReceptiveFieldPtr_rbegin, METH_VARARGS, NULL},
291053  { (char *)"vector_ReceptiveFieldPtr_rend", _wrap_vector_ReceptiveFieldPtr_rend, METH_VARARGS, NULL},
291054  { (char *)"vector_ReceptiveFieldPtr_pop_back", _wrap_vector_ReceptiveFieldPtr_pop_back, METH_VARARGS, NULL},
291055  { (char *)"vector_ReceptiveFieldPtr_erase", _wrap_vector_ReceptiveFieldPtr_erase, METH_VARARGS, NULL},
291056  { (char *)"new_vector_ReceptiveFieldPtr", _wrap_new_vector_ReceptiveFieldPtr, METH_VARARGS, NULL},
291057  { (char *)"vector_ReceptiveFieldPtr_push_back", _wrap_vector_ReceptiveFieldPtr_push_back, METH_VARARGS, NULL},
291058  { (char *)"vector_ReceptiveFieldPtr_front", _wrap_vector_ReceptiveFieldPtr_front, METH_VARARGS, NULL},
291059  { (char *)"vector_ReceptiveFieldPtr_back", _wrap_vector_ReceptiveFieldPtr_back, METH_VARARGS, NULL},
291060  { (char *)"vector_ReceptiveFieldPtr_assign", _wrap_vector_ReceptiveFieldPtr_assign, METH_VARARGS, NULL},
291061  { (char *)"vector_ReceptiveFieldPtr_resize", _wrap_vector_ReceptiveFieldPtr_resize, METH_VARARGS, NULL},
291062  { (char *)"vector_ReceptiveFieldPtr_insert", _wrap_vector_ReceptiveFieldPtr_insert, METH_VARARGS, NULL},
291063  { (char *)"vector_ReceptiveFieldPtr_reserve", _wrap_vector_ReceptiveFieldPtr_reserve, METH_VARARGS, NULL},
291064  { (char *)"vector_ReceptiveFieldPtr_capacity", _wrap_vector_ReceptiveFieldPtr_capacity, METH_VARARGS, NULL},
291065  { (char *)"delete_vector_ReceptiveFieldPtr", _wrap_delete_vector_ReceptiveFieldPtr, METH_VARARGS, NULL},
291066  { (char *)"vector_ReceptiveFieldPtr_swigregister", vector_ReceptiveFieldPtr_swigregister, METH_VARARGS, NULL},
291067  { (char *)"vector_RigidBodyPtr_iterator", _wrap_vector_RigidBodyPtr_iterator, METH_VARARGS, NULL},
291068  { (char *)"vector_RigidBodyPtr___nonzero__", _wrap_vector_RigidBodyPtr___nonzero__, METH_VARARGS, NULL},
291069  { (char *)"vector_RigidBodyPtr___bool__", _wrap_vector_RigidBodyPtr___bool__, METH_VARARGS, NULL},
291070  { (char *)"vector_RigidBodyPtr___len__", _wrap_vector_RigidBodyPtr___len__, METH_VARARGS, NULL},
291071  { (char *)"vector_RigidBodyPtr_pop", _wrap_vector_RigidBodyPtr_pop, METH_VARARGS, NULL},
291072  { (char *)"vector_RigidBodyPtr___getslice__", _wrap_vector_RigidBodyPtr___getslice__, METH_VARARGS, NULL},
291073  { (char *)"vector_RigidBodyPtr___setslice__", _wrap_vector_RigidBodyPtr___setslice__, METH_VARARGS, NULL},
291074  { (char *)"vector_RigidBodyPtr___delslice__", _wrap_vector_RigidBodyPtr___delslice__, METH_VARARGS, NULL},
291075  { (char *)"vector_RigidBodyPtr___delitem__", _wrap_vector_RigidBodyPtr___delitem__, METH_VARARGS, NULL},
291076  { (char *)"vector_RigidBodyPtr___getitem__", _wrap_vector_RigidBodyPtr___getitem__, METH_VARARGS, NULL},
291077  { (char *)"vector_RigidBodyPtr___setitem__", _wrap_vector_RigidBodyPtr___setitem__, METH_VARARGS, NULL},
291078  { (char *)"vector_RigidBodyPtr_append", _wrap_vector_RigidBodyPtr_append, METH_VARARGS, NULL},
291079  { (char *)"vector_RigidBodyPtr_empty", _wrap_vector_RigidBodyPtr_empty, METH_VARARGS, NULL},
291080  { (char *)"vector_RigidBodyPtr_size", _wrap_vector_RigidBodyPtr_size, METH_VARARGS, NULL},
291081  { (char *)"vector_RigidBodyPtr_clear", _wrap_vector_RigidBodyPtr_clear, METH_VARARGS, NULL},
291082  { (char *)"vector_RigidBodyPtr_swap", _wrap_vector_RigidBodyPtr_swap, METH_VARARGS, NULL},
291083  { (char *)"vector_RigidBodyPtr_get_allocator", _wrap_vector_RigidBodyPtr_get_allocator, METH_VARARGS, NULL},
291084  { (char *)"vector_RigidBodyPtr_begin", _wrap_vector_RigidBodyPtr_begin, METH_VARARGS, NULL},
291085  { (char *)"vector_RigidBodyPtr_end", _wrap_vector_RigidBodyPtr_end, METH_VARARGS, NULL},
291086  { (char *)"vector_RigidBodyPtr_rbegin", _wrap_vector_RigidBodyPtr_rbegin, METH_VARARGS, NULL},
291087  { (char *)"vector_RigidBodyPtr_rend", _wrap_vector_RigidBodyPtr_rend, METH_VARARGS, NULL},
291088  { (char *)"vector_RigidBodyPtr_pop_back", _wrap_vector_RigidBodyPtr_pop_back, METH_VARARGS, NULL},
291089  { (char *)"vector_RigidBodyPtr_erase", _wrap_vector_RigidBodyPtr_erase, METH_VARARGS, NULL},
291090  { (char *)"new_vector_RigidBodyPtr", _wrap_new_vector_RigidBodyPtr, METH_VARARGS, NULL},
291091  { (char *)"vector_RigidBodyPtr_push_back", _wrap_vector_RigidBodyPtr_push_back, METH_VARARGS, NULL},
291092  { (char *)"vector_RigidBodyPtr_front", _wrap_vector_RigidBodyPtr_front, METH_VARARGS, NULL},
291093  { (char *)"vector_RigidBodyPtr_back", _wrap_vector_RigidBodyPtr_back, METH_VARARGS, NULL},
291094  { (char *)"vector_RigidBodyPtr_assign", _wrap_vector_RigidBodyPtr_assign, METH_VARARGS, NULL},
291095  { (char *)"vector_RigidBodyPtr_resize", _wrap_vector_RigidBodyPtr_resize, METH_VARARGS, NULL},
291096  { (char *)"vector_RigidBodyPtr_insert", _wrap_vector_RigidBodyPtr_insert, METH_VARARGS, NULL},
291097  { (char *)"vector_RigidBodyPtr_reserve", _wrap_vector_RigidBodyPtr_reserve, METH_VARARGS, NULL},
291098  { (char *)"vector_RigidBodyPtr_capacity", _wrap_vector_RigidBodyPtr_capacity, METH_VARARGS, NULL},
291099  { (char *)"delete_vector_RigidBodyPtr", _wrap_delete_vector_RigidBodyPtr, METH_VARARGS, NULL},
291100  { (char *)"vector_RigidBodyPtr_swigregister", vector_RigidBodyPtr_swigregister, METH_VARARGS, NULL},
291101  { (char *)"vector_RobotInterfacePtr_iterator", _wrap_vector_RobotInterfacePtr_iterator, METH_VARARGS, NULL},
291102  { (char *)"vector_RobotInterfacePtr___nonzero__", _wrap_vector_RobotInterfacePtr___nonzero__, METH_VARARGS, NULL},
291103  { (char *)"vector_RobotInterfacePtr___bool__", _wrap_vector_RobotInterfacePtr___bool__, METH_VARARGS, NULL},
291104  { (char *)"vector_RobotInterfacePtr___len__", _wrap_vector_RobotInterfacePtr___len__, METH_VARARGS, NULL},
291105  { (char *)"vector_RobotInterfacePtr_pop", _wrap_vector_RobotInterfacePtr_pop, METH_VARARGS, NULL},
291106  { (char *)"vector_RobotInterfacePtr___getslice__", _wrap_vector_RobotInterfacePtr___getslice__, METH_VARARGS, NULL},
291107  { (char *)"vector_RobotInterfacePtr___setslice__", _wrap_vector_RobotInterfacePtr___setslice__, METH_VARARGS, NULL},
291108  { (char *)"vector_RobotInterfacePtr___delslice__", _wrap_vector_RobotInterfacePtr___delslice__, METH_VARARGS, NULL},
291109  { (char *)"vector_RobotInterfacePtr___delitem__", _wrap_vector_RobotInterfacePtr___delitem__, METH_VARARGS, NULL},
291110  { (char *)"vector_RobotInterfacePtr___getitem__", _wrap_vector_RobotInterfacePtr___getitem__, METH_VARARGS, NULL},
291111  { (char *)"vector_RobotInterfacePtr___setitem__", _wrap_vector_RobotInterfacePtr___setitem__, METH_VARARGS, NULL},
291112  { (char *)"vector_RobotInterfacePtr_append", _wrap_vector_RobotInterfacePtr_append, METH_VARARGS, NULL},
291113  { (char *)"vector_RobotInterfacePtr_empty", _wrap_vector_RobotInterfacePtr_empty, METH_VARARGS, NULL},
291114  { (char *)"vector_RobotInterfacePtr_size", _wrap_vector_RobotInterfacePtr_size, METH_VARARGS, NULL},
291115  { (char *)"vector_RobotInterfacePtr_clear", _wrap_vector_RobotInterfacePtr_clear, METH_VARARGS, NULL},
291116  { (char *)"vector_RobotInterfacePtr_swap", _wrap_vector_RobotInterfacePtr_swap, METH_VARARGS, NULL},
291117  { (char *)"vector_RobotInterfacePtr_get_allocator", _wrap_vector_RobotInterfacePtr_get_allocator, METH_VARARGS, NULL},
291118  { (char *)"vector_RobotInterfacePtr_begin", _wrap_vector_RobotInterfacePtr_begin, METH_VARARGS, NULL},
291119  { (char *)"vector_RobotInterfacePtr_end", _wrap_vector_RobotInterfacePtr_end, METH_VARARGS, NULL},
291120  { (char *)"vector_RobotInterfacePtr_rbegin", _wrap_vector_RobotInterfacePtr_rbegin, METH_VARARGS, NULL},
291121  { (char *)"vector_RobotInterfacePtr_rend", _wrap_vector_RobotInterfacePtr_rend, METH_VARARGS, NULL},
291122  { (char *)"vector_RobotInterfacePtr_pop_back", _wrap_vector_RobotInterfacePtr_pop_back, METH_VARARGS, NULL},
291123  { (char *)"vector_RobotInterfacePtr_erase", _wrap_vector_RobotInterfacePtr_erase, METH_VARARGS, NULL},
291124  { (char *)"new_vector_RobotInterfacePtr", _wrap_new_vector_RobotInterfacePtr, METH_VARARGS, NULL},
291125  { (char *)"vector_RobotInterfacePtr_push_back", _wrap_vector_RobotInterfacePtr_push_back, METH_VARARGS, NULL},
291126  { (char *)"vector_RobotInterfacePtr_front", _wrap_vector_RobotInterfacePtr_front, METH_VARARGS, NULL},
291127  { (char *)"vector_RobotInterfacePtr_back", _wrap_vector_RobotInterfacePtr_back, METH_VARARGS, NULL},
291128  { (char *)"vector_RobotInterfacePtr_assign", _wrap_vector_RobotInterfacePtr_assign, METH_VARARGS, NULL},
291129  { (char *)"vector_RobotInterfacePtr_resize", _wrap_vector_RobotInterfacePtr_resize, METH_VARARGS, NULL},
291130  { (char *)"vector_RobotInterfacePtr_insert", _wrap_vector_RobotInterfacePtr_insert, METH_VARARGS, NULL},
291131  { (char *)"vector_RobotInterfacePtr_reserve", _wrap_vector_RobotInterfacePtr_reserve, METH_VARARGS, NULL},
291132  { (char *)"vector_RobotInterfacePtr_capacity", _wrap_vector_RobotInterfacePtr_capacity, METH_VARARGS, NULL},
291133  { (char *)"delete_vector_RobotInterfacePtr", _wrap_delete_vector_RobotInterfacePtr, METH_VARARGS, NULL},
291134  { (char *)"vector_RobotInterfacePtr_swigregister", vector_RobotInterfacePtr_swigregister, METH_VARARGS, NULL},
291135  { (char *)"vector_RobotIOControlPtr_iterator", _wrap_vector_RobotIOControlPtr_iterator, METH_VARARGS, NULL},
291136  { (char *)"vector_RobotIOControlPtr___nonzero__", _wrap_vector_RobotIOControlPtr___nonzero__, METH_VARARGS, NULL},
291137  { (char *)"vector_RobotIOControlPtr___bool__", _wrap_vector_RobotIOControlPtr___bool__, METH_VARARGS, NULL},
291138  { (char *)"vector_RobotIOControlPtr___len__", _wrap_vector_RobotIOControlPtr___len__, METH_VARARGS, NULL},
291139  { (char *)"vector_RobotIOControlPtr_pop", _wrap_vector_RobotIOControlPtr_pop, METH_VARARGS, NULL},
291140  { (char *)"vector_RobotIOControlPtr___getslice__", _wrap_vector_RobotIOControlPtr___getslice__, METH_VARARGS, NULL},
291141  { (char *)"vector_RobotIOControlPtr___setslice__", _wrap_vector_RobotIOControlPtr___setslice__, METH_VARARGS, NULL},
291142  { (char *)"vector_RobotIOControlPtr___delslice__", _wrap_vector_RobotIOControlPtr___delslice__, METH_VARARGS, NULL},
291143  { (char *)"vector_RobotIOControlPtr___delitem__", _wrap_vector_RobotIOControlPtr___delitem__, METH_VARARGS, NULL},
291144  { (char *)"vector_RobotIOControlPtr___getitem__", _wrap_vector_RobotIOControlPtr___getitem__, METH_VARARGS, NULL},
291145  { (char *)"vector_RobotIOControlPtr___setitem__", _wrap_vector_RobotIOControlPtr___setitem__, METH_VARARGS, NULL},
291146  { (char *)"vector_RobotIOControlPtr_append", _wrap_vector_RobotIOControlPtr_append, METH_VARARGS, NULL},
291147  { (char *)"vector_RobotIOControlPtr_empty", _wrap_vector_RobotIOControlPtr_empty, METH_VARARGS, NULL},
291148  { (char *)"vector_RobotIOControlPtr_size", _wrap_vector_RobotIOControlPtr_size, METH_VARARGS, NULL},
291149  { (char *)"vector_RobotIOControlPtr_clear", _wrap_vector_RobotIOControlPtr_clear, METH_VARARGS, NULL},
291150  { (char *)"vector_RobotIOControlPtr_swap", _wrap_vector_RobotIOControlPtr_swap, METH_VARARGS, NULL},
291151  { (char *)"vector_RobotIOControlPtr_get_allocator", _wrap_vector_RobotIOControlPtr_get_allocator, METH_VARARGS, NULL},
291152  { (char *)"vector_RobotIOControlPtr_begin", _wrap_vector_RobotIOControlPtr_begin, METH_VARARGS, NULL},
291153  { (char *)"vector_RobotIOControlPtr_end", _wrap_vector_RobotIOControlPtr_end, METH_VARARGS, NULL},
291154  { (char *)"vector_RobotIOControlPtr_rbegin", _wrap_vector_RobotIOControlPtr_rbegin, METH_VARARGS, NULL},
291155  { (char *)"vector_RobotIOControlPtr_rend", _wrap_vector_RobotIOControlPtr_rend, METH_VARARGS, NULL},
291156  { (char *)"vector_RobotIOControlPtr_pop_back", _wrap_vector_RobotIOControlPtr_pop_back, METH_VARARGS, NULL},
291157  { (char *)"vector_RobotIOControlPtr_erase", _wrap_vector_RobotIOControlPtr_erase, METH_VARARGS, NULL},
291158  { (char *)"new_vector_RobotIOControlPtr", _wrap_new_vector_RobotIOControlPtr, METH_VARARGS, NULL},
291159  { (char *)"vector_RobotIOControlPtr_push_back", _wrap_vector_RobotIOControlPtr_push_back, METH_VARARGS, NULL},
291160  { (char *)"vector_RobotIOControlPtr_front", _wrap_vector_RobotIOControlPtr_front, METH_VARARGS, NULL},
291161  { (char *)"vector_RobotIOControlPtr_back", _wrap_vector_RobotIOControlPtr_back, METH_VARARGS, NULL},
291162  { (char *)"vector_RobotIOControlPtr_assign", _wrap_vector_RobotIOControlPtr_assign, METH_VARARGS, NULL},
291163  { (char *)"vector_RobotIOControlPtr_resize", _wrap_vector_RobotIOControlPtr_resize, METH_VARARGS, NULL},
291164  { (char *)"vector_RobotIOControlPtr_insert", _wrap_vector_RobotIOControlPtr_insert, METH_VARARGS, NULL},
291165  { (char *)"vector_RobotIOControlPtr_reserve", _wrap_vector_RobotIOControlPtr_reserve, METH_VARARGS, NULL},
291166  { (char *)"vector_RobotIOControlPtr_capacity", _wrap_vector_RobotIOControlPtr_capacity, METH_VARARGS, NULL},
291167  { (char *)"delete_vector_RobotIOControlPtr", _wrap_delete_vector_RobotIOControlPtr, METH_VARARGS, NULL},
291168  { (char *)"vector_RobotIOControlPtr_swigregister", vector_RobotIOControlPtr_swigregister, METH_VARARGS, NULL},
291169  { (char *)"vector_RobotPartInterfacePtr_iterator", _wrap_vector_RobotPartInterfacePtr_iterator, METH_VARARGS, NULL},
291170  { (char *)"vector_RobotPartInterfacePtr___nonzero__", _wrap_vector_RobotPartInterfacePtr___nonzero__, METH_VARARGS, NULL},
291171  { (char *)"vector_RobotPartInterfacePtr___bool__", _wrap_vector_RobotPartInterfacePtr___bool__, METH_VARARGS, NULL},
291172  { (char *)"vector_RobotPartInterfacePtr___len__", _wrap_vector_RobotPartInterfacePtr___len__, METH_VARARGS, NULL},
291173  { (char *)"vector_RobotPartInterfacePtr_pop", _wrap_vector_RobotPartInterfacePtr_pop, METH_VARARGS, NULL},
291174  { (char *)"vector_RobotPartInterfacePtr___getslice__", _wrap_vector_RobotPartInterfacePtr___getslice__, METH_VARARGS, NULL},
291175  { (char *)"vector_RobotPartInterfacePtr___setslice__", _wrap_vector_RobotPartInterfacePtr___setslice__, METH_VARARGS, NULL},
291176  { (char *)"vector_RobotPartInterfacePtr___delslice__", _wrap_vector_RobotPartInterfacePtr___delslice__, METH_VARARGS, NULL},
291177  { (char *)"vector_RobotPartInterfacePtr___delitem__", _wrap_vector_RobotPartInterfacePtr___delitem__, METH_VARARGS, NULL},
291178  { (char *)"vector_RobotPartInterfacePtr___getitem__", _wrap_vector_RobotPartInterfacePtr___getitem__, METH_VARARGS, NULL},
291179  { (char *)"vector_RobotPartInterfacePtr___setitem__", _wrap_vector_RobotPartInterfacePtr___setitem__, METH_VARARGS, NULL},
291180  { (char *)"vector_RobotPartInterfacePtr_append", _wrap_vector_RobotPartInterfacePtr_append, METH_VARARGS, NULL},
291181  { (char *)"vector_RobotPartInterfacePtr_empty", _wrap_vector_RobotPartInterfacePtr_empty, METH_VARARGS, NULL},
291182  { (char *)"vector_RobotPartInterfacePtr_size", _wrap_vector_RobotPartInterfacePtr_size, METH_VARARGS, NULL},
291183  { (char *)"vector_RobotPartInterfacePtr_clear", _wrap_vector_RobotPartInterfacePtr_clear, METH_VARARGS, NULL},
291184  { (char *)"vector_RobotPartInterfacePtr_swap", _wrap_vector_RobotPartInterfacePtr_swap, METH_VARARGS, NULL},
291185  { (char *)"vector_RobotPartInterfacePtr_get_allocator", _wrap_vector_RobotPartInterfacePtr_get_allocator, METH_VARARGS, NULL},
291186  { (char *)"vector_RobotPartInterfacePtr_begin", _wrap_vector_RobotPartInterfacePtr_begin, METH_VARARGS, NULL},
291187  { (char *)"vector_RobotPartInterfacePtr_end", _wrap_vector_RobotPartInterfacePtr_end, METH_VARARGS, NULL},
291188  { (char *)"vector_RobotPartInterfacePtr_rbegin", _wrap_vector_RobotPartInterfacePtr_rbegin, METH_VARARGS, NULL},
291189  { (char *)"vector_RobotPartInterfacePtr_rend", _wrap_vector_RobotPartInterfacePtr_rend, METH_VARARGS, NULL},
291190  { (char *)"vector_RobotPartInterfacePtr_pop_back", _wrap_vector_RobotPartInterfacePtr_pop_back, METH_VARARGS, NULL},
291191  { (char *)"vector_RobotPartInterfacePtr_erase", _wrap_vector_RobotPartInterfacePtr_erase, METH_VARARGS, NULL},
291192  { (char *)"new_vector_RobotPartInterfacePtr", _wrap_new_vector_RobotPartInterfacePtr, METH_VARARGS, NULL},
291193  { (char *)"vector_RobotPartInterfacePtr_push_back", _wrap_vector_RobotPartInterfacePtr_push_back, METH_VARARGS, NULL},
291194  { (char *)"vector_RobotPartInterfacePtr_front", _wrap_vector_RobotPartInterfacePtr_front, METH_VARARGS, NULL},
291195  { (char *)"vector_RobotPartInterfacePtr_back", _wrap_vector_RobotPartInterfacePtr_back, METH_VARARGS, NULL},
291196  { (char *)"vector_RobotPartInterfacePtr_assign", _wrap_vector_RobotPartInterfacePtr_assign, METH_VARARGS, NULL},
291197  { (char *)"vector_RobotPartInterfacePtr_resize", _wrap_vector_RobotPartInterfacePtr_resize, METH_VARARGS, NULL},
291198  { (char *)"vector_RobotPartInterfacePtr_insert", _wrap_vector_RobotPartInterfacePtr_insert, METH_VARARGS, NULL},
291199  { (char *)"vector_RobotPartInterfacePtr_reserve", _wrap_vector_RobotPartInterfacePtr_reserve, METH_VARARGS, NULL},
291200  { (char *)"vector_RobotPartInterfacePtr_capacity", _wrap_vector_RobotPartInterfacePtr_capacity, METH_VARARGS, NULL},
291201  { (char *)"delete_vector_RobotPartInterfacePtr", _wrap_delete_vector_RobotPartInterfacePtr, METH_VARARGS, NULL},
291202  { (char *)"vector_RobotPartInterfacePtr_swigregister", vector_RobotPartInterfacePtr_swigregister, METH_VARARGS, NULL},
291203  { (char *)"vector_SimulationWindowPtr_iterator", _wrap_vector_SimulationWindowPtr_iterator, METH_VARARGS, NULL},
291204  { (char *)"vector_SimulationWindowPtr___nonzero__", _wrap_vector_SimulationWindowPtr___nonzero__, METH_VARARGS, NULL},
291205  { (char *)"vector_SimulationWindowPtr___bool__", _wrap_vector_SimulationWindowPtr___bool__, METH_VARARGS, NULL},
291206  { (char *)"vector_SimulationWindowPtr___len__", _wrap_vector_SimulationWindowPtr___len__, METH_VARARGS, NULL},
291207  { (char *)"vector_SimulationWindowPtr_pop", _wrap_vector_SimulationWindowPtr_pop, METH_VARARGS, NULL},
291208  { (char *)"vector_SimulationWindowPtr___getslice__", _wrap_vector_SimulationWindowPtr___getslice__, METH_VARARGS, NULL},
291209  { (char *)"vector_SimulationWindowPtr___setslice__", _wrap_vector_SimulationWindowPtr___setslice__, METH_VARARGS, NULL},
291210  { (char *)"vector_SimulationWindowPtr___delslice__", _wrap_vector_SimulationWindowPtr___delslice__, METH_VARARGS, NULL},
291211  { (char *)"vector_SimulationWindowPtr___delitem__", _wrap_vector_SimulationWindowPtr___delitem__, METH_VARARGS, NULL},
291212  { (char *)"vector_SimulationWindowPtr___getitem__", _wrap_vector_SimulationWindowPtr___getitem__, METH_VARARGS, NULL},
291213  { (char *)"vector_SimulationWindowPtr___setitem__", _wrap_vector_SimulationWindowPtr___setitem__, METH_VARARGS, NULL},
291214  { (char *)"vector_SimulationWindowPtr_append", _wrap_vector_SimulationWindowPtr_append, METH_VARARGS, NULL},
291215  { (char *)"vector_SimulationWindowPtr_empty", _wrap_vector_SimulationWindowPtr_empty, METH_VARARGS, NULL},
291216  { (char *)"vector_SimulationWindowPtr_size", _wrap_vector_SimulationWindowPtr_size, METH_VARARGS, NULL},
291217  { (char *)"vector_SimulationWindowPtr_clear", _wrap_vector_SimulationWindowPtr_clear, METH_VARARGS, NULL},
291218  { (char *)"vector_SimulationWindowPtr_swap", _wrap_vector_SimulationWindowPtr_swap, METH_VARARGS, NULL},
291219  { (char *)"vector_SimulationWindowPtr_get_allocator", _wrap_vector_SimulationWindowPtr_get_allocator, METH_VARARGS, NULL},
291220  { (char *)"vector_SimulationWindowPtr_begin", _wrap_vector_SimulationWindowPtr_begin, METH_VARARGS, NULL},
291221  { (char *)"vector_SimulationWindowPtr_end", _wrap_vector_SimulationWindowPtr_end, METH_VARARGS, NULL},
291222  { (char *)"vector_SimulationWindowPtr_rbegin", _wrap_vector_SimulationWindowPtr_rbegin, METH_VARARGS, NULL},
291223  { (char *)"vector_SimulationWindowPtr_rend", _wrap_vector_SimulationWindowPtr_rend, METH_VARARGS, NULL},
291224  { (char *)"vector_SimulationWindowPtr_pop_back", _wrap_vector_SimulationWindowPtr_pop_back, METH_VARARGS, NULL},
291225  { (char *)"vector_SimulationWindowPtr_erase", _wrap_vector_SimulationWindowPtr_erase, METH_VARARGS, NULL},
291226  { (char *)"new_vector_SimulationWindowPtr", _wrap_new_vector_SimulationWindowPtr, METH_VARARGS, NULL},
291227  { (char *)"vector_SimulationWindowPtr_push_back", _wrap_vector_SimulationWindowPtr_push_back, METH_VARARGS, NULL},
291228  { (char *)"vector_SimulationWindowPtr_front", _wrap_vector_SimulationWindowPtr_front, METH_VARARGS, NULL},
291229  { (char *)"vector_SimulationWindowPtr_back", _wrap_vector_SimulationWindowPtr_back, METH_VARARGS, NULL},
291230  { (char *)"vector_SimulationWindowPtr_assign", _wrap_vector_SimulationWindowPtr_assign, METH_VARARGS, NULL},
291231  { (char *)"vector_SimulationWindowPtr_resize", _wrap_vector_SimulationWindowPtr_resize, METH_VARARGS, NULL},
291232  { (char *)"vector_SimulationWindowPtr_insert", _wrap_vector_SimulationWindowPtr_insert, METH_VARARGS, NULL},
291233  { (char *)"vector_SimulationWindowPtr_reserve", _wrap_vector_SimulationWindowPtr_reserve, METH_VARARGS, NULL},
291234  { (char *)"vector_SimulationWindowPtr_capacity", _wrap_vector_SimulationWindowPtr_capacity, METH_VARARGS, NULL},
291235  { (char *)"delete_vector_SimulationWindowPtr", _wrap_delete_vector_SimulationWindowPtr, METH_VARARGS, NULL},
291236  { (char *)"vector_SimulationWindowPtr_swigregister", vector_SimulationWindowPtr_swigregister, METH_VARARGS, NULL},
291237  { (char *)"vector_TypePropertyPtr_iterator", _wrap_vector_TypePropertyPtr_iterator, METH_VARARGS, NULL},
291238  { (char *)"vector_TypePropertyPtr___nonzero__", _wrap_vector_TypePropertyPtr___nonzero__, METH_VARARGS, NULL},
291239  { (char *)"vector_TypePropertyPtr___bool__", _wrap_vector_TypePropertyPtr___bool__, METH_VARARGS, NULL},
291240  { (char *)"vector_TypePropertyPtr___len__", _wrap_vector_TypePropertyPtr___len__, METH_VARARGS, NULL},
291241  { (char *)"vector_TypePropertyPtr_pop", _wrap_vector_TypePropertyPtr_pop, METH_VARARGS, NULL},
291242  { (char *)"vector_TypePropertyPtr___getslice__", _wrap_vector_TypePropertyPtr___getslice__, METH_VARARGS, NULL},
291243  { (char *)"vector_TypePropertyPtr___setslice__", _wrap_vector_TypePropertyPtr___setslice__, METH_VARARGS, NULL},
291244  { (char *)"vector_TypePropertyPtr___delslice__", _wrap_vector_TypePropertyPtr___delslice__, METH_VARARGS, NULL},
291245  { (char *)"vector_TypePropertyPtr___delitem__", _wrap_vector_TypePropertyPtr___delitem__, METH_VARARGS, NULL},
291246  { (char *)"vector_TypePropertyPtr___getitem__", _wrap_vector_TypePropertyPtr___getitem__, METH_VARARGS, NULL},
291247  { (char *)"vector_TypePropertyPtr___setitem__", _wrap_vector_TypePropertyPtr___setitem__, METH_VARARGS, NULL},
291248  { (char *)"vector_TypePropertyPtr_append", _wrap_vector_TypePropertyPtr_append, METH_VARARGS, NULL},
291249  { (char *)"vector_TypePropertyPtr_empty", _wrap_vector_TypePropertyPtr_empty, METH_VARARGS, NULL},
291250  { (char *)"vector_TypePropertyPtr_size", _wrap_vector_TypePropertyPtr_size, METH_VARARGS, NULL},
291251  { (char *)"vector_TypePropertyPtr_clear", _wrap_vector_TypePropertyPtr_clear, METH_VARARGS, NULL},
291252  { (char *)"vector_TypePropertyPtr_swap", _wrap_vector_TypePropertyPtr_swap, METH_VARARGS, NULL},
291253  { (char *)"vector_TypePropertyPtr_get_allocator", _wrap_vector_TypePropertyPtr_get_allocator, METH_VARARGS, NULL},
291254  { (char *)"vector_TypePropertyPtr_begin", _wrap_vector_TypePropertyPtr_begin, METH_VARARGS, NULL},
291255  { (char *)"vector_TypePropertyPtr_end", _wrap_vector_TypePropertyPtr_end, METH_VARARGS, NULL},
291256  { (char *)"vector_TypePropertyPtr_rbegin", _wrap_vector_TypePropertyPtr_rbegin, METH_VARARGS, NULL},
291257  { (char *)"vector_TypePropertyPtr_rend", _wrap_vector_TypePropertyPtr_rend, METH_VARARGS, NULL},
291258  { (char *)"vector_TypePropertyPtr_pop_back", _wrap_vector_TypePropertyPtr_pop_back, METH_VARARGS, NULL},
291259  { (char *)"vector_TypePropertyPtr_erase", _wrap_vector_TypePropertyPtr_erase, METH_VARARGS, NULL},
291260  { (char *)"new_vector_TypePropertyPtr", _wrap_new_vector_TypePropertyPtr, METH_VARARGS, NULL},
291261  { (char *)"vector_TypePropertyPtr_push_back", _wrap_vector_TypePropertyPtr_push_back, METH_VARARGS, NULL},
291262  { (char *)"vector_TypePropertyPtr_front", _wrap_vector_TypePropertyPtr_front, METH_VARARGS, NULL},
291263  { (char *)"vector_TypePropertyPtr_back", _wrap_vector_TypePropertyPtr_back, METH_VARARGS, NULL},
291264  { (char *)"vector_TypePropertyPtr_assign", _wrap_vector_TypePropertyPtr_assign, METH_VARARGS, NULL},
291265  { (char *)"vector_TypePropertyPtr_resize", _wrap_vector_TypePropertyPtr_resize, METH_VARARGS, NULL},
291266  { (char *)"vector_TypePropertyPtr_insert", _wrap_vector_TypePropertyPtr_insert, METH_VARARGS, NULL},
291267  { (char *)"vector_TypePropertyPtr_reserve", _wrap_vector_TypePropertyPtr_reserve, METH_VARARGS, NULL},
291268  { (char *)"vector_TypePropertyPtr_capacity", _wrap_vector_TypePropertyPtr_capacity, METH_VARARGS, NULL},
291269  { (char *)"delete_vector_TypePropertyPtr", _wrap_delete_vector_TypePropertyPtr, METH_VARARGS, NULL},
291270  { (char *)"vector_TypePropertyPtr_swigregister", vector_TypePropertyPtr_swigregister, METH_VARARGS, NULL},
291271  { (char *)"vector_SimulationThread_iterator", _wrap_vector_SimulationThread_iterator, METH_VARARGS, NULL},
291272  { (char *)"vector_SimulationThread___nonzero__", _wrap_vector_SimulationThread___nonzero__, METH_VARARGS, NULL},
291273  { (char *)"vector_SimulationThread___bool__", _wrap_vector_SimulationThread___bool__, METH_VARARGS, NULL},
291274  { (char *)"vector_SimulationThread___len__", _wrap_vector_SimulationThread___len__, METH_VARARGS, NULL},
291275  { (char *)"vector_SimulationThread_pop", _wrap_vector_SimulationThread_pop, METH_VARARGS, NULL},
291276  { (char *)"vector_SimulationThread___getslice__", _wrap_vector_SimulationThread___getslice__, METH_VARARGS, NULL},
291277  { (char *)"vector_SimulationThread___setslice__", _wrap_vector_SimulationThread___setslice__, METH_VARARGS, NULL},
291278  { (char *)"vector_SimulationThread___delslice__", _wrap_vector_SimulationThread___delslice__, METH_VARARGS, NULL},
291279  { (char *)"vector_SimulationThread___delitem__", _wrap_vector_SimulationThread___delitem__, METH_VARARGS, NULL},
291280  { (char *)"vector_SimulationThread___getitem__", _wrap_vector_SimulationThread___getitem__, METH_VARARGS, NULL},
291281  { (char *)"vector_SimulationThread___setitem__", _wrap_vector_SimulationThread___setitem__, METH_VARARGS, NULL},
291282  { (char *)"vector_SimulationThread_append", _wrap_vector_SimulationThread_append, METH_VARARGS, NULL},
291283  { (char *)"vector_SimulationThread_empty", _wrap_vector_SimulationThread_empty, METH_VARARGS, NULL},
291284  { (char *)"vector_SimulationThread_size", _wrap_vector_SimulationThread_size, METH_VARARGS, NULL},
291285  { (char *)"vector_SimulationThread_clear", _wrap_vector_SimulationThread_clear, METH_VARARGS, NULL},
291286  { (char *)"vector_SimulationThread_swap", _wrap_vector_SimulationThread_swap, METH_VARARGS, NULL},
291287  { (char *)"vector_SimulationThread_get_allocator", _wrap_vector_SimulationThread_get_allocator, METH_VARARGS, NULL},
291288  { (char *)"vector_SimulationThread_begin", _wrap_vector_SimulationThread_begin, METH_VARARGS, NULL},
291289  { (char *)"vector_SimulationThread_end", _wrap_vector_SimulationThread_end, METH_VARARGS, NULL},
291290  { (char *)"vector_SimulationThread_rbegin", _wrap_vector_SimulationThread_rbegin, METH_VARARGS, NULL},
291291  { (char *)"vector_SimulationThread_rend", _wrap_vector_SimulationThread_rend, METH_VARARGS, NULL},
291292  { (char *)"vector_SimulationThread_pop_back", _wrap_vector_SimulationThread_pop_back, METH_VARARGS, NULL},
291293  { (char *)"vector_SimulationThread_erase", _wrap_vector_SimulationThread_erase, METH_VARARGS, NULL},
291294  { (char *)"new_vector_SimulationThread", _wrap_new_vector_SimulationThread, METH_VARARGS, NULL},
291295  { (char *)"vector_SimulationThread_push_back", _wrap_vector_SimulationThread_push_back, METH_VARARGS, NULL},
291296  { (char *)"vector_SimulationThread_front", _wrap_vector_SimulationThread_front, METH_VARARGS, NULL},
291297  { (char *)"vector_SimulationThread_back", _wrap_vector_SimulationThread_back, METH_VARARGS, NULL},
291298  { (char *)"vector_SimulationThread_assign", _wrap_vector_SimulationThread_assign, METH_VARARGS, NULL},
291299  { (char *)"vector_SimulationThread_resize", _wrap_vector_SimulationThread_resize, METH_VARARGS, NULL},
291300  { (char *)"vector_SimulationThread_insert", _wrap_vector_SimulationThread_insert, METH_VARARGS, NULL},
291301  { (char *)"vector_SimulationThread_reserve", _wrap_vector_SimulationThread_reserve, METH_VARARGS, NULL},
291302  { (char *)"vector_SimulationThread_capacity", _wrap_vector_SimulationThread_capacity, METH_VARARGS, NULL},
291303  { (char *)"delete_vector_SimulationThread", _wrap_delete_vector_SimulationThread, METH_VARARGS, NULL},
291304  { (char *)"vector_SimulationThread_swigregister", vector_SimulationThread_swigregister, METH_VARARGS, NULL},
291305  { (char *)"vector_Synapse_iterator", _wrap_vector_Synapse_iterator, METH_VARARGS, NULL},
291306  { (char *)"vector_Synapse___nonzero__", _wrap_vector_Synapse___nonzero__, METH_VARARGS, NULL},
291307  { (char *)"vector_Synapse___bool__", _wrap_vector_Synapse___bool__, METH_VARARGS, NULL},
291308  { (char *)"vector_Synapse___len__", _wrap_vector_Synapse___len__, METH_VARARGS, NULL},
291309  { (char *)"vector_Synapse_pop", _wrap_vector_Synapse_pop, METH_VARARGS, NULL},
291310  { (char *)"vector_Synapse___getslice__", _wrap_vector_Synapse___getslice__, METH_VARARGS, NULL},
291311  { (char *)"vector_Synapse___setslice__", _wrap_vector_Synapse___setslice__, METH_VARARGS, NULL},
291312  { (char *)"vector_Synapse___delslice__", _wrap_vector_Synapse___delslice__, METH_VARARGS, NULL},
291313  { (char *)"vector_Synapse___delitem__", _wrap_vector_Synapse___delitem__, METH_VARARGS, NULL},
291314  { (char *)"vector_Synapse___getitem__", _wrap_vector_Synapse___getitem__, METH_VARARGS, NULL},
291315  { (char *)"vector_Synapse___setitem__", _wrap_vector_Synapse___setitem__, METH_VARARGS, NULL},
291316  { (char *)"vector_Synapse_append", _wrap_vector_Synapse_append, METH_VARARGS, NULL},
291317  { (char *)"vector_Synapse_empty", _wrap_vector_Synapse_empty, METH_VARARGS, NULL},
291318  { (char *)"vector_Synapse_size", _wrap_vector_Synapse_size, METH_VARARGS, NULL},
291319  { (char *)"vector_Synapse_clear", _wrap_vector_Synapse_clear, METH_VARARGS, NULL},
291320  { (char *)"vector_Synapse_swap", _wrap_vector_Synapse_swap, METH_VARARGS, NULL},
291321  { (char *)"vector_Synapse_get_allocator", _wrap_vector_Synapse_get_allocator, METH_VARARGS, NULL},
291322  { (char *)"vector_Synapse_begin", _wrap_vector_Synapse_begin, METH_VARARGS, NULL},
291323  { (char *)"vector_Synapse_end", _wrap_vector_Synapse_end, METH_VARARGS, NULL},
291324  { (char *)"vector_Synapse_rbegin", _wrap_vector_Synapse_rbegin, METH_VARARGS, NULL},
291325  { (char *)"vector_Synapse_rend", _wrap_vector_Synapse_rend, METH_VARARGS, NULL},
291326  { (char *)"vector_Synapse_pop_back", _wrap_vector_Synapse_pop_back, METH_VARARGS, NULL},
291327  { (char *)"vector_Synapse_erase", _wrap_vector_Synapse_erase, METH_VARARGS, NULL},
291328  { (char *)"new_vector_Synapse", _wrap_new_vector_Synapse, METH_VARARGS, NULL},
291329  { (char *)"vector_Synapse_push_back", _wrap_vector_Synapse_push_back, METH_VARARGS, NULL},
291330  { (char *)"vector_Synapse_front", _wrap_vector_Synapse_front, METH_VARARGS, NULL},
291331  { (char *)"vector_Synapse_back", _wrap_vector_Synapse_back, METH_VARARGS, NULL},
291332  { (char *)"vector_Synapse_assign", _wrap_vector_Synapse_assign, METH_VARARGS, NULL},
291333  { (char *)"vector_Synapse_resize", _wrap_vector_Synapse_resize, METH_VARARGS, NULL},
291334  { (char *)"vector_Synapse_insert", _wrap_vector_Synapse_insert, METH_VARARGS, NULL},
291335  { (char *)"vector_Synapse_reserve", _wrap_vector_Synapse_reserve, METH_VARARGS, NULL},
291336  { (char *)"vector_Synapse_capacity", _wrap_vector_Synapse_capacity, METH_VARARGS, NULL},
291337  { (char *)"delete_vector_Synapse", _wrap_delete_vector_Synapse, METH_VARARGS, NULL},
291338  { (char *)"vector_Synapse_swigregister", vector_Synapse_swigregister, METH_VARARGS, NULL},
291339  { (char *)"vector_Neuron_iterator", _wrap_vector_Neuron_iterator, METH_VARARGS, NULL},
291340  { (char *)"vector_Neuron___nonzero__", _wrap_vector_Neuron___nonzero__, METH_VARARGS, NULL},
291341  { (char *)"vector_Neuron___bool__", _wrap_vector_Neuron___bool__, METH_VARARGS, NULL},
291342  { (char *)"vector_Neuron___len__", _wrap_vector_Neuron___len__, METH_VARARGS, NULL},
291343  { (char *)"vector_Neuron_pop", _wrap_vector_Neuron_pop, METH_VARARGS, NULL},
291344  { (char *)"vector_Neuron___getslice__", _wrap_vector_Neuron___getslice__, METH_VARARGS, NULL},
291345  { (char *)"vector_Neuron___setslice__", _wrap_vector_Neuron___setslice__, METH_VARARGS, NULL},
291346  { (char *)"vector_Neuron___delslice__", _wrap_vector_Neuron___delslice__, METH_VARARGS, NULL},
291347  { (char *)"vector_Neuron___delitem__", _wrap_vector_Neuron___delitem__, METH_VARARGS, NULL},
291348  { (char *)"vector_Neuron___getitem__", _wrap_vector_Neuron___getitem__, METH_VARARGS, NULL},
291349  { (char *)"vector_Neuron___setitem__", _wrap_vector_Neuron___setitem__, METH_VARARGS, NULL},
291350  { (char *)"vector_Neuron_append", _wrap_vector_Neuron_append, METH_VARARGS, NULL},
291351  { (char *)"vector_Neuron_empty", _wrap_vector_Neuron_empty, METH_VARARGS, NULL},
291352  { (char *)"vector_Neuron_size", _wrap_vector_Neuron_size, METH_VARARGS, NULL},
291353  { (char *)"vector_Neuron_clear", _wrap_vector_Neuron_clear, METH_VARARGS, NULL},
291354  { (char *)"vector_Neuron_swap", _wrap_vector_Neuron_swap, METH_VARARGS, NULL},
291355  { (char *)"vector_Neuron_get_allocator", _wrap_vector_Neuron_get_allocator, METH_VARARGS, NULL},
291356  { (char *)"vector_Neuron_begin", _wrap_vector_Neuron_begin, METH_VARARGS, NULL},
291357  { (char *)"vector_Neuron_end", _wrap_vector_Neuron_end, METH_VARARGS, NULL},
291358  { (char *)"vector_Neuron_rbegin", _wrap_vector_Neuron_rbegin, METH_VARARGS, NULL},
291359  { (char *)"vector_Neuron_rend", _wrap_vector_Neuron_rend, METH_VARARGS, NULL},
291360  { (char *)"vector_Neuron_pop_back", _wrap_vector_Neuron_pop_back, METH_VARARGS, NULL},
291361  { (char *)"vector_Neuron_erase", _wrap_vector_Neuron_erase, METH_VARARGS, NULL},
291362  { (char *)"new_vector_Neuron", _wrap_new_vector_Neuron, METH_VARARGS, NULL},
291363  { (char *)"vector_Neuron_push_back", _wrap_vector_Neuron_push_back, METH_VARARGS, NULL},
291364  { (char *)"vector_Neuron_front", _wrap_vector_Neuron_front, METH_VARARGS, NULL},
291365  { (char *)"vector_Neuron_back", _wrap_vector_Neuron_back, METH_VARARGS, NULL},
291366  { (char *)"vector_Neuron_assign", _wrap_vector_Neuron_assign, METH_VARARGS, NULL},
291367  { (char *)"vector_Neuron_resize", _wrap_vector_Neuron_resize, METH_VARARGS, NULL},
291368  { (char *)"vector_Neuron_insert", _wrap_vector_Neuron_insert, METH_VARARGS, NULL},
291369  { (char *)"vector_Neuron_reserve", _wrap_vector_Neuron_reserve, METH_VARARGS, NULL},
291370  { (char *)"vector_Neuron_capacity", _wrap_vector_Neuron_capacity, METH_VARARGS, NULL},
291371  { (char *)"delete_vector_Neuron", _wrap_delete_vector_Neuron, METH_VARARGS, NULL},
291372  { (char *)"vector_Neuron_swigregister", vector_Neuron_swigregister, METH_VARARGS, NULL},
291373  { (char *)"map_string_ActivatedItem_iterator", _wrap_map_string_ActivatedItem_iterator, METH_VARARGS, NULL},
291374  { (char *)"map_string_ActivatedItem___nonzero__", _wrap_map_string_ActivatedItem___nonzero__, METH_VARARGS, NULL},
291375  { (char *)"map_string_ActivatedItem___bool__", _wrap_map_string_ActivatedItem___bool__, METH_VARARGS, NULL},
291376  { (char *)"map_string_ActivatedItem___len__", _wrap_map_string_ActivatedItem___len__, METH_VARARGS, NULL},
291377  { (char *)"map_string_ActivatedItem___getitem__", _wrap_map_string_ActivatedItem___getitem__, METH_VARARGS, NULL},
291378  { (char *)"map_string_ActivatedItem___delitem__", _wrap_map_string_ActivatedItem___delitem__, METH_VARARGS, NULL},
291379  { (char *)"map_string_ActivatedItem_has_key", _wrap_map_string_ActivatedItem_has_key, METH_VARARGS, NULL},
291380  { (char *)"map_string_ActivatedItem_keys", _wrap_map_string_ActivatedItem_keys, METH_VARARGS, NULL},
291381  { (char *)"map_string_ActivatedItem_values", _wrap_map_string_ActivatedItem_values, METH_VARARGS, NULL},
291382  { (char *)"map_string_ActivatedItem_items", _wrap_map_string_ActivatedItem_items, METH_VARARGS, NULL},
291383  { (char *)"map_string_ActivatedItem___contains__", _wrap_map_string_ActivatedItem___contains__, METH_VARARGS, NULL},
291384  { (char *)"map_string_ActivatedItem_key_iterator", _wrap_map_string_ActivatedItem_key_iterator, METH_VARARGS, NULL},
291385  { (char *)"map_string_ActivatedItem_value_iterator", _wrap_map_string_ActivatedItem_value_iterator, METH_VARARGS, NULL},
291386  { (char *)"map_string_ActivatedItem___setitem__", _wrap_map_string_ActivatedItem___setitem__, METH_VARARGS, NULL},
291387  { (char *)"map_string_ActivatedItem_asdict", _wrap_map_string_ActivatedItem_asdict, METH_VARARGS, NULL},
291388  { (char *)"new_map_string_ActivatedItem", _wrap_new_map_string_ActivatedItem, METH_VARARGS, NULL},
291389  { (char *)"map_string_ActivatedItem_empty", _wrap_map_string_ActivatedItem_empty, METH_VARARGS, NULL},
291390  { (char *)"map_string_ActivatedItem_size", _wrap_map_string_ActivatedItem_size, METH_VARARGS, NULL},
291391  { (char *)"map_string_ActivatedItem_clear", _wrap_map_string_ActivatedItem_clear, METH_VARARGS, NULL},
291392  { (char *)"map_string_ActivatedItem_swap", _wrap_map_string_ActivatedItem_swap, METH_VARARGS, NULL},
291393  { (char *)"map_string_ActivatedItem_get_allocator", _wrap_map_string_ActivatedItem_get_allocator, METH_VARARGS, NULL},
291394  { (char *)"map_string_ActivatedItem_begin", _wrap_map_string_ActivatedItem_begin, METH_VARARGS, NULL},
291395  { (char *)"map_string_ActivatedItem_end", _wrap_map_string_ActivatedItem_end, METH_VARARGS, NULL},
291396  { (char *)"map_string_ActivatedItem_rbegin", _wrap_map_string_ActivatedItem_rbegin, METH_VARARGS, NULL},
291397  { (char *)"map_string_ActivatedItem_rend", _wrap_map_string_ActivatedItem_rend, METH_VARARGS, NULL},
291398  { (char *)"map_string_ActivatedItem_count", _wrap_map_string_ActivatedItem_count, METH_VARARGS, NULL},
291399  { (char *)"map_string_ActivatedItem_erase", _wrap_map_string_ActivatedItem_erase, METH_VARARGS, NULL},
291400  { (char *)"map_string_ActivatedItem_find", _wrap_map_string_ActivatedItem_find, METH_VARARGS, NULL},
291401  { (char *)"map_string_ActivatedItem_lower_bound", _wrap_map_string_ActivatedItem_lower_bound, METH_VARARGS, NULL},
291402  { (char *)"map_string_ActivatedItem_upper_bound", _wrap_map_string_ActivatedItem_upper_bound, METH_VARARGS, NULL},
291403  { (char *)"delete_map_string_ActivatedItem", _wrap_delete_map_string_ActivatedItem, METH_VARARGS, NULL},
291404  { (char *)"map_string_ActivatedItem_swigregister", map_string_ActivatedItem_swigregister, METH_VARARGS, NULL},
291405  { (char *)"map_string_AnimatBase_iterator", _wrap_map_string_AnimatBase_iterator, METH_VARARGS, NULL},
291406  { (char *)"map_string_AnimatBase___nonzero__", _wrap_map_string_AnimatBase___nonzero__, METH_VARARGS, NULL},
291407  { (char *)"map_string_AnimatBase___bool__", _wrap_map_string_AnimatBase___bool__, METH_VARARGS, NULL},
291408  { (char *)"map_string_AnimatBase___len__", _wrap_map_string_AnimatBase___len__, METH_VARARGS, NULL},
291409  { (char *)"map_string_AnimatBase___getitem__", _wrap_map_string_AnimatBase___getitem__, METH_VARARGS, NULL},
291410  { (char *)"map_string_AnimatBase___delitem__", _wrap_map_string_AnimatBase___delitem__, METH_VARARGS, NULL},
291411  { (char *)"map_string_AnimatBase_has_key", _wrap_map_string_AnimatBase_has_key, METH_VARARGS, NULL},
291412  { (char *)"map_string_AnimatBase_keys", _wrap_map_string_AnimatBase_keys, METH_VARARGS, NULL},
291413  { (char *)"map_string_AnimatBase_values", _wrap_map_string_AnimatBase_values, METH_VARARGS, NULL},
291414  { (char *)"map_string_AnimatBase_items", _wrap_map_string_AnimatBase_items, METH_VARARGS, NULL},
291415  { (char *)"map_string_AnimatBase___contains__", _wrap_map_string_AnimatBase___contains__, METH_VARARGS, NULL},
291416  { (char *)"map_string_AnimatBase_key_iterator", _wrap_map_string_AnimatBase_key_iterator, METH_VARARGS, NULL},
291417  { (char *)"map_string_AnimatBase_value_iterator", _wrap_map_string_AnimatBase_value_iterator, METH_VARARGS, NULL},
291418  { (char *)"map_string_AnimatBase___setitem__", _wrap_map_string_AnimatBase___setitem__, METH_VARARGS, NULL},
291419  { (char *)"map_string_AnimatBase_asdict", _wrap_map_string_AnimatBase_asdict, METH_VARARGS, NULL},
291420  { (char *)"new_map_string_AnimatBase", _wrap_new_map_string_AnimatBase, METH_VARARGS, NULL},
291421  { (char *)"map_string_AnimatBase_empty", _wrap_map_string_AnimatBase_empty, METH_VARARGS, NULL},
291422  { (char *)"map_string_AnimatBase_size", _wrap_map_string_AnimatBase_size, METH_VARARGS, NULL},
291423  { (char *)"map_string_AnimatBase_clear", _wrap_map_string_AnimatBase_clear, METH_VARARGS, NULL},
291424  { (char *)"map_string_AnimatBase_swap", _wrap_map_string_AnimatBase_swap, METH_VARARGS, NULL},
291425  { (char *)"map_string_AnimatBase_get_allocator", _wrap_map_string_AnimatBase_get_allocator, METH_VARARGS, NULL},
291426  { (char *)"map_string_AnimatBase_begin", _wrap_map_string_AnimatBase_begin, METH_VARARGS, NULL},
291427  { (char *)"map_string_AnimatBase_end", _wrap_map_string_AnimatBase_end, METH_VARARGS, NULL},
291428  { (char *)"map_string_AnimatBase_rbegin", _wrap_map_string_AnimatBase_rbegin, METH_VARARGS, NULL},
291429  { (char *)"map_string_AnimatBase_rend", _wrap_map_string_AnimatBase_rend, METH_VARARGS, NULL},
291430  { (char *)"map_string_AnimatBase_count", _wrap_map_string_AnimatBase_count, METH_VARARGS, NULL},
291431  { (char *)"map_string_AnimatBase_erase", _wrap_map_string_AnimatBase_erase, METH_VARARGS, NULL},
291432  { (char *)"map_string_AnimatBase_find", _wrap_map_string_AnimatBase_find, METH_VARARGS, NULL},
291433  { (char *)"map_string_AnimatBase_lower_bound", _wrap_map_string_AnimatBase_lower_bound, METH_VARARGS, NULL},
291434  { (char *)"map_string_AnimatBase_upper_bound", _wrap_map_string_AnimatBase_upper_bound, METH_VARARGS, NULL},
291435  { (char *)"delete_map_string_AnimatBase", _wrap_delete_map_string_AnimatBase, METH_VARARGS, NULL},
291436  { (char *)"map_string_AnimatBase_swigregister", map_string_AnimatBase_swigregister, METH_VARARGS, NULL},
291437  { (char *)"map_string_DataColumn_iterator", _wrap_map_string_DataColumn_iterator, METH_VARARGS, NULL},
291438  { (char *)"map_string_DataColumn___nonzero__", _wrap_map_string_DataColumn___nonzero__, METH_VARARGS, NULL},
291439  { (char *)"map_string_DataColumn___bool__", _wrap_map_string_DataColumn___bool__, METH_VARARGS, NULL},
291440  { (char *)"map_string_DataColumn___len__", _wrap_map_string_DataColumn___len__, METH_VARARGS, NULL},
291441  { (char *)"map_string_DataColumn___getitem__", _wrap_map_string_DataColumn___getitem__, METH_VARARGS, NULL},
291442  { (char *)"map_string_DataColumn___delitem__", _wrap_map_string_DataColumn___delitem__, METH_VARARGS, NULL},
291443  { (char *)"map_string_DataColumn_has_key", _wrap_map_string_DataColumn_has_key, METH_VARARGS, NULL},
291444  { (char *)"map_string_DataColumn_keys", _wrap_map_string_DataColumn_keys, METH_VARARGS, NULL},
291445  { (char *)"map_string_DataColumn_values", _wrap_map_string_DataColumn_values, METH_VARARGS, NULL},
291446  { (char *)"map_string_DataColumn_items", _wrap_map_string_DataColumn_items, METH_VARARGS, NULL},
291447  { (char *)"map_string_DataColumn___contains__", _wrap_map_string_DataColumn___contains__, METH_VARARGS, NULL},
291448  { (char *)"map_string_DataColumn_key_iterator", _wrap_map_string_DataColumn_key_iterator, METH_VARARGS, NULL},
291449  { (char *)"map_string_DataColumn_value_iterator", _wrap_map_string_DataColumn_value_iterator, METH_VARARGS, NULL},
291450  { (char *)"map_string_DataColumn___setitem__", _wrap_map_string_DataColumn___setitem__, METH_VARARGS, NULL},
291451  { (char *)"map_string_DataColumn_asdict", _wrap_map_string_DataColumn_asdict, METH_VARARGS, NULL},
291452  { (char *)"new_map_string_DataColumn", _wrap_new_map_string_DataColumn, METH_VARARGS, NULL},
291453  { (char *)"map_string_DataColumn_empty", _wrap_map_string_DataColumn_empty, METH_VARARGS, NULL},
291454  { (char *)"map_string_DataColumn_size", _wrap_map_string_DataColumn_size, METH_VARARGS, NULL},
291455  { (char *)"map_string_DataColumn_clear", _wrap_map_string_DataColumn_clear, METH_VARARGS, NULL},
291456  { (char *)"map_string_DataColumn_swap", _wrap_map_string_DataColumn_swap, METH_VARARGS, NULL},
291457  { (char *)"map_string_DataColumn_get_allocator", _wrap_map_string_DataColumn_get_allocator, METH_VARARGS, NULL},
291458  { (char *)"map_string_DataColumn_begin", _wrap_map_string_DataColumn_begin, METH_VARARGS, NULL},
291459  { (char *)"map_string_DataColumn_end", _wrap_map_string_DataColumn_end, METH_VARARGS, NULL},
291460  { (char *)"map_string_DataColumn_rbegin", _wrap_map_string_DataColumn_rbegin, METH_VARARGS, NULL},
291461  { (char *)"map_string_DataColumn_rend", _wrap_map_string_DataColumn_rend, METH_VARARGS, NULL},
291462  { (char *)"map_string_DataColumn_count", _wrap_map_string_DataColumn_count, METH_VARARGS, NULL},
291463  { (char *)"map_string_DataColumn_erase", _wrap_map_string_DataColumn_erase, METH_VARARGS, NULL},
291464  { (char *)"map_string_DataColumn_find", _wrap_map_string_DataColumn_find, METH_VARARGS, NULL},
291465  { (char *)"map_string_DataColumn_lower_bound", _wrap_map_string_DataColumn_lower_bound, METH_VARARGS, NULL},
291466  { (char *)"map_string_DataColumn_upper_bound", _wrap_map_string_DataColumn_upper_bound, METH_VARARGS, NULL},
291467  { (char *)"delete_map_string_DataColumn", _wrap_delete_map_string_DataColumn, METH_VARARGS, NULL},
291468  { (char *)"map_string_DataColumn_swigregister", map_string_DataColumn_swigregister, METH_VARARGS, NULL},
291469  { (char *)"map_string_IStdClassFactory_iterator", _wrap_map_string_IStdClassFactory_iterator, METH_VARARGS, NULL},
291470  { (char *)"map_string_IStdClassFactory___nonzero__", _wrap_map_string_IStdClassFactory___nonzero__, METH_VARARGS, NULL},
291471  { (char *)"map_string_IStdClassFactory___bool__", _wrap_map_string_IStdClassFactory___bool__, METH_VARARGS, NULL},
291472  { (char *)"map_string_IStdClassFactory___len__", _wrap_map_string_IStdClassFactory___len__, METH_VARARGS, NULL},
291473  { (char *)"map_string_IStdClassFactory___getitem__", _wrap_map_string_IStdClassFactory___getitem__, METH_VARARGS, NULL},
291474  { (char *)"map_string_IStdClassFactory___delitem__", _wrap_map_string_IStdClassFactory___delitem__, METH_VARARGS, NULL},
291475  { (char *)"map_string_IStdClassFactory_has_key", _wrap_map_string_IStdClassFactory_has_key, METH_VARARGS, NULL},
291476  { (char *)"map_string_IStdClassFactory_keys", _wrap_map_string_IStdClassFactory_keys, METH_VARARGS, NULL},
291477  { (char *)"map_string_IStdClassFactory_values", _wrap_map_string_IStdClassFactory_values, METH_VARARGS, NULL},
291478  { (char *)"map_string_IStdClassFactory_items", _wrap_map_string_IStdClassFactory_items, METH_VARARGS, NULL},
291479  { (char *)"map_string_IStdClassFactory___contains__", _wrap_map_string_IStdClassFactory___contains__, METH_VARARGS, NULL},
291480  { (char *)"map_string_IStdClassFactory_key_iterator", _wrap_map_string_IStdClassFactory_key_iterator, METH_VARARGS, NULL},
291481  { (char *)"map_string_IStdClassFactory_value_iterator", _wrap_map_string_IStdClassFactory_value_iterator, METH_VARARGS, NULL},
291482  { (char *)"map_string_IStdClassFactory___setitem__", _wrap_map_string_IStdClassFactory___setitem__, METH_VARARGS, NULL},
291483  { (char *)"map_string_IStdClassFactory_asdict", _wrap_map_string_IStdClassFactory_asdict, METH_VARARGS, NULL},
291484  { (char *)"new_map_string_IStdClassFactory", _wrap_new_map_string_IStdClassFactory, METH_VARARGS, NULL},
291485  { (char *)"map_string_IStdClassFactory_empty", _wrap_map_string_IStdClassFactory_empty, METH_VARARGS, NULL},
291486  { (char *)"map_string_IStdClassFactory_size", _wrap_map_string_IStdClassFactory_size, METH_VARARGS, NULL},
291487  { (char *)"map_string_IStdClassFactory_clear", _wrap_map_string_IStdClassFactory_clear, METH_VARARGS, NULL},
291488  { (char *)"map_string_IStdClassFactory_swap", _wrap_map_string_IStdClassFactory_swap, METH_VARARGS, NULL},
291489  { (char *)"map_string_IStdClassFactory_get_allocator", _wrap_map_string_IStdClassFactory_get_allocator, METH_VARARGS, NULL},
291490  { (char *)"map_string_IStdClassFactory_begin", _wrap_map_string_IStdClassFactory_begin, METH_VARARGS, NULL},
291491  { (char *)"map_string_IStdClassFactory_end", _wrap_map_string_IStdClassFactory_end, METH_VARARGS, NULL},
291492  { (char *)"map_string_IStdClassFactory_rbegin", _wrap_map_string_IStdClassFactory_rbegin, METH_VARARGS, NULL},
291493  { (char *)"map_string_IStdClassFactory_rend", _wrap_map_string_IStdClassFactory_rend, METH_VARARGS, NULL},
291494  { (char *)"map_string_IStdClassFactory_count", _wrap_map_string_IStdClassFactory_count, METH_VARARGS, NULL},
291495  { (char *)"map_string_IStdClassFactory_erase", _wrap_map_string_IStdClassFactory_erase, METH_VARARGS, NULL},
291496  { (char *)"map_string_IStdClassFactory_find", _wrap_map_string_IStdClassFactory_find, METH_VARARGS, NULL},
291497  { (char *)"map_string_IStdClassFactory_lower_bound", _wrap_map_string_IStdClassFactory_lower_bound, METH_VARARGS, NULL},
291498  { (char *)"map_string_IStdClassFactory_upper_bound", _wrap_map_string_IStdClassFactory_upper_bound, METH_VARARGS, NULL},
291499  { (char *)"delete_map_string_IStdClassFactory", _wrap_delete_map_string_IStdClassFactory, METH_VARARGS, NULL},
291500  { (char *)"map_string_IStdClassFactory_swigregister", map_string_IStdClassFactory_swigregister, METH_VARARGS, NULL},
291501  { (char *)"map_string_Joint_iterator", _wrap_map_string_Joint_iterator, METH_VARARGS, NULL},
291502  { (char *)"map_string_Joint___nonzero__", _wrap_map_string_Joint___nonzero__, METH_VARARGS, NULL},
291503  { (char *)"map_string_Joint___bool__", _wrap_map_string_Joint___bool__, METH_VARARGS, NULL},
291504  { (char *)"map_string_Joint___len__", _wrap_map_string_Joint___len__, METH_VARARGS, NULL},
291505  { (char *)"map_string_Joint___getitem__", _wrap_map_string_Joint___getitem__, METH_VARARGS, NULL},
291506  { (char *)"map_string_Joint___delitem__", _wrap_map_string_Joint___delitem__, METH_VARARGS, NULL},
291507  { (char *)"map_string_Joint_has_key", _wrap_map_string_Joint_has_key, METH_VARARGS, NULL},
291508  { (char *)"map_string_Joint_keys", _wrap_map_string_Joint_keys, METH_VARARGS, NULL},
291509  { (char *)"map_string_Joint_values", _wrap_map_string_Joint_values, METH_VARARGS, NULL},
291510  { (char *)"map_string_Joint_items", _wrap_map_string_Joint_items, METH_VARARGS, NULL},
291511  { (char *)"map_string_Joint___contains__", _wrap_map_string_Joint___contains__, METH_VARARGS, NULL},
291512  { (char *)"map_string_Joint_key_iterator", _wrap_map_string_Joint_key_iterator, METH_VARARGS, NULL},
291513  { (char *)"map_string_Joint_value_iterator", _wrap_map_string_Joint_value_iterator, METH_VARARGS, NULL},
291514  { (char *)"map_string_Joint___setitem__", _wrap_map_string_Joint___setitem__, METH_VARARGS, NULL},
291515  { (char *)"map_string_Joint_asdict", _wrap_map_string_Joint_asdict, METH_VARARGS, NULL},
291516  { (char *)"new_map_string_Joint", _wrap_new_map_string_Joint, METH_VARARGS, NULL},
291517  { (char *)"map_string_Joint_empty", _wrap_map_string_Joint_empty, METH_VARARGS, NULL},
291518  { (char *)"map_string_Joint_size", _wrap_map_string_Joint_size, METH_VARARGS, NULL},
291519  { (char *)"map_string_Joint_clear", _wrap_map_string_Joint_clear, METH_VARARGS, NULL},
291520  { (char *)"map_string_Joint_swap", _wrap_map_string_Joint_swap, METH_VARARGS, NULL},
291521  { (char *)"map_string_Joint_get_allocator", _wrap_map_string_Joint_get_allocator, METH_VARARGS, NULL},
291522  { (char *)"map_string_Joint_begin", _wrap_map_string_Joint_begin, METH_VARARGS, NULL},
291523  { (char *)"map_string_Joint_end", _wrap_map_string_Joint_end, METH_VARARGS, NULL},
291524  { (char *)"map_string_Joint_rbegin", _wrap_map_string_Joint_rbegin, METH_VARARGS, NULL},
291525  { (char *)"map_string_Joint_rend", _wrap_map_string_Joint_rend, METH_VARARGS, NULL},
291526  { (char *)"map_string_Joint_count", _wrap_map_string_Joint_count, METH_VARARGS, NULL},
291527  { (char *)"map_string_Joint_erase", _wrap_map_string_Joint_erase, METH_VARARGS, NULL},
291528  { (char *)"map_string_Joint_find", _wrap_map_string_Joint_find, METH_VARARGS, NULL},
291529  { (char *)"map_string_Joint_lower_bound", _wrap_map_string_Joint_lower_bound, METH_VARARGS, NULL},
291530  { (char *)"map_string_Joint_upper_bound", _wrap_map_string_Joint_upper_bound, METH_VARARGS, NULL},
291531  { (char *)"delete_map_string_Joint", _wrap_delete_map_string_Joint, METH_VARARGS, NULL},
291532  { (char *)"map_string_Joint_swigregister", map_string_Joint_swigregister, METH_VARARGS, NULL},
291533  { (char *)"map_string_NeuralModule_iterator", _wrap_map_string_NeuralModule_iterator, METH_VARARGS, NULL},
291534  { (char *)"map_string_NeuralModule___nonzero__", _wrap_map_string_NeuralModule___nonzero__, METH_VARARGS, NULL},
291535  { (char *)"map_string_NeuralModule___bool__", _wrap_map_string_NeuralModule___bool__, METH_VARARGS, NULL},
291536  { (char *)"map_string_NeuralModule___len__", _wrap_map_string_NeuralModule___len__, METH_VARARGS, NULL},
291537  { (char *)"map_string_NeuralModule___getitem__", _wrap_map_string_NeuralModule___getitem__, METH_VARARGS, NULL},
291538  { (char *)"map_string_NeuralModule___delitem__", _wrap_map_string_NeuralModule___delitem__, METH_VARARGS, NULL},
291539  { (char *)"map_string_NeuralModule_has_key", _wrap_map_string_NeuralModule_has_key, METH_VARARGS, NULL},
291540  { (char *)"map_string_NeuralModule_keys", _wrap_map_string_NeuralModule_keys, METH_VARARGS, NULL},
291541  { (char *)"map_string_NeuralModule_values", _wrap_map_string_NeuralModule_values, METH_VARARGS, NULL},
291542  { (char *)"map_string_NeuralModule_items", _wrap_map_string_NeuralModule_items, METH_VARARGS, NULL},
291543  { (char *)"map_string_NeuralModule___contains__", _wrap_map_string_NeuralModule___contains__, METH_VARARGS, NULL},
291544  { (char *)"map_string_NeuralModule_key_iterator", _wrap_map_string_NeuralModule_key_iterator, METH_VARARGS, NULL},
291545  { (char *)"map_string_NeuralModule_value_iterator", _wrap_map_string_NeuralModule_value_iterator, METH_VARARGS, NULL},
291546  { (char *)"map_string_NeuralModule___setitem__", _wrap_map_string_NeuralModule___setitem__, METH_VARARGS, NULL},
291547  { (char *)"map_string_NeuralModule_asdict", _wrap_map_string_NeuralModule_asdict, METH_VARARGS, NULL},
291548  { (char *)"new_map_string_NeuralModule", _wrap_new_map_string_NeuralModule, METH_VARARGS, NULL},
291549  { (char *)"map_string_NeuralModule_empty", _wrap_map_string_NeuralModule_empty, METH_VARARGS, NULL},
291550  { (char *)"map_string_NeuralModule_size", _wrap_map_string_NeuralModule_size, METH_VARARGS, NULL},
291551  { (char *)"map_string_NeuralModule_clear", _wrap_map_string_NeuralModule_clear, METH_VARARGS, NULL},
291552  { (char *)"map_string_NeuralModule_swap", _wrap_map_string_NeuralModule_swap, METH_VARARGS, NULL},
291553  { (char *)"map_string_NeuralModule_get_allocator", _wrap_map_string_NeuralModule_get_allocator, METH_VARARGS, NULL},
291554  { (char *)"map_string_NeuralModule_begin", _wrap_map_string_NeuralModule_begin, METH_VARARGS, NULL},
291555  { (char *)"map_string_NeuralModule_end", _wrap_map_string_NeuralModule_end, METH_VARARGS, NULL},
291556  { (char *)"map_string_NeuralModule_rbegin", _wrap_map_string_NeuralModule_rbegin, METH_VARARGS, NULL},
291557  { (char *)"map_string_NeuralModule_rend", _wrap_map_string_NeuralModule_rend, METH_VARARGS, NULL},
291558  { (char *)"map_string_NeuralModule_count", _wrap_map_string_NeuralModule_count, METH_VARARGS, NULL},
291559  { (char *)"map_string_NeuralModule_erase", _wrap_map_string_NeuralModule_erase, METH_VARARGS, NULL},
291560  { (char *)"map_string_NeuralModule_find", _wrap_map_string_NeuralModule_find, METH_VARARGS, NULL},
291561  { (char *)"map_string_NeuralModule_lower_bound", _wrap_map_string_NeuralModule_lower_bound, METH_VARARGS, NULL},
291562  { (char *)"map_string_NeuralModule_upper_bound", _wrap_map_string_NeuralModule_upper_bound, METH_VARARGS, NULL},
291563  { (char *)"delete_map_string_NeuralModule", _wrap_delete_map_string_NeuralModule, METH_VARARGS, NULL},
291564  { (char *)"map_string_NeuralModule_swigregister", map_string_NeuralModule_swigregister, METH_VARARGS, NULL},
291565  { (char *)"map_string_Odor_iterator", _wrap_map_string_Odor_iterator, METH_VARARGS, NULL},
291566  { (char *)"map_string_Odor___nonzero__", _wrap_map_string_Odor___nonzero__, METH_VARARGS, NULL},
291567  { (char *)"map_string_Odor___bool__", _wrap_map_string_Odor___bool__, METH_VARARGS, NULL},
291568  { (char *)"map_string_Odor___len__", _wrap_map_string_Odor___len__, METH_VARARGS, NULL},
291569  { (char *)"map_string_Odor___getitem__", _wrap_map_string_Odor___getitem__, METH_VARARGS, NULL},
291570  { (char *)"map_string_Odor___delitem__", _wrap_map_string_Odor___delitem__, METH_VARARGS, NULL},
291571  { (char *)"map_string_Odor_has_key", _wrap_map_string_Odor_has_key, METH_VARARGS, NULL},
291572  { (char *)"map_string_Odor_keys", _wrap_map_string_Odor_keys, METH_VARARGS, NULL},
291573  { (char *)"map_string_Odor_values", _wrap_map_string_Odor_values, METH_VARARGS, NULL},
291574  { (char *)"map_string_Odor_items", _wrap_map_string_Odor_items, METH_VARARGS, NULL},
291575  { (char *)"map_string_Odor___contains__", _wrap_map_string_Odor___contains__, METH_VARARGS, NULL},
291576  { (char *)"map_string_Odor_key_iterator", _wrap_map_string_Odor_key_iterator, METH_VARARGS, NULL},
291577  { (char *)"map_string_Odor_value_iterator", _wrap_map_string_Odor_value_iterator, METH_VARARGS, NULL},
291578  { (char *)"map_string_Odor___setitem__", _wrap_map_string_Odor___setitem__, METH_VARARGS, NULL},
291579  { (char *)"map_string_Odor_asdict", _wrap_map_string_Odor_asdict, METH_VARARGS, NULL},
291580  { (char *)"new_map_string_Odor", _wrap_new_map_string_Odor, METH_VARARGS, NULL},
291581  { (char *)"map_string_Odor_empty", _wrap_map_string_Odor_empty, METH_VARARGS, NULL},
291582  { (char *)"map_string_Odor_size", _wrap_map_string_Odor_size, METH_VARARGS, NULL},
291583  { (char *)"map_string_Odor_clear", _wrap_map_string_Odor_clear, METH_VARARGS, NULL},
291584  { (char *)"map_string_Odor_swap", _wrap_map_string_Odor_swap, METH_VARARGS, NULL},
291585  { (char *)"map_string_Odor_get_allocator", _wrap_map_string_Odor_get_allocator, METH_VARARGS, NULL},
291586  { (char *)"map_string_Odor_begin", _wrap_map_string_Odor_begin, METH_VARARGS, NULL},
291587  { (char *)"map_string_Odor_end", _wrap_map_string_Odor_end, METH_VARARGS, NULL},
291588  { (char *)"map_string_Odor_rbegin", _wrap_map_string_Odor_rbegin, METH_VARARGS, NULL},
291589  { (char *)"map_string_Odor_rend", _wrap_map_string_Odor_rend, METH_VARARGS, NULL},
291590  { (char *)"map_string_Odor_count", _wrap_map_string_Odor_count, METH_VARARGS, NULL},
291591  { (char *)"map_string_Odor_erase", _wrap_map_string_Odor_erase, METH_VARARGS, NULL},
291592  { (char *)"map_string_Odor_find", _wrap_map_string_Odor_find, METH_VARARGS, NULL},
291593  { (char *)"map_string_Odor_lower_bound", _wrap_map_string_Odor_lower_bound, METH_VARARGS, NULL},
291594  { (char *)"map_string_Odor_upper_bound", _wrap_map_string_Odor_upper_bound, METH_VARARGS, NULL},
291595  { (char *)"delete_map_string_Odor", _wrap_delete_map_string_Odor, METH_VARARGS, NULL},
291596  { (char *)"map_string_Odor_swigregister", map_string_Odor_swigregister, METH_VARARGS, NULL},
291597  { (char *)"map_string_OdorType_iterator", _wrap_map_string_OdorType_iterator, METH_VARARGS, NULL},
291598  { (char *)"map_string_OdorType___nonzero__", _wrap_map_string_OdorType___nonzero__, METH_VARARGS, NULL},
291599  { (char *)"map_string_OdorType___bool__", _wrap_map_string_OdorType___bool__, METH_VARARGS, NULL},
291600  { (char *)"map_string_OdorType___len__", _wrap_map_string_OdorType___len__, METH_VARARGS, NULL},
291601  { (char *)"map_string_OdorType___getitem__", _wrap_map_string_OdorType___getitem__, METH_VARARGS, NULL},
291602  { (char *)"map_string_OdorType___delitem__", _wrap_map_string_OdorType___delitem__, METH_VARARGS, NULL},
291603  { (char *)"map_string_OdorType_has_key", _wrap_map_string_OdorType_has_key, METH_VARARGS, NULL},
291604  { (char *)"map_string_OdorType_keys", _wrap_map_string_OdorType_keys, METH_VARARGS, NULL},
291605  { (char *)"map_string_OdorType_values", _wrap_map_string_OdorType_values, METH_VARARGS, NULL},
291606  { (char *)"map_string_OdorType_items", _wrap_map_string_OdorType_items, METH_VARARGS, NULL},
291607  { (char *)"map_string_OdorType___contains__", _wrap_map_string_OdorType___contains__, METH_VARARGS, NULL},
291608  { (char *)"map_string_OdorType_key_iterator", _wrap_map_string_OdorType_key_iterator, METH_VARARGS, NULL},
291609  { (char *)"map_string_OdorType_value_iterator", _wrap_map_string_OdorType_value_iterator, METH_VARARGS, NULL},
291610  { (char *)"map_string_OdorType___setitem__", _wrap_map_string_OdorType___setitem__, METH_VARARGS, NULL},
291611  { (char *)"map_string_OdorType_asdict", _wrap_map_string_OdorType_asdict, METH_VARARGS, NULL},
291612  { (char *)"new_map_string_OdorType", _wrap_new_map_string_OdorType, METH_VARARGS, NULL},
291613  { (char *)"map_string_OdorType_empty", _wrap_map_string_OdorType_empty, METH_VARARGS, NULL},
291614  { (char *)"map_string_OdorType_size", _wrap_map_string_OdorType_size, METH_VARARGS, NULL},
291615  { (char *)"map_string_OdorType_clear", _wrap_map_string_OdorType_clear, METH_VARARGS, NULL},
291616  { (char *)"map_string_OdorType_swap", _wrap_map_string_OdorType_swap, METH_VARARGS, NULL},
291617  { (char *)"map_string_OdorType_get_allocator", _wrap_map_string_OdorType_get_allocator, METH_VARARGS, NULL},
291618  { (char *)"map_string_OdorType_begin", _wrap_map_string_OdorType_begin, METH_VARARGS, NULL},
291619  { (char *)"map_string_OdorType_end", _wrap_map_string_OdorType_end, METH_VARARGS, NULL},
291620  { (char *)"map_string_OdorType_rbegin", _wrap_map_string_OdorType_rbegin, METH_VARARGS, NULL},
291621  { (char *)"map_string_OdorType_rend", _wrap_map_string_OdorType_rend, METH_VARARGS, NULL},
291622  { (char *)"map_string_OdorType_count", _wrap_map_string_OdorType_count, METH_VARARGS, NULL},
291623  { (char *)"map_string_OdorType_erase", _wrap_map_string_OdorType_erase, METH_VARARGS, NULL},
291624  { (char *)"map_string_OdorType_find", _wrap_map_string_OdorType_find, METH_VARARGS, NULL},
291625  { (char *)"map_string_OdorType_lower_bound", _wrap_map_string_OdorType_lower_bound, METH_VARARGS, NULL},
291626  { (char *)"map_string_OdorType_upper_bound", _wrap_map_string_OdorType_upper_bound, METH_VARARGS, NULL},
291627  { (char *)"delete_map_string_OdorType", _wrap_delete_map_string_OdorType, METH_VARARGS, NULL},
291628  { (char *)"map_string_OdorType_swigregister", map_string_OdorType_swigregister, METH_VARARGS, NULL},
291629  { (char *)"map_string_Organism_iterator", _wrap_map_string_Organism_iterator, METH_VARARGS, NULL},
291630  { (char *)"map_string_Organism___nonzero__", _wrap_map_string_Organism___nonzero__, METH_VARARGS, NULL},
291631  { (char *)"map_string_Organism___bool__", _wrap_map_string_Organism___bool__, METH_VARARGS, NULL},
291632  { (char *)"map_string_Organism___len__", _wrap_map_string_Organism___len__, METH_VARARGS, NULL},
291633  { (char *)"map_string_Organism___getitem__", _wrap_map_string_Organism___getitem__, METH_VARARGS, NULL},
291634  { (char *)"map_string_Organism___delitem__", _wrap_map_string_Organism___delitem__, METH_VARARGS, NULL},
291635  { (char *)"map_string_Organism_has_key", _wrap_map_string_Organism_has_key, METH_VARARGS, NULL},
291636  { (char *)"map_string_Organism_keys", _wrap_map_string_Organism_keys, METH_VARARGS, NULL},
291637  { (char *)"map_string_Organism_values", _wrap_map_string_Organism_values, METH_VARARGS, NULL},
291638  { (char *)"map_string_Organism_items", _wrap_map_string_Organism_items, METH_VARARGS, NULL},
291639  { (char *)"map_string_Organism___contains__", _wrap_map_string_Organism___contains__, METH_VARARGS, NULL},
291640  { (char *)"map_string_Organism_key_iterator", _wrap_map_string_Organism_key_iterator, METH_VARARGS, NULL},
291641  { (char *)"map_string_Organism_value_iterator", _wrap_map_string_Organism_value_iterator, METH_VARARGS, NULL},
291642  { (char *)"map_string_Organism___setitem__", _wrap_map_string_Organism___setitem__, METH_VARARGS, NULL},
291643  { (char *)"map_string_Organism_asdict", _wrap_map_string_Organism_asdict, METH_VARARGS, NULL},
291644  { (char *)"new_map_string_Organism", _wrap_new_map_string_Organism, METH_VARARGS, NULL},
291645  { (char *)"map_string_Organism_empty", _wrap_map_string_Organism_empty, METH_VARARGS, NULL},
291646  { (char *)"map_string_Organism_size", _wrap_map_string_Organism_size, METH_VARARGS, NULL},
291647  { (char *)"map_string_Organism_clear", _wrap_map_string_Organism_clear, METH_VARARGS, NULL},
291648  { (char *)"map_string_Organism_swap", _wrap_map_string_Organism_swap, METH_VARARGS, NULL},
291649  { (char *)"map_string_Organism_get_allocator", _wrap_map_string_Organism_get_allocator, METH_VARARGS, NULL},
291650  { (char *)"map_string_Organism_begin", _wrap_map_string_Organism_begin, METH_VARARGS, NULL},
291651  { (char *)"map_string_Organism_end", _wrap_map_string_Organism_end, METH_VARARGS, NULL},
291652  { (char *)"map_string_Organism_rbegin", _wrap_map_string_Organism_rbegin, METH_VARARGS, NULL},
291653  { (char *)"map_string_Organism_rend", _wrap_map_string_Organism_rend, METH_VARARGS, NULL},
291654  { (char *)"map_string_Organism_count", _wrap_map_string_Organism_count, METH_VARARGS, NULL},
291655  { (char *)"map_string_Organism_erase", _wrap_map_string_Organism_erase, METH_VARARGS, NULL},
291656  { (char *)"map_string_Organism_find", _wrap_map_string_Organism_find, METH_VARARGS, NULL},
291657  { (char *)"map_string_Organism_lower_bound", _wrap_map_string_Organism_lower_bound, METH_VARARGS, NULL},
291658  { (char *)"map_string_Organism_upper_bound", _wrap_map_string_Organism_upper_bound, METH_VARARGS, NULL},
291659  { (char *)"delete_map_string_Organism", _wrap_delete_map_string_Organism, METH_VARARGS, NULL},
291660  { (char *)"map_string_Organism_swigregister", map_string_Organism_swigregister, METH_VARARGS, NULL},
291661  { (char *)"map_string_RigidBody_iterator", _wrap_map_string_RigidBody_iterator, METH_VARARGS, NULL},
291662  { (char *)"map_string_RigidBody___nonzero__", _wrap_map_string_RigidBody___nonzero__, METH_VARARGS, NULL},
291663  { (char *)"map_string_RigidBody___bool__", _wrap_map_string_RigidBody___bool__, METH_VARARGS, NULL},
291664  { (char *)"map_string_RigidBody___len__", _wrap_map_string_RigidBody___len__, METH_VARARGS, NULL},
291665  { (char *)"map_string_RigidBody___getitem__", _wrap_map_string_RigidBody___getitem__, METH_VARARGS, NULL},
291666  { (char *)"map_string_RigidBody___delitem__", _wrap_map_string_RigidBody___delitem__, METH_VARARGS, NULL},
291667  { (char *)"map_string_RigidBody_has_key", _wrap_map_string_RigidBody_has_key, METH_VARARGS, NULL},
291668  { (char *)"map_string_RigidBody_keys", _wrap_map_string_RigidBody_keys, METH_VARARGS, NULL},
291669  { (char *)"map_string_RigidBody_values", _wrap_map_string_RigidBody_values, METH_VARARGS, NULL},
291670  { (char *)"map_string_RigidBody_items", _wrap_map_string_RigidBody_items, METH_VARARGS, NULL},
291671  { (char *)"map_string_RigidBody___contains__", _wrap_map_string_RigidBody___contains__, METH_VARARGS, NULL},
291672  { (char *)"map_string_RigidBody_key_iterator", _wrap_map_string_RigidBody_key_iterator, METH_VARARGS, NULL},
291673  { (char *)"map_string_RigidBody_value_iterator", _wrap_map_string_RigidBody_value_iterator, METH_VARARGS, NULL},
291674  { (char *)"map_string_RigidBody___setitem__", _wrap_map_string_RigidBody___setitem__, METH_VARARGS, NULL},
291675  { (char *)"map_string_RigidBody_asdict", _wrap_map_string_RigidBody_asdict, METH_VARARGS, NULL},
291676  { (char *)"new_map_string_RigidBody", _wrap_new_map_string_RigidBody, METH_VARARGS, NULL},
291677  { (char *)"map_string_RigidBody_empty", _wrap_map_string_RigidBody_empty, METH_VARARGS, NULL},
291678  { (char *)"map_string_RigidBody_size", _wrap_map_string_RigidBody_size, METH_VARARGS, NULL},
291679  { (char *)"map_string_RigidBody_clear", _wrap_map_string_RigidBody_clear, METH_VARARGS, NULL},
291680  { (char *)"map_string_RigidBody_swap", _wrap_map_string_RigidBody_swap, METH_VARARGS, NULL},
291681  { (char *)"map_string_RigidBody_get_allocator", _wrap_map_string_RigidBody_get_allocator, METH_VARARGS, NULL},
291682  { (char *)"map_string_RigidBody_begin", _wrap_map_string_RigidBody_begin, METH_VARARGS, NULL},
291683  { (char *)"map_string_RigidBody_end", _wrap_map_string_RigidBody_end, METH_VARARGS, NULL},
291684  { (char *)"map_string_RigidBody_rbegin", _wrap_map_string_RigidBody_rbegin, METH_VARARGS, NULL},
291685  { (char *)"map_string_RigidBody_rend", _wrap_map_string_RigidBody_rend, METH_VARARGS, NULL},
291686  { (char *)"map_string_RigidBody_count", _wrap_map_string_RigidBody_count, METH_VARARGS, NULL},
291687  { (char *)"map_string_RigidBody_erase", _wrap_map_string_RigidBody_erase, METH_VARARGS, NULL},
291688  { (char *)"map_string_RigidBody_find", _wrap_map_string_RigidBody_find, METH_VARARGS, NULL},
291689  { (char *)"map_string_RigidBody_lower_bound", _wrap_map_string_RigidBody_lower_bound, METH_VARARGS, NULL},
291690  { (char *)"map_string_RigidBody_upper_bound", _wrap_map_string_RigidBody_upper_bound, METH_VARARGS, NULL},
291691  { (char *)"delete_map_string_RigidBody", _wrap_delete_map_string_RigidBody, METH_VARARGS, NULL},
291692  { (char *)"map_string_RigidBody_swigregister", map_string_RigidBody_swigregister, METH_VARARGS, NULL},
291693  { (char *)"map_string_Structure_iterator", _wrap_map_string_Structure_iterator, METH_VARARGS, NULL},
291694  { (char *)"map_string_Structure___nonzero__", _wrap_map_string_Structure___nonzero__, METH_VARARGS, NULL},
291695  { (char *)"map_string_Structure___bool__", _wrap_map_string_Structure___bool__, METH_VARARGS, NULL},
291696  { (char *)"map_string_Structure___len__", _wrap_map_string_Structure___len__, METH_VARARGS, NULL},
291697  { (char *)"map_string_Structure___getitem__", _wrap_map_string_Structure___getitem__, METH_VARARGS, NULL},
291698  { (char *)"map_string_Structure___delitem__", _wrap_map_string_Structure___delitem__, METH_VARARGS, NULL},
291699  { (char *)"map_string_Structure_has_key", _wrap_map_string_Structure_has_key, METH_VARARGS, NULL},
291700  { (char *)"map_string_Structure_keys", _wrap_map_string_Structure_keys, METH_VARARGS, NULL},
291701  { (char *)"map_string_Structure_values", _wrap_map_string_Structure_values, METH_VARARGS, NULL},
291702  { (char *)"map_string_Structure_items", _wrap_map_string_Structure_items, METH_VARARGS, NULL},
291703  { (char *)"map_string_Structure___contains__", _wrap_map_string_Structure___contains__, METH_VARARGS, NULL},
291704  { (char *)"map_string_Structure_key_iterator", _wrap_map_string_Structure_key_iterator, METH_VARARGS, NULL},
291705  { (char *)"map_string_Structure_value_iterator", _wrap_map_string_Structure_value_iterator, METH_VARARGS, NULL},
291706  { (char *)"map_string_Structure___setitem__", _wrap_map_string_Structure___setitem__, METH_VARARGS, NULL},
291707  { (char *)"map_string_Structure_asdict", _wrap_map_string_Structure_asdict, METH_VARARGS, NULL},
291708  { (char *)"new_map_string_Structure", _wrap_new_map_string_Structure, METH_VARARGS, NULL},
291709  { (char *)"map_string_Structure_empty", _wrap_map_string_Structure_empty, METH_VARARGS, NULL},
291710  { (char *)"map_string_Structure_size", _wrap_map_string_Structure_size, METH_VARARGS, NULL},
291711  { (char *)"map_string_Structure_clear", _wrap_map_string_Structure_clear, METH_VARARGS, NULL},
291712  { (char *)"map_string_Structure_swap", _wrap_map_string_Structure_swap, METH_VARARGS, NULL},
291713  { (char *)"map_string_Structure_get_allocator", _wrap_map_string_Structure_get_allocator, METH_VARARGS, NULL},
291714  { (char *)"map_string_Structure_begin", _wrap_map_string_Structure_begin, METH_VARARGS, NULL},
291715  { (char *)"map_string_Structure_end", _wrap_map_string_Structure_end, METH_VARARGS, NULL},
291716  { (char *)"map_string_Structure_rbegin", _wrap_map_string_Structure_rbegin, METH_VARARGS, NULL},
291717  { (char *)"map_string_Structure_rend", _wrap_map_string_Structure_rend, METH_VARARGS, NULL},
291718  { (char *)"map_string_Structure_count", _wrap_map_string_Structure_count, METH_VARARGS, NULL},
291719  { (char *)"map_string_Structure_erase", _wrap_map_string_Structure_erase, METH_VARARGS, NULL},
291720  { (char *)"map_string_Structure_find", _wrap_map_string_Structure_find, METH_VARARGS, NULL},
291721  { (char *)"map_string_Structure_lower_bound", _wrap_map_string_Structure_lower_bound, METH_VARARGS, NULL},
291722  { (char *)"map_string_Structure_upper_bound", _wrap_map_string_Structure_upper_bound, METH_VARARGS, NULL},
291723  { (char *)"delete_map_string_Structure", _wrap_delete_map_string_Structure, METH_VARARGS, NULL},
291724  { (char *)"map_string_Structure_swigregister", map_string_Structure_swigregister, METH_VARARGS, NULL},
291725  { (char *)"CStdPoint_int_x_set", _wrap_CStdPoint_int_x_set, METH_VARARGS, NULL},
291726  { (char *)"CStdPoint_int_x_get", _wrap_CStdPoint_int_x_get, METH_VARARGS, NULL},
291727  { (char *)"CStdPoint_int_y_set", _wrap_CStdPoint_int_y_set, METH_VARARGS, NULL},
291728  { (char *)"CStdPoint_int_y_get", _wrap_CStdPoint_int_y_get, METH_VARARGS, NULL},
291729  { (char *)"CStdPoint_int_z_set", _wrap_CStdPoint_int_z_set, METH_VARARGS, NULL},
291730  { (char *)"CStdPoint_int_z_get", _wrap_CStdPoint_int_z_get, METH_VARARGS, NULL},
291731  { (char *)"new_CStdPoint_int", _wrap_new_CStdPoint_int, METH_VARARGS, NULL},
291732  { (char *)"CStdPoint_int_Set", _wrap_CStdPoint_int_Set, METH_VARARGS, NULL},
291733  { (char *)"CStdPoint_int___eq__", _wrap_CStdPoint_int___eq__, METH_VARARGS, NULL},
291734  { (char *)"CStdPoint_int___ne__", _wrap_CStdPoint_int___ne__, METH_VARARGS, NULL},
291735  { (char *)"CStdPoint_int_Equal", _wrap_CStdPoint_int_Equal, METH_VARARGS, NULL},
291736  { (char *)"CStdPoint_int_dot", _wrap_CStdPoint_int_dot, METH_VARARGS, NULL},
291737  { (char *)"CStdPoint_int___iadd__", _wrap_CStdPoint_int___iadd__, METH_VARARGS, NULL},
291738  { (char *)"CStdPoint_int___isub__", _wrap_CStdPoint_int___isub__, METH_VARARGS, NULL},
291739  { (char *)"CStdPoint_int___imul__", _wrap_CStdPoint_int___imul__, METH_VARARGS, NULL},
291740  { (char *)"CStdPoint_int___idiv__", _wrap_CStdPoint_int___idiv__, METH_VARARGS, NULL},
291741  { (char *)"CStdPoint_int___add__", _wrap_CStdPoint_int___add__, METH_VARARGS, NULL},
291742  { (char *)"CStdPoint_int___sub__", _wrap_CStdPoint_int___sub__, METH_VARARGS, NULL},
291743  { (char *)"CStdPoint_int___mul__", _wrap_CStdPoint_int___mul__, METH_VARARGS, NULL},
291744  { (char *)"CStdPoint_int___div__", _wrap_CStdPoint_int___div__, METH_VARARGS, NULL},
291745  { (char *)"CStdPoint_int___xor__", _wrap_CStdPoint_int___xor__, METH_VARARGS, NULL},
291746  { (char *)"CStdPoint_int_Magnitude", _wrap_CStdPoint_int_Magnitude, METH_VARARGS, NULL},
291747  { (char *)"CStdPoint_int_Normalize", _wrap_CStdPoint_int_Normalize, METH_VARARGS, NULL},
291748  { (char *)"CStdPoint_int_ClearNearZero", _wrap_CStdPoint_int_ClearNearZero, METH_VARARGS, NULL},
291749  { (char *)"delete_CStdPoint_int", _wrap_delete_CStdPoint_int, METH_VARARGS, NULL},
291750  { (char *)"CStdPoint_int_swigregister", CStdPoint_int_swigregister, METH_VARARGS, NULL},
291751  { (char *)"CStdPoint_long_x_set", _wrap_CStdPoint_long_x_set, METH_VARARGS, NULL},
291752  { (char *)"CStdPoint_long_x_get", _wrap_CStdPoint_long_x_get, METH_VARARGS, NULL},
291753  { (char *)"CStdPoint_long_y_set", _wrap_CStdPoint_long_y_set, METH_VARARGS, NULL},
291754  { (char *)"CStdPoint_long_y_get", _wrap_CStdPoint_long_y_get, METH_VARARGS, NULL},
291755  { (char *)"CStdPoint_long_z_set", _wrap_CStdPoint_long_z_set, METH_VARARGS, NULL},
291756  { (char *)"CStdPoint_long_z_get", _wrap_CStdPoint_long_z_get, METH_VARARGS, NULL},
291757  { (char *)"new_CStdPoint_long", _wrap_new_CStdPoint_long, METH_VARARGS, NULL},
291758  { (char *)"CStdPoint_long_Set", _wrap_CStdPoint_long_Set, METH_VARARGS, NULL},
291759  { (char *)"CStdPoint_long___eq__", _wrap_CStdPoint_long___eq__, METH_VARARGS, NULL},
291760  { (char *)"CStdPoint_long___ne__", _wrap_CStdPoint_long___ne__, METH_VARARGS, NULL},
291761  { (char *)"CStdPoint_long_Equal", _wrap_CStdPoint_long_Equal, METH_VARARGS, NULL},
291762  { (char *)"CStdPoint_long_dot", _wrap_CStdPoint_long_dot, METH_VARARGS, NULL},
291763  { (char *)"CStdPoint_long___iadd__", _wrap_CStdPoint_long___iadd__, METH_VARARGS, NULL},
291764  { (char *)"CStdPoint_long___isub__", _wrap_CStdPoint_long___isub__, METH_VARARGS, NULL},
291765  { (char *)"CStdPoint_long___imul__", _wrap_CStdPoint_long___imul__, METH_VARARGS, NULL},
291766  { (char *)"CStdPoint_long___idiv__", _wrap_CStdPoint_long___idiv__, METH_VARARGS, NULL},
291767  { (char *)"CStdPoint_long___add__", _wrap_CStdPoint_long___add__, METH_VARARGS, NULL},
291768  { (char *)"CStdPoint_long___sub__", _wrap_CStdPoint_long___sub__, METH_VARARGS, NULL},
291769  { (char *)"CStdPoint_long___mul__", _wrap_CStdPoint_long___mul__, METH_VARARGS, NULL},
291770  { (char *)"CStdPoint_long___div__", _wrap_CStdPoint_long___div__, METH_VARARGS, NULL},
291771  { (char *)"CStdPoint_long___xor__", _wrap_CStdPoint_long___xor__, METH_VARARGS, NULL},
291772  { (char *)"CStdPoint_long_Magnitude", _wrap_CStdPoint_long_Magnitude, METH_VARARGS, NULL},
291773  { (char *)"CStdPoint_long_Normalize", _wrap_CStdPoint_long_Normalize, METH_VARARGS, NULL},
291774  { (char *)"CStdPoint_long_ClearNearZero", _wrap_CStdPoint_long_ClearNearZero, METH_VARARGS, NULL},
291775  { (char *)"delete_CStdPoint_long", _wrap_delete_CStdPoint_long, METH_VARARGS, NULL},
291776  { (char *)"CStdPoint_long_swigregister", CStdPoint_long_swigregister, METH_VARARGS, NULL},
291777  { (char *)"CStdPoint_float_x_set", _wrap_CStdPoint_float_x_set, METH_VARARGS, NULL},
291778  { (char *)"CStdPoint_float_x_get", _wrap_CStdPoint_float_x_get, METH_VARARGS, NULL},
291779  { (char *)"CStdPoint_float_y_set", _wrap_CStdPoint_float_y_set, METH_VARARGS, NULL},
291780  { (char *)"CStdPoint_float_y_get", _wrap_CStdPoint_float_y_get, METH_VARARGS, NULL},
291781  { (char *)"CStdPoint_float_z_set", _wrap_CStdPoint_float_z_set, METH_VARARGS, NULL},
291782  { (char *)"CStdPoint_float_z_get", _wrap_CStdPoint_float_z_get, METH_VARARGS, NULL},
291783  { (char *)"new_CStdPoint_float", _wrap_new_CStdPoint_float, METH_VARARGS, NULL},
291784  { (char *)"CStdPoint_float_Set", _wrap_CStdPoint_float_Set, METH_VARARGS, NULL},
291785  { (char *)"CStdPoint_float___eq__", _wrap_CStdPoint_float___eq__, METH_VARARGS, NULL},
291786  { (char *)"CStdPoint_float___ne__", _wrap_CStdPoint_float___ne__, METH_VARARGS, NULL},
291787  { (char *)"CStdPoint_float_Equal", _wrap_CStdPoint_float_Equal, METH_VARARGS, NULL},
291788  { (char *)"CStdPoint_float_dot", _wrap_CStdPoint_float_dot, METH_VARARGS, NULL},
291789  { (char *)"CStdPoint_float___iadd__", _wrap_CStdPoint_float___iadd__, METH_VARARGS, NULL},
291790  { (char *)"CStdPoint_float___isub__", _wrap_CStdPoint_float___isub__, METH_VARARGS, NULL},
291791  { (char *)"CStdPoint_float___imul__", _wrap_CStdPoint_float___imul__, METH_VARARGS, NULL},
291792  { (char *)"CStdPoint_float___idiv__", _wrap_CStdPoint_float___idiv__, METH_VARARGS, NULL},
291793  { (char *)"CStdPoint_float___add__", _wrap_CStdPoint_float___add__, METH_VARARGS, NULL},
291794  { (char *)"CStdPoint_float___sub__", _wrap_CStdPoint_float___sub__, METH_VARARGS, NULL},
291795  { (char *)"CStdPoint_float___mul__", _wrap_CStdPoint_float___mul__, METH_VARARGS, NULL},
291796  { (char *)"CStdPoint_float___div__", _wrap_CStdPoint_float___div__, METH_VARARGS, NULL},
291797  { (char *)"CStdPoint_float___xor__", _wrap_CStdPoint_float___xor__, METH_VARARGS, NULL},
291798  { (char *)"CStdPoint_float_Magnitude", _wrap_CStdPoint_float_Magnitude, METH_VARARGS, NULL},
291799  { (char *)"CStdPoint_float_Normalize", _wrap_CStdPoint_float_Normalize, METH_VARARGS, NULL},
291800  { (char *)"CStdPoint_float_ClearNearZero", _wrap_CStdPoint_float_ClearNearZero, METH_VARARGS, NULL},
291801  { (char *)"delete_CStdPoint_float", _wrap_delete_CStdPoint_float, METH_VARARGS, NULL},
291802  { (char *)"CStdPoint_float_swigregister", CStdPoint_float_swigregister, METH_VARARGS, NULL},
291803  { (char *)"CStdPoint_double_x_set", _wrap_CStdPoint_double_x_set, METH_VARARGS, NULL},
291804  { (char *)"CStdPoint_double_x_get", _wrap_CStdPoint_double_x_get, METH_VARARGS, NULL},
291805  { (char *)"CStdPoint_double_y_set", _wrap_CStdPoint_double_y_set, METH_VARARGS, NULL},
291806  { (char *)"CStdPoint_double_y_get", _wrap_CStdPoint_double_y_get, METH_VARARGS, NULL},
291807  { (char *)"CStdPoint_double_z_set", _wrap_CStdPoint_double_z_set, METH_VARARGS, NULL},
291808  { (char *)"CStdPoint_double_z_get", _wrap_CStdPoint_double_z_get, METH_VARARGS, NULL},
291809  { (char *)"new_CStdPoint_double", _wrap_new_CStdPoint_double, METH_VARARGS, NULL},
291810  { (char *)"CStdPoint_double_Set", _wrap_CStdPoint_double_Set, METH_VARARGS, NULL},
291811  { (char *)"CStdPoint_double___eq__", _wrap_CStdPoint_double___eq__, METH_VARARGS, NULL},
291812  { (char *)"CStdPoint_double___ne__", _wrap_CStdPoint_double___ne__, METH_VARARGS, NULL},
291813  { (char *)"CStdPoint_double_Equal", _wrap_CStdPoint_double_Equal, METH_VARARGS, NULL},
291814  { (char *)"CStdPoint_double_dot", _wrap_CStdPoint_double_dot, METH_VARARGS, NULL},
291815  { (char *)"CStdPoint_double___iadd__", _wrap_CStdPoint_double___iadd__, METH_VARARGS, NULL},
291816  { (char *)"CStdPoint_double___isub__", _wrap_CStdPoint_double___isub__, METH_VARARGS, NULL},
291817  { (char *)"CStdPoint_double___imul__", _wrap_CStdPoint_double___imul__, METH_VARARGS, NULL},
291818  { (char *)"CStdPoint_double___idiv__", _wrap_CStdPoint_double___idiv__, METH_VARARGS, NULL},
291819  { (char *)"CStdPoint_double___add__", _wrap_CStdPoint_double___add__, METH_VARARGS, NULL},
291820  { (char *)"CStdPoint_double___sub__", _wrap_CStdPoint_double___sub__, METH_VARARGS, NULL},
291821  { (char *)"CStdPoint_double___mul__", _wrap_CStdPoint_double___mul__, METH_VARARGS, NULL},
291822  { (char *)"CStdPoint_double___div__", _wrap_CStdPoint_double___div__, METH_VARARGS, NULL},
291823  { (char *)"CStdPoint_double___xor__", _wrap_CStdPoint_double___xor__, METH_VARARGS, NULL},
291824  { (char *)"CStdPoint_double_Magnitude", _wrap_CStdPoint_double_Magnitude, METH_VARARGS, NULL},
291825  { (char *)"CStdPoint_double_Normalize", _wrap_CStdPoint_double_Normalize, METH_VARARGS, NULL},
291826  { (char *)"CStdPoint_double_ClearNearZero", _wrap_CStdPoint_double_ClearNearZero, METH_VARARGS, NULL},
291827  { (char *)"delete_CStdPoint_double", _wrap_delete_CStdPoint_double, METH_VARARGS, NULL},
291828  { (char *)"CStdPoint_double_swigregister", CStdPoint_double_swigregister, METH_VARARGS, NULL},
291829  { (char *)"delete_CStdArray_int", _wrap_delete_CStdArray_int, METH_VARARGS, NULL},
291830  { (char *)"CStdArray_int_Add", _wrap_CStdArray_int_Add, METH_VARARGS, NULL},
291831  { (char *)"CStdArray_int_RemoveAll", _wrap_CStdArray_int_RemoveAll, METH_VARARGS, NULL},
291832  { (char *)"CStdArray_int_RemoveAt", _wrap_CStdArray_int_RemoveAt, METH_VARARGS, NULL},
291833  { (char *)"CStdArray_int_SetSize", _wrap_CStdArray_int_SetSize, METH_VARARGS, NULL},
291834  { (char *)"CStdArray_int_InsertAt", _wrap_CStdArray_int_InsertAt, METH_VARARGS, NULL},
291835  { (char *)"CStdArray_int_GetSize", _wrap_CStdArray_int_GetSize, METH_VARARGS, NULL},
291836  { (char *)"CStdArray_int_Clear", _wrap_CStdArray_int_Clear, METH_VARARGS, NULL},
291837  { (char *)"new_CStdArray_int", _wrap_new_CStdArray_int, METH_VARARGS, NULL},
291838  { (char *)"CStdArray_int_swigregister", CStdArray_int_swigregister, METH_VARARGS, NULL},
291839  { (char *)"delete_CStdArray_long", _wrap_delete_CStdArray_long, METH_VARARGS, NULL},
291840  { (char *)"CStdArray_long_Add", _wrap_CStdArray_long_Add, METH_VARARGS, NULL},
291841  { (char *)"CStdArray_long_RemoveAll", _wrap_CStdArray_long_RemoveAll, METH_VARARGS, NULL},
291842  { (char *)"CStdArray_long_RemoveAt", _wrap_CStdArray_long_RemoveAt, METH_VARARGS, NULL},
291843  { (char *)"CStdArray_long_SetSize", _wrap_CStdArray_long_SetSize, METH_VARARGS, NULL},
291844  { (char *)"CStdArray_long_InsertAt", _wrap_CStdArray_long_InsertAt, METH_VARARGS, NULL},
291845  { (char *)"CStdArray_long_GetSize", _wrap_CStdArray_long_GetSize, METH_VARARGS, NULL},
291846  { (char *)"CStdArray_long_Clear", _wrap_CStdArray_long_Clear, METH_VARARGS, NULL},
291847  { (char *)"new_CStdArray_long", _wrap_new_CStdArray_long, METH_VARARGS, NULL},
291848  { (char *)"CStdArray_long_swigregister", CStdArray_long_swigregister, METH_VARARGS, NULL},
291849  { (char *)"delete_CStdArray_float", _wrap_delete_CStdArray_float, METH_VARARGS, NULL},
291850  { (char *)"CStdArray_float_Add", _wrap_CStdArray_float_Add, METH_VARARGS, NULL},
291851  { (char *)"CStdArray_float_RemoveAll", _wrap_CStdArray_float_RemoveAll, METH_VARARGS, NULL},
291852  { (char *)"CStdArray_float_RemoveAt", _wrap_CStdArray_float_RemoveAt, METH_VARARGS, NULL},
291853  { (char *)"CStdArray_float_SetSize", _wrap_CStdArray_float_SetSize, METH_VARARGS, NULL},
291854  { (char *)"CStdArray_float_InsertAt", _wrap_CStdArray_float_InsertAt, METH_VARARGS, NULL},
291855  { (char *)"CStdArray_float_GetSize", _wrap_CStdArray_float_GetSize, METH_VARARGS, NULL},
291856  { (char *)"CStdArray_float_Clear", _wrap_CStdArray_float_Clear, METH_VARARGS, NULL},
291857  { (char *)"new_CStdArray_float", _wrap_new_CStdArray_float, METH_VARARGS, NULL},
291858  { (char *)"CStdArray_float_swigregister", CStdArray_float_swigregister, METH_VARARGS, NULL},
291859  { (char *)"delete_CStdArray_double", _wrap_delete_CStdArray_double, METH_VARARGS, NULL},
291860  { (char *)"CStdArray_double_Add", _wrap_CStdArray_double_Add, METH_VARARGS, NULL},
291861  { (char *)"CStdArray_double_RemoveAll", _wrap_CStdArray_double_RemoveAll, METH_VARARGS, NULL},
291862  { (char *)"CStdArray_double_RemoveAt", _wrap_CStdArray_double_RemoveAt, METH_VARARGS, NULL},
291863  { (char *)"CStdArray_double_SetSize", _wrap_CStdArray_double_SetSize, METH_VARARGS, NULL},
291864  { (char *)"CStdArray_double_InsertAt", _wrap_CStdArray_double_InsertAt, METH_VARARGS, NULL},
291865  { (char *)"CStdArray_double_GetSize", _wrap_CStdArray_double_GetSize, METH_VARARGS, NULL},
291866  { (char *)"CStdArray_double_Clear", _wrap_CStdArray_double_Clear, METH_VARARGS, NULL},
291867  { (char *)"new_CStdArray_double", _wrap_new_CStdArray_double, METH_VARARGS, NULL},
291868  { (char *)"CStdArray_double_swigregister", CStdArray_double_swigregister, METH_VARARGS, NULL},
291869  { (char *)"delete_CStdArray_string", _wrap_delete_CStdArray_string, METH_VARARGS, NULL},
291870  { (char *)"CStdArray_string_Add", _wrap_CStdArray_string_Add, METH_VARARGS, NULL},
291871  { (char *)"CStdArray_string_RemoveAll", _wrap_CStdArray_string_RemoveAll, METH_VARARGS, NULL},
291872  { (char *)"CStdArray_string_RemoveAt", _wrap_CStdArray_string_RemoveAt, METH_VARARGS, NULL},
291873  { (char *)"CStdArray_string_SetSize", _wrap_CStdArray_string_SetSize, METH_VARARGS, NULL},
291874  { (char *)"CStdArray_string_InsertAt", _wrap_CStdArray_string_InsertAt, METH_VARARGS, NULL},
291875  { (char *)"CStdArray_string_GetSize", _wrap_CStdArray_string_GetSize, METH_VARARGS, NULL},
291876  { (char *)"CStdArray_string_Clear", _wrap_CStdArray_string_Clear, METH_VARARGS, NULL},
291877  { (char *)"new_CStdArray_string", _wrap_new_CStdArray_string, METH_VARARGS, NULL},
291878  { (char *)"CStdArray_string_swigregister", CStdArray_string_swigregister, METH_VARARGS, NULL},
291879  { (char *)"delete_CStdArray_ActivatedItem", _wrap_delete_CStdArray_ActivatedItem, METH_VARARGS, NULL},
291880  { (char *)"CStdArray_ActivatedItem_Add", _wrap_CStdArray_ActivatedItem_Add, METH_VARARGS, NULL},
291881  { (char *)"CStdArray_ActivatedItem_RemoveAll", _wrap_CStdArray_ActivatedItem_RemoveAll, METH_VARARGS, NULL},
291882  { (char *)"CStdArray_ActivatedItem_RemoveAt", _wrap_CStdArray_ActivatedItem_RemoveAt, METH_VARARGS, NULL},
291883  { (char *)"CStdArray_ActivatedItem_SetSize", _wrap_CStdArray_ActivatedItem_SetSize, METH_VARARGS, NULL},
291884  { (char *)"CStdArray_ActivatedItem_InsertAt", _wrap_CStdArray_ActivatedItem_InsertAt, METH_VARARGS, NULL},
291885  { (char *)"CStdArray_ActivatedItem_GetSize", _wrap_CStdArray_ActivatedItem_GetSize, METH_VARARGS, NULL},
291886  { (char *)"CStdArray_ActivatedItem_Clear", _wrap_CStdArray_ActivatedItem_Clear, METH_VARARGS, NULL},
291887  { (char *)"new_CStdArray_ActivatedItem", _wrap_new_CStdArray_ActivatedItem, METH_VARARGS, NULL},
291888  { (char *)"CStdArray_ActivatedItem_swigregister", CStdArray_ActivatedItem_swigregister, METH_VARARGS, NULL},
291889  { (char *)"delete_CStdArray_RigidBody", _wrap_delete_CStdArray_RigidBody, METH_VARARGS, NULL},
291890  { (char *)"CStdArray_RigidBody_Add", _wrap_CStdArray_RigidBody_Add, METH_VARARGS, NULL},
291891  { (char *)"CStdArray_RigidBody_RemoveAll", _wrap_CStdArray_RigidBody_RemoveAll, METH_VARARGS, NULL},
291892  { (char *)"CStdArray_RigidBody_RemoveAt", _wrap_CStdArray_RigidBody_RemoveAt, METH_VARARGS, NULL},
291893  { (char *)"CStdArray_RigidBody_SetSize", _wrap_CStdArray_RigidBody_SetSize, METH_VARARGS, NULL},
291894  { (char *)"CStdArray_RigidBody_InsertAt", _wrap_CStdArray_RigidBody_InsertAt, METH_VARARGS, NULL},
291895  { (char *)"CStdArray_RigidBody_GetSize", _wrap_CStdArray_RigidBody_GetSize, METH_VARARGS, NULL},
291896  { (char *)"CStdArray_RigidBody_Clear", _wrap_CStdArray_RigidBody_Clear, METH_VARARGS, NULL},
291897  { (char *)"new_CStdArray_RigidBody", _wrap_new_CStdArray_RigidBody, METH_VARARGS, NULL},
291898  { (char *)"CStdArray_RigidBody_swigregister", CStdArray_RigidBody_swigregister, METH_VARARGS, NULL},
291899  { (char *)"delete_CStdArray_BodyPart", _wrap_delete_CStdArray_BodyPart, METH_VARARGS, NULL},
291900  { (char *)"CStdArray_BodyPart_Add", _wrap_CStdArray_BodyPart_Add, METH_VARARGS, NULL},
291901  { (char *)"CStdArray_BodyPart_RemoveAll", _wrap_CStdArray_BodyPart_RemoveAll, METH_VARARGS, NULL},
291902  { (char *)"CStdArray_BodyPart_RemoveAt", _wrap_CStdArray_BodyPart_RemoveAt, METH_VARARGS, NULL},
291903  { (char *)"CStdArray_BodyPart_SetSize", _wrap_CStdArray_BodyPart_SetSize, METH_VARARGS, NULL},
291904  { (char *)"CStdArray_BodyPart_InsertAt", _wrap_CStdArray_BodyPart_InsertAt, METH_VARARGS, NULL},
291905  { (char *)"CStdArray_BodyPart_GetSize", _wrap_CStdArray_BodyPart_GetSize, METH_VARARGS, NULL},
291906  { (char *)"CStdArray_BodyPart_Clear", _wrap_CStdArray_BodyPart_Clear, METH_VARARGS, NULL},
291907  { (char *)"new_CStdArray_BodyPart", _wrap_new_CStdArray_BodyPart, METH_VARARGS, NULL},
291908  { (char *)"CStdArray_BodyPart_swigregister", CStdArray_BodyPart_swigregister, METH_VARARGS, NULL},
291909  { (char *)"delete_CStdArray_RobotPartInterface", _wrap_delete_CStdArray_RobotPartInterface, METH_VARARGS, NULL},
291910  { (char *)"CStdArray_RobotPartInterface_Add", _wrap_CStdArray_RobotPartInterface_Add, METH_VARARGS, NULL},
291911  { (char *)"CStdArray_RobotPartInterface_RemoveAll", _wrap_CStdArray_RobotPartInterface_RemoveAll, METH_VARARGS, NULL},
291912  { (char *)"CStdArray_RobotPartInterface_RemoveAt", _wrap_CStdArray_RobotPartInterface_RemoveAt, METH_VARARGS, NULL},
291913  { (char *)"CStdArray_RobotPartInterface_SetSize", _wrap_CStdArray_RobotPartInterface_SetSize, METH_VARARGS, NULL},
291914  { (char *)"CStdArray_RobotPartInterface_InsertAt", _wrap_CStdArray_RobotPartInterface_InsertAt, METH_VARARGS, NULL},
291915  { (char *)"CStdArray_RobotPartInterface_GetSize", _wrap_CStdArray_RobotPartInterface_GetSize, METH_VARARGS, NULL},
291916  { (char *)"CStdArray_RobotPartInterface_Clear", _wrap_CStdArray_RobotPartInterface_Clear, METH_VARARGS, NULL},
291917  { (char *)"new_CStdArray_RobotPartInterface", _wrap_new_CStdArray_RobotPartInterface, METH_VARARGS, NULL},
291918  { (char *)"CStdArray_RobotPartInterface_swigregister", CStdArray_RobotPartInterface_swigregister, METH_VARARGS, NULL},
291919  { (char *)"delete_CStdArray_Attachment", _wrap_delete_CStdArray_Attachment, METH_VARARGS, NULL},
291920  { (char *)"CStdArray_Attachment_Add", _wrap_CStdArray_Attachment_Add, METH_VARARGS, NULL},
291921  { (char *)"CStdArray_Attachment_RemoveAll", _wrap_CStdArray_Attachment_RemoveAll, METH_VARARGS, NULL},
291922  { (char *)"CStdArray_Attachment_RemoveAt", _wrap_CStdArray_Attachment_RemoveAt, METH_VARARGS, NULL},
291923  { (char *)"CStdArray_Attachment_SetSize", _wrap_CStdArray_Attachment_SetSize, METH_VARARGS, NULL},
291924  { (char *)"CStdArray_Attachment_InsertAt", _wrap_CStdArray_Attachment_InsertAt, METH_VARARGS, NULL},
291925  { (char *)"CStdArray_Attachment_GetSize", _wrap_CStdArray_Attachment_GetSize, METH_VARARGS, NULL},
291926  { (char *)"CStdArray_Attachment_Clear", _wrap_CStdArray_Attachment_Clear, METH_VARARGS, NULL},
291927  { (char *)"new_CStdArray_Attachment", _wrap_new_CStdArray_Attachment, METH_VARARGS, NULL},
291928  { (char *)"CStdArray_Attachment_swigregister", CStdArray_Attachment_swigregister, METH_VARARGS, NULL},
291929  { (char *)"delete_CStdArray_Adapter", _wrap_delete_CStdArray_Adapter, METH_VARARGS, NULL},
291930  { (char *)"CStdArray_Adapter_Add", _wrap_CStdArray_Adapter_Add, METH_VARARGS, NULL},
291931  { (char *)"CStdArray_Adapter_RemoveAll", _wrap_CStdArray_Adapter_RemoveAll, METH_VARARGS, NULL},
291932  { (char *)"CStdArray_Adapter_RemoveAt", _wrap_CStdArray_Adapter_RemoveAt, METH_VARARGS, NULL},
291933  { (char *)"CStdArray_Adapter_SetSize", _wrap_CStdArray_Adapter_SetSize, METH_VARARGS, NULL},
291934  { (char *)"CStdArray_Adapter_InsertAt", _wrap_CStdArray_Adapter_InsertAt, METH_VARARGS, NULL},
291935  { (char *)"CStdArray_Adapter_GetSize", _wrap_CStdArray_Adapter_GetSize, METH_VARARGS, NULL},
291936  { (char *)"CStdArray_Adapter_Clear", _wrap_CStdArray_Adapter_Clear, METH_VARARGS, NULL},
291937  { (char *)"new_CStdArray_Adapter", _wrap_new_CStdArray_Adapter, METH_VARARGS, NULL},
291938  { (char *)"CStdArray_Adapter_swigregister", CStdArray_Adapter_swigregister, METH_VARARGS, NULL},
291939  { (char *)"delete_CStdArray_KeyFrame", _wrap_delete_CStdArray_KeyFrame, METH_VARARGS, NULL},
291940  { (char *)"CStdArray_KeyFrame_Add", _wrap_CStdArray_KeyFrame_Add, METH_VARARGS, NULL},
291941  { (char *)"CStdArray_KeyFrame_RemoveAll", _wrap_CStdArray_KeyFrame_RemoveAll, METH_VARARGS, NULL},
291942  { (char *)"CStdArray_KeyFrame_RemoveAt", _wrap_CStdArray_KeyFrame_RemoveAt, METH_VARARGS, NULL},
291943  { (char *)"CStdArray_KeyFrame_SetSize", _wrap_CStdArray_KeyFrame_SetSize, METH_VARARGS, NULL},
291944  { (char *)"CStdArray_KeyFrame_InsertAt", _wrap_CStdArray_KeyFrame_InsertAt, METH_VARARGS, NULL},
291945  { (char *)"CStdArray_KeyFrame_GetSize", _wrap_CStdArray_KeyFrame_GetSize, METH_VARARGS, NULL},
291946  { (char *)"CStdArray_KeyFrame_Clear", _wrap_CStdArray_KeyFrame_Clear, METH_VARARGS, NULL},
291947  { (char *)"new_CStdArray_KeyFrame", _wrap_new_CStdArray_KeyFrame, METH_VARARGS, NULL},
291948  { (char *)"CStdArray_KeyFrame_swigregister", CStdArray_KeyFrame_swigregister, METH_VARARGS, NULL},
291949  { (char *)"delete_CStdArray_ModuleThreadProcessor", _wrap_delete_CStdArray_ModuleThreadProcessor, METH_VARARGS, NULL},
291950  { (char *)"CStdArray_ModuleThreadProcessor_Add", _wrap_CStdArray_ModuleThreadProcessor_Add, METH_VARARGS, NULL},
291951  { (char *)"CStdArray_ModuleThreadProcessor_RemoveAll", _wrap_CStdArray_ModuleThreadProcessor_RemoveAll, METH_VARARGS, NULL},
291952  { (char *)"CStdArray_ModuleThreadProcessor_RemoveAt", _wrap_CStdArray_ModuleThreadProcessor_RemoveAt, METH_VARARGS, NULL},
291953  { (char *)"CStdArray_ModuleThreadProcessor_SetSize", _wrap_CStdArray_ModuleThreadProcessor_SetSize, METH_VARARGS, NULL},
291954  { (char *)"CStdArray_ModuleThreadProcessor_InsertAt", _wrap_CStdArray_ModuleThreadProcessor_InsertAt, METH_VARARGS, NULL},
291955  { (char *)"CStdArray_ModuleThreadProcessor_GetSize", _wrap_CStdArray_ModuleThreadProcessor_GetSize, METH_VARARGS, NULL},
291956  { (char *)"CStdArray_ModuleThreadProcessor_Clear", _wrap_CStdArray_ModuleThreadProcessor_Clear, METH_VARARGS, NULL},
291957  { (char *)"new_CStdArray_ModuleThreadProcessor", _wrap_new_CStdArray_ModuleThreadProcessor, METH_VARARGS, NULL},
291958  { (char *)"CStdArray_ModuleThreadProcessor_swigregister", CStdArray_ModuleThreadProcessor_swigregister, METH_VARARGS, NULL},
291959  { (char *)"delete_CStdPtrArray_CStdVariable", _wrap_delete_CStdPtrArray_CStdVariable, METH_VARARGS, NULL},
291960  { (char *)"CStdPtrArray_CStdVariable_Add", _wrap_CStdPtrArray_CStdVariable_Add, METH_VARARGS, NULL},
291961  { (char *)"CStdPtrArray_CStdVariable_clear", _wrap_CStdPtrArray_CStdVariable_clear, METH_VARARGS, NULL},
291962  { (char *)"CStdPtrArray_CStdVariable_RemoveAll", _wrap_CStdPtrArray_CStdVariable_RemoveAll, METH_VARARGS, NULL},
291963  { (char *)"CStdPtrArray_CStdVariable_RemoveAt", _wrap_CStdPtrArray_CStdVariable_RemoveAt, METH_VARARGS, NULL},
291964  { (char *)"CStdPtrArray_CStdVariable_erase", _wrap_CStdPtrArray_CStdVariable_erase, METH_VARARGS, NULL},
291965  { (char *)"CStdPtrArray_CStdVariable_SetSize", _wrap_CStdPtrArray_CStdVariable_SetSize, METH_VARARGS, NULL},
291966  { (char *)"CStdPtrArray_CStdVariable_InsertAt", _wrap_CStdPtrArray_CStdVariable_InsertAt, METH_VARARGS, NULL},
291967  { (char *)"CStdPtrArray_CStdVariable_GetSize", _wrap_CStdPtrArray_CStdVariable_GetSize, METH_VARARGS, NULL},
291968  { (char *)"CStdPtrArray_CStdVariable_Clear", _wrap_CStdPtrArray_CStdVariable_Clear, METH_VARARGS, NULL},
291969  { (char *)"new_CStdPtrArray_CStdVariable", _wrap_new_CStdPtrArray_CStdVariable, METH_VARARGS, NULL},
291970  { (char *)"CStdPtrArray_CStdVariable_swigregister", CStdPtrArray_CStdVariable_swigregister, METH_VARARGS, NULL},
291971  { (char *)"delete_CStdPtrArray_TypeProperty", _wrap_delete_CStdPtrArray_TypeProperty, METH_VARARGS, NULL},
291972  { (char *)"CStdPtrArray_TypeProperty_Add", _wrap_CStdPtrArray_TypeProperty_Add, METH_VARARGS, NULL},
291973  { (char *)"CStdPtrArray_TypeProperty_clear", _wrap_CStdPtrArray_TypeProperty_clear, METH_VARARGS, NULL},
291974  { (char *)"CStdPtrArray_TypeProperty_RemoveAll", _wrap_CStdPtrArray_TypeProperty_RemoveAll, METH_VARARGS, NULL},
291975  { (char *)"CStdPtrArray_TypeProperty_RemoveAt", _wrap_CStdPtrArray_TypeProperty_RemoveAt, METH_VARARGS, NULL},
291976  { (char *)"CStdPtrArray_TypeProperty_erase", _wrap_CStdPtrArray_TypeProperty_erase, METH_VARARGS, NULL},
291977  { (char *)"CStdPtrArray_TypeProperty_SetSize", _wrap_CStdPtrArray_TypeProperty_SetSize, METH_VARARGS, NULL},
291978  { (char *)"CStdPtrArray_TypeProperty_InsertAt", _wrap_CStdPtrArray_TypeProperty_InsertAt, METH_VARARGS, NULL},
291979  { (char *)"CStdPtrArray_TypeProperty_GetSize", _wrap_CStdPtrArray_TypeProperty_GetSize, METH_VARARGS, NULL},
291980  { (char *)"CStdPtrArray_TypeProperty_Clear", _wrap_CStdPtrArray_TypeProperty_Clear, METH_VARARGS, NULL},
291981  { (char *)"new_CStdPtrArray_TypeProperty", _wrap_new_CStdPtrArray_TypeProperty, METH_VARARGS, NULL},
291982  { (char *)"CStdPtrArray_TypeProperty_swigregister", CStdPtrArray_TypeProperty_swigregister, METH_VARARGS, NULL},
291983  { (char *)"delete_CStdPtrArray_ReceptiveFieldPair", _wrap_delete_CStdPtrArray_ReceptiveFieldPair, METH_VARARGS, NULL},
291984  { (char *)"CStdPtrArray_ReceptiveFieldPair_Add", _wrap_CStdPtrArray_ReceptiveFieldPair_Add, METH_VARARGS, NULL},
291985  { (char *)"CStdPtrArray_ReceptiveFieldPair_clear", _wrap_CStdPtrArray_ReceptiveFieldPair_clear, METH_VARARGS, NULL},
291986  { (char *)"CStdPtrArray_ReceptiveFieldPair_RemoveAll", _wrap_CStdPtrArray_ReceptiveFieldPair_RemoveAll, METH_VARARGS, NULL},
291987  { (char *)"CStdPtrArray_ReceptiveFieldPair_RemoveAt", _wrap_CStdPtrArray_ReceptiveFieldPair_RemoveAt, METH_VARARGS, NULL},
291988  { (char *)"CStdPtrArray_ReceptiveFieldPair_erase", _wrap_CStdPtrArray_ReceptiveFieldPair_erase, METH_VARARGS, NULL},
291989  { (char *)"CStdPtrArray_ReceptiveFieldPair_SetSize", _wrap_CStdPtrArray_ReceptiveFieldPair_SetSize, METH_VARARGS, NULL},
291990  { (char *)"CStdPtrArray_ReceptiveFieldPair_InsertAt", _wrap_CStdPtrArray_ReceptiveFieldPair_InsertAt, METH_VARARGS, NULL},
291991  { (char *)"CStdPtrArray_ReceptiveFieldPair_GetSize", _wrap_CStdPtrArray_ReceptiveFieldPair_GetSize, METH_VARARGS, NULL},
291992  { (char *)"CStdPtrArray_ReceptiveFieldPair_Clear", _wrap_CStdPtrArray_ReceptiveFieldPair_Clear, METH_VARARGS, NULL},
291993  { (char *)"new_CStdPtrArray_ReceptiveFieldPair", _wrap_new_CStdPtrArray_ReceptiveFieldPair, METH_VARARGS, NULL},
291994  { (char *)"CStdPtrArray_ReceptiveFieldPair_swigregister", CStdPtrArray_ReceptiveFieldPair_swigregister, METH_VARARGS, NULL},
291995  { (char *)"delete_CStdPtrArray_ReceptiveField", _wrap_delete_CStdPtrArray_ReceptiveField, METH_VARARGS, NULL},
291996  { (char *)"CStdPtrArray_ReceptiveField_Add", _wrap_CStdPtrArray_ReceptiveField_Add, METH_VARARGS, NULL},
291997  { (char *)"CStdPtrArray_ReceptiveField_clear", _wrap_CStdPtrArray_ReceptiveField_clear, METH_VARARGS, NULL},
291998  { (char *)"CStdPtrArray_ReceptiveField_RemoveAll", _wrap_CStdPtrArray_ReceptiveField_RemoveAll, METH_VARARGS, NULL},
291999  { (char *)"CStdPtrArray_ReceptiveField_RemoveAt", _wrap_CStdPtrArray_ReceptiveField_RemoveAt, METH_VARARGS, NULL},
292000  { (char *)"CStdPtrArray_ReceptiveField_erase", _wrap_CStdPtrArray_ReceptiveField_erase, METH_VARARGS, NULL},
292001  { (char *)"CStdPtrArray_ReceptiveField_SetSize", _wrap_CStdPtrArray_ReceptiveField_SetSize, METH_VARARGS, NULL},
292002  { (char *)"CStdPtrArray_ReceptiveField_InsertAt", _wrap_CStdPtrArray_ReceptiveField_InsertAt, METH_VARARGS, NULL},
292003  { (char *)"CStdPtrArray_ReceptiveField_GetSize", _wrap_CStdPtrArray_ReceptiveField_GetSize, METH_VARARGS, NULL},
292004  { (char *)"CStdPtrArray_ReceptiveField_Clear", _wrap_CStdPtrArray_ReceptiveField_Clear, METH_VARARGS, NULL},
292005  { (char *)"new_CStdPtrArray_ReceptiveField", _wrap_new_CStdPtrArray_ReceptiveField, METH_VARARGS, NULL},
292006  { (char *)"CStdPtrArray_ReceptiveField_swigregister", CStdPtrArray_ReceptiveField_swigregister, METH_VARARGS, NULL},
292007  { (char *)"delete_CStdPtrArray_DataColumn", _wrap_delete_CStdPtrArray_DataColumn, METH_VARARGS, NULL},
292008  { (char *)"CStdPtrArray_DataColumn_Add", _wrap_CStdPtrArray_DataColumn_Add, METH_VARARGS, NULL},
292009  { (char *)"CStdPtrArray_DataColumn_clear", _wrap_CStdPtrArray_DataColumn_clear, METH_VARARGS, NULL},
292010  { (char *)"CStdPtrArray_DataColumn_RemoveAll", _wrap_CStdPtrArray_DataColumn_RemoveAll, METH_VARARGS, NULL},
292011  { (char *)"CStdPtrArray_DataColumn_RemoveAt", _wrap_CStdPtrArray_DataColumn_RemoveAt, METH_VARARGS, NULL},
292012  { (char *)"CStdPtrArray_DataColumn_erase", _wrap_CStdPtrArray_DataColumn_erase, METH_VARARGS, NULL},
292013  { (char *)"CStdPtrArray_DataColumn_SetSize", _wrap_CStdPtrArray_DataColumn_SetSize, METH_VARARGS, NULL},
292014  { (char *)"CStdPtrArray_DataColumn_InsertAt", _wrap_CStdPtrArray_DataColumn_InsertAt, METH_VARARGS, NULL},
292015  { (char *)"CStdPtrArray_DataColumn_GetSize", _wrap_CStdPtrArray_DataColumn_GetSize, METH_VARARGS, NULL},
292016  { (char *)"CStdPtrArray_DataColumn_Clear", _wrap_CStdPtrArray_DataColumn_Clear, METH_VARARGS, NULL},
292017  { (char *)"new_CStdPtrArray_DataColumn", _wrap_new_CStdPtrArray_DataColumn, METH_VARARGS, NULL},
292018  { (char *)"CStdPtrArray_DataColumn_swigregister", CStdPtrArray_DataColumn_swigregister, METH_VARARGS, NULL},
292019  { (char *)"delete_CStdPtrArray_HudItem", _wrap_delete_CStdPtrArray_HudItem, METH_VARARGS, NULL},
292020  { (char *)"CStdPtrArray_HudItem_Add", _wrap_CStdPtrArray_HudItem_Add, METH_VARARGS, NULL},
292021  { (char *)"CStdPtrArray_HudItem_clear", _wrap_CStdPtrArray_HudItem_clear, METH_VARARGS, NULL},
292022  { (char *)"CStdPtrArray_HudItem_RemoveAll", _wrap_CStdPtrArray_HudItem_RemoveAll, METH_VARARGS, NULL},
292023  { (char *)"CStdPtrArray_HudItem_RemoveAt", _wrap_CStdPtrArray_HudItem_RemoveAt, METH_VARARGS, NULL},
292024  { (char *)"CStdPtrArray_HudItem_erase", _wrap_CStdPtrArray_HudItem_erase, METH_VARARGS, NULL},
292025  { (char *)"CStdPtrArray_HudItem_SetSize", _wrap_CStdPtrArray_HudItem_SetSize, METH_VARARGS, NULL},
292026  { (char *)"CStdPtrArray_HudItem_InsertAt", _wrap_CStdPtrArray_HudItem_InsertAt, METH_VARARGS, NULL},
292027  { (char *)"CStdPtrArray_HudItem_GetSize", _wrap_CStdPtrArray_HudItem_GetSize, METH_VARARGS, NULL},
292028  { (char *)"CStdPtrArray_HudItem_Clear", _wrap_CStdPtrArray_HudItem_Clear, METH_VARARGS, NULL},
292029  { (char *)"new_CStdPtrArray_HudItem", _wrap_new_CStdPtrArray_HudItem, METH_VARARGS, NULL},
292030  { (char *)"CStdPtrArray_HudItem_swigregister", CStdPtrArray_HudItem_swigregister, METH_VARARGS, NULL},
292031  { (char *)"delete_CStdPtrArray_Light", _wrap_delete_CStdPtrArray_Light, METH_VARARGS, NULL},
292032  { (char *)"CStdPtrArray_Light_Add", _wrap_CStdPtrArray_Light_Add, METH_VARARGS, NULL},
292033  { (char *)"CStdPtrArray_Light_clear", _wrap_CStdPtrArray_Light_clear, METH_VARARGS, NULL},
292034  { (char *)"CStdPtrArray_Light_RemoveAll", _wrap_CStdPtrArray_Light_RemoveAll, METH_VARARGS, NULL},
292035  { (char *)"CStdPtrArray_Light_RemoveAt", _wrap_CStdPtrArray_Light_RemoveAt, METH_VARARGS, NULL},
292036  { (char *)"CStdPtrArray_Light_erase", _wrap_CStdPtrArray_Light_erase, METH_VARARGS, NULL},
292037  { (char *)"CStdPtrArray_Light_SetSize", _wrap_CStdPtrArray_Light_SetSize, METH_VARARGS, NULL},
292038  { (char *)"CStdPtrArray_Light_InsertAt", _wrap_CStdPtrArray_Light_InsertAt, METH_VARARGS, NULL},
292039  { (char *)"CStdPtrArray_Light_GetSize", _wrap_CStdPtrArray_Light_GetSize, METH_VARARGS, NULL},
292040  { (char *)"CStdPtrArray_Light_Clear", _wrap_CStdPtrArray_Light_Clear, METH_VARARGS, NULL},
292041  { (char *)"new_CStdPtrArray_Light", _wrap_new_CStdPtrArray_Light, METH_VARARGS, NULL},
292042  { (char *)"CStdPtrArray_Light_swigregister", CStdPtrArray_Light_swigregister, METH_VARARGS, NULL},
292043  { (char *)"delete_CStdPtrArray_MaterialType", _wrap_delete_CStdPtrArray_MaterialType, METH_VARARGS, NULL},
292044  { (char *)"CStdPtrArray_MaterialType_Add", _wrap_CStdPtrArray_MaterialType_Add, METH_VARARGS, NULL},
292045  { (char *)"CStdPtrArray_MaterialType_clear", _wrap_CStdPtrArray_MaterialType_clear, METH_VARARGS, NULL},
292046  { (char *)"CStdPtrArray_MaterialType_RemoveAll", _wrap_CStdPtrArray_MaterialType_RemoveAll, METH_VARARGS, NULL},
292047  { (char *)"CStdPtrArray_MaterialType_RemoveAt", _wrap_CStdPtrArray_MaterialType_RemoveAt, METH_VARARGS, NULL},
292048  { (char *)"CStdPtrArray_MaterialType_erase", _wrap_CStdPtrArray_MaterialType_erase, METH_VARARGS, NULL},
292049  { (char *)"CStdPtrArray_MaterialType_SetSize", _wrap_CStdPtrArray_MaterialType_SetSize, METH_VARARGS, NULL},
292050  { (char *)"CStdPtrArray_MaterialType_InsertAt", _wrap_CStdPtrArray_MaterialType_InsertAt, METH_VARARGS, NULL},
292051  { (char *)"CStdPtrArray_MaterialType_GetSize", _wrap_CStdPtrArray_MaterialType_GetSize, METH_VARARGS, NULL},
292052  { (char *)"CStdPtrArray_MaterialType_Clear", _wrap_CStdPtrArray_MaterialType_Clear, METH_VARARGS, NULL},
292053  { (char *)"new_CStdPtrArray_MaterialType", _wrap_new_CStdPtrArray_MaterialType, METH_VARARGS, NULL},
292054  { (char *)"CStdPtrArray_MaterialType_swigregister", CStdPtrArray_MaterialType_swigregister, METH_VARARGS, NULL},
292055  { (char *)"delete_CStdPtrArray_Adapter", _wrap_delete_CStdPtrArray_Adapter, METH_VARARGS, NULL},
292056  { (char *)"CStdPtrArray_Adapter_Add", _wrap_CStdPtrArray_Adapter_Add, METH_VARARGS, NULL},
292057  { (char *)"CStdPtrArray_Adapter_clear", _wrap_CStdPtrArray_Adapter_clear, METH_VARARGS, NULL},
292058  { (char *)"CStdPtrArray_Adapter_RemoveAll", _wrap_CStdPtrArray_Adapter_RemoveAll, METH_VARARGS, NULL},
292059  { (char *)"CStdPtrArray_Adapter_RemoveAt", _wrap_CStdPtrArray_Adapter_RemoveAt, METH_VARARGS, NULL},
292060  { (char *)"CStdPtrArray_Adapter_erase", _wrap_CStdPtrArray_Adapter_erase, METH_VARARGS, NULL},
292061  { (char *)"CStdPtrArray_Adapter_SetSize", _wrap_CStdPtrArray_Adapter_SetSize, METH_VARARGS, NULL},
292062  { (char *)"CStdPtrArray_Adapter_InsertAt", _wrap_CStdPtrArray_Adapter_InsertAt, METH_VARARGS, NULL},
292063  { (char *)"CStdPtrArray_Adapter_GetSize", _wrap_CStdPtrArray_Adapter_GetSize, METH_VARARGS, NULL},
292064  { (char *)"CStdPtrArray_Adapter_Clear", _wrap_CStdPtrArray_Adapter_Clear, METH_VARARGS, NULL},
292065  { (char *)"new_CStdPtrArray_Adapter", _wrap_new_CStdPtrArray_Adapter, METH_VARARGS, NULL},
292066  { (char *)"CStdPtrArray_Adapter_swigregister", CStdPtrArray_Adapter_swigregister, METH_VARARGS, NULL},
292067  { (char *)"delete_CStdPtrArray_RigidBody", _wrap_delete_CStdPtrArray_RigidBody, METH_VARARGS, NULL},
292068  { (char *)"CStdPtrArray_RigidBody_Add", _wrap_CStdPtrArray_RigidBody_Add, METH_VARARGS, NULL},
292069  { (char *)"CStdPtrArray_RigidBody_clear", _wrap_CStdPtrArray_RigidBody_clear, METH_VARARGS, NULL},
292070  { (char *)"CStdPtrArray_RigidBody_RemoveAll", _wrap_CStdPtrArray_RigidBody_RemoveAll, METH_VARARGS, NULL},
292071  { (char *)"CStdPtrArray_RigidBody_RemoveAt", _wrap_CStdPtrArray_RigidBody_RemoveAt, METH_VARARGS, NULL},
292072  { (char *)"CStdPtrArray_RigidBody_erase", _wrap_CStdPtrArray_RigidBody_erase, METH_VARARGS, NULL},
292073  { (char *)"CStdPtrArray_RigidBody_SetSize", _wrap_CStdPtrArray_RigidBody_SetSize, METH_VARARGS, NULL},
292074  { (char *)"CStdPtrArray_RigidBody_InsertAt", _wrap_CStdPtrArray_RigidBody_InsertAt, METH_VARARGS, NULL},
292075  { (char *)"CStdPtrArray_RigidBody_GetSize", _wrap_CStdPtrArray_RigidBody_GetSize, METH_VARARGS, NULL},
292076  { (char *)"CStdPtrArray_RigidBody_Clear", _wrap_CStdPtrArray_RigidBody_Clear, METH_VARARGS, NULL},
292077  { (char *)"new_CStdPtrArray_RigidBody", _wrap_new_CStdPtrArray_RigidBody, METH_VARARGS, NULL},
292078  { (char *)"CStdPtrArray_RigidBody_swigregister", CStdPtrArray_RigidBody_swigregister, METH_VARARGS, NULL},
292079  { (char *)"delete_CStdPtrArray_RobotIOControl", _wrap_delete_CStdPtrArray_RobotIOControl, METH_VARARGS, NULL},
292080  { (char *)"CStdPtrArray_RobotIOControl_Add", _wrap_CStdPtrArray_RobotIOControl_Add, METH_VARARGS, NULL},
292081  { (char *)"CStdPtrArray_RobotIOControl_clear", _wrap_CStdPtrArray_RobotIOControl_clear, METH_VARARGS, NULL},
292082  { (char *)"CStdPtrArray_RobotIOControl_RemoveAll", _wrap_CStdPtrArray_RobotIOControl_RemoveAll, METH_VARARGS, NULL},
292083  { (char *)"CStdPtrArray_RobotIOControl_RemoveAt", _wrap_CStdPtrArray_RobotIOControl_RemoveAt, METH_VARARGS, NULL},
292084  { (char *)"CStdPtrArray_RobotIOControl_erase", _wrap_CStdPtrArray_RobotIOControl_erase, METH_VARARGS, NULL},
292085  { (char *)"CStdPtrArray_RobotIOControl_SetSize", _wrap_CStdPtrArray_RobotIOControl_SetSize, METH_VARARGS, NULL},
292086  { (char *)"CStdPtrArray_RobotIOControl_InsertAt", _wrap_CStdPtrArray_RobotIOControl_InsertAt, METH_VARARGS, NULL},
292087  { (char *)"CStdPtrArray_RobotIOControl_GetSize", _wrap_CStdPtrArray_RobotIOControl_GetSize, METH_VARARGS, NULL},
292088  { (char *)"CStdPtrArray_RobotIOControl_Clear", _wrap_CStdPtrArray_RobotIOControl_Clear, METH_VARARGS, NULL},
292089  { (char *)"new_CStdPtrArray_RobotIOControl", _wrap_new_CStdPtrArray_RobotIOControl, METH_VARARGS, NULL},
292090  { (char *)"CStdPtrArray_RobotIOControl_swigregister", CStdPtrArray_RobotIOControl_swigregister, METH_VARARGS, NULL},
292091  { (char *)"delete_CStdPtrArray_RobotPartInterface", _wrap_delete_CStdPtrArray_RobotPartInterface, METH_VARARGS, NULL},
292092  { (char *)"CStdPtrArray_RobotPartInterface_Add", _wrap_CStdPtrArray_RobotPartInterface_Add, METH_VARARGS, NULL},
292093  { (char *)"CStdPtrArray_RobotPartInterface_clear", _wrap_CStdPtrArray_RobotPartInterface_clear, METH_VARARGS, NULL},
292094  { (char *)"CStdPtrArray_RobotPartInterface_RemoveAll", _wrap_CStdPtrArray_RobotPartInterface_RemoveAll, METH_VARARGS, NULL},
292095  { (char *)"CStdPtrArray_RobotPartInterface_RemoveAt", _wrap_CStdPtrArray_RobotPartInterface_RemoveAt, METH_VARARGS, NULL},
292096  { (char *)"CStdPtrArray_RobotPartInterface_erase", _wrap_CStdPtrArray_RobotPartInterface_erase, METH_VARARGS, NULL},
292097  { (char *)"CStdPtrArray_RobotPartInterface_SetSize", _wrap_CStdPtrArray_RobotPartInterface_SetSize, METH_VARARGS, NULL},
292098  { (char *)"CStdPtrArray_RobotPartInterface_InsertAt", _wrap_CStdPtrArray_RobotPartInterface_InsertAt, METH_VARARGS, NULL},
292099  { (char *)"CStdPtrArray_RobotPartInterface_GetSize", _wrap_CStdPtrArray_RobotPartInterface_GetSize, METH_VARARGS, NULL},
292100  { (char *)"CStdPtrArray_RobotPartInterface_Clear", _wrap_CStdPtrArray_RobotPartInterface_Clear, METH_VARARGS, NULL},
292101  { (char *)"new_CStdPtrArray_RobotPartInterface", _wrap_new_CStdPtrArray_RobotPartInterface, METH_VARARGS, NULL},
292102  { (char *)"CStdPtrArray_RobotPartInterface_swigregister", CStdPtrArray_RobotPartInterface_swigregister, METH_VARARGS, NULL},
292103  { (char *)"delete_CStdPtrArray_SimulationWindow", _wrap_delete_CStdPtrArray_SimulationWindow, METH_VARARGS, NULL},
292104  { (char *)"CStdPtrArray_SimulationWindow_Add", _wrap_CStdPtrArray_SimulationWindow_Add, METH_VARARGS, NULL},
292105  { (char *)"CStdPtrArray_SimulationWindow_clear", _wrap_CStdPtrArray_SimulationWindow_clear, METH_VARARGS, NULL},
292106  { (char *)"CStdPtrArray_SimulationWindow_RemoveAll", _wrap_CStdPtrArray_SimulationWindow_RemoveAll, METH_VARARGS, NULL},
292107  { (char *)"CStdPtrArray_SimulationWindow_RemoveAt", _wrap_CStdPtrArray_SimulationWindow_RemoveAt, METH_VARARGS, NULL},
292108  { (char *)"CStdPtrArray_SimulationWindow_erase", _wrap_CStdPtrArray_SimulationWindow_erase, METH_VARARGS, NULL},
292109  { (char *)"CStdPtrArray_SimulationWindow_SetSize", _wrap_CStdPtrArray_SimulationWindow_SetSize, METH_VARARGS, NULL},
292110  { (char *)"CStdPtrArray_SimulationWindow_InsertAt", _wrap_CStdPtrArray_SimulationWindow_InsertAt, METH_VARARGS, NULL},
292111  { (char *)"CStdPtrArray_SimulationWindow_GetSize", _wrap_CStdPtrArray_SimulationWindow_GetSize, METH_VARARGS, NULL},
292112  { (char *)"CStdPtrArray_SimulationWindow_Clear", _wrap_CStdPtrArray_SimulationWindow_Clear, METH_VARARGS, NULL},
292113  { (char *)"new_CStdPtrArray_SimulationWindow", _wrap_new_CStdPtrArray_SimulationWindow, METH_VARARGS, NULL},
292114  { (char *)"CStdPtrArray_SimulationWindow_swigregister", CStdPtrArray_SimulationWindow_swigregister, METH_VARARGS, NULL},
292115  { (char *)"delete_CStdPtrArray_CollisionPair", _wrap_delete_CStdPtrArray_CollisionPair, METH_VARARGS, NULL},
292116  { (char *)"CStdPtrArray_CollisionPair_Add", _wrap_CStdPtrArray_CollisionPair_Add, METH_VARARGS, NULL},
292117  { (char *)"CStdPtrArray_CollisionPair_clear", _wrap_CStdPtrArray_CollisionPair_clear, METH_VARARGS, NULL},
292118  { (char *)"CStdPtrArray_CollisionPair_RemoveAll", _wrap_CStdPtrArray_CollisionPair_RemoveAll, METH_VARARGS, NULL},
292119  { (char *)"CStdPtrArray_CollisionPair_RemoveAt", _wrap_CStdPtrArray_CollisionPair_RemoveAt, METH_VARARGS, NULL},
292120  { (char *)"CStdPtrArray_CollisionPair_erase", _wrap_CStdPtrArray_CollisionPair_erase, METH_VARARGS, NULL},
292121  { (char *)"CStdPtrArray_CollisionPair_SetSize", _wrap_CStdPtrArray_CollisionPair_SetSize, METH_VARARGS, NULL},
292122  { (char *)"CStdPtrArray_CollisionPair_InsertAt", _wrap_CStdPtrArray_CollisionPair_InsertAt, METH_VARARGS, NULL},
292123  { (char *)"CStdPtrArray_CollisionPair_GetSize", _wrap_CStdPtrArray_CollisionPair_GetSize, METH_VARARGS, NULL},
292124  { (char *)"CStdPtrArray_CollisionPair_Clear", _wrap_CStdPtrArray_CollisionPair_Clear, METH_VARARGS, NULL},
292125  { (char *)"new_CStdPtrArray_CollisionPair", _wrap_new_CStdPtrArray_CollisionPair, METH_VARARGS, NULL},
292126  { (char *)"CStdPtrArray_CollisionPair_swigregister", CStdPtrArray_CollisionPair_swigregister, METH_VARARGS, NULL},
292127  { (char *)"delete_CStdPtrArray_SimulationThread", _wrap_delete_CStdPtrArray_SimulationThread, METH_VARARGS, NULL},
292128  { (char *)"CStdPtrArray_SimulationThread_Add", _wrap_CStdPtrArray_SimulationThread_Add, METH_VARARGS, NULL},
292129  { (char *)"CStdPtrArray_SimulationThread_clear", _wrap_CStdPtrArray_SimulationThread_clear, METH_VARARGS, NULL},
292130  { (char *)"CStdPtrArray_SimulationThread_RemoveAll", _wrap_CStdPtrArray_SimulationThread_RemoveAll, METH_VARARGS, NULL},
292131  { (char *)"CStdPtrArray_SimulationThread_RemoveAt", _wrap_CStdPtrArray_SimulationThread_RemoveAt, METH_VARARGS, NULL},
292132  { (char *)"CStdPtrArray_SimulationThread_erase", _wrap_CStdPtrArray_SimulationThread_erase, METH_VARARGS, NULL},
292133  { (char *)"CStdPtrArray_SimulationThread_SetSize", _wrap_CStdPtrArray_SimulationThread_SetSize, METH_VARARGS, NULL},
292134  { (char *)"CStdPtrArray_SimulationThread_InsertAt", _wrap_CStdPtrArray_SimulationThread_InsertAt, METH_VARARGS, NULL},
292135  { (char *)"CStdPtrArray_SimulationThread_GetSize", _wrap_CStdPtrArray_SimulationThread_GetSize, METH_VARARGS, NULL},
292136  { (char *)"CStdPtrArray_SimulationThread_Clear", _wrap_CStdPtrArray_SimulationThread_Clear, METH_VARARGS, NULL},
292137  { (char *)"new_CStdPtrArray_SimulationThread", _wrap_new_CStdPtrArray_SimulationThread, METH_VARARGS, NULL},
292138  { (char *)"CStdPtrArray_SimulationThread_swigregister", CStdPtrArray_SimulationThread_swigregister, METH_VARARGS, NULL},
292139  { (char *)"delete_CStdPtrArray_Synapse", _wrap_delete_CStdPtrArray_Synapse, METH_VARARGS, NULL},
292140  { (char *)"CStdPtrArray_Synapse_Add", _wrap_CStdPtrArray_Synapse_Add, METH_VARARGS, NULL},
292141  { (char *)"CStdPtrArray_Synapse_clear", _wrap_CStdPtrArray_Synapse_clear, METH_VARARGS, NULL},
292142  { (char *)"CStdPtrArray_Synapse_RemoveAll", _wrap_CStdPtrArray_Synapse_RemoveAll, METH_VARARGS, NULL},
292143  { (char *)"CStdPtrArray_Synapse_RemoveAt", _wrap_CStdPtrArray_Synapse_RemoveAt, METH_VARARGS, NULL},
292144  { (char *)"CStdPtrArray_Synapse_erase", _wrap_CStdPtrArray_Synapse_erase, METH_VARARGS, NULL},
292145  { (char *)"CStdPtrArray_Synapse_SetSize", _wrap_CStdPtrArray_Synapse_SetSize, METH_VARARGS, NULL},
292146  { (char *)"CStdPtrArray_Synapse_InsertAt", _wrap_CStdPtrArray_Synapse_InsertAt, METH_VARARGS, NULL},
292147  { (char *)"CStdPtrArray_Synapse_GetSize", _wrap_CStdPtrArray_Synapse_GetSize, METH_VARARGS, NULL},
292148  { (char *)"CStdPtrArray_Synapse_Clear", _wrap_CStdPtrArray_Synapse_Clear, METH_VARARGS, NULL},
292149  { (char *)"new_CStdPtrArray_Synapse", _wrap_new_CStdPtrArray_Synapse, METH_VARARGS, NULL},
292150  { (char *)"CStdPtrArray_Synapse_swigregister", CStdPtrArray_Synapse_swigregister, METH_VARARGS, NULL},
292151  { (char *)"delete_CStdPtrArray_Neuron", _wrap_delete_CStdPtrArray_Neuron, METH_VARARGS, NULL},
292152  { (char *)"CStdPtrArray_Neuron_Add", _wrap_CStdPtrArray_Neuron_Add, METH_VARARGS, NULL},
292153  { (char *)"CStdPtrArray_Neuron_clear", _wrap_CStdPtrArray_Neuron_clear, METH_VARARGS, NULL},
292154  { (char *)"CStdPtrArray_Neuron_RemoveAll", _wrap_CStdPtrArray_Neuron_RemoveAll, METH_VARARGS, NULL},
292155  { (char *)"CStdPtrArray_Neuron_RemoveAt", _wrap_CStdPtrArray_Neuron_RemoveAt, METH_VARARGS, NULL},
292156  { (char *)"CStdPtrArray_Neuron_erase", _wrap_CStdPtrArray_Neuron_erase, METH_VARARGS, NULL},
292157  { (char *)"CStdPtrArray_Neuron_SetSize", _wrap_CStdPtrArray_Neuron_SetSize, METH_VARARGS, NULL},
292158  { (char *)"CStdPtrArray_Neuron_InsertAt", _wrap_CStdPtrArray_Neuron_InsertAt, METH_VARARGS, NULL},
292159  { (char *)"CStdPtrArray_Neuron_GetSize", _wrap_CStdPtrArray_Neuron_GetSize, METH_VARARGS, NULL},
292160  { (char *)"CStdPtrArray_Neuron_Clear", _wrap_CStdPtrArray_Neuron_Clear, METH_VARARGS, NULL},
292161  { (char *)"new_CStdPtrArray_Neuron", _wrap_new_CStdPtrArray_Neuron, METH_VARARGS, NULL},
292162  { (char *)"CStdPtrArray_Neuron_swigregister", CStdPtrArray_Neuron_swigregister, METH_VARARGS, NULL},
292163  { (char *)"new_CStdCircularArray_float", _wrap_new_CStdCircularArray_float, METH_VARARGS, NULL},
292164  { (char *)"delete_CStdCircularArray_float", _wrap_delete_CStdCircularArray_float, METH_VARARGS, NULL},
292165  { (char *)"CStdCircularArray_float_CurrentPos", _wrap_CStdCircularArray_float_CurrentPos, METH_VARARGS, NULL},
292166  { (char *)"CStdCircularArray_float_GetHead", _wrap_CStdCircularArray_float_GetHead, METH_VARARGS, NULL},
292167  { (char *)"CStdCircularArray_float_AddEnd", _wrap_CStdCircularArray_float_AddEnd, METH_VARARGS, NULL},
292168  { (char *)"CStdCircularArray_float_GetAt", _wrap_CStdCircularArray_float_GetAt, METH_VARARGS, NULL},
292169  { (char *)"CStdCircularArray_float_Average", _wrap_CStdCircularArray_float_Average, METH_VARARGS, NULL},
292170  { (char *)"CStdCircularArray_float_swigregister", CStdCircularArray_float_swigregister, METH_VARARGS, NULL},
292171  { (char *)"delete_CStdStack_double", _wrap_delete_CStdStack_double, METH_VARARGS, NULL},
292172  { (char *)"CStdStack_double_RemoveAll", _wrap_CStdStack_double_RemoveAll, METH_VARARGS, NULL},
292173  { (char *)"CStdStack_double_Clear", _wrap_CStdStack_double_Clear, METH_VARARGS, NULL},
292174  { (char *)"CStdStack_double_clear", _wrap_CStdStack_double_clear, METH_VARARGS, NULL},
292175  { (char *)"CStdStack_double_Push", _wrap_CStdStack_double_Push, METH_VARARGS, NULL},
292176  { (char *)"CStdStack_double_Pop", _wrap_CStdStack_double_Pop, METH_VARARGS, NULL},
292177  { (char *)"CStdStack_double_Top", _wrap_CStdStack_double_Top, METH_VARARGS, NULL},
292178  { (char *)"CStdStack_double_IsEmpty", _wrap_CStdStack_double_IsEmpty, METH_VARARGS, NULL},
292179  { (char *)"CStdStack_double_GetSize", _wrap_CStdStack_double_GetSize, METH_VARARGS, NULL},
292180  { (char *)"CStdStack_double_Examine", _wrap_CStdStack_double_Examine, METH_VARARGS, NULL},
292181  { (char *)"new_CStdStack_double", _wrap_new_CStdStack_double, METH_VARARGS, NULL},
292182  { (char *)"CStdStack_double_swigregister", CStdStack_double_swigregister, METH_VARARGS, NULL},
292183  { (char *)"delete_CStdMap_string_DataColumn", _wrap_delete_CStdMap_string_DataColumn, METH_VARARGS, NULL},
292184  { (char *)"CStdMap_string_DataColumn_Add", _wrap_CStdMap_string_DataColumn_Add, METH_VARARGS, NULL},
292185  { (char *)"CStdMap_string_DataColumn_RemoveAll", _wrap_CStdMap_string_DataColumn_RemoveAll, METH_VARARGS, NULL},
292186  { (char *)"CStdMap_string_DataColumn_RemoveAt", _wrap_CStdMap_string_DataColumn_RemoveAt, METH_VARARGS, NULL},
292187  { (char *)"CStdMap_string_DataColumn_Remove", _wrap_CStdMap_string_DataColumn_Remove, METH_VARARGS, NULL},
292188  { (char *)"CStdMap_string_DataColumn_GetSize", _wrap_CStdMap_string_DataColumn_GetSize, METH_VARARGS, NULL},
292189  { (char *)"CStdMap_string_DataColumn_Clear", _wrap_CStdMap_string_DataColumn_Clear, METH_VARARGS, NULL},
292190  { (char *)"new_CStdMap_string_DataColumn", _wrap_new_CStdMap_string_DataColumn, METH_VARARGS, NULL},
292191  { (char *)"CStdMap_string_DataColumn_swigregister", CStdMap_string_DataColumn_swigregister, METH_VARARGS, NULL},
292192  { (char *)"delete_CStdMap_string_Odor", _wrap_delete_CStdMap_string_Odor, METH_VARARGS, NULL},
292193  { (char *)"CStdMap_string_Odor_Add", _wrap_CStdMap_string_Odor_Add, METH_VARARGS, NULL},
292194  { (char *)"CStdMap_string_Odor_RemoveAll", _wrap_CStdMap_string_Odor_RemoveAll, METH_VARARGS, NULL},
292195  { (char *)"CStdMap_string_Odor_RemoveAt", _wrap_CStdMap_string_Odor_RemoveAt, METH_VARARGS, NULL},
292196  { (char *)"CStdMap_string_Odor_Remove", _wrap_CStdMap_string_Odor_Remove, METH_VARARGS, NULL},
292197  { (char *)"CStdMap_string_Odor_GetSize", _wrap_CStdMap_string_Odor_GetSize, METH_VARARGS, NULL},
292198  { (char *)"CStdMap_string_Odor_Clear", _wrap_CStdMap_string_Odor_Clear, METH_VARARGS, NULL},
292199  { (char *)"new_CStdMap_string_Odor", _wrap_new_CStdMap_string_Odor, METH_VARARGS, NULL},
292200  { (char *)"CStdMap_string_Odor_swigregister", CStdMap_string_Odor_swigregister, METH_VARARGS, NULL},
292201  { (char *)"delete_CStdMap_string_Structure", _wrap_delete_CStdMap_string_Structure, METH_VARARGS, NULL},
292202  { (char *)"CStdMap_string_Structure_Add", _wrap_CStdMap_string_Structure_Add, METH_VARARGS, NULL},
292203  { (char *)"CStdMap_string_Structure_RemoveAll", _wrap_CStdMap_string_Structure_RemoveAll, METH_VARARGS, NULL},
292204  { (char *)"CStdMap_string_Structure_RemoveAt", _wrap_CStdMap_string_Structure_RemoveAt, METH_VARARGS, NULL},
292205  { (char *)"CStdMap_string_Structure_Remove", _wrap_CStdMap_string_Structure_Remove, METH_VARARGS, NULL},
292206  { (char *)"CStdMap_string_Structure_GetSize", _wrap_CStdMap_string_Structure_GetSize, METH_VARARGS, NULL},
292207  { (char *)"CStdMap_string_Structure_Clear", _wrap_CStdMap_string_Structure_Clear, METH_VARARGS, NULL},
292208  { (char *)"new_CStdMap_string_Structure", _wrap_new_CStdMap_string_Structure, METH_VARARGS, NULL},
292209  { (char *)"CStdMap_string_Structure_swigregister", CStdMap_string_Structure_swigregister, METH_VARARGS, NULL},
292210  { (char *)"delete_CStdMap_string_IStdClassFactory", _wrap_delete_CStdMap_string_IStdClassFactory, METH_VARARGS, NULL},
292211  { (char *)"CStdMap_string_IStdClassFactory_Add", _wrap_CStdMap_string_IStdClassFactory_Add, METH_VARARGS, NULL},
292212  { (char *)"CStdMap_string_IStdClassFactory_RemoveAll", _wrap_CStdMap_string_IStdClassFactory_RemoveAll, METH_VARARGS, NULL},
292213  { (char *)"CStdMap_string_IStdClassFactory_RemoveAt", _wrap_CStdMap_string_IStdClassFactory_RemoveAt, METH_VARARGS, NULL},
292214  { (char *)"CStdMap_string_IStdClassFactory_Remove", _wrap_CStdMap_string_IStdClassFactory_Remove, METH_VARARGS, NULL},
292215  { (char *)"CStdMap_string_IStdClassFactory_GetSize", _wrap_CStdMap_string_IStdClassFactory_GetSize, METH_VARARGS, NULL},
292216  { (char *)"CStdMap_string_IStdClassFactory_Clear", _wrap_CStdMap_string_IStdClassFactory_Clear, METH_VARARGS, NULL},
292217  { (char *)"new_CStdMap_string_IStdClassFactory", _wrap_new_CStdMap_string_IStdClassFactory, METH_VARARGS, NULL},
292218  { (char *)"CStdMap_string_IStdClassFactory_swigregister", CStdMap_string_IStdClassFactory_swigregister, METH_VARARGS, NULL},
292219  { (char *)"delete_CStdMap_string_AnimatBase", _wrap_delete_CStdMap_string_AnimatBase, METH_VARARGS, NULL},
292220  { (char *)"CStdMap_string_AnimatBase_Add", _wrap_CStdMap_string_AnimatBase_Add, METH_VARARGS, NULL},
292221  { (char *)"CStdMap_string_AnimatBase_RemoveAll", _wrap_CStdMap_string_AnimatBase_RemoveAll, METH_VARARGS, NULL},
292222  { (char *)"CStdMap_string_AnimatBase_RemoveAt", _wrap_CStdMap_string_AnimatBase_RemoveAt, METH_VARARGS, NULL},
292223  { (char *)"CStdMap_string_AnimatBase_Remove", _wrap_CStdMap_string_AnimatBase_Remove, METH_VARARGS, NULL},
292224  { (char *)"CStdMap_string_AnimatBase_GetSize", _wrap_CStdMap_string_AnimatBase_GetSize, METH_VARARGS, NULL},
292225  { (char *)"CStdMap_string_AnimatBase_Clear", _wrap_CStdMap_string_AnimatBase_Clear, METH_VARARGS, NULL},
292226  { (char *)"new_CStdMap_string_AnimatBase", _wrap_new_CStdMap_string_AnimatBase, METH_VARARGS, NULL},
292227  { (char *)"CStdMap_string_AnimatBase_swigregister", CStdMap_string_AnimatBase_swigregister, METH_VARARGS, NULL},
292228  { (char *)"delete_CStdMap_string_RigidBody", _wrap_delete_CStdMap_string_RigidBody, METH_VARARGS, NULL},
292229  { (char *)"CStdMap_string_RigidBody_Add", _wrap_CStdMap_string_RigidBody_Add, METH_VARARGS, NULL},
292230  { (char *)"CStdMap_string_RigidBody_RemoveAll", _wrap_CStdMap_string_RigidBody_RemoveAll, METH_VARARGS, NULL},
292231  { (char *)"CStdMap_string_RigidBody_RemoveAt", _wrap_CStdMap_string_RigidBody_RemoveAt, METH_VARARGS, NULL},
292232  { (char *)"CStdMap_string_RigidBody_Remove", _wrap_CStdMap_string_RigidBody_Remove, METH_VARARGS, NULL},
292233  { (char *)"CStdMap_string_RigidBody_GetSize", _wrap_CStdMap_string_RigidBody_GetSize, METH_VARARGS, NULL},
292234  { (char *)"CStdMap_string_RigidBody_Clear", _wrap_CStdMap_string_RigidBody_Clear, METH_VARARGS, NULL},
292235  { (char *)"new_CStdMap_string_RigidBody", _wrap_new_CStdMap_string_RigidBody, METH_VARARGS, NULL},
292236  { (char *)"CStdMap_string_RigidBody_swigregister", CStdMap_string_RigidBody_swigregister, METH_VARARGS, NULL},
292237  { (char *)"delete_CStdMap_string_Joint", _wrap_delete_CStdMap_string_Joint, METH_VARARGS, NULL},
292238  { (char *)"CStdMap_string_Joint_Add", _wrap_CStdMap_string_Joint_Add, METH_VARARGS, NULL},
292239  { (char *)"CStdMap_string_Joint_RemoveAll", _wrap_CStdMap_string_Joint_RemoveAll, METH_VARARGS, NULL},
292240  { (char *)"CStdMap_string_Joint_RemoveAt", _wrap_CStdMap_string_Joint_RemoveAt, METH_VARARGS, NULL},
292241  { (char *)"CStdMap_string_Joint_Remove", _wrap_CStdMap_string_Joint_Remove, METH_VARARGS, NULL},
292242  { (char *)"CStdMap_string_Joint_GetSize", _wrap_CStdMap_string_Joint_GetSize, METH_VARARGS, NULL},
292243  { (char *)"CStdMap_string_Joint_Clear", _wrap_CStdMap_string_Joint_Clear, METH_VARARGS, NULL},
292244  { (char *)"new_CStdMap_string_Joint", _wrap_new_CStdMap_string_Joint, METH_VARARGS, NULL},
292245  { (char *)"CStdMap_string_Joint_swigregister", CStdMap_string_Joint_swigregister, METH_VARARGS, NULL},
292246  { (char *)"delete_CStdPtrMap_string_ActivatedItem", _wrap_delete_CStdPtrMap_string_ActivatedItem, METH_VARARGS, NULL},
292247  { (char *)"CStdPtrMap_string_ActivatedItem_Add", _wrap_CStdPtrMap_string_ActivatedItem_Add, METH_VARARGS, NULL},
292248  { (char *)"CStdPtrMap_string_ActivatedItem_RemoveAll", _wrap_CStdPtrMap_string_ActivatedItem_RemoveAll, METH_VARARGS, NULL},
292249  { (char *)"CStdPtrMap_string_ActivatedItem_Remove", _wrap_CStdPtrMap_string_ActivatedItem_Remove, METH_VARARGS, NULL},
292250  { (char *)"CStdPtrMap_string_ActivatedItem_GetSize", _wrap_CStdPtrMap_string_ActivatedItem_GetSize, METH_VARARGS, NULL},
292251  { (char *)"CStdPtrMap_string_ActivatedItem_Clear", _wrap_CStdPtrMap_string_ActivatedItem_Clear, METH_VARARGS, NULL},
292252  { (char *)"CStdPtrMap_string_ActivatedItem_clear", _wrap_CStdPtrMap_string_ActivatedItem_clear, METH_VARARGS, NULL},
292253  { (char *)"CStdPtrMap_string_ActivatedItem_erase", _wrap_CStdPtrMap_string_ActivatedItem_erase, METH_VARARGS, NULL},
292254  { (char *)"new_CStdPtrMap_string_ActivatedItem", _wrap_new_CStdPtrMap_string_ActivatedItem, METH_VARARGS, NULL},
292255  { (char *)"CStdPtrMap_string_ActivatedItem_swigregister", CStdPtrMap_string_ActivatedItem_swigregister, METH_VARARGS, NULL},
292256  { (char *)"delete_CStdPtrMap_string_NeuralModule", _wrap_delete_CStdPtrMap_string_NeuralModule, METH_VARARGS, NULL},
292257  { (char *)"CStdPtrMap_string_NeuralModule_Add", _wrap_CStdPtrMap_string_NeuralModule_Add, METH_VARARGS, NULL},
292258  { (char *)"CStdPtrMap_string_NeuralModule_RemoveAll", _wrap_CStdPtrMap_string_NeuralModule_RemoveAll, METH_VARARGS, NULL},
292259  { (char *)"CStdPtrMap_string_NeuralModule_Remove", _wrap_CStdPtrMap_string_NeuralModule_Remove, METH_VARARGS, NULL},
292260  { (char *)"CStdPtrMap_string_NeuralModule_GetSize", _wrap_CStdPtrMap_string_NeuralModule_GetSize, METH_VARARGS, NULL},
292261  { (char *)"CStdPtrMap_string_NeuralModule_Clear", _wrap_CStdPtrMap_string_NeuralModule_Clear, METH_VARARGS, NULL},
292262  { (char *)"CStdPtrMap_string_NeuralModule_clear", _wrap_CStdPtrMap_string_NeuralModule_clear, METH_VARARGS, NULL},
292263  { (char *)"CStdPtrMap_string_NeuralModule_erase", _wrap_CStdPtrMap_string_NeuralModule_erase, METH_VARARGS, NULL},
292264  { (char *)"new_CStdPtrMap_string_NeuralModule", _wrap_new_CStdPtrMap_string_NeuralModule, METH_VARARGS, NULL},
292265  { (char *)"CStdPtrMap_string_NeuralModule_swigregister", CStdPtrMap_string_NeuralModule_swigregister, METH_VARARGS, NULL},
292266  { (char *)"delete_CStdPtrMap_string_Odor", _wrap_delete_CStdPtrMap_string_Odor, METH_VARARGS, NULL},
292267  { (char *)"CStdPtrMap_string_Odor_Add", _wrap_CStdPtrMap_string_Odor_Add, METH_VARARGS, NULL},
292268  { (char *)"CStdPtrMap_string_Odor_RemoveAll", _wrap_CStdPtrMap_string_Odor_RemoveAll, METH_VARARGS, NULL},
292269  { (char *)"CStdPtrMap_string_Odor_Remove", _wrap_CStdPtrMap_string_Odor_Remove, METH_VARARGS, NULL},
292270  { (char *)"CStdPtrMap_string_Odor_GetSize", _wrap_CStdPtrMap_string_Odor_GetSize, METH_VARARGS, NULL},
292271  { (char *)"CStdPtrMap_string_Odor_Clear", _wrap_CStdPtrMap_string_Odor_Clear, METH_VARARGS, NULL},
292272  { (char *)"CStdPtrMap_string_Odor_clear", _wrap_CStdPtrMap_string_Odor_clear, METH_VARARGS, NULL},
292273  { (char *)"CStdPtrMap_string_Odor_erase", _wrap_CStdPtrMap_string_Odor_erase, METH_VARARGS, NULL},
292274  { (char *)"new_CStdPtrMap_string_Odor", _wrap_new_CStdPtrMap_string_Odor, METH_VARARGS, NULL},
292275  { (char *)"CStdPtrMap_string_Odor_swigregister", CStdPtrMap_string_Odor_swigregister, METH_VARARGS, NULL},
292276  { (char *)"delete_CStdPtrMap_string_OdorType", _wrap_delete_CStdPtrMap_string_OdorType, METH_VARARGS, NULL},
292277  { (char *)"CStdPtrMap_string_OdorType_Add", _wrap_CStdPtrMap_string_OdorType_Add, METH_VARARGS, NULL},
292278  { (char *)"CStdPtrMap_string_OdorType_RemoveAll", _wrap_CStdPtrMap_string_OdorType_RemoveAll, METH_VARARGS, NULL},
292279  { (char *)"CStdPtrMap_string_OdorType_Remove", _wrap_CStdPtrMap_string_OdorType_Remove, METH_VARARGS, NULL},
292280  { (char *)"CStdPtrMap_string_OdorType_GetSize", _wrap_CStdPtrMap_string_OdorType_GetSize, METH_VARARGS, NULL},
292281  { (char *)"CStdPtrMap_string_OdorType_Clear", _wrap_CStdPtrMap_string_OdorType_Clear, METH_VARARGS, NULL},
292282  { (char *)"CStdPtrMap_string_OdorType_clear", _wrap_CStdPtrMap_string_OdorType_clear, METH_VARARGS, NULL},
292283  { (char *)"CStdPtrMap_string_OdorType_erase", _wrap_CStdPtrMap_string_OdorType_erase, METH_VARARGS, NULL},
292284  { (char *)"new_CStdPtrMap_string_OdorType", _wrap_new_CStdPtrMap_string_OdorType, METH_VARARGS, NULL},
292285  { (char *)"CStdPtrMap_string_OdorType_swigregister", CStdPtrMap_string_OdorType_swigregister, METH_VARARGS, NULL},
292286  { (char *)"delete_CStdPtrMap_string_Organism", _wrap_delete_CStdPtrMap_string_Organism, METH_VARARGS, NULL},
292287  { (char *)"CStdPtrMap_string_Organism_Add", _wrap_CStdPtrMap_string_Organism_Add, METH_VARARGS, NULL},
292288  { (char *)"CStdPtrMap_string_Organism_RemoveAll", _wrap_CStdPtrMap_string_Organism_RemoveAll, METH_VARARGS, NULL},
292289  { (char *)"CStdPtrMap_string_Organism_Remove", _wrap_CStdPtrMap_string_Organism_Remove, METH_VARARGS, NULL},
292290  { (char *)"CStdPtrMap_string_Organism_GetSize", _wrap_CStdPtrMap_string_Organism_GetSize, METH_VARARGS, NULL},
292291  { (char *)"CStdPtrMap_string_Organism_Clear", _wrap_CStdPtrMap_string_Organism_Clear, METH_VARARGS, NULL},
292292  { (char *)"CStdPtrMap_string_Organism_clear", _wrap_CStdPtrMap_string_Organism_clear, METH_VARARGS, NULL},
292293  { (char *)"CStdPtrMap_string_Organism_erase", _wrap_CStdPtrMap_string_Organism_erase, METH_VARARGS, NULL},
292294  { (char *)"new_CStdPtrMap_string_Organism", _wrap_new_CStdPtrMap_string_Organism, METH_VARARGS, NULL},
292295  { (char *)"CStdPtrMap_string_Organism_swigregister", CStdPtrMap_string_Organism_swigregister, METH_VARARGS, NULL},
292296  { (char *)"delete_CStdPtrMap_string_Structure", _wrap_delete_CStdPtrMap_string_Structure, METH_VARARGS, NULL},
292297  { (char *)"CStdPtrMap_string_Structure_Add", _wrap_CStdPtrMap_string_Structure_Add, METH_VARARGS, NULL},
292298  { (char *)"CStdPtrMap_string_Structure_RemoveAll", _wrap_CStdPtrMap_string_Structure_RemoveAll, METH_VARARGS, NULL},
292299  { (char *)"CStdPtrMap_string_Structure_Remove", _wrap_CStdPtrMap_string_Structure_Remove, METH_VARARGS, NULL},
292300  { (char *)"CStdPtrMap_string_Structure_GetSize", _wrap_CStdPtrMap_string_Structure_GetSize, METH_VARARGS, NULL},
292301  { (char *)"CStdPtrMap_string_Structure_Clear", _wrap_CStdPtrMap_string_Structure_Clear, METH_VARARGS, NULL},
292302  { (char *)"CStdPtrMap_string_Structure_clear", _wrap_CStdPtrMap_string_Structure_clear, METH_VARARGS, NULL},
292303  { (char *)"CStdPtrMap_string_Structure_erase", _wrap_CStdPtrMap_string_Structure_erase, METH_VARARGS, NULL},
292304  { (char *)"new_CStdPtrMap_string_Structure", _wrap_new_CStdPtrMap_string_Structure, METH_VARARGS, NULL},
292305  { (char *)"CStdPtrMap_string_Structure_swigregister", CStdPtrMap_string_Structure_swigregister, METH_VARARGS, NULL},
292306  { (char *)"new_CStdSerialize", _wrap_new_CStdSerialize, METH_VARARGS, NULL},
292307  { (char *)"delete_CStdSerialize", _wrap_delete_CStdSerialize, METH_VARARGS, NULL},
292308  { (char *)"CStdSerialize_Clone", _wrap_CStdSerialize_Clone, METH_VARARGS, NULL},
292309  { (char *)"CStdSerialize_Copy", _wrap_CStdSerialize_Copy, METH_VARARGS, NULL},
292310  { (char *)"CStdSerialize_Trace", _wrap_CStdSerialize_Trace, METH_VARARGS, NULL},
292311  { (char *)"CStdSerialize_Load", _wrap_CStdSerialize_Load, METH_VARARGS, NULL},
292312  { (char *)"CStdSerialize_Save", _wrap_CStdSerialize_Save, METH_VARARGS, NULL},
292313  { (char *)"CStdSerialize_swigregister", CStdSerialize_swigregister, METH_VARARGS, NULL},
292314  { (char *)"__lshift__", _wrap___lshift__, METH_VARARGS, NULL},
292315  { (char *)"Std_SavePoint", _wrap_Std_SavePoint, METH_VARARGS, NULL},
292316  { (char *)"Std_LoadPoint", _wrap_Std_LoadPoint, METH_VARARGS, NULL},
292317  { (char *)"Std_CalculateDistance", _wrap_Std_CalculateDistance, METH_VARARGS, NULL},
292318  { (char *)"new_CMarkupSTL", _wrap_new_CMarkupSTL, METH_VARARGS, NULL},
292319  { (char *)"delete_CMarkupSTL", _wrap_delete_CMarkupSTL, METH_VARARGS, NULL},
292320  { (char *)"CMarkupSTL_Load", _wrap_CMarkupSTL_Load, METH_VARARGS, NULL},
292321  { (char *)"CMarkupSTL_SetDoc", _wrap_CMarkupSTL_SetDoc, METH_VARARGS, NULL},
292322  { (char *)"CMarkupSTL_IsWellFormed", _wrap_CMarkupSTL_IsWellFormed, METH_VARARGS, NULL},
292323  { (char *)"CMarkupSTL_FindElem", _wrap_CMarkupSTL_FindElem, METH_VARARGS, NULL},
292324  { (char *)"CMarkupSTL_FindChildElem", _wrap_CMarkupSTL_FindChildElem, METH_VARARGS, NULL},
292325  { (char *)"CMarkupSTL_IntoElem", _wrap_CMarkupSTL_IntoElem, METH_VARARGS, NULL},
292326  { (char *)"CMarkupSTL_OutOfElem", _wrap_CMarkupSTL_OutOfElem, METH_VARARGS, NULL},
292327  { (char *)"CMarkupSTL_ResetChildPos", _wrap_CMarkupSTL_ResetChildPos, METH_VARARGS, NULL},
292328  { (char *)"CMarkupSTL_ResetMainPos", _wrap_CMarkupSTL_ResetMainPos, METH_VARARGS, NULL},
292329  { (char *)"CMarkupSTL_ResetPos", _wrap_CMarkupSTL_ResetPos, METH_VARARGS, NULL},
292330  { (char *)"CMarkupSTL_GetTagName", _wrap_CMarkupSTL_GetTagName, METH_VARARGS, NULL},
292331  { (char *)"CMarkupSTL_GetChildTagName", _wrap_CMarkupSTL_GetChildTagName, METH_VARARGS, NULL},
292332  { (char *)"CMarkupSTL_GetData", _wrap_CMarkupSTL_GetData, METH_VARARGS, NULL},
292333  { (char *)"CMarkupSTL_GetChildData", _wrap_CMarkupSTL_GetChildData, METH_VARARGS, NULL},
292334  { (char *)"CMarkupSTL_GetAttrib", _wrap_CMarkupSTL_GetAttrib, METH_VARARGS, NULL},
292335  { (char *)"CMarkupSTL_GetChildAttrib", _wrap_CMarkupSTL_GetChildAttrib, METH_VARARGS, NULL},
292336  { (char *)"CMarkupSTL_GetAttribName", _wrap_CMarkupSTL_GetAttribName, METH_VARARGS, NULL},
292337  { (char *)"CMarkupSTL_SavePos", _wrap_CMarkupSTL_SavePos, METH_VARARGS, NULL},
292338  { (char *)"CMarkupSTL_RestorePos", _wrap_CMarkupSTL_RestorePos, METH_VARARGS, NULL},
292339  { (char *)"CMarkupSTL_GetOffsets", _wrap_CMarkupSTL_GetOffsets, METH_VARARGS, NULL},
292340  { (char *)"CMarkupSTL_GetError", _wrap_CMarkupSTL_GetError, METH_VARARGS, NULL},
292341  { (char *)"CMarkupSTL_Save", _wrap_CMarkupSTL_Save, METH_VARARGS, NULL},
292342  { (char *)"CMarkupSTL_GetDoc", _wrap_CMarkupSTL_GetDoc, METH_VARARGS, NULL},
292343  { (char *)"CMarkupSTL_AddElem", _wrap_CMarkupSTL_AddElem, METH_VARARGS, NULL},
292344  { (char *)"CMarkupSTL_InsertElem", _wrap_CMarkupSTL_InsertElem, METH_VARARGS, NULL},
292345  { (char *)"CMarkupSTL_AddChildElem", _wrap_CMarkupSTL_AddChildElem, METH_VARARGS, NULL},
292346  { (char *)"CMarkupSTL_InsertChildElem", _wrap_CMarkupSTL_InsertChildElem, METH_VARARGS, NULL},
292347  { (char *)"CMarkupSTL_AddAttrib", _wrap_CMarkupSTL_AddAttrib, METH_VARARGS, NULL},
292348  { (char *)"CMarkupSTL_AddChildAttrib", _wrap_CMarkupSTL_AddChildAttrib, METH_VARARGS, NULL},
292349  { (char *)"CMarkupSTL_AddChildSubDoc", _wrap_CMarkupSTL_AddChildSubDoc, METH_VARARGS, NULL},
292350  { (char *)"CMarkupSTL_InsertChildSubDoc", _wrap_CMarkupSTL_InsertChildSubDoc, METH_VARARGS, NULL},
292351  { (char *)"CMarkupSTL_GetChildSubDoc", _wrap_CMarkupSTL_GetChildSubDoc, METH_VARARGS, NULL},
292352  { (char *)"CMarkupSTL_RemoveElem", _wrap_CMarkupSTL_RemoveElem, METH_VARARGS, NULL},
292353  { (char *)"CMarkupSTL_RemoveChildElem", _wrap_CMarkupSTL_RemoveChildElem, METH_VARARGS, NULL},
292354  { (char *)"CMarkupSTL_SetAttrib", _wrap_CMarkupSTL_SetAttrib, METH_VARARGS, NULL},
292355  { (char *)"CMarkupSTL_SetChildAttrib", _wrap_CMarkupSTL_SetChildAttrib, METH_VARARGS, NULL},
292356  { (char *)"CMarkupSTL_SetData", _wrap_CMarkupSTL_SetData, METH_VARARGS, NULL},
292357  { (char *)"CMarkupSTL_SetChildData", _wrap_CMarkupSTL_SetChildData, METH_VARARGS, NULL},
292358  { (char *)"CMarkupSTL_swigregister", CMarkupSTL_swigregister, METH_VARARGS, NULL},
292359  { (char *)"new_CStdXml", _wrap_new_CStdXml, METH_VARARGS, NULL},
292360  { (char *)"delete_CStdXml", _wrap_delete_CStdXml, METH_VARARGS, NULL},
292361  { (char *)"CStdXml_Serialize", _wrap_CStdXml_Serialize, METH_VARARGS, NULL},
292362  { (char *)"CStdXml_Deserialize", _wrap_CStdXml_Deserialize, METH_VARARGS, NULL},
292363  { (char *)"CStdXml_IntoElem", _wrap_CStdXml_IntoElem, METH_VARARGS, NULL},
292364  { (char *)"CStdXml_OutOfElem", _wrap_CStdXml_OutOfElem, METH_VARARGS, NULL},
292365  { (char *)"CStdXml_FullTagPath", _wrap_CStdXml_FullTagPath, METH_VARARGS, NULL},
292366  { (char *)"CStdXml_NumberOfChildren", _wrap_CStdXml_NumberOfChildren, METH_VARARGS, NULL},
292367  { (char *)"CStdXml_FindElement", _wrap_CStdXml_FindElement, METH_VARARGS, NULL},
292368  { (char *)"CStdXml_FindChildByIndex", _wrap_CStdXml_FindChildByIndex, METH_VARARGS, NULL},
292369  { (char *)"CStdXml_FindChildElement", _wrap_CStdXml_FindChildElement, METH_VARARGS, NULL},
292370  { (char *)"CStdXml_IntoChildElement", _wrap_CStdXml_IntoChildElement, METH_VARARGS, NULL},
292371  { (char *)"CStdXml_GetChildString", _wrap_CStdXml_GetChildString, METH_VARARGS, NULL},
292372  { (char *)"CStdXml_GetChildLong", _wrap_CStdXml_GetChildLong, METH_VARARGS, NULL},
292373  { (char *)"CStdXml_GetChildInt", _wrap_CStdXml_GetChildInt, METH_VARARGS, NULL},
292374  { (char *)"CStdXml_GetChildDouble", _wrap_CStdXml_GetChildDouble, METH_VARARGS, NULL},
292375  { (char *)"CStdXml_GetChildFloat", _wrap_CStdXml_GetChildFloat, METH_VARARGS, NULL},
292376  { (char *)"CStdXml_GetChildBool", _wrap_CStdXml_GetChildBool, METH_VARARGS, NULL},
292377  { (char *)"CStdXml_AddElement", _wrap_CStdXml_AddElement, METH_VARARGS, NULL},
292378  { (char *)"CStdXml_AddChildElement", _wrap_CStdXml_AddChildElement, METH_VARARGS, NULL},
292379  { (char *)"CStdXml_AddChildCData", _wrap_CStdXml_AddChildCData, METH_VARARGS, NULL},
292380  { (char *)"CStdXml_GetAttribString", _wrap_CStdXml_GetAttribString, METH_VARARGS, NULL},
292381  { (char *)"CStdXml_GetAttribLong", _wrap_CStdXml_GetAttribLong, METH_VARARGS, NULL},
292382  { (char *)"CStdXml_GetAttribInt", _wrap_CStdXml_GetAttribInt, METH_VARARGS, NULL},
292383  { (char *)"CStdXml_GetAttribDouble", _wrap_CStdXml_GetAttribDouble, METH_VARARGS, NULL},
292384  { (char *)"CStdXml_GetAttribFloat", _wrap_CStdXml_GetAttribFloat, METH_VARARGS, NULL},
292385  { (char *)"CStdXml_GetAttribBool", _wrap_CStdXml_GetAttribBool, METH_VARARGS, NULL},
292386  { (char *)"CStdXml_SetAttrib", _wrap_CStdXml_SetAttrib, METH_VARARGS, NULL},
292387  { (char *)"CStdXml_GetChildAttribString", _wrap_CStdXml_GetChildAttribString, METH_VARARGS, NULL},
292388  { (char *)"CStdXml_GetChildAttribLong", _wrap_CStdXml_GetChildAttribLong, METH_VARARGS, NULL},
292389  { (char *)"CStdXml_GetChildAttribInt", _wrap_CStdXml_GetChildAttribInt, METH_VARARGS, NULL},
292390  { (char *)"CStdXml_GetChildAttribDouble", _wrap_CStdXml_GetChildAttribDouble, METH_VARARGS, NULL},
292391  { (char *)"CStdXml_GetChildAttribFloat", _wrap_CStdXml_GetChildAttribFloat, METH_VARARGS, NULL},
292392  { (char *)"CStdXml_GetChildAttribBool", _wrap_CStdXml_GetChildAttribBool, METH_VARARGS, NULL},
292393  { (char *)"CStdXml_SetChildAttrib", _wrap_CStdXml_SetChildAttrib, METH_VARARGS, NULL},
292394  { (char *)"CStdXml_AddChildDoc", _wrap_CStdXml_AddChildDoc, METH_VARARGS, NULL},
292395  { (char *)"CStdXml_GetChildDoc", _wrap_CStdXml_GetChildDoc, METH_VARARGS, NULL},
292396  { (char *)"CStdXml_GetParentTagName", _wrap_CStdXml_GetParentTagName, METH_VARARGS, NULL},
292397  { (char *)"CStdXml_Load", _wrap_CStdXml_Load, METH_VARARGS, NULL},
292398  { (char *)"CStdXml_Save", _wrap_CStdXml_Save, METH_VARARGS, NULL},
292399  { (char *)"CStdXml_swigregister", CStdXml_swigregister, METH_VARARGS, NULL},
292400  { (char *)"CStdFont_m_strName_set", _wrap_CStdFont_m_strName_set, METH_VARARGS, NULL},
292401  { (char *)"CStdFont_m_strName_get", _wrap_CStdFont_m_strName_get, METH_VARARGS, NULL},
292402  { (char *)"CStdFont_m_fltSize_set", _wrap_CStdFont_m_fltSize_set, METH_VARARGS, NULL},
292403  { (char *)"CStdFont_m_fltSize_get", _wrap_CStdFont_m_fltSize_get, METH_VARARGS, NULL},
292404  { (char *)"CStdFont_m_fltWeight_set", _wrap_CStdFont_m_fltWeight_set, METH_VARARGS, NULL},
292405  { (char *)"CStdFont_m_fltWeight_get", _wrap_CStdFont_m_fltWeight_get, METH_VARARGS, NULL},
292406  { (char *)"CStdFont_m_bBold_set", _wrap_CStdFont_m_bBold_set, METH_VARARGS, NULL},
292407  { (char *)"CStdFont_m_bBold_get", _wrap_CStdFont_m_bBold_get, METH_VARARGS, NULL},
292408  { (char *)"CStdFont_m_bItalic_set", _wrap_CStdFont_m_bItalic_set, METH_VARARGS, NULL},
292409  { (char *)"CStdFont_m_bItalic_get", _wrap_CStdFont_m_bItalic_get, METH_VARARGS, NULL},
292410  { (char *)"CStdFont_m_bStrikethrough_set", _wrap_CStdFont_m_bStrikethrough_set, METH_VARARGS, NULL},
292411  { (char *)"CStdFont_m_bStrikethrough_get", _wrap_CStdFont_m_bStrikethrough_get, METH_VARARGS, NULL},
292412  { (char *)"CStdFont_m_bUnderline_set", _wrap_CStdFont_m_bUnderline_set, METH_VARARGS, NULL},
292413  { (char *)"CStdFont_m_bUnderline_get", _wrap_CStdFont_m_bUnderline_get, METH_VARARGS, NULL},
292414  { (char *)"new_CStdFont", _wrap_new_CStdFont, METH_VARARGS, NULL},
292415  { (char *)"delete_CStdFont", _wrap_delete_CStdFont, METH_VARARGS, NULL},
292416  { (char *)"CStdFont_Load", _wrap_CStdFont_Load, METH_VARARGS, NULL},
292417  { (char *)"CStdFont_Save", _wrap_CStdFont_Save, METH_VARARGS, NULL},
292418  { (char *)"CStdFont_swigregister", CStdFont_swigregister, METH_VARARGS, NULL},
292419  { (char *)"CStdVariable_m_strVariable_set", _wrap_CStdVariable_m_strVariable_set, METH_VARARGS, NULL},
292420  { (char *)"CStdVariable_m_strVariable_get", _wrap_CStdVariable_m_strVariable_get, METH_VARARGS, NULL},
292421  { (char *)"CStdVariable_m_dblValue_set", _wrap_CStdVariable_m_dblValue_set, METH_VARARGS, NULL},
292422  { (char *)"CStdVariable_m_dblValue_get", _wrap_CStdVariable_m_dblValue_get, METH_VARARGS, NULL},
292423  { (char *)"new_CStdVariable", _wrap_new_CStdVariable, METH_VARARGS, NULL},
292424  { (char *)"delete_CStdVariable", _wrap_delete_CStdVariable, METH_VARARGS, NULL},
292425  { (char *)"CStdVariable_swigregister", CStdVariable_swigregister, METH_VARARGS, NULL},
292426  { (char *)"new_CStdPostFixEval", _wrap_new_CStdPostFixEval, METH_VARARGS, NULL},
292427  { (char *)"delete_CStdPostFixEval", _wrap_delete_CStdPostFixEval, METH_VARARGS, NULL},
292428  { (char *)"CStdPostFixEval_AddVariable", _wrap_CStdPostFixEval_AddVariable, METH_VARARGS, NULL},
292429  { (char *)"CStdPostFixEval_SetVariable", _wrap_CStdPostFixEval_SetVariable, METH_VARARGS, NULL},
292430  { (char *)"CStdPostFixEval_Solution", _wrap_CStdPostFixEval_Solution, METH_VARARGS, NULL},
292431  { (char *)"CStdPostFixEval_Equation", _wrap_CStdPostFixEval_Equation, METH_VARARGS, NULL},
292432  { (char *)"CStdPostFixEval_Solve", _wrap_CStdPostFixEval_Solve, METH_VARARGS, NULL},
292433  { (char *)"CStdPostFixEval_swigregister", CStdPostFixEval_swigregister, METH_VARARGS, NULL},
292434  { (char *)"StdVtEmpty_swigconstant", StdVtEmpty_swigconstant, METH_VARARGS, NULL},
292435  { (char *)"StdVtShort_swigconstant", StdVtShort_swigconstant, METH_VARARGS, NULL},
292436  { (char *)"StdVtLong_swigconstant", StdVtLong_swigconstant, METH_VARARGS, NULL},
292437  { (char *)"StdVtFloat_swigconstant", StdVtFloat_swigconstant, METH_VARARGS, NULL},
292438  { (char *)"StdVtDouble_swigconstant", StdVtDouble_swigconstant, METH_VARARGS, NULL},
292439  { (char *)"StdVtBool_swigconstant", StdVtBool_swigconstant, METH_VARARGS, NULL},
292440  { (char *)"StdVtChar_swigconstant", StdVtChar_swigconstant, METH_VARARGS, NULL},
292441  { (char *)"StdVtUChar_swigconstant", StdVtUChar_swigconstant, METH_VARARGS, NULL},
292442  { (char *)"StdVtUShort_swigconstant", StdVtUShort_swigconstant, METH_VARARGS, NULL},
292443  { (char *)"StdVtULong_swigconstant", StdVtULong_swigconstant, METH_VARARGS, NULL},
292444  { (char *)"StdVtInt_swigconstant", StdVtInt_swigconstant, METH_VARARGS, NULL},
292445  { (char *)"StdVtUInt_swigconstant", StdVtUInt_swigconstant, METH_VARARGS, NULL},
292446  { (char *)"StdVtString_swigconstant", StdVtString_swigconstant, METH_VARARGS, NULL},
292447  { (char *)"new_CStdVariant", _wrap_new_CStdVariant, METH_VARARGS, NULL},
292448  { (char *)"delete_CStdVariant", _wrap_delete_CStdVariant, METH_VARARGS, NULL},
292449  { (char *)"CStdVariant_Reset", _wrap_CStdVariant_Reset, METH_VARARGS, NULL},
292450  { (char *)"CStdVariant_VariantType", _wrap_CStdVariant_VariantType, METH_VARARGS, NULL},
292451  { (char *)"CStdVariant_VariantTypeName", _wrap_CStdVariant_VariantTypeName, METH_VARARGS, NULL},
292452  { (char *)"CStdVariant_GetShort", _wrap_CStdVariant_GetShort, METH_VARARGS, NULL},
292453  { (char *)"CStdVariant_GetShortPtr", _wrap_CStdVariant_GetShortPtr, METH_VARARGS, NULL},
292454  { (char *)"CStdVariant_GetLong", _wrap_CStdVariant_GetLong, METH_VARARGS, NULL},
292455  { (char *)"CStdVariant_GetLongPtr", _wrap_CStdVariant_GetLongPtr, METH_VARARGS, NULL},
292456  { (char *)"CStdVariant_GetFloat", _wrap_CStdVariant_GetFloat, METH_VARARGS, NULL},
292457  { (char *)"CStdVariant_GetFloatPtr", _wrap_CStdVariant_GetFloatPtr, METH_VARARGS, NULL},
292458  { (char *)"CStdVariant_GetDouble", _wrap_CStdVariant_GetDouble, METH_VARARGS, NULL},
292459  { (char *)"CStdVariant_GetDoublePtr", _wrap_CStdVariant_GetDoublePtr, METH_VARARGS, NULL},
292460  { (char *)"CStdVariant_GetBool", _wrap_CStdVariant_GetBool, METH_VARARGS, NULL},
292461  { (char *)"CStdVariant_GetBoolPtr", _wrap_CStdVariant_GetBoolPtr, METH_VARARGS, NULL},
292462  { (char *)"CStdVariant_GetChar", _wrap_CStdVariant_GetChar, METH_VARARGS, NULL},
292463  { (char *)"CStdVariant_GetCharPtr", _wrap_CStdVariant_GetCharPtr, METH_VARARGS, NULL},
292464  { (char *)"CStdVariant_GetUChar", _wrap_CStdVariant_GetUChar, METH_VARARGS, NULL},
292465  { (char *)"CStdVariant_GetUCharPtr", _wrap_CStdVariant_GetUCharPtr, METH_VARARGS, NULL},
292466  { (char *)"CStdVariant_GetUShort", _wrap_CStdVariant_GetUShort, METH_VARARGS, NULL},
292467  { (char *)"CStdVariant_GetUShortPtr", _wrap_CStdVariant_GetUShortPtr, METH_VARARGS, NULL},
292468  { (char *)"CStdVariant_GetULong", _wrap_CStdVariant_GetULong, METH_VARARGS, NULL},
292469  { (char *)"CStdVariant_GetULongPtr", _wrap_CStdVariant_GetULongPtr, METH_VARARGS, NULL},
292470  { (char *)"CStdVariant_GetInt", _wrap_CStdVariant_GetInt, METH_VARARGS, NULL},
292471  { (char *)"CStdVariant_GetIntPtr", _wrap_CStdVariant_GetIntPtr, METH_VARARGS, NULL},
292472  { (char *)"CStdVariant_GetUInt", _wrap_CStdVariant_GetUInt, METH_VARARGS, NULL},
292473  { (char *)"CStdVariant_GetUIntPtr", _wrap_CStdVariant_GetUIntPtr, METH_VARARGS, NULL},
292474  { (char *)"CStdVariant_GetString", _wrap_CStdVariant_GetString, METH_VARARGS, NULL},
292475  { (char *)"CStdVariant_GetNumericString", _wrap_CStdVariant_GetNumericString, METH_VARARGS, NULL},
292476  { (char *)"CStdVariant_GetStringPtr", _wrap_CStdVariant_GetStringPtr, METH_VARARGS, NULL},
292477  { (char *)"CStdVariant_SetValue", _wrap_CStdVariant_SetValue, METH_VARARGS, NULL},
292478  { (char *)"CStdVariant_SetPtr", _wrap_CStdVariant_SetPtr, METH_VARARGS, NULL},
292479  { (char *)"CStdVariant_Copy", _wrap_CStdVariant_Copy, METH_VARARGS, NULL},
292480  { (char *)"CStdVariant_Clone", _wrap_CStdVariant_Clone, METH_VARARGS, NULL},
292481  { (char *)"CStdVariant_Trace", _wrap_CStdVariant_Trace, METH_VARARGS, NULL},
292482  { (char *)"CStdVariant_Load", _wrap_CStdVariant_Load, METH_VARARGS, NULL},
292483  { (char *)"CStdVariant_Save", _wrap_CStdVariant_Save, METH_VARARGS, NULL},
292484  { (char *)"CStdVariant_swigregister", CStdVariant_swigregister, METH_VARARGS, NULL},
292485  { (char *)"delete_IStdClassFactory", _wrap_delete_IStdClassFactory, METH_VARARGS, NULL},
292486  { (char *)"IStdClassFactory_CreateObject", _wrap_IStdClassFactory_CreateObject, METH_VARARGS, NULL},
292487  { (char *)"IStdClassFactory_LoadModule", _wrap_IStdClassFactory_LoadModule, METH_VARARGS, NULL},
292488  { (char *)"IStdClassFactory_swigregister", IStdClassFactory_swigregister, METH_VARARGS, NULL},
292489  { (char *)"new_CStdLookupTable", _wrap_new_CStdLookupTable, METH_VARARGS, NULL},
292490  { (char *)"delete_CStdLookupTable", _wrap_delete_CStdLookupTable, METH_VARARGS, NULL},
292491  { (char *)"CStdLookupTable_InitialPointCount", _wrap_CStdLookupTable_InitialPointCount, METH_VARARGS, NULL},
292492  { (char *)"CStdLookupTable_InitialPoint", _wrap_CStdLookupTable_InitialPoint, METH_VARARGS, NULL},
292493  { (char *)"CStdLookupTable_TableSize", _wrap_CStdLookupTable_TableSize, METH_VARARGS, NULL},
292494  { (char *)"CStdLookupTable_Delta", _wrap_CStdLookupTable_Delta, METH_VARARGS, NULL},
292495  { (char *)"CStdLookupTable_StartX", _wrap_CStdLookupTable_StartX, METH_VARARGS, NULL},
292496  { (char *)"CStdLookupTable_EndX", _wrap_CStdLookupTable_EndX, METH_VARARGS, NULL},
292497  { (char *)"CStdLookupTable_UseLowLimitValue", _wrap_CStdLookupTable_UseLowLimitValue, METH_VARARGS, NULL},
292498  { (char *)"CStdLookupTable_UseHighLimitValue", _wrap_CStdLookupTable_UseHighLimitValue, METH_VARARGS, NULL},
292499  { (char *)"CStdLookupTable_LowLimitValue", _wrap_CStdLookupTable_LowLimitValue, METH_VARARGS, NULL},
292500  { (char *)"CStdLookupTable_HighLimitValue", _wrap_CStdLookupTable_HighLimitValue, METH_VARARGS, NULL},
292501  { (char *)"CStdLookupTable_AddPoint", _wrap_CStdLookupTable_AddPoint, METH_VARARGS, NULL},
292502  { (char *)"CStdLookupTable_Initialize", _wrap_CStdLookupTable_Initialize, METH_VARARGS, NULL},
292503  { (char *)"CStdLookupTable_Clear", _wrap_CStdLookupTable_Clear, METH_VARARGS, NULL},
292504  { (char *)"CStdLookupTable_Evaluate", _wrap_CStdLookupTable_Evaluate, METH_VARARGS, NULL},
292505  { (char *)"CStdLookupTable_Load", _wrap_CStdLookupTable_Load, METH_VARARGS, NULL},
292506  { (char *)"CStdLookupTable_Save", _wrap_CStdLookupTable_Save, METH_VARARGS, NULL},
292507  { (char *)"CStdLookupTable_swigregister", CStdLookupTable_swigregister, METH_VARARGS, NULL},
292508  { (char *)"new_CStdFixed", _wrap_new_CStdFixed, METH_VARARGS, NULL},
292509  { (char *)"delete_CStdFixed", _wrap_delete_CStdFixed, METH_VARARGS, NULL},
292510  { (char *)"CStdFixed_M", _wrap_CStdFixed_M, METH_VARARGS, NULL},
292511  { (char *)"CStdFixed_N", _wrap_CStdFixed_N, METH_VARARGS, NULL},
292512  { (char *)"CStdFixed_MultM", _wrap_CStdFixed_MultM, METH_VARARGS, NULL},
292513  { (char *)"CStdFixed_MultN", _wrap_CStdFixed_MultN, METH_VARARGS, NULL},
292514  { (char *)"CStdFixed_FixedVal", _wrap_CStdFixed_FixedVal, METH_VARARGS, NULL},
292515  { (char *)"CStdFixed_Fixed", _wrap_CStdFixed_Fixed, METH_VARARGS, NULL},
292516  { (char *)"CStdFixed_GetFloat", _wrap_CStdFixed_GetFloat, METH_VARARGS, NULL},
292517  { (char *)"CStdFixed_GetFloatPtr", _wrap_CStdFixed_GetFloatPtr, METH_VARARGS, NULL},
292518  { (char *)"CStdFixed_GetDouble", _wrap_CStdFixed_GetDouble, METH_VARARGS, NULL},
292519  { (char *)"CStdFixed_GetDoublePtr", _wrap_CStdFixed_GetDoublePtr, METH_VARARGS, NULL},
292520  { (char *)"CStdFixed_GetLongPtr", _wrap_CStdFixed_GetLongPtr, METH_VARARGS, NULL},
292521  { (char *)"CStdFixed_Configure", _wrap_CStdFixed_Configure, METH_VARARGS, NULL},
292522  { (char *)"CStdFixed___add__", _wrap_CStdFixed___add__, METH_VARARGS, NULL},
292523  { (char *)"CStdFixed___iadd__", _wrap_CStdFixed___iadd__, METH_VARARGS, NULL},
292524  { (char *)"CStdFixed___sub__", _wrap_CStdFixed___sub__, METH_VARARGS, NULL},
292525  { (char *)"CStdFixed___isub__", _wrap_CStdFixed___isub__, METH_VARARGS, NULL},
292526  { (char *)"CStdFixed___mul__", _wrap_CStdFixed___mul__, METH_VARARGS, NULL},
292527  { (char *)"CStdFixed___imul__", _wrap_CStdFixed___imul__, METH_VARARGS, NULL},
292528  { (char *)"CStdFixed___div__", _wrap_CStdFixed___div__, METH_VARARGS, NULL},
292529  { (char *)"CStdFixed___idiv__", _wrap_CStdFixed___idiv__, METH_VARARGS, NULL},
292530  { (char *)"CStdFixed___eq__", _wrap_CStdFixed___eq__, METH_VARARGS, NULL},
292531  { (char *)"CStdFixed___lt__", _wrap_CStdFixed___lt__, METH_VARARGS, NULL},
292532  { (char *)"CStdFixed___le__", _wrap_CStdFixed___le__, METH_VARARGS, NULL},
292533  { (char *)"CStdFixed___gt__", _wrap_CStdFixed___gt__, METH_VARARGS, NULL},
292534  { (char *)"CStdFixed___ge__", _wrap_CStdFixed___ge__, METH_VARARGS, NULL},
292535  { (char *)"CStdFixed___ne__", _wrap_CStdFixed___ne__, METH_VARARGS, NULL},
292536  { (char *)"CStdFixed___lshift__", _wrap_CStdFixed___lshift__, METH_VARARGS, NULL},
292537  { (char *)"CStdFixed_swigregister", CStdFixed_swigregister, METH_VARARGS, NULL},
292538  { (char *)"new_CStdColor", _wrap_new_CStdColor, METH_VARARGS, NULL},
292539  { (char *)"CStdColor_r", _wrap_CStdColor_r, METH_VARARGS, NULL},
292540  { (char *)"CStdColor_g", _wrap_CStdColor_g, METH_VARARGS, NULL},
292541  { (char *)"CStdColor_b", _wrap_CStdColor_b, METH_VARARGS, NULL},
292542  { (char *)"CStdColor_a", _wrap_CStdColor_a, METH_VARARGS, NULL},
292543  { (char *)"CStdColor_Set", _wrap_CStdColor_Set, METH_VARARGS, NULL},
292544  { (char *)"CStdColor___eq__", _wrap_CStdColor___eq__, METH_VARARGS, NULL},
292545  { (char *)"CStdColor___ne__", _wrap_CStdColor___ne__, METH_VARARGS, NULL},
292546  { (char *)"CStdColor___iadd__", _wrap_CStdColor___iadd__, METH_VARARGS, NULL},
292547  { (char *)"CStdColor___isub__", _wrap_CStdColor___isub__, METH_VARARGS, NULL},
292548  { (char *)"CStdColor___imul__", _wrap_CStdColor___imul__, METH_VARARGS, NULL},
292549  { (char *)"CStdColor___idiv__", _wrap_CStdColor___idiv__, METH_VARARGS, NULL},
292550  { (char *)"CStdColor___add__", _wrap_CStdColor___add__, METH_VARARGS, NULL},
292551  { (char *)"CStdColor___sub__", _wrap_CStdColor___sub__, METH_VARARGS, NULL},
292552  { (char *)"CStdColor___mul__", _wrap_CStdColor___mul__, METH_VARARGS, NULL},
292553  { (char *)"CStdColor___div__", _wrap_CStdColor___div__, METH_VARARGS, NULL},
292554  { (char *)"CStdColor_Magnitude", _wrap_CStdColor_Magnitude, METH_VARARGS, NULL},
292555  { (char *)"CStdColor_Normalize", _wrap_CStdColor_Normalize, METH_VARARGS, NULL},
292556  { (char *)"CStdColor_ClearNearZero", _wrap_CStdColor_ClearNearZero, METH_VARARGS, NULL},
292557  { (char *)"CStdColor_Load", _wrap_CStdColor_Load, METH_VARARGS, NULL},
292558  { (char *)"delete_CStdColor", _wrap_delete_CStdColor, METH_VARARGS, NULL},
292559  { (char *)"CStdColor_swigregister", CStdColor_swigregister, METH_VARARGS, NULL},
292560  { (char *)"delete_CStdCriticalSection", _wrap_delete_CStdCriticalSection, METH_VARARGS, NULL},
292561  { (char *)"CStdCriticalSection_TryEnter", _wrap_CStdCriticalSection_TryEnter, METH_VARARGS, NULL},
292562  { (char *)"CStdCriticalSection_Leave", _wrap_CStdCriticalSection_Leave, METH_VARARGS, NULL},
292563  { (char *)"CStdCriticalSection_swigregister", CStdCriticalSection_swigregister, METH_VARARGS, NULL},
292564  { (char *)"Std_GetCriticalSection", _wrap_Std_GetCriticalSection, METH_VARARGS, NULL},
292565  { (char *)"new_CStdPID", _wrap_new_CStdPID, METH_VARARGS, NULL},
292566  { (char *)"delete_CStdPID", _wrap_delete_CStdPID, METH_VARARGS, NULL},
292567  { (char *)"CStdPID_Error", _wrap_CStdPID_Error, METH_VARARGS, NULL},
292568  { (char *)"CStdPID_ErrorChange", _wrap_CStdPID_ErrorChange, METH_VARARGS, NULL},
292569  { (char *)"CStdPID_Setpoint", _wrap_CStdPID_Setpoint, METH_VARARGS, NULL},
292570  { (char *)"CStdPID_Gain", _wrap_CStdPID_Gain, METH_VARARGS, NULL},
292571  { (char *)"CStdPID_IntegralAct", _wrap_CStdPID_IntegralAct, METH_VARARGS, NULL},
292572  { (char *)"CStdPID_DerivativeAct", _wrap_CStdPID_DerivativeAct, METH_VARARGS, NULL},
292573  { (char *)"CStdPID_Proportional", _wrap_CStdPID_Proportional, METH_VARARGS, NULL},
292574  { (char *)"CStdPID_Integral", _wrap_CStdPID_Integral, METH_VARARGS, NULL},
292575  { (char *)"CStdPID_OldIntegral", _wrap_CStdPID_OldIntegral, METH_VARARGS, NULL},
292576  { (char *)"CStdPID_Derivative", _wrap_CStdPID_Derivative, METH_VARARGS, NULL},
292577  { (char *)"CStdPID_Output", _wrap_CStdPID_Output, METH_VARARGS, NULL},
292578  { (char *)"CStdPID_OldOutput", _wrap_CStdPID_OldOutput, METH_VARARGS, NULL},
292579  { (char *)"CStdPID_ComplexError", _wrap_CStdPID_ComplexError, METH_VARARGS, NULL},
292580  { (char *)"CStdPID_AntiResetWindup", _wrap_CStdPID_AntiResetWindup, METH_VARARGS, NULL},
292581  { (char *)"CStdPID_RampLimit", _wrap_CStdPID_RampLimit, METH_VARARGS, NULL},
292582  { (char *)"CStdPID_RangeMax", _wrap_CStdPID_RangeMax, METH_VARARGS, NULL},
292583  { (char *)"CStdPID_RangeMin", _wrap_CStdPID_RangeMin, METH_VARARGS, NULL},
292584  { (char *)"CStdPID_Range", _wrap_CStdPID_Range, METH_VARARGS, NULL},
292585  { (char *)"CStdPID_ARWBound", _wrap_CStdPID_ARWBound, METH_VARARGS, NULL},
292586  { (char *)"CStdPID_RampGradient", _wrap_CStdPID_RampGradient, METH_VARARGS, NULL},
292587  { (char *)"CStdPID_ResetVars", _wrap_CStdPID_ResetVars, METH_VARARGS, NULL},
292588  { (char *)"CStdPID_Calculate", _wrap_CStdPID_Calculate, METH_VARARGS, NULL},
292589  { (char *)"CStdPID_swigregister", CStdPID_swigregister, METH_VARARGS, NULL},
292590  { (char *)"GetFilePath", _wrap_GetFilePath, METH_VARARGS, NULL},
292591  { (char *)"delete_IMovableItemCallback", _wrap_delete_IMovableItemCallback, METH_VARARGS, NULL},
292592  { (char *)"IMovableItemCallback_PositionChanged", _wrap_IMovableItemCallback_PositionChanged, METH_VARARGS, NULL},
292593  { (char *)"IMovableItemCallback_RotationChanged", _wrap_IMovableItemCallback_RotationChanged, METH_VARARGS, NULL},
292594  { (char *)"IMovableItemCallback_SizeChanged", _wrap_IMovableItemCallback_SizeChanged, METH_VARARGS, NULL},
292595  { (char *)"IMovableItemCallback_SelectionChanged", _wrap_IMovableItemCallback_SelectionChanged, METH_VARARGS, NULL},
292596  { (char *)"IMovableItemCallback_AddBodyClicked", _wrap_IMovableItemCallback_AddBodyClicked, METH_VARARGS, NULL},
292597  { (char *)"IMovableItemCallback_SelectedVertexChanged", _wrap_IMovableItemCallback_SelectedVertexChanged, METH_VARARGS, NULL},
292598  { (char *)"IMovableItemCallback_swigregister", IMovableItemCallback_swigregister, METH_VARARGS, NULL},
292599  { (char *)"delete_IMotorizedJoint", _wrap_delete_IMotorizedJoint, METH_VARARGS, NULL},
292600  { (char *)"IMotorizedJoint_Physics_SetVelocityToDesired", _wrap_IMotorizedJoint_Physics_SetVelocityToDesired, METH_VARARGS, NULL},
292601  { (char *)"IMotorizedJoint_Physics_EnableLock", _wrap_IMotorizedJoint_Physics_EnableLock, METH_VARARGS, NULL},
292602  { (char *)"IMotorizedJoint_Physics_EnableMotor", _wrap_IMotorizedJoint_Physics_EnableMotor, METH_VARARGS, NULL},
292603  { (char *)"IMotorizedJoint_Physics_MaxForce", _wrap_IMotorizedJoint_Physics_MaxForce, METH_VARARGS, NULL},
292604  { (char *)"IMotorizedJoint_swigregister", IMotorizedJoint_swigregister, METH_VARARGS, NULL},
292605  { (char *)"delete_ISimGUICallback", _wrap_delete_ISimGUICallback, METH_VARARGS, NULL},
292606  { (char *)"ISimGUICallback_NeedToStopSimulation", _wrap_ISimGUICallback_NeedToStopSimulation, METH_VARARGS, NULL},
292607  { (char *)"ISimGUICallback_HandleNonCriticalError", _wrap_ISimGUICallback_HandleNonCriticalError, METH_VARARGS, NULL},
292608  { (char *)"ISimGUICallback_HandleCriticalError", _wrap_ISimGUICallback_HandleCriticalError, METH_VARARGS, NULL},
292609  { (char *)"ISimGUICallback_swigregister", ISimGUICallback_swigregister, METH_VARARGS, NULL},
292610  { (char *)"new_AnimatBase", _wrap_new_AnimatBase, METH_VARARGS, NULL},
292611  { (char *)"delete_AnimatBase", _wrap_delete_AnimatBase, METH_VARARGS, NULL},
292612  { (char *)"AnimatBase_GetSimulator", _wrap_AnimatBase_GetSimulator, METH_VARARGS, NULL},
292613  { (char *)"AnimatBase_GetStructure", _wrap_AnimatBase_GetStructure, METH_VARARGS, NULL},
292614  { (char *)"AnimatBase_GetNeuralModule", _wrap_AnimatBase_GetNeuralModule, METH_VARARGS, NULL},
292615  { (char *)"AnimatBase_GetNode", _wrap_AnimatBase_GetNode, METH_VARARGS, NULL},
292616  { (char *)"AnimatBase_Enabled", _wrap_AnimatBase_Enabled, METH_VARARGS, NULL},
292617  { (char *)"AnimatBase_ID", _wrap_AnimatBase_ID, METH_VARARGS, NULL},
292618  { (char *)"AnimatBase_Name", _wrap_AnimatBase_Name, METH_VARARGS, NULL},
292619  { (char *)"AnimatBase_Type", _wrap_AnimatBase_Type, METH_VARARGS, NULL},
292620  { (char *)"AnimatBase_Selected", _wrap_AnimatBase_Selected, METH_VARARGS, NULL},
292621  { (char *)"AnimatBase_Copy", _wrap_AnimatBase_Copy, METH_VARARGS, NULL},
292622  { (char *)"AnimatBase_SetSystemPointers", _wrap_AnimatBase_SetSystemPointers, METH_VARARGS, NULL},
292623  { (char *)"AnimatBase_VerifySystemPointers", _wrap_AnimatBase_VerifySystemPointers, METH_VARARGS, NULL},
292624  { (char *)"AnimatBase_GetDataPointer", _wrap_AnimatBase_GetDataPointer, METH_VARARGS, NULL},
292625  { (char *)"AnimatBase_SetData", _wrap_AnimatBase_SetData, METH_VARARGS, NULL},
292626  { (char *)"AnimatBase_QueryProperties", _wrap_AnimatBase_QueryProperties, METH_VARARGS, NULL},
292627  { (char *)"AnimatBase_HasProperty", _wrap_AnimatBase_HasProperty, METH_VARARGS, NULL},
292628  { (char *)"AnimatBase_PropertyType", _wrap_AnimatBase_PropertyType, METH_VARARGS, NULL},
292629  { (char *)"AnimatBase_AddItem", _wrap_AnimatBase_AddItem, METH_VARARGS, NULL},
292630  { (char *)"AnimatBase_RemoveItem", _wrap_AnimatBase_RemoveItem, METH_VARARGS, NULL},
292631  { (char *)"AnimatBase_RigidBodyAdded", _wrap_AnimatBase_RigidBodyAdded, METH_VARARGS, NULL},
292632  { (char *)"AnimatBase_RigidBodyRemoved", _wrap_AnimatBase_RigidBodyRemoved, METH_VARARGS, NULL},
292633  { (char *)"AnimatBase_Reset", _wrap_AnimatBase_Reset, METH_VARARGS, NULL},
292634  { (char *)"AnimatBase_Initialize", _wrap_AnimatBase_Initialize, METH_VARARGS, NULL},
292635  { (char *)"AnimatBase_ResetSimulation", _wrap_AnimatBase_ResetSimulation, METH_VARARGS, NULL},
292636  { (char *)"AnimatBase_AfterResetSimulation", _wrap_AnimatBase_AfterResetSimulation, METH_VARARGS, NULL},
292637  { (char *)"AnimatBase_ReInitialize", _wrap_AnimatBase_ReInitialize, METH_VARARGS, NULL},
292638  { (char *)"AnimatBase_Kill", _wrap_AnimatBase_Kill, METH_VARARGS, NULL},
292639  { (char *)"AnimatBase_StepSimulation", _wrap_AnimatBase_StepSimulation, METH_VARARGS, NULL},
292640  { (char *)"AnimatBase_SimStarting", _wrap_AnimatBase_SimStarting, METH_VARARGS, NULL},
292641  { (char *)"AnimatBase_SimPausing", _wrap_AnimatBase_SimPausing, METH_VARARGS, NULL},
292642  { (char *)"AnimatBase_SimStopping", _wrap_AnimatBase_SimStopping, METH_VARARGS, NULL},
292643  { (char *)"AnimatBase_TimeStepModified", _wrap_AnimatBase_TimeStepModified, METH_VARARGS, NULL},
292644  { (char *)"AnimatBase_CalculateSnapshotByteSize", _wrap_AnimatBase_CalculateSnapshotByteSize, METH_VARARGS, NULL},
292645  { (char *)"AnimatBase_SaveKeyFrameSnapshot", _wrap_AnimatBase_SaveKeyFrameSnapshot, METH_VARARGS, NULL},
292646  { (char *)"AnimatBase_LoadKeyFrameSnapshot", _wrap_AnimatBase_LoadKeyFrameSnapshot, METH_VARARGS, NULL},
292647  { (char *)"AnimatBase_VisualSelectionModeChanged", _wrap_AnimatBase_VisualSelectionModeChanged, METH_VARARGS, NULL},
292648  { (char *)"AnimatBase_Load", _wrap_AnimatBase_Load, METH_VARARGS, NULL},
292649  { (char *)"AnimatBase_swigregister", AnimatBase_swigregister, METH_VARARGS, NULL},
292650  { (char *)"new_DelayLine", _wrap_new_DelayLine, METH_VARARGS, NULL},
292651  { (char *)"delete_DelayLine", _wrap_delete_DelayLine, METH_VARARGS, NULL},
292652  { (char *)"DelayLine_Initialize", _wrap_DelayLine_Initialize, METH_VARARGS, NULL},
292653  { (char *)"DelayLine_AddValue", _wrap_DelayLine_AddValue, METH_VARARGS, NULL},
292654  { (char *)"DelayLine_ReadValue", _wrap_DelayLine_ReadValue, METH_VARARGS, NULL},
292655  { (char *)"DelayLine_swigregister", DelayLine_swigregister, METH_VARARGS, NULL},
292656  { (char *)"delete_Gain", _wrap_delete_Gain, METH_VARARGS, NULL},
292657  { (char *)"Gain_CastToDerived", _wrap_Gain_CastToDerived, METH_VARARGS, NULL},
292658  { (char *)"Gain_UseLimits", _wrap_Gain_UseLimits, METH_VARARGS, NULL},
292659  { (char *)"Gain_LowerLimit", _wrap_Gain_LowerLimit, METH_VARARGS, NULL},
292660  { (char *)"Gain_UpperLimit", _wrap_Gain_UpperLimit, METH_VARARGS, NULL},
292661  { (char *)"Gain_LowerOutput", _wrap_Gain_LowerOutput, METH_VARARGS, NULL},
292662  { (char *)"Gain_UpperOutput", _wrap_Gain_UpperOutput, METH_VARARGS, NULL},
292663  { (char *)"Gain_Copy", _wrap_Gain_Copy, METH_VARARGS, NULL},
292664  { (char *)"Gain_CalculateGain", _wrap_Gain_CalculateGain, METH_VARARGS, NULL},
292665  { (char *)"Gain_SetData", _wrap_Gain_SetData, METH_VARARGS, NULL},
292666  { (char *)"Gain_QueryProperties", _wrap_Gain_QueryProperties, METH_VARARGS, NULL},
292667  { (char *)"Gain_Load", _wrap_Gain_Load, METH_VARARGS, NULL},
292668  { (char *)"Gain_swigregister", Gain_swigregister, METH_VARARGS, NULL},
292669  { (char *)"LoadGain", _wrap_LoadGain, METH_VARARGS, NULL},
292670  { (char *)"new_BellGain", _wrap_new_BellGain, METH_VARARGS, NULL},
292671  { (char *)"delete_BellGain", _wrap_delete_BellGain, METH_VARARGS, NULL},
292672  { (char *)"BellGain_CastToDerived", _wrap_BellGain_CastToDerived, METH_VARARGS, NULL},
292673  { (char *)"BellGain_A", _wrap_BellGain_A, METH_VARARGS, NULL},
292674  { (char *)"BellGain_B", _wrap_BellGain_B, METH_VARARGS, NULL},
292675  { (char *)"BellGain_C", _wrap_BellGain_C, METH_VARARGS, NULL},
292676  { (char *)"BellGain_D", _wrap_BellGain_D, METH_VARARGS, NULL},
292677  { (char *)"BellGain_Copy", _wrap_BellGain_Copy, METH_VARARGS, NULL},
292678  { (char *)"BellGain_Clone", _wrap_BellGain_Clone, METH_VARARGS, NULL},
292679  { (char *)"BellGain_CalculateGain", _wrap_BellGain_CalculateGain, METH_VARARGS, NULL},
292680  { (char *)"BellGain_SetData", _wrap_BellGain_SetData, METH_VARARGS, NULL},
292681  { (char *)"BellGain_QueryProperties", _wrap_BellGain_QueryProperties, METH_VARARGS, NULL},
292682  { (char *)"BellGain_Load", _wrap_BellGain_Load, METH_VARARGS, NULL},
292683  { (char *)"BellGain_swigregister", BellGain_swigregister, METH_VARARGS, NULL},
292684  { (char *)"new_EquationGain", _wrap_new_EquationGain, METH_VARARGS, NULL},
292685  { (char *)"delete_EquationGain", _wrap_delete_EquationGain, METH_VARARGS, NULL},
292686  { (char *)"EquationGain_CastToDerived", _wrap_EquationGain_CastToDerived, METH_VARARGS, NULL},
292687  { (char *)"EquationGain_GainEquation", _wrap_EquationGain_GainEquation, METH_VARARGS, NULL},
292688  { (char *)"EquationGain_Copy", _wrap_EquationGain_Copy, METH_VARARGS, NULL},
292689  { (char *)"EquationGain_Clone", _wrap_EquationGain_Clone, METH_VARARGS, NULL},
292690  { (char *)"EquationGain_CalculateGain", _wrap_EquationGain_CalculateGain, METH_VARARGS, NULL},
292691  { (char *)"EquationGain_SetData", _wrap_EquationGain_SetData, METH_VARARGS, NULL},
292692  { (char *)"EquationGain_QueryProperties", _wrap_EquationGain_QueryProperties, METH_VARARGS, NULL},
292693  { (char *)"EquationGain_Load", _wrap_EquationGain_Load, METH_VARARGS, NULL},
292694  { (char *)"EquationGain_swigregister", EquationGain_swigregister, METH_VARARGS, NULL},
292695  { (char *)"new_PolynomialGain", _wrap_new_PolynomialGain, METH_VARARGS, NULL},
292696  { (char *)"delete_PolynomialGain", _wrap_delete_PolynomialGain, METH_VARARGS, NULL},
292697  { (char *)"PolynomialGain_CastToDerived", _wrap_PolynomialGain_CastToDerived, METH_VARARGS, NULL},
292698  { (char *)"PolynomialGain_A", _wrap_PolynomialGain_A, METH_VARARGS, NULL},
292699  { (char *)"PolynomialGain_B", _wrap_PolynomialGain_B, METH_VARARGS, NULL},
292700  { (char *)"PolynomialGain_C", _wrap_PolynomialGain_C, METH_VARARGS, NULL},
292701  { (char *)"PolynomialGain_D", _wrap_PolynomialGain_D, METH_VARARGS, NULL},
292702  { (char *)"PolynomialGain_Copy", _wrap_PolynomialGain_Copy, METH_VARARGS, NULL},
292703  { (char *)"PolynomialGain_Clone", _wrap_PolynomialGain_Clone, METH_VARARGS, NULL},
292704  { (char *)"PolynomialGain_CalculateGain", _wrap_PolynomialGain_CalculateGain, METH_VARARGS, NULL},
292705  { (char *)"PolynomialGain_SetData", _wrap_PolynomialGain_SetData, METH_VARARGS, NULL},
292706  { (char *)"PolynomialGain_QueryProperties", _wrap_PolynomialGain_QueryProperties, METH_VARARGS, NULL},
292707  { (char *)"PolynomialGain_Load", _wrap_PolynomialGain_Load, METH_VARARGS, NULL},
292708  { (char *)"PolynomialGain_swigregister", PolynomialGain_swigregister, METH_VARARGS, NULL},
292709  { (char *)"new_SigmoidGain", _wrap_new_SigmoidGain, METH_VARARGS, NULL},
292710  { (char *)"delete_SigmoidGain", _wrap_delete_SigmoidGain, METH_VARARGS, NULL},
292711  { (char *)"SigmoidGain_CastToDerived", _wrap_SigmoidGain_CastToDerived, METH_VARARGS, NULL},
292712  { (char *)"SigmoidGain_A", _wrap_SigmoidGain_A, METH_VARARGS, NULL},
292713  { (char *)"SigmoidGain_B", _wrap_SigmoidGain_B, METH_VARARGS, NULL},
292714  { (char *)"SigmoidGain_C", _wrap_SigmoidGain_C, METH_VARARGS, NULL},
292715  { (char *)"SigmoidGain_D", _wrap_SigmoidGain_D, METH_VARARGS, NULL},
292716  { (char *)"SigmoidGain_Copy", _wrap_SigmoidGain_Copy, METH_VARARGS, NULL},
292717  { (char *)"SigmoidGain_Clone", _wrap_SigmoidGain_Clone, METH_VARARGS, NULL},
292718  { (char *)"SigmoidGain_CalculateGain", _wrap_SigmoidGain_CalculateGain, METH_VARARGS, NULL},
292719  { (char *)"SigmoidGain_SetData", _wrap_SigmoidGain_SetData, METH_VARARGS, NULL},
292720  { (char *)"SigmoidGain_QueryProperties", _wrap_SigmoidGain_QueryProperties, METH_VARARGS, NULL},
292721  { (char *)"SigmoidGain_Load", _wrap_SigmoidGain_Load, METH_VARARGS, NULL},
292722  { (char *)"SigmoidGain_swigregister", SigmoidGain_swigregister, METH_VARARGS, NULL},
292723  { (char *)"new_LengthTensionGain", _wrap_new_LengthTensionGain, METH_VARARGS, NULL},
292724  { (char *)"delete_LengthTensionGain", _wrap_delete_LengthTensionGain, METH_VARARGS, NULL},
292725  { (char *)"LengthTensionGain_CastToDerived", _wrap_LengthTensionGain_CastToDerived, METH_VARARGS, NULL},
292726  { (char *)"LengthTensionGain_RestingLength", _wrap_LengthTensionGain_RestingLength, METH_VARARGS, NULL},
292727  { (char *)"LengthTensionGain_TLwidth", _wrap_LengthTensionGain_TLwidth, METH_VARARGS, NULL},
292728  { (char *)"LengthTensionGain_TLc", _wrap_LengthTensionGain_TLc, METH_VARARGS, NULL},
292729  { (char *)"LengthTensionGain_PeLengthPercentage", _wrap_LengthTensionGain_PeLengthPercentage, METH_VARARGS, NULL},
292730  { (char *)"LengthTensionGain_MinPeLengthPercentage", _wrap_LengthTensionGain_MinPeLengthPercentage, METH_VARARGS, NULL},
292731  { (char *)"LengthTensionGain_SeRestLength", _wrap_LengthTensionGain_SeRestLength, METH_VARARGS, NULL},
292732  { (char *)"LengthTensionGain_MinPeLength", _wrap_LengthTensionGain_MinPeLength, METH_VARARGS, NULL},
292733  { (char *)"LengthTensionGain_Copy", _wrap_LengthTensionGain_Copy, METH_VARARGS, NULL},
292734  { (char *)"LengthTensionGain_Clone", _wrap_LengthTensionGain_Clone, METH_VARARGS, NULL},
292735  { (char *)"LengthTensionGain_CalculateGain", _wrap_LengthTensionGain_CalculateGain, METH_VARARGS, NULL},
292736  { (char *)"LengthTensionGain_SetData", _wrap_LengthTensionGain_SetData, METH_VARARGS, NULL},
292737  { (char *)"LengthTensionGain_QueryProperties", _wrap_LengthTensionGain_QueryProperties, METH_VARARGS, NULL},
292738  { (char *)"LengthTensionGain_Load", _wrap_LengthTensionGain_Load, METH_VARARGS, NULL},
292739  { (char *)"LengthTensionGain_swigregister", LengthTensionGain_swigregister, METH_VARARGS, NULL},
292740  { (char *)"delete_Node", _wrap_delete_Node, METH_VARARGS, NULL},
292741  { (char *)"Node_CastToDerived", _wrap_Node_CastToDerived, METH_VARARGS, NULL},
292742  { (char *)"Node_Enabled", _wrap_Node_Enabled, METH_VARARGS, NULL},
292743  { (char *)"Node_Kill", _wrap_Node_Kill, METH_VARARGS, NULL},
292744  { (char *)"Node_Copy", _wrap_Node_Copy, METH_VARARGS, NULL},
292745  { (char *)"Node_AddExternalNodeInput", _wrap_Node_AddExternalNodeInput, METH_VARARGS, NULL},
292746  { (char *)"Node_GetTargetDataTypeIndex", _wrap_Node_GetTargetDataTypeIndex, METH_VARARGS, NULL},
292747  { (char *)"Node_ResetSimulation", _wrap_Node_ResetSimulation, METH_VARARGS, NULL},
292748  { (char *)"Node_SetSystemPointers", _wrap_Node_SetSystemPointers, METH_VARARGS, NULL},
292749  { (char *)"Node_VerifySystemPointers", _wrap_Node_VerifySystemPointers, METH_VARARGS, NULL},
292750  { (char *)"Node_SetData", _wrap_Node_SetData, METH_VARARGS, NULL},
292751  { (char *)"Node_QueryProperties", _wrap_Node_QueryProperties, METH_VARARGS, NULL},
292752  { (char *)"Node_swigregister", Node_swigregister, METH_VARARGS, NULL},
292753  { (char *)"new_Link", _wrap_new_Link, METH_VARARGS, NULL},
292754  { (char *)"delete_Link", _wrap_delete_Link, METH_VARARGS, NULL},
292755  { (char *)"Link_CastToDerived", _wrap_Link_CastToDerived, METH_VARARGS, NULL},
292756  { (char *)"Link_Enabled", _wrap_Link_Enabled, METH_VARARGS, NULL},
292757  { (char *)"Link_SetSystemPointers", _wrap_Link_SetSystemPointers, METH_VARARGS, NULL},
292758  { (char *)"Link_VerifySystemPointers", _wrap_Link_VerifySystemPointers, METH_VARARGS, NULL},
292759  { (char *)"Link_SetData", _wrap_Link_SetData, METH_VARARGS, NULL},
292760  { (char *)"Link_QueryProperties", _wrap_Link_QueryProperties, METH_VARARGS, NULL},
292761  { (char *)"Link_swigregister", Link_swigregister, METH_VARARGS, NULL},
292762  { (char *)"delete_IPhysicsMovableItem", _wrap_delete_IPhysicsMovableItem, METH_VARARGS, NULL},
292763  { (char *)"IPhysicsMovableItem_SetVisible", _wrap_IPhysicsMovableItem_SetVisible, METH_VARARGS, NULL},
292764  { (char *)"IPhysicsMovableItem_SetAlpha", _wrap_IPhysicsMovableItem_SetAlpha, METH_VARARGS, NULL},
292765  { (char *)"IPhysicsMovableItem_Physics_SetParent", _wrap_IPhysicsMovableItem_Physics_SetParent, METH_VARARGS, NULL},
292766  { (char *)"IPhysicsMovableItem_Physics_SetChild", _wrap_IPhysicsMovableItem_Physics_SetChild, METH_VARARGS, NULL},
292767  { (char *)"IPhysicsMovableItem_Physics_UpdateMatrix", _wrap_IPhysicsMovableItem_Physics_UpdateMatrix, METH_VARARGS, NULL},
292768  { (char *)"IPhysicsMovableItem_Physics_ResetGraphicsAndPhysics", _wrap_IPhysicsMovableItem_Physics_ResetGraphicsAndPhysics, METH_VARARGS, NULL},
292769  { (char *)"IPhysicsMovableItem_Physics_PositionChanged", _wrap_IPhysicsMovableItem_Physics_PositionChanged, METH_VARARGS, NULL},
292770  { (char *)"IPhysicsMovableItem_Physics_RotationChanged", _wrap_IPhysicsMovableItem_Physics_RotationChanged, METH_VARARGS, NULL},
292771  { (char *)"IPhysicsMovableItem_Physics_UpdateAbsolutePosition", _wrap_IPhysicsMovableItem_Physics_UpdateAbsolutePosition, METH_VARARGS, NULL},
292772  { (char *)"IPhysicsMovableItem_Physics_CollectData", _wrap_IPhysicsMovableItem_Physics_CollectData, METH_VARARGS, NULL},
292773  { (char *)"IPhysicsMovableItem_Physics_CollectExtraData", _wrap_IPhysicsMovableItem_Physics_CollectExtraData, METH_VARARGS, NULL},
292774  { (char *)"IPhysicsMovableItem_Physics_ResetSimulation", _wrap_IPhysicsMovableItem_Physics_ResetSimulation, METH_VARARGS, NULL},
292775  { (char *)"IPhysicsMovableItem_Physics_AfterResetSimulation", _wrap_IPhysicsMovableItem_Physics_AfterResetSimulation, METH_VARARGS, NULL},
292776  { (char *)"IPhysicsMovableItem_Physics_GetDataPointer", _wrap_IPhysicsMovableItem_Physics_GetDataPointer, METH_VARARGS, NULL},
292777  { (char *)"IPhysicsMovableItem_Physics_Selected", _wrap_IPhysicsMovableItem_Physics_Selected, METH_VARARGS, NULL},
292778  { (char *)"IPhysicsMovableItem_Physics_GetBoundingRadius", _wrap_IPhysicsMovableItem_Physics_GetBoundingRadius, METH_VARARGS, NULL},
292779  { (char *)"IPhysicsMovableItem_Physics_GetBoundingBox", _wrap_IPhysicsMovableItem_Physics_GetBoundingBox, METH_VARARGS, NULL},
292780  { (char *)"IPhysicsMovableItem_Physics_SetColor", _wrap_IPhysicsMovableItem_Physics_SetColor, METH_VARARGS, NULL},
292781  { (char *)"IPhysicsMovableItem_Physics_TextureChanged", _wrap_IPhysicsMovableItem_Physics_TextureChanged, METH_VARARGS, NULL},
292782  { (char *)"IPhysicsMovableItem_Physics_OrientNewPart", _wrap_IPhysicsMovableItem_Physics_OrientNewPart, METH_VARARGS, NULL},
292783  { (char *)"IPhysicsMovableItem_Physics_SelectedVertex", _wrap_IPhysicsMovableItem_Physics_SelectedVertex, METH_VARARGS, NULL},
292784  { (char *)"IPhysicsMovableItem_Physics_CalculateLocalPosForWorldPos", _wrap_IPhysicsMovableItem_Physics_CalculateLocalPosForWorldPos, METH_VARARGS, NULL},
292785  { (char *)"IPhysicsMovableItem_Physics_Resize", _wrap_IPhysicsMovableItem_Physics_Resize, METH_VARARGS, NULL},
292786  { (char *)"IPhysicsMovableItem_Physics_LoadLocalTransformMatrix", _wrap_IPhysicsMovableItem_Physics_LoadLocalTransformMatrix, METH_VARARGS, NULL},
292787  { (char *)"IPhysicsMovableItem_Physics_SaveLocalTransformMatrix", _wrap_IPhysicsMovableItem_Physics_SaveLocalTransformMatrix, METH_VARARGS, NULL},
292788  { (char *)"IPhysicsMovableItem_Physics_GetLocalTransformMatrixString", _wrap_IPhysicsMovableItem_Physics_GetLocalTransformMatrixString, METH_VARARGS, NULL},
292789  { (char *)"IPhysicsMovableItem_Physics_ResizeDragHandler", _wrap_IPhysicsMovableItem_Physics_ResizeDragHandler, METH_VARARGS, NULL},
292790  { (char *)"IPhysicsMovableItem_swigregister", IPhysicsMovableItem_swigregister, METH_VARARGS, NULL},
292791  { (char *)"delete_IPhysicsBody", _wrap_delete_IPhysicsBody, METH_VARARGS, NULL},
292792  { (char *)"IPhysicsBody_Physics_IsDefined", _wrap_IPhysicsBody_Physics_IsDefined, METH_VARARGS, NULL},
292793  { (char *)"IPhysicsBody_Physics_IsGeometryDefined", _wrap_IPhysicsBody_Physics_IsGeometryDefined, METH_VARARGS, NULL},
292794  { (char *)"IPhysicsBody_Physics_SetFreeze", _wrap_IPhysicsBody_Physics_SetFreeze, METH_VARARGS, NULL},
292795  { (char *)"IPhysicsBody_Physics_SetDensity", _wrap_IPhysicsBody_Physics_SetDensity, METH_VARARGS, NULL},
292796  { (char *)"IPhysicsBody_Physics_GetDensity", _wrap_IPhysicsBody_Physics_GetDensity, METH_VARARGS, NULL},
292797  { (char *)"IPhysicsBody_Physics_SetMass", _wrap_IPhysicsBody_Physics_SetMass, METH_VARARGS, NULL},
292798  { (char *)"IPhysicsBody_Physics_GetMass", _wrap_IPhysicsBody_Physics_GetMass, METH_VARARGS, NULL},
292799  { (char *)"IPhysicsBody_Physics_SetMaterialID", _wrap_IPhysicsBody_Physics_SetMaterialID, METH_VARARGS, NULL},
292800  { (char *)"IPhysicsBody_Physics_SetVelocityDamping", _wrap_IPhysicsBody_Physics_SetVelocityDamping, METH_VARARGS, NULL},
292801  { (char *)"IPhysicsBody_Physics_SetCenterOfMass", _wrap_IPhysicsBody_Physics_SetCenterOfMass, METH_VARARGS, NULL},
292802  { (char *)"IPhysicsBody_Physics_UpdateNode", _wrap_IPhysicsBody_Physics_UpdateNode, METH_VARARGS, NULL},
292803  { (char *)"IPhysicsBody_Physics_EnableCollision", _wrap_IPhysicsBody_Physics_EnableCollision, METH_VARARGS, NULL},
292804  { (char *)"IPhysicsBody_Physics_DisableCollision", _wrap_IPhysicsBody_Physics_DisableCollision, METH_VARARGS, NULL},
292805  { (char *)"IPhysicsBody_Physics_AddBodyForceAtLocalPos", _wrap_IPhysicsBody_Physics_AddBodyForceAtLocalPos, METH_VARARGS, NULL},
292806  { (char *)"IPhysicsBody_Physics_AddBodyForceAtWorldPos", _wrap_IPhysicsBody_Physics_AddBodyForceAtWorldPos, METH_VARARGS, NULL},
292807  { (char *)"IPhysicsBody_Physics_AddBodyTorque", _wrap_IPhysicsBody_Physics_AddBodyTorque, METH_VARARGS, NULL},
292808  { (char *)"IPhysicsBody_Physics_GetVelocityAtPoint", _wrap_IPhysicsBody_Physics_GetVelocityAtPoint, METH_VARARGS, NULL},
292809  { (char *)"IPhysicsBody_Physics_ResizeSelectedReceptiveFieldVertex", _wrap_IPhysicsBody_Physics_ResizeSelectedReceptiveFieldVertex, METH_VARARGS, NULL},
292810  { (char *)"IPhysicsBody_Physics_FluidDataChanged", _wrap_IPhysicsBody_Physics_FluidDataChanged, METH_VARARGS, NULL},
292811  { (char *)"IPhysicsBody_Physics_HasCollisionGeometry", _wrap_IPhysicsBody_Physics_HasCollisionGeometry, METH_VARARGS, NULL},
292812  { (char *)"IPhysicsBody_Physics_WakeDynamics", _wrap_IPhysicsBody_Physics_WakeDynamics, METH_VARARGS, NULL},
292813  { (char *)"IPhysicsBody_Physics_ContactSensorAdded", _wrap_IPhysicsBody_Physics_ContactSensorAdded, METH_VARARGS, NULL},
292814  { (char *)"IPhysicsBody_Physics_ContactSensorRemoved", _wrap_IPhysicsBody_Physics_ContactSensorRemoved, METH_VARARGS, NULL},
292815  { (char *)"IPhysicsBody_Physics_StepHydrodynamicSimulation", _wrap_IPhysicsBody_Physics_StepHydrodynamicSimulation, METH_VARARGS, NULL},
292816  { (char *)"IPhysicsBody_Physics_ChildBodyAdded", _wrap_IPhysicsBody_Physics_ChildBodyAdded, METH_VARARGS, NULL},
292817  { (char *)"IPhysicsBody_Physics_ChildBodyRemoved", _wrap_IPhysicsBody_Physics_ChildBodyRemoved, METH_VARARGS, NULL},
292818  { (char *)"IPhysicsBody_Physics_DeleteStickyLock", _wrap_IPhysicsBody_Physics_DeleteStickyLock, METH_VARARGS, NULL},
292819  { (char *)"IPhysicsBody_swigregister", IPhysicsBody_swigregister, METH_VARARGS, NULL},
292820  { (char *)"BoundingBox_Min_set", _wrap_BoundingBox_Min_set, METH_VARARGS, NULL},
292821  { (char *)"BoundingBox_Min_get", _wrap_BoundingBox_Min_get, METH_VARARGS, NULL},
292822  { (char *)"BoundingBox_Max_set", _wrap_BoundingBox_Max_set, METH_VARARGS, NULL},
292823  { (char *)"BoundingBox_Max_get", _wrap_BoundingBox_Max_get, METH_VARARGS, NULL},
292824  { (char *)"new_BoundingBox", _wrap_new_BoundingBox, METH_VARARGS, NULL},
292825  { (char *)"delete_BoundingBox", _wrap_delete_BoundingBox, METH_VARARGS, NULL},
292826  { (char *)"BoundingBox_Set", _wrap_BoundingBox_Set, METH_VARARGS, NULL},
292827  { (char *)"BoundingBox_Length", _wrap_BoundingBox_Length, METH_VARARGS, NULL},
292828  { (char *)"BoundingBox_Width", _wrap_BoundingBox_Width, METH_VARARGS, NULL},
292829  { (char *)"BoundingBox_Height", _wrap_BoundingBox_Height, METH_VARARGS, NULL},
292830  { (char *)"BoundingBox_GetDimensionSize", _wrap_BoundingBox_GetDimensionSize, METH_VARARGS, NULL},
292831  { (char *)"BoundingBox_MaxDimension", _wrap_BoundingBox_MaxDimension, METH_VARARGS, NULL},
292832  { (char *)"BoundingBox_swigregister", BoundingBox_swigregister, METH_VARARGS, NULL},
292833  { (char *)"new_MovableItem", _wrap_new_MovableItem, METH_VARARGS, NULL},
292834  { (char *)"delete_MovableItem", _wrap_delete_MovableItem, METH_VARARGS, NULL},
292835  { (char *)"MovableItem_Parent", _wrap_MovableItem_Parent, METH_VARARGS, NULL},
292836  { (char *)"MovableItem_VisualSelectionType", _wrap_MovableItem_VisualSelectionType, METH_VARARGS, NULL},
292837  { (char *)"MovableItem_AllowMouseManipulation", _wrap_MovableItem_AllowMouseManipulation, METH_VARARGS, NULL},
292838  { (char *)"MovableItem_Position", _wrap_MovableItem_Position, METH_VARARGS, NULL},
292839  { (char *)"MovableItem_AbsolutePosition", _wrap_MovableItem_AbsolutePosition, METH_VARARGS, NULL},
292840  { (char *)"MovableItem_ReportPosition", _wrap_MovableItem_ReportPosition, METH_VARARGS, NULL},
292841  { (char *)"MovableItem_ReportWorldPosition", _wrap_MovableItem_ReportWorldPosition, METH_VARARGS, NULL},
292842  { (char *)"MovableItem_UpdateAbsolutePosition", _wrap_MovableItem_UpdateAbsolutePosition, METH_VARARGS, NULL},
292843  { (char *)"MovableItem_GetCurrentPosition", _wrap_MovableItem_GetCurrentPosition, METH_VARARGS, NULL},
292844  { (char *)"MovableItem_Rotation", _wrap_MovableItem_Rotation, METH_VARARGS, NULL},
292845  { (char *)"MovableItem_ReportRotation", _wrap_MovableItem_ReportRotation, METH_VARARGS, NULL},
292846  { (char *)"MovableItem_LocalTransformationMatrixString", _wrap_MovableItem_LocalTransformationMatrixString, METH_VARARGS, NULL},
292847  { (char *)"MovableItem_IsVisible", _wrap_MovableItem_IsVisible, METH_VARARGS, NULL},
292848  { (char *)"MovableItem_GraphicsAlpha", _wrap_MovableItem_GraphicsAlpha, METH_VARARGS, NULL},
292849  { (char *)"MovableItem_CollisionsAlpha", _wrap_MovableItem_CollisionsAlpha, METH_VARARGS, NULL},
292850  { (char *)"MovableItem_JointsAlpha", _wrap_MovableItem_JointsAlpha, METH_VARARGS, NULL},
292851  { (char *)"MovableItem_ReceptiveFieldsAlpha", _wrap_MovableItem_ReceptiveFieldsAlpha, METH_VARARGS, NULL},
292852  { (char *)"MovableItem_SimulationAlpha", _wrap_MovableItem_SimulationAlpha, METH_VARARGS, NULL},
292853  { (char *)"MovableItem_Alpha", _wrap_MovableItem_Alpha, METH_VARARGS, NULL},
292854  { (char *)"MovableItem_Ambient", _wrap_MovableItem_Ambient, METH_VARARGS, NULL},
292855  { (char *)"MovableItem_Diffuse", _wrap_MovableItem_Diffuse, METH_VARARGS, NULL},
292856  { (char *)"MovableItem_Specular", _wrap_MovableItem_Specular, METH_VARARGS, NULL},
292857  { (char *)"MovableItem_Shininess", _wrap_MovableItem_Shininess, METH_VARARGS, NULL},
292858  { (char *)"MovableItem_Texture", _wrap_MovableItem_Texture, METH_VARARGS, NULL},
292859  { (char *)"MovableItem_SelectedVertex", _wrap_MovableItem_SelectedVertex, METH_VARARGS, NULL},
292860  { (char *)"MovableItem_Callback", _wrap_MovableItem_Callback, METH_VARARGS, NULL},
292861  { (char *)"MovableItem_PhysicsMovableItem", _wrap_MovableItem_PhysicsMovableItem, METH_VARARGS, NULL},
292862  { (char *)"MovableItem_GetBoundingRadius", _wrap_MovableItem_GetBoundingRadius, METH_VARARGS, NULL},
292863  { (char *)"MovableItem_GetBoundingBox", _wrap_MovableItem_GetBoundingBox, METH_VARARGS, NULL},
292864  { (char *)"MovableItem_SetBoundingBox", _wrap_MovableItem_SetBoundingBox, METH_VARARGS, NULL},
292865  { (char *)"MovableItem_AllowTranslateDragX", _wrap_MovableItem_AllowTranslateDragX, METH_VARARGS, NULL},
292866  { (char *)"MovableItem_AllowTranslateDragY", _wrap_MovableItem_AllowTranslateDragY, METH_VARARGS, NULL},
292867  { (char *)"MovableItem_AllowTranslateDragZ", _wrap_MovableItem_AllowTranslateDragZ, METH_VARARGS, NULL},
292868  { (char *)"MovableItem_AllowRotateDragX", _wrap_MovableItem_AllowRotateDragX, METH_VARARGS, NULL},
292869  { (char *)"MovableItem_AllowRotateDragY", _wrap_MovableItem_AllowRotateDragY, METH_VARARGS, NULL},
292870  { (char *)"MovableItem_AllowRotateDragZ", _wrap_MovableItem_AllowRotateDragZ, METH_VARARGS, NULL},
292871  { (char *)"MovableItem_UserDefinedDraggerRadius", _wrap_MovableItem_UserDefinedDraggerRadius, METH_VARARGS, NULL},
292872  { (char *)"MovableItem_IsSelected", _wrap_MovableItem_IsSelected, METH_VARARGS, NULL},
292873  { (char *)"MovableItem_GetDataPointer", _wrap_MovableItem_GetDataPointer, METH_VARARGS, NULL},
292874  { (char *)"MovableItem_SetData", _wrap_MovableItem_SetData, METH_VARARGS, NULL},
292875  { (char *)"MovableItem_QueryProperties", _wrap_MovableItem_QueryProperties, METH_VARARGS, NULL},
292876  { (char *)"MovableItem_AddBodyClicked", _wrap_MovableItem_AddBodyClicked, METH_VARARGS, NULL},
292877  { (char *)"MovableItem_Selected", _wrap_MovableItem_Selected, METH_VARARGS, NULL},
292878  { (char *)"MovableItem_VisualSelectionModeChanged", _wrap_MovableItem_VisualSelectionModeChanged, METH_VARARGS, NULL},
292879  { (char *)"MovableItem_OrientNewPart", _wrap_MovableItem_OrientNewPart, METH_VARARGS, NULL},
292880  { (char *)"MovableItem_CalculateLocalPosForWorldPos", _wrap_MovableItem_CalculateLocalPosForWorldPos, METH_VARARGS, NULL},
292881  { (char *)"MovableItem_Load", _wrap_MovableItem_Load, METH_VARARGS, NULL},
292882  { (char *)"MovableItem_swigregister", MovableItem_swigregister, METH_VARARGS, NULL},
292883  { (char *)"delete_BodyPart", _wrap_delete_BodyPart, METH_VARARGS, NULL},
292884  { (char *)"BodyPart_CastToDerived", _wrap_BodyPart_CastToDerived, METH_VARARGS, NULL},
292885  { (char *)"BodyPart_PhysicsBody", _wrap_BodyPart_PhysicsBody, METH_VARARGS, NULL},
292886  { (char *)"BodyPart_GetRobotPartInterfaces", _wrap_BodyPart_GetRobotPartInterfaces, METH_VARARGS, NULL},
292887  { (char *)"BodyPart_AddRobotPartInterface", _wrap_BodyPart_AddRobotPartInterface, METH_VARARGS, NULL},
292888  { (char *)"BodyPart_RemoveRobotPartInterface", _wrap_BodyPart_RemoveRobotPartInterface, METH_VARARGS, NULL},
292889  { (char *)"BodyPart_FindRobotPartListIndex", _wrap_BodyPart_FindRobotPartListIndex, METH_VARARGS, NULL},
292890  { (char *)"BodyPart_SynchWithRobot", _wrap_BodyPart_SynchWithRobot, METH_VARARGS, NULL},
292891  { (char *)"BodyPart_SynchUpdateInterval", _wrap_BodyPart_SynchUpdateInterval, METH_VARARGS, NULL},
292892  { (char *)"BodyPart_Resize", _wrap_BodyPart_Resize, METH_VARARGS, NULL},
292893  { (char *)"BodyPart_SetSystemPointers", _wrap_BodyPart_SetSystemPointers, METH_VARARGS, NULL},
292894  { (char *)"BodyPart_GetDataPointer", _wrap_BodyPart_GetDataPointer, METH_VARARGS, NULL},
292895  { (char *)"BodyPart_SetData", _wrap_BodyPart_SetData, METH_VARARGS, NULL},
292896  { (char *)"BodyPart_QueryProperties", _wrap_BodyPart_QueryProperties, METH_VARARGS, NULL},
292897  { (char *)"BodyPart_UpdateExtraData", _wrap_BodyPart_UpdateExtraData, METH_VARARGS, NULL},
292898  { (char *)"BodyPart_NeedsRobotSynch", _wrap_BodyPart_NeedsRobotSynch, METH_VARARGS, NULL},
292899  { (char *)"BodyPart_Initialize", _wrap_BodyPart_Initialize, METH_VARARGS, NULL},
292900  { (char *)"BodyPart_ResetSimulation", _wrap_BodyPart_ResetSimulation, METH_VARARGS, NULL},
292901  { (char *)"BodyPart_TimeStepModified", _wrap_BodyPart_TimeStepModified, METH_VARARGS, NULL},
292902  { (char *)"BodyPart_Selected", _wrap_BodyPart_Selected, METH_VARARGS, NULL},
292903  { (char *)"BodyPart_AddBodyClicked", _wrap_BodyPart_AddBodyClicked, METH_VARARGS, NULL},
292904  { (char *)"BodyPart_VisualSelectionModeChanged", _wrap_BodyPart_VisualSelectionModeChanged, METH_VARARGS, NULL},
292905  { (char *)"BodyPart_UpdatePhysicsPosFromGraphics", _wrap_BodyPart_UpdatePhysicsPosFromGraphics, METH_VARARGS, NULL},
292906  { (char *)"BodyPart_WakeDynamics", _wrap_BodyPart_WakeDynamics, METH_VARARGS, NULL},
292907  { (char *)"BodyPart_Load", _wrap_BodyPart_Load, METH_VARARGS, NULL},
292908  { (char *)"BodyPart_swigregister", BodyPart_swigregister, METH_VARARGS, NULL},
292909  { (char *)"new_ReceptiveFieldPair", _wrap_new_ReceptiveFieldPair, METH_VARARGS, NULL},
292910  { (char *)"delete_ReceptiveFieldPair", _wrap_delete_ReceptiveFieldPair, METH_VARARGS, NULL},
292911  { (char *)"ReceptiveFieldPair_CastToDerived", _wrap_ReceptiveFieldPair_CastToDerived, METH_VARARGS, NULL},
292912  { (char *)"ReceptiveFieldPair_FieldID", _wrap_ReceptiveFieldPair_FieldID, METH_VARARGS, NULL},
292913  { (char *)"ReceptiveFieldPair_TargetNodeID", _wrap_ReceptiveFieldPair_TargetNodeID, METH_VARARGS, NULL},
292914  { (char *)"ReceptiveFieldPair_Field", _wrap_ReceptiveFieldPair_Field, METH_VARARGS, NULL},
292915  { (char *)"ReceptiveFieldPair_Initialize", _wrap_ReceptiveFieldPair_Initialize, METH_VARARGS, NULL},
292916  { (char *)"ReceptiveFieldPair_StepSimulation", _wrap_ReceptiveFieldPair_StepSimulation, METH_VARARGS, NULL},
292917  { (char *)"ReceptiveFieldPair_Load", _wrap_ReceptiveFieldPair_Load, METH_VARARGS, NULL},
292918  { (char *)"ReceptiveFieldPair_swigregister", ReceptiveFieldPair_swigregister, METH_VARARGS, NULL},
292919  { (char *)"NoDelayBuffer_swigconstant", NoDelayBuffer_swigconstant, METH_VARARGS, NULL},
292920  { (char *)"DelayBufferInSimOnly_swigconstant", DelayBufferInSimOnly_swigconstant, METH_VARARGS, NULL},
292921  { (char *)"DelayBufferAlwaysOn_swigconstant", DelayBufferAlwaysOn_swigconstant, METH_VARARGS, NULL},
292922  { (char *)"new_Adapter", _wrap_new_Adapter, METH_VARARGS, NULL},
292923  { (char *)"delete_Adapter", _wrap_delete_Adapter, METH_VARARGS, NULL},
292924  { (char *)"Adapter_CastToDerived", _wrap_Adapter_CastToDerived, METH_VARARGS, NULL},
292925  { (char *)"Adapter_SourceModule", _wrap_Adapter_SourceModule, METH_VARARGS, NULL},
292926  { (char *)"Adapter_SourceID", _wrap_Adapter_SourceID, METH_VARARGS, NULL},
292927  { (char *)"Adapter_SourceDataType", _wrap_Adapter_SourceDataType, METH_VARARGS, NULL},
292928  { (char *)"Adapter_SourceNode", _wrap_Adapter_SourceNode, METH_VARARGS, NULL},
292929  { (char *)"Adapter_TargetModule", _wrap_Adapter_TargetModule, METH_VARARGS, NULL},
292930  { (char *)"Adapter_TargetID", _wrap_Adapter_TargetID, METH_VARARGS, NULL},
292931  { (char *)"Adapter_TargetDataType", _wrap_Adapter_TargetDataType, METH_VARARGS, NULL},
292932  { (char *)"Adapter_TargetNode", _wrap_Adapter_TargetNode, METH_VARARGS, NULL},
292933  { (char *)"Adapter_GetGain", _wrap_Adapter_GetGain, METH_VARARGS, NULL},
292934  { (char *)"Adapter_SetGain", _wrap_Adapter_SetGain, METH_VARARGS, NULL},
292935  { (char *)"Adapter_ConnectedToPhysics", _wrap_Adapter_ConnectedToPhysics, METH_VARARGS, NULL},
292936  { (char *)"Adapter_DelayBufferMode", _wrap_Adapter_DelayBufferMode, METH_VARARGS, NULL},
292937  { (char *)"Adapter_DelayBufferInterval", _wrap_Adapter_DelayBufferInterval, METH_VARARGS, NULL},
292938  { (char *)"Adapter_DetachAdaptersFromSimulation", _wrap_Adapter_DetachAdaptersFromSimulation, METH_VARARGS, NULL},
292939  { (char *)"Adapter_RobotIOScale", _wrap_Adapter_RobotIOScale, METH_VARARGS, NULL},
292940  { (char *)"Adapter_SynchWithRobot", _wrap_Adapter_SynchWithRobot, METH_VARARGS, NULL},
292941  { (char *)"Adapter_SynchUpdateInterval", _wrap_Adapter_SynchUpdateInterval, METH_VARARGS, NULL},
292942  { (char *)"Adapter_SynchUpdateStartInterval", _wrap_Adapter_SynchUpdateStartInterval, METH_VARARGS, NULL},
292943  { (char *)"Adapter_InitIODisableDuration", _wrap_Adapter_InitIODisableDuration, METH_VARARGS, NULL},
292944  { (char *)"Adapter_Initialize", _wrap_Adapter_Initialize, METH_VARARGS, NULL},
292945  { (char *)"Adapter_TimeStepModified", _wrap_Adapter_TimeStepModified, METH_VARARGS, NULL},
292946  { (char *)"Adapter_ResetSimulation", _wrap_Adapter_ResetSimulation, METH_VARARGS, NULL},
292947  { (char *)"Adapter_AddExternalNodeInput", _wrap_Adapter_AddExternalNodeInput, METH_VARARGS, NULL},
292948  { (char *)"Adapter_SetData", _wrap_Adapter_SetData, METH_VARARGS, NULL},
292949  { (char *)"Adapter_QueryProperties", _wrap_Adapter_QueryProperties, METH_VARARGS, NULL},
292950  { (char *)"Adapter_GetDataPointer", _wrap_Adapter_GetDataPointer, METH_VARARGS, NULL},
292951  { (char *)"Adapter_StepSimulation", _wrap_Adapter_StepSimulation, METH_VARARGS, NULL},
292952  { (char *)"Adapter_Load", _wrap_Adapter_Load, METH_VARARGS, NULL},
292953  { (char *)"Adapter_swigregister", Adapter_swigregister, METH_VARARGS, NULL},
292954  { (char *)"new_PropertyControlAdapter", _wrap_new_PropertyControlAdapter, METH_VARARGS, NULL},
292955  { (char *)"delete_PropertyControlAdapter", _wrap_delete_PropertyControlAdapter, METH_VARARGS, NULL},
292956  { (char *)"PropertyControlAdapter_CastToDerived", _wrap_PropertyControlAdapter_CastToDerived, METH_VARARGS, NULL},
292957  { (char *)"PropertyControlAdapter_TargetObject", _wrap_PropertyControlAdapter_TargetObject, METH_VARARGS, NULL},
292958  { (char *)"PropertyControlAdapter_TargetID", _wrap_PropertyControlAdapter_TargetID, METH_VARARGS, NULL},
292959  { (char *)"PropertyControlAdapter_PropertyName", _wrap_PropertyControlAdapter_PropertyName, METH_VARARGS, NULL},
292960  { (char *)"PropertyControlAdapter_SetThreshold", _wrap_PropertyControlAdapter_SetThreshold, METH_VARARGS, NULL},
292961  { (char *)"PropertyControlAdapter_InitialValue", _wrap_PropertyControlAdapter_InitialValue, METH_VARARGS, NULL},
292962  { (char *)"PropertyControlAdapter_FinalValue", _wrap_PropertyControlAdapter_FinalValue, METH_VARARGS, NULL},
292963  { (char *)"PropertyControlAdapter_Initialize", _wrap_PropertyControlAdapter_Initialize, METH_VARARGS, NULL},
292964  { (char *)"PropertyControlAdapter_ResetSimulation", _wrap_PropertyControlAdapter_ResetSimulation, METH_VARARGS, NULL},
292965  { (char *)"PropertyControlAdapter_SimStarting", _wrap_PropertyControlAdapter_SimStarting, METH_VARARGS, NULL},
292966  { (char *)"PropertyControlAdapter_SetData", _wrap_PropertyControlAdapter_SetData, METH_VARARGS, NULL},
292967  { (char *)"PropertyControlAdapter_QueryProperties", _wrap_PropertyControlAdapter_QueryProperties, METH_VARARGS, NULL},
292968  { (char *)"PropertyControlAdapter_StepSimulation", _wrap_PropertyControlAdapter_StepSimulation, METH_VARARGS, NULL},
292969  { (char *)"PropertyControlAdapter_Load", _wrap_PropertyControlAdapter_Load, METH_VARARGS, NULL},
292970  { (char *)"PropertyControlAdapter_swigregister", PropertyControlAdapter_swigregister, METH_VARARGS, NULL},
292971  { (char *)"new_ContactAdapter", _wrap_new_ContactAdapter, METH_VARARGS, NULL},
292972  { (char *)"delete_ContactAdapter", _wrap_delete_ContactAdapter, METH_VARARGS, NULL},
292973  { (char *)"ContactAdapter_CastToDerived", _wrap_ContactAdapter_CastToDerived, METH_VARARGS, NULL},
292974  { (char *)"ContactAdapter_SourceBodyID", _wrap_ContactAdapter_SourceBodyID, METH_VARARGS, NULL},
292975  { (char *)"ContactAdapter_SourceModule", _wrap_ContactAdapter_SourceModule, METH_VARARGS, NULL},
292976  { (char *)"ContactAdapter_TargetModule", _wrap_ContactAdapter_TargetModule, METH_VARARGS, NULL},
292977  { (char *)"ContactAdapter_AddItem", _wrap_ContactAdapter_AddItem, METH_VARARGS, NULL},
292978  { (char *)"ContactAdapter_RemoveItem", _wrap_ContactAdapter_RemoveItem, METH_VARARGS, NULL},
292979  { (char *)"ContactAdapter_Initialize", _wrap_ContactAdapter_Initialize, METH_VARARGS, NULL},
292980  { (char *)"ContactAdapter_StepSimulation", _wrap_ContactAdapter_StepSimulation, METH_VARARGS, NULL},
292981  { (char *)"ContactAdapter_Load", _wrap_ContactAdapter_Load, METH_VARARGS, NULL},
292982  { (char *)"ContactAdapter_swigregister", ContactAdapter_swigregister, METH_VARARGS, NULL},
292983  { (char *)"delete_ConstraintLimit", _wrap_delete_ConstraintLimit, METH_VARARGS, NULL},
292984  { (char *)"ConstraintLimit_CastToDerived", _wrap_ConstraintLimit_CastToDerived, METH_VARARGS, NULL},
292985  { (char *)"ConstraintLimit_LimitPos", _wrap_ConstraintLimit_LimitPos, METH_VARARGS, NULL},
292986  { (char *)"ConstraintLimit_SetLimitPos", _wrap_ConstraintLimit_SetLimitPos, METH_VARARGS, NULL},
292987  { (char *)"ConstraintLimit_Damping", _wrap_ConstraintLimit_Damping, METH_VARARGS, NULL},
292988  { (char *)"ConstraintLimit_Restitution", _wrap_ConstraintLimit_Restitution, METH_VARARGS, NULL},
292989  { (char *)"ConstraintLimit_Stiffness", _wrap_ConstraintLimit_Stiffness, METH_VARARGS, NULL},
292990  { (char *)"ConstraintLimit_Color", _wrap_ConstraintLimit_Color, METH_VARARGS, NULL},
292991  { (char *)"ConstraintLimit_Alpha", _wrap_ConstraintLimit_Alpha, METH_VARARGS, NULL},
292992  { (char *)"ConstraintLimit_IsLowerLimit", _wrap_ConstraintLimit_IsLowerLimit, METH_VARARGS, NULL},
292993  { (char *)"ConstraintLimit_IsShowPosition", _wrap_ConstraintLimit_IsShowPosition, METH_VARARGS, NULL},
292994  { (char *)"ConstraintLimit_SetSystemPointers", _wrap_ConstraintLimit_SetSystemPointers, METH_VARARGS, NULL},
292995  { (char *)"ConstraintLimit_VerifySystemPointers", _wrap_ConstraintLimit_VerifySystemPointers, METH_VARARGS, NULL},
292996  { (char *)"ConstraintLimit_GetDataPointer", _wrap_ConstraintLimit_GetDataPointer, METH_VARARGS, NULL},
292997  { (char *)"ConstraintLimit_SetData", _wrap_ConstraintLimit_SetData, METH_VARARGS, NULL},
292998  { (char *)"ConstraintLimit_QueryProperties", _wrap_ConstraintLimit_QueryProperties, METH_VARARGS, NULL},
292999  { (char *)"ConstraintLimit_Load", _wrap_ConstraintLimit_Load, METH_VARARGS, NULL},
293000  { (char *)"ConstraintLimit_SetupGraphics", _wrap_ConstraintLimit_SetupGraphics, METH_VARARGS, NULL},
293001  { (char *)"ConstraintLimit_DeleteGraphics", _wrap_ConstraintLimit_DeleteGraphics, METH_VARARGS, NULL},
293002  { (char *)"ConstraintLimit_swigregister", ConstraintLimit_swigregister, METH_VARARGS, NULL},
293003  { (char *)"delete_ConstraintRelaxation", _wrap_delete_ConstraintRelaxation, METH_VARARGS, NULL},
293004  { (char *)"ConstraintRelaxation_CastToDerived", _wrap_ConstraintRelaxation_CastToDerived, METH_VARARGS, NULL},
293005  { (char *)"ConstraintRelaxation_CoordinateID", _wrap_ConstraintRelaxation_CoordinateID, METH_VARARGS, NULL},
293006  { (char *)"ConstraintRelaxation_Enabled", _wrap_ConstraintRelaxation_Enabled, METH_VARARGS, NULL},
293007  { (char *)"ConstraintRelaxation_Stiffness", _wrap_ConstraintRelaxation_Stiffness, METH_VARARGS, NULL},
293008  { (char *)"ConstraintRelaxation_Damping", _wrap_ConstraintRelaxation_Damping, METH_VARARGS, NULL},
293009  { (char *)"ConstraintRelaxation_CreateDefaultUnits", _wrap_ConstraintRelaxation_CreateDefaultUnits, METH_VARARGS, NULL},
293010  { (char *)"ConstraintRelaxation_SetData", _wrap_ConstraintRelaxation_SetData, METH_VARARGS, NULL},
293011  { (char *)"ConstraintRelaxation_QueryProperties", _wrap_ConstraintRelaxation_QueryProperties, METH_VARARGS, NULL},
293012  { (char *)"ConstraintRelaxation_Load", _wrap_ConstraintRelaxation_Load, METH_VARARGS, NULL},
293013  { (char *)"ConstraintRelaxation_swigregister", ConstraintRelaxation_swigregister, METH_VARARGS, NULL},
293014  { (char *)"delete_ConstraintFriction", _wrap_delete_ConstraintFriction, METH_VARARGS, NULL},
293015  { (char *)"ConstraintFriction_CastToDerived", _wrap_ConstraintFriction_CastToDerived, METH_VARARGS, NULL},
293016  { (char *)"ConstraintFriction_Enabled", _wrap_ConstraintFriction_Enabled, METH_VARARGS, NULL},
293017  { (char *)"ConstraintFriction_Coefficient", _wrap_ConstraintFriction_Coefficient, METH_VARARGS, NULL},
293018  { (char *)"ConstraintFriction_MaxForce", _wrap_ConstraintFriction_MaxForce, METH_VARARGS, NULL},
293019  { (char *)"ConstraintFriction_Loss", _wrap_ConstraintFriction_Loss, METH_VARARGS, NULL},
293020  { (char *)"ConstraintFriction_Proportional", _wrap_ConstraintFriction_Proportional, METH_VARARGS, NULL},
293021  { (char *)"ConstraintFriction_StaticFrictionScale", _wrap_ConstraintFriction_StaticFrictionScale, METH_VARARGS, NULL},
293022  { (char *)"ConstraintFriction_CreateDefaultUnits", _wrap_ConstraintFriction_CreateDefaultUnits, METH_VARARGS, NULL},
293023  { (char *)"ConstraintFriction_SetData", _wrap_ConstraintFriction_SetData, METH_VARARGS, NULL},
293024  { (char *)"ConstraintFriction_QueryProperties", _wrap_ConstraintFriction_QueryProperties, METH_VARARGS, NULL},
293025  { (char *)"ConstraintFriction_Load", _wrap_ConstraintFriction_Load, METH_VARARGS, NULL},
293026  { (char *)"ConstraintFriction_swigregister", ConstraintFriction_swigregister, METH_VARARGS, NULL},
293027  { (char *)"new_Joint", _wrap_new_Joint, METH_VARARGS, NULL},
293028  { (char *)"delete_Joint", _wrap_delete_Joint, METH_VARARGS, NULL},
293029  { (char *)"Joint_CastToDerived", _wrap_Joint_CastToDerived, METH_VARARGS, NULL},
293030  { (char *)"Joint_UsesRadians", _wrap_Joint_UsesRadians, METH_VARARGS, NULL},
293031  { (char *)"Joint_Size", _wrap_Joint_Size, METH_VARARGS, NULL},
293032  { (char *)"Joint_EnableLimits", _wrap_Joint_EnableLimits, METH_VARARGS, NULL},
293033  { (char *)"Joint_Relaxation1", _wrap_Joint_Relaxation1, METH_VARARGS, NULL},
293034  { (char *)"Joint_Relaxation2", _wrap_Joint_Relaxation2, METH_VARARGS, NULL},
293035  { (char *)"Joint_Relaxation3", _wrap_Joint_Relaxation3, METH_VARARGS, NULL},
293036  { (char *)"Joint_Relaxation4", _wrap_Joint_Relaxation4, METH_VARARGS, NULL},
293037  { (char *)"Joint_Relaxation5", _wrap_Joint_Relaxation5, METH_VARARGS, NULL},
293038  { (char *)"Joint_Relaxation6", _wrap_Joint_Relaxation6, METH_VARARGS, NULL},
293039  { (char *)"Joint_Friction", _wrap_Joint_Friction, METH_VARARGS, NULL},
293040  { (char *)"Joint_GetPositionWithinLimits", _wrap_Joint_GetPositionWithinLimits, METH_VARARGS, NULL},
293041  { (char *)"Joint_GetLimitRange", _wrap_Joint_GetLimitRange, METH_VARARGS, NULL},
293042  { (char *)"Joint_VisualSelectionType", _wrap_Joint_VisualSelectionType, METH_VARARGS, NULL},
293043  { (char *)"Joint_Child", _wrap_Joint_Child, METH_VARARGS, NULL},
293044  { (char *)"Joint_JointPosition", _wrap_Joint_JointPosition, METH_VARARGS, NULL},
293045  { (char *)"Joint_JointVelocity", _wrap_Joint_JointVelocity, METH_VARARGS, NULL},
293046  { (char *)"Joint_JointForce", _wrap_Joint_JointForce, METH_VARARGS, NULL},
293047  { (char *)"Joint_WakeDynamics", _wrap_Joint_WakeDynamics, METH_VARARGS, NULL},
293048  { (char *)"Joint_CreateJoint", _wrap_Joint_CreateJoint, METH_VARARGS, NULL},
293049  { (char *)"Joint_UpdatePhysicsPosFromGraphics", _wrap_Joint_UpdatePhysicsPosFromGraphics, METH_VARARGS, NULL},
293050  { (char *)"Joint_Initialize", _wrap_Joint_Initialize, METH_VARARGS, NULL},
293051  { (char *)"Joint_GetDataPointer", _wrap_Joint_GetDataPointer, METH_VARARGS, NULL},
293052  { (char *)"Joint_SetData", _wrap_Joint_SetData, METH_VARARGS, NULL},
293053  { (char *)"Joint_QueryProperties", _wrap_Joint_QueryProperties, METH_VARARGS, NULL},
293054  { (char *)"Joint_AddExternalNodeInput", _wrap_Joint_AddExternalNodeInput, METH_VARARGS, NULL},
293055  { (char *)"Joint_ResetSimulation", _wrap_Joint_ResetSimulation, METH_VARARGS, NULL},
293056  { (char *)"Joint_AfterResetSimulation", _wrap_Joint_AfterResetSimulation, METH_VARARGS, NULL},
293057  { (char *)"Joint_StepSimulation", _wrap_Joint_StepSimulation, METH_VARARGS, NULL},
293058  { (char *)"Joint_Load", _wrap_Joint_Load, METH_VARARGS, NULL},
293059  { (char *)"Joint_swigregister", Joint_swigregister, METH_VARARGS, NULL},
293060  { (char *)"VelocityControl_swigconstant", VelocityControl_swigconstant, METH_VARARGS, NULL},
293061  { (char *)"PositionControl_swigconstant", PositionControl_swigconstant, METH_VARARGS, NULL},
293062  { (char *)"PositionVelocityControl_swigconstant", PositionVelocityControl_swigconstant, METH_VARARGS, NULL},
293063  { (char *)"new_MotorizedJoint", _wrap_new_MotorizedJoint, METH_VARARGS, NULL},
293064  { (char *)"delete_MotorizedJoint", _wrap_delete_MotorizedJoint, METH_VARARGS, NULL},
293065  { (char *)"MotorizedJoint_CastToDerived", _wrap_MotorizedJoint_CastToDerived, METH_VARARGS, NULL},
293066  { (char *)"MotorizedJoint_PhysicsMotorJoint", _wrap_MotorizedJoint_PhysicsMotorJoint, METH_VARARGS, NULL},
293067  { (char *)"MotorizedJoint_EnableMotor", _wrap_MotorizedJoint_EnableMotor, METH_VARARGS, NULL},
293068  { (char *)"MotorizedJoint_MotorType", _wrap_MotorizedJoint_MotorType, METH_VARARGS, NULL},
293069  { (char *)"MotorizedJoint_ServoGain", _wrap_MotorizedJoint_ServoGain, METH_VARARGS, NULL},
293070  { (char *)"MotorizedJoint_MaxForce", _wrap_MotorizedJoint_MaxForce, METH_VARARGS, NULL},
293071  { (char *)"MotorizedJoint_MaxForceNotScaled", _wrap_MotorizedJoint_MaxForceNotScaled, METH_VARARGS, NULL},
293072  { (char *)"MotorizedJoint_MaxVelocity", _wrap_MotorizedJoint_MaxVelocity, METH_VARARGS, NULL},
293073  { (char *)"MotorizedJoint_DesiredPosition", _wrap_MotorizedJoint_DesiredPosition, METH_VARARGS, NULL},
293074  { (char *)"MotorizedJoint_SetPosition", _wrap_MotorizedJoint_SetPosition, METH_VARARGS, NULL},
293075  { (char *)"MotorizedJoint_PrevSetPosition", _wrap_MotorizedJoint_PrevSetPosition, METH_VARARGS, NULL},
293076  { (char *)"MotorizedJoint_ReachedSetPosition", _wrap_MotorizedJoint_ReachedSetPosition, METH_VARARGS, NULL},
293077  { (char *)"MotorizedJoint_DesiredVelocity", _wrap_MotorizedJoint_DesiredVelocity, METH_VARARGS, NULL},
293078  { (char *)"MotorizedJoint_SetVelocity", _wrap_MotorizedJoint_SetVelocity, METH_VARARGS, NULL},
293079  { (char *)"MotorizedJoint_PrevSetVelocity", _wrap_MotorizedJoint_PrevSetVelocity, METH_VARARGS, NULL},
293080  { (char *)"MotorizedJoint_PrevVelocity", _wrap_MotorizedJoint_PrevVelocity, METH_VARARGS, NULL},
293081  { (char *)"MotorizedJoint_AssistCountdown", _wrap_MotorizedJoint_AssistCountdown, METH_VARARGS, NULL},
293082  { (char *)"MotorizedJoint_MotorForceToA", _wrap_MotorizedJoint_MotorForceToA, METH_VARARGS, NULL},
293083  { (char *)"MotorizedJoint_MotorForceToAMagnitude", _wrap_MotorizedJoint_MotorForceToAMagnitude, METH_VARARGS, NULL},
293084  { (char *)"MotorizedJoint_MotorAssistForceToA", _wrap_MotorizedJoint_MotorAssistForceToA, METH_VARARGS, NULL},
293085  { (char *)"MotorizedJoint_MotorAssistForceToAReport", _wrap_MotorizedJoint_MotorAssistForceToAReport, METH_VARARGS, NULL},
293086  { (char *)"MotorizedJoint_MotorForceToB", _wrap_MotorizedJoint_MotorForceToB, METH_VARARGS, NULL},
293087  { (char *)"MotorizedJoint_MotorForceToBMagnitude", _wrap_MotorizedJoint_MotorForceToBMagnitude, METH_VARARGS, NULL},
293088  { (char *)"MotorizedJoint_MotorAssistForceToB", _wrap_MotorizedJoint_MotorAssistForceToB, METH_VARARGS, NULL},
293089  { (char *)"MotorizedJoint_MotorAssistForceToBReport", _wrap_MotorizedJoint_MotorAssistForceToBReport, METH_VARARGS, NULL},
293090  { (char *)"MotorizedJoint_MotorTorqueToA", _wrap_MotorizedJoint_MotorTorqueToA, METH_VARARGS, NULL},
293091  { (char *)"MotorizedJoint_MotorTorqueToAMagnitude", _wrap_MotorizedJoint_MotorTorqueToAMagnitude, METH_VARARGS, NULL},
293092  { (char *)"MotorizedJoint_MotorAssistTorqueToA", _wrap_MotorizedJoint_MotorAssistTorqueToA, METH_VARARGS, NULL},
293093  { (char *)"MotorizedJoint_MotorAssistTorqueToAReport", _wrap_MotorizedJoint_MotorAssistTorqueToAReport, METH_VARARGS, NULL},
293094  { (char *)"MotorizedJoint_MotorTorqueToB", _wrap_MotorizedJoint_MotorTorqueToB, METH_VARARGS, NULL},
293095  { (char *)"MotorizedJoint_MotorTorqueToBMagnitude", _wrap_MotorizedJoint_MotorTorqueToBMagnitude, METH_VARARGS, NULL},
293096  { (char *)"MotorizedJoint_MotorAssistTorqueToB", _wrap_MotorizedJoint_MotorAssistTorqueToB, METH_VARARGS, NULL},
293097  { (char *)"MotorizedJoint_MotorAssistTorqueToBReport", _wrap_MotorizedJoint_MotorAssistTorqueToBReport, METH_VARARGS, NULL},
293098  { (char *)"MotorizedJoint_AssistPid", _wrap_MotorizedJoint_AssistPid, METH_VARARGS, NULL},
293099  { (char *)"MotorizedJoint_Temperature", _wrap_MotorizedJoint_Temperature, METH_VARARGS, NULL},
293100  { (char *)"MotorizedJoint_Voltage", _wrap_MotorizedJoint_Voltage, METH_VARARGS, NULL},
293101  { (char *)"MotorizedJoint_MotorInput", _wrap_MotorizedJoint_MotorInput, METH_VARARGS, NULL},
293102  { (char *)"MotorizedJoint_RobotMotorControl", _wrap_MotorizedJoint_RobotMotorControl, METH_VARARGS, NULL},
293103  { (char *)"MotorizedJoint_SetVelocityToDesired", _wrap_MotorizedJoint_SetVelocityToDesired, METH_VARARGS, NULL},
293104  { (char *)"MotorizedJoint_EnableLock", _wrap_MotorizedJoint_EnableLock, METH_VARARGS, NULL},
293105  { (char *)"MotorizedJoint_Initialize", _wrap_MotorizedJoint_Initialize, METH_VARARGS, NULL},
293106  { (char *)"MotorizedJoint_ResetSimulation", _wrap_MotorizedJoint_ResetSimulation, METH_VARARGS, NULL},
293107  { (char *)"MotorizedJoint_GetDataPointer", _wrap_MotorizedJoint_GetDataPointer, METH_VARARGS, NULL},
293108  { (char *)"MotorizedJoint_SetData", _wrap_MotorizedJoint_SetData, METH_VARARGS, NULL},
293109  { (char *)"MotorizedJoint_QueryProperties", _wrap_MotorizedJoint_QueryProperties, METH_VARARGS, NULL},
293110  { (char *)"MotorizedJoint_Load", _wrap_MotorizedJoint_Load, METH_VARARGS, NULL},
293111  { (char *)"MotorizedJoint_swigregister", MotorizedJoint_swigregister, METH_VARARGS, NULL},
293112  { (char *)"new_BallSocket", _wrap_new_BallSocket, METH_VARARGS, NULL},
293113  { (char *)"delete_BallSocket", _wrap_delete_BallSocket, METH_VARARGS, NULL},
293114  { (char *)"BallSocket_CastToDerived", _wrap_BallSocket_CastToDerived, METH_VARARGS, NULL},
293115  { (char *)"BallSocket_CylinderRadius", _wrap_BallSocket_CylinderRadius, METH_VARARGS, NULL},
293116  { (char *)"BallSocket_CylinderHeight", _wrap_BallSocket_CylinderHeight, METH_VARARGS, NULL},
293117  { (char *)"BallSocket_BallRadius", _wrap_BallSocket_BallRadius, METH_VARARGS, NULL},
293118  { (char *)"BallSocket_Load", _wrap_BallSocket_Load, METH_VARARGS, NULL},
293119  { (char *)"BallSocket_swigregister", BallSocket_swigregister, METH_VARARGS, NULL},
293120  { (char *)"new_Hinge", _wrap_new_Hinge, METH_VARARGS, NULL},
293121  { (char *)"delete_Hinge", _wrap_delete_Hinge, METH_VARARGS, NULL},
293122  { (char *)"Hinge_CastToDerived", _wrap_Hinge_CastToDerived, METH_VARARGS, NULL},
293123  { (char *)"Hinge_CylinderRadius", _wrap_Hinge_CylinderRadius, METH_VARARGS, NULL},
293124  { (char *)"Hinge_CylinderHeight", _wrap_Hinge_CylinderHeight, METH_VARARGS, NULL},
293125  { (char *)"Hinge_FlapWidth", _wrap_Hinge_FlapWidth, METH_VARARGS, NULL},
293126  { (char *)"Hinge_Enabled", _wrap_Hinge_Enabled, METH_VARARGS, NULL},
293127  { (char *)"Hinge_UpperLimit", _wrap_Hinge_UpperLimit, METH_VARARGS, NULL},
293128  { (char *)"Hinge_LowerLimit", _wrap_Hinge_LowerLimit, METH_VARARGS, NULL},
293129  { (char *)"Hinge_GetPositionWithinLimits", _wrap_Hinge_GetPositionWithinLimits, METH_VARARGS, NULL},
293130  { (char *)"Hinge_GetLimitRange", _wrap_Hinge_GetLimitRange, METH_VARARGS, NULL},
293131  { (char *)"Hinge_SetData", _wrap_Hinge_SetData, METH_VARARGS, NULL},
293132  { (char *)"Hinge_AddExternalNodeInput", _wrap_Hinge_AddExternalNodeInput, METH_VARARGS, NULL},
293133  { (char *)"Hinge_GetTargetDataTypeIndex", _wrap_Hinge_GetTargetDataTypeIndex, METH_VARARGS, NULL},
293134  { (char *)"Hinge_UpdateData", _wrap_Hinge_UpdateData, METH_VARARGS, NULL},
293135  { (char *)"Hinge_ResetSimulation", _wrap_Hinge_ResetSimulation, METH_VARARGS, NULL},
293136  { (char *)"Hinge_Load", _wrap_Hinge_Load, METH_VARARGS, NULL},
293137  { (char *)"Hinge_swigregister", Hinge_swigregister, METH_VARARGS, NULL},
293138  { (char *)"new_Prismatic", _wrap_new_Prismatic, METH_VARARGS, NULL},
293139  { (char *)"delete_Prismatic", _wrap_delete_Prismatic, METH_VARARGS, NULL},
293140  { (char *)"Prismatic_CastToDerived", _wrap_Prismatic_CastToDerived, METH_VARARGS, NULL},
293141  { (char *)"Prismatic_CylinderRadius", _wrap_Prismatic_CylinderRadius, METH_VARARGS, NULL},
293142  { (char *)"Prismatic_BoxSize", _wrap_Prismatic_BoxSize, METH_VARARGS, NULL},
293143  { (char *)"Prismatic_Enabled", _wrap_Prismatic_Enabled, METH_VARARGS, NULL},
293144  { (char *)"Prismatic_UpperLimit", _wrap_Prismatic_UpperLimit, METH_VARARGS, NULL},
293145  { (char *)"Prismatic_LowerLimit", _wrap_Prismatic_LowerLimit, METH_VARARGS, NULL},
293146  { (char *)"Prismatic_GetPositionWithinLimits", _wrap_Prismatic_GetPositionWithinLimits, METH_VARARGS, NULL},
293147  { (char *)"Prismatic_GetLimitRange", _wrap_Prismatic_GetLimitRange, METH_VARARGS, NULL},
293148  { (char *)"Prismatic_UsesRadians", _wrap_Prismatic_UsesRadians, METH_VARARGS, NULL},
293149  { (char *)"Prismatic_SetData", _wrap_Prismatic_SetData, METH_VARARGS, NULL},
293150  { (char *)"Prismatic_AddExternalNodeInput", _wrap_Prismatic_AddExternalNodeInput, METH_VARARGS, NULL},
293151  { (char *)"Prismatic_GetTargetDataTypeIndex", _wrap_Prismatic_GetTargetDataTypeIndex, METH_VARARGS, NULL},
293152  { (char *)"Prismatic_Load", _wrap_Prismatic_Load, METH_VARARGS, NULL},
293153  { (char *)"Prismatic_swigregister", Prismatic_swigregister, METH_VARARGS, NULL},
293154  { (char *)"new_LinearJoint", _wrap_new_LinearJoint, METH_VARARGS, NULL},
293155  { (char *)"delete_LinearJoint", _wrap_delete_LinearJoint, METH_VARARGS, NULL},
293156  { (char *)"LinearJoint_CastToDerived", _wrap_LinearJoint_CastToDerived, METH_VARARGS, NULL},
293157  { (char *)"LinearJoint_LinearType", _wrap_LinearJoint_LinearType, METH_VARARGS, NULL},
293158  { (char *)"LinearJoint_PlaneWidth", _wrap_LinearJoint_PlaneWidth, METH_VARARGS, NULL},
293159  { (char *)"LinearJoint_PlaneSize", _wrap_LinearJoint_PlaneSize, METH_VARARGS, NULL},
293160  { (char *)"LinearJoint_CylinderRadius", _wrap_LinearJoint_CylinderRadius, METH_VARARGS, NULL},
293161  { (char *)"LinearJoint_CylinderHeight", _wrap_LinearJoint_CylinderHeight, METH_VARARGS, NULL},
293162  { (char *)"LinearJoint_SetData", _wrap_LinearJoint_SetData, METH_VARARGS, NULL},
293163  { (char *)"LinearJoint_QueryProperties", _wrap_LinearJoint_QueryProperties, METH_VARARGS, NULL},
293164  { (char *)"LinearJoint_Load", _wrap_LinearJoint_Load, METH_VARARGS, NULL},
293165  { (char *)"LinearJoint_swigregister", LinearJoint_swigregister, METH_VARARGS, NULL},
293166  { (char *)"new_RPRO", _wrap_new_RPRO, METH_VARARGS, NULL},
293167  { (char *)"delete_RPRO", _wrap_delete_RPRO, METH_VARARGS, NULL},
293168  { (char *)"RPRO_CastToDerived", _wrap_RPRO_CastToDerived, METH_VARARGS, NULL},
293169  { (char *)"RPRO_CylinderRadius", _wrap_RPRO_CylinderRadius, METH_VARARGS, NULL},
293170  { (char *)"RPRO_CylinderHeight", _wrap_RPRO_CylinderHeight, METH_VARARGS, NULL},
293171  { (char *)"RPRO_BallRadius", _wrap_RPRO_BallRadius, METH_VARARGS, NULL},
293172  { (char *)"RPRO_Load", _wrap_RPRO_Load, METH_VARARGS, NULL},
293173  { (char *)"RPRO_swigregister", RPRO_swigregister, METH_VARARGS, NULL},
293174  { (char *)"new_ContactSensor", _wrap_new_ContactSensor, METH_VARARGS, NULL},
293175  { (char *)"delete_ContactSensor", _wrap_delete_ContactSensor, METH_VARARGS, NULL},
293176  { (char *)"ContactSensor_CastToDerived", _wrap_ContactSensor_CastToDerived, METH_VARARGS, NULL},
293177  { (char *)"ContactSensor_FieldGain", _wrap_ContactSensor_FieldGain, METH_VARARGS, NULL},
293178  { (char *)"ContactSensor_CurrentGain", _wrap_ContactSensor_CurrentGain, METH_VARARGS, NULL},
293179  { (char *)"ContactSensor_GetReceptiveField", _wrap_ContactSensor_GetReceptiveField, METH_VARARGS, NULL},
293180  { (char *)"ContactSensor_FindReceptiveField", _wrap_ContactSensor_FindReceptiveField, METH_VARARGS, NULL},
293181  { (char *)"ContactSensor_FindClosestReceptiveField", _wrap_ContactSensor_FindClosestReceptiveField, METH_VARARGS, NULL},
293182  { (char *)"ContactSensor_FinishedAddingVertices", _wrap_ContactSensor_FinishedAddingVertices, METH_VARARGS, NULL},
293183  { (char *)"ContactSensor_AddItem", _wrap_ContactSensor_AddItem, METH_VARARGS, NULL},
293184  { (char *)"ContactSensor_RemoveItem", _wrap_ContactSensor_RemoveItem, METH_VARARGS, NULL},
293185  { (char *)"ContactSensor_ClearCurrents", _wrap_ContactSensor_ClearCurrents, METH_VARARGS, NULL},
293186  { (char *)"ContactSensor_ProcessContact", _wrap_ContactSensor_ProcessContact, METH_VARARGS, NULL},
293187  { (char *)"ContactSensor_Load", _wrap_ContactSensor_Load, METH_VARARGS, NULL},
293188  { (char *)"ContactSensor_swigregister", ContactSensor_swigregister, METH_VARARGS, NULL},
293189  { (char *)"new_Odor", _wrap_new_Odor, METH_VARARGS, NULL},
293190  { (char *)"delete_Odor", _wrap_delete_Odor, METH_VARARGS, NULL},
293191  { (char *)"Odor_CastToDerived", _wrap_Odor_CastToDerived, METH_VARARGS, NULL},
293192  { (char *)"Odor_Enabled", _wrap_Odor_Enabled, METH_VARARGS, NULL},
293193  { (char *)"Odor_SetOdorType", _wrap_Odor_SetOdorType, METH_VARARGS, NULL},
293194  { (char *)"Odor_GetOdorType", _wrap_Odor_GetOdorType, METH_VARARGS, NULL},
293195  { (char *)"Odor_Quantity", _wrap_Odor_Quantity, METH_VARARGS, NULL},
293196  { (char *)"Odor_UseFoodQuantity", _wrap_Odor_UseFoodQuantity, METH_VARARGS, NULL},
293197  { (char *)"Odor_CalculateOdorValue", _wrap_Odor_CalculateOdorValue, METH_VARARGS, NULL},
293198  { (char *)"Odor_SetData", _wrap_Odor_SetData, METH_VARARGS, NULL},
293199  { (char *)"Odor_QueryProperties", _wrap_Odor_QueryProperties, METH_VARARGS, NULL},
293200  { (char *)"Odor_Load", _wrap_Odor_Load, METH_VARARGS, NULL},
293201  { (char *)"Odor_swigregister", Odor_swigregister, METH_VARARGS, NULL},
293202  { (char *)"new_OdorType", _wrap_new_OdorType, METH_VARARGS, NULL},
293203  { (char *)"delete_OdorType", _wrap_delete_OdorType, METH_VARARGS, NULL},
293204  { (char *)"OdorType_CastToDerived", _wrap_OdorType_CastToDerived, METH_VARARGS, NULL},
293205  { (char *)"OdorType_DiffusionConstant", _wrap_OdorType_DiffusionConstant, METH_VARARGS, NULL},
293206  { (char *)"OdorType_FindOdorSource", _wrap_OdorType_FindOdorSource, METH_VARARGS, NULL},
293207  { (char *)"OdorType_AddOdorSource", _wrap_OdorType_AddOdorSource, METH_VARARGS, NULL},
293208  { (char *)"OdorType_CalculateOdorValue", _wrap_OdorType_CalculateOdorValue, METH_VARARGS, NULL},
293209  { (char *)"OdorType_SetData", _wrap_OdorType_SetData, METH_VARARGS, NULL},
293210  { (char *)"OdorType_QueryProperties", _wrap_OdorType_QueryProperties, METH_VARARGS, NULL},
293211  { (char *)"OdorType_Load", _wrap_OdorType_Load, METH_VARARGS, NULL},
293212  { (char *)"OdorType_swigregister", OdorType_swigregister, METH_VARARGS, NULL},
293213  { (char *)"new_RigidBody", _wrap_new_RigidBody, METH_VARARGS, NULL},
293214  { (char *)"delete_RigidBody", _wrap_delete_RigidBody, METH_VARARGS, NULL},
293215  { (char *)"RigidBody_CastToDerived", _wrap_RigidBody_CastToDerived, METH_VARARGS, NULL},
293216  { (char *)"RigidBody_Position", _wrap_RigidBody_Position, METH_VARARGS, NULL},
293217  { (char *)"RigidBody_VisualSelectionType", _wrap_RigidBody_VisualSelectionType, METH_VARARGS, NULL},
293218  { (char *)"RigidBody_CenterOfMassWithStaticChildren", _wrap_RigidBody_CenterOfMassWithStaticChildren, METH_VARARGS, NULL},
293219  { (char *)"RigidBody_CenterOfMass", _wrap_RigidBody_CenterOfMass, METH_VARARGS, NULL},
293220  { (char *)"RigidBody_ChildParts", _wrap_RigidBody_ChildParts, METH_VARARGS, NULL},
293221  { (char *)"RigidBody_JointToParent", _wrap_RigidBody_JointToParent, METH_VARARGS, NULL},
293222  { (char *)"RigidBody_GetContactSensor", _wrap_RigidBody_GetContactSensor, METH_VARARGS, NULL},
293223  { (char *)"RigidBody_Density", _wrap_RigidBody_Density, METH_VARARGS, NULL},
293224  { (char *)"RigidBody_Mass", _wrap_RigidBody_Mass, METH_VARARGS, NULL},
293225  { (char *)"RigidBody_MassWithChildren", _wrap_RigidBody_MassWithChildren, METH_VARARGS, NULL},
293226  { (char *)"RigidBody_Volume", _wrap_RigidBody_Volume, METH_VARARGS, NULL},
293227  { (char *)"RigidBody_Freeze", _wrap_RigidBody_Freeze, METH_VARARGS, NULL},
293228  { (char *)"RigidBody_IsContactSensor", _wrap_RigidBody_IsContactSensor, METH_VARARGS, NULL},
293229  { (char *)"RigidBody_IsCollisionObject", _wrap_RigidBody_IsCollisionObject, METH_VARARGS, NULL},
293230  { (char *)"RigidBody_IsStickyPart", _wrap_RigidBody_IsStickyPart, METH_VARARGS, NULL},
293231  { (char *)"RigidBody_StickyOn", _wrap_RigidBody_StickyOn, METH_VARARGS, NULL},
293232  { (char *)"RigidBody_StickyChild", _wrap_RigidBody_StickyChild, METH_VARARGS, NULL},
293233  { (char *)"RigidBody_IsRoot", _wrap_RigidBody_IsRoot, METH_VARARGS, NULL},
293234  { (char *)"RigidBody_HasStaticJoint", _wrap_RigidBody_HasStaticJoint, METH_VARARGS, NULL},
293235  { (char *)"RigidBody_HasStaticChildren", _wrap_RigidBody_HasStaticChildren, METH_VARARGS, NULL},
293236  { (char *)"RigidBody_StaticChildrenMass", _wrap_RigidBody_StaticChildrenMass, METH_VARARGS, NULL},
293237  { (char *)"RigidBody_IsFoodSource", _wrap_RigidBody_IsFoodSource, METH_VARARGS, NULL},
293238  { (char *)"RigidBody_FoodQuantity", _wrap_RigidBody_FoodQuantity, METH_VARARGS, NULL},
293239  { (char *)"RigidBody_FoodEaten", _wrap_RigidBody_FoodEaten, METH_VARARGS, NULL},
293240  { (char *)"RigidBody_FoodReplenishRate", _wrap_RigidBody_FoodReplenishRate, METH_VARARGS, NULL},
293241  { (char *)"RigidBody_FoodEnergyContent", _wrap_RigidBody_FoodEnergyContent, METH_VARARGS, NULL},
293242  { (char *)"RigidBody_MaxFoodQuantity", _wrap_RigidBody_MaxFoodQuantity, METH_VARARGS, NULL},
293243  { (char *)"RigidBody_LinearVelocityDamping", _wrap_RigidBody_LinearVelocityDamping, METH_VARARGS, NULL},
293244  { (char *)"RigidBody_AngularVelocityDamping", _wrap_RigidBody_AngularVelocityDamping, METH_VARARGS, NULL},
293245  { (char *)"RigidBody_MaterialID", _wrap_RigidBody_MaterialID, METH_VARARGS, NULL},
293246  { (char *)"RigidBody_BuoyancyCenter", _wrap_RigidBody_BuoyancyCenter, METH_VARARGS, NULL},
293247  { (char *)"RigidBody_BuoyancyScale", _wrap_RigidBody_BuoyancyScale, METH_VARARGS, NULL},
293248  { (char *)"RigidBody_LinearDrag", _wrap_RigidBody_LinearDrag, METH_VARARGS, NULL},
293249  { (char *)"RigidBody_AngularDrag", _wrap_RigidBody_AngularDrag, METH_VARARGS, NULL},
293250  { (char *)"RigidBody_MaxHydroForce", _wrap_RigidBody_MaxHydroForce, METH_VARARGS, NULL},
293251  { (char *)"RigidBody_MaxHydroTorque", _wrap_RigidBody_MaxHydroTorque, METH_VARARGS, NULL},
293252  { (char *)"RigidBody_Magnus", _wrap_RigidBody_Magnus, METH_VARARGS, NULL},
293253  { (char *)"RigidBody_EnableFluids", _wrap_RigidBody_EnableFluids, METH_VARARGS, NULL},
293254  { (char *)"RigidBody_HasCollisionGeometry", _wrap_RigidBody_HasCollisionGeometry, METH_VARARGS, NULL},
293255  { (char *)"RigidBody_DisplayDebugCollisionGraphic", _wrap_RigidBody_DisplayDebugCollisionGraphic, METH_VARARGS, NULL},
293256  { (char *)"RigidBody_GetExclusionCollisionSet", _wrap_RigidBody_GetExclusionCollisionSet, METH_VARARGS, NULL},
293257  { (char *)"RigidBody_FindCollisionExclusionBody", _wrap_RigidBody_FindCollisionExclusionBody, METH_VARARGS, NULL},
293258  { (char *)"RigidBody_SurfaceContactCount", _wrap_RigidBody_SurfaceContactCount, METH_VARARGS, NULL},
293259  { (char *)"RigidBody_Eat", _wrap_RigidBody_Eat, METH_VARARGS, NULL},
293260  { (char *)"RigidBody_AddSurfaceContact", _wrap_RigidBody_AddSurfaceContact, METH_VARARGS, NULL},
293261  { (char *)"RigidBody_RemoveSurfaceContact", _wrap_RigidBody_RemoveSurfaceContact, METH_VARARGS, NULL},
293262  { (char *)"RigidBody_SetSurfaceContactCount", _wrap_RigidBody_SetSurfaceContactCount, METH_VARARGS, NULL},
293263  { (char *)"RigidBody_AddForceAtLocalPos", _wrap_RigidBody_AddForceAtLocalPos, METH_VARARGS, NULL},
293264  { (char *)"RigidBody_AddForceAtWorldPos", _wrap_RigidBody_AddForceAtWorldPos, METH_VARARGS, NULL},
293265  { (char *)"RigidBody_AddTorque", _wrap_RigidBody_AddTorque, METH_VARARGS, NULL},
293266  { (char *)"RigidBody_GetVelocityAtPoint", _wrap_RigidBody_GetVelocityAtPoint, METH_VARARGS, NULL},
293267  { (char *)"RigidBody_GetMassValueWithStaticChildren", _wrap_RigidBody_GetMassValueWithStaticChildren, METH_VARARGS, NULL},
293268  { (char *)"RigidBody_GetDensity", _wrap_RigidBody_GetDensity, METH_VARARGS, NULL},
293269  { (char *)"RigidBody_GetMass", _wrap_RigidBody_GetMass, METH_VARARGS, NULL},
293270  { (char *)"RigidBody_GetVolume", _wrap_RigidBody_GetVolume, METH_VARARGS, NULL},
293271  { (char *)"RigidBody_UpdatePhysicsPosFromGraphics", _wrap_RigidBody_UpdatePhysicsPosFromGraphics, METH_VARARGS, NULL},
293272  { (char *)"RigidBody_UpdateChildPhysicsPosFromGraphics", _wrap_RigidBody_UpdateChildPhysicsPosFromGraphics, METH_VARARGS, NULL},
293273  { (char *)"RigidBody_ParentWithCollisionGeometry", _wrap_RigidBody_ParentWithCollisionGeometry, METH_VARARGS, NULL},
293274  { (char *)"RigidBody_EnableCollision", _wrap_RigidBody_EnableCollision, METH_VARARGS, NULL},
293275  { (char *)"RigidBody_DisableCollision", _wrap_RigidBody_DisableCollision, METH_VARARGS, NULL},
293276  { (char *)"RigidBody_CreateParts", _wrap_RigidBody_CreateParts, METH_VARARGS, NULL},
293277  { (char *)"RigidBody_CreateChildParts", _wrap_RigidBody_CreateChildParts, METH_VARARGS, NULL},
293278  { (char *)"RigidBody_CreateJoints", _wrap_RigidBody_CreateJoints, METH_VARARGS, NULL},
293279  { (char *)"RigidBody_CreateChildJoints", _wrap_RigidBody_CreateChildJoints, METH_VARARGS, NULL},
293280  { (char *)"RigidBody_GetDataPointer", _wrap_RigidBody_GetDataPointer, METH_VARARGS, NULL},
293281  { (char *)"RigidBody_SetData", _wrap_RigidBody_SetData, METH_VARARGS, NULL},
293282  { (char *)"RigidBody_QueryProperties", _wrap_RigidBody_QueryProperties, METH_VARARGS, NULL},
293283  { (char *)"RigidBody_AddItem", _wrap_RigidBody_AddItem, METH_VARARGS, NULL},
293284  { (char *)"RigidBody_RemoveItem", _wrap_RigidBody_RemoveItem, METH_VARARGS, NULL},
293285  { (char *)"RigidBody_SimPausing", _wrap_RigidBody_SimPausing, METH_VARARGS, NULL},
293286  { (char *)"RigidBody_GetTargetDataTypeIndex", _wrap_RigidBody_GetTargetDataTypeIndex, METH_VARARGS, NULL},
293287  { (char *)"RigidBody_AddExternalNodeInput", _wrap_RigidBody_AddExternalNodeInput, METH_VARARGS, NULL},
293288  { (char *)"RigidBody_StepSimulation", _wrap_RigidBody_StepSimulation, METH_VARARGS, NULL},
293289  { (char *)"RigidBody_ResetSimulation", _wrap_RigidBody_ResetSimulation, METH_VARARGS, NULL},
293290  { (char *)"RigidBody_AfterResetSimulation", _wrap_RigidBody_AfterResetSimulation, METH_VARARGS, NULL},
293291  { (char *)"RigidBody_Kill", _wrap_RigidBody_Kill, METH_VARARGS, NULL},
293292  { (char *)"RigidBody_Load", _wrap_RigidBody_Load, METH_VARARGS, NULL},
293293  { (char *)"RigidBody_swigregister", RigidBody_swigregister, METH_VARARGS, NULL},
293294  { (char *)"new_Plane", _wrap_new_Plane, METH_VARARGS, NULL},
293295  { (char *)"delete_Plane", _wrap_delete_Plane, METH_VARARGS, NULL},
293296  { (char *)"Plane_CastToDerived", _wrap_Plane_CastToDerived, METH_VARARGS, NULL},
293297  { (char *)"Plane_CornerX", _wrap_Plane_CornerX, METH_VARARGS, NULL},
293298  { (char *)"Plane_CornerY", _wrap_Plane_CornerY, METH_VARARGS, NULL},
293299  { (char *)"Plane_GridX", _wrap_Plane_GridX, METH_VARARGS, NULL},
293300  { (char *)"Plane_GridY", _wrap_Plane_GridY, METH_VARARGS, NULL},
293301  { (char *)"Plane_Size", _wrap_Plane_Size, METH_VARARGS, NULL},
293302  { (char *)"Plane_WidthSegments", _wrap_Plane_WidthSegments, METH_VARARGS, NULL},
293303  { (char *)"Plane_LengthSegments", _wrap_Plane_LengthSegments, METH_VARARGS, NULL},
293304  { (char *)"Plane_SetData", _wrap_Plane_SetData, METH_VARARGS, NULL},
293305  { (char *)"Plane_QueryProperties", _wrap_Plane_QueryProperties, METH_VARARGS, NULL},
293306  { (char *)"Plane_Load", _wrap_Plane_Load, METH_VARARGS, NULL},
293307  { (char *)"Plane_swigregister", Plane_swigregister, METH_VARARGS, NULL},
293308  { (char *)"new_FluidPlane", _wrap_new_FluidPlane, METH_VARARGS, NULL},
293309  { (char *)"delete_FluidPlane", _wrap_delete_FluidPlane, METH_VARARGS, NULL},
293310  { (char *)"FluidPlane_CastToDerived", _wrap_FluidPlane_CastToDerived, METH_VARARGS, NULL},
293311  { (char *)"FluidPlane_AllowRotateDragX", _wrap_FluidPlane_AllowRotateDragX, METH_VARARGS, NULL},
293312  { (char *)"FluidPlane_AllowRotateDragY", _wrap_FluidPlane_AllowRotateDragY, METH_VARARGS, NULL},
293313  { (char *)"FluidPlane_AllowRotateDragZ", _wrap_FluidPlane_AllowRotateDragZ, METH_VARARGS, NULL},
293314  { (char *)"FluidPlane_Height", _wrap_FluidPlane_Height, METH_VARARGS, NULL},
293315  { (char *)"FluidPlane_Velocity", _wrap_FluidPlane_Velocity, METH_VARARGS, NULL},
293316  { (char *)"FluidPlane_SetData", _wrap_FluidPlane_SetData, METH_VARARGS, NULL},
293317  { (char *)"FluidPlane_QueryProperties", _wrap_FluidPlane_QueryProperties, METH_VARARGS, NULL},
293318  { (char *)"FluidPlane_Load", _wrap_FluidPlane_Load, METH_VARARGS, NULL},
293319  { (char *)"FluidPlane_swigregister", FluidPlane_swigregister, METH_VARARGS, NULL},
293320  { (char *)"new_Cylinder", _wrap_new_Cylinder, METH_VARARGS, NULL},
293321  { (char *)"delete_Cylinder", _wrap_delete_Cylinder, METH_VARARGS, NULL},
293322  { (char *)"Cylinder_CastToDerived", _wrap_Cylinder_CastToDerived, METH_VARARGS, NULL},
293323  { (char *)"Cylinder_Radius", _wrap_Cylinder_Radius, METH_VARARGS, NULL},
293324  { (char *)"Cylinder_Height", _wrap_Cylinder_Height, METH_VARARGS, NULL},
293325  { (char *)"Cylinder_Sides", _wrap_Cylinder_Sides, METH_VARARGS, NULL},
293326  { (char *)"Cylinder_SetData", _wrap_Cylinder_SetData, METH_VARARGS, NULL},
293327  { (char *)"Cylinder_QueryProperties", _wrap_Cylinder_QueryProperties, METH_VARARGS, NULL},
293328  { (char *)"Cylinder_Load", _wrap_Cylinder_Load, METH_VARARGS, NULL},
293329  { (char *)"Cylinder_swigregister", Cylinder_swigregister, METH_VARARGS, NULL},
293330  { (char *)"new_Cone", _wrap_new_Cone, METH_VARARGS, NULL},
293331  { (char *)"delete_Cone", _wrap_delete_Cone, METH_VARARGS, NULL},
293332  { (char *)"Cone_CastToDerived", _wrap_Cone_CastToDerived, METH_VARARGS, NULL},
293333  { (char *)"Cone_LowerRadius", _wrap_Cone_LowerRadius, METH_VARARGS, NULL},
293334  { (char *)"Cone_UpperRadius", _wrap_Cone_UpperRadius, METH_VARARGS, NULL},
293335  { (char *)"Cone_Height", _wrap_Cone_Height, METH_VARARGS, NULL},
293336  { (char *)"Cone_Sides", _wrap_Cone_Sides, METH_VARARGS, NULL},
293337  { (char *)"Cone_SetData", _wrap_Cone_SetData, METH_VARARGS, NULL},
293338  { (char *)"Cone_QueryProperties", _wrap_Cone_QueryProperties, METH_VARARGS, NULL},
293339  { (char *)"Cone_Load", _wrap_Cone_Load, METH_VARARGS, NULL},
293340  { (char *)"Cone_swigregister", Cone_swigregister, METH_VARARGS, NULL},
293341  { (char *)"new_Ellipsoid", _wrap_new_Ellipsoid, METH_VARARGS, NULL},
293342  { (char *)"delete_Ellipsoid", _wrap_delete_Ellipsoid, METH_VARARGS, NULL},
293343  { (char *)"Ellipsoid_CastToDerived", _wrap_Ellipsoid_CastToDerived, METH_VARARGS, NULL},
293344  { (char *)"Ellipsoid_MajorRadius", _wrap_Ellipsoid_MajorRadius, METH_VARARGS, NULL},
293345  { (char *)"Ellipsoid_MinorRadius", _wrap_Ellipsoid_MinorRadius, METH_VARARGS, NULL},
293346  { (char *)"Ellipsoid_LatSegments", _wrap_Ellipsoid_LatSegments, METH_VARARGS, NULL},
293347  { (char *)"Ellipsoid_LongSegments", _wrap_Ellipsoid_LongSegments, METH_VARARGS, NULL},
293348  { (char *)"Ellipsoid_SetData", _wrap_Ellipsoid_SetData, METH_VARARGS, NULL},
293349  { (char *)"Ellipsoid_QueryProperties", _wrap_Ellipsoid_QueryProperties, METH_VARARGS, NULL},
293350  { (char *)"Ellipsoid_Load", _wrap_Ellipsoid_Load, METH_VARARGS, NULL},
293351  { (char *)"Ellipsoid_swigregister", Ellipsoid_swigregister, METH_VARARGS, NULL},
293352  { (char *)"new_Torus", _wrap_new_Torus, METH_VARARGS, NULL},
293353  { (char *)"delete_Torus", _wrap_delete_Torus, METH_VARARGS, NULL},
293354  { (char *)"Torus_CastToDerived", _wrap_Torus_CastToDerived, METH_VARARGS, NULL},
293355  { (char *)"Torus_OutsideRadius", _wrap_Torus_OutsideRadius, METH_VARARGS, NULL},
293356  { (char *)"Torus_InsideRadius", _wrap_Torus_InsideRadius, METH_VARARGS, NULL},
293357  { (char *)"Torus_Sides", _wrap_Torus_Sides, METH_VARARGS, NULL},
293358  { (char *)"Torus_Rings", _wrap_Torus_Rings, METH_VARARGS, NULL},
293359  { (char *)"Torus_SetData", _wrap_Torus_SetData, METH_VARARGS, NULL},
293360  { (char *)"Torus_QueryProperties", _wrap_Torus_QueryProperties, METH_VARARGS, NULL},
293361  { (char *)"Torus_Load", _wrap_Torus_Load, METH_VARARGS, NULL},
293362  { (char *)"Torus_swigregister", Torus_swigregister, METH_VARARGS, NULL},
293363  { (char *)"new_Box", _wrap_new_Box, METH_VARARGS, NULL},
293364  { (char *)"delete_Box", _wrap_delete_Box, METH_VARARGS, NULL},
293365  { (char *)"Box_CastToDerived", _wrap_Box_CastToDerived, METH_VARARGS, NULL},
293366  { (char *)"Box_Length", _wrap_Box_Length, METH_VARARGS, NULL},
293367  { (char *)"Box_Width", _wrap_Box_Width, METH_VARARGS, NULL},
293368  { (char *)"Box_Height", _wrap_Box_Height, METH_VARARGS, NULL},
293369  { (char *)"Box_LengthSections", _wrap_Box_LengthSections, METH_VARARGS, NULL},
293370  { (char *)"Box_WidthSections", _wrap_Box_WidthSections, METH_VARARGS, NULL},
293371  { (char *)"Box_HeightSections", _wrap_Box_HeightSections, METH_VARARGS, NULL},
293372  { (char *)"Box_LengthSegmentSize", _wrap_Box_LengthSegmentSize, METH_VARARGS, NULL},
293373  { (char *)"Box_WidthSegmentSize", _wrap_Box_WidthSegmentSize, METH_VARARGS, NULL},
293374  { (char *)"Box_HeightSegmentSize", _wrap_Box_HeightSegmentSize, METH_VARARGS, NULL},
293375  { (char *)"Box_SetData", _wrap_Box_SetData, METH_VARARGS, NULL},
293376  { (char *)"Box_QueryProperties", _wrap_Box_QueryProperties, METH_VARARGS, NULL},
293377  { (char *)"Box_Load", _wrap_Box_Load, METH_VARARGS, NULL},
293378  { (char *)"Box_swigregister", Box_swigregister, METH_VARARGS, NULL},
293379  { (char *)"new_Mesh", _wrap_new_Mesh, METH_VARARGS, NULL},
293380  { (char *)"delete_Mesh", _wrap_delete_Mesh, METH_VARARGS, NULL},
293381  { (char *)"Mesh_CastToDerived", _wrap_Mesh_CastToDerived, METH_VARARGS, NULL},
293382  { (char *)"Mesh_MeshFile", _wrap_Mesh_MeshFile, METH_VARARGS, NULL},
293383  { (char *)"Mesh_CollisionMeshType", _wrap_Mesh_CollisionMeshType, METH_VARARGS, NULL},
293384  { (char *)"Mesh_ConvexMeshFile", _wrap_Mesh_ConvexMeshFile, METH_VARARGS, NULL},
293385  { (char *)"Mesh_SetMeshFile", _wrap_Mesh_SetMeshFile, METH_VARARGS, NULL},
293386  { (char *)"Mesh_SetBoundingBox", _wrap_Mesh_SetBoundingBox, METH_VARARGS, NULL},
293387  { (char *)"Mesh_Scale", _wrap_Mesh_Scale, METH_VARARGS, NULL},
293388  { (char *)"Mesh_GetDataPointer", _wrap_Mesh_GetDataPointer, METH_VARARGS, NULL},
293389  { (char *)"Mesh_SetData", _wrap_Mesh_SetData, METH_VARARGS, NULL},
293390  { (char *)"Mesh_QueryProperties", _wrap_Mesh_QueryProperties, METH_VARARGS, NULL},
293391  { (char *)"Mesh_Load", _wrap_Mesh_Load, METH_VARARGS, NULL},
293392  { (char *)"Mesh_swigregister", Mesh_swigregister, METH_VARARGS, NULL},
293393  { (char *)"new_Terrain", _wrap_new_Terrain, METH_VARARGS, NULL},
293394  { (char *)"delete_Terrain", _wrap_delete_Terrain, METH_VARARGS, NULL},
293395  { (char *)"Terrain_CastToDerived", _wrap_Terrain_CastToDerived, METH_VARARGS, NULL},
293396  { (char *)"Terrain_AllowRotateDragX", _wrap_Terrain_AllowRotateDragX, METH_VARARGS, NULL},
293397  { (char *)"Terrain_AllowRotateDragY", _wrap_Terrain_AllowRotateDragY, METH_VARARGS, NULL},
293398  { (char *)"Terrain_AllowRotateDragZ", _wrap_Terrain_AllowRotateDragZ, METH_VARARGS, NULL},
293399  { (char *)"Terrain_SegmentWidth", _wrap_Terrain_SegmentWidth, METH_VARARGS, NULL},
293400  { (char *)"Terrain_SegmentLength", _wrap_Terrain_SegmentLength, METH_VARARGS, NULL},
293401  { (char *)"Terrain_MaxHeight", _wrap_Terrain_MaxHeight, METH_VARARGS, NULL},
293402  { (char *)"Terrain_TextureLengthSegments", _wrap_Terrain_TextureLengthSegments, METH_VARARGS, NULL},
293403  { (char *)"Terrain_TextureWidthSegments", _wrap_Terrain_TextureWidthSegments, METH_VARARGS, NULL},
293404  { (char *)"Terrain_SetData", _wrap_Terrain_SetData, METH_VARARGS, NULL},
293405  { (char *)"Terrain_QueryProperties", _wrap_Terrain_QueryProperties, METH_VARARGS, NULL},
293406  { (char *)"Terrain_Load", _wrap_Terrain_Load, METH_VARARGS, NULL},
293407  { (char *)"Terrain_swigregister", Terrain_swigregister, METH_VARARGS, NULL},
293408  { (char *)"new_Sensor", _wrap_new_Sensor, METH_VARARGS, NULL},
293409  { (char *)"delete_Sensor", _wrap_delete_Sensor, METH_VARARGS, NULL},
293410  { (char *)"Sensor_CastToDerived", _wrap_Sensor_CastToDerived, METH_VARARGS, NULL},
293411  { (char *)"Sensor_Radius", _wrap_Sensor_Radius, METH_VARARGS, NULL},
293412  { (char *)"Sensor_LatitudeSegments", _wrap_Sensor_LatitudeSegments, METH_VARARGS, NULL},
293413  { (char *)"Sensor_LongtitudeSegments", _wrap_Sensor_LongtitudeSegments, METH_VARARGS, NULL},
293414  { (char *)"Sensor_AllowRotateDragX", _wrap_Sensor_AllowRotateDragX, METH_VARARGS, NULL},
293415  { (char *)"Sensor_AllowRotateDragY", _wrap_Sensor_AllowRotateDragY, METH_VARARGS, NULL},
293416  { (char *)"Sensor_AllowRotateDragZ", _wrap_Sensor_AllowRotateDragZ, METH_VARARGS, NULL},
293417  { (char *)"Sensor_CreateParts", _wrap_Sensor_CreateParts, METH_VARARGS, NULL},
293418  { (char *)"Sensor_CreateJoints", _wrap_Sensor_CreateJoints, METH_VARARGS, NULL},
293419  { (char *)"Sensor_HasStaticJoint", _wrap_Sensor_HasStaticJoint, METH_VARARGS, NULL},
293420  { (char *)"Sensor_Initialize", _wrap_Sensor_Initialize, METH_VARARGS, NULL},
293421  { (char *)"Sensor_SetData", _wrap_Sensor_SetData, METH_VARARGS, NULL},
293422  { (char *)"Sensor_QueryProperties", _wrap_Sensor_QueryProperties, METH_VARARGS, NULL},
293423  { (char *)"Sensor_Load", _wrap_Sensor_Load, METH_VARARGS, NULL},
293424  { (char *)"Sensor_swigregister", Sensor_swigregister, METH_VARARGS, NULL},
293425  { (char *)"new_Attachment", _wrap_new_Attachment, METH_VARARGS, NULL},
293426  { (char *)"delete_Attachment", _wrap_delete_Attachment, METH_VARARGS, NULL},
293427  { (char *)"Attachment_CastToDerived", _wrap_Attachment_CastToDerived, METH_VARARGS, NULL},
293428  { (char *)"Attachment_swigregister", Attachment_swigregister, METH_VARARGS, NULL},
293429  { (char *)"new_LineBase", _wrap_new_LineBase, METH_VARARGS, NULL},
293430  { (char *)"delete_LineBase", _wrap_delete_LineBase, METH_VARARGS, NULL},
293431  { (char *)"LineBase_CastToDerived", _wrap_LineBase_CastToDerived, METH_VARARGS, NULL},
293432  { (char *)"LineBase_Enabled", _wrap_LineBase_Enabled, METH_VARARGS, NULL},
293433  { (char *)"LineBase_Length", _wrap_LineBase_Length, METH_VARARGS, NULL},
293434  { (char *)"LineBase_PrevLength", _wrap_LineBase_PrevLength, METH_VARARGS, NULL},
293435  { (char *)"LineBase_HasStaticJoint", _wrap_LineBase_HasStaticJoint, METH_VARARGS, NULL},
293436  { (char *)"LineBase_AllowMouseManipulation", _wrap_LineBase_AllowMouseManipulation, METH_VARARGS, NULL},
293437  { (char *)"LineBase_Position", _wrap_LineBase_Position, METH_VARARGS, NULL},
293438  { (char *)"LineBase_AbsolutePosition", _wrap_LineBase_AbsolutePosition, METH_VARARGS, NULL},
293439  { (char *)"LineBase_OrientNewPart", _wrap_LineBase_OrientNewPart, METH_VARARGS, NULL},
293440  { (char *)"LineBase_AttachmentPoints", _wrap_LineBase_AttachmentPoints, METH_VARARGS, NULL},
293441  { (char *)"LineBase_Resize", _wrap_LineBase_Resize, METH_VARARGS, NULL},
293442  { (char *)"LineBase_CalculateLength", _wrap_LineBase_CalculateLength, METH_VARARGS, NULL},
293443  { (char *)"LineBase_AfterResetSimulation", _wrap_LineBase_AfterResetSimulation, METH_VARARGS, NULL},
293444  { (char *)"LineBase_GetDataPointer", _wrap_LineBase_GetDataPointer, METH_VARARGS, NULL},
293445  { (char *)"LineBase_SetData", _wrap_LineBase_SetData, METH_VARARGS, NULL},
293446  { (char *)"LineBase_QueryProperties", _wrap_LineBase_QueryProperties, METH_VARARGS, NULL},
293447  { (char *)"LineBase_CreateParts", _wrap_LineBase_CreateParts, METH_VARARGS, NULL},
293448  { (char *)"LineBase_CreateJoints", _wrap_LineBase_CreateJoints, METH_VARARGS, NULL},
293449  { (char *)"LineBase_Load", _wrap_LineBase_Load, METH_VARARGS, NULL},
293450  { (char *)"LineBase_swigregister", LineBase_swigregister, METH_VARARGS, NULL},
293451  { (char *)"delete_MuscleBase", _wrap_delete_MuscleBase, METH_VARARGS, NULL},
293452  { (char *)"MuscleBase_CastToDerived", _wrap_MuscleBase_CastToDerived, METH_VARARGS, NULL},
293453  { (char *)"MuscleBase_Tension", _wrap_MuscleBase_Tension, METH_VARARGS, NULL},
293454  { (char *)"MuscleBase_MaxTension", _wrap_MuscleBase_MaxTension, METH_VARARGS, NULL},
293455  { (char *)"MuscleBase_Vm", _wrap_MuscleBase_Vm, METH_VARARGS, NULL},
293456  { (char *)"MuscleBase_Tdot", _wrap_MuscleBase_Tdot, METH_VARARGS, NULL},
293457  { (char *)"MuscleBase_PrevTension", _wrap_MuscleBase_PrevTension, METH_VARARGS, NULL},
293458  { (char *)"MuscleBase_Enabled", _wrap_MuscleBase_Enabled, METH_VARARGS, NULL},
293459  { (char *)"MuscleBase_StimTension", _wrap_MuscleBase_StimTension, METH_VARARGS, NULL},
293460  { (char *)"MuscleBase_LengthTension", _wrap_MuscleBase_LengthTension, METH_VARARGS, NULL},
293461  { (char *)"MuscleBase_CalculateInverseDynamics", _wrap_MuscleBase_CalculateInverseDynamics, METH_VARARGS, NULL},
293462  { (char *)"MuscleBase_AddExternalNodeInput", _wrap_MuscleBase_AddExternalNodeInput, METH_VARARGS, NULL},
293463  { (char *)"MuscleBase_SetSystemPointers", _wrap_MuscleBase_SetSystemPointers, METH_VARARGS, NULL},
293464  { (char *)"MuscleBase_VerifySystemPointers", _wrap_MuscleBase_VerifySystemPointers, METH_VARARGS, NULL},
293465  { (char *)"MuscleBase_ResetSimulation", _wrap_MuscleBase_ResetSimulation, METH_VARARGS, NULL},
293466  { (char *)"MuscleBase_GetDataPointer", _wrap_MuscleBase_GetDataPointer, METH_VARARGS, NULL},
293467  { (char *)"MuscleBase_SetData", _wrap_MuscleBase_SetData, METH_VARARGS, NULL},
293468  { (char *)"MuscleBase_QueryProperties", _wrap_MuscleBase_QueryProperties, METH_VARARGS, NULL},
293469  { (char *)"MuscleBase_Load", _wrap_MuscleBase_Load, METH_VARARGS, NULL},
293470  { (char *)"MuscleBase_swigregister", MuscleBase_swigregister, METH_VARARGS, NULL},
293471  { (char *)"new_LinearHillMuscle", _wrap_new_LinearHillMuscle, METH_VARARGS, NULL},
293472  { (char *)"delete_LinearHillMuscle", _wrap_delete_LinearHillMuscle, METH_VARARGS, NULL},
293473  { (char *)"LinearHillMuscle_CastToDerived", _wrap_LinearHillMuscle_CastToDerived, METH_VARARGS, NULL},
293474  { (char *)"LinearHillMuscle_Kse", _wrap_LinearHillMuscle_Kse, METH_VARARGS, NULL},
293475  { (char *)"LinearHillMuscle_Kpe", _wrap_LinearHillMuscle_Kpe, METH_VARARGS, NULL},
293476  { (char *)"LinearHillMuscle_B", _wrap_LinearHillMuscle_B, METH_VARARGS, NULL},
293477  { (char *)"LinearHillMuscle_RestingLength", _wrap_LinearHillMuscle_RestingLength, METH_VARARGS, NULL},
293478  { (char *)"LinearHillMuscle_IbDischargeConstant", _wrap_LinearHillMuscle_IbDischargeConstant, METH_VARARGS, NULL},
293479  { (char *)"LinearHillMuscle_SeLength", _wrap_LinearHillMuscle_SeLength, METH_VARARGS, NULL},
293480  { (char *)"LinearHillMuscle_PeLength", _wrap_LinearHillMuscle_PeLength, METH_VARARGS, NULL},
293481  { (char *)"LinearHillMuscle_Displacement", _wrap_LinearHillMuscle_Displacement, METH_VARARGS, NULL},
293482  { (char *)"LinearHillMuscle_DisplacementRatio", _wrap_LinearHillMuscle_DisplacementRatio, METH_VARARGS, NULL},
293483  { (char *)"LinearHillMuscle_TL", _wrap_LinearHillMuscle_TL, METH_VARARGS, NULL},
293484  { (char *)"LinearHillMuscle_Act", _wrap_LinearHillMuscle_Act, METH_VARARGS, NULL},
293485  { (char *)"LinearHillMuscle_A", _wrap_LinearHillMuscle_A, METH_VARARGS, NULL},
293486  { (char *)"LinearHillMuscle_InternalTension", _wrap_LinearHillMuscle_InternalTension, METH_VARARGS, NULL},
293487  { (char *)"LinearHillMuscle_Vmuscle", _wrap_LinearHillMuscle_Vmuscle, METH_VARARGS, NULL},
293488  { (char *)"LinearHillMuscle_Enabled", _wrap_LinearHillMuscle_Enabled, METH_VARARGS, NULL},
293489  { (char *)"LinearHillMuscle_CalculateInverseDynamics", _wrap_LinearHillMuscle_CalculateInverseDynamics, METH_VARARGS, NULL},
293490  { (char *)"LinearHillMuscle_ResetSimulation", _wrap_LinearHillMuscle_ResetSimulation, METH_VARARGS, NULL},
293491  { (char *)"LinearHillMuscle_AfterResetSimulation", _wrap_LinearHillMuscle_AfterResetSimulation, METH_VARARGS, NULL},
293492  { (char *)"LinearHillMuscle_CreateJoints", _wrap_LinearHillMuscle_CreateJoints, METH_VARARGS, NULL},
293493  { (char *)"LinearHillMuscle_GetDataPointer", _wrap_LinearHillMuscle_GetDataPointer, METH_VARARGS, NULL},
293494  { (char *)"LinearHillMuscle_SetData", _wrap_LinearHillMuscle_SetData, METH_VARARGS, NULL},
293495  { (char *)"LinearHillMuscle_QueryProperties", _wrap_LinearHillMuscle_QueryProperties, METH_VARARGS, NULL},
293496  { (char *)"LinearHillMuscle_Load", _wrap_LinearHillMuscle_Load, METH_VARARGS, NULL},
293497  { (char *)"LinearHillMuscle_swigregister", LinearHillMuscle_swigregister, METH_VARARGS, NULL},
293498  { (char *)"new_LinearHillStretchReceptor", _wrap_new_LinearHillStretchReceptor, METH_VARARGS, NULL},
293499  { (char *)"delete_LinearHillStretchReceptor", _wrap_delete_LinearHillStretchReceptor, METH_VARARGS, NULL},
293500  { (char *)"LinearHillStretchReceptor_CastToDerived", _wrap_LinearHillStretchReceptor_CastToDerived, METH_VARARGS, NULL},
293501  { (char *)"LinearHillStretchReceptor_ApplyTension", _wrap_LinearHillStretchReceptor_ApplyTension, METH_VARARGS, NULL},
293502  { (char *)"LinearHillStretchReceptor_IaDischargeConstant", _wrap_LinearHillStretchReceptor_IaDischargeConstant, METH_VARARGS, NULL},
293503  { (char *)"LinearHillStretchReceptor_IIDischargeConstant", _wrap_LinearHillStretchReceptor_IIDischargeConstant, METH_VARARGS, NULL},
293504  { (char *)"LinearHillStretchReceptor_IaRate", _wrap_LinearHillStretchReceptor_IaRate, METH_VARARGS, NULL},
293505  { (char *)"LinearHillStretchReceptor_IIRate", _wrap_LinearHillStretchReceptor_IIRate, METH_VARARGS, NULL},
293506  { (char *)"LinearHillStretchReceptor_GetDataPointer", _wrap_LinearHillStretchReceptor_GetDataPointer, METH_VARARGS, NULL},
293507  { (char *)"LinearHillStretchReceptor_SetData", _wrap_LinearHillStretchReceptor_SetData, METH_VARARGS, NULL},
293508  { (char *)"LinearHillStretchReceptor_QueryProperties", _wrap_LinearHillStretchReceptor_QueryProperties, METH_VARARGS, NULL},
293509  { (char *)"LinearHillStretchReceptor_ResetSimulation", _wrap_LinearHillStretchReceptor_ResetSimulation, METH_VARARGS, NULL},
293510  { (char *)"LinearHillStretchReceptor_Load", _wrap_LinearHillStretchReceptor_Load, METH_VARARGS, NULL},
293511  { (char *)"LinearHillStretchReceptor_swigregister", LinearHillStretchReceptor_swigregister, METH_VARARGS, NULL},
293512  { (char *)"new_OdorSensor", _wrap_new_OdorSensor, METH_VARARGS, NULL},
293513  { (char *)"delete_OdorSensor", _wrap_delete_OdorSensor, METH_VARARGS, NULL},
293514  { (char *)"OdorSensor_CastToDerived", _wrap_OdorSensor_CastToDerived, METH_VARARGS, NULL},
293515  { (char *)"OdorSensor_OdorTypeID", _wrap_OdorSensor_OdorTypeID, METH_VARARGS, NULL},
293516  { (char *)"OdorSensor_ResetSimulation", _wrap_OdorSensor_ResetSimulation, METH_VARARGS, NULL},
293517  { (char *)"OdorSensor_SetData", _wrap_OdorSensor_SetData, METH_VARARGS, NULL},
293518  { (char *)"OdorSensor_QueryProperties", _wrap_OdorSensor_QueryProperties, METH_VARARGS, NULL},
293519  { (char *)"OdorSensor_GetDataPointer", _wrap_OdorSensor_GetDataPointer, METH_VARARGS, NULL},
293520  { (char *)"OdorSensor_StepSimulation", _wrap_OdorSensor_StepSimulation, METH_VARARGS, NULL},
293521  { (char *)"OdorSensor_Load", _wrap_OdorSensor_Load, METH_VARARGS, NULL},
293522  { (char *)"OdorSensor_swigregister", OdorSensor_swigregister, METH_VARARGS, NULL},
293523  { (char *)"new_Sphere", _wrap_new_Sphere, METH_VARARGS, NULL},
293524  { (char *)"delete_Sphere", _wrap_delete_Sphere, METH_VARARGS, NULL},
293525  { (char *)"Sphere_CastToDerived", _wrap_Sphere_CastToDerived, METH_VARARGS, NULL},
293526  { (char *)"Sphere_Radius", _wrap_Sphere_Radius, METH_VARARGS, NULL},
293527  { (char *)"Sphere_LatitudeSegments", _wrap_Sphere_LatitudeSegments, METH_VARARGS, NULL},
293528  { (char *)"Sphere_LongtitudeSegments", _wrap_Sphere_LongtitudeSegments, METH_VARARGS, NULL},
293529  { (char *)"Sphere_SetData", _wrap_Sphere_SetData, METH_VARARGS, NULL},
293530  { (char *)"Sphere_QueryProperties", _wrap_Sphere_QueryProperties, METH_VARARGS, NULL},
293531  { (char *)"Sphere_Load", _wrap_Sphere_Load, METH_VARARGS, NULL},
293532  { (char *)"Sphere_swigregister", Sphere_swigregister, METH_VARARGS, NULL},
293533  { (char *)"new_Spring", _wrap_new_Spring, METH_VARARGS, NULL},
293534  { (char *)"delete_Spring", _wrap_delete_Spring, METH_VARARGS, NULL},
293535  { (char *)"Spring_CastToDerived", _wrap_Spring_CastToDerived, METH_VARARGS, NULL},
293536  { (char *)"Spring_InitEnabled", _wrap_Spring_InitEnabled, METH_VARARGS, NULL},
293537  { (char *)"Spring_NaturalLength", _wrap_Spring_NaturalLength, METH_VARARGS, NULL},
293538  { (char *)"Spring_Stiffness", _wrap_Spring_Stiffness, METH_VARARGS, NULL},
293539  { (char *)"Spring_Damping", _wrap_Spring_Damping, METH_VARARGS, NULL},
293540  { (char *)"Spring_Displacement", _wrap_Spring_Displacement, METH_VARARGS, NULL},
293541  { (char *)"Spring_Tension", _wrap_Spring_Tension, METH_VARARGS, NULL},
293542  { (char *)"Spring_Energy", _wrap_Spring_Energy, METH_VARARGS, NULL},
293543  { (char *)"Spring_Velocity", _wrap_Spring_Velocity, METH_VARARGS, NULL},
293544  { (char *)"Spring_ResetSimulation", _wrap_Spring_ResetSimulation, METH_VARARGS, NULL},
293545  { (char *)"Spring_CreateParts", _wrap_Spring_CreateParts, METH_VARARGS, NULL},
293546  { (char *)"Spring_GetDataPointer", _wrap_Spring_GetDataPointer, METH_VARARGS, NULL},
293547  { (char *)"Spring_SetData", _wrap_Spring_SetData, METH_VARARGS, NULL},
293548  { (char *)"Spring_QueryProperties", _wrap_Spring_QueryProperties, METH_VARARGS, NULL},
293549  { (char *)"Spring_AddExternalNodeInput", _wrap_Spring_AddExternalNodeInput, METH_VARARGS, NULL},
293550  { (char *)"Spring_Load", _wrap_Spring_Load, METH_VARARGS, NULL},
293551  { (char *)"Spring_swigregister", Spring_swigregister, METH_VARARGS, NULL},
293552  { (char *)"new_Stomach", _wrap_new_Stomach, METH_VARARGS, NULL},
293553  { (char *)"delete_Stomach", _wrap_delete_Stomach, METH_VARARGS, NULL},
293554  { (char *)"Stomach_CastToDerived", _wrap_Stomach_CastToDerived, METH_VARARGS, NULL},
293555  { (char *)"Stomach_EnergyLevel", _wrap_Stomach_EnergyLevel, METH_VARARGS, NULL},
293556  { (char *)"Stomach_AddEnergy", _wrap_Stomach_AddEnergy, METH_VARARGS, NULL},
293557  { (char *)"Stomach_ConsumptionRate", _wrap_Stomach_ConsumptionRate, METH_VARARGS, NULL},
293558  { (char *)"Stomach_BaseConsumptionRate", _wrap_Stomach_BaseConsumptionRate, METH_VARARGS, NULL},
293559  { (char *)"Stomach_MaxEnergyLevel", _wrap_Stomach_MaxEnergyLevel, METH_VARARGS, NULL},
293560  { (char *)"Stomach_KillOrganism", _wrap_Stomach_KillOrganism, METH_VARARGS, NULL},
293561  { (char *)"Stomach_HasStaticJoint", _wrap_Stomach_HasStaticJoint, METH_VARARGS, NULL},
293562  { (char *)"Stomach_CreateParts", _wrap_Stomach_CreateParts, METH_VARARGS, NULL},
293563  { (char *)"Stomach_AddExternalNodeInput", _wrap_Stomach_AddExternalNodeInput, METH_VARARGS, NULL},
293564  { (char *)"Stomach_GetDataPointer", _wrap_Stomach_GetDataPointer, METH_VARARGS, NULL},
293565  { (char *)"Stomach_SetData", _wrap_Stomach_SetData, METH_VARARGS, NULL},
293566  { (char *)"Stomach_QueryProperties", _wrap_Stomach_QueryProperties, METH_VARARGS, NULL},
293567  { (char *)"Stomach_StepSimulation", _wrap_Stomach_StepSimulation, METH_VARARGS, NULL},
293568  { (char *)"Stomach_ResetSimulation", _wrap_Stomach_ResetSimulation, METH_VARARGS, NULL},
293569  { (char *)"Stomach_Load", _wrap_Stomach_Load, METH_VARARGS, NULL},
293570  { (char *)"Stomach_swigregister", Stomach_swigregister, METH_VARARGS, NULL},
293571  { (char *)"new_Mouth", _wrap_new_Mouth, METH_VARARGS, NULL},
293572  { (char *)"delete_Mouth", _wrap_delete_Mouth, METH_VARARGS, NULL},
293573  { (char *)"Mouth_CastToDerived", _wrap_Mouth_CastToDerived, METH_VARARGS, NULL},
293574  { (char *)"Mouth_EatingRate", _wrap_Mouth_EatingRate, METH_VARARGS, NULL},
293575  { (char *)"Mouth_MinFoodRadius", _wrap_Mouth_MinFoodRadius, METH_VARARGS, NULL},
293576  { (char *)"Mouth_StomachID", _wrap_Mouth_StomachID, METH_VARARGS, NULL},
293577  { (char *)"Mouth_Initialize", _wrap_Mouth_Initialize, METH_VARARGS, NULL},
293578  { (char *)"Mouth_AddExternalNodeInput", _wrap_Mouth_AddExternalNodeInput, METH_VARARGS, NULL},
293579  { (char *)"Mouth_SetData", _wrap_Mouth_SetData, METH_VARARGS, NULL},
293580  { (char *)"Mouth_QueryProperties", _wrap_Mouth_QueryProperties, METH_VARARGS, NULL},
293581  { (char *)"Mouth_GetDataPointer", _wrap_Mouth_GetDataPointer, METH_VARARGS, NULL},
293582  { (char *)"Mouth_StepSimulation", _wrap_Mouth_StepSimulation, METH_VARARGS, NULL},
293583  { (char *)"Mouth_ResetSimulation", _wrap_Mouth_ResetSimulation, METH_VARARGS, NULL},
293584  { (char *)"Mouth_Load", _wrap_Mouth_Load, METH_VARARGS, NULL},
293585  { (char *)"Mouth_swigregister", Mouth_swigregister, METH_VARARGS, NULL},
293586  { (char *)"CollisionPair_m_strPart1ID_set", _wrap_CollisionPair_m_strPart1ID_set, METH_VARARGS, NULL},
293587  { (char *)"CollisionPair_m_strPart1ID_get", _wrap_CollisionPair_m_strPart1ID_get, METH_VARARGS, NULL},
293588  { (char *)"CollisionPair_m_strPart2ID_set", _wrap_CollisionPair_m_strPart2ID_set, METH_VARARGS, NULL},
293589  { (char *)"CollisionPair_m_strPart2ID_get", _wrap_CollisionPair_m_strPart2ID_get, METH_VARARGS, NULL},
293590  { (char *)"new_CollisionPair", _wrap_new_CollisionPair, METH_VARARGS, NULL},
293591  { (char *)"delete_CollisionPair", _wrap_delete_CollisionPair, METH_VARARGS, NULL},
293592  { (char *)"CollisionPair_swigregister", CollisionPair_swigregister, METH_VARARGS, NULL},
293593  { (char *)"new_Structure", _wrap_new_Structure, METH_VARARGS, NULL},
293594  { (char *)"delete_Structure", _wrap_delete_Structure, METH_VARARGS, NULL},
293595  { (char *)"Structure_CastToDerived", _wrap_Structure_CastToDerived, METH_VARARGS, NULL},
293596  { (char *)"Structure_Sim", _wrap_Structure_Sim, METH_VARARGS, NULL},
293597  { (char *)"Structure_Body", _wrap_Structure_Body, METH_VARARGS, NULL},
293598  { (char *)"Structure_Position", _wrap_Structure_Position, METH_VARARGS, NULL},
293599  { (char *)"Structure_Size", _wrap_Structure_Size, METH_VARARGS, NULL},
293600  { (char *)"Structure_GetRobotInterface", _wrap_Structure_GetRobotInterface, METH_VARARGS, NULL},
293601  { (char *)"Structure_AllowTranslateDragX", _wrap_Structure_AllowTranslateDragX, METH_VARARGS, NULL},
293602  { (char *)"Structure_AllowTranslateDragY", _wrap_Structure_AllowTranslateDragY, METH_VARARGS, NULL},
293603  { (char *)"Structure_AllowTranslateDragZ", _wrap_Structure_AllowTranslateDragZ, METH_VARARGS, NULL},
293604  { (char *)"Structure_AllowRotateDragX", _wrap_Structure_AllowRotateDragX, METH_VARARGS, NULL},
293605  { (char *)"Structure_AllowRotateDragY", _wrap_Structure_AllowRotateDragY, METH_VARARGS, NULL},
293606  { (char *)"Structure_AllowRotateDragZ", _wrap_Structure_AllowRotateDragZ, METH_VARARGS, NULL},
293607  { (char *)"Structure_ExclusionList", _wrap_Structure_ExclusionList, METH_VARARGS, NULL},
293608  { (char *)"Structure_AddCollisionPair", _wrap_Structure_AddCollisionPair, METH_VARARGS, NULL},
293609  { (char *)"Structure_MinTimeStep", _wrap_Structure_MinTimeStep, METH_VARARGS, NULL},
293610  { (char *)"Structure_Create", _wrap_Structure_Create, METH_VARARGS, NULL},
293611  { (char *)"Structure_StepPhysicsEngine", _wrap_Structure_StepPhysicsEngine, METH_VARARGS, NULL},
293612  { (char *)"Structure_ResetSimulation", _wrap_Structure_ResetSimulation, METH_VARARGS, NULL},
293613  { (char *)"Structure_AddJoint", _wrap_Structure_AddJoint, METH_VARARGS, NULL},
293614  { (char *)"Structure_RemoveJoint", _wrap_Structure_RemoveJoint, METH_VARARGS, NULL},
293615  { (char *)"Structure_AddRigidBody", _wrap_Structure_AddRigidBody, METH_VARARGS, NULL},
293616  { (char *)"Structure_RemoveRigidBody", _wrap_Structure_RemoveRigidBody, METH_VARARGS, NULL},
293617  { (char *)"Structure_FindJoint", _wrap_Structure_FindJoint, METH_VARARGS, NULL},
293618  { (char *)"Structure_FindRigidBody", _wrap_Structure_FindRigidBody, METH_VARARGS, NULL},
293619  { (char *)"Structure_FindNode", _wrap_Structure_FindNode, METH_VARARGS, NULL},
293620  { (char *)"Structure_EnableMotor", _wrap_Structure_EnableMotor, METH_VARARGS, NULL},
293621  { (char *)"Structure_SetMotorInput", _wrap_Structure_SetMotorInput, METH_VARARGS, NULL},
293622  { (char *)"Structure_EnableCollision", _wrap_Structure_EnableCollision, METH_VARARGS, NULL},
293623  { (char *)"Structure_DisableCollision", _wrap_Structure_DisableCollision, METH_VARARGS, NULL},
293624  { (char *)"Structure_Selected", _wrap_Structure_Selected, METH_VARARGS, NULL},
293625  { (char *)"Structure_UpdatePhysicsPosFromGraphics", _wrap_Structure_UpdatePhysicsPosFromGraphics, METH_VARARGS, NULL},
293626  { (char *)"Structure_Script", _wrap_Structure_Script, METH_VARARGS, NULL},
293627  { (char *)"Structure_SetSystemPointers", _wrap_Structure_SetSystemPointers, METH_VARARGS, NULL},
293628  { (char *)"Structure_GetDataPointer", _wrap_Structure_GetDataPointer, METH_VARARGS, NULL},
293629  { (char *)"Structure_SetData", _wrap_Structure_SetData, METH_VARARGS, NULL},
293630  { (char *)"Structure_QueryProperties", _wrap_Structure_QueryProperties, METH_VARARGS, NULL},
293631  { (char *)"Structure_AddItem", _wrap_Structure_AddItem, METH_VARARGS, NULL},
293632  { (char *)"Structure_RemoveItem", _wrap_Structure_RemoveItem, METH_VARARGS, NULL},
293633  { (char *)"Structure_CalculateSnapshotByteSize", _wrap_Structure_CalculateSnapshotByteSize, METH_VARARGS, NULL},
293634  { (char *)"Structure_SaveKeyFrameSnapshot", _wrap_Structure_SaveKeyFrameSnapshot, METH_VARARGS, NULL},
293635  { (char *)"Structure_LoadKeyFrameSnapshot", _wrap_Structure_LoadKeyFrameSnapshot, METH_VARARGS, NULL},
293636  { (char *)"Structure_Initialize", _wrap_Structure_Initialize, METH_VARARGS, NULL},
293637  { (char *)"Structure_Kill", _wrap_Structure_Kill, METH_VARARGS, NULL},
293638  { (char *)"Structure_SimStarting", _wrap_Structure_SimStarting, METH_VARARGS, NULL},
293639  { (char *)"Structure_SimPausing", _wrap_Structure_SimPausing, METH_VARARGS, NULL},
293640  { (char *)"Structure_SimStopping", _wrap_Structure_SimStopping, METH_VARARGS, NULL},
293641  { (char *)"Structure_Load", _wrap_Structure_Load, METH_VARARGS, NULL},
293642  { (char *)"Structure_swigregister", Structure_swigregister, METH_VARARGS, NULL},
293643  { (char *)"new_NervousSystem", _wrap_new_NervousSystem, METH_VARARGS, NULL},
293644  { (char *)"delete_NervousSystem", _wrap_delete_NervousSystem, METH_VARARGS, NULL},
293645  { (char *)"NervousSystem_CastToDerived", _wrap_NervousSystem_CastToDerived, METH_VARARGS, NULL},
293646  { (char *)"NervousSystem_FindNeuralModule", _wrap_NervousSystem_FindNeuralModule, METH_VARARGS, NULL},
293647  { (char *)"NervousSystem_AddNeuralModule", _wrap_NervousSystem_AddNeuralModule, METH_VARARGS, NULL},
293648  { (char *)"NervousSystem_RemoveNeuralModule", _wrap_NervousSystem_RemoveNeuralModule, METH_VARARGS, NULL},
293649  { (char *)"NervousSystem_Kill", _wrap_NervousSystem_Kill, METH_VARARGS, NULL},
293650  { (char *)"NervousSystem_ResetSimulation", _wrap_NervousSystem_ResetSimulation, METH_VARARGS, NULL},
293651  { (char *)"NervousSystem_MinTimeStep", _wrap_NervousSystem_MinTimeStep, METH_VARARGS, NULL},
293652  { (char *)"NervousSystem_SetSystemPointers", _wrap_NervousSystem_SetSystemPointers, METH_VARARGS, NULL},
293653  { (char *)"NervousSystem_VerifySystemPointers", _wrap_NervousSystem_VerifySystemPointers, METH_VARARGS, NULL},
293654  { (char *)"NervousSystem_Initialize", _wrap_NervousSystem_Initialize, METH_VARARGS, NULL},
293655  { (char *)"NervousSystem_StepSimulation", _wrap_NervousSystem_StepSimulation, METH_VARARGS, NULL},
293656  { (char *)"NervousSystem_CalculateSnapshotByteSize", _wrap_NervousSystem_CalculateSnapshotByteSize, METH_VARARGS, NULL},
293657  { (char *)"NervousSystem_SaveKeyFrameSnapshot", _wrap_NervousSystem_SaveKeyFrameSnapshot, METH_VARARGS, NULL},
293658  { (char *)"NervousSystem_LoadKeyFrameSnapshot", _wrap_NervousSystem_LoadKeyFrameSnapshot, METH_VARARGS, NULL},
293659  { (char *)"NervousSystem_Load", _wrap_NervousSystem_Load, METH_VARARGS, NULL},
293660  { (char *)"NervousSystem_swigregister", NervousSystem_swigregister, METH_VARARGS, NULL},
293661  { (char *)"delete_NeuralModule", _wrap_delete_NeuralModule, METH_VARARGS, NULL},
293662  { (char *)"NeuralModule_CastToDerived", _wrap_NeuralModule_CastToDerived, METH_VARARGS, NULL},
293663  { (char *)"NeuralModule_ModuleName", _wrap_NeuralModule_ModuleName, METH_VARARGS, NULL},
293664  { (char *)"NeuralModule_TimeStepInterval", _wrap_NeuralModule_TimeStepInterval, METH_VARARGS, NULL},
293665  { (char *)"NeuralModule_TimeStep", _wrap_NeuralModule_TimeStep, METH_VARARGS, NULL},
293666  { (char *)"NeuralModule_ClassFactory", _wrap_NeuralModule_ClassFactory, METH_VARARGS, NULL},
293667  { (char *)"NeuralModule_GetSimulator", _wrap_NeuralModule_GetSimulator, METH_VARARGS, NULL},
293668  { (char *)"NeuralModule_GetOrganism", _wrap_NeuralModule_GetOrganism, METH_VARARGS, NULL},
293669  { (char *)"NeuralModule_SetSystemPointers", _wrap_NeuralModule_SetSystemPointers, METH_VARARGS, NULL},
293670  { (char *)"NeuralModule_VerifySystemPointers", _wrap_NeuralModule_VerifySystemPointers, METH_VARARGS, NULL},
293671  { (char *)"NeuralModule_AttachSourceAdapter", _wrap_NeuralModule_AttachSourceAdapter, METH_VARARGS, NULL},
293672  { (char *)"NeuralModule_RemoveSourceAdapter", _wrap_NeuralModule_RemoveSourceAdapter, METH_VARARGS, NULL},
293673  { (char *)"NeuralModule_AttachTargetAdapter", _wrap_NeuralModule_AttachTargetAdapter, METH_VARARGS, NULL},
293674  { (char *)"NeuralModule_RemoveTargetAdapter", _wrap_NeuralModule_RemoveTargetAdapter, METH_VARARGS, NULL},
293675  { (char *)"NeuralModule_GetDataPointer", _wrap_NeuralModule_GetDataPointer, METH_VARARGS, NULL},
293676  { (char *)"NeuralModule_AddExternalSynapse", _wrap_NeuralModule_AddExternalSynapse, METH_VARARGS, NULL},
293677  { (char *)"NeuralModule_RemoveExternalSynapse", _wrap_NeuralModule_RemoveExternalSynapse, METH_VARARGS, NULL},
293678  { (char *)"NeuralModule_FindExternalSynapseListPos", _wrap_NeuralModule_FindExternalSynapseListPos, METH_VARARGS, NULL},
293679  { (char *)"NeuralModule_Initialize", _wrap_NeuralModule_Initialize, METH_VARARGS, NULL},
293680  { (char *)"NeuralModule_ResetSimulation", _wrap_NeuralModule_ResetSimulation, METH_VARARGS, NULL},
293681  { (char *)"NeuralModule_NeedToStep", _wrap_NeuralModule_NeedToStep, METH_VARARGS, NULL},
293682  { (char *)"NeuralModule_ResetStepCounter", _wrap_NeuralModule_ResetStepCounter, METH_VARARGS, NULL},
293683  { (char *)"NeuralModule_StepSimulation", _wrap_NeuralModule_StepSimulation, METH_VARARGS, NULL},
293684  { (char *)"NeuralModule_StepAdapters", _wrap_NeuralModule_StepAdapters, METH_VARARGS, NULL},
293685  { (char *)"NeuralModule_swigregister", NeuralModule_swigregister, METH_VARARGS, NULL},
293686  { (char *)"new_PhysicsNeuralModule", _wrap_new_PhysicsNeuralModule, METH_VARARGS, NULL},
293687  { (char *)"delete_PhysicsNeuralModule", _wrap_delete_PhysicsNeuralModule, METH_VARARGS, NULL},
293688  { (char *)"PhysicsNeuralModule_CastToDerived", _wrap_PhysicsNeuralModule_CastToDerived, METH_VARARGS, NULL},
293689  { (char *)"PhysicsNeuralModule_TimeStep", _wrap_PhysicsNeuralModule_TimeStep, METH_VARARGS, NULL},
293690  { (char *)"PhysicsNeuralModule_ModuleName", _wrap_PhysicsNeuralModule_ModuleName, METH_VARARGS, NULL},
293691  { (char *)"PhysicsNeuralModule_AddAdapter", _wrap_PhysicsNeuralModule_AddAdapter, METH_VARARGS, NULL},
293692  { (char *)"PhysicsNeuralModule_RemoveAdapter", _wrap_PhysicsNeuralModule_RemoveAdapter, METH_VARARGS, NULL},
293693  { (char *)"PhysicsNeuralModule_FindAdapterListPos", _wrap_PhysicsNeuralModule_FindAdapterListPos, METH_VARARGS, NULL},
293694  { (char *)"PhysicsNeuralModule_Kill", _wrap_PhysicsNeuralModule_Kill, METH_VARARGS, NULL},
293695  { (char *)"PhysicsNeuralModule_Initialize", _wrap_PhysicsNeuralModule_Initialize, METH_VARARGS, NULL},
293696  { (char *)"PhysicsNeuralModule_ResetSimulation", _wrap_PhysicsNeuralModule_ResetSimulation, METH_VARARGS, NULL},
293697  { (char *)"PhysicsNeuralModule_Load", _wrap_PhysicsNeuralModule_Load, METH_VARARGS, NULL},
293698  { (char *)"PhysicsNeuralModule_SetData", _wrap_PhysicsNeuralModule_SetData, METH_VARARGS, NULL},
293699  { (char *)"PhysicsNeuralModule_QueryProperties", _wrap_PhysicsNeuralModule_QueryProperties, METH_VARARGS, NULL},
293700  { (char *)"PhysicsNeuralModule_AddItem", _wrap_PhysicsNeuralModule_AddItem, METH_VARARGS, NULL},
293701  { (char *)"PhysicsNeuralModule_RemoveItem", _wrap_PhysicsNeuralModule_RemoveItem, METH_VARARGS, NULL},
293702  { (char *)"PhysicsNeuralModule_CalculateSnapshotByteSize", _wrap_PhysicsNeuralModule_CalculateSnapshotByteSize, METH_VARARGS, NULL},
293703  { (char *)"PhysicsNeuralModule_SaveKeyFrameSnapshot", _wrap_PhysicsNeuralModule_SaveKeyFrameSnapshot, METH_VARARGS, NULL},
293704  { (char *)"PhysicsNeuralModule_LoadKeyFrameSnapshot", _wrap_PhysicsNeuralModule_LoadKeyFrameSnapshot, METH_VARARGS, NULL},
293705  { (char *)"PhysicsNeuralModule_swigregister", PhysicsNeuralModule_swigregister, METH_VARARGS, NULL},
293706  { (char *)"new_Organism", _wrap_new_Organism, METH_VARARGS, NULL},
293707  { (char *)"delete_Organism", _wrap_delete_Organism, METH_VARARGS, NULL},
293708  { (char *)"Organism_CastToDerived", _wrap_Organism_CastToDerived, METH_VARARGS, NULL},
293709  { (char *)"Organism_IsDead", _wrap_Organism_IsDead, METH_VARARGS, NULL},
293710  { (char *)"Organism_GetRobotInterface", _wrap_Organism_GetRobotInterface, METH_VARARGS, NULL},
293711  { (char *)"Organism_CalculateSnapshotByteSize", _wrap_Organism_CalculateSnapshotByteSize, METH_VARARGS, NULL},
293712  { (char *)"Organism_SaveKeyFrameSnapshot", _wrap_Organism_SaveKeyFrameSnapshot, METH_VARARGS, NULL},
293713  { (char *)"Organism_LoadKeyFrameSnapshot", _wrap_Organism_LoadKeyFrameSnapshot, METH_VARARGS, NULL},
293714  { (char *)"Organism_SetData", _wrap_Organism_SetData, METH_VARARGS, NULL},
293715  { (char *)"Organism_AddItem", _wrap_Organism_AddItem, METH_VARARGS, NULL},
293716  { (char *)"Organism_RemoveItem", _wrap_Organism_RemoveItem, METH_VARARGS, NULL},
293717  { (char *)"Organism_Initialize", _wrap_Organism_Initialize, METH_VARARGS, NULL},
293718  { (char *)"Organism_StepNeuralEngine", _wrap_Organism_StepNeuralEngine, METH_VARARGS, NULL},
293719  { (char *)"Organism_StepPhysicsEngine", _wrap_Organism_StepPhysicsEngine, METH_VARARGS, NULL},
293720  { (char *)"Organism_ResetSimulation", _wrap_Organism_ResetSimulation, METH_VARARGS, NULL},
293721  { (char *)"Organism_Kill", _wrap_Organism_Kill, METH_VARARGS, NULL},
293722  { (char *)"Organism_MinTimeStep", _wrap_Organism_MinTimeStep, METH_VARARGS, NULL},
293723  { (char *)"Organism_Load", _wrap_Organism_Load, METH_VARARGS, NULL},
293724  { (char *)"Organism_GetNervousSystem", _wrap_Organism_GetNervousSystem, METH_VARARGS, NULL},
293725  { (char *)"Organism_swigregister", Organism_swigregister, METH_VARARGS, NULL},
293726  { (char *)"new_Light", _wrap_new_Light, METH_VARARGS, NULL},
293727  { (char *)"delete_Light", _wrap_delete_Light, METH_VARARGS, NULL},
293728  { (char *)"Light_CastToDerived", _wrap_Light_CastToDerived, METH_VARARGS, NULL},
293729  { (char *)"Light_Enabled", _wrap_Light_Enabled, METH_VARARGS, NULL},
293730  { (char *)"Light_Resize", _wrap_Light_Resize, METH_VARARGS, NULL},
293731  { (char *)"Light_Radius", _wrap_Light_Radius, METH_VARARGS, NULL},
293732  { (char *)"Light_LatitudeSegments", _wrap_Light_LatitudeSegments, METH_VARARGS, NULL},
293733  { (char *)"Light_LongtitudeSegments", _wrap_Light_LongtitudeSegments, METH_VARARGS, NULL},
293734  { (char *)"Light_LightNumber", _wrap_Light_LightNumber, METH_VARARGS, NULL},
293735  { (char *)"Light_ConstantAttenRatio", _wrap_Light_ConstantAttenRatio, METH_VARARGS, NULL},
293736  { (char *)"Light_LinearAttenDistance", _wrap_Light_LinearAttenDistance, METH_VARARGS, NULL},
293737  { (char *)"Light_QuadraticAttenDistance", _wrap_Light_QuadraticAttenDistance, METH_VARARGS, NULL},
293738  { (char *)"Light_SetSystemPointers", _wrap_Light_SetSystemPointers, METH_VARARGS, NULL},
293739  { (char *)"Light_SetData", _wrap_Light_SetData, METH_VARARGS, NULL},
293740  { (char *)"Light_QueryProperties", _wrap_Light_QueryProperties, METH_VARARGS, NULL},
293741  { (char *)"Light_Selected", _wrap_Light_Selected, METH_VARARGS, NULL},
293742  { (char *)"Light_VisualSelectionModeChanged", _wrap_Light_VisualSelectionModeChanged, METH_VARARGS, NULL},
293743  { (char *)"Light_Create", _wrap_Light_Create, METH_VARARGS, NULL},
293744  { (char *)"Light_Load", _wrap_Light_Load, METH_VARARGS, NULL},
293745  { (char *)"Light_swigregister", Light_swigregister, METH_VARARGS, NULL},
293746  { (char *)"new_LightManager", _wrap_new_LightManager, METH_VARARGS, NULL},
293747  { (char *)"delete_LightManager", _wrap_delete_LightManager, METH_VARARGS, NULL},
293748  { (char *)"LightManager_CastToDerived", _wrap_LightManager_CastToDerived, METH_VARARGS, NULL},
293749  { (char *)"LightManager_Lights", _wrap_LightManager_Lights, METH_VARARGS, NULL},
293750  { (char *)"LightManager_AddItem", _wrap_LightManager_AddItem, METH_VARARGS, NULL},
293751  { (char *)"LightManager_RemoveItem", _wrap_LightManager_RemoveItem, METH_VARARGS, NULL},
293752  { (char *)"LightManager_FindChildListPos", _wrap_LightManager_FindChildListPos, METH_VARARGS, NULL},
293753  { (char *)"LightManager_Initialize", _wrap_LightManager_Initialize, METH_VARARGS, NULL},
293754  { (char *)"LightManager_Load", _wrap_LightManager_Load, METH_VARARGS, NULL},
293755  { (char *)"LightManager_swigregister", LightManager_swigregister, METH_VARARGS, NULL},
293756  { (char *)"delete_ActivatedItem", _wrap_delete_ActivatedItem, METH_VARARGS, NULL},
293757  { (char *)"ActivatedItem_CastToDerived", _wrap_ActivatedItem_CastToDerived, METH_VARARGS, NULL},
293758  { (char *)"ActivatedItem_Enabled", _wrap_ActivatedItem_Enabled, METH_VARARGS, NULL},
293759  { (char *)"ActivatedItem_LoadedTime", _wrap_ActivatedItem_LoadedTime, METH_VARARGS, NULL},
293760  { (char *)"ActivatedItem_StartSlice", _wrap_ActivatedItem_StartSlice, METH_VARARGS, NULL},
293761  { (char *)"ActivatedItem_EndSlice", _wrap_ActivatedItem_EndSlice, METH_VARARGS, NULL},
293762  { (char *)"ActivatedItem_StartTime", _wrap_ActivatedItem_StartTime, METH_VARARGS, NULL},
293763  { (char *)"ActivatedItem_EndTime", _wrap_ActivatedItem_EndTime, METH_VARARGS, NULL},
293764  { (char *)"ActivatedItem_StepInterval", _wrap_ActivatedItem_StepInterval, METH_VARARGS, NULL},
293765  { (char *)"ActivatedItem_StepIntervalCount", _wrap_ActivatedItem_StepIntervalCount, METH_VARARGS, NULL},
293766  { (char *)"ActivatedItem_AlwaysActive", _wrap_ActivatedItem_AlwaysActive, METH_VARARGS, NULL},
293767  { (char *)"ActivatedItem_IsActivated", _wrap_ActivatedItem_IsActivated, METH_VARARGS, NULL},
293768  { (char *)"ActivatedItem_IsInitialized", _wrap_ActivatedItem_IsInitialized, METH_VARARGS, NULL},
293769  { (char *)"ActivatedItem_NeedToActivate", _wrap_ActivatedItem_NeedToActivate, METH_VARARGS, NULL},
293770  { (char *)"ActivatedItem_NeedToDeactivate", _wrap_ActivatedItem_NeedToDeactivate, METH_VARARGS, NULL},
293771  { (char *)"ActivatedItem___lt__", _wrap_ActivatedItem___lt__, METH_VARARGS, NULL},
293772  { (char *)"ActivatedItem_Initialize", _wrap_ActivatedItem_Initialize, METH_VARARGS, NULL},
293773  { (char *)"ActivatedItem_ReInitialize", _wrap_ActivatedItem_ReInitialize, METH_VARARGS, NULL},
293774  { (char *)"ActivatedItem_NeedToStep", _wrap_ActivatedItem_NeedToStep, METH_VARARGS, NULL},
293775  { (char *)"ActivatedItem_ResetSimulation", _wrap_ActivatedItem_ResetSimulation, METH_VARARGS, NULL},
293776  { (char *)"ActivatedItem_Activate", _wrap_ActivatedItem_Activate, METH_VARARGS, NULL},
293777  { (char *)"ActivatedItem_Deactivate", _wrap_ActivatedItem_Deactivate, METH_VARARGS, NULL},
293778  { (char *)"ActivatedItem_TimeStepModified", _wrap_ActivatedItem_TimeStepModified, METH_VARARGS, NULL},
293779  { (char *)"ActivatedItem_SetData", _wrap_ActivatedItem_SetData, METH_VARARGS, NULL},
293780  { (char *)"ActivatedItem_Overlaps", _wrap_ActivatedItem_Overlaps, METH_VARARGS, NULL},
293781  { (char *)"ActivatedItem_Load", _wrap_ActivatedItem_Load, METH_VARARGS, NULL},
293782  { (char *)"ActivatedItem_swigregister", ActivatedItem_swigregister, METH_VARARGS, NULL},
293783  { (char *)"LessThanActivatedItemCompare", _wrap_LessThanActivatedItemCompare, METH_VARARGS, NULL},
293784  { (char *)"new_ActivatedItemMgr", _wrap_new_ActivatedItemMgr, METH_VARARGS, NULL},
293785  { (char *)"delete_ActivatedItemMgr", _wrap_delete_ActivatedItemMgr, METH_VARARGS, NULL},
293786  { (char *)"ActivatedItemMgr_CastToDerived", _wrap_ActivatedItemMgr_CastToDerived, METH_VARARGS, NULL},
293787  { (char *)"ActivatedItemMgr_Add", _wrap_ActivatedItemMgr_Add, METH_VARARGS, NULL},
293788  { (char *)"ActivatedItemMgr_Remove", _wrap_ActivatedItemMgr_Remove, METH_VARARGS, NULL},
293789  { (char *)"ActivatedItemMgr_Find", _wrap_ActivatedItemMgr_Find, METH_VARARGS, NULL},
293790  { (char *)"ActivatedItemMgr_FindListPos", _wrap_ActivatedItemMgr_FindListPos, METH_VARARGS, NULL},
293791  { (char *)"ActivatedItemMgr_Reset", _wrap_ActivatedItemMgr_Reset, METH_VARARGS, NULL},
293792  { (char *)"ActivatedItemMgr_Initialize", _wrap_ActivatedItemMgr_Initialize, METH_VARARGS, NULL},
293793  { (char *)"ActivatedItemMgr_ResetSimulation", _wrap_ActivatedItemMgr_ResetSimulation, METH_VARARGS, NULL},
293794  { (char *)"ActivatedItemMgr_ReInitialize", _wrap_ActivatedItemMgr_ReInitialize, METH_VARARGS, NULL},
293795  { (char *)"ActivatedItemMgr_StepSimulation", _wrap_ActivatedItemMgr_StepSimulation, METH_VARARGS, NULL},
293796  { (char *)"ActivatedItemMgr_swigregister", ActivatedItemMgr_swigregister, METH_VARARGS, NULL},
293797  { (char *)"new_DataColumn", _wrap_new_DataColumn, METH_VARARGS, NULL},
293798  { (char *)"delete_DataColumn", _wrap_delete_DataColumn, METH_VARARGS, NULL},
293799  { (char *)"DataColumn_CastToDerived", _wrap_DataColumn_CastToDerived, METH_VARARGS, NULL},
293800  { (char *)"DataColumn_ColumnCount", _wrap_DataColumn_ColumnCount, METH_VARARGS, NULL},
293801  { (char *)"DataColumn_Name", _wrap_DataColumn_Name, METH_VARARGS, NULL},
293802  { (char *)"DataColumn_DataType", _wrap_DataColumn_DataType, METH_VARARGS, NULL},
293803  { (char *)"DataColumn_TargetID", _wrap_DataColumn_TargetID, METH_VARARGS, NULL},
293804  { (char *)"DataColumn_AppendSpaces", _wrap_DataColumn_AppendSpaces, METH_VARARGS, NULL},
293805  { (char *)"DataColumn_IsInitialized", _wrap_DataColumn_IsInitialized, METH_VARARGS, NULL},
293806  { (char *)"DataColumn_ColumnIndex", _wrap_DataColumn_ColumnIndex, METH_VARARGS, NULL},
293807  { (char *)"DataColumn_RowIndex", _wrap_DataColumn_RowIndex, METH_VARARGS, NULL},
293808  { (char *)"DataColumn_DataValue", _wrap_DataColumn_DataValue, METH_VARARGS, NULL},
293809  { (char *)"DataColumn_SetSystemPointers", _wrap_DataColumn_SetSystemPointers, METH_VARARGS, NULL},
293810  { (char *)"DataColumn_VerifySystemPointers", _wrap_DataColumn_VerifySystemPointers, METH_VARARGS, NULL},
293811  { (char *)"DataColumn_Initialize", _wrap_DataColumn_Initialize, METH_VARARGS, NULL},
293812  { (char *)"DataColumn_ReInitialize", _wrap_DataColumn_ReInitialize, METH_VARARGS, NULL},
293813  { (char *)"DataColumn_StepSimulation", _wrap_DataColumn_StepSimulation, METH_VARARGS, NULL},
293814  { (char *)"DataColumn___lt__", _wrap_DataColumn___lt__, METH_VARARGS, NULL},
293815  { (char *)"DataColumn_SetData", _wrap_DataColumn_SetData, METH_VARARGS, NULL},
293816  { (char *)"DataColumn_QueryProperties", _wrap_DataColumn_QueryProperties, METH_VARARGS, NULL},
293817  { (char *)"DataColumn_Activate", _wrap_DataColumn_Activate, METH_VARARGS, NULL},
293818  { (char *)"DataColumn_Deactivate", _wrap_DataColumn_Deactivate, METH_VARARGS, NULL},
293819  { (char *)"DataColumn_Load", _wrap_DataColumn_Load, METH_VARARGS, NULL},
293820  { (char *)"DataColumn_SaveColumnNames", _wrap_DataColumn_SaveColumnNames, METH_VARARGS, NULL},
293821  { (char *)"DataColumn_swigregister", DataColumn_swigregister, METH_VARARGS, NULL},
293822  { (char *)"LessThanDataColumnCompare", _wrap_LessThanDataColumnCompare, METH_VARARGS, NULL},
293823  { (char *)"new_DataChart", _wrap_new_DataChart, METH_VARARGS, NULL},
293824  { (char *)"delete_DataChart", _wrap_delete_DataChart, METH_VARARGS, NULL},
293825  { (char *)"DataChart_CastToDerived", _wrap_DataChart_CastToDerived, METH_VARARGS, NULL},
293826  { (char *)"DataChart_Type", _wrap_DataChart_Type, METH_VARARGS, NULL},
293827  { (char *)"DataChart_StartTime", _wrap_DataChart_StartTime, METH_VARARGS, NULL},
293828  { (char *)"DataChart_EndTime", _wrap_DataChart_EndTime, METH_VARARGS, NULL},
293829  { (char *)"DataChart_SetStartEndTime", _wrap_DataChart_SetStartEndTime, METH_VARARGS, NULL},
293830  { (char *)"DataChart_BufferSize", _wrap_DataChart_BufferSize, METH_VARARGS, NULL},
293831  { (char *)"DataChart_UsedBufferSize", _wrap_DataChart_UsedBufferSize, METH_VARARGS, NULL},
293832  { (char *)"DataChart_BufferByteSize", _wrap_DataChart_BufferByteSize, METH_VARARGS, NULL},
293833  { (char *)"DataChart_UsedBufferByteSize", _wrap_DataChart_UsedBufferByteSize, METH_VARARGS, NULL},
293834  { (char *)"DataChart_TimeBuffer", _wrap_DataChart_TimeBuffer, METH_VARARGS, NULL},
293835  { (char *)"DataChart_DataBuffer", _wrap_DataChart_DataBuffer, METH_VARARGS, NULL},
293836  { (char *)"DataChart_CollectInterval", _wrap_DataChart_CollectInterval, METH_VARARGS, NULL},
293837  { (char *)"DataChart_ChartTimeBase", _wrap_DataChart_ChartTimeBase, METH_VARARGS, NULL},
293838  { (char *)"DataChart_CollectTimeWindow", _wrap_DataChart_CollectTimeWindow, METH_VARARGS, NULL},
293839  { (char *)"DataChart_ProjectPath", _wrap_DataChart_ProjectPath, METH_VARARGS, NULL},
293840  { (char *)"DataChart_ColumnCount", _wrap_DataChart_ColumnCount, METH_VARARGS, NULL},
293841  { (char *)"DataChart_RowCount", _wrap_DataChart_RowCount, METH_VARARGS, NULL},
293842  { (char *)"DataChart_CurrentRow", _wrap_DataChart_CurrentRow, METH_VARARGS, NULL},
293843  { (char *)"DataChart_Lock", _wrap_DataChart_Lock, METH_VARARGS, NULL},
293844  { (char *)"DataChart_Unlock", _wrap_DataChart_Unlock, METH_VARARGS, NULL},
293845  { (char *)"DataChart_AddData", _wrap_DataChart_AddData, METH_VARARGS, NULL},
293846  { (char *)"DataChart_Load", _wrap_DataChart_Load, METH_VARARGS, NULL},
293847  { (char *)"DataChart_AddColumn", _wrap_DataChart_AddColumn, METH_VARARGS, NULL},
293848  { (char *)"DataChart_RemoveColumn", _wrap_DataChart_RemoveColumn, METH_VARARGS, NULL},
293849  { (char *)"DataChart_FindColumn", _wrap_DataChart_FindColumn, METH_VARARGS, NULL},
293850  { (char *)"DataChart_Activate", _wrap_DataChart_Activate, METH_VARARGS, NULL},
293851  { (char *)"DataChart_Deactivate", _wrap_DataChart_Deactivate, METH_VARARGS, NULL},
293852  { (char *)"DataChart_SetData", _wrap_DataChart_SetData, METH_VARARGS, NULL},
293853  { (char *)"DataChart_QueryProperties", _wrap_DataChart_QueryProperties, METH_VARARGS, NULL},
293854  { (char *)"DataChart_AddItem", _wrap_DataChart_AddItem, METH_VARARGS, NULL},
293855  { (char *)"DataChart_RemoveItem", _wrap_DataChart_RemoveItem, METH_VARARGS, NULL},
293856  { (char *)"DataChart___lt__", _wrap_DataChart___lt__, METH_VARARGS, NULL},
293857  { (char *)"DataChart_Initialize", _wrap_DataChart_Initialize, METH_VARARGS, NULL},
293858  { (char *)"DataChart_ReInitialize", _wrap_DataChart_ReInitialize, METH_VARARGS, NULL},
293859  { (char *)"DataChart_ResetSimulation", _wrap_DataChart_ResetSimulation, METH_VARARGS, NULL},
293860  { (char *)"DataChart_StepSimulation", _wrap_DataChart_StepSimulation, METH_VARARGS, NULL},
293861  { (char *)"DataChart_swigregister", DataChart_swigregister, METH_VARARGS, NULL},
293862  { (char *)"new_FileChart", _wrap_new_FileChart, METH_VARARGS, NULL},
293863  { (char *)"delete_FileChart", _wrap_delete_FileChart, METH_VARARGS, NULL},
293864  { (char *)"FileChart_CastToDerived", _wrap_FileChart_CastToDerived, METH_VARARGS, NULL},
293865  { (char *)"FileChart_Type", _wrap_FileChart_Type, METH_VARARGS, NULL},
293866  { (char *)"FileChart_OutputFilename", _wrap_FileChart_OutputFilename, METH_VARARGS, NULL},
293867  { (char *)"FileChart_ResetSimulation", _wrap_FileChart_ResetSimulation, METH_VARARGS, NULL},
293868  { (char *)"FileChart_Initialize", _wrap_FileChart_Initialize, METH_VARARGS, NULL},
293869  { (char *)"FileChart_Deactivate", _wrap_FileChart_Deactivate, METH_VARARGS, NULL},
293870  { (char *)"FileChart_Load", _wrap_FileChart_Load, METH_VARARGS, NULL},
293871  { (char *)"FileChart_SaveOutput", _wrap_FileChart_SaveOutput, METH_VARARGS, NULL},
293872  { (char *)"FileChart_swigregister", FileChart_swigregister, METH_VARARGS, NULL},
293873  { (char *)"new_ArrayChart", _wrap_new_ArrayChart, METH_VARARGS, NULL},
293874  { (char *)"delete_ArrayChart", _wrap_delete_ArrayChart, METH_VARARGS, NULL},
293875  { (char *)"ArrayChart_CastToDerived", _wrap_ArrayChart_CastToDerived, METH_VARARGS, NULL},
293876  { (char *)"ArrayChart_Type", _wrap_ArrayChart_Type, METH_VARARGS, NULL},
293877  { (char *)"ArrayChart_CurrentRow", _wrap_ArrayChart_CurrentRow, METH_VARARGS, NULL},
293878  { (char *)"ArrayChart_Initialize", _wrap_ArrayChart_Initialize, METH_VARARGS, NULL},
293879  { (char *)"ArrayChart_ReInitialize", _wrap_ArrayChart_ReInitialize, METH_VARARGS, NULL},
293880  { (char *)"ArrayChart_StepSimulation", _wrap_ArrayChart_StepSimulation, METH_VARARGS, NULL},
293881  { (char *)"ArrayChart_Load", _wrap_ArrayChart_Load, METH_VARARGS, NULL},
293882  { (char *)"ArrayChart_swigregister", ArrayChart_swigregister, METH_VARARGS, NULL},
293883  { (char *)"new_MemoryChart", _wrap_new_MemoryChart, METH_VARARGS, NULL},
293884  { (char *)"delete_MemoryChart", _wrap_delete_MemoryChart, METH_VARARGS, NULL},
293885  { (char *)"MemoryChart_CastToDerived", _wrap_MemoryChart_CastToDerived, METH_VARARGS, NULL},
293886  { (char *)"MemoryChart_Type", _wrap_MemoryChart_Type, METH_VARARGS, NULL},
293887  { (char *)"MemoryChart_Lock", _wrap_MemoryChart_Lock, METH_VARARGS, NULL},
293888  { (char *)"MemoryChart_Unlock", _wrap_MemoryChart_Unlock, METH_VARARGS, NULL},
293889  { (char *)"MemoryChart_Initialize", _wrap_MemoryChart_Initialize, METH_VARARGS, NULL},
293890  { (char *)"MemoryChart_StepSimulation", _wrap_MemoryChart_StepSimulation, METH_VARARGS, NULL},
293891  { (char *)"MemoryChart_Load", _wrap_MemoryChart_Load, METH_VARARGS, NULL},
293892  { (char *)"MemoryChart_swigregister", MemoryChart_swigregister, METH_VARARGS, NULL},
293893  { (char *)"new_DataChartMgr", _wrap_new_DataChartMgr, METH_VARARGS, NULL},
293894  { (char *)"delete_DataChartMgr", _wrap_delete_DataChartMgr, METH_VARARGS, NULL},
293895  { (char *)"DataChartMgr_CastToDerived", _wrap_DataChartMgr_CastToDerived, METH_VARARGS, NULL},
293896  { (char *)"DataChartMgr_AddDataChart", _wrap_DataChartMgr_AddDataChart, METH_VARARGS, NULL},
293897  { (char *)"DataChartMgr_RemoveDataChart", _wrap_DataChartMgr_RemoveDataChart, METH_VARARGS, NULL},
293898  { (char *)"DataChartMgr_AddDataColumn", _wrap_DataChartMgr_AddDataColumn, METH_VARARGS, NULL},
293899  { (char *)"DataChartMgr_RemoveDataColumn", _wrap_DataChartMgr_RemoveDataColumn, METH_VARARGS, NULL},
293900  { (char *)"DataChartMgr_FindDataColumn", _wrap_DataChartMgr_FindDataColumn, METH_VARARGS, NULL},
293901  { (char *)"DataChartMgr_Load", _wrap_DataChartMgr_Load, METH_VARARGS, NULL},
293902  { (char *)"DataChartMgr_swigregister", DataChartMgr_swigregister, METH_VARARGS, NULL},
293903  { (char *)"new_ExternalStimulus", _wrap_new_ExternalStimulus, METH_VARARGS, NULL},
293904  { (char *)"delete_ExternalStimulus", _wrap_delete_ExternalStimulus, METH_VARARGS, NULL},
293905  { (char *)"ExternalStimulus_CastToDerived", _wrap_ExternalStimulus_CastToDerived, METH_VARARGS, NULL},
293906  { (char *)"ExternalStimulus_SetData", _wrap_ExternalStimulus_SetData, METH_VARARGS, NULL},
293907  { (char *)"ExternalStimulus_QueryProperties", _wrap_ExternalStimulus_QueryProperties, METH_VARARGS, NULL},
293908  { (char *)"ExternalStimulus___lt__", _wrap_ExternalStimulus___lt__, METH_VARARGS, NULL},
293909  { (char *)"ExternalStimulus_swigregister", ExternalStimulus_swigregister, METH_VARARGS, NULL},
293910  { (char *)"new_ExternalStimuliMgr", _wrap_new_ExternalStimuliMgr, METH_VARARGS, NULL},
293911  { (char *)"delete_ExternalStimuliMgr", _wrap_delete_ExternalStimuliMgr, METH_VARARGS, NULL},
293912  { (char *)"ExternalStimuliMgr_CastToDerived", _wrap_ExternalStimuliMgr_CastToDerived, METH_VARARGS, NULL},
293913  { (char *)"ExternalStimuliMgr_AddStimulus", _wrap_ExternalStimuliMgr_AddStimulus, METH_VARARGS, NULL},
293914  { (char *)"ExternalStimuliMgr_RemoveStimulus", _wrap_ExternalStimuliMgr_RemoveStimulus, METH_VARARGS, NULL},
293915  { (char *)"ExternalStimuliMgr_Load", _wrap_ExternalStimuliMgr_Load, METH_VARARGS, NULL},
293916  { (char *)"ExternalStimuliMgr_swigregister", ExternalStimuliMgr_swigregister, METH_VARARGS, NULL},
293917  { (char *)"new_ExternalInputStimulus", _wrap_new_ExternalInputStimulus, METH_VARARGS, NULL},
293918  { (char *)"delete_ExternalInputStimulus", _wrap_delete_ExternalInputStimulus, METH_VARARGS, NULL},
293919  { (char *)"ExternalInputStimulus_CastToDerived", _wrap_ExternalInputStimulus_CastToDerived, METH_VARARGS, NULL},
293920  { (char *)"ExternalInputStimulus_Type", _wrap_ExternalInputStimulus_Type, METH_VARARGS, NULL},
293921  { (char *)"ExternalInputStimulus_TargetNodeID", _wrap_ExternalInputStimulus_TargetNodeID, METH_VARARGS, NULL},
293922  { (char *)"ExternalInputStimulus_Input", _wrap_ExternalInputStimulus_Input, METH_VARARGS, NULL},
293923  { (char *)"ExternalInputStimulus_InputEquation", _wrap_ExternalInputStimulus_InputEquation, METH_VARARGS, NULL},
293924  { (char *)"ExternalInputStimulus_Load", _wrap_ExternalInputStimulus_Load, METH_VARARGS, NULL},
293925  { (char *)"ExternalInputStimulus_Activate", _wrap_ExternalInputStimulus_Activate, METH_VARARGS, NULL},
293926  { (char *)"ExternalInputStimulus_Initialize", _wrap_ExternalInputStimulus_Initialize, METH_VARARGS, NULL},
293927  { (char *)"ExternalInputStimulus_StepSimulation", _wrap_ExternalInputStimulus_StepSimulation, METH_VARARGS, NULL},
293928  { (char *)"ExternalInputStimulus_Deactivate", _wrap_ExternalInputStimulus_Deactivate, METH_VARARGS, NULL},
293929  { (char *)"ExternalInputStimulus_GetDataPointer", _wrap_ExternalInputStimulus_GetDataPointer, METH_VARARGS, NULL},
293930  { (char *)"ExternalInputStimulus_SetData", _wrap_ExternalInputStimulus_SetData, METH_VARARGS, NULL},
293931  { (char *)"ExternalInputStimulus_QueryProperties", _wrap_ExternalInputStimulus_QueryProperties, METH_VARARGS, NULL},
293932  { (char *)"ExternalInputStimulus_swigregister", ExternalInputStimulus_swigregister, METH_VARARGS, NULL},
293933  { (char *)"new_CurrentStimulus", _wrap_new_CurrentStimulus, METH_VARARGS, NULL},
293934  { (char *)"delete_CurrentStimulus", _wrap_delete_CurrentStimulus, METH_VARARGS, NULL},
293935  { (char *)"CurrentStimulus_CastToDerived", _wrap_CurrentStimulus_CastToDerived, METH_VARARGS, NULL},
293936  { (char *)"CurrentStimulus_Type", _wrap_CurrentStimulus_Type, METH_VARARGS, NULL},
293937  { (char *)"CurrentStimulus_AlwaysActive", _wrap_CurrentStimulus_AlwaysActive, METH_VARARGS, NULL},
293938  { (char *)"CurrentStimulus_TargetNodeID", _wrap_CurrentStimulus_TargetNodeID, METH_VARARGS, NULL},
293939  { (char *)"CurrentStimulus_CurrentOn", _wrap_CurrentStimulus_CurrentOn, METH_VARARGS, NULL},
293940  { (char *)"CurrentStimulus_CurrentOff", _wrap_CurrentStimulus_CurrentOff, METH_VARARGS, NULL},
293941  { (char *)"CurrentStimulus_CurrentBurstOff", _wrap_CurrentStimulus_CurrentBurstOff, METH_VARARGS, NULL},
293942  { (char *)"CurrentStimulus_CycleOnDuration", _wrap_CurrentStimulus_CycleOnDuration, METH_VARARGS, NULL},
293943  { (char *)"CurrentStimulus_CycleOffDuration", _wrap_CurrentStimulus_CycleOffDuration, METH_VARARGS, NULL},
293944  { (char *)"CurrentStimulus_BurstOnDuration", _wrap_CurrentStimulus_BurstOnDuration, METH_VARARGS, NULL},
293945  { (char *)"CurrentStimulus_BurstOffDuration", _wrap_CurrentStimulus_BurstOffDuration, METH_VARARGS, NULL},
293946  { (char *)"CurrentStimulus_CurrentEquation", _wrap_CurrentStimulus_CurrentEquation, METH_VARARGS, NULL},
293947  { (char *)"CurrentStimulus_Load", _wrap_CurrentStimulus_Load, METH_VARARGS, NULL},
293948  { (char *)"CurrentStimulus_Initialize", _wrap_CurrentStimulus_Initialize, METH_VARARGS, NULL},
293949  { (char *)"CurrentStimulus_ResetSimulation", _wrap_CurrentStimulus_ResetSimulation, METH_VARARGS, NULL},
293950  { (char *)"CurrentStimulus_Activate", _wrap_CurrentStimulus_Activate, METH_VARARGS, NULL},
293951  { (char *)"CurrentStimulus_StepSimulation", _wrap_CurrentStimulus_StepSimulation, METH_VARARGS, NULL},
293952  { (char *)"CurrentStimulus_Deactivate", _wrap_CurrentStimulus_Deactivate, METH_VARARGS, NULL},
293953  { (char *)"CurrentStimulus_GetDataPointer", _wrap_CurrentStimulus_GetDataPointer, METH_VARARGS, NULL},
293954  { (char *)"CurrentStimulus_SetData", _wrap_CurrentStimulus_SetData, METH_VARARGS, NULL},
293955  { (char *)"CurrentStimulus_QueryProperties", _wrap_CurrentStimulus_QueryProperties, METH_VARARGS, NULL},
293956  { (char *)"CurrentStimulus_swigregister", CurrentStimulus_swigregister, METH_VARARGS, NULL},
293957  { (char *)"new_EnablerStimulus", _wrap_new_EnablerStimulus, METH_VARARGS, NULL},
293958  { (char *)"delete_EnablerStimulus", _wrap_delete_EnablerStimulus, METH_VARARGS, NULL},
293959  { (char *)"EnablerStimulus_CastToDerived", _wrap_EnablerStimulus_CastToDerived, METH_VARARGS, NULL},
293960  { (char *)"EnablerStimulus_Type", _wrap_EnablerStimulus_Type, METH_VARARGS, NULL},
293961  { (char *)"EnablerStimulus_TargetNodeID", _wrap_EnablerStimulus_TargetNodeID, METH_VARARGS, NULL},
293962  { (char *)"EnablerStimulus_EnableWhenActive", _wrap_EnablerStimulus_EnableWhenActive, METH_VARARGS, NULL},
293963  { (char *)"EnablerStimulus_Initialize", _wrap_EnablerStimulus_Initialize, METH_VARARGS, NULL},
293964  { (char *)"EnablerStimulus_Activate", _wrap_EnablerStimulus_Activate, METH_VARARGS, NULL},
293965  { (char *)"EnablerStimulus_StepSimulation", _wrap_EnablerStimulus_StepSimulation, METH_VARARGS, NULL},
293966  { (char *)"EnablerStimulus_Deactivate", _wrap_EnablerStimulus_Deactivate, METH_VARARGS, NULL},
293967  { (char *)"EnablerStimulus_SetData", _wrap_EnablerStimulus_SetData, METH_VARARGS, NULL},
293968  { (char *)"EnablerStimulus_QueryProperties", _wrap_EnablerStimulus_QueryProperties, METH_VARARGS, NULL},
293969  { (char *)"EnablerStimulus_Load", _wrap_EnablerStimulus_Load, METH_VARARGS, NULL},
293970  { (char *)"EnablerStimulus_swigregister", EnablerStimulus_swigregister, METH_VARARGS, NULL},
293971  { (char *)"new_VoltageClamp", _wrap_new_VoltageClamp, METH_VARARGS, NULL},
293972  { (char *)"delete_VoltageClamp", _wrap_delete_VoltageClamp, METH_VARARGS, NULL},
293973  { (char *)"VoltageClamp_CastToDerived", _wrap_VoltageClamp_CastToDerived, METH_VARARGS, NULL},
293974  { (char *)"VoltageClamp_Type", _wrap_VoltageClamp_Type, METH_VARARGS, NULL},
293975  { (char *)"VoltageClamp_TargetNodeID", _wrap_VoltageClamp_TargetNodeID, METH_VARARGS, NULL},
293976  { (char *)"VoltageClamp_Vtarget", _wrap_VoltageClamp_Vtarget, METH_VARARGS, NULL},
293977  { (char *)"VoltageClamp_Load", _wrap_VoltageClamp_Load, METH_VARARGS, NULL},
293978  { (char *)"VoltageClamp_Initialize", _wrap_VoltageClamp_Initialize, METH_VARARGS, NULL},
293979  { (char *)"VoltageClamp_Activate", _wrap_VoltageClamp_Activate, METH_VARARGS, NULL},
293980  { (char *)"VoltageClamp_ResetSimulation", _wrap_VoltageClamp_ResetSimulation, METH_VARARGS, NULL},
293981  { (char *)"VoltageClamp_StepSimulation", _wrap_VoltageClamp_StepSimulation, METH_VARARGS, NULL},
293982  { (char *)"VoltageClamp_Deactivate", _wrap_VoltageClamp_Deactivate, METH_VARARGS, NULL},
293983  { (char *)"VoltageClamp_GetDataPointer", _wrap_VoltageClamp_GetDataPointer, METH_VARARGS, NULL},
293984  { (char *)"VoltageClamp_SetData", _wrap_VoltageClamp_SetData, METH_VARARGS, NULL},
293985  { (char *)"VoltageClamp_QueryProperties", _wrap_VoltageClamp_QueryProperties, METH_VARARGS, NULL},
293986  { (char *)"VoltageClamp_swigregister", VoltageClamp_swigregister, METH_VARARGS, NULL},
293987  { (char *)"new_InverseMuscleCurrent", _wrap_new_InverseMuscleCurrent, METH_VARARGS, NULL},
293988  { (char *)"delete_InverseMuscleCurrent", _wrap_delete_InverseMuscleCurrent, METH_VARARGS, NULL},
293989  { (char *)"InverseMuscleCurrent_CastToDerived", _wrap_InverseMuscleCurrent_CastToDerived, METH_VARARGS, NULL},
293990  { (char *)"InverseMuscleCurrent_RestPotential", _wrap_InverseMuscleCurrent_RestPotential, METH_VARARGS, NULL},
293991  { (char *)"InverseMuscleCurrent_Conductance", _wrap_InverseMuscleCurrent_Conductance, METH_VARARGS, NULL},
293992  { (char *)"InverseMuscleCurrent_TargetNodeID", _wrap_InverseMuscleCurrent_TargetNodeID, METH_VARARGS, NULL},
293993  { (char *)"InverseMuscleCurrent_TargetNode", _wrap_InverseMuscleCurrent_TargetNode, METH_VARARGS, NULL},
293994  { (char *)"InverseMuscleCurrent_MuscleID", _wrap_InverseMuscleCurrent_MuscleID, METH_VARARGS, NULL},
293995  { (char *)"InverseMuscleCurrent_Muscle", _wrap_InverseMuscleCurrent_Muscle, METH_VARARGS, NULL},
293996  { (char *)"InverseMuscleCurrent_MuscleLengthData", _wrap_InverseMuscleCurrent_MuscleLengthData, METH_VARARGS, NULL},
293997  { (char *)"InverseMuscleCurrent_Load", _wrap_InverseMuscleCurrent_Load, METH_VARARGS, NULL},
293998  { (char *)"InverseMuscleCurrent_GetDataPointer", _wrap_InverseMuscleCurrent_GetDataPointer, METH_VARARGS, NULL},
293999  { (char *)"InverseMuscleCurrent_SetData", _wrap_InverseMuscleCurrent_SetData, METH_VARARGS, NULL},
294000  { (char *)"InverseMuscleCurrent_QueryProperties", _wrap_InverseMuscleCurrent_QueryProperties, METH_VARARGS, NULL},
294001  { (char *)"InverseMuscleCurrent_Type", _wrap_InverseMuscleCurrent_Type, METH_VARARGS, NULL},
294002  { (char *)"InverseMuscleCurrent_Initialize", _wrap_InverseMuscleCurrent_Initialize, METH_VARARGS, NULL},
294003  { (char *)"InverseMuscleCurrent_Activate", _wrap_InverseMuscleCurrent_Activate, METH_VARARGS, NULL},
294004  { (char *)"InverseMuscleCurrent_ResetSimulation", _wrap_InverseMuscleCurrent_ResetSimulation, METH_VARARGS, NULL},
294005  { (char *)"InverseMuscleCurrent_StepSimulation", _wrap_InverseMuscleCurrent_StepSimulation, METH_VARARGS, NULL},
294006  { (char *)"InverseMuscleCurrent_Deactivate", _wrap_InverseMuscleCurrent_Deactivate, METH_VARARGS, NULL},
294007  { (char *)"InverseMuscleCurrent_swigregister", InverseMuscleCurrent_swigregister, METH_VARARGS, NULL},
294008  { (char *)"new_PropertyControlStimulus", _wrap_new_PropertyControlStimulus, METH_VARARGS, NULL},
294009  { (char *)"delete_PropertyControlStimulus", _wrap_delete_PropertyControlStimulus, METH_VARARGS, NULL},
294010  { (char *)"PropertyControlStimulus_CastToDerived", _wrap_PropertyControlStimulus_CastToDerived, METH_VARARGS, NULL},
294011  { (char *)"PropertyControlStimulus_Type", _wrap_PropertyControlStimulus_Type, METH_VARARGS, NULL},
294012  { (char *)"PropertyControlStimulus_TargetID", _wrap_PropertyControlStimulus_TargetID, METH_VARARGS, NULL},
294013  { (char *)"PropertyControlStimulus_TargetObject", _wrap_PropertyControlStimulus_TargetObject, METH_VARARGS, NULL},
294014  { (char *)"PropertyControlStimulus_PropertyName", _wrap_PropertyControlStimulus_PropertyName, METH_VARARGS, NULL},
294015  { (char *)"PropertyControlStimulus_SetThreshold", _wrap_PropertyControlStimulus_SetThreshold, METH_VARARGS, NULL},
294016  { (char *)"PropertyControlStimulus_InitialValue", _wrap_PropertyControlStimulus_InitialValue, METH_VARARGS, NULL},
294017  { (char *)"PropertyControlStimulus_FinalValue", _wrap_PropertyControlStimulus_FinalValue, METH_VARARGS, NULL},
294018  { (char *)"PropertyControlStimulus_Equation", _wrap_PropertyControlStimulus_Equation, METH_VARARGS, NULL},
294019  { (char *)"PropertyControlStimulus_Initialize", _wrap_PropertyControlStimulus_Initialize, METH_VARARGS, NULL},
294020  { (char *)"PropertyControlStimulus_Activate", _wrap_PropertyControlStimulus_Activate, METH_VARARGS, NULL},
294021  { (char *)"PropertyControlStimulus_StepSimulation", _wrap_PropertyControlStimulus_StepSimulation, METH_VARARGS, NULL},
294022  { (char *)"PropertyControlStimulus_Deactivate", _wrap_PropertyControlStimulus_Deactivate, METH_VARARGS, NULL},
294023  { (char *)"PropertyControlStimulus_SetData", _wrap_PropertyControlStimulus_SetData, METH_VARARGS, NULL},
294024  { (char *)"PropertyControlStimulus_QueryProperties", _wrap_PropertyControlStimulus_QueryProperties, METH_VARARGS, NULL},
294025  { (char *)"PropertyControlStimulus_Load", _wrap_PropertyControlStimulus_Load, METH_VARARGS, NULL},
294026  { (char *)"PropertyControlStimulus_swigregister", PropertyControlStimulus_swigregister, METH_VARARGS, NULL},
294027  { (char *)"new_MotorStimulus", _wrap_new_MotorStimulus, METH_VARARGS, NULL},
294028  { (char *)"delete_MotorStimulus", _wrap_delete_MotorStimulus, METH_VARARGS, NULL},
294029  { (char *)"MotorStimulus_CastToDerived", _wrap_MotorStimulus_CastToDerived, METH_VARARGS, NULL},
294030  { (char *)"MotorStimulus_StructureID", _wrap_MotorStimulus_StructureID, METH_VARARGS, NULL},
294031  { (char *)"MotorStimulus_JointID", _wrap_MotorStimulus_JointID, METH_VARARGS, NULL},
294032  { (char *)"MotorStimulus_Equation", _wrap_MotorStimulus_Equation, METH_VARARGS, NULL},
294033  { (char *)"MotorStimulus_TargetID", _wrap_MotorStimulus_TargetID, METH_VARARGS, NULL},
294034  { (char *)"MotorStimulus_DisableMotorWhenDone", _wrap_MotorStimulus_DisableMotorWhenDone, METH_VARARGS, NULL},
294035  { (char *)"MotorStimulus_Load", _wrap_MotorStimulus_Load, METH_VARARGS, NULL},
294036  { (char *)"MotorStimulus_Type", _wrap_MotorStimulus_Type, METH_VARARGS, NULL},
294037  { (char *)"MotorStimulus_Initialize", _wrap_MotorStimulus_Initialize, METH_VARARGS, NULL},
294038  { (char *)"MotorStimulus_Activate", _wrap_MotorStimulus_Activate, METH_VARARGS, NULL},
294039  { (char *)"MotorStimulus_ResetSimulation", _wrap_MotorStimulus_ResetSimulation, METH_VARARGS, NULL},
294040  { (char *)"MotorStimulus_StepSimulation", _wrap_MotorStimulus_StepSimulation, METH_VARARGS, NULL},
294041  { (char *)"MotorStimulus_Deactivate", _wrap_MotorStimulus_Deactivate, METH_VARARGS, NULL},
294042  { (char *)"MotorStimulus_GetDataPointer", _wrap_MotorStimulus_GetDataPointer, METH_VARARGS, NULL},
294043  { (char *)"MotorStimulus_SetData", _wrap_MotorStimulus_SetData, METH_VARARGS, NULL},
294044  { (char *)"MotorStimulus_QueryProperties", _wrap_MotorStimulus_QueryProperties, METH_VARARGS, NULL},
294045  { (char *)"MotorStimulus_swigregister", MotorStimulus_swigregister, METH_VARARGS, NULL},
294046  { (char *)"new_ForceStimulus", _wrap_new_ForceStimulus, METH_VARARGS, NULL},
294047  { (char *)"delete_ForceStimulus", _wrap_delete_ForceStimulus, METH_VARARGS, NULL},
294048  { (char *)"ForceStimulus_CastToDerived", _wrap_ForceStimulus_CastToDerived, METH_VARARGS, NULL},
294049  { (char *)"ForceStimulus_RelativePositionX", _wrap_ForceStimulus_RelativePositionX, METH_VARARGS, NULL},
294050  { (char *)"ForceStimulus_RelativePositionY", _wrap_ForceStimulus_RelativePositionY, METH_VARARGS, NULL},
294051  { (char *)"ForceStimulus_RelativePositionZ", _wrap_ForceStimulus_RelativePositionZ, METH_VARARGS, NULL},
294052  { (char *)"ForceStimulus_ForceXEquation", _wrap_ForceStimulus_ForceXEquation, METH_VARARGS, NULL},
294053  { (char *)"ForceStimulus_ForceYEquation", _wrap_ForceStimulus_ForceYEquation, METH_VARARGS, NULL},
294054  { (char *)"ForceStimulus_ForceZEquation", _wrap_ForceStimulus_ForceZEquation, METH_VARARGS, NULL},
294055  { (char *)"ForceStimulus_TorqueXEquation", _wrap_ForceStimulus_TorqueXEquation, METH_VARARGS, NULL},
294056  { (char *)"ForceStimulus_TorqueYEquation", _wrap_ForceStimulus_TorqueYEquation, METH_VARARGS, NULL},
294057  { (char *)"ForceStimulus_TorqueZEquation", _wrap_ForceStimulus_TorqueZEquation, METH_VARARGS, NULL},
294058  { (char *)"ForceStimulus_Load", _wrap_ForceStimulus_Load, METH_VARARGS, NULL},
294059  { (char *)"ForceStimulus_Type", _wrap_ForceStimulus_Type, METH_VARARGS, NULL},
294060  { (char *)"ForceStimulus_Initialize", _wrap_ForceStimulus_Initialize, METH_VARARGS, NULL},
294061  { (char *)"ForceStimulus_ResetSimulation", _wrap_ForceStimulus_ResetSimulation, METH_VARARGS, NULL},
294062  { (char *)"ForceStimulus_StepSimulation", _wrap_ForceStimulus_StepSimulation, METH_VARARGS, NULL},
294063  { (char *)"ForceStimulus_Deactivate", _wrap_ForceStimulus_Deactivate, METH_VARARGS, NULL},
294064  { (char *)"ForceStimulus_GetDataPointer", _wrap_ForceStimulus_GetDataPointer, METH_VARARGS, NULL},
294065  { (char *)"ForceStimulus_SetData", _wrap_ForceStimulus_SetData, METH_VARARGS, NULL},
294066  { (char *)"ForceStimulus_QueryProperties", _wrap_ForceStimulus_QueryProperties, METH_VARARGS, NULL},
294067  { (char *)"ForceStimulus_swigregister", ForceStimulus_swigregister, METH_VARARGS, NULL},
294068  { (char *)"delete_KeyFrame", _wrap_delete_KeyFrame, METH_VARARGS, NULL},
294069  { (char *)"KeyFrame_CastToDerived", _wrap_KeyFrame_CastToDerived, METH_VARARGS, NULL},
294070  { (char *)"KeyFrame_CollectInterval", _wrap_KeyFrame_CollectInterval, METH_VARARGS, NULL},
294071  { (char *)"KeyFrame_GenerateID", _wrap_KeyFrame_GenerateID, METH_VARARGS, NULL},
294072  { (char *)"KeyFrame_Load", _wrap_KeyFrame_Load, METH_VARARGS, NULL},
294073  { (char *)"KeyFrame___lt__", _wrap_KeyFrame___lt__, METH_VARARGS, NULL},
294074  { (char *)"KeyFrame_EnableVideoPlayback", _wrap_KeyFrame_EnableVideoPlayback, METH_VARARGS, NULL},
294075  { (char *)"KeyFrame_DisableVideoPlayback", _wrap_KeyFrame_DisableVideoPlayback, METH_VARARGS, NULL},
294076  { (char *)"KeyFrame_StartVideoPlayback", _wrap_KeyFrame_StartVideoPlayback, METH_VARARGS, NULL},
294077  { (char *)"KeyFrame_StopVideoPlayback", _wrap_KeyFrame_StopVideoPlayback, METH_VARARGS, NULL},
294078  { (char *)"KeyFrame_PlaybackVideoFrame", _wrap_KeyFrame_PlaybackVideoFrame, METH_VARARGS, NULL},
294079  { (char *)"KeyFrame_StepVideoPlayback", _wrap_KeyFrame_StepVideoPlayback, METH_VARARGS, NULL},
294080  { (char *)"KeyFrame_RecordVideoFrame", _wrap_KeyFrame_RecordVideoFrame, METH_VARARGS, NULL},
294081  { (char *)"KeyFrame_SaveVideo", _wrap_KeyFrame_SaveVideo, METH_VARARGS, NULL},
294082  { (char *)"KeyFrame_MakeCurrentFrame", _wrap_KeyFrame_MakeCurrentFrame, METH_VARARGS, NULL},
294083  { (char *)"KeyFrame_swigregister", KeyFrame_swigregister, METH_VARARGS, NULL},
294084  { (char *)"new_SimulationRecorder", _wrap_new_SimulationRecorder, METH_VARARGS, NULL},
294085  { (char *)"delete_SimulationRecorder", _wrap_delete_SimulationRecorder, METH_VARARGS, NULL},
294086  { (char *)"SimulationRecorder_CastToDerived", _wrap_SimulationRecorder_CastToDerived, METH_VARARGS, NULL},
294087  { (char *)"SimulationRecorder_Add", _wrap_SimulationRecorder_Add, METH_VARARGS, NULL},
294088  { (char *)"SimulationRecorder_Load", _wrap_SimulationRecorder_Load, METH_VARARGS, NULL},
294089  { (char *)"SimulationRecorder_swigregister", SimulationRecorder_swigregister, METH_VARARGS, NULL},
294090  { (char *)"delete_MaterialType", _wrap_delete_MaterialType, METH_VARARGS, NULL},
294091  { (char *)"MaterialType_CastToDerived", _wrap_MaterialType_CastToDerived, METH_VARARGS, NULL},
294092  { (char *)"MaterialType_GetMaterialID", _wrap_MaterialType_GetMaterialID, METH_VARARGS, NULL},
294093  { (char *)"MaterialType_CreateDefaultUnits", _wrap_MaterialType_CreateDefaultUnits, METH_VARARGS, NULL},
294094  { (char *)"MaterialType_swigregister", MaterialType_swigregister, METH_VARARGS, NULL},
294095  { (char *)"new_Materials", _wrap_new_Materials, METH_VARARGS, NULL},
294096  { (char *)"delete_Materials", _wrap_delete_Materials, METH_VARARGS, NULL},
294097  { (char *)"Materials_CastToDerived", _wrap_Materials_CastToDerived, METH_VARARGS, NULL},
294098  { (char *)"Materials_Reset", _wrap_Materials_Reset, METH_VARARGS, NULL},
294099  { (char *)"Materials_Initialize", _wrap_Materials_Initialize, METH_VARARGS, NULL},
294100  { (char *)"Materials_AddItem", _wrap_Materials_AddItem, METH_VARARGS, NULL},
294101  { (char *)"Materials_RemoveItem", _wrap_Materials_RemoveItem, METH_VARARGS, NULL},
294102  { (char *)"Materials_Load", _wrap_Materials_Load, METH_VARARGS, NULL},
294103  { (char *)"Materials_swigregister", Materials_swigregister, METH_VARARGS, NULL},
294104  { (char *)"delete_HudItem", _wrap_delete_HudItem, METH_VARARGS, NULL},
294105  { (char *)"HudItem_CastToDerived", _wrap_HudItem_CastToDerived, METH_VARARGS, NULL},
294106  { (char *)"HudItem_Initialize", _wrap_HudItem_Initialize, METH_VARARGS, NULL},
294107  { (char *)"HudItem_Update", _wrap_HudItem_Update, METH_VARARGS, NULL},
294108  { (char *)"HudItem_Load", _wrap_HudItem_Load, METH_VARARGS, NULL},
294109  { (char *)"HudItem_swigregister", HudItem_swigregister, METH_VARARGS, NULL},
294110  { (char *)"delete_HudText", _wrap_delete_HudText, METH_VARARGS, NULL},
294111  { (char *)"HudText_CastToDerived", _wrap_HudText_CastToDerived, METH_VARARGS, NULL},
294112  { (char *)"HudText_Initialize", _wrap_HudText_Initialize, METH_VARARGS, NULL},
294113  { (char *)"HudText_Load", _wrap_HudText_Load, METH_VARARGS, NULL},
294114  { (char *)"HudText_swigregister", HudText_swigregister, METH_VARARGS, NULL},
294115  { (char *)"delete_Hud", _wrap_delete_Hud, METH_VARARGS, NULL},
294116  { (char *)"Hud_CastToDerived", _wrap_Hud_CastToDerived, METH_VARARGS, NULL},
294117  { (char *)"Hud_Reset", _wrap_Hud_Reset, METH_VARARGS, NULL},
294118  { (char *)"Hud_ResetSimulation", _wrap_Hud_ResetSimulation, METH_VARARGS, NULL},
294119  { (char *)"Hud_Initialize", _wrap_Hud_Initialize, METH_VARARGS, NULL},
294120  { (char *)"Hud_Update", _wrap_Hud_Update, METH_VARARGS, NULL},
294121  { (char *)"Hud_Load", _wrap_Hud_Load, METH_VARARGS, NULL},
294122  { (char *)"Hud_swigregister", Hud_swigregister, METH_VARARGS, NULL},
294123  { (char *)"delete_SimulationWindow", _wrap_delete_SimulationWindow, METH_VARARGS, NULL},
294124  { (char *)"SimulationWindow_CastToDerived", _wrap_SimulationWindow_CastToDerived, METH_VARARGS, NULL},
294125  { (char *)"SimulationWindow_LookAtStructureID", _wrap_SimulationWindow_LookAtStructureID, METH_VARARGS, NULL},
294126  { (char *)"SimulationWindow_LookAtBodyID", _wrap_SimulationWindow_LookAtBodyID, METH_VARARGS, NULL},
294127  { (char *)"SimulationWindow_UsingTrackCamera", _wrap_SimulationWindow_UsingTrackCamera, METH_VARARGS, NULL},
294128  { (char *)"SimulationWindow_WindowID", _wrap_SimulationWindow_WindowID, METH_VARARGS, NULL},
294129  { (char *)"SimulationWindow_StandAlone", _wrap_SimulationWindow_StandAlone, METH_VARARGS, NULL},
294130  { (char *)"SimulationWindow_GetCameraPosition", _wrap_SimulationWindow_GetCameraPosition, METH_VARARGS, NULL},
294131  { (char *)"SimulationWindow_SetupTrackCamera", _wrap_SimulationWindow_SetupTrackCamera, METH_VARARGS, NULL},
294132  { (char *)"SimulationWindow_SetCameraLookAt", _wrap_SimulationWindow_SetCameraLookAt, METH_VARARGS, NULL},
294133  { (char *)"SimulationWindow_SetCameraPositionAndLookAt", _wrap_SimulationWindow_SetCameraPositionAndLookAt, METH_VARARGS, NULL},
294134  { (char *)"SimulationWindow_SetCameraPostion", _wrap_SimulationWindow_SetCameraPostion, METH_VARARGS, NULL},
294135  { (char *)"SimulationWindow_UpdateBackgroundColor", _wrap_SimulationWindow_UpdateBackgroundColor, METH_VARARGS, NULL},
294136  { (char *)"SimulationWindow_GetDataPointer", _wrap_SimulationWindow_GetDataPointer, METH_VARARGS, NULL},
294137  { (char *)"SimulationWindow_SetData", _wrap_SimulationWindow_SetData, METH_VARARGS, NULL},
294138  { (char *)"SimulationWindow_QueryProperties", _wrap_SimulationWindow_QueryProperties, METH_VARARGS, NULL},
294139  { (char *)"SimulationWindow_Update", _wrap_SimulationWindow_Update, METH_VARARGS, NULL},
294140  { (char *)"SimulationWindow_Close", _wrap_SimulationWindow_Close, METH_VARARGS, NULL},
294141  { (char *)"SimulationWindow_Load", _wrap_SimulationWindow_Load, METH_VARARGS, NULL},
294142  { (char *)"SimulationWindow_OnGetFocus", _wrap_SimulationWindow_OnGetFocus, METH_VARARGS, NULL},
294143  { (char *)"SimulationWindow_OnLoseFocus", _wrap_SimulationWindow_OnLoseFocus, METH_VARARGS, NULL},
294144  { (char *)"SimulationWindow_swigregister", SimulationWindow_swigregister, METH_VARARGS, NULL},
294145  { (char *)"delete_SimulationWindowMgr", _wrap_delete_SimulationWindowMgr, METH_VARARGS, NULL},
294146  { (char *)"SimulationWindowMgr_CastToDerived", _wrap_SimulationWindowMgr_CastToDerived, METH_VARARGS, NULL},
294147  { (char *)"SimulationWindowMgr_HasContainedWindow", _wrap_SimulationWindowMgr_HasContainedWindow, METH_VARARGS, NULL},
294148  { (char *)"SimulationWindowMgr_Windows", _wrap_SimulationWindowMgr_Windows, METH_VARARGS, NULL},
294149  { (char *)"SimulationWindowMgr_Update", _wrap_SimulationWindowMgr_Update, METH_VARARGS, NULL},
294150  { (char *)"SimulationWindowMgr_Realize", _wrap_SimulationWindowMgr_Realize, METH_VARARGS, NULL},
294151  { (char *)"SimulationWindowMgr_Close", _wrap_SimulationWindowMgr_Close, METH_VARARGS, NULL},
294152  { (char *)"SimulationWindowMgr_Initialize", _wrap_SimulationWindowMgr_Initialize, METH_VARARGS, NULL},
294153  { (char *)"SimulationWindowMgr_UpdateBackgroundColor", _wrap_SimulationWindowMgr_UpdateBackgroundColor, METH_VARARGS, NULL},
294154  { (char *)"SimulationWindowMgr_FindSimulationWindow", _wrap_SimulationWindowMgr_FindSimulationWindow, METH_VARARGS, NULL},
294155  { (char *)"SimulationWindowMgr_ResetSimulation", _wrap_SimulationWindowMgr_ResetSimulation, METH_VARARGS, NULL},
294156  { (char *)"SimulationWindowMgr_AddSimulationWindow", _wrap_SimulationWindowMgr_AddSimulationWindow, METH_VARARGS, NULL},
294157  { (char *)"SimulationWindowMgr_RemoveSimulationWindow", _wrap_SimulationWindowMgr_RemoveSimulationWindow, METH_VARARGS, NULL},
294158  { (char *)"SimulationWindowMgr_CloseAllWindows", _wrap_SimulationWindowMgr_CloseAllWindows, METH_VARARGS, NULL},
294159  { (char *)"SimulationWindowMgr_Load", _wrap_SimulationWindowMgr_Load, METH_VARARGS, NULL},
294160  { (char *)"SimulationWindowMgr_swigregister", SimulationWindowMgr_swigregister, METH_VARARGS, NULL},
294161  { (char *)"delete_Simulator", _wrap_delete_Simulator, METH_VARARGS, NULL},
294162  { (char *)"Simulator_CastToDerived", _wrap_Simulator_CastToDerived, METH_VARARGS, NULL},
294163  { (char *)"Simulator_ProjectPath", _wrap_Simulator_ProjectPath, METH_VARARGS, NULL},
294164  { (char *)"Simulator_ExecutablePath", _wrap_Simulator_ExecutablePath, METH_VARARGS, NULL},
294165  { (char *)"Simulator_SimulationFile", _wrap_Simulator_SimulationFile, METH_VARARGS, NULL},
294166  { (char *)"Simulator_Paused", _wrap_Simulator_Paused, METH_VARARGS, NULL},
294167  { (char *)"Simulator_Initialized", _wrap_Simulator_Initialized, METH_VARARGS, NULL},
294168  { (char *)"Simulator_ObjectList", _wrap_Simulator_ObjectList, METH_VARARGS, NULL},
294169  { (char *)"Simulator_GetDataChartMgr", _wrap_Simulator_GetDataChartMgr, METH_VARARGS, NULL},
294170  { (char *)"Simulator_GetExternalStimuliMgr", _wrap_Simulator_GetExternalStimuliMgr, METH_VARARGS, NULL},
294171  { (char *)"Simulator_GetSimulationRecorder", _wrap_Simulator_GetSimulationRecorder, METH_VARARGS, NULL},
294172  { (char *)"Simulator_GetMaterialMgr", _wrap_Simulator_GetMaterialMgr, METH_VARARGS, NULL},
294173  { (char *)"Simulator_GetWindowMgr", _wrap_Simulator_GetWindowMgr, METH_VARARGS, NULL},
294174  { (char *)"Simulator_GetLightMgr", _wrap_Simulator_GetLightMgr, METH_VARARGS, NULL},
294175  { (char *)"Simulator_VisualSelectionMode", _wrap_Simulator_VisualSelectionMode, METH_VARARGS, NULL},
294176  { (char *)"Simulator_AddBodiesMode", _wrap_Simulator_AddBodiesMode, METH_VARARGS, NULL},
294177  { (char *)"Simulator_SimCallback", _wrap_Simulator_SimCallback, METH_VARARGS, NULL},
294178  { (char *)"Simulator_SimCallBack", _wrap_Simulator_SimCallBack, METH_VARARGS, NULL},
294179  { (char *)"Simulator_IsResetting", _wrap_Simulator_IsResetting, METH_VARARGS, NULL},
294180  { (char *)"Simulator_Time", _wrap_Simulator_Time, METH_VARARGS, NULL},
294181  { (char *)"Simulator_Millisecond", _wrap_Simulator_Millisecond, METH_VARARGS, NULL},
294182  { (char *)"Simulator_MillisecondToSlice", _wrap_Simulator_MillisecondToSlice, METH_VARARGS, NULL},
294183  { (char *)"Simulator_SliceToMillisecond", _wrap_Simulator_SliceToMillisecond, METH_VARARGS, NULL},
294184  { (char *)"Simulator_StartSimTick", _wrap_Simulator_StartSimTick, METH_VARARGS, NULL},
294185  { (char *)"Simulator_MinTimeStep", _wrap_Simulator_MinTimeStep, METH_VARARGS, NULL},
294186  { (char *)"Simulator_TimeStep", _wrap_Simulator_TimeStep, METH_VARARGS, NULL},
294187  { (char *)"Simulator_SetEndSimTime", _wrap_Simulator_SetEndSimTime, METH_VARARGS, NULL},
294188  { (char *)"Simulator_EndSimTime", _wrap_Simulator_EndSimTime, METH_VARARGS, NULL},
294189  { (char *)"Simulator_EndSimTimeSlice", _wrap_Simulator_EndSimTimeSlice, METH_VARARGS, NULL},
294190  { (char *)"Simulator_TimeSlice", _wrap_Simulator_TimeSlice, METH_VARARGS, NULL},
294191  { (char *)"Simulator_PhysicsSliceCount", _wrap_Simulator_PhysicsSliceCount, METH_VARARGS, NULL},
294192  { (char *)"Simulator_ManualStepSimulation", _wrap_Simulator_ManualStepSimulation, METH_VARARGS, NULL},
294193  { (char *)"Simulator_SimRunning", _wrap_Simulator_SimRunning, METH_VARARGS, NULL},
294194  { (char *)"Simulator_ShuttingDown", _wrap_Simulator_ShuttingDown, METH_VARARGS, NULL},
294195  { (char *)"Simulator_ForceFastMoving", _wrap_Simulator_ForceFastMoving, METH_VARARGS, NULL},
294196  { (char *)"Simulator_AutoGenerateRandomSeed", _wrap_Simulator_AutoGenerateRandomSeed, METH_VARARGS, NULL},
294197  { (char *)"Simulator_ManualRandomSeed", _wrap_Simulator_ManualRandomSeed, METH_VARARGS, NULL},
294198  { (char *)"Simulator_StabilityScale", _wrap_Simulator_StabilityScale, METH_VARARGS, NULL},
294199  { (char *)"Simulator_LinearCompliance", _wrap_Simulator_LinearCompliance, METH_VARARGS, NULL},
294200  { (char *)"Simulator_AngularCompliance", _wrap_Simulator_AngularCompliance, METH_VARARGS, NULL},
294201  { (char *)"Simulator_LinearDamping", _wrap_Simulator_LinearDamping, METH_VARARGS, NULL},
294202  { (char *)"Simulator_AngularDamping", _wrap_Simulator_AngularDamping, METH_VARARGS, NULL},
294203  { (char *)"Simulator_LinearKineticLoss", _wrap_Simulator_LinearKineticLoss, METH_VARARGS, NULL},
294204  { (char *)"Simulator_AngularKineticLoss", _wrap_Simulator_AngularKineticLoss, METH_VARARGS, NULL},
294205  { (char *)"Simulator_Stopped", _wrap_Simulator_Stopped, METH_VARARGS, NULL},
294206  { (char *)"Simulator_PhysicsStepInterval", _wrap_Simulator_PhysicsStepInterval, METH_VARARGS, NULL},
294207  { (char *)"Simulator_PhysicsTimeStep", _wrap_Simulator_PhysicsTimeStep, METH_VARARGS, NULL},
294208  { (char *)"Simulator_PhysicsStepCount", _wrap_Simulator_PhysicsStepCount, METH_VARARGS, NULL},
294209  { (char *)"Simulator_PhysicsSubsteps", _wrap_Simulator_PhysicsSubsteps, METH_VARARGS, NULL},
294210  { (char *)"Simulator_PhysicsSubstepTime", _wrap_Simulator_PhysicsSubstepTime, METH_VARARGS, NULL},
294211  { (char *)"Simulator_Gravity", _wrap_Simulator_Gravity, METH_VARARGS, NULL},
294212  { (char *)"Simulator_MouseSpringStiffness", _wrap_Simulator_MouseSpringStiffness, METH_VARARGS, NULL},
294213  { (char *)"Simulator_MouseSpringDamping", _wrap_Simulator_MouseSpringDamping, METH_VARARGS, NULL},
294214  { (char *)"Simulator_MouseSpringForceMagnitude", _wrap_Simulator_MouseSpringForceMagnitude, METH_VARARGS, NULL},
294215  { (char *)"Simulator_MouseSpringDampingForceMagnitude", _wrap_Simulator_MouseSpringDampingForceMagnitude, METH_VARARGS, NULL},
294216  { (char *)"Simulator_MouseSpringLengthMagnitude", _wrap_Simulator_MouseSpringLengthMagnitude, METH_VARARGS, NULL},
294217  { (char *)"Simulator_SimulateHydrodynamics", _wrap_Simulator_SimulateHydrodynamics, METH_VARARGS, NULL},
294218  { (char *)"Simulator_GetMaterialID", _wrap_Simulator_GetMaterialID, METH_VARARGS, NULL},
294219  { (char *)"Simulator_IsPhysicsBeingUpdated", _wrap_Simulator_IsPhysicsBeingUpdated, METH_VARARGS, NULL},
294220  { (char *)"Simulator_BackgroundColor", _wrap_Simulator_BackgroundColor, METH_VARARGS, NULL},
294221  { (char *)"Simulator_AlphaThreshold", _wrap_Simulator_AlphaThreshold, METH_VARARGS, NULL},
294222  { (char *)"Simulator_RecFieldSelRadius", _wrap_Simulator_RecFieldSelRadius, METH_VARARGS, NULL},
294223  { (char *)"Simulator_PlaybackControlMode", _wrap_Simulator_PlaybackControlMode, METH_VARARGS, NULL},
294224  { (char *)"Simulator_PresetPlaybackTimeStep", _wrap_Simulator_PresetPlaybackTimeStep, METH_VARARGS, NULL},
294225  { (char *)"Simulator_StepStartTick", _wrap_Simulator_StepStartTick, METH_VARARGS, NULL},
294226  { (char *)"Simulator_StepSimEndTick", _wrap_Simulator_StepSimEndTick, METH_VARARGS, NULL},
294227  { (char *)"Simulator_DesiredFrameStep", _wrap_Simulator_DesiredFrameStep, METH_VARARGS, NULL},
294228  { (char *)"Simulator_DesiredFrameRate", _wrap_Simulator_DesiredFrameRate, METH_VARARGS, NULL},
294229  { (char *)"Simulator_RealTime", _wrap_Simulator_RealTime, METH_VARARGS, NULL},
294230  { (char *)"Simulator_InDrag", _wrap_Simulator_InDrag, METH_VARARGS, NULL},
294231  { (char *)"Simulator_RobotAdpaterSynch", _wrap_Simulator_RobotAdpaterSynch, METH_VARARGS, NULL},
294232  { (char *)"Simulator_InSimulation", _wrap_Simulator_InSimulation, METH_VARARGS, NULL},
294233  { (char *)"Simulator_ForceNoWindows", _wrap_Simulator_ForceNoWindows, METH_VARARGS, NULL},
294234  { (char *)"Simulator_Script", _wrap_Simulator_Script, METH_VARARGS, NULL},
294235  { (char *)"Simulator_DistanceUnits", _wrap_Simulator_DistanceUnits, METH_VARARGS, NULL},
294236  { (char *)"Simulator_InverseDistanceUnits", _wrap_Simulator_InverseDistanceUnits, METH_VARARGS, NULL},
294237  { (char *)"Simulator_DenominatorDistanceUnits", _wrap_Simulator_DenominatorDistanceUnits, METH_VARARGS, NULL},
294238  { (char *)"Simulator_MassUnits", _wrap_Simulator_MassUnits, METH_VARARGS, NULL},
294239  { (char *)"Simulator_InverseMassUnits", _wrap_Simulator_InverseMassUnits, METH_VARARGS, NULL},
294240  { (char *)"Simulator_DisplayMassUnits", _wrap_Simulator_DisplayMassUnits, METH_VARARGS, NULL},
294241  { (char *)"Simulator_GetPositionAndRotationFromD3DMatrix", _wrap_Simulator_GetPositionAndRotationFromD3DMatrix, METH_VARARGS, NULL},
294242  { (char *)"Simulator_GetTimerTick", _wrap_Simulator_GetTimerTick, METH_VARARGS, NULL},
294243  { (char *)"Simulator_TimerDiff_u", _wrap_Simulator_TimerDiff_u, METH_VARARGS, NULL},
294244  { (char *)"Simulator_TimerDiff_m", _wrap_Simulator_TimerDiff_m, METH_VARARGS, NULL},
294245  { (char *)"Simulator_TimerDiff_s", _wrap_Simulator_TimerDiff_s, METH_VARARGS, NULL},
294246  { (char *)"Simulator_MicroSleep", _wrap_Simulator_MicroSleep, METH_VARARGS, NULL},
294247  { (char *)"Simulator_MicroWait", _wrap_Simulator_MicroWait, METH_VARARGS, NULL},
294248  { (char *)"Simulator_WriteToConsole", _wrap_Simulator_WriteToConsole, METH_VARARGS, NULL},
294249  { (char *)"Simulator_NotifyRigidBodyAdded", _wrap_Simulator_NotifyRigidBodyAdded, METH_VARARGS, NULL},
294250  { (char *)"Simulator_NotifyRigidBodyRemoved", _wrap_Simulator_NotifyRigidBodyRemoved, METH_VARARGS, NULL},
294251  { (char *)"Simulator_VideoSliceCount", _wrap_Simulator_VideoSliceCount, METH_VARARGS, NULL},
294252  { (char *)"Simulator_VideoLoops", _wrap_Simulator_VideoLoops, METH_VARARGS, NULL},
294253  { (char *)"Simulator_VideoRecorder", _wrap_Simulator_VideoRecorder, METH_VARARGS, NULL},
294254  { (char *)"Simulator_VideoPlayback", _wrap_Simulator_VideoPlayback, METH_VARARGS, NULL},
294255  { (char *)"Simulator_EnableSimRecording", _wrap_Simulator_EnableSimRecording, METH_VARARGS, NULL},
294256  { (char *)"Simulator_SnapshotByteSize", _wrap_Simulator_SnapshotByteSize, METH_VARARGS, NULL},
294257  { (char *)"Simulator_BlockSimulation", _wrap_Simulator_BlockSimulation, METH_VARARGS, NULL},
294258  { (char *)"Simulator_UnblockSimulation", _wrap_Simulator_UnblockSimulation, METH_VARARGS, NULL},
294259  { (char *)"Simulator_SimulationBlockConfirm", _wrap_Simulator_SimulationBlockConfirm, METH_VARARGS, NULL},
294260  { (char *)"Simulator_WaitForSimulationBlock", _wrap_Simulator_WaitForSimulationBlock, METH_VARARGS, NULL},
294261  { (char *)"Simulator_Reset", _wrap_Simulator_Reset, METH_VARARGS, NULL},
294262  { (char *)"Simulator_ResetSimulation", _wrap_Simulator_ResetSimulation, METH_VARARGS, NULL},
294263  { (char *)"Simulator_Initialize", _wrap_Simulator_Initialize, METH_VARARGS, NULL},
294264  { (char *)"Simulator_Simulate", _wrap_Simulator_Simulate, METH_VARARGS, NULL},
294265  { (char *)"Simulator_ShutdownSimulation", _wrap_Simulator_ShutdownSimulation, METH_VARARGS, NULL},
294266  { (char *)"Simulator_ToggleSimulation", _wrap_Simulator_ToggleSimulation, METH_VARARGS, NULL},
294267  { (char *)"Simulator_StopSimulation", _wrap_Simulator_StopSimulation, METH_VARARGS, NULL},
294268  { (char *)"Simulator_StartSimulation", _wrap_Simulator_StartSimulation, METH_VARARGS, NULL},
294269  { (char *)"Simulator_PauseSimulation", _wrap_Simulator_PauseSimulation, METH_VARARGS, NULL},
294270  { (char *)"Simulator_RunSimulation", _wrap_Simulator_RunSimulation, METH_VARARGS, NULL},
294271  { (char *)"Simulator_Load", _wrap_Simulator_Load, METH_VARARGS, NULL},
294272  { (char *)"Simulator_Save", _wrap_Simulator_Save, METH_VARARGS, NULL},
294273  { (char *)"Simulator_LoadClassFactory", _wrap_Simulator_LoadClassFactory, METH_VARARGS, NULL},
294274  { (char *)"Simulator_IncrementPhysicsBodyCount", _wrap_Simulator_IncrementPhysicsBodyCount, METH_VARARGS, NULL},
294275  { (char *)"Simulator_CreateObject", _wrap_Simulator_CreateObject, METH_VARARGS, NULL},
294276  { (char *)"Simulator_CreateAndInitializeSimulator", _wrap_Simulator_CreateAndInitializeSimulator, METH_VARARGS, NULL},
294277  { (char *)"Simulator_CreateSimulator", _wrap_Simulator_CreateSimulator, METH_VARARGS, NULL},
294278  { (char *)"Simulator_GenerateCollisionMeshFile", _wrap_Simulator_GenerateCollisionMeshFile, METH_VARARGS, NULL},
294279  { (char *)"Simulator_ConvertV1MeshFile", _wrap_Simulator_ConvertV1MeshFile, METH_VARARGS, NULL},
294280  { (char *)"Simulator_FindNeuralModuleFactory", _wrap_Simulator_FindNeuralModuleFactory, METH_VARARGS, NULL},
294281  { (char *)"Simulator_FindOrganism", _wrap_Simulator_FindOrganism, METH_VARARGS, NULL},
294282  { (char *)"Simulator_FindStructure", _wrap_Simulator_FindStructure, METH_VARARGS, NULL},
294283  { (char *)"Simulator_FindStructureFromAll", _wrap_Simulator_FindStructureFromAll, METH_VARARGS, NULL},
294284  { (char *)"Simulator_FindJoint", _wrap_Simulator_FindJoint, METH_VARARGS, NULL},
294285  { (char *)"Simulator_FindRigidBody", _wrap_Simulator_FindRigidBody, METH_VARARGS, NULL},
294286  { (char *)"Simulator_FindOdorType", _wrap_Simulator_FindOdorType, METH_VARARGS, NULL},
294287  { (char *)"Simulator_FindClosestFoodSources", _wrap_Simulator_FindClosestFoodSources, METH_VARARGS, NULL},
294288  { (char *)"Simulator_FindByID", _wrap_Simulator_FindByID, METH_VARARGS, NULL},
294289  { (char *)"Simulator_AddToObjectList", _wrap_Simulator_AddToObjectList, METH_VARARGS, NULL},
294290  { (char *)"Simulator_RemoveFromObjectList", _wrap_Simulator_RemoveFromObjectList, METH_VARARGS, NULL},
294291  { (char *)"Simulator_AddNeuralModuleFactory", _wrap_Simulator_AddNeuralModuleFactory, METH_VARARGS, NULL},
294292  { (char *)"Simulator_AddFoodSource", _wrap_Simulator_AddFoodSource, METH_VARARGS, NULL},
294293  { (char *)"Simulator_RemoveFoodSource", _wrap_Simulator_RemoveFoodSource, METH_VARARGS, NULL},
294294  { (char *)"Simulator_AttachSourceAdapter", _wrap_Simulator_AttachSourceAdapter, METH_VARARGS, NULL},
294295  { (char *)"Simulator_RemoveSourceAdapter", _wrap_Simulator_RemoveSourceAdapter, METH_VARARGS, NULL},
294296  { (char *)"Simulator_AttachTargetAdapter", _wrap_Simulator_AttachTargetAdapter, METH_VARARGS, NULL},
294297  { (char *)"Simulator_RemoveTargetAdapter", _wrap_Simulator_RemoveTargetAdapter, METH_VARARGS, NULL},
294298  { (char *)"Simulator_IsPhysicsAdapter", _wrap_Simulator_IsPhysicsAdapter, METH_VARARGS, NULL},
294299  { (char *)"Simulator_AddToExtractExtraData", _wrap_Simulator_AddToExtractExtraData, METH_VARARGS, NULL},
294300  { (char *)"Simulator_RemoveFromExtractExtraData", _wrap_Simulator_RemoveFromExtractExtraData, METH_VARARGS, NULL},
294301  { (char *)"Simulator_GetDataPointer", _wrap_Simulator_GetDataPointer, METH_VARARGS, NULL},
294302  { (char *)"Simulator_SetData", _wrap_Simulator_SetData, METH_VARARGS, NULL},
294303  { (char *)"Simulator_QueryProperties", _wrap_Simulator_QueryProperties, METH_VARARGS, NULL},
294304  { (char *)"Simulator_AddItem", _wrap_Simulator_AddItem, METH_VARARGS, NULL},
294305  { (char *)"Simulator_RemoveItem", _wrap_Simulator_RemoveItem, METH_VARARGS, NULL},
294306  { (char *)"Simulator_EnableVideoPlayback", _wrap_Simulator_EnableVideoPlayback, METH_VARARGS, NULL},
294307  { (char *)"Simulator_DisableVideoPlayback", _wrap_Simulator_DisableVideoPlayback, METH_VARARGS, NULL},
294308  { (char *)"Simulator_StartVideoPlayback", _wrap_Simulator_StartVideoPlayback, METH_VARARGS, NULL},
294309  { (char *)"Simulator_StopVideoPlayback", _wrap_Simulator_StopVideoPlayback, METH_VARARGS, NULL},
294310  { (char *)"Simulator_StepVideoPlayback", _wrap_Simulator_StepVideoPlayback, METH_VARARGS, NULL},
294311  { (char *)"Simulator_SaveVideo", _wrap_Simulator_SaveVideo, METH_VARARGS, NULL},
294312  { (char *)"Simulator_AddKeyFrame", _wrap_Simulator_AddKeyFrame, METH_VARARGS, NULL},
294313  { (char *)"Simulator_RemoveKeyFrame", _wrap_Simulator_RemoveKeyFrame, METH_VARARGS, NULL},
294314  { (char *)"Simulator_MoveKeyFrame", _wrap_Simulator_MoveKeyFrame, METH_VARARGS, NULL},
294315  { (char *)"Simulator_MoveSimulationToKeyFrame", _wrap_Simulator_MoveSimulationToKeyFrame, METH_VARARGS, NULL},
294316  { (char *)"Simulator_SaveKeyFrameSnapshot", _wrap_Simulator_SaveKeyFrameSnapshot, METH_VARARGS, NULL},
294317  { (char *)"Simulator_LoadKeyFrameSnapshot", _wrap_Simulator_LoadKeyFrameSnapshot, METH_VARARGS, NULL},
294318  { (char *)"Simulator_EnableCollisions", _wrap_Simulator_EnableCollisions, METH_VARARGS, NULL},
294319  { (char *)"Simulator_DisableCollisions", _wrap_Simulator_DisableCollisions, METH_VARARGS, NULL},
294320  { (char *)"Simulator_EnableCollision", _wrap_Simulator_EnableCollision, METH_VARARGS, NULL},
294321  { (char *)"Simulator_DisableCollision", _wrap_Simulator_DisableCollision, METH_VARARGS, NULL},
294322  { (char *)"Simulator_swigregister", Simulator_swigregister, METH_VARARGS, NULL},
294323  { (char *)"GetSimulator", _wrap_GetSimulator, METH_VARARGS, NULL},
294324  { (char *)"new_ScriptProcessor", _wrap_new_ScriptProcessor, METH_VARARGS, NULL},
294325  { (char *)"delete_ScriptProcessor", _wrap_delete_ScriptProcessor, METH_VARARGS, NULL},
294326  { (char *)"ScriptProcessor_CastToDerived", _wrap_ScriptProcessor_CastToDerived, METH_VARARGS, NULL},
294327  { (char *)"ScriptProcessor_BeforeStepPhysicsEngine", _wrap_ScriptProcessor_BeforeStepPhysicsEngine, METH_VARARGS, NULL},
294328  { (char *)"ScriptProcessor_AfterStepPhysicsEngine", _wrap_ScriptProcessor_AfterStepPhysicsEngine, METH_VARARGS, NULL},
294329  { (char *)"ScriptProcessor_BeforeStepNeuralEngine", _wrap_ScriptProcessor_BeforeStepNeuralEngine, METH_VARARGS, NULL},
294330  { (char *)"ScriptProcessor_AfterStepNeuralEngine", _wrap_ScriptProcessor_AfterStepNeuralEngine, METH_VARARGS, NULL},
294331  { (char *)"ScriptProcessor_swigregister", ScriptProcessor_swigregister, METH_VARARGS, NULL},
294332  { (char *)"SetLastScriptError", _wrap_SetLastScriptError, METH_VARARGS, NULL},
294333  { (char *)"GetLastScriptError", _wrap_GetLastScriptError, METH_VARARGS, NULL},
294334  { (char *)"new_SimulationThread", _wrap_new_SimulationThread, METH_VARARGS, NULL},
294335  { (char *)"delete_SimulationThread", _wrap_delete_SimulationThread, METH_VARARGS, NULL},
294336  { (char *)"SimulationThread_NeedToStopSim", _wrap_SimulationThread_NeedToStopSim, METH_VARARGS, NULL},
294337  { (char *)"SimulationThread_Sim", _wrap_SimulationThread_Sim, METH_VARARGS, NULL},
294338  { (char *)"SimulationThread_StartSimulation", _wrap_SimulationThread_StartSimulation, METH_VARARGS, NULL},
294339  { (char *)"SimulationThread_Simulate", _wrap_SimulationThread_Simulate, METH_VARARGS, NULL},
294340  { (char *)"SimulationThread_PauseSimulation", _wrap_SimulationThread_PauseSimulation, METH_VARARGS, NULL},
294341  { (char *)"SimulationThread_ResumeSimulation", _wrap_SimulationThread_ResumeSimulation, METH_VARARGS, NULL},
294342  { (char *)"SimulationThread_ResetSimulation", _wrap_SimulationThread_ResetSimulation, METH_VARARGS, NULL},
294343  { (char *)"SimulationThread_StopSimulation", _wrap_SimulationThread_StopSimulation, METH_VARARGS, NULL},
294344  { (char *)"SimulationThread_ShutdownSimulation", _wrap_SimulationThread_ShutdownSimulation, METH_VARARGS, NULL},
294345  { (char *)"SimulationThread_NeedToStopSimulation", _wrap_SimulationThread_NeedToStopSimulation, METH_VARARGS, NULL},
294346  { (char *)"SimulationThread_HandleNonCriticalError", _wrap_SimulationThread_HandleNonCriticalError, METH_VARARGS, NULL},
294347  { (char *)"SimulationThread_HandleCriticalError", _wrap_SimulationThread_HandleCriticalError, METH_VARARGS, NULL},
294348  { (char *)"SimulationThread_swigregister", SimulationThread_swigregister, METH_VARARGS, NULL},
294349  { (char *)"SimulationMgr_Instance", _wrap_SimulationMgr_Instance, METH_VARARGS, NULL},
294350  { (char *)"SimulationMgr_CastToDerived", _wrap_SimulationMgr_CastToDerived, METH_VARARGS, NULL},
294351  { (char *)"SimulationMgr_SimThreads", _wrap_SimulationMgr_SimThreads, METH_VARARGS, NULL},
294352  { (char *)"SimulationMgr_CreateSimulation", _wrap_SimulationMgr_CreateSimulation, METH_VARARGS, NULL},
294353  { (char *)"SimulationMgr_ShutdownAllSimulations", _wrap_SimulationMgr_ShutdownAllSimulations, METH_VARARGS, NULL},
294354  { (char *)"SimulationMgr_FindByID", _wrap_SimulationMgr_FindByID, METH_VARARGS, NULL},
294355  { (char *)"SimulationMgr_swigregister", SimulationMgr_swigregister, METH_VARARGS, NULL},
294356  { (char *)"ActiveSim", _wrap_ActiveSim, METH_VARARGS, NULL},
294357  { (char *)"new_RobotInterface", _wrap_new_RobotInterface, METH_VARARGS, NULL},
294358  { (char *)"delete_RobotInterface", _wrap_delete_RobotInterface, METH_VARARGS, NULL},
294359  { (char *)"RobotInterface_CastToDerived", _wrap_RobotInterface_CastToDerived, METH_VARARGS, NULL},
294360  { (char *)"RobotInterface_IOControls", _wrap_RobotInterface_IOControls, METH_VARARGS, NULL},
294361  { (char *)"RobotInterface_PhysicsTimeStep", _wrap_RobotInterface_PhysicsTimeStep, METH_VARARGS, NULL},
294362  { (char *)"RobotInterface_SynchSim", _wrap_RobotInterface_SynchSim, METH_VARARGS, NULL},
294363  { (char *)"RobotInterface_GetDataPointer", _wrap_RobotInterface_GetDataPointer, METH_VARARGS, NULL},
294364  { (char *)"RobotInterface_SetData", _wrap_RobotInterface_SetData, METH_VARARGS, NULL},
294365  { (char *)"RobotInterface_QueryProperties", _wrap_RobotInterface_QueryProperties, METH_VARARGS, NULL},
294366  { (char *)"RobotInterface_AddItem", _wrap_RobotInterface_AddItem, METH_VARARGS, NULL},
294367  { (char *)"RobotInterface_RemoveItem", _wrap_RobotInterface_RemoveItem, METH_VARARGS, NULL},
294368  { (char *)"RobotInterface_Initialize", _wrap_RobotInterface_Initialize, METH_VARARGS, NULL},
294369  { (char *)"RobotInterface_StepSimulation", _wrap_RobotInterface_StepSimulation, METH_VARARGS, NULL},
294370  { (char *)"RobotInterface_ResetSimulation", _wrap_RobotInterface_ResetSimulation, METH_VARARGS, NULL},
294371  { (char *)"RobotInterface_AfterResetSimulation", _wrap_RobotInterface_AfterResetSimulation, METH_VARARGS, NULL},
294372  { (char *)"RobotInterface_Load", _wrap_RobotInterface_Load, METH_VARARGS, NULL},
294373  { (char *)"RobotInterface_swigregister", RobotInterface_swigregister, METH_VARARGS, NULL},
294374  { (char *)"delete_RobotIOControl", _wrap_delete_RobotIOControl, METH_VARARGS, NULL},
294375  { (char *)"RobotIOControl_CastToDerived", _wrap_RobotIOControl_CastToDerived, METH_VARARGS, NULL},
294376  { (char *)"RobotIOControl_ParentInterface", _wrap_RobotIOControl_ParentInterface, METH_VARARGS, NULL},
294377  { (char *)"RobotIOControl_Parts", _wrap_RobotIOControl_Parts, METH_VARARGS, NULL},
294378  { (char *)"RobotIOControl_PauseIO", _wrap_RobotIOControl_PauseIO, METH_VARARGS, NULL},
294379  { (char *)"RobotIOControl_IOPaused", _wrap_RobotIOControl_IOPaused, METH_VARARGS, NULL},
294380  { (char *)"RobotIOControl_StepIODuration", _wrap_RobotIOControl_StepIODuration, METH_VARARGS, NULL},
294381  { (char *)"RobotIOControl_GetDataPointer", _wrap_RobotIOControl_GetDataPointer, METH_VARARGS, NULL},
294382  { (char *)"RobotIOControl_SetData", _wrap_RobotIOControl_SetData, METH_VARARGS, NULL},
294383  { (char *)"RobotIOControl_QueryProperties", _wrap_RobotIOControl_QueryProperties, METH_VARARGS, NULL},
294384  { (char *)"RobotIOControl_AddItem", _wrap_RobotIOControl_AddItem, METH_VARARGS, NULL},
294385  { (char *)"RobotIOControl_RemoveItem", _wrap_RobotIOControl_RemoveItem, METH_VARARGS, NULL},
294386  { (char *)"RobotIOControl_SetupIO", _wrap_RobotIOControl_SetupIO, METH_VARARGS, NULL},
294387  { (char *)"RobotIOControl_StepIO", _wrap_RobotIOControl_StepIO, METH_VARARGS, NULL},
294388  { (char *)"RobotIOControl_ShutdownIO", _wrap_RobotIOControl_ShutdownIO, METH_VARARGS, NULL},
294389  { (char *)"RobotIOControl_Initialize", _wrap_RobotIOControl_Initialize, METH_VARARGS, NULL},
294390  { (char *)"RobotIOControl_SimStopping", _wrap_RobotIOControl_SimStopping, METH_VARARGS, NULL},
294391  { (char *)"RobotIOControl_StepSimulation", _wrap_RobotIOControl_StepSimulation, METH_VARARGS, NULL},
294392  { (char *)"RobotIOControl_ResetSimulation", _wrap_RobotIOControl_ResetSimulation, METH_VARARGS, NULL},
294393  { (char *)"RobotIOControl_AfterResetSimulation", _wrap_RobotIOControl_AfterResetSimulation, METH_VARARGS, NULL},
294394  { (char *)"RobotIOControl_Load", _wrap_RobotIOControl_Load, METH_VARARGS, NULL},
294395  { (char *)"RobotIOControl_swigregister", RobotIOControl_swigregister, METH_VARARGS, NULL},
294396  { (char *)"new_RobotPartInterface", _wrap_new_RobotPartInterface, METH_VARARGS, NULL},
294397  { (char *)"delete_RobotPartInterface", _wrap_delete_RobotPartInterface, METH_VARARGS, NULL},
294398  { (char *)"RobotPartInterface_CastToDerived", _wrap_RobotPartInterface_CastToDerived, METH_VARARGS, NULL},
294399  { (char *)"RobotPartInterface_ParentIOControl", _wrap_RobotPartInterface_ParentIOControl, METH_VARARGS, NULL},
294400  { (char *)"RobotPartInterface_IOComponentID", _wrap_RobotPartInterface_IOComponentID, METH_VARARGS, NULL},
294401  { (char *)"RobotPartInterface_IOValue", _wrap_RobotPartInterface_IOValue, METH_VARARGS, NULL},
294402  { (char *)"RobotPartInterface_IOValueInt", _wrap_RobotPartInterface_IOValueInt, METH_VARARGS, NULL},
294403  { (char *)"RobotPartInterface_IOScaledValue", _wrap_RobotPartInterface_IOScaledValue, METH_VARARGS, NULL},
294404  { (char *)"RobotPartInterface_Changed", _wrap_RobotPartInterface_Changed, METH_VARARGS, NULL},
294405  { (char *)"RobotPartInterface_LinkedPartID", _wrap_RobotPartInterface_LinkedPartID, METH_VARARGS, NULL},
294406  { (char *)"RobotPartInterface_PropertyName", _wrap_RobotPartInterface_PropertyName, METH_VARARGS, NULL},
294407  { (char *)"RobotPartInterface_IsMotorControl", _wrap_RobotPartInterface_IsMotorControl, METH_VARARGS, NULL},
294408  { (char *)"RobotPartInterface_IncludeInPartsCycle", _wrap_RobotPartInterface_IncludeInPartsCycle, METH_VARARGS, NULL},
294409  { (char *)"RobotPartInterface_QuantizeServoPosition", _wrap_RobotPartInterface_QuantizeServoPosition, METH_VARARGS, NULL},
294410  { (char *)"RobotPartInterface_QuantizeServoVelocity", _wrap_RobotPartInterface_QuantizeServoVelocity, METH_VARARGS, NULL},
294411  { (char *)"RobotPartInterface_GetGain", _wrap_RobotPartInterface_GetGain, METH_VARARGS, NULL},
294412  { (char *)"RobotPartInterface_SetGain", _wrap_RobotPartInterface_SetGain, METH_VARARGS, NULL},
294413  { (char *)"RobotPartInterface_StepIODuration", _wrap_RobotPartInterface_StepIODuration, METH_VARARGS, NULL},
294414  { (char *)"RobotPartInterface_GetDataPointer", _wrap_RobotPartInterface_GetDataPointer, METH_VARARGS, NULL},
294415  { (char *)"RobotPartInterface_SetData", _wrap_RobotPartInterface_SetData, METH_VARARGS, NULL},
294416  { (char *)"RobotPartInterface_QueryProperties", _wrap_RobotPartInterface_QueryProperties, METH_VARARGS, NULL},
294417  { (char *)"RobotPartInterface_SetupIO", _wrap_RobotPartInterface_SetupIO, METH_VARARGS, NULL},
294418  { (char *)"RobotPartInterface_StepIO", _wrap_RobotPartInterface_StepIO, METH_VARARGS, NULL},
294419  { (char *)"RobotPartInterface_ShutdownIO", _wrap_RobotPartInterface_ShutdownIO, METH_VARARGS, NULL},
294420  { (char *)"RobotPartInterface_Initialize", _wrap_RobotPartInterface_Initialize, METH_VARARGS, NULL},
294421  { (char *)"RobotPartInterface_ResetSimulation", _wrap_RobotPartInterface_ResetSimulation, METH_VARARGS, NULL},
294422  { (char *)"RobotPartInterface_Load", _wrap_RobotPartInterface_Load, METH_VARARGS, NULL},
294423  { (char *)"RobotPartInterface_swigregister", RobotPartInterface_swigregister, METH_VARARGS, NULL},
294424  { (char *)"delete_RemoteControlLinkage", _wrap_delete_RemoteControlLinkage, METH_VARARGS, NULL},
294425  { (char *)"RemoteControlLinkage_CastToDerived", _wrap_RemoteControlLinkage_CastToDerived, METH_VARARGS, NULL},
294426  { (char *)"RemoteControlLinkage_ParentRemoteControl", _wrap_RemoteControlLinkage_ParentRemoteControl, METH_VARARGS, NULL},
294427  { (char *)"RemoteControlLinkage_SourceID", _wrap_RemoteControlLinkage_SourceID, METH_VARARGS, NULL},
294428  { (char *)"RemoteControlLinkage_TargetID", _wrap_RemoteControlLinkage_TargetID, METH_VARARGS, NULL},
294429  { (char *)"RemoteControlLinkage_SourceDataTypeID", _wrap_RemoteControlLinkage_SourceDataTypeID, METH_VARARGS, NULL},
294430  { (char *)"RemoteControlLinkage_TargetDataTypeID", _wrap_RemoteControlLinkage_TargetDataTypeID, METH_VARARGS, NULL},
294431  { (char *)"RemoteControlLinkage_GetDataPointer", _wrap_RemoteControlLinkage_GetDataPointer, METH_VARARGS, NULL},
294432  { (char *)"RemoteControlLinkage_SetData", _wrap_RemoteControlLinkage_SetData, METH_VARARGS, NULL},
294433  { (char *)"RemoteControlLinkage_QueryProperties", _wrap_RemoteControlLinkage_QueryProperties, METH_VARARGS, NULL},
294434  { (char *)"RemoteControlLinkage_SetupIO", _wrap_RemoteControlLinkage_SetupIO, METH_VARARGS, NULL},
294435  { (char *)"RemoteControlLinkage_StepIO", _wrap_RemoteControlLinkage_StepIO, METH_VARARGS, NULL},
294436  { (char *)"RemoteControlLinkage_ShutdownIO", _wrap_RemoteControlLinkage_ShutdownIO, METH_VARARGS, NULL},
294437  { (char *)"RemoteControlLinkage_Initialize", _wrap_RemoteControlLinkage_Initialize, METH_VARARGS, NULL},
294438  { (char *)"RemoteControlLinkage_StepSimulation", _wrap_RemoteControlLinkage_StepSimulation, METH_VARARGS, NULL},
294439  { (char *)"RemoteControlLinkage_Load", _wrap_RemoteControlLinkage_Load, METH_VARARGS, NULL},
294440  { (char *)"RemoteControlLinkage_swigregister", RemoteControlLinkage_swigregister, METH_VARARGS, NULL},
294441  { (char *)"new_PassThroughLinkage", _wrap_new_PassThroughLinkage, METH_VARARGS, NULL},
294442  { (char *)"delete_PassThroughLinkage", _wrap_delete_PassThroughLinkage, METH_VARARGS, NULL},
294443  { (char *)"PassThroughLinkage_CastToDerived", _wrap_PassThroughLinkage_CastToDerived, METH_VARARGS, NULL},
294444  { (char *)"PassThroughLinkage_GetGain", _wrap_PassThroughLinkage_GetGain, METH_VARARGS, NULL},
294445  { (char *)"PassThroughLinkage_SetGain", _wrap_PassThroughLinkage_SetGain, METH_VARARGS, NULL},
294446  { (char *)"PassThroughLinkage_SetData", _wrap_PassThroughLinkage_SetData, METH_VARARGS, NULL},
294447  { (char *)"PassThroughLinkage_QueryProperties", _wrap_PassThroughLinkage_QueryProperties, METH_VARARGS, NULL},
294448  { (char *)"PassThroughLinkage_Load", _wrap_PassThroughLinkage_Load, METH_VARARGS, NULL},
294449  { (char *)"PassThroughLinkage_swigregister", PassThroughLinkage_swigregister, METH_VARARGS, NULL},
294450  { (char *)"new_PulsedLinkage", _wrap_new_PulsedLinkage, METH_VARARGS, NULL},
294451  { (char *)"delete_PulsedLinkage", _wrap_delete_PulsedLinkage, METH_VARARGS, NULL},
294452  { (char *)"PulsedLinkage_CastToDerived", _wrap_PulsedLinkage_CastToDerived, METH_VARARGS, NULL},
294453  { (char *)"PulsedLinkage_MatchValue", _wrap_PulsedLinkage_MatchValue, METH_VARARGS, NULL},
294454  { (char *)"PulsedLinkage_MatchOnChange", _wrap_PulsedLinkage_MatchOnChange, METH_VARARGS, NULL},
294455  { (char *)"PulsedLinkage_PulseDuration", _wrap_PulsedLinkage_PulseDuration, METH_VARARGS, NULL},
294456  { (char *)"PulsedLinkage_PulseCurrent", _wrap_PulsedLinkage_PulseCurrent, METH_VARARGS, NULL},
294457  { (char *)"PulsedLinkage_GetDataPointer", _wrap_PulsedLinkage_GetDataPointer, METH_VARARGS, NULL},
294458  { (char *)"PulsedLinkage_SetData", _wrap_PulsedLinkage_SetData, METH_VARARGS, NULL},
294459  { (char *)"PulsedLinkage_QueryProperties", _wrap_PulsedLinkage_QueryProperties, METH_VARARGS, NULL},
294460  { (char *)"PulsedLinkage_StepIO", _wrap_PulsedLinkage_StepIO, METH_VARARGS, NULL},
294461  { (char *)"PulsedLinkage_ResetSimulation", _wrap_PulsedLinkage_ResetSimulation, METH_VARARGS, NULL},
294462  { (char *)"PulsedLinkage_StepSimulation", _wrap_PulsedLinkage_StepSimulation, METH_VARARGS, NULL},
294463  { (char *)"PulsedLinkage_Load", _wrap_PulsedLinkage_Load, METH_VARARGS, NULL},
294464  { (char *)"PulsedLinkage_swigregister", PulsedLinkage_swigregister, METH_VARARGS, NULL},
294465  { (char *)"delete_RemoteControl", _wrap_delete_RemoteControl, METH_VARARGS, NULL},
294466  { (char *)"RemoteControl_CastToDerived", _wrap_RemoteControl_CastToDerived, METH_VARARGS, NULL},
294467  { (char *)"RemoteControl_Links", _wrap_RemoteControl_Links, METH_VARARGS, NULL},
294468  { (char *)"RemoteControl_AddItem", _wrap_RemoteControl_AddItem, METH_VARARGS, NULL},
294469  { (char *)"RemoteControl_RemoveItem", _wrap_RemoteControl_RemoveItem, METH_VARARGS, NULL},
294470  { (char *)"RemoteControl_SetupIO", _wrap_RemoteControl_SetupIO, METH_VARARGS, NULL},
294471  { (char *)"RemoteControl_StepIO", _wrap_RemoteControl_StepIO, METH_VARARGS, NULL},
294472  { (char *)"RemoteControl_ShutdownIO", _wrap_RemoteControl_ShutdownIO, METH_VARARGS, NULL},
294473  { (char *)"RemoteControl_Initialize", _wrap_RemoteControl_Initialize, METH_VARARGS, NULL},
294474  { (char *)"RemoteControl_StepSimulation", _wrap_RemoteControl_StepSimulation, METH_VARARGS, NULL},
294475  { (char *)"RemoteControl_ResetSimulation", _wrap_RemoteControl_ResetSimulation, METH_VARARGS, NULL},
294476  { (char *)"RemoteControl_AfterResetSimulation", _wrap_RemoteControl_AfterResetSimulation, METH_VARARGS, NULL},
294477  { (char *)"RemoteControl_Load", _wrap_RemoteControl_Load, METH_VARARGS, NULL},
294478  { (char *)"RemoteControl_swigregister", RemoteControl_swigregister, METH_VARARGS, NULL},
294479  { (char *)"new_Neuron", _wrap_new_Neuron, METH_VARARGS, NULL},
294480  { (char *)"delete_Neuron", _wrap_delete_Neuron, METH_VARARGS, NULL},
294481  { (char *)"Neuron_Cn", _wrap_Neuron_Cn, METH_VARARGS, NULL},
294482  { (char *)"Neuron_Gn", _wrap_Neuron_Gn, METH_VARARGS, NULL},
294483  { (char *)"Neuron_Vth", _wrap_Neuron_Vth, METH_VARARGS, NULL},
294484  { (char *)"Neuron_Fmin", _wrap_Neuron_Fmin, METH_VARARGS, NULL},
294485  { (char *)"Neuron_Gain", _wrap_Neuron_Gain, METH_VARARGS, NULL},
294486  { (char *)"Neuron_ExternalI", _wrap_Neuron_ExternalI, METH_VARARGS, NULL},
294487  { (char *)"Neuron_AddExternalI", _wrap_Neuron_AddExternalI, METH_VARARGS, NULL},
294488  { (char *)"Neuron_IntrinsicCurrent", _wrap_Neuron_IntrinsicCurrent, METH_VARARGS, NULL},
294489  { (char *)"Neuron_Vrest", _wrap_Neuron_Vrest, METH_VARARGS, NULL},
294490  { (char *)"Neuron_VNoiseMax", _wrap_Neuron_VNoiseMax, METH_VARARGS, NULL},
294491  { (char *)"Neuron_UseNoise", _wrap_Neuron_UseNoise, METH_VARARGS, NULL},
294492  { (char *)"Neuron_UseAccom", _wrap_Neuron_UseAccom, METH_VARARGS, NULL},
294493  { (char *)"Neuron_RelativeAccommodation", _wrap_Neuron_RelativeAccommodation, METH_VARARGS, NULL},
294494  { (char *)"Neuron_AccommodationTimeConstant", _wrap_Neuron_AccommodationTimeConstant, METH_VARARGS, NULL},
294495  { (char *)"Neuron_Iinit", _wrap_Neuron_Iinit, METH_VARARGS, NULL},
294496  { (char *)"Neuron_InitTime", _wrap_Neuron_InitTime, METH_VARARGS, NULL},
294497  { (char *)"Neuron_GainType", _wrap_Neuron_GainType, METH_VARARGS, NULL},
294498  { (char *)"Neuron_Vn", _wrap_Neuron_Vn, METH_VARARGS, NULL},
294499  { (char *)"Neuron_FiringFreq", _wrap_Neuron_FiringFreq, METH_VARARGS, NULL},
294500  { (char *)"Neuron_NeuronType", _wrap_Neuron_NeuronType, METH_VARARGS, NULL},
294501  { (char *)"Neuron_GetSynapses", _wrap_Neuron_GetSynapses, METH_VARARGS, NULL},
294502  { (char *)"Neuron_Copy", _wrap_Neuron_Copy, METH_VARARGS, NULL},
294503  { (char *)"Neuron_AddSynapse", _wrap_Neuron_AddSynapse, METH_VARARGS, NULL},
294504  { (char *)"Neuron_RemoveSynapse", _wrap_Neuron_RemoveSynapse, METH_VARARGS, NULL},
294505  { (char *)"Neuron_GetSynapse", _wrap_Neuron_GetSynapse, METH_VARARGS, NULL},
294506  { (char *)"Neuron_TotalSynapses", _wrap_Neuron_TotalSynapses, METH_VARARGS, NULL},
294507  { (char *)"Neuron_ClearSynapses", _wrap_Neuron_ClearSynapses, METH_VARARGS, NULL},
294508  { (char *)"Neuron_FindSynapseListPos", _wrap_Neuron_FindSynapseListPos, METH_VARARGS, NULL},
294509  { (char *)"Neuron_AddExternalNodeInput", _wrap_Neuron_AddExternalNodeInput, METH_VARARGS, NULL},
294510  { (char *)"Neuron_SetSystemPointers", _wrap_Neuron_SetSystemPointers, METH_VARARGS, NULL},
294511  { (char *)"Neuron_VerifySystemPointers", _wrap_Neuron_VerifySystemPointers, METH_VARARGS, NULL},
294512  { (char *)"Neuron_Initialize", _wrap_Neuron_Initialize, METH_VARARGS, NULL},
294513  { (char *)"Neuron_TimeStepModified", _wrap_Neuron_TimeStepModified, METH_VARARGS, NULL},
294514  { (char *)"Neuron_ResetSimulation", _wrap_Neuron_ResetSimulation, METH_VARARGS, NULL},
294515  { (char *)"Neuron_StepSimulation", _wrap_Neuron_StepSimulation, METH_VARARGS, NULL},
294516  { (char *)"Neuron_InjectCurrent", _wrap_Neuron_InjectCurrent, METH_VARARGS, NULL},
294517  { (char *)"Neuron_CalculateSnapshotByteSize", _wrap_Neuron_CalculateSnapshotByteSize, METH_VARARGS, NULL},
294518  { (char *)"Neuron_SaveKeyFrameSnapshot", _wrap_Neuron_SaveKeyFrameSnapshot, METH_VARARGS, NULL},
294519  { (char *)"Neuron_LoadKeyFrameSnapshot", _wrap_Neuron_LoadKeyFrameSnapshot, METH_VARARGS, NULL},
294520  { (char *)"Neuron_GetDataPointer", _wrap_Neuron_GetDataPointer, METH_VARARGS, NULL},
294521  { (char *)"Neuron_SetData", _wrap_Neuron_SetData, METH_VARARGS, NULL},
294522  { (char *)"Neuron_QueryProperties", _wrap_Neuron_QueryProperties, METH_VARARGS, NULL},
294523  { (char *)"Neuron_AddItem", _wrap_Neuron_AddItem, METH_VARARGS, NULL},
294524  { (char *)"Neuron_RemoveItem", _wrap_Neuron_RemoveItem, METH_VARARGS, NULL},
294525  { (char *)"Neuron_Load", _wrap_Neuron_Load, METH_VARARGS, NULL},
294526  { (char *)"Neuron_swigregister", Neuron_swigregister, METH_VARARGS, NULL},
294527  { (char *)"new_Synapse", _wrap_new_Synapse, METH_VARARGS, NULL},
294528  { (char *)"delete_Synapse", _wrap_delete_Synapse, METH_VARARGS, NULL},
294529  { (char *)"Synapse_FromNeuron", _wrap_Synapse_FromNeuron, METH_VARARGS, NULL},
294530  { (char *)"Synapse_Weight", _wrap_Synapse_Weight, METH_VARARGS, NULL},
294531  { (char *)"Synapse_WeightPointer", _wrap_Synapse_WeightPointer, METH_VARARGS, NULL},
294532  { (char *)"Synapse_HasDelay", _wrap_Synapse_HasDelay, METH_VARARGS, NULL},
294533  { (char *)"Synapse_DelayInterval", _wrap_Synapse_DelayInterval, METH_VARARGS, NULL},
294534  { (char *)"Synapse_SetDelayBufferSize", _wrap_Synapse_SetDelayBufferSize, METH_VARARGS, NULL},
294535  { (char *)"Synapse_CalculateCurrent", _wrap_Synapse_CalculateCurrent, METH_VARARGS, NULL},
294536  { (char *)"Synapse_Modulation", _wrap_Synapse_Modulation, METH_VARARGS, NULL},
294537  { (char *)"Synapse_ModulationPointer", _wrap_Synapse_ModulationPointer, METH_VARARGS, NULL},
294538  { (char *)"Synapse_CalculateModulation", _wrap_Synapse_CalculateModulation, METH_VARARGS, NULL},
294539  { (char *)"Synapse_GetCompoundSynapse", _wrap_Synapse_GetCompoundSynapse, METH_VARARGS, NULL},
294540  { (char *)"Synapse_FindSynapseListPos", _wrap_Synapse_FindSynapseListPos, METH_VARARGS, NULL},
294541  { (char *)"Synapse_AddSynapse", _wrap_Synapse_AddSynapse, METH_VARARGS, NULL},
294542  { (char *)"Synapse_RemoveSynapse", _wrap_Synapse_RemoveSynapse, METH_VARARGS, NULL},
294543  { (char *)"Synapse_Process", _wrap_Synapse_Process, METH_VARARGS, NULL},
294544  { (char *)"Synapse_GetDataPointer", _wrap_Synapse_GetDataPointer, METH_VARARGS, NULL},
294545  { (char *)"Synapse_SetData", _wrap_Synapse_SetData, METH_VARARGS, NULL},
294546  { (char *)"Synapse_QueryProperties", _wrap_Synapse_QueryProperties, METH_VARARGS, NULL},
294547  { (char *)"Synapse_AddItem", _wrap_Synapse_AddItem, METH_VARARGS, NULL},
294548  { (char *)"Synapse_RemoveItem", _wrap_Synapse_RemoveItem, METH_VARARGS, NULL},
294549  { (char *)"Synapse_SetSystemPointers", _wrap_Synapse_SetSystemPointers, METH_VARARGS, NULL},
294550  { (char *)"Synapse_VerifySystemPointers", _wrap_Synapse_VerifySystemPointers, METH_VARARGS, NULL},
294551  { (char *)"Synapse_ResetSimulation", _wrap_Synapse_ResetSimulation, METH_VARARGS, NULL},
294552  { (char *)"Synapse_Initialize", _wrap_Synapse_Initialize, METH_VARARGS, NULL},
294553  { (char *)"Synapse_TimeStepModified", _wrap_Synapse_TimeStepModified, METH_VARARGS, NULL},
294554  { (char *)"Synapse_Load", _wrap_Synapse_Load, METH_VARARGS, NULL},
294555  { (char *)"Synapse_swigregister", Synapse_swigregister, METH_VARARGS, NULL},
294556  { (char *)"new_PacemakerNeuron", _wrap_new_PacemakerNeuron, METH_VARARGS, NULL},
294557  { (char *)"delete_PacemakerNeuron", _wrap_delete_PacemakerNeuron, METH_VARARGS, NULL},
294558  { (char *)"PacemakerNeuron_Il", _wrap_PacemakerNeuron_Il, METH_VARARGS, NULL},
294559  { (char *)"PacemakerNeuron_Ih", _wrap_PacemakerNeuron_Ih, METH_VARARGS, NULL},
294560  { (char *)"PacemakerNeuron_Vssm", _wrap_PacemakerNeuron_Vssm, METH_VARARGS, NULL},
294561  { (char *)"PacemakerNeuron_Mtl", _wrap_PacemakerNeuron_Mtl, METH_VARARGS, NULL},
294562  { (char *)"PacemakerNeuron_Btl", _wrap_PacemakerNeuron_Btl, METH_VARARGS, NULL},
294563  { (char *)"PacemakerNeuron_Th", _wrap_PacemakerNeuron_Th, METH_VARARGS, NULL},
294564  { (char *)"PacemakerNeuron_ITime", _wrap_PacemakerNeuron_ITime, METH_VARARGS, NULL},
294565  { (char *)"PacemakerNeuron_IntrinsicType", _wrap_PacemakerNeuron_IntrinsicType, METH_VARARGS, NULL},
294566  { (char *)"PacemakerNeuron_NeuronType", _wrap_PacemakerNeuron_NeuronType, METH_VARARGS, NULL},
294567  { (char *)"PacemakerNeuron_Copy", _wrap_PacemakerNeuron_Copy, METH_VARARGS, NULL},
294568  { (char *)"PacemakerNeuron_ResetSimulation", _wrap_PacemakerNeuron_ResetSimulation, METH_VARARGS, NULL},
294569  { (char *)"PacemakerNeuron_StepSimulation", _wrap_PacemakerNeuron_StepSimulation, METH_VARARGS, NULL},
294570  { (char *)"PacemakerNeuron_GetDataPointer", _wrap_PacemakerNeuron_GetDataPointer, METH_VARARGS, NULL},
294571  { (char *)"PacemakerNeuron_SetData", _wrap_PacemakerNeuron_SetData, METH_VARARGS, NULL},
294572  { (char *)"PacemakerNeuron_QueryProperties", _wrap_PacemakerNeuron_QueryProperties, METH_VARARGS, NULL},
294573  { (char *)"PacemakerNeuron_CalculateSnapshotByteSize", _wrap_PacemakerNeuron_CalculateSnapshotByteSize, METH_VARARGS, NULL},
294574  { (char *)"PacemakerNeuron_SaveKeyFrameSnapshot", _wrap_PacemakerNeuron_SaveKeyFrameSnapshot, METH_VARARGS, NULL},
294575  { (char *)"PacemakerNeuron_LoadKeyFrameSnapshot", _wrap_PacemakerNeuron_LoadKeyFrameSnapshot, METH_VARARGS, NULL},
294576  { (char *)"PacemakerNeuron_Load", _wrap_PacemakerNeuron_Load, METH_VARARGS, NULL},
294577  { (char *)"PacemakerNeuron_swigregister", PacemakerNeuron_swigregister, METH_VARARGS, NULL},
294578  { (char *)"new_RandomNeuron", _wrap_new_RandomNeuron, METH_VARARGS, NULL},
294579  { (char *)"delete_RandomNeuron", _wrap_delete_RandomNeuron, METH_VARARGS, NULL},
294580  { (char *)"RandomNeuron_ITime", _wrap_RandomNeuron_ITime, METH_VARARGS, NULL},
294581  { (char *)"RandomNeuron_IntrinsicType", _wrap_RandomNeuron_IntrinsicType, METH_VARARGS, NULL},
294582  { (char *)"RandomNeuron_IntrinsicCurrent", _wrap_RandomNeuron_IntrinsicCurrent, METH_VARARGS, NULL},
294583  { (char *)"RandomNeuron_Il", _wrap_RandomNeuron_Il, METH_VARARGS, NULL},
294584  { (char *)"RandomNeuron_Ilinit", _wrap_RandomNeuron_Ilinit, METH_VARARGS, NULL},
294585  { (char *)"RandomNeuron_NeuronType", _wrap_RandomNeuron_NeuronType, METH_VARARGS, NULL},
294586  { (char *)"RandomNeuron_Copy", _wrap_RandomNeuron_Copy, METH_VARARGS, NULL},
294587  { (char *)"RandomNeuron_CurrentDistribution", _wrap_RandomNeuron_CurrentDistribution, METH_VARARGS, NULL},
294588  { (char *)"RandomNeuron_BurstLengthDistribution", _wrap_RandomNeuron_BurstLengthDistribution, METH_VARARGS, NULL},
294589  { (char *)"RandomNeuron_InterbusrtLengthDistribution", _wrap_RandomNeuron_InterbusrtLengthDistribution, METH_VARARGS, NULL},
294590  { (char *)"RandomNeuron_CalculateSnapshotByteSize", _wrap_RandomNeuron_CalculateSnapshotByteSize, METH_VARARGS, NULL},
294591  { (char *)"RandomNeuron_SaveKeyFrameSnapshot", _wrap_RandomNeuron_SaveKeyFrameSnapshot, METH_VARARGS, NULL},
294592  { (char *)"RandomNeuron_LoadKeyFrameSnapshot", _wrap_RandomNeuron_LoadKeyFrameSnapshot, METH_VARARGS, NULL},
294593  { (char *)"RandomNeuron_SetData", _wrap_RandomNeuron_SetData, METH_VARARGS, NULL},
294594  { (char *)"RandomNeuron_QueryProperties", _wrap_RandomNeuron_QueryProperties, METH_VARARGS, NULL},
294595  { (char *)"RandomNeuron_ResetSimulation", _wrap_RandomNeuron_ResetSimulation, METH_VARARGS, NULL},
294596  { (char *)"RandomNeuron_Load", _wrap_RandomNeuron_Load, METH_VARARGS, NULL},
294597  { (char *)"RandomNeuron_swigregister", RandomNeuron_swigregister, METH_VARARGS, NULL},
294598  { (char *)"new_BistableNeuron", _wrap_new_BistableNeuron, METH_VARARGS, NULL},
294599  { (char *)"delete_BistableNeuron", _wrap_delete_BistableNeuron, METH_VARARGS, NULL},
294600  { (char *)"BistableNeuron_Vsthi", _wrap_BistableNeuron_Vsthi, METH_VARARGS, NULL},
294601  { (char *)"BistableNeuron_IntrinsicCurrent", _wrap_BistableNeuron_IntrinsicCurrent, METH_VARARGS, NULL},
294602  { (char *)"BistableNeuron_Il", _wrap_BistableNeuron_Il, METH_VARARGS, NULL},
294603  { (char *)"BistableNeuron_Ih", _wrap_BistableNeuron_Ih, METH_VARARGS, NULL},
294604  { (char *)"BistableNeuron_NeuronType", _wrap_BistableNeuron_NeuronType, METH_VARARGS, NULL},
294605  { (char *)"BistableNeuron_Copy", _wrap_BistableNeuron_Copy, METH_VARARGS, NULL},
294606  { (char *)"BistableNeuron_SetData", _wrap_BistableNeuron_SetData, METH_VARARGS, NULL},
294607  { (char *)"BistableNeuron_QueryProperties", _wrap_BistableNeuron_QueryProperties, METH_VARARGS, NULL},
294608  { (char *)"BistableNeuron_ResetSimulation", _wrap_BistableNeuron_ResetSimulation, METH_VARARGS, NULL},
294609  { (char *)"BistableNeuron_StepSimulation", _wrap_BistableNeuron_StepSimulation, METH_VARARGS, NULL},
294610  { (char *)"BistableNeuron_Load", _wrap_BistableNeuron_Load, METH_VARARGS, NULL},
294611  { (char *)"BistableNeuron_swigregister", BistableNeuron_swigregister, METH_VARARGS, NULL},
294612  { (char *)"new_TonicNeuron", _wrap_new_TonicNeuron, METH_VARARGS, NULL},
294613  { (char *)"delete_TonicNeuron", _wrap_delete_TonicNeuron, METH_VARARGS, NULL},
294614  { (char *)"TonicNeuron_Ih", _wrap_TonicNeuron_Ih, METH_VARARGS, NULL},
294615  { (char *)"TonicNeuron_NeuronType", _wrap_TonicNeuron_NeuronType, METH_VARARGS, NULL},
294616  { (char *)"TonicNeuron_Copy", _wrap_TonicNeuron_Copy, METH_VARARGS, NULL},
294617  { (char *)"TonicNeuron_SetData", _wrap_TonicNeuron_SetData, METH_VARARGS, NULL},
294618  { (char *)"TonicNeuron_QueryProperties", _wrap_TonicNeuron_QueryProperties, METH_VARARGS, NULL},
294619  { (char *)"TonicNeuron_Load", _wrap_TonicNeuron_Load, METH_VARARGS, NULL},
294620  { (char *)"TonicNeuron_swigregister", TonicNeuron_swigregister, METH_VARARGS, NULL},
294621  { (char *)"new_GatedSynapse", _wrap_new_GatedSynapse, METH_VARARGS, NULL},
294622  { (char *)"delete_GatedSynapse", _wrap_delete_GatedSynapse, METH_VARARGS, NULL},
294623  { (char *)"GatedSynapse_InitialGateValue", _wrap_GatedSynapse_InitialGateValue, METH_VARARGS, NULL},
294624  { (char *)"GatedSynapse_CalculateModulation", _wrap_GatedSynapse_CalculateModulation, METH_VARARGS, NULL},
294625  { (char *)"GatedSynapse_GetDataPointer", _wrap_GatedSynapse_GetDataPointer, METH_VARARGS, NULL},
294626  { (char *)"GatedSynapse_SetData", _wrap_GatedSynapse_SetData, METH_VARARGS, NULL},
294627  { (char *)"GatedSynapse_QueryProperties", _wrap_GatedSynapse_QueryProperties, METH_VARARGS, NULL},
294628  { (char *)"GatedSynapse_Load", _wrap_GatedSynapse_Load, METH_VARARGS, NULL},
294629  { (char *)"GatedSynapse_swigregister", GatedSynapse_swigregister, METH_VARARGS, NULL},
294630  { (char *)"new_ModulatedSynapse", _wrap_new_ModulatedSynapse, METH_VARARGS, NULL},
294631  { (char *)"delete_ModulatedSynapse", _wrap_delete_ModulatedSynapse, METH_VARARGS, NULL},
294632  { (char *)"ModulatedSynapse_GetDataPointer", _wrap_ModulatedSynapse_GetDataPointer, METH_VARARGS, NULL},
294633  { (char *)"ModulatedSynapse_QueryProperties", _wrap_ModulatedSynapse_QueryProperties, METH_VARARGS, NULL},
294634  { (char *)"ModulatedSynapse_CalculateModulation", _wrap_ModulatedSynapse_CalculateModulation, METH_VARARGS, NULL},
294635  { (char *)"ModulatedSynapse_swigregister", ModulatedSynapse_swigregister, METH_VARARGS, NULL},
294636  { (char *)"new_ModulateNeuronPropSynapse", _wrap_new_ModulateNeuronPropSynapse, METH_VARARGS, NULL},
294637  { (char *)"delete_ModulateNeuronPropSynapse", _wrap_delete_ModulateNeuronPropSynapse, METH_VARARGS, NULL},
294638  { (char *)"ModulateNeuronPropSynapse_ModulationGain", _wrap_ModulateNeuronPropSynapse_ModulationGain, METH_VARARGS, NULL},
294639  { (char *)"ModulateNeuronPropSynapse_PropertyName", _wrap_ModulateNeuronPropSynapse_PropertyName, METH_VARARGS, NULL},
294640  { (char *)"ModulateNeuronPropSynapse_SetData", _wrap_ModulateNeuronPropSynapse_SetData, METH_VARARGS, NULL},
294641  { (char *)"ModulateNeuronPropSynapse_QueryProperties", _wrap_ModulateNeuronPropSynapse_QueryProperties, METH_VARARGS, NULL},
294642  { (char *)"ModulateNeuronPropSynapse_Process", _wrap_ModulateNeuronPropSynapse_Process, METH_VARARGS, NULL},
294643  { (char *)"ModulateNeuronPropSynapse_ResetSimulation", _wrap_ModulateNeuronPropSynapse_ResetSimulation, METH_VARARGS, NULL},
294644  { (char *)"ModulateNeuronPropSynapse_Initialize", _wrap_ModulateNeuronPropSynapse_Initialize, METH_VARARGS, NULL},
294645  { (char *)"ModulateNeuronPropSynapse_Load", _wrap_ModulateNeuronPropSynapse_Load, METH_VARARGS, NULL},
294646  { (char *)"ModulateNeuronPropSynapse_swigregister", ModulateNeuronPropSynapse_swigregister, METH_VARARGS, NULL},
294647  { (char *)"new_FrFiringRateModule", _wrap_new_FrFiringRateModule, METH_VARARGS, NULL},
294648  { (char *)"delete_FrFiringRateModule", _wrap_delete_FrFiringRateModule, METH_VARARGS, NULL},
294649  { (char *)"FrFiringRateModule_ModuleName", _wrap_FrFiringRateModule_ModuleName, METH_VARARGS, NULL},
294650  { (char *)"FrFiringRateModule_Kill", _wrap_FrFiringRateModule_Kill, METH_VARARGS, NULL},
294651  { (char *)"FrFiringRateModule_Initialize", _wrap_FrFiringRateModule_Initialize, METH_VARARGS, NULL},
294652  { (char *)"FrFiringRateModule_ResetSimulation", _wrap_FrFiringRateModule_ResetSimulation, METH_VARARGS, NULL},
294653  { (char *)"FrFiringRateModule_StepSimulation", _wrap_FrFiringRateModule_StepSimulation, METH_VARARGS, NULL},
294654  { (char *)"FrFiringRateModule_Load", _wrap_FrFiringRateModule_Load, METH_VARARGS, NULL},
294655  { (char *)"FrFiringRateModule_SetData", _wrap_FrFiringRateModule_SetData, METH_VARARGS, NULL},
294656  { (char *)"FrFiringRateModule_QueryProperties", _wrap_FrFiringRateModule_QueryProperties, METH_VARARGS, NULL},
294657  { (char *)"FrFiringRateModule_AddItem", _wrap_FrFiringRateModule_AddItem, METH_VARARGS, NULL},
294658  { (char *)"FrFiringRateModule_RemoveItem", _wrap_FrFiringRateModule_RemoveItem, METH_VARARGS, NULL},
294659  { (char *)"FrFiringRateModule_AddNeuron", _wrap_FrFiringRateModule_AddNeuron, METH_VARARGS, NULL},
294660  { (char *)"FrFiringRateModule_RemoveNeuron", _wrap_FrFiringRateModule_RemoveNeuron, METH_VARARGS, NULL},
294661  { (char *)"FrFiringRateModule_FindNeuronListPos", _wrap_FrFiringRateModule_FindNeuronListPos, METH_VARARGS, NULL},
294662  { (char *)"FrFiringRateModule_ActiveArray", _wrap_FrFiringRateModule_ActiveArray, METH_VARARGS, NULL},
294663  { (char *)"FrFiringRateModule_InactiveArray", _wrap_FrFiringRateModule_InactiveArray, METH_VARARGS, NULL},
294664  { (char *)"FrFiringRateModule_CalculateSnapshotByteSize", _wrap_FrFiringRateModule_CalculateSnapshotByteSize, METH_VARARGS, NULL},
294665  { (char *)"FrFiringRateModule_SaveKeyFrameSnapshot", _wrap_FrFiringRateModule_SaveKeyFrameSnapshot, METH_VARARGS, NULL},
294666  { (char *)"FrFiringRateModule_LoadKeyFrameSnapshot", _wrap_FrFiringRateModule_LoadKeyFrameSnapshot, METH_VARARGS, NULL},
294667  { (char *)"FrFiringRateModule_swigregister", FrFiringRateModule_swigregister, METH_VARARGS, NULL},
294668  { NULL, NULL, 0, NULL }
294669 };
294670 
294671 
294672 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
294673 
294674 static void *_p_AnimatSim__Charting__MemoryChartTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294676 }
294677 static void *_p_AnimatSim__Gains__BellGainTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294679 }
294680 static void *_p_AnimatSim__Environment__JointTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294682 }
294683 static void *_p_FiringRateSim__Neurons__RandomNeuronTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294685 }
294686 static void *_p_FiringRateSim__Neurons__BistableNeuronTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294688 }
294689 static void *_p_FiringRateSim__Neurons__TonicNeuronTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294691 }
294692 static void *_p_AnimatSim__Environment__Bodies__EllipsoidTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294694 }
294695 static void *_p_AnimatSim__Charting__FileChartTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294697 }
294698 static void *_p_AnimatSim__Behavior__PhysicsNeuralModuleTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294700 }
294701 static void *_p_AnimatSim__Behavior__NeuralModuleTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294702  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Behavior::NeuralModule *) x));
294703 }
294704 static void *_p_AnimatSim__Charting__DataColumnTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294705  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Charting::DataColumn *) x));
294706 }
294707 static void *_p_AnimatSim__Environment__BodyPartTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294709 }
294710 static void *_p_AnimatSim__Environment__Bodies__OdorSensorTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294712 }
294713 static void *_p_AnimatSim__Environment__Bodies__SensorTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294715 }
294716 static void *_p_AnimatSim__Environment__ContactSensorTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294717  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Environment::ContactSensor *) x));
294718 }
294719 static void *_p_AnimatSim__Environment__ConstraintFrictionTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294721 }
294722 static void *_p_AnimatSim__Gains__SigmoidGainTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294724 }
294725 static void *_p_AnimatSim__Environment__MotorizedJointTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294727 }
294728 static void *_p_AnimatSim__Gains__LengthTensionGainTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294730 }
294731 static void *_p_AnimatSim__Gains__EquationGainTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294733 }
294734 static void *_p_AnimatSim__NodeTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294735  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Node *) x));
294736 }
294737 static void *_p_AnimatSim__Environment__Joints__PrismaticTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294739 }
294740 static void *_p_AnimatSim__Environment__Bodies__MouthTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294742 }
294743 static void *_p_AnimatSim__Environment__LightTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294744  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Environment::Light *) x));
294745 }
294746 static void *_p_AnimatSim__Environment__Joints__LinearJointTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294748 }
294749 static void *_p_AnimatSim__ExternalStimuli__PropertyControlStimulusTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294751 }
294752 static void *_p_AnimatSim__ActivatedItemMgrTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294753  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::ActivatedItemMgr *) x));
294754 }
294755 static void *_p_AnimatSim__ExternalStimuli__InverseMuscleCurrentTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294757 }
294758 static void *_p_AnimatSim__Environment__ReceptiveFieldPairTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294760 }
294761 static void *_p_AnimatSim__Environment__Bodies__MuscleBaseTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294763 }
294764 static void *_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294766 }
294767 static void *_p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294769 }
294770 static void *_p_AnimatSim__Robotics__RobotIOControlTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294771  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Robotics::RobotIOControl *) x));
294772 }
294773 static void *_p_AnimatSim__Robotics__RemoteControlTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294775 }
294776 static void *_p_AnimatSim__Environment__Bodies__SphereTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294778 }
294779 static void *_p_AnimatSim__Environment__CollisionPairTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294780  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Environment::CollisionPair *) x));
294781 }
294782 static void *_p_AnimatSim__Robotics__RemoteControlLinkageTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294784 }
294785 static void *_p_AnimatSim__Robotics__PassThroughLinkageTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294787 }
294788 static void *_p_AnimatSim__Robotics__PulsedLinkageTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294790 }
294791 static void *_p_AnimatSim__Environment__OdorTypeTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294792  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Environment::OdorType *) x));
294793 }
294794 static void *_p_AnimatSim__Recording__KeyFrameTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294796 }
294797 static void *_p_AnimatSim__Gains__GainTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294798  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Gains::Gain *) x));
294799 }
294800 static void *_p_AnimatSim__Charting__ArrayChartTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294802 }
294803 static void *_p_AnimatSim__Environment__Bodies__SpringTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294805 }
294806 static void *_p_AnimatSim__Environment__Bodies__BoxTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294808 }
294809 static void *_p_FiringRateSim__Neurons__NeuronTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294810  return (void *)((AnimatSim::AnimatBase *) (AnimatSim::Node *) ((FiringRateSim::Neurons::Neuron *) x));
294811 }
294812 static void *_p_FiringRateSim__Neurons__PacemakerNeuronTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294814 }
294815 static void *_p_FiringRateSim__Synapses__SynapseTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294817 }
294818 static void *_p_FiringRateSim__Synapses__GatedSynapseTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294820 }
294821 static void *_p_FiringRateSim__Synapses__ModulatedSynapseTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294823 }
294824 static void *_p_FiringRateSim__Synapses__ModulateNeuronPropSynapseTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294826 }
294827 static void *_p_AnimatSim__HudTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294828  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Hud *) x));
294829 }
294830 static void *_p_AnimatSim__ExternalStimuli__ForceStimulusTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294832 }
294833 static void *_p_AnimatSim__ExternalStimuli__MotorStimulusTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294835 }
294836 static void *_p_AnimatSim__ExternalStimuli__EnablerStimulusTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294838 }
294839 static void *_p_AnimatSim__ExternalStimuli__CurrentStimulusTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294841 }
294842 static void *_p_AnimatSim__ExternalStimuli__ExternalInputStimulusTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294844 }
294845 static void *_p_AnimatSim__ExternalStimuli__ExternalStimulusTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294847 }
294848 static void *_p_AnimatSim__ActivatedItemTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294849  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::ActivatedItem *) x));
294850 }
294851 static void *_p_AnimatSim__Environment__Bodies__PlaneTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294853 }
294854 static void *_p_AnimatSim__Adapters__ContactAdapterTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294856 }
294857 static void *_p_AnimatSim__Adapters__PropertyControlAdapterTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294859 }
294860 static void *_p_AnimatSim__Adapters__AdapterTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294861  return (void *)((AnimatSim::AnimatBase *) (AnimatSim::Node *) ((AnimatSim::Adapters::Adapter *) x));
294862 }
294863 static void *_p_AnimatSim__Environment__ConstraintLimitTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294864  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Environment::ConstraintLimit *) x));
294865 }
294866 static void *_p_AnimatSim__ExternalStimuli__VoltageClampTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294868 }
294869 static void *_p_AnimatSim__ExternalStimuli__ExternalStimuliMgrTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294871 }
294872 static void *_p_AnimatSim__Environment__Bodies__AttachmentTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294874 }
294875 static void *_p_AnimatSim__Charting__DataChartTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294877 }
294878 static void *_p_AnimatSim__Environment__Bodies__LineBaseTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294880 }
294881 static void *_p_AnimatSim__SimulationWindowMgrTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294882  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::SimulationWindowMgr *) x));
294883 }
294884 static void *_p_AnimatSim__Environment__OrganismTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294886 }
294887 static void *_p_AnimatSim__Environment__StructureTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294888  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Environment::Structure *) x));
294889 }
294890 static void *_p_AnimatSim__Charting__DataChartMgrTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294892 }
294893 static void *_p_AnimatSim__Environment__Bodies__TerrainTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294895 }
294896 static void *_p_AnimatSim__Environment__Bodies__CylinderTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294898 }
294899 static void *_p_AnimatSim__Environment__Bodies__ConeTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294901 }
294902 static void *_p_AnimatSim__Environment__Bodies__FluidPlaneTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294904 }
294905 static void *_p_AnimatSim__Recording__SimulationRecorderTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294907 }
294908 static void *_p_AnimatSim__Robotics__RobotInterfaceTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294909  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Robotics::RobotInterface *) x));
294910 }
294911 static void *_p_AnimatSim__Robotics__RobotPartInterfaceTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294912  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Robotics::RobotPartInterface *) x));
294913 }
294914 static void *_p_AnimatSim__Environment__Bodies__TorusTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294916 }
294917 static void *_p_AnimatSim__Environment__OdorTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294918  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Environment::Odor *) x));
294919 }
294920 static void *_p_AnimatSim__SimulationMgrTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294921  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::SimulationMgr *) x));
294922 }
294923 static void *_p_AnimatSim__ScriptProcessorTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294924  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::ScriptProcessor *) x));
294925 }
294926 static void *_p_AnimatSim__Environment__LightManagerTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294927  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Environment::LightManager *) x));
294928 }
294929 static void *_p_FiringRateSim__FiringRateModuleTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294931 }
294932 static void *_p_AnimatSim__HudTextTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294933  return (void *)((AnimatSim::AnimatBase *) (AnimatSim::HudItem *) ((AnimatSim::HudText *) x));
294934 }
294935 static void *_p_AnimatSim__HudItemTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294936  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::HudItem *) x));
294937 }
294938 static void *_p_AnimatSim__Environment__MaterialsTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294939  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Environment::Materials *) x));
294940 }
294941 static void *_p_AnimatSim__SimulationWindowTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294942  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::SimulationWindow *) x));
294943 }
294944 static void *_p_AnimatSim__Environment__RigidBodyTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294946 }
294947 static void *_p_AnimatSim__Environment__Bodies__StomachTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294949 }
294950 static void *_p_AnimatSim__Behavior__NervousSystemTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294951  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Behavior::NervousSystem *) x));
294952 }
294953 static void *_p_AnimatSim__Environment__Joints__HingeTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294955 }
294956 static void *_p_AnimatSim__Environment__Bodies__MeshTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294958 }
294959 static void *_p_AnimatSim__Gains__PolynomialGainTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294961 }
294962 static void *_p_AnimatSim__Environment__Joints__RPROTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294964 }
294965 static void *_p_AnimatSim__Environment__Joints__BallSocketTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294967 }
294968 static void *_p_AnimatSim__Environment__MaterialTypeTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294969  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Environment::MaterialType *) x));
294970 }
294971 static void *_p_AnimatSim__Environment__ConstraintRelaxationTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294973 }
294974 static void *_p_AnimatSim__LinkTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294975  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Link *) x));
294976 }
294977 static void *_p_AnimatSim__SimulatorTo_p_AnimatSim__AnimatBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294978  return (void *)((AnimatSim::AnimatBase *) ((AnimatSim::Simulator *) x));
294979 }
294980 static void *_p_CStdPtrArrayT_StdUtils__CStdVariable_tTo_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294981  return (void *)((std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > *) ((CStdPtrArray< CStdVariable > *) x));
294982 }
294983 static void *_p_AnimatSim__ExternalStimuli__VoltageClampTo_p_AnimatSim__ExternalStimuli__ExternalStimulus(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294985 }
294986 static void *_p_AnimatSim__ExternalStimuli__PropertyControlStimulusTo_p_AnimatSim__ExternalStimuli__ExternalStimulus(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294988 }
294989 static void *_p_AnimatSim__ExternalStimuli__InverseMuscleCurrentTo_p_AnimatSim__ExternalStimuli__ExternalStimulus(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294991 }
294992 static void *_p_AnimatSim__ExternalStimuli__ExternalInputStimulusTo_p_AnimatSim__ExternalStimuli__ExternalStimulus(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294994 }
294995 static void *_p_AnimatSim__ExternalStimuli__CurrentStimulusTo_p_AnimatSim__ExternalStimuli__ExternalStimulus(void *x, int *SWIGUNUSEDPARM(newmemory)) {
294997 }
294998 static void *_p_AnimatSim__ExternalStimuli__EnablerStimulusTo_p_AnimatSim__ExternalStimuli__ExternalStimulus(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295000 }
295001 static void *_p_AnimatSim__ExternalStimuli__MotorStimulusTo_p_AnimatSim__ExternalStimuli__ExternalStimulus(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295003 }
295004 static void *_p_AnimatSim__ExternalStimuli__ForceStimulusTo_p_AnimatSim__ExternalStimuli__ExternalStimulus(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295006 }
295007 static void *_p_AnimatSim__Environment__Bodies__EllipsoidTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295009 }
295010 static void *_p_AnimatSim__Environment__Bodies__FluidPlaneTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295012 }
295013 static void *_p_AnimatSim__Environment__BodyPartTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295014  return (void *)((AnimatSim::Node *) ((AnimatSim::Environment::BodyPart *) x));
295015 }
295016 static void *_p_AnimatSim__Adapters__AdapterTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295017  return (void *)((AnimatSim::Node *) ((AnimatSim::Adapters::Adapter *) x));
295018 }
295019 static void *_p_AnimatSim__Adapters__PropertyControlAdapterTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295021 }
295022 static void *_p_AnimatSim__Adapters__ContactAdapterTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295024 }
295025 static void *_p_AnimatSim__Environment__Bodies__MeshTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295027 }
295028 static void *_p_AnimatSim__Environment__Bodies__MouthTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295030 }
295031 static void *_p_AnimatSim__Environment__Bodies__PlaneTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295033 }
295034 static void *_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295036 }
295037 static void *_p_AnimatSim__Environment__Bodies__ConeTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295039 }
295040 static void *_p_AnimatSim__Environment__Bodies__MuscleBaseTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295042 }
295043 static void *_p_FiringRateSim__Neurons__PacemakerNeuronTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295045 }
295046 static void *_p_FiringRateSim__Neurons__NeuronTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295047  return (void *)((AnimatSim::Node *) ((FiringRateSim::Neurons::Neuron *) x));
295048 }
295049 static void *_p_AnimatSim__Environment__MotorizedJointTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295051 }
295052 static void *_p_AnimatSim__Environment__Bodies__SphereTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295054 }
295055 static void *_p_AnimatSim__Environment__Bodies__LineBaseTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295057 }
295058 static void *_p_AnimatSim__Environment__Bodies__CylinderTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295060 }
295061 static void *_p_AnimatSim__Environment__Bodies__OdorSensorTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295063 }
295064 static void *_p_AnimatSim__Environment__Bodies__SensorTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295066 }
295067 static void *_p_AnimatSim__Environment__Bodies__StomachTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295069 }
295070 static void *_p_AnimatSim__Environment__JointTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295072 }
295073 static void *_p_AnimatSim__Environment__Bodies__TorusTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295075 }
295076 static void *_p_AnimatSim__Environment__Joints__BallSocketTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295078 }
295079 static void *_p_AnimatSim__Environment__Joints__PrismaticTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295081 }
295082 static void *_p_AnimatSim__Environment__Bodies__AttachmentTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295084 }
295085 static void *_p_FiringRateSim__Neurons__RandomNeuronTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295087 }
295088 static void *_p_FiringRateSim__Neurons__BistableNeuronTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295090 }
295091 static void *_p_FiringRateSim__Neurons__TonicNeuronTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295093 }
295094 static void *_p_AnimatSim__Environment__RigidBodyTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295096 }
295097 static void *_p_AnimatSim__Environment__Bodies__TerrainTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295099 }
295100 static void *_p_AnimatSim__Environment__Joints__RPROTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295102 }
295103 static void *_p_AnimatSim__Environment__Bodies__SpringTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295105 }
295106 static void *_p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295108 }
295109 static void *_p_AnimatSim__Environment__Bodies__BoxTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295111 }
295112 static void *_p_AnimatSim__Environment__Joints__LinearJointTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295114 }
295115 static void *_p_AnimatSim__Environment__Joints__HingeTo_p_AnimatSim__Node(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295117 }
295118 static void *_p_AnimatSim__HudTextTo_p_AnimatSim__HudItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295119  return (void *)((AnimatSim::HudItem *) ((AnimatSim::HudText *) x));
295120 }
295121 static void *_p_CStdPtrArrayT_HudItem_tTo_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295122  return (void *)((std::vector< HudItem *,std::allocator< HudItem * > > *) ((CStdPtrArray< HudItem > *) x));
295123 }
295124 static void *_p_CStdPtrArrayT_ReceptiveField_tTo_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295125  return (void *)((std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > *) ((CStdPtrArray< ReceptiveField > *) x));
295126 }
295127 static void *_p_CStdPtrArrayT_RobotIOControl_tTo_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295128  return (void *)((std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > *) ((CStdPtrArray< RobotIOControl > *) x));
295129 }
295130 static void *_p_AnimatSim__SimulationThreadTo_p_AnimatSim__ISimGUICallback(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295131  return (void *)((AnimatSim::ISimGUICallback *) ((AnimatSim::SimulationThread *) x));
295132 }
295133 static void *_p_CStdPtrArrayT_Neuron_tTo_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295134  return (void *)((std::vector< Neuron *,std::allocator< Neuron * > > *) ((CStdPtrArray< Neuron > *) x));
295135 }
295136 static void *_p_CStdMapT_std__string_DataColumn_p_tTo_p_std__mapT_std__string_DataColumn_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295137  return (void *)((std::map< std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > > *) ((CStdMap< std::string,DataColumn * > *) x));
295138 }
295139 static void *_p_CStdMapT_std__string_AnimatBase_p_tTo_p_std__mapT_std__string_AnimatBase_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295140  return (void *)((std::map< std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > > *) ((CStdMap< std::string,AnimatBase * > *) x));
295141 }
295142 static void *_p_CStdArrayT_BodyPart_p_tTo_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295143  return (void *)((std::vector< BodyPart *,std::allocator< BodyPart * > > *) ((CStdArray< BodyPart * > *) x));
295144 }
295145 static void *_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__Environment__Bodies__LinearHillMuscle(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295147 }
295148 static void *_p_AnimatSim__Environment__Bodies__SphereTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295150 }
295151 static void *_p_AnimatSim__Environment__Bodies__BoxTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295153 }
295154 static void *_p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295156 }
295157 static void *_p_AnimatSim__Environment__Bodies__MouthTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295159 }
295160 static void *_p_AnimatSim__Environment__Bodies__PlaneTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295162 }
295163 static void *_p_AnimatSim__Environment__Joints__LinearJointTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295165 }
295166 static void *_p_AnimatSim__Environment__Joints__BallSocketTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295168 }
295169 static void *_p_AnimatSim__Environment__Bodies__ConeTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295171 }
295172 static void *_p_AnimatSim__Environment__Bodies__SensorTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295174 }
295175 static void *_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295177 }
295178 static void *_p_AnimatSim__Environment__Bodies__OdorSensorTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295180 }
295181 static void *_p_AnimatSim__Environment__MotorizedJointTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295183 }
295184 static void *_p_AnimatSim__Environment__Bodies__TorusTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295186 }
295187 static void *_p_AnimatSim__Environment__RigidBodyTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295189 }
295190 static void *_p_AnimatSim__Environment__Bodies__AttachmentTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295192 }
295193 static void *_p_AnimatSim__Environment__Bodies__MuscleBaseTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295195 }
295196 static void *_p_AnimatSim__Environment__Bodies__FluidPlaneTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295198 }
295199 static void *_p_AnimatSim__Environment__Bodies__EllipsoidTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295201 }
295202 static void *_p_AnimatSim__Environment__Bodies__MeshTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295204 }
295205 static void *_p_AnimatSim__Environment__Bodies__CylinderTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295207 }
295208 static void *_p_AnimatSim__Environment__JointTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295210 }
295211 static void *_p_AnimatSim__Environment__Bodies__SpringTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295213 }
295214 static void *_p_AnimatSim__Environment__Bodies__StomachTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295216 }
295217 static void *_p_AnimatSim__Environment__Joints__HingeTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295219 }
295220 static void *_p_AnimatSim__Environment__Joints__RPROTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295222 }
295223 static void *_p_AnimatSim__Environment__Bodies__LineBaseTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295225 }
295226 static void *_p_AnimatSim__Environment__Joints__PrismaticTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295228 }
295229 static void *_p_AnimatSim__Environment__Bodies__TerrainTo_p_AnimatSim__Environment__BodyPart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295231 }
295232 static void *_p_CStdMapT_std__string_Odor_p_tTo_p_std__mapT_std__string_Odor_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295233  return (void *)((std::map< std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > > *) ((CStdMap< std::string,Odor * > *) x));
295234 }
295235 static void *_p_CStdPtrMapT_std__string_Odor_tTo_p_std__mapT_std__string_Odor_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295236  return (void *)((std::map< std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > > *) ((CStdPtrMap< std::string,Odor > *) x));
295237 }
295238 static void *_p_CStdMapT_std__string_Joint_p_tTo_p_std__mapT_std__string_Joint_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295239  return (void *)((std::map< std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > > *) ((CStdMap< std::string,Joint * > *) x));
295240 }
295241 static void *_p_CStdArrayT_std__string_tTo_p_std__vectorT_std__string_std__allocatorT_std__string_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295242  return (void *)((std::vector< std::string,std::allocator< std::string > > *) ((CStdArray< std::string > *) x));
295243 }
295244 static void *_p_CStdPtrArrayT_MaterialType_tTo_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295245  return (void *)((std::vector< MaterialType *,std::allocator< MaterialType * > > *) ((CStdPtrArray< MaterialType > *) x));
295246 }
295247 static void *_p_CStdArrayT_Attachment_p_tTo_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295248  return (void *)((std::vector< Attachment *,std::allocator< Attachment * > > *) ((CStdArray< Attachment * > *) x));
295249 }
295250 static void *_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__Environment__Bodies__LineBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295252 }
295253 static void *_p_AnimatSim__Environment__Bodies__SpringTo_p_AnimatSim__Environment__Bodies__LineBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295255 }
295256 static void *_p_AnimatSim__Environment__Bodies__MuscleBaseTo_p_AnimatSim__Environment__Bodies__LineBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295258 }
295259 static void *_p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_AnimatSim__Environment__Bodies__LineBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295261 }
295262 static void *_p_CStdArrayT_int_tTo_p_std__vectorT_int_std__allocatorT_int_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295263  return (void *)((std::vector< int,std::allocator< int > > *) ((CStdArray< int > *) x));
295264 }
295265 static void *_p_AnimatSim__Gains__SigmoidGainTo_p_AnimatSim__Gains__Gain(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295266  return (void *)((AnimatSim::Gains::Gain *) ((AnimatSim::Gains::SigmoidGain *) x));
295267 }
295268 static void *_p_AnimatSim__Gains__PolynomialGainTo_p_AnimatSim__Gains__Gain(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295269  return (void *)((AnimatSim::Gains::Gain *) ((AnimatSim::Gains::PolynomialGain *) x));
295270 }
295271 static void *_p_AnimatSim__Gains__BellGainTo_p_AnimatSim__Gains__Gain(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295272  return (void *)((AnimatSim::Gains::Gain *) ((AnimatSim::Gains::BellGain *) x));
295273 }
295274 static void *_p_AnimatSim__Gains__EquationGainTo_p_AnimatSim__Gains__Gain(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295275  return (void *)((AnimatSim::Gains::Gain *) ((AnimatSim::Gains::EquationGain *) x));
295276 }
295277 static void *_p_AnimatSim__Gains__LengthTensionGainTo_p_AnimatSim__Gains__Gain(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295278  return (void *)((AnimatSim::Gains::Gain *) ((AnimatSim::Gains::LengthTensionGain *) x));
295279 }
295280 static void *_p_FiringRateSim__Neurons__PacemakerNeuronTo_p_FiringRateSim__Neurons__Neuron(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295282 }
295283 static void *_p_FiringRateSim__Neurons__RandomNeuronTo_p_FiringRateSim__Neurons__Neuron(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295285 }
295286 static void *_p_FiringRateSim__Neurons__BistableNeuronTo_p_FiringRateSim__Neurons__Neuron(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295288 }
295289 static void *_p_FiringRateSim__Neurons__TonicNeuronTo_p_FiringRateSim__Neurons__Neuron(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295291 }
295292 static void *_p_AnimatSim__Robotics__RemoteControlTo_p_AnimatSim__Robotics__RobotIOControl(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295294 }
295295 static void *_p_AnimatSim__Charting__MemoryChartTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295297 }
295298 static void *_p_AnimatSim__Gains__BellGainTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295300 }
295301 static void *_p_AnimatSim__Environment__JointTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295303 }
295304 static void *_p_StdUtils__CStdVariantTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295305  return (void *)((StdUtils::CStdSerialize *) ((StdUtils::CStdVariant *) x));
295306 }
295307 static void *_p_FiringRateSim__Neurons__RandomNeuronTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295309 }
295310 static void *_p_FiringRateSim__Neurons__BistableNeuronTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295312 }
295313 static void *_p_FiringRateSim__Neurons__TonicNeuronTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295315 }
295316 static void *_p_AnimatSim__Environment__Bodies__EllipsoidTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295318 }
295319 static void *_p_AnimatSim__Charting__FileChartTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295321 }
295322 static void *_p_AnimatSim__Behavior__PhysicsNeuralModuleTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295324 }
295325 static void *_p_AnimatSim__Behavior__NeuralModuleTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295327 }
295328 static void *_p_AnimatSim__Charting__DataColumnTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295330 }
295331 static void *_p_AnimatSim__Environment__BodyPartTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295333 }
295334 static void *_p_AnimatSim__Environment__Bodies__OdorSensorTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295336 }
295337 static void *_p_AnimatSim__Environment__Bodies__SensorTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295339 }
295340 static void *_p_AnimatSim__Environment__ContactSensorTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295342 }
295343 static void *_p_AnimatSim__Environment__ConstraintFrictionTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295345 }
295346 static void *_p_AnimatSim__Gains__SigmoidGainTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295348 }
295349 static void *_p_AnimatSim__Environment__MotorizedJointTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295351 }
295352 static void *_p_AnimatSim__Gains__LengthTensionGainTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295354 }
295355 static void *_p_AnimatSim__Gains__EquationGainTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295357 }
295358 static void *_p_AnimatSim__NodeTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295359  return (void *)((StdUtils::CStdSerialize *) (AnimatSim::AnimatBase *) ((AnimatSim::Node *) x));
295360 }
295361 static void *_p_AnimatSim__Environment__Joints__PrismaticTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295363 }
295364 static void *_p_AnimatSim__Environment__Bodies__MouthTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295366 }
295367 static void *_p_AnimatSim__Environment__LightTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295369 }
295370 static void *_p_AnimatSim__Environment__Joints__LinearJointTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295372 }
295373 static void *_p_AnimatSim__ExternalStimuli__PropertyControlStimulusTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295375 }
295376 static void *_p_AnimatSim__ActivatedItemMgrTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295378 }
295379 static void *_p_AnimatSim__ExternalStimuli__InverseMuscleCurrentTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295381 }
295382 static void *_p_AnimatSim__Environment__ReceptiveFieldPairTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295384 }
295385 static void *_p_AnimatSim__Environment__Bodies__MuscleBaseTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295387 }
295388 static void *_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295390 }
295391 static void *_p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295393 }
295394 static void *_p_AnimatSim__Robotics__RobotIOControlTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295396 }
295397 static void *_p_AnimatSim__Robotics__RemoteControlTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295399 }
295400 static void *_p_AnimatSim__Environment__Bodies__SphereTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295402 }
295403 static void *_p_AnimatSim__Environment__CollisionPairTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295405 }
295406 static void *_p_AnimatSim__Robotics__RemoteControlLinkageTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295408 }
295409 static void *_p_AnimatSim__Robotics__PassThroughLinkageTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295411 }
295412 static void *_p_AnimatSim__Robotics__PulsedLinkageTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295414 }
295415 static void *_p_AnimatSim__Environment__OdorTypeTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295417 }
295418 static void *_p_AnimatSim__Recording__KeyFrameTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295420 }
295421 static void *_p_AnimatSim__Gains__GainTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295422  return (void *)((StdUtils::CStdSerialize *) (AnimatSim::AnimatBase *) ((AnimatSim::Gains::Gain *) x));
295423 }
295424 static void *_p_AnimatSim__Charting__ArrayChartTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295426 }
295427 static void *_p_AnimatSim__Environment__Bodies__SpringTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295429 }
295430 static void *_p_AnimatSim__Environment__Bodies__BoxTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295432 }
295433 static void *_p_FiringRateSim__Neurons__NeuronTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295435 }
295436 static void *_p_FiringRateSim__Neurons__PacemakerNeuronTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295438 }
295439 static void *_p_FiringRateSim__Synapses__SynapseTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295441 }
295442 static void *_p_FiringRateSim__Synapses__GatedSynapseTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295444 }
295445 static void *_p_FiringRateSim__Synapses__ModulatedSynapseTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295447 }
295448 static void *_p_FiringRateSim__Synapses__ModulateNeuronPropSynapseTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295450 }
295451 static void *_p_AnimatSim__HudTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295452  return (void *)((StdUtils::CStdSerialize *) (AnimatSim::AnimatBase *) ((AnimatSim::Hud *) x));
295453 }
295454 static void *_p_AnimatSim__ExternalStimuli__MotorStimulusTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295456 }
295457 static void *_p_AnimatSim__ExternalStimuli__EnablerStimulusTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295459 }
295460 static void *_p_AnimatSim__ExternalStimuli__CurrentStimulusTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295462 }
295463 static void *_p_AnimatSim__ExternalStimuli__ExternalInputStimulusTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295465 }
295466 static void *_p_AnimatSim__ExternalStimuli__ExternalStimulusTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295468 }
295469 static void *_p_AnimatSim__ActivatedItemTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295471 }
295472 static void *_p_AnimatSim__ExternalStimuli__ForceStimulusTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295474 }
295475 static void *_p_AnimatSim__Environment__Bodies__PlaneTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295477 }
295478 static void *_p_AnimatSim__Adapters__PropertyControlAdapterTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295480 }
295481 static void *_p_AnimatSim__Adapters__AdapterTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295483 }
295484 static void *_p_AnimatSim__Adapters__ContactAdapterTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295486 }
295487 static void *_p_AnimatSim__Environment__ConstraintLimitTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295489 }
295490 static void *_p_AnimatSim__ExternalStimuli__VoltageClampTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295492 }
295493 static void *_p_AnimatSim__ExternalStimuli__ExternalStimuliMgrTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295495 }
295496 static void *_p_AnimatSim__Environment__Bodies__AttachmentTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295498 }
295499 static void *_p_AnimatSim__Charting__DataChartTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295501 }
295502 static void *_p_AnimatSim__Environment__Bodies__LineBaseTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295504 }
295505 static void *_p_AnimatSim__SimulationWindowMgrTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295507 }
295508 static void *_p_AnimatSim__Environment__OrganismTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295510 }
295511 static void *_p_AnimatSim__Environment__StructureTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295513 }
295514 static void *_p_AnimatSim__Charting__DataChartMgrTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295516 }
295517 static void *_p_AnimatSim__Environment__Bodies__TerrainTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295519 }
295520 static void *_p_AnimatSim__Environment__Bodies__CylinderTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295522 }
295523 static void *_p_AnimatSim__Environment__Bodies__ConeTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295525 }
295526 static void *_p_AnimatSim__Environment__Bodies__FluidPlaneTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295528 }
295529 static void *_p_AnimatSim__Recording__SimulationRecorderTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295531 }
295532 static void *_p_AnimatSim__Robotics__RobotInterfaceTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295534 }
295535 static void *_p_AnimatSim__Robotics__RobotPartInterfaceTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295537 }
295538 static void *_p_AnimatSim__Environment__Bodies__TorusTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295540 }
295541 static void *_p_AnimatSim__Environment__OdorTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295543 }
295544 static void *_p_AnimatSim__SimulationMgrTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295546 }
295547 static void *_p_AnimatSim__ScriptProcessorTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295549 }
295550 static void *_p_AnimatSim__Environment__LightManagerTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295552 }
295553 static void *_p_FiringRateSim__FiringRateModuleTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295555 }
295556 static void *_p_AnimatSim__HudTextTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295558 }
295559 static void *_p_AnimatSim__HudItemTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295560  return (void *)((StdUtils::CStdSerialize *) (AnimatSim::AnimatBase *) ((AnimatSim::HudItem *) x));
295561 }
295562 static void *_p_AnimatSim__Environment__MaterialsTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295564 }
295565 static void *_p_AnimatSim__SimulationWindowTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295567 }
295568 static void *_p_AnimatSim__Environment__RigidBodyTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295570 }
295571 static void *_p_AnimatSim__AnimatBaseTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295572  return (void *)((StdUtils::CStdSerialize *) ((AnimatSim::AnimatBase *) x));
295573 }
295574 static void *_p_AnimatSim__Environment__Bodies__StomachTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295576 }
295577 static void *_p_AnimatSim__Behavior__NervousSystemTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295579 }
295580 static void *_p_AnimatSim__Environment__Joints__HingeTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295582 }
295583 static void *_p_AnimatSim__Environment__Bodies__MeshTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295585 }
295586 static void *_p_AnimatSim__Gains__PolynomialGainTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295588 }
295589 static void *_p_AnimatSim__Environment__Joints__RPROTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295591 }
295592 static void *_p_AnimatSim__Environment__Joints__BallSocketTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295594 }
295595 static void *_p_AnimatSim__Environment__MaterialTypeTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295597 }
295598 static void *_p_AnimatSim__Environment__ConstraintRelaxationTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295600 }
295601 static void *_p_AnimatSim__LinkTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295602  return (void *)((StdUtils::CStdSerialize *) (AnimatSim::AnimatBase *) ((AnimatSim::Link *) x));
295603 }
295604 static void *_p_AnimatSim__SimulatorTo_p_StdUtils__CStdSerialize(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295605  return (void *)((StdUtils::CStdSerialize *) (AnimatSim::AnimatBase *) ((AnimatSim::Simulator *) x));
295606 }
295607 static void *_p_AnimatSim__Environment__OrganismTo_p_AnimatSim__Environment__Structure(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295609 }
295610 static void *_p_CStdArrayT_ModuleThreadProcessor_p_tTo_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295611  return (void *)((std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > *) ((CStdArray< ModuleThreadProcessor * > *) x));
295612 }
295613 static void *_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__Environment__Bodies__MuscleBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295615 }
295616 static void *_p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_AnimatSim__Environment__Bodies__MuscleBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295618 }
295619 static void *_p_CStdPtrArrayT_DataColumn_tTo_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295620  return (void *)((std::vector< DataColumn *,std::allocator< DataColumn * > > *) ((CStdPtrArray< DataColumn > *) x));
295621 }
295622 static void *_p_StdUtils__CStdXmlTo_p_StdUtils__CMarkupSTL(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295623  return (void *)((StdUtils::CMarkupSTL *) ((StdUtils::CStdXml *) x));
295624 }
295625 static void *_p_AnimatSim__Behavior__PhysicsNeuralModuleTo_p_AnimatSim__Behavior__NeuralModule(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295627 }
295628 static void *_p_FiringRateSim__FiringRateModuleTo_p_AnimatSim__Behavior__NeuralModule(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295630 }
295631 static void *_p_CStdPtrMapT_std__string_NeuralModule_tTo_p_std__mapT_std__string_NeuralModule_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295632  return (void *)((std::map< std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > > *) ((CStdPtrMap< std::string,NeuralModule > *) x));
295633 }
295634 static void *_p_FiringRateSim__Synapses__SynapseTo_p_AnimatSim__Link(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295635  return (void *)((AnimatSim::Link *) ((FiringRateSim::Synapses::Synapse *) x));
295636 }
295637 static void *_p_FiringRateSim__Synapses__GatedSynapseTo_p_AnimatSim__Link(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295639 }
295640 static void *_p_FiringRateSim__Synapses__ModulatedSynapseTo_p_AnimatSim__Link(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295642 }
295643 static void *_p_FiringRateSim__Synapses__ModulateNeuronPropSynapseTo_p_AnimatSim__Link(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295645 }
295646 static void *_p_CStdArrayT_ActivatedItem_p_tTo_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295647  return (void *)((std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > *) ((CStdArray< ActivatedItem * > *) x));
295648 }
295649 static void *_p_CStdArrayT_float_tTo_p_std__vectorT_float_std__allocatorT_float_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295650  return (void *)((std::vector< float,std::allocator< float > > *) ((CStdArray< float > *) x));
295651 }
295652 static void *_p_CStdCircularArrayT_float_tTo_p_std__vectorT_float_std__allocatorT_float_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295653  return (void *)((std::vector< float,std::allocator< float > > *) (CStdArray< float > *) ((CStdCircularArray< float > *) x));
295654 }
295655 static void *_p_CStdPtrArrayT_CollisionPair_tTo_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295656  return (void *)((std::vector< CollisionPair *,std::allocator< CollisionPair * > > *) ((CStdPtrArray< CollisionPair > *) x));
295657 }
295658 static void *_p_AnimatSim__Environment__Bodies__FluidPlaneTo_p_AnimatSim__Environment__Bodies__Plane(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295660 }
295661 static void *_p_CStdArrayT_RigidBody_p_tTo_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295662  return (void *)((std::vector< RigidBody *,std::allocator< RigidBody * > > *) ((CStdArray< RigidBody * > *) x));
295663 }
295664 static void *_p_CStdPtrArrayT_RigidBody_tTo_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295665  return (void *)((std::vector< RigidBody *,std::allocator< RigidBody * > > *) ((CStdPtrArray< RigidBody > *) x));
295666 }
295667 static void *_p_AnimatSim__Recording__SimulationRecorderTo_p_AnimatSim__ActivatedItemMgr(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295669 }
295670 static void *_p_AnimatSim__Charting__DataChartMgrTo_p_AnimatSim__ActivatedItemMgr(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295671  return (void *)((AnimatSim::ActivatedItemMgr *) ((AnimatSim::Charting::DataChartMgr *) x));
295672 }
295673 static void *_p_AnimatSim__ExternalStimuli__ExternalStimuliMgrTo_p_AnimatSim__ActivatedItemMgr(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295675 }
295676 static void *_p_AnimatSim__Robotics__PassThroughLinkageTo_p_AnimatSim__Robotics__RemoteControlLinkage(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295678 }
295679 static void *_p_AnimatSim__Robotics__PulsedLinkageTo_p_AnimatSim__Robotics__RemoteControlLinkage(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295681 }
295682 static void *_p_CStdArrayT_long_tTo_p_std__vectorT_long_std__allocatorT_long_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295683  return (void *)((std::vector< long,std::allocator< long > > *) ((CStdArray< long > *) x));
295684 }
295685 static void *_p_AnimatSim__Charting__FileChartTo_p_AnimatSim__Charting__DataChart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295686  return (void *)((AnimatSim::Charting::DataChart *) ((AnimatSim::Charting::FileChart *) x));
295687 }
295688 static void *_p_AnimatSim__Charting__ArrayChartTo_p_AnimatSim__Charting__DataChart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295690 }
295691 static void *_p_AnimatSim__Charting__MemoryChartTo_p_AnimatSim__Charting__DataChart(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295693 }
295694 static void *_p_CStdMapT_std__string_Structure_p_tTo_p_std__mapT_std__string_Structure_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295695  return (void *)((std::map< std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > > *) ((CStdMap< std::string,Structure * > *) x));
295696 }
295697 static void *_p_CStdPtrMapT_std__string_Structure_tTo_p_std__mapT_std__string_Structure_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295698  return (void *)((std::map< std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > > *) ((CStdPtrMap< std::string,Structure > *) x));
295699 }
295700 static void *_p_CStdMapT_std__string_RigidBody_p_tTo_p_std__mapT_std__string_RigidBody_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295701  return (void *)((std::map< std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > > *) ((CStdMap< std::string,RigidBody * > *) x));
295702 }
295703 static void *_p_AnimatSim__Charting__MemoryChartTo_p_AnimatSim__ActivatedItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295705 }
295706 static void *_p_AnimatSim__Recording__KeyFrameTo_p_AnimatSim__ActivatedItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295707  return (void *)((AnimatSim::ActivatedItem *) ((AnimatSim::Recording::KeyFrame *) x));
295708 }
295709 static void *_p_AnimatSim__Charting__DataChartTo_p_AnimatSim__ActivatedItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295710  return (void *)((AnimatSim::ActivatedItem *) ((AnimatSim::Charting::DataChart *) x));
295711 }
295712 static void *_p_AnimatSim__Charting__ArrayChartTo_p_AnimatSim__ActivatedItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295714 }
295715 static void *_p_AnimatSim__ExternalStimuli__VoltageClampTo_p_AnimatSim__ActivatedItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295717 }
295718 static void *_p_AnimatSim__ExternalStimuli__PropertyControlStimulusTo_p_AnimatSim__ActivatedItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295720 }
295721 static void *_p_AnimatSim__Charting__FileChartTo_p_AnimatSim__ActivatedItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295723 }
295724 static void *_p_AnimatSim__ExternalStimuli__ForceStimulusTo_p_AnimatSim__ActivatedItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295726 }
295727 static void *_p_AnimatSim__ExternalStimuli__MotorStimulusTo_p_AnimatSim__ActivatedItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295729 }
295730 static void *_p_AnimatSim__ExternalStimuli__EnablerStimulusTo_p_AnimatSim__ActivatedItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295732 }
295733 static void *_p_AnimatSim__ExternalStimuli__CurrentStimulusTo_p_AnimatSim__ActivatedItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295735 }
295736 static void *_p_AnimatSim__ExternalStimuli__ExternalInputStimulusTo_p_AnimatSim__ActivatedItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295738 }
295739 static void *_p_AnimatSim__ExternalStimuli__ExternalStimulusTo_p_AnimatSim__ActivatedItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295741 }
295742 static void *_p_AnimatSim__ExternalStimuli__InverseMuscleCurrentTo_p_AnimatSim__ActivatedItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295744 }
295745 static void *_p_AnimatSim__Environment__Bodies__TerrainTo_p_AnimatSim__Environment__Bodies__Mesh(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295747 }
295748 static void *_p_FiringRateSim__Synapses__GatedSynapseTo_p_FiringRateSim__Synapses__Synapse(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295750 }
295751 static void *_p_FiringRateSim__Synapses__ModulatedSynapseTo_p_FiringRateSim__Synapses__Synapse(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295753 }
295754 static void *_p_FiringRateSim__Synapses__ModulateNeuronPropSynapseTo_p_FiringRateSim__Synapses__Synapse(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295756 }
295757 static void *_p_CStdPtrArrayT_Synapse_tTo_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295758  return (void *)((std::vector< Synapse *,std::allocator< Synapse * > > *) ((CStdPtrArray< Synapse > *) x));
295759 }
295760 static void *_p_CStdArrayT_RobotPartInterface_p_tTo_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295761  return (void *)((std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > *) ((CStdArray< RobotPartInterface * > *) x));
295762 }
295763 static void *_p_CStdPtrArrayT_RobotPartInterface_tTo_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295764  return (void *)((std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > *) ((CStdPtrArray< RobotPartInterface > *) x));
295765 }
295766 static void *_p_CStdPtrArrayT_ReceptiveFieldPair_tTo_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295767  return (void *)((std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > *) ((CStdPtrArray< ReceptiveFieldPair > *) x));
295768 }
295769 static void *_p_CStdArrayT_KeyFrame_p_tTo_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295770  return (void *)((std::vector< KeyFrame *,std::allocator< KeyFrame * > > *) ((CStdArray< KeyFrame * > *) x));
295771 }
295772 static void *_p_AnimatSim__Environment__Bodies__SphereTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295774 }
295775 static void *_p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295777 }
295778 static void *_p_AnimatSim__Environment__Bodies__BoxTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295780 }
295781 static void *_p_AnimatSim__Environment__Bodies__MouthTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295783 }
295784 static void *_p_AnimatSim__Environment__Bodies__PlaneTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295786 }
295787 static void *_p_AnimatSim__Environment__Bodies__SensorTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295789 }
295790 static void *_p_AnimatSim__Environment__Bodies__ConeTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295792 }
295793 static void *_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295795 }
295796 static void *_p_AnimatSim__Environment__Bodies__OdorSensorTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295798 }
295799 static void *_p_AnimatSim__Environment__Bodies__TorusTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295801 }
295802 static void *_p_AnimatSim__Environment__Bodies__AttachmentTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295804 }
295805 static void *_p_AnimatSim__Environment__Bodies__MuscleBaseTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295807 }
295808 static void *_p_AnimatSim__Environment__Bodies__FluidPlaneTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295810 }
295811 static void *_p_AnimatSim__Environment__Bodies__EllipsoidTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295813 }
295814 static void *_p_AnimatSim__Environment__Bodies__MeshTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295816 }
295817 static void *_p_AnimatSim__Environment__Bodies__CylinderTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295819 }
295820 static void *_p_AnimatSim__Environment__Bodies__SpringTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295822 }
295823 static void *_p_AnimatSim__Environment__Bodies__StomachTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295825 }
295826 static void *_p_AnimatSim__Environment__Bodies__LineBaseTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295828 }
295829 static void *_p_AnimatSim__Environment__Bodies__TerrainTo_p_AnimatSim__Environment__RigidBody(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295831 }
295832 static void *_p_AnimatSim__Environment__Bodies__SphereTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295834 }
295835 static void *_p_AnimatSim__Environment__Bodies__BoxTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295837 }
295838 static void *_p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295840 }
295841 static void *_p_AnimatSim__Environment__Bodies__MouthTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295843 }
295844 static void *_p_AnimatSim__Environment__Bodies__PlaneTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295846 }
295847 static void *_p_AnimatSim__Environment__Joints__LinearJointTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295849 }
295850 static void *_p_AnimatSim__Environment__Joints__BallSocketTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295852 }
295853 static void *_p_AnimatSim__Environment__Bodies__ConeTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295855 }
295856 static void *_p_AnimatSim__Environment__Bodies__SensorTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295858 }
295859 static void *_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295861 }
295862 static void *_p_AnimatSim__Environment__Bodies__OdorSensorTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295864 }
295865 static void *_p_AnimatSim__Environment__MotorizedJointTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295867 }
295868 static void *_p_AnimatSim__Environment__Bodies__TorusTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295870 }
295871 static void *_p_AnimatSim__Environment__RigidBodyTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295873 }
295874 static void *_p_AnimatSim__Environment__Bodies__AttachmentTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295876 }
295877 static void *_p_AnimatSim__Environment__Bodies__MuscleBaseTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295879 }
295880 static void *_p_AnimatSim__Environment__OrganismTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295882 }
295883 static void *_p_AnimatSim__Environment__Bodies__FluidPlaneTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295885 }
295886 static void *_p_AnimatSim__Environment__Bodies__EllipsoidTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295888 }
295889 static void *_p_AnimatSim__Environment__Bodies__MeshTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295891 }
295892 static void *_p_AnimatSim__Environment__LightTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295894 }
295895 static void *_p_AnimatSim__Environment__Bodies__CylinderTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295897 }
295898 static void *_p_AnimatSim__Environment__JointTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295900 }
295901 static void *_p_AnimatSim__Environment__Bodies__SpringTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295903 }
295904 static void *_p_AnimatSim__Environment__Bodies__StomachTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295906 }
295907 static void *_p_AnimatSim__Environment__Joints__HingeTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295909 }
295910 static void *_p_AnimatSim__Environment__Joints__RPROTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295912 }
295913 static void *_p_AnimatSim__Environment__Bodies__LineBaseTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295915 }
295916 static void *_p_AnimatSim__Environment__StructureTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295918 }
295919 static void *_p_AnimatSim__Environment__Joints__PrismaticTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295921 }
295922 static void *_p_AnimatSim__Environment__BodyPartTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295924 }
295925 static void *_p_AnimatSim__Environment__Bodies__TerrainTo_p_AnimatSim__Environment__MovableItem(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295927 }
295928 static void *_p_CStdPtrArrayT_Light_tTo_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295929  return (void *)((std::vector< Light *,std::allocator< Light * > > *) ((CStdPtrArray< Light > *) x));
295930 }
295931 static void *_p_CStdCircularArrayT_float_tTo_p_CStdArrayT_float_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295932  return (void *)((CStdArray< float > *) ((CStdCircularArray< float > *) x));
295933 }
295934 static void *_p_CStdPtrMapT_std__string_Organism_tTo_p_std__mapT_std__string_Organism_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295935  return (void *)((std::map< std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > > *) ((CStdPtrMap< std::string,Organism > *) x));
295936 }
295937 static void *_p_CStdPtrMapT_std__string_OdorType_tTo_p_std__mapT_std__string_OdorType_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295938  return (void *)((std::map< std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > > *) ((CStdPtrMap< std::string,OdorType > *) x));
295939 }
295940 static void *_p_AnimatSim__Adapters__PropertyControlAdapterTo_p_AnimatSim__Adapters__Adapter(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295942 }
295943 static void *_p_AnimatSim__Adapters__ContactAdapterTo_p_AnimatSim__Adapters__Adapter(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295945 }
295946 static void *_p_CStdArrayT_Adapter_p_tTo_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295947  return (void *)((std::vector< Adapter *,std::allocator< Adapter * > > *) ((CStdArray< Adapter * > *) x));
295948 }
295949 static void *_p_CStdPtrArrayT_Adapter_tTo_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295950  return (void *)((std::vector< Adapter *,std::allocator< Adapter * > > *) ((CStdPtrArray< Adapter > *) x));
295951 }
295952 static void *_p_CStdPtrMapT_std__string_ActivatedItem_tTo_p_std__mapT_std__string_ActivatedItem_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295953  return (void *)((std::map< std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > > *) ((CStdPtrMap< std::string,ActivatedItem > *) x));
295954 }
295955 static void *_p_AnimatSim__Environment__Joints__RPROTo_p_AnimatSim__Environment__Joint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295957 }
295958 static void *_p_AnimatSim__Environment__Joints__HingeTo_p_AnimatSim__Environment__Joint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295960 }
295961 static void *_p_AnimatSim__Environment__MotorizedJointTo_p_AnimatSim__Environment__Joint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295963 }
295964 static void *_p_AnimatSim__Environment__Joints__LinearJointTo_p_AnimatSim__Environment__Joint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295966 }
295967 static void *_p_AnimatSim__Environment__Joints__BallSocketTo_p_AnimatSim__Environment__Joint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295969 }
295970 static void *_p_AnimatSim__Environment__Joints__PrismaticTo_p_AnimatSim__Environment__Joint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295972 }
295973 static void *_p_CStdArrayT_double_tTo_p_std__vectorT_double_std__allocatorT_double_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295974  return (void *)((std::vector< double,std::allocator< double > > *) ((CStdArray< double > *) x));
295975 }
295976 static void *_p_CStdPtrArrayT_SimulationWindow_tTo_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295977  return (void *)((std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > *) ((CStdPtrArray< SimulationWindow > *) x));
295978 }
295979 static void *_p_CStdPtrArrayT_SimulationThread_tTo_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295980  return (void *)((std::vector< SimulationThread *,std::allocator< SimulationThread * > > *) ((CStdPtrArray< SimulationThread > *) x));
295981 }
295982 static void *_p_AnimatSim__Environment__Joints__HingeTo_p_AnimatSim__Environment__MotorizedJoint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295984 }
295985 static void *_p_AnimatSim__Environment__Joints__PrismaticTo_p_AnimatSim__Environment__MotorizedJoint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295987 }
295988 static void *_p_CStdPtrArrayT_TypeProperty_tTo_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295989  return (void *)((std::vector< TypeProperty *,std::allocator< TypeProperty * > > *) ((CStdPtrArray< TypeProperty > *) x));
295990 }
295991 static void *_p_AnimatSim__Environment__Bodies__MouthTo_p_AnimatSim__Environment__Bodies__Sensor(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295993 }
295994 static void *_p_AnimatSim__Environment__Bodies__AttachmentTo_p_AnimatSim__Environment__Bodies__Sensor(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295996 }
295997 static void *_p_AnimatSim__Environment__Bodies__OdorSensorTo_p_AnimatSim__Environment__Bodies__Sensor(void *x, int *SWIGUNUSEDPARM(newmemory)) {
295999 }
296000 static void *_p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_tTo_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(void *x, int *SWIGUNUSEDPARM(newmemory)) {
296001  return (void *)((std::map< std::string,StdUtils::IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,StdUtils::IStdClassFactory * > > > *) ((CStdMap< std::string,IStdClassFactory * > *) x));
296002 }
296003 static swig_type_info _swigt__p_ActivatedItem = {"_p_ActivatedItem", "std::vector< ActivatedItem * >::value_type|std::map< std::string,ActivatedItem * >::mapped_type|ActivatedItem *", 0, 0, (void*)0, 0};
296004 static swig_type_info _swigt__p_Adapter = {"_p_Adapter", "Adapter *|std::vector< Adapter * >::value_type", 0, 0, (void*)0, 0};
296005 static swig_type_info _swigt__p_AnimatBase = {"_p_AnimatBase", "std::map< std::string,AnimatBase * >::mapped_type|AnimatBase *", 0, 0, (void*)0, 0};
296006 static swig_type_info _swigt__p_AnimatPropertyType = {"_p_AnimatPropertyType", "AnimatPropertyType *", 0, 0, (void*)0, 0};
296007 static swig_type_info _swigt__p_AnimatSim__ActivatedItem = {"_p_AnimatSim__ActivatedItem", "AnimatSim::ActivatedItem *", 0, 0, (void*)0, 0};
296008 static swig_type_info _swigt__p_AnimatSim__ActivatedItemMgr = {"_p_AnimatSim__ActivatedItemMgr", "AnimatSim::ActivatedItemMgr *", 0, 0, (void*)0, 0};
296009 static swig_type_info _swigt__p_AnimatSim__Adapters__Adapter = {"_p_AnimatSim__Adapters__Adapter", "AnimatSim::Adapters::Adapter *", 0, 0, (void*)0, 0};
296010 static swig_type_info _swigt__p_AnimatSim__Adapters__ContactAdapter = {"_p_AnimatSim__Adapters__ContactAdapter", "AnimatSim::Adapters::ContactAdapter *", 0, 0, (void*)0, 0};
296011 static swig_type_info _swigt__p_AnimatSim__Adapters__PropertyControlAdapter = {"_p_AnimatSim__Adapters__PropertyControlAdapter", "AnimatSim::Adapters::PropertyControlAdapter *", 0, 0, (void*)0, 0};
296012 static swig_type_info _swigt__p_AnimatSim__AnimatBase = {"_p_AnimatSim__AnimatBase", "AnimatSim::AnimatBase *", 0, 0, (void*)0, 0};
296013 static swig_type_info _swigt__p_AnimatSim__Behavior__NervousSystem = {"_p_AnimatSim__Behavior__NervousSystem", "AnimatSim::Behavior::NervousSystem *", 0, 0, (void*)0, 0};
296014 static swig_type_info _swigt__p_AnimatSim__Behavior__NeuralModule = {"_p_AnimatSim__Behavior__NeuralModule", "AnimatSim::Behavior::NeuralModule *", 0, 0, (void*)0, 0};
296015 static swig_type_info _swigt__p_AnimatSim__Behavior__PhysicsNeuralModule = {"_p_AnimatSim__Behavior__PhysicsNeuralModule", "AnimatSim::Behavior::PhysicsNeuralModule *", 0, 0, (void*)0, 0};
296016 static swig_type_info _swigt__p_AnimatSim__BoundingBox = {"_p_AnimatSim__BoundingBox", "AnimatSim::BoundingBox *", 0, 0, (void*)0, 0};
296017 static swig_type_info _swigt__p_AnimatSim__Charting__ArrayChart = {"_p_AnimatSim__Charting__ArrayChart", "AnimatSim::Charting::ArrayChart *", 0, 0, (void*)0, 0};
296018 static swig_type_info _swigt__p_AnimatSim__Charting__DataChart = {"_p_AnimatSim__Charting__DataChart", "AnimatSim::Charting::DataChart *", 0, 0, (void*)0, 0};
296019 static swig_type_info _swigt__p_AnimatSim__Charting__DataChartMgr = {"_p_AnimatSim__Charting__DataChartMgr", "AnimatSim::Charting::DataChartMgr *", 0, 0, (void*)0, 0};
296020 static swig_type_info _swigt__p_AnimatSim__Charting__DataColumn = {"_p_AnimatSim__Charting__DataColumn", "AnimatSim::Charting::DataColumn *", 0, 0, (void*)0, 0};
296021 static swig_type_info _swigt__p_AnimatSim__Charting__FileChart = {"_p_AnimatSim__Charting__FileChart", "AnimatSim::Charting::FileChart *", 0, 0, (void*)0, 0};
296022 static swig_type_info _swigt__p_AnimatSim__Charting__MemoryChart = {"_p_AnimatSim__Charting__MemoryChart", "AnimatSim::Charting::MemoryChart *", 0, 0, (void*)0, 0};
296023 static swig_type_info _swigt__p_AnimatSim__DelayLine = {"_p_AnimatSim__DelayLine", "AnimatSim::DelayLine *", 0, 0, (void*)0, 0};
296024 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__Attachment = {"_p_AnimatSim__Environment__Bodies__Attachment", "AnimatSim::Environment::Bodies::Attachment *", 0, 0, (void*)0, 0};
296025 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__Box = {"_p_AnimatSim__Environment__Bodies__Box", "AnimatSim::Environment::Bodies::Box *", 0, 0, (void*)0, 0};
296026 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__Cone = {"_p_AnimatSim__Environment__Bodies__Cone", "AnimatSim::Environment::Bodies::Cone *", 0, 0, (void*)0, 0};
296027 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__Cylinder = {"_p_AnimatSim__Environment__Bodies__Cylinder", "AnimatSim::Environment::Bodies::Cylinder *", 0, 0, (void*)0, 0};
296028 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__Ellipsoid = {"_p_AnimatSim__Environment__Bodies__Ellipsoid", "AnimatSim::Environment::Bodies::Ellipsoid *", 0, 0, (void*)0, 0};
296029 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__FluidPlane = {"_p_AnimatSim__Environment__Bodies__FluidPlane", "AnimatSim::Environment::Bodies::FluidPlane *", 0, 0, (void*)0, 0};
296030 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__LineBase = {"_p_AnimatSim__Environment__Bodies__LineBase", "AnimatSim::Environment::Bodies::LineBase *", 0, 0, (void*)0, 0};
296031 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__LinearHillMuscle = {"_p_AnimatSim__Environment__Bodies__LinearHillMuscle", "AnimatSim::Environment::Bodies::LinearHillMuscle *", 0, 0, (void*)0, 0};
296032 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor = {"_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor", "AnimatSim::Environment::Bodies::LinearHillStretchReceptor *", 0, 0, (void*)0, 0};
296033 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__Mesh = {"_p_AnimatSim__Environment__Bodies__Mesh", "AnimatSim::Environment::Bodies::Mesh *", 0, 0, (void*)0, 0};
296034 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__Mouth = {"_p_AnimatSim__Environment__Bodies__Mouth", "AnimatSim::Environment::Bodies::Mouth *", 0, 0, (void*)0, 0};
296035 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__MuscleBase = {"_p_AnimatSim__Environment__Bodies__MuscleBase", "AnimatSim::Environment::Bodies::MuscleBase *", 0, 0, (void*)0, 0};
296036 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__OdorSensor = {"_p_AnimatSim__Environment__Bodies__OdorSensor", "AnimatSim::Environment::Bodies::OdorSensor *", 0, 0, (void*)0, 0};
296037 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__Plane = {"_p_AnimatSim__Environment__Bodies__Plane", "AnimatSim::Environment::Bodies::Plane *", 0, 0, (void*)0, 0};
296038 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__Sensor = {"_p_AnimatSim__Environment__Bodies__Sensor", "AnimatSim::Environment::Bodies::Sensor *", 0, 0, (void*)0, 0};
296039 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__Sphere = {"_p_AnimatSim__Environment__Bodies__Sphere", "AnimatSim::Environment::Bodies::Sphere *", 0, 0, (void*)0, 0};
296040 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__Spring = {"_p_AnimatSim__Environment__Bodies__Spring", "AnimatSim::Environment::Bodies::Spring *", 0, 0, (void*)0, 0};
296041 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__Stomach = {"_p_AnimatSim__Environment__Bodies__Stomach", "AnimatSim::Environment::Bodies::Stomach *", 0, 0, (void*)0, 0};
296042 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__Terrain = {"_p_AnimatSim__Environment__Bodies__Terrain", "AnimatSim::Environment::Bodies::Terrain *", 0, 0, (void*)0, 0};
296043 static swig_type_info _swigt__p_AnimatSim__Environment__Bodies__Torus = {"_p_AnimatSim__Environment__Bodies__Torus", "AnimatSim::Environment::Bodies::Torus *", 0, 0, (void*)0, 0};
296044 static swig_type_info _swigt__p_AnimatSim__Environment__BodyPart = {"_p_AnimatSim__Environment__BodyPart", "AnimatSim::Environment::BodyPart *", 0, 0, (void*)0, 0};
296045 static swig_type_info _swigt__p_AnimatSim__Environment__CollisionPair = {"_p_AnimatSim__Environment__CollisionPair", "AnimatSim::Environment::CollisionPair *", 0, 0, (void*)0, 0};
296046 static swig_type_info _swigt__p_AnimatSim__Environment__ConstraintFriction = {"_p_AnimatSim__Environment__ConstraintFriction", "AnimatSim::Environment::ConstraintFriction *", 0, 0, (void*)0, 0};
296047 static swig_type_info _swigt__p_AnimatSim__Environment__ConstraintLimit = {"_p_AnimatSim__Environment__ConstraintLimit", "AnimatSim::Environment::ConstraintLimit *", 0, 0, (void*)0, 0};
296048 static swig_type_info _swigt__p_AnimatSim__Environment__ConstraintRelaxation = {"_p_AnimatSim__Environment__ConstraintRelaxation", "AnimatSim::Environment::ConstraintRelaxation *", 0, 0, (void*)0, 0};
296049 static swig_type_info _swigt__p_AnimatSim__Environment__ContactSensor = {"_p_AnimatSim__Environment__ContactSensor", "AnimatSim::Environment::ContactSensor *", 0, 0, (void*)0, 0};
296050 static swig_type_info _swigt__p_AnimatSim__Environment__IMotorizedJoint = {"_p_AnimatSim__Environment__IMotorizedJoint", "AnimatSim::Environment::IMotorizedJoint *", 0, 0, (void*)0, 0};
296051 static swig_type_info _swigt__p_AnimatSim__Environment__IPhysicsBody = {"_p_AnimatSim__Environment__IPhysicsBody", "AnimatSim::Environment::IPhysicsBody *", 0, 0, (void*)0, 0};
296052 static swig_type_info _swigt__p_AnimatSim__Environment__IPhysicsMovableItem = {"_p_AnimatSim__Environment__IPhysicsMovableItem", "AnimatSim::Environment::IPhysicsMovableItem *", 0, 0, (void*)0, 0};
296053 static swig_type_info _swigt__p_AnimatSim__Environment__Joint = {"_p_AnimatSim__Environment__Joint", "AnimatSim::Environment::Joint *", 0, 0, (void*)0, 0};
296054 static swig_type_info _swigt__p_AnimatSim__Environment__Joints__BallSocket = {"_p_AnimatSim__Environment__Joints__BallSocket", "AnimatSim::Environment::Joints::BallSocket *", 0, 0, (void*)0, 0};
296055 static swig_type_info _swigt__p_AnimatSim__Environment__Joints__Hinge = {"_p_AnimatSim__Environment__Joints__Hinge", "AnimatSim::Environment::Joints::Hinge *", 0, 0, (void*)0, 0};
296056 static swig_type_info _swigt__p_AnimatSim__Environment__Joints__LinearJoint = {"_p_AnimatSim__Environment__Joints__LinearJoint", "AnimatSim::Environment::Joints::LinearJoint *", 0, 0, (void*)0, 0};
296057 static swig_type_info _swigt__p_AnimatSim__Environment__Joints__Prismatic = {"_p_AnimatSim__Environment__Joints__Prismatic", "AnimatSim::Environment::Joints::Prismatic *", 0, 0, (void*)0, 0};
296058 static swig_type_info _swigt__p_AnimatSim__Environment__Joints__RPRO = {"_p_AnimatSim__Environment__Joints__RPRO", "AnimatSim::Environment::Joints::RPRO *", 0, 0, (void*)0, 0};
296059 static swig_type_info _swigt__p_AnimatSim__Environment__Light = {"_p_AnimatSim__Environment__Light", "AnimatSim::Environment::Light *", 0, 0, (void*)0, 0};
296060 static swig_type_info _swigt__p_AnimatSim__Environment__LightManager = {"_p_AnimatSim__Environment__LightManager", "AnimatSim::Environment::LightManager *", 0, 0, (void*)0, 0};
296061 static swig_type_info _swigt__p_AnimatSim__Environment__MaterialType = {"_p_AnimatSim__Environment__MaterialType", "AnimatSim::Environment::MaterialType *", 0, 0, (void*)0, 0};
296062 static swig_type_info _swigt__p_AnimatSim__Environment__Materials = {"_p_AnimatSim__Environment__Materials", "AnimatSim::Environment::Materials *", 0, 0, (void*)0, 0};
296063 static swig_type_info _swigt__p_AnimatSim__Environment__MotorizedJoint = {"_p_AnimatSim__Environment__MotorizedJoint", "AnimatSim::Environment::MotorizedJoint *", 0, 0, (void*)0, 0};
296064 static swig_type_info _swigt__p_AnimatSim__Environment__MovableItem = {"_p_AnimatSim__Environment__MovableItem", "AnimatSim::Environment::MovableItem *", 0, 0, (void*)0, 0};
296065 static swig_type_info _swigt__p_AnimatSim__Environment__Odor = {"_p_AnimatSim__Environment__Odor", "AnimatSim::Environment::Odor *", 0, 0, (void*)0, 0};
296066 static swig_type_info _swigt__p_AnimatSim__Environment__OdorType = {"_p_AnimatSim__Environment__OdorType", "AnimatSim::Environment::OdorType *", 0, 0, (void*)0, 0};
296067 static swig_type_info _swigt__p_AnimatSim__Environment__Organism = {"_p_AnimatSim__Environment__Organism", "AnimatSim::Environment::Organism *", 0, 0, (void*)0, 0};
296068 static swig_type_info _swigt__p_AnimatSim__Environment__ReceptiveFieldPair = {"_p_AnimatSim__Environment__ReceptiveFieldPair", "AnimatSim::Environment::ReceptiveFieldPair *", 0, 0, (void*)0, 0};
296069 static swig_type_info _swigt__p_AnimatSim__Environment__RigidBody = {"_p_AnimatSim__Environment__RigidBody", "AnimatSim::Environment::RigidBody *", 0, 0, (void*)0, 0};
296070 static swig_type_info _swigt__p_AnimatSim__Environment__Structure = {"_p_AnimatSim__Environment__Structure", "AnimatSim::Environment::Structure *", 0, 0, (void*)0, 0};
296071 static swig_type_info _swigt__p_AnimatSim__ExternalStimuli__CurrentStimulus = {"_p_AnimatSim__ExternalStimuli__CurrentStimulus", "AnimatSim::ExternalStimuli::CurrentStimulus *", 0, 0, (void*)0, 0};
296072 static swig_type_info _swigt__p_AnimatSim__ExternalStimuli__EnablerStimulus = {"_p_AnimatSim__ExternalStimuli__EnablerStimulus", "AnimatSim::ExternalStimuli::EnablerStimulus *", 0, 0, (void*)0, 0};
296073 static swig_type_info _swigt__p_AnimatSim__ExternalStimuli__ExternalInputStimulus = {"_p_AnimatSim__ExternalStimuli__ExternalInputStimulus", "AnimatSim::ExternalStimuli::ExternalInputStimulus *", 0, 0, (void*)0, 0};
296074 static swig_type_info _swigt__p_AnimatSim__ExternalStimuli__ExternalStimuliMgr = {"_p_AnimatSim__ExternalStimuli__ExternalStimuliMgr", "AnimatSim::ExternalStimuli::ExternalStimuliMgr *", 0, 0, (void*)0, 0};
296075 static swig_type_info _swigt__p_AnimatSim__ExternalStimuli__ExternalStimulus = {"_p_AnimatSim__ExternalStimuli__ExternalStimulus", "AnimatSim::ExternalStimuli::ExternalStimulus *", 0, 0, (void*)0, 0};
296076 static swig_type_info _swigt__p_AnimatSim__ExternalStimuli__ForceStimulus = {"_p_AnimatSim__ExternalStimuli__ForceStimulus", "AnimatSim::ExternalStimuli::ForceStimulus *", 0, 0, (void*)0, 0};
296077 static swig_type_info _swigt__p_AnimatSim__ExternalStimuli__InverseMuscleCurrent = {"_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent", "AnimatSim::ExternalStimuli::InverseMuscleCurrent *", 0, 0, (void*)0, 0};
296078 static swig_type_info _swigt__p_AnimatSim__ExternalStimuli__MotorStimulus = {"_p_AnimatSim__ExternalStimuli__MotorStimulus", "AnimatSim::ExternalStimuli::MotorStimulus *", 0, 0, (void*)0, 0};
296079 static swig_type_info _swigt__p_AnimatSim__ExternalStimuli__PropertyControlStimulus = {"_p_AnimatSim__ExternalStimuli__PropertyControlStimulus", "AnimatSim::ExternalStimuli::PropertyControlStimulus *", 0, 0, (void*)0, 0};
296080 static swig_type_info _swigt__p_AnimatSim__ExternalStimuli__VoltageClamp = {"_p_AnimatSim__ExternalStimuli__VoltageClamp", "AnimatSim::ExternalStimuli::VoltageClamp *", 0, 0, (void*)0, 0};
296081 static swig_type_info _swigt__p_AnimatSim__Gains__BellGain = {"_p_AnimatSim__Gains__BellGain", "AnimatSim::Gains::BellGain *", 0, 0, (void*)0, 0};
296082 static swig_type_info _swigt__p_AnimatSim__Gains__EquationGain = {"_p_AnimatSim__Gains__EquationGain", "AnimatSim::Gains::EquationGain *", 0, 0, (void*)0, 0};
296083 static swig_type_info _swigt__p_AnimatSim__Gains__Gain = {"_p_AnimatSim__Gains__Gain", "AnimatSim::Gains::Gain *", 0, 0, (void*)0, 0};
296084 static swig_type_info _swigt__p_AnimatSim__Gains__LengthTensionGain = {"_p_AnimatSim__Gains__LengthTensionGain", "AnimatSim::Gains::LengthTensionGain *", 0, 0, (void*)0, 0};
296085 static swig_type_info _swigt__p_AnimatSim__Gains__PolynomialGain = {"_p_AnimatSim__Gains__PolynomialGain", "AnimatSim::Gains::PolynomialGain *", 0, 0, (void*)0, 0};
296086 static swig_type_info _swigt__p_AnimatSim__Gains__SigmoidGain = {"_p_AnimatSim__Gains__SigmoidGain", "AnimatSim::Gains::SigmoidGain *", 0, 0, (void*)0, 0};
296087 static swig_type_info _swigt__p_AnimatSim__Hud = {"_p_AnimatSim__Hud", "AnimatSim::Hud *", 0, 0, (void*)0, 0};
296088 static swig_type_info _swigt__p_AnimatSim__HudItem = {"_p_AnimatSim__HudItem", "AnimatSim::HudItem *", 0, 0, (void*)0, 0};
296089 static swig_type_info _swigt__p_AnimatSim__HudText = {"_p_AnimatSim__HudText", "AnimatSim::HudText *", 0, 0, (void*)0, 0};
296090 static swig_type_info _swigt__p_AnimatSim__IMovableItemCallback = {"_p_AnimatSim__IMovableItemCallback", "AnimatSim::IMovableItemCallback *", 0, 0, (void*)0, 0};
296091 static swig_type_info _swigt__p_AnimatSim__ISimGUICallback = {"_p_AnimatSim__ISimGUICallback", "AnimatSim::ISimGUICallback *", 0, 0, (void*)0, 0};
296092 static swig_type_info _swigt__p_AnimatSim__Link = {"_p_AnimatSim__Link", "AnimatSim::Link *", 0, 0, (void*)0, 0};
296093 static swig_type_info _swigt__p_AnimatSim__Node = {"_p_AnimatSim__Node", "AnimatSim::Node *", 0, 0, (void*)0, 0};
296094 static swig_type_info _swigt__p_AnimatSim__Recording__KeyFrame = {"_p_AnimatSim__Recording__KeyFrame", "AnimatSim::Recording::KeyFrame *", 0, 0, (void*)0, 0};
296095 static swig_type_info _swigt__p_AnimatSim__Recording__SimulationRecorder = {"_p_AnimatSim__Recording__SimulationRecorder", "AnimatSim::Recording::SimulationRecorder *", 0, 0, (void*)0, 0};
296096 static swig_type_info _swigt__p_AnimatSim__Robotics__PassThroughLinkage = {"_p_AnimatSim__Robotics__PassThroughLinkage", "AnimatSim::Robotics::PassThroughLinkage *", 0, 0, (void*)0, 0};
296097 static swig_type_info _swigt__p_AnimatSim__Robotics__PulsedLinkage = {"_p_AnimatSim__Robotics__PulsedLinkage", "AnimatSim::Robotics::PulsedLinkage *", 0, 0, (void*)0, 0};
296098 static swig_type_info _swigt__p_AnimatSim__Robotics__RemoteControl = {"_p_AnimatSim__Robotics__RemoteControl", "AnimatSim::Robotics::RemoteControl *", 0, 0, (void*)0, 0};
296099 static swig_type_info _swigt__p_AnimatSim__Robotics__RemoteControlLinkage = {"_p_AnimatSim__Robotics__RemoteControlLinkage", "AnimatSim::Robotics::RemoteControlLinkage *", 0, 0, (void*)0, 0};
296100 static swig_type_info _swigt__p_AnimatSim__Robotics__RobotIOControl = {"_p_AnimatSim__Robotics__RobotIOControl", "AnimatSim::Robotics::RobotIOControl *", 0, 0, (void*)0, 0};
296101 static swig_type_info _swigt__p_AnimatSim__Robotics__RobotInterface = {"_p_AnimatSim__Robotics__RobotInterface", "AnimatSim::Robotics::RobotInterface *", 0, 0, (void*)0, 0};
296102 static swig_type_info _swigt__p_AnimatSim__Robotics__RobotPartInterface = {"_p_AnimatSim__Robotics__RobotPartInterface", "AnimatSim::Robotics::RobotPartInterface *", 0, 0, (void*)0, 0};
296103 static swig_type_info _swigt__p_AnimatSim__ScriptProcessor = {"_p_AnimatSim__ScriptProcessor", "AnimatSim::ScriptProcessor *", 0, 0, (void*)0, 0};
296104 static swig_type_info _swigt__p_AnimatSim__SimulationMgr = {"_p_AnimatSim__SimulationMgr", "AnimatSim::SimulationMgr *", 0, 0, (void*)0, 0};
296105 static swig_type_info _swigt__p_AnimatSim__SimulationThread = {"_p_AnimatSim__SimulationThread", "AnimatSim::SimulationThread *", 0, 0, (void*)0, 0};
296106 static swig_type_info _swigt__p_AnimatSim__SimulationWindow = {"_p_AnimatSim__SimulationWindow", "AnimatSim::SimulationWindow *", 0, 0, (void*)0, 0};
296107 static swig_type_info _swigt__p_AnimatSim__SimulationWindowMgr = {"_p_AnimatSim__SimulationWindowMgr", "AnimatSim::SimulationWindowMgr *", 0, 0, (void*)0, 0};
296108 static swig_type_info _swigt__p_AnimatSim__Simulator = {"_p_AnimatSim__Simulator", "AnimatSim::Simulator *", 0, 0, (void*)0, 0};
296109 static swig_type_info _swigt__p_Attachment = {"_p_Attachment", "std::vector< Attachment * >::value_type|Attachment *", 0, 0, (void*)0, 0};
296110 static swig_type_info _swigt__p_BodyPart = {"_p_BodyPart", "std::vector< BodyPart * >::value_type|BodyPart *", 0, 0, (void*)0, 0};
296111 static swig_type_info _swigt__p_BoundingBox = {"_p_BoundingBox", "BoundingBox *", 0, 0, (void*)0, 0};
296112 static swig_type_info _swigt__p_CStdArrayT_ActivatedItem_p_t = {"_p_CStdArrayT_ActivatedItem_p_t", "CStdArray< ActivatedItem * > *", 0, 0, (void*)0, 0};
296113 static swig_type_info _swigt__p_CStdArrayT_Adapter_p_t = {"_p_CStdArrayT_Adapter_p_t", "CStdArray< Adapter * > *", 0, 0, (void*)0, 0};
296114 static swig_type_info _swigt__p_CStdArrayT_AnimatSim__Environment__Bodies__Attachment_p_t = {"_p_CStdArrayT_AnimatSim__Environment__Bodies__Attachment_p_t", "CStdArray< AnimatSim::Environment::Bodies::Attachment * > *", 0, 0, (void*)0, 0};
296115 static swig_type_info _swigt__p_CStdArrayT_Attachment_p_t = {"_p_CStdArrayT_Attachment_p_t", "CStdArray< Attachment * > *", 0, 0, (void*)0, 0};
296116 static swig_type_info _swigt__p_CStdArrayT_BodyPart_p_t = {"_p_CStdArrayT_BodyPart_p_t", "CStdArray< BodyPart * > *", 0, 0, (void*)0, 0};
296117 static swig_type_info _swigt__p_CStdArrayT_KeyFrame_p_t = {"_p_CStdArrayT_KeyFrame_p_t", "CStdArray< KeyFrame * > *", 0, 0, (void*)0, 0};
296118 static swig_type_info _swigt__p_CStdArrayT_ModuleThreadProcessor_p_t = {"_p_CStdArrayT_ModuleThreadProcessor_p_t", "CStdArray< ModuleThreadProcessor * > *", 0, 0, (void*)0, 0};
296119 static swig_type_info _swigt__p_CStdArrayT_RigidBody_p_t = {"_p_CStdArrayT_RigidBody_p_t", "CStdArray< RigidBody * > *", 0, 0, (void*)0, 0};
296120 static swig_type_info _swigt__p_CStdArrayT_RobotPartInterface_p_t = {"_p_CStdArrayT_RobotPartInterface_p_t", "CStdArray< RobotPartInterface * > *", 0, 0, (void*)0, 0};
296121 static swig_type_info _swigt__p_CStdArrayT_double_t = {"_p_CStdArrayT_double_t", "CStdArray< double > *", 0, 0, (void*)0, 0};
296122 static swig_type_info _swigt__p_CStdArrayT_float_t = {"_p_CStdArrayT_float_t", "CStdArray< float > *", 0, 0, (void*)0, 0};
296123 static swig_type_info _swigt__p_CStdArrayT_int_t = {"_p_CStdArrayT_int_t", "CStdArray< int > *", 0, 0, (void*)0, 0};
296124 static swig_type_info _swigt__p_CStdArrayT_long_t = {"_p_CStdArrayT_long_t", "CStdArray< long > *", 0, 0, (void*)0, 0};
296125 static swig_type_info _swigt__p_CStdArrayT_std__string_t = {"_p_CStdArrayT_std__string_t", "CStdArray< std::string > *", 0, 0, (void*)0, 0};
296126 static swig_type_info _swigt__p_CStdCircularArrayT_float_t = {"_p_CStdCircularArrayT_float_t", "CStdCircularArray< float > *", 0, 0, (void*)0, 0};
296127 static swig_type_info _swigt__p_CStdMapT_std__string_AnimatBase_p_t = {"_p_CStdMapT_std__string_AnimatBase_p_t", "CStdMap< std::string,AnimatBase * > *", 0, 0, (void*)0, 0};
296128 static swig_type_info _swigt__p_CStdMapT_std__string_AnimatSim__AnimatBase_p_t = {"_p_CStdMapT_std__string_AnimatSim__AnimatBase_p_t", "CStdMap< std::string,AnimatSim::AnimatBase * > *", 0, 0, (void*)0, 0};
296129 static swig_type_info _swigt__p_CStdMapT_std__string_DataColumn_p_t = {"_p_CStdMapT_std__string_DataColumn_p_t", "CStdMap< std::string,DataColumn * > *", 0, 0, (void*)0, 0};
296130 static swig_type_info _swigt__p_CStdMapT_std__string_Joint_p_t = {"_p_CStdMapT_std__string_Joint_p_t", "CStdMap< std::string,Joint * > *", 0, 0, (void*)0, 0};
296131 static swig_type_info _swigt__p_CStdMapT_std__string_Odor_p_t = {"_p_CStdMapT_std__string_Odor_p_t", "CStdMap< std::string,Odor * > *", 0, 0, (void*)0, 0};
296132 static swig_type_info _swigt__p_CStdMapT_std__string_RigidBody_p_t = {"_p_CStdMapT_std__string_RigidBody_p_t", "CStdMap< std::string,RigidBody * > *", 0, 0, (void*)0, 0};
296133 static swig_type_info _swigt__p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t = {"_p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t", "CStdMap< std::string,IStdClassFactory * > *|CStdMap< std::string,StdUtils::IStdClassFactory * > *", 0, 0, (void*)0, 0};
296134 static swig_type_info _swigt__p_CStdMapT_std__string_Structure_p_t = {"_p_CStdMapT_std__string_Structure_p_t", "CStdMap< std::string,Structure * > *", 0, 0, (void*)0, 0};
296135 static swig_type_info _swigt__p_CStdPointT_double_t = {"_p_CStdPointT_double_t", "CStdPoint< double > *", 0, 0, (void*)0, 0};
296136 static swig_type_info _swigt__p_CStdPointT_float_t = {"_p_CStdPointT_float_t", "CStdPoint< float > *", 0, 0, (void*)0, 0};
296137 static swig_type_info _swigt__p_CStdPointT_int_t = {"_p_CStdPointT_int_t", "CStdPoint< int > *", 0, 0, (void*)0, 0};
296138 static swig_type_info _swigt__p_CStdPointT_long_t = {"_p_CStdPointT_long_t", "CStdPoint< long > *", 0, 0, (void*)0, 0};
296139 static swig_type_info _swigt__p_CStdPtrArrayT_Adapter_t = {"_p_CStdPtrArrayT_Adapter_t", "CStdPtrArray< Adapter > *", 0, 0, (void*)0, 0};
296140 static swig_type_info _swigt__p_CStdPtrArrayT_AnimatSim__Environment__CollisionPair_t = {"_p_CStdPtrArrayT_AnimatSim__Environment__CollisionPair_t", "CStdPtrArray< AnimatSim::Environment::CollisionPair > *", 0, 0, (void*)0, 0};
296141 static swig_type_info _swigt__p_CStdPtrArrayT_AnimatSim__Environment__Light_t = {"_p_CStdPtrArrayT_AnimatSim__Environment__Light_t", "CStdPtrArray< AnimatSim::Environment::Light > *", 0, 0, (void*)0, 0};
296142 static swig_type_info _swigt__p_CStdPtrArrayT_AnimatSim__Environment__RigidBody_t = {"_p_CStdPtrArrayT_AnimatSim__Environment__RigidBody_t", "CStdPtrArray< AnimatSim::Environment::RigidBody > *", 0, 0, (void*)0, 0};
296143 static swig_type_info _swigt__p_CStdPtrArrayT_AnimatSim__Robotics__RemoteControlLinkage_t = {"_p_CStdPtrArrayT_AnimatSim__Robotics__RemoteControlLinkage_t", "CStdPtrArray< AnimatSim::Robotics::RemoteControlLinkage > *", 0, 0, (void*)0, 0};
296144 static swig_type_info _swigt__p_CStdPtrArrayT_AnimatSim__SimulationThread_t = {"_p_CStdPtrArrayT_AnimatSim__SimulationThread_t", "CStdPtrArray< AnimatSim::SimulationThread > *", 0, 0, (void*)0, 0};
296145 static swig_type_info _swigt__p_CStdPtrArrayT_AnimatSim__SimulationWindow_t = {"_p_CStdPtrArrayT_AnimatSim__SimulationWindow_t", "CStdPtrArray< AnimatSim::SimulationWindow > *", 0, 0, (void*)0, 0};
296146 static swig_type_info _swigt__p_CStdPtrArrayT_CollisionPair_t = {"_p_CStdPtrArrayT_CollisionPair_t", "CStdPtrArray< CollisionPair > *", 0, 0, (void*)0, 0};
296147 static swig_type_info _swigt__p_CStdPtrArrayT_DataColumn_t = {"_p_CStdPtrArrayT_DataColumn_t", "CStdPtrArray< DataColumn > *", 0, 0, (void*)0, 0};
296148 static swig_type_info _swigt__p_CStdPtrArrayT_HudItem_t = {"_p_CStdPtrArrayT_HudItem_t", "CStdPtrArray< HudItem > *", 0, 0, (void*)0, 0};
296149 static swig_type_info _swigt__p_CStdPtrArrayT_Light_t = {"_p_CStdPtrArrayT_Light_t", "CStdPtrArray< Light > *", 0, 0, (void*)0, 0};
296150 static swig_type_info _swigt__p_CStdPtrArrayT_MaterialType_t = {"_p_CStdPtrArrayT_MaterialType_t", "CStdPtrArray< MaterialType > *", 0, 0, (void*)0, 0};
296151 static swig_type_info _swigt__p_CStdPtrArrayT_Neuron_t = {"_p_CStdPtrArrayT_Neuron_t", "CStdPtrArray< Neuron > *", 0, 0, (void*)0, 0};
296152 static swig_type_info _swigt__p_CStdPtrArrayT_ReceptiveFieldPair_t = {"_p_CStdPtrArrayT_ReceptiveFieldPair_t", "CStdPtrArray< ReceptiveFieldPair > *", 0, 0, (void*)0, 0};
296153 static swig_type_info _swigt__p_CStdPtrArrayT_ReceptiveField_t = {"_p_CStdPtrArrayT_ReceptiveField_t", "CStdPtrArray< ReceptiveField > *", 0, 0, (void*)0, 0};
296154 static swig_type_info _swigt__p_CStdPtrArrayT_RigidBody_t = {"_p_CStdPtrArrayT_RigidBody_t", "CStdPtrArray< RigidBody > *", 0, 0, (void*)0, 0};
296155 static swig_type_info _swigt__p_CStdPtrArrayT_RobotIOControl_t = {"_p_CStdPtrArrayT_RobotIOControl_t", "CStdPtrArray< RobotIOControl > *", 0, 0, (void*)0, 0};
296156 static swig_type_info _swigt__p_CStdPtrArrayT_RobotPartInterface_t = {"_p_CStdPtrArrayT_RobotPartInterface_t", "CStdPtrArray< RobotPartInterface > *", 0, 0, (void*)0, 0};
296157 static swig_type_info _swigt__p_CStdPtrArrayT_SimulationThread_t = {"_p_CStdPtrArrayT_SimulationThread_t", "CStdPtrArray< SimulationThread > *", 0, 0, (void*)0, 0};
296158 static swig_type_info _swigt__p_CStdPtrArrayT_SimulationWindow_t = {"_p_CStdPtrArrayT_SimulationWindow_t", "CStdPtrArray< SimulationWindow > *", 0, 0, (void*)0, 0};
296159 static swig_type_info _swigt__p_CStdPtrArrayT_StdUtils__CStdVariable_t = {"_p_CStdPtrArrayT_StdUtils__CStdVariable_t", "CStdPtrArray< CStdVariable > *|CStdPtrArray< StdUtils::CStdVariable > *", 0, 0, (void*)0, 0};
296160 static swig_type_info _swigt__p_CStdPtrArrayT_Synapse_t = {"_p_CStdPtrArrayT_Synapse_t", "CStdPtrArray< Synapse > *", 0, 0, (void*)0, 0};
296161 static swig_type_info _swigt__p_CStdPtrArrayT_TypeProperty_t = {"_p_CStdPtrArrayT_TypeProperty_t", "CStdPtrArray< TypeProperty > *", 0, 0, (void*)0, 0};
296162 static swig_type_info _swigt__p_CStdPtrMapT_std__string_ActivatedItem_t = {"_p_CStdPtrMapT_std__string_ActivatedItem_t", "CStdPtrMap< std::string,ActivatedItem > *", 0, 0, (void*)0, 0};
296163 static swig_type_info _swigt__p_CStdPtrMapT_std__string_NeuralModule_t = {"_p_CStdPtrMapT_std__string_NeuralModule_t", "CStdPtrMap< std::string,NeuralModule > *", 0, 0, (void*)0, 0};
296164 static swig_type_info _swigt__p_CStdPtrMapT_std__string_OdorType_t = {"_p_CStdPtrMapT_std__string_OdorType_t", "CStdPtrMap< std::string,OdorType > *", 0, 0, (void*)0, 0};
296165 static swig_type_info _swigt__p_CStdPtrMapT_std__string_Odor_t = {"_p_CStdPtrMapT_std__string_Odor_t", "CStdPtrMap< std::string,Odor > *", 0, 0, (void*)0, 0};
296166 static swig_type_info _swigt__p_CStdPtrMapT_std__string_Organism_t = {"_p_CStdPtrMapT_std__string_Organism_t", "CStdPtrMap< std::string,Organism > *", 0, 0, (void*)0, 0};
296167 static swig_type_info _swigt__p_CStdPtrMapT_std__string_Structure_t = {"_p_CStdPtrMapT_std__string_Structure_t", "CStdPtrMap< std::string,Structure > *", 0, 0, (void*)0, 0};
296168 static swig_type_info _swigt__p_CStdStackT_double_t = {"_p_CStdStackT_double_t", "CStdStack< double > *", 0, 0, (void*)0, 0};
296169 static swig_type_info _swigt__p_CollisionPair = {"_p_CollisionPair", "std::vector< CollisionPair * >::value_type|CollisionPair *", 0, 0, (void*)0, 0};
296170 static swig_type_info _swigt__p_ContactSensor = {"_p_ContactSensor", "ContactSensor *", 0, 0, (void*)0, 0};
296171 static swig_type_info _swigt__p_DataChart = {"_p_DataChart", "DataChart *", 0, 0, (void*)0, 0};
296172 static swig_type_info _swigt__p_DataChartMgr = {"_p_DataChartMgr", "DataChartMgr *", 0, 0, (void*)0, 0};
296173 static swig_type_info _swigt__p_DataColumn = {"_p_DataColumn", "std::map< std::string,DataColumn * >::mapped_type|std::vector< DataColumn * >::value_type|DataColumn *", 0, 0, (void*)0, 0};
296174 static swig_type_info _swigt__p_ExternalStimuliMgr = {"_p_ExternalStimuliMgr", "ExternalStimuliMgr *", 0, 0, (void*)0, 0};
296175 static swig_type_info _swigt__p_FiringRateModule = {"_p_FiringRateModule", "FiringRateModule *", 0, 0, (void*)0, 0};
296176 static swig_type_info _swigt__p_FiringRateSim__FiringRateModule = {"_p_FiringRateSim__FiringRateModule", "FiringRateSim::FiringRateModule *", 0, 0, (void*)0, 0};
296177 static swig_type_info _swigt__p_FiringRateSim__Neurons__BistableNeuron = {"_p_FiringRateSim__Neurons__BistableNeuron", "FiringRateSim::Neurons::BistableNeuron *", 0, 0, (void*)0, 0};
296178 static swig_type_info _swigt__p_FiringRateSim__Neurons__Neuron = {"_p_FiringRateSim__Neurons__Neuron", "FiringRateSim::Neurons::Neuron *", 0, 0, (void*)0, 0};
296179 static swig_type_info _swigt__p_FiringRateSim__Neurons__PacemakerNeuron = {"_p_FiringRateSim__Neurons__PacemakerNeuron", "FiringRateSim::Neurons::PacemakerNeuron *", 0, 0, (void*)0, 0};
296180 static swig_type_info _swigt__p_FiringRateSim__Neurons__RandomNeuron = {"_p_FiringRateSim__Neurons__RandomNeuron", "FiringRateSim::Neurons::RandomNeuron *", 0, 0, (void*)0, 0};
296181 static swig_type_info _swigt__p_FiringRateSim__Neurons__TonicNeuron = {"_p_FiringRateSim__Neurons__TonicNeuron", "FiringRateSim::Neurons::TonicNeuron *", 0, 0, (void*)0, 0};
296182 static swig_type_info _swigt__p_FiringRateSim__Synapses__GatedSynapse = {"_p_FiringRateSim__Synapses__GatedSynapse", "FiringRateSim::Synapses::GatedSynapse *", 0, 0, (void*)0, 0};
296183 static swig_type_info _swigt__p_FiringRateSim__Synapses__ModulateNeuronPropSynapse = {"_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse", "FiringRateSim::Synapses::ModulateNeuronPropSynapse *", 0, 0, (void*)0, 0};
296184 static swig_type_info _swigt__p_FiringRateSim__Synapses__ModulatedSynapse = {"_p_FiringRateSim__Synapses__ModulatedSynapse", "FiringRateSim::Synapses::ModulatedSynapse *", 0, 0, (void*)0, 0};
296185 static swig_type_info _swigt__p_FiringRateSim__Synapses__Synapse = {"_p_FiringRateSim__Synapses__Synapse", "FiringRateSim::Synapses::Synapse *", 0, 0, (void*)0, 0};
296186 static swig_type_info _swigt__p_Gain = {"_p_Gain", "Gain *", 0, 0, (void*)0, 0};
296187 static swig_type_info _swigt__p_HWND = {"_p_HWND", "HWND *", 0, 0, (void*)0, 0};
296188 static swig_type_info _swigt__p_HudItem = {"_p_HudItem", "std::vector< HudItem * >::value_type|HudItem *", 0, 0, (void*)0, 0};
296189 static swig_type_info _swigt__p_Joint = {"_p_Joint", "std::map< std::string,Joint * >::mapped_type|Joint *", 0, 0, (void*)0, 0};
296190 static swig_type_info _swigt__p_KeyFrame = {"_p_KeyFrame", "std::vector< KeyFrame * >::value_type|KeyFrame *", 0, 0, (void*)0, 0};
296191 static swig_type_info _swigt__p_LengthTensionGain = {"_p_LengthTensionGain", "LengthTensionGain *", 0, 0, (void*)0, 0};
296192 static swig_type_info _swigt__p_Light = {"_p_Light", "std::vector< Light * >::value_type|Light *", 0, 0, (void*)0, 0};
296193 static swig_type_info _swigt__p_LightManager = {"_p_LightManager", "LightManager *", 0, 0, (void*)0, 0};
296194 static swig_type_info _swigt__p_LinearHillMuscle = {"_p_LinearHillMuscle", "LinearHillMuscle *", 0, 0, (void*)0, 0};
296195 static swig_type_info _swigt__p_MaterialType = {"_p_MaterialType", "MaterialType *|std::vector< MaterialType * >::value_type", 0, 0, (void*)0, 0};
296196 static swig_type_info _swigt__p_Materials = {"_p_Materials", "Materials *", 0, 0, (void*)0, 0};
296197 static swig_type_info _swigt__p_ModuleThreadProcessor = {"_p_ModuleThreadProcessor", "std::vector< ModuleThreadProcessor * >::value_type|ModuleThreadProcessor *", 0, 0, (void*)0, 0};
296198 static swig_type_info _swigt__p_NeuralModule = {"_p_NeuralModule", "NeuralModule *|std::map< std::string,NeuralModule * >::mapped_type", 0, 0, (void*)0, 0};
296199 static swig_type_info _swigt__p_Neuron = {"_p_Neuron", "std::vector< Neuron * >::value_type|Neuron *", 0, 0, (void*)0, 0};
296200 static swig_type_info _swigt__p_Node = {"_p_Node", "Node *", 0, 0, (void*)0, 0};
296201 static swig_type_info _swigt__p_Odor = {"_p_Odor", "std::map< std::string,Odor * >::mapped_type|Odor *", 0, 0, (void*)0, 0};
296202 static swig_type_info _swigt__p_OdorType = {"_p_OdorType", "OdorType *|std::map< std::string,OdorType * >::mapped_type", 0, 0, (void*)0, 0};
296203 static swig_type_info _swigt__p_Organism = {"_p_Organism", "std::map< std::string,Organism * >::mapped_type|Organism *", 0, 0, (void*)0, 0};
296204 static swig_type_info _swigt__p_ReceptiveField = {"_p_ReceptiveField", "std::vector< ReceptiveField * >::value_type|ReceptiveField *", 0, 0, (void*)0, 0};
296205 static swig_type_info _swigt__p_ReceptiveFieldPair = {"_p_ReceptiveFieldPair", "std::vector< ReceptiveFieldPair * >::value_type|ReceptiveFieldPair *", 0, 0, (void*)0, 0};
296206 static swig_type_info _swigt__p_RigidBody = {"_p_RigidBody", "std::map< std::string,RigidBody * >::mapped_type|RigidBody *|std::vector< RigidBody * >::value_type", 0, 0, (void*)0, 0};
296207 static swig_type_info _swigt__p_RobotIOControl = {"_p_RobotIOControl", "RobotIOControl *|std::vector< RobotIOControl * >::value_type", 0, 0, (void*)0, 0};
296208 static swig_type_info _swigt__p_RobotInterface = {"_p_RobotInterface", "std::vector< RobotInterface * >::value_type|RobotInterface *", 0, 0, (void*)0, 0};
296209 static swig_type_info _swigt__p_RobotPartInterface = {"_p_RobotPartInterface", "std::vector< RobotPartInterface * >::value_type|RobotPartInterface *", 0, 0, (void*)0, 0};
296210 static swig_type_info _swigt__p_ScriptProcessor = {"_p_ScriptProcessor", "ScriptProcessor *", 0, 0, (void*)0, 0};
296211 static swig_type_info _swigt__p_SigmoidGain = {"_p_SigmoidGain", "SigmoidGain *", 0, 0, (void*)0, 0};
296212 static swig_type_info _swigt__p_SimulationRecorder = {"_p_SimulationRecorder", "SimulationRecorder *", 0, 0, (void*)0, 0};
296213 static swig_type_info _swigt__p_SimulationThread = {"_p_SimulationThread", "std::vector< SimulationThread * >::value_type|SimulationThread *", 0, 0, (void*)0, 0};
296214 static swig_type_info _swigt__p_SimulationWindow = {"_p_SimulationWindow", "SimulationWindow *|std::vector< SimulationWindow * >::value_type", 0, 0, (void*)0, 0};
296215 static swig_type_info _swigt__p_Simulator = {"_p_Simulator", "Simulator *", 0, 0, (void*)0, 0};
296216 static swig_type_info _swigt__p_StdUtils__CMarkupSTL = {"_p_StdUtils__CMarkupSTL", "StdUtils::CMarkupSTL *", 0, 0, (void*)0, 0};
296217 static swig_type_info _swigt__p_StdUtils__CStdColor = {"_p_StdUtils__CStdColor", "StdUtils::CStdColor *|CStdColor *", 0, 0, (void*)0, 0};
296218 static swig_type_info _swigt__p_StdUtils__CStdCriticalSection = {"_p_StdUtils__CStdCriticalSection", "StdUtils::CStdCriticalSection *", 0, 0, (void*)0, 0};
296219 static swig_type_info _swigt__p_StdUtils__CStdFixed = {"_p_StdUtils__CStdFixed", "StdUtils::CStdFixed *", 0, 0, (void*)0, 0};
296220 static swig_type_info _swigt__p_StdUtils__CStdFont = {"_p_StdUtils__CStdFont", "StdUtils::CStdFont *", 0, 0, (void*)0, 0};
296221 static swig_type_info _swigt__p_StdUtils__CStdLookupTable = {"_p_StdUtils__CStdLookupTable", "StdUtils::CStdLookupTable *", 0, 0, (void*)0, 0};
296222 static swig_type_info _swigt__p_StdUtils__CStdPID = {"_p_StdUtils__CStdPID", "StdUtils::CStdPID *|CStdPID *", 0, 0, (void*)0, 0};
296223 static swig_type_info _swigt__p_StdUtils__CStdPostFixEval = {"_p_StdUtils__CStdPostFixEval", "StdUtils::CStdPostFixEval *", 0, 0, (void*)0, 0};
296224 static swig_type_info _swigt__p_StdUtils__CStdSerialize = {"_p_StdUtils__CStdSerialize", "StdUtils::CStdSerialize *|CStdSerialize *", 0, 0, (void*)0, 0};
296225 static swig_type_info _swigt__p_StdUtils__CStdVariable = {"_p_StdUtils__CStdVariable", "std::vector< CStdVariable * >::value_type|CStdVariable *|StdUtils::CStdVariable *", 0, 0, (void*)0, 0};
296226 static swig_type_info _swigt__p_StdUtils__CStdVariant = {"_p_StdUtils__CStdVariant", "StdUtils::CStdVariant *", 0, 0, (void*)0, 0};
296227 static swig_type_info _swigt__p_StdUtils__CStdXml = {"_p_StdUtils__CStdXml", "CStdXml *|StdUtils::CStdXml *", 0, 0, (void*)0, 0};
296228 static swig_type_info _swigt__p_StdUtils__IStdClassFactory = {"_p_StdUtils__IStdClassFactory", "IStdClassFactory *|std::map< std::string,IStdClassFactory * >::mapped_type|StdUtils::IStdClassFactory *", 0, 0, (void*)0, 0};
296229 static swig_type_info _swigt__p_Structure = {"_p_Structure", "Structure *|std::map< std::string,Structure * >::mapped_type", 0, 0, (void*)0, 0};
296230 static swig_type_info _swigt__p_Synapse = {"_p_Synapse", "Synapse *|std::vector< Synapse * >::value_type", 0, 0, (void*)0, 0};
296231 static swig_type_info _swigt__p_TypeProperty = {"_p_TypeProperty", "TypeProperty *|std::vector< TypeProperty * >::value_type", 0, 0, (void*)0, 0};
296232 static swig_type_info _swigt__p_a_3__float = {"_p_a_3__float", "StdVector3 *|float (*)[3]", 0, 0, (void*)0, 0};
296233 static swig_type_info _swigt__p_a_4__a_4__float = {"_p_a_4__a_4__float", "float (*)[4][4]", 0, 0, (void*)0, 0};
296234 static swig_type_info _swigt__p_a_4__float = {"_p_a_4__float", "float (*)[4]|StdVector4 *", 0, 0, (void*)0, 0};
296235 static swig_type_info _swigt__p_allocator_type = {"_p_allocator_type", "allocator_type *", 0, 0, (void*)0, 0};
296236 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
296237 static swig_type_info _swigt__p_byte = {"_p_byte", "byte *", 0, 0, (void*)0, 0};
296238 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
296239 static swig_type_info _swigt__p_const_reference = {"_p_const_reference", "const_reference *", 0, 0, (void*)0, 0};
296240 static swig_type_info _swigt__p_difference_type = {"_p_difference_type", "difference_type *", 0, 0, (void*)0, 0};
296241 static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
296242 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
296243 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
296244 static swig_type_info _swigt__p_key_type = {"_p_key_type", "key_type *", 0, 0, (void*)0, 0};
296245 static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
296246 static swig_type_info _swigt__p_mapped_type = {"_p_mapped_type", "mapped_type *", 0, 0, (void*)0, 0};
296247 static swig_type_info _swigt__p_p_PyObject = {"_p_p_PyObject", "PyObject **", 0, 0, (void*)0, 0};
296248 static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
296249 static swig_type_info _swigt__p_reference = {"_p_reference", "reference *", 0, 0, (void*)0, 0};
296250 static swig_type_info _swigt__p_short = {"_p_short", "short *", 0, 0, (void*)0, 0};
296251 static swig_type_info _swigt__p_size_type = {"_p_size_type", "size_type *", 0, 0, (void*)0, 0};
296252 static swig_type_info _swigt__p_std__allocatorT_ActivatedItem_p_t = {"_p_std__allocatorT_ActivatedItem_p_t", "std::vector< ActivatedItem * >::allocator_type *|std::allocator< ActivatedItem * > *", 0, 0, (void*)0, 0};
296253 static swig_type_info _swigt__p_std__allocatorT_Adapter_p_t = {"_p_std__allocatorT_Adapter_p_t", "std::vector< Adapter * >::allocator_type *|std::allocator< Adapter * > *", 0, 0, (void*)0, 0};
296254 static swig_type_info _swigt__p_std__allocatorT_Attachment_p_t = {"_p_std__allocatorT_Attachment_p_t", "std::vector< Attachment * >::allocator_type *|std::allocator< Attachment * > *", 0, 0, (void*)0, 0};
296255 static swig_type_info _swigt__p_std__allocatorT_BodyPart_p_t = {"_p_std__allocatorT_BodyPart_p_t", "std::vector< BodyPart * >::allocator_type *|std::allocator< BodyPart * > *", 0, 0, (void*)0, 0};
296256 static swig_type_info _swigt__p_std__allocatorT_CollisionPair_p_t = {"_p_std__allocatorT_CollisionPair_p_t", "std::vector< CollisionPair * >::allocator_type *|std::allocator< CollisionPair * > *", 0, 0, (void*)0, 0};
296257 static swig_type_info _swigt__p_std__allocatorT_DataColumn_p_t = {"_p_std__allocatorT_DataColumn_p_t", "std::vector< DataColumn * >::allocator_type *|std::allocator< DataColumn * > *", 0, 0, (void*)0, 0};
296258 static swig_type_info _swigt__p_std__allocatorT_HudItem_p_t = {"_p_std__allocatorT_HudItem_p_t", "std::vector< HudItem * >::allocator_type *|std::allocator< HudItem * > *", 0, 0, (void*)0, 0};
296259 static swig_type_info _swigt__p_std__allocatorT_KeyFrame_p_t = {"_p_std__allocatorT_KeyFrame_p_t", "std::vector< KeyFrame * >::allocator_type *|std::allocator< KeyFrame * > *", 0, 0, (void*)0, 0};
296260 static swig_type_info _swigt__p_std__allocatorT_Light_p_t = {"_p_std__allocatorT_Light_p_t", "std::vector< Light * >::allocator_type *|std::allocator< Light * > *", 0, 0, (void*)0, 0};
296261 static swig_type_info _swigt__p_std__allocatorT_MaterialType_p_t = {"_p_std__allocatorT_MaterialType_p_t", "std::vector< MaterialType * >::allocator_type *|std::allocator< MaterialType * > *", 0, 0, (void*)0, 0};
296262 static swig_type_info _swigt__p_std__allocatorT_ModuleThreadProcessor_p_t = {"_p_std__allocatorT_ModuleThreadProcessor_p_t", "std::vector< ModuleThreadProcessor * >::allocator_type *|std::allocator< ModuleThreadProcessor * > *", 0, 0, (void*)0, 0};
296263 static swig_type_info _swigt__p_std__allocatorT_Neuron_p_t = {"_p_std__allocatorT_Neuron_p_t", "std::vector< Neuron * >::allocator_type *|std::allocator< Neuron * > *", 0, 0, (void*)0, 0};
296264 static swig_type_info _swigt__p_std__allocatorT_ReceptiveFieldPair_p_t = {"_p_std__allocatorT_ReceptiveFieldPair_p_t", "std::vector< ReceptiveFieldPair * >::allocator_type *|std::allocator< ReceptiveFieldPair * > *", 0, 0, (void*)0, 0};
296265 static swig_type_info _swigt__p_std__allocatorT_ReceptiveField_p_t = {"_p_std__allocatorT_ReceptiveField_p_t", "std::vector< ReceptiveField * >::allocator_type *|std::allocator< ReceptiveField * > *", 0, 0, (void*)0, 0};
296266 static swig_type_info _swigt__p_std__allocatorT_RigidBody_p_t = {"_p_std__allocatorT_RigidBody_p_t", "std::vector< RigidBody * >::allocator_type *|std::allocator< RigidBody * > *", 0, 0, (void*)0, 0};
296267 static swig_type_info _swigt__p_std__allocatorT_RobotIOControl_p_t = {"_p_std__allocatorT_RobotIOControl_p_t", "std::vector< RobotIOControl * >::allocator_type *|std::allocator< RobotIOControl * > *", 0, 0, (void*)0, 0};
296268 static swig_type_info _swigt__p_std__allocatorT_RobotInterface_p_t = {"_p_std__allocatorT_RobotInterface_p_t", "std::vector< RobotInterface * >::allocator_type *|std::allocator< RobotInterface * > *", 0, 0, (void*)0, 0};
296269 static swig_type_info _swigt__p_std__allocatorT_RobotPartInterface_p_t = {"_p_std__allocatorT_RobotPartInterface_p_t", "std::vector< RobotPartInterface * >::allocator_type *|std::allocator< RobotPartInterface * > *", 0, 0, (void*)0, 0};
296270 static swig_type_info _swigt__p_std__allocatorT_SimulationThread_p_t = {"_p_std__allocatorT_SimulationThread_p_t", "std::allocator< SimulationThread * > *|std::vector< SimulationThread * >::allocator_type *", 0, 0, (void*)0, 0};
296271 static swig_type_info _swigt__p_std__allocatorT_SimulationWindow_p_t = {"_p_std__allocatorT_SimulationWindow_p_t", "std::allocator< SimulationWindow * > *|std::vector< SimulationWindow * >::allocator_type *", 0, 0, (void*)0, 0};
296272 static swig_type_info _swigt__p_std__allocatorT_StdUtils__CStdVariable_p_t = {"_p_std__allocatorT_StdUtils__CStdVariable_p_t", "std::vector< CStdVariable * >::allocator_type *|std::allocator< StdUtils::CStdVariable * > *", 0, 0, (void*)0, 0};
296273 static swig_type_info _swigt__p_std__allocatorT_Synapse_p_t = {"_p_std__allocatorT_Synapse_p_t", "std::vector< Synapse * >::allocator_type *|std::allocator< Synapse * > *", 0, 0, (void*)0, 0};
296274 static swig_type_info _swigt__p_std__allocatorT_TypeProperty_p_t = {"_p_std__allocatorT_TypeProperty_p_t", "std::vector< TypeProperty * >::allocator_type *|std::allocator< TypeProperty * > *", 0, 0, (void*)0, 0};
296275 static swig_type_info _swigt__p_std__allocatorT_double_t = {"_p_std__allocatorT_double_t", "std::vector< double >::allocator_type *|std::allocator< double > *", 0, 0, (void*)0, 0};
296276 static swig_type_info _swigt__p_std__allocatorT_float_t = {"_p_std__allocatorT_float_t", "std::vector< float >::allocator_type *|std::allocator< float > *", 0, 0, (void*)0, 0};
296277 static swig_type_info _swigt__p_std__allocatorT_int_t = {"_p_std__allocatorT_int_t", "std::vector< int >::allocator_type *|std::allocator< int > *", 0, 0, (void*)0, 0};
296278 static swig_type_info _swigt__p_std__allocatorT_long_t = {"_p_std__allocatorT_long_t", "std::vector< long >::allocator_type *|std::allocator< long > *", 0, 0, (void*)0, 0};
296279 static swig_type_info _swigt__p_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t = {"_p_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t", "std::map< std::string,ActivatedItem * >::allocator_type *|std::allocator< std::pair< std::string const,ActivatedItem * > > *", 0, 0, (void*)0, 0};
296280 static swig_type_info _swigt__p_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t = {"_p_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t", "std::map< std::string,AnimatBase * >::allocator_type *|std::allocator< std::pair< std::string const,AnimatBase * > > *", 0, 0, (void*)0, 0};
296281 static swig_type_info _swigt__p_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t = {"_p_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t", "std::map< std::string,DataColumn * >::allocator_type *|std::allocator< std::pair< std::string const,DataColumn * > > *", 0, 0, (void*)0, 0};
296282 static swig_type_info _swigt__p_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t = {"_p_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t", "std::map< std::string,Joint * >::allocator_type *|std::allocator< std::pair< std::string const,Joint * > > *", 0, 0, (void*)0, 0};
296283 static swig_type_info _swigt__p_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t = {"_p_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t", "std::allocator< std::pair< std::string const,NeuralModule * > > *|std::map< std::string,NeuralModule * >::allocator_type *", 0, 0, (void*)0, 0};
296284 static swig_type_info _swigt__p_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t = {"_p_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t", "std::map< std::string,OdorType * >::allocator_type *|std::allocator< std::pair< std::string const,OdorType * > > *", 0, 0, (void*)0, 0};
296285 static swig_type_info _swigt__p_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t = {"_p_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t", "std::map< std::string,Odor * >::allocator_type *|std::allocator< std::pair< std::string const,Odor * > > *", 0, 0, (void*)0, 0};
296286 static swig_type_info _swigt__p_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t = {"_p_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t", "std::map< std::string,Organism * >::allocator_type *|std::allocator< std::pair< std::string const,Organism * > > *", 0, 0, (void*)0, 0};
296287 static swig_type_info _swigt__p_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t = {"_p_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t", "std::allocator< std::pair< std::string const,RigidBody * > > *|std::map< std::string,RigidBody * >::allocator_type *", 0, 0, (void*)0, 0};
296288 static swig_type_info _swigt__p_std__allocatorT_std__pairT_std__string_const_StdUtils__IStdClassFactory_p_t_t = {"_p_std__allocatorT_std__pairT_std__string_const_StdUtils__IStdClassFactory_p_t_t", "std::allocator< std::pair< std::string const,StdUtils::IStdClassFactory * > > *|std::map< std::string,IStdClassFactory * >::allocator_type *", 0, 0, (void*)0, 0};
296289 static swig_type_info _swigt__p_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t = {"_p_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t", "std::allocator< std::pair< std::string const,Structure * > > *|std::map< std::string,Structure * >::allocator_type *", 0, 0, (void*)0, 0};
296290 static swig_type_info _swigt__p_std__allocatorT_std__string_t = {"_p_std__allocatorT_std__string_t", "std::vector< std::string >::allocator_type *|std::allocator< std::string > *", 0, 0, (void*)0, 0};
296291 static swig_type_info _swigt__p_std__invalid_argument = {"_p_std__invalid_argument", "std::invalid_argument *", 0, 0, (void*)0, 0};
296292 static swig_type_info _swigt__p_std__lessT_std__string_t = {"_p_std__lessT_std__string_t", "std::less< std::string > *", 0, 0, (void*)0, 0};
296293 static swig_type_info _swigt__p_std__mapT_std__string_ActivatedItem_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t_t = {"_p_std__mapT_std__string_ActivatedItem_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t_t", "std::map< std::string,ActivatedItem * > *|std::map< std::string,ActivatedItem *,std::less< std::string >,std::allocator< std::pair< std::string const,ActivatedItem * > > > *", 0, 0, (void*)0, 0};
296294 static swig_type_info _swigt__p_std__mapT_std__string_AnimatBase_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t_t = {"_p_std__mapT_std__string_AnimatBase_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t_t", "std::map< std::string,AnimatBase *,std::less< std::string >,std::allocator< std::pair< std::string const,AnimatBase * > > > *|std::map< std::string,AnimatBase * > *", 0, 0, (void*)0, 0};
296295 static swig_type_info _swigt__p_std__mapT_std__string_DataColumn_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t_t = {"_p_std__mapT_std__string_DataColumn_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t_t", "std::map< std::string,DataColumn *,std::less< std::string >,std::allocator< std::pair< std::string const,DataColumn * > > > *|std::map< std::string,DataColumn * > *", 0, 0, (void*)0, 0};
296296 static swig_type_info _swigt__p_std__mapT_std__string_Joint_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t_t = {"_p_std__mapT_std__string_Joint_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t_t", "std::map< std::string,Joint *,std::less< std::string >,std::allocator< std::pair< std::string const,Joint * > > > *|std::map< std::string,Joint * > *", 0, 0, (void*)0, 0};
296297 static swig_type_info _swigt__p_std__mapT_std__string_NeuralModule_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t_t = {"_p_std__mapT_std__string_NeuralModule_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t_t", "std::map< std::string,NeuralModule *,std::less< std::string >,std::allocator< std::pair< std::string const,NeuralModule * > > > *|std::map< std::string,NeuralModule * > *", 0, 0, (void*)0, 0};
296298 static swig_type_info _swigt__p_std__mapT_std__string_OdorType_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t_t = {"_p_std__mapT_std__string_OdorType_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t_t", "std::map< std::string,OdorType *,std::less< std::string >,std::allocator< std::pair< std::string const,OdorType * > > > *|std::map< std::string,OdorType * > *", 0, 0, (void*)0, 0};
296299 static swig_type_info _swigt__p_std__mapT_std__string_Odor_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t_t = {"_p_std__mapT_std__string_Odor_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t_t", "std::map< std::string,Odor *,std::less< std::string >,std::allocator< std::pair< std::string const,Odor * > > > *|std::map< std::string,Odor * > *", 0, 0, (void*)0, 0};
296300 static swig_type_info _swigt__p_std__mapT_std__string_Organism_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t_t = {"_p_std__mapT_std__string_Organism_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t_t", "std::map< std::string,Organism *,std::less< std::string >,std::allocator< std::pair< std::string const,Organism * > > > *|std::map< std::string,Organism * > *", 0, 0, (void*)0, 0};
296301 static swig_type_info _swigt__p_std__mapT_std__string_RigidBody_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t_t = {"_p_std__mapT_std__string_RigidBody_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t_t", "std::map< std::string,RigidBody *,std::less< std::string >,std::allocator< std::pair< std::string const,RigidBody * > > > *|std::map< std::string,RigidBody * > *", 0, 0, (void*)0, 0};
296302 static swig_type_info _swigt__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 = {"_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", "std::map< std::string,StdUtils::IStdClassFactory *,std::less< std::string >,std::allocator< std::pair< std::string const,StdUtils::IStdClassFactory * > > > *|std::map< std::string,IStdClassFactory * > *", 0, 0, (void*)0, 0};
296303 static swig_type_info _swigt__p_std__mapT_std__string_Structure_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t_t = {"_p_std__mapT_std__string_Structure_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t_t", "std::map< std::string,Structure *,std::less< std::string >,std::allocator< std::pair< std::string const,Structure * > > > *|std::map< std::string,Structure * > *", 0, 0, (void*)0, 0};
296304 static swig_type_info _swigt__p_std__ofstream = {"_p_std__ofstream", "std::ofstream *", 0, 0, (void*)0, 0};
296305 static swig_type_info _swigt__p_std__ostream = {"_p_std__ostream", "std::ostream *", 0, 0, (void*)0, 0};
296306 static swig_type_info _swigt__p_std__string = {"_p_std__string", "std::string *", 0, 0, (void*)0, 0};
296307 static swig_type_info _swigt__p_std__unordered_setT_AnimatSim__Environment__RigidBody_p_t = {"_p_std__unordered_setT_AnimatSim__Environment__RigidBody_p_t", "std::unordered_set< AnimatSim::Environment::RigidBody * > *", 0, 0, (void*)0, 0};
296308 static swig_type_info _swigt__p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t = {"_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t", "std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > *|std::vector< ActivatedItem * > *", 0, 0, (void*)0, 0};
296309 static swig_type_info _swigt__p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t = {"_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t", "std::vector< Adapter *,std::allocator< Adapter * > > *|std::vector< Adapter * > *", 0, 0, (void*)0, 0};
296310 static swig_type_info _swigt__p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t = {"_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t", "std::vector< Attachment * > *|std::vector< Attachment *,std::allocator< Attachment * > > *", 0, 0, (void*)0, 0};
296311 static swig_type_info _swigt__p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t = {"_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t", "std::vector< BodyPart * > *|std::vector< BodyPart *,std::allocator< BodyPart * > > *", 0, 0, (void*)0, 0};
296312 static swig_type_info _swigt__p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t = {"_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t", "std::vector< CollisionPair * > *|std::vector< CollisionPair *,std::allocator< CollisionPair * > > *", 0, 0, (void*)0, 0};
296313 static swig_type_info _swigt__p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t = {"_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t", "std::vector< DataColumn * > *|std::vector< DataColumn *,std::allocator< DataColumn * > > *", 0, 0, (void*)0, 0};
296314 static swig_type_info _swigt__p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t = {"_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t", "std::vector< HudItem *,std::allocator< HudItem * > > *|std::vector< HudItem * > *", 0, 0, (void*)0, 0};
296315 static swig_type_info _swigt__p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t = {"_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t", "std::vector< KeyFrame *,std::allocator< KeyFrame * > > *|std::vector< KeyFrame * > *", 0, 0, (void*)0, 0};
296316 static swig_type_info _swigt__p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t = {"_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t", "std::vector< Light *,std::allocator< Light * > > *|std::vector< Light * > *", 0, 0, (void*)0, 0};
296317 static swig_type_info _swigt__p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t = {"_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t", "std::vector< MaterialType * > *|std::vector< MaterialType *,std::allocator< MaterialType * > > *", 0, 0, (void*)0, 0};
296318 static swig_type_info _swigt__p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t = {"_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t", "std::vector< ModuleThreadProcessor *,std::allocator< ModuleThreadProcessor * > > *|std::vector< ModuleThreadProcessor * > *", 0, 0, (void*)0, 0};
296319 static swig_type_info _swigt__p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t = {"_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t", "std::vector< Neuron *,std::allocator< Neuron * > > *|std::vector< Neuron * > *", 0, 0, (void*)0, 0};
296320 static swig_type_info _swigt__p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t = {"_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t", "std::vector< ReceptiveFieldPair * > *|std::vector< ReceptiveFieldPair *,std::allocator< ReceptiveFieldPair * > > *", 0, 0, (void*)0, 0};
296321 static swig_type_info _swigt__p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t = {"_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t", "std::vector< ReceptiveField *,std::allocator< ReceptiveField * > > *|std::vector< ReceptiveField * > *", 0, 0, (void*)0, 0};
296322 static swig_type_info _swigt__p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t = {"_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t", "std::vector< RigidBody *,std::allocator< RigidBody * > > *|std::vector< RigidBody * > *", 0, 0, (void*)0, 0};
296323 static swig_type_info _swigt__p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t = {"_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t", "std::vector< RobotIOControl * > *|std::vector< RobotIOControl *,std::allocator< RobotIOControl * > > *", 0, 0, (void*)0, 0};
296324 static swig_type_info _swigt__p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t = {"_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t", "std::vector< RobotInterface * > *|std::vector< RobotInterface *,std::allocator< RobotInterface * > > *", 0, 0, (void*)0, 0};
296325 static swig_type_info _swigt__p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t = {"_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t", "std::vector< RobotPartInterface * > *|std::vector< RobotPartInterface *,std::allocator< RobotPartInterface * > > *", 0, 0, (void*)0, 0};
296326 static swig_type_info _swigt__p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t = {"_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t", "std::vector< SimulationThread *,std::allocator< SimulationThread * > > *|std::vector< SimulationThread * > *", 0, 0, (void*)0, 0};
296327 static swig_type_info _swigt__p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t = {"_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t", "std::vector< SimulationWindow * > *|std::vector< SimulationWindow *,std::allocator< SimulationWindow * > > *", 0, 0, (void*)0, 0};
296328 static swig_type_info _swigt__p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t = {"_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t", "std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > *|std::vector< CStdVariable * > *", 0, 0, (void*)0, 0};
296329 static swig_type_info _swigt__p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t = {"_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t", "std::vector< Synapse *,std::allocator< Synapse * > > *|std::vector< Synapse * > *", 0, 0, (void*)0, 0};
296330 static swig_type_info _swigt__p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t = {"_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t", "std::vector< TypeProperty * > *|std::vector< TypeProperty *,std::allocator< TypeProperty * > > *", 0, 0, (void*)0, 0};
296331 static swig_type_info _swigt__p_std__vectorT_double_std__allocatorT_double_t_t = {"_p_std__vectorT_double_std__allocatorT_double_t_t", "std::vector< double,std::allocator< double > > *|std::vector< double > *", 0, 0, (void*)0, 0};
296332 static swig_type_info _swigt__p_std__vectorT_float_std__allocatorT_float_t_t = {"_p_std__vectorT_float_std__allocatorT_float_t_t", "std::vector< float > *|std::vector< float,std::allocator< float > > *", 0, 0, (void*)0, 0};
296333 static swig_type_info _swigt__p_std__vectorT_int_std__allocatorT_int_t_t = {"_p_std__vectorT_int_std__allocatorT_int_t_t", "std::vector< int,std::allocator< int > > *|std::vector< int > *", 0, 0, (void*)0, 0};
296334 static swig_type_info _swigt__p_std__vectorT_long_std__allocatorT_long_t_t = {"_p_std__vectorT_long_std__allocatorT_long_t_t", "std::vector< long,std::allocator< long > > *|std::vector< long > *", 0, 0, (void*)0, 0};
296335 static swig_type_info _swigt__p_std__vectorT_std__string_std__allocatorT_std__string_t_t = {"_p_std__vectorT_std__string_std__allocatorT_std__string_t_t", "std::vector< std::string,std::allocator< std::string > > *|std::vector< std::string > *", 0, 0, (void*)0, 0};
296336 static swig_type_info _swigt__p_swig__SwigPyIterator = {"_p_swig__SwigPyIterator", "swig::SwigPyIterator *", 0, 0, (void*)0, 0};
296337 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *", 0, 0, (void*)0, 0};
296338 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *", 0, 0, (void*)0, 0};
296339 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *", 0, 0, (void*)0, 0};
296340 static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *", 0, 0, (void*)0, 0};
296341 static swig_type_info _swigt__p_value_type = {"_p_value_type", "value_type *", 0, 0, (void*)0, 0};
296342 
296343 static swig_type_info *swig_type_initial[] = {
296344  &_swigt__p_ActivatedItem,
296345  &_swigt__p_Adapter,
296346  &_swigt__p_AnimatBase,
296347  &_swigt__p_AnimatPropertyType,
296348  &_swigt__p_AnimatSim__ActivatedItem,
296349  &_swigt__p_AnimatSim__ActivatedItemMgr,
296350  &_swigt__p_AnimatSim__Adapters__Adapter,
296351  &_swigt__p_AnimatSim__Adapters__ContactAdapter,
296352  &_swigt__p_AnimatSim__Adapters__PropertyControlAdapter,
296353  &_swigt__p_AnimatSim__AnimatBase,
296354  &_swigt__p_AnimatSim__Behavior__NervousSystem,
296355  &_swigt__p_AnimatSim__Behavior__NeuralModule,
296356  &_swigt__p_AnimatSim__Behavior__PhysicsNeuralModule,
296357  &_swigt__p_AnimatSim__BoundingBox,
296358  &_swigt__p_AnimatSim__Charting__ArrayChart,
296359  &_swigt__p_AnimatSim__Charting__DataChart,
296360  &_swigt__p_AnimatSim__Charting__DataChartMgr,
296361  &_swigt__p_AnimatSim__Charting__DataColumn,
296362  &_swigt__p_AnimatSim__Charting__FileChart,
296363  &_swigt__p_AnimatSim__Charting__MemoryChart,
296364  &_swigt__p_AnimatSim__DelayLine,
296365  &_swigt__p_AnimatSim__Environment__Bodies__Attachment,
296366  &_swigt__p_AnimatSim__Environment__Bodies__Box,
296367  &_swigt__p_AnimatSim__Environment__Bodies__Cone,
296368  &_swigt__p_AnimatSim__Environment__Bodies__Cylinder,
296369  &_swigt__p_AnimatSim__Environment__Bodies__Ellipsoid,
296370  &_swigt__p_AnimatSim__Environment__Bodies__FluidPlane,
296371  &_swigt__p_AnimatSim__Environment__Bodies__LineBase,
296372  &_swigt__p_AnimatSim__Environment__Bodies__LinearHillMuscle,
296373  &_swigt__p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor,
296374  &_swigt__p_AnimatSim__Environment__Bodies__Mesh,
296375  &_swigt__p_AnimatSim__Environment__Bodies__Mouth,
296376  &_swigt__p_AnimatSim__Environment__Bodies__MuscleBase,
296377  &_swigt__p_AnimatSim__Environment__Bodies__OdorSensor,
296378  &_swigt__p_AnimatSim__Environment__Bodies__Plane,
296379  &_swigt__p_AnimatSim__Environment__Bodies__Sensor,
296380  &_swigt__p_AnimatSim__Environment__Bodies__Sphere,
296381  &_swigt__p_AnimatSim__Environment__Bodies__Spring,
296382  &_swigt__p_AnimatSim__Environment__Bodies__Stomach,
296383  &_swigt__p_AnimatSim__Environment__Bodies__Terrain,
296384  &_swigt__p_AnimatSim__Environment__Bodies__Torus,
296385  &_swigt__p_AnimatSim__Environment__BodyPart,
296386  &_swigt__p_AnimatSim__Environment__CollisionPair,
296387  &_swigt__p_AnimatSim__Environment__ConstraintFriction,
296388  &_swigt__p_AnimatSim__Environment__ConstraintLimit,
296389  &_swigt__p_AnimatSim__Environment__ConstraintRelaxation,
296390  &_swigt__p_AnimatSim__Environment__ContactSensor,
296391  &_swigt__p_AnimatSim__Environment__IMotorizedJoint,
296392  &_swigt__p_AnimatSim__Environment__IPhysicsBody,
296393  &_swigt__p_AnimatSim__Environment__IPhysicsMovableItem,
296394  &_swigt__p_AnimatSim__Environment__Joint,
296395  &_swigt__p_AnimatSim__Environment__Joints__BallSocket,
296396  &_swigt__p_AnimatSim__Environment__Joints__Hinge,
296397  &_swigt__p_AnimatSim__Environment__Joints__LinearJoint,
296398  &_swigt__p_AnimatSim__Environment__Joints__Prismatic,
296399  &_swigt__p_AnimatSim__Environment__Joints__RPRO,
296400  &_swigt__p_AnimatSim__Environment__Light,
296401  &_swigt__p_AnimatSim__Environment__LightManager,
296402  &_swigt__p_AnimatSim__Environment__MaterialType,
296403  &_swigt__p_AnimatSim__Environment__Materials,
296404  &_swigt__p_AnimatSim__Environment__MotorizedJoint,
296405  &_swigt__p_AnimatSim__Environment__MovableItem,
296406  &_swigt__p_AnimatSim__Environment__Odor,
296407  &_swigt__p_AnimatSim__Environment__OdorType,
296408  &_swigt__p_AnimatSim__Environment__Organism,
296409  &_swigt__p_AnimatSim__Environment__ReceptiveFieldPair,
296410  &_swigt__p_AnimatSim__Environment__RigidBody,
296411  &_swigt__p_AnimatSim__Environment__Structure,
296412  &_swigt__p_AnimatSim__ExternalStimuli__CurrentStimulus,
296413  &_swigt__p_AnimatSim__ExternalStimuli__EnablerStimulus,
296414  &_swigt__p_AnimatSim__ExternalStimuli__ExternalInputStimulus,
296415  &_swigt__p_AnimatSim__ExternalStimuli__ExternalStimuliMgr,
296416  &_swigt__p_AnimatSim__ExternalStimuli__ExternalStimulus,
296417  &_swigt__p_AnimatSim__ExternalStimuli__ForceStimulus,
296418  &_swigt__p_AnimatSim__ExternalStimuli__InverseMuscleCurrent,
296419  &_swigt__p_AnimatSim__ExternalStimuli__MotorStimulus,
296420  &_swigt__p_AnimatSim__ExternalStimuli__PropertyControlStimulus,
296421  &_swigt__p_AnimatSim__ExternalStimuli__VoltageClamp,
296422  &_swigt__p_AnimatSim__Gains__BellGain,
296423  &_swigt__p_AnimatSim__Gains__EquationGain,
296424  &_swigt__p_AnimatSim__Gains__Gain,
296425  &_swigt__p_AnimatSim__Gains__LengthTensionGain,
296426  &_swigt__p_AnimatSim__Gains__PolynomialGain,
296427  &_swigt__p_AnimatSim__Gains__SigmoidGain,
296428  &_swigt__p_AnimatSim__Hud,
296429  &_swigt__p_AnimatSim__HudItem,
296430  &_swigt__p_AnimatSim__HudText,
296431  &_swigt__p_AnimatSim__IMovableItemCallback,
296432  &_swigt__p_AnimatSim__ISimGUICallback,
296433  &_swigt__p_AnimatSim__Link,
296434  &_swigt__p_AnimatSim__Node,
296435  &_swigt__p_AnimatSim__Recording__KeyFrame,
296436  &_swigt__p_AnimatSim__Recording__SimulationRecorder,
296437  &_swigt__p_AnimatSim__Robotics__PassThroughLinkage,
296438  &_swigt__p_AnimatSim__Robotics__PulsedLinkage,
296439  &_swigt__p_AnimatSim__Robotics__RemoteControl,
296440  &_swigt__p_AnimatSim__Robotics__RemoteControlLinkage,
296441  &_swigt__p_AnimatSim__Robotics__RobotIOControl,
296442  &_swigt__p_AnimatSim__Robotics__RobotInterface,
296443  &_swigt__p_AnimatSim__Robotics__RobotPartInterface,
296444  &_swigt__p_AnimatSim__ScriptProcessor,
296445  &_swigt__p_AnimatSim__SimulationMgr,
296446  &_swigt__p_AnimatSim__SimulationThread,
296447  &_swigt__p_AnimatSim__SimulationWindow,
296448  &_swigt__p_AnimatSim__SimulationWindowMgr,
296449  &_swigt__p_AnimatSim__Simulator,
296450  &_swigt__p_Attachment,
296451  &_swigt__p_BodyPart,
296452  &_swigt__p_BoundingBox,
296453  &_swigt__p_CStdArrayT_ActivatedItem_p_t,
296454  &_swigt__p_CStdArrayT_Adapter_p_t,
296455  &_swigt__p_CStdArrayT_AnimatSim__Environment__Bodies__Attachment_p_t,
296456  &_swigt__p_CStdArrayT_Attachment_p_t,
296457  &_swigt__p_CStdArrayT_BodyPart_p_t,
296458  &_swigt__p_CStdArrayT_KeyFrame_p_t,
296459  &_swigt__p_CStdArrayT_ModuleThreadProcessor_p_t,
296460  &_swigt__p_CStdArrayT_RigidBody_p_t,
296461  &_swigt__p_CStdArrayT_RobotPartInterface_p_t,
296462  &_swigt__p_CStdArrayT_double_t,
296463  &_swigt__p_CStdArrayT_float_t,
296464  &_swigt__p_CStdArrayT_int_t,
296465  &_swigt__p_CStdArrayT_long_t,
296466  &_swigt__p_CStdArrayT_std__string_t,
296467  &_swigt__p_CStdCircularArrayT_float_t,
296468  &_swigt__p_CStdMapT_std__string_AnimatBase_p_t,
296469  &_swigt__p_CStdMapT_std__string_AnimatSim__AnimatBase_p_t,
296470  &_swigt__p_CStdMapT_std__string_DataColumn_p_t,
296471  &_swigt__p_CStdMapT_std__string_Joint_p_t,
296472  &_swigt__p_CStdMapT_std__string_Odor_p_t,
296473  &_swigt__p_CStdMapT_std__string_RigidBody_p_t,
296474  &_swigt__p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t,
296475  &_swigt__p_CStdMapT_std__string_Structure_p_t,
296476  &_swigt__p_CStdPointT_double_t,
296477  &_swigt__p_CStdPointT_float_t,
296478  &_swigt__p_CStdPointT_int_t,
296479  &_swigt__p_CStdPointT_long_t,
296480  &_swigt__p_CStdPtrArrayT_Adapter_t,
296481  &_swigt__p_CStdPtrArrayT_AnimatSim__Environment__CollisionPair_t,
296482  &_swigt__p_CStdPtrArrayT_AnimatSim__Environment__Light_t,
296483  &_swigt__p_CStdPtrArrayT_AnimatSim__Environment__RigidBody_t,
296484  &_swigt__p_CStdPtrArrayT_AnimatSim__Robotics__RemoteControlLinkage_t,
296485  &_swigt__p_CStdPtrArrayT_AnimatSim__SimulationThread_t,
296486  &_swigt__p_CStdPtrArrayT_AnimatSim__SimulationWindow_t,
296487  &_swigt__p_CStdPtrArrayT_CollisionPair_t,
296488  &_swigt__p_CStdPtrArrayT_DataColumn_t,
296489  &_swigt__p_CStdPtrArrayT_HudItem_t,
296490  &_swigt__p_CStdPtrArrayT_Light_t,
296491  &_swigt__p_CStdPtrArrayT_MaterialType_t,
296492  &_swigt__p_CStdPtrArrayT_Neuron_t,
296493  &_swigt__p_CStdPtrArrayT_ReceptiveFieldPair_t,
296494  &_swigt__p_CStdPtrArrayT_ReceptiveField_t,
296495  &_swigt__p_CStdPtrArrayT_RigidBody_t,
296496  &_swigt__p_CStdPtrArrayT_RobotIOControl_t,
296497  &_swigt__p_CStdPtrArrayT_RobotPartInterface_t,
296498  &_swigt__p_CStdPtrArrayT_SimulationThread_t,
296499  &_swigt__p_CStdPtrArrayT_SimulationWindow_t,
296500  &_swigt__p_CStdPtrArrayT_StdUtils__CStdVariable_t,
296501  &_swigt__p_CStdPtrArrayT_Synapse_t,
296502  &_swigt__p_CStdPtrArrayT_TypeProperty_t,
296503  &_swigt__p_CStdPtrMapT_std__string_ActivatedItem_t,
296504  &_swigt__p_CStdPtrMapT_std__string_NeuralModule_t,
296505  &_swigt__p_CStdPtrMapT_std__string_OdorType_t,
296506  &_swigt__p_CStdPtrMapT_std__string_Odor_t,
296507  &_swigt__p_CStdPtrMapT_std__string_Organism_t,
296508  &_swigt__p_CStdPtrMapT_std__string_Structure_t,
296509  &_swigt__p_CStdStackT_double_t,
296510  &_swigt__p_CollisionPair,
296511  &_swigt__p_ContactSensor,
296512  &_swigt__p_DataChart,
296513  &_swigt__p_DataChartMgr,
296514  &_swigt__p_DataColumn,
296515  &_swigt__p_ExternalStimuliMgr,
296516  &_swigt__p_FiringRateModule,
296517  &_swigt__p_FiringRateSim__FiringRateModule,
296518  &_swigt__p_FiringRateSim__Neurons__BistableNeuron,
296519  &_swigt__p_FiringRateSim__Neurons__Neuron,
296520  &_swigt__p_FiringRateSim__Neurons__PacemakerNeuron,
296521  &_swigt__p_FiringRateSim__Neurons__RandomNeuron,
296522  &_swigt__p_FiringRateSim__Neurons__TonicNeuron,
296523  &_swigt__p_FiringRateSim__Synapses__GatedSynapse,
296524  &_swigt__p_FiringRateSim__Synapses__ModulateNeuronPropSynapse,
296525  &_swigt__p_FiringRateSim__Synapses__ModulatedSynapse,
296526  &_swigt__p_FiringRateSim__Synapses__Synapse,
296527  &_swigt__p_Gain,
296528  &_swigt__p_HWND,
296529  &_swigt__p_HudItem,
296530  &_swigt__p_Joint,
296531  &_swigt__p_KeyFrame,
296532  &_swigt__p_LengthTensionGain,
296533  &_swigt__p_Light,
296534  &_swigt__p_LightManager,
296535  &_swigt__p_LinearHillMuscle,
296536  &_swigt__p_MaterialType,
296537  &_swigt__p_Materials,
296538  &_swigt__p_ModuleThreadProcessor,
296539  &_swigt__p_NeuralModule,
296540  &_swigt__p_Neuron,
296541  &_swigt__p_Node,
296542  &_swigt__p_Odor,
296543  &_swigt__p_OdorType,
296544  &_swigt__p_Organism,
296545  &_swigt__p_ReceptiveField,
296546  &_swigt__p_ReceptiveFieldPair,
296547  &_swigt__p_RigidBody,
296548  &_swigt__p_RobotIOControl,
296549  &_swigt__p_RobotInterface,
296550  &_swigt__p_RobotPartInterface,
296551  &_swigt__p_ScriptProcessor,
296552  &_swigt__p_SigmoidGain,
296553  &_swigt__p_SimulationRecorder,
296554  &_swigt__p_SimulationThread,
296555  &_swigt__p_SimulationWindow,
296556  &_swigt__p_Simulator,
296557  &_swigt__p_StdUtils__CMarkupSTL,
296558  &_swigt__p_StdUtils__CStdColor,
296559  &_swigt__p_StdUtils__CStdCriticalSection,
296560  &_swigt__p_StdUtils__CStdFixed,
296561  &_swigt__p_StdUtils__CStdFont,
296562  &_swigt__p_StdUtils__CStdLookupTable,
296563  &_swigt__p_StdUtils__CStdPID,
296564  &_swigt__p_StdUtils__CStdPostFixEval,
296565  &_swigt__p_StdUtils__CStdSerialize,
296566  &_swigt__p_StdUtils__CStdVariable,
296567  &_swigt__p_StdUtils__CStdVariant,
296568  &_swigt__p_StdUtils__CStdXml,
296569  &_swigt__p_StdUtils__IStdClassFactory,
296570  &_swigt__p_Structure,
296571  &_swigt__p_Synapse,
296572  &_swigt__p_TypeProperty,
296573  &_swigt__p_a_3__float,
296574  &_swigt__p_a_4__a_4__float,
296575  &_swigt__p_a_4__float,
296576  &_swigt__p_allocator_type,
296577  &_swigt__p_bool,
296578  &_swigt__p_byte,
296579  &_swigt__p_char,
296580  &_swigt__p_const_reference,
296581  &_swigt__p_difference_type,
296582  &_swigt__p_double,
296583  &_swigt__p_float,
296584  &_swigt__p_int,
296585  &_swigt__p_key_type,
296586  &_swigt__p_long,
296587  &_swigt__p_mapped_type,
296588  &_swigt__p_p_PyObject,
296589  &_swigt__p_p_char,
296590  &_swigt__p_reference,
296591  &_swigt__p_short,
296592  &_swigt__p_size_type,
296593  &_swigt__p_std__allocatorT_ActivatedItem_p_t,
296594  &_swigt__p_std__allocatorT_Adapter_p_t,
296595  &_swigt__p_std__allocatorT_Attachment_p_t,
296596  &_swigt__p_std__allocatorT_BodyPart_p_t,
296597  &_swigt__p_std__allocatorT_CollisionPair_p_t,
296598  &_swigt__p_std__allocatorT_DataColumn_p_t,
296599  &_swigt__p_std__allocatorT_HudItem_p_t,
296600  &_swigt__p_std__allocatorT_KeyFrame_p_t,
296601  &_swigt__p_std__allocatorT_Light_p_t,
296602  &_swigt__p_std__allocatorT_MaterialType_p_t,
296603  &_swigt__p_std__allocatorT_ModuleThreadProcessor_p_t,
296604  &_swigt__p_std__allocatorT_Neuron_p_t,
296605  &_swigt__p_std__allocatorT_ReceptiveFieldPair_p_t,
296606  &_swigt__p_std__allocatorT_ReceptiveField_p_t,
296607  &_swigt__p_std__allocatorT_RigidBody_p_t,
296608  &_swigt__p_std__allocatorT_RobotIOControl_p_t,
296609  &_swigt__p_std__allocatorT_RobotInterface_p_t,
296610  &_swigt__p_std__allocatorT_RobotPartInterface_p_t,
296611  &_swigt__p_std__allocatorT_SimulationThread_p_t,
296612  &_swigt__p_std__allocatorT_SimulationWindow_p_t,
296613  &_swigt__p_std__allocatorT_StdUtils__CStdVariable_p_t,
296614  &_swigt__p_std__allocatorT_Synapse_p_t,
296615  &_swigt__p_std__allocatorT_TypeProperty_p_t,
296616  &_swigt__p_std__allocatorT_double_t,
296617  &_swigt__p_std__allocatorT_float_t,
296618  &_swigt__p_std__allocatorT_int_t,
296619  &_swigt__p_std__allocatorT_long_t,
296620  &_swigt__p_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t,
296621  &_swigt__p_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t,
296622  &_swigt__p_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t,
296623  &_swigt__p_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t,
296624  &_swigt__p_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t,
296625  &_swigt__p_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t,
296626  &_swigt__p_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t,
296627  &_swigt__p_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t,
296628  &_swigt__p_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t,
296629  &_swigt__p_std__allocatorT_std__pairT_std__string_const_StdUtils__IStdClassFactory_p_t_t,
296630  &_swigt__p_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t,
296631  &_swigt__p_std__allocatorT_std__string_t,
296632  &_swigt__p_std__invalid_argument,
296633  &_swigt__p_std__lessT_std__string_t,
296634  &_swigt__p_std__mapT_std__string_ActivatedItem_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t_t,
296635  &_swigt__p_std__mapT_std__string_AnimatBase_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t_t,
296636  &_swigt__p_std__mapT_std__string_DataColumn_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t_t,
296637  &_swigt__p_std__mapT_std__string_Joint_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t_t,
296638  &_swigt__p_std__mapT_std__string_NeuralModule_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t_t,
296639  &_swigt__p_std__mapT_std__string_OdorType_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t_t,
296640  &_swigt__p_std__mapT_std__string_Odor_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t_t,
296641  &_swigt__p_std__mapT_std__string_Organism_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t_t,
296642  &_swigt__p_std__mapT_std__string_RigidBody_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t_t,
296643  &_swigt__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,
296644  &_swigt__p_std__mapT_std__string_Structure_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t_t,
296645  &_swigt__p_std__ofstream,
296646  &_swigt__p_std__ostream,
296647  &_swigt__p_std__string,
296648  &_swigt__p_std__unordered_setT_AnimatSim__Environment__RigidBody_p_t,
296649  &_swigt__p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t,
296650  &_swigt__p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t,
296651  &_swigt__p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t,
296652  &_swigt__p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t,
296653  &_swigt__p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t,
296654  &_swigt__p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t,
296655  &_swigt__p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t,
296656  &_swigt__p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t,
296657  &_swigt__p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t,
296658  &_swigt__p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t,
296659  &_swigt__p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t,
296660  &_swigt__p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t,
296661  &_swigt__p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t,
296662  &_swigt__p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t,
296663  &_swigt__p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t,
296664  &_swigt__p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t,
296665  &_swigt__p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t,
296666  &_swigt__p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t,
296667  &_swigt__p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t,
296668  &_swigt__p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t,
296669  &_swigt__p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t,
296670  &_swigt__p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t,
296671  &_swigt__p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t,
296672  &_swigt__p_std__vectorT_double_std__allocatorT_double_t_t,
296673  &_swigt__p_std__vectorT_float_std__allocatorT_float_t_t,
296674  &_swigt__p_std__vectorT_int_std__allocatorT_int_t_t,
296675  &_swigt__p_std__vectorT_long_std__allocatorT_long_t_t,
296676  &_swigt__p_std__vectorT_std__string_std__allocatorT_std__string_t_t,
296677  &_swigt__p_swig__SwigPyIterator,
296678  &_swigt__p_unsigned_char,
296679  &_swigt__p_unsigned_int,
296680  &_swigt__p_unsigned_long,
296681  &_swigt__p_unsigned_short,
296682  &_swigt__p_value_type,
296683 };
296684 
296685 static swig_cast_info _swigc__p_ActivatedItem[] = { {&_swigt__p_ActivatedItem, 0, 0, 0},{0, 0, 0, 0}};
296686 static swig_cast_info _swigc__p_Adapter[] = { {&_swigt__p_Adapter, 0, 0, 0},{0, 0, 0, 0}};
296687 static swig_cast_info _swigc__p_AnimatBase[] = { {&_swigt__p_AnimatBase, 0, 0, 0},{0, 0, 0, 0}};
296688 static swig_cast_info _swigc__p_AnimatPropertyType[] = { {&_swigt__p_AnimatPropertyType, 0, 0, 0},{0, 0, 0, 0}};
296689 static swig_cast_info _swigc__p_AnimatSim__ActivatedItem[] = { {&_swigt__p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, _p_AnimatSim__ExternalStimuli__InverseMuscleCurrentTo_p_AnimatSim__ActivatedItem, 0, 0}, {&_swigt__p_AnimatSim__Charting__MemoryChart, _p_AnimatSim__Charting__MemoryChartTo_p_AnimatSim__ActivatedItem, 0, 0}, {&_swigt__p_AnimatSim__Recording__KeyFrame, _p_AnimatSim__Recording__KeyFrameTo_p_AnimatSim__ActivatedItem, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__ExternalInputStimulus, _p_AnimatSim__ExternalStimuli__ExternalInputStimulusTo_p_AnimatSim__ActivatedItem, 0, 0}, {&_swigt__p_AnimatSim__Charting__DataChart, _p_AnimatSim__Charting__DataChartTo_p_AnimatSim__ActivatedItem, 0, 0}, {&_swigt__p_AnimatSim__Charting__ArrayChart, _p_AnimatSim__Charting__ArrayChartTo_p_AnimatSim__ActivatedItem, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__VoltageClamp, _p_AnimatSim__ExternalStimuli__VoltageClampTo_p_AnimatSim__ActivatedItem, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__PropertyControlStimulus, _p_AnimatSim__ExternalStimuli__PropertyControlStimulusTo_p_AnimatSim__ActivatedItem, 0, 0}, {&_swigt__p_AnimatSim__Charting__FileChart, _p_AnimatSim__Charting__FileChartTo_p_AnimatSim__ActivatedItem, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__MotorStimulus, _p_AnimatSim__ExternalStimuli__MotorStimulusTo_p_AnimatSim__ActivatedItem, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__EnablerStimulus, _p_AnimatSim__ExternalStimuli__EnablerStimulusTo_p_AnimatSim__ActivatedItem, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__CurrentStimulus, _p_AnimatSim__ExternalStimuli__CurrentStimulusTo_p_AnimatSim__ActivatedItem, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__ExternalStimulus, _p_AnimatSim__ExternalStimuli__ExternalStimulusTo_p_AnimatSim__ActivatedItem, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__ForceStimulus, _p_AnimatSim__ExternalStimuli__ForceStimulusTo_p_AnimatSim__ActivatedItem, 0, 0}, {&_swigt__p_AnimatSim__ActivatedItem, 0, 0, 0},{0, 0, 0, 0}};
296690 static swig_cast_info _swigc__p_AnimatSim__ActivatedItemMgr[] = { {&_swigt__p_AnimatSim__ActivatedItemMgr, 0, 0, 0}, {&_swigt__p_AnimatSim__Recording__SimulationRecorder, _p_AnimatSim__Recording__SimulationRecorderTo_p_AnimatSim__ActivatedItemMgr, 0, 0}, {&_swigt__p_AnimatSim__Charting__DataChartMgr, _p_AnimatSim__Charting__DataChartMgrTo_p_AnimatSim__ActivatedItemMgr, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__ExternalStimuliMgr, _p_AnimatSim__ExternalStimuli__ExternalStimuliMgrTo_p_AnimatSim__ActivatedItemMgr, 0, 0},{0, 0, 0, 0}};
296691 static swig_cast_info _swigc__p_AnimatSim__Adapters__Adapter[] = { {&_swigt__p_AnimatSim__Adapters__Adapter, 0, 0, 0}, {&_swigt__p_AnimatSim__Adapters__PropertyControlAdapter, _p_AnimatSim__Adapters__PropertyControlAdapterTo_p_AnimatSim__Adapters__Adapter, 0, 0}, {&_swigt__p_AnimatSim__Adapters__ContactAdapter, _p_AnimatSim__Adapters__ContactAdapterTo_p_AnimatSim__Adapters__Adapter, 0, 0},{0, 0, 0, 0}};
296692 static swig_cast_info _swigc__p_AnimatSim__Adapters__ContactAdapter[] = { {&_swigt__p_AnimatSim__Adapters__ContactAdapter, 0, 0, 0},{0, 0, 0, 0}};
296693 static swig_cast_info _swigc__p_AnimatSim__Adapters__PropertyControlAdapter[] = { {&_swigt__p_AnimatSim__Adapters__PropertyControlAdapter, 0, 0, 0},{0, 0, 0, 0}};
296694 static swig_cast_info _swigc__p_AnimatSim__AnimatBase[] = { {&_swigt__p_AnimatSim__Charting__MemoryChart, _p_AnimatSim__Charting__MemoryChartTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Gains__BellGain, _p_AnimatSim__Gains__BellGainTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Spring, _p_AnimatSim__Environment__Bodies__SpringTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__TonicNeuron, _p_FiringRateSim__Neurons__TonicNeuronTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__BistableNeuron, _p_FiringRateSim__Neurons__BistableNeuronTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__RandomNeuron, _p_FiringRateSim__Neurons__RandomNeuronTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__Neuron, _p_FiringRateSim__Neurons__NeuronTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Ellipsoid, _p_AnimatSim__Environment__Bodies__EllipsoidTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Charting__FileChart, _p_AnimatSim__Charting__FileChartTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillMuscle, _p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Behavior__NeuralModule, _p_AnimatSim__Behavior__NeuralModuleTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Behavior__PhysicsNeuralModule, _p_AnimatSim__Behavior__PhysicsNeuralModuleTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Charting__DataColumn, _p_AnimatSim__Charting__DataColumnTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Mouth, _p_AnimatSim__Environment__Bodies__MouthTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Light, _p_AnimatSim__Environment__LightTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__BodyPart, _p_AnimatSim__Environment__BodyPartTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Gains__Gain, _p_AnimatSim__Gains__GainTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__ContactSensor, _p_AnimatSim__Environment__ContactSensorTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__OdorSensor, _p_AnimatSim__Environment__Bodies__OdorSensorTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__ConstraintFriction, _p_AnimatSim__Environment__ConstraintFrictionTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Gains__SigmoidGain, _p_AnimatSim__Gains__SigmoidGainTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__MotorizedJoint, _p_AnimatSim__Environment__MotorizedJointTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Gains__LengthTensionGain, _p_AnimatSim__Gains__LengthTensionGainTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Gains__EquationGain, _p_AnimatSim__Gains__EquationGainTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__Prismatic, _p_AnimatSim__Environment__Joints__PrismaticTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__LinearJoint, _p_AnimatSim__Environment__Joints__LinearJointTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__ActivatedItemMgr, _p_AnimatSim__ActivatedItemMgrTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__ReceptiveFieldPair, _p_AnimatSim__Environment__ReceptiveFieldPairTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__MuscleBase, _p_AnimatSim__Environment__Bodies__MuscleBaseTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Robotics__RobotIOControl, _p_AnimatSim__Robotics__RobotIOControlTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Robotics__RemoteControl, _p_AnimatSim__Robotics__RemoteControlTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__PropertyControlStimulus, _p_AnimatSim__ExternalStimuli__PropertyControlStimulusTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__CollisionPair, _p_AnimatSim__Environment__CollisionPairTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Robotics__RemoteControlLinkage, _p_AnimatSim__Robotics__RemoteControlLinkageTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Robotics__PassThroughLinkage, _p_AnimatSim__Robotics__PassThroughLinkageTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Robotics__PulsedLinkage, _p_AnimatSim__Robotics__PulsedLinkageTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__OdorType, _p_AnimatSim__Environment__OdorTypeTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Recording__KeyFrame, _p_AnimatSim__Recording__KeyFrameTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Charting__ArrayChart, _p_AnimatSim__Charting__ArrayChartTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, _p_AnimatSim__ExternalStimuli__InverseMuscleCurrentTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Cone, _p_AnimatSim__Environment__Bodies__ConeTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Plane, _p_AnimatSim__Environment__Bodies__PlaneTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__PacemakerNeuron, _p_FiringRateSim__Neurons__PacemakerNeuronTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_FiringRateSim__Synapses__Synapse, _p_FiringRateSim__Synapses__SynapseTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_FiringRateSim__Synapses__GatedSynapse, _p_FiringRateSim__Synapses__GatedSynapseTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_FiringRateSim__Synapses__ModulatedSynapse, _p_FiringRateSim__Synapses__ModulatedSynapseTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, _p_FiringRateSim__Synapses__ModulateNeuronPropSynapseTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Odor, _p_AnimatSim__Environment__OdorTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__ExternalStimulus, _p_AnimatSim__ExternalStimuli__ExternalStimulusTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__CurrentStimulus, _p_AnimatSim__ExternalStimuli__CurrentStimulusTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__EnablerStimulus, _p_AnimatSim__ExternalStimuli__EnablerStimulusTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__MotorStimulus, _p_AnimatSim__ExternalStimuli__MotorStimulusTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__ForceStimulus, _p_AnimatSim__ExternalStimuli__ForceStimulusTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__ActivatedItem, _p_AnimatSim__ActivatedItemTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Adapters__Adapter, _p_AnimatSim__Adapters__AdapterTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Adapters__PropertyControlAdapter, _p_AnimatSim__Adapters__PropertyControlAdapterTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Adapters__ContactAdapter, _p_AnimatSim__Adapters__ContactAdapterTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__ConstraintLimit, _p_AnimatSim__Environment__ConstraintLimitTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__ExternalInputStimulus, _p_AnimatSim__ExternalStimuli__ExternalInputStimulusTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__VoltageClamp, _p_AnimatSim__ExternalStimuli__VoltageClampTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__ExternalStimuliMgr, _p_AnimatSim__ExternalStimuli__ExternalStimuliMgrTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Attachment, _p_AnimatSim__Environment__Bodies__AttachmentTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LineBase, _p_AnimatSim__Environment__Bodies__LineBaseTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Charting__DataChart, _p_AnimatSim__Charting__DataChartTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__SimulationWindowMgr, _p_AnimatSim__SimulationWindowMgrTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Organism, _p_AnimatSim__Environment__OrganismTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Structure, _p_AnimatSim__Environment__StructureTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Torus, _p_AnimatSim__Environment__Bodies__TorusTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Charting__DataChartMgr, _p_AnimatSim__Charting__DataChartMgrTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Terrain, _p_AnimatSim__Environment__Bodies__TerrainTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Cylinder, _p_AnimatSim__Environment__Bodies__CylinderTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Recording__SimulationRecorder, _p_AnimatSim__Recording__SimulationRecorderTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__FluidPlane, _p_AnimatSim__Environment__Bodies__FluidPlaneTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Box, _p_AnimatSim__Environment__Bodies__BoxTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Robotics__RobotInterface, _p_AnimatSim__Robotics__RobotInterfaceTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Robotics__RobotPartInterface, _p_AnimatSim__Robotics__RobotPartInterfaceTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Mesh, _p_AnimatSim__Environment__Bodies__MeshTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__SimulationMgr, _p_AnimatSim__SimulationMgrTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Hud, _p_AnimatSim__HudTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__RPRO, _p_AnimatSim__Environment__Joints__RPROTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__ScriptProcessor, _p_AnimatSim__ScriptProcessorTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__LightManager, _p_AnimatSim__Environment__LightManagerTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Link, _p_AnimatSim__LinkTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_FiringRateSim__FiringRateModule, _p_FiringRateSim__FiringRateModuleTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__HudText, _p_AnimatSim__HudTextTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__Hinge, _p_AnimatSim__Environment__Joints__HingeTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__HudItem, _p_AnimatSim__HudItemTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Sensor, _p_AnimatSim__Environment__Bodies__SensorTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Materials, _p_AnimatSim__Environment__MaterialsTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__SimulationWindow, _p_AnimatSim__SimulationWindowTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__RigidBody, _p_AnimatSim__Environment__RigidBodyTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__AnimatBase, 0, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Stomach, _p_AnimatSim__Environment__Bodies__StomachTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Behavior__NervousSystem, _p_AnimatSim__Behavior__NervousSystemTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Gains__PolynomialGain, _p_AnimatSim__Gains__PolynomialGainTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Sphere, _p_AnimatSim__Environment__Bodies__SphereTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__BallSocket, _p_AnimatSim__Environment__Joints__BallSocketTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__MaterialType, _p_AnimatSim__Environment__MaterialTypeTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joint, _p_AnimatSim__Environment__JointTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, _p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__ConstraintRelaxation, _p_AnimatSim__Environment__ConstraintRelaxationTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Node, _p_AnimatSim__NodeTo_p_AnimatSim__AnimatBase, 0, 0}, {&_swigt__p_AnimatSim__Simulator, _p_AnimatSim__SimulatorTo_p_AnimatSim__AnimatBase, 0, 0},{0, 0, 0, 0}};
296695 static swig_cast_info _swigc__p_AnimatSim__Behavior__NervousSystem[] = { {&_swigt__p_AnimatSim__Behavior__NervousSystem, 0, 0, 0},{0, 0, 0, 0}};
296696 static swig_cast_info _swigc__p_AnimatSim__Behavior__NeuralModule[] = { {&_swigt__p_AnimatSim__Behavior__NeuralModule, 0, 0, 0}, {&_swigt__p_AnimatSim__Behavior__PhysicsNeuralModule, _p_AnimatSim__Behavior__PhysicsNeuralModuleTo_p_AnimatSim__Behavior__NeuralModule, 0, 0}, {&_swigt__p_FiringRateSim__FiringRateModule, _p_FiringRateSim__FiringRateModuleTo_p_AnimatSim__Behavior__NeuralModule, 0, 0},{0, 0, 0, 0}};
296697 static swig_cast_info _swigc__p_AnimatSim__Behavior__PhysicsNeuralModule[] = { {&_swigt__p_AnimatSim__Behavior__PhysicsNeuralModule, 0, 0, 0},{0, 0, 0, 0}};
296698 static swig_cast_info _swigc__p_AnimatSim__BoundingBox[] = { {&_swigt__p_AnimatSim__BoundingBox, 0, 0, 0},{0, 0, 0, 0}};
296699 static swig_cast_info _swigc__p_AnimatSim__Charting__ArrayChart[] = { {&_swigt__p_AnimatSim__Charting__ArrayChart, 0, 0, 0},{0, 0, 0, 0}};
296700 static swig_cast_info _swigc__p_AnimatSim__Charting__DataChart[] = { {&_swigt__p_AnimatSim__Charting__DataChart, 0, 0, 0}, {&_swigt__p_AnimatSim__Charting__FileChart, _p_AnimatSim__Charting__FileChartTo_p_AnimatSim__Charting__DataChart, 0, 0}, {&_swigt__p_AnimatSim__Charting__ArrayChart, _p_AnimatSim__Charting__ArrayChartTo_p_AnimatSim__Charting__DataChart, 0, 0}, {&_swigt__p_AnimatSim__Charting__MemoryChart, _p_AnimatSim__Charting__MemoryChartTo_p_AnimatSim__Charting__DataChart, 0, 0},{0, 0, 0, 0}};
296701 static swig_cast_info _swigc__p_AnimatSim__Charting__DataChartMgr[] = { {&_swigt__p_AnimatSim__Charting__DataChartMgr, 0, 0, 0},{0, 0, 0, 0}};
296702 static swig_cast_info _swigc__p_AnimatSim__Charting__DataColumn[] = { {&_swigt__p_AnimatSim__Charting__DataColumn, 0, 0, 0},{0, 0, 0, 0}};
296703 static swig_cast_info _swigc__p_AnimatSim__Charting__FileChart[] = { {&_swigt__p_AnimatSim__Charting__FileChart, 0, 0, 0},{0, 0, 0, 0}};
296704 static swig_cast_info _swigc__p_AnimatSim__Charting__MemoryChart[] = { {&_swigt__p_AnimatSim__Charting__MemoryChart, 0, 0, 0},{0, 0, 0, 0}};
296705 static swig_cast_info _swigc__p_AnimatSim__DelayLine[] = { {&_swigt__p_AnimatSim__DelayLine, 0, 0, 0},{0, 0, 0, 0}};
296706 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__Attachment[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Attachment, 0, 0, 0},{0, 0, 0, 0}};
296707 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__Box[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Box, 0, 0, 0},{0, 0, 0, 0}};
296708 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__Cone[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Cone, 0, 0, 0},{0, 0, 0, 0}};
296709 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__Cylinder[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Cylinder, 0, 0, 0},{0, 0, 0, 0}};
296710 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__Ellipsoid[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Ellipsoid, 0, 0, 0},{0, 0, 0, 0}};
296711 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__FluidPlane[] = { {&_swigt__p_AnimatSim__Environment__Bodies__FluidPlane, 0, 0, 0},{0, 0, 0, 0}};
296712 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__LineBase[] = { {&_swigt__p_AnimatSim__Environment__Bodies__LineBase, 0, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillMuscle, _p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_AnimatSim__Environment__Bodies__LineBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, _p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__Environment__Bodies__LineBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Spring, _p_AnimatSim__Environment__Bodies__SpringTo_p_AnimatSim__Environment__Bodies__LineBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__MuscleBase, _p_AnimatSim__Environment__Bodies__MuscleBaseTo_p_AnimatSim__Environment__Bodies__LineBase, 0, 0},{0, 0, 0, 0}};
296713 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__LinearHillMuscle[] = { {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, _p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__Environment__Bodies__LinearHillMuscle, 0, 0},{0, 0, 0, 0}};
296714 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor[] = { {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, 0, 0, 0},{0, 0, 0, 0}};
296715 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__Mesh[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Mesh, 0, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Terrain, _p_AnimatSim__Environment__Bodies__TerrainTo_p_AnimatSim__Environment__Bodies__Mesh, 0, 0},{0, 0, 0, 0}};
296716 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__Mouth[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Mouth, 0, 0, 0},{0, 0, 0, 0}};
296717 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__MuscleBase[] = { {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillMuscle, _p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_AnimatSim__Environment__Bodies__MuscleBase, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__MuscleBase, 0, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, _p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__Environment__Bodies__MuscleBase, 0, 0},{0, 0, 0, 0}};
296718 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__OdorSensor[] = { {&_swigt__p_AnimatSim__Environment__Bodies__OdorSensor, 0, 0, 0},{0, 0, 0, 0}};
296719 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__Plane[] = { {&_swigt__p_AnimatSim__Environment__Bodies__FluidPlane, _p_AnimatSim__Environment__Bodies__FluidPlaneTo_p_AnimatSim__Environment__Bodies__Plane, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Plane, 0, 0, 0},{0, 0, 0, 0}};
296720 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__Sensor[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Mouth, _p_AnimatSim__Environment__Bodies__MouthTo_p_AnimatSim__Environment__Bodies__Sensor, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Attachment, _p_AnimatSim__Environment__Bodies__AttachmentTo_p_AnimatSim__Environment__Bodies__Sensor, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__OdorSensor, _p_AnimatSim__Environment__Bodies__OdorSensorTo_p_AnimatSim__Environment__Bodies__Sensor, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Sensor, 0, 0, 0},{0, 0, 0, 0}};
296721 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__Sphere[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Sphere, 0, 0, 0},{0, 0, 0, 0}};
296722 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__Spring[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Spring, 0, 0, 0},{0, 0, 0, 0}};
296723 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__Stomach[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Stomach, 0, 0, 0},{0, 0, 0, 0}};
296724 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__Terrain[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Terrain, 0, 0, 0},{0, 0, 0, 0}};
296725 static swig_cast_info _swigc__p_AnimatSim__Environment__Bodies__Torus[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Torus, 0, 0, 0},{0, 0, 0, 0}};
296726 static swig_cast_info _swigc__p_AnimatSim__Environment__BodyPart[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Sensor, _p_AnimatSim__Environment__Bodies__SensorTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__LinearJoint, _p_AnimatSim__Environment__Joints__LinearJointTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Mouth, _p_AnimatSim__Environment__Bodies__MouthTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Plane, _p_AnimatSim__Environment__Bodies__PlaneTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__BallSocket, _p_AnimatSim__Environment__Joints__BallSocketTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__OdorSensor, _p_AnimatSim__Environment__Bodies__OdorSensorTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillMuscle, _p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Mesh, _p_AnimatSim__Environment__Bodies__MeshTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__MotorizedJoint, _p_AnimatSim__Environment__MotorizedJointTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, _p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Box, _p_AnimatSim__Environment__Bodies__BoxTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Torus, _p_AnimatSim__Environment__Bodies__TorusTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__RPRO, _p_AnimatSim__Environment__Joints__RPROTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Attachment, _p_AnimatSim__Environment__Bodies__AttachmentTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__RigidBody, _p_AnimatSim__Environment__RigidBodyTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Spring, _p_AnimatSim__Environment__Bodies__SpringTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__MuscleBase, _p_AnimatSim__Environment__Bodies__MuscleBaseTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__FluidPlane, _p_AnimatSim__Environment__Bodies__FluidPlaneTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Sphere, _p_AnimatSim__Environment__Bodies__SphereTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Ellipsoid, _p_AnimatSim__Environment__Bodies__EllipsoidTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Cylinder, _p_AnimatSim__Environment__Bodies__CylinderTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Stomach, _p_AnimatSim__Environment__Bodies__StomachTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Cone, _p_AnimatSim__Environment__Bodies__ConeTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LineBase, _p_AnimatSim__Environment__Bodies__LineBaseTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joint, _p_AnimatSim__Environment__JointTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Terrain, _p_AnimatSim__Environment__Bodies__TerrainTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__BodyPart, 0, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__Hinge, _p_AnimatSim__Environment__Joints__HingeTo_p_AnimatSim__Environment__BodyPart, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__Prismatic, _p_AnimatSim__Environment__Joints__PrismaticTo_p_AnimatSim__Environment__BodyPart, 0, 0},{0, 0, 0, 0}};
296727 static swig_cast_info _swigc__p_AnimatSim__Environment__CollisionPair[] = { {&_swigt__p_AnimatSim__Environment__CollisionPair, 0, 0, 0},{0, 0, 0, 0}};
296728 static swig_cast_info _swigc__p_AnimatSim__Environment__ConstraintFriction[] = { {&_swigt__p_AnimatSim__Environment__ConstraintFriction, 0, 0, 0},{0, 0, 0, 0}};
296729 static swig_cast_info _swigc__p_AnimatSim__Environment__ConstraintLimit[] = { {&_swigt__p_AnimatSim__Environment__ConstraintLimit, 0, 0, 0},{0, 0, 0, 0}};
296730 static swig_cast_info _swigc__p_AnimatSim__Environment__ConstraintRelaxation[] = { {&_swigt__p_AnimatSim__Environment__ConstraintRelaxation, 0, 0, 0},{0, 0, 0, 0}};
296731 static swig_cast_info _swigc__p_AnimatSim__Environment__ContactSensor[] = { {&_swigt__p_AnimatSim__Environment__ContactSensor, 0, 0, 0},{0, 0, 0, 0}};
296732 static swig_cast_info _swigc__p_AnimatSim__Environment__IMotorizedJoint[] = { {&_swigt__p_AnimatSim__Environment__IMotorizedJoint, 0, 0, 0},{0, 0, 0, 0}};
296733 static swig_cast_info _swigc__p_AnimatSim__Environment__IPhysicsBody[] = { {&_swigt__p_AnimatSim__Environment__IPhysicsBody, 0, 0, 0},{0, 0, 0, 0}};
296734 static swig_cast_info _swigc__p_AnimatSim__Environment__IPhysicsMovableItem[] = { {&_swigt__p_AnimatSim__Environment__IPhysicsMovableItem, 0, 0, 0},{0, 0, 0, 0}};
296735 static swig_cast_info _swigc__p_AnimatSim__Environment__Joint[] = { {&_swigt__p_AnimatSim__Environment__Joint, 0, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__Hinge, _p_AnimatSim__Environment__Joints__HingeTo_p_AnimatSim__Environment__Joint, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__RPRO, _p_AnimatSim__Environment__Joints__RPROTo_p_AnimatSim__Environment__Joint, 0, 0}, {&_swigt__p_AnimatSim__Environment__MotorizedJoint, _p_AnimatSim__Environment__MotorizedJointTo_p_AnimatSim__Environment__Joint, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__LinearJoint, _p_AnimatSim__Environment__Joints__LinearJointTo_p_AnimatSim__Environment__Joint, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__Prismatic, _p_AnimatSim__Environment__Joints__PrismaticTo_p_AnimatSim__Environment__Joint, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__BallSocket, _p_AnimatSim__Environment__Joints__BallSocketTo_p_AnimatSim__Environment__Joint, 0, 0},{0, 0, 0, 0}};
296736 static swig_cast_info _swigc__p_AnimatSim__Environment__Joints__BallSocket[] = { {&_swigt__p_AnimatSim__Environment__Joints__BallSocket, 0, 0, 0},{0, 0, 0, 0}};
296737 static swig_cast_info _swigc__p_AnimatSim__Environment__Joints__Hinge[] = { {&_swigt__p_AnimatSim__Environment__Joints__Hinge, 0, 0, 0},{0, 0, 0, 0}};
296738 static swig_cast_info _swigc__p_AnimatSim__Environment__Joints__LinearJoint[] = { {&_swigt__p_AnimatSim__Environment__Joints__LinearJoint, 0, 0, 0},{0, 0, 0, 0}};
296739 static swig_cast_info _swigc__p_AnimatSim__Environment__Joints__Prismatic[] = { {&_swigt__p_AnimatSim__Environment__Joints__Prismatic, 0, 0, 0},{0, 0, 0, 0}};
296740 static swig_cast_info _swigc__p_AnimatSim__Environment__Joints__RPRO[] = { {&_swigt__p_AnimatSim__Environment__Joints__RPRO, 0, 0, 0},{0, 0, 0, 0}};
296741 static swig_cast_info _swigc__p_AnimatSim__Environment__Light[] = { {&_swigt__p_AnimatSim__Environment__Light, 0, 0, 0},{0, 0, 0, 0}};
296742 static swig_cast_info _swigc__p_AnimatSim__Environment__LightManager[] = { {&_swigt__p_AnimatSim__Environment__LightManager, 0, 0, 0},{0, 0, 0, 0}};
296743 static swig_cast_info _swigc__p_AnimatSim__Environment__MaterialType[] = { {&_swigt__p_AnimatSim__Environment__MaterialType, 0, 0, 0},{0, 0, 0, 0}};
296744 static swig_cast_info _swigc__p_AnimatSim__Environment__Materials[] = { {&_swigt__p_AnimatSim__Environment__Materials, 0, 0, 0},{0, 0, 0, 0}};
296745 static swig_cast_info _swigc__p_AnimatSim__Environment__MotorizedJoint[] = { {&_swigt__p_AnimatSim__Environment__Joints__Hinge, _p_AnimatSim__Environment__Joints__HingeTo_p_AnimatSim__Environment__MotorizedJoint, 0, 0}, {&_swigt__p_AnimatSim__Environment__MotorizedJoint, 0, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__Prismatic, _p_AnimatSim__Environment__Joints__PrismaticTo_p_AnimatSim__Environment__MotorizedJoint, 0, 0},{0, 0, 0, 0}};
296746 static swig_cast_info _swigc__p_AnimatSim__Environment__MovableItem[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Sensor, _p_AnimatSim__Environment__Bodies__SensorTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__LinearJoint, _p_AnimatSim__Environment__Joints__LinearJointTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Mouth, _p_AnimatSim__Environment__Bodies__MouthTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Plane, _p_AnimatSim__Environment__Bodies__PlaneTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__BallSocket, _p_AnimatSim__Environment__Joints__BallSocketTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__OdorSensor, _p_AnimatSim__Environment__Bodies__OdorSensorTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillMuscle, _p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Mesh, _p_AnimatSim__Environment__Bodies__MeshTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__MotorizedJoint, _p_AnimatSim__Environment__MotorizedJointTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, _p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Box, _p_AnimatSim__Environment__Bodies__BoxTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Torus, _p_AnimatSim__Environment__Bodies__TorusTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__RPRO, _p_AnimatSim__Environment__Joints__RPROTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Attachment, _p_AnimatSim__Environment__Bodies__AttachmentTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__RigidBody, _p_AnimatSim__Environment__RigidBodyTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Spring, _p_AnimatSim__Environment__Bodies__SpringTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__MuscleBase, _p_AnimatSim__Environment__Bodies__MuscleBaseTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__MovableItem, 0, 0, 0}, {&_swigt__p_AnimatSim__Environment__Organism, _p_AnimatSim__Environment__OrganismTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__FluidPlane, _p_AnimatSim__Environment__Bodies__FluidPlaneTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Sphere, _p_AnimatSim__Environment__Bodies__SphereTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Ellipsoid, _p_AnimatSim__Environment__Bodies__EllipsoidTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Cylinder, _p_AnimatSim__Environment__Bodies__CylinderTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Stomach, _p_AnimatSim__Environment__Bodies__StomachTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Light, _p_AnimatSim__Environment__LightTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Cone, _p_AnimatSim__Environment__Bodies__ConeTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LineBase, _p_AnimatSim__Environment__Bodies__LineBaseTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joint, _p_AnimatSim__Environment__JointTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Structure, _p_AnimatSim__Environment__StructureTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Terrain, _p_AnimatSim__Environment__Bodies__TerrainTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__Hinge, _p_AnimatSim__Environment__Joints__HingeTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__Prismatic, _p_AnimatSim__Environment__Joints__PrismaticTo_p_AnimatSim__Environment__MovableItem, 0, 0}, {&_swigt__p_AnimatSim__Environment__BodyPart, _p_AnimatSim__Environment__BodyPartTo_p_AnimatSim__Environment__MovableItem, 0, 0},{0, 0, 0, 0}};
296747 static swig_cast_info _swigc__p_AnimatSim__Environment__Odor[] = { {&_swigt__p_AnimatSim__Environment__Odor, 0, 0, 0},{0, 0, 0, 0}};
296748 static swig_cast_info _swigc__p_AnimatSim__Environment__OdorType[] = { {&_swigt__p_AnimatSim__Environment__OdorType, 0, 0, 0},{0, 0, 0, 0}};
296749 static swig_cast_info _swigc__p_AnimatSim__Environment__Organism[] = { {&_swigt__p_AnimatSim__Environment__Organism, 0, 0, 0},{0, 0, 0, 0}};
296750 static swig_cast_info _swigc__p_AnimatSim__Environment__ReceptiveFieldPair[] = { {&_swigt__p_AnimatSim__Environment__ReceptiveFieldPair, 0, 0, 0},{0, 0, 0, 0}};
296751 static swig_cast_info _swigc__p_AnimatSim__Environment__RigidBody[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Sensor, _p_AnimatSim__Environment__Bodies__SensorTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Mouth, _p_AnimatSim__Environment__Bodies__MouthTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Plane, _p_AnimatSim__Environment__Bodies__PlaneTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__OdorSensor, _p_AnimatSim__Environment__Bodies__OdorSensorTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillMuscle, _p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Mesh, _p_AnimatSim__Environment__Bodies__MeshTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Box, _p_AnimatSim__Environment__Bodies__BoxTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, _p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Torus, _p_AnimatSim__Environment__Bodies__TorusTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Spring, _p_AnimatSim__Environment__Bodies__SpringTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__RigidBody, 0, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Attachment, _p_AnimatSim__Environment__Bodies__AttachmentTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__MuscleBase, _p_AnimatSim__Environment__Bodies__MuscleBaseTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__FluidPlane, _p_AnimatSim__Environment__Bodies__FluidPlaneTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Sphere, _p_AnimatSim__Environment__Bodies__SphereTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Ellipsoid, _p_AnimatSim__Environment__Bodies__EllipsoidTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Cylinder, _p_AnimatSim__Environment__Bodies__CylinderTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Stomach, _p_AnimatSim__Environment__Bodies__StomachTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Cone, _p_AnimatSim__Environment__Bodies__ConeTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LineBase, _p_AnimatSim__Environment__Bodies__LineBaseTo_p_AnimatSim__Environment__RigidBody, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Terrain, _p_AnimatSim__Environment__Bodies__TerrainTo_p_AnimatSim__Environment__RigidBody, 0, 0},{0, 0, 0, 0}};
296752 static swig_cast_info _swigc__p_AnimatSim__Environment__Structure[] = { {&_swigt__p_AnimatSim__Environment__Structure, 0, 0, 0}, {&_swigt__p_AnimatSim__Environment__Organism, _p_AnimatSim__Environment__OrganismTo_p_AnimatSim__Environment__Structure, 0, 0},{0, 0, 0, 0}};
296753 static swig_cast_info _swigc__p_AnimatSim__ExternalStimuli__CurrentStimulus[] = { {&_swigt__p_AnimatSim__ExternalStimuli__CurrentStimulus, 0, 0, 0},{0, 0, 0, 0}};
296754 static swig_cast_info _swigc__p_AnimatSim__ExternalStimuli__EnablerStimulus[] = { {&_swigt__p_AnimatSim__ExternalStimuli__EnablerStimulus, 0, 0, 0},{0, 0, 0, 0}};
296755 static swig_cast_info _swigc__p_AnimatSim__ExternalStimuli__ExternalInputStimulus[] = { {&_swigt__p_AnimatSim__ExternalStimuli__ExternalInputStimulus, 0, 0, 0},{0, 0, 0, 0}};
296756 static swig_cast_info _swigc__p_AnimatSim__ExternalStimuli__ExternalStimuliMgr[] = { {&_swigt__p_AnimatSim__ExternalStimuli__ExternalStimuliMgr, 0, 0, 0},{0, 0, 0, 0}};
296757 static swig_cast_info _swigc__p_AnimatSim__ExternalStimuli__ExternalStimulus[] = { {&_swigt__p_AnimatSim__ExternalStimuli__VoltageClamp, _p_AnimatSim__ExternalStimuli__VoltageClampTo_p_AnimatSim__ExternalStimuli__ExternalStimulus, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, _p_AnimatSim__ExternalStimuli__InverseMuscleCurrentTo_p_AnimatSim__ExternalStimuli__ExternalStimulus, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__ExternalInputStimulus, _p_AnimatSim__ExternalStimuli__ExternalInputStimulusTo_p_AnimatSim__ExternalStimuli__ExternalStimulus, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__PropertyControlStimulus, _p_AnimatSim__ExternalStimuli__PropertyControlStimulusTo_p_AnimatSim__ExternalStimuli__ExternalStimulus, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__ExternalStimulus, 0, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__CurrentStimulus, _p_AnimatSim__ExternalStimuli__CurrentStimulusTo_p_AnimatSim__ExternalStimuli__ExternalStimulus, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__EnablerStimulus, _p_AnimatSim__ExternalStimuli__EnablerStimulusTo_p_AnimatSim__ExternalStimuli__ExternalStimulus, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__MotorStimulus, _p_AnimatSim__ExternalStimuli__MotorStimulusTo_p_AnimatSim__ExternalStimuli__ExternalStimulus, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__ForceStimulus, _p_AnimatSim__ExternalStimuli__ForceStimulusTo_p_AnimatSim__ExternalStimuli__ExternalStimulus, 0, 0},{0, 0, 0, 0}};
296758 static swig_cast_info _swigc__p_AnimatSim__ExternalStimuli__ForceStimulus[] = { {&_swigt__p_AnimatSim__ExternalStimuli__ForceStimulus, 0, 0, 0},{0, 0, 0, 0}};
296759 static swig_cast_info _swigc__p_AnimatSim__ExternalStimuli__InverseMuscleCurrent[] = { {&_swigt__p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, 0, 0, 0},{0, 0, 0, 0}};
296760 static swig_cast_info _swigc__p_AnimatSim__ExternalStimuli__MotorStimulus[] = { {&_swigt__p_AnimatSim__ExternalStimuli__MotorStimulus, 0, 0, 0},{0, 0, 0, 0}};
296761 static swig_cast_info _swigc__p_AnimatSim__ExternalStimuli__PropertyControlStimulus[] = { {&_swigt__p_AnimatSim__ExternalStimuli__PropertyControlStimulus, 0, 0, 0},{0, 0, 0, 0}};
296762 static swig_cast_info _swigc__p_AnimatSim__ExternalStimuli__VoltageClamp[] = { {&_swigt__p_AnimatSim__ExternalStimuli__VoltageClamp, 0, 0, 0},{0, 0, 0, 0}};
296763 static swig_cast_info _swigc__p_AnimatSim__Gains__BellGain[] = { {&_swigt__p_AnimatSim__Gains__BellGain, 0, 0, 0},{0, 0, 0, 0}};
296764 static swig_cast_info _swigc__p_AnimatSim__Gains__EquationGain[] = { {&_swigt__p_AnimatSim__Gains__EquationGain, 0, 0, 0},{0, 0, 0, 0}};
296765 static swig_cast_info _swigc__p_AnimatSim__Gains__Gain[] = { {&_swigt__p_AnimatSim__Gains__SigmoidGain, _p_AnimatSim__Gains__SigmoidGainTo_p_AnimatSim__Gains__Gain, 0, 0}, {&_swigt__p_AnimatSim__Gains__Gain, 0, 0, 0}, {&_swigt__p_AnimatSim__Gains__PolynomialGain, _p_AnimatSim__Gains__PolynomialGainTo_p_AnimatSim__Gains__Gain, 0, 0}, {&_swigt__p_AnimatSim__Gains__BellGain, _p_AnimatSim__Gains__BellGainTo_p_AnimatSim__Gains__Gain, 0, 0}, {&_swigt__p_AnimatSim__Gains__EquationGain, _p_AnimatSim__Gains__EquationGainTo_p_AnimatSim__Gains__Gain, 0, 0}, {&_swigt__p_AnimatSim__Gains__LengthTensionGain, _p_AnimatSim__Gains__LengthTensionGainTo_p_AnimatSim__Gains__Gain, 0, 0},{0, 0, 0, 0}};
296766 static swig_cast_info _swigc__p_AnimatSim__Gains__LengthTensionGain[] = { {&_swigt__p_AnimatSim__Gains__LengthTensionGain, 0, 0, 0},{0, 0, 0, 0}};
296767 static swig_cast_info _swigc__p_AnimatSim__Gains__PolynomialGain[] = { {&_swigt__p_AnimatSim__Gains__PolynomialGain, 0, 0, 0},{0, 0, 0, 0}};
296768 static swig_cast_info _swigc__p_AnimatSim__Gains__SigmoidGain[] = { {&_swigt__p_AnimatSim__Gains__SigmoidGain, 0, 0, 0},{0, 0, 0, 0}};
296769 static swig_cast_info _swigc__p_AnimatSim__Hud[] = { {&_swigt__p_AnimatSim__Hud, 0, 0, 0},{0, 0, 0, 0}};
296770 static swig_cast_info _swigc__p_AnimatSim__HudItem[] = { {&_swigt__p_AnimatSim__HudItem, 0, 0, 0}, {&_swigt__p_AnimatSim__HudText, _p_AnimatSim__HudTextTo_p_AnimatSim__HudItem, 0, 0},{0, 0, 0, 0}};
296771 static swig_cast_info _swigc__p_AnimatSim__HudText[] = { {&_swigt__p_AnimatSim__HudText, 0, 0, 0},{0, 0, 0, 0}};
296772 static swig_cast_info _swigc__p_AnimatSim__IMovableItemCallback[] = { {&_swigt__p_AnimatSim__IMovableItemCallback, 0, 0, 0},{0, 0, 0, 0}};
296773 static swig_cast_info _swigc__p_AnimatSim__ISimGUICallback[] = { {&_swigt__p_AnimatSim__SimulationThread, _p_AnimatSim__SimulationThreadTo_p_AnimatSim__ISimGUICallback, 0, 0}, {&_swigt__p_AnimatSim__ISimGUICallback, 0, 0, 0},{0, 0, 0, 0}};
296774 static swig_cast_info _swigc__p_AnimatSim__Link[] = { {&_swigt__p_AnimatSim__Link, 0, 0, 0}, {&_swigt__p_FiringRateSim__Synapses__Synapse, _p_FiringRateSim__Synapses__SynapseTo_p_AnimatSim__Link, 0, 0}, {&_swigt__p_FiringRateSim__Synapses__GatedSynapse, _p_FiringRateSim__Synapses__GatedSynapseTo_p_AnimatSim__Link, 0, 0}, {&_swigt__p_FiringRateSim__Synapses__ModulatedSynapse, _p_FiringRateSim__Synapses__ModulatedSynapseTo_p_AnimatSim__Link, 0, 0}, {&_swigt__p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, _p_FiringRateSim__Synapses__ModulateNeuronPropSynapseTo_p_AnimatSim__Link, 0, 0},{0, 0, 0, 0}};
296775 static swig_cast_info _swigc__p_AnimatSim__Node[] = { {&_swigt__p_AnimatSim__Environment__Bodies__Ellipsoid, _p_AnimatSim__Environment__Bodies__EllipsoidTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__FluidPlane, _p_AnimatSim__Environment__Bodies__FluidPlaneTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__Hinge, _p_AnimatSim__Environment__Joints__HingeTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__BodyPart, _p_AnimatSim__Environment__BodyPartTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Adapters__ContactAdapter, _p_AnimatSim__Adapters__ContactAdapterTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Adapters__PropertyControlAdapter, _p_AnimatSim__Adapters__PropertyControlAdapterTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Adapters__Adapter, _p_AnimatSim__Adapters__AdapterTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Spring, _p_AnimatSim__Environment__Bodies__SpringTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__RPRO, _p_AnimatSim__Environment__Joints__RPROTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__MuscleBase, _p_AnimatSim__Environment__Bodies__MuscleBaseTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Mouth, _p_AnimatSim__Environment__Bodies__MouthTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Plane, _p_AnimatSim__Environment__Bodies__PlaneTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__PacemakerNeuron, _p_FiringRateSim__Neurons__PacemakerNeuronTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__MotorizedJoint, _p_AnimatSim__Environment__MotorizedJointTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LineBase, _p_AnimatSim__Environment__Bodies__LineBaseTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, _p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillMuscle, _p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Cylinder, _p_AnimatSim__Environment__Bodies__CylinderTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__OdorSensor, _p_AnimatSim__Environment__Bodies__OdorSensorTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Stomach, _p_AnimatSim__Environment__Bodies__StomachTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Mesh, _p_AnimatSim__Environment__Bodies__MeshTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__BallSocket, _p_AnimatSim__Environment__Joints__BallSocketTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__Prismatic, _p_AnimatSim__Environment__Joints__PrismaticTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Attachment, _p_AnimatSim__Environment__Bodies__AttachmentTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joint, _p_AnimatSim__Environment__JointTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Sphere, _p_AnimatSim__Environment__Bodies__SphereTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__TonicNeuron, _p_FiringRateSim__Neurons__TonicNeuronTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__BistableNeuron, _p_FiringRateSim__Neurons__BistableNeuronTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__RandomNeuron, _p_FiringRateSim__Neurons__RandomNeuronTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__Neuron, _p_FiringRateSim__Neurons__NeuronTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Cone, _p_AnimatSim__Environment__Bodies__ConeTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Torus, _p_AnimatSim__Environment__Bodies__TorusTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Sensor, _p_AnimatSim__Environment__Bodies__SensorTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__RigidBody, _p_AnimatSim__Environment__RigidBodyTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Terrain, _p_AnimatSim__Environment__Bodies__TerrainTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Node, 0, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Box, _p_AnimatSim__Environment__Bodies__BoxTo_p_AnimatSim__Node, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__LinearJoint, _p_AnimatSim__Environment__Joints__LinearJointTo_p_AnimatSim__Node, 0, 0},{0, 0, 0, 0}};
296776 static swig_cast_info _swigc__p_AnimatSim__Recording__KeyFrame[] = { {&_swigt__p_AnimatSim__Recording__KeyFrame, 0, 0, 0},{0, 0, 0, 0}};
296777 static swig_cast_info _swigc__p_AnimatSim__Recording__SimulationRecorder[] = { {&_swigt__p_AnimatSim__Recording__SimulationRecorder, 0, 0, 0},{0, 0, 0, 0}};
296778 static swig_cast_info _swigc__p_AnimatSim__Robotics__PassThroughLinkage[] = { {&_swigt__p_AnimatSim__Robotics__PassThroughLinkage, 0, 0, 0},{0, 0, 0, 0}};
296779 static swig_cast_info _swigc__p_AnimatSim__Robotics__PulsedLinkage[] = { {&_swigt__p_AnimatSim__Robotics__PulsedLinkage, 0, 0, 0},{0, 0, 0, 0}};
296780 static swig_cast_info _swigc__p_AnimatSim__Robotics__RemoteControl[] = { {&_swigt__p_AnimatSim__Robotics__RemoteControl, 0, 0, 0},{0, 0, 0, 0}};
296781 static swig_cast_info _swigc__p_AnimatSim__Robotics__RemoteControlLinkage[] = { {&_swigt__p_AnimatSim__Robotics__RemoteControlLinkage, 0, 0, 0}, {&_swigt__p_AnimatSim__Robotics__PassThroughLinkage, _p_AnimatSim__Robotics__PassThroughLinkageTo_p_AnimatSim__Robotics__RemoteControlLinkage, 0, 0}, {&_swigt__p_AnimatSim__Robotics__PulsedLinkage, _p_AnimatSim__Robotics__PulsedLinkageTo_p_AnimatSim__Robotics__RemoteControlLinkage, 0, 0},{0, 0, 0, 0}};
296782 static swig_cast_info _swigc__p_AnimatSim__Robotics__RobotIOControl[] = { {&_swigt__p_AnimatSim__Robotics__RobotIOControl, 0, 0, 0}, {&_swigt__p_AnimatSim__Robotics__RemoteControl, _p_AnimatSim__Robotics__RemoteControlTo_p_AnimatSim__Robotics__RobotIOControl, 0, 0},{0, 0, 0, 0}};
296783 static swig_cast_info _swigc__p_AnimatSim__Robotics__RobotInterface[] = { {&_swigt__p_AnimatSim__Robotics__RobotInterface, 0, 0, 0},{0, 0, 0, 0}};
296784 static swig_cast_info _swigc__p_AnimatSim__Robotics__RobotPartInterface[] = { {&_swigt__p_AnimatSim__Robotics__RobotPartInterface, 0, 0, 0},{0, 0, 0, 0}};
296785 static swig_cast_info _swigc__p_AnimatSim__ScriptProcessor[] = { {&_swigt__p_AnimatSim__ScriptProcessor, 0, 0, 0},{0, 0, 0, 0}};
296786 static swig_cast_info _swigc__p_AnimatSim__SimulationMgr[] = { {&_swigt__p_AnimatSim__SimulationMgr, 0, 0, 0},{0, 0, 0, 0}};
296787 static swig_cast_info _swigc__p_AnimatSim__SimulationThread[] = { {&_swigt__p_AnimatSim__SimulationThread, 0, 0, 0},{0, 0, 0, 0}};
296788 static swig_cast_info _swigc__p_AnimatSim__SimulationWindow[] = { {&_swigt__p_AnimatSim__SimulationWindow, 0, 0, 0},{0, 0, 0, 0}};
296789 static swig_cast_info _swigc__p_AnimatSim__SimulationWindowMgr[] = { {&_swigt__p_AnimatSim__SimulationWindowMgr, 0, 0, 0},{0, 0, 0, 0}};
296790 static swig_cast_info _swigc__p_AnimatSim__Simulator[] = { {&_swigt__p_AnimatSim__Simulator, 0, 0, 0},{0, 0, 0, 0}};
296791 static swig_cast_info _swigc__p_Attachment[] = { {&_swigt__p_Attachment, 0, 0, 0},{0, 0, 0, 0}};
296792 static swig_cast_info _swigc__p_BodyPart[] = { {&_swigt__p_BodyPart, 0, 0, 0},{0, 0, 0, 0}};
296793 static swig_cast_info _swigc__p_BoundingBox[] = { {&_swigt__p_BoundingBox, 0, 0, 0},{0, 0, 0, 0}};
296794 static swig_cast_info _swigc__p_CStdArrayT_ActivatedItem_p_t[] = { {&_swigt__p_CStdArrayT_ActivatedItem_p_t, 0, 0, 0},{0, 0, 0, 0}};
296795 static swig_cast_info _swigc__p_CStdArrayT_Adapter_p_t[] = { {&_swigt__p_CStdArrayT_Adapter_p_t, 0, 0, 0},{0, 0, 0, 0}};
296796 static swig_cast_info _swigc__p_CStdArrayT_AnimatSim__Environment__Bodies__Attachment_p_t[] = { {&_swigt__p_CStdArrayT_AnimatSim__Environment__Bodies__Attachment_p_t, 0, 0, 0},{0, 0, 0, 0}};
296797 static swig_cast_info _swigc__p_CStdArrayT_Attachment_p_t[] = { {&_swigt__p_CStdArrayT_Attachment_p_t, 0, 0, 0},{0, 0, 0, 0}};
296798 static swig_cast_info _swigc__p_CStdArrayT_BodyPart_p_t[] = { {&_swigt__p_CStdArrayT_BodyPart_p_t, 0, 0, 0},{0, 0, 0, 0}};
296799 static swig_cast_info _swigc__p_CStdArrayT_KeyFrame_p_t[] = { {&_swigt__p_CStdArrayT_KeyFrame_p_t, 0, 0, 0},{0, 0, 0, 0}};
296800 static swig_cast_info _swigc__p_CStdArrayT_ModuleThreadProcessor_p_t[] = { {&_swigt__p_CStdArrayT_ModuleThreadProcessor_p_t, 0, 0, 0},{0, 0, 0, 0}};
296801 static swig_cast_info _swigc__p_CStdArrayT_RigidBody_p_t[] = { {&_swigt__p_CStdArrayT_RigidBody_p_t, 0, 0, 0},{0, 0, 0, 0}};
296802 static swig_cast_info _swigc__p_CStdArrayT_RobotPartInterface_p_t[] = { {&_swigt__p_CStdArrayT_RobotPartInterface_p_t, 0, 0, 0},{0, 0, 0, 0}};
296803 static swig_cast_info _swigc__p_CStdArrayT_double_t[] = { {&_swigt__p_CStdArrayT_double_t, 0, 0, 0},{0, 0, 0, 0}};
296804 static swig_cast_info _swigc__p_CStdArrayT_float_t[] = { {&_swigt__p_CStdArrayT_float_t, 0, 0, 0}, {&_swigt__p_CStdCircularArrayT_float_t, _p_CStdCircularArrayT_float_tTo_p_CStdArrayT_float_t, 0, 0},{0, 0, 0, 0}};
296805 static swig_cast_info _swigc__p_CStdArrayT_int_t[] = { {&_swigt__p_CStdArrayT_int_t, 0, 0, 0},{0, 0, 0, 0}};
296806 static swig_cast_info _swigc__p_CStdArrayT_long_t[] = { {&_swigt__p_CStdArrayT_long_t, 0, 0, 0},{0, 0, 0, 0}};
296807 static swig_cast_info _swigc__p_CStdArrayT_std__string_t[] = { {&_swigt__p_CStdArrayT_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
296808 static swig_cast_info _swigc__p_CStdCircularArrayT_float_t[] = { {&_swigt__p_CStdCircularArrayT_float_t, 0, 0, 0},{0, 0, 0, 0}};
296809 static swig_cast_info _swigc__p_CStdMapT_std__string_AnimatBase_p_t[] = { {&_swigt__p_CStdMapT_std__string_AnimatBase_p_t, 0, 0, 0},{0, 0, 0, 0}};
296810 static swig_cast_info _swigc__p_CStdMapT_std__string_AnimatSim__AnimatBase_p_t[] = { {&_swigt__p_CStdMapT_std__string_AnimatSim__AnimatBase_p_t, 0, 0, 0},{0, 0, 0, 0}};
296811 static swig_cast_info _swigc__p_CStdMapT_std__string_DataColumn_p_t[] = { {&_swigt__p_CStdMapT_std__string_DataColumn_p_t, 0, 0, 0},{0, 0, 0, 0}};
296812 static swig_cast_info _swigc__p_CStdMapT_std__string_Joint_p_t[] = { {&_swigt__p_CStdMapT_std__string_Joint_p_t, 0, 0, 0},{0, 0, 0, 0}};
296813 static swig_cast_info _swigc__p_CStdMapT_std__string_Odor_p_t[] = { {&_swigt__p_CStdMapT_std__string_Odor_p_t, 0, 0, 0},{0, 0, 0, 0}};
296814 static swig_cast_info _swigc__p_CStdMapT_std__string_RigidBody_p_t[] = { {&_swigt__p_CStdMapT_std__string_RigidBody_p_t, 0, 0, 0},{0, 0, 0, 0}};
296815 static swig_cast_info _swigc__p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t[] = { {&_swigt__p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t, 0, 0, 0},{0, 0, 0, 0}};
296816 static swig_cast_info _swigc__p_CStdMapT_std__string_Structure_p_t[] = { {&_swigt__p_CStdMapT_std__string_Structure_p_t, 0, 0, 0},{0, 0, 0, 0}};
296817 static swig_cast_info _swigc__p_CStdPointT_double_t[] = { {&_swigt__p_CStdPointT_double_t, 0, 0, 0},{0, 0, 0, 0}};
296818 static swig_cast_info _swigc__p_CStdPointT_float_t[] = { {&_swigt__p_CStdPointT_float_t, 0, 0, 0},{0, 0, 0, 0}};
296819 static swig_cast_info _swigc__p_CStdPointT_int_t[] = { {&_swigt__p_CStdPointT_int_t, 0, 0, 0},{0, 0, 0, 0}};
296820 static swig_cast_info _swigc__p_CStdPointT_long_t[] = { {&_swigt__p_CStdPointT_long_t, 0, 0, 0},{0, 0, 0, 0}};
296821 static swig_cast_info _swigc__p_CStdPtrArrayT_Adapter_t[] = { {&_swigt__p_CStdPtrArrayT_Adapter_t, 0, 0, 0},{0, 0, 0, 0}};
296822 static swig_cast_info _swigc__p_CStdPtrArrayT_AnimatSim__Environment__CollisionPair_t[] = { {&_swigt__p_CStdPtrArrayT_AnimatSim__Environment__CollisionPair_t, 0, 0, 0},{0, 0, 0, 0}};
296823 static swig_cast_info _swigc__p_CStdPtrArrayT_AnimatSim__Environment__Light_t[] = { {&_swigt__p_CStdPtrArrayT_AnimatSim__Environment__Light_t, 0, 0, 0},{0, 0, 0, 0}};
296824 static swig_cast_info _swigc__p_CStdPtrArrayT_AnimatSim__Environment__RigidBody_t[] = { {&_swigt__p_CStdPtrArrayT_AnimatSim__Environment__RigidBody_t, 0, 0, 0},{0, 0, 0, 0}};
296825 static swig_cast_info _swigc__p_CStdPtrArrayT_AnimatSim__Robotics__RemoteControlLinkage_t[] = { {&_swigt__p_CStdPtrArrayT_AnimatSim__Robotics__RemoteControlLinkage_t, 0, 0, 0},{0, 0, 0, 0}};
296826 static swig_cast_info _swigc__p_CStdPtrArrayT_AnimatSim__SimulationThread_t[] = { {&_swigt__p_CStdPtrArrayT_AnimatSim__SimulationThread_t, 0, 0, 0},{0, 0, 0, 0}};
296827 static swig_cast_info _swigc__p_CStdPtrArrayT_AnimatSim__SimulationWindow_t[] = { {&_swigt__p_CStdPtrArrayT_AnimatSim__SimulationWindow_t, 0, 0, 0},{0, 0, 0, 0}};
296828 static swig_cast_info _swigc__p_CStdPtrArrayT_CollisionPair_t[] = { {&_swigt__p_CStdPtrArrayT_CollisionPair_t, 0, 0, 0},{0, 0, 0, 0}};
296829 static swig_cast_info _swigc__p_CStdPtrArrayT_DataColumn_t[] = { {&_swigt__p_CStdPtrArrayT_DataColumn_t, 0, 0, 0},{0, 0, 0, 0}};
296830 static swig_cast_info _swigc__p_CStdPtrArrayT_HudItem_t[] = { {&_swigt__p_CStdPtrArrayT_HudItem_t, 0, 0, 0},{0, 0, 0, 0}};
296831 static swig_cast_info _swigc__p_CStdPtrArrayT_Light_t[] = { {&_swigt__p_CStdPtrArrayT_Light_t, 0, 0, 0},{0, 0, 0, 0}};
296832 static swig_cast_info _swigc__p_CStdPtrArrayT_MaterialType_t[] = { {&_swigt__p_CStdPtrArrayT_MaterialType_t, 0, 0, 0},{0, 0, 0, 0}};
296833 static swig_cast_info _swigc__p_CStdPtrArrayT_Neuron_t[] = { {&_swigt__p_CStdPtrArrayT_Neuron_t, 0, 0, 0},{0, 0, 0, 0}};
296834 static swig_cast_info _swigc__p_CStdPtrArrayT_ReceptiveFieldPair_t[] = { {&_swigt__p_CStdPtrArrayT_ReceptiveFieldPair_t, 0, 0, 0},{0, 0, 0, 0}};
296835 static swig_cast_info _swigc__p_CStdPtrArrayT_ReceptiveField_t[] = { {&_swigt__p_CStdPtrArrayT_ReceptiveField_t, 0, 0, 0},{0, 0, 0, 0}};
296836 static swig_cast_info _swigc__p_CStdPtrArrayT_RigidBody_t[] = { {&_swigt__p_CStdPtrArrayT_RigidBody_t, 0, 0, 0},{0, 0, 0, 0}};
296837 static swig_cast_info _swigc__p_CStdPtrArrayT_RobotIOControl_t[] = { {&_swigt__p_CStdPtrArrayT_RobotIOControl_t, 0, 0, 0},{0, 0, 0, 0}};
296838 static swig_cast_info _swigc__p_CStdPtrArrayT_RobotPartInterface_t[] = { {&_swigt__p_CStdPtrArrayT_RobotPartInterface_t, 0, 0, 0},{0, 0, 0, 0}};
296839 static swig_cast_info _swigc__p_CStdPtrArrayT_SimulationThread_t[] = { {&_swigt__p_CStdPtrArrayT_SimulationThread_t, 0, 0, 0},{0, 0, 0, 0}};
296840 static swig_cast_info _swigc__p_CStdPtrArrayT_SimulationWindow_t[] = { {&_swigt__p_CStdPtrArrayT_SimulationWindow_t, 0, 0, 0},{0, 0, 0, 0}};
296841 static swig_cast_info _swigc__p_CStdPtrArrayT_StdUtils__CStdVariable_t[] = { {&_swigt__p_CStdPtrArrayT_StdUtils__CStdVariable_t, 0, 0, 0},{0, 0, 0, 0}};
296842 static swig_cast_info _swigc__p_CStdPtrArrayT_Synapse_t[] = { {&_swigt__p_CStdPtrArrayT_Synapse_t, 0, 0, 0},{0, 0, 0, 0}};
296843 static swig_cast_info _swigc__p_CStdPtrArrayT_TypeProperty_t[] = { {&_swigt__p_CStdPtrArrayT_TypeProperty_t, 0, 0, 0},{0, 0, 0, 0}};
296844 static swig_cast_info _swigc__p_CStdPtrMapT_std__string_ActivatedItem_t[] = { {&_swigt__p_CStdPtrMapT_std__string_ActivatedItem_t, 0, 0, 0},{0, 0, 0, 0}};
296845 static swig_cast_info _swigc__p_CStdPtrMapT_std__string_NeuralModule_t[] = { {&_swigt__p_CStdPtrMapT_std__string_NeuralModule_t, 0, 0, 0},{0, 0, 0, 0}};
296846 static swig_cast_info _swigc__p_CStdPtrMapT_std__string_OdorType_t[] = { {&_swigt__p_CStdPtrMapT_std__string_OdorType_t, 0, 0, 0},{0, 0, 0, 0}};
296847 static swig_cast_info _swigc__p_CStdPtrMapT_std__string_Odor_t[] = { {&_swigt__p_CStdPtrMapT_std__string_Odor_t, 0, 0, 0},{0, 0, 0, 0}};
296848 static swig_cast_info _swigc__p_CStdPtrMapT_std__string_Organism_t[] = { {&_swigt__p_CStdPtrMapT_std__string_Organism_t, 0, 0, 0},{0, 0, 0, 0}};
296849 static swig_cast_info _swigc__p_CStdPtrMapT_std__string_Structure_t[] = { {&_swigt__p_CStdPtrMapT_std__string_Structure_t, 0, 0, 0},{0, 0, 0, 0}};
296850 static swig_cast_info _swigc__p_CStdStackT_double_t[] = { {&_swigt__p_CStdStackT_double_t, 0, 0, 0},{0, 0, 0, 0}};
296851 static swig_cast_info _swigc__p_CollisionPair[] = { {&_swigt__p_CollisionPair, 0, 0, 0},{0, 0, 0, 0}};
296852 static swig_cast_info _swigc__p_ContactSensor[] = { {&_swigt__p_ContactSensor, 0, 0, 0},{0, 0, 0, 0}};
296853 static swig_cast_info _swigc__p_DataChart[] = { {&_swigt__p_DataChart, 0, 0, 0},{0, 0, 0, 0}};
296854 static swig_cast_info _swigc__p_DataChartMgr[] = { {&_swigt__p_DataChartMgr, 0, 0, 0},{0, 0, 0, 0}};
296855 static swig_cast_info _swigc__p_DataColumn[] = { {&_swigt__p_DataColumn, 0, 0, 0},{0, 0, 0, 0}};
296856 static swig_cast_info _swigc__p_ExternalStimuliMgr[] = { {&_swigt__p_ExternalStimuliMgr, 0, 0, 0},{0, 0, 0, 0}};
296857 static swig_cast_info _swigc__p_FiringRateModule[] = { {&_swigt__p_FiringRateModule, 0, 0, 0},{0, 0, 0, 0}};
296858 static swig_cast_info _swigc__p_FiringRateSim__FiringRateModule[] = { {&_swigt__p_FiringRateSim__FiringRateModule, 0, 0, 0},{0, 0, 0, 0}};
296859 static swig_cast_info _swigc__p_FiringRateSim__Neurons__BistableNeuron[] = { {&_swigt__p_FiringRateSim__Neurons__BistableNeuron, 0, 0, 0},{0, 0, 0, 0}};
296860 static swig_cast_info _swigc__p_FiringRateSim__Neurons__Neuron[] = { {&_swigt__p_FiringRateSim__Neurons__PacemakerNeuron, _p_FiringRateSim__Neurons__PacemakerNeuronTo_p_FiringRateSim__Neurons__Neuron, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__Neuron, 0, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__RandomNeuron, _p_FiringRateSim__Neurons__RandomNeuronTo_p_FiringRateSim__Neurons__Neuron, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__BistableNeuron, _p_FiringRateSim__Neurons__BistableNeuronTo_p_FiringRateSim__Neurons__Neuron, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__TonicNeuron, _p_FiringRateSim__Neurons__TonicNeuronTo_p_FiringRateSim__Neurons__Neuron, 0, 0},{0, 0, 0, 0}};
296861 static swig_cast_info _swigc__p_FiringRateSim__Neurons__PacemakerNeuron[] = { {&_swigt__p_FiringRateSim__Neurons__PacemakerNeuron, 0, 0, 0},{0, 0, 0, 0}};
296862 static swig_cast_info _swigc__p_FiringRateSim__Neurons__RandomNeuron[] = { {&_swigt__p_FiringRateSim__Neurons__RandomNeuron, 0, 0, 0},{0, 0, 0, 0}};
296863 static swig_cast_info _swigc__p_FiringRateSim__Neurons__TonicNeuron[] = { {&_swigt__p_FiringRateSim__Neurons__TonicNeuron, 0, 0, 0},{0, 0, 0, 0}};
296864 static swig_cast_info _swigc__p_FiringRateSim__Synapses__GatedSynapse[] = { {&_swigt__p_FiringRateSim__Synapses__GatedSynapse, 0, 0, 0},{0, 0, 0, 0}};
296865 static swig_cast_info _swigc__p_FiringRateSim__Synapses__ModulateNeuronPropSynapse[] = { {&_swigt__p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, 0, 0, 0},{0, 0, 0, 0}};
296866 static swig_cast_info _swigc__p_FiringRateSim__Synapses__ModulatedSynapse[] = { {&_swigt__p_FiringRateSim__Synapses__ModulatedSynapse, 0, 0, 0},{0, 0, 0, 0}};
296867 static swig_cast_info _swigc__p_FiringRateSim__Synapses__Synapse[] = { {&_swigt__p_FiringRateSim__Synapses__Synapse, 0, 0, 0}, {&_swigt__p_FiringRateSim__Synapses__GatedSynapse, _p_FiringRateSim__Synapses__GatedSynapseTo_p_FiringRateSim__Synapses__Synapse, 0, 0}, {&_swigt__p_FiringRateSim__Synapses__ModulatedSynapse, _p_FiringRateSim__Synapses__ModulatedSynapseTo_p_FiringRateSim__Synapses__Synapse, 0, 0}, {&_swigt__p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, _p_FiringRateSim__Synapses__ModulateNeuronPropSynapseTo_p_FiringRateSim__Synapses__Synapse, 0, 0},{0, 0, 0, 0}};
296868 static swig_cast_info _swigc__p_Gain[] = { {&_swigt__p_Gain, 0, 0, 0},{0, 0, 0, 0}};
296869 static swig_cast_info _swigc__p_HWND[] = { {&_swigt__p_HWND, 0, 0, 0},{0, 0, 0, 0}};
296870 static swig_cast_info _swigc__p_HudItem[] = { {&_swigt__p_HudItem, 0, 0, 0},{0, 0, 0, 0}};
296871 static swig_cast_info _swigc__p_Joint[] = { {&_swigt__p_Joint, 0, 0, 0},{0, 0, 0, 0}};
296872 static swig_cast_info _swigc__p_KeyFrame[] = { {&_swigt__p_KeyFrame, 0, 0, 0},{0, 0, 0, 0}};
296873 static swig_cast_info _swigc__p_LengthTensionGain[] = { {&_swigt__p_LengthTensionGain, 0, 0, 0},{0, 0, 0, 0}};
296874 static swig_cast_info _swigc__p_Light[] = { {&_swigt__p_Light, 0, 0, 0},{0, 0, 0, 0}};
296875 static swig_cast_info _swigc__p_LightManager[] = { {&_swigt__p_LightManager, 0, 0, 0},{0, 0, 0, 0}};
296876 static swig_cast_info _swigc__p_LinearHillMuscle[] = { {&_swigt__p_LinearHillMuscle, 0, 0, 0},{0, 0, 0, 0}};
296877 static swig_cast_info _swigc__p_MaterialType[] = { {&_swigt__p_MaterialType, 0, 0, 0},{0, 0, 0, 0}};
296878 static swig_cast_info _swigc__p_Materials[] = { {&_swigt__p_Materials, 0, 0, 0},{0, 0, 0, 0}};
296879 static swig_cast_info _swigc__p_ModuleThreadProcessor[] = { {&_swigt__p_ModuleThreadProcessor, 0, 0, 0},{0, 0, 0, 0}};
296880 static swig_cast_info _swigc__p_NeuralModule[] = { {&_swigt__p_NeuralModule, 0, 0, 0},{0, 0, 0, 0}};
296881 static swig_cast_info _swigc__p_Neuron[] = { {&_swigt__p_Neuron, 0, 0, 0},{0, 0, 0, 0}};
296882 static swig_cast_info _swigc__p_Node[] = { {&_swigt__p_Node, 0, 0, 0},{0, 0, 0, 0}};
296883 static swig_cast_info _swigc__p_Odor[] = { {&_swigt__p_Odor, 0, 0, 0},{0, 0, 0, 0}};
296884 static swig_cast_info _swigc__p_OdorType[] = { {&_swigt__p_OdorType, 0, 0, 0},{0, 0, 0, 0}};
296885 static swig_cast_info _swigc__p_Organism[] = { {&_swigt__p_Organism, 0, 0, 0},{0, 0, 0, 0}};
296886 static swig_cast_info _swigc__p_ReceptiveField[] = { {&_swigt__p_ReceptiveField, 0, 0, 0},{0, 0, 0, 0}};
296887 static swig_cast_info _swigc__p_ReceptiveFieldPair[] = { {&_swigt__p_ReceptiveFieldPair, 0, 0, 0},{0, 0, 0, 0}};
296888 static swig_cast_info _swigc__p_RigidBody[] = { {&_swigt__p_RigidBody, 0, 0, 0},{0, 0, 0, 0}};
296889 static swig_cast_info _swigc__p_RobotIOControl[] = { {&_swigt__p_RobotIOControl, 0, 0, 0},{0, 0, 0, 0}};
296890 static swig_cast_info _swigc__p_RobotInterface[] = { {&_swigt__p_RobotInterface, 0, 0, 0},{0, 0, 0, 0}};
296891 static swig_cast_info _swigc__p_RobotPartInterface[] = { {&_swigt__p_RobotPartInterface, 0, 0, 0},{0, 0, 0, 0}};
296892 static swig_cast_info _swigc__p_ScriptProcessor[] = { {&_swigt__p_ScriptProcessor, 0, 0, 0},{0, 0, 0, 0}};
296893 static swig_cast_info _swigc__p_SigmoidGain[] = { {&_swigt__p_SigmoidGain, 0, 0, 0},{0, 0, 0, 0}};
296894 static swig_cast_info _swigc__p_SimulationRecorder[] = { {&_swigt__p_SimulationRecorder, 0, 0, 0},{0, 0, 0, 0}};
296895 static swig_cast_info _swigc__p_SimulationThread[] = { {&_swigt__p_SimulationThread, 0, 0, 0},{0, 0, 0, 0}};
296896 static swig_cast_info _swigc__p_SimulationWindow[] = { {&_swigt__p_SimulationWindow, 0, 0, 0},{0, 0, 0, 0}};
296897 static swig_cast_info _swigc__p_Simulator[] = { {&_swigt__p_Simulator, 0, 0, 0},{0, 0, 0, 0}};
296898 static swig_cast_info _swigc__p_StdUtils__CMarkupSTL[] = { {&_swigt__p_StdUtils__CStdXml, _p_StdUtils__CStdXmlTo_p_StdUtils__CMarkupSTL, 0, 0}, {&_swigt__p_StdUtils__CMarkupSTL, 0, 0, 0},{0, 0, 0, 0}};
296899 static swig_cast_info _swigc__p_StdUtils__CStdColor[] = { {&_swigt__p_StdUtils__CStdColor, 0, 0, 0},{0, 0, 0, 0}};
296900 static swig_cast_info _swigc__p_StdUtils__CStdCriticalSection[] = { {&_swigt__p_StdUtils__CStdCriticalSection, 0, 0, 0},{0, 0, 0, 0}};
296901 static swig_cast_info _swigc__p_StdUtils__CStdFixed[] = { {&_swigt__p_StdUtils__CStdFixed, 0, 0, 0},{0, 0, 0, 0}};
296902 static swig_cast_info _swigc__p_StdUtils__CStdFont[] = { {&_swigt__p_StdUtils__CStdFont, 0, 0, 0},{0, 0, 0, 0}};
296903 static swig_cast_info _swigc__p_StdUtils__CStdLookupTable[] = { {&_swigt__p_StdUtils__CStdLookupTable, 0, 0, 0},{0, 0, 0, 0}};
296904 static swig_cast_info _swigc__p_StdUtils__CStdPID[] = { {&_swigt__p_StdUtils__CStdPID, 0, 0, 0},{0, 0, 0, 0}};
296905 static swig_cast_info _swigc__p_StdUtils__CStdPostFixEval[] = { {&_swigt__p_StdUtils__CStdPostFixEval, 0, 0, 0},{0, 0, 0, 0}};
296906 static swig_cast_info _swigc__p_StdUtils__CStdSerialize[] = { {&_swigt__p_AnimatSim__Charting__MemoryChart, _p_AnimatSim__Charting__MemoryChartTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Gains__BellGain, _p_AnimatSim__Gains__BellGainTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Spring, _p_AnimatSim__Environment__Bodies__SpringTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_StdUtils__CStdVariant, _p_StdUtils__CStdVariantTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__TonicNeuron, _p_FiringRateSim__Neurons__TonicNeuronTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__BistableNeuron, _p_FiringRateSim__Neurons__BistableNeuronTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__RandomNeuron, _p_FiringRateSim__Neurons__RandomNeuronTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__Neuron, _p_FiringRateSim__Neurons__NeuronTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Ellipsoid, _p_AnimatSim__Environment__Bodies__EllipsoidTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Charting__FileChart, _p_AnimatSim__Charting__FileChartTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillMuscle, _p_AnimatSim__Environment__Bodies__LinearHillMuscleTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Behavior__NeuralModule, _p_AnimatSim__Behavior__NeuralModuleTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Behavior__PhysicsNeuralModule, _p_AnimatSim__Behavior__PhysicsNeuralModuleTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Charting__DataColumn, _p_AnimatSim__Charting__DataColumnTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Mouth, _p_AnimatSim__Environment__Bodies__MouthTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Light, _p_AnimatSim__Environment__LightTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__BodyPart, _p_AnimatSim__Environment__BodyPartTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Gains__Gain, _p_AnimatSim__Gains__GainTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__ContactSensor, _p_AnimatSim__Environment__ContactSensorTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__OdorSensor, _p_AnimatSim__Environment__Bodies__OdorSensorTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__ConstraintFriction, _p_AnimatSim__Environment__ConstraintFrictionTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Gains__SigmoidGain, _p_AnimatSim__Gains__SigmoidGainTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__MotorizedJoint, _p_AnimatSim__Environment__MotorizedJointTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Gains__LengthTensionGain, _p_AnimatSim__Gains__LengthTensionGainTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Gains__EquationGain, _p_AnimatSim__Gains__EquationGainTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__Prismatic, _p_AnimatSim__Environment__Joints__PrismaticTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__LinearJoint, _p_AnimatSim__Environment__Joints__LinearJointTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__ActivatedItemMgr, _p_AnimatSim__ActivatedItemMgrTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__ReceptiveFieldPair, _p_AnimatSim__Environment__ReceptiveFieldPairTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__MuscleBase, _p_AnimatSim__Environment__Bodies__MuscleBaseTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Robotics__RobotIOControl, _p_AnimatSim__Robotics__RobotIOControlTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Robotics__RemoteControl, _p_AnimatSim__Robotics__RemoteControlTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__PropertyControlStimulus, _p_AnimatSim__ExternalStimuli__PropertyControlStimulusTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__CollisionPair, _p_AnimatSim__Environment__CollisionPairTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Robotics__RemoteControlLinkage, _p_AnimatSim__Robotics__RemoteControlLinkageTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Robotics__PassThroughLinkage, _p_AnimatSim__Robotics__PassThroughLinkageTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Robotics__PulsedLinkage, _p_AnimatSim__Robotics__PulsedLinkageTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__OdorType, _p_AnimatSim__Environment__OdorTypeTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Recording__KeyFrame, _p_AnimatSim__Recording__KeyFrameTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Charting__ArrayChart, _p_AnimatSim__Charting__ArrayChartTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__InverseMuscleCurrent, _p_AnimatSim__ExternalStimuli__InverseMuscleCurrentTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Cone, _p_AnimatSim__Environment__Bodies__ConeTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Plane, _p_AnimatSim__Environment__Bodies__PlaneTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_FiringRateSim__Neurons__PacemakerNeuron, _p_FiringRateSim__Neurons__PacemakerNeuronTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_FiringRateSim__Synapses__Synapse, _p_FiringRateSim__Synapses__SynapseTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_FiringRateSim__Synapses__GatedSynapse, _p_FiringRateSim__Synapses__GatedSynapseTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_FiringRateSim__Synapses__ModulatedSynapse, _p_FiringRateSim__Synapses__ModulatedSynapseTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_FiringRateSim__Synapses__ModulateNeuronPropSynapse, _p_FiringRateSim__Synapses__ModulateNeuronPropSynapseTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Odor, _p_AnimatSim__Environment__OdorTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__ExternalStimulus, _p_AnimatSim__ExternalStimuli__ExternalStimulusTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__ForceStimulus, _p_AnimatSim__ExternalStimuli__ForceStimulusTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__CurrentStimulus, _p_AnimatSim__ExternalStimuli__CurrentStimulusTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__EnablerStimulus, _p_AnimatSim__ExternalStimuli__EnablerStimulusTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__MotorStimulus, _p_AnimatSim__ExternalStimuli__MotorStimulusTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__ActivatedItem, _p_AnimatSim__ActivatedItemTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Adapters__ContactAdapter, _p_AnimatSim__Adapters__ContactAdapterTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Adapters__Adapter, _p_AnimatSim__Adapters__AdapterTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Adapters__PropertyControlAdapter, _p_AnimatSim__Adapters__PropertyControlAdapterTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__ConstraintLimit, _p_AnimatSim__Environment__ConstraintLimitTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__ExternalStimuliMgr, _p_AnimatSim__ExternalStimuli__ExternalStimuliMgrTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__VoltageClamp, _p_AnimatSim__ExternalStimuli__VoltageClampTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__ExternalStimuli__ExternalInputStimulus, _p_AnimatSim__ExternalStimuli__ExternalInputStimulusTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Attachment, _p_AnimatSim__Environment__Bodies__AttachmentTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LineBase, _p_AnimatSim__Environment__Bodies__LineBaseTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Charting__DataChart, _p_AnimatSim__Charting__DataChartTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__SimulationWindowMgr, _p_AnimatSim__SimulationWindowMgrTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Organism, _p_AnimatSim__Environment__OrganismTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Structure, _p_AnimatSim__Environment__StructureTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Torus, _p_AnimatSim__Environment__Bodies__TorusTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Charting__DataChartMgr, _p_AnimatSim__Charting__DataChartMgrTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Terrain, _p_AnimatSim__Environment__Bodies__TerrainTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Cylinder, _p_AnimatSim__Environment__Bodies__CylinderTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Recording__SimulationRecorder, _p_AnimatSim__Recording__SimulationRecorderTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__FluidPlane, _p_AnimatSim__Environment__Bodies__FluidPlaneTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Box, _p_AnimatSim__Environment__Bodies__BoxTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Robotics__RobotInterface, _p_AnimatSim__Robotics__RobotInterfaceTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Robotics__RobotPartInterface, _p_AnimatSim__Robotics__RobotPartInterfaceTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Mesh, _p_AnimatSim__Environment__Bodies__MeshTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__SimulationMgr, _p_AnimatSim__SimulationMgrTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Hud, _p_AnimatSim__HudTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__RPRO, _p_AnimatSim__Environment__Joints__RPROTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__ScriptProcessor, _p_AnimatSim__ScriptProcessorTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__LightManager, _p_AnimatSim__Environment__LightManagerTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Link, _p_AnimatSim__LinkTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_FiringRateSim__FiringRateModule, _p_FiringRateSim__FiringRateModuleTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__HudText, _p_AnimatSim__HudTextTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__Hinge, _p_AnimatSim__Environment__Joints__HingeTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__HudItem, _p_AnimatSim__HudItemTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Sensor, _p_AnimatSim__Environment__Bodies__SensorTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Materials, _p_AnimatSim__Environment__MaterialsTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__SimulationWindow, _p_AnimatSim__SimulationWindowTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__RigidBody, _p_AnimatSim__Environment__RigidBodyTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Stomach, _p_AnimatSim__Environment__Bodies__StomachTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__AnimatBase, _p_AnimatSim__AnimatBaseTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Behavior__NervousSystem, _p_AnimatSim__Behavior__NervousSystemTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Gains__PolynomialGain, _p_AnimatSim__Gains__PolynomialGainTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__Sphere, _p_AnimatSim__Environment__Bodies__SphereTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joints__BallSocket, _p_AnimatSim__Environment__Joints__BallSocketTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__MaterialType, _p_AnimatSim__Environment__MaterialTypeTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Joint, _p_AnimatSim__Environment__JointTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor, _p_AnimatSim__Environment__Bodies__LinearHillStretchReceptorTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Environment__ConstraintRelaxation, _p_AnimatSim__Environment__ConstraintRelaxationTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_AnimatSim__Node, _p_AnimatSim__NodeTo_p_StdUtils__CStdSerialize, 0, 0}, {&_swigt__p_StdUtils__CStdSerialize, 0, 0, 0}, {&_swigt__p_AnimatSim__Simulator, _p_AnimatSim__SimulatorTo_p_StdUtils__CStdSerialize, 0, 0},{0, 0, 0, 0}};
296907 static swig_cast_info _swigc__p_StdUtils__CStdVariable[] = { {&_swigt__p_StdUtils__CStdVariable, 0, 0, 0},{0, 0, 0, 0}};
296908 static swig_cast_info _swigc__p_StdUtils__CStdVariant[] = { {&_swigt__p_StdUtils__CStdVariant, 0, 0, 0},{0, 0, 0, 0}};
296909 static swig_cast_info _swigc__p_StdUtils__CStdXml[] = { {&_swigt__p_StdUtils__CStdXml, 0, 0, 0},{0, 0, 0, 0}};
296910 static swig_cast_info _swigc__p_StdUtils__IStdClassFactory[] = { {&_swigt__p_StdUtils__IStdClassFactory, 0, 0, 0},{0, 0, 0, 0}};
296911 static swig_cast_info _swigc__p_Structure[] = { {&_swigt__p_Structure, 0, 0, 0},{0, 0, 0, 0}};
296912 static swig_cast_info _swigc__p_Synapse[] = { {&_swigt__p_Synapse, 0, 0, 0},{0, 0, 0, 0}};
296913 static swig_cast_info _swigc__p_TypeProperty[] = { {&_swigt__p_TypeProperty, 0, 0, 0},{0, 0, 0, 0}};
296914 static swig_cast_info _swigc__p_a_3__float[] = { {&_swigt__p_a_3__float, 0, 0, 0},{0, 0, 0, 0}};
296915 static swig_cast_info _swigc__p_a_4__a_4__float[] = { {&_swigt__p_a_4__a_4__float, 0, 0, 0},{0, 0, 0, 0}};
296916 static swig_cast_info _swigc__p_a_4__float[] = { {&_swigt__p_a_4__float, 0, 0, 0},{0, 0, 0, 0}};
296917 static swig_cast_info _swigc__p_allocator_type[] = { {&_swigt__p_allocator_type, 0, 0, 0},{0, 0, 0, 0}};
296918 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
296919 static swig_cast_info _swigc__p_byte[] = { {&_swigt__p_byte, 0, 0, 0},{0, 0, 0, 0}};
296920 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
296921 static swig_cast_info _swigc__p_const_reference[] = { {&_swigt__p_const_reference, 0, 0, 0},{0, 0, 0, 0}};
296922 static swig_cast_info _swigc__p_difference_type[] = { {&_swigt__p_difference_type, 0, 0, 0},{0, 0, 0, 0}};
296923 static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
296924 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
296925 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
296926 static swig_cast_info _swigc__p_key_type[] = { {&_swigt__p_key_type, 0, 0, 0},{0, 0, 0, 0}};
296927 static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
296928 static swig_cast_info _swigc__p_mapped_type[] = { {&_swigt__p_mapped_type, 0, 0, 0},{0, 0, 0, 0}};
296929 static swig_cast_info _swigc__p_p_PyObject[] = { {&_swigt__p_p_PyObject, 0, 0, 0},{0, 0, 0, 0}};
296930 static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
296931 static swig_cast_info _swigc__p_reference[] = { {&_swigt__p_reference, 0, 0, 0},{0, 0, 0, 0}};
296932 static swig_cast_info _swigc__p_short[] = { {&_swigt__p_short, 0, 0, 0},{0, 0, 0, 0}};
296933 static swig_cast_info _swigc__p_size_type[] = { {&_swigt__p_size_type, 0, 0, 0},{0, 0, 0, 0}};
296934 static swig_cast_info _swigc__p_std__allocatorT_ActivatedItem_p_t[] = { {&_swigt__p_std__allocatorT_ActivatedItem_p_t, 0, 0, 0},{0, 0, 0, 0}};
296935 static swig_cast_info _swigc__p_std__allocatorT_Adapter_p_t[] = { {&_swigt__p_std__allocatorT_Adapter_p_t, 0, 0, 0},{0, 0, 0, 0}};
296936 static swig_cast_info _swigc__p_std__allocatorT_Attachment_p_t[] = { {&_swigt__p_std__allocatorT_Attachment_p_t, 0, 0, 0},{0, 0, 0, 0}};
296937 static swig_cast_info _swigc__p_std__allocatorT_BodyPart_p_t[] = { {&_swigt__p_std__allocatorT_BodyPart_p_t, 0, 0, 0},{0, 0, 0, 0}};
296938 static swig_cast_info _swigc__p_std__allocatorT_CollisionPair_p_t[] = { {&_swigt__p_std__allocatorT_CollisionPair_p_t, 0, 0, 0},{0, 0, 0, 0}};
296939 static swig_cast_info _swigc__p_std__allocatorT_DataColumn_p_t[] = { {&_swigt__p_std__allocatorT_DataColumn_p_t, 0, 0, 0},{0, 0, 0, 0}};
296940 static swig_cast_info _swigc__p_std__allocatorT_HudItem_p_t[] = { {&_swigt__p_std__allocatorT_HudItem_p_t, 0, 0, 0},{0, 0, 0, 0}};
296941 static swig_cast_info _swigc__p_std__allocatorT_KeyFrame_p_t[] = { {&_swigt__p_std__allocatorT_KeyFrame_p_t, 0, 0, 0},{0, 0, 0, 0}};
296942 static swig_cast_info _swigc__p_std__allocatorT_Light_p_t[] = { {&_swigt__p_std__allocatorT_Light_p_t, 0, 0, 0},{0, 0, 0, 0}};
296943 static swig_cast_info _swigc__p_std__allocatorT_MaterialType_p_t[] = { {&_swigt__p_std__allocatorT_MaterialType_p_t, 0, 0, 0},{0, 0, 0, 0}};
296944 static swig_cast_info _swigc__p_std__allocatorT_ModuleThreadProcessor_p_t[] = { {&_swigt__p_std__allocatorT_ModuleThreadProcessor_p_t, 0, 0, 0},{0, 0, 0, 0}};
296945 static swig_cast_info _swigc__p_std__allocatorT_Neuron_p_t[] = { {&_swigt__p_std__allocatorT_Neuron_p_t, 0, 0, 0},{0, 0, 0, 0}};
296946 static swig_cast_info _swigc__p_std__allocatorT_ReceptiveFieldPair_p_t[] = { {&_swigt__p_std__allocatorT_ReceptiveFieldPair_p_t, 0, 0, 0},{0, 0, 0, 0}};
296947 static swig_cast_info _swigc__p_std__allocatorT_ReceptiveField_p_t[] = { {&_swigt__p_std__allocatorT_ReceptiveField_p_t, 0, 0, 0},{0, 0, 0, 0}};
296948 static swig_cast_info _swigc__p_std__allocatorT_RigidBody_p_t[] = { {&_swigt__p_std__allocatorT_RigidBody_p_t, 0, 0, 0},{0, 0, 0, 0}};
296949 static swig_cast_info _swigc__p_std__allocatorT_RobotIOControl_p_t[] = { {&_swigt__p_std__allocatorT_RobotIOControl_p_t, 0, 0, 0},{0, 0, 0, 0}};
296950 static swig_cast_info _swigc__p_std__allocatorT_RobotInterface_p_t[] = { {&_swigt__p_std__allocatorT_RobotInterface_p_t, 0, 0, 0},{0, 0, 0, 0}};
296951 static swig_cast_info _swigc__p_std__allocatorT_RobotPartInterface_p_t[] = { {&_swigt__p_std__allocatorT_RobotPartInterface_p_t, 0, 0, 0},{0, 0, 0, 0}};
296952 static swig_cast_info _swigc__p_std__allocatorT_SimulationThread_p_t[] = { {&_swigt__p_std__allocatorT_SimulationThread_p_t, 0, 0, 0},{0, 0, 0, 0}};
296953 static swig_cast_info _swigc__p_std__allocatorT_SimulationWindow_p_t[] = { {&_swigt__p_std__allocatorT_SimulationWindow_p_t, 0, 0, 0},{0, 0, 0, 0}};
296954 static swig_cast_info _swigc__p_std__allocatorT_StdUtils__CStdVariable_p_t[] = { {&_swigt__p_std__allocatorT_StdUtils__CStdVariable_p_t, 0, 0, 0},{0, 0, 0, 0}};
296955 static swig_cast_info _swigc__p_std__allocatorT_Synapse_p_t[] = { {&_swigt__p_std__allocatorT_Synapse_p_t, 0, 0, 0},{0, 0, 0, 0}};
296956 static swig_cast_info _swigc__p_std__allocatorT_TypeProperty_p_t[] = { {&_swigt__p_std__allocatorT_TypeProperty_p_t, 0, 0, 0},{0, 0, 0, 0}};
296957 static swig_cast_info _swigc__p_std__allocatorT_double_t[] = { {&_swigt__p_std__allocatorT_double_t, 0, 0, 0},{0, 0, 0, 0}};
296958 static swig_cast_info _swigc__p_std__allocatorT_float_t[] = { {&_swigt__p_std__allocatorT_float_t, 0, 0, 0},{0, 0, 0, 0}};
296959 static swig_cast_info _swigc__p_std__allocatorT_int_t[] = { {&_swigt__p_std__allocatorT_int_t, 0, 0, 0},{0, 0, 0, 0}};
296960 static swig_cast_info _swigc__p_std__allocatorT_long_t[] = { {&_swigt__p_std__allocatorT_long_t, 0, 0, 0},{0, 0, 0, 0}};
296961 static swig_cast_info _swigc__p_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t[] = { {&_swigt__p_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
296962 static swig_cast_info _swigc__p_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t[] = { {&_swigt__p_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
296963 static swig_cast_info _swigc__p_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t[] = { {&_swigt__p_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
296964 static swig_cast_info _swigc__p_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t[] = { {&_swigt__p_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
296965 static swig_cast_info _swigc__p_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t[] = { {&_swigt__p_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
296966 static swig_cast_info _swigc__p_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t[] = { {&_swigt__p_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
296967 static swig_cast_info _swigc__p_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t[] = { {&_swigt__p_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
296968 static swig_cast_info _swigc__p_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t[] = { {&_swigt__p_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
296969 static swig_cast_info _swigc__p_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t[] = { {&_swigt__p_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
296970 static swig_cast_info _swigc__p_std__allocatorT_std__pairT_std__string_const_StdUtils__IStdClassFactory_p_t_t[] = { {&_swigt__p_std__allocatorT_std__pairT_std__string_const_StdUtils__IStdClassFactory_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
296971 static swig_cast_info _swigc__p_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t[] = { {&_swigt__p_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
296972 static swig_cast_info _swigc__p_std__allocatorT_std__string_t[] = { {&_swigt__p_std__allocatorT_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
296973 static swig_cast_info _swigc__p_std__invalid_argument[] = { {&_swigt__p_std__invalid_argument, 0, 0, 0},{0, 0, 0, 0}};
296974 static swig_cast_info _swigc__p_std__lessT_std__string_t[] = { {&_swigt__p_std__lessT_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
296975 static swig_cast_info _swigc__p_std__mapT_std__string_ActivatedItem_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t_t[] = { {&_swigt__p_CStdPtrMapT_std__string_ActivatedItem_t, _p_CStdPtrMapT_std__string_ActivatedItem_tTo_p_std__mapT_std__string_ActivatedItem_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t_t, 0, 0}, {&_swigt__p_std__mapT_std__string_ActivatedItem_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t_t, 0, 0, 0},{0, 0, 0, 0}};
296976 static swig_cast_info _swigc__p_std__mapT_std__string_AnimatBase_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t_t[] = { {&_swigt__p_std__mapT_std__string_AnimatBase_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t_t, 0, 0, 0}, {&_swigt__p_CStdMapT_std__string_AnimatBase_p_t, _p_CStdMapT_std__string_AnimatBase_p_tTo_p_std__mapT_std__string_AnimatBase_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t_t, 0, 0},{0, 0, 0, 0}};
296977 static swig_cast_info _swigc__p_std__mapT_std__string_DataColumn_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t_t[] = { {&_swigt__p_CStdMapT_std__string_DataColumn_p_t, _p_CStdMapT_std__string_DataColumn_p_tTo_p_std__mapT_std__string_DataColumn_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t_t, 0, 0}, {&_swigt__p_std__mapT_std__string_DataColumn_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t_t, 0, 0, 0},{0, 0, 0, 0}};
296978 static swig_cast_info _swigc__p_std__mapT_std__string_Joint_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t_t[] = { {&_swigt__p_CStdMapT_std__string_Joint_p_t, _p_CStdMapT_std__string_Joint_p_tTo_p_std__mapT_std__string_Joint_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t_t, 0, 0}, {&_swigt__p_std__mapT_std__string_Joint_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t_t, 0, 0, 0},{0, 0, 0, 0}};
296979 static swig_cast_info _swigc__p_std__mapT_std__string_NeuralModule_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t_t[] = { {&_swigt__p_CStdPtrMapT_std__string_NeuralModule_t, _p_CStdPtrMapT_std__string_NeuralModule_tTo_p_std__mapT_std__string_NeuralModule_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t_t, 0, 0}, {&_swigt__p_std__mapT_std__string_NeuralModule_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t_t, 0, 0, 0},{0, 0, 0, 0}};
296980 static swig_cast_info _swigc__p_std__mapT_std__string_OdorType_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t_t[] = { {&_swigt__p_std__mapT_std__string_OdorType_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t_t, 0, 0, 0}, {&_swigt__p_CStdPtrMapT_std__string_OdorType_t, _p_CStdPtrMapT_std__string_OdorType_tTo_p_std__mapT_std__string_OdorType_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t_t, 0, 0},{0, 0, 0, 0}};
296981 static swig_cast_info _swigc__p_std__mapT_std__string_Odor_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t_t[] = { {&_swigt__p_CStdMapT_std__string_Odor_p_t, _p_CStdMapT_std__string_Odor_p_tTo_p_std__mapT_std__string_Odor_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t_t, 0, 0}, {&_swigt__p_std__mapT_std__string_Odor_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t_t, 0, 0, 0}, {&_swigt__p_CStdPtrMapT_std__string_Odor_t, _p_CStdPtrMapT_std__string_Odor_tTo_p_std__mapT_std__string_Odor_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t_t, 0, 0},{0, 0, 0, 0}};
296982 static swig_cast_info _swigc__p_std__mapT_std__string_Organism_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t_t[] = { {&_swigt__p_std__mapT_std__string_Organism_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t_t, 0, 0, 0}, {&_swigt__p_CStdPtrMapT_std__string_Organism_t, _p_CStdPtrMapT_std__string_Organism_tTo_p_std__mapT_std__string_Organism_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t_t, 0, 0},{0, 0, 0, 0}};
296983 static swig_cast_info _swigc__p_std__mapT_std__string_RigidBody_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t_t[] = { {&_swigt__p_std__mapT_std__string_RigidBody_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t_t, 0, 0, 0}, {&_swigt__p_CStdMapT_std__string_RigidBody_p_t, _p_CStdMapT_std__string_RigidBody_p_tTo_p_std__mapT_std__string_RigidBody_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t_t, 0, 0},{0, 0, 0, 0}};
296984 static swig_cast_info _swigc__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[] = { {&_swigt__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, 0, 0, 0}, {&_swigt__p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t, _p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_tTo_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, 0, 0},{0, 0, 0, 0}};
296985 static swig_cast_info _swigc__p_std__mapT_std__string_Structure_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t_t[] = { {&_swigt__p_CStdMapT_std__string_Structure_p_t, _p_CStdMapT_std__string_Structure_p_tTo_p_std__mapT_std__string_Structure_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t_t, 0, 0}, {&_swigt__p_std__mapT_std__string_Structure_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t_t, 0, 0, 0}, {&_swigt__p_CStdPtrMapT_std__string_Structure_t, _p_CStdPtrMapT_std__string_Structure_tTo_p_std__mapT_std__string_Structure_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t_t, 0, 0},{0, 0, 0, 0}};
296986 static swig_cast_info _swigc__p_std__ofstream[] = { {&_swigt__p_std__ofstream, 0, 0, 0},{0, 0, 0, 0}};
296987 static swig_cast_info _swigc__p_std__ostream[] = { {&_swigt__p_std__ostream, 0, 0, 0},{0, 0, 0, 0}};
296988 static swig_cast_info _swigc__p_std__string[] = { {&_swigt__p_std__string, 0, 0, 0},{0, 0, 0, 0}};
296989 static swig_cast_info _swigc__p_std__unordered_setT_AnimatSim__Environment__RigidBody_p_t[] = { {&_swigt__p_std__unordered_setT_AnimatSim__Environment__RigidBody_p_t, 0, 0, 0},{0, 0, 0, 0}};
296990 static swig_cast_info _swigc__p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t[] = { {&_swigt__p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0, 0, 0}, {&_swigt__p_CStdArrayT_ActivatedItem_p_t, _p_CStdArrayT_ActivatedItem_p_tTo_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t, 0, 0},{0, 0, 0, 0}};
296991 static swig_cast_info _swigc__p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t[] = { {&_swigt__p_CStdArrayT_Adapter_p_t, _p_CStdArrayT_Adapter_p_tTo_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0, 0}, {&_swigt__p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0, 0, 0}, {&_swigt__p_CStdPtrArrayT_Adapter_t, _p_CStdPtrArrayT_Adapter_tTo_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t, 0, 0},{0, 0, 0, 0}};
296992 static swig_cast_info _swigc__p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t[] = { {&_swigt__p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0, 0, 0}, {&_swigt__p_CStdArrayT_Attachment_p_t, _p_CStdArrayT_Attachment_p_tTo_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t, 0, 0},{0, 0, 0, 0}};
296993 static swig_cast_info _swigc__p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t[] = { {&_swigt__p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0, 0, 0}, {&_swigt__p_CStdArrayT_BodyPart_p_t, _p_CStdArrayT_BodyPart_p_tTo_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t, 0, 0},{0, 0, 0, 0}};
296994 static swig_cast_info _swigc__p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t[] = { {&_swigt__p_CStdPtrArrayT_CollisionPair_t, _p_CStdPtrArrayT_CollisionPair_tTo_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0, 0}, {&_swigt__p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
296995 static swig_cast_info _swigc__p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t[] = { {&_swigt__p_CStdPtrArrayT_DataColumn_t, _p_CStdPtrArrayT_DataColumn_tTo_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0, 0}, {&_swigt__p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
296996 static swig_cast_info _swigc__p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t[] = { {&_swigt__p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0, 0, 0}, {&_swigt__p_CStdPtrArrayT_HudItem_t, _p_CStdPtrArrayT_HudItem_tTo_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t, 0, 0},{0, 0, 0, 0}};
296997 static swig_cast_info _swigc__p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t[] = { {&_swigt__p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0, 0, 0}, {&_swigt__p_CStdArrayT_KeyFrame_p_t, _p_CStdArrayT_KeyFrame_p_tTo_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t, 0, 0},{0, 0, 0, 0}};
296998 static swig_cast_info _swigc__p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t[] = { {&_swigt__p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0, 0, 0}, {&_swigt__p_CStdPtrArrayT_Light_t, _p_CStdPtrArrayT_Light_tTo_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t, 0, 0},{0, 0, 0, 0}};
296999 static swig_cast_info _swigc__p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t[] = { {&_swigt__p_CStdPtrArrayT_MaterialType_t, _p_CStdPtrArrayT_MaterialType_tTo_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0, 0}, {&_swigt__p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
297000 static swig_cast_info _swigc__p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t[] = { {&_swigt__p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0, 0, 0}, {&_swigt__p_CStdArrayT_ModuleThreadProcessor_p_t, _p_CStdArrayT_ModuleThreadProcessor_p_tTo_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t, 0, 0},{0, 0, 0, 0}};
297001 static swig_cast_info _swigc__p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t[] = { {&_swigt__p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0, 0, 0}, {&_swigt__p_CStdPtrArrayT_Neuron_t, _p_CStdPtrArrayT_Neuron_tTo_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t, 0, 0},{0, 0, 0, 0}};
297002 static swig_cast_info _swigc__p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t[] = { {&_swigt__p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0, 0, 0}, {&_swigt__p_CStdPtrArrayT_ReceptiveFieldPair_t, _p_CStdPtrArrayT_ReceptiveFieldPair_tTo_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t, 0, 0},{0, 0, 0, 0}};
297003 static swig_cast_info _swigc__p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t[] = { {&_swigt__p_CStdPtrArrayT_ReceptiveField_t, _p_CStdPtrArrayT_ReceptiveField_tTo_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0, 0}, {&_swigt__p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
297004 static swig_cast_info _swigc__p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t[] = { {&_swigt__p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0, 0, 0}, {&_swigt__p_CStdArrayT_RigidBody_p_t, _p_CStdArrayT_RigidBody_p_tTo_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0, 0}, {&_swigt__p_CStdPtrArrayT_RigidBody_t, _p_CStdPtrArrayT_RigidBody_tTo_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t, 0, 0},{0, 0, 0, 0}};
297005 static swig_cast_info _swigc__p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t[] = { {&_swigt__p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0, 0, 0}, {&_swigt__p_CStdPtrArrayT_RobotIOControl_t, _p_CStdPtrArrayT_RobotIOControl_tTo_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t, 0, 0},{0, 0, 0, 0}};
297006 static swig_cast_info _swigc__p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t[] = { {&_swigt__p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
297007 static swig_cast_info _swigc__p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t[] = { {&_swigt__p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0, 0, 0}, {&_swigt__p_CStdArrayT_RobotPartInterface_p_t, _p_CStdArrayT_RobotPartInterface_p_tTo_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0, 0}, {&_swigt__p_CStdPtrArrayT_RobotPartInterface_t, _p_CStdPtrArrayT_RobotPartInterface_tTo_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t, 0, 0},{0, 0, 0, 0}};
297008 static swig_cast_info _swigc__p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t[] = { {&_swigt__p_CStdPtrArrayT_SimulationThread_t, _p_CStdPtrArrayT_SimulationThread_tTo_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0, 0}, {&_swigt__p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
297009 static swig_cast_info _swigc__p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t[] = { {&_swigt__p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0, 0, 0}, {&_swigt__p_CStdPtrArrayT_SimulationWindow_t, _p_CStdPtrArrayT_SimulationWindow_tTo_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t, 0, 0},{0, 0, 0, 0}};
297010 static swig_cast_info _swigc__p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t[] = { {&_swigt__p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0, 0, 0}, {&_swigt__p_CStdPtrArrayT_StdUtils__CStdVariable_t, _p_CStdPtrArrayT_StdUtils__CStdVariable_tTo_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t, 0, 0},{0, 0, 0, 0}};
297011 static swig_cast_info _swigc__p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t[] = { {&_swigt__p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0, 0, 0}, {&_swigt__p_CStdPtrArrayT_Synapse_t, _p_CStdPtrArrayT_Synapse_tTo_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t, 0, 0},{0, 0, 0, 0}};
297012 static swig_cast_info _swigc__p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t[] = { {&_swigt__p_CStdPtrArrayT_TypeProperty_t, _p_CStdPtrArrayT_TypeProperty_tTo_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0, 0}, {&_swigt__p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t, 0, 0, 0},{0, 0, 0, 0}};
297013 static swig_cast_info _swigc__p_std__vectorT_double_std__allocatorT_double_t_t[] = { {&_swigt__p_CStdArrayT_double_t, _p_CStdArrayT_double_tTo_p_std__vectorT_double_std__allocatorT_double_t_t, 0, 0}, {&_swigt__p_std__vectorT_double_std__allocatorT_double_t_t, 0, 0, 0},{0, 0, 0, 0}};
297014 static swig_cast_info _swigc__p_std__vectorT_float_std__allocatorT_float_t_t[] = { {&_swigt__p_std__vectorT_float_std__allocatorT_float_t_t, 0, 0, 0}, {&_swigt__p_CStdArrayT_float_t, _p_CStdArrayT_float_tTo_p_std__vectorT_float_std__allocatorT_float_t_t, 0, 0}, {&_swigt__p_CStdCircularArrayT_float_t, _p_CStdCircularArrayT_float_tTo_p_std__vectorT_float_std__allocatorT_float_t_t, 0, 0},{0, 0, 0, 0}};
297015 static swig_cast_info _swigc__p_std__vectorT_int_std__allocatorT_int_t_t[] = { {&_swigt__p_CStdArrayT_int_t, _p_CStdArrayT_int_tTo_p_std__vectorT_int_std__allocatorT_int_t_t, 0, 0}, {&_swigt__p_std__vectorT_int_std__allocatorT_int_t_t, 0, 0, 0},{0, 0, 0, 0}};
297016 static swig_cast_info _swigc__p_std__vectorT_long_std__allocatorT_long_t_t[] = { {&_swigt__p_std__vectorT_long_std__allocatorT_long_t_t, 0, 0, 0}, {&_swigt__p_CStdArrayT_long_t, _p_CStdArrayT_long_tTo_p_std__vectorT_long_std__allocatorT_long_t_t, 0, 0},{0, 0, 0, 0}};
297017 static swig_cast_info _swigc__p_std__vectorT_std__string_std__allocatorT_std__string_t_t[] = { {&_swigt__p_CStdArrayT_std__string_t, _p_CStdArrayT_std__string_tTo_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0, 0}, {&_swigt__p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0, 0, 0},{0, 0, 0, 0}};
297018 static swig_cast_info _swigc__p_swig__SwigPyIterator[] = { {&_swigt__p_swig__SwigPyIterator, 0, 0, 0},{0, 0, 0, 0}};
297019 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
297020 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
297021 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
297022 static swig_cast_info _swigc__p_unsigned_short[] = { {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}};
297023 static swig_cast_info _swigc__p_value_type[] = { {&_swigt__p_value_type, 0, 0, 0},{0, 0, 0, 0}};
297024 
297025 static swig_cast_info *swig_cast_initial[] = {
297026  _swigc__p_ActivatedItem,
297027  _swigc__p_Adapter,
297028  _swigc__p_AnimatBase,
297029  _swigc__p_AnimatPropertyType,
297030  _swigc__p_AnimatSim__ActivatedItem,
297031  _swigc__p_AnimatSim__ActivatedItemMgr,
297032  _swigc__p_AnimatSim__Adapters__Adapter,
297033  _swigc__p_AnimatSim__Adapters__ContactAdapter,
297034  _swigc__p_AnimatSim__Adapters__PropertyControlAdapter,
297035  _swigc__p_AnimatSim__AnimatBase,
297036  _swigc__p_AnimatSim__Behavior__NervousSystem,
297037  _swigc__p_AnimatSim__Behavior__NeuralModule,
297038  _swigc__p_AnimatSim__Behavior__PhysicsNeuralModule,
297039  _swigc__p_AnimatSim__BoundingBox,
297040  _swigc__p_AnimatSim__Charting__ArrayChart,
297041  _swigc__p_AnimatSim__Charting__DataChart,
297042  _swigc__p_AnimatSim__Charting__DataChartMgr,
297043  _swigc__p_AnimatSim__Charting__DataColumn,
297044  _swigc__p_AnimatSim__Charting__FileChart,
297045  _swigc__p_AnimatSim__Charting__MemoryChart,
297046  _swigc__p_AnimatSim__DelayLine,
297047  _swigc__p_AnimatSim__Environment__Bodies__Attachment,
297048  _swigc__p_AnimatSim__Environment__Bodies__Box,
297049  _swigc__p_AnimatSim__Environment__Bodies__Cone,
297050  _swigc__p_AnimatSim__Environment__Bodies__Cylinder,
297051  _swigc__p_AnimatSim__Environment__Bodies__Ellipsoid,
297052  _swigc__p_AnimatSim__Environment__Bodies__FluidPlane,
297053  _swigc__p_AnimatSim__Environment__Bodies__LineBase,
297054  _swigc__p_AnimatSim__Environment__Bodies__LinearHillMuscle,
297055  _swigc__p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor,
297056  _swigc__p_AnimatSim__Environment__Bodies__Mesh,
297057  _swigc__p_AnimatSim__Environment__Bodies__Mouth,
297058  _swigc__p_AnimatSim__Environment__Bodies__MuscleBase,
297059  _swigc__p_AnimatSim__Environment__Bodies__OdorSensor,
297060  _swigc__p_AnimatSim__Environment__Bodies__Plane,
297061  _swigc__p_AnimatSim__Environment__Bodies__Sensor,
297062  _swigc__p_AnimatSim__Environment__Bodies__Sphere,
297063  _swigc__p_AnimatSim__Environment__Bodies__Spring,
297064  _swigc__p_AnimatSim__Environment__Bodies__Stomach,
297065  _swigc__p_AnimatSim__Environment__Bodies__Terrain,
297066  _swigc__p_AnimatSim__Environment__Bodies__Torus,
297067  _swigc__p_AnimatSim__Environment__BodyPart,
297068  _swigc__p_AnimatSim__Environment__CollisionPair,
297069  _swigc__p_AnimatSim__Environment__ConstraintFriction,
297070  _swigc__p_AnimatSim__Environment__ConstraintLimit,
297071  _swigc__p_AnimatSim__Environment__ConstraintRelaxation,
297072  _swigc__p_AnimatSim__Environment__ContactSensor,
297073  _swigc__p_AnimatSim__Environment__IMotorizedJoint,
297074  _swigc__p_AnimatSim__Environment__IPhysicsBody,
297075  _swigc__p_AnimatSim__Environment__IPhysicsMovableItem,
297076  _swigc__p_AnimatSim__Environment__Joint,
297077  _swigc__p_AnimatSim__Environment__Joints__BallSocket,
297078  _swigc__p_AnimatSim__Environment__Joints__Hinge,
297079  _swigc__p_AnimatSim__Environment__Joints__LinearJoint,
297080  _swigc__p_AnimatSim__Environment__Joints__Prismatic,
297081  _swigc__p_AnimatSim__Environment__Joints__RPRO,
297082  _swigc__p_AnimatSim__Environment__Light,
297083  _swigc__p_AnimatSim__Environment__LightManager,
297084  _swigc__p_AnimatSim__Environment__MaterialType,
297085  _swigc__p_AnimatSim__Environment__Materials,
297086  _swigc__p_AnimatSim__Environment__MotorizedJoint,
297087  _swigc__p_AnimatSim__Environment__MovableItem,
297088  _swigc__p_AnimatSim__Environment__Odor,
297089  _swigc__p_AnimatSim__Environment__OdorType,
297090  _swigc__p_AnimatSim__Environment__Organism,
297091  _swigc__p_AnimatSim__Environment__ReceptiveFieldPair,
297092  _swigc__p_AnimatSim__Environment__RigidBody,
297093  _swigc__p_AnimatSim__Environment__Structure,
297094  _swigc__p_AnimatSim__ExternalStimuli__CurrentStimulus,
297095  _swigc__p_AnimatSim__ExternalStimuli__EnablerStimulus,
297096  _swigc__p_AnimatSim__ExternalStimuli__ExternalInputStimulus,
297097  _swigc__p_AnimatSim__ExternalStimuli__ExternalStimuliMgr,
297098  _swigc__p_AnimatSim__ExternalStimuli__ExternalStimulus,
297099  _swigc__p_AnimatSim__ExternalStimuli__ForceStimulus,
297100  _swigc__p_AnimatSim__ExternalStimuli__InverseMuscleCurrent,
297101  _swigc__p_AnimatSim__ExternalStimuli__MotorStimulus,
297102  _swigc__p_AnimatSim__ExternalStimuli__PropertyControlStimulus,
297103  _swigc__p_AnimatSim__ExternalStimuli__VoltageClamp,
297104  _swigc__p_AnimatSim__Gains__BellGain,
297105  _swigc__p_AnimatSim__Gains__EquationGain,
297106  _swigc__p_AnimatSim__Gains__Gain,
297107  _swigc__p_AnimatSim__Gains__LengthTensionGain,
297108  _swigc__p_AnimatSim__Gains__PolynomialGain,
297109  _swigc__p_AnimatSim__Gains__SigmoidGain,
297110  _swigc__p_AnimatSim__Hud,
297111  _swigc__p_AnimatSim__HudItem,
297112  _swigc__p_AnimatSim__HudText,
297113  _swigc__p_AnimatSim__IMovableItemCallback,
297114  _swigc__p_AnimatSim__ISimGUICallback,
297115  _swigc__p_AnimatSim__Link,
297116  _swigc__p_AnimatSim__Node,
297117  _swigc__p_AnimatSim__Recording__KeyFrame,
297118  _swigc__p_AnimatSim__Recording__SimulationRecorder,
297119  _swigc__p_AnimatSim__Robotics__PassThroughLinkage,
297120  _swigc__p_AnimatSim__Robotics__PulsedLinkage,
297121  _swigc__p_AnimatSim__Robotics__RemoteControl,
297122  _swigc__p_AnimatSim__Robotics__RemoteControlLinkage,
297123  _swigc__p_AnimatSim__Robotics__RobotIOControl,
297124  _swigc__p_AnimatSim__Robotics__RobotInterface,
297125  _swigc__p_AnimatSim__Robotics__RobotPartInterface,
297126  _swigc__p_AnimatSim__ScriptProcessor,
297127  _swigc__p_AnimatSim__SimulationMgr,
297128  _swigc__p_AnimatSim__SimulationThread,
297129  _swigc__p_AnimatSim__SimulationWindow,
297130  _swigc__p_AnimatSim__SimulationWindowMgr,
297131  _swigc__p_AnimatSim__Simulator,
297132  _swigc__p_Attachment,
297133  _swigc__p_BodyPart,
297134  _swigc__p_BoundingBox,
297135  _swigc__p_CStdArrayT_ActivatedItem_p_t,
297136  _swigc__p_CStdArrayT_Adapter_p_t,
297137  _swigc__p_CStdArrayT_AnimatSim__Environment__Bodies__Attachment_p_t,
297138  _swigc__p_CStdArrayT_Attachment_p_t,
297139  _swigc__p_CStdArrayT_BodyPart_p_t,
297140  _swigc__p_CStdArrayT_KeyFrame_p_t,
297141  _swigc__p_CStdArrayT_ModuleThreadProcessor_p_t,
297142  _swigc__p_CStdArrayT_RigidBody_p_t,
297143  _swigc__p_CStdArrayT_RobotPartInterface_p_t,
297144  _swigc__p_CStdArrayT_double_t,
297145  _swigc__p_CStdArrayT_float_t,
297146  _swigc__p_CStdArrayT_int_t,
297147  _swigc__p_CStdArrayT_long_t,
297148  _swigc__p_CStdArrayT_std__string_t,
297149  _swigc__p_CStdCircularArrayT_float_t,
297150  _swigc__p_CStdMapT_std__string_AnimatBase_p_t,
297151  _swigc__p_CStdMapT_std__string_AnimatSim__AnimatBase_p_t,
297152  _swigc__p_CStdMapT_std__string_DataColumn_p_t,
297153  _swigc__p_CStdMapT_std__string_Joint_p_t,
297154  _swigc__p_CStdMapT_std__string_Odor_p_t,
297155  _swigc__p_CStdMapT_std__string_RigidBody_p_t,
297156  _swigc__p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t,
297157  _swigc__p_CStdMapT_std__string_Structure_p_t,
297158  _swigc__p_CStdPointT_double_t,
297159  _swigc__p_CStdPointT_float_t,
297160  _swigc__p_CStdPointT_int_t,
297161  _swigc__p_CStdPointT_long_t,
297162  _swigc__p_CStdPtrArrayT_Adapter_t,
297163  _swigc__p_CStdPtrArrayT_AnimatSim__Environment__CollisionPair_t,
297164  _swigc__p_CStdPtrArrayT_AnimatSim__Environment__Light_t,
297165  _swigc__p_CStdPtrArrayT_AnimatSim__Environment__RigidBody_t,
297166  _swigc__p_CStdPtrArrayT_AnimatSim__Robotics__RemoteControlLinkage_t,
297167  _swigc__p_CStdPtrArrayT_AnimatSim__SimulationThread_t,
297168  _swigc__p_CStdPtrArrayT_AnimatSim__SimulationWindow_t,
297169  _swigc__p_CStdPtrArrayT_CollisionPair_t,
297170  _swigc__p_CStdPtrArrayT_DataColumn_t,
297171  _swigc__p_CStdPtrArrayT_HudItem_t,
297172  _swigc__p_CStdPtrArrayT_Light_t,
297173  _swigc__p_CStdPtrArrayT_MaterialType_t,
297174  _swigc__p_CStdPtrArrayT_Neuron_t,
297175  _swigc__p_CStdPtrArrayT_ReceptiveFieldPair_t,
297176  _swigc__p_CStdPtrArrayT_ReceptiveField_t,
297177  _swigc__p_CStdPtrArrayT_RigidBody_t,
297178  _swigc__p_CStdPtrArrayT_RobotIOControl_t,
297179  _swigc__p_CStdPtrArrayT_RobotPartInterface_t,
297180  _swigc__p_CStdPtrArrayT_SimulationThread_t,
297181  _swigc__p_CStdPtrArrayT_SimulationWindow_t,
297182  _swigc__p_CStdPtrArrayT_StdUtils__CStdVariable_t,
297183  _swigc__p_CStdPtrArrayT_Synapse_t,
297184  _swigc__p_CStdPtrArrayT_TypeProperty_t,
297185  _swigc__p_CStdPtrMapT_std__string_ActivatedItem_t,
297186  _swigc__p_CStdPtrMapT_std__string_NeuralModule_t,
297187  _swigc__p_CStdPtrMapT_std__string_OdorType_t,
297188  _swigc__p_CStdPtrMapT_std__string_Odor_t,
297189  _swigc__p_CStdPtrMapT_std__string_Organism_t,
297190  _swigc__p_CStdPtrMapT_std__string_Structure_t,
297191  _swigc__p_CStdStackT_double_t,
297192  _swigc__p_CollisionPair,
297193  _swigc__p_ContactSensor,
297194  _swigc__p_DataChart,
297195  _swigc__p_DataChartMgr,
297196  _swigc__p_DataColumn,
297197  _swigc__p_ExternalStimuliMgr,
297198  _swigc__p_FiringRateModule,
297199  _swigc__p_FiringRateSim__FiringRateModule,
297200  _swigc__p_FiringRateSim__Neurons__BistableNeuron,
297201  _swigc__p_FiringRateSim__Neurons__Neuron,
297202  _swigc__p_FiringRateSim__Neurons__PacemakerNeuron,
297203  _swigc__p_FiringRateSim__Neurons__RandomNeuron,
297204  _swigc__p_FiringRateSim__Neurons__TonicNeuron,
297205  _swigc__p_FiringRateSim__Synapses__GatedSynapse,
297206  _swigc__p_FiringRateSim__Synapses__ModulateNeuronPropSynapse,
297207  _swigc__p_FiringRateSim__Synapses__ModulatedSynapse,
297208  _swigc__p_FiringRateSim__Synapses__Synapse,
297209  _swigc__p_Gain,
297210  _swigc__p_HWND,
297211  _swigc__p_HudItem,
297212  _swigc__p_Joint,
297213  _swigc__p_KeyFrame,
297214  _swigc__p_LengthTensionGain,
297215  _swigc__p_Light,
297216  _swigc__p_LightManager,
297217  _swigc__p_LinearHillMuscle,
297218  _swigc__p_MaterialType,
297219  _swigc__p_Materials,
297220  _swigc__p_ModuleThreadProcessor,
297221  _swigc__p_NeuralModule,
297222  _swigc__p_Neuron,
297223  _swigc__p_Node,
297224  _swigc__p_Odor,
297225  _swigc__p_OdorType,
297226  _swigc__p_Organism,
297227  _swigc__p_ReceptiveField,
297228  _swigc__p_ReceptiveFieldPair,
297229  _swigc__p_RigidBody,
297230  _swigc__p_RobotIOControl,
297231  _swigc__p_RobotInterface,
297232  _swigc__p_RobotPartInterface,
297233  _swigc__p_ScriptProcessor,
297234  _swigc__p_SigmoidGain,
297235  _swigc__p_SimulationRecorder,
297236  _swigc__p_SimulationThread,
297237  _swigc__p_SimulationWindow,
297238  _swigc__p_Simulator,
297239  _swigc__p_StdUtils__CMarkupSTL,
297240  _swigc__p_StdUtils__CStdColor,
297241  _swigc__p_StdUtils__CStdCriticalSection,
297242  _swigc__p_StdUtils__CStdFixed,
297243  _swigc__p_StdUtils__CStdFont,
297244  _swigc__p_StdUtils__CStdLookupTable,
297245  _swigc__p_StdUtils__CStdPID,
297246  _swigc__p_StdUtils__CStdPostFixEval,
297247  _swigc__p_StdUtils__CStdSerialize,
297248  _swigc__p_StdUtils__CStdVariable,
297249  _swigc__p_StdUtils__CStdVariant,
297250  _swigc__p_StdUtils__CStdXml,
297251  _swigc__p_StdUtils__IStdClassFactory,
297252  _swigc__p_Structure,
297253  _swigc__p_Synapse,
297254  _swigc__p_TypeProperty,
297255  _swigc__p_a_3__float,
297256  _swigc__p_a_4__a_4__float,
297257  _swigc__p_a_4__float,
297258  _swigc__p_allocator_type,
297259  _swigc__p_bool,
297260  _swigc__p_byte,
297261  _swigc__p_char,
297262  _swigc__p_const_reference,
297263  _swigc__p_difference_type,
297264  _swigc__p_double,
297265  _swigc__p_float,
297266  _swigc__p_int,
297267  _swigc__p_key_type,
297268  _swigc__p_long,
297269  _swigc__p_mapped_type,
297270  _swigc__p_p_PyObject,
297271  _swigc__p_p_char,
297272  _swigc__p_reference,
297273  _swigc__p_short,
297274  _swigc__p_size_type,
297275  _swigc__p_std__allocatorT_ActivatedItem_p_t,
297276  _swigc__p_std__allocatorT_Adapter_p_t,
297277  _swigc__p_std__allocatorT_Attachment_p_t,
297278  _swigc__p_std__allocatorT_BodyPart_p_t,
297279  _swigc__p_std__allocatorT_CollisionPair_p_t,
297280  _swigc__p_std__allocatorT_DataColumn_p_t,
297281  _swigc__p_std__allocatorT_HudItem_p_t,
297282  _swigc__p_std__allocatorT_KeyFrame_p_t,
297283  _swigc__p_std__allocatorT_Light_p_t,
297284  _swigc__p_std__allocatorT_MaterialType_p_t,
297285  _swigc__p_std__allocatorT_ModuleThreadProcessor_p_t,
297286  _swigc__p_std__allocatorT_Neuron_p_t,
297287  _swigc__p_std__allocatorT_ReceptiveFieldPair_p_t,
297288  _swigc__p_std__allocatorT_ReceptiveField_p_t,
297289  _swigc__p_std__allocatorT_RigidBody_p_t,
297290  _swigc__p_std__allocatorT_RobotIOControl_p_t,
297291  _swigc__p_std__allocatorT_RobotInterface_p_t,
297292  _swigc__p_std__allocatorT_RobotPartInterface_p_t,
297293  _swigc__p_std__allocatorT_SimulationThread_p_t,
297294  _swigc__p_std__allocatorT_SimulationWindow_p_t,
297295  _swigc__p_std__allocatorT_StdUtils__CStdVariable_p_t,
297296  _swigc__p_std__allocatorT_Synapse_p_t,
297297  _swigc__p_std__allocatorT_TypeProperty_p_t,
297298  _swigc__p_std__allocatorT_double_t,
297299  _swigc__p_std__allocatorT_float_t,
297300  _swigc__p_std__allocatorT_int_t,
297301  _swigc__p_std__allocatorT_long_t,
297302  _swigc__p_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t,
297303  _swigc__p_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t,
297304  _swigc__p_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t,
297305  _swigc__p_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t,
297306  _swigc__p_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t,
297307  _swigc__p_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t,
297308  _swigc__p_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t,
297309  _swigc__p_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t,
297310  _swigc__p_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t,
297311  _swigc__p_std__allocatorT_std__pairT_std__string_const_StdUtils__IStdClassFactory_p_t_t,
297312  _swigc__p_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t,
297313  _swigc__p_std__allocatorT_std__string_t,
297314  _swigc__p_std__invalid_argument,
297315  _swigc__p_std__lessT_std__string_t,
297316  _swigc__p_std__mapT_std__string_ActivatedItem_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t_t,
297317  _swigc__p_std__mapT_std__string_AnimatBase_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t_t,
297318  _swigc__p_std__mapT_std__string_DataColumn_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t_t,
297319  _swigc__p_std__mapT_std__string_Joint_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t_t,
297320  _swigc__p_std__mapT_std__string_NeuralModule_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t_t,
297321  _swigc__p_std__mapT_std__string_OdorType_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t_t,
297322  _swigc__p_std__mapT_std__string_Odor_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t_t,
297323  _swigc__p_std__mapT_std__string_Organism_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t_t,
297324  _swigc__p_std__mapT_std__string_RigidBody_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t_t,
297325  _swigc__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,
297326  _swigc__p_std__mapT_std__string_Structure_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t_t,
297327  _swigc__p_std__ofstream,
297328  _swigc__p_std__ostream,
297329  _swigc__p_std__string,
297330  _swigc__p_std__unordered_setT_AnimatSim__Environment__RigidBody_p_t,
297331  _swigc__p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t,
297332  _swigc__p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t,
297333  _swigc__p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t,
297334  _swigc__p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t,
297335  _swigc__p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t,
297336  _swigc__p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t,
297337  _swigc__p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t,
297338  _swigc__p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t,
297339  _swigc__p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t,
297340  _swigc__p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t,
297341  _swigc__p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t,
297342  _swigc__p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t,
297343  _swigc__p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t,
297344  _swigc__p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t,
297345  _swigc__p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t,
297346  _swigc__p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t,
297347  _swigc__p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t,
297348  _swigc__p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t,
297349  _swigc__p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t,
297350  _swigc__p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t,
297351  _swigc__p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t,
297352  _swigc__p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t,
297353  _swigc__p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t,
297354  _swigc__p_std__vectorT_double_std__allocatorT_double_t_t,
297355  _swigc__p_std__vectorT_float_std__allocatorT_float_t_t,
297356  _swigc__p_std__vectorT_int_std__allocatorT_int_t_t,
297357  _swigc__p_std__vectorT_long_std__allocatorT_long_t_t,
297358  _swigc__p_std__vectorT_std__string_std__allocatorT_std__string_t_t,
297359  _swigc__p_swig__SwigPyIterator,
297360  _swigc__p_unsigned_char,
297361  _swigc__p_unsigned_int,
297362  _swigc__p_unsigned_long,
297363  _swigc__p_unsigned_short,
297364  _swigc__p_value_type,
297365 };
297366 
297367 
297368 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
297369 
297370 static swig_const_info swig_const_table[] = {
297371 {0, 0, 0, 0.0, 0, 0}};
297372 
297373 #ifdef __cplusplus
297374 }
297375 #endif
297376 /* -----------------------------------------------------------------------------
297377  * Type initialization:
297378  * This problem is tough by the requirement that no dynamic
297379  * memory is used. Also, since swig_type_info structures store pointers to
297380  * swig_cast_info structures and swig_cast_info structures store pointers back
297381  * to swig_type_info structures, we need some lookup code at initialization.
297382  * The idea is that swig generates all the structures that are needed.
297383  * The runtime then collects these partially filled structures.
297384  * The SWIG_InitializeModule function takes these initial arrays out of
297385  * swig_module, and does all the lookup, filling in the swig_module.types
297386  * array with the correct data and linking the correct swig_cast_info
297387  * structures together.
297388  *
297389  * The generated swig_type_info structures are assigned statically to an initial
297390  * array. We just loop through that array, and handle each type individually.
297391  * First we lookup if this type has been already loaded, and if so, use the
297392  * loaded structure instead of the generated one. Then we have to fill in the
297393  * cast linked list. The cast data is initially stored in something like a
297394  * two-dimensional array. Each row corresponds to a type (there are the same
297395  * number of rows as there are in the swig_type_initial array). Each entry in
297396  * a column is one of the swig_cast_info structures for that type.
297397  * The cast_initial array is actually an array of arrays, because each row has
297398  * a variable number of columns. So to actually build the cast linked list,
297399  * we find the array of casts associated with the type, and loop through it
297400  * adding the casts to the list. The one last trick we need to do is making
297401  * sure the type pointer in the swig_cast_info struct is correct.
297402  *
297403  * First off, we lookup the cast->type name to see if it is already loaded.
297404  * There are three cases to handle:
297405  * 1) If the cast->type has already been loaded AND the type we are adding
297406  * casting info to has not been loaded (it is in this module), THEN we
297407  * replace the cast->type pointer with the type pointer that has already
297408  * been loaded.
297409  * 2) If BOTH types (the one we are adding casting info to, and the
297410  * cast->type) are loaded, THEN the cast info has already been loaded by
297411  * the previous module so we just ignore it.
297412  * 3) Finally, if cast->type has not already been loaded, then we add that
297413  * swig_cast_info to the linked list (because the cast->type) pointer will
297414  * be correct.
297415  * ----------------------------------------------------------------------------- */
297416 
297417 #ifdef __cplusplus
297418 extern "C" {
297419 #if 0
297420 } /* c-mode */
297421 #endif
297422 #endif
297423 
297424 #if 0
297425 #define SWIGRUNTIME_DEBUG
297426 #endif
297427 
297428 
297429 SWIGRUNTIME void
297430 SWIG_InitializeModule(void *clientdata) {
297431  size_t i;
297432  swig_module_info *module_head, *iter;
297433  int init;
297434 
297435  /* check to see if the circular list has been setup, if not, set it up */
297436  if (swig_module.next==0) {
297437  /* Initialize the swig_module */
297438  swig_module.type_initial = swig_type_initial;
297439  swig_module.cast_initial = swig_cast_initial;
297440  swig_module.next = &swig_module;
297441  init = 1;
297442  } else {
297443  init = 0;
297444  }
297445 
297446  /* Try and load any already created modules */
297447  module_head = SWIG_GetModule(clientdata);
297448  if (!module_head) {
297449  /* This is the first module loaded for this interpreter */
297450  /* so set the swig module into the interpreter */
297451  SWIG_SetModule(clientdata, &swig_module);
297452  } else {
297453  /* the interpreter has loaded a SWIG module, but has it loaded this one? */
297454  iter=module_head;
297455  do {
297456  if (iter==&swig_module) {
297457  /* Our module is already in the list, so there's nothing more to do. */
297458  return;
297459  }
297460  iter=iter->next;
297461  } while (iter!= module_head);
297462 
297463  /* otherwise we must add our module into the list */
297464  swig_module.next = module_head->next;
297465  module_head->next = &swig_module;
297466  }
297467 
297468  /* When multiple interpreters are used, a module could have already been initialized in
297469  a different interpreter, but not yet have a pointer in this interpreter.
297470  In this case, we do not want to continue adding types... everything should be
297471  set up already */
297472  if (init == 0) return;
297473 
297474  /* Now work on filling in swig_module.types */
297475 #ifdef SWIGRUNTIME_DEBUG
297476  printf("SWIG_InitializeModule: size %d\n", swig_module.size);
297477 #endif
297478  for (i = 0; i < swig_module.size; ++i) {
297479  swig_type_info *type = 0;
297480  swig_type_info *ret;
297481  swig_cast_info *cast;
297482 
297483 #ifdef SWIGRUNTIME_DEBUG
297484  printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
297485 #endif
297486 
297487  /* if there is another module already loaded */
297488  if (swig_module.next != &swig_module) {
297489  type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
297490  }
297491  if (type) {
297492  /* Overwrite clientdata field */
297493 #ifdef SWIGRUNTIME_DEBUG
297494  printf("SWIG_InitializeModule: found type %s\n", type->name);
297495 #endif
297496  if (swig_module.type_initial[i]->clientdata) {
297497  type->clientdata = swig_module.type_initial[i]->clientdata;
297498 #ifdef SWIGRUNTIME_DEBUG
297499  printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
297500 #endif
297501  }
297502  } else {
297503  type = swig_module.type_initial[i];
297504  }
297505 
297506  /* Insert casting types */
297507  cast = swig_module.cast_initial[i];
297508  while (cast->type) {
297509  /* Don't need to add information already in the list */
297510  ret = 0;
297511 #ifdef SWIGRUNTIME_DEBUG
297512  printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
297513 #endif
297514  if (swig_module.next != &swig_module) {
297515  ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
297516 #ifdef SWIGRUNTIME_DEBUG
297517  if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
297518 #endif
297519  }
297520  if (ret) {
297521  if (type == swig_module.type_initial[i]) {
297522 #ifdef SWIGRUNTIME_DEBUG
297523  printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
297524 #endif
297525  cast->type = ret;
297526  ret = 0;
297527  } else {
297528  /* Check for casting already in the list */
297529  swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
297530 #ifdef SWIGRUNTIME_DEBUG
297531  if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
297532 #endif
297533  if (!ocast) ret = 0;
297534  }
297535  }
297536 
297537  if (!ret) {
297538 #ifdef SWIGRUNTIME_DEBUG
297539  printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
297540 #endif
297541  if (type->cast) {
297542  type->cast->prev = cast;
297543  cast->next = type->cast;
297544  }
297545  type->cast = cast;
297546  }
297547  cast++;
297548  }
297549  /* Set entry in modules->types array equal to the type */
297550  swig_module.types[i] = type;
297551  }
297552  swig_module.types[i] = 0;
297553 
297554 #ifdef SWIGRUNTIME_DEBUG
297555  printf("**** SWIG_InitializeModule: Cast List ******\n");
297556  for (i = 0; i < swig_module.size; ++i) {
297557  int j = 0;
297558  swig_cast_info *cast = swig_module.cast_initial[i];
297559  printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
297560  while (cast->type) {
297561  printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
297562  cast++;
297563  ++j;
297564  }
297565  printf("---- Total casts: %d\n",j);
297566  }
297567  printf("**** SWIG_InitializeModule: Cast List ******\n");
297568 #endif
297569 }
297570 
297571 /* This function will propagate the clientdata field of type to
297572 * any new swig_type_info structures that have been added into the list
297573 * of equivalent types. It is like calling
297574 * SWIG_TypeClientData(type, clientdata) a second time.
297575 */
297576 SWIGRUNTIME void
297577 SWIG_PropagateClientData(void) {
297578  size_t i;
297579  swig_cast_info *equiv;
297580  static int init_run = 0;
297581 
297582  if (init_run) return;
297583  init_run = 1;
297584 
297585  for (i = 0; i < swig_module.size; i++) {
297586  if (swig_module.types[i]->clientdata) {
297587  equiv = swig_module.types[i]->cast;
297588  while (equiv) {
297589  if (!equiv->converter) {
297590  if (equiv->type && !equiv->type->clientdata)
297591  SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
297592  }
297593  equiv = equiv->next;
297594  }
297595  }
297596  }
297597 }
297598 
297599 #ifdef __cplusplus
297600 #if 0
297601 {
297602  /* c-mode */
297603 #endif
297604 }
297605 #endif
297606 
297607 
297608 
297609 #ifdef __cplusplus
297610 extern "C" {
297611 #endif
297612 
297613  /* Python-specific SWIG API */
297614 #define SWIG_newvarlink() SWIG_Python_newvarlink()
297615 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
297616 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
297617 
297618  /* -----------------------------------------------------------------------------
297619  * global variable support code.
297620  * ----------------------------------------------------------------------------- */
297621 
297622  typedef struct swig_globalvar {
297623  char *name; /* Name of global variable */
297624  PyObject *(*get_attr)(void); /* Return the current value */
297625  int (*set_attr)(PyObject *); /* Set the value */
297626  struct swig_globalvar *next;
297627  } swig_globalvar;
297628 
297629  typedef struct swig_varlinkobject {
297630  PyObject_HEAD
297631  swig_globalvar *vars;
297632  } swig_varlinkobject;
297633 
297634  SWIGINTERN PyObject *
297635  swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
297636 #if PY_VERSION_HEX >= 0x03000000
297637  return PyUnicode_InternFromString("<Swig global variables>");
297638 #else
297639  return PyString_FromString("<Swig global variables>");
297640 #endif
297641  }
297642 
297643  SWIGINTERN PyObject *
297644  swig_varlink_str(swig_varlinkobject *v) {
297645 #if PY_VERSION_HEX >= 0x03000000
297646  PyObject *str = PyUnicode_InternFromString("(");
297647  PyObject *tail;
297648  PyObject *joined;
297649  swig_globalvar *var;
297650  for (var = v->vars; var; var=var->next) {
297651  tail = PyUnicode_FromString(var->name);
297652  joined = PyUnicode_Concat(str, tail);
297653  Py_DecRef(str);
297654  Py_DecRef(tail);
297655  str = joined;
297656  if (var->next) {
297657  tail = PyUnicode_InternFromString(", ");
297658  joined = PyUnicode_Concat(str, tail);
297659  Py_DecRef(str);
297660  Py_DecRef(tail);
297661  str = joined;
297662  }
297663  }
297664  tail = PyUnicode_InternFromString(")");
297665  joined = PyUnicode_Concat(str, tail);
297666  Py_DecRef(str);
297667  Py_DecRef(tail);
297668  str = joined;
297669 #else
297670  PyObject *str = PyString_FromString("(");
297671  swig_globalvar *var;
297672  for (var = v->vars; var; var=var->next) {
297673  PyString_ConcatAndDel(&str,PyString_FromString(var->name));
297674  if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
297675  }
297676  PyString_ConcatAndDel(&str,PyString_FromString(")"));
297677 #endif
297678  return str;
297679  }
297680 
297681  SWIGINTERN int
297682  swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
297683  char *tmp;
297684  PyObject *str = swig_varlink_str(v);
297685  fprintf(fp,"Swig global variables ");
297686  fprintf(fp,"%s\n", tmp = SWIG_Python_str_AsChar(str));
297687  SWIG_Python_str_DelForPy3(tmp);
297688  Py_DECREF(str);
297689  return 0;
297690  }
297691 
297692  SWIGINTERN void
297693  swig_varlink_dealloc(swig_varlinkobject *v) {
297694  swig_globalvar *var = v->vars;
297695  while (var) {
297696  swig_globalvar *n = var->next;
297697  free(var->name);
297698  free(var);
297699  var = n;
297700  }
297701  }
297702 
297703  SWIGINTERN PyObject *
297704  swig_varlink_getattr(swig_varlinkobject *v, char *n) {
297705  PyObject *res = NULL;
297706  swig_globalvar *var = v->vars;
297707  while (var) {
297708  if (strcmp(var->name,n) == 0) {
297709  res = (*var->get_attr)();
297710  break;
297711  }
297712  var = var->next;
297713  }
297714  if (res == NULL && !PyErr_Occurred()) {
297715  PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n);
297716  }
297717  return res;
297718  }
297719 
297720  SWIGINTERN int
297721  swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
297722  int res = 1;
297723  swig_globalvar *var = v->vars;
297724  while (var) {
297725  if (strcmp(var->name,n) == 0) {
297726  res = (*var->set_attr)(p);
297727  break;
297728  }
297729  var = var->next;
297730  }
297731  if (res == 1 && !PyErr_Occurred()) {
297732  PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n);
297733  }
297734  return res;
297735  }
297736 
297737  SWIGINTERN PyTypeObject*
297738  swig_varlink_type(void) {
297739  static char varlink__doc__[] = "Swig var link object";
297740  static PyTypeObject varlink_type;
297741  static int type_init = 0;
297742  if (!type_init) {
297743  const PyTypeObject tmp = {
297744  /* PyObject header changed in Python 3 */
297745 #if PY_VERSION_HEX >= 0x03000000
297746  PyVarObject_HEAD_INIT(NULL, 0)
297747 #else
297748  PyObject_HEAD_INIT(NULL)
297749  0, /* ob_size */
297750 #endif
297751  (char *)"swigvarlink", /* tp_name */
297752  sizeof(swig_varlinkobject), /* tp_basicsize */
297753  0, /* tp_itemsize */
297754  (destructor) swig_varlink_dealloc, /* tp_dealloc */
297755  (printfunc) swig_varlink_print, /* tp_print */
297756  (getattrfunc) swig_varlink_getattr, /* tp_getattr */
297757  (setattrfunc) swig_varlink_setattr, /* tp_setattr */
297758  0, /* tp_compare */
297759  (reprfunc) swig_varlink_repr, /* tp_repr */
297760  0, /* tp_as_number */
297761  0, /* tp_as_sequence */
297762  0, /* tp_as_mapping */
297763  0, /* tp_hash */
297764  0, /* tp_call */
297765  (reprfunc) swig_varlink_str, /* tp_str */
297766  0, /* tp_getattro */
297767  0, /* tp_setattro */
297768  0, /* tp_as_buffer */
297769  0, /* tp_flags */
297770  varlink__doc__, /* tp_doc */
297771  0, /* tp_traverse */
297772  0, /* tp_clear */
297773  0, /* tp_richcompare */
297774  0, /* tp_weaklistoffset */
297775 #if PY_VERSION_HEX >= 0x02020000
297776  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
297777 #endif
297778 #if PY_VERSION_HEX >= 0x02030000
297779  0, /* tp_del */
297780 #endif
297781 #if PY_VERSION_HEX >= 0x02060000
297782  0, /* tp_version */
297783 #endif
297784 #ifdef COUNT_ALLOCS
297785  0,0,0,0 /* tp_alloc -> tp_next */
297786 #endif
297787  };
297788  varlink_type = tmp;
297789  type_init = 1;
297790 #if PY_VERSION_HEX < 0x02020000
297791  varlink_type.ob_type = &PyType_Type;
297792 #else
297793  if (PyType_Ready(&varlink_type) < 0)
297794  return NULL;
297795 #endif
297796  }
297797  return &varlink_type;
297798  }
297799 
297800  /* Create a variable linking object for use later */
297801  SWIGINTERN PyObject *
297802  SWIG_Python_newvarlink(void) {
297803  swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
297804  if (result) {
297805  result->vars = 0;
297806  }
297807  return ((PyObject*) result);
297808  }
297809 
297810  SWIGINTERN void
297811  SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
297813  swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
297814  if (gv) {
297815  size_t size = strlen(name)+1;
297816  gv->name = (char *)malloc(size);
297817  if (gv->name) {
297818  strncpy(gv->name,name,size);
297819  gv->get_attr = get_attr;
297820  gv->set_attr = set_attr;
297821  gv->next = v->vars;
297822  }
297823  }
297824  v->vars = gv;
297825  }
297826 
297827  SWIGINTERN PyObject *
297828  SWIG_globals(void) {
297829  static PyObject *_SWIG_globals = 0;
297830  if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
297831  return _SWIG_globals;
297832  }
297833 
297834  /* -----------------------------------------------------------------------------
297835  * constants/methods manipulation
297836  * ----------------------------------------------------------------------------- */
297837 
297838  /* Install Constants */
297839  SWIGINTERN void
297840  SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
297841  PyObject *obj = 0;
297842  size_t i;
297843  for (i = 0; constants[i].type; ++i) {
297844  switch(constants[i].type) {
297845  case SWIG_PY_POINTER:
297846  obj = SWIG_InternalNewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
297847  break;
297848  case SWIG_PY_BINARY:
297849  obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
297850  break;
297851  default:
297852  obj = 0;
297853  break;
297854  }
297855  if (obj) {
297856  PyDict_SetItemString(d, constants[i].name, obj);
297857  Py_DECREF(obj);
297858  }
297859  }
297860  }
297861 
297862  /* -----------------------------------------------------------------------------*/
297863  /* Fix SwigMethods to carry the callback ptrs when needed */
297864  /* -----------------------------------------------------------------------------*/
297865 
297866  SWIGINTERN void
297867  SWIG_Python_FixMethods(PyMethodDef *methods,
297868  swig_const_info *const_table,
297869  swig_type_info **types,
297870  swig_type_info **types_initial) {
297871  size_t i;
297872  for (i = 0; methods[i].ml_name; ++i) {
297873  const char *c = methods[i].ml_doc;
297874  if (c && (c = strstr(c, "swig_ptr: "))) {
297875  int j;
297876  swig_const_info *ci = 0;
297877  const char *name = c + 10;
297878  for (j = 0; const_table[j].type; ++j) {
297879  if (strncmp(const_table[j].name, name,
297880  strlen(const_table[j].name)) == 0) {
297881  ci = &(const_table[j]);
297882  break;
297883  }
297884  }
297885  if (ci) {
297886  void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
297887  if (ptr) {
297888  size_t shift = (ci->ptype) - types;
297889  swig_type_info *ty = types_initial[shift];
297890  size_t ldoc = (c - methods[i].ml_doc);
297891  size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
297892  char *ndoc = (char*)malloc(ldoc + lptr + 10);
297893  if (ndoc) {
297894  char *buff = ndoc;
297895  strncpy(buff, methods[i].ml_doc, ldoc);
297896  buff += ldoc;
297897  strncpy(buff, "swig_ptr: ", 10);
297898  buff += 10;
297899  SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
297900  methods[i].ml_doc = ndoc;
297901  }
297902  }
297903  }
297904  }
297905  }
297906  }
297907 
297908 #ifdef __cplusplus
297909 }
297910 #endif
297911 
297912 /* -----------------------------------------------------------------------------*
297913  * Partial Init method
297914  * -----------------------------------------------------------------------------*/
297915 
297916 #ifdef __cplusplus
297917 extern "C"
297918 #endif
297919 
297920 SWIGEXPORT
297921 #if PY_VERSION_HEX >= 0x03000000
297922 PyObject*
297923 #else
297924 void
297925 #endif
297926 SWIG_init(void) {
297927  PyObject *m, *d, *md;
297928 #if PY_VERSION_HEX >= 0x03000000
297929  static struct PyModuleDef SWIG_module = {
297930 # if PY_VERSION_HEX >= 0x03020000
297931  PyModuleDef_HEAD_INIT,
297932 # else
297933  {
297934  PyObject_HEAD_INIT(NULL)
297935  NULL, /* m_init */
297936  0, /* m_index */
297937  NULL, /* m_copy */
297938  },
297939 # endif
297940  (char *) SWIG_name,
297941  NULL,
297942  -1,
297943  SwigMethods,
297944  NULL,
297945  NULL,
297946  NULL,
297947  NULL
297948  };
297949 #endif
297950 
297951 #if defined(SWIGPYTHON_BUILTIN)
297952  static SwigPyClientData SwigPyObject_clientdata = {
297953  0, 0, 0, 0, 0, 0, 0
297954  };
297955  static PyGetSetDef this_getset_def = {
297956  (char *)"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
297957  };
297958  static SwigPyGetSet thisown_getset_closure = {
297959  (PyCFunction) SwigPyObject_own,
297960  (PyCFunction) SwigPyObject_own
297961  };
297962  static PyGetSetDef thisown_getset_def = {
297963  (char *)"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
297964  };
297965  PyObject *metatype_args;
297966  PyTypeObject *builtin_pytype;
297967  int builtin_base_count;
297968  swig_type_info *builtin_basetype;
297969  PyObject *tuple;
297970  PyGetSetDescrObject *static_getset;
297971  PyTypeObject *metatype;
297972  SwigPyClientData *cd;
297973  PyObject *public_interface, *public_symbol;
297974  PyObject *this_descr;
297975  PyObject *thisown_descr;
297976  PyObject *self = 0;
297977  int i;
297978 
297979  (void)builtin_pytype;
297980  (void)builtin_base_count;
297981  (void)builtin_basetype;
297982  (void)tuple;
297983  (void)static_getset;
297984  (void)self;
297985 
297986  /* metatype is used to implement static member variables. */
297987  metatype_args = Py_BuildValue("(s(O){})", "SwigPyObjectType", &PyType_Type);
297988  assert(metatype_args);
297989  metatype = (PyTypeObject *) PyType_Type.tp_call((PyObject *) &PyType_Type, metatype_args, NULL);
297990  assert(metatype);
297991  Py_DECREF(metatype_args);
297992  metatype->tp_setattro = (setattrofunc) &SwigPyObjectType_setattro;
297993  assert(PyType_Ready(metatype) >= 0);
297994 #endif
297995 
297996  /* Fix SwigMethods to carry the callback ptrs when needed */
297997  SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
297998 
297999 #if PY_VERSION_HEX >= 0x03000000
298000  m = PyModule_Create(&SWIG_module);
298001 #else
298002  m = Py_InitModule((char *) SWIG_name, SwigMethods);
298003 #endif
298004 
298005  md = d = PyModule_GetDict(m);
298006  (void)md;
298007 
298008  SWIG_InitializeModule(0);
298009 
298010 #ifdef SWIGPYTHON_BUILTIN
298011  SwigPyObject_stype = SWIG_MangledTypeQuery("_p_SwigPyObject");
298012  assert(SwigPyObject_stype);
298013  cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
298014  if (!cd) {
298015  SwigPyObject_stype->clientdata = &SwigPyObject_clientdata;
298016  SwigPyObject_clientdata.pytype = SwigPyObject_TypeOnce();
298017  } else if (SwigPyObject_TypeOnce()->tp_basicsize != cd->pytype->tp_basicsize) {
298018  PyErr_SetString(PyExc_RuntimeError, "Import error: attempted to load two incompatible swig-generated modules.");
298019 # if PY_VERSION_HEX >= 0x03000000
298020  return NULL;
298021 # else
298022  return;
298023 # endif
298024  }
298025 
298026  /* All objects have a 'this' attribute */
298027  this_descr = PyDescr_NewGetSet(SwigPyObject_type(), &this_getset_def);
298028  (void)this_descr;
298029 
298030  /* All objects have a 'thisown' attribute */
298031  thisown_descr = PyDescr_NewGetSet(SwigPyObject_type(), &thisown_getset_def);
298032  (void)thisown_descr;
298033 
298034  public_interface = PyList_New(0);
298035  public_symbol = 0;
298036  (void)public_symbol;
298037 
298038  PyDict_SetItemString(md, "__all__", public_interface);
298039  Py_DECREF(public_interface);
298040  for (i = 0; SwigMethods[i].ml_name != NULL; ++i)
298041  SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name);
298042  for (i = 0; swig_const_table[i].name != 0; ++i)
298043  SwigPyBuiltin_AddPublicSymbol(public_interface, swig_const_table[i].name);
298044 #endif
298045 
298046  SWIG_InstallConstants(d,swig_const_table);
298047 
298048  SWIG_Python_SetConstant(d, "CMarkupSTL_MNT_ELEMENT",SWIG_From_int(static_cast< int >(StdUtils::CMarkupSTL::MNT_ELEMENT)));
298049  SWIG_Python_SetConstant(d, "CMarkupSTL_MNT_TEXT",SWIG_From_int(static_cast< int >(StdUtils::CMarkupSTL::MNT_TEXT)));
298050  SWIG_Python_SetConstant(d, "CMarkupSTL_MNT_WHITESPACE",SWIG_From_int(static_cast< int >(StdUtils::CMarkupSTL::MNT_WHITESPACE)));
298051  SWIG_Python_SetConstant(d, "CMarkupSTL_MNT_CDATA_SECTION",SWIG_From_int(static_cast< int >(StdUtils::CMarkupSTL::MNT_CDATA_SECTION)));
298052  SWIG_Python_SetConstant(d, "CMarkupSTL_MNT_PROCESSING_INSTRUCTION",SWIG_From_int(static_cast< int >(StdUtils::CMarkupSTL::MNT_PROCESSING_INSTRUCTION)));
298053  SWIG_Python_SetConstant(d, "CMarkupSTL_MNT_COMMENT",SWIG_From_int(static_cast< int >(StdUtils::CMarkupSTL::MNT_COMMENT)));
298054  SWIG_Python_SetConstant(d, "CMarkupSTL_MNT_DOCUMENT_TYPE",SWIG_From_int(static_cast< int >(StdUtils::CMarkupSTL::MNT_DOCUMENT_TYPE)));
298055  SWIG_Python_SetConstant(d, "CMarkupSTL_MNT_EXCLUDE_WHITESPACE",SWIG_From_int(static_cast< int >(StdUtils::CMarkupSTL::MNT_EXCLUDE_WHITESPACE)));
298056 #if PY_VERSION_HEX >= 0x03000000
298057  return m;
298058 #else
298059  return;
298060 #endif
298061 }
298062 
virtual float Magnus()
Gets the Magnus coefficient for the body.
Definition: RigidBody.cpp:1181
virtual float MaxForce()
Gets the MaxForce the friction can apply.
virtual Gain * GetGain()
Gets the poitner to the gain function.
float Th()
Gets the time that the high current is active.
virtual float Vmuscle()
Gets the muscle membrane voltage.
virtual float Input()
Gets the current input value.
float D()
Sets D parameter of polynomial eqation: Out = A*In^3 + B*In^2 + C*In + D.
float BoxSize()
Gets the width of the flaps used to display the hinge in the environment.
Definition: Prismatic.cpp:114
Movable Item callback to the GUI.
virtual bool EnableWhenActive()
Tells if the node is enabled when active. This is used to control if we are enabling the node during ...
virtual bool Enabled()
Tells whether this light is enabled.
Definition: Light.cpp:78
virtual float Damping()
Gets the damping of the spring.
Definition: Spring.cpp:116
The base class for all of the joint type of objects.
Definition: Joint.h:40
virtual float LinearDamping()
Gets the linear damping of the simulation.
Definition: Simulator.cpp:834
virtual float PrevLength()
Gets the previous length of the line.
Definition: LineBase.cpp:110
virtual float StepIODuration()
Gets the time duration required to perform one step of the IO for this part.
virtual bool AllowRotateDragX()
Gets whether this body part can be rotated along the x-axis by the user with the drag handlers...
Definition: Sensor.cpp:101
virtual float FoodEnergyContent()
Gets the food energy content.
Definition: RigidBody.cpp:749
float Tdot()
Gets the derivative of the tension.
Definition: MuscleBase.cpp:154
virtual DataChartMgr * GetDataChartMgr()
Gets the data chart manager.
Definition: Simulator.cpp:400
Contact adapter that processes ReceptiveField contacts.
Base manager class for ActivatedItem's.
float CylinderHeight()
Gets the height of the cylinder used to display the hinge in the environment.
Definition: Hinge.cpp:114
virtual float StabilityScale()
Sets the linear scaling factor that controls the simulation stability parameters. ...
Definition: Simulator.cpp:755
Standard color class.
Definition: StdColor.h:22
virtual float InsideRadius()
Gets the inside radius.
Definition: Torus.cpp:81
virtual float CalculateLength()
Calculates the length of the line.
Definition: LineBase.cpp:169
Nervous system for an organism.
Definition: NervousSystem.h:28
unsigned int GetUInt(bool bConvert=true)
Gets an unsigned int.
virtual short TimeStepInterval()
Gets the time step interval.
virtual bool EnableSimRecording()
Tells whehter simulation recording is enabled.
Definition: Simulator.cpp:1871
virtual float CalculateCurrent()
Calculates the synaptic current for this synapse.
Definition: Synapse.cpp:184
virtual void PhysicsTimeStep(float fltVal)
Sets the integration time step for the physics engine.
Definition: Simulator.cpp:1126
virtual float StaticChildrenMass()
Gets the mass of all static children.
Definition: RigidBody.cpp:626
virtual int CollectInterval()
Gets the collect interval.
Definition: DataChart.cpp:224
unsigned char * GetUCharPtr()
Gets the unsigned character pointer.
Definition: StdVariant.cpp:800
virtual float MouseSpringDamping()
Gets the mouse spring damping.
Definition: Simulator.cpp:1286
This class is derived from the ActivatedItemMgr and it handles all of the external stimuli...
Firing rate neural module.
A variable that is used within the CStdPostFixEval class.
Definition: StdVariable.h:17
virtual float GetLimitRange()
Gets the entire range of movement within the limits. If limits are not enabled then it returns -1...
Definition: Hinge.cpp:171
virtual bool IsCollisionObject()
Query if this object is collision object.
Definition: RigidBody.cpp:468
virtual float NaturalLength()
Gets the natural length of the spring.
Definition: Spring.cpp:90
double StartX()
Gets the start x coordinate.
bool InactiveArray()
Gets the inactive array.
virtual float AngularKineticLoss()
Gets the angular kinetic loss of teh simulation.
Definition: Simulator.cpp:920
virtual Materials * GetMaterialMgr()
Gets the material manager.
Definition: Simulator.cpp:440
virtual bool UseNoise()
Gets whether to use noise.
virtual bool IsSelected()
Query if this object is selected.
virtual float Alpha()
Gets the current alpha.
Simulates the entire environment.
Definition: Simulator.h:31
A muscle that is connected between two attachment points.
bool LessThanActivatedItemCompare(ActivatedItem *lpItem1, ActivatedItem *lpItem2)
Compares the start times of two activated items to see which is sooner.
Organism * GetOrganism()
Gets the organism.
virtual float GridY()
Gets the length of a segment for the y dimension of the plane.
Definition: Plane.cpp:118
virtual void ARWBound(float fltVal)
Sets the anti-reset boundary. This is specified as a percentage of the entire output range...
Definition: StdPID.cpp:190
virtual int VideoLoops()
Gets the video loops.
Definition: Simulator.cpp:1844
virtual float WidthSegmentSize()
Gets the width segment size.
Definition: Box.cpp:204
virtual int CoordinateID()
Gets the ID of the coordiante that this relaxation is associated with.
Standard lookup table.
virtual bool InSimulation()
Used to determine if we are running in a simulation, or in a real control mode.
Definition: Simulator.cpp:1673
Standard fixed-point number class.
Definition: StdFixed.h:19
virtual bool AllowRotateDragZ()
Gets whether this body part can be rotated along the z-axis by the user with the drag handlers...
Definition: FluidPlane.cpp:150
virtual float MinPeLength()
Gets the minimum pe length.
virtual KeyFrame * VideoPlayback()
Gets the video playback frame.
Definition: Simulator.cpp:1860
virtual float Tension()
Gets the current tension of the spring.
Definition: Spring.cpp:147
virtual float Gn()
Gets the membrane conductance.
virtual bool AllowRotateDragY()
Gets whether this body part can be rotated along the y-axis by the user with the drag handlers...
Definition: Sensor.cpp:103
virtual bool AllowRotateDragX()
Gets whether this body part can be rotated along the x-axis by the user with the drag handlers...
Definition: FluidPlane.cpp:146
virtual float InverseMassUnits()
Gets the inverse mass units.
Definition: Simulator.cpp:1797
float Mtl()
Gets the slope used to calculate length of time that Il current remains active.
virtual float Fmin()
Gets the minimum firing frequency.
Simulator * GetSimulator()
Gets the simulator.
virtual void Sides(int iVal)
Sets the number of sides used to draw the cylinder.
Definition: Cylinder.cpp:100
virtual float LimitPos()
Gets the limit position.
virtual int StepInterval()
Gets the step interval.
Length-Tension muscle gain.
virtual float TimeStep()
Gets the time step for this moudle in time units.
virtual bool AllowTranslateDragY()
Gets whether this body part can be translated along the y-axis by the user with the drag handlers...
Definition: Structure.cpp:171
virtual bool AllowRotateDragZ()
Gets whether this body part can be rotated along the z-axis by the user with the drag handlers...
Definition: Sensor.cpp:105
virtual bool AllowRotateDragZ()
Gets whether this body part can be rotated along the z-axis by the user with the drag handlers...
Definition: Structure.cpp:179
virtual int AssistCountdown()
Gets the assist countdown.
virtual float SynchUpdateStartInterval()
This is the interval that this adapter waits the first time before doing its update.
Definition: Adapter.cpp:464
virtual CStdPtrArray< SimulationWindow > * Windows()
Gets the windows array.
virtual float FoodEaten()
Gets the amount of food eaten.
Definition: RigidBody.cpp:705
virtual float MotorForceToAMagnitude()
Gets the magnitude of the force that the motor is applying to body A. (scaled units).
virtual float Gravity()
Gets the gravity value.
Definition: Simulator.cpp:1225
virtual eDelayBufferMode DelayBufferMode()
Returns the mode for the delay buffer.
Definition: Adapter.cpp:307
bool * GetBoolPtr()
Gets the bool pointer.
Definition: StdVariant.cpp:591
virtual bool ApplyTension()
Gets wheter tension is applied by the receptor or not.
virtual float AccommodationTimeConstant()
Gets the accomodation time constant.
bool UseLimits()
Tells whether limits should be used.
Definition: Gain.cpp:87
float BallRadius()
Gets the radius of the ball that is siutated at the center of this joint.
Definition: BallSocket.cpp:101
virtual float CurrentBurstOff()
Gets the off burst current value.
virtual float LinearVelocityDamping()
Gets the linear velocity damping for this body part.
Definition: RigidBody.cpp:798
virtual float BaseConsumptionRate()
Gets the base consumption rate.
Definition: Stomach.cpp:152
float B()
Gets B parameter of bell eqation: Out = B*e^(-C*(In-A)^2)+D.
Definition: BellGain.cpp:77
virtual float PeLength()
Gets the pe length.
float B()
Gets B parameter of polynomial eqation: Out = A*In^3 + B*In^2 + C*In + D.
virtual float Restitution()
Gets the restitution coefficient of the constraint.
unsigned char GetUChar(bool bConvert=true)
Gets an unsigned character.
Definition: StdVariant.cpp:747
The Stomach object is responsible for holding food energy.
Definition: Stomach.h:26
virtual bool KillOrganism()
Gets whether to kill the organism if energy level reaches zero.
Definition: Stomach.cpp:202
Random firing rate neuron.
Definition: RandomNeuron.h:24
virtual float MaxVelocity()
Gets the maximum velocity.
virtual float Radius()
Gets the radius.
Definition: Sensor.cpp:70
float * ModulationPointer()
Gets a pointer to the synaptic modulation.
Definition: Synapse.cpp:238
virtual long CurrentRow()
Gets the current row.
Definition: DataChart.cpp:386
virtual bool ConnectedToPhysics()
Returns whether or not this adpater is connected to a physics object or not.
Definition: Adapter.cpp:295
virtual ExternalStimuliMgr * GetExternalStimuliMgr()
Gets the external stimuli manager.
Definition: Simulator.cpp:410
virtual float GetLimitRange()
Gets the entire range of movement within the limits. If limits are not enabled then it returns -1...
Definition: Joint.cpp:494
Gated firing rate synapse.
Definition: GatedSynapse.h:25
unsigned short GetUShort(bool bConvert=true)
Gets an unsigned short.
Definition: StdVariant.cpp:850
virtual float FoodQuantity()
Gets the food quantity.
Definition: RigidBody.cpp:676
double * GetDoublePtr()
Gets the pointer to the floating-point representation of the number.
Definition: StdFixed.h:237
virtual void MotorType(eJointMotorType eServo)
Sets the type of motor to use for this joint.
virtual long UsedBufferSize()
Gets the size of buffer that is currently used.
Definition: DataChart.cpp:171
unsigned short * GetUShortPtr()
Gets the unsigned short pointer.
Definition: StdVariant.cpp:903
virtual void Alpha(float fltA)=0
Sets the alpha color value for this constraint.
virtual void ServoGain(float fltVal)
Sets the servo gain used to calculate the new velocity for maintaining a position with a servo motor...
Bistable firing rate neuron.
std::string m_strError
The error message.
Definition: StdErrorInfo.h:26
Modulated firing rate synapse.
virtual float Stiffness()
Gets the Stiffness for collisions between RigidBodies with these two materials.
virtual float JointForce()
Gets the joint force.
Definition: Joint.cpp:572
virtual float IaDischargeConstant()
Gets the ia discharge constant.
Base class for the light object.
Definition: Light.h:23
double Magnitude()
Gets the magnitude of the color.
Definition: StdColor.cpp:449
virtual void SetThreshold(float fltThreshold)
Sets the threshold used for setting the value on the target object.
virtual float Length()
Gets the length of the line.
Definition: LineBase.cpp:100
virtual bool AutoGenerateRandomSeed()
Gets whether to automatically generate a random seed.
Definition: Simulator.cpp:715
virtual short PhysicsStepInterval()
Gets the physics step interval.
Definition: Simulator.cpp:1097
virtual bool HasStaticJoint()
Query if this object has a static joint.
Definition: RigidBody.cpp:587
virtual float Coefficient()
Gets the Coefficient of friction for this constraint.
virtual float MinorRadius()
Gets the minor axis radius.
Definition: Ellipsoid.cpp:81
virtual LightManager * GetLightMgr()
Gets the light manager.
Definition: Simulator.cpp:430
virtual bool Enabled()
Gets whether the item is enabled or not.
virtual float CurrentOff()
Gets the ffn cycle current value.
virtual float Size()
Gets the size of the graphical representation of this joint.
Definition: Structure.cpp:142
virtual bool Paused()
Gets whether the Simulation is paused.
Definition: Simulator.cpp:347
virtual bool Initialized()
Tells if the simulation has been initialized or not.
Definition: Simulator.cpp:370
Information about the standard error.
Definition: StdErrorInfo.h:19
virtual float LinearCompliance()
Gets the linear compliance of the simulation.
Definition: Simulator.cpp:776
virtual bool IsMotorControl()
Returns true if this part interface is for controlling a motor.
virtual bool IntoElem()
Goes into the next element where the cursor is located.
Definition: StdXml.cpp:42
double Solution()
Gets the solution.
virtual float PhysicsTimeStep()
Gets the physics time step used within the robot framwork.
static SimulationMgr & Instance()
Singleton accessor for this class.
virtual float BuoyancyScale()
Gets the scale used to calculate the buoyancy value.
Definition: RigidBody.cpp:968
virtual bool Lock()
Locks this data chart buffer from being written by any other process.
Definition: MemoryChart.cpp:79
float * GetFloatPtr()
Gets the pointer to the floating-point representation of the number.
Definition: StdFixed.h:217
float Ilinit()
Gets the low current init value.
unsigned long * GetULongPtr()
Gets the unsigned long pointer.
virtual float Displacement()
Gets the curent displacement away from the natural length of the spring.
Definition: Spring.cpp:137
Data column class.
Definition: DataColumn.h:24
virtual void RampGradient(float fltVal)
Ramp gradient.
Definition: StdPID.cpp:206
float Width()
Gets the width = (Max.z - Min.z).
Definition: BoundingBox.cpp:51
virtual bool EnableFluids()
Query if this object has fluid interactions turned on.
Definition: RigidBody.cpp:1210
virtual float LinearKineticLoss()
Gets the linear kinetic loss of the simulation.
Definition: Simulator.cpp:892
virtual bool AllowTranslateDragX()
Gets whether this body part can be translated along the x-axis by the user with the drag handlers...
Definition: Structure.cpp:169
virtual float GetMassValueWithStaticChildren()
Gets the mass of this part and all static children.
Definition: RigidBody.cpp:2575
int TableSize()
Gets the table size.
virtual long RowCount()
Gets the row count.
Definition: DataChart.cpp:376
virtual float Energy()
Gets the current energy stored in the spring.
Definition: Spring.cpp:157
virtual float Shininess()
Gets the shininess.
virtual float PresetPlaybackTimeStep()
Gets the preset playback time step.
Definition: Simulator.cpp:1603
float A()
Gets A parameter of polynomial eqation: Out = A*In^3 + B*In^2 + C*In + D.
virtual int LatSegments()
Gets the number of segments used to draw the ellipsoid in the latitude direction. ...
Definition: Ellipsoid.cpp:119
The Cone base class.
Definition: Cone.h:24
virtual float DesiredFrameStep()
Gets the frame step time.
Definition: Simulator.cpp:1056
virtual Node * GetNode()
Gets the node.
Definition: AnimatBase.cpp:154
virtual void HeightSections(int iVal)
Sets the number of height sections.
Definition: Box.cpp:168
virtual bool WaitForSimulationBlock(long lTimeout=6000)
Wait for simulation block.
Definition: Simulator.cpp:2079
virtual unsigned char NeuronType()
Gets the neuron type.
virtual float MajorRadius()
Gets the major axis radius.
Definition: Ellipsoid.cpp:67
Base class for a simulation window.
virtual float MinPeLengthPercentage()
Gets the minimum pe length percentage.
virtual float Vth()
Gets the voltage threshold for firing.
virtual bool AllowTranslateDragY()
Gets whether this body part can be translated along the y-axis by the user with the drag handlers...
virtual float Cn()
Gets the membrane capacitance.
virtual float DenominatorDistanceUnits()
Gets the denominator distance units.
Definition: Simulator.cpp:1756
virtual CStdPtrArray< RobotPartInterface > * Parts()
Gets the array of IO controls.
Gain * FieldGain()
Gets the field Gain that modulates the contact force based on its distance from the center of the rec...
virtual bool HasStaticJoint()
Query if this object has a static joint.
Definition: Stomach.h:84
unsigned char IntrinsicType()
Gets the active intrinsic type (HI or LOW).
float A()
Gets A parameter of bell eqation: Out = B*e^(-C*(In-A)^2)+D.
Definition: BellGain.cpp:57
double * GetDoublePtr()
Gets the double pointer.
Definition: StdVariant.cpp:488
virtual long CollectTimeWindow()
Gets the collect time window time slices.
Definition: DataChart.cpp:299
virtual float PrevSetVelocity()
Gets the previous set etVelocity.
float CylinderHeight()
Gets the height of the cylinder that extends out from the ball for this joint.
Definition: RPRO.cpp:85
virtual float Height()
Gets the height.
Definition: Cone.cpp:100
virtual float MouseSpringForceMagnitude()
Gets the magnitude of the mouse spring force applied at each time step.
Definition: Simulator.cpp:1314
The Gain base class.
Definition: Gain.h:35
virtual float DesiredVelocity()
Gets the desired velocity.
float GetFloat()
Gets the floating-point representation of the number.
Definition: StdFixed.h:207
virtual bool PauseSimulation()=0
Pauses the simulation.
int MultN()
Number of bits to the right of the decimal point during multiplication.
Definition: StdFixed.h:171
virtual bool FindCollisionExclusionBody(RigidBody *lpBody, bool bThrowError=true)
Searches the exclusion collision list to see if the specified part is already present.
Definition: RigidBody.cpp:1404
virtual float Vrest()
Gets the rest potential.
static Simulator * CreateSimulator(std::string strAnimatModule, std::string strSimulationFile, bool bForceNoWindows=false)
Creates a simulator from a simulator file.
Definition: Simulator.cpp:3604
float UpperLimit()
Gets the upper limit.
Definition: Gain.cpp:131
Implements a Delay line of float values.
Definition: DelayLine.h:22
virtual bool HasContainedWindow()
Query if this object has contained window.
virtual bool StandAlone()
Gets whether this window stands alone from all others.
virtual bool IsResetting()
Returns true if the simulation is in the process of resetting. False otherwise.
Definition: Simulator.cpp:545
virtual float AngularVelocityDamping()
Gets the angular velocity damping.
Definition: RigidBody.cpp:829
virtual void MaxForce(float fltVal, bool bUseScaling=true)
Sets the Maximum torque.
virtual float SetPosition()
Gets the position that is actually set using the physics method.
virtual void DistanceUnits(std::string strUnits)
Sets the distance units.
Definition: Simulator.cpp:1717
Records the simulation keyframes and videos.
virtual float Stiffness()
Gets the stiffness of the constraint.
int M()
Gets the number of bits to the left of the decimal point.
Definition: StdFixed.h:141
virtual long CalculateSnapshotByteSize()
Calculates the snapshot byte size.
virtual float GetDensity()
Gets the density of this part.
Definition: RigidBody.cpp:2555
Standard variant type.
Definition: StdVariant.h:37
virtual float AngularCompliance()
Gets the angular compliance of the simulation.
Definition: Simulator.cpp:805
virtual float ChartTimeBase()
Gets the Time base used by this data chart.
Definition: DataChart.cpp:279
unsigned long GetULong(bool bConvert=true)
Gets an unsigned long.
Definition: StdVariant.cpp:953
virtual double GetChildDouble(std::string strElementName)
Gets a double value from the element with the specified name.
Definition: StdXml.cpp:538
A BallSocket type of joint.
Definition: BallSocket.h:27
virtual bool IsPhysicsBeingUpdated()
Query if this object is physics being updated on this time slice.
Definition: Simulator.cpp:1444
virtual float CornerX()
Gets the corner x coordinate.
Definition: Plane.cpp:78
virtual float SynchUpdateInterval()
This is how often we need to update this particular adapter.
Definition: BodyPart.cpp:184
virtual int ColumnCount()
Gets the number of columns for this DataColumn.
Definition: DataColumn.cpp:78
double GetDouble(bool bConvert=true)
Gets a double.
Definition: StdVariant.cpp:435
bool GetBool(bool bConvert=true)
Gets a bool.
Definition: StdVariant.cpp:538
virtual float BurstOnDuration()
Gets the on burst current duration in time.
virtual int VisualSelectionType()
Gets the visual selection type for this part.
Definition: RigidBody.cpp:150
virtual int PlaybackControlMode()
Gets the playback control mode.
Definition: Simulator.cpp:1559
float BallRadius()
Gets the radius of the ball that is siutated at the center of this joint.
Definition: RPRO.cpp:98
virtual float Width()
Gets the width of the box.
Definition: Box.cpp:82
virtual float Kse()
Gets the serial elastic spring constant.
int InitialPointCount()
Gets the initial point count.
float Il()
Gets the low intrinsic current value.
Base class for all activated items.
Definition: ActivatedItem.h:27
bool IsActivated()
Query if this object is activated.
char * GetCharPtr()
Gets the character pointer.
Definition: StdVariant.cpp:697
virtual void UsingTrackCamera(bool bVal)
Sets whether camera tracking should be used.
virtual bool ShuttingDown()
Tells whether the simulation is shutting down or not.
Definition: Simulator.cpp:685
virtual Simulator * GetSimulator()
Gets the simulator pointer.
Definition: AnimatBase.cpp:123
virtual int Sides()
Gets the number of sides used to draw the Torus.
Definition: Torus.cpp:119
Baes class for all items that can be moved/roated within the environment.
Definition: MovableItem.h:19
virtual float StaticFrictionScale()
Gets the ratio between static and dynamic friction coefficients.
virtual void FinalValue(float fltVal)
Sets the final value used to set this property when the simulation ends.
static Simulator * CreateAndInitializeSimulator(std::string strSimFile, bool bForceNoWindows=false)
Creates a simulator from a specified file and initializes it.
Definition: Simulator.cpp:3568
virtual unsigned char NeuronType()
Gets the neuron type.
virtual void IsShowPosition(bool bVal)
Sets whether this contstraint is actually just being used to show the current position of the joint...
virtual float Size()
Gets the size of the graphical representation of this joint.
Definition: Joint.cpp:107
float CylinderHeight()
Gets the height of the cylinder that extends out from the ball for this joint.
Definition: BallSocket.cpp:88
long * GetLongPtr()
Gets the long pointer.
Definition: StdVariant.cpp:282
virtual bool SimRunning()
Gets whether the simulation is running.
Definition: Simulator.cpp:673
virtual float CurrentOn()
Gets the on cycle current value.
virtual int GetChildInt(std::string strElementName)
Gets an integer value from the element with the specified name.
Definition: StdXml.cpp:456
virtual int VisualSelectionMode()
Gets the visual selection mode.
Definition: Simulator.cpp:460
virtual bool AllowTranslateDragZ()
Gets whether this body part can be translated along the z-axis by the user with the drag handlers...
Definition: Structure.cpp:173
virtual long PhysicsSliceCount()
Gets the physics time slice count.
Definition: Simulator.cpp:633
int N()
Gets the number of bits to the right of the decimal point.
Definition: StdFixed.h:151
Standard class factory.
virtual bool Overlaps(ActivatedItem *lpItem)
Query if this object overlaps the time period for another ActivatedItem.
float LowerOutput()
Gets the lower output.
Definition: Gain.cpp:155
A ground plane type of rigid body.
Definition: Plane.h:41
virtual float GridX()
Gets the width of a segment for the x dimension of the plane.
Definition: Plane.cpp:104
virtual bool Enabled()
Tells whether this node is enabled.
Definition: Node.cpp:84
virtual float Height()
Gets the height.
Definition: Cylinder.cpp:80
virtual float MotorTorqueToBMagnitude()
Gets the magnitude of the torque that the motor is applying to body B. (scaled units).
Data chart base class.
Definition: DataChart.h:31
virtual float PhysicsSubstepTime()
Gets the physics substep time.
Definition: Simulator.cpp:1215
virtual Synapse * GetCompoundSynapse(short iCompoundIndex)
Gets a pointer to a compound synapse.
Definition: Synapse.cpp:251
bool LessThanDataColumnCompare(DataColumn *lpColumn1, DataColumn *lpColumn2)
Compares two DataColumn items to find the one that is less than the other.
Definition: DataColumn.cpp:389
virtual bool ReachedSetPosition()
Gets whether the servo motor has reached its target position. If it has then it switches to position ...
virtual float GetLimitRange()
Gets the entire range of movement within the limits. If limits are not enabled then it returns -1...
Definition: Prismatic.cpp:158
virtual void Enabled(bool bVal)
Tells whether this item is enabled or not. This is not actually used for all objects, only specific ones. I am putting it in the base class though to prevent numerous duplications.
Definition: AnimatBase.cpp:102
virtual bool StartSimulation()=0
Starts the simulation.
static IStdClassFactory * LoadClassFactory(std::string strModuleName, bool bThrowError=true)
Loads the class factory specified in the DLL module name.
Definition: Simulator.cpp:3019
virtual void MassUnits(std::string strUnits)
Sets the mass units.
Definition: Simulator.cpp:1772
float D()
Sets D parameter of bell eqation: Out = B*e^(-C*(In-A)^2)+D.
Definition: BellGain.cpp:117
virtual long PhysicsStepCount()
Gets the physics step count.
Definition: Simulator.cpp:1176
virtual bool AllowTranslateDragX()
Gets whether this body part can be translated along the x-axis by the user with the drag handlers...
float Il()
Gets the low current.
float IntrinsicCurrent()
Gets the intrinsic current.
virtual float Density()
Gets the uniform density.
Definition: RigidBody.cpp:323
float Vm()
Gets the total stimulation applied to the muscle.
Definition: MuscleBase.cpp:144
virtual float DisplayMassUnits()
Gets the density mass units.
Definition: Simulator.cpp:1810
virtual float TimeStep()
Gets the smallest integration time step used within the simulation.
Definition: Simulator.cpp:951
Spring body part type.
Definition: Spring.h:25
virtual float MaxForceNotScaled()
Gets the maximum force/torque a motor can apply. This is the unscaled value.
virtual long SnapshotByteSize()
Gets the snapshot byte size.
Definition: Simulator.cpp:1891
float Tension()
Gets the tension of the muscle.
Definition: MuscleBase.cpp:92
virtual int TotalSynapses()
Gets the total number of synapses.
virtual void Rings(int iVal)
Sets the number of rings used to draw the Torus.
Definition: Torus.cpp:129
virtual float Damping()
Gets the damping value of the contraint.
Implements a basic PID control algorithm.
Definition: StdPID.h:17
double LowLimitValue()
Gets the low limit value.
virtual unsigned char NeuronType()
Gets the neuron type.
virtual RigidBody * Child()
Gets the child RigidBody part for this joint.
Definition: Joint.cpp:507
virtual bool RobotAdpaterSynch()
Gets whether we need to synch the physics adapters in a simulation to the robot physics time step...
Definition: Simulator.cpp:1645
virtual bool AllowRotateDragX()
Gets whether this body part can be rotated along the x-axis by the user with the drag handlers...
float CylinderRadius()
Gets the radius of the cylinder that extends out from the ball for this joint.
Definition: RPRO.cpp:72
virtual float Loss()
Gets the velocity loss for this constraint.
virtual float GetBoundingRadius()
Gets the bounding radius of this part.
virtual void LatitudeSegments(int iVal)
Latitude segments.
Definition: Light.cpp:143
virtual bool IsVisible()
Query if this object is visible.
virtual float MaxHydroTorque()
Gets the maximum angular hydrodynamic torque that can be applied to this part.
Definition: RigidBody.cpp:1152
float C()
Gets C parameter of polynomial eqation: Out = A*In^3 + B*In^2 + C*In + D.
float CylinderRadius()
Gets the radius cylinder of the cylinder used to display the hinge in the environment.
Definition: Hinge.cpp:101
virtual float B()
Gets the damping value.
virtual void InitialValue(float fltVal)
Sets the initial value used to set this property when the simulation starts.
virtual long CalculateSnapshotByteSize()
Calculates the snapshot byte size.
float Length()
Gets the length = (Max.x - Min.x).
Definition: BoundingBox.cpp:46
virtual float TimeStep()
Gets the time step for this moudle in time units.
virtual int WidthSegments()
Gets the width segments.
Definition: Plane.cpp:178
The Mouth part type.
Definition: Mouth.h:25
virtual long StartSlice()
Returns the starts slice for activation.
The Terrain base class.
Definition: Terrain.h:25
virtual float StartTime()
Gets the simulation start time for activation.
virtual bool HasStaticChildren()
Query if this rigid body has any static children.
Definition: RigidBody.cpp:607
virtual float MouseSpringLengthMagnitude()
Gets the magnitude of the mouse spring length at each time step.
Definition: Simulator.cpp:1370
virtual float ConsumptionRate()
Gets the current consumption rate.
Definition: Stomach.cpp:127
Manager for simulation windows.
virtual bool UseAccom()
Gets whether to use accommodation.
virtual float MotorTorqueToAMagnitude()
Gets the magnitude of the torque that the motor is applying to body A. (scaled units).
virtual float * DataBuffer()
Gets the data buffer.
Definition: DataChart.cpp:211
virtual float Radius()
Gets the radius.
Definition: Light.cpp:122
A Robot IO controller base class.
virtual float ExternalI()
Gets the external current.
float Ih()
Gets the high current.
virtual bool UseFoodQuantity()
Tells whether we should use the FoodQuantity of the parent RigidBody when calculating the odor value...
Definition: Odor.cpp:173
virtual float Voltage()
Gets the motor voltage.
virtual float LowerRadius()
Gets the lower radius.
Definition: Cone.cpp:67
short GetShort(bool bConvert=true)
Gets a short value.
Definition: StdVariant.cpp:128
int MultM()
Number of bits to the left of the decimal point during multiplication.
Definition: StdFixed.h:161
virtual long CalculateSnapshotByteSize()
Calculates the snapshot byte size.
Definition: Structure.cpp:850
float Ih()
Gets the high intrinsic current value.
virtual bool Enabled()
Tells whether this item is enabled or not. This is not actually used for all objects, only specific ones. I am putting it in the base class though to prevent numerous duplications.
A standard xml manipulation class.
Definition: StdXml.h:19
Firing Rate Neuron model.
virtual int StepIntervalCount()
Gets the step interval count.
virtual bool AllowRotateDragY()
Gets whether this body part can be rotated along the y-axis by the user with the drag handlers...
Odor type that can be emitted from a RigidBody and sensed by an OdorSensor.
Definition: OdorType.h:27
virtual float Length()
Gets the length of the box.
Definition: Box.cpp:69
virtual long CalculateSnapshotByteSize()
Calculates the snapshot byte size.
Definition: Organism.cpp:315
virtual bool SimulationBlockConfirm()
Confirms that the simulation has been blocked.
Definition: Simulator.cpp:2062
virtual bool Selected()
Tells if this items is selected or not.
Definition: AnimatBase.cpp:248
virtual float EnergyLevel()
Gets the energy level.
Definition: Stomach.cpp:85
A "static" structure in the simulation.
Definition: Structure.h:84
virtual CStdSerialize * Clone()
Makes a deep copy of this object.
virtual CStdPtrArray< Synapse > * GetSynapses()
Gets a pointer to the synapses array.
virtual CStdPtrArray< RigidBody > * ChildParts()
Gets the array of child parts.
Definition: RigidBody.cpp:283
float C()
Gets C parameter of sigmoidal eqation: Out = D+(B/(1+e^(C*(A-In))))
Definition: SigmoidGain.cpp:98
virtual float RestingLength()
Gets the resting length.
virtual float PrevSetPosition()
Gets the previous set position.
virtual float InternalTension()
Gets the internal tension.
virtual float MaxEnergyLevel()
Gets the maximum energy level.
Definition: Stomach.cpp:177
long GetLong(bool bConvert=true)
Gets a long value.
Definition: StdVariant.cpp:230
virtual bool EnableMotor()
Tells if the motor is enabled.
virtual long CalculateSnapshotByteSize()
Calculates the snapshot byte size.
virtual CStdMap< std::string, AnimatBase * > * ObjectList()
Gets the list of pointers to all objects in the simulation.
Definition: Simulator.cpp:390
virtual void LatitudeSegments(int iVal)
Latitude segments.
Definition: Sphere.cpp:87
int CollectInterval()
Gets the collect interval.
Definition: KeyFrame.cpp:78
bool NeedToActivate()
Determines if this item needs to be activated.
double Delta()
Gets the delta.
virtual float DiffusionConstant()
Gets the diffusion constant.
Definition: OdorType.cpp:77
virtual bool SynchSim()
Gets whether we need to delay stepping of the physics adapters in the simulation to more closely matc...
Gain * CurrentGain()
Gets the Gain that calculates the current to apply to associated neurons using the modulated force of...
virtual NeuralModule * GetNeuralModule()
Gets the neural module.
Definition: AnimatBase.cpp:144
virtual Gain * GetGain()
Gets the poitner to the gain function.
Definition: Adapter.cpp:273
Specifies a point on a rigid body where a muscle is to be attached.
Definition: Attachment.h:43
virtual bool AllowRotateDragX()
Gets whether this body part can be rotated along the x-axis by the user with the drag handlers...
Definition: Terrrain.cpp:138
double EndX()
Gets the ends x coordinate.
Bounding box class for geometric objects.
Definition: BoundingBox.h:17
float Height()
Gets the height = (Max.y - Min.y).
Definition: BoundingBox.cpp:56
virtual void LengthSections(int iVal)
Sets the number of length sections.
Definition: Box.cpp:116
float UpperOutput()
Gets the upper output.
Definition: Gain.cpp:175
virtual int VisualSelectionType()
Gets the visual selection type for this part.
Definition: Joint.cpp:497
virtual bool IsRoot()
Query if this is the root rigid body of the structure or not.
Definition: RigidBody.cpp:571
bool UseLowLimitValue()
Gets the use low limit value.
virtual float RobotIOScale()
Gets the scale value used for calculated values for this adapter during simulation mode only...
Definition: Adapter.cpp:367
virtual float GetVolume()
Gets the volume of this part.
Definition: RigidBody.cpp:2592
virtual bool HasDelay()
Gets whether this synapse has a delay associated with it.
Definition: Synapse.cpp:84
The Cone base class.
Definition: Torus.h:24
virtual float JointVelocity()
Gets the joint velocity.
Definition: Joint.cpp:552
float CylinderRadius()
Gets the radius of the cylinder that extends out from the ball for this joint.
Definition: BallSocket.cpp:75
virtual float Vn()
Gets the membrane voltage.
void r(float fltR, bool bThrowError=true)
Sets the red value of the color.
Definition: StdColor.cpp:51
virtual float LengthSegmentSize()
Gets the length segment size.
Definition: Box.cpp:194
virtual bool SynchWithRobot()
Gets whether the m_bRobotAdpaterSynch flag applies to this adapter.
Definition: BodyPart.cpp:162
virtual float ReceptiveFieldsAlpha()
Gets the receptive fields alpha.
Base class for all body parts and joints.
Definition: BodyPart.h:25
virtual bool SetEndSimTime()
Gets whether to use the set simulation end time.
Definition: Simulator.cpp:962
virtual float SeRestLength()
Gets the se rest length.
float MaxDimension()
Gets the maximum dimension.
Definition: BoundingBox.cpp:73
Keeps track of all of the materials and the various material pair interaction parameters for the enti...
Definition: Materials.h:23
float D()
Sets D parameter of sigmoidal eqation: Out = D+(B/(1+e^(C*(A-In))))
virtual float Displacement()
Gets the displacement.
virtual long CalculateSnapshotByteSize()
Calculates the snapshot byte size.
virtual float * DataValue()
Gets the pointer to the data value we are collecting.
Definition: DataColumn.cpp:239
virtual void PauseIO(bool bVal)
Gets the array of IO controls.
Current stimulus for neural items.
float Vssm()
Gets the lower steady state threshold.
float Vsthi()
Gets the threshold voltage.
int VariantType()
Gets the variant type.
Definition: StdVariant.cpp:62
Namespace for the standard utility objects.
Definition: MarkupSTL.cpp:19
float IntrinsicCurrent()
Gets the active intrinsic current.
virtual bool AllowRotateDragZ()
Gets whether this body part can be rotated along the z-axis by the user with the drag handlers...
Definition: Terrrain.cpp:142
long FixedVal()
Gets the fixed-point representation of the number.
Definition: StdFixed.h:181
virtual bool SimulateHydrodynamics()
Gets whether the simulation uses hydrodynamics.
Definition: Simulator.cpp:1402
RigidBody * Parent()
Gets the parent RigidBody of this part.
Definition: MovableItem.cpp:90
virtual bool InitEnabled()
Tells whether the spring is enabled at startup of the simulation.
Definition: Spring.cpp:88
virtual bool AllowMouseManipulation()
Tells if a given part can be manipulated using the mouse and draggers.
Definition: LineBase.cpp:112
virtual float DelayBufferInterval()
Returns the time interval used for the delay buffer if this adapter is set to use one...
Definition: Adapter.cpp:336
virtual bool Lock()
Locks this data chart buffer from being written by any other process.
Definition: DataChart.cpp:409
float ReadValue()
Reads the current value at the end of the delay line.
Definition: DelayLine.cpp:107
virtual int LengthSegments()
Gets the length segments.
Definition: Plane.cpp:209
This stimulus enables or disables a joint or body part for a specified period of time.
virtual long CalculateSnapshotByteSize()
Calculates the snapshot byte size.
virtual float Quantity()
Gets the quantity that will be used when calculating the odor concentration.
Definition: Odor.cpp:157
Standard post fix evaluation class.
Saves the data in memory.
Definition: MemoryChart.h:27
double GetDouble()
Gets the double representation of the number.
Definition: StdFixed.h:227
virtual bool AllowRotateDragY()
Gets whether this body part can be rotated along the y-axis by the user with the drag handlers...
Definition: Terrrain.cpp:140
virtual bool GetChildBool(std::string strElementName)
Gets a bool value from the element with the specified name.
Definition: StdXml.cpp:699
virtual KeyFrame * VideoRecorder()
Gets the video recorder.
Definition: Simulator.cpp:1857
float C()
Gets C parameter of bell eqation: Out = B*e^(-C*(In-A)^2)+D.
Definition: BellGain.cpp:97
Standard critical section.
virtual float Damping()
Gets the damping for collisions between RigidBodies with these two materials.
virtual float GetMass()
Gets the mass of this part.
Definition: RigidBody.cpp:2537
float GetFloat(bool bConvert=true)
Gets a float.
Definition: StdVariant.cpp:332
virtual float MouseSpringDampingForceMagnitude()
Gets the magnitude of the mouse spring damping force applied at each time step.
Definition: Simulator.cpp:1342
virtual bool AllowRotateDragX()
Gets whether this body part can be rotated along the x-axis by the user with the drag handlers...
Definition: Structure.cpp:175
virtual float VNoiseMax()
Gets the maximum noise voltage.
float Btl()
Gets the intercept used to calculate length of time that Il current remains active.
Callback methods for the simulation object.
float B()
Gets B parameter of sigmoidal eqation: Out = D+(B/(1+e^(C*(A-In))))
Definition: SigmoidGain.cpp:78
virtual CStdPtrArray< Light > * Lights()
Gets the lights array.
Definition: LightManager.h:54
virtual int AppendSpaces()
Gets how many spaces to append.
Definition: DataColumn.cpp:147
virtual bool IsContactSensor()
Query if this object is contact sensor.
Definition: RigidBody.cpp:448
virtual long BufferByteSize()
Gets the buffer byte size.
Definition: DataChart.cpp:181
virtual bool IsStickyPart()
Query if this object acts as a sticky part. This only applies to contact sensors. If it is set to tru...
Definition: RigidBody.cpp:491
virtual float IbDischargeConstant()
Gets the ib discharge constant.
Animat base class.
Definition: AnimatBase.h:36
double Solve()
Solves the equation using the defined variable values.
virtual bool AllowRotateDragY()
Gets whether this body part can be rotated along the y-axis by the user with the drag handlers...
Definition: FluidPlane.cpp:148
virtual float MouseSpringStiffness()
Gets the mouse spring stiffness.
Definition: Simulator.cpp:1255
virtual float Stiffness()
Gets the stiffness of the spring.
Definition: Spring.cpp:103
virtual float Temperature()
Gets the motor temperature.
virtual float Gain()
Gets the firing frequency gain.
virtual bool AllowRotateDragZ()
Gets whether this body part can be rotated along the z-axis by the user with the drag handlers...
float * WeightPointer()
Gets a pointer to the synaptic weight.
Definition: Synapse.cpp:214
virtual float RelativeAccommodation()
Gets the relative accomodation.
virtual int ColumnIndex()
Gets the column index.
Definition: DataColumn.cpp:171
virtual float IntrinsicCurrent()
Gets the intrinsic current.
char GetChar(bool bConvert=true)
Gets a character.
Definition: StdVariant.cpp:641
virtual int NumberOfChildren()
Gets the number of children of the current element.
Definition: StdXml.cpp:202
virtual bool SetStartEndTime()
Gets whether a start/end time is set for this chart.
Definition: DataChart.cpp:136
virtual void WidthSections(int iVal)
Sets the number of width sections.
Definition: Box.cpp:142
A dynamic organism that is controlled by a neural network.
Definition: Organism.h:31
virtual long UsedBufferByteSize()
Gets the used buffer byte size.
Definition: DataChart.cpp:191
Manager for data charts.
Definition: DataChartMgr.h:22
virtual float SynchUpdateInterval()
This is how often we need to update this particular adapter.
Definition: Adapter.cpp:423
float Il()
Gets the low current.
Base class for body parts and neural network nodes.
Definition: Node.h:25
virtual float CornerY()
Gets the corner y coordinate.
Definition: Plane.cpp:90
virtual long EndSlice()
Gets the end time slice for deactivation.
float A()
Gets A parameter of sigmoidal eqation: Out = D+(B/(1+e^(C*(A-In))))
Definition: SigmoidGain.cpp:58
virtual float SeLength()
Gets the se length.
Firing rate synapse model for modulating neuron properties.
virtual bool Enabled()
Tells whether this item is enabled or not. This is not actually used for all objects, only specific ones. I am putting it in the base class though to prevent numerous duplications.
Bell gain class.
Definition: BellGain.h:21
virtual unsigned char InitialGateValue()
Gets the initial gate value.
virtual long ColumnCount()
Gets the column count.
Definition: DataChart.cpp:366
virtual bool OutOfElem()
Goes out of the element where the cursor is located.
Definition: StdXml.cpp:56
virtual float Vtarget()
Gets the target voltage for the clamp.
virtual float DesiredPosition()
Gets the desired Position.
Neuron * FromNeuron()
Gets the pre-synaptic neuron.
Definition: Synapse.h:77
virtual float RealTime()
Returns the real time since the simulation was started.
Definition: Simulator.cpp:1082
virtual float JointPosition()
Gets the joint position.
Definition: Joint.cpp:532
virtual void DelayInterval(float fltVal)
Sets the delay buffer interval.
Definition: Synapse.cpp:118
virtual bool IsDead()
Query if this object is dead.
Definition: Organism.cpp:92
virtual void InitialValue(float fltVal)
Sets the initial value used to set this property when the simulation starts.
bool IsInitialized()
Query if this object is initialized.
virtual bool Enabled()
Gets whether the muscle is enabled.
Definition: MuscleBase.cpp:174
virtual float MotorForceToBMagnitude()
Gets the magnitude of the force that the motor is applying to body B. (scaled units).
virtual void LongtitudeSegments(int iVal)
Longtitude segments.
Definition: Sphere.cpp:112
virtual Structure * GetStructure()
Gets the structure for this node.
Definition: AnimatBase.cpp:133
short * GetShortPtr()
Gets the short pointer.
Definition: StdVariant.cpp:180
float LowerLimit()
Gets the lower limit.
Definition: Gain.cpp:107
virtual bool Stopped()
Tells if the simulation has been stopped.
Definition: Simulator.cpp:1034
bool ActiveArray()
Gets the active array.
virtual void FinalValue(float fltVal)
Sets the final value used to set this property when the simulation ends.
virtual unsigned char NeuronType()
Gets the neuron type.
float Weight()
Gets the synaptic weight.
Definition: Synapse.cpp:62
virtual void LongtitudeSegments(int iVal)
Longtitude segments.
Definition: Light.cpp:168
virtual float CycleOffDuration()
Gets the off cycle current duration in time.
virtual RigidBody * ParentWithCollisionGeometry()
Gets a parent that has collision geometry.
Definition: RigidBody.cpp:1451
float CylinderRadius()
Gets the radius cylinder of the cylinder used to display the axis of the prismatic joint in the envir...
Definition: Prismatic.cpp:100
virtual bool AllowRotateDragY()
Gets whether this body part can be rotated along the y-axis by the user with the drag handlers...
Definition: Structure.cpp:177
virtual void IsLowerLimit(bool bVal)
Sets whether this is a lower limit or not..
bool UseHighLimitValue()
Gets the use high limit value.
virtual OdorType * GetOdorType()
Gets a pointer to the odor type.
Definition: Odor.cpp:128
virtual Gain * GetGain()
Gets the poitner to the gain function.
virtual bool Update()
Updates all of the windows.
virtual long BufferSize()
Gets the buffer size.
Definition: DataChart.cpp:161
virtual unsigned long long StartSimTick()
The time slice tick at which the simulation start.
Definition: Simulator.cpp:603
Firing rate synapse model.
Definition: Synapse.h:29
virtual float Kpe()
Gets the parallel elastic spring constant.
virtual float FoodReplenishRate()
Gets the food replenish rate.
Definition: RigidBody.cpp:725
virtual float Velocity()
Gets the velocity of the length change of the spring.
Definition: Spring.cpp:168
virtual float PeLengthPercentage()
Gets the pe length percentage.
virtual float SurfaceContactCount()
Gets the surface contact count.
Definition: RigidBody.cpp:1244
A muscle that is connected between two attachment points.
virtual float JointsAlpha()
Gets the joints alpha.
float MaxTension()
Gets the maximum tension.
Definition: MuscleBase.cpp:119
virtual void Sides(int iVal)
Sets the number of sides used to draw the cone.
Definition: Cone.cpp:121
virtual float DisplacementRatio()
Gets the displacement ratio.
virtual bool HasStaticJoint()
Query if this object has a static joint.
Definition: LineBase.h:56
bool Std_LoadPoint(CStdXml &oXml, std::string strName, CStdIPoint &oPoint, bool bThrowError)
Standard load point.
void Std_SavePoint(CStdXml &oXml, std::string strName, CStdIPoint &oPoint)
Standard save point.
virtual float SimulationAlpha()
Gets the simulation alpha.
virtual float GraphicsAlpha()
Gets the graphics alpha.
virtual bool UsesRadians()
Tells whether this joint uses radians or meters for its measurements.
Definition: Prismatic.h:62
virtual float HeightSegmentSize()
Gets the height segment size.
Definition: Box.cpp:214
virtual int ManualRandomSeed()
Gets the manual random seed value.
Definition: Simulator.cpp:735
float Modulation()
Gets the synaptic modulation.
Definition: Synapse.cpp:225
virtual bool SynchWithRobot()
Gets whether the m_bRobotAdpaterSynch flag applies to this adapter.
Definition: Adapter.cpp:401
virtual long TimeSlice()
Gets the current time slice.
Definition: Simulator.cpp:613
virtual bool ManualStepSimulation()
Gets whether the simulation is being stepped manually by the user.
Definition: Simulator.cpp:653
virtual void PhysicsSubsteps(int iVal)
This is used only for the bullet physics engine. It allows the user to specify how many substeps shou...
Definition: Simulator.cpp:1189
virtual float Height()
Gets the height of the box.
Definition: Box.cpp:95
virtual int VisualSelectionType()
Gets the visual selection type for this part.
virtual bool Proportional()
Gets whether the friction force should be scaled based on the amount of force applied to the joint...
virtual CStdPtrArray< RemoteControlLinkage > * Links()
Gets the array ofremote control links.
virtual long CalculateSnapshotByteSize()
Calculates the snapshot byte size.
Definition: AnimatBase.cpp:705
virtual long Millisecond()
Gets the current simulation time in millisecond.
Definition: Simulator.cpp:569
A hinge type of joint.
Definition: Hinge.h:39
Standard serialize class.
Definition: StdSerialize.h:20
virtual RigidBody * StickyChild()
Gets the child body part we are stuck to for a sticky part.
Definition: RigidBody.cpp:547
float FlapWidth()
Gets the width of the flaps used to display the hinge in the environment.
Definition: Hinge.cpp:127
virtual float Radius()
Gets the radius.
Definition: Sphere.cpp:66
virtual bool NeedToStep()
Tells if this item needs to call StepSimulation or not.
A Linear movement type of joint.
Definition: LinearJoint.h:24
virtual float MinFoodRadius()
Gets the minium radius where food can be eaten.
Definition: Mouth.cpp:85
virtual void Enabled(bool bEnabled)
Enables the odor.
Definition: Odor.cpp:98
virtual void UserDefinedDraggerRadius(float fltRadius)
User defined dragger radius.
eJointMotorType
The motor control type for this joint.
virtual bool IsInitialized()
Query if this object is initialized.
Definition: DataColumn.cpp:219
virtual float OutsideRadius()
Gets the outside radius.
Definition: Torus.cpp:67
virtual float AngularDamping()
Gets the angular damping of the simulation.
Definition: Simulator.cpp:863
virtual bool UsesRadians()
Tells whether this joint uses radians or meters for its measurements.
Definition: Joint.cpp:97
virtual float BurstOffDuration()
Gets the off burst current duration in time.
virtual float IIDischargeConstant()
Gets the ii discharge constant.
virtual bool IsFoodSource()
Query if this object is food source.
Definition: RigidBody.cpp:645
virtual float InverseDistanceUnits()
Gets the inverse distance units.
Definition: Simulator.cpp:1742
int * GetIntPtr()
Gets the int pointer.
void g(float fltG, bool bThrowError=true)
Sets the green value of the color.
Definition: StdColor.cpp:76
virtual float SetVelocity()
Gets the velocity that is actually set using the physics method.
virtual float StickyOn()
Query if this stickyness is turned on or not. This only applies to contact sensors that also have IsS...
Definition: RigidBody.cpp:520
virtual bool LoadedTime()
Gets whether time was loaded or time slices.
unsigned int * GetUIntPtr()
Gets the unsigned int pointer.
Standard font.
Definition: StdFont.h:17
virtual float PrevVelocity()
Sets the previous velocity that is actually used by the physics method.
A Prismatic type of joint.
Definition: Prismatic.h:33
virtual int RowIndex()
Gets the row index.
Definition: DataColumn.cpp:195
virtual float EatingRate()
Gets the eating rate.
Definition: Mouth.cpp:83
virtual CStdPtrArray< RobotIOControl > * IOControls()
Gets the array of IO controls.
virtual float Time()
Gets the current simulation time in seconds.
Definition: Simulator.cpp:559
The Box base class.
Definition: Box.h:42
virtual bool ForceFastMoving()
Gets whether we have set the simulation to force fast moving calculations.
Definition: Simulator.cpp:695
virtual bool EnableLimits()
Tells if ConstraintLimits are enabled.
Definition: Joint.cpp:139
double HighLimitValue()
Gets the high limit value.
Contact sensor for detecting receptive field contacts.
Definition: ContactSensor.h:25
virtual float MaxFoodQuantity()
Gets the maximum food quantity.
Definition: RigidBody.cpp:773
virtual bool AddBodiesMode()
Gets the Adds bodies mode.
Definition: Simulator.cpp:499
Base class for Line body part types.
Definition: LineBase.h:25
CStdArray< Attachment * > * AttachmentPoints()
Gets the attachment points.
Definition: LineBase.cpp:134
virtual void SetThreshold(float fltThreshold)
Sets the threshold used for setting the value on the target object.
virtual float UpperRadius()
Gets the upper radius.
Definition: Cone.cpp:83
int GetInt(bool bConvert=true)
Gets an int.
Tonic firing rate neuron.
Definition: TonicNeuron.h:21
virtual float * TimeBuffer()
Gets the time buffer.
Definition: DataChart.cpp:201
virtual bool HasStaticJoint()
Query if this object has a static joint.
Definition: Sensor.h:78
virtual float MaxHydroForce()
Gets the maximum linear hydrodynamic force that can be applied to this part.
Definition: RigidBody.cpp:1123
virtual float StepIODuration()
Gets the time duration required to perform one step of the IO for all parts in this control...
virtual bool AlwaysActive()
Gets whether this item is always active.
virtual unsigned char NeuronType()
Gets the neuron type.
Definition: TonicNeuron.cpp:73
virtual void LightNumber(int iVal)
Sets the light number.
Definition: Light.cpp:201
virtual float InitIODisableDuration()
Gets the duration for how long this adapter is disabled at the start of the simulation.
Definition: Adapter.cpp:508
void a(float fltA, bool bThrowError=true)
Sets the alpha value of the color.
Definition: StdColor.cpp:126
static IStdClassFactory * LoadModule(std::string strModuleName, bool bThrowError=true)
Loads a DLL module by name and attempts to call the GetStdClassFactory method to get a pointer to the...
virtual float Act()
Gets the muscle activation value.
virtual long CalculateSnapshotByteSize()
Calculates the snapshot byte size.
virtual void LongSegments(int iVal)
Sets the number of segments used to draw the ellipsoid in the longtitude direction.
Definition: Ellipsoid.cpp:129
float ITime()
Gets the duration for the current mode.
unsigned char IntrinsicType()
Gets the intrinsic current type. (HI or LOW)
virtual SimulationRecorder * GetSimulationRecorder()
Gets the simulation recorder.
Definition: Simulator.cpp:420
the Cylinder base class.
Definition: Cylinder.h:24
bool NeedToDeactivate()
Determines if this item needs to be deactivated.
virtual CStdArray< RobotPartInterface * > * GetRobotPartInterfaces()
Gets a pointer to the roboto part interface associated with this body part.
Definition: BodyPart.cpp:304
float Ih()
Gets the tonic current.
Definition: TonicNeuron.cpp:49
float ITime()
Gets the duration of the active current mode.
The base class for all of the basic rigid body type of objects.
Definition: RigidBody.h:66
Gain * LoadGain(Simulator *lpSim, std::string strName, CStdXml &oXml)
Loads a gain object.
Definition: Gain.cpp:287
virtual long GetChildLong(std::string strElementName)
Gets a long value from the element with the specified name.
Definition: StdXml.cpp:371
double Std_CalculateDistance(CStdIPoint &ptA, CStdIPoint &ptB)
Calculates the distance between two points.
A RPRO (relative position, relative orientation) type of joint.
Definition: RPRO.h:27
virtual int DesiredFrameRate()
Gets the frame rate used for the simulation windows in cylces per second.
Definition: Simulator.cpp:1044
The Robotics interface configures a simulation to run on a microcontroller board. ...
This stimulus enables or disables a joint or body part for a specified period of time.
virtual float GetChildFloat(std::string strElementName)
Gets a float value from the element with the specified name.
Definition: StdXml.cpp:617
virtual float CycleOnDuration()
Gets the on cycle current duration in time.
virtual bool AllowTranslateDragZ()
Gets whether this body part can be translated along the z-axis by the user with the drag handlers...
virtual long VideoSliceCount()
Gets the video slice count.
Definition: Simulator.cpp:1824
virtual float CollisionsAlpha()
Gets the collisions alpha.
float PrevTension()
Gets the previous tension.
Definition: MuscleBase.cpp:164
virtual long EndSimTimeSlice()
Gets the time slice at which to automatically end the simulation.
Definition: Simulator.cpp:1008
virtual float EndTime()
Gets the end simulation time for deactivation.
virtual bool AllowMouseManipulation()
Tells if a given part can be manipulated using the mouse and draggers.
long * GetLongPtr()
Gets the pointer to the fixed-point representation of the number.
Definition: StdFixed.h:247
virtual float Radius()
Gets the radius.
Definition: Cylinder.cpp:66
virtual float EndSimTime()
Gets the time at which to automatically end the simulation.
Definition: Simulator.cpp:982
virtual bool GainType()
Gets the gain type. (Old way or new way)
std::string * GetStringPtr()
Gets the string pointer.
void b(float fltB, bool bThrowError=true)
Sets the blue value of the color.
Definition: StdColor.cpp:101
float * GetFloatPtr()
Gets the float pointer.
Definition: StdVariant.cpp:385